@connorpham/live-chat-widget 9.0.0 → 10.0.0

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,21 +1,21 @@
1
- var s0 = Object.defineProperty;
2
- var F0 = (u, D, f) => D in u ? s0(u, D, { enumerable: !0, configurable: !0, writable: !0, value: f }) : u[D] = f;
3
- var cD = (u, D, f) => F0(u, typeof D != "symbol" ? D + "" : D, f);
4
- import rf, { createContext as Mu, useRef as bu, useEffect as G, useContext as Wu, useState as U, useCallback as Uu, useMemo as i0 } from "react";
1
+ var F0 = Object.defineProperty;
2
+ var i0 = (u, D, f) => D in u ? F0(u, D, { enumerable: !0, configurable: !0, writable: !0, value: f }) : u[D] = f;
3
+ var cD = (u, D, f) => i0(u, typeof D != "symbol" ? D + "" : D, f);
4
+ import af, { createContext as Mu, useRef as bu, useEffect as G, useContext as Wu, useState as U, useCallback as Uu, useMemo as o0 } from "react";
5
5
  var oD = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function af(u) {
6
+ function sf(u) {
7
7
  return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
8
8
  }
9
- var VD = { exports: {} }, DD = {};
9
+ var HD = { exports: {} }, DD = {};
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
14
  */
15
- var RD, jf;
16
- function Yf() {
17
- if (jf) return RD;
18
- jf = 1;
15
+ var RD, Tf;
16
+ function Kf() {
17
+ if (Tf) return RD;
18
+ Tf = 1;
19
19
  var u = Object.getOwnPropertySymbols, D = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
20
20
  function e(n) {
21
21
  if (n == null)
@@ -66,11 +66,11 @@ function Yf() {
66
66
  * This source code is licensed under the MIT license found in the
67
67
  * LICENSE file in the root directory of this source tree.
68
68
  */
69
- var Tf;
70
- function o0() {
71
- if (Tf) return DD;
72
- Tf = 1, Yf();
73
- var u = rf, D = 60103;
69
+ var Nf;
70
+ function d0() {
71
+ if (Nf) return DD;
72
+ Nf = 1, Kf();
73
+ var u = af, D = 60103;
74
74
  if (DD.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
75
75
  var f = Symbol.for;
76
76
  D = f("react.element"), DD.Fragment = f("react.fragment");
@@ -85,9 +85,9 @@ function o0() {
85
85
  }
86
86
  return DD.jsx = r, DD.jsxs = r, DD;
87
87
  }
88
- var PD = {}, Nf;
89
- function d0() {
90
- return Nf || (Nf = 1, function(u) {
88
+ var PD = {}, Of;
89
+ function C0() {
90
+ return Of || (Of = 1, function(u) {
91
91
  var D = {};
92
92
  /** @license React v17.0.2
93
93
  * react-jsx-runtime.development.js
@@ -98,7 +98,7 @@ function d0() {
98
98
  * LICENSE file in the root directory of this source tree.
99
99
  */
100
100
  D.NODE_ENV !== "production" && function() {
101
- var f = rf, e = Yf(), t = 60103, n = 60106;
101
+ var f = af, e = Kf(), t = 60103, n = 60106;
102
102
  u.Fragment = 60107;
103
103
  var r = 60108, s = 60114, F = 60109, d = 60110, o = 60112, c = 60113, l = 60120, A = 60115, C = 60116, m = 60121, j = 60122, L = 60117, x = 60129, I = 60131;
104
104
  if (typeof Symbol == "function" && Symbol.for) {
@@ -336,8 +336,8 @@ function d0() {
336
336
  } finally {
337
337
  ru = !1, cu.current = K, tu(), Error.prepareStackTrace = Z;
338
338
  }
339
- var uD = i ? i.displayName || i.name : "", Sf = uD ? Bu(uD) : "";
340
- return typeof i == "function" && du.set(i, Sf), Sf;
339
+ var uD = i ? i.displayName || i.name : "", jf = uD ? Bu(uD) : "";
340
+ return typeof i == "function" && du.set(i, jf), jf;
341
341
  }
342
342
  function S(i, h, w) {
343
343
  return Iu(i, !1);
@@ -385,7 +385,7 @@ function d0() {
385
385
  } else
386
386
  gu.setExtraStackFrame(null);
387
387
  }
388
- function H1(i, h, w, M, Z) {
388
+ function W1(i, h, w, M, Z) {
389
389
  {
390
390
  var K = Function.call.bind(Object.prototype.hasOwnProperty);
391
391
  for (var Y in i)
@@ -404,13 +404,13 @@ function d0() {
404
404
  }
405
405
  }
406
406
  }
407
- var gf = v.ReactCurrentOwner, jD = Object.prototype.hasOwnProperty, W1 = {
407
+ var mf = v.ReactCurrentOwner, jD = Object.prototype.hasOwnProperty, Y1 = {
408
408
  key: !0,
409
409
  ref: !0,
410
410
  __self: !0,
411
411
  __source: !0
412
- }, mf, _f;
413
- function Y1(i) {
412
+ }, _f, yf;
413
+ function J1(i) {
414
414
  if (jD.call(i, "ref")) {
415
415
  var h = Object.getOwnPropertyDescriptor(i, "ref").get;
416
416
  if (h && h.isReactWarning)
@@ -418,7 +418,7 @@ function d0() {
418
418
  }
419
419
  return i.ref !== void 0;
420
420
  }
421
- function J1(i) {
421
+ function K1(i) {
422
422
  if (jD.call(i, "key")) {
423
423
  var h = Object.getOwnPropertyDescriptor(i, "key").get;
424
424
  if (h && h.isReactWarning)
@@ -426,13 +426,13 @@ function d0() {
426
426
  }
427
427
  return i.key !== void 0;
428
428
  }
429
- function K1(i, h) {
430
- typeof i.ref == "string" && gf.current;
431
- }
432
429
  function G1(i, h) {
430
+ typeof i.ref == "string" && mf.current;
431
+ }
432
+ function X1(i, h) {
433
433
  {
434
434
  var w = function() {
435
- mf || (mf = !0, q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
435
+ _f || (_f = !0, q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
436
436
  };
437
437
  w.isReactWarning = !0, Object.defineProperty(i, "key", {
438
438
  get: w,
@@ -440,10 +440,10 @@ function d0() {
440
440
  });
441
441
  }
442
442
  }
443
- function X1(i, h) {
443
+ function Z1(i, h) {
444
444
  {
445
445
  var w = function() {
446
- _f || (_f = !0, q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
446
+ yf || (yf = !0, q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
447
447
  };
448
448
  w.isReactWarning = !0, Object.defineProperty(i, "ref", {
449
449
  get: w,
@@ -451,7 +451,7 @@ function d0() {
451
451
  });
452
452
  }
453
453
  }
454
- var Z1 = function(i, h, w, M, Z, K, Y) {
454
+ var Q1 = function(i, h, w, M, Z, K, Y) {
455
455
  var V = {
456
456
  // This tag allows us to uniquely identify this as a React Element
457
457
  $$typeof: t,
@@ -480,12 +480,12 @@ function d0() {
480
480
  value: Z
481
481
  }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
482
482
  };
483
- function Q1(i, h, w, M, Z) {
483
+ function u0(i, h, w, M, Z) {
484
484
  {
485
485
  var K, Y = {}, V = null, hu = null;
486
- w !== void 0 && (V = "" + w), J1(h) && (V = "" + h.key), Y1(h) && (hu = h.ref, K1(h, Z));
486
+ w !== void 0 && (V = "" + w), K1(h) && (V = "" + h.key), J1(h) && (hu = h.ref, G1(h, Z));
487
487
  for (K in h)
488
- jD.call(h, K) && !W1.hasOwnProperty(K) && (Y[K] = h[K]);
488
+ jD.call(h, K) && !Y1.hasOwnProperty(K) && (Y[K] = h[K]);
489
489
  if (i && i.defaultProps) {
490
490
  var nu = i.defaultProps;
491
491
  for (K in nu)
@@ -493,25 +493,25 @@ function d0() {
493
493
  }
494
494
  if (V || hu) {
495
495
  var su = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
496
- V && G1(Y, su), hu && X1(Y, su);
496
+ V && X1(Y, su), hu && Z1(Y, su);
497
497
  }
498
- return Z1(i, V, hu, Z, M, gf.current, Y);
498
+ return Q1(i, V, hu, Z, M, mf.current, Y);
499
499
  }
500
500
  }
501
- var TD = v.ReactCurrentOwner, yf = v.ReactDebugCurrentFrame;
501
+ var TD = v.ReactCurrentOwner, vf = v.ReactDebugCurrentFrame;
502
502
  function Qu(i) {
503
503
  if (i) {
504
504
  var h = i._owner, w = au(i.type, i._source, h ? h.type : null);
505
- yf.setExtraStackFrame(w);
505
+ vf.setExtraStackFrame(w);
506
506
  } else
507
- yf.setExtraStackFrame(null);
507
+ vf.setExtraStackFrame(null);
508
508
  }
509
509
  var ND;
510
510
  ND = !1;
511
511
  function OD(i) {
512
512
  return typeof i == "object" && i !== null && i.$$typeof === t;
513
513
  }
514
- function vf() {
514
+ function wf() {
515
515
  {
516
516
  if (TD.current) {
517
517
  var i = E(TD.current.type);
@@ -523,13 +523,13 @@ Check the render method of \`` + i + "`.";
523
523
  return "";
524
524
  }
525
525
  }
526
- function u0(i) {
526
+ function D0(i) {
527
527
  return "";
528
528
  }
529
- var wf = {};
530
- function D0(i) {
529
+ var Af = {};
530
+ function f0(i) {
531
531
  {
532
- var h = vf();
532
+ var h = wf();
533
533
  if (!h) {
534
534
  var w = typeof i == "string" ? i : i.displayName || i.name;
535
535
  w && (h = `
@@ -539,27 +539,27 @@ Check the top-level render call using <` + w + ">.");
539
539
  return h;
540
540
  }
541
541
  }
542
- function Af(i, h) {
542
+ function xf(i, h) {
543
543
  {
544
544
  if (!i._store || i._store.validated || i.key != null)
545
545
  return;
546
546
  i._store.validated = !0;
547
- var w = D0(h);
548
- if (wf[w])
547
+ var w = f0(h);
548
+ if (Af[w])
549
549
  return;
550
- wf[w] = !0;
550
+ Af[w] = !0;
551
551
  var M = "";
552
552
  i && i._owner && i._owner !== TD.current && (M = " It was passed a child from " + E(i._owner.type) + "."), Qu(i), q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, M), Qu(null);
553
553
  }
554
554
  }
555
- function xf(i, h) {
555
+ function kf(i, h) {
556
556
  {
557
557
  if (typeof i != "object")
558
558
  return;
559
559
  if (Array.isArray(i))
560
560
  for (var w = 0; w < i.length; w++) {
561
561
  var M = i[w];
562
- OD(M) && Af(M, h);
562
+ OD(M) && xf(M, h);
563
563
  }
564
564
  else if (OD(i))
565
565
  i._store && (i._store.validated = !0);
@@ -567,11 +567,11 @@ Check the top-level render call using <` + w + ">.");
567
567
  var Z = y(i);
568
568
  if (typeof Z == "function" && Z !== i.entries)
569
569
  for (var K = Z.call(i), Y; !(Y = K.next()).done; )
570
- OD(Y.value) && Af(Y.value, h);
570
+ OD(Y.value) && xf(Y.value, h);
571
571
  }
572
572
  }
573
573
  }
574
- function f0(i) {
574
+ function e0(i) {
575
575
  {
576
576
  var h = i.type;
577
577
  if (h == null || typeof h == "string")
@@ -587,7 +587,7 @@ Check the top-level render call using <` + w + ">.");
587
587
  return;
588
588
  if (w) {
589
589
  var M = E(h);
590
- H1(w, i.props, "prop", M, i);
590
+ W1(w, i.props, "prop", M, i);
591
591
  } else if (h.PropTypes !== void 0 && !ND) {
592
592
  ND = !0;
593
593
  var Z = E(h);
@@ -596,7 +596,7 @@ Check the top-level render call using <` + w + ">.");
596
596
  typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
597
  }
598
598
  }
599
- function e0(i) {
599
+ function t0(i) {
600
600
  {
601
601
  for (var h = Object.keys(i.props), w = 0; w < h.length; w++) {
602
602
  var M = h[w];
@@ -608,18 +608,18 @@ Check the top-level render call using <` + w + ">.");
608
608
  i.ref !== null && (Qu(i), q("Invalid attribute `ref` supplied to `React.Fragment`."), Qu(null));
609
609
  }
610
610
  }
611
- function kf(i, h, w, M, Z, K) {
611
+ function Sf(i, h, w, M, Z, K) {
612
612
  {
613
613
  var Y = $(i);
614
614
  if (!Y) {
615
615
  var V = "";
616
616
  (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
617
- var hu = u0();
618
- hu ? V += hu : V += vf();
617
+ var hu = D0();
618
+ hu ? V += hu : V += wf();
619
619
  var nu;
620
620
  i === null ? nu = "null" : Array.isArray(i) ? nu = "array" : i !== void 0 && i.$$typeof === t ? (nu = "<" + (E(i.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : nu = typeof i, q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nu, V);
621
621
  }
622
- var su = Q1(i, h, w, Z, K);
622
+ var su = u0(i, h, w, Z, K);
623
623
  if (su == null)
624
624
  return su;
625
625
  if (Y) {
@@ -628,31 +628,31 @@ Check the top-level render call using <` + w + ">.");
628
628
  if (M)
629
629
  if (Array.isArray(Lu)) {
630
630
  for (var uD = 0; uD < Lu.length; uD++)
631
- xf(Lu[uD], i);
631
+ kf(Lu[uD], i);
632
632
  Object.freeze && Object.freeze(Lu);
633
633
  } else
634
634
  q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
635
635
  else
636
- xf(Lu, i);
636
+ kf(Lu, i);
637
637
  }
638
- return i === u.Fragment ? e0(su) : f0(su), su;
638
+ return i === u.Fragment ? t0(su) : e0(su), su;
639
639
  }
640
640
  }
641
- function t0(i, h, w) {
642
- return kf(i, h, w, !0);
643
- }
644
641
  function n0(i, h, w) {
645
- return kf(i, h, w, !1);
642
+ return Sf(i, h, w, !0);
643
+ }
644
+ function r0(i, h, w) {
645
+ return Sf(i, h, w, !1);
646
646
  }
647
- var r0 = n0, a0 = t0;
648
- u.jsx = r0, u.jsxs = a0;
647
+ var a0 = r0, s0 = n0;
648
+ u.jsx = a0, u.jsxs = s0;
649
649
  }();
650
650
  }(PD)), PD;
651
651
  }
652
- var C0 = {};
653
- C0.NODE_ENV === "production" ? VD.exports = o0() : VD.exports = d0();
654
- var a = VD.exports;
655
- const Jf = Mu(void 0), Kf = ({
652
+ var c0 = {};
653
+ c0.NODE_ENV === "production" ? HD.exports = d0() : HD.exports = C0();
654
+ var a = HD.exports;
655
+ const Gf = Mu(void 0), Xf = ({
656
656
  children: u,
657
657
  channelName: D
658
658
  }) => {
@@ -677,7 +677,7 @@ const Jf = Mu(void 0), Kf = ({
677
677
  f.current.postMessage(r);
678
678
  };
679
679
  return /* @__PURE__ */ a.jsx(
680
- Jf.Provider,
680
+ Gf.Provider,
681
681
  {
682
682
  value: {
683
683
  subscribe: t,
@@ -686,50 +686,50 @@ const Jf = Mu(void 0), Kf = ({
686
686
  children: u
687
687
  }
688
688
  );
689
- }, c0 = () => {
690
- const u = Wu(Jf);
689
+ }, l0 = () => {
690
+ const u = Wu(Gf);
691
691
  if (!u)
692
692
  throw new Error(
693
693
  "useBroadcastChannel must be used within a BroadcastChannelProvider"
694
694
  );
695
695
  return u;
696
- }, l0 = (...u) => {
697
- const { subscribe: D } = c0();
696
+ }, E0 = (...u) => {
697
+ const { subscribe: D } = l0();
698
698
  G(() => {
699
699
  D(...u);
700
700
  }, [D, ...u]);
701
701
  };
702
- var HD = /* @__PURE__ */ ((u) => (u.message = "message", u.delivery = "delivery", u.read = "read", u.typing = "typing", u.follow = "follow", u.echo = "echo", u.unknown = "", u))(HD || {}), uu = /* @__PURE__ */ ((u) => (u.sent = "sent", u.received = "received", u))(uu || {}), Gf = /* @__PURE__ */ ((u) => (u.text = "text", u.location = "location", u))(Gf || {}), wu = /* @__PURE__ */ ((u) => (u.text = "text", u.quick_reply = "quick_reply", u.postback = "postback", u.location = "location", u.file = "file", u.notify = "notify", u))(wu || {}), WD = /* @__PURE__ */ ((u) => (u.text = "text", u.buttons = "buttons", u.quick_replies = "quick_replies", u.file = "file", u.list = "list", u.carousel = "carousel", u))(WD || {}), FD = /* @__PURE__ */ ((u) => (u[u.sent = 0] = "sent", u[u.sending = 1] = "sending", u[u.uploading = 2] = "uploading", u))(FD || {}), fD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(fD || {}), nD = {};
703
- const Xf = {
702
+ var WD = /* @__PURE__ */ ((u) => (u.message = "message", u.delivery = "delivery", u.read = "read", u.typing = "typing", u.follow = "follow", u.echo = "echo", u.unknown = "", u))(WD || {}), uu = /* @__PURE__ */ ((u) => (u.sent = "sent", u.received = "received", u))(uu || {}), Zf = /* @__PURE__ */ ((u) => (u.text = "text", u.location = "location", u))(Zf || {}), wu = /* @__PURE__ */ ((u) => (u.text = "text", u.quick_reply = "quick_reply", u.postback = "postback", u.location = "location", u.file = "file", u.notify = "notify", u))(wu || {}), YD = /* @__PURE__ */ ((u) => (u.text = "text", u.buttons = "buttons", u.quick_replies = "quick_replies", u.file = "file", u.list = "list", u.carousel = "carousel", u))(YD || {}), FD = /* @__PURE__ */ ((u) => (u[u.sent = 0] = "sent", u[u.sending = 1] = "sending", u[u.uploading = 2] = "uploading", u))(FD || {}), fD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(fD || {}), nD = {};
703
+ const Qf = {
704
704
  apiUrl: nD.REACT_APP_WIDGET_API_URL || "http://localhost:4000",
705
705
  channel: nD.REACT_APP_WIDGET_CHANNEL || "console-channel",
706
706
  language: "en",
707
707
  maxUploadSize: nD.UPLOAD_MAX_SIZE_IN_BYTES ?? "" ? Number(nD.UPLOAD_MAX_SIZE_IN_BYTES) : 20 * 1024 * 1024,
708
708
  // 20 MB in bytes
709
709
  ownerId: nD.REACT_APP_WIDGET_OWNER_ID || "68342cec1e3cef0065f1b563"
710
- }, Zf = Mu(Xf), Qf = ({ children: u, ...D }) => {
710
+ }, u1 = Mu(Qf), D1 = ({ children: u, ...D }) => {
711
711
  const f = bu({
712
- ...Xf,
712
+ ...Qf,
713
713
  ...D
714
714
  });
715
- return /* @__PURE__ */ a.jsx(Zf.Provider, { value: f.current, children: u });
715
+ return /* @__PURE__ */ a.jsx(u1.Provider, { value: f.current, children: u });
716
716
  }, qu = () => {
717
- const u = Wu(Zf);
717
+ const u = Wu(u1);
718
718
  if (!u)
719
719
  throw new Error("useConfig must be used within a ConfigProvider");
720
720
  return u;
721
- }, E0 = {
721
+ }, h0 = {
722
722
  get_started: "Start Chat",
723
723
  first_name: "First Name",
724
724
  last_name: "Last Name",
725
725
  phone: "Phone Number",
726
726
  email: "Email Address"
727
- }, h0 = {
727
+ }, b0 = {
728
728
  greeting: "Welcome !",
729
729
  placeholder: "Write something...",
730
730
  connection_lost: "Connection Lost",
731
731
  back: "Back"
732
- }, b0 = {
732
+ }, p0 = {
733
733
  get_started: "Start Chat",
734
734
  file_message: {
735
735
  browser_audio_unsupport: "Browser does not support the audio element.",
@@ -738,22 +738,22 @@ const Xf = {
738
738
  unsupported_file_type: "This file type is not supported.",
739
739
  unsupported_file_size: "This file size is not supported."
740
740
  }
741
- }, p0 = {
742
- user_subscription: E0,
743
- settings: h0,
744
- messages: b0
745
741
  }, B0 = {
742
+ user_subscription: h0,
743
+ settings: b0,
744
+ messages: p0
745
+ }, g0 = {
746
746
  get_started: "Commencer",
747
747
  first_name: "Prénom",
748
748
  last_name: "Nom",
749
749
  phone: "Numéro de Téléphone",
750
750
  email: "Adresse Email"
751
- }, g0 = {
751
+ }, m0 = {
752
752
  greeting: "Bienvenue !",
753
753
  placeholder: "Écrivez quelque chose...",
754
754
  connection_lost: "Connexion perdue",
755
755
  back: "Retour"
756
- }, m0 = {
756
+ }, _0 = {
757
757
  get_started: "Démarrer",
758
758
  file_message: {
759
759
  browser_audio_unsupport: "Le navigateur ne prend pas en charge l'élément audio.",
@@ -762,55 +762,55 @@ const Xf = {
762
762
  unsupported_file_type: "Ce type de fichier n'est pas pris en charge.",
763
763
  unsupported_file_size: "Cette taille de fichier n'est pas prise en charge."
764
764
  }
765
- }, _0 = {
766
- user_subscription: B0,
767
- settings: g0,
768
- messages: m0
769
- }, Of = { en: p0, fr: _0 }, u1 = Mu(
765
+ }, y0 = {
766
+ user_subscription: g0,
767
+ settings: m0,
768
+ messages: _0
769
+ }, Rf = { en: B0, fr: y0 }, f1 = Mu(
770
770
  void 0
771
- ), D1 = ({
771
+ ), e1 = ({
772
772
  children: u
773
773
  }) => {
774
- const f = qu().language, e = (r) => r in Of, [t, n] = U(
774
+ const f = qu().language, e = (r) => r in Rf, [t, n] = U(
775
775
  e(f) ? f : "en"
776
776
  );
777
777
  return /* @__PURE__ */ a.jsx(
778
- u1.Provider,
778
+ f1.Provider,
779
779
  {
780
- value: { translations: Of, language: t, setLanguage: n },
780
+ value: { translations: Rf, language: t, setLanguage: n },
781
781
  children: u
782
782
  }
783
783
  );
784
- }, y0 = () => {
785
- const u = Wu(u1);
784
+ }, v0 = () => {
785
+ const u = Wu(f1);
786
786
  if (!u)
787
787
  throw new Error(
788
788
  "useTranslationContext must be used within a TranslationProvider"
789
789
  );
790
790
  return u;
791
- }, v0 = (u, D) => D.split(".").reduce((f, e) => {
791
+ }, w0 = (u, D) => D.split(".").reduce((f, e) => {
792
792
  if (typeof f == "object" && f !== null)
793
793
  return f[e];
794
794
  }, u), Nu = () => {
795
- const { translations: u, language: D } = y0();
795
+ const { translations: u, language: D } = v0();
796
796
  return { t: Uu(
797
- (e, t = {}) => (v0(u[D], e) || e).replace(
797
+ (e, t = {}) => (w0(u[D], e) || e).replace(
798
798
  /{(\w+)}/g,
799
799
  (r, s) => t[s] || `{${s}}`
800
800
  ),
801
801
  [D, u]
802
802
  ) };
803
803
  };
804
- function w0(u, D) {
804
+ function A0(u, D) {
805
805
  if (typeof D > "u")
806
806
  throw new Error("Value cannot be undefined");
807
807
  return sessionStorage.setItem(u, JSON.stringify(D)), !0;
808
808
  }
809
- function A0(u) {
809
+ function x0(u) {
810
810
  const D = sessionStorage.getItem(u);
811
811
  return D === null ? null : JSON.parse(D);
812
812
  }
813
- const Rf = { setItem: w0, getItem: A0 }, ju = /* @__PURE__ */ Object.create(null);
813
+ const Pf = { setItem: A0, getItem: x0 }, ju = /* @__PURE__ */ Object.create(null);
814
814
  ju.open = "0";
815
815
  ju.close = "1";
816
816
  ju.ping = "2";
@@ -822,59 +822,59 @@ const bD = /* @__PURE__ */ Object.create(null);
822
822
  Object.keys(ju).forEach((u) => {
823
823
  bD[ju[u]] = u;
824
824
  });
825
- const YD = { type: "error", data: "parser error" }, f1 = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", e1 = typeof ArrayBuffer == "function", t1 = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u && u.buffer instanceof ArrayBuffer, sf = ({ type: u, data: D }, f, e) => f1 && D instanceof Blob ? f ? e(D) : Pf(D, e) : e1 && (D instanceof ArrayBuffer || t1(D)) ? f ? e(D) : Pf(new Blob([D]), e) : e(ju[u] + (D || "")), Pf = (u, D) => {
825
+ const JD = { type: "error", data: "parser error" }, t1 = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", n1 = typeof ArrayBuffer == "function", r1 = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u && u.buffer instanceof ArrayBuffer, Ff = ({ type: u, data: D }, f, e) => t1 && D instanceof Blob ? f ? e(D) : If(D, e) : n1 && (D instanceof ArrayBuffer || r1(D)) ? f ? e(D) : If(new Blob([D]), e) : e(ju[u] + (D || "")), If = (u, D) => {
826
826
  const f = new FileReader();
827
827
  return f.onload = function() {
828
828
  const e = f.result.split(",")[1];
829
829
  D("b" + (e || ""));
830
830
  }, f.readAsDataURL(u);
831
831
  };
832
- function If(u) {
832
+ function Lf(u) {
833
833
  return u instanceof Uint8Array ? u : u instanceof ArrayBuffer ? new Uint8Array(u) : new Uint8Array(u.buffer, u.byteOffset, u.byteLength);
834
834
  }
835
835
  let ID;
836
- function x0(u, D) {
837
- if (f1 && u.data instanceof Blob)
838
- return u.data.arrayBuffer().then(If).then(D);
839
- if (e1 && (u.data instanceof ArrayBuffer || t1(u.data)))
840
- return D(If(u.data));
841
- sf(u, !1, (f) => {
836
+ function k0(u, D) {
837
+ if (t1 && u.data instanceof Blob)
838
+ return u.data.arrayBuffer().then(Lf).then(D);
839
+ if (n1 && (u.data instanceof ArrayBuffer || r1(u.data)))
840
+ return D(Lf(u.data));
841
+ Ff(u, !1, (f) => {
842
842
  ID || (ID = new TextEncoder()), D(ID.encode(f));
843
843
  });
844
844
  }
845
- const Lf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", sD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
846
- for (let u = 0; u < Lf.length; u++)
847
- sD[Lf.charCodeAt(u)] = u;
848
- const k0 = (u) => {
845
+ const $f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", sD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
846
+ for (let u = 0; u < $f.length; u++)
847
+ sD[$f.charCodeAt(u)] = u;
848
+ const S0 = (u) => {
849
849
  let D = u.length * 0.75, f = u.length, e, t = 0, n, r, s, F;
850
850
  u[u.length - 1] === "=" && (D--, u[u.length - 2] === "=" && D--);
851
851
  const d = new ArrayBuffer(D), o = new Uint8Array(d);
852
852
  for (e = 0; e < f; e += 4)
853
853
  n = sD[u.charCodeAt(e)], r = sD[u.charCodeAt(e + 1)], s = sD[u.charCodeAt(e + 2)], F = sD[u.charCodeAt(e + 3)], o[t++] = n << 2 | r >> 4, o[t++] = (r & 15) << 4 | s >> 2, o[t++] = (s & 3) << 6 | F & 63;
854
854
  return d;
855
- }, S0 = typeof ArrayBuffer == "function", Ff = (u, D) => {
855
+ }, j0 = typeof ArrayBuffer == "function", of = (u, D) => {
856
856
  if (typeof u != "string")
857
857
  return {
858
858
  type: "message",
859
- data: n1(u, D)
859
+ data: a1(u, D)
860
860
  };
861
861
  const f = u.charAt(0);
862
862
  return f === "b" ? {
863
863
  type: "message",
864
- data: j0(u.substring(1), D)
864
+ data: T0(u.substring(1), D)
865
865
  } : bD[f] ? u.length > 1 ? {
866
866
  type: bD[f],
867
867
  data: u.substring(1)
868
868
  } : {
869
869
  type: bD[f]
870
- } : YD;
871
- }, j0 = (u, D) => {
872
- if (S0) {
873
- const f = k0(u);
874
- return n1(f, D);
870
+ } : JD;
871
+ }, T0 = (u, D) => {
872
+ if (j0) {
873
+ const f = S0(u);
874
+ return a1(f, D);
875
875
  } else
876
876
  return { base64: !0, data: u };
877
- }, n1 = (u, D) => {
877
+ }, a1 = (u, D) => {
878
878
  switch (D) {
879
879
  case "blob":
880
880
  return u instanceof Blob ? u : new Blob([u]);
@@ -882,27 +882,27 @@ const k0 = (u) => {
882
882
  default:
883
883
  return u instanceof ArrayBuffer ? u : u.buffer;
884
884
  }
885
- }, r1 = "", T0 = (u, D) => {
885
+ }, s1 = "", N0 = (u, D) => {
886
886
  const f = u.length, e = new Array(f);
887
887
  let t = 0;
888
888
  u.forEach((n, r) => {
889
- sf(n, !1, (s) => {
890
- e[r] = s, ++t === f && D(e.join(r1));
889
+ Ff(n, !1, (s) => {
890
+ e[r] = s, ++t === f && D(e.join(s1));
891
891
  });
892
892
  });
893
- }, N0 = (u, D) => {
894
- const f = u.split(r1), e = [];
893
+ }, O0 = (u, D) => {
894
+ const f = u.split(s1), e = [];
895
895
  for (let t = 0; t < f.length; t++) {
896
- const n = Ff(f[t], D);
896
+ const n = of(f[t], D);
897
897
  if (e.push(n), n.type === "error")
898
898
  break;
899
899
  }
900
900
  return e;
901
901
  };
902
- function O0() {
902
+ function R0() {
903
903
  return new TransformStream({
904
904
  transform(u, D) {
905
- x0(u, (f) => {
905
+ k0(u, (f) => {
906
906
  const e = f.length;
907
907
  let t;
908
908
  if (e < 126)
@@ -934,7 +934,7 @@ function ED(u, D) {
934
934
  f[t] = u[0][e++], e === u[0].length && (u.shift(), e = 0);
935
935
  return u.length && e < u[0].length && (u[0] = u[0].slice(e)), f;
936
936
  }
937
- function R0(u, D) {
937
+ function P0(u, D) {
938
938
  LD || (LD = new TextDecoder());
939
939
  const f = [];
940
940
  let e = 0, t = -1, n = !1;
@@ -956,7 +956,7 @@ function R0(u, D) {
956
956
  break;
957
957
  const F = ED(f, 8), d = new DataView(F.buffer, F.byteOffset, F.length), o = d.getUint32(0);
958
958
  if (o > Math.pow(2, 21) - 1) {
959
- s.enqueue(YD);
959
+ s.enqueue(JD);
960
960
  break;
961
961
  }
962
962
  t = o * Math.pow(2, 32) + d.getUint32(4), e = 3;
@@ -964,21 +964,21 @@ function R0(u, D) {
964
964
  if (lD(f) < t)
965
965
  break;
966
966
  const F = ED(f, t);
967
- s.enqueue(Ff(n ? F : LD.decode(F), D)), e = 0;
967
+ s.enqueue(of(n ? F : LD.decode(F), D)), e = 0;
968
968
  }
969
969
  if (t === 0 || t > u) {
970
- s.enqueue(YD);
970
+ s.enqueue(JD);
971
971
  break;
972
972
  }
973
973
  }
974
974
  }
975
975
  });
976
976
  }
977
- const a1 = 4;
977
+ const F1 = 4;
978
978
  function Fu(u) {
979
- if (u) return P0(u);
979
+ if (u) return I0(u);
980
980
  }
981
- function P0(u) {
981
+ function I0(u) {
982
982
  for (var D in Fu.prototype)
983
983
  u[D] = Fu.prototype[D];
984
984
  return u;
@@ -1024,34 +1024,34 @@ Fu.prototype.listeners = function(u) {
1024
1024
  Fu.prototype.hasListeners = function(u) {
1025
1025
  return !!this.listeners(u).length;
1026
1026
  };
1027
- const wD = typeof Promise == "function" && typeof Promise.resolve == "function" ? (D) => Promise.resolve().then(D) : (D, f) => f(D, 0), yu = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), I0 = "arraybuffer";
1028
- function s1(u, ...D) {
1027
+ const wD = typeof Promise == "function" && typeof Promise.resolve == "function" ? (D) => Promise.resolve().then(D) : (D, f) => f(D, 0), yu = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), L0 = "arraybuffer";
1028
+ function i1(u, ...D) {
1029
1029
  return D.reduce((f, e) => (u.hasOwnProperty(e) && (f[e] = u[e]), f), {});
1030
1030
  }
1031
- const L0 = yu.setTimeout, $0 = yu.clearTimeout;
1031
+ const $0 = yu.setTimeout, M0 = yu.clearTimeout;
1032
1032
  function AD(u, D) {
1033
- D.useNativeTimers ? (u.setTimeoutFn = L0.bind(yu), u.clearTimeoutFn = $0.bind(yu)) : (u.setTimeoutFn = yu.setTimeout.bind(yu), u.clearTimeoutFn = yu.clearTimeout.bind(yu));
1034
- }
1035
- const M0 = 1.33;
1036
- function q0(u) {
1037
- return typeof u == "string" ? z0(u) : Math.ceil((u.byteLength || u.size) * M0);
1033
+ D.useNativeTimers ? (u.setTimeoutFn = $0.bind(yu), u.clearTimeoutFn = M0.bind(yu)) : (u.setTimeoutFn = yu.setTimeout.bind(yu), u.clearTimeoutFn = yu.clearTimeout.bind(yu));
1038
1034
  }
1035
+ const q0 = 1.33;
1039
1036
  function z0(u) {
1037
+ return typeof u == "string" ? U0(u) : Math.ceil((u.byteLength || u.size) * q0);
1038
+ }
1039
+ function U0(u) {
1040
1040
  let D = 0, f = 0;
1041
1041
  for (let e = 0, t = u.length; e < t; e++)
1042
1042
  D = u.charCodeAt(e), D < 128 ? f += 1 : D < 2048 ? f += 2 : D < 55296 || D >= 57344 ? f += 3 : (e++, f += 4);
1043
1043
  return f;
1044
1044
  }
1045
- function F1() {
1045
+ function o1() {
1046
1046
  return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
1047
1047
  }
1048
- function U0(u) {
1048
+ function V0(u) {
1049
1049
  let D = "";
1050
1050
  for (let f in u)
1051
1051
  u.hasOwnProperty(f) && (D.length && (D += "&"), D += encodeURIComponent(f) + "=" + encodeURIComponent(u[f]));
1052
1052
  return D;
1053
1053
  }
1054
- function V0(u) {
1054
+ function H0(u) {
1055
1055
  let D = {}, f = u.split("&");
1056
1056
  for (let e = 0, t = f.length; e < t; e++) {
1057
1057
  let n = f[e].split("=");
@@ -1059,12 +1059,12 @@ function V0(u) {
1059
1059
  }
1060
1060
  return D;
1061
1061
  }
1062
- class H0 extends Error {
1062
+ class W0 extends Error {
1063
1063
  constructor(D, f, e) {
1064
1064
  super(D), this.description = f, this.context = e, this.type = "TransportError";
1065
1065
  }
1066
1066
  }
1067
- class of extends Fu {
1067
+ class df extends Fu {
1068
1068
  /**
1069
1069
  * Transport abstract constructor.
1070
1070
  *
@@ -1084,7 +1084,7 @@ class of extends Fu {
1084
1084
  * @protected
1085
1085
  */
1086
1086
  onError(D, f, e) {
1087
- return super.emitReserved("error", new H0(D, f, e)), this;
1087
+ return super.emitReserved("error", new W0(D, f, e)), this;
1088
1088
  }
1089
1089
  /**
1090
1090
  * Opens the transport.
@@ -1121,7 +1121,7 @@ class of extends Fu {
1121
1121
  * @protected
1122
1122
  */
1123
1123
  onData(D) {
1124
- const f = Ff(D, this.socket.binaryType);
1124
+ const f = of(D, this.socket.binaryType);
1125
1125
  this.onPacket(f);
1126
1126
  }
1127
1127
  /**
@@ -1158,11 +1158,11 @@ class of extends Fu {
1158
1158
  return this.opts.port && (this.opts.secure && +(this.opts.port !== 443) || !this.opts.secure && Number(this.opts.port) !== 80) ? ":" + this.opts.port : "";
1159
1159
  }
1160
1160
  _query(D) {
1161
- const f = U0(D);
1161
+ const f = V0(D);
1162
1162
  return f.length ? "?" + f : "";
1163
1163
  }
1164
1164
  }
1165
- class W0 extends of {
1165
+ class Y0 extends df {
1166
1166
  constructor() {
1167
1167
  super(...arguments), this._polling = !1;
1168
1168
  }
@@ -1218,7 +1218,7 @@ class W0 extends of {
1218
1218
  return this.onClose({ description: "transport closed by the server" }), !1;
1219
1219
  this.onPacket(e);
1220
1220
  };
1221
- N0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1221
+ O0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1222
1222
  }
1223
1223
  /**
1224
1224
  * For polling, send a close packet.
@@ -1238,7 +1238,7 @@ class W0 extends of {
1238
1238
  * @protected
1239
1239
  */
1240
1240
  write(D) {
1241
- this.writable = !1, T0(D, (f) => {
1241
+ this.writable = !1, N0(D, (f) => {
1242
1242
  this.doWrite(f, () => {
1243
1243
  this.writable = !0, this.emitReserved("drain");
1244
1244
  });
@@ -1251,18 +1251,18 @@ class W0 extends of {
1251
1251
  */
1252
1252
  uri() {
1253
1253
  const D = this.opts.secure ? "https" : "http", f = this.query || {};
1254
- return this.opts.timestampRequests !== !1 && (f[this.opts.timestampParam] = F1()), !this.supportsBinary && !f.sid && (f.b64 = 1), this.createUri(D, f);
1254
+ return this.opts.timestampRequests !== !1 && (f[this.opts.timestampParam] = o1()), !this.supportsBinary && !f.sid && (f.b64 = 1), this.createUri(D, f);
1255
1255
  }
1256
1256
  }
1257
- let i1 = !1;
1257
+ let d1 = !1;
1258
1258
  try {
1259
- i1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1259
+ d1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1260
1260
  } catch {
1261
1261
  }
1262
- const Y0 = i1;
1263
- function J0() {
1262
+ const J0 = d1;
1263
+ function K0() {
1264
1264
  }
1265
- class K0 extends W0 {
1265
+ class G0 extends Y0 {
1266
1266
  /**
1267
1267
  * XHR Polling constructor.
1268
1268
  *
@@ -1321,7 +1321,7 @@ class ku extends Fu {
1321
1321
  */
1322
1322
  _create() {
1323
1323
  var D;
1324
- const f = s1(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
1324
+ const f = i1(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
1325
1325
  f.xdomain = !!this._opts.xd;
1326
1326
  const e = this._xhr = this.createRequest(f);
1327
1327
  try {
@@ -1375,7 +1375,7 @@ class ku extends Fu {
1375
1375
  */
1376
1376
  _cleanup(D) {
1377
1377
  if (!(typeof this._xhr > "u" || this._xhr === null)) {
1378
- if (this._xhr.onreadystatechange = J0, D)
1378
+ if (this._xhr.onreadystatechange = K0, D)
1379
1379
  try {
1380
1380
  this._xhr.abort();
1381
1381
  } catch {
@@ -1405,36 +1405,36 @@ ku.requestsCount = 0;
1405
1405
  ku.requests = {};
1406
1406
  if (typeof document < "u") {
1407
1407
  if (typeof attachEvent == "function")
1408
- attachEvent("onunload", $f);
1408
+ attachEvent("onunload", Mf);
1409
1409
  else if (typeof addEventListener == "function") {
1410
1410
  const u = "onpagehide" in yu ? "pagehide" : "unload";
1411
- addEventListener(u, $f, !1);
1411
+ addEventListener(u, Mf, !1);
1412
1412
  }
1413
1413
  }
1414
- function $f() {
1414
+ function Mf() {
1415
1415
  for (let u in ku.requests)
1416
1416
  ku.requests.hasOwnProperty(u) && ku.requests[u].abort();
1417
1417
  }
1418
- const G0 = function() {
1419
- const u = o1({
1418
+ const X0 = function() {
1419
+ const u = C1({
1420
1420
  xdomain: !1
1421
1421
  });
1422
1422
  return u && u.responseType !== null;
1423
1423
  }();
1424
- class X0 extends K0 {
1424
+ class Z0 extends G0 {
1425
1425
  constructor(D) {
1426
1426
  super(D);
1427
1427
  const f = D && D.forceBase64;
1428
- this.supportsBinary = G0 && !f;
1428
+ this.supportsBinary = X0 && !f;
1429
1429
  }
1430
1430
  request(D = {}) {
1431
- return Object.assign(D, { xd: this.xd }, this.opts), new ku(o1, this.uri(), D);
1431
+ return Object.assign(D, { xd: this.xd }, this.opts), new ku(C1, this.uri(), D);
1432
1432
  }
1433
1433
  }
1434
- function o1(u) {
1434
+ function C1(u) {
1435
1435
  const D = u.xdomain;
1436
1436
  try {
1437
- if (typeof XMLHttpRequest < "u" && (!D || Y0))
1437
+ if (typeof XMLHttpRequest < "u" && (!D || J0))
1438
1438
  return new XMLHttpRequest();
1439
1439
  } catch {
1440
1440
  }
@@ -1444,13 +1444,13 @@ function o1(u) {
1444
1444
  } catch {
1445
1445
  }
1446
1446
  }
1447
- const d1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1448
- class Z0 extends of {
1447
+ const c1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1448
+ class Q0 extends df {
1449
1449
  get name() {
1450
1450
  return "websocket";
1451
1451
  }
1452
1452
  doOpen() {
1453
- const D = this.uri(), f = this.opts.protocols, e = d1 ? {} : s1(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
1453
+ const D = this.uri(), f = this.opts.protocols, e = c1 ? {} : i1(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
1454
1454
  this.opts.extraHeaders && (e.headers = this.opts.extraHeaders);
1455
1455
  try {
1456
1456
  this.ws = this.createSocket(D, f, e);
@@ -1476,7 +1476,7 @@ class Z0 extends of {
1476
1476
  this.writable = !1;
1477
1477
  for (let f = 0; f < D.length; f++) {
1478
1478
  const e = D[f], t = f === D.length - 1;
1479
- sf(e, this.supportsBinary, (n) => {
1479
+ Ff(e, this.supportsBinary, (n) => {
1480
1480
  try {
1481
1481
  this.doWrite(e, n);
1482
1482
  } catch {
@@ -1498,19 +1498,19 @@ class Z0 extends of {
1498
1498
  */
1499
1499
  uri() {
1500
1500
  const D = this.opts.secure ? "wss" : "ws", f = this.query || {};
1501
- return this.opts.timestampRequests && (f[this.opts.timestampParam] = F1()), this.supportsBinary || (f.b64 = 1), this.createUri(D, f);
1501
+ return this.opts.timestampRequests && (f[this.opts.timestampParam] = o1()), this.supportsBinary || (f.b64 = 1), this.createUri(D, f);
1502
1502
  }
1503
1503
  }
1504
1504
  const $D = yu.WebSocket || yu.MozWebSocket;
1505
- class Q0 extends Z0 {
1505
+ class ue extends Q0 {
1506
1506
  createSocket(D, f, e) {
1507
- return d1 ? new $D(D, f, e) : f ? new $D(D, f) : new $D(D);
1507
+ return c1 ? new $D(D, f, e) : f ? new $D(D, f) : new $D(D);
1508
1508
  }
1509
1509
  doWrite(D, f) {
1510
1510
  this.ws.send(f);
1511
1511
  }
1512
1512
  }
1513
- class ue extends of {
1513
+ class De extends df {
1514
1514
  get name() {
1515
1515
  return "webtransport";
1516
1516
  }
@@ -1526,7 +1526,7 @@ class ue extends of {
1526
1526
  this.onError("webtransport error", D);
1527
1527
  }), this._transport.ready.then(() => {
1528
1528
  this._transport.createBidirectionalStream().then((D) => {
1529
- const f = R0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = O0();
1529
+ const f = P0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = R0();
1530
1530
  t.readable.pipeTo(D.writable), this._writer = t.writable.getWriter();
1531
1531
  const n = () => {
1532
1532
  e.read().then(({ done: s, value: F }) => {
@@ -1556,11 +1556,11 @@ class ue extends of {
1556
1556
  (D = this._transport) === null || D === void 0 || D.close();
1557
1557
  }
1558
1558
  }
1559
- const De = {
1560
- websocket: Q0,
1561
- webtransport: ue,
1562
- polling: X0
1563
- }, fe = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, ee = [
1559
+ const fe = {
1560
+ websocket: ue,
1561
+ webtransport: De,
1562
+ polling: Z0
1563
+ }, ee = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, te = [
1564
1564
  "source",
1565
1565
  "protocol",
1566
1566
  "authority",
@@ -1576,28 +1576,28 @@ const De = {
1576
1576
  "query",
1577
1577
  "anchor"
1578
1578
  ];
1579
- function JD(u) {
1579
+ function KD(u) {
1580
1580
  if (u.length > 8e3)
1581
1581
  throw "URI too long";
1582
1582
  const D = u, f = u.indexOf("["), e = u.indexOf("]");
1583
1583
  f != -1 && e != -1 && (u = u.substring(0, f) + u.substring(f, e).replace(/:/g, ";") + u.substring(e, u.length));
1584
- let t = fe.exec(u || ""), n = {}, r = 14;
1584
+ let t = ee.exec(u || ""), n = {}, r = 14;
1585
1585
  for (; r--; )
1586
- n[ee[r]] = t[r] || "";
1587
- return f != -1 && e != -1 && (n.source = D, n.host = n.host.substring(1, n.host.length - 1).replace(/;/g, ":"), n.authority = n.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), n.ipv6uri = !0), n.pathNames = te(n, n.path), n.queryKey = ne(n, n.query), n;
1586
+ n[te[r]] = t[r] || "";
1587
+ return f != -1 && e != -1 && (n.source = D, n.host = n.host.substring(1, n.host.length - 1).replace(/;/g, ":"), n.authority = n.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), n.ipv6uri = !0), n.pathNames = ne(n, n.path), n.queryKey = re(n, n.query), n;
1588
1588
  }
1589
- function te(u, D) {
1589
+ function ne(u, D) {
1590
1590
  const f = /\/{2,9}/g, e = D.replace(f, "/").split("/");
1591
1591
  return (D.slice(0, 1) == "/" || D.length === 0) && e.splice(0, 1), D.slice(-1) == "/" && e.splice(e.length - 1, 1), e;
1592
1592
  }
1593
- function ne(u, D) {
1593
+ function re(u, D) {
1594
1594
  const f = {};
1595
1595
  return D.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function(e, t, n) {
1596
1596
  t && (f[t] = n);
1597
1597
  }), f;
1598
1598
  }
1599
- const KD = typeof addEventListener == "function" && typeof removeEventListener == "function", pD = [];
1600
- KD && addEventListener("offline", () => {
1599
+ const GD = typeof addEventListener == "function" && typeof removeEventListener == "function", pD = [];
1600
+ GD && addEventListener("offline", () => {
1601
1601
  pD.forEach((u) => u());
1602
1602
  }, !1);
1603
1603
  class Vu extends Fu {
@@ -1608,10 +1608,10 @@ class Vu extends Fu {
1608
1608
  * @param {Object} opts - options
1609
1609
  */
1610
1610
  constructor(D, f) {
1611
- if (super(), this.binaryType = I0, this.writeBuffer = [], this._prevBufferLen = 0, this._pingInterval = -1, this._pingTimeout = -1, this._maxPayload = -1, this._pingTimeoutTime = 1 / 0, D && typeof D == "object" && (f = D, D = null), D) {
1612
- const e = JD(D);
1611
+ if (super(), this.binaryType = L0, this.writeBuffer = [], this._prevBufferLen = 0, this._pingInterval = -1, this._pingTimeout = -1, this._maxPayload = -1, this._pingTimeoutTime = 1 / 0, D && typeof D == "object" && (f = D, D = null), D) {
1612
+ const e = KD(D);
1613
1613
  f.hostname = e.host, f.secure = e.protocol === "https" || e.protocol === "wss", f.port = e.port, e.query && (f.query = e.query);
1614
- } else f.host && (f.hostname = JD(f.host).host);
1614
+ } else f.host && (f.hostname = KD(f.host).host);
1615
1615
  AD(this, f), this.secure = f.secure != null ? f.secure : typeof location < "u" && location.protocol === "https:", f.hostname && !f.port && (f.port = this.secure ? "443" : "80"), this.hostname = f.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = f.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = [], this._transportsByName = {}, f.transports.forEach((e) => {
1616
1616
  const t = e.prototype.name;
1617
1617
  this.transports.push(t), this._transportsByName[t] = e;
@@ -1629,7 +1629,7 @@ class Vu extends Fu {
1629
1629
  },
1630
1630
  transportOptions: {},
1631
1631
  closeOnBeforeunload: !1
1632
- }, f), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = V0(this.opts.query)), KD && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
1632
+ }, f), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = H0(this.opts.query)), GD && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
1633
1633
  this.transport && (this.transport.removeAllListeners(), this.transport.close());
1634
1634
  }, addEventListener("beforeunload", this._beforeunloadEventListener, !1)), this.hostname !== "localhost" && (this._offlineEventListener = () => {
1635
1635
  this._onClose("transport close", {
@@ -1646,7 +1646,7 @@ class Vu extends Fu {
1646
1646
  */
1647
1647
  createTransport(D) {
1648
1648
  const f = Object.assign({}, this.opts.query);
1649
- f.EIO = a1, f.transport = D, this.id && (f.sid = this.id);
1649
+ f.EIO = F1, f.transport = D, this.id && (f.sid = this.id);
1650
1650
  const e = Object.assign({}, this.opts, {
1651
1651
  query: f,
1652
1652
  socket: this,
@@ -1764,7 +1764,7 @@ class Vu extends Fu {
1764
1764
  let f = 1;
1765
1765
  for (let e = 0; e < this.writeBuffer.length; e++) {
1766
1766
  const t = this.writeBuffer[e].data;
1767
- if (t && (f += q0(t)), e > 0 && f > this._maxPayload)
1767
+ if (t && (f += z0(t)), e > 0 && f > this._maxPayload)
1768
1768
  return this.writeBuffer.slice(0, e);
1769
1769
  f += 2;
1770
1770
  }
@@ -1862,7 +1862,7 @@ class Vu extends Fu {
1862
1862
  */
1863
1863
  _onClose(D, f) {
1864
1864
  if (this.readyState === "opening" || this.readyState === "open" || this.readyState === "closing") {
1865
- if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), KD && (this._beforeunloadEventListener && removeEventListener("beforeunload", this._beforeunloadEventListener, !1), this._offlineEventListener)) {
1865
+ if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), GD && (this._beforeunloadEventListener && removeEventListener("beforeunload", this._beforeunloadEventListener, !1), this._offlineEventListener)) {
1866
1866
  const e = pD.indexOf(this._offlineEventListener);
1867
1867
  e !== -1 && pD.splice(e, 1);
1868
1868
  }
@@ -1870,8 +1870,8 @@ class Vu extends Fu {
1870
1870
  }
1871
1871
  }
1872
1872
  }
1873
- Vu.protocol = a1;
1874
- class re extends Vu {
1873
+ Vu.protocol = F1;
1874
+ class ae extends Vu {
1875
1875
  constructor() {
1876
1876
  super(...arguments), this._upgrades = [];
1877
1877
  }
@@ -1943,21 +1943,21 @@ class re extends Vu {
1943
1943
  return f;
1944
1944
  }
1945
1945
  }
1946
- let ae = class extends re {
1946
+ let se = class extends ae {
1947
1947
  constructor(D, f = {}) {
1948
1948
  const e = typeof D == "object" ? D : f;
1949
- (!e.transports || e.transports && typeof e.transports[0] == "string") && (e.transports = (e.transports || ["polling", "websocket", "webtransport"]).map((t) => De[t]).filter((t) => !!t)), super(D, e);
1949
+ (!e.transports || e.transports && typeof e.transports[0] == "string") && (e.transports = (e.transports || ["polling", "websocket", "webtransport"]).map((t) => fe[t]).filter((t) => !!t)), super(D, e);
1950
1950
  }
1951
1951
  };
1952
- function se(u, D = "", f) {
1952
+ function Fe(u, D = "", f) {
1953
1953
  let e = u;
1954
- f = f || typeof location < "u" && location, u == null && (u = f.protocol + "//" + f.host), typeof u == "string" && (u.charAt(0) === "/" && (u.charAt(1) === "/" ? u = f.protocol + u : u = f.host + u), /^(https?|wss?):\/\//.test(u) || (typeof f < "u" ? u = f.protocol + "//" + u : u = "https://" + u), e = JD(u)), e.port || (/^(http|ws)$/.test(e.protocol) ? e.port = "80" : /^(http|ws)s$/.test(e.protocol) && (e.port = "443")), e.path = e.path || "/";
1954
+ f = f || typeof location < "u" && location, u == null && (u = f.protocol + "//" + f.host), typeof u == "string" && (u.charAt(0) === "/" && (u.charAt(1) === "/" ? u = f.protocol + u : u = f.host + u), /^(https?|wss?):\/\//.test(u) || (typeof f < "u" ? u = f.protocol + "//" + u : u = "https://" + u), e = KD(u)), e.port || (/^(http|ws)$/.test(e.protocol) ? e.port = "80" : /^(http|ws)s$/.test(e.protocol) && (e.port = "443")), e.path = e.path || "/";
1955
1955
  const n = e.host.indexOf(":") !== -1 ? "[" + e.host + "]" : e.host;
1956
1956
  return e.id = e.protocol + "://" + n + ":" + e.port + D, e.href = e.protocol + "://" + n + (f && f.port === e.port ? "" : ":" + e.port), e;
1957
1957
  }
1958
- const Fe = typeof ArrayBuffer == "function", ie = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, C1 = Object.prototype.toString, oe = typeof Blob == "function" || typeof Blob < "u" && C1.call(Blob) === "[object BlobConstructor]", de = typeof File == "function" || typeof File < "u" && C1.call(File) === "[object FileConstructor]";
1959
- function df(u) {
1960
- return Fe && (u instanceof ArrayBuffer || ie(u)) || oe && u instanceof Blob || de && u instanceof File;
1958
+ const ie = typeof ArrayBuffer == "function", oe = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, l1 = Object.prototype.toString, de = typeof Blob == "function" || typeof Blob < "u" && l1.call(Blob) === "[object BlobConstructor]", Ce = typeof File == "function" || typeof File < "u" && l1.call(File) === "[object FileConstructor]";
1959
+ function Cf(u) {
1960
+ return ie && (u instanceof ArrayBuffer || oe(u)) || de && u instanceof Blob || Ce && u instanceof File;
1961
1961
  }
1962
1962
  function BD(u, D) {
1963
1963
  if (!u || typeof u != "object")
@@ -1968,7 +1968,7 @@ function BD(u, D) {
1968
1968
  return !0;
1969
1969
  return !1;
1970
1970
  }
1971
- if (df(u))
1971
+ if (Cf(u))
1972
1972
  return !0;
1973
1973
  if (u.toJSON && typeof u.toJSON == "function" && arguments.length === 1)
1974
1974
  return BD(u.toJSON(), !0);
@@ -1977,33 +1977,33 @@ function BD(u, D) {
1977
1977
  return !0;
1978
1978
  return !1;
1979
1979
  }
1980
- function Ce(u) {
1980
+ function ce(u) {
1981
1981
  const D = [], f = u.data, e = u;
1982
- return e.data = GD(f, D), e.attachments = D.length, { packet: e, buffers: D };
1982
+ return e.data = XD(f, D), e.attachments = D.length, { packet: e, buffers: D };
1983
1983
  }
1984
- function GD(u, D) {
1984
+ function XD(u, D) {
1985
1985
  if (!u)
1986
1986
  return u;
1987
- if (df(u)) {
1987
+ if (Cf(u)) {
1988
1988
  const f = { _placeholder: !0, num: D.length };
1989
1989
  return D.push(u), f;
1990
1990
  } else if (Array.isArray(u)) {
1991
1991
  const f = new Array(u.length);
1992
1992
  for (let e = 0; e < u.length; e++)
1993
- f[e] = GD(u[e], D);
1993
+ f[e] = XD(u[e], D);
1994
1994
  return f;
1995
1995
  } else if (typeof u == "object" && !(u instanceof Date)) {
1996
1996
  const f = {};
1997
1997
  for (const e in u)
1998
- Object.prototype.hasOwnProperty.call(u, e) && (f[e] = GD(u[e], D));
1998
+ Object.prototype.hasOwnProperty.call(u, e) && (f[e] = XD(u[e], D));
1999
1999
  return f;
2000
2000
  }
2001
2001
  return u;
2002
2002
  }
2003
- function ce(u, D) {
2004
- return u.data = XD(u.data, D), delete u.attachments, u;
2003
+ function le(u, D) {
2004
+ return u.data = ZD(u.data, D), delete u.attachments, u;
2005
2005
  }
2006
- function XD(u, D) {
2006
+ function ZD(u, D) {
2007
2007
  if (!u)
2008
2008
  return u;
2009
2009
  if (u && u._placeholder === !0) {
@@ -2012,13 +2012,13 @@ function XD(u, D) {
2012
2012
  throw new Error("illegal attachments");
2013
2013
  } else if (Array.isArray(u))
2014
2014
  for (let f = 0; f < u.length; f++)
2015
- u[f] = XD(u[f], D);
2015
+ u[f] = ZD(u[f], D);
2016
2016
  else if (typeof u == "object")
2017
2017
  for (const f in u)
2018
- Object.prototype.hasOwnProperty.call(u, f) && (u[f] = XD(u[f], D));
2018
+ Object.prototype.hasOwnProperty.call(u, f) && (u[f] = ZD(u[f], D));
2019
2019
  return u;
2020
2020
  }
2021
- const le = [
2021
+ const Ee = [
2022
2022
  "connect",
2023
2023
  "connect_error",
2024
2024
  "disconnect",
@@ -2026,12 +2026,12 @@ const le = [
2026
2026
  "newListener",
2027
2027
  "removeListener"
2028
2028
  // used by the Node.js EventEmitter
2029
- ], Ee = 5;
2029
+ ], he = 5;
2030
2030
  var H;
2031
2031
  (function(u) {
2032
2032
  u[u.CONNECT = 0] = "CONNECT", u[u.DISCONNECT = 1] = "DISCONNECT", u[u.EVENT = 2] = "EVENT", u[u.ACK = 3] = "ACK", u[u.CONNECT_ERROR = 4] = "CONNECT_ERROR", u[u.BINARY_EVENT = 5] = "BINARY_EVENT", u[u.BINARY_ACK = 6] = "BINARY_ACK";
2033
2033
  })(H || (H = {}));
2034
- class he {
2034
+ class be {
2035
2035
  /**
2036
2036
  * Encoder constructor
2037
2037
  *
@@ -2067,14 +2067,14 @@ class he {
2067
2067
  * a list of buffers.
2068
2068
  */
2069
2069
  encodeAsBinary(D) {
2070
- const f = Ce(D), e = this.encodeAsString(f.packet), t = f.buffers;
2070
+ const f = ce(D), e = this.encodeAsString(f.packet), t = f.buffers;
2071
2071
  return t.unshift(e), t;
2072
2072
  }
2073
2073
  }
2074
- function Mf(u) {
2074
+ function qf(u) {
2075
2075
  return Object.prototype.toString.call(u) === "[object Object]";
2076
2076
  }
2077
- class Cf extends Fu {
2077
+ class cf extends Fu {
2078
2078
  /**
2079
2079
  * Decoder constructor
2080
2080
  *
@@ -2095,8 +2095,8 @@ class Cf extends Fu {
2095
2095
  throw new Error("got plaintext data when reconstructing a packet");
2096
2096
  f = this.decodeString(D);
2097
2097
  const e = f.type === H.BINARY_EVENT;
2098
- e || f.type === H.BINARY_ACK ? (f.type = e ? H.EVENT : H.ACK, this.reconstructor = new be(f), f.attachments === 0 && super.emitReserved("decoded", f)) : super.emitReserved("decoded", f);
2099
- } else if (df(D) || D.base64)
2098
+ e || f.type === H.BINARY_ACK ? (f.type = e ? H.EVENT : H.ACK, this.reconstructor = new pe(f), f.attachments === 0 && super.emitReserved("decoded", f)) : super.emitReserved("decoded", f);
2099
+ } else if (Cf(D) || D.base64)
2100
2100
  if (this.reconstructor)
2101
2101
  f = this.reconstructor.takeBinaryData(D), f && (this.reconstructor = null, super.emitReserved("decoded", f));
2102
2102
  else
@@ -2149,7 +2149,7 @@ class Cf extends Fu {
2149
2149
  }
2150
2150
  if (D.charAt(++f)) {
2151
2151
  const n = this.tryParse(D.substr(f));
2152
- if (Cf.isPayloadValid(e.type, n))
2152
+ if (cf.isPayloadValid(e.type, n))
2153
2153
  e.data = n;
2154
2154
  else
2155
2155
  throw new Error("invalid payload");
@@ -2166,14 +2166,14 @@ class Cf extends Fu {
2166
2166
  static isPayloadValid(D, f) {
2167
2167
  switch (D) {
2168
2168
  case H.CONNECT:
2169
- return Mf(f);
2169
+ return qf(f);
2170
2170
  case H.DISCONNECT:
2171
2171
  return f === void 0;
2172
2172
  case H.CONNECT_ERROR:
2173
- return typeof f == "string" || Mf(f);
2173
+ return typeof f == "string" || qf(f);
2174
2174
  case H.EVENT:
2175
2175
  case H.BINARY_EVENT:
2176
- return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && le.indexOf(f[0]) === -1);
2176
+ return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && Ee.indexOf(f[0]) === -1);
2177
2177
  case H.ACK:
2178
2178
  case H.BINARY_ACK:
2179
2179
  return Array.isArray(f);
@@ -2186,7 +2186,7 @@ class Cf extends Fu {
2186
2186
  this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null);
2187
2187
  }
2188
2188
  }
2189
- class be {
2189
+ class pe {
2190
2190
  constructor(D) {
2191
2191
  this.packet = D, this.buffers = [], this.reconPack = D;
2192
2192
  }
@@ -2200,7 +2200,7 @@ class be {
2200
2200
  */
2201
2201
  takeBinaryData(D) {
2202
2202
  if (this.buffers.push(D), this.buffers.length === this.reconPack.attachments) {
2203
- const f = ce(this.reconPack, this.buffers);
2203
+ const f = le(this.reconPack, this.buffers);
2204
2204
  return this.finishedReconstruction(), f;
2205
2205
  }
2206
2206
  return null;
@@ -2212,21 +2212,21 @@ class be {
2212
2212
  this.reconPack = null, this.buffers = [];
2213
2213
  }
2214
2214
  }
2215
- const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2215
+ const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2216
2216
  __proto__: null,
2217
- Decoder: Cf,
2218
- Encoder: he,
2217
+ Decoder: cf,
2218
+ Encoder: be,
2219
2219
  get PacketType() {
2220
2220
  return H;
2221
2221
  },
2222
- protocol: Ee
2222
+ protocol: he
2223
2223
  }, Symbol.toStringTag, { value: "Module" }));
2224
2224
  function xu(u, D, f) {
2225
2225
  return u.on(D, f), function() {
2226
2226
  u.off(D, f);
2227
2227
  };
2228
2228
  }
2229
- const Be = Object.freeze({
2229
+ const ge = Object.freeze({
2230
2230
  connect: 1,
2231
2231
  connect_error: 1,
2232
2232
  disconnect: 1,
@@ -2235,7 +2235,7 @@ const Be = Object.freeze({
2235
2235
  newListener: 1,
2236
2236
  removeListener: 1
2237
2237
  });
2238
- class c1 extends Fu {
2238
+ class E1 extends Fu {
2239
2239
  /**
2240
2240
  * `Socket` constructor.
2241
2241
  */
@@ -2351,7 +2351,7 @@ class c1 extends Fu {
2351
2351
  */
2352
2352
  emit(D, ...f) {
2353
2353
  var e, t, n;
2354
- if (Be.hasOwnProperty(D))
2354
+ if (ge.hasOwnProperty(D))
2355
2355
  throw new Error('"' + D.toString() + '" is a reserved event name');
2356
2356
  if (f.unshift(D), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
2357
2357
  return this._addToQueue(f), this;
@@ -2850,7 +2850,7 @@ eD.prototype.setMax = function(u) {
2850
2850
  eD.prototype.setJitter = function(u) {
2851
2851
  this.jitter = u;
2852
2852
  };
2853
- class ZD extends Fu {
2853
+ class QD extends Fu {
2854
2854
  constructor(D, f) {
2855
2855
  var e;
2856
2856
  super(), this.nsps = {}, this.subs = [], D && typeof D == "object" && (f = D, D = void 0), f = f || {}, f.path = f.path || "/socket.io", this.opts = f, AD(this, f), this.reconnection(f.reconnection !== !1), this.reconnectionAttempts(f.reconnectionAttempts || 1 / 0), this.reconnectionDelay(f.reconnectionDelay || 1e3), this.reconnectionDelayMax(f.reconnectionDelayMax || 5e3), this.randomizationFactor((e = f.randomizationFactor) !== null && e !== void 0 ? e : 0.5), this.backoff = new eD({
@@ -2858,7 +2858,7 @@ class ZD extends Fu {
2858
2858
  max: this.reconnectionDelayMax(),
2859
2859
  jitter: this.randomizationFactor()
2860
2860
  }), this.timeout(f.timeout == null ? 2e4 : f.timeout), this._readyState = "closed", this.uri = D;
2861
- const t = f.parser || pe;
2861
+ const t = f.parser || Be;
2862
2862
  this.encoder = new t.Encoder(), this.decoder = new t.Decoder(), this._autoConnect = f.autoConnect !== !1, this._autoConnect && this.open();
2863
2863
  }
2864
2864
  reconnection(D) {
@@ -2901,7 +2901,7 @@ class ZD extends Fu {
2901
2901
  open(D) {
2902
2902
  if (~this._readyState.indexOf("open"))
2903
2903
  return this;
2904
- this.engine = new ae(this.uri, this.opts);
2904
+ this.engine = new se(this.uri, this.opts);
2905
2905
  const f = this.engine, e = this;
2906
2906
  this._readyState = "opening", this.skipReconnect = !1;
2907
2907
  const t = xu(f, "open", function() {
@@ -2991,7 +2991,7 @@ class ZD extends Fu {
2991
2991
  */
2992
2992
  socket(D, f) {
2993
2993
  let e = this.nsps[D];
2994
- return e ? this._autoConnect && !e.active && e.connect() : (e = new c1(this, D, f), this.nsps[D] = e), e;
2994
+ return e ? this._autoConnect && !e.active && e.connect() : (e = new E1(this, D, f), this.nsps[D] = e), e;
2995
2995
  }
2996
2996
  /**
2997
2997
  * Called upon a socket close.
@@ -3091,13 +3091,13 @@ class ZD extends Fu {
3091
3091
  const rD = {};
3092
3092
  function gD(u, D) {
3093
3093
  typeof u == "object" && (D = u, u = void 0), D = D || {};
3094
- const f = se(u, D.path || "/socket.io"), e = f.source, t = f.id, n = f.path, r = rD[t] && n in rD[t].nsps, s = D.forceNew || D["force new connection"] || D.multiplex === !1 || r;
3094
+ const f = Fe(u, D.path || "/socket.io"), e = f.source, t = f.id, n = f.path, r = rD[t] && n in rD[t].nsps, s = D.forceNew || D["force new connection"] || D.multiplex === !1 || r;
3095
3095
  let F;
3096
- return s ? F = new ZD(e, D) : (rD[t] || (rD[t] = new ZD(e, D)), F = rD[t]), f.query && !D.query && (D.query = f.queryKey), F.socket(f.path, D);
3096
+ return s ? F = new QD(e, D) : (rD[t] || (rD[t] = new QD(e, D)), F = rD[t]), f.query && !D.query && (D.query = f.queryKey), F.socket(f.path, D);
3097
3097
  }
3098
3098
  Object.assign(gD, {
3099
- Manager: ZD,
3100
- Socket: c1,
3099
+ Manager: QD,
3100
+ Socket: E1,
3101
3101
  io: gD,
3102
3102
  connect: gD
3103
3103
  });
@@ -3235,11 +3235,11 @@ cD(vD, "defaultConfig", {
3235
3235
  upgrade: !0,
3236
3236
  withCredentials: !0
3237
3237
  });
3238
- let QD = vD, MD;
3239
- const ge = (u, D) => {
3238
+ let uf = vD, MD;
3239
+ const me = (u, D) => {
3240
3240
  var e;
3241
3241
  const f = (e = JSON.parse(localStorage.getItem("profileLiveChat") || "{}")) == null ? void 0 : e.id;
3242
- return MD || (MD = new QD(
3242
+ return MD || (MD = new uf(
3243
3243
  u.apiUrl,
3244
3244
  {
3245
3245
  query: {
@@ -3250,11 +3250,11 @@ const ge = (u, D) => {
3250
3250
  },
3251
3251
  D
3252
3252
  )), MD;
3253
- }, l1 = Mu({
3253
+ }, h1 = Mu({
3254
3254
  socket: {}
3255
- }), E1 = (u) => {
3255
+ }), b1 = (u) => {
3256
3256
  const D = qu(), f = bu(
3257
- ge(D, {
3257
+ me(D, {
3258
3258
  onConnect: () => {
3259
3259
  console.info(
3260
3260
  "Hexabot Live Chat : Successfully established WS Connection!"
@@ -3268,11 +3268,11 @@ const ge = (u, D) => {
3268
3268
  }
3269
3269
  })
3270
3270
  );
3271
- return /* @__PURE__ */ a.jsx(l1.Provider, { value: { socket: f.current }, children: u.children });
3272
- }, Hu = () => Wu(l1), uf = (u, D) => {
3271
+ return /* @__PURE__ */ a.jsx(h1.Provider, { value: { socket: f.current }, children: u.children });
3272
+ }, Hu = () => Wu(h1), Df = (u, D) => {
3273
3273
  const { socket: f } = Hu();
3274
3274
  G(() => (f.on(u, D), () => f.off(u, D)), [u, D, f]);
3275
- }, me = () => {
3275
+ }, _e = () => {
3276
3276
  const { socket: u } = Hu();
3277
3277
  G(() => (u.connect(), () => {
3278
3278
  u.disconnect();
@@ -3306,15 +3306,15 @@ const ge = (u, D) => {
3306
3306
  end_time: "",
3307
3307
  time_zone: "Etc/GMT+12"
3308
3308
  }
3309
- }, h1 = Mu(mD), b1 = ({
3309
+ }, p1 = Mu(mD), B1 = ({
3310
3310
  children: u
3311
3311
  }) => {
3312
- const { t: D } = Nu(), f = Rf.getItem("settings"), [e, t] = U(
3312
+ const { t: D } = Nu(), f = Pf.getItem("settings"), [e, t] = U(
3313
3313
  f || mD
3314
3314
  ), n = Uu((r) => {
3315
- Rf.setItem("settings", r), t(r);
3315
+ Pf.setItem("settings", r), t(r);
3316
3316
  }, []);
3317
- return uf("settings", (r) => {
3317
+ return Df("settings", (r) => {
3318
3318
  var s;
3319
3319
  n({
3320
3320
  ...mD,
@@ -3335,8 +3335,8 @@ const ge = (u, D) => {
3335
3335
  termsAndConditions: r.terms_and_conditions || mD.termsAndConditions,
3336
3336
  offline_mode: r.offline_mode
3337
3337
  });
3338
- }), /* @__PURE__ */ a.jsx(h1.Provider, { value: e, children: u });
3339
- }, pu = () => Wu(h1), p1 = Mu(void 0), B1 = ({
3338
+ }), /* @__PURE__ */ a.jsx(p1.Provider, { value: e, children: u });
3339
+ }, pu = () => Wu(p1), g1 = Mu(void 0), m1 = ({
3340
3340
  onOpen: u,
3341
3341
  onClose: D,
3342
3342
  onScrollToTop: f,
@@ -3363,13 +3363,13 @@ const ge = (u, D) => {
3363
3363
  l(x), f && n && x === 0 && f();
3364
3364
  }
3365
3365
  };
3366
- return /* @__PURE__ */ a.jsx(p1.Provider, { value: L, children: t });
3366
+ return /* @__PURE__ */ a.jsx(g1.Provider, { value: L, children: t });
3367
3367
  }, Tu = () => {
3368
- const u = Wu(p1);
3368
+ const u = Wu(g1);
3369
3369
  if (u === void 0)
3370
3370
  throw new Error("useWidget must be used within a WidgetProvider");
3371
3371
  return u;
3372
- }, _e = (u) => new Intl.DateTimeFormat("en-GB", {
3372
+ }, ye = (u) => new Intl.DateTimeFormat("en-GB", {
3373
3373
  hour: "2-digit",
3374
3374
  minute: "2-digit",
3375
3375
  hour12: !1,
@@ -3378,7 +3378,7 @@ const ge = (u, D) => {
3378
3378
  const D = u || {};
3379
3379
  if (!D || D.status !== "active") return !1;
3380
3380
  if (D.start_time && D.end_time && D.time_zone) {
3381
- const f = _e(D.time_zone);
3381
+ const f = ye(D.time_zone);
3382
3382
  return !(f >= D.start_time && f <= D.end_time);
3383
3383
  }
3384
3384
  return !0;
@@ -3436,7 +3436,7 @@ const ge = (u, D) => {
3436
3436
  isOfflineMode: !1,
3437
3437
  setIsOfflineMode: () => {
3438
3438
  }
3439
- }, g1 = Mu(_u), m1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3439
+ }, _1 = Mu(_u), y1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3440
3440
  const e = qu(), t = pu(), { screen: n, setScreen: r } = Tu(), { setScroll: s, syncState: F, isOpen: d } = Tu(), o = Hu(), [c, l] = U(
3441
3441
  _u.participants
3442
3442
  ), [A, C] = U(
@@ -3470,7 +3470,7 @@ const ge = (u, D) => {
3470
3470
  ]), s(0), "direction" in S && S.direction === uu.received && !S.isOffline && J(!1)), S && "data" in S && "quick_replies" in S.data ? T(
3471
3471
  (S.data.quick_replies || []).map(
3472
3472
  (fu) => ({
3473
- content_type: Gf.text,
3473
+ content_type: Zf.text,
3474
3474
  text: fu.title,
3475
3475
  payload: fu.payload
3476
3476
  })
@@ -3556,11 +3556,11 @@ const ge = (u, D) => {
3556
3556
  o
3557
3557
  ]
3558
3558
  );
3559
- uf(HD.message, (S) => {
3559
+ Df(WD.message, (S) => {
3560
3560
  console.log(
3561
3561
  "=== CALLING handleNewIOMessage from useSubscribe (Socket Realtime) ==="
3562
3562
  ), mu(S);
3563
- }), uf(HD.typing, _);
3563
+ }), Df(WD.typing, _);
3564
3564
  const Pu = (S) => {
3565
3565
  S ? (b(S), r("webview")) : r("chat");
3566
3566
  };
@@ -3576,7 +3576,7 @@ const ge = (u, D) => {
3576
3576
  }
3577
3577
  !S && !cu && r("prechat");
3578
3578
  }
3579
- }, [d]), l0("logout", () => {
3579
+ }, [d]), E0("logout", () => {
3580
3580
  o.socket.disconnect();
3581
3581
  }), G(() => {
3582
3582
  n === "chat" && A === fD.connected && du();
@@ -3629,9 +3629,9 @@ const ge = (u, D) => {
3629
3629
  isOfflineMode: W,
3630
3630
  setIsOfflineMode: J
3631
3631
  };
3632
- return /* @__PURE__ */ a.jsx(g1.Provider, { value: Iu, children: f });
3632
+ return /* @__PURE__ */ a.jsx(_1.Provider, { value: Iu, children: f });
3633
3633
  }, Cu = () => {
3634
- const u = Wu(g1);
3634
+ const u = Wu(_1);
3635
3635
  if (!u)
3636
3636
  throw new Error("useChat must be used within a ChatContext");
3637
3637
  return u;
@@ -3881,21 +3881,21 @@ const ge = (u, D) => {
3881
3881
  text: "#9C9C9C"
3882
3882
  }
3883
3883
  }
3884
- }, ye = (u) => {
3884
+ }, ve = (u) => {
3885
3885
  const D = u.replace("#", ""), f = parseInt(D.substring(0, 2), 16), e = parseInt(D.substring(2, 4), 16), t = parseInt(D.substring(4, 6), 16);
3886
3886
  return (0.299 * f + 0.587 * e + 0.114 * t) / 255 > 0.5 ? "#000000" : "#FFFFFF";
3887
- }, ve = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), we = (u) => {
3887
+ }, we = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Ae = (u) => {
3888
3888
  const D = u.replace("#", "");
3889
3889
  return {
3890
3890
  r: parseInt(D.substring(0, 2), 16),
3891
3891
  g: parseInt(D.substring(2, 4), 16),
3892
3892
  b: parseInt(D.substring(4, 6), 16)
3893
3893
  };
3894
- }, Ae = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), Df = (u) => {
3895
- const D = Ae(u);
3896
- if (!ve(D))
3897
- return console.warn(`Invalid color: ${u}, using default blue theme`), Df("#0074D9");
3898
- const f = ye(D), e = we(D), t = Math.min(255, Math.floor(e.r + (255 - e.r) * 0.9)), n = Math.min(255, Math.floor(e.g + (255 - e.g) * 0.9)), r = Math.min(255, Math.floor(e.b + (255 - e.b) * 0.9)), s = `#${t.toString(16).padStart(2, "0")}${n.toString(16).padStart(2, "0")}${r.toString(16).padStart(2, "0")}`, F = Math.max(0, Math.floor(e.r * 0.8)), d = Math.max(0, Math.floor(e.g * 0.8)), o = Math.max(0, Math.floor(e.b * 0.8));
3894
+ }, xe = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ff = (u) => {
3895
+ const D = xe(u);
3896
+ if (!we(D))
3897
+ return console.warn(`Invalid color: ${u}, using default blue theme`), ff("#0074D9");
3898
+ const f = ve(D), e = Ae(D), t = Math.min(255, Math.floor(e.r + (255 - e.r) * 0.9)), n = Math.min(255, Math.floor(e.g + (255 - e.g) * 0.9)), r = Math.min(255, Math.floor(e.b + (255 - e.b) * 0.9)), s = `#${t.toString(16).padStart(2, "0")}${n.toString(16).padStart(2, "0")}${r.toString(16).padStart(2, "0")}`, F = Math.max(0, Math.floor(e.r * 0.8)), d = Math.max(0, Math.floor(e.g * 0.8)), o = Math.max(0, Math.floor(e.b * 0.8));
3899
3899
  return `${F.toString(16).padStart(2, "0")}${d.toString(16).padStart(2, "0")}${o.toString(16).padStart(2, "0")}`, {
3900
3900
  header: {
3901
3901
  bg: D,
@@ -3931,7 +3931,7 @@ const ge = (u, D) => {
3931
3931
  text: "#9C9C9C"
3932
3932
  }
3933
3933
  };
3934
- }, qf = {
3934
+ }, zf = {
3935
3935
  orange: "#FF851B",
3936
3936
  red: "#FF4136",
3937
3937
  green: "#2ECC40",
@@ -3939,14 +3939,14 @@ const ge = (u, D) => {
3939
3939
  teal: "#1BA089",
3940
3940
  dark: "#000000",
3941
3941
  purple: "#7950F2"
3942
- }, xe = (u) => qf[u] ? Df(qf[u]) : Df(u), ke = () => ({
3942
+ }, ke = (u) => zf[u] ? ff(zf[u]) : ff(u), Se = () => ({
3943
3943
  bg: "#f6f8f9",
3944
3944
  // Light gray background
3945
3945
  text: "#000"
3946
3946
  // Black text
3947
- }), Se = _D.orange, _1 = Mu({
3948
- colors: Se
3949
- }), y1 = ({
3947
+ }), je = _D.orange, v1 = Mu({
3948
+ colors: je
3949
+ }), w1 = ({
3950
3950
  children: u
3951
3951
  }) => {
3952
3952
  const D = pu(), f = () => {
@@ -3955,24 +3955,24 @@ const ge = (u, D) => {
3955
3955
  return _D[e];
3956
3956
  try {
3957
3957
  return {
3958
- ...xe(e),
3958
+ ...ke(e),
3959
3959
  // Keep received message colors fixed (admin chat)
3960
- received: ke()
3960
+ received: Se()
3961
3961
  };
3962
3962
  } catch {
3963
3963
  return console.warn(`Failed to generate theme for color: ${e}, using orange fallback`), _D.orange;
3964
3964
  }
3965
3965
  };
3966
- return /* @__PURE__ */ a.jsx(_1.Provider, { value: { colors: f() }, children: u });
3966
+ return /* @__PURE__ */ a.jsx(v1.Provider, { value: { colors: f() }, children: u });
3967
3967
  }, ou = () => {
3968
- const u = Wu(_1);
3968
+ const u = Wu(v1);
3969
3969
  if (!u)
3970
3970
  throw new Error("useColors must be used within a ColorProvider");
3971
3971
  return u;
3972
- }, cf = ({
3972
+ }, lf = ({
3973
3973
  viewBox: u = "0 0 24 24",
3974
3974
  ...D
3975
- }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }), v1 = ({
3975
+ }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }), A1 = ({
3976
3976
  width: u = "24",
3977
3977
  height: D = "24",
3978
3978
  logoUrl: f,
@@ -3997,7 +3997,7 @@ const ge = (u, D) => {
3997
3997
  )
3998
3998
  ]
3999
3999
  }
4000
- ), je = ({
4000
+ ), Te = ({
4001
4001
  onChatWithStaff: u,
4002
4002
  onSendNoticeToStaff: D
4003
4003
  }) => {
@@ -4058,7 +4058,7 @@ const ge = (u, D) => {
4058
4058
  }
4059
4059
  ) })
4060
4060
  ] });
4061
- }, Te = ({ children: u }) => {
4061
+ }, Ne = ({ children: u }) => {
4062
4062
  const D = pu(), { colors: f } = ou(), e = Tu();
4063
4063
  return /* @__PURE__ */ a.jsxs(
4064
4064
  "div",
@@ -4083,14 +4083,14 @@ const ge = (u, D) => {
4083
4083
  className: "sc-open-icon",
4084
4084
  style: { borderRadius: "50%" }
4085
4085
  }
4086
- ) : /* @__PURE__ */ a.jsx(v1, { width: 32, height: 32 })
4086
+ ) : /* @__PURE__ */ a.jsx(A1, { width: 32, height: 32 })
4087
4087
  }
4088
4088
  ),
4089
4089
  /* @__PURE__ */ a.jsx("div", { className: "sc-header--title", children: D.title })
4090
4090
  ] }),
4091
4091
  /* @__PURE__ */ a.jsxs("div", { className: "sc-header--actions", children: [
4092
4092
  /* @__PURE__ */ a.jsx(
4093
- je,
4093
+ Te,
4094
4094
  {
4095
4095
  onChatWithStaff: () => {
4096
4096
  console.log("Chat with staff requested");
@@ -4105,14 +4105,14 @@ const ge = (u, D) => {
4105
4105
  {
4106
4106
  className: "sc-header--close-button",
4107
4107
  onClick: () => e.setIsOpen(!1),
4108
- children: /* @__PURE__ */ a.jsx(cf, {})
4108
+ children: /* @__PURE__ */ a.jsx(lf, {})
4109
4109
  }
4110
4110
  )
4111
4111
  ] })
4112
4112
  ]
4113
4113
  }
4114
4114
  );
4115
- }, Ne = ({
4115
+ }, Oe = ({
4116
4116
  width: u = "100",
4117
4117
  height: D = "100",
4118
4118
  x: f = "0",
@@ -4137,7 +4137,7 @@ const ge = (u, D) => {
4137
4137
  /* @__PURE__ */ a.jsx("path", { d: "M349.926 17.756c141.317 87.019 164.005 282.465 47.152 399.321-74.64 74.638-183.463 93.269-274.888 57.282 97.36 59.953 228.457 49.147 314.888-37.282 131.453-131.456 82.523-352.533-87.152-419.321z" })
4138
4138
  ]
4139
4139
  }
4140
- ), Oe = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4140
+ ), Re = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4141
4141
  "svg",
4142
4142
  {
4143
4143
  width: u,
@@ -4197,7 +4197,7 @@ const ge = (u, D) => {
4197
4197
  ] })
4198
4198
  ]
4199
4199
  }
4200
- ), Re = () => {
4200
+ ), Pe = () => {
4201
4201
  const { t: u } = Nu(), { connectionState: D, setConnectionState: f } = Cu(), { colors: e } = ou(), t = () => {
4202
4202
  D === 0 && f(1);
4203
4203
  }, n = D > 0;
@@ -4206,8 +4206,8 @@ const ge = (u, D) => {
4206
4206
  {
4207
4207
  className: "sc-chat--disconnected-icon-wrapper",
4208
4208
  style: { backgroundColor: e.messageList.bg },
4209
- children: n ? /* @__PURE__ */ a.jsx(Oe, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4210
- /* @__PURE__ */ a.jsx(Ne, {}),
4209
+ children: n ? /* @__PURE__ */ a.jsx(Re, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4210
+ /* @__PURE__ */ a.jsx(Oe, {}),
4211
4211
  /* @__PURE__ */ a.jsx(
4212
4212
  "h3",
4213
4213
  {
@@ -4233,285 +4233,287 @@ const ge = (u, D) => {
4233
4233
  }
4234
4234
  );
4235
4235
  };
4236
- var w1 = { exports: {} };
4237
- (function(u, D) {
4238
- (function(f, e) {
4239
- u.exports = e();
4240
- })(oD, function() {
4241
- var f = 1e3, e = 6e4, t = 36e5, n = "millisecond", r = "second", s = "minute", F = "hour", d = "day", o = "week", c = "month", l = "quarter", A = "year", C = "date", m = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(N) {
4242
- var E = ["th", "st", "nd", "rd"], p = N % 100;
4243
- return "[" + N + (E[(p - 20) % 10] || E[p] || E[0]) + "]";
4244
- } }, I = function(N, E, p) {
4245
- var k = String(N);
4246
- return !k || k.length >= E ? N : "" + Array(E + 1 - k.length).join(p) + N;
4247
- }, _ = { s: I, z: function(N) {
4248
- var E = -N.utcOffset(), p = Math.abs(E), k = Math.floor(p / 60), b = p % 60;
4249
- return (E <= 0 ? "+" : "-") + I(k, 2, "0") + ":" + I(b, 2, "0");
4250
- }, m: function N(E, p) {
4251
- if (E.date() < p.date()) return -N(p, E);
4252
- var k = 12 * (p.year() - E.year()) + (p.month() - E.month()), b = E.clone().add(k, c), O = p - b < 0, R = E.clone().add(k + (O ? -1 : 1), c);
4253
- return +(-(k + (p - b) / (O ? b - R : R - b)) || 0);
4254
- }, a: function(N) {
4255
- return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
4256
- }, p: function(N) {
4257
- return { M: c, y: A, w: o, d, D: C, h: F, m: s, s: r, ms: n, Q: l }[N] || String(N || "").toLowerCase().replace(/s$/, "");
4258
- }, u: function(N) {
4259
- return N === void 0;
4260
- } }, B = "en", T = {};
4261
- T[B] = x;
4262
- var y = "$isDayjsObject", v = function(N) {
4263
- return N instanceof $ || !(!N || !N[y]);
4264
- }, q = function N(E, p, k) {
4265
- var b;
4266
- if (!E) return B;
4267
- if (typeof E == "string") {
4268
- var O = E.toLowerCase();
4269
- T[O] && (b = O), p && (T[O] = p, b = O);
4270
- var R = E.split("-");
4271
- if (!b && R.length > 1) return N(R[0]);
4272
- } else {
4273
- var W = E.name;
4274
- T[W] = E, b = W;
4275
- }
4276
- return !k && b && (B = b), b || !k && B;
4277
- }, P = function(N, E) {
4278
- if (v(N)) return N.clone();
4279
- var p = typeof E == "object" ? E : {};
4280
- return p.date = N, p.args = arguments, new $(p);
4281
- }, g = _;
4282
- g.l = q, g.i = v, g.w = function(N, E) {
4283
- return P(N, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4284
- };
4285
- var $ = function() {
4286
- function N(p) {
4287
- this.$L = q(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[y] = !0;
4288
- }
4289
- var E = N.prototype;
4290
- return E.parse = function(p) {
4291
- this.$d = function(k) {
4292
- var b = k.date, O = k.utc;
4293
- if (b === null) return /* @__PURE__ */ new Date(NaN);
4294
- if (g.u(b)) return /* @__PURE__ */ new Date();
4295
- if (b instanceof Date) return new Date(b);
4296
- if (typeof b == "string" && !/Z$/i.test(b)) {
4297
- var R = b.match(j);
4298
- if (R) {
4299
- var W = R[2] - 1 || 0, J = (R[7] || "0").substring(0, 3);
4300
- return O ? new Date(Date.UTC(R[1], W, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, J)) : new Date(R[1], W, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, J);
4301
- }
4302
- }
4303
- return new Date(b);
4304
- }(p), this.init();
4305
- }, E.init = function() {
4306
- var p = this.$d;
4307
- this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
4308
- }, E.$utils = function() {
4309
- return g;
4310
- }, E.isValid = function() {
4311
- return this.$d.toString() !== m;
4312
- }, E.isSame = function(p, k) {
4313
- var b = P(p);
4314
- return this.startOf(k) <= b && b <= this.endOf(k);
4315
- }, E.isAfter = function(p, k) {
4316
- return P(p) < this.startOf(k);
4317
- }, E.isBefore = function(p, k) {
4318
- return this.endOf(k) < P(p);
4319
- }, E.$g = function(p, k, b) {
4320
- return g.u(p) ? this[k] : this.set(b, p);
4321
- }, E.unix = function() {
4322
- return Math.floor(this.valueOf() / 1e3);
4323
- }, E.valueOf = function() {
4324
- return this.$d.getTime();
4325
- }, E.startOf = function(p, k) {
4326
- var b = this, O = !!g.u(k) || k, R = g.p(p), W = function(Bu, ru) {
4327
- var du = g.w(b.$u ? Date.UTC(b.$y, ru, Bu) : new Date(b.$y, ru, Bu), b);
4328
- return O ? du : du.endOf(d);
4329
- }, J = function(Bu, ru) {
4330
- return g.w(b.toDate()[Bu].apply(b.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), b);
4331
- }, X = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4332
- switch (R) {
4333
- case A:
4334
- return O ? W(1, 0) : W(31, 11);
4335
- case c:
4336
- return O ? W(1, z) : W(0, z + 1);
4337
- case o:
4338
- var cu = this.$locale().weekStart || 0, mu = (X < cu ? X + 7 : X) - cu;
4339
- return W(O ? Q - mu : Q + (6 - mu), z);
4340
- case d:
4341
- case C:
4342
- return J(tu + "Hours", 0);
4343
- case F:
4344
- return J(tu + "Minutes", 1);
4345
- case s:
4346
- return J(tu + "Seconds", 2);
4347
- case r:
4348
- return J(tu + "Milliseconds", 3);
4349
- default:
4350
- return this.clone();
4236
+ var qD = { exports: {} }, Uf;
4237
+ function x1() {
4238
+ return Uf || (Uf = 1, function(u, D) {
4239
+ (function(f, e) {
4240
+ u.exports = e();
4241
+ })(oD, function() {
4242
+ var f = 1e3, e = 6e4, t = 36e5, n = "millisecond", r = "second", s = "minute", F = "hour", d = "day", o = "week", c = "month", l = "quarter", A = "year", C = "date", m = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(N) {
4243
+ var E = ["th", "st", "nd", "rd"], p = N % 100;
4244
+ return "[" + N + (E[(p - 20) % 10] || E[p] || E[0]) + "]";
4245
+ } }, I = function(N, E, p) {
4246
+ var k = String(N);
4247
+ return !k || k.length >= E ? N : "" + Array(E + 1 - k.length).join(p) + N;
4248
+ }, _ = { s: I, z: function(N) {
4249
+ var E = -N.utcOffset(), p = Math.abs(E), k = Math.floor(p / 60), b = p % 60;
4250
+ return (E <= 0 ? "+" : "-") + I(k, 2, "0") + ":" + I(b, 2, "0");
4251
+ }, m: function N(E, p) {
4252
+ if (E.date() < p.date()) return -N(p, E);
4253
+ var k = 12 * (p.year() - E.year()) + (p.month() - E.month()), b = E.clone().add(k, c), O = p - b < 0, R = E.clone().add(k + (O ? -1 : 1), c);
4254
+ return +(-(k + (p - b) / (O ? b - R : R - b)) || 0);
4255
+ }, a: function(N) {
4256
+ return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
4257
+ }, p: function(N) {
4258
+ return { M: c, y: A, w: o, d, D: C, h: F, m: s, s: r, ms: n, Q: l }[N] || String(N || "").toLowerCase().replace(/s$/, "");
4259
+ }, u: function(N) {
4260
+ return N === void 0;
4261
+ } }, B = "en", T = {};
4262
+ T[B] = x;
4263
+ var y = "$isDayjsObject", v = function(N) {
4264
+ return N instanceof $ || !(!N || !N[y]);
4265
+ }, q = function N(E, p, k) {
4266
+ var b;
4267
+ if (!E) return B;
4268
+ if (typeof E == "string") {
4269
+ var O = E.toLowerCase();
4270
+ T[O] && (b = O), p && (T[O] = p, b = O);
4271
+ var R = E.split("-");
4272
+ if (!b && R.length > 1) return N(R[0]);
4273
+ } else {
4274
+ var W = E.name;
4275
+ T[W] = E, b = W;
4351
4276
  }
4352
- }, E.endOf = function(p) {
4353
- return this.startOf(p, !1);
4354
- }, E.$set = function(p, k) {
4355
- var b, O = g.p(p), R = "set" + (this.$u ? "UTC" : ""), W = (b = {}, b[d] = R + "Date", b[C] = R + "Date", b[c] = R + "Month", b[A] = R + "FullYear", b[F] = R + "Hours", b[s] = R + "Minutes", b[r] = R + "Seconds", b[n] = R + "Milliseconds", b)[O], J = O === d ? this.$D + (k - this.$W) : k;
4356
- if (O === c || O === A) {
4357
- var X = this.clone().set(C, 1);
4358
- X.$d[W](J), X.init(), this.$d = X.set(C, Math.min(this.$D, X.daysInMonth())).$d;
4359
- } else W && this.$d[W](J);
4360
- return this.init(), this;
4361
- }, E.set = function(p, k) {
4362
- return this.clone().$set(p, k);
4363
- }, E.get = function(p) {
4364
- return this[g.p(p)]();
4365
- }, E.add = function(p, k) {
4366
- var b, O = this;
4367
- p = Number(p);
4368
- var R = g.p(k), W = function(z) {
4369
- var Q = P(O);
4370
- return g.w(Q.date(Q.date() + Math.round(z * p)), O);
4371
- };
4372
- if (R === c) return this.set(c, this.$M + p);
4373
- if (R === A) return this.set(A, this.$y + p);
4374
- if (R === d) return W(1);
4375
- if (R === o) return W(7);
4376
- var J = (b = {}, b[s] = e, b[F] = t, b[r] = f, b)[R] || 1, X = this.$d.getTime() + p * J;
4377
- return g.w(X, this);
4378
- }, E.subtract = function(p, k) {
4379
- return this.add(-1 * p, k);
4380
- }, E.format = function(p) {
4381
- var k = this, b = this.$locale();
4382
- if (!this.isValid()) return b.invalidDate || m;
4383
- var O = p || "YYYY-MM-DDTHH:mm:ssZ", R = g.z(this), W = this.$H, J = this.$m, X = this.$M, z = b.weekdays, Q = b.months, tu = b.meridiem, cu = function(ru, du, Pu, Iu) {
4384
- return ru && (ru[du] || ru(k, O)) || Pu[du].slice(0, Iu);
4385
- }, mu = function(ru) {
4386
- return g.s(W % 12 || 12, ru, "0");
4387
- }, Bu = tu || function(ru, du, Pu) {
4388
- var Iu = ru < 12 ? "AM" : "PM";
4389
- return Pu ? Iu.toLowerCase() : Iu;
4390
- };
4391
- return O.replace(L, function(ru, du) {
4392
- return du || function(Pu) {
4393
- switch (Pu) {
4394
- case "YY":
4395
- return String(k.$y).slice(-2);
4396
- case "YYYY":
4397
- return g.s(k.$y, 4, "0");
4398
- case "M":
4399
- return X + 1;
4400
- case "MM":
4401
- return g.s(X + 1, 2, "0");
4402
- case "MMM":
4403
- return cu(b.monthsShort, X, Q, 3);
4404
- case "MMMM":
4405
- return cu(Q, X);
4406
- case "D":
4407
- return k.$D;
4408
- case "DD":
4409
- return g.s(k.$D, 2, "0");
4410
- case "d":
4411
- return String(k.$W);
4412
- case "dd":
4413
- return cu(b.weekdaysMin, k.$W, z, 2);
4414
- case "ddd":
4415
- return cu(b.weekdaysShort, k.$W, z, 3);
4416
- case "dddd":
4417
- return z[k.$W];
4418
- case "H":
4419
- return String(W);
4420
- case "HH":
4421
- return g.s(W, 2, "0");
4422
- case "h":
4423
- return mu(1);
4424
- case "hh":
4425
- return mu(2);
4426
- case "a":
4427
- return Bu(W, J, !0);
4428
- case "A":
4429
- return Bu(W, J, !1);
4430
- case "m":
4431
- return String(J);
4432
- case "mm":
4433
- return g.s(J, 2, "0");
4434
- case "s":
4435
- return String(k.$s);
4436
- case "ss":
4437
- return g.s(k.$s, 2, "0");
4438
- case "SSS":
4439
- return g.s(k.$ms, 3, "0");
4440
- case "Z":
4441
- return R;
4277
+ return !k && b && (B = b), b || !k && B;
4278
+ }, P = function(N, E) {
4279
+ if (v(N)) return N.clone();
4280
+ var p = typeof E == "object" ? E : {};
4281
+ return p.date = N, p.args = arguments, new $(p);
4282
+ }, g = _;
4283
+ g.l = q, g.i = v, g.w = function(N, E) {
4284
+ return P(N, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4285
+ };
4286
+ var $ = function() {
4287
+ function N(p) {
4288
+ this.$L = q(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[y] = !0;
4289
+ }
4290
+ var E = N.prototype;
4291
+ return E.parse = function(p) {
4292
+ this.$d = function(k) {
4293
+ var b = k.date, O = k.utc;
4294
+ if (b === null) return /* @__PURE__ */ new Date(NaN);
4295
+ if (g.u(b)) return /* @__PURE__ */ new Date();
4296
+ if (b instanceof Date) return new Date(b);
4297
+ if (typeof b == "string" && !/Z$/i.test(b)) {
4298
+ var R = b.match(j);
4299
+ if (R) {
4300
+ var W = R[2] - 1 || 0, J = (R[7] || "0").substring(0, 3);
4301
+ return O ? new Date(Date.UTC(R[1], W, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, J)) : new Date(R[1], W, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, J);
4302
+ }
4442
4303
  }
4443
- return null;
4444
- }(ru) || R.replace(":", "");
4445
- });
4446
- }, E.utcOffset = function() {
4447
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4448
- }, E.diff = function(p, k, b) {
4449
- var O, R = this, W = g.p(k), J = P(p), X = (J.utcOffset() - this.utcOffset()) * e, z = this - J, Q = function() {
4450
- return g.m(R, J);
4304
+ return new Date(b);
4305
+ }(p), this.init();
4306
+ }, E.init = function() {
4307
+ var p = this.$d;
4308
+ this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
4309
+ }, E.$utils = function() {
4310
+ return g;
4311
+ }, E.isValid = function() {
4312
+ return this.$d.toString() !== m;
4313
+ }, E.isSame = function(p, k) {
4314
+ var b = P(p);
4315
+ return this.startOf(k) <= b && b <= this.endOf(k);
4316
+ }, E.isAfter = function(p, k) {
4317
+ return P(p) < this.startOf(k);
4318
+ }, E.isBefore = function(p, k) {
4319
+ return this.endOf(k) < P(p);
4320
+ }, E.$g = function(p, k, b) {
4321
+ return g.u(p) ? this[k] : this.set(b, p);
4322
+ }, E.unix = function() {
4323
+ return Math.floor(this.valueOf() / 1e3);
4324
+ }, E.valueOf = function() {
4325
+ return this.$d.getTime();
4326
+ }, E.startOf = function(p, k) {
4327
+ var b = this, O = !!g.u(k) || k, R = g.p(p), W = function(Bu, ru) {
4328
+ var du = g.w(b.$u ? Date.UTC(b.$y, ru, Bu) : new Date(b.$y, ru, Bu), b);
4329
+ return O ? du : du.endOf(d);
4330
+ }, J = function(Bu, ru) {
4331
+ return g.w(b.toDate()[Bu].apply(b.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), b);
4332
+ }, X = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4333
+ switch (R) {
4334
+ case A:
4335
+ return O ? W(1, 0) : W(31, 11);
4336
+ case c:
4337
+ return O ? W(1, z) : W(0, z + 1);
4338
+ case o:
4339
+ var cu = this.$locale().weekStart || 0, mu = (X < cu ? X + 7 : X) - cu;
4340
+ return W(O ? Q - mu : Q + (6 - mu), z);
4341
+ case d:
4342
+ case C:
4343
+ return J(tu + "Hours", 0);
4344
+ case F:
4345
+ return J(tu + "Minutes", 1);
4346
+ case s:
4347
+ return J(tu + "Seconds", 2);
4348
+ case r:
4349
+ return J(tu + "Milliseconds", 3);
4350
+ default:
4351
+ return this.clone();
4352
+ }
4353
+ }, E.endOf = function(p) {
4354
+ return this.startOf(p, !1);
4355
+ }, E.$set = function(p, k) {
4356
+ var b, O = g.p(p), R = "set" + (this.$u ? "UTC" : ""), W = (b = {}, b[d] = R + "Date", b[C] = R + "Date", b[c] = R + "Month", b[A] = R + "FullYear", b[F] = R + "Hours", b[s] = R + "Minutes", b[r] = R + "Seconds", b[n] = R + "Milliseconds", b)[O], J = O === d ? this.$D + (k - this.$W) : k;
4357
+ if (O === c || O === A) {
4358
+ var X = this.clone().set(C, 1);
4359
+ X.$d[W](J), X.init(), this.$d = X.set(C, Math.min(this.$D, X.daysInMonth())).$d;
4360
+ } else W && this.$d[W](J);
4361
+ return this.init(), this;
4362
+ }, E.set = function(p, k) {
4363
+ return this.clone().$set(p, k);
4364
+ }, E.get = function(p) {
4365
+ return this[g.p(p)]();
4366
+ }, E.add = function(p, k) {
4367
+ var b, O = this;
4368
+ p = Number(p);
4369
+ var R = g.p(k), W = function(z) {
4370
+ var Q = P(O);
4371
+ return g.w(Q.date(Q.date() + Math.round(z * p)), O);
4372
+ };
4373
+ if (R === c) return this.set(c, this.$M + p);
4374
+ if (R === A) return this.set(A, this.$y + p);
4375
+ if (R === d) return W(1);
4376
+ if (R === o) return W(7);
4377
+ var J = (b = {}, b[s] = e, b[F] = t, b[r] = f, b)[R] || 1, X = this.$d.getTime() + p * J;
4378
+ return g.w(X, this);
4379
+ }, E.subtract = function(p, k) {
4380
+ return this.add(-1 * p, k);
4381
+ }, E.format = function(p) {
4382
+ var k = this, b = this.$locale();
4383
+ if (!this.isValid()) return b.invalidDate || m;
4384
+ var O = p || "YYYY-MM-DDTHH:mm:ssZ", R = g.z(this), W = this.$H, J = this.$m, X = this.$M, z = b.weekdays, Q = b.months, tu = b.meridiem, cu = function(ru, du, Pu, Iu) {
4385
+ return ru && (ru[du] || ru(k, O)) || Pu[du].slice(0, Iu);
4386
+ }, mu = function(ru) {
4387
+ return g.s(W % 12 || 12, ru, "0");
4388
+ }, Bu = tu || function(ru, du, Pu) {
4389
+ var Iu = ru < 12 ? "AM" : "PM";
4390
+ return Pu ? Iu.toLowerCase() : Iu;
4391
+ };
4392
+ return O.replace(L, function(ru, du) {
4393
+ return du || function(Pu) {
4394
+ switch (Pu) {
4395
+ case "YY":
4396
+ return String(k.$y).slice(-2);
4397
+ case "YYYY":
4398
+ return g.s(k.$y, 4, "0");
4399
+ case "M":
4400
+ return X + 1;
4401
+ case "MM":
4402
+ return g.s(X + 1, 2, "0");
4403
+ case "MMM":
4404
+ return cu(b.monthsShort, X, Q, 3);
4405
+ case "MMMM":
4406
+ return cu(Q, X);
4407
+ case "D":
4408
+ return k.$D;
4409
+ case "DD":
4410
+ return g.s(k.$D, 2, "0");
4411
+ case "d":
4412
+ return String(k.$W);
4413
+ case "dd":
4414
+ return cu(b.weekdaysMin, k.$W, z, 2);
4415
+ case "ddd":
4416
+ return cu(b.weekdaysShort, k.$W, z, 3);
4417
+ case "dddd":
4418
+ return z[k.$W];
4419
+ case "H":
4420
+ return String(W);
4421
+ case "HH":
4422
+ return g.s(W, 2, "0");
4423
+ case "h":
4424
+ return mu(1);
4425
+ case "hh":
4426
+ return mu(2);
4427
+ case "a":
4428
+ return Bu(W, J, !0);
4429
+ case "A":
4430
+ return Bu(W, J, !1);
4431
+ case "m":
4432
+ return String(J);
4433
+ case "mm":
4434
+ return g.s(J, 2, "0");
4435
+ case "s":
4436
+ return String(k.$s);
4437
+ case "ss":
4438
+ return g.s(k.$s, 2, "0");
4439
+ case "SSS":
4440
+ return g.s(k.$ms, 3, "0");
4441
+ case "Z":
4442
+ return R;
4443
+ }
4444
+ return null;
4445
+ }(ru) || R.replace(":", "");
4446
+ });
4447
+ }, E.utcOffset = function() {
4448
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4449
+ }, E.diff = function(p, k, b) {
4450
+ var O, R = this, W = g.p(k), J = P(p), X = (J.utcOffset() - this.utcOffset()) * e, z = this - J, Q = function() {
4451
+ return g.m(R, J);
4452
+ };
4453
+ switch (W) {
4454
+ case A:
4455
+ O = Q() / 12;
4456
+ break;
4457
+ case c:
4458
+ O = Q();
4459
+ break;
4460
+ case l:
4461
+ O = Q() / 3;
4462
+ break;
4463
+ case o:
4464
+ O = (z - X) / 6048e5;
4465
+ break;
4466
+ case d:
4467
+ O = (z - X) / 864e5;
4468
+ break;
4469
+ case F:
4470
+ O = z / t;
4471
+ break;
4472
+ case s:
4473
+ O = z / e;
4474
+ break;
4475
+ case r:
4476
+ O = z / f;
4477
+ break;
4478
+ default:
4479
+ O = z;
4480
+ }
4481
+ return b ? O : g.a(O);
4482
+ }, E.daysInMonth = function() {
4483
+ return this.endOf(c).$D;
4484
+ }, E.$locale = function() {
4485
+ return T[this.$L];
4486
+ }, E.locale = function(p, k) {
4487
+ if (!p) return this.$L;
4488
+ var b = this.clone(), O = q(p, k, !0);
4489
+ return O && (b.$L = O), b;
4490
+ }, E.clone = function() {
4491
+ return g.w(this.$d, this);
4492
+ }, E.toDate = function() {
4493
+ return new Date(this.valueOf());
4494
+ }, E.toJSON = function() {
4495
+ return this.isValid() ? this.toISOString() : null;
4496
+ }, E.toISOString = function() {
4497
+ return this.$d.toISOString();
4498
+ }, E.toString = function() {
4499
+ return this.$d.toUTCString();
4500
+ }, N;
4501
+ }(), Du = $.prototype;
4502
+ return P.prototype = Du, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", A], ["$D", C]].forEach(function(N) {
4503
+ Du[N[1]] = function(E) {
4504
+ return this.$g(E, N[0], N[1]);
4451
4505
  };
4452
- switch (W) {
4453
- case A:
4454
- O = Q() / 12;
4455
- break;
4456
- case c:
4457
- O = Q();
4458
- break;
4459
- case l:
4460
- O = Q() / 3;
4461
- break;
4462
- case o:
4463
- O = (z - X) / 6048e5;
4464
- break;
4465
- case d:
4466
- O = (z - X) / 864e5;
4467
- break;
4468
- case F:
4469
- O = z / t;
4470
- break;
4471
- case s:
4472
- O = z / e;
4473
- break;
4474
- case r:
4475
- O = z / f;
4476
- break;
4477
- default:
4478
- O = z;
4479
- }
4480
- return b ? O : g.a(O);
4481
- }, E.daysInMonth = function() {
4482
- return this.endOf(c).$D;
4483
- }, E.$locale = function() {
4484
- return T[this.$L];
4485
- }, E.locale = function(p, k) {
4486
- if (!p) return this.$L;
4487
- var b = this.clone(), O = q(p, k, !0);
4488
- return O && (b.$L = O), b;
4489
- }, E.clone = function() {
4490
- return g.w(this.$d, this);
4491
- }, E.toDate = function() {
4492
- return new Date(this.valueOf());
4493
- }, E.toJSON = function() {
4494
- return this.isValid() ? this.toISOString() : null;
4495
- }, E.toISOString = function() {
4496
- return this.$d.toISOString();
4497
- }, E.toString = function() {
4498
- return this.$d.toUTCString();
4499
- }, N;
4500
- }(), Du = $.prototype;
4501
- return P.prototype = Du, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", A], ["$D", C]].forEach(function(N) {
4502
- Du[N[1]] = function(E) {
4503
- return this.$g(E, N[0], N[1]);
4504
- };
4505
- }), P.extend = function(N, E) {
4506
- return N.$i || (N(E, $, P), N.$i = !0), P;
4507
- }, P.locale = q, P.isDayjs = v, P.unix = function(N) {
4508
- return P(1e3 * N);
4509
- }, P.en = T[B], P.Ls = T, P.p = {}, P;
4510
- });
4511
- })(w1);
4512
- var A1 = w1.exports;
4513
- const x1 = /* @__PURE__ */ af(A1);
4514
- var Pe = { exports: {} };
4506
+ }), P.extend = function(N, E) {
4507
+ return N.$i || (N(E, $, P), N.$i = !0), P;
4508
+ }, P.locale = q, P.isDayjs = v, P.unix = function(N) {
4509
+ return P(1e3 * N);
4510
+ }, P.en = T[B], P.Ls = T, P.p = {}, P;
4511
+ });
4512
+ }(qD)), qD.exports;
4513
+ }
4514
+ var Ie = x1();
4515
+ const k1 = /* @__PURE__ */ sf(Ie);
4516
+ var Le = { exports: {} };
4515
4517
  (function(u, D) {
4516
4518
  (function(f, e) {
4517
4519
  u.exports = e();
@@ -4521,11 +4523,11 @@ var Pe = { exports: {} };
4521
4523
  return "[" + f + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
4522
4524
  } };
4523
4525
  });
4524
- })(Pe);
4525
- var Ie = { exports: {} };
4526
+ })(Le);
4527
+ var $e = { exports: {} };
4526
4528
  (function(u, D) {
4527
4529
  (function(f, e) {
4528
- u.exports = e(A1);
4530
+ u.exports = e(x1());
4529
4531
  })(oD, function(f) {
4530
4532
  function e(r) {
4531
4533
  return r && typeof r == "object" && "default" in r ? r : { default: r };
@@ -4535,8 +4537,8 @@ var Ie = { exports: {} };
4535
4537
  } };
4536
4538
  return t.default.locale(n, null, !0), n;
4537
4539
  });
4538
- })(Ie);
4539
- var k1 = { exports: {} };
4540
+ })($e);
4541
+ var S1 = { exports: {} };
4540
4542
  (function(u, D) {
4541
4543
  (function(f, e) {
4542
4544
  u.exports = e();
@@ -4577,9 +4579,9 @@ var k1 = { exports: {} };
4577
4579
  };
4578
4580
  };
4579
4581
  });
4580
- })(k1);
4581
- var Le = k1.exports;
4582
- const $e = /* @__PURE__ */ af(Le), S1 = ({
4582
+ })(S1);
4583
+ var Me = S1.exports;
4584
+ const qe = /* @__PURE__ */ sf(Me), j1 = ({
4583
4585
  width: u = "18",
4584
4586
  height: D = "18",
4585
4587
  ...f
@@ -4674,10 +4676,10 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4674
4676
  },
4675
4677
  F
4676
4678
  )) });
4677
- }, Me = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, qe = (u) => u.replace(/\n/g, "<br />"), ze = (u) => {
4678
- let D = Me(u, 50);
4679
- return D = qe(u), D;
4680
- }, Ue = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4679
+ }, ze = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Ue = (u) => u.replace(/\n/g, "<br />"), Ve = (u) => {
4680
+ let D = ze(u, 50);
4681
+ return D = Ue(u), D;
4682
+ }, He = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4681
4683
  u.image_url && /* @__PURE__ */ a.jsx(
4682
4684
  "div",
4683
4685
  {
@@ -4691,7 +4693,7 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4691
4693
  "p",
4692
4694
  {
4693
4695
  dangerouslySetInnerHTML: {
4694
- __html: ze(u.subtitle)
4696
+ __html: Ve(u.subtitle)
4695
4697
  }
4696
4698
  }
4697
4699
  )
@@ -4702,7 +4704,7 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4702
4704
  message: { data: { buttons: u.buttons } }
4703
4705
  }
4704
4706
  )
4705
- ] }) }), Ve = ({
4707
+ ] }) }), We = ({
4706
4708
  messageCarousel: u
4707
4709
  }) => {
4708
4710
  const { colors: D } = ou(), [f, e] = U(0), t = u.data.elements, n = () => {
@@ -4726,7 +4728,7 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4726
4728
  {
4727
4729
  className: "sc-message--carousel-inner",
4728
4730
  style: { transform: `translateX(-${f * 100}%)` },
4729
- children: t.map((d, o) => /* @__PURE__ */ a.jsx(Ue, { message: d, idx: o }, o))
4731
+ children: t.map((d, o) => /* @__PURE__ */ a.jsx(He, { message: d, idx: o }, o))
4730
4732
  }
4731
4733
  ),
4732
4734
  F && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -4750,14 +4752,14 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4750
4752
  ]
4751
4753
  }
4752
4754
  );
4753
- }, He = ({
4755
+ }, Ye = ({
4754
4756
  viewBox: u = "0 0 512 512",
4755
4757
  ...D
4756
4758
  }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsxs("g", { "data-name": "1", children: [
4757
4759
  /* @__PURE__ */ a.jsx("path", { d: "M378.83 450H150a50.17 50.17 0 01-50.11-50.11V98.11A50.17 50.17 0 01150 48h150.1a15 15 0 0110.61 4.39l113.84 113.88a15 15 0 014.39 10.61v223A50.17 50.17 0 01378.83 450zM150 78a20.13 20.13 0 00-20.11 20.11v301.78A20.13 20.13 0 00150 420h228.83a20.13 20.13 0 0020.11-20.11v-216.8L293.85 78z" }),
4758
4760
  /* @__PURE__ */ a.jsx("path", { d: "M413.94 191.88h-78.77a50.17 50.17 0 01-50.11-50.11V63a15 15 0 0130 0v78.77a20.13 20.13 0 0020.11 20.11h78.77a15 15 0 010 30zM264.4 375a15 15 0 01-10.61-4.4l-54.45-54.44a15 15 0 1121.21-21.22l43.85 43.84 43.84-43.84a15 15 0 1121.21 21.22L275 370.55a15 15 0 01-10.6 4.45z" }),
4759
4761
  /* @__PURE__ */ a.jsx("path", { d: "M264.4 365a15 15 0 01-15-15V231a15 15 0 0130 0v119a15 15 0 01-15 15z" })
4760
- ] }) }), We = ({ message: u }) => {
4762
+ ] }) }), Je = ({ message: u }) => {
4761
4763
  const { t: D } = Nu(), { colors: f } = ou(), e = f[u.direction || uu.received];
4762
4764
  if (!("type" in u.data))
4763
4765
  throw new Error("Unable to detect type for file message");
@@ -4797,7 +4799,7 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4797
4799
  rel: "noopener noreferrer",
4798
4800
  download: !0,
4799
4801
  children: [
4800
- /* @__PURE__ */ a.jsx(He, {}),
4802
+ /* @__PURE__ */ a.jsx(Ye, {}),
4801
4803
  D("messages.file_message.download")
4802
4804
  ]
4803
4805
  }
@@ -4807,7 +4809,7 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4807
4809
  ]
4808
4810
  }
4809
4811
  );
4810
- }, Ye = ({ message: u }) => {
4812
+ }, Ke = ({ message: u }) => {
4811
4813
  var d;
4812
4814
  const { colors: D } = ou(), f = Tu(), [e, t] = U(!1), n = bu(null);
4813
4815
  if (G(() => {
@@ -4845,7 +4847,7 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4845
4847
  )
4846
4848
  }
4847
4849
  );
4848
- }, Je = ({ messageList: u }) => {
4850
+ }, Ge = ({ messageList: u }) => {
4849
4851
  const { colors: D } = ou(), f = (r) => {
4850
4852
  let s = e(r, 50);
4851
4853
  return s = t(r), s;
@@ -4917,17 +4919,17 @@ const $e = /* @__PURE__ */ af(Le), S1 = ({
4917
4919
  }
4918
4920
  );
4919
4921
  };
4920
- var ff = function(u, D) {
4921
- return ff = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4922
+ var ef = function(u, D) {
4923
+ return ef = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4922
4924
  f.__proto__ = e;
4923
4925
  } || function(f, e) {
4924
4926
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && (f[t] = e[t]);
4925
- }, ff(u, D);
4927
+ }, ef(u, D);
4926
4928
  };
4927
4929
  function dD(u, D) {
4928
4930
  if (typeof D != "function" && D !== null)
4929
4931
  throw new TypeError("Class extends value " + String(D) + " is not a constructor or null");
4930
- ff(u, D);
4932
+ ef(u, D);
4931
4933
  function f() {
4932
4934
  this.constructor = u;
4933
4935
  }
@@ -4942,7 +4944,7 @@ var iu = function() {
4942
4944
  return D;
4943
4945
  }, iu.apply(this, arguments);
4944
4946
  };
4945
- function Ke(u, D) {
4947
+ function Xe(u, D) {
4946
4948
  var f = typeof Symbol == "function" && u[Symbol.iterator];
4947
4949
  if (!f) return u;
4948
4950
  var e = f.call(u), t, n = [], r;
@@ -4959,16 +4961,16 @@ function Ke(u, D) {
4959
4961
  }
4960
4962
  return n;
4961
4963
  }
4962
- function Ge(u, D, f) {
4964
+ function Ze(u, D, f) {
4963
4965
  if (f || arguments.length === 2) for (var e = 0, t = D.length, n; e < t; e++)
4964
4966
  (n || !(e in D)) && (n || (n = Array.prototype.slice.call(D, 0, e)), n[e] = D[e]);
4965
4967
  return u.concat(n || Array.prototype.slice.call(D));
4966
4968
  }
4967
- var Xe = "4.1.5", Ze = Object.prototype.hasOwnProperty;
4969
+ var Qe = "4.1.5", u3 = Object.prototype.hasOwnProperty;
4968
4970
  function vu(u) {
4969
4971
  return typeof u == "boolean";
4970
4972
  }
4971
- function Qe(u, D, f) {
4973
+ function D3(u, D, f) {
4972
4974
  var e;
4973
4975
  return u.length > D && (f == null ? (f = "&hellip;", e = 3) : e = f.length, u = u.substring(0, D - e) + f), u;
4974
4976
  }
@@ -4979,7 +4981,7 @@ function Ju(u, D) {
4979
4981
  function Ku(u) {
4980
4982
  throw new Error("Unhandled case for value: '".concat(u, "'"));
4981
4983
  }
4982
- var hD = /\s+/, j1 = (
4984
+ var hD = /\s+/, T1 = (
4983
4985
  /** @class */
4984
4986
  function() {
4985
4987
  function u(D) {
@@ -5028,32 +5030,32 @@ var hD = /\s+/, j1 = (
5028
5030
  }, u.prototype.buildAttrsStr = function() {
5029
5031
  var D = this.getAttrs(), f = [];
5030
5032
  for (var e in D)
5031
- Ze.call(D, e) && f.push(e + '="' + D[e] + '"');
5033
+ u3.call(D, e) && f.push(e + '="' + D[e] + '"');
5032
5034
  return f.join(" ");
5033
5035
  }, u;
5034
5036
  }()
5035
5037
  );
5036
- function u3(u, D, f) {
5038
+ function f3(u, D, f) {
5037
5039
  var e, t;
5038
5040
  if (f == null ? (f = "&hellip;", t = 3, e = 8) : (t = f.length, e = f.length), u.length <= D)
5039
5041
  return u;
5040
- var n = D - t, r = D3(u);
5042
+ var n = D - t, r = e3(u);
5041
5043
  if (r.query) {
5042
5044
  var s = r.query.match(/^(.*?)(?=(\?|#))(.*?)$/i);
5043
- s && (r.query = r.query.substr(0, s[1].length), u = zf(r));
5045
+ s && (r.query = r.query.substr(0, s[1].length), u = Vf(r));
5044
5046
  }
5045
- if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = zf(r)), u.length <= D))
5047
+ if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Vf(r)), u.length <= D))
5046
5048
  return u;
5047
5049
  var F = "";
5048
5050
  if (r.host && (F += r.host), F.length >= n)
5049
- return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : qD(F, n, f).substr(0, n + e);
5051
+ return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : zD(F, n, f).substr(0, n + e);
5050
5052
  var d = "";
5051
5053
  if (r.path && (d += "/" + r.path), r.query && (d += "?" + r.query), d)
5052
5054
  if ((F + d).length >= n) {
5053
5055
  if ((F + d).length == D)
5054
5056
  return (F + d).substr(0, D);
5055
5057
  var o = n - F.length;
5056
- return (F + qD(d, o, f)).substr(0, n + e);
5058
+ return (F + zD(d, o, f)).substr(0, n + e);
5057
5059
  } else
5058
5060
  F += d;
5059
5061
  if (r.fragment) {
@@ -5062,7 +5064,7 @@ function u3(u, D, f) {
5062
5064
  if ((F + c).length == D)
5063
5065
  return (F + c).substr(0, D);
5064
5066
  var l = n - F.length;
5065
- return (F + qD(c, l, f)).substr(0, n + e);
5067
+ return (F + zD(c, l, f)).substr(0, n + e);
5066
5068
  } else
5067
5069
  F += c;
5068
5070
  }
@@ -5076,19 +5078,19 @@ function u3(u, D, f) {
5076
5078
  var C = "";
5077
5079
  return n > 0 && (C = F.substr(-1 * Math.floor(n / 2))), (F.substr(0, Math.ceil(n / 2)) + f + C).substr(0, n + e);
5078
5080
  }
5079
- function D3(u) {
5081
+ function e3(u) {
5080
5082
  var D = {}, f = u, e = f.match(/^([a-z]+):\/\//i);
5081
5083
  return e && (D.scheme = e[1], f = f.slice(e[0].length)), e = f.match(/^(.*?)(?=(\?|#|\/|$))/i), e && (D.host = e[1], f = f.slice(e[0].length)), e = f.match(/^\/(.*?)(?=(\?|#|$))/i), e && (D.path = e[1], f = f.slice(e[0].length)), e = f.match(/^\?(.*?)(?=(#|$))/i), e && (D.query = e[1], f = f.slice(e[0].length)), e = f.match(/^#(.*?)$/i), e && (D.fragment = e[1]), D;
5082
5084
  }
5083
- function zf(u) {
5085
+ function Vf(u) {
5084
5086
  var D = "";
5085
5087
  return u.scheme && u.host && (D += u.scheme + "://"), u.host && (D += u.host), u.path && (D += "/" + u.path), u.query && (D += "?" + u.query), u.fragment && (D += "#" + u.fragment), D;
5086
5088
  }
5087
- function qD(u, D, f) {
5089
+ function zD(u, D, f) {
5088
5090
  var e = D / 2, t = Math.ceil(e), n = -1 * Math.floor(e), r = "";
5089
5091
  return n < 0 && (r = u.substr(n)), u.substr(0, t) + f + r;
5090
5092
  }
5091
- function f3(u, D, f) {
5093
+ function t3(u, D, f) {
5092
5094
  if (u.length <= D)
5093
5095
  return u;
5094
5096
  var e, t;
@@ -5096,17 +5098,17 @@ function f3(u, D, f) {
5096
5098
  var n = D - t, r = "";
5097
5099
  return n > 0 && (r = u.substr(-1 * Math.floor(n / 2))), (u.substr(0, Math.ceil(n / 2)) + f + r).substr(0, n + e);
5098
5100
  }
5099
- function e3(u, D, f) {
5100
- return Qe(u, D, f);
5101
+ function n3(u, D, f) {
5102
+ return D3(u, D, f);
5101
5103
  }
5102
- var t3 = (
5104
+ var r3 = (
5103
5105
  /** @class */
5104
5106
  function() {
5105
5107
  function u(D) {
5106
5108
  D === void 0 && (D = {}), this.newWindow = !1, this.truncate = {}, this.className = "", this.newWindow = D.newWindow || !1, this.truncate = D.truncate || {}, this.className = D.className || "";
5107
5109
  }
5108
5110
  return u.prototype.build = function(D) {
5109
- return new j1({
5111
+ return new T1({
5110
5112
  tagName: "a",
5111
5113
  attrs: this.createAttrs(D),
5112
5114
  innerHtml: this.processAnchorText(D.getAnchorText())
@@ -5132,7 +5134,7 @@ var t3 = (
5132
5134
  if (!f.length)
5133
5135
  return D;
5134
5136
  var e = f.length, t = f.location;
5135
- return t === "smart" ? u3(D, e) : t === "middle" ? f3(D, e) : e3(D, e);
5137
+ return t === "smart" ? f3(D, e) : t === "middle" ? t3(D, e) : n3(D, e);
5136
5138
  }, u;
5137
5139
  }()
5138
5140
  ), CD = (
@@ -5154,7 +5156,7 @@ var t3 = (
5154
5156
  }, u;
5155
5157
  }()
5156
5158
  );
5157
- function n3(u) {
5159
+ function a3(u) {
5158
5160
  return u >= 0 && u <= 31 || u == 127;
5159
5161
  }
5160
5162
  function tD(u) {
@@ -5163,7 +5165,7 @@ function tD(u) {
5163
5165
  function Eu(u) {
5164
5166
  return u >= 48 && u <= 57;
5165
5167
  }
5166
- function lf(u) {
5168
+ function Ef(u) {
5167
5169
  return u == 34 || u == 39;
5168
5170
  }
5169
5171
  function Gu(u) {
@@ -5172,67 +5174,67 @@ function Gu(u) {
5172
5174
  function Xu(u) {
5173
5175
  return u < 4800 ? u < 2949 ? u < 2451 ? u < 1425 ? u < 768 ? u < 192 ? u < 169 ? u < 65 ? u >= 48 && u <= 57 : u >= 65 && u <= 90 || u >= 97 && u <= 122 : u < 181 ? u >= 169 && u <= 170 || u == 174 : u == 181 || u == 186 : u < 710 ? u < 216 ? u >= 192 && u <= 214 : u >= 216 && u <= 246 || u >= 248 && u <= 705 : u < 748 ? u >= 710 && u <= 721 || u >= 736 && u <= 740 : u == 748 || u == 750 : u < 910 ? u < 895 ? u < 886 ? u >= 768 && u <= 884 : u >= 886 && u <= 887 || u >= 890 && u <= 893 : u < 904 ? u == 895 || u == 902 : u >= 904 && u <= 906 || u == 908 : u < 1155 ? u < 931 ? u >= 910 && u <= 929 : u >= 931 && u <= 1013 || u >= 1015 && u <= 1153 : u < 1369 ? u >= 1155 && u <= 1327 || u >= 1329 && u <= 1366 : u == 1369 || u >= 1377 && u <= 1415 : u < 1808 ? u < 1552 ? u < 1476 ? u < 1471 ? u >= 1425 && u <= 1469 : u == 1471 || u >= 1473 && u <= 1474 : u < 1488 ? u >= 1476 && u <= 1477 || u == 1479 : u >= 1488 && u <= 1514 || u >= 1520 && u <= 1522 : u < 1749 ? u < 1568 ? u >= 1552 && u <= 1562 : u >= 1568 && u <= 1641 || u >= 1646 && u <= 1747 : u < 1770 ? u >= 1749 && u <= 1756 || u >= 1759 && u <= 1768 : u >= 1770 && u <= 1788 || u == 1791 : u < 2230 ? u < 2042 ? u < 1869 ? u >= 1808 && u <= 1866 : u >= 1869 && u <= 1969 || u >= 1984 && u <= 2037 : u < 2112 ? u == 2042 || u >= 2048 && u <= 2093 : u >= 2112 && u <= 2139 || u >= 2208 && u <= 2228 : u < 2406 ? u < 2260 ? u >= 2230 && u <= 2237 : u >= 2260 && u <= 2273 || u >= 2275 && u <= 2403 : u < 2437 ? u >= 2406 && u <= 2415 || u >= 2417 && u <= 2435 : u >= 2437 && u <= 2444 || u >= 2447 && u <= 2448 : u < 2693 ? u < 2579 ? u < 2519 ? u < 2486 ? u < 2474 ? u >= 2451 && u <= 2472 : u >= 2474 && u <= 2480 || u == 2482 : u < 2503 ? u >= 2486 && u <= 2489 || u >= 2492 && u <= 2500 : u >= 2503 && u <= 2504 || u >= 2507 && u <= 2510 : u < 2534 ? u < 2524 ? u == 2519 : u >= 2524 && u <= 2525 || u >= 2527 && u <= 2531 : u < 2565 ? u >= 2534 && u <= 2545 || u >= 2561 && u <= 2563 : u >= 2565 && u <= 2570 || u >= 2575 && u <= 2576 : u < 2631 ? u < 2613 ? u < 2602 ? u >= 2579 && u <= 2600 : u >= 2602 && u <= 2608 || u >= 2610 && u <= 2611 : u < 2620 ? u >= 2613 && u <= 2614 || u >= 2616 && u <= 2617 : u == 2620 || u >= 2622 && u <= 2626 : u < 2649 ? u < 2635 ? u >= 2631 && u <= 2632 : u >= 2635 && u <= 2637 || u == 2641 : u < 2662 ? u >= 2649 && u <= 2652 || u == 2654 : u >= 2662 && u <= 2677 || u >= 2689 && u <= 2691 : u < 2821 ? u < 2759 ? u < 2730 ? u < 2703 ? u >= 2693 && u <= 2701 : u >= 2703 && u <= 2705 || u >= 2707 && u <= 2728 : u < 2741 ? u >= 2730 && u <= 2736 || u >= 2738 && u <= 2739 : u >= 2741 && u <= 2745 || u >= 2748 && u <= 2757 : u < 2784 ? u < 2763 ? u >= 2759 && u <= 2761 : u >= 2763 && u <= 2765 || u == 2768 : u < 2809 ? u >= 2784 && u <= 2787 || u >= 2790 && u <= 2799 : u == 2809 || u >= 2817 && u <= 2819 : u < 2887 ? u < 2858 ? u < 2831 ? u >= 2821 && u <= 2828 : u >= 2831 && u <= 2832 || u >= 2835 && u <= 2856 : u < 2869 ? u >= 2858 && u <= 2864 || u >= 2866 && u <= 2867 : u >= 2869 && u <= 2873 || u >= 2876 && u <= 2884 : u < 2911 ? u < 2902 ? u >= 2887 && u <= 2888 || u >= 2891 && u <= 2893 : u >= 2902 && u <= 2903 || u >= 2908 && u <= 2909 : u < 2929 ? u >= 2911 && u <= 2915 || u >= 2918 && u <= 2927 : u == 2929 || u >= 2946 && u <= 2947 : u < 3517 ? u < 3205 ? u < 3046 ? u < 2984 ? u < 2969 ? u < 2958 ? u >= 2949 && u <= 2954 : u >= 2958 && u <= 2960 || u >= 2962 && u <= 2965 : u < 2974 ? u >= 2969 && u <= 2970 || u == 2972 : u >= 2974 && u <= 2975 || u >= 2979 && u <= 2980 : u < 3014 ? u < 2990 ? u >= 2984 && u <= 2986 : u >= 2990 && u <= 3001 || u >= 3006 && u <= 3010 : u < 3024 ? u >= 3014 && u <= 3016 || u >= 3018 && u <= 3021 : u == 3024 || u == 3031 : u < 3142 ? u < 3086 ? u < 3072 ? u >= 3046 && u <= 3055 : u >= 3072 && u <= 3075 || u >= 3077 && u <= 3084 : u < 3114 ? u >= 3086 && u <= 3088 || u >= 3090 && u <= 3112 : u >= 3114 && u <= 3129 || u >= 3133 && u <= 3140 : u < 3160 ? u < 3146 ? u >= 3142 && u <= 3144 : u >= 3146 && u <= 3149 || u >= 3157 && u <= 3158 : u < 3174 ? u >= 3160 && u <= 3162 || u >= 3168 && u <= 3171 : u >= 3174 && u <= 3183 || u >= 3200 && u <= 3203 : u < 3333 ? u < 3274 ? u < 3242 ? u < 3214 ? u >= 3205 && u <= 3212 : u >= 3214 && u <= 3216 || u >= 3218 && u <= 3240 : u < 3260 ? u >= 3242 && u <= 3251 || u >= 3253 && u <= 3257 : u >= 3260 && u <= 3268 || u >= 3270 && u <= 3272 : u < 3296 ? u < 3285 ? u >= 3274 && u <= 3277 : u >= 3285 && u <= 3286 || u == 3294 : u < 3313 ? u >= 3296 && u <= 3299 || u >= 3302 && u <= 3311 : u >= 3313 && u <= 3314 || u >= 3329 && u <= 3331 : u < 3423 ? u < 3389 ? u < 3342 ? u >= 3333 && u <= 3340 : u >= 3342 && u <= 3344 || u >= 3346 && u <= 3386 : u < 3402 ? u >= 3389 && u <= 3396 || u >= 3398 && u <= 3400 : u >= 3402 && u <= 3406 || u >= 3412 && u <= 3415 : u < 3458 ? u < 3430 ? u >= 3423 && u <= 3427 : u >= 3430 && u <= 3439 || u >= 3450 && u <= 3455 : u < 3482 ? u >= 3458 && u <= 3459 || u >= 3461 && u <= 3478 : u >= 3482 && u <= 3505 || u >= 3507 && u <= 3515 : u < 3804 ? u < 3722 ? u < 3570 ? u < 3535 ? u < 3520 ? u == 3517 : u >= 3520 && u <= 3526 || u == 3530 : u < 3544 ? u >= 3535 && u <= 3540 || u == 3542 : u >= 3544 && u <= 3551 || u >= 3558 && u <= 3567 : u < 3664 ? u < 3585 ? u >= 3570 && u <= 3571 : u >= 3585 && u <= 3642 || u >= 3648 && u <= 3662 : u < 3716 ? u >= 3664 && u <= 3673 || u >= 3713 && u <= 3714 : u == 3716 || u >= 3719 && u <= 3720 : u < 3754 ? u < 3737 ? u < 3725 ? u == 3722 : u == 3725 || u >= 3732 && u <= 3735 : u < 3749 ? u >= 3737 && u <= 3743 || u >= 3745 && u <= 3747 : u == 3749 || u == 3751 : u < 3776 ? u < 3757 ? u >= 3754 && u <= 3755 : u >= 3757 && u <= 3769 || u >= 3771 && u <= 3773 : u < 3784 ? u >= 3776 && u <= 3780 || u == 3782 : u >= 3784 && u <= 3789 || u >= 3792 && u <= 3801 : u < 4176 ? u < 3902 ? u < 3872 ? u < 3840 ? u >= 3804 && u <= 3807 : u == 3840 || u >= 3864 && u <= 3865 : u < 3895 ? u >= 3872 && u <= 3881 || u == 3893 : u == 3895 || u == 3897 : u < 3974 ? u < 3913 ? u >= 3902 && u <= 3911 : u >= 3913 && u <= 3948 || u >= 3953 && u <= 3972 : u < 4038 ? u >= 3974 && u <= 3991 || u >= 3993 && u <= 4028 : u == 4038 || u >= 4096 && u <= 4169 : u < 4688 ? u < 4301 ? u < 4256 ? u >= 4176 && u <= 4253 : u >= 4256 && u <= 4293 || u == 4295 : u < 4348 ? u == 4301 || u >= 4304 && u <= 4346 : u >= 4348 && u <= 4680 || u >= 4682 && u <= 4685 : u < 4746 ? u < 4698 ? u >= 4688 && u <= 4694 || u == 4696 : u >= 4698 && u <= 4701 || u >= 4704 && u <= 4744 : u < 4786 ? u >= 4746 && u <= 4749 || u >= 4752 && u <= 4784 : u >= 4786 && u <= 4789 || u >= 4792 && u <= 4798 : u < 11035 ? u < 7416 ? u < 6176 ? u < 5873 ? u < 4992 ? u < 4824 ? u < 4802 ? u == 4800 : u >= 4802 && u <= 4805 || u >= 4808 && u <= 4822 : u < 4888 ? u >= 4824 && u <= 4880 || u >= 4882 && u <= 4885 : u >= 4888 && u <= 4954 || u >= 4957 && u <= 4959 : u < 5121 ? u < 5024 ? u >= 4992 && u <= 5007 : u >= 5024 && u <= 5109 || u >= 5112 && u <= 5117 : u < 5761 ? u >= 5121 && u <= 5740 || u >= 5743 && u <= 5759 : u >= 5761 && u <= 5786 || u >= 5792 && u <= 5866 : u < 6002 ? u < 5920 ? u < 5888 ? u >= 5873 && u <= 5880 : u >= 5888 && u <= 5900 || u >= 5902 && u <= 5908 : u < 5984 ? u >= 5920 && u <= 5940 || u >= 5952 && u <= 5971 : u >= 5984 && u <= 5996 || u >= 5998 && u <= 6e3 : u < 6108 ? u < 6016 ? u >= 6002 && u <= 6003 : u >= 6016 && u <= 6099 || u == 6103 : u < 6155 ? u >= 6108 && u <= 6109 || u >= 6112 && u <= 6121 : u >= 6155 && u <= 6157 || u >= 6160 && u <= 6169 : u < 6783 ? u < 6512 ? u < 6400 ? u < 6272 ? u >= 6176 && u <= 6263 : u >= 6272 && u <= 6314 || u >= 6320 && u <= 6389 : u < 6448 ? u >= 6400 && u <= 6430 || u >= 6432 && u <= 6443 : u >= 6448 && u <= 6459 || u >= 6470 && u <= 6509 : u < 6608 ? u < 6528 ? u >= 6512 && u <= 6516 : u >= 6528 && u <= 6571 || u >= 6576 && u <= 6601 : u < 6688 ? u >= 6608 && u <= 6617 || u >= 6656 && u <= 6683 : u >= 6688 && u <= 6750 || u >= 6752 && u <= 6780 : u < 7040 ? u < 6832 ? u < 6800 ? u >= 6783 && u <= 6793 : u >= 6800 && u <= 6809 || u == 6823 : u < 6992 ? u >= 6832 && u <= 6846 || u >= 6912 && u <= 6987 : u >= 6992 && u <= 7001 || u >= 7019 && u <= 7027 : u < 7245 ? u < 7168 ? u >= 7040 && u <= 7155 : u >= 7168 && u <= 7223 || u >= 7232 && u <= 7241 : u < 7376 ? u >= 7245 && u <= 7293 || u >= 7296 && u <= 7304 : u >= 7376 && u <= 7378 || u >= 7380 && u <= 7414 : u < 8450 ? u < 8130 ? u < 8025 ? u < 7960 ? u < 7424 ? u >= 7416 && u <= 7417 : u >= 7424 && u <= 7669 || u >= 7675 && u <= 7957 : u < 8008 ? u >= 7960 && u <= 7965 || u >= 7968 && u <= 8005 : u >= 8008 && u <= 8013 || u >= 8016 && u <= 8023 : u < 8031 ? u < 8027 ? u == 8025 : u == 8027 || u == 8029 : u < 8118 ? u >= 8031 && u <= 8061 || u >= 8064 && u <= 8116 : u >= 8118 && u <= 8124 || u == 8126 : u < 8205 ? u < 8150 ? u < 8134 ? u >= 8130 && u <= 8132 : u >= 8134 && u <= 8140 || u >= 8144 && u <= 8147 : u < 8178 ? u >= 8150 && u <= 8155 || u >= 8160 && u <= 8172 : u >= 8178 && u <= 8180 || u >= 8182 && u <= 8188 : u < 8305 ? u < 8252 ? u == 8205 : u == 8252 || u == 8265 : u < 8336 ? u == 8305 || u == 8319 : u >= 8336 && u <= 8348 || u >= 8400 && u <= 8432 : u < 8579 ? u < 8486 ? u < 8469 ? u < 8455 ? u == 8450 : u == 8455 || u >= 8458 && u <= 8467 : u < 8482 ? u == 8469 || u >= 8473 && u <= 8477 : u == 8482 || u == 8484 : u < 8495 ? u < 8488 ? u == 8486 : u == 8488 || u >= 8490 && u <= 8493 : u < 8517 ? u >= 8495 && u <= 8505 || u >= 8508 && u <= 8511 : u >= 8517 && u <= 8521 || u == 8526 : u < 9410 ? u < 9e3 ? u < 8592 ? u >= 8579 && u <= 8580 : u >= 8592 && u <= 8703 || u >= 8986 && u <= 8987 : u < 9193 ? u == 9e3 || u == 9167 : u >= 9193 && u <= 9203 || u >= 9208 && u <= 9210 : u < 9723 ? u < 9654 ? u == 9410 || u >= 9642 && u <= 9643 : u == 9654 || u == 9664 : u < 10548 ? u >= 9723 && u <= 9726 || u >= 9728 && u <= 10175 : u >= 10548 && u <= 10549 || u >= 11013 && u <= 11015 : u < 43259 ? u < 12445 ? u < 11688 ? u < 11520 ? u < 11264 ? u < 11088 ? u >= 11035 && u <= 11036 : u == 11088 || u == 11093 : u < 11360 ? u >= 11264 && u <= 11310 || u >= 11312 && u <= 11358 : u >= 11360 && u <= 11492 || u >= 11499 && u <= 11507 : u < 11568 ? u < 11559 ? u >= 11520 && u <= 11557 : u == 11559 || u == 11565 : u < 11647 ? u >= 11568 && u <= 11623 || u == 11631 : u >= 11647 && u <= 11670 || u >= 11680 && u <= 11686 : u < 11744 ? u < 11712 ? u < 11696 ? u >= 11688 && u <= 11694 : u >= 11696 && u <= 11702 || u >= 11704 && u <= 11710 : u < 11728 ? u >= 11712 && u <= 11718 || u >= 11720 && u <= 11726 : u >= 11728 && u <= 11734 || u >= 11736 && u <= 11742 : u < 12330 ? u < 11823 ? u >= 11744 && u <= 11775 : u == 11823 || u >= 12293 && u <= 12294 : u < 12353 ? u >= 12330 && u <= 12341 || u >= 12347 && u <= 12349 : u >= 12353 && u <= 12438 || u >= 12441 && u <= 12442 : u < 42512 ? u < 12951 ? u < 12549 ? u < 12449 ? u >= 12445 && u <= 12447 : u >= 12449 && u <= 12538 || u >= 12540 && u <= 12543 : u < 12704 ? u >= 12549 && u <= 12589 || u >= 12593 && u <= 12686 : u >= 12704 && u <= 12730 || u >= 12784 && u <= 12799 : u < 19968 ? u < 12953 ? u == 12951 : u == 12953 || u >= 13312 && u <= 19893 : u < 42192 ? u >= 19968 && u <= 40917 || u >= 40960 && u <= 42124 : u >= 42192 && u <= 42237 || u >= 42240 && u <= 42508 : u < 42891 ? u < 42623 ? u < 42560 ? u >= 42512 && u <= 42539 : u >= 42560 && u <= 42610 || u >= 42612 && u <= 42621 : u < 42775 ? u >= 42623 && u <= 42725 || u >= 42736 && u <= 42737 : u >= 42775 && u <= 42783 || u >= 42786 && u <= 42888 : u < 43072 ? u < 42928 ? u >= 42891 && u <= 42926 : u >= 42928 && u <= 42935 || u >= 42999 && u <= 43047 : u < 43216 ? u >= 43072 && u <= 43123 || u >= 43136 && u <= 43205 : u >= 43216 && u <= 43225 || u >= 43232 && u <= 43255 : u < 55243 ? u < 43744 ? u < 43488 ? u < 43312 ? u < 43261 ? u == 43259 : u == 43261 || u >= 43264 && u <= 43309 : u < 43392 ? u >= 43312 && u <= 43347 || u >= 43360 && u <= 43388 : u >= 43392 && u <= 43456 || u >= 43471 && u <= 43481 : u < 43600 ? u < 43520 ? u >= 43488 && u <= 43518 : u >= 43520 && u <= 43574 || u >= 43584 && u <= 43597 : u < 43642 ? u >= 43600 && u <= 43609 || u >= 43616 && u <= 43638 : u >= 43642 && u <= 43714 || u >= 43739 && u <= 43741 : u < 43824 ? u < 43785 ? u < 43762 ? u >= 43744 && u <= 43759 : u >= 43762 && u <= 43766 || u >= 43777 && u <= 43782 : u < 43808 ? u >= 43785 && u <= 43790 || u >= 43793 && u <= 43798 : u >= 43808 && u <= 43814 || u >= 43816 && u <= 43822 : u < 44012 ? u < 43868 ? u >= 43824 && u <= 43866 : u >= 43868 && u <= 43877 || u >= 43888 && u <= 44010 : u < 44032 ? u >= 44012 && u <= 44013 || u >= 44016 && u <= 44025 : u >= 44032 && u <= 55203 || u >= 55216 && u <= 55238 : u < 64848 ? u < 64298 ? u < 64112 ? u < 55296 ? u >= 55243 && u <= 55291 : u >= 55296 && u <= 57343 || u >= 63744 && u <= 64109 : u < 64275 ? u >= 64112 && u <= 64217 || u >= 64256 && u <= 64262 : u >= 64275 && u <= 64279 || u >= 64285 && u <= 64296 : u < 64320 ? u < 64312 ? u >= 64298 && u <= 64310 : u >= 64312 && u <= 64316 || u == 64318 : u < 64326 ? u >= 64320 && u <= 64321 || u >= 64323 && u <= 64324 : u >= 64326 && u <= 64433 || u >= 64467 && u <= 64829 : u < 65296 ? u < 65024 ? u < 64914 ? u >= 64848 && u <= 64911 : u >= 64914 && u <= 64967 || u >= 65008 && u <= 65019 : u < 65136 ? u >= 65024 && u <= 65039 || u >= 65056 && u <= 65071 : u >= 65136 && u <= 65140 || u >= 65142 && u <= 65276 : u < 65474 ? u < 65345 ? u >= 65296 && u <= 65305 || u >= 65313 && u <= 65338 : u >= 65345 && u <= 65370 || u >= 65382 && u <= 65470 : u < 65490 ? u >= 65474 && u <= 65479 || u >= 65482 && u <= 65487 : u >= 65490 && u <= 65495 || u >= 65498 && u <= 65500;
5174
5176
  }
5175
- function r3(u) {
5177
+ function s3(u) {
5176
5178
  return u < 47 ? u < 42 ? u == 33 || u >= 35 && u <= 39 : u >= 42 && u <= 43 || u == 45 : u < 63 ? u == 47 || u == 61 : u < 94 ? u == 63 : u >= 94 && u <= 96 || u >= 123 && u <= 126;
5177
5179
  }
5178
- function a3(u) {
5180
+ function F3(u) {
5179
5181
  return u < 91 ? u < 47 ? u >= 35 && u <= 43 || u == 45 : u < 61 ? u == 47 : u == 61 || u == 64 : u < 95 ? u == 91 || u == 93 : u < 123 ? u == 95 : u >= 123 && u <= 126 || u == 10003;
5180
5182
  }
5181
- function T1(u) {
5183
+ function N1(u) {
5182
5184
  return u < 58 ? u < 44 ? u == 33 : u == 44 || u == 46 : u < 63 ? u >= 58 && u <= 59 : u == 63 || u == 94;
5183
5185
  }
5184
- function s3(u) {
5186
+ function i3(u) {
5185
5187
  return u < 91 ? u == 40 : u == 91 || u == 123;
5186
5188
  }
5187
- function Uf(u) {
5189
+ function Hf(u) {
5188
5190
  return u < 93 ? u == 41 : u == 93 || u == 125;
5189
5191
  }
5190
- var F3 = /^(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|banamex|bauhaus|bestbuy|booking|brother|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|yamaxun|youtube|zuerich|католик|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kindle|kosher|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|nagoya|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|loans|locus|lotte|lotto|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|scb|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)$/, N1 = /https?:\/\//i, i3 = new RegExp("^" + N1.source, "i"), o3 = /^(javascript|vbscript):/i, d3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, C3 = /^(?:\/\/)?([^/#?:]+)/, iD = tD;
5191
- function O1(u) {
5192
+ var o3 = /^(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|banamex|bauhaus|bestbuy|booking|brother|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|yamaxun|youtube|zuerich|католик|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kindle|kosher|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|nagoya|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|loans|locus|lotte|lotto|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|scb|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)$/, O1 = /https?:\/\//i, d3 = new RegExp("^" + O1.source, "i"), C3 = /^(javascript|vbscript):/i, c3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, l3 = /^(?:\/\/)?([^/#?:]+)/, iD = tD;
5193
+ function R1(u) {
5192
5194
  return tD(u) || Eu(u) || u === 43 || // '+'
5193
5195
  u === 45 || // '-'
5194
5196
  u === 46;
5195
5197
  }
5196
5198
  var Yu = Xu;
5197
- function Ef(u) {
5199
+ function hf(u) {
5198
5200
  return u === 95 || Yu(u);
5199
5201
  }
5200
- function R1(u) {
5201
- return Xu(u) || a3(u) || T1(u);
5202
+ function P1(u) {
5203
+ return Xu(u) || F3(u) || N1(u);
5202
5204
  }
5203
- function hf(u) {
5205
+ function bf(u) {
5204
5206
  return u === 47 || // '/'
5205
5207
  u === 63 || // '?'
5206
5208
  u === 35;
5207
5209
  }
5208
- function P1(u) {
5209
- return F3.test(u.toLowerCase());
5210
+ function I1(u) {
5211
+ return o3.test(u.toLowerCase());
5210
5212
  }
5211
- function c3(u) {
5212
- if (o3.test(u))
5213
+ function E3(u) {
5214
+ if (C3.test(u))
5213
5215
  return !1;
5214
- var D = u.match(d3);
5216
+ var D = u.match(c3);
5215
5217
  if (!D)
5216
5218
  return !1;
5217
5219
  var f = !!D[1], e = D[2];
5218
5220
  return f ? !0 : !(e.indexOf(".") === -1 || !/[A-Za-z]/.test(e));
5219
5221
  }
5220
- function l3(u) {
5221
- var D = u.match(C3);
5222
+ function h3(u) {
5223
+ var D = u.match(l3);
5222
5224
  if (!D)
5223
5225
  return !1;
5224
5226
  var f = D[0], e = f.split(".");
5225
5227
  if (e.length < 2)
5226
5228
  return !1;
5227
5229
  var t = e[e.length - 1];
5228
- return !!P1(t);
5230
+ return !!I1(t);
5229
5231
  }
5230
- var E3 = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/, h3 = /[:/?#]/;
5231
- function b3(u) {
5232
- var D = u.split(h3, 1)[0];
5233
- return E3.test(D);
5232
+ var b3 = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/, p3 = /[:/?#]/;
5233
+ function B3(u) {
5234
+ var D = u.split(p3, 1)[0];
5235
+ return b3.test(D);
5234
5236
  }
5235
- var p3 = /^(https?:\/\/)?(?:www\.)?/i, B3 = /^\/\//, g3 = (
5237
+ var g3 = /^(https?:\/\/)?(?:www\.)?/i, m3 = /^\/\//, _3 = (
5236
5238
  /** @class */
5237
5239
  function(u) {
5238
5240
  dD(D, u);
@@ -5255,23 +5257,23 @@ var p3 = /^(https?:\/\/)?(?:www\.)?/i, B3 = /^\/\//, g3 = (
5255
5257
  return f.replace(/&amp;/g, "&");
5256
5258
  }, D.prototype.getAnchorText = function() {
5257
5259
  var f = this.getMatchedText();
5258
- return this.protocolRelativeMatch && (f = y3(f)), this.stripPrefix.scheme && (f = m3(f)), this.stripPrefix.www && (f = _3(f)), this.stripTrailingSlash && (f = v3(f)), this.decodePercentEncoding && (f = w3(f)), f;
5260
+ return this.protocolRelativeMatch && (f = w3(f)), this.stripPrefix.scheme && (f = y3(f)), this.stripPrefix.www && (f = v3(f)), this.stripTrailingSlash && (f = A3(f)), this.decodePercentEncoding && (f = x3(f)), f;
5259
5261
  }, D;
5260
5262
  }(CD)
5261
5263
  );
5262
- function m3(u) {
5263
- return u.replace(i3, "");
5264
- }
5265
- function _3(u) {
5266
- return u.includes("www.") ? u.replace(p3, "$1") : u;
5267
- }
5268
5264
  function y3(u) {
5269
- return u.replace(B3, "");
5265
+ return u.replace(d3, "");
5270
5266
  }
5271
5267
  function v3(u) {
5272
- return u.charAt(u.length - 1) === "/" && (u = u.slice(0, -1)), u;
5268
+ return u.includes("www.") ? u.replace(g3, "$1") : u;
5273
5269
  }
5274
5270
  function w3(u) {
5271
+ return u.replace(m3, "");
5272
+ }
5273
+ function A3(u) {
5274
+ return u.charAt(u.length - 1) === "/" && (u = u.slice(0, -1)), u;
5275
+ }
5276
+ function x3(u) {
5275
5277
  var D = u.replace(/%(?:22|26|27|3C|3E)/gi, function(f) {
5276
5278
  return f === "%22" ? "&quot;" : f === "%26" ? "&amp;" : f === "%27" ? "&#39;" : f === "%3C" || f === "%3c" ? "&lt;" : "&gt;";
5277
5279
  });
@@ -5282,15 +5284,15 @@ function w3(u) {
5282
5284
  }
5283
5285
  return D;
5284
5286
  }
5285
- var A3 = /^mailto:/i, I1 = Xu;
5286
- function bf(u) {
5287
- return I1(u) || r3(u);
5287
+ var k3 = /^mailto:/i, L1 = Xu;
5288
+ function pf(u) {
5289
+ return L1(u) || s3(u);
5288
5290
  }
5289
- function x3(u) {
5291
+ function S3(u) {
5290
5292
  var D = u.split(".").pop();
5291
- return P1(D);
5293
+ return I1(D);
5292
5294
  }
5293
- var k3 = (
5295
+ var j3 = (
5294
5296
  /** @class */
5295
5297
  function(u) {
5296
5298
  dD(D, u);
@@ -5309,19 +5311,19 @@ var k3 = (
5309
5311
  }, D;
5310
5312
  }(CD)
5311
5313
  );
5312
- function L1(u) {
5314
+ function $1(u) {
5313
5315
  return u === 95 || Xu(u);
5314
5316
  }
5315
- function S3(u) {
5317
+ function T3(u) {
5316
5318
  return u.length <= 140;
5317
5319
  }
5318
- var j3 = [
5320
+ var N3 = [
5319
5321
  "twitter",
5320
5322
  "facebook",
5321
5323
  "instagram",
5322
5324
  "tiktok",
5323
5325
  "youtube"
5324
- ], T3 = (
5326
+ ], O3 = (
5325
5327
  /** @class */
5326
5328
  function(u) {
5327
5329
  dD(D, u);
@@ -5358,7 +5360,7 @@ var j3 = [
5358
5360
  return e && f.push(e), f;
5359
5361
  }, D;
5360
5362
  }(CD)
5361
- ), N3 = {
5363
+ ), R3 = {
5362
5364
  twitter: /^@\w{1,15}$/,
5363
5365
  instagram: /^@[_\w]{1,30}$/,
5364
5366
  soundcloud: /^@[-a-z0-9_]{3,25}$/,
@@ -5370,23 +5372,23 @@ var j3 = [
5370
5372
  // https://support.google.com/youtube/answer/11585688?hl=en&co=GENIE.Platform%3DAndroid#tns
5371
5373
  youtube: /^@[-.·\w]{3,30}$/
5372
5374
  };
5373
- function $1(u) {
5375
+ function M1(u) {
5374
5376
  return u === 45 || // '-'
5375
5377
  u === 46 || // '.'
5376
5378
  u === 95 || // '_'
5377
5379
  tD(u) || Eu(u);
5378
5380
  }
5379
- function O3(u, D) {
5380
- var f = N3[D];
5381
+ function P3(u, D) {
5382
+ var f = R3[D];
5381
5383
  return f.test(u);
5382
5384
  }
5383
- var R3 = [
5385
+ var I3 = [
5384
5386
  "twitter",
5385
5387
  "instagram",
5386
5388
  "soundcloud",
5387
5389
  "tiktok",
5388
5390
  "youtube"
5389
- ], P3 = (
5391
+ ], L3 = (
5390
5392
  /** @class */
5391
5393
  function(u) {
5392
5394
  dD(D, u);
@@ -5422,21 +5424,21 @@ var R3 = [
5422
5424
  return e && f.push(e), f;
5423
5425
  }, D;
5424
5426
  }(CD)
5425
- ), I3 = /[-. ()]/, L3 = /(?:(?:(?:(\+)?\d{1,3}[-. ]?)?\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-. ]?(?:\d[-. ]?){6,12}\d+))([,;]+[0-9]+#?)*/, $3 = /(0([1-9]-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/, M3 = new RegExp("^".concat(L3.source, "|").concat($3.source, "$"));
5426
- function M1(u) {
5427
+ ), $3 = /[-. ()]/, M3 = /(?:(?:(?:(\+)?\d{1,3}[-. ]?)?\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-. ]?(?:\d[-. ]?){6,12}\d+))([,;]+[0-9]+#?)*/, q3 = /(0([1-9]-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/, z3 = new RegExp("^".concat(M3.source, "|").concat(q3.source, "$"));
5428
+ function q1(u) {
5427
5429
  return u === 45 || // '-'
5428
5430
  u === 46 || // '.'
5429
5431
  u === 32;
5430
5432
  }
5431
- function pf(u) {
5433
+ function Bf(u) {
5432
5434
  return u === 44 || // ','
5433
5435
  u === 59;
5434
5436
  }
5435
- function q3(u) {
5436
- var D = u.charAt(0) === "+" || I3.test(u);
5437
- return D && M3.test(u);
5437
+ function U3(u) {
5438
+ var D = u.charAt(0) === "+" || $3.test(u);
5439
+ return D && z3.test(u);
5438
5440
  }
5439
- var z3 = (
5441
+ var V3 = (
5440
5442
  /** @class */
5441
5443
  function(u) {
5442
5444
  dD(D, u);
@@ -5456,7 +5458,7 @@ var z3 = (
5456
5458
  return this.matchedText;
5457
5459
  }, D;
5458
5460
  }(CD)
5459
- ), U3 = (
5461
+ ), H3 = (
5460
5462
  /** @class */
5461
5463
  function() {
5462
5464
  function u(D, f) {
@@ -5469,18 +5471,18 @@ var z3 = (
5469
5471
  enumerable: !1,
5470
5472
  configurable: !0
5471
5473
  }), u.prototype.addMachine = function(D) {
5472
- this._stateMachines.push(D), Hf(D) && this.schemeUrlMachinesCount++;
5474
+ this._stateMachines.push(D), Yf(D) && this.schemeUrlMachinesCount++;
5473
5475
  }, u.prototype.removeMachine = function(D) {
5474
5476
  this._stateMachines = this._stateMachines.filter(function(f) {
5475
5477
  return f !== D;
5476
- }), Hf(D) && this.schemeUrlMachinesCount--;
5478
+ }), Yf(D) && this.schemeUrlMachinesCount--;
5477
5479
  }, u.prototype.hasSchemeUrlMachine = function() {
5478
5480
  return this.schemeUrlMachinesCount > 0;
5479
5481
  }, u;
5480
5482
  }()
5481
5483
  );
5482
- function V3(u, D) {
5483
- for (var f = new U3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5484
+ function W3(u, D) {
5485
+ for (var f = new H3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5484
5486
  var e = u.charAt(f.charIdx), t = u.charCodeAt(f.charIdx);
5485
5487
  if (f.stateMachines.length === 0)
5486
5488
  kD(f, e, t);
@@ -5489,130 +5491,130 @@ function V3(u, D) {
5489
5491
  var r = f.stateMachines[n];
5490
5492
  switch (r.state) {
5491
5493
  case 11:
5492
- G3(f, r, t);
5494
+ Z3(f, r, t);
5493
5495
  break;
5494
5496
  case 12:
5495
- X3(f, r, t);
5497
+ Q3(f, r, t);
5496
5498
  break;
5497
5499
  case 0:
5498
- H3(f, r, t);
5500
+ Y3(f, r, t);
5499
5501
  break;
5500
5502
  case 1:
5501
- W3(f, r, t);
5503
+ J3(f, r, t);
5502
5504
  break;
5503
5505
  case 2:
5504
- Y3(f, r, t);
5506
+ K3(f, r, t);
5505
5507
  break;
5506
5508
  case 3:
5507
- J3(f, r, t);
5509
+ G3(f, r, t);
5508
5510
  break;
5509
5511
  case 4:
5510
- K3(f, r, e, t);
5512
+ X3(f, r, e, t);
5511
5513
  break;
5512
5514
  case 5:
5513
- Z3(f, r, t);
5515
+ u2(f, r, t);
5514
5516
  break;
5515
5517
  case 6:
5516
- Q3(f, r, e, t);
5518
+ D2(f, r, e, t);
5517
5519
  break;
5518
5520
  case 7:
5519
- u2(f, r, e, t);
5521
+ f2(f, r, e, t);
5520
5522
  break;
5521
5523
  case 13:
5522
- D2(f, r, t);
5524
+ e2(f, r, t);
5523
5525
  break;
5524
5526
  case 14:
5525
- f2(f, r, t);
5527
+ t2(f, r, t);
5526
5528
  break;
5527
5529
  case 8:
5528
- e2(f, r, t);
5530
+ n2(f, r, t);
5529
5531
  break;
5530
5532
  case 9:
5531
- t2(f, r, t);
5533
+ r2(f, r, t);
5532
5534
  break;
5533
5535
  case 10:
5534
- n2(f, r, t);
5536
+ a2(f, r, t);
5535
5537
  break;
5536
5538
  case 15:
5537
- r2(f, r, e, t);
5539
+ s2(f, r, e, t);
5538
5540
  break;
5539
5541
  case 16:
5540
- a2(f, r, e, t);
5542
+ F2(f, r, e, t);
5541
5543
  break;
5542
5544
  case 17:
5543
- s2(f, r, e, t);
5545
+ i2(f, r, e, t);
5544
5546
  break;
5545
5547
  case 18:
5546
- F2(f, r, e, t);
5548
+ o2(f, r, e, t);
5547
5549
  break;
5548
5550
  case 19:
5549
- i2(f, r, e, t);
5551
+ d2(f, r, e, t);
5550
5552
  break;
5551
5553
  case 20:
5552
- o2(f, r, t);
5554
+ C2(f, r, t);
5553
5555
  break;
5554
5556
  case 21:
5555
- d2(f, r, t);
5557
+ c2(f, r, t);
5556
5558
  break;
5557
5559
  case 22:
5558
5560
  Zu(f, r, t);
5559
5561
  break;
5560
5562
  case 23:
5561
- C2(f, r, t);
5563
+ l2(f, r, t);
5562
5564
  break;
5563
5565
  case 24:
5564
- c2(f, r, t);
5566
+ E2(f, r, t);
5565
5567
  break;
5566
5568
  case 25:
5567
- l2(f, r, t);
5569
+ h2(f, r, t);
5568
5570
  break;
5569
5571
  case 26:
5570
- E2(f, r, t);
5572
+ b2(f, r, t);
5571
5573
  break;
5572
5574
  case 27:
5573
- h2(f, r, t);
5575
+ p2(f, r, t);
5574
5576
  break;
5575
5577
  case 28:
5576
- b2(f, r, t);
5578
+ B2(f, r, t);
5577
5579
  break;
5578
5580
  case 29:
5579
- p2(f, r, t);
5581
+ g2(f, r, t);
5580
5582
  break;
5581
5583
  case 30:
5582
- B2(f, r, t);
5584
+ m2(f, r, t);
5583
5585
  break;
5584
5586
  case 31:
5585
- g2(f, r, t);
5587
+ _2(f, r, t);
5586
5588
  break;
5587
5589
  case 32:
5588
- _2(f, r, e, t);
5590
+ v2(f, r, e, t);
5589
5591
  break;
5590
5592
  case 33:
5591
- y2(f, r, t);
5593
+ w2(f, r, t);
5592
5594
  break;
5593
5595
  case 34:
5594
- v2(f, r, t);
5596
+ A2(f, r, t);
5595
5597
  break;
5596
5598
  case 35:
5597
- w2(f, r, t);
5599
+ x2(f, r, t);
5598
5600
  break;
5599
5601
  case 36:
5600
- A2(f, r, e, t);
5602
+ k2(f, r, e, t);
5601
5603
  break;
5602
5604
  case 37:
5603
- m2(f, r, e, t);
5605
+ y2(f, r, e, t);
5604
5606
  break;
5605
5607
  case 38:
5606
- x2(f, r, e, t);
5608
+ S2(f, r, e, t);
5607
5609
  break;
5608
5610
  case 39:
5609
- k2(f, r, e, t);
5611
+ j2(f, r, e, t);
5610
5612
  break;
5611
5613
  case 40:
5612
- S2(f, r, t);
5614
+ T2(f, r, t);
5613
5615
  break;
5614
5616
  case 41:
5615
- j2(f, r, t);
5617
+ N2(f, r, t);
5616
5618
  break;
5617
5619
  default:
5618
5620
  Ku(r.state);
@@ -5637,71 +5639,71 @@ function V3(u, D) {
5637
5639
  function kD(u, D, f) {
5638
5640
  var e = u.charIdx;
5639
5641
  if (f === 35)
5640
- u.addMachine(P2(
5642
+ u.addMachine(L2(
5641
5643
  e,
5642
5644
  28
5643
5645
  /* State.HashtagHashChar */
5644
5646
  ));
5645
5647
  else if (f === 64)
5646
- u.addMachine(I2(
5648
+ u.addMachine($2(
5647
5649
  e,
5648
5650
  30
5649
5651
  /* State.MentionAtChar */
5650
5652
  ));
5651
5653
  else if (f === 47)
5652
- u.addMachine(ef(
5654
+ u.addMachine(tf(
5653
5655
  e,
5654
5656
  11
5655
5657
  /* State.ProtocolRelativeSlash1 */
5656
5658
  ));
5657
5659
  else if (f === 43)
5658
- u.addMachine(zD(
5660
+ u.addMachine(UD(
5659
5661
  e,
5660
5662
  37
5661
5663
  /* State.PhoneNumberPlus */
5662
5664
  ));
5663
5665
  else if (f === 40)
5664
- u.addMachine(zD(
5666
+ u.addMachine(UD(
5665
5667
  e,
5666
5668
  32
5667
5669
  /* State.PhoneNumberOpenParen */
5668
5670
  ));
5669
5671
  else {
5670
- if (Eu(f) && (u.addMachine(zD(
5672
+ if (Eu(f) && (u.addMachine(UD(
5671
5673
  e,
5672
5674
  38
5673
5675
  /* State.PhoneNumberDigit */
5674
- )), u.addMachine(O2(
5676
+ )), u.addMachine(P2(
5675
5677
  e,
5676
5678
  13
5677
5679
  /* State.IpV4Digit */
5678
- ))), I1(f)) {
5680
+ ))), L1(f)) {
5679
5681
  var t = D.toLowerCase() === "m" ? 15 : 22;
5680
- u.addMachine(R2(e, t));
5682
+ u.addMachine(I2(e, t));
5681
5683
  }
5682
5684
  iD(f) && u.addMachine(SD(
5683
5685
  e,
5684
5686
  0
5685
5687
  /* State.SchemeChar */
5686
- )), Xu(f) && u.addMachine(ef(
5688
+ )), Xu(f) && u.addMachine(tf(
5687
5689
  e,
5688
5690
  5
5689
5691
  /* State.DomainLabelChar */
5690
5692
  ));
5691
5693
  }
5692
5694
  }
5693
- function H3(u, D, f) {
5694
- f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : O1(f) || u.removeMachine(D);
5695
+ function Y3(u, D, f) {
5696
+ f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : R1(f) || u.removeMachine(D);
5695
5697
  }
5696
- function W3(u, D, f) {
5698
+ function J3(u, D, f) {
5697
5699
  var e = u.charIdx;
5698
- f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(ef(
5700
+ f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(tf(
5699
5701
  e,
5700
5702
  11
5701
5703
  /* State.ProtocolRelativeSlash1 */
5702
- ))) : O1(f) ? D.state = 0 : u.removeMachine(D));
5704
+ ))) : R1(f) ? D.state = 0 : u.removeMachine(D));
5703
5705
  }
5704
- function Y3(u, D, f) {
5706
+ function K3(u, D, f) {
5705
5707
  var e = u.charIdx;
5706
5708
  f === 47 ? D.state = 3 : f === 46 ? u.removeMachine(D) : Yu(f) ? (D.state = 5, iD(f) && u.addMachine(SD(
5707
5709
  e,
@@ -5709,162 +5711,162 @@ function Y3(u, D, f) {
5709
5711
  /* State.SchemeChar */
5710
5712
  ))) : u.removeMachine(D);
5711
5713
  }
5712
- function J3(u, D, f) {
5713
- f === 47 ? D.state = 4 : R1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5714
+ function G3(u, D, f) {
5715
+ f === 47 ? D.state = 4 : P1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5714
5716
  }
5715
- function K3(u, D, f, e) {
5717
+ function X3(u, D, f, e) {
5716
5718
  e === 47 ? (D.state = 10, D.acceptStateReached = !0) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : u.removeMachine(D);
5717
5719
  }
5718
- function G3(u, D, f) {
5720
+ function Z3(u, D, f) {
5719
5721
  f === 47 ? D.state = 12 : u.removeMachine(D);
5720
5722
  }
5721
- function X3(u, D, f) {
5723
+ function Q3(u, D, f) {
5722
5724
  Yu(f) ? D.state = 5 : u.removeMachine(D);
5723
5725
  }
5724
- function Z3(u, D, f) {
5725
- f === 46 ? D.state = 7 : f === 45 ? D.state = 6 : f === 58 ? D.state = 8 : hf(f) ? D.state = 10 : Ef(f) || eu(u, D);
5726
+ function u2(u, D, f) {
5727
+ f === 46 ? D.state = 7 : f === 45 ? D.state = 6 : f === 58 ? D.state = 8 : bf(f) ? D.state = 10 : hf(f) || eu(u, D);
5726
5728
  }
5727
- function Q3(u, D, f, e) {
5729
+ function D2(u, D, f, e) {
5728
5730
  e === 45 || (e === 46 ? eu(u, D) : Yu(e) ? D.state = 5 : eu(u, D));
5729
5731
  }
5730
- function u2(u, D, f, e) {
5732
+ function f2(u, D, f, e) {
5731
5733
  e === 46 ? eu(u, D) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : eu(u, D);
5732
5734
  }
5733
- function D2(u, D, f) {
5734
- f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (hf(f) ? D.state = 10 : Xu(f) ? u.removeMachine(D) : eu(u, D));
5735
+ function e2(u, D, f) {
5736
+ f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (bf(f) ? D.state = 10 : Xu(f) ? u.removeMachine(D) : eu(u, D));
5735
5737
  }
5736
- function f2(u, D, f) {
5738
+ function t2(u, D, f) {
5737
5739
  Eu(f) ? (D.octetsEncountered++, D.octetsEncountered === 4 && (D.acceptStateReached = !0), D.state = 13) : eu(u, D);
5738
5740
  }
5739
- function e2(u, D, f) {
5741
+ function n2(u, D, f) {
5740
5742
  Eu(f) ? D.state = 9 : eu(u, D);
5741
5743
  }
5742
- function t2(u, D, f) {
5743
- Eu(f) || (hf(f) ? D.state = 10 : eu(u, D));
5744
+ function r2(u, D, f) {
5745
+ Eu(f) || (bf(f) ? D.state = 10 : eu(u, D));
5744
5746
  }
5745
- function n2(u, D, f) {
5746
- R1(f) || eu(u, D);
5747
+ function a2(u, D, f) {
5748
+ P1(f) || eu(u, D);
5747
5749
  }
5748
- function r2(u, D, f, e) {
5750
+ function s2(u, D, f, e) {
5749
5751
  f.toLowerCase() === "a" ? D.state = 16 : Zu(u, D, e);
5750
5752
  }
5751
- function a2(u, D, f, e) {
5753
+ function F2(u, D, f, e) {
5752
5754
  f.toLowerCase() === "i" ? D.state = 17 : Zu(u, D, e);
5753
5755
  }
5754
- function s2(u, D, f, e) {
5756
+ function i2(u, D, f, e) {
5755
5757
  f.toLowerCase() === "l" ? D.state = 18 : Zu(u, D, e);
5756
5758
  }
5757
- function F2(u, D, f, e) {
5759
+ function o2(u, D, f, e) {
5758
5760
  f.toLowerCase() === "t" ? D.state = 19 : Zu(u, D, e);
5759
5761
  }
5760
- function i2(u, D, f, e) {
5762
+ function d2(u, D, f, e) {
5761
5763
  f.toLowerCase() === "o" ? D.state = 20 : Zu(u, D, e);
5762
5764
  }
5763
- function o2(u, D, f) {
5765
+ function C2(u, D, f) {
5764
5766
  f === 58 ? D.state = 21 : Zu(u, D, f);
5765
5767
  }
5766
- function d2(u, D, f) {
5767
- bf(f) ? D.state = 22 : u.removeMachine(D);
5768
+ function c2(u, D, f) {
5769
+ pf(f) ? D.state = 22 : u.removeMachine(D);
5768
5770
  }
5769
5771
  function Zu(u, D, f) {
5770
- f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : bf(f) ? D.state = 22 : u.removeMachine(D);
5771
- }
5772
- function C2(u, D, f) {
5773
- f === 46 || f === 64 ? u.removeMachine(D) : bf(f) ? D.state = 22 : u.removeMachine(D);
5774
- }
5775
- function c2(u, D, f) {
5776
- Yu(f) ? D.state = 25 : u.removeMachine(D);
5772
+ f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : pf(f) ? D.state = 22 : u.removeMachine(D);
5777
5773
  }
5778
5774
  function l2(u, D, f) {
5779
- f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : Ef(f) || eu(u, D);
5775
+ f === 46 || f === 64 ? u.removeMachine(D) : pf(f) ? D.state = 22 : u.removeMachine(D);
5780
5776
  }
5781
5777
  function E2(u, D, f) {
5782
- f === 45 || f === 46 ? eu(u, D) : Ef(f) ? D.state = 25 : eu(u, D);
5778
+ Yu(f) ? D.state = 25 : u.removeMachine(D);
5783
5779
  }
5784
5780
  function h2(u, D, f) {
5785
- f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5781
+ f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : hf(f) || eu(u, D);
5786
5782
  }
5787
5783
  function b2(u, D, f) {
5788
- L1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5784
+ f === 45 || f === 46 ? eu(u, D) : hf(f) ? D.state = 25 : eu(u, D);
5789
5785
  }
5790
5786
  function p2(u, D, f) {
5791
- L1(f) || eu(u, D);
5787
+ f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5792
5788
  }
5793
5789
  function B2(u, D, f) {
5794
- $1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5790
+ $1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5795
5791
  }
5796
5792
  function g2(u, D, f) {
5797
- $1(f) || (Xu(f) ? u.removeMachine(D) : eu(u, D));
5793
+ $1(f) || eu(u, D);
5794
+ }
5795
+ function m2(u, D, f) {
5796
+ M1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5798
5797
  }
5799
- function m2(u, D, f, e) {
5798
+ function _2(u, D, f) {
5799
+ M1(f) || (Xu(f) ? u.removeMachine(D) : eu(u, D));
5800
+ }
5801
+ function y2(u, D, f, e) {
5800
5802
  Eu(e) ? D.state = 38 : (u.removeMachine(D), kD(u, f, e));
5801
5803
  }
5802
- function _2(u, D, f, e) {
5804
+ function v2(u, D, f, e) {
5803
5805
  Eu(e) ? D.state = 33 : u.removeMachine(D), kD(u, f, e);
5804
5806
  }
5805
- function y2(u, D, f) {
5807
+ function w2(u, D, f) {
5806
5808
  Eu(f) ? D.state = 34 : u.removeMachine(D);
5807
5809
  }
5808
- function v2(u, D, f) {
5810
+ function A2(u, D, f) {
5809
5811
  Eu(f) ? D.state = 35 : u.removeMachine(D);
5810
5812
  }
5811
- function w2(u, D, f) {
5813
+ function x2(u, D, f) {
5812
5814
  f === 41 ? D.state = 36 : u.removeMachine(D);
5813
5815
  }
5814
- function A2(u, D, f, e) {
5815
- Eu(e) ? D.state = 38 : M1(e) ? D.state = 39 : u.removeMachine(D);
5816
+ function k2(u, D, f, e) {
5817
+ Eu(e) ? D.state = 38 : q1(e) ? D.state = 39 : u.removeMachine(D);
5816
5818
  }
5817
- function x2(u, D, f, e) {
5819
+ function S2(u, D, f, e) {
5818
5820
  var t = u.charIdx;
5819
- D.acceptStateReached = !0, pf(e) ? D.state = 40 : e === 35 ? D.state = 41 : Eu(e) || (e === 40 ? D.state = 32 : M1(e) ? D.state = 39 : (eu(u, D), iD(e) && u.addMachine(SD(
5821
+ D.acceptStateReached = !0, Bf(e) ? D.state = 40 : e === 35 ? D.state = 41 : Eu(e) || (e === 40 ? D.state = 32 : q1(e) ? D.state = 39 : (eu(u, D), iD(e) && u.addMachine(SD(
5820
5822
  t,
5821
5823
  0
5822
5824
  /* State.SchemeChar */
5823
5825
  ))));
5824
5826
  }
5825
- function k2(u, D, f, e) {
5827
+ function j2(u, D, f, e) {
5826
5828
  Eu(e) ? D.state = 38 : e === 40 ? D.state = 32 : (eu(u, D), kD(u, f, e));
5827
5829
  }
5828
- function S2(u, D, f) {
5829
- pf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5830
+ function T2(u, D, f) {
5831
+ Bf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5830
5832
  }
5831
- function j2(u, D, f) {
5832
- pf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5833
+ function N2(u, D, f) {
5834
+ Bf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5833
5835
  }
5834
5836
  function eu(u, D) {
5835
5837
  var f = u.matches, e = u.text, t = u.charIdx, n = u.tagBuilder, r = u.stripPrefix, s = u.stripTrailingSlash, F = u.decodePercentEncoding, d = u.hashtagServiceName, o = u.mentionServiceName;
5836
5838
  if (u.removeMachine(D), !!D.acceptStateReached) {
5837
5839
  var c = D.startIdx, l = e.slice(D.startIdx, t);
5838
- switch (l = N2(l), D.type) {
5840
+ switch (l = R2(l), D.type) {
5839
5841
  case 0: {
5840
5842
  var A = e.charCodeAt(D.startIdx - 1);
5841
5843
  if (A === 64)
5842
5844
  return;
5843
5845
  switch (D.matchType) {
5844
5846
  case 0: {
5845
- var C = N1.exec(l);
5846
- if (C && (c = c + C.index, l = l.slice(C.index)), !c3(l))
5847
+ var C = O1.exec(l);
5848
+ if (C && (c = c + C.index, l = l.slice(C.index)), !E3(l))
5847
5849
  return;
5848
5850
  break;
5849
5851
  }
5850
5852
  case 1: {
5851
- if (!l3(l))
5853
+ if (!h3(l))
5852
5854
  return;
5853
5855
  break;
5854
5856
  }
5855
5857
  case 2: {
5856
- if (!b3(l))
5858
+ if (!B3(l))
5857
5859
  return;
5858
5860
  break;
5859
5861
  }
5860
5862
  default:
5861
5863
  Ku(D);
5862
5864
  }
5863
- f.push(new g3({
5865
+ f.push(new _3({
5864
5866
  tagBuilder: n,
5865
5867
  matchedText: l,
5866
5868
  offset: c,
5867
- urlMatchType: T2(D.matchType),
5869
+ urlMatchType: O2(D.matchType),
5868
5870
  url: l,
5869
5871
  protocolRelativeMatch: l.slice(0, 2) === "//",
5870
5872
  // TODO: Do these settings need to be passed to the match,
@@ -5876,16 +5878,16 @@ function eu(u, D) {
5876
5878
  break;
5877
5879
  }
5878
5880
  case 1: {
5879
- x3(l) && f.push(new k3({
5881
+ S3(l) && f.push(new j3({
5880
5882
  tagBuilder: n,
5881
5883
  matchedText: l,
5882
5884
  offset: c,
5883
- email: l.replace(A3, "")
5885
+ email: l.replace(k3, "")
5884
5886
  }));
5885
5887
  break;
5886
5888
  }
5887
5889
  case 2: {
5888
- S3(l) && f.push(new T3({
5890
+ T3(l) && f.push(new O3({
5889
5891
  tagBuilder: n,
5890
5892
  matchedText: l,
5891
5893
  offset: c,
@@ -5895,7 +5897,7 @@ function eu(u, D) {
5895
5897
  break;
5896
5898
  }
5897
5899
  case 3: {
5898
- O3(l, o) && f.push(new P3({
5900
+ P3(l, o) && f.push(new L3({
5899
5901
  tagBuilder: n,
5900
5902
  matchedText: l,
5901
5903
  offset: c,
@@ -5906,9 +5908,9 @@ function eu(u, D) {
5906
5908
  break;
5907
5909
  }
5908
5910
  case 4: {
5909
- if (l = l.replace(/ +$/g, ""), q3(l)) {
5911
+ if (l = l.replace(/ +$/g, ""), U3(l)) {
5910
5912
  var m = l.replace(/[^0-9,;#]/g, "");
5911
- f.push(new z3({
5913
+ f.push(new V3({
5912
5914
  tagBuilder: n,
5913
5915
  matchedText: l,
5914
5916
  offset: c,
@@ -5923,7 +5925,7 @@ function eu(u, D) {
5923
5925
  }
5924
5926
  }
5925
5927
  }
5926
- function T2(u) {
5928
+ function O2(u) {
5927
5929
  switch (u) {
5928
5930
  case 0:
5929
5931
  return "scheme";
@@ -5935,29 +5937,29 @@ function T2(u) {
5935
5937
  Ku(u);
5936
5938
  }
5937
5939
  }
5938
- var Vf = {
5940
+ var Wf = {
5939
5941
  ")": "(",
5940
5942
  "}": "{",
5941
5943
  "]": "["
5942
5944
  };
5943
- function N2(u) {
5945
+ function R2(u) {
5944
5946
  for (var D = {
5945
5947
  "(": 0,
5946
5948
  "{": 0,
5947
5949
  "[": 0
5948
5950
  }, f = 0; f < u.length; f++) {
5949
5951
  var e = u.charAt(f), t = u.charCodeAt(f);
5950
- s3(t) ? D[e]++ : Uf(t) && D[Vf[e]]--;
5952
+ i3(t) ? D[e]++ : Hf(t) && D[Wf[e]]--;
5951
5953
  }
5952
5954
  for (var n = u.length - 1; n >= 0; ) {
5953
5955
  var e = u.charAt(n), t = u.charCodeAt(n);
5954
- if (Uf(t)) {
5955
- var r = Vf[e];
5956
+ if (Hf(t)) {
5957
+ var r = Wf[e];
5956
5958
  if (D[r] < 0)
5957
5959
  D[r]++, n--;
5958
5960
  else
5959
5961
  break;
5960
- } else if (T1(t))
5962
+ } else if (N1(t))
5961
5963
  n--;
5962
5964
  else
5963
5965
  break;
@@ -5973,7 +5975,7 @@ function SD(u, D) {
5973
5975
  matchType: 0
5974
5976
  };
5975
5977
  }
5976
- function ef(u, D) {
5978
+ function tf(u, D) {
5977
5979
  return {
5978
5980
  type: 0,
5979
5981
  startIdx: u,
@@ -5982,7 +5984,7 @@ function ef(u, D) {
5982
5984
  matchType: 1
5983
5985
  };
5984
5986
  }
5985
- function O2(u, D) {
5987
+ function P2(u, D) {
5986
5988
  return {
5987
5989
  type: 0,
5988
5990
  startIdx: u,
@@ -5993,7 +5995,7 @@ function O2(u, D) {
5993
5995
  // starts at 1 because we create this machine when encountering the first octet
5994
5996
  };
5995
5997
  }
5996
- function R2(u, D) {
5998
+ function I2(u, D) {
5997
5999
  return {
5998
6000
  type: 1,
5999
6001
  startIdx: u,
@@ -6001,7 +6003,7 @@ function R2(u, D) {
6001
6003
  acceptStateReached: !1
6002
6004
  };
6003
6005
  }
6004
- function P2(u, D) {
6006
+ function L2(u, D) {
6005
6007
  return {
6006
6008
  type: 2,
6007
6009
  startIdx: u,
@@ -6009,7 +6011,7 @@ function P2(u, D) {
6009
6011
  acceptStateReached: !1
6010
6012
  };
6011
6013
  }
6012
- function I2(u, D) {
6014
+ function $2(u, D) {
6013
6015
  return {
6014
6016
  type: 3,
6015
6017
  startIdx: u,
@@ -6017,7 +6019,7 @@ function I2(u, D) {
6017
6019
  acceptStateReached: !1
6018
6020
  };
6019
6021
  }
6020
- function zD(u, D) {
6022
+ function UD(u, D) {
6021
6023
  return {
6022
6024
  type: 4,
6023
6025
  startIdx: u,
@@ -6025,7 +6027,7 @@ function zD(u, D) {
6025
6027
  acceptStateReached: !1
6026
6028
  };
6027
6029
  }
6028
- function Hf(u) {
6030
+ function Yf(u) {
6029
6031
  return u.type === 0 && u.matchType === 0;
6030
6032
  }
6031
6033
  var Su = (
@@ -6036,155 +6038,155 @@ var Su = (
6036
6038
  }
6037
6039
  return u;
6038
6040
  }()
6039
- ), Bf = new Su(), L2 = (
6041
+ ), gf = new Su(), M2 = (
6040
6042
  /** @class */
6041
6043
  /* @__PURE__ */ function() {
6042
6044
  function u(D, f) {
6043
- this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = Bf, this.html = D, this.callbacks = f;
6045
+ this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = gf, this.html = D, this.callbacks = f;
6044
6046
  }
6045
6047
  return u;
6046
6048
  }()
6047
6049
  );
6048
- function $2(u, D) {
6049
- for (var f = new L2(u, D), e = u.length; f.charIdx < e; ) {
6050
+ function q2(u, D) {
6051
+ for (var f = new M2(u, D), e = u.length; f.charIdx < e; ) {
6050
6052
  var t = u.charAt(f.charIdx), n = u.charCodeAt(f.charIdx);
6051
6053
  switch (f.state) {
6052
6054
  case 0:
6053
- M2(f, t);
6055
+ z2(f, t);
6054
6056
  break;
6055
6057
  case 1:
6056
- q2(f, t, n);
6058
+ U2(f, t, n);
6057
6059
  break;
6058
6060
  case 2:
6059
- U2(f, t, n);
6061
+ H2(f, t, n);
6060
6062
  break;
6061
6063
  case 3:
6062
- z2(f, t, n);
6064
+ V2(f, t, n);
6063
6065
  break;
6064
6066
  case 4:
6065
- V2(f, t, n);
6067
+ W2(f, t, n);
6066
6068
  break;
6067
6069
  case 5:
6068
- H2(f, t, n);
6070
+ Y2(f, t, n);
6069
6071
  break;
6070
6072
  case 6:
6071
- W2(f, t, n);
6073
+ J2(f, t, n);
6072
6074
  break;
6073
6075
  case 7:
6074
- Y2(f, t, n);
6076
+ K2(f, t, n);
6075
6077
  break;
6076
6078
  case 8:
6077
- J2(f, t);
6079
+ G2(f, t);
6078
6080
  break;
6079
6081
  case 9:
6080
- K2(f, t);
6082
+ X2(f, t);
6081
6083
  break;
6082
6084
  case 10:
6083
- G2(f, t, n);
6085
+ Z2(f, t, n);
6084
6086
  break;
6085
6087
  case 11:
6086
- X2(f, t, n);
6088
+ Q2(f, t, n);
6087
6089
  break;
6088
6090
  case 12:
6089
- Z2(f, t);
6091
+ ut(f, t);
6090
6092
  break;
6091
6093
  case 13:
6092
- Q2(f);
6094
+ Dt(f);
6093
6095
  break;
6094
6096
  case 14:
6095
- ut(f, t);
6097
+ ft(f, t);
6096
6098
  break;
6097
6099
  case 15:
6098
- Dt(f, t);
6100
+ et(f, t);
6099
6101
  break;
6100
6102
  case 16:
6101
- ft(f, t);
6103
+ tt(f, t);
6102
6104
  break;
6103
6105
  case 17:
6104
- et(f, t);
6106
+ nt(f, t);
6105
6107
  break;
6106
6108
  case 18:
6107
- tt(f, t);
6109
+ rt(f, t);
6108
6110
  break;
6109
6111
  case 19:
6110
- nt(f, t);
6112
+ at(f, t);
6111
6113
  break;
6112
6114
  case 20:
6113
- rt(f, t);
6115
+ st(f, t);
6114
6116
  break;
6115
6117
  default:
6116
6118
  Ku(f.state);
6117
6119
  }
6118
6120
  f.charIdx++;
6119
6121
  }
6120
- f.currentDataIdx < f.charIdx && at(f);
6122
+ f.currentDataIdx < f.charIdx && Ft(f);
6121
6123
  }
6122
- function M2(u, D) {
6124
+ function z2(u, D) {
6123
6125
  D === "<" && Ou(u);
6124
6126
  }
6125
- function q2(u, D, f) {
6126
- D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(iu(iu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : tD(f) ? (u.state = 3, u.currentTag = new Su(iu(iu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = Bf);
6127
- }
6128
- function z2(u, D, f) {
6129
- Gu(f) ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: UD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: UD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: UD(u) })), Ru(u)) : !tD(f) && !Eu(f) && D !== ":" && Au(u);
6130
- }
6131
6127
  function U2(u, D, f) {
6132
- D === ">" ? Au(u) : tD(f) ? u.state = 3 : Au(u);
6128
+ D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(iu(iu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : tD(f) ? (u.state = 3, u.currentTag = new Su(iu(iu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = gf);
6133
6129
  }
6134
6130
  function V2(u, D, f) {
6135
- Gu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || lf(f) || n3(f) ? Au(u) : u.state = 5);
6131
+ Gu(f) ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: VD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: VD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: VD(u) })), Ru(u)) : !tD(f) && !Eu(f) && D !== ":" && Au(u);
6136
6132
  }
6137
6133
  function H2(u, D, f) {
6138
- Gu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : lf(f) && Au(u);
6134
+ D === ">" ? Au(u) : tD(f) ? u.state = 3 : Au(u);
6139
6135
  }
6140
6136
  function W2(u, D, f) {
6141
- Gu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : lf(f) ? Au(u) : u.state = 5);
6137
+ Gu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || Ef(f) || a3(f) ? Au(u) : u.state = 5);
6142
6138
  }
6143
6139
  function Y2(u, D, f) {
6140
+ Gu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : Ef(f) && Au(u);
6141
+ }
6142
+ function J2(u, D, f) {
6143
+ Gu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : Ef(f) ? Au(u) : u.state = 5);
6144
+ }
6145
+ function K2(u, D, f) {
6144
6146
  Gu(f) || (D === '"' ? u.state = 8 : D === "'" ? u.state = 9 : /[>=`]/.test(D) ? Au(u) : D === "<" ? Ou(u) : u.state = 10);
6145
6147
  }
6146
- function J2(u, D) {
6148
+ function G2(u, D) {
6147
6149
  D === '"' && (u.state = 11);
6148
6150
  }
6149
- function K2(u, D) {
6151
+ function X2(u, D) {
6150
6152
  D === "'" && (u.state = 11);
6151
6153
  }
6152
- function G2(u, D, f) {
6154
+ function Z2(u, D, f) {
6153
6155
  Gu(f) ? u.state = 4 : D === ">" ? Ru(u) : D === "<" && Ou(u);
6154
6156
  }
6155
- function X2(u, D, f) {
6156
- Gu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, st(u));
6157
+ function Q2(u, D, f) {
6158
+ Gu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, it(u));
6157
6159
  }
6158
- function Z2(u, D) {
6160
+ function ut(u, D) {
6159
6161
  D === ">" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { isClosing: !0 })), Ru(u)) : Au(u);
6160
6162
  }
6161
- function Q2(u) {
6163
+ function Dt(u) {
6162
6164
  var D = u.html, f = u.charIdx;
6163
6165
  D.slice(f, f + 2) === "--" ? (u.charIdx++, u.currentTag = new Su(iu(iu({}, u.currentTag), { type: "comment" })), u.state = 14) : D.slice(f, f + 7).toUpperCase() === "DOCTYPE" ? (u.charIdx += 6, u.currentTag = new Su(iu(iu({}, u.currentTag), { type: "doctype" })), u.state = 20) : Au(u);
6164
6166
  }
6165
- function ut(u, D) {
6167
+ function ft(u, D) {
6166
6168
  D === "-" ? u.state = 15 : D === ">" ? Au(u) : u.state = 16;
6167
6169
  }
6168
- function Dt(u, D) {
6170
+ function et(u, D) {
6169
6171
  D === "-" ? u.state = 18 : D === ">" ? Au(u) : u.state = 16;
6170
6172
  }
6171
- function ft(u, D) {
6173
+ function tt(u, D) {
6172
6174
  D === "-" && (u.state = 17);
6173
6175
  }
6174
- function et(u, D) {
6176
+ function nt(u, D) {
6175
6177
  D === "-" ? u.state = 18 : u.state = 16;
6176
6178
  }
6177
- function tt(u, D) {
6179
+ function rt(u, D) {
6178
6180
  D === ">" ? Ru(u) : D === "!" ? u.state = 19 : D === "-" || (u.state = 16);
6179
6181
  }
6180
- function nt(u, D) {
6182
+ function at(u, D) {
6181
6183
  D === "-" ? u.state = 17 : D === ">" ? Ru(u) : u.state = 16;
6182
6184
  }
6183
- function rt(u, D) {
6185
+ function st(u, D) {
6184
6186
  D === ">" ? Ru(u) : D === "<" && Ou(u);
6185
6187
  }
6186
6188
  function Au(u) {
6187
- u.state = 0, u.currentTag = Bf;
6189
+ u.state = 0, u.currentTag = gf;
6188
6190
  }
6189
6191
  function Ou(u) {
6190
6192
  u.state = 1, u.currentTag = new Su({ idx: u.charIdx });
@@ -6195,18 +6197,18 @@ function Ru(u) {
6195
6197
  var f = u.currentTag;
6196
6198
  f.type === "comment" ? u.callbacks.onComment(f.idx) : f.type === "doctype" ? u.callbacks.onDoctype(f.idx) : (f.isOpening && u.callbacks.onOpenTag(f.name, f.idx), f.isClosing && u.callbacks.onCloseTag(f.name, f.idx)), Au(u), u.currentDataIdx = u.charIdx + 1;
6197
6199
  }
6198
- function at(u) {
6200
+ function Ft(u) {
6199
6201
  var D = u.html.slice(u.currentDataIdx, u.charIdx);
6200
6202
  u.callbacks.onText(D, u.currentDataIdx), u.currentDataIdx = u.charIdx + 1;
6201
6203
  }
6202
- function UD(u) {
6204
+ function VD(u) {
6203
6205
  var D = u.currentTag.idx + (u.currentTag.isClosing ? 2 : 1);
6204
6206
  return u.html.slice(D, u.charIdx).toLowerCase();
6205
6207
  }
6206
- function st(u) {
6208
+ function it(u) {
6207
6209
  u.charIdx--;
6208
6210
  }
6209
- var Ft = (
6211
+ var ot = (
6210
6212
  /** @class */
6211
6213
  function() {
6212
6214
  function u(D) {
@@ -6216,14 +6218,14 @@ var Ft = (
6216
6218
  }, this.stripTrailingSlash = !0, this.decodePercentEncoding = !0, this.truncate = {
6217
6219
  length: 0,
6218
6220
  location: "end"
6219
- }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = it(D.urls), this.email = vu(D.email) ? D.email : this.email, this.phone = vu(D.phone) ? D.phone : this.phone, this.hashtag = D.hashtag || this.hashtag, this.mention = D.mention || this.mention, this.newWindow = vu(D.newWindow) ? D.newWindow : this.newWindow, this.stripPrefix = ot(D.stripPrefix), this.stripTrailingSlash = vu(D.stripTrailingSlash) ? D.stripTrailingSlash : this.stripTrailingSlash, this.decodePercentEncoding = vu(D.decodePercentEncoding) ? D.decodePercentEncoding : this.decodePercentEncoding, this.sanitizeHtml = D.sanitizeHtml || !1;
6221
+ }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = dt(D.urls), this.email = vu(D.email) ? D.email : this.email, this.phone = vu(D.phone) ? D.phone : this.phone, this.hashtag = D.hashtag || this.hashtag, this.mention = D.mention || this.mention, this.newWindow = vu(D.newWindow) ? D.newWindow : this.newWindow, this.stripPrefix = Ct(D.stripPrefix), this.stripTrailingSlash = vu(D.stripTrailingSlash) ? D.stripTrailingSlash : this.stripTrailingSlash, this.decodePercentEncoding = vu(D.decodePercentEncoding) ? D.decodePercentEncoding : this.decodePercentEncoding, this.sanitizeHtml = D.sanitizeHtml || !1;
6220
6222
  var f = this.mention;
6221
- if (f !== !1 && R3.indexOf(f) === -1)
6223
+ if (f !== !1 && I3.indexOf(f) === -1)
6222
6224
  throw new Error("invalid `mention` cfg '".concat(f, "' - see docs"));
6223
6225
  var e = this.hashtag;
6224
- if (e !== !1 && j3.indexOf(e) === -1)
6226
+ if (e !== !1 && N3.indexOf(e) === -1)
6225
6227
  throw new Error("invalid `hashtag` cfg '".concat(e, "' - see docs"));
6226
- this.truncate = dt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6228
+ this.truncate = ct(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6227
6229
  }
6228
6230
  return u.link = function(D, f) {
6229
6231
  var e = new u(f);
@@ -6233,7 +6235,7 @@ var Ft = (
6233
6235
  return e.parse(D);
6234
6236
  }, u.prototype.parse = function(D) {
6235
6237
  var f = this, e = ["a", "style", "script"], t = 0, n = [];
6236
- return $2(D, {
6238
+ return q2(D, {
6237
6239
  onOpenTag: function(r) {
6238
6240
  e.indexOf(r) >= 0 && t++;
6239
6241
  },
@@ -6243,7 +6245,7 @@ var Ft = (
6243
6245
  d.forEach(function(c, l) {
6244
6246
  if (l % 2 === 0) {
6245
6247
  var A = f.parseText(c, o);
6246
- n.push.apply(n, Ge([], Ke(A), !1));
6248
+ n.push.apply(n, Ze([], Xe(A), !1));
6247
6249
  }
6248
6250
  o += c.length;
6249
6251
  });
@@ -6260,7 +6262,7 @@ var Ft = (
6260
6262
  // no need to process doctype nodes
6261
6263
  }), n = this.compactMatches(n), n = this.removeUnwantedMatches(n), n;
6262
6264
  }, u.prototype.compactMatches = function(D) {
6263
- D.sort(Ct);
6265
+ D.sort(lt);
6264
6266
  for (var f = 0; f < D.length - 1; ) {
6265
6267
  var e = D[f], t = e.getOffset(), n = e.getMatchedText().length;
6266
6268
  if (f + 1 < D.length && D[f + 1].getOffset() === t) {
@@ -6289,7 +6291,7 @@ var Ft = (
6289
6291
  }), D;
6290
6292
  }, u.prototype.parseText = function(D, f) {
6291
6293
  f = f || 0;
6292
- for (var e = V3(D, {
6294
+ for (var e = W3(D, {
6293
6295
  tagBuilder: this.getTagBuilder(),
6294
6296
  stripPrefix: this.stripPrefix,
6295
6297
  stripTrailingSlash: this.stripTrailingSlash,
@@ -6314,37 +6316,37 @@ var Ft = (
6314
6316
  return f;
6315
6317
  if (f === !1)
6316
6318
  return D.getMatchedText();
6317
- if (f instanceof j1)
6319
+ if (f instanceof T1)
6318
6320
  return f.toAnchorString();
6319
6321
  var e = D.buildTag();
6320
6322
  return e.toAnchorString();
6321
6323
  }, u.prototype.getTagBuilder = function() {
6322
6324
  var D = this.tagBuilder;
6323
- return D || (D = this.tagBuilder = new t3({
6325
+ return D || (D = this.tagBuilder = new r3({
6324
6326
  newWindow: this.newWindow,
6325
6327
  truncate: this.truncate,
6326
6328
  className: this.className
6327
6329
  })), D;
6328
- }, u.version = Xe, u;
6330
+ }, u.version = Qe, u;
6329
6331
  }()
6330
6332
  );
6331
- function it(u) {
6333
+ function dt(u) {
6332
6334
  return u == null && (u = !0), vu(u) ? { schemeMatches: u, tldMatches: u, ipV4Matches: u } : {
6333
6335
  schemeMatches: vu(u.schemeMatches) ? u.schemeMatches : !0,
6334
6336
  tldMatches: vu(u.tldMatches) ? u.tldMatches : !0,
6335
6337
  ipV4Matches: vu(u.ipV4Matches) ? u.ipV4Matches : !0
6336
6338
  };
6337
6339
  }
6338
- function ot(u) {
6340
+ function Ct(u) {
6339
6341
  return u == null && (u = !0), vu(u) ? { scheme: u, www: u } : {
6340
6342
  scheme: vu(u.scheme) ? u.scheme : !0,
6341
6343
  www: vu(u.www) ? u.www : !0
6342
6344
  };
6343
6345
  }
6344
- function dt(u) {
6346
+ function ct(u) {
6345
6347
  return typeof u == "number" ? { length: u, location: "end" } : iu({ length: Number.POSITIVE_INFINITY, location: "end" }, u);
6346
6348
  }
6347
- function Ct(u, D) {
6349
+ function lt(u, D) {
6348
6350
  return u.getOffset() - D.getOffset();
6349
6351
  }
6350
6352
  const aD = [
@@ -6353,7 +6355,7 @@ const aD = [
6353
6355
  { name: "New Zealand", countryCode: "+64", code: "NZ", flag: "🇳🇿" },
6354
6356
  { name: "United Kingdom", countryCode: "+44", code: "UK", flag: "🇬🇧" },
6355
6357
  { name: "Indonesia", countryCode: "+62", code: "ID", flag: "🇮🇩" }
6356
- ], q1 = ({
6358
+ ], z1 = ({
6357
6359
  initialData: u,
6358
6360
  loadFromDataUserSubs: D = !1
6359
6361
  } = {}) => {
@@ -6690,13 +6692,13 @@ const aD = [
6690
6692
  renderContactFormField: A,
6691
6693
  getInputType: c
6692
6694
  };
6693
- }, ct = ({
6695
+ }, Et = ({
6694
6696
  onSubmit: u,
6695
6697
  onFormStateChange: D
6696
6698
  }) => {
6697
6699
  const { colors: f } = ou(), e = qu(), t = pu(), { socket: n } = Hu(), { setScreen: r } = Tu();
6698
6700
  Nu();
6699
- const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = Cu(), { formData: A, renderContactFormField: C } = q1({
6701
+ const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = Cu(), { formData: A, renderContactFormField: C } = z1({
6700
6702
  initialData: {},
6701
6703
  loadFromDataUserSubs: !0
6702
6704
  }), [m, j] = U(!1), [L, x] = U(!1);
@@ -6832,7 +6834,7 @@ const aD = [
6832
6834
  ] }) })
6833
6835
  }
6834
6836
  );
6835
- }, lt = ({
6837
+ }, ht = ({
6836
6838
  message: u,
6837
6839
  onFormSubmitted: D
6838
6840
  }) => {
@@ -6843,7 +6845,7 @@ const aD = [
6843
6845
  const n = () => {
6844
6846
  if (u.direction === uu.received && t.current) {
6845
6847
  const F = t.current.innerText;
6846
- let d = Ft.link(F, {
6848
+ let d = ot.link(F, {
6847
6849
  className: "chatLink",
6848
6850
  truncate: { length: 50, location: "smart" }
6849
6851
  });
@@ -6854,7 +6856,7 @@ const aD = [
6854
6856
  throw new Error("Unable to find text.");
6855
6857
  const r = f[u.direction || uu.received];
6856
6858
  return "isShowForm" in u.data && u.data.isShowForm ? /* @__PURE__ */ a.jsx(
6857
- ct,
6859
+ Et,
6858
6860
  {
6859
6861
  onFormStateChange: (F) => {
6860
6862
  e(F), !F && D && D(!0);
@@ -6871,7 +6873,7 @@ const aD = [
6871
6873
  children: /* @__PURE__ */ a.jsx("p", { className: "sc-message--text-content", ref: t, children: u.data.text })
6872
6874
  }
6873
6875
  ) });
6874
- }, Wf = ({
6876
+ }, Jf = ({
6875
6877
  viewBox: u = "0 0 24 24",
6876
6878
  fill: D = "none",
6877
6879
  stroke: f = "",
@@ -6892,13 +6894,13 @@ const aD = [
6892
6894
  ...r,
6893
6895
  children: /* @__PURE__ */ a.jsx("path", { d: "M20 6L9 17l-5-5" })
6894
6896
  }
6895
- ), Et = ({ message: u }) => {
6897
+ ), bt = ({ message: u }) => {
6896
6898
  const { colors: D } = ou();
6897
6899
  if (!("delivery" in u && "read" in u))
6898
6900
  throw new Error("Unable to find delivery/read attributes");
6899
6901
  return /* @__PURE__ */ a.jsxs("div", { className: "sc--status", style: { color: D.messageStatus.bg }, children: [
6900
6902
  u.read && /* @__PURE__ */ a.jsx("div", { className: "sc--status-wrapper sc--status-read", title: "Read", children: /* @__PURE__ */ a.jsx(
6901
- Wf,
6903
+ Jf,
6902
6904
  {
6903
6905
  width: "16px",
6904
6906
  height: "16px",
@@ -6912,7 +6914,7 @@ const aD = [
6912
6914
  className: "sc--status-wrapper sc--status-delivery",
6913
6915
  title: "Delivered",
6914
6916
  children: /* @__PURE__ */ a.jsx(
6915
- Wf,
6917
+ Jf,
6916
6918
  {
6917
6919
  width: "16px",
6918
6920
  height: "16px",
@@ -6924,15 +6926,15 @@ const aD = [
6924
6926
  )
6925
6927
  ] });
6926
6928
  };
6927
- x1.extend($e);
6928
- const ht = ({ message: u, Avatar: D }) => {
6929
+ k1.extend(qe);
6930
+ const pt = ({ message: u, Avatar: D }) => {
6929
6931
  const { participants: f } = Cu(), { colors: e } = ou(), [t, n] = U(!1), [r, s] = U(!1), F = pu(), d = u.data && "text" in u.data && "isShowForm" in u.data && u.data.isShowForm, o = f.find(
6930
6932
  (A) => A.id === u.author
6931
6933
  ) || {
6932
6934
  name: "Anon"
6933
6935
  }, c = () => {
6934
6936
  n(!t);
6935
- }, l = (A) => x1(A).fromNow();
6937
+ }, l = (A) => k1(A).fromNow();
6936
6938
  return /* @__PURE__ */ a.jsx("div", { className: `sc-message ${u.direction}`, children: /* @__PURE__ */ a.jsxs("div", { className: `sc-message--content ${u.direction}`, children: [
6937
6939
  (!r || !d) && /* @__PURE__ */ a.jsx(
6938
6940
  "div",
@@ -6950,24 +6952,24 @@ const ht = ({ message: u, Avatar: D }) => {
6950
6952
  height: 32,
6951
6953
  style: { borderRadius: "50%" }
6952
6954
  }
6953
- ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(S1, { width: "32px", height: "32px" })
6955
+ ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(j1, { width: "32px", height: "32px" })
6954
6956
  }
6955
6957
  ),
6956
6958
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--wrapper", onClick: c, children: [
6957
6959
  u.data && "text" in u.data && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
6958
- lt,
6960
+ ht,
6959
6961
  {
6960
6962
  message: u,
6961
6963
  onFormSubmitted: s
6962
6964
  }
6963
6965
  ) }),
6964
- u.type === "file" && /* @__PURE__ */ a.jsx(We, { message: u }),
6965
- u.type === "location" && /* @__PURE__ */ a.jsx(Ye, { message: u }),
6966
- u.type === "list" && /* @__PURE__ */ a.jsx(Je, { messageList: u }),
6967
- u.type === "carousel" && /* @__PURE__ */ a.jsx(Ve, { messageCarousel: u }),
6966
+ u.type === "file" && /* @__PURE__ */ a.jsx(Je, { message: u }),
6967
+ u.type === "location" && /* @__PURE__ */ a.jsx(Ke, { message: u }),
6968
+ u.type === "list" && /* @__PURE__ */ a.jsx(Ge, { messageList: u }),
6969
+ u.type === "carousel" && /* @__PURE__ */ a.jsx(We, { messageCarousel: u }),
6968
6970
  u.type === "buttons" && /* @__PURE__ */ a.jsx(yD, { message: u }),
6969
6971
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--meta", children: [
6970
- u.direction === "sent" && /* @__PURE__ */ a.jsx(Et, { message: u }),
6972
+ u.direction === "sent" && /* @__PURE__ */ a.jsx(bt, { message: u }),
6971
6973
  /* @__PURE__ */ a.jsx(
6972
6974
  "div",
6973
6975
  {
@@ -6979,7 +6981,7 @@ const ht = ({ message: u, Avatar: D }) => {
6979
6981
  ] })
6980
6982
  ] })
6981
6983
  ] }) });
6982
- }, bt = () => {
6984
+ }, Bt = () => {
6983
6985
  const { colors: u } = ou();
6984
6986
  return /* @__PURE__ */ a.jsxs(
6985
6987
  "div",
@@ -6996,7 +6998,7 @@ const ht = ({ message: u, Avatar: D }) => {
6996
6998
  ]
6997
6999
  }
6998
7000
  );
6999
- }, pt = ({
7001
+ }, gt = ({
7000
7002
  Avatar: u,
7001
7003
  phone: D
7002
7004
  }) => {
@@ -7016,7 +7018,7 @@ const ht = ({ message: u, Avatar: D }) => {
7016
7018
  style: n.imageUrl ? {
7017
7019
  backgroundImage: `url(${n.imageUrl}?color=${encodeURIComponent(f.header.bg)})`
7018
7020
  } : void 0,
7019
- children: u ? /* @__PURE__ */ a.jsx(u, {}) : n.imageUrl ? null : /* @__PURE__ */ a.jsx(S1, { width: "32px", height: "32px" })
7021
+ children: u ? /* @__PURE__ */ a.jsx(u, {}) : n.imageUrl ? null : /* @__PURE__ */ a.jsx(j1, { width: "32px", height: "32px" })
7020
7022
  }
7021
7023
  ),
7022
7024
  /* @__PURE__ */ a.jsx("div", { className: "sc-message--wrapper", children: /* @__PURE__ */ a.jsxs(
@@ -7044,7 +7046,7 @@ const ht = ({ message: u, Avatar: D }) => {
7044
7046
  }
7045
7047
  ) })
7046
7048
  ] }) });
7047
- }, Bt = ({ Avatar: u }) => {
7049
+ }, mt = ({ Avatar: u }) => {
7048
7050
  const { scroll: D, setScroll: f, isOpen: e } = Tu(), { messages: t, showTypingIndicator: n, setNewIOMessage: r, setMessages: s } = Cu(), F = pu(), { colors: d } = ou(), { formSettings: o } = pu(), [c, l] = U(""), A = bu(""), C = F.offline_mode, m = xD(C), j = (B) => {
7049
7051
  if (!("text" in B.data)) return null;
7050
7052
  const T = B.data.text || "", y = (g) => g.toLowerCase().replace(/\s+/g, "").replace(/[^a-z0-9_]/g, ""), q = T.split(`
@@ -7099,7 +7101,7 @@ const ht = ({ message: u, Avatar: D }) => {
7099
7101
  direction: uu.received,
7100
7102
  read: !0,
7101
7103
  delivery: !0,
7102
- type: WD.text,
7104
+ type: YD.text,
7103
7105
  data: {
7104
7106
  text: "Enter your information, and our team will text you shortly.",
7105
7107
  isOffline: !0,
@@ -7115,7 +7117,7 @@ const ht = ({ message: u, Avatar: D }) => {
7115
7117
  direction: uu.received,
7116
7118
  read: !0,
7117
7119
  delivery: !0,
7118
- type: WD.text,
7120
+ type: YD.text,
7119
7121
  data: {
7120
7122
  text: "Show Form",
7121
7123
  isOffline: !0,
@@ -7154,16 +7156,16 @@ const ht = ({ message: u, Avatar: D }) => {
7154
7156
  ref: x,
7155
7157
  style: { backgroundColor: d.messageList.bg },
7156
7158
  children: [
7157
- t.map((B) => /* @__PURE__ */ a.jsxs(rf.Fragment, { children: [
7158
- /* @__PURE__ */ a.jsx(ht, { message: B, Avatar: u }),
7159
- L(B) && m && /* @__PURE__ */ a.jsx(pt, { phone: c })
7159
+ t.map((B) => /* @__PURE__ */ a.jsxs(af.Fragment, { children: [
7160
+ /* @__PURE__ */ a.jsx(pt, { message: B, Avatar: u }),
7161
+ L(B) && m && /* @__PURE__ */ a.jsx(gt, { phone: c })
7160
7162
  ] }, B.mid)),
7161
- n && /* @__PURE__ */ a.jsx(bt, {})
7163
+ n && /* @__PURE__ */ a.jsx(Bt, {})
7162
7164
  ]
7163
7165
  }
7164
7166
  );
7165
7167
  };
7166
- var tf = { exports: {} };
7168
+ var nf = { exports: {} };
7167
7169
  (function(u, D) {
7168
7170
  (function() {
7169
7171
  var f = this, e = f.EmojiConvertor, t = function() {
@@ -9752,9 +9754,9 @@ var tf = { exports: {} };
9752
9754
  }).call(/* @__PURE__ */ function() {
9753
9755
  return this || (typeof window < "u" ? window : oD);
9754
9756
  }());
9755
- })(tf, tf.exports);
9756
- var gt = tf.exports;
9757
- const mt = /* @__PURE__ */ af(gt), _t = [
9757
+ })(nf, nf.exports);
9758
+ var _t = nf.exports;
9759
+ const yt = /* @__PURE__ */ sf(_t), vt = [
9758
9760
  {
9759
9761
  name: "People",
9760
9762
  emojis: [
@@ -10408,8 +10410,8 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10408
10410
  "🔹"
10409
10411
  ]
10410
10412
  }
10411
- ], yt = ({ onBlur: u, onSelect: D }) => {
10412
- const f = bu(new mt()), e = bu(null);
10413
+ ], wt = ({ onBlur: u, onSelect: D }) => {
10414
+ const f = bu(new yt()), e = bu(null);
10413
10415
  G(() => {
10414
10416
  const n = e.current;
10415
10417
  n && (n.style.opacity = "0", window.requestAnimationFrame(() => {
@@ -10419,7 +10421,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10419
10421
  const t = (n, r) => {
10420
10422
  D(n, r), e.current && e.current.blur();
10421
10423
  };
10422
- return /* @__PURE__ */ a.jsx("div", { tabIndex: 0, onBlur: u, className: "sc-emoji-picker", ref: e, children: /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--content", children: _t.map((n) => /* @__PURE__ */ a.jsxs("div", { className: "sc-emoji-picker--category", children: [
10424
+ return /* @__PURE__ */ a.jsx("div", { tabIndex: 0, onBlur: u, className: "sc-emoji-picker", ref: e, children: /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--content", children: vt.map((n) => /* @__PURE__ */ a.jsxs("div", { className: "sc-emoji-picker--category", children: [
10423
10425
  /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--category-title", children: n.name }),
10424
10426
  n.emojis.map((r) => /* @__PURE__ */ a.jsx(
10425
10427
  "span",
@@ -10431,7 +10433,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10431
10433
  r
10432
10434
  ))
10433
10435
  ] }, n.name)) }) });
10434
- }, vt = ({
10436
+ }, At = ({
10435
10437
  x: u = "0",
10436
10438
  y: D = "0",
10437
10439
  className: f = "sc-user-input--emoji-icon",
@@ -10454,7 +10456,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10454
10456
  /* @__PURE__ */ a.jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m0-2.5c2.33 0 4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2s-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5" })
10455
10457
  ]
10456
10458
  }
10457
- ), wt = ({ inputRef: u, onInput: D }) => {
10459
+ ), xt = ({ inputRef: u, onInput: D }) => {
10458
10460
  const [f, e] = U(!1), t = bu(null), n = () => {
10459
10461
  e(!f);
10460
10462
  }, r = (d) => {
@@ -10470,7 +10472,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10470
10472
  }
10471
10473
  };
10472
10474
  return /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--picker-wrapper", children: [
10473
- f && /* @__PURE__ */ a.jsx(yt, { onBlur: r, onSelect: s }),
10475
+ f && /* @__PURE__ */ a.jsx(wt, { onBlur: r, onSelect: s }),
10474
10476
  /* @__PURE__ */ a.jsx(
10475
10477
  "button",
10476
10478
  {
@@ -10480,11 +10482,11 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10480
10482
  id: "sc-emoji-button",
10481
10483
  className: "sc-user-input--emoji-icon-wrapper",
10482
10484
  ref: t,
10483
- children: /* @__PURE__ */ a.jsx(vt, {})
10485
+ children: /* @__PURE__ */ a.jsx(At, {})
10484
10486
  }
10485
10487
  )
10486
10488
  ] });
10487
- }, At = {
10489
+ }, kt = {
10488
10490
  images: ["image/jpeg", "image/png", "image/webp", "image/bmp"],
10489
10491
  videos: [
10490
10492
  "video/mp4",
@@ -10530,7 +10532,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10530
10532
  "application/json",
10531
10533
  "text/csv"
10532
10534
  ]
10533
- }, z1 = ({
10535
+ }, U1 = ({
10534
10536
  x: u = "0",
10535
10537
  y: D = "0",
10536
10538
  className: f = "sc-user-input--file-icon",
@@ -10550,17 +10552,17 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10550
10552
  " "
10551
10553
  ]
10552
10554
  }
10553
- ), xt = () => {
10555
+ ), St = () => {
10554
10556
  const { setFile: u } = Cu(), D = (t) => {
10555
10557
  t.target.value = "";
10556
10558
  }, f = (t) => {
10557
10559
  t.target.files && t.target.files[0] && u && u(t.target.files[0]);
10558
- }, e = i0(
10559
- () => Object.values(At).flat().join(","),
10560
+ }, e = o0(
10561
+ () => Object.values(kt).flat().join(","),
10560
10562
  []
10561
10563
  );
10562
10564
  return /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--file-wrapper", children: /* @__PURE__ */ a.jsxs("button", { className: "sc-user-input--file-icon-wrapper", type: "button", children: [
10563
- /* @__PURE__ */ a.jsx(z1, {}),
10565
+ /* @__PURE__ */ a.jsx(U1, {}),
10564
10566
  /* @__PURE__ */ a.jsx(
10565
10567
  "input",
10566
10568
  {
@@ -10572,7 +10574,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10572
10574
  }
10573
10575
  )
10574
10576
  ] }) });
10575
- }, kt = ({
10577
+ }, jt = ({
10576
10578
  x: u = "0",
10577
10579
  y: D = "0",
10578
10580
  className: f = "sc-user-input--location-icon",
@@ -10591,7 +10593,7 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10591
10593
  ...n,
10592
10594
  children: /* @__PURE__ */ a.jsx("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5" })
10593
10595
  }
10594
- ), St = () => {
10596
+ ), Tt = () => {
10595
10597
  const { setPayload: u, send: D } = Cu(), f = pu(), e = (t) => {
10596
10598
  navigator.geolocation ? navigator.geolocation.getCurrentPosition(
10597
10599
  (n) => {
@@ -10625,12 +10627,12 @@ const mt = /* @__PURE__ */ af(gt), _t = [
10625
10627
  onClick: e,
10626
10628
  type: "button",
10627
10629
  className: "sc-user-input--location-icon-wrapper",
10628
- children: /* @__PURE__ */ a.jsx(kt, {})
10630
+ children: /* @__PURE__ */ a.jsx(jt, {})
10629
10631
  }
10630
10632
  ) });
10631
10633
  };
10632
- var nf = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(nf || {});
10633
- const jt = ({ item: u, onPostback: D }) => {
10634
+ var rf = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(rf || {});
10635
+ const Nt = ({ item: u, onPostback: D }) => {
10634
10636
  const { colors: f } = ou(), e = () => {
10635
10637
  switch (u.type) {
10636
10638
  case "web_url":
@@ -10651,16 +10653,16 @@ const jt = ({ item: u, onPostback: D }) => {
10651
10653
  children: /* @__PURE__ */ a.jsx("span", { className: "sc-menu-item-text", children: u.title })
10652
10654
  }
10653
10655
  ) });
10654
- }, Tt = () => {
10656
+ }, Ot = () => {
10655
10657
  const u = pu(), { send: D, setPayload: f } = Cu(), [e, t] = U({
10656
10658
  title: "Menu",
10657
- type: nf.nested,
10659
+ type: rf.nested,
10658
10660
  call_to_actions: (u == null ? void 0 : u.menu) || []
10659
10661
  }), n = bu(null);
10660
10662
  G(() => {
10661
10663
  t({
10662
10664
  title: "Menu",
10663
- type: nf.nested,
10665
+ type: rf.nested,
10664
10666
  call_to_actions: (u == null ? void 0 : u.menu) || []
10665
10667
  });
10666
10668
  }, [u]);
@@ -10688,7 +10690,7 @@ const jt = ({ item: u, onPostback: D }) => {
10688
10690
  ref: n,
10689
10691
  className: "sc-menu-elements-carousel sc-menu-always-visible",
10690
10692
  children: e.call_to_actions && /* @__PURE__ */ a.jsx(a.Fragment, { children: e.call_to_actions.map((F, d) => /* @__PURE__ */ a.jsx("div", { className: "sc-menu-carousel-card", children: /* @__PURE__ */ a.jsx(
10691
- jt,
10693
+ Nt,
10692
10694
  {
10693
10695
  item: F,
10694
10696
  parent: e,
@@ -10698,13 +10700,13 @@ const jt = ({ item: u, onPostback: D }) => {
10698
10700
  ) }, d)) })
10699
10701
  }
10700
10702
  ) });
10701
- }, Nt = ({
10703
+ }, Rt = ({
10702
10704
  viewBox: u = "0 0 48 48",
10703
10705
  ...D
10704
10706
  }) => /* @__PURE__ */ a.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: [
10705
10707
  /* @__PURE__ */ a.jsx("path", { d: "M4.02 42L46 24 4.02 6 4 20l30 4-30 4z" }),
10706
10708
  /* @__PURE__ */ a.jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
10707
- ] }), Ot = (u) => {
10709
+ ] }), Pt = (u) => {
10708
10710
  const { onClick: D, ...f } = u;
10709
10711
  return /* @__PURE__ */ a.jsx(
10710
10712
  "button",
@@ -10712,10 +10714,10 @@ const jt = ({ item: u, onPostback: D }) => {
10712
10714
  onClick: D,
10713
10715
  ...f,
10714
10716
  className: "sc-user-input--button-icon-wrapper",
10715
- children: /* @__PURE__ */ a.jsx(Nt, {})
10717
+ children: /* @__PURE__ */ a.jsx(Rt, {})
10716
10718
  }
10717
10719
  );
10718
- }, Rt = () => {
10720
+ }, It = () => {
10719
10721
  const { setPayload: u, send: D, suggestions: f } = Cu(), e = pu(), { colors: t } = ou(), n = (r, s) => {
10720
10722
  u(s), D({
10721
10723
  event: r,
@@ -10743,7 +10745,7 @@ const jt = ({ item: u, onPostback: D }) => {
10743
10745
  ))
10744
10746
  }
10745
10747
  );
10746
- }, Pt = () => {
10748
+ }, Lt = () => {
10747
10749
  var X;
10748
10750
  const { maxUploadSize: u } = qu(), { t: D } = Nu(), { colors: f } = ou(), {
10749
10751
  suggestions: e,
@@ -10824,9 +10826,9 @@ const jt = ({ item: u, onPostback: D }) => {
10824
10826
  (z = B.current) == null || z.focus();
10825
10827
  }, O = d === FD.uploading, R = JSON.parse(localStorage.getItem("profileLiveChat") || "{}"), W = JSON.parse(localStorage.getItem("isOffline") || "false") || (R == null ? void 0 : R.isOffline), J = ((X = R == null ? void 0 : R.channel) == null ? void 0 : X.name) === "console-channel";
10826
10828
  return (W || !(R != null && R.id)) && !J ? null : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10827
- A.length > 0 && /* @__PURE__ */ a.jsx(Tt, {}),
10829
+ A.length > 0 && /* @__PURE__ */ a.jsx(Ot, {}),
10828
10830
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input-wrapper", children: [
10829
- e.length > 0 && /* @__PURE__ */ a.jsx(Rt, {}),
10831
+ e.length > 0 && /* @__PURE__ */ a.jsx(It, {}),
10830
10832
  (r || O) && /* @__PURE__ */ a.jsxs(
10831
10833
  "div",
10832
10834
  {
@@ -10837,7 +10839,7 @@ const jt = ({ item: u, onPostback: D }) => {
10837
10839
  },
10838
10840
  children: [
10839
10841
  /* @__PURE__ */ a.jsx(
10840
- z1,
10842
+ U1,
10841
10843
  {
10842
10844
  width: "16px",
10843
10845
  height: "16px",
@@ -10847,7 +10849,7 @@ const jt = ({ item: u, onPostback: D }) => {
10847
10849
  T && /* @__PURE__ */ a.jsx("span", { children: T }),
10848
10850
  O && /* @__PURE__ */ a.jsx("span", { children: "Loading..." }),
10849
10851
  r && r.name && !T && /* @__PURE__ */ a.jsx("span", { children: r.name.length > 23 ? `${r.name.substring(0, 23)}...` : r.name }),
10850
- /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: N, children: /* @__PURE__ */ a.jsx(cf, { height: "10" }) })
10852
+ /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: N, children: /* @__PURE__ */ a.jsx(lf, { height: "10" }) })
10851
10853
  ]
10852
10854
  }
10853
10855
  ),
@@ -10890,11 +10892,11 @@ const jt = ({ item: u, onPostback: D }) => {
10890
10892
  }
10891
10893
  ),
10892
10894
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--buttons", children: [
10893
- L && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(wt, { inputRef: B, onInput: E }) }),
10894
- x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(St, {}) }),
10895
- I && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(xt, {}) }),
10895
+ L && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(xt, { inputRef: B, onInput: E }) }),
10896
+ x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Tt, {}) }),
10897
+ I && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(St, {}) }),
10896
10898
  /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(
10897
- Ot,
10899
+ Pt,
10898
10900
  {
10899
10901
  disabled: !t,
10900
10902
  onClick: (z) => p(z)
@@ -10906,7 +10908,7 @@ const jt = ({ item: u, onPostback: D }) => {
10906
10908
  )
10907
10909
  ] })
10908
10910
  ] });
10909
- }, It = ({
10911
+ }, $t = ({
10910
10912
  width: u = "24",
10911
10913
  height: D = "24",
10912
10914
  fill: f = "none",
@@ -10931,7 +10933,7 @@ const jt = ({ item: u, onPostback: D }) => {
10931
10933
  ...F,
10932
10934
  children: /* @__PURE__ */ a.jsx("path", { stroke: "#fff", strokeOpacity: "1", d: "M15 18L9 12 15 6" })
10933
10935
  }
10934
- ), Lt = () => {
10936
+ ), Mt = () => {
10935
10937
  const { t: u } = Nu(), { colors: D } = ou(), { setWebviewUrl: f, webviewUrl: e } = Cu(), [t, n] = U(!1);
10936
10938
  G(() => {
10937
10939
  n(!0);
@@ -10947,13 +10949,13 @@ const jt = ({ item: u, onPostback: D }) => {
10947
10949
  className: "sc-webview--footer",
10948
10950
  style: { background: D.header.bg, color: D.header.text },
10949
10951
  children: /* @__PURE__ */ a.jsxs("h3", { className: "sc-webview--button", onClick: r, children: [
10950
- /* @__PURE__ */ a.jsx(It, { width: "16px", height: "16px" }),
10952
+ /* @__PURE__ */ a.jsx($t, { width: "16px", height: "16px" }),
10951
10953
  u("settings.back")
10952
10954
  ] })
10953
10955
  }
10954
10956
  )
10955
10957
  ] });
10956
- }, $t = ({
10958
+ }, qt = ({
10957
10959
  CustomHeader: u,
10958
10960
  CustomAvatar: D,
10959
10961
  PreChat: f,
@@ -10961,15 +10963,15 @@ const jt = ({ item: u, onPostback: D }) => {
10961
10963
  }) => {
10962
10964
  const { connectionState: t } = Cu(), { screen: n, isOpen: r } = Tu();
10963
10965
  return /* @__PURE__ */ a.jsxs("div", { className: `sc-chat-window ${r ? "opened" : "closed"}`, children: [
10964
- /* @__PURE__ */ a.jsx(Te, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
10966
+ /* @__PURE__ */ a.jsx(Ne, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
10965
10967
  n === "prechat" && f && /* @__PURE__ */ a.jsx(f, {}),
10966
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Bt, { Avatar: D }),
10967
- n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(Re, {}),
10968
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(mt, { Avatar: D }),
10969
+ n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(Pe, {}),
10968
10970
  n === "postchat" && e && /* @__PURE__ */ a.jsx(e, {}),
10969
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Pt, {}),
10970
- n === "webview" && /* @__PURE__ */ a.jsx(Lt, {})
10971
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Lt, {}),
10972
+ n === "webview" && /* @__PURE__ */ a.jsx(Mt, {})
10971
10973
  ] });
10972
- }, U1 = ({
10974
+ }, V1 = ({
10973
10975
  CustomLauncher: u,
10974
10976
  CustomHeader: D,
10975
10977
  CustomAvatar: f,
@@ -10980,7 +10982,7 @@ const jt = ({ item: u, onPostback: D }) => {
10980
10982
  const n = qu(), r = Cu(), s = Tu(), { socket: F } = Hu(), { setScreen: d } = Tu(), o = pu(), c = o.offline_mode, l = xD(c), A = (m) => {
10981
10983
  m.preventDefault(), s.setIsOpen(!s.isOpen);
10982
10984
  };
10983
- return me(), new URLSearchParams().append("owner_id", n.ownerId), G(() => {
10985
+ return _e(), new URLSearchParams().append("owner_id", n.ownerId), G(() => {
10984
10986
  if (!l && !localStorage.getItem("profileLiveChat")) {
10985
10987
  d("prechat");
10986
10988
  return;
@@ -11006,20 +11008,20 @@ const jt = ({ item: u, onPostback: D }) => {
11006
11008
  children: [
11007
11009
  r.newMessagesCount > 0 && !s.isOpen && /* @__PURE__ */ a.jsx("div", { className: "sc-new-messages-count", children: r.newMessagesCount }),
11008
11010
  s.isOpen ? /* @__PURE__ */ a.jsx(
11009
- cf,
11011
+ lf,
11010
11012
  {
11011
11013
  className: "sc-closed-icon",
11012
11014
  width: "16px",
11013
11015
  height: "16px"
11014
11016
  }
11015
- ) : /* @__PURE__ */ a.jsx(v1, { className: "sc-open-icon" })
11017
+ ) : /* @__PURE__ */ a.jsx(A1, { className: "sc-open-icon" })
11016
11018
  ]
11017
11019
  }
11018
11020
  )
11019
11021
  }
11020
11022
  ),
11021
11023
  s.isOpen && /* @__PURE__ */ a.jsx(
11022
- $t,
11024
+ qt,
11023
11025
  {
11024
11026
  CustomHeader: D,
11025
11027
  CustomAvatar: f,
@@ -11028,7 +11030,7 @@ const jt = ({ item: u, onPostback: D }) => {
11028
11030
  }
11029
11031
  )
11030
11032
  ] });
11031
- }, V1 = ({
11033
+ }, H1 = ({
11032
11034
  onFormDataSubmit: u
11033
11035
  }) => {
11034
11036
  const D = qu(), { t: f } = Nu(), { colors: e } = ou(), { socket: t } = Hu(), n = pu(), { setScreen: r } = Tu(), {
@@ -11037,7 +11039,7 @@ const jt = ({ item: u, onPostback: D }) => {
11037
11039
  setConnectionState: d,
11038
11040
  participants: o,
11039
11041
  setParticipants: c
11040
- } = Cu(), { formData: l, setFormData: A, renderFormField: C } = q1({
11042
+ } = Cu(), { formData: l, setFormData: A, renderFormField: C } = z1({
11041
11043
  loadFromDataUserSubs: !1,
11042
11044
  initialData: {}
11043
11045
  }), m = n.offline_mode, j = xD(m);
@@ -11147,7 +11149,7 @@ const jt = ({ item: u, onPostback: D }) => {
11147
11149
  ) })
11148
11150
  ] })
11149
11151
  ] }) });
11150
- }, Mt = Mu({}), qt = ({
11152
+ }, zt = Mu({}), Ut = ({
11151
11153
  children: u
11152
11154
  }) => {
11153
11155
  const D = qu(), [f, e] = U(!1), t = async () => {
@@ -11161,32 +11163,32 @@ const jt = ({ item: u, onPostback: D }) => {
11161
11163
  };
11162
11164
  return G(() => {
11163
11165
  f || t();
11164
- }, []), f ? /* @__PURE__ */ a.jsx(Mt.Provider, { value: {}, children: u }) : null;
11166
+ }, []), f ? /* @__PURE__ */ a.jsx(zt.Provider, { value: {}, children: u }) : null;
11165
11167
  };
11166
- function Ht(u) {
11167
- return /* @__PURE__ */ a.jsx(Qf, { ...u, children: /* @__PURE__ */ a.jsx(D1, { children: /* @__PURE__ */ a.jsx(qt, { children: /* @__PURE__ */ a.jsx(E1, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(Kf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(m1, { children: /* @__PURE__ */ a.jsx(U1, { PreChat: V1 }) }) }) }) }) }) }) }) }) });
11168
+ function Yt(u) {
11169
+ return /* @__PURE__ */ a.jsx(D1, { ...u, children: /* @__PURE__ */ a.jsx(e1, { children: /* @__PURE__ */ a.jsx(Ut, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(m1, { children: /* @__PURE__ */ a.jsx(Xf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(V1, { PreChat: H1 }) }) }) }) }) }) }) }) }) });
11168
11170
  }
11169
- function Wt({
11171
+ function Jt({
11170
11172
  CustomHeader: u,
11171
11173
  CustomAvatar: D,
11172
11174
  config: f
11173
11175
  }) {
11174
- return /* @__PURE__ */ a.jsx(Qf, { ...f, children: /* @__PURE__ */ a.jsx(D1, { children: /* @__PURE__ */ a.jsx(E1, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(Kf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(B1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11175
- m1,
11176
+ return /* @__PURE__ */ a.jsx(D1, { ...f, children: /* @__PURE__ */ a.jsx(e1, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(Xf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(m1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11177
+ y1,
11176
11178
  {
11177
11179
  defaultConnectionState: fD.connected,
11178
11180
  children: /* @__PURE__ */ a.jsx(
11179
- U1,
11181
+ V1,
11180
11182
  {
11181
11183
  CustomHeader: u,
11182
11184
  CustomAvatar: D,
11183
- PreChat: V1
11185
+ PreChat: H1
11184
11186
  }
11185
11187
  )
11186
11188
  }
11187
11189
  ) }) }) }) }) }) }) });
11188
11190
  }
11189
11191
  export {
11190
- Ht as ChatWidget,
11191
- Wt as UiChatWidget
11192
+ Yt as ChatWidget,
11193
+ Jt as UiChatWidget
11192
11194
  };