@connorpham/live-chat-widget 17.0.5 → 17.0.6

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 o0 = Object.defineProperty;
2
- var d0 = (u, D, f) => D in u ? o0(u, D, { enumerable: !0, configurable: !0, writable: !0, value: f }) : u[D] = f;
3
- var lD = (u, D, f) => d0(u, typeof D != "symbol" ? D + "" : D, f);
4
- import sf, { createContext as qu, useRef as mu, useEffect as Z, useContext as Hu, useState as U, useCallback as Mu, useMemo as C0 } from "react";
1
+ var i0 = Object.defineProperty;
2
+ var o0 = (u, D, f) => D in u ? i0(u, D, { enumerable: !0, configurable: !0, writable: !0, value: f }) : u[D] = f;
3
+ var lD = (u, D, f) => o0(u, typeof D != "symbol" ? D + "" : D, f);
4
+ import af, { createContext as qu, useRef as mu, useEffect as Z, useContext as Hu, useState as U, useCallback as Mu, useMemo as d0 } from "react";
5
5
  var dD = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function Ff(u) {
6
+ function sf(u) {
7
7
  return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
8
8
  }
9
- var WD = { exports: {} }, eD = {};
9
+ var HD = { exports: {} }, eD = {};
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
14
  */
15
- var PD, Of;
16
- function Xf() {
17
- if (Of) return PD;
18
- Of = 1;
15
+ var PD, Nf;
16
+ function Jf() {
17
+ if (Nf) return PD;
18
+ Nf = 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 Xf() {
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 Rf;
70
- function c0() {
71
- if (Rf) return eD;
72
- Rf = 1, Xf();
73
- var u = sf, D = 60103;
69
+ var Of;
70
+ function C0() {
71
+ if (Of) return eD;
72
+ Of = 1, Jf();
73
+ var u = af, D = 60103;
74
74
  if (eD.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
75
75
  var f = Symbol.for;
76
76
  D = f("react.element"), eD.Fragment = f("react.fragment");
@@ -85,9 +85,9 @@ function c0() {
85
85
  }
86
86
  return eD.jsx = r, eD.jsxs = r, eD;
87
87
  }
88
- var ID = {}, Pf;
89
- function l0() {
90
- return Pf || (Pf = 1, function(u) {
88
+ var ID = {}, Rf;
89
+ function c0() {
90
+ return Rf || (Rf = 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 l0() {
98
98
  * LICENSE file in the root directory of this source tree.
99
99
  */
100
100
  D.NODE_ENV !== "production" && function() {
101
- var f = sf, e = Xf(), t = 60103, n = 60106;
101
+ var f = af, e = Jf(), 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, j = 60115, y = 60116, C = 60121, v = 60122, x = 60117, m = 60129, T = 60131;
104
104
  if (typeof Symbol == "function" && Symbol.for) {
@@ -336,8 +336,8 @@ function l0() {
336
336
  } finally {
337
337
  ru = !1, cu.current = K, tu(), Error.prepareStackTrace = G;
338
338
  }
339
- var fD = i ? i.displayName || i.name : "", Nf = fD ? Bu(fD) : "";
340
- return typeof i == "function" && du.set(i, Nf), Nf;
339
+ var fD = i ? i.displayName || i.name : "", Tf = fD ? Bu(fD) : "";
340
+ return typeof i == "function" && du.set(i, Tf), Tf;
341
341
  }
342
342
  function S(i, b, w) {
343
343
  return Iu(i, !1);
@@ -385,7 +385,7 @@ function l0() {
385
385
  } else
386
386
  gu.setExtraStackFrame(null);
387
387
  }
388
- function K1(i, b, w, L, G) {
388
+ function Y1(i, b, w, L, G) {
389
389
  {
390
390
  var K = Function.call.bind(Object.prototype.hasOwnProperty);
391
391
  for (var Y in i)
@@ -404,13 +404,13 @@ function l0() {
404
404
  }
405
405
  }
406
406
  }
407
- var yf = q.ReactCurrentOwner, TD = Object.prototype.hasOwnProperty, J1 = {
407
+ var _f = q.ReactCurrentOwner, TD = Object.prototype.hasOwnProperty, K1 = {
408
408
  key: !0,
409
409
  ref: !0,
410
410
  __self: !0,
411
411
  __source: !0
412
- }, vf, wf;
413
- function G1(i) {
412
+ }, yf, vf;
413
+ function J1(i) {
414
414
  if (TD.call(i, "ref")) {
415
415
  var b = Object.getOwnPropertyDescriptor(i, "ref").get;
416
416
  if (b && b.isReactWarning)
@@ -418,7 +418,7 @@ function l0() {
418
418
  }
419
419
  return i.ref !== void 0;
420
420
  }
421
- function X1(i) {
421
+ function G1(i) {
422
422
  if (TD.call(i, "key")) {
423
423
  var b = Object.getOwnPropertyDescriptor(i, "key").get;
424
424
  if (b && b.isReactWarning)
@@ -426,13 +426,13 @@ function l0() {
426
426
  }
427
427
  return i.key !== void 0;
428
428
  }
429
- function Z1(i, b) {
430
- typeof i.ref == "string" && yf.current;
429
+ function X1(i, b) {
430
+ typeof i.ref == "string" && _f.current;
431
431
  }
432
- function Q1(i, b) {
432
+ function Z1(i, b) {
433
433
  {
434
434
  var w = function() {
435
- vf || (vf = !0, g("%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)", b));
435
+ yf || (yf = !0, g("%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)", b));
436
436
  };
437
437
  w.isReactWarning = !0, Object.defineProperty(i, "key", {
438
438
  get: w,
@@ -440,10 +440,10 @@ function l0() {
440
440
  });
441
441
  }
442
442
  }
443
- function u0(i, b) {
443
+ function Q1(i, b) {
444
444
  {
445
445
  var w = function() {
446
- wf || (wf = !0, g("%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)", b));
446
+ vf || (vf = !0, g("%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)", b));
447
447
  };
448
448
  w.isReactWarning = !0, Object.defineProperty(i, "ref", {
449
449
  get: w,
@@ -451,7 +451,7 @@ function l0() {
451
451
  });
452
452
  }
453
453
  }
454
- var D0 = function(i, b, w, L, G, K, Y) {
454
+ var u0 = function(i, b, w, L, G, K, Y) {
455
455
  var H = {
456
456
  // This tag allows us to uniquely identify this as a React Element
457
457
  $$typeof: t,
@@ -480,12 +480,12 @@ function l0() {
480
480
  value: G
481
481
  }), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
482
482
  };
483
- function f0(i, b, w, L, G) {
483
+ function D0(i, b, w, L, G) {
484
484
  {
485
485
  var K, Y = {}, H = null, bu = null;
486
- w !== void 0 && (H = "" + w), X1(b) && (H = "" + b.key), G1(b) && (bu = b.ref, Z1(b, G));
486
+ w !== void 0 && (H = "" + w), G1(b) && (H = "" + b.key), J1(b) && (bu = b.ref, X1(b, G));
487
487
  for (K in b)
488
- TD.call(b, K) && !J1.hasOwnProperty(K) && (Y[K] = b[K]);
488
+ TD.call(b, K) && !K1.hasOwnProperty(K) && (Y[K] = b[K]);
489
489
  if (i && i.defaultProps) {
490
490
  var nu = i.defaultProps;
491
491
  for (K in nu)
@@ -493,25 +493,25 @@ function l0() {
493
493
  }
494
494
  if (H || bu) {
495
495
  var su = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
496
- H && Q1(Y, su), bu && u0(Y, su);
496
+ H && Z1(Y, su), bu && Q1(Y, su);
497
497
  }
498
- return D0(i, H, bu, G, L, yf.current, Y);
498
+ return u0(i, H, bu, G, L, _f.current, Y);
499
499
  }
500
500
  }
501
- var ND = q.ReactCurrentOwner, Af = q.ReactDebugCurrentFrame;
501
+ var ND = q.ReactCurrentOwner, wf = q.ReactDebugCurrentFrame;
502
502
  function DD(i) {
503
503
  if (i) {
504
504
  var b = i._owner, w = au(i.type, i._source, b ? b.type : null);
505
- Af.setExtraStackFrame(w);
505
+ wf.setExtraStackFrame(w);
506
506
  } else
507
- Af.setExtraStackFrame(null);
507
+ wf.setExtraStackFrame(null);
508
508
  }
509
509
  var OD;
510
510
  OD = !1;
511
511
  function RD(i) {
512
512
  return typeof i == "object" && i !== null && i.$$typeof === t;
513
513
  }
514
- function xf() {
514
+ function Af() {
515
515
  {
516
516
  if (ND.current) {
517
517
  var i = E(ND.current.type);
@@ -523,13 +523,13 @@ Check the render method of \`` + i + "`.";
523
523
  return "";
524
524
  }
525
525
  }
526
- function e0(i) {
526
+ function f0(i) {
527
527
  return "";
528
528
  }
529
- var kf = {};
530
- function t0(i) {
529
+ var xf = {};
530
+ function e0(i) {
531
531
  {
532
- var b = xf();
532
+ var b = Af();
533
533
  if (!b) {
534
534
  var w = typeof i == "string" ? i : i.displayName || i.name;
535
535
  w && (b = `
@@ -539,27 +539,27 @@ Check the top-level render call using <` + w + ">.");
539
539
  return b;
540
540
  }
541
541
  }
542
- function jf(i, b) {
542
+ function kf(i, b) {
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 = t0(b);
548
- if (kf[w])
547
+ var w = e0(b);
548
+ if (xf[w])
549
549
  return;
550
- kf[w] = !0;
550
+ xf[w] = !0;
551
551
  var L = "";
552
552
  i && i._owner && i._owner !== ND.current && (L = " It was passed a child from " + E(i._owner.type) + "."), DD(i), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, L), DD(null);
553
553
  }
554
554
  }
555
- function Sf(i, b) {
555
+ function jf(i, b) {
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 L = i[w];
562
- RD(L) && jf(L, b);
562
+ RD(L) && kf(L, b);
563
563
  }
564
564
  else if (RD(i))
565
565
  i._store && (i._store.validated = !0);
@@ -567,11 +567,11 @@ Check the top-level render call using <` + w + ">.");
567
567
  var G = P(i);
568
568
  if (typeof G == "function" && G !== i.entries)
569
569
  for (var K = G.call(i), Y; !(Y = K.next()).done; )
570
- RD(Y.value) && jf(Y.value, b);
570
+ RD(Y.value) && kf(Y.value, b);
571
571
  }
572
572
  }
573
573
  }
574
- function n0(i) {
574
+ function t0(i) {
575
575
  {
576
576
  var b = i.type;
577
577
  if (b == null || typeof b == "string")
@@ -587,7 +587,7 @@ Check the top-level render call using <` + w + ">.");
587
587
  return;
588
588
  if (w) {
589
589
  var L = E(b);
590
- K1(w, i.props, "prop", L, i);
590
+ Y1(w, i.props, "prop", L, i);
591
591
  } else if (b.PropTypes !== void 0 && !OD) {
592
592
  OD = !0;
593
593
  var G = E(b);
@@ -596,7 +596,7 @@ Check the top-level render call using <` + w + ">.");
596
596
  typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
597
  }
598
598
  }
599
- function r0(i) {
599
+ function n0(i) {
600
600
  {
601
601
  for (var b = Object.keys(i.props), w = 0; w < b.length; w++) {
602
602
  var L = b[w];
@@ -608,18 +608,18 @@ Check the top-level render call using <` + w + ">.");
608
608
  i.ref !== null && (DD(i), g("Invalid attribute `ref` supplied to `React.Fragment`."), DD(null));
609
609
  }
610
610
  }
611
- function Tf(i, b, w, L, G, K) {
611
+ function Sf(i, b, w, L, G, K) {
612
612
  {
613
613
  var Y = hu(i);
614
614
  if (!Y) {
615
615
  var H = "";
616
616
  (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (H += " 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 bu = e0();
618
- bu ? H += bu : H += xf();
617
+ var bu = f0();
618
+ bu ? H += bu : H += Af();
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") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : nu = typeof i, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nu, H);
621
621
  }
622
- var su = f0(i, b, w, G, K);
622
+ var su = D0(i, b, w, G, 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 (L)
629
629
  if (Array.isArray(Lu)) {
630
630
  for (var fD = 0; fD < Lu.length; fD++)
631
- Sf(Lu[fD], i);
631
+ jf(Lu[fD], i);
632
632
  Object.freeze && Object.freeze(Lu);
633
633
  } else
634
634
  g("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
- Sf(Lu, i);
636
+ jf(Lu, i);
637
637
  }
638
- return i === u.Fragment ? r0(su) : n0(su), su;
638
+ return i === u.Fragment ? n0(su) : t0(su), su;
639
639
  }
640
640
  }
641
- function a0(i, b, w) {
642
- return Tf(i, b, w, !0);
641
+ function r0(i, b, w) {
642
+ return Sf(i, b, w, !0);
643
643
  }
644
- function s0(i, b, w) {
645
- return Tf(i, b, w, !1);
644
+ function a0(i, b, w) {
645
+ return Sf(i, b, w, !1);
646
646
  }
647
- var F0 = s0, i0 = a0;
648
- u.jsx = F0, u.jsxs = i0;
647
+ var s0 = a0, F0 = r0;
648
+ u.jsx = s0, u.jsxs = F0;
649
649
  }();
650
650
  }(ID)), ID;
651
651
  }
652
- var E0 = {};
653
- E0.NODE_ENV === "production" ? WD.exports = c0() : WD.exports = l0();
654
- var a = WD.exports;
655
- const Zf = qu(void 0), Qf = ({
652
+ var l0 = {};
653
+ l0.NODE_ENV === "production" ? HD.exports = C0() : HD.exports = c0();
654
+ var a = HD.exports;
655
+ const Gf = qu(void 0), Xf = ({
656
656
  children: u,
657
657
  channelName: D
658
658
  }) => {
@@ -677,7 +677,7 @@ const Zf = qu(void 0), Qf = ({
677
677
  f.current.postMessage(r);
678
678
  };
679
679
  return /* @__PURE__ */ a.jsx(
680
- Zf.Provider,
680
+ Gf.Provider,
681
681
  {
682
682
  value: {
683
683
  subscribe: t,
@@ -686,50 +686,50 @@ const Zf = qu(void 0), Qf = ({
686
686
  children: u
687
687
  }
688
688
  );
689
- }, h0 = () => {
690
- const u = Hu(Zf);
689
+ }, E0 = () => {
690
+ const u = Hu(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
- }, b0 = (...u) => {
697
- const { subscribe: D } = h0();
696
+ }, h0 = (...u) => {
697
+ const { subscribe: D } = E0();
698
698
  Z(() => {
699
699
  D(...u);
700
700
  }, [D, ...u]);
701
701
  };
702
- var YD = /* @__PURE__ */ ((u) => (u.message = "message", u.delivery = "delivery", u.read = "read", u.typing = "typing", u.follow = "follow", u.echo = "echo", u.unknown = "", u))(YD || {}), uu = /* @__PURE__ */ ((u) => (u.sent = "sent", u.received = "received", u))(uu || {}), u1 = /* @__PURE__ */ ((u) => (u.text = "text", u.location = "location", u))(u1 || {}), Au = /* @__PURE__ */ ((u) => (u.text = "text", u.quick_reply = "quick_reply", u.postback = "postback", u.location = "location", u.file = "file", u.notify = "notify", u))(Au || {}), KD = /* @__PURE__ */ ((u) => (u.text = "text", u.buttons = "buttons", u.quick_replies = "quick_replies", u.file = "file", u.list = "list", u.carousel = "carousel", u))(KD || {}), iD = /* @__PURE__ */ ((u) => (u[u.sent = 0] = "sent", u[u.sending = 1] = "sending", u[u.uploading = 2] = "uploading", u))(iD || {}), tD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(tD || {}), aD = {};
703
- const D1 = {
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 || {}), Au = /* @__PURE__ */ ((u) => (u.text = "text", u.quick_reply = "quick_reply", u.postback = "postback", u.location = "location", u.file = "file", u.notify = "notify", u))(Au || {}), 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 || {}), iD = /* @__PURE__ */ ((u) => (u[u.sent = 0] = "sent", u[u.sending = 1] = "sending", u[u.uploading = 2] = "uploading", u))(iD || {}), tD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(tD || {}), aD = {};
703
+ const Qf = {
704
704
  apiUrl: aD.REACT_APP_WIDGET_API_URL || "http://localhost:4000",
705
705
  channel: aD.REACT_APP_WIDGET_CHANNEL || "console-channel",
706
706
  language: "en",
707
707
  maxUploadSize: aD.UPLOAD_MAX_SIZE_IN_BYTES ?? "" ? Number(aD.UPLOAD_MAX_SIZE_IN_BYTES) : 20 * 1024 * 1024,
708
708
  // 20 MB in bytes
709
709
  ownerId: aD.REACT_APP_WIDGET_OWNER_ID || "68342cec1e3cef0065f1b563"
710
- }, f1 = qu(D1), e1 = ({ children: u, ...D }) => {
710
+ }, u1 = qu(Qf), D1 = ({ children: u, ...D }) => {
711
711
  const f = mu({
712
- ...D1,
712
+ ...Qf,
713
713
  ...D
714
714
  });
715
- return /* @__PURE__ */ a.jsx(f1.Provider, { value: f.current, children: u });
715
+ return /* @__PURE__ */ a.jsx(u1.Provider, { value: f.current, children: u });
716
716
  }, Wu = () => {
717
- const u = Hu(f1);
717
+ const u = Hu(u1);
718
718
  if (!u)
719
719
  throw new Error("useConfig must be used within a ConfigProvider");
720
720
  return u;
721
- }, p0 = {
721
+ }, b0 = {
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
- }, B0 = {
727
+ }, p0 = {
728
728
  greeting: "Welcome !",
729
729
  placeholder: "Write something...",
730
730
  connection_lost: "Connection Lost",
731
731
  back: "Back"
732
- }, g0 = {
732
+ }, B0 = {
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 D1 = {
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
+ }, g0 = {
742
+ user_subscription: b0,
743
+ settings: p0,
744
+ messages: B0
741
745
  }, m0 = {
742
- user_subscription: p0,
743
- settings: B0,
744
- messages: g0
745
- }, _0 = {
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
- }, y0 = {
751
+ }, _0 = {
752
752
  greeting: "Bienvenue !",
753
753
  placeholder: "Écrivez quelque chose...",
754
754
  connection_lost: "Connexion perdue",
755
755
  back: "Retour"
756
- }, v0 = {
756
+ }, y0 = {
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 D1 = {
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
- }, w0 = {
766
- user_subscription: _0,
767
- settings: y0,
768
- messages: v0
769
- }, If = { en: m0, fr: w0 }, t1 = qu(
765
+ }, v0 = {
766
+ user_subscription: m0,
767
+ settings: _0,
768
+ messages: y0
769
+ }, Pf = { en: g0, fr: v0 }, f1 = qu(
770
770
  void 0
771
- ), n1 = ({
771
+ ), e1 = ({
772
772
  children: u
773
773
  }) => {
774
- const f = Wu().language, e = (r) => r in If, [t, n] = U(
774
+ const f = Wu().language, e = (r) => r in Pf, [t, n] = U(
775
775
  e(f) ? f : "en"
776
776
  );
777
777
  return /* @__PURE__ */ a.jsx(
778
- t1.Provider,
778
+ f1.Provider,
779
779
  {
780
- value: { translations: If, language: t, setLanguage: n },
780
+ value: { translations: Pf, language: t, setLanguage: n },
781
781
  children: u
782
782
  }
783
783
  );
784
- }, A0 = () => {
785
- const u = Hu(t1);
784
+ }, w0 = () => {
785
+ const u = Hu(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
- }, x0 = (u, D) => D.split(".").reduce((f, e) => {
791
+ }, A0 = (u, D) => D.split(".").reduce((f, e) => {
792
792
  if (typeof f == "object" && f !== null)
793
793
  return f[e];
794
794
  }, u), zu = () => {
795
- const { translations: u, language: D } = A0();
795
+ const { translations: u, language: D } = w0();
796
796
  return { t: Mu(
797
- (e, t = {}) => (x0(u[D], e) || e).replace(
797
+ (e, t = {}) => (A0(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 k0(u, D) {
804
+ function x0(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 j0(u) {
809
+ function k0(u) {
810
810
  const D = sessionStorage.getItem(u);
811
811
  return D === null ? null : JSON.parse(D);
812
812
  }
813
- const Lf = { setItem: k0, getItem: j0 }, Tu = /* @__PURE__ */ Object.create(null);
813
+ const If = { setItem: x0, getItem: k0 }, Tu = /* @__PURE__ */ Object.create(null);
814
814
  Tu.open = "0";
815
815
  Tu.close = "1";
816
816
  Tu.ping = "2";
@@ -822,59 +822,59 @@ const pD = /* @__PURE__ */ Object.create(null);
822
822
  Object.keys(Tu).forEach((u) => {
823
823
  pD[Tu[u]] = u;
824
824
  });
825
- const JD = { type: "error", data: "parser error" }, r1 = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", a1 = typeof ArrayBuffer == "function", s1 = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u && u.buffer instanceof ArrayBuffer, of = ({ type: u, data: D }, f, e) => r1 && D instanceof Blob ? f ? e(D) : $f(D, e) : a1 && (D instanceof ArrayBuffer || s1(D)) ? f ? e(D) : $f(new Blob([D]), e) : e(Tu[u] + (D || "")), $f = (u, D) => {
825
+ const KD = { 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) : Lf(D, e) : n1 && (D instanceof ArrayBuffer || r1(D)) ? f ? e(D) : Lf(new Blob([D]), e) : e(Tu[u] + (D || "")), Lf = (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 Mf(u) {
832
+ function $f(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 LD;
836
- function S0(u, D) {
837
- if (r1 && u.data instanceof Blob)
838
- return u.data.arrayBuffer().then(Mf).then(D);
839
- if (a1 && (u.data instanceof ArrayBuffer || s1(u.data)))
840
- return D(Mf(u.data));
841
- of(u, !1, (f) => {
836
+ function j0(u, D) {
837
+ if (t1 && u.data instanceof Blob)
838
+ return u.data.arrayBuffer().then($f).then(D);
839
+ if (n1 && (u.data instanceof ArrayBuffer || r1(u.data)))
840
+ return D($f(u.data));
841
+ Ff(u, !1, (f) => {
842
842
  LD || (LD = new TextEncoder()), D(LD.encode(f));
843
843
  });
844
844
  }
845
- const qf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", FD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
846
- for (let u = 0; u < qf.length; u++)
847
- FD[qf.charCodeAt(u)] = u;
848
- const T0 = (u) => {
845
+ const Mf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", FD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
846
+ for (let u = 0; u < Mf.length; u++)
847
+ FD[Mf.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 = FD[u.charCodeAt(e)], r = FD[u.charCodeAt(e + 1)], s = FD[u.charCodeAt(e + 2)], F = FD[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
- }, N0 = typeof ArrayBuffer == "function", df = (u, D) => {
855
+ }, T0 = typeof ArrayBuffer == "function", of = (u, D) => {
856
856
  if (typeof u != "string")
857
857
  return {
858
858
  type: "message",
859
- data: F1(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: O0(u.substring(1), D)
864
+ data: N0(u.substring(1), D)
865
865
  } : pD[f] ? u.length > 1 ? {
866
866
  type: pD[f],
867
867
  data: u.substring(1)
868
868
  } : {
869
869
  type: pD[f]
870
- } : JD;
871
- }, O0 = (u, D) => {
872
- if (N0) {
873
- const f = T0(u);
874
- return F1(f, D);
870
+ } : KD;
871
+ }, N0 = (u, D) => {
872
+ if (T0) {
873
+ const f = S0(u);
874
+ return a1(f, D);
875
875
  } else
876
876
  return { base64: !0, data: u };
877
- }, F1 = (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 T0 = (u) => {
882
882
  default:
883
883
  return u instanceof ArrayBuffer ? u : u.buffer;
884
884
  }
885
- }, i1 = "", R0 = (u, D) => {
885
+ }, s1 = "", O0 = (u, D) => {
886
886
  const f = u.length, e = new Array(f);
887
887
  let t = 0;
888
888
  u.forEach((n, r) => {
889
- of(n, !1, (s) => {
890
- e[r] = s, ++t === f && D(e.join(i1));
889
+ Ff(n, !1, (s) => {
890
+ e[r] = s, ++t === f && D(e.join(s1));
891
891
  });
892
892
  });
893
- }, P0 = (u, D) => {
894
- const f = u.split(i1), e = [];
893
+ }, R0 = (u, D) => {
894
+ const f = u.split(s1), e = [];
895
895
  for (let t = 0; t < f.length; t++) {
896
- const n = df(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 I0() {
902
+ function P0() {
903
903
  return new TransformStream({
904
904
  transform(u, D) {
905
- S0(u, (f) => {
905
+ j0(u, (f) => {
906
906
  const e = f.length;
907
907
  let t;
908
908
  if (e < 126)
@@ -934,7 +934,7 @@ function hD(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 L0(u, D) {
937
+ function I0(u, D) {
938
938
  $D || ($D = new TextDecoder());
939
939
  const f = [];
940
940
  let e = 0, t = -1, n = !1;
@@ -956,7 +956,7 @@ function L0(u, D) {
956
956
  break;
957
957
  const F = hD(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(JD);
959
+ s.enqueue(KD);
960
960
  break;
961
961
  }
962
962
  t = o * Math.pow(2, 32) + d.getUint32(4), e = 3;
@@ -964,21 +964,21 @@ function L0(u, D) {
964
964
  if (ED(f) < t)
965
965
  break;
966
966
  const F = hD(f, t);
967
- s.enqueue(df(n ? F : $D.decode(F), D)), e = 0;
967
+ s.enqueue(of(n ? F : $D.decode(F), D)), e = 0;
968
968
  }
969
969
  if (t === 0 || t > u) {
970
- s.enqueue(JD);
970
+ s.enqueue(KD);
971
971
  break;
972
972
  }
973
973
  }
974
974
  }
975
975
  });
976
976
  }
977
- const o1 = 4;
977
+ const F1 = 4;
978
978
  function Fu(u) {
979
- if (u) return $0(u);
979
+ if (u) return L0(u);
980
980
  }
981
- function $0(u) {
981
+ function L0(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 AD = typeof Promise == "function" && typeof Promise.resolve == "function" ? (D) => Promise.resolve().then(D) : (D, f) => f(D, 0), vu = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), M0 = "arraybuffer";
1028
- function d1(u, ...D) {
1027
+ const AD = typeof Promise == "function" && typeof Promise.resolve == "function" ? (D) => Promise.resolve().then(D) : (D, f) => f(D, 0), vu = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), $0 = "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 q0 = vu.setTimeout, z0 = vu.clearTimeout;
1031
+ const M0 = vu.setTimeout, q0 = vu.clearTimeout;
1032
1032
  function xD(u, D) {
1033
- D.useNativeTimers ? (u.setTimeoutFn = q0.bind(vu), u.clearTimeoutFn = z0.bind(vu)) : (u.setTimeoutFn = vu.setTimeout.bind(vu), u.clearTimeoutFn = vu.clearTimeout.bind(vu));
1033
+ D.useNativeTimers ? (u.setTimeoutFn = M0.bind(vu), u.clearTimeoutFn = q0.bind(vu)) : (u.setTimeoutFn = vu.setTimeout.bind(vu), u.clearTimeoutFn = vu.clearTimeout.bind(vu));
1034
1034
  }
1035
- const U0 = 1.33;
1036
- function V0(u) {
1037
- return typeof u == "string" ? H0(u) : Math.ceil((u.byteLength || u.size) * U0);
1035
+ const z0 = 1.33;
1036
+ function U0(u) {
1037
+ return typeof u == "string" ? V0(u) : Math.ceil((u.byteLength || u.size) * z0);
1038
1038
  }
1039
- function H0(u) {
1039
+ function V0(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 C1() {
1045
+ function o1() {
1046
1046
  return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
1047
1047
  }
1048
- function W0(u) {
1048
+ function H0(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 Y0(u) {
1054
+ function W0(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 Y0(u) {
1059
1059
  }
1060
1060
  return D;
1061
1061
  }
1062
- class K0 extends Error {
1062
+ class Y0 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 Cf extends Fu {
1067
+ class df extends Fu {
1068
1068
  /**
1069
1069
  * Transport abstract constructor.
1070
1070
  *
@@ -1084,7 +1084,7 @@ class Cf extends Fu {
1084
1084
  * @protected
1085
1085
  */
1086
1086
  onError(D, f, e) {
1087
- return super.emitReserved("error", new K0(D, f, e)), this;
1087
+ return super.emitReserved("error", new Y0(D, f, e)), this;
1088
1088
  }
1089
1089
  /**
1090
1090
  * Opens the transport.
@@ -1121,7 +1121,7 @@ class Cf extends Fu {
1121
1121
  * @protected
1122
1122
  */
1123
1123
  onData(D) {
1124
- const f = df(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 Cf 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 = W0(D);
1161
+ const f = H0(D);
1162
1162
  return f.length ? "?" + f : "";
1163
1163
  }
1164
1164
  }
1165
- class J0 extends Cf {
1165
+ class K0 extends df {
1166
1166
  constructor() {
1167
1167
  super(...arguments), this._polling = !1;
1168
1168
  }
@@ -1218,7 +1218,7 @@ class J0 extends Cf {
1218
1218
  return this.onClose({ description: "transport closed by the server" }), !1;
1219
1219
  this.onPacket(e);
1220
1220
  };
1221
- P0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1221
+ R0(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 J0 extends Cf {
1238
1238
  * @protected
1239
1239
  */
1240
1240
  write(D) {
1241
- this.writable = !1, R0(D, (f) => {
1241
+ this.writable = !1, O0(D, (f) => {
1242
1242
  this.doWrite(f, () => {
1243
1243
  this.writable = !0, this.emitReserved("drain");
1244
1244
  });
@@ -1251,18 +1251,18 @@ class J0 extends Cf {
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] = C1()), !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 c1 = !1;
1257
+ let d1 = !1;
1258
1258
  try {
1259
- c1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1259
+ d1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1260
1260
  } catch {
1261
1261
  }
1262
- const G0 = c1;
1263
- function X0() {
1262
+ const J0 = d1;
1263
+ function G0() {
1264
1264
  }
1265
- class Z0 extends J0 {
1265
+ class X0 extends K0 {
1266
1266
  /**
1267
1267
  * XHR Polling constructor.
1268
1268
  *
@@ -1321,7 +1321,7 @@ class ju extends Fu {
1321
1321
  */
1322
1322
  _create() {
1323
1323
  var D;
1324
- const f = d1(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 ju extends Fu {
1375
1375
  */
1376
1376
  _cleanup(D) {
1377
1377
  if (!(typeof this._xhr > "u" || this._xhr === null)) {
1378
- if (this._xhr.onreadystatechange = X0, D)
1378
+ if (this._xhr.onreadystatechange = G0, D)
1379
1379
  try {
1380
1380
  this._xhr.abort();
1381
1381
  } catch {
@@ -1405,36 +1405,36 @@ ju.requestsCount = 0;
1405
1405
  ju.requests = {};
1406
1406
  if (typeof document < "u") {
1407
1407
  if (typeof attachEvent == "function")
1408
- attachEvent("onunload", zf);
1408
+ attachEvent("onunload", qf);
1409
1409
  else if (typeof addEventListener == "function") {
1410
1410
  const u = "onpagehide" in vu ? "pagehide" : "unload";
1411
- addEventListener(u, zf, !1);
1411
+ addEventListener(u, qf, !1);
1412
1412
  }
1413
1413
  }
1414
- function zf() {
1414
+ function qf() {
1415
1415
  for (let u in ju.requests)
1416
1416
  ju.requests.hasOwnProperty(u) && ju.requests[u].abort();
1417
1417
  }
1418
- const Q0 = function() {
1419
- const u = l1({
1418
+ const Z0 = function() {
1419
+ const u = C1({
1420
1420
  xdomain: !1
1421
1421
  });
1422
1422
  return u && u.responseType !== null;
1423
1423
  }();
1424
- class ue extends Z0 {
1424
+ class Q0 extends X0 {
1425
1425
  constructor(D) {
1426
1426
  super(D);
1427
1427
  const f = D && D.forceBase64;
1428
- this.supportsBinary = Q0 && !f;
1428
+ this.supportsBinary = Z0 && !f;
1429
1429
  }
1430
1430
  request(D = {}) {
1431
- return Object.assign(D, { xd: this.xd }, this.opts), new ju(l1, this.uri(), D);
1431
+ return Object.assign(D, { xd: this.xd }, this.opts), new ju(C1, this.uri(), D);
1432
1432
  }
1433
1433
  }
1434
- function l1(u) {
1434
+ function C1(u) {
1435
1435
  const D = u.xdomain;
1436
1436
  try {
1437
- if (typeof XMLHttpRequest < "u" && (!D || G0))
1437
+ if (typeof XMLHttpRequest < "u" && (!D || J0))
1438
1438
  return new XMLHttpRequest();
1439
1439
  } catch {
1440
1440
  }
@@ -1444,13 +1444,13 @@ function l1(u) {
1444
1444
  } catch {
1445
1445
  }
1446
1446
  }
1447
- const E1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1448
- class De extends Cf {
1447
+ const c1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1448
+ class ue 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 = E1 ? {} : d1(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 De extends Cf {
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
- of(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 De extends Cf {
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] = C1()), 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 MD = vu.WebSocket || vu.MozWebSocket;
1505
- class fe extends De {
1505
+ class De extends ue {
1506
1506
  createSocket(D, f, e) {
1507
- return E1 ? new MD(D, f, e) : f ? new MD(D, f) : new MD(D);
1507
+ return c1 ? new MD(D, f, e) : f ? new MD(D, f) : new MD(D);
1508
1508
  }
1509
1509
  doWrite(D, f) {
1510
1510
  this.ws.send(f);
1511
1511
  }
1512
1512
  }
1513
- class ee extends Cf {
1513
+ class fe extends df {
1514
1514
  get name() {
1515
1515
  return "webtransport";
1516
1516
  }
@@ -1526,7 +1526,7 @@ class ee extends Cf {
1526
1526
  this.onError("webtransport error", D);
1527
1527
  }), this._transport.ready.then(() => {
1528
1528
  this._transport.createBidirectionalStream().then((D) => {
1529
- const f = L0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = I0();
1529
+ const f = I0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = P0();
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 ee extends Cf {
1556
1556
  (D = this._transport) === null || D === void 0 || D.close();
1557
1557
  }
1558
1558
  }
1559
- const te = {
1560
- websocket: fe,
1561
- webtransport: ee,
1562
- polling: ue
1563
- }, ne = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, re = [
1559
+ const ee = {
1560
+ websocket: De,
1561
+ webtransport: fe,
1562
+ polling: Q0
1563
+ }, te = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, ne = [
1564
1564
  "source",
1565
1565
  "protocol",
1566
1566
  "authority",
@@ -1576,28 +1576,28 @@ const te = {
1576
1576
  "query",
1577
1577
  "anchor"
1578
1578
  ];
1579
- function GD(u) {
1579
+ function JD(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 = ne.exec(u || ""), n = {}, r = 14;
1584
+ let t = te.exec(u || ""), n = {}, r = 14;
1585
1585
  for (; r--; )
1586
- n[re[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 = ae(n, n.path), n.queryKey = se(n, n.query), n;
1586
+ n[ne[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 = re(n, n.path), n.queryKey = ae(n, n.query), n;
1588
1588
  }
1589
- function ae(u, D) {
1589
+ function re(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 se(u, D) {
1593
+ function ae(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 XD = typeof addEventListener == "function" && typeof removeEventListener == "function", BD = [];
1600
- XD && addEventListener("offline", () => {
1599
+ const GD = typeof addEventListener == "function" && typeof removeEventListener == "function", BD = [];
1600
+ GD && addEventListener("offline", () => {
1601
1601
  BD.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 = M0, 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 = GD(D);
1611
+ if (super(), this.binaryType = $0, 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);
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 = GD(f.host).host);
1614
+ } else f.host && (f.hostname = JD(f.host).host);
1615
1615
  xD(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 = Y0(this.opts.query)), XD && (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 = W0(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 = o1, 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 += V0(t)), e > 0 && f > this._maxPayload)
1767
+ if (t && (f += U0(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(), XD && (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 = BD.indexOf(this._offlineEventListener);
1867
1867
  e !== -1 && BD.splice(e, 1);
1868
1868
  }
@@ -1870,8 +1870,8 @@ class Vu extends Fu {
1870
1870
  }
1871
1871
  }
1872
1872
  }
1873
- Vu.protocol = o1;
1874
- class Fe extends Vu {
1873
+ Vu.protocol = F1;
1874
+ class se extends Vu {
1875
1875
  constructor() {
1876
1876
  super(...arguments), this._upgrades = [];
1877
1877
  }
@@ -1943,21 +1943,21 @@ class Fe extends Vu {
1943
1943
  return f;
1944
1944
  }
1945
1945
  }
1946
- let ie = class extends Fe {
1946
+ let Fe = class extends se {
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) => te[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) => ee[t]).filter((t) => !!t)), super(D, e);
1950
1950
  }
1951
1951
  };
1952
- function oe(u, D = "", f) {
1952
+ function ie(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 = GD(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 = 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 || "/";
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 de = typeof ArrayBuffer == "function", Ce = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, h1 = Object.prototype.toString, ce = typeof Blob == "function" || typeof Blob < "u" && h1.call(Blob) === "[object BlobConstructor]", le = typeof File == "function" || typeof File < "u" && h1.call(File) === "[object FileConstructor]";
1959
- function cf(u) {
1960
- return de && (u instanceof ArrayBuffer || Ce(u)) || ce && u instanceof Blob || le && u instanceof File;
1958
+ const oe = typeof ArrayBuffer == "function", de = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, l1 = Object.prototype.toString, Ce = 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 oe && (u instanceof ArrayBuffer || de(u)) || Ce && u instanceof Blob || ce && u instanceof File;
1961
1961
  }
1962
1962
  function gD(u, D) {
1963
1963
  if (!u || typeof u != "object")
@@ -1968,7 +1968,7 @@ function gD(u, D) {
1968
1968
  return !0;
1969
1969
  return !1;
1970
1970
  }
1971
- if (cf(u))
1971
+ if (Cf(u))
1972
1972
  return !0;
1973
1973
  if (u.toJSON && typeof u.toJSON == "function" && arguments.length === 1)
1974
1974
  return gD(u.toJSON(), !0);
@@ -1977,33 +1977,33 @@ function gD(u, D) {
1977
1977
  return !0;
1978
1978
  return !1;
1979
1979
  }
1980
- function Ee(u) {
1980
+ function le(u) {
1981
1981
  const D = [], f = u.data, e = u;
1982
- return e.data = ZD(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 ZD(u, D) {
1984
+ function XD(u, D) {
1985
1985
  if (!u)
1986
1986
  return u;
1987
- if (cf(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] = ZD(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] = ZD(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 he(u, D) {
2004
- return u.data = QD(u.data, D), delete u.attachments, u;
2003
+ function Ee(u, D) {
2004
+ return u.data = ZD(u.data, D), delete u.attachments, u;
2005
2005
  }
2006
- function QD(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 QD(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] = QD(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] = QD(u[f], D));
2018
+ Object.prototype.hasOwnProperty.call(u, f) && (u[f] = ZD(u[f], D));
2019
2019
  return u;
2020
2020
  }
2021
- const be = [
2021
+ const he = [
2022
2022
  "connect",
2023
2023
  "connect_error",
2024
2024
  "disconnect",
@@ -2026,12 +2026,12 @@ const be = [
2026
2026
  "newListener",
2027
2027
  "removeListener"
2028
2028
  // used by the Node.js EventEmitter
2029
- ], pe = 5;
2029
+ ], be = 5;
2030
2030
  var W;
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
  })(W || (W = {}));
2034
- class Be {
2034
+ class pe {
2035
2035
  /**
2036
2036
  * Encoder constructor
2037
2037
  *
@@ -2067,14 +2067,14 @@ class Be {
2067
2067
  * a list of buffers.
2068
2068
  */
2069
2069
  encodeAsBinary(D) {
2070
- const f = Ee(D), e = this.encodeAsString(f.packet), t = f.buffers;
2070
+ const f = le(D), e = this.encodeAsString(f.packet), t = f.buffers;
2071
2071
  return t.unshift(e), t;
2072
2072
  }
2073
2073
  }
2074
- function Uf(u) {
2074
+ function zf(u) {
2075
2075
  return Object.prototype.toString.call(u) === "[object Object]";
2076
2076
  }
2077
- class lf extends Fu {
2077
+ class cf extends Fu {
2078
2078
  /**
2079
2079
  * Decoder constructor
2080
2080
  *
@@ -2095,8 +2095,8 @@ class lf 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 === W.BINARY_EVENT;
2098
- e || f.type === W.BINARY_ACK ? (f.type = e ? W.EVENT : W.ACK, this.reconstructor = new ge(f), f.attachments === 0 && super.emitReserved("decoded", f)) : super.emitReserved("decoded", f);
2099
- } else if (cf(D) || D.base64)
2098
+ e || f.type === W.BINARY_ACK ? (f.type = e ? W.EVENT : W.ACK, this.reconstructor = new Be(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 lf extends Fu {
2149
2149
  }
2150
2150
  if (D.charAt(++f)) {
2151
2151
  const n = this.tryParse(D.substr(f));
2152
- if (lf.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 lf extends Fu {
2166
2166
  static isPayloadValid(D, f) {
2167
2167
  switch (D) {
2168
2168
  case W.CONNECT:
2169
- return Uf(f);
2169
+ return zf(f);
2170
2170
  case W.DISCONNECT:
2171
2171
  return f === void 0;
2172
2172
  case W.CONNECT_ERROR:
2173
- return typeof f == "string" || Uf(f);
2173
+ return typeof f == "string" || zf(f);
2174
2174
  case W.EVENT:
2175
2175
  case W.BINARY_EVENT:
2176
- return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && be.indexOf(f[0]) === -1);
2176
+ return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && he.indexOf(f[0]) === -1);
2177
2177
  case W.ACK:
2178
2178
  case W.BINARY_ACK:
2179
2179
  return Array.isArray(f);
@@ -2186,7 +2186,7 @@ class lf extends Fu {
2186
2186
  this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null);
2187
2187
  }
2188
2188
  }
2189
- class ge {
2189
+ class Be {
2190
2190
  constructor(D) {
2191
2191
  this.packet = D, this.buffers = [], this.reconPack = D;
2192
2192
  }
@@ -2200,7 +2200,7 @@ class ge {
2200
2200
  */
2201
2201
  takeBinaryData(D) {
2202
2202
  if (this.buffers.push(D), this.buffers.length === this.reconPack.attachments) {
2203
- const f = he(this.reconPack, this.buffers);
2203
+ const f = Ee(this.reconPack, this.buffers);
2204
2204
  return this.finishedReconstruction(), f;
2205
2205
  }
2206
2206
  return null;
@@ -2212,21 +2212,21 @@ class ge {
2212
2212
  this.reconPack = null, this.buffers = [];
2213
2213
  }
2214
2214
  }
2215
- const me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2215
+ const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2216
2216
  __proto__: null,
2217
- Decoder: lf,
2218
- Encoder: Be,
2217
+ Decoder: cf,
2218
+ Encoder: pe,
2219
2219
  get PacketType() {
2220
2220
  return W;
2221
2221
  },
2222
- protocol: pe
2222
+ protocol: be
2223
2223
  }, Symbol.toStringTag, { value: "Module" }));
2224
2224
  function ku(u, D, f) {
2225
2225
  return u.on(D, f), function() {
2226
2226
  u.off(D, f);
2227
2227
  };
2228
2228
  }
2229
- const _e = Object.freeze({
2229
+ const me = Object.freeze({
2230
2230
  connect: 1,
2231
2231
  connect_error: 1,
2232
2232
  disconnect: 1,
@@ -2235,7 +2235,7 @@ const _e = Object.freeze({
2235
2235
  newListener: 1,
2236
2236
  removeListener: 1
2237
2237
  });
2238
- class b1 extends Fu {
2238
+ class E1 extends Fu {
2239
2239
  /**
2240
2240
  * `Socket` constructor.
2241
2241
  */
@@ -2351,7 +2351,7 @@ class b1 extends Fu {
2351
2351
  */
2352
2352
  emit(D, ...f) {
2353
2353
  var e, t, n;
2354
- if (_e.hasOwnProperty(D))
2354
+ if (me.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 @@ nD.prototype.setMax = function(u) {
2850
2850
  nD.prototype.setJitter = function(u) {
2851
2851
  this.jitter = u;
2852
2852
  };
2853
- class uf 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, xD(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 nD({
@@ -2858,7 +2858,7 @@ class uf 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 || me;
2861
+ const t = f.parser || ge;
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 uf extends Fu {
2901
2901
  open(D) {
2902
2902
  if (~this._readyState.indexOf("open"))
2903
2903
  return this;
2904
- this.engine = new ie(this.uri, this.opts);
2904
+ this.engine = new Fe(this.uri, this.opts);
2905
2905
  const f = this.engine, e = this;
2906
2906
  this._readyState = "opening", this.skipReconnect = !1;
2907
2907
  const t = ku(f, "open", function() {
@@ -2991,7 +2991,7 @@ class uf 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 b1(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,29 +3091,29 @@ class uf extends Fu {
3091
3091
  const sD = {};
3092
3092
  function mD(u, D) {
3093
3093
  typeof u == "object" && (D = u, u = void 0), D = D || {};
3094
- const f = oe(u, D.path || "/socket.io"), e = f.source, t = f.id, n = f.path, r = sD[t] && n in sD[t].nsps, s = D.forceNew || D["force new connection"] || D.multiplex === !1 || r;
3094
+ const f = ie(u, D.path || "/socket.io"), e = f.source, t = f.id, n = f.path, r = sD[t] && n in sD[t].nsps, s = D.forceNew || D["force new connection"] || D.multiplex === !1 || r;
3095
3095
  let F;
3096
- return s ? F = new uf(e, D) : (sD[t] || (sD[t] = new uf(e, D)), F = sD[t]), f.query && !D.query && (D.query = f.queryKey), F.socket(f.path, D);
3096
+ return s ? F = new QD(e, D) : (sD[t] || (sD[t] = new QD(e, D)), F = sD[t]), f.query && !D.query && (D.query = f.queryKey), F.socket(f.path, D);
3097
3097
  }
3098
3098
  Object.assign(mD, {
3099
- Manager: uf,
3100
- Socket: b1,
3099
+ Manager: QD,
3100
+ Socket: E1,
3101
3101
  io: mD,
3102
3102
  connect: mD
3103
3103
  });
3104
- const ye = () => typeof location > "u" ? "unknown-host" : location.host, Ef = (u, D = ye()) => `${u}-${D}`;
3105
- function ve(u, D, f) {
3104
+ const _e = () => typeof location > "u" ? "unknown-host" : location.host, lf = (u, D = _e()) => `${u}-${D}`;
3105
+ function ye(u, D, f) {
3106
3106
  if (typeof D > "u") throw new Error("Value cannot be undefined");
3107
- return localStorage.setItem(Ef(u, f), JSON.stringify(D)), !0;
3107
+ return localStorage.setItem(lf(u, f), JSON.stringify(D)), !0;
3108
3108
  }
3109
- function we(u, D) {
3110
- const f = localStorage.getItem(Ef(u, D));
3109
+ function ve(u, D) {
3110
+ const f = localStorage.getItem(lf(u, D));
3111
3111
  return f === null ? null : JSON.parse(f);
3112
3112
  }
3113
- function Ae(u, D) {
3114
- localStorage.removeItem(Ef(u, D));
3113
+ function we(u, D) {
3114
+ localStorage.removeItem(lf(u, D));
3115
3115
  }
3116
- const X = { setItem: ve, getItem: we, removeItem: Ae }, wD = class wD {
3116
+ const X = { setItem: ye, getItem: ve, removeItem: we }, wD = class wD {
3117
3117
  constructor(D, f, e) {
3118
3118
  lD(this, "socket");
3119
3119
  lD(this, "config");
@@ -3247,11 +3247,11 @@ lD(wD, "defaultConfig", {
3247
3247
  upgrade: !0,
3248
3248
  withCredentials: !0
3249
3249
  });
3250
- let Df = wD, qD;
3251
- const xe = (u, D) => {
3250
+ let uf = wD, qD;
3251
+ const Ae = (u, D) => {
3252
3252
  var e;
3253
3253
  const f = (e = X.getItem("profileLiveChat")) == null ? void 0 : e.id;
3254
- return qD || (qD = new Df(
3254
+ return qD || (qD = new uf(
3255
3255
  u.apiUrl,
3256
3256
  {
3257
3257
  query: {
@@ -3262,11 +3262,11 @@ const xe = (u, D) => {
3262
3262
  },
3263
3263
  D
3264
3264
  )), qD;
3265
- }, p1 = qu({
3265
+ }, h1 = qu({
3266
3266
  socket: {}
3267
- }), B1 = (u) => {
3267
+ }), b1 = (u) => {
3268
3268
  const D = Wu(), f = mu(
3269
- xe(D, {
3269
+ Ae(D, {
3270
3270
  onConnect: () => {
3271
3271
  console.info(
3272
3272
  "Hexabot Live Chat : Successfully established WS Connection!"
@@ -3280,11 +3280,11 @@ const xe = (u, D) => {
3280
3280
  }
3281
3281
  })
3282
3282
  );
3283
- return /* @__PURE__ */ a.jsx(p1.Provider, { value: { socket: f.current }, children: u.children });
3284
- }, Gu = () => Hu(p1), ff = (u, D) => {
3283
+ return /* @__PURE__ */ a.jsx(h1.Provider, { value: { socket: f.current }, children: u.children });
3284
+ }, Gu = () => Hu(h1), Df = (u, D) => {
3285
3285
  const { socket: f } = Gu();
3286
3286
  Z(() => (f.on(u, D), () => f.off(u, D)), [u, D, f]);
3287
- }, ke = () => {
3287
+ }, xe = () => {
3288
3288
  const { socket: u } = Gu();
3289
3289
  Z(() => (u.connect(), () => {
3290
3290
  u.disconnect();
@@ -3318,15 +3318,15 @@ const xe = (u, D) => {
3318
3318
  end_time: "",
3319
3319
  time_zone: "Etc/GMT+12"
3320
3320
  }
3321
- }, g1 = qu(_D), m1 = ({
3321
+ }, p1 = qu(_D), B1 = ({
3322
3322
  children: u
3323
3323
  }) => {
3324
- const { t: D } = zu(), f = Lf.getItem("settings"), [e, t] = U(
3324
+ const { t: D } = zu(), f = If.getItem("settings"), [e, t] = U(
3325
3325
  f || _D
3326
3326
  ), n = Mu((r) => {
3327
- Lf.setItem("settings", r), t(r);
3327
+ If.setItem("settings", r), t(r);
3328
3328
  }, []);
3329
- return ff("settings", (r) => {
3329
+ return Df("settings", (r) => {
3330
3330
  var s;
3331
3331
  n({
3332
3332
  ..._D,
@@ -3347,8 +3347,8 @@ const xe = (u, D) => {
3347
3347
  termsAndConditions: r.terms_and_conditions || _D.termsAndConditions,
3348
3348
  offline_mode: r.offline_mode
3349
3349
  });
3350
- }), /* @__PURE__ */ a.jsx(g1.Provider, { value: e, children: u });
3351
- }, pu = () => Hu(g1), _1 = qu(void 0), y1 = ({
3350
+ }), /* @__PURE__ */ a.jsx(p1.Provider, { value: e, children: u });
3351
+ }, pu = () => Hu(p1), g1 = qu(void 0), m1 = ({
3352
3352
  onOpen: u,
3353
3353
  onClose: D,
3354
3354
  onScrollToTop: f,
@@ -3375,13 +3375,13 @@ const xe = (u, D) => {
3375
3375
  l(m), f && n && m === 0 && f();
3376
3376
  }
3377
3377
  };
3378
- return /* @__PURE__ */ a.jsx(_1.Provider, { value: x, children: t });
3378
+ return /* @__PURE__ */ a.jsx(g1.Provider, { value: x, children: t });
3379
3379
  }, Nu = () => {
3380
- const u = Hu(_1);
3380
+ const u = Hu(g1);
3381
3381
  if (u === void 0)
3382
3382
  throw new Error("useWidget must be used within a WidgetProvider");
3383
3383
  return u;
3384
- }, je = (u) => new Intl.DateTimeFormat("en-GB", {
3384
+ }, ke = (u) => new Intl.DateTimeFormat("en-GB", {
3385
3385
  hour: "2-digit",
3386
3386
  minute: "2-digit",
3387
3387
  hour12: !1,
@@ -3390,7 +3390,7 @@ const xe = (u, D) => {
3390
3390
  const D = u || {};
3391
3391
  if (!D || D.status !== "active") return !1;
3392
3392
  if (D.start_time && D.end_time && D.time_zone) {
3393
- const f = je(D.time_zone);
3393
+ const f = ke(D.time_zone);
3394
3394
  return !(f >= D.start_time && f <= D.end_time);
3395
3395
  }
3396
3396
  return !0;
@@ -3448,7 +3448,7 @@ const xe = (u, D) => {
3448
3448
  isOfflineMode: !1,
3449
3449
  setIsOfflineMode: () => {
3450
3450
  }
3451
- }, v1 = qu(yu), w1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3451
+ }, _1 = qu(yu), y1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3452
3452
  const e = Wu(), t = pu(), { screen: n, setScreen: r } = Nu(), { setScroll: s, syncState: F, isOpen: d } = Nu(), o = Gu(), [c, l] = U(
3453
3453
  yu.participants
3454
3454
  ), [j, y] = U(
@@ -3482,7 +3482,7 @@ const xe = (u, D) => {
3482
3482
  ]), s(0), "direction" in S && S.direction === uu.received && !S.isOffline && V(!1)), S && "data" in S && "quick_replies" in S.data ? I(
3483
3483
  (S.data.quick_replies || []).map(
3484
3484
  (Du) => ({
3485
- content_type: u1.text,
3485
+ content_type: Zf.text,
3486
3486
  text: Du.title,
3487
3487
  payload: Du.payload
3488
3488
  })
@@ -3568,11 +3568,11 @@ const xe = (u, D) => {
3568
3568
  o
3569
3569
  ]
3570
3570
  );
3571
- ff(YD.message, (S) => {
3571
+ Df(WD.message, (S) => {
3572
3572
  console.log(
3573
3573
  "=== CALLING handleNewIOMessage from useSubscribe (Socket Realtime) ==="
3574
3574
  ), _u(S);
3575
- }), ff(YD.typing, _);
3575
+ }), Df(WD.typing, _);
3576
3576
  const Pu = (S) => {
3577
3577
  S ? (p(S), r("webview")) : r("chat");
3578
3578
  };
@@ -3588,7 +3588,7 @@ const xe = (u, D) => {
3588
3588
  }
3589
3589
  !S && !cu && r("prechat");
3590
3590
  }
3591
- }, [d]), b0("logout", () => {
3591
+ }, [d]), h0("logout", () => {
3592
3592
  o.socket.disconnect();
3593
3593
  }), Z(() => {
3594
3594
  n === "chat" && j === tD.connected && du();
@@ -3641,9 +3641,9 @@ const xe = (u, D) => {
3641
3641
  isOfflineMode: M,
3642
3642
  setIsOfflineMode: V
3643
3643
  };
3644
- return /* @__PURE__ */ a.jsx(v1.Provider, { value: Iu, children: f });
3644
+ return /* @__PURE__ */ a.jsx(_1.Provider, { value: Iu, children: f });
3645
3645
  }, Cu = () => {
3646
- const u = Hu(v1);
3646
+ const u = Hu(_1);
3647
3647
  if (!u)
3648
3648
  throw new Error("useChat must be used within a ChatContext");
3649
3649
  return u;
@@ -3893,21 +3893,21 @@ const xe = (u, D) => {
3893
3893
  text: "#9C9C9C"
3894
3894
  }
3895
3895
  }
3896
- }, Se = (u) => {
3896
+ }, je = (u) => {
3897
3897
  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);
3898
3898
  return (0.299 * f + 0.587 * e + 0.114 * t) / 255 > 0.5 ? "#000000" : "#FFFFFF";
3899
- }, Te = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Ne = (u) => {
3899
+ }, Se = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Te = (u) => {
3900
3900
  const D = u.replace("#", "");
3901
3901
  return {
3902
3902
  r: parseInt(D.substring(0, 2), 16),
3903
3903
  g: parseInt(D.substring(2, 4), 16),
3904
3904
  b: parseInt(D.substring(4, 6), 16)
3905
3905
  };
3906
- }, Oe = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ef = (u) => {
3907
- const D = Oe(u);
3908
- if (!Te(D))
3909
- return console.warn(`Invalid color: ${u}, using default blue theme`), ef("#0074D9");
3910
- const f = Se(D), e = Ne(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));
3906
+ }, Ne = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ff = (u) => {
3907
+ const D = Ne(u);
3908
+ if (!Se(D))
3909
+ return console.warn(`Invalid color: ${u}, using default blue theme`), ff("#0074D9");
3910
+ const f = je(D), e = Te(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));
3911
3911
  return `${F.toString(16).padStart(2, "0")}${d.toString(16).padStart(2, "0")}${o.toString(16).padStart(2, "0")}`, {
3912
3912
  header: {
3913
3913
  bg: D,
@@ -3943,7 +3943,7 @@ const xe = (u, D) => {
3943
3943
  text: "#9C9C9C"
3944
3944
  }
3945
3945
  };
3946
- }, Vf = {
3946
+ }, Uf = {
3947
3947
  orange: "#FF851B",
3948
3948
  red: "#FF4136",
3949
3949
  green: "#2ECC40",
@@ -3951,14 +3951,14 @@ const xe = (u, D) => {
3951
3951
  teal: "#1BA089",
3952
3952
  dark: "#000000",
3953
3953
  purple: "#7950F2"
3954
- }, Re = (u) => Vf[u] ? ef(Vf[u]) : ef(u), Pe = () => ({
3954
+ }, Oe = (u) => Uf[u] ? ff(Uf[u]) : ff(u), Re = () => ({
3955
3955
  bg: "#f6f8f9",
3956
3956
  // Light gray background
3957
3957
  text: "#000"
3958
3958
  // Black text
3959
- }), Ie = yD.orange, A1 = qu({
3960
- colors: Ie
3961
- }), x1 = ({
3959
+ }), Pe = yD.orange, v1 = qu({
3960
+ colors: Pe
3961
+ }), w1 = ({
3962
3962
  children: u
3963
3963
  }) => {
3964
3964
  const D = pu(), f = () => {
@@ -3967,24 +3967,24 @@ const xe = (u, D) => {
3967
3967
  return yD[e];
3968
3968
  try {
3969
3969
  return {
3970
- ...Re(e),
3970
+ ...Oe(e),
3971
3971
  // Keep received message colors fixed (admin chat)
3972
- received: Pe()
3972
+ received: Re()
3973
3973
  };
3974
3974
  } catch {
3975
3975
  return console.warn(`Failed to generate theme for color: ${e}, using orange fallback`), yD.orange;
3976
3976
  }
3977
3977
  };
3978
- return /* @__PURE__ */ a.jsx(A1.Provider, { value: { colors: f() }, children: u });
3978
+ return /* @__PURE__ */ a.jsx(v1.Provider, { value: { colors: f() }, children: u });
3979
3979
  }, ou = () => {
3980
- const u = Hu(A1);
3980
+ const u = Hu(v1);
3981
3981
  if (!u)
3982
3982
  throw new Error("useColors must be used within a ColorProvider");
3983
3983
  return u;
3984
- }, hf = ({
3984
+ }, Ef = ({
3985
3985
  viewBox: u = "0 0 24 24",
3986
3986
  ...D
3987
- }) => /* @__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" }) }), k1 = ({
3987
+ }) => /* @__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 = ({
3988
3988
  width: u = "24",
3989
3989
  height: D = "24",
3990
3990
  logoUrl: f,
@@ -4009,7 +4009,7 @@ const xe = (u, D) => {
4009
4009
  )
4010
4010
  ]
4011
4011
  }
4012
- ), Le = ({
4012
+ ), Ie = ({
4013
4013
  onSendNoticeToStaff: u
4014
4014
  }) => {
4015
4015
  const [D, f] = U(!1), e = mu(null), { send: t } = Cu(), n = async (r) => {
@@ -4059,7 +4059,7 @@ const xe = (u, D) => {
4059
4059
  }
4060
4060
  ) })
4061
4061
  ] });
4062
- }, $e = ({ children: u }) => {
4062
+ }, Le = ({ children: u }) => {
4063
4063
  const D = pu(), { colors: f } = ou(), e = Nu();
4064
4064
  return /* @__PURE__ */ a.jsxs(
4065
4065
  "div",
@@ -4084,14 +4084,14 @@ const xe = (u, D) => {
4084
4084
  className: "sc-open-icon",
4085
4085
  style: { borderRadius: "50%" }
4086
4086
  }
4087
- ) : /* @__PURE__ */ a.jsx(k1, { width: 32, height: 32 })
4087
+ ) : /* @__PURE__ */ a.jsx(A1, { width: 32, height: 32 })
4088
4088
  }
4089
4089
  ),
4090
4090
  /* @__PURE__ */ a.jsx("div", { className: "sc-header--title", children: D.title })
4091
4091
  ] }),
4092
4092
  /* @__PURE__ */ a.jsxs("div", { className: "sc-header--actions", children: [
4093
4093
  /* @__PURE__ */ a.jsx(
4094
- Le,
4094
+ Ie,
4095
4095
  {
4096
4096
  onChatWithStaff: () => {
4097
4097
  console.log("Chat with staff requested");
@@ -4106,14 +4106,14 @@ const xe = (u, D) => {
4106
4106
  {
4107
4107
  className: "sc-header--close-button",
4108
4108
  onClick: () => e.setIsOpen(!1),
4109
- children: /* @__PURE__ */ a.jsx(hf, {})
4109
+ children: /* @__PURE__ */ a.jsx(Ef, {})
4110
4110
  }
4111
4111
  )
4112
4112
  ] })
4113
4113
  ]
4114
4114
  }
4115
4115
  );
4116
- }, Me = ({
4116
+ }, $e = ({
4117
4117
  width: u = "100",
4118
4118
  height: D = "100",
4119
4119
  x: f = "0",
@@ -4138,7 +4138,7 @@ const xe = (u, D) => {
4138
4138
  /* @__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" })
4139
4139
  ]
4140
4140
  }
4141
- ), qe = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4141
+ ), Me = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4142
4142
  "svg",
4143
4143
  {
4144
4144
  width: u,
@@ -4198,7 +4198,7 @@ const xe = (u, D) => {
4198
4198
  ] })
4199
4199
  ]
4200
4200
  }
4201
- ), ze = () => {
4201
+ ), qe = () => {
4202
4202
  const { t: u } = zu(), { connectionState: D, setConnectionState: f } = Cu(), { colors: e } = ou(), t = () => {
4203
4203
  D === 0 && f(1);
4204
4204
  }, n = D > 0;
@@ -4207,8 +4207,8 @@ const xe = (u, D) => {
4207
4207
  {
4208
4208
  className: "sc-chat--disconnected-icon-wrapper",
4209
4209
  style: { backgroundColor: e.messageList.bg },
4210
- children: n ? /* @__PURE__ */ a.jsx(qe, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4211
- /* @__PURE__ */ a.jsx(Me, {}),
4210
+ children: n ? /* @__PURE__ */ a.jsx(Me, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4211
+ /* @__PURE__ */ a.jsx($e, {}),
4212
4212
  /* @__PURE__ */ a.jsx(
4213
4213
  "h3",
4214
4214
  {
@@ -4234,287 +4234,285 @@ const xe = (u, D) => {
4234
4234
  }
4235
4235
  );
4236
4236
  };
4237
- var zD = { exports: {} }, Hf;
4238
- function j1() {
4239
- return Hf || (Hf = 1, function(u, D) {
4240
- (function(f, e) {
4241
- u.exports = e();
4242
- })(dD, function() {
4243
- var f = 1e3, e = 6e4, t = 36e5, n = "millisecond", r = "second", s = "minute", F = "hour", d = "day", o = "week", c = "month", l = "quarter", j = "year", y = "date", C = "Invalid Date", v = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|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, m = { 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(k) {
4244
- var E = ["th", "st", "nd", "rd"], h = k % 100;
4245
- return "[" + k + (E[(h - 20) % 10] || E[h] || E[0]) + "]";
4246
- } }, T = function(k, E, h) {
4247
- var A = String(k);
4248
- return !A || A.length >= E ? k : "" + Array(E + 1 - A.length).join(h) + k;
4249
- }, _ = { s: T, z: function(k) {
4250
- var E = -k.utcOffset(), h = Math.abs(E), A = Math.floor(h / 60), p = h % 60;
4251
- return (E <= 0 ? "+" : "-") + T(A, 2, "0") + ":" + T(p, 2, "0");
4252
- }, m: function k(E, h) {
4253
- if (E.date() < h.date()) return -k(h, E);
4254
- var A = 12 * (h.year() - E.year()) + (h.month() - E.month()), p = E.clone().add(A, c), R = h - p < 0, N = E.clone().add(A + (R ? -1 : 1), c);
4255
- return +(-(A + (h - p) / (R ? p - N : N - p)) || 0);
4256
- }, a: function(k) {
4257
- return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
4258
- }, p: function(k) {
4259
- return { M: c, y: j, w: o, d, D: y, h: F, m: s, s: r, ms: n, Q: l }[k] || String(k || "").toLowerCase().replace(/s$/, "");
4260
- }, u: function(k) {
4261
- return k === void 0;
4262
- } }, B = "en", I = {};
4263
- I[B] = m;
4264
- var P = "$isDayjsObject", q = function(k) {
4265
- return k instanceof hu || !(!k || !k[P]);
4266
- }, g = function k(E, h, A) {
4267
- var p;
4268
- if (!E) return B;
4269
- if (typeof E == "string") {
4270
- var R = E.toLowerCase();
4271
- I[R] && (p = R), h && (I[R] = h, p = R);
4272
- var N = E.split("-");
4273
- if (!p && N.length > 1) return k(N[0]);
4274
- } else {
4275
- var M = E.name;
4276
- I[M] = E, p = M;
4277
- }
4278
- return !A && p && (B = p), p || !A && B;
4279
- }, O = function(k, E) {
4280
- if (q(k)) return k.clone();
4281
- var h = typeof E == "object" ? E : {};
4282
- return h.date = k, h.args = arguments, new hu(h);
4283
- }, $ = _;
4284
- $.l = g, $.i = q, $.w = function(k, E) {
4285
- return O(k, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4286
- };
4287
- var hu = function() {
4288
- function k(h) {
4289
- this.$L = g(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[P] = !0;
4290
- }
4291
- var E = k.prototype;
4292
- return E.parse = function(h) {
4293
- this.$d = function(A) {
4294
- var p = A.date, R = A.utc;
4295
- if (p === null) return /* @__PURE__ */ new Date(NaN);
4296
- if ($.u(p)) return /* @__PURE__ */ new Date();
4297
- if (p instanceof Date) return new Date(p);
4298
- if (typeof p == "string" && !/Z$/i.test(p)) {
4299
- var N = p.match(v);
4300
- if (N) {
4301
- var M = N[2] - 1 || 0, V = (N[7] || "0").substring(0, 3);
4302
- return R ? new Date(Date.UTC(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V)) : new Date(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V);
4303
- }
4237
+ var x1 = { exports: {} };
4238
+ (function(u, D) {
4239
+ (function(f, e) {
4240
+ u.exports = e();
4241
+ })(dD, 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", j = "year", y = "date", C = "Invalid Date", v = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|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, m = { 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(k) {
4243
+ var E = ["th", "st", "nd", "rd"], h = k % 100;
4244
+ return "[" + k + (E[(h - 20) % 10] || E[h] || E[0]) + "]";
4245
+ } }, T = function(k, E, h) {
4246
+ var A = String(k);
4247
+ return !A || A.length >= E ? k : "" + Array(E + 1 - A.length).join(h) + k;
4248
+ }, _ = { s: T, z: function(k) {
4249
+ var E = -k.utcOffset(), h = Math.abs(E), A = Math.floor(h / 60), p = h % 60;
4250
+ return (E <= 0 ? "+" : "-") + T(A, 2, "0") + ":" + T(p, 2, "0");
4251
+ }, m: function k(E, h) {
4252
+ if (E.date() < h.date()) return -k(h, E);
4253
+ var A = 12 * (h.year() - E.year()) + (h.month() - E.month()), p = E.clone().add(A, c), R = h - p < 0, N = E.clone().add(A + (R ? -1 : 1), c);
4254
+ return +(-(A + (h - p) / (R ? p - N : N - p)) || 0);
4255
+ }, a: function(k) {
4256
+ return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
4257
+ }, p: function(k) {
4258
+ return { M: c, y: j, w: o, d, D: y, h: F, m: s, s: r, ms: n, Q: l }[k] || String(k || "").toLowerCase().replace(/s$/, "");
4259
+ }, u: function(k) {
4260
+ return k === void 0;
4261
+ } }, B = "en", I = {};
4262
+ I[B] = m;
4263
+ var P = "$isDayjsObject", q = function(k) {
4264
+ return k instanceof hu || !(!k || !k[P]);
4265
+ }, g = function k(E, h, A) {
4266
+ var p;
4267
+ if (!E) return B;
4268
+ if (typeof E == "string") {
4269
+ var R = E.toLowerCase();
4270
+ I[R] && (p = R), h && (I[R] = h, p = R);
4271
+ var N = E.split("-");
4272
+ if (!p && N.length > 1) return k(N[0]);
4273
+ } else {
4274
+ var M = E.name;
4275
+ I[M] = E, p = M;
4276
+ }
4277
+ return !A && p && (B = p), p || !A && B;
4278
+ }, O = function(k, E) {
4279
+ if (q(k)) return k.clone();
4280
+ var h = typeof E == "object" ? E : {};
4281
+ return h.date = k, h.args = arguments, new hu(h);
4282
+ }, $ = _;
4283
+ $.l = g, $.i = q, $.w = function(k, E) {
4284
+ return O(k, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4285
+ };
4286
+ var hu = function() {
4287
+ function k(h) {
4288
+ this.$L = g(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[P] = !0;
4289
+ }
4290
+ var E = k.prototype;
4291
+ return E.parse = function(h) {
4292
+ this.$d = function(A) {
4293
+ var p = A.date, R = A.utc;
4294
+ if (p === null) return /* @__PURE__ */ new Date(NaN);
4295
+ if ($.u(p)) return /* @__PURE__ */ new Date();
4296
+ if (p instanceof Date) return new Date(p);
4297
+ if (typeof p == "string" && !/Z$/i.test(p)) {
4298
+ var N = p.match(v);
4299
+ if (N) {
4300
+ var M = N[2] - 1 || 0, V = (N[7] || "0").substring(0, 3);
4301
+ return R ? new Date(Date.UTC(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V)) : new Date(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V);
4304
4302
  }
4305
- return new Date(p);
4306
- }(h), this.init();
4307
- }, E.init = function() {
4308
- var h = this.$d;
4309
- this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4310
- }, E.$utils = function() {
4311
- return $;
4312
- }, E.isValid = function() {
4313
- return this.$d.toString() !== C;
4314
- }, E.isSame = function(h, A) {
4315
- var p = O(h);
4316
- return this.startOf(A) <= p && p <= this.endOf(A);
4317
- }, E.isAfter = function(h, A) {
4318
- return O(h) < this.startOf(A);
4319
- }, E.isBefore = function(h, A) {
4320
- return this.endOf(A) < O(h);
4321
- }, E.$g = function(h, A, p) {
4322
- return $.u(h) ? this[A] : this.set(p, h);
4323
- }, E.unix = function() {
4324
- return Math.floor(this.valueOf() / 1e3);
4325
- }, E.valueOf = function() {
4326
- return this.$d.getTime();
4327
- }, E.startOf = function(h, A) {
4328
- var p = this, R = !!$.u(A) || A, N = $.p(h), M = function(Bu, ru) {
4329
- var du = $.w(p.$u ? Date.UTC(p.$y, ru, Bu) : new Date(p.$y, ru, Bu), p);
4330
- return R ? du : du.endOf(d);
4331
- }, V = function(Bu, ru) {
4332
- return $.w(p.toDate()[Bu].apply(p.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), p);
4333
- }, J = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4334
- switch (N) {
4335
- case j:
4336
- return R ? M(1, 0) : M(31, 11);
4337
- case c:
4338
- return R ? M(1, z) : M(0, z + 1);
4339
- case o:
4340
- var cu = this.$locale().weekStart || 0, _u = (J < cu ? J + 7 : J) - cu;
4341
- return M(R ? Q - _u : Q + (6 - _u), z);
4342
- case d:
4343
- case y:
4344
- return V(tu + "Hours", 0);
4345
- case F:
4346
- return V(tu + "Minutes", 1);
4347
- case s:
4348
- return V(tu + "Seconds", 2);
4349
- case r:
4350
- return V(tu + "Milliseconds", 3);
4351
- default:
4352
- return this.clone();
4353
4303
  }
4354
- }, E.endOf = function(h) {
4355
- return this.startOf(h, !1);
4356
- }, E.$set = function(h, A) {
4357
- var p, R = $.p(h), N = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[d] = N + "Date", p[y] = N + "Date", p[c] = N + "Month", p[j] = N + "FullYear", p[F] = N + "Hours", p[s] = N + "Minutes", p[r] = N + "Seconds", p[n] = N + "Milliseconds", p)[R], V = R === d ? this.$D + (A - this.$W) : A;
4358
- if (R === c || R === j) {
4359
- var J = this.clone().set(y, 1);
4360
- J.$d[M](V), J.init(), this.$d = J.set(y, Math.min(this.$D, J.daysInMonth())).$d;
4361
- } else M && this.$d[M](V);
4362
- return this.init(), this;
4363
- }, E.set = function(h, A) {
4364
- return this.clone().$set(h, A);
4365
- }, E.get = function(h) {
4366
- return this[$.p(h)]();
4367
- }, E.add = function(h, A) {
4368
- var p, R = this;
4369
- h = Number(h);
4370
- var N = $.p(A), M = function(z) {
4371
- var Q = O(R);
4372
- return $.w(Q.date(Q.date() + Math.round(z * h)), R);
4373
- };
4374
- if (N === c) return this.set(c, this.$M + h);
4375
- if (N === j) return this.set(j, this.$y + h);
4376
- if (N === d) return M(1);
4377
- if (N === o) return M(7);
4378
- var V = (p = {}, p[s] = e, p[F] = t, p[r] = f, p)[N] || 1, J = this.$d.getTime() + h * V;
4379
- return $.w(J, this);
4380
- }, E.subtract = function(h, A) {
4381
- return this.add(-1 * h, A);
4382
- }, E.format = function(h) {
4383
- var A = this, p = this.$locale();
4384
- if (!this.isValid()) return p.invalidDate || C;
4385
- var R = h || "YYYY-MM-DDTHH:mm:ssZ", N = $.z(this), M = this.$H, V = this.$m, J = this.$M, z = p.weekdays, Q = p.months, tu = p.meridiem, cu = function(ru, du, Pu, Iu) {
4386
- return ru && (ru[du] || ru(A, R)) || Pu[du].slice(0, Iu);
4387
- }, _u = function(ru) {
4388
- return $.s(M % 12 || 12, ru, "0");
4389
- }, Bu = tu || function(ru, du, Pu) {
4390
- var Iu = ru < 12 ? "AM" : "PM";
4391
- return Pu ? Iu.toLowerCase() : Iu;
4392
- };
4393
- return R.replace(x, function(ru, du) {
4394
- return du || function(Pu) {
4395
- switch (Pu) {
4396
- case "YY":
4397
- return String(A.$y).slice(-2);
4398
- case "YYYY":
4399
- return $.s(A.$y, 4, "0");
4400
- case "M":
4401
- return J + 1;
4402
- case "MM":
4403
- return $.s(J + 1, 2, "0");
4404
- case "MMM":
4405
- return cu(p.monthsShort, J, Q, 3);
4406
- case "MMMM":
4407
- return cu(Q, J);
4408
- case "D":
4409
- return A.$D;
4410
- case "DD":
4411
- return $.s(A.$D, 2, "0");
4412
- case "d":
4413
- return String(A.$W);
4414
- case "dd":
4415
- return cu(p.weekdaysMin, A.$W, z, 2);
4416
- case "ddd":
4417
- return cu(p.weekdaysShort, A.$W, z, 3);
4418
- case "dddd":
4419
- return z[A.$W];
4420
- case "H":
4421
- return String(M);
4422
- case "HH":
4423
- return $.s(M, 2, "0");
4424
- case "h":
4425
- return _u(1);
4426
- case "hh":
4427
- return _u(2);
4428
- case "a":
4429
- return Bu(M, V, !0);
4430
- case "A":
4431
- return Bu(M, V, !1);
4432
- case "m":
4433
- return String(V);
4434
- case "mm":
4435
- return $.s(V, 2, "0");
4436
- case "s":
4437
- return String(A.$s);
4438
- case "ss":
4439
- return $.s(A.$s, 2, "0");
4440
- case "SSS":
4441
- return $.s(A.$ms, 3, "0");
4442
- case "Z":
4443
- return N;
4444
- }
4445
- return null;
4446
- }(ru) || N.replace(":", "");
4447
- });
4448
- }, E.utcOffset = function() {
4449
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4450
- }, E.diff = function(h, A, p) {
4451
- var R, N = this, M = $.p(A), V = O(h), J = (V.utcOffset() - this.utcOffset()) * e, z = this - V, Q = function() {
4452
- return $.m(N, V);
4453
- };
4454
- switch (M) {
4455
- case j:
4456
- R = Q() / 12;
4457
- break;
4458
- case c:
4459
- R = Q();
4460
- break;
4461
- case l:
4462
- R = Q() / 3;
4463
- break;
4464
- case o:
4465
- R = (z - J) / 6048e5;
4466
- break;
4467
- case d:
4468
- R = (z - J) / 864e5;
4469
- break;
4470
- case F:
4471
- R = z / t;
4472
- break;
4473
- case s:
4474
- R = z / e;
4475
- break;
4476
- case r:
4477
- R = z / f;
4478
- break;
4479
- default:
4480
- R = z;
4481
- }
4482
- return p ? R : $.a(R);
4483
- }, E.daysInMonth = function() {
4484
- return this.endOf(c).$D;
4485
- }, E.$locale = function() {
4486
- return I[this.$L];
4487
- }, E.locale = function(h, A) {
4488
- if (!h) return this.$L;
4489
- var p = this.clone(), R = g(h, A, !0);
4490
- return R && (p.$L = R), p;
4491
- }, E.clone = function() {
4492
- return $.w(this.$d, this);
4493
- }, E.toDate = function() {
4494
- return new Date(this.valueOf());
4495
- }, E.toJSON = function() {
4496
- return this.isValid() ? this.toISOString() : null;
4497
- }, E.toISOString = function() {
4498
- return this.$d.toISOString();
4499
- }, E.toString = function() {
4500
- return this.$d.toUTCString();
4501
- }, k;
4502
- }(), fu = hu.prototype;
4503
- return O.prototype = fu, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", j], ["$D", y]].forEach(function(k) {
4504
- fu[k[1]] = function(E) {
4505
- return this.$g(E, k[0], k[1]);
4304
+ return new Date(p);
4305
+ }(h), this.init();
4306
+ }, E.init = function() {
4307
+ var h = this.$d;
4308
+ this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4309
+ }, E.$utils = function() {
4310
+ return $;
4311
+ }, E.isValid = function() {
4312
+ return this.$d.toString() !== C;
4313
+ }, E.isSame = function(h, A) {
4314
+ var p = O(h);
4315
+ return this.startOf(A) <= p && p <= this.endOf(A);
4316
+ }, E.isAfter = function(h, A) {
4317
+ return O(h) < this.startOf(A);
4318
+ }, E.isBefore = function(h, A) {
4319
+ return this.endOf(A) < O(h);
4320
+ }, E.$g = function(h, A, p) {
4321
+ return $.u(h) ? this[A] : this.set(p, h);
4322
+ }, E.unix = function() {
4323
+ return Math.floor(this.valueOf() / 1e3);
4324
+ }, E.valueOf = function() {
4325
+ return this.$d.getTime();
4326
+ }, E.startOf = function(h, A) {
4327
+ var p = this, R = !!$.u(A) || A, N = $.p(h), M = function(Bu, ru) {
4328
+ var du = $.w(p.$u ? Date.UTC(p.$y, ru, Bu) : new Date(p.$y, ru, Bu), p);
4329
+ return R ? du : du.endOf(d);
4330
+ }, V = function(Bu, ru) {
4331
+ return $.w(p.toDate()[Bu].apply(p.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), p);
4332
+ }, J = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4333
+ switch (N) {
4334
+ case j:
4335
+ return R ? M(1, 0) : M(31, 11);
4336
+ case c:
4337
+ return R ? M(1, z) : M(0, z + 1);
4338
+ case o:
4339
+ var cu = this.$locale().weekStart || 0, _u = (J < cu ? J + 7 : J) - cu;
4340
+ return M(R ? Q - _u : Q + (6 - _u), z);
4341
+ case d:
4342
+ case y:
4343
+ return V(tu + "Hours", 0);
4344
+ case F:
4345
+ return V(tu + "Minutes", 1);
4346
+ case s:
4347
+ return V(tu + "Seconds", 2);
4348
+ case r:
4349
+ return V(tu + "Milliseconds", 3);
4350
+ default:
4351
+ return this.clone();
4352
+ }
4353
+ }, E.endOf = function(h) {
4354
+ return this.startOf(h, !1);
4355
+ }, E.$set = function(h, A) {
4356
+ var p, R = $.p(h), N = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[d] = N + "Date", p[y] = N + "Date", p[c] = N + "Month", p[j] = N + "FullYear", p[F] = N + "Hours", p[s] = N + "Minutes", p[r] = N + "Seconds", p[n] = N + "Milliseconds", p)[R], V = R === d ? this.$D + (A - this.$W) : A;
4357
+ if (R === c || R === j) {
4358
+ var J = this.clone().set(y, 1);
4359
+ J.$d[M](V), J.init(), this.$d = J.set(y, Math.min(this.$D, J.daysInMonth())).$d;
4360
+ } else M && this.$d[M](V);
4361
+ return this.init(), this;
4362
+ }, E.set = function(h, A) {
4363
+ return this.clone().$set(h, A);
4364
+ }, E.get = function(h) {
4365
+ return this[$.p(h)]();
4366
+ }, E.add = function(h, A) {
4367
+ var p, R = this;
4368
+ h = Number(h);
4369
+ var N = $.p(A), M = function(z) {
4370
+ var Q = O(R);
4371
+ return $.w(Q.date(Q.date() + Math.round(z * h)), R);
4506
4372
  };
4507
- }), O.extend = function(k, E) {
4508
- return k.$i || (k(E, hu, O), k.$i = !0), O;
4509
- }, O.locale = g, O.isDayjs = q, O.unix = function(k) {
4510
- return O(1e3 * k);
4511
- }, O.en = I[B], O.Ls = I, O.p = {}, O;
4512
- });
4513
- }(zD)), zD.exports;
4514
- }
4515
- var Ue = j1();
4516
- const S1 = /* @__PURE__ */ Ff(Ue);
4517
- var Ve = { exports: {} };
4373
+ if (N === c) return this.set(c, this.$M + h);
4374
+ if (N === j) return this.set(j, this.$y + h);
4375
+ if (N === d) return M(1);
4376
+ if (N === o) return M(7);
4377
+ var V = (p = {}, p[s] = e, p[F] = t, p[r] = f, p)[N] || 1, J = this.$d.getTime() + h * V;
4378
+ return $.w(J, this);
4379
+ }, E.subtract = function(h, A) {
4380
+ return this.add(-1 * h, A);
4381
+ }, E.format = function(h) {
4382
+ var A = this, p = this.$locale();
4383
+ if (!this.isValid()) return p.invalidDate || C;
4384
+ var R = h || "YYYY-MM-DDTHH:mm:ssZ", N = $.z(this), M = this.$H, V = this.$m, J = this.$M, z = p.weekdays, Q = p.months, tu = p.meridiem, cu = function(ru, du, Pu, Iu) {
4385
+ return ru && (ru[du] || ru(A, R)) || Pu[du].slice(0, Iu);
4386
+ }, _u = function(ru) {
4387
+ return $.s(M % 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 R.replace(x, function(ru, du) {
4393
+ return du || function(Pu) {
4394
+ switch (Pu) {
4395
+ case "YY":
4396
+ return String(A.$y).slice(-2);
4397
+ case "YYYY":
4398
+ return $.s(A.$y, 4, "0");
4399
+ case "M":
4400
+ return J + 1;
4401
+ case "MM":
4402
+ return $.s(J + 1, 2, "0");
4403
+ case "MMM":
4404
+ return cu(p.monthsShort, J, Q, 3);
4405
+ case "MMMM":
4406
+ return cu(Q, J);
4407
+ case "D":
4408
+ return A.$D;
4409
+ case "DD":
4410
+ return $.s(A.$D, 2, "0");
4411
+ case "d":
4412
+ return String(A.$W);
4413
+ case "dd":
4414
+ return cu(p.weekdaysMin, A.$W, z, 2);
4415
+ case "ddd":
4416
+ return cu(p.weekdaysShort, A.$W, z, 3);
4417
+ case "dddd":
4418
+ return z[A.$W];
4419
+ case "H":
4420
+ return String(M);
4421
+ case "HH":
4422
+ return $.s(M, 2, "0");
4423
+ case "h":
4424
+ return _u(1);
4425
+ case "hh":
4426
+ return _u(2);
4427
+ case "a":
4428
+ return Bu(M, V, !0);
4429
+ case "A":
4430
+ return Bu(M, V, !1);
4431
+ case "m":
4432
+ return String(V);
4433
+ case "mm":
4434
+ return $.s(V, 2, "0");
4435
+ case "s":
4436
+ return String(A.$s);
4437
+ case "ss":
4438
+ return $.s(A.$s, 2, "0");
4439
+ case "SSS":
4440
+ return $.s(A.$ms, 3, "0");
4441
+ case "Z":
4442
+ return N;
4443
+ }
4444
+ return null;
4445
+ }(ru) || N.replace(":", "");
4446
+ });
4447
+ }, E.utcOffset = function() {
4448
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4449
+ }, E.diff = function(h, A, p) {
4450
+ var R, N = this, M = $.p(A), V = O(h), J = (V.utcOffset() - this.utcOffset()) * e, z = this - V, Q = function() {
4451
+ return $.m(N, V);
4452
+ };
4453
+ switch (M) {
4454
+ case j:
4455
+ R = Q() / 12;
4456
+ break;
4457
+ case c:
4458
+ R = Q();
4459
+ break;
4460
+ case l:
4461
+ R = Q() / 3;
4462
+ break;
4463
+ case o:
4464
+ R = (z - J) / 6048e5;
4465
+ break;
4466
+ case d:
4467
+ R = (z - J) / 864e5;
4468
+ break;
4469
+ case F:
4470
+ R = z / t;
4471
+ break;
4472
+ case s:
4473
+ R = z / e;
4474
+ break;
4475
+ case r:
4476
+ R = z / f;
4477
+ break;
4478
+ default:
4479
+ R = z;
4480
+ }
4481
+ return p ? R : $.a(R);
4482
+ }, E.daysInMonth = function() {
4483
+ return this.endOf(c).$D;
4484
+ }, E.$locale = function() {
4485
+ return I[this.$L];
4486
+ }, E.locale = function(h, A) {
4487
+ if (!h) return this.$L;
4488
+ var p = this.clone(), R = g(h, A, !0);
4489
+ return R && (p.$L = R), p;
4490
+ }, E.clone = function() {
4491
+ return $.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
+ }, k;
4501
+ }(), fu = hu.prototype;
4502
+ return O.prototype = fu, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", j], ["$D", y]].forEach(function(k) {
4503
+ fu[k[1]] = function(E) {
4504
+ return this.$g(E, k[0], k[1]);
4505
+ };
4506
+ }), O.extend = function(k, E) {
4507
+ return k.$i || (k(E, hu, O), k.$i = !0), O;
4508
+ }, O.locale = g, O.isDayjs = q, O.unix = function(k) {
4509
+ return O(1e3 * k);
4510
+ }, O.en = I[B], O.Ls = I, O.p = {}, O;
4511
+ });
4512
+ })(x1);
4513
+ var k1 = x1.exports;
4514
+ const j1 = /* @__PURE__ */ sf(k1);
4515
+ var ze = { exports: {} };
4518
4516
  (function(u, D) {
4519
4517
  (function(f, e) {
4520
4518
  u.exports = e();
@@ -4524,11 +4522,11 @@ var Ve = { exports: {} };
4524
4522
  return "[" + f + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
4525
4523
  } };
4526
4524
  });
4527
- })(Ve);
4528
- var He = { exports: {} };
4525
+ })(ze);
4526
+ var Ue = { exports: {} };
4529
4527
  (function(u, D) {
4530
4528
  (function(f, e) {
4531
- u.exports = e(j1());
4529
+ u.exports = e(k1);
4532
4530
  })(dD, function(f) {
4533
4531
  function e(r) {
4534
4532
  return r && typeof r == "object" && "default" in r ? r : { default: r };
@@ -4538,8 +4536,8 @@ var He = { exports: {} };
4538
4536
  } };
4539
4537
  return t.default.locale(n, null, !0), n;
4540
4538
  });
4541
- })(He);
4542
- var T1 = { exports: {} };
4539
+ })(Ue);
4540
+ var S1 = { exports: {} };
4543
4541
  (function(u, D) {
4544
4542
  (function(f, e) {
4545
4543
  u.exports = e();
@@ -4580,9 +4578,9 @@ var T1 = { exports: {} };
4580
4578
  };
4581
4579
  };
4582
4580
  });
4583
- })(T1);
4584
- var We = T1.exports;
4585
- const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4581
+ })(S1);
4582
+ var Ve = S1.exports;
4583
+ const He = /* @__PURE__ */ sf(Ve), T1 = ({
4586
4584
  width: u = "18",
4587
4585
  height: D = "18",
4588
4586
  ...f
@@ -4677,10 +4675,10 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4677
4675
  },
4678
4676
  F
4679
4677
  )) });
4680
- }, Ke = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Je = (u) => u.replace(/\n/g, "<br />"), Ge = (u) => {
4681
- let D = Ke(u, 50);
4682
- return D = Je(u), D;
4683
- }, Xe = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4678
+ }, We = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Ye = (u) => u.replace(/\n/g, "<br />"), Ke = (u) => {
4679
+ let D = We(u, 50);
4680
+ return D = Ye(u), D;
4681
+ }, Je = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4684
4682
  u.image_url && /* @__PURE__ */ a.jsx(
4685
4683
  "div",
4686
4684
  {
@@ -4694,7 +4692,7 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4694
4692
  "p",
4695
4693
  {
4696
4694
  dangerouslySetInnerHTML: {
4697
- __html: Ge(u.subtitle)
4695
+ __html: Ke(u.subtitle)
4698
4696
  }
4699
4697
  }
4700
4698
  )
@@ -4705,7 +4703,7 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4705
4703
  message: { data: { buttons: u.buttons } }
4706
4704
  }
4707
4705
  )
4708
- ] }) }), Ze = ({
4706
+ ] }) }), Ge = ({
4709
4707
  messageCarousel: u
4710
4708
  }) => {
4711
4709
  const { colors: D } = ou(), [f, e] = U(0), t = u.data.elements, n = () => {
@@ -4729,7 +4727,7 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4729
4727
  {
4730
4728
  className: "sc-message--carousel-inner",
4731
4729
  style: { transform: `translateX(-${f * 100}%)` },
4732
- children: t.map((d, o) => /* @__PURE__ */ a.jsx(Xe, { message: d, idx: o }, o))
4730
+ children: t.map((d, o) => /* @__PURE__ */ a.jsx(Je, { message: d, idx: o }, o))
4733
4731
  }
4734
4732
  ),
4735
4733
  F && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -4753,14 +4751,14 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4753
4751
  ]
4754
4752
  }
4755
4753
  );
4756
- }, Qe = ({
4754
+ }, Xe = ({
4757
4755
  viewBox: u = "0 0 512 512",
4758
4756
  ...D
4759
4757
  }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsxs("g", { "data-name": "1", children: [
4760
4758
  /* @__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" }),
4761
4759
  /* @__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" }),
4762
4760
  /* @__PURE__ */ a.jsx("path", { d: "M264.4 365a15 15 0 01-15-15V231a15 15 0 0130 0v119a15 15 0 01-15 15z" })
4763
- ] }) }), u3 = ({ message: u }) => {
4761
+ ] }) }), Ze = ({ message: u }) => {
4764
4762
  const { t: D } = zu(), { colors: f } = ou(), e = f[u.direction || uu.received];
4765
4763
  if (!("type" in u.data))
4766
4764
  throw new Error("Unable to detect type for file message");
@@ -4800,7 +4798,7 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4800
4798
  rel: "noopener noreferrer",
4801
4799
  download: !0,
4802
4800
  children: [
4803
- /* @__PURE__ */ a.jsx(Qe, {}),
4801
+ /* @__PURE__ */ a.jsx(Xe, {}),
4804
4802
  D("messages.file_message.download")
4805
4803
  ]
4806
4804
  }
@@ -4810,7 +4808,7 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4810
4808
  ]
4811
4809
  }
4812
4810
  );
4813
- }, D3 = ({ message: u }) => {
4811
+ }, Qe = ({ message: u }) => {
4814
4812
  var d;
4815
4813
  const { colors: D } = ou(), f = Nu(), [e, t] = U(!1), n = mu(null);
4816
4814
  if (Z(() => {
@@ -4848,7 +4846,7 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4848
4846
  )
4849
4847
  }
4850
4848
  );
4851
- }, f3 = ({ messageList: u }) => {
4849
+ }, u3 = ({ messageList: u }) => {
4852
4850
  const { colors: D } = ou(), f = (r) => {
4853
4851
  let s = e(r, 50);
4854
4852
  return s = t(r), s;
@@ -4920,17 +4918,17 @@ const Ye = /* @__PURE__ */ Ff(We), N1 = ({
4920
4918
  }
4921
4919
  );
4922
4920
  };
4923
- var tf = function(u, D) {
4924
- return tf = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4921
+ var ef = function(u, D) {
4922
+ return ef = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4925
4923
  f.__proto__ = e;
4926
4924
  } || function(f, e) {
4927
4925
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && (f[t] = e[t]);
4928
- }, tf(u, D);
4926
+ }, ef(u, D);
4929
4927
  };
4930
4928
  function CD(u, D) {
4931
4929
  if (typeof D != "function" && D !== null)
4932
4930
  throw new TypeError("Class extends value " + String(D) + " is not a constructor or null");
4933
- tf(u, D);
4931
+ ef(u, D);
4934
4932
  function f() {
4935
4933
  this.constructor = u;
4936
4934
  }
@@ -4945,7 +4943,7 @@ var iu = function() {
4945
4943
  return D;
4946
4944
  }, iu.apply(this, arguments);
4947
4945
  };
4948
- function e3(u, D) {
4946
+ function D3(u, D) {
4949
4947
  var f = typeof Symbol == "function" && u[Symbol.iterator];
4950
4948
  if (!f) return u;
4951
4949
  var e = f.call(u), t, n = [], r;
@@ -4962,16 +4960,16 @@ function e3(u, D) {
4962
4960
  }
4963
4961
  return n;
4964
4962
  }
4965
- function t3(u, D, f) {
4963
+ function f3(u, D, f) {
4966
4964
  if (f || arguments.length === 2) for (var e = 0, t = D.length, n; e < t; e++)
4967
4965
  (n || !(e in D)) && (n || (n = Array.prototype.slice.call(D, 0, e)), n[e] = D[e]);
4968
4966
  return u.concat(n || Array.prototype.slice.call(D));
4969
4967
  }
4970
- var n3 = "4.1.5", r3 = Object.prototype.hasOwnProperty;
4968
+ var e3 = "4.1.5", t3 = Object.prototype.hasOwnProperty;
4971
4969
  function wu(u) {
4972
4970
  return typeof u == "boolean";
4973
4971
  }
4974
- function a3(u, D, f) {
4972
+ function n3(u, D, f) {
4975
4973
  var e;
4976
4974
  return u.length > D && (f == null ? (f = "&hellip;", e = 3) : e = f.length, u = u.substring(0, D - e) + f), u;
4977
4975
  }
@@ -4982,7 +4980,7 @@ function Ku(u, D) {
4982
4980
  function Xu(u) {
4983
4981
  throw new Error("Unhandled case for value: '".concat(u, "'"));
4984
4982
  }
4985
- var bD = /\s+/, O1 = (
4983
+ var bD = /\s+/, N1 = (
4986
4984
  /** @class */
4987
4985
  function() {
4988
4986
  function u(D) {
@@ -5031,32 +5029,32 @@ var bD = /\s+/, O1 = (
5031
5029
  }, u.prototype.buildAttrsStr = function() {
5032
5030
  var D = this.getAttrs(), f = [];
5033
5031
  for (var e in D)
5034
- r3.call(D, e) && f.push(e + '="' + D[e] + '"');
5032
+ t3.call(D, e) && f.push(e + '="' + D[e] + '"');
5035
5033
  return f.join(" ");
5036
5034
  }, u;
5037
5035
  }()
5038
5036
  );
5039
- function s3(u, D, f) {
5037
+ function r3(u, D, f) {
5040
5038
  var e, t;
5041
5039
  if (f == null ? (f = "&hellip;", t = 3, e = 8) : (t = f.length, e = f.length), u.length <= D)
5042
5040
  return u;
5043
- var n = D - t, r = F3(u);
5041
+ var n = D - t, r = a3(u);
5044
5042
  if (r.query) {
5045
5043
  var s = r.query.match(/^(.*?)(?=(\?|#))(.*?)$/i);
5046
- s && (r.query = r.query.substr(0, s[1].length), u = Wf(r));
5044
+ s && (r.query = r.query.substr(0, s[1].length), u = Vf(r));
5047
5045
  }
5048
- if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Wf(r)), u.length <= D))
5046
+ if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Vf(r)), u.length <= D))
5049
5047
  return u;
5050
5048
  var F = "";
5051
5049
  if (r.host && (F += r.host), F.length >= n)
5052
- return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : UD(F, n, f).substr(0, n + e);
5050
+ return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : zD(F, n, f).substr(0, n + e);
5053
5051
  var d = "";
5054
5052
  if (r.path && (d += "/" + r.path), r.query && (d += "?" + r.query), d)
5055
5053
  if ((F + d).length >= n) {
5056
5054
  if ((F + d).length == D)
5057
5055
  return (F + d).substr(0, D);
5058
5056
  var o = n - F.length;
5059
- return (F + UD(d, o, f)).substr(0, n + e);
5057
+ return (F + zD(d, o, f)).substr(0, n + e);
5060
5058
  } else
5061
5059
  F += d;
5062
5060
  if (r.fragment) {
@@ -5065,7 +5063,7 @@ function s3(u, D, f) {
5065
5063
  if ((F + c).length == D)
5066
5064
  return (F + c).substr(0, D);
5067
5065
  var l = n - F.length;
5068
- return (F + UD(c, l, f)).substr(0, n + e);
5066
+ return (F + zD(c, l, f)).substr(0, n + e);
5069
5067
  } else
5070
5068
  F += c;
5071
5069
  }
@@ -5079,19 +5077,19 @@ function s3(u, D, f) {
5079
5077
  var y = "";
5080
5078
  return n > 0 && (y = F.substr(-1 * Math.floor(n / 2))), (F.substr(0, Math.ceil(n / 2)) + f + y).substr(0, n + e);
5081
5079
  }
5082
- function F3(u) {
5080
+ function a3(u) {
5083
5081
  var D = {}, f = u, e = f.match(/^([a-z]+):\/\//i);
5084
5082
  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;
5085
5083
  }
5086
- function Wf(u) {
5084
+ function Vf(u) {
5087
5085
  var D = "";
5088
5086
  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;
5089
5087
  }
5090
- function UD(u, D, f) {
5088
+ function zD(u, D, f) {
5091
5089
  var e = D / 2, t = Math.ceil(e), n = -1 * Math.floor(e), r = "";
5092
5090
  return n < 0 && (r = u.substr(n)), u.substr(0, t) + f + r;
5093
5091
  }
5094
- function i3(u, D, f) {
5092
+ function s3(u, D, f) {
5095
5093
  if (u.length <= D)
5096
5094
  return u;
5097
5095
  var e, t;
@@ -5099,17 +5097,17 @@ function i3(u, D, f) {
5099
5097
  var n = D - t, r = "";
5100
5098
  return n > 0 && (r = u.substr(-1 * Math.floor(n / 2))), (u.substr(0, Math.ceil(n / 2)) + f + r).substr(0, n + e);
5101
5099
  }
5102
- function o3(u, D, f) {
5103
- return a3(u, D, f);
5100
+ function F3(u, D, f) {
5101
+ return n3(u, D, f);
5104
5102
  }
5105
- var d3 = (
5103
+ var i3 = (
5106
5104
  /** @class */
5107
5105
  function() {
5108
5106
  function u(D) {
5109
5107
  D === void 0 && (D = {}), this.newWindow = !1, this.truncate = {}, this.className = "", this.newWindow = D.newWindow || !1, this.truncate = D.truncate || {}, this.className = D.className || "";
5110
5108
  }
5111
5109
  return u.prototype.build = function(D) {
5112
- return new O1({
5110
+ return new N1({
5113
5111
  tagName: "a",
5114
5112
  attrs: this.createAttrs(D),
5115
5113
  innerHtml: this.processAnchorText(D.getAnchorText())
@@ -5135,7 +5133,7 @@ var d3 = (
5135
5133
  if (!f.length)
5136
5134
  return D;
5137
5135
  var e = f.length, t = f.location;
5138
- return t === "smart" ? s3(D, e) : t === "middle" ? i3(D, e) : o3(D, e);
5136
+ return t === "smart" ? r3(D, e) : t === "middle" ? s3(D, e) : F3(D, e);
5139
5137
  }, u;
5140
5138
  }()
5141
5139
  ), cD = (
@@ -5157,7 +5155,7 @@ var d3 = (
5157
5155
  }, u;
5158
5156
  }()
5159
5157
  );
5160
- function C3(u) {
5158
+ function o3(u) {
5161
5159
  return u >= 0 && u <= 31 || u == 127;
5162
5160
  }
5163
5161
  function rD(u) {
@@ -5166,7 +5164,7 @@ function rD(u) {
5166
5164
  function Eu(u) {
5167
5165
  return u >= 48 && u <= 57;
5168
5166
  }
5169
- function bf(u) {
5167
+ function hf(u) {
5170
5168
  return u == 34 || u == 39;
5171
5169
  }
5172
5170
  function Zu(u) {
@@ -5175,67 +5173,67 @@ function Zu(u) {
5175
5173
  function Qu(u) {
5176
5174
  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;
5177
5175
  }
5178
- function c3(u) {
5176
+ function d3(u) {
5179
5177
  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;
5180
5178
  }
5181
- function l3(u) {
5179
+ function C3(u) {
5182
5180
  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;
5183
5181
  }
5184
- function R1(u) {
5182
+ function O1(u) {
5185
5183
  return u < 58 ? u < 44 ? u == 33 : u == 44 || u == 46 : u < 63 ? u >= 58 && u <= 59 : u == 63 || u == 94;
5186
5184
  }
5187
- function E3(u) {
5185
+ function c3(u) {
5188
5186
  return u < 91 ? u == 40 : u == 91 || u == 123;
5189
5187
  }
5190
- function Yf(u) {
5188
+ function Hf(u) {
5191
5189
  return u < 93 ? u == 41 : u == 93 || u == 125;
5192
5190
  }
5193
- var h3 = /^(?: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|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)$/, P1 = /https?:\/\//i, b3 = new RegExp("^" + P1.source, "i"), p3 = /^(javascript|vbscript):/i, B3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, g3 = /^(?:\/\/)?([^/#?:]+)/, oD = rD;
5194
- function I1(u) {
5191
+ var l3 = /^(?: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|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)$/, R1 = /https?:\/\//i, E3 = new RegExp("^" + R1.source, "i"), h3 = /^(javascript|vbscript):/i, b3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, p3 = /^(?:\/\/)?([^/#?:]+)/, oD = rD;
5192
+ function P1(u) {
5195
5193
  return rD(u) || Eu(u) || u === 43 || // '+'
5196
5194
  u === 45 || // '-'
5197
5195
  u === 46;
5198
5196
  }
5199
5197
  var Yu = Qu;
5200
- function pf(u) {
5198
+ function bf(u) {
5201
5199
  return u === 95 || Yu(u);
5202
5200
  }
5203
- function L1(u) {
5204
- return Qu(u) || l3(u) || R1(u);
5201
+ function I1(u) {
5202
+ return Qu(u) || C3(u) || O1(u);
5205
5203
  }
5206
- function Bf(u) {
5204
+ function pf(u) {
5207
5205
  return u === 47 || // '/'
5208
5206
  u === 63 || // '?'
5209
5207
  u === 35;
5210
5208
  }
5211
- function $1(u) {
5212
- return h3.test(u.toLowerCase());
5209
+ function L1(u) {
5210
+ return l3.test(u.toLowerCase());
5213
5211
  }
5214
- function m3(u) {
5215
- if (p3.test(u))
5212
+ function B3(u) {
5213
+ if (h3.test(u))
5216
5214
  return !1;
5217
- var D = u.match(B3);
5215
+ var D = u.match(b3);
5218
5216
  if (!D)
5219
5217
  return !1;
5220
5218
  var f = !!D[1], e = D[2];
5221
5219
  return f ? !0 : !(e.indexOf(".") === -1 || !/[A-Za-z]/.test(e));
5222
5220
  }
5223
- function _3(u) {
5224
- var D = u.match(g3);
5221
+ function g3(u) {
5222
+ var D = u.match(p3);
5225
5223
  if (!D)
5226
5224
  return !1;
5227
5225
  var f = D[0], e = f.split(".");
5228
5226
  if (e.length < 2)
5229
5227
  return !1;
5230
5228
  var t = e[e.length - 1];
5231
- return !!$1(t);
5229
+ return !!L1(t);
5232
5230
  }
5233
- var y3 = /^(?:(?: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]?)$/, v3 = /[:/?#]/;
5234
- function w3(u) {
5235
- var D = u.split(v3, 1)[0];
5236
- return y3.test(D);
5231
+ var m3 = /^(?:(?: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]?)$/, _3 = /[:/?#]/;
5232
+ function y3(u) {
5233
+ var D = u.split(_3, 1)[0];
5234
+ return m3.test(D);
5237
5235
  }
5238
- var A3 = /^(https?:\/\/)?(?:www\.)?/i, x3 = /^\/\//, k3 = (
5236
+ var v3 = /^(https?:\/\/)?(?:www\.)?/i, w3 = /^\/\//, A3 = (
5239
5237
  /** @class */
5240
5238
  function(u) {
5241
5239
  CD(D, u);
@@ -5258,23 +5256,23 @@ var A3 = /^(https?:\/\/)?(?:www\.)?/i, x3 = /^\/\//, k3 = (
5258
5256
  return f.replace(/&amp;/g, "&");
5259
5257
  }, D.prototype.getAnchorText = function() {
5260
5258
  var f = this.getMatchedText();
5261
- return this.protocolRelativeMatch && (f = T3(f)), this.stripPrefix.scheme && (f = j3(f)), this.stripPrefix.www && (f = S3(f)), this.stripTrailingSlash && (f = N3(f)), this.decodePercentEncoding && (f = O3(f)), f;
5259
+ return this.protocolRelativeMatch && (f = j3(f)), this.stripPrefix.scheme && (f = x3(f)), this.stripPrefix.www && (f = k3(f)), this.stripTrailingSlash && (f = S3(f)), this.decodePercentEncoding && (f = T3(f)), f;
5262
5260
  }, D;
5263
5261
  }(cD)
5264
5262
  );
5265
- function j3(u) {
5266
- return u.replace(b3, "");
5263
+ function x3(u) {
5264
+ return u.replace(E3, "");
5267
5265
  }
5268
- function S3(u) {
5269
- return u.includes("www.") ? u.replace(A3, "$1") : u;
5266
+ function k3(u) {
5267
+ return u.includes("www.") ? u.replace(v3, "$1") : u;
5270
5268
  }
5271
- function T3(u) {
5272
- return u.replace(x3, "");
5269
+ function j3(u) {
5270
+ return u.replace(w3, "");
5273
5271
  }
5274
- function N3(u) {
5272
+ function S3(u) {
5275
5273
  return u.charAt(u.length - 1) === "/" && (u = u.slice(0, -1)), u;
5276
5274
  }
5277
- function O3(u) {
5275
+ function T3(u) {
5278
5276
  var D = u.replace(/%(?:22|26|27|3C|3E)/gi, function(f) {
5279
5277
  return f === "%22" ? "&quot;" : f === "%26" ? "&amp;" : f === "%27" ? "&#39;" : f === "%3C" || f === "%3c" ? "&lt;" : "&gt;";
5280
5278
  });
@@ -5285,15 +5283,15 @@ function O3(u) {
5285
5283
  }
5286
5284
  return D;
5287
5285
  }
5288
- var R3 = /^mailto:/i, M1 = Qu;
5289
- function gf(u) {
5290
- return M1(u) || c3(u);
5286
+ var N3 = /^mailto:/i, $1 = Qu;
5287
+ function Bf(u) {
5288
+ return $1(u) || d3(u);
5291
5289
  }
5292
- function P3(u) {
5290
+ function O3(u) {
5293
5291
  var D = u.split(".").pop();
5294
- return $1(D);
5292
+ return L1(D);
5295
5293
  }
5296
- var I3 = (
5294
+ var R3 = (
5297
5295
  /** @class */
5298
5296
  function(u) {
5299
5297
  CD(D, u);
@@ -5312,19 +5310,19 @@ var I3 = (
5312
5310
  }, D;
5313
5311
  }(cD)
5314
5312
  );
5315
- function q1(u) {
5313
+ function M1(u) {
5316
5314
  return u === 95 || Qu(u);
5317
5315
  }
5318
- function L3(u) {
5316
+ function P3(u) {
5319
5317
  return u.length <= 140;
5320
5318
  }
5321
- var $3 = [
5319
+ var I3 = [
5322
5320
  "twitter",
5323
5321
  "facebook",
5324
5322
  "instagram",
5325
5323
  "tiktok",
5326
5324
  "youtube"
5327
- ], M3 = (
5325
+ ], L3 = (
5328
5326
  /** @class */
5329
5327
  function(u) {
5330
5328
  CD(D, u);
@@ -5361,7 +5359,7 @@ var $3 = [
5361
5359
  return e && f.push(e), f;
5362
5360
  }, D;
5363
5361
  }(cD)
5364
- ), q3 = {
5362
+ ), $3 = {
5365
5363
  twitter: /^@\w{1,15}$/,
5366
5364
  instagram: /^@[_\w]{1,30}$/,
5367
5365
  soundcloud: /^@[-a-z0-9_]{3,25}$/,
@@ -5373,23 +5371,23 @@ var $3 = [
5373
5371
  // https://support.google.com/youtube/answer/11585688?hl=en&co=GENIE.Platform%3DAndroid#tns
5374
5372
  youtube: /^@[-.·\w]{3,30}$/
5375
5373
  };
5376
- function z1(u) {
5374
+ function q1(u) {
5377
5375
  return u === 45 || // '-'
5378
5376
  u === 46 || // '.'
5379
5377
  u === 95 || // '_'
5380
5378
  rD(u) || Eu(u);
5381
5379
  }
5382
- function z3(u, D) {
5383
- var f = q3[D];
5380
+ function M3(u, D) {
5381
+ var f = $3[D];
5384
5382
  return f.test(u);
5385
5383
  }
5386
- var U3 = [
5384
+ var q3 = [
5387
5385
  "twitter",
5388
5386
  "instagram",
5389
5387
  "soundcloud",
5390
5388
  "tiktok",
5391
5389
  "youtube"
5392
- ], V3 = (
5390
+ ], z3 = (
5393
5391
  /** @class */
5394
5392
  function(u) {
5395
5393
  CD(D, u);
@@ -5425,21 +5423,21 @@ var U3 = [
5425
5423
  return e && f.push(e), f;
5426
5424
  }, D;
5427
5425
  }(cD)
5428
- ), H3 = /[-. ()]/, W3 = /(?:(?:(?:(\+)?\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]+#?)*/, Y3 = /(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})/, K3 = new RegExp("^".concat(W3.source, "|").concat(Y3.source, "$"));
5429
- function U1(u) {
5426
+ ), U3 = /[-. ()]/, V3 = /(?:(?:(?:(\+)?\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]+#?)*/, H3 = /(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})/, W3 = new RegExp("^".concat(V3.source, "|").concat(H3.source, "$"));
5427
+ function z1(u) {
5430
5428
  return u === 45 || // '-'
5431
5429
  u === 46 || // '.'
5432
5430
  u === 32;
5433
5431
  }
5434
- function mf(u) {
5432
+ function gf(u) {
5435
5433
  return u === 44 || // ','
5436
5434
  u === 59;
5437
5435
  }
5438
- function J3(u) {
5439
- var D = u.charAt(0) === "+" || H3.test(u);
5440
- return D && K3.test(u);
5436
+ function Y3(u) {
5437
+ var D = u.charAt(0) === "+" || U3.test(u);
5438
+ return D && W3.test(u);
5441
5439
  }
5442
- var G3 = (
5440
+ var K3 = (
5443
5441
  /** @class */
5444
5442
  function(u) {
5445
5443
  CD(D, u);
@@ -5459,7 +5457,7 @@ var G3 = (
5459
5457
  return this.matchedText;
5460
5458
  }, D;
5461
5459
  }(cD)
5462
- ), X3 = (
5460
+ ), J3 = (
5463
5461
  /** @class */
5464
5462
  function() {
5465
5463
  function u(D, f) {
@@ -5472,18 +5470,18 @@ var G3 = (
5472
5470
  enumerable: !1,
5473
5471
  configurable: !0
5474
5472
  }), u.prototype.addMachine = function(D) {
5475
- this._stateMachines.push(D), Jf(D) && this.schemeUrlMachinesCount++;
5473
+ this._stateMachines.push(D), Yf(D) && this.schemeUrlMachinesCount++;
5476
5474
  }, u.prototype.removeMachine = function(D) {
5477
5475
  this._stateMachines = this._stateMachines.filter(function(f) {
5478
5476
  return f !== D;
5479
- }), Jf(D) && this.schemeUrlMachinesCount--;
5477
+ }), Yf(D) && this.schemeUrlMachinesCount--;
5480
5478
  }, u.prototype.hasSchemeUrlMachine = function() {
5481
5479
  return this.schemeUrlMachinesCount > 0;
5482
5480
  }, u;
5483
5481
  }()
5484
5482
  );
5485
- function Z3(u, D) {
5486
- for (var f = new X3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5483
+ function G3(u, D) {
5484
+ for (var f = new J3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5487
5485
  var e = u.charAt(f.charIdx), t = u.charCodeAt(f.charIdx);
5488
5486
  if (f.stateMachines.length === 0)
5489
5487
  jD(f, e, t);
@@ -5492,130 +5490,130 @@ function Z3(u, D) {
5492
5490
  var r = f.stateMachines[n];
5493
5491
  switch (r.state) {
5494
5492
  case 11:
5495
- t2(f, r, t);
5493
+ f2(f, r, t);
5496
5494
  break;
5497
5495
  case 12:
5498
- n2(f, r, t);
5496
+ e2(f, r, t);
5499
5497
  break;
5500
5498
  case 0:
5501
- Q3(f, r, t);
5499
+ X3(f, r, t);
5502
5500
  break;
5503
5501
  case 1:
5504
- u2(f, r, t);
5502
+ Z3(f, r, t);
5505
5503
  break;
5506
5504
  case 2:
5507
- D2(f, r, t);
5505
+ Q3(f, r, t);
5508
5506
  break;
5509
5507
  case 3:
5510
- f2(f, r, t);
5508
+ u2(f, r, t);
5511
5509
  break;
5512
5510
  case 4:
5513
- e2(f, r, e, t);
5511
+ D2(f, r, e, t);
5514
5512
  break;
5515
5513
  case 5:
5516
- r2(f, r, t);
5514
+ t2(f, r, t);
5517
5515
  break;
5518
5516
  case 6:
5519
- a2(f, r, e, t);
5517
+ n2(f, r, e, t);
5520
5518
  break;
5521
5519
  case 7:
5522
- s2(f, r, e, t);
5520
+ r2(f, r, e, t);
5523
5521
  break;
5524
5522
  case 13:
5525
- F2(f, r, t);
5523
+ a2(f, r, t);
5526
5524
  break;
5527
5525
  case 14:
5528
- i2(f, r, t);
5526
+ s2(f, r, t);
5529
5527
  break;
5530
5528
  case 8:
5531
- o2(f, r, t);
5529
+ F2(f, r, t);
5532
5530
  break;
5533
5531
  case 9:
5534
- d2(f, r, t);
5532
+ i2(f, r, t);
5535
5533
  break;
5536
5534
  case 10:
5537
- C2(f, r, t);
5535
+ o2(f, r, t);
5538
5536
  break;
5539
5537
  case 15:
5540
- c2(f, r, e, t);
5538
+ d2(f, r, e, t);
5541
5539
  break;
5542
5540
  case 16:
5543
- l2(f, r, e, t);
5541
+ C2(f, r, e, t);
5544
5542
  break;
5545
5543
  case 17:
5546
- E2(f, r, e, t);
5544
+ c2(f, r, e, t);
5547
5545
  break;
5548
5546
  case 18:
5549
- h2(f, r, e, t);
5547
+ l2(f, r, e, t);
5550
5548
  break;
5551
5549
  case 19:
5552
- b2(f, r, e, t);
5550
+ E2(f, r, e, t);
5553
5551
  break;
5554
5552
  case 20:
5555
- p2(f, r, t);
5553
+ h2(f, r, t);
5556
5554
  break;
5557
5555
  case 21:
5558
- B2(f, r, t);
5556
+ b2(f, r, t);
5559
5557
  break;
5560
5558
  case 22:
5561
5559
  uD(f, r, t);
5562
5560
  break;
5563
5561
  case 23:
5564
- g2(f, r, t);
5562
+ p2(f, r, t);
5565
5563
  break;
5566
5564
  case 24:
5567
- m2(f, r, t);
5565
+ B2(f, r, t);
5568
5566
  break;
5569
5567
  case 25:
5570
- _2(f, r, t);
5568
+ g2(f, r, t);
5571
5569
  break;
5572
5570
  case 26:
5573
- y2(f, r, t);
5571
+ m2(f, r, t);
5574
5572
  break;
5575
5573
  case 27:
5576
- v2(f, r, t);
5574
+ _2(f, r, t);
5577
5575
  break;
5578
5576
  case 28:
5579
- w2(f, r, t);
5577
+ y2(f, r, t);
5580
5578
  break;
5581
5579
  case 29:
5582
- A2(f, r, t);
5580
+ v2(f, r, t);
5583
5581
  break;
5584
5582
  case 30:
5585
- x2(f, r, t);
5583
+ w2(f, r, t);
5586
5584
  break;
5587
5585
  case 31:
5588
- k2(f, r, t);
5586
+ A2(f, r, t);
5589
5587
  break;
5590
5588
  case 32:
5591
- S2(f, r, e, t);
5589
+ k2(f, r, e, t);
5592
5590
  break;
5593
5591
  case 33:
5594
- T2(f, r, t);
5592
+ j2(f, r, t);
5595
5593
  break;
5596
5594
  case 34:
5597
- N2(f, r, t);
5595
+ S2(f, r, t);
5598
5596
  break;
5599
5597
  case 35:
5600
- O2(f, r, t);
5598
+ T2(f, r, t);
5601
5599
  break;
5602
5600
  case 36:
5603
- R2(f, r, e, t);
5601
+ N2(f, r, e, t);
5604
5602
  break;
5605
5603
  case 37:
5606
- j2(f, r, e, t);
5604
+ x2(f, r, e, t);
5607
5605
  break;
5608
5606
  case 38:
5609
- P2(f, r, e, t);
5607
+ O2(f, r, e, t);
5610
5608
  break;
5611
5609
  case 39:
5612
- I2(f, r, e, t);
5610
+ R2(f, r, e, t);
5613
5611
  break;
5614
5612
  case 40:
5615
- L2(f, r, t);
5613
+ P2(f, r, t);
5616
5614
  break;
5617
5615
  case 41:
5618
- $2(f, r, t);
5616
+ I2(f, r, t);
5619
5617
  break;
5620
5618
  default:
5621
5619
  Xu(r.state);
@@ -5640,71 +5638,71 @@ function Z3(u, D) {
5640
5638
  function jD(u, D, f) {
5641
5639
  var e = u.charIdx;
5642
5640
  if (f === 35)
5643
- u.addMachine(V2(
5641
+ u.addMachine(z2(
5644
5642
  e,
5645
5643
  28
5646
5644
  /* State.HashtagHashChar */
5647
5645
  ));
5648
5646
  else if (f === 64)
5649
- u.addMachine(H2(
5647
+ u.addMachine(U2(
5650
5648
  e,
5651
5649
  30
5652
5650
  /* State.MentionAtChar */
5653
5651
  ));
5654
5652
  else if (f === 47)
5655
- u.addMachine(nf(
5653
+ u.addMachine(tf(
5656
5654
  e,
5657
5655
  11
5658
5656
  /* State.ProtocolRelativeSlash1 */
5659
5657
  ));
5660
5658
  else if (f === 43)
5661
- u.addMachine(VD(
5659
+ u.addMachine(UD(
5662
5660
  e,
5663
5661
  37
5664
5662
  /* State.PhoneNumberPlus */
5665
5663
  ));
5666
5664
  else if (f === 40)
5667
- u.addMachine(VD(
5665
+ u.addMachine(UD(
5668
5666
  e,
5669
5667
  32
5670
5668
  /* State.PhoneNumberOpenParen */
5671
5669
  ));
5672
5670
  else {
5673
- if (Eu(f) && (u.addMachine(VD(
5671
+ if (Eu(f) && (u.addMachine(UD(
5674
5672
  e,
5675
5673
  38
5676
5674
  /* State.PhoneNumberDigit */
5677
- )), u.addMachine(z2(
5675
+ )), u.addMachine(M2(
5678
5676
  e,
5679
5677
  13
5680
5678
  /* State.IpV4Digit */
5681
- ))), M1(f)) {
5679
+ ))), $1(f)) {
5682
5680
  var t = D.toLowerCase() === "m" ? 15 : 22;
5683
- u.addMachine(U2(e, t));
5681
+ u.addMachine(q2(e, t));
5684
5682
  }
5685
5683
  oD(f) && u.addMachine(SD(
5686
5684
  e,
5687
5685
  0
5688
5686
  /* State.SchemeChar */
5689
- )), Qu(f) && u.addMachine(nf(
5687
+ )), Qu(f) && u.addMachine(tf(
5690
5688
  e,
5691
5689
  5
5692
5690
  /* State.DomainLabelChar */
5693
5691
  ));
5694
5692
  }
5695
5693
  }
5696
- function Q3(u, D, f) {
5697
- f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : I1(f) || u.removeMachine(D);
5694
+ function X3(u, D, f) {
5695
+ f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : P1(f) || u.removeMachine(D);
5698
5696
  }
5699
- function u2(u, D, f) {
5697
+ function Z3(u, D, f) {
5700
5698
  var e = u.charIdx;
5701
- f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(nf(
5699
+ f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(tf(
5702
5700
  e,
5703
5701
  11
5704
5702
  /* State.ProtocolRelativeSlash1 */
5705
- ))) : I1(f) ? D.state = 0 : u.removeMachine(D));
5703
+ ))) : P1(f) ? D.state = 0 : u.removeMachine(D));
5706
5704
  }
5707
- function D2(u, D, f) {
5705
+ function Q3(u, D, f) {
5708
5706
  var e = u.charIdx;
5709
5707
  f === 47 ? D.state = 3 : f === 46 ? u.removeMachine(D) : Yu(f) ? (D.state = 5, oD(f) && u.addMachine(SD(
5710
5708
  e,
@@ -5712,162 +5710,162 @@ function D2(u, D, f) {
5712
5710
  /* State.SchemeChar */
5713
5711
  ))) : u.removeMachine(D);
5714
5712
  }
5715
- function f2(u, D, f) {
5716
- f === 47 ? D.state = 4 : L1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5713
+ function u2(u, D, f) {
5714
+ f === 47 ? D.state = 4 : I1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5717
5715
  }
5718
- function e2(u, D, f, e) {
5716
+ function D2(u, D, f, e) {
5719
5717
  e === 47 ? (D.state = 10, D.acceptStateReached = !0) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : u.removeMachine(D);
5720
5718
  }
5721
- function t2(u, D, f) {
5719
+ function f2(u, D, f) {
5722
5720
  f === 47 ? D.state = 12 : u.removeMachine(D);
5723
5721
  }
5724
- function n2(u, D, f) {
5722
+ function e2(u, D, f) {
5725
5723
  Yu(f) ? D.state = 5 : u.removeMachine(D);
5726
5724
  }
5727
- function r2(u, D, f) {
5728
- f === 46 ? D.state = 7 : f === 45 ? D.state = 6 : f === 58 ? D.state = 8 : Bf(f) ? D.state = 10 : pf(f) || eu(u, D);
5725
+ function t2(u, D, f) {
5726
+ f === 46 ? D.state = 7 : f === 45 ? D.state = 6 : f === 58 ? D.state = 8 : pf(f) ? D.state = 10 : bf(f) || eu(u, D);
5729
5727
  }
5730
- function a2(u, D, f, e) {
5728
+ function n2(u, D, f, e) {
5731
5729
  e === 45 || (e === 46 ? eu(u, D) : Yu(e) ? D.state = 5 : eu(u, D));
5732
5730
  }
5733
- function s2(u, D, f, e) {
5731
+ function r2(u, D, f, e) {
5734
5732
  e === 46 ? eu(u, D) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : eu(u, D);
5735
5733
  }
5736
- function F2(u, D, f) {
5737
- f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (Bf(f) ? D.state = 10 : Qu(f) ? u.removeMachine(D) : eu(u, D));
5734
+ function a2(u, D, f) {
5735
+ f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (pf(f) ? D.state = 10 : Qu(f) ? u.removeMachine(D) : eu(u, D));
5738
5736
  }
5739
- function i2(u, D, f) {
5737
+ function s2(u, D, f) {
5740
5738
  Eu(f) ? (D.octetsEncountered++, D.octetsEncountered === 4 && (D.acceptStateReached = !0), D.state = 13) : eu(u, D);
5741
5739
  }
5742
- function o2(u, D, f) {
5740
+ function F2(u, D, f) {
5743
5741
  Eu(f) ? D.state = 9 : eu(u, D);
5744
5742
  }
5745
- function d2(u, D, f) {
5746
- Eu(f) || (Bf(f) ? D.state = 10 : eu(u, D));
5743
+ function i2(u, D, f) {
5744
+ Eu(f) || (pf(f) ? D.state = 10 : eu(u, D));
5747
5745
  }
5748
- function C2(u, D, f) {
5749
- L1(f) || eu(u, D);
5746
+ function o2(u, D, f) {
5747
+ I1(f) || eu(u, D);
5750
5748
  }
5751
- function c2(u, D, f, e) {
5749
+ function d2(u, D, f, e) {
5752
5750
  f.toLowerCase() === "a" ? D.state = 16 : uD(u, D, e);
5753
5751
  }
5754
- function l2(u, D, f, e) {
5752
+ function C2(u, D, f, e) {
5755
5753
  f.toLowerCase() === "i" ? D.state = 17 : uD(u, D, e);
5756
5754
  }
5757
- function E2(u, D, f, e) {
5755
+ function c2(u, D, f, e) {
5758
5756
  f.toLowerCase() === "l" ? D.state = 18 : uD(u, D, e);
5759
5757
  }
5760
- function h2(u, D, f, e) {
5758
+ function l2(u, D, f, e) {
5761
5759
  f.toLowerCase() === "t" ? D.state = 19 : uD(u, D, e);
5762
5760
  }
5763
- function b2(u, D, f, e) {
5761
+ function E2(u, D, f, e) {
5764
5762
  f.toLowerCase() === "o" ? D.state = 20 : uD(u, D, e);
5765
5763
  }
5766
- function p2(u, D, f) {
5764
+ function h2(u, D, f) {
5767
5765
  f === 58 ? D.state = 21 : uD(u, D, f);
5768
5766
  }
5769
- function B2(u, D, f) {
5770
- gf(f) ? D.state = 22 : u.removeMachine(D);
5767
+ function b2(u, D, f) {
5768
+ Bf(f) ? D.state = 22 : u.removeMachine(D);
5771
5769
  }
5772
5770
  function uD(u, D, f) {
5773
- f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : gf(f) ? D.state = 22 : u.removeMachine(D);
5771
+ f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : Bf(f) ? D.state = 22 : u.removeMachine(D);
5772
+ }
5773
+ function p2(u, D, f) {
5774
+ f === 46 || f === 64 ? u.removeMachine(D) : Bf(f) ? D.state = 22 : u.removeMachine(D);
5775
+ }
5776
+ function B2(u, D, f) {
5777
+ Yu(f) ? D.state = 25 : u.removeMachine(D);
5774
5778
  }
5775
5779
  function g2(u, D, f) {
5776
- f === 46 || f === 64 ? u.removeMachine(D) : gf(f) ? D.state = 22 : u.removeMachine(D);
5780
+ f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : bf(f) || eu(u, D);
5777
5781
  }
5778
5782
  function m2(u, D, f) {
5779
- Yu(f) ? D.state = 25 : u.removeMachine(D);
5783
+ f === 45 || f === 46 ? eu(u, D) : bf(f) ? D.state = 25 : eu(u, D);
5780
5784
  }
5781
5785
  function _2(u, D, f) {
5782
- f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : pf(f) || eu(u, D);
5786
+ f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5783
5787
  }
5784
5788
  function y2(u, D, f) {
5785
- f === 45 || f === 46 ? eu(u, D) : pf(f) ? D.state = 25 : eu(u, D);
5789
+ M1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5786
5790
  }
5787
5791
  function v2(u, D, f) {
5788
- f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5792
+ M1(f) || eu(u, D);
5789
5793
  }
5790
5794
  function w2(u, D, f) {
5791
- q1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5795
+ q1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5792
5796
  }
5793
5797
  function A2(u, D, f) {
5794
- q1(f) || eu(u, D);
5798
+ q1(f) || (Qu(f) ? u.removeMachine(D) : eu(u, D));
5795
5799
  }
5796
- function x2(u, D, f) {
5797
- z1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5798
- }
5799
- function k2(u, D, f) {
5800
- z1(f) || (Qu(f) ? u.removeMachine(D) : eu(u, D));
5801
- }
5802
- function j2(u, D, f, e) {
5800
+ function x2(u, D, f, e) {
5803
5801
  Eu(e) ? D.state = 38 : (u.removeMachine(D), jD(u, f, e));
5804
5802
  }
5805
- function S2(u, D, f, e) {
5803
+ function k2(u, D, f, e) {
5806
5804
  Eu(e) ? D.state = 33 : u.removeMachine(D), jD(u, f, e);
5807
5805
  }
5808
- function T2(u, D, f) {
5806
+ function j2(u, D, f) {
5809
5807
  Eu(f) ? D.state = 34 : u.removeMachine(D);
5810
5808
  }
5811
- function N2(u, D, f) {
5809
+ function S2(u, D, f) {
5812
5810
  Eu(f) ? D.state = 35 : u.removeMachine(D);
5813
5811
  }
5814
- function O2(u, D, f) {
5812
+ function T2(u, D, f) {
5815
5813
  f === 41 ? D.state = 36 : u.removeMachine(D);
5816
5814
  }
5817
- function R2(u, D, f, e) {
5818
- Eu(e) ? D.state = 38 : U1(e) ? D.state = 39 : u.removeMachine(D);
5815
+ function N2(u, D, f, e) {
5816
+ Eu(e) ? D.state = 38 : z1(e) ? D.state = 39 : u.removeMachine(D);
5819
5817
  }
5820
- function P2(u, D, f, e) {
5818
+ function O2(u, D, f, e) {
5821
5819
  var t = u.charIdx;
5822
- D.acceptStateReached = !0, mf(e) ? D.state = 40 : e === 35 ? D.state = 41 : Eu(e) || (e === 40 ? D.state = 32 : U1(e) ? D.state = 39 : (eu(u, D), oD(e) && u.addMachine(SD(
5820
+ D.acceptStateReached = !0, gf(e) ? D.state = 40 : e === 35 ? D.state = 41 : Eu(e) || (e === 40 ? D.state = 32 : z1(e) ? D.state = 39 : (eu(u, D), oD(e) && u.addMachine(SD(
5823
5821
  t,
5824
5822
  0
5825
5823
  /* State.SchemeChar */
5826
5824
  ))));
5827
5825
  }
5828
- function I2(u, D, f, e) {
5826
+ function R2(u, D, f, e) {
5829
5827
  Eu(e) ? D.state = 38 : e === 40 ? D.state = 32 : (eu(u, D), jD(u, f, e));
5830
5828
  }
5831
- function L2(u, D, f) {
5832
- mf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5829
+ function P2(u, D, f) {
5830
+ gf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5833
5831
  }
5834
- function $2(u, D, f) {
5835
- mf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5832
+ function I2(u, D, f) {
5833
+ gf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5836
5834
  }
5837
5835
  function eu(u, D) {
5838
5836
  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;
5839
5837
  if (u.removeMachine(D), !!D.acceptStateReached) {
5840
5838
  var c = D.startIdx, l = e.slice(D.startIdx, t);
5841
- switch (l = q2(l), D.type) {
5839
+ switch (l = $2(l), D.type) {
5842
5840
  case 0: {
5843
5841
  var j = e.charCodeAt(D.startIdx - 1);
5844
5842
  if (j === 64)
5845
5843
  return;
5846
5844
  switch (D.matchType) {
5847
5845
  case 0: {
5848
- var y = P1.exec(l);
5849
- if (y && (c = c + y.index, l = l.slice(y.index)), !m3(l))
5846
+ var y = R1.exec(l);
5847
+ if (y && (c = c + y.index, l = l.slice(y.index)), !B3(l))
5850
5848
  return;
5851
5849
  break;
5852
5850
  }
5853
5851
  case 1: {
5854
- if (!_3(l))
5852
+ if (!g3(l))
5855
5853
  return;
5856
5854
  break;
5857
5855
  }
5858
5856
  case 2: {
5859
- if (!w3(l))
5857
+ if (!y3(l))
5860
5858
  return;
5861
5859
  break;
5862
5860
  }
5863
5861
  default:
5864
5862
  Xu(D);
5865
5863
  }
5866
- f.push(new k3({
5864
+ f.push(new A3({
5867
5865
  tagBuilder: n,
5868
5866
  matchedText: l,
5869
5867
  offset: c,
5870
- urlMatchType: M2(D.matchType),
5868
+ urlMatchType: L2(D.matchType),
5871
5869
  url: l,
5872
5870
  protocolRelativeMatch: l.slice(0, 2) === "//",
5873
5871
  // TODO: Do these settings need to be passed to the match,
@@ -5879,16 +5877,16 @@ function eu(u, D) {
5879
5877
  break;
5880
5878
  }
5881
5879
  case 1: {
5882
- P3(l) && f.push(new I3({
5880
+ O3(l) && f.push(new R3({
5883
5881
  tagBuilder: n,
5884
5882
  matchedText: l,
5885
5883
  offset: c,
5886
- email: l.replace(R3, "")
5884
+ email: l.replace(N3, "")
5887
5885
  }));
5888
5886
  break;
5889
5887
  }
5890
5888
  case 2: {
5891
- L3(l) && f.push(new M3({
5889
+ P3(l) && f.push(new L3({
5892
5890
  tagBuilder: n,
5893
5891
  matchedText: l,
5894
5892
  offset: c,
@@ -5898,7 +5896,7 @@ function eu(u, D) {
5898
5896
  break;
5899
5897
  }
5900
5898
  case 3: {
5901
- z3(l, o) && f.push(new V3({
5899
+ M3(l, o) && f.push(new z3({
5902
5900
  tagBuilder: n,
5903
5901
  matchedText: l,
5904
5902
  offset: c,
@@ -5909,9 +5907,9 @@ function eu(u, D) {
5909
5907
  break;
5910
5908
  }
5911
5909
  case 4: {
5912
- if (l = l.replace(/ +$/g, ""), J3(l)) {
5910
+ if (l = l.replace(/ +$/g, ""), Y3(l)) {
5913
5911
  var C = l.replace(/[^0-9,;#]/g, "");
5914
- f.push(new G3({
5912
+ f.push(new K3({
5915
5913
  tagBuilder: n,
5916
5914
  matchedText: l,
5917
5915
  offset: c,
@@ -5926,7 +5924,7 @@ function eu(u, D) {
5926
5924
  }
5927
5925
  }
5928
5926
  }
5929
- function M2(u) {
5927
+ function L2(u) {
5930
5928
  switch (u) {
5931
5929
  case 0:
5932
5930
  return "scheme";
@@ -5938,29 +5936,29 @@ function M2(u) {
5938
5936
  Xu(u);
5939
5937
  }
5940
5938
  }
5941
- var Kf = {
5939
+ var Wf = {
5942
5940
  ")": "(",
5943
5941
  "}": "{",
5944
5942
  "]": "["
5945
5943
  };
5946
- function q2(u) {
5944
+ function $2(u) {
5947
5945
  for (var D = {
5948
5946
  "(": 0,
5949
5947
  "{": 0,
5950
5948
  "[": 0
5951
5949
  }, f = 0; f < u.length; f++) {
5952
5950
  var e = u.charAt(f), t = u.charCodeAt(f);
5953
- E3(t) ? D[e]++ : Yf(t) && D[Kf[e]]--;
5951
+ c3(t) ? D[e]++ : Hf(t) && D[Wf[e]]--;
5954
5952
  }
5955
5953
  for (var n = u.length - 1; n >= 0; ) {
5956
5954
  var e = u.charAt(n), t = u.charCodeAt(n);
5957
- if (Yf(t)) {
5958
- var r = Kf[e];
5955
+ if (Hf(t)) {
5956
+ var r = Wf[e];
5959
5957
  if (D[r] < 0)
5960
5958
  D[r]++, n--;
5961
5959
  else
5962
5960
  break;
5963
- } else if (R1(t))
5961
+ } else if (O1(t))
5964
5962
  n--;
5965
5963
  else
5966
5964
  break;
@@ -5976,7 +5974,7 @@ function SD(u, D) {
5976
5974
  matchType: 0
5977
5975
  };
5978
5976
  }
5979
- function nf(u, D) {
5977
+ function tf(u, D) {
5980
5978
  return {
5981
5979
  type: 0,
5982
5980
  startIdx: u,
@@ -5985,7 +5983,7 @@ function nf(u, D) {
5985
5983
  matchType: 1
5986
5984
  };
5987
5985
  }
5988
- function z2(u, D) {
5986
+ function M2(u, D) {
5989
5987
  return {
5990
5988
  type: 0,
5991
5989
  startIdx: u,
@@ -5996,7 +5994,7 @@ function z2(u, D) {
5996
5994
  // starts at 1 because we create this machine when encountering the first octet
5997
5995
  };
5998
5996
  }
5999
- function U2(u, D) {
5997
+ function q2(u, D) {
6000
5998
  return {
6001
5999
  type: 1,
6002
6000
  startIdx: u,
@@ -6004,7 +6002,7 @@ function U2(u, D) {
6004
6002
  acceptStateReached: !1
6005
6003
  };
6006
6004
  }
6007
- function V2(u, D) {
6005
+ function z2(u, D) {
6008
6006
  return {
6009
6007
  type: 2,
6010
6008
  startIdx: u,
@@ -6012,7 +6010,7 @@ function V2(u, D) {
6012
6010
  acceptStateReached: !1
6013
6011
  };
6014
6012
  }
6015
- function H2(u, D) {
6013
+ function U2(u, D) {
6016
6014
  return {
6017
6015
  type: 3,
6018
6016
  startIdx: u,
@@ -6020,7 +6018,7 @@ function H2(u, D) {
6020
6018
  acceptStateReached: !1
6021
6019
  };
6022
6020
  }
6023
- function VD(u, D) {
6021
+ function UD(u, D) {
6024
6022
  return {
6025
6023
  type: 4,
6026
6024
  startIdx: u,
@@ -6028,7 +6026,7 @@ function VD(u, D) {
6028
6026
  acceptStateReached: !1
6029
6027
  };
6030
6028
  }
6031
- function Jf(u) {
6029
+ function Yf(u) {
6032
6030
  return u.type === 0 && u.matchType === 0;
6033
6031
  }
6034
6032
  var Su = (
@@ -6039,155 +6037,155 @@ var Su = (
6039
6037
  }
6040
6038
  return u;
6041
6039
  }()
6042
- ), _f = new Su(), W2 = (
6040
+ ), mf = new Su(), V2 = (
6043
6041
  /** @class */
6044
6042
  /* @__PURE__ */ function() {
6045
6043
  function u(D, f) {
6046
- this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = _f, this.html = D, this.callbacks = f;
6044
+ this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = mf, this.html = D, this.callbacks = f;
6047
6045
  }
6048
6046
  return u;
6049
6047
  }()
6050
6048
  );
6051
- function Y2(u, D) {
6052
- for (var f = new W2(u, D), e = u.length; f.charIdx < e; ) {
6049
+ function H2(u, D) {
6050
+ for (var f = new V2(u, D), e = u.length; f.charIdx < e; ) {
6053
6051
  var t = u.charAt(f.charIdx), n = u.charCodeAt(f.charIdx);
6054
6052
  switch (f.state) {
6055
6053
  case 0:
6056
- K2(f, t);
6054
+ W2(f, t);
6057
6055
  break;
6058
6056
  case 1:
6059
- J2(f, t, n);
6057
+ Y2(f, t, n);
6060
6058
  break;
6061
6059
  case 2:
6062
- X2(f, t, n);
6060
+ J2(f, t, n);
6063
6061
  break;
6064
6062
  case 3:
6065
- G2(f, t, n);
6063
+ K2(f, t, n);
6066
6064
  break;
6067
6065
  case 4:
6068
- Z2(f, t, n);
6066
+ G2(f, t, n);
6069
6067
  break;
6070
6068
  case 5:
6071
- Q2(f, t, n);
6069
+ X2(f, t, n);
6072
6070
  break;
6073
6071
  case 6:
6074
- ut(f, t, n);
6072
+ Z2(f, t, n);
6075
6073
  break;
6076
6074
  case 7:
6077
- Dt(f, t, n);
6075
+ Q2(f, t, n);
6078
6076
  break;
6079
6077
  case 8:
6080
- ft(f, t);
6078
+ ut(f, t);
6081
6079
  break;
6082
6080
  case 9:
6083
- et(f, t);
6081
+ Dt(f, t);
6084
6082
  break;
6085
6083
  case 10:
6086
- tt(f, t, n);
6084
+ ft(f, t, n);
6087
6085
  break;
6088
6086
  case 11:
6089
- nt(f, t, n);
6087
+ et(f, t, n);
6090
6088
  break;
6091
6089
  case 12:
6092
- rt(f, t);
6090
+ tt(f, t);
6093
6091
  break;
6094
6092
  case 13:
6095
- at(f);
6093
+ nt(f);
6096
6094
  break;
6097
6095
  case 14:
6098
- st(f, t);
6096
+ rt(f, t);
6099
6097
  break;
6100
6098
  case 15:
6101
- Ft(f, t);
6099
+ at(f, t);
6102
6100
  break;
6103
6101
  case 16:
6104
- it(f, t);
6102
+ st(f, t);
6105
6103
  break;
6106
6104
  case 17:
6107
- ot(f, t);
6105
+ Ft(f, t);
6108
6106
  break;
6109
6107
  case 18:
6110
- dt(f, t);
6108
+ it(f, t);
6111
6109
  break;
6112
6110
  case 19:
6113
- Ct(f, t);
6111
+ ot(f, t);
6114
6112
  break;
6115
6113
  case 20:
6116
- ct(f, t);
6114
+ dt(f, t);
6117
6115
  break;
6118
6116
  default:
6119
6117
  Xu(f.state);
6120
6118
  }
6121
6119
  f.charIdx++;
6122
6120
  }
6123
- f.currentDataIdx < f.charIdx && lt(f);
6121
+ f.currentDataIdx < f.charIdx && Ct(f);
6124
6122
  }
6125
- function K2(u, D) {
6123
+ function W2(u, D) {
6126
6124
  D === "<" && Ou(u);
6127
6125
  }
6126
+ function Y2(u, D, f) {
6127
+ D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(iu(iu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : rD(f) ? (u.state = 3, u.currentTag = new Su(iu(iu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = mf);
6128
+ }
6129
+ function K2(u, D, f) {
6130
+ Zu(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)) : !rD(f) && !Eu(f) && D !== ":" && xu(u);
6131
+ }
6128
6132
  function J2(u, D, f) {
6129
- D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(iu(iu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : rD(f) ? (u.state = 3, u.currentTag = new Su(iu(iu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = _f);
6133
+ D === ">" ? xu(u) : rD(f) ? u.state = 3 : xu(u);
6130
6134
  }
6131
6135
  function G2(u, D, f) {
6132
- Zu(f) ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: HD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: HD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { name: HD(u) })), Ru(u)) : !rD(f) && !Eu(f) && D !== ":" && xu(u);
6136
+ Zu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || hf(f) || o3(f) ? xu(u) : u.state = 5);
6133
6137
  }
6134
6138
  function X2(u, D, f) {
6135
- D === ">" ? xu(u) : rD(f) ? u.state = 3 : xu(u);
6139
+ Zu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : hf(f) && xu(u);
6136
6140
  }
6137
6141
  function Z2(u, D, f) {
6138
- Zu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || bf(f) || C3(f) ? xu(u) : u.state = 5);
6142
+ Zu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : hf(f) ? xu(u) : u.state = 5);
6139
6143
  }
6140
6144
  function Q2(u, D, f) {
6141
- Zu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : bf(f) && xu(u);
6142
- }
6143
- function ut(u, D, f) {
6144
- Zu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : bf(f) ? xu(u) : u.state = 5);
6145
- }
6146
- function Dt(u, D, f) {
6147
6145
  Zu(f) || (D === '"' ? u.state = 8 : D === "'" ? u.state = 9 : /[>=`]/.test(D) ? xu(u) : D === "<" ? Ou(u) : u.state = 10);
6148
6146
  }
6149
- function ft(u, D) {
6147
+ function ut(u, D) {
6150
6148
  D === '"' && (u.state = 11);
6151
6149
  }
6152
- function et(u, D) {
6150
+ function Dt(u, D) {
6153
6151
  D === "'" && (u.state = 11);
6154
6152
  }
6155
- function tt(u, D, f) {
6153
+ function ft(u, D, f) {
6156
6154
  Zu(f) ? u.state = 4 : D === ">" ? Ru(u) : D === "<" && Ou(u);
6157
6155
  }
6158
- function nt(u, D, f) {
6159
- Zu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, Et(u));
6156
+ function et(u, D, f) {
6157
+ Zu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, ct(u));
6160
6158
  }
6161
- function rt(u, D) {
6159
+ function tt(u, D) {
6162
6160
  D === ">" ? (u.currentTag = new Su(iu(iu({}, u.currentTag), { isClosing: !0 })), Ru(u)) : xu(u);
6163
6161
  }
6164
- function at(u) {
6162
+ function nt(u) {
6165
6163
  var D = u.html, f = u.charIdx;
6166
6164
  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) : xu(u);
6167
6165
  }
6168
- function st(u, D) {
6166
+ function rt(u, D) {
6169
6167
  D === "-" ? u.state = 15 : D === ">" ? xu(u) : u.state = 16;
6170
6168
  }
6171
- function Ft(u, D) {
6169
+ function at(u, D) {
6172
6170
  D === "-" ? u.state = 18 : D === ">" ? xu(u) : u.state = 16;
6173
6171
  }
6174
- function it(u, D) {
6172
+ function st(u, D) {
6175
6173
  D === "-" && (u.state = 17);
6176
6174
  }
6177
- function ot(u, D) {
6175
+ function Ft(u, D) {
6178
6176
  D === "-" ? u.state = 18 : u.state = 16;
6179
6177
  }
6180
- function dt(u, D) {
6178
+ function it(u, D) {
6181
6179
  D === ">" ? Ru(u) : D === "!" ? u.state = 19 : D === "-" || (u.state = 16);
6182
6180
  }
6183
- function Ct(u, D) {
6181
+ function ot(u, D) {
6184
6182
  D === "-" ? u.state = 17 : D === ">" ? Ru(u) : u.state = 16;
6185
6183
  }
6186
- function ct(u, D) {
6184
+ function dt(u, D) {
6187
6185
  D === ">" ? Ru(u) : D === "<" && Ou(u);
6188
6186
  }
6189
6187
  function xu(u) {
6190
- u.state = 0, u.currentTag = _f;
6188
+ u.state = 0, u.currentTag = mf;
6191
6189
  }
6192
6190
  function Ou(u) {
6193
6191
  u.state = 1, u.currentTag = new Su({ idx: u.charIdx });
@@ -6198,18 +6196,18 @@ function Ru(u) {
6198
6196
  var f = u.currentTag;
6199
6197
  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)), xu(u), u.currentDataIdx = u.charIdx + 1;
6200
6198
  }
6201
- function lt(u) {
6199
+ function Ct(u) {
6202
6200
  var D = u.html.slice(u.currentDataIdx, u.charIdx);
6203
6201
  u.callbacks.onText(D, u.currentDataIdx), u.currentDataIdx = u.charIdx + 1;
6204
6202
  }
6205
- function HD(u) {
6203
+ function VD(u) {
6206
6204
  var D = u.currentTag.idx + (u.currentTag.isClosing ? 2 : 1);
6207
6205
  return u.html.slice(D, u.charIdx).toLowerCase();
6208
6206
  }
6209
- function Et(u) {
6207
+ function ct(u) {
6210
6208
  u.charIdx--;
6211
6209
  }
6212
- var ht = (
6210
+ var lt = (
6213
6211
  /** @class */
6214
6212
  function() {
6215
6213
  function u(D) {
@@ -6219,14 +6217,14 @@ var ht = (
6219
6217
  }, this.stripTrailingSlash = !0, this.decodePercentEncoding = !0, this.truncate = {
6220
6218
  length: 0,
6221
6219
  location: "end"
6222
- }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = bt(D.urls), this.email = wu(D.email) ? D.email : this.email, this.phone = wu(D.phone) ? D.phone : this.phone, this.hashtag = D.hashtag || this.hashtag, this.mention = D.mention || this.mention, this.newWindow = wu(D.newWindow) ? D.newWindow : this.newWindow, this.stripPrefix = pt(D.stripPrefix), this.stripTrailingSlash = wu(D.stripTrailingSlash) ? D.stripTrailingSlash : this.stripTrailingSlash, this.decodePercentEncoding = wu(D.decodePercentEncoding) ? D.decodePercentEncoding : this.decodePercentEncoding, this.sanitizeHtml = D.sanitizeHtml || !1;
6220
+ }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = Et(D.urls), this.email = wu(D.email) ? D.email : this.email, this.phone = wu(D.phone) ? D.phone : this.phone, this.hashtag = D.hashtag || this.hashtag, this.mention = D.mention || this.mention, this.newWindow = wu(D.newWindow) ? D.newWindow : this.newWindow, this.stripPrefix = ht(D.stripPrefix), this.stripTrailingSlash = wu(D.stripTrailingSlash) ? D.stripTrailingSlash : this.stripTrailingSlash, this.decodePercentEncoding = wu(D.decodePercentEncoding) ? D.decodePercentEncoding : this.decodePercentEncoding, this.sanitizeHtml = D.sanitizeHtml || !1;
6223
6221
  var f = this.mention;
6224
- if (f !== !1 && U3.indexOf(f) === -1)
6222
+ if (f !== !1 && q3.indexOf(f) === -1)
6225
6223
  throw new Error("invalid `mention` cfg '".concat(f, "' - see docs"));
6226
6224
  var e = this.hashtag;
6227
- if (e !== !1 && $3.indexOf(e) === -1)
6225
+ if (e !== !1 && I3.indexOf(e) === -1)
6228
6226
  throw new Error("invalid `hashtag` cfg '".concat(e, "' - see docs"));
6229
- this.truncate = Bt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6227
+ this.truncate = bt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6230
6228
  }
6231
6229
  return u.link = function(D, f) {
6232
6230
  var e = new u(f);
@@ -6236,7 +6234,7 @@ var ht = (
6236
6234
  return e.parse(D);
6237
6235
  }, u.prototype.parse = function(D) {
6238
6236
  var f = this, e = ["a", "style", "script"], t = 0, n = [];
6239
- return Y2(D, {
6237
+ return H2(D, {
6240
6238
  onOpenTag: function(r) {
6241
6239
  e.indexOf(r) >= 0 && t++;
6242
6240
  },
@@ -6246,7 +6244,7 @@ var ht = (
6246
6244
  d.forEach(function(c, l) {
6247
6245
  if (l % 2 === 0) {
6248
6246
  var j = f.parseText(c, o);
6249
- n.push.apply(n, t3([], e3(j), !1));
6247
+ n.push.apply(n, f3([], D3(j), !1));
6250
6248
  }
6251
6249
  o += c.length;
6252
6250
  });
@@ -6263,7 +6261,7 @@ var ht = (
6263
6261
  // no need to process doctype nodes
6264
6262
  }), n = this.compactMatches(n), n = this.removeUnwantedMatches(n), n;
6265
6263
  }, u.prototype.compactMatches = function(D) {
6266
- D.sort(gt);
6264
+ D.sort(pt);
6267
6265
  for (var f = 0; f < D.length - 1; ) {
6268
6266
  var e = D[f], t = e.getOffset(), n = e.getMatchedText().length;
6269
6267
  if (f + 1 < D.length && D[f + 1].getOffset() === t) {
@@ -6292,7 +6290,7 @@ var ht = (
6292
6290
  }), D;
6293
6291
  }, u.prototype.parseText = function(D, f) {
6294
6292
  f = f || 0;
6295
- for (var e = Z3(D, {
6293
+ for (var e = G3(D, {
6296
6294
  tagBuilder: this.getTagBuilder(),
6297
6295
  stripPrefix: this.stripPrefix,
6298
6296
  stripTrailingSlash: this.stripTrailingSlash,
@@ -6317,37 +6315,37 @@ var ht = (
6317
6315
  return f;
6318
6316
  if (f === !1)
6319
6317
  return D.getMatchedText();
6320
- if (f instanceof O1)
6318
+ if (f instanceof N1)
6321
6319
  return f.toAnchorString();
6322
6320
  var e = D.buildTag();
6323
6321
  return e.toAnchorString();
6324
6322
  }, u.prototype.getTagBuilder = function() {
6325
6323
  var D = this.tagBuilder;
6326
- return D || (D = this.tagBuilder = new d3({
6324
+ return D || (D = this.tagBuilder = new i3({
6327
6325
  newWindow: this.newWindow,
6328
6326
  truncate: this.truncate,
6329
6327
  className: this.className
6330
6328
  })), D;
6331
- }, u.version = n3, u;
6329
+ }, u.version = e3, u;
6332
6330
  }()
6333
6331
  );
6334
- function bt(u) {
6332
+ function Et(u) {
6335
6333
  return u == null && (u = !0), wu(u) ? { schemeMatches: u, tldMatches: u, ipV4Matches: u } : {
6336
6334
  schemeMatches: wu(u.schemeMatches) ? u.schemeMatches : !0,
6337
6335
  tldMatches: wu(u.tldMatches) ? u.tldMatches : !0,
6338
6336
  ipV4Matches: wu(u.ipV4Matches) ? u.ipV4Matches : !0
6339
6337
  };
6340
6338
  }
6341
- function pt(u) {
6339
+ function ht(u) {
6342
6340
  return u == null && (u = !0), wu(u) ? { scheme: u, www: u } : {
6343
6341
  scheme: wu(u.scheme) ? u.scheme : !0,
6344
6342
  www: wu(u.www) ? u.www : !0
6345
6343
  };
6346
6344
  }
6347
- function Bt(u) {
6345
+ function bt(u) {
6348
6346
  return typeof u == "number" ? { length: u, location: "end" } : iu({ length: Number.POSITIVE_INFINITY, location: "end" }, u);
6349
6347
  }
6350
- function gt(u, D) {
6348
+ function pt(u, D) {
6351
6349
  return u.getOffset() - D.getOffset();
6352
6350
  }
6353
6351
  const Ju = [
@@ -6356,28 +6354,28 @@ const Ju = [
6356
6354
  { name: "New Zealand", countryCode: "+64", code: "NZ", flag: "🇳🇿" },
6357
6355
  { name: "United Kingdom", countryCode: "+44", code: "UK", flag: "🇬🇧" },
6358
6356
  { name: "Indonesia", countryCode: "+62", code: "ID", flag: "🇮🇩" }
6359
- ], mt = {
6357
+ ], Bt = {
6360
6358
  AU: /^(?:\+?(61))? ?(?:\((?=.*\))\))?(0?[4])\)? ?(\d\d(?:[- ](?=\d{3})|(?!\d\d[- ]?\d[- ]))\d\d[- ]?\d[- ]?\d{3})$/gm,
6361
6359
  US: /^(\+?1\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6362
6360
  UK: /^(\+?44\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6363
6361
  NZ: /^(\+?64\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6364
6362
  ID: /^(\+?62\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm
6365
- }, _t = {
6363
+ }, gt = {
6366
6364
  AU: "+61",
6367
6365
  US: "+1",
6368
6366
  NZ: "+64",
6369
6367
  UK: "+44",
6370
6368
  ID: "+62"
6371
- }, yt = (u) => u.toUpperCase(), vt = (u) => u.replace(/\s+/g, "").replace(/[^0-9+]/g, "");
6372
- function wt(u, D) {
6373
- const f = _t[u];
6369
+ }, mt = (u) => u.toUpperCase(), _t = (u) => u.replace(/\s+/g, "").replace(/[^0-9+]/g, "");
6370
+ function yt(u, D) {
6371
+ const f = gt[u];
6374
6372
  return D.startsWith(f) ? { cleanNumber: D.slice(f.length), countryCode: f } : { cleanNumber: D, countryCode: f };
6375
6373
  }
6376
- function At(u, D) {
6377
- const f = mt[u];
6374
+ function vt(u, D) {
6375
+ const f = Bt[u];
6378
6376
  return new RegExp(f.source, "mi").test(D);
6379
6377
  }
6380
- function xt({
6378
+ function wt({
6381
6379
  number: u,
6382
6380
  region: D,
6383
6381
  validateDuplicate: f,
@@ -6389,26 +6387,26 @@ function xt({
6389
6387
  cleanNumber: "",
6390
6388
  errorMessage: "",
6391
6389
  isValid: !1
6392
- }, n = yt(D);
6390
+ }, n = mt(D);
6393
6391
  if (!u)
6394
6392
  return t.errorMessage = "Number is empty", t;
6395
6393
  const r = u.trim();
6396
- let s = vt(u);
6394
+ let s = _t(u);
6397
6395
  s = s.startsWith("0") ? s.slice(1) : s;
6398
- const { cleanNumber: F, countryCode: d } = wt(
6396
+ const { cleanNumber: F, countryCode: d } = yt(
6399
6397
  n,
6400
6398
  s
6401
6399
  );
6402
6400
  s = F, t.fullNumber = `${d}${s}`, t.cleanNumber = s;
6403
6401
  try {
6404
- if (!At(n, r)) throw new Error("Please enter a valid phone number");
6402
+ if (!vt(n, r)) throw new Error("Please enter a valid phone number");
6405
6403
  t.isValid = !0;
6406
6404
  } catch (o) {
6407
6405
  t.errorMessage = o.message, t.isValid = !1;
6408
6406
  }
6409
6407
  return t;
6410
6408
  }
6411
- const V1 = ({
6409
+ const U1 = ({
6412
6410
  initialData: u,
6413
6411
  loadFromDataUserSubs: D = !1
6414
6412
  } = {}) => {
@@ -6437,7 +6435,7 @@ const V1 = ({
6437
6435
  if (!C.isRequired && _ && I === "")
6438
6436
  return "";
6439
6437
  if (m) {
6440
- const P = xt({
6438
+ const P = wt({
6441
6439
  number: m,
6442
6440
  region: B,
6443
6441
  validateDuplicate: !1,
@@ -6762,7 +6760,7 @@ const V1 = ({
6762
6760
  validateAll: y
6763
6761
  };
6764
6762
  };
6765
- function kt(u) {
6763
+ function At(u) {
6766
6764
  const D = {};
6767
6765
  return Object.entries(u).forEach(([f, e]) => {
6768
6766
  if (e) {
@@ -6775,13 +6773,13 @@ function kt(u) {
6775
6773
  }
6776
6774
  }), D;
6777
6775
  }
6778
- const jt = ({
6776
+ const xt = ({
6779
6777
  onSubmit: u,
6780
6778
  onFormStateChange: D
6781
6779
  }) => {
6782
6780
  const { colors: f } = ou(), e = Wu(), t = pu(), { socket: n } = Gu(), { setScreen: r } = Nu();
6783
6781
  zu();
6784
- const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = Cu(), { formData: j, renderContactFormField: y, errors: C, validateAll: v } = V1({
6782
+ const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = Cu(), { formData: j, renderContactFormField: y, errors: C, validateAll: v } = U1({
6785
6783
  initialData: {},
6786
6784
  loadFromDataUserSubs: !0
6787
6785
  }), [x, m] = U(!1), [T, _] = U(!1);
@@ -6798,7 +6796,7 @@ const jt = ({
6798
6796
  var h;
6799
6797
  E.isDisplay && j[E.key] !== void 0 && (O[E.key] = ((h = j[E.key]) == null ? void 0 : h.toString().trim()) || "");
6800
6798
  });
6801
- const $ = kt(O);
6799
+ const $ = At(O);
6802
6800
  if (!X.getItem("profileLiveChat"))
6803
6801
  try {
6804
6802
  const E = new URLSearchParams();
@@ -6908,7 +6906,7 @@ const jt = ({
6908
6906
  ] }) })
6909
6907
  }
6910
6908
  );
6911
- }, St = ({
6909
+ }, kt = ({
6912
6910
  message: u,
6913
6911
  onFormSubmitted: D
6914
6912
  }) => {
@@ -6919,7 +6917,7 @@ const jt = ({
6919
6917
  const n = () => {
6920
6918
  if (u.direction === uu.received && t.current) {
6921
6919
  const F = t.current.innerText;
6922
- let d = ht.link(F, {
6920
+ let d = lt.link(F, {
6923
6921
  className: "chatLink",
6924
6922
  truncate: { length: 50, location: "smart" }
6925
6923
  });
@@ -6930,7 +6928,7 @@ const jt = ({
6930
6928
  throw new Error("Unable to find text.");
6931
6929
  const r = f[u.direction || uu.received];
6932
6930
  return "isShowForm" in u.data && u.data.isShowForm ? /* @__PURE__ */ a.jsx(
6933
- jt,
6931
+ xt,
6934
6932
  {
6935
6933
  onFormStateChange: (F) => {
6936
6934
  e(F), !F && D && D(!0);
@@ -6947,7 +6945,7 @@ const jt = ({
6947
6945
  children: /* @__PURE__ */ a.jsx("p", { className: "sc-message--text-content", ref: t, children: u.data.text })
6948
6946
  }
6949
6947
  ) });
6950
- }, Gf = ({
6948
+ }, Kf = ({
6951
6949
  viewBox: u = "0 0 24 24",
6952
6950
  fill: D = "none",
6953
6951
  stroke: f = "",
@@ -6968,13 +6966,13 @@ const jt = ({
6968
6966
  ...r,
6969
6967
  children: /* @__PURE__ */ a.jsx("path", { d: "M20 6L9 17l-5-5" })
6970
6968
  }
6971
- ), Tt = ({ message: u }) => {
6969
+ ), jt = ({ message: u }) => {
6972
6970
  const { colors: D } = ou();
6973
6971
  if (!("delivery" in u && "read" in u))
6974
6972
  throw new Error("Unable to find delivery/read attributes");
6975
6973
  return /* @__PURE__ */ a.jsxs("div", { className: "sc--status", style: { color: D.messageStatus.bg }, children: [
6976
6974
  u.read && /* @__PURE__ */ a.jsx("div", { className: "sc--status-wrapper sc--status-read", title: "Read", children: /* @__PURE__ */ a.jsx(
6977
- Gf,
6975
+ Kf,
6978
6976
  {
6979
6977
  width: "16px",
6980
6978
  height: "16px",
@@ -6988,7 +6986,7 @@ const jt = ({
6988
6986
  className: "sc--status-wrapper sc--status-delivery",
6989
6987
  title: "Delivered",
6990
6988
  children: /* @__PURE__ */ a.jsx(
6991
- Gf,
6989
+ Kf,
6992
6990
  {
6993
6991
  width: "16px",
6994
6992
  height: "16px",
@@ -7000,15 +6998,15 @@ const jt = ({
7000
6998
  )
7001
6999
  ] });
7002
7000
  };
7003
- S1.extend(Ye);
7004
- const Nt = ({ message: u, Avatar: D }) => {
7001
+ j1.extend(He);
7002
+ const St = ({ message: u, Avatar: D }) => {
7005
7003
  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(
7006
7004
  (j) => j.id === u.author
7007
7005
  ) || {
7008
7006
  name: "Anon"
7009
7007
  }, c = () => {
7010
7008
  n(!t);
7011
- }, l = (j) => S1(j).fromNow();
7009
+ }, l = (j) => j1(j).fromNow();
7012
7010
  return /* @__PURE__ */ a.jsx("div", { className: `sc-message ${u.direction}`, children: /* @__PURE__ */ a.jsxs("div", { className: `sc-message--content ${u.direction}`, children: [
7013
7011
  (!r || !d) && /* @__PURE__ */ a.jsx(
7014
7012
  "div",
@@ -7026,24 +7024,24 @@ const Nt = ({ message: u, Avatar: D }) => {
7026
7024
  height: 32,
7027
7025
  style: { borderRadius: "50%" }
7028
7026
  }
7029
- ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(N1, { width: "32px", height: "32px" })
7027
+ ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(T1, { width: "32px", height: "32px" })
7030
7028
  }
7031
7029
  ),
7032
7030
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--wrapper", onClick: c, children: [
7033
7031
  u.data && "text" in u.data && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
7034
- St,
7032
+ kt,
7035
7033
  {
7036
7034
  message: u,
7037
7035
  onFormSubmitted: s
7038
7036
  }
7039
7037
  ) }),
7040
- u.type === "file" && /* @__PURE__ */ a.jsx(u3, { message: u }),
7041
- u.type === "location" && /* @__PURE__ */ a.jsx(D3, { message: u }),
7042
- u.type === "list" && /* @__PURE__ */ a.jsx(f3, { messageList: u }),
7043
- u.type === "carousel" && /* @__PURE__ */ a.jsx(Ze, { messageCarousel: u }),
7038
+ u.type === "file" && /* @__PURE__ */ a.jsx(Ze, { message: u }),
7039
+ u.type === "location" && /* @__PURE__ */ a.jsx(Qe, { message: u }),
7040
+ u.type === "list" && /* @__PURE__ */ a.jsx(u3, { messageList: u }),
7041
+ u.type === "carousel" && /* @__PURE__ */ a.jsx(Ge, { messageCarousel: u }),
7044
7042
  u.type === "buttons" && /* @__PURE__ */ a.jsx(vD, { message: u }),
7045
7043
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--meta", children: [
7046
- u.direction === "sent" && /* @__PURE__ */ a.jsx(Tt, { message: u }),
7044
+ u.direction === "sent" && /* @__PURE__ */ a.jsx(jt, { message: u }),
7047
7045
  /* @__PURE__ */ a.jsx(
7048
7046
  "div",
7049
7047
  {
@@ -7055,7 +7053,7 @@ const Nt = ({ message: u, Avatar: D }) => {
7055
7053
  ] })
7056
7054
  ] })
7057
7055
  ] }) });
7058
- }, Ot = () => {
7056
+ }, Tt = () => {
7059
7057
  const { colors: u } = ou();
7060
7058
  return /* @__PURE__ */ a.jsxs(
7061
7059
  "div",
@@ -7072,7 +7070,7 @@ const Nt = ({ message: u, Avatar: D }) => {
7072
7070
  ]
7073
7071
  }
7074
7072
  );
7075
- }, Rt = ({
7073
+ }, Nt = ({
7076
7074
  Avatar: u,
7077
7075
  phone: D
7078
7076
  }) => {
@@ -7092,7 +7090,7 @@ const Nt = ({ message: u, Avatar: D }) => {
7092
7090
  style: r.imageUrl ? {
7093
7091
  backgroundImage: `url(${r.imageUrl}?color=${encodeURIComponent(e.header.bg)})`
7094
7092
  } : void 0,
7095
- children: u ? /* @__PURE__ */ a.jsx(u, {}) : r.imageUrl ? null : /* @__PURE__ */ a.jsx(N1, { width: "32px", height: "32px" })
7093
+ children: u ? /* @__PURE__ */ a.jsx(u, {}) : r.imageUrl ? null : /* @__PURE__ */ a.jsx(T1, { width: "32px", height: "32px" })
7096
7094
  }
7097
7095
  ),
7098
7096
  /* @__PURE__ */ a.jsx("div", { className: "sc-message--wrapper", children: /* @__PURE__ */ a.jsxs(
@@ -7120,7 +7118,7 @@ const Nt = ({ message: u, Avatar: D }) => {
7120
7118
  }
7121
7119
  ) })
7122
7120
  ] }) });
7123
- }, Pt = ({ Avatar: u }) => {
7121
+ }, Ot = ({ Avatar: u }) => {
7124
7122
  const { scroll: D, setScroll: f, isOpen: e } = Nu(), { messages: t, showTypingIndicator: n, setNewIOMessage: r, setMessages: s } = Cu(), F = pu(), { colors: d } = ou(), { formSettings: o } = pu(), [c, l] = U(""), j = F.offline_mode, y = kD(j), C = (T) => {
7125
7123
  if (!("text" in T.data)) return !1;
7126
7124
  const _ = T.data.text || "", B = (g) => g.toLowerCase().replace(/\s+/g, "").replace(/[^a-z0-9_]/g, ""), I = _.split(`
@@ -7171,7 +7169,7 @@ const Nt = ({ message: u, Avatar: D }) => {
7171
7169
  direction: uu.received,
7172
7170
  read: !0,
7173
7171
  delivery: !0,
7174
- type: KD.text,
7172
+ type: YD.text,
7175
7173
  data: {
7176
7174
  text: "Enter your information, and our team will text you shortly.",
7177
7175
  isOffline: !0,
@@ -7187,7 +7185,7 @@ const Nt = ({ message: u, Avatar: D }) => {
7187
7185
  direction: uu.received,
7188
7186
  read: !0,
7189
7187
  delivery: !0,
7190
- type: KD.text,
7188
+ type: YD.text,
7191
7189
  data: {
7192
7190
  text: "Show Form",
7193
7191
  isOffline: !0,
@@ -7219,16 +7217,16 @@ const Nt = ({ message: u, Avatar: D }) => {
7219
7217
  ref: v,
7220
7218
  style: { backgroundColor: d.messageList.bg },
7221
7219
  children: [
7222
- t.map((T) => /* @__PURE__ */ a.jsxs(sf.Fragment, { children: [
7223
- /* @__PURE__ */ a.jsx(Nt, { message: T, Avatar: u }),
7224
- C(T) && y && /* @__PURE__ */ a.jsx(Rt, { phone: c })
7220
+ t.map((T) => /* @__PURE__ */ a.jsxs(af.Fragment, { children: [
7221
+ /* @__PURE__ */ a.jsx(St, { message: T, Avatar: u }),
7222
+ C(T) && y && /* @__PURE__ */ a.jsx(Nt, { phone: c })
7225
7223
  ] }, T.mid)),
7226
- n && /* @__PURE__ */ a.jsx(Ot, {})
7224
+ n && /* @__PURE__ */ a.jsx(Tt, {})
7227
7225
  ]
7228
7226
  }
7229
7227
  );
7230
7228
  };
7231
- var rf = { exports: {} };
7229
+ var nf = { exports: {} };
7232
7230
  (function(u, D) {
7233
7231
  (function() {
7234
7232
  var f = this, e = f.EmojiConvertor, t = function() {
@@ -9817,9 +9815,9 @@ var rf = { exports: {} };
9817
9815
  }).call(/* @__PURE__ */ function() {
9818
9816
  return this || (typeof window < "u" ? window : dD);
9819
9817
  }());
9820
- })(rf, rf.exports);
9821
- var It = rf.exports;
9822
- const Lt = /* @__PURE__ */ Ff(It), $t = [
9818
+ })(nf, nf.exports);
9819
+ var Rt = nf.exports;
9820
+ const Pt = /* @__PURE__ */ sf(Rt), It = [
9823
9821
  {
9824
9822
  name: "People",
9825
9823
  emojis: [
@@ -10473,8 +10471,8 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10473
10471
  "🔹"
10474
10472
  ]
10475
10473
  }
10476
- ], Mt = ({ onBlur: u, onSelect: D }) => {
10477
- const f = mu(new Lt()), e = mu(null);
10474
+ ], Lt = ({ onBlur: u, onSelect: D }) => {
10475
+ const f = mu(new Pt()), e = mu(null);
10478
10476
  Z(() => {
10479
10477
  const n = e.current;
10480
10478
  n && (n.style.opacity = "0", window.requestAnimationFrame(() => {
@@ -10484,7 +10482,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10484
10482
  const t = (n, r) => {
10485
10483
  D(n, r), e.current && e.current.blur();
10486
10484
  };
10487
- 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: [
10485
+ 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: It.map((n) => /* @__PURE__ */ a.jsxs("div", { className: "sc-emoji-picker--category", children: [
10488
10486
  /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--category-title", children: n.name }),
10489
10487
  n.emojis.map((r) => /* @__PURE__ */ a.jsx(
10490
10488
  "span",
@@ -10496,7 +10494,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10496
10494
  r
10497
10495
  ))
10498
10496
  ] }, n.name)) }) });
10499
- }, qt = ({
10497
+ }, $t = ({
10500
10498
  x: u = "0",
10501
10499
  y: D = "0",
10502
10500
  className: f = "sc-user-input--emoji-icon",
@@ -10519,7 +10517,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10519
10517
  /* @__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" })
10520
10518
  ]
10521
10519
  }
10522
- ), zt = ({ inputRef: u, onInput: D }) => {
10520
+ ), Mt = ({ inputRef: u, onInput: D }) => {
10523
10521
  const [f, e] = U(!1), t = mu(null), n = () => {
10524
10522
  e(!f);
10525
10523
  }, r = (d) => {
@@ -10535,7 +10533,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10535
10533
  }
10536
10534
  };
10537
10535
  return /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--picker-wrapper", children: [
10538
- f && /* @__PURE__ */ a.jsx(Mt, { onBlur: r, onSelect: s }),
10536
+ f && /* @__PURE__ */ a.jsx(Lt, { onBlur: r, onSelect: s }),
10539
10537
  /* @__PURE__ */ a.jsx(
10540
10538
  "button",
10541
10539
  {
@@ -10545,11 +10543,11 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10545
10543
  id: "sc-emoji-button",
10546
10544
  className: "sc-user-input--emoji-icon-wrapper",
10547
10545
  ref: t,
10548
- children: /* @__PURE__ */ a.jsx(qt, {})
10546
+ children: /* @__PURE__ */ a.jsx($t, {})
10549
10547
  }
10550
10548
  )
10551
10549
  ] });
10552
- }, Ut = {
10550
+ }, qt = {
10553
10551
  images: ["image/jpeg", "image/png", "image/webp", "image/bmp"],
10554
10552
  videos: [
10555
10553
  "video/mp4",
@@ -10595,7 +10593,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10595
10593
  "application/json",
10596
10594
  "text/csv"
10597
10595
  ]
10598
- }, H1 = ({
10596
+ }, V1 = ({
10599
10597
  x: u = "0",
10600
10598
  y: D = "0",
10601
10599
  className: f = "sc-user-input--file-icon",
@@ -10615,17 +10613,17 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10615
10613
  " "
10616
10614
  ]
10617
10615
  }
10618
- ), Vt = () => {
10616
+ ), zt = () => {
10619
10617
  const { setFile: u } = Cu(), D = (t) => {
10620
10618
  t.target.value = "";
10621
10619
  }, f = (t) => {
10622
10620
  t.target.files && t.target.files[0] && u && u(t.target.files[0]);
10623
- }, e = C0(
10624
- () => Object.values(Ut).flat().join(","),
10621
+ }, e = d0(
10622
+ () => Object.values(qt).flat().join(","),
10625
10623
  []
10626
10624
  );
10627
10625
  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: [
10628
- /* @__PURE__ */ a.jsx(H1, {}),
10626
+ /* @__PURE__ */ a.jsx(V1, {}),
10629
10627
  /* @__PURE__ */ a.jsx(
10630
10628
  "input",
10631
10629
  {
@@ -10637,7 +10635,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10637
10635
  }
10638
10636
  )
10639
10637
  ] }) });
10640
- }, Ht = ({
10638
+ }, Ut = ({
10641
10639
  x: u = "0",
10642
10640
  y: D = "0",
10643
10641
  className: f = "sc-user-input--location-icon",
@@ -10656,7 +10654,7 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10656
10654
  ...n,
10657
10655
  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" })
10658
10656
  }
10659
- ), Wt = () => {
10657
+ ), Vt = () => {
10660
10658
  const { setPayload: u, send: D } = Cu(), f = pu(), e = (t) => {
10661
10659
  navigator.geolocation ? navigator.geolocation.getCurrentPosition(
10662
10660
  (n) => {
@@ -10690,12 +10688,12 @@ const Lt = /* @__PURE__ */ Ff(It), $t = [
10690
10688
  onClick: e,
10691
10689
  type: "button",
10692
10690
  className: "sc-user-input--location-icon-wrapper",
10693
- children: /* @__PURE__ */ a.jsx(Ht, {})
10691
+ children: /* @__PURE__ */ a.jsx(Ut, {})
10694
10692
  }
10695
10693
  ) });
10696
10694
  };
10697
- var af = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(af || {});
10698
- const Yt = ({ item: u, onPostback: D }) => {
10695
+ var rf = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(rf || {});
10696
+ const Ht = ({ item: u, onPostback: D }) => {
10699
10697
  const { colors: f } = ou(), e = () => {
10700
10698
  switch (u.type) {
10701
10699
  case "web_url":
@@ -10716,16 +10714,16 @@ const Yt = ({ item: u, onPostback: D }) => {
10716
10714
  children: /* @__PURE__ */ a.jsx("span", { className: "sc-menu-item-text", children: u.title })
10717
10715
  }
10718
10716
  ) });
10719
- }, Kt = () => {
10717
+ }, Wt = () => {
10720
10718
  const u = pu(), { send: D, setPayload: f } = Cu(), [e, t] = U({
10721
10719
  title: "Menu",
10722
- type: af.nested,
10720
+ type: rf.nested,
10723
10721
  call_to_actions: (u == null ? void 0 : u.menu) || []
10724
10722
  }), n = mu(null);
10725
10723
  Z(() => {
10726
10724
  t({
10727
10725
  title: "Menu",
10728
- type: af.nested,
10726
+ type: rf.nested,
10729
10727
  call_to_actions: (u == null ? void 0 : u.menu) || []
10730
10728
  });
10731
10729
  }, [u]);
@@ -10753,7 +10751,7 @@ const Yt = ({ item: u, onPostback: D }) => {
10753
10751
  ref: n,
10754
10752
  className: "sc-menu-elements-carousel sc-menu-always-visible",
10755
10753
  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(
10756
- Yt,
10754
+ Ht,
10757
10755
  {
10758
10756
  item: F,
10759
10757
  parent: e,
@@ -10763,13 +10761,13 @@ const Yt = ({ item: u, onPostback: D }) => {
10763
10761
  ) }, d)) })
10764
10762
  }
10765
10763
  ) });
10766
- }, Jt = ({
10764
+ }, Yt = ({
10767
10765
  viewBox: u = "0 0 48 48",
10768
10766
  ...D
10769
10767
  }) => /* @__PURE__ */ a.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: [
10770
10768
  /* @__PURE__ */ a.jsx("path", { d: "M4.02 42L46 24 4.02 6 4 20l30 4-30 4z" }),
10771
10769
  /* @__PURE__ */ a.jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
10772
- ] }), Gt = (u) => {
10770
+ ] }), Kt = (u) => {
10773
10771
  const { onClick: D, ...f } = u;
10774
10772
  return /* @__PURE__ */ a.jsx(
10775
10773
  "button",
@@ -10777,10 +10775,10 @@ const Yt = ({ item: u, onPostback: D }) => {
10777
10775
  onClick: D,
10778
10776
  ...f,
10779
10777
  className: "sc-user-input--button-icon-wrapper",
10780
- children: /* @__PURE__ */ a.jsx(Jt, {})
10778
+ children: /* @__PURE__ */ a.jsx(Yt, {})
10781
10779
  }
10782
10780
  );
10783
- }, Xt = () => {
10781
+ }, Jt = () => {
10784
10782
  const { setPayload: u, send: D, suggestions: f } = Cu(), e = pu(), { colors: t } = ou(), n = (r, s) => {
10785
10783
  u(s), D({
10786
10784
  event: r,
@@ -10808,7 +10806,7 @@ const Yt = ({ item: u, onPostback: D }) => {
10808
10806
  ))
10809
10807
  }
10810
10808
  );
10811
- }, Zt = () => {
10809
+ }, Gt = () => {
10812
10810
  var J;
10813
10811
  const { maxUploadSize: u } = Wu(), { t: D } = zu(), { colors: f } = ou(), {
10814
10812
  suggestions: e,
@@ -10889,9 +10887,9 @@ const Yt = ({ item: u, onPostback: D }) => {
10889
10887
  (z = B.current) == null || z.focus();
10890
10888
  }, R = d === iD.uploading, N = X.getItem("profileLiveChat") || {}, M = X.getItem("isOffline") || (N == null ? void 0 : N.isOffline), V = ((J = N == null ? void 0 : N.channel) == null ? void 0 : J.name) === "console-channel";
10891
10889
  return (M || !(N != null && N.id)) && !V ? null : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10892
- j.length > 0 && /* @__PURE__ */ a.jsx(Kt, {}),
10890
+ j.length > 0 && /* @__PURE__ */ a.jsx(Wt, {}),
10893
10891
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input-wrapper", children: [
10894
- e.length > 0 && /* @__PURE__ */ a.jsx(Xt, {}),
10892
+ e.length > 0 && /* @__PURE__ */ a.jsx(Jt, {}),
10895
10893
  (r || R) && /* @__PURE__ */ a.jsxs(
10896
10894
  "div",
10897
10895
  {
@@ -10902,7 +10900,7 @@ const Yt = ({ item: u, onPostback: D }) => {
10902
10900
  },
10903
10901
  children: [
10904
10902
  /* @__PURE__ */ a.jsx(
10905
- H1,
10903
+ V1,
10906
10904
  {
10907
10905
  width: "16px",
10908
10906
  height: "16px",
@@ -10912,7 +10910,7 @@ const Yt = ({ item: u, onPostback: D }) => {
10912
10910
  I && /* @__PURE__ */ a.jsx("span", { children: I }),
10913
10911
  R && /* @__PURE__ */ a.jsx("span", { children: "Loading..." }),
10914
10912
  r && r.name && !I && /* @__PURE__ */ a.jsx("span", { children: r.name.length > 23 ? `${r.name.substring(0, 23)}...` : r.name }),
10915
- /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: k, children: /* @__PURE__ */ a.jsx(hf, { height: "10" }) })
10913
+ /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: k, children: /* @__PURE__ */ a.jsx(Ef, { height: "10" }) })
10916
10914
  ]
10917
10915
  }
10918
10916
  ),
@@ -10955,11 +10953,11 @@ const Yt = ({ item: u, onPostback: D }) => {
10955
10953
  }
10956
10954
  ),
10957
10955
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--buttons", children: [
10958
- x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(zt, { inputRef: B, onInput: E }) }),
10959
- m && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Wt, {}) }),
10960
- T && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Vt, {}) }),
10956
+ x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Mt, { inputRef: B, onInput: E }) }),
10957
+ m && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Vt, {}) }),
10958
+ T && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(zt, {}) }),
10961
10959
  /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(
10962
- Gt,
10960
+ Kt,
10963
10961
  {
10964
10962
  disabled: !t,
10965
10963
  onClick: (z) => h(z)
@@ -10971,7 +10969,7 @@ const Yt = ({ item: u, onPostback: D }) => {
10971
10969
  )
10972
10970
  ] })
10973
10971
  ] });
10974
- }, Qt = ({
10972
+ }, Xt = ({
10975
10973
  width: u = "24",
10976
10974
  height: D = "24",
10977
10975
  fill: f = "none",
@@ -10996,7 +10994,7 @@ const Yt = ({ item: u, onPostback: D }) => {
10996
10994
  ...F,
10997
10995
  children: /* @__PURE__ */ a.jsx("path", { stroke: "#fff", strokeOpacity: "1", d: "M15 18L9 12 15 6" })
10998
10996
  }
10999
- ), u8 = () => {
10997
+ ), Zt = () => {
11000
10998
  const { t: u } = zu(), { colors: D } = ou(), { setWebviewUrl: f, webviewUrl: e } = Cu(), [t, n] = U(!1);
11001
10999
  Z(() => {
11002
11000
  n(!0);
@@ -11012,13 +11010,13 @@ const Yt = ({ item: u, onPostback: D }) => {
11012
11010
  className: "sc-webview--footer",
11013
11011
  style: { background: D.header.bg, color: D.header.text },
11014
11012
  children: /* @__PURE__ */ a.jsxs("h3", { className: "sc-webview--button", onClick: r, children: [
11015
- /* @__PURE__ */ a.jsx(Qt, { width: "16px", height: "16px" }),
11013
+ /* @__PURE__ */ a.jsx(Xt, { width: "16px", height: "16px" }),
11016
11014
  u("settings.back")
11017
11015
  ] })
11018
11016
  }
11019
11017
  )
11020
11018
  ] });
11021
- }, D8 = ({
11019
+ }, Qt = ({
11022
11020
  CustomHeader: u,
11023
11021
  CustomAvatar: D,
11024
11022
  PreChat: f,
@@ -11026,15 +11024,15 @@ const Yt = ({ item: u, onPostback: D }) => {
11026
11024
  }) => {
11027
11025
  const { connectionState: t } = Cu(), { screen: n, isOpen: r } = Nu();
11028
11026
  return /* @__PURE__ */ a.jsxs("div", { className: `sc-chat-window ${r ? "opened" : "closed"}`, children: [
11029
- /* @__PURE__ */ a.jsx($e, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
11027
+ /* @__PURE__ */ a.jsx(Le, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
11030
11028
  n === "prechat" && f && /* @__PURE__ */ a.jsx(f, {}),
11031
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Pt, { Avatar: D }),
11032
- n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(ze, {}),
11029
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Ot, { Avatar: D }),
11030
+ n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(qe, {}),
11033
11031
  n === "postchat" && e && /* @__PURE__ */ a.jsx(e, {}),
11034
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Zt, {}),
11035
- n === "webview" && /* @__PURE__ */ a.jsx(u8, {})
11032
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Gt, {}),
11033
+ n === "webview" && /* @__PURE__ */ a.jsx(Zt, {})
11036
11034
  ] });
11037
- }, W1 = ({
11035
+ }, H1 = ({
11038
11036
  CustomLauncher: u,
11039
11037
  CustomHeader: D,
11040
11038
  CustomAvatar: f,
@@ -11045,7 +11043,7 @@ const Yt = ({ item: u, onPostback: D }) => {
11045
11043
  const n = Wu(), r = Cu(), s = Nu(), { socket: F } = Gu(), { setScreen: d } = Nu(), o = pu(), c = o.offline_mode, l = kD(c), j = (C) => {
11046
11044
  C.preventDefault(), s.setIsOpen(!s.isOpen);
11047
11045
  };
11048
- return ke(), new URLSearchParams().append("owner_id", n.ownerId), Z(() => {
11046
+ return xe(), new URLSearchParams().append("owner_id", n.ownerId), Z(() => {
11049
11047
  if (!l && !X.getItem("profileLiveChat")) {
11050
11048
  d("prechat");
11051
11049
  return;
@@ -11071,20 +11069,20 @@ const Yt = ({ item: u, onPostback: D }) => {
11071
11069
  children: [
11072
11070
  r.newMessagesCount > 0 && !s.isOpen && /* @__PURE__ */ a.jsx("div", { className: "sc-new-messages-count", children: r.newMessagesCount }),
11073
11071
  s.isOpen ? /* @__PURE__ */ a.jsx(
11074
- hf,
11072
+ Ef,
11075
11073
  {
11076
11074
  className: "sc-closed-icon",
11077
11075
  width: "16px",
11078
11076
  height: "16px"
11079
11077
  }
11080
- ) : /* @__PURE__ */ a.jsx(k1, { className: "sc-open-icon" })
11078
+ ) : /* @__PURE__ */ a.jsx(A1, { className: "sc-open-icon" })
11081
11079
  ]
11082
11080
  }
11083
11081
  )
11084
11082
  }
11085
11083
  ),
11086
11084
  s.isOpen && /* @__PURE__ */ a.jsx(
11087
- D8,
11085
+ Qt,
11088
11086
  {
11089
11087
  CustomHeader: D,
11090
11088
  CustomAvatar: f,
@@ -11093,7 +11091,7 @@ const Yt = ({ item: u, onPostback: D }) => {
11093
11091
  }
11094
11092
  )
11095
11093
  ] });
11096
- }, Y1 = ({
11094
+ }, W1 = ({
11097
11095
  onFormDataSubmit: u
11098
11096
  }) => {
11099
11097
  const D = Wu(), { t: f } = zu(), { colors: e } = ou(), { socket: t } = Gu(), n = pu(), { setScreen: r } = Nu(), {
@@ -11102,7 +11100,7 @@ const Yt = ({ item: u, onPostback: D }) => {
11102
11100
  setConnectionState: d,
11103
11101
  participants: o,
11104
11102
  setParticipants: c
11105
- } = Cu(), { formData: l, setFormData: j, renderFormField: y, errors: C, validateAll: v } = V1({
11103
+ } = Cu(), { formData: l, setFormData: j, renderFormField: y, errors: C, validateAll: v } = U1({
11106
11104
  loadFromDataUserSubs: !1,
11107
11105
  initialData: {}
11108
11106
  }), x = n.offline_mode, m = kD(x);
@@ -11215,7 +11213,7 @@ const Yt = ({ item: u, onPostback: D }) => {
11215
11213
  ) })
11216
11214
  ] })
11217
11215
  ] }) });
11218
- }, f8 = qu({}), e8 = ({
11216
+ }, u8 = qu({}), D8 = ({
11219
11217
  children: u
11220
11218
  }) => {
11221
11219
  const D = Wu(), [f, e] = U(!1), t = async () => {
@@ -11229,33 +11227,33 @@ const Yt = ({ item: u, onPostback: D }) => {
11229
11227
  };
11230
11228
  return Z(() => {
11231
11229
  f || t();
11232
- }, []), f ? /* @__PURE__ */ a.jsx(f8.Provider, { value: {}, children: u }) : null;
11230
+ }, []), f ? /* @__PURE__ */ a.jsx(u8.Provider, { value: {}, children: u }) : null;
11233
11231
  };
11234
- function a8(u) {
11235
- return /* @__PURE__ */ a.jsx(e1, { ...u, children: /* @__PURE__ */ a.jsx(n1, { children: /* @__PURE__ */ a.jsx(e8, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(m1, { children: /* @__PURE__ */ a.jsx(x1, { children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(Qf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(W1, { PreChat: Y1 }) }) }) }) }) }) }) }) }) });
11232
+ function n8(u) {
11233
+ return /* @__PURE__ */ a.jsx(D1, { ...u, children: /* @__PURE__ */ a.jsx(e1, { children: /* @__PURE__ */ a.jsx(D8, { 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(H1, { PreChat: W1 }) }) }) }) }) }) }) }) }) });
11236
11234
  }
11237
- function s8({
11235
+ function r8({
11238
11236
  CustomHeader: u,
11239
11237
  CustomAvatar: D,
11240
11238
  config: f
11241
11239
  }) {
11242
- return /* @__PURE__ */ a.jsx(e1, { ...f, children: /* @__PURE__ */ a.jsx(n1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(m1, { children: /* @__PURE__ */ a.jsx(x1, { children: /* @__PURE__ */ a.jsx(Qf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(y1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11243
- w1,
11240
+ 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(
11241
+ y1,
11244
11242
  {
11245
11243
  defaultConnectionState: tD.connected,
11246
11244
  children: /* @__PURE__ */ a.jsx(
11247
- W1,
11245
+ H1,
11248
11246
  {
11249
11247
  CustomHeader: u,
11250
11248
  CustomAvatar: D,
11251
- PreChat: Y1
11249
+ PreChat: W1
11252
11250
  }
11253
11251
  )
11254
11252
  }
11255
11253
  ) }) }) }) }) }) }) });
11256
11254
  }
11257
11255
  export {
11258
- a8 as ChatWidget,
11256
+ n8 as ChatWidget,
11259
11257
  X as LocalStorageScoped,
11260
- s8 as UiChatWidget
11258
+ r8 as UiChatWidget
11261
11259
  };