@connorpham/live-chat-widget 17.0.10 → 17.0.11

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 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 gu, useEffect as Z, useContext as Hu, useState as U, useCallback as Mu, useMemo as d0 } from "react";
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 gu, useEffect as Z, useContext as Hu, useState as U, useCallback as Mu, useMemo as C0 } from "react";
5
5
  var dD = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function sf(u) {
6
+ function Ff(u) {
7
7
  return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
8
8
  }
9
- var HD = { exports: {} }, fD = {};
9
+ var WD = { exports: {} }, fD = {};
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
14
  */
15
- var PD, Nf;
16
- function Jf() {
17
- if (Nf) return PD;
18
- Nf = 1;
15
+ var PD, Of;
16
+ function Xf() {
17
+ if (Of) return PD;
18
+ Of = 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 Jf() {
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 Of;
70
- function C0() {
71
- if (Of) return fD;
72
- Of = 1, Jf();
73
- var u = af, D = 60103;
69
+ var Rf;
70
+ function c0() {
71
+ if (Rf) return fD;
72
+ Rf = 1, Xf();
73
+ var u = sf, D = 60103;
74
74
  if (fD.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
75
75
  var f = Symbol.for;
76
76
  D = f("react.element"), fD.Fragment = f("react.fragment");
@@ -85,9 +85,9 @@ function C0() {
85
85
  }
86
86
  return fD.jsx = r, fD.jsxs = r, fD;
87
87
  }
88
- var ID = {}, Rf;
89
- function c0() {
90
- return Rf || (Rf = 1, function(u) {
88
+ var ID = {}, Pf;
89
+ function l0() {
90
+ return Pf || (Pf = 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 c0() {
98
98
  * LICENSE file in the root directory of this source tree.
99
99
  */
100
100
  D.NODE_ENV !== "production" && function() {
101
- var f = af, e = Jf(), t = 60103, n = 60106;
101
+ var f = sf, e = Xf(), 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, v = 60116, C = 60121, y = 60122, x = 60117, g = 60129, T = 60131;
104
104
  if (typeof Symbol == "function" && Symbol.for) {
@@ -336,8 +336,8 @@ function c0() {
336
336
  } finally {
337
337
  ru = !1, Cu.current = K, tu(), Error.prepareStackTrace = G;
338
338
  }
339
- var DD = i ? i.displayName || i.name : "", Tf = DD ? Bu(DD) : "";
340
- return typeof i == "function" && ou.set(i, Tf), Tf;
339
+ var DD = i ? i.displayName || i.name : "", Nf = DD ? Bu(DD) : "";
340
+ return typeof i == "function" && ou.set(i, Nf), Nf;
341
341
  }
342
342
  function S(i, b, w) {
343
343
  return Iu(i, !1);
@@ -385,7 +385,7 @@ function c0() {
385
385
  } else
386
386
  mu.setExtraStackFrame(null);
387
387
  }
388
- function Y1(i, b, w, $, G) {
388
+ function K1(i, b, w, $, 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 c0() {
404
404
  }
405
405
  }
406
406
  }
407
- var _f = q.ReactCurrentOwner, TD = Object.prototype.hasOwnProperty, K1 = {
407
+ var yf = q.ReactCurrentOwner, TD = Object.prototype.hasOwnProperty, J1 = {
408
408
  key: !0,
409
409
  ref: !0,
410
410
  __self: !0,
411
411
  __source: !0
412
- }, yf, vf;
413
- function J1(i) {
412
+ }, vf, wf;
413
+ function G1(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 c0() {
418
418
  }
419
419
  return i.ref !== void 0;
420
420
  }
421
- function G1(i) {
421
+ function X1(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 c0() {
426
426
  }
427
427
  return i.key !== void 0;
428
428
  }
429
- function X1(i, b) {
430
- typeof i.ref == "string" && _f.current;
431
- }
432
429
  function Z1(i, b) {
430
+ typeof i.ref == "string" && yf.current;
431
+ }
432
+ function Q1(i, b) {
433
433
  {
434
434
  var w = function() {
435
- yf || (yf = !0, m("%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
+ vf || (vf = !0, m("%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 c0() {
440
440
  });
441
441
  }
442
442
  }
443
- function Q1(i, b) {
443
+ function u0(i, b) {
444
444
  {
445
445
  var w = function() {
446
- vf || (vf = !0, m("%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
+ wf || (wf = !0, m("%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 c0() {
451
451
  });
452
452
  }
453
453
  }
454
- var u0 = function(i, b, w, $, G, K, Y) {
454
+ var D0 = function(i, b, w, $, 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 c0() {
480
480
  value: G
481
481
  }), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
482
482
  };
483
- function D0(i, b, w, $, G) {
483
+ function f0(i, b, w, $, G) {
484
484
  {
485
485
  var K, Y = {}, H = null, bu = null;
486
- w !== void 0 && (H = "" + w), G1(b) && (H = "" + b.key), J1(b) && (bu = b.ref, X1(b, G));
486
+ w !== void 0 && (H = "" + w), X1(b) && (H = "" + b.key), G1(b) && (bu = b.ref, Z1(b, G));
487
487
  for (K in b)
488
- TD.call(b, K) && !K1.hasOwnProperty(K) && (Y[K] = b[K]);
488
+ TD.call(b, K) && !J1.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 c0() {
493
493
  }
494
494
  if (H || bu) {
495
495
  var au = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
496
- H && Z1(Y, au), bu && Q1(Y, au);
496
+ H && Q1(Y, au), bu && u0(Y, au);
497
497
  }
498
- return u0(i, H, bu, G, $, _f.current, Y);
498
+ return D0(i, H, bu, G, $, yf.current, Y);
499
499
  }
500
500
  }
501
- var ND = q.ReactCurrentOwner, wf = q.ReactDebugCurrentFrame;
501
+ var ND = q.ReactCurrentOwner, Af = q.ReactDebugCurrentFrame;
502
502
  function uD(i) {
503
503
  if (i) {
504
504
  var b = i._owner, w = cu(i.type, i._source, b ? b.type : null);
505
- wf.setExtraStackFrame(w);
505
+ Af.setExtraStackFrame(w);
506
506
  } else
507
- wf.setExtraStackFrame(null);
507
+ Af.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 Af() {
514
+ function xf() {
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 f0(i) {
526
+ function e0(i) {
527
527
  return "";
528
528
  }
529
- var xf = {};
530
- function e0(i) {
529
+ var kf = {};
530
+ function t0(i) {
531
531
  {
532
- var b = Af();
532
+ var b = xf();
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 kf(i, b) {
542
+ function jf(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 = e0(b);
548
- if (xf[w])
547
+ var w = t0(b);
548
+ if (kf[w])
549
549
  return;
550
- xf[w] = !0;
550
+ kf[w] = !0;
551
551
  var $ = "";
552
552
  i && i._owner && i._owner !== ND.current && ($ = " It was passed a child from " + E(i._owner.type) + "."), uD(i), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, $), uD(null);
553
553
  }
554
554
  }
555
- function jf(i, b) {
555
+ function Sf(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 $ = i[w];
562
- RD($) && kf($, b);
562
+ RD($) && jf($, 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) && kf(Y.value, b);
570
+ RD(Y.value) && jf(Y.value, b);
571
571
  }
572
572
  }
573
573
  }
574
- function t0(i) {
574
+ function n0(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 $ = E(b);
590
- Y1(w, i.props, "prop", $, i);
590
+ K1(w, i.props, "prop", $, 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 && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
597
  }
598
598
  }
599
- function n0(i) {
599
+ function r0(i) {
600
600
  {
601
601
  for (var b = Object.keys(i.props), w = 0; w < b.length; w++) {
602
602
  var $ = b[w];
@@ -608,18 +608,18 @@ Check the top-level render call using <` + w + ">.");
608
608
  i.ref !== null && (uD(i), m("Invalid attribute `ref` supplied to `React.Fragment`."), uD(null));
609
609
  }
610
610
  }
611
- function Sf(i, b, w, $, G, K) {
611
+ function Tf(i, b, w, $, 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 = f0();
618
- bu ? H += bu : H += Af();
617
+ var bu = e0();
618
+ bu ? H += bu : H += xf();
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, m("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 au = D0(i, b, w, G, K);
622
+ var au = f0(i, b, w, G, K);
623
623
  if (au == null)
624
624
  return au;
625
625
  if (Y) {
@@ -628,31 +628,31 @@ Check the top-level render call using <` + w + ">.");
628
628
  if ($)
629
629
  if (Array.isArray($u)) {
630
630
  for (var DD = 0; DD < $u.length; DD++)
631
- jf($u[DD], i);
631
+ Sf($u[DD], i);
632
632
  Object.freeze && Object.freeze($u);
633
633
  } else
634
634
  m("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
- jf($u, i);
636
+ Sf($u, i);
637
637
  }
638
- return i === u.Fragment ? n0(au) : t0(au), au;
638
+ return i === u.Fragment ? r0(au) : n0(au), au;
639
639
  }
640
640
  }
641
- function r0(i, b, w) {
642
- return Sf(i, b, w, !0);
643
- }
644
641
  function a0(i, b, w) {
645
- return Sf(i, b, w, !1);
642
+ return Tf(i, b, w, !0);
643
+ }
644
+ function s0(i, b, w) {
645
+ return Tf(i, b, w, !1);
646
646
  }
647
- var s0 = a0, F0 = r0;
648
- u.jsx = s0, u.jsxs = F0;
647
+ var F0 = s0, i0 = a0;
648
+ u.jsx = F0, u.jsxs = i0;
649
649
  }();
650
650
  }(ID)), ID;
651
651
  }
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 = ({
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 = ({
656
656
  children: u,
657
657
  channelName: D
658
658
  }) => {
@@ -677,7 +677,7 @@ const Gf = qu(void 0), Xf = ({
677
677
  f.current.postMessage(r);
678
678
  };
679
679
  return /* @__PURE__ */ a.jsx(
680
- Gf.Provider,
680
+ Zf.Provider,
681
681
  {
682
682
  value: {
683
683
  subscribe: t,
@@ -686,53 +686,53 @@ const Gf = qu(void 0), Xf = ({
686
686
  children: u
687
687
  }
688
688
  );
689
- }, E0 = () => {
690
- const u = Hu(Gf);
689
+ }, h0 = () => {
690
+ const u = Hu(Zf);
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
- }, h0 = (...u) => {
697
- const { subscribe: D } = E0();
696
+ }, b0 = (...u) => {
697
+ const { subscribe: D } = h0();
698
698
  Z(() => {
699
699
  D(...u);
700
700
  }, [D, ...u]);
701
701
  };
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 || {}), eD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(eD || {}), aD = {};
703
- const Qf = {
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 || {}), eD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(eD || {}), aD = {};
703
+ const D1 = {
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
- }, u1 = qu(Qf), D1 = ({ children: u, ...D }) => {
710
+ }, f1 = qu(D1), e1 = ({ children: u, ...D }) => {
711
711
  const f = gu({
712
- ...Qf,
712
+ ...D1,
713
713
  ...D
714
714
  });
715
- return /* @__PURE__ */ a.jsx(u1.Provider, { value: f.current, children: u });
715
+ return /* @__PURE__ */ a.jsx(f1.Provider, { value: f.current, children: u });
716
716
  }, Wu = () => {
717
- const u = Hu(u1);
717
+ const u = Hu(f1);
718
718
  if (!u)
719
719
  throw new Error("useConfig must be used within a ConfigProvider");
720
720
  return u;
721
- }, b0 = {
721
+ }, p0 = {
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
- }, p0 = {
727
+ }, B0 = {
728
728
  greeting: "Welcome !",
729
729
  placeholder: "Write something...",
730
730
  connection_lost: "Connection Lost",
731
731
  back: "Back"
732
- }, B0 = {
732
+ }, m0 = {
733
733
  help_prompt: "We’re here if you need help",
734
734
  dismiss: "Dismiss"
735
- }, m0 = {
735
+ }, g0 = {
736
736
  get_started: "Start Chat",
737
737
  file_message: {
738
738
  browser_audio_unsupport: "Browser does not support the audio element.",
@@ -741,23 +741,23 @@ const Qf = {
741
741
  unsupported_file_type: "This file type is not supported.",
742
742
  unsupported_file_size: "This file size is not supported."
743
743
  }
744
- }, g0 = {
745
- user_subscription: b0,
746
- settings: p0,
747
- launcher: B0,
748
- messages: m0
749
744
  }, _0 = {
745
+ user_subscription: p0,
746
+ settings: B0,
747
+ launcher: m0,
748
+ messages: g0
749
+ }, y0 = {
750
750
  get_started: "Commencer",
751
751
  first_name: "Prénom",
752
752
  last_name: "Nom",
753
753
  phone: "Numéro de Téléphone",
754
754
  email: "Adresse Email"
755
- }, y0 = {
755
+ }, v0 = {
756
756
  greeting: "Bienvenue !",
757
757
  placeholder: "Écrivez quelque chose...",
758
758
  connection_lost: "Connexion perdue",
759
759
  back: "Retour"
760
- }, v0 = {
760
+ }, w0 = {
761
761
  get_started: "Démarrer",
762
762
  file_message: {
763
763
  browser_audio_unsupport: "Le navigateur ne prend pas en charge l'élément audio.",
@@ -766,55 +766,55 @@ const Qf = {
766
766
  unsupported_file_type: "Ce type de fichier n'est pas pris en charge.",
767
767
  unsupported_file_size: "Cette taille de fichier n'est pas prise en charge."
768
768
  }
769
- }, w0 = {
770
- user_subscription: _0,
771
- settings: y0,
772
- messages: v0
773
- }, Pf = { en: g0, fr: w0 }, f1 = qu(
769
+ }, A0 = {
770
+ user_subscription: y0,
771
+ settings: v0,
772
+ messages: w0
773
+ }, If = { en: _0, fr: A0 }, t1 = qu(
774
774
  void 0
775
- ), e1 = ({
775
+ ), n1 = ({
776
776
  children: u
777
777
  }) => {
778
- const f = Wu().language, e = (r) => r in Pf, [t, n] = U(
778
+ const f = Wu().language, e = (r) => r in If, [t, n] = U(
779
779
  e(f) ? f : "en"
780
780
  );
781
781
  return /* @__PURE__ */ a.jsx(
782
- f1.Provider,
782
+ t1.Provider,
783
783
  {
784
- value: { translations: Pf, language: t, setLanguage: n },
784
+ value: { translations: If, language: t, setLanguage: n },
785
785
  children: u
786
786
  }
787
787
  );
788
- }, A0 = () => {
789
- const u = Hu(f1);
788
+ }, x0 = () => {
789
+ const u = Hu(t1);
790
790
  if (!u)
791
791
  throw new Error(
792
792
  "useTranslationContext must be used within a TranslationProvider"
793
793
  );
794
794
  return u;
795
- }, x0 = (u, D) => D.split(".").reduce((f, e) => {
795
+ }, k0 = (u, D) => D.split(".").reduce((f, e) => {
796
796
  if (typeof f == "object" && f !== null)
797
797
  return f[e];
798
798
  }, u), zu = () => {
799
- const { translations: u, language: D } = A0();
799
+ const { translations: u, language: D } = x0();
800
800
  return { t: Mu(
801
- (e, t = {}) => (x0(u[D], e) || e).replace(
801
+ (e, t = {}) => (k0(u[D], e) || e).replace(
802
802
  /{(\w+)}/g,
803
803
  (r, s) => t[s] || `{${s}}`
804
804
  ),
805
805
  [D, u]
806
806
  ) };
807
807
  };
808
- function k0(u, D) {
808
+ function j0(u, D) {
809
809
  if (typeof D > "u")
810
810
  throw new Error("Value cannot be undefined");
811
811
  return sessionStorage.setItem(u, JSON.stringify(D)), !0;
812
812
  }
813
- function j0(u) {
813
+ function S0(u) {
814
814
  const D = sessionStorage.getItem(u);
815
815
  return D === null ? null : JSON.parse(D);
816
816
  }
817
- const If = { setItem: k0, getItem: j0 }, Tu = /* @__PURE__ */ Object.create(null);
817
+ const $f = { setItem: j0, getItem: S0 }, Tu = /* @__PURE__ */ Object.create(null);
818
818
  Tu.open = "0";
819
819
  Tu.close = "1";
820
820
  Tu.ping = "2";
@@ -826,59 +826,59 @@ const pD = /* @__PURE__ */ Object.create(null);
826
826
  Object.keys(Tu).forEach((u) => {
827
827
  pD[Tu[u]] = u;
828
828
  });
829
- 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) : $f(D, e) : n1 && (D instanceof ArrayBuffer || r1(D)) ? f ? e(D) : $f(new Blob([D]), e) : e(Tu[u] + (D || "")), $f = (u, D) => {
829
+ 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) : Lf(D, e) : a1 && (D instanceof ArrayBuffer || s1(D)) ? f ? e(D) : Lf(new Blob([D]), e) : e(Tu[u] + (D || "")), Lf = (u, D) => {
830
830
  const f = new FileReader();
831
831
  return f.onload = function() {
832
832
  const e = f.result.split(",")[1];
833
833
  D("b" + (e || ""));
834
834
  }, f.readAsDataURL(u);
835
835
  };
836
- function Lf(u) {
836
+ function Mf(u) {
837
837
  return u instanceof Uint8Array ? u : u instanceof ArrayBuffer ? new Uint8Array(u) : new Uint8Array(u.buffer, u.byteOffset, u.byteLength);
838
838
  }
839
839
  let $D;
840
- function S0(u, D) {
841
- if (t1 && u.data instanceof Blob)
842
- return u.data.arrayBuffer().then(Lf).then(D);
843
- if (n1 && (u.data instanceof ArrayBuffer || r1(u.data)))
844
- return D(Lf(u.data));
845
- Ff(u, !1, (f) => {
840
+ function T0(u, D) {
841
+ if (r1 && u.data instanceof Blob)
842
+ return u.data.arrayBuffer().then(Mf).then(D);
843
+ if (a1 && (u.data instanceof ArrayBuffer || s1(u.data)))
844
+ return D(Mf(u.data));
845
+ of(u, !1, (f) => {
846
846
  $D || ($D = new TextEncoder()), D($D.encode(f));
847
847
  });
848
848
  }
849
- const Mf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", FD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
850
- for (let u = 0; u < Mf.length; u++)
851
- FD[Mf.charCodeAt(u)] = u;
852
- const T0 = (u) => {
849
+ const qf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", FD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
850
+ for (let u = 0; u < qf.length; u++)
851
+ FD[qf.charCodeAt(u)] = u;
852
+ const N0 = (u) => {
853
853
  let D = u.length * 0.75, f = u.length, e, t = 0, n, r, s, F;
854
854
  u[u.length - 1] === "=" && (D--, u[u.length - 2] === "=" && D--);
855
855
  const d = new ArrayBuffer(D), o = new Uint8Array(d);
856
856
  for (e = 0; e < f; e += 4)
857
857
  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;
858
858
  return d;
859
- }, N0 = typeof ArrayBuffer == "function", of = (u, D) => {
859
+ }, O0 = typeof ArrayBuffer == "function", df = (u, D) => {
860
860
  if (typeof u != "string")
861
861
  return {
862
862
  type: "message",
863
- data: a1(u, D)
863
+ data: F1(u, D)
864
864
  };
865
865
  const f = u.charAt(0);
866
866
  return f === "b" ? {
867
867
  type: "message",
868
- data: O0(u.substring(1), D)
868
+ data: R0(u.substring(1), D)
869
869
  } : pD[f] ? u.length > 1 ? {
870
870
  type: pD[f],
871
871
  data: u.substring(1)
872
872
  } : {
873
873
  type: pD[f]
874
- } : KD;
875
- }, O0 = (u, D) => {
876
- if (N0) {
877
- const f = T0(u);
878
- return a1(f, D);
874
+ } : JD;
875
+ }, R0 = (u, D) => {
876
+ if (O0) {
877
+ const f = N0(u);
878
+ return F1(f, D);
879
879
  } else
880
880
  return { base64: !0, data: u };
881
- }, a1 = (u, D) => {
881
+ }, F1 = (u, D) => {
882
882
  switch (D) {
883
883
  case "blob":
884
884
  return u instanceof Blob ? u : new Blob([u]);
@@ -886,27 +886,27 @@ const T0 = (u) => {
886
886
  default:
887
887
  return u instanceof ArrayBuffer ? u : u.buffer;
888
888
  }
889
- }, s1 = "", R0 = (u, D) => {
889
+ }, i1 = "", P0 = (u, D) => {
890
890
  const f = u.length, e = new Array(f);
891
891
  let t = 0;
892
892
  u.forEach((n, r) => {
893
- Ff(n, !1, (s) => {
894
- e[r] = s, ++t === f && D(e.join(s1));
893
+ of(n, !1, (s) => {
894
+ e[r] = s, ++t === f && D(e.join(i1));
895
895
  });
896
896
  });
897
- }, P0 = (u, D) => {
898
- const f = u.split(s1), e = [];
897
+ }, I0 = (u, D) => {
898
+ const f = u.split(i1), e = [];
899
899
  for (let t = 0; t < f.length; t++) {
900
- const n = of(f[t], D);
900
+ const n = df(f[t], D);
901
901
  if (e.push(n), n.type === "error")
902
902
  break;
903
903
  }
904
904
  return e;
905
905
  };
906
- function I0() {
906
+ function $0() {
907
907
  return new TransformStream({
908
908
  transform(u, D) {
909
- S0(u, (f) => {
909
+ T0(u, (f) => {
910
910
  const e = f.length;
911
911
  let t;
912
912
  if (e < 126)
@@ -938,7 +938,7 @@ function hD(u, D) {
938
938
  f[t] = u[0][e++], e === u[0].length && (u.shift(), e = 0);
939
939
  return u.length && e < u[0].length && (u[0] = u[0].slice(e)), f;
940
940
  }
941
- function $0(u, D) {
941
+ function L0(u, D) {
942
942
  LD || (LD = new TextDecoder());
943
943
  const f = [];
944
944
  let e = 0, t = -1, n = !1;
@@ -960,7 +960,7 @@ function $0(u, D) {
960
960
  break;
961
961
  const F = hD(f, 8), d = new DataView(F.buffer, F.byteOffset, F.length), o = d.getUint32(0);
962
962
  if (o > Math.pow(2, 21) - 1) {
963
- s.enqueue(KD);
963
+ s.enqueue(JD);
964
964
  break;
965
965
  }
966
966
  t = o * Math.pow(2, 32) + d.getUint32(4), e = 3;
@@ -968,21 +968,21 @@ function $0(u, D) {
968
968
  if (ED(f) < t)
969
969
  break;
970
970
  const F = hD(f, t);
971
- s.enqueue(of(n ? F : LD.decode(F), D)), e = 0;
971
+ s.enqueue(df(n ? F : LD.decode(F), D)), e = 0;
972
972
  }
973
973
  if (t === 0 || t > u) {
974
- s.enqueue(KD);
974
+ s.enqueue(JD);
975
975
  break;
976
976
  }
977
977
  }
978
978
  }
979
979
  });
980
980
  }
981
- const F1 = 4;
981
+ const o1 = 4;
982
982
  function su(u) {
983
- if (u) return L0(u);
983
+ if (u) return M0(u);
984
984
  }
985
- function L0(u) {
985
+ function M0(u) {
986
986
  for (var D in su.prototype)
987
987
  u[D] = su.prototype[D];
988
988
  return u;
@@ -1028,34 +1028,34 @@ su.prototype.listeners = function(u) {
1028
1028
  su.prototype.hasListeners = function(u) {
1029
1029
  return !!this.listeners(u).length;
1030
1030
  };
1031
- 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";
1032
- function i1(u, ...D) {
1031
+ 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")(), q0 = "arraybuffer";
1032
+ function d1(u, ...D) {
1033
1033
  return D.reduce((f, e) => (u.hasOwnProperty(e) && (f[e] = u[e]), f), {});
1034
1034
  }
1035
- const q0 = vu.setTimeout, z0 = vu.clearTimeout;
1035
+ const z0 = vu.setTimeout, U0 = vu.clearTimeout;
1036
1036
  function xD(u, D) {
1037
- D.useNativeTimers ? (u.setTimeoutFn = q0.bind(vu), u.clearTimeoutFn = z0.bind(vu)) : (u.setTimeoutFn = vu.setTimeout.bind(vu), u.clearTimeoutFn = vu.clearTimeout.bind(vu));
1038
- }
1039
- const U0 = 1.33;
1040
- function V0(u) {
1041
- return typeof u == "string" ? H0(u) : Math.ceil((u.byteLength || u.size) * U0);
1037
+ D.useNativeTimers ? (u.setTimeoutFn = z0.bind(vu), u.clearTimeoutFn = U0.bind(vu)) : (u.setTimeoutFn = vu.setTimeout.bind(vu), u.clearTimeoutFn = vu.clearTimeout.bind(vu));
1042
1038
  }
1039
+ const V0 = 1.33;
1043
1040
  function H0(u) {
1041
+ return typeof u == "string" ? W0(u) : Math.ceil((u.byteLength || u.size) * V0);
1042
+ }
1043
+ function W0(u) {
1044
1044
  let D = 0, f = 0;
1045
1045
  for (let e = 0, t = u.length; e < t; e++)
1046
1046
  D = u.charCodeAt(e), D < 128 ? f += 1 : D < 2048 ? f += 2 : D < 55296 || D >= 57344 ? f += 3 : (e++, f += 4);
1047
1047
  return f;
1048
1048
  }
1049
- function o1() {
1049
+ function C1() {
1050
1050
  return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
1051
1051
  }
1052
- function W0(u) {
1052
+ function Y0(u) {
1053
1053
  let D = "";
1054
1054
  for (let f in u)
1055
1055
  u.hasOwnProperty(f) && (D.length && (D += "&"), D += encodeURIComponent(f) + "=" + encodeURIComponent(u[f]));
1056
1056
  return D;
1057
1057
  }
1058
- function Y0(u) {
1058
+ function K0(u) {
1059
1059
  let D = {}, f = u.split("&");
1060
1060
  for (let e = 0, t = f.length; e < t; e++) {
1061
1061
  let n = f[e].split("=");
@@ -1063,12 +1063,12 @@ function Y0(u) {
1063
1063
  }
1064
1064
  return D;
1065
1065
  }
1066
- class K0 extends Error {
1066
+ class J0 extends Error {
1067
1067
  constructor(D, f, e) {
1068
1068
  super(D), this.description = f, this.context = e, this.type = "TransportError";
1069
1069
  }
1070
1070
  }
1071
- class df extends su {
1071
+ class Cf extends su {
1072
1072
  /**
1073
1073
  * Transport abstract constructor.
1074
1074
  *
@@ -1088,7 +1088,7 @@ class df extends su {
1088
1088
  * @protected
1089
1089
  */
1090
1090
  onError(D, f, e) {
1091
- return super.emitReserved("error", new K0(D, f, e)), this;
1091
+ return super.emitReserved("error", new J0(D, f, e)), this;
1092
1092
  }
1093
1093
  /**
1094
1094
  * Opens the transport.
@@ -1125,7 +1125,7 @@ class df extends su {
1125
1125
  * @protected
1126
1126
  */
1127
1127
  onData(D) {
1128
- const f = of(D, this.socket.binaryType);
1128
+ const f = df(D, this.socket.binaryType);
1129
1129
  this.onPacket(f);
1130
1130
  }
1131
1131
  /**
@@ -1162,11 +1162,11 @@ class df extends su {
1162
1162
  return this.opts.port && (this.opts.secure && +(this.opts.port !== 443) || !this.opts.secure && Number(this.opts.port) !== 80) ? ":" + this.opts.port : "";
1163
1163
  }
1164
1164
  _query(D) {
1165
- const f = W0(D);
1165
+ const f = Y0(D);
1166
1166
  return f.length ? "?" + f : "";
1167
1167
  }
1168
1168
  }
1169
- class J0 extends df {
1169
+ class G0 extends Cf {
1170
1170
  constructor() {
1171
1171
  super(...arguments), this._polling = !1;
1172
1172
  }
@@ -1222,7 +1222,7 @@ class J0 extends df {
1222
1222
  return this.onClose({ description: "transport closed by the server" }), !1;
1223
1223
  this.onPacket(e);
1224
1224
  };
1225
- P0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1225
+ I0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1226
1226
  }
1227
1227
  /**
1228
1228
  * For polling, send a close packet.
@@ -1242,7 +1242,7 @@ class J0 extends df {
1242
1242
  * @protected
1243
1243
  */
1244
1244
  write(D) {
1245
- this.writable = !1, R0(D, (f) => {
1245
+ this.writable = !1, P0(D, (f) => {
1246
1246
  this.doWrite(f, () => {
1247
1247
  this.writable = !0, this.emitReserved("drain");
1248
1248
  });
@@ -1255,18 +1255,18 @@ class J0 extends df {
1255
1255
  */
1256
1256
  uri() {
1257
1257
  const D = this.opts.secure ? "https" : "http", f = this.query || {};
1258
- return this.opts.timestampRequests !== !1 && (f[this.opts.timestampParam] = o1()), !this.supportsBinary && !f.sid && (f.b64 = 1), this.createUri(D, f);
1258
+ return this.opts.timestampRequests !== !1 && (f[this.opts.timestampParam] = C1()), !this.supportsBinary && !f.sid && (f.b64 = 1), this.createUri(D, f);
1259
1259
  }
1260
1260
  }
1261
- let d1 = !1;
1261
+ let c1 = !1;
1262
1262
  try {
1263
- d1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1263
+ c1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1264
1264
  } catch {
1265
1265
  }
1266
- const G0 = d1;
1267
- function X0() {
1266
+ const X0 = c1;
1267
+ function Z0() {
1268
1268
  }
1269
- class Z0 extends J0 {
1269
+ class Q0 extends G0 {
1270
1270
  /**
1271
1271
  * XHR Polling constructor.
1272
1272
  *
@@ -1325,7 +1325,7 @@ class ju extends su {
1325
1325
  */
1326
1326
  _create() {
1327
1327
  var D;
1328
- const f = i1(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
1328
+ const f = d1(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
1329
1329
  f.xdomain = !!this._opts.xd;
1330
1330
  const e = this._xhr = this.createRequest(f);
1331
1331
  try {
@@ -1379,7 +1379,7 @@ class ju extends su {
1379
1379
  */
1380
1380
  _cleanup(D) {
1381
1381
  if (!(typeof this._xhr > "u" || this._xhr === null)) {
1382
- if (this._xhr.onreadystatechange = X0, D)
1382
+ if (this._xhr.onreadystatechange = Z0, D)
1383
1383
  try {
1384
1384
  this._xhr.abort();
1385
1385
  } catch {
@@ -1409,36 +1409,36 @@ ju.requestsCount = 0;
1409
1409
  ju.requests = {};
1410
1410
  if (typeof document < "u") {
1411
1411
  if (typeof attachEvent == "function")
1412
- attachEvent("onunload", qf);
1412
+ attachEvent("onunload", zf);
1413
1413
  else if (typeof addEventListener == "function") {
1414
1414
  const u = "onpagehide" in vu ? "pagehide" : "unload";
1415
- addEventListener(u, qf, !1);
1415
+ addEventListener(u, zf, !1);
1416
1416
  }
1417
1417
  }
1418
- function qf() {
1418
+ function zf() {
1419
1419
  for (let u in ju.requests)
1420
1420
  ju.requests.hasOwnProperty(u) && ju.requests[u].abort();
1421
1421
  }
1422
- const Q0 = function() {
1423
- const u = C1({
1422
+ const ue = function() {
1423
+ const u = l1({
1424
1424
  xdomain: !1
1425
1425
  });
1426
1426
  return u && u.responseType !== null;
1427
1427
  }();
1428
- class ue extends Z0 {
1428
+ class De extends Q0 {
1429
1429
  constructor(D) {
1430
1430
  super(D);
1431
1431
  const f = D && D.forceBase64;
1432
- this.supportsBinary = Q0 && !f;
1432
+ this.supportsBinary = ue && !f;
1433
1433
  }
1434
1434
  request(D = {}) {
1435
- return Object.assign(D, { xd: this.xd }, this.opts), new ju(C1, this.uri(), D);
1435
+ return Object.assign(D, { xd: this.xd }, this.opts), new ju(l1, this.uri(), D);
1436
1436
  }
1437
1437
  }
1438
- function C1(u) {
1438
+ function l1(u) {
1439
1439
  const D = u.xdomain;
1440
1440
  try {
1441
- if (typeof XMLHttpRequest < "u" && (!D || G0))
1441
+ if (typeof XMLHttpRequest < "u" && (!D || X0))
1442
1442
  return new XMLHttpRequest();
1443
1443
  } catch {
1444
1444
  }
@@ -1448,13 +1448,13 @@ function C1(u) {
1448
1448
  } catch {
1449
1449
  }
1450
1450
  }
1451
- const c1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1452
- class De extends df {
1451
+ const E1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1452
+ class fe extends Cf {
1453
1453
  get name() {
1454
1454
  return "websocket";
1455
1455
  }
1456
1456
  doOpen() {
1457
- 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");
1457
+ 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");
1458
1458
  this.opts.extraHeaders && (e.headers = this.opts.extraHeaders);
1459
1459
  try {
1460
1460
  this.ws = this.createSocket(D, f, e);
@@ -1480,7 +1480,7 @@ class De extends df {
1480
1480
  this.writable = !1;
1481
1481
  for (let f = 0; f < D.length; f++) {
1482
1482
  const e = D[f], t = f === D.length - 1;
1483
- Ff(e, this.supportsBinary, (n) => {
1483
+ of(e, this.supportsBinary, (n) => {
1484
1484
  try {
1485
1485
  this.doWrite(e, n);
1486
1486
  } catch {
@@ -1502,19 +1502,19 @@ class De extends df {
1502
1502
  */
1503
1503
  uri() {
1504
1504
  const D = this.opts.secure ? "wss" : "ws", f = this.query || {};
1505
- return this.opts.timestampRequests && (f[this.opts.timestampParam] = o1()), this.supportsBinary || (f.b64 = 1), this.createUri(D, f);
1505
+ return this.opts.timestampRequests && (f[this.opts.timestampParam] = C1()), this.supportsBinary || (f.b64 = 1), this.createUri(D, f);
1506
1506
  }
1507
1507
  }
1508
1508
  const MD = vu.WebSocket || vu.MozWebSocket;
1509
- class fe extends De {
1509
+ class ee extends fe {
1510
1510
  createSocket(D, f, e) {
1511
- return c1 ? new MD(D, f, e) : f ? new MD(D, f) : new MD(D);
1511
+ return E1 ? new MD(D, f, e) : f ? new MD(D, f) : new MD(D);
1512
1512
  }
1513
1513
  doWrite(D, f) {
1514
1514
  this.ws.send(f);
1515
1515
  }
1516
1516
  }
1517
- class ee extends df {
1517
+ class te extends Cf {
1518
1518
  get name() {
1519
1519
  return "webtransport";
1520
1520
  }
@@ -1530,7 +1530,7 @@ class ee extends df {
1530
1530
  this.onError("webtransport error", D);
1531
1531
  }), this._transport.ready.then(() => {
1532
1532
  this._transport.createBidirectionalStream().then((D) => {
1533
- const f = $0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = I0();
1533
+ const f = L0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = $0();
1534
1534
  t.readable.pipeTo(D.writable), this._writer = t.writable.getWriter();
1535
1535
  const n = () => {
1536
1536
  e.read().then(({ done: s, value: F }) => {
@@ -1560,11 +1560,11 @@ class ee extends df {
1560
1560
  (D = this._transport) === null || D === void 0 || D.close();
1561
1561
  }
1562
1562
  }
1563
- const te = {
1564
- websocket: fe,
1565
- webtransport: ee,
1566
- polling: ue
1567
- }, ne = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, re = [
1563
+ const ne = {
1564
+ websocket: ee,
1565
+ webtransport: te,
1566
+ polling: De
1567
+ }, re = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, ae = [
1568
1568
  "source",
1569
1569
  "protocol",
1570
1570
  "authority",
@@ -1580,28 +1580,28 @@ const te = {
1580
1580
  "query",
1581
1581
  "anchor"
1582
1582
  ];
1583
- function JD(u) {
1583
+ function GD(u) {
1584
1584
  if (u.length > 8e3)
1585
1585
  throw "URI too long";
1586
1586
  const D = u, f = u.indexOf("["), e = u.indexOf("]");
1587
1587
  f != -1 && e != -1 && (u = u.substring(0, f) + u.substring(f, e).replace(/:/g, ";") + u.substring(e, u.length));
1588
- let t = ne.exec(u || ""), n = {}, r = 14;
1588
+ let t = re.exec(u || ""), n = {}, r = 14;
1589
1589
  for (; r--; )
1590
- n[re[r]] = t[r] || "";
1591
- 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;
1590
+ n[ae[r]] = t[r] || "";
1591
+ 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 = se(n, n.path), n.queryKey = Fe(n, n.query), n;
1592
1592
  }
1593
- function ae(u, D) {
1593
+ function se(u, D) {
1594
1594
  const f = /\/{2,9}/g, e = D.replace(f, "/").split("/");
1595
1595
  return (D.slice(0, 1) == "/" || D.length === 0) && e.splice(0, 1), D.slice(-1) == "/" && e.splice(e.length - 1, 1), e;
1596
1596
  }
1597
- function se(u, D) {
1597
+ function Fe(u, D) {
1598
1598
  const f = {};
1599
1599
  return D.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function(e, t, n) {
1600
1600
  t && (f[t] = n);
1601
1601
  }), f;
1602
1602
  }
1603
- const GD = typeof addEventListener == "function" && typeof removeEventListener == "function", BD = [];
1604
- GD && addEventListener("offline", () => {
1603
+ const XD = typeof addEventListener == "function" && typeof removeEventListener == "function", BD = [];
1604
+ XD && addEventListener("offline", () => {
1605
1605
  BD.forEach((u) => u());
1606
1606
  }, !1);
1607
1607
  class Vu extends su {
@@ -1612,10 +1612,10 @@ class Vu extends su {
1612
1612
  * @param {Object} opts - options
1613
1613
  */
1614
1614
  constructor(D, f) {
1615
- 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) {
1616
- const e = JD(D);
1615
+ if (super(), this.binaryType = q0, 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) {
1616
+ const e = GD(D);
1617
1617
  f.hostname = e.host, f.secure = e.protocol === "https" || e.protocol === "wss", f.port = e.port, e.query && (f.query = e.query);
1618
- } else f.host && (f.hostname = JD(f.host).host);
1618
+ } else f.host && (f.hostname = GD(f.host).host);
1619
1619
  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) => {
1620
1620
  const t = e.prototype.name;
1621
1621
  this.transports.push(t), this._transportsByName[t] = e;
@@ -1633,7 +1633,7 @@ class Vu extends su {
1633
1633
  },
1634
1634
  transportOptions: {},
1635
1635
  closeOnBeforeunload: !1
1636
- }, f), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = Y0(this.opts.query)), GD && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
1636
+ }, f), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = K0(this.opts.query)), XD && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
1637
1637
  this.transport && (this.transport.removeAllListeners(), this.transport.close());
1638
1638
  }, addEventListener("beforeunload", this._beforeunloadEventListener, !1)), this.hostname !== "localhost" && (this._offlineEventListener = () => {
1639
1639
  this._onClose("transport close", {
@@ -1650,7 +1650,7 @@ class Vu extends su {
1650
1650
  */
1651
1651
  createTransport(D) {
1652
1652
  const f = Object.assign({}, this.opts.query);
1653
- f.EIO = F1, f.transport = D, this.id && (f.sid = this.id);
1653
+ f.EIO = o1, f.transport = D, this.id && (f.sid = this.id);
1654
1654
  const e = Object.assign({}, this.opts, {
1655
1655
  query: f,
1656
1656
  socket: this,
@@ -1768,7 +1768,7 @@ class Vu extends su {
1768
1768
  let f = 1;
1769
1769
  for (let e = 0; e < this.writeBuffer.length; e++) {
1770
1770
  const t = this.writeBuffer[e].data;
1771
- if (t && (f += V0(t)), e > 0 && f > this._maxPayload)
1771
+ if (t && (f += H0(t)), e > 0 && f > this._maxPayload)
1772
1772
  return this.writeBuffer.slice(0, e);
1773
1773
  f += 2;
1774
1774
  }
@@ -1866,7 +1866,7 @@ class Vu extends su {
1866
1866
  */
1867
1867
  _onClose(D, f) {
1868
1868
  if (this.readyState === "opening" || this.readyState === "open" || this.readyState === "closing") {
1869
- 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)) {
1869
+ 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)) {
1870
1870
  const e = BD.indexOf(this._offlineEventListener);
1871
1871
  e !== -1 && BD.splice(e, 1);
1872
1872
  }
@@ -1874,8 +1874,8 @@ class Vu extends su {
1874
1874
  }
1875
1875
  }
1876
1876
  }
1877
- Vu.protocol = F1;
1878
- class Fe extends Vu {
1877
+ Vu.protocol = o1;
1878
+ class ie extends Vu {
1879
1879
  constructor() {
1880
1880
  super(...arguments), this._upgrades = [];
1881
1881
  }
@@ -1947,21 +1947,21 @@ class Fe extends Vu {
1947
1947
  return f;
1948
1948
  }
1949
1949
  }
1950
- let ie = class extends Fe {
1950
+ let oe = class extends ie {
1951
1951
  constructor(D, f = {}) {
1952
1952
  const e = typeof D == "object" ? D : f;
1953
- (!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);
1953
+ (!e.transports || e.transports && typeof e.transports[0] == "string") && (e.transports = (e.transports || ["polling", "websocket", "webtransport"]).map((t) => ne[t]).filter((t) => !!t)), super(D, e);
1954
1954
  }
1955
1955
  };
1956
- function oe(u, D = "", f) {
1956
+ function de(u, D = "", f) {
1957
1957
  let e = u;
1958
- 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 || "/";
1958
+ 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 || "/";
1959
1959
  const n = e.host.indexOf(":") !== -1 ? "[" + e.host + "]" : e.host;
1960
1960
  return e.id = e.protocol + "://" + n + ":" + e.port + D, e.href = e.protocol + "://" + n + (f && f.port === e.port ? "" : ":" + e.port), e;
1961
1961
  }
1962
- const de = typeof ArrayBuffer == "function", Ce = (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]", le = typeof File == "function" || typeof File < "u" && l1.call(File) === "[object FileConstructor]";
1963
- function Cf(u) {
1964
- return de && (u instanceof ArrayBuffer || Ce(u)) || ce && u instanceof Blob || le && u instanceof File;
1962
+ const Ce = typeof ArrayBuffer == "function", ce = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, h1 = Object.prototype.toString, le = typeof Blob == "function" || typeof Blob < "u" && h1.call(Blob) === "[object BlobConstructor]", Ee = typeof File == "function" || typeof File < "u" && h1.call(File) === "[object FileConstructor]";
1963
+ function cf(u) {
1964
+ return Ce && (u instanceof ArrayBuffer || ce(u)) || le && u instanceof Blob || Ee && u instanceof File;
1965
1965
  }
1966
1966
  function mD(u, D) {
1967
1967
  if (!u || typeof u != "object")
@@ -1972,7 +1972,7 @@ function mD(u, D) {
1972
1972
  return !0;
1973
1973
  return !1;
1974
1974
  }
1975
- if (Cf(u))
1975
+ if (cf(u))
1976
1976
  return !0;
1977
1977
  if (u.toJSON && typeof u.toJSON == "function" && arguments.length === 1)
1978
1978
  return mD(u.toJSON(), !0);
@@ -1981,33 +1981,33 @@ function mD(u, D) {
1981
1981
  return !0;
1982
1982
  return !1;
1983
1983
  }
1984
- function Ee(u) {
1984
+ function he(u) {
1985
1985
  const D = [], f = u.data, e = u;
1986
- return e.data = XD(f, D), e.attachments = D.length, { packet: e, buffers: D };
1986
+ return e.data = ZD(f, D), e.attachments = D.length, { packet: e, buffers: D };
1987
1987
  }
1988
- function XD(u, D) {
1988
+ function ZD(u, D) {
1989
1989
  if (!u)
1990
1990
  return u;
1991
- if (Cf(u)) {
1991
+ if (cf(u)) {
1992
1992
  const f = { _placeholder: !0, num: D.length };
1993
1993
  return D.push(u), f;
1994
1994
  } else if (Array.isArray(u)) {
1995
1995
  const f = new Array(u.length);
1996
1996
  for (let e = 0; e < u.length; e++)
1997
- f[e] = XD(u[e], D);
1997
+ f[e] = ZD(u[e], D);
1998
1998
  return f;
1999
1999
  } else if (typeof u == "object" && !(u instanceof Date)) {
2000
2000
  const f = {};
2001
2001
  for (const e in u)
2002
- Object.prototype.hasOwnProperty.call(u, e) && (f[e] = XD(u[e], D));
2002
+ Object.prototype.hasOwnProperty.call(u, e) && (f[e] = ZD(u[e], D));
2003
2003
  return f;
2004
2004
  }
2005
2005
  return u;
2006
2006
  }
2007
- function he(u, D) {
2008
- return u.data = ZD(u.data, D), delete u.attachments, u;
2007
+ function be(u, D) {
2008
+ return u.data = QD(u.data, D), delete u.attachments, u;
2009
2009
  }
2010
- function ZD(u, D) {
2010
+ function QD(u, D) {
2011
2011
  if (!u)
2012
2012
  return u;
2013
2013
  if (u && u._placeholder === !0) {
@@ -2016,13 +2016,13 @@ function ZD(u, D) {
2016
2016
  throw new Error("illegal attachments");
2017
2017
  } else if (Array.isArray(u))
2018
2018
  for (let f = 0; f < u.length; f++)
2019
- u[f] = ZD(u[f], D);
2019
+ u[f] = QD(u[f], D);
2020
2020
  else if (typeof u == "object")
2021
2021
  for (const f in u)
2022
- Object.prototype.hasOwnProperty.call(u, f) && (u[f] = ZD(u[f], D));
2022
+ Object.prototype.hasOwnProperty.call(u, f) && (u[f] = QD(u[f], D));
2023
2023
  return u;
2024
2024
  }
2025
- const be = [
2025
+ const pe = [
2026
2026
  "connect",
2027
2027
  "connect_error",
2028
2028
  "disconnect",
@@ -2030,12 +2030,12 @@ const be = [
2030
2030
  "newListener",
2031
2031
  "removeListener"
2032
2032
  // used by the Node.js EventEmitter
2033
- ], pe = 5;
2033
+ ], Be = 5;
2034
2034
  var W;
2035
2035
  (function(u) {
2036
2036
  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";
2037
2037
  })(W || (W = {}));
2038
- class Be {
2038
+ class me {
2039
2039
  /**
2040
2040
  * Encoder constructor
2041
2041
  *
@@ -2071,14 +2071,14 @@ class Be {
2071
2071
  * a list of buffers.
2072
2072
  */
2073
2073
  encodeAsBinary(D) {
2074
- const f = Ee(D), e = this.encodeAsString(f.packet), t = f.buffers;
2074
+ const f = he(D), e = this.encodeAsString(f.packet), t = f.buffers;
2075
2075
  return t.unshift(e), t;
2076
2076
  }
2077
2077
  }
2078
- function zf(u) {
2078
+ function Uf(u) {
2079
2079
  return Object.prototype.toString.call(u) === "[object Object]";
2080
2080
  }
2081
- class cf extends su {
2081
+ class lf extends su {
2082
2082
  /**
2083
2083
  * Decoder constructor
2084
2084
  *
@@ -2099,8 +2099,8 @@ class cf extends su {
2099
2099
  throw new Error("got plaintext data when reconstructing a packet");
2100
2100
  f = this.decodeString(D);
2101
2101
  const e = f.type === W.BINARY_EVENT;
2102
- e || f.type === W.BINARY_ACK ? (f.type = e ? W.EVENT : W.ACK, this.reconstructor = new me(f), f.attachments === 0 && super.emitReserved("decoded", f)) : super.emitReserved("decoded", f);
2103
- } else if (Cf(D) || D.base64)
2102
+ 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);
2103
+ } else if (cf(D) || D.base64)
2104
2104
  if (this.reconstructor)
2105
2105
  f = this.reconstructor.takeBinaryData(D), f && (this.reconstructor = null, super.emitReserved("decoded", f));
2106
2106
  else
@@ -2153,7 +2153,7 @@ class cf extends su {
2153
2153
  }
2154
2154
  if (D.charAt(++f)) {
2155
2155
  const n = this.tryParse(D.substr(f));
2156
- if (cf.isPayloadValid(e.type, n))
2156
+ if (lf.isPayloadValid(e.type, n))
2157
2157
  e.data = n;
2158
2158
  else
2159
2159
  throw new Error("invalid payload");
@@ -2170,14 +2170,14 @@ class cf extends su {
2170
2170
  static isPayloadValid(D, f) {
2171
2171
  switch (D) {
2172
2172
  case W.CONNECT:
2173
- return zf(f);
2173
+ return Uf(f);
2174
2174
  case W.DISCONNECT:
2175
2175
  return f === void 0;
2176
2176
  case W.CONNECT_ERROR:
2177
- return typeof f == "string" || zf(f);
2177
+ return typeof f == "string" || Uf(f);
2178
2178
  case W.EVENT:
2179
2179
  case W.BINARY_EVENT:
2180
- return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && be.indexOf(f[0]) === -1);
2180
+ return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && pe.indexOf(f[0]) === -1);
2181
2181
  case W.ACK:
2182
2182
  case W.BINARY_ACK:
2183
2183
  return Array.isArray(f);
@@ -2190,7 +2190,7 @@ class cf extends su {
2190
2190
  this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null);
2191
2191
  }
2192
2192
  }
2193
- class me {
2193
+ class ge {
2194
2194
  constructor(D) {
2195
2195
  this.packet = D, this.buffers = [], this.reconPack = D;
2196
2196
  }
@@ -2204,7 +2204,7 @@ class me {
2204
2204
  */
2205
2205
  takeBinaryData(D) {
2206
2206
  if (this.buffers.push(D), this.buffers.length === this.reconPack.attachments) {
2207
- const f = he(this.reconPack, this.buffers);
2207
+ const f = be(this.reconPack, this.buffers);
2208
2208
  return this.finishedReconstruction(), f;
2209
2209
  }
2210
2210
  return null;
@@ -2216,21 +2216,21 @@ class me {
2216
2216
  this.reconPack = null, this.buffers = [];
2217
2217
  }
2218
2218
  }
2219
- const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2219
+ const _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2220
2220
  __proto__: null,
2221
- Decoder: cf,
2222
- Encoder: Be,
2221
+ Decoder: lf,
2222
+ Encoder: me,
2223
2223
  get PacketType() {
2224
2224
  return W;
2225
2225
  },
2226
- protocol: pe
2226
+ protocol: Be
2227
2227
  }, Symbol.toStringTag, { value: "Module" }));
2228
2228
  function ku(u, D, f) {
2229
2229
  return u.on(D, f), function() {
2230
2230
  u.off(D, f);
2231
2231
  };
2232
2232
  }
2233
- const _e = Object.freeze({
2233
+ const ye = Object.freeze({
2234
2234
  connect: 1,
2235
2235
  connect_error: 1,
2236
2236
  disconnect: 1,
@@ -2239,7 +2239,7 @@ const _e = Object.freeze({
2239
2239
  newListener: 1,
2240
2240
  removeListener: 1
2241
2241
  });
2242
- class E1 extends su {
2242
+ class b1 extends su {
2243
2243
  /**
2244
2244
  * `Socket` constructor.
2245
2245
  */
@@ -2355,7 +2355,7 @@ class E1 extends su {
2355
2355
  */
2356
2356
  emit(D, ...f) {
2357
2357
  var e, t, n;
2358
- if (_e.hasOwnProperty(D))
2358
+ if (ye.hasOwnProperty(D))
2359
2359
  throw new Error('"' + D.toString() + '" is a reserved event name');
2360
2360
  if (f.unshift(D), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
2361
2361
  return this._addToQueue(f), this;
@@ -2854,7 +2854,7 @@ nD.prototype.setMax = function(u) {
2854
2854
  nD.prototype.setJitter = function(u) {
2855
2855
  this.jitter = u;
2856
2856
  };
2857
- class QD extends su {
2857
+ class uf extends su {
2858
2858
  constructor(D, f) {
2859
2859
  var e;
2860
2860
  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({
@@ -2862,7 +2862,7 @@ class QD extends su {
2862
2862
  max: this.reconnectionDelayMax(),
2863
2863
  jitter: this.randomizationFactor()
2864
2864
  }), this.timeout(f.timeout == null ? 2e4 : f.timeout), this._readyState = "closed", this.uri = D;
2865
- const t = f.parser || ge;
2865
+ const t = f.parser || _e;
2866
2866
  this.encoder = new t.Encoder(), this.decoder = new t.Decoder(), this._autoConnect = f.autoConnect !== !1, this._autoConnect && this.open();
2867
2867
  }
2868
2868
  reconnection(D) {
@@ -2905,7 +2905,7 @@ class QD extends su {
2905
2905
  open(D) {
2906
2906
  if (~this._readyState.indexOf("open"))
2907
2907
  return this;
2908
- this.engine = new ie(this.uri, this.opts);
2908
+ this.engine = new oe(this.uri, this.opts);
2909
2909
  const f = this.engine, e = this;
2910
2910
  this._readyState = "opening", this.skipReconnect = !1;
2911
2911
  const t = ku(f, "open", function() {
@@ -2995,7 +2995,7 @@ class QD extends su {
2995
2995
  */
2996
2996
  socket(D, f) {
2997
2997
  let e = this.nsps[D];
2998
- return e ? this._autoConnect && !e.active && e.connect() : (e = new E1(this, D, f), this.nsps[D] = e), e;
2998
+ return e ? this._autoConnect && !e.active && e.connect() : (e = new b1(this, D, f), this.nsps[D] = e), e;
2999
2999
  }
3000
3000
  /**
3001
3001
  * Called upon a socket close.
@@ -3095,29 +3095,29 @@ class QD extends su {
3095
3095
  const sD = {};
3096
3096
  function gD(u, D) {
3097
3097
  typeof u == "object" && (D = u, u = void 0), D = D || {};
3098
- 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;
3098
+ const f = de(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;
3099
3099
  let F;
3100
- 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);
3100
+ 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);
3101
3101
  }
3102
3102
  Object.assign(gD, {
3103
- Manager: QD,
3104
- Socket: E1,
3103
+ Manager: uf,
3104
+ Socket: b1,
3105
3105
  io: gD,
3106
3106
  connect: gD
3107
3107
  });
3108
- const ye = () => typeof location > "u" ? "unknown-host" : location.host, lf = (u, D = ye()) => `${u}-${D}`;
3109
- function ve(u, D, f) {
3108
+ const ve = () => typeof location > "u" ? "unknown-host" : location.host, Ef = (u, D = ve()) => `${u}-${D}`;
3109
+ function we(u, D, f) {
3110
3110
  if (typeof D > "u") throw new Error("Value cannot be undefined");
3111
- return localStorage.setItem(lf(u, f), JSON.stringify(D)), !0;
3111
+ return localStorage.setItem(Ef(u, f), JSON.stringify(D)), !0;
3112
3112
  }
3113
- function we(u, D) {
3114
- const f = localStorage.getItem(lf(u, D));
3113
+ function Ae(u, D) {
3114
+ const f = localStorage.getItem(Ef(u, D));
3115
3115
  return f === null ? null : JSON.parse(f);
3116
3116
  }
3117
- function Ae(u, D) {
3118
- localStorage.removeItem(lf(u, D));
3117
+ function xe(u, D) {
3118
+ localStorage.removeItem(Ef(u, D));
3119
3119
  }
3120
- const X = { setItem: ve, getItem: we, removeItem: Ae }, wD = class wD {
3120
+ const X = { setItem: we, getItem: Ae, removeItem: xe }, wD = class wD {
3121
3121
  constructor(D, f, e) {
3122
3122
  lD(this, "socket");
3123
3123
  lD(this, "config");
@@ -3251,11 +3251,11 @@ lD(wD, "defaultConfig", {
3251
3251
  upgrade: !0,
3252
3252
  withCredentials: !0
3253
3253
  });
3254
- let uf = wD, qD;
3255
- const xe = (u, D) => {
3254
+ let Df = wD, qD;
3255
+ const ke = (u, D) => {
3256
3256
  var e;
3257
3257
  const f = (e = X.getItem("profileLiveChat")) == null ? void 0 : e.id;
3258
- return qD || (qD = new uf(
3258
+ return qD || (qD = new Df(
3259
3259
  u.apiUrl,
3260
3260
  {
3261
3261
  query: {
@@ -3266,11 +3266,11 @@ const xe = (u, D) => {
3266
3266
  },
3267
3267
  D
3268
3268
  )), qD;
3269
- }, h1 = qu({
3269
+ }, p1 = qu({
3270
3270
  socket: {}
3271
- }), b1 = (u) => {
3271
+ }), B1 = (u) => {
3272
3272
  const D = Wu(), f = gu(
3273
- xe(D, {
3273
+ ke(D, {
3274
3274
  onConnect: () => {
3275
3275
  console.info(
3276
3276
  "Hexabot Live Chat : Successfully established WS Connection!"
@@ -3284,11 +3284,11 @@ const xe = (u, D) => {
3284
3284
  }
3285
3285
  })
3286
3286
  );
3287
- return /* @__PURE__ */ a.jsx(h1.Provider, { value: { socket: f.current }, children: u.children });
3288
- }, tD = () => Hu(h1), Df = (u, D) => {
3287
+ return /* @__PURE__ */ a.jsx(p1.Provider, { value: { socket: f.current }, children: u.children });
3288
+ }, tD = () => Hu(p1), ff = (u, D) => {
3289
3289
  const { socket: f } = tD();
3290
3290
  Z(() => (f.on(u, D), () => f.off(u, D)), [u, D, f]);
3291
- }, ke = () => {
3291
+ }, je = () => {
3292
3292
  const { socket: u } = tD();
3293
3293
  Z(() => (u.connect(), () => {
3294
3294
  u.disconnect();
@@ -3322,15 +3322,15 @@ const xe = (u, D) => {
3322
3322
  end_time: "",
3323
3323
  time_zone: "Etc/GMT+12"
3324
3324
  }
3325
- }, p1 = qu(_D), B1 = ({
3325
+ }, m1 = qu(_D), g1 = ({
3326
3326
  children: u
3327
3327
  }) => {
3328
- const { t: D } = zu(), f = If.getItem("settings"), [e, t] = U(
3328
+ const { t: D } = zu(), f = $f.getItem("settings"), [e, t] = U(
3329
3329
  f || _D
3330
3330
  ), n = Mu((r) => {
3331
- If.setItem("settings", r), t(r);
3331
+ $f.setItem("settings", r), t(r);
3332
3332
  }, []);
3333
- return Df("settings", (r) => {
3333
+ return ff("settings", (r) => {
3334
3334
  var s;
3335
3335
  n({
3336
3336
  ..._D,
@@ -3351,8 +3351,8 @@ const xe = (u, D) => {
3351
3351
  termsAndConditions: r.terms_and_conditions || _D.termsAndConditions,
3352
3352
  offline_mode: r.offline_mode
3353
3353
  });
3354
- }), /* @__PURE__ */ a.jsx(p1.Provider, { value: e, children: u });
3355
- }, pu = () => Hu(p1), m1 = qu(void 0), g1 = ({
3354
+ }), /* @__PURE__ */ a.jsx(m1.Provider, { value: e, children: u });
3355
+ }, pu = () => Hu(m1), _1 = qu(void 0), y1 = ({
3356
3356
  onOpen: u,
3357
3357
  onClose: D,
3358
3358
  onScrollToTop: f,
@@ -3379,13 +3379,13 @@ const xe = (u, D) => {
3379
3379
  l(g), f && n && g === 0 && f();
3380
3380
  }
3381
3381
  };
3382
- return /* @__PURE__ */ a.jsx(m1.Provider, { value: x, children: t });
3382
+ return /* @__PURE__ */ a.jsx(_1.Provider, { value: x, children: t });
3383
3383
  }, Nu = () => {
3384
- const u = Hu(m1);
3384
+ const u = Hu(_1);
3385
3385
  if (u === void 0)
3386
3386
  throw new Error("useWidget must be used within a WidgetProvider");
3387
3387
  return u;
3388
- }, je = (u) => new Intl.DateTimeFormat("en-GB", {
3388
+ }, Se = (u) => new Intl.DateTimeFormat("en-GB", {
3389
3389
  hour: "2-digit",
3390
3390
  minute: "2-digit",
3391
3391
  hour12: !1,
@@ -3394,7 +3394,7 @@ const xe = (u, D) => {
3394
3394
  const D = u || {};
3395
3395
  if (!D || D.status !== "active") return !1;
3396
3396
  if (D.start_time && D.end_time && D.time_zone) {
3397
- const f = je(D.time_zone);
3397
+ const f = Se(D.time_zone);
3398
3398
  return !(f >= D.start_time && f <= D.end_time);
3399
3399
  }
3400
3400
  return !0;
@@ -3452,7 +3452,7 @@ const xe = (u, D) => {
3452
3452
  isOfflineMode: !1,
3453
3453
  setIsOfflineMode: () => {
3454
3454
  }
3455
- }, _1 = qu(yu), y1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3455
+ }, v1 = qu(yu), w1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3456
3456
  const e = Wu(), t = pu(), { screen: n, setScreen: r } = Nu(), { setScroll: s, syncState: F, isOpen: d } = Nu(), o = tD(), [c, l] = U(
3457
3457
  yu.participants
3458
3458
  ), [j, v] = U(
@@ -3486,7 +3486,7 @@ const xe = (u, D) => {
3486
3486
  ]), s(0), "direction" in S && S.direction === uu.received && !S.isOffline && V(!1)), S && "data" in S && "quick_replies" in S.data ? I(
3487
3487
  (S.data.quick_replies || []).map(
3488
3488
  (Du) => ({
3489
- content_type: Zf.text,
3489
+ content_type: u1.text,
3490
3490
  text: Du.title,
3491
3491
  payload: Du.payload
3492
3492
  })
@@ -3565,9 +3565,9 @@ const xe = (u, D) => {
3565
3565
  o
3566
3566
  ]
3567
3567
  );
3568
- Df(WD.message, (S) => {
3568
+ ff(YD.message, (S) => {
3569
3569
  _u(S);
3570
- }), Df(WD.typing, _);
3570
+ }), ff(YD.typing, _);
3571
3571
  const Pu = (S) => {
3572
3572
  S ? (p(S), r("webview")) : r("chat");
3573
3573
  };
@@ -3582,7 +3582,7 @@ const xe = (u, D) => {
3582
3582
  }
3583
3583
  !S && !Cu && r("prechat");
3584
3584
  }
3585
- }, [d]), h0("logout", () => {
3585
+ }, [d]), b0("logout", () => {
3586
3586
  o.socket.disconnect();
3587
3587
  }), Z(() => {
3588
3588
  n === "chat" && j === eD.connected && ou();
@@ -3635,9 +3635,9 @@ const xe = (u, D) => {
3635
3635
  isOfflineMode: M,
3636
3636
  setIsOfflineMode: V
3637
3637
  };
3638
- return /* @__PURE__ */ a.jsx(_1.Provider, { value: Iu, children: f });
3638
+ return /* @__PURE__ */ a.jsx(v1.Provider, { value: Iu, children: f });
3639
3639
  }, du = () => {
3640
- const u = Hu(_1);
3640
+ const u = Hu(v1);
3641
3641
  if (!u)
3642
3642
  throw new Error("useChat must be used within a ChatContext");
3643
3643
  return u;
@@ -3887,21 +3887,21 @@ const xe = (u, D) => {
3887
3887
  text: "#9C9C9C"
3888
3888
  }
3889
3889
  }
3890
- }, Se = (u) => {
3890
+ }, Te = (u) => {
3891
3891
  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);
3892
3892
  return (0.299 * f + 0.587 * e + 0.114 * t) / 255 > 0.5 ? "#000000" : "#FFFFFF";
3893
- }, Te = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Ne = (u) => {
3893
+ }, Ne = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Oe = (u) => {
3894
3894
  const D = u.replace("#", "");
3895
3895
  return {
3896
3896
  r: parseInt(D.substring(0, 2), 16),
3897
3897
  g: parseInt(D.substring(2, 4), 16),
3898
3898
  b: parseInt(D.substring(4, 6), 16)
3899
3899
  };
3900
- }, Oe = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ff = (u) => {
3901
- const D = Oe(u);
3902
- if (!Te(D))
3903
- return console.warn(`Invalid color: ${u}, using default blue theme`), ff("#0074D9");
3904
- 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));
3900
+ }, Re = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ef = (u) => {
3901
+ const D = Re(u);
3902
+ if (!Ne(D))
3903
+ return console.warn(`Invalid color: ${u}, using default blue theme`), ef("#0074D9");
3904
+ const f = Te(D), e = Oe(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));
3905
3905
  return `${F.toString(16).padStart(2, "0")}${d.toString(16).padStart(2, "0")}${o.toString(16).padStart(2, "0")}`, {
3906
3906
  header: {
3907
3907
  bg: D,
@@ -3937,7 +3937,7 @@ const xe = (u, D) => {
3937
3937
  text: "#9C9C9C"
3938
3938
  }
3939
3939
  };
3940
- }, Uf = {
3940
+ }, Vf = {
3941
3941
  orange: "#FF851B",
3942
3942
  red: "#FF4136",
3943
3943
  green: "#2ECC40",
@@ -3945,14 +3945,14 @@ const xe = (u, D) => {
3945
3945
  teal: "#1BA089",
3946
3946
  dark: "#000000",
3947
3947
  purple: "#7950F2"
3948
- }, Re = (u) => Uf[u] ? ff(Uf[u]) : ff(u), Pe = () => ({
3948
+ }, Pe = (u) => Vf[u] ? ef(Vf[u]) : ef(u), Ie = () => ({
3949
3949
  bg: "#f6f8f9",
3950
3950
  // Light gray background
3951
3951
  text: "#000"
3952
3952
  // Black text
3953
- }), Ie = yD.orange, v1 = qu({
3954
- colors: Ie
3955
- }), w1 = ({
3953
+ }), $e = yD.orange, A1 = qu({
3954
+ colors: $e
3955
+ }), x1 = ({
3956
3956
  children: u
3957
3957
  }) => {
3958
3958
  const D = pu(), f = () => {
@@ -3961,24 +3961,24 @@ const xe = (u, D) => {
3961
3961
  return yD[e];
3962
3962
  try {
3963
3963
  return {
3964
- ...Re(e),
3964
+ ...Pe(e),
3965
3965
  // Keep received message colors fixed (admin chat)
3966
- received: Pe()
3966
+ received: Ie()
3967
3967
  };
3968
3968
  } catch {
3969
3969
  return console.warn(`Failed to generate theme for color: ${e}, using orange fallback`), yD.orange;
3970
3970
  }
3971
3971
  };
3972
- return /* @__PURE__ */ a.jsx(v1.Provider, { value: { colors: f() }, children: u });
3972
+ return /* @__PURE__ */ a.jsx(A1.Provider, { value: { colors: f() }, children: u });
3973
3973
  }, iu = () => {
3974
- const u = Hu(v1);
3974
+ const u = Hu(A1);
3975
3975
  if (!u)
3976
3976
  throw new Error("useColors must be used within a ColorProvider");
3977
3977
  return u;
3978
- }, Ef = ({
3978
+ }, hf = ({
3979
3979
  viewBox: u = "0 0 24 24",
3980
3980
  ...D
3981
- }) => /* @__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 = ({
3981
+ }) => /* @__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 = ({
3982
3982
  width: u = "24",
3983
3983
  height: D = "24",
3984
3984
  logoUrl: f,
@@ -4003,7 +4003,7 @@ const xe = (u, D) => {
4003
4003
  )
4004
4004
  ]
4005
4005
  }
4006
- ), $e = ({
4006
+ ), Le = ({
4007
4007
  onSendNoticeToStaff: u
4008
4008
  }) => {
4009
4009
  const [D, f] = U(!1), e = gu(null), { send: t } = du(), n = async (r) => {
@@ -4053,7 +4053,7 @@ const xe = (u, D) => {
4053
4053
  }
4054
4054
  ) })
4055
4055
  ] });
4056
- }, Le = ({ children: u }) => {
4056
+ }, Me = ({ children: u }) => {
4057
4057
  const D = pu(), { colors: f } = iu(), e = Nu();
4058
4058
  return /* @__PURE__ */ a.jsxs(
4059
4059
  "div",
@@ -4078,14 +4078,14 @@ const xe = (u, D) => {
4078
4078
  className: "sc-open-icon",
4079
4079
  style: { borderRadius: "50%" }
4080
4080
  }
4081
- ) : /* @__PURE__ */ a.jsx(A1, { width: 32, height: 32 })
4081
+ ) : /* @__PURE__ */ a.jsx(k1, { width: 32, height: 32 })
4082
4082
  }
4083
4083
  ),
4084
4084
  /* @__PURE__ */ a.jsx("div", { className: "sc-header--title", children: D.title })
4085
4085
  ] }),
4086
4086
  /* @__PURE__ */ a.jsxs("div", { className: "sc-header--actions", children: [
4087
4087
  /* @__PURE__ */ a.jsx(
4088
- $e,
4088
+ Le,
4089
4089
  {
4090
4090
  onChatWithStaff: () => {
4091
4091
  console.log("Chat with staff requested");
@@ -4100,14 +4100,14 @@ const xe = (u, D) => {
4100
4100
  {
4101
4101
  className: "sc-header--close-button",
4102
4102
  onClick: () => e.setIsOpen(!1),
4103
- children: /* @__PURE__ */ a.jsx(Ef, {})
4103
+ children: /* @__PURE__ */ a.jsx(hf, {})
4104
4104
  }
4105
4105
  )
4106
4106
  ] })
4107
4107
  ]
4108
4108
  }
4109
4109
  );
4110
- }, Me = ({
4110
+ }, qe = ({
4111
4111
  width: u = "100",
4112
4112
  height: D = "100",
4113
4113
  x: f = "0",
@@ -4132,7 +4132,7 @@ const xe = (u, D) => {
4132
4132
  /* @__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" })
4133
4133
  ]
4134
4134
  }
4135
- ), qe = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4135
+ ), ze = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4136
4136
  "svg",
4137
4137
  {
4138
4138
  width: u,
@@ -4192,7 +4192,7 @@ const xe = (u, D) => {
4192
4192
  ] })
4193
4193
  ]
4194
4194
  }
4195
- ), ze = () => {
4195
+ ), Ue = () => {
4196
4196
  const { t: u } = zu(), { connectionState: D, setConnectionState: f } = du(), { colors: e } = iu(), t = () => {
4197
4197
  D === 0 && f(1);
4198
4198
  }, n = D > 0;
@@ -4201,8 +4201,8 @@ const xe = (u, D) => {
4201
4201
  {
4202
4202
  className: "sc-chat--disconnected-icon-wrapper",
4203
4203
  style: { backgroundColor: e.messageList.bg },
4204
- children: n ? /* @__PURE__ */ a.jsx(qe, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4205
- /* @__PURE__ */ a.jsx(Me, {}),
4204
+ children: n ? /* @__PURE__ */ a.jsx(ze, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4205
+ /* @__PURE__ */ a.jsx(qe, {}),
4206
4206
  /* @__PURE__ */ a.jsx(
4207
4207
  "h3",
4208
4208
  {
@@ -4228,285 +4228,287 @@ const xe = (u, D) => {
4228
4228
  }
4229
4229
  );
4230
4230
  };
4231
- var x1 = { exports: {} };
4232
- (function(u, D) {
4233
- (function(f, e) {
4234
- u.exports = e();
4235
- })(dD, function() {
4236
- 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", v = "date", C = "Invalid Date", y = /^(\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, g = { 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) {
4237
- var E = ["th", "st", "nd", "rd"], h = k % 100;
4238
- return "[" + k + (E[(h - 20) % 10] || E[h] || E[0]) + "]";
4239
- } }, T = function(k, E, h) {
4240
- var A = String(k);
4241
- return !A || A.length >= E ? k : "" + Array(E + 1 - A.length).join(h) + k;
4242
- }, _ = { s: T, z: function(k) {
4243
- var E = -k.utcOffset(), h = Math.abs(E), A = Math.floor(h / 60), p = h % 60;
4244
- return (E <= 0 ? "+" : "-") + T(A, 2, "0") + ":" + T(p, 2, "0");
4245
- }, m: function k(E, h) {
4246
- if (E.date() < h.date()) return -k(h, E);
4247
- 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);
4248
- return +(-(A + (h - p) / (R ? p - N : N - p)) || 0);
4249
- }, a: function(k) {
4250
- return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
4251
- }, p: function(k) {
4252
- return { M: c, y: j, w: o, d, D: v, h: F, m: s, s: r, ms: n, Q: l }[k] || String(k || "").toLowerCase().replace(/s$/, "");
4253
- }, u: function(k) {
4254
- return k === void 0;
4255
- } }, B = "en", I = {};
4256
- I[B] = g;
4257
- var P = "$isDayjsObject", q = function(k) {
4258
- return k instanceof hu || !(!k || !k[P]);
4259
- }, m = function k(E, h, A) {
4260
- var p;
4261
- if (!E) return B;
4262
- if (typeof E == "string") {
4263
- var R = E.toLowerCase();
4264
- I[R] && (p = R), h && (I[R] = h, p = R);
4265
- var N = E.split("-");
4266
- if (!p && N.length > 1) return k(N[0]);
4267
- } else {
4268
- var M = E.name;
4269
- I[M] = E, p = M;
4270
- }
4271
- return !A && p && (B = p), p || !A && B;
4272
- }, O = function(k, E) {
4273
- if (q(k)) return k.clone();
4274
- var h = typeof E == "object" ? E : {};
4275
- return h.date = k, h.args = arguments, new hu(h);
4276
- }, L = _;
4277
- L.l = m, L.i = q, L.w = function(k, E) {
4278
- return O(k, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4279
- };
4280
- var hu = function() {
4281
- function k(h) {
4282
- this.$L = m(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[P] = !0;
4283
- }
4284
- var E = k.prototype;
4285
- return E.parse = function(h) {
4286
- this.$d = function(A) {
4287
- var p = A.date, R = A.utc;
4288
- if (p === null) return /* @__PURE__ */ new Date(NaN);
4289
- if (L.u(p)) return /* @__PURE__ */ new Date();
4290
- if (p instanceof Date) return new Date(p);
4291
- if (typeof p == "string" && !/Z$/i.test(p)) {
4292
- var N = p.match(y);
4293
- if (N) {
4294
- var M = N[2] - 1 || 0, V = (N[7] || "0").substring(0, 3);
4295
- 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);
4296
- }
4297
- }
4298
- return new Date(p);
4299
- }(h), this.init();
4300
- }, E.init = function() {
4301
- var h = this.$d;
4302
- 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();
4303
- }, E.$utils = function() {
4304
- return L;
4305
- }, E.isValid = function() {
4306
- return this.$d.toString() !== C;
4307
- }, E.isSame = function(h, A) {
4308
- var p = O(h);
4309
- return this.startOf(A) <= p && p <= this.endOf(A);
4310
- }, E.isAfter = function(h, A) {
4311
- return O(h) < this.startOf(A);
4312
- }, E.isBefore = function(h, A) {
4313
- return this.endOf(A) < O(h);
4314
- }, E.$g = function(h, A, p) {
4315
- return L.u(h) ? this[A] : this.set(p, h);
4316
- }, E.unix = function() {
4317
- return Math.floor(this.valueOf() / 1e3);
4318
- }, E.valueOf = function() {
4319
- return this.$d.getTime();
4320
- }, E.startOf = function(h, A) {
4321
- var p = this, R = !!L.u(A) || A, N = L.p(h), M = function(Bu, ru) {
4322
- var ou = L.w(p.$u ? Date.UTC(p.$y, ru, Bu) : new Date(p.$y, ru, Bu), p);
4323
- return R ? ou : ou.endOf(d);
4324
- }, V = function(Bu, ru) {
4325
- return L.w(p.toDate()[Bu].apply(p.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), p);
4326
- }, J = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4327
- switch (N) {
4328
- case j:
4329
- return R ? M(1, 0) : M(31, 11);
4330
- case c:
4331
- return R ? M(1, z) : M(0, z + 1);
4332
- case o:
4333
- var Cu = this.$locale().weekStart || 0, _u = (J < Cu ? J + 7 : J) - Cu;
4334
- return M(R ? Q - _u : Q + (6 - _u), z);
4335
- case d:
4336
- case v:
4337
- return V(tu + "Hours", 0);
4338
- case F:
4339
- return V(tu + "Minutes", 1);
4340
- case s:
4341
- return V(tu + "Seconds", 2);
4342
- case r:
4343
- return V(tu + "Milliseconds", 3);
4344
- default:
4345
- return this.clone();
4231
+ var zD = { exports: {} }, Hf;
4232
+ function j1() {
4233
+ return Hf || (Hf = 1, function(u, D) {
4234
+ (function(f, e) {
4235
+ u.exports = e();
4236
+ })(dD, function() {
4237
+ 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", v = "date", C = "Invalid Date", y = /^(\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, g = { 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) {
4238
+ var E = ["th", "st", "nd", "rd"], h = k % 100;
4239
+ return "[" + k + (E[(h - 20) % 10] || E[h] || E[0]) + "]";
4240
+ } }, T = function(k, E, h) {
4241
+ var A = String(k);
4242
+ return !A || A.length >= E ? k : "" + Array(E + 1 - A.length).join(h) + k;
4243
+ }, _ = { s: T, z: function(k) {
4244
+ var E = -k.utcOffset(), h = Math.abs(E), A = Math.floor(h / 60), p = h % 60;
4245
+ return (E <= 0 ? "+" : "-") + T(A, 2, "0") + ":" + T(p, 2, "0");
4246
+ }, m: function k(E, h) {
4247
+ if (E.date() < h.date()) return -k(h, E);
4248
+ 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);
4249
+ return +(-(A + (h - p) / (R ? p - N : N - p)) || 0);
4250
+ }, a: function(k) {
4251
+ return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
4252
+ }, p: function(k) {
4253
+ return { M: c, y: j, w: o, d, D: v, h: F, m: s, s: r, ms: n, Q: l }[k] || String(k || "").toLowerCase().replace(/s$/, "");
4254
+ }, u: function(k) {
4255
+ return k === void 0;
4256
+ } }, B = "en", I = {};
4257
+ I[B] = g;
4258
+ var P = "$isDayjsObject", q = function(k) {
4259
+ return k instanceof hu || !(!k || !k[P]);
4260
+ }, m = function k(E, h, A) {
4261
+ var p;
4262
+ if (!E) return B;
4263
+ if (typeof E == "string") {
4264
+ var R = E.toLowerCase();
4265
+ I[R] && (p = R), h && (I[R] = h, p = R);
4266
+ var N = E.split("-");
4267
+ if (!p && N.length > 1) return k(N[0]);
4268
+ } else {
4269
+ var M = E.name;
4270
+ I[M] = E, p = M;
4346
4271
  }
4347
- }, E.endOf = function(h) {
4348
- return this.startOf(h, !1);
4349
- }, E.$set = function(h, A) {
4350
- var p, R = L.p(h), N = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[d] = N + "Date", p[v] = 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;
4351
- if (R === c || R === j) {
4352
- var J = this.clone().set(v, 1);
4353
- J.$d[M](V), J.init(), this.$d = J.set(v, Math.min(this.$D, J.daysInMonth())).$d;
4354
- } else M && this.$d[M](V);
4355
- return this.init(), this;
4356
- }, E.set = function(h, A) {
4357
- return this.clone().$set(h, A);
4358
- }, E.get = function(h) {
4359
- return this[L.p(h)]();
4360
- }, E.add = function(h, A) {
4361
- var p, R = this;
4362
- h = Number(h);
4363
- var N = L.p(A), M = function(z) {
4364
- var Q = O(R);
4365
- return L.w(Q.date(Q.date() + Math.round(z * h)), R);
4366
- };
4367
- if (N === c) return this.set(c, this.$M + h);
4368
- if (N === j) return this.set(j, this.$y + h);
4369
- if (N === d) return M(1);
4370
- if (N === o) return M(7);
4371
- var V = (p = {}, p[s] = e, p[F] = t, p[r] = f, p)[N] || 1, J = this.$d.getTime() + h * V;
4372
- return L.w(J, this);
4373
- }, E.subtract = function(h, A) {
4374
- return this.add(-1 * h, A);
4375
- }, E.format = function(h) {
4376
- var A = this, p = this.$locale();
4377
- if (!this.isValid()) return p.invalidDate || C;
4378
- var R = h || "YYYY-MM-DDTHH:mm:ssZ", N = L.z(this), M = this.$H, V = this.$m, J = this.$M, z = p.weekdays, Q = p.months, tu = p.meridiem, Cu = function(ru, ou, Pu, Iu) {
4379
- return ru && (ru[ou] || ru(A, R)) || Pu[ou].slice(0, Iu);
4380
- }, _u = function(ru) {
4381
- return L.s(M % 12 || 12, ru, "0");
4382
- }, Bu = tu || function(ru, ou, Pu) {
4383
- var Iu = ru < 12 ? "AM" : "PM";
4384
- return Pu ? Iu.toLowerCase() : Iu;
4385
- };
4386
- return R.replace(x, function(ru, ou) {
4387
- return ou || function(Pu) {
4388
- switch (Pu) {
4389
- case "YY":
4390
- return String(A.$y).slice(-2);
4391
- case "YYYY":
4392
- return L.s(A.$y, 4, "0");
4393
- case "M":
4394
- return J + 1;
4395
- case "MM":
4396
- return L.s(J + 1, 2, "0");
4397
- case "MMM":
4398
- return Cu(p.monthsShort, J, Q, 3);
4399
- case "MMMM":
4400
- return Cu(Q, J);
4401
- case "D":
4402
- return A.$D;
4403
- case "DD":
4404
- return L.s(A.$D, 2, "0");
4405
- case "d":
4406
- return String(A.$W);
4407
- case "dd":
4408
- return Cu(p.weekdaysMin, A.$W, z, 2);
4409
- case "ddd":
4410
- return Cu(p.weekdaysShort, A.$W, z, 3);
4411
- case "dddd":
4412
- return z[A.$W];
4413
- case "H":
4414
- return String(M);
4415
- case "HH":
4416
- return L.s(M, 2, "0");
4417
- case "h":
4418
- return _u(1);
4419
- case "hh":
4420
- return _u(2);
4421
- case "a":
4422
- return Bu(M, V, !0);
4423
- case "A":
4424
- return Bu(M, V, !1);
4425
- case "m":
4426
- return String(V);
4427
- case "mm":
4428
- return L.s(V, 2, "0");
4429
- case "s":
4430
- return String(A.$s);
4431
- case "ss":
4432
- return L.s(A.$s, 2, "0");
4433
- case "SSS":
4434
- return L.s(A.$ms, 3, "0");
4435
- case "Z":
4436
- return N;
4272
+ return !A && p && (B = p), p || !A && B;
4273
+ }, O = function(k, E) {
4274
+ if (q(k)) return k.clone();
4275
+ var h = typeof E == "object" ? E : {};
4276
+ return h.date = k, h.args = arguments, new hu(h);
4277
+ }, L = _;
4278
+ L.l = m, L.i = q, L.w = function(k, E) {
4279
+ return O(k, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4280
+ };
4281
+ var hu = function() {
4282
+ function k(h) {
4283
+ this.$L = m(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[P] = !0;
4284
+ }
4285
+ var E = k.prototype;
4286
+ return E.parse = function(h) {
4287
+ this.$d = function(A) {
4288
+ var p = A.date, R = A.utc;
4289
+ if (p === null) return /* @__PURE__ */ new Date(NaN);
4290
+ if (L.u(p)) return /* @__PURE__ */ new Date();
4291
+ if (p instanceof Date) return new Date(p);
4292
+ if (typeof p == "string" && !/Z$/i.test(p)) {
4293
+ var N = p.match(y);
4294
+ if (N) {
4295
+ var M = N[2] - 1 || 0, V = (N[7] || "0").substring(0, 3);
4296
+ 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);
4297
+ }
4437
4298
  }
4438
- return null;
4439
- }(ru) || N.replace(":", "");
4440
- });
4441
- }, E.utcOffset = function() {
4442
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4443
- }, E.diff = function(h, A, p) {
4444
- var R, N = this, M = L.p(A), V = O(h), J = (V.utcOffset() - this.utcOffset()) * e, z = this - V, Q = function() {
4445
- return L.m(N, V);
4299
+ return new Date(p);
4300
+ }(h), this.init();
4301
+ }, E.init = function() {
4302
+ var h = this.$d;
4303
+ 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();
4304
+ }, E.$utils = function() {
4305
+ return L;
4306
+ }, E.isValid = function() {
4307
+ return this.$d.toString() !== C;
4308
+ }, E.isSame = function(h, A) {
4309
+ var p = O(h);
4310
+ return this.startOf(A) <= p && p <= this.endOf(A);
4311
+ }, E.isAfter = function(h, A) {
4312
+ return O(h) < this.startOf(A);
4313
+ }, E.isBefore = function(h, A) {
4314
+ return this.endOf(A) < O(h);
4315
+ }, E.$g = function(h, A, p) {
4316
+ return L.u(h) ? this[A] : this.set(p, h);
4317
+ }, E.unix = function() {
4318
+ return Math.floor(this.valueOf() / 1e3);
4319
+ }, E.valueOf = function() {
4320
+ return this.$d.getTime();
4321
+ }, E.startOf = function(h, A) {
4322
+ var p = this, R = !!L.u(A) || A, N = L.p(h), M = function(Bu, ru) {
4323
+ var ou = L.w(p.$u ? Date.UTC(p.$y, ru, Bu) : new Date(p.$y, ru, Bu), p);
4324
+ return R ? ou : ou.endOf(d);
4325
+ }, V = function(Bu, ru) {
4326
+ return L.w(p.toDate()[Bu].apply(p.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), p);
4327
+ }, J = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4328
+ switch (N) {
4329
+ case j:
4330
+ return R ? M(1, 0) : M(31, 11);
4331
+ case c:
4332
+ return R ? M(1, z) : M(0, z + 1);
4333
+ case o:
4334
+ var Cu = this.$locale().weekStart || 0, _u = (J < Cu ? J + 7 : J) - Cu;
4335
+ return M(R ? Q - _u : Q + (6 - _u), z);
4336
+ case d:
4337
+ case v:
4338
+ return V(tu + "Hours", 0);
4339
+ case F:
4340
+ return V(tu + "Minutes", 1);
4341
+ case s:
4342
+ return V(tu + "Seconds", 2);
4343
+ case r:
4344
+ return V(tu + "Milliseconds", 3);
4345
+ default:
4346
+ return this.clone();
4347
+ }
4348
+ }, E.endOf = function(h) {
4349
+ return this.startOf(h, !1);
4350
+ }, E.$set = function(h, A) {
4351
+ var p, R = L.p(h), N = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[d] = N + "Date", p[v] = 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;
4352
+ if (R === c || R === j) {
4353
+ var J = this.clone().set(v, 1);
4354
+ J.$d[M](V), J.init(), this.$d = J.set(v, Math.min(this.$D, J.daysInMonth())).$d;
4355
+ } else M && this.$d[M](V);
4356
+ return this.init(), this;
4357
+ }, E.set = function(h, A) {
4358
+ return this.clone().$set(h, A);
4359
+ }, E.get = function(h) {
4360
+ return this[L.p(h)]();
4361
+ }, E.add = function(h, A) {
4362
+ var p, R = this;
4363
+ h = Number(h);
4364
+ var N = L.p(A), M = function(z) {
4365
+ var Q = O(R);
4366
+ return L.w(Q.date(Q.date() + Math.round(z * h)), R);
4367
+ };
4368
+ if (N === c) return this.set(c, this.$M + h);
4369
+ if (N === j) return this.set(j, this.$y + h);
4370
+ if (N === d) return M(1);
4371
+ if (N === o) return M(7);
4372
+ var V = (p = {}, p[s] = e, p[F] = t, p[r] = f, p)[N] || 1, J = this.$d.getTime() + h * V;
4373
+ return L.w(J, this);
4374
+ }, E.subtract = function(h, A) {
4375
+ return this.add(-1 * h, A);
4376
+ }, E.format = function(h) {
4377
+ var A = this, p = this.$locale();
4378
+ if (!this.isValid()) return p.invalidDate || C;
4379
+ var R = h || "YYYY-MM-DDTHH:mm:ssZ", N = L.z(this), M = this.$H, V = this.$m, J = this.$M, z = p.weekdays, Q = p.months, tu = p.meridiem, Cu = function(ru, ou, Pu, Iu) {
4380
+ return ru && (ru[ou] || ru(A, R)) || Pu[ou].slice(0, Iu);
4381
+ }, _u = function(ru) {
4382
+ return L.s(M % 12 || 12, ru, "0");
4383
+ }, Bu = tu || function(ru, ou, Pu) {
4384
+ var Iu = ru < 12 ? "AM" : "PM";
4385
+ return Pu ? Iu.toLowerCase() : Iu;
4386
+ };
4387
+ return R.replace(x, function(ru, ou) {
4388
+ return ou || function(Pu) {
4389
+ switch (Pu) {
4390
+ case "YY":
4391
+ return String(A.$y).slice(-2);
4392
+ case "YYYY":
4393
+ return L.s(A.$y, 4, "0");
4394
+ case "M":
4395
+ return J + 1;
4396
+ case "MM":
4397
+ return L.s(J + 1, 2, "0");
4398
+ case "MMM":
4399
+ return Cu(p.monthsShort, J, Q, 3);
4400
+ case "MMMM":
4401
+ return Cu(Q, J);
4402
+ case "D":
4403
+ return A.$D;
4404
+ case "DD":
4405
+ return L.s(A.$D, 2, "0");
4406
+ case "d":
4407
+ return String(A.$W);
4408
+ case "dd":
4409
+ return Cu(p.weekdaysMin, A.$W, z, 2);
4410
+ case "ddd":
4411
+ return Cu(p.weekdaysShort, A.$W, z, 3);
4412
+ case "dddd":
4413
+ return z[A.$W];
4414
+ case "H":
4415
+ return String(M);
4416
+ case "HH":
4417
+ return L.s(M, 2, "0");
4418
+ case "h":
4419
+ return _u(1);
4420
+ case "hh":
4421
+ return _u(2);
4422
+ case "a":
4423
+ return Bu(M, V, !0);
4424
+ case "A":
4425
+ return Bu(M, V, !1);
4426
+ case "m":
4427
+ return String(V);
4428
+ case "mm":
4429
+ return L.s(V, 2, "0");
4430
+ case "s":
4431
+ return String(A.$s);
4432
+ case "ss":
4433
+ return L.s(A.$s, 2, "0");
4434
+ case "SSS":
4435
+ return L.s(A.$ms, 3, "0");
4436
+ case "Z":
4437
+ return N;
4438
+ }
4439
+ return null;
4440
+ }(ru) || N.replace(":", "");
4441
+ });
4442
+ }, E.utcOffset = function() {
4443
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4444
+ }, E.diff = function(h, A, p) {
4445
+ var R, N = this, M = L.p(A), V = O(h), J = (V.utcOffset() - this.utcOffset()) * e, z = this - V, Q = function() {
4446
+ return L.m(N, V);
4447
+ };
4448
+ switch (M) {
4449
+ case j:
4450
+ R = Q() / 12;
4451
+ break;
4452
+ case c:
4453
+ R = Q();
4454
+ break;
4455
+ case l:
4456
+ R = Q() / 3;
4457
+ break;
4458
+ case o:
4459
+ R = (z - J) / 6048e5;
4460
+ break;
4461
+ case d:
4462
+ R = (z - J) / 864e5;
4463
+ break;
4464
+ case F:
4465
+ R = z / t;
4466
+ break;
4467
+ case s:
4468
+ R = z / e;
4469
+ break;
4470
+ case r:
4471
+ R = z / f;
4472
+ break;
4473
+ default:
4474
+ R = z;
4475
+ }
4476
+ return p ? R : L.a(R);
4477
+ }, E.daysInMonth = function() {
4478
+ return this.endOf(c).$D;
4479
+ }, E.$locale = function() {
4480
+ return I[this.$L];
4481
+ }, E.locale = function(h, A) {
4482
+ if (!h) return this.$L;
4483
+ var p = this.clone(), R = m(h, A, !0);
4484
+ return R && (p.$L = R), p;
4485
+ }, E.clone = function() {
4486
+ return L.w(this.$d, this);
4487
+ }, E.toDate = function() {
4488
+ return new Date(this.valueOf());
4489
+ }, E.toJSON = function() {
4490
+ return this.isValid() ? this.toISOString() : null;
4491
+ }, E.toISOString = function() {
4492
+ return this.$d.toISOString();
4493
+ }, E.toString = function() {
4494
+ return this.$d.toUTCString();
4495
+ }, k;
4496
+ }(), fu = hu.prototype;
4497
+ return O.prototype = fu, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", j], ["$D", v]].forEach(function(k) {
4498
+ fu[k[1]] = function(E) {
4499
+ return this.$g(E, k[0], k[1]);
4446
4500
  };
4447
- switch (M) {
4448
- case j:
4449
- R = Q() / 12;
4450
- break;
4451
- case c:
4452
- R = Q();
4453
- break;
4454
- case l:
4455
- R = Q() / 3;
4456
- break;
4457
- case o:
4458
- R = (z - J) / 6048e5;
4459
- break;
4460
- case d:
4461
- R = (z - J) / 864e5;
4462
- break;
4463
- case F:
4464
- R = z / t;
4465
- break;
4466
- case s:
4467
- R = z / e;
4468
- break;
4469
- case r:
4470
- R = z / f;
4471
- break;
4472
- default:
4473
- R = z;
4474
- }
4475
- return p ? R : L.a(R);
4476
- }, E.daysInMonth = function() {
4477
- return this.endOf(c).$D;
4478
- }, E.$locale = function() {
4479
- return I[this.$L];
4480
- }, E.locale = function(h, A) {
4481
- if (!h) return this.$L;
4482
- var p = this.clone(), R = m(h, A, !0);
4483
- return R && (p.$L = R), p;
4484
- }, E.clone = function() {
4485
- return L.w(this.$d, this);
4486
- }, E.toDate = function() {
4487
- return new Date(this.valueOf());
4488
- }, E.toJSON = function() {
4489
- return this.isValid() ? this.toISOString() : null;
4490
- }, E.toISOString = function() {
4491
- return this.$d.toISOString();
4492
- }, E.toString = function() {
4493
- return this.$d.toUTCString();
4494
- }, k;
4495
- }(), fu = hu.prototype;
4496
- return O.prototype = fu, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", j], ["$D", v]].forEach(function(k) {
4497
- fu[k[1]] = function(E) {
4498
- return this.$g(E, k[0], k[1]);
4499
- };
4500
- }), O.extend = function(k, E) {
4501
- return k.$i || (k(E, hu, O), k.$i = !0), O;
4502
- }, O.locale = m, O.isDayjs = q, O.unix = function(k) {
4503
- return O(1e3 * k);
4504
- }, O.en = I[B], O.Ls = I, O.p = {}, O;
4505
- });
4506
- })(x1);
4507
- var k1 = x1.exports;
4508
- const j1 = /* @__PURE__ */ sf(k1);
4509
- var Ue = { exports: {} };
4501
+ }), O.extend = function(k, E) {
4502
+ return k.$i || (k(E, hu, O), k.$i = !0), O;
4503
+ }, O.locale = m, O.isDayjs = q, O.unix = function(k) {
4504
+ return O(1e3 * k);
4505
+ }, O.en = I[B], O.Ls = I, O.p = {}, O;
4506
+ });
4507
+ }(zD)), zD.exports;
4508
+ }
4509
+ var Ve = j1();
4510
+ const S1 = /* @__PURE__ */ Ff(Ve);
4511
+ var He = { exports: {} };
4510
4512
  (function(u, D) {
4511
4513
  (function(f, e) {
4512
4514
  u.exports = e();
@@ -4516,11 +4518,11 @@ var Ue = { exports: {} };
4516
4518
  return "[" + f + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
4517
4519
  } };
4518
4520
  });
4519
- })(Ue);
4520
- var Ve = { exports: {} };
4521
+ })(He);
4522
+ var We = { exports: {} };
4521
4523
  (function(u, D) {
4522
4524
  (function(f, e) {
4523
- u.exports = e(k1);
4525
+ u.exports = e(j1());
4524
4526
  })(dD, function(f) {
4525
4527
  function e(r) {
4526
4528
  return r && typeof r == "object" && "default" in r ? r : { default: r };
@@ -4530,8 +4532,8 @@ var Ve = { exports: {} };
4530
4532
  } };
4531
4533
  return t.default.locale(n, null, !0), n;
4532
4534
  });
4533
- })(Ve);
4534
- var S1 = { exports: {} };
4535
+ })(We);
4536
+ var T1 = { exports: {} };
4535
4537
  (function(u, D) {
4536
4538
  (function(f, e) {
4537
4539
  u.exports = e();
@@ -4572,9 +4574,9 @@ var S1 = { exports: {} };
4572
4574
  };
4573
4575
  };
4574
4576
  });
4575
- })(S1);
4576
- var He = S1.exports;
4577
- const We = /* @__PURE__ */ sf(He), T1 = ({
4577
+ })(T1);
4578
+ var Ye = T1.exports;
4579
+ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4578
4580
  width: u = "18",
4579
4581
  height: D = "18",
4580
4582
  ...f
@@ -4669,10 +4671,10 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4669
4671
  },
4670
4672
  F
4671
4673
  )) });
4672
- }, Ye = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Ke = (u) => u.replace(/\n/g, "<br />"), Je = (u) => {
4673
- let D = Ye(u, 50);
4674
- return D = Ke(u), D;
4675
- }, Ge = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4674
+ }, Je = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Ge = (u) => u.replace(/\n/g, "<br />"), Xe = (u) => {
4675
+ let D = Je(u, 50);
4676
+ return D = Ge(u), D;
4677
+ }, Ze = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4676
4678
  u.image_url && /* @__PURE__ */ a.jsx(
4677
4679
  "div",
4678
4680
  {
@@ -4686,7 +4688,7 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4686
4688
  "p",
4687
4689
  {
4688
4690
  dangerouslySetInnerHTML: {
4689
- __html: Je(u.subtitle)
4691
+ __html: Xe(u.subtitle)
4690
4692
  }
4691
4693
  }
4692
4694
  )
@@ -4697,7 +4699,7 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4697
4699
  message: { data: { buttons: u.buttons } }
4698
4700
  }
4699
4701
  )
4700
- ] }) }), Xe = ({
4702
+ ] }) }), Qe = ({
4701
4703
  messageCarousel: u
4702
4704
  }) => {
4703
4705
  const { colors: D } = iu(), [f, e] = U(0), t = u.data.elements, n = () => {
@@ -4721,7 +4723,7 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4721
4723
  {
4722
4724
  className: "sc-message--carousel-inner",
4723
4725
  style: { transform: `translateX(-${f * 100}%)` },
4724
- children: t.map((d, o) => /* @__PURE__ */ a.jsx(Ge, { message: d, idx: o }, o))
4726
+ children: t.map((d, o) => /* @__PURE__ */ a.jsx(Ze, { message: d, idx: o }, o))
4725
4727
  }
4726
4728
  ),
4727
4729
  F && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -4745,14 +4747,14 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4745
4747
  ]
4746
4748
  }
4747
4749
  );
4748
- }, Ze = ({
4750
+ }, u3 = ({
4749
4751
  viewBox: u = "0 0 512 512",
4750
4752
  ...D
4751
4753
  }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsxs("g", { "data-name": "1", children: [
4752
4754
  /* @__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" }),
4753
4755
  /* @__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" }),
4754
4756
  /* @__PURE__ */ a.jsx("path", { d: "M264.4 365a15 15 0 01-15-15V231a15 15 0 0130 0v119a15 15 0 01-15 15z" })
4755
- ] }) }), Qe = ({ message: u }) => {
4757
+ ] }) }), D3 = ({ message: u }) => {
4756
4758
  const { t: D } = zu(), { colors: f } = iu(), e = f[u.direction || uu.received];
4757
4759
  if (!("type" in u.data))
4758
4760
  throw new Error("Unable to detect type for file message");
@@ -4792,7 +4794,7 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4792
4794
  rel: "noopener noreferrer",
4793
4795
  download: !0,
4794
4796
  children: [
4795
- /* @__PURE__ */ a.jsx(Ze, {}),
4797
+ /* @__PURE__ */ a.jsx(u3, {}),
4796
4798
  D("messages.file_message.download")
4797
4799
  ]
4798
4800
  }
@@ -4802,7 +4804,7 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4802
4804
  ]
4803
4805
  }
4804
4806
  );
4805
- }, u3 = ({ message: u }) => {
4807
+ }, f3 = ({ message: u }) => {
4806
4808
  var d;
4807
4809
  const { colors: D } = iu(), f = Nu(), [e, t] = U(!1), n = gu(null);
4808
4810
  if (Z(() => {
@@ -4840,7 +4842,7 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4840
4842
  )
4841
4843
  }
4842
4844
  );
4843
- }, D3 = ({ messageList: u }) => {
4845
+ }, e3 = ({ messageList: u }) => {
4844
4846
  const { colors: D } = iu(), f = (r) => {
4845
4847
  let s = e(r, 50);
4846
4848
  return s = t(r), s;
@@ -4912,17 +4914,17 @@ const We = /* @__PURE__ */ sf(He), T1 = ({
4912
4914
  }
4913
4915
  );
4914
4916
  };
4915
- var ef = function(u, D) {
4916
- return ef = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4917
+ var tf = function(u, D) {
4918
+ return tf = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4917
4919
  f.__proto__ = e;
4918
4920
  } || function(f, e) {
4919
4921
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && (f[t] = e[t]);
4920
- }, ef(u, D);
4922
+ }, tf(u, D);
4921
4923
  };
4922
4924
  function CD(u, D) {
4923
4925
  if (typeof D != "function" && D !== null)
4924
4926
  throw new TypeError("Class extends value " + String(D) + " is not a constructor or null");
4925
- ef(u, D);
4927
+ tf(u, D);
4926
4928
  function f() {
4927
4929
  this.constructor = u;
4928
4930
  }
@@ -4937,7 +4939,7 @@ var Fu = function() {
4937
4939
  return D;
4938
4940
  }, Fu.apply(this, arguments);
4939
4941
  };
4940
- function f3(u, D) {
4942
+ function t3(u, D) {
4941
4943
  var f = typeof Symbol == "function" && u[Symbol.iterator];
4942
4944
  if (!f) return u;
4943
4945
  var e = f.call(u), t, n = [], r;
@@ -4954,16 +4956,16 @@ function f3(u, D) {
4954
4956
  }
4955
4957
  return n;
4956
4958
  }
4957
- function e3(u, D, f) {
4959
+ function n3(u, D, f) {
4958
4960
  if (f || arguments.length === 2) for (var e = 0, t = D.length, n; e < t; e++)
4959
4961
  (n || !(e in D)) && (n || (n = Array.prototype.slice.call(D, 0, e)), n[e] = D[e]);
4960
4962
  return u.concat(n || Array.prototype.slice.call(D));
4961
4963
  }
4962
- var t3 = "4.1.5", n3 = Object.prototype.hasOwnProperty;
4964
+ var r3 = "4.1.5", a3 = Object.prototype.hasOwnProperty;
4963
4965
  function wu(u) {
4964
4966
  return typeof u == "boolean";
4965
4967
  }
4966
- function r3(u, D, f) {
4968
+ function s3(u, D, f) {
4967
4969
  var e;
4968
4970
  return u.length > D && (f == null ? (f = "&hellip;", e = 3) : e = f.length, u = u.substring(0, D - e) + f), u;
4969
4971
  }
@@ -4974,7 +4976,7 @@ function Ku(u, D) {
4974
4976
  function Gu(u) {
4975
4977
  throw new Error("Unhandled case for value: '".concat(u, "'"));
4976
4978
  }
4977
- var bD = /\s+/, N1 = (
4979
+ var bD = /\s+/, O1 = (
4978
4980
  /** @class */
4979
4981
  function() {
4980
4982
  function u(D) {
@@ -5023,32 +5025,32 @@ var bD = /\s+/, N1 = (
5023
5025
  }, u.prototype.buildAttrsStr = function() {
5024
5026
  var D = this.getAttrs(), f = [];
5025
5027
  for (var e in D)
5026
- n3.call(D, e) && f.push(e + '="' + D[e] + '"');
5028
+ a3.call(D, e) && f.push(e + '="' + D[e] + '"');
5027
5029
  return f.join(" ");
5028
5030
  }, u;
5029
5031
  }()
5030
5032
  );
5031
- function a3(u, D, f) {
5033
+ function F3(u, D, f) {
5032
5034
  var e, t;
5033
5035
  if (f == null ? (f = "&hellip;", t = 3, e = 8) : (t = f.length, e = f.length), u.length <= D)
5034
5036
  return u;
5035
- var n = D - t, r = s3(u);
5037
+ var n = D - t, r = i3(u);
5036
5038
  if (r.query) {
5037
5039
  var s = r.query.match(/^(.*?)(?=(\?|#))(.*?)$/i);
5038
- s && (r.query = r.query.substr(0, s[1].length), u = Vf(r));
5040
+ s && (r.query = r.query.substr(0, s[1].length), u = Wf(r));
5039
5041
  }
5040
- if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Vf(r)), u.length <= D))
5042
+ if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Wf(r)), u.length <= D))
5041
5043
  return u;
5042
5044
  var F = "";
5043
5045
  if (r.host && (F += r.host), F.length >= n)
5044
- return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : zD(F, n, f).substr(0, n + e);
5046
+ return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : UD(F, n, f).substr(0, n + e);
5045
5047
  var d = "";
5046
5048
  if (r.path && (d += "/" + r.path), r.query && (d += "?" + r.query), d)
5047
5049
  if ((F + d).length >= n) {
5048
5050
  if ((F + d).length == D)
5049
5051
  return (F + d).substr(0, D);
5050
5052
  var o = n - F.length;
5051
- return (F + zD(d, o, f)).substr(0, n + e);
5053
+ return (F + UD(d, o, f)).substr(0, n + e);
5052
5054
  } else
5053
5055
  F += d;
5054
5056
  if (r.fragment) {
@@ -5057,7 +5059,7 @@ function a3(u, D, f) {
5057
5059
  if ((F + c).length == D)
5058
5060
  return (F + c).substr(0, D);
5059
5061
  var l = n - F.length;
5060
- return (F + zD(c, l, f)).substr(0, n + e);
5062
+ return (F + UD(c, l, f)).substr(0, n + e);
5061
5063
  } else
5062
5064
  F += c;
5063
5065
  }
@@ -5071,19 +5073,19 @@ function a3(u, D, f) {
5071
5073
  var v = "";
5072
5074
  return n > 0 && (v = F.substr(-1 * Math.floor(n / 2))), (F.substr(0, Math.ceil(n / 2)) + f + v).substr(0, n + e);
5073
5075
  }
5074
- function s3(u) {
5076
+ function i3(u) {
5075
5077
  var D = {}, f = u, e = f.match(/^([a-z]+):\/\//i);
5076
5078
  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;
5077
5079
  }
5078
- function Vf(u) {
5080
+ function Wf(u) {
5079
5081
  var D = "";
5080
5082
  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;
5081
5083
  }
5082
- function zD(u, D, f) {
5084
+ function UD(u, D, f) {
5083
5085
  var e = D / 2, t = Math.ceil(e), n = -1 * Math.floor(e), r = "";
5084
5086
  return n < 0 && (r = u.substr(n)), u.substr(0, t) + f + r;
5085
5087
  }
5086
- function F3(u, D, f) {
5088
+ function o3(u, D, f) {
5087
5089
  if (u.length <= D)
5088
5090
  return u;
5089
5091
  var e, t;
@@ -5091,17 +5093,17 @@ function F3(u, D, f) {
5091
5093
  var n = D - t, r = "";
5092
5094
  return n > 0 && (r = u.substr(-1 * Math.floor(n / 2))), (u.substr(0, Math.ceil(n / 2)) + f + r).substr(0, n + e);
5093
5095
  }
5094
- function i3(u, D, f) {
5095
- return r3(u, D, f);
5096
+ function d3(u, D, f) {
5097
+ return s3(u, D, f);
5096
5098
  }
5097
- var o3 = (
5099
+ var C3 = (
5098
5100
  /** @class */
5099
5101
  function() {
5100
5102
  function u(D) {
5101
5103
  D === void 0 && (D = {}), this.newWindow = !1, this.truncate = {}, this.className = "", this.newWindow = D.newWindow || !1, this.truncate = D.truncate || {}, this.className = D.className || "";
5102
5104
  }
5103
5105
  return u.prototype.build = function(D) {
5104
- return new N1({
5106
+ return new O1({
5105
5107
  tagName: "a",
5106
5108
  attrs: this.createAttrs(D),
5107
5109
  innerHtml: this.processAnchorText(D.getAnchorText())
@@ -5127,7 +5129,7 @@ var o3 = (
5127
5129
  if (!f.length)
5128
5130
  return D;
5129
5131
  var e = f.length, t = f.location;
5130
- return t === "smart" ? a3(D, e) : t === "middle" ? F3(D, e) : i3(D, e);
5132
+ return t === "smart" ? F3(D, e) : t === "middle" ? o3(D, e) : d3(D, e);
5131
5133
  }, u;
5132
5134
  }()
5133
5135
  ), cD = (
@@ -5149,7 +5151,7 @@ var o3 = (
5149
5151
  }, u;
5150
5152
  }()
5151
5153
  );
5152
- function d3(u) {
5154
+ function c3(u) {
5153
5155
  return u >= 0 && u <= 31 || u == 127;
5154
5156
  }
5155
5157
  function rD(u) {
@@ -5158,7 +5160,7 @@ function rD(u) {
5158
5160
  function Eu(u) {
5159
5161
  return u >= 48 && u <= 57;
5160
5162
  }
5161
- function hf(u) {
5163
+ function bf(u) {
5162
5164
  return u == 34 || u == 39;
5163
5165
  }
5164
5166
  function Xu(u) {
@@ -5167,67 +5169,67 @@ function Xu(u) {
5167
5169
  function Zu(u) {
5168
5170
  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;
5169
5171
  }
5170
- function C3(u) {
5172
+ function l3(u) {
5171
5173
  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;
5172
5174
  }
5173
- function c3(u) {
5175
+ function E3(u) {
5174
5176
  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;
5175
5177
  }
5176
- function O1(u) {
5178
+ function R1(u) {
5177
5179
  return u < 58 ? u < 44 ? u == 33 : u == 44 || u == 46 : u < 63 ? u >= 58 && u <= 59 : u == 63 || u == 94;
5178
5180
  }
5179
- function l3(u) {
5181
+ function h3(u) {
5180
5182
  return u < 91 ? u == 40 : u == 91 || u == 123;
5181
5183
  }
5182
- function Hf(u) {
5184
+ function Yf(u) {
5183
5185
  return u < 93 ? u == 41 : u == 93 || u == 125;
5184
5186
  }
5185
- var E3 = /^(?: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, h3 = new RegExp("^" + R1.source, "i"), b3 = /^(javascript|vbscript):/i, p3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, B3 = /^(?:\/\/)?([^/#?:]+)/, oD = rD;
5186
- function P1(u) {
5187
+ var b3 = /^(?: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, p3 = new RegExp("^" + P1.source, "i"), B3 = /^(javascript|vbscript):/i, m3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, g3 = /^(?:\/\/)?([^/#?:]+)/, oD = rD;
5188
+ function I1(u) {
5187
5189
  return rD(u) || Eu(u) || u === 43 || // '+'
5188
5190
  u === 45 || // '-'
5189
5191
  u === 46;
5190
5192
  }
5191
5193
  var Yu = Zu;
5192
- function bf(u) {
5194
+ function pf(u) {
5193
5195
  return u === 95 || Yu(u);
5194
5196
  }
5195
- function I1(u) {
5196
- return Zu(u) || c3(u) || O1(u);
5197
+ function $1(u) {
5198
+ return Zu(u) || E3(u) || R1(u);
5197
5199
  }
5198
- function pf(u) {
5200
+ function Bf(u) {
5199
5201
  return u === 47 || // '/'
5200
5202
  u === 63 || // '?'
5201
5203
  u === 35;
5202
5204
  }
5203
- function $1(u) {
5204
- return E3.test(u.toLowerCase());
5205
+ function L1(u) {
5206
+ return b3.test(u.toLowerCase());
5205
5207
  }
5206
- function m3(u) {
5207
- if (b3.test(u))
5208
+ function _3(u) {
5209
+ if (B3.test(u))
5208
5210
  return !1;
5209
- var D = u.match(p3);
5211
+ var D = u.match(m3);
5210
5212
  if (!D)
5211
5213
  return !1;
5212
5214
  var f = !!D[1], e = D[2];
5213
5215
  return f ? !0 : !(e.indexOf(".") === -1 || !/[A-Za-z]/.test(e));
5214
5216
  }
5215
- function g3(u) {
5216
- var D = u.match(B3);
5217
+ function y3(u) {
5218
+ var D = u.match(g3);
5217
5219
  if (!D)
5218
5220
  return !1;
5219
5221
  var f = D[0], e = f.split(".");
5220
5222
  if (e.length < 2)
5221
5223
  return !1;
5222
5224
  var t = e[e.length - 1];
5223
- return !!$1(t);
5225
+ return !!L1(t);
5224
5226
  }
5225
- var _3 = /^(?:(?: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]?)$/, y3 = /[:/?#]/;
5226
- function v3(u) {
5227
- var D = u.split(y3, 1)[0];
5228
- return _3.test(D);
5227
+ var v3 = /^(?:(?: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]?)$/, w3 = /[:/?#]/;
5228
+ function A3(u) {
5229
+ var D = u.split(w3, 1)[0];
5230
+ return v3.test(D);
5229
5231
  }
5230
- var w3 = /^(https?:\/\/)?(?:www\.)?/i, A3 = /^\/\//, x3 = (
5232
+ var x3 = /^(https?:\/\/)?(?:www\.)?/i, k3 = /^\/\//, j3 = (
5231
5233
  /** @class */
5232
5234
  function(u) {
5233
5235
  CD(D, u);
@@ -5250,23 +5252,23 @@ var w3 = /^(https?:\/\/)?(?:www\.)?/i, A3 = /^\/\//, x3 = (
5250
5252
  return f.replace(/&amp;/g, "&");
5251
5253
  }, D.prototype.getAnchorText = function() {
5252
5254
  var f = this.getMatchedText();
5253
- return this.protocolRelativeMatch && (f = S3(f)), this.stripPrefix.scheme && (f = k3(f)), this.stripPrefix.www && (f = j3(f)), this.stripTrailingSlash && (f = T3(f)), this.decodePercentEncoding && (f = N3(f)), f;
5255
+ return this.protocolRelativeMatch && (f = N3(f)), this.stripPrefix.scheme && (f = S3(f)), this.stripPrefix.www && (f = T3(f)), this.stripTrailingSlash && (f = O3(f)), this.decodePercentEncoding && (f = R3(f)), f;
5254
5256
  }, D;
5255
5257
  }(cD)
5256
5258
  );
5257
- function k3(u) {
5258
- return u.replace(h3, "");
5259
- }
5260
- function j3(u) {
5261
- return u.includes("www.") ? u.replace(w3, "$1") : u;
5262
- }
5263
5259
  function S3(u) {
5264
- return u.replace(A3, "");
5260
+ return u.replace(p3, "");
5265
5261
  }
5266
5262
  function T3(u) {
5267
- return u.charAt(u.length - 1) === "/" && (u = u.slice(0, -1)), u;
5263
+ return u.includes("www.") ? u.replace(x3, "$1") : u;
5268
5264
  }
5269
5265
  function N3(u) {
5266
+ return u.replace(k3, "");
5267
+ }
5268
+ function O3(u) {
5269
+ return u.charAt(u.length - 1) === "/" && (u = u.slice(0, -1)), u;
5270
+ }
5271
+ function R3(u) {
5270
5272
  var D = u.replace(/%(?:22|26|27|3C|3E)/gi, function(f) {
5271
5273
  return f === "%22" ? "&quot;" : f === "%26" ? "&amp;" : f === "%27" ? "&#39;" : f === "%3C" || f === "%3c" ? "&lt;" : "&gt;";
5272
5274
  });
@@ -5277,15 +5279,15 @@ function N3(u) {
5277
5279
  }
5278
5280
  return D;
5279
5281
  }
5280
- var O3 = /^mailto:/i, L1 = Zu;
5281
- function Bf(u) {
5282
- return L1(u) || C3(u);
5282
+ var P3 = /^mailto:/i, M1 = Zu;
5283
+ function mf(u) {
5284
+ return M1(u) || l3(u);
5283
5285
  }
5284
- function R3(u) {
5286
+ function I3(u) {
5285
5287
  var D = u.split(".").pop();
5286
- return $1(D);
5288
+ return L1(D);
5287
5289
  }
5288
- var P3 = (
5290
+ var $3 = (
5289
5291
  /** @class */
5290
5292
  function(u) {
5291
5293
  CD(D, u);
@@ -5304,19 +5306,19 @@ var P3 = (
5304
5306
  }, D;
5305
5307
  }(cD)
5306
5308
  );
5307
- function M1(u) {
5309
+ function q1(u) {
5308
5310
  return u === 95 || Zu(u);
5309
5311
  }
5310
- function I3(u) {
5312
+ function L3(u) {
5311
5313
  return u.length <= 140;
5312
5314
  }
5313
- var $3 = [
5315
+ var M3 = [
5314
5316
  "twitter",
5315
5317
  "facebook",
5316
5318
  "instagram",
5317
5319
  "tiktok",
5318
5320
  "youtube"
5319
- ], L3 = (
5321
+ ], q3 = (
5320
5322
  /** @class */
5321
5323
  function(u) {
5322
5324
  CD(D, u);
@@ -5353,7 +5355,7 @@ var $3 = [
5353
5355
  return e && f.push(e), f;
5354
5356
  }, D;
5355
5357
  }(cD)
5356
- ), M3 = {
5358
+ ), z3 = {
5357
5359
  twitter: /^@\w{1,15}$/,
5358
5360
  instagram: /^@[_\w]{1,30}$/,
5359
5361
  soundcloud: /^@[-a-z0-9_]{3,25}$/,
@@ -5365,23 +5367,23 @@ var $3 = [
5365
5367
  // https://support.google.com/youtube/answer/11585688?hl=en&co=GENIE.Platform%3DAndroid#tns
5366
5368
  youtube: /^@[-.·\w]{3,30}$/
5367
5369
  };
5368
- function q1(u) {
5370
+ function z1(u) {
5369
5371
  return u === 45 || // '-'
5370
5372
  u === 46 || // '.'
5371
5373
  u === 95 || // '_'
5372
5374
  rD(u) || Eu(u);
5373
5375
  }
5374
- function q3(u, D) {
5375
- var f = M3[D];
5376
+ function U3(u, D) {
5377
+ var f = z3[D];
5376
5378
  return f.test(u);
5377
5379
  }
5378
- var z3 = [
5380
+ var V3 = [
5379
5381
  "twitter",
5380
5382
  "instagram",
5381
5383
  "soundcloud",
5382
5384
  "tiktok",
5383
5385
  "youtube"
5384
- ], U3 = (
5386
+ ], H3 = (
5385
5387
  /** @class */
5386
5388
  function(u) {
5387
5389
  CD(D, u);
@@ -5417,21 +5419,21 @@ var z3 = [
5417
5419
  return e && f.push(e), f;
5418
5420
  }, D;
5419
5421
  }(cD)
5420
- ), V3 = /[-. ()]/, H3 = /(?:(?:(?:(\+)?\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]+#?)*/, W3 = /(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})/, Y3 = new RegExp("^".concat(H3.source, "|").concat(W3.source, "$"));
5421
- function z1(u) {
5422
+ ), W3 = /[-. ()]/, Y3 = /(?:(?:(?:(\+)?\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]+#?)*/, K3 = /(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})/, J3 = new RegExp("^".concat(Y3.source, "|").concat(K3.source, "$"));
5423
+ function U1(u) {
5422
5424
  return u === 45 || // '-'
5423
5425
  u === 46 || // '.'
5424
5426
  u === 32;
5425
5427
  }
5426
- function mf(u) {
5428
+ function gf(u) {
5427
5429
  return u === 44 || // ','
5428
5430
  u === 59;
5429
5431
  }
5430
- function K3(u) {
5431
- var D = u.charAt(0) === "+" || V3.test(u);
5432
- return D && Y3.test(u);
5432
+ function G3(u) {
5433
+ var D = u.charAt(0) === "+" || W3.test(u);
5434
+ return D && J3.test(u);
5433
5435
  }
5434
- var J3 = (
5436
+ var X3 = (
5435
5437
  /** @class */
5436
5438
  function(u) {
5437
5439
  CD(D, u);
@@ -5451,7 +5453,7 @@ var J3 = (
5451
5453
  return this.matchedText;
5452
5454
  }, D;
5453
5455
  }(cD)
5454
- ), G3 = (
5456
+ ), Z3 = (
5455
5457
  /** @class */
5456
5458
  function() {
5457
5459
  function u(D, f) {
@@ -5464,18 +5466,18 @@ var J3 = (
5464
5466
  enumerable: !1,
5465
5467
  configurable: !0
5466
5468
  }), u.prototype.addMachine = function(D) {
5467
- this._stateMachines.push(D), Yf(D) && this.schemeUrlMachinesCount++;
5469
+ this._stateMachines.push(D), Jf(D) && this.schemeUrlMachinesCount++;
5468
5470
  }, u.prototype.removeMachine = function(D) {
5469
5471
  this._stateMachines = this._stateMachines.filter(function(f) {
5470
5472
  return f !== D;
5471
- }), Yf(D) && this.schemeUrlMachinesCount--;
5473
+ }), Jf(D) && this.schemeUrlMachinesCount--;
5472
5474
  }, u.prototype.hasSchemeUrlMachine = function() {
5473
5475
  return this.schemeUrlMachinesCount > 0;
5474
5476
  }, u;
5475
5477
  }()
5476
5478
  );
5477
- function X3(u, D) {
5478
- for (var f = new G3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5479
+ function Q3(u, D) {
5480
+ for (var f = new Z3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5479
5481
  var e = u.charAt(f.charIdx), t = u.charCodeAt(f.charIdx);
5480
5482
  if (f.stateMachines.length === 0)
5481
5483
  jD(f, e, t);
@@ -5484,130 +5486,130 @@ function X3(u, D) {
5484
5486
  var r = f.stateMachines[n];
5485
5487
  switch (r.state) {
5486
5488
  case 11:
5487
- e2(f, r, t);
5489
+ n2(f, r, t);
5488
5490
  break;
5489
5491
  case 12:
5490
- t2(f, r, t);
5492
+ r2(f, r, t);
5491
5493
  break;
5492
5494
  case 0:
5493
- Z3(f, r, t);
5495
+ u2(f, r, t);
5494
5496
  break;
5495
5497
  case 1:
5496
- Q3(f, r, t);
5498
+ D2(f, r, t);
5497
5499
  break;
5498
5500
  case 2:
5499
- u2(f, r, t);
5501
+ f2(f, r, t);
5500
5502
  break;
5501
5503
  case 3:
5502
- D2(f, r, t);
5504
+ e2(f, r, t);
5503
5505
  break;
5504
5506
  case 4:
5505
- f2(f, r, e, t);
5507
+ t2(f, r, e, t);
5506
5508
  break;
5507
5509
  case 5:
5508
- n2(f, r, t);
5510
+ a2(f, r, t);
5509
5511
  break;
5510
5512
  case 6:
5511
- r2(f, r, e, t);
5513
+ s2(f, r, e, t);
5512
5514
  break;
5513
5515
  case 7:
5514
- a2(f, r, e, t);
5516
+ F2(f, r, e, t);
5515
5517
  break;
5516
5518
  case 13:
5517
- s2(f, r, t);
5519
+ i2(f, r, t);
5518
5520
  break;
5519
5521
  case 14:
5520
- F2(f, r, t);
5522
+ o2(f, r, t);
5521
5523
  break;
5522
5524
  case 8:
5523
- i2(f, r, t);
5525
+ d2(f, r, t);
5524
5526
  break;
5525
5527
  case 9:
5526
- o2(f, r, t);
5528
+ C2(f, r, t);
5527
5529
  break;
5528
5530
  case 10:
5529
- d2(f, r, t);
5531
+ c2(f, r, t);
5530
5532
  break;
5531
5533
  case 15:
5532
- C2(f, r, e, t);
5534
+ l2(f, r, e, t);
5533
5535
  break;
5534
5536
  case 16:
5535
- c2(f, r, e, t);
5537
+ E2(f, r, e, t);
5536
5538
  break;
5537
5539
  case 17:
5538
- l2(f, r, e, t);
5540
+ h2(f, r, e, t);
5539
5541
  break;
5540
5542
  case 18:
5541
- E2(f, r, e, t);
5543
+ b2(f, r, e, t);
5542
5544
  break;
5543
5545
  case 19:
5544
- h2(f, r, e, t);
5546
+ p2(f, r, e, t);
5545
5547
  break;
5546
5548
  case 20:
5547
- b2(f, r, t);
5549
+ B2(f, r, t);
5548
5550
  break;
5549
5551
  case 21:
5550
- p2(f, r, t);
5552
+ m2(f, r, t);
5551
5553
  break;
5552
5554
  case 22:
5553
5555
  Qu(f, r, t);
5554
5556
  break;
5555
5557
  case 23:
5556
- B2(f, r, t);
5558
+ g2(f, r, t);
5557
5559
  break;
5558
5560
  case 24:
5559
- m2(f, r, t);
5561
+ _2(f, r, t);
5560
5562
  break;
5561
5563
  case 25:
5562
- g2(f, r, t);
5564
+ y2(f, r, t);
5563
5565
  break;
5564
5566
  case 26:
5565
- _2(f, r, t);
5567
+ v2(f, r, t);
5566
5568
  break;
5567
5569
  case 27:
5568
- y2(f, r, t);
5570
+ w2(f, r, t);
5569
5571
  break;
5570
5572
  case 28:
5571
- v2(f, r, t);
5573
+ A2(f, r, t);
5572
5574
  break;
5573
5575
  case 29:
5574
- w2(f, r, t);
5576
+ x2(f, r, t);
5575
5577
  break;
5576
5578
  case 30:
5577
- A2(f, r, t);
5579
+ k2(f, r, t);
5578
5580
  break;
5579
5581
  case 31:
5580
- x2(f, r, t);
5582
+ j2(f, r, t);
5581
5583
  break;
5582
5584
  case 32:
5583
- j2(f, r, e, t);
5585
+ T2(f, r, e, t);
5584
5586
  break;
5585
5587
  case 33:
5586
- S2(f, r, t);
5588
+ N2(f, r, t);
5587
5589
  break;
5588
5590
  case 34:
5589
- T2(f, r, t);
5591
+ O2(f, r, t);
5590
5592
  break;
5591
5593
  case 35:
5592
- N2(f, r, t);
5594
+ R2(f, r, t);
5593
5595
  break;
5594
5596
  case 36:
5595
- O2(f, r, e, t);
5597
+ P2(f, r, e, t);
5596
5598
  break;
5597
5599
  case 37:
5598
- k2(f, r, e, t);
5600
+ S2(f, r, e, t);
5599
5601
  break;
5600
5602
  case 38:
5601
- R2(f, r, e, t);
5603
+ I2(f, r, e, t);
5602
5604
  break;
5603
5605
  case 39:
5604
- P2(f, r, e, t);
5606
+ $2(f, r, e, t);
5605
5607
  break;
5606
5608
  case 40:
5607
- I2(f, r, t);
5609
+ L2(f, r, t);
5608
5610
  break;
5609
5611
  case 41:
5610
- $2(f, r, t);
5612
+ M2(f, r, t);
5611
5613
  break;
5612
5614
  default:
5613
5615
  Gu(r.state);
@@ -5632,71 +5634,71 @@ function X3(u, D) {
5632
5634
  function jD(u, D, f) {
5633
5635
  var e = u.charIdx;
5634
5636
  if (f === 35)
5635
- u.addMachine(U2(
5637
+ u.addMachine(H2(
5636
5638
  e,
5637
5639
  28
5638
5640
  /* State.HashtagHashChar */
5639
5641
  ));
5640
5642
  else if (f === 64)
5641
- u.addMachine(V2(
5643
+ u.addMachine(W2(
5642
5644
  e,
5643
5645
  30
5644
5646
  /* State.MentionAtChar */
5645
5647
  ));
5646
5648
  else if (f === 47)
5647
- u.addMachine(tf(
5649
+ u.addMachine(nf(
5648
5650
  e,
5649
5651
  11
5650
5652
  /* State.ProtocolRelativeSlash1 */
5651
5653
  ));
5652
5654
  else if (f === 43)
5653
- u.addMachine(UD(
5655
+ u.addMachine(VD(
5654
5656
  e,
5655
5657
  37
5656
5658
  /* State.PhoneNumberPlus */
5657
5659
  ));
5658
5660
  else if (f === 40)
5659
- u.addMachine(UD(
5661
+ u.addMachine(VD(
5660
5662
  e,
5661
5663
  32
5662
5664
  /* State.PhoneNumberOpenParen */
5663
5665
  ));
5664
5666
  else {
5665
- if (Eu(f) && (u.addMachine(UD(
5667
+ if (Eu(f) && (u.addMachine(VD(
5666
5668
  e,
5667
5669
  38
5668
5670
  /* State.PhoneNumberDigit */
5669
- )), u.addMachine(q2(
5671
+ )), u.addMachine(U2(
5670
5672
  e,
5671
5673
  13
5672
5674
  /* State.IpV4Digit */
5673
- ))), L1(f)) {
5675
+ ))), M1(f)) {
5674
5676
  var t = D.toLowerCase() === "m" ? 15 : 22;
5675
- u.addMachine(z2(e, t));
5677
+ u.addMachine(V2(e, t));
5676
5678
  }
5677
5679
  oD(f) && u.addMachine(SD(
5678
5680
  e,
5679
5681
  0
5680
5682
  /* State.SchemeChar */
5681
- )), Zu(f) && u.addMachine(tf(
5683
+ )), Zu(f) && u.addMachine(nf(
5682
5684
  e,
5683
5685
  5
5684
5686
  /* State.DomainLabelChar */
5685
5687
  ));
5686
5688
  }
5687
5689
  }
5688
- function Z3(u, D, f) {
5689
- f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : P1(f) || u.removeMachine(D);
5690
+ function u2(u, D, f) {
5691
+ f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : I1(f) || u.removeMachine(D);
5690
5692
  }
5691
- function Q3(u, D, f) {
5693
+ function D2(u, D, f) {
5692
5694
  var e = u.charIdx;
5693
- f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(tf(
5695
+ f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(nf(
5694
5696
  e,
5695
5697
  11
5696
5698
  /* State.ProtocolRelativeSlash1 */
5697
- ))) : P1(f) ? D.state = 0 : u.removeMachine(D));
5699
+ ))) : I1(f) ? D.state = 0 : u.removeMachine(D));
5698
5700
  }
5699
- function u2(u, D, f) {
5701
+ function f2(u, D, f) {
5700
5702
  var e = u.charIdx;
5701
5703
  f === 47 ? D.state = 3 : f === 46 ? u.removeMachine(D) : Yu(f) ? (D.state = 5, oD(f) && u.addMachine(SD(
5702
5704
  e,
@@ -5704,162 +5706,162 @@ function u2(u, D, f) {
5704
5706
  /* State.SchemeChar */
5705
5707
  ))) : u.removeMachine(D);
5706
5708
  }
5707
- function D2(u, D, f) {
5708
- f === 47 ? D.state = 4 : I1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5709
+ function e2(u, D, f) {
5710
+ f === 47 ? D.state = 4 : $1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5709
5711
  }
5710
- function f2(u, D, f, e) {
5712
+ function t2(u, D, f, e) {
5711
5713
  e === 47 ? (D.state = 10, D.acceptStateReached = !0) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : u.removeMachine(D);
5712
5714
  }
5713
- function e2(u, D, f) {
5715
+ function n2(u, D, f) {
5714
5716
  f === 47 ? D.state = 12 : u.removeMachine(D);
5715
5717
  }
5716
- function t2(u, D, f) {
5718
+ function r2(u, D, f) {
5717
5719
  Yu(f) ? D.state = 5 : u.removeMachine(D);
5718
5720
  }
5719
- function n2(u, D, f) {
5720
- 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);
5721
+ function a2(u, D, f) {
5722
+ 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);
5721
5723
  }
5722
- function r2(u, D, f, e) {
5724
+ function s2(u, D, f, e) {
5723
5725
  e === 45 || (e === 46 ? eu(u, D) : Yu(e) ? D.state = 5 : eu(u, D));
5724
5726
  }
5725
- function a2(u, D, f, e) {
5727
+ function F2(u, D, f, e) {
5726
5728
  e === 46 ? eu(u, D) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : eu(u, D);
5727
5729
  }
5728
- function s2(u, D, f) {
5729
- f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (pf(f) ? D.state = 10 : Zu(f) ? u.removeMachine(D) : eu(u, D));
5730
+ function i2(u, D, f) {
5731
+ f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (Bf(f) ? D.state = 10 : Zu(f) ? u.removeMachine(D) : eu(u, D));
5730
5732
  }
5731
- function F2(u, D, f) {
5733
+ function o2(u, D, f) {
5732
5734
  Eu(f) ? (D.octetsEncountered++, D.octetsEncountered === 4 && (D.acceptStateReached = !0), D.state = 13) : eu(u, D);
5733
5735
  }
5734
- function i2(u, D, f) {
5736
+ function d2(u, D, f) {
5735
5737
  Eu(f) ? D.state = 9 : eu(u, D);
5736
5738
  }
5737
- function o2(u, D, f) {
5738
- Eu(f) || (pf(f) ? D.state = 10 : eu(u, D));
5739
+ function C2(u, D, f) {
5740
+ Eu(f) || (Bf(f) ? D.state = 10 : eu(u, D));
5739
5741
  }
5740
- function d2(u, D, f) {
5741
- I1(f) || eu(u, D);
5742
+ function c2(u, D, f) {
5743
+ $1(f) || eu(u, D);
5742
5744
  }
5743
- function C2(u, D, f, e) {
5745
+ function l2(u, D, f, e) {
5744
5746
  f.toLowerCase() === "a" ? D.state = 16 : Qu(u, D, e);
5745
5747
  }
5746
- function c2(u, D, f, e) {
5748
+ function E2(u, D, f, e) {
5747
5749
  f.toLowerCase() === "i" ? D.state = 17 : Qu(u, D, e);
5748
5750
  }
5749
- function l2(u, D, f, e) {
5751
+ function h2(u, D, f, e) {
5750
5752
  f.toLowerCase() === "l" ? D.state = 18 : Qu(u, D, e);
5751
5753
  }
5752
- function E2(u, D, f, e) {
5754
+ function b2(u, D, f, e) {
5753
5755
  f.toLowerCase() === "t" ? D.state = 19 : Qu(u, D, e);
5754
5756
  }
5755
- function h2(u, D, f, e) {
5757
+ function p2(u, D, f, e) {
5756
5758
  f.toLowerCase() === "o" ? D.state = 20 : Qu(u, D, e);
5757
5759
  }
5758
- function b2(u, D, f) {
5760
+ function B2(u, D, f) {
5759
5761
  f === 58 ? D.state = 21 : Qu(u, D, f);
5760
5762
  }
5761
- function p2(u, D, f) {
5762
- Bf(f) ? D.state = 22 : u.removeMachine(D);
5763
+ function m2(u, D, f) {
5764
+ mf(f) ? D.state = 22 : u.removeMachine(D);
5763
5765
  }
5764
5766
  function Qu(u, D, f) {
5765
- f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : Bf(f) ? D.state = 22 : u.removeMachine(D);
5766
- }
5767
- function B2(u, D, f) {
5768
- f === 46 || f === 64 ? u.removeMachine(D) : Bf(f) ? D.state = 22 : u.removeMachine(D);
5769
- }
5770
- function m2(u, D, f) {
5771
- Yu(f) ? D.state = 25 : u.removeMachine(D);
5767
+ f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : mf(f) ? D.state = 22 : u.removeMachine(D);
5772
5768
  }
5773
5769
  function g2(u, D, f) {
5774
- f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : bf(f) || eu(u, D);
5770
+ f === 46 || f === 64 ? u.removeMachine(D) : mf(f) ? D.state = 22 : u.removeMachine(D);
5775
5771
  }
5776
5772
  function _2(u, D, f) {
5777
- f === 45 || f === 46 ? eu(u, D) : bf(f) ? D.state = 25 : eu(u, D);
5773
+ Yu(f) ? D.state = 25 : u.removeMachine(D);
5778
5774
  }
5779
5775
  function y2(u, D, f) {
5780
- f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5776
+ f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : pf(f) || eu(u, D);
5781
5777
  }
5782
5778
  function v2(u, D, f) {
5783
- M1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5779
+ f === 45 || f === 46 ? eu(u, D) : pf(f) ? D.state = 25 : eu(u, D);
5784
5780
  }
5785
5781
  function w2(u, D, f) {
5786
- M1(f) || eu(u, D);
5782
+ f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5787
5783
  }
5788
5784
  function A2(u, D, f) {
5789
- q1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5785
+ q1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5790
5786
  }
5791
5787
  function x2(u, D, f) {
5792
- q1(f) || (Zu(f) ? u.removeMachine(D) : eu(u, D));
5788
+ q1(f) || eu(u, D);
5793
5789
  }
5794
- function k2(u, D, f, e) {
5790
+ function k2(u, D, f) {
5791
+ z1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5792
+ }
5793
+ function j2(u, D, f) {
5794
+ z1(f) || (Zu(f) ? u.removeMachine(D) : eu(u, D));
5795
+ }
5796
+ function S2(u, D, f, e) {
5795
5797
  Eu(e) ? D.state = 38 : (u.removeMachine(D), jD(u, f, e));
5796
5798
  }
5797
- function j2(u, D, f, e) {
5799
+ function T2(u, D, f, e) {
5798
5800
  Eu(e) ? D.state = 33 : u.removeMachine(D), jD(u, f, e);
5799
5801
  }
5800
- function S2(u, D, f) {
5802
+ function N2(u, D, f) {
5801
5803
  Eu(f) ? D.state = 34 : u.removeMachine(D);
5802
5804
  }
5803
- function T2(u, D, f) {
5805
+ function O2(u, D, f) {
5804
5806
  Eu(f) ? D.state = 35 : u.removeMachine(D);
5805
5807
  }
5806
- function N2(u, D, f) {
5808
+ function R2(u, D, f) {
5807
5809
  f === 41 ? D.state = 36 : u.removeMachine(D);
5808
5810
  }
5809
- function O2(u, D, f, e) {
5810
- Eu(e) ? D.state = 38 : z1(e) ? D.state = 39 : u.removeMachine(D);
5811
+ function P2(u, D, f, e) {
5812
+ Eu(e) ? D.state = 38 : U1(e) ? D.state = 39 : u.removeMachine(D);
5811
5813
  }
5812
- function R2(u, D, f, e) {
5814
+ function I2(u, D, f, e) {
5813
5815
  var t = u.charIdx;
5814
- D.acceptStateReached = !0, mf(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(
5816
+ D.acceptStateReached = !0, gf(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(
5815
5817
  t,
5816
5818
  0
5817
5819
  /* State.SchemeChar */
5818
5820
  ))));
5819
5821
  }
5820
- function P2(u, D, f, e) {
5822
+ function $2(u, D, f, e) {
5821
5823
  Eu(e) ? D.state = 38 : e === 40 ? D.state = 32 : (eu(u, D), jD(u, f, e));
5822
5824
  }
5823
- function I2(u, D, f) {
5824
- mf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5825
+ function L2(u, D, f) {
5826
+ gf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5825
5827
  }
5826
- function $2(u, D, f) {
5827
- mf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5828
+ function M2(u, D, f) {
5829
+ gf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5828
5830
  }
5829
5831
  function eu(u, D) {
5830
5832
  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;
5831
5833
  if (u.removeMachine(D), !!D.acceptStateReached) {
5832
5834
  var c = D.startIdx, l = e.slice(D.startIdx, t);
5833
- switch (l = M2(l), D.type) {
5835
+ switch (l = z2(l), D.type) {
5834
5836
  case 0: {
5835
5837
  var j = e.charCodeAt(D.startIdx - 1);
5836
5838
  if (j === 64)
5837
5839
  return;
5838
5840
  switch (D.matchType) {
5839
5841
  case 0: {
5840
- var v = R1.exec(l);
5841
- if (v && (c = c + v.index, l = l.slice(v.index)), !m3(l))
5842
+ var v = P1.exec(l);
5843
+ if (v && (c = c + v.index, l = l.slice(v.index)), !_3(l))
5842
5844
  return;
5843
5845
  break;
5844
5846
  }
5845
5847
  case 1: {
5846
- if (!g3(l))
5848
+ if (!y3(l))
5847
5849
  return;
5848
5850
  break;
5849
5851
  }
5850
5852
  case 2: {
5851
- if (!v3(l))
5853
+ if (!A3(l))
5852
5854
  return;
5853
5855
  break;
5854
5856
  }
5855
5857
  default:
5856
5858
  Gu(D);
5857
5859
  }
5858
- f.push(new x3({
5860
+ f.push(new j3({
5859
5861
  tagBuilder: n,
5860
5862
  matchedText: l,
5861
5863
  offset: c,
5862
- urlMatchType: L2(D.matchType),
5864
+ urlMatchType: q2(D.matchType),
5863
5865
  url: l,
5864
5866
  protocolRelativeMatch: l.slice(0, 2) === "//",
5865
5867
  // TODO: Do these settings need to be passed to the match,
@@ -5871,16 +5873,16 @@ function eu(u, D) {
5871
5873
  break;
5872
5874
  }
5873
5875
  case 1: {
5874
- R3(l) && f.push(new P3({
5876
+ I3(l) && f.push(new $3({
5875
5877
  tagBuilder: n,
5876
5878
  matchedText: l,
5877
5879
  offset: c,
5878
- email: l.replace(O3, "")
5880
+ email: l.replace(P3, "")
5879
5881
  }));
5880
5882
  break;
5881
5883
  }
5882
5884
  case 2: {
5883
- I3(l) && f.push(new L3({
5885
+ L3(l) && f.push(new q3({
5884
5886
  tagBuilder: n,
5885
5887
  matchedText: l,
5886
5888
  offset: c,
@@ -5890,7 +5892,7 @@ function eu(u, D) {
5890
5892
  break;
5891
5893
  }
5892
5894
  case 3: {
5893
- q3(l, o) && f.push(new U3({
5895
+ U3(l, o) && f.push(new H3({
5894
5896
  tagBuilder: n,
5895
5897
  matchedText: l,
5896
5898
  offset: c,
@@ -5901,9 +5903,9 @@ function eu(u, D) {
5901
5903
  break;
5902
5904
  }
5903
5905
  case 4: {
5904
- if (l = l.replace(/ +$/g, ""), K3(l)) {
5906
+ if (l = l.replace(/ +$/g, ""), G3(l)) {
5905
5907
  var C = l.replace(/[^0-9,;#]/g, "");
5906
- f.push(new J3({
5908
+ f.push(new X3({
5907
5909
  tagBuilder: n,
5908
5910
  matchedText: l,
5909
5911
  offset: c,
@@ -5918,7 +5920,7 @@ function eu(u, D) {
5918
5920
  }
5919
5921
  }
5920
5922
  }
5921
- function L2(u) {
5923
+ function q2(u) {
5922
5924
  switch (u) {
5923
5925
  case 0:
5924
5926
  return "scheme";
@@ -5930,29 +5932,29 @@ function L2(u) {
5930
5932
  Gu(u);
5931
5933
  }
5932
5934
  }
5933
- var Wf = {
5935
+ var Kf = {
5934
5936
  ")": "(",
5935
5937
  "}": "{",
5936
5938
  "]": "["
5937
5939
  };
5938
- function M2(u) {
5940
+ function z2(u) {
5939
5941
  for (var D = {
5940
5942
  "(": 0,
5941
5943
  "{": 0,
5942
5944
  "[": 0
5943
5945
  }, f = 0; f < u.length; f++) {
5944
5946
  var e = u.charAt(f), t = u.charCodeAt(f);
5945
- l3(t) ? D[e]++ : Hf(t) && D[Wf[e]]--;
5947
+ h3(t) ? D[e]++ : Yf(t) && D[Kf[e]]--;
5946
5948
  }
5947
5949
  for (var n = u.length - 1; n >= 0; ) {
5948
5950
  var e = u.charAt(n), t = u.charCodeAt(n);
5949
- if (Hf(t)) {
5950
- var r = Wf[e];
5951
+ if (Yf(t)) {
5952
+ var r = Kf[e];
5951
5953
  if (D[r] < 0)
5952
5954
  D[r]++, n--;
5953
5955
  else
5954
5956
  break;
5955
- } else if (O1(t))
5957
+ } else if (R1(t))
5956
5958
  n--;
5957
5959
  else
5958
5960
  break;
@@ -5968,7 +5970,7 @@ function SD(u, D) {
5968
5970
  matchType: 0
5969
5971
  };
5970
5972
  }
5971
- function tf(u, D) {
5973
+ function nf(u, D) {
5972
5974
  return {
5973
5975
  type: 0,
5974
5976
  startIdx: u,
@@ -5977,7 +5979,7 @@ function tf(u, D) {
5977
5979
  matchType: 1
5978
5980
  };
5979
5981
  }
5980
- function q2(u, D) {
5982
+ function U2(u, D) {
5981
5983
  return {
5982
5984
  type: 0,
5983
5985
  startIdx: u,
@@ -5988,7 +5990,7 @@ function q2(u, D) {
5988
5990
  // starts at 1 because we create this machine when encountering the first octet
5989
5991
  };
5990
5992
  }
5991
- function z2(u, D) {
5993
+ function V2(u, D) {
5992
5994
  return {
5993
5995
  type: 1,
5994
5996
  startIdx: u,
@@ -5996,7 +5998,7 @@ function z2(u, D) {
5996
5998
  acceptStateReached: !1
5997
5999
  };
5998
6000
  }
5999
- function U2(u, D) {
6001
+ function H2(u, D) {
6000
6002
  return {
6001
6003
  type: 2,
6002
6004
  startIdx: u,
@@ -6004,7 +6006,7 @@ function U2(u, D) {
6004
6006
  acceptStateReached: !1
6005
6007
  };
6006
6008
  }
6007
- function V2(u, D) {
6009
+ function W2(u, D) {
6008
6010
  return {
6009
6011
  type: 3,
6010
6012
  startIdx: u,
@@ -6012,7 +6014,7 @@ function V2(u, D) {
6012
6014
  acceptStateReached: !1
6013
6015
  };
6014
6016
  }
6015
- function UD(u, D) {
6017
+ function VD(u, D) {
6016
6018
  return {
6017
6019
  type: 4,
6018
6020
  startIdx: u,
@@ -6020,7 +6022,7 @@ function UD(u, D) {
6020
6022
  acceptStateReached: !1
6021
6023
  };
6022
6024
  }
6023
- function Yf(u) {
6025
+ function Jf(u) {
6024
6026
  return u.type === 0 && u.matchType === 0;
6025
6027
  }
6026
6028
  var Su = (
@@ -6031,155 +6033,155 @@ var Su = (
6031
6033
  }
6032
6034
  return u;
6033
6035
  }()
6034
- ), gf = new Su(), H2 = (
6036
+ ), _f = new Su(), Y2 = (
6035
6037
  /** @class */
6036
6038
  /* @__PURE__ */ function() {
6037
6039
  function u(D, f) {
6038
- this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = gf, this.html = D, this.callbacks = f;
6040
+ this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = _f, this.html = D, this.callbacks = f;
6039
6041
  }
6040
6042
  return u;
6041
6043
  }()
6042
6044
  );
6043
- function W2(u, D) {
6044
- for (var f = new H2(u, D), e = u.length; f.charIdx < e; ) {
6045
+ function K2(u, D) {
6046
+ for (var f = new Y2(u, D), e = u.length; f.charIdx < e; ) {
6045
6047
  var t = u.charAt(f.charIdx), n = u.charCodeAt(f.charIdx);
6046
6048
  switch (f.state) {
6047
6049
  case 0:
6048
- Y2(f, t);
6050
+ J2(f, t);
6049
6051
  break;
6050
6052
  case 1:
6051
- K2(f, t, n);
6053
+ G2(f, t, n);
6052
6054
  break;
6053
6055
  case 2:
6054
- G2(f, t, n);
6056
+ Z2(f, t, n);
6055
6057
  break;
6056
6058
  case 3:
6057
- J2(f, t, n);
6059
+ X2(f, t, n);
6058
6060
  break;
6059
6061
  case 4:
6060
- X2(f, t, n);
6062
+ Q2(f, t, n);
6061
6063
  break;
6062
6064
  case 5:
6063
- Z2(f, t, n);
6065
+ ut(f, t, n);
6064
6066
  break;
6065
6067
  case 6:
6066
- Q2(f, t, n);
6068
+ Dt(f, t, n);
6067
6069
  break;
6068
6070
  case 7:
6069
- ut(f, t, n);
6071
+ ft(f, t, n);
6070
6072
  break;
6071
6073
  case 8:
6072
- Dt(f, t);
6074
+ et(f, t);
6073
6075
  break;
6074
6076
  case 9:
6075
- ft(f, t);
6077
+ tt(f, t);
6076
6078
  break;
6077
6079
  case 10:
6078
- et(f, t, n);
6080
+ nt(f, t, n);
6079
6081
  break;
6080
6082
  case 11:
6081
- tt(f, t, n);
6083
+ rt(f, t, n);
6082
6084
  break;
6083
6085
  case 12:
6084
- nt(f, t);
6086
+ at(f, t);
6085
6087
  break;
6086
6088
  case 13:
6087
- rt(f);
6089
+ st(f);
6088
6090
  break;
6089
6091
  case 14:
6090
- at(f, t);
6092
+ Ft(f, t);
6091
6093
  break;
6092
6094
  case 15:
6093
- st(f, t);
6095
+ it(f, t);
6094
6096
  break;
6095
6097
  case 16:
6096
- Ft(f, t);
6098
+ ot(f, t);
6097
6099
  break;
6098
6100
  case 17:
6099
- it(f, t);
6101
+ dt(f, t);
6100
6102
  break;
6101
6103
  case 18:
6102
- ot(f, t);
6104
+ Ct(f, t);
6103
6105
  break;
6104
6106
  case 19:
6105
- dt(f, t);
6107
+ ct(f, t);
6106
6108
  break;
6107
6109
  case 20:
6108
- Ct(f, t);
6110
+ lt(f, t);
6109
6111
  break;
6110
6112
  default:
6111
6113
  Gu(f.state);
6112
6114
  }
6113
6115
  f.charIdx++;
6114
6116
  }
6115
- f.currentDataIdx < f.charIdx && ct(f);
6117
+ f.currentDataIdx < f.charIdx && Et(f);
6116
6118
  }
6117
- function Y2(u, D) {
6119
+ function J2(u, D) {
6118
6120
  D === "<" && Ou(u);
6119
6121
  }
6120
- function K2(u, D, f) {
6121
- D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : rD(f) ? (u.state = 3, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = gf);
6122
- }
6123
- function J2(u, D, f) {
6124
- Xu(f) ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: VD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: VD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: VD(u) })), Ru(u)) : !rD(f) && !Eu(f) && D !== ":" && xu(u);
6125
- }
6126
6122
  function G2(u, D, f) {
6127
- D === ">" ? xu(u) : rD(f) ? u.state = 3 : xu(u);
6123
+ D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : rD(f) ? (u.state = 3, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = _f);
6128
6124
  }
6129
6125
  function X2(u, D, f) {
6130
- Xu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || hf(f) || d3(f) ? xu(u) : u.state = 5);
6126
+ Xu(f) ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: HD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: HD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: HD(u) })), Ru(u)) : !rD(f) && !Eu(f) && D !== ":" && xu(u);
6131
6127
  }
6132
6128
  function Z2(u, D, f) {
6133
- Xu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : hf(f) && xu(u);
6129
+ D === ">" ? xu(u) : rD(f) ? u.state = 3 : xu(u);
6134
6130
  }
6135
6131
  function Q2(u, D, f) {
6136
- Xu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : hf(f) ? xu(u) : u.state = 5);
6132
+ Xu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || bf(f) || c3(f) ? xu(u) : u.state = 5);
6137
6133
  }
6138
6134
  function ut(u, D, f) {
6135
+ Xu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : bf(f) && xu(u);
6136
+ }
6137
+ function Dt(u, D, f) {
6138
+ Xu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : bf(f) ? xu(u) : u.state = 5);
6139
+ }
6140
+ function ft(u, D, f) {
6139
6141
  Xu(f) || (D === '"' ? u.state = 8 : D === "'" ? u.state = 9 : /[>=`]/.test(D) ? xu(u) : D === "<" ? Ou(u) : u.state = 10);
6140
6142
  }
6141
- function Dt(u, D) {
6143
+ function et(u, D) {
6142
6144
  D === '"' && (u.state = 11);
6143
6145
  }
6144
- function ft(u, D) {
6146
+ function tt(u, D) {
6145
6147
  D === "'" && (u.state = 11);
6146
6148
  }
6147
- function et(u, D, f) {
6149
+ function nt(u, D, f) {
6148
6150
  Xu(f) ? u.state = 4 : D === ">" ? Ru(u) : D === "<" && Ou(u);
6149
6151
  }
6150
- function tt(u, D, f) {
6151
- Xu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, lt(u));
6152
+ function rt(u, D, f) {
6153
+ Xu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, ht(u));
6152
6154
  }
6153
- function nt(u, D) {
6155
+ function at(u, D) {
6154
6156
  D === ">" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isClosing: !0 })), Ru(u)) : xu(u);
6155
6157
  }
6156
- function rt(u) {
6158
+ function st(u) {
6157
6159
  var D = u.html, f = u.charIdx;
6158
6160
  D.slice(f, f + 2) === "--" ? (u.charIdx++, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { type: "comment" })), u.state = 14) : D.slice(f, f + 7).toUpperCase() === "DOCTYPE" ? (u.charIdx += 6, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { type: "doctype" })), u.state = 20) : xu(u);
6159
6161
  }
6160
- function at(u, D) {
6162
+ function Ft(u, D) {
6161
6163
  D === "-" ? u.state = 15 : D === ">" ? xu(u) : u.state = 16;
6162
6164
  }
6163
- function st(u, D) {
6165
+ function it(u, D) {
6164
6166
  D === "-" ? u.state = 18 : D === ">" ? xu(u) : u.state = 16;
6165
6167
  }
6166
- function Ft(u, D) {
6168
+ function ot(u, D) {
6167
6169
  D === "-" && (u.state = 17);
6168
6170
  }
6169
- function it(u, D) {
6171
+ function dt(u, D) {
6170
6172
  D === "-" ? u.state = 18 : u.state = 16;
6171
6173
  }
6172
- function ot(u, D) {
6174
+ function Ct(u, D) {
6173
6175
  D === ">" ? Ru(u) : D === "!" ? u.state = 19 : D === "-" || (u.state = 16);
6174
6176
  }
6175
- function dt(u, D) {
6177
+ function ct(u, D) {
6176
6178
  D === "-" ? u.state = 17 : D === ">" ? Ru(u) : u.state = 16;
6177
6179
  }
6178
- function Ct(u, D) {
6180
+ function lt(u, D) {
6179
6181
  D === ">" ? Ru(u) : D === "<" && Ou(u);
6180
6182
  }
6181
6183
  function xu(u) {
6182
- u.state = 0, u.currentTag = gf;
6184
+ u.state = 0, u.currentTag = _f;
6183
6185
  }
6184
6186
  function Ou(u) {
6185
6187
  u.state = 1, u.currentTag = new Su({ idx: u.charIdx });
@@ -6190,18 +6192,18 @@ function Ru(u) {
6190
6192
  var f = u.currentTag;
6191
6193
  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;
6192
6194
  }
6193
- function ct(u) {
6195
+ function Et(u) {
6194
6196
  var D = u.html.slice(u.currentDataIdx, u.charIdx);
6195
6197
  u.callbacks.onText(D, u.currentDataIdx), u.currentDataIdx = u.charIdx + 1;
6196
6198
  }
6197
- function VD(u) {
6199
+ function HD(u) {
6198
6200
  var D = u.currentTag.idx + (u.currentTag.isClosing ? 2 : 1);
6199
6201
  return u.html.slice(D, u.charIdx).toLowerCase();
6200
6202
  }
6201
- function lt(u) {
6203
+ function ht(u) {
6202
6204
  u.charIdx--;
6203
6205
  }
6204
- var Et = (
6206
+ var bt = (
6205
6207
  /** @class */
6206
6208
  function() {
6207
6209
  function u(D) {
@@ -6211,14 +6213,14 @@ var Et = (
6211
6213
  }, this.stripTrailingSlash = !0, this.decodePercentEncoding = !0, this.truncate = {
6212
6214
  length: 0,
6213
6215
  location: "end"
6214
- }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = ht(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 = bt(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;
6216
+ }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = pt(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 = Bt(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;
6215
6217
  var f = this.mention;
6216
- if (f !== !1 && z3.indexOf(f) === -1)
6218
+ if (f !== !1 && V3.indexOf(f) === -1)
6217
6219
  throw new Error("invalid `mention` cfg '".concat(f, "' - see docs"));
6218
6220
  var e = this.hashtag;
6219
- if (e !== !1 && $3.indexOf(e) === -1)
6221
+ if (e !== !1 && M3.indexOf(e) === -1)
6220
6222
  throw new Error("invalid `hashtag` cfg '".concat(e, "' - see docs"));
6221
- this.truncate = pt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6223
+ this.truncate = mt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6222
6224
  }
6223
6225
  return u.link = function(D, f) {
6224
6226
  var e = new u(f);
@@ -6228,7 +6230,7 @@ var Et = (
6228
6230
  return e.parse(D);
6229
6231
  }, u.prototype.parse = function(D) {
6230
6232
  var f = this, e = ["a", "style", "script"], t = 0, n = [];
6231
- return W2(D, {
6233
+ return K2(D, {
6232
6234
  onOpenTag: function(r) {
6233
6235
  e.indexOf(r) >= 0 && t++;
6234
6236
  },
@@ -6238,7 +6240,7 @@ var Et = (
6238
6240
  d.forEach(function(c, l) {
6239
6241
  if (l % 2 === 0) {
6240
6242
  var j = f.parseText(c, o);
6241
- n.push.apply(n, e3([], f3(j), !1));
6243
+ n.push.apply(n, n3([], t3(j), !1));
6242
6244
  }
6243
6245
  o += c.length;
6244
6246
  });
@@ -6255,7 +6257,7 @@ var Et = (
6255
6257
  // no need to process doctype nodes
6256
6258
  }), n = this.compactMatches(n), n = this.removeUnwantedMatches(n), n;
6257
6259
  }, u.prototype.compactMatches = function(D) {
6258
- D.sort(Bt);
6260
+ D.sort(gt);
6259
6261
  for (var f = 0; f < D.length - 1; ) {
6260
6262
  var e = D[f], t = e.getOffset(), n = e.getMatchedText().length;
6261
6263
  if (f + 1 < D.length && D[f + 1].getOffset() === t) {
@@ -6284,7 +6286,7 @@ var Et = (
6284
6286
  }), D;
6285
6287
  }, u.prototype.parseText = function(D, f) {
6286
6288
  f = f || 0;
6287
- for (var e = X3(D, {
6289
+ for (var e = Q3(D, {
6288
6290
  tagBuilder: this.getTagBuilder(),
6289
6291
  stripPrefix: this.stripPrefix,
6290
6292
  stripTrailingSlash: this.stripTrailingSlash,
@@ -6309,37 +6311,37 @@ var Et = (
6309
6311
  return f;
6310
6312
  if (f === !1)
6311
6313
  return D.getMatchedText();
6312
- if (f instanceof N1)
6314
+ if (f instanceof O1)
6313
6315
  return f.toAnchorString();
6314
6316
  var e = D.buildTag();
6315
6317
  return e.toAnchorString();
6316
6318
  }, u.prototype.getTagBuilder = function() {
6317
6319
  var D = this.tagBuilder;
6318
- return D || (D = this.tagBuilder = new o3({
6320
+ return D || (D = this.tagBuilder = new C3({
6319
6321
  newWindow: this.newWindow,
6320
6322
  truncate: this.truncate,
6321
6323
  className: this.className
6322
6324
  })), D;
6323
- }, u.version = t3, u;
6325
+ }, u.version = r3, u;
6324
6326
  }()
6325
6327
  );
6326
- function ht(u) {
6328
+ function pt(u) {
6327
6329
  return u == null && (u = !0), wu(u) ? { schemeMatches: u, tldMatches: u, ipV4Matches: u } : {
6328
6330
  schemeMatches: wu(u.schemeMatches) ? u.schemeMatches : !0,
6329
6331
  tldMatches: wu(u.tldMatches) ? u.tldMatches : !0,
6330
6332
  ipV4Matches: wu(u.ipV4Matches) ? u.ipV4Matches : !0
6331
6333
  };
6332
6334
  }
6333
- function bt(u) {
6335
+ function Bt(u) {
6334
6336
  return u == null && (u = !0), wu(u) ? { scheme: u, www: u } : {
6335
6337
  scheme: wu(u.scheme) ? u.scheme : !0,
6336
6338
  www: wu(u.www) ? u.www : !0
6337
6339
  };
6338
6340
  }
6339
- function pt(u) {
6341
+ function mt(u) {
6340
6342
  return typeof u == "number" ? { length: u, location: "end" } : Fu({ length: Number.POSITIVE_INFINITY, location: "end" }, u);
6341
6343
  }
6342
- function Bt(u, D) {
6344
+ function gt(u, D) {
6343
6345
  return u.getOffset() - D.getOffset();
6344
6346
  }
6345
6347
  const Ju = [
@@ -6348,28 +6350,28 @@ const Ju = [
6348
6350
  { name: "New Zealand", countryCode: "+64", code: "NZ", flag: "🇳🇿" },
6349
6351
  { name: "United Kingdom", countryCode: "+44", code: "UK", flag: "🇬🇧" },
6350
6352
  { name: "Indonesia", countryCode: "+62", code: "ID", flag: "🇮🇩" }
6351
- ], mt = {
6353
+ ], _t = {
6352
6354
  AU: /^(?:\+?(61))? ?(?:\((?=.*\))\))?(0?[4])\)? ?(\d\d(?:[- ](?=\d{3})|(?!\d\d[- ]?\d[- ]))\d\d[- ]?\d[- ]?\d{3})$/gm,
6353
6355
  US: /^(\+?1\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6354
6356
  UK: /^(\+?44\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6355
6357
  NZ: /^(\+?64\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6356
6358
  ID: /^(\+?62\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm
6357
- }, gt = {
6359
+ }, yt = {
6358
6360
  AU: "+61",
6359
6361
  US: "+1",
6360
6362
  NZ: "+64",
6361
6363
  UK: "+44",
6362
6364
  ID: "+62"
6363
- }, _t = (u) => u.toUpperCase(), yt = (u) => u.replace(/\s+/g, "").replace(/[^0-9+]/g, "");
6364
- function vt(u, D) {
6365
- const f = gt[u];
6365
+ }, vt = (u) => u.toUpperCase(), wt = (u) => u.replace(/\s+/g, "").replace(/[^0-9+]/g, "");
6366
+ function At(u, D) {
6367
+ const f = yt[u];
6366
6368
  return D.startsWith(f) ? { cleanNumber: D.slice(f.length), countryCode: f } : { cleanNumber: D, countryCode: f };
6367
6369
  }
6368
- function wt(u, D) {
6369
- const f = mt[u];
6370
+ function xt(u, D) {
6371
+ const f = _t[u];
6370
6372
  return new RegExp(f.source, "mi").test(D);
6371
6373
  }
6372
- function At({
6374
+ function kt({
6373
6375
  number: u,
6374
6376
  region: D,
6375
6377
  validateDuplicate: f,
@@ -6381,26 +6383,26 @@ function At({
6381
6383
  cleanNumber: "",
6382
6384
  errorMessage: "",
6383
6385
  isValid: !1
6384
- }, n = _t(D);
6386
+ }, n = vt(D);
6385
6387
  if (!u)
6386
6388
  return t.errorMessage = "Number is empty", t;
6387
6389
  const r = u.trim();
6388
- let s = yt(u);
6390
+ let s = wt(u);
6389
6391
  s = s.startsWith("0") ? s.slice(1) : s;
6390
- const { cleanNumber: F, countryCode: d } = vt(
6392
+ const { cleanNumber: F, countryCode: d } = At(
6391
6393
  n,
6392
6394
  s
6393
6395
  );
6394
6396
  s = F, t.fullNumber = `${d}${s}`, t.cleanNumber = s;
6395
6397
  try {
6396
- if (!wt(n, r)) throw new Error("Please enter a valid phone number");
6398
+ if (!xt(n, r)) throw new Error("Please enter a valid phone number");
6397
6399
  t.isValid = !0;
6398
6400
  } catch (o) {
6399
6401
  t.errorMessage = o.message, t.isValid = !1;
6400
6402
  }
6401
6403
  return t;
6402
6404
  }
6403
- const U1 = ({
6405
+ const V1 = ({
6404
6406
  initialData: u,
6405
6407
  loadFromDataUserSubs: D = !1
6406
6408
  } = {}) => {
@@ -6429,7 +6431,7 @@ const U1 = ({
6429
6431
  if (!C.isRequired && _ && I === "")
6430
6432
  return "";
6431
6433
  if (g) {
6432
- const P = At({
6434
+ const P = kt({
6433
6435
  number: g,
6434
6436
  region: B,
6435
6437
  validateDuplicate: !1,
@@ -6754,7 +6756,7 @@ const U1 = ({
6754
6756
  validateAll: v
6755
6757
  };
6756
6758
  };
6757
- function xt(u) {
6759
+ function jt(u) {
6758
6760
  const D = {};
6759
6761
  return Object.entries(u).forEach(([f, e]) => {
6760
6762
  if (e) {
@@ -6767,13 +6769,13 @@ function xt(u) {
6767
6769
  }
6768
6770
  }), D;
6769
6771
  }
6770
- const kt = ({
6772
+ const St = ({
6771
6773
  onSubmit: u,
6772
6774
  onFormStateChange: D
6773
6775
  }) => {
6774
6776
  const { colors: f } = iu(), e = Wu(), t = pu(), { socket: n } = tD(), { setScreen: r } = Nu();
6775
6777
  zu();
6776
- const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = du(), { formData: j, renderContactFormField: v, errors: C, validateAll: y } = U1({
6778
+ const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = du(), { formData: j, renderContactFormField: v, errors: C, validateAll: y } = V1({
6777
6779
  initialData: {},
6778
6780
  loadFromDataUserSubs: !0
6779
6781
  }), [x, g] = U(!1), [T, _] = U(!1);
@@ -6790,7 +6792,7 @@ const kt = ({
6790
6792
  var h;
6791
6793
  E.isDisplay && j[E.key] !== void 0 && (O[E.key] = ((h = j[E.key]) == null ? void 0 : h.toString().trim()) || "");
6792
6794
  });
6793
- const L = xt(O);
6795
+ const L = jt(O);
6794
6796
  if (!X.getItem("profileLiveChat"))
6795
6797
  try {
6796
6798
  const E = new URLSearchParams();
@@ -6900,7 +6902,7 @@ const kt = ({
6900
6902
  ] }) })
6901
6903
  }
6902
6904
  );
6903
- }, jt = ({
6905
+ }, Tt = ({
6904
6906
  message: u,
6905
6907
  onFormSubmitted: D
6906
6908
  }) => {
@@ -6911,7 +6913,7 @@ const kt = ({
6911
6913
  const n = () => {
6912
6914
  if (u.direction === uu.received && t.current) {
6913
6915
  const F = t.current.innerText;
6914
- let d = Et.link(F, {
6916
+ let d = bt.link(F, {
6915
6917
  className: "chatLink",
6916
6918
  truncate: { length: 50, location: "smart" }
6917
6919
  });
@@ -6922,7 +6924,7 @@ const kt = ({
6922
6924
  throw new Error("Unable to find text.");
6923
6925
  const r = f[u.direction || uu.received];
6924
6926
  return "isShowForm" in u.data && u.data.isShowForm ? /* @__PURE__ */ a.jsx(
6925
- kt,
6927
+ St,
6926
6928
  {
6927
6929
  onFormStateChange: (F) => {
6928
6930
  e(F), !F && D && D(!0);
@@ -6939,7 +6941,7 @@ const kt = ({
6939
6941
  children: /* @__PURE__ */ a.jsx("p", { className: "sc-message--text-content", ref: t, children: u.data.text })
6940
6942
  }
6941
6943
  ) });
6942
- }, Kf = ({
6944
+ }, Gf = ({
6943
6945
  viewBox: u = "0 0 24 24",
6944
6946
  fill: D = "none",
6945
6947
  stroke: f = "",
@@ -6960,13 +6962,13 @@ const kt = ({
6960
6962
  ...r,
6961
6963
  children: /* @__PURE__ */ a.jsx("path", { d: "M20 6L9 17l-5-5" })
6962
6964
  }
6963
- ), St = ({ message: u }) => {
6965
+ ), Nt = ({ message: u }) => {
6964
6966
  const { colors: D } = iu();
6965
6967
  if (!("delivery" in u && "read" in u))
6966
6968
  throw new Error("Unable to find delivery/read attributes");
6967
6969
  return /* @__PURE__ */ a.jsxs("div", { className: "sc--status", style: { color: D.messageStatus.bg }, children: [
6968
6970
  u.read && /* @__PURE__ */ a.jsx("div", { className: "sc--status-wrapper sc--status-read", title: "Read", children: /* @__PURE__ */ a.jsx(
6969
- Kf,
6971
+ Gf,
6970
6972
  {
6971
6973
  width: "16px",
6972
6974
  height: "16px",
@@ -6980,7 +6982,7 @@ const kt = ({
6980
6982
  className: "sc--status-wrapper sc--status-delivery",
6981
6983
  title: "Delivered",
6982
6984
  children: /* @__PURE__ */ a.jsx(
6983
- Kf,
6985
+ Gf,
6984
6986
  {
6985
6987
  width: "16px",
6986
6988
  height: "16px",
@@ -6992,15 +6994,15 @@ const kt = ({
6992
6994
  )
6993
6995
  ] });
6994
6996
  };
6995
- j1.extend(We);
6996
- const Tt = ({ message: u, Avatar: D }) => {
6997
+ S1.extend(Ke);
6998
+ const Ot = ({ message: u, Avatar: D }) => {
6997
6999
  const { participants: f } = du(), { colors: e } = iu(), [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(
6998
7000
  (j) => j.id === u.author
6999
7001
  ) || {
7000
7002
  name: "Anon"
7001
7003
  }, c = () => {
7002
7004
  n(!t);
7003
- }, l = (j) => j1(j).fromNow();
7005
+ }, l = (j) => S1(j).fromNow();
7004
7006
  return /* @__PURE__ */ a.jsx("div", { className: `sc-message ${u.direction}`, children: /* @__PURE__ */ a.jsxs("div", { className: `sc-message--content ${u.direction}`, children: [
7005
7007
  (!r || !d) && /* @__PURE__ */ a.jsx(
7006
7008
  "div",
@@ -7018,24 +7020,24 @@ const Tt = ({ message: u, Avatar: D }) => {
7018
7020
  height: 32,
7019
7021
  style: { borderRadius: "50%" }
7020
7022
  }
7021
- ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(T1, { width: "32px", height: "32px" })
7023
+ ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(N1, { width: "32px", height: "32px" })
7022
7024
  }
7023
7025
  ),
7024
7026
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--wrapper", onClick: c, children: [
7025
7027
  u.data && "text" in u.data && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
7026
- jt,
7028
+ Tt,
7027
7029
  {
7028
7030
  message: u,
7029
7031
  onFormSubmitted: s
7030
7032
  }
7031
7033
  ) }),
7032
- u.type === "file" && /* @__PURE__ */ a.jsx(Qe, { message: u }),
7033
- u.type === "location" && /* @__PURE__ */ a.jsx(u3, { message: u }),
7034
- u.type === "list" && /* @__PURE__ */ a.jsx(D3, { messageList: u }),
7035
- u.type === "carousel" && /* @__PURE__ */ a.jsx(Xe, { messageCarousel: u }),
7034
+ u.type === "file" && /* @__PURE__ */ a.jsx(D3, { message: u }),
7035
+ u.type === "location" && /* @__PURE__ */ a.jsx(f3, { message: u }),
7036
+ u.type === "list" && /* @__PURE__ */ a.jsx(e3, { messageList: u }),
7037
+ u.type === "carousel" && /* @__PURE__ */ a.jsx(Qe, { messageCarousel: u }),
7036
7038
  u.type === "buttons" && /* @__PURE__ */ a.jsx(vD, { message: u }),
7037
7039
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--meta", children: [
7038
- u.direction === "sent" && /* @__PURE__ */ a.jsx(St, { message: u }),
7040
+ u.direction === "sent" && /* @__PURE__ */ a.jsx(Nt, { message: u }),
7039
7041
  /* @__PURE__ */ a.jsx(
7040
7042
  "div",
7041
7043
  {
@@ -7047,7 +7049,7 @@ const Tt = ({ message: u, Avatar: D }) => {
7047
7049
  ] })
7048
7050
  ] })
7049
7051
  ] }) });
7050
- }, Nt = () => {
7052
+ }, Rt = () => {
7051
7053
  const { colors: u } = iu();
7052
7054
  return /* @__PURE__ */ a.jsxs(
7053
7055
  "div",
@@ -7064,7 +7066,7 @@ const Tt = ({ message: u, Avatar: D }) => {
7064
7066
  ]
7065
7067
  }
7066
7068
  );
7067
- }, Ot = ({
7069
+ }, Pt = ({
7068
7070
  Avatar: u,
7069
7071
  phone: D
7070
7072
  }) => {
@@ -7084,7 +7086,7 @@ const Tt = ({ message: u, Avatar: D }) => {
7084
7086
  style: r.imageUrl ? {
7085
7087
  backgroundImage: `url(${r.imageUrl}?color=${encodeURIComponent(e.header.bg)})`
7086
7088
  } : void 0,
7087
- children: u ? /* @__PURE__ */ a.jsx(u, {}) : r.imageUrl ? null : /* @__PURE__ */ a.jsx(T1, { width: "32px", height: "32px" })
7089
+ children: u ? /* @__PURE__ */ a.jsx(u, {}) : r.imageUrl ? null : /* @__PURE__ */ a.jsx(N1, { width: "32px", height: "32px" })
7088
7090
  }
7089
7091
  ),
7090
7092
  /* @__PURE__ */ a.jsx("div", { className: "sc-message--wrapper", children: /* @__PURE__ */ a.jsxs(
@@ -7112,7 +7114,7 @@ const Tt = ({ message: u, Avatar: D }) => {
7112
7114
  }
7113
7115
  ) })
7114
7116
  ] }) });
7115
- }, Rt = ({ Avatar: u }) => {
7117
+ }, It = ({ Avatar: u }) => {
7116
7118
  const { scroll: D, setScroll: f, isOpen: e } = Nu(), { messages: t, showTypingIndicator: n, setNewIOMessage: r, setMessages: s } = du(), F = pu(), { colors: d } = iu(), { formSettings: o } = pu(), [c, l] = U(""), j = F.offline_mode, v = kD(j), C = (T) => {
7117
7119
  if (!("text" in T.data)) return !1;
7118
7120
  const _ = T.data.text || "", B = (m) => m.toLowerCase().replace(/\s+/g, "").replace(/[^a-z0-9_]/g, ""), I = _.split(`
@@ -7163,7 +7165,7 @@ const Tt = ({ message: u, Avatar: D }) => {
7163
7165
  direction: uu.received,
7164
7166
  read: !0,
7165
7167
  delivery: !0,
7166
- type: YD.text,
7168
+ type: KD.text,
7167
7169
  data: {
7168
7170
  text: "Enter your information, and our team will text you shortly.",
7169
7171
  isOffline: !0,
@@ -7179,7 +7181,7 @@ const Tt = ({ message: u, Avatar: D }) => {
7179
7181
  direction: uu.received,
7180
7182
  read: !0,
7181
7183
  delivery: !0,
7182
- type: YD.text,
7184
+ type: KD.text,
7183
7185
  data: {
7184
7186
  text: "Show Form",
7185
7187
  isOffline: !0,
@@ -7211,16 +7213,16 @@ const Tt = ({ message: u, Avatar: D }) => {
7211
7213
  ref: y,
7212
7214
  style: { backgroundColor: d.messageList.bg },
7213
7215
  children: [
7214
- t.map((T) => /* @__PURE__ */ a.jsxs(af.Fragment, { children: [
7215
- /* @__PURE__ */ a.jsx(Tt, { message: T, Avatar: u }),
7216
- C(T) && v && /* @__PURE__ */ a.jsx(Ot, { phone: c })
7216
+ t.map((T) => /* @__PURE__ */ a.jsxs(sf.Fragment, { children: [
7217
+ /* @__PURE__ */ a.jsx(Ot, { message: T, Avatar: u }),
7218
+ C(T) && v && /* @__PURE__ */ a.jsx(Pt, { phone: c })
7217
7219
  ] }, T.mid)),
7218
- n && /* @__PURE__ */ a.jsx(Nt, {})
7220
+ n && /* @__PURE__ */ a.jsx(Rt, {})
7219
7221
  ]
7220
7222
  }
7221
7223
  );
7222
7224
  };
7223
- var nf = { exports: {} };
7225
+ var rf = { exports: {} };
7224
7226
  (function(u, D) {
7225
7227
  (function() {
7226
7228
  var f = this, e = f.EmojiConvertor, t = function() {
@@ -9809,9 +9811,9 @@ var nf = { exports: {} };
9809
9811
  }).call(/* @__PURE__ */ function() {
9810
9812
  return this || (typeof window < "u" ? window : dD);
9811
9813
  }());
9812
- })(nf, nf.exports);
9813
- var Pt = nf.exports;
9814
- const It = /* @__PURE__ */ sf(Pt), $t = [
9814
+ })(rf, rf.exports);
9815
+ var $t = rf.exports;
9816
+ const Lt = /* @__PURE__ */ Ff($t), Mt = [
9815
9817
  {
9816
9818
  name: "People",
9817
9819
  emojis: [
@@ -10465,8 +10467,8 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10465
10467
  "🔹"
10466
10468
  ]
10467
10469
  }
10468
- ], Lt = ({ onBlur: u, onSelect: D }) => {
10469
- const f = gu(new It()), e = gu(null);
10470
+ ], qt = ({ onBlur: u, onSelect: D }) => {
10471
+ const f = gu(new Lt()), e = gu(null);
10470
10472
  Z(() => {
10471
10473
  const n = e.current;
10472
10474
  n && (n.style.opacity = "0", window.requestAnimationFrame(() => {
@@ -10476,7 +10478,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10476
10478
  const t = (n, r) => {
10477
10479
  D(n, r), e.current && e.current.blur();
10478
10480
  };
10479
- 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: [
10481
+ 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: Mt.map((n) => /* @__PURE__ */ a.jsxs("div", { className: "sc-emoji-picker--category", children: [
10480
10482
  /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--category-title", children: n.name }),
10481
10483
  n.emojis.map((r) => /* @__PURE__ */ a.jsx(
10482
10484
  "span",
@@ -10488,7 +10490,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10488
10490
  r
10489
10491
  ))
10490
10492
  ] }, n.name)) }) });
10491
- }, Mt = ({
10493
+ }, zt = ({
10492
10494
  x: u = "0",
10493
10495
  y: D = "0",
10494
10496
  className: f = "sc-user-input--emoji-icon",
@@ -10511,7 +10513,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10511
10513
  /* @__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" })
10512
10514
  ]
10513
10515
  }
10514
- ), qt = ({ inputRef: u, onInput: D }) => {
10516
+ ), Ut = ({ inputRef: u, onInput: D }) => {
10515
10517
  const [f, e] = U(!1), t = gu(null), n = () => {
10516
10518
  e(!f);
10517
10519
  }, r = (d) => {
@@ -10527,7 +10529,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10527
10529
  }
10528
10530
  };
10529
10531
  return /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--picker-wrapper", children: [
10530
- f && /* @__PURE__ */ a.jsx(Lt, { onBlur: r, onSelect: s }),
10532
+ f && /* @__PURE__ */ a.jsx(qt, { onBlur: r, onSelect: s }),
10531
10533
  /* @__PURE__ */ a.jsx(
10532
10534
  "button",
10533
10535
  {
@@ -10537,11 +10539,11 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10537
10539
  id: "sc-emoji-button",
10538
10540
  className: "sc-user-input--emoji-icon-wrapper",
10539
10541
  ref: t,
10540
- children: /* @__PURE__ */ a.jsx(Mt, {})
10542
+ children: /* @__PURE__ */ a.jsx(zt, {})
10541
10543
  }
10542
10544
  )
10543
10545
  ] });
10544
- }, zt = {
10546
+ }, Vt = {
10545
10547
  images: ["image/jpeg", "image/png", "image/webp", "image/bmp"],
10546
10548
  videos: [
10547
10549
  "video/mp4",
@@ -10587,7 +10589,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10587
10589
  "application/json",
10588
10590
  "text/csv"
10589
10591
  ]
10590
- }, V1 = ({
10592
+ }, H1 = ({
10591
10593
  x: u = "0",
10592
10594
  y: D = "0",
10593
10595
  className: f = "sc-user-input--file-icon",
@@ -10607,17 +10609,17 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10607
10609
  " "
10608
10610
  ]
10609
10611
  }
10610
- ), Ut = () => {
10612
+ ), Ht = () => {
10611
10613
  const { setFile: u } = du(), D = (t) => {
10612
10614
  t.target.value = "";
10613
10615
  }, f = (t) => {
10614
10616
  t.target.files && t.target.files[0] && u && u(t.target.files[0]);
10615
- }, e = d0(
10616
- () => Object.values(zt).flat().join(","),
10617
+ }, e = C0(
10618
+ () => Object.values(Vt).flat().join(","),
10617
10619
  []
10618
10620
  );
10619
10621
  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: [
10620
- /* @__PURE__ */ a.jsx(V1, {}),
10622
+ /* @__PURE__ */ a.jsx(H1, {}),
10621
10623
  /* @__PURE__ */ a.jsx(
10622
10624
  "input",
10623
10625
  {
@@ -10629,7 +10631,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10629
10631
  }
10630
10632
  )
10631
10633
  ] }) });
10632
- }, Vt = ({
10634
+ }, Wt = ({
10633
10635
  x: u = "0",
10634
10636
  y: D = "0",
10635
10637
  className: f = "sc-user-input--location-icon",
@@ -10648,7 +10650,7 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10648
10650
  ...n,
10649
10651
  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" })
10650
10652
  }
10651
- ), Ht = () => {
10653
+ ), Yt = () => {
10652
10654
  const { setPayload: u, send: D } = du(), f = pu(), e = (t) => {
10653
10655
  navigator.geolocation ? navigator.geolocation.getCurrentPosition(
10654
10656
  (n) => {
@@ -10682,12 +10684,12 @@ const It = /* @__PURE__ */ sf(Pt), $t = [
10682
10684
  onClick: e,
10683
10685
  type: "button",
10684
10686
  className: "sc-user-input--location-icon-wrapper",
10685
- children: /* @__PURE__ */ a.jsx(Vt, {})
10687
+ children: /* @__PURE__ */ a.jsx(Wt, {})
10686
10688
  }
10687
10689
  ) });
10688
10690
  };
10689
- var rf = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(rf || {});
10690
- const Wt = ({ item: u, onPostback: D }) => {
10691
+ var af = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(af || {});
10692
+ const Kt = ({ item: u, onPostback: D }) => {
10691
10693
  const { colors: f } = iu(), e = () => {
10692
10694
  switch (u.type) {
10693
10695
  case "web_url":
@@ -10708,16 +10710,16 @@ const Wt = ({ item: u, onPostback: D }) => {
10708
10710
  children: /* @__PURE__ */ a.jsx("span", { className: "sc-menu-item-text", children: u.title })
10709
10711
  }
10710
10712
  ) });
10711
- }, Yt = () => {
10713
+ }, Jt = () => {
10712
10714
  const u = pu(), { send: D, setPayload: f } = du(), [e, t] = U({
10713
10715
  title: "Menu",
10714
- type: rf.nested,
10716
+ type: af.nested,
10715
10717
  call_to_actions: (u == null ? void 0 : u.menu) || []
10716
10718
  }), n = gu(null);
10717
10719
  Z(() => {
10718
10720
  t({
10719
10721
  title: "Menu",
10720
- type: rf.nested,
10722
+ type: af.nested,
10721
10723
  call_to_actions: (u == null ? void 0 : u.menu) || []
10722
10724
  });
10723
10725
  }, [u]);
@@ -10745,7 +10747,7 @@ const Wt = ({ item: u, onPostback: D }) => {
10745
10747
  ref: n,
10746
10748
  className: "sc-menu-elements-carousel sc-menu-always-visible",
10747
10749
  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(
10748
- Wt,
10750
+ Kt,
10749
10751
  {
10750
10752
  item: F,
10751
10753
  parent: e,
@@ -10755,13 +10757,13 @@ const Wt = ({ item: u, onPostback: D }) => {
10755
10757
  ) }, d)) })
10756
10758
  }
10757
10759
  ) });
10758
- }, Kt = ({
10760
+ }, Gt = ({
10759
10761
  viewBox: u = "0 0 48 48",
10760
10762
  ...D
10761
10763
  }) => /* @__PURE__ */ a.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: [
10762
10764
  /* @__PURE__ */ a.jsx("path", { d: "M4.02 42L46 24 4.02 6 4 20l30 4-30 4z" }),
10763
10765
  /* @__PURE__ */ a.jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
10764
- ] }), Jt = (u) => {
10766
+ ] }), Xt = (u) => {
10765
10767
  const { onClick: D, ...f } = u;
10766
10768
  return /* @__PURE__ */ a.jsx(
10767
10769
  "button",
@@ -10769,10 +10771,10 @@ const Wt = ({ item: u, onPostback: D }) => {
10769
10771
  onClick: D,
10770
10772
  ...f,
10771
10773
  className: "sc-user-input--button-icon-wrapper",
10772
- children: /* @__PURE__ */ a.jsx(Kt, {})
10774
+ children: /* @__PURE__ */ a.jsx(Gt, {})
10773
10775
  }
10774
10776
  );
10775
- }, Gt = () => {
10777
+ }, Zt = () => {
10776
10778
  const { setPayload: u, send: D, suggestions: f } = du(), e = pu(), { colors: t } = iu(), n = (r, s) => {
10777
10779
  u(s), D({
10778
10780
  event: r,
@@ -10800,7 +10802,7 @@ const Wt = ({ item: u, onPostback: D }) => {
10800
10802
  ))
10801
10803
  }
10802
10804
  );
10803
- }, Xt = () => {
10805
+ }, Qt = () => {
10804
10806
  var J;
10805
10807
  const { maxUploadSize: u } = Wu(), { t: D } = zu(), { colors: f } = iu(), {
10806
10808
  suggestions: e,
@@ -10881,9 +10883,9 @@ const Wt = ({ item: u, onPostback: D }) => {
10881
10883
  (z = B.current) == null || z.focus();
10882
10884
  }, 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";
10883
10885
  return (M || !(N != null && N.id)) && !V ? null : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10884
- j.length > 0 && /* @__PURE__ */ a.jsx(Yt, {}),
10886
+ j.length > 0 && /* @__PURE__ */ a.jsx(Jt, {}),
10885
10887
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input-wrapper", children: [
10886
- e.length > 0 && /* @__PURE__ */ a.jsx(Gt, {}),
10888
+ e.length > 0 && /* @__PURE__ */ a.jsx(Zt, {}),
10887
10889
  (r || R) && /* @__PURE__ */ a.jsxs(
10888
10890
  "div",
10889
10891
  {
@@ -10894,7 +10896,7 @@ const Wt = ({ item: u, onPostback: D }) => {
10894
10896
  },
10895
10897
  children: [
10896
10898
  /* @__PURE__ */ a.jsx(
10897
- V1,
10899
+ H1,
10898
10900
  {
10899
10901
  width: "16px",
10900
10902
  height: "16px",
@@ -10904,7 +10906,7 @@ const Wt = ({ item: u, onPostback: D }) => {
10904
10906
  I && /* @__PURE__ */ a.jsx("span", { children: I }),
10905
10907
  R && /* @__PURE__ */ a.jsx("span", { children: "Loading..." }),
10906
10908
  r && r.name && !I && /* @__PURE__ */ a.jsx("span", { children: r.name.length > 23 ? `${r.name.substring(0, 23)}...` : r.name }),
10907
- /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: k, children: /* @__PURE__ */ a.jsx(Ef, { height: "10" }) })
10909
+ /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: k, children: /* @__PURE__ */ a.jsx(hf, { height: "10" }) })
10908
10910
  ]
10909
10911
  }
10910
10912
  ),
@@ -10947,11 +10949,11 @@ const Wt = ({ item: u, onPostback: D }) => {
10947
10949
  }
10948
10950
  ),
10949
10951
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--buttons", children: [
10950
- x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(qt, { inputRef: B, onInput: E }) }),
10951
- g && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ht, {}) }),
10952
- T && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ut, {}) }),
10952
+ x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ut, { inputRef: B, onInput: E }) }),
10953
+ g && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Yt, {}) }),
10954
+ T && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ht, {}) }),
10953
10955
  /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(
10954
- Jt,
10956
+ Xt,
10955
10957
  {
10956
10958
  disabled: !t,
10957
10959
  onClick: (z) => h(z)
@@ -10963,7 +10965,7 @@ const Wt = ({ item: u, onPostback: D }) => {
10963
10965
  )
10964
10966
  ] })
10965
10967
  ] });
10966
- }, Zt = ({
10968
+ }, u8 = ({
10967
10969
  width: u = "24",
10968
10970
  height: D = "24",
10969
10971
  fill: f = "none",
@@ -10988,7 +10990,7 @@ const Wt = ({ item: u, onPostback: D }) => {
10988
10990
  ...F,
10989
10991
  children: /* @__PURE__ */ a.jsx("path", { stroke: "#fff", strokeOpacity: "1", d: "M15 18L9 12 15 6" })
10990
10992
  }
10991
- ), Qt = () => {
10993
+ ), D8 = () => {
10992
10994
  const { t: u } = zu(), { colors: D } = iu(), { setWebviewUrl: f, webviewUrl: e } = du(), [t, n] = U(!1);
10993
10995
  Z(() => {
10994
10996
  n(!0);
@@ -11004,13 +11006,13 @@ const Wt = ({ item: u, onPostback: D }) => {
11004
11006
  className: "sc-webview--footer",
11005
11007
  style: { background: D.header.bg, color: D.header.text },
11006
11008
  children: /* @__PURE__ */ a.jsxs("h3", { className: "sc-webview--button", onClick: r, children: [
11007
- /* @__PURE__ */ a.jsx(Zt, { width: "16px", height: "16px" }),
11009
+ /* @__PURE__ */ a.jsx(u8, { width: "16px", height: "16px" }),
11008
11010
  u("settings.back")
11009
11011
  ] })
11010
11012
  }
11011
11013
  )
11012
11014
  ] });
11013
- }, u8 = ({
11015
+ }, f8 = ({
11014
11016
  CustomHeader: u,
11015
11017
  CustomAvatar: D,
11016
11018
  PreChat: f,
@@ -11018,15 +11020,15 @@ const Wt = ({ item: u, onPostback: D }) => {
11018
11020
  }) => {
11019
11021
  const { connectionState: t } = du(), { screen: n, isOpen: r } = Nu();
11020
11022
  return /* @__PURE__ */ a.jsxs("div", { className: `sc-chat-window ${r ? "opened" : "closed"}`, children: [
11021
- /* @__PURE__ */ a.jsx(Le, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
11023
+ /* @__PURE__ */ a.jsx(Me, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
11022
11024
  n === "prechat" && f && /* @__PURE__ */ a.jsx(f, {}),
11023
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Rt, { Avatar: D }),
11024
- n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(ze, {}),
11025
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(It, { Avatar: D }),
11026
+ n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(Ue, {}),
11025
11027
  n === "postchat" && e && /* @__PURE__ */ a.jsx(e, {}),
11026
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Xt, {}),
11027
- n === "webview" && /* @__PURE__ */ a.jsx(Qt, {})
11028
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Qt, {}),
11029
+ n === "webview" && /* @__PURE__ */ a.jsx(D8, {})
11028
11030
  ] });
11029
- }, H1 = ({
11031
+ }, W1 = ({
11030
11032
  CustomLauncher: u,
11031
11033
  CustomHeader: D,
11032
11034
  CustomAvatar: f,
@@ -11038,7 +11040,7 @@ const Wt = ({ item: u, onPostback: D }) => {
11038
11040
  }, v = (y) => {
11039
11041
  y.preventDefault(), y.stopPropagation(), F.setIsOpen(!0);
11040
11042
  };
11041
- return ke(), new URLSearchParams().append("owner_id", r.ownerId), Z(() => {
11043
+ return je(), new URLSearchParams().append("owner_id", r.ownerId), Z(() => {
11042
11044
  if (!l && !X.getItem("profileLiveChat")) {
11043
11045
  d("prechat");
11044
11046
  return;
@@ -11055,7 +11057,7 @@ const Wt = ({ item: u, onPostback: D }) => {
11055
11057
  className: `sc-launcher-wrapper ${F.isOpen ? "opened" : ""}`,
11056
11058
  onClick: j,
11057
11059
  children: [
11058
- /* @__PURE__ */ a.jsx("div", { className: "sc-help-prompt", onClick: v, role: "button", children: !F.isOpen && /* @__PURE__ */ a.jsx("div", { className: "sc-help-prompt__text", children: n("launcher.help_prompt") }) }),
11060
+ !F.isOpen && /* @__PURE__ */ a.jsx("div", { className: "sc-help-prompt", onClick: v, role: "button", children: /* @__PURE__ */ a.jsx("div", { className: "sc-help-prompt__text", children: n("launcher.help_prompt") }) }),
11059
11061
  u ? /* @__PURE__ */ a.jsx(u, { widget: F }) : /* @__PURE__ */ a.jsxs(
11060
11062
  "div",
11061
11063
  {
@@ -11066,13 +11068,13 @@ const Wt = ({ item: u, onPostback: D }) => {
11066
11068
  children: [
11067
11069
  s.newMessagesCount > 0 && !F.isOpen && /* @__PURE__ */ a.jsx("div", { className: "sc-new-messages-count", children: s.newMessagesCount }),
11068
11070
  F.isOpen ? /* @__PURE__ */ a.jsx(
11069
- Ef,
11071
+ hf,
11070
11072
  {
11071
11073
  className: "sc-closed-icon",
11072
11074
  width: "32px",
11073
11075
  height: "32px"
11074
11076
  }
11075
- ) : /* @__PURE__ */ a.jsx(A1, { className: "sc-open-icon" })
11077
+ ) : /* @__PURE__ */ a.jsx(k1, { className: "sc-open-icon" })
11076
11078
  ]
11077
11079
  }
11078
11080
  )
@@ -11080,7 +11082,7 @@ const Wt = ({ item: u, onPostback: D }) => {
11080
11082
  }
11081
11083
  ),
11082
11084
  F.isOpen && /* @__PURE__ */ a.jsx(
11083
- u8,
11085
+ f8,
11084
11086
  {
11085
11087
  CustomHeader: D,
11086
11088
  CustomAvatar: f,
@@ -11089,7 +11091,7 @@ const Wt = ({ item: u, onPostback: D }) => {
11089
11091
  }
11090
11092
  )
11091
11093
  ] });
11092
- }, W1 = ({
11094
+ }, Y1 = ({
11093
11095
  onFormDataSubmit: u
11094
11096
  }) => {
11095
11097
  const D = Wu(), { t: f } = zu(), { colors: e } = iu(), { socket: t } = tD(), n = pu(), { setScreen: r } = Nu(), {
@@ -11098,7 +11100,7 @@ const Wt = ({ item: u, onPostback: D }) => {
11098
11100
  setConnectionState: d,
11099
11101
  participants: o,
11100
11102
  setParticipants: c
11101
- } = du(), { formData: l, setFormData: j, renderFormField: v, errors: C, validateAll: y } = U1({
11103
+ } = du(), { formData: l, setFormData: j, renderFormField: v, errors: C, validateAll: y } = V1({
11102
11104
  loadFromDataUserSubs: !1,
11103
11105
  initialData: {}
11104
11106
  }), x = n.offline_mode, g = kD(x), T = gu(!1), _ = Mu(
@@ -11206,7 +11208,7 @@ const Wt = ({ item: u, onPostback: D }) => {
11206
11208
  ) })
11207
11209
  ] })
11208
11210
  ] }) });
11209
- }, D8 = qu({}), f8 = ({
11211
+ }, e8 = qu({}), t8 = ({
11210
11212
  children: u
11211
11213
  }) => {
11212
11214
  const D = Wu(), [f, e] = U(!1), t = async () => {
@@ -11220,33 +11222,33 @@ const Wt = ({ item: u, onPostback: D }) => {
11220
11222
  };
11221
11223
  return Z(() => {
11222
11224
  f || t();
11223
- }, []), f ? /* @__PURE__ */ a.jsx(D8.Provider, { value: {}, children: u }) : null;
11225
+ }, []), f ? /* @__PURE__ */ a.jsx(e8.Provider, { value: {}, children: u }) : null;
11224
11226
  };
11225
- function r8(u) {
11226
- return /* @__PURE__ */ a.jsx(D1, { ...u, children: /* @__PURE__ */ a.jsx(e1, { children: /* @__PURE__ */ a.jsx(f8, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(g1, { children: /* @__PURE__ */ a.jsx(Xf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(H1, { PreChat: W1 }) }) }) }) }) }) }) }) }) });
11227
+ function s8(u) {
11228
+ return /* @__PURE__ */ a.jsx(e1, { ...u, children: /* @__PURE__ */ a.jsx(n1, { children: /* @__PURE__ */ a.jsx(t8, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(g1, { 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 }) }) }) }) }) }) }) }) }) });
11227
11229
  }
11228
- function a8({
11230
+ function F8({
11229
11231
  CustomHeader: u,
11230
11232
  CustomAvatar: D,
11231
11233
  config: f
11232
11234
  }) {
11233
- 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(g1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11234
- y1,
11235
+ return /* @__PURE__ */ a.jsx(e1, { ...f, children: /* @__PURE__ */ a.jsx(n1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(g1, { children: /* @__PURE__ */ a.jsx(x1, { children: /* @__PURE__ */ a.jsx(Qf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(y1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11236
+ w1,
11235
11237
  {
11236
11238
  defaultConnectionState: eD.connected,
11237
11239
  children: /* @__PURE__ */ a.jsx(
11238
- H1,
11240
+ W1,
11239
11241
  {
11240
11242
  CustomHeader: u,
11241
11243
  CustomAvatar: D,
11242
- PreChat: W1
11244
+ PreChat: Y1
11243
11245
  }
11244
11246
  )
11245
11247
  }
11246
11248
  ) }) }) }) }) }) }) });
11247
11249
  }
11248
11250
  export {
11249
- r8 as ChatWidget,
11251
+ s8 as ChatWidget,
11250
11252
  X as LocalStorageScoped,
11251
- a8 as UiChatWidget
11253
+ F8 as UiChatWidget
11252
11254
  };