@bagelink/vue 1.15.558 → 1.15.562
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/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.mjs +513 -501
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/dataTable/DataTable.vue +1 -1
- package/src/components/form/inputs/CheckInput.vue +1 -1
- package/src/components/lightbox/Lightbox.vue +11 -3
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as F2, r as QG } from "./chunk-Fx_iipZ-.js";
|
|
2
|
-
import { Comment as f2, Fragment as yl, Teleport as b1, Text as j2, Transition as fn, TransitionGroup as J2, computed as T, createApp as fs, createBlock as ol, createCommentVNode as D, createElementBlock as y, createElementVNode as R, createSlots as dd, createTextVNode as Ul, createVNode as nl, defineComponent as xl, effectScope as AG, getCurrentInstance as tn, getCurrentScope as js, guardReactiveProps as It, h as le, inject as an, isMemoSame as _G, isRef as ui, isVNode as su, markRaw as r1, mergeModels as mt, mergeProps as me, nextTick as ae, normalizeClass as
|
|
2
|
+
import { Comment as f2, Fragment as yl, Teleport as b1, Text as j2, Transition as fn, TransitionGroup as J2, computed as T, createApp as fs, createBlock as ol, createCommentVNode as D, createElementBlock as y, createElementVNode as R, createSlots as dd, createTextVNode as Ul, createVNode as nl, defineComponent as xl, effectScope as AG, getCurrentInstance as tn, getCurrentScope as js, guardReactiveProps as It, h as le, inject as an, isMemoSame as _G, isRef as ui, isVNode as su, markRaw as r1, mergeModels as mt, mergeProps as me, nextTick as ae, normalizeClass as ul, normalizeProps as xt, normalizeStyle as Vl, onBeforeUnmount as Bt, onBeforeUpdate as $G, onMounted as Al, onScopeDispose as Js, onUnmounted as He, onUpdated as k2, openBlock as L, provide as Mi, reactive as Vi, readonly as h1, ref as C, renderList as vl, renderSlot as Ml, resolveComponent as ha, resolveDirective as $e, resolveDynamicComponent as fe, shallowReactive as qG, shallowRef as Qt, toDisplayString as il, toHandlers as Ac, toRaw as l3, toValue as Ol, unref as N, useAttrs as C2, useCssVars as W1, useId as p1, useModel as Ce, useSlots as Me, vModelCheckbox as ks, vModelDynamic as e3, vModelRadio as t3, vModelText as cd, vShow as Vn, watch as gl, watchEffect as G1, withCtx as zl, withDirectives as Pl, withKeys as Ee, withModifiers as te } from "vue";
|
|
3
3
|
import { RouterLink as N1, useRoute as kd, useRouter as a3 } from "vue-router";
|
|
4
4
|
var n3 = /* @__PURE__ */ xl({
|
|
5
5
|
__name: "Accordion",
|
|
@@ -4517,7 +4517,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4517
4517
|
}, {
|
|
4518
4518
|
default: zl(() => [i.value === "material" ? (L(), y("span", {
|
|
4519
4519
|
key: `material-${t.value}`,
|
|
4520
|
-
class:
|
|
4520
|
+
class: ul(["bgl_icon-font notranslate", [
|
|
4521
4521
|
h.value,
|
|
4522
4522
|
x.value,
|
|
4523
4523
|
V.value,
|
|
@@ -4528,7 +4528,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4528
4528
|
translate: "no"
|
|
4529
4529
|
}, il(t.value), 7)) : i.value === "font-awesome" ? (L(), y("span", {
|
|
4530
4530
|
key: `font-awesome-${t.value}`,
|
|
4531
|
-
class:
|
|
4531
|
+
class: ul(["fa bgl_icon-font notranslate", [
|
|
4532
4532
|
`fa-${t.value}`,
|
|
4533
4533
|
h.value,
|
|
4534
4534
|
x.value,
|
|
@@ -4578,7 +4578,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4578
4578
|
function b() {
|
|
4579
4579
|
c.value = !c.value, s && (c.value ? s.openItem = o : s.openItem !== void 0 && s.openItem === o && (s.openItem = void 0));
|
|
4580
4580
|
}
|
|
4581
|
-
return (r, p) => (L(), y("div", { class:
|
|
4581
|
+
return (r, p) => (L(), y("div", { class: ul(["accordion-item txt-start", [{ flat: l.flat }]]) }, [R("div", { class: ul(["accordion-head-row", { hoverable: l.hoverable }]) }, [
|
|
4582
4582
|
R("button", {
|
|
4583
4583
|
type: "button",
|
|
4584
4584
|
"aria-expanded": c.value ? "true" : "false",
|
|
@@ -4588,7 +4588,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4588
4588
|
}, [
|
|
4589
4589
|
Z.value === "start" ? (L(), y("span", {
|
|
4590
4590
|
key: 0,
|
|
4591
|
-
class:
|
|
4591
|
+
class: ul(["accordion-icon", [l.iconClass, { open: u.value }]])
|
|
4592
4592
|
}, [nl(fl, {
|
|
4593
4593
|
icon: m.value,
|
|
4594
4594
|
transition: "scale"
|
|
@@ -4596,7 +4596,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4596
4596
|
Ml(r.$slots, "head", {}, () => [R("span", c3, il(l.label), 1)], !0),
|
|
4597
4597
|
Z.value === "end" && !N(n).actions ? (L(), y("span", {
|
|
4598
4598
|
key: 1,
|
|
4599
|
-
class:
|
|
4599
|
+
class: ul(["accordion-icon", [l.iconClass, { open: u.value }]])
|
|
4600
4600
|
}, [nl(fl, {
|
|
4601
4601
|
icon: m.value,
|
|
4602
4602
|
transition: "scale"
|
|
@@ -4611,7 +4611,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4611
4611
|
type: "button",
|
|
4612
4612
|
tabindex: "-1",
|
|
4613
4613
|
"aria-hidden": "true",
|
|
4614
|
-
class:
|
|
4614
|
+
class: ul(["accordion-icon accordion-icon-btn", [l.iconClass, { open: u.value }]]),
|
|
4615
4615
|
onClick: p[1] || (p[1] = (G) => b())
|
|
4616
4616
|
}, [nl(fl, {
|
|
4617
4617
|
icon: m.value,
|
|
@@ -4619,7 +4619,7 @@ var i3 = /* @__PURE__ */ xl({
|
|
|
4619
4619
|
}, null, 8, ["icon"])], 2)) : D("", !0)
|
|
4620
4620
|
], 2), R("div", {
|
|
4621
4621
|
id: `accordion-body-${N(o)}`,
|
|
4622
|
-
class:
|
|
4622
|
+
class: ul(["accordion-body", { open: c.value }]),
|
|
4623
4623
|
"aria-hidden": c.value ? "false" : "true"
|
|
4624
4624
|
}, [R("div", m3, [d.value ? Ml(r.$slots, "default", {}, void 0, !0, 0) : D("", !0)])], 10, o3)], 2));
|
|
4625
4625
|
}
|
|
@@ -5009,7 +5009,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${h.toString()}`;
|
|
|
5009
5009
|
class: "btn-loading absolute-fill flex-center pointer-events-none",
|
|
5010
5010
|
size: "15",
|
|
5011
5011
|
color: "currentColor"
|
|
5012
|
-
})) : D("", !0), R("div", { class:
|
|
5012
|
+
})) : D("", !0), R("div", { class: ul(["bgl_btn-flex", { "btn-loading-hide": l.loading }]) }, [
|
|
5013
5013
|
l.icon ? (L(), ol(N(fl), {
|
|
5014
5014
|
key: 0,
|
|
5015
5015
|
icon: l.icon,
|
|
@@ -5076,7 +5076,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${h.toString()}`;
|
|
|
5076
5076
|
};
|
|
5077
5077
|
return (d, c) => n.value ? D("", !0) : (L(), y("div", {
|
|
5078
5078
|
key: 0,
|
|
5079
|
-
class:
|
|
5079
|
+
class: ul(["alert", [a.value, {
|
|
5080
5080
|
thin: l.thin,
|
|
5081
5081
|
outline: l.outline,
|
|
5082
5082
|
frame: l.frame
|
|
@@ -5429,7 +5429,7 @@ var I3 = [
|
|
|
5429
5429
|
}), (Z, u) => (L(), y("div", {
|
|
5430
5430
|
ref_key: "el",
|
|
5431
5431
|
ref: n,
|
|
5432
|
-
class:
|
|
5432
|
+
class: ul(["bgl-tip absolute top-0 pointer-events-none nowrap z-5 color-white line-height-16", {
|
|
5433
5433
|
"bgl-tip--above": i.value === "above",
|
|
5434
5434
|
"bgl-tip--below": i.value === "below"
|
|
5435
5435
|
}]),
|
|
@@ -11226,7 +11226,7 @@ var qy = ["width", "height"], lM = { key: 0 }, eM = ["id", "y2"], tM = ["stop-co
|
|
|
11226
11226
|
height: Math.max(0, E.h),
|
|
11227
11227
|
rx: Math.min(l.radius, E.w / 2),
|
|
11228
11228
|
fill: l.gradient ? `url(#${f(E.color)})` : E.color,
|
|
11229
|
-
class:
|
|
11229
|
+
class: ul(["bgl-chart__bar", { "opacity-5": z.value != null && z.value !== E.cat }])
|
|
11230
11230
|
}, null, 10, IM))), 128)),
|
|
11231
11231
|
R("g", xM, [(L(!0), y(yl, null, vl(Z.value, (E, A) => Pl((L(), y("text", {
|
|
11232
11232
|
key: A,
|
|
@@ -11386,7 +11386,7 @@ var SM = [
|
|
|
11386
11386
|
return (V, x) => (L(), y("div", {
|
|
11387
11387
|
ref_key: "el",
|
|
11388
11388
|
ref: a,
|
|
11389
|
-
class:
|
|
11389
|
+
class: ul(["bgl-donut w-100p inline-flex gap-1", l.legend ? "row flex-wrap justify-content-center" : "column"])
|
|
11390
11390
|
}, [R("div", {
|
|
11391
11391
|
class: "bgl-donut__chart relative flex-shrink-0",
|
|
11392
11392
|
style: Vl({
|
|
@@ -11404,7 +11404,7 @@ var SM = [
|
|
|
11404
11404
|
key: f,
|
|
11405
11405
|
d: g.d,
|
|
11406
11406
|
fill: g.color,
|
|
11407
|
-
class:
|
|
11407
|
+
class: ul(["bgl-donut__slice cursor-pointer", { "opacity-5": u.value != null && u.value !== f }]),
|
|
11408
11408
|
onMouseenter: (z) => p(f)
|
|
11409
11409
|
}, null, 42, vM))), 128)), (L(!0), y(yl, null, vl(m.value, (g, f) => Pl((L(), y("text", {
|
|
11410
11410
|
key: `t${f}`,
|
|
@@ -11621,7 +11621,7 @@ var SM = [
|
|
|
11621
11621
|
return L(), y("div", {
|
|
11622
11622
|
ref_key: "el",
|
|
11623
11623
|
ref: t,
|
|
11624
|
-
class:
|
|
11624
|
+
class: ul(["bgl-funnel w-100p relative", [{ "bgl-funnel--bars": !l.flow }, l.flow ? `bgl-funnel--${l.orientation}` : ""]])
|
|
11625
11625
|
}, [
|
|
11626
11626
|
l.flow ? (L(), y("div", {
|
|
11627
11627
|
key: 0,
|
|
@@ -11662,7 +11662,7 @@ var SM = [
|
|
|
11662
11662
|
key: B,
|
|
11663
11663
|
d: _.path,
|
|
11664
11664
|
fill: l.gradient ? `url(#${_.gradId})` : _.color,
|
|
11665
|
-
class:
|
|
11665
|
+
class: ul(["bgl-funnel__seg", { "opacity-5": Y.value != null && Y.value !== B }]),
|
|
11666
11666
|
onMouseenter: (Zl) => V(B)
|
|
11667
11667
|
}, null, 42, $M))), 128))], 12, PM)),
|
|
11668
11668
|
f.value ? (L(), ol(Cd, {
|
|
@@ -12324,7 +12324,7 @@ var NV = ["transform"], YV = [
|
|
|
12324
12324
|
ref: a,
|
|
12325
12325
|
class: "bgl-map w-100p flex column gap-075"
|
|
12326
12326
|
}, [R("div", {
|
|
12327
|
-
class:
|
|
12327
|
+
class: ul(["bgl-map__plot relative w-100p overflow-hidden", {
|
|
12328
12328
|
"bgl-map__plot--zoomable": l.zoomable,
|
|
12329
12329
|
"bgl-map__plot--zoomed": l.zoomable && K.value,
|
|
12330
12330
|
"bgl-map__plot--dragging": z.value
|
|
@@ -12354,7 +12354,7 @@ var NV = ["transform"], YV = [
|
|
|
12354
12354
|
stroke: VV,
|
|
12355
12355
|
"stroke-width": "0.6",
|
|
12356
12356
|
"vector-effect": "non-scaling-stroke",
|
|
12357
|
-
class:
|
|
12357
|
+
class: ul(["bgl-map__country", {
|
|
12358
12358
|
"opacity-5": u.value != null && u.value !== S.id,
|
|
12359
12359
|
"bgl-map__country--hot": u.value === S.id && S.hasData
|
|
12360
12360
|
}]),
|
|
@@ -12474,7 +12474,7 @@ var NV = ["transform"], YV = [
|
|
|
12474
12474
|
return (c, s) => (L(), y("div", {
|
|
12475
12475
|
ref_key: "el",
|
|
12476
12476
|
ref: t,
|
|
12477
|
-
class:
|
|
12477
|
+
class: ul(["bgl-radial inline-flex gap-1", l.legend ? "row" : "column"])
|
|
12478
12478
|
}, [(L(), y("svg", {
|
|
12479
12479
|
width: l.size,
|
|
12480
12480
|
height: l.size,
|
|
@@ -12691,11 +12691,11 @@ var NV = ["transform"], YV = [
|
|
|
12691
12691
|
size: 1.1
|
|
12692
12692
|
}, null, 8, ["name"])], 4)) : D("", !0), R("div", _V, [R("p", $V, il(l.label), 1), l.subtitle ? (L(), y("p", qV, il(l.subtitle), 1)) : D("", !0)])]), n.value ? (L(), y("span", {
|
|
12693
12693
|
key: 0,
|
|
12694
|
-
class:
|
|
12694
|
+
class: ul(["bgl-stat__delta inline-flex align-items-center flex-shrink-0 semibold", d.value ? "bgl-stat__delta--up" : "bgl-stat__delta--down"])
|
|
12695
12695
|
}, [nl(fl, {
|
|
12696
12696
|
name: i.value ? "trending_up" : "trending_down",
|
|
12697
12697
|
size: 0.9
|
|
12698
|
-
}, null, 8, ["name"]), Ul(" " + il(Math.abs(l.change).toFixed(1)) + "% ", 1)], 2)) : D("", !0)]), R("div", lT, [R("span", { class:
|
|
12698
|
+
}, null, 8, ["name"]), Ul(" " + il(Math.abs(l.change).toFixed(1)) + "% ", 1)], 2)) : D("", !0)]), R("div", lT, [R("span", { class: ul(["txt28 m_txt24 semibold line-height-1 tabular-nums", { "opacity-4": l.loading }]) }, il(l.loading ? "…" : a.value), 3), l.trend?.length ? (L(), ol(F3, {
|
|
12699
12699
|
key: 0,
|
|
12700
12700
|
data: l.trend,
|
|
12701
12701
|
color: l.color,
|
|
@@ -12774,7 +12774,7 @@ var NV = ["transform"], YV = [
|
|
|
12774
12774
|
key: 0,
|
|
12775
12775
|
src: N(t),
|
|
12776
12776
|
alt: l.alt,
|
|
12777
|
-
class:
|
|
12777
|
+
class: ul(["bgl-image-frame-img h-100p", [u.value ? "absolute-fill" : "bgl-image-frame-img--flow", { "opacity-0": !n.value }]]),
|
|
12778
12778
|
style: Vl({
|
|
12779
12779
|
objectFit: r.value,
|
|
12780
12780
|
mixBlendMode: l.blend
|
|
@@ -12810,7 +12810,7 @@ var NV = ["transform"], YV = [
|
|
|
12810
12810
|
key: 0,
|
|
12811
12811
|
src: N(t),
|
|
12812
12812
|
alt: l.alt,
|
|
12813
|
-
class:
|
|
12813
|
+
class: ul(["w-100p h-100p", { "opacity-0": !n.value }]),
|
|
12814
12814
|
style: Vl({ objectFit: r.value }),
|
|
12815
12815
|
onLoad: i
|
|
12816
12816
|
}, null, 46, cT)) : D("", !0), N(a) ? (L(), y("div", sT, [nl(N(fl), { name: "broken_image" })])) : n.value ? D("", !0) : (L(), ol(N(Oc), {
|
|
@@ -12848,7 +12848,7 @@ var NV = ["transform"], YV = [
|
|
|
12848
12848
|
height: `${a.value}px`
|
|
12849
12849
|
})
|
|
12850
12850
|
}, [R("div", {
|
|
12851
|
-
class:
|
|
12851
|
+
class: ul(["overflow-hidden txt-center p-0 avatar flex justify-content-center align-items-center", l.innerClass]),
|
|
12852
12852
|
style: Vl({
|
|
12853
12853
|
width: `${a.value}px`,
|
|
12854
12854
|
height: `${a.value}px`,
|
|
@@ -12953,11 +12953,11 @@ var NV = ["transform"], YV = [
|
|
|
12953
12953
|
return Z[d.value] = !0, Z;
|
|
12954
12954
|
});
|
|
12955
12955
|
return (Z, u) => (L(), y("div", {
|
|
12956
|
-
class:
|
|
12956
|
+
class: ul(["bgl_pill", m.value]),
|
|
12957
12957
|
style: Vl([{ height: "var(--bgl-pill-height)" }, N(i)]),
|
|
12958
12958
|
disabled: l.disabled
|
|
12959
12959
|
}, [R("div", rT, [l.loading ? (L(), y("div", hT)) : D("", !0), R("div", {
|
|
12960
|
-
class:
|
|
12960
|
+
class: ul(["px-025 flex gap-025 justify-content-center align-items-center", { "opacity-0": l.loading }]),
|
|
12961
12961
|
style: { "font-size": "var(--bgl-pill-font-size)" }
|
|
12962
12962
|
}, [
|
|
12963
12963
|
l.btn ? (L(), ol(N(Yl), me({
|
|
@@ -12973,10 +12973,10 @@ var NV = ["transform"], YV = [
|
|
|
12973
12973
|
icon: l.icon,
|
|
12974
12974
|
style: { "font-size": "var(--bgl-pill-font-size)" }
|
|
12975
12975
|
}, null, 8, ["icon"])) : D("", !0),
|
|
12976
|
-
Ml(Z.$slots, "default", { class:
|
|
12976
|
+
Ml(Z.$slots, "default", { class: ul({ uppercase: l.uppercase }) }, void 0, !0),
|
|
12977
12977
|
N(t).default ? D("", !0) : (L(), y("p", {
|
|
12978
12978
|
key: 3,
|
|
12979
|
-
class:
|
|
12979
|
+
class: ul(["pillText inline", { uppercase: l.uppercase }])
|
|
12980
12980
|
}, il(l.value), 3)),
|
|
12981
12981
|
l.iconEnd ? (L(), ol(N(fl), {
|
|
12982
12982
|
key: 4,
|
|
@@ -13625,7 +13625,7 @@ var OT = ["src", "title"], ET = [
|
|
|
13625
13625
|
return (u, b) => (L(), y("div", {
|
|
13626
13626
|
ref_key: "videoContainer",
|
|
13627
13627
|
ref: n,
|
|
13628
|
-
class:
|
|
13628
|
+
class: ul(["bgl_vid", {
|
|
13629
13629
|
vid_empty: !l.src,
|
|
13630
13630
|
vid_short: i.value
|
|
13631
13631
|
}])
|
|
@@ -13865,7 +13865,7 @@ var OT = ["src", "title"], ET = [
|
|
|
13865
13865
|
class: "mb-1 agenda-day-group",
|
|
13866
13866
|
"data-date": X.date.toISOString(),
|
|
13867
13867
|
"data-today": X.isToday || void 0
|
|
13868
|
-
}, [R("div", { class:
|
|
13868
|
+
}, [R("div", { class: ul(["sticky z-2 flex gap-05 p-1 m_p-05 mb-05", {
|
|
13869
13869
|
"bg-primary-light": X.isToday,
|
|
13870
13870
|
"bg-bg": !X.isToday
|
|
13871
13871
|
}]) }, [
|
|
@@ -14088,7 +14088,7 @@ var OT = ["src", "title"], ET = [
|
|
|
14088
14088
|
class: "weekday"
|
|
14089
14089
|
}, il(Z), 1))), 128))]), R("div", VI, [(L(!0), y(yl, null, vl(c.value, (Z) => (L(), y("div", {
|
|
14090
14090
|
key: Z.date.toISOString(),
|
|
14091
|
-
class:
|
|
14091
|
+
class: ul(["day-cell", {
|
|
14092
14092
|
"current-month": Z.isCurrentMonth,
|
|
14093
14093
|
today: Z.isToday,
|
|
14094
14094
|
"other-month": !Z.isCurrentMonth
|
|
@@ -14429,7 +14429,7 @@ var OT = ["src", "title"], ET = [
|
|
|
14429
14429
|
}, [F[1] || (F[1] = R("div", null, null, -1)), (L(!0), y(yl, null, vl(m.value, (I) => (L(), y("div", {
|
|
14430
14430
|
key: I.toISOString(),
|
|
14431
14431
|
class: "day-header p-05 txt-center m_txt12"
|
|
14432
|
-
}, [Ul(il(N(Fe)(I, { format: "DDD" })) + " ", 1), R("span", { class:
|
|
14432
|
+
}, [Ul(il(N(Fe)(I, { format: "DDD" })) + " ", 1), R("span", { class: ul(["txt-12 round p-025", {
|
|
14433
14433
|
"color-gray": I.toDateString() !== (/* @__PURE__ */ new Date()).toDateString(),
|
|
14434
14434
|
"bg-primary color-white": I.toDateString() === (/* @__PURE__ */ new Date()).toDateString()
|
|
14435
14435
|
}]) }, il(N(Fe)(I, { format: "DD" })), 3)]))), 128))], 512),
|
|
@@ -14478,14 +14478,14 @@ var OT = ["src", "title"], ET = [
|
|
|
14478
14478
|
], 64))), 128)),
|
|
14479
14479
|
t.availabilityMode ? (L(), y(yl, { key: 0 }, [(L(!0), y(yl, null, vl(u(I), (S, tl) => (L(), y("div", {
|
|
14480
14480
|
key: `avail-${tl}`,
|
|
14481
|
-
class:
|
|
14481
|
+
class: ul(["availability-block absolute start end", { "availability-editable": t.availabilityEditable }]),
|
|
14482
14482
|
style: Vl({
|
|
14483
14483
|
top: `${S.top}px`,
|
|
14484
14484
|
height: `${S.height}px`
|
|
14485
14485
|
})
|
|
14486
14486
|
}, null, 6))), 128)), b(v) ? (L(), y("div", {
|
|
14487
14487
|
key: 0,
|
|
14488
|
-
class:
|
|
14488
|
+
class: ul(["availability-preview absolute start end pointer-events-none", { "avail-remove": b(v).mode === "remove" }]),
|
|
14489
14489
|
style: Vl({
|
|
14490
14490
|
top: `${b(v).top}px`,
|
|
14491
14491
|
height: `${b(v).height}px`
|
|
@@ -15336,7 +15336,7 @@ var cx = { class: "row first-row" }, sx = {
|
|
|
15336
15336
|
itemHeightModifiers: {},
|
|
15337
15337
|
fontSize: { default: void 0 },
|
|
15338
15338
|
fontSizeModifiers: {},
|
|
15339
|
-
selectedItems: { default: [] },
|
|
15339
|
+
selectedItems: { default: () => [] },
|
|
15340
15340
|
selectedItemsModifiers: {}
|
|
15341
15341
|
}),
|
|
15342
15342
|
emits: /* @__PURE__ */ mt([
|
|
@@ -15352,9 +15352,9 @@ var cx = { class: "row first-row" }, sx = {
|
|
|
15352
15352
|
]),
|
|
15353
15353
|
setup(l, { emit: e }) {
|
|
15354
15354
|
W1((F) => ({
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
15355
|
+
v3f0f6d89: k.value,
|
|
15356
|
+
v4145d9f3: B.value,
|
|
15357
|
+
cf9aaac4: A.value
|
|
15358
15358
|
}));
|
|
15359
15359
|
const t = l, a = e, n = Me(), i = Ce(l, "loading"), d = Ce(l, "itemHeight"), c = Ce(l, "fontSize"), s = Ce(l, "selectedItems"), { computedSchema: o, computedData: m, sortField: Z, sortDirection: u, toggleSort: b, cleanTransformedData: r } = xh({
|
|
15360
15360
|
data: T(() => t.data),
|
|
@@ -15437,7 +15437,7 @@ var cx = { class: "row first-row" }, sx = {
|
|
|
15437
15437
|
key: 0,
|
|
15438
15438
|
class: "absolute inset-1"
|
|
15439
15439
|
})) : D("", !0),
|
|
15440
|
-
Nl.value ? D("", !0) : (L(), y("div", me({ key: 1 }, N(x), { class: { "pointer-events-none": Zl.value } }), [R("table", { class:
|
|
15440
|
+
Nl.value ? D("", !0) : (L(), y("div", me({ key: 1 }, N(x), { class: { "pointer-events-none": Zl.value } }), [R("table", { class: ul(["infinite-wrapper", { selecting: N(p).length }]) }, [R("thead", cx, [
|
|
15441
15441
|
O.value ? (L(), y("th", sx)) : D("", !0),
|
|
15442
15442
|
N(G) ? (L(), y("th", ox, [R("input", {
|
|
15443
15443
|
ref_key: "allSelectorEl",
|
|
@@ -15453,9 +15453,9 @@ var cx = { class: "row first-row" }, sx = {
|
|
|
15453
15453
|
onClick: (S) => !O.value && N(b)(v?.id || "")
|
|
15454
15454
|
}, [R("div", Zx, [Ul(il(v.label || v.attrs?.label || N(_d)(v?.id)) + " ", 1), O.value ? D("", !0) : (L(), y("div", {
|
|
15455
15455
|
key: 0,
|
|
15456
|
-
class:
|
|
15456
|
+
class: ul(["list-arrows", { sorted: N(Z) === v?.id }])
|
|
15457
15457
|
}, [nl(N(fl), {
|
|
15458
|
-
class:
|
|
15458
|
+
class: ul({ desc: N(u) === "DESC" }),
|
|
15459
15459
|
icon: "keyboard_arrow_up"
|
|
15460
15460
|
}, null, 8, ["class"])], 2))])], 8, mx))), 128))
|
|
15461
15461
|
]), R("tbody", {
|
|
@@ -15463,7 +15463,7 @@ var cx = { class: "row first-row" }, sx = {
|
|
|
15463
15463
|
ref: K
|
|
15464
15464
|
}, [(L(!0), y(yl, null, vl(N(M), ({ data: v }) => (L(), y("tr", {
|
|
15465
15465
|
key: v?.id || `row-${Math.random()}`,
|
|
15466
|
-
class:
|
|
15466
|
+
class: ul(["row row-item position-relative", { selected: v?.id && N(p).includes(v.id) }]),
|
|
15467
15467
|
onClick: (S) => N(Y)(v, S)
|
|
15468
15468
|
}, [
|
|
15469
15469
|
O.value ? (L(), y("td", bx, [nl(N(fl), {
|
|
@@ -15503,7 +15503,7 @@ var cx = { class: "row first-row" }, sx = {
|
|
|
15503
15503
|
])], !0, 2) : D("", !0)
|
|
15504
15504
|
], 16));
|
|
15505
15505
|
}
|
|
15506
|
-
}), TQ = /* @__PURE__ */ Jl(px, [["__scopeId", "data-v-
|
|
15506
|
+
}), TQ = /* @__PURE__ */ Jl(px, [["__scopeId", "data-v-79186d43"]]), Gx = /* @__PURE__ */ xl({
|
|
15507
15507
|
__name: "Draggable",
|
|
15508
15508
|
props: {
|
|
15509
15509
|
modelValue: {},
|
|
@@ -16678,7 +16678,7 @@ var iz = {
|
|
|
16678
16678
|
"aria-controls": m
|
|
16679
16679
|
}
|
|
16680
16680
|
}, () => [nl(N(Yl), {
|
|
16681
|
-
class:
|
|
16681
|
+
class: ul(l.triggerClass),
|
|
16682
16682
|
iconEnd: l.iconEnd,
|
|
16683
16683
|
icon: Y.value,
|
|
16684
16684
|
value: l.value,
|
|
@@ -16708,7 +16708,7 @@ var iz = {
|
|
|
16708
16708
|
ref_key: "popoverRef",
|
|
16709
16709
|
ref: s,
|
|
16710
16710
|
popover: "manual",
|
|
16711
|
-
class:
|
|
16711
|
+
class: ul(["bgl-dropdown m-0 p-0 border-none", [a.popupClass, {
|
|
16712
16712
|
"bgl-dropdown--no-positioning": b.value,
|
|
16713
16713
|
"bg-white shadow": a.card
|
|
16714
16714
|
}]]),
|
|
@@ -16721,7 +16721,7 @@ var iz = {
|
|
|
16721
16721
|
onBlur: Ll,
|
|
16722
16722
|
onKeydown: Q
|
|
16723
16723
|
}, [el[0] || (el[0] = R("div", { class: "bgl-dropdown__backdrop" }, null, -1)), R("div", {
|
|
16724
|
-
class:
|
|
16724
|
+
class: ul(["bgl-dropdown__content overflow-hidden", {
|
|
16725
16725
|
"display-flex column bgl-dropdown__content--card": a.card,
|
|
16726
16726
|
"bgl-dropdown__content--no-padding": a.noPadding
|
|
16727
16727
|
}]),
|
|
@@ -16764,7 +16764,7 @@ var iz = {
|
|
|
16764
16764
|
emits: ["action"],
|
|
16765
16765
|
setup(l, { emit: e }) {
|
|
16766
16766
|
const t = e, a = Me();
|
|
16767
|
-
return (n, i) => (L(), y("div", { class:
|
|
16767
|
+
return (n, i) => (L(), y("div", { class: ul(["bgl-empty txt-center", [{ "bgl-empty--compact": l.compact }, l.class]]) }, [
|
|
16768
16768
|
N(a).icon || l.icon !== "none" ? (L(), y("div", mz, [Ml(n.$slots, "icon", {}, () => [nl(N(fl), {
|
|
16769
16769
|
icon: l.icon,
|
|
16770
16770
|
size: l.compact ? 1.9 : 2.4,
|
|
@@ -16838,7 +16838,7 @@ var Gz = ["width", "height"], Nz = [
|
|
|
16838
16838
|
return Math.round(s / o * 100) * 0.9;
|
|
16839
16839
|
}), d = T(() => 50 - i.value / 2), c = T(() => Math.PI * 2 * d.value);
|
|
16840
16840
|
return (s, o) => (L(), y("div", {
|
|
16841
|
-
class:
|
|
16841
|
+
class: ul(["flex-center loading-container", { progress: l.progress !== void 0 }]),
|
|
16842
16842
|
style: Vl({ "--progress": l.progress })
|
|
16843
16843
|
}, [
|
|
16844
16844
|
l.type === "bar" ? (L(), y(yl, { key: 0 }, [Ml(s.$slots, "default", {}, void 0, !0), R("div", {
|
|
@@ -17020,7 +17020,7 @@ var Gz = ["width", "height"], Nz = [
|
|
|
17020
17020
|
}
|
|
17021
17021
|
return (M, V) => (L(), y("div", yz, [(L(!0), y(yl, null, vl(s.value, (x) => (L(), y("div", {
|
|
17022
17022
|
key: x.id,
|
|
17023
|
-
class:
|
|
17023
|
+
class: ul(["bgl-kanban-col column display-flex", { "is-dragover": b.value === x.id }]),
|
|
17024
17024
|
onDragover: te((g) => l.draggable && (b.value = x.id), ["prevent"]),
|
|
17025
17025
|
onDragleave: (g) => b.value === x.id && (b.value = null),
|
|
17026
17026
|
onDrop: (g) => G(x)
|
|
@@ -17923,11 +17923,11 @@ var Ez = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
|
|
|
17923
17923
|
"filter-query-inline": t.inline,
|
|
17924
17924
|
"filter-query-desktop-mobile": t.inline || t.desktopLayoutOnMobile
|
|
17925
17925
|
}] }), {
|
|
17926
|
-
default: zl(() => [(L(), ol(fe(t.inline ? "div" : N(Ca)), { class:
|
|
17926
|
+
default: zl(() => [(L(), ol(fe(t.inline ? "div" : N(Ca)), { class: ul({ "p-05": !t.inline }) }, {
|
|
17927
17927
|
default: zl(() => [R("div", Ez, [h.value.length === 0 ? (L(), y("div", Kz, [nl(N(fl), { name: "info" }), R("div", Hz, il(p.value.noActiveFilters), 1)])) : D("", !0), nl(J2, { name: "condition" }, {
|
|
17928
17928
|
default: zl(() => [(L(!0), y(yl, null, vl(h.value, (sl, J) => (L(), y("div", {
|
|
17929
17929
|
key: sl.id,
|
|
17930
|
-
class:
|
|
17930
|
+
class: ul(["grid gap-025 align-items-center pt-025", {
|
|
17931
17931
|
"": J > 0 && sl.connector === "or",
|
|
17932
17932
|
"pt-075 border-top-or": J > 0 && sl.connector === "or",
|
|
17933
17933
|
"first-filter-row": J === 0,
|
|
@@ -17954,7 +17954,7 @@ var Ez = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
|
|
|
17954
17954
|
"model-value": sl.field,
|
|
17955
17955
|
options: l.fields,
|
|
17956
17956
|
placeholder: p.value.placeholders.selectField,
|
|
17957
|
-
class:
|
|
17957
|
+
class: ul(["m-0 light-input borderHover", { "first-filter-field": J === 0 }]),
|
|
17958
17958
|
searchable: "",
|
|
17959
17959
|
"onUpdate:modelValue": (H) => Ll(sl.id, H)
|
|
17960
17960
|
}, null, 8, [
|
|
@@ -18117,7 +18117,7 @@ var Ez = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
|
|
|
18117
18117
|
sm: "",
|
|
18118
18118
|
flat: "",
|
|
18119
18119
|
size: "sm",
|
|
18120
|
-
class:
|
|
18120
|
+
class: ul({ "m_bg-gray-40 m_px-3 m_mx-auto": !t.inline && !t.desktopLayoutOnMobile }),
|
|
18121
18121
|
onClick: (H) => Q(J)
|
|
18122
18122
|
}, null, 8, ["class", "onClick"])
|
|
18123
18123
|
], 2))), 128))]),
|
|
@@ -18167,7 +18167,7 @@ var Ez = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
|
|
|
18167
18167
|
return t.value ? `url(${d}/1x1/${i.toLowerCase()}.svg)` : `url(${d}/4x3/${i.toLowerCase()}.svg)`;
|
|
18168
18168
|
});
|
|
18169
18169
|
return (i, d) => (L(), y("span", {
|
|
18170
|
-
class:
|
|
18170
|
+
class: ul(["fi", {
|
|
18171
18171
|
fis: t.value,
|
|
18172
18172
|
circle: l.circle
|
|
18173
18173
|
}]),
|
|
@@ -18668,7 +18668,7 @@ var og = {
|
|
|
18668
18668
|
return (z, O) => {
|
|
18669
18669
|
const U = $e("tooltip");
|
|
18670
18670
|
return L(), y("div", {
|
|
18671
|
-
class:
|
|
18671
|
+
class: ul(["bagel-input array-input testMe1", [N(a), { "has-value": m.value }]]),
|
|
18672
18672
|
style: Vl(N(n))
|
|
18673
18673
|
}, [
|
|
18674
18674
|
l.label ? (L(), y("label", og, il(N(Kl)(l.label)), 1)) : D("", !0),
|
|
@@ -18697,7 +18697,7 @@ var og = {
|
|
|
18697
18697
|
class: "grid gap-05 mb-05",
|
|
18698
18698
|
onEnd: M
|
|
18699
18699
|
}, {
|
|
18700
|
-
default: zl(({ index: K }) => [R("div", { class:
|
|
18700
|
+
default: zl(({ index: K }) => [R("div", { class: ul(["array-input-row grid align-items-center", {
|
|
18701
18701
|
"array-input-row-reorder": l.allowReorder,
|
|
18702
18702
|
"simpleArray mb-025": g.value,
|
|
18703
18703
|
"pb-1": !g.value
|
|
@@ -18715,7 +18715,7 @@ var og = {
|
|
|
18715
18715
|
}),
|
|
18716
18716
|
l.allowDelete ? (L(), y("div", {
|
|
18717
18717
|
key: 1,
|
|
18718
|
-
class:
|
|
18718
|
+
class: ul(["h-100p", { "border-start ps-025 ms-075": !l.simple }])
|
|
18719
18719
|
}, [Pl(nl(N(Yl), {
|
|
18720
18720
|
flat: "",
|
|
18721
18721
|
icon: "delete",
|
|
@@ -18826,7 +18826,7 @@ var og = {
|
|
|
18826
18826
|
labelColor: {},
|
|
18827
18827
|
labelActiveColor: {}
|
|
18828
18828
|
}, {
|
|
18829
|
-
modelValue: {
|
|
18829
|
+
modelValue: {},
|
|
18830
18830
|
modelModifiers: {}
|
|
18831
18831
|
}),
|
|
18832
18832
|
emits: ["update:modelValue"],
|
|
@@ -18838,7 +18838,7 @@ var og = {
|
|
|
18838
18838
|
return Al(() => {
|
|
18839
18839
|
d.value === void 0 && e.defaultValue !== void 0 && (d.value = e.defaultValue);
|
|
18840
18840
|
}), (s, o) => (L(), y("div", {
|
|
18841
|
-
class:
|
|
18841
|
+
class: ul(["bagel-input bgl-checkbox align-items-center ps-025", [N(t), {
|
|
18842
18842
|
small: l.small,
|
|
18843
18843
|
"has-value": c.value
|
|
18844
18844
|
}]]),
|
|
@@ -18854,7 +18854,7 @@ var og = {
|
|
|
18854
18854
|
class: "me-05"
|
|
18855
18855
|
}, null, 8, Mg), [[ks, d.value]]), R("label", { for: i.value + l.value }, [Ml(s.$slots, "label", {}, () => [Ul(il(N(Kl)(l.label)), 1)], !0)], 8, Vg)], 14, yg));
|
|
18856
18856
|
}
|
|
18857
|
-
}), bt = /* @__PURE__ */ Jl(Tg, [["__scopeId", "data-v-
|
|
18857
|
+
}), bt = /* @__PURE__ */ Jl(Tg, [["__scopeId", "data-v-a83862b0"]]);
|
|
18858
18858
|
function Ig(l = "dark") {
|
|
18859
18859
|
const e = C(null), t = C(!1), a = C(l), n = (u) => u === "dark" ? "atom-one-dark" : u === "light" ? "atom-one-light" : u, i = (u) => `https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.0/styles/${u}.min.css`, d = (u) => {
|
|
18860
18860
|
document.querySelectorAll('link[rel="stylesheet"]').forEach((b) => {
|
|
@@ -19070,7 +19070,7 @@ var xg = {
|
|
|
19070
19070
|
return gl(() => t.modelValue, () => {
|
|
19071
19071
|
Z.value || x();
|
|
19072
19072
|
}, { immediate: !0 }), (f, z) => (L(), y("div", {
|
|
19073
|
-
class:
|
|
19073
|
+
class: ul(["bagel-input code-editor-container ltr", [N(n), {
|
|
19074
19074
|
"": l.label && !l.singleLine,
|
|
19075
19075
|
"has-value": o.value,
|
|
19076
19076
|
"single-line": l.singleLine
|
|
@@ -19080,7 +19080,7 @@ var xg = {
|
|
|
19080
19080
|
key: 1,
|
|
19081
19081
|
ref_key: "editorRef",
|
|
19082
19082
|
ref: m,
|
|
19083
|
-
class:
|
|
19083
|
+
class: ul(["code-editor-grandpa hljs", [W.value ? "theme-light" : "theme-dark", { "code-wrap": l.wrap }]])
|
|
19084
19084
|
}, [R("div", zg, [
|
|
19085
19085
|
R("pre", gg, [R("code", { innerHTML: Y.value }, null, 8, wg)]),
|
|
19086
19086
|
l.placeholder && !o.value ? (L(), y("pre", Rg, il(l.placeholder), 1)) : D("", !0),
|
|
@@ -19131,14 +19131,14 @@ var xg = {
|
|
|
19131
19131
|
return gl(() => s.value, (o) => {
|
|
19132
19132
|
a("update:modelValue", o);
|
|
19133
19133
|
}), (o, m) => (L(), y("div", {
|
|
19134
|
-
class:
|
|
19134
|
+
class: ul(["bagel-input testMe1", [N(n), {
|
|
19135
19135
|
small: l.small,
|
|
19136
19136
|
underlined: l.underlined,
|
|
19137
19137
|
"has-value": d.value
|
|
19138
19138
|
}]]),
|
|
19139
19139
|
style: Vl(N(i)),
|
|
19140
19140
|
title: l.label
|
|
19141
|
-
}, [R("label", null, [Ul(il(N(Kl)(l.label)) + " ", 1), R("div", { class:
|
|
19141
|
+
}, [R("label", null, [Ul(il(N(Kl)(l.label)) + " ", 1), R("div", { class: ul(["flex rounded colorInputPickWrap", {
|
|
19142
19142
|
"px-025 bg-input": !l.small && !l.frame && !l.underlined,
|
|
19143
19143
|
"px-025": !l.small && (l.frame || l.underlined)
|
|
19144
19144
|
}]) }, [
|
|
@@ -19161,7 +19161,7 @@ var xg = {
|
|
|
19161
19161
|
placeholder: N(c)("color.placeholder")
|
|
19162
19162
|
}, null, 8, jg)), [[cd, s.value]]),
|
|
19163
19163
|
nl(N(Yl), {
|
|
19164
|
-
class:
|
|
19164
|
+
class: ul({ "not-allowed opacity-3": !s.value }),
|
|
19165
19165
|
round: "",
|
|
19166
19166
|
flat: "",
|
|
19167
19167
|
thin: "",
|
|
@@ -19710,7 +19710,7 @@ var _h = class Um {
|
|
|
19710
19710
|
} else g(new Date(el.getFullYear(), el.getMonth(), el.getDate()));
|
|
19711
19711
|
}
|
|
19712
19712
|
}
|
|
19713
|
-
return (el, al) => (L(), y("div", { class:
|
|
19713
|
+
return (el, al) => (L(), y("div", { class: ul(["ltr gap-075 m_flex-wrap calendar-container justify-content-center h-100p", { flex: !l.autoSize }]) }, [R("div", Cg, [R("div", Dg, [o.value === "days" ? (L(), y(yl, { key: 0 }, [
|
|
19714
19714
|
nl(N(Yl), {
|
|
19715
19715
|
flat: "",
|
|
19716
19716
|
thin: "",
|
|
@@ -19760,7 +19760,7 @@ var _h = class Um {
|
|
|
19760
19760
|
}, il(sl), 1))), 128)), (L(!0), y(yl, null, vl(N(f), (sl) => (L(), y("button", {
|
|
19761
19761
|
key: sl?.toISOString(),
|
|
19762
19762
|
type: "button",
|
|
19763
|
-
class:
|
|
19763
|
+
class: ul(["day aspect-ratio-1 flex align-items-center justify-content-center pointer round txt14 p-0", {
|
|
19764
19764
|
selected: N(Q)(sl),
|
|
19765
19765
|
"range-start": N(q)(sl),
|
|
19766
19766
|
"range-end": N(_)(sl),
|
|
@@ -20014,7 +20014,7 @@ var _h = class Um {
|
|
|
20014
20014
|
}, { ignore: [b] }), Al(() => {
|
|
20015
20015
|
!e.range && d.value === void 0 && e.defaultValue !== void 0 && (d.value = e.defaultValue);
|
|
20016
20016
|
}), (q, _) => (L(), y("div", {
|
|
20017
|
-
class:
|
|
20017
|
+
class: ul(["bagel-input", [N(n), {
|
|
20018
20018
|
small: l.small,
|
|
20019
20019
|
"has-error": !!l.error || !s.value,
|
|
20020
20020
|
underlined: l.underlined,
|
|
@@ -20041,7 +20041,7 @@ var _h = class Um {
|
|
|
20041
20041
|
required: l.underlined ? !1 : l.required,
|
|
20042
20042
|
disabled: !t.value,
|
|
20043
20043
|
error: s.value ? l.error : N(a)("date.invalidFormat"),
|
|
20044
|
-
class:
|
|
20044
|
+
class: ul([{ "txt-center": l.center }, "date-input m-0"]),
|
|
20045
20045
|
underlined: l.underlined,
|
|
20046
20046
|
frame: l.frame,
|
|
20047
20047
|
outline: l.outline,
|
|
@@ -20345,7 +20345,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20345
20345
|
}), (Q, q) => {
|
|
20346
20346
|
const _ = $e("pattern");
|
|
20347
20347
|
return L(), y("div", {
|
|
20348
|
-
class:
|
|
20348
|
+
class: ul(["bagel-input text-input", [
|
|
20349
20349
|
N(i),
|
|
20350
20350
|
K.value,
|
|
20351
20351
|
{
|
|
@@ -20396,12 +20396,12 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20396
20396
|
]]),
|
|
20397
20397
|
l.iconStart ? (L(), ol(N(fl), {
|
|
20398
20398
|
key: 2,
|
|
20399
|
-
class:
|
|
20399
|
+
class: ul([{ " bottom-1-25 ": l.underlined }, "iconStart"]),
|
|
20400
20400
|
icon: l.iconStart
|
|
20401
20401
|
}, null, 8, ["class", "icon"])) : D("", !0),
|
|
20402
20402
|
l.icon ? (L(), ol(N(fl), {
|
|
20403
20403
|
key: 3,
|
|
20404
|
-
class:
|
|
20404
|
+
class: ul({ " bottom-1-25 ": l.underlined }),
|
|
20405
20405
|
icon: l.icon
|
|
20406
20406
|
}, null, 8, ["class", "icon"])) : D("", !0)
|
|
20407
20407
|
], 8, iw), l.error ? (L(), y("div", uw, il(l.error), 1)) : D("", !0)], 14, nw);
|
|
@@ -20510,7 +20510,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20510
20510
|
}, null, 8, ["modelValue"]),
|
|
20511
20511
|
R("div", Lw, [(L(!0), y(yl, null, vl(u.value, (Y) => (L(), y("div", {
|
|
20512
20512
|
key: Y,
|
|
20513
|
-
class:
|
|
20513
|
+
class: ul(["square-40 flex-center hover rounded relative overflow-hidden", l.modelValue === Y ? "bg-primary-light color-primary" : "bg-box"]),
|
|
20514
20514
|
title: Y,
|
|
20515
20515
|
onClick: (X) => p(Y)
|
|
20516
20516
|
}, [nl(N(fl), {
|
|
@@ -20594,7 +20594,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20594
20594
|
let p = m.value.replace(/\{\{([^}]+)\}\}/g, (G, h) => `{{${h.replace(/_/g, "#####")}}}`);
|
|
20595
20595
|
return p = p.replace(/```([\s\S]+?)```/g, "<pre>$1</pre>"), p = p.replace(/`([^`]+)`/g, "<code>$1</code>"), p = p.replace(/\*([^*]+)\*/g, "<b>$1</b>"), p = p.replace(/_([^_]+)_/g, "<i>$1</i>"), p = p.replace(/~([^~]+)~/g, "<u>$1</u>"), p = p.replace(/\n/g, "<br>"), p = p.replace(/\{\{([^}]+)\}\}/g, (G, h) => `{{${h.replace(/#####/g, "_")}}}`), p;
|
|
20596
20596
|
}) }), (p, G) => (L(), y("div", Vw, [R("div", {
|
|
20597
|
-
class:
|
|
20597
|
+
class: ul(["bagel-input mb-0", [N(s), { "has-value": b.value > 0 }]]),
|
|
20598
20598
|
style: Vl(N(o))
|
|
20599
20599
|
}, [
|
|
20600
20600
|
N(a) ? (L(), y("div", Tw, il(b.value) + " / " + il(N(a)), 1)) : D("", !0),
|
|
@@ -20832,7 +20832,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20832
20832
|
return (M, V) => {
|
|
20833
20833
|
const x = $e("pattern");
|
|
20834
20834
|
return L(), y("div", {
|
|
20835
|
-
class:
|
|
20835
|
+
class: ul(["bagel-input num-input", [N(t), {
|
|
20836
20836
|
underlined: l.underlined,
|
|
20837
20837
|
"has-error": !!l.error,
|
|
20838
20838
|
"has-value": X.value
|
|
@@ -20840,7 +20840,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20840
20840
|
style: Vl(N(a))
|
|
20841
20841
|
}, [R("div", null, [
|
|
20842
20842
|
!l.hideLabel && (l.label || l.underlined && l.placeholder) ? (L(), y("label", zw, [R("span", gw, [Ul(il(N(Kl)(l.label) || N(Kl)(l.placeholder)), 1), l.required ? (L(), y("span", ww, " *")) : D("", !0)])])) : D("", !0),
|
|
20843
|
-
R("div", { class:
|
|
20843
|
+
R("div", { class: ul(["gap-025", {
|
|
20844
20844
|
"column display-flex": l.layout === "vertical",
|
|
20845
20845
|
flex: l.layout === "horizontal"
|
|
20846
20846
|
}]) }, [
|
|
@@ -20848,7 +20848,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20848
20848
|
key: 0,
|
|
20849
20849
|
flat: "",
|
|
20850
20850
|
icon: "add",
|
|
20851
|
-
class:
|
|
20851
|
+
class: ul(["radius", { "bgl-big-ctrl-num-btn": l.layout === "vertical" }]),
|
|
20852
20852
|
tabindex: "-1",
|
|
20853
20853
|
onClick: r
|
|
20854
20854
|
}, null, 8, ["class"])) : D("", !0),
|
|
@@ -20863,7 +20863,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20863
20863
|
id: l.id,
|
|
20864
20864
|
"onUpdate:modelValue": V[0] || (V[0] = (g) => W.value = g),
|
|
20865
20865
|
type: "text",
|
|
20866
|
-
class:
|
|
20866
|
+
class: ul({
|
|
20867
20867
|
"txt-center": l.center,
|
|
20868
20868
|
min0: l.layout
|
|
20869
20869
|
}),
|
|
@@ -20916,7 +20916,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20916
20916
|
key: 1,
|
|
20917
20917
|
flat: "",
|
|
20918
20918
|
icon: "remove",
|
|
20919
|
-
class:
|
|
20919
|
+
class: ul(["radius", [{ "bgl-big-ctrl-num-btn": l.layout === "vertical" }]]),
|
|
20920
20920
|
tabindex: "-1",
|
|
20921
20921
|
onClick: p
|
|
20922
20922
|
}, null, 8, ["class"])) : D("", !0)
|
|
@@ -20973,11 +20973,11 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20973
20973
|
s.value?.focus();
|
|
20974
20974
|
}
|
|
20975
20975
|
return (h, W) => (L(), y("div", {
|
|
20976
|
-
class:
|
|
20976
|
+
class: ul(["otp-input", [N(n), { "has-value": Z.value }]]),
|
|
20977
20977
|
style: Vl(c.value),
|
|
20978
20978
|
tabindex: "-1",
|
|
20979
20979
|
onClick: G
|
|
20980
|
-
}, [R("div", { class:
|
|
20980
|
+
}, [R("div", { class: ul(["otp_wrap ltr", { "has-error": !!l.error }]) }, [R("input", {
|
|
20981
20981
|
ref_key: "inputEl",
|
|
20982
20982
|
ref: s,
|
|
20983
20983
|
class: "otp-hidden-input",
|
|
@@ -20995,7 +20995,7 @@ var nw = ["title"], iw = ["for"], dw = {
|
|
|
20995
20995
|
onBlur: W[1] || (W[1] = (Y) => b.value = !1)
|
|
20996
20996
|
}, null, 40, Jw), (L(!0), y(yl, null, vl(m.value, (Y, X) => (L(), y("div", {
|
|
20997
20997
|
key: X,
|
|
20998
|
-
class:
|
|
20998
|
+
class: ul(["digit-box", {
|
|
20999
20999
|
"is-active": b.value && X === u.value,
|
|
21000
21000
|
"is-filled": Y !== ""
|
|
21001
21001
|
}]),
|
|
@@ -22314,7 +22314,7 @@ var qh = /^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/, Ew = /^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xd
|
|
|
22314
22314
|
});
|
|
22315
22315
|
return (r, p) => {
|
|
22316
22316
|
const G = $e("tooltip");
|
|
22317
|
-
return L(), y("div", { class:
|
|
22317
|
+
return L(), y("div", { class: ul(["relative passwordInput", {
|
|
22318
22318
|
"relative mb-2": e.strengthMeter,
|
|
22319
22319
|
"has-error": !!e.error,
|
|
22320
22320
|
underlined: e.underlined
|
|
@@ -22487,7 +22487,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22487
22487
|
a("change", s.value);
|
|
22488
22488
|
}
|
|
22489
22489
|
return (V, x) => (L(), y("div", {
|
|
22490
|
-
class:
|
|
22490
|
+
class: ul(h.value),
|
|
22491
22491
|
style: Vl(W.value),
|
|
22492
22492
|
role: "radiogroup",
|
|
22493
22493
|
"aria-labelledby": l.label && !l.hideLabel ? `${c.value}-label` : void 0,
|
|
@@ -22499,11 +22499,11 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22499
22499
|
}, [Ul(il(N(Kl)(l.label)) + " ", 1), l.required ? (L(), y("span", sS, "*")) : D("", !0)], 8, cS)) : D("", !0), R("div", {
|
|
22500
22500
|
ref_key: "inlineWrapper",
|
|
22501
22501
|
ref: Z,
|
|
22502
|
-
class:
|
|
22502
|
+
class: ul(["radio-group-wrap", [l.wrapperClass, { "radio-group-wrap--inline": l.inline }]]),
|
|
22503
22503
|
style: Vl(l.inline ? { "--rg-item-basis": u.value } : void 0)
|
|
22504
22504
|
}, [(L(!0), y(yl, null, vl(m.value, (g, f) => (L(), y("label", {
|
|
22505
22505
|
key: g.id || `${c.value}-${f}`,
|
|
22506
|
-
class:
|
|
22506
|
+
class: ul(["border rounded flex active-list-item hover mb-05", {
|
|
22507
22507
|
"p-05 gap-025": l.thin,
|
|
22508
22508
|
"py-1 gap-075": !l.thin,
|
|
22509
22509
|
"ps-05": !l.hideRadio,
|
|
@@ -22526,7 +22526,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22526
22526
|
"onUpdate:modelValue": x[0] || (x[0] = (z) => s.value = z),
|
|
22527
22527
|
disabled: l.disabled || g.disabled,
|
|
22528
22528
|
tabindex: d(g, f),
|
|
22529
|
-
class:
|
|
22529
|
+
class: ul(["radio-input-list", {
|
|
22530
22530
|
"mt-025": l.align === "start" || l.align === "top",
|
|
22531
22531
|
"mb-025": l.align === "end" || l.align === "bottom",
|
|
22532
22532
|
hideRadio: l.hideRadio
|
|
@@ -22540,7 +22540,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22540
22540
|
onChange: M
|
|
22541
22541
|
}, null, 42, mS), [[t3, s.value]]),
|
|
22542
22542
|
R("div", {
|
|
22543
|
-
class:
|
|
22543
|
+
class: ul(["flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025", {
|
|
22544
22544
|
"txt-center justify-content-center mx-auto": l.textAlign === "center",
|
|
22545
22545
|
"radio-option-content--centered-image": l.textAlign === "center" && g.imgSrc,
|
|
22546
22546
|
"txt-end justify-content-end": l.textAlign === "right",
|
|
@@ -22648,7 +22648,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22648
22648
|
ref_key: "rootEl",
|
|
22649
22649
|
ref: o,
|
|
22650
22650
|
dir: l.rtl === void 0 ? void 0 : l.rtl ? "rtl" : "ltr",
|
|
22651
|
-
class:
|
|
22651
|
+
class: ul({ "range-sm": l.size === "sm" }),
|
|
22652
22652
|
style: Vl([
|
|
22653
22653
|
l.minWidth ? { minWidth: l.minWidth } : {},
|
|
22654
22654
|
l.maxWidth ? { maxWidth: l.maxWidth } : {},
|
|
@@ -22804,12 +22804,12 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22804
22804
|
return (o, m) => {
|
|
22805
22805
|
const Z = $e("tooltip");
|
|
22806
22806
|
return L(), y("div", {
|
|
22807
|
-
class:
|
|
22807
|
+
class: ul(["bagel-input SelectBtn", [N(t), { "has-value": n.value }]]),
|
|
22808
22808
|
style: Vl(N(a))
|
|
22809
22809
|
}, [
|
|
22810
22810
|
l.label || l.required ? (L(), y("label", MS, [Ul(il(N(Kl)(l.label)), 1), l.required ? (L(), y("span", VS, " *")) : D("", !0)])) : D("", !0),
|
|
22811
22811
|
R("div", {
|
|
22812
|
-
class:
|
|
22812
|
+
class: ul(["select-btn-items flex flex-wrap gap-025", {
|
|
22813
22813
|
"has-background": !!l.bgColor,
|
|
22814
22814
|
"default-size": !l.thin && !l.size
|
|
22815
22815
|
}]),
|
|
@@ -22819,7 +22819,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
22819
22819
|
thin: l.thin,
|
|
22820
22820
|
size: l.size,
|
|
22821
22821
|
type: "button",
|
|
22822
|
-
class:
|
|
22822
|
+
class: ul([s(N(Nn)(u)) ? "color-white" : "bg-transparent", "border radius-2 SelectBtn-padding"]),
|
|
22823
22823
|
style: Vl(s(N(Nn)(u)) ? {
|
|
22824
22824
|
backgroundColor: "var(--bgl-input-label-active-color, var(--bgl-primary))",
|
|
22825
22825
|
borderColor: "var(--bgl-input-label-active-color, var(--bgl-primary))",
|
|
@@ -23033,7 +23033,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23033
23033
|
shown: W.value,
|
|
23034
23034
|
"onUpdate:shown": A[11] || (A[11] = (k) => W.value = k),
|
|
23035
23035
|
placement: l.placement,
|
|
23036
|
-
class:
|
|
23036
|
+
class: ul(["bagel-input selectinput", [N(i), {
|
|
23037
23037
|
"has-error": !!l.error,
|
|
23038
23038
|
underlined: l.underlined,
|
|
23039
23039
|
open: W.value,
|
|
@@ -23076,7 +23076,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23076
23076
|
ref: o,
|
|
23077
23077
|
disabled: l.disabled,
|
|
23078
23078
|
type: "button",
|
|
23079
|
-
class:
|
|
23079
|
+
class: ul(["selectinput-btn", [{ isEmpty: r.value === 0 }, X.value]]),
|
|
23080
23080
|
onClick: A[5] || (A[5] = (k) => W.value = !W.value),
|
|
23081
23081
|
role: "combobox",
|
|
23082
23082
|
"aria-label": N(Kl)(l.label) || Y.value,
|
|
@@ -23092,7 +23092,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23092
23092
|
}, null, 8, ["icon"])) : D("", !0),
|
|
23093
23093
|
l.hideLabel ? D("", !0) : (L(), y("p", {
|
|
23094
23094
|
key: 1,
|
|
23095
|
-
class:
|
|
23095
|
+
class: ul({ "me-auto ms-05": l.icon })
|
|
23096
23096
|
}, il(r.value > 0 ? M.value : l.underlined ? "" : N(Kl)(l.placeholder) || "Select..."), 3)),
|
|
23097
23097
|
l.clearable && r.value > 0 ? (L(), y("div", SS, [nl(N(Yl), {
|
|
23098
23098
|
flat: "",
|
|
@@ -23142,13 +23142,13 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23142
23142
|
id: Z,
|
|
23143
23143
|
ref_key: "selectOptions",
|
|
23144
23144
|
ref: U,
|
|
23145
|
-
class:
|
|
23145
|
+
class: ul(["selectinput-options", { multiselect: l.multiselect }]),
|
|
23146
23146
|
role: "listbox",
|
|
23147
23147
|
"aria-multiselectable": l.multiselect || void 0
|
|
23148
23148
|
}, [(L(!0), y(yl, null, vl(N(x), (k, F) => (L(), y("div", {
|
|
23149
23149
|
key: `${String(b(k))}-${F}`,
|
|
23150
23150
|
id: `${N(m)}-option-${F}`,
|
|
23151
|
-
class:
|
|
23151
|
+
class: ul(["selectinput-option hover gap-1 align-items-center", { selected: Q(k) }]),
|
|
23152
23152
|
role: "option",
|
|
23153
23153
|
tabindex: O(k, F),
|
|
23154
23154
|
"aria-label": N(li)(k),
|
|
@@ -23308,7 +23308,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23308
23308
|
return Al(async () => {
|
|
23309
23309
|
a.autofocus && setTimeout(() => o.value?.focus(), 50), a.autoheight && (await ae(), u());
|
|
23310
23310
|
}), (h, W) => (L(), y("div", {
|
|
23311
|
-
class:
|
|
23311
|
+
class: ul(["bagel-input text-input", [N(i), {
|
|
23312
23312
|
dense: l.dense,
|
|
23313
23313
|
small: l.small,
|
|
23314
23314
|
thin: l.thin,
|
|
@@ -23370,7 +23370,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23370
23370
|
}), null, 16, _S)), [[cd, s.value]]),
|
|
23371
23371
|
l.iconStart ? (L(), ol(N(fl), {
|
|
23372
23372
|
key: 2,
|
|
23373
|
-
class:
|
|
23373
|
+
class: ul([{ " -top-025 line-height-0 ": l.underlined }, "iconStart"]),
|
|
23374
23374
|
icon: l.iconStart,
|
|
23375
23375
|
color: l.iconColor
|
|
23376
23376
|
}, null, 8, [
|
|
@@ -23380,7 +23380,7 @@ var dS = ["aria-labelledby", "aria-label"], cS = ["id"], sS = { key: 0 }, oS = [
|
|
|
23380
23380
|
])) : D("", !0),
|
|
23381
23381
|
l.icon ? (L(), ol(N(fl), {
|
|
23382
23382
|
key: 3,
|
|
23383
|
-
class:
|
|
23383
|
+
class: ul({ " -top-025 line-height-0 ": l.underlined }),
|
|
23384
23384
|
icon: l.icon,
|
|
23385
23385
|
color: l.iconColor
|
|
23386
23386
|
}, null, 8, [
|
|
@@ -23641,7 +23641,7 @@ var O4 = (l) => {
|
|
|
23641
23641
|
n === Yn && i === t && a.length && a.shift()();
|
|
23642
23642
|
}, !1), (n) => {
|
|
23643
23643
|
a.push(n), Yn.postMessage(t, "*");
|
|
23644
|
-
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(typeof setImmediate == "function", yt(Yn.postMessage)), H4 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Yn) : typeof process < "u" && process.nextTick || N5, Y5 = (l) => l != null && yt(l[Od]), P4 = (l) => l != null && pd(l, Od) && Y5(l),
|
|
23644
|
+
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(typeof setImmediate == "function", yt(Yn.postMessage)), H4 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Yn) : typeof process < "u" && process.nextTick || N5, Y5 = (l) => l != null && yt(l[Od]), P4 = (l) => l != null && pd(l, Od) && Y5(l), rl = {
|
|
23645
23645
|
isArray: Rn,
|
|
23646
23646
|
isArrayBuffer: r5,
|
|
23647
23647
|
isBuffer: zi,
|
|
@@ -23705,7 +23705,7 @@ var O4 = (l) => {
|
|
|
23705
23705
|
asap: H4,
|
|
23706
23706
|
isIterable: Y5,
|
|
23707
23707
|
isSafeIterable: P4
|
|
23708
|
-
}, B4 =
|
|
23708
|
+
}, B4 = rl.toObjectSet([
|
|
23709
23709
|
"age",
|
|
23710
23710
|
"authorization",
|
|
23711
23711
|
"content-length",
|
|
@@ -23729,8 +23729,8 @@ var O4 = (l) => {
|
|
|
23729
23729
|
return l && l.split(`
|
|
23730
23730
|
`).forEach(function(d) {
|
|
23731
23731
|
n = d.indexOf(":"), t = d.substring(0, n).trim().toLowerCase(), a = d.substring(n + 1).trim();
|
|
23732
|
-
const c =
|
|
23733
|
-
!t || c &&
|
|
23732
|
+
const c = rl.hasOwnProp(e, t);
|
|
23733
|
+
!t || c && rl.hasOwnProp(B4, t) || (t === "set-cookie" ? c ? e[t].push(a) : e[t] = [a] : e[t] = c ? e[t] + ", " + a : a);
|
|
23734
23734
|
}), e;
|
|
23735
23735
|
};
|
|
23736
23736
|
function A4(l) {
|
|
@@ -23749,12 +23749,12 @@ function A4(l) {
|
|
|
23749
23749
|
}
|
|
23750
23750
|
var _4 = new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", "g"), $4 = new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
|
|
23751
23751
|
function uZ(l, e) {
|
|
23752
|
-
return
|
|
23752
|
+
return rl.isArray(l) ? l.map((t) => uZ(t, e)) : A4(String(l).replace(e, ""));
|
|
23753
23753
|
}
|
|
23754
23754
|
const q4 = (l) => uZ(l, _4), lv = (l) => uZ(l, $4);
|
|
23755
23755
|
function L5(l) {
|
|
23756
23756
|
const e = /* @__PURE__ */ Object.create(null);
|
|
23757
|
-
return
|
|
23757
|
+
return rl.forEach(l.toJSON(), (t, a) => {
|
|
23758
23758
|
e[a] = lv(t);
|
|
23759
23759
|
}), e;
|
|
23760
23760
|
}
|
|
@@ -23763,7 +23763,7 @@ function ji(l) {
|
|
|
23763
23763
|
return l && String(l).trim().toLowerCase();
|
|
23764
23764
|
}
|
|
23765
23765
|
function Rc(l) {
|
|
23766
|
-
return l === !1 || l == null ? l :
|
|
23766
|
+
return l === !1 || l == null ? l : rl.isArray(l) ? l.map(Rc) : q4(String(l));
|
|
23767
23767
|
}
|
|
23768
23768
|
function ev(l) {
|
|
23769
23769
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -23817,17 +23817,17 @@ function nv(l) {
|
|
|
23817
23817
|
}
|
|
23818
23818
|
var iv = (l) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(l.trim());
|
|
23819
23819
|
function Fo(l, e, t, a, n) {
|
|
23820
|
-
if (
|
|
23821
|
-
if (n && (e = t), !!
|
|
23822
|
-
if (
|
|
23823
|
-
if (
|
|
23820
|
+
if (rl.isFunction(a)) return a.call(this, e, t);
|
|
23821
|
+
if (n && (e = t), !!rl.isString(e)) {
|
|
23822
|
+
if (rl.isString(a)) return e.indexOf(a) !== -1;
|
|
23823
|
+
if (rl.isRegExp(a)) return a.test(e);
|
|
23824
23824
|
}
|
|
23825
23825
|
}
|
|
23826
23826
|
function dv(l) {
|
|
23827
23827
|
return l.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, a) => t.toUpperCase() + a);
|
|
23828
23828
|
}
|
|
23829
23829
|
function cv(l, e) {
|
|
23830
|
-
const t =
|
|
23830
|
+
const t = rl.toCamelCase(" " + e);
|
|
23831
23831
|
[
|
|
23832
23832
|
"get",
|
|
23833
23833
|
"set",
|
|
@@ -23851,17 +23851,17 @@ var $s = class {
|
|
|
23851
23851
|
function n(d, c, s) {
|
|
23852
23852
|
const o = ji(c);
|
|
23853
23853
|
if (!o) return;
|
|
23854
|
-
const m =
|
|
23854
|
+
const m = rl.findKey(a, o);
|
|
23855
23855
|
(!m || a[m] === void 0 || s === !0 || s === void 0 && a[m] !== !1) && (a[m || c] = Rc(d));
|
|
23856
23856
|
}
|
|
23857
|
-
const i = (d, c) =>
|
|
23858
|
-
if (
|
|
23859
|
-
else if (
|
|
23860
|
-
else if (
|
|
23857
|
+
const i = (d, c) => rl.forEach(d, (s, o) => n(s, o, c));
|
|
23858
|
+
if (rl.isPlainObject(l) || l instanceof this.constructor) i(l, e);
|
|
23859
|
+
else if (rl.isString(l) && (l = l.trim()) && !iv(l)) i(Q4(l), e);
|
|
23860
|
+
else if (rl.isObject(l) && rl.isSafeIterable(l)) {
|
|
23861
23861
|
let d = /* @__PURE__ */ Object.create(null), c, s;
|
|
23862
23862
|
for (const o of l) {
|
|
23863
|
-
if (!
|
|
23864
|
-
s = o[0],
|
|
23863
|
+
if (!rl.isArray(o)) throw new TypeError("Object iterator must return a key-value pair");
|
|
23864
|
+
s = o[0], rl.hasOwnProp(d, s) ? (c = d[s], d[s] = rl.isArray(c) ? [...c, o[1]] : [c, o[1]]) : d[s] = o[1];
|
|
23865
23865
|
}
|
|
23866
23866
|
i(d, e);
|
|
23867
23867
|
} else l != null && n(e, l, t);
|
|
@@ -23869,20 +23869,20 @@ var $s = class {
|
|
|
23869
23869
|
}
|
|
23870
23870
|
get(l, e) {
|
|
23871
23871
|
if (l = ji(l), l) {
|
|
23872
|
-
const t =
|
|
23872
|
+
const t = rl.findKey(this, l);
|
|
23873
23873
|
if (t) {
|
|
23874
23874
|
const a = this[t];
|
|
23875
23875
|
if (!e) return a;
|
|
23876
23876
|
if (e === !0) return ev(a);
|
|
23877
|
-
if (
|
|
23878
|
-
if (
|
|
23877
|
+
if (rl.isFunction(e)) return e.call(this, a, t);
|
|
23878
|
+
if (rl.isRegExp(e)) return e.exec(a);
|
|
23879
23879
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
23880
23880
|
}
|
|
23881
23881
|
}
|
|
23882
23882
|
}
|
|
23883
23883
|
has(l, e) {
|
|
23884
23884
|
if (l = ji(l), l) {
|
|
23885
|
-
const t =
|
|
23885
|
+
const t = rl.findKey(this, l);
|
|
23886
23886
|
return !!(t && this[t] !== void 0 && (!e || Fo(this, this[t], t, e)));
|
|
23887
23887
|
}
|
|
23888
23888
|
return !1;
|
|
@@ -23892,11 +23892,11 @@ var $s = class {
|
|
|
23892
23892
|
let a = !1;
|
|
23893
23893
|
function n(i) {
|
|
23894
23894
|
if (i = ji(i), i) {
|
|
23895
|
-
const d =
|
|
23895
|
+
const d = rl.findKey(t, i);
|
|
23896
23896
|
d && (!e || Fo(t, t[d], d, e)) && (delete t[d], a = !0);
|
|
23897
23897
|
}
|
|
23898
23898
|
}
|
|
23899
|
-
return
|
|
23899
|
+
return rl.isArray(l) ? l.forEach(n) : n(l), a;
|
|
23900
23900
|
}
|
|
23901
23901
|
clear(l) {
|
|
23902
23902
|
const e = Object.keys(this);
|
|
@@ -23909,8 +23909,8 @@ var $s = class {
|
|
|
23909
23909
|
}
|
|
23910
23910
|
normalize(l) {
|
|
23911
23911
|
const e = this, t = {};
|
|
23912
|
-
return
|
|
23913
|
-
const i =
|
|
23912
|
+
return rl.forEach(this, (a, n) => {
|
|
23913
|
+
const i = rl.findKey(t, n);
|
|
23914
23914
|
if (i) {
|
|
23915
23915
|
e[i] = Rc(a), delete e[n];
|
|
23916
23916
|
return;
|
|
@@ -23924,8 +23924,8 @@ var $s = class {
|
|
|
23924
23924
|
}
|
|
23925
23925
|
toJSON(l) {
|
|
23926
23926
|
const e = /* @__PURE__ */ Object.create(null);
|
|
23927
|
-
return
|
|
23928
|
-
t != null && t !== !1 && (e[a] = l &&
|
|
23927
|
+
return rl.forEach(this, (t, a) => {
|
|
23928
|
+
t != null && t !== !1 && (e[a] = l && rl.isArray(t) ? t.join(", ") : t);
|
|
23929
23929
|
}), e;
|
|
23930
23930
|
}
|
|
23931
23931
|
[Symbol.iterator]() {
|
|
@@ -23937,7 +23937,7 @@ var $s = class {
|
|
|
23937
23937
|
}
|
|
23938
23938
|
getSetCookie() {
|
|
23939
23939
|
const l = this.get("set-cookie");
|
|
23940
|
-
return
|
|
23940
|
+
return rl.isArray(l) ? l : l == null || l === !1 ? [] : [l];
|
|
23941
23941
|
}
|
|
23942
23942
|
get [Symbol.toStringTag]() {
|
|
23943
23943
|
return "AxiosHeaders";
|
|
@@ -23958,7 +23958,7 @@ var $s = class {
|
|
|
23958
23958
|
const i = ji(n);
|
|
23959
23959
|
e[i] || (cv(t, n), e[i] = !0);
|
|
23960
23960
|
}
|
|
23961
|
-
return
|
|
23961
|
+
return rl.isArray(l) ? l.forEach(a) : a(l), this;
|
|
23962
23962
|
}
|
|
23963
23963
|
};
|
|
23964
23964
|
$s.accessor([
|
|
@@ -23969,7 +23969,7 @@ $s.accessor([
|
|
|
23969
23969
|
"User-Agent",
|
|
23970
23970
|
"Authorization"
|
|
23971
23971
|
]);
|
|
23972
|
-
|
|
23972
|
+
rl.reduceDescriptors($s.prototype, ({ value: l }, e) => {
|
|
23973
23973
|
let t = e[0].toUpperCase() + e.slice(1);
|
|
23974
23974
|
return {
|
|
23975
23975
|
get: () => l,
|
|
@@ -23978,36 +23978,36 @@ bl.reduceDescriptors($s.prototype, ({ value: l }, e) => {
|
|
|
23978
23978
|
}
|
|
23979
23979
|
};
|
|
23980
23980
|
});
|
|
23981
|
-
|
|
23981
|
+
rl.freezeMethods($s);
|
|
23982
23982
|
var ft = $s;
|
|
23983
23983
|
const cs = "[REDACTED ****]";
|
|
23984
23984
|
function sv(l) {
|
|
23985
|
-
if (
|
|
23985
|
+
if (rl.hasOwnProp(l, "toJSON")) return !0;
|
|
23986
23986
|
let e = Object.getPrototypeOf(l);
|
|
23987
23987
|
for (; e && e !== Object.prototype; ) {
|
|
23988
|
-
if (
|
|
23988
|
+
if (rl.hasOwnProp(e, "toJSON")) return !0;
|
|
23989
23989
|
e = Object.getPrototypeOf(e);
|
|
23990
23990
|
}
|
|
23991
23991
|
return !1;
|
|
23992
23992
|
}
|
|
23993
23993
|
function ov(l, e) {
|
|
23994
23994
|
const t = new Set(e.map((i) => String(i).toLowerCase())), a = [], n = (i) => {
|
|
23995
|
-
if (i === null || typeof i != "object" ||
|
|
23995
|
+
if (i === null || typeof i != "object" || rl.isBuffer(i)) return i;
|
|
23996
23996
|
if (a.indexOf(i) !== -1) return;
|
|
23997
23997
|
i instanceof ft && (i = i.toJSON()), a.push(i);
|
|
23998
23998
|
let d;
|
|
23999
|
-
if (
|
|
23999
|
+
if (rl.isArray(i))
|
|
24000
24000
|
d = [], i.forEach((c, s) => {
|
|
24001
24001
|
const o = n(c);
|
|
24002
|
-
|
|
24002
|
+
rl.isUndefined(o) || (d[s] = o);
|
|
24003
24003
|
});
|
|
24004
24004
|
else {
|
|
24005
|
-
if (!
|
|
24005
|
+
if (!rl.isPlainObject(i) && sv(i))
|
|
24006
24006
|
return a.pop(), i;
|
|
24007
24007
|
d = /* @__PURE__ */ Object.create(null);
|
|
24008
24008
|
for (const [c, s] of Object.entries(i)) {
|
|
24009
24009
|
const o = t.has(c.toLowerCase()) ? cs : n(s);
|
|
24010
|
-
|
|
24010
|
+
rl.isUndefined(o) || (d[c] = o);
|
|
24011
24011
|
}
|
|
24012
24012
|
}
|
|
24013
24013
|
return a.pop(), d;
|
|
@@ -24033,7 +24033,7 @@ function mv(l) {
|
|
|
24033
24033
|
var pt = class X5 extends Error {
|
|
24034
24034
|
static from(e, t, a, n, i, d) {
|
|
24035
24035
|
let c = e.message;
|
|
24036
|
-
!c &&
|
|
24036
|
+
!c && rl.isArray(e.errors) && e.errors.length && (c = mv(e));
|
|
24037
24037
|
const s = new X5(c, t || e.code, a, n, i);
|
|
24038
24038
|
return Object.defineProperty(s, "cause", {
|
|
24039
24039
|
__proto__: null,
|
|
@@ -24064,7 +24064,7 @@ var pt = class X5 extends Error {
|
|
|
24064
24064
|
}), this.name = "AxiosError", this.isAxiosError = !0, t && (this.code = t), a && (this.config = a), n && (this.request = n), i && (this.response = i, this.status = i.status);
|
|
24065
24065
|
}
|
|
24066
24066
|
toJSON() {
|
|
24067
|
-
const e = this.config, t = e &&
|
|
24067
|
+
const e = this.config, t = e && rl.hasOwnProp(e, "redact") ? e.redact : void 0, a = rl.isArray(t) && t.length > 0 ? ov(e, t) : rl.toJSONObject(e);
|
|
24068
24068
|
return {
|
|
24069
24069
|
message: this.message,
|
|
24070
24070
|
name: this.name,
|
|
@@ -24096,10 +24096,10 @@ pt.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
|
24096
24096
|
pt.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
|
|
24097
24097
|
var El = pt;
|
|
24098
24098
|
function Qm(l) {
|
|
24099
|
-
return
|
|
24099
|
+
return rl.isPlainObject(l) || rl.isArray(l);
|
|
24100
24100
|
}
|
|
24101
24101
|
function y5(l) {
|
|
24102
|
-
return
|
|
24102
|
+
return rl.endsWith(l, "[]") ? l.slice(0, -2) : l;
|
|
24103
24103
|
}
|
|
24104
24104
|
function fo(l, e, t) {
|
|
24105
24105
|
return l ? l.concat(e).map(function(n, i) {
|
|
@@ -24107,25 +24107,25 @@ function fo(l, e, t) {
|
|
|
24107
24107
|
}).join(t ? "." : "") : e;
|
|
24108
24108
|
}
|
|
24109
24109
|
function Zv(l) {
|
|
24110
|
-
return
|
|
24110
|
+
return rl.isArray(l) && !l.some(Qm);
|
|
24111
24111
|
}
|
|
24112
|
-
var uv =
|
|
24112
|
+
var uv = rl.toFlatObject(rl, {}, null, function(e) {
|
|
24113
24113
|
return /^is[A-Z]/.test(e);
|
|
24114
24114
|
});
|
|
24115
24115
|
function bv(l, e, t) {
|
|
24116
|
-
if (!
|
|
24116
|
+
if (!rl.isObject(l)) throw new TypeError("target must be an object");
|
|
24117
24117
|
e = e || new FormData();
|
|
24118
24118
|
const a = (W, Y) => {
|
|
24119
|
-
const X =
|
|
24120
|
-
return
|
|
24121
|
-
}, n = a("metaTokens", !0), i = a("visitor") || p, d = a("dots", !1), c = a("indexes", !1), s = a("Blob") || typeof Blob < "u" && Blob, o = a("maxDepth", 100), m = s &&
|
|
24122
|
-
if (!
|
|
24119
|
+
const X = rl.getSafeProp(t, W);
|
|
24120
|
+
return rl.isUndefined(X) ? Y : X;
|
|
24121
|
+
}, n = a("metaTokens", !0), i = a("visitor") || p, d = a("dots", !1), c = a("indexes", !1), s = a("Blob") || typeof Blob < "u" && Blob, o = a("maxDepth", 100), m = s && rl.isSpecCompliantForm(e), Z = [];
|
|
24122
|
+
if (!rl.isFunction(i)) throw new TypeError("visitor must be a function");
|
|
24123
24123
|
function u(W) {
|
|
24124
24124
|
if (W === null) return "";
|
|
24125
|
-
if (
|
|
24126
|
-
if (
|
|
24127
|
-
if (!m &&
|
|
24128
|
-
if (
|
|
24125
|
+
if (rl.isDate(W)) return W.toISOString();
|
|
24126
|
+
if (rl.isBoolean(W)) return W.toString();
|
|
24127
|
+
if (!m && rl.isBlob(W)) throw new El("Blob is not supported. Use a Buffer instead.");
|
|
24128
|
+
if (rl.isArrayBuffer(W) || rl.isTypedArray(W)) {
|
|
24129
24129
|
if (m && typeof s == "function") return new s([W]);
|
|
24130
24130
|
throw new El("Blob is not supported. Use a Buffer instead.", El.ERR_NOT_SUPPORT);
|
|
24131
24131
|
}
|
|
@@ -24138,21 +24138,21 @@ function bv(l, e, t) {
|
|
|
24138
24138
|
if (o === 1 / 0) return JSON.stringify(W);
|
|
24139
24139
|
const X = [];
|
|
24140
24140
|
return JSON.stringify(W, function(V, x) {
|
|
24141
|
-
if (!
|
|
24141
|
+
if (!rl.isObject(x)) return x;
|
|
24142
24142
|
for (; X.length && X[X.length - 1] !== this; ) X.pop();
|
|
24143
24143
|
return X.push(x), b(Y + X.length - 1), x;
|
|
24144
24144
|
});
|
|
24145
24145
|
}
|
|
24146
24146
|
function p(W, Y, X) {
|
|
24147
24147
|
let M = W;
|
|
24148
|
-
if (
|
|
24148
|
+
if (rl.isReactNative(e) && rl.isReactNativeBlob(W))
|
|
24149
24149
|
return e.append(fo(X, Y, d), u(W)), !1;
|
|
24150
24150
|
if (W && !X && typeof W == "object") {
|
|
24151
|
-
if (
|
|
24151
|
+
if (rl.endsWith(Y, "{}"))
|
|
24152
24152
|
Y = n ? Y : Y.slice(0, -2), W = r(W, 1);
|
|
24153
|
-
else if (
|
|
24153
|
+
else if (rl.isArray(W) && Zv(W) || (rl.isFileList(W) || rl.endsWith(Y, "[]")) && (M = rl.toArray(W)))
|
|
24154
24154
|
return Y = y5(Y), M.forEach(function(x, g) {
|
|
24155
|
-
!(
|
|
24155
|
+
!(rl.isUndefined(x) || x === null) && e.append(c === !0 ? fo([Y], g, d) : c === null ? Y : Y + "[]", u(x));
|
|
24156
24156
|
}), !1;
|
|
24157
24157
|
}
|
|
24158
24158
|
return Qm(W) ? !0 : (e.append(fo(X, Y, d), u(W)), !1);
|
|
@@ -24163,14 +24163,14 @@ function bv(l, e, t) {
|
|
|
24163
24163
|
isVisitable: Qm
|
|
24164
24164
|
});
|
|
24165
24165
|
function h(W, Y, X = 0) {
|
|
24166
|
-
if (!
|
|
24166
|
+
if (!rl.isUndefined(W)) {
|
|
24167
24167
|
if (b(X), Z.indexOf(W) !== -1) throw new Error("Circular reference detected in " + Y.join("."));
|
|
24168
|
-
Z.push(W),
|
|
24169
|
-
(!(
|
|
24168
|
+
Z.push(W), rl.forEach(W, function(V, x) {
|
|
24169
|
+
(!(rl.isUndefined(V) || V === null) && i.call(e, V, rl.isString(x) ? x.trim() : x, Y, G)) === !0 && h(V, Y ? Y.concat(x) : [x], X + 1);
|
|
24170
24170
|
}), Z.pop();
|
|
24171
24171
|
}
|
|
24172
24172
|
}
|
|
24173
|
-
if (!
|
|
24173
|
+
if (!rl.isObject(l)) throw new TypeError("data must be an object");
|
|
24174
24174
|
return h(l), e;
|
|
24175
24175
|
}
|
|
24176
24176
|
var qs = bv;
|
|
@@ -24207,9 +24207,9 @@ function rv(l) {
|
|
|
24207
24207
|
function I5(l, e, t) {
|
|
24208
24208
|
if (!e) return l;
|
|
24209
24209
|
l = l || "";
|
|
24210
|
-
const a =
|
|
24210
|
+
const a = rl.isFunction(t) ? { serialize: t } : t, n = rl.getSafeProp(a, "encode") || rv, i = rl.getSafeProp(a, "serialize");
|
|
24211
24211
|
let d;
|
|
24212
|
-
if (i ? d = i(e, a) : d =
|
|
24212
|
+
if (i ? d = i(e, a) : d = rl.isURLSearchParams(e) ? e.toString() : new T5(e, a).toString(n), d) {
|
|
24213
24213
|
const c = l.indexOf("#");
|
|
24214
24214
|
c !== -1 && (l = l.slice(0, c)), l += (l.indexOf("?") === -1 ? "?" : "&") + d;
|
|
24215
24215
|
}
|
|
@@ -24300,7 +24300,7 @@ var hv = class {
|
|
|
24300
24300
|
const e = this[Ji];
|
|
24301
24301
|
ki(this, e), e.iterationDepth++;
|
|
24302
24302
|
try {
|
|
24303
|
-
|
|
24303
|
+
rl.forEach(this.handlers, function(a) {
|
|
24304
24304
|
a !== null && l(a);
|
|
24305
24305
|
});
|
|
24306
24306
|
} finally {
|
|
@@ -24346,7 +24346,7 @@ var hv = class {
|
|
|
24346
24346
|
function Mv(l, e) {
|
|
24347
24347
|
return qs(l, new _e.classes.URLSearchParams(), {
|
|
24348
24348
|
visitor: function(t, a, n, i) {
|
|
24349
|
-
return _e.isNode &&
|
|
24349
|
+
return _e.isNode && rl.isBuffer(t) ? (this.append(a, t.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
24350
24350
|
},
|
|
24351
24351
|
...e
|
|
24352
24352
|
});
|
|
@@ -24377,11 +24377,11 @@ function Iv(l) {
|
|
|
24377
24377
|
let d = t[i++];
|
|
24378
24378
|
if (d === "__proto__") return !0;
|
|
24379
24379
|
const c = Number.isFinite(+d), s = i >= t.length;
|
|
24380
|
-
return d = !d &&
|
|
24380
|
+
return d = !d && rl.isArray(n) ? n.length : d, s ? (rl.hasOwnProp(n, d) ? n[d] = rl.isArray(n[d]) ? n[d].concat(a) : [n[d], a] : n[d] = a, !c) : ((!rl.hasOwnProp(n, d) || !rl.isObject(n[d])) && (n[d] = []), e(t, a, n[d], i) && rl.isArray(n[d]) && (n[d] = Tv(n[d])), !c);
|
|
24381
24381
|
}
|
|
24382
|
-
if (
|
|
24382
|
+
if (rl.isFormData(l) && rl.isFunction(l.entries)) {
|
|
24383
24383
|
const t = {};
|
|
24384
|
-
return
|
|
24384
|
+
return rl.forEachEntry(l, (a, n) => {
|
|
24385
24385
|
e(Vv(a), n, t, 0);
|
|
24386
24386
|
}), t;
|
|
24387
24387
|
}
|
|
@@ -24399,10 +24399,10 @@ var g5 = Iv, xv = Object.freeze([
|
|
|
24399
24399
|
"link",
|
|
24400
24400
|
"unlink",
|
|
24401
24401
|
"query"
|
|
24402
|
-
]), w5 = xv, Dn = (l, e) => l != null &&
|
|
24402
|
+
]), w5 = xv, Dn = (l, e) => l != null && rl.hasOwnProp(l, e) ? l[e] : void 0;
|
|
24403
24403
|
function zv(l, e, t) {
|
|
24404
|
-
if (
|
|
24405
|
-
return (e || JSON.parse)(l),
|
|
24404
|
+
if (rl.isString(l)) try {
|
|
24405
|
+
return (e || JSON.parse)(l), rl.trim(l);
|
|
24406
24406
|
} catch (a) {
|
|
24407
24407
|
if (a.name !== "SyntaxError") throw a;
|
|
24408
24408
|
}
|
|
@@ -24416,17 +24416,17 @@ var hZ = {
|
|
|
24416
24416
|
"fetch"
|
|
24417
24417
|
],
|
|
24418
24418
|
transformRequest: [function(e, t) {
|
|
24419
|
-
const a = t.getContentType() || "", n = a.indexOf("application/json") > -1, i =
|
|
24420
|
-
if (i &&
|
|
24421
|
-
if (
|
|
24422
|
-
if (
|
|
24423
|
-
if (
|
|
24419
|
+
const a = t.getContentType() || "", n = a.indexOf("application/json") > -1, i = rl.isObject(e);
|
|
24420
|
+
if (i && rl.isHTMLForm(e) && (e = new FormData(e)), rl.isFormData(e)) return n ? JSON.stringify(g5(e)) : e;
|
|
24421
|
+
if (rl.isArrayBuffer(e) || rl.isBuffer(e) || rl.isStream(e) || rl.isFile(e) || rl.isBlob(e) || rl.isReadableStream(e)) return e;
|
|
24422
|
+
if (rl.isArrayBufferView(e)) return e.buffer;
|
|
24423
|
+
if (rl.isURLSearchParams(e))
|
|
24424
24424
|
return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
|
|
24425
24425
|
let d;
|
|
24426
24426
|
if (i) {
|
|
24427
24427
|
const c = Dn(this, "formSerializer");
|
|
24428
24428
|
if (a.indexOf("application/x-www-form-urlencoded") > -1) return Mv(e, c).toString();
|
|
24429
|
-
if ((d =
|
|
24429
|
+
if ((d = rl.isFileList(e)) || a.indexOf("multipart/form-data") > -1) {
|
|
24430
24430
|
const s = Dn(this, "env"), o = s && s.FormData;
|
|
24431
24431
|
return qs(d ? { "files[]": e } : e, o && new o(), c);
|
|
24432
24432
|
}
|
|
@@ -24435,8 +24435,8 @@ var hZ = {
|
|
|
24435
24435
|
}],
|
|
24436
24436
|
transformResponse: [function(e) {
|
|
24437
24437
|
const t = Dn(this, "transitional") || hZ.transitional, a = t && t.forcedJSONParsing, n = Dn(this, "responseType"), i = n === "json";
|
|
24438
|
-
if (
|
|
24439
|
-
if (e &&
|
|
24438
|
+
if (rl.isResponse(e) || rl.isReadableStream(e)) return e;
|
|
24439
|
+
if (e && rl.isString(e) && (a && !n || i)) {
|
|
24440
24440
|
const d = !(t && t.silentJSONParsing) && i;
|
|
24441
24441
|
try {
|
|
24442
24442
|
return JSON.parse(e, Dn(this, "parseReviver"));
|
|
@@ -24464,14 +24464,14 @@ var hZ = {
|
|
|
24464
24464
|
"Content-Type": void 0
|
|
24465
24465
|
} }
|
|
24466
24466
|
};
|
|
24467
|
-
|
|
24467
|
+
rl.forEach(w5, (l) => {
|
|
24468
24468
|
hZ.headers[l] = {};
|
|
24469
24469
|
});
|
|
24470
24470
|
var WZ = hZ;
|
|
24471
24471
|
function jo(l, e) {
|
|
24472
24472
|
const t = this || WZ, a = e || t, n = ft.from(a.headers);
|
|
24473
24473
|
let i = a.data;
|
|
24474
|
-
return
|
|
24474
|
+
return rl.forEach(l, function(c) {
|
|
24475
24475
|
i = c.call(t, i, n.normalize(), e ? e.status : void 0);
|
|
24476
24476
|
}), n.normalize(), i;
|
|
24477
24477
|
}
|
|
@@ -24544,7 +24544,7 @@ const ss = (l, e, t = 3) => {
|
|
|
24544
24544
|
let a = 0;
|
|
24545
24545
|
const n = Sv(50, 250);
|
|
24546
24546
|
return Fv((i) => {
|
|
24547
|
-
if (!i || !
|
|
24547
|
+
if (!i || !rl.isNumber(i.loaded)) return;
|
|
24548
24548
|
const d = i.loaded, c = i.lengthComputable ? i.total : void 0, s = Math.max(0, c != null ? Math.min(d, c) : d), o = Math.max(0, s - a), m = n(o);
|
|
24549
24549
|
a = Math.max(a, s), l({
|
|
24550
24550
|
loaded: s,
|
|
@@ -24565,12 +24565,12 @@ const ss = (l, e, t = 3) => {
|
|
|
24565
24565
|
total: l,
|
|
24566
24566
|
loaded: a
|
|
24567
24567
|
}), e[1]];
|
|
24568
|
-
}, Jb = (l, e =
|
|
24568
|
+
}, Jb = (l, e = rl.asap) => (...t) => e(() => l(...t));
|
|
24569
24569
|
var fv = _e.hasStandardBrowserEnv ? /* @__PURE__ */ ((l, e) => (t) => (t = new URL(t, _e.origin), l.protocol === t.protocol && l.host === t.host && (e || l.port === t.port)))(new URL(_e.origin), _e.navigator && /(msie|trident)/i.test(_e.navigator.userAgent)) : () => !0, jv = _e.hasStandardBrowserEnv ? {
|
|
24570
24570
|
write(l, e, t, a, n, i, d) {
|
|
24571
24571
|
if (typeof document > "u") return;
|
|
24572
24572
|
const c = [`${l}=${encodeURIComponent(e)}`];
|
|
24573
|
-
|
|
24573
|
+
rl.isNumber(t) && c.push(`expires=${new Date(t).toUTCString()}`), rl.isString(a) && c.push(`path=${a}`), rl.isString(n) && c.push(`domain=${n}`), i === !0 && c.push("secure"), rl.isString(d) && c.push(`SameSite=${d}`), document.cookie = c.join("; ");
|
|
24574
24574
|
},
|
|
24575
24575
|
read(l) {
|
|
24576
24576
|
if (typeof document > "u") return null;
|
|
@@ -24637,32 +24637,32 @@ function vn(l, e) {
|
|
|
24637
24637
|
configurable: !0
|
|
24638
24638
|
});
|
|
24639
24639
|
function a(m, Z, u, b) {
|
|
24640
|
-
return
|
|
24640
|
+
return rl.isPlainObject(m) && rl.isPlainObject(Z) ? rl.merge.call({ caseless: b }, m, Z) : rl.isPlainObject(Z) ? rl.merge({}, Z) : rl.isArray(Z) ? Z.slice() : Z;
|
|
24641
24641
|
}
|
|
24642
24642
|
function n(m, Z, u, b) {
|
|
24643
|
-
if (
|
|
24644
|
-
if (!
|
|
24643
|
+
if (rl.isUndefined(Z)) {
|
|
24644
|
+
if (!rl.isUndefined(m)) return a(void 0, m, u, b);
|
|
24645
24645
|
} else return a(m, Z, u, b);
|
|
24646
24646
|
}
|
|
24647
24647
|
function i(m, Z) {
|
|
24648
|
-
if (!
|
|
24648
|
+
if (!rl.isUndefined(Z)) return a(void 0, Z);
|
|
24649
24649
|
}
|
|
24650
24650
|
function d(m, Z) {
|
|
24651
|
-
if (
|
|
24652
|
-
if (!
|
|
24651
|
+
if (rl.isUndefined(Z)) {
|
|
24652
|
+
if (!rl.isUndefined(m)) return a(void 0, m);
|
|
24653
24653
|
} else return a(void 0, Z);
|
|
24654
24654
|
}
|
|
24655
24655
|
function c(m) {
|
|
24656
|
-
const Z =
|
|
24657
|
-
if (!
|
|
24658
|
-
if (
|
|
24656
|
+
const Z = rl.hasOwnProp(e, "transitional") ? e.transitional : void 0;
|
|
24657
|
+
if (!rl.isUndefined(Z)) if (rl.isPlainObject(Z)) {
|
|
24658
|
+
if (rl.hasOwnProp(Z, m)) return Z[m];
|
|
24659
24659
|
} else return;
|
|
24660
|
-
const u =
|
|
24661
|
-
if (
|
|
24660
|
+
const u = rl.hasOwnProp(l, "transitional") ? l.transitional : void 0;
|
|
24661
|
+
if (rl.isPlainObject(u) && rl.hasOwnProp(u, m)) return u[m];
|
|
24662
24662
|
}
|
|
24663
24663
|
function s(m, Z, u) {
|
|
24664
|
-
if (
|
|
24665
|
-
if (
|
|
24664
|
+
if (rl.hasOwnProp(e, u)) return a(m, Z);
|
|
24665
|
+
if (rl.hasOwnProp(l, u)) return a(void 0, m);
|
|
24666
24666
|
}
|
|
24667
24667
|
const o = {
|
|
24668
24668
|
url: i,
|
|
@@ -24696,14 +24696,14 @@ function vn(l, e) {
|
|
|
24696
24696
|
validateStatus: s,
|
|
24697
24697
|
headers: (m, Z, u) => n(Cb(m), Cb(Z), u, !0)
|
|
24698
24698
|
};
|
|
24699
|
-
return
|
|
24699
|
+
return rl.forEach(Ov({
|
|
24700
24700
|
...l,
|
|
24701
24701
|
...e
|
|
24702
24702
|
}), function(Z) {
|
|
24703
24703
|
if (Z === "__proto__" || Z === "constructor" || Z === "prototype") return;
|
|
24704
|
-
const u =
|
|
24705
|
-
|
|
24706
|
-
}),
|
|
24704
|
+
const u = rl.hasOwnProp(o, Z) ? o[Z] : n, b = u(rl.hasOwnProp(l, Z) ? l[Z] : void 0, rl.hasOwnProp(e, Z) ? e[Z] : void 0, Z);
|
|
24705
|
+
rl.isUndefined(b) && u !== s || (t[Z] = b);
|
|
24706
|
+
}), rl.hasOwnProp(e, "validateStatus") && rl.isUndefined(e.validateStatus) && c("validateStatusUndefinedResolves") === !1 && (rl.hasOwnProp(l, "validateStatus") ? t.validateStatus = a(void 0, l.validateStatus) : delete t.validateStatus), t;
|
|
24707
24707
|
}
|
|
24708
24708
|
var Ev = ["content-type", "content-length"];
|
|
24709
24709
|
function Kv(l, e, t) {
|
|
@@ -24717,24 +24717,24 @@ function Kv(l, e, t) {
|
|
|
24717
24717
|
}
|
|
24718
24718
|
var Hv = (l) => encodeURIComponent(l).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
|
|
24719
24719
|
function Pv(l) {
|
|
24720
|
-
const e = vn({}, l), t = (u) =>
|
|
24720
|
+
const e = vn({}, l), t = (u) => rl.hasOwnProp(e, u) ? e[u] : void 0, a = t("data");
|
|
24721
24721
|
let n = t("withXSRFToken");
|
|
24722
24722
|
const i = t("xsrfHeaderName"), d = t("xsrfCookieName");
|
|
24723
24723
|
let c = t("headers");
|
|
24724
24724
|
const s = t("auth"), o = t("baseURL"), m = t("allowAbsoluteUrls"), Z = t("url");
|
|
24725
24725
|
if (e.headers = c = ft.from(c), e.url = I5(F5(o, Z, m, e), t("params"), t("paramsSerializer")), s) {
|
|
24726
|
-
const u =
|
|
24726
|
+
const u = rl.getSafeProp(s, "username") || "", b = rl.getSafeProp(s, "password") || "";
|
|
24727
24727
|
try {
|
|
24728
24728
|
c.set("Authorization", "Basic " + btoa(u + ":" + (b ? Hv(b) : "")));
|
|
24729
24729
|
} catch (r) {
|
|
24730
24730
|
throw El.from(r, El.ERR_BAD_OPTION_VALUE, l);
|
|
24731
24731
|
}
|
|
24732
24732
|
}
|
|
24733
|
-
if (
|
|
24734
|
-
const u =
|
|
24735
|
-
_e.hasStandardBrowserEnv || _e.hasStandardBrowserWebWorkerEnv ||
|
|
24733
|
+
if (rl.isFormData(a)) {
|
|
24734
|
+
const u = rl.getSafeProp(a, "getHeaders");
|
|
24735
|
+
_e.hasStandardBrowserEnv || _e.hasStandardBrowserWebWorkerEnv || rl.isReactNative(a) ? c.setContentType(void 0) : rl.isFunction(u) && Kv(c, u.call(a), t("formDataHeaderPolicy"));
|
|
24736
24736
|
}
|
|
24737
|
-
if (_e.hasStandardBrowserEnv && (
|
|
24737
|
+
if (_e.hasStandardBrowserEnv && (rl.isFunction(n) && (n = n(e)), n === !0 || n == null && fv(e.url))) {
|
|
24738
24738
|
const u = i && d && jv.read(d);
|
|
24739
24739
|
u && c.set(i, u);
|
|
24740
24740
|
}
|
|
@@ -24790,9 +24790,9 @@ var f5 = Pv, Bv = typeof XMLHttpRequest < "u", Qv = Bv && function(l) {
|
|
|
24790
24790
|
let M = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
|
|
24791
24791
|
const V = n.transitional || bZ;
|
|
24792
24792
|
n.timeoutErrorMessage && (M = n.timeoutErrorMessage), a(new El(M, V.clarifyTimeoutError ? El.ETIMEDOUT : El.ECONNABORTED, l, h)), G(), h = null;
|
|
24793
|
-
}, i === void 0 && d.setContentType(null), "setRequestHeader" in h &&
|
|
24793
|
+
}, i === void 0 && d.setContentType(null), "setRequestHeader" in h && rl.forEach(L5(d), function(M, V) {
|
|
24794
24794
|
h.setRequestHeader(V, M);
|
|
24795
|
-
}),
|
|
24795
|
+
}), rl.isUndefined(n.withCredentials) || (h.withCredentials = !!n.withCredentials), c && c !== "json" && (h.responseType = n.responseType), o && ([u, r, p] = ss(o, !0), h.addEventListener("progress", u)), s && h.upload && ([Z, b] = ss(s), h.upload.addEventListener("progress", Z), h.upload.addEventListener("loadend", b)), (n.cancelToken || n.signal) && (m = (X) => {
|
|
24796
24796
|
h && (a(!X || X.type ? new Kd(null, l, h) : X), h.abort(), G(), h = null);
|
|
24797
24797
|
}, n.cancelToken && n.cancelToken.subscribe(m), n.signal && (n.signal.aborted ? m() : n.signal.addEventListener("abort", m)));
|
|
24798
24798
|
const Y = Jo(n.url);
|
|
@@ -24831,7 +24831,7 @@ var f5 = Pv, Bv = typeof XMLHttpRequest < "u", Qv = Bv && function(l) {
|
|
|
24831
24831
|
}
|
|
24832
24832
|
});
|
|
24833
24833
|
const { signal: c } = t;
|
|
24834
|
-
return c.unsubscribe = () =>
|
|
24834
|
+
return c.unsubscribe = () => rl.asap(d), c;
|
|
24835
24835
|
}, _v = Av;
|
|
24836
24836
|
const $v = function* (l, e) {
|
|
24837
24837
|
let t = l.byteLength;
|
|
@@ -24945,8 +24945,8 @@ var Eb = 64 * 1024, sF = {
|
|
|
24945
24945
|
keepalive: !1,
|
|
24946
24946
|
priority: "auto",
|
|
24947
24947
|
window: null
|
|
24948
|
-
}, { isFunction: mc } =
|
|
24949
|
-
if (!
|
|
24948
|
+
}, { isFunction: mc } = rl, oF = (l) => encodeURIComponent(l).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), Kb = (l) => {
|
|
24949
|
+
if (!rl.isString(l)) return l;
|
|
24950
24950
|
try {
|
|
24951
24951
|
return decodeURIComponent(l);
|
|
24952
24952
|
} catch {
|
|
@@ -24963,8 +24963,8 @@ var Eb = 64 * 1024, sF = {
|
|
|
24963
24963
|
let t = l;
|
|
24964
24964
|
return e !== -1 && (t = t.slice(e + 3)), t.includes("@") || t.includes(":");
|
|
24965
24965
|
}, ZF = (l) => {
|
|
24966
|
-
const e =
|
|
24967
|
-
l =
|
|
24966
|
+
const e = rl.global !== void 0 && rl.global !== null ? rl.global : globalThis, { ReadableStream: t, TextEncoder: a } = e;
|
|
24967
|
+
l = rl.merge.call({ skipUndefined: !0 }, {
|
|
24968
24968
|
Request: e.Request,
|
|
24969
24969
|
Response: e.Response
|
|
24970
24970
|
}, l);
|
|
@@ -24980,7 +24980,7 @@ var Eb = 64 * 1024, sF = {
|
|
|
24980
24980
|
}
|
|
24981
24981
|
}), Y = W.headers.has("Content-Type");
|
|
24982
24982
|
return W.body != null && W.body.cancel(), h && !Y;
|
|
24983
|
-
}), b = o && m && Hb(() =>
|
|
24983
|
+
}), b = o && m && Hb(() => rl.isReadableStream(new d("").body)), r = { stream: b && ((h) => h.body) };
|
|
24984
24984
|
c && [
|
|
24985
24985
|
"text",
|
|
24986
24986
|
"arrayBuffer",
|
|
@@ -24996,20 +24996,20 @@ var Eb = 64 * 1024, sF = {
|
|
|
24996
24996
|
});
|
|
24997
24997
|
const p = async (h) => {
|
|
24998
24998
|
if (h == null) return 0;
|
|
24999
|
-
if (
|
|
25000
|
-
if (
|
|
24999
|
+
if (rl.isBlob(h)) return h.size;
|
|
25000
|
+
if (rl.isSpecCompliantForm(h)) return (await new i(_e.origin, {
|
|
25001
25001
|
method: "POST",
|
|
25002
25002
|
body: h
|
|
25003
25003
|
}).arrayBuffer()).byteLength;
|
|
25004
|
-
if (
|
|
25005
|
-
if (
|
|
25004
|
+
if (rl.isArrayBufferView(h) || rl.isArrayBuffer(h)) return h.byteLength;
|
|
25005
|
+
if (rl.isURLSearchParams(h) && (h = h + ""), rl.isString(h)) return (await Z(h)).byteLength;
|
|
25006
25006
|
}, G = async (h, W) => {
|
|
25007
|
-
const Y =
|
|
25007
|
+
const Y = rl.toFiniteNumber(h.getContentLength());
|
|
25008
25008
|
return Y ?? p(W);
|
|
25009
25009
|
};
|
|
25010
25010
|
return async (h) => {
|
|
25011
25011
|
let { url: W, method: Y, data: X, signal: M, cancelToken: V, timeout: x, onDownloadProgress: g, onUploadProgress: f, responseType: z, headers: O, withCredentials: U = "same-origin", fetchOptions: K, maxContentLength: Q, maxBodyLength: q, maxRedirects: _ } = f5(h);
|
|
25012
|
-
const B =
|
|
25012
|
+
const B = rl.isNumber(Q) && Q > -1, Zl = rl.isNumber(q) && q > -1, Nl = (tl) => rl.hasOwnProp(h, tl) ? h[tl] : void 0;
|
|
25013
25013
|
let E = n || fetch;
|
|
25014
25014
|
z = z ? (z + "").toLowerCase() : "text";
|
|
25015
25015
|
let A = _v([M, V && V.toAbortSignal()], x), k = null;
|
|
@@ -25022,8 +25022,8 @@ var Eb = 64 * 1024, sF = {
|
|
|
25022
25022
|
let tl;
|
|
25023
25023
|
const ll = Nl("auth");
|
|
25024
25024
|
if (ll && (tl = {
|
|
25025
|
-
username:
|
|
25026
|
-
password:
|
|
25025
|
+
username: rl.getSafeProp(ll, "username") || "",
|
|
25026
|
+
password: rl.getSafeProp(ll, "password") || ""
|
|
25027
25027
|
}), mF(W)) {
|
|
25028
25028
|
const J = new URL(W, _e.origin);
|
|
25029
25029
|
!tl && (J.username || J.password) && (tl = {
|
|
@@ -25038,7 +25038,7 @@ var Eb = 64 * 1024, sF = {
|
|
|
25038
25038
|
if (typeof J == "number" && isFinite(J) && (I = J, J > q))
|
|
25039
25039
|
throw S();
|
|
25040
25040
|
}
|
|
25041
|
-
const Ll = Zl && (
|
|
25041
|
+
const Ll = Zl && (rl.isReadableStream(X) || rl.isStream(X)), Rl = (J, H, Wl) => Db(J, Eb, (Il) => {
|
|
25042
25042
|
if (Zl && Il > q) throw v = S();
|
|
25043
25043
|
H && H(Il);
|
|
25044
25044
|
}, Wl);
|
|
@@ -25049,16 +25049,16 @@ var Eb = 64 * 1024, sF = {
|
|
|
25049
25049
|
body: X,
|
|
25050
25050
|
duplex: "half"
|
|
25051
25051
|
}), H;
|
|
25052
|
-
if (
|
|
25052
|
+
if (rl.isFormData(X) && (H = J.headers.get("content-type")) && O.setContentType(H), J.body) {
|
|
25053
25053
|
const [Wl, Il] = f && jb(I, ss(Jb(f))) || [];
|
|
25054
25054
|
X = Rl(J.body, Wl, Il);
|
|
25055
25055
|
}
|
|
25056
25056
|
}
|
|
25057
25057
|
} else if (Ll && !s && m && Y !== "get" && Y !== "head") X = Rl(X);
|
|
25058
25058
|
else if (Ll && s && !u && Y !== "get" && Y !== "head") throw new El("Stream request bodies are not supported by the current fetch implementation", El.ERR_NOT_SUPPORT, h, k);
|
|
25059
|
-
|
|
25059
|
+
rl.isString(U) || (U = U ? "include" : "omit");
|
|
25060
25060
|
const ml = s && "credentials" in i.prototype;
|
|
25061
|
-
if (
|
|
25061
|
+
if (rl.isFormData(X)) {
|
|
25062
25062
|
const J = O.getContentType();
|
|
25063
25063
|
J && /^multipart\/form-data/i.test(J) && !/boundary=/i.test(J) && O.delete("content-type");
|
|
25064
25064
|
}
|
|
@@ -25073,13 +25073,13 @@ var Eb = 64 * 1024, sF = {
|
|
|
25073
25073
|
duplex: "half",
|
|
25074
25074
|
credentials: ml ? U : void 0
|
|
25075
25075
|
});
|
|
25076
|
-
s && (
|
|
25076
|
+
s && (rl.forEach(sF, (J, H) => {
|
|
25077
25077
|
Sl[H] === void 0 && (Sl[H] = J);
|
|
25078
25078
|
}), Sl.signal === void 0 && (Sl.signal = null), Sl.body === void 0 && (Sl.body = null)), _ === 0 && (Sl.redirect = "manual", wl && (wl.redirect = "manual")), k = s && new i(W, Sl);
|
|
25079
25079
|
let dl = await (s ? E(k, wl) : E(W, Sl));
|
|
25080
25080
|
const el = ft.from(dl.headers);
|
|
25081
25081
|
if (B) {
|
|
25082
|
-
const J =
|
|
25082
|
+
const J = rl.toFiniteNumber(el.getContentLength());
|
|
25083
25083
|
if (J != null && J > Q) throw new El("maxContentLength size of " + Q + " exceeded", El.ERR_BAD_RESPONSE, h, k);
|
|
25084
25084
|
}
|
|
25085
25085
|
const al = b && (z === "stream" || z === "response");
|
|
@@ -25092,7 +25092,7 @@ var Eb = 64 * 1024, sF = {
|
|
|
25092
25092
|
].forEach((xe) => {
|
|
25093
25093
|
J[xe] = dl[xe];
|
|
25094
25094
|
});
|
|
25095
|
-
const H =
|
|
25095
|
+
const H = rl.toFiniteNumber(el.getContentLength()), [Wl, Il] = g && jb(H, ss(Jb(g), !0)) || [];
|
|
25096
25096
|
let Bl = 0;
|
|
25097
25097
|
const ie = (xe) => {
|
|
25098
25098
|
if (B && (Bl = xe, Bl > Q))
|
|
@@ -25104,7 +25104,7 @@ var Eb = 64 * 1024, sF = {
|
|
|
25104
25104
|
}), J);
|
|
25105
25105
|
}
|
|
25106
25106
|
z = z || "text";
|
|
25107
|
-
let sl = await r[
|
|
25107
|
+
let sl = await r[rl.findKey(r, z) || "text"](dl, h);
|
|
25108
25108
|
if (B && !b && !al) {
|
|
25109
25109
|
let J;
|
|
25110
25110
|
if (sl != null && (typeof sl.byteLength == "number" ? J = sl.byteLength : typeof sl.size == "number" ? J = sl.size : typeof sl == "string" && (J = typeof a == "function" ? new a().encode(sl).byteLength : sl.length)), typeof J == "number" && J > Q) throw new El("maxContentLength size of " + Q + " exceeded", El.ERR_BAD_RESPONSE, h, k);
|
|
@@ -25165,7 +25165,7 @@ var OQ = J5(), GZ = {
|
|
|
25165
25165
|
xhr: Qv,
|
|
25166
25166
|
fetch: { get: J5 }
|
|
25167
25167
|
};
|
|
25168
|
-
|
|
25168
|
+
rl.forEach(GZ, (l, e) => {
|
|
25169
25169
|
if (l) {
|
|
25170
25170
|
try {
|
|
25171
25171
|
Object.defineProperty(l, "name", {
|
|
@@ -25180,9 +25180,9 @@ bl.forEach(GZ, (l, e) => {
|
|
|
25180
25180
|
});
|
|
25181
25181
|
}
|
|
25182
25182
|
});
|
|
25183
|
-
var Pb = (l) => `- ${l}`, bF = (l) =>
|
|
25183
|
+
var Pb = (l) => `- ${l}`, bF = (l) => rl.isFunction(l) || l === null || l === !1;
|
|
25184
25184
|
function rF(l, e) {
|
|
25185
|
-
l =
|
|
25185
|
+
l = rl.isArray(l) ? l : [l];
|
|
25186
25186
|
const { length: t } = l;
|
|
25187
25187
|
let a, n;
|
|
25188
25188
|
const i = {};
|
|
@@ -25191,7 +25191,7 @@ function rF(l, e) {
|
|
|
25191
25191
|
let c;
|
|
25192
25192
|
if (n = a, !bF(a) && (n = GZ[(c = String(a)).toLowerCase()], n === void 0))
|
|
25193
25193
|
throw new El(`Unknown adapter '${c}'`);
|
|
25194
|
-
if (n && (
|
|
25194
|
+
if (n && (rl.isFunction(n) || (n = n.get(e)))) break;
|
|
25195
25195
|
i[c || "#" + d] = n;
|
|
25196
25196
|
}
|
|
25197
25197
|
if (!n) {
|
|
@@ -25210,8 +25210,8 @@ function ko(l) {
|
|
|
25210
25210
|
if (l.cancelToken && l.cancelToken.throwIfRequested(), l.signal && l.signal.aborted) throw new Kd(null, l);
|
|
25211
25211
|
}
|
|
25212
25212
|
function Co(l) {
|
|
25213
|
-
const e =
|
|
25214
|
-
return ko(e), e.headers = ft.from(
|
|
25213
|
+
const e = rl.toSafeFlatObject(l);
|
|
25214
|
+
return ko(e), e.headers = ft.from(rl.getSafeProp(e, "headers")), e.data = jo.call(e, e.transformRequest), [
|
|
25215
25215
|
"post",
|
|
25216
25216
|
"put",
|
|
25217
25217
|
"patch"
|
|
@@ -25331,15 +25331,15 @@ var Sc = {
|
|
|
25331
25331
|
legacyInterceptorReqResOrdering: it.transitional(it.boolean),
|
|
25332
25332
|
advertiseZstdAcceptEncoding: it.transitional(it.boolean),
|
|
25333
25333
|
validateStatusUndefinedResolves: it.transitional(it.boolean)
|
|
25334
|
-
}, !1), a != null && (
|
|
25334
|
+
}, !1), a != null && (rl.isFunction(a) ? e.paramsSerializer = { serialize: a } : Sc.assertOptions(a, {
|
|
25335
25335
|
encode: it.function,
|
|
25336
25336
|
serialize: it.function
|
|
25337
25337
|
}, !0)), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), Sc.assertOptions(e, {
|
|
25338
25338
|
baseUrl: it.spelling("baseURL"),
|
|
25339
25339
|
withXsrfToken: it.spelling("withXSRFToken")
|
|
25340
|
-
}, !0), e.method = (
|
|
25341
|
-
let i = n &&
|
|
25342
|
-
n &&
|
|
25340
|
+
}, !0), e.method = (rl.getSafeProp(e, "method") || rl.getSafeProp(this.defaults, "method") || "get").toLowerCase();
|
|
25341
|
+
let i = n && rl.merge(n.common, n[e.method]);
|
|
25342
|
+
n && rl.forEach(w5.concat("common"), (b) => {
|
|
25343
25343
|
delete n[b];
|
|
25344
25344
|
}), e.headers = ft.concat(i, n);
|
|
25345
25345
|
const d = [];
|
|
@@ -25373,7 +25373,7 @@ var Sc = {
|
|
|
25373
25373
|
}
|
|
25374
25374
|
try {
|
|
25375
25375
|
const G = r.call(this, p);
|
|
25376
|
-
|
|
25376
|
+
rl.isThenable(G) && (o = Promise.resolve(G).then(() => Co.call(this, u)));
|
|
25377
25377
|
} catch (G) {
|
|
25378
25378
|
o = Promise.reject(G);
|
|
25379
25379
|
}
|
|
@@ -25392,7 +25392,7 @@ var Sc = {
|
|
|
25392
25392
|
return l = vn(this.defaults, l), I5(F5(l.baseURL, l.url, l.allowAbsoluteUrls, l), l.params, l.paramsSerializer);
|
|
25393
25393
|
}
|
|
25394
25394
|
};
|
|
25395
|
-
|
|
25395
|
+
rl.forEach([
|
|
25396
25396
|
"delete",
|
|
25397
25397
|
"get",
|
|
25398
25398
|
"head",
|
|
@@ -25402,11 +25402,11 @@ bl.forEach([
|
|
|
25402
25402
|
return this.request(vn(a || {}, {
|
|
25403
25403
|
method: e,
|
|
25404
25404
|
url: t,
|
|
25405
|
-
data: a &&
|
|
25405
|
+
data: a && rl.hasOwnProp(a, "data") ? a.data : void 0
|
|
25406
25406
|
}));
|
|
25407
25407
|
};
|
|
25408
25408
|
});
|
|
25409
|
-
|
|
25409
|
+
rl.forEach([
|
|
25410
25410
|
"post",
|
|
25411
25411
|
"put",
|
|
25412
25412
|
"patch",
|
|
@@ -25499,7 +25499,7 @@ function GF(l) {
|
|
|
25499
25499
|
};
|
|
25500
25500
|
}
|
|
25501
25501
|
function NF(l) {
|
|
25502
|
-
return
|
|
25502
|
+
return rl.isObject(l) && l.isAxiosError === !0;
|
|
25503
25503
|
}
|
|
25504
25504
|
var Fc = {
|
|
25505
25505
|
Continue: 100,
|
|
@@ -25581,7 +25581,7 @@ Object.entries(Fc).forEach(([l, e]) => {
|
|
|
25581
25581
|
var YF = Fc;
|
|
25582
25582
|
function D5(l) {
|
|
25583
25583
|
const e = new vc(l), t = m5(vc.prototype.request, e);
|
|
25584
|
-
return
|
|
25584
|
+
return rl.extend(t, vc.prototype, e, { allOwnKeys: !0 }), rl.extend(t, e, null, { allOwnKeys: !0 }), t.create = function(n) {
|
|
25585
25585
|
return D5(vn(l, n));
|
|
25586
25586
|
}, t;
|
|
25587
25587
|
}
|
|
@@ -25601,7 +25601,7 @@ Ue.spread = GF;
|
|
|
25601
25601
|
Ue.isAxiosError = NF;
|
|
25602
25602
|
Ue.mergeConfig = vn;
|
|
25603
25603
|
Ue.AxiosHeaders = ft;
|
|
25604
|
-
Ue.formToJSON = (l) => g5(
|
|
25604
|
+
Ue.formToJSON = (l) => g5(rl.isHTMLForm(l) ? new FormData(l) : l);
|
|
25605
25605
|
Ue.getAdapter = k5.getAdapter;
|
|
25606
25606
|
Ue.HttpStatusCode = YF;
|
|
25607
25607
|
Ue.default = Ue;
|
|
@@ -25874,7 +25874,7 @@ var XF = ["data-field"], yF = { key: 0 }, MF = { key: 0 }, VF = ["name"], TF = {
|
|
|
25874
25874
|
return (U, K) => {
|
|
25875
25875
|
const Q = $e("tooltip"), q = $e("lightbox");
|
|
25876
25876
|
return L(), y("div", {
|
|
25877
|
-
class:
|
|
25877
|
+
class: ul(["bagel-input", [N(r), {
|
|
25878
25878
|
"has-error": !!l.error,
|
|
25879
25879
|
"has-value": G.value
|
|
25880
25880
|
}]]),
|
|
@@ -25960,7 +25960,7 @@ var XF = ["data-field"], yF = { key: 0 }, MF = { key: 0 }, VF = ["name"], TF = {
|
|
|
25960
25960
|
fileQueue: N(d)
|
|
25961
25961
|
}, () => [l.multiple ? (L(), y("div", RF, [(L(!0), y(yl, null, vl(N(c), (_) => Pl((L(), y("div", {
|
|
25962
25962
|
key: _,
|
|
25963
|
-
class:
|
|
25963
|
+
class: ul(["multi-image-item-preview", { "bgl_fill-image": l.fill }])
|
|
25964
25964
|
}, [
|
|
25965
25965
|
V(_) ? (L(), ol(N(ls), {
|
|
25966
25966
|
key: 0,
|
|
@@ -25984,7 +25984,7 @@ var XF = ["data-field"], yF = { key: 0 }, MF = { key: 0 }, VF = ["name"], TF = {
|
|
|
25984
25984
|
download: !0
|
|
25985
25985
|
}]])), 128)), (L(!0), y(yl, null, vl(N(d), (_) => (L(), y("div", {
|
|
25986
25986
|
key: _.name,
|
|
25987
|
-
class:
|
|
25987
|
+
class: ul(["multi-image-item-preview", { "bgl_fill-image": l.fill }])
|
|
25988
25988
|
}, [
|
|
25989
25989
|
V(_.file.type) ? (L(), y("img", {
|
|
25990
25990
|
key: 0,
|
|
@@ -25998,7 +25998,7 @@ var XF = ["data-field"], yF = { key: 0 }, MF = { key: 0 }, VF = ["name"], TF = {
|
|
|
25998
25998
|
})),
|
|
25999
25999
|
R("p", FF, il(_.name), 1),
|
|
26000
26000
|
R("div", {
|
|
26001
|
-
class:
|
|
26001
|
+
class: ul(["pie", { complete: _.progress === 100 }]),
|
|
26002
26002
|
style: Vl([{ "--p": _.progress }, { "--b": "2px" }])
|
|
26003
26003
|
}, [_.progress < 100 ? (L(), y("span", fF, il(_.progress.toFixed(0)), 1)) : D("", !0), nl(N(fl), {
|
|
26004
26004
|
class: "success",
|
|
@@ -26006,8 +26006,8 @@ var XF = ["data-field"], yF = { key: 0 }, MF = { key: 0 }, VF = ["name"], TF = {
|
|
|
26006
26006
|
})], 6)
|
|
26007
26007
|
], 2))), 128))])) : N(c).length > 0 || N(d).length > 0 ? (L(), y("div", jF, [(L(!0), y(yl, null, vl(N(c), (_) => (L(), y("div", {
|
|
26008
26008
|
key: _,
|
|
26009
|
-
class:
|
|
26010
|
-
}, [R("div", { class:
|
|
26009
|
+
class: ul(["single-image-item-preview", { "bgl_fill-image": l.fill }])
|
|
26010
|
+
}, [R("div", { class: ul(["flex opacity-8 z-90 gap-025 absolute top-0 start-0", {
|
|
26011
26011
|
"mx-auto end-0 mt-1 justify-content-center": l.oval,
|
|
26012
26012
|
"m-05": !l.oval
|
|
26013
26013
|
}]) }, [
|
|
@@ -26052,7 +26052,7 @@ var XF = ["data-field"], yF = { key: 0 }, MF = { key: 0 }, VF = ["name"], TF = {
|
|
|
26052
26052
|
download: !0
|
|
26053
26053
|
}]])], 2))), 128)), (L(!0), y(yl, null, vl(N(d), (_) => (L(), y("div", {
|
|
26054
26054
|
key: _.name,
|
|
26055
|
-
class:
|
|
26055
|
+
class: ul(["single-image-item-preview", { "bgl_fill-image": l.fill }])
|
|
26056
26056
|
}, [nl(N(wn), {
|
|
26057
26057
|
type: "bar",
|
|
26058
26058
|
progress: _.progress,
|
|
@@ -26644,7 +26644,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26644
26644
|
thin: "",
|
|
26645
26645
|
flat: "",
|
|
26646
26646
|
"aria-label": r.name,
|
|
26647
|
-
class:
|
|
26647
|
+
class: ul([[r.class, { active: l.selectedStyles.has(r.name) }], ""]),
|
|
26648
26648
|
tabindex: "-1",
|
|
26649
26649
|
onClick: (G) => s(r.name)
|
|
26650
26650
|
}, null, 8, [
|
|
@@ -26658,7 +26658,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26658
26658
|
thin: "",
|
|
26659
26659
|
flat: "",
|
|
26660
26660
|
"aria-label": r.name,
|
|
26661
|
-
class:
|
|
26661
|
+
class: ul([[r.class, { active: l.selectedStyles.has(r.name) }], ""]),
|
|
26662
26662
|
tabindex: "-1",
|
|
26663
26663
|
onClick: (G) => s(r.name)
|
|
26664
26664
|
}, null, 8, [
|
|
@@ -26672,7 +26672,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26672
26672
|
thin: "",
|
|
26673
26673
|
flat: "",
|
|
26674
26674
|
"aria-label": r.name,
|
|
26675
|
-
class:
|
|
26675
|
+
class: ul([[r.class, { active: l.selectedStyles.has(r.name) }], ""]),
|
|
26676
26676
|
tabindex: "-1",
|
|
26677
26677
|
onClick: (G) => s(r.name)
|
|
26678
26678
|
}, null, 8, [
|
|
@@ -26686,14 +26686,14 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26686
26686
|
thin: "",
|
|
26687
26687
|
flat: "",
|
|
26688
26688
|
icon: a(),
|
|
26689
|
-
class:
|
|
26689
|
+
class: ul({ "alignment-active": n() })
|
|
26690
26690
|
}, {
|
|
26691
26691
|
default: zl(({ hide: G }) => [R("div", af, [
|
|
26692
26692
|
nl(N(Yl), {
|
|
26693
26693
|
thin: "",
|
|
26694
26694
|
flat: "",
|
|
26695
26695
|
icon: "format_align_left",
|
|
26696
|
-
class:
|
|
26696
|
+
class: ul({ active: l.selectedStyles.has("alignLeft") }),
|
|
26697
26697
|
onClick: (h) => {
|
|
26698
26698
|
s("alignLeft"), G();
|
|
26699
26699
|
}
|
|
@@ -26702,7 +26702,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26702
26702
|
thin: "",
|
|
26703
26703
|
flat: "",
|
|
26704
26704
|
icon: "format_align_center",
|
|
26705
|
-
class:
|
|
26705
|
+
class: ul({ active: l.selectedStyles.has("alignCenter") }),
|
|
26706
26706
|
onClick: (h) => {
|
|
26707
26707
|
s("alignCenter"), G();
|
|
26708
26708
|
}
|
|
@@ -26711,7 +26711,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26711
26711
|
thin: "",
|
|
26712
26712
|
flat: "",
|
|
26713
26713
|
icon: "format_align_right",
|
|
26714
|
-
class:
|
|
26714
|
+
class: ul({ active: l.selectedStyles.has("alignRight") }),
|
|
26715
26715
|
onClick: (h) => {
|
|
26716
26716
|
s("alignRight"), G();
|
|
26717
26717
|
}
|
|
@@ -26720,7 +26720,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26720
26720
|
thin: "",
|
|
26721
26721
|
flat: "",
|
|
26722
26722
|
icon: "format_align_justify",
|
|
26723
|
-
class:
|
|
26723
|
+
class: ul({ active: l.selectedStyles.has("alignJustify") }),
|
|
26724
26724
|
onClick: (h) => {
|
|
26725
26725
|
s("alignJustify"), G();
|
|
26726
26726
|
}
|
|
@@ -26733,7 +26733,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26733
26733
|
thin: "",
|
|
26734
26734
|
flat: "",
|
|
26735
26735
|
"aria-label": r.name,
|
|
26736
|
-
class:
|
|
26736
|
+
class: ul([[r.class, { active: l.selectedStyles.has("textDirection") }], ""]),
|
|
26737
26737
|
tabindex: "-1",
|
|
26738
26738
|
onClick: (G) => s(r.name)
|
|
26739
26739
|
}, null, 8, [
|
|
@@ -26747,7 +26747,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26747
26747
|
thin: "",
|
|
26748
26748
|
flat: "",
|
|
26749
26749
|
"aria-label": r.name,
|
|
26750
|
-
class:
|
|
26750
|
+
class: ul([[r.class, { active: l.selectedStyles.has(r.name) }], ""]),
|
|
26751
26751
|
tabindex: "-1",
|
|
26752
26752
|
onClick: (G) => s(r.name)
|
|
26753
26753
|
}, null, 8, [
|
|
@@ -26761,7 +26761,7 @@ var PF = { class: "table-grid-selector p-075" }, BF = { class: "txt-center mb-07
|
|
|
26761
26761
|
thin: "",
|
|
26762
26762
|
flat: "",
|
|
26763
26763
|
"aria-label": r.name,
|
|
26764
|
-
class:
|
|
26764
|
+
class: ul([[r.class, { active: l.selectedStyles.has(r.name) }], ""]),
|
|
26765
26765
|
tabindex: "-1",
|
|
26766
26766
|
onClick: (G) => s(r.name)
|
|
26767
26767
|
}, null, 8, [
|
|
@@ -28224,19 +28224,19 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28224
28224
|
function b() {
|
|
28225
28225
|
const { doc: j } = G.state;
|
|
28226
28226
|
if (!j) return;
|
|
28227
|
-
const w = j.getSelection(), P = w?.rangeCount ? w.getRangeAt(0).commonAncestorContainer : G.state.range?.commonAncestorContainer, $ = P?.nodeType === Node.ELEMENT_NODE ? P : P?.parentElement,
|
|
28227
|
+
const w = j.getSelection(), P = w?.rangeCount ? w.getRangeAt(0).commonAncestorContainer : G.state.range?.commonAncestorContainer, $ = P?.nodeType === Node.ELEMENT_NODE ? P : P?.parentElement, bl = new Set(G.state.selectedStyles);
|
|
28228
28228
|
Z.value.forEach((hl) => {
|
|
28229
28229
|
const { activeWhen: pl } = hl;
|
|
28230
28230
|
if (!pl || !$) return;
|
|
28231
28231
|
const Gl = [pl.tagName, pl.className ? `.${CSS.escape(pl.className)}` : ""].join("") || "*";
|
|
28232
|
-
$.closest(Gl) ? (
|
|
28233
|
-
}), G.state.selectedStyles =
|
|
28232
|
+
$.closest(Gl) ? (bl.add(hl.name), hl.suppressesStyles?.forEach((Fl) => bl.delete(Fl))) : bl.delete(hl.name);
|
|
28233
|
+
}), G.state.selectedStyles = bl;
|
|
28234
28234
|
}
|
|
28235
28235
|
const r = C2(), p = C(), G = Yf(), h = C(!1), W = C(!1), Y = Gf(G.state, G.state.debug);
|
|
28236
28236
|
function X(j, w, P = []) {
|
|
28237
28237
|
const { doc: $ } = G.state;
|
|
28238
28238
|
if (!$) return;
|
|
28239
|
-
const
|
|
28239
|
+
const bl = $.getSelection(), hl = bl?.rangeCount ? bl.getRangeAt(0).cloneRange() : G.state.range?.cloneRange();
|
|
28240
28240
|
if (!hl) return;
|
|
28241
28241
|
const pl = hl.commonAncestorContainer, Gl = (pl.nodeType === Node.ELEMENT_NODE ? pl : pl.parentElement)?.closest("p,h1,h2,h3,h4,h5,h6,blockquote,li,div");
|
|
28242
28242
|
if (!Gl || Gl === $.body) return;
|
|
@@ -28248,7 +28248,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28248
28248
|
}
|
|
28249
28249
|
P.forEach((ee) => Fl.classList.remove(ee)), w && Fl.classList.add(w), Fl.classList.length || Fl.removeAttribute("class");
|
|
28250
28250
|
const Dl = $.createRange();
|
|
28251
|
-
Dl.selectNodeContents(Fl), Dl.collapse(!1),
|
|
28251
|
+
Dl.selectNodeContents(Fl), Dl.collapse(!1), bl?.removeAllRanges(), bl?.addRange(Dl), G.state.range = Dl.cloneRange(), kl($, !0), G.updateState.styles(), b();
|
|
28252
28252
|
}
|
|
28253
28253
|
const M = {
|
|
28254
28254
|
execute: Y.execute,
|
|
@@ -28418,14 +28418,14 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28418
28418
|
for (let P = 0; P < j.rows; P++) {
|
|
28419
28419
|
w += "<tr>";
|
|
28420
28420
|
for (let $ = 0; $ < j.cols; $++) {
|
|
28421
|
-
const
|
|
28421
|
+
const bl = `
|
|
28422
28422
|
padding: ${j.cellPadding}px;
|
|
28423
28423
|
border: ${j.borderWidth}px solid ${j.borderColor};
|
|
28424
28424
|
text-align: ${j.alignment};
|
|
28425
28425
|
${j.fixedLayout ? `width: ${j.columnWidths[$] ?? 100 / j.cols}%;` : ""}
|
|
28426
28426
|
${j.alternateRows && P % 2 === 1 ? `background-color: ${j.alternateRowBgColor}; color: ${j.alternateRowTextColor};` : `background-color: ${j.cellBgColor}; color: ${j.cellTextColor};`}
|
|
28427
28427
|
`;
|
|
28428
|
-
w += `<td style="${
|
|
28428
|
+
w += `<td style="${bl}">Cell ${P + 1},${$ + 1}</td>`;
|
|
28429
28429
|
}
|
|
28430
28430
|
w += "</tr>";
|
|
28431
28431
|
}
|
|
@@ -28455,8 +28455,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28455
28455
|
function Hl() {
|
|
28456
28456
|
const { doc: j } = G.state;
|
|
28457
28457
|
if (!j?.body) return "ltr";
|
|
28458
|
-
const w = j.getSelection(), P = w?.rangeCount ? w.getRangeAt(0).startContainer : null, $ = (P?.nodeType === Node.ELEMENT_NODE ? P : P?.parentElement)?.closest("p,h1,h2,h3,h4,h5,h6,blockquote,li"),
|
|
28459
|
-
return $ ? Tl($,
|
|
28458
|
+
const w = j.getSelection(), P = w?.rangeCount ? w.getRangeAt(0).startContainer : null, $ = (P?.nodeType === Node.ELEMENT_NODE ? P : P?.parentElement)?.closest("p,h1,h2,h3,h4,h5,h6,blockquote,li"), bl = Ze(j.body.textContent || "", j.body.dir || "ltr");
|
|
28459
|
+
return $ ? Tl($, bl) : bl;
|
|
28460
28460
|
}
|
|
28461
28461
|
function kl(j, w = !1) {
|
|
28462
28462
|
if (!j) return;
|
|
@@ -28488,11 +28488,11 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28488
28488
|
ze();
|
|
28489
28489
|
return;
|
|
28490
28490
|
}
|
|
28491
|
-
const $ = P.getBoundingClientRect(),
|
|
28492
|
-
if ($ &&
|
|
28493
|
-
const pl = Math.max(10, Math.min(window.innerWidth - 200 - 10,
|
|
28491
|
+
const $ = P.getBoundingClientRect(), bl = p.value?.getBoundingClientRect();
|
|
28492
|
+
if ($ && bl) {
|
|
28493
|
+
const pl = Math.max(10, Math.min(window.innerWidth - 200 - 10, bl.left + $.left + $.width / 2 - 100));
|
|
28494
28494
|
ll.value = {
|
|
28495
|
-
top:
|
|
28495
|
+
top: bl.top + $.top - 45,
|
|
28496
28496
|
left: pl
|
|
28497
28497
|
};
|
|
28498
28498
|
const Gl = P.cloneRange();
|
|
@@ -28510,9 +28510,9 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28510
28510
|
if (!P) return;
|
|
28511
28511
|
const $ = w.getSelection();
|
|
28512
28512
|
$ && ($.removeAllRanges(), $.addRange(P)), Y.execute(j), setTimeout(() => {
|
|
28513
|
-
const
|
|
28514
|
-
if (
|
|
28515
|
-
const hl =
|
|
28513
|
+
const bl = w.getSelection();
|
|
28514
|
+
if (bl && bl.rangeCount > 0) {
|
|
28515
|
+
const hl = bl.getRangeAt(0);
|
|
28516
28516
|
hl.collapsed ? ze() : Ll.value._storedRange = hl.cloneRange();
|
|
28517
28517
|
}
|
|
28518
28518
|
}, 50);
|
|
@@ -28522,21 +28522,21 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28522
28522
|
if (w === void 0 || P === void 0) {
|
|
28523
28523
|
const $ = G.state.doc?.getSelection();
|
|
28524
28524
|
if ($ && $.rangeCount > 0) {
|
|
28525
|
-
const
|
|
28525
|
+
const bl = $.getRangeAt(0).getBoundingClientRect(), hl = p.value?.getBoundingClientRect() || {
|
|
28526
28526
|
left: 0,
|
|
28527
28527
|
top: 0
|
|
28528
28528
|
};
|
|
28529
28529
|
Nl.value = {
|
|
28530
28530
|
message: j,
|
|
28531
|
-
x:
|
|
28532
|
-
y:
|
|
28531
|
+
x: bl.left + hl.left + window.scrollX,
|
|
28532
|
+
y: bl.top + hl.top + window.scrollY - 40
|
|
28533
28533
|
};
|
|
28534
28534
|
} else {
|
|
28535
|
-
const
|
|
28535
|
+
const bl = p.value?.getBoundingClientRect();
|
|
28536
28536
|
Nl.value = {
|
|
28537
28537
|
message: j,
|
|
28538
|
-
x:
|
|
28539
|
-
y:
|
|
28538
|
+
x: bl ? bl.left + bl.width / 2 : 200,
|
|
28539
|
+
y: bl ? bl.top + 50 : 100
|
|
28540
28540
|
};
|
|
28541
28541
|
}
|
|
28542
28542
|
} else Nl.value = {
|
|
@@ -28560,13 +28560,13 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28560
28560
|
}
|
|
28561
28561
|
function BZ() {
|
|
28562
28562
|
if (!E || !B.value.url) return;
|
|
28563
|
-
const { selection: j, range: w, existingLink: P } = E, { url: $, openInNewTab:
|
|
28563
|
+
const { selection: j, range: w, existingLink: P } = E, { url: $, openInNewTab: bl } = B.value, { doc: hl } = G.state;
|
|
28564
28564
|
if (hl) {
|
|
28565
28565
|
if (P)
|
|
28566
|
-
P.href = $, P.target =
|
|
28566
|
+
P.href = $, P.target = bl ? "_blank" : "_self", bl ? P.rel = "noopener noreferrer" : P.removeAttribute("rel");
|
|
28567
28567
|
else try {
|
|
28568
28568
|
const pl = hl.createElement("a");
|
|
28569
|
-
pl.href = $, pl.target =
|
|
28569
|
+
pl.href = $, pl.target = bl ? "_blank" : "_self", bl && (pl.rel = "noopener noreferrer");
|
|
28570
28570
|
try {
|
|
28571
28571
|
w.surroundContents(pl);
|
|
28572
28572
|
} catch {
|
|
@@ -28615,13 +28615,13 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28615
28615
|
};
|
|
28616
28616
|
}
|
|
28617
28617
|
if (j) {
|
|
28618
|
-
const P = j.tagName === "IMG" ? j : j.querySelector("img"), $ = j.querySelector("figcaption"),
|
|
28618
|
+
const P = j.tagName === "IMG" ? j : j.querySelector("img"), $ = j.querySelector("figcaption"), bl = j.getAttribute("data-credit") || P?.getAttribute("data-credit") || "", hl = (j.tagName === "IMG" ? P : j)?.getAttribute("data-align") || "full", pl = P?.closest("a"), Gl = pl?.getAttribute("href") || "", Fl = pl?.getAttribute("target") === "_blank";
|
|
28619
28619
|
k.value = {
|
|
28620
28620
|
src: P?.src || "",
|
|
28621
28621
|
alt: P?.alt || "",
|
|
28622
28622
|
width: P?.getAttribute("data-width") || P?.style.width || "",
|
|
28623
28623
|
height: P?.getAttribute("data-height") || P?.style.height || "",
|
|
28624
|
-
credit:
|
|
28624
|
+
credit: bl,
|
|
28625
28625
|
figcaption: !!$,
|
|
28626
28626
|
align: hl,
|
|
28627
28627
|
link: Gl,
|
|
@@ -28652,7 +28652,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28652
28652
|
let Fl = "";
|
|
28653
28653
|
return k.value.figcaption && k.value.alt && (Fl = `<strong class="alt-text">${k.value.alt}</strong>`), k.value.credit && (Fl += `${Fl ? " • " : ""}<span class="photo-credit">${k.value.credit}</span>`), Gl.innerHTML = Fl, Gl;
|
|
28654
28654
|
}
|
|
28655
|
-
function
|
|
28655
|
+
function bl() {
|
|
28656
28656
|
const Gl = k.value.link?.trim();
|
|
28657
28657
|
if (!Gl) return P;
|
|
28658
28658
|
const Fl = j.createElement("a");
|
|
@@ -28661,12 +28661,12 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28661
28661
|
let hl;
|
|
28662
28662
|
if (w) if (w.tagName.toLowerCase() === "img") {
|
|
28663
28663
|
const Gl = j.createElement("figure");
|
|
28664
|
-
Gl.className = "image-figure", k.value.credit && Gl.setAttribute("data-credit", k.value.credit), Gl.appendChild(
|
|
28664
|
+
Gl.className = "image-figure", k.value.credit && Gl.setAttribute("data-credit", k.value.credit), Gl.appendChild(bl()), (k.value.figcaption && k.value.alt || k.value.credit) && Gl.appendChild($()), w.parentNode?.replaceChild(Gl, w), hl = Gl;
|
|
28665
28665
|
} else
|
|
28666
|
-
w.innerHTML = "", k.value.credit && w.setAttribute("data-credit", k.value.credit), w.appendChild(
|
|
28666
|
+
w.innerHTML = "", k.value.credit && w.setAttribute("data-credit", k.value.credit), w.appendChild(bl()), (k.value.figcaption && k.value.alt || k.value.credit) && w.appendChild($()), hl = w;
|
|
28667
28667
|
else {
|
|
28668
28668
|
const Gl = j.createElement("figure");
|
|
28669
|
-
Gl.className = "image-figure", k.value.credit && Gl.setAttribute("data-credit", k.value.credit), Gl.appendChild(
|
|
28669
|
+
Gl.className = "image-figure", k.value.credit && Gl.setAttribute("data-credit", k.value.credit), Gl.appendChild(bl()), (k.value.figcaption && k.value.alt || k.value.credit) && Gl.appendChild($()), hl = Gl;
|
|
28670
28670
|
const { selection: Fl, range: Dl } = F;
|
|
28671
28671
|
Dl.collapse(!1), Dl.insertNode(hl), Dl.setStartAfter(hl), Dl.collapse(!0), Fl.removeAllRanges(), Fl.addRange(Dl);
|
|
28672
28672
|
}
|
|
@@ -28737,16 +28737,16 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28737
28737
|
let $;
|
|
28738
28738
|
if (w) {
|
|
28739
28739
|
if ($ = w, $.innerHTML = "", $.appendChild(P), v.value.alt) {
|
|
28740
|
-
const
|
|
28741
|
-
|
|
28740
|
+
const bl = j.createElement("figcaption");
|
|
28741
|
+
bl.textContent = v.value.alt, $.appendChild(bl);
|
|
28742
28742
|
}
|
|
28743
28743
|
} else {
|
|
28744
28744
|
if ($ = j.createElement("figure"), $.className = "embed-figure", $.appendChild(P), v.value.alt) {
|
|
28745
28745
|
const pl = j.createElement("figcaption");
|
|
28746
28746
|
pl.textContent = v.value.alt, $.appendChild(pl);
|
|
28747
28747
|
}
|
|
28748
|
-
const { selection:
|
|
28749
|
-
hl.collapse(!1), hl.insertNode($), hl.setStartAfter($), hl.collapse(!0),
|
|
28748
|
+
const { selection: bl, range: hl } = S;
|
|
28749
|
+
hl.collapse(!1), hl.insertNode($), hl.setStartAfter($), hl.collapse(!0), bl.removeAllRanges(), bl.addRange(hl);
|
|
28750
28750
|
}
|
|
28751
28751
|
kl(j), I.value = !1, S = null;
|
|
28752
28752
|
}
|
|
@@ -28769,9 +28769,9 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28769
28769
|
};
|
|
28770
28770
|
}
|
|
28771
28771
|
if (j) {
|
|
28772
|
-
const P = j.querySelector(".video-container"), $ = j.tagName === "VIDEO" ? j : null,
|
|
28772
|
+
const P = j.querySelector(".video-container"), $ = j.tagName === "VIDEO" ? j : null, bl = j.tagName === "IFRAME" ? j : null, hl = P?.getAttribute("data-custom-aspect-ratio") === "true";
|
|
28773
28773
|
ml.value = {
|
|
28774
|
-
src: P?.getAttribute("data-video-src") || $?.src ||
|
|
28774
|
+
src: P?.getAttribute("data-video-src") || $?.src || bl?.src || "",
|
|
28775
28775
|
width: P?.getAttribute("data-width") || ($?.style.width ?? "") || "",
|
|
28776
28776
|
autoplay: P ? P.getAttribute("data-autoplay") === "true" : $?.autoplay ?? !1,
|
|
28777
28777
|
mute: P ? P.getAttribute("data-mute") === "true" : $?.muted ?? !1,
|
|
@@ -28830,8 +28830,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28830
28830
|
let { aspectRatio: P } = ml.value;
|
|
28831
28831
|
const $ = ml.value.aspectRatio === "custom";
|
|
28832
28832
|
$ && ml.value.customWidth && ml.value.customHeight && (P = `${ml.value.customWidth}:${ml.value.customHeight}`), ml.value.src.includes("youtube.com/shorts/") && P === "16:9" && (P = "9:16");
|
|
28833
|
-
const
|
|
28834
|
-
|
|
28833
|
+
const bl = j.createElement("div");
|
|
28834
|
+
bl.className = "video-container", bl.setAttribute("data-video-src", ml.value.src), bl.setAttribute("data-component", "BglVideo"), bl.setAttribute("data-media-type", "video"), bl.setAttribute("data-width", ml.value.width), bl.setAttribute("data-autoplay", ml.value.autoplay.toString()), bl.setAttribute("data-mute", ml.value.mute.toString()), bl.setAttribute("data-controls", ml.value.controls.toString()), bl.setAttribute("data-loop", ml.value.loop.toString()), bl.setAttribute("data-aspect-ratio", P), bl.setAttribute("data-custom-aspect-ratio", $.toString()), bl.setAttribute("data-custom-width", ml.value.customWidth), bl.setAttribute("data-custom-height", ml.value.customHeight), ml.value.width && (bl.style.width = ml.value.width.includes("%") || ml.value.width.includes("px") ? ml.value.width : `${ml.value.width}px`);
|
|
28835
28835
|
const hl = j.createElement("div");
|
|
28836
28836
|
hl.className = "bgl_vid";
|
|
28837
28837
|
const pl = j.createElement("div");
|
|
@@ -28855,9 +28855,9 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28855
28855
|
pl.appendChild(Dl), pl.appendChild(ee);
|
|
28856
28856
|
} else
|
|
28857
28857
|
pl.appendChild(Dl), pl.appendChild(ee);
|
|
28858
|
-
Gl && ml.value.src.includes("youtube.com/shorts/") && hl.classList.add("vid_short"), hl.appendChild(pl),
|
|
28858
|
+
Gl && ml.value.src.includes("youtube.com/shorts/") && hl.classList.add("vid_short"), hl.appendChild(pl), bl.appendChild(hl);
|
|
28859
28859
|
let oe;
|
|
28860
|
-
if (w ? (oe = w, oe.innerHTML = "") : (oe = j.createElement("figure"), oe.className = "video-figure"), oe.appendChild(
|
|
28860
|
+
if (w ? (oe = w, oe.innerHTML = "") : (oe = j.createElement("figure"), oe.className = "video-figure"), oe.appendChild(bl), ml.value.showCaption && ml.value.caption) {
|
|
28861
28861
|
const Xe = j.createElement("figcaption");
|
|
28862
28862
|
Xe.textContent = ml.value.caption, oe.appendChild(Xe);
|
|
28863
28863
|
}
|
|
@@ -28895,7 +28895,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28895
28895
|
};
|
|
28896
28896
|
}
|
|
28897
28897
|
if (j) {
|
|
28898
|
-
const P = j.querySelector("tbody"), $ = j.querySelector("thead"),
|
|
28898
|
+
const P = j.querySelector("tbody"), $ = j.querySelector("thead"), bl = j.ownerDocument.defaultView, hl = (Dl) => bl?.getComputedStyle(Dl) ?? null;
|
|
28899
28899
|
let pl = !1, Gl = "#f9f9f9", Fl = "#333333";
|
|
28900
28900
|
if (P && P.rows.length >= 2) {
|
|
28901
28901
|
const Dl = P.rows[0], ee = P.rows[1];
|
|
@@ -28962,22 +28962,22 @@ var Vf = { key: 0 }, Tf = {
|
|
|
28962
28962
|
const w = Il.existingTable;
|
|
28963
28963
|
w.style.width = `${dl.value.width}%`, w.style.borderCollapse = "collapse", w.style.marginBottom = "1rem", w.style.border = `${dl.value.borderWidth}px solid ${dl.value.borderColor}`, dl.value.fixedLayout ? w.style.tableLayout = "fixed" : w.style.tableLayout = "auto";
|
|
28964
28964
|
let P = w.querySelector(":scope > colgroup");
|
|
28965
|
-
P || (P = j.createElement("colgroup"), w.insertBefore(P, w.firstChild)), P.replaceChildren(...dl.value.columnWidths.slice(0, dl.value.cols).map((
|
|
28965
|
+
P || (P = j.createElement("colgroup"), w.insertBefore(P, w.firstChild)), P.replaceChildren(...dl.value.columnWidths.slice(0, dl.value.cols).map((bl) => {
|
|
28966
28966
|
const hl = j.createElement("col");
|
|
28967
|
-
return hl.style.width = `${
|
|
28968
|
-
})), w.dir = dl.value.direction, w.querySelectorAll("td, th").forEach((
|
|
28969
|
-
const hl =
|
|
28967
|
+
return hl.style.width = `${bl}%`, hl;
|
|
28968
|
+
})), w.dir = dl.value.direction, w.querySelectorAll("td, th").forEach((bl) => {
|
|
28969
|
+
const hl = bl;
|
|
28970
28970
|
if (hl.style.padding = `${dl.value.cellPadding}px`, hl.style.border = `${dl.value.borderWidth}px solid ${dl.value.borderColor}`, dl.value.fixedLayout) {
|
|
28971
28971
|
const pl = hl.cellIndex;
|
|
28972
28972
|
hl.style.width = `${dl.value.columnWidths[pl] ?? 100 / dl.value.cols}%`;
|
|
28973
28973
|
}
|
|
28974
|
-
}), w.querySelectorAll("th").forEach((
|
|
28975
|
-
const hl =
|
|
28974
|
+
}), w.querySelectorAll("th").forEach((bl) => {
|
|
28975
|
+
const hl = bl;
|
|
28976
28976
|
hl.style.backgroundColor = dl.value.headerBgColor, hl.style.color = dl.value.headerTextColor;
|
|
28977
28977
|
});
|
|
28978
28978
|
const $ = w.querySelector("tbody");
|
|
28979
|
-
$ && Array.from($.querySelectorAll("tr")).forEach((
|
|
28980
|
-
|
|
28979
|
+
$ && Array.from($.querySelectorAll("tr")).forEach((bl, hl) => {
|
|
28980
|
+
bl.querySelectorAll("td").forEach((pl) => {
|
|
28981
28981
|
const Gl = pl;
|
|
28982
28982
|
dl.value.alternateRows && hl % 2 === 1 ? (Gl.style.backgroundColor = dl.value.alternateRowBgColor, Gl.style.color = dl.value.alternateRowTextColor) : (Gl.style.backgroundColor = dl.value.cellBgColor, Gl.style.color = dl.value.cellTextColor);
|
|
28983
28983
|
});
|
|
@@ -29011,10 +29011,10 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29011
29011
|
}
|
|
29012
29012
|
}
|
|
29013
29013
|
w.appendChild($);
|
|
29014
|
-
const { range:
|
|
29015
|
-
|
|
29014
|
+
const { range: bl } = Il;
|
|
29015
|
+
bl.insertNode(w), bl.setStartAfter(w), bl.collapse(!0);
|
|
29016
29016
|
const hl = j.getSelection();
|
|
29017
|
-
hl && (hl.removeAllRanges(), hl.addRange(
|
|
29017
|
+
hl && (hl.removeAllRanges(), hl.addRange(bl)), kl(j), Si(j);
|
|
29018
29018
|
}
|
|
29019
29019
|
function RG() {
|
|
29020
29020
|
if (!Il?.existingTable) return;
|
|
@@ -29031,15 +29031,15 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29031
29031
|
j.style.tableLayout = "fixed";
|
|
29032
29032
|
const P = j.querySelectorAll("th"), $ = j.querySelectorAll("td");
|
|
29033
29033
|
if (P.length > 0) {
|
|
29034
|
-
const
|
|
29034
|
+
const bl = `${100 / P.length}%`;
|
|
29035
29035
|
P.forEach((hl) => {
|
|
29036
|
-
hl.style.width || (hl.style.width =
|
|
29036
|
+
hl.style.width || (hl.style.width = bl);
|
|
29037
29037
|
});
|
|
29038
29038
|
}
|
|
29039
29039
|
if ($.length > 0 && P.length === 0) {
|
|
29040
|
-
const
|
|
29041
|
-
if (
|
|
29042
|
-
const hl = `${100 /
|
|
29040
|
+
const bl = j.querySelector("tr");
|
|
29041
|
+
if (bl) {
|
|
29042
|
+
const hl = `${100 / bl.querySelectorAll("td").length}%`;
|
|
29043
29043
|
$.forEach((pl) => {
|
|
29044
29044
|
pl.style.width || (pl.style.width = hl);
|
|
29045
29045
|
});
|
|
@@ -29071,19 +29071,19 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29071
29071
|
}), w.querySelectorAll(".table-cell-selected").forEach((P) => {
|
|
29072
29072
|
P.classList.remove("table-cell-selected");
|
|
29073
29073
|
}), w.querySelectorAll(".table-wrapper").forEach((P) => {
|
|
29074
|
-
const $ = P,
|
|
29075
|
-
if (!
|
|
29074
|
+
const $ = P, bl = P.parentNode;
|
|
29075
|
+
if (!bl) return;
|
|
29076
29076
|
const hl = P.querySelector("table");
|
|
29077
29077
|
if (hl) {
|
|
29078
29078
|
const { alignItems: pl } = $.style;
|
|
29079
29079
|
pl === "center" ? (hl.style.marginLeft = "auto", hl.style.marginRight = "auto") : pl === "flex-end" ? (hl.style.marginLeft = "auto", hl.style.marginRight = "0") : (hl.style.marginLeft = "0", hl.style.marginRight = "auto"), hl.style.marginBottom = "1rem";
|
|
29080
29080
|
}
|
|
29081
|
-
Array.from(P.childNodes).forEach((pl) =>
|
|
29081
|
+
Array.from(P.childNodes).forEach((pl) => bl.insertBefore(pl, P)), P.remove();
|
|
29082
29082
|
}), w.querySelectorAll("table").forEach((P) => {
|
|
29083
29083
|
P.removeAttribute("data-edit-button-added");
|
|
29084
29084
|
}), w.querySelectorAll('.video-container[data-component="BglVideo"]').forEach((P) => {
|
|
29085
|
-
const $ = P,
|
|
29086
|
-
if (!
|
|
29085
|
+
const $ = P, bl = $.getAttribute("data-video-src") || "";
|
|
29086
|
+
if (!bl) return;
|
|
29087
29087
|
const hl = $.getAttribute("data-autoplay") === "true", pl = $.getAttribute("data-mute") === "true", Gl = $.getAttribute("data-controls") !== "false", Fl = $.getAttribute("data-loop") === "true", Dl = $.getAttribute("data-aspect-ratio") || "16:9", ee = $.getAttribute("data-width") || "", Ge = ee ? `width: ${/[%pxvwemr]/.test(ee) ? ee : `${ee}px`};` : "width: 100%;", [oe, Xe] = Dl.split(":").map(Number), nt = oe && Xe ? `${Xe / oe * 100}%` : "56.25%", Xa = (Ne) => {
|
|
29088
29088
|
const ia = document.createElement("div");
|
|
29089
29089
|
ia.style.cssText = `${Ge} position: relative; padding-bottom: ${nt}; height: 0; overflow: hidden;`;
|
|
@@ -29091,22 +29091,22 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29091
29091
|
return Zt.src = Ne, Zt.frameBorder = "0", Zt.setAttribute("allowfullscreen", ""), Zt.style.cssText = "position: absolute; top: 0; left: 0; width: 100%; height: 100%;", ia.appendChild(Zt), ia;
|
|
29092
29092
|
};
|
|
29093
29093
|
let Nt = null;
|
|
29094
|
-
if (
|
|
29095
|
-
let Ne =
|
|
29096
|
-
if (
|
|
29097
|
-
const ia =
|
|
29094
|
+
if (bl.includes("youtube.com") || bl.includes("youtu.be")) {
|
|
29095
|
+
let Ne = bl;
|
|
29096
|
+
if (bl.includes("youtube.com/watch?v=")) {
|
|
29097
|
+
const ia = bl.split("watch?v=")[1]?.split("&")[0], Zt = [];
|
|
29098
29098
|
hl && Zt.push("autoplay=1"), pl && Zt.push("mute=1"), Fl && Zt.push(`loop=1&playlist=${ia}`), Gl || Zt.push("controls=0"), Ne = `https://www.youtube.com/embed/${ia}${Zt.length ? `?${Zt.join("&")}` : ""}`;
|
|
29099
|
-
} else
|
|
29099
|
+
} else bl.includes("youtu.be/") ? Ne = `https://www.youtube.com/embed/${bl.split("youtu.be/")[1]?.split("?")[0]}` : bl.includes("youtube.com/shorts/") && (Ne = `https://www.youtube.com/embed/${bl.split("shorts/")[1]?.split("?")[0]}`);
|
|
29100
29100
|
Nt = Xa(Ne);
|
|
29101
|
-
} else if (
|
|
29102
|
-
const Ne =
|
|
29103
|
-
Nt = Xa(Ne ? `https://player.vimeo.com/video/${Ne[1]}` :
|
|
29104
|
-
} else if (
|
|
29105
|
-
const Ne =
|
|
29101
|
+
} else if (bl.includes("vimeo.com")) {
|
|
29102
|
+
const Ne = bl.match(/vimeo\.com\/(\d+)/);
|
|
29103
|
+
Nt = Xa(Ne ? `https://player.vimeo.com/video/${Ne[1]}` : bl);
|
|
29104
|
+
} else if (bl.includes("<iframe")) {
|
|
29105
|
+
const Ne = bl.match(/src=["']([^"']+)["']/);
|
|
29106
29106
|
Ne && (Nt = Xa(Ne[1]));
|
|
29107
29107
|
} else {
|
|
29108
29108
|
const Ne = document.createElement("video");
|
|
29109
|
-
Ne.src =
|
|
29109
|
+
Ne.src = bl, Gl && Ne.setAttribute("controls", ""), hl && Ne.setAttribute("autoplay", ""), pl && Ne.setAttribute("muted", ""), Fl && Ne.setAttribute("loop", ""), Ne.style.cssText = `${Ge} height: auto; display: block;`, Nt = Ne;
|
|
29110
29110
|
}
|
|
29111
29111
|
Nt && $.parentNode?.replaceChild(Nt, $);
|
|
29112
29112
|
}), w.querySelectorAll(".bgl_vid").forEach((P) => {
|
|
@@ -29119,8 +29119,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29119
29119
|
function fG() {
|
|
29120
29120
|
const { doc: j } = G.state;
|
|
29121
29121
|
if (!j || !Wl.value) return;
|
|
29122
|
-
const w = Wl.value, P = w.parentElement, $ = Array.from(P.cells).indexOf(w),
|
|
29123
|
-
if (hl &&
|
|
29122
|
+
const w = Wl.value, P = w.parentElement, $ = Array.from(P.cells).indexOf(w), bl = w.closest("table")?.dir === "rtl" ? $ - 1 : $ + 1, hl = P.cells[bl];
|
|
29123
|
+
if (hl && bl >= 0 && bl < P.cells.length) {
|
|
29124
29124
|
hl.innerHTML.trim() && (w.innerHTML += ` ${hl.innerHTML}`);
|
|
29125
29125
|
const pl = Number.parseInt(w.getAttribute("colspan") || "1"), Gl = Number.parseInt(hl.getAttribute("colspan") || "1");
|
|
29126
29126
|
w.setAttribute("colspan", (pl + Gl).toString()), hl.remove(), kl(j);
|
|
@@ -29129,9 +29129,9 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29129
29129
|
function jG() {
|
|
29130
29130
|
const { doc: j } = G.state;
|
|
29131
29131
|
if (!j || !Wl.value) return;
|
|
29132
|
-
const w = Wl.value, P = w.closest("table"), $ = w.parentElement,
|
|
29132
|
+
const w = Wl.value, P = w.closest("table"), $ = w.parentElement, bl = Array.from($.cells).indexOf(w), hl = P.querySelector("tbody") || P, pl = Array.from(hl.querySelectorAll("tr")), Gl = pl[pl.indexOf($) + 1];
|
|
29133
29133
|
if (Gl) {
|
|
29134
|
-
const Fl = Gl.cells[
|
|
29134
|
+
const Fl = Gl.cells[bl];
|
|
29135
29135
|
if (Fl) {
|
|
29136
29136
|
Fl.innerHTML.trim() && (w.innerHTML += `<br>${Fl.innerHTML}`);
|
|
29137
29137
|
const Dl = Number.parseInt(w.getAttribute("rowspan") || "1"), ee = Number.parseInt(Fl.getAttribute("rowspan") || "1");
|
|
@@ -29142,11 +29142,11 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29142
29142
|
function JG() {
|
|
29143
29143
|
const { doc: j } = G.state;
|
|
29144
29144
|
if (!j || !Wl.value) return;
|
|
29145
|
-
const w = Wl.value, P = w.closest("table"), $ = P?.dir === "rtl",
|
|
29146
|
-
if (
|
|
29145
|
+
const w = Wl.value, P = w.closest("table"), $ = P?.dir === "rtl", bl = Number.parseInt(w.getAttribute("colspan") || "1"), hl = Number.parseInt(w.getAttribute("rowspan") || "1");
|
|
29146
|
+
if (bl > 1) {
|
|
29147
29147
|
w.setAttribute("colspan", "1");
|
|
29148
29148
|
const pl = w.parentElement;
|
|
29149
|
-
for (let Gl = 1; Gl <
|
|
29149
|
+
for (let Gl = 1; Gl < bl; Gl++) {
|
|
29150
29150
|
const Fl = j.createElement(w.tagName.toLowerCase());
|
|
29151
29151
|
Fl.innerHTML = " ", Fl.style.cssText = w.style.cssText, $ ? pl.insertBefore(Fl, w) : w.nextSibling ? pl.insertBefore(Fl, w.nextSibling) : pl.appendChild(Fl);
|
|
29152
29152
|
}
|
|
@@ -29166,8 +29166,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29166
29166
|
function kG() {
|
|
29167
29167
|
const { doc: j } = G.state;
|
|
29168
29168
|
if (!j || !Wl.value) return;
|
|
29169
|
-
const w = Wl.value.parentElement, P = j.createElement("tr"), $ = Array.from(w.cells).reduce((
|
|
29170
|
-
for (let
|
|
29169
|
+
const w = Wl.value.parentElement, P = j.createElement("tr"), $ = Array.from(w.cells).reduce((bl, hl) => bl + Number.parseInt(hl.getAttribute("colspan") || "1"), 0);
|
|
29170
|
+
for (let bl = 0; bl < $; bl++) {
|
|
29171
29171
|
const hl = j.createElement("td");
|
|
29172
29172
|
hl.innerHTML = " ", hl.style.padding = "8px", hl.style.border = "1px solid #ddd", P.appendChild(hl);
|
|
29173
29173
|
}
|
|
@@ -29176,8 +29176,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29176
29176
|
function CG() {
|
|
29177
29177
|
const { doc: j } = G.state;
|
|
29178
29178
|
if (!j || !Wl.value) return;
|
|
29179
|
-
const w = Wl.value.parentElement, P = j.createElement("tr"), $ = Array.from(w.cells).reduce((
|
|
29180
|
-
for (let
|
|
29179
|
+
const w = Wl.value.parentElement, P = j.createElement("tr"), $ = Array.from(w.cells).reduce((bl, hl) => bl + Number.parseInt(hl.getAttribute("colspan") || "1"), 0);
|
|
29180
|
+
for (let bl = 0; bl < $; bl++) {
|
|
29181
29181
|
const hl = j.createElement("td");
|
|
29182
29182
|
hl.innerHTML = " ", hl.style.padding = "8px", hl.style.border = "1px solid #ddd", P.appendChild(hl);
|
|
29183
29183
|
}
|
|
@@ -29193,27 +29193,27 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29193
29193
|
const { doc: j } = G.state;
|
|
29194
29194
|
if (!j || !Wl.value) return;
|
|
29195
29195
|
const w = Wl.value, P = w.closest("table"), $ = Array.from(w.parentElement.cells).indexOf(w);
|
|
29196
|
-
P.querySelectorAll("tr").forEach((
|
|
29197
|
-
const hl = j.createElement(
|
|
29198
|
-
hl.innerHTML = " ", hl.style.padding = "8px", hl.style.border = "1px solid #ddd", $ <
|
|
29196
|
+
P.querySelectorAll("tr").forEach((bl) => {
|
|
29197
|
+
const hl = j.createElement(bl.parentElement?.tagName === "THEAD" ? "th" : "td");
|
|
29198
|
+
hl.innerHTML = " ", hl.style.padding = "8px", hl.style.border = "1px solid #ddd", $ < bl.cells.length ? bl.insertBefore(hl, bl.cells[$]) : bl.appendChild(hl);
|
|
29199
29199
|
}), kl(j);
|
|
29200
29200
|
}
|
|
29201
29201
|
function OG() {
|
|
29202
29202
|
const { doc: j } = G.state;
|
|
29203
29203
|
if (!j || !Wl.value) return;
|
|
29204
29204
|
const w = Wl.value, P = w.closest("table"), $ = Array.from(w.parentElement.cells).indexOf(w);
|
|
29205
|
-
P.querySelectorAll("tr").forEach((
|
|
29206
|
-
const hl = j.createElement(
|
|
29205
|
+
P.querySelectorAll("tr").forEach((bl) => {
|
|
29206
|
+
const hl = j.createElement(bl.parentElement?.tagName === "THEAD" ? "th" : "td");
|
|
29207
29207
|
hl.innerHTML = " ", hl.style.padding = "8px", hl.style.border = "1px solid #ddd";
|
|
29208
29208
|
const pl = $ + 1;
|
|
29209
|
-
pl <
|
|
29209
|
+
pl < bl.cells.length ? bl.insertBefore(hl, bl.cells[pl]) : bl.appendChild(hl);
|
|
29210
29210
|
}), kl(j);
|
|
29211
29211
|
}
|
|
29212
29212
|
function EG() {
|
|
29213
29213
|
const { doc: j } = G.state;
|
|
29214
29214
|
if (!j || !Wl.value) return;
|
|
29215
|
-
const w = Wl.value, P = w.closest("table"), $ = Array.from(w.parentElement.cells).indexOf(w),
|
|
29216
|
-
|
|
29215
|
+
const w = Wl.value, P = w.closest("table"), $ = Array.from(w.parentElement.cells).indexOf(w), bl = P.querySelector("tr");
|
|
29216
|
+
bl && bl.cells.length <= 1 || (P.querySelectorAll("tr").forEach((hl) => {
|
|
29217
29217
|
hl.cells[$] && hl.cells[$].remove();
|
|
29218
29218
|
}), kl(j));
|
|
29219
29219
|
}
|
|
@@ -29244,11 +29244,11 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29244
29244
|
function Si(j) {
|
|
29245
29245
|
const w = j.__tableEditPointerHandler;
|
|
29246
29246
|
w && j.removeEventListener("pointerdown", w, !0);
|
|
29247
|
-
const P = (
|
|
29248
|
-
const hl =
|
|
29247
|
+
const P = (bl) => {
|
|
29248
|
+
const hl = bl.target?.closest(".table-edit-btn");
|
|
29249
29249
|
if (!hl) return;
|
|
29250
29250
|
const pl = hl.closest(".table-wrapper")?.querySelector("table");
|
|
29251
|
-
pl && (
|
|
29251
|
+
pl && (bl.preventDefault(), bl.stopPropagation(), bl.stopImmediatePropagation(), globalThis.setTimeout(() => {
|
|
29252
29252
|
try {
|
|
29253
29253
|
No(pl);
|
|
29254
29254
|
} catch {
|
|
@@ -29257,7 +29257,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29257
29257
|
};
|
|
29258
29258
|
j.__tableEditPointerHandler = P, j.addEventListener("pointerdown", P, !0);
|
|
29259
29259
|
function $() {
|
|
29260
|
-
j.querySelectorAll("table:not([data-edit-button-added])").forEach((
|
|
29260
|
+
j.querySelectorAll("table:not([data-edit-button-added])").forEach((bl) => {
|
|
29261
29261
|
const hl = j.createElement("span");
|
|
29262
29262
|
hl.className = "table-edit-btn", hl.textContent = "✎", hl.title = "Edit Table", hl.setAttribute("aria-label", "Edit Table"), hl.setAttribute("contenteditable", "false"), hl.setAttribute("tabindex", "-1"), hl.style.pointerEvents = "auto", hl.style.userSelect = "none", hl.addEventListener("click", (Gl) => {
|
|
29263
29263
|
Gl.preventDefault(), Gl.stopPropagation(), Gl.stopImmediatePropagation();
|
|
@@ -29267,45 +29267,45 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29267
29267
|
Gl.preventDefault(), Gl.stopPropagation(), Gl.stopImmediatePropagation();
|
|
29268
29268
|
});
|
|
29269
29269
|
const pl = j.createElement("div");
|
|
29270
|
-
if (pl.className = "table-wrapper", pl.style.position = "relative", pl.style.display = "flex", pl.style.flexDirection = "column", pl.style.width = "100%", pl.style.marginBottom = "1rem",
|
|
29270
|
+
if (pl.className = "table-wrapper", pl.style.position = "relative", pl.style.display = "flex", pl.style.flexDirection = "column", pl.style.width = "100%", pl.style.marginBottom = "1rem", bl.style.marginLeft && bl.style.marginRight) {
|
|
29271
29271
|
let Gl = "left";
|
|
29272
|
-
|
|
29272
|
+
bl.style.marginLeft === "auto" && bl.style.marginRight === "auto" ? Gl = "center" : bl.style.marginLeft === "auto" && (Gl = "right"), Gl === "center" ? pl.style.alignItems = "center" : Gl === "right" ? pl.style.alignItems = "flex-end" : pl.style.alignItems = "flex-start", bl.style.marginLeft = "0", bl.style.marginRight = "0";
|
|
29273
29273
|
} else pl.style.alignItems = "flex-start";
|
|
29274
|
-
|
|
29274
|
+
bl.parentNode?.insertBefore(pl, bl), pl.appendChild(bl), pl.appendChild(hl), bl.style.marginBottom = "0", bl.setAttribute("data-edit-button-added", "true");
|
|
29275
29275
|
});
|
|
29276
29276
|
}
|
|
29277
29277
|
j.__addEditButtonsToTables = $, $();
|
|
29278
29278
|
}
|
|
29279
29279
|
function PG(j) {
|
|
29280
29280
|
function w() {
|
|
29281
|
-
const
|
|
29282
|
-
if (
|
|
29281
|
+
const bl = j.querySelector(".placeholder");
|
|
29282
|
+
if (bl && (bl.remove(), !j.body.innerHTML.trim())) {
|
|
29283
29283
|
const hl = Hl();
|
|
29284
29284
|
j.body.innerHTML = `<p dir="${hl}"><br></p>`;
|
|
29285
29285
|
}
|
|
29286
29286
|
}
|
|
29287
29287
|
function P() {
|
|
29288
|
-
const
|
|
29289
|
-
a.placeholder && (!j.body.innerHTML.trim() || j.body.innerHTML ===
|
|
29288
|
+
const bl = `<p dir="${Hl()}"><br></p>`;
|
|
29289
|
+
a.placeholder && (!j.body.innerHTML.trim() || j.body.innerHTML === bl) && (j.body.innerHTML = `<p class="placeholder">${a.placeholder}</p>`);
|
|
29290
29290
|
}
|
|
29291
29291
|
if (!j.body.innerHTML.trim()) if (a.placeholder) P();
|
|
29292
29292
|
else {
|
|
29293
|
-
const
|
|
29294
|
-
j.body.innerHTML = `<p dir="${
|
|
29293
|
+
const bl = Hl();
|
|
29294
|
+
j.body.innerHTML = `<p dir="${bl}"><br></p>`;
|
|
29295
29295
|
}
|
|
29296
29296
|
function $() {
|
|
29297
29297
|
if (j.body) {
|
|
29298
29298
|
if (!j.body.innerHTML.trim() || j.body.innerHTML === "") {
|
|
29299
|
-
const
|
|
29300
|
-
j.body.innerHTML = `<p dir="${
|
|
29299
|
+
const bl = Hl();
|
|
29300
|
+
j.body.innerHTML = `<p dir="${bl}"><br></p>`;
|
|
29301
29301
|
return;
|
|
29302
29302
|
}
|
|
29303
29303
|
if (j.body.dataset.normalizing !== "true") {
|
|
29304
29304
|
j.body.dataset.normalizing = "true";
|
|
29305
29305
|
try {
|
|
29306
|
-
const
|
|
29306
|
+
const bl = j.createTreeWalker(j.body, NodeFilter.SHOW_TEXT, (Fl) => Fl.parentNode === j.body && Fl.textContent?.trim() && Fl.textContent.trim().length > 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT), hl = [];
|
|
29307
29307
|
let pl;
|
|
29308
|
-
for (; pl =
|
|
29308
|
+
for (; pl = bl.nextNode(); ) hl.push(pl);
|
|
29309
29309
|
if (hl.forEach((Fl) => {
|
|
29310
29310
|
if (Fl.parentNode === j.body && Fl.textContent?.trim() && Fl.nodeType === Node.TEXT_NODE) {
|
|
29311
29311
|
const Dl = j.createElement("p");
|
|
@@ -29337,7 +29337,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29337
29337
|
}
|
|
29338
29338
|
}
|
|
29339
29339
|
}
|
|
29340
|
-
j.addEventListener("input", (
|
|
29340
|
+
j.addEventListener("input", (bl) => {
|
|
29341
29341
|
if (w(), Xl(), !j.body.innerHTML.trim() || j.body.innerHTML === "") {
|
|
29342
29342
|
if (a.placeholder) P();
|
|
29343
29343
|
else {
|
|
@@ -29347,12 +29347,12 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29347
29347
|
kl(j);
|
|
29348
29348
|
return;
|
|
29349
29349
|
}
|
|
29350
|
-
const hl =
|
|
29350
|
+
const hl = bl;
|
|
29351
29351
|
hl.inputType && ["insertFromPaste", "insertFromDrop"].includes(hl.inputType) && setTimeout(() => {
|
|
29352
29352
|
$();
|
|
29353
29353
|
}, 100), kl(j);
|
|
29354
|
-
}), j.addEventListener("keydown", (
|
|
29355
|
-
if (
|
|
29354
|
+
}), j.addEventListener("keydown", (bl) => {
|
|
29355
|
+
if (bl.key === "Enter") {
|
|
29356
29356
|
const hl = j.getSelection();
|
|
29357
29357
|
if (!hl || !hl.rangeCount) return;
|
|
29358
29358
|
const pl = hl.getRangeAt(0);
|
|
@@ -29364,11 +29364,11 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29364
29364
|
if (ee.nodeType === Node.TEXT_NODE && (ee = ee.parentElement), ee = ee.closest("p,h1,h2,h3,h4,h5,h6"), !ee) return;
|
|
29365
29365
|
const Ge = !ee.textContent?.trim(), oe = ee.previousElementSibling, Xe = oe && oe.tagName === "P" && !oe.textContent?.trim();
|
|
29366
29366
|
if (Ge && Xe) {
|
|
29367
|
-
|
|
29367
|
+
bl.preventDefault();
|
|
29368
29368
|
return;
|
|
29369
29369
|
}
|
|
29370
29370
|
const nt = Ze(ee.textContent || "", j.body.dir || "ltr");
|
|
29371
|
-
|
|
29371
|
+
bl.preventDefault(), bl.stopPropagation();
|
|
29372
29372
|
const Xa = pl.startContainer.textContent?.substring(0, pl.startOffset) || "", Nt = pl.startContainer.textContent?.substring(pl.startOffset) || "";
|
|
29373
29373
|
a.debug;
|
|
29374
29374
|
const Ne = j.createElement("p");
|
|
@@ -29384,12 +29384,12 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29384
29384
|
const ia = j.createRange();
|
|
29385
29385
|
ia.selectNodeContents(Ne), ia.collapse(!0), hl.removeAllRanges(), hl.addRange(ia), kl(j);
|
|
29386
29386
|
}
|
|
29387
|
-
}), j.addEventListener("paste", (
|
|
29387
|
+
}), j.addEventListener("paste", (bl) => {
|
|
29388
29388
|
setTimeout(() => {
|
|
29389
29389
|
$(), kl(j);
|
|
29390
29390
|
}, 150);
|
|
29391
|
-
}), new MutationObserver((
|
|
29392
|
-
for (const hl of
|
|
29391
|
+
}), new MutationObserver((bl) => {
|
|
29392
|
+
for (const hl of bl) hl.type === "childList" && Array.from(hl.addedNodes).forEach((pl) => {
|
|
29393
29393
|
if (pl.nodeType === Node.TEXT_NODE && pl.parentNode === j.body && pl.textContent?.trim()) {
|
|
29394
29394
|
const Gl = j.createElement("p");
|
|
29395
29395
|
Gl.dir = j.body.dir || "ltr", Gl.textContent = pl.textContent, pl.parentNode.replaceChild(Gl, pl), kl(j);
|
|
@@ -29409,20 +29409,20 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29409
29409
|
}).observe(j.body, {
|
|
29410
29410
|
childList: !0,
|
|
29411
29411
|
subtree: !1
|
|
29412
|
-
}), j.body.dataset.observers || (j.body.dataset.observers = "mutation"), j.addEventListener("click", (
|
|
29413
|
-
const hl =
|
|
29412
|
+
}), j.body.dataset.observers || (j.body.dataset.observers = "mutation"), j.addEventListener("click", (bl) => {
|
|
29413
|
+
const hl = bl.target, pl = hl.closest("a"), Gl = hl.closest("table"), Fl = hl.closest("figure");
|
|
29414
29414
|
let Dl = null, ee = null, Ge = null;
|
|
29415
29415
|
if (Fl?.querySelector(".video-container, video") ? Dl = Fl : hl.closest(".video-figure") ? Dl = hl.closest(".video-figure") : Fl?.querySelector("img") ? ee = Fl : hl.closest(".image-figure") ? ee = hl.closest(".image-figure") : hl.tagName === "IMG" ? ee = hl : Fl?.querySelector("iframe") ? Ge = Fl : hl.closest(".embed-figure") ? Ge = hl.closest(".embed-figure") : hl.tagName === "VIDEO" ? Dl = hl : hl.tagName === "IFRAME" && (Ge = hl), j.querySelectorAll(".media-selected").forEach((oe) => {
|
|
29416
29416
|
oe.classList.remove("media-selected");
|
|
29417
29417
|
}), !Gl) {
|
|
29418
29418
|
if (Dl)
|
|
29419
|
-
|
|
29419
|
+
bl.preventDefault(), bl.stopPropagation(), Dl.classList.add("media-selected"), $Z(Dl);
|
|
29420
29420
|
else if (ee)
|
|
29421
|
-
|
|
29421
|
+
bl.preventDefault(), bl.stopPropagation(), ee.classList.add("media-selected"), QZ(ee);
|
|
29422
29422
|
else if (Ge)
|
|
29423
|
-
|
|
29423
|
+
bl.preventDefault(), bl.stopPropagation(), Ge.classList.add("media-selected"), AZ(Ge);
|
|
29424
29424
|
else if (pl && pl.href) {
|
|
29425
|
-
|
|
29425
|
+
bl.preventDefault(), bl.stopPropagation();
|
|
29426
29426
|
const oe = j.getSelection();
|
|
29427
29427
|
if (!oe) return;
|
|
29428
29428
|
const Xe = j.createRange();
|
|
@@ -29435,8 +29435,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29435
29435
|
}
|
|
29436
29436
|
}), j.addEventListener("focus", () => {
|
|
29437
29437
|
if (j.querySelector(".placeholder")) {
|
|
29438
|
-
const
|
|
29439
|
-
j.body.innerHTML = `<p dir="${
|
|
29438
|
+
const bl = Hl();
|
|
29439
|
+
j.body.innerHTML = `<p dir="${bl}"><br></p>`;
|
|
29440
29440
|
const hl = j.body.querySelector("p");
|
|
29441
29441
|
if (hl) {
|
|
29442
29442
|
const pl = j.createRange();
|
|
@@ -29447,8 +29447,8 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29447
29447
|
kl(j);
|
|
29448
29448
|
}
|
|
29449
29449
|
}), j.addEventListener("blur", () => {
|
|
29450
|
-
const
|
|
29451
|
-
a.placeholder && (!j.body.innerHTML.trim() || j.body.innerHTML ===
|
|
29450
|
+
const bl = `<p dir="${Hl()}"><br></p>`;
|
|
29451
|
+
a.placeholder && (!j.body.innerHTML.trim() || j.body.innerHTML === bl) && (P(), kl(j));
|
|
29452
29452
|
});
|
|
29453
29453
|
}
|
|
29454
29454
|
async function BG() {
|
|
@@ -29779,10 +29779,10 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29779
29779
|
(!Gl || Gl.rangeCount === 0 || Gl.getRangeAt(0).collapsed) && ze();
|
|
29780
29780
|
}, 10);
|
|
29781
29781
|
});
|
|
29782
|
-
const $ = P.createTreeWalker(P.body, NodeFilter.SHOW_TEXT),
|
|
29782
|
+
const $ = P.createTreeWalker(P.body, NodeFilter.SHOW_TEXT), bl = [];
|
|
29783
29783
|
let hl;
|
|
29784
|
-
for (; hl = $.nextNode(); ) hl.parentElement === P.body &&
|
|
29785
|
-
if (
|
|
29784
|
+
for (; hl = $.nextNode(); ) hl.parentElement === P.body && bl.push(hl);
|
|
29785
|
+
if (bl.forEach((pl) => {
|
|
29786
29786
|
if (pl.textContent?.trim()) {
|
|
29787
29787
|
const Gl = P.createElement("p");
|
|
29788
29788
|
Gl.dir = P.body.dir, Gl.appendChild(pl.cloneNode()), P.body.replaceChild(Gl, pl);
|
|
@@ -29892,7 +29892,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29892
29892
|
style: N(d)
|
|
29893
29893
|
}, N(r)), [
|
|
29894
29894
|
l.label ? (L(), y("label", Vf, il(l.label), 1)) : D("", !0),
|
|
29895
|
-
R("div", { class:
|
|
29895
|
+
R("div", { class: ul(["rounded", [{
|
|
29896
29896
|
"rich-text-editor pt-05 px-05 pb-075": !l.basic,
|
|
29897
29897
|
"rich-text-editor--basic": l.basic,
|
|
29898
29898
|
"fullscreen-mode": N(G).state.isFullscreen,
|
|
@@ -29917,14 +29917,14 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29917
29917
|
icon: $.icon,
|
|
29918
29918
|
value: $.value,
|
|
29919
29919
|
"aria-label": $.label,
|
|
29920
|
-
class:
|
|
29920
|
+
class: ul([$.class, { active: N(G).state.selectedStyles.has($.name) }]),
|
|
29921
29921
|
"aria-pressed": N(G).state.selectedStyles.has($.name),
|
|
29922
29922
|
thin: "",
|
|
29923
29923
|
flat: "",
|
|
29924
29924
|
tabindex: "-1",
|
|
29925
29925
|
onMousedown: w[0] || (w[0] = te(() => {
|
|
29926
29926
|
}, ["prevent"])),
|
|
29927
|
-
onClick: (
|
|
29927
|
+
onClick: (bl) => $.action(M)
|
|
29928
29928
|
}, null, 8, [
|
|
29929
29929
|
"icon",
|
|
29930
29930
|
"value",
|
|
@@ -29947,14 +29947,14 @@ var Vf = { key: 0 }, Tf = {
|
|
|
29947
29947
|
"hide",
|
|
29948
29948
|
"onAction"
|
|
29949
29949
|
])) : D("", !0),
|
|
29950
|
-
R("div", { class:
|
|
29950
|
+
R("div", { class: ul(["editor-container", { "split-view": N(G).state.isSplitView }]) }, [R("div", {
|
|
29951
29951
|
class: "content-area radius-05",
|
|
29952
29952
|
style: Vl({ height: N(G).state.isFullscreen ? "calc(100vh - 4rem)" : nu.value })
|
|
29953
29953
|
}, [R("iframe", {
|
|
29954
29954
|
id: "rich-text-iframe",
|
|
29955
29955
|
ref_key: "iframe",
|
|
29956
29956
|
ref: p,
|
|
29957
|
-
class:
|
|
29957
|
+
class: ul(["editableContent", { "editor-ready": W.value }]),
|
|
29958
29958
|
title: "Editor",
|
|
29959
29959
|
srcdoc: "",
|
|
29960
29960
|
sandbox: "allow-same-origin allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-top-navigation allow-top-navigation-by-user-activation",
|
|
@@ -30022,21 +30022,21 @@ var Vf = { key: 0 }, Tf = {
|
|
|
30022
30022
|
thin: "",
|
|
30023
30023
|
flat: "",
|
|
30024
30024
|
icon: "format_bold",
|
|
30025
|
-
class:
|
|
30025
|
+
class: ul({ active: N(G).state.selectedStyles.has("bold") }),
|
|
30026
30026
|
onClick: w[4] || (w[4] = ($) => at("bold"))
|
|
30027
30027
|
}, null, 8, ["class"]),
|
|
30028
30028
|
nl(N(Yl), {
|
|
30029
30029
|
thin: "",
|
|
30030
30030
|
flat: "",
|
|
30031
30031
|
icon: "format_italic",
|
|
30032
|
-
class:
|
|
30032
|
+
class: ul({ active: N(G).state.selectedStyles.has("italic") }),
|
|
30033
30033
|
onClick: w[5] || (w[5] = ($) => at("italic"))
|
|
30034
30034
|
}, null, 8, ["class"]),
|
|
30035
30035
|
nl(N(Yl), {
|
|
30036
30036
|
thin: "",
|
|
30037
30037
|
flat: "",
|
|
30038
30038
|
icon: "format_underlined",
|
|
30039
|
-
class:
|
|
30039
|
+
class: ul({ active: N(G).state.selectedStyles.has("underline") }),
|
|
30040
30040
|
onClick: w[6] || (w[6] = ($) => at("underline"))
|
|
30041
30041
|
}, null, 8, ["class"]),
|
|
30042
30042
|
w[82] || (w[82] = R("span", { class: "separator" }, "|", -1)),
|
|
@@ -30464,7 +30464,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
30464
30464
|
label: "Video URL or Embed Code",
|
|
30465
30465
|
type: "url",
|
|
30466
30466
|
placeholder: "Paste YouTube URL, video file URL, or iframe embed code...",
|
|
30467
|
-
class:
|
|
30467
|
+
class: ul({ error: ml.value.src && !ec(ml.value.src) }),
|
|
30468
30468
|
onKeydown: Ee(qZ, ["enter"])
|
|
30469
30469
|
}, null, 8, ["modelValue", "class"]),
|
|
30470
30470
|
ml.value.src && !ec(ml.value.src) ? (L(), y("div", kf, [nl(N(fl), { name: "warning" }), w[95] || (w[95] = R("p", { class: "txt12" }, " Please enter a valid video URL or iframe embed code ", -1))])) : D("", !0),
|
|
@@ -30610,23 +30610,23 @@ var Vf = { key: 0 }, Tf = {
|
|
|
30610
30610
|
}, null, 8, ["modelValue"]),
|
|
30611
30611
|
R("div", Kf, [
|
|
30612
30612
|
w[97] || (w[97] = R("label", { class: "label" }, "Column Widths (%)", -1)),
|
|
30613
|
-
R("div", Hf, [(L(!0), y(yl, null, vl(dl.value.columnWidths.slice(0, dl.value.cols), ($,
|
|
30614
|
-
key:
|
|
30615
|
-
modelValue: dl.value.columnWidths[
|
|
30616
|
-
"onUpdate:modelValue": (hl) => dl.value.columnWidths[
|
|
30613
|
+
R("div", Hf, [(L(!0), y(yl, null, vl(dl.value.columnWidths.slice(0, dl.value.cols), ($, bl) => (L(), ol(ma, {
|
|
30614
|
+
key: bl,
|
|
30615
|
+
modelValue: dl.value.columnWidths[bl],
|
|
30616
|
+
"onUpdate:modelValue": (hl) => dl.value.columnWidths[bl] = hl,
|
|
30617
30617
|
min: 1,
|
|
30618
30618
|
max: 100,
|
|
30619
|
-
label: `Column ${
|
|
30619
|
+
label: `Column ${bl + 1}`
|
|
30620
30620
|
}, null, 8, [
|
|
30621
30621
|
"modelValue",
|
|
30622
30622
|
"onUpdate:modelValue",
|
|
30623
30623
|
"label"
|
|
30624
30624
|
]))), 128))]),
|
|
30625
|
-
R("p", { class:
|
|
30625
|
+
R("p", { class: ul(["txt12 mt-025 mb-0", { "color-red": Math.abs(el.value - 100) > 0.01 }]) }, " Total: " + il(Number(el.value.toFixed(2))) + "% ", 3)
|
|
30626
30626
|
]),
|
|
30627
30627
|
R("div", Pf, [w[98] || (w[98] = R("label", { class: "label" }, "Cell Text Alignment", -1)), R("div", Bf, [
|
|
30628
30628
|
nl(N(Yl), {
|
|
30629
|
-
class:
|
|
30629
|
+
class: ul({ activeBtn: dl.value.alignment === "left" }),
|
|
30630
30630
|
flat: "",
|
|
30631
30631
|
thin: "",
|
|
30632
30632
|
icon: "format_align_left",
|
|
@@ -30634,7 +30634,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
30634
30634
|
onClick: w[57] || (w[57] = ($) => dl.value.alignment = "left")
|
|
30635
30635
|
}, null, 8, ["class"]),
|
|
30636
30636
|
nl(N(Yl), {
|
|
30637
|
-
class:
|
|
30637
|
+
class: ul({ activeBtn: dl.value.alignment === "center" }),
|
|
30638
30638
|
flat: "",
|
|
30639
30639
|
thin: "",
|
|
30640
30640
|
icon: "format_align_center",
|
|
@@ -30642,7 +30642,7 @@ var Vf = { key: 0 }, Tf = {
|
|
|
30642
30642
|
onClick: w[58] || (w[58] = ($) => dl.value.alignment = "center")
|
|
30643
30643
|
}, null, 8, ["class"]),
|
|
30644
30644
|
nl(N(Yl), {
|
|
30645
|
-
class:
|
|
30645
|
+
class: ul({ activeBtn: dl.value.alignment === "right" }),
|
|
30646
30646
|
flat: "",
|
|
30647
30647
|
thin: "",
|
|
30648
30648
|
icon: "format_align_right",
|
|
@@ -30651,14 +30651,14 @@ var Vf = { key: 0 }, Tf = {
|
|
|
30651
30651
|
}, null, 8, ["class"])
|
|
30652
30652
|
])]),
|
|
30653
30653
|
R("div", Qf, [w[99] || (w[99] = R("label", { class: "label" }, "Text Direction", -1)), R("div", Af, [nl(N(Yl), {
|
|
30654
|
-
class:
|
|
30654
|
+
class: ul({ activeBtn: dl.value.direction === "ltr" }),
|
|
30655
30655
|
flat: "",
|
|
30656
30656
|
thin: "",
|
|
30657
30657
|
value: "LTR",
|
|
30658
30658
|
title: "Left to Right",
|
|
30659
30659
|
onClick: w[60] || (w[60] = ($) => dl.value.direction = "ltr")
|
|
30660
30660
|
}, null, 8, ["class"]), nl(N(Yl), {
|
|
30661
|
-
class:
|
|
30661
|
+
class: ul({ activeBtn: dl.value.direction === "rtl" }),
|
|
30662
30662
|
flat: "",
|
|
30663
30663
|
thin: "",
|
|
30664
30664
|
value: "RTL",
|
|
@@ -31368,7 +31368,7 @@ var dj = {
|
|
|
31368
31368
|
addWaterMark: Y,
|
|
31369
31369
|
fromDataURL: r
|
|
31370
31370
|
}), (f, z) => (L(), y("div", {
|
|
31371
|
-
class:
|
|
31371
|
+
class: ul(["bagel-input bgl_input signature-pad relative", [N(a), { "has-value": !o.value }]]),
|
|
31372
31372
|
style: Vl(N(n)),
|
|
31373
31373
|
tabindex: "-1",
|
|
31374
31374
|
onTouchmove: z[0] || (z[0] = te(() => {
|
|
@@ -32872,12 +32872,12 @@ var n2 = [
|
|
|
32872
32872
|
title: l.description
|
|
32873
32873
|
}, [
|
|
32874
32874
|
R("div", {
|
|
32875
|
-
class:
|
|
32875
|
+
class: ul(["bagel-input", N(b)]),
|
|
32876
32876
|
style: Vl(N(r))
|
|
32877
32877
|
}, [R("label", null, il(N(c)?.label), 1)], 6),
|
|
32878
32878
|
R("div", Qj, [R("div", Aj, [(L(!0), y(yl, null, vl(N(s)?.fields, (W) => (L(), y("div", {
|
|
32879
32879
|
key: `${W.fieldname}header`,
|
|
32880
|
-
class:
|
|
32880
|
+
class: ul(["header-col", N(p0)(W.fieldtype, "pascal")])
|
|
32881
32881
|
}, il(W.label), 3))), 128))]), nl(N(Pj), {
|
|
32882
32882
|
modelValue: d.value,
|
|
32883
32883
|
"onUpdate:modelValue": G[0] || (G[0] = (W) => d.value = W),
|
|
@@ -32896,7 +32896,7 @@ var n2 = [
|
|
|
32896
32896
|
R("div", _j, [nl(N(fl), { icon: "more_vert" })]),
|
|
32897
32897
|
(L(!0), y(yl, null, vl(N(s)?.fields, (X) => (L(), y("div", {
|
|
32898
32898
|
key: `${X.fieldname}${W.id}`,
|
|
32899
|
-
class:
|
|
32899
|
+
class: ul(["table-cell", N(p0)(X.fieldtype, "pascal")])
|
|
32900
32900
|
}, [nl(h, {
|
|
32901
32901
|
"no-label": "",
|
|
32902
32902
|
"field-meta": X,
|
|
@@ -43780,7 +43780,7 @@ var NC = {
|
|
|
43780
43780
|
return Al(_), (F, I) => {
|
|
43781
43781
|
const v = $e("pattern");
|
|
43782
43782
|
return L(), y("div", {
|
|
43783
|
-
class:
|
|
43783
|
+
class: ul(["bagel-input text-input", [N(a), {
|
|
43784
43784
|
invalid: !p.value,
|
|
43785
43785
|
"has-error": !!l.error,
|
|
43786
43786
|
underlined: l.underlined,
|
|
@@ -43906,14 +43906,14 @@ var NC = {
|
|
|
43906
43906
|
const e = l, { shellClass: t, shellStyle: a } = Pe(e), n = T(() => e.id || Math.random().toString(36).slice(7)), i = Ce(l, "modelValue");
|
|
43907
43907
|
return Al(() => {
|
|
43908
43908
|
}), (d, c) => (L(), y("div", {
|
|
43909
|
-
class:
|
|
43909
|
+
class: ul(["bagel-input bgl-toggle", [N(t), {
|
|
43910
43910
|
small: l.small,
|
|
43911
43911
|
"has-value": i.value
|
|
43912
43912
|
}]]),
|
|
43913
43913
|
title: l.title,
|
|
43914
43914
|
style: Vl(N(a))
|
|
43915
43915
|
}, [
|
|
43916
|
-
R("div", { class:
|
|
43916
|
+
R("div", { class: ul(["switch", { checked: i.value }]) }, [...c[1] || (c[1] = [R("span", { class: "slider rounded" }, null, -1)])], 2),
|
|
43917
43917
|
Pl(R("input", {
|
|
43918
43918
|
id: n.value,
|
|
43919
43919
|
"onUpdate:modelValue": c[0] || (c[0] = (s) => i.value = s),
|
|
@@ -44170,9 +44170,9 @@ var kC = { class: "app-header-side flex gap-col-075 min-w-0" }, CC = { class: "a
|
|
|
44170
44170
|
...e.maxWidth ? { "--bgl-app-max-width": e.maxWidth } : {}
|
|
44171
44171
|
})), o = T(() => !!e.maxWidth), m = Me(), Z = T(() => !!m["header-center"]);
|
|
44172
44172
|
return (u, b) => (L(), y("div", {
|
|
44173
|
-
class:
|
|
44173
|
+
class: ul(["app-content h-100p flex column", { "app-content--contained": o.value }]),
|
|
44174
44174
|
style: Vl(s.value)
|
|
44175
|
-
}, [R("header", { class:
|
|
44175
|
+
}, [R("header", { class: ul(["app-header flex w-100p", [
|
|
44176
44176
|
`app-header--${d.value}`,
|
|
44177
44177
|
`app-header--m-${c.value}`,
|
|
44178
44178
|
{
|
|
@@ -44211,7 +44211,7 @@ var kC = { class: "app-header-side flex gap-col-075 min-w-0" }, CC = { class: "a
|
|
|
44211
44211
|
]),
|
|
44212
44212
|
Z.value ? (L(), y("div", DC, [R("div", UC, [Ml(u.$slots, "header-center", {}, void 0, !0)])])) : D("", !0),
|
|
44213
44213
|
R("div", OC, [R("div", EC, [Ml(u.$slots, "header-right", {}, void 0, !0)])])
|
|
44214
|
-
], 2), R("main", { class:
|
|
44214
|
+
], 2), R("main", { class: ul(["pageContent flex-grow overflow pb-05 w-100p m_py-05 m_scrollbar-gutter-auto", [
|
|
44215
44215
|
`pageContent--${d.value}`,
|
|
44216
44216
|
`pageContent--m-${c.value}`,
|
|
44217
44217
|
{ "pageContent--fill": l.fill }
|
|
@@ -44521,7 +44521,7 @@ var HC = {
|
|
|
44521
44521
|
closeOnMobile: f
|
|
44522
44522
|
}));
|
|
44523
44523
|
return (ll, Ll) => (L(), y("div", {
|
|
44524
|
-
class:
|
|
44524
|
+
class: ul(["app-layout relative", { "app-layout--resizing": c.value || E.value }]),
|
|
44525
44525
|
style: Vl(v.value)
|
|
44526
44526
|
}, [
|
|
44527
44527
|
Z.value.top.present ? (L(), y("div", HC, [Ml(ll.$slots, "top", xt(It({
|
|
@@ -44530,7 +44530,7 @@ var HC = {
|
|
|
44530
44530
|
setRegion: W
|
|
44531
44531
|
})), void 0, !0)])) : D("", !0),
|
|
44532
44532
|
R("div", {
|
|
44533
|
-
class:
|
|
44533
|
+
class: ul(["app-row relative", { "app-layout--resizing": c.value || E.value }]),
|
|
44534
44534
|
style: Vl(q.value)
|
|
44535
44535
|
}, [
|
|
44536
44536
|
S.value ? (L(), y("div", {
|
|
@@ -44538,7 +44538,7 @@ var HC = {
|
|
|
44538
44538
|
class: "overlay",
|
|
44539
44539
|
onClick: f
|
|
44540
44540
|
})) : D("", !0),
|
|
44541
|
-
R("div", { class:
|
|
44541
|
+
R("div", { class: ul(["region-box region-box--start", { "region-box--flow": Q("start") }]) }, [Ml(ll.$slots, "start", xt(It({
|
|
44542
44542
|
...tl.value,
|
|
44543
44543
|
region: Z.value.start,
|
|
44544
44544
|
setRegion: G
|
|
@@ -44555,7 +44555,7 @@ var HC = {
|
|
|
44555
44555
|
onPointerdown: Ll[1] || (Ll[1] = te((Rl) => F("start", Rl), ["prevent"]))
|
|
44556
44556
|
}, [...Ll[4] || (Ll[4] = [R("div", { class: "region-resize-bar" }, null, -1)])], 40, PC), [[Vn, Zl("start")]])], 2),
|
|
44557
44557
|
R("main", BC, [Ml(ll.$slots, "header", xt(It(tl.value)), void 0, !0), R("div", QC, [Ml(ll.$slots, "default", xt(It(tl.value)), void 0, !0)])]),
|
|
44558
|
-
R("div", { class:
|
|
44558
|
+
R("div", { class: ul(["region-box region-box--end", { "region-box--flow": Q("end") }]) }, [Ml(ll.$slots, "end", xt(It({
|
|
44559
44559
|
...tl.value,
|
|
44560
44560
|
region: Z.value.end,
|
|
44561
44561
|
setRegion: h
|
|
@@ -44617,7 +44617,7 @@ var HC = {
|
|
|
44617
44617
|
return o ? o === "/" ? a.path === o : a.path === o || a.path.startsWith(`${o}/`) : !1;
|
|
44618
44618
|
}
|
|
44619
44619
|
return (s, o) => (L(), y("nav", {
|
|
44620
|
-
class:
|
|
44620
|
+
class: ul(["app-nav flex align-items-center gap-1 px-1-5 bg-box", [l.side === "top" ? "border-bottom" : "border-top", `app-nav--${t.value}`]]),
|
|
44621
44621
|
style: Vl({
|
|
44622
44622
|
height: l.height,
|
|
44623
44623
|
blockSize: l.height
|
|
@@ -44628,7 +44628,7 @@ var HC = {
|
|
|
44628
44628
|
key: m.label,
|
|
44629
44629
|
to: m.to,
|
|
44630
44630
|
href: m.href,
|
|
44631
|
-
class:
|
|
44631
|
+
class: ul(["app-nav-link flex align-items-center gap-05 px-075 py-05 radius-2 no-underline txt-14", [m.class, { "app-nav-link--active": c(m) }]]),
|
|
44632
44632
|
style: Vl(c(m) ? { color: l.activeColor } : void 0),
|
|
44633
44633
|
onClick: (Z) => m.action?.()
|
|
44634
44634
|
}, {
|
|
@@ -44691,7 +44691,7 @@ var HC = {
|
|
|
44691
44691
|
fullWidth: "",
|
|
44692
44692
|
alignTxt: "start",
|
|
44693
44693
|
flat: l.open || l.isMobile,
|
|
44694
|
-
class:
|
|
44694
|
+
class: ul(["sidebar-link-btn flex-shrink-0 px-075 txt-start", {
|
|
44695
44695
|
"sidebar-parent": l.open || l.isMobile,
|
|
44696
44696
|
bold: c.value,
|
|
44697
44697
|
"nav-btn-active": !l.open && !l.isMobile && c.value
|
|
@@ -44711,7 +44711,7 @@ var HC = {
|
|
|
44711
44711
|
nl(N(fl), {
|
|
44712
44712
|
name: "expand_more",
|
|
44713
44713
|
size: "1.1",
|
|
44714
|
-
class:
|
|
44714
|
+
class: ul(["nav-text sidebar-chevron line-height-1", { "sidebar-chevron-open": s.value }])
|
|
44715
44715
|
}, null, 8, ["class"])
|
|
44716
44716
|
]),
|
|
44717
44717
|
_: 1
|
|
@@ -44726,7 +44726,7 @@ var HC = {
|
|
|
44726
44726
|
alignTxt: "start",
|
|
44727
44727
|
thin: "",
|
|
44728
44728
|
flat: "",
|
|
44729
|
-
class:
|
|
44729
|
+
class: ul(["flex-shrink-0 px-075 radius-1 sidebar-child", { "bold sidebar-child-active": n(u) }]),
|
|
44730
44730
|
style: Vl({
|
|
44731
44731
|
color: n(u) ? l.activeColor : "var(--bgl-text-color)",
|
|
44732
44732
|
"--sidebar-active-color": l.activeColor
|
|
@@ -44748,11 +44748,11 @@ var HC = {
|
|
|
44748
44748
|
"onClick"
|
|
44749
44749
|
]))), 128))])]),
|
|
44750
44750
|
_: 1
|
|
44751
|
-
}, 8, ["triggers"]), R("div", { class:
|
|
44751
|
+
}, 8, ["triggers"]), R("div", { class: ul(["sidebar-children", { "sidebar-children-open": s.value && (l.open || l.isMobile) }]) }, [R("div", oD, [(L(!0), y(yl, null, vl(l.link.children, (u) => (L(), ol(N(Yl), {
|
|
44752
44752
|
key: u.to || u.label,
|
|
44753
44753
|
fullWidth: "",
|
|
44754
44754
|
alignTxt: "start",
|
|
44755
|
-
class:
|
|
44755
|
+
class: ul(["flex-shrink-0 ps-075 pe-075 sidebar-child", { "bold sidebar-child-active": n(u) }]),
|
|
44756
44756
|
style: Vl({
|
|
44757
44757
|
color: n(u) ? l.activeColor : l.textColor,
|
|
44758
44758
|
"--sidebar-active-color": l.activeColor
|
|
@@ -44778,7 +44778,7 @@ var HC = {
|
|
|
44778
44778
|
title: !l.open && !l.isMobile ? N(Kl)(l.link.label) : "",
|
|
44779
44779
|
fullWidth: "",
|
|
44780
44780
|
alignTxt: "start",
|
|
44781
|
-
class:
|
|
44781
|
+
class: ul(["sidebar-link-btn flex-shrink-0 px-075", { "nav-btn-active": d.value }]),
|
|
44782
44782
|
style: Vl({
|
|
44783
44783
|
backgroundColor: d.value ? l.activeColor : l.bgColor,
|
|
44784
44784
|
color: d.value ? "white" : l.textColor
|
|
@@ -44864,7 +44864,7 @@ var HC = {
|
|
|
44864
44864
|
const G = ha("router-link");
|
|
44865
44865
|
return L(), y("aside", {
|
|
44866
44866
|
id: "bgl-app-sidebar",
|
|
44867
|
-
class:
|
|
44867
|
+
class: ul(["app-sidebar", {
|
|
44868
44868
|
"fixed start top bottom h-100vh m_h-100svh z-99": N(i),
|
|
44869
44869
|
"h-100p": !N(i),
|
|
44870
44870
|
"sidebar-mobile-open": N(i) && N(n),
|
|
@@ -44879,7 +44879,7 @@ var HC = {
|
|
|
44879
44879
|
color: e.textColor,
|
|
44880
44880
|
...e.card && { borderRadius: "var(--bgl-card-border-radius)" }
|
|
44881
44881
|
}),
|
|
44882
|
-
class:
|
|
44882
|
+
class: ul([{
|
|
44883
44883
|
"card cardWrapSide": e.card,
|
|
44884
44884
|
aside_frame: e.frame
|
|
44885
44885
|
}, "overflow-hidden flex column flex-stretch gap-1 w100p pt-1 pb-05 h-100p"])
|
|
@@ -44896,7 +44896,7 @@ var HC = {
|
|
|
44896
44896
|
key: 0,
|
|
44897
44897
|
src: e.logo,
|
|
44898
44898
|
alt: e.logoAlt,
|
|
44899
|
-
class:
|
|
44899
|
+
class: ul(["contain sidebar-logo-light", {
|
|
44900
44900
|
"sidebar-logo-whiten": e.logoWhitenInDark && !e.logoDark,
|
|
44901
44901
|
"has-dark-logo": !!e.logoDark
|
|
44902
44902
|
}]),
|
|
@@ -44913,7 +44913,7 @@ var HC = {
|
|
|
44913
44913
|
]),
|
|
44914
44914
|
_: 3
|
|
44915
44915
|
})], 4),
|
|
44916
|
-
R("nav", { class:
|
|
44916
|
+
R("nav", { class: ul(["sidebar-nav flex column flex-stretch gap-025 overflow-y scrollbar-gutter-both", {
|
|
44917
44917
|
"flex-grow justify-content-center": e.centerlinks,
|
|
44918
44918
|
"align-items-center": !N(i) && !N(n)
|
|
44919
44919
|
}]) }, [(L(!0), y(yl, null, vl(e.navLinks, (h) => (L(), ol(uD, {
|
|
@@ -44943,7 +44943,7 @@ var HC = {
|
|
|
44943
44943
|
}),
|
|
44944
44944
|
fullWidth: "",
|
|
44945
44945
|
alignTxt: "start",
|
|
44946
|
-
class:
|
|
44946
|
+
class: ul(["sidebar-link-btn flex-shrink-0 px-075", [h.class, { "nav-btn-active": u(h) }]]),
|
|
44947
44947
|
to: h.to || void 0,
|
|
44948
44948
|
onClick: h.action
|
|
44949
44949
|
}, {
|
|
@@ -45008,13 +45008,13 @@ var HC = {
|
|
|
45008
45008
|
const e = Me();
|
|
45009
45009
|
return (t, a) => l.vertical ? (L(), y("div", {
|
|
45010
45010
|
key: 0,
|
|
45011
|
-
class:
|
|
45011
|
+
class: ul(["divider-v", l.class]),
|
|
45012
45012
|
style: Vl(l.size ? { "--divider-size": l.size } : void 0),
|
|
45013
45013
|
role: "separator",
|
|
45014
45014
|
"aria-orientation": "vertical"
|
|
45015
45015
|
}, null, 6)) : l.label || N(e).default ? (L(), y("div", {
|
|
45016
45016
|
key: 1,
|
|
45017
|
-
class:
|
|
45017
|
+
class: ul(["bgl-divider-labeled flex gap-075", l.class]),
|
|
45018
45018
|
role: "separator"
|
|
45019
45019
|
}, [
|
|
45020
45020
|
a[0] || (a[0] = R("span", { class: "divider bgl-divider-line" }, null, -1)),
|
|
@@ -45022,7 +45022,7 @@ var HC = {
|
|
|
45022
45022
|
a[1] || (a[1] = R("span", { class: "divider bgl-divider-line" }, null, -1))
|
|
45023
45023
|
], 2)) : (L(), y("div", {
|
|
45024
45024
|
key: 2,
|
|
45025
|
-
class:
|
|
45025
|
+
class: ul(["divider", l.class]),
|
|
45026
45026
|
role: "separator"
|
|
45027
45027
|
}, null, 2));
|
|
45028
45028
|
}
|
|
@@ -45058,7 +45058,7 @@ var HC = {
|
|
|
45058
45058
|
return m.length > 0 ? m.map(t).join(" ") : "auto";
|
|
45059
45059
|
}
|
|
45060
45060
|
const n = T(() => a(e.rows)), i = T(() => `${e.gap}rem`), d = T(() => e.mGap !== void 0 ? `${e.mGap}rem` : i.value), c = T(() => e.mRows?.length ? a(e.mRows) : n.value), s = T(() => a(e.columns)), o = T(() => e.mColumns?.length ? a(e.mColumns) : s.value);
|
|
45061
|
-
return (m, Z) => (L(), y("div", { class:
|
|
45061
|
+
return (m, Z) => (L(), y("div", { class: ul(["layout", { "layout-h-100": l.h100 }]) }, [Ml(m.$slots, "default", {}, void 0, !0)], 2));
|
|
45062
45062
|
}
|
|
45063
45063
|
}), t6 = /* @__PURE__ */ Jl(VD, [["__scopeId", "data-v-3e416ebc"]]);
|
|
45064
45064
|
function TD(l) {
|
|
@@ -45334,7 +45334,7 @@ var gD = { class: "panel__content" }, wD = [
|
|
|
45334
45334
|
key: 0,
|
|
45335
45335
|
ref_key: "panelEl",
|
|
45336
45336
|
ref: s,
|
|
45337
|
-
class:
|
|
45337
|
+
class: ul(["panel", [u.value ? "panel--h" : "panel--v", Z.value && "panel--collapsed"]]),
|
|
45338
45338
|
style: Vl(G.value)
|
|
45339
45339
|
}, [R("div", gD, [Ml(W.$slots, "default", {
|
|
45340
45340
|
collapsed: Z.value,
|
|
@@ -45342,7 +45342,7 @@ var gD = { class: "panel__content" }, wD = [
|
|
|
45342
45342
|
toggleCollapse: h
|
|
45343
45343
|
}, void 0, !0)]), a.handle && !r.value && !Z.value && p.value ? (L(), y("div", {
|
|
45344
45344
|
key: 0,
|
|
45345
|
-
class:
|
|
45345
|
+
class: ul(["panel__handle", u.value ? "panel__handle--h" : "panel__handle--v"]),
|
|
45346
45346
|
role: "separator",
|
|
45347
45347
|
tabindex: "0",
|
|
45348
45348
|
"aria-label": `Resize ${N(d)}`,
|
|
@@ -45380,7 +45380,7 @@ var gD = { class: "panel__content" }, wD = [
|
|
|
45380
45380
|
return (i, d) => (L(), y("div", {
|
|
45381
45381
|
ref_key: "containerEl",
|
|
45382
45382
|
ref: t,
|
|
45383
|
-
class:
|
|
45383
|
+
class: ul(["resizable", n.value ? "resizable--row" : "resizable--col"])
|
|
45384
45384
|
}, [Ml(i.$slots, "default", {}, void 0, !0)], 2));
|
|
45385
45385
|
}
|
|
45386
45386
|
}), n6 = /* @__PURE__ */ Jl(SD, [["__scopeId", "data-v-2db6dc78"]]), vD = { key: 0 }, FD = /* @__PURE__ */ xl({
|
|
@@ -45397,7 +45397,7 @@ var gD = { class: "panel__content" }, wD = [
|
|
|
45397
45397
|
});
|
|
45398
45398
|
return (c, s) => {
|
|
45399
45399
|
const o = $e("tooltip");
|
|
45400
|
-
return L(), y("div", { class:
|
|
45400
|
+
return L(), y("div", { class: ul(["vh-100 relative p-05 bgl_sidebar", { wideNav: i.value }]) }, [nl(N(Yl), {
|
|
45401
45401
|
thin: "",
|
|
45402
45402
|
color: "white",
|
|
45403
45403
|
class: "mb-05 absolute toggleNav z-2 border",
|
|
@@ -45455,10 +45455,10 @@ var gD = { class: "panel__content" }, wD = [
|
|
|
45455
45455
|
const e = Me();
|
|
45456
45456
|
return (t, a) => (L(!0), y(yl, null, vl(+l.count, (n) => (L(), y(yl, { key: n }, [N(e).default ? (L(), y("div", {
|
|
45457
45457
|
key: 0,
|
|
45458
|
-
class:
|
|
45458
|
+
class: ul(["skeleton-wrap", l.class])
|
|
45459
45459
|
}, [Ml(t.$slots, "default", {}, void 0, !0)], 2)) : (L(), y("div", {
|
|
45460
45460
|
key: 1,
|
|
45461
|
-
class:
|
|
45461
|
+
class: ul(["skeleton", {
|
|
45462
45462
|
round: l.round,
|
|
45463
45463
|
[l.class]: !0
|
|
45464
45464
|
}]),
|
|
@@ -45495,9 +45495,9 @@ var gD = { class: "panel__content" }, wD = [
|
|
|
45495
45495
|
}
|
|
45496
45496
|
return Al(() => {
|
|
45497
45497
|
n.value = t.modelValue || t.router?.currentRoute.value.query.t || t.tabs[0];
|
|
45498
|
-
}), (d, c) => (L(), y("div", { class:
|
|
45498
|
+
}), (d, c) => (L(), y("div", { class: ul(["h-100 grid list-view gap-1", { "side-tabs": l.sideTabs }]) }, [R("div", jD, [Ml(d.$slots, "top-section", {}, void 0, !0), R("div", JD, [(L(!0), y(yl, null, vl(l.tabs, (s) => (L(), y("div", {
|
|
45499
45499
|
key: s,
|
|
45500
|
-
class:
|
|
45500
|
+
class: ul([{ active: s === n.value || s === l.router?.currentRoute.value.path.split("/").slice(-1)[0] }, "tab"]),
|
|
45501
45501
|
onClick: (o) => i(s)
|
|
45502
45502
|
}, il(s), 11, kD))), 128))])]), (L(!0), y(yl, null, vl(l.tabs.filter((s) => s === n.value), (s) => (L(), y("div", {
|
|
45503
45503
|
key: s,
|
|
@@ -45550,7 +45550,7 @@ var DD = { class: "bgl_tabs" }, UD = { key: 0 }, OD = /* @__PURE__ */ xl({
|
|
|
45550
45550
|
const b = n.default?.()?.[1]?.children?.[u];
|
|
45551
45551
|
return b ? le("div", b) : null;
|
|
45552
45552
|
} });
|
|
45553
|
-
return (u, b) => (L(), y("div", DD, [R("div", { class:
|
|
45553
|
+
return (u, b) => (L(), y("div", DD, [R("div", { class: ul(l.center ? "flex justify-content-center" : void 0) }, [nl(N(io), me({
|
|
45554
45554
|
...m.value,
|
|
45555
45555
|
...N(i)
|
|
45556
45556
|
}, {
|
|
@@ -45589,7 +45589,7 @@ var DD = { class: "bgl_tabs" }, UD = { key: 0 }, OD = /* @__PURE__ */ xl({
|
|
|
45589
45589
|
},
|
|
45590
45590
|
setup(l) {
|
|
45591
45591
|
const e = Me();
|
|
45592
|
-
return (t, a) => (L(), y("div", { class:
|
|
45592
|
+
return (t, a) => (L(), y("div", { class: ul(["bgl-tl-item flex gap-075 align-items-start", { "bgl-tl-item--last": l.last }]) }, [R("div", ED, [R("span", {
|
|
45593
45593
|
class: "bgl-tl-marker flex-center",
|
|
45594
45594
|
style: Vl({ "--tl-color": `var(--bgl-${l.color})` })
|
|
45595
45595
|
}, [Ml(t.$slots, "marker", {}, () => [l.icon ? (L(), ol(N(fl), {
|
|
@@ -45728,7 +45728,7 @@ var DD = { class: "bgl_tabs" }, UD = { key: 0 }, OD = /* @__PURE__ */ xl({
|
|
|
45728
45728
|
return L(), y("div", {
|
|
45729
45729
|
ref_key: "tabsWrap",
|
|
45730
45730
|
ref: i,
|
|
45731
|
-
class:
|
|
45731
|
+
class: ul(["grid auto-flow-columns relative fit-content bgl_tabs_wrap overflow-hidden", {
|
|
45732
45732
|
"bgl_flat-tabs": l.flat,
|
|
45733
45733
|
"bgl_vertical-tabs": l.vertical,
|
|
45734
45734
|
"bgl_tabs-outline": l.outline,
|
|
@@ -45742,7 +45742,7 @@ var DD = { class: "bgl_tabs" }, UD = { key: 0 }, OD = /* @__PURE__ */ xl({
|
|
|
45742
45742
|
})), () => [(L(!0), y(yl, null, vl(t.tabs, (G, h) => Pl((L(), y("button", {
|
|
45743
45743
|
key: h,
|
|
45744
45744
|
type: "button",
|
|
45745
|
-
class:
|
|
45745
|
+
class: ul([[{ active: Z(G) }, {
|
|
45746
45746
|
"bgl_tab-thin": l.thin,
|
|
45747
45747
|
"bgl_tab-xs": l.size === "xs",
|
|
45748
45748
|
"bgl_tab-s": l.size === "sm",
|
|
@@ -45935,26 +45935,26 @@ var DD = { class: "bgl_tabs" }, UD = { key: 0 }, OD = /* @__PURE__ */ xl({
|
|
|
45935
45935
|
"size"
|
|
45936
45936
|
])) : D("", !0), l.icon ? (L(), y("span", {
|
|
45937
45937
|
key: 1,
|
|
45938
|
-
class:
|
|
45938
|
+
class: ul(["list-item-icon flex-shrink-0", { "list-item-icon-nobg": !l.iconChip }])
|
|
45939
45939
|
}, [nl(N(fl), {
|
|
45940
45940
|
size: b.value,
|
|
45941
45941
|
icon: l.icon
|
|
45942
45942
|
}, null, 8, ["size", "icon"])], 2)) : D("", !0)]), R("div", iU, [
|
|
45943
45943
|
l.lead ? (L(), y("p", {
|
|
45944
45944
|
key: 0,
|
|
45945
|
-
class:
|
|
45945
|
+
class: ul(["list-item-lead", { ellipsis: l.ellipsis }])
|
|
45946
45946
|
}, [Ul(il(l.lead) + " ", 1), Ml(V.$slots, "lead")], 2)) : D("", !0),
|
|
45947
|
-
R("p", { class:
|
|
45947
|
+
R("p", { class: ul(["list-item-title", { "ellipsis-1": l.ellipsis }]) }, [Ul(il(l.title) + " ", 1), Ml(V.$slots, "default")], 2),
|
|
45948
45948
|
l.subtitle || V.$slots.subtitle ? (L(), y("p", {
|
|
45949
45949
|
key: 1,
|
|
45950
|
-
class:
|
|
45950
|
+
class: ul(["list-item-subtitle", { "ellipsis-1": l.ellipsis }])
|
|
45951
45951
|
}, [Ul(il(l.subtitle) + " ", 1), Ml(V.$slots, "subtitle")], 2)) : D("", !0)
|
|
45952
45952
|
])]),
|
|
45953
45953
|
_: 3
|
|
45954
45954
|
}, 16, ["class"])), [[g, l.ripple && Y.value]]),
|
|
45955
45955
|
R("div", dU, [Ml(V.$slots, "end", {}, () => [l.end ? (L(), y("span", {
|
|
45956
45956
|
key: 0,
|
|
45957
|
-
class:
|
|
45957
|
+
class: ul(["list-item-endtext", { "ellipsis-1": l.ellipsis }]),
|
|
45958
45958
|
textContent: il(l.end)
|
|
45959
45959
|
}, null, 10, cU)) : D("", !0), l.iconEnd ? (L(), ol(N(fl), {
|
|
45960
45960
|
key: 1,
|
|
@@ -46048,7 +46048,7 @@ var rU = /* @__PURE__ */ Jl(oU, [["render", bU]]), hU = ["id"], WU = '<svg width
|
|
|
46048
46048
|
trigger: zl(({ show: n, shown: i }) => [nl(N(Yl), {
|
|
46049
46049
|
thin: "",
|
|
46050
46050
|
flat: "",
|
|
46051
|
-
class:
|
|
46051
|
+
class: ul(a.class),
|
|
46052
46052
|
onClick: (d) => n()
|
|
46053
46053
|
}, {
|
|
46054
46054
|
default: zl(() => [
|
|
@@ -46063,7 +46063,7 @@ var rU = /* @__PURE__ */ Jl(oU, [["render", bU]]), hU = ["id"], WU = '<svg width
|
|
|
46063
46063
|
name: "keyboard_arrow_down",
|
|
46064
46064
|
size: "0.8",
|
|
46065
46065
|
style: { "margin-bottom": "-0.1rem" },
|
|
46066
|
-
class:
|
|
46066
|
+
class: ul(["line-height-0 menu-chevron", { "menu-chevron-open": i }])
|
|
46067
46067
|
}, null, 8, ["class"])
|
|
46068
46068
|
]),
|
|
46069
46069
|
_: 2
|
|
@@ -46073,7 +46073,7 @@ var rU = /* @__PURE__ */ Jl(oU, [["render", bU]]), hU = ["id"], WU = '<svg width
|
|
|
46073
46073
|
thin: "",
|
|
46074
46074
|
flat: "",
|
|
46075
46075
|
to: n.to,
|
|
46076
|
-
class:
|
|
46076
|
+
class: ul([n.class, "block m_px-025"]),
|
|
46077
46077
|
onClick: (i) => n.action?.()
|
|
46078
46078
|
}, {
|
|
46079
46079
|
default: zl(() => [nl(N(fl), {
|
|
@@ -46094,7 +46094,7 @@ var rU = /* @__PURE__ */ Jl(oU, [["render", bU]]), hU = ["id"], WU = '<svg width
|
|
|
46094
46094
|
thin: "",
|
|
46095
46095
|
flat: "",
|
|
46096
46096
|
to: a.to,
|
|
46097
|
-
class:
|
|
46097
|
+
class: ul([a.class, "m_px-025"]),
|
|
46098
46098
|
onClick: (n) => a.action?.()
|
|
46099
46099
|
}, {
|
|
46100
46100
|
default: zl(() => [nl(N(fl), {
|
|
@@ -46129,7 +46129,7 @@ var rU = /* @__PURE__ */ Jl(oU, [["render", bU]]), hU = ["id"], WU = '<svg width
|
|
|
46129
46129
|
function a() {
|
|
46130
46130
|
e.value = !e.value, localStorage.setItem("navOpen", `${e.value}`);
|
|
46131
46131
|
}
|
|
46132
|
-
return Al(t), (n, i) => (L(), y("div", { class:
|
|
46132
|
+
return Al(t), (n, i) => (L(), y("div", { class: ul({
|
|
46133
46133
|
open: e.value,
|
|
46134
46134
|
closed: !e.value
|
|
46135
46135
|
}) }, [
|
|
@@ -46320,7 +46320,7 @@ var rU = /* @__PURE__ */ Jl(oU, [["render", bU]]), hU = ["id"], WU = '<svg width
|
|
|
46320
46320
|
key: 0,
|
|
46321
46321
|
flat: "",
|
|
46322
46322
|
thin: "",
|
|
46323
|
-
class:
|
|
46323
|
+
class: ul({ selected: M.number === a.value }),
|
|
46324
46324
|
value: M.number ? M.number.toString() : "",
|
|
46325
46325
|
onClick: (V) => M.number ? r(M.number) : null
|
|
46326
46326
|
}, null, 8, [
|
|
@@ -46859,7 +46859,7 @@ var nO = ["value"], iO = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
|
|
|
46859
46859
|
"sel-right": r === b
|
|
46860
46860
|
};
|
|
46861
46861
|
}
|
|
46862
|
-
return (s, o) => (L(), y("table", { class:
|
|
46862
|
+
return (s, o) => (L(), y("table", { class: ul({
|
|
46863
46863
|
"fixed-columns": l.isFixed,
|
|
46864
46864
|
"w-100p": !l.isFixed
|
|
46865
46865
|
}) }, [R("thead", ZO, [R("tr", null, [l.showRowNumbers ? (L(), y("th", uO)) : D("", !0), (L(!0), y(yl, null, vl(l.columns, (m) => (L(), y("th", {
|
|
@@ -46869,7 +46869,7 @@ var nO = ["value"], iO = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
|
|
|
46869
46869
|
R("span", { onClick: (Z) => m.sortable && s.$emit("sortColumn", m.key) }, il(m.label || m.key), 9, rO),
|
|
46870
46870
|
l.sortColumn === m.key ? (L(), ol(N(fl), {
|
|
46871
46871
|
key: 0,
|
|
46872
|
-
class:
|
|
46872
|
+
class: ul(["line-height-0 transition-400", { "rotate-180": l.sortDirection === "desc" }]),
|
|
46873
46873
|
name: "keyboard_arrow_down"
|
|
46874
46874
|
}, null, 8, ["class"])) : D("", !0),
|
|
46875
46875
|
R("div", {
|
|
@@ -46890,7 +46890,7 @@ var nO = ["value"], iO = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
|
|
|
46890
46890
|
onClick: (G) => s.$emit("selectRow", Z)
|
|
46891
46891
|
}, il(Z + 1), 9, WO)) : D("", !0), (L(!0), y(yl, null, vl(l.columns, (G, h) => (L(), y("td", {
|
|
46892
46892
|
key: G.key,
|
|
46893
|
-
class:
|
|
46893
|
+
class: ul({
|
|
46894
46894
|
selected: a(Z, h),
|
|
46895
46895
|
locked: !n(G.key),
|
|
46896
46896
|
"wrap-text": l.wrapText,
|
|
@@ -51136,7 +51136,7 @@ var oK = {
|
|
|
51136
51136
|
isLast: s,
|
|
51137
51137
|
currentIndex: o
|
|
51138
51138
|
}), (z, O) => (L(), y("div", {
|
|
51139
|
-
class:
|
|
51139
|
+
class: ul(["swi-wrap", {
|
|
51140
51140
|
"pill-dots": l.pillDots,
|
|
51141
51141
|
"has-navigation": l.navigation,
|
|
51142
51142
|
"has-pagination": l.pagination
|
|
@@ -53626,7 +53626,7 @@ var uH = {
|
|
|
53626
53626
|
return e({ close: p }), (G, h) => (L(), y("dialog", {
|
|
53627
53627
|
ref_key: "dialogRef",
|
|
53628
53628
|
ref: d,
|
|
53629
|
-
class:
|
|
53629
|
+
class: ul([[m.value, { "is-closing": c.value }], "border-none shadow-30 p-0 testMe1 dialog-no-focus-outline"]),
|
|
53630
53630
|
style: Vl({ "--dialog-width": o.value }),
|
|
53631
53631
|
onClick: b,
|
|
53632
53632
|
onCancel: r,
|
|
@@ -53642,7 +53642,7 @@ var uH = {
|
|
|
53642
53642
|
n.value ? (L(), y("div", uH)) : D("", !0),
|
|
53643
53643
|
l.title || G.$slots.header || l.dismissable ? (L(), y("header", {
|
|
53644
53644
|
key: 1,
|
|
53645
|
-
class:
|
|
53645
|
+
class: ul(["flex space-between flex-shrink-0 align-items-start gap-05", {
|
|
53646
53646
|
"border-bottom": !l.flat,
|
|
53647
53647
|
"border-none": !l.title && !G.$slots.header,
|
|
53648
53648
|
"m_ps-1": l.title || G.$slots.header,
|
|
@@ -53662,7 +53662,7 @@ var uH = {
|
|
|
53662
53662
|
})) : D("", !0),
|
|
53663
53663
|
l.title || G.$slots.header ? (L(), y("h3", {
|
|
53664
53664
|
key: 1,
|
|
53665
|
-
class:
|
|
53665
|
+
class: ul(["dialog-title m-0 txt20 semi w-100p", {
|
|
53666
53666
|
"txt-center balance": l.centerTitle,
|
|
53667
53667
|
"word-break-all": !l.centerTitle,
|
|
53668
53668
|
"ellipsis-1": l.ellipsisTitle
|
|
@@ -53679,13 +53679,13 @@ var uH = {
|
|
|
53679
53679
|
onClick: p
|
|
53680
53680
|
})) : D("", !0)
|
|
53681
53681
|
], 2)) : D("", !0),
|
|
53682
|
-
R("div", { class:
|
|
53682
|
+
R("div", { class: ul(["overflow-y flex-grow-1 m_p-1", {
|
|
53683
53683
|
"px-1 py-05": l.thin,
|
|
53684
53684
|
"px-1-5 py-1": !l.thin
|
|
53685
53685
|
}]) }, [Ml(G.$slots, "default", {}, void 0, !0)], 2),
|
|
53686
53686
|
G.$slots.footer ? (L(), y("footer", {
|
|
53687
53687
|
key: 2,
|
|
53688
|
-
class:
|
|
53688
|
+
class: ul(["flex flex-shrink-0 gap-05 m_px-05 m_py-05 justify-content-end", {
|
|
53689
53689
|
"border-top": !l.flat,
|
|
53690
53690
|
"px-05 py-05": l.thin,
|
|
53691
53691
|
"px-1-5 py-1": !l.thin
|
|
@@ -54259,12 +54259,12 @@ var IH = /* @__PURE__ */ xl({
|
|
|
54259
54259
|
return L(), y("form", {
|
|
54260
54260
|
ref_key: "formElement",
|
|
54261
54261
|
ref: h,
|
|
54262
|
-
class:
|
|
54262
|
+
class: ul(["grid-form", l.schema._class]),
|
|
54263
54263
|
onSubmit: Nl
|
|
54264
54264
|
}, [G.value === "success" ? Ml(E.$slots, "success", { formData: b.value }, void 0, void 0, 0) : (L(), y(yl, { key: 1 }, [
|
|
54265
54265
|
(L(!0), y(yl, null, vl(M.value, ({ key: F, field: I }) => (L(), y("div", {
|
|
54266
54266
|
key: X(F, I),
|
|
54267
|
-
class:
|
|
54267
|
+
class: ul([I._class, I._config.class]),
|
|
54268
54268
|
style: Vl(V(I))
|
|
54269
54269
|
}, [Ml(E.$slots, `field:${F}`, {
|
|
54270
54270
|
value: z(F),
|
|
@@ -55860,7 +55860,7 @@ var qH = { class: "multi-step-form" }, lP = { class: "step-progress" }, eP = ["o
|
|
|
55860
55860
|
}), (U, K) => (L(), y("div", qH, [
|
|
55861
55861
|
R("div", lP, [(L(!0), y(yl, null, vl(r.value, (Q, q) => (L(), y("div", {
|
|
55862
55862
|
key: Q.key,
|
|
55863
|
-
class:
|
|
55863
|
+
class: ul(["step-indicator", {
|
|
55864
55864
|
active: Q.key === o.value,
|
|
55865
55865
|
completed: q < p.value
|
|
55866
55866
|
}]),
|
|
@@ -56164,7 +56164,7 @@ var hP = {
|
|
|
56164
56164
|
progress: V,
|
|
56165
56165
|
completedKeys: r,
|
|
56166
56166
|
validateStep: U
|
|
56167
|
-
}), (I, v) => (L(), y("div", { class:
|
|
56167
|
+
}), (I, v) => (L(), y("div", { class: ul(["form-flow-player", { "form-flow-player--stages": l.showStages }]) }, [
|
|
56168
56168
|
l.showStages ? (L(), y("nav", hP, [R("ol", WP, [(L(!0), y(yl, null, vl(x.value, (S, tl) => (L(), y("li", { key: S.key }, [nl(ua, {
|
|
56169
56169
|
rounded: "",
|
|
56170
56170
|
color: "purple",
|
|
@@ -56174,7 +56174,7 @@ var hP = {
|
|
|
56174
56174
|
"aria-current": u.value === S.key ? "step" : void 0,
|
|
56175
56175
|
onClick: (ll) => k(S.key)
|
|
56176
56176
|
}, {
|
|
56177
|
-
media: zl(() => [R("span", { class:
|
|
56177
|
+
media: zl(() => [R("span", { class: ul(["ffp-stage-number flex-center round border", u.value === S.key ? "bg-primary color-white border-transparent" : r.value.has(S.key) ? "bg-green color-white border-green" : "color-gray"]) }, [r.value.has(S.key) && u.value !== S.key ? (L(), ol(fl, {
|
|
56178
56178
|
key: 0,
|
|
56179
56179
|
icon: "check",
|
|
56180
56180
|
size: 0.9
|
|
@@ -57624,7 +57624,7 @@ var EP = {
|
|
|
57624
57624
|
class: "lightbox-pdf"
|
|
57625
57625
|
}, $P = ["src", "title"], qP = {
|
|
57626
57626
|
key: 3,
|
|
57627
|
-
class: "lightbox-file"
|
|
57627
|
+
class: "lightbox-file flex-center"
|
|
57628
57628
|
}, lB = { class: "file-info txt-white flex m_block align-items-start gap-025" }, eB = { class: "txt-start" }, tB = { class: "mx-0 light" }, aB = { class: "semi word-break-all" }, nB = { class: "mx-0" }, iB = { class: "semi" }, dB = /* @__PURE__ */ xl({
|
|
57629
57629
|
__name: "Lightbox",
|
|
57630
57630
|
setup(l, { expose: e }) {
|
|
@@ -57723,7 +57723,7 @@ var EP = {
|
|
|
57723
57723
|
"onUpdate:index": r[6] || (r[6] = (p) => i.value = p),
|
|
57724
57724
|
items: n.value,
|
|
57725
57725
|
"initial-slide": i.value,
|
|
57726
|
-
class:
|
|
57726
|
+
class: ul(["bgl-lightbox-swiper", { zoomed: c.value > 1 }]),
|
|
57727
57727
|
navigation: n.value.length > 1,
|
|
57728
57728
|
"grab-cursor": s.value,
|
|
57729
57729
|
keyboard: !0,
|
|
@@ -57791,13 +57791,25 @@ var EP = {
|
|
|
57791
57791
|
"prev-button": zl(({ prev: p }) => [nl(N(Yl), {
|
|
57792
57792
|
icon: "arrow_back",
|
|
57793
57793
|
color: "black",
|
|
57794
|
+
disabled: i.value === 0,
|
|
57795
|
+
class: ul({ "color-black-70": i.value === 0 }),
|
|
57794
57796
|
onClick: p
|
|
57795
|
-
}, null, 8, [
|
|
57797
|
+
}, null, 8, [
|
|
57798
|
+
"disabled",
|
|
57799
|
+
"class",
|
|
57800
|
+
"onClick"
|
|
57801
|
+
])]),
|
|
57796
57802
|
"next-button": zl(({ next: p }) => [nl(N(Yl), {
|
|
57797
57803
|
icon: "arrow_forward",
|
|
57798
57804
|
color: "black",
|
|
57805
|
+
disabled: i.value === n.value.length - 1,
|
|
57806
|
+
class: ul({ "color-black-70": i.value === n.value.length - 1 }),
|
|
57799
57807
|
onClick: p
|
|
57800
|
-
}, null, 8, [
|
|
57808
|
+
}, null, 8, [
|
|
57809
|
+
"disabled",
|
|
57810
|
+
"class",
|
|
57811
|
+
"onClick"
|
|
57812
|
+
])]),
|
|
57801
57813
|
_: 1
|
|
57802
57814
|
}, 8, [
|
|
57803
57815
|
"index",
|
|
@@ -57815,7 +57827,7 @@ var EP = {
|
|
|
57815
57827
|
}, ["stop"]))
|
|
57816
57828
|
}, [(L(!0), y(yl, null, vl(n.value, (p, G) => (L(), y(yl, { key: G }, [p.type === "image" ? (L(), ol(N(ls), {
|
|
57817
57829
|
key: 0,
|
|
57818
|
-
class:
|
|
57830
|
+
class: ul(["thumbnail", { active: i.value === G }]),
|
|
57819
57831
|
src: p.src,
|
|
57820
57832
|
alt: "",
|
|
57821
57833
|
onClick: te((h) => u(G), ["stop"])
|
|
@@ -57825,7 +57837,7 @@ var EP = {
|
|
|
57825
57837
|
"onClick"
|
|
57826
57838
|
])) : (L(), ol(N(fl), {
|
|
57827
57839
|
key: 1,
|
|
57828
|
-
class:
|
|
57840
|
+
class: ul(["thumbnail thumbnail-icon", { active: i.value === G }]),
|
|
57829
57841
|
icon: "description",
|
|
57830
57842
|
onClick: te((h) => u(G), ["stop"])
|
|
57831
57843
|
}, null, 8, ["class", "onClick"]))], 64))), 128))])) : D("", !0)
|
|
@@ -58172,7 +58184,7 @@ var wa = "Vue-Toastification", qt = {
|
|
|
58172
58184
|
function xB(l, e) {
|
|
58173
58185
|
return L(), y("div", {
|
|
58174
58186
|
style: Vl(l.style),
|
|
58175
|
-
class:
|
|
58187
|
+
class: ul(l.cpClass)
|
|
58176
58188
|
}, null, 6);
|
|
58177
58189
|
}
|
|
58178
58190
|
Hp.render = xB;
|
|
@@ -58305,7 +58317,7 @@ var PB = _p, $p = xl({
|
|
|
58305
58317
|
} }
|
|
58306
58318
|
});
|
|
58307
58319
|
function BB(l, e) {
|
|
58308
|
-
return L(), ol(fe(l.component), { class:
|
|
58320
|
+
return L(), ol(fe(l.component), { class: ul(l.iconClasses) }, {
|
|
58309
58321
|
default: zl(() => [Ul(il(l.customIconChildren), 1)]),
|
|
58310
58322
|
_: 1
|
|
58311
58323
|
}, 8, ["class"]);
|
|
@@ -58428,7 +58440,7 @@ var qp = xl({
|
|
|
58428
58440
|
function AB(l, e) {
|
|
58429
58441
|
const t = ha("Icon"), a = ha("CloseButton"), n = ha("ProgressBar");
|
|
58430
58442
|
return L(), y("div", {
|
|
58431
|
-
class:
|
|
58443
|
+
class: ul(l.classes),
|
|
58432
58444
|
style: Vl(l.draggableStyle),
|
|
58433
58445
|
onClick: e[0] || (e[0] = (...i) => l.clickHandler && l.clickHandler(...i)),
|
|
58434
58446
|
onMouseenter: e[1] || (e[1] = (...i) => l.hoverPause && l.hoverPause(...i)),
|
|
@@ -58441,7 +58453,7 @@ function AB(l, e) {
|
|
|
58441
58453
|
}, null, 8, ["custom-icon", "type"])) : D("v-if", !0),
|
|
58442
58454
|
R("div", {
|
|
58443
58455
|
role: l.accessibility.toastRole || "alert",
|
|
58444
|
-
class:
|
|
58456
|
+
class: ul(l.bodyClasses)
|
|
58445
58457
|
}, [typeof l.content == "string" ? (L(), y(yl, { key: 0 }, [Ul(il(l.content), 1)], 2112)) : (L(), ol(fe(l.getVueComponentFromObj(l.content)), me({
|
|
58446
58458
|
key: 1,
|
|
58447
58459
|
"toast-id": l.id
|
|
@@ -58575,7 +58587,7 @@ function qB(l, e) {
|
|
|
58575
58587
|
const t = ha("Toast"), a = ha("VtTransition");
|
|
58576
58588
|
return L(), y("div", null, [(L(!0), y(yl, null, vl(l.positions, (n) => (L(), y("div", { key: n }, [nl(a, {
|
|
58577
58589
|
transition: l.defaults.transition,
|
|
58578
|
-
class:
|
|
58590
|
+
class: ul(l.getClasses(n))
|
|
58579
58591
|
}, {
|
|
58580
58592
|
default: zl(() => [(L(!0), y(yl, null, vl(l.getPositionToasts(n), (i) => (L(), ol(t, me({ key: i.id }, i), null, 16))), 128))]),
|
|
58581
58593
|
_: 2
|
|
@@ -58658,7 +58670,7 @@ var ro = /* @__PURE__ */ Symbol("VueToastification"), EZ = new bo(), t8 = (l, e)
|
|
|
58658
58670
|
},
|
|
58659
58671
|
setup(l) {
|
|
58660
58672
|
const e = l, t = T(() => e.type ? e.type : e.error ? "error" : e.warning ? "warning" : e.success ? "success" : "info");
|
|
58661
|
-
return (a, n) => (L(), y("div", { class:
|
|
58673
|
+
return (a, n) => (L(), y("div", { class: ul(["custom-toast", `custom-toast--${t.value}`]) }, [
|
|
58662
58674
|
l.showIcon ? (L(), y("div", n8, [
|
|
58663
58675
|
t.value === "success" ? (L(), ol(N(fl), {
|
|
58664
58676
|
key: 0,
|