@ukpc-lib/react 0.3.34 → 0.3.36

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.
@@ -1968,7 +1968,7 @@ const np = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:w
1968
1968
  window.location.href = `${e}/authentication/login?callbackUrl=${window.location.href}`;
1969
1969
  }, rp = (e) => {
1970
1970
  window.location.href = `${e}/authentication/logout?callbackUrl=${window.location.href}`;
1971
- }, ip = `.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
1971
+ }, ip = `.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}.cancel-btn:hover{background:#C5C5C5}.confirm-btn{background:#e01b00!important}.confirm-btn:hover{background:#BE1700!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
1972
1972
  `;
1973
1973
  function op({
1974
1974
  isOpen: e,
@@ -1987,7 +1987,14 @@ function op({
1987
1987
  /* @__PURE__ */ R.jsx("h3", { className: "modal-title", children: "Log out" }),
1988
1988
  /* @__PURE__ */ R.jsx("p", { className: "text-sm", children: "Are you sure want to log out?" }),
1989
1989
  /* @__PURE__ */ R.jsxs("div", { className: "modal-footer", children: [
1990
- /* @__PURE__ */ R.jsx("button", { className: "modal-button", onClick: t, children: "Cancel" }),
1990
+ /* @__PURE__ */ R.jsx(
1991
+ "button",
1992
+ {
1993
+ className: "modal-button cancel-btn",
1994
+ onClick: t,
1995
+ children: "Cancel"
1996
+ }
1997
+ ),
1991
1998
  /* @__PURE__ */ R.jsx(
1992
1999
  "button",
1993
2000
  {
@@ -6194,25 +6201,25 @@ function Cn(e, t, n, r) {
6194
6201
  const i = (o) => Qy(o, 0, 1, e, n);
6195
6202
  return (o) => o === 0 || o === 1 ? o : zc(i(o), t, r);
6196
6203
  }
6197
- const ev = Cn(0.42, 0, 1, 1), tv = Cn(0, 0, 0.58, 1), Uc = Cn(0.42, 0, 0.58, 1), nv = (e) => Array.isArray(e) && typeof e[0] != "number", Wc = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Hc = (e) => (t) => 1 - e(1 - t), $o = (e) => 1 - Math.sin(Math.acos(e)), qc = Hc($o), rv = Wc($o), Gc = Cn(0.33, 1.53, 0.69, 0.99), zo = Hc(Gc), iv = Wc(zo), ov = (e) => (e *= 2) < 1 ? 0.5 * zo(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), sv = {
6204
+ const e0 = Cn(0.42, 0, 1, 1), t0 = Cn(0, 0, 0.58, 1), Uc = Cn(0.42, 0, 0.58, 1), n0 = (e) => Array.isArray(e) && typeof e[0] != "number", Wc = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Hc = (e) => (t) => 1 - e(1 - t), $o = (e) => 1 - Math.sin(Math.acos(e)), qc = Hc($o), r0 = Wc($o), Gc = Cn(0.33, 1.53, 0.69, 0.99), zo = Hc(Gc), i0 = Wc(zo), o0 = (e) => (e *= 2) < 1 ? 0.5 * zo(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), s0 = {
6198
6205
  linear: G,
6199
- easeIn: ev,
6206
+ easeIn: e0,
6200
6207
  easeInOut: Uc,
6201
- easeOut: tv,
6208
+ easeOut: t0,
6202
6209
  circIn: $o,
6203
- circInOut: rv,
6210
+ circInOut: r0,
6204
6211
  circOut: qc,
6205
6212
  backIn: zo,
6206
- backInOut: iv,
6213
+ backInOut: i0,
6207
6214
  backOut: Gc,
6208
- anticipate: ov
6215
+ anticipate: o0
6209
6216
  }, wa = (e) => {
6210
6217
  if (Array.isArray(e)) {
6211
6218
  Bo(e.length === 4);
6212
6219
  const [t, n, r, i] = e;
6213
6220
  return Cn(t, n, r, i);
6214
6221
  } else if (typeof e == "string")
6215
- return sv[e];
6222
+ return s0[e];
6216
6223
  return e;
6217
6224
  }, Uo = (e, t) => (n) => !!(Sn(n) && sy.test(n) && n.startsWith(e) || t && Object.prototype.hasOwnProperty.call(n, t)), Xc = (e, t, n) => (r) => {
6218
6225
  if (!Sn(r))
@@ -6224,15 +6231,15 @@ const ev = Cn(0.42, 0, 1, 1), tv = Cn(0, 0, 0.58, 1), Uc = Cn(0.42, 0, 0.58, 1),
6224
6231
  [n]: parseFloat(s),
6225
6232
  alpha: a !== void 0 ? parseFloat(a) : 1
6226
6233
  };
6227
- }, av = (e) => st(0, 255, e), di = {
6234
+ }, a0 = (e) => st(0, 255, e), di = {
6228
6235
  ...St,
6229
- transform: (e) => Math.round(av(e))
6236
+ transform: (e) => Math.round(a0(e))
6230
6237
  }, xt = {
6231
6238
  test: Uo("rgb", "red"),
6232
6239
  parse: Xc("red", "green", "blue"),
6233
6240
  transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + di.transform(e) + ", " + di.transform(t) + ", " + di.transform(n) + ", " + sn(on.transform(r)) + ")"
6234
6241
  };
6235
- function lv(e) {
6242
+ function l0(e) {
6236
6243
  let t = "", n = "", r = "", i = "";
6237
6244
  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), {
6238
6245
  red: parseInt(t, 16),
@@ -6243,7 +6250,7 @@ function lv(e) {
6243
6250
  }
6244
6251
  const Wi = {
6245
6252
  test: Uo("#"),
6246
- parse: lv,
6253
+ parse: l0,
6247
6254
  transform: xt.transform
6248
6255
  }, Vt = {
6249
6256
  test: Uo("hsl", "hue"),
@@ -6257,7 +6264,7 @@ const Wi = {
6257
6264
  function hi(e, t, n) {
6258
6265
  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;
6259
6266
  }
6260
- function uv({ hue: e, saturation: t, lightness: n, alpha: r }) {
6267
+ function u0({ hue: e, saturation: t, lightness: n, alpha: r }) {
6261
6268
  e /= 360, t /= 100, n /= 100;
6262
6269
  let i = 0, o = 0, s = 0;
6263
6270
  if (!t)
@@ -6276,17 +6283,17 @@ function uv({ hue: e, saturation: t, lightness: n, alpha: r }) {
6276
6283
  const pi = (e, t, n) => {
6277
6284
  const r = e * e;
6278
6285
  return Math.sqrt(Math.max(0, n * (t * t - r) + r));
6279
- }, cv = [Wi, xt, Vt], fv = (e) => cv.find((t) => t.test(e));
6286
+ }, c0 = [Wi, xt, Vt], f0 = (e) => c0.find((t) => t.test(e));
6280
6287
  function Sa(e) {
6281
- const t = fv(e);
6288
+ const t = f0(e);
6282
6289
  let n = t.parse(e);
6283
- return t === Vt && (n = uv(n)), n;
6290
+ return t === Vt && (n = u0(n)), n;
6284
6291
  }
6285
6292
  const Kc = (e, t) => {
6286
6293
  const n = Sa(e), r = Sa(t), i = { ...n };
6287
6294
  return (o) => (i.red = pi(n.red, r.red, o), i.green = pi(n.green, r.green, o), i.blue = pi(n.blue, r.blue, o), i.alpha = H(n.alpha, r.alpha, o), xt.transform(i));
6288
6295
  };
6289
- function dv(e) {
6296
+ function d0(e) {
6290
6297
  var t, n;
6291
6298
  return isNaN(e) && Sn(e) && (((t = e.match(Ir)) === null || t === void 0 ? void 0 : t.length) || 0) + (((n = e.match(Sc)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
6292
6299
  }
@@ -6333,16 +6340,16 @@ function ef(e) {
6333
6340
  return a;
6334
6341
  };
6335
6342
  }
6336
- const hv = (e) => typeof e == "number" ? 0 : e;
6337
- function pv(e) {
6343
+ const h0 = (e) => typeof e == "number" ? 0 : e;
6344
+ function p0(e) {
6338
6345
  const t = Qc(e);
6339
- return ef(e)(t.map(hv));
6346
+ return ef(e)(t.map(h0));
6340
6347
  }
6341
6348
  const at = {
6342
- test: dv,
6349
+ test: d0,
6343
6350
  parse: Qc,
6344
6351
  createTransformer: ef,
6345
- getAnimatableNone: pv
6352
+ getAnimatableNone: p0
6346
6353
  }, tf = (e, t) => (n) => `${n > 0 ? t : e}`;
6347
6354
  function nf(e, t) {
6348
6355
  return typeof e == "number" ? (n) => H(e, t, n) : oe.test(e) ? Kc(e, t) : e.startsWith("var(") ? tf(e, t) : of(e, t);
@@ -6354,7 +6361,7 @@ const rf = (e, t) => {
6354
6361
  n[s] = i[s](o);
6355
6362
  return n;
6356
6363
  };
6357
- }, mv = (e, t) => {
6364
+ }, m0 = (e, t) => {
6358
6365
  const n = { ...e, ...t }, r = {};
6359
6366
  for (const i in n)
6360
6367
  e[i] !== void 0 && t[i] !== void 0 && (r[i] = nf(e[i], t[i]));
@@ -6370,11 +6377,11 @@ const rf = (e, t) => {
6370
6377
  const r = t - e;
6371
6378
  return r === 0 ? 1 : (n - e) / r;
6372
6379
  }, Ea = (e, t) => (n) => H(e, t, n);
6373
- function gv(e) {
6374
- return typeof e == "number" ? Ea : typeof e == "string" ? oe.test(e) ? Kc : of : Array.isArray(e) ? rf : typeof e == "object" ? mv : Ea;
6380
+ function g0(e) {
6381
+ return typeof e == "number" ? Ea : typeof e == "string" ? oe.test(e) ? Kc : of : Array.isArray(e) ? rf : typeof e == "object" ? m0 : Ea;
6375
6382
  }
6376
- function yv(e, t, n) {
6377
- const r = [], i = n || gv(e[0]), o = e.length - 1;
6383
+ function y0(e, t, n) {
6384
+ const r = [], i = n || g0(e[0]), o = e.length - 1;
6378
6385
  for (let s = 0; s < o; s++) {
6379
6386
  let a = i(e[s], e[s + 1]);
6380
6387
  if (t) {
@@ -6390,7 +6397,7 @@ function sf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
6390
6397
  if (Bo(o === t.length), o === 1)
6391
6398
  return () => t[0];
6392
6399
  e[0] > e[o - 1] && (e = [...e].reverse(), t = [...t].reverse());
6393
- const s = yv(t, r, i), a = s.length, l = (u) => {
6400
+ const s = y0(t, r, i), a = s.length, l = (u) => {
6394
6401
  let f = 0;
6395
6402
  if (a > 1)
6396
6403
  for (; f < e.length - 2 && !(u < e[f + 1]); f++)
@@ -6400,34 +6407,34 @@ function sf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
6400
6407
  };
6401
6408
  return n ? (u) => l(st(e[0], e[o - 1], u)) : l;
6402
6409
  }
6403
- function vv(e, t) {
6410
+ function v0(e, t) {
6404
6411
  const n = e[e.length - 1];
6405
6412
  for (let r = 1; r <= t; r++) {
6406
6413
  const i = gn(0, t, r);
6407
6414
  e.push(H(n, 1, i));
6408
6415
  }
6409
6416
  }
6410
- function xv(e) {
6417
+ function x0(e) {
6411
6418
  const t = [0];
6412
- return vv(t, e.length - 1), t;
6419
+ return v0(t, e.length - 1), t;
6413
6420
  }
6414
- function bv(e, t) {
6421
+ function b0(e, t) {
6415
6422
  return e.map((n) => n * t);
6416
6423
  }
6417
- function wv(e, t) {
6424
+ function w0(e, t) {
6418
6425
  return e.map(() => t || Uc).splice(0, e.length - 1);
6419
6426
  }
6420
6427
  function yr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
6421
- const i = nv(r) ? r.map(wa) : wa(r), o = {
6428
+ const i = n0(r) ? r.map(wa) : wa(r), o = {
6422
6429
  done: !1,
6423
6430
  value: t[0]
6424
- }, s = bv(
6431
+ }, s = b0(
6425
6432
  // Only use the provided offsets if they're the correct length
6426
6433
  // TODO Maybe we should warn here if there's a length mismatch
6427
- n && n.length === t.length ? n : xv(t),
6434
+ n && n.length === t.length ? n : x0(t),
6428
6435
  e
6429
6436
  ), a = sf(s, t, {
6430
- ease: Array.isArray(i) ? i : wv(t, i)
6437
+ ease: Array.isArray(i) ? i : w0(t, i)
6431
6438
  });
6432
6439
  return {
6433
6440
  calculatedDuration: e,
@@ -6437,17 +6444,17 @@ function yr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
6437
6444
  function af(e, t) {
6438
6445
  return t ? e * (1e3 / t) : 0;
6439
6446
  }
6440
- const Sv = 5;
6447
+ const S0 = 5;
6441
6448
  function lf(e, t, n) {
6442
- const r = Math.max(t - Sv, 0);
6449
+ const r = Math.max(t - S0, 0);
6443
6450
  return af(n - e(r), t - r);
6444
6451
  }
6445
- const gi = 1e-3, Ev = 0.01, Ca = 10, Cv = 0.05, kv = 1;
6446
- function Tv({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1 }) {
6452
+ const gi = 1e-3, E0 = 0.01, Ca = 10, C0 = 0.05, k0 = 1;
6453
+ function T0({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1 }) {
6447
6454
  let i, o;
6448
6455
  Gy(e <= ot(Ca));
6449
6456
  let s = 1 - t;
6450
- s = st(Cv, kv, s), e = st(Ev, Ca, ze(e)), s < 1 ? (i = (u) => {
6457
+ s = st(C0, k0, s), e = st(E0, Ca, ze(e)), s < 1 ? (i = (u) => {
6451
6458
  const f = u * s, c = f * e, d = f - n, h = Hi(u, s), p = Math.exp(-c);
6452
6459
  return gi - d / h * p;
6453
6460
  }, o = (u) => {
@@ -6460,7 +6467,7 @@ function Tv({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
6460
6467
  const f = Math.exp(-u * e), c = (n - u) * (e * e);
6461
6468
  return f * c;
6462
6469
  });
6463
- const a = 5 / e, l = Rv(i, o, a);
6470
+ const a = 5 / e, l = R0(i, o, a);
6464
6471
  if (e = ot(e), isNaN(l))
6465
6472
  return {
6466
6473
  stiffness: 100,
@@ -6476,21 +6483,21 @@ function Tv({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
6476
6483
  };
6477
6484
  }
6478
6485
  }
6479
- const Pv = 12;
6480
- function Rv(e, t, n) {
6486
+ const P0 = 12;
6487
+ function R0(e, t, n) {
6481
6488
  let r = n;
6482
- for (let i = 1; i < Pv; i++)
6489
+ for (let i = 1; i < P0; i++)
6483
6490
  r = r - e(r) / t(r);
6484
6491
  return r;
6485
6492
  }
6486
6493
  function Hi(e, t) {
6487
6494
  return e * Math.sqrt(1 - t * t);
6488
6495
  }
6489
- const Av = ["duration", "bounce"], Ov = ["stiffness", "damping", "mass"];
6496
+ const A0 = ["duration", "bounce"], O0 = ["stiffness", "damping", "mass"];
6490
6497
  function ka(e, t) {
6491
6498
  return t.some((n) => e[n] !== void 0);
6492
6499
  }
6493
- function _v(e) {
6500
+ function _0(e) {
6494
6501
  let t = {
6495
6502
  velocity: 0,
6496
6503
  stiffness: 100,
@@ -6499,8 +6506,8 @@ function _v(e) {
6499
6506
  isResolvedFromDuration: !1,
6500
6507
  ...e
6501
6508
  };
6502
- if (!ka(e, Ov) && ka(e, Av)) {
6503
- const n = Tv(e);
6509
+ if (!ka(e, O0) && ka(e, A0)) {
6510
+ const n = T0(e);
6504
6511
  t = {
6505
6512
  ...t,
6506
6513
  ...n,
@@ -6510,7 +6517,7 @@ function _v(e) {
6510
6517
  return t;
6511
6518
  }
6512
6519
  function uf({ keyframes: e, restDelta: t, restSpeed: n, ...r }) {
6513
- const i = e[0], o = e[e.length - 1], s = { done: !1, value: i }, { stiffness: a, damping: l, mass: u, duration: f, velocity: c, isResolvedFromDuration: d } = _v({
6520
+ const i = e[0], o = e[e.length - 1], s = { done: !1, value: i }, { stiffness: a, damping: l, mass: u, duration: f, velocity: c, isResolvedFromDuration: d } = _0({
6514
6521
  ...r,
6515
6522
  velocity: -ze(r.velocity || 0)
6516
6523
  }), h = c || 0, p = l / (2 * Math.sqrt(a * u)), m = o - i, g = ze(Math.sqrt(a / u)), y = Math.abs(m) < 5;
@@ -6578,7 +6585,7 @@ function Ta({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
6578
6585
  }
6579
6586
  };
6580
6587
  }
6581
- const Mv = (e) => {
6588
+ const M0 = (e) => {
6582
6589
  const t = ({ timestamp: n }) => e(n);
6583
6590
  return {
6584
6591
  start: () => $.update(t, !0),
@@ -6598,14 +6605,14 @@ function Ra(e) {
6598
6605
  t += n, r = e.next(t);
6599
6606
  return t >= Pa ? 1 / 0 : t;
6600
6607
  }
6601
- const Vv = {
6608
+ const V0 = {
6602
6609
  decay: Ta,
6603
6610
  inertia: Ta,
6604
6611
  tween: yr,
6605
6612
  keyframes: yr,
6606
6613
  spring: uf
6607
6614
  };
6608
- function vr({ autoplay: e = !0, delay: t = 0, driver: n = Mv, keyframes: r, type: i = "keyframes", repeat: o = 0, repeatDelay: s = 0, repeatType: a = "loop", onPlay: l, onStop: u, onComplete: f, onUpdate: c, ...d }) {
6615
+ function vr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type: i = "keyframes", repeat: o = 0, repeatDelay: s = 0, repeatType: a = "loop", onPlay: l, onStop: u, onComplete: f, onUpdate: c, ...d }) {
6609
6616
  let h = 1, p = !1, m, g;
6610
6617
  const y = () => {
6611
6618
  g = new Promise((I) => {
@@ -6614,7 +6621,7 @@ function vr({ autoplay: e = !0, delay: t = 0, driver: n = Mv, keyframes: r, type
6614
6621
  };
6615
6622
  y();
6616
6623
  let b;
6617
- const v = Vv[i] || yr;
6624
+ const v = V0[i] || yr;
6618
6625
  let S;
6619
6626
  v !== yr && typeof r[0] != "number" && (S = sf([0, 100], r, {
6620
6627
  clamp: !1
@@ -6704,19 +6711,19 @@ function vr({ autoplay: e = !0, delay: t = 0, driver: n = Mv, keyframes: r, type
6704
6711
  };
6705
6712
  return Et;
6706
6713
  }
6707
- function Fv(e) {
6714
+ function F0(e) {
6708
6715
  let t;
6709
6716
  return () => (t === void 0 && (t = e()), t);
6710
6717
  }
6711
- const Lv = Fv(() => Object.hasOwnProperty.call(Element.prototype, "animate")), Dv = /* @__PURE__ */ new Set([
6718
+ const L0 = F0(() => Object.hasOwnProperty.call(Element.prototype, "animate")), D0 = /* @__PURE__ */ new Set([
6712
6719
  "opacity",
6713
6720
  "clipPath",
6714
6721
  "filter",
6715
6722
  "transform",
6716
6723
  "backgroundColor"
6717
- ]), Fn = 10, jv = 2e4, Iv = (e, t) => t.type === "spring" || e === "backgroundColor" || !Nc(t.ease);
6718
- function Nv(e, t, { onUpdate: n, onComplete: r, ...i }) {
6719
- if (!(Lv() && Dv.has(t) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
6724
+ ]), Fn = 10, j0 = 2e4, I0 = (e, t) => t.type === "spring" || e === "backgroundColor" || !Nc(t.ease);
6725
+ function N0(e, t, { onUpdate: n, onComplete: r, ...i }) {
6726
+ if (!(L0() && D0.has(t) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
6720
6727
  return !1;
6721
6728
  let s = !1, a, l, u = !1;
6722
6729
  const f = () => {
@@ -6726,7 +6733,7 @@ function Nv(e, t, { onUpdate: n, onComplete: r, ...i }) {
6726
6733
  };
6727
6734
  f();
6728
6735
  let { keyframes: c, duration: d = 300, ease: h, times: p } = i;
6729
- if (Iv(t, i)) {
6736
+ if (I0(t, i)) {
6730
6737
  const v = vr({
6731
6738
  ...i,
6732
6739
  repeat: 0,
@@ -6735,7 +6742,7 @@ function Nv(e, t, { onUpdate: n, onComplete: r, ...i }) {
6735
6742
  let S = { done: !1, value: c[0] };
6736
6743
  const E = [];
6737
6744
  let C = 0;
6738
- for (; !S.done && C < jv; )
6745
+ for (; !S.done && C < j0; )
6739
6746
  S = v.sample(C), E.push(S.value), C += Fn;
6740
6747
  p = void 0, c = E, d = C - Fn, h = "linear";
6741
6748
  }
@@ -6804,7 +6811,7 @@ function Nv(e, t, { onUpdate: n, onComplete: r, ...i }) {
6804
6811
  cancel: y
6805
6812
  };
6806
6813
  }
6807
- function Bv({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
6814
+ function B0({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
6808
6815
  const i = () => (n && n(e[e.length - 1]), r && r(), {
6809
6816
  time: 0,
6810
6817
  speed: 1,
@@ -6823,27 +6830,27 @@ function Bv({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
6823
6830
  onComplete: i
6824
6831
  }) : i();
6825
6832
  }
6826
- const $v = {
6833
+ const $0 = {
6827
6834
  type: "spring",
6828
6835
  stiffness: 500,
6829
6836
  damping: 25,
6830
6837
  restSpeed: 10
6831
- }, zv = (e) => ({
6838
+ }, z0 = (e) => ({
6832
6839
  type: "spring",
6833
6840
  stiffness: 550,
6834
6841
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
6835
6842
  restSpeed: 10
6836
- }), Uv = {
6843
+ }), U0 = {
6837
6844
  type: "keyframes",
6838
6845
  duration: 0.8
6839
- }, Wv = {
6846
+ }, W0 = {
6840
6847
  type: "keyframes",
6841
6848
  ease: [0.25, 0.1, 0.35, 1],
6842
6849
  duration: 0.3
6843
- }, Hv = (e, { keyframes: t }) => t.length > 2 ? Uv : wt.has(e) ? e.startsWith("scale") ? zv(t[1]) : $v : Wv, qi = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
6850
+ }, H0 = (e, { keyframes: t }) => t.length > 2 ? U0 : wt.has(e) ? e.startsWith("scale") ? z0(t[1]) : $0 : W0, qi = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
6844
6851
  (at.test(t) || t === "0") && // And it contains numbers and/or colors
6845
- !t.startsWith("url(")), qv = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
6846
- function Gv(e) {
6852
+ !t.startsWith("url(")), q0 = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
6853
+ function G0(e) {
6847
6854
  const [t, n] = e.slice(0, -1).split("(");
6848
6855
  if (t === "drop-shadow")
6849
6856
  return e;
@@ -6851,16 +6858,16 @@ function Gv(e) {
6851
6858
  if (!r)
6852
6859
  return e;
6853
6860
  const i = n.replace(r, "");
6854
- let o = qv.has(t) ? 1 : 0;
6861
+ let o = q0.has(t) ? 1 : 0;
6855
6862
  return r !== n && (o *= 100), t + "(" + o + i + ")";
6856
6863
  }
6857
- const Xv = /([a-z-]*)\(.*?\)/g, Gi = {
6864
+ const X0 = /([a-z-]*)\(.*?\)/g, Gi = {
6858
6865
  ...at,
6859
6866
  getAnimatableNone: (e) => {
6860
- const t = e.match(Xv);
6861
- return t ? t.map(Gv).join(" ") : e;
6867
+ const t = e.match(X0);
6868
+ return t ? t.map(G0).join(" ") : e;
6862
6869
  }
6863
- }, Kv = {
6870
+ }, K0 = {
6864
6871
  ...Ec,
6865
6872
  // Color props
6866
6873
  color: oe,
@@ -6876,19 +6883,19 @@ const Xv = /([a-z-]*)\(.*?\)/g, Gi = {
6876
6883
  borderLeftColor: oe,
6877
6884
  filter: Gi,
6878
6885
  WebkitFilter: Gi
6879
- }, Wo = (e) => Kv[e];
6886
+ }, Wo = (e) => K0[e];
6880
6887
  function cf(e, t) {
6881
6888
  let n = Wo(e);
6882
6889
  return n !== Gi && (n = at), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
6883
6890
  }
6884
6891
  const ff = (e) => /^0[^.\s]+$/.test(e);
6885
- function Yv(e) {
6892
+ function Y0(e) {
6886
6893
  if (typeof e == "number")
6887
6894
  return e === 0;
6888
6895
  if (e !== null)
6889
6896
  return e === "none" || e === "0" || ff(e);
6890
6897
  }
6891
- function Jv(e, t, n, r) {
6898
+ function J0(e, t, n, r) {
6892
6899
  const i = qi(t, n);
6893
6900
  let o;
6894
6901
  Array.isArray(n) ? o = [...n] : o = [null, n];
@@ -6896,7 +6903,7 @@ function Jv(e, t, n, r) {
6896
6903
  let a;
6897
6904
  const l = [];
6898
6905
  for (let u = 0; u < o.length; u++)
6899
- o[u] === null && (o[u] = u === 0 ? s : o[u - 1]), Yv(o[u]) && l.push(u), typeof o[u] == "string" && o[u] !== "none" && o[u] !== "0" && (a = o[u]);
6906
+ o[u] === null && (o[u] = u === 0 ? s : o[u - 1]), Y0(o[u]) && l.push(u), typeof o[u] == "string" && o[u] !== "none" && o[u] !== "0" && (a = o[u]);
6900
6907
  if (i && l.length && a)
6901
6908
  for (let u = 0; u < l.length; u++) {
6902
6909
  const f = l[u];
@@ -6904,19 +6911,19 @@ function Jv(e, t, n, r) {
6904
6911
  }
6905
6912
  return o;
6906
6913
  }
6907
- function Zv({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: o, repeatType: s, repeatDelay: a, from: l, elapsed: u, ...f }) {
6914
+ function Z0({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: o, repeatType: s, repeatDelay: a, from: l, elapsed: u, ...f }) {
6908
6915
  return !!Object.keys(f).length;
6909
6916
  }
6910
6917
  function Ho(e, t) {
6911
6918
  return e[t] || e.default || e;
6912
6919
  }
6913
- const Qv = {
6920
+ const Q0 = {
6914
6921
  skipAnimations: !1
6915
6922
  }, qo = (e, t, n, r = {}) => (i) => {
6916
6923
  const o = Ho(r, e) || {}, s = o.delay || r.delay || 0;
6917
6924
  let { elapsed: a = 0 } = r;
6918
6925
  a = a - ot(s);
6919
- const l = Jv(t, e, n, o), u = l[0], f = l[l.length - 1], c = qi(e, u), d = qi(e, f);
6926
+ const l = J0(t, e, n, o), u = l[0], f = l[l.length - 1], c = qi(e, u), d = qi(e, f);
6920
6927
  let h = {
6921
6928
  keyframes: l,
6922
6929
  velocity: t.getVelocity(),
@@ -6930,11 +6937,11 @@ const Qv = {
6930
6937
  i(), o.onComplete && o.onComplete();
6931
6938
  }
6932
6939
  };
6933
- if (Zv(o) || (h = {
6940
+ if (Z0(o) || (h = {
6934
6941
  ...h,
6935
- ...Hv(e, h)
6936
- }), h.duration && (h.duration = ot(h.duration)), h.repeatDelay && (h.repeatDelay = ot(h.repeatDelay)), !c || !d || Xy.current || o.type === !1 || Qv.skipAnimations)
6937
- return Bv(h);
6942
+ ...H0(e, h)
6943
+ }), h.duration && (h.duration = ot(h.duration)), h.repeatDelay && (h.repeatDelay = ot(h.repeatDelay)), !c || !d || Xy.current || o.type === !1 || Q0.skipAnimations)
6944
+ return B0(h);
6938
6945
  if (
6939
6946
  /**
6940
6947
  * If this is a handoff animation, the optimised animation will be running via
@@ -6947,7 +6954,7 @@ const Qv = {
6947
6954
  */
6948
6955
  !t.owner.getProps().onUpdate
6949
6956
  ) {
6950
- const p = Nv(t, e, h);
6957
+ const p = N0(t, e, h);
6951
6958
  if (p)
6952
6959
  return p;
6953
6960
  }
@@ -6989,8 +6996,8 @@ class Ko {
6989
6996
  this.subscriptions.length = 0;
6990
6997
  }
6991
6998
  }
6992
- const e0 = (e) => !isNaN(parseFloat(e));
6993
- class t0 {
6999
+ const ev = (e) => !isNaN(parseFloat(e));
7000
+ class tv {
6994
7001
  /**
6995
7002
  * @param init - The initiating value
6996
7003
  * @param config - Optional configuration options
@@ -7006,7 +7013,7 @@ class t0 {
7006
7013
  this.lastUpdated !== s && (this.timeDelta = o, this.lastUpdated = s, $.postRender(this.scheduleVelocityCheck)), this.prev !== this.current && this.events.change && this.events.change.notify(this.current), this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()), i && this.events.renderRequest && this.events.renderRequest.notify(this.current);
7007
7014
  }, this.scheduleVelocityCheck = () => $.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: r }) => {
7008
7015
  r !== this.lastUpdated && (this.prev = this.current, this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()));
7009
- }, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity = e0(this.current), this.owner = n.owner;
7016
+ }, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity = ev(this.current), this.owner = n.owner;
7010
7017
  }
7011
7018
  /**
7012
7019
  * Adds a function that will be notified when the `MotionValue` is updated.
@@ -7181,41 +7188,41 @@ class t0 {
7181
7188
  }
7182
7189
  }
7183
7190
  function jt(e, t) {
7184
- return new t0(e, t);
7191
+ return new tv(e, t);
7185
7192
  }
7186
- const hf = (e) => (t) => t.test(e), n0 = {
7193
+ const hf = (e) => (t) => t.test(e), nv = {
7187
7194
  test: (e) => e === "auto",
7188
7195
  parse: (e) => e
7189
- }, pf = [St, O, Fe, Qe, ly, ay, n0], qt = (e) => pf.find(hf(e)), r0 = [...pf, oe, at], i0 = (e) => r0.find(hf(e));
7190
- function o0(e, t, n) {
7196
+ }, pf = [St, O, Fe, Qe, ly, ay, nv], qt = (e) => pf.find(hf(e)), rv = [...pf, oe, at], iv = (e) => rv.find(hf(e));
7197
+ function ov(e, t, n) {
7191
7198
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, jt(n));
7192
7199
  }
7193
- function s0(e, t) {
7200
+ function sv(e, t) {
7194
7201
  const n = Br(e, t);
7195
7202
  let { transitionEnd: r = {}, transition: i = {}, ...o } = n ? e.makeTargetAnimatable(n, !1) : {};
7196
7203
  o = { ...o, ...r };
7197
7204
  for (const s in o) {
7198
7205
  const a = Ey(o[s]);
7199
- o0(e, s, a);
7206
+ ov(e, s, a);
7200
7207
  }
7201
7208
  }
7202
- function a0(e, t, n) {
7209
+ function av(e, t, n) {
7203
7210
  var r, i;
7204
7211
  const o = Object.keys(t).filter((a) => !e.hasValue(a)), s = o.length;
7205
7212
  if (s)
7206
7213
  for (let a = 0; a < s; a++) {
7207
7214
  const l = o[a], u = t[l];
7208
7215
  let f = null;
7209
- Array.isArray(u) && (f = u[0]), f === null && (f = (i = (r = n[l]) !== null && r !== void 0 ? r : e.readValue(l)) !== null && i !== void 0 ? i : t[l]), f != null && (typeof f == "string" && (df(f) || ff(f)) ? f = parseFloat(f) : !i0(f) && at.test(u) && (f = cf(l, u)), e.addValue(l, jt(f, { owner: e })), n[l] === void 0 && (n[l] = f), f !== null && e.setBaseTarget(l, f));
7216
+ Array.isArray(u) && (f = u[0]), f === null && (f = (i = (r = n[l]) !== null && r !== void 0 ? r : e.readValue(l)) !== null && i !== void 0 ? i : t[l]), f != null && (typeof f == "string" && (df(f) || ff(f)) ? f = parseFloat(f) : !iv(f) && at.test(u) && (f = cf(l, u)), e.addValue(l, jt(f, { owner: e })), n[l] === void 0 && (n[l] = f), f !== null && e.setBaseTarget(l, f));
7210
7217
  }
7211
7218
  }
7212
- function l0(e, t) {
7219
+ function lv(e, t) {
7213
7220
  return t ? (t[e] || t.default || t).from : void 0;
7214
7221
  }
7215
- function u0(e, t, n) {
7222
+ function uv(e, t, n) {
7216
7223
  const r = {};
7217
7224
  for (const i in e) {
7218
- const o = l0(i, t);
7225
+ const o = lv(i, t);
7219
7226
  if (o !== void 0)
7220
7227
  r[i] = o;
7221
7228
  else {
@@ -7225,11 +7232,11 @@ function u0(e, t, n) {
7225
7232
  }
7226
7233
  return r;
7227
7234
  }
7228
- function c0({ protectedKeys: e, needsAnimating: t }, n) {
7235
+ function cv({ protectedKeys: e, needsAnimating: t }, n) {
7229
7236
  const r = e.hasOwnProperty(n) && t[n] !== !0;
7230
7237
  return t[n] = !1, r;
7231
7238
  }
7232
- function f0(e, t) {
7239
+ function fv(e, t) {
7233
7240
  const n = e.get();
7234
7241
  if (Array.isArray(t)) {
7235
7242
  for (let r = 0; r < t.length; r++)
@@ -7245,7 +7252,7 @@ function mf(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
7245
7252
  const u = [], f = i && e.animationState && e.animationState.getState()[i];
7246
7253
  for (const c in a) {
7247
7254
  const d = e.getValue(c), h = a[c];
7248
- if (!d || h === void 0 || f && c0(f, c))
7255
+ if (!d || h === void 0 || f && cv(f, c))
7249
7256
  continue;
7250
7257
  const p = {
7251
7258
  delay: n,
@@ -7259,7 +7266,7 @@ function mf(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
7259
7266
  b !== null && (p.elapsed = b, p.isHandoff = !0);
7260
7267
  }
7261
7268
  }
7262
- let m = !p.isHandoff && !f0(d, h);
7269
+ let m = !p.isHandoff && !fv(d, h);
7263
7270
  if (p.type === "spring" && (d.getVelocity() || p.velocity) && (m = !1), d.animation && (m = !1), m)
7264
7271
  continue;
7265
7272
  d.start(qo(c, d, h, e.shouldReduceMotion && wt.has(c) ? { type: !1 } : p));
@@ -7267,7 +7274,7 @@ function mf(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
7267
7274
  xr(l) && (l.add(c), g.then(() => l.remove(c))), u.push(g);
7268
7275
  }
7269
7276
  return s && Promise.all(u).then(() => {
7270
- s && s0(e, s);
7277
+ s && sv(e, s);
7271
7278
  }), u;
7272
7279
  }
7273
7280
  function Xi(e, t, n = {}) {
@@ -7276,7 +7283,7 @@ function Xi(e, t, n = {}) {
7276
7283
  n.transitionOverride && (i = n.transitionOverride);
7277
7284
  const o = r ? () => Promise.all(mf(e, r, n)) : () => Promise.resolve(), s = e.variantChildren && e.variantChildren.size ? (l = 0) => {
7278
7285
  const { delayChildren: u = 0, staggerChildren: f, staggerDirection: c } = i;
7279
- return d0(e, t, u + l, f, c, n);
7286
+ return dv(e, t, u + l, f, c, n);
7280
7287
  } : () => Promise.resolve(), { when: a } = i;
7281
7288
  if (a) {
7282
7289
  const [l, u] = a === "beforeChildren" ? [o, s] : [s, o];
@@ -7284,19 +7291,19 @@ function Xi(e, t, n = {}) {
7284
7291
  } else
7285
7292
  return Promise.all([o(), s(n.delay)]);
7286
7293
  }
7287
- function d0(e, t, n = 0, r = 0, i = 1, o) {
7294
+ function dv(e, t, n = 0, r = 0, i = 1, o) {
7288
7295
  const s = [], a = (e.variantChildren.size - 1) * r, l = i === 1 ? (u = 0) => u * r : (u = 0) => a - u * r;
7289
- return Array.from(e.variantChildren).sort(h0).forEach((u, f) => {
7296
+ return Array.from(e.variantChildren).sort(hv).forEach((u, f) => {
7290
7297
  u.notify("AnimationStart", t), s.push(Xi(u, t, {
7291
7298
  ...o,
7292
7299
  delay: n + l(f)
7293
7300
  }).then(() => u.notify("AnimationComplete", t)));
7294
7301
  }), Promise.all(s);
7295
7302
  }
7296
- function h0(e, t) {
7303
+ function hv(e, t) {
7297
7304
  return e.sortNodePosition(t);
7298
7305
  }
7299
- function p0(e, t, n = {}) {
7306
+ function pv(e, t, n = {}) {
7300
7307
  e.notify("AnimationStart", t);
7301
7308
  let r;
7302
7309
  if (Array.isArray(t)) {
@@ -7310,13 +7317,13 @@ function p0(e, t, n = {}) {
7310
7317
  }
7311
7318
  return r.then(() => e.notify("AnimationComplete", t));
7312
7319
  }
7313
- const m0 = [..._o].reverse(), g0 = _o.length;
7314
- function y0(e) {
7315
- return (t) => Promise.all(t.map(({ animation: n, options: r }) => p0(e, n, r)));
7320
+ const mv = [..._o].reverse(), gv = _o.length;
7321
+ function yv(e) {
7322
+ return (t) => Promise.all(t.map(({ animation: n, options: r }) => pv(e, n, r)));
7316
7323
  }
7317
- function v0(e) {
7318
- let t = y0(e);
7319
- const n = b0();
7324
+ function vv(e) {
7325
+ let t = yv(e);
7326
+ const n = bv();
7320
7327
  let r = !0;
7321
7328
  const i = (l, u) => {
7322
7329
  const f = Br(e, u);
@@ -7332,8 +7339,8 @@ function v0(e) {
7332
7339
  function s(l, u) {
7333
7340
  const f = e.getProps(), c = e.getVariantContext(!0) || {}, d = [], h = /* @__PURE__ */ new Set();
7334
7341
  let p = {}, m = 1 / 0;
7335
- for (let y = 0; y < g0; y++) {
7336
- const b = m0[y], v = n[b], S = f[b] !== void 0 ? f[b] : c[b], E = pn(S), C = b === u ? v.isActive : null;
7342
+ for (let y = 0; y < gv; y++) {
7343
+ const b = mv[y], v = n[b], S = f[b] !== void 0 ? f[b] : c[b], E = pn(S), C = b === u ? v.isActive : null;
7337
7344
  C === !1 && (m = y);
7338
7345
  let T = S === c[b] && S !== f[b] && E;
7339
7346
  if (T && r && e.manuallyAnimateOnMount && (T = !1), v.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
@@ -7341,7 +7348,7 @@ function v0(e) {
7341
7348
  !S && !v.prevProp || // Or if the prop doesn't define an animation
7342
7349
  Dr(S) || typeof S == "boolean")
7343
7350
  continue;
7344
- let M = x0(v.prevProp, S) || // If we're making this variant active, we want to always make it active
7351
+ let M = xv(v.prevProp, S) || // If we're making this variant active, we want to always make it active
7345
7352
  b === u && v.isActive && !T && E || // If we removed a higher-priority variant (i is in reverse order)
7346
7353
  y > m && E, X = !1;
7347
7354
  const W = Array.isArray(S) ? S : [S];
@@ -7395,7 +7402,7 @@ function v0(e) {
7395
7402
  getState: () => n
7396
7403
  };
7397
7404
  }
7398
- function x0(e, t) {
7405
+ function xv(e, t) {
7399
7406
  return typeof t == "string" ? t !== e : Array.isArray(t) ? !jc(t, e) : !1;
7400
7407
  }
7401
7408
  function ft(e = !1) {
@@ -7406,7 +7413,7 @@ function ft(e = !1) {
7406
7413
  prevResolvedValues: {}
7407
7414
  };
7408
7415
  }
7409
- function b0() {
7416
+ function bv() {
7410
7417
  return {
7411
7418
  animate: ft(!0),
7412
7419
  whileInView: ft(),
@@ -7417,14 +7424,14 @@ function b0() {
7417
7424
  exit: ft()
7418
7425
  };
7419
7426
  }
7420
- class w0 extends lt {
7427
+ class wv extends lt {
7421
7428
  /**
7422
7429
  * We dynamically generate the AnimationState manager as it contains a reference
7423
7430
  * to the underlying animation library. We only want to load that if we load this,
7424
7431
  * so people can optionally code split it out using the `m` component.
7425
7432
  */
7426
7433
  constructor(t) {
7427
- super(t), t.animationState || (t.animationState = v0(t));
7434
+ super(t), t.animationState || (t.animationState = vv(t));
7428
7435
  }
7429
7436
  updateAnimationControlsSubscription() {
7430
7437
  const { animate: t } = this.node.getProps();
@@ -7443,10 +7450,10 @@ class w0 extends lt {
7443
7450
  unmount() {
7444
7451
  }
7445
7452
  }
7446
- let S0 = 0;
7447
- class E0 extends lt {
7453
+ let Sv = 0;
7454
+ class Ev extends lt {
7448
7455
  constructor() {
7449
- super(...arguments), this.id = S0++;
7456
+ super(...arguments), this.id = Sv++;
7450
7457
  }
7451
7458
  update() {
7452
7459
  if (!this.node.presenceContext)
@@ -7464,15 +7471,15 @@ class E0 extends lt {
7464
7471
  unmount() {
7465
7472
  }
7466
7473
  }
7467
- const C0 = {
7474
+ const Cv = {
7468
7475
  animation: {
7469
- Feature: w0
7476
+ Feature: wv
7470
7477
  },
7471
7478
  exit: {
7472
- Feature: E0
7479
+ Feature: Ev
7473
7480
  }
7474
7481
  }, Aa = (e, t) => Math.abs(e - t);
7475
- function k0(e, t) {
7482
+ function kv(e, t) {
7476
7483
  const n = Aa(e.x, t.x), r = Aa(e.y, t.y);
7477
7484
  return Math.sqrt(n ** 2 + r ** 2);
7478
7485
  }
@@ -7481,7 +7488,7 @@ class gf {
7481
7488
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
7482
7489
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
7483
7490
  return;
7484
- const c = vi(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, h = k0(c.offset, { x: 0, y: 0 }) >= 3;
7491
+ const c = vi(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, h = kv(c.offset, { x: 0, y: 0 }) >= 3;
7485
7492
  if (!d && !h)
7486
7493
  return;
7487
7494
  const { point: p } = c, { timestamp: m } = re;
@@ -7522,17 +7529,17 @@ function vi({ point: e }, t) {
7522
7529
  return {
7523
7530
  point: e,
7524
7531
  delta: Oa(e, yf(t)),
7525
- offset: Oa(e, T0(t)),
7526
- velocity: P0(t, 0.1)
7532
+ offset: Oa(e, Tv(t)),
7533
+ velocity: Pv(t, 0.1)
7527
7534
  };
7528
7535
  }
7529
- function T0(e) {
7536
+ function Tv(e) {
7530
7537
  return e[0];
7531
7538
  }
7532
7539
  function yf(e) {
7533
7540
  return e[e.length - 1];
7534
7541
  }
7535
- function P0(e, t) {
7542
+ function Pv(e, t) {
7536
7543
  if (e.length < 2)
7537
7544
  return { x: 0, y: 0 };
7538
7545
  let n = e.length - 1, r = null;
@@ -7565,7 +7572,7 @@ function an(e, t, n, r) {
7565
7572
  function Ma(e, t, n) {
7566
7573
  e.min = n.min + t.min, e.max = e.min + be(t);
7567
7574
  }
7568
- function R0(e, t, n) {
7575
+ function Rv(e, t, n) {
7569
7576
  Ma(e.x, t.x, n.x), Ma(e.y, t.y, n.y);
7570
7577
  }
7571
7578
  function Va(e, t, n) {
@@ -7574,7 +7581,7 @@ function Va(e, t, n) {
7574
7581
  function ln(e, t, n) {
7575
7582
  Va(e.x, t.x, n.x), Va(e.y, t.y, n.y);
7576
7583
  }
7577
- function A0(e, { min: t, max: n }, r) {
7584
+ function Av(e, { min: t, max: n }, r) {
7578
7585
  return t !== void 0 && e < t ? e = r ? H(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? H(n, e, r.max) : Math.min(e, n)), e;
7579
7586
  }
7580
7587
  function Fa(e, t, n) {
@@ -7583,7 +7590,7 @@ function Fa(e, t, n) {
7583
7590
  max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
7584
7591
  };
7585
7592
  }
7586
- function O0(e, { top: t, left: n, bottom: r, right: i }) {
7593
+ function Ov(e, { top: t, left: n, bottom: r, right: i }) {
7587
7594
  return {
7588
7595
  x: Fa(e.x, n, i),
7589
7596
  y: Fa(e.y, t, r)
@@ -7593,23 +7600,23 @@ function La(e, t) {
7593
7600
  let n = t.min - e.min, r = t.max - e.max;
7594
7601
  return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
7595
7602
  }
7596
- function _0(e, t) {
7603
+ function _v(e, t) {
7597
7604
  return {
7598
7605
  x: La(e.x, t.x),
7599
7606
  y: La(e.y, t.y)
7600
7607
  };
7601
7608
  }
7602
- function M0(e, t) {
7609
+ function Mv(e, t) {
7603
7610
  let n = 0.5;
7604
7611
  const r = be(e), i = be(t);
7605
7612
  return i > r ? n = gn(t.min, t.max - r, e.min) : r > i && (n = gn(e.min, e.max - i, t.min)), st(0, 1, n);
7606
7613
  }
7607
- function V0(e, t) {
7614
+ function Vv(e, t) {
7608
7615
  const n = {};
7609
7616
  return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
7610
7617
  }
7611
7618
  const Yi = 0.35;
7612
- function F0(e = Yi) {
7619
+ function Fv(e = Yi) {
7613
7620
  return e === !1 ? e = 0 : e === !0 && (e = Yi), {
7614
7621
  x: Da(e, "left", "right"),
7615
7622
  y: Da(e, "top", "bottom")
@@ -7645,10 +7652,10 @@ function vf({ top: e, left: t, right: n, bottom: r }) {
7645
7652
  y: { min: e, max: r }
7646
7653
  };
7647
7654
  }
7648
- function L0({ x: e, y: t }) {
7655
+ function Lv({ x: e, y: t }) {
7649
7656
  return { top: t.min, right: e.max, bottom: t.max, left: e.min };
7650
7657
  }
7651
- function D0(e, t) {
7658
+ function Dv(e, t) {
7652
7659
  if (!t)
7653
7660
  return e;
7654
7661
  const n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom });
@@ -7687,7 +7694,7 @@ function Zi(e, t = 0, n = 1, r, i) {
7687
7694
  function bf(e, { x: t, y: n }) {
7688
7695
  Zi(e.x, t.translate, t.scale, t.originPoint), Zi(e.y, n.translate, n.scale, n.originPoint);
7689
7696
  }
7690
- function j0(e, t, n, r = !1) {
7697
+ function jv(e, t, n, r = !1) {
7691
7698
  const i = n.length;
7692
7699
  if (!i)
7693
7700
  return;
@@ -7713,19 +7720,19 @@ function Ua(e, t, [n, r, i]) {
7713
7720
  const o = t[i] !== void 0 ? t[i] : 0.5, s = H(e.min, e.max, o);
7714
7721
  Zi(e, t[n], t[r], s, t.scale);
7715
7722
  }
7716
- const I0 = ["x", "scaleX", "originX"], N0 = ["y", "scaleY", "originY"];
7723
+ const Iv = ["x", "scaleX", "originX"], Nv = ["y", "scaleY", "originY"];
7717
7724
  function Lt(e, t) {
7718
- Ua(e.x, t, I0), Ua(e.y, t, N0);
7725
+ Ua(e.x, t, Iv), Ua(e.y, t, Nv);
7719
7726
  }
7720
7727
  function wf(e, t) {
7721
- return vf(D0(e.getBoundingClientRect(), t));
7728
+ return vf(Dv(e.getBoundingClientRect(), t));
7722
7729
  }
7723
- function B0(e, t, n) {
7730
+ function Bv(e, t, n) {
7724
7731
  const r = wf(e, n), { scroll: i } = t;
7725
7732
  return i && (et(r.x, i.offset.x), et(r.y, i.offset.y)), r;
7726
7733
  }
7727
- const Sf = ({ current: e }) => e ? e.ownerDocument.defaultView : null, $0 = /* @__PURE__ */ new WeakMap();
7728
- class z0 {
7734
+ const Sf = ({ current: e }) => e ? e.ownerDocument.defaultView : null, $v = /* @__PURE__ */ new WeakMap();
7735
+ class zv {
7729
7736
  constructor(t) {
7730
7737
  this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = J(), this.visualElement = t;
7731
7738
  }
@@ -7759,7 +7766,7 @@ class z0 {
7759
7766
  return;
7760
7767
  const { offset: g } = c;
7761
7768
  if (h && this.currentDirection === null) {
7762
- this.currentDirection = U0(g), this.currentDirection !== null && p && p(this.currentDirection);
7769
+ this.currentDirection = Uv(g), this.currentDirection !== null && p && p(this.currentDirection);
7763
7770
  return;
7764
7771
  }
7765
7772
  this.updateAxis("x", c.point, g), this.updateAxis("y", c.point, g), this.visualElement.render(), m && m(f, c);
@@ -7801,13 +7808,13 @@ class z0 {
7801
7808
  return;
7802
7809
  const o = this.getAxisMotionValue(t);
7803
7810
  let s = this.originPoint[t] + r[t];
7804
- this.constraints && this.constraints[t] && (s = A0(s, this.constraints[t], this.elastic[t])), o.set(s);
7811
+ this.constraints && this.constraints[t] && (s = Av(s, this.constraints[t], this.elastic[t])), o.set(s);
7805
7812
  }
7806
7813
  resolveConstraints() {
7807
7814
  var t;
7808
7815
  const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, o = this.constraints;
7809
- n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = O0(i.layoutBox, n) : this.constraints = !1, this.elastic = F0(r), o !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && Se((s) => {
7810
- this.getAxisMotionValue(s) && (this.constraints[s] = V0(i.layoutBox[s], this.constraints[s]));
7816
+ n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Ov(i.layoutBox, n) : this.constraints = !1, this.elastic = Fv(r), o !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && Se((s) => {
7817
+ this.getAxisMotionValue(s) && (this.constraints[s] = Vv(i.layoutBox[s], this.constraints[s]));
7811
7818
  });
7812
7819
  }
7813
7820
  resolveRefConstraints() {
@@ -7817,10 +7824,10 @@ class z0 {
7817
7824
  const r = t.current, { projection: i } = this.visualElement;
7818
7825
  if (!i || !i.layout)
7819
7826
  return !1;
7820
- const o = B0(r, i.root, this.visualElement.getTransformPagePoint());
7821
- let s = _0(i.layout.layoutBox, o);
7827
+ const o = Bv(r, i.root, this.visualElement.getTransformPagePoint());
7828
+ let s = _v(i.layout.layoutBox, o);
7822
7829
  if (n) {
7823
- const a = n(L0(s));
7830
+ const a = n(Lv(s));
7824
7831
  this.hasMutatedConstraints = !!a, a && (s = vf(a));
7825
7832
  }
7826
7833
  return s;
@@ -7902,7 +7909,7 @@ class z0 {
7902
7909
  const a = this.getAxisMotionValue(s);
7903
7910
  if (a) {
7904
7911
  const l = a.get();
7905
- i[s] = M0({ min: l, max: l }, this.constraints[s]);
7912
+ i[s] = Mv({ min: l, max: l }, this.constraints[s]);
7906
7913
  }
7907
7914
  });
7908
7915
  const { transformTemplate: o } = this.visualElement.getProps();
@@ -7916,7 +7923,7 @@ class z0 {
7916
7923
  addListeners() {
7917
7924
  if (!this.visualElement.current)
7918
7925
  return;
7919
- $0.set(this.visualElement, this);
7926
+ $v.set(this.visualElement, this);
7920
7927
  const t = this.visualElement.current, n = $e(t, "pointerdown", (l) => {
7921
7928
  const { drag: u, dragListener: f = !0 } = this.getProps();
7922
7929
  u && f && this.start(l);
@@ -7951,13 +7958,13 @@ class z0 {
7951
7958
  function Ln(e, t, n) {
7952
7959
  return (t === !0 || t === e) && (n === null || n === e);
7953
7960
  }
7954
- function U0(e, t = 10) {
7961
+ function Uv(e, t = 10) {
7955
7962
  let n = null;
7956
7963
  return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
7957
7964
  }
7958
- class W0 extends lt {
7965
+ class Wv extends lt {
7959
7966
  constructor(t) {
7960
- super(t), this.removeGroupControls = G, this.removeListeners = G, this.controls = new z0(t);
7967
+ super(t), this.removeGroupControls = G, this.removeListeners = G, this.controls = new zv(t);
7961
7968
  }
7962
7969
  mount() {
7963
7970
  const { dragControls: t } = this.node.getProps();
@@ -7970,7 +7977,7 @@ class W0 extends lt {
7970
7977
  const Wa = (e) => (t, n) => {
7971
7978
  e && $.update(() => e(t, n));
7972
7979
  };
7973
- class H0 extends lt {
7980
+ class Hv extends lt {
7974
7981
  constructor() {
7975
7982
  super(...arguments), this.removePointerDownListener = G;
7976
7983
  }
@@ -8001,7 +8008,7 @@ class H0 extends lt {
8001
8008
  this.removePointerDownListener(), this.session && this.session.end();
8002
8009
  }
8003
8010
  }
8004
- function q0() {
8011
+ function qv() {
8005
8012
  const e = x.useContext(Ao);
8006
8013
  if (e === null)
8007
8014
  return [!0, null];
@@ -8035,7 +8042,7 @@ const Gt = {
8035
8042
  const n = Ha(e, t.target.x), r = Ha(e, t.target.y);
8036
8043
  return `${n}% ${r}%`;
8037
8044
  }
8038
- }, G0 = {
8045
+ }, Gv = {
8039
8046
  correct: (e, { treeScale: t, projectionDelta: n }) => {
8040
8047
  const r = e, i = at.parse(e);
8041
8048
  if (i.length > 5)
@@ -8046,7 +8053,7 @@ const Gt = {
8046
8053
  return typeof i[2 + s] == "number" && (i[2 + s] /= u), typeof i[3 + s] == "number" && (i[3 + s] /= u), o(i);
8047
8054
  }
8048
8055
  };
8049
- class X0 extends Ie.Component {
8056
+ class Xv extends Ie.Component {
8050
8057
  /**
8051
8058
  * This only mounts projection nodes for components that
8052
8059
  * need measuring, we might want to do it for all components
@@ -8054,7 +8061,7 @@ class X0 extends Ie.Component {
8054
8061
  */
8055
8062
  componentDidMount() {
8056
8063
  const { visualElement: t, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: o } = t;
8057
- ey(K0), o && (n.group && n.group.add(o), r && r.register && i && r.register(o), o.root.didUpdate(), o.addEventListener("animationComplete", () => {
8064
+ ey(Kv), o && (n.group && n.group.add(o), r && r.register && i && r.register(o), o.root.didUpdate(), o.addEventListener("animationComplete", () => {
8058
8065
  this.safeToRemove();
8059
8066
  }), o.setOptions({
8060
8067
  ...o.options,
@@ -8087,10 +8094,10 @@ class X0 extends Ie.Component {
8087
8094
  }
8088
8095
  }
8089
8096
  function Ef(e) {
8090
- const [t, n] = q0(), r = x.useContext(yc);
8091
- return Ie.createElement(X0, { ...e, layoutGroup: r, switchLayoutGroup: x.useContext(vc), isPresent: t, safeToRemove: n });
8097
+ const [t, n] = qv(), r = x.useContext(yc);
8098
+ return Ie.createElement(Xv, { ...e, layoutGroup: r, switchLayoutGroup: x.useContext(vc), isPresent: t, safeToRemove: n });
8092
8099
  }
8093
- const K0 = {
8100
+ const Kv = {
8094
8101
  borderRadius: {
8095
8102
  ...Gt,
8096
8103
  applyTo: [
@@ -8104,16 +8111,16 @@ const K0 = {
8104
8111
  borderTopRightRadius: Gt,
8105
8112
  borderBottomLeftRadius: Gt,
8106
8113
  borderBottomRightRadius: Gt,
8107
- boxShadow: G0
8108
- }, Cf = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Y0 = Cf.length, qa = (e) => typeof e == "string" ? parseFloat(e) : e, Ga = (e) => typeof e == "number" || O.test(e);
8109
- function J0(e, t, n, r, i, o) {
8114
+ boxShadow: Gv
8115
+ }, Cf = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Yv = Cf.length, qa = (e) => typeof e == "string" ? parseFloat(e) : e, Ga = (e) => typeof e == "number" || O.test(e);
8116
+ function Jv(e, t, n, r, i, o) {
8110
8117
  i ? (e.opacity = H(
8111
8118
  0,
8112
8119
  // TODO Reinstate this if only child
8113
8120
  n.opacity !== void 0 ? n.opacity : 1,
8114
- Z0(r)
8115
- ), e.opacityExit = H(t.opacity !== void 0 ? t.opacity : 1, 0, Q0(r))) : o && (e.opacity = H(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
8116
- for (let s = 0; s < Y0; s++) {
8121
+ Zv(r)
8122
+ ), e.opacityExit = H(t.opacity !== void 0 ? t.opacity : 1, 0, Qv(r))) : o && (e.opacity = H(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
8123
+ for (let s = 0; s < Yv; s++) {
8117
8124
  const a = `border${Cf[s]}Radius`;
8118
8125
  let l = Xa(t, a), u = Xa(n, a);
8119
8126
  if (l === void 0 && u === void 0)
@@ -8125,7 +8132,7 @@ function J0(e, t, n, r, i, o) {
8125
8132
  function Xa(e, t) {
8126
8133
  return e[t] !== void 0 ? e[t] : e.borderRadius;
8127
8134
  }
8128
- const Z0 = kf(0, 0.5, qc), Q0 = kf(0.5, 0.95, G);
8135
+ const Zv = kf(0, 0.5, qc), Qv = kf(0.5, 0.95, G);
8129
8136
  function kf(e, t, n) {
8130
8137
  return (r) => r < e ? 0 : r > t ? 1 : n(gn(e, t, r));
8131
8138
  }
@@ -8514,7 +8521,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
8514
8521
  h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = J(), this.relativeTargetOrigin = J(), ln(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), we(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
8515
8522
  }
8516
8523
  if (!(!this.relativeTarget && !this.targetDelta)) {
8517
- if (this.target || (this.target = J(), this.targetWithTransforms = J()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), R0(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : we(this.target, this.layout.layoutBox), bf(this.target, this.targetDelta)) : we(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
8524
+ if (this.target || (this.target = J(), this.targetWithTransforms = J()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Rv(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : we(this.target, this.layout.layoutBox), bf(this.target, this.targetDelta)) : we(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
8518
8525
  this.attemptToResolveRelativeTarget = !1;
8519
8526
  const h = this.getClosestProjectingParent();
8520
8527
  h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = J(), this.relativeTargetOrigin = J(), ln(this.relativeTargetOrigin, this.target, h.target), we(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
@@ -8541,7 +8548,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
8541
8548
  return;
8542
8549
  we(this.layoutCorrected, this.layout.layoutBox);
8543
8550
  const d = this.treeScale.x, h = this.treeScale.y;
8544
- j0(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox);
8551
+ jv(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox);
8545
8552
  const { target: p } = a;
8546
8553
  if (!p) {
8547
8554
  this.projectionTransform && (this.projectionDelta = Ft(), this.projectionTransform = "none", this.scheduleRender());
@@ -8572,7 +8579,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
8572
8579
  let v;
8573
8580
  this.mixTargetDelta = (S) => {
8574
8581
  const E = S / 1e3;
8575
- sl(c.x, s.x, E), sl(c.y, s.y, E), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ln(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Cx(this.relativeTarget, this.relativeTargetOrigin, d, E), v && rx(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = J()), we(v, this.relativeTarget)), m && (this.animationValues = f, J0(f, u, this.latestValues, E, b, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
8582
+ sl(c.x, s.x, E), sl(c.y, s.y, E), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ln(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Cx(this.relativeTarget, this.relativeTargetOrigin, d, E), v && rx(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = J()), we(v, this.relativeTarget)), m && (this.animationValues = f, Jv(f, u, this.latestValues, E, b, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
8576
8583
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
8577
8584
  }
8578
8585
  startAnimation(s) {
@@ -8841,10 +8848,10 @@ const Rx = Rf({
8841
8848
  checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
8842
8849
  }), Ax = {
8843
8850
  pan: {
8844
- Feature: H0
8851
+ Feature: Hv
8845
8852
  },
8846
8853
  drag: {
8847
- Feature: W0,
8854
+ Feature: Wv,
8848
8855
  ProjectionNode: Of,
8849
8856
  MeasureLayout: Ef
8850
8857
  }
@@ -9255,9 +9262,9 @@ class Ff extends qx {
9255
9262
  delete n[t], delete r[t];
9256
9263
  }
9257
9264
  makeTargetAnimatableFromInstance({ transition: t, transitionEnd: n, ...r }, { transformValues: i }, o) {
9258
- let s = u0(r, t || {}, this);
9265
+ let s = uv(r, t || {}, this);
9259
9266
  if (i && (n && (n = i(n)), r && (r = i(r)), s && (s = i(s))), o) {
9260
- a0(this, r, s);
9267
+ av(this, r, s);
9261
9268
  const a = $x(this, r, s, n);
9262
9269
  n = a.transitionEnd, r = a.target;
9263
9270
  }
@@ -9340,7 +9347,7 @@ const Yx = (e, t) => Vo(e) ? new Kx(t, { enableHardwareAcceleration: !1 }) : new
9340
9347
  MeasureLayout: Ef
9341
9348
  }
9342
9349
  }, Zx = {
9343
- ...C0,
9350
+ ...Cv,
9344
9351
  ...Wy,
9345
9352
  ...Ax,
9346
9353
  ...Jx