@fluidattacks/design 3.28.0-pr → 3.28.0-pr.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/@core/index.js +1 -1
- package/dist/components/@core/styles.d.ts +4 -4
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/alert/styles.d.ts +270 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/styles.d.ts +538 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/styles.d.ts +280 -6
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +1 -1
- package/dist/components/card/card-with-input/styles.d.ts +1 -1
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-selector/styles.d.ts +269 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.d.ts +3 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/indicator-card/index.js +1 -1
- package/dist/components/card-container/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/styles.d.ts +811 -7
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/styles.d.ts +271 -1
- package/dist/components/cloud-image/index.js +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/code-snippet/location-code/index.js +1 -1
- package/dist/components/code-snippet/styles.d.ts +538 -2
- package/dist/components/colors/index.js +1 -1
- package/dist/components/conditions-dialog/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/container/styles.d.ts +269 -2
- package/dist/components/copy-button/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/dropdown/styles.d.ts +539 -2
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.d.ts +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/empty-state/styles.d.ts +539 -3
- package/dist/components/empty-state/types.d.ts +1 -0
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/file-preview/styles.d.ts +339 -7
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/inner-form/index.js +1 -1
- package/dist/components/form/styles.d.ts +277 -1
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/grid-container/styles.d.ts +269 -2
- package/dist/components/grid-layout/styles.d.ts +1076 -4
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/group-selector/styles.d.ts +4 -4
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/styles.d.ts +538 -3
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button/styles.d.ts +279 -2
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +1 -1
- package/dist/components/inputs/fields/combobox/index.js +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/combobox/styles.d.ts +4 -4
- package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/styles.d.ts +2175 -10
- package/dist/components/inputs/fields/date/index.js +1 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-range/index.js +1 -1
- package/dist/components/inputs/fields/date-range/styles.d.ts +2 -2
- package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-time/calendar/styles.d.ts +538 -2
- package/dist/components/inputs/fields/date-time/index.js +1 -1
- package/dist/components/inputs/fields/editable/index.js +1 -1
- package/dist/components/inputs/fields/input-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/index.js +1 -1
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-file/styles.d.ts +569 -3
- package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/styles.d.ts +300 -1
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +1 -1
- package/dist/components/inputs/fields/phone/styles.d.ts +1356 -5
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/fields/text-input/index.js +1 -1
- package/dist/components/inputs/index.js +1 -1
- package/dist/components/inputs/label/index.js +1 -1
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/styles.d.ts +842 -7
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +1 -1
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +1 -1
- package/dist/components/inputs/utils/dialog/index.js +1 -1
- package/dist/components/inputs/utils/number-field/index.js +1 -1
- package/dist/components/inputs/utils/popover/index.js +1 -1
- package/dist/components/inputs/utils/styles.d.ts +1636 -9
- package/dist/components/layout/categories/buttons/index.d.ts +804 -6
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/column/styles.d.ts +268 -2
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/gap/styles.d.ts +268 -2
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/categories/row/styles.d.ts +268 -2
- package/dist/components/layout/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/styles.d.ts +3 -3
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/list-item/styles.d.ts +539 -2
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/little-flag/styles.d.ts +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/loading/styles.d.ts +3 -3
- package/dist/components/logo/index.js +1 -1
- package/dist/components/lottie/index.js +1 -1
- package/dist/components/lottie/styles.d.ts +394 -33
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/message-banner/styles.d.ts +279 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/styles.d.ts +2 -2
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/columns-modal/search-panel/styles.d.ts +374 -2
- package/dist/components/modal/filters-modal/applied-filter/index.js +1 -1
- package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/styles.d.ts +374 -2
- package/dist/components/modal/filters-modal/index.js +1 -1
- package/dist/components/modal/filters-modal/styles.d.ts +643 -5
- package/dist/components/modal/footer/index.js +1 -1
- package/dist/components/modal/header/index.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/modal/styles.d.ts +1348 -12
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification/styles.d.ts +42 -4
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/notification-sign/styles.d.ts +538 -3
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/styles.d.ts +569 -2
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +1 -1
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/premium-feature/styles.d.ts +269 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/progress-bar/styles.d.ts +4 -4
- package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
- package/dist/components/progress-indicator/index.js +1 -1
- package/dist/components/progress-indicator/step/index.js +1 -1
- package/dist/components/progress-indicator/styles.d.ts +4 -4
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/radio-button/styles.d.ts +539 -3
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/scroll-button/styles.d.ts +272 -3
- package/dist/components/search/index.js +1 -1
- package/dist/components/search/styles.d.ts +838 -3
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +1 -1
- package/dist/components/severity-overview/index.js +1 -1
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/show-on-hover/styles.d.ts +269 -1
- package/dist/components/slide-out-menu/index.js +1 -1
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slide-out-menu/styles.d.ts +331 -2
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/styles.d.ts +543 -4
- package/dist/components/slider/thumb/index.js +1 -1
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/step-lapse/styles.d.ts +809 -5
- package/dist/components/table/context/index.js +1 -1
- package/dist/components/table/export-csv/index.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/pagination/pagination-control/index.js +1 -1
- package/dist/components/table/pagination/pagination-control/styles.d.ts +2 -2
- package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
- package/dist/components/table/pagination/pagination-size/index.js +1 -1
- package/dist/components/table/sort-icon/index.js +1 -1
- package/dist/components/table/sort-icon/styles.d.ts +2 -2
- package/dist/components/table/styles.d.ts +808 -4
- package/dist/components/table/table-body/index.js +1 -1
- package/dist/components/table/table-body/styles.d.ts +269 -1
- package/dist/components/table/table-column-toggle/index.js +1 -1
- package/dist/components/table/table-content/head/index.js +1 -1
- package/dist/components/table/table-content/index.js +1 -1
- package/dist/components/table/table-footer/footer-content/index.js +1 -1
- package/dist/components/table/table-footer/index.js +1 -1
- package/dist/components/table/table-options/caption-content/index.js +1 -1
- package/dist/components/table/table-options/controls-content/index.js +1 -1
- package/dist/components/table/table-options/highlighted-content/index.js +1 -1
- package/dist/components/table/table-options/index.js +1 -1
- package/dist/components/table/table-options/styles.d.ts +805 -5
- package/dist/components/table/wrapper/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/table-button/styles.d.ts +279 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/styles.d.ts +2 -2
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/styles.d.ts +1 -1
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timeline/styles.d.ts +271 -3
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle/styles.d.ts +809 -3
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/styles.d.ts +336 -6
- package/dist/components/tour/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/styles.d.ts +807 -6
- package/dist/components/typography/text/index.js +1 -1
- package/dist/{components-CDXuAvor.js → components-BNGJSms8.js} +164 -190
- package/dist/{components-BT64cnmr.mjs → components-S6JXbCqw.mjs} +879 -872
- package/dist/hooks/index.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/{vendor-D_h5koHM.js → vendor-Cg77_nBF.js} +4 -4
- package/dist/{vendor-ylpTQvoM.mjs → vendor-jwPPfCAA.mjs} +647 -647
- package/package.json +2 -2
|
@@ -25361,9 +25361,20 @@ function eX() {
|
|
|
25361
25361
|
}
|
|
25362
25362
|
var tX = eX();
|
|
25363
25363
|
const Hle = /* @__PURE__ */ Xr(tX);
|
|
25364
|
-
var M0
|
|
25364
|
+
var M0, TD;
|
|
25365
25365
|
function nX() {
|
|
25366
|
-
|
|
25366
|
+
if (TD) return M0;
|
|
25367
|
+
TD = 1;
|
|
25368
|
+
function e(t) {
|
|
25369
|
+
return t === void 0;
|
|
25370
|
+
}
|
|
25371
|
+
return M0 = e, M0;
|
|
25372
|
+
}
|
|
25373
|
+
var rX = nX();
|
|
25374
|
+
const Gle = /* @__PURE__ */ Xr(rX);
|
|
25375
|
+
var F0 = { exports: {} }, PD;
|
|
25376
|
+
function iX() {
|
|
25377
|
+
return PD || (PD = 1, function(e) {
|
|
25367
25378
|
var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
25368
25379
|
/**
|
|
25369
25380
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
@@ -26518,9 +26529,9 @@ function nX() {
|
|
|
26518
26529
|
w || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), w = !0), n.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
26519
26530
|
};
|
|
26520
26531
|
}();
|
|
26521
|
-
}(
|
|
26532
|
+
}(F0)), F0.exports;
|
|
26522
26533
|
}
|
|
26523
|
-
var
|
|
26534
|
+
var Yle = iX();
|
|
26524
26535
|
(function() {
|
|
26525
26536
|
if (typeof Prism > "u" || typeof document > "u" || !document.querySelector)
|
|
26526
26537
|
return;
|
|
@@ -26682,7 +26693,7 @@ function g3(e, t) {
|
|
|
26682
26693
|
const n = e.indexOf(t);
|
|
26683
26694
|
n > -1 && e.splice(n, 1);
|
|
26684
26695
|
}
|
|
26685
|
-
function
|
|
26696
|
+
function aX([...e], t, n) {
|
|
26686
26697
|
const r = t < 0 ? e.length + t : t;
|
|
26687
26698
|
if (r >= 0 && r < e.length) {
|
|
26688
26699
|
const i = n < 0 ? e.length + n : n, [a] = e.splice(t, 1);
|
|
@@ -26713,7 +26724,7 @@ function v3(e) {
|
|
|
26713
26724
|
let t;
|
|
26714
26725
|
return () => (t === void 0 && (t = e()), t);
|
|
26715
26726
|
}
|
|
26716
|
-
const ea = /* @__NO_SIDE_EFFECTS__ */ (e) => e,
|
|
26727
|
+
const ea = /* @__NO_SIDE_EFFECTS__ */ (e) => e, sX = (e, t) => (n) => t(e(n)), bd = (...e) => e.reduce(sX), Wf = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
|
|
26717
26728
|
const r = t - e;
|
|
26718
26729
|
return r === 0 ? 1 : (n - e) / r;
|
|
26719
26730
|
};
|
|
@@ -26746,29 +26757,29 @@ const wa = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, rs = /* @__NO_SIDE_EFFECTS
|
|
|
26746
26757
|
function SR(e, t) {
|
|
26747
26758
|
return t ? e * (1e3 / t) : 0;
|
|
26748
26759
|
}
|
|
26749
|
-
const
|
|
26760
|
+
const _D = /* @__PURE__ */ new Set();
|
|
26750
26761
|
function b3(e, t, n) {
|
|
26751
|
-
e ||
|
|
26762
|
+
e || _D.has(t) || (console.warn(u1(t, n)), _D.add(t));
|
|
26752
26763
|
}
|
|
26753
|
-
const DR = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e,
|
|
26754
|
-
function
|
|
26764
|
+
const DR = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, oX = 1e-7, uX = 12;
|
|
26765
|
+
function lX(e, t, n, r, i) {
|
|
26755
26766
|
let a, s, u = 0;
|
|
26756
26767
|
do
|
|
26757
26768
|
s = t + (n - t) / 2, a = DR(s, r, i) - e, a > 0 ? n = s : t = s;
|
|
26758
|
-
while (Math.abs(a) >
|
|
26769
|
+
while (Math.abs(a) > oX && ++u < uX);
|
|
26759
26770
|
return s;
|
|
26760
26771
|
}
|
|
26761
26772
|
function $d(e, t, n, r) {
|
|
26762
26773
|
if (e === t && n === r)
|
|
26763
26774
|
return ea;
|
|
26764
|
-
const i = (a) =>
|
|
26775
|
+
const i = (a) => lX(a, 0, 1, e, n);
|
|
26765
26776
|
return (a) => a === 0 || a === 1 ? a : DR(i(a), t, r);
|
|
26766
26777
|
}
|
|
26767
|
-
const AR = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, TR = (e) => (t) => 1 - e(1 - t), PR = /* @__PURE__ */ $d(0.33, 1.53, 0.69, 0.99), $3 = /* @__PURE__ */ TR(PR), _R = /* @__PURE__ */ AR($3), MR = (e) => (e *= 2) < 1 ? 0.5 * $3(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), x3 = (e) => 1 - Math.sin(Math.acos(e)), FR = TR(x3), RR = AR(x3),
|
|
26778
|
+
const AR = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, TR = (e) => (t) => 1 - e(1 - t), PR = /* @__PURE__ */ $d(0.33, 1.53, 0.69, 0.99), $3 = /* @__PURE__ */ TR(PR), _R = /* @__PURE__ */ AR($3), MR = (e) => (e *= 2) < 1 ? 0.5 * $3(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), x3 = (e) => 1 - Math.sin(Math.acos(e)), FR = TR(x3), RR = AR(x3), cX = /* @__PURE__ */ $d(0.42, 0, 1, 1), fX = /* @__PURE__ */ $d(0, 0, 0.58, 1), kR = /* @__PURE__ */ $d(0.42, 0, 0.58, 1), dX = (e) => Array.isArray(e) && typeof e[0] != "number", OR = (e) => Array.isArray(e) && typeof e[0] == "number", MD = {
|
|
26768
26779
|
linear: ea,
|
|
26769
|
-
easeIn:
|
|
26780
|
+
easeIn: cX,
|
|
26770
26781
|
easeInOut: kR,
|
|
26771
|
-
easeOut:
|
|
26782
|
+
easeOut: fX,
|
|
26772
26783
|
circIn: x3,
|
|
26773
26784
|
circInOut: RR,
|
|
26774
26785
|
circOut: FR,
|
|
@@ -26776,13 +26787,13 @@ const AR = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, TR
|
|
|
26776
26787
|
backInOut: _R,
|
|
26777
26788
|
backOut: PR,
|
|
26778
26789
|
anticipate: MR
|
|
26779
|
-
},
|
|
26790
|
+
}, hX = (e) => typeof e == "string", FD = (e) => {
|
|
26780
26791
|
if (OR(e)) {
|
|
26781
26792
|
Sa(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
26782
26793
|
const [t, n, r, i] = e;
|
|
26783
26794
|
return $d(t, n, r, i);
|
|
26784
|
-
} else if (
|
|
26785
|
-
return Sa(
|
|
26795
|
+
} else if (hX(e))
|
|
26796
|
+
return Sa(MD[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), MD[e];
|
|
26786
26797
|
return e;
|
|
26787
26798
|
}, wh = [
|
|
26788
26799
|
"setup",
|
|
@@ -26802,7 +26813,7 @@ const AR = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, TR
|
|
|
26802
26813
|
"postRender"
|
|
26803
26814
|
// Compute
|
|
26804
26815
|
];
|
|
26805
|
-
function
|
|
26816
|
+
function pX(e, t) {
|
|
26806
26817
|
let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = !1, a = !1;
|
|
26807
26818
|
const s = /* @__PURE__ */ new WeakSet();
|
|
26808
26819
|
let u = {
|
|
@@ -26840,16 +26851,16 @@ function dX(e, t) {
|
|
|
26840
26851
|
};
|
|
26841
26852
|
return d;
|
|
26842
26853
|
}
|
|
26843
|
-
const
|
|
26854
|
+
const mX = 40;
|
|
26844
26855
|
function IR(e, t) {
|
|
26845
26856
|
let n = !1, r = !0;
|
|
26846
26857
|
const i = {
|
|
26847
26858
|
delta: 0,
|
|
26848
26859
|
timestamp: 0,
|
|
26849
26860
|
isProcessing: !1
|
|
26850
|
-
}, a = () => n = !0, s = wh.reduce((S, R) => (S[R] =
|
|
26861
|
+
}, a = () => n = !0, s = wh.reduce((S, R) => (S[R] = pX(a), S), {}), { setup: u, read: f, resolveKeyframes: d, preUpdate: h, update: m, preRender: g, render: b, postRender: w } = s, x = () => {
|
|
26851
26862
|
const S = zs.useManualTiming ? i.timestamp : performance.now();
|
|
26852
|
-
n = !1, zs.useManualTiming || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(S - i.timestamp,
|
|
26863
|
+
n = !1, zs.useManualTiming || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(S - i.timestamp, mX), 1)), i.timestamp = S, i.isProcessing = !0, u.process(i), f.process(i), d.process(i), h.process(i), m.process(i), g.process(i), b.process(i), w.process(i), i.isProcessing = !1, n && t && (r = !1, e(x));
|
|
26853
26864
|
}, A = () => {
|
|
26854
26865
|
n = !0, r = !0, i.isProcessing || e(x);
|
|
26855
26866
|
};
|
|
@@ -26861,17 +26872,17 @@ function IR(e, t) {
|
|
|
26861
26872
|
s[wh[R]].cancel(S);
|
|
26862
26873
|
}, state: i, steps: s };
|
|
26863
26874
|
}
|
|
26864
|
-
const { schedule: Tn, cancel: Ws, state: wr, steps:
|
|
26875
|
+
const { schedule: Tn, cancel: Ws, state: wr, steps: R0 } = /* @__PURE__ */ IR(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ea, !0);
|
|
26865
26876
|
let qh;
|
|
26866
|
-
function
|
|
26877
|
+
function gX() {
|
|
26867
26878
|
qh = void 0;
|
|
26868
26879
|
}
|
|
26869
26880
|
const ci = {
|
|
26870
26881
|
now: () => (qh === void 0 && ci.set(wr.isProcessing || zs.useManualTiming ? wr.timestamp : performance.now()), qh),
|
|
26871
26882
|
set: (e) => {
|
|
26872
|
-
qh = e, queueMicrotask(
|
|
26883
|
+
qh = e, queueMicrotask(gX);
|
|
26873
26884
|
}
|
|
26874
|
-
}, LR = (e) => (t) => typeof t == "string" && t.startsWith(e), w3 = /* @__PURE__ */ LR("--"),
|
|
26885
|
+
}, LR = (e) => (t) => typeof t == "string" && t.startsWith(e), w3 = /* @__PURE__ */ LR("--"), vX = /* @__PURE__ */ LR("var(--"), C3 = (e) => vX(e) ? yX.test(e.split("/*")[0].trim()) : !1, yX = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, fc = {
|
|
26875
26886
|
test: (e) => typeof e == "number",
|
|
26876
26887
|
parse: parseFloat,
|
|
26877
26888
|
transform: (e) => e
|
|
@@ -26882,10 +26893,10 @@ const ci = {
|
|
|
26882
26893
|
...fc,
|
|
26883
26894
|
default: 1
|
|
26884
26895
|
}, Pf = (e) => Math.round(e * 1e5) / 1e5, E3 = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
26885
|
-
function
|
|
26896
|
+
function bX(e) {
|
|
26886
26897
|
return e == null;
|
|
26887
26898
|
}
|
|
26888
|
-
const
|
|
26899
|
+
const $X = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, S3 = (e, t) => (n) => !!(typeof n == "string" && $X.test(n) && n.startsWith(e) || t && !bX(n) && Object.prototype.hasOwnProperty.call(n, t)), VR = (e, t, n) => (r) => {
|
|
26889
26900
|
if (typeof r != "string")
|
|
26890
26901
|
return r;
|
|
26891
26902
|
const [i, a, s, u] = r.match(E3);
|
|
@@ -26895,15 +26906,15 @@ const yX = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
26895
26906
|
[n]: parseFloat(s),
|
|
26896
26907
|
alpha: u !== void 0 ? parseFloat(u) : 1
|
|
26897
26908
|
};
|
|
26898
|
-
},
|
|
26909
|
+
}, xX = (e) => qs(0, 255, e), k0 = {
|
|
26899
26910
|
...fc,
|
|
26900
|
-
transform: (e) => Math.round(
|
|
26911
|
+
transform: (e) => Math.round(xX(e))
|
|
26901
26912
|
}, gu = {
|
|
26902
26913
|
test: /* @__PURE__ */ S3("rgb", "red"),
|
|
26903
26914
|
parse: /* @__PURE__ */ VR("red", "green", "blue"),
|
|
26904
|
-
transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" +
|
|
26915
|
+
transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + k0.transform(e) + ", " + k0.transform(t) + ", " + k0.transform(n) + ", " + Pf(Hf.transform(r)) + ")"
|
|
26905
26916
|
};
|
|
26906
|
-
function
|
|
26917
|
+
function wX(e) {
|
|
26907
26918
|
let t = "", n = "", r = "", i = "";
|
|
26908
26919
|
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
|
|
26909
26920
|
red: parseInt(t, 16),
|
|
@@ -26914,13 +26925,13 @@ function $X(e) {
|
|
|
26914
26925
|
}
|
|
26915
26926
|
const l1 = {
|
|
26916
26927
|
test: /* @__PURE__ */ S3("#"),
|
|
26917
|
-
parse:
|
|
26928
|
+
parse: wX,
|
|
26918
26929
|
transform: gu.transform
|
|
26919
26930
|
}, xd = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
|
|
26920
26931
|
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
|
|
26921
26932
|
parse: parseFloat,
|
|
26922
26933
|
transform: (t) => `${t}${e}`
|
|
26923
|
-
}), ho = /* @__PURE__ */ xd("deg"), is = /* @__PURE__ */ xd("%"), _t = /* @__PURE__ */ xd("px"),
|
|
26934
|
+
}), ho = /* @__PURE__ */ xd("deg"), is = /* @__PURE__ */ xd("%"), _t = /* @__PURE__ */ xd("px"), CX = /* @__PURE__ */ xd("vh"), EX = /* @__PURE__ */ xd("vw"), RD = {
|
|
26924
26935
|
...is,
|
|
26925
26936
|
parse: (e) => is.parse(e) / 100,
|
|
26926
26937
|
transform: (e) => is.transform(e * 100)
|
|
@@ -26936,12 +26947,12 @@ const l1 = {
|
|
|
26936
26947
|
const t = ir.parse(e);
|
|
26937
26948
|
return t.alpha = 0, ir.transform(t);
|
|
26938
26949
|
}
|
|
26939
|
-
},
|
|
26940
|
-
function
|
|
26950
|
+
}, SX = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
26951
|
+
function DX(e) {
|
|
26941
26952
|
var t, n;
|
|
26942
|
-
return isNaN(e) && typeof e == "string" && (((t = e.match(E3)) == null ? void 0 : t.length) || 0) + (((n = e.match(
|
|
26953
|
+
return isNaN(e) && typeof e == "string" && (((t = e.match(E3)) == null ? void 0 : t.length) || 0) + (((n = e.match(SX)) == null ? void 0 : n.length) || 0) > 0;
|
|
26943
26954
|
}
|
|
26944
|
-
const BR = "number", NR = "color",
|
|
26955
|
+
const BR = "number", NR = "color", AX = "var", TX = "var(", kD = "${}", PX = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
26945
26956
|
function Gf(e) {
|
|
26946
26957
|
const t = e.toString(), n = [], r = {
|
|
26947
26958
|
color: [],
|
|
@@ -26949,7 +26960,7 @@ function Gf(e) {
|
|
|
26949
26960
|
var: []
|
|
26950
26961
|
}, i = [];
|
|
26951
26962
|
let a = 0;
|
|
26952
|
-
const u = t.replace(
|
|
26963
|
+
const u = t.replace(PX, (f) => (ir.test(f) ? (r.color.push(a), i.push(NR), n.push(ir.parse(f))) : f.startsWith(TX) ? (r.var.push(a), i.push(AX), n.push(f)) : (r.number.push(a), i.push(BR), n.push(parseFloat(f))), ++a, kD)).split(kD);
|
|
26953
26964
|
return { values: n, split: u, indexes: r, types: i };
|
|
26954
26965
|
}
|
|
26955
26966
|
function jR(e) {
|
|
@@ -26967,28 +26978,28 @@ function KR(e) {
|
|
|
26967
26978
|
return a;
|
|
26968
26979
|
};
|
|
26969
26980
|
}
|
|
26970
|
-
const
|
|
26971
|
-
function
|
|
26981
|
+
const _X = (e) => typeof e == "number" ? 0 : ir.test(e) ? ir.getAnimatableNone(e) : e;
|
|
26982
|
+
function MX(e) {
|
|
26972
26983
|
const t = jR(e);
|
|
26973
|
-
return KR(e)(t.map(
|
|
26984
|
+
return KR(e)(t.map(_X));
|
|
26974
26985
|
}
|
|
26975
26986
|
const Ao = {
|
|
26976
|
-
test:
|
|
26987
|
+
test: DX,
|
|
26977
26988
|
parse: jR,
|
|
26978
26989
|
createTransformer: KR,
|
|
26979
|
-
getAnimatableNone:
|
|
26990
|
+
getAnimatableNone: MX
|
|
26980
26991
|
};
|
|
26981
|
-
function
|
|
26992
|
+
function O0(e, t, n) {
|
|
26982
26993
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
26983
26994
|
}
|
|
26984
|
-
function
|
|
26995
|
+
function FX({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
26985
26996
|
e /= 360, t /= 100, n /= 100;
|
|
26986
26997
|
let i = 0, a = 0, s = 0;
|
|
26987
26998
|
if (!t)
|
|
26988
26999
|
i = a = s = n;
|
|
26989
27000
|
else {
|
|
26990
27001
|
const u = n < 0.5 ? n * (1 + t) : n + t - n * t, f = 2 * n - u;
|
|
26991
|
-
i =
|
|
27002
|
+
i = O0(f, u, e + 1 / 3), a = O0(f, u, e), s = O0(f, u, e - 1 / 3);
|
|
26992
27003
|
}
|
|
26993
27004
|
return {
|
|
26994
27005
|
red: Math.round(i * 255),
|
|
@@ -27000,32 +27011,32 @@ function _X({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
|
27000
27011
|
function Dp(e, t) {
|
|
27001
27012
|
return (n) => n > 0 ? t : e;
|
|
27002
27013
|
}
|
|
27003
|
-
const Rn = (e, t, n) => e + (t - e) * n,
|
|
27014
|
+
const Rn = (e, t, n) => e + (t - e) * n, I0 = (e, t, n) => {
|
|
27004
27015
|
const r = e * e, i = n * (t * t - r) + r;
|
|
27005
27016
|
return i < 0 ? 0 : Math.sqrt(i);
|
|
27006
|
-
},
|
|
27007
|
-
function
|
|
27008
|
-
const t =
|
|
27017
|
+
}, RX = [l1, gu, El], kX = (e) => RX.find((t) => t.test(e));
|
|
27018
|
+
function OD(e) {
|
|
27019
|
+
const t = kX(e);
|
|
27009
27020
|
if (cc(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
|
|
27010
27021
|
return !1;
|
|
27011
27022
|
let n = t.parse(e);
|
|
27012
|
-
return t === El && (n =
|
|
27023
|
+
return t === El && (n = FX(n)), n;
|
|
27013
27024
|
}
|
|
27014
|
-
const
|
|
27015
|
-
const n =
|
|
27025
|
+
const ID = (e, t) => {
|
|
27026
|
+
const n = OD(e), r = OD(t);
|
|
27016
27027
|
if (!n || !r)
|
|
27017
27028
|
return Dp(e, t);
|
|
27018
27029
|
const i = { ...n };
|
|
27019
|
-
return (a) => (i.red =
|
|
27030
|
+
return (a) => (i.red = I0(n.red, r.red, a), i.green = I0(n.green, r.green, a), i.blue = I0(n.blue, r.blue, a), i.alpha = Rn(n.alpha, r.alpha, a), gu.transform(i));
|
|
27020
27031
|
}, c1 = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
27021
|
-
function
|
|
27032
|
+
function OX(e, t) {
|
|
27022
27033
|
return c1.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
|
|
27023
27034
|
}
|
|
27024
|
-
function
|
|
27035
|
+
function IX(e, t) {
|
|
27025
27036
|
return (n) => Rn(e, t, n);
|
|
27026
27037
|
}
|
|
27027
27038
|
function D3(e) {
|
|
27028
|
-
return typeof e == "number" ?
|
|
27039
|
+
return typeof e == "number" ? IX : typeof e == "string" ? C3(e) ? Dp : ir.test(e) ? ID : BX : Array.isArray(e) ? UR : typeof e == "object" ? ir.test(e) ? ID : LX : Dp;
|
|
27029
27040
|
}
|
|
27030
27041
|
function UR(e, t) {
|
|
27031
27042
|
const n = [...e], r = n.length, i = e.map((a, s) => D3(a)(a, t[s]));
|
|
@@ -27035,7 +27046,7 @@ function UR(e, t) {
|
|
|
27035
27046
|
return n;
|
|
27036
27047
|
};
|
|
27037
27048
|
}
|
|
27038
|
-
function
|
|
27049
|
+
function LX(e, t) {
|
|
27039
27050
|
const n = { ...e, ...t }, r = {};
|
|
27040
27051
|
for (const i in n)
|
|
27041
27052
|
e[i] !== void 0 && t[i] !== void 0 && (r[i] = D3(e[i])(e[i], t[i]));
|
|
@@ -27045,7 +27056,7 @@ function OX(e, t) {
|
|
|
27045
27056
|
return n;
|
|
27046
27057
|
};
|
|
27047
27058
|
}
|
|
27048
|
-
function
|
|
27059
|
+
function VX(e, t) {
|
|
27049
27060
|
const n = [], r = { color: 0, var: 0, number: 0 };
|
|
27050
27061
|
for (let i = 0; i < t.values.length; i++) {
|
|
27051
27062
|
const a = t.types[i], s = e.indexes[a][r[a]], u = e.values[s] ?? 0;
|
|
@@ -27053,14 +27064,14 @@ function IX(e, t) {
|
|
|
27053
27064
|
}
|
|
27054
27065
|
return n;
|
|
27055
27066
|
}
|
|
27056
|
-
const
|
|
27067
|
+
const BX = (e, t) => {
|
|
27057
27068
|
const n = Ao.createTransformer(t), r = Gf(e), i = Gf(t);
|
|
27058
|
-
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? c1.has(e) && !i.values.length || c1.has(t) && !r.values.length ?
|
|
27069
|
+
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? c1.has(e) && !i.values.length || c1.has(t) && !r.values.length ? OX(e, t) : bd(UR(VX(r, i), i.values), n) : (cc(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), Dp(e, t));
|
|
27059
27070
|
};
|
|
27060
27071
|
function qR(e, t, n) {
|
|
27061
27072
|
return typeof e == "number" && typeof t == "number" && typeof n == "number" ? Rn(e, t, n) : D3(e)(e, t);
|
|
27062
27073
|
}
|
|
27063
|
-
const
|
|
27074
|
+
const NX = (e) => {
|
|
27064
27075
|
const t = ({ timestamp: n }) => e(n);
|
|
27065
27076
|
return {
|
|
27066
27077
|
start: (n = !0) => Tn.update(t, n),
|
|
@@ -27086,7 +27097,7 @@ function A3(e) {
|
|
|
27086
27097
|
t += n, r = e.next(t);
|
|
27087
27098
|
return t >= Ap ? 1 / 0 : t;
|
|
27088
27099
|
}
|
|
27089
|
-
function
|
|
27100
|
+
function jX(e, t = 100, n) {
|
|
27090
27101
|
const r = n({ ...e, keyframes: [0, t] }), i = Math.min(A3(r), Ap);
|
|
27091
27102
|
return {
|
|
27092
27103
|
type: "keyframes",
|
|
@@ -27094,9 +27105,9 @@ function BX(e, t = 100, n) {
|
|
|
27094
27105
|
duration: /* @__PURE__ */ rs(i)
|
|
27095
27106
|
};
|
|
27096
27107
|
}
|
|
27097
|
-
const
|
|
27108
|
+
const KX = 5;
|
|
27098
27109
|
function WR(e, t, n) {
|
|
27099
|
-
const r = Math.max(t -
|
|
27110
|
+
const r = Math.max(t - KX, 0);
|
|
27100
27111
|
return SR(n - e(r), t - r);
|
|
27101
27112
|
}
|
|
27102
27113
|
const On = {
|
|
@@ -27127,25 +27138,25 @@ const On = {
|
|
|
27127
27138
|
// in seconds
|
|
27128
27139
|
minDamping: 0.05,
|
|
27129
27140
|
maxDamping: 1
|
|
27130
|
-
},
|
|
27131
|
-
function
|
|
27141
|
+
}, L0 = 1e-3;
|
|
27142
|
+
function UX({ duration: e = On.duration, bounce: t = On.bounce, velocity: n = On.velocity, mass: r = On.mass }) {
|
|
27132
27143
|
let i, a;
|
|
27133
27144
|
cc(e <= /* @__PURE__ */ wa(On.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
27134
27145
|
let s = 1 - t;
|
|
27135
27146
|
s = qs(On.minDamping, On.maxDamping, s), e = qs(On.minDuration, On.maxDuration, /* @__PURE__ */ rs(e)), s < 1 ? (i = (d) => {
|
|
27136
27147
|
const h = d * s, m = h * e, g = h - n, b = f1(d, s), w = Math.exp(-m);
|
|
27137
|
-
return
|
|
27148
|
+
return L0 - g / b * w;
|
|
27138
27149
|
}, a = (d) => {
|
|
27139
27150
|
const m = d * s * e, g = m * n + n, b = Math.pow(s, 2) * Math.pow(d, 2) * e, w = Math.exp(-m), x = f1(Math.pow(d, 2), s);
|
|
27140
|
-
return (-i(d) +
|
|
27151
|
+
return (-i(d) + L0 > 0 ? -1 : 1) * ((g - b) * w) / x;
|
|
27141
27152
|
}) : (i = (d) => {
|
|
27142
27153
|
const h = Math.exp(-d * e), m = (d - n) * e + 1;
|
|
27143
|
-
return -
|
|
27154
|
+
return -L0 + h * m;
|
|
27144
27155
|
}, a = (d) => {
|
|
27145
27156
|
const h = Math.exp(-d * e), m = (n - d) * (e * e);
|
|
27146
27157
|
return h * m;
|
|
27147
27158
|
});
|
|
27148
|
-
const u = 5 / e, f =
|
|
27159
|
+
const u = 5 / e, f = zX(i, a, u);
|
|
27149
27160
|
if (e = /* @__PURE__ */ wa(e), isNaN(f))
|
|
27150
27161
|
return {
|
|
27151
27162
|
stiffness: On.stiffness,
|
|
@@ -27161,21 +27172,21 @@ function jX({ duration: e = On.duration, bounce: t = On.bounce, velocity: n = On
|
|
|
27161
27172
|
};
|
|
27162
27173
|
}
|
|
27163
27174
|
}
|
|
27164
|
-
const
|
|
27165
|
-
function
|
|
27175
|
+
const qX = 12;
|
|
27176
|
+
function zX(e, t, n) {
|
|
27166
27177
|
let r = n;
|
|
27167
|
-
for (let i = 1; i <
|
|
27178
|
+
for (let i = 1; i < qX; i++)
|
|
27168
27179
|
r = r - e(r) / t(r);
|
|
27169
27180
|
return r;
|
|
27170
27181
|
}
|
|
27171
27182
|
function f1(e, t) {
|
|
27172
27183
|
return e * Math.sqrt(1 - t * t);
|
|
27173
27184
|
}
|
|
27174
|
-
const
|
|
27175
|
-
function
|
|
27185
|
+
const WX = ["duration", "bounce"], HX = ["stiffness", "damping", "mass"];
|
|
27186
|
+
function LD(e, t) {
|
|
27176
27187
|
return t.some((n) => e[n] !== void 0);
|
|
27177
27188
|
}
|
|
27178
|
-
function
|
|
27189
|
+
function GX(e) {
|
|
27179
27190
|
let t = {
|
|
27180
27191
|
velocity: On.velocity,
|
|
27181
27192
|
stiffness: On.stiffness,
|
|
@@ -27184,7 +27195,7 @@ function WX(e) {
|
|
|
27184
27195
|
isResolvedFromDuration: !1,
|
|
27185
27196
|
...e
|
|
27186
27197
|
};
|
|
27187
|
-
if (!
|
|
27198
|
+
if (!LD(e, HX) && LD(e, WX))
|
|
27188
27199
|
if (e.visualDuration) {
|
|
27189
27200
|
const n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * qs(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
|
|
27190
27201
|
t = {
|
|
@@ -27194,7 +27205,7 @@ function WX(e) {
|
|
|
27194
27205
|
damping: a
|
|
27195
27206
|
};
|
|
27196
27207
|
} else {
|
|
27197
|
-
const n =
|
|
27208
|
+
const n = UX(e);
|
|
27198
27209
|
t = {
|
|
27199
27210
|
...t,
|
|
27200
27211
|
...n,
|
|
@@ -27210,7 +27221,7 @@ function Tp(e = On.visualDuration, t = On.bounce) {
|
|
|
27210
27221
|
bounce: t
|
|
27211
27222
|
} : e;
|
|
27212
27223
|
let { restSpeed: r, restDelta: i } = n;
|
|
27213
|
-
const a = n.keyframes[0], s = n.keyframes[n.keyframes.length - 1], u = { done: !1, value: a }, { stiffness: f, damping: d, mass: h, duration: m, velocity: g, isResolvedFromDuration: b } =
|
|
27224
|
+
const a = n.keyframes[0], s = n.keyframes[n.keyframes.length - 1], u = { done: !1, value: a }, { stiffness: f, damping: d, mass: h, duration: m, velocity: g, isResolvedFromDuration: b } = GX({
|
|
27214
27225
|
...n,
|
|
27215
27226
|
velocity: -/* @__PURE__ */ rs(n.velocity || 0)
|
|
27216
27227
|
}), w = g || 0, x = d / (2 * Math.sqrt(f * h)), A = s - a, C = /* @__PURE__ */ rs(Math.sqrt(f / h)), E = Math.abs(A) < 5;
|
|
@@ -27255,7 +27266,7 @@ function Tp(e = On.visualDuration, t = On.bounce) {
|
|
|
27255
27266
|
return R;
|
|
27256
27267
|
}
|
|
27257
27268
|
Tp.applyToOptions = (e) => {
|
|
27258
|
-
const t =
|
|
27269
|
+
const t = jX(e, 100, Tp);
|
|
27259
27270
|
return e.ease = t.ease, e.duration = /* @__PURE__ */ wa(t.duration), e.type = "keyframes", e;
|
|
27260
27271
|
};
|
|
27261
27272
|
function d1({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: s, min: u, max: f, restDelta: d = 0.5, restSpeed: h }) {
|
|
@@ -27290,7 +27301,7 @@ function d1({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
27290
27301
|
}
|
|
27291
27302
|
};
|
|
27292
27303
|
}
|
|
27293
|
-
function
|
|
27304
|
+
function YX(e, t, n) {
|
|
27294
27305
|
const r = [], i = n || zs.mix || qR, a = e.length - 1;
|
|
27295
27306
|
for (let s = 0; s < a; s++) {
|
|
27296
27307
|
let u = i(e[s], e[s + 1]);
|
|
@@ -27310,7 +27321,7 @@ function HR(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
|
27310
27321
|
return () => t[1];
|
|
27311
27322
|
const s = e[0] === e[1];
|
|
27312
27323
|
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
|
|
27313
|
-
const u =
|
|
27324
|
+
const u = YX(t, r, i), f = u.length, d = (h) => {
|
|
27314
27325
|
if (s && h < e[0])
|
|
27315
27326
|
return t[0];
|
|
27316
27327
|
let m = 0;
|
|
@@ -27322,46 +27333,46 @@ function HR(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
|
27322
27333
|
};
|
|
27323
27334
|
return n ? (h) => d(qs(e[0], e[a - 1], h)) : d;
|
|
27324
27335
|
}
|
|
27325
|
-
function
|
|
27336
|
+
function ZX(e, t) {
|
|
27326
27337
|
const n = e[e.length - 1];
|
|
27327
27338
|
for (let r = 1; r <= t; r++) {
|
|
27328
27339
|
const i = /* @__PURE__ */ Wf(0, t, r);
|
|
27329
27340
|
e.push(Rn(n, 1, i));
|
|
27330
27341
|
}
|
|
27331
27342
|
}
|
|
27332
|
-
function
|
|
27343
|
+
function XX(e) {
|
|
27333
27344
|
const t = [0];
|
|
27334
|
-
return
|
|
27345
|
+
return ZX(t, e.length - 1), t;
|
|
27335
27346
|
}
|
|
27336
|
-
function
|
|
27347
|
+
function JX(e, t) {
|
|
27337
27348
|
return e.map((n) => n * t);
|
|
27338
27349
|
}
|
|
27339
|
-
function
|
|
27350
|
+
function QX(e, t) {
|
|
27340
27351
|
return e.map(() => t || kR).splice(0, e.length - 1);
|
|
27341
27352
|
}
|
|
27342
27353
|
function Sl({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
|
|
27343
|
-
const i =
|
|
27354
|
+
const i = dX(r) ? r.map(FD) : FD(r), a = {
|
|
27344
27355
|
done: !1,
|
|
27345
27356
|
value: t[0]
|
|
27346
|
-
}, s =
|
|
27357
|
+
}, s = JX(
|
|
27347
27358
|
// Only use the provided offsets if they're the correct length
|
|
27348
27359
|
// TODO Maybe we should warn here if there's a length mismatch
|
|
27349
|
-
n && n.length === t.length ? n :
|
|
27360
|
+
n && n.length === t.length ? n : XX(t),
|
|
27350
27361
|
e
|
|
27351
27362
|
), u = HR(s, t, {
|
|
27352
|
-
ease: Array.isArray(i) ? i :
|
|
27363
|
+
ease: Array.isArray(i) ? i : QX(t, i)
|
|
27353
27364
|
});
|
|
27354
27365
|
return {
|
|
27355
27366
|
calculatedDuration: e,
|
|
27356
27367
|
next: (f) => (a.value = u(f), a.done = f >= e, a)
|
|
27357
27368
|
};
|
|
27358
27369
|
}
|
|
27359
|
-
const
|
|
27370
|
+
const eJ = (e) => e !== null;
|
|
27360
27371
|
function T3(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
|
|
27361
|
-
const a = e.filter(
|
|
27372
|
+
const a = e.filter(eJ), u = i < 0 || t && n !== "loop" && t % 2 === 1 ? 0 : a.length - 1;
|
|
27362
27373
|
return !u || r === void 0 ? a[u] : r;
|
|
27363
27374
|
}
|
|
27364
|
-
const
|
|
27375
|
+
const tJ = {
|
|
27365
27376
|
decay: d1,
|
|
27366
27377
|
inertia: d1,
|
|
27367
27378
|
tween: Sl,
|
|
@@ -27369,7 +27380,7 @@ const QX = {
|
|
|
27369
27380
|
spring: Tp
|
|
27370
27381
|
};
|
|
27371
27382
|
function GR(e) {
|
|
27372
|
-
typeof e.type == "string" && (e.type =
|
|
27383
|
+
typeof e.type == "string" && (e.type = tJ[e.type]);
|
|
27373
27384
|
}
|
|
27374
27385
|
let P3 = class {
|
|
27375
27386
|
constructor() {
|
|
@@ -27395,7 +27406,7 @@ let P3 = class {
|
|
|
27395
27406
|
return this.finished.then(t, n);
|
|
27396
27407
|
}
|
|
27397
27408
|
};
|
|
27398
|
-
const
|
|
27409
|
+
const nJ = (e) => e / 100;
|
|
27399
27410
|
let _3 = class extends P3 {
|
|
27400
27411
|
constructor(t) {
|
|
27401
27412
|
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
|
|
@@ -27410,7 +27421,7 @@ let _3 = class extends P3 {
|
|
|
27410
27421
|
const { type: n = Sl, repeat: r = 0, repeatDelay: i = 0, repeatType: a, velocity: s = 0 } = t;
|
|
27411
27422
|
let { keyframes: u } = t;
|
|
27412
27423
|
const f = n || Sl;
|
|
27413
|
-
process.env.NODE_ENV !== "production" && f !== Sl && Sa(u.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${u}`, "spring-two-frames"), f !== Sl && typeof u[0] != "number" && (this.mixKeyframes = bd(
|
|
27424
|
+
process.env.NODE_ENV !== "production" && f !== Sl && Sa(u.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${u}`, "spring-two-frames"), f !== Sl && typeof u[0] != "number" && (this.mixKeyframes = bd(nJ, qR(u[0], u[1])), u = [0, 100]);
|
|
27414
27425
|
const d = f({ ...t, keyframes: u });
|
|
27415
27426
|
a === "mirror" && (this.mirroredGenerator = f({
|
|
27416
27427
|
...t,
|
|
@@ -27475,7 +27486,7 @@ let _3 = class extends P3 {
|
|
|
27475
27486
|
var i, a;
|
|
27476
27487
|
if (this.isStopped)
|
|
27477
27488
|
return;
|
|
27478
|
-
const { driver: t =
|
|
27489
|
+
const { driver: t = NX, startTime: n } = this.options;
|
|
27479
27490
|
this.driver || (this.driver = t((s) => this.tick(s))), (a = (i = this.options).onPlay) == null || a.call(i);
|
|
27480
27491
|
const r = this.driver.now();
|
|
27481
27492
|
this.state === "finished" ? (this.updateFinished(), this.startTime = r) : this.holdTime !== null ? this.startTime = r - this.holdTime : this.startTime || (this.startTime = n ?? r), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
|
|
@@ -27508,14 +27519,14 @@ let _3 = class extends P3 {
|
|
|
27508
27519
|
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), (n = this.driver) == null || n.stop(), t.observe(this);
|
|
27509
27520
|
}
|
|
27510
27521
|
};
|
|
27511
|
-
function
|
|
27522
|
+
function rJ(e) {
|
|
27512
27523
|
for (let t = 1; t < e.length; t++)
|
|
27513
27524
|
e[t] ?? (e[t] = e[t - 1]);
|
|
27514
27525
|
}
|
|
27515
27526
|
const vu = (e) => e * 180 / Math.PI, h1 = (e) => {
|
|
27516
27527
|
const t = vu(Math.atan2(e[1], e[0]));
|
|
27517
27528
|
return p1(t);
|
|
27518
|
-
},
|
|
27529
|
+
}, iJ = {
|
|
27519
27530
|
x: 4,
|
|
27520
27531
|
y: 5,
|
|
27521
27532
|
translateX: 4,
|
|
@@ -27528,20 +27539,20 @@ const vu = (e) => e * 180 / Math.PI, h1 = (e) => {
|
|
|
27528
27539
|
skewX: (e) => vu(Math.atan(e[1])),
|
|
27529
27540
|
skewY: (e) => vu(Math.atan(e[2])),
|
|
27530
27541
|
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
|
|
27531
|
-
}, p1 = (e) => (e = e % 360, e < 0 && (e += 360), e),
|
|
27542
|
+
}, p1 = (e) => (e = e % 360, e < 0 && (e += 360), e), VD = h1, BD = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), ND = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), aJ = {
|
|
27532
27543
|
x: 12,
|
|
27533
27544
|
y: 13,
|
|
27534
27545
|
z: 14,
|
|
27535
27546
|
translateX: 12,
|
|
27536
27547
|
translateY: 13,
|
|
27537
27548
|
translateZ: 14,
|
|
27538
|
-
scaleX:
|
|
27539
|
-
scaleY:
|
|
27540
|
-
scale: (e) => (
|
|
27549
|
+
scaleX: BD,
|
|
27550
|
+
scaleY: ND,
|
|
27551
|
+
scale: (e) => (BD(e) + ND(e)) / 2,
|
|
27541
27552
|
rotateX: (e) => p1(vu(Math.atan2(e[6], e[5]))),
|
|
27542
27553
|
rotateY: (e) => p1(vu(Math.atan2(-e[2], e[0]))),
|
|
27543
|
-
rotateZ:
|
|
27544
|
-
rotate:
|
|
27554
|
+
rotateZ: VD,
|
|
27555
|
+
rotate: VD,
|
|
27545
27556
|
skewX: (e) => vu(Math.atan(e[4])),
|
|
27546
27557
|
skewY: (e) => vu(Math.atan(e[1])),
|
|
27547
27558
|
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
|
|
@@ -27555,21 +27566,21 @@ function g1(e, t) {
|
|
|
27555
27566
|
const n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
|
|
27556
27567
|
let r, i;
|
|
27557
27568
|
if (n)
|
|
27558
|
-
r =
|
|
27569
|
+
r = aJ, i = n;
|
|
27559
27570
|
else {
|
|
27560
27571
|
const u = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
|
|
27561
|
-
r =
|
|
27572
|
+
r = iJ, i = u;
|
|
27562
27573
|
}
|
|
27563
27574
|
if (!i)
|
|
27564
27575
|
return m1(t);
|
|
27565
|
-
const a = r[t], s = i[1].split(",").map(
|
|
27576
|
+
const a = r[t], s = i[1].split(",").map(oJ);
|
|
27566
27577
|
return typeof a == "function" ? a(s) : s[a];
|
|
27567
27578
|
}
|
|
27568
|
-
const
|
|
27579
|
+
const sJ = (e, t) => {
|
|
27569
27580
|
const { transform: n = "none" } = getComputedStyle(e);
|
|
27570
27581
|
return g1(n, t);
|
|
27571
27582
|
};
|
|
27572
|
-
function
|
|
27583
|
+
function oJ(e) {
|
|
27573
27584
|
return parseFloat(e.trim());
|
|
27574
27585
|
}
|
|
27575
27586
|
const dc = [
|
|
@@ -27590,10 +27601,10 @@ const dc = [
|
|
|
27590
27601
|
"skew",
|
|
27591
27602
|
"skewX",
|
|
27592
27603
|
"skewY"
|
|
27593
|
-
], hc = new Set(dc),
|
|
27594
|
-
function
|
|
27604
|
+
], hc = new Set(dc), jD = (e) => e === fc || e === _t, uJ = /* @__PURE__ */ new Set(["x", "y", "z"]), lJ = dc.filter((e) => !uJ.has(e));
|
|
27605
|
+
function cJ(e) {
|
|
27595
27606
|
const t = [];
|
|
27596
|
-
return
|
|
27607
|
+
return lJ.forEach((n) => {
|
|
27597
27608
|
const r = e.getValue(n);
|
|
27598
27609
|
r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
|
|
27599
27610
|
}), t;
|
|
@@ -27618,7 +27629,7 @@ function YR() {
|
|
|
27618
27629
|
if (y1) {
|
|
27619
27630
|
const e = Array.from(Cu).filter((r) => r.needsMeasurement), t = new Set(e.map((r) => r.element)), n = /* @__PURE__ */ new Map();
|
|
27620
27631
|
t.forEach((r) => {
|
|
27621
|
-
const i =
|
|
27632
|
+
const i = cJ(r);
|
|
27622
27633
|
i.length && (n.set(r, i), r.render());
|
|
27623
27634
|
}), e.forEach((r) => r.measureInitialState()), t.forEach((r) => {
|
|
27624
27635
|
r.render();
|
|
@@ -27638,7 +27649,7 @@ function ZR() {
|
|
|
27638
27649
|
e.readKeyframes(), e.needsMeasurement && (y1 = !0);
|
|
27639
27650
|
});
|
|
27640
27651
|
}
|
|
27641
|
-
function
|
|
27652
|
+
function fJ() {
|
|
27642
27653
|
b1 = !0, ZR(), YR(), b1 = !1;
|
|
27643
27654
|
}
|
|
27644
27655
|
let M3 = class {
|
|
@@ -27660,7 +27671,7 @@ let M3 = class {
|
|
|
27660
27671
|
}
|
|
27661
27672
|
t[0] === void 0 && (t[0] = s), i && a === void 0 && i.set(t[0]);
|
|
27662
27673
|
}
|
|
27663
|
-
|
|
27674
|
+
rJ(t);
|
|
27664
27675
|
}
|
|
27665
27676
|
setFinalKeyframe() {
|
|
27666
27677
|
}
|
|
@@ -27680,23 +27691,23 @@ let M3 = class {
|
|
|
27680
27691
|
this.state === "pending" && this.scheduleResolve();
|
|
27681
27692
|
}
|
|
27682
27693
|
};
|
|
27683
|
-
const
|
|
27684
|
-
function
|
|
27685
|
-
|
|
27694
|
+
const dJ = (e) => e.startsWith("--");
|
|
27695
|
+
function hJ(e, t, n) {
|
|
27696
|
+
dJ(t) ? e.style.setProperty(t, n) : e.style[t] = n;
|
|
27686
27697
|
}
|
|
27687
|
-
const
|
|
27688
|
-
function
|
|
27698
|
+
const pJ = /* @__PURE__ */ v3(() => window.ScrollTimeline !== void 0), mJ = {};
|
|
27699
|
+
function gJ(e, t) {
|
|
27689
27700
|
const n = /* @__PURE__ */ v3(e);
|
|
27690
|
-
return () =>
|
|
27701
|
+
return () => mJ[t] ?? n();
|
|
27691
27702
|
}
|
|
27692
|
-
const XR = /* @__PURE__ */
|
|
27703
|
+
const XR = /* @__PURE__ */ gJ(() => {
|
|
27693
27704
|
try {
|
|
27694
27705
|
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
|
|
27695
27706
|
} catch {
|
|
27696
27707
|
return !1;
|
|
27697
27708
|
}
|
|
27698
27709
|
return !0;
|
|
27699
|
-
}, "linearEasing"), wf = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`,
|
|
27710
|
+
}, "linearEasing"), wf = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, KD = {
|
|
27700
27711
|
linear: "linear",
|
|
27701
27712
|
ease: "ease",
|
|
27702
27713
|
easeIn: "ease-in",
|
|
@@ -27709,9 +27720,9 @@ const XR = /* @__PURE__ */ pJ(() => {
|
|
|
27709
27720
|
};
|
|
27710
27721
|
function JR(e, t) {
|
|
27711
27722
|
if (e)
|
|
27712
|
-
return typeof e == "function" ? XR() ? zR(e, t) : "ease-out" : OR(e) ? wf(e) : Array.isArray(e) ? e.map((n) => JR(n, t) ||
|
|
27723
|
+
return typeof e == "function" ? XR() ? zR(e, t) : "ease-out" : OR(e) ? wf(e) : Array.isArray(e) ? e.map((n) => JR(n, t) || KD.easeOut) : KD[e];
|
|
27713
27724
|
}
|
|
27714
|
-
function
|
|
27725
|
+
function vJ(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: s = "loop", ease: u = "easeOut", times: f } = {}, d = void 0) {
|
|
27715
27726
|
const h = {
|
|
27716
27727
|
[t]: n
|
|
27717
27728
|
};
|
|
@@ -27731,20 +27742,20 @@ function mJ(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp
|
|
|
27731
27742
|
function QR(e) {
|
|
27732
27743
|
return typeof e == "function" && "applyToOptions" in e;
|
|
27733
27744
|
}
|
|
27734
|
-
function
|
|
27745
|
+
function yJ({ type: e, ...t }) {
|
|
27735
27746
|
return QR(e) && XR() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
|
|
27736
27747
|
}
|
|
27737
|
-
let
|
|
27748
|
+
let bJ = class extends P3 {
|
|
27738
27749
|
constructor(t) {
|
|
27739
27750
|
if (super(), this.finishedTime = null, this.isStopped = !1, !t)
|
|
27740
27751
|
return;
|
|
27741
27752
|
const { element: n, name: r, keyframes: i, pseudoElement: a, allowFlatten: s = !1, finalKeyframe: u, onComplete: f } = t;
|
|
27742
27753
|
this.isPseudoElement = !!a, this.allowFlatten = s, this.options = t, Sa(typeof t.type != "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
|
|
27743
|
-
const d =
|
|
27744
|
-
this.animation =
|
|
27754
|
+
const d = yJ(t);
|
|
27755
|
+
this.animation = vJ(n, r, i, d, a), d.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
|
|
27745
27756
|
if (this.finishedTime = this.time, !a) {
|
|
27746
27757
|
const h = T3(i, this.options, u, this.speed);
|
|
27747
|
-
this.updateMotionValue ? this.updateMotionValue(h) :
|
|
27758
|
+
this.updateMotionValue ? this.updateMotionValue(h) : hJ(n, r, h), this.animation.cancel();
|
|
27748
27759
|
}
|
|
27749
27760
|
f == null || f(), this.notifyFinished();
|
|
27750
27761
|
};
|
|
@@ -27823,7 +27834,7 @@ let vJ = class extends P3 {
|
|
|
27823
27834
|
*/
|
|
27824
27835
|
attachTimeline({ timeline: t, observe: n }) {
|
|
27825
27836
|
var r;
|
|
27826
|
-
return this.allowFlatten && ((r = this.animation.effect) == null || r.updateTiming({ easing: "linear" })), this.animation.onfinish = null, t &&
|
|
27837
|
+
return this.allowFlatten && ((r = this.animation.effect) == null || r.updateTiming({ easing: "linear" })), this.animation.onfinish = null, t && pJ() ? (this.animation.timeline = t, ea) : n(this);
|
|
27827
27838
|
}
|
|
27828
27839
|
};
|
|
27829
27840
|
const e7 = {
|
|
@@ -27831,16 +27842,16 @@ const e7 = {
|
|
|
27831
27842
|
backInOut: _R,
|
|
27832
27843
|
circInOut: RR
|
|
27833
27844
|
};
|
|
27834
|
-
function
|
|
27845
|
+
function $J(e) {
|
|
27835
27846
|
return e in e7;
|
|
27836
27847
|
}
|
|
27837
|
-
function
|
|
27838
|
-
typeof e.ease == "string" &&
|
|
27848
|
+
function xJ(e) {
|
|
27849
|
+
typeof e.ease == "string" && $J(e.ease) && (e.ease = e7[e.ease]);
|
|
27839
27850
|
}
|
|
27840
|
-
const
|
|
27841
|
-
let
|
|
27851
|
+
const UD = 10;
|
|
27852
|
+
let wJ = class extends bJ {
|
|
27842
27853
|
constructor(t) {
|
|
27843
|
-
|
|
27854
|
+
xJ(t), GR(t), super(t), t.startTime && (this.startTime = t.startTime), this.options = t;
|
|
27844
27855
|
}
|
|
27845
27856
|
/**
|
|
27846
27857
|
* WAAPI doesn't natively have any interruption capabilities.
|
|
@@ -27862,13 +27873,13 @@ let $J = class extends vJ {
|
|
|
27862
27873
|
...s,
|
|
27863
27874
|
autoplay: !1
|
|
27864
27875
|
}), f = /* @__PURE__ */ wa(this.finishedTime ?? this.time);
|
|
27865
|
-
n.setWithVelocity(u.sample(f -
|
|
27876
|
+
n.setWithVelocity(u.sample(f - UD).value, u.sample(f).value, UD), u.stop();
|
|
27866
27877
|
}
|
|
27867
27878
|
};
|
|
27868
|
-
const
|
|
27879
|
+
const qD = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
|
|
27869
27880
|
(Ao.test(e) || e === "0") && // And it contains numbers and/or colors
|
|
27870
27881
|
!e.startsWith("url("));
|
|
27871
|
-
function
|
|
27882
|
+
function CJ(e) {
|
|
27872
27883
|
const t = e[0];
|
|
27873
27884
|
if (e.length === 1)
|
|
27874
27885
|
return !0;
|
|
@@ -27876,40 +27887,40 @@ function xJ(e) {
|
|
|
27876
27887
|
if (e[n] !== t)
|
|
27877
27888
|
return !0;
|
|
27878
27889
|
}
|
|
27879
|
-
function
|
|
27890
|
+
function EJ(e, t, n, r) {
|
|
27880
27891
|
const i = e[0];
|
|
27881
27892
|
if (i === null)
|
|
27882
27893
|
return !1;
|
|
27883
27894
|
if (t === "display" || t === "visibility")
|
|
27884
27895
|
return !0;
|
|
27885
|
-
const a = e[e.length - 1], s =
|
|
27886
|
-
return cc(s === u, `You are trying to animate ${t} from "${i}" to "${a}". "${s ? a : i}" is not an animatable value.`, "value-not-animatable"), !s || !u ? !1 :
|
|
27896
|
+
const a = e[e.length - 1], s = qD(i, t), u = qD(a, t);
|
|
27897
|
+
return cc(s === u, `You are trying to animate ${t} from "${i}" to "${a}". "${s ? a : i}" is not an animatable value.`, "value-not-animatable"), !s || !u ? !1 : CJ(e) || (n === "spring" || QR(n)) && r;
|
|
27887
27898
|
}
|
|
27888
27899
|
function $1(e) {
|
|
27889
27900
|
e.duration = 0, e.type;
|
|
27890
27901
|
}
|
|
27891
|
-
const
|
|
27902
|
+
const SJ = /* @__PURE__ */ new Set([
|
|
27892
27903
|
"opacity",
|
|
27893
27904
|
"clipPath",
|
|
27894
27905
|
"filter",
|
|
27895
27906
|
"transform"
|
|
27896
27907
|
// TODO: Could be re-enabled now we have support for linear() easing
|
|
27897
27908
|
// "background-color"
|
|
27898
|
-
]),
|
|
27899
|
-
function
|
|
27909
|
+
]), DJ = /* @__PURE__ */ v3(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
|
|
27910
|
+
function AJ(e) {
|
|
27900
27911
|
var h;
|
|
27901
27912
|
const { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: s } = e;
|
|
27902
27913
|
if (!(((h = t == null ? void 0 : t.owner) == null ? void 0 : h.current) instanceof HTMLElement))
|
|
27903
27914
|
return !1;
|
|
27904
27915
|
const { onUpdate: f, transformTemplate: d } = t.owner.getProps();
|
|
27905
|
-
return
|
|
27916
|
+
return DJ() && n && SJ.has(n) && (n !== "transform" || !d) && /**
|
|
27906
27917
|
* If we're outputting values to onUpdate then we can't use WAAPI as there's
|
|
27907
27918
|
* no way to read the value from WAAPI every frame.
|
|
27908
27919
|
*/
|
|
27909
27920
|
!f && !r && i !== "mirror" && a !== 0 && s !== "inertia";
|
|
27910
27921
|
}
|
|
27911
|
-
const
|
|
27912
|
-
let
|
|
27922
|
+
const TJ = 40;
|
|
27923
|
+
let PJ = class extends P3 {
|
|
27913
27924
|
constructor({ autoplay: t = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: a = 0, repeatType: s = "loop", keyframes: u, name: f, motionValue: d, element: h, ...m }) {
|
|
27914
27925
|
var w;
|
|
27915
27926
|
super(), this.stop = () => {
|
|
@@ -27933,13 +27944,13 @@ let AJ = class extends P3 {
|
|
|
27933
27944
|
onKeyframesResolved(t, n, r, i) {
|
|
27934
27945
|
this.keyframeResolver = void 0;
|
|
27935
27946
|
const { name: a, type: s, velocity: u, delay: f, isHandoff: d, onUpdate: h } = r;
|
|
27936
|
-
this.resolvedAt = ci.now(),
|
|
27947
|
+
this.resolvedAt = ci.now(), EJ(t, a, s, u) || ((zs.instantAnimations || !f) && (h == null || h(T3(t, r, n))), t[0] = t[t.length - 1], $1(r), r.repeat = 0);
|
|
27937
27948
|
const g = {
|
|
27938
|
-
startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt >
|
|
27949
|
+
startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt > TJ ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
|
|
27939
27950
|
finalKeyframe: n,
|
|
27940
27951
|
...r,
|
|
27941
27952
|
keyframes: t
|
|
27942
|
-
}, b = !d &&
|
|
27953
|
+
}, b = !d && AJ(g) ? new wJ({
|
|
27943
27954
|
...g,
|
|
27944
27955
|
element: g.motionValue.owner.current
|
|
27945
27956
|
}) : new _3(g);
|
|
@@ -27954,7 +27965,7 @@ let AJ = class extends P3 {
|
|
|
27954
27965
|
}
|
|
27955
27966
|
get animation() {
|
|
27956
27967
|
var t;
|
|
27957
|
-
return this._animation || ((t = this.keyframeResolver) == null || t.resume(),
|
|
27968
|
+
return this._animation || ((t = this.keyframeResolver) == null || t.resume(), fJ()), this._animation;
|
|
27958
27969
|
}
|
|
27959
27970
|
get duration() {
|
|
27960
27971
|
return this.animation.duration;
|
|
@@ -27994,21 +28005,21 @@ let AJ = class extends P3 {
|
|
|
27994
28005
|
this._animation && this.animation.cancel(), (t = this.keyframeResolver) == null || t.cancel();
|
|
27995
28006
|
}
|
|
27996
28007
|
};
|
|
27997
|
-
const
|
|
28008
|
+
const _J = (
|
|
27998
28009
|
// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
|
|
27999
28010
|
/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
|
|
28000
28011
|
);
|
|
28001
|
-
function
|
|
28002
|
-
const t =
|
|
28012
|
+
function MJ(e) {
|
|
28013
|
+
const t = _J.exec(e);
|
|
28003
28014
|
if (!t)
|
|
28004
28015
|
return [,];
|
|
28005
28016
|
const [, n, r, i] = t;
|
|
28006
28017
|
return [`--${n ?? r}`, i];
|
|
28007
28018
|
}
|
|
28008
|
-
const
|
|
28019
|
+
const FJ = 4;
|
|
28009
28020
|
function t7(e, t, n = 1) {
|
|
28010
|
-
Sa(n <=
|
|
28011
|
-
const [r, i] =
|
|
28021
|
+
Sa(n <= FJ, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
|
|
28022
|
+
const [r, i] = MJ(e);
|
|
28012
28023
|
if (!r)
|
|
28013
28024
|
return;
|
|
28014
28025
|
const a = window.getComputedStyle(t).getPropertyValue(r);
|
|
@@ -28029,15 +28040,15 @@ const n7 = /* @__PURE__ */ new Set([
|
|
|
28029
28040
|
"right",
|
|
28030
28041
|
"bottom",
|
|
28031
28042
|
...dc
|
|
28032
|
-
]),
|
|
28043
|
+
]), RJ = {
|
|
28033
28044
|
test: (e) => e === "auto",
|
|
28034
28045
|
parse: (e) => e
|
|
28035
|
-
}, r7 = (e) => (t) => t.test(e), i7 = [fc, _t, is, ho,
|
|
28036
|
-
function
|
|
28046
|
+
}, r7 = (e) => (t) => t.test(e), i7 = [fc, _t, is, ho, EX, CX, RJ], zD = (e) => i7.find(r7(e));
|
|
28047
|
+
function kJ(e) {
|
|
28037
28048
|
return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || ER(e) : !0;
|
|
28038
28049
|
}
|
|
28039
|
-
const
|
|
28040
|
-
function
|
|
28050
|
+
const OJ = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
|
|
28051
|
+
function IJ(e) {
|
|
28041
28052
|
const [t, n] = e.slice(0, -1).split("(");
|
|
28042
28053
|
if (t === "drop-shadow")
|
|
28043
28054
|
return e;
|
|
@@ -28045,19 +28056,19 @@ function kJ(e) {
|
|
|
28045
28056
|
if (!r)
|
|
28046
28057
|
return e;
|
|
28047
28058
|
const i = n.replace(r, "");
|
|
28048
|
-
let a =
|
|
28059
|
+
let a = OJ.has(t) ? 1 : 0;
|
|
28049
28060
|
return r !== n && (a *= 100), t + "(" + a + i + ")";
|
|
28050
28061
|
}
|
|
28051
|
-
const
|
|
28062
|
+
const LJ = /\b([a-z-]*)\(.*?\)/gu, x1 = {
|
|
28052
28063
|
...Ao,
|
|
28053
28064
|
getAnimatableNone: (e) => {
|
|
28054
|
-
const t = e.match(
|
|
28055
|
-
return t ? t.map(
|
|
28065
|
+
const t = e.match(LJ);
|
|
28066
|
+
return t ? t.map(IJ).join(" ") : e;
|
|
28056
28067
|
}
|
|
28057
|
-
},
|
|
28068
|
+
}, WD = {
|
|
28058
28069
|
...fc,
|
|
28059
28070
|
transform: Math.round
|
|
28060
|
-
},
|
|
28071
|
+
}, VJ = {
|
|
28061
28072
|
rotate: ho,
|
|
28062
28073
|
rotateX: ho,
|
|
28063
28074
|
rotateY: ho,
|
|
@@ -28079,8 +28090,8 @@ const OJ = /\b([a-z-]*)\(.*?\)/gu, x1 = {
|
|
|
28079
28090
|
perspective: _t,
|
|
28080
28091
|
transformPerspective: _t,
|
|
28081
28092
|
opacity: Hf,
|
|
28082
|
-
originX:
|
|
28083
|
-
originY:
|
|
28093
|
+
originX: RD,
|
|
28094
|
+
originY: RD,
|
|
28084
28095
|
originZ: _t
|
|
28085
28096
|
}, R3 = {
|
|
28086
28097
|
// Border props
|
|
@@ -28118,13 +28129,13 @@ const OJ = /\b([a-z-]*)\(.*?\)/gu, x1 = {
|
|
|
28118
28129
|
// Misc
|
|
28119
28130
|
backgroundPositionX: _t,
|
|
28120
28131
|
backgroundPositionY: _t,
|
|
28121
|
-
...
|
|
28122
|
-
zIndex:
|
|
28132
|
+
...VJ,
|
|
28133
|
+
zIndex: WD,
|
|
28123
28134
|
// SVG
|
|
28124
28135
|
fillOpacity: Hf,
|
|
28125
28136
|
strokeOpacity: Hf,
|
|
28126
|
-
numOctaves:
|
|
28127
|
-
},
|
|
28137
|
+
numOctaves: WD
|
|
28138
|
+
}, BJ = {
|
|
28128
28139
|
...R3,
|
|
28129
28140
|
// Color props
|
|
28130
28141
|
color: ir,
|
|
@@ -28140,23 +28151,23 @@ const OJ = /\b([a-z-]*)\(.*?\)/gu, x1 = {
|
|
|
28140
28151
|
borderLeftColor: ir,
|
|
28141
28152
|
filter: x1,
|
|
28142
28153
|
WebkitFilter: x1
|
|
28143
|
-
}, a7 = (e) =>
|
|
28154
|
+
}, a7 = (e) => BJ[e];
|
|
28144
28155
|
function s7(e, t) {
|
|
28145
28156
|
let n = a7(e);
|
|
28146
28157
|
return n !== x1 && (n = Ao), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
|
|
28147
28158
|
}
|
|
28148
|
-
const
|
|
28149
|
-
function
|
|
28159
|
+
const NJ = /* @__PURE__ */ new Set(["auto", "none", "0"]);
|
|
28160
|
+
function jJ(e, t, n) {
|
|
28150
28161
|
let r = 0, i;
|
|
28151
28162
|
for (; r < e.length && !i; ) {
|
|
28152
28163
|
const a = e[r];
|
|
28153
|
-
typeof a == "string" && !
|
|
28164
|
+
typeof a == "string" && !NJ.has(a) && Gf(a).values.length && (i = e[r]), r++;
|
|
28154
28165
|
}
|
|
28155
28166
|
if (i && n)
|
|
28156
28167
|
for (const a of t)
|
|
28157
28168
|
e[a] = s7(n, i);
|
|
28158
28169
|
}
|
|
28159
|
-
let
|
|
28170
|
+
let KJ = class extends M3 {
|
|
28160
28171
|
constructor(t, n, r, i, a) {
|
|
28161
28172
|
super(t, n, r, i, a, !0);
|
|
28162
28173
|
}
|
|
@@ -28174,9 +28185,9 @@ let NJ = class extends M3 {
|
|
|
28174
28185
|
}
|
|
28175
28186
|
if (this.resolveNoneKeyframes(), !n7.has(r) || t.length !== 2)
|
|
28176
28187
|
return;
|
|
28177
|
-
const [i, a] = t, s =
|
|
28188
|
+
const [i, a] = t, s = zD(i), u = zD(a);
|
|
28178
28189
|
if (s !== u)
|
|
28179
|
-
if (
|
|
28190
|
+
if (jD(s) && jD(u))
|
|
28180
28191
|
for (let f = 0; f < t.length; f++) {
|
|
28181
28192
|
const d = t[f];
|
|
28182
28193
|
typeof d == "string" && (t[f] = parseFloat(d));
|
|
@@ -28186,8 +28197,8 @@ let NJ = class extends M3 {
|
|
|
28186
28197
|
resolveNoneKeyframes() {
|
|
28187
28198
|
const { unresolvedKeyframes: t, name: n } = this, r = [];
|
|
28188
28199
|
for (let i = 0; i < t.length; i++)
|
|
28189
|
-
(t[i] === null ||
|
|
28190
|
-
r.length &&
|
|
28200
|
+
(t[i] === null || kJ(t[i])) && r.push(i);
|
|
28201
|
+
r.length && jJ(t, r, n);
|
|
28191
28202
|
}
|
|
28192
28203
|
measureInitialState() {
|
|
28193
28204
|
const { element: t, unresolvedKeyframes: n, name: r } = this;
|
|
@@ -28210,7 +28221,7 @@ let NJ = class extends M3 {
|
|
|
28210
28221
|
}), this.resolveNoneKeyframes();
|
|
28211
28222
|
}
|
|
28212
28223
|
};
|
|
28213
|
-
function
|
|
28224
|
+
function UJ(e, t, n) {
|
|
28214
28225
|
if (e instanceof EventTarget)
|
|
28215
28226
|
return [e];
|
|
28216
28227
|
if (typeof e == "string") {
|
|
@@ -28221,13 +28232,13 @@ function jJ(e, t, n) {
|
|
|
28221
28232
|
return Array.from(e);
|
|
28222
28233
|
}
|
|
28223
28234
|
const o7 = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
|
|
28224
|
-
function
|
|
28235
|
+
function qJ(e) {
|
|
28225
28236
|
return CR(e) && "offsetHeight" in e;
|
|
28226
28237
|
}
|
|
28227
|
-
const
|
|
28238
|
+
const HD = 30, zJ = (e) => !isNaN(parseFloat(e)), _f = {
|
|
28228
28239
|
current: void 0
|
|
28229
28240
|
};
|
|
28230
|
-
let
|
|
28241
|
+
let WJ = class {
|
|
28231
28242
|
/**
|
|
28232
28243
|
* @param init - The initiating value
|
|
28233
28244
|
* @param config - Optional configuration options
|
|
@@ -28244,7 +28255,7 @@ let qJ = class {
|
|
|
28244
28255
|
}, this.hasAnimated = !1, this.setCurrent(t), this.owner = n.owner;
|
|
28245
28256
|
}
|
|
28246
28257
|
setCurrent(t) {
|
|
28247
|
-
this.current = t, this.updatedAt = ci.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity =
|
|
28258
|
+
this.current = t, this.updatedAt = ci.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = zJ(this.current));
|
|
28248
28259
|
}
|
|
28249
28260
|
setPrevFrameValue(t = this.current) {
|
|
28250
28261
|
this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
|
|
@@ -28374,9 +28385,9 @@ let qJ = class {
|
|
|
28374
28385
|
*/
|
|
28375
28386
|
getVelocity() {
|
|
28376
28387
|
const t = ci.now();
|
|
28377
|
-
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt >
|
|
28388
|
+
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > HD)
|
|
28378
28389
|
return 0;
|
|
28379
|
-
const n = Math.min(this.updatedAt - this.prevUpdatedAt,
|
|
28390
|
+
const n = Math.min(this.updatedAt - this.prevUpdatedAt, HD);
|
|
28380
28391
|
return SR(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
|
|
28381
28392
|
}
|
|
28382
28393
|
/**
|
|
@@ -28430,7 +28441,7 @@ let qJ = class {
|
|
|
28430
28441
|
}
|
|
28431
28442
|
};
|
|
28432
28443
|
function Fu(e, t) {
|
|
28433
|
-
return new
|
|
28444
|
+
return new WJ(e, t);
|
|
28434
28445
|
}
|
|
28435
28446
|
const { schedule: k3 } = /* @__PURE__ */ IR(queueMicrotask, !1), va = {
|
|
28436
28447
|
x: !1,
|
|
@@ -28439,7 +28450,7 @@ const { schedule: k3 } = /* @__PURE__ */ IR(queueMicrotask, !1), va = {
|
|
|
28439
28450
|
function u7() {
|
|
28440
28451
|
return va.x || va.y;
|
|
28441
28452
|
}
|
|
28442
|
-
function
|
|
28453
|
+
function HJ(e) {
|
|
28443
28454
|
return e === "x" || e === "y" ? va[e] ? null : (va[e] = !0, () => {
|
|
28444
28455
|
va[e] = !1;
|
|
28445
28456
|
}) : va.x || va.y ? null : (va.x = va.y = !0, () => {
|
|
@@ -28447,25 +28458,25 @@ function zJ(e) {
|
|
|
28447
28458
|
});
|
|
28448
28459
|
}
|
|
28449
28460
|
function l7(e, t) {
|
|
28450
|
-
const n =
|
|
28461
|
+
const n = UJ(e), r = new AbortController(), i = {
|
|
28451
28462
|
passive: !0,
|
|
28452
28463
|
...t,
|
|
28453
28464
|
signal: r.signal
|
|
28454
28465
|
};
|
|
28455
28466
|
return [n, i, () => r.abort()];
|
|
28456
28467
|
}
|
|
28457
|
-
function
|
|
28468
|
+
function GD(e) {
|
|
28458
28469
|
return !(e.pointerType === "touch" || u7());
|
|
28459
28470
|
}
|
|
28460
|
-
function
|
|
28471
|
+
function GJ(e, t, n = {}) {
|
|
28461
28472
|
const [r, i, a] = l7(e, n), s = (u) => {
|
|
28462
|
-
if (!
|
|
28473
|
+
if (!GD(u))
|
|
28463
28474
|
return;
|
|
28464
28475
|
const { target: f } = u, d = t(f, u);
|
|
28465
28476
|
if (typeof d != "function" || !f)
|
|
28466
28477
|
return;
|
|
28467
28478
|
const h = (m) => {
|
|
28468
|
-
|
|
28479
|
+
GD(m) && (d(m), f.removeEventListener("pointerleave", h));
|
|
28469
28480
|
};
|
|
28470
28481
|
f.addEventListener("pointerleave", h, i);
|
|
28471
28482
|
};
|
|
@@ -28473,51 +28484,51 @@ function WJ(e, t, n = {}) {
|
|
|
28473
28484
|
u.addEventListener("pointerenter", s, i);
|
|
28474
28485
|
}), a;
|
|
28475
28486
|
}
|
|
28476
|
-
const c7 = (e, t) => t ? e === t ? !0 : c7(e, t.parentElement) : !1, O3 = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1,
|
|
28487
|
+
const c7 = (e, t) => t ? e === t ? !0 : c7(e, t.parentElement) : !1, O3 = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, YJ = /* @__PURE__ */ new Set([
|
|
28477
28488
|
"BUTTON",
|
|
28478
28489
|
"INPUT",
|
|
28479
28490
|
"SELECT",
|
|
28480
28491
|
"TEXTAREA",
|
|
28481
28492
|
"A"
|
|
28482
28493
|
]);
|
|
28483
|
-
function
|
|
28484
|
-
return
|
|
28494
|
+
function ZJ(e) {
|
|
28495
|
+
return YJ.has(e.tagName) || e.tabIndex !== -1;
|
|
28485
28496
|
}
|
|
28486
28497
|
const zh = /* @__PURE__ */ new WeakSet();
|
|
28487
|
-
function
|
|
28498
|
+
function YD(e) {
|
|
28488
28499
|
return (t) => {
|
|
28489
28500
|
t.key === "Enter" && e(t);
|
|
28490
28501
|
};
|
|
28491
28502
|
}
|
|
28492
|
-
function
|
|
28503
|
+
function V0(e, t) {
|
|
28493
28504
|
e.dispatchEvent(new PointerEvent("pointer" + t, { isPrimary: !0, bubbles: !0 }));
|
|
28494
28505
|
}
|
|
28495
|
-
const
|
|
28506
|
+
const XJ = (e, t) => {
|
|
28496
28507
|
const n = e.currentTarget;
|
|
28497
28508
|
if (!n)
|
|
28498
28509
|
return;
|
|
28499
|
-
const r =
|
|
28510
|
+
const r = YD(() => {
|
|
28500
28511
|
if (zh.has(n))
|
|
28501
28512
|
return;
|
|
28502
|
-
|
|
28503
|
-
const i =
|
|
28504
|
-
|
|
28505
|
-
}), a = () =>
|
|
28513
|
+
V0(n, "down");
|
|
28514
|
+
const i = YD(() => {
|
|
28515
|
+
V0(n, "up");
|
|
28516
|
+
}), a = () => V0(n, "cancel");
|
|
28506
28517
|
n.addEventListener("keyup", i, t), n.addEventListener("blur", a, t);
|
|
28507
28518
|
});
|
|
28508
28519
|
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
|
|
28509
28520
|
};
|
|
28510
|
-
function
|
|
28521
|
+
function ZD(e) {
|
|
28511
28522
|
return O3(e) && !u7();
|
|
28512
28523
|
}
|
|
28513
|
-
function
|
|
28524
|
+
function JJ(e, t, n = {}) {
|
|
28514
28525
|
const [r, i, a] = l7(e, n), s = (u) => {
|
|
28515
28526
|
const f = u.currentTarget;
|
|
28516
|
-
if (!
|
|
28527
|
+
if (!ZD(u))
|
|
28517
28528
|
return;
|
|
28518
28529
|
zh.add(f);
|
|
28519
28530
|
const d = t(f, u), h = (b, w) => {
|
|
28520
|
-
window.removeEventListener("pointerup", m), window.removeEventListener("pointercancel", g), zh.has(f) && zh.delete(f),
|
|
28531
|
+
window.removeEventListener("pointerup", m), window.removeEventListener("pointercancel", g), zh.has(f) && zh.delete(f), ZD(b) && typeof d == "function" && d(b, { success: w });
|
|
28521
28532
|
}, m = (b) => {
|
|
28522
28533
|
h(b, f === window || f === document || n.useGlobalTarget || c7(f, b.target));
|
|
28523
28534
|
}, g = (b) => {
|
|
@@ -28526,25 +28537,25 @@ function ZJ(e, t, n = {}) {
|
|
|
28526
28537
|
window.addEventListener("pointerup", m, i), window.addEventListener("pointercancel", g, i);
|
|
28527
28538
|
};
|
|
28528
28539
|
return r.forEach((u) => {
|
|
28529
|
-
(n.useGlobalTarget ? window : u).addEventListener("pointerdown", s, i),
|
|
28540
|
+
(n.useGlobalTarget ? window : u).addEventListener("pointerdown", s, i), qJ(u) && (u.addEventListener("focus", (d) => XJ(d, i)), !ZJ(u) && !u.hasAttribute("tabindex") && (u.tabIndex = 0));
|
|
28530
28541
|
}), a;
|
|
28531
28542
|
}
|
|
28532
28543
|
function f7(e) {
|
|
28533
28544
|
return CR(e) && "ownerSVGElement" in e;
|
|
28534
28545
|
}
|
|
28535
|
-
function
|
|
28546
|
+
function QJ(e) {
|
|
28536
28547
|
return f7(e) && e.tagName === "svg";
|
|
28537
28548
|
}
|
|
28538
|
-
function
|
|
28549
|
+
function eQ(...e) {
|
|
28539
28550
|
const t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], s = e[3 + n], u = HR(i, a, s);
|
|
28540
28551
|
return t ? u(r) : u;
|
|
28541
28552
|
}
|
|
28542
|
-
const Cr = (e) => !!(e && e.getVelocity),
|
|
28553
|
+
const Cr = (e) => !!(e && e.getVelocity), tQ = [...i7, ir, Ao], nQ = (e) => tQ.find(r7(e)), I3 = Rr({
|
|
28543
28554
|
transformPagePoint: (e) => e,
|
|
28544
28555
|
isStatic: !1,
|
|
28545
28556
|
reducedMotion: "never"
|
|
28546
28557
|
});
|
|
28547
|
-
function
|
|
28558
|
+
function rQ(e = !0) {
|
|
28548
28559
|
const t = Ut(p3);
|
|
28549
28560
|
if (t === null)
|
|
28550
28561
|
return [!0, null];
|
|
@@ -28556,7 +28567,7 @@ function tQ(e = !0) {
|
|
|
28556
28567
|
const s = rn(() => e && r && r(a), [a, r, e]);
|
|
28557
28568
|
return !n && r ? [!1, s] : [!0];
|
|
28558
28569
|
}
|
|
28559
|
-
const d7 = Rr({ strict: !1 }),
|
|
28570
|
+
const d7 = Rr({ strict: !1 }), XD = {
|
|
28560
28571
|
animation: [
|
|
28561
28572
|
"animate",
|
|
28562
28573
|
"variants",
|
|
@@ -28576,18 +28587,18 @@ const d7 = Rr({ strict: !1 }), ZD = {
|
|
|
28576
28587
|
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
28577
28588
|
layout: ["layout", "layoutId"]
|
|
28578
28589
|
}, Xl = {};
|
|
28579
|
-
for (const e in
|
|
28590
|
+
for (const e in XD)
|
|
28580
28591
|
Xl[e] = {
|
|
28581
|
-
isEnabled: (t) =>
|
|
28592
|
+
isEnabled: (t) => XD[e].some((n) => !!t[n])
|
|
28582
28593
|
};
|
|
28583
|
-
function
|
|
28594
|
+
function iQ(e) {
|
|
28584
28595
|
for (const t in e)
|
|
28585
28596
|
Xl[t] = {
|
|
28586
28597
|
...Xl[t],
|
|
28587
28598
|
...e[t]
|
|
28588
28599
|
};
|
|
28589
28600
|
}
|
|
28590
|
-
const
|
|
28601
|
+
const aQ = /* @__PURE__ */ new Set([
|
|
28591
28602
|
"animate",
|
|
28592
28603
|
"exit",
|
|
28593
28604
|
"variants",
|
|
@@ -28620,17 +28631,17 @@ const rQ = /* @__PURE__ */ new Set([
|
|
|
28620
28631
|
"viewport"
|
|
28621
28632
|
]);
|
|
28622
28633
|
function Pp(e) {
|
|
28623
|
-
return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") ||
|
|
28634
|
+
return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || aQ.has(e);
|
|
28624
28635
|
}
|
|
28625
28636
|
let h7 = (e) => !Pp(e);
|
|
28626
|
-
function
|
|
28637
|
+
function sQ(e) {
|
|
28627
28638
|
typeof e == "function" && (h7 = (t) => t.startsWith("on") ? !Pp(t) : e(t));
|
|
28628
28639
|
}
|
|
28629
28640
|
try {
|
|
28630
|
-
|
|
28641
|
+
sQ(require("@emotion/is-prop-valid").default);
|
|
28631
28642
|
} catch {
|
|
28632
28643
|
}
|
|
28633
|
-
function
|
|
28644
|
+
function oQ(e, t, n) {
|
|
28634
28645
|
const r = {};
|
|
28635
28646
|
for (const i in e)
|
|
28636
28647
|
i === "values" && typeof e.values == "object" || (h7(i) || n === !0 && Pp(i) || !t && !Pp(i) || // If trying to use native HTML drag events, forward drag listeners
|
|
@@ -28659,7 +28670,7 @@ function _m(e) {
|
|
|
28659
28670
|
function p7(e) {
|
|
28660
28671
|
return !!(_m(e) || e.variants);
|
|
28661
28672
|
}
|
|
28662
|
-
function
|
|
28673
|
+
function uQ(e, t) {
|
|
28663
28674
|
if (_m(e)) {
|
|
28664
28675
|
const { initial: n, animate: r } = e;
|
|
28665
28676
|
return {
|
|
@@ -28669,30 +28680,30 @@ function sQ(e, t) {
|
|
|
28669
28680
|
}
|
|
28670
28681
|
return e.inherit !== !1 ? t : {};
|
|
28671
28682
|
}
|
|
28672
|
-
function
|
|
28673
|
-
const { initial: t, animate: n } =
|
|
28674
|
-
return et(() => ({ initial: t, animate: n }), [
|
|
28683
|
+
function lQ(e) {
|
|
28684
|
+
const { initial: t, animate: n } = uQ(e, Ut(Tm));
|
|
28685
|
+
return et(() => ({ initial: t, animate: n }), [JD(t), JD(n)]);
|
|
28675
28686
|
}
|
|
28676
|
-
function
|
|
28687
|
+
function JD(e) {
|
|
28677
28688
|
return Array.isArray(e) ? e.join(" ") : e;
|
|
28678
28689
|
}
|
|
28679
28690
|
const Zf = {};
|
|
28680
|
-
function
|
|
28691
|
+
function cQ(e) {
|
|
28681
28692
|
for (const t in e)
|
|
28682
28693
|
Zf[t] = e[t], w3(t) && (Zf[t].isCSSVariable = !0);
|
|
28683
28694
|
}
|
|
28684
28695
|
function m7(e, { layout: t, layoutId: n }) {
|
|
28685
28696
|
return hc.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Zf[e] || e === "opacity");
|
|
28686
28697
|
}
|
|
28687
|
-
const
|
|
28698
|
+
const fQ = {
|
|
28688
28699
|
x: "translateX",
|
|
28689
28700
|
y: "translateY",
|
|
28690
28701
|
z: "translateZ",
|
|
28691
28702
|
transformPerspective: "perspective"
|
|
28692
|
-
},
|
|
28693
|
-
function
|
|
28703
|
+
}, dQ = dc.length;
|
|
28704
|
+
function hQ(e, t, n) {
|
|
28694
28705
|
let r = "", i = !0;
|
|
28695
|
-
for (let a = 0; a <
|
|
28706
|
+
for (let a = 0; a < dQ; a++) {
|
|
28696
28707
|
const s = dc[a], u = e[s];
|
|
28697
28708
|
if (u === void 0)
|
|
28698
28709
|
continue;
|
|
@@ -28701,7 +28712,7 @@ function fQ(e, t, n) {
|
|
|
28701
28712
|
const d = o7(u, R3[s]);
|
|
28702
28713
|
if (!f) {
|
|
28703
28714
|
i = !1;
|
|
28704
|
-
const h =
|
|
28715
|
+
const h = fQ[s] || s;
|
|
28705
28716
|
r += `${h}(${d}) `;
|
|
28706
28717
|
}
|
|
28707
28718
|
n && (t[s] = d);
|
|
@@ -28725,7 +28736,7 @@ function B3(e, t, n) {
|
|
|
28725
28736
|
f.startsWith("origin") ? (u = !0, a[f] = h) : r[f] = h;
|
|
28726
28737
|
}
|
|
28727
28738
|
}
|
|
28728
|
-
if (t.transform || (s || n ? r.transform =
|
|
28739
|
+
if (t.transform || (s || n ? r.transform = hQ(t, e.transform, n) : r.transform && (r.transform = "none")), u) {
|
|
28729
28740
|
const { originX: f = "50%", originY: d = "50%", originZ: h = 0 } = a;
|
|
28730
28741
|
r.transformOrigin = `${f} ${d} ${h}`;
|
|
28731
28742
|
}
|
|
@@ -28740,30 +28751,30 @@ function g7(e, t, n) {
|
|
|
28740
28751
|
for (const r in t)
|
|
28741
28752
|
!Cr(t[r]) && !m7(r, n) && (e[r] = t[r]);
|
|
28742
28753
|
}
|
|
28743
|
-
function
|
|
28754
|
+
function pQ({ transformTemplate: e }, t) {
|
|
28744
28755
|
return et(() => {
|
|
28745
28756
|
const n = N3();
|
|
28746
28757
|
return B3(n, t, e), Object.assign({}, n.vars, n.style);
|
|
28747
28758
|
}, [t]);
|
|
28748
28759
|
}
|
|
28749
|
-
function
|
|
28760
|
+
function mQ(e, t) {
|
|
28750
28761
|
const n = e.style || {}, r = {};
|
|
28751
|
-
return g7(r, n, e), Object.assign(r,
|
|
28762
|
+
return g7(r, n, e), Object.assign(r, pQ(e, t)), r;
|
|
28752
28763
|
}
|
|
28753
|
-
function
|
|
28754
|
-
const n = {}, r =
|
|
28764
|
+
function gQ(e, t) {
|
|
28765
|
+
const n = {}, r = mQ(e, t);
|
|
28755
28766
|
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
|
|
28756
28767
|
}
|
|
28757
|
-
const
|
|
28768
|
+
const vQ = {
|
|
28758
28769
|
offset: "stroke-dashoffset",
|
|
28759
28770
|
array: "stroke-dasharray"
|
|
28760
|
-
},
|
|
28771
|
+
}, yQ = {
|
|
28761
28772
|
offset: "strokeDashoffset",
|
|
28762
28773
|
array: "strokeDasharray"
|
|
28763
28774
|
};
|
|
28764
|
-
function
|
|
28775
|
+
function bQ(e, t, n = 1, r = 0, i = !0) {
|
|
28765
28776
|
e.pathLength = 1;
|
|
28766
|
-
const a = i ?
|
|
28777
|
+
const a = i ? vQ : yQ;
|
|
28767
28778
|
e[a.offset] = _t.transform(-r);
|
|
28768
28779
|
const s = _t.transform(t), u = _t.transform(n);
|
|
28769
28780
|
e[a.array] = `${s} ${u}`;
|
|
@@ -28784,13 +28795,13 @@ function v7(e, {
|
|
|
28784
28795
|
}
|
|
28785
28796
|
e.attrs = e.style, e.style = {};
|
|
28786
28797
|
const { attrs: m, style: g } = e;
|
|
28787
|
-
m.transform && (g.transform = m.transform, delete m.transform), (g.transform || m.transformOrigin) && (g.transformOrigin = m.transformOrigin ?? "50% 50%", delete m.transformOrigin), g.transform && (g.transformBox = (h == null ? void 0 : h.transformBox) ?? "fill-box", delete m.transformBox), t !== void 0 && (m.x = t), n !== void 0 && (m.y = n), r !== void 0 && (m.scale = r), i !== void 0 &&
|
|
28798
|
+
m.transform && (g.transform = m.transform, delete m.transform), (g.transform || m.transformOrigin) && (g.transformOrigin = m.transformOrigin ?? "50% 50%", delete m.transformOrigin), g.transform && (g.transformBox = (h == null ? void 0 : h.transformBox) ?? "fill-box", delete m.transformBox), t !== void 0 && (m.x = t), n !== void 0 && (m.y = n), r !== void 0 && (m.scale = r), i !== void 0 && bQ(m, i, a, s, !1);
|
|
28788
28799
|
}
|
|
28789
28800
|
const y7 = () => ({
|
|
28790
28801
|
...N3(),
|
|
28791
28802
|
attrs: {}
|
|
28792
28803
|
}), b7 = (e) => typeof e == "string" && e.toLowerCase() === "svg";
|
|
28793
|
-
function
|
|
28804
|
+
function $Q(e, t, n, r) {
|
|
28794
28805
|
const i = et(() => {
|
|
28795
28806
|
const a = y7();
|
|
28796
28807
|
return v7(a, t, b7(r), e.transformTemplate, e.style), {
|
|
@@ -28804,7 +28815,7 @@ function yQ(e, t, n, r) {
|
|
|
28804
28815
|
}
|
|
28805
28816
|
return i;
|
|
28806
28817
|
}
|
|
28807
|
-
const
|
|
28818
|
+
const xQ = [
|
|
28808
28819
|
"animate",
|
|
28809
28820
|
"circle",
|
|
28810
28821
|
"defs",
|
|
@@ -28844,21 +28855,21 @@ function j3(e) {
|
|
|
28844
28855
|
/**
|
|
28845
28856
|
* If it's in our list of lowercase SVG tags, it's an SVG component
|
|
28846
28857
|
*/
|
|
28847
|
-
!!(
|
|
28858
|
+
!!(xQ.indexOf(e) > -1 || /**
|
|
28848
28859
|
* If it contains a capital letter, it's an SVG component
|
|
28849
28860
|
*/
|
|
28850
28861
|
/[A-Z]/u.test(e))
|
|
28851
28862
|
)
|
|
28852
28863
|
);
|
|
28853
28864
|
}
|
|
28854
|
-
function
|
|
28855
|
-
const u = (j3(e) ?
|
|
28865
|
+
function wQ(e, t, n, { latestValues: r }, i, a = !1) {
|
|
28866
|
+
const u = (j3(e) ? $Q : gQ)(t, r, i, e), f = oQ(t, typeof e == "string", a), d = e !== Kp ? { ...f, ...u, ref: n } : {}, { children: h } = t, m = et(() => Cr(h) ? h.get() : h, [h]);
|
|
28856
28867
|
return x2(e, {
|
|
28857
28868
|
...d,
|
|
28858
28869
|
children: m
|
|
28859
28870
|
});
|
|
28860
28871
|
}
|
|
28861
|
-
function
|
|
28872
|
+
function QD(e) {
|
|
28862
28873
|
const t = [{}, {}];
|
|
28863
28874
|
return e == null || e.values.forEach((n, r) => {
|
|
28864
28875
|
t[0][r] = n.get(), t[1][r] = n.getVelocity();
|
|
@@ -28866,11 +28877,11 @@ function JD(e) {
|
|
|
28866
28877
|
}
|
|
28867
28878
|
function K3(e, t, n, r) {
|
|
28868
28879
|
if (typeof t == "function") {
|
|
28869
|
-
const [i, a] =
|
|
28880
|
+
const [i, a] = QD(r);
|
|
28870
28881
|
t = t(n !== void 0 ? n : e.custom, i, a);
|
|
28871
28882
|
}
|
|
28872
28883
|
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
|
|
28873
|
-
const [i, a] =
|
|
28884
|
+
const [i, a] = QD(r);
|
|
28874
28885
|
t = t(n !== void 0 ? n : e.custom, i, a);
|
|
28875
28886
|
}
|
|
28876
28887
|
return t;
|
|
@@ -28878,13 +28889,13 @@ function K3(e, t, n, r) {
|
|
|
28878
28889
|
function Wh(e) {
|
|
28879
28890
|
return Cr(e) ? e.get() : e;
|
|
28880
28891
|
}
|
|
28881
|
-
function
|
|
28892
|
+
function CQ({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
|
|
28882
28893
|
return {
|
|
28883
|
-
latestValues:
|
|
28894
|
+
latestValues: EQ(n, r, i, e),
|
|
28884
28895
|
renderState: t()
|
|
28885
28896
|
};
|
|
28886
28897
|
}
|
|
28887
|
-
function
|
|
28898
|
+
function EQ(e, t, n, r) {
|
|
28888
28899
|
const i = {}, a = r(e, {});
|
|
28889
28900
|
for (const g in a)
|
|
28890
28901
|
i[g] = Wh(a[g]);
|
|
@@ -28916,7 +28927,7 @@ function wQ(e, t, n, r) {
|
|
|
28916
28927
|
return i;
|
|
28917
28928
|
}
|
|
28918
28929
|
const $7 = (e) => (t, n) => {
|
|
28919
|
-
const r = Ut(Tm), i = Ut(p3), a = () =>
|
|
28930
|
+
const r = Ut(Tm), i = Ut(p3), a = () => CQ(e, t, r, i);
|
|
28920
28931
|
return n ? a() : yd(a);
|
|
28921
28932
|
};
|
|
28922
28933
|
function U3(e, t, n) {
|
|
@@ -28926,7 +28937,7 @@ function U3(e, t, n) {
|
|
|
28926
28937
|
(Cr(r[s]) || t.style && Cr(t.style[s]) || m7(s, e) || ((a = n == null ? void 0 : n.getValue(s)) == null ? void 0 : a.liveStyle) !== void 0) && (i[s] = r[s]);
|
|
28927
28938
|
return i;
|
|
28928
28939
|
}
|
|
28929
|
-
const
|
|
28940
|
+
const SQ = /* @__PURE__ */ $7({
|
|
28930
28941
|
scrapeMotionValuesFromProps: U3,
|
|
28931
28942
|
createRenderState: N3
|
|
28932
28943
|
});
|
|
@@ -28939,14 +28950,14 @@ function x7(e, t, n) {
|
|
|
28939
28950
|
}
|
|
28940
28951
|
return r;
|
|
28941
28952
|
}
|
|
28942
|
-
const
|
|
28953
|
+
const DQ = /* @__PURE__ */ $7({
|
|
28943
28954
|
scrapeMotionValuesFromProps: x7,
|
|
28944
28955
|
createRenderState: y7
|
|
28945
|
-
}),
|
|
28956
|
+
}), AQ = Symbol.for("motionComponentSymbol");
|
|
28946
28957
|
function Dl(e) {
|
|
28947
28958
|
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
|
|
28948
28959
|
}
|
|
28949
|
-
function
|
|
28960
|
+
function TQ(e, t, n) {
|
|
28950
28961
|
return rn(
|
|
28951
28962
|
(r) => {
|
|
28952
28963
|
r && e.onMount && e.onMount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Dl(n) && (n.current = r));
|
|
@@ -28959,8 +28970,8 @@ function DQ(e, t, n) {
|
|
|
28959
28970
|
[t]
|
|
28960
28971
|
);
|
|
28961
28972
|
}
|
|
28962
|
-
const q3 = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(),
|
|
28963
|
-
function
|
|
28973
|
+
const q3 = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), PQ = "framerAppearId", w7 = "data-" + q3(PQ), C7 = Rr({});
|
|
28974
|
+
function _Q(e, t, n, r, i) {
|
|
28964
28975
|
var x, A;
|
|
28965
28976
|
const { visualElement: a } = Ut(Tm), s = Ut(d7), u = Ut(p3), f = Ut(I3).reducedMotion, d = Je(null);
|
|
28966
28977
|
r = r || s.renderer, !d.current && r && (d.current = r(e, {
|
|
@@ -28972,7 +28983,7 @@ function TQ(e, t, n, r, i) {
|
|
|
28972
28983
|
reducedMotionConfig: f
|
|
28973
28984
|
}));
|
|
28974
28985
|
const h = d.current, m = Ut(C7);
|
|
28975
|
-
h && !h.projection && i && (h.type === "html" || h.type === "svg") &&
|
|
28986
|
+
h && !h.projection && i && (h.type === "html" || h.type === "svg") && MQ(d.current, n, i, m);
|
|
28976
28987
|
const g = Je(!1);
|
|
28977
28988
|
w2(() => {
|
|
28978
28989
|
h && g.current && h.update(n, u);
|
|
@@ -28987,7 +28998,7 @@ function TQ(e, t, n, r, i) {
|
|
|
28987
28998
|
}), w.current = !1), h.enteringChildren = void 0);
|
|
28988
28999
|
}), h;
|
|
28989
29000
|
}
|
|
28990
|
-
function
|
|
29001
|
+
function MQ(e, t, n, r) {
|
|
28991
29002
|
const { layoutId: i, layout: a, drag: s, dragConstraints: u, layoutScroll: f, layoutRoot: d, layoutCrossfade: h } = t;
|
|
28992
29003
|
e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : E7(e.parent)), e.projection.setOptions({
|
|
28993
29004
|
layoutId: i,
|
|
@@ -29012,39 +29023,39 @@ function E7(e) {
|
|
|
29012
29023
|
if (e)
|
|
29013
29024
|
return e.options.allowProjection !== !1 ? e.projection : E7(e.parent);
|
|
29014
29025
|
}
|
|
29015
|
-
function
|
|
29016
|
-
n &&
|
|
29017
|
-
const i = j3(e) ?
|
|
29026
|
+
function B0(e, { forwardMotionProps: t = !1 } = {}, n, r) {
|
|
29027
|
+
n && iQ(n);
|
|
29028
|
+
const i = j3(e) ? DQ : SQ;
|
|
29018
29029
|
function a(u, f) {
|
|
29019
29030
|
let d;
|
|
29020
29031
|
const h = {
|
|
29021
29032
|
...Ut(I3),
|
|
29022
29033
|
...u,
|
|
29023
|
-
layoutId:
|
|
29024
|
-
}, { isStatic: m } = h, g =
|
|
29034
|
+
layoutId: FQ(u)
|
|
29035
|
+
}, { isStatic: m } = h, g = lQ(u), b = i(u, m);
|
|
29025
29036
|
if (!m && h3) {
|
|
29026
|
-
|
|
29027
|
-
const w =
|
|
29028
|
-
d = w.MeasureLayout, g.visualElement =
|
|
29037
|
+
RQ(h, n);
|
|
29038
|
+
const w = kQ(h);
|
|
29039
|
+
d = w.MeasureLayout, g.visualElement = _Q(e, b, h, r, w.ProjectionNode);
|
|
29029
29040
|
}
|
|
29030
|
-
return E2(Tm.Provider, { value: g, children: [d && g.visualElement ? Eo(d, { visualElement: g.visualElement, ...h }) : null,
|
|
29041
|
+
return E2(Tm.Provider, { value: g, children: [d && g.visualElement ? Eo(d, { visualElement: g.visualElement, ...h }) : null, wQ(e, u, TQ(b, g.visualElement, f), b, m, t)] });
|
|
29031
29042
|
}
|
|
29032
29043
|
a.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
|
|
29033
29044
|
const s = id(a);
|
|
29034
|
-
return s[
|
|
29045
|
+
return s[AQ] = e, s;
|
|
29035
29046
|
}
|
|
29036
|
-
function
|
|
29047
|
+
function FQ({ layoutId: e }) {
|
|
29037
29048
|
const t = Ut($R).id;
|
|
29038
29049
|
return t && e !== void 0 ? t + "-" + e : e;
|
|
29039
29050
|
}
|
|
29040
|
-
function
|
|
29051
|
+
function RQ(e, t) {
|
|
29041
29052
|
const n = Ut(d7).strict;
|
|
29042
29053
|
if (process.env.NODE_ENV !== "production" && t && n) {
|
|
29043
29054
|
const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
29044
29055
|
e.ignoreStrict ? cc(!1, r, "lazy-strict-mode") : Sa(!1, r, "lazy-strict-mode");
|
|
29045
29056
|
}
|
|
29046
29057
|
}
|
|
29047
|
-
function
|
|
29058
|
+
function kQ(e) {
|
|
29048
29059
|
const { drag: t, layout: n } = Xl;
|
|
29049
29060
|
if (!t && !n)
|
|
29050
29061
|
return {};
|
|
@@ -29054,17 +29065,17 @@ function FQ(e) {
|
|
|
29054
29065
|
ProjectionNode: r.ProjectionNode
|
|
29055
29066
|
};
|
|
29056
29067
|
}
|
|
29057
|
-
function
|
|
29068
|
+
function OQ(e, t) {
|
|
29058
29069
|
if (typeof Proxy > "u")
|
|
29059
|
-
return
|
|
29060
|
-
const n = /* @__PURE__ */ new Map(), r = (a, s) =>
|
|
29070
|
+
return B0;
|
|
29071
|
+
const n = /* @__PURE__ */ new Map(), r = (a, s) => B0(a, s, e, t), i = (a, s) => (process.env.NODE_ENV !== "production" && b3(!1, "motion() is deprecated. Use motion.create() instead."), r(a, s));
|
|
29061
29072
|
return new Proxy(i, {
|
|
29062
29073
|
/**
|
|
29063
29074
|
* Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
|
|
29064
29075
|
* The prop name is passed through as `key` and we can use that to generate a `motion`
|
|
29065
29076
|
* DOM component with that name.
|
|
29066
29077
|
*/
|
|
29067
|
-
get: (a, s) => s === "create" ? r : (n.has(s) || n.set(s,
|
|
29078
|
+
get: (a, s) => s === "create" ? r : (n.has(s) || n.set(s, B0(s, void 0, e, t)), n.get(s))
|
|
29068
29079
|
});
|
|
29069
29080
|
}
|
|
29070
29081
|
function S7({ top: e, left: t, right: n, bottom: r }) {
|
|
@@ -29073,10 +29084,10 @@ function S7({ top: e, left: t, right: n, bottom: r }) {
|
|
|
29073
29084
|
y: { min: e, max: r }
|
|
29074
29085
|
};
|
|
29075
29086
|
}
|
|
29076
|
-
function
|
|
29087
|
+
function IQ({ x: e, y: t }) {
|
|
29077
29088
|
return { top: t.min, right: e.max, bottom: t.max, left: e.min };
|
|
29078
29089
|
}
|
|
29079
|
-
function
|
|
29090
|
+
function LQ(e, t) {
|
|
29080
29091
|
if (!t)
|
|
29081
29092
|
return e;
|
|
29082
29093
|
const n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom });
|
|
@@ -29087,36 +29098,36 @@ function OQ(e, t) {
|
|
|
29087
29098
|
right: r.x
|
|
29088
29099
|
};
|
|
29089
29100
|
}
|
|
29090
|
-
function
|
|
29101
|
+
function N0(e) {
|
|
29091
29102
|
return e === void 0 || e === 1;
|
|
29092
29103
|
}
|
|
29093
29104
|
function w1({ scale: e, scaleX: t, scaleY: n }) {
|
|
29094
|
-
return !
|
|
29105
|
+
return !N0(e) || !N0(t) || !N0(n);
|
|
29095
29106
|
}
|
|
29096
29107
|
function uu(e) {
|
|
29097
29108
|
return w1(e) || D7(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
|
|
29098
29109
|
}
|
|
29099
29110
|
function D7(e) {
|
|
29100
|
-
return
|
|
29111
|
+
return eA(e.x) || eA(e.y);
|
|
29101
29112
|
}
|
|
29102
|
-
function
|
|
29113
|
+
function eA(e) {
|
|
29103
29114
|
return e && e !== "0%";
|
|
29104
29115
|
}
|
|
29105
29116
|
function _p(e, t, n) {
|
|
29106
29117
|
const r = e - n, i = t * r;
|
|
29107
29118
|
return n + i;
|
|
29108
29119
|
}
|
|
29109
|
-
function
|
|
29120
|
+
function tA(e, t, n, r, i) {
|
|
29110
29121
|
return i !== void 0 && (e = _p(e, i, r)), _p(e, n, r) + t;
|
|
29111
29122
|
}
|
|
29112
29123
|
function C1(e, t = 0, n = 1, r, i) {
|
|
29113
|
-
e.min =
|
|
29124
|
+
e.min = tA(e.min, t, n, r, i), e.max = tA(e.max, t, n, r, i);
|
|
29114
29125
|
}
|
|
29115
29126
|
function A7(e, { x: t, y: n }) {
|
|
29116
29127
|
C1(e.x, t.translate, t.scale, t.originPoint), C1(e.y, n.translate, n.scale, n.originPoint);
|
|
29117
29128
|
}
|
|
29118
|
-
const
|
|
29119
|
-
function
|
|
29129
|
+
const nA = 0.999999999999, rA = 1.0000000000001;
|
|
29130
|
+
function VQ(e, t, n, r = !1) {
|
|
29120
29131
|
const i = n.length;
|
|
29121
29132
|
if (!i)
|
|
29122
29133
|
return;
|
|
@@ -29130,38 +29141,38 @@ function IQ(e, t, n, r = !1) {
|
|
|
29130
29141
|
y: -a.scroll.offset.y
|
|
29131
29142
|
}), s && (t.x *= s.x.scale, t.y *= s.y.scale, A7(e, s)), r && uu(a.latestValues) && Tl(e, a.latestValues));
|
|
29132
29143
|
}
|
|
29133
|
-
t.x <
|
|
29144
|
+
t.x < rA && t.x > nA && (t.x = 1), t.y < rA && t.y > nA && (t.y = 1);
|
|
29134
29145
|
}
|
|
29135
29146
|
function Al(e, t) {
|
|
29136
29147
|
e.min = e.min + t, e.max = e.max + t;
|
|
29137
29148
|
}
|
|
29138
|
-
function
|
|
29149
|
+
function iA(e, t, n, r, i = 0.5) {
|
|
29139
29150
|
const a = Rn(e.min, e.max, i);
|
|
29140
29151
|
C1(e, t, n, a, r);
|
|
29141
29152
|
}
|
|
29142
29153
|
function Tl(e, t) {
|
|
29143
|
-
|
|
29154
|
+
iA(e.x, t.x, t.scaleX, t.scale, t.originX), iA(e.y, t.y, t.scaleY, t.scale, t.originY);
|
|
29144
29155
|
}
|
|
29145
29156
|
function T7(e, t) {
|
|
29146
|
-
return S7(
|
|
29157
|
+
return S7(LQ(e.getBoundingClientRect(), t));
|
|
29147
29158
|
}
|
|
29148
|
-
function
|
|
29159
|
+
function BQ(e, t, n) {
|
|
29149
29160
|
const r = T7(e, n), { scroll: i } = t;
|
|
29150
29161
|
return i && (Al(r.x, i.offset.x), Al(r.y, i.offset.y)), r;
|
|
29151
29162
|
}
|
|
29152
|
-
const
|
|
29163
|
+
const aA = () => ({
|
|
29153
29164
|
translate: 0,
|
|
29154
29165
|
scale: 1,
|
|
29155
29166
|
origin: 0,
|
|
29156
29167
|
originPoint: 0
|
|
29157
29168
|
}), Pl = () => ({
|
|
29158
|
-
x: iA(),
|
|
29159
|
-
y: iA()
|
|
29160
|
-
}), aA = () => ({ min: 0, max: 0 }), Jn = () => ({
|
|
29161
29169
|
x: aA(),
|
|
29162
29170
|
y: aA()
|
|
29171
|
+
}), sA = () => ({ min: 0, max: 0 }), Jn = () => ({
|
|
29172
|
+
x: sA(),
|
|
29173
|
+
y: sA()
|
|
29163
29174
|
}), E1 = { current: null }, P7 = { current: !1 };
|
|
29164
|
-
function
|
|
29175
|
+
function NQ() {
|
|
29165
29176
|
if (P7.current = !0, !!h3)
|
|
29166
29177
|
if (window.matchMedia) {
|
|
29167
29178
|
const e = window.matchMedia("(prefers-reduced-motion)"), t = () => E1.current = e.matches;
|
|
@@ -29169,8 +29180,8 @@ function VQ() {
|
|
|
29169
29180
|
} else
|
|
29170
29181
|
E1.current = !1;
|
|
29171
29182
|
}
|
|
29172
|
-
const
|
|
29173
|
-
function
|
|
29183
|
+
const jQ = /* @__PURE__ */ new WeakMap();
|
|
29184
|
+
function KQ(e, t, n) {
|
|
29174
29185
|
for (const r in t) {
|
|
29175
29186
|
const i = t[r], a = n[r];
|
|
29176
29187
|
if (Cr(i))
|
|
@@ -29190,7 +29201,7 @@ function NQ(e, t, n) {
|
|
|
29190
29201
|
t[r] === void 0 && e.removeValue(r);
|
|
29191
29202
|
return t;
|
|
29192
29203
|
}
|
|
29193
|
-
const
|
|
29204
|
+
const oA = [
|
|
29194
29205
|
"AnimationStart",
|
|
29195
29206
|
"AnimationComplete",
|
|
29196
29207
|
"Update",
|
|
@@ -29199,7 +29210,7 @@ const sA = [
|
|
|
29199
29210
|
"LayoutAnimationStart",
|
|
29200
29211
|
"LayoutAnimationComplete"
|
|
29201
29212
|
];
|
|
29202
|
-
let
|
|
29213
|
+
let UQ = class {
|
|
29203
29214
|
/**
|
|
29204
29215
|
* This method takes React props and returns found MotionValues. For example, HTML
|
|
29205
29216
|
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
|
@@ -29227,7 +29238,7 @@ let jQ = class {
|
|
|
29227
29238
|
}
|
|
29228
29239
|
mount(t) {
|
|
29229
29240
|
var n;
|
|
29230
|
-
this.current = t,
|
|
29241
|
+
this.current = t, jQ.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((r, i) => this.bindToMotionValue(i, r)), P7.current || NQ(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : E1.current, process.env.NODE_ENV !== "production" && b3(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), (n = this.parent) == null || n.addChild(this), this.update(this.props, this.presenceContext);
|
|
29231
29242
|
}
|
|
29232
29243
|
unmount() {
|
|
29233
29244
|
var t;
|
|
@@ -29297,13 +29308,13 @@ let jQ = class {
|
|
|
29297
29308
|
*/
|
|
29298
29309
|
update(t, n) {
|
|
29299
29310
|
(t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
|
|
29300
|
-
for (let r = 0; r <
|
|
29301
|
-
const i =
|
|
29311
|
+
for (let r = 0; r < oA.length; r++) {
|
|
29312
|
+
const i = oA[r];
|
|
29302
29313
|
this.propEventSubscriptions[i] && (this.propEventSubscriptions[i](), delete this.propEventSubscriptions[i]);
|
|
29303
29314
|
const a = "on" + i, s = t[a];
|
|
29304
29315
|
s && (this.propEventSubscriptions[i] = this.on(i, s));
|
|
29305
29316
|
}
|
|
29306
|
-
this.prevMotionValues =
|
|
29317
|
+
this.prevMotionValues = KQ(this, this.scrapeMotionValuesFromProps(t, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
|
|
29307
29318
|
}
|
|
29308
29319
|
getProps() {
|
|
29309
29320
|
return this.props;
|
|
@@ -29368,7 +29379,7 @@ let jQ = class {
|
|
|
29368
29379
|
*/
|
|
29369
29380
|
readValue(t, n) {
|
|
29370
29381
|
let r = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
|
|
29371
|
-
return r != null && (typeof r == "string" && (wR(r) || ER(r)) ? r = parseFloat(r) : !
|
|
29382
|
+
return r != null && (typeof r == "string" && (wR(r) || ER(r)) ? r = parseFloat(r) : !nQ(r) && Ao.test(n) && (r = s7(t, n)), this.setBaseTarget(t, Cr(r) ? r.get() : r)), Cr(r) ? r.get() : r;
|
|
29372
29383
|
}
|
|
29373
29384
|
/**
|
|
29374
29385
|
* Set the base target to later animate back to. This is currently
|
|
@@ -29403,9 +29414,9 @@ let jQ = class {
|
|
|
29403
29414
|
scheduleRenderMicrotask() {
|
|
29404
29415
|
k3.render(this.render);
|
|
29405
29416
|
}
|
|
29406
|
-
}, _7 = class extends
|
|
29417
|
+
}, _7 = class extends UQ {
|
|
29407
29418
|
constructor() {
|
|
29408
|
-
super(...arguments), this.KeyframeResolver =
|
|
29419
|
+
super(...arguments), this.KeyframeResolver = KJ;
|
|
29409
29420
|
}
|
|
29410
29421
|
sortInstanceNodePosition(t, n) {
|
|
29411
29422
|
return t.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
@@ -29433,19 +29444,19 @@ function M7(e, { style: t, vars: n }, r, i) {
|
|
|
29433
29444
|
for (s in n)
|
|
29434
29445
|
a.setProperty(s, n[s]);
|
|
29435
29446
|
}
|
|
29436
|
-
function
|
|
29447
|
+
function qQ(e) {
|
|
29437
29448
|
return window.getComputedStyle(e);
|
|
29438
29449
|
}
|
|
29439
|
-
let
|
|
29450
|
+
let zQ = class extends _7 {
|
|
29440
29451
|
constructor() {
|
|
29441
29452
|
super(...arguments), this.type = "html", this.renderInstance = M7;
|
|
29442
29453
|
}
|
|
29443
29454
|
readValueFromInstance(t, n) {
|
|
29444
29455
|
var r;
|
|
29445
29456
|
if (hc.has(n))
|
|
29446
|
-
return (r = this.projection) != null && r.isProjecting ? m1(n) :
|
|
29457
|
+
return (r = this.projection) != null && r.isProjecting ? m1(n) : sJ(t, n);
|
|
29447
29458
|
{
|
|
29448
|
-
const i =
|
|
29459
|
+
const i = qQ(t), a = (w3(n) ? i.getPropertyValue(n) : i[n]) || 0;
|
|
29449
29460
|
return typeof a == "string" ? a.trim() : a;
|
|
29450
29461
|
}
|
|
29451
29462
|
}
|
|
@@ -29484,12 +29495,12 @@ const F7 = /* @__PURE__ */ new Set([
|
|
|
29484
29495
|
"textLength",
|
|
29485
29496
|
"lengthAdjust"
|
|
29486
29497
|
]);
|
|
29487
|
-
function
|
|
29498
|
+
function WQ(e, t, n, r) {
|
|
29488
29499
|
M7(e, t, void 0, r);
|
|
29489
29500
|
for (const i in t.attrs)
|
|
29490
29501
|
e.setAttribute(F7.has(i) ? i : q3(i), t.attrs[i]);
|
|
29491
29502
|
}
|
|
29492
|
-
let
|
|
29503
|
+
let HQ = class extends _7 {
|
|
29493
29504
|
constructor() {
|
|
29494
29505
|
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Jn;
|
|
29495
29506
|
}
|
|
@@ -29510,13 +29521,13 @@ let zQ = class extends _7 {
|
|
|
29510
29521
|
v7(t, n, this.isSVGTag, r.transformTemplate, r.style);
|
|
29511
29522
|
}
|
|
29512
29523
|
renderInstance(t, n, r, i) {
|
|
29513
|
-
|
|
29524
|
+
WQ(t, n, r, i);
|
|
29514
29525
|
}
|
|
29515
29526
|
mount(t) {
|
|
29516
29527
|
this.isSVGTag = b7(t.tagName), super.mount(t);
|
|
29517
29528
|
}
|
|
29518
29529
|
};
|
|
29519
|
-
const
|
|
29530
|
+
const GQ = (e, t) => j3(e) ? new HQ(t) : new zQ(t, {
|
|
29520
29531
|
allowProjection: e !== Kp
|
|
29521
29532
|
});
|
|
29522
29533
|
function jl(e, t, n) {
|
|
@@ -29524,27 +29535,27 @@ function jl(e, t, n) {
|
|
|
29524
29535
|
return K3(r, t, n !== void 0 ? n : r.custom, e);
|
|
29525
29536
|
}
|
|
29526
29537
|
const S1 = (e) => Array.isArray(e);
|
|
29527
|
-
function
|
|
29538
|
+
function YQ(e, t, n) {
|
|
29528
29539
|
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Fu(n));
|
|
29529
29540
|
}
|
|
29530
|
-
function
|
|
29541
|
+
function ZQ(e) {
|
|
29531
29542
|
return S1(e) ? e[e.length - 1] || 0 : e;
|
|
29532
29543
|
}
|
|
29533
|
-
function
|
|
29544
|
+
function XQ(e, t) {
|
|
29534
29545
|
const n = jl(e, t);
|
|
29535
29546
|
let { transitionEnd: r = {}, transition: i = {}, ...a } = n || {};
|
|
29536
29547
|
a = { ...a, ...r };
|
|
29537
29548
|
for (const s in a) {
|
|
29538
|
-
const u =
|
|
29539
|
-
|
|
29549
|
+
const u = ZQ(a[s]);
|
|
29550
|
+
YQ(e, s, u);
|
|
29540
29551
|
}
|
|
29541
29552
|
}
|
|
29542
|
-
function
|
|
29553
|
+
function JQ(e) {
|
|
29543
29554
|
return !!(Cr(e) && e.add);
|
|
29544
29555
|
}
|
|
29545
29556
|
function D1(e, t) {
|
|
29546
29557
|
const n = e.getValue("willChange");
|
|
29547
|
-
if (
|
|
29558
|
+
if (JQ(n))
|
|
29548
29559
|
return n.add(t);
|
|
29549
29560
|
if (!n && zs.WillChange) {
|
|
29550
29561
|
const r = new zs.WillChange("auto");
|
|
@@ -29554,30 +29565,30 @@ function D1(e, t) {
|
|
|
29554
29565
|
function R7(e) {
|
|
29555
29566
|
return e.props[w7];
|
|
29556
29567
|
}
|
|
29557
|
-
const
|
|
29558
|
-
function
|
|
29559
|
-
const i = e.filter(
|
|
29568
|
+
const QQ = (e) => e !== null;
|
|
29569
|
+
function eee(e, { repeat: t, repeatType: n = "loop" }, r) {
|
|
29570
|
+
const i = e.filter(QQ), a = t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
|
|
29560
29571
|
return i[a];
|
|
29561
29572
|
}
|
|
29562
|
-
const
|
|
29573
|
+
const tee = {
|
|
29563
29574
|
type: "spring",
|
|
29564
29575
|
stiffness: 500,
|
|
29565
29576
|
damping: 25,
|
|
29566
29577
|
restSpeed: 10
|
|
29567
|
-
},
|
|
29578
|
+
}, nee = (e) => ({
|
|
29568
29579
|
type: "spring",
|
|
29569
29580
|
stiffness: 550,
|
|
29570
29581
|
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
|
|
29571
29582
|
restSpeed: 10
|
|
29572
|
-
}),
|
|
29583
|
+
}), ree = {
|
|
29573
29584
|
type: "keyframes",
|
|
29574
29585
|
duration: 0.8
|
|
29575
|
-
},
|
|
29586
|
+
}, iee = {
|
|
29576
29587
|
type: "keyframes",
|
|
29577
29588
|
ease: [0.25, 0.1, 0.35, 1],
|
|
29578
29589
|
duration: 0.3
|
|
29579
|
-
},
|
|
29580
|
-
function
|
|
29590
|
+
}, aee = (e, { keyframes: t }) => t.length > 2 ? ree : hc.has(e) ? e.startsWith("scale") ? nee(t[1]) : tee : iee;
|
|
29591
|
+
function see({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: a, repeatType: s, repeatDelay: u, from: f, elapsed: d, ...h }) {
|
|
29581
29592
|
return !!Object.keys(h).length;
|
|
29582
29593
|
}
|
|
29583
29594
|
const z3 = (e, t, n, r = {}, i, a) => (s) => {
|
|
@@ -29600,10 +29611,10 @@ const z3 = (e, t, n, r = {}, i, a) => (s) => {
|
|
|
29600
29611
|
motionValue: t,
|
|
29601
29612
|
element: a ? void 0 : i
|
|
29602
29613
|
};
|
|
29603
|
-
|
|
29614
|
+
see(u) || Object.assign(h, aee(e, h)), h.duration && (h.duration = /* @__PURE__ */ wa(h.duration)), h.repeatDelay && (h.repeatDelay = /* @__PURE__ */ wa(h.repeatDelay)), h.from !== void 0 && (h.keyframes[0] = h.from);
|
|
29604
29615
|
let m = !1;
|
|
29605
29616
|
if ((h.type === !1 || h.duration === 0 && !h.repeatDelay) && ($1(h), h.delay === 0 && (m = !0)), (zs.instantAnimations || zs.skipAnimations) && (m = !0, $1(h), h.delay = 0), h.allowFlatten = !u.type && !u.ease, m && !a && t.get() !== void 0) {
|
|
29606
|
-
const g =
|
|
29617
|
+
const g = eee(h.keyframes, u);
|
|
29607
29618
|
if (g !== void 0) {
|
|
29608
29619
|
Tn.update(() => {
|
|
29609
29620
|
h.onUpdate(g), h.onComplete();
|
|
@@ -29611,9 +29622,9 @@ const z3 = (e, t, n, r = {}, i, a) => (s) => {
|
|
|
29611
29622
|
return;
|
|
29612
29623
|
}
|
|
29613
29624
|
}
|
|
29614
|
-
return u.isSync ? new _3(h) : new
|
|
29625
|
+
return u.isSync ? new _3(h) : new PJ(h);
|
|
29615
29626
|
};
|
|
29616
|
-
function
|
|
29627
|
+
function oee({ protectedKeys: e, needsAnimating: t }, n) {
|
|
29617
29628
|
const r = e.hasOwnProperty(n) && t[n] !== !0;
|
|
29618
29629
|
return t[n] = !1, r;
|
|
29619
29630
|
}
|
|
@@ -29623,7 +29634,7 @@ function k7(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
29623
29634
|
const f = [], d = i && e.animationState && e.animationState.getState()[i];
|
|
29624
29635
|
for (const h in u) {
|
|
29625
29636
|
const m = e.getValue(h, e.latestValues[h] ?? null), g = u[h];
|
|
29626
|
-
if (g === void 0 || d &&
|
|
29637
|
+
if (g === void 0 || d && oee(d, h))
|
|
29627
29638
|
continue;
|
|
29628
29639
|
const b = {
|
|
29629
29640
|
delay: n,
|
|
@@ -29645,7 +29656,7 @@ function k7(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
29645
29656
|
}
|
|
29646
29657
|
return s && Promise.all(f).then(() => {
|
|
29647
29658
|
Tn.update(() => {
|
|
29648
|
-
s &&
|
|
29659
|
+
s && XQ(e, s);
|
|
29649
29660
|
});
|
|
29650
29661
|
}), f;
|
|
29651
29662
|
}
|
|
@@ -29660,7 +29671,7 @@ function A1(e, t, n = {}) {
|
|
|
29660
29671
|
n.transitionOverride && (i = n.transitionOverride);
|
|
29661
29672
|
const a = r ? () => Promise.all(k7(e, r, n)) : () => Promise.resolve(), s = e.variantChildren && e.variantChildren.size ? (d = 0) => {
|
|
29662
29673
|
const { delayChildren: h = 0, staggerChildren: m, staggerDirection: g } = i;
|
|
29663
|
-
return
|
|
29674
|
+
return uee(e, t, d, h, m, g, n);
|
|
29664
29675
|
} : () => Promise.resolve(), { when: u } = i;
|
|
29665
29676
|
if (u) {
|
|
29666
29677
|
const [d, h] = u === "beforeChildren" ? [a, s] : [s, a];
|
|
@@ -29668,7 +29679,7 @@ function A1(e, t, n = {}) {
|
|
|
29668
29679
|
} else
|
|
29669
29680
|
return Promise.all([a(), s(n.delay)]);
|
|
29670
29681
|
}
|
|
29671
|
-
function
|
|
29682
|
+
function uee(e, t, n = 0, r = 0, i = 0, a = 1, s) {
|
|
29672
29683
|
const u = [];
|
|
29673
29684
|
for (const f of e.variantChildren)
|
|
29674
29685
|
f.notify("AnimationStart", t), u.push(A1(f, t, {
|
|
@@ -29677,7 +29688,7 @@ function see(e, t, n = 0, r = 0, i = 0, a = 1, s) {
|
|
|
29677
29688
|
}).then(() => f.notify("AnimationComplete", t)));
|
|
29678
29689
|
return Promise.all(u);
|
|
29679
29690
|
}
|
|
29680
|
-
function
|
|
29691
|
+
function lee(e, t, n = {}) {
|
|
29681
29692
|
e.notify("AnimationStart", t);
|
|
29682
29693
|
let r;
|
|
29683
29694
|
if (Array.isArray(t)) {
|
|
@@ -29704,7 +29715,7 @@ function I7(e, t) {
|
|
|
29704
29715
|
return !1;
|
|
29705
29716
|
return !0;
|
|
29706
29717
|
}
|
|
29707
|
-
const
|
|
29718
|
+
const cee = V3.length;
|
|
29708
29719
|
function L7(e) {
|
|
29709
29720
|
if (!e)
|
|
29710
29721
|
return;
|
|
@@ -29713,18 +29724,18 @@ function L7(e) {
|
|
|
29713
29724
|
return e.props.initial !== void 0 && (n.initial = e.props.initial), n;
|
|
29714
29725
|
}
|
|
29715
29726
|
const t = {};
|
|
29716
|
-
for (let n = 0; n <
|
|
29727
|
+
for (let n = 0; n < cee; n++) {
|
|
29717
29728
|
const r = V3[n], i = e.props[r];
|
|
29718
29729
|
(Yf(i) || i === !1) && (t[r] = i);
|
|
29719
29730
|
}
|
|
29720
29731
|
return t;
|
|
29721
29732
|
}
|
|
29722
|
-
const
|
|
29723
|
-
function
|
|
29724
|
-
return (t) => Promise.all(t.map(({ animation: n, options: r }) =>
|
|
29733
|
+
const fee = [...L3].reverse(), dee = L3.length;
|
|
29734
|
+
function hee(e) {
|
|
29735
|
+
return (t) => Promise.all(t.map(({ animation: n, options: r }) => lee(e, n, r)));
|
|
29725
29736
|
}
|
|
29726
|
-
function
|
|
29727
|
-
let t =
|
|
29737
|
+
function pee(e) {
|
|
29738
|
+
let t = hee(e), n = uA(), r = !0;
|
|
29728
29739
|
const i = (f) => (d, h) => {
|
|
29729
29740
|
var g;
|
|
29730
29741
|
const m = jl(e, h, f === "exit" ? (g = e.presenceContext) == null ? void 0 : g.custom : void 0);
|
|
@@ -29740,8 +29751,8 @@ function dee(e) {
|
|
|
29740
29751
|
function s(f) {
|
|
29741
29752
|
const { props: d } = e, h = L7(e.parent) || {}, m = [], g = /* @__PURE__ */ new Set();
|
|
29742
29753
|
let b = {}, w = 1 / 0;
|
|
29743
|
-
for (let A = 0; A <
|
|
29744
|
-
const C =
|
|
29754
|
+
for (let A = 0; A < dee; A++) {
|
|
29755
|
+
const C = fee[A], E = n[C], S = d[C] !== void 0 ? d[C] : h[C], R = Yf(S), _ = C === f ? E.isActive : null;
|
|
29745
29756
|
_ === !1 && (w = A);
|
|
29746
29757
|
let F = S === h[C] && S !== d[C] && R;
|
|
29747
29758
|
if (F && r && e.manuallyAnimateOnMount && (F = !1), E.protectedKeys = { ...b }, // If it isn't active and hasn't *just* been set as inactive
|
|
@@ -29749,7 +29760,7 @@ function dee(e) {
|
|
|
29749
29760
|
!S && !E.prevProp || // Or if the prop doesn't define an animation
|
|
29750
29761
|
Pm(S) || typeof S == "boolean")
|
|
29751
29762
|
continue;
|
|
29752
|
-
const q =
|
|
29763
|
+
const q = mee(E.prevProp, S);
|
|
29753
29764
|
let re = q || // If we're making this variant active, we want to always make it active
|
|
29754
29765
|
C === f && E.isActive && !F && R || // If we removed a higher-priority variant (i is in reverse order)
|
|
29755
29766
|
A > w && R, pe = !1;
|
|
@@ -29821,11 +29832,11 @@ function dee(e) {
|
|
|
29821
29832
|
setAnimateFunction: a,
|
|
29822
29833
|
getState: () => n,
|
|
29823
29834
|
reset: () => {
|
|
29824
|
-
n =
|
|
29835
|
+
n = uA(), r = !0;
|
|
29825
29836
|
}
|
|
29826
29837
|
};
|
|
29827
29838
|
}
|
|
29828
|
-
function
|
|
29839
|
+
function mee(e, t) {
|
|
29829
29840
|
return typeof t == "string" ? t !== e : Array.isArray(t) ? !I7(t, e) : !1;
|
|
29830
29841
|
}
|
|
29831
29842
|
function su(e = !1) {
|
|
@@ -29836,7 +29847,7 @@ function su(e = !1) {
|
|
|
29836
29847
|
prevResolvedValues: {}
|
|
29837
29848
|
};
|
|
29838
29849
|
}
|
|
29839
|
-
function
|
|
29850
|
+
function uA() {
|
|
29840
29851
|
return {
|
|
29841
29852
|
animate: su(!0),
|
|
29842
29853
|
whileInView: su(),
|
|
@@ -29853,14 +29864,14 @@ let Fo = class {
|
|
|
29853
29864
|
}
|
|
29854
29865
|
update() {
|
|
29855
29866
|
}
|
|
29856
|
-
},
|
|
29867
|
+
}, gee = class extends Fo {
|
|
29857
29868
|
/**
|
|
29858
29869
|
* We dynamically generate the AnimationState manager as it contains a reference
|
|
29859
29870
|
* to the underlying animation library. We only want to load that if we load this,
|
|
29860
29871
|
* so people can optionally code split it out using the `m` component.
|
|
29861
29872
|
*/
|
|
29862
29873
|
constructor(t) {
|
|
29863
|
-
super(t), t.animationState || (t.animationState =
|
|
29874
|
+
super(t), t.animationState || (t.animationState = pee(t));
|
|
29864
29875
|
}
|
|
29865
29876
|
updateAnimationControlsSubscription() {
|
|
29866
29877
|
const { animate: t } = this.node.getProps();
|
|
@@ -29880,9 +29891,9 @@ let Fo = class {
|
|
|
29880
29891
|
var t;
|
|
29881
29892
|
this.node.animationState.reset(), (t = this.unmountControls) == null || t.call(this);
|
|
29882
29893
|
}
|
|
29883
|
-
},
|
|
29894
|
+
}, vee = 0, yee = class extends Fo {
|
|
29884
29895
|
constructor() {
|
|
29885
|
-
super(...arguments), this.id =
|
|
29896
|
+
super(...arguments), this.id = vee++;
|
|
29886
29897
|
}
|
|
29887
29898
|
update() {
|
|
29888
29899
|
if (!this.node.presenceContext)
|
|
@@ -29902,12 +29913,12 @@ let Fo = class {
|
|
|
29902
29913
|
unmount() {
|
|
29903
29914
|
}
|
|
29904
29915
|
};
|
|
29905
|
-
const
|
|
29916
|
+
const bee = {
|
|
29906
29917
|
animation: {
|
|
29907
|
-
Feature:
|
|
29918
|
+
Feature: gee
|
|
29908
29919
|
},
|
|
29909
29920
|
exit: {
|
|
29910
|
-
Feature:
|
|
29921
|
+
Feature: yee
|
|
29911
29922
|
}
|
|
29912
29923
|
};
|
|
29913
29924
|
function Xf(e, t, n, r = { passive: !0 }) {
|
|
@@ -29921,41 +29932,41 @@ function wd(e) {
|
|
|
29921
29932
|
}
|
|
29922
29933
|
};
|
|
29923
29934
|
}
|
|
29924
|
-
const
|
|
29935
|
+
const $ee = (e) => (t) => O3(t) && e(t, wd(t));
|
|
29925
29936
|
function Mf(e, t, n, r) {
|
|
29926
|
-
return Xf(e, t,
|
|
29937
|
+
return Xf(e, t, $ee(n), r);
|
|
29927
29938
|
}
|
|
29928
|
-
const V7 = 1e-4,
|
|
29939
|
+
const V7 = 1e-4, xee = 1 - V7, wee = 1 + V7, B7 = 0.01, Cee = 0 - B7, Eee = 0 + B7;
|
|
29929
29940
|
function qr(e) {
|
|
29930
29941
|
return e.max - e.min;
|
|
29931
29942
|
}
|
|
29932
|
-
function
|
|
29943
|
+
function See(e, t, n) {
|
|
29933
29944
|
return Math.abs(e - t) <= n;
|
|
29934
29945
|
}
|
|
29935
|
-
function
|
|
29936
|
-
e.origin = r, e.originPoint = Rn(t.min, t.max, e.origin), e.scale = qr(n) / qr(t), e.translate = Rn(n.min, n.max, e.origin) - e.originPoint, (e.scale >=
|
|
29946
|
+
function lA(e, t, n, r = 0.5) {
|
|
29947
|
+
e.origin = r, e.originPoint = Rn(t.min, t.max, e.origin), e.scale = qr(n) / qr(t), e.translate = Rn(n.min, n.max, e.origin) - e.originPoint, (e.scale >= xee && e.scale <= wee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Cee && e.translate <= Eee || isNaN(e.translate)) && (e.translate = 0);
|
|
29937
29948
|
}
|
|
29938
29949
|
function Ff(e, t, n, r) {
|
|
29939
|
-
|
|
29950
|
+
lA(e.x, t.x, n.x, r ? r.originX : void 0), lA(e.y, t.y, n.y, r ? r.originY : void 0);
|
|
29940
29951
|
}
|
|
29941
|
-
function
|
|
29952
|
+
function cA(e, t, n) {
|
|
29942
29953
|
e.min = n.min + t.min, e.max = e.min + qr(t);
|
|
29943
29954
|
}
|
|
29944
|
-
function
|
|
29945
|
-
|
|
29955
|
+
function Dee(e, t, n) {
|
|
29956
|
+
cA(e.x, t.x, n.x), cA(e.y, t.y, n.y);
|
|
29946
29957
|
}
|
|
29947
|
-
function
|
|
29958
|
+
function fA(e, t, n) {
|
|
29948
29959
|
e.min = t.min - n.min, e.max = e.min + qr(t);
|
|
29949
29960
|
}
|
|
29950
29961
|
function Rf(e, t, n) {
|
|
29951
|
-
|
|
29962
|
+
fA(e.x, t.x, n.x), fA(e.y, t.y, n.y);
|
|
29952
29963
|
}
|
|
29953
29964
|
function zi(e) {
|
|
29954
29965
|
return [e("x"), e("y")];
|
|
29955
29966
|
}
|
|
29956
|
-
const N7 = ({ current: e }) => e ? e.ownerDocument.defaultView : null,
|
|
29957
|
-
function
|
|
29958
|
-
const n =
|
|
29967
|
+
const N7 = ({ current: e }) => e ? e.ownerDocument.defaultView : null, dA = (e, t) => Math.abs(e - t);
|
|
29968
|
+
function Aee(e, t) {
|
|
29969
|
+
const n = dA(e.x, t.x), r = dA(e.y, t.y);
|
|
29959
29970
|
return Math.sqrt(n ** 2 + r ** 2);
|
|
29960
29971
|
}
|
|
29961
29972
|
class j7 {
|
|
@@ -29963,7 +29974,7 @@ class j7 {
|
|
|
29963
29974
|
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
|
|
29964
29975
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
29965
29976
|
return;
|
|
29966
|
-
const g =
|
|
29977
|
+
const g = K0(this.lastMoveEventInfo, this.history), b = this.startEvent !== null, w = Aee(g.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
29967
29978
|
if (!b && !w)
|
|
29968
29979
|
return;
|
|
29969
29980
|
const { point: x } = g, { timestamp: A } = wr;
|
|
@@ -29971,21 +29982,21 @@ class j7 {
|
|
|
29971
29982
|
const { onStart: C, onMove: E } = this.handlers;
|
|
29972
29983
|
b || (C && C(this.lastMoveEvent, g), this.startEvent = this.lastMoveEvent), E && E(this.lastMoveEvent, g);
|
|
29973
29984
|
}, this.handlePointerMove = (g, b) => {
|
|
29974
|
-
this.lastMoveEvent = g, this.lastMoveEventInfo =
|
|
29985
|
+
this.lastMoveEvent = g, this.lastMoveEventInfo = j0(b, this.transformPagePoint), Tn.update(this.updatePoint, !0);
|
|
29975
29986
|
}, this.handlePointerUp = (g, b) => {
|
|
29976
29987
|
this.end();
|
|
29977
29988
|
const { onEnd: w, onSessionEnd: x, resumeAnimation: A } = this.handlers;
|
|
29978
29989
|
if (this.dragSnapToOrigin && A && A(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
29979
29990
|
return;
|
|
29980
|
-
const C =
|
|
29991
|
+
const C = K0(g.type === "pointercancel" ? this.lastMoveEventInfo : j0(b, this.transformPagePoint), this.history);
|
|
29981
29992
|
this.startEvent && w && w(g, C), x && x(g, C);
|
|
29982
29993
|
}, !O3(t))
|
|
29983
29994
|
return;
|
|
29984
29995
|
this.dragSnapToOrigin = a, this.handlers = n, this.transformPagePoint = r, this.distanceThreshold = s, this.contextWindow = i || window;
|
|
29985
|
-
const u = wd(t), f =
|
|
29996
|
+
const u = wd(t), f = j0(u, this.transformPagePoint), { point: d } = f, { timestamp: h } = wr;
|
|
29986
29997
|
this.history = [{ ...d, timestamp: h }];
|
|
29987
29998
|
const { onSessionStart: m } = n;
|
|
29988
|
-
m && m(t,
|
|
29999
|
+
m && m(t, K0(f, this.history)), this.removeListeners = bd(Mf(this.contextWindow, "pointermove", this.handlePointerMove), Mf(this.contextWindow, "pointerup", this.handlePointerUp), Mf(this.contextWindow, "pointercancel", this.handlePointerUp));
|
|
29989
30000
|
}
|
|
29990
30001
|
updateHandlers(t) {
|
|
29991
30002
|
this.handlers = t;
|
|
@@ -29994,27 +30005,27 @@ class j7 {
|
|
|
29994
30005
|
this.removeListeners && this.removeListeners(), Ws(this.updatePoint);
|
|
29995
30006
|
}
|
|
29996
30007
|
}
|
|
29997
|
-
function
|
|
30008
|
+
function j0(e, t) {
|
|
29998
30009
|
return t ? { point: t(e.point) } : e;
|
|
29999
30010
|
}
|
|
30000
|
-
function
|
|
30011
|
+
function hA(e, t) {
|
|
30001
30012
|
return { x: e.x - t.x, y: e.y - t.y };
|
|
30002
30013
|
}
|
|
30003
|
-
function
|
|
30014
|
+
function K0({ point: e }, t) {
|
|
30004
30015
|
return {
|
|
30005
30016
|
point: e,
|
|
30006
|
-
delta:
|
|
30007
|
-
offset:
|
|
30008
|
-
velocity:
|
|
30017
|
+
delta: hA(e, K7(t)),
|
|
30018
|
+
offset: hA(e, Tee(t)),
|
|
30019
|
+
velocity: Pee(t, 0.1)
|
|
30009
30020
|
};
|
|
30010
30021
|
}
|
|
30011
|
-
function
|
|
30022
|
+
function Tee(e) {
|
|
30012
30023
|
return e[0];
|
|
30013
30024
|
}
|
|
30014
30025
|
function K7(e) {
|
|
30015
30026
|
return e[e.length - 1];
|
|
30016
30027
|
}
|
|
30017
|
-
function
|
|
30028
|
+
function Pee(e, t) {
|
|
30018
30029
|
if (e.length < 2)
|
|
30019
30030
|
return { x: 0, y: 0 };
|
|
30020
30031
|
let n = e.length - 1, r = null;
|
|
@@ -30032,58 +30043,58 @@ function Aee(e, t) {
|
|
|
30032
30043
|
};
|
|
30033
30044
|
return s.x === 1 / 0 && (s.x = 0), s.y === 1 / 0 && (s.y = 0), s;
|
|
30034
30045
|
}
|
|
30035
|
-
function
|
|
30046
|
+
function _ee(e, { min: t, max: n }, r) {
|
|
30036
30047
|
return t !== void 0 && e < t ? e = r ? Rn(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Rn(n, e, r.max) : Math.min(e, n)), e;
|
|
30037
30048
|
}
|
|
30038
|
-
function
|
|
30049
|
+
function pA(e, t, n) {
|
|
30039
30050
|
return {
|
|
30040
30051
|
min: t !== void 0 ? e.min + t : void 0,
|
|
30041
30052
|
max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
|
|
30042
30053
|
};
|
|
30043
30054
|
}
|
|
30044
|
-
function
|
|
30055
|
+
function Mee(e, { top: t, left: n, bottom: r, right: i }) {
|
|
30045
30056
|
return {
|
|
30046
|
-
x:
|
|
30047
|
-
y:
|
|
30057
|
+
x: pA(e.x, n, i),
|
|
30058
|
+
y: pA(e.y, t, r)
|
|
30048
30059
|
};
|
|
30049
30060
|
}
|
|
30050
|
-
function
|
|
30061
|
+
function mA(e, t) {
|
|
30051
30062
|
let n = t.min - e.min, r = t.max - e.max;
|
|
30052
30063
|
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
|
|
30053
30064
|
}
|
|
30054
|
-
function
|
|
30065
|
+
function Fee(e, t) {
|
|
30055
30066
|
return {
|
|
30056
|
-
x:
|
|
30057
|
-
y:
|
|
30067
|
+
x: mA(e.x, t.x),
|
|
30068
|
+
y: mA(e.y, t.y)
|
|
30058
30069
|
};
|
|
30059
30070
|
}
|
|
30060
|
-
function
|
|
30071
|
+
function Ree(e, t) {
|
|
30061
30072
|
let n = 0.5;
|
|
30062
30073
|
const r = qr(e), i = qr(t);
|
|
30063
30074
|
return i > r ? n = /* @__PURE__ */ Wf(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Wf(e.min, e.max - i, t.min)), qs(0, 1, n);
|
|
30064
30075
|
}
|
|
30065
|
-
function
|
|
30076
|
+
function kee(e, t) {
|
|
30066
30077
|
const n = {};
|
|
30067
30078
|
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
|
|
30068
30079
|
}
|
|
30069
30080
|
const T1 = 0.35;
|
|
30070
|
-
function
|
|
30081
|
+
function Oee(e = T1) {
|
|
30071
30082
|
return e === !1 ? e = 0 : e === !0 && (e = T1), {
|
|
30072
|
-
x:
|
|
30073
|
-
y:
|
|
30083
|
+
x: gA(e, "left", "right"),
|
|
30084
|
+
y: gA(e, "top", "bottom")
|
|
30074
30085
|
};
|
|
30075
30086
|
}
|
|
30076
|
-
function
|
|
30087
|
+
function gA(e, t, n) {
|
|
30077
30088
|
return {
|
|
30078
|
-
min:
|
|
30079
|
-
max:
|
|
30089
|
+
min: vA(e, t),
|
|
30090
|
+
max: vA(e, n)
|
|
30080
30091
|
};
|
|
30081
30092
|
}
|
|
30082
|
-
function
|
|
30093
|
+
function vA(e, t) {
|
|
30083
30094
|
return typeof e == "number" ? e : e[t] || 0;
|
|
30084
30095
|
}
|
|
30085
|
-
const
|
|
30086
|
-
class
|
|
30096
|
+
const Iee = /* @__PURE__ */ new WeakMap();
|
|
30097
|
+
class Lee {
|
|
30087
30098
|
constructor(t) {
|
|
30088
30099
|
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Jn(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = t;
|
|
30089
30100
|
}
|
|
@@ -30096,7 +30107,7 @@ class Oee {
|
|
|
30096
30107
|
g ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(wd(m).point);
|
|
30097
30108
|
}, s = (m, g) => {
|
|
30098
30109
|
const { drag: b, dragPropagation: w, onDragStart: x } = this.getProps();
|
|
30099
|
-
if (b && !w && (this.openDragLock && this.openDragLock(), this.openDragLock =
|
|
30110
|
+
if (b && !w && (this.openDragLock && this.openDragLock(), this.openDragLock = HJ(b), !this.openDragLock))
|
|
30100
30111
|
return;
|
|
30101
30112
|
this.latestPointerEvent = m, this.latestPanInfo = g, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), zi((C) => {
|
|
30102
30113
|
let E = this.getAxisMotionValue(C).get() || 0;
|
|
@@ -30118,7 +30129,7 @@ class Oee {
|
|
|
30118
30129
|
return;
|
|
30119
30130
|
const { offset: C } = g;
|
|
30120
30131
|
if (w && this.currentDirection === null) {
|
|
30121
|
-
this.currentDirection =
|
|
30132
|
+
this.currentDirection = Vee(C), this.currentDirection !== null && x && x(this.currentDirection);
|
|
30122
30133
|
return;
|
|
30123
30134
|
}
|
|
30124
30135
|
this.updateAxis("x", g.point, C), this.updateAxis("y", g.point, C), this.visualElement.render(), A && A(m, g);
|
|
@@ -30169,13 +30180,13 @@ class Oee {
|
|
|
30169
30180
|
return;
|
|
30170
30181
|
const a = this.getAxisMotionValue(t);
|
|
30171
30182
|
let s = this.originPoint[t] + r[t];
|
|
30172
|
-
this.constraints && this.constraints[t] && (s =
|
|
30183
|
+
this.constraints && this.constraints[t] && (s = _ee(s, this.constraints[t], this.elastic[t])), a.set(s);
|
|
30173
30184
|
}
|
|
30174
30185
|
resolveConstraints() {
|
|
30175
30186
|
var a;
|
|
30176
30187
|
const { dragConstraints: t, dragElastic: n } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (a = this.visualElement.projection) == null ? void 0 : a.layout, i = this.constraints;
|
|
30177
|
-
t && Dl(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? this.constraints =
|
|
30178
|
-
this.constraints !== !1 && this.getAxisMotionValue(s) && (this.constraints[s] =
|
|
30188
|
+
t && Dl(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? this.constraints = Mee(r.layoutBox, t) : this.constraints = !1, this.elastic = Oee(n), i !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && zi((s) => {
|
|
30189
|
+
this.constraints !== !1 && this.getAxisMotionValue(s) && (this.constraints[s] = kee(r.layoutBox[s], this.constraints[s]));
|
|
30179
30190
|
});
|
|
30180
30191
|
}
|
|
30181
30192
|
resolveRefConstraints() {
|
|
@@ -30187,10 +30198,10 @@ class Oee {
|
|
|
30187
30198
|
const { projection: i } = this.visualElement;
|
|
30188
30199
|
if (!i || !i.layout)
|
|
30189
30200
|
return !1;
|
|
30190
|
-
const a =
|
|
30191
|
-
let s =
|
|
30201
|
+
const a = BQ(r, i.root, this.visualElement.getTransformPagePoint());
|
|
30202
|
+
let s = Fee(i.layout.layoutBox, a);
|
|
30192
30203
|
if (n) {
|
|
30193
|
-
const u = n(
|
|
30204
|
+
const u = n(IQ(s));
|
|
30194
30205
|
this.hasMutatedConstraints = !!u, u && (s = S7(u));
|
|
30195
30206
|
}
|
|
30196
30207
|
return s;
|
|
@@ -30272,7 +30283,7 @@ class Oee {
|
|
|
30272
30283
|
const u = this.getAxisMotionValue(s);
|
|
30273
30284
|
if (u && this.constraints !== !1) {
|
|
30274
30285
|
const f = u.get();
|
|
30275
|
-
i[s] =
|
|
30286
|
+
i[s] = Ree({ min: f, max: f }, this.constraints[s]);
|
|
30276
30287
|
}
|
|
30277
30288
|
});
|
|
30278
30289
|
const { transformTemplate: a } = this.visualElement.getProps();
|
|
@@ -30286,7 +30297,7 @@ class Oee {
|
|
|
30286
30297
|
addListeners() {
|
|
30287
30298
|
if (!this.visualElement.current)
|
|
30288
30299
|
return;
|
|
30289
|
-
|
|
30300
|
+
Iee.set(this.visualElement, this);
|
|
30290
30301
|
const t = this.visualElement.current, n = Mf(t, "pointerdown", (f) => {
|
|
30291
30302
|
const { drag: d, dragListener: h = !0 } = this.getProps();
|
|
30292
30303
|
d && h && this.start(f);
|
|
@@ -30321,13 +30332,13 @@ class Oee {
|
|
|
30321
30332
|
function Eh(e, t, n) {
|
|
30322
30333
|
return (t === !0 || t === e) && (n === null || n === e);
|
|
30323
30334
|
}
|
|
30324
|
-
function
|
|
30335
|
+
function Vee(e, t = 10) {
|
|
30325
30336
|
let n = null;
|
|
30326
30337
|
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
|
|
30327
30338
|
}
|
|
30328
|
-
class
|
|
30339
|
+
class Bee extends Fo {
|
|
30329
30340
|
constructor(t) {
|
|
30330
|
-
super(t), this.removeGroupControls = ea, this.removeListeners = ea, this.controls = new
|
|
30341
|
+
super(t), this.removeGroupControls = ea, this.removeListeners = ea, this.controls = new Lee(t);
|
|
30331
30342
|
}
|
|
30332
30343
|
mount() {
|
|
30333
30344
|
const { dragControls: t } = this.node.getProps();
|
|
@@ -30337,10 +30348,10 @@ class Lee extends Fo {
|
|
|
30337
30348
|
this.removeGroupControls(), this.removeListeners();
|
|
30338
30349
|
}
|
|
30339
30350
|
}
|
|
30340
|
-
const
|
|
30351
|
+
const yA = (e) => (t, n) => {
|
|
30341
30352
|
e && Tn.postRender(() => e(t, n));
|
|
30342
30353
|
};
|
|
30343
|
-
class
|
|
30354
|
+
class Nee extends Fo {
|
|
30344
30355
|
constructor() {
|
|
30345
30356
|
super(...arguments), this.removePointerDownListener = ea;
|
|
30346
30357
|
}
|
|
@@ -30353,8 +30364,8 @@ class Vee extends Fo {
|
|
|
30353
30364
|
createPanHandlers() {
|
|
30354
30365
|
const { onPanSessionStart: t, onPanStart: n, onPan: r, onPanEnd: i } = this.node.getProps();
|
|
30355
30366
|
return {
|
|
30356
|
-
onSessionStart:
|
|
30357
|
-
onStart:
|
|
30367
|
+
onSessionStart: yA(t),
|
|
30368
|
+
onStart: yA(n),
|
|
30358
30369
|
onMove: r,
|
|
30359
30370
|
onEnd: (a, s) => {
|
|
30360
30371
|
delete this.session, i && Tn.postRender(() => i(a, s));
|
|
@@ -30383,7 +30394,7 @@ const Hh = {
|
|
|
30383
30394
|
*/
|
|
30384
30395
|
hasEverUpdated: !1
|
|
30385
30396
|
};
|
|
30386
|
-
function
|
|
30397
|
+
function bA(e, t) {
|
|
30387
30398
|
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
|
|
30388
30399
|
}
|
|
30389
30400
|
const of = {
|
|
@@ -30395,10 +30406,10 @@ const of = {
|
|
|
30395
30406
|
e = parseFloat(e);
|
|
30396
30407
|
else
|
|
30397
30408
|
return e;
|
|
30398
|
-
const n =
|
|
30409
|
+
const n = bA(e, t.target.x), r = bA(e, t.target.y);
|
|
30399
30410
|
return `${n}% ${r}%`;
|
|
30400
30411
|
}
|
|
30401
|
-
},
|
|
30412
|
+
}, jee = {
|
|
30402
30413
|
correct: (e, { treeScale: t, projectionDelta: n }) => {
|
|
30403
30414
|
const r = e, i = Ao.parse(e);
|
|
30404
30415
|
if (i.length > 5)
|
|
@@ -30409,8 +30420,8 @@ const of = {
|
|
|
30409
30420
|
return typeof i[2 + s] == "number" && (i[2 + s] /= d), typeof i[3 + s] == "number" && (i[3 + s] /= d), a(i);
|
|
30410
30421
|
}
|
|
30411
30422
|
};
|
|
30412
|
-
let
|
|
30413
|
-
class
|
|
30423
|
+
let U0 = !1;
|
|
30424
|
+
class Kee extends $2 {
|
|
30414
30425
|
/**
|
|
30415
30426
|
* This only mounts projection nodes for components that
|
|
30416
30427
|
* need measuring, we might want to do it for all components
|
|
@@ -30418,7 +30429,7 @@ class Nee extends $2 {
|
|
|
30418
30429
|
*/
|
|
30419
30430
|
componentDidMount() {
|
|
30420
30431
|
const { visualElement: t, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: a } = t;
|
|
30421
|
-
|
|
30432
|
+
cQ(Uee), a && (n.group && n.group.add(a), r && r.register && i && r.register(a), U0 && a.root.didUpdate(), a.addEventListener("animationComplete", () => {
|
|
30422
30433
|
this.safeToRemove();
|
|
30423
30434
|
}), a.setOptions({
|
|
30424
30435
|
...a.options,
|
|
@@ -30427,7 +30438,7 @@ class Nee extends $2 {
|
|
|
30427
30438
|
}
|
|
30428
30439
|
getSnapshotBeforeUpdate(t) {
|
|
30429
30440
|
const { layoutDependency: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: s } = r;
|
|
30430
|
-
return s && (s.isPresent = a,
|
|
30441
|
+
return s && (s.isPresent = a, U0 = !0, i || t.layoutDependency !== n || n === void 0 || t.isPresent !== a ? s.willUpdate() : this.safeToRemove(), t.isPresent !== a && (a ? s.promote() : s.relegate() || Tn.postRender(() => {
|
|
30431
30442
|
const u = s.getStack();
|
|
30432
30443
|
(!u || !u.members.length) && this.safeToRemove();
|
|
30433
30444
|
}))), null;
|
|
@@ -30440,7 +30451,7 @@ class Nee extends $2 {
|
|
|
30440
30451
|
}
|
|
30441
30452
|
componentWillUnmount() {
|
|
30442
30453
|
const { visualElement: t, layoutGroup: n, switchLayoutGroup: r } = this.props, { projection: i } = t;
|
|
30443
|
-
|
|
30454
|
+
U0 = !0, i && (i.scheduleCheckAfterUnmount(), n && n.group && n.group.remove(i), r && r.deregister && r.deregister(i));
|
|
30444
30455
|
}
|
|
30445
30456
|
safeToRemove() {
|
|
30446
30457
|
const { safeToRemove: t } = this.props;
|
|
@@ -30451,10 +30462,10 @@ class Nee extends $2 {
|
|
|
30451
30462
|
}
|
|
30452
30463
|
}
|
|
30453
30464
|
function U7(e) {
|
|
30454
|
-
const [t, n] =
|
|
30455
|
-
return Eo(
|
|
30465
|
+
const [t, n] = rQ(), r = Ut($R);
|
|
30466
|
+
return Eo(Kee, { ...e, layoutGroup: r, switchLayoutGroup: Ut(C7), isPresent: t, safeToRemove: n });
|
|
30456
30467
|
}
|
|
30457
|
-
const
|
|
30468
|
+
const Uee = {
|
|
30458
30469
|
borderRadius: {
|
|
30459
30470
|
...of,
|
|
30460
30471
|
applyTo: [
|
|
@@ -30468,14 +30479,14 @@ const jee = {
|
|
|
30468
30479
|
borderTopRightRadius: of,
|
|
30469
30480
|
borderBottomLeftRadius: of,
|
|
30470
30481
|
borderBottomRightRadius: of,
|
|
30471
|
-
boxShadow:
|
|
30482
|
+
boxShadow: jee
|
|
30472
30483
|
};
|
|
30473
|
-
function
|
|
30484
|
+
function qee(e, t, n) {
|
|
30474
30485
|
const r = Cr(e) ? e : Fu(e);
|
|
30475
30486
|
return r.start(z3("", r, t, n)), r.animation;
|
|
30476
30487
|
}
|
|
30477
|
-
const
|
|
30478
|
-
class
|
|
30488
|
+
const zee = (e, t) => e.depth - t.depth;
|
|
30489
|
+
class Wee {
|
|
30479
30490
|
constructor() {
|
|
30480
30491
|
this.children = [], this.isDirty = !1;
|
|
30481
30492
|
}
|
|
@@ -30486,85 +30497,85 @@ class qee {
|
|
|
30486
30497
|
g3(this.children, t), this.isDirty = !0;
|
|
30487
30498
|
}
|
|
30488
30499
|
forEach(t) {
|
|
30489
|
-
this.isDirty && this.children.sort(
|
|
30500
|
+
this.isDirty && this.children.sort(zee), this.isDirty = !1, this.children.forEach(t);
|
|
30490
30501
|
}
|
|
30491
30502
|
}
|
|
30492
|
-
function
|
|
30503
|
+
function Hee(e, t) {
|
|
30493
30504
|
const n = ci.now(), r = ({ timestamp: i }) => {
|
|
30494
30505
|
const a = i - n;
|
|
30495
30506
|
a >= t && (Ws(r), e(a - t));
|
|
30496
30507
|
};
|
|
30497
30508
|
return Tn.setup(r, !0), () => Ws(r);
|
|
30498
30509
|
}
|
|
30499
|
-
const q7 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"],
|
|
30500
|
-
function
|
|
30501
|
-
i ? (e.opacity = Rn(0, n.opacity ?? 1,
|
|
30502
|
-
for (let s = 0; s <
|
|
30510
|
+
const q7 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Gee = q7.length, $A = (e) => typeof e == "string" ? parseFloat(e) : e, xA = (e) => typeof e == "number" || _t.test(e);
|
|
30511
|
+
function Yee(e, t, n, r, i, a) {
|
|
30512
|
+
i ? (e.opacity = Rn(0, n.opacity ?? 1, Zee(r)), e.opacityExit = Rn(t.opacity ?? 1, 0, Xee(r))) : a && (e.opacity = Rn(t.opacity ?? 1, n.opacity ?? 1, r));
|
|
30513
|
+
for (let s = 0; s < Gee; s++) {
|
|
30503
30514
|
const u = `border${q7[s]}Radius`;
|
|
30504
|
-
let f =
|
|
30515
|
+
let f = wA(t, u), d = wA(n, u);
|
|
30505
30516
|
if (f === void 0 && d === void 0)
|
|
30506
30517
|
continue;
|
|
30507
|
-
f || (f = 0), d || (d = 0), f === 0 || d === 0 ||
|
|
30518
|
+
f || (f = 0), d || (d = 0), f === 0 || d === 0 || xA(f) === xA(d) ? (e[u] = Math.max(Rn($A(f), $A(d), r), 0), (is.test(d) || is.test(f)) && (e[u] += "%")) : e[u] = d;
|
|
30508
30519
|
}
|
|
30509
30520
|
(t.rotate || n.rotate) && (e.rotate = Rn(t.rotate || 0, n.rotate || 0, r));
|
|
30510
30521
|
}
|
|
30511
|
-
function
|
|
30522
|
+
function wA(e, t) {
|
|
30512
30523
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
30513
30524
|
}
|
|
30514
|
-
const
|
|
30525
|
+
const Zee = /* @__PURE__ */ z7(0, 0.5, FR), Xee = /* @__PURE__ */ z7(0.5, 0.95, ea);
|
|
30515
30526
|
function z7(e, t, n) {
|
|
30516
30527
|
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Wf(e, t, r));
|
|
30517
30528
|
}
|
|
30518
|
-
function
|
|
30529
|
+
function CA(e, t) {
|
|
30519
30530
|
e.min = t.min, e.max = t.max;
|
|
30520
30531
|
}
|
|
30521
30532
|
function Ki(e, t) {
|
|
30522
|
-
|
|
30533
|
+
CA(e.x, t.x), CA(e.y, t.y);
|
|
30523
30534
|
}
|
|
30524
|
-
function
|
|
30535
|
+
function EA(e, t) {
|
|
30525
30536
|
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
|
|
30526
30537
|
}
|
|
30527
|
-
function
|
|
30538
|
+
function SA(e, t, n, r, i) {
|
|
30528
30539
|
return e -= t, e = _p(e, 1 / n, r), i !== void 0 && (e = _p(e, 1 / i, r)), e;
|
|
30529
30540
|
}
|
|
30530
|
-
function
|
|
30541
|
+
function Jee(e, t = 0, n = 1, r = 0.5, i, a = e, s = e) {
|
|
30531
30542
|
if (is.test(t) && (t = parseFloat(t), t = Rn(s.min, s.max, t / 100) - s.min), typeof t != "number")
|
|
30532
30543
|
return;
|
|
30533
30544
|
let u = Rn(a.min, a.max, r);
|
|
30534
|
-
e === a && (u -= t), e.min =
|
|
30545
|
+
e === a && (u -= t), e.min = SA(e.min, t, n, u, i), e.max = SA(e.max, t, n, u, i);
|
|
30535
30546
|
}
|
|
30536
|
-
function
|
|
30537
|
-
|
|
30547
|
+
function DA(e, t, [n, r, i], a, s) {
|
|
30548
|
+
Jee(e, t[n], t[r], t[i], t.scale, a, s);
|
|
30538
30549
|
}
|
|
30539
|
-
const
|
|
30540
|
-
function
|
|
30541
|
-
|
|
30550
|
+
const Qee = ["x", "scaleX", "originX"], ete = ["y", "scaleY", "originY"];
|
|
30551
|
+
function AA(e, t, n, r) {
|
|
30552
|
+
DA(e.x, t, Qee, n ? n.x : void 0, r ? r.x : void 0), DA(e.y, t, ete, n ? n.y : void 0, r ? r.y : void 0);
|
|
30542
30553
|
}
|
|
30543
|
-
function
|
|
30554
|
+
function TA(e) {
|
|
30544
30555
|
return e.translate === 0 && e.scale === 1;
|
|
30545
30556
|
}
|
|
30546
30557
|
function W7(e) {
|
|
30547
|
-
return
|
|
30558
|
+
return TA(e.x) && TA(e.y);
|
|
30548
30559
|
}
|
|
30549
|
-
function
|
|
30560
|
+
function PA(e, t) {
|
|
30550
30561
|
return e.min === t.min && e.max === t.max;
|
|
30551
30562
|
}
|
|
30552
|
-
function
|
|
30553
|
-
return
|
|
30563
|
+
function tte(e, t) {
|
|
30564
|
+
return PA(e.x, t.x) && PA(e.y, t.y);
|
|
30554
30565
|
}
|
|
30555
|
-
function
|
|
30566
|
+
function _A(e, t) {
|
|
30556
30567
|
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
|
|
30557
30568
|
}
|
|
30558
30569
|
function H7(e, t) {
|
|
30559
|
-
return
|
|
30570
|
+
return _A(e.x, t.x) && _A(e.y, t.y);
|
|
30560
30571
|
}
|
|
30561
|
-
function
|
|
30572
|
+
function MA(e) {
|
|
30562
30573
|
return qr(e.x) / qr(e.y);
|
|
30563
30574
|
}
|
|
30564
|
-
function
|
|
30575
|
+
function FA(e, t) {
|
|
30565
30576
|
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
|
|
30566
30577
|
}
|
|
30567
|
-
class
|
|
30578
|
+
class nte {
|
|
30568
30579
|
constructor() {
|
|
30569
30580
|
this.members = [];
|
|
30570
30581
|
}
|
|
@@ -30618,7 +30629,7 @@ class ete {
|
|
|
30618
30629
|
this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
|
|
30619
30630
|
}
|
|
30620
30631
|
}
|
|
30621
|
-
function
|
|
30632
|
+
function rte(e, t, n) {
|
|
30622
30633
|
let r = "";
|
|
30623
30634
|
const i = e.x.translate / t.x, a = e.y.translate / t.y, s = (n == null ? void 0 : n.z) || 0;
|
|
30624
30635
|
if ((i || a || s) && (r = `translate3d(${i}px, ${a}px, ${s}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
|
|
@@ -30628,9 +30639,9 @@ function tte(e, t, n) {
|
|
|
30628
30639
|
const u = e.x.scale * t.x, f = e.y.scale * t.y;
|
|
30629
30640
|
return (u !== 1 || f !== 1) && (r += `scale(${u}, ${f})`), r || "none";
|
|
30630
30641
|
}
|
|
30631
|
-
const
|
|
30632
|
-
let
|
|
30633
|
-
function
|
|
30642
|
+
const q0 = ["", "X", "Y", "Z"], ite = 1e3;
|
|
30643
|
+
let ate = 0;
|
|
30644
|
+
function z0(e, t, n, r) {
|
|
30634
30645
|
const { latestValues: i } = t;
|
|
30635
30646
|
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
|
|
30636
30647
|
}
|
|
@@ -30651,14 +30662,14 @@ function G7(e) {
|
|
|
30651
30662
|
function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
|
|
30652
30663
|
return class {
|
|
30653
30664
|
constructor(s = {}, u = t == null ? void 0 : t()) {
|
|
30654
|
-
this.id =
|
|
30665
|
+
this.id = ate++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
30655
30666
|
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
30656
30667
|
}, this.updateProjection = () => {
|
|
30657
|
-
this.projectionUpdateScheduled = !1, this.nodes.forEach(
|
|
30668
|
+
this.projectionUpdateScheduled = !1, this.nodes.forEach(ute), this.nodes.forEach(dte), this.nodes.forEach(hte), this.nodes.forEach(lte);
|
|
30658
30669
|
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = s, this.root = u ? u.root || u : this, this.path = u ? [...u.path, u] : [], this.parent = u, this.depth = u ? u.depth + 1 : 0;
|
|
30659
30670
|
for (let f = 0; f < this.path.length; f++)
|
|
30660
30671
|
this.path[f].shouldResetTransform = !0;
|
|
30661
|
-
this.root === this && (this.nodes = new
|
|
30672
|
+
this.root === this && (this.nodes = new Wee());
|
|
30662
30673
|
}
|
|
30663
30674
|
addEventListener(s, u) {
|
|
30664
30675
|
return this.eventHandlers.has(s) || this.eventHandlers.set(s, new y3()), this.eventHandlers.get(s).add(u);
|
|
@@ -30676,7 +30687,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30676
30687
|
mount(s) {
|
|
30677
30688
|
if (this.instance)
|
|
30678
30689
|
return;
|
|
30679
|
-
this.isSVG = f7(s) && !
|
|
30690
|
+
this.isSVG = f7(s) && !QJ(s), this.instance = s;
|
|
30680
30691
|
const { layoutId: u, layout: f, visualElement: d } = this.options;
|
|
30681
30692
|
if (d && !d.current && d.mount(s), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (f || u) && (this.isLayoutDirty = !0), e) {
|
|
30682
30693
|
let h, m = 0;
|
|
@@ -30685,7 +30696,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30685
30696
|
m = window.innerWidth;
|
|
30686
30697
|
}), e(s, () => {
|
|
30687
30698
|
const b = window.innerWidth;
|
|
30688
|
-
b !== m && (m = b, this.root.updateBlockedByResize = !0, h && h(), h =
|
|
30699
|
+
b !== m && (m = b, this.root.updateBlockedByResize = !0, h && h(), h = Hee(g, 250), Hh.hasAnimatedSinceResize && (Hh.hasAnimatedSinceResize = !1, this.nodes.forEach(OA)));
|
|
30689
30700
|
});
|
|
30690
30701
|
}
|
|
30691
30702
|
u && this.root.registerSharedNode(u, this), this.options.animate !== !1 && d && (u || f) && this.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: m, hasRelativeLayoutChanged: g, layout: b }) => {
|
|
@@ -30693,7 +30704,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30693
30704
|
this.target = void 0, this.relativeTarget = void 0;
|
|
30694
30705
|
return;
|
|
30695
30706
|
}
|
|
30696
|
-
const w = this.options.transition || d.getDefaultTransition() ||
|
|
30707
|
+
const w = this.options.transition || d.getDefaultTransition() || yte, { onLayoutAnimationStart: x, onLayoutAnimationComplete: A } = d.getProps(), C = !this.targetLayout || !H7(this.targetLayout, b), E = !m && g;
|
|
30697
30708
|
if (this.options.layoutRoot || this.resumeFrom || E || m && (C || !this.currentAnimation)) {
|
|
30698
30709
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
30699
30710
|
const S = {
|
|
@@ -30703,7 +30714,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30703
30714
|
};
|
|
30704
30715
|
(d.shouldReduceMotion || this.options.layoutRoot) && (S.delay = 0, S.type = !1), this.startAnimation(S), this.setAnimationOrigin(h, E);
|
|
30705
30716
|
} else
|
|
30706
|
-
m ||
|
|
30717
|
+
m || OA(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
30707
30718
|
this.targetLayout = b;
|
|
30708
30719
|
});
|
|
30709
30720
|
}
|
|
@@ -30727,7 +30738,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30727
30738
|
}
|
|
30728
30739
|
// Note: currently only running on root node
|
|
30729
30740
|
startUpdate() {
|
|
30730
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(
|
|
30741
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(pte), this.animationId++);
|
|
30731
30742
|
}
|
|
30732
30743
|
getTransformTemplate() {
|
|
30733
30744
|
const { visualElement: s } = this.options;
|
|
@@ -30753,22 +30764,22 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30753
30764
|
}
|
|
30754
30765
|
update() {
|
|
30755
30766
|
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
|
|
30756
|
-
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(
|
|
30767
|
+
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(RA);
|
|
30757
30768
|
return;
|
|
30758
30769
|
}
|
|
30759
30770
|
if (this.animationId <= this.animationCommitId) {
|
|
30760
|
-
this.nodes.forEach(
|
|
30771
|
+
this.nodes.forEach(kA);
|
|
30761
30772
|
return;
|
|
30762
30773
|
}
|
|
30763
|
-
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(
|
|
30774
|
+
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(fte), this.nodes.forEach(ste), this.nodes.forEach(ote)) : this.nodes.forEach(kA), this.clearAllSnapshots();
|
|
30764
30775
|
const u = ci.now();
|
|
30765
|
-
wr.delta = qs(0, 1e3 / 60, u - wr.timestamp), wr.timestamp = u, wr.isProcessing = !0,
|
|
30776
|
+
wr.delta = qs(0, 1e3 / 60, u - wr.timestamp), wr.timestamp = u, wr.isProcessing = !0, R0.update.process(wr), R0.preRender.process(wr), R0.render.process(wr), wr.isProcessing = !1;
|
|
30766
30777
|
}
|
|
30767
30778
|
didUpdate() {
|
|
30768
30779
|
this.updateScheduled || (this.updateScheduled = !0, k3.read(this.scheduleUpdate));
|
|
30769
30780
|
}
|
|
30770
30781
|
clearAllSnapshots() {
|
|
30771
|
-
this.nodes.forEach(
|
|
30782
|
+
this.nodes.forEach(cte), this.sharedNodes.forEach(mte);
|
|
30772
30783
|
}
|
|
30773
30784
|
scheduleUpdateProjection() {
|
|
30774
30785
|
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Tn.preRender(this.updateProjection, !1, !0));
|
|
@@ -30817,7 +30828,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30817
30828
|
measure(s = !0) {
|
|
30818
30829
|
const u = this.measurePageBox();
|
|
30819
30830
|
let f = this.removeElementScroll(u);
|
|
30820
|
-
return s && (f = this.removeTransform(f)),
|
|
30831
|
+
return s && (f = this.removeTransform(f)), bte(f), {
|
|
30821
30832
|
animationId: this.root.animationId,
|
|
30822
30833
|
measuredBox: u,
|
|
30823
30834
|
layoutBox: f,
|
|
@@ -30831,7 +30842,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30831
30842
|
if (!s)
|
|
30832
30843
|
return Jn();
|
|
30833
30844
|
const u = s.measureViewportBox();
|
|
30834
|
-
if (!(((d = this.scroll) == null ? void 0 : d.wasRoot) || this.path.some(
|
|
30845
|
+
if (!(((d = this.scroll) == null ? void 0 : d.wasRoot) || this.path.some($te))) {
|
|
30835
30846
|
const { scroll: h } = this.root;
|
|
30836
30847
|
h && (Al(u.x, h.offset.x), Al(u.y, h.offset.y));
|
|
30837
30848
|
}
|
|
@@ -30869,9 +30880,9 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30869
30880
|
continue;
|
|
30870
30881
|
w1(d.latestValues) && d.updateSnapshot();
|
|
30871
30882
|
const h = Jn(), m = d.measurePageBox();
|
|
30872
|
-
Ki(h, m),
|
|
30883
|
+
Ki(h, m), AA(u, d.latestValues, d.snapshot ? d.snapshot.layoutBox : void 0, h);
|
|
30873
30884
|
}
|
|
30874
|
-
return uu(this.latestValues) &&
|
|
30885
|
+
return uu(this.latestValues) && AA(u, this.latestValues), u;
|
|
30875
30886
|
}
|
|
30876
30887
|
setTargetDelta(s) {
|
|
30877
30888
|
this.targetDelta = s, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
|
|
@@ -30902,7 +30913,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30902
30913
|
const b = this.getClosestProjectingParent();
|
|
30903
30914
|
b && b.layout && this.animationProgress !== 1 ? (this.relativeParent = b, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Jn(), this.relativeTargetOrigin = Jn(), Rf(this.relativeTargetOrigin, this.layout.layoutBox, b.layout.layoutBox), Ki(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
30904
30915
|
}
|
|
30905
|
-
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Jn(), this.targetWithTransforms = Jn()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(),
|
|
30916
|
+
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Jn(), this.targetWithTransforms = Jn()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Dee(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Ki(this.target, this.layout.layoutBox), A7(this.target, this.targetDelta)) : Ki(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
|
|
30906
30917
|
this.attemptToResolveRelativeTarget = !1;
|
|
30907
30918
|
const b = this.getClosestProjectingParent();
|
|
30908
30919
|
b && !!b.resumingFrom == !!this.resumingFrom && !b.options.layoutScroll && b.target && this.animationProgress !== 1 ? (this.relativeParent = b, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Jn(), this.relativeTargetOrigin = Jn(), Rf(this.relativeTargetOrigin, this.target, b.target), Ki(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
@@ -30927,13 +30938,13 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30927
30938
|
return;
|
|
30928
30939
|
Ki(this.layoutCorrected, this.layout.layoutBox);
|
|
30929
30940
|
const m = this.treeScale.x, g = this.treeScale.y;
|
|
30930
|
-
|
|
30941
|
+
VQ(this.layoutCorrected, this.treeScale, this.path, u), s.layout && !s.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (s.target = s.layout.layoutBox, s.targetWithTransforms = Jn());
|
|
30931
30942
|
const { target: b } = s;
|
|
30932
30943
|
if (!b) {
|
|
30933
30944
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
30934
30945
|
return;
|
|
30935
30946
|
}
|
|
30936
|
-
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (
|
|
30947
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (EA(this.prevProjectionDelta.x, this.projectionDelta.x), EA(this.prevProjectionDelta.y, this.projectionDelta.y)), Ff(this.projectionDelta, this.layoutCorrected, b, this.latestValues), (this.treeScale.x !== m || this.treeScale.y !== g || !FA(this.projectionDelta.x, this.prevProjectionDelta.x) || !FA(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", b));
|
|
30937
30948
|
}
|
|
30938
30949
|
hide() {
|
|
30939
30950
|
this.isVisible = !1;
|
|
@@ -30955,18 +30966,18 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30955
30966
|
setAnimationOrigin(s, u = !1) {
|
|
30956
30967
|
const f = this.snapshot, d = f ? f.latestValues : {}, h = { ...this.latestValues }, m = Pl();
|
|
30957
30968
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !u;
|
|
30958
|
-
const g = Jn(), b = f ? f.source : void 0, w = this.layout ? this.layout.source : void 0, x = b !== w, A = this.getStack(), C = !A || A.members.length <= 1, E = !!(x && !C && this.options.crossfade === !0 && !this.path.some(
|
|
30969
|
+
const g = Jn(), b = f ? f.source : void 0, w = this.layout ? this.layout.source : void 0, x = b !== w, A = this.getStack(), C = !A || A.members.length <= 1, E = !!(x && !C && this.options.crossfade === !0 && !this.path.some(vte));
|
|
30959
30970
|
this.animationProgress = 0;
|
|
30960
30971
|
let S;
|
|
30961
30972
|
this.mixTargetDelta = (R) => {
|
|
30962
30973
|
const _ = R / 1e3;
|
|
30963
|
-
|
|
30974
|
+
IA(m.x, s.x, _), IA(m.y, s.y, _), this.setTargetDelta(m), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Rf(g, this.layout.layoutBox, this.relativeParent.layout.layoutBox), gte(this.relativeTarget, this.relativeTargetOrigin, g, _), S && tte(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = Jn()), Ki(S, this.relativeTarget)), x && (this.animationValues = h, Yee(h, d, this.latestValues, _, E, C)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = _;
|
|
30964
30975
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
30965
30976
|
}
|
|
30966
30977
|
startAnimation(s) {
|
|
30967
30978
|
var u, f, d;
|
|
30968
30979
|
this.notifyListeners("animationStart"), (u = this.currentAnimation) == null || u.stop(), (d = (f = this.resumingFrom) == null ? void 0 : f.currentAnimation) == null || d.stop(), this.pendingAnimation && (Ws(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = Tn.update(() => {
|
|
30969
|
-
Hh.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Fu(0)), this.currentAnimation =
|
|
30980
|
+
Hh.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Fu(0)), this.currentAnimation = qee(this.motionValue, [0, 1e3], {
|
|
30970
30981
|
...s,
|
|
30971
30982
|
velocity: 0,
|
|
30972
30983
|
isSync: !0,
|
|
@@ -30987,7 +30998,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30987
30998
|
s && s.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
|
|
30988
30999
|
}
|
|
30989
31000
|
finishAnimation() {
|
|
30990
|
-
this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(
|
|
31001
|
+
this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(ite), this.currentAnimation.stop()), this.completeAnimation();
|
|
30991
31002
|
}
|
|
30992
31003
|
applyTransformsToTarget() {
|
|
30993
31004
|
const s = this.getLead();
|
|
@@ -31004,7 +31015,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
31004
31015
|
}
|
|
31005
31016
|
}
|
|
31006
31017
|
registerSharedNode(s, u) {
|
|
31007
|
-
this.sharedNodes.has(s) || this.sharedNodes.set(s, new
|
|
31018
|
+
this.sharedNodes.has(s) || this.sharedNodes.set(s, new nte()), this.sharedNodes.get(s).add(u);
|
|
31008
31019
|
const d = u.options.initialPromotionConfig;
|
|
31009
31020
|
u.promote({
|
|
31010
31021
|
transition: d ? d.transition : void 0,
|
|
@@ -31047,9 +31058,9 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
31047
31058
|
if ((f.z || f.rotate || f.rotateX || f.rotateY || f.rotateZ || f.skewX || f.skewY) && (u = !0), !u)
|
|
31048
31059
|
return;
|
|
31049
31060
|
const d = {};
|
|
31050
|
-
f.z &&
|
|
31051
|
-
for (let h = 0; h <
|
|
31052
|
-
|
|
31061
|
+
f.z && z0("z", s, d, this.animationValues);
|
|
31062
|
+
for (let h = 0; h < q0.length; h++)
|
|
31063
|
+
z0(`rotate${q0[h]}`, s, d, this.animationValues), z0(`skew${q0[h]}`, s, d, this.animationValues);
|
|
31053
31064
|
s.render();
|
|
31054
31065
|
for (const h in d)
|
|
31055
31066
|
s.setStaticValue(h, d[h]), this.animationValues && (this.animationValues[h] = d[h]);
|
|
@@ -31075,7 +31086,7 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
31075
31086
|
s.visibility = "";
|
|
31076
31087
|
const h = d.animationValues || d.latestValues;
|
|
31077
31088
|
this.applyTransformsToTarget();
|
|
31078
|
-
let m =
|
|
31089
|
+
let m = rte(this.projectionDeltaWithTransform, this.treeScale, h);
|
|
31079
31090
|
f && (m = f(h, m)), s.transform = m;
|
|
31080
31091
|
const { x: g, y: b } = this.projectionDelta;
|
|
31081
31092
|
s.transformOrigin = `${g.origin * 100}% ${b.origin * 100}% 0`, d.animationValues ? s.opacity = d === this ? h.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : h.opacityExit : s.opacity = d === this ? h.opacity !== void 0 ? h.opacity : "" : h.opacityExit !== void 0 ? h.opacityExit : 0;
|
|
@@ -31100,14 +31111,14 @@ function Y7({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
31100
31111
|
this.root.nodes.forEach((s) => {
|
|
31101
31112
|
var u;
|
|
31102
31113
|
return (u = s.currentAnimation) == null ? void 0 : u.stop();
|
|
31103
|
-
}), this.root.nodes.forEach(
|
|
31114
|
+
}), this.root.nodes.forEach(RA), this.root.sharedNodes.clear();
|
|
31104
31115
|
}
|
|
31105
31116
|
};
|
|
31106
31117
|
}
|
|
31107
|
-
function
|
|
31118
|
+
function ste(e) {
|
|
31108
31119
|
e.updateLayout();
|
|
31109
31120
|
}
|
|
31110
|
-
function
|
|
31121
|
+
function ote(e) {
|
|
31111
31122
|
var n;
|
|
31112
31123
|
const t = ((n = e.resumeFrom) == null ? void 0 : n.snapshot) || e.snapshot;
|
|
31113
31124
|
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
|
|
@@ -31151,77 +31162,77 @@ function ate(e) {
|
|
|
31151
31162
|
}
|
|
31152
31163
|
e.options.transition = void 0;
|
|
31153
31164
|
}
|
|
31154
|
-
function
|
|
31165
|
+
function ute(e) {
|
|
31155
31166
|
e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty)), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty));
|
|
31156
31167
|
}
|
|
31157
|
-
function
|
|
31168
|
+
function lte(e) {
|
|
31158
31169
|
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
|
|
31159
31170
|
}
|
|
31160
|
-
function
|
|
31171
|
+
function cte(e) {
|
|
31161
31172
|
e.clearSnapshot();
|
|
31162
31173
|
}
|
|
31163
|
-
function
|
|
31174
|
+
function RA(e) {
|
|
31164
31175
|
e.clearMeasurements();
|
|
31165
31176
|
}
|
|
31166
|
-
function
|
|
31177
|
+
function kA(e) {
|
|
31167
31178
|
e.isLayoutDirty = !1;
|
|
31168
31179
|
}
|
|
31169
|
-
function
|
|
31180
|
+
function fte(e) {
|
|
31170
31181
|
const { visualElement: t } = e.options;
|
|
31171
31182
|
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
|
|
31172
31183
|
}
|
|
31173
|
-
function
|
|
31184
|
+
function OA(e) {
|
|
31174
31185
|
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
|
|
31175
31186
|
}
|
|
31176
|
-
function
|
|
31187
|
+
function dte(e) {
|
|
31177
31188
|
e.resolveTargetDelta();
|
|
31178
31189
|
}
|
|
31179
|
-
function
|
|
31190
|
+
function hte(e) {
|
|
31180
31191
|
e.calcProjection();
|
|
31181
31192
|
}
|
|
31182
|
-
function
|
|
31193
|
+
function pte(e) {
|
|
31183
31194
|
e.resetSkewAndRotation();
|
|
31184
31195
|
}
|
|
31185
|
-
function
|
|
31196
|
+
function mte(e) {
|
|
31186
31197
|
e.removeLeadSnapshot();
|
|
31187
31198
|
}
|
|
31188
|
-
function
|
|
31199
|
+
function IA(e, t, n) {
|
|
31189
31200
|
e.translate = Rn(t.translate, 0, n), e.scale = Rn(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
|
|
31190
31201
|
}
|
|
31191
|
-
function
|
|
31202
|
+
function LA(e, t, n, r) {
|
|
31192
31203
|
e.min = Rn(t.min, n.min, r), e.max = Rn(t.max, n.max, r);
|
|
31193
31204
|
}
|
|
31194
|
-
function
|
|
31195
|
-
|
|
31205
|
+
function gte(e, t, n, r) {
|
|
31206
|
+
LA(e.x, t.x, n.x, r), LA(e.y, t.y, n.y, r);
|
|
31196
31207
|
}
|
|
31197
|
-
function
|
|
31208
|
+
function vte(e) {
|
|
31198
31209
|
return e.animationValues && e.animationValues.opacityExit !== void 0;
|
|
31199
31210
|
}
|
|
31200
|
-
const
|
|
31211
|
+
const yte = {
|
|
31201
31212
|
duration: 0.45,
|
|
31202
31213
|
ease: [0.4, 0, 0.1, 1]
|
|
31203
|
-
},
|
|
31204
|
-
function
|
|
31205
|
-
e.min =
|
|
31214
|
+
}, VA = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), BA = VA("applewebkit/") && !VA("chrome/") ? Math.round : ea;
|
|
31215
|
+
function NA(e) {
|
|
31216
|
+
e.min = BA(e.min), e.max = BA(e.max);
|
|
31206
31217
|
}
|
|
31207
|
-
function
|
|
31208
|
-
|
|
31218
|
+
function bte(e) {
|
|
31219
|
+
NA(e.x), NA(e.y);
|
|
31209
31220
|
}
|
|
31210
31221
|
function Z7(e, t, n) {
|
|
31211
|
-
return e === "position" || e === "preserve-aspect" && !
|
|
31222
|
+
return e === "position" || e === "preserve-aspect" && !See(MA(t), MA(n), 0.2);
|
|
31212
31223
|
}
|
|
31213
|
-
function
|
|
31224
|
+
function $te(e) {
|
|
31214
31225
|
var t;
|
|
31215
31226
|
return e !== e.root && ((t = e.scroll) == null ? void 0 : t.wasRoot);
|
|
31216
31227
|
}
|
|
31217
|
-
const
|
|
31228
|
+
const xte = Y7({
|
|
31218
31229
|
attachResizeListener: (e, t) => Xf(e, "resize", t),
|
|
31219
31230
|
measureScroll: () => ({
|
|
31220
31231
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
31221
31232
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
31222
31233
|
}),
|
|
31223
31234
|
checkIsScrollRoot: () => !0
|
|
31224
|
-
}),
|
|
31235
|
+
}), W0 = {
|
|
31225
31236
|
current: void 0
|
|
31226
31237
|
}, X7 = Y7({
|
|
31227
31238
|
measureScroll: (e) => ({
|
|
@@ -31229,40 +31240,40 @@ const bte = Y7({
|
|
|
31229
31240
|
y: e.scrollTop
|
|
31230
31241
|
}),
|
|
31231
31242
|
defaultParent: () => {
|
|
31232
|
-
if (!
|
|
31233
|
-
const e = new
|
|
31234
|
-
e.mount(window), e.setOptions({ layoutScroll: !0 }),
|
|
31243
|
+
if (!W0.current) {
|
|
31244
|
+
const e = new xte({});
|
|
31245
|
+
e.mount(window), e.setOptions({ layoutScroll: !0 }), W0.current = e;
|
|
31235
31246
|
}
|
|
31236
|
-
return
|
|
31247
|
+
return W0.current;
|
|
31237
31248
|
},
|
|
31238
31249
|
resetTransform: (e, t) => {
|
|
31239
31250
|
e.style.transform = t !== void 0 ? t : "none";
|
|
31240
31251
|
},
|
|
31241
31252
|
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
|
|
31242
|
-
}),
|
|
31253
|
+
}), wte = {
|
|
31243
31254
|
pan: {
|
|
31244
|
-
Feature:
|
|
31255
|
+
Feature: Nee
|
|
31245
31256
|
},
|
|
31246
31257
|
drag: {
|
|
31247
|
-
Feature:
|
|
31258
|
+
Feature: Bee,
|
|
31248
31259
|
ProjectionNode: X7,
|
|
31249
31260
|
MeasureLayout: U7
|
|
31250
31261
|
}
|
|
31251
31262
|
};
|
|
31252
|
-
function
|
|
31263
|
+
function jA(e, t, n) {
|
|
31253
31264
|
const { props: r } = e;
|
|
31254
31265
|
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
|
|
31255
31266
|
const i = "onHover" + n, a = r[i];
|
|
31256
31267
|
a && Tn.postRender(() => a(t, wd(t)));
|
|
31257
31268
|
}
|
|
31258
|
-
let
|
|
31269
|
+
let Cte = class extends Fo {
|
|
31259
31270
|
mount() {
|
|
31260
31271
|
const { current: t } = this.node;
|
|
31261
|
-
t && (this.unmount =
|
|
31272
|
+
t && (this.unmount = GJ(t, (n, r) => (jA(this.node, r, "Start"), (i) => jA(this.node, i, "End"))));
|
|
31262
31273
|
}
|
|
31263
31274
|
unmount() {
|
|
31264
31275
|
}
|
|
31265
|
-
},
|
|
31276
|
+
}, Ete = class extends Fo {
|
|
31266
31277
|
constructor() {
|
|
31267
31278
|
super(...arguments), this.isActive = !1;
|
|
31268
31279
|
}
|
|
@@ -31284,7 +31295,7 @@ let xte = class extends Fo {
|
|
|
31284
31295
|
unmount() {
|
|
31285
31296
|
}
|
|
31286
31297
|
};
|
|
31287
|
-
function
|
|
31298
|
+
function KA(e, t, n) {
|
|
31288
31299
|
const { props: r } = e;
|
|
31289
31300
|
if (e.current instanceof HTMLButtonElement && e.current.disabled)
|
|
31290
31301
|
return;
|
|
@@ -31292,37 +31303,37 @@ function jA(e, t, n) {
|
|
|
31292
31303
|
const i = "onTap" + (n === "End" ? "" : n), a = r[i];
|
|
31293
31304
|
a && Tn.postRender(() => a(t, wd(t)));
|
|
31294
31305
|
}
|
|
31295
|
-
let
|
|
31306
|
+
let Ste = class extends Fo {
|
|
31296
31307
|
mount() {
|
|
31297
31308
|
const { current: t } = this.node;
|
|
31298
|
-
t && (this.unmount =
|
|
31309
|
+
t && (this.unmount = JJ(t, (n, r) => (KA(this.node, r, "Start"), (i, { success: a }) => KA(this.node, i, a ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
|
|
31299
31310
|
}
|
|
31300
31311
|
unmount() {
|
|
31301
31312
|
}
|
|
31302
31313
|
};
|
|
31303
|
-
const P1 = /* @__PURE__ */ new WeakMap(),
|
|
31314
|
+
const P1 = /* @__PURE__ */ new WeakMap(), H0 = /* @__PURE__ */ new WeakMap(), Dte = (e) => {
|
|
31304
31315
|
const t = P1.get(e.target);
|
|
31305
31316
|
t && t(e);
|
|
31306
|
-
},
|
|
31307
|
-
e.forEach(
|
|
31317
|
+
}, Ate = (e) => {
|
|
31318
|
+
e.forEach(Dte);
|
|
31308
31319
|
};
|
|
31309
|
-
function
|
|
31320
|
+
function Tte({ root: e, ...t }) {
|
|
31310
31321
|
const n = e || document;
|
|
31311
|
-
|
|
31312
|
-
const r =
|
|
31313
|
-
return r[i] || (r[i] = new IntersectionObserver(
|
|
31322
|
+
H0.has(n) || H0.set(n, {});
|
|
31323
|
+
const r = H0.get(n), i = JSON.stringify(t);
|
|
31324
|
+
return r[i] || (r[i] = new IntersectionObserver(Ate, { root: e, ...t })), r[i];
|
|
31314
31325
|
}
|
|
31315
|
-
function
|
|
31316
|
-
const r =
|
|
31326
|
+
function Pte(e, t, n) {
|
|
31327
|
+
const r = Tte(t);
|
|
31317
31328
|
return P1.set(e, n), r.observe(e), () => {
|
|
31318
31329
|
P1.delete(e), r.unobserve(e);
|
|
31319
31330
|
};
|
|
31320
31331
|
}
|
|
31321
|
-
const
|
|
31332
|
+
const _te = {
|
|
31322
31333
|
some: 0,
|
|
31323
31334
|
all: 1
|
|
31324
31335
|
};
|
|
31325
|
-
let
|
|
31336
|
+
let Mte = class extends Fo {
|
|
31326
31337
|
constructor() {
|
|
31327
31338
|
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
|
|
31328
31339
|
}
|
|
@@ -31331,7 +31342,7 @@ let Pte = class extends Fo {
|
|
|
31331
31342
|
const { viewport: t = {} } = this.node.getProps(), { root: n, margin: r, amount: i = "some", once: a } = t, s = {
|
|
31332
31343
|
root: n ? n.current : void 0,
|
|
31333
31344
|
rootMargin: r,
|
|
31334
|
-
threshold: typeof i == "number" ? i :
|
|
31345
|
+
threshold: typeof i == "number" ? i : _te[i]
|
|
31335
31346
|
}, u = (f) => {
|
|
31336
31347
|
const { isIntersecting: d } = f;
|
|
31337
31348
|
if (this.isInView === d || (this.isInView = d, a && !d && this.hasEnteredView))
|
|
@@ -31340,7 +31351,7 @@ let Pte = class extends Fo {
|
|
|
31340
31351
|
const { onViewportEnter: h, onViewportLeave: m } = this.node.getProps(), g = d ? h : m;
|
|
31341
31352
|
g && g(f);
|
|
31342
31353
|
};
|
|
31343
|
-
return
|
|
31354
|
+
return Pte(this.node.current, s, u);
|
|
31344
31355
|
}
|
|
31345
31356
|
mount() {
|
|
31346
31357
|
this.startObserver();
|
|
@@ -31349,38 +31360,38 @@ let Pte = class extends Fo {
|
|
|
31349
31360
|
if (typeof IntersectionObserver > "u")
|
|
31350
31361
|
return;
|
|
31351
31362
|
const { props: t, prevProps: n } = this.node;
|
|
31352
|
-
["amount", "margin", "root"].some(
|
|
31363
|
+
["amount", "margin", "root"].some(Fte(t, n)) && this.startObserver();
|
|
31353
31364
|
}
|
|
31354
31365
|
unmount() {
|
|
31355
31366
|
}
|
|
31356
31367
|
};
|
|
31357
|
-
function
|
|
31368
|
+
function Fte({ viewport: e = {} }, { viewport: t = {} } = {}) {
|
|
31358
31369
|
return (n) => e[n] !== t[n];
|
|
31359
31370
|
}
|
|
31360
|
-
const
|
|
31371
|
+
const Rte = {
|
|
31361
31372
|
inView: {
|
|
31362
|
-
Feature:
|
|
31373
|
+
Feature: Mte
|
|
31363
31374
|
},
|
|
31364
31375
|
tap: {
|
|
31365
|
-
Feature:
|
|
31376
|
+
Feature: Ste
|
|
31366
31377
|
},
|
|
31367
31378
|
focus: {
|
|
31368
|
-
Feature:
|
|
31379
|
+
Feature: Ete
|
|
31369
31380
|
},
|
|
31370
31381
|
hover: {
|
|
31371
|
-
Feature:
|
|
31382
|
+
Feature: Cte
|
|
31372
31383
|
}
|
|
31373
|
-
},
|
|
31384
|
+
}, kte = {
|
|
31374
31385
|
layout: {
|
|
31375
31386
|
ProjectionNode: X7,
|
|
31376
31387
|
MeasureLayout: U7
|
|
31377
31388
|
}
|
|
31378
|
-
},
|
|
31379
|
-
...
|
|
31380
|
-
...
|
|
31381
|
-
|
|
31382
|
-
...
|
|
31383
|
-
}, J7 = /* @__PURE__ */
|
|
31389
|
+
}, Ote = {
|
|
31390
|
+
...bee,
|
|
31391
|
+
...Rte,
|
|
31392
|
+
...wte,
|
|
31393
|
+
...kte
|
|
31394
|
+
}, J7 = /* @__PURE__ */ OQ(Ote, GQ);
|
|
31384
31395
|
function Q7(e) {
|
|
31385
31396
|
const t = yd(() => Fu(e)), { isStatic: n } = Ut(I3);
|
|
31386
31397
|
if (n) {
|
|
@@ -31398,18 +31409,18 @@ function ek(e, t) {
|
|
|
31398
31409
|
};
|
|
31399
31410
|
}), n;
|
|
31400
31411
|
}
|
|
31401
|
-
function
|
|
31412
|
+
function Ite(e) {
|
|
31402
31413
|
_f.current = [], e();
|
|
31403
31414
|
const t = ek(_f.current, e);
|
|
31404
31415
|
return _f.current = void 0, t;
|
|
31405
31416
|
}
|
|
31406
|
-
function
|
|
31417
|
+
function Lte(e, t, n, r) {
|
|
31407
31418
|
if (typeof e == "function")
|
|
31408
|
-
return
|
|
31409
|
-
const i = typeof t == "function" ? t :
|
|
31410
|
-
return Array.isArray(e) ?
|
|
31419
|
+
return Ite(e);
|
|
31420
|
+
const i = typeof t == "function" ? t : eQ(t, n, r);
|
|
31421
|
+
return Array.isArray(e) ? UA(e, i) : UA([e], ([a]) => i(a));
|
|
31411
31422
|
}
|
|
31412
|
-
function
|
|
31423
|
+
function UA(e, t) {
|
|
31413
31424
|
const n = yd(() => []);
|
|
31414
31425
|
return ek(e, () => {
|
|
31415
31426
|
n.length = 0;
|
|
@@ -31420,7 +31431,7 @@ function KA(e, t) {
|
|
|
31420
31431
|
});
|
|
31421
31432
|
}
|
|
31422
31433
|
const tk = Rr(null);
|
|
31423
|
-
function
|
|
31434
|
+
function Vte(e, t, n, r) {
|
|
31424
31435
|
if (!r)
|
|
31425
31436
|
return e;
|
|
31426
31437
|
const i = e.findIndex((h) => h.value === t);
|
|
@@ -31430,43 +31441,43 @@ function Ite(e, t, n, r) {
|
|
|
31430
31441
|
if (!s)
|
|
31431
31442
|
return e;
|
|
31432
31443
|
const u = e[i], f = s.layout, d = Rn(f.min, f.max, 0.5);
|
|
31433
|
-
return a === 1 && u.layout.max + n > d || a === -1 && u.layout.min + n < d ?
|
|
31444
|
+
return a === 1 && u.layout.max + n > d || a === -1 && u.layout.min + n < d ? aX(e, i, i + a) : e;
|
|
31434
31445
|
}
|
|
31435
|
-
function
|
|
31446
|
+
function Bte({ children: e, as: t = "ul", axis: n = "y", onReorder: r, values: i, ...a }, s) {
|
|
31436
31447
|
const u = yd(() => J7[t]), f = [], d = Je(!1);
|
|
31437
31448
|
Sa(!!i, "Reorder.Group must be provided a values prop", "reorder-values");
|
|
31438
31449
|
const h = {
|
|
31439
31450
|
axis: n,
|
|
31440
31451
|
registerItem: (m, g) => {
|
|
31441
31452
|
const b = f.findIndex((w) => m === w.value);
|
|
31442
|
-
b !== -1 ? f[b].layout = g[n] : f.push({ value: m, layout: g[n] }), f.sort(
|
|
31453
|
+
b !== -1 ? f[b].layout = g[n] : f.push({ value: m, layout: g[n] }), f.sort(jte);
|
|
31443
31454
|
},
|
|
31444
31455
|
updateOrder: (m, g, b) => {
|
|
31445
31456
|
if (d.current)
|
|
31446
31457
|
return;
|
|
31447
|
-
const w =
|
|
31448
|
-
f !== w && (d.current = !0, r(w.map(
|
|
31458
|
+
const w = Vte(f, m, g, b);
|
|
31459
|
+
f !== w && (d.current = !0, r(w.map(Nte).filter((x) => i.indexOf(x) !== -1)));
|
|
31449
31460
|
}
|
|
31450
31461
|
};
|
|
31451
31462
|
return wt(() => {
|
|
31452
31463
|
d.current = !1;
|
|
31453
31464
|
}), Eo(u, { ...a, ref: s, ignoreStrict: !0, children: Eo(tk.Provider, { value: h, children: e }) });
|
|
31454
31465
|
}
|
|
31455
|
-
const
|
|
31456
|
-
function
|
|
31466
|
+
const vce = /* @__PURE__ */ id(Bte);
|
|
31467
|
+
function Nte(e) {
|
|
31457
31468
|
return e.value;
|
|
31458
31469
|
}
|
|
31459
|
-
function
|
|
31470
|
+
function jte(e, t) {
|
|
31460
31471
|
return e.layout.min - t.layout.min;
|
|
31461
31472
|
}
|
|
31462
|
-
function
|
|
31473
|
+
function qA(e, t = 0) {
|
|
31463
31474
|
return Cr(e) ? e : Q7(t);
|
|
31464
31475
|
}
|
|
31465
|
-
function
|
|
31476
|
+
function Kte({ children: e, style: t = {}, value: n, as: r = "li", onDrag: i, layout: a = !0, ...s }, u) {
|
|
31466
31477
|
const f = yd(() => J7[r]), d = Ut(tk), h = {
|
|
31467
|
-
x:
|
|
31468
|
-
y:
|
|
31469
|
-
}, m =
|
|
31478
|
+
x: qA(t.x),
|
|
31479
|
+
y: qA(t.y)
|
|
31480
|
+
}, m = Lte([h.x, h.y], ([x, A]) => x || A ? 1 : "unset");
|
|
31470
31481
|
Sa(!!d, "Reorder.Item must be a child of Reorder.Group", "reorder-item-child");
|
|
31471
31482
|
const { axis: g, registerItem: b, updateOrder: w } = d;
|
|
31472
31483
|
return Eo(f, { drag: g, ...s, dragSnapToOrigin: !0, style: { ...t, x: h.x, y: h.y, zIndex: m }, layout: a, onDrag: (x, A) => {
|
|
@@ -31474,13 +31485,13 @@ function Nte({ children: e, style: t = {}, value: n, as: r = "li", onDrag: i, la
|
|
|
31474
31485
|
C[g] && w(n, h[g].get(), C[g]), i && i(x, A);
|
|
31475
31486
|
}, onLayoutMeasure: (x) => b(n, x), ref: u, ignoreStrict: !0, children: e });
|
|
31476
31487
|
}
|
|
31477
|
-
const
|
|
31478
|
-
var Gh = { exports: {} },
|
|
31479
|
-
function
|
|
31480
|
-
return
|
|
31488
|
+
const yce = /* @__PURE__ */ id(Kte);
|
|
31489
|
+
var Gh = { exports: {} }, Ute = Gh.exports, zA;
|
|
31490
|
+
function qte() {
|
|
31491
|
+
return zA || (zA = 1, function(e, t) {
|
|
31481
31492
|
(function(n, r) {
|
|
31482
31493
|
e.exports = r();
|
|
31483
|
-
})(
|
|
31494
|
+
})(Ute, function() {
|
|
31484
31495
|
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
31485
31496
|
return function(r, i, a) {
|
|
31486
31497
|
var s = i.prototype, u = s.format;
|
|
@@ -31500,8 +31511,8 @@ function Kte() {
|
|
|
31500
31511
|
});
|
|
31501
31512
|
}(Gh)), Gh.exports;
|
|
31502
31513
|
}
|
|
31503
|
-
var
|
|
31504
|
-
const
|
|
31514
|
+
var zte = qte();
|
|
31515
|
+
const bce = /* @__PURE__ */ Xr(zte), WA = (e, t, n) => {
|
|
31505
31516
|
if (e && "reportValidity" in e) {
|
|
31506
31517
|
const r = st(n, t);
|
|
31507
31518
|
e.setCustomValidity(r && r.message || ""), e.reportValidity();
|
|
@@ -31509,27 +31520,27 @@ const yce = /* @__PURE__ */ Xr(Ute), zA = (e, t, n) => {
|
|
|
31509
31520
|
}, nk = (e, t) => {
|
|
31510
31521
|
for (const n in t.fields) {
|
|
31511
31522
|
const r = t.fields[n];
|
|
31512
|
-
r && r.ref && "reportValidity" in r.ref ?
|
|
31523
|
+
r && r.ref && "reportValidity" in r.ref ? WA(r.ref, n, e) : r && r.refs && r.refs.forEach((i) => WA(i, n, e));
|
|
31513
31524
|
}
|
|
31514
|
-
},
|
|
31525
|
+
}, Wte = (e, t) => {
|
|
31515
31526
|
t.shouldUseNativeValidation && nk(e, t);
|
|
31516
31527
|
const n = {};
|
|
31517
31528
|
for (const r in e) {
|
|
31518
31529
|
const i = st(t.fields, r), a = Object.assign(e[r] || {}, { ref: i && i.ref });
|
|
31519
|
-
if (
|
|
31530
|
+
if (Hte(t.names || Object.keys(e), r)) {
|
|
31520
31531
|
const s = Object.assign({}, st(n, r));
|
|
31521
31532
|
ln(s, "root", a), ln(n, r, s);
|
|
31522
31533
|
} else ln(n, r, a);
|
|
31523
31534
|
}
|
|
31524
31535
|
return n;
|
|
31525
|
-
},
|
|
31526
|
-
const n =
|
|
31527
|
-
return e.some((r) =>
|
|
31536
|
+
}, Hte = (e, t) => {
|
|
31537
|
+
const n = HA(t);
|
|
31538
|
+
return e.some((r) => HA(r).match(`^${n}\\.\\d+`));
|
|
31528
31539
|
};
|
|
31529
|
-
function
|
|
31540
|
+
function HA(e) {
|
|
31530
31541
|
return e.replace(/\]|\[/g, "");
|
|
31531
31542
|
}
|
|
31532
|
-
function
|
|
31543
|
+
function $ce(e, t, n) {
|
|
31533
31544
|
return n === void 0 && (n = {}), function(r, i, a) {
|
|
31534
31545
|
try {
|
|
31535
31546
|
return Promise.resolve(function(s, u) {
|
|
@@ -31543,7 +31554,7 @@ function bce(e, t, n) {
|
|
|
31543
31554
|
return f && f.then ? f.then(void 0, u) : f;
|
|
31544
31555
|
}(0, function(s) {
|
|
31545
31556
|
if (!s.inner) throw s;
|
|
31546
|
-
return { values: {}, errors:
|
|
31557
|
+
return { values: {}, errors: Wte((u = s, f = !a.shouldUseNativeValidation && a.criteriaMode === "all", (u.inner || []).reduce(function(d, h) {
|
|
31547
31558
|
if (d[h.path] || (d[h.path] = { message: h.message, type: h.type }), f) {
|
|
31548
31559
|
var m = d[h.path].types, g = m && m[h.type];
|
|
31549
31560
|
d[h.path] = H2(h.path, f, d, h.type, g ? [].concat(g, h.message) : h.message);
|
|
@@ -31557,17 +31568,6 @@ function bce(e, t, n) {
|
|
|
31557
31568
|
}
|
|
31558
31569
|
};
|
|
31559
31570
|
}
|
|
31560
|
-
var H0, HA;
|
|
31561
|
-
function Wte() {
|
|
31562
|
-
if (HA) return H0;
|
|
31563
|
-
HA = 1;
|
|
31564
|
-
function e(t) {
|
|
31565
|
-
return t === void 0;
|
|
31566
|
-
}
|
|
31567
|
-
return H0 = e, H0;
|
|
31568
|
-
}
|
|
31569
|
-
var Hte = Wte();
|
|
31570
|
-
const $ce = /* @__PURE__ */ Xr(Hte);
|
|
31571
31571
|
var Cf = { exports: {} }, Gte = Cf.exports, GA;
|
|
31572
31572
|
function Yte() {
|
|
31573
31573
|
return GA || (GA = 1, function(e, t) {
|
|
@@ -44680,18 +44680,18 @@ export {
|
|
|
44680
44680
|
Ule as a2,
|
|
44681
44681
|
qle as a3,
|
|
44682
44682
|
Gle as a4,
|
|
44683
|
-
|
|
44683
|
+
Yle as a5,
|
|
44684
44684
|
vce as a6,
|
|
44685
|
-
|
|
44686
|
-
|
|
44687
|
-
|
|
44688
|
-
|
|
44689
|
-
|
|
44690
|
-
|
|
44691
|
-
|
|
44692
|
-
|
|
44693
|
-
|
|
44694
|
-
|
|
44685
|
+
yce as a7,
|
|
44686
|
+
Xue as a8,
|
|
44687
|
+
mH as a9,
|
|
44688
|
+
bce as aa,
|
|
44689
|
+
Zp as ab,
|
|
44690
|
+
Gue as ac,
|
|
44691
|
+
$ce as ad,
|
|
44692
|
+
Mj as ae,
|
|
44693
|
+
Zue as af,
|
|
44694
|
+
_j as ag,
|
|
44695
44695
|
xce as ah,
|
|
44696
44696
|
Cce as ai,
|
|
44697
44697
|
wce as aj,
|