prisma-goat 0.7.7 → 0.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Version
4
4
 
5
- ### 0.7.7
5
+ ### 0.7.9
6
6
 
7
7
  ---
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as y, Fragment as UM } from "react/jsx-runtime";
2
- import _, { forwardRef as N, useEffect as O, useState as h, useRef as AA, createContext as SA, useContext as $, useId as zt, useCallback as TD, useLayoutEffect as vt, useMemo as Pg, useInsertionEffect as Pt, Fragment as SD, createElement as Lt, Component as Ft } from "react";
2
+ import _, { forwardRef as N, useEffect as O, useState as J, useRef as AA, createContext as SA, useContext as $, useId as zt, useCallback as TD, useLayoutEffect as vt, useMemo as Pg, useInsertionEffect as Pt, Fragment as SD, createElement as Lt, Component as Ft } from "react";
3
3
  var XD = {
4
4
  color: void 0,
5
5
  size: void 0,
@@ -498,19 +498,14 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
498
498
  toggleTheme: A,
499
499
  variant: g,
500
500
  light: B = !1
501
- }) => {
502
- const [M, D] = h(B);
503
- return /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ i(
504
- "button",
505
- {
506
- onClick: () => {
507
- D((w) => !w), A && A();
508
- },
509
- className: `w-8 h-8 flex items-center justify-center rounded-lg transition-colors ${M ? g === "secondary" || g === "vividPink" || g === "success" || g === "danger" || g === "warning" ? "bg-[#222f4e] hover:bg-[#1a243d]" : "bg-[#2e5c95] hover:bg-[#2e5c95b6]" : g === "secondary" ? "bg-gray-300 hover:bg-gray-400" : "bg-gray-100 hover:bg-gray-200"}`,
510
- children: M ? /* @__PURE__ */ i(Qw, {}) : /* @__PURE__ */ i(ww, {})
511
- }
512
- ) });
513
- }, Be = ({
501
+ }) => /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ i(
502
+ "button",
503
+ {
504
+ onClick: A,
505
+ className: `w-8 h-8 flex items-center justify-center rounded-lg transition-colors ${B ? g === "secondary" || g === "vividPink" || g === "success" || g === "danger" || g === "warning" ? "bg-[#222f4e] hover:bg-[#1a243d]" : "bg-[#2e5c95] hover:bg-[#2e5c95b6]" : g === "secondary" ? "bg-gray-300 hover:bg-gray-400" : "bg-gray-100 hover:bg-gray-200"}`,
506
+ children: B ? /* @__PURE__ */ i(Qw, {}) : /* @__PURE__ */ i(ww, {})
507
+ }
508
+ ) }), Be = ({
514
509
  variant: A,
515
510
  onClick: g
516
511
  }) => /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ i(
@@ -521,7 +516,7 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
521
516
  children: /* @__PURE__ */ i(_t, { className: "text-white text-lg" })
522
517
  }
523
518
  ) }), OB = () => {
524
- const [A, g] = h(!1);
519
+ const [A, g] = J(!1);
525
520
  return O(() => {
526
521
  const B = () => {
527
522
  g(window.innerWidth < 640);
@@ -557,7 +552,7 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
557
552
  ...Y
558
553
  }, K) => {
559
554
  var H, JA, mM, yM;
560
- const Z = OB(), [u, q] = h(!1), [P, tA] = h(!1), [pA, yA] = h(!1), [RA, hA] = h(null), [b, x] = h(null), EA = AA(null), UA = () => q(!u), WA = () => tA(!P), $A = () => tA(!1);
555
+ const Z = OB(), [u, q] = J(!1), [P, tA] = J(!1), [pA, yA] = J(!1), [RA, hA] = J(null), [b, x] = J(null), EA = AA(null), UA = () => q(!u), WA = () => tA(!P), $A = () => tA(!1);
561
556
  O(() => {
562
557
  if (typeof window < "u" && (C != null && C.events)) {
563
558
  const m = () => {
@@ -1004,7 +999,7 @@ const sw = N(
1004
999
  ...V
1005
1000
  }, a) => {
1006
1001
  var ag, cg;
1007
- const [Y, K] = h(!0), [Z, u] = h(null), [q, P] = h(!1), [tA, pA] = h(null), [yA, RA] = h(!1), hA = AA(null), b = () => P(!q), x = () => P(!1), EA = () => {
1002
+ const [Y, K] = J(!0), [Z, u] = J(null), [q, P] = J(!1), [tA, pA] = J(null), [yA, RA] = J(!1), hA = AA(null), b = () => P(!q), x = () => P(!1), EA = () => {
1008
1003
  K((d) => !d);
1009
1004
  }, UA = (d, L) => {
1010
1005
  d.subItems && d.subItems.length > 0 ? u((aA) => aA === L ? -1 : L) : d.link && Q && Q.push(d.link);
@@ -1254,7 +1249,7 @@ const sw = N(
1254
1249
  );
1255
1250
  sw.displayName = "Sidebar";
1256
1251
  const fM = ({ children: A, href: g, Viewport: B, colorButton: M, setIsOpen: D }) => {
1257
- const t = AA(null), [e, w] = h(M);
1252
+ const t = AA(null), [e, w] = J(M);
1258
1253
  return O(() => {
1259
1254
  const C = () => {
1260
1255
  const s = document.getElementById(g.slice(1));
@@ -1409,7 +1404,7 @@ function we(A, g) {
1409
1404
  e[Yg[c]].cancel(l);
1410
1405
  }, state: D, steps: e };
1411
1406
  }
1412
- const { schedule: J, cancel: YA, state: j, steps: Sg } = we(typeof requestAnimationFrame < "u" ? requestAnimationFrame : gA, !0), Qe = SA({ strict: !1 }), dM = {
1407
+ const { schedule: h, cancel: YA, state: j, steps: Sg } = we(typeof requestAnimationFrame < "u" ? requestAnimationFrame : gA, !0), Qe = SA({ strict: !1 }), dM = {
1413
1408
  animation: [
1414
1409
  "animate",
1415
1410
  "variants",
@@ -2066,8 +2061,8 @@ const JM = ["x", "y", "width", "height", "cx", "cy", "r"], $w = {
2066
2061
  const Q = JM[w];
2067
2062
  A[Q] !== g[Q] && (e = !0);
2068
2063
  }
2069
- e && J.read(() => {
2070
- Ww(B, M), J.render(() => {
2064
+ e && h.read(() => {
2065
+ Ww(B, M), h.render(() => {
2071
2066
  BM(M, D, DM(B.tagName), A.transformTemplate), Ye(B, M);
2072
2067
  });
2073
2068
  });
@@ -2514,7 +2509,7 @@ class aQ {
2514
2509
  this.events[g] || (this.events[g] = new oM());
2515
2510
  const M = this.events[g].add(B);
2516
2511
  return g === "change" ? () => {
2517
- M(), J.read(() => {
2512
+ M(), h.read(() => {
2518
2513
  this.events.change.getSize() || this.stop();
2519
2514
  });
2520
2515
  } : M;
@@ -2884,7 +2879,7 @@ class aM {
2884
2879
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...g], this.onComplete = B, this.name = M, this.motionValue = D, this.element = t, this.isAsync = e;
2885
2880
  }
2886
2881
  scheduleResolve() {
2887
- this.isScheduled = !0, this.isAsync ? (qA.add(this), sB || (sB = !0, J.read(_e), J.resolveKeyframes($e))) : (this.readKeyframes(), this.complete());
2882
+ this.isScheduled = !0, this.isAsync ? (qA.add(this), sB || (sB = !0, h.read(_e), h.resolveKeyframes($e))) : (this.readKeyframes(), this.complete());
2888
2883
  }
2889
2884
  readKeyframes() {
2890
2885
  const { unresolvedKeyframes: g, name: B, element: M, motionValue: D } = this;
@@ -3467,7 +3462,7 @@ function Rg({ duration: A = 300, keyframes: g, times: B, ease: M = "easeInOut" }
3467
3462
  const ZC = (A) => {
3468
3463
  const g = ({ timestamp: B }) => A(B);
3469
3464
  return {
3470
- start: () => J.update(g, !0),
3465
+ start: () => h.update(g, !0),
3471
3466
  stop: () => YA(g),
3472
3467
  /**
3473
3468
  * If we're processing this frame we can use the
@@ -3861,7 +3856,7 @@ const uM = (A, g, B, M = {}, D, t) => (e) => {
3861
3856
  if ((s.type === !1 || s.duration === 0 && !s.repeatDelay) && (s.duration = 0, s.delay === 0 && (o = !0)), o && !t && g.get() !== void 0) {
3862
3857
  const I = Hg(s.keyframes, w);
3863
3858
  if (I !== void 0)
3864
- return J.update(() => {
3859
+ return h.update(() => {
3865
3860
  s.onUpdate(I), s.onComplete();
3866
3861
  }), new QQ([]);
3867
3862
  }
@@ -3888,7 +3883,7 @@ function ot(A, g, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3888
3883
  if (window.MotionHandoffAnimation) {
3889
3884
  const l = Je(A);
3890
3885
  if (l) {
3891
- const c = window.MotionHandoffAnimation(l, o, J);
3886
+ const c = window.MotionHandoffAnimation(l, o, h);
3892
3887
  c !== null && (E.startTime = c, r = !0);
3893
3888
  }
3894
3889
  }
@@ -3897,7 +3892,7 @@ function ot(A, g, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3897
3892
  G && C.push(G);
3898
3893
  }
3899
3894
  return w && Promise.all(C).then(() => {
3900
- J.update(() => {
3895
+ h.update(() => {
3901
3896
  w && IM(A, w);
3902
3897
  });
3903
3898
  }), C;
@@ -4169,7 +4164,7 @@ class Et {
4169
4164
  const { onStart: G, onMove: l } = this.handlers;
4170
4165
  I || (G && G(this.lastMoveEvent, o), this.startEvent = this.lastMoveEvent), l && l(this.lastMoveEvent, o);
4171
4166
  }, this.handlePointerMove = (o, I) => {
4172
- this.lastMoveEvent = o, this.lastMoveEventInfo = $g(I, this.transformPagePoint), J.update(this.updatePoint, !0);
4167
+ this.lastMoveEvent = o, this.lastMoveEventInfo = $g(I, this.transformPagePoint), h.update(this.updatePoint, !0);
4173
4168
  }, this.handlePointerUp = (o, I) => {
4174
4169
  this.end();
4175
4170
  const { onEnd: n, onSessionEnd: E, resumeAnimation: r } = this.handlers;
@@ -4428,7 +4423,7 @@ class ui {
4428
4423
  }
4429
4424
  }
4430
4425
  this.originPoint[G] = l;
4431
- }), E && J.postRender(() => E(s, o)), QB(this.visualElement, "transform");
4426
+ }), E && h.postRender(() => E(s, o)), QB(this.visualElement, "transform");
4432
4427
  const { animationState: r } = this.visualElement;
4433
4428
  r && r.setActive("whileDrag", !0);
4434
4429
  }, e = (s, o) => {
@@ -4464,7 +4459,7 @@ class ui {
4464
4459
  const { velocity: D } = B;
4465
4460
  this.startAnimation(D);
4466
4461
  const { onDragEnd: t } = this.getProps();
4467
- t && J.postRender(() => t(g, B));
4462
+ t && h.postRender(() => t(g, B));
4468
4463
  }
4469
4464
  cancel() {
4470
4465
  this.isDragging = !1;
@@ -4604,7 +4599,7 @@ class ui {
4604
4599
  const { dragConstraints: Q } = this.getProps();
4605
4600
  zA(Q) && Q.current && (this.constraints = this.resolveRefConstraints());
4606
4601
  }, { projection: D } = this.visualElement, t = D.addEventListener("measure", M);
4607
- D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), J.read(M);
4602
+ D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), h.read(M);
4608
4603
  const e = ng(window, "resize", () => this.scalePositionWithinConstraints()), w = D.addEventListener("didUpdate", ({ delta: Q, hasLayoutChanged: C }) => {
4609
4604
  this.isDragging && C && (DA((s) => {
4610
4605
  const o = this.getAxisMotionValue(s);
@@ -4648,7 +4643,7 @@ class yi extends mA {
4648
4643
  }
4649
4644
  }
4650
4645
  const aD = (A) => (g, B) => {
4651
- A && J.postRender(() => A(g, B));
4646
+ A && h.postRender(() => A(g, B));
4652
4647
  };
4653
4648
  class Ui extends mA {
4654
4649
  constructor() {
@@ -4667,7 +4662,7 @@ class Ui extends mA {
4667
4662
  onStart: aD(B),
4668
4663
  onMove: M,
4669
4664
  onEnd: (t, e) => {
4670
- delete this.session, D && J.postRender(() => D(t, e));
4665
+ delete this.session, D && h.postRender(() => D(t, e));
4671
4666
  }
4672
4667
  };
4673
4668
  }
@@ -4736,7 +4731,7 @@ class Vi extends Ft {
4736
4731
  }
4737
4732
  getSnapshotBeforeUpdate(g) {
4738
4733
  const { layoutDependency: B, visualElement: M, drag: D, isPresent: t } = this.props, e = M.projection;
4739
- return e && (e.isPresent = t, D || g.layoutDependency !== B || B === void 0 ? e.willUpdate() : this.safeToRemove(), g.isPresent !== t && (t ? e.promote() : e.relegate() || J.postRender(() => {
4734
+ return e && (e.isPresent = t, D || g.layoutDependency !== B || B === void 0 ? e.willUpdate() : this.safeToRemove(), g.isPresent !== t && (t ? e.promote() : e.relegate() || h.postRender(() => {
4740
4735
  const w = e.getStack();
4741
4736
  (!w || !w.members.length) && this.safeToRemove();
4742
4737
  }))), null;
@@ -4806,7 +4801,7 @@ function pi(A, g) {
4806
4801
  const t = D - B;
4807
4802
  t >= g && (YA(M), A(t - g));
4808
4803
  };
4809
- return J.read(M, !0), () => YA(M);
4804
+ return h.read(M, !0), () => YA(M);
4810
4805
  }
4811
4806
  const Ut = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Ri = Ut.length, YD = (A) => typeof A == "string" ? parseFloat(A) : A, uD = (A) => typeof A == "number" || f.test(A);
4812
4807
  function hi(A, g, B, M, D, t) {
@@ -4965,7 +4960,7 @@ function dt(A) {
4965
4960
  const B = Je(g);
4966
4961
  if (window.MotionHasOptimisedAnimation(B, "transform")) {
4967
4962
  const { layout: D, layoutId: t } = A.options;
4968
- window.MotionCancelOptimisedAnimation(B, "transform", J, !(D || t));
4963
+ window.MotionCancelOptimisedAnimation(B, "transform", h, !(D || t));
4969
4964
  }
4970
4965
  const { parent: M } = A;
4971
4966
  M && !M.hasCheckedOptimisedAppear && dt(M);
@@ -5086,10 +5081,10 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5086
5081
  this.nodes.forEach(xi), this.sharedNodes.forEach(Bs);
5087
5082
  }
5088
5083
  scheduleUpdateProjection() {
5089
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, J.preRender(this.updateProjection, !1, !0));
5084
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, h.preRender(this.updateProjection, !1, !0));
5090
5085
  }
5091
5086
  scheduleCheckAfterUnmount() {
5092
- J.postRender(() => {
5087
+ h.postRender(() => {
5093
5088
  this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
5094
5089
  });
5095
5090
  }
@@ -5282,7 +5277,7 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5282
5277
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
5283
5278
  }
5284
5279
  startAnimation(e) {
5285
- this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (YA(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = J.update(() => {
5280
+ this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (YA(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = h.update(() => {
5286
5281
  Zg.hasAnimatedSinceResize = !0, this.currentAnimation = di(0, RD, {
5287
5282
  ...e,
5288
5283
  onUpdate: (w) => {
@@ -5562,7 +5557,7 @@ function bD(A, g, B) {
5562
5557
  const { props: M } = A;
5563
5558
  A.animationState && M.whileHover && A.animationState.setActive("whileHover", B === "Start");
5564
5559
  const D = "onHover" + B, t = M[D];
5565
- t && J.postRender(() => t(g, Gg(g)));
5560
+ t && h.postRender(() => t(g, Gg(g)));
5566
5561
  }
5567
5562
  class is extends mA {
5568
5563
  mount() {
@@ -5598,7 +5593,7 @@ function OD(A, g, B) {
5598
5593
  const { props: M } = A;
5599
5594
  A.animationState && M.whileTap && A.animationState.setActive("whileTap", B === "Start");
5600
5595
  const D = "onTap" + (B === "End" ? "" : B), t = M[D];
5601
- t && J.postRender(() => t(g, Gg(g)));
5596
+ t && h.postRender(() => t(g, Gg(g)));
5602
5597
  }
5603
5598
  class os extends mA {
5604
5599
  mount() {
@@ -5738,7 +5733,7 @@ class Zs {
5738
5733
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
5739
5734
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
5740
5735
  const n = IA.now();
5741
- this.renderScheduledAt < n && (this.renderScheduledAt = n, J.render(this.render, !1, !0));
5736
+ this.renderScheduledAt < n && (this.renderScheduledAt = n, h.render(this.render, !1, !0));
5742
5737
  };
5743
5738
  const { latestValues: Q, renderState: C, onUpdate: s } = e;
5744
5739
  this.onUpdate = s, this.latestValues = Q, this.baseTarget = { ...Q }, this.initialValues = B.initial ? { ...Q } : {}, this.renderState = C, this.parent = g, this.props = B, this.presenceContext = M, this.depth = g ? g.depth + 1 : 0, this.reducedMotionConfig = D, this.options = w, this.blockInitialAnimation = !!t, this.isControllingVariants = Og(B), this.isVariantNode = ie(B), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(g && g.current);
@@ -5764,7 +5759,7 @@ class Zs {
5764
5759
  bindToMotionValue(g, B) {
5765
5760
  this.valueSubscriptions.has(g) && this.valueSubscriptions.get(g)();
5766
5761
  const M = KA.has(g), D = B.on("change", (w) => {
5767
- this.latestValues[g] = w, this.props.onUpdate && J.preRender(this.notifyUpdate), M && this.projection && (this.projection.isTransformDirty = !0);
5762
+ this.latestValues[g] = w, this.props.onUpdate && h.preRender(this.notifyUpdate), M && this.projection && (this.projection.isTransformDirty = !0);
5768
5763
  }), t = B.on("renderRequest", this.scheduleRender);
5769
5764
  let e;
5770
5765
  window.MotionCheckAppearSync && (e = window.MotionCheckAppearSync(this, g, B)), this.valueSubscriptions.set(g, () => {
@@ -6074,7 +6069,7 @@ function zs(A, g, { root: B, margin: M, amount: D = "some" } = {}) {
6074
6069
  return t.forEach((C) => Q.observe(C)), () => Q.disconnect();
6075
6070
  }
6076
6071
  function ht(A, { root: g, margin: B, amount: M, once: D = !1 } = {}) {
6077
- const [t, e] = h(!1);
6072
+ const [t, e] = J(!1);
6078
6073
  return O(() => {
6079
6074
  if (!A.current || D && t)
6080
6075
  return;
@@ -6095,7 +6090,7 @@ const vs = N(
6095
6090
  widthLogo: D = "65px",
6096
6091
  ...t
6097
6092
  }, e) => {
6098
- const w = OB(), [Q, C] = h(!1), [s, o] = h(void 0), [I] = h(""), n = g.reduce((V, a) => (V[a.refId] = AA(null), V), {}), E = () => C(!Q);
6093
+ const w = OB(), [Q, C] = J(!1), [s, o] = J(void 0), [I] = J(""), n = g.reduce((V, a) => (V[a.refId] = AA(null), V), {}), E = () => C(!Q);
6099
6094
  O(() => {
6100
6095
  g.forEach((a) => {
6101
6096
  const Y = n[a.refId];
@@ -6330,7 +6325,7 @@ const Ls = N(
6330
6325
  ...s
6331
6326
  }, o) => {
6332
6327
  var K, Z;
6333
- const [I, n] = h(0), E = AA(null), r = AA(null), G = AA(null), l = (u) => {
6328
+ const [I, n] = J(0), E = AA(null), r = AA(null), G = AA(null), l = (u) => {
6334
6329
  r.current = u.touches[0].clientX;
6335
6330
  }, c = (u) => {
6336
6331
  G.current = u.touches[0].clientX;
@@ -6447,7 +6442,7 @@ const Ls = N(
6447
6442
  );
6448
6443
  Ls.displayName = "Header";
6449
6444
  const Jt = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
6450
- const [M, D] = h(!1);
6445
+ const [M, D] = J(!1);
6451
6446
  return /* @__PURE__ */ y(
6452
6447
  "div",
6453
6448
  {
@@ -6490,7 +6485,7 @@ const Jt = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
6490
6485
  className: n,
6491
6486
  ...E
6492
6487
  }, r) => {
6493
- const [G, l] = h(s), c = () => {
6488
+ const [G, l] = J(s), c = () => {
6494
6489
  l(
6495
6490
  (u) => u === "password" ? "text" : "password"
6496
6491
  );
@@ -6695,7 +6690,7 @@ const Os = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
6695
6690
  company: o = "2025 GOAT DATA",
6696
6691
  ...I
6697
6692
  }, n) => {
6698
- const [E] = h("Hola, Necesito más información!"), r = `
6693
+ const [E] = J("Hola, Necesito más información!"), r = `
6699
6694
  p-2 rounded-lg text-sm bg-transparent opacity-70
6700
6695
  cursor-pointer tracking-widest
6701
6696
  `, G = {
@@ -6807,7 +6802,7 @@ function Xs(A) {
6807
6802
  }
6808
6803
  const Ns = N(
6809
6804
  ({ type: A = "success", message: g, duration: B = 5500, ...M }, D) => {
6810
- const t = OB(), [e, w] = h(!0), [Q, C] = h(!1), [s, o] = h(!1);
6805
+ const t = OB(), [e, w] = J(!0), [Q, C] = J(!1), [s, o] = J(!1);
6811
6806
  if (O(() => {
6812
6807
  const E = setTimeout(() => C(!0), B - 500);
6813
6808
  return () => clearTimeout(E);
@@ -6911,7 +6906,7 @@ function _s(A) {
6911
6906
  }
6912
6907
  const Ao = N(
6913
6908
  ({ videoSrc: A, height: g = "400px", explore: B, overlap: M, mutedVideo: D = !0, handletext4: t, handletext5: e, variant: w = "vividPink", ...Q }, C) => {
6914
- const s = AA(null), [o, I] = h(D), n = () => {
6909
+ const s = AA(null), [o, I] = J(D), n = () => {
6915
6910
  const G = s.current;
6916
6911
  G && G.play().catch(() => {
6917
6912
  G.play();