@nylas/web-elements 2.5.7 → 2.5.9
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/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +1315 -1313
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +309 -308
- package/dist/cjs/checkmark-icon_14.cjs.entry.js +5 -3
- package/dist/cjs/checkmark-icon_14.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.cjs.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +8 -7
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +11 -6
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
- package/dist/cjs/{version-C5rRjTHU.js → version-CN5nqWgI.js} +3 -3
- package/dist/cjs/{version-C5rRjTHU.js.map → version-CN5nqWgI.js.map} +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +10 -5
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +7 -6
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +2 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +3 -2
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group.js +1 -1
- package/dist/components/nylas-editor-tabs.js +1 -1
- package/dist/components/nylas-event-calendar.js +1 -1
- package/dist/components/nylas-event-description.js +1 -1
- package/dist/components/nylas-event-title.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +6 -6
- package/dist/components/nylas-scheduling.js +11 -6
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/{p-HJ5amhvq.js → p-2vIl9-lT.js} +12 -11
- package/dist/components/p-2vIl9-lT.js.map +1 -0
- package/dist/components/{p-y15sKy8D.js → p-B9G8DJJr.js} +4 -3
- package/dist/components/p-B9G8DJJr.js.map +1 -0
- package/dist/components/{p-BRszp61A.js → p-BfwqDqHx.js} +3 -3
- package/dist/components/{p-BRszp61A.js.map → p-BfwqDqHx.js.map} +1 -1
- package/dist/components/{p-CJ7rVNTy.js → p-BlxYpYrq.js} +5 -4
- package/dist/components/p-BlxYpYrq.js.map +1 -0
- package/dist/components/{p-lV8W1_93.js → p-CiJgH0CI.js} +4 -4
- package/dist/components/{p-lV8W1_93.js.map → p-CiJgH0CI.js.map} +1 -1
- package/dist/components/{p-DqVU9VaM.js → p-DwzjmWk7.js} +6 -6
- package/dist/components/{p-DqVU9VaM.js.map → p-DwzjmWk7.js.map} +1 -1
- package/dist/esm/checkmark-icon.copy-icon.dragable-icon.eye-icon.feedback-icon.input-color-picker.nylas-additional-participants.nylas-event-description.nylas-event-info.nylas-event-location.nylas-event-title.nylas-feedback-form.nylas-reminder-time.trash-icon.entry.js.map +1 -1
- package/dist/esm/checkmark-icon_14.entry.js +5 -3
- package/dist/esm/checkmark-icon_14.entry.js.map +1 -1
- package/dist/esm/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +8 -7
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +11 -6
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/{version-C5BO7xwe.js → version-zgIeli_M.js} +3 -3
- package/dist/esm/{version-C5BO7xwe.js.map → version-zgIeli_M.js.map} +1 -1
- package/dist/nylas-web-elements/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-85955466.entry.js → p-6aa41c34.entry.js} +2 -2
- package/dist/nylas-web-elements/p-6aa41c34.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-acd75a32.entry.js +2 -0
- package/dist/nylas-web-elements/p-acd75a32.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-ae86e7c6.entry.js → p-ec243a08.entry.js} +2 -2
- package/dist/nylas-web-elements/p-f5cf565f.entry.js +2 -0
- package/dist/nylas-web-elements/p-f5cf565f.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-C5BO7xwe.js → p-zgIeli_M.js} +2 -2
- package/dist/nylas-web-elements/{p-C5BO7xwe.js.map → p-zgIeli_M.js.map} +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/dist/components/p-CJ7rVNTy.js.map +0 -1
- package/dist/components/p-HJ5amhvq.js.map +0 -1
- package/dist/components/p-y15sKy8D.js.map +0 -1
- package/dist/nylas-web-elements/p-083268de.entry.js +0 -2
- package/dist/nylas-web-elements/p-083268de.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-85955466.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-e240fd68.entry.js +0 -2
- package/dist/nylas-web-elements/p-e240fd68.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-ae86e7c6.entry.js.map → p-ec243a08.entry.js.map} +0 -0
|
@@ -244,7 +244,7 @@ nylas-selected-event-card {
|
|
|
244
244
|
var U$ = Object.defineProperty, H$ = (t, e) => {
|
|
245
245
|
for (var n in e)
|
|
246
246
|
U$(t, n, { get: e[n], enumerable: !0 });
|
|
247
|
-
}, G$ = "http://www.w3.org/2000/svg", Y$ = "http://www.w3.org/1999/xhtml",
|
|
247
|
+
}, G$ = "http://www.w3.org/2000/svg", Y$ = "http://www.w3.org/1999/xhtml", wt = (t) => {
|
|
248
248
|
if (t.__stencil__getHostRef)
|
|
249
249
|
return t.__stencil__getHostRef();
|
|
250
250
|
}, V$ = (t, e) => {
|
|
@@ -641,13 +641,13 @@ var Li, ir, Sr, oo = !1, rr = !1, qo = !1, qe = !1, ar = (t, e, n) => {
|
|
|
641
641
|
const n = Array.from(t.__childNodes || t.childNodes);
|
|
642
642
|
for (let i = n.length - 1; i >= 0; i--) {
|
|
643
643
|
const r = n[i];
|
|
644
|
-
r["s-hn"] !== Sr && r["s-ol"] && (
|
|
644
|
+
r["s-hn"] !== Sr && r["s-ol"] && (zt(Kn(r).parentNode, r, Kn(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, qo = !0), e && Wn(r, e);
|
|
645
645
|
}
|
|
646
646
|
Oe.$flags$ &= -2;
|
|
647
647
|
}, Gu = (t, e, n, i, r, a) => {
|
|
648
648
|
let o = t["s-cr"] && t["s-cr"].parentNode || t, s;
|
|
649
649
|
for (o.shadowRoot && o.tagName === Sr && (o = o.shadowRoot); r <= a; ++r)
|
|
650
|
-
i[r] && (s = ar(null, n, r), s && (i[r].$elm$ = s,
|
|
650
|
+
i[r] && (s = ar(null, n, r), s && (i[r].$elm$ = s, zt(o, s, Kn(e))));
|
|
651
651
|
}, Yu = (t, e, n) => {
|
|
652
652
|
for (let i = e; i <= n; ++i) {
|
|
653
653
|
const r = t[i];
|
|
@@ -672,16 +672,16 @@ var Li, ir, Sr, oo = !1, rr = !1, qo = !1, qe = !1, ar = (t, e, n) => {
|
|
|
672
672
|
else if (gi(h, g, r))
|
|
673
673
|
pn(h, g, r), h = e[--c], g = i[--l];
|
|
674
674
|
else if (gi(f, g, r))
|
|
675
|
-
(f.$tag$ === "slot" || g.$tag$ === "slot") && Wn(f.$elm$.parentNode, !1), pn(f, g, r),
|
|
675
|
+
(f.$tag$ === "slot" || g.$tag$ === "slot") && Wn(f.$elm$.parentNode, !1), pn(f, g, r), zt(t, f.$elm$, h.$elm$.nextSibling), f = e[++a], g = i[--l];
|
|
676
676
|
else if (gi(h, d, r))
|
|
677
|
-
(f.$tag$ === "slot" || g.$tag$ === "slot") && Wn(h.$elm$.parentNode, !1), pn(h, d, r),
|
|
677
|
+
(f.$tag$ === "slot" || g.$tag$ === "slot") && Wn(h.$elm$.parentNode, !1), pn(h, d, r), zt(t, h.$elm$, f.$elm$), h = e[--c], d = i[++o];
|
|
678
678
|
else {
|
|
679
679
|
for (s = -1, u = a; u <= c; ++u)
|
|
680
680
|
if (e[u] && e[u].$key$ !== null && e[u].$key$ === d.$key$) {
|
|
681
681
|
s = u;
|
|
682
682
|
break;
|
|
683
683
|
}
|
|
684
|
-
s >= 0 ? (m = e[s], m.$tag$ !== d.$tag$ ? b = ar(e && e[o], n, s) : (pn(m, d, r), e[s] = void 0, b = m.$elm$), d = i[++o]) : (b = ar(e && e[o], n, o), d = i[++o]), b &&
|
|
684
|
+
s >= 0 ? (m = e[s], m.$tag$ !== d.$tag$ ? b = ar(e && e[o], n, s) : (pn(m, d, r), e[s] = void 0, b = m.$elm$), d = i[++o]) : (b = ar(e && e[o], n, o), d = i[++o]), b && zt(
|
|
685
685
|
Kn(f.$elm$).parentNode,
|
|
686
686
|
b,
|
|
687
687
|
Kn(f.$elm$)
|
|
@@ -702,7 +702,7 @@ var Li, ir, Sr, oo = !1, rr = !1, qo = !1, qe = !1, ar = (t, e, n) => {
|
|
|
702
702
|
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
703
703
|
!n && ei.updatable && r !== null && Yu(r, 0, r.length - 1)
|
|
704
704
|
), qe && o === "svg" && (qe = !1)) : (u = i["s-cr"]) ? u.parentNode.textContent = s : t.$text$ !== s && (i.data = s);
|
|
705
|
-
},
|
|
705
|
+
}, Ct = [], Vu = (t) => {
|
|
706
706
|
let e, n, i;
|
|
707
707
|
const r = t.__childNodes || t.childNodes;
|
|
708
708
|
for (const a of r) {
|
|
@@ -712,14 +712,14 @@ var Li, ir, Sr, oo = !1, rr = !1, qo = !1, qe = !1, ar = (t, e, n) => {
|
|
|
712
712
|
for (i = n.length - 1; i >= 0; i--)
|
|
713
713
|
if (e = n[i], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== a["s-hn"])
|
|
714
714
|
if (Ss(e, o)) {
|
|
715
|
-
let s =
|
|
716
|
-
rr = !0, e["s-sn"] = e["s-sn"] || o, s ? (s.$nodeToRelocate$["s-sh"] = a["s-hn"], s.$slotRefNode$ = a) : (e["s-sh"] = a["s-hn"],
|
|
715
|
+
let s = Ct.find((u) => u.$nodeToRelocate$ === e);
|
|
716
|
+
rr = !0, e["s-sn"] = e["s-sn"] || o, s ? (s.$nodeToRelocate$["s-sh"] = a["s-hn"], s.$slotRefNode$ = a) : (e["s-sh"] = a["s-hn"], Ct.push({
|
|
717
717
|
$slotRefNode$: a,
|
|
718
718
|
$nodeToRelocate$: e
|
|
719
|
-
})), e["s-sr"] &&
|
|
720
|
-
Ss(u.$nodeToRelocate$, e["s-sn"]) && (s =
|
|
719
|
+
})), e["s-sr"] && Ct.map((u) => {
|
|
720
|
+
Ss(u.$nodeToRelocate$, e["s-sn"]) && (s = Ct.find((c) => c.$nodeToRelocate$ === e), s && !u.$slotRefNode$ && (u.$slotRefNode$ = s.$slotRefNode$));
|
|
721
721
|
});
|
|
722
|
-
} else
|
|
722
|
+
} else Ct.some((s) => s.$nodeToRelocate$ === e) || Ct.push({
|
|
723
723
|
$nodeToRelocate$: e
|
|
724
724
|
});
|
|
725
725
|
}
|
|
@@ -727,7 +727,7 @@ var Li, ir, Sr, oo = !1, rr = !1, qo = !1, qe = !1, ar = (t, e, n) => {
|
|
|
727
727
|
}
|
|
728
728
|
}, Wu = (t) => {
|
|
729
729
|
t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(Wu);
|
|
730
|
-
},
|
|
730
|
+
}, zt = (t, e, n) => (typeof e["s-sn"] == "string" && e["s-sr"] && e["s-cr"] && Ku(e["s-cr"], e, t, e.parentElement), t == null ? void 0 : t.insertBefore(e, n));
|
|
731
731
|
function Ku(t, e, n, i) {
|
|
732
732
|
var r, a;
|
|
733
733
|
let o;
|
|
@@ -758,14 +758,14 @@ var TB = (t, e, n = !1) => {
|
|
|
758
758
|
{
|
|
759
759
|
if (Oe.$flags$ |= 1, qo) {
|
|
760
760
|
Vu(h.$elm$);
|
|
761
|
-
for (const l of
|
|
761
|
+
for (const l of Ct) {
|
|
762
762
|
const d = l.$nodeToRelocate$;
|
|
763
763
|
if (!d["s-ol"] && Ce.document) {
|
|
764
764
|
const g = Ce.document.createTextNode("");
|
|
765
|
-
g["s-nr"] = d,
|
|
765
|
+
g["s-nr"] = d, zt(d.parentNode, d["s-ol"] = g, d);
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
|
-
for (const l of
|
|
768
|
+
for (const l of Ct) {
|
|
769
769
|
const d = l.$nodeToRelocate$, g = l.$slotRefNode$;
|
|
770
770
|
if (g) {
|
|
771
771
|
const b = g.parentNode;
|
|
@@ -786,12 +786,12 @@ var TB = (t, e, n = !1) => {
|
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
const p = d.__parentNode || d.parentNode, y = d.__nextSibling || d.nextSibling;
|
|
789
|
-
(!m && b !== p || y !== m) && d !== m && (!d["s-hn"] && d["s-ol"] && (d["s-hn"] = d["s-ol"].parentNode.nodeName),
|
|
789
|
+
(!m && b !== p || y !== m) && d !== m && (!d["s-hn"] && d["s-ol"] && (d["s-hn"] = d["s-ol"].parentNode.nodeName), zt(b, d, m), d.nodeType === 1 && d.tagName !== "SLOT-FB" && (d.hidden = (a = d["s-ih"]) != null ? a : !1)), d && typeof g["s-rf"] == "function" && g["s-rf"](g);
|
|
790
790
|
} else
|
|
791
791
|
d.nodeType === 1 && (n && (d["s-ih"] = (o = d.hidden) != null ? o : !1), d.hidden = !0);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
rr && Fu(h.$elm$), Oe.$flags$ &= -2,
|
|
794
|
+
rr && Fu(h.$elm$), Oe.$flags$ &= -2, Ct.length = 0;
|
|
795
795
|
}
|
|
796
796
|
ir = void 0;
|
|
797
797
|
}, Zu = (t, e) => {
|
|
@@ -851,7 +851,7 @@ var TB = (t, e, n = !1) => {
|
|
|
851
851
|
}, Ls = (t) => {
|
|
852
852
|
var e;
|
|
853
853
|
{
|
|
854
|
-
const n =
|
|
854
|
+
const n = wt(t), i = (e = n == null ? void 0 : n.$hostElement$) == null ? void 0 : e.isConnected;
|
|
855
855
|
return i && (n.$flags$ & 18) === 2 && xr(n, !1), i;
|
|
856
856
|
}
|
|
857
857
|
}, xB = (t) => {
|
|
@@ -866,8 +866,8 @@ var TB = (t, e, n = !1) => {
|
|
|
866
866
|
}, AB = (t) => {
|
|
867
867
|
var e;
|
|
868
868
|
return t.classList.add((e = ei.hydratedSelectorName) != null ? e : "hydrated");
|
|
869
|
-
}, $B = (t, e) =>
|
|
870
|
-
const r =
|
|
869
|
+
}, $B = (t, e) => wt(t).$instanceValues$.get(e), Os = (t, e, n, i) => {
|
|
870
|
+
const r = wt(t);
|
|
871
871
|
if (!r)
|
|
872
872
|
return;
|
|
873
873
|
const a = t, o = r.$instanceValues$.get(e), s = r.$flags$, u = a;
|
|
@@ -905,7 +905,7 @@ var TB = (t, e, n = !1) => {
|
|
|
905
905
|
Object.defineProperty(a, o, {
|
|
906
906
|
value(...u) {
|
|
907
907
|
var c;
|
|
908
|
-
const f =
|
|
908
|
+
const f = wt(this), h = this;
|
|
909
909
|
if (!h)
|
|
910
910
|
(c = f == null ? void 0 : f.$onReadyPromise$) == null || c.then((l) => {
|
|
911
911
|
const d = l[o];
|
|
@@ -931,7 +931,7 @@ var TB = (t, e, n = !1) => {
|
|
|
931
931
|
enumerable: !0
|
|
932
932
|
}), Object.defineProperty(a, s, {
|
|
933
933
|
set(h) {
|
|
934
|
-
const l =
|
|
934
|
+
const l = wt(this);
|
|
935
935
|
if (l) {
|
|
936
936
|
if (f) {
|
|
937
937
|
const d = u & 32 ? this[s] : l.$hostElement$[s];
|
|
@@ -964,7 +964,7 @@ var TB = (t, e, n = !1) => {
|
|
|
964
964
|
this[l] == f)
|
|
965
965
|
return;
|
|
966
966
|
if (l == null) {
|
|
967
|
-
const g =
|
|
967
|
+
const g = wt(this), b = g == null ? void 0 : g.$flags$;
|
|
968
968
|
if (g && b && !(b & 8) && b & 128 && f !== c) {
|
|
969
969
|
const p = this, y = (h = e.$watchers$) == null ? void 0 : h[u];
|
|
970
970
|
y == null || y.forEach((E) => {
|
|
@@ -1020,7 +1020,7 @@ var TB = (t, e, n = !1) => {
|
|
|
1020
1020
|
}, PB = (t, e) => {
|
|
1021
1021
|
}, DB = (t) => {
|
|
1022
1022
|
if (!(Oe.$flags$ & 1)) {
|
|
1023
|
-
const e =
|
|
1023
|
+
const e = wt(t);
|
|
1024
1024
|
if (!e)
|
|
1025
1025
|
return;
|
|
1026
1026
|
const n = e.$cmpMeta$, i = Jt("connectedCallback", n.$tagName$);
|
|
@@ -1052,10 +1052,10 @@ var TB = (t, e, n = !1) => {
|
|
|
1052
1052
|
const e = t["s-cr"] = Ce.document.createComment(
|
|
1053
1053
|
""
|
|
1054
1054
|
);
|
|
1055
|
-
e["s-cn"] = !0,
|
|
1055
|
+
e["s-cn"] = !0, zt(t, e, t.firstChild);
|
|
1056
1056
|
}, LB = async (t) => {
|
|
1057
1057
|
if (!(Oe.$flags$ & 1)) {
|
|
1058
|
-
const e =
|
|
1058
|
+
const e = wt(t);
|
|
1059
1059
|
e != null && e.$rmListeners$ && (e.$rmListeners$.map((n) => n()), e.$rmListeners$ = void 0);
|
|
1060
1060
|
}
|
|
1061
1061
|
mn.has(t) && mn.delete(t), t.shadowRoot && mn.has(t.shadowRoot) && mn.delete(t.shadowRoot);
|
|
@@ -1073,7 +1073,7 @@ var TB = (t, e, n = !1) => {
|
|
|
1073
1073
|
},
|
|
1074
1074
|
connectedCallback() {
|
|
1075
1075
|
if (!this.__hasHostListenerAttached) {
|
|
1076
|
-
const a =
|
|
1076
|
+
const a = wt(this);
|
|
1077
1077
|
if (!a)
|
|
1078
1078
|
return;
|
|
1079
1079
|
Xu(this, a, n.$listeners$), this.__hasHostListenerAttached = !0;
|
|
@@ -1169,7 +1169,7 @@ class or {
|
|
|
1169
1169
|
return e = e || this.options, e.prefix = e.prefix || this.prefix, new or(this.logger, e);
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
-
var
|
|
1172
|
+
var gt = new or();
|
|
1173
1173
|
class Ar {
|
|
1174
1174
|
constructor() {
|
|
1175
1175
|
this.observers = {};
|
|
@@ -1430,7 +1430,7 @@ const zs = {};
|
|
|
1430
1430
|
class cr extends Ar {
|
|
1431
1431
|
constructor(e) {
|
|
1432
1432
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1433
|
-
super(), FB(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
1433
|
+
super(), FB(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = gt.create("translator");
|
|
1434
1434
|
}
|
|
1435
1435
|
changeLanguage(e) {
|
|
1436
1436
|
e && (this.language = e);
|
|
@@ -1678,7 +1678,7 @@ function Yr(t) {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
class js {
|
|
1680
1680
|
constructor(e) {
|
|
1681
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
1681
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = gt.create("languageUtils");
|
|
1682
1682
|
}
|
|
1683
1683
|
getScriptPartFromCode(e) {
|
|
1684
1684
|
if (e = lr(e), !e || e.indexOf("-") < 0) return null;
|
|
@@ -1917,7 +1917,7 @@ function QB() {
|
|
|
1917
1917
|
class eP {
|
|
1918
1918
|
constructor(e) {
|
|
1919
1919
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1920
|
-
this.languageUtils = e, this.options = n, this.logger =
|
|
1920
|
+
this.languageUtils = e, this.options = n, this.logger = gt.create("pluralResolver"), (!this.options.compatibilityJSON || XB.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = QB();
|
|
1921
1921
|
}
|
|
1922
1922
|
addRule(e, n) {
|
|
1923
1923
|
this.rules[e] = n;
|
|
@@ -1971,7 +1971,7 @@ function Us(t, e, n) {
|
|
|
1971
1971
|
class tP {
|
|
1972
1972
|
constructor() {
|
|
1973
1973
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1974
|
-
this.logger =
|
|
1974
|
+
this.logger = gt.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((n) => n), this.init(e);
|
|
1975
1975
|
}
|
|
1976
1976
|
init() {
|
|
1977
1977
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -2126,7 +2126,7 @@ function dn(t) {
|
|
|
2126
2126
|
class iP {
|
|
2127
2127
|
constructor() {
|
|
2128
2128
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2129
|
-
this.logger =
|
|
2129
|
+
this.logger = gt.create("formatter"), this.options = e, this.formats = {
|
|
2130
2130
|
number: dn((n, i) => {
|
|
2131
2131
|
const r = new Intl.NumberFormat(n, {
|
|
2132
2132
|
...i
|
|
@@ -2204,7 +2204,7 @@ function rP(t, e) {
|
|
|
2204
2204
|
class aP extends Ar {
|
|
2205
2205
|
constructor(e, n, i) {
|
|
2206
2206
|
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
2207
|
-
super(), this.backend = e, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = r, this.logger =
|
|
2207
|
+
super(), this.backend = e, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = r, this.logger = gt.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, r.backend, r);
|
|
2208
2208
|
}
|
|
2209
2209
|
queueLoad(e, n, i, r) {
|
|
2210
2210
|
const a = {}, o = {}, s = {}, u = {};
|
|
@@ -2408,7 +2408,7 @@ function oP(t) {
|
|
|
2408
2408
|
class Zn extends Ar {
|
|
2409
2409
|
constructor() {
|
|
2410
2410
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
2411
|
-
if (super(), this.options = Gs(e), this.services = {}, this.logger =
|
|
2411
|
+
if (super(), this.options = Gs(e), this.services = {}, this.logger = gt, this.modules = {
|
|
2412
2412
|
external: []
|
|
2413
2413
|
}, oP(this), n && !this.isInitialized && !e.isClone) {
|
|
2414
2414
|
if (!this.options.initImmediate)
|
|
@@ -2435,13 +2435,13 @@ class Zn extends Ar {
|
|
|
2435
2435
|
return f ? typeof f == "function" ? new f() : f : null;
|
|
2436
2436
|
}
|
|
2437
2437
|
if (!this.options.isClone) {
|
|
2438
|
-
this.modules.logger ?
|
|
2438
|
+
this.modules.logger ? gt.init(a(this.modules.logger), this.options) : gt.init(null, this.options);
|
|
2439
2439
|
let f;
|
|
2440
2440
|
this.modules.formatter ? f = this.modules.formatter : typeof Intl < "u" && (f = iP);
|
|
2441
2441
|
const h = new js(this.options);
|
|
2442
2442
|
this.store = new Fs(this.options.resources, this.options);
|
|
2443
2443
|
const l = this.services;
|
|
2444
|
-
l.logger =
|
|
2444
|
+
l.logger = gt, l.resourceStore = this.store, l.languageUtils = h, l.pluralResolver = new eP(h, {
|
|
2445
2445
|
prepend: this.options.pluralSeparator,
|
|
2446
2446
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
2447
2447
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
@@ -11527,7 +11527,7 @@ const ur = {
|
|
|
11527
11527
|
ja: "日本語",
|
|
11528
11528
|
nl: "Nederlands",
|
|
11529
11529
|
ko: "한국어"
|
|
11530
|
-
},
|
|
11530
|
+
}, qt = {
|
|
11531
11531
|
en: "en-US",
|
|
11532
11532
|
es: "es-ES",
|
|
11533
11533
|
fr: "fr-FR",
|
|
@@ -12174,7 +12174,7 @@ function tA(t) {
|
|
|
12174
12174
|
}), n;
|
|
12175
12175
|
}
|
|
12176
12176
|
var Oi = { exports: {} }, SP = Oi.exports, Vs;
|
|
12177
|
-
function
|
|
12177
|
+
function Pt() {
|
|
12178
12178
|
return Vs || (Vs = 1, function(t, e) {
|
|
12179
12179
|
(function(n, i) {
|
|
12180
12180
|
t.exports = i();
|
|
@@ -12369,7 +12369,7 @@ function Bt() {
|
|
|
12369
12369
|
});
|
|
12370
12370
|
}(Oi)), Oi.exports;
|
|
12371
12371
|
}
|
|
12372
|
-
var xP =
|
|
12372
|
+
var xP = Pt(), st = /* @__PURE__ */ $r(xP), co = [
|
|
12373
12373
|
"MO",
|
|
12374
12374
|
"TU",
|
|
12375
12375
|
"WE",
|
|
@@ -12404,7 +12404,7 @@ var xP = Bt(), st = /* @__PURE__ */ $r(xP), co = [
|
|
|
12404
12404
|
return typeof t == "number";
|
|
12405
12405
|
}, Ws = function(t) {
|
|
12406
12406
|
return typeof t == "string" && co.includes(t);
|
|
12407
|
-
}, Ye = Array.isArray,
|
|
12407
|
+
}, Ye = Array.isArray, mt = function(t, e) {
|
|
12408
12408
|
e === void 0 && (e = t), arguments.length === 1 && (e = t, t = 0);
|
|
12409
12409
|
for (var n = [], i = t; i < e; i++)
|
|
12410
12410
|
n.push(i);
|
|
@@ -12653,7 +12653,7 @@ var Xs = (
|
|
|
12653
12653
|
return t.toString();
|
|
12654
12654
|
}, IP = function(t, e, n) {
|
|
12655
12655
|
return "".concat(e, " ").concat(n, ", ").concat(t);
|
|
12656
|
-
},
|
|
12656
|
+
}, Dt = (
|
|
12657
12657
|
/** @class */
|
|
12658
12658
|
function() {
|
|
12659
12659
|
function t(e, n, i, r) {
|
|
@@ -13055,16 +13055,16 @@ var NP = function(t, e) {
|
|
|
13055
13055
|
"bymonthday",
|
|
13056
13056
|
"bymonth"
|
|
13057
13057
|
];
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13058
|
+
Dt.IMPLEMENTED = [];
|
|
13059
|
+
Dt.IMPLEMENTED[se.HOURLY] = $n;
|
|
13060
|
+
Dt.IMPLEMENTED[se.MINUTELY] = $n;
|
|
13061
|
+
Dt.IMPLEMENTED[se.DAILY] = ["byhour"].concat($n);
|
|
13062
|
+
Dt.IMPLEMENTED[se.WEEKLY] = $n;
|
|
13063
|
+
Dt.IMPLEMENTED[se.MONTHLY] = $n;
|
|
13064
|
+
Dt.IMPLEMENTED[se.YEARLY] = ["byweekno", "byyearday"].concat($n);
|
|
13065
13065
|
var FP = function(t, e, n, i) {
|
|
13066
|
-
return new
|
|
13067
|
-
}, zP =
|
|
13066
|
+
return new Dt(t, e, n, i).toString();
|
|
13067
|
+
}, zP = Dt.isFullyConvertible, fr = (
|
|
13068
13068
|
/** @class */
|
|
13069
13069
|
function() {
|
|
13070
13070
|
function t(e, n, i, r) {
|
|
@@ -13451,9 +13451,9 @@ var KP = (
|
|
|
13451
13451
|
return Ye(i) ? Zs(i) : i instanceof Date ? fo(i) : i;
|
|
13452
13452
|
}, t;
|
|
13453
13453
|
}()
|
|
13454
|
-
), ZP = q(q(q(q(q(q(q(q(q(q(q(q(q([], oe(1, 31), !0), oe(2, 28), !0), oe(3, 31), !0), oe(4, 30), !0), oe(5, 31), !0), oe(6, 30), !0), oe(7, 31), !0), oe(8, 31), !0), oe(9, 30), !0), oe(10, 31), !0), oe(11, 30), !0), oe(12, 31), !0), oe(1, 7)), JP = q(q(q(q(q(q(q(q(q(q(q(q(q([], oe(1, 31), !0), oe(2, 29), !0), oe(3, 31), !0), oe(4, 30), !0), oe(5, 31), !0), oe(6, 30), !0), oe(7, 31), !0), oe(8, 31), !0), oe(9, 30), !0), oe(10, 31), !0), oe(11, 30), !0), oe(12, 31), !0), oe(1, 7)), XP =
|
|
13454
|
+
), ZP = q(q(q(q(q(q(q(q(q(q(q(q(q([], oe(1, 31), !0), oe(2, 28), !0), oe(3, 31), !0), oe(4, 30), !0), oe(5, 31), !0), oe(6, 30), !0), oe(7, 31), !0), oe(8, 31), !0), oe(9, 30), !0), oe(10, 31), !0), oe(11, 30), !0), oe(12, 31), !0), oe(1, 7)), JP = q(q(q(q(q(q(q(q(q(q(q(q(q([], oe(1, 31), !0), oe(2, 29), !0), oe(3, 31), !0), oe(4, 30), !0), oe(5, 31), !0), oe(6, 30), !0), oe(7, 31), !0), oe(8, 31), !0), oe(9, 30), !0), oe(10, 31), !0), oe(11, 30), !0), oe(12, 31), !0), oe(1, 7)), XP = mt(1, 29), QP = mt(1, 30), Rt = mt(1, 31), De = mt(1, 32), eD = q(q(q(q(q(q(q(q(q(q(q(q(q([], De, !0), QP, !0), De, !0), Rt, !0), De, !0), Rt, !0), De, !0), De, !0), Rt, !0), De, !0), Rt, !0), De, !0), De.slice(0, 7)), tD = q(q(q(q(q(q(q(q(q(q(q(q(q([], De, !0), XP, !0), De, !0), Rt, !0), De, !0), Rt, !0), De, !0), De, !0), Rt, !0), De, !0), Rt, !0), De, !0), De.slice(0, 7)), nD = mt(-28, 0), iD = mt(-29, 0), Nt = mt(-30, 0), Me = mt(-31, 0), rD = q(q(q(q(q(q(q(q(q(q(q(q(q([], Me, !0), iD, !0), Me, !0), Nt, !0), Me, !0), Nt, !0), Me, !0), Me, !0), Nt, !0), Me, !0), Nt, !0), Me, !0), Me.slice(0, 7)), aD = q(q(q(q(q(q(q(q(q(q(q(q(q([], Me, !0), nD, !0), Me, !0), Nt, !0), Me, !0), Nt, !0), Me, !0), Me, !0), Nt, !0), Me, !0), Nt, !0), Me, !0), Me.slice(0, 7)), oD = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366], sD = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], nl = function() {
|
|
13455
13455
|
for (var t = [], e = 0; e < 55; e++)
|
|
13456
|
-
t = t.concat(
|
|
13456
|
+
t = t.concat(mt(7));
|
|
13457
13457
|
return t;
|
|
13458
13458
|
}();
|
|
13459
13459
|
function lD(t, e) {
|
|
@@ -13622,7 +13622,7 @@ var fD = (
|
|
|
13622
13622
|
enumerable: !1,
|
|
13623
13623
|
configurable: !0
|
|
13624
13624
|
}), t.prototype.ydayset = function() {
|
|
13625
|
-
return [
|
|
13625
|
+
return [mt(this.yearlen), 0, this.yearlen];
|
|
13626
13626
|
}, t.prototype.mdayset = function(e, n) {
|
|
13627
13627
|
for (var i = this.mrange[n - 1], r = this.mrange[n], a = oe(null, this.yearlen), o = i; o < r; o++)
|
|
13628
13628
|
a[o] = o;
|
|
@@ -13689,7 +13689,7 @@ function hD(t, e, n, i, r, a) {
|
|
|
13689
13689
|
function uA(t, e) {
|
|
13690
13690
|
var n = e.dtstart, i = e.freq, r = e.interval, a = e.until, o = e.bysetpos, s = e.count;
|
|
13691
13691
|
if (s === 0 || r === 0)
|
|
13692
|
-
return
|
|
13692
|
+
return vt(t);
|
|
13693
13693
|
var u = jP.fromDate(n), c = new fD(e);
|
|
13694
13694
|
c.rebuild(u.year, u.month);
|
|
13695
13695
|
for (var f = mD(c, u, e); ; ) {
|
|
@@ -13698,11 +13698,11 @@ function uA(t, e) {
|
|
|
13698
13698
|
for (var m = hD(o, f, d, g, c, l), p = 0; p < m.length; p++) {
|
|
13699
13699
|
var y = m[p];
|
|
13700
13700
|
if (a && y > a)
|
|
13701
|
-
return
|
|
13701
|
+
return vt(t);
|
|
13702
13702
|
if (y >= n) {
|
|
13703
13703
|
var E = il(y, e);
|
|
13704
13704
|
if (!t.accept(E) || s && (--s, !s))
|
|
13705
|
-
return
|
|
13705
|
+
return vt(t);
|
|
13706
13706
|
}
|
|
13707
13707
|
}
|
|
13708
13708
|
else
|
|
@@ -13712,16 +13712,16 @@ function uA(t, e) {
|
|
|
13712
13712
|
for (var k = oA(c.yearordinal + T), _ = 0; _ < f.length; _++) {
|
|
13713
13713
|
var C = f[_], y = sA(k, C);
|
|
13714
13714
|
if (a && y > a)
|
|
13715
|
-
return
|
|
13715
|
+
return vt(t);
|
|
13716
13716
|
if (y >= n) {
|
|
13717
13717
|
var E = il(y, e);
|
|
13718
13718
|
if (!t.accept(E) || s && (--s, !s))
|
|
13719
|
-
return
|
|
13719
|
+
return vt(t);
|
|
13720
13720
|
}
|
|
13721
13721
|
}
|
|
13722
13722
|
}
|
|
13723
13723
|
if (e.interval === 0 || (u.add(e, b), u.year > iA))
|
|
13724
|
-
return
|
|
13724
|
+
return vt(t);
|
|
13725
13725
|
Yo(i) || (f = c.gettimeset(i)(u.hour, u.minute, u.second, 0)), c.rebuild(u.year, u.month);
|
|
13726
13726
|
}
|
|
13727
13727
|
}
|
|
@@ -13732,7 +13732,7 @@ function gD(t, e, n) {
|
|
|
13732
13732
|
function il(t, e) {
|
|
13733
13733
|
return new gr(t, e.tzid).rezonedDate();
|
|
13734
13734
|
}
|
|
13735
|
-
function
|
|
13735
|
+
function vt(t) {
|
|
13736
13736
|
return t.getValue();
|
|
13737
13737
|
}
|
|
13738
13738
|
function pD(t, e, n, i, r) {
|
|
@@ -14979,7 +14979,7 @@ function yl() {
|
|
|
14979
14979
|
);
|
|
14980
14980
|
return it.Parser = b, it;
|
|
14981
14981
|
}
|
|
14982
|
-
var
|
|
14982
|
+
var Yt = {}, Jr = {}, vl;
|
|
14983
14983
|
function ni() {
|
|
14984
14984
|
return vl || (vl = 1, function(t) {
|
|
14985
14985
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Doctype = t.CDATA = t.Tag = t.Style = t.Script = t.Comment = t.Directive = t.Text = t.Root = t.isTag = t.ElementType = void 0;
|
|
@@ -15348,9 +15348,9 @@ function Tl() {
|
|
|
15348
15348
|
return J;
|
|
15349
15349
|
}
|
|
15350
15350
|
var El;
|
|
15351
|
-
function
|
|
15351
|
+
function Ut() {
|
|
15352
15352
|
return El || (El = 1, function(t) {
|
|
15353
|
-
var e =
|
|
15353
|
+
var e = Yt && Yt.__createBinding || (Object.create ? function(s, u, c, f) {
|
|
15354
15354
|
f === void 0 && (f = c);
|
|
15355
15355
|
var h = Object.getOwnPropertyDescriptor(u, c);
|
|
15356
15356
|
(!h || ("get" in h ? !u.__esModule : h.writable || h.configurable)) && (h = { enumerable: !0, get: function() {
|
|
@@ -15358,7 +15358,7 @@ function qt() {
|
|
|
15358
15358
|
} }), Object.defineProperty(s, f, h);
|
|
15359
15359
|
} : function(s, u, c, f) {
|
|
15360
15360
|
f === void 0 && (f = c), s[f] = u[c];
|
|
15361
|
-
}), n =
|
|
15361
|
+
}), n = Yt && Yt.__exportStar || function(s, u) {
|
|
15362
15362
|
for (var c in s) c !== "default" && !Object.prototype.hasOwnProperty.call(u, c) && e(u, s, c);
|
|
15363
15363
|
};
|
|
15364
15364
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.DomHandler = void 0;
|
|
@@ -15426,9 +15426,9 @@ function qt() {
|
|
|
15426
15426
|
}()
|
|
15427
15427
|
);
|
|
15428
15428
|
t.DomHandler = o, t.default = o;
|
|
15429
|
-
}(
|
|
15429
|
+
}(Yt)), Yt;
|
|
15430
15430
|
}
|
|
15431
|
-
var
|
|
15431
|
+
var Vt = {}, Ie = {}, ze = {}, Xr = {}, kt = {}, yi = {}, _l;
|
|
15432
15432
|
function $D() {
|
|
15433
15433
|
if (_l) return yi;
|
|
15434
15434
|
_l = 1, Object.defineProperty(yi, "__esModule", { value: !0 });
|
|
@@ -15488,21 +15488,21 @@ function mo() {
|
|
|
15488
15488
|
}
|
|
15489
15489
|
var wl;
|
|
15490
15490
|
function Sl() {
|
|
15491
|
-
if (wl) return
|
|
15491
|
+
if (wl) return kt;
|
|
15492
15492
|
wl = 1;
|
|
15493
|
-
var t =
|
|
15493
|
+
var t = kt && kt.__importDefault || function(s) {
|
|
15494
15494
|
return s && s.__esModule ? s : { default: s };
|
|
15495
15495
|
};
|
|
15496
|
-
Object.defineProperty(
|
|
15496
|
+
Object.defineProperty(kt, "__esModule", { value: !0 }), kt.encodeNonAsciiHTML = kt.encodeHTML = void 0;
|
|
15497
15497
|
var e = t(/* @__PURE__ */ $D()), n = /* @__PURE__ */ mo(), i = /[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;
|
|
15498
15498
|
function r(s) {
|
|
15499
15499
|
return o(i, s);
|
|
15500
15500
|
}
|
|
15501
|
-
|
|
15501
|
+
kt.encodeHTML = r;
|
|
15502
15502
|
function a(s) {
|
|
15503
15503
|
return o(n.xmlReplacer, s);
|
|
15504
15504
|
}
|
|
15505
|
-
|
|
15505
|
+
kt.encodeNonAsciiHTML = a;
|
|
15506
15506
|
function o(s, u) {
|
|
15507
15507
|
for (var c = "", f = 0, h; (h = s.exec(u)) !== null; ) {
|
|
15508
15508
|
var l = h.index;
|
|
@@ -15527,7 +15527,7 @@ function Sl() {
|
|
|
15527
15527
|
}
|
|
15528
15528
|
return c + u.substr(f);
|
|
15529
15529
|
}
|
|
15530
|
-
return
|
|
15530
|
+
return kt;
|
|
15531
15531
|
}
|
|
15532
15532
|
var xl;
|
|
15533
15533
|
function BD() {
|
|
@@ -15612,9 +15612,9 @@ function BD() {
|
|
|
15612
15612
|
} });
|
|
15613
15613
|
}(Xr)), Xr;
|
|
15614
15614
|
}
|
|
15615
|
-
var
|
|
15615
|
+
var Wt = {}, Al;
|
|
15616
15616
|
function PD() {
|
|
15617
|
-
return Al || (Al = 1, Object.defineProperty(
|
|
15617
|
+
return Al || (Al = 1, Object.defineProperty(Wt, "__esModule", { value: !0 }), Wt.attributeNames = Wt.elementNames = void 0, Wt.elementNames = new Map([
|
|
15618
15618
|
"altGlyph",
|
|
15619
15619
|
"altGlyphDef",
|
|
15620
15620
|
"altGlyphItem",
|
|
@@ -15654,7 +15654,7 @@ function PD() {
|
|
|
15654
15654
|
"textPath"
|
|
15655
15655
|
].map(function(t) {
|
|
15656
15656
|
return [t.toLowerCase(), t];
|
|
15657
|
-
})),
|
|
15657
|
+
})), Wt.attributeNames = new Map([
|
|
15658
15658
|
"definitionURL",
|
|
15659
15659
|
"attributeName",
|
|
15660
15660
|
"attributeType",
|
|
@@ -15716,7 +15716,7 @@ function PD() {
|
|
|
15716
15716
|
"zoomAndPan"
|
|
15717
15717
|
].map(function(t) {
|
|
15718
15718
|
return [t.toLowerCase(), t];
|
|
15719
|
-
}))),
|
|
15719
|
+
}))), Wt;
|
|
15720
15720
|
}
|
|
15721
15721
|
var $l;
|
|
15722
15722
|
function DD() {
|
|
@@ -15865,7 +15865,7 @@ function fA() {
|
|
|
15865
15865
|
return c && c.__esModule ? c : { default: c };
|
|
15866
15866
|
};
|
|
15867
15867
|
Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.innerText = Ie.textContent = Ie.getText = Ie.getInnerHTML = Ie.getOuterHTML = void 0;
|
|
15868
|
-
var e = /* @__PURE__ */
|
|
15868
|
+
var e = /* @__PURE__ */ Ut(), n = t(/* @__PURE__ */ DD()), i = /* @__PURE__ */ ni();
|
|
15869
15869
|
function r(c, f) {
|
|
15870
15870
|
return (0, n.default)(c, f);
|
|
15871
15871
|
}
|
|
@@ -15894,7 +15894,7 @@ var Ae = {}, Pl;
|
|
|
15894
15894
|
function MD() {
|
|
15895
15895
|
if (Pl) return Ae;
|
|
15896
15896
|
Pl = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.prevElementSibling = Ae.nextElementSibling = Ae.getName = Ae.hasAttrib = Ae.getAttributeValue = Ae.getSiblings = Ae.getParent = Ae.getChildren = void 0;
|
|
15897
|
-
var t = /* @__PURE__ */
|
|
15897
|
+
var t = /* @__PURE__ */ Ut();
|
|
15898
15898
|
function e(c) {
|
|
15899
15899
|
return (0, t.hasChildren)(c) ? c.children : [];
|
|
15900
15900
|
}
|
|
@@ -16006,7 +16006,7 @@ var Ne = {}, Ml;
|
|
|
16006
16006
|
function hA() {
|
|
16007
16007
|
if (Ml) return Ne;
|
|
16008
16008
|
Ml = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.findAll = Ne.existsOne = Ne.findOne = Ne.findOneChild = Ne.find = Ne.filter = void 0;
|
|
16009
|
-
var t = /* @__PURE__ */
|
|
16009
|
+
var t = /* @__PURE__ */ Ut();
|
|
16010
16010
|
function e(s, u, c, f) {
|
|
16011
16011
|
return c === void 0 && (c = !0), f === void 0 && (f = 1 / 0), n(s, Array.isArray(u) ? u : [u], c, f);
|
|
16012
16012
|
}
|
|
@@ -16065,7 +16065,7 @@ var Ue = {}, Ll;
|
|
|
16065
16065
|
function gA() {
|
|
16066
16066
|
if (Ll) return Ue;
|
|
16067
16067
|
Ll = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.getElementsByTagType = Ue.getElementsByTagName = Ue.getElementById = Ue.getElements = Ue.testElement = void 0;
|
|
16068
|
-
var t = /* @__PURE__ */
|
|
16068
|
+
var t = /* @__PURE__ */ Ut(), e = /* @__PURE__ */ hA(), n = {
|
|
16069
16069
|
tag_name: function(h) {
|
|
16070
16070
|
return typeof h == "function" ? function(l) {
|
|
16071
16071
|
return (0, t.isTag)(l) && h(l.name);
|
|
@@ -16135,7 +16135,7 @@ var ea = {}, Ol;
|
|
|
16135
16135
|
function OD() {
|
|
16136
16136
|
return Ol || (Ol = 1, function(t) {
|
|
16137
16137
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.uniqueSort = t.compareDocumentPosition = t.DocumentPosition = t.removeSubsets = void 0;
|
|
16138
|
-
var e = /* @__PURE__ */
|
|
16138
|
+
var e = /* @__PURE__ */ Ut();
|
|
16139
16139
|
function n(o) {
|
|
16140
16140
|
for (var s = o.length; --s >= 0; ) {
|
|
16141
16141
|
var u = o[s];
|
|
@@ -16273,7 +16273,7 @@ function ID() {
|
|
|
16273
16273
|
var Rl;
|
|
16274
16274
|
function ta() {
|
|
16275
16275
|
return Rl || (Rl = 1, function(t) {
|
|
16276
|
-
var e =
|
|
16276
|
+
var e = Vt && Vt.__createBinding || (Object.create ? function(r, a, o, s) {
|
|
16277
16277
|
s === void 0 && (s = o);
|
|
16278
16278
|
var u = Object.getOwnPropertyDescriptor(a, o);
|
|
16279
16279
|
(!u || ("get" in u ? !a.__esModule : u.writable || u.configurable)) && (u = { enumerable: !0, get: function() {
|
|
@@ -16281,11 +16281,11 @@ function ta() {
|
|
|
16281
16281
|
} }), Object.defineProperty(r, s, u);
|
|
16282
16282
|
} : function(r, a, o, s) {
|
|
16283
16283
|
s === void 0 && (s = o), r[s] = a[o];
|
|
16284
|
-
}), n =
|
|
16284
|
+
}), n = Vt && Vt.__exportStar || function(r, a) {
|
|
16285
16285
|
for (var o in r) o !== "default" && !Object.prototype.hasOwnProperty.call(a, o) && e(a, r, o);
|
|
16286
16286
|
};
|
|
16287
16287
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.hasChildren = t.isDocument = t.isComment = t.isText = t.isCDATA = t.isTag = void 0, n(/* @__PURE__ */ fA(), t), n(/* @__PURE__ */ MD(), t), n(/* @__PURE__ */ LD(), t), n(/* @__PURE__ */ hA(), t), n(/* @__PURE__ */ gA(), t), n(/* @__PURE__ */ OD(), t), n(/* @__PURE__ */ ID(), t);
|
|
16288
|
-
var i = /* @__PURE__ */
|
|
16288
|
+
var i = /* @__PURE__ */ Ut();
|
|
16289
16289
|
Object.defineProperty(t, "isTag", { enumerable: !0, get: function() {
|
|
16290
16290
|
return i.isTag;
|
|
16291
16291
|
} }), Object.defineProperty(t, "isCDATA", { enumerable: !0, get: function() {
|
|
@@ -16299,7 +16299,7 @@ function ta() {
|
|
|
16299
16299
|
} }), Object.defineProperty(t, "hasChildren", { enumerable: !0, get: function() {
|
|
16300
16300
|
return i.hasChildren;
|
|
16301
16301
|
} });
|
|
16302
|
-
}(
|
|
16302
|
+
}(Vt)), Vt;
|
|
16303
16303
|
}
|
|
16304
16304
|
var Nl;
|
|
16305
16305
|
function RD() {
|
|
@@ -16329,7 +16329,7 @@ function RD() {
|
|
|
16329
16329
|
Object.defineProperty(t, "Parser", { enumerable: !0, get: function() {
|
|
16330
16330
|
return o.Parser;
|
|
16331
16331
|
} });
|
|
16332
|
-
var s = /* @__PURE__ */
|
|
16332
|
+
var s = /* @__PURE__ */ Ut(), u = /* @__PURE__ */ Ut();
|
|
16333
16333
|
Object.defineProperty(t, "DomHandler", { enumerable: !0, get: function() {
|
|
16334
16334
|
return u.DomHandler;
|
|
16335
16335
|
} }), Object.defineProperty(t, "DefaultHandler", { enumerable: !0, get: function() {
|
|
@@ -18925,9 +18925,9 @@ and ensure you are accounting for this risk.
|
|
|
18925
18925
|
Mn = !0;
|
|
18926
18926
|
let de = "";
|
|
18927
18927
|
if (ue.multiple === !0) {
|
|
18928
|
-
const
|
|
18929
|
-
for (const
|
|
18930
|
-
ue.values.indexOf(
|
|
18928
|
+
const Gt = ge.split(" ");
|
|
18929
|
+
for (const yt of Gt)
|
|
18930
|
+
ue.values.indexOf(yt) !== -1 && (de === "" ? de = yt : de += " " + yt);
|
|
18931
18931
|
} else ue.values.indexOf(ge) >= 0 && (de = ge);
|
|
18932
18932
|
ge = de;
|
|
18933
18933
|
}
|
|
@@ -18942,12 +18942,12 @@ and ensure you are accounting for this risk.
|
|
|
18942
18942
|
try {
|
|
18943
18943
|
const de = he(ge);
|
|
18944
18944
|
if (p.allowedScriptHostnames || p.allowedScriptDomains) {
|
|
18945
|
-
const
|
|
18945
|
+
const Gt = (p.allowedScriptHostnames || []).find(function(tt) {
|
|
18946
18946
|
return tt === de.url.hostname;
|
|
18947
|
-
}),
|
|
18947
|
+
}), yt = (p.allowedScriptDomains || []).find(function(tt) {
|
|
18948
18948
|
return de.url.hostname === tt || de.url.hostname.endsWith(`.${tt}`);
|
|
18949
18949
|
});
|
|
18950
|
-
ue =
|
|
18950
|
+
ue = Gt || yt;
|
|
18951
18951
|
}
|
|
18952
18952
|
} catch {
|
|
18953
18953
|
ue = !1;
|
|
@@ -18964,12 +18964,12 @@ and ensure you are accounting for this risk.
|
|
|
18964
18964
|
if (de.isRelativeUrl)
|
|
18965
18965
|
ue = c(p, "allowIframeRelativeUrls") ? p.allowIframeRelativeUrls : !p.allowedIframeHostnames && !p.allowedIframeDomains;
|
|
18966
18966
|
else if (p.allowedIframeHostnames || p.allowedIframeDomains) {
|
|
18967
|
-
const
|
|
18967
|
+
const Gt = (p.allowedIframeHostnames || []).find(function(tt) {
|
|
18968
18968
|
return tt === de.url.hostname;
|
|
18969
|
-
}),
|
|
18969
|
+
}), yt = (p.allowedIframeDomains || []).find(function(tt) {
|
|
18970
18970
|
return de.url.hostname === tt || de.url.hostname.endsWith(`.${tt}`);
|
|
18971
18971
|
});
|
|
18972
|
-
ue =
|
|
18972
|
+
ue = Gt || yt;
|
|
18973
18973
|
}
|
|
18974
18974
|
} catch {
|
|
18975
18975
|
ue = !1;
|
|
@@ -18999,10 +18999,10 @@ and ensure you are accounting for this risk.
|
|
|
18999
18999
|
return;
|
|
19000
19000
|
}
|
|
19001
19001
|
if (ne === "class") {
|
|
19002
|
-
const ue = B[R], de = B["*"],
|
|
19003
|
-
|
|
19002
|
+
const ue = B[R], de = B["*"], Gt = S[R], yt = A[R], tt = S["*"], Es = [
|
|
19003
|
+
Gt,
|
|
19004
19004
|
tt
|
|
19005
|
-
].concat(
|
|
19005
|
+
].concat(yt).filter(function(z$) {
|
|
19006
19006
|
return z$;
|
|
19007
19007
|
});
|
|
19008
19008
|
if (ue && de ? ge = xe(ge, i(ue, de), Es) : ge = xe(ge, ue || de, Es), !ge.length) {
|
|
@@ -19603,7 +19603,7 @@ var lM = sM(), EA = /* @__PURE__ */ $r(lM), Fi = { exports: {} }, cM = Fi.export
|
|
|
19603
19603
|
function uM() {
|
|
19604
19604
|
return kc || (kc = 1, function(t, e) {
|
|
19605
19605
|
(function(n, i) {
|
|
19606
|
-
t.exports = i(
|
|
19606
|
+
t.exports = i(Pt());
|
|
19607
19607
|
})(cM, function(n) {
|
|
19608
19608
|
function i(o) {
|
|
19609
19609
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19620,7 +19620,7 @@ var zi = { exports: {} }, dM = zi.exports, Tc;
|
|
|
19620
19620
|
function fM() {
|
|
19621
19621
|
return Tc || (Tc = 1, function(t, e) {
|
|
19622
19622
|
(function(n, i) {
|
|
19623
|
-
t.exports = i(
|
|
19623
|
+
t.exports = i(Pt());
|
|
19624
19624
|
})(dM, function(n) {
|
|
19625
19625
|
function i(o) {
|
|
19626
19626
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19637,7 +19637,7 @@ var ji = { exports: {} }, hM = ji.exports, Ec;
|
|
|
19637
19637
|
function gM() {
|
|
19638
19638
|
return Ec || (Ec = 1, function(t, e) {
|
|
19639
19639
|
(function(n, i) {
|
|
19640
|
-
t.exports = i(
|
|
19640
|
+
t.exports = i(Pt());
|
|
19641
19641
|
})(hM, function(n) {
|
|
19642
19642
|
function i(u) {
|
|
19643
19643
|
return u && typeof u == "object" && "default" in u ? u : { default: u };
|
|
@@ -19659,7 +19659,7 @@ var qi = { exports: {} }, pM = qi.exports, _c;
|
|
|
19659
19659
|
function mM() {
|
|
19660
19660
|
return _c || (_c = 1, function(t, e) {
|
|
19661
19661
|
(function(n, i) {
|
|
19662
|
-
t.exports = i(
|
|
19662
|
+
t.exports = i(Pt());
|
|
19663
19663
|
})(pM, function(n) {
|
|
19664
19664
|
function i(o) {
|
|
19665
19665
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19676,7 +19676,7 @@ var Ui = { exports: {} }, bM = Ui.exports, Cc;
|
|
|
19676
19676
|
function yM() {
|
|
19677
19677
|
return Cc || (Cc = 1, function(t, e) {
|
|
19678
19678
|
(function(n, i) {
|
|
19679
|
-
t.exports = i(
|
|
19679
|
+
t.exports = i(Pt());
|
|
19680
19680
|
})(bM, function(n) {
|
|
19681
19681
|
function i(o) {
|
|
19682
19682
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19694,7 +19694,7 @@ var Hi = { exports: {} }, vM = Hi.exports, wc;
|
|
|
19694
19694
|
function kM() {
|
|
19695
19695
|
return wc || (wc = 1, function(t, e) {
|
|
19696
19696
|
(function(n, i) {
|
|
19697
|
-
t.exports = i(
|
|
19697
|
+
t.exports = i(Pt());
|
|
19698
19698
|
})(vM, function(n) {
|
|
19699
19699
|
function i(o) {
|
|
19700
19700
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19713,7 +19713,7 @@ var Gi = { exports: {} }, TM = Gi.exports, Sc;
|
|
|
19713
19713
|
function EM() {
|
|
19714
19714
|
return Sc || (Sc = 1, function(t, e) {
|
|
19715
19715
|
(function(n, i) {
|
|
19716
|
-
t.exports = i(
|
|
19716
|
+
t.exports = i(Pt());
|
|
19717
19717
|
})(TM, function(n) {
|
|
19718
19718
|
function i(o) {
|
|
19719
19719
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19733,7 +19733,7 @@ var Yi = { exports: {} }, _M = Yi.exports, xc;
|
|
|
19733
19733
|
function CM() {
|
|
19734
19734
|
return xc || (xc = 1, function(t, e) {
|
|
19735
19735
|
(function(n, i) {
|
|
19736
|
-
t.exports = i(
|
|
19736
|
+
t.exports = i(Pt());
|
|
19737
19737
|
})(_M, function(n) {
|
|
19738
19738
|
function i(o) {
|
|
19739
19739
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -19758,7 +19758,7 @@ const wM = {
|
|
|
19758
19758
|
function SM(t) {
|
|
19759
19759
|
return st().tz(t).format("Z");
|
|
19760
19760
|
}
|
|
19761
|
-
function
|
|
19761
|
+
function St(t) {
|
|
19762
19762
|
return bo(t, wM);
|
|
19763
19763
|
}
|
|
19764
19764
|
function L(...t) {
|
|
@@ -19856,14 +19856,14 @@ function hn(t) {
|
|
|
19856
19856
|
return [u, c, h];
|
|
19857
19857
|
}
|
|
19858
19858
|
const CA = (t) => M.t(t);
|
|
19859
|
-
function
|
|
19859
|
+
function ft(t) {
|
|
19860
19860
|
var n;
|
|
19861
19861
|
const e = (n = t == null ? void 0 : t.split("-")[0]) == null ? void 0 : n.toLowerCase();
|
|
19862
19862
|
return e && Object.values($e).includes(e) ? e : null;
|
|
19863
19863
|
}
|
|
19864
19864
|
function br() {
|
|
19865
19865
|
var e;
|
|
19866
|
-
return ((e = navigator.languages) != null && e.length ? navigator.languages : [navigator.language]).map(
|
|
19866
|
+
return ((e = navigator.languages) != null && e.length ? navigator.languages : [navigator.language]).map(ft).find(Boolean) || null;
|
|
19867
19867
|
}
|
|
19868
19868
|
const ts = (t) => typeof t != "string" ? "" : t.charAt(0).toUpperCase() + t.slice(1), DM = (t) => CA(`months.${t}`);
|
|
19869
19869
|
function Vi(t, e) {
|
|
@@ -20159,10 +20159,10 @@ var jn = /* @__PURE__ */ ((t) => (t.Error = "error", t.Warning = "warning", t.In
|
|
|
20159
20159
|
(function(t) {
|
|
20160
20160
|
t.Error = "error", t.Warning = "warning", t.Info = "info", t.Success = "success";
|
|
20161
20161
|
})(Bc || (Bc = {}));
|
|
20162
|
-
var
|
|
20162
|
+
var xt;
|
|
20163
20163
|
(function(t) {
|
|
20164
20164
|
t.Component = "component", t.Api = "api", t.Auth = "auth";
|
|
20165
|
-
})(
|
|
20165
|
+
})(xt || (xt = {}));
|
|
20166
20166
|
var Pc;
|
|
20167
20167
|
(function(t) {
|
|
20168
20168
|
t.endtime_not_in_future = "endtime_not_in_future", t.no_booking_info = "no_booking_info", t.no_timeslot_selected = "no_timeslot_selected", t.no_timezone_selected = "no_timezone_selected", t.no_booking_id = "no_booking_id", t.no_salt = "no_salt", t.invalid_start_time = "invalid_start_time", t.invalid_end_time = "invalid_end_time", t.invalid_timezone = "invalid_timezone", t.no_config_id = "no_config_id";
|
|
@@ -20190,7 +20190,7 @@ function Dc(t) {
|
|
|
20190
20190
|
function OM(t) {
|
|
20191
20191
|
return Bn(t, "DOMException");
|
|
20192
20192
|
}
|
|
20193
|
-
function
|
|
20193
|
+
function At(t) {
|
|
20194
20194
|
return Bn(t, "String");
|
|
20195
20195
|
}
|
|
20196
20196
|
function is(t) {
|
|
@@ -20245,7 +20245,7 @@ function Mc(t, e) {
|
|
|
20245
20245
|
return n.join(e);
|
|
20246
20246
|
}
|
|
20247
20247
|
function FM(t, e, n = !1) {
|
|
20248
|
-
return
|
|
20248
|
+
return At(t) ? RM(e) ? e.test(t) : At(e) ? n ? t === e : t.includes(e) : !1 : !1;
|
|
20249
20249
|
}
|
|
20250
20250
|
function Rr(t, e = [], n = !1) {
|
|
20251
20251
|
return e.some((i) => FM(t, i, n));
|
|
@@ -20322,9 +20322,9 @@ function Oc(t, e, n, i) {
|
|
|
20322
20322
|
function jM(t, e) {
|
|
20323
20323
|
return t.map((n) => (n.value && (n.value = vn(n.value, e)), n));
|
|
20324
20324
|
}
|
|
20325
|
-
const
|
|
20325
|
+
const jt = "8.28.0", re = globalThis;
|
|
20326
20326
|
function as(t, e, n) {
|
|
20327
|
-
const i = re, r = i.__SENTRY__ = i.__SENTRY__ || {}, a = r[
|
|
20327
|
+
const i = re, r = i.__SENTRY__ = i.__SENTRY__ || {}, a = r[jt] = r[jt] || {};
|
|
20328
20328
|
return a[t] || (a[t] = e());
|
|
20329
20329
|
}
|
|
20330
20330
|
const os = re, qM = 80;
|
|
@@ -20364,7 +20364,7 @@ function UM(t, e) {
|
|
|
20364
20364
|
else {
|
|
20365
20365
|
n.id && i.push(`#${n.id}`);
|
|
20366
20366
|
const o = n.className;
|
|
20367
|
-
if (o &&
|
|
20367
|
+
if (o && At(o)) {
|
|
20368
20368
|
const s = o.split(/\s+/);
|
|
20369
20369
|
for (const u of s)
|
|
20370
20370
|
i.push(`.${u}`);
|
|
@@ -20496,7 +20496,7 @@ function JM(t) {
|
|
|
20496
20496
|
if (!(!e || !ZM(e)))
|
|
20497
20497
|
return e;
|
|
20498
20498
|
}
|
|
20499
|
-
class
|
|
20499
|
+
class ht extends Error {
|
|
20500
20500
|
/** Display name of this error instance. */
|
|
20501
20501
|
constructor(e, n = "warn") {
|
|
20502
20502
|
super(e), this.message = e, this.name = new.target.prototype.constructor.name, Object.setPrototypeOf(this, new.target.prototype), this.logLevel = n;
|
|
@@ -20661,7 +20661,7 @@ function _i(t) {
|
|
|
20661
20661
|
return t[t.length - 1] || {};
|
|
20662
20662
|
}
|
|
20663
20663
|
const Da = "<anonymous>";
|
|
20664
|
-
function
|
|
20664
|
+
function Ht(t) {
|
|
20665
20665
|
try {
|
|
20666
20666
|
return !t || typeof t != "function" ? Da : t.name || Da;
|
|
20667
20667
|
} catch {
|
|
@@ -20698,7 +20698,7 @@ function lt(t, e) {
|
|
|
20698
20698
|
ri && W.error(
|
|
20699
20699
|
`Error while triggering instrumentation handler.
|
|
20700
20700
|
Type: ${t}
|
|
20701
|
-
Name: ${
|
|
20701
|
+
Name: ${Ht(i)}
|
|
20702
20702
|
Error:`,
|
|
20703
20703
|
r
|
|
20704
20704
|
);
|
|
@@ -20761,7 +20761,7 @@ function oL() {
|
|
|
20761
20761
|
const e = Date.now() - t.now(), n = t.timeOrigin == null ? e : t.timeOrigin;
|
|
20762
20762
|
return () => (n + t.now()) / IA;
|
|
20763
20763
|
}
|
|
20764
|
-
const
|
|
20764
|
+
const $t = oL();
|
|
20765
20765
|
(() => {
|
|
20766
20766
|
const { performance: t } = re;
|
|
20767
20767
|
if (!t || !t.now)
|
|
@@ -20782,7 +20782,7 @@ function lL(t, e = !1) {
|
|
|
20782
20782
|
method: r,
|
|
20783
20783
|
url: a
|
|
20784
20784
|
},
|
|
20785
|
-
startTimestamp:
|
|
20785
|
+
startTimestamp: $t() * 1e3
|
|
20786
20786
|
};
|
|
20787
20787
|
lt("fetch", {
|
|
20788
20788
|
...o
|
|
@@ -20791,13 +20791,13 @@ function lL(t, e = !1) {
|
|
|
20791
20791
|
return n.apply(re, i).then(
|
|
20792
20792
|
async (u) => (lt("fetch", {
|
|
20793
20793
|
...o,
|
|
20794
|
-
endTimestamp:
|
|
20794
|
+
endTimestamp: $t() * 1e3,
|
|
20795
20795
|
response: u
|
|
20796
20796
|
}), u),
|
|
20797
20797
|
(u) => {
|
|
20798
20798
|
throw lt("fetch", {
|
|
20799
20799
|
...o,
|
|
20800
|
-
endTimestamp:
|
|
20800
|
+
endTimestamp: $t() * 1e3,
|
|
20801
20801
|
error: u
|
|
20802
20802
|
}), ns(u) && u.stack === void 0 && (u.stack = s, en(u, "framesToPop", 1)), u;
|
|
20803
20803
|
}
|
|
@@ -20916,7 +20916,7 @@ function Qe() {
|
|
|
20916
20916
|
function RA(t) {
|
|
20917
20917
|
return t.exception && t.exception.values ? t.exception.values[0] : void 0;
|
|
20918
20918
|
}
|
|
20919
|
-
function
|
|
20919
|
+
function Ot(t) {
|
|
20920
20920
|
const { message: e, event_id: n } = t;
|
|
20921
20921
|
if (e)
|
|
20922
20922
|
return e;
|
|
@@ -20949,7 +20949,7 @@ function Uc(t) {
|
|
|
20949
20949
|
function NA(t) {
|
|
20950
20950
|
return Array.isArray(t) ? t : [t];
|
|
20951
20951
|
}
|
|
20952
|
-
function
|
|
20952
|
+
function It(t, e = 100, n = 1 / 0) {
|
|
20953
20953
|
try {
|
|
20954
20954
|
return wo("", t, e, n);
|
|
20955
20955
|
} catch (i) {
|
|
@@ -20957,7 +20957,7 @@ function Ot(t, e = 100, n = 1 / 0) {
|
|
|
20957
20957
|
}
|
|
20958
20958
|
}
|
|
20959
20959
|
function FA(t, e = 3, n = 100 * 1024) {
|
|
20960
|
-
const i =
|
|
20960
|
+
const i = It(t, e);
|
|
20961
20961
|
return _L(i) > n ? FA(t, e - 1, n) : i;
|
|
20962
20962
|
}
|
|
20963
20963
|
function wo(t, e, n = 1 / 0, i = 1 / 0, r = vL()) {
|
|
@@ -21016,7 +21016,7 @@ function kL(t, e) {
|
|
|
21016
21016
|
if (typeof e == "number" && e !== e)
|
|
21017
21017
|
return "[NaN]";
|
|
21018
21018
|
if (typeof e == "function")
|
|
21019
|
-
return `[Function: ${
|
|
21019
|
+
return `[Function: ${Ht(e)}]`;
|
|
21020
21020
|
if (typeof e == "symbol")
|
|
21021
21021
|
return `[${String(e)}]`;
|
|
21022
21022
|
if (typeof e == "bigint")
|
|
@@ -21037,14 +21037,14 @@ function EL(t) {
|
|
|
21037
21037
|
function _L(t) {
|
|
21038
21038
|
return EL(JSON.stringify(t));
|
|
21039
21039
|
}
|
|
21040
|
-
var
|
|
21040
|
+
var _t;
|
|
21041
21041
|
(function(t) {
|
|
21042
21042
|
t[t.PENDING = 0] = "PENDING";
|
|
21043
21043
|
const n = 1;
|
|
21044
21044
|
t[t.RESOLVED = n] = "RESOLVED";
|
|
21045
21045
|
const i = 2;
|
|
21046
21046
|
t[t.REJECTED = i] = "REJECTED";
|
|
21047
|
-
})(
|
|
21047
|
+
})(_t || (_t = {}));
|
|
21048
21048
|
function nn(t) {
|
|
21049
21049
|
return new Xe((e) => {
|
|
21050
21050
|
e(t);
|
|
@@ -21057,7 +21057,7 @@ function vr(t) {
|
|
|
21057
21057
|
}
|
|
21058
21058
|
class Xe {
|
|
21059
21059
|
constructor(e) {
|
|
21060
|
-
Xe.prototype.__init.call(this), Xe.prototype.__init2.call(this), Xe.prototype.__init3.call(this), Xe.prototype.__init4.call(this), this._state =
|
|
21060
|
+
Xe.prototype.__init.call(this), Xe.prototype.__init2.call(this), Xe.prototype.__init3.call(this), Xe.prototype.__init4.call(this), this._state = _t.PENDING, this._handlers = [];
|
|
21061
21061
|
try {
|
|
21062
21062
|
e(this._resolve, this._reject);
|
|
21063
21063
|
} catch (n) {
|
|
@@ -21119,19 +21119,19 @@ class Xe {
|
|
|
21119
21119
|
/** JSDoc */
|
|
21120
21120
|
__init() {
|
|
21121
21121
|
this._resolve = (e) => {
|
|
21122
|
-
this._setResult(
|
|
21122
|
+
this._setResult(_t.RESOLVED, e);
|
|
21123
21123
|
};
|
|
21124
21124
|
}
|
|
21125
21125
|
/** JSDoc */
|
|
21126
21126
|
__init2() {
|
|
21127
21127
|
this._reject = (e) => {
|
|
21128
|
-
this._setResult(
|
|
21128
|
+
this._setResult(_t.REJECTED, e);
|
|
21129
21129
|
};
|
|
21130
21130
|
}
|
|
21131
21131
|
/** JSDoc */
|
|
21132
21132
|
__init3() {
|
|
21133
21133
|
this._setResult = (e, n) => {
|
|
21134
|
-
if (this._state ===
|
|
21134
|
+
if (this._state === _t.PENDING) {
|
|
21135
21135
|
if (Ir(n)) {
|
|
21136
21136
|
n.then(this._resolve, this._reject);
|
|
21137
21137
|
return;
|
|
@@ -21143,11 +21143,11 @@ class Xe {
|
|
|
21143
21143
|
/** JSDoc */
|
|
21144
21144
|
__init4() {
|
|
21145
21145
|
this._executeHandlers = () => {
|
|
21146
|
-
if (this._state ===
|
|
21146
|
+
if (this._state === _t.PENDING)
|
|
21147
21147
|
return;
|
|
21148
21148
|
const e = this._handlers.slice();
|
|
21149
21149
|
this._handlers = [], e.forEach((n) => {
|
|
21150
|
-
n[0] || (this._state ===
|
|
21150
|
+
n[0] || (this._state === _t.RESOLVED && n[1](this._value), this._state === _t.REJECTED && n[2](this._value), n[0] = !0);
|
|
21151
21151
|
});
|
|
21152
21152
|
};
|
|
21153
21153
|
}
|
|
@@ -21162,7 +21162,7 @@ function CL(t) {
|
|
|
21162
21162
|
}
|
|
21163
21163
|
function r(o) {
|
|
21164
21164
|
if (!n())
|
|
21165
|
-
return vr(new
|
|
21165
|
+
return vr(new ht("Not adding Promise because buffer limit was reached."));
|
|
21166
21166
|
const s = o();
|
|
21167
21167
|
return e.indexOf(s) === -1 && e.push(s), s.then(() => i(s)).then(
|
|
21168
21168
|
null,
|
|
@@ -21228,7 +21228,7 @@ function $L(t) {
|
|
|
21228
21228
|
return n;
|
|
21229
21229
|
}
|
|
21230
21230
|
function BL(t) {
|
|
21231
|
-
if (!(!t || !
|
|
21231
|
+
if (!(!t || !At(t) && !Array.isArray(t)))
|
|
21232
21232
|
return Array.isArray(t) ? t.reduce((e, n) => {
|
|
21233
21233
|
const i = Hc(n);
|
|
21234
21234
|
return Object.entries(i).forEach(([r, a]) => {
|
|
@@ -21275,7 +21275,7 @@ ${JSON.stringify(o)}
|
|
|
21275
21275
|
try {
|
|
21276
21276
|
u = JSON.stringify(s);
|
|
21277
21277
|
} catch {
|
|
21278
|
-
u = JSON.stringify(
|
|
21278
|
+
u = JSON.stringify(It(s));
|
|
21279
21279
|
}
|
|
21280
21280
|
r(u);
|
|
21281
21281
|
}
|
|
@@ -21397,10 +21397,10 @@ function Fr() {
|
|
|
21397
21397
|
}
|
|
21398
21398
|
function ls(t) {
|
|
21399
21399
|
const e = t.__SENTRY__ = t.__SENTRY__ || {};
|
|
21400
|
-
return e.version = e.version ||
|
|
21400
|
+
return e.version = e.version || jt, e[jt] = e[jt] || {};
|
|
21401
21401
|
}
|
|
21402
21402
|
function HL(t) {
|
|
21403
|
-
const e =
|
|
21403
|
+
const e = $t(), n = {
|
|
21404
21404
|
sid: Qe(),
|
|
21405
21405
|
init: !0,
|
|
21406
21406
|
timestamp: e,
|
|
@@ -21414,7 +21414,7 @@ function HL(t) {
|
|
|
21414
21414
|
return t && Cn(n, t), n;
|
|
21415
21415
|
}
|
|
21416
21416
|
function Cn(t, e = {}) {
|
|
21417
|
-
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp ||
|
|
21417
|
+
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || $t(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : Qe()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
|
|
21418
21418
|
t.duration = void 0;
|
|
21419
21419
|
else if (typeof e.duration == "number")
|
|
21420
21420
|
t.duration = e.duration;
|
|
@@ -21907,7 +21907,7 @@ function uO(t) {
|
|
|
21907
21907
|
return We({ parent_span_id: i, span_id: e, trace_id: n });
|
|
21908
21908
|
}
|
|
21909
21909
|
function Jc(t) {
|
|
21910
|
-
return typeof t == "number" ? Xc(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Xc(t.getTime()) :
|
|
21910
|
+
return typeof t == "number" ? Xc(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Xc(t.getTime()) : $t();
|
|
21911
21911
|
}
|
|
21912
21912
|
function Xc(t) {
|
|
21913
21913
|
return t > 9999999999 ? t / 1e3 : t;
|
|
@@ -22193,24 +22193,24 @@ function MO(t, e, n) {
|
|
|
22193
22193
|
breadcrumbs: t.breadcrumbs.map((r) => ({
|
|
22194
22194
|
...r,
|
|
22195
22195
|
...r.data && {
|
|
22196
|
-
data:
|
|
22196
|
+
data: It(r.data, e, n)
|
|
22197
22197
|
}
|
|
22198
22198
|
}))
|
|
22199
22199
|
},
|
|
22200
22200
|
...t.user && {
|
|
22201
|
-
user:
|
|
22201
|
+
user: It(t.user, e, n)
|
|
22202
22202
|
},
|
|
22203
22203
|
...t.contexts && {
|
|
22204
|
-
contexts:
|
|
22204
|
+
contexts: It(t.contexts, e, n)
|
|
22205
22205
|
},
|
|
22206
22206
|
...t.extra && {
|
|
22207
|
-
extra:
|
|
22207
|
+
extra: It(t.extra, e, n)
|
|
22208
22208
|
}
|
|
22209
22209
|
};
|
|
22210
|
-
return t.contexts && t.contexts.trace && i.contexts && (i.contexts.trace = t.contexts.trace, t.contexts.trace.data && (i.contexts.trace.data =
|
|
22210
|
+
return t.contexts && t.contexts.trace && i.contexts && (i.contexts.trace = t.contexts.trace, t.contexts.trace.data && (i.contexts.trace.data = It(t.contexts.trace.data, e, n))), t.spans && (i.spans = t.spans.map((r) => ({
|
|
22211
22211
|
...r,
|
|
22212
22212
|
...r.data && {
|
|
22213
|
-
data:
|
|
22213
|
+
data: It(r.data, e, n)
|
|
22214
22214
|
}
|
|
22215
22215
|
}))), i;
|
|
22216
22216
|
}
|
|
@@ -22647,7 +22647,7 @@ class YO {
|
|
|
22647
22647
|
const r = this.getOptions(), { sampleRate: a } = r, o = KA(e), s = WA(e), u = e.type || "error", c = `before send for type \`${u}\``, f = typeof a > "u" ? void 0 : yO(a);
|
|
22648
22648
|
if (s && typeof f == "number" && Math.random() > f)
|
|
22649
22649
|
return this.recordDroppedEvent("sample_rate", "error", e), vr(
|
|
22650
|
-
new
|
|
22650
|
+
new ht(
|
|
22651
22651
|
`Discarding event because it's not included in the random sample (sampling rate = ${a})`,
|
|
22652
22652
|
"log"
|
|
22653
22653
|
)
|
|
@@ -22655,7 +22655,7 @@ class YO {
|
|
|
22655
22655
|
const h = u === "replay_event" ? "replay" : u, d = (e.sdkProcessingMetadata || {}).capturedSpanIsolationScope;
|
|
22656
22656
|
return this._prepareEvent(e, n, i, d).then((g) => {
|
|
22657
22657
|
if (g === null)
|
|
22658
|
-
throw this.recordDroppedEvent("event_processor", h, e), new
|
|
22658
|
+
throw this.recordDroppedEvent("event_processor", h, e), new ht("An event processor returned `null`, will not send event.", "log");
|
|
22659
22659
|
if (n.data && n.data.__sentry__ === !0)
|
|
22660
22660
|
return g;
|
|
22661
22661
|
const m = WO(this, r, g, n);
|
|
@@ -22666,7 +22666,7 @@ class YO {
|
|
|
22666
22666
|
const y = 1 + (e.spans || []).length;
|
|
22667
22667
|
this.recordDroppedEvent("before_send", "span", y);
|
|
22668
22668
|
}
|
|
22669
|
-
throw new
|
|
22669
|
+
throw new ht(`${c} returned \`null\`, will not send event.`, "log");
|
|
22670
22670
|
}
|
|
22671
22671
|
const b = i && i.getSession();
|
|
22672
22672
|
if (!o && b && this._updateSessionFromEvent(b, g), o) {
|
|
@@ -22683,12 +22683,12 @@ class YO {
|
|
|
22683
22683
|
}
|
|
22684
22684
|
return this.sendEvent(g, n), g;
|
|
22685
22685
|
}).then(null, (g) => {
|
|
22686
|
-
throw g instanceof
|
|
22686
|
+
throw g instanceof ht ? g : (this.captureException(g, {
|
|
22687
22687
|
data: {
|
|
22688
22688
|
__sentry__: !0
|
|
22689
22689
|
},
|
|
22690
22690
|
originalException: g
|
|
22691
|
-
}), new
|
|
22691
|
+
}), new ht(
|
|
22692
22692
|
`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
22693
22693
|
Reason: ${g}`
|
|
22694
22694
|
));
|
|
@@ -22746,15 +22746,15 @@ function VO(t, e) {
|
|
|
22746
22746
|
return t.then(
|
|
22747
22747
|
(i) => {
|
|
22748
22748
|
if (!_n(i) && i !== null)
|
|
22749
|
-
throw new
|
|
22749
|
+
throw new ht(n);
|
|
22750
22750
|
return i;
|
|
22751
22751
|
},
|
|
22752
22752
|
(i) => {
|
|
22753
|
-
throw new
|
|
22753
|
+
throw new ht(`${e} rejected with ${i}`);
|
|
22754
22754
|
}
|
|
22755
22755
|
);
|
|
22756
22756
|
if (!_n(t) && t !== null)
|
|
22757
|
-
throw new
|
|
22757
|
+
throw new ht(n);
|
|
22758
22758
|
return t;
|
|
22759
22759
|
}
|
|
22760
22760
|
function WO(t, e, n, i) {
|
|
@@ -22830,7 +22830,7 @@ function XO(t, e, n = CL(
|
|
|
22830
22830
|
return n.add(f).then(
|
|
22831
22831
|
(h) => h,
|
|
22832
22832
|
(h) => {
|
|
22833
|
-
if (h instanceof
|
|
22833
|
+
if (h instanceof ht)
|
|
22834
22834
|
return pe && W.error("Skipped sending event because buffer is full."), c("queue_overflow"), nn({});
|
|
22835
22835
|
throw h;
|
|
22836
22836
|
}
|
|
@@ -22851,9 +22851,9 @@ function QO(t, e, n = [e], i = "npm") {
|
|
|
22851
22851
|
name: `sentry.javascript.${e}`,
|
|
22852
22852
|
packages: n.map((a) => ({
|
|
22853
22853
|
name: `${i}:@sentry/${a}`,
|
|
22854
|
-
version:
|
|
22854
|
+
version: jt
|
|
22855
22855
|
})),
|
|
22856
|
-
version:
|
|
22856
|
+
version: jt
|
|
22857
22857
|
}), t._metadata = r;
|
|
22858
22858
|
}
|
|
22859
22859
|
const eI = 100;
|
|
@@ -22918,26 +22918,26 @@ function lI(t = {}, e = {}) {
|
|
|
22918
22918
|
}
|
|
22919
22919
|
function cI(t, e) {
|
|
22920
22920
|
return e.ignoreInternal && pI(t) ? (pe && W.warn(`Event dropped due to being internal Sentry Error.
|
|
22921
|
-
Event: ${
|
|
22921
|
+
Event: ${Ot(t)}`), !0) : uI(t, e.ignoreErrors) ? (pe && W.warn(
|
|
22922
22922
|
`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
22923
|
-
Event: ${
|
|
22923
|
+
Event: ${Ot(t)}`
|
|
22924
22924
|
), !0) : bI(t) ? (pe && W.warn(
|
|
22925
22925
|
`Event dropped due to not having an error message, error type or stacktrace.
|
|
22926
|
-
Event: ${
|
|
22926
|
+
Event: ${Ot(
|
|
22927
22927
|
t
|
|
22928
22928
|
)}`
|
|
22929
22929
|
), !0) : dI(t, e.ignoreTransactions) ? (pe && W.warn(
|
|
22930
22930
|
`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
22931
|
-
Event: ${
|
|
22931
|
+
Event: ${Ot(t)}`
|
|
22932
22932
|
), !0) : fI(t, e.denyUrls) ? (pe && W.warn(
|
|
22933
22933
|
`Event dropped due to being matched by \`denyUrls\` option.
|
|
22934
|
-
Event: ${
|
|
22934
|
+
Event: ${Ot(
|
|
22935
22935
|
t
|
|
22936
22936
|
)}.
|
|
22937
22937
|
Url: ${Tr(t)}`
|
|
22938
22938
|
), !0) : hI(t, e.allowUrls) ? !1 : (pe && W.warn(
|
|
22939
22939
|
`Event dropped due to not being matched by \`allowUrls\` option.
|
|
22940
|
-
Event: ${
|
|
22940
|
+
Event: ${Ot(
|
|
22941
22941
|
t
|
|
22942
22942
|
)}.
|
|
22943
22943
|
Url: ${Tr(t)}`
|
|
@@ -22998,7 +22998,7 @@ function Tr(t) {
|
|
|
22998
22998
|
}
|
|
22999
22999
|
return e ? mI(e) : null;
|
|
23000
23000
|
} catch {
|
|
23001
|
-
return pe && W.error(`Cannot extract url for event ${
|
|
23001
|
+
return pe && W.error(`Cannot extract url for event ${Ot(t)}`), null;
|
|
23002
23002
|
}
|
|
23003
23003
|
}
|
|
23004
23004
|
function bI(t) {
|
|
@@ -23475,7 +23475,7 @@ function WI() {
|
|
|
23475
23475
|
const t = XMLHttpRequest.prototype;
|
|
23476
23476
|
t.open = new Proxy(t.open, {
|
|
23477
23477
|
apply(e, n, i) {
|
|
23478
|
-
const r =
|
|
23478
|
+
const r = $t() * 1e3, a = At(i[0]) ? i[0].toUpperCase() : void 0, o = KI(i[1]);
|
|
23479
23479
|
if (!a || !o)
|
|
23480
23480
|
return e.apply(n, i);
|
|
23481
23481
|
n[qn] = {
|
|
@@ -23491,7 +23491,7 @@ function WI() {
|
|
|
23491
23491
|
} catch {
|
|
23492
23492
|
}
|
|
23493
23493
|
const c = {
|
|
23494
|
-
endTimestamp:
|
|
23494
|
+
endTimestamp: $t() * 1e3,
|
|
23495
23495
|
startTimestamp: r,
|
|
23496
23496
|
xhr: n
|
|
23497
23497
|
};
|
|
@@ -23505,7 +23505,7 @@ function WI() {
|
|
|
23505
23505
|
}) : n.addEventListener("readystatechange", s), n.setRequestHeader = new Proxy(n.setRequestHeader, {
|
|
23506
23506
|
apply(u, c, f) {
|
|
23507
23507
|
const [h, l] = f, d = c[qn];
|
|
23508
|
-
return d &&
|
|
23508
|
+
return d && At(h) && At(l) && (d.request_headers[h.toLowerCase()] = l), u.apply(c, f);
|
|
23509
23509
|
}
|
|
23510
23510
|
}), e.apply(n, i);
|
|
23511
23511
|
}
|
|
@@ -23516,7 +23516,7 @@ function WI() {
|
|
|
23516
23516
|
return e.apply(n, i);
|
|
23517
23517
|
i[0] !== void 0 && (r.body = i[0]);
|
|
23518
23518
|
const a = {
|
|
23519
|
-
startTimestamp:
|
|
23519
|
+
startTimestamp: $t() * 1e3,
|
|
23520
23520
|
xhr: n
|
|
23521
23521
|
};
|
|
23522
23522
|
return lt("xhr", a), e.apply(n, i);
|
|
@@ -23524,7 +23524,7 @@ function WI() {
|
|
|
23524
23524
|
});
|
|
23525
23525
|
}
|
|
23526
23526
|
function KI(t) {
|
|
23527
|
-
if (
|
|
23527
|
+
if (At(t))
|
|
23528
23528
|
return t;
|
|
23529
23529
|
try {
|
|
23530
23530
|
return t.toString();
|
|
@@ -23636,7 +23636,7 @@ function hR(t) {
|
|
|
23636
23636
|
category: `sentry.${n.type === "transaction" ? "transaction" : "event"}`,
|
|
23637
23637
|
event_id: n.event_id,
|
|
23638
23638
|
level: n.level,
|
|
23639
|
-
message:
|
|
23639
|
+
message: Ot(n)
|
|
23640
23640
|
},
|
|
23641
23641
|
{
|
|
23642
23642
|
event: n
|
|
@@ -23842,7 +23842,7 @@ function hu(t) {
|
|
|
23842
23842
|
const n = e[0];
|
|
23843
23843
|
return e[0] = Sn(n, {
|
|
23844
23844
|
mechanism: {
|
|
23845
|
-
data: { function:
|
|
23845
|
+
data: { function: Ht(t) },
|
|
23846
23846
|
handled: !1,
|
|
23847
23847
|
type: "instrument"
|
|
23848
23848
|
}
|
|
@@ -23856,7 +23856,7 @@ function CR(t) {
|
|
|
23856
23856
|
mechanism: {
|
|
23857
23857
|
data: {
|
|
23858
23858
|
function: "requestAnimationFrame",
|
|
23859
|
-
handler:
|
|
23859
|
+
handler: Ht(t)
|
|
23860
23860
|
},
|
|
23861
23861
|
handled: !1,
|
|
23862
23862
|
type: "instrument"
|
|
@@ -23874,13 +23874,13 @@ function wR(t) {
|
|
|
23874
23874
|
mechanism: {
|
|
23875
23875
|
data: {
|
|
23876
23876
|
function: r,
|
|
23877
|
-
handler:
|
|
23877
|
+
handler: Ht(a)
|
|
23878
23878
|
},
|
|
23879
23879
|
handled: !1,
|
|
23880
23880
|
type: "instrument"
|
|
23881
23881
|
}
|
|
23882
23882
|
}, s = ss(a);
|
|
23883
|
-
return s && (o.mechanism.data.handler =
|
|
23883
|
+
return s && (o.mechanism.data.handler = Ht(s)), Sn(a, o);
|
|
23884
23884
|
});
|
|
23885
23885
|
}), t.apply(this, e);
|
|
23886
23886
|
};
|
|
@@ -23894,7 +23894,7 @@ function SR(t) {
|
|
|
23894
23894
|
mechanism: {
|
|
23895
23895
|
data: {
|
|
23896
23896
|
function: "handleEvent",
|
|
23897
|
-
handler:
|
|
23897
|
+
handler: Ht(a),
|
|
23898
23898
|
target: t
|
|
23899
23899
|
},
|
|
23900
23900
|
handled: !1,
|
|
@@ -23910,7 +23910,7 @@ function SR(t) {
|
|
|
23910
23910
|
mechanism: {
|
|
23911
23911
|
data: {
|
|
23912
23912
|
function: "addEventListener",
|
|
23913
|
-
handler:
|
|
23913
|
+
handler: Ht(a),
|
|
23914
23914
|
target: t
|
|
23915
23915
|
},
|
|
23916
23916
|
handled: !1,
|
|
@@ -24013,7 +24013,7 @@ function MR(t) {
|
|
|
24013
24013
|
};
|
|
24014
24014
|
}
|
|
24015
24015
|
function LR(t, e, n, i) {
|
|
24016
|
-
const r = t.exception = t.exception || {}, a = r.values = r.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, u = s.frames = s.frames || [], c = isNaN(parseInt(i, 10)) ? void 0 : i, f = isNaN(parseInt(n, 10)) ? void 0 : n, h =
|
|
24016
|
+
const r = t.exception = t.exception || {}, a = r.values = r.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, u = s.frames = s.frames || [], c = isNaN(parseInt(i, 10)) ? void 0 : i, f = isNaN(parseInt(n, 10)) ? void 0 : n, h = At(e) && e.length > 0 ? e : $A();
|
|
24017
24017
|
return u.length === 0 && u.push({
|
|
24018
24018
|
colno: c,
|
|
24019
24019
|
filename: h,
|
|
@@ -24164,9 +24164,9 @@ async function VR(t, e) {
|
|
|
24164
24164
|
}
|
|
24165
24165
|
function WR(t) {
|
|
24166
24166
|
const e = Se(), n = e && e.getOptions(), i = n && n.cdnBaseUrl || "https://browser.sentry-cdn.com";
|
|
24167
|
-
return new URL(`/${
|
|
24167
|
+
return new URL(`/${jt}/${t}.min.js`, i).toString();
|
|
24168
24168
|
}
|
|
24169
|
-
const
|
|
24169
|
+
const pt = re, fe = pt.document, Un = pt.navigator, i$ = "Report a Bug", KR = "Cancel", ZR = "Send Bug Report", JR = "Confirm", XR = "Report a Bug", QR = "your.email@example.org", eN = "Email", tN = "What's the bug? What did you expect?", nN = "Description", iN = "Your Name", rN = "Name", aN = "Thank you for your report!", oN = "(required)", sN = "Add a screenshot", lN = "Remove screenshot", cN = "widget", uN = "api", dN = 5e3, fN = (t, e = { includeReplay: !0 }) => {
|
|
24170
24170
|
if (!t.message)
|
|
24171
24171
|
throw new Error("Unable to submit feedback with empty message");
|
|
24172
24172
|
const n = Se();
|
|
@@ -24292,7 +24292,7 @@ function Ge(t, e) {
|
|
|
24292
24292
|
}
|
|
24293
24293
|
const gn = 20, pN = "http://www.w3.org/2000/svg";
|
|
24294
24294
|
function mN() {
|
|
24295
|
-
const t = (s) =>
|
|
24295
|
+
const t = (s) => pt.document.createElementNS(pN, s), e = Ge(t("svg"), {
|
|
24296
24296
|
width: `${gn}`,
|
|
24297
24297
|
height: `${gn}`,
|
|
24298
24298
|
viewBox: `0 0 ${gn} ${gn}`,
|
|
@@ -24611,8 +24611,8 @@ const kN = ({
|
|
|
24611
24611
|
}
|
|
24612
24612
|
};
|
|
24613
24613
|
};
|
|
24614
|
-
var zr, ye, a$,
|
|
24615
|
-
function
|
|
24614
|
+
var zr, ye, a$, Zt, yu, o$, Lo, Qn = {}, ps = [], TN = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ms = Array.isArray;
|
|
24615
|
+
function Ft(t, e) {
|
|
24616
24616
|
for (var n in e) t[n] = e[n];
|
|
24617
24617
|
return t;
|
|
24618
24618
|
}
|
|
@@ -24643,7 +24643,7 @@ function xn(t, e) {
|
|
|
24643
24643
|
}
|
|
24644
24644
|
function EN(t, e, n) {
|
|
24645
24645
|
var i, r = t.__v, a = r.__e, o = t.__P;
|
|
24646
|
-
if (o) return (i =
|
|
24646
|
+
if (o) return (i = Ft({}, r)).__v = r.__v + 1, ye.vnode && ye.vnode(i), bs(o, i, r, t.__n, o.ownerSVGElement !== void 0, 32 & r.__u ? [a] : null, e, a ?? xn(r), !!(32 & r.__u), n), i.__.__k[i.__i] = i, i.__d = void 0, i.__e != a && l$(i), i;
|
|
24647
24647
|
}
|
|
24648
24648
|
function l$(t) {
|
|
24649
24649
|
var e, n;
|
|
@@ -24656,11 +24656,11 @@ function l$(t) {
|
|
|
24656
24656
|
}
|
|
24657
24657
|
}
|
|
24658
24658
|
function vu(t) {
|
|
24659
|
-
(!t.__d && (t.__d = !0) &&
|
|
24659
|
+
(!t.__d && (t.__d = !0) && Zt.push(t) && !Er.__r++ || yu !== ye.debounceRendering) && ((yu = ye.debounceRendering) || o$)(Er);
|
|
24660
24660
|
}
|
|
24661
24661
|
function Er() {
|
|
24662
24662
|
var t, e, n, i = [], r = [];
|
|
24663
|
-
for (
|
|
24663
|
+
for (Zt.sort(Lo); t = Zt.shift(); ) t.__d && (n = Zt.length, e = EN(t, i, r) || e, n === 0 || Zt.length > n ? (Oo(i, e, r), r.length = i.length = 0, e = void 0, Zt.sort(Lo)) : e && ye.__c && ye.__c(e, ps));
|
|
24664
24664
|
e && Oo(i, e, r), Er.__r = 0;
|
|
24665
24665
|
}
|
|
24666
24666
|
function c$(t, e, n, i, r, a, o, s, u, c, f) {
|
|
@@ -24738,7 +24738,7 @@ function bs(t, e, n, i, r, a, o, s, u, c) {
|
|
|
24738
24738
|
if (e.constructor !== void 0) return null;
|
|
24739
24739
|
128 & n.__u && (u = !!(32 & n.__u), a = [s = e.__e = n.__e]), (f = ye.__b) && f(e);
|
|
24740
24740
|
e: if (typeof $ == "function") try {
|
|
24741
|
-
if (p = e.props, y = (f = $.contextType) && i[f.__c], E = f ? y ? y.props.value : f.__ : i, n.__c ? m = (h = e.__c = n.__c).__ = h.__E : ("prototype" in $ && $.prototype.render ? e.__c = h = new $(p, E) : (e.__c = h = new Xi(p, E), h.constructor = $, h.render = SN), y && y.sub(h), h.props = p, h.state || (h.state = {}), h.context = E, h.__n = i, l = h.__d = !0, h.__h = [], h._sb = []), h.__s == null && (h.__s = h.state), $.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s =
|
|
24741
|
+
if (p = e.props, y = (f = $.contextType) && i[f.__c], E = f ? y ? y.props.value : f.__ : i, n.__c ? m = (h = e.__c = n.__c).__ = h.__E : ("prototype" in $ && $.prototype.render ? e.__c = h = new $(p, E) : (e.__c = h = new Xi(p, E), h.constructor = $, h.render = SN), y && y.sub(h), h.props = p, h.state || (h.state = {}), h.context = E, h.__n = i, l = h.__d = !0, h.__h = [], h._sb = []), h.__s == null && (h.__s = h.state), $.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = Ft({}, h.__s)), Ft(h.__s, $.getDerivedStateFromProps(p, h.__s))), d = h.props, g = h.state, h.__v = e, l) $.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), h.componentDidMount != null && h.__h.push(h.componentDidMount);
|
|
24742
24742
|
else {
|
|
24743
24743
|
if ($.getDerivedStateFromProps == null && p !== d && h.componentWillReceiveProps != null && h.componentWillReceiveProps(p, E), !h.__e && (h.shouldComponentUpdate != null && h.shouldComponentUpdate(p, h.__s, E) === !1 || e.__v === n.__v)) {
|
|
24744
24744
|
for (e.__v !== n.__v && (h.props = p, h.state = h.__s, h.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(B) {
|
|
@@ -24757,7 +24757,7 @@ function bs(t, e, n, i, r, a, o, s, u, c) {
|
|
|
24757
24757
|
} else do
|
|
24758
24758
|
h.__d = !1, k && k(e), f = h.render(h.props, h.state, h.context), h.state = h.__s;
|
|
24759
24759
|
while (h.__d && ++_ < 25);
|
|
24760
|
-
h.state = h.__s, h.getChildContext != null && (i =
|
|
24760
|
+
h.state = h.__s, h.getChildContext != null && (i = Ft(Ft({}, i), h.getChildContext())), l || h.getSnapshotBeforeUpdate == null || (b = h.getSnapshotBeforeUpdate(d, g)), c$(t, ms(P = f != null && f.type === ci && f.key == null ? f.props.children : f) ? P : [P], e, n, i, r, a, o, s, u, c), h.base = e.__e, e.__u &= -161, h.__h.length && o.push(h), m && (h.__E = h.__ = null);
|
|
24761
24761
|
} catch (B) {
|
|
24762
24762
|
e.__v = null, u || a != null ? (e.__e = s, e.__u |= u ? 160 : 32, a[a.indexOf(s)] = null) : (e.__e = n.__e, e.__k = n.__k), ye.__e(B, e, n);
|
|
24763
24763
|
}
|
|
@@ -24835,13 +24835,13 @@ zr = ps.slice, ye = { __e: function(t, e, n, i) {
|
|
|
24835
24835
|
throw t;
|
|
24836
24836
|
} }, a$ = 0, Xi.prototype.setState = function(t, e) {
|
|
24837
24837
|
var n;
|
|
24838
|
-
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s =
|
|
24838
|
+
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Ft({}, this.state), typeof t == "function" && (t = t(Ft({}, n), this.props)), t && Ft(n, t), t != null && this.__v && (e && this._sb.push(e), vu(this));
|
|
24839
24839
|
}, Xi.prototype.forceUpdate = function(t) {
|
|
24840
24840
|
this.__v && (this.__e = !0, t && this.__h.push(t), vu(this));
|
|
24841
|
-
}, Xi.prototype.render = ci,
|
|
24841
|
+
}, Xi.prototype.render = ci, Zt = [], o$ = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Lo = function(t, e) {
|
|
24842
24842
|
return t.__v.__b - e.__v.__b;
|
|
24843
24843
|
}, Er.__r = 0;
|
|
24844
|
-
var
|
|
24844
|
+
var Bt, be, Oa, _u, An = 0, d$ = [], Qi = [], _e = ye, Cu = _e.__b, wu = _e.__r, Su = _e.diffed, xu = _e.__c, Au = _e.unmount, $u = _e.__;
|
|
24845
24845
|
function cn(t, e) {
|
|
24846
24846
|
_e.__h && _e.__h(be, t, An || e), An = 0;
|
|
24847
24847
|
var n = be.__H || (be.__H = { __: [], __h: [] });
|
|
@@ -24851,7 +24851,7 @@ function kn(t) {
|
|
|
24851
24851
|
return An = 1, f$(g$, t);
|
|
24852
24852
|
}
|
|
24853
24853
|
function f$(t, e, n) {
|
|
24854
|
-
var i = cn(
|
|
24854
|
+
var i = cn(Bt++, 2);
|
|
24855
24855
|
if (i.t = t, !i.__c && (i.__ = [n ? n(e) : g$(void 0, e), function(s) {
|
|
24856
24856
|
var u = i.__N ? i.__N[0] : i.__[0], c = i.t(u, s);
|
|
24857
24857
|
u !== c && (i.__N = [c, i.__[1]], i.__c.setState({}));
|
|
@@ -24885,11 +24885,11 @@ function f$(t, e, n) {
|
|
|
24885
24885
|
return i.__N || i.__;
|
|
24886
24886
|
}
|
|
24887
24887
|
function AN(t, e) {
|
|
24888
|
-
var n = cn(
|
|
24888
|
+
var n = cn(Bt++, 3);
|
|
24889
24889
|
!_e.__s && vs(n.__H, e) && (n.__ = t, n.i = e, be.__H.__h.push(n));
|
|
24890
24890
|
}
|
|
24891
24891
|
function h$(t, e) {
|
|
24892
|
-
var n = cn(
|
|
24892
|
+
var n = cn(Bt++, 4);
|
|
24893
24893
|
!_e.__s && vs(n.__H, e) && (n.__ = t, n.i = e, be.__h.push(n));
|
|
24894
24894
|
}
|
|
24895
24895
|
function $N(t) {
|
|
@@ -24907,7 +24907,7 @@ function BN(t, e, n) {
|
|
|
24907
24907
|
}, n == null ? n : n.concat(t));
|
|
24908
24908
|
}
|
|
24909
24909
|
function ui(t, e) {
|
|
24910
|
-
var n = cn(
|
|
24910
|
+
var n = cn(Bt++, 7);
|
|
24911
24911
|
return vs(n.__H, e) ? (n.__V = t(), n.i = e, n.__h = t, n.__V) : n.__;
|
|
24912
24912
|
}
|
|
24913
24913
|
function Tn(t, e) {
|
|
@@ -24916,14 +24916,14 @@ function Tn(t, e) {
|
|
|
24916
24916
|
}, e);
|
|
24917
24917
|
}
|
|
24918
24918
|
function PN(t) {
|
|
24919
|
-
var e = be.context[t.__c], n = cn(
|
|
24919
|
+
var e = be.context[t.__c], n = cn(Bt++, 9);
|
|
24920
24920
|
return n.c = t, e ? (n.__ == null && (n.__ = !0, e.sub(be)), e.props.value) : t.__;
|
|
24921
24921
|
}
|
|
24922
24922
|
function DN(t, e) {
|
|
24923
24923
|
_e.useDebugValue && _e.useDebugValue(e ? e(t) : t);
|
|
24924
24924
|
}
|
|
24925
24925
|
function MN(t) {
|
|
24926
|
-
var e = cn(
|
|
24926
|
+
var e = cn(Bt++, 10), n = kn();
|
|
24927
24927
|
return e.__ = t, be.componentDidCatch || (be.componentDidCatch = function(i, r) {
|
|
24928
24928
|
e.__ && e.__(i, r), n[1](i);
|
|
24929
24929
|
}), [n[0], function() {
|
|
@@ -24931,7 +24931,7 @@ function MN(t) {
|
|
|
24931
24931
|
}];
|
|
24932
24932
|
}
|
|
24933
24933
|
function LN() {
|
|
24934
|
-
var t = cn(
|
|
24934
|
+
var t = cn(Bt++, 11);
|
|
24935
24935
|
if (!t.__) {
|
|
24936
24936
|
for (var e = be.__v; e !== null && !e.__m && e.__ !== null; ) e = e.__;
|
|
24937
24937
|
var n = e.__m || (e.__m = [0, 0]);
|
|
@@ -24951,11 +24951,11 @@ _e.__b = function(t) {
|
|
|
24951
24951
|
}, _e.__ = function(t, e) {
|
|
24952
24952
|
e.__k && e.__k.__m && (t.__m = e.__k.__m), $u && $u(t, e);
|
|
24953
24953
|
}, _e.__r = function(t) {
|
|
24954
|
-
wu && wu(t),
|
|
24954
|
+
wu && wu(t), Bt = 0;
|
|
24955
24955
|
var e = (be = t.__c).__H;
|
|
24956
24956
|
e && (Oa === be ? (e.__h = [], be.__h = [], e.__.forEach(function(n) {
|
|
24957
24957
|
n.__N && (n.__ = n.__N), n.__V = Qi, n.__N = n.i = void 0;
|
|
24958
|
-
})) : (e.__h.forEach(er), e.__h.forEach(Ro), e.__h = [],
|
|
24958
|
+
})) : (e.__h.forEach(er), e.__h.forEach(Ro), e.__h = [], Bt = 0)), Oa = be;
|
|
24959
24959
|
}, _e.diffed = function(t) {
|
|
24960
24960
|
Su && Su(t);
|
|
24961
24961
|
var e = t.__c;
|
|
@@ -25257,7 +25257,7 @@ function Ra({
|
|
|
25257
25257
|
}
|
|
25258
25258
|
const Pi = 16, Du = 17, UN = "http://www.w3.org/2000/svg";
|
|
25259
25259
|
function HN() {
|
|
25260
|
-
const t = (u) =>
|
|
25260
|
+
const t = (u) => pt.document.createElementNS(UN, u), e = Ge(t("svg"), {
|
|
25261
25261
|
width: `${Pi}`,
|
|
25262
25262
|
height: `${Du}`,
|
|
25263
25263
|
viewBox: `0 0 ${Pi} ${Du}`,
|
|
@@ -25282,7 +25282,7 @@ function HN() {
|
|
|
25282
25282
|
});
|
|
25283
25283
|
return o.appendChild(s), a.appendChild(o), e.appendChild(a).appendChild(o).appendChild(s), e;
|
|
25284
25284
|
}
|
|
25285
|
-
const
|
|
25285
|
+
const Tt = "/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/Dialog.tsx";
|
|
25286
25286
|
function GN({ open: t, onFormSubmitted: e, ...n }) {
|
|
25287
25287
|
const i = n.options, r = ui(() => ({ __html: HN().outerHTML }), []), [a, o] = kn(null), s = Tn(() => {
|
|
25288
25288
|
a && (clearTimeout(a), o(null)), e();
|
|
@@ -25298,22 +25298,22 @@ function GN({ open: t, onFormSubmitted: e, ...n }) {
|
|
|
25298
25298
|
);
|
|
25299
25299
|
return te(
|
|
25300
25300
|
ci,
|
|
25301
|
-
{ __self: this, __source: { fileName:
|
|
25301
|
+
{ __self: this, __source: { fileName: Tt, lineNumber: 48 } },
|
|
25302
25302
|
a ? te(
|
|
25303
25303
|
"div",
|
|
25304
|
-
{ class: "success__position", onClick: s, __self: this, __source: { fileName:
|
|
25304
|
+
{ class: "success__position", onClick: s, __self: this, __source: { fileName: Tt, lineNumber: 50 } },
|
|
25305
25305
|
te(
|
|
25306
25306
|
"div",
|
|
25307
|
-
{ class: "success__content", __self: this, __source: { fileName:
|
|
25307
|
+
{ class: "success__content", __self: this, __source: { fileName: Tt, lineNumber: 51 } },
|
|
25308
25308
|
i.successMessageText,
|
|
25309
|
-
te("span", { class: "success__icon", dangerouslySetInnerHTML: r, __self: this, __source: { fileName:
|
|
25309
|
+
te("span", { class: "success__icon", dangerouslySetInnerHTML: r, __self: this, __source: { fileName: Tt, lineNumber: 53 } })
|
|
25310
25310
|
)
|
|
25311
25311
|
) : te(
|
|
25312
25312
|
"dialog",
|
|
25313
|
-
{ class: "dialog", onClick: i.onFormClose, open: t, __self: this, __source: { fileName:
|
|
25313
|
+
{ class: "dialog", onClick: i.onFormClose, open: t, __self: this, __source: { fileName: Tt, lineNumber: 57 } },
|
|
25314
25314
|
te(
|
|
25315
25315
|
"div",
|
|
25316
|
-
{ class: "dialog__position", __self: this, __source: { fileName:
|
|
25316
|
+
{ class: "dialog__position", __self: this, __source: { fileName: Tt, lineNumber: 58 } },
|
|
25317
25317
|
te(
|
|
25318
25318
|
"div",
|
|
25319
25319
|
{
|
|
@@ -25322,10 +25322,10 @@ function GN({ open: t, onFormSubmitted: e, ...n }) {
|
|
|
25322
25322
|
c.stopPropagation();
|
|
25323
25323
|
},
|
|
25324
25324
|
__self: this,
|
|
25325
|
-
__source: { fileName:
|
|
25325
|
+
__source: { fileName: Tt, lineNumber: 59 }
|
|
25326
25326
|
},
|
|
25327
|
-
te(zN, { options: i, __self: this, __source: { fileName:
|
|
25328
|
-
te(qN, { ...n, onSubmitSuccess: u, __self: this, __source: { fileName:
|
|
25327
|
+
te(zN, { options: i, __self: this, __source: { fileName: Tt, lineNumber: 66 } }),
|
|
25328
|
+
te(qN, { ...n, onSubmitSuccess: u, __self: this, __source: { fileName: Tt, lineNumber: 67 } })
|
|
25329
25329
|
)
|
|
25330
25330
|
)
|
|
25331
25331
|
)
|
|
@@ -25786,8 +25786,8 @@ function rF({ hooks: t }) {
|
|
|
25786
25786
|
n();
|
|
25787
25787
|
const s = await Un.mediaDevices.getDisplayMedia({
|
|
25788
25788
|
video: {
|
|
25789
|
-
width:
|
|
25790
|
-
height:
|
|
25789
|
+
width: pt.innerWidth * pt.devicePixelRatio,
|
|
25790
|
+
height: pt.innerHeight * pt.devicePixelRatio
|
|
25791
25791
|
},
|
|
25792
25792
|
audio: !1,
|
|
25793
25793
|
// @ts-expect-error experimental flags: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#prefercurrenttab
|
|
@@ -25805,7 +25805,7 @@ function rF({ hooks: t }) {
|
|
|
25805
25805
|
}, []);
|
|
25806
25806
|
};
|
|
25807
25807
|
}
|
|
25808
|
-
const Ze = "/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/screenshot/components/ScreenshotEditor.tsx", Hn = 30,
|
|
25808
|
+
const Ze = "/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/screenshot/components/ScreenshotEditor.tsx", Hn = 30, Et = 3, Lt = Hn + Et, je = pt.devicePixelRatio, Fn = (t) => ({
|
|
25809
25809
|
x: Math.min(t.startX, t.endX),
|
|
25810
25810
|
y: Math.min(t.startY, t.endY),
|
|
25811
25811
|
width: Math.abs(t.startX - t.endX),
|
|
@@ -25828,7 +25828,7 @@ function aF({
|
|
|
25828
25828
|
return function({ onError: s }) {
|
|
25829
25829
|
const u = e.useMemo(() => ({ __html: iF(r.styleNonce).innerText }), []), c = nF({ h: t }), f = e.useRef(null), h = e.useRef(null), l = e.useRef(null), [d, g] = e.useState({ startX: 0, startY: 0, endX: 0, endY: 0 }), [b, m] = e.useState(!1), [p, y] = e.useState(!1);
|
|
25830
25830
|
e.useEffect(() => {
|
|
25831
|
-
|
|
25831
|
+
pt.addEventListener("resize", E, !1);
|
|
25832
25832
|
}, []);
|
|
25833
25833
|
function E() {
|
|
25834
25834
|
const $ = l.current, B = Fn(Na(n));
|
|
@@ -25865,29 +25865,29 @@ function aF({
|
|
|
25865
25865
|
case "top-left":
|
|
25866
25866
|
g((w) => ({
|
|
25867
25867
|
...w,
|
|
25868
|
-
startX: Math.min(Math.max(0, D), w.endX -
|
|
25869
|
-
startY: Math.min(Math.max(0, x), w.endY -
|
|
25868
|
+
startX: Math.min(Math.max(0, D), w.endX - Lt),
|
|
25869
|
+
startY: Math.min(Math.max(0, x), w.endY - Lt)
|
|
25870
25870
|
}));
|
|
25871
25871
|
break;
|
|
25872
25872
|
case "top-right":
|
|
25873
25873
|
g((w) => ({
|
|
25874
25874
|
...w,
|
|
25875
|
-
endX: Math.max(Math.min(D, S.width / je), w.startX +
|
|
25876
|
-
startY: Math.min(Math.max(0, x), w.endY -
|
|
25875
|
+
endX: Math.max(Math.min(D, S.width / je), w.startX + Lt),
|
|
25876
|
+
startY: Math.min(Math.max(0, x), w.endY - Lt)
|
|
25877
25877
|
}));
|
|
25878
25878
|
break;
|
|
25879
25879
|
case "bottom-left":
|
|
25880
25880
|
g((w) => ({
|
|
25881
25881
|
...w,
|
|
25882
|
-
startX: Math.min(Math.max(0, D), w.endX -
|
|
25883
|
-
endY: Math.max(Math.min(x, S.height / je), w.startY +
|
|
25882
|
+
startX: Math.min(Math.max(0, D), w.endX - Lt),
|
|
25883
|
+
endY: Math.max(Math.min(x, S.height / je), w.startY + Lt)
|
|
25884
25884
|
}));
|
|
25885
25885
|
break;
|
|
25886
25886
|
case "bottom-right":
|
|
25887
25887
|
g((w) => ({
|
|
25888
25888
|
...w,
|
|
25889
|
-
endX: Math.max(Math.min(D, S.width / je), w.startX +
|
|
25890
|
-
endY: Math.max(Math.min(x, S.height / je), w.startY +
|
|
25889
|
+
endX: Math.max(Math.min(D, S.width / je), w.startX + Lt),
|
|
25890
|
+
endY: Math.max(Math.min(x, S.height / je), w.startY + Lt)
|
|
25891
25891
|
}));
|
|
25892
25892
|
break;
|
|
25893
25893
|
}
|
|
@@ -25981,8 +25981,8 @@ function aF({
|
|
|
25981
25981
|
t(
|
|
25982
25982
|
c,
|
|
25983
25983
|
{
|
|
25984
|
-
left: d.startX -
|
|
25985
|
-
top: d.startY -
|
|
25984
|
+
left: d.startX - Et,
|
|
25985
|
+
top: d.startY - Et,
|
|
25986
25986
|
onGrabButton: T,
|
|
25987
25987
|
corner: "top-left",
|
|
25988
25988
|
__self: this,
|
|
@@ -25992,8 +25992,8 @@ function aF({
|
|
|
25992
25992
|
t(
|
|
25993
25993
|
c,
|
|
25994
25994
|
{
|
|
25995
|
-
left: d.endX - Hn +
|
|
25996
|
-
top: d.startY -
|
|
25995
|
+
left: d.endX - Hn + Et,
|
|
25996
|
+
top: d.startY - Et,
|
|
25997
25997
|
onGrabButton: T,
|
|
25998
25998
|
corner: "top-right",
|
|
25999
25999
|
__self: this,
|
|
@@ -26003,8 +26003,8 @@ function aF({
|
|
|
26003
26003
|
t(
|
|
26004
26004
|
c,
|
|
26005
26005
|
{
|
|
26006
|
-
left: d.startX -
|
|
26007
|
-
top: d.endY - Hn +
|
|
26006
|
+
left: d.startX - Et,
|
|
26007
|
+
top: d.endY - Hn + Et,
|
|
26008
26008
|
onGrabButton: T,
|
|
26009
26009
|
corner: "bottom-left",
|
|
26010
26010
|
__self: this,
|
|
@@ -26014,8 +26014,8 @@ function aF({
|
|
|
26014
26014
|
t(
|
|
26015
26015
|
c,
|
|
26016
26016
|
{
|
|
26017
|
-
left: d.endX - Hn +
|
|
26018
|
-
top: d.endY - Hn +
|
|
26017
|
+
left: d.endX - Hn + Et,
|
|
26018
|
+
top: d.endY - Hn + Et,
|
|
26019
26019
|
onGrabButton: T,
|
|
26020
26020
|
corner: "bottom-right",
|
|
26021
26021
|
__self: this,
|
|
@@ -26103,7 +26103,7 @@ const oF = () => ({
|
|
|
26103
26103
|
lazyLoadIntegration: VR,
|
|
26104
26104
|
getModalIntegration: () => eF,
|
|
26105
26105
|
getScreenshotIntegration: () => oF
|
|
26106
|
-
}), No = "2.5.
|
|
26106
|
+
}), No = "2.5.9", lF = (t, e, n) => {
|
|
26107
26107
|
const i = t.get(e);
|
|
26108
26108
|
i ? i.includes(n) || i.push(n) : t.set(e, [n]);
|
|
26109
26109
|
}, cF = (t, e) => {
|
|
@@ -26244,7 +26244,7 @@ const mF = ".wave{display:flex;align-items:center;justify-content:center}.dot{wi
|
|
|
26244
26244
|
width: [1],
|
|
26245
26245
|
height: [1]
|
|
26246
26246
|
}]);
|
|
26247
|
-
function
|
|
26247
|
+
function bt() {
|
|
26248
26248
|
if (typeof customElements > "u")
|
|
26249
26249
|
return;
|
|
26250
26250
|
["loading-icon"].forEach((e) => {
|
|
@@ -26278,7 +26278,7 @@ const yF = "button.sc-button-component{display:flex;align-items:center;justify-c
|
|
|
26278
26278
|
focusHandler: [16, "focus-handler"],
|
|
26279
26279
|
blurHandler: [16, "blur-handler"]
|
|
26280
26280
|
}]);
|
|
26281
|
-
function
|
|
26281
|
+
function Mt() {
|
|
26282
26282
|
if (typeof customElements > "u")
|
|
26283
26283
|
return;
|
|
26284
26284
|
["button-component", "loading-icon"].forEach((e) => {
|
|
@@ -26287,7 +26287,7 @@ function Dt() {
|
|
|
26287
26287
|
customElements.get(e) || customElements.define(e, vF);
|
|
26288
26288
|
break;
|
|
26289
26289
|
case "loading-icon":
|
|
26290
|
-
customElements.get(e) ||
|
|
26290
|
+
customElements.get(e) || bt();
|
|
26291
26291
|
break;
|
|
26292
26292
|
}
|
|
26293
26293
|
});
|
|
@@ -26629,7 +26629,7 @@ const UF = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
26629
26629
|
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged = G(this, "nylasFormInputChanged", 7), this.nylasFormInputFocused = G(this, "nylasFormInputFocused", 7), this.nylasFormInputBlurred = G(this, "nylasFormInputBlurred", 7), this.name = "input", this.label = "", this.type = "text", this.placeholder = GF[this.type], this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.maxLength = 255, this.patternError = "", this.requiredError = "", this.error = "";
|
|
26630
26630
|
}
|
|
26631
26631
|
handleDefaultValueChange(e) {
|
|
26632
|
-
this.value =
|
|
26632
|
+
this.value = St(e), this.value && this.validatePattern(this.value);
|
|
26633
26633
|
}
|
|
26634
26634
|
themeConfigChangedHandler(e, n) {
|
|
26635
26635
|
e !== n && this.applyThemeConfig(e);
|
|
@@ -26647,7 +26647,7 @@ const UF = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
26647
26647
|
componentWillLoad() {
|
|
26648
26648
|
}
|
|
26649
26649
|
componentDidLoad() {
|
|
26650
|
-
this.value =
|
|
26650
|
+
this.value = St(this.defaultValue || ""), this.type !== "text" && !this.pattern && (this.pattern = HF[this.type]), this.value && this.validatePattern(this.value);
|
|
26651
26651
|
}
|
|
26652
26652
|
handleBookingFormSubmitted(e) {
|
|
26653
26653
|
this.validatePattern(this.value), this.error && e.preventDefault();
|
|
@@ -26663,7 +26663,7 @@ const UF = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
26663
26663
|
const i = parseFloat(n);
|
|
26664
26664
|
this.maxValue !== void 0 && i > this.maxValue || this.minValue !== void 0 && i < this.minValue ? this.minValue === void 0 ? this.error = `Value must be less than ${this.maxValue}` : this.maxValue === void 0 ? this.error = `Value must be greater than ${this.minValue}` : this.error = `Value must be between ${this.minValue} and ${this.maxValue}` : isNaN(i) && (this.error = this.patternError || "Invalid format.");
|
|
26665
26665
|
}
|
|
26666
|
-
this.value =
|
|
26666
|
+
this.value = St(n), this.nylasFormInputChanged.emit({
|
|
26667
26667
|
value: this.value,
|
|
26668
26668
|
name: this.name,
|
|
26669
26669
|
label: this.label,
|
|
@@ -27134,7 +27134,7 @@ const E$ = ee(class extends Q {
|
|
|
27134
27134
|
async componentDidLoad() {
|
|
27135
27135
|
var i, r;
|
|
27136
27136
|
L("[nylas-booked-event-card] Component did load"), this.eventInfo || L('[nylas-booked-event-card] "eventInfo" prop missing. Please provide the event info to display the event details in the booked event card component.'), this.bookingInfo || L('[nylas-booked-event-card] "bookingInfo" prop missing. Please provide the booking info to display the guest details in the booked event card component.');
|
|
27137
|
-
const e =
|
|
27137
|
+
const e = qt[this.selectedLanguage || "en"], n = new Intl.DateTimeFormat(e, {
|
|
27138
27138
|
hour: "2-digit",
|
|
27139
27139
|
minute: "2-digit",
|
|
27140
27140
|
timeZone: this.selectedTimezone,
|
|
@@ -27150,7 +27150,7 @@ const E$ = ee(class extends Q {
|
|
|
27150
27150
|
render() {
|
|
27151
27151
|
var i, r, a, o, s, u, c, f, h, l, d, g, b, m, p, y;
|
|
27152
27152
|
const e = (i = this.configSettings) == null ? void 0 : i.booking_type, n = e && e !== "booking";
|
|
27153
|
-
return v(ve, { key: "302d347b5ff01084308df20bfb4c2b5cd640c611", part: "nbec" }, v("div", { key: "3fd703405d5d67f15e2420cb5b797b26e1fbecf7", class: "nylas-booked-event-card" }, v("div", { key: "60980fe5326d21fe0956ee206859023eb1f07126", class: "booked-event-timezone" }, v("globe-icon", { key: "cc3154733bec79085dfa93e161a3d3afad65e9e6" }), Yn[this.selectedTimezone]), v("div", { key: "c08101d7afb5321127dd32216e844eb14bc49d93", class: "event-card-wrapper", part: "nbec__card" }, v("div", { key: "ef2179ffc943e3a4d833f72926ac82e5079cc358", class: "calendar-icon" }, v("calendar-check-icon", { key: "6c5c3cebf22a0ea56c789f2c961e88e77295c221" })), v("div", { key: "ee3b2f86f4aa50031c3724c9f4222ed232e63308", class: "booked-event-header" }, v("h2", { key: "97ae572217fe1692f2f2528dcedd80dcb7c48e83", slot: "card-title", part: "nbec__title" }, this.rescheduleBookingId && !this.isLoading ? `${M.t("bookingRescheduled")}` : n && !this.isLoading ? `${M.t("bookingSent")}` : `${M.t("bookingConfirmed")}`, "!"), v("div", { key: "9cea60bb948552978eabda962a1102cdc9f2910d", class: "card-description", part: "nbec__description" }, n ? M.t("bookingSentDescription") : v("span", null, M.t("bookingConfirmedDescription")))), v("div", { key: "177747d21336d0716fac77345c9f375fd2660c0a", class: "booking-date-time" }, v("checkmark-circle-icon", { key: "6a5db3642484d5a36399abaf77674683c8abe141" }), v("h3", { key: "a0443d20a5fdd173ae971eb382cb5741f84b2456" }, M.t("bookingDateAndTimeHeader")), v("p", { key: "5975c69e38fd959ebb52c726df83e4a0e1727630" }, (r = this.selectedTimeslot) != null && r.start_time ? ts(_A((a = this.selectedTimeslot) == null ? void 0 : a.start_time, this.selectedTimezone,
|
|
27153
|
+
return v(ve, { key: "302d347b5ff01084308df20bfb4c2b5cd640c611", part: "nbec" }, v("div", { key: "3fd703405d5d67f15e2420cb5b797b26e1fbecf7", class: "nylas-booked-event-card" }, v("div", { key: "60980fe5326d21fe0956ee206859023eb1f07126", class: "booked-event-timezone" }, v("globe-icon", { key: "cc3154733bec79085dfa93e161a3d3afad65e9e6" }), Yn[this.selectedTimezone]), v("div", { key: "c08101d7afb5321127dd32216e844eb14bc49d93", class: "event-card-wrapper", part: "nbec__card" }, v("div", { key: "ef2179ffc943e3a4d833f72926ac82e5079cc358", class: "calendar-icon" }, v("calendar-check-icon", { key: "6c5c3cebf22a0ea56c789f2c961e88e77295c221" })), v("div", { key: "ee3b2f86f4aa50031c3724c9f4222ed232e63308", class: "booked-event-header" }, v("h2", { key: "97ae572217fe1692f2f2528dcedd80dcb7c48e83", slot: "card-title", part: "nbec__title" }, this.rescheduleBookingId && !this.isLoading ? `${M.t("bookingRescheduled")}` : n && !this.isLoading ? `${M.t("bookingSent")}` : `${M.t("bookingConfirmed")}`, "!"), v("div", { key: "9cea60bb948552978eabda962a1102cdc9f2910d", class: "card-description", part: "nbec__description" }, n ? M.t("bookingSentDescription") : v("span", null, M.t("bookingConfirmedDescription")))), v("div", { key: "177747d21336d0716fac77345c9f375fd2660c0a", class: "booking-date-time" }, v("checkmark-circle-icon", { key: "6a5db3642484d5a36399abaf77674683c8abe141" }), v("h3", { key: "a0443d20a5fdd173ae971eb382cb5741f84b2456" }, M.t("bookingDateAndTimeHeader")), v("p", { key: "5975c69e38fd959ebb52c726df83e4a0e1727630" }, (r = this.selectedTimeslot) != null && r.start_time ? ts(_A((a = this.selectedTimeslot) == null ? void 0 : a.start_time, this.selectedTimezone, qt[this.selectedLanguage])) : "-", " ", v("br", { key: "57e9a4786f013eabe020a9b34491c0072e8b8bba" }), this.startTime, " - ", this.endTime)), v("div", { key: "3dd212ae1c1c0e3475445593eeef5d0aa72e10b8", class: "booking-participants" }), !n && v("div", { key: "6cd2a3c135a24c4bba3567ff9342b56f5eacb0df", class: "button-container" }, v("div", { key: "7b05305fbd1741297930c30b0f747b0152768bd1", class: {
|
|
27154
27154
|
footer: !0,
|
|
27155
27155
|
"no-footer": ((s = (o = this.configSettings) == null ? void 0 : o.scheduler) == null ? void 0 : s.hide_cancellation_options) && ((c = (u = this.configSettings) == null ? void 0 : u.scheduler) == null ? void 0 : c.hide_rescheduling_options) || ((f = this.configSettings) == null ? void 0 : f.booking_type) === "organizer-confirmation",
|
|
27156
27156
|
"no-template-cols": !!((l = (h = this.configSettings) == null ? void 0 : h.scheduler) != null && l.hide_cancellation_options) || !!((g = (d = this.configSettings) == null ? void 0 : d.scheduler) != null && g.hide_rescheduling_options)
|
|
@@ -27229,7 +27229,7 @@ function QF() {
|
|
|
27229
27229
|
customElements.get(e) || customElements.define(e, E$);
|
|
27230
27230
|
break;
|
|
27231
27231
|
case "button-component":
|
|
27232
|
-
customElements.get(e) ||
|
|
27232
|
+
customElements.get(e) || Mt();
|
|
27233
27233
|
break;
|
|
27234
27234
|
case "calendar-check-icon":
|
|
27235
27235
|
customElements.get(e) || jr();
|
|
@@ -27241,7 +27241,7 @@ function QF() {
|
|
|
27241
27241
|
customElements.get(e) || qr();
|
|
27242
27242
|
break;
|
|
27243
27243
|
case "loading-icon":
|
|
27244
|
-
customElements.get(e) ||
|
|
27244
|
+
customElements.get(e) || bt();
|
|
27245
27245
|
break;
|
|
27246
27246
|
}
|
|
27247
27247
|
});
|
|
@@ -27253,7 +27253,7 @@ const ez = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
27253
27253
|
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged = G(this, "nylasFormInputChanged", 7), this.nylasFormInputFocused = G(this, "nylasFormInputFocused", 7), this.nylasFormInputBlurred = G(this, "nylasFormInputBlurred", 7), this.name = "input", this.label = "", this.placeholder = tz.date, this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.maxLength = 255, this.patternError = "", this.requiredError = "", this.errorMessage = "", this.hasError = !1, this.error = "", this.isDateValid = !0;
|
|
27254
27254
|
}
|
|
27255
27255
|
handleDefaultValueChange(e) {
|
|
27256
|
-
this.value =
|
|
27256
|
+
this.value = St(e), this.value && this.validatePattern(this.value, !0);
|
|
27257
27257
|
}
|
|
27258
27258
|
themeConfigChangedHandler(e, n) {
|
|
27259
27259
|
e !== n && this.applyThemeConfig(e);
|
|
@@ -27269,7 +27269,7 @@ const ez = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
27269
27269
|
});
|
|
27270
27270
|
}
|
|
27271
27271
|
componentDidLoad() {
|
|
27272
|
-
this.value =
|
|
27272
|
+
this.value = St(this.defaultValue || ""), this.value && this.validatePattern(this.value, !0);
|
|
27273
27273
|
}
|
|
27274
27274
|
handleBookingFormSubmitted(e) {
|
|
27275
27275
|
this.validatePattern(this.value), this.error && e.preventDefault();
|
|
@@ -27280,7 +27280,7 @@ const ez = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
27280
27280
|
handleInput(e) {
|
|
27281
27281
|
this.error = "";
|
|
27282
27282
|
const n = e.target;
|
|
27283
|
-
this.value =
|
|
27283
|
+
this.value = St(n.value), this.isDateValid = n.validity.valid, this.nylasFormInputChanged.emit({
|
|
27284
27284
|
value: this.value,
|
|
27285
27285
|
name: this.name,
|
|
27286
27286
|
label: this.label,
|
|
@@ -27927,7 +27927,7 @@ const dz = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
|
|
|
27927
27927
|
});
|
|
27928
27928
|
}
|
|
27929
27929
|
componentDidLoad() {
|
|
27930
|
-
this.value =
|
|
27930
|
+
this.value = St(this.defaultValue || "");
|
|
27931
27931
|
}
|
|
27932
27932
|
themeConfigChangedHandler(e, n) {
|
|
27933
27933
|
e !== n && this.applyThemeConfig(e);
|
|
@@ -27946,7 +27946,7 @@ const dz = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
|
|
|
27946
27946
|
handleInput(e) {
|
|
27947
27947
|
this.error = "";
|
|
27948
27948
|
const n = e.target;
|
|
27949
|
-
this.value =
|
|
27949
|
+
this.value = St(n.value), this.nylasFormInputChanged.emit({
|
|
27950
27950
|
value: this.value,
|
|
27951
27951
|
name: this.name,
|
|
27952
27952
|
error: this.error,
|
|
@@ -28164,7 +28164,7 @@ const Di = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
|
|
|
28164
28164
|
});
|
|
28165
28165
|
}
|
|
28166
28166
|
changeName(e) {
|
|
28167
|
-
this.isNameValid = !0, this.validationError.name = "", this.name =
|
|
28167
|
+
this.isNameValid = !0, this.validationError.name = "", this.name = St(e), this.nameChanged.emit(e);
|
|
28168
28168
|
}
|
|
28169
28169
|
changeEmail(e) {
|
|
28170
28170
|
this.isEmailValid = !0, this.validationError.email = "", this.email = bo(e), this.emailChanged.emit(e);
|
|
@@ -28363,7 +28363,7 @@ function pz() {
|
|
|
28363
28363
|
customElements.get(e) || p$();
|
|
28364
28364
|
break;
|
|
28365
28365
|
case "button-component":
|
|
28366
|
-
customElements.get(e) ||
|
|
28366
|
+
customElements.get(e) || Mt();
|
|
28367
28367
|
break;
|
|
28368
28368
|
case "checkbox-component":
|
|
28369
28369
|
customElements.get(e) || b$();
|
|
@@ -28381,7 +28381,7 @@ function pz() {
|
|
|
28381
28381
|
customElements.get(e) || k$();
|
|
28382
28382
|
break;
|
|
28383
28383
|
case "loading-icon":
|
|
28384
|
-
customElements.get(e) ||
|
|
28384
|
+
customElements.get(e) || bt();
|
|
28385
28385
|
break;
|
|
28386
28386
|
case "multi-select-dropdown":
|
|
28387
28387
|
customElements.get(e) || T$();
|
|
@@ -28568,7 +28568,7 @@ function yz() {
|
|
|
28568
28568
|
customElements.get(e) || customElements.define(e, S$);
|
|
28569
28569
|
break;
|
|
28570
28570
|
case "button-component":
|
|
28571
|
-
customElements.get(e) ||
|
|
28571
|
+
customElements.get(e) || Mt();
|
|
28572
28572
|
break;
|
|
28573
28573
|
case "calendar-cancel-icon":
|
|
28574
28574
|
customElements.get(e) || ks();
|
|
@@ -28577,7 +28577,7 @@ function yz() {
|
|
|
28577
28577
|
customElements.get(e) || fi();
|
|
28578
28578
|
break;
|
|
28579
28579
|
case "loading-icon":
|
|
28580
|
-
customElements.get(e) ||
|
|
28580
|
+
customElements.get(e) || bt();
|
|
28581
28581
|
break;
|
|
28582
28582
|
case "textarea-component":
|
|
28583
28583
|
customElements.get(e) || Hr();
|
|
@@ -28694,13 +28694,13 @@ function Tz() {
|
|
|
28694
28694
|
customElements.get(e) || customElements.define(e, x$);
|
|
28695
28695
|
break;
|
|
28696
28696
|
case "button-component":
|
|
28697
|
-
customElements.get(e) ||
|
|
28697
|
+
customElements.get(e) || Mt();
|
|
28698
28698
|
break;
|
|
28699
28699
|
case "calendar-cancel-icon":
|
|
28700
28700
|
customElements.get(e) || ks();
|
|
28701
28701
|
break;
|
|
28702
28702
|
case "loading-icon":
|
|
28703
|
-
customElements.get(e) ||
|
|
28703
|
+
customElements.get(e) || bt();
|
|
28704
28704
|
break;
|
|
28705
28705
|
}
|
|
28706
28706
|
});
|
|
@@ -28808,13 +28808,13 @@ function Cz() {
|
|
|
28808
28808
|
customElements.get(e) || customElements.define(e, A$);
|
|
28809
28809
|
break;
|
|
28810
28810
|
case "button-component":
|
|
28811
|
-
customElements.get(e) ||
|
|
28811
|
+
customElements.get(e) || Mt();
|
|
28812
28812
|
break;
|
|
28813
28813
|
case "calendar-check-icon":
|
|
28814
28814
|
customElements.get(e) || jr();
|
|
28815
28815
|
break;
|
|
28816
28816
|
case "loading-icon":
|
|
28817
|
-
customElements.get(e) ||
|
|
28817
|
+
customElements.get(e) || bt();
|
|
28818
28818
|
break;
|
|
28819
28819
|
}
|
|
28820
28820
|
});
|
|
@@ -29193,7 +29193,7 @@ function Lz() {
|
|
|
29193
29193
|
customElements.get(e) || customElements.define(e, D$);
|
|
29194
29194
|
break;
|
|
29195
29195
|
case "button-component":
|
|
29196
|
-
customElements.get(e) ||
|
|
29196
|
+
customElements.get(e) || Mt();
|
|
29197
29197
|
break;
|
|
29198
29198
|
case "close-icon":
|
|
29199
29199
|
customElements.get(e) || di();
|
|
@@ -29202,7 +29202,7 @@ function Lz() {
|
|
|
29202
29202
|
customElements.get(e) || fi();
|
|
29203
29203
|
break;
|
|
29204
29204
|
case "loading-icon":
|
|
29205
|
-
customElements.get(e) ||
|
|
29205
|
+
customElements.get(e) || bt();
|
|
29206
29206
|
break;
|
|
29207
29207
|
case "textarea-component":
|
|
29208
29208
|
customElements.get(e) || Hr();
|
|
@@ -29254,7 +29254,7 @@ var Nz = function(t, e, n, i) {
|
|
|
29254
29254
|
const L$ = ee(class extends Q {
|
|
29255
29255
|
constructor() {
|
|
29256
29256
|
var e, n;
|
|
29257
|
-
super(), this.__registerHost(), this.__attachShadow(), this.timezoneChanged = G(this, "timezoneChanged", 7), this.languageChanged = G(this, "languageChanged", 7), this.selectedTimezone = ((e = this.bookingInfo) == null ? void 0 : e.timezone) || Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage =
|
|
29257
|
+
super(), this.__registerHost(), this.__attachShadow(), this.timezoneChanged = G(this, "timezoneChanged", 7), this.languageChanged = G(this, "languageChanged", 7), this.selectedTimezone = ((e = this.bookingInfo) == null ? void 0 : e.timezone) || Intl.DateTimeFormat().resolvedOptions().timeZone, this.selectedLanguage = ft((n = this.bookingInfo) == null ? void 0 : n.language) || br() || $e.en, this.searchPlaceholder = M.t("search");
|
|
29258
29258
|
}
|
|
29259
29259
|
themeConfigChanged(e) {
|
|
29260
29260
|
this.applyThemeConfig(e);
|
|
@@ -29285,7 +29285,7 @@ const L$ = ee(class extends Q {
|
|
|
29285
29285
|
this.selectedTimezone = e, this.timezoneChanged.emit(e);
|
|
29286
29286
|
}
|
|
29287
29287
|
changeLanguage(e) {
|
|
29288
|
-
const n =
|
|
29288
|
+
const n = ft(e) || $e.en;
|
|
29289
29289
|
this.selectedLanguage = n, M.changeLanguage(n), this.searchPlaceholder = M.t("search"), this.languageChanged.emit(n);
|
|
29290
29290
|
}
|
|
29291
29291
|
nylasFormDropdownChangedHandler(e) {
|
|
@@ -29655,13 +29655,13 @@ function Zz() {
|
|
|
29655
29655
|
customElements.get(e) || customElements.define(e, I$);
|
|
29656
29656
|
break;
|
|
29657
29657
|
case "button-component":
|
|
29658
|
-
customElements.get(e) ||
|
|
29658
|
+
customElements.get(e) || Mt();
|
|
29659
29659
|
break;
|
|
29660
29660
|
case "calendar-check-icon":
|
|
29661
29661
|
customElements.get(e) || jr();
|
|
29662
29662
|
break;
|
|
29663
29663
|
case "loading-icon":
|
|
29664
|
-
customElements.get(e) ||
|
|
29664
|
+
customElements.get(e) || bt();
|
|
29665
29665
|
break;
|
|
29666
29666
|
}
|
|
29667
29667
|
});
|
|
@@ -29717,7 +29717,7 @@ const R$ = ee(class extends Q {
|
|
|
29717
29717
|
this.startTime = "", this.endTime = "";
|
|
29718
29718
|
return;
|
|
29719
29719
|
}
|
|
29720
|
-
const e =
|
|
29720
|
+
const e = qt[this.selectedLanguage || "en"], n = new Intl.DateTimeFormat(e, {
|
|
29721
29721
|
hour: "2-digit",
|
|
29722
29722
|
minute: "2-digit",
|
|
29723
29723
|
timeZone: this.selectedTimezone,
|
|
@@ -29732,7 +29732,7 @@ const R$ = ee(class extends Q {
|
|
|
29732
29732
|
}
|
|
29733
29733
|
render() {
|
|
29734
29734
|
var e;
|
|
29735
|
-
return v(ve, { key: "9610116de1cf94e0204fd691318e916f534d07a8", part: "nsec" }, v("div", { key: "670e4099f18113f3b8ea9e0b6c76a408e26c713c", class: "event-card", part: "nsec__card" }, v("div", { key: "b4806f52b760b1839224f2344b5524e33fe75cf9", class: "calendar-icon", part: "nsec__icon" }, v("calendar-icon", { key: "bbc6c139aeac8f868fc60bffcebcf6d72ca38b18" })), v("div", { key: "a6b42bc8fba2ed5416216b51a523a6c6d0b34b19", class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate ? ts(_A((e = this.selectedTimeslot) == null ? void 0 : e.start_time, this.selectedTimezone,
|
|
29735
|
+
return v(ve, { key: "9610116de1cf94e0204fd691318e916f534d07a8", part: "nsec" }, v("div", { key: "670e4099f18113f3b8ea9e0b6c76a408e26c713c", class: "event-card", part: "nsec__card" }, v("div", { key: "b4806f52b760b1839224f2344b5524e33fe75cf9", class: "calendar-icon", part: "nsec__icon" }, v("calendar-icon", { key: "bbc6c139aeac8f868fc60bffcebcf6d72ca38b18" })), v("div", { key: "a6b42bc8fba2ed5416216b51a523a6c6d0b34b19", class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate ? ts(_A((e = this.selectedTimeslot) == null ? void 0 : e.start_time, this.selectedTimezone, qt[this.selectedLanguage || "en"])) : "-"), v("div", { key: "6863f6b7ceb0a75cc3767e03df10cf837a8506d8", class: "nylas-selected-event-card__time", part: "nsec__time" }, this.startTime, " - ", this.endTime)), v("div", { key: "81a459e1c205e8a27eebb23e6ff6d9ab4d067d5d", class: "event-timezone", part: "nsec__timezone" }, v("globe-icon", { key: "074bf2f15c33da5697112d4498f6b8e2d092d3b9" }), Yn[this.selectedTimezone]));
|
|
29736
29736
|
}
|
|
29737
29737
|
get host() {
|
|
29738
29738
|
return this;
|
|
@@ -29889,7 +29889,7 @@ const N$ = ee(class extends Q {
|
|
|
29889
29889
|
this.validateTimeslotError.emit({ error: e, type: n });
|
|
29890
29890
|
}
|
|
29891
29891
|
getTimeSlotLabel(e) {
|
|
29892
|
-
const n =
|
|
29892
|
+
const n = qt[this.selectedLanguage || "en"], i = new Intl.DateTimeFormat(n, {
|
|
29893
29893
|
hour: "2-digit",
|
|
29894
29894
|
minute: "2-digit",
|
|
29895
29895
|
timeZone: this.selectedTimezone,
|
|
@@ -29898,7 +29898,7 @@ const N$ = ee(class extends Q {
|
|
|
29898
29898
|
return `${i.format(e.start_time)} - ${i.format(e.end_time)}`;
|
|
29899
29899
|
}
|
|
29900
29900
|
render() {
|
|
29901
|
-
const e =
|
|
29901
|
+
const e = qt[this.selectedLanguage || "en"];
|
|
29902
29902
|
if (this.isLoading)
|
|
29903
29903
|
return v(ve, null, v("div", { class: "loading" }, new Array(6).fill(0).map((i, r) => v("div", { class: "timeslot-skeleton", style: { animationDelay: `${r * 20}ms` } }))));
|
|
29904
29904
|
if (this.availability && this.availability.length === 0)
|
|
@@ -30000,10 +30000,10 @@ function nj() {
|
|
|
30000
30000
|
customElements.get(e) || customElements.define(e, N$);
|
|
30001
30001
|
break;
|
|
30002
30002
|
case "button-component":
|
|
30003
|
-
customElements.get(e) ||
|
|
30003
|
+
customElements.get(e) || Mt();
|
|
30004
30004
|
break;
|
|
30005
30005
|
case "loading-icon":
|
|
30006
|
-
customElements.get(e) ||
|
|
30006
|
+
customElements.get(e) || bt();
|
|
30007
30007
|
break;
|
|
30008
30008
|
}
|
|
30009
30009
|
});
|
|
@@ -30011,7 +30011,7 @@ function nj() {
|
|
|
30011
30011
|
class ij {
|
|
30012
30012
|
constructor() {
|
|
30013
30013
|
this.component = (e) => {
|
|
30014
|
-
const n =
|
|
30014
|
+
const n = xt.Component, i = `${e} Error`;
|
|
30015
30015
|
return {
|
|
30016
30016
|
endtime_not_in_future: (r = '"endtime" can not be in the future') => ({
|
|
30017
30017
|
title: i,
|
|
@@ -30065,7 +30065,7 @@ class ij {
|
|
|
30065
30065
|
})
|
|
30066
30066
|
};
|
|
30067
30067
|
}, this.api = (e) => {
|
|
30068
|
-
const n =
|
|
30068
|
+
const n = xt.Api, i = `${e} Error`;
|
|
30069
30069
|
return {
|
|
30070
30070
|
invalid_session: (r) => ({
|
|
30071
30071
|
title: i,
|
|
@@ -30167,7 +30167,7 @@ class rj {
|
|
|
30167
30167
|
this.schedulerStore.set("selectedTimezone", e);
|
|
30168
30168
|
}
|
|
30169
30169
|
selectLanguage(e) {
|
|
30170
|
-
const n =
|
|
30170
|
+
const n = ft(e) || $e.en;
|
|
30171
30171
|
this.schedulerStore.set("selectedLanguage", n), M.changeLanguage(n);
|
|
30172
30172
|
}
|
|
30173
30173
|
async toggleAdditionalData(e) {
|
|
@@ -30356,7 +30356,7 @@ class rj {
|
|
|
30356
30356
|
error: {
|
|
30357
30357
|
title: M.t("invalidGrantErrorTitle"),
|
|
30358
30358
|
message: T,
|
|
30359
|
-
category:
|
|
30359
|
+
category: xt.Api
|
|
30360
30360
|
}
|
|
30361
30361
|
};
|
|
30362
30362
|
}
|
|
@@ -30583,7 +30583,7 @@ function aj(t = {}) {
|
|
|
30583
30583
|
}
|
|
30584
30584
|
}, n;
|
|
30585
30585
|
}
|
|
30586
|
-
const
|
|
30586
|
+
const Kt = (t, e) => {
|
|
30587
30587
|
const n = t.isLoading, i = t.showNotification, r = t.nylasBranding, a = t.version;
|
|
30588
30588
|
return v(
|
|
30589
30589
|
Ju,
|
|
@@ -30626,7 +30626,7 @@ const Wt = (t, e) => {
|
|
|
30626
30626
|
)
|
|
30627
30627
|
)
|
|
30628
30628
|
);
|
|
30629
|
-
}, Ou = (t, e) => v("div", { class: "message-banner" }, e), oj = ':host{display:flex;flex-direction:column;overflow:visible;border-radius:var(--nylas-border-radius-2x);width:fit-content;background:var(--nylas-base-0);position:relative;box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.05), 0px 8px 16px -2px rgba(0, 0, 0, 0.1);--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;font-family:var(--nylas-font-family);font-optical-sizing:auto;font-style:normal;font-variation-settings:"slnt" 0}@media screen and (max-width: 768px){:host{width:auto;min-width:325px}}:root{font-family:inherit}.error{padding:8rem 12rem;color:var(--nylas-base-0);background-color:var(--nylas-error);margin:1.5rem;border-radius:var(--nylas-border-radius-2x)}.message-banner{text-align:right;color:var(--nylas-base-800);padding:1rem;border-bottom:1px solid var(--nylas-color-primary-200);margin:0}.loading{margin:1.5rem;display:flex;gap:1rem}.loading .skeleton{border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite}.loading .skeleton:nth-child(2){animation-delay:-100ms}.loading .skeleton:nth-child(3){animation-delay:-200ms}.loading .skeleton:nth-child(4){animation-delay:-300ms}.loading .skeleton:nth-child(5){animation-delay:-400ms}.loading .left .skeleton{height:100%;width:400px}.loading .right .skeleton{height:5rem;width:300px;margin-bottom:1rem}.loading .right .skeleton:last-child{margin-bottom:0}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.select-date-page,.additional-data-page,.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{border-top-left-radius:var(--nylas-border-radius-2x);border-top-right-radius:var(--nylas-border-radius-2x)}.select-date-page,.additional-data-page{display:flex}@media screen and (max-width: 768px){.select-date-page,.additional-data-page{flex-direction:column}}.booked-event-page,.manual-confirmation-page{background-color:var(--nylas-base-50)}.cancelled-event-page,.manual-confirmation-page,.cancel-flow-page{padding:1rem;height:496px;display:flex;justify-content:center;align-items:center}.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:784px;background:var(--nylas-base-50)}@media screen and (max-width: 768px){.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:90%}}.left-panel{display:flex;flex-direction:column;min-width:424px;border-top-left-radius:inherit;background:var(--nylas-base-0);position:relative;padding:1rem 0 0 0;height:624px}@media screen and (max-width: 768px){.left-panel{border-top-right-radius:inherit;min-width:unset;height:auto}}@media screen and (max-width: 768px){.select-date-page .left-panel{height:624px}}.border{margin-left:-20px;margin-right:-20px;border-top-width:1px;height:0.5px;background-color:var(--nylas-base-200)}@media screen and (max-width: 768px){.border{display:none}}.right-panel{min-width:360px;width:360px;background-color:var(--nylas-base-50);height:624px;padding-top:16px;border-left:1px solid var(--nylas-base-200);border-top-right-radius:inherit}.right-panel.reschedule{border-top-right-radius:0px}@media screen and (max-width: 768px){.right-panel{border-top-right-radius:0px;width:inherit;min-width:unset;height:auto;border-left:none}}.right-panel h2{display:flex;margin:0;height:48px;gap:0.5rem;justify-content:center;align-items:center;width:auto;font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;color:var(--nylas-base-800)}.additional-data-page .left-panel{background-color:var(--nylas-base-50)}.additional-data-page .right-panel{background-color:var(--nylas-base-0)}nylas-selected-event-card{height:604px;padding:0 1rem}@media screen and (max-width: 768px){nylas-selected-event-card{height:250px}}.footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:16px;font-size:14px;font-weight:300;color:var(--nylas-base-500);border-top:1px solid var(--nylas-base-200);min-height:24px}.footer .powered-by-nylas{display:flex;align-items:center;text-decoration:none;color:var(--nylas-base-500)}.footer .powered-by-nylas:hover{color:var(--nylas-base-800)}.footer svg{fill:var(--nylas-base-500)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.footer svg{margin-top:1px}nylas-selected-event-card::part(nsec__timezone){position:absolute;bottom:0}nylas-notification{margin:1.5rem;width:-webkit-fill-available;width:-moz-available;position:absolute}nylas-locale-switch{position:absolute;padding:18px 20px;bottom:0;width:-webkit-fill-available;width:-moz-available;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){nylas-locale-switch{height:auto}}nylas-date-picker{padding:0 20px}button-component#report-issue{width:auto;position:absolute;bottom:4px;left:16px}.language-feedback-container{width:auto;position:absolute;bottom:4px;left:16px;display:flex;gap:8px;align-items:center}.language-feedback-container button-component#report-issue{position:initial}nylas-feedback-form{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}', Iu = { title: M.t("genericErrorTitle"), category:
|
|
30629
|
+
}, Ou = (t, e) => v("div", { class: "message-banner" }, e), oj = ':host{display:flex;flex-direction:column;overflow:visible;border-radius:var(--nylas-border-radius-2x);width:fit-content;background:var(--nylas-base-0);position:relative;box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.05), 0px 8px 16px -2px rgba(0, 0, 0, 0.1);--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;font-family:var(--nylas-font-family);font-optical-sizing:auto;font-style:normal;font-variation-settings:"slnt" 0}@media screen and (max-width: 768px){:host{width:auto;min-width:325px}}:root{font-family:inherit}.error{padding:8rem 12rem;color:var(--nylas-base-0);background-color:var(--nylas-error);margin:1.5rem;border-radius:var(--nylas-border-radius-2x)}.message-banner{text-align:right;color:var(--nylas-base-800);padding:1rem;border-bottom:1px solid var(--nylas-color-primary-200);margin:0}.loading{margin:1.5rem;display:flex;gap:1rem}.loading .skeleton{border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite}.loading .skeleton:nth-child(2){animation-delay:-100ms}.loading .skeleton:nth-child(3){animation-delay:-200ms}.loading .skeleton:nth-child(4){animation-delay:-300ms}.loading .skeleton:nth-child(5){animation-delay:-400ms}.loading .left .skeleton{height:100%;width:400px}.loading .right .skeleton{height:5rem;width:300px;margin-bottom:1rem}.loading .right .skeleton:last-child{margin-bottom:0}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.select-date-page,.additional-data-page,.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{border-top-left-radius:var(--nylas-border-radius-2x);border-top-right-radius:var(--nylas-border-radius-2x)}.select-date-page,.additional-data-page{display:flex}@media screen and (max-width: 768px){.select-date-page,.additional-data-page{flex-direction:column}}.booked-event-page,.manual-confirmation-page{background-color:var(--nylas-base-50)}.cancelled-event-page,.manual-confirmation-page,.cancel-flow-page{padding:1rem;height:496px;display:flex;justify-content:center;align-items:center}.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:784px;background:var(--nylas-base-50)}@media screen and (max-width: 768px){.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:90%}}.left-panel{display:flex;flex-direction:column;min-width:424px;border-top-left-radius:inherit;background:var(--nylas-base-0);position:relative;padding:1rem 0 0 0;height:624px}@media screen and (max-width: 768px){.left-panel{border-top-right-radius:inherit;min-width:unset;height:auto}}@media screen and (max-width: 768px){.select-date-page .left-panel{height:624px}}.border{margin-left:-20px;margin-right:-20px;border-top-width:1px;height:0.5px;background-color:var(--nylas-base-200)}@media screen and (max-width: 768px){.border{display:none}}.right-panel{min-width:360px;width:360px;background-color:var(--nylas-base-50);height:624px;padding-top:16px;border-left:1px solid var(--nylas-base-200);border-top-right-radius:inherit}.right-panel.reschedule{border-top-right-radius:0px}@media screen and (max-width: 768px){.right-panel{border-top-right-radius:0px;width:inherit;min-width:unset;height:auto;border-left:none}}.right-panel h2{display:flex;margin:0;height:48px;gap:0.5rem;justify-content:center;align-items:center;width:auto;font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;color:var(--nylas-base-800)}.additional-data-page .left-panel{background-color:var(--nylas-base-50)}.additional-data-page .right-panel{background-color:var(--nylas-base-0)}nylas-selected-event-card{height:604px;padding:0 1rem}@media screen and (max-width: 768px){nylas-selected-event-card{height:250px}}.footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:16px;font-size:14px;font-weight:300;color:var(--nylas-base-500);border-top:1px solid var(--nylas-base-200);min-height:24px}.footer .powered-by-nylas{display:flex;align-items:center;text-decoration:none;color:var(--nylas-base-500)}.footer .powered-by-nylas:hover{color:var(--nylas-base-800)}.footer svg{fill:var(--nylas-base-500)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.footer svg{margin-top:1px}nylas-selected-event-card::part(nsec__timezone){position:absolute;bottom:0}nylas-notification{margin:1.5rem;width:-webkit-fill-available;width:-moz-available;position:absolute}nylas-locale-switch{position:absolute;padding:18px 20px;bottom:0;width:-webkit-fill-available;width:-moz-available;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){nylas-locale-switch{height:auto}}nylas-date-picker{padding:0 20px}button-component#report-issue{width:auto;position:absolute;bottom:4px;left:16px}.language-feedback-container{width:auto;position:absolute;bottom:4px;left:16px;display:flex;gap:8px;align-items:center}.language-feedback-container button-component#report-issue{position:initial}nylas-feedback-form{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}', Iu = { title: M.t("genericErrorTitle"), category: xt.Component }, F$ = ee(class extends Q {
|
|
30630
30630
|
constructor() {
|
|
30631
30631
|
super(), this.__registerHost(), this.__attachShadow(), this.init = G(this, "init", 7), this.schedulerWillLoad = G(this, "schedulerWillLoad", 7), this.schedulerDidLoad = G(this, "schedulerDidLoad", 7), this.nylasSchedulerError = G(this, "nylasSchedulerError", 7), this.nylasSchedulerInfo = G(this, "nylasSchedulerInfo", 7), this.configSettingsLoaded = G(this, "configSettingsLoaded", 7), this.bookingRefExtracted = G(this, "bookingRefExtracted", 7), this.bookedEventInfo = G(this, "bookedEventInfo", 7), this.initDeferred = !1, this.mode = "app", this.schedulerApiUrl = "https://api.us.nylas.com", this.nylasBranding = !0, this.eventOverrides = {}, this.showNotification = !0, this.enableUserFeedback = !0, this.automaticComponentRegistration = !0, this.selectedDateLabel = `${M.t("noDateSelected")}`, this.language = navigator.language, this.showFeedbackModal = !1, this.bookingInfoConfirmed = null, this.version = No;
|
|
30632
30632
|
}
|
|
@@ -30634,7 +30634,7 @@ const Wt = (t, e) => {
|
|
|
30634
30634
|
L("[nylas-scheduler] connectedCallback");
|
|
30635
30635
|
}
|
|
30636
30636
|
async componentWillLoad() {
|
|
30637
|
-
var c, f, h;
|
|
30637
|
+
var u, c, f, h;
|
|
30638
30638
|
L("[nylas-scheduler] Component will load"), this.version = No, await new Promise((l) => setTimeout(l, 0)), this.enableUserFeedback && !RO() && HR({
|
|
30639
30639
|
dsn: "https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816",
|
|
30640
30640
|
release: this.version,
|
|
@@ -30651,51 +30651,51 @@ const Wt = (t, e) => {
|
|
|
30651
30651
|
const e = this.schedulerWillLoad.emit(this.host);
|
|
30652
30652
|
if ("schedulerWillLoad" in this.eventOverrides && (await this.eventOverrides.schedulerWillLoad(e, this.nylasSchedulerConnector), e.defaultPrevented))
|
|
30653
30653
|
return;
|
|
30654
|
-
const
|
|
30655
|
-
this.language =
|
|
30654
|
+
const n = new URLSearchParams(window.location.search), r = ft(n.get("lang")) || ft(n.get("language")) || this.defaultLanguage || ft((u = this.bookingInfo) == null ? void 0 : u.language) || ((c = this.defaultSchedulerState) == null ? void 0 : c.selectedLanguage) || br() || $e.en;
|
|
30655
|
+
this.language = r, M.changeLanguage(r), this.stores = {
|
|
30656
30656
|
scheduler: aj({
|
|
30657
30657
|
bookingInfo: this.bookingInfo,
|
|
30658
30658
|
nylasBranding: this.nylasBranding,
|
|
30659
30659
|
themeConfig: this.themeConfig,
|
|
30660
30660
|
hour12: this.hour12,
|
|
30661
|
-
|
|
30662
|
-
|
|
30661
|
+
...this.defaultSchedulerState,
|
|
30662
|
+
selectedLanguage: r
|
|
30663
30663
|
})
|
|
30664
30664
|
}, this.baseProvider = new LM(this.host, this.stores, this.automaticComponentRegistration, this.eventOverrides), this.refConfigId = this.configurationId;
|
|
30665
|
-
let
|
|
30665
|
+
let a;
|
|
30666
30666
|
try {
|
|
30667
30667
|
if (this.rescheduleBookingRef) {
|
|
30668
30668
|
const [l, d, g] = hn(this.rescheduleBookingRef);
|
|
30669
|
-
this.refConfigId = l, this.stores.scheduler.set("rescheduleBookingId", d),
|
|
30669
|
+
this.refConfigId = l, this.stores.scheduler.set("rescheduleBookingId", d), a = this.bookingRefExtracted.emit({ configurationId: l, bookingId: d });
|
|
30670
30670
|
} else if (this.cancelBookingRef) {
|
|
30671
30671
|
const [l, d, g] = hn(this.cancelBookingRef);
|
|
30672
|
-
this.refConfigId = l, this.stores.scheduler.set("cancelBookingId", d),
|
|
30672
|
+
this.refConfigId = l, this.stores.scheduler.set("cancelBookingId", d), a = this.bookingRefExtracted.emit({ configurationId: l, bookingId: d });
|
|
30673
30673
|
} else if (this.organizerConfirmationBookingRef) {
|
|
30674
30674
|
const [l, d, g] = hn(this.organizerConfirmationBookingRef);
|
|
30675
|
-
this.refConfigId = l, this.stores.scheduler.set("organizerConfirmationBookingId", d), this.stores.scheduler.set("organizerConfirmationSalt", g),
|
|
30675
|
+
this.refConfigId = l, this.stores.scheduler.set("organizerConfirmationBookingId", d), this.stores.scheduler.set("organizerConfirmationSalt", g), a = this.bookingRefExtracted.emit({ configurationId: l, bookingId: d, salt: g });
|
|
30676
30676
|
}
|
|
30677
30677
|
} catch (l) {
|
|
30678
30678
|
L(l);
|
|
30679
30679
|
const d = this.rescheduleBookingRef || this.cancelBookingRef || this.organizerConfirmationBookingRef;
|
|
30680
30680
|
this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject({ message: `Invalid booking reference: ${d}` }) }, host: this.host });
|
|
30681
30681
|
}
|
|
30682
|
-
if (this.applyThemeConfig(this.themeConfig), "bookingRefExtracted" in this.eventOverrides && (await this.eventOverrides.bookingRefExtracted(
|
|
30682
|
+
if (this.applyThemeConfig(this.themeConfig), "bookingRefExtracted" in this.eventOverrides && (await this.eventOverrides.bookingRefExtracted(a, this.nylasSchedulerConnector), a.defaultPrevented))
|
|
30683
30683
|
return;
|
|
30684
30684
|
if (!this.checkIfSessionIdOrConfigIdExists(!1)) {
|
|
30685
30685
|
this.initDeferred = !0;
|
|
30686
30686
|
return;
|
|
30687
30687
|
}
|
|
30688
|
-
const
|
|
30688
|
+
const o = (f = this.baseProvider) == null ? void 0 : f.getStore("scheduler");
|
|
30689
30689
|
this.nylasSchedulerConnector = new Lu({
|
|
30690
30690
|
schedulerAPIURL: this.schedulerApiUrl,
|
|
30691
30691
|
sessionId: this.sessionId,
|
|
30692
30692
|
configId: this.refConfigId,
|
|
30693
30693
|
slug: this.slug,
|
|
30694
30694
|
clientId: this.clientId,
|
|
30695
|
-
nylasSchedulerStore:
|
|
30695
|
+
nylasSchedulerStore: o
|
|
30696
30696
|
});
|
|
30697
|
-
const
|
|
30698
|
-
"init" in this.eventOverrides && (await this.eventOverrides.init(
|
|
30697
|
+
const s = this.init.emit(this.host);
|
|
30698
|
+
"init" in this.eventOverrides && (await this.eventOverrides.init(s, this.nylasSchedulerConnector), s.defaultPrevented) || (h = this.baseProvider) == null || h.componentWillLoad(this.nylasSchedulerConnector);
|
|
30699
30699
|
}
|
|
30700
30700
|
async componentDidLoad() {
|
|
30701
30701
|
var n;
|
|
@@ -30807,7 +30807,7 @@ const Wt = (t, e) => {
|
|
|
30807
30807
|
}
|
|
30808
30808
|
bookingInfoChanged(e) {
|
|
30809
30809
|
var n, i;
|
|
30810
|
-
(n = this.stores) == null || n.scheduler.set("bookingInfo", e), e != null && e.language && !this.defaultLanguage && ((i = this.stores) == null || i.scheduler.set("selectedLanguage",
|
|
30810
|
+
(n = this.stores) == null || n.scheduler.set("bookingInfo", e), e != null && e.language && !this.defaultLanguage && ((i = this.stores) == null || i.scheduler.set("selectedLanguage", ft(e.language) || $e.en));
|
|
30811
30811
|
}
|
|
30812
30812
|
rescheduleBookingRefChanged(e) {
|
|
30813
30813
|
var i, r;
|
|
@@ -30859,8 +30859,9 @@ const Wt = (t, e) => {
|
|
|
30859
30859
|
(i = (n = this.baseProvider) == null ? void 0 : n.getStore("scheduler")) == null || i.set("themeConfig", e), this.applyThemeConfig(e);
|
|
30860
30860
|
}
|
|
30861
30861
|
languageChanged(e) {
|
|
30862
|
-
|
|
30863
|
-
|
|
30862
|
+
var i, r;
|
|
30863
|
+
const n = ft(e.detail) || $e.en;
|
|
30864
|
+
this.language = n, M.changeLanguage(n), (r = (i = this.stores) == null ? void 0 : i.scheduler) == null || r.set("selectedLanguage", n);
|
|
30864
30865
|
}
|
|
30865
30866
|
async registerComponentHandler(e) {
|
|
30866
30867
|
var n;
|
|
@@ -30919,11 +30920,11 @@ const Wt = (t, e) => {
|
|
|
30919
30920
|
getSelectedLanguage() {
|
|
30920
30921
|
var n;
|
|
30921
30922
|
const e = ((n = this.stores) == null ? void 0 : n.scheduler.get("selectedLanguage")) || this.defaultLanguage || br() || $e.en;
|
|
30922
|
-
return
|
|
30923
|
+
return ft(e) || $e.en;
|
|
30923
30924
|
}
|
|
30924
30925
|
getSelectedDateLocale() {
|
|
30925
30926
|
const e = this.getSelectedLanguage();
|
|
30926
|
-
return
|
|
30927
|
+
return qt[e] || e || qt[$e.en];
|
|
30927
30928
|
}
|
|
30928
30929
|
formatSelectedDateLabel(e) {
|
|
30929
30930
|
return ts(e.toLocaleDateString(this.getSelectedDateLocale(), { dateStyle: "full" }));
|
|
@@ -30948,7 +30949,7 @@ const Wt = (t, e) => {
|
|
|
30948
30949
|
e.detail.type === "error" ? this.nylasSchedulerError.emit({ notification: { ...this.getErrorObject({ message: n }) }, host: this.host }) : this.nylasSchedulerInfo.emit({
|
|
30949
30950
|
notification: {
|
|
30950
30951
|
title: "Event is full",
|
|
30951
|
-
category:
|
|
30952
|
+
category: xt.Component,
|
|
30952
30953
|
type: jn.Info,
|
|
30953
30954
|
description: "The event you selected is full. Please try a different time.",
|
|
30954
30955
|
id: (/* @__PURE__ */ new Date()).getTime().toString(),
|
|
@@ -31012,7 +31013,7 @@ const Wt = (t, e) => {
|
|
|
31012
31013
|
this.sessionId || (n += M.t("sessionIdRequiredErrorMessage")), !this.sessionId && !this.refConfigId && !(this.slug && this.clientId) && (n = M.t("sessionIdRequiredErrorMessage") + " " + M.t("publicConfigErrorMessage")), this.nylasSchedulerError.emit({
|
|
31013
31014
|
notification: {
|
|
31014
31015
|
title: M.t("schedulingComponentErrorTitle"),
|
|
31015
|
-
category:
|
|
31016
|
+
category: xt.Component,
|
|
31016
31017
|
type: jn.Error,
|
|
31017
31018
|
description: n,
|
|
31018
31019
|
id: (/* @__PURE__ */ new Date()).getTime().toString(),
|
|
@@ -31029,7 +31030,7 @@ const Wt = (t, e) => {
|
|
|
31029
31030
|
return new Date(e.start_time) < /* @__PURE__ */ new Date() ? (this.nylasSchedulerError.emit({
|
|
31030
31031
|
notification: {
|
|
31031
31032
|
title: M.t("invalidTimeslotErrorTitle"),
|
|
31032
|
-
category:
|
|
31033
|
+
category: xt.Component,
|
|
31033
31034
|
type: jn.Error,
|
|
31034
31035
|
description: M.t("invalidTimeslotErrorMessage"),
|
|
31035
31036
|
id: (/* @__PURE__ */ new Date()).getTime().toString(),
|
|
@@ -31068,13 +31069,13 @@ const Wt = (t, e) => {
|
|
|
31068
31069
|
value: x
|
|
31069
31070
|
})), m = this.getSelectedLanguage(), p = d ? this.formatSelectedDateLabel(d) : `${M.t("noDateSelected")}`;
|
|
31070
31071
|
if (e && (o || f) && !a)
|
|
31071
|
-
return v(ve, null, v(
|
|
31072
|
+
return v(ve, null, v(Kt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, v("div", { class: "cancel-flow-page", part: "cancel-flow-page" }, v("nylas-cancel-booking-form", { selectedTimeslot: s, cancelBookingId: o, rejectBookingId: f, exportparts: "ncbf, ncbf__icon, ncbf__title, ncbf__description, ncbf__reason-textarea, ncbf__button-cta, ncbf__button-outline, ncbf__card" }))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
|
|
31072
31073
|
if (e && c)
|
|
31073
|
-
return v(ve, null, v(
|
|
31074
|
+
return v(ve, null, v(Kt, null, v("div", { class: "manual-confirmation-page", part: "manual-confirmation-page" }, v("nylas-organizer-confirmation-card", { organizerConfirmationBookingId: c, exportparts: "nmcc, nmcc__title, nmcc__description, nmcc__button-cta, nmcc__button-outline" }))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
|
|
31074
31075
|
if (e && a)
|
|
31075
|
-
return v(ve, null, v(
|
|
31076
|
+
return v(ve, null, v(Kt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, v("div", { class: "cancelled-event-page", part: "cancelled-event-page" }, v("nylas-cancelled-event-card", { cancelledEventInfo: a, exportparts: "ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card" }))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
|
|
31076
31077
|
if (e && h)
|
|
31077
|
-
return v(ve, null, v(
|
|
31078
|
+
return v(ve, null, v(Kt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, v("div", { class: "cancelled-event-page", part: "confirmed-event-page" }, v("nylas-confirmed-event-card", { confirmedEventInfo: h, exportparts: "ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card" }))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
|
|
31078
31079
|
if (e && i && g) {
|
|
31079
31080
|
const x = (k = this.bookingInfoConfirmed) == null ? void 0 : k.primaryParticipant, w = (_ = this.bookingInfoConfirmed) == null ? void 0 : _.location, O = (C = this.bookingInfoConfirmed) == null ? void 0 : C.booking_ref, I = ((P = this.bookingInfoConfirmed) == null ? void 0 : P.additionalFields) || {};
|
|
31080
31081
|
if (this.bookingInfo && typeof (($ = this.bookingInfo) == null ? void 0 : $.additionalFields) < "u") {
|
|
@@ -31092,12 +31093,12 @@ const Wt = (t, e) => {
|
|
|
31092
31093
|
return;
|
|
31093
31094
|
}
|
|
31094
31095
|
if (e && i)
|
|
31095
|
-
return v(ve, null, v(
|
|
31096
|
+
return v(ve, null, v(Kt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, v("div", { class: "booked-event-page", part: "booked-event-page ns_booked-event-page" }, v("nylas-booked-event-card", { selectedTimeslot: s, eventInfo: i, exportparts: "nbec, nbec__title, nbec__card, nbec__description, nbec__button-outline, nbec__cancel-cta, nbec__reschedule-cta" }))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
|
|
31096
31097
|
if (e && (!i || u) && !r) {
|
|
31097
31098
|
const x = this.host.querySelector('[slot="timeslot-picker-cta-label"]');
|
|
31098
|
-
return v(ve, null, v(
|
|
31099
|
+
return v(ve, null, v(Kt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, u && v(Ou, null, `${M.t("rescheduleTitle")}`), v("div", { class: "select-date-page", part: "select-date-page ns_select-date-page" }, v("div", { class: "left-panel", part: "ns_left-panel" }, v("nylas-date-picker", { exportparts: "ndp, ndp__title, ndp__month-header, ndp__month-button, ndp__day, ndp__date, ndp__date--disabled, ndp__date--selected, ndp__date--current-day, ndp__date--current-month" }), v("nylas-locale-switch", { exportparts: "nls, nls__timezone, nls__timezone-dropdown, nls__timezone-drop-button, nls__timezone-drop-button-selected-label, nls__timezone-drop-content, nls__timezone-drop-label, nls__language, nls__language-dropdown, nls__language-drop-button, nls__language-drop-content, nls__language-drop-label" })), v("div", { class: `right-panel ${u ? "reschedule" : ""}`, part: `ns_right-panel ${u ? "ns_reschedule" : ""}` }, v("h2", { part: "ns_right-panel__title" }, v("calendar-icon", { part: "ns_right-panel__calendar-icon" }), v("span", { id: "selectedDate", part: "ns_right-panel__selected-date" }, p)), v("nylas-timeslot-picker", { exportparts: "ntp, ntp__time-picker-wrapper, ntp__timeslots, ntp__timeslot, ntp__timeslot--selected, ntp__button-primary" }, x && v("span", { slot: "timeslot-picker-cta-label" }, v("slot", { name: "timeslot-picker-cta-label" })))))), this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (w) => this.onFeedbackClick(w) }, v("feedback-icon", null)), this.showFeedbackModal && v("nylas-feedback-form", null));
|
|
31099
31100
|
}
|
|
31100
|
-
return e && !i && r ? v(ve, null, v(
|
|
31101
|
+
return e && !i && r ? v(ve, null, v(Kt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, u && v(Ou, null, `${M.t("rescheduleTitle")}`), v("div", { class: "additional-data-page", part: "additional-data-page ns_additional-data-page" }, v("div", { class: "left-panel ns_left-panel", part: "ns_left-panel" }, v("div", { class: "wrapper", part: "ns_left-panel__wrapper" }, v("nylas-selected-event-card", { exportparts: "nsec, nsec__card, nsec__icon, nsec__date, nsec__time, nsec__timezone" }))), v("div", { class: `right-panel ${u ? "reschedule" : ""}`, part: `ns_right-panel ${u ? "ns_reschedule" : ""}` }, v("nylas-booking-form", { exportparts: "nbf, nbf__input-textfield, nbf__button-ghost, nbf__button-outline, nbf__button-primary, nbf__input-wrapper, nbf__checkbox-component, nbf__radio-button-group, nbf__textarea-component, nbf__dropdown, nbf__dropdown-button, nbf__dropdown-content" })))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null)) : v(ve, null, v("slot", null));
|
|
31101
31102
|
}
|
|
31102
31103
|
get host() {
|
|
31103
31104
|
return this;
|
|
@@ -31178,7 +31179,7 @@ function sj() {
|
|
|
31178
31179
|
customElements.get(e) || p$();
|
|
31179
31180
|
break;
|
|
31180
31181
|
case "button-component":
|
|
31181
|
-
customElements.get(e) ||
|
|
31182
|
+
customElements.get(e) || Mt();
|
|
31182
31183
|
break;
|
|
31183
31184
|
case "calendar-cancel-icon":
|
|
31184
31185
|
customElements.get(e) || ks();
|
|
@@ -31217,7 +31218,7 @@ function sj() {
|
|
|
31217
31218
|
customElements.get(e) || k$();
|
|
31218
31219
|
break;
|
|
31219
31220
|
case "loading-icon":
|
|
31220
|
-
customElements.get(e) ||
|
|
31221
|
+
customElements.get(e) || bt();
|
|
31221
31222
|
break;
|
|
31222
31223
|
case "multi-select-dropdown":
|
|
31223
31224
|
customElements.get(e) || T$();
|