@devix-technologies/react-gjirafa-vp-player 1.0.31-beta.19 → 1.0.31-beta.21

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.
@@ -1,6 +1,6 @@
1
- import * as fe from "react";
2
- import $r, { forwardRef as br, useContext as jr, useState as Ne, useEffect as Ee, useRef as ne, useId as Ir, useMemo as We, useImperativeHandle as Mr } from "react";
3
- var Oe = { exports: {} }, ke = {};
1
+ import * as le from "react";
2
+ import $r, { forwardRef as br, useContext as jr, useState as Fe, useEffect as $e, useRef as pe, useId as Mr, useMemo as Ue, useImperativeHandle as Ir } from "react";
3
+ var Te = { exports: {} }, we = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.js
@@ -12,15 +12,15 @@ var Oe = { exports: {} }, ke = {};
12
12
  */
13
13
  var ir;
14
14
  function Fr() {
15
- if (ir) return ke;
15
+ if (ir) return we;
16
16
  ir = 1;
17
17
  var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
18
18
  function t(n, a, s) {
19
19
  var u = null;
20
20
  if (s !== void 0 && (u = "" + s), a.key !== void 0 && (u = "" + a.key), "key" in a) {
21
21
  s = {};
22
- for (var d in a)
23
- d !== "key" && (s[d] = a[d]);
22
+ for (var p in a)
23
+ p !== "key" && (s[p] = a[p]);
24
24
  } else s = a;
25
25
  return a = s.ref, {
26
26
  $$typeof: e,
@@ -30,9 +30,9 @@ function Fr() {
30
30
  props: s
31
31
  };
32
32
  }
33
- return ke.Fragment = r, ke.jsx = t, ke.jsxs = t, ke;
33
+ return we.Fragment = r, we.jsx = t, we.jsxs = t, we;
34
34
  }
35
- var Pe = {};
35
+ var ke = {};
36
36
  /**
37
37
  * @license React
38
38
  * react-jsx-runtime.development.js
@@ -45,249 +45,249 @@ var Pe = {};
45
45
  var or;
46
46
  function Vr() {
47
47
  return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
48
- function e(i) {
49
- if (i == null) return null;
50
- if (typeof i == "function")
51
- return i.$$typeof === Y ? null : i.displayName || i.name || null;
52
- if (typeof i == "string") return i;
53
- switch (i) {
54
- case k:
48
+ function e(o) {
49
+ if (o == null) return null;
50
+ if (typeof o == "function")
51
+ return o.$$typeof === Q ? null : o.displayName || o.name || null;
52
+ if (typeof o == "string") return o;
53
+ switch (o) {
54
+ case P:
55
55
  return "Fragment";
56
- case A:
56
+ case C:
57
57
  return "Profiler";
58
- case P:
58
+ case S:
59
59
  return "StrictMode";
60
- case M:
60
+ case F:
61
61
  return "Suspense";
62
- case S:
62
+ case E:
63
63
  return "SuspenseList";
64
- case ee:
64
+ case q:
65
65
  return "Activity";
66
66
  }
67
- if (typeof i == "object")
68
- switch (typeof i.tag == "number" && console.error(
67
+ if (typeof o == "object")
68
+ switch (typeof o.tag == "number" && console.error(
69
69
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
- ), i.$$typeof) {
71
- case b:
70
+ ), o.$$typeof) {
71
+ case x:
72
72
  return "Portal";
73
- case L:
74
- return i.displayName || "Context";
75
- case F:
76
- return (i._context.displayName || "Context") + ".Consumer";
73
+ case N:
74
+ return o.displayName || "Context";
75
+ case V:
76
+ return (o._context.displayName || "Context") + ".Consumer";
77
77
  case z:
78
- var m = i.render;
79
- return i = i.displayName, i || (i = m.displayName || m.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
80
- case de:
81
- return m = i.displayName || null, m !== null ? m : e(i.type) || "Memo";
82
- case G:
83
- m = i._payload, i = i._init;
78
+ var g = o.render;
79
+ return o = o.displayName, o || (o = g.displayName || g.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
80
+ case te:
81
+ return g = o.displayName || null, g !== null ? g : e(o.type) || "Memo";
82
+ case ce:
83
+ g = o._payload, o = o._init;
84
84
  try {
85
- return e(i(m));
85
+ return e(o(g));
86
86
  } catch {
87
87
  }
88
88
  }
89
89
  return null;
90
90
  }
91
- function r(i) {
92
- return "" + i;
91
+ function r(o) {
92
+ return "" + o;
93
93
  }
94
- function t(i) {
94
+ function t(o) {
95
95
  try {
96
- r(i);
97
- var m = !1;
96
+ r(o);
97
+ var g = !1;
98
98
  } catch {
99
- m = !0;
99
+ g = !0;
100
100
  }
101
- if (m) {
102
- m = console;
103
- var E = m.error, j = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
104
- return E.call(
105
- m,
101
+ if (g) {
102
+ g = console;
103
+ var O = g.error, M = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
104
+ return O.call(
105
+ g,
106
106
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- j
108
- ), r(i);
107
+ M
108
+ ), r(o);
109
109
  }
110
110
  }
111
- function n(i) {
112
- if (i === k) return "<>";
113
- if (typeof i == "object" && i !== null && i.$$typeof === G)
111
+ function n(o) {
112
+ if (o === P) return "<>";
113
+ if (typeof o == "object" && o !== null && o.$$typeof === ce)
114
114
  return "<...>";
115
115
  try {
116
- var m = e(i);
117
- return m ? "<" + m + ">" : "<...>";
116
+ var g = e(o);
117
+ return g ? "<" + g + ">" : "<...>";
118
118
  } catch {
119
119
  return "<...>";
120
120
  }
121
121
  }
122
122
  function a() {
123
- var i = pe.A;
124
- return i === null ? null : i.getOwner();
123
+ var o = J.A;
124
+ return o === null ? null : o.getOwner();
125
125
  }
126
126
  function s() {
127
127
  return Error("react-stack-top-frame");
128
128
  }
129
- function u(i) {
130
- if (H.call(i, "key")) {
131
- var m = Object.getOwnPropertyDescriptor(i, "key").get;
132
- if (m && m.isReactWarning) return !1;
129
+ function u(o) {
130
+ if (fe.call(o, "key")) {
131
+ var g = Object.getOwnPropertyDescriptor(o, "key").get;
132
+ if (g && g.isReactWarning) return !1;
133
133
  }
134
- return i.key !== void 0;
134
+ return o.key !== void 0;
135
135
  }
136
- function d(i, m) {
137
- function E() {
138
- Z || (Z = !0, console.error(
136
+ function p(o, g) {
137
+ function O() {
138
+ ne || (ne = !0, console.error(
139
139
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
140
- m
140
+ g
141
141
  ));
142
142
  }
143
- E.isReactWarning = !0, Object.defineProperty(i, "key", {
144
- get: E,
143
+ O.isReactWarning = !0, Object.defineProperty(o, "key", {
144
+ get: O,
145
145
  configurable: !0
146
146
  });
147
147
  }
148
- function x() {
149
- var i = e(this.type);
150
- return he[i] || (he[i] = !0, console.error(
148
+ function w() {
149
+ var o = e(this.type);
150
+ return Z[o] || (Z[o] = !0, console.error(
151
151
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
152
- )), i = this.props.ref, i !== void 0 ? i : null;
152
+ )), o = this.props.ref, o !== void 0 ? o : null;
153
153
  }
154
- function y(i, m, E, j, Q, o) {
155
- var c = E.ref;
156
- return i = {
157
- $$typeof: $,
158
- type: i,
159
- key: m,
160
- props: E,
161
- _owner: j
162
- }, (c !== void 0 ? c : null) !== null ? Object.defineProperty(i, "ref", {
154
+ function v(o, g, O, M, i, l) {
155
+ var k = O.ref;
156
+ return o = {
157
+ $$typeof: j,
158
+ type: o,
159
+ key: g,
160
+ props: O,
161
+ _owner: M
162
+ }, (k !== void 0 ? k : null) !== null ? Object.defineProperty(o, "ref", {
163
163
  enumerable: !1,
164
- get: x
165
- }) : Object.defineProperty(i, "ref", { enumerable: !1, value: null }), i._store = {}, Object.defineProperty(i._store, "validated", {
164
+ get: w
165
+ }) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
166
166
  configurable: !1,
167
167
  enumerable: !1,
168
168
  writable: !0,
169
169
  value: 0
170
- }), Object.defineProperty(i, "_debugInfo", {
170
+ }), Object.defineProperty(o, "_debugInfo", {
171
171
  configurable: !1,
172
172
  enumerable: !1,
173
173
  writable: !0,
174
174
  value: null
175
- }), Object.defineProperty(i, "_debugStack", {
175
+ }), Object.defineProperty(o, "_debugStack", {
176
176
  configurable: !1,
177
177
  enumerable: !1,
178
178
  writable: !0,
179
- value: Q
180
- }), Object.defineProperty(i, "_debugTask", {
179
+ value: i
180
+ }), Object.defineProperty(o, "_debugTask", {
181
181
  configurable: !1,
182
182
  enumerable: !1,
183
183
  writable: !0,
184
- value: o
185
- }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
184
+ value: l
185
+ }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
186
186
  }
187
- function h(i, m, E, j, Q, o) {
188
- var c = m.children;
189
- if (c !== void 0)
190
- if (j)
191
- if (p(c)) {
192
- for (j = 0; j < c.length; j++)
193
- v(c[j]);
194
- Object.freeze && Object.freeze(c);
187
+ function h(o, g, O, M, i, l) {
188
+ var k = g.children;
189
+ if (k !== void 0)
190
+ if (M)
191
+ if (G(k)) {
192
+ for (M = 0; M < k.length; M++)
193
+ b(k[M]);
194
+ Object.freeze && Object.freeze(k);
195
195
  } else
196
196
  console.error(
197
197
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
198
198
  );
199
- else v(c);
200
- if (H.call(m, "key")) {
201
- c = e(i);
202
- var V = Object.keys(m).filter(function(te) {
203
- return te !== "key";
199
+ else b(k);
200
+ if (fe.call(g, "key")) {
201
+ k = e(o);
202
+ var H = Object.keys(g).filter(function(R) {
203
+ return R !== "key";
204
204
  });
205
- j = 0 < V.length ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}", le[c + j] || (V = 0 < V.length ? "{" + V.join(": ..., ") + ": ...}" : "{}", console.error(
205
+ M = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", ee[k + M] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
206
206
  `A props object containing a "key" prop is being spread into JSX:
207
207
  let props = %s;
208
208
  <%s {...props} />
209
209
  React keys must be passed directly to JSX without using spread:
210
210
  let props = %s;
211
211
  <%s key={someKey} {...props} />`,
212
- j,
213
- c,
214
- V,
215
- c
216
- ), le[c + j] = !0);
212
+ M,
213
+ k,
214
+ H,
215
+ k
216
+ ), ee[k + M] = !0);
217
217
  }
218
- if (c = null, E !== void 0 && (t(E), c = "" + E), u(m) && (t(m.key), c = "" + m.key), "key" in m) {
219
- E = {};
220
- for (var ue in m)
221
- ue !== "key" && (E[ue] = m[ue]);
222
- } else E = m;
223
- return c && d(
224
- E,
225
- typeof i == "function" ? i.displayName || i.name || "Unknown" : i
226
- ), y(
227
- i,
228
- c,
229
- E,
218
+ if (k = null, O !== void 0 && (t(O), k = "" + O), u(g) && (t(g.key), k = "" + g.key), "key" in g) {
219
+ O = {};
220
+ for (var me in g)
221
+ me !== "key" && (O[me] = g[me]);
222
+ } else O = g;
223
+ return k && p(
224
+ O,
225
+ typeof o == "function" ? o.displayName || o.name || "Unknown" : o
226
+ ), v(
227
+ o,
228
+ k,
229
+ O,
230
230
  a(),
231
- Q,
232
- o
231
+ i,
232
+ l
233
233
  );
234
234
  }
235
- function v(i) {
236
- I(i) ? i._store && (i._store.validated = 1) : typeof i == "object" && i !== null && i.$$typeof === G && (i._payload.status === "fulfilled" ? I(i._payload.value) && i._payload.value._store && (i._payload.value._store.validated = 1) : i._store && (i._store.validated = 1));
235
+ function b(o) {
236
+ I(o) ? o._store && (o._store.validated = 1) : typeof o == "object" && o !== null && o.$$typeof === ce && (o._payload.status === "fulfilled" ? I(o._payload.value) && o._payload.value._store && (o._payload.value._store.validated = 1) : o._store && (o._store.validated = 1));
237
237
  }
238
- function I(i) {
239
- return typeof i == "object" && i !== null && i.$$typeof === $;
238
+ function I(o) {
239
+ return typeof o == "object" && o !== null && o.$$typeof === j;
240
240
  }
241
- var O = $r, $ = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), L = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), de = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), ee = Symbol.for("react.activity"), Y = Symbol.for("react.client.reference"), pe = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, p = Array.isArray, re = console.createTask ? console.createTask : function() {
241
+ var $ = $r, j = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), N = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), te = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), q = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), J = $.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fe = Object.prototype.hasOwnProperty, G = Array.isArray, d = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
- O = {
245
- react_stack_bottom_frame: function(i) {
246
- return i();
244
+ $ = {
245
+ react_stack_bottom_frame: function(o) {
246
+ return o();
247
247
  }
248
248
  };
249
- var Z, he = {}, se = O.react_stack_bottom_frame.bind(
250
- O,
249
+ var ne, Z = {}, ue = $.react_stack_bottom_frame.bind(
250
+ $,
251
251
  s
252
- )(), ce = re(n(s)), le = {};
253
- Pe.Fragment = k, Pe.jsx = function(i, m, E) {
254
- var j = 1e4 > pe.recentlyCreatedOwnerStacks++;
252
+ )(), ae = d(n(s)), ee = {};
253
+ ke.Fragment = P, ke.jsx = function(o, g, O) {
254
+ var M = 1e4 > J.recentlyCreatedOwnerStacks++;
255
255
  return h(
256
- i,
257
- m,
258
- E,
256
+ o,
257
+ g,
258
+ O,
259
259
  !1,
260
- j ? Error("react-stack-top-frame") : se,
261
- j ? re(n(i)) : ce
260
+ M ? Error("react-stack-top-frame") : ue,
261
+ M ? d(n(o)) : ae
262
262
  );
263
- }, Pe.jsxs = function(i, m, E) {
264
- var j = 1e4 > pe.recentlyCreatedOwnerStacks++;
263
+ }, ke.jsxs = function(o, g, O) {
264
+ var M = 1e4 > J.recentlyCreatedOwnerStacks++;
265
265
  return h(
266
- i,
267
- m,
268
- E,
266
+ o,
267
+ g,
268
+ O,
269
269
  !0,
270
- j ? Error("react-stack-top-frame") : se,
271
- j ? re(n(i)) : ce
270
+ M ? Error("react-stack-top-frame") : ue,
271
+ M ? d(n(o)) : ae
272
272
  );
273
273
  };
274
- })()), Pe;
274
+ })()), ke;
275
275
  }
276
276
  var sr;
277
- function Nr() {
278
- return sr || (sr = 1, process.env.NODE_ENV === "production" ? Oe.exports = Fr() : Oe.exports = Vr()), Oe.exports;
277
+ function Lr() {
278
+ return sr || (sr = 1, process.env.NODE_ENV === "production" ? Te.exports = Fr() : Te.exports = Vr()), Te.exports;
279
279
  }
280
- var D = Nr();
281
- function qe() {
282
- return qe = Object.assign ? Object.assign.bind() : function(e) {
280
+ var D = Lr();
281
+ function We() {
282
+ return We = Object.assign ? Object.assign.bind() : function(e) {
283
283
  for (var r = 1; r < arguments.length; r++) {
284
284
  var t = arguments[r];
285
285
  for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
286
286
  }
287
287
  return e;
288
- }, qe.apply(null, arguments);
288
+ }, We.apply(null, arguments);
289
289
  }
290
- function Lr(e) {
290
+ function Nr(e) {
291
291
  if (e.sheet)
292
292
  return e.sheet;
293
293
  for (var r = 0; r < document.styleSheets.length; r++)
@@ -313,7 +313,7 @@ var Ur = /* @__PURE__ */ (function() {
313
313
  this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(zr(this));
314
314
  var a = this.tags[this.tags.length - 1];
315
315
  if (this.isSpeedy) {
316
- var s = Lr(a);
316
+ var s = Nr(a);
317
317
  try {
318
318
  s.insertRule(n, s.cssRules.length);
319
319
  } catch {
@@ -327,7 +327,7 @@ var Ur = /* @__PURE__ */ (function() {
327
327
  return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
328
328
  }), this.tags = [], this.ctr = 0;
329
329
  }, e;
330
- })(), q = "-ms-", Le = "-moz-", _ = "-webkit-", xr = "comm", Be = "rule", Xe = "decl", Dr = "@import", wr = "@keyframes", Wr = "@layer", Yr = Math.abs, ze = String.fromCharCode, qr = Object.assign;
330
+ })(), Y = "-ms-", Ve = "-moz-", _ = "-webkit-", xr = "comm", He = "rule", Ge = "decl", Dr = "@import", wr = "@keyframes", Wr = "@layer", Yr = Math.abs, Le = String.fromCharCode, qr = Object.assign;
331
331
  function Hr(e, r) {
332
332
  return W(e, 0) ^ 45 ? (((r << 2 ^ W(e, 0)) << 2 ^ W(e, 1)) << 2 ^ W(e, 2)) << 2 ^ W(e, 3) : 0;
333
333
  }
@@ -340,53 +340,53 @@ function Gr(e, r) {
340
340
  function T(e, r, t) {
341
341
  return e.replace(r, t);
342
342
  }
343
- function He(e, r) {
343
+ function Ye(e, r) {
344
344
  return e.indexOf(r);
345
345
  }
346
346
  function W(e, r) {
347
347
  return e.charCodeAt(r) | 0;
348
348
  }
349
- function Re(e, r, t) {
349
+ function Se(e, r, t) {
350
350
  return e.slice(r, t);
351
351
  }
352
- function ae(e) {
352
+ function ie(e) {
353
353
  return e.length;
354
354
  }
355
- function Je(e) {
355
+ function Be(e) {
356
356
  return e.length;
357
357
  }
358
- function $e(e, r) {
358
+ function Ae(e, r) {
359
359
  return r.push(e), e;
360
360
  }
361
361
  function Br(e, r) {
362
362
  return e.map(r).join("");
363
363
  }
364
- var Ue = 1, be = 1, Pr = 0, J = 0, N = 0, we = "";
365
- function De(e, r, t, n, a, s, u) {
366
- return { value: e, root: r, parent: t, type: n, props: a, children: s, line: Ue, column: be, length: u, return: "" };
364
+ var Ne = 1, ve = 1, Pr = 0, X = 0, L = 0, xe = "";
365
+ function ze(e, r, t, n, a, s, u) {
366
+ return { value: e, root: r, parent: t, type: n, props: a, children: s, line: Ne, column: ve, length: u, return: "" };
367
367
  }
368
- function Se(e, r) {
369
- return qr(De("", null, null, "", null, null, 0), e, { length: -e.length }, r);
368
+ function Pe(e, r) {
369
+ return qr(ze("", null, null, "", null, null, 0), e, { length: -e.length }, r);
370
370
  }
371
371
  function Xr() {
372
- return N;
372
+ return L;
373
373
  }
374
374
  function Jr() {
375
- return N = J > 0 ? W(we, --J) : 0, be--, N === 10 && (be = 1, Ue--), N;
375
+ return L = X > 0 ? W(xe, --X) : 0, ve--, L === 10 && (ve = 1, Ne--), L;
376
376
  }
377
377
  function K() {
378
- return N = J < Pr ? W(we, J++) : 0, be++, N === 10 && (be = 1, Ue++), N;
378
+ return L = X < Pr ? W(xe, X++) : 0, ve++, L === 10 && (ve = 1, Ne++), L;
379
379
  }
380
- function oe() {
381
- return W(we, J);
380
+ function se() {
381
+ return W(xe, X);
382
382
  }
383
- function Me() {
384
- return J;
383
+ function je() {
384
+ return X;
385
385
  }
386
- function Ae(e, r) {
387
- return Re(we, e, r);
386
+ function _e(e, r) {
387
+ return Se(xe, e, r);
388
388
  }
389
- function _e(e) {
389
+ function Ee(e) {
390
390
  switch (e) {
391
391
  // \0 \t \n \r \s whitespace token
392
392
  case 0:
@@ -425,180 +425,180 @@ function _e(e) {
425
425
  return 0;
426
426
  }
427
427
  function Sr(e) {
428
- return Ue = be = 1, Pr = ae(we = e), J = 0, [];
428
+ return Ne = ve = 1, Pr = ie(xe = e), X = 0, [];
429
429
  }
430
430
  function Er(e) {
431
- return we = "", e;
431
+ return xe = "", e;
432
432
  }
433
- function Fe(e) {
434
- return kr(Ae(J - 1, Ge(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
433
+ function Me(e) {
434
+ return kr(_e(X - 1, qe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
435
435
  }
436
436
  function Zr(e) {
437
- for (; (N = oe()) && N < 33; )
437
+ for (; (L = se()) && L < 33; )
438
438
  K();
439
- return _e(e) > 2 || _e(N) > 3 ? "" : " ";
439
+ return Ee(e) > 2 || Ee(L) > 3 ? "" : " ";
440
440
  }
441
441
  function Kr(e, r) {
442
- for (; --r && K() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97); )
442
+ for (; --r && K() && !(L < 48 || L > 102 || L > 57 && L < 65 || L > 70 && L < 97); )
443
443
  ;
444
- return Ae(e, Me() + (r < 6 && oe() == 32 && K() == 32));
444
+ return _e(e, je() + (r < 6 && se() == 32 && K() == 32));
445
445
  }
446
- function Ge(e) {
446
+ function qe(e) {
447
447
  for (; K(); )
448
- switch (N) {
448
+ switch (L) {
449
449
  // ] ) " '
450
450
  case e:
451
- return J;
451
+ return X;
452
452
  // " '
453
453
  case 34:
454
454
  case 39:
455
- e !== 34 && e !== 39 && Ge(N);
455
+ e !== 34 && e !== 39 && qe(L);
456
456
  break;
457
457
  // (
458
458
  case 40:
459
- e === 41 && Ge(e);
459
+ e === 41 && qe(e);
460
460
  break;
461
461
  // \
462
462
  case 92:
463
463
  K();
464
464
  break;
465
465
  }
466
- return J;
466
+ return X;
467
467
  }
468
468
  function Qr(e, r) {
469
- for (; K() && e + N !== 57; )
470
- if (e + N === 84 && oe() === 47)
469
+ for (; K() && e + L !== 57; )
470
+ if (e + L === 84 && se() === 47)
471
471
  break;
472
- return "/*" + Ae(r, J - 1) + "*" + ze(e === 47 ? e : K());
472
+ return "/*" + _e(r, X - 1) + "*" + Le(e === 47 ? e : K());
473
473
  }
474
474
  function et(e) {
475
- for (; !_e(oe()); )
475
+ for (; !Ee(se()); )
476
476
  K();
477
- return Ae(e, J);
477
+ return _e(e, X);
478
478
  }
479
479
  function rt(e) {
480
- return Er(Ve("", null, null, null, [""], e = Sr(e), 0, [0], e));
480
+ return Er(Ie("", null, null, null, [""], e = Sr(e), 0, [0], e));
481
481
  }
482
- function Ve(e, r, t, n, a, s, u, d, x) {
483
- for (var y = 0, h = 0, v = u, I = 0, O = 0, $ = 0, b = 1, k = 1, P = 1, A = 0, F = "", L = a, z = s, M = n, S = F; k; )
484
- switch ($ = A, A = K()) {
482
+ function Ie(e, r, t, n, a, s, u, p, w) {
483
+ for (var v = 0, h = 0, b = u, I = 0, $ = 0, j = 0, x = 1, P = 1, S = 1, C = 0, V = "", N = a, z = s, F = n, E = V; P; )
484
+ switch (j = C, C = K()) {
485
485
  // (
486
486
  case 40:
487
- if ($ != 108 && W(S, v - 1) == 58) {
488
- He(S += T(Fe(A), "&", "&\f"), "&\f") != -1 && (P = -1);
487
+ if (j != 108 && W(E, b - 1) == 58) {
488
+ Ye(E += T(Me(C), "&", "&\f"), "&\f") != -1 && (S = -1);
489
489
  break;
490
490
  }
491
491
  // " ' [
492
492
  case 34:
493
493
  case 39:
494
494
  case 91:
495
- S += Fe(A);
495
+ E += Me(C);
496
496
  break;
497
497
  // \t \n \r \s
498
498
  case 9:
499
499
  case 10:
500
500
  case 13:
501
501
  case 32:
502
- S += Zr($);
502
+ E += Zr(j);
503
503
  break;
504
504
  // \
505
505
  case 92:
506
- S += Kr(Me() - 1, 7);
506
+ E += Kr(je() - 1, 7);
507
507
  continue;
508
508
  // /
509
509
  case 47:
510
- switch (oe()) {
510
+ switch (se()) {
511
511
  case 42:
512
512
  case 47:
513
- $e(tt(Qr(K(), Me()), r, t), x);
513
+ Ae(tt(Qr(K(), je()), r, t), w);
514
514
  break;
515
515
  default:
516
- S += "/";
516
+ E += "/";
517
517
  }
518
518
  break;
519
519
  // {
520
- case 123 * b:
521
- d[y++] = ae(S) * P;
520
+ case 123 * x:
521
+ p[v++] = ie(E) * S;
522
522
  // } ; \0
523
- case 125 * b:
523
+ case 125 * x:
524
524
  case 59:
525
525
  case 0:
526
- switch (A) {
526
+ switch (C) {
527
527
  // \0 }
528
528
  case 0:
529
529
  case 125:
530
- k = 0;
530
+ P = 0;
531
531
  // ;
532
532
  case 59 + h:
533
- P == -1 && (S = T(S, /\f/g, "")), O > 0 && ae(S) - v && $e(O > 32 ? lr(S + ";", n, t, v - 1) : lr(T(S, " ", "") + ";", n, t, v - 2), x);
533
+ S == -1 && (E = T(E, /\f/g, "")), $ > 0 && ie(E) - b && Ae($ > 32 ? lr(E + ";", n, t, b - 1) : lr(T(E, " ", "") + ";", n, t, b - 2), w);
534
534
  break;
535
535
  // @ ;
536
536
  case 59:
537
- S += ";";
537
+ E += ";";
538
538
  // { rule/at-rule
539
539
  default:
540
- if ($e(M = cr(S, r, t, y, h, a, d, F, L = [], z = [], v), s), A === 123)
540
+ if (Ae(F = cr(E, r, t, v, h, a, p, V, N = [], z = [], b), s), C === 123)
541
541
  if (h === 0)
542
- Ve(S, r, M, M, L, s, v, d, z);
542
+ Ie(E, r, F, F, N, s, b, p, z);
543
543
  else
544
- switch (I === 99 && W(S, 3) === 110 ? 100 : I) {
544
+ switch (I === 99 && W(E, 3) === 110 ? 100 : I) {
545
545
  // d l m s
546
546
  case 100:
547
547
  case 108:
548
548
  case 109:
549
549
  case 115:
550
- Ve(e, M, M, n && $e(cr(e, M, M, 0, 0, a, d, F, a, L = [], v), z), a, z, v, d, n ? L : z);
550
+ Ie(e, F, F, n && Ae(cr(e, F, F, 0, 0, a, p, V, a, N = [], b), z), a, z, b, p, n ? N : z);
551
551
  break;
552
552
  default:
553
- Ve(S, M, M, M, [""], z, 0, d, z);
553
+ Ie(E, F, F, F, [""], z, 0, p, z);
554
554
  }
555
555
  }
556
- y = h = O = 0, b = P = 1, F = S = "", v = u;
556
+ v = h = $ = 0, x = S = 1, V = E = "", b = u;
557
557
  break;
558
558
  // :
559
559
  case 58:
560
- v = 1 + ae(S), O = $;
560
+ b = 1 + ie(E), $ = j;
561
561
  default:
562
- if (b < 1) {
563
- if (A == 123)
564
- --b;
565
- else if (A == 125 && b++ == 0 && Jr() == 125)
562
+ if (x < 1) {
563
+ if (C == 123)
564
+ --x;
565
+ else if (C == 125 && x++ == 0 && Jr() == 125)
566
566
  continue;
567
567
  }
568
- switch (S += ze(A), A * b) {
568
+ switch (E += Le(C), C * x) {
569
569
  // &
570
570
  case 38:
571
- P = h > 0 ? 1 : (S += "\f", -1);
571
+ S = h > 0 ? 1 : (E += "\f", -1);
572
572
  break;
573
573
  // ,
574
574
  case 44:
575
- d[y++] = (ae(S) - 1) * P, P = 1;
575
+ p[v++] = (ie(E) - 1) * S, S = 1;
576
576
  break;
577
577
  // @
578
578
  case 64:
579
- oe() === 45 && (S += Fe(K())), I = oe(), h = v = ae(F = S += et(Me())), A++;
579
+ se() === 45 && (E += Me(K())), I = se(), h = b = ie(V = E += et(je())), C++;
580
580
  break;
581
581
  // -
582
582
  case 45:
583
- $ === 45 && ae(S) == 2 && (b = 0);
583
+ j === 45 && ie(E) == 2 && (x = 0);
584
584
  }
585
585
  }
586
586
  return s;
587
587
  }
588
- function cr(e, r, t, n, a, s, u, d, x, y, h) {
589
- for (var v = a - 1, I = a === 0 ? s : [""], O = Je(I), $ = 0, b = 0, k = 0; $ < n; ++$)
590
- for (var P = 0, A = Re(e, v + 1, v = Yr(b = u[$])), F = e; P < O; ++P)
591
- (F = kr(b > 0 ? I[P] + " " + A : T(A, /&\f/g, I[P]))) && (x[k++] = F);
592
- return De(e, r, t, a === 0 ? Be : d, x, y, h);
588
+ function cr(e, r, t, n, a, s, u, p, w, v, h) {
589
+ for (var b = a - 1, I = a === 0 ? s : [""], $ = Be(I), j = 0, x = 0, P = 0; j < n; ++j)
590
+ for (var S = 0, C = Se(e, b + 1, b = Yr(x = u[j])), V = e; S < $; ++S)
591
+ (V = kr(x > 0 ? I[S] + " " + C : T(C, /&\f/g, I[S]))) && (w[P++] = V);
592
+ return ze(e, r, t, a === 0 ? He : p, w, v, h);
593
593
  }
594
594
  function tt(e, r, t) {
595
- return De(e, r, t, xr, ze(Xr()), Re(e, 2, -2), 0);
595
+ return ze(e, r, t, xr, Le(Xr()), Se(e, 2, -2), 0);
596
596
  }
597
597
  function lr(e, r, t, n) {
598
- return De(e, r, t, Xe, Re(e, 0, n), Re(e, n + 1, -1), n);
598
+ return ze(e, r, t, Ge, Se(e, 0, n), Se(e, n + 1, -1), n);
599
599
  }
600
- function ve(e, r) {
601
- for (var t = "", n = Je(e), a = 0; a < n; a++)
600
+ function ye(e, r) {
601
+ for (var t = "", n = Be(e), a = 0; a < n; a++)
602
602
  t += r(e[a], a, e, r) || "";
603
603
  return t;
604
604
  }
@@ -607,22 +607,22 @@ function nt(e, r, t, n) {
607
607
  case Wr:
608
608
  if (e.children.length) break;
609
609
  case Dr:
610
- case Xe:
610
+ case Ge:
611
611
  return e.return = e.return || e.value;
612
612
  case xr:
613
613
  return "";
614
614
  case wr:
615
- return e.return = e.value + "{" + ve(e.children, n) + "}";
616
- case Be:
615
+ return e.return = e.value + "{" + ye(e.children, n) + "}";
616
+ case He:
617
617
  e.value = e.props.join(",");
618
618
  }
619
- return ae(t = ve(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
619
+ return ie(t = ye(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
620
620
  }
621
621
  function at(e) {
622
- var r = Je(e);
622
+ var r = Be(e);
623
623
  return function(t, n, a, s) {
624
- for (var u = "", d = 0; d < r; d++)
625
- u += e[d](t, n, a, s) || "";
624
+ for (var u = "", p = 0; p < r; p++)
625
+ u += e[p](t, n, a, s) || "";
626
626
  return u;
627
627
  };
628
628
  }
@@ -638,27 +638,27 @@ function Rr(e) {
638
638
  };
639
639
  }
640
640
  var ot = function(r, t, n) {
641
- for (var a = 0, s = 0; a = s, s = oe(), a === 38 && s === 12 && (t[n] = 1), !_e(s); )
641
+ for (var a = 0, s = 0; a = s, s = se(), a === 38 && s === 12 && (t[n] = 1), !Ee(s); )
642
642
  K();
643
- return Ae(r, J);
643
+ return _e(r, X);
644
644
  }, st = function(r, t) {
645
645
  var n = -1, a = 44;
646
646
  do
647
- switch (_e(a)) {
647
+ switch (Ee(a)) {
648
648
  case 0:
649
- a === 38 && oe() === 12 && (t[n] = 1), r[n] += ot(J - 1, t, n);
649
+ a === 38 && se() === 12 && (t[n] = 1), r[n] += ot(X - 1, t, n);
650
650
  break;
651
651
  case 2:
652
- r[n] += Fe(a);
652
+ r[n] += Me(a);
653
653
  break;
654
654
  case 4:
655
655
  if (a === 44) {
656
- r[++n] = oe() === 58 ? "&\f" : "", t[n] = r[n].length;
656
+ r[++n] = se() === 58 ? "&\f" : "", t[n] = r[n].length;
657
657
  break;
658
658
  }
659
659
  // fallthrough
660
660
  default:
661
- r[n] += ze(a);
661
+ r[n] += Le(a);
662
662
  }
663
663
  while (a = K());
664
664
  return r;
@@ -672,9 +672,9 @@ var ot = function(r, t, n) {
672
672
  if (n = n.parent, !n) return;
673
673
  if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !ur.get(n)) && !a) {
674
674
  ur.set(r, !0);
675
- for (var s = [], u = ct(t, s), d = n.props, x = 0, y = 0; x < u.length; x++)
676
- for (var h = 0; h < d.length; h++, y++)
677
- r.props[y] = s[x] ? u[x].replace(/&\f/g, d[h]) : d[h] + " " + u[x];
675
+ for (var s = [], u = ct(t, s), p = n.props, w = 0, v = 0; w < u.length; w++)
676
+ for (var h = 0; h < p.length; h++, v++)
677
+ r.props[v] = s[w] ? u[w].replace(/&\f/g, p[h]) : p[h] + " " + u[w];
678
678
  }
679
679
  }
680
680
  }, ut = function(r) {
@@ -726,32 +726,32 @@ function _r(e, r) {
726
726
  case 4810:
727
727
  case 6968:
728
728
  case 2756:
729
- return _ + e + Le + e + q + e + e;
729
+ return _ + e + Ve + e + Y + e + e;
730
730
  // flex, flex-direction
731
731
  case 6828:
732
732
  case 4268:
733
- return _ + e + q + e + e;
733
+ return _ + e + Y + e + e;
734
734
  // order
735
735
  case 6165:
736
- return _ + e + q + "flex-" + e + e;
736
+ return _ + e + Y + "flex-" + e + e;
737
737
  // align-items
738
738
  case 5187:
739
- return _ + e + T(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" + q + "flex-$1$2") + e;
739
+ return _ + e + T(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" + Y + "flex-$1$2") + e;
740
740
  // align-self
741
741
  case 5443:
742
- return _ + e + q + "flex-item-" + T(e, /flex-|-self/, "") + e;
742
+ return _ + e + Y + "flex-item-" + T(e, /flex-|-self/, "") + e;
743
743
  // align-content
744
744
  case 4675:
745
- return _ + e + q + "flex-line-pack" + T(e, /align-content|flex-|-self/, "") + e;
745
+ return _ + e + Y + "flex-line-pack" + T(e, /align-content|flex-|-self/, "") + e;
746
746
  // flex-shrink
747
747
  case 5548:
748
- return _ + e + q + T(e, "shrink", "negative") + e;
748
+ return _ + e + Y + T(e, "shrink", "negative") + e;
749
749
  // flex-basis
750
750
  case 5292:
751
- return _ + e + q + T(e, "basis", "preferred-size") + e;
751
+ return _ + e + Y + T(e, "basis", "preferred-size") + e;
752
752
  // flex-grow
753
753
  case 6060:
754
- return _ + "box-" + T(e, "-grow", "") + _ + e + q + T(e, "grow", "positive") + e;
754
+ return _ + "box-" + T(e, "-grow", "") + _ + e + Y + T(e, "grow", "positive") + e;
755
755
  // transition
756
756
  case 4554:
757
757
  return _ + T(e, /([^-])(transform)/g, "$1" + _ + "$2") + e;
@@ -764,7 +764,7 @@ function _r(e, r) {
764
764
  return T(e, /(image-set\([^]*)/, _ + "$1$`$1");
765
765
  // justify-content
766
766
  case 4968:
767
- return T(T(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + q + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + e + e;
767
+ return T(T(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + Y + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + e + e;
768
768
  // (margin|padding)-inline-(start|end)
769
769
  case 4095:
770
770
  case 3583:
@@ -784,16 +784,16 @@ function _r(e, r) {
784
784
  case 5789:
785
785
  case 5021:
786
786
  case 4765:
787
- if (ae(e) - 1 - r > 6) switch (W(e, r + 1)) {
787
+ if (ie(e) - 1 - r > 6) switch (W(e, r + 1)) {
788
788
  // (m)ax-content, (m)in-content
789
789
  case 109:
790
790
  if (W(e, r + 4) !== 45) break;
791
791
  // (f)ill-available, (f)it-content
792
792
  case 102:
793
- return T(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + Le + (W(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
793
+ return T(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + Ve + (W(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
794
794
  // (s)tretch
795
795
  case 115:
796
- return ~He(e, "stretch") ? _r(T(e, "stretch", "fill-available"), r) + e : e;
796
+ return ~Ye(e, "stretch") ? _r(T(e, "stretch", "fill-available"), r) + e : e;
797
797
  }
798
798
  break;
799
799
  // position: sticky
@@ -801,13 +801,13 @@ function _r(e, r) {
801
801
  if (W(e, r + 1) !== 115) break;
802
802
  // display: (flex|inline-flex)
803
803
  case 6444:
804
- switch (W(e, ae(e) - 3 - (~He(e, "!important") && 10))) {
804
+ switch (W(e, ie(e) - 3 - (~Ye(e, "!important") && 10))) {
805
805
  // stic(k)y
806
806
  case 107:
807
807
  return T(e, ":", ":" + _) + e;
808
808
  // (inline-)?fl(e)x
809
809
  case 101:
810
- return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (W(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + q + "$2box$3") + e;
810
+ return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (W(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + Y + "$2box$3") + e;
811
811
  }
812
812
  break;
813
813
  // writing-mode
@@ -815,44 +815,44 @@ function _r(e, r) {
815
815
  switch (W(e, r + 11)) {
816
816
  // vertical-l(r)
817
817
  case 114:
818
- return _ + e + q + T(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
818
+ return _ + e + Y + T(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
819
819
  // vertical-r(l)
820
820
  case 108:
821
- return _ + e + q + T(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
821
+ return _ + e + Y + T(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
822
822
  // horizontal(-)tb
823
823
  case 45:
824
- return _ + e + q + T(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
824
+ return _ + e + Y + T(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
825
825
  }
826
- return _ + e + q + e + e;
826
+ return _ + e + Y + e + e;
827
827
  }
828
828
  return e;
829
829
  }
830
830
  var ft = function(r, t, n, a) {
831
831
  if (r.length > -1 && !r.return) switch (r.type) {
832
- case Xe:
832
+ case Ge:
833
833
  r.return = _r(r.value, r.length);
834
834
  break;
835
835
  case wr:
836
- return ve([Se(r, {
836
+ return ye([Pe(r, {
837
837
  value: T(r.value, "@", "@" + _)
838
838
  })], a);
839
- case Be:
839
+ case He:
840
840
  if (r.length) return Br(r.props, function(s) {
841
841
  switch (Gr(s, /(::plac\w+|:read-\w+)/)) {
842
842
  // :read-(only|write)
843
843
  case ":read-only":
844
844
  case ":read-write":
845
- return ve([Se(r, {
846
- props: [T(s, /:(read-\w+)/, ":" + Le + "$1")]
845
+ return ye([Pe(r, {
846
+ props: [T(s, /:(read-\w+)/, ":" + Ve + "$1")]
847
847
  })], a);
848
848
  // :placeholder
849
849
  case "::placeholder":
850
- return ve([Se(r, {
850
+ return ye([Pe(r, {
851
851
  props: [T(s, /:(plac\w+)/, ":" + _ + "input-$1")]
852
- }), Se(r, {
853
- props: [T(s, /:(plac\w+)/, ":" + Le + "$1")]
854
- }), Se(r, {
855
- props: [T(s, /:(plac\w+)/, q + "input-$1")]
852
+ }), Pe(r, {
853
+ props: [T(s, /:(plac\w+)/, ":" + Ve + "$1")]
854
+ }), Pe(r, {
855
+ props: [T(s, /:(plac\w+)/, Y + "input-$1")]
856
856
  })], a);
857
857
  }
858
858
  return "";
@@ -862,34 +862,34 @@ var ft = function(r, t, n, a) {
862
862
  var t = r.key;
863
863
  if (t === "css") {
864
864
  var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
865
- Array.prototype.forEach.call(n, function(b) {
866
- var k = b.getAttribute("data-emotion");
867
- k.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
865
+ Array.prototype.forEach.call(n, function(x) {
866
+ var P = x.getAttribute("data-emotion");
867
+ P.indexOf(" ") !== -1 && (document.head.appendChild(x), x.setAttribute("data-s", ""));
868
868
  });
869
869
  }
870
- var a = r.stylisPlugins || dt, s = {}, u, d = [];
870
+ var a = r.stylisPlugins || dt, s = {}, u, p = [];
871
871
  u = r.container || document.head, Array.prototype.forEach.call(
872
872
  // this means we will ignore elements which don't have a space in them which
873
873
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
874
874
  document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
875
- function(b) {
876
- for (var k = b.getAttribute("data-emotion").split(" "), P = 1; P < k.length; P++)
877
- s[k[P]] = !0;
878
- d.push(b);
875
+ function(x) {
876
+ for (var P = x.getAttribute("data-emotion").split(" "), S = 1; S < P.length; S++)
877
+ s[P[S]] = !0;
878
+ p.push(x);
879
879
  }
880
880
  );
881
- var x, y = [lt, ut];
881
+ var w, v = [lt, ut];
882
882
  {
883
- var h, v = [nt, it(function(b) {
884
- h.insert(b);
885
- })], I = at(y.concat(a, v)), O = function(k) {
886
- return ve(rt(k), I);
883
+ var h, b = [nt, it(function(x) {
884
+ h.insert(x);
885
+ })], I = at(v.concat(a, b)), $ = function(P) {
886
+ return ye(rt(P), I);
887
887
  };
888
- x = function(k, P, A, F) {
889
- h = A, O(k ? k + "{" + P.styles + "}" : P.styles), F && ($.inserted[P.name] = !0);
888
+ w = function(P, S, C, V) {
889
+ h = C, $(P ? P + "{" + S.styles + "}" : S.styles), V && (j.inserted[S.name] = !0);
890
890
  };
891
891
  }
892
- var $ = {
892
+ var j = {
893
893
  key: t,
894
894
  sheet: new Ur({
895
895
  key: t,
@@ -902,9 +902,9 @@ var ft = function(r, t, n, a) {
902
902
  nonce: r.nonce,
903
903
  inserted: s,
904
904
  registered: {},
905
- insert: x
905
+ insert: w
906
906
  };
907
- return $.sheet.hydrate(d), $;
907
+ return j.sheet.hydrate(p), j;
908
908
  }, ht = !0;
909
909
  function mt(e, r, t) {
910
910
  var n = "";
@@ -1006,7 +1006,7 @@ var vt = {
1006
1006
  return r.charCodeAt(1) === 45;
1007
1007
  }, fr = function(r) {
1008
1008
  return r != null && typeof r != "boolean";
1009
- }, Ye = /* @__PURE__ */ Rr(function(e) {
1009
+ }, De = /* @__PURE__ */ Rr(function(e) {
1010
1010
  return Ar(e) ? e : e.replace(bt, "-$&").toLowerCase();
1011
1011
  }), dr = function(r, t) {
1012
1012
  switch (r) {
@@ -1014,16 +1014,16 @@ var vt = {
1014
1014
  case "animationName":
1015
1015
  if (typeof t == "string")
1016
1016
  return t.replace(xt, function(n, a, s) {
1017
- return ie = {
1017
+ return oe = {
1018
1018
  name: a,
1019
1019
  styles: s,
1020
- next: ie
1020
+ next: oe
1021
1021
  }, a;
1022
1022
  });
1023
1023
  }
1024
1024
  return vt[r] !== 1 && !Ar(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1025
1025
  };
1026
- function Te(e, r, t) {
1026
+ function Re(e, r, t) {
1027
1027
  if (t == null)
1028
1028
  return "";
1029
1029
  var n = t;
@@ -1035,30 +1035,30 @@ function Te(e, r, t) {
1035
1035
  case "object": {
1036
1036
  var a = t;
1037
1037
  if (a.anim === 1)
1038
- return ie = {
1038
+ return oe = {
1039
1039
  name: a.name,
1040
1040
  styles: a.styles,
1041
- next: ie
1041
+ next: oe
1042
1042
  }, a.name;
1043
1043
  var s = t;
1044
1044
  if (s.styles !== void 0) {
1045
1045
  var u = s.next;
1046
1046
  if (u !== void 0)
1047
1047
  for (; u !== void 0; )
1048
- ie = {
1048
+ oe = {
1049
1049
  name: u.name,
1050
1050
  styles: u.styles,
1051
- next: ie
1051
+ next: oe
1052
1052
  }, u = u.next;
1053
- var d = s.styles + ";";
1054
- return d;
1053
+ var p = s.styles + ";";
1054
+ return p;
1055
1055
  }
1056
1056
  return wt(e, r, t);
1057
1057
  }
1058
1058
  case "function": {
1059
1059
  if (e !== void 0) {
1060
- var x = ie, y = t(e);
1061
- return ie = x, Te(e, r, y);
1060
+ var w = oe, v = t(e);
1061
+ return oe = w, Re(e, r, v);
1062
1062
  }
1063
1063
  break;
1064
1064
  }
@@ -1066,69 +1066,69 @@ function Te(e, r, t) {
1066
1066
  var h = t;
1067
1067
  if (r == null)
1068
1068
  return h;
1069
- var v = r[h];
1070
- return v !== void 0 ? v : h;
1069
+ var b = r[h];
1070
+ return b !== void 0 ? b : h;
1071
1071
  }
1072
1072
  function wt(e, r, t) {
1073
1073
  var n = "";
1074
1074
  if (Array.isArray(t))
1075
1075
  for (var a = 0; a < t.length; a++)
1076
- n += Te(e, r, t[a]) + ";";
1076
+ n += Re(e, r, t[a]) + ";";
1077
1077
  else
1078
1078
  for (var s in t) {
1079
1079
  var u = t[s];
1080
1080
  if (typeof u != "object") {
1081
- var d = u;
1082
- r != null && r[d] !== void 0 ? n += s + "{" + r[d] + "}" : fr(d) && (n += Ye(s) + ":" + dr(s, d) + ";");
1081
+ var p = u;
1082
+ r != null && r[p] !== void 0 ? n += s + "{" + r[p] + "}" : fr(p) && (n += De(s) + ":" + dr(s, p) + ";");
1083
1083
  } else if (Array.isArray(u) && typeof u[0] == "string" && (r == null || r[u[0]] === void 0))
1084
- for (var x = 0; x < u.length; x++)
1085
- fr(u[x]) && (n += Ye(s) + ":" + dr(s, u[x]) + ";");
1084
+ for (var w = 0; w < u.length; w++)
1085
+ fr(u[w]) && (n += De(s) + ":" + dr(s, u[w]) + ";");
1086
1086
  else {
1087
- var y = Te(e, r, u);
1087
+ var v = Re(e, r, u);
1088
1088
  switch (s) {
1089
1089
  case "animation":
1090
1090
  case "animationName": {
1091
- n += Ye(s) + ":" + y + ";";
1091
+ n += De(s) + ":" + v + ";";
1092
1092
  break;
1093
1093
  }
1094
1094
  default:
1095
- n += s + "{" + y + "}";
1095
+ n += s + "{" + v + "}";
1096
1096
  }
1097
1097
  }
1098
1098
  }
1099
1099
  return n;
1100
1100
  }
1101
- var pr = /label:\s*([^\s;{]+)\s*(;|$)/g, ie;
1101
+ var pr = /label:\s*([^\s;{]+)\s*(;|$)/g, oe;
1102
1102
  function kt(e, r, t) {
1103
1103
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1104
1104
  return e[0];
1105
1105
  var n = !0, a = "";
1106
- ie = void 0;
1106
+ oe = void 0;
1107
1107
  var s = e[0];
1108
1108
  if (s == null || s.raw === void 0)
1109
- n = !1, a += Te(t, r, s);
1109
+ n = !1, a += Re(t, r, s);
1110
1110
  else {
1111
1111
  var u = s;
1112
1112
  a += u[0];
1113
1113
  }
1114
- for (var d = 1; d < e.length; d++)
1115
- if (a += Te(t, r, e[d]), n) {
1116
- var x = s;
1117
- a += x[d];
1114
+ for (var p = 1; p < e.length; p++)
1115
+ if (a += Re(t, r, e[p]), n) {
1116
+ var w = s;
1117
+ a += w[p];
1118
1118
  }
1119
1119
  pr.lastIndex = 0;
1120
- for (var y = "", h; (h = pr.exec(a)) !== null; )
1121
- y += "-" + h[1];
1122
- var v = yt(a) + y;
1120
+ for (var v = "", h; (h = pr.exec(a)) !== null; )
1121
+ v += "-" + h[1];
1122
+ var b = yt(a) + v;
1123
1123
  return {
1124
- name: v,
1124
+ name: b,
1125
1125
  styles: a,
1126
- next: ie
1126
+ next: oe
1127
1127
  };
1128
1128
  }
1129
1129
  var Pt = function(r) {
1130
1130
  return r();
1131
- }, St = fe.useInsertionEffect ? fe.useInsertionEffect : !1, Et = St || Pt, Cr = /* @__PURE__ */ fe.createContext(
1131
+ }, St = le.useInsertionEffect ? le.useInsertionEffect : !1, Et = St || Pt, Cr = /* @__PURE__ */ le.createContext(
1132
1132
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1133
1133
  // because this module is primarily intended for the browser and node
1134
1134
  // but it's also required in react native and similar environments sometimes
@@ -1145,7 +1145,7 @@ var Rt = function(r) {
1145
1145
  var a = jr(Cr);
1146
1146
  return r(t, a, n);
1147
1147
  });
1148
- }, _t = /* @__PURE__ */ fe.createContext({}), Tt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, At = /* @__PURE__ */ Rr(
1148
+ }, _t = /* @__PURE__ */ le.createContext({}), Tt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, At = /* @__PURE__ */ Rr(
1149
1149
  function(e) {
1150
1150
  return Tt.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
1151
1151
  }
@@ -1174,49 +1174,49 @@ var Rt = function(r) {
1174
1174
  }, jt = function e(r, t) {
1175
1175
  var n = r.__emotion_real === r, a = n && r.__emotion_base || r, s, u;
1176
1176
  t !== void 0 && (s = t.label, u = t.target);
1177
- var d = mr(r, t, n), x = d || hr(a), y = !x("as");
1177
+ var p = mr(r, t, n), w = p || hr(a), v = !w("as");
1178
1178
  return function() {
1179
- var h = arguments, v = n && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
1180
- if (s !== void 0 && v.push("label:" + s + ";"), h[0] == null || h[0].raw === void 0)
1181
- v.push.apply(v, h);
1179
+ var h = arguments, b = n && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
1180
+ if (s !== void 0 && b.push("label:" + s + ";"), h[0] == null || h[0].raw === void 0)
1181
+ b.push.apply(b, h);
1182
1182
  else {
1183
1183
  var I = h[0];
1184
- v.push(I[0]);
1185
- for (var O = h.length, $ = 1; $ < O; $++)
1186
- v.push(h[$], I[$]);
1184
+ b.push(I[0]);
1185
+ for (var $ = h.length, j = 1; j < $; j++)
1186
+ b.push(h[j], I[j]);
1187
1187
  }
1188
- var b = Rt(function(k, P, A) {
1189
- var F = y && k.as || a, L = "", z = [], M = k;
1190
- if (k.theme == null) {
1191
- M = {};
1192
- for (var S in k)
1193
- M[S] = k[S];
1194
- M.theme = fe.useContext(_t);
1188
+ var x = Rt(function(P, S, C) {
1189
+ var V = v && P.as || a, N = "", z = [], F = P;
1190
+ if (P.theme == null) {
1191
+ F = {};
1192
+ for (var E in P)
1193
+ F[E] = P[E];
1194
+ F.theme = le.useContext(_t);
1195
1195
  }
1196
- typeof k.className == "string" ? L = mt(P.registered, z, k.className) : k.className != null && (L = k.className + " ");
1197
- var de = kt(v.concat(z), P.registered, M);
1198
- L += P.key + "-" + de.name, u !== void 0 && (L += " " + u);
1199
- var G = y && d === void 0 ? hr(F) : x, ee = {};
1200
- for (var Y in k)
1201
- y && Y === "as" || G(Y) && (ee[Y] = k[Y]);
1202
- return ee.className = L, A && (ee.ref = A), /* @__PURE__ */ fe.createElement(fe.Fragment, null, /* @__PURE__ */ fe.createElement($t, {
1203
- cache: P,
1204
- serialized: de,
1205
- isStringTag: typeof F == "string"
1206
- }), /* @__PURE__ */ fe.createElement(F, ee));
1196
+ typeof P.className == "string" ? N = mt(S.registered, z, P.className) : P.className != null && (N = P.className + " ");
1197
+ var te = kt(b.concat(z), S.registered, F);
1198
+ N += S.key + "-" + te.name, u !== void 0 && (N += " " + u);
1199
+ var ce = v && p === void 0 ? hr(V) : w, q = {};
1200
+ for (var Q in P)
1201
+ v && Q === "as" || ce(Q) && (q[Q] = P[Q]);
1202
+ return q.className = N, C && (q.ref = C), /* @__PURE__ */ le.createElement(le.Fragment, null, /* @__PURE__ */ le.createElement($t, {
1203
+ cache: S,
1204
+ serialized: te,
1205
+ isStringTag: typeof V == "string"
1206
+ }), /* @__PURE__ */ le.createElement(V, q));
1207
1207
  });
1208
- return b.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", b.defaultProps = r.defaultProps, b.__emotion_real = b, b.__emotion_base = a, b.__emotion_styles = v, b.__emotion_forwardProp = d, Object.defineProperty(b, "toString", {
1208
+ return x.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", x.defaultProps = r.defaultProps, x.__emotion_real = x, x.__emotion_base = a, x.__emotion_styles = b, x.__emotion_forwardProp = p, Object.defineProperty(x, "toString", {
1209
1209
  value: function() {
1210
1210
  return "." + u;
1211
1211
  }
1212
- }), b.withComponent = function(k, P) {
1213
- var A = e(k, qe({}, t, P, {
1214
- shouldForwardProp: mr(b, P, !0)
1212
+ }), x.withComponent = function(P, S) {
1213
+ var C = e(P, We({}, t, S, {
1214
+ shouldForwardProp: mr(x, S, !0)
1215
1215
  }));
1216
- return A.apply(void 0, v);
1217
- }, b;
1216
+ return C.apply(void 0, b);
1217
+ }, x;
1218
1218
  };
1219
- }, It = [
1219
+ }, Mt = [
1220
1220
  "a",
1221
1221
  "abbr",
1222
1222
  "address",
@@ -1352,11 +1352,11 @@ var Rt = function(r) {
1352
1352
  "svg",
1353
1353
  "text",
1354
1354
  "tspan"
1355
- ], xe = jt.bind(null);
1356
- It.forEach(function(e) {
1357
- xe[e] = xe(e);
1355
+ ], be = jt.bind(null);
1356
+ Mt.forEach(function(e) {
1357
+ be[e] = be(e);
1358
1358
  });
1359
- const Mt = xe.div`
1359
+ const It = be.div`
1360
1360
  display: flex;
1361
1361
  align-items: center;
1362
1362
  justify-content: center;
@@ -1397,11 +1397,11 @@ const Mt = xe.div`
1397
1397
  return "";
1398
1398
  }
1399
1399
  }}
1400
- `, gr = ({ type: e, children: r, className: t, icon: n, action: a }) => /* @__PURE__ */ D.jsxs(Mt, { type: e, className: t, children: [
1400
+ `, gr = ({ type: e, children: r, className: t, icon: n, action: a }) => /* @__PURE__ */ D.jsxs(It, { type: e, className: t, children: [
1401
1401
  n && /* @__PURE__ */ D.jsx("span", { children: n }),
1402
1402
  /* @__PURE__ */ D.jsx("span", { children: r }),
1403
1403
  a && /* @__PURE__ */ D.jsx("span", { children: a })
1404
- ] }), yr = xe.div`
1404
+ ] }), yr = be.div`
1405
1405
  width: ${({ width: e }) => e || "100%"};
1406
1406
  height: ${({ height: e }) => e || "100%"};
1407
1407
  border-radius: 0px !important;
@@ -1417,7 +1417,7 @@ const Mt = xe.div`
1417
1417
  }
1418
1418
 
1419
1419
  ${({ $hiddenClasses: e }) => (e == null ? void 0 : e.length) && e.map((r) => `.${r} { display: none !important; }`).join("")}
1420
- `, Ft = xe.div`
1420
+ `, Ft = be.div`
1421
1421
  position: fixed;
1422
1422
  top: 0;
1423
1423
  left: 0;
@@ -1429,7 +1429,7 @@ const Mt = xe.div`
1429
1429
  align-items: center;
1430
1430
  z-index: 1000;
1431
1431
  pointer-events: auto;
1432
- `, Vt = xe.div`
1432
+ `, Vt = be.div`
1433
1433
  position: relative;
1434
1434
  height: 80vh;
1435
1435
  width: auto;
@@ -1437,54 +1437,54 @@ const Mt = xe.div`
1437
1437
  max-width: 90vw;
1438
1438
  max-height: 90vh;
1439
1439
  z-index: 1001;
1440
- `, me = "https://host.vpplayer.tech", Nt = (e) => `${me}/player/${e}/vpplayer.js`, Zt = (e) => `${me}/player/${e}.js`, Lt = (e, r) => `${me}/player/${e}/${r}.js`, zt = (e) => `${me}/vertical-player/${e}.js`, Ut = (e, r) => `${me}/vertical-player/${e}/${r}.js`, Dt = (e, r) => `${me}/player/${e}/${r}.json`, Wt = (e, r) => `${me}/vertical-player/${e}/${r}.json`, Yt = (e, r) => e ? `vp-player-${e}` : r ? `vp-player-default-${r}` : "vp-player-default", qt = (e, r) => {
1440
+ `, he = "https://host.vpplayer.tech", Lt = (e) => `${he}/player/${e}/vpplayer.js`, Zt = (e) => `${he}/player/${e}.js`, Nt = (e, r) => `${he}/player/${e}/${r}.js`, zt = (e) => `${he}/vertical-player/${e}.js`, Ut = (e, r) => `${he}/vertical-player/${e}/${r}.js`, Dt = (e, r) => `${he}/player/${e}/${r}.json`, Wt = (e, r) => `${he}/vertical-player/${e}/${r}.json`, Yt = (e, r) => e ? `vp-player-${e}` : r ? `vp-player-default-${r}` : "vp-player-default", qt = (e, r) => {
1441
1441
  const t = new URL(e);
1442
1442
  return t.searchParams.set("divId", r), t.toString();
1443
- }, je = /* @__PURE__ */ new Map(), Ht = (e, r) => {
1444
- const [t, n] = Ne(!1), [a, s] = Ne(null);
1445
- return Ee(() => {
1443
+ }, Ce = /* @__PURE__ */ new Map(), Ht = (e, r) => {
1444
+ const [t, n] = Fe(!1), [a, s] = Fe(null);
1445
+ return $e(() => {
1446
1446
  let u;
1447
1447
  try {
1448
- u = r || Nt(e || "latest");
1449
- } catch (y) {
1450
- const h = y instanceof Error ? y.message : String(y);
1448
+ u = r || Lt(e || "latest");
1449
+ } catch (v) {
1450
+ const h = v instanceof Error ? v.message : String(v);
1451
1451
  s(`Failed to resolve script URL: ${h}`);
1452
1452
  return;
1453
1453
  }
1454
- if (!je.has(u))
1454
+ if (!Ce.has(u))
1455
1455
  if (document.querySelector(
1456
1456
  `script[src="${u}"]`
1457
1457
  ))
1458
- je.set(u, Promise.resolve());
1458
+ Ce.set(u, Promise.resolve());
1459
1459
  else {
1460
- const h = new Promise((v, I) => {
1461
- const O = document.createElement("script");
1462
- O.src = u, O.async = !0, O.onload = () => v(), O.onerror = () => I(new Error(`Failed to load script: ${u}`)), document.body.appendChild(O);
1460
+ const h = new Promise((b, I) => {
1461
+ const $ = document.createElement("script");
1462
+ $.src = u, $.async = !0, $.onload = () => b(), $.onerror = () => I(new Error(`Failed to load script: ${u}`)), document.body.appendChild($);
1463
1463
  });
1464
- je.set(u, h);
1464
+ Ce.set(u, h);
1465
1465
  }
1466
- let d = !0;
1467
- const x = je.get(u);
1468
- return x && x.then(() => {
1469
- d && (n(!0), s(null));
1470
- }).catch((y) => {
1471
- d && (n(!1), s(y instanceof Error ? y.message : String(y)));
1466
+ let p = !0;
1467
+ const w = Ce.get(u);
1468
+ return w && w.then(() => {
1469
+ p && (n(!0), s(null));
1470
+ }).catch((v) => {
1471
+ p && (n(!1), s(v instanceof Error ? v.message : String(v)));
1472
1472
  }), () => {
1473
- d = !1;
1473
+ p = !1;
1474
1474
  };
1475
1475
  }, [e, r]), { isLoaded: t, error: a };
1476
1476
  };
1477
- function Ie(e) {
1477
+ function Oe(e) {
1478
1478
  return typeof e == "object" && e !== null && !Array.isArray(e);
1479
1479
  }
1480
1480
  function vr(e, r) {
1481
1481
  const t = r.playlist;
1482
1482
  if (!(t != null && t.videos) || !Array.isArray(t.videos))
1483
1483
  return;
1484
- const n = t.videos, a = n.findIndex((d) => {
1485
- if (!d || typeof d != "object") return !1;
1486
- const x = d;
1487
- return x.videoId === e || x.mediaId === e;
1484
+ const n = t.videos, a = n.findIndex((p) => {
1485
+ if (!p || typeof p != "object") return !1;
1486
+ const w = p;
1487
+ return w.videoId === e || w.mediaId === e;
1488
1488
  });
1489
1489
  if (a < 0 || a >= n.length - 1)
1490
1490
  return;
@@ -1494,12 +1494,12 @@ function vr(e, r) {
1494
1494
  return u.videoId ?? u.mediaId;
1495
1495
  }
1496
1496
  function Or(e, r) {
1497
- if (!Ie(e) || !Ie(r))
1497
+ if (!Oe(e) || !Oe(r))
1498
1498
  return r;
1499
1499
  const t = { ...e };
1500
1500
  for (const n of Object.keys(r)) {
1501
1501
  const a = r[n], s = t[n];
1502
- Ie(a) && Ie(s) ? t[n] = Or(s, a) : a !== void 0 && (t[n] = a);
1502
+ Oe(a) && Oe(s) ? t[n] = Or(s, a) : a !== void 0 && (t[n] = a);
1503
1503
  }
1504
1504
  return t;
1505
1505
  }
@@ -1527,325 +1527,327 @@ const Bt = ({
1527
1527
  config: a,
1528
1528
  playerId: s,
1529
1529
  isVertical: u = !1,
1530
- isReels: d = !1,
1531
- onReady: x,
1532
- onPlay: y,
1530
+ isReels: p = !1,
1531
+ onReady: w,
1532
+ onPlay: v,
1533
1533
  onPause: h,
1534
- onResume: v,
1534
+ onResume: b,
1535
1535
  onComplete: I,
1536
- onError: O,
1537
- onVideoStarted: $,
1538
- onTimeUpdate: b,
1539
- onQuartile25: k,
1540
- onQuartile50: P,
1541
- onQuartile75: A,
1542
- onNext: F,
1543
- onPrevious: L,
1536
+ onError: $,
1537
+ onVideoStarted: j,
1538
+ onTimeUpdate: x,
1539
+ onQuartile25: P,
1540
+ onQuartile50: S,
1541
+ onQuartile75: C,
1542
+ onNext: V,
1543
+ onPrevious: N,
1544
1544
  onProgress10s: z,
1545
- onProgress20s: M,
1546
- onPlaylistItem: S
1545
+ onProgress20s: F,
1546
+ onPlaylistItem: E,
1547
+ onVideoSwitch: te
1547
1548
  }) => {
1548
- const de = ne(null), G = ne(null), [ee, Y] = Ne(null), pe = Ir().replace(/:/g, ""), H = We(
1549
- () => Yt(s || `auto-${pe}`, r),
1550
- [s, pe, r]
1551
- ), p = ne({
1552
- onReady: x,
1553
- onPlay: y,
1549
+ const ce = pe(null), q = pe(null), [Q, J] = Fe(null), fe = Mr().replace(/:/g, ""), G = Ue(
1550
+ () => Yt(s || `auto-${fe}`, r),
1551
+ [s, fe, r]
1552
+ ), d = pe({
1553
+ onReady: w,
1554
+ onPlay: v,
1554
1555
  onPause: h,
1555
- onResume: v,
1556
+ onResume: b,
1556
1557
  onComplete: I,
1557
- onError: O,
1558
- onVideoStarted: $,
1559
- onTimeUpdate: b,
1560
- onQuartile25: k,
1561
- onQuartile50: P,
1562
- onQuartile75: A,
1563
- onNext: F,
1564
- onPrevious: L,
1558
+ onError: $,
1559
+ onVideoStarted: j,
1560
+ onTimeUpdate: x,
1561
+ onQuartile25: P,
1562
+ onQuartile50: S,
1563
+ onQuartile75: C,
1564
+ onNext: V,
1565
+ onPrevious: N,
1565
1566
  onProgress10s: z,
1566
- onProgress20s: M,
1567
- onPlaylistItem: S
1567
+ onProgress20s: F,
1568
+ onPlaylistItem: E,
1569
+ onVideoSwitch: te
1568
1570
  });
1569
- Ee(() => {
1570
- p.current = {
1571
- onReady: x,
1572
- onPlay: y,
1571
+ $e(() => {
1572
+ d.current = {
1573
+ onReady: w,
1574
+ onPlay: v,
1573
1575
  onPause: h,
1574
- onResume: v,
1576
+ onResume: b,
1575
1577
  onComplete: I,
1576
- onError: O,
1577
- onVideoStarted: $,
1578
- onTimeUpdate: b,
1579
- onQuartile25: k,
1580
- onQuartile50: P,
1581
- onQuartile75: A,
1582
- onNext: F,
1583
- onPrevious: L,
1578
+ onError: $,
1579
+ onVideoStarted: j,
1580
+ onTimeUpdate: x,
1581
+ onQuartile25: P,
1582
+ onQuartile50: S,
1583
+ onQuartile75: C,
1584
+ onNext: V,
1585
+ onPrevious: N,
1584
1586
  onProgress10s: z,
1585
- onProgress20s: M,
1586
- onPlaylistItem: S
1587
+ onProgress20s: F,
1588
+ onPlaylistItem: E,
1589
+ onVideoSwitch: te
1587
1590
  };
1588
1591
  }, [
1589
- x,
1590
- y,
1591
- h,
1592
+ w,
1592
1593
  v,
1594
+ h,
1595
+ b,
1593
1596
  I,
1594
- O,
1595
1597
  $,
1596
- b,
1597
- k,
1598
+ j,
1599
+ x,
1598
1600
  P,
1599
- A,
1600
- F,
1601
- L,
1601
+ S,
1602
+ C,
1603
+ V,
1604
+ N,
1602
1605
  z,
1603
- M,
1604
- S
1606
+ F,
1607
+ E,
1608
+ te
1605
1609
  ]);
1606
- const re = ne(!1), Z = ne(!1), he = ne(void 0), se = ne(!1), ce = ne(null), le = ne(a);
1607
- Ee(() => {
1608
- le.current = a;
1609
- });
1610
- const i = ne(r);
1611
- Ee(() => {
1612
- i.current = r;
1610
+ const ne = pe(!1), Z = pe(!1), ue = pe(void 0), ae = pe(a);
1611
+ $e(() => {
1612
+ ae.current = a;
1613
1613
  });
1614
- const m = !!a, E = We(() => u || d ? !0 : t ? t.includes("vertical-player") || t.includes("vpverticalplayer") : !1, [u, d, t]), j = We(() => {
1615
- let c;
1614
+ const ee = !!a, o = Ue(() => u || p ? !0 : t ? t.includes("vertical-player") || t.includes("vpverticalplayer") : !1, [u, p, t]), g = Ue(() => {
1615
+ let i;
1616
1616
  if (t)
1617
- c = t;
1618
- else if (e && r && !m)
1619
- c = E ? Ut(e, r) : Lt(e, r);
1617
+ i = t;
1618
+ else if (e && r && !ee)
1619
+ i = o ? Ut(e, r) : Nt(e, r);
1620
1620
  else if (e)
1621
- c = E ? zt(e) : `https://host.vpplayer.tech/player/${e}.js`;
1621
+ i = o ? zt(e) : `https://host.vpplayer.tech/player/${e}.js`;
1622
1622
  else
1623
1623
  return null;
1624
- return qt(c, H);
1625
- }, [t, e, r, E, H, m]), { isLoaded: Q, error: o } = Ht(
1624
+ return qt(i, G);
1625
+ }, [
1626
+ t,
1627
+ e,
1628
+ r,
1629
+ o,
1630
+ G,
1631
+ ee
1632
+ ]), { isLoaded: O, error: M } = Ht(
1626
1633
  null,
1627
- j || void 0
1634
+ g || void 0
1628
1635
  );
1629
- return Ee(() => {
1630
- if (!j) {
1631
- Y(
1636
+ return $e(() => {
1637
+ if (!g) {
1638
+ J(
1632
1639
  "VPPlayer: Provide scriptUrl OR (scriptId + videoId) OR (scriptId + config) to initialize the player."
1633
1640
  );
1634
1641
  return;
1635
1642
  }
1636
- if (o) {
1637
- Y(o);
1643
+ if (M) {
1644
+ J(M);
1638
1645
  return;
1639
1646
  }
1640
- if (!Q) return;
1641
- let c = !0;
1647
+ if (!O) return;
1648
+ let i = !0;
1642
1649
  return (async () => {
1643
- var ue;
1650
+ var k;
1644
1651
  try {
1645
- const te = E ? window.vpVerticalPlayer : window.vpPlayer;
1646
- if (!te) {
1647
- Y(
1648
- `VP Player: Script loaded but global function not found. Expected ${E ? "vpVerticalPlayer" : "vpPlayer"}.`
1652
+ const H = o ? window.vpVerticalPlayer : window.vpPlayer;
1653
+ if (!H) {
1654
+ J(
1655
+ `VP Player: Script loaded but global function not found. Expected ${o ? "vpVerticalPlayer" : "vpPlayer"}.`
1649
1656
  );
1650
1657
  return;
1651
1658
  }
1652
- if (await new Promise((C) => setTimeout(C, 0)), !document.getElementById(H)) {
1659
+ if (await new Promise((A) => setTimeout(A, 0)), !document.getElementById(G)) {
1653
1660
  console.error(
1654
- `VP Player: Container element with ID '${H}' not found in DOM.`
1661
+ `VP Player: Container element with ID '${G}' not found in DOM.`
1655
1662
  );
1656
1663
  return;
1657
1664
  }
1658
- const R = te(H);
1665
+ const R = H(G);
1659
1666
  if (!R) {
1660
- Y("VP Player: Failed to get player instance.");
1667
+ J("VP Player: Failed to get player instance.");
1661
1668
  return;
1662
1669
  }
1663
- if (c) {
1664
- if (G.current = R, Y(null), m && le.current) {
1665
- let C;
1670
+ if (i) {
1671
+ if (q.current = R, J(null), ee && ae.current) {
1672
+ let A;
1666
1673
  const f = await Gt(
1667
1674
  e,
1668
- i.current,
1669
- E
1675
+ r,
1676
+ o
1670
1677
  );
1671
- f ? C = Or(f, le.current) : C = le.current, n && !C.projectId && (C.projectId = n);
1678
+ f ? A = Or(f, ae.current) : A = ae.current, n && !A.projectId && (A.projectId = n);
1672
1679
  try {
1673
- await R.setup(C);
1674
- } catch (l) {
1675
- const g = l instanceof Error ? l.message : String(l);
1676
- if (g.includes("already initialized")) {
1680
+ await R.setup(A);
1681
+ } catch (c) {
1682
+ const m = c instanceof Error ? c.message : String(c);
1683
+ if (m.includes("already initialized")) {
1677
1684
  console.warn(
1678
1685
  "VP Player: Player already initialized, attempting to destroy and retry."
1679
1686
  );
1680
1687
  try {
1681
- if ((ue = R.destroy) == null || ue.call(R), await new Promise((w) => setTimeout(w, 50)), c && document.getElementById(H)) {
1682
- const w = te(H);
1683
- w && (await w.setup(C), G.current = w);
1688
+ if ((k = R.destroy) == null || k.call(R), await new Promise((y) => setTimeout(y, 50)), i && document.getElementById(G)) {
1689
+ const y = H(G);
1690
+ y && (await y.setup(A), q.current = y);
1684
1691
  }
1685
- } catch (w) {
1692
+ } catch (y) {
1686
1693
  console.error(
1687
1694
  "VP Player: Failed to recover from initialization error",
1688
- w
1695
+ y
1689
1696
  );
1690
1697
  }
1691
1698
  } else {
1692
- console.error("VP Player: Setup error", l), Y(`Player setup failed: ${g}`);
1699
+ console.error("VP Player: Setup error", c), J(`Player setup failed: ${m}`);
1693
1700
  return;
1694
1701
  }
1695
1702
  }
1696
1703
  }
1697
1704
  if (R.on) {
1698
- const C = R.on.bind(R);
1699
- C("vp-event", (f) => {
1700
- var w, U, B, X, Ce, Ke, Qe, er, rr, tr, nr;
1701
- const l = f, g = l == null ? void 0 : l.eventName;
1702
- if (E) {
1703
- if (g === "play" && !Z.current) {
1704
- const ye = R.videoObject;
1705
- (U = (w = p.current).onPlay) == null || U.call(w, ye);
1705
+ const A = R.on.bind(R);
1706
+ A("vp-event", (f) => {
1707
+ var y, U, B, re, Xe, Je, Ze, Ke, Qe, er, rr, tr, nr;
1708
+ const c = f, m = c == null ? void 0 : c.eventName;
1709
+ if (o) {
1710
+ if (m === "play" && !Z.current) {
1711
+ const ge = R.videoObject;
1712
+ (U = (y = d.current).onPlay) == null || U.call(y, ge);
1706
1713
  }
1707
- if (g === "vp-state-paused") {
1708
- const ge = ((B = R.isEnded) == null ? void 0 : B.call(R)) ?? !1, ye = (l == null ? void 0 : l.interaction) ?? !0;
1709
- !ge && ye && (Z.current = !0, (Ce = (X = p.current).onPause) == null || Ce.call(X));
1714
+ if (m === "vp-state-paused") {
1715
+ const de = ((B = R.isEnded) == null ? void 0 : B.call(R)) ?? !1, ge = (c == null ? void 0 : c.interaction) ?? !0;
1716
+ !de && ge && (Z.current = !0, (Xe = (re = d.current).onPause) == null || Xe.call(re));
1710
1717
  }
1711
- if (g === "vp-state-playing" && (((l == null ? void 0 : l.interaction) ?? Z.current) && Z.current && ((Qe = (Ke = p.current).onResume) == null || Qe.call(Ke)), Z.current = !1), g === "vp-video-switch") {
1718
+ if (m === "vp-state-playing" && (((c == null ? void 0 : c.interaction) ?? Z.current) && Z.current && ((Ze = (Je = d.current).onResume) == null || Ze.call(Je)), Z.current = !1), m === "vp-video-switch") {
1712
1719
  Z.current = !1;
1713
- const ge = l, ye = ge.direction, ar = ge.currentTime ?? 0;
1714
- ye === "next" ? (rr = (er = p.current).onNext) == null || rr.call(er, ar) : ye === "prev" && ((nr = (tr = p.current).onPrevious) == null || nr.call(tr, ar));
1720
+ const de = c;
1721
+ (Qe = (Ke = d.current).onVideoSwitch) == null || Qe.call(Ke, de);
1722
+ const ge = de.direction, ar = de.currentTime ?? 0;
1723
+ ge === "next" ? (rr = (er = d.current).onNext) == null || rr.call(er, ar) : ge === "prev" && ((nr = (tr = d.current).onPrevious) == null || nr.call(tr, ar));
1715
1724
  }
1716
- g === "vp-video-completed" && (Z.current = !1);
1725
+ m === "vp-video-completed" && (Z.current = !1);
1717
1726
  }
1718
- }), C("analytics-25%-completed", () => {
1719
- var f, l;
1720
- (l = (f = p.current).onQuartile25) == null || l.call(f);
1721
- }), C("analytics-50%-completed", () => {
1722
- var f, l;
1723
- (l = (f = p.current).onQuartile50) == null || l.call(f);
1724
- }), C("analytics-75%-completed", () => {
1725
- var f, l;
1726
- (l = (f = p.current).onQuartile75) == null || l.call(f);
1727
- }), E || C("pause", () => {
1728
- var f, l;
1729
- (l = (f = p.current).onPause) == null || l.call(f);
1730
- }), C("error", (f) => {
1731
- var g, w;
1732
- const l = typeof f == "string" ? f : (f == null ? void 0 : f.message) || "Unknown error";
1733
- (w = (g = p.current).onError) == null || w.call(g, l);
1734
- }), E ? (C("vp-first-frame", () => {
1735
- var g, w;
1736
- const l = R.videoObject;
1737
- (w = (g = p.current).onReady) == null || w.call(g, l);
1738
- }), C("vp-video-started", (f) => {
1739
- var l, g;
1740
- (g = (l = p.current).onVideoStarted) == null || g.call(l, f);
1741
- }), C("vp-twenty-view", () => {
1742
- var l, g, w;
1743
- const f = ((l = R.getPosition) == null ? void 0 : l.call(R)) ?? 20;
1744
- (w = (g = p.current).onProgress20s) == null || w.call(g, Math.floor(f));
1745
- }), C("vp-video-state", () => {
1746
- var l, g, w;
1747
- const f = ((l = R.getPosition) == null ? void 0 : l.call(R)) ?? 0;
1748
- (w = (g = p.current).onProgress10s) == null || w.call(
1749
- g,
1727
+ }), A("analytics-25%-completed", () => {
1728
+ var f, c;
1729
+ (c = (f = d.current).onQuartile25) == null || c.call(f);
1730
+ }), A("analytics-50%-completed", () => {
1731
+ var f, c;
1732
+ (c = (f = d.current).onQuartile50) == null || c.call(f);
1733
+ }), A("analytics-75%-completed", () => {
1734
+ var f, c;
1735
+ (c = (f = d.current).onQuartile75) == null || c.call(f);
1736
+ }), o || A("pause", () => {
1737
+ var f, c;
1738
+ (c = (f = d.current).onPause) == null || c.call(f);
1739
+ }), A("error", (f) => {
1740
+ var m, y;
1741
+ const c = typeof f == "string" ? f : (f == null ? void 0 : f.message) || "Unknown error";
1742
+ (y = (m = d.current).onError) == null || y.call(m, c);
1743
+ }), o ? (A("vp-first-frame", () => {
1744
+ var m, y;
1745
+ const c = R.videoObject;
1746
+ (y = (m = d.current).onReady) == null || y.call(m, c);
1747
+ }), A("vp-video-started", (f) => {
1748
+ var c, m;
1749
+ (m = (c = d.current).onVideoStarted) == null || m.call(c, f);
1750
+ }), A("vp-twenty-view", () => {
1751
+ var c, m, y;
1752
+ const f = ((c = R.getPosition) == null ? void 0 : c.call(R)) ?? 20;
1753
+ (y = (m = d.current).onProgress20s) == null || y.call(m, Math.floor(f));
1754
+ }), A("vp-video-state", () => {
1755
+ var c, m, y;
1756
+ const f = ((c = R.getPosition) == null ? void 0 : c.call(R)) ?? 0;
1757
+ (y = (m = d.current).onProgress10s) == null || y.call(
1758
+ m,
1750
1759
  Math.floor(f)
1751
1760
  );
1752
- }), C("vp-time", (f) => {
1753
- var g, w, U;
1754
- let l = 0;
1755
- typeof f == "number" ? l = f : f && typeof f == "object" && "position" in f ? l = f.position : l = ((g = R.getPosition) == null ? void 0 : g.call(R)) ?? 0, (U = (w = p.current).onTimeUpdate) == null || U.call(w, l);
1756
- }), C("vp-video-completed", () => {
1757
- var f, l;
1758
- (l = (f = p.current).onComplete) == null || l.call(f);
1759
- })) : (C("ready", () => {
1760
- var f, l;
1761
- (l = (f = p.current).onReady) == null || l.call(f);
1762
- }), C("play", (f) => {
1763
- var g, w, U, B, X;
1764
- if (ce.current) {
1765
- try {
1766
- (g = R.setVideoLocking) == null || g.call(R, ce.current);
1767
- } catch (Ce) {
1768
- console.warn("[VPPlayer] Failed to apply pending video locking:", Ce);
1769
- }
1770
- ce.current = null;
1771
- }
1772
- se.current = !1;
1773
- const l = f;
1774
- l != null && l.resume || l != null && l.afterPause ? (U = (w = p.current).onResume) == null || U.call(w) : (X = (B = p.current).onPlay) == null || X.call(B);
1775
- }), C("complete", () => {
1776
- var f, l;
1777
- (l = (f = p.current).onComplete) == null || l.call(f), re.current = !1;
1778
- }), C("video-started", (f) => {
1779
- var B, X;
1780
- const l = f ?? {}, g = l.videoId || he.current, w = vr(g, R), U = {
1781
- ...l,
1782
- videoId: g,
1783
- nextVideoId: w
1761
+ }), A("vp-time", (f) => {
1762
+ var m, y, U;
1763
+ let c = 0;
1764
+ typeof f == "number" ? c = f : f && typeof f == "object" && "position" in f ? c = f.position : c = ((m = R.getPosition) == null ? void 0 : m.call(R)) ?? 0, (U = (y = d.current).onTimeUpdate) == null || U.call(y, c);
1765
+ }), A("vp-video-completed", () => {
1766
+ var f, c;
1767
+ (c = (f = d.current).onComplete) == null || c.call(f);
1768
+ })) : (A("ready", () => {
1769
+ var f, c;
1770
+ (c = (f = d.current).onReady) == null || c.call(f);
1771
+ }), A("play", (f) => {
1772
+ var m, y, U, B;
1773
+ const c = f;
1774
+ c != null && c.resume || c != null && c.afterPause ? (y = (m = d.current).onResume) == null || y.call(m) : (B = (U = d.current).onPlay) == null || B.call(U);
1775
+ }), A("complete", () => {
1776
+ var f, c;
1777
+ (c = (f = d.current).onComplete) == null || c.call(f), ne.current = !1;
1778
+ }), A("video-started", (f) => {
1779
+ var B, re;
1780
+ const c = f ?? {}, m = c.videoId || ue.current, y = vr(m, R), U = {
1781
+ ...c,
1782
+ videoId: m,
1783
+ nextVideoId: y
1784
1784
  };
1785
- (X = (B = p.current).onVideoStarted) == null || X.call(B, U);
1786
- }), C("video-state", () => {
1787
- var l, g, w;
1788
- const f = ((l = R.getPosition) == null ? void 0 : l.call(R)) ?? 0;
1789
- (w = (g = p.current).onProgress10s) == null || w.call(
1790
- g,
1785
+ (re = (B = d.current).onVideoStarted) == null || re.call(B, U);
1786
+ }), A("video-state", () => {
1787
+ var c, m, y;
1788
+ const f = ((c = R.getPosition) == null ? void 0 : c.call(R)) ?? 0;
1789
+ (y = (m = d.current).onProgress10s) == null || y.call(
1790
+ m,
1791
1791
  Math.floor(f)
1792
1792
  );
1793
- }), C("time", (f) => {
1794
- var g, w, U, B, X;
1795
- let l = 0;
1796
- typeof f == "number" ? l = f : f && typeof f == "object" && "position" in f ? l = f.position : l = ((g = R.getPosition) == null ? void 0 : g.call(R)) ?? 0, (U = (w = p.current).onTimeUpdate) == null || U.call(w, l), !re.current && l >= 20 && (re.current = !0, (X = (B = p.current).onProgress20s) == null || X.call(B, Math.floor(l)));
1797
- }), C("playlistItem", (f) => {
1798
- var B, X;
1799
- se.current = !0, re.current = !1;
1800
- const l = f;
1801
- he.current = l == null ? void 0 : l.id;
1802
- const g = l == null ? void 0 : l.id, w = vr(g, R), U = {
1803
- videoId: g,
1804
- nextVideoId: w
1793
+ }), A("time", (f) => {
1794
+ var m, y, U, B, re;
1795
+ let c = 0;
1796
+ typeof f == "number" ? c = f : f && typeof f == "object" && "position" in f ? c = f.position : c = ((m = R.getPosition) == null ? void 0 : m.call(R)) ?? 0, (U = (y = d.current).onTimeUpdate) == null || U.call(y, c), !ne.current && c >= 20 && (ne.current = !0, (re = (B = d.current).onProgress20s) == null || re.call(B, Math.floor(c)));
1797
+ }), A("playlistItem", (f) => {
1798
+ var B, re;
1799
+ ne.current = !1;
1800
+ const c = f;
1801
+ ue.current = c == null ? void 0 : c.id;
1802
+ const m = c == null ? void 0 : c.id, y = vr(m, R), U = {
1803
+ videoId: m,
1804
+ nextVideoId: y
1805
1805
  };
1806
- (X = (B = p.current).onPlaylistItem) == null || X.call(B, U);
1807
- }), C("nextClick", (f) => {
1808
- var w, U;
1809
- const l = f, g = (l == null ? void 0 : l.currentTime) ?? 0;
1810
- (U = (w = p.current).onNext) == null || U.call(w, g);
1806
+ (re = (B = d.current).onPlaylistItem) == null || re.call(B, U);
1807
+ }), A("nextClick", (f) => {
1808
+ var y, U;
1809
+ const c = f, m = (c == null ? void 0 : c.currentTime) ?? 0;
1810
+ (U = (y = d.current).onNext) == null || U.call(y, m);
1811
+ }), A("vp-video-switch", (f) => {
1812
+ var m, y;
1813
+ const c = f ?? {};
1814
+ (y = (m = d.current).onVideoSwitch) == null || y.call(m, c);
1811
1815
  }));
1812
1816
  }
1813
1817
  }
1814
- } catch (te) {
1815
- if (c) {
1816
- const Ze = te instanceof Error ? te.message : String(te);
1817
- Y(Ze), console.error("VP Player initialization error:", te);
1818
+ } catch (H) {
1819
+ if (i) {
1820
+ const me = H instanceof Error ? H.message : String(H);
1821
+ J(me), console.error("VP Player initialization error:", H);
1818
1822
  }
1819
1823
  }
1820
1824
  })(), () => {
1821
- var ue;
1822
- if (c = !1, (ue = G.current) != null && ue.destroy) {
1825
+ var k;
1826
+ if (i = !1, (k = q.current) != null && k.destroy) {
1823
1827
  try {
1824
- G.current.destroy();
1828
+ q.current.destroy();
1825
1829
  } catch {
1826
1830
  }
1827
- G.current = null;
1831
+ q.current = null;
1828
1832
  }
1829
1833
  };
1830
1834
  }, [
1831
- Q,
1832
- H,
1835
+ O,
1836
+ G,
1837
+ M,
1838
+ g,
1833
1839
  o,
1834
- j,
1835
- E,
1836
- m,
1840
+ ee,
1837
1841
  e,
1838
- n
1842
+ n,
1843
+ r
1839
1844
  ]), {
1840
- playerRef: de,
1841
- playerInstanceRef: G,
1842
- isScriptLoaded: Q,
1843
- isLoading: !Q && !ee,
1844
- error: ee,
1845
- generatedPlayerId: H,
1846
- // Expose transition state for safe config updates
1847
- isInPlaylistTransitionRef: se,
1848
- pendingVideoLockingRef: ce
1845
+ playerRef: ce,
1846
+ playerInstanceRef: q,
1847
+ isScriptLoaded: O,
1848
+ isLoading: !O && !Q,
1849
+ error: Q,
1850
+ generatedPlayerId: G
1849
1851
  };
1850
1852
  }, Xt = br(
1851
1853
  ({
@@ -1856,37 +1858,36 @@ const Bt = ({
1856
1858
  config: a,
1857
1859
  playerId: s,
1858
1860
  isVertical: u = !1,
1859
- isReels: d = !1,
1860
- thumbnailUrl: x,
1861
- onClose: y,
1861
+ isReels: p = !1,
1862
+ thumbnailUrl: w,
1863
+ onClose: v,
1862
1864
  className: h,
1863
- hiddenClasses: v = [],
1865
+ hiddenClasses: b = [],
1864
1866
  onReady: I,
1865
- onPlay: O,
1866
- onPause: $,
1867
- onResume: b,
1868
- onComplete: k,
1869
- onError: P,
1870
- onVideoStarted: A,
1871
- onTimeUpdate: F,
1872
- onQuartile25: L,
1867
+ onPlay: $,
1868
+ onPause: j,
1869
+ onResume: x,
1870
+ onComplete: P,
1871
+ onError: S,
1872
+ onVideoStarted: C,
1873
+ onTimeUpdate: V,
1874
+ onQuartile25: N,
1873
1875
  onQuartile50: z,
1874
- onQuartile75: M,
1875
- onNext: S,
1876
- onPrevious: de,
1877
- onProgress10s: G,
1878
- onProgress20s: ee,
1879
- onPlaylistItem: Y
1880
- }, pe) => {
1876
+ onQuartile75: F,
1877
+ onNext: E,
1878
+ onPrevious: te,
1879
+ onProgress10s: ce,
1880
+ onProgress20s: q,
1881
+ onPlaylistItem: Q,
1882
+ onVideoSwitch: J
1883
+ }, fe) => {
1881
1884
  const {
1882
- playerRef: H,
1883
- playerInstanceRef: p,
1884
- isScriptLoaded: re,
1885
+ playerRef: G,
1886
+ playerInstanceRef: d,
1887
+ isScriptLoaded: ne,
1885
1888
  isLoading: Z,
1886
- error: he,
1887
- generatedPlayerId: se,
1888
- isInPlaylistTransitionRef: ce,
1889
- pendingVideoLockingRef: le
1889
+ error: ue,
1890
+ generatedPlayerId: ae
1890
1891
  } = Bt({
1891
1892
  scriptId: e,
1892
1893
  videoId: r,
@@ -1895,133 +1896,133 @@ const Bt = ({
1895
1896
  config: a,
1896
1897
  playerId: s,
1897
1898
  isVertical: u,
1898
- isReels: d,
1899
+ isReels: p,
1899
1900
  onReady: I,
1900
- onPlay: O,
1901
- onPause: $,
1902
- onResume: b,
1903
- onComplete: k,
1904
- onError: P,
1905
- onVideoStarted: A,
1906
- onTimeUpdate: F,
1907
- onQuartile25: L,
1901
+ onPlay: $,
1902
+ onPause: j,
1903
+ onResume: x,
1904
+ onComplete: P,
1905
+ onError: S,
1906
+ onVideoStarted: C,
1907
+ onTimeUpdate: V,
1908
+ onQuartile25: N,
1908
1909
  onQuartile50: z,
1909
- onQuartile75: M,
1910
- onNext: S,
1911
- onPrevious: de,
1912
- onProgress10s: G,
1913
- onProgress20s: ee,
1914
- onPlaylistItem: Y
1910
+ onQuartile75: F,
1911
+ onNext: E,
1912
+ onPrevious: te,
1913
+ onProgress10s: ce,
1914
+ onProgress20s: q,
1915
+ onPlaylistItem: Q,
1916
+ onVideoSwitch: J
1915
1917
  });
1916
- Mr(
1917
- pe,
1918
+ Ir(
1919
+ fe,
1918
1920
  () => ({
1919
1921
  play: () => {
1920
- var o, c;
1921
- return (c = (o = p.current) == null ? void 0 : o.play) == null ? void 0 : c.call(o);
1922
+ var i, l;
1923
+ return (l = (i = d.current) == null ? void 0 : i.play) == null ? void 0 : l.call(i);
1922
1924
  },
1923
1925
  pause: () => {
1924
- var o, c;
1925
- return (c = (o = p.current) == null ? void 0 : o.pause) == null ? void 0 : c.call(o);
1926
+ var i, l;
1927
+ return (l = (i = d.current) == null ? void 0 : i.pause) == null ? void 0 : l.call(i);
1926
1928
  },
1927
- seek: (o) => {
1928
- var c, V;
1929
- return (V = (c = p.current) == null ? void 0 : c.seek) == null ? void 0 : V.call(c, o);
1929
+ seek: (i) => {
1930
+ var l, k;
1931
+ return (k = (l = d.current) == null ? void 0 : l.seek) == null ? void 0 : k.call(l, i);
1930
1932
  },
1931
1933
  forward: () => {
1932
- var o, c;
1933
- return (c = (o = p.current) == null ? void 0 : o.forward) == null ? void 0 : c.call(o);
1934
+ var i, l;
1935
+ return (l = (i = d.current) == null ? void 0 : i.forward) == null ? void 0 : l.call(i);
1934
1936
  },
1935
1937
  rewind: () => {
1936
- var o, c;
1937
- return (c = (o = p.current) == null ? void 0 : o.rewind) == null ? void 0 : c.call(o);
1938
+ var i, l;
1939
+ return (l = (i = d.current) == null ? void 0 : i.rewind) == null ? void 0 : l.call(i);
1938
1940
  },
1939
1941
  replay: () => {
1940
- var o, c;
1941
- return (c = (o = p.current) == null ? void 0 : o.replay) == null ? void 0 : c.call(o);
1942
+ var i, l;
1943
+ return (l = (i = d.current) == null ? void 0 : i.replay) == null ? void 0 : l.call(i);
1942
1944
  },
1943
1945
  mute: () => {
1944
- var o, c;
1945
- return (c = (o = p.current) == null ? void 0 : o.mute) == null ? void 0 : c.call(o);
1946
+ var i, l;
1947
+ return (l = (i = d.current) == null ? void 0 : i.mute) == null ? void 0 : l.call(i);
1946
1948
  },
1947
1949
  unmute: () => {
1948
- var o, c;
1949
- return (c = (o = p.current) == null ? void 0 : o.unmute) == null ? void 0 : c.call(o);
1950
+ var i, l;
1951
+ return (l = (i = d.current) == null ? void 0 : i.unmute) == null ? void 0 : l.call(i);
1950
1952
  },
1951
1953
  togglePlay: () => {
1952
- var o, c;
1953
- return (c = (o = p.current) == null ? void 0 : o.togglePlay) == null ? void 0 : c.call(o);
1954
+ var i, l;
1955
+ return (l = (i = d.current) == null ? void 0 : i.togglePlay) == null ? void 0 : l.call(i);
1954
1956
  },
1955
1957
  toggleMute: () => {
1956
- var o, c;
1957
- return (c = (o = p.current) == null ? void 0 : o.toggleMute) == null ? void 0 : c.call(o);
1958
+ var i, l;
1959
+ return (l = (i = d.current) == null ? void 0 : i.toggleMute) == null ? void 0 : l.call(i);
1958
1960
  },
1959
1961
  enterFullScreen: () => {
1960
- var o, c, V;
1961
- return (V = ((o = p.current) == null ? void 0 : o.enterFullScreen) ?? ((c = p.current) == null ? void 0 : c.enterFullscreen)) == null ? void 0 : V();
1962
+ var i, l, k;
1963
+ return (k = ((i = d.current) == null ? void 0 : i.enterFullScreen) ?? ((l = d.current) == null ? void 0 : l.enterFullscreen)) == null ? void 0 : k();
1962
1964
  },
1963
1965
  exitFullScreen: () => {
1964
- var o, c, V;
1965
- return (V = ((o = p.current) == null ? void 0 : o.exitFullScreen) ?? ((c = p.current) == null ? void 0 : c.exitFullscreen)) == null ? void 0 : V();
1966
+ var i, l, k;
1967
+ return (k = ((i = d.current) == null ? void 0 : i.exitFullScreen) ?? ((l = d.current) == null ? void 0 : l.exitFullscreen)) == null ? void 0 : k();
1966
1968
  },
1967
1969
  getPosition: () => {
1968
- var o, c;
1969
- return ((c = (o = p.current) == null ? void 0 : o.getPosition) == null ? void 0 : c.call(o)) ?? null;
1970
+ var i, l;
1971
+ return ((l = (i = d.current) == null ? void 0 : i.getPosition) == null ? void 0 : l.call(i)) ?? null;
1970
1972
  },
1971
1973
  getDuration: () => {
1972
- var o, c;
1973
- return ((c = (o = p.current) == null ? void 0 : o.getDuration) == null ? void 0 : c.call(o)) ?? null;
1974
+ var i, l;
1975
+ return ((l = (i = d.current) == null ? void 0 : i.getDuration) == null ? void 0 : l.call(i)) ?? null;
1974
1976
  },
1975
1977
  getVolume: () => {
1976
- var o, c;
1977
- return ((c = (o = p.current) == null ? void 0 : o.getVolume) == null ? void 0 : c.call(o)) ?? null;
1978
+ var i, l;
1979
+ return ((l = (i = d.current) == null ? void 0 : i.getVolume) == null ? void 0 : l.call(i)) ?? null;
1978
1980
  },
1979
- setVolume: (o) => {
1980
- var c, V;
1981
- return (V = (c = p.current) == null ? void 0 : c.setVolume) == null ? void 0 : V.call(c, o);
1981
+ setVolume: (i) => {
1982
+ var l, k;
1983
+ return (k = (l = d.current) == null ? void 0 : l.setVolume) == null ? void 0 : k.call(l, i);
1982
1984
  },
1983
1985
  isMuted: () => {
1984
- var o, c;
1985
- return ((c = (o = p.current) == null ? void 0 : o.isMuted) == null ? void 0 : c.call(o)) ?? !1;
1986
+ var i, l;
1987
+ return ((l = (i = d.current) == null ? void 0 : i.isMuted) == null ? void 0 : l.call(i)) ?? !1;
1986
1988
  },
1987
1989
  isPlaying: () => {
1988
- var o, c;
1989
- return ((c = (o = p.current) == null ? void 0 : o.isPlaying) == null ? void 0 : c.call(o)) ?? !1;
1990
+ var i, l;
1991
+ return ((l = (i = d.current) == null ? void 0 : i.isPlaying) == null ? void 0 : l.call(i)) ?? !1;
1990
1992
  },
1991
1993
  isPaused: () => {
1992
- var o, c;
1993
- return ((c = (o = p.current) == null ? void 0 : o.isPaused) == null ? void 0 : c.call(o)) ?? !1;
1994
+ var i, l;
1995
+ return ((l = (i = d.current) == null ? void 0 : i.isPaused) == null ? void 0 : l.call(i)) ?? !1;
1994
1996
  },
1995
1997
  isFullscreen: () => {
1996
- var o, c;
1997
- return ((c = (o = p.current) == null ? void 0 : o.isFullscreen) == null ? void 0 : c.call(o)) ?? !1;
1998
+ var i, l;
1999
+ return ((l = (i = d.current) == null ? void 0 : i.isFullscreen) == null ? void 0 : l.call(i)) ?? !1;
1998
2000
  },
1999
- setVideoLocking: (o) => {
2000
- var c, V;
2001
- if (!p.current) {
2002
- console.error("[VPPlayer] No player instance");
2003
- return;
2004
- }
2005
- if (ce.current) {
2006
- le.current = o;
2007
- return;
2008
- }
2009
- (V = (c = p.current).setVideoLocking) == null || V.call(c, o);
2001
+ shouldLockVideo: (i) => {
2002
+ d.current && (d.current.shouldLockVideo = i ?? void 0);
2003
+ },
2004
+ removeVideoLock: () => {
2005
+ var i, l;
2006
+ return (l = (i = d.current) == null ? void 0 : i.removeVideoLock) == null ? void 0 : l.call(i);
2007
+ },
2008
+ setVideoLocking: (i) => {
2009
+ var l, k;
2010
+ return (k = (l = d.current) == null ? void 0 : l.setVideoLocking) == null ? void 0 : k.call(l, i);
2010
2011
  }
2011
2012
  }),
2012
2013
  // eslint-disable-next-line react-hooks/exhaustive-deps
2013
2014
  []
2014
2015
  );
2015
- const [i, m] = Ne(!0), E = () => d && m(!0), j = () => {
2016
- var o, c;
2017
- !d || !i || (m(!1), (c = (o = p.current) == null ? void 0 : o.pause) == null || c.call(o), y == null || y());
2016
+ const [ee, o] = Fe(!0), g = () => p && o(!0), O = () => {
2017
+ var i, l;
2018
+ !p || !ee || (o(!1), (l = (i = d.current) == null ? void 0 : i.pause) == null || l.call(i), v == null || v());
2018
2019
  };
2019
- if (he)
2020
+ if (ue)
2020
2021
  return /* @__PURE__ */ D.jsxs(gr, { type: "error", children: [
2021
2022
  "An error occurred: ",
2022
- he
2023
+ ue
2023
2024
  ] });
2024
- const Q = () => /* @__PURE__ */ D.jsx(
2025
+ const M = () => /* @__PURE__ */ D.jsx(
2025
2026
  "div",
2026
2027
  {
2027
2028
  style: {
@@ -2039,26 +2040,26 @@ const Bt = ({
2039
2040
  children: /* @__PURE__ */ D.jsx(gr, { type: "loading", children: "Loading..." })
2040
2041
  }
2041
2042
  );
2042
- return d ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
2043
- !i && /* @__PURE__ */ D.jsx(
2043
+ return p ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
2044
+ !ee && /* @__PURE__ */ D.jsx(
2044
2045
  "div",
2045
2046
  {
2046
- onClick: E,
2047
+ onClick: g,
2047
2048
  style: {
2048
2049
  cursor: "pointer",
2049
2050
  width: "100%",
2050
2051
  height: "100%",
2051
- backgroundImage: x ? `url(${x})` : void 0,
2052
+ backgroundImage: w ? `url(${w})` : void 0,
2052
2053
  backgroundSize: "cover",
2053
2054
  backgroundPosition: "center"
2054
2055
  }
2055
2056
  }
2056
2057
  ),
2057
- i && /* @__PURE__ */ D.jsx(Ft, { onClick: j, className: h, children: /* @__PURE__ */ D.jsx(
2058
+ ee && /* @__PURE__ */ D.jsx(Ft, { onClick: O, className: h, children: /* @__PURE__ */ D.jsx(
2058
2059
  Vt,
2059
2060
  {
2060
2061
  className: h,
2061
- onClick: (o) => o.stopPropagation(),
2062
+ onClick: (i) => i.stopPropagation(),
2062
2063
  children: /* @__PURE__ */ D.jsxs(
2063
2064
  "div",
2064
2065
  {
@@ -2071,15 +2072,15 @@ const Bt = ({
2071
2072
  /* @__PURE__ */ D.jsx(
2072
2073
  yr,
2073
2074
  {
2074
- id: se,
2075
- ref: H,
2075
+ id: ae,
2076
+ ref: G,
2076
2077
  width: "100%",
2077
2078
  height: "100%",
2078
- $hiddenClasses: v,
2079
+ $hiddenClasses: b,
2079
2080
  className: h
2080
2081
  }
2081
2082
  ),
2082
- (Z || !re) && /* @__PURE__ */ D.jsx(Q, {})
2083
+ (Z || !ne) && /* @__PURE__ */ D.jsx(M, {})
2083
2084
  ]
2084
2085
  }
2085
2086
  )
@@ -2089,15 +2090,15 @@ const Bt = ({
2089
2090
  /* @__PURE__ */ D.jsx(
2090
2091
  yr,
2091
2092
  {
2092
- id: se,
2093
- ref: H,
2093
+ id: ae,
2094
+ ref: G,
2094
2095
  width: "100%",
2095
2096
  height: "100%",
2096
- $hiddenClasses: v,
2097
+ $hiddenClasses: b,
2097
2098
  className: h
2098
2099
  }
2099
2100
  ),
2100
- (Z || !re) && /* @__PURE__ */ D.jsx(Q, {})
2101
+ (Z || !ne) && /* @__PURE__ */ D.jsx(M, {})
2101
2102
  ] });
2102
2103
  }
2103
2104
  );
@@ -2107,12 +2108,12 @@ export {
2107
2108
  yr as PlayerContainer,
2108
2109
  Vt as PlayerWrapper,
2109
2110
  Xt as VPPlayer,
2110
- me as VP_PLAYER_BASE_URL,
2111
+ he as VP_PLAYER_BASE_URL,
2111
2112
  qt as appendDivIdToUrl,
2112
2113
  Yt as generatePlayerId,
2113
- Lt as getFullyManagedPlayerScriptUrl,
2114
+ Nt as getFullyManagedPlayerScriptUrl,
2114
2115
  Zt as getManagedPlayerScriptUrl,
2115
- Nt as getPlayerScriptUrl,
2116
+ Lt as getPlayerScriptUrl,
2116
2117
  zt as getVerticalPlayerScriptUrl,
2117
2118
  Bt as useVPPlayerLogic,
2118
2119
  Ht as useVPPlayerScript