fansunited-management-components 1.59.0-RC1 → 1.59.0-RC2
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/index.es.js +120 -123
- package/index.umd.js +19 -19
- package/package.json +1 -1
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts +0 -1
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts.map +1 -1
- package/src/constants/components.d.ts +0 -1
- package/src/constants/components.d.ts.map +1 -1
- package/src/context/ComponentContext.d.ts +0 -1
- package/src/context/ComponentContext.d.ts.map +1 -1
package/index.es.js
CHANGED
|
@@ -37,7 +37,7 @@ var k = (e, t, n) => new Promise((r, i) => {
|
|
|
37
37
|
l((n = n.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
39
|
import * as G from "react";
|
|
40
|
-
import me, { createContext as Wn, useState as Y, useEffect as be, useContext as
|
|
40
|
+
import me, { createContext as Wn, useState as Y, useEffect as be, useContext as qt, useRef as _e, useLayoutEffect as Ts, useMemo as ke, useCallback as Ue, Component as s0, Fragment as Sc, forwardRef as jp, memo as l0, useReducer as c0, cloneElement as u0 } from "react";
|
|
41
41
|
import { FansUnitedSDK as d0 } from "fansunited-sdk-esm";
|
|
42
42
|
import { unstable_batchedUpdates as ho, createPortal as Mp } from "react-dom";
|
|
43
43
|
import Lp from "@emotion/styled";
|
|
@@ -12487,7 +12487,7 @@ function g1(e, t, n, r, i, o) {
|
|
|
12487
12487
|
return a;
|
|
12488
12488
|
}
|
|
12489
12489
|
}
|
|
12490
|
-
function
|
|
12490
|
+
function Qt(e, t, n) {
|
|
12491
12491
|
var r;
|
|
12492
12492
|
const {
|
|
12493
12493
|
items: i,
|
|
@@ -12546,44 +12546,44 @@ function v1(e, t, n) {
|
|
|
12546
12546
|
switch (e) {
|
|
12547
12547
|
case "Home":
|
|
12548
12548
|
return D({}, t, {
|
|
12549
|
-
highlightedValue:
|
|
12549
|
+
highlightedValue: Qt(r, "start", n)
|
|
12550
12550
|
});
|
|
12551
12551
|
case "End":
|
|
12552
12552
|
return D({}, t, {
|
|
12553
|
-
highlightedValue:
|
|
12553
|
+
highlightedValue: Qt(r, "end", n)
|
|
12554
12554
|
});
|
|
12555
12555
|
case "PageUp":
|
|
12556
12556
|
return D({}, t, {
|
|
12557
|
-
highlightedValue:
|
|
12557
|
+
highlightedValue: Qt(r, -o, n)
|
|
12558
12558
|
});
|
|
12559
12559
|
case "PageDown":
|
|
12560
12560
|
return D({}, t, {
|
|
12561
|
-
highlightedValue:
|
|
12561
|
+
highlightedValue: Qt(r, o, n)
|
|
12562
12562
|
});
|
|
12563
12563
|
case "ArrowUp":
|
|
12564
12564
|
if (i !== "vertical")
|
|
12565
12565
|
break;
|
|
12566
12566
|
return D({}, t, {
|
|
12567
|
-
highlightedValue:
|
|
12567
|
+
highlightedValue: Qt(r, -1, n)
|
|
12568
12568
|
});
|
|
12569
12569
|
case "ArrowDown":
|
|
12570
12570
|
if (i !== "vertical")
|
|
12571
12571
|
break;
|
|
12572
12572
|
return D({}, t, {
|
|
12573
|
-
highlightedValue:
|
|
12573
|
+
highlightedValue: Qt(r, 1, n)
|
|
12574
12574
|
});
|
|
12575
12575
|
case "ArrowLeft": {
|
|
12576
12576
|
if (i === "vertical")
|
|
12577
12577
|
break;
|
|
12578
12578
|
return D({}, t, {
|
|
12579
|
-
highlightedValue:
|
|
12579
|
+
highlightedValue: Qt(r, i === "horizontal-ltr" ? -1 : 1, n)
|
|
12580
12580
|
});
|
|
12581
12581
|
}
|
|
12582
12582
|
case "ArrowRight": {
|
|
12583
12583
|
if (i === "vertical")
|
|
12584
12584
|
break;
|
|
12585
12585
|
return D({}, t, {
|
|
12586
|
-
highlightedValue:
|
|
12586
|
+
highlightedValue: Qt(r, i === "horizontal-ltr" ? 1 : -1, n)
|
|
12587
12587
|
});
|
|
12588
12588
|
}
|
|
12589
12589
|
case "Enter":
|
|
@@ -12609,7 +12609,7 @@ function x1(e, t, n) {
|
|
|
12609
12609
|
disabledItemsFocusable: o,
|
|
12610
12610
|
getItemAsString: a
|
|
12611
12611
|
} = n, l = t.length > 1;
|
|
12612
|
-
let c = l ? e.highlightedValue :
|
|
12612
|
+
let c = l ? e.highlightedValue : Qt(e.highlightedValue, 1, n);
|
|
12613
12613
|
for (let u = 0; u < r.length; u += 1) {
|
|
12614
12614
|
if (!c || !l && e.highlightedValue === c)
|
|
12615
12615
|
return e;
|
|
@@ -12617,7 +12617,7 @@ function x1(e, t, n) {
|
|
|
12617
12617
|
return D({}, e, {
|
|
12618
12618
|
highlightedValue: c
|
|
12619
12619
|
});
|
|
12620
|
-
c =
|
|
12620
|
+
c = Qt(c, 1, n);
|
|
12621
12621
|
}
|
|
12622
12622
|
return e;
|
|
12623
12623
|
}
|
|
@@ -12631,7 +12631,7 @@ function C1(e, t, n, r) {
|
|
|
12631
12631
|
if (n.highlightedValue != null) {
|
|
12632
12632
|
var c;
|
|
12633
12633
|
l = (c = e.find((d) => o(d, n.highlightedValue))) != null ? c : null;
|
|
12634
|
-
} else a === "DOM" && t.length === 0 && (l =
|
|
12634
|
+
} else a === "DOM" && t.length === 0 && (l = Qt(null, "reset", r));
|
|
12635
12635
|
const f = ((i = n.selectedValues) != null ? i : []).filter((d) => e.some((h) => o(h, d)));
|
|
12636
12636
|
return D({}, n, {
|
|
12637
12637
|
highlightedValue: l,
|
|
@@ -12640,18 +12640,18 @@ function C1(e, t, n, r) {
|
|
|
12640
12640
|
}
|
|
12641
12641
|
function w1(e, t) {
|
|
12642
12642
|
return D({}, e, {
|
|
12643
|
-
highlightedValue:
|
|
12643
|
+
highlightedValue: Qt(null, "reset", t)
|
|
12644
12644
|
});
|
|
12645
12645
|
}
|
|
12646
12646
|
function I1(e, t) {
|
|
12647
12647
|
return D({}, e, {
|
|
12648
|
-
highlightedValue:
|
|
12648
|
+
highlightedValue: Qt(null, "end", t)
|
|
12649
12649
|
});
|
|
12650
12650
|
}
|
|
12651
12651
|
function S1(e, t) {
|
|
12652
12652
|
return D({}, e, {
|
|
12653
12653
|
selectedValues: [],
|
|
12654
|
-
highlightedValue:
|
|
12654
|
+
highlightedValue: Qt(null, "reset", t)
|
|
12655
12655
|
});
|
|
12656
12656
|
}
|
|
12657
12657
|
function $m(e, t) {
|
|
@@ -13358,7 +13358,7 @@ function eT(e, t) {
|
|
|
13358
13358
|
return D({}, n, {
|
|
13359
13359
|
highlightedValue: n.selectedValues[0]
|
|
13360
13360
|
});
|
|
13361
|
-
|
|
13361
|
+
Qt(null, "reset", t.context);
|
|
13362
13362
|
}
|
|
13363
13363
|
return r && n.highlightedValue != null ? D({}, n, {
|
|
13364
13364
|
selectedValues: [n.highlightedValue]
|
|
@@ -21361,7 +21361,7 @@ const Mv = ({ title: e, open: t, imageSrc: n, toggleModal: r }) => /* @__PURE__
|
|
|
21361
21361
|
) }), Lv = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
21362
21362
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
21363
21363
|
}), "Add"), et = () => {
|
|
21364
|
-
const e =
|
|
21364
|
+
const e = qt(Vs);
|
|
21365
21365
|
if (!e)
|
|
21366
21366
|
throw new Error("useAPIContext must be used within a APIProvider");
|
|
21367
21367
|
return e;
|
|
@@ -22435,7 +22435,7 @@ const Yv = ({ labels: e, open: t, imageSrc: n, resetDefaultImageUrl: r, toggleMo
|
|
|
22435
22435
|
}), "CropOutlined"), gh = ({ labels: e, title: t, image: n, onChangeImages: r, clearImage: i }) => {
|
|
22436
22436
|
const [o, a] = Y(!1), [l, c] = Y(!1), [u, f] = Y(!1), [d, h] = Y(!1), [p, m] = Y(""), [g, v] = Y("primary"), [y, x] = Y(""), b = _e(null), w = () => h(!d), C = () => {
|
|
22437
22437
|
b.current && b.current.click();
|
|
22438
|
-
}, I = new jv(), A =
|
|
22438
|
+
}, I = new jv(), A = qt(Vs), T = () => {
|
|
22439
22439
|
m(""), c(!1);
|
|
22440
22440
|
}, L = (R) => {
|
|
22441
22441
|
let z = "", W = "primary";
|
|
@@ -22997,7 +22997,7 @@ function vh(e, t) {
|
|
|
22997
22997
|
var oc = function(e) {
|
|
22998
22998
|
return e instanceof Array ? e : [e];
|
|
22999
22999
|
};
|
|
23000
|
-
function
|
|
23000
|
+
function Kt(e, t, n) {
|
|
23001
23001
|
if (n === !0)
|
|
23002
23002
|
return e.classList.add(t);
|
|
23003
23003
|
e.classList.remove(t);
|
|
@@ -23307,7 +23307,7 @@ function qR(e, t) {
|
|
|
23307
23307
|
config: Gt(Gt({}, Ri), Et.defaultConfig),
|
|
23308
23308
|
l10n: Fo
|
|
23309
23309
|
};
|
|
23310
|
-
n.parseDate = Zc({ config: n.config, l10n: n.l10n }), n._handlers = [], n.pluginElements = [], n.loadedPlugins = [], n._bind = g, n._setHoursFromDate = h, n._positionCalendar = Ie, n.changeMonth = _, n.changeYear = se, n.clear = O, n.close = F, n.onMouseOver = ye, n._createElement = He, n.createDay = I, n.destroy = H, n.isEnabled = X, n.jumpToDate = x, n.updateValue =
|
|
23310
|
+
n.parseDate = Zc({ config: n.config, l10n: n.l10n }), n._handlers = [], n.pluginElements = [], n.loadedPlugins = [], n._bind = g, n._setHoursFromDate = h, n._positionCalendar = Ie, n.changeMonth = _, n.changeYear = se, n.clear = O, n.close = F, n.onMouseOver = ye, n._createElement = He, n.createDay = I, n.destroy = H, n.isEnabled = X, n.jumpToDate = x, n.updateValue = Xt, n.open = st, n.redraw = Ne, n.set = zt, n.setDate = Yt, n.toggle = io;
|
|
23311
23311
|
function r() {
|
|
23312
23312
|
n.utils = {
|
|
23313
23313
|
getDaysInMonth: function(E, B) {
|
|
@@ -23316,7 +23316,7 @@ function qR(e, t) {
|
|
|
23316
23316
|
};
|
|
23317
23317
|
}
|
|
23318
23318
|
function i() {
|
|
23319
|
-
n.element = n.input = e, n.isOpen = !1, At(), ve(), gn(), li(), r(), n.isMobile || C(), y(), (n.selectedDates.length || n.config.noCalendar) && (n.config.enableTime && h(n.config.noCalendar ? n.latestSelectedDateObj : void 0),
|
|
23319
|
+
n.element = n.input = e, n.isOpen = !1, At(), ve(), gn(), li(), r(), n.isMobile || C(), y(), (n.selectedDates.length || n.config.noCalendar) && (n.config.enableTime && h(n.config.noCalendar ? n.latestSelectedDateObj : void 0), Xt(!1)), l();
|
|
23320
23320
|
var E = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
23321
23321
|
!n.isMobile && E && Ie(), Ke("onReady");
|
|
23322
23322
|
}
|
|
@@ -23343,7 +23343,7 @@ function qR(e, t) {
|
|
|
23343
23343
|
}
|
|
23344
23344
|
E !== void 0 && E.type !== "blur" && Tt(E);
|
|
23345
23345
|
var Z = n._input.value;
|
|
23346
|
-
d(),
|
|
23346
|
+
d(), Xt(), n._input.value !== Z && n._debouncedChange();
|
|
23347
23347
|
}
|
|
23348
23348
|
function u(E, B) {
|
|
23349
23349
|
return E % 12 + 12 * mn(B === n.l10n.amPM[1]);
|
|
@@ -23422,7 +23422,7 @@ function qR(e, t) {
|
|
|
23422
23422
|
var E = vh(Ye, 50);
|
|
23423
23423
|
if (n._debouncedChange = vh(v, QR), n.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && g(n.daysContainer, "mouseover", function(K) {
|
|
23424
23424
|
n.config.mode === "range" && ye(sn(K));
|
|
23425
|
-
}), g(n._input, "keydown", fe), n.calendarContainer !== void 0 && g(n.calendarContainer, "keydown", fe), !n.config.inline && !n.config.static && g(window, "resize", E), window.ontouchstart !== void 0 ? g(window.document, "touchstart", le) : g(window.document, "mousedown", le), g(window.document, "focus", le, { capture: !0 }), n.config.clickOpens === !0 && (g(n._input, "focus", n.open), g(n._input, "click", n.open)), n.daysContainer !== void 0 && (g(n.monthNav, "click",
|
|
23425
|
+
}), g(n._input, "keydown", fe), n.calendarContainer !== void 0 && g(n.calendarContainer, "keydown", fe), !n.config.inline && !n.config.static && g(window, "resize", E), window.ontouchstart !== void 0 ? g(window.document, "touchstart", le) : g(window.document, "mousedown", le), g(window.document, "focus", le, { capture: !0 }), n.config.clickOpens === !0 && (g(n._input, "focus", n.open), g(n._input, "click", n.open)), n.daysContainer !== void 0 && (g(n.monthNav, "click", Zt), g(n.monthNav, ["keyup", "increment"], m), g(n.daysContainer, "click", Dt)), n.timeContainer !== void 0 && n.minuteElement !== void 0 && n.hourElement !== void 0) {
|
|
23426
23426
|
var B = function(K) {
|
|
23427
23427
|
return sn(K).select();
|
|
23428
23428
|
};
|
|
@@ -23460,7 +23460,7 @@ function qR(e, t) {
|
|
|
23460
23460
|
}
|
|
23461
23461
|
n.rContainer = He("div", "flatpickr-rContainer"), n.rContainer.appendChild(z()), n.daysContainer || (n.daysContainer = He("div", "flatpickr-days"), n.daysContainer.tabIndex = -1), S(), n.rContainer.appendChild(n.daysContainer), n.innerContainer.appendChild(n.rContainer), E.appendChild(n.innerContainer);
|
|
23462
23462
|
}
|
|
23463
|
-
n.config.enableTime && E.appendChild(R()),
|
|
23463
|
+
n.config.enableTime && E.appendChild(R()), Kt(n.calendarContainer, "rangeMode", n.config.mode === "range"), Kt(n.calendarContainer, "animate", n.config.animate === !0), Kt(n.calendarContainer, "multiMonth", n.config.showMonths > 1), n.calendarContainer.appendChild(E);
|
|
23464
23464
|
var ae = n.config.appendTo !== void 0 && n.config.appendTo.nodeType !== void 0;
|
|
23465
23465
|
if ((n.config.inline || n.config.static) && (n.calendarContainer.classList.add(n.config.inline ? "inline" : "static"), n.config.inline && (!ae && n.element.parentNode ? n.element.parentNode.insertBefore(n.calendarContainer, n._input.nextSibling) : n.config.appendTo !== void 0 && n.config.appendTo.appendChild(n.calendarContainer)), n.config.static)) {
|
|
23466
23466
|
var de = He("div", "flatpickr-wrapper");
|
|
@@ -23470,7 +23470,7 @@ function qR(e, t) {
|
|
|
23470
23470
|
}
|
|
23471
23471
|
function I(E, B, K, Z) {
|
|
23472
23472
|
var ae = X(B, !0), de = He("span", E, B.getDate().toString());
|
|
23473
|
-
return de.dateObj = B, de.$i = Z, de.setAttribute("aria-label", n.formatDate(B, n.config.ariaDateFormat)), E.indexOf("hidden") === -1 && ln(B, n.now) === 0 && (n.todayDateElem = de, de.classList.add("today"), de.setAttribute("aria-current", "date")), ae ? (de.tabIndex = -1, Nr(B) && (de.classList.add("selected"), n.selectedDateElem = de, n.config.mode === "range" && (
|
|
23473
|
+
return de.dateObj = B, de.$i = Z, de.setAttribute("aria-label", n.formatDate(B, n.config.ariaDateFormat)), E.indexOf("hidden") === -1 && ln(B, n.now) === 0 && (n.todayDateElem = de, de.classList.add("today"), de.setAttribute("aria-current", "date")), ae ? (de.tabIndex = -1, Nr(B) && (de.classList.add("selected"), n.selectedDateElem = de, n.config.mode === "range" && (Kt(de, "startRange", n.selectedDates[0] && ln(B, n.selectedDates[0], !0) === 0), Kt(de, "endRange", n.selectedDates[1] && ln(B, n.selectedDates[1], !0) === 0), E === "nextMonthDay" && de.classList.add("inRange")))) : de.classList.add("flatpickr-disabled"), n.config.mode === "range" && ci(B) && !Nr(B) && de.classList.add("inRange"), n.weekNumbers && n.config.showMonths === 1 && E !== "prevMonthDay" && Z % 7 === 6 && n.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + n.config.getWeek(B) + "</span>"), Ke("onDayCreate", de), de;
|
|
23474
23474
|
}
|
|
23475
23475
|
function A(E) {
|
|
23476
23476
|
E.focus(), n.config.mode === "range" && ye(E);
|
|
@@ -23558,14 +23558,14 @@ function qR(e, t) {
|
|
|
23558
23558
|
return n.__hidePrevMonthArrow;
|
|
23559
23559
|
},
|
|
23560
23560
|
set: function(E) {
|
|
23561
|
-
n.__hidePrevMonthArrow !== E && (
|
|
23561
|
+
n.__hidePrevMonthArrow !== E && (Kt(n.prevMonthNav, "flatpickr-disabled", E), n.__hidePrevMonthArrow = E);
|
|
23562
23562
|
}
|
|
23563
23563
|
}), Object.defineProperty(n, "_hideNextMonthArrow", {
|
|
23564
23564
|
get: function() {
|
|
23565
23565
|
return n.__hideNextMonthArrow;
|
|
23566
23566
|
},
|
|
23567
23567
|
set: function(E) {
|
|
23568
|
-
n.__hideNextMonthArrow !== E && (
|
|
23568
|
+
n.__hideNextMonthArrow !== E && (Kt(n.nextMonthNav, "flatpickr-disabled", E), n.__hideNextMonthArrow = E);
|
|
23569
23569
|
}
|
|
23570
23570
|
}), n.currentYearElement = n.yearElements[0], gr(), n.monthNav;
|
|
23571
23571
|
}
|
|
@@ -23790,11 +23790,11 @@ function qR(e, t) {
|
|
|
23790
23790
|
switch (E.key) {
|
|
23791
23791
|
case n.l10n.amPM[0].charAt(0):
|
|
23792
23792
|
case n.l10n.amPM[0].charAt(0).toLowerCase():
|
|
23793
|
-
n.amPM.textContent = n.l10n.amPM[0], d(),
|
|
23793
|
+
n.amPM.textContent = n.l10n.amPM[0], d(), Xt();
|
|
23794
23794
|
break;
|
|
23795
23795
|
case n.l10n.amPM[1].charAt(0):
|
|
23796
23796
|
case n.l10n.amPM[1].charAt(0).toLowerCase():
|
|
23797
|
-
n.amPM.textContent = n.l10n.amPM[1], d(),
|
|
23797
|
+
n.amPM.textContent = n.l10n.amPM[1], d(), Xt();
|
|
23798
23798
|
break;
|
|
23799
23799
|
}
|
|
23800
23800
|
(K || oe(B)) && Ke("onKeyDown", E);
|
|
@@ -23843,7 +23843,7 @@ function qR(e, t) {
|
|
|
23843
23843
|
var K = n.config["_" + E + "Date"] = n.parseDate(B, n.config.dateFormat), Z = n.config["_" + (E === "min" ? "max" : "min") + "Date"];
|
|
23844
23844
|
K !== void 0 && (n[E === "min" ? "minDateHasTime" : "maxDateHasTime"] = K.getHours() > 0 || K.getMinutes() > 0 || K.getSeconds() > 0), n.selectedDates && (n.selectedDates = n.selectedDates.filter(function(ae) {
|
|
23845
23845
|
return X(ae);
|
|
23846
|
-
}), !n.selectedDates.length && E === "min" && h(K),
|
|
23846
|
+
}), !n.selectedDates.length && E === "min" && h(K), Xt()), n.daysContainer && (Ne(), K !== void 0 ? n.currentYearElement[E] = K.getFullYear().toString() : n.currentYearElement.removeAttribute(E), n.currentYearElement.disabled = !!Z && K !== void 0 && Z.getFullYear() === K.getFullYear());
|
|
23847
23847
|
};
|
|
23848
23848
|
}
|
|
23849
23849
|
function At() {
|
|
@@ -23944,11 +23944,11 @@ function qR(e, t) {
|
|
|
23944
23944
|
var B = E || n._positionElement, K = Array.prototype.reduce.call(n.calendarContainer.children, function(e0, t0) {
|
|
23945
23945
|
return e0 + t0.offsetHeight;
|
|
23946
23946
|
}, 0), Z = n.calendarContainer.offsetWidth, ae = n.config.position.split(" "), de = ae[0], Ae = ae.length > 1 ? ae[1] : null, he = B.getBoundingClientRect(), Te = window.innerHeight - he.bottom, ge = de === "above" || de !== "below" && Te < K && he.top > K, ie = window.pageYOffset + he.top + (ge ? -K - 2 : B.offsetHeight + 2);
|
|
23947
|
-
if (
|
|
23947
|
+
if (Kt(n.calendarContainer, "arrowTop", !ge), Kt(n.calendarContainer, "arrowBottom", ge), !n.config.inline) {
|
|
23948
23948
|
var Pe = window.pageXOffset + he.left, Ut = !1, lt = !1;
|
|
23949
|
-
Ae === "center" ? (Pe -= (Z - he.width) / 2, Ut = !0) : Ae === "right" && (Pe -= Z - he.width, lt = !0),
|
|
23949
|
+
Ae === "center" ? (Pe -= (Z - he.width) / 2, Ut = !0) : Ae === "right" && (Pe -= Z - he.width, lt = !0), Kt(n.calendarContainer, "arrowLeft", !Ut && !lt), Kt(n.calendarContainer, "arrowCenter", Ut), Kt(n.calendarContainer, "arrowRight", lt);
|
|
23950
23950
|
var En = window.document.body.offsetWidth - (window.pageXOffset + he.right), Ln = Pe + Z > window.document.body.offsetWidth, Yy = En + Z > window.document.body.offsetWidth;
|
|
23951
|
-
if (
|
|
23951
|
+
if (Kt(n.calendarContainer, "rightMost", Ln), !n.config.static)
|
|
23952
23952
|
if (n.calendarContainer.style.top = ie + "px", !Ln)
|
|
23953
23953
|
n.calendarContainer.style.left = Pe + "px", n.calendarContainer.style.right = "auto";
|
|
23954
23954
|
else if (!Yy)
|
|
@@ -23958,7 +23958,7 @@ function qR(e, t) {
|
|
|
23958
23958
|
if (jl === void 0)
|
|
23959
23959
|
return;
|
|
23960
23960
|
var Ky = window.document.body.offsetWidth, Qy = Math.max(0, Ky / 2 - Z / 2), qy = ".flatpickr-calendar.centerMost:before", Jy = ".flatpickr-calendar.centerMost:after", Xy = jl.cssRules.length, Zy = "{left:" + he.left + "px;right:auto;}";
|
|
23961
|
-
|
|
23961
|
+
Kt(n.calendarContainer, "rightMost", !1), Kt(n.calendarContainer, "centerMost", !0), jl.insertRule(qy + "," + Jy + Zy, Xy), n.calendarContainer.style.left = Qy + "px", n.calendarContainer.style.right = "auto";
|
|
23962
23962
|
}
|
|
23963
23963
|
}
|
|
23964
23964
|
}
|
|
@@ -24007,7 +24007,7 @@ function qR(e, t) {
|
|
|
24007
24007
|
var he = n.currentYear !== ae.getFullYear();
|
|
24008
24008
|
n.currentYear = ae.getFullYear(), n.currentMonth = ae.getMonth(), he && (Ke("onYearChange"), $()), Ke("onMonthChange");
|
|
24009
24009
|
}
|
|
24010
|
-
if (gr(), S(),
|
|
24010
|
+
if (gr(), S(), Xt(), !de && n.config.mode !== "range" && n.config.showMonths === 1 ? A(Z) : n.selectedDateElem !== void 0 && n.hourElement === void 0 && n.selectedDateElem && n.selectedDateElem.focus(), n.hourElement !== void 0 && n.hourElement !== void 0 && n.hourElement.focus(), n.config.closeOnSelect) {
|
|
24011
24011
|
var Te = n.config.mode === "single" && !n.config.enableTime, ge = n.config.mode === "range" && n.selectedDates.length === 2 && !n.config.enableTime;
|
|
24012
24012
|
(Te || ge) && Le();
|
|
24013
24013
|
}
|
|
@@ -24037,7 +24037,7 @@ function qR(e, t) {
|
|
|
24037
24037
|
n.config[E] = B, Rt[E] !== void 0 ? Rt[E].forEach(function(Z) {
|
|
24038
24038
|
return Z();
|
|
24039
24039
|
}) : ic.indexOf(E) > -1 && (n.config[E] = oc(B));
|
|
24040
|
-
n.redraw(),
|
|
24040
|
+
n.redraw(), Xt(!0);
|
|
24041
24041
|
}
|
|
24042
24042
|
function Ft(E, B) {
|
|
24043
24043
|
var K = [];
|
|
@@ -24075,7 +24075,7 @@ function qR(e, t) {
|
|
|
24075
24075
|
function Yt(E, B, K) {
|
|
24076
24076
|
if (B === void 0 && (B = !1), K === void 0 && (K = n.config.dateFormat), E !== 0 && !E || E instanceof Array && E.length === 0)
|
|
24077
24077
|
return n.clear(B);
|
|
24078
|
-
Ft(E, K), n.latestSelectedDateObj = n.selectedDates[n.selectedDates.length - 1], n.redraw(), x(void 0, B), h(), n.selectedDates.length === 0 && n.clear(!1),
|
|
24078
|
+
Ft(E, K), n.latestSelectedDateObj = n.selectedDates[n.selectedDates.length - 1], n.redraw(), x(void 0, B), h(), n.selectedDates.length === 0 && n.clear(!1), Xt(B), B && Ke("onChange");
|
|
24079
24079
|
}
|
|
24080
24080
|
function Mn(E) {
|
|
24081
24081
|
return E.slice().map(function(B) {
|
|
@@ -24156,10 +24156,10 @@ function qR(e, t) {
|
|
|
24156
24156
|
return n.config.mode !== "range" || n.config.enableTime || ae.indexOf(K) === Z;
|
|
24157
24157
|
}).join(n.config.mode !== "range" ? n.config.conjunction : n.l10n.rangeSeparator);
|
|
24158
24158
|
}
|
|
24159
|
-
function
|
|
24159
|
+
function Xt(E) {
|
|
24160
24160
|
E === void 0 && (E = !0), n.mobileInput !== void 0 && n.mobileFormatStr && (n.mobileInput.value = n.latestSelectedDateObj !== void 0 ? n.formatDate(n.latestSelectedDateObj, n.mobileFormatStr) : ""), n.input.value = mr(n.config.dateFormat), n.altInput !== void 0 && (n.altInput.value = mr(n.config.altFormat)), E !== !1 && Ke("onValueUpdate");
|
|
24161
24161
|
}
|
|
24162
|
-
function
|
|
24162
|
+
function Zt(E) {
|
|
24163
24163
|
var B = sn(E), K = n.prevMonthNav.contains(B), Z = n.nextMonthNav.contains(B);
|
|
24164
24164
|
K || Z ? _(K ? -1 : 1) : n.yearElements.indexOf(B) >= 0 ? B.select() : B.classList.contains("arrowUp") ? n.changeYear(n.currentYear + 1) : B.classList.contains("arrowDown") && n.changeYear(n.currentYear - 1);
|
|
24165
24165
|
}
|
|
@@ -25570,7 +25570,7 @@ var lb = function(t) {
|
|
|
25570
25570
|
marginTop: l.menuGutter
|
|
25571
25571
|
});
|
|
25572
25572
|
}, cb = /* @__PURE__ */ Wn(null), FO = function(t) {
|
|
25573
|
-
var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, c = t.theme, u =
|
|
25573
|
+
var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, c = t.theme, u = qt(cb) || {}, f = u.setPortalPlacement, d = _e(null), h = Y(i), p = ir(h, 2), m = p[0], g = p[1], v = Y(null), y = ir(v, 2), x = y[0], b = y[1], w = c.spacing.controlHeight;
|
|
25574
25574
|
return ru(function() {
|
|
25575
25575
|
var C = d.current;
|
|
25576
25576
|
if (C) {
|
|
@@ -32093,21 +32093,21 @@ function eo(e) {
|
|
|
32093
32093
|
function Dd(e) {
|
|
32094
32094
|
return "nodeType" in e;
|
|
32095
32095
|
}
|
|
32096
|
-
function
|
|
32096
|
+
function Jt(e) {
|
|
32097
32097
|
var t, n;
|
|
32098
32098
|
return e ? eo(e) ? e : Dd(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
32099
32099
|
}
|
|
32100
32100
|
function Rd(e) {
|
|
32101
32101
|
const {
|
|
32102
32102
|
Document: t
|
|
32103
|
-
} =
|
|
32103
|
+
} = Jt(e);
|
|
32104
32104
|
return e instanceof t;
|
|
32105
32105
|
}
|
|
32106
32106
|
function da(e) {
|
|
32107
|
-
return eo(e) ? !1 : e instanceof
|
|
32107
|
+
return eo(e) ? !1 : e instanceof Jt(e).HTMLElement;
|
|
32108
32108
|
}
|
|
32109
32109
|
function ly(e) {
|
|
32110
|
-
return e instanceof
|
|
32110
|
+
return e instanceof Jt(e).SVGElement;
|
|
32111
32111
|
}
|
|
32112
32112
|
function to(e) {
|
|
32113
32113
|
return e ? eo(e) ? e.document : Dd(e) ? Rd(e) ? e : da(e) || ly(e) ? e.ownerDocument : document : document : document;
|
|
@@ -32197,7 +32197,7 @@ function Tl(e) {
|
|
|
32197
32197
|
return !1;
|
|
32198
32198
|
const {
|
|
32199
32199
|
KeyboardEvent: t
|
|
32200
|
-
} =
|
|
32200
|
+
} = Jt(e.target);
|
|
32201
32201
|
return t && e instanceof t;
|
|
32202
32202
|
}
|
|
32203
32203
|
function kN(e) {
|
|
@@ -32205,7 +32205,7 @@ function kN(e) {
|
|
|
32205
32205
|
return !1;
|
|
32206
32206
|
const {
|
|
32207
32207
|
TouchEvent: t
|
|
32208
|
-
} =
|
|
32208
|
+
} = Jt(e.target);
|
|
32209
32209
|
return t && e instanceof t;
|
|
32210
32210
|
}
|
|
32211
32211
|
function Cs(e) {
|
|
@@ -32330,7 +32330,7 @@ function RN() {
|
|
|
32330
32330
|
}
|
|
32331
32331
|
const uy = /* @__PURE__ */ Wn(null);
|
|
32332
32332
|
function ON(e) {
|
|
32333
|
-
const t =
|
|
32333
|
+
const t = qt(uy);
|
|
32334
32334
|
be(() => {
|
|
32335
32335
|
if (!t)
|
|
32336
32336
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
@@ -32680,7 +32680,7 @@ function no(e, t) {
|
|
|
32680
32680
|
const {
|
|
32681
32681
|
transform: u,
|
|
32682
32682
|
transformOrigin: f
|
|
32683
|
-
} =
|
|
32683
|
+
} = Jt(e).getComputedStyle(e);
|
|
32684
32684
|
u && (n = KN(n, u, f));
|
|
32685
32685
|
}
|
|
32686
32686
|
const {
|
|
@@ -32717,10 +32717,10 @@ function qN(e) {
|
|
|
32717
32717
|
};
|
|
32718
32718
|
}
|
|
32719
32719
|
function JN(e, t) {
|
|
32720
|
-
return t === void 0 && (t =
|
|
32720
|
+
return t === void 0 && (t = Jt(e).getComputedStyle(e)), t.position === "fixed";
|
|
32721
32721
|
}
|
|
32722
32722
|
function XN(e, t) {
|
|
32723
|
-
t === void 0 && (t =
|
|
32723
|
+
t === void 0 && (t = Jt(e).getComputedStyle(e));
|
|
32724
32724
|
const n = /(auto|scroll|overlay)/;
|
|
32725
32725
|
return ["overflow", "overflowX", "overflowY"].some((i) => {
|
|
32726
32726
|
const o = t[i];
|
|
@@ -32736,7 +32736,7 @@ function kl(e, t) {
|
|
|
32736
32736
|
return n.push(i.scrollingElement), n;
|
|
32737
32737
|
if (!da(i) || ly(i) || n.includes(i))
|
|
32738
32738
|
return n;
|
|
32739
|
-
const o =
|
|
32739
|
+
const o = Jt(e).getComputedStyle(i);
|
|
32740
32740
|
return i !== e && XN(i, o) && n.push(i), JN(i, o) ? n : r(i.parentNode);
|
|
32741
32741
|
}
|
|
32742
32742
|
return e ? r(e) : n;
|
|
@@ -32912,7 +32912,7 @@ class ko {
|
|
|
32912
32912
|
function oF(e) {
|
|
32913
32913
|
const {
|
|
32914
32914
|
EventTarget: t
|
|
32915
|
-
} =
|
|
32915
|
+
} = Jt(e);
|
|
32916
32916
|
return e instanceof t ? e : to(e);
|
|
32917
32917
|
}
|
|
32918
32918
|
function wc(e, t) {
|
|
@@ -32968,7 +32968,7 @@ class El {
|
|
|
32968
32968
|
target: n
|
|
32969
32969
|
}
|
|
32970
32970
|
} = t;
|
|
32971
|
-
this.props = t, this.listeners = new ko(to(n)), this.windowListeners = new ko(
|
|
32971
|
+
this.props = t, this.listeners = new ko(to(n)), this.windowListeners = new ko(Jt(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
32972
32972
|
}
|
|
32973
32973
|
attach() {
|
|
32974
32974
|
this.handleStart(), this.windowListeners.add(vn.Resize, this.handleCancel), this.windowListeners.add(vn.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(vn.Keydown, this.handleKeyDown));
|
|
@@ -33124,7 +33124,7 @@ class jd {
|
|
|
33124
33124
|
} = t, {
|
|
33125
33125
|
target: a
|
|
33126
33126
|
} = o;
|
|
33127
|
-
this.props = t, this.events = n, this.document = to(a), this.documentListeners = new ko(this.document), this.listeners = new ko(r), this.windowListeners = new ko(
|
|
33127
|
+
this.props = t, this.events = n, this.document = to(a), this.documentListeners = new ko(this.document), this.listeners = new ko(r), this.windowListeners = new ko(Jt(a)), this.initialCoordinates = (i = Cs(o)) != null ? i : On, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
33128
33128
|
}
|
|
33129
33129
|
attach() {
|
|
33130
33130
|
const {
|
|
@@ -33743,7 +33743,7 @@ function Iy(e) {
|
|
|
33743
33743
|
const wp = [];
|
|
33744
33744
|
function TF(e, t) {
|
|
33745
33745
|
t === void 0 && (t = no);
|
|
33746
|
-
const [n] = e, r = Iy(n ?
|
|
33746
|
+
const [n] = e, r = Iy(n ? Jt(n) : null), [i, o] = Y(wp);
|
|
33747
33747
|
function a() {
|
|
33748
33748
|
o(() => e.length ? e.map((c) => by(c) ? r : new Od(t(c), c)) : wp);
|
|
33749
33749
|
}
|
|
@@ -33978,7 +33978,7 @@ function OF(e) {
|
|
|
33978
33978
|
active: n,
|
|
33979
33979
|
activatorEvent: r,
|
|
33980
33980
|
draggableNodes: i
|
|
33981
|
-
} =
|
|
33981
|
+
} = qt(pa), o = xs(r), a = xs(n == null ? void 0 : n.id);
|
|
33982
33982
|
return be(() => {
|
|
33983
33983
|
if (!t && !r && o && a != null) {
|
|
33984
33984
|
if (!Tl(o) || document.activeElement === o.target)
|
|
@@ -34071,7 +34071,7 @@ var br;
|
|
|
34071
34071
|
})(br || (br = {}));
|
|
34072
34072
|
const Ey = /* @__PURE__ */ l0(function(t) {
|
|
34073
34073
|
var n, r, i, o;
|
|
34074
|
-
let
|
|
34074
|
+
let Zt = t, {
|
|
34075
34075
|
id: a,
|
|
34076
34076
|
accessibility: l,
|
|
34077
34077
|
autoScroll: c = !0,
|
|
@@ -34080,7 +34080,7 @@ const Ey = /* @__PURE__ */ l0(function(t) {
|
|
|
34080
34080
|
collisionDetection: d = HN,
|
|
34081
34081
|
measuring: h,
|
|
34082
34082
|
modifiers: p
|
|
34083
|
-
} =
|
|
34083
|
+
} = Zt, m = nt(Zt, [
|
|
34084
34084
|
"id",
|
|
34085
34085
|
"accessibility",
|
|
34086
34086
|
"autoScroll",
|
|
@@ -34118,7 +34118,7 @@ const Ey = /* @__PURE__ */ l0(function(t) {
|
|
|
34118
34118
|
dragging: I,
|
|
34119
34119
|
dependencies: [L.x, L.y],
|
|
34120
34120
|
config: O.droppable
|
|
34121
|
-
}), le = gF(T, A), se = ke(() => R ? Cs(R) : null, [R]), X =
|
|
34121
|
+
}), le = gF(T, A), se = ke(() => R ? Cs(R) : null, [R]), X = Xt(), ee = bF(le, O.draggable.measure);
|
|
34122
34122
|
MF({
|
|
34123
34123
|
activeNode: A != null ? T.get(A) : null,
|
|
34124
34124
|
config: X.layoutShiftCompensation,
|
|
@@ -34141,7 +34141,7 @@ const Ey = /* @__PURE__ */ l0(function(t) {
|
|
|
34141
34141
|
scrollAdjustedTranslate: null
|
|
34142
34142
|
}), Ye = V.getNodeFor((n = ye.current.over) == null ? void 0 : n.id), st = kF({
|
|
34143
34143
|
measure: O.dragOverlay.measure
|
|
34144
|
-
}), ot = (r = st.nodeRef.current) != null ? r : le, At = I ? (i = st.rect) != null ? i : te : null, pe = !!(st.nodeRef.current && st.rect), ve = CF(pe ? null : te), Ie = Iy(ot ?
|
|
34144
|
+
}), ot = (r = st.nodeRef.current) != null ? r : le, At = I ? (i = st.rect) != null ? i : te : null, pe = !!(st.nodeRef.current && st.rect), ve = CF(pe ? null : te), Ie = Iy(ot ? Jt(ot) : null), Oe = wF(I ? Ye != null ? Ye : le : null), Ze = TF(Oe), Ne = ky(p, {
|
|
34145
34145
|
transform: {
|
|
34146
34146
|
x: L.x - ve.x,
|
|
34147
34147
|
y: L.y - ve.y,
|
|
@@ -34447,7 +34447,7 @@ const Ey = /* @__PURE__ */ l0(function(t) {
|
|
|
34447
34447
|
})), me.createElement($N, Q(j({}, l), {
|
|
34448
34448
|
hiddenTextDescribedById: J
|
|
34449
34449
|
})));
|
|
34450
|
-
function
|
|
34450
|
+
function Xt() {
|
|
34451
34451
|
const Tt = (N == null ? void 0 : N.autoScrollEnabled) === !1, E = typeof c == "object" ? c.enabled === !1 : c === !1, B = I && !Tt && !E;
|
|
34452
34452
|
return typeof c == "object" ? Q(j({}, c), {
|
|
34453
34453
|
enabled: B
|
|
@@ -34471,11 +34471,11 @@ function BF(e) {
|
|
|
34471
34471
|
ariaDescribedById: f,
|
|
34472
34472
|
draggableNodes: d,
|
|
34473
34473
|
over: h
|
|
34474
|
-
} =
|
|
34474
|
+
} = qt(pa), {
|
|
34475
34475
|
role: p = Ip,
|
|
34476
34476
|
roleDescription: m = "draggable",
|
|
34477
34477
|
tabIndex: g = 0
|
|
34478
|
-
} = i != null ? i : {}, v = (c == null ? void 0 : c.id) === t, y =
|
|
34478
|
+
} = i != null ? i : {}, v = (c == null ? void 0 : c.id) === t, y = qt(v ? Dl : LF), [x, b] = ys(), [w, C] = ys(), I = AF(a, t), A = Ho(n);
|
|
34479
34479
|
Rn(
|
|
34480
34480
|
() => (d.set(t, {
|
|
34481
34481
|
id: t,
|
|
@@ -34513,7 +34513,7 @@ function BF(e) {
|
|
|
34513
34513
|
};
|
|
34514
34514
|
}
|
|
34515
34515
|
function _y() {
|
|
34516
|
-
return
|
|
34516
|
+
return qt(Ty);
|
|
34517
34517
|
}
|
|
34518
34518
|
const NF = "Droppable", FF = {
|
|
34519
34519
|
timeout: 25
|
|
@@ -34530,7 +34530,7 @@ function zF(e) {
|
|
|
34530
34530
|
dispatch: l,
|
|
34531
34531
|
over: c,
|
|
34532
34532
|
measureDroppableContainers: u
|
|
34533
|
-
} =
|
|
34533
|
+
} = qt(pa), f = _e({
|
|
34534
34534
|
disabled: n
|
|
34535
34535
|
}), d = _e(!1), h = _e(null), p = _e(null), {
|
|
34536
34536
|
disabled: m,
|
|
@@ -34726,7 +34726,7 @@ function qF(e) {
|
|
|
34726
34726
|
return;
|
|
34727
34727
|
const {
|
|
34728
34728
|
transform: f
|
|
34729
|
-
} =
|
|
34729
|
+
} = Jt(a).getComputedStyle(a), d = py(f);
|
|
34730
34730
|
if (!d)
|
|
34731
34731
|
return;
|
|
34732
34732
|
const h = typeof t == "function" ? t : JF(t);
|
|
@@ -34833,7 +34833,7 @@ const ZF = /* @__PURE__ */ me.memo((e) => {
|
|
|
34833
34833
|
scrollableAncestors: b,
|
|
34834
34834
|
scrollableAncestorRects: w,
|
|
34835
34835
|
windowRect: C
|
|
34836
|
-
} = _y(), I =
|
|
34836
|
+
} = _y(), I = qt(Dl), A = XF(d == null ? void 0 : d.id), T = ky(a, {
|
|
34837
34837
|
activatorEvent: f,
|
|
34838
34838
|
active: d,
|
|
34839
34839
|
activeNodeRect: h,
|
|
@@ -35046,7 +35046,7 @@ function Ly(e) {
|
|
|
35046
35046
|
overIndex: v,
|
|
35047
35047
|
useDragOverlay: y,
|
|
35048
35048
|
strategy: x
|
|
35049
|
-
} =
|
|
35049
|
+
} = qt(Oy), b = cz(r, p), w = f.indexOf(a), C = ke(() => j({
|
|
35050
35050
|
sortable: {
|
|
35051
35051
|
containerId: d,
|
|
35052
35052
|
index: w,
|
|
@@ -35256,7 +35256,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
35256
35256
|
ref() {
|
|
35257
35257
|
}
|
|
35258
35258
|
}), fz = () => {
|
|
35259
|
-
const { attributes: e, listeners: t, ref: n } =
|
|
35259
|
+
const { attributes: e, listeners: t, ref: n } = qt(Ol);
|
|
35260
35260
|
return /* @__PURE__ */ s.jsx(
|
|
35261
35261
|
Me,
|
|
35262
35262
|
Q(j(j({
|
|
@@ -35998,7 +35998,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
35998
35998
|
/* @__PURE__ */ s.jsx(tt, { showToast: u, message: n.relatedEntitiesErrorMessage, color: "danger", hideToast: d })
|
|
35999
35999
|
] });
|
|
36000
36000
|
}, Dz = (e) => {
|
|
36001
|
-
const [t, n] = Y(!1), [r, i] = Y(!1), [o, a] = Y("success"), [l, c] = Y(""), u =
|
|
36001
|
+
const [t, n] = Y(!1), [r, i] = Y(!1), [o, a] = Y("success"), [l, c] = Y(""), u = qt(Vs), f = (h, p) => {
|
|
36002
36002
|
a(h), c(p), i(!0);
|
|
36003
36003
|
}, d = () => k(void 0, null, function* () {
|
|
36004
36004
|
n(!0);
|
|
@@ -36047,7 +36047,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36047
36047
|
/* @__PURE__ */ s.jsx(tt, { showToast: r, color: o, message: l, hideToast: () => i(!1) })
|
|
36048
36048
|
] });
|
|
36049
36049
|
}, Rz = ({ tooltipContent: e = "Drag to reorder" }) => {
|
|
36050
|
-
const { attributes: t, listeners: n, ref: r } =
|
|
36050
|
+
const { attributes: t, listeners: n, ref: r } = qt(Ol);
|
|
36051
36051
|
return /* @__PURE__ */ s.jsx(we, { title: e, placement: "left", arrow: !0, children: /* @__PURE__ */ s.jsx(
|
|
36052
36052
|
yt,
|
|
36053
36053
|
Q(j(j({
|
|
@@ -36288,7 +36288,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36288
36288
|
data-additional-cta-url="${T}"` : "", gr = f && V ? `
|
|
36289
36289
|
data-additional-cta-target="${V}"` : "", mr = `<div
|
|
36290
36290
|
data-component="fu-widget"${ve}${Ie}${Mn}${li}${gn}${Br}${ro}${io}${Ke}${Oe}${Ze}${Ne}${Le}${Dt}${Rt}${zt}${Ft}${Yt}${pr}${Nr}${ci}${gr}
|
|
36291
|
-
></div>`,
|
|
36291
|
+
></div>`, Xt = {
|
|
36292
36292
|
fullName: "Full name",
|
|
36293
36293
|
firstName: "First name",
|
|
36294
36294
|
lastName: "Last name",
|
|
@@ -36297,7 +36297,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36297
36297
|
country: "Country",
|
|
36298
36298
|
phoneCountryCode: "Phone country code",
|
|
36299
36299
|
phoneNumber: "Phone number"
|
|
36300
|
-
},
|
|
36300
|
+
}, Zt = ({ title: ie }) => /* @__PURE__ */ s.jsx(we, { title: ie, sx: { maxWidth: 300 }, children: /* @__PURE__ */ s.jsx(cn, { color: "primary" }) }), Tt = () => e !== "either-or" ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsxs(ne, { mb: 1.5, children: [
|
|
36301
36301
|
/* @__PURE__ */ s.jsxs(je, { sx: { mb: 1.5 }, children: [
|
|
36302
36302
|
/* @__PURE__ */ s.jsx($e, { color: "primary", children: r.layoutTemplate }),
|
|
36303
36303
|
/* @__PURE__ */ s.jsxs(at, { value: O, size: "md", name: "layout_template", onChange: he, children: [
|
|
@@ -36432,8 +36432,8 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36432
36432
|
{
|
|
36433
36433
|
label: "",
|
|
36434
36434
|
values: S,
|
|
36435
|
-
allValues: Object.keys(
|
|
36436
|
-
valuesMap:
|
|
36435
|
+
allValues: Object.keys(Xt),
|
|
36436
|
+
valuesMap: Xt,
|
|
36437
36437
|
onChange: (ie) => $(ie)
|
|
36438
36438
|
}
|
|
36439
36439
|
),
|
|
@@ -36483,7 +36483,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36483
36483
|
value: h,
|
|
36484
36484
|
required: !1,
|
|
36485
36485
|
size: "md",
|
|
36486
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36486
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.signInLabelInfoMessage }),
|
|
36487
36487
|
onChange: (ie) => p(ie.target.value)
|
|
36488
36488
|
}
|
|
36489
36489
|
),
|
|
@@ -36496,7 +36496,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36496
36496
|
value: "",
|
|
36497
36497
|
required: !1,
|
|
36498
36498
|
size: "md",
|
|
36499
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36499
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.authenticationHandlerInfoMessage }),
|
|
36500
36500
|
onChange: (ie) => g(ie.target.value)
|
|
36501
36501
|
}
|
|
36502
36502
|
),
|
|
@@ -36509,49 +36509,46 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36509
36509
|
value: "",
|
|
36510
36510
|
required: !1,
|
|
36511
36511
|
size: "md",
|
|
36512
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36512
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.signInUrlInfoMessage }),
|
|
36513
36513
|
onChange: (ie) => y(ie.target.value)
|
|
36514
36514
|
}
|
|
36515
36515
|
),
|
|
36516
36516
|
/* @__PURE__ */ s.jsxs(je, { sx: { mb: 2 }, children: [
|
|
36517
36517
|
/* @__PURE__ */ s.jsx($e, { color: "primary", children: r.signInTarget }),
|
|
36518
|
-
/* @__PURE__ */ s.jsxs(
|
|
36519
|
-
|
|
36520
|
-
|
|
36521
|
-
|
|
36522
|
-
|
|
36523
|
-
|
|
36524
|
-
|
|
36525
|
-
|
|
36526
|
-
|
|
36527
|
-
|
|
36528
|
-
|
|
36529
|
-
|
|
36530
|
-
|
|
36531
|
-
|
|
36532
|
-
|
|
36533
|
-
|
|
36534
|
-
|
|
36535
|
-
|
|
36536
|
-
|
|
36537
|
-
|
|
36538
|
-
|
|
36539
|
-
|
|
36540
|
-
|
|
36541
|
-
|
|
36542
|
-
|
|
36543
|
-
|
|
36544
|
-
|
|
36545
|
-
|
|
36546
|
-
|
|
36547
|
-
children:
|
|
36548
|
-
|
|
36549
|
-
|
|
36550
|
-
|
|
36551
|
-
|
|
36552
|
-
),
|
|
36553
|
-
/* @__PURE__ */ s.jsx(Kt, { title: r.signInTargetInfoMessage })
|
|
36554
|
-
] })
|
|
36518
|
+
/* @__PURE__ */ s.jsxs(
|
|
36519
|
+
at,
|
|
36520
|
+
Q(j({
|
|
36521
|
+
action: i,
|
|
36522
|
+
value: x,
|
|
36523
|
+
size: "md",
|
|
36524
|
+
name: "signin_cta_target",
|
|
36525
|
+
onChange: (ie, Pe) => b(Pe),
|
|
36526
|
+
sx: { flex: 1 }
|
|
36527
|
+
}, x && {
|
|
36528
|
+
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36529
|
+
yt,
|
|
36530
|
+
{
|
|
36531
|
+
variant: "plain",
|
|
36532
|
+
color: "neutral",
|
|
36533
|
+
onMouseDown: (ie) => {
|
|
36534
|
+
ie.stopPropagation();
|
|
36535
|
+
},
|
|
36536
|
+
onClick: () => {
|
|
36537
|
+
var ie;
|
|
36538
|
+
b(null), (ie = i.current) == null || ie.focusVisible();
|
|
36539
|
+
},
|
|
36540
|
+
sx: { width: "18px", height: "18px" },
|
|
36541
|
+
children: /* @__PURE__ */ s.jsx(bs, {})
|
|
36542
|
+
}
|
|
36543
|
+
),
|
|
36544
|
+
indicator: null
|
|
36545
|
+
}), {
|
|
36546
|
+
children: [
|
|
36547
|
+
/* @__PURE__ */ s.jsx(We, { value: "_blank", children: "Opens URL in a new tab" }),
|
|
36548
|
+
/* @__PURE__ */ s.jsx(We, { value: "_self", children: "Opens URL in the same tab" })
|
|
36549
|
+
]
|
|
36550
|
+
})
|
|
36551
|
+
)
|
|
36555
36552
|
] })
|
|
36556
36553
|
] }), de = () => e === "event-game" ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsx(
|
|
36557
36554
|
_n,
|
|
@@ -36576,7 +36573,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36576
36573
|
defaultValue: z,
|
|
36577
36574
|
required: !1,
|
|
36578
36575
|
size: "md",
|
|
36579
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36576
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.campaignIdInfoMessage }),
|
|
36580
36577
|
onChange: (ie) => W(ie.target.value)
|
|
36581
36578
|
}
|
|
36582
36579
|
),
|
|
@@ -36588,7 +36585,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36588
36585
|
defaultValue: J,
|
|
36589
36586
|
required: !1,
|
|
36590
36587
|
size: "md",
|
|
36591
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36588
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.campaignNameInfoMessage }),
|
|
36592
36589
|
onChange: (ie) => _(ie.target.value)
|
|
36593
36590
|
}
|
|
36594
36591
|
)
|
|
@@ -36620,7 +36617,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36620
36617
|
value: w,
|
|
36621
36618
|
required: !1,
|
|
36622
36619
|
size: "md",
|
|
36623
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36620
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.additionalCtaLabelInfoMessage }),
|
|
36624
36621
|
onChange: (ie) => C(ie.target.value)
|
|
36625
36622
|
}
|
|
36626
36623
|
),
|
|
@@ -36633,7 +36630,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36633
36630
|
value: "",
|
|
36634
36631
|
required: !1,
|
|
36635
36632
|
size: "md",
|
|
36636
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36633
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.additionalCtaHandlerInfoMessage }),
|
|
36637
36634
|
onChange: (ie) => A(ie.target.value)
|
|
36638
36635
|
}
|
|
36639
36636
|
),
|
|
@@ -36646,7 +36643,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36646
36643
|
value: "",
|
|
36647
36644
|
required: !1,
|
|
36648
36645
|
size: "md",
|
|
36649
|
-
endDecorator: /* @__PURE__ */ s.jsx(
|
|
36646
|
+
endDecorator: /* @__PURE__ */ s.jsx(Zt, { title: r.additionalCtaUrlInfoMessage }),
|
|
36650
36647
|
onChange: (ie) => L(ie.target.value)
|
|
36651
36648
|
}
|
|
36652
36649
|
),
|
|
@@ -36687,7 +36684,7 @@ const Ny = Ge(/* @__PURE__ */ s.jsx("path", {
|
|
|
36687
36684
|
]
|
|
36688
36685
|
})
|
|
36689
36686
|
),
|
|
36690
|
-
/* @__PURE__ */ s.jsx(
|
|
36687
|
+
/* @__PURE__ */ s.jsx(Zt, { title: r.additionalCtaTargetInfoMessage })
|
|
36691
36688
|
] })
|
|
36692
36689
|
] })
|
|
36693
36690
|
] }) : /* @__PURE__ */ s.jsx(s.Fragment, {});
|
|
@@ -38717,7 +38714,7 @@ const Yz = (e) => {
|
|
|
38717
38714
|
*/
|
|
38718
38715
|
GenerateFormula1PostEventModal: Zz
|
|
38719
38716
|
}, Gy = Wn(null), t5 = ({ children: e }) => /* @__PURE__ */ s.jsx(Gy.Provider, { value: e5, children: e }), n5 = () => {
|
|
38720
|
-
const e =
|
|
38717
|
+
const e = qt(Gy);
|
|
38721
38718
|
if (!e)
|
|
38722
38719
|
throw new Error("useComponentContext must be used within a ComponentProvider");
|
|
38723
38720
|
return e;
|