@squadx_dev/brix-client-library 1.51.2 → 1.51.3

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,4 +1,4 @@
1
- import pt, { createContext as io, useRef as Rt, useEffect as zt, useState as yt, useCallback as Ui, forwardRef as zr, useImperativeHandle as Lm, useLayoutEffect as Cm, useMemo as Rm } from "react";
1
+ import gt, { createContext as io, useRef as Rt, useEffect as zt, useState as yt, useCallback as Ui, forwardRef as zr, useImperativeHandle as Lm, useLayoutEffect as Cm, useMemo as Rm } from "react";
2
2
  var _m = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function Im(i) {
4
4
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
@@ -67,7 +67,7 @@ var vu;
67
67
  function km() {
68
68
  if (vu) return Lr;
69
69
  vu = 1, tf();
70
- var i = pt, e = 60103;
70
+ var i = gt, e = 60103;
71
71
  if (Lr.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
72
72
  var t = Symbol.for;
73
73
  e = t("react.element"), Lr.Fragment = t("react.fragment");
@@ -95,7 +95,7 @@ var yu;
95
95
  function Pm() {
96
96
  return yu || (yu = 1, function(i) {
97
97
  process.env.NODE_ENV !== "production" && function() {
98
- var e = pt, t = tf(), s = 60103, r = 60106;
98
+ var e = gt, t = tf(), s = 60103, r = 60106;
99
99
  i.Fragment = 60107;
100
100
  var n = 60108, a = 60114, o = 60109, l = 60110, u = 60112, d = 60113, f = 60120, g = 60115, v = 60116, y = 60121, E = 60122, b = 60117, w = 60129, F = 60131;
101
101
  if (typeof Symbol == "function" && Symbol.for) {
@@ -185,9 +185,9 @@ function Pm() {
185
185
  return null;
186
186
  }
187
187
  var Ae = 0, ue, he, Te, ge, ve, Ge, Be;
188
- function Ye() {
188
+ function Qe() {
189
189
  }
190
- Ye.__reactDisabledLog = !0;
190
+ Qe.__reactDisabledLog = !0;
191
191
  function tt() {
192
192
  {
193
193
  if (Ae === 0) {
@@ -195,7 +195,7 @@ function Pm() {
195
195
  var W = {
196
196
  configurable: !0,
197
197
  enumerable: !0,
198
- value: Ye,
198
+ value: Qe,
199
199
  writable: !0
200
200
  };
201
201
  Object.defineProperties(console, {
@@ -211,7 +211,7 @@ function Pm() {
211
211
  Ae++;
212
212
  }
213
213
  }
214
- function Ze() {
214
+ function it() {
215
215
  {
216
216
  if (Ae--, Ae === 0) {
217
217
  var W = {
@@ -246,27 +246,27 @@ function Pm() {
246
246
  Ae < 0 && re("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
247
247
  }
248
248
  }
249
- var it = j.ReactCurrentDispatcher, Qe;
250
- function vt(W, Se, Le) {
249
+ var Je = j.ReactCurrentDispatcher, Ye;
250
+ function ht(W, Se, Le) {
251
251
  {
252
- if (Qe === void 0)
252
+ if (Ye === void 0)
253
253
  try {
254
254
  throw Error();
255
255
  } catch (ot) {
256
256
  var _e = ot.stack.trim().match(/\n( *(at )?)/);
257
- Qe = _e && _e[1] || "";
257
+ Ye = _e && _e[1] || "";
258
258
  }
259
259
  return `
260
- ` + Qe + W;
260
+ ` + Ye + W;
261
261
  }
262
262
  }
263
- var Dt = !1, vs;
263
+ var It = !1, vs;
264
264
  {
265
265
  var Ne = typeof WeakMap == "function" ? WeakMap : Map;
266
266
  vs = new Ne();
267
267
  }
268
268
  function ls(W, Se) {
269
- if (!W || Dt)
269
+ if (!W || It)
270
270
  return "";
271
271
  {
272
272
  var Le = vs.get(W);
@@ -274,11 +274,11 @@ function Pm() {
274
274
  return Le;
275
275
  }
276
276
  var _e;
277
- Dt = !0;
277
+ It = !0;
278
278
  var ot = Error.prepareStackTrace;
279
279
  Error.prepareStackTrace = void 0;
280
280
  var Me;
281
- Me = it.current, it.current = null, tt();
281
+ Me = Je.current, Je.current = null, tt();
282
282
  try {
283
283
  if (Se) {
284
284
  var et = function() {
@@ -313,17 +313,17 @@ function Pm() {
313
313
  }
314
314
  } catch (Rs) {
315
315
  if (Rs && _e && typeof Rs.stack == "string") {
316
- for (var Je = Rs.stack.split(`
316
+ for (var Ze = Rs.stack.split(`
317
317
  `), Gt = _e.stack.split(`
318
- `), St = Je.length - 1, bt = Gt.length - 1; St >= 1 && bt >= 0 && Je[St] !== Gt[bt]; )
318
+ `), St = Ze.length - 1, bt = Gt.length - 1; St >= 1 && bt >= 0 && Ze[St] !== Gt[bt]; )
319
319
  bt--;
320
320
  for (; St >= 1 && bt >= 0; St--, bt--)
321
- if (Je[St] !== Gt[bt]) {
321
+ if (Ze[St] !== Gt[bt]) {
322
322
  if (St !== 1 || bt !== 1)
323
323
  do
324
- if (St--, bt--, bt < 0 || Je[St] !== Gt[bt]) {
324
+ if (St--, bt--, bt < 0 || Ze[St] !== Gt[bt]) {
325
325
  var Cs = `
326
- ` + Je[St].replace(" at new ", " at ");
326
+ ` + Ze[St].replace(" at new ", " at ");
327
327
  return typeof W == "function" && vs.set(W, Cs), Cs;
328
328
  }
329
329
  while (St >= 1 && bt >= 0);
@@ -331,9 +331,9 @@ function Pm() {
331
331
  }
332
332
  }
333
333
  } finally {
334
- Dt = !1, it.current = Me, Ze(), Error.prepareStackTrace = ot;
334
+ It = !1, Je.current = Me, it(), Error.prepareStackTrace = ot;
335
335
  }
336
- var wi = W ? W.displayName || W.name : "", jn = wi ? vt(wi) : "";
336
+ var wi = W ? W.displayName || W.name : "", jn = wi ? ht(wi) : "";
337
337
  return typeof W == "function" && vs.set(W, jn), jn;
338
338
  }
339
339
  function cs(W, Se, Le) {
@@ -349,12 +349,12 @@ function Pm() {
349
349
  if (typeof W == "function")
350
350
  return ls(W, fr(W));
351
351
  if (typeof W == "string")
352
- return vt(W);
352
+ return ht(W);
353
353
  switch (W) {
354
354
  case d:
355
- return vt("Suspense");
355
+ return ht("Suspense");
356
356
  case f:
357
- return vt("SuspenseList");
357
+ return ht("SuspenseList");
358
358
  }
359
359
  if (typeof W == "object")
360
360
  switch (W.$$typeof) {
@@ -387,17 +387,17 @@ function Pm() {
387
387
  var Me = Function.call.bind(Object.prototype.hasOwnProperty);
388
388
  for (var et in W)
389
389
  if (Me(W, et)) {
390
- var Je = void 0;
390
+ var Ze = void 0;
391
391
  try {
392
392
  if (typeof W[et] != "function") {
393
393
  var Gt = Error((_e || "React class") + ": " + Le + " type `" + et + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof W[et] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
394
394
  throw Gt.name = "Invariant Violation", Gt;
395
395
  }
396
- Je = W[et](Se, et, _e, Le, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
396
+ Ze = W[et](Se, et, _e, Le, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
397
397
  } catch (St) {
398
- Je = St;
398
+ Ze = St;
399
399
  }
400
- Je && !(Je instanceof Error) && (us(ot), re("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _e || "React class", Le, et, typeof Je), us(null)), Je instanceof Error && !(Je.message in Ki) && (Ki[Je.message] = !0, us(ot), re("Failed %s type: %s", Le, Je.message), us(null));
400
+ Ze && !(Ze instanceof Error) && (us(ot), re("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _e || "React class", Le, et, typeof Ze), us(null)), Ze instanceof Error && !(Ze.message in Ki) && (Ki[Ze.message] = !0, us(ot), re("Failed %s type: %s", Le, Ze.message), us(null));
401
401
  }
402
402
  }
403
403
  }
@@ -453,7 +453,7 @@ function Pm() {
453
453
  }
454
454
  }
455
455
  var ys = function(W, Se, Le, _e, ot, Me, et) {
456
- var Je = {
456
+ var Ze = {
457
457
  // This tag allows us to uniquely identify this as a React Element
458
458
  $$typeof: s,
459
459
  // Built-in properties that belong on the element
@@ -464,27 +464,27 @@ function Pm() {
464
464
  // Record the component responsible for creating this element.
465
465
  _owner: Me
466
466
  };
467
- return Je._store = {}, Object.defineProperty(Je._store, "validated", {
467
+ return Ze._store = {}, Object.defineProperty(Ze._store, "validated", {
468
468
  configurable: !1,
469
469
  enumerable: !1,
470
470
  writable: !0,
471
471
  value: !1
472
- }), Object.defineProperty(Je, "_self", {
472
+ }), Object.defineProperty(Ze, "_self", {
473
473
  configurable: !1,
474
474
  enumerable: !1,
475
475
  writable: !1,
476
476
  value: _e
477
- }), Object.defineProperty(Je, "_source", {
477
+ }), Object.defineProperty(Ze, "_source", {
478
478
  configurable: !1,
479
479
  enumerable: !1,
480
480
  writable: !1,
481
481
  value: ot
482
- }), Object.freeze && (Object.freeze(Je.props), Object.freeze(Je)), Je;
482
+ }), Object.freeze && (Object.freeze(Ze.props), Object.freeze(Ze)), Ze;
483
483
  };
484
484
  function ai(W, Se, Le, _e, ot) {
485
485
  {
486
- var Me, et = {}, Je = null, Gt = null;
487
- Le !== void 0 && (Je = "" + Le), gr(Se) && (Je = "" + Se.key), $n(Se) && (Gt = Se.ref, Un(Se, ot));
486
+ var Me, et = {}, Ze = null, Gt = null;
487
+ Le !== void 0 && (Ze = "" + Le), gr(Se) && (Ze = "" + Se.key), $n(Se) && (Gt = Se.ref, Un(Se, ot));
488
488
  for (Me in Se)
489
489
  Bs.call(Se, Me) && !$s.hasOwnProperty(Me) && (et[Me] = Se[Me]);
490
490
  if (W && W.defaultProps) {
@@ -492,11 +492,11 @@ function Pm() {
492
492
  for (Me in St)
493
493
  et[Me] === void 0 && (et[Me] = St[Me]);
494
494
  }
495
- if (Je || Gt) {
495
+ if (Ze || Gt) {
496
496
  var bt = typeof W == "function" ? W.displayName || W.name || "Unknown" : W;
497
- Je && Gn(et, bt), Gt && uo(et, bt);
497
+ Ze && Gn(et, bt), Gt && uo(et, bt);
498
498
  }
499
- return ys(W, Je, Gt, ot, _e, Ns.current, et);
499
+ return ys(W, Ze, Gt, ot, _e, Ns.current, et);
500
500
  }
501
501
  }
502
502
  var mr = j.ReactCurrentOwner, Xr = j.ReactDebugCurrentFrame;
@@ -613,12 +613,12 @@ Check the top-level render call using <` + Le + ">.");
613
613
  {
614
614
  var et = se(W);
615
615
  if (!et) {
616
- var Je = "";
617
- (W === void 0 || typeof W == "object" && W !== null && Object.keys(W).length === 0) && (Je += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
616
+ var Ze = "";
617
+ (W === void 0 || typeof W == "object" && W !== null && Object.keys(W).length === 0) && (Ze += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
618
618
  var Gt = yr();
619
- Gt ? Je += Gt : Je += Jr();
619
+ Gt ? Ze += Gt : Ze += Jr();
620
620
  var St;
621
- W === null ? St = "null" : Array.isArray(W) ? St = "array" : W !== void 0 && W.$$typeof === s ? (St = "<" + (Ee(W.type) || "Unknown") + " />", Je = " Did you accidentally export a JSX literal instead of a component?") : St = typeof W, re("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", St, Je);
621
+ W === null ? St = "null" : Array.isArray(W) ? St = "array" : W !== void 0 && W.$$typeof === s ? (St = "<" + (Ee(W.type) || "Unknown") + " />", Ze = " Did you accidentally export a JSX literal instead of a component?") : St = typeof W, re("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", St, Ze);
622
622
  }
623
623
  var bt = ai(W, Se, Le, ot, Me);
624
624
  if (bt == null)
@@ -639,13 +639,13 @@ Check the top-level render call using <` + Le + ">.");
639
639
  return W === i.Fragment ? fo(bt) : ho(bt), bt;
640
640
  }
641
641
  }
642
- function It(W, Se, Le) {
642
+ function kt(W, Se, Le) {
643
643
  return we(W, Se, Le, !0);
644
644
  }
645
645
  function oi(W, Se, Le) {
646
646
  return we(W, Se, Le, !1);
647
647
  }
648
- var Ls = oi, Mt = It;
648
+ var Ls = oi, Mt = kt;
649
649
  i.jsx = Ls, i.jsxs = Mt;
650
650
  }();
651
651
  }(Lo)), Lo;
@@ -4057,14 +4057,14 @@ class pe {
4057
4057
  return ap[e] || "";
4058
4058
  }
4059
4059
  }
4060
- const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4060
+ const mt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4061
4061
  /* Googlebot */
4062
4062
  {
4063
4063
  test: [/googlebot/i],
4064
4064
  describe(i) {
4065
4065
  const e = {
4066
4066
  name: "Googlebot"
4067
- }, t = pe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, i) || pe.getFirstMatch(gt, i);
4067
+ }, t = pe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, i) || pe.getFirstMatch(mt, i);
4068
4068
  return t && (e.version = t), e;
4069
4069
  }
4070
4070
  },
@@ -4074,7 +4074,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4074
4074
  describe(i) {
4075
4075
  const e = {
4076
4076
  name: "Opera"
4077
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, i);
4077
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, i);
4078
4078
  return t && (e.version = t), e;
4079
4079
  }
4080
4080
  },
@@ -4084,7 +4084,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4084
4084
  describe(i) {
4085
4085
  const e = {
4086
4086
  name: "Opera"
4087
- }, t = pe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, i) || pe.getFirstMatch(gt, i);
4087
+ }, t = pe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, i) || pe.getFirstMatch(mt, i);
4088
4088
  return t && (e.version = t), e;
4089
4089
  }
4090
4090
  },
@@ -4093,7 +4093,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4093
4093
  describe(i) {
4094
4094
  const e = {
4095
4095
  name: "Samsung Internet for Android"
4096
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4096
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4097
4097
  return t && (e.version = t), e;
4098
4098
  }
4099
4099
  },
@@ -4102,7 +4102,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4102
4102
  describe(i) {
4103
4103
  const e = {
4104
4104
  name: "NAVER Whale Browser"
4105
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, i);
4105
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, i);
4106
4106
  return t && (e.version = t), e;
4107
4107
  }
4108
4108
  },
@@ -4111,7 +4111,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4111
4111
  describe(i) {
4112
4112
  const e = {
4113
4113
  name: "MZ Browser"
4114
- }, t = pe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4114
+ }, t = pe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4115
4115
  return t && (e.version = t), e;
4116
4116
  }
4117
4117
  },
@@ -4120,7 +4120,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4120
4120
  describe(i) {
4121
4121
  const e = {
4122
4122
  name: "Focus"
4123
- }, t = pe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4123
+ }, t = pe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4124
4124
  return t && (e.version = t), e;
4125
4125
  }
4126
4126
  },
@@ -4129,7 +4129,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4129
4129
  describe(i) {
4130
4130
  const e = {
4131
4131
  name: "Swing"
4132
- }, t = pe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4132
+ }, t = pe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4133
4133
  return t && (e.version = t), e;
4134
4134
  }
4135
4135
  },
@@ -4138,7 +4138,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4138
4138
  describe(i) {
4139
4139
  const e = {
4140
4140
  name: "Opera Coast"
4141
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, i);
4141
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, i);
4142
4142
  return t && (e.version = t), e;
4143
4143
  }
4144
4144
  },
@@ -4147,7 +4147,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4147
4147
  describe(i) {
4148
4148
  const e = {
4149
4149
  name: "Opera Touch"
4150
- }, t = pe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4150
+ }, t = pe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4151
4151
  return t && (e.version = t), e;
4152
4152
  }
4153
4153
  },
@@ -4156,7 +4156,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4156
4156
  describe(i) {
4157
4157
  const e = {
4158
4158
  name: "Yandex Browser"
4159
- }, t = pe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4159
+ }, t = pe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4160
4160
  return t && (e.version = t), e;
4161
4161
  }
4162
4162
  },
@@ -4165,7 +4165,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4165
4165
  describe(i) {
4166
4166
  const e = {
4167
4167
  name: "UC Browser"
4168
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4168
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4169
4169
  return t && (e.version = t), e;
4170
4170
  }
4171
4171
  },
@@ -4174,7 +4174,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4174
4174
  describe(i) {
4175
4175
  const e = {
4176
4176
  name: "Maxthon"
4177
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, i);
4177
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, i);
4178
4178
  return t && (e.version = t), e;
4179
4179
  }
4180
4180
  },
@@ -4183,7 +4183,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4183
4183
  describe(i) {
4184
4184
  const e = {
4185
4185
  name: "Epiphany"
4186
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, i);
4186
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, i);
4187
4187
  return t && (e.version = t), e;
4188
4188
  }
4189
4189
  },
@@ -4192,7 +4192,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4192
4192
  describe(i) {
4193
4193
  const e = {
4194
4194
  name: "Puffin"
4195
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, i);
4195
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, i);
4196
4196
  return t && (e.version = t), e;
4197
4197
  }
4198
4198
  },
@@ -4201,7 +4201,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4201
4201
  describe(i) {
4202
4202
  const e = {
4203
4203
  name: "Sleipnir"
4204
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, i);
4204
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, i);
4205
4205
  return t && (e.version = t), e;
4206
4206
  }
4207
4207
  },
@@ -4210,7 +4210,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4210
4210
  describe(i) {
4211
4211
  const e = {
4212
4212
  name: "K-Meleon"
4213
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, i);
4213
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, i);
4214
4214
  return t && (e.version = t), e;
4215
4215
  }
4216
4216
  },
@@ -4219,7 +4219,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4219
4219
  describe(i) {
4220
4220
  const e = {
4221
4221
  name: "WeChat"
4222
- }, t = pe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4222
+ }, t = pe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4223
4223
  return t && (e.version = t), e;
4224
4224
  }
4225
4225
  },
@@ -4228,7 +4228,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4228
4228
  describe(i) {
4229
4229
  const e = {
4230
4230
  name: /qqbrowserlite/i.test(i) ? "QQ Browser Lite" : "QQ Browser"
4231
- }, t = pe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4231
+ }, t = pe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4232
4232
  return t && (e.version = t), e;
4233
4233
  }
4234
4234
  },
@@ -4318,7 +4318,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4318
4318
  describe(i) {
4319
4319
  const e = {
4320
4320
  name: "BlackBerry"
4321
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, i);
4321
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, i);
4322
4322
  return t && (e.version = t), e;
4323
4323
  }
4324
4324
  },
@@ -4327,7 +4327,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4327
4327
  describe(i) {
4328
4328
  const e = {
4329
4329
  name: "WebOS Browser"
4330
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, i);
4330
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, i);
4331
4331
  return t && (e.version = t), e;
4332
4332
  }
4333
4333
  },
@@ -4345,7 +4345,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4345
4345
  describe(i) {
4346
4346
  const e = {
4347
4347
  name: "Tizen"
4348
- }, t = pe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4348
+ }, t = pe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4349
4349
  return t && (e.version = t), e;
4350
4350
  }
4351
4351
  },
@@ -4354,7 +4354,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4354
4354
  describe(i) {
4355
4355
  const e = {
4356
4356
  name: "QupZilla"
4357
- }, t = pe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4357
+ }, t = pe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4358
4358
  return t && (e.version = t), e;
4359
4359
  }
4360
4360
  },
@@ -4390,7 +4390,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4390
4390
  describe(i) {
4391
4391
  const e = {
4392
4392
  name: "Chromium"
4393
- }, t = pe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4393
+ }, t = pe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4394
4394
  return t && (e.version = t), e;
4395
4395
  }
4396
4396
  },
@@ -4421,7 +4421,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4421
4421
  describe(i) {
4422
4422
  const e = {
4423
4423
  name: "Android Browser"
4424
- }, t = pe.getFirstMatch(gt, i);
4424
+ }, t = pe.getFirstMatch(mt, i);
4425
4425
  return t && (e.version = t), e;
4426
4426
  }
4427
4427
  },
@@ -4431,7 +4431,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4431
4431
  describe(i) {
4432
4432
  const e = {
4433
4433
  name: "PlayStation 4"
4434
- }, t = pe.getFirstMatch(gt, i);
4434
+ }, t = pe.getFirstMatch(mt, i);
4435
4435
  return t && (e.version = t), e;
4436
4436
  }
4437
4437
  },
@@ -4441,7 +4441,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4441
4441
  describe(i) {
4442
4442
  const e = {
4443
4443
  name: "Safari"
4444
- }, t = pe.getFirstMatch(gt, i);
4444
+ }, t = pe.getFirstMatch(mt, i);
4445
4445
  return t && (e.version = t), e;
4446
4446
  }
4447
4447
  },
@@ -5965,7 +5965,7 @@ const Qx = (i) => typeof ReadableStream == "function" && i instanceof ReadableSt
5965
5965
  return i.size;
5966
5966
  }
5967
5967
  throw new Error(`Body Length computation failed for ${i}`);
5968
- }, fp = "required", Fe = "type", lt = "rules", at = "conditions", ze = "fn", We = "argv", ft = "ref", bn = "assign", qs = "url", Ys = "properties", Xs = "headers", Zx = !0, ar = "isSet", sr = "stringEquals", Oo = "aws.parseArn", ir = "arn", es = "booleanEquals", as = "endpoint", ct = "tree", dt = "error", Cr = { [fp]: !1, [Fe]: "String" }, Ju = { [fp]: !0, default: !1, [Fe]: "Boolean" }, No = { [ze]: "not", [We]: [{ [ze]: ar, [We]: [{ [ft]: "Endpoint" }] }] }, pp = { [ft]: "Endpoint" }, ia = { [ze]: ar, [We]: [{ [ft]: "Region" }] }, ra = { [ze]: "aws.partition", [We]: [{ [ft]: "Region" }], [bn]: "PartitionResult" }, Bo = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, rc = { [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "name"] }, $o = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [rc, "aws-iso-b"] }] }, Na = { [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsFIPS"] }, Es = {}, gp = { [dt]: "FIPS is enabled but this partition does not support FIPS", [Fe]: dt }, mp = { [dt]: "DualStack is enabled but this partition does not support DualStack", [Fe]: dt }, Uo = { [dt]: "Invalid ARN: Failed to parse ARN.", [Fe]: dt }, Zu = { [ze]: es, [We]: [!0, { [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsDualStack"] }] }, eh = [{ [ft]: "StreamARN" }], eS = [{ [ze]: ar, [We]: [pp] }], Go = [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "accountId"] }, !1] }], [lt]: [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "region"] }, !1] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "service"] }, "kinesis"] }], [lt]: [{ [at]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "resourceId[0]"], [bn]: "arnType" }, { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [ft]: "arnType" }, ""] }] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [ft]: "arnType" }, "stream"] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "{arn#partition}"] }], [lt]: [{ [at]: [{ [ze]: ar, [We]: [{ [ft]: "OperationType" }] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [dt]: "DualStack is enabled, but this partition does not support DualStack.", [Fe]: dt }], [Fe]: ct }, { [dt]: "FIPS is enabled, but this partition does not support FIPS.", [Fe]: dt }], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [dt]: "Operation Type is not set. Please contact service team for resolution.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: No ARN type specified", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: Invalid region.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: Invalid account id.", [Fe]: dt }], tS = [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], sS = [{ [ze]: es, [We]: [Na, !0] }], th = [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }], sh = [{ [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], ih = [{ [ft]: "ConsumerARN" }], rh = [{ [ft]: "ResourceARN" }], iS = { version: "1.0", parameters: { Region: Cr, UseDualStack: Ju, UseFIPS: Ju, Endpoint: Cr, StreamARN: Cr, OperationType: Cr, ConsumerARN: Cr, ResourceARN: Cr }, [lt]: [{ [at]: [{ [ze]: ar, [We]: eh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: eh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: ih }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: ih, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: rh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: rh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: eS, [lt]: [{ [at]: th, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [Fe]: dt }, { [at]: sh, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [Fe]: dt }, { endpoint: { [qs]: pp, [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { [at]: [ia], [lt]: [{ [at]: [ra], [lt]: [{ [at]: tS, [lt]: [{ [at]: [{ [ze]: es, [We]: [Zx, Na] }, Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [Fe]: dt }], [Fe]: ct }, { [at]: th, [lt]: [{ [at]: sS, [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "aws-us-gov"] }], endpoint: { [qs]: "https://kinesis.{Region}.amazonaws.com", [Ys]: Es, [Xs]: Es }, [Fe]: as }, { endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: sh, [lt]: [{ [at]: [Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }], [Fe]: ct }, { error: "Invalid Configuration: Missing Region", [Fe]: dt }] }, rS = iS, nS = (i, e = {}) => mf(rS, {
5968
+ }, fp = "required", Fe = "type", lt = "rules", at = "conditions", ze = "fn", We = "argv", pt = "ref", bn = "assign", qs = "url", Ys = "properties", Xs = "headers", Zx = !0, ar = "isSet", sr = "stringEquals", Oo = "aws.parseArn", ir = "arn", es = "booleanEquals", as = "endpoint", ct = "tree", ft = "error", Cr = { [fp]: !1, [Fe]: "String" }, Ju = { [fp]: !0, default: !1, [Fe]: "Boolean" }, No = { [ze]: "not", [We]: [{ [ze]: ar, [We]: [{ [pt]: "Endpoint" }] }] }, pp = { [pt]: "Endpoint" }, ia = { [ze]: ar, [We]: [{ [pt]: "Region" }] }, ra = { [ze]: "aws.partition", [We]: [{ [pt]: "Region" }], [bn]: "PartitionResult" }, Bo = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, rc = { [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "name"] }, $o = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [rc, "aws-iso-b"] }] }, Na = { [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsFIPS"] }, Es = {}, gp = { [ft]: "FIPS is enabled but this partition does not support FIPS", [Fe]: ft }, mp = { [ft]: "DualStack is enabled but this partition does not support DualStack", [Fe]: ft }, Uo = { [ft]: "Invalid ARN: Failed to parse ARN.", [Fe]: ft }, Zu = { [ze]: es, [We]: [!0, { [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsDualStack"] }] }, eh = [{ [pt]: "StreamARN" }], eS = [{ [ze]: ar, [We]: [pp] }], Go = [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "accountId"] }, !1] }], [lt]: [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "region"] }, !1] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "service"] }, "kinesis"] }], [lt]: [{ [at]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "resourceId[0]"], [bn]: "arnType" }, { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [pt]: "arnType" }, ""] }] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [pt]: "arnType" }, "stream"] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "{arn#partition}"] }], [lt]: [{ [at]: [{ [ze]: ar, [We]: [{ [pt]: "OperationType" }] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [ft]: "DualStack is enabled, but this partition does not support DualStack.", [Fe]: ft }], [Fe]: ct }, { [ft]: "FIPS is enabled, but this partition does not support FIPS.", [Fe]: ft }], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [ft]: "Operation Type is not set. Please contact service team for resolution.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: No ARN type specified", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: Invalid region.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: Invalid account id.", [Fe]: ft }], tS = [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], sS = [{ [ze]: es, [We]: [Na, !0] }], th = [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }], sh = [{ [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], ih = [{ [pt]: "ConsumerARN" }], rh = [{ [pt]: "ResourceARN" }], iS = { version: "1.0", parameters: { Region: Cr, UseDualStack: Ju, UseFIPS: Ju, Endpoint: Cr, StreamARN: Cr, OperationType: Cr, ConsumerARN: Cr, ResourceARN: Cr }, [lt]: [{ [at]: [{ [ze]: ar, [We]: eh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: eh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: ih }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: ih, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: rh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: rh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: eS, [lt]: [{ [at]: th, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [Fe]: ft }, { [at]: sh, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [Fe]: ft }, { endpoint: { [qs]: pp, [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { [at]: [ia], [lt]: [{ [at]: [ra], [lt]: [{ [at]: tS, [lt]: [{ [at]: [{ [ze]: es, [We]: [Zx, Na] }, Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [Fe]: ft }], [Fe]: ct }, { [at]: th, [lt]: [{ [at]: sS, [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "aws-us-gov"] }], endpoint: { [qs]: "https://kinesis.{Region}.amazonaws.com", [Ys]: Es, [Xs]: Es }, [Fe]: as }, { endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: sh, [lt]: [{ [at]: [Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }], [Fe]: ct }, { error: "Invalid Configuration: Missing Region", [Fe]: ft }] }, rS = iS, nS = (i, e = {}) => mf(rS, {
5969
5969
  endpointParams: i,
5970
5970
  logger: e.logger
5971
5971
  });
@@ -6460,7 +6460,7 @@ function NS(i) {
6460
6460
  return async () => {
6461
6461
  var o, l, u;
6462
6462
  (o = i.logger) == null || o.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");
6463
- const { GetCredentialsForIdentityCommand: e, CognitoIdentityClient: t } = await import("./3t-Ysz2w.es.js"), { Credentials: { AccessKeyId: s = BS(i.logger), Expiration: r, SecretKey: n = US(i.logger), SessionToken: a } = $S(i.logger) } = await (i.client ?? new t(Object.assign({}, i.clientConfig ?? {}, {
6463
+ const { GetCredentialsForIdentityCommand: e, CognitoIdentityClient: t } = await import("./bG3R7ikc.es.js"), { Credentials: { AccessKeyId: s = BS(i.logger), Expiration: r, SecretKey: n = US(i.logger), SessionToken: a } = $S(i.logger) } = await (i.client ?? new t(Object.assign({}, i.clientConfig ?? {}, {
6464
6464
  region: ((l = i.clientConfig) == null ? void 0 : l.region) ?? ((u = i.parentClientConfig) == null ? void 0 : u.region)
6465
6465
  }))).send(new e({
6466
6466
  CustomRoleArn: i.customRoleArn,
@@ -6564,7 +6564,7 @@ function KS({ accountId: i, cache: e = jS(), client: t, clientConfig: s, customR
6564
6564
  l == null || l.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");
6565
6565
  const d = o ? `aws:cognito-identity-credentials:${n}:${o}` : void 0;
6566
6566
  let f = async () => {
6567
- const { GetIdCommand: g, CognitoIdentityClient: v } = await import("./3t-Ysz2w.es.js"), y = t ?? new v(Object.assign({}, s ?? {}, { region: (s == null ? void 0 : s.region) ?? (u == null ? void 0 : u.region) }));
6567
+ const { GetIdCommand: g, CognitoIdentityClient: v } = await import("./bG3R7ikc.es.js"), y = t ?? new v(Object.assign({}, s ?? {}, { region: (s == null ? void 0 : s.region) ?? (u == null ? void 0 : u.region) }));
6568
6568
  let E = d && await e.getItem(d);
6569
6569
  if (!E) {
6570
6570
  const { IdentityId: b = zS(l) } = await y.send(new g({
@@ -7004,8 +7004,8 @@ class L1 {
7004
7004
  /**
7005
7005
  * 채널/방송/숏츠 id */
7006
7006
  setId(e) {
7007
- var t;
7008
- this.data.ty && (this.data.ty === "b" ? (this.data.di.ib = e, delete this.data.di.is, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "s" ? (this.data.di.is = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "c" ? (this.data.di.icc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.iugc) : this.data.ty === "u" ? (this.data.di.iugc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.icc) : this.data.ty === "l" && (this.data.di.il = e, this.data.ii.s = "vod"), (t = window == null ? void 0 : window.__brix_console) == null || t.call(window, "id", e), this.stop(), this.init(), this.start());
7007
+ var t, s;
7008
+ this.data.ty && (this.data.ty === "b" ? (this.data.di.ib = e, delete this.data.di.is, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "s" ? (this.data.di.is = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "c" ? (this.data.di.icc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.iugc) : this.data.ty === "u" ? (this.data.di.iugc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.icc) : this.data.ty === "l" && (this.data.di.il = e, this.data.ii.s = "vod"), (t = window == null ? void 0 : window.__brix_console) == null || t.call(window, "id", e), (s = this.data.di) != null && s.iu && (this.stop(), this.init(), this.start()));
7009
7009
  }
7010
7010
  /**
7011
7011
  * 클라이언트 아이디 */
@@ -9162,7 +9162,7 @@ var Rp = {
9162
9162
  className: void 0,
9163
9163
  style: void 0,
9164
9164
  attr: void 0
9165
- }, Mh = pt.createContext && /* @__PURE__ */ pt.createContext(Rp), mb = ["attr", "size", "title"];
9165
+ }, Mh = gt.createContext && /* @__PURE__ */ gt.createContext(Rp), mb = ["attr", "size", "title"];
9166
9166
  function vb(i, e) {
9167
9167
  if (i == null) return {};
9168
9168
  var t = yb(i, e), s, r;
@@ -9232,12 +9232,12 @@ function Eb(i, e) {
9232
9232
  return (e === "string" ? String : Number)(i);
9233
9233
  }
9234
9234
  function _p(i) {
9235
- return i && i.map((e, t) => /* @__PURE__ */ pt.createElement(e.tag, Ha({
9235
+ return i && i.map((e, t) => /* @__PURE__ */ gt.createElement(e.tag, Ha({
9236
9236
  key: t
9237
9237
  }, e.attr), _p(e.child)));
9238
9238
  }
9239
9239
  function bi(i) {
9240
- return (e) => /* @__PURE__ */ pt.createElement(bb, Va({
9240
+ return (e) => /* @__PURE__ */ gt.createElement(bb, Va({
9241
9241
  attr: Ha({}, i.attr)
9242
9242
  }, e), _p(i.child));
9243
9243
  }
@@ -9248,7 +9248,7 @@ function bb(i) {
9248
9248
  size: r,
9249
9249
  title: n
9250
9250
  } = i, a = vb(i, mb), o = r || t.size || "1em", l;
9251
- return t.className && (l = t.className), i.className && (l = (l ? l + " " : "") + i.className), /* @__PURE__ */ pt.createElement("svg", Va({
9251
+ return t.className && (l = t.className), i.className && (l = (l ? l + " " : "") + i.className), /* @__PURE__ */ gt.createElement("svg", Va({
9252
9252
  stroke: "currentColor",
9253
9253
  fill: "currentColor",
9254
9254
  strokeWidth: "0"
@@ -9260,9 +9260,9 @@ function bb(i) {
9260
9260
  height: o,
9261
9261
  width: o,
9262
9262
  xmlns: "http://www.w3.org/2000/svg"
9263
- }), n && /* @__PURE__ */ pt.createElement("title", null, n), i.children);
9263
+ }), n && /* @__PURE__ */ gt.createElement("title", null, n), i.children);
9264
9264
  };
9265
- return Mh !== void 0 ? /* @__PURE__ */ pt.createElement(Mh.Consumer, null, (t) => e(t)) : e(Rp);
9265
+ return Mh !== void 0 ? /* @__PURE__ */ gt.createElement(Mh.Consumer, null, (t) => e(t)) : e(Rp);
9266
9266
  }
9267
9267
  function Tb(i) {
9268
9268
  return bi({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "circle", attr: { cx: "256", cy: "256", r: "208", fill: "none", strokeMiterlimit: "10", strokeWidth: "32" }, child: [] }, { tag: "path", attr: { fill: "none", strokeMiterlimit: "10", strokeWidth: "32", d: "m108.92 108.92 294.16 294.16" }, child: [] }] })(i);
@@ -10105,7 +10105,7 @@ const Ws = {
10105
10105
  id3: 3,
10106
10106
  text: 4
10107
10107
  };
10108
- function Pt(i) {
10108
+ function Dt(i) {
10109
10109
  return String.fromCharCode.apply(null, i);
10110
10110
  }
10111
10111
  function $p(i, e) {
@@ -10142,7 +10142,7 @@ function Xe(i, e) {
10142
10142
  return t;
10143
10143
  const s = i.byteLength;
10144
10144
  for (let r = 0; r < s; ) {
10145
- const n = Ue(i, r), a = Pt(i.subarray(r + 4, r + 8)), o = n > 1 ? r + n : s;
10145
+ const n = Ue(i, r), a = Dt(i.subarray(r + 4, r + 8)), o = n > 1 ? r + n : s;
10146
10146
  if (a === e[0])
10147
10147
  if (e.length === 1)
10148
10148
  t.push(i.subarray(r + 8, o));
@@ -10202,7 +10202,7 @@ function Gp(i) {
10202
10202
  o = u[0];
10203
10203
  const d = Ue(u, o === 0 ? 12 : 20), f = Xe(n, ["mdia", "hdlr"])[0];
10204
10204
  if (f) {
10205
- const g = Pt(f.subarray(8, 12)), v = {
10205
+ const g = Dt(f.subarray(8, 12)), v = {
10206
10206
  soun: ut.AUDIO,
10207
10207
  vide: ut.VIDEO
10208
10208
  }[g];
@@ -10229,7 +10229,7 @@ function Gp(i) {
10229
10229
  }), e;
10230
10230
  }
10231
10231
  function IT(i) {
10232
- const e = i.subarray(8), t = e.subarray(86), s = Pt(e.subarray(4, 8));
10232
+ const e = i.subarray(8), t = e.subarray(86), s = Dt(e.subarray(4, 8));
10233
10233
  let r = s;
10234
10234
  const n = s === "enca" || s === "encv";
10235
10235
  if (n) {
@@ -10237,10 +10237,10 @@ function IT(i) {
10237
10237
  Xe(o, ["sinf"]).forEach((u) => {
10238
10238
  const d = Xe(u, ["schm"])[0];
10239
10239
  if (d) {
10240
- const f = Pt(d.subarray(4, 8));
10240
+ const f = Dt(d.subarray(4, 8));
10241
10241
  if (f === "cbcs" || f === "cenc") {
10242
10242
  const g = Xe(u, ["frma"])[0];
10243
- g && (r = Pt(g));
10243
+ g && (r = Dt(g));
10244
10244
  }
10245
10245
  }
10246
10246
  });
@@ -10348,7 +10348,7 @@ function kT(i, e) {
10348
10348
  function Vp(i) {
10349
10349
  const e = Xe(i, ["schm"])[0];
10350
10350
  if (e) {
10351
- const t = Pt(e.subarray(4, 8));
10351
+ const t = Dt(e.subarray(4, 8));
10352
10352
  if (t === "cbcs" || t === "cenc")
10353
10353
  return Xe(i, ["schi", "tenc"])[0];
10354
10354
  }
@@ -10491,17 +10491,17 @@ function Vh(i, e) {
10491
10491
  const Ge = Ue(re, 4);
10492
10492
  let Be = 8;
10493
10493
  se && (fe = Ue(re, Be), Be += 4), de && (Be += 4);
10494
- let Ye = fe + u;
10494
+ let Qe = fe + u;
10495
10495
  for (let tt = 0; tt < Ge; tt++) {
10496
10496
  if (Ee ? (Ae = Ue(re, Be), Be += 4) : Ae = k, ue ? (he = Ue(re, Be), Be += 4) : he = N, Te && (Be += 4), ge && (Q === 0 ? ve = Ue(re, Be) : ve = Up(re, Be), Be += 4), e.type === ut.VIDEO) {
10497
- let Ze = 0;
10498
- for (; Ze < he; ) {
10499
- const it = Ue(s, Ye);
10500
- if (Ye += 4, BT(a, s[Ye])) {
10501
- const Qe = s.subarray(Ye, Ye + it);
10502
- Hp(Qe, a ? 2 : 1, i + ve / r, t);
10497
+ let it = 0;
10498
+ for (; it < he; ) {
10499
+ const Je = Ue(s, Qe);
10500
+ if (Qe += 4, BT(a, s[Qe])) {
10501
+ const Ye = s.subarray(Qe, Qe + Je);
10502
+ Hp(Ye, a ? 2 : 1, i + ve / r, t);
10503
10503
  }
10504
- Ye += it, Ze += it + 4;
10504
+ Qe += Je, it += Je + 4;
10505
10505
  }
10506
10506
  }
10507
10507
  i += Ae / r;
@@ -10611,21 +10611,21 @@ function $T(i) {
10611
10611
  const e = i[0];
10612
10612
  let t = "", s = "", r = 0, n = 0, a = 0, o = 0, l = 0, u = 0;
10613
10613
  if (e === 0) {
10614
- for (; Pt(i.subarray(u, u + 1)) !== "\0"; )
10615
- t += Pt(i.subarray(u, u + 1)), u += 1;
10616
- for (t += Pt(i.subarray(u, u + 1)), u += 1; Pt(i.subarray(u, u + 1)) !== "\0"; )
10617
- s += Pt(i.subarray(u, u + 1)), u += 1;
10618
- s += Pt(i.subarray(u, u + 1)), u += 1, r = Ue(i, 12), n = Ue(i, 16), o = Ue(i, 20), l = Ue(i, 24), u = 28;
10614
+ for (; Dt(i.subarray(u, u + 1)) !== "\0"; )
10615
+ t += Dt(i.subarray(u, u + 1)), u += 1;
10616
+ for (t += Dt(i.subarray(u, u + 1)), u += 1; Dt(i.subarray(u, u + 1)) !== "\0"; )
10617
+ s += Dt(i.subarray(u, u + 1)), u += 1;
10618
+ s += Dt(i.subarray(u, u + 1)), u += 1, r = Ue(i, 12), n = Ue(i, 16), o = Ue(i, 20), l = Ue(i, 24), u = 28;
10619
10619
  } else if (e === 1) {
10620
10620
  u += 4, r = Ue(i, u), u += 4;
10621
10621
  const f = Ue(i, u);
10622
10622
  u += 4;
10623
10623
  const g = Ue(i, u);
10624
- for (u += 4, a = 2 ** 32 * f + g, sT(a) || (a = Number.MAX_SAFE_INTEGER, ie.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), o = Ue(i, u), u += 4, l = Ue(i, u), u += 4; Pt(i.subarray(u, u + 1)) !== "\0"; )
10625
- t += Pt(i.subarray(u, u + 1)), u += 1;
10626
- for (t += Pt(i.subarray(u, u + 1)), u += 1; Pt(i.subarray(u, u + 1)) !== "\0"; )
10627
- s += Pt(i.subarray(u, u + 1)), u += 1;
10628
- s += Pt(i.subarray(u, u + 1)), u += 1;
10624
+ for (u += 4, a = 2 ** 32 * f + g, sT(a) || (a = Number.MAX_SAFE_INTEGER, ie.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), o = Ue(i, u), u += 4, l = Ue(i, u), u += 4; Dt(i.subarray(u, u + 1)) !== "\0"; )
10625
+ t += Dt(i.subarray(u, u + 1)), u += 1;
10626
+ for (t += Dt(i.subarray(u, u + 1)), u += 1; Dt(i.subarray(u, u + 1)) !== "\0"; )
10627
+ s += Dt(i.subarray(u, u + 1)), u += 1;
10628
+ s += Dt(i.subarray(u, u + 1)), u += 1;
10629
10629
  }
10630
10630
  const d = i.subarray(u, i.byteLength);
10631
10631
  return {
@@ -13469,12 +13469,12 @@ class kw {
13469
13469
  continue;
13470
13470
  if (w.useMediaCapabilities && !ue.supportedResult && !ue.supportedPromise) {
13471
13471
  const tt = navigator.mediaCapabilities;
13472
- typeof (tt == null ? void 0 : tt.decodingInfo) == "function" && Ew(ue, le, te, j, e, re) ? (ue.supportedPromise = bw(ue, le, tt), ue.supportedPromise.then((Ze) => {
13472
+ typeof (tt == null ? void 0 : tt.decodingInfo) == "function" && Ew(ue, le, te, j, e, re) ? (ue.supportedPromise = bw(ue, le, tt), ue.supportedPromise.then((it) => {
13473
13473
  if (!this.hls)
13474
13474
  return;
13475
- ue.supportedResult = Ze;
13476
- const it = this.hls.levels, Qe = it.indexOf(ue);
13477
- Ze.error ? ie.warn(`[abr] MediaCapabilities decodingInfo error: "${Ze.error}" for level ${Qe} ${JSON.stringify(Ze)}`) : Ze.supported || (ie.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${Qe} ${JSON.stringify(Ze)}`), Qe > -1 && it.length > 1 && (ie.log(`[abr] Removing unsupported level ${Qe}`), this.hls.removeLevel(Qe)));
13475
+ ue.supportedResult = it;
13476
+ const Je = this.hls.levels, Ye = Je.indexOf(ue);
13477
+ it.error ? ie.warn(`[abr] MediaCapabilities decodingInfo error: "${it.error}" for level ${Ye} ${JSON.stringify(it)}`) : it.supported || (ie.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${Ye} ${JSON.stringify(it)}`), Ye > -1 && Je.length > 1 && (ie.log(`[abr] Removing unsupported level ${Ye}`), this.hls.removeLevel(Ye)));
13478
13478
  })) : ue.supportedResult = eg;
13479
13479
  }
13480
13480
  if (N && ue.codecSet !== N || te && ue.videoRange !== te || he && j > ue.frameRate || !he && j > 0 && j < ue.frameRate || ue.supportedResult && !((Ee = ue.supportedResult.decodingInfoResults) != null && Ee[0].smooth)) {
@@ -13822,14 +13822,14 @@ const Mw = {
13822
13822
  start: () => 0,
13823
13823
  end: () => 0
13824
13824
  };
13825
- class mt {
13825
+ class vt {
13826
13826
  /**
13827
13827
  * Return true if `media`'s buffered include `position`
13828
13828
  */
13829
13829
  static isBuffered(e, t) {
13830
13830
  try {
13831
13831
  if (e) {
13832
- const s = mt.getBuffered(e);
13832
+ const s = vt.getBuffered(e);
13833
13833
  for (let r = 0; r < s.length; r++)
13834
13834
  if (t >= s.start(r) && t <= s.end(r))
13835
13835
  return !0;
@@ -13841,7 +13841,7 @@ class mt {
13841
13841
  static bufferInfo(e, t, s) {
13842
13842
  try {
13843
13843
  if (e) {
13844
- const r = mt.getBuffered(e), n = [];
13844
+ const r = vt.getBuffered(e), n = [];
13845
13845
  let a;
13846
13846
  for (a = 0; a < r.length; a++)
13847
13847
  n.push({
@@ -14415,7 +14415,7 @@ class _c extends Pw {
14415
14415
  const s = t.partList;
14416
14416
  if (s != null && s.length) {
14417
14417
  const n = s[s.length - 1];
14418
- return mt.isBuffered(this.media, n.start + n.duration / 2);
14418
+ return vt.isBuffered(this.media, n.start + n.duration / 2);
14419
14419
  }
14420
14420
  const r = t.fragments[t.fragments.length - 1].type;
14421
14421
  return this.fragmentTracker.isEndListAppended(r);
@@ -14443,7 +14443,7 @@ class _c extends Pw {
14443
14443
  media: s,
14444
14444
  mediaBuffer: r,
14445
14445
  state: n
14446
- } = this, a = s ? s.currentTime : 0, o = mt.bufferInfo(r || s, a, e.maxBufferHole);
14446
+ } = this, a = s ? s.currentTime : 0, o = vt.bufferInfo(r || s, a, e.maxBufferHole);
14447
14447
  if (this.log(`media seeking to ${Re(a) ? a.toFixed(3) : a}, state: ${n}`), this.state === me.ENDED)
14448
14448
  this.resetLoadingState();
14449
14449
  else if (t) {
@@ -14585,7 +14585,7 @@ class _c extends Pw {
14585
14585
  fragBufferedComplete(e, t) {
14586
14586
  var s, r, n, a;
14587
14587
  const o = this.mediaBuffer ? this.mediaBuffer : this.media;
14588
- if (this.log(`Buffered ${e.type} sn: ${e.sn}${t ? " part: " + t.index : ""} of ${this.playlistType === Ve.MAIN ? "level" : "track"} ${e.level} (frag:[${((s = e.startPTS) != null ? s : NaN).toFixed(3)}-${((r = e.endPTS) != null ? r : NaN).toFixed(3)}] > buffer:${o ? Kw.toString(mt.getBuffered(o)) : "(detached)"})`), e.sn !== "initSegment") {
14588
+ if (this.log(`Buffered ${e.type} sn: ${e.sn}${t ? " part: " + t.index : ""} of ${this.playlistType === Ve.MAIN ? "level" : "track"} ${e.level} (frag:[${((s = e.startPTS) != null ? s : NaN).toFixed(3)}-${((r = e.endPTS) != null ? r : NaN).toFixed(3)}] > buffer:${o ? Kw.toString(vt.getBuffered(o)) : "(detached)"})`), e.sn !== "initSegment") {
14589
14589
  var l;
14590
14590
  if (e.type !== Ve.SUBTITLE) {
14591
14591
  const d = e.elementaryStreams;
@@ -14750,11 +14750,11 @@ class _c extends Pw {
14750
14750
  const t = this.media;
14751
14751
  if (!t)
14752
14752
  return;
14753
- if (!mt.isBuffered(t, t.currentTime)) {
14753
+ if (!vt.isBuffered(t, t.currentTime)) {
14754
14754
  this.flushMainBuffer(0, e.start);
14755
14755
  return;
14756
14756
  }
14757
- const s = t.currentTime, r = mt.bufferInfo(t, s, 0), n = e.duration, a = Math.min(this.config.maxFragLookUpTolerance * 2, n * 0.25), o = Math.max(Math.min(e.start - a, r.end - a), s + a);
14757
+ const s = t.currentTime, r = vt.bufferInfo(t, s, 0), n = e.duration, a = Math.min(this.config.maxFragLookUpTolerance * 2, n * 0.25), o = Math.max(Math.min(e.start - a, r.end - a), s + a);
14758
14758
  e.start - o > a && this.flushMainBuffer(o, e.start);
14759
14759
  }
14760
14760
  getFwdBufferInfo(e, t) {
@@ -14766,11 +14766,11 @@ class _c extends Pw {
14766
14766
  config: {
14767
14767
  maxBufferHole: r
14768
14768
  }
14769
- } = this, n = mt.bufferInfo(e, t, r);
14769
+ } = this, n = vt.bufferInfo(e, t, r);
14770
14770
  if (n.len === 0 && n.nextStart !== void 0) {
14771
14771
  const a = this.fragmentTracker.getBufferedFrag(t, s);
14772
14772
  if (a && n.nextStart < a.end)
14773
- return mt.bufferInfo(e, t, Math.max(n.nextStart, r));
14773
+ return vt.bufferInfo(e, t, Math.max(n.nextStart, r));
14774
14774
  }
14775
14775
  return n;
14776
14776
  }
@@ -14998,7 +14998,7 @@ class _c extends Pw {
14998
14998
  afterBufferFlushed(e, t, s) {
14999
14999
  if (!e)
15000
15000
  return;
15001
- const r = mt.getBuffered(e);
15001
+ const r = vt.getBuffered(e);
15002
15002
  this.fragmentTracker.detectEvictedFragments(t, r, s), this.state === me.ENDED && this.resetLoadingState();
15003
15003
  }
15004
15004
  resetLoadingState() {
@@ -17701,8 +17701,8 @@ class Ra {
17701
17701
  if (ve)
17702
17702
  a[0].dts = v, a[0].pts = Be;
17703
17703
  else
17704
- for (let Ye = 0; Ye < a.length && !(a[Ye].dts > Be); Ye++)
17705
- a[Ye].dts -= ge, a[Ye].pts -= ge;
17704
+ for (let Qe = 0; Qe < a.length && !(a[Qe].dts > Be); Qe++)
17705
+ a[Qe].dts -= ge, a[Qe].pts -= ge;
17706
17706
  ie.log(`Video: Initial PTS/DTS adjusted: ${mn(Be, !0)}/${mn(v, !0)}, delta: ${mn(ge, !0)} ms`);
17707
17707
  }
17708
17708
  }
@@ -17710,10 +17710,10 @@ class Ra {
17710
17710
  let N = 0, te = 0, j = v;
17711
17711
  for (let ge = 0; ge < l; ge++) {
17712
17712
  const ve = a[ge], Ge = ve.units, Be = Ge.length;
17713
- let Ye = 0;
17713
+ let Qe = 0;
17714
17714
  for (let tt = 0; tt < Be; tt++)
17715
- Ye += Ge[tt].data.length;
17716
- te += Ye, N += Be, ve.length = Ye, ve.dts < j ? (ve.dts = j, j += U / 4 | 0 || 1) : j = ve.dts, E = Math.min(ve.pts, E), b = Math.max(ve.pts, b);
17715
+ Qe += Ge[tt].data.length;
17716
+ te += Qe, N += Be, ve.length = Qe, ve.dts < j ? (ve.dts = j, j += U / 4 | 0 || 1) : j = ve.dts, E = Math.min(ve.pts, E), b = Math.max(ve.pts, b);
17717
17717
  }
17718
17718
  y = a[l - 1].dts;
17719
17719
  const re = te + 4 * N + 8;
@@ -17737,23 +17737,23 @@ class Ra {
17737
17737
  for (let ge = 0; ge < l; ge++) {
17738
17738
  const ve = a[ge], Ge = ve.units;
17739
17739
  let Be = 0;
17740
- for (let Ze = 0, it = Ge.length; Ze < it; Ze++) {
17741
- const Qe = Ge[Ze], vt = Qe.data, Dt = Qe.data.byteLength;
17742
- le.setUint32(f, Dt), f += 4, Q.set(vt, f), f += Dt, Be += 4 + Dt;
17740
+ for (let it = 0, Je = Ge.length; it < Je; it++) {
17741
+ const Ye = Ge[it], ht = Ye.data, It = Ye.data.byteLength;
17742
+ le.setUint32(f, It), f += 4, Q.set(ht, f), f += It, Be += 4 + It;
17743
17743
  }
17744
- let Ye;
17744
+ let Qe;
17745
17745
  if (ge < l - 1)
17746
- g = a[ge + 1].dts - ve.dts, Ye = a[ge + 1].pts - ve.pts;
17746
+ g = a[ge + 1].dts - ve.dts, Qe = a[ge + 1].pts - ve.pts;
17747
17747
  else {
17748
- const Ze = this.config, it = ge > 0 ? ve.dts - a[ge - 1].dts : U;
17749
- if (Ye = ge > 0 ? ve.pts - a[ge - 1].pts : U, Ze.stretchShortVideoTrack && this.nextAudioPts !== null) {
17750
- const Qe = Math.floor(Ze.maxBufferHole * n), vt = (r ? E + r * n : this.nextAudioPts) - ve.pts;
17751
- vt > Qe ? (g = vt - it, g < 0 ? g = it : se = !0, ie.log(`[mp4-remuxer]: It is approximately ${vt / 90} ms to the next segment; using duration ${g / 90} ms for the last video frame.`)) : g = it;
17748
+ const it = this.config, Je = ge > 0 ? ve.dts - a[ge - 1].dts : U;
17749
+ if (Qe = ge > 0 ? ve.pts - a[ge - 1].pts : U, it.stretchShortVideoTrack && this.nextAudioPts !== null) {
17750
+ const Ye = Math.floor(it.maxBufferHole * n), ht = (r ? E + r * n : this.nextAudioPts) - ve.pts;
17751
+ ht > Ye ? (g = ht - Je, g < 0 ? g = Je : se = !0, ie.log(`[mp4-remuxer]: It is approximately ${ht / 90} ms to the next segment; using duration ${g / 90} ms for the last video frame.`)) : g = Je;
17752
17752
  } else
17753
- g = it;
17753
+ g = Je;
17754
17754
  }
17755
17755
  const tt = Math.round(ve.pts - ve.dts);
17756
- fe = Math.min(fe, g), Ee = Math.max(Ee, g), de = Math.min(de, Ye), Ae = Math.max(Ae, Ye), o.push(new xd(ve.key, g, Be, tt));
17756
+ fe = Math.min(fe, g), Ee = Math.max(Ee, g), de = Math.min(de, Qe), Ae = Math.max(Ae, Qe), o.push(new xd(ve.key, g, Be, tt));
17757
17757
  }
17758
17758
  if (o.length) {
17759
17759
  if (Fr) {
@@ -17765,10 +17765,10 @@ class Ra {
17765
17765
  ie.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");
17766
17766
  let ge = v;
17767
17767
  for (let ve = 0, Ge = o.length; ve < Ge; ve++) {
17768
- const Be = ge + o[ve].duration, Ye = ge + o[ve].cts;
17768
+ const Be = ge + o[ve].duration, Qe = ge + o[ve].cts;
17769
17769
  if (ve < Ge - 1) {
17770
17770
  const tt = Be + o[ve + 1].cts;
17771
- o[ve].duration = tt - Ye;
17771
+ o[ve].duration = tt - Qe;
17772
17772
  } else
17773
17773
  o[ve].duration = ve ? o[ve - 1].duration : U;
17774
17774
  o[ve].cts = 0, ge = Be;
@@ -17821,14 +17821,14 @@ class Ra {
17821
17821
  if (Ge <= -ue * d && y)
17822
17822
  he === 0 && (ie.warn(`Audio frame @ ${(ve / a).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3 * Ge / a)} ms.`), this.nextAudioPts = w = Te = ve);
17823
17823
  else if (Ge >= ue * d && Be < xA && y) {
17824
- let Ye = Math.round(Ge / d);
17825
- Te = ve - Ye * d, Te < 0 && (Ye--, Te += d), he === 0 && (this.nextAudioPts = w = Te), ie.warn(`[mp4-remuxer]: Injecting ${Ye} audio frame @ ${(Te / a).toFixed(3)}s due to ${Math.round(1e3 * Ge / a)} ms gap.`);
17826
- for (let tt = 0; tt < Ye; tt++) {
17827
- const Ze = Math.max(Te, 0);
17828
- let it = vd.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
17829
- it || (ie.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), it = ge.unit.subarray()), E.splice(he, 0, {
17830
- unit: it,
17831
- pts: Ze
17824
+ let Qe = Math.round(Ge / d);
17825
+ Te = ve - Qe * d, Te < 0 && (Qe--, Te += d), he === 0 && (this.nextAudioPts = w = Te), ie.warn(`[mp4-remuxer]: Injecting ${Qe} audio frame @ ${(Te / a).toFixed(3)}s due to ${Math.round(1e3 * Ge / a)} ms gap.`);
17826
+ for (let tt = 0; tt < Qe; tt++) {
17827
+ const it = Math.max(Te, 0);
17828
+ let Je = vd.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
17829
+ Je || (ie.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), Je = ge.unit.subarray()), E.splice(he, 0, {
17830
+ unit: Je,
17831
+ pts: it
17832
17832
  }), Te += d, he++;
17833
17833
  }
17834
17834
  }
@@ -18686,7 +18686,7 @@ class _A extends _c {
18686
18686
  } else if (this.videoTrackCC !== this.waitingVideoCC)
18687
18687
  this.log(`Waiting fragment cc (${r.cc}) cancelled because video is at cc ${this.videoTrackCC}`), this.clearWaitingFragment();
18688
18688
  else {
18689
- const l = this.getLoadPosition(), u = mt.bufferInfo(this.mediaBuffer, l, this.config.maxBufferHole);
18689
+ const l = this.getLoadPosition(), u = vt.bufferInfo(this.mediaBuffer, l, this.config.maxBufferHole);
18690
18690
  Ol(u.end, this.config.maxFragLookUpTolerance, r) < 0 && (this.log(`Waiting fragment cc (${r.cc}) @ ${r.start} cancelled because another fragment at ${u.end} is needed`), this.clearWaitingFragment());
18691
18691
  }
18692
18692
  } else
@@ -18885,7 +18885,7 @@ class _A extends _c {
18885
18885
  if (s.type !== Ve.AUDIO) {
18886
18886
  if (!this.loadedmetadata && s.type === Ve.MAIN) {
18887
18887
  const n = this.videoBuffer || this.media;
18888
- n && mt.getBuffered(n).length && (this.loadedmetadata = !0);
18888
+ n && vt.getBuffered(n).length && (this.loadedmetadata = !0);
18889
18889
  }
18890
18890
  return;
18891
18891
  }
@@ -19469,7 +19469,7 @@ class kA extends _c {
19469
19469
  return;
19470
19470
  const {
19471
19471
  config: r
19472
- } = this, n = this.getLoadPosition(), a = mt.bufferedInfo(this.tracksBuffered[this.currentTrackId] || [], n, r.maxBufferHole), {
19472
+ } = this, n = this.getLoadPosition(), a = vt.bufferedInfo(this.tracksBuffered[this.currentTrackId] || [], n, r.maxBufferHole), {
19473
19473
  end: o,
19474
19474
  len: l
19475
19475
  } = a, u = this.getFwdBufferInfo(this.media, Ve.MAIN), d = s.details, f = this.getMaxBufferLength(u == null ? void 0 : u.len) + d.levelTargetDuration;
@@ -20060,7 +20060,7 @@ class FA {
20060
20060
  sourceBuffer: U
20061
20061
  } = this, N = {};
20062
20062
  for (const te in U)
20063
- N[te] = mt.getBuffered(U[te]);
20063
+ N[te] = vt.getBuffered(U[te]);
20064
20064
  this.appendErrors[o] = 0, o === "audio" || o === "video" ? this.appendErrors.audiovideo = 0 : (this.appendErrors.audio = 0, this.appendErrors.video = 0), this.hls.trigger(C.BUFFER_APPENDED, {
20065
20065
  type: o,
20066
20066
  frag: l,
@@ -20188,7 +20188,7 @@ class FA {
20188
20188
  this.getSourceBufferTypes().forEach((o) => {
20189
20189
  const l = n[o];
20190
20190
  if (l) {
20191
- const u = mt.getBuffered(l);
20191
+ const u = vt.getBuffered(l);
20192
20192
  if (u.length > 0 && s > u.start(0)) {
20193
20193
  if (this.hls.trigger(C.BACK_BUFFER_REACHED, {
20194
20194
  bufferEnd: s
@@ -20216,7 +20216,7 @@ class FA {
20216
20216
  this.getSourceBufferTypes().forEach((a) => {
20217
20217
  const o = r[a];
20218
20218
  if (o) {
20219
- const l = mt.getBuffered(o), u = l.length;
20219
+ const l = vt.getBuffered(o), u = l.length;
20220
20220
  if (u < 2)
20221
20221
  return;
20222
20222
  const d = l.start(u - 1), f = l.end(u - 1);
@@ -22555,7 +22555,7 @@ class Ur {
22555
22555
  return;
22556
22556
  let r, n;
22557
22557
  if (t === "sinf" && this.config.drmSystems[xt.FAIRPLAY]) {
22558
- const d = Pt(new Uint8Array(s));
22558
+ const d = Dt(new Uint8Array(s));
22559
22559
  try {
22560
22560
  const f = bc(JSON.parse(d).sinf), g = Vp(new Uint8Array(f));
22561
22561
  if (!g)
@@ -23279,7 +23279,7 @@ class VL {
23279
23279
  */
23280
23280
  getBufferLength(e) {
23281
23281
  const t = this.hls.media, s = e === Yt.AUDIO ? this.audioBuffer : this.videoBuffer;
23282
- return !s || !t ? NaN : mt.bufferInfo(s, t.currentTime, this.config.maxBufferHole).len * 1e3;
23282
+ return !s || !t ? NaN : vt.bufferInfo(s, t.currentTime, this.config.maxBufferHole).len * 1e3;
23283
23283
  }
23284
23284
  /**
23285
23285
  * Create a playlist loader
@@ -24752,11 +24752,11 @@ class dC {
24752
24752
  this.stalled = null;
24753
24753
  return;
24754
24754
  }
24755
- if (r.paused && !o || r.ended || r.playbackRate === 0 || !mt.getBuffered(r).length) {
24755
+ if (r.paused && !o || r.ended || r.playbackRate === 0 || !vt.getBuffered(r).length) {
24756
24756
  this.nudgeRetry = 0;
24757
24757
  return;
24758
24758
  }
24759
- const d = mt.bufferInfo(r, a, 0), f = d.nextStart || 0;
24759
+ const d = vt.bufferInfo(r, a, 0), f = d.nextStart || 0;
24760
24760
  if (o) {
24761
24761
  const b = d.len > Pa, w = !f || t && t.start <= a || f - a > Pa && !this.fragmentTracker.getPartialFragment(a);
24762
24762
  if (b || w)
@@ -24781,7 +24781,7 @@ class dC {
24781
24781
  const y = v - n;
24782
24782
  if (!o && y >= cC && (this._reportStall(d), !this.media))
24783
24783
  return;
24784
- const E = mt.bufferInfo(r, a, s.maxBufferHole);
24784
+ const E = vt.bufferInfo(r, a, s.maxBufferHole);
24785
24785
  this._tryFixBufferStall(E, y);
24786
24786
  }
24787
24787
  /**
@@ -24837,7 +24837,7 @@ class dC {
24837
24837
  } = this;
24838
24838
  if (r === null)
24839
24839
  return 0;
24840
- const n = r.currentTime, a = mt.bufferInfo(r, n, 0), o = n < a.start ? a.start : a.nextStart;
24840
+ const n = r.currentTime, a = vt.bufferInfo(r, n, 0), o = n < a.start ? a.start : a.nextStart;
24841
24841
  if (o) {
24842
24842
  const l = a.len <= t.maxBufferHole, u = a.len > 0 && a.len < 1 && r.readyState < 3, d = o - n;
24843
24843
  if (d > 0 && (l || u)) {
@@ -25300,7 +25300,7 @@ class pC extends _c {
25300
25300
  gapController: t
25301
25301
  } = this;
25302
25302
  if (!(!e || !t || !e.readyState)) {
25303
- if (this.loadedmetadata || !mt.getBuffered(e).length) {
25303
+ if (this.loadedmetadata || !vt.getBuffered(e).length) {
25304
25304
  const s = this.state !== me.IDLE ? this.fragCurrent : null;
25305
25305
  t.poll(this.lastCurrentTime, s);
25306
25306
  }
@@ -25340,7 +25340,7 @@ class pC extends _c {
25340
25340
  this.log(`could not seek to ${s}, already seeking at ${t}`);
25341
25341
  return;
25342
25342
  }
25343
- const r = mt.getBuffered(e), a = (r.length ? r.start(0) : 0) - s;
25343
+ const r = vt.getBuffered(e), a = (r.length ? r.start(0) : 0) - s;
25344
25344
  a > 0 && (a < this.config.maxBufferHole || a < this.config.maxFragLookUpTolerance) && (this.log(`adjusting start position by ${a} to match buffer start`), s += a, this.startPosition = s), this.log(`seek to target start position ${s} from current time ${t}`), e.currentTime = s;
25345
25345
  }
25346
25346
  }
@@ -25510,7 +25510,7 @@ class pC extends _c {
25510
25510
  let t = null;
25511
25511
  if (e && e.readyState > 1 && e.seeking === !1) {
25512
25512
  const s = e.currentTime;
25513
- if (mt.isBuffered(e, s) ? t = this.getAppendedFrag(s) : mt.isBuffered(e, s + 0.1) && (t = this.getAppendedFrag(s + 0.1)), t) {
25513
+ if (vt.isBuffered(e, s) ? t = this.getAppendedFrag(s) : vt.isBuffered(e, s + 0.1) && (t = this.getAppendedFrag(s + 0.1)), t) {
25514
25514
  this.backtrackFragment = null;
25515
25515
  const r = this.fragPlaying, n = t.level;
25516
25516
  (!r || t.sn !== r.sn || r.level !== n) && (this.fragPlaying = t, this.hls.trigger(C.FRAG_CHANGED, {
@@ -26201,7 +26201,7 @@ function gC({
26201
26201
  const ue = re.current;
26202
26202
  let he;
26203
26203
  if (Fs.isSupported()) {
26204
- const Qe = {
26204
+ const Ye = {
26205
26205
  debug: !1,
26206
26206
  enableWorker: !0,
26207
26207
  lowLatencyMode: !0,
@@ -26209,15 +26209,15 @@ function gC({
26209
26209
  highBufferWatchdogPeriod: 1,
26210
26210
  maxMaxBufferLength: 8
26211
26211
  };
26212
- he = new Fs(Qe), he.attachMedia(ue), he.loadSource(i), f(he);
26212
+ he = new Fs(Ye), he.attachMedia(ue), he.loadSource(i), f(he);
26213
26213
  } else ue.canPlayType("application/vnd.apple.mpegurl") && (ue.src = i);
26214
26214
  const Te = () => {
26215
- var Dt, vs, Ne, ls;
26216
- const Qe = ue.duration, vt = ((Ne = (vs = (Dt = he == null ? void 0 : he.levels) == null ? void 0 : Dt[0]) == null ? void 0 : vs.details) == null ? void 0 : Ne.live) || Qe === 1 / 0;
26217
- v(vt), (ls = Q.current) == null || ls.call(Q, !0), Qe !== 1 / 0 && j((cs) => ({
26215
+ var It, vs, Ne, ls;
26216
+ const Ye = ue.duration, ht = ((Ne = (vs = (It = he == null ? void 0 : he.levels) == null ? void 0 : It[0]) == null ? void 0 : vs.details) == null ? void 0 : Ne.live) || Ye === 1 / 0;
26217
+ v(ht), (ls = Q.current) == null || ls.call(Q, !0), Ye !== 1 / 0 && j((cs) => ({
26218
26218
  ...cs,
26219
- durationTime: Math.floor(Qe)
26220
- })), t && (ue.currentTime = t), s && !vt && (ue.currentTime = s), ue.play().catch(() => {
26219
+ durationTime: Math.floor(Ye)
26220
+ })), t && (ue.currentTime = t), s && !ht && (ue.currentTime = s), ue.play().catch(() => {
26221
26221
  N(!0);
26222
26222
  });
26223
26223
  }, ge = () => {
@@ -26228,21 +26228,21 @@ function gC({
26228
26228
  ue.pause();
26229
26229
  }, Be = () => {
26230
26230
  w(!0);
26231
- }, Ye = () => {
26231
+ }, Qe = () => {
26232
26232
  E(ue.playbackRate);
26233
- }, tt = ({ detail: Qe }) => {
26234
- he && (he.currentLevel = Qe.quality);
26235
- }, Ze = () => {
26236
- var Dt, vs, Ne, ls, cs, fr, Os, Ki, zi, us, pr, Ns;
26237
- const Qe = ue.currentTime, vt = ue.duration;
26238
- if ((vs = (Dt = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : Dt.details) != null && vs.live)
26239
- (Ne = Q == null ? void 0 : Q.current) == null || Ne.call(Q, vt - Qe < 10);
26240
- else if (vt === 1 / 0 && ue.buffered.length > 0) {
26233
+ }, tt = ({ detail: Ye }) => {
26234
+ he && (he.currentLevel = Ye.quality);
26235
+ }, it = () => {
26236
+ var It, vs, Ne, ls, cs, fr, Os, Ki, zi, us, pr, Ns;
26237
+ const Ye = ue.currentTime, ht = ue.duration;
26238
+ if ((vs = (It = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : It.details) != null && vs.live)
26239
+ (Ne = Q == null ? void 0 : Q.current) == null || Ne.call(Q, ht - Ye < 10);
26240
+ else if (ht === 1 / 0 && ue.buffered.length > 0) {
26241
26241
  const Bs = ue.buffered.end(0);
26242
- (ls = Q == null ? void 0 : Q.current) == null || ls.call(Q, Bs - Qe < 10);
26242
+ (ls = Q == null ? void 0 : Q.current) == null || ls.call(Q, Bs - Ye < 10);
26243
26243
  }
26244
- if (typeof r == "number" && Qe >= r && (ue.currentTime = r, ue.pause()), a) {
26245
- const Bs = ue.buffered.length > 0 ? ue.buffered.end(0) : 0, $s = ((fr = (cs = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : cs.details) == null ? void 0 : fr.live) || vt === 1 / 0, De = {
26244
+ if (typeof r == "number" && Ye >= r && (ue.currentTime = r, ue.pause()), a) {
26245
+ const Bs = ue.buffered.length > 0 ? ue.buffered.end(0) : 0, $s = ((fr = (cs = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : cs.details) == null ? void 0 : fr.live) || ht === 1 / 0, De = {
26246
26246
  isSupported: Fs.isSupported(),
26247
26247
  version: Fs.version,
26248
26248
  live: $s,
@@ -26250,24 +26250,24 @@ function gC({
26250
26250
  firstLevel: ((Ki = he == null ? void 0 : he.levels[he.firstLevel]) == null ? void 0 : Ki.width) || "auto",
26251
26251
  latency: (zi = he == null ? void 0 : he.latency) == null ? void 0 : zi.toFixed(2),
26252
26252
  targetLatency: he == null ? void 0 : he.targetLatency,
26253
- currentTime: Qe,
26254
- durationTime: vt,
26253
+ currentTime: Ye,
26254
+ durationTime: ht,
26255
26255
  bufferedEnd: Bs,
26256
- sync: $s ? (pr = (us = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : us.details) != null && pr.live ? Bs - Qe < 5 : vt - Qe < 5 : "not live"
26256
+ sync: $s ? (pr = (us = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : us.details) != null && pr.live ? Bs - Ye < 5 : ht - Ye < 5 : "not live"
26257
26257
  };
26258
26258
  (Ns = window == null ? void 0 : window.__brix_console) == null || Ns.call(window, "hls", De);
26259
26259
  }
26260
- }, it = (Qe) => {
26261
- console.log(Qe);
26260
+ }, Je = (Ye) => {
26261
+ console.log(Ye);
26262
26262
  };
26263
26263
  return document.addEventListener(
26264
26264
  "__BP_VIDEO_QUALITY",
26265
26265
  tt
26266
- ), ue.addEventListener("progress", Ze), ue.addEventListener("loadedmetadata", Te), ue.addEventListener("pause", ge), ue.addEventListener("play", ve), ue.addEventListener("ratechange", Ye), ue.addEventListener("canplay", Be), ue.addEventListener("ended", Ge), ue.addEventListener("error", it), l == null || l(ue, he), () => {
26266
+ ), ue.addEventListener("progress", it), ue.addEventListener("loadedmetadata", Te), ue.addEventListener("pause", ge), ue.addEventListener("play", ve), ue.addEventListener("ratechange", Qe), ue.addEventListener("canplay", Be), ue.addEventListener("ended", Ge), ue.addEventListener("error", Je), l == null || l(ue, he), () => {
26267
26267
  document.removeEventListener(
26268
26268
  "__BP_VIDEO_QUALITY",
26269
26269
  tt
26270
- ), ue.removeEventListener("progress", Ze), ue.removeEventListener("loadedmetadata", Te), ue.removeEventListener("pause", ge), ue.removeEventListener("play", ve), ue.removeEventListener("ratechange", Ye), ue.removeEventListener("canplay", Be), ue.removeEventListener("ended", Ge), ue.removeEventListener("error", it), he == null || he.stopLoad(), he == null || he.destroy(), u == null || u();
26270
+ ), ue.removeEventListener("progress", it), ue.removeEventListener("loadedmetadata", Te), ue.removeEventListener("pause", ge), ue.removeEventListener("play", ve), ue.removeEventListener("ratechange", Qe), ue.removeEventListener("canplay", Be), ue.removeEventListener("ended", Ge), ue.removeEventListener("error", Je), he == null || he.stopLoad(), he == null || he.destroy(), u == null || u();
26271
26271
  };
26272
26272
  }, [
26273
26273
  i,
@@ -26594,7 +26594,7 @@ var jl = { exports: {} };
26594
26594
  var p = ve(c[0] * 255, c[1] * 255, c[2] * 255);
26595
26595
  return p[2] += h, p[2] > 1 ? p[2] = 1 : p[2] < 0 && (p[2] = 0), ge(p[0], p[1], p[2]);
26596
26596
  }
26597
- function Ye(c, h) {
26597
+ function Qe(c, h) {
26598
26598
  var p = ve(c[0] * 255, c[1] * 255, c[2] * 255);
26599
26599
  return p[0] += h / 360, p[0] > 1 ? p[0] -= 1 : p[0] < 0 && (p[0] += 1), ge(p[0], p[1], p[2]);
26600
26600
  }
@@ -26608,15 +26608,15 @@ var jl = { exports: {} };
26608
26608
  })();
26609
26609
  var tt = function(h) {
26610
26610
  b = !!h;
26611
- }, Ze = function() {
26611
+ }, it = function() {
26612
26612
  return b;
26613
- }, it = function(h) {
26613
+ }, Je = function(h) {
26614
26614
  w = h;
26615
- }, Qe = function() {
26615
+ }, Ye = function() {
26616
26616
  return w;
26617
- }, vt = function(h) {
26617
+ }, ht = function(h) {
26618
26618
  re = h;
26619
- }, Dt = function() {
26619
+ }, It = function() {
26620
26620
  return re;
26621
26621
  }, vs = function(h) {
26622
26622
  F = h;
@@ -27214,7 +27214,7 @@ var jl = { exports: {} };
27214
27214
  }, $s(c);
27215
27215
  }
27216
27216
  var De = function() {
27217
- this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = Te(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = Ze(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = zi(), this.imagePreloader = new fr(), this.audioController = v(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new se("drawnFrame", 0, 0, 0), this.expressionsPlugin = Qe();
27217
+ this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = Te(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = it(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = zi(), this.imagePreloader = new fr(), this.audioController = v(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new se("drawnFrame", 0, 0, 0), this.expressionsPlugin = Ye();
27218
27218
  };
27219
27219
  f([Os], De), De.prototype.setParams = function(c) {
27220
27220
  (c.wrapper || c.container) && (this.wrapper = c.wrapper || c.container);
@@ -27256,7 +27256,7 @@ var jl = { exports: {} };
27256
27256
  this.animationData.__complete = !1, cs.completeAnimation(this.animationData, this.onSegmentComplete);
27257
27257
  }, De.prototype.onSegmentComplete = function(c) {
27258
27258
  this.animationData = c;
27259
- var h = Qe();
27259
+ var h = Ye();
27260
27260
  h && h.initExpressions(this), this.loadNextSegment();
27261
27261
  }, De.prototype.loadNextSegment = function() {
27262
27262
  var c = this.animationData.segments;
@@ -27289,7 +27289,7 @@ var jl = { exports: {} };
27289
27289
  }, De.prototype.checkLoaded = function() {
27290
27290
  if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
27291
27291
  this.isLoaded = !0;
27292
- var c = Qe();
27292
+ var c = Ye();
27293
27293
  c && c.initExpressions(this), this.renderer.initItems(), setTimeout((function() {
27294
27294
  this.trigger("DOMLoaded");
27295
27295
  }).bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
@@ -27672,8 +27672,8 @@ var jl = { exports: {} };
27672
27672
  function c() {
27673
27673
  return {
27674
27674
  addedLength: 0,
27675
- percents: y("float32", Dt()),
27676
- lengths: y("float32", Dt())
27675
+ percents: y("float32", It()),
27676
+ lengths: y("float32", It())
27677
27677
  };
27678
27678
  }
27679
27679
  return gr(8, c);
@@ -27706,7 +27706,7 @@ var jl = { exports: {} };
27706
27706
  }
27707
27707
  var m = /* @__PURE__ */ function() {
27708
27708
  return function(I, H, q, K) {
27709
- var J = Dt(), G, O, _, P, $, Y = 0, Z, ae = [], xe = [], je = Un.newElement();
27709
+ var J = It(), G, O, _, P, $, Y = 0, Z, ae = [], xe = [], je = Un.newElement();
27710
27710
  for (_ = q.length, G = 0; G < J; G += 1) {
27711
27711
  for ($ = G / (J - 1), Z = 0, O = 0; O < _; O += 1)
27712
27712
  P = U(1 - $, 3) * I[O] + 3 * U(1 - $, 2) * $ * q[O] + 3 * (1 - $) * U($, 2) * K[O] + U($, 3) * H[O], ae[O] = P, xe[O] !== null && (Z += U(ae[O] - xe[O], 2)), xe[O] = ae[O];
@@ -27732,7 +27732,7 @@ var jl = { exports: {} };
27732
27732
  return function(H, q, K, J) {
27733
27733
  var G = (H[0] + "_" + H[1] + "_" + q[0] + "_" + q[1] + "_" + K[0] + "_" + K[1] + "_" + J[0] + "_" + J[1]).replace(/\./g, "p");
27734
27734
  if (!I[G]) {
27735
- var O = Dt(), _, P, $, Y, Z, ae = 0, xe, je, Pe = null;
27735
+ var O = It(), _, P, $, Y, Z, ae = 0, xe, je, Pe = null;
27736
27736
  H.length === 2 && (H[0] !== q[0] || H[1] !== q[1]) && h(H[0], H[1], q[0], q[1], H[0] + K[0], H[1] + K[1]) && h(H[0], H[1], q[0], q[1], q[0] + J[0], q[1] + J[1]) && (O = 2);
27737
27737
  var be = new x(O);
27738
27738
  for ($ = K.length, _ = 0; _ < O; _ += 1) {
@@ -27940,9 +27940,9 @@ var jl = { exports: {} };
27940
27940
  };
27941
27941
  return h;
27942
27942
  }();
27943
- function It() {
27943
+ function kt() {
27944
27944
  }
27945
- It.prototype = {
27945
+ kt.prototype = {
27946
27946
  addDynamicProperty: function(h) {
27947
27947
  this.dynamicProperties.indexOf(h) === -1 && (this.dynamicProperties.push(h), this.container.addDynamicProperty(this), this._isAnimated = !0);
27948
27948
  },
@@ -28150,7 +28150,7 @@ var jl = { exports: {} };
28150
28150
  var P = this.p.v[0], $ = this.p.v[1], Y = this.s.v[0] / 2, Z = this.s.v[1] / 2, ae = this.d !== 3, xe = this.v;
28151
28151
  xe.v[0][0] = P, xe.v[0][1] = $ - Z, xe.v[1][0] = ae ? P + Y : P - Y, xe.v[1][1] = $, xe.v[2][0] = P, xe.v[2][1] = $ + Z, xe.v[3][0] = ae ? P - Y : P + Y, xe.v[3][1] = $, xe.i[0][0] = ae ? P - Y * G : P + Y * G, xe.i[0][1] = $ - Z, xe.i[1][0] = ae ? P + Y : P - Y, xe.i[1][1] = $ - Z * G, xe.i[2][0] = ae ? P + Y * G : P - Y * G, xe.i[2][1] = $ + Z, xe.i[3][0] = ae ? P - Y : P + Y, xe.i[3][1] = $ + Z * G, xe.o[0][0] = ae ? P + Y * G : P - Y * G, xe.o[0][1] = $ - Z, xe.o[1][0] = ae ? P + Y : P - Y, xe.o[1][1] = $ + Z * G, xe.o[2][0] = ae ? P - Y * G : P + Y * G, xe.o[2][1] = $ + Z, xe.o[3][0] = ae ? P - Y : P + Y, xe.o[3][1] = $ - Z * G;
28152
28152
  }
28153
- }, f([It], O), O;
28153
+ }, f([kt], O), O;
28154
28154
  }(), ee = function() {
28155
28155
  function G(O, _) {
28156
28156
  this.v = Mt.newElement(), this.v.setPathData(!0, 0), this.elem = O, this.comp = O.comp, this.data = _, this.frameId = -1, this.d = _.d, this.initDynamicPropertyContainer(O), _.sy === 1 ? (this.ir = we.getProp(O, _.ir, 0, 0, this), this.is = we.getProp(O, _.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = we.getProp(O, _.pt, 0, 0, this), this.p = we.getProp(O, _.p, 1, 0, this), this.r = we.getProp(O, _.r, 0, Q, this), this.or = we.getProp(O, _.or, 0, 0, this), this.os = we.getProp(O, _.os, 0, 0.01, this), this.localShapeCollection = Se.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
@@ -28178,7 +28178,7 @@ var jl = { exports: {} };
28178
28178
  }
28179
28179
  this.paths.length = 0, this.paths[0] = this.v;
28180
28180
  }
28181
- }, f([It], G), G;
28181
+ }, f([kt], G), G;
28182
28182
  }(), I = function() {
28183
28183
  function G(O, _) {
28184
28184
  this.v = Mt.newElement(), this.v.c = !0, this.localShapeCollection = Se.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = O, this.comp = O.comp, this.frameId = -1, this.d = _.d, this.initDynamicPropertyContainer(O), this.p = we.getProp(O, _.p, 1, 0, this), this.s = we.getProp(O, _.s, 1, 0, this), this.r = we.getProp(O, _.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
@@ -28192,7 +28192,7 @@ var jl = { exports: {} };
28192
28192
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
28193
28193
  },
28194
28194
  reset: m
28195
- }, f([It], G), G;
28195
+ }, f([kt], G), G;
28196
28196
  }();
28197
28197
  function H(G, O, _) {
28198
28198
  var P;
@@ -28261,18 +28261,18 @@ var jl = { exports: {} };
28261
28261
  function I(T, R, ne) {
28262
28262
  return !ne && ne !== 0 && (ne = 1), T === 1 && R === 1 && ne === 1 ? this : this._t(T, 0, 0, 0, 0, R, 0, 0, 0, 0, ne, 0, 0, 0, 0, 1);
28263
28263
  }
28264
- function H(T, R, ne, X, Ce, $e, Ke, rt, nt, kt, ss, Gs, is, Vt, hs, ht) {
28265
- return this.props[0] = T, this.props[1] = R, this.props[2] = ne, this.props[3] = X, this.props[4] = Ce, this.props[5] = $e, this.props[6] = Ke, this.props[7] = rt, this.props[8] = nt, this.props[9] = kt, this.props[10] = ss, this.props[11] = Gs, this.props[12] = is, this.props[13] = Vt, this.props[14] = hs, this.props[15] = ht, this;
28264
+ function H(T, R, ne, X, Ce, $e, Ke, rt, nt, Pt, ss, Gs, is, Vt, hs, dt) {
28265
+ return this.props[0] = T, this.props[1] = R, this.props[2] = ne, this.props[3] = X, this.props[4] = Ce, this.props[5] = $e, this.props[6] = Ke, this.props[7] = rt, this.props[8] = nt, this.props[9] = Pt, this.props[10] = ss, this.props[11] = Gs, this.props[12] = is, this.props[13] = Vt, this.props[14] = hs, this.props[15] = dt, this;
28266
28266
  }
28267
28267
  function q(T, R, ne) {
28268
28268
  return ne = ne || 0, T !== 0 || R !== 0 || ne !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, T, R, ne, 1) : this;
28269
28269
  }
28270
- function K(T, R, ne, X, Ce, $e, Ke, rt, nt, kt, ss, Gs, is, Vt, hs, ht) {
28270
+ function K(T, R, ne, X, Ce, $e, Ke, rt, nt, Pt, ss, Gs, is, Vt, hs, dt) {
28271
28271
  var ke = this.props;
28272
- if (T === 1 && R === 0 && ne === 0 && X === 0 && Ce === 0 && $e === 1 && Ke === 0 && rt === 0 && nt === 0 && kt === 0 && ss === 1 && Gs === 0)
28273
- return ke[12] = ke[12] * T + ke[15] * is, ke[13] = ke[13] * $e + ke[15] * Vt, ke[14] = ke[14] * ss + ke[15] * hs, ke[15] *= ht, this._identityCalculated = !1, this;
28272
+ if (T === 1 && R === 0 && ne === 0 && X === 0 && Ce === 0 && $e === 1 && Ke === 0 && rt === 0 && nt === 0 && Pt === 0 && ss === 1 && Gs === 0)
28273
+ return ke[12] = ke[12] * T + ke[15] * is, ke[13] = ke[13] * $e + ke[15] * Vt, ke[14] = ke[14] * ss + ke[15] * hs, ke[15] *= dt, this._identityCalculated = !1, this;
28274
28274
  var ui = ke[0], ki = ke[1], hi = ke[2], Vs = ke[3], di = ke[4], fi = ke[5], rs = ke[6], Pi = ke[7], Di = ke[8], Is = ke[9], Mi = ke[10], ks = ke[11], Qi = ke[12], Xn = ke[13], Qn = ke[14], Jn = ke[15];
28275
- return ke[0] = ui * T + ki * Ce + hi * nt + Vs * is, ke[1] = ui * R + ki * $e + hi * kt + Vs * Vt, ke[2] = ui * ne + ki * Ke + hi * ss + Vs * hs, ke[3] = ui * X + ki * rt + hi * Gs + Vs * ht, ke[4] = di * T + fi * Ce + rs * nt + Pi * is, ke[5] = di * R + fi * $e + rs * kt + Pi * Vt, ke[6] = di * ne + fi * Ke + rs * ss + Pi * hs, ke[7] = di * X + fi * rt + rs * Gs + Pi * ht, ke[8] = Di * T + Is * Ce + Mi * nt + ks * is, ke[9] = Di * R + Is * $e + Mi * kt + ks * Vt, ke[10] = Di * ne + Is * Ke + Mi * ss + ks * hs, ke[11] = Di * X + Is * rt + Mi * Gs + ks * ht, ke[12] = Qi * T + Xn * Ce + Qn * nt + Jn * is, ke[13] = Qi * R + Xn * $e + Qn * kt + Jn * Vt, ke[14] = Qi * ne + Xn * Ke + Qn * ss + Jn * hs, ke[15] = Qi * X + Xn * rt + Qn * Gs + Jn * ht, this._identityCalculated = !1, this;
28275
+ return ke[0] = ui * T + ki * Ce + hi * nt + Vs * is, ke[1] = ui * R + ki * $e + hi * Pt + Vs * Vt, ke[2] = ui * ne + ki * Ke + hi * ss + Vs * hs, ke[3] = ui * X + ki * rt + hi * Gs + Vs * dt, ke[4] = di * T + fi * Ce + rs * nt + Pi * is, ke[5] = di * R + fi * $e + rs * Pt + Pi * Vt, ke[6] = di * ne + fi * Ke + rs * ss + Pi * hs, ke[7] = di * X + fi * rt + rs * Gs + Pi * dt, ke[8] = Di * T + Is * Ce + Mi * nt + ks * is, ke[9] = Di * R + Is * $e + Mi * Pt + ks * Vt, ke[10] = Di * ne + Is * Ke + Mi * ss + ks * hs, ke[11] = Di * X + Is * rt + Mi * Gs + ks * dt, ke[12] = Qi * T + Xn * Ce + Qn * nt + Jn * is, ke[13] = Qi * R + Xn * $e + Qn * Pt + Jn * Vt, ke[14] = Qi * ne + Xn * Ke + Qn * ss + Jn * hs, ke[15] = Qi * X + Xn * rt + Qn * Gs + Jn * dt, this._identityCalculated = !1, this;
28276
28276
  }
28277
28277
  function J(T) {
28278
28278
  var R = T.props;
@@ -28335,8 +28335,8 @@ var jl = { exports: {} };
28335
28335
  if (this.isIdentity())
28336
28336
  X[0] = T[0], X[1] = T[1], X[2] = R[0], X[3] = R[1], X[4] = ne[0], X[5] = ne[1];
28337
28337
  else {
28338
- var Ce = this.props[0], $e = this.props[1], Ke = this.props[4], rt = this.props[5], nt = this.props[12], kt = this.props[13];
28339
- X[0] = T[0] * Ce + T[1] * Ke + nt, X[1] = T[0] * $e + T[1] * rt + kt, X[2] = R[0] * Ce + R[1] * Ke + nt, X[3] = R[0] * $e + R[1] * rt + kt, X[4] = ne[0] * Ce + ne[1] * Ke + nt, X[5] = ne[0] * $e + ne[1] * rt + kt;
28338
+ var Ce = this.props[0], $e = this.props[1], Ke = this.props[4], rt = this.props[5], nt = this.props[12], Pt = this.props[13];
28339
+ X[0] = T[0] * Ce + T[1] * Ke + nt, X[1] = T[0] * $e + T[1] * rt + Pt, X[2] = R[0] * Ce + R[1] * Ke + nt, X[3] = R[0] * $e + R[1] * rt + Pt, X[4] = ne[0] * Ce + ne[1] * Ke + nt, X[5] = ne[0] * $e + ne[1] * rt + Pt;
28340
28340
  }
28341
28341
  return X;
28342
28342
  }
@@ -28379,7 +28379,7 @@ var jl = { exports: {} };
28379
28379
  function et(c) {
28380
28380
  l(c);
28381
28381
  }
28382
- function Je() {
28382
+ function Ze() {
28383
28383
  wt.searchAnimations();
28384
28384
  }
28385
28385
  function Gt(c) {
@@ -28395,23 +28395,23 @@ var jl = { exports: {} };
28395
28395
  if (typeof c == "string")
28396
28396
  switch (c) {
28397
28397
  case "high":
28398
- vt(200);
28398
+ ht(200);
28399
28399
  break;
28400
28400
  default:
28401
28401
  case "medium":
28402
- vt(50);
28402
+ ht(50);
28403
28403
  break;
28404
28404
  case "low":
28405
- vt(10);
28405
+ ht(10);
28406
28406
  break;
28407
28407
  }
28408
- else !isNaN(c) && c > 1 && vt(c);
28408
+ else !isNaN(c) && c > 1 && ht(c);
28409
28409
  }
28410
28410
  function wi() {
28411
28411
  return typeof navigator < "u";
28412
28412
  }
28413
28413
  function jn(c, h) {
28414
- c === "expressions" && it(h);
28414
+ c === "expressions" && Je(h);
28415
28415
  }
28416
28416
  function Rs(c) {
28417
28417
  switch (c) {
@@ -28425,9 +28425,9 @@ var jl = { exports: {} };
28425
28425
  return null;
28426
28426
  }
28427
28427
  }
28428
- Me.play = wt.play, Me.pause = wt.pause, Me.setLocationHref = et, Me.togglePause = wt.togglePause, Me.setSpeed = wt.setSpeed, Me.setDirection = wt.setDirection, Me.stop = wt.stop, Me.searchAnimations = Je, Me.registerAnimation = wt.registerAnimation, Me.loadAnimation = bt, Me.setSubframeRendering = Gt, Me.resize = wt.resize, Me.goToAndStop = wt.goToAndStop, Me.destroy = wt.destroy, Me.setQuality = Cs, Me.inBrowser = wi, Me.installPlugin = jn, Me.freeze = wt.freeze, Me.unfreeze = wt.unfreeze, Me.setVolume = wt.setVolume, Me.mute = wt.mute, Me.unmute = wt.unmute, Me.getRegisteredAnimations = wt.getRegisteredAnimations, Me.useWebWorker = a, Me.setIDPrefix = St, Me.__getFactory = Rs, Me.version = "5.12.2";
28428
+ Me.play = wt.play, Me.pause = wt.pause, Me.setLocationHref = et, Me.togglePause = wt.togglePause, Me.setSpeed = wt.setSpeed, Me.setDirection = wt.setDirection, Me.stop = wt.stop, Me.searchAnimations = Ze, Me.registerAnimation = wt.registerAnimation, Me.loadAnimation = bt, Me.setSubframeRendering = Gt, Me.resize = wt.resize, Me.goToAndStop = wt.goToAndStop, Me.destroy = wt.destroy, Me.setQuality = Cs, Me.inBrowser = wi, Me.installPlugin = jn, Me.freeze = wt.freeze, Me.unfreeze = wt.unfreeze, Me.setVolume = wt.setVolume, Me.mute = wt.mute, Me.unmute = wt.unmute, Me.getRegisteredAnimations = wt.getRegisteredAnimations, Me.useWebWorker = a, Me.setIDPrefix = St, Me.__getFactory = Rs, Me.version = "5.12.2";
28429
28429
  function Zg() {
28430
- document.readyState === "complete" && (clearInterval(sm), Je());
28430
+ document.readyState === "complete" && (clearInterval(sm), Ze());
28431
28431
  }
28432
28432
  function em(c) {
28433
28433
  for (var h = Gc.split("&"), p = 0; p < h.length; p += 1) {
@@ -28478,7 +28478,7 @@ var jl = { exports: {} };
28478
28478
  this.shapes = [], this.elem = c, this.initDynamicPropertyContainer(c), this.initModifierProperties(c, h), this.frameId = n, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
28479
28479
  }, xs.prototype.processKeys = function() {
28480
28480
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
28481
- }, f([It], xs);
28481
+ }, f([kt], xs);
28482
28482
  function _s() {
28483
28483
  }
28484
28484
  f([xs], _s), _s.prototype.initModifierProperties = function(c, h) {
@@ -28716,7 +28716,7 @@ var jl = { exports: {} };
28716
28716
  getValue: p,
28717
28717
  precalculateMatrix: m,
28718
28718
  autoOrient: S
28719
- }, f([It], A), A.prototype.addDynamicProperty = x, A.prototype._addDynamicProperty = It.prototype.addDynamicProperty;
28719
+ }, f([kt], A), A.prototype.addDynamicProperty = x, A.prototype._addDynamicProperty = kt.prototype.addDynamicProperty;
28720
28720
  function D(L, B, V) {
28721
28721
  return new A(L, B, V);
28722
28722
  }
@@ -29263,8 +29263,8 @@ var jl = { exports: {} };
29263
29263
  for ($e = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < $e.length; Ke += 1)
29264
29264
  T[R].fPath === $e[Ke].src && (Ce = !1);
29265
29265
  if (Ce) {
29266
- var kt = d("link");
29267
- kt.setAttribute("f-forigin", T[R].fOrigin), kt.setAttribute("f-origin", T[R].origin), kt.setAttribute("rel", "stylesheet"), kt.setAttribute("href", T[R].fPath), z.appendChild(kt);
29266
+ var Pt = d("link");
29267
+ Pt.setAttribute("f-forigin", T[R].fOrigin), Pt.setAttribute("f-origin", T[R].origin), Pt.setAttribute("rel", "stylesheet"), Pt.setAttribute("href", T[R].fPath), z.appendChild(Pt);
29268
29268
  }
29269
29269
  }
29270
29270
  T[R].helper = K(T[R], z), T[R].cache = {}, this.fonts.push(T[R]);
@@ -29486,7 +29486,7 @@ var jl = { exports: {} };
29486
29486
  function nn(c, h) {
29487
29487
  this.init(c, h);
29488
29488
  }
29489
- f([It], nn), nn.prototype.getValue = nn.prototype.iterateDynamicProperties, nn.prototype.init = function(c, h) {
29489
+ f([kt], nn), nn.prototype.getValue = nn.prototype.iterateDynamicProperties, nn.prototype.init = function(c, h) {
29490
29490
  this.data = c, this.effectElements = [], this.initDynamicPropertyContainer(h);
29491
29491
  var p, m = this.data.ef.length, S, x = this.data.ef;
29492
29492
  for (p = 0; p < m; p += 1) {
@@ -30165,19 +30165,19 @@ var jl = { exports: {} };
30165
30165
  for (this.renderer === "svg" && (this.dashStr = ""), h = 0; h < p; h += 1)
30166
30166
  this.dataProps[h].n !== "o" ? this.renderer === "svg" ? this.dashStr += " " + this.dataProps[h].p.v : this.dashArray[h] = this.dataProps[h].p.v : this.dashoffset[0] = this.dataProps[h].p.v;
30167
30167
  }
30168
- }, f([It], Yn);
30168
+ }, f([kt], Yn);
30169
30169
  function hu(c, h, p) {
30170
30170
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.o = we.getProp(c, h.o, 0, 0.01, this), this.w = we.getProp(c, h.w, 0, null, this), this.d = new Yn(c, h.d || {}, "svg", this), this.c = we.getProp(c, h.c, 1, 255, this), this.style = p, this._isAnimated = !!this._isAnimated;
30171
30171
  }
30172
- f([It], hu);
30172
+ f([kt], hu);
30173
30173
  function du(c, h, p) {
30174
30174
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.o = we.getProp(c, h.o, 0, 0.01, this), this.c = we.getProp(c, h.c, 1, 255, this), this.style = p;
30175
30175
  }
30176
- f([It], du);
30176
+ f([kt], du);
30177
30177
  function fu(c, h, p) {
30178
30178
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.style = p;
30179
30179
  }
30180
- f([It], fu);
30180
+ f([kt], fu);
30181
30181
  function un(c, h, p) {
30182
30182
  this.data = h, this.c = y("uint8c", h.p * 4);
30183
30183
  var m = h.k.k[0].s ? h.k.k[0].s.length - h.p * 4 : h.k.k.length - h.p * 4;
@@ -30212,7 +30212,7 @@ var jl = { exports: {} };
30212
30212
  m = h % 2 === 0 ? 100 : 1, S = h % 2 === 0 ? Math.round(this.prop.v[h] * 100) : this.prop.v[h], this.o[h - this.data.p * 4] !== S && (this.o[h - this.data.p * 4] = S, this._omdf = !c);
30213
30213
  this._mdf = !c;
30214
30214
  }
30215
- }, f([It], un);
30215
+ }, f([kt], un);
30216
30216
  function Ar(c, h, p) {
30217
30217
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.initGradientData(c, h, p);
30218
30218
  }
@@ -30242,11 +30242,11 @@ var jl = { exports: {} };
30242
30242
  p = Ne("stop"), p.setAttribute("stop-color", "rgb(255,255,255)"), B.appendChild(p), V.push(p);
30243
30243
  A.setAttribute(c.ty === "gf" ? "fill" : "stroke", "url(" + u() + "#" + D + ")"), c.ty === "gs" && (A.setAttribute("stroke-linecap", ou[c.lc || 2]), A.setAttribute("stroke-linejoin", lu[c.lj || 2]), c.lj === 1 && A.setAttribute("stroke-miterlimit", c.ml)), this.of = B, this.ms = x, this.ost = V, this.maskId = L, h.msElem = A;
30244
30244
  }
30245
- }, f([It], Ar);
30245
+ }, f([kt], Ar);
30246
30246
  function pu(c, h, p) {
30247
30247
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.w = we.getProp(c, h.w, 0, null, this), this.d = new Yn(c, h.d || {}, "svg", this), this.initGradientData(c, h, p), this._isAnimated = !!this._isAnimated;
30248
30248
  }
30249
- f([Ar, It], pu);
30249
+ f([Ar, kt], pu);
30250
30250
  function Sm() {
30251
30251
  this.it = [], this.prevViewData = [], this.gr = Ne("g");
30252
30252
  }
@@ -30676,7 +30676,7 @@ var jl = { exports: {} };
30676
30676
  }
30677
30677
  this.finalS = B, this.finalE = V;
30678
30678
  }
30679
- }, f([It], m);
30679
+ }, f([kt], m);
30680
30680
  function S(x, A, D) {
30681
30681
  return new m(x, A);
30682
30682
  }
@@ -30748,7 +30748,7 @@ var jl = { exports: {} };
30748
30748
  ee = I.length, L = 0, B = 0;
30749
30749
  var Ie = c.finalSize * 1.2 * 0.714, ye = !0, M, z, T, R, ne;
30750
30750
  R = m.length;
30751
- var X, Ce = -1, $e, Ke, rt, nt = q, kt = _, ss = O, Gs = -1, is, Vt, hs, ht, ke, ui, ki, hi, Vs = "", di = this.defaultPropsArray, fi;
30751
+ var X, Ce = -1, $e, Ke, rt, nt = q, Pt = _, ss = O, Gs = -1, is, Vt, hs, dt, ke, ui, ki, hi, Vs = "", di = this.defaultPropsArray, fi;
30752
30752
  if (c.j === 2 || c.j === 1) {
30753
30753
  var rs = 0, Pi = 0, Di = c.j === 2 ? -0.5 : -1, Is = 0, Mi = !0;
30754
30754
  for (V = 0; V < ee; V += 1)
@@ -30766,7 +30766,7 @@ var jl = { exports: {} };
30766
30766
  }
30767
30767
  for (V = 0; V < ee; V += 1) {
30768
30768
  if (x.reset(), is = 1, I[V].n)
30769
- L = 0, B += c.yOffset, B += ye ? 1 : 0, q = nt, ye = !1, this._hasMaskedPath && (_ = kt, O = ss, $ = Y[_].points, P = $[O - 1], K = $[O], Z = K.partialLength, J = 0), Vs = "", hi = "", ui = "", fi = "", di = this.defaultPropsArray;
30769
+ L = 0, B += c.yOffset, B += ye ? 1 : 0, q = nt, ye = !1, this._hasMaskedPath && (_ = Pt, O = ss, $ = Y[_].points, P = $[O - 1], K = $[O], Z = K.partialLength, J = 0), Vs = "", hi = "", ui = "", fi = "", di = this.defaultPropsArray;
30770
30770
  else {
30771
30771
  if (this._hasMaskedPath) {
30772
30772
  if (Gs !== I[V].line) {
@@ -30791,7 +30791,7 @@ var jl = { exports: {} };
30791
30791
  $e = I[V].an / 2 - I[V].add, x.translate(-$e, 0, 0), x.translate(-p[0] * I[V].an * 5e-3, -p[1] * Ie * 0.01, 0);
30792
30792
  for (T = 0; T < R; T += 1)
30793
30793
  M = m[T].a, M.t.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), (L !== 0 || c.j !== 0) && (this._hasMaskedPath ? X.length ? q += M.t.v * X[0] : q += M.t.v * X : X.length ? L += M.t.v * X[0] : L += M.t.v * X));
30794
- for (c.strokeWidthAnim && (hs = c.sw || 0), c.strokeColorAnim && (c.sc ? Vt = [c.sc[0], c.sc[1], c.sc[2]] : Vt = [0, 0, 0]), c.fillColorAnim && c.fc && (ht = [c.fc[0], c.fc[1], c.fc[2]]), T = 0; T < R; T += 1)
30794
+ for (c.strokeWidthAnim && (hs = c.sw || 0), c.strokeColorAnim && (c.sc ? Vt = [c.sc[0], c.sc[1], c.sc[2]] : Vt = [0, 0, 0]), c.fillColorAnim && c.fc && (dt = [c.fc[0], c.fc[1], c.fc[2]]), T = 0; T < R; T += 1)
30795
30795
  M = m[T].a, M.a.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), X.length ? x.translate(-M.a.v[0] * X[0], -M.a.v[1] * X[1], M.a.v[2] * X[2]) : x.translate(-M.a.v[0] * X, -M.a.v[1] * X, M.a.v[2] * X));
30796
30796
  for (T = 0; T < R; T += 1)
30797
30797
  M = m[T].a, M.s.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), X.length ? x.scale(1 + (M.s.v[0] - 1) * X[0], 1 + (M.s.v[1] - 1) * X[1], 1) : x.scale(1 + (M.s.v[0] - 1) * X, 1 + (M.s.v[1] - 1) * X, 1));
@@ -30802,13 +30802,13 @@ var jl = { exports: {} };
30802
30802
  if (c.fillColorAnim && c.fc) {
30803
30803
  if (M.fc.propType)
30804
30804
  for (ke = 0; ke < 3; ke += 1)
30805
- X.length ? ht[ke] += (M.fc.v[ke] - ht[ke]) * X[0] : ht[ke] += (M.fc.v[ke] - ht[ke]) * X;
30806
- M.fh.propType && (X.length ? ht = Ye(ht, M.fh.v * X[0]) : ht = Ye(ht, M.fh.v * X)), M.fs.propType && (X.length ? ht = Ge(ht, M.fs.v * X[0]) : ht = Ge(ht, M.fs.v * X)), M.fb.propType && (X.length ? ht = Be(ht, M.fb.v * X[0]) : ht = Be(ht, M.fb.v * X));
30805
+ X.length ? dt[ke] += (M.fc.v[ke] - dt[ke]) * X[0] : dt[ke] += (M.fc.v[ke] - dt[ke]) * X;
30806
+ M.fh.propType && (X.length ? dt = Qe(dt, M.fh.v * X[0]) : dt = Qe(dt, M.fh.v * X)), M.fs.propType && (X.length ? dt = Ge(dt, M.fs.v * X[0]) : dt = Ge(dt, M.fs.v * X)), M.fb.propType && (X.length ? dt = Be(dt, M.fb.v * X[0]) : dt = Be(dt, M.fb.v * X));
30807
30807
  }
30808
30808
  }
30809
30809
  for (T = 0; T < R; T += 1)
30810
30810
  M = m[T].a, M.p.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), this._hasMaskedPath ? X.length ? x.translate(0, M.p.v[1] * X[0], -M.p.v[2] * X[1]) : x.translate(0, M.p.v[1] * X, -M.p.v[2] * X) : X.length ? x.translate(M.p.v[0] * X[0], M.p.v[1] * X[1], -M.p.v[2] * X[2]) : x.translate(M.p.v[0] * X, M.p.v[1] * X, -M.p.v[2] * X));
30811
- if (c.strokeWidthAnim && (ui = hs < 0 ? 0 : hs), c.strokeColorAnim && (ki = "rgb(" + Math.round(Vt[0] * 255) + "," + Math.round(Vt[1] * 255) + "," + Math.round(Vt[2] * 255) + ")"), c.fillColorAnim && c.fc && (hi = "rgb(" + Math.round(ht[0] * 255) + "," + Math.round(ht[1] * 255) + "," + Math.round(ht[2] * 255) + ")"), this._hasMaskedPath) {
30811
+ if (c.strokeWidthAnim && (ui = hs < 0 ? 0 : hs), c.strokeColorAnim && (ki = "rgb(" + Math.round(Vt[0] * 255) + "," + Math.round(Vt[1] * 255) + "," + Math.round(Vt[2] * 255) + ")"), c.fillColorAnim && c.fc && (hi = "rgb(" + Math.round(dt[0] * 255) + "," + Math.round(dt[1] * 255) + "," + Math.round(dt[2] * 255) + ")"), this._hasMaskedPath) {
30812
30812
  if (x.translate(0, -c.ls), x.translate(0, p[1] * Ie * 0.01 + B, 0), this._pathData.p.v) {
30813
30813
  je = (K.point[1] - P.point[1]) / (K.point[0] - P.point[0]);
30814
30814
  var Qi = Math.atan(je) * 180 / Math.PI;
@@ -30833,7 +30833,7 @@ var jl = { exports: {} };
30833
30833
  }
30834
30834
  }, Xi.prototype.getValue = function() {
30835
30835
  this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
30836
- }, Xi.prototype.mHelper = new _e(), Xi.prototype.defaultPropsArray = [], f([It], Xi);
30836
+ }, Xi.prototype.mHelper = new _e(), Xi.prototype.defaultPropsArray = [], f([kt], Xi);
30837
30837
  function Ss() {
30838
30838
  }
30839
30839
  Ss.prototype.initElement = function(c, h, p) {
@@ -31047,7 +31047,7 @@ var jl = { exports: {} };
31047
31047
  if (!(h[c] || this.layers[c].ty === 99)) {
31048
31048
  h[c] = !0;
31049
31049
  var p = this.createItem(this.layers[c]);
31050
- if (h[c] = p, Qe() && (this.layers[c].ty === 0 && this.globalData.projectInterface.registerComposition(p), p.initExpressions()), this.appendElementInPos(p, c), this.layers[c].tt) {
31050
+ if (h[c] = p, Ye() && (this.layers[c].ty === 0 && this.globalData.projectInterface.registerComposition(p), p.initExpressions()), this.appendElementInPos(p, c), this.layers[c].tt) {
31051
31051
  var m = "tp" in this.layers[c] ? this.findIndexByInd(this.layers[c].tp) : c - 1;
31052
31052
  if (m === -1)
31053
31053
  return;
@@ -32172,24 +32172,26 @@ const zC = zr(
32172
32172
  onDestroy: b
32173
32173
  }), ve = I1({
32174
32174
  onClick: N,
32175
- onDoubleClick: (Ze) => {
32175
+ onDoubleClick: (Je) => {
32176
32176
  if (g || se) return;
32177
- const it = Ze.target.getBoundingClientRect(), Qe = it.left + it.width / 2;
32178
- Ze.clientX < Qe ? (ue(), Q("left")) : (he(), Q("right"));
32177
+ const Ye = Je.target.getBoundingClientRect(), ht = Ye.left + Ye.width / 2;
32178
+ Je.clientX < ht ? (ue(), Q("left")) : (he(), Q("right"));
32179
32179
  }
32180
- }), Ge = (Ze, it) => {
32181
- if (Ze.stopPropagation(), !le.current) return;
32182
- const Qe = it * ((o ?? le.current.duration) - (a ?? 0)) / 100;
32183
- Ae(Qe);
32180
+ }), Ge = (Je, Ye) => {
32181
+ if (Je.stopPropagation(), !le.current) return;
32182
+ const ht = Ye * ((o ?? le.current.duration) - (a ?? 0)) / 100;
32183
+ Ae(ht);
32184
32184
  }, Be = () => {
32185
32185
  j();
32186
- }, Ye = (Ze) => (it) => {
32187
- it.stopPropagation(), Ze();
32186
+ }, Qe = (Je) => {
32187
+ Je.key === "Enter" && ve();
32188
+ }, tt = (Je) => (Ye) => {
32189
+ Ye.stopPropagation(), Je();
32188
32190
  };
32189
32191
  zt(() => {
32190
32192
  y == null || y(U);
32191
32193
  }, [U, y]);
32192
- const tt = !(g || se);
32194
+ const it = !(g || se);
32193
32195
  return /* @__PURE__ */ Oe.jsxs("div", { ref: k, className: `${Tt.root} ${F || ""}`, children: [
32194
32196
  /* @__PURE__ */ Oe.jsx(
32195
32197
  "video",
@@ -32215,6 +32217,10 @@ const zC = zr(
32215
32217
  {
32216
32218
  className: `${Tt.layer} ${t ? Tt.shadow : ""}`,
32217
32219
  onClick: ve,
32220
+ onKeyDown: Qe,
32221
+ tabIndex: 0,
32222
+ "aria-label": "비디오 플레이어 컨트롤",
32223
+ "aria-pressed": U,
32218
32224
  children: [
32219
32225
  re && /* @__PURE__ */ Oe.jsx(
32220
32226
  "div",
@@ -32224,7 +32230,7 @@ const zC = zr(
32224
32230
  }
32225
32231
  ),
32226
32232
  s && U && /* @__PURE__ */ Oe.jsxs(Oe.Fragment, { children: [
32227
- tt && /* @__PURE__ */ Oe.jsx(
32233
+ it && /* @__PURE__ */ Oe.jsx(
32228
32234
  $g,
32229
32235
  {
32230
32236
  handle: !0,
@@ -32233,7 +32239,7 @@ const zC = zr(
32233
32239
  onChangeProgress: Ge
32234
32240
  }
32235
32241
  ),
32236
- tt && /* @__PURE__ */ Oe.jsx(
32242
+ it && /* @__PURE__ */ Oe.jsx(
32237
32243
  wC,
32238
32244
  {
32239
32245
  className: Tt.time,
@@ -32241,11 +32247,11 @@ const zC = zr(
32241
32247
  durationTime: fe.durationTime
32242
32248
  }
32243
32249
  ),
32244
- tt && /* @__PURE__ */ Oe.jsxs(
32250
+ it && /* @__PURE__ */ Oe.jsxs(
32245
32251
  "button",
32246
32252
  {
32247
32253
  className: `${Tt.button} ${Tt.playbackrate}`,
32248
- onClick: Ye(ge),
32254
+ onClick: tt(ge),
32249
32255
  "aria-label": "비디오 배속",
32250
32256
  children: [
32251
32257
  Ee,
@@ -32257,48 +32263,48 @@ const zC = zr(
32257
32263
  "button",
32258
32264
  {
32259
32265
  className: `${Tt.button} ${Tt.play_toggle}`,
32260
- onClick: Ye(Te),
32266
+ onClick: tt(Te),
32261
32267
  "aria-label": "비디오 재생",
32262
32268
  "aria-pressed": de,
32263
32269
  children: /* @__PURE__ */ Oe.jsx(zo, { name: de ? "pause" : "play" })
32264
32270
  }
32265
32271
  ),
32266
- tt && /* @__PURE__ */ Oe.jsx(
32272
+ it && /* @__PURE__ */ Oe.jsx(
32267
32273
  "button",
32268
32274
  {
32269
32275
  className: `${Tt.button} ${Tt.backward}`,
32270
- onClick: Ye(ue),
32276
+ onClick: tt(ue),
32271
32277
  "aria-label": "비디오 10초 뒤로",
32272
32278
  children: /* @__PURE__ */ Oe.jsx(zo, { name: "backward" })
32273
32279
  }
32274
32280
  ),
32275
- tt && /* @__PURE__ */ Oe.jsx(
32281
+ it && /* @__PURE__ */ Oe.jsx(
32276
32282
  "button",
32277
32283
  {
32278
32284
  className: `${Tt.button} ${Tt.forward}`,
32279
- onClick: Ye(he),
32285
+ onClick: tt(he),
32280
32286
  "aria-label": "비디오 10초 앞으로",
32281
32287
  children: /* @__PURE__ */ Oe.jsx(zo, { name: "forward" })
32282
32288
  }
32283
32289
  ),
32284
- !!u && tt && /* @__PURE__ */ Oe.jsx(
32290
+ !!u && it && /* @__PURE__ */ Oe.jsx(
32285
32291
  "button",
32286
32292
  {
32287
32293
  className: `${Tt.button} ${Tt.chapter_toggle}`,
32288
32294
  "aria-label": "비디오 챕터",
32289
- onClick: Ye(Be),
32295
+ onClick: tt(Be),
32290
32296
  children: Wt.t("chapter")
32291
32297
  }
32292
32298
  ),
32293
- !!u && te && /* @__PURE__ */ Oe.jsx("div", { className: Tt.chapter_wrap, children: u == null ? void 0 : u.map((Ze) => /* @__PURE__ */ Oe.jsx(
32299
+ !!u && te && /* @__PURE__ */ Oe.jsx("div", { className: Tt.chapter_wrap, children: u == null ? void 0 : u.map((Je) => /* @__PURE__ */ Oe.jsx(
32294
32300
  KC,
32295
32301
  {
32296
- ...Ze,
32297
- onClick: Ye(
32298
- () => Ae(TC(Ze.time))
32302
+ ...Je,
32303
+ onClick: tt(
32304
+ () => Ae(TC(Je.time))
32299
32305
  )
32300
32306
  },
32301
- Ze.id
32307
+ Je.id
32302
32308
  )) })
32303
32309
  ] }),
32304
32310
  U && (v == null ? void 0 : v({
@@ -32837,9 +32843,9 @@ function hR() {
32837
32843
  else {
32838
32844
  const {
32839
32845
  clientWidth: Be,
32840
- offsetWidth: Ye
32846
+ offsetWidth: Qe
32841
32847
  } = fe;
32842
- Q = ue + he + Te + ge + ve + (Ye - Be);
32848
+ Q = ue + he + Te + ge + ve + (Qe - Be);
32843
32849
  }
32844
32850
  }
32845
32851
  Ee && (fe.style.transform = Ee), Ae && (fe.style.webkitTransform = Ae), s.roundLengths && (Q = Math.floor(Q));
@@ -34677,7 +34683,7 @@ function Xg(i) {
34677
34683
  }
34678
34684
  function Qg(i) {
34679
34685
  const e = [];
34680
- return pt.Children.toArray(i).forEach((t) => {
34686
+ return gt.Children.toArray(i).forEach((t) => {
34681
34687
  Xg(t) ? e.push(t) : t.props && t.props.children && Qg(t.props.children).forEach((s) => e.push(s));
34682
34688
  }), e;
34683
34689
  }
@@ -34688,7 +34694,7 @@ function x_(i) {
34688
34694
  "wrapper-start": [],
34689
34695
  "wrapper-end": []
34690
34696
  };
34691
- return pt.Children.toArray(i).forEach((s) => {
34697
+ return gt.Children.toArray(i).forEach((s) => {
34692
34698
  if (Xg(s))
34693
34699
  e.push(s);
34694
34700
  else if (s.props && s.props.slot && t[s.props.slot])
@@ -34718,7 +34724,7 @@ function S_(i, e, t) {
34718
34724
  } = t, o = i.params.loop ? -e.length : 0, l = i.params.loop ? e.length * 2 : e.length, u = [];
34719
34725
  for (let d = o; d < l; d += 1)
34720
34726
  d >= n && d <= a && u.push(e[s(d)]);
34721
- return u.map((d, f) => /* @__PURE__ */ pt.cloneElement(d, {
34727
+ return u.map((d, f) => /* @__PURE__ */ gt.cloneElement(d, {
34722
34728
  swiper: i,
34723
34729
  style: r,
34724
34730
  key: `slide-${f}`
@@ -34813,28 +34819,28 @@ const Xd = /* @__PURE__ */ io(null), E_ = /* @__PURE__ */ io(null), b_ = /* @__P
34813
34819
  y_(w.current);
34814
34820
  }, [f]);
34815
34821
  function Te() {
34816
- return re.virtual ? S_(w.current, fe, f) : fe.map((ge, ve) => /* @__PURE__ */ pt.cloneElement(ge, {
34822
+ return re.virtual ? S_(w.current, fe, f) : fe.map((ge, ve) => /* @__PURE__ */ gt.cloneElement(ge, {
34817
34823
  swiper: w.current,
34818
34824
  swiperSlideIndex: ve
34819
34825
  }));
34820
34826
  }
34821
- return /* @__PURE__ */ pt.createElement(s, to({
34827
+ return /* @__PURE__ */ gt.createElement(s, to({
34822
34828
  ref: b,
34823
34829
  className: Yg(`${u}${t ? ` ${t}` : ""}`)
34824
- }, le), /* @__PURE__ */ pt.createElement(E_.Provider, {
34830
+ }, le), /* @__PURE__ */ gt.createElement(E_.Provider, {
34825
34831
  value: w.current
34826
- }, de["container-start"], /* @__PURE__ */ pt.createElement(r, {
34832
+ }, de["container-start"], /* @__PURE__ */ gt.createElement(r, {
34827
34833
  className: f_(re.wrapperClass)
34828
- }, de["wrapper-start"], Te(), de["wrapper-end"]), zg(re) && /* @__PURE__ */ pt.createElement(pt.Fragment, null, /* @__PURE__ */ pt.createElement("div", {
34834
+ }, de["wrapper-start"], Te(), de["wrapper-end"]), zg(re) && /* @__PURE__ */ gt.createElement(gt.Fragment, null, /* @__PURE__ */ gt.createElement("div", {
34829
34835
  ref: N,
34830
34836
  className: "swiper-button-prev"
34831
- }), /* @__PURE__ */ pt.createElement("div", {
34837
+ }), /* @__PURE__ */ gt.createElement("div", {
34832
34838
  ref: U,
34833
34839
  className: "swiper-button-next"
34834
- })), qg(re) && /* @__PURE__ */ pt.createElement("div", {
34840
+ })), qg(re) && /* @__PURE__ */ gt.createElement("div", {
34835
34841
  ref: j,
34836
34842
  className: "swiper-scrollbar"
34837
- }), Wg(re) && /* @__PURE__ */ pt.createElement("div", {
34843
+ }), Wg(re) && /* @__PURE__ */ gt.createElement("div", {
34838
34844
  ref: te,
34839
34845
  className: "swiper-pagination"
34840
34846
  }), de["container-end"]));
@@ -34877,21 +34883,21 @@ const T_ = /* @__PURE__ */ zr(function(i, e) {
34877
34883
  }, F = () => typeof s == "function" ? s(w) : s, k = () => {
34878
34884
  E(!0);
34879
34885
  };
34880
- return /* @__PURE__ */ pt.createElement(t, to({
34886
+ return /* @__PURE__ */ gt.createElement(t, to({
34881
34887
  ref: f,
34882
34888
  className: Yg(`${g}${r ? ` ${r}` : ""}`),
34883
34889
  "data-swiper-slide-index": l,
34884
34890
  onLoad: k
34885
- }, d), a && /* @__PURE__ */ pt.createElement(Xd.Provider, {
34891
+ }, d), a && /* @__PURE__ */ gt.createElement(Xd.Provider, {
34886
34892
  value: w
34887
- }, /* @__PURE__ */ pt.createElement("div", {
34893
+ }, /* @__PURE__ */ gt.createElement("div", {
34888
34894
  className: "swiper-zoom-container",
34889
34895
  "data-swiper-zoom": typeof a == "number" ? a : void 0
34890
- }, F(), o && !y && /* @__PURE__ */ pt.createElement("div", {
34896
+ }, F(), o && !y && /* @__PURE__ */ gt.createElement("div", {
34891
34897
  className: "swiper-lazy-preloader"
34892
- }))), !a && /* @__PURE__ */ pt.createElement(Xd.Provider, {
34898
+ }))), !a && /* @__PURE__ */ gt.createElement(Xd.Provider, {
34893
34899
  value: w
34894
- }, F(), o && !y && /* @__PURE__ */ pt.createElement("div", {
34900
+ }, F(), o && !y && /* @__PURE__ */ gt.createElement("div", {
34895
34901
  className: "swiper-lazy-preloader"
34896
34902
  })));
34897
34903
  });
@@ -35147,14 +35153,17 @@ const Jg = {
35147
35153
  const [t, s] = yt(null), [r, n] = yt(null);
35148
35154
  return zt(() => {
35149
35155
  if (e) return;
35150
- (async () => {
35156
+ let a = !0;
35157
+ return (async () => {
35151
35158
  try {
35152
- const o = await i();
35153
- s(o), n(null);
35154
- } catch (o) {
35155
- s(null), n(o.message);
35159
+ const l = await i();
35160
+ a && (s(l), n(null));
35161
+ } catch (l) {
35162
+ a && (s(null), n(l.message));
35156
35163
  }
35157
- })();
35164
+ })(), () => {
35165
+ a = !1;
35166
+ };
35158
35167
  }, [i, e]), { data: t, error: r };
35159
35168
  };
35160
35169
  function q_({
@@ -35227,12 +35236,16 @@ function q_({
35227
35236
  f.removeEventListener("loadedmetadata", ve), f.removeEventListener("timeupdate", he), f.removeEventListener("play", Te), f.removeEventListener("pause", ge);
35228
35237
  };
35229
35238
  }, [f, Ee]), zt(() => {
35230
- f && (U.current && clearTimeout(U.current), j && l && (U.current = setTimeout(() => {
35231
- f.play();
35239
+ if (!f) return;
35240
+ let he = !0;
35241
+ return U.current && clearTimeout(U.current), j && l && (U.current = setTimeout(() => {
35242
+ he && f.play();
35232
35243
  }, 300)), j || (U.current = setTimeout(() => {
35233
- f.pause();
35234
- }, 700)));
35235
- }, [j, f]), zt(() => {
35244
+ he && f.pause();
35245
+ }, 700)), () => {
35246
+ he = !1, U.current && clearTimeout(U.current);
35247
+ };
35248
+ }, [j, f, l]), zt(() => {
35236
35249
  !t || !N || !i || !Ee || (Ee.setType(e), Ee.setId(i), Ee.setUser(N.userId, N.role), Ee.stop());
35237
35250
  }, [Ee]), (k == null ? void 0 : k.status) === "standby" || (k == null ? void 0 : k.status) === "converting" ? /* @__PURE__ */ Oe.jsx("div", { className: Hs.root, children: /* @__PURE__ */ Oe.jsx(
35238
35251
  "div",
@@ -35301,4 +35314,4 @@ export {
35301
35314
  Fv as t,
35302
35315
  _v as w
35303
35316
  };
35304
- //# sourceMappingURL=Bf1fTf3c.es.js.map
35317
+ //# sourceMappingURL=BRBbmrI4.es.js.map