@cling-se/widget 0.6.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { c as se, g as Se, a as jf, n as N, C as Va, s as Wf, e as Vf, i as Yf, r as Tc, b as Xs, m as Rc, d as Lt, f as mn, h as nt, _ as Uf, j as Ic, k as Hf, p as Gf, l as qf, o as Kf, q as Pc, V as Ya, t as Ac, A as Xf, u as Zf, v as Jf, w as Qf, x as eh, F as Fc, y as Nc, z as Ua, B as th, D as rh, E as Zs, G as nh, H as ih, I as ah } from "./main.44d450fa.js";
1
+ import { c as se, g as Se, a as zf, n as N, C as Va, s as Wf, e as Vf, i as Yf, r as Tc, b as Xs, m as Rc, d as Lt, f as mn, h as nt, _ as Uf, j as Ic, k as Hf, p as Gf, l as qf, o as Kf, q as Pc, V as Ya, t as Ac, A as Xf, u as Zf, v as Jf, w as Qf, x as eh, F as Fc, y as Nc, z as Ua, B as th, D as rh, E as Zs, G as nh, H as ih, I as ah } from "./main.bacf5be3.js";
2
2
  const fe = {
3
3
  AD: {
4
4
  name: "Andorra",
@@ -1278,7 +1278,7 @@ var vn = function(t, e) {
1278
1278
  writable: !(t & 4),
1279
1279
  value: e
1280
1280
  };
1281
- }, zc = pn, jc = Function.prototype, ha = jc.call, uh = zc && jc.bind.bind(ha, ha), Wc = zc ? uh : function(t) {
1281
+ }, jc = pn, zc = Function.prototype, ha = zc.call, uh = jc && zc.bind.bind(ha, ha), Wc = jc ? uh : function(t) {
1282
1282
  return function() {
1283
1283
  return ha.apply(t, arguments);
1284
1284
  };
@@ -1297,7 +1297,7 @@ var vn = function(t, e) {
1297
1297
  if (_h(t))
1298
1298
  throw bh("Can't call method on " + t);
1299
1299
  return t;
1300
- }, Sh = gn, wh = Bt, zt = function(t) {
1300
+ }, Sh = gn, wh = Bt, jt = function(t) {
1301
1301
  return Sh(wh(t));
1302
1302
  }, ma = typeof document == "object" && document.all, Ch = typeof ma > "u" && ma !== void 0, Yc = {
1303
1303
  all: ma,
@@ -1331,10 +1331,10 @@ var yn = en, no = yn, Th = q, qc = !!Object.getOwnPropertySymbols && !Th(functio
1331
1331
  } catch {
1332
1332
  return "Object";
1333
1333
  }
1334
- }, Bh = re, zh = Ka, jh = TypeError, _n = function(t) {
1334
+ }, Bh = re, jh = Ka, zh = TypeError, _n = function(t) {
1335
1335
  if (Bh(t))
1336
1336
  return t;
1337
- throw jh(zh(t) + " is not a function");
1337
+ throw zh(jh(t) + " is not a function");
1338
1338
  }, Wh = _n, Vh = vt, mr = function(t, e) {
1339
1339
  var r = t[e];
1340
1340
  return Vh(r) ? void 0 : Wh(r);
@@ -1393,7 +1393,7 @@ var Xh = Bt, Zh = Object, gt = function(t) {
1393
1393
  return 7;
1394
1394
  }
1395
1395
  }).a != 7;
1396
- }), Cm = Te, $m = we, xm = Ga, Om = vn, km = zt, Dm = Qa, Mm = Re, Em = Jc, mo = Object.getOwnPropertyDescriptor;
1396
+ }), Cm = Te, $m = we, xm = Ga, Om = vn, km = jt, Dm = Qa, Mm = Re, Em = Jc, mo = Object.getOwnPropertyDescriptor;
1397
1397
  Ha.f = Cm ? mo : function(e, r) {
1398
1398
  if (e = km(e), r = Dm(r), Em)
1399
1399
  try {
@@ -1413,10 +1413,10 @@ var Ie = {}, Tm = Te, Rm = q, Qc = Tm && Rm(function() {
1413
1413
  if (Im(t))
1414
1414
  return t;
1415
1415
  throw Am(Pm(t) + " is not an object");
1416
- }, Fm = Te, Nm = Jc, Lm = Qc, $r = ge, po = Qa, Bm = TypeError, bi = Object.defineProperty, zm = Object.getOwnPropertyDescriptor, Si = "enumerable", wi = "configurable", Ci = "writable";
1416
+ }, Fm = Te, Nm = Jc, Lm = Qc, $r = ge, po = Qa, Bm = TypeError, bi = Object.defineProperty, jm = Object.getOwnPropertyDescriptor, Si = "enumerable", wi = "configurable", Ci = "writable";
1417
1417
  Ie.f = Fm ? Lm ? function(e, r, n) {
1418
1418
  if ($r(e), r = po(r), $r(n), typeof e == "function" && r === "prototype" && "value" in n && Ci in n && !n[Ci]) {
1419
- var i = zm(e, r);
1419
+ var i = jm(e, r);
1420
1420
  i && i[Ci] && (e[r] = n.value, n = {
1421
1421
  configurable: wi in n ? n[wi] : i[wi],
1422
1422
  enumerable: Si in n ? n[Si] : i[Si],
@@ -1434,7 +1434,7 @@ Ie.f = Fm ? Lm ? function(e, r, n) {
1434
1434
  throw Bm("Accessors not supported");
1435
1435
  return "value" in n && (e[r] = n.value), e;
1436
1436
  };
1437
- var jm = Te, Wm = Ie, Vm = vn, jt = jm ? function(t, e, r) {
1437
+ var zm = Te, Wm = Ie, Vm = vn, zt = zm ? function(t, e, r) {
1438
1438
  return Wm.f(t, e, Vm(1, r));
1439
1439
  } : function(t, e, r) {
1440
1440
  return t[e] = r, t;
@@ -1449,7 +1449,7 @@ Km(ga.inspectSource) || (ga.inspectSource = function(t) {
1449
1449
  });
1450
1450
  var ru = ga.inspectSource, Zm = ie, Jm = re, vo = Zm.WeakMap, nu = Jm(vo) && /native code/.test(String(vo)), Qm = bn.exports, ep = Ja, go = Qm("keys"), ns = function(t) {
1451
1451
  return go[t] || (go[t] = ep(t));
1452
- }, Sn = {}, tp = nu, iu = ie, rp = me, np = jt, $i = Re, xi = Za, ip = ns, ap = Sn, yo = "Object already initialized", ya = iu.TypeError, sp = iu.WeakMap, tn, or, rn, op = function(t) {
1452
+ }, Sn = {}, tp = nu, iu = ie, rp = me, np = zt, $i = Re, xi = Za, ip = ns, ap = Sn, yo = "Object already initialized", ya = iu.TypeError, sp = iu.WeakMap, tn, or, rn, op = function(t) {
1453
1453
  return rn(t) ? or(t) : tn(t, {});
1454
1454
  }, lp = function(t) {
1455
1455
  return function(e) {
@@ -1534,7 +1534,7 @@ var yp = re, _p = Ie, bp = eu.exports, Sp = Xa, yt = function(t, e, r, n) {
1534
1534
  return t > 0 ? Ep(Mp(t), 9007199254740991) : 0;
1535
1535
  }, Tp = is, Vt = function(t) {
1536
1536
  return Tp(t.length);
1537
- }, Rp = zt, Ip = su, Pp = Vt, _o = function(t) {
1537
+ }, Rp = jt, Ip = su, Pp = Vt, _o = function(t) {
1538
1538
  return function(e, r, n) {
1539
1539
  var i = Rp(e), a = Pp(i), s = Ip(n, a), o;
1540
1540
  if (t && r != r) {
@@ -1550,7 +1550,7 @@ var yp = re, _p = Ie, bp = eu.exports, Sp = Xa, yt = function(t, e, r, n) {
1550
1550
  }, Ap = {
1551
1551
  includes: _o(!0),
1552
1552
  indexOf: _o(!1)
1553
- }, Fp = Z, Oi = Re, Np = zt, Lp = Ap.indexOf, Bp = Sn, bo = Fp([].push), ou = function(t, e) {
1553
+ }, Fp = Z, Oi = Re, Np = jt, Lp = Ap.indexOf, Bp = Sn, bo = Fp([].push), ou = function(t, e) {
1554
1554
  var r = Np(t), n = 0, i = [], a;
1555
1555
  for (a in r)
1556
1556
  !Oi(Bp, a) && Oi(r, a) && bo(i, a);
@@ -1565,9 +1565,9 @@ var yp = re, _p = Ie, bp = eu.exports, Sp = Xa, yt = function(t, e, r, n) {
1565
1565
  "toLocaleString",
1566
1566
  "toString",
1567
1567
  "valueOf"
1568
- ], zp = ou, jp = as, Wp = jp.concat("length", "prototype");
1568
+ ], jp = ou, zp = as, Wp = zp.concat("length", "prototype");
1569
1569
  wn.f = Object.getOwnPropertyNames || function(e) {
1570
- return zp(e, Wp);
1570
+ return jp(e, Wp);
1571
1571
  };
1572
1572
  var ss = {};
1573
1573
  ss.f = Object.getOwnPropertySymbols;
@@ -1584,7 +1584,7 @@ var Vp = hr, Yp = Z, Up = wn, Hp = ss, Gp = ge, qp = Yp([].concat), Kp = Vp("Ref
1584
1584
  return r == sv ? !0 : r == av ? !1 : tv(e) ? ev(e) : !!e;
1585
1585
  }, nv = pr.normalize = function(t) {
1586
1586
  return String(t).replace(rv, ".").toLowerCase();
1587
- }, iv = pr.data = {}, av = pr.NATIVE = "N", sv = pr.POLYFILL = "P", lu = pr, ki = ie, ov = Ha.f, lv = jt, cv = yt, uv = Xa, dv = Qp, fv = lu, Ke = function(t, e) {
1587
+ }, iv = pr.data = {}, av = pr.NATIVE = "N", sv = pr.POLYFILL = "P", lu = pr, ki = ie, ov = Ha.f, lv = zt, cv = yt, uv = Xa, dv = Qp, fv = lu, Ke = function(t, e) {
1588
1588
  var r = t.target, n = t.global, i = t.stat, a, s, o, l, u, f;
1589
1589
  if (n ? s = ki : i ? s = ki[r] || uv(r, {}) : s = (ki[r] || {}).prototype, s)
1590
1590
  for (o in e) {
@@ -1634,16 +1634,16 @@ var xv = at, uu = Array.isArray || function(e) {
1634
1634
  fu[Iv] = "z";
1635
1635
  var os = String(fu) === "[object z]", Pv = os, Av = re, Yr = at, Fv = le, Nv = Fv("toStringTag"), Lv = Object, Bv = Yr(function() {
1636
1636
  return arguments;
1637
- }()) == "Arguments", zv = function(t, e) {
1637
+ }()) == "Arguments", jv = function(t, e) {
1638
1638
  try {
1639
1639
  return t[e];
1640
1640
  } catch {
1641
1641
  }
1642
1642
  }, $n = Pv ? Yr : function(t) {
1643
1643
  var e, r, n;
1644
- return t === void 0 ? "Undefined" : t === null ? "Null" : typeof (r = zv(e = Lv(t), Nv)) == "string" ? r : Bv ? Yr(e) : (n = Yr(e)) == "Object" && Av(e.callee) ? "Arguments" : n;
1645
- }, jv = Z, Wv = q, hu = re, Vv = $n, Yv = hr, Uv = ru, mu = function() {
1646
- }, Hv = [], pu = Yv("Reflect", "construct"), ls = /^\s*(?:class|function)\b/, Gv = jv(ls.exec), qv = !ls.exec(mu), Kt = function(e) {
1644
+ return t === void 0 ? "Undefined" : t === null ? "Null" : typeof (r = jv(e = Lv(t), Nv)) == "string" ? r : Bv ? Yr(e) : (n = Yr(e)) == "Object" && Av(e.callee) ? "Arguments" : n;
1645
+ }, zv = Z, Wv = q, hu = re, Vv = $n, Yv = hr, Uv = ru, mu = function() {
1646
+ }, Hv = [], pu = Yv("Reflect", "construct"), ls = /^\s*(?:class|function)\b/, Gv = zv(ls.exec), qv = !ls.exec(mu), Kt = function(e) {
1647
1647
  if (!hu(e))
1648
1648
  return !1;
1649
1649
  try {
@@ -1788,9 +1788,9 @@ var bu = {
1788
1788
  return 1;
1789
1789
  }, 1);
1790
1790
  });
1791
- }, Ng = cs.forEach, Lg = Cu, Bg = Lg("forEach"), zg = Bg ? [].forEach : function(e) {
1791
+ }, Ng = cs.forEach, Lg = Cu, Bg = Lg("forEach"), jg = Bg ? [].forEach : function(e) {
1792
1792
  return Ng(this, e, arguments.length > 1 ? arguments[1] : void 0);
1793
- }, Ro = ie, Io = bu, jg = Su, Ei = zg, Wg = jt, $u = function(t) {
1793
+ }, Ro = ie, Io = bu, zg = Su, Ei = jg, Wg = zt, $u = function(t) {
1794
1794
  if (t && t.forEach !== Ei)
1795
1795
  try {
1796
1796
  Wg(t, "forEach", Ei);
@@ -1800,7 +1800,7 @@ var bu = {
1800
1800
  };
1801
1801
  for (var Ti in Io)
1802
1802
  Io[Ti] && $u(Ro[Ti] && Ro[Ti].prototype);
1803
- $u(jg);
1803
+ $u(zg);
1804
1804
  var Vg = !!(typeof window < "u" && window.document && window.document.createElement), us = Vg, Yg = $n, Ug = String, _t = function(t) {
1805
1805
  if (Yg(t) === "Symbol")
1806
1806
  throw TypeError("Cannot convert a Symbol value to a string");
@@ -1830,16 +1830,16 @@ oy({ target: "Array", proto: !0, forced: !uy }, {
1830
1830
  return ly(this, e, arguments.length > 1 ? arguments[1] : void 0);
1831
1831
  }
1832
1832
  });
1833
- var Du = {}, dy = Te, fy = Qc, hy = Ie, my = ge, py = zt, vy = cu;
1833
+ var Du = {}, dy = Te, fy = Qc, hy = Ie, my = ge, py = jt, vy = cu;
1834
1834
  Du.f = dy && !fy ? Object.defineProperties : function(e, r) {
1835
1835
  my(e);
1836
1836
  for (var n = py(r), i = vy(r), a = i.length, s = 0, o; a > s; )
1837
1837
  hy.f(e, o = i[s++], n[o]);
1838
1838
  return e;
1839
1839
  };
1840
- var gy = hr, yy = gy("document", "documentElement"), _y = ge, by = Du, Bo = as, Sy = Sn, wy = yy, Cy = es, $y = ns, zo = ">", jo = "<", ba = "prototype", Sa = "script", Mu = $y("IE_PROTO"), Ii = function() {
1840
+ var gy = hr, yy = gy("document", "documentElement"), _y = ge, by = Du, Bo = as, Sy = Sn, wy = yy, Cy = es, $y = ns, jo = ">", zo = "<", ba = "prototype", Sa = "script", Mu = $y("IE_PROTO"), Ii = function() {
1841
1841
  }, Eu = function(t) {
1842
- return jo + Sa + zo + t + jo + "/" + Sa + zo;
1842
+ return zo + Sa + jo + t + zo + "/" + Sa + jo;
1843
1843
  }, Wo = function(t) {
1844
1844
  t.write(Eu("")), t.close();
1845
1845
  var e = t.parentWindow.Object;
@@ -1878,14 +1878,14 @@ var My = function(t) {
1878
1878
  return e[Vo];
1879
1879
  var r = e.constructor;
1880
1880
  return Iy(r) && e instanceof r ? r.prototype : e instanceof $a ? Ny : null;
1881
- }, Ly = q, By = re, zy = me, Yo = Tu, jy = yt, Wy = le, xa = Wy("iterator"), Ru = !1, mt, Pi, Ai;
1881
+ }, Ly = q, By = re, jy = me, Yo = Tu, zy = yt, Wy = le, xa = Wy("iterator"), Ru = !1, mt, Pi, Ai;
1882
1882
  [].keys && (Ai = [].keys(), "next" in Ai ? (Pi = Yo(Yo(Ai)), Pi !== Object.prototype && (mt = Pi)) : Ru = !0);
1883
- var Vy = !zy(mt) || Ly(function() {
1883
+ var Vy = !jy(mt) || Ly(function() {
1884
1884
  var t = {};
1885
1885
  return mt[xa].call(t) !== t;
1886
1886
  });
1887
1887
  Vy && (mt = {});
1888
- By(mt[xa]) || jy(mt, xa, function() {
1888
+ By(mt[xa]) || zy(mt, xa, function() {
1889
1889
  return this;
1890
1890
  });
1891
1891
  var Iu = {
@@ -1911,7 +1911,7 @@ var Iu = {
1911
1911
  return function(i, a) {
1912
1912
  return a_(i), s_(a), t ? r(i, a) : i.__proto__ = a, i;
1913
1913
  };
1914
- }() : void 0), o_ = Ke, l_ = we, Au = rs, c_ = re, u_ = Qy, Ho = Tu, Go = Pu, d_ = fs, f_ = jt, Fi = yt, h_ = le, m_ = vr, Fu = Iu, p_ = Au.PROPER, v_ = Au.CONFIGURABLE, qo = Fu.IteratorPrototype, kr = Fu.BUGGY_SAFARI_ITERATORS, Xt = h_("iterator"), Ko = "keys", Zt = "values", Xo = "entries", g_ = function() {
1914
+ }() : void 0), o_ = Ke, l_ = we, Au = rs, c_ = re, u_ = Qy, Ho = Tu, Go = Pu, d_ = fs, f_ = zt, Fi = yt, h_ = le, m_ = vr, Fu = Iu, p_ = Au.PROPER, v_ = Au.CONFIGURABLE, qo = Fu.IteratorPrototype, kr = Fu.BUGGY_SAFARI_ITERATORS, Xt = h_("iterator"), Ko = "keys", Zt = "values", Xo = "entries", g_ = function() {
1915
1915
  return this;
1916
1916
  }, Nu = function(t, e, r, n, i, a, s) {
1917
1917
  u_(r, e, n);
@@ -1953,9 +1953,9 @@ var Iu = {
1953
1953
  return f[Xt] !== g && Fi(f, Xt, g, { name: i }), m_[e] = g, R;
1954
1954
  }, Lu = function(t, e) {
1955
1955
  return { value: t, done: e };
1956
- }, y_ = zt, hs = My, Zo = vr, Bu = Wt, __ = Ie.f, b_ = Nu, Dr = Lu, S_ = Te, zu = "Array Iterator", w_ = Bu.set, C_ = Bu.getterFor(zu), $_ = b_(Array, "Array", function(t, e) {
1956
+ }, y_ = jt, hs = My, Zo = vr, Bu = Wt, __ = Ie.f, b_ = Nu, Dr = Lu, S_ = Te, ju = "Array Iterator", w_ = Bu.set, C_ = Bu.getterFor(ju), $_ = b_(Array, "Array", function(t, e) {
1957
1957
  w_(this, {
1958
- type: zu,
1958
+ type: ju,
1959
1959
  target: y_(t),
1960
1960
  index: 0,
1961
1961
  kind: e
@@ -1977,10 +1977,10 @@ var ms = Z, x_ = Cn, O_ = _t, k_ = Bt, D_ = ms("".charAt), Qo = ms("".charCodeAt
1977
1977
  var n = O_(k_(e)), i = x_(r), a = n.length, s, o;
1978
1978
  return i < 0 || i >= a ? t ? "" : void 0 : (s = Qo(n, i), s < 55296 || s > 56319 || i + 1 === a || (o = Qo(n, i + 1)) < 56320 || o > 57343 ? t ? D_(n, i) : s : t ? M_(n, i, i + 2) : (s - 55296 << 10) + (o - 56320) + 65536);
1979
1979
  };
1980
- }, ju = {
1980
+ }, zu = {
1981
1981
  codeAt: el(!1),
1982
1982
  charAt: el(!0)
1983
- }, E_ = ju.charAt, T_ = _t, Wu = Wt, R_ = Nu, tl = Lu, Vu = "String Iterator", I_ = Wu.set, P_ = Wu.getterFor(Vu);
1983
+ }, E_ = zu.charAt, T_ = _t, Wu = Wt, R_ = Nu, tl = Lu, Vu = "String Iterator", I_ = Wu.set, P_ = Wu.getterFor(Vu);
1984
1984
  R_(String, "String", function(t) {
1985
1985
  I_(this, {
1986
1986
  type: Vu,
@@ -1995,11 +1995,11 @@ var A_ = yt, Yu = function(t, e, r) {
1995
1995
  for (var n in e)
1996
1996
  A_(t, n, e[n], r);
1997
1997
  return t;
1998
- }, xn = { exports: {} }, Uu = {}, rl = su, F_ = Vt, N_ = du, L_ = Array, B_ = Math.max, z_ = function(t, e, r) {
1998
+ }, xn = { exports: {} }, Uu = {}, rl = su, F_ = Vt, N_ = du, L_ = Array, B_ = Math.max, j_ = function(t, e, r) {
1999
1999
  for (var n = F_(t), i = rl(e, n), a = rl(r === void 0 ? n : r, n), s = L_(B_(a - i, 0)), o = 0; i < a; i++, o++)
2000
2000
  N_(s, o, t[i]);
2001
2001
  return s.length = o, s;
2002
- }, j_ = at, W_ = zt, Hu = wn.f, V_ = z_, Gu = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], Y_ = function(t) {
2002
+ }, z_ = at, W_ = jt, Hu = wn.f, V_ = j_, Gu = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], Y_ = function(t) {
2003
2003
  try {
2004
2004
  return Hu(t);
2005
2005
  } catch {
@@ -2007,7 +2007,7 @@ var A_ = yt, Yu = function(t, e, r) {
2007
2007
  }
2008
2008
  };
2009
2009
  Uu.f = function(e) {
2010
- return Gu && j_(e) == "Window" ? Y_(e) : Hu(W_(e));
2010
+ return Gu && z_(e) == "Window" ? Y_(e) : Hu(W_(e));
2011
2011
  };
2012
2012
  var U_ = q, H_ = U_(function() {
2013
2013
  if (typeof ArrayBuffer == "function") {
@@ -2096,7 +2096,7 @@ var hb = le, mb = vr, pb = hb("iterator"), vb = Array.prototype, gb = function(t
2096
2096
  if (i)
2097
2097
  throw n;
2098
2098
  return sl(n), r;
2099
- }, Ib = wu, Pb = we, Ab = ge, Fb = Ka, Nb = gb, Lb = Vt, ol = qa, Bb = Mb, zb = Xu, ll = Rb, jb = TypeError, Gr = function(t, e) {
2099
+ }, Ib = wu, Pb = we, Ab = ge, Fb = Ka, Nb = gb, Lb = Vt, ol = qa, Bb = Mb, jb = Xu, ll = Rb, zb = TypeError, Gr = function(t, e) {
2100
2100
  this.stopped = t, this.result = e;
2101
2101
  }, cl = Gr.prototype, Zu = function(t, e, r) {
2102
2102
  var n = r && r.that, i = !!(r && r.AS_ENTRIES), a = !!(r && r.IS_RECORD), s = !!(r && r.IS_ITERATOR), o = !!(r && r.INTERRUPTED), l = Ib(e, n), u, f, h, g, S, x, R, D = function(C) {
@@ -2109,8 +2109,8 @@ var hb = le, mb = vr, pb = hb("iterator"), vb = Array.prototype, gb = function(t
2109
2109
  else if (s)
2110
2110
  u = t;
2111
2111
  else {
2112
- if (f = zb(t), !f)
2113
- throw jb(Fb(t) + " is not iterable");
2112
+ if (f = jb(t), !f)
2113
+ throw zb(Fb(t) + " is not iterable");
2114
2114
  if (Nb(f)) {
2115
2115
  for (h = 0, g = Lb(t); g > h; h++)
2116
2116
  if (S = w(t[h]), S && ol(cl, S))
@@ -2216,22 +2216,22 @@ var Hb = function(t, e) {
2216
2216
  return t.frozen || (t.frozen = new nd());
2217
2217
  }, nd = function() {
2218
2218
  this.entries = [];
2219
- }, zi = function(t, e) {
2219
+ }, ji = function(t, e) {
2220
2220
  return vS(t.entries, function(r) {
2221
2221
  return r[0] === e;
2222
2222
  });
2223
2223
  };
2224
2224
  nd.prototype = {
2225
2225
  get: function(t) {
2226
- var e = zi(this, t);
2226
+ var e = ji(this, t);
2227
2227
  if (e)
2228
2228
  return e[1];
2229
2229
  },
2230
2230
  has: function(t) {
2231
- return !!zi(this, t);
2231
+ return !!ji(this, t);
2232
2232
  },
2233
2233
  set: function(t, e) {
2234
- var r = zi(this, t);
2234
+ var r = ji(this, t);
2235
2235
  r ? r[1] = e : this.entries.push([t, e]);
2236
2236
  },
2237
2237
  delete: function(t) {
@@ -2325,19 +2325,19 @@ if ($S && xS) {
2325
2325
  }
2326
2326
  });
2327
2327
  }
2328
- var _l = ie, sd = bu, kS = Su, rr = $_, ji = jt, od = le, Wi = od("iterator"), bl = od("toStringTag"), Vi = rr.values, ld = function(t, e) {
2328
+ var _l = ie, sd = bu, kS = Su, rr = $_, zi = zt, od = le, Wi = od("iterator"), bl = od("toStringTag"), Vi = rr.values, ld = function(t, e) {
2329
2329
  if (t) {
2330
2330
  if (t[Wi] !== Vi)
2331
2331
  try {
2332
- ji(t, Wi, Vi);
2332
+ zi(t, Wi, Vi);
2333
2333
  } catch {
2334
2334
  t[Wi] = Vi;
2335
2335
  }
2336
- if (t[bl] || ji(t, bl, e), sd[e]) {
2336
+ if (t[bl] || zi(t, bl, e), sd[e]) {
2337
2337
  for (var r in rr)
2338
2338
  if (t[r] !== rr[r])
2339
2339
  try {
2340
- ji(t, r, rr[r]);
2340
+ zi(t, r, rr[r]);
2341
2341
  } catch {
2342
2342
  t[r] = rr[r];
2343
2343
  }
@@ -2347,28 +2347,28 @@ var _l = ie, sd = bu, kS = Su, rr = $_, ji = jt, od = le, Wi = od("iterator"), b
2347
2347
  for (var Yi in sd)
2348
2348
  ld(_l[Yi] && _l[Yi].prototype, Yi);
2349
2349
  ld(kS, "DOMTokenList");
2350
- var cd = "Expected a function", Sl = 0 / 0, DS = "[object Symbol]", MS = /^\s+|\s+$/g, ES = /^[-+]0x[0-9a-f]+$/i, TS = /^0b[01]+$/i, RS = /^0o[0-7]+$/i, IS = parseInt, PS = typeof se == "object" && se && se.Object === Object && se, AS = typeof self == "object" && self && self.Object === Object && self, FS = PS || AS || Function("return this")(), NS = Object.prototype, LS = NS.toString, BS = Math.max, zS = Math.min, Ui = function() {
2350
+ var cd = "Expected a function", Sl = 0 / 0, DS = "[object Symbol]", MS = /^\s+|\s+$/g, ES = /^[-+]0x[0-9a-f]+$/i, TS = /^0b[01]+$/i, RS = /^0o[0-7]+$/i, IS = parseInt, PS = typeof se == "object" && se && se.Object === Object && se, AS = typeof self == "object" && self && self.Object === Object && self, FS = PS || AS || Function("return this")(), NS = Object.prototype, LS = NS.toString, BS = Math.max, jS = Math.min, Ui = function() {
2351
2351
  return FS.Date.now();
2352
2352
  };
2353
- function jS(t, e, r) {
2353
+ function zS(t, e, r) {
2354
2354
  var n, i, a, s, o, l, u = 0, f = !1, h = !1, g = !0;
2355
2355
  if (typeof t != "function")
2356
2356
  throw new TypeError(cd);
2357
2357
  e = wl(e) || 0, an(r) && (f = !!r.leading, h = "maxWait" in r, a = h ? BS(wl(r.maxWait) || 0, e) : a, g = "trailing" in r ? !!r.trailing : g);
2358
2358
  function S(_) {
2359
- var T = n, j = i;
2360
- return n = i = void 0, u = _, s = t.apply(j, T), s;
2359
+ var T = n, z = i;
2360
+ return n = i = void 0, u = _, s = t.apply(z, T), s;
2361
2361
  }
2362
2362
  function x(_) {
2363
2363
  return u = _, o = setTimeout(w, e), f ? S(_) : s;
2364
2364
  }
2365
2365
  function R(_) {
2366
- var T = _ - l, j = _ - u, ae = e - T;
2367
- return h ? zS(ae, a - j) : ae;
2366
+ var T = _ - l, z = _ - u, ae = e - T;
2367
+ return h ? jS(ae, a - z) : ae;
2368
2368
  }
2369
2369
  function D(_) {
2370
- var T = _ - l, j = _ - u;
2371
- return l === void 0 || T >= e || T < 0 || h && j >= a;
2370
+ var T = _ - l, z = _ - u;
2371
+ return l === void 0 || T >= e || T < 0 || h && z >= a;
2372
2372
  }
2373
2373
  function w() {
2374
2374
  var _ = Ui();
@@ -2401,7 +2401,7 @@ function WS(t, e, r) {
2401
2401
  var n = !0, i = !0;
2402
2402
  if (typeof t != "function")
2403
2403
  throw new TypeError(cd);
2404
- return an(r) && (n = "leading" in r ? !!r.leading : n, i = "trailing" in r ? !!r.trailing : i), jS(t, e, {
2404
+ return an(r) && (n = "leading" in r ? !!r.leading : n, i = "trailing" in r ? !!r.trailing : i), zS(t, e, {
2405
2405
  leading: n,
2406
2406
  maxWait: e,
2407
2407
  trailing: i
@@ -2441,19 +2441,19 @@ function aw(t, e, r) {
2441
2441
  throw new TypeError(US);
2442
2442
  e = xl(e) || 0, Oa(r) && (f = !!r.leading, h = "maxWait" in r, a = h ? nw(xl(r.maxWait) || 0, e) : a, g = "trailing" in r ? !!r.trailing : g);
2443
2443
  function S(_) {
2444
- var T = n, j = i;
2445
- return n = i = void 0, u = _, s = t.apply(j, T), s;
2444
+ var T = n, z = i;
2445
+ return n = i = void 0, u = _, s = t.apply(z, T), s;
2446
2446
  }
2447
2447
  function x(_) {
2448
2448
  return u = _, o = setTimeout(w, e), f ? S(_) : s;
2449
2449
  }
2450
2450
  function R(_) {
2451
- var T = _ - l, j = _ - u, ae = e - T;
2452
- return h ? iw(ae, a - j) : ae;
2451
+ var T = _ - l, z = _ - u, ae = e - T;
2452
+ return h ? iw(ae, a - z) : ae;
2453
2453
  }
2454
2454
  function D(_) {
2455
- var T = _ - l, j = _ - u;
2456
- return l === void 0 || T >= e || T < 0 || h && j >= a;
2455
+ var T = _ - l, z = _ - u;
2456
+ return l === void 0 || T >= e || T < 0 || h && z >= a;
2457
2457
  }
2458
2458
  function w() {
2459
2459
  var _ = Hi();
@@ -2631,10 +2631,10 @@ function On(t, e) {
2631
2631
  return -1;
2632
2632
  }
2633
2633
  function Lw(t) {
2634
- if (!pd(t) || zw(t))
2634
+ if (!pd(t) || jw(t))
2635
2635
  return !1;
2636
2636
  var e = Vw(t) || vw(t) ? bw : fw;
2637
- return e.test(jw(t));
2637
+ return e.test(zw(t));
2638
2638
  }
2639
2639
  function kn(t, e) {
2640
2640
  var r = t.__data__;
@@ -2648,10 +2648,10 @@ function Bw(t) {
2648
2648
  var e = typeof t;
2649
2649
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
2650
2650
  }
2651
- function zw(t) {
2651
+ function jw(t) {
2652
2652
  return !!kl && kl in t;
2653
2653
  }
2654
- function jw(t) {
2654
+ function zw(t) {
2655
2655
  if (t != null) {
2656
2656
  try {
2657
2657
  return hd.call(t);
@@ -2766,11 +2766,11 @@ var ft = function(t) {
2766
2766
  return Fr.get(t);
2767
2767
  if (gd(t))
2768
2768
  return Fr.set(t, Tl), Tl;
2769
- var r = getComputedStyle(t), n = bs(t) && t.ownerSVGElement && t.getBBox(), i = !Zw && r.boxSizing === "border-box", a = Xw.test(r.writingMode || ""), s = !n && El.test(r.overflowY || ""), o = !n && El.test(r.overflowX || ""), l = n ? 0 : Fe(r.paddingTop), u = n ? 0 : Fe(r.paddingRight), f = n ? 0 : Fe(r.paddingBottom), h = n ? 0 : Fe(r.paddingLeft), g = n ? 0 : Fe(r.borderTopWidth), S = n ? 0 : Fe(r.borderRightWidth), x = n ? 0 : Fe(r.borderBottomWidth), R = n ? 0 : Fe(r.borderLeftWidth), D = h + u, w = l + f, C = R + S, P = g + x, A = o ? t.offsetHeight - P - t.clientHeight : 0, U = s ? t.offsetWidth - C - t.clientWidth : 0, _ = i ? D + C : 0, T = i ? w + P : 0, j = n ? n.width : Fe(r.width) - _ - U, ae = n ? n.height : Fe(r.height) - T - A, H = j + D + U + C, k = ae + w + A + P, pe = ft({
2770
- devicePixelContentBoxSize: Pt(Math.round(j * devicePixelRatio), Math.round(ae * devicePixelRatio), a),
2769
+ var r = getComputedStyle(t), n = bs(t) && t.ownerSVGElement && t.getBBox(), i = !Zw && r.boxSizing === "border-box", a = Xw.test(r.writingMode || ""), s = !n && El.test(r.overflowY || ""), o = !n && El.test(r.overflowX || ""), l = n ? 0 : Fe(r.paddingTop), u = n ? 0 : Fe(r.paddingRight), f = n ? 0 : Fe(r.paddingBottom), h = n ? 0 : Fe(r.paddingLeft), g = n ? 0 : Fe(r.borderTopWidth), S = n ? 0 : Fe(r.borderRightWidth), x = n ? 0 : Fe(r.borderBottomWidth), R = n ? 0 : Fe(r.borderLeftWidth), D = h + u, w = l + f, C = R + S, P = g + x, A = o ? t.offsetHeight - P - t.clientHeight : 0, U = s ? t.offsetWidth - C - t.clientWidth : 0, _ = i ? D + C : 0, T = i ? w + P : 0, z = n ? n.width : Fe(r.width) - _ - U, ae = n ? n.height : Fe(r.height) - T - A, H = z + D + U + C, k = ae + w + A + P, pe = ft({
2770
+ devicePixelContentBoxSize: Pt(Math.round(z * devicePixelRatio), Math.round(ae * devicePixelRatio), a),
2771
2771
  borderBoxSize: Pt(H, k, a),
2772
- contentBoxSize: Pt(j, ae, a),
2773
- contentRect: new vd(h, l, j, ae)
2772
+ contentBoxSize: Pt(z, ae, a),
2773
+ contentRect: new vd(h, l, z, ae)
2774
2774
  });
2775
2775
  return Fr.set(t, pe), pe;
2776
2776
  }, _d = function(t, e, r) {
@@ -3016,15 +3016,15 @@ var k0 = ge, D0 = function() {
3016
3016
  var t = A0(".", "s");
3017
3017
  return !(t.dotAll && t.exec(`
3018
3018
  `) && t.flags === "s");
3019
- }), N0 = q, L0 = ie, B0 = L0.RegExp, z0 = N0(function() {
3019
+ }), N0 = q, L0 = ie, B0 = L0.RegExp, j0 = N0(function() {
3020
3020
  var t = B0("(?<a>b)", "g");
3021
3021
  return t.exec("b").groups.a !== "b" || "b".replace(t, "$<a>c") !== "bc";
3022
- }), Rt = we, Dn = Z, j0 = _t, W0 = D0, V0 = R0, Y0 = bn.exports, U0 = ds, H0 = Wt.get, G0 = F0, q0 = z0, K0 = Y0("native-string-replace", String.prototype.replace), sn = RegExp.prototype.exec, Da = sn, X0 = Dn("".charAt), Z0 = Dn("".indexOf), J0 = Dn("".replace), Xi = Dn("".slice), Ma = function() {
3022
+ }), Rt = we, Dn = Z, z0 = _t, W0 = D0, V0 = R0, Y0 = bn.exports, U0 = ds, H0 = Wt.get, G0 = F0, q0 = j0, K0 = Y0("native-string-replace", String.prototype.replace), sn = RegExp.prototype.exec, Da = sn, X0 = Dn("".charAt), Z0 = Dn("".indexOf), J0 = Dn("".replace), Xi = Dn("".slice), Ma = function() {
3023
3023
  var t = /a/, e = /b*/g;
3024
3024
  return Rt(sn, t, "a"), Rt(sn, e, "a"), t.lastIndex !== 0 || e.lastIndex !== 0;
3025
3025
  }(), wd = V0.BROKEN_CARET, Ea = /()??/.exec("")[1] !== void 0, Q0 = Ma || Ea || wd || G0 || q0;
3026
3026
  Q0 && (Da = function(e) {
3027
- var r = this, n = H0(r), i = j0(e), a = n.raw, s, o, l, u, f, h, g;
3027
+ var r = this, n = H0(r), i = z0(e), a = n.raw, s, o, l, u, f, h, g;
3028
3028
  if (a)
3029
3029
  return a.lastIndex = r.lastIndex, s = Rt(Da, a, i), r.lastIndex = a.lastIndex, s;
3030
3030
  var S = n.groups, x = wd && r.sticky, R = Rt(W0, r), D = r.source, w = 0, C = i;
@@ -3041,7 +3041,7 @@ var $s = Da, eC = Ke, Bl = $s;
3041
3041
  eC({ target: "RegExp", proto: !0, forced: /./.exec !== Bl }, {
3042
3042
  exec: Bl
3043
3043
  });
3044
- var zl = Z, jl = yt, tC = $s, Wl = q, Cd = le, rC = jt, nC = Cd("species"), Zi = RegExp.prototype, $d = function(t, e, r, n) {
3044
+ var jl = Z, zl = yt, tC = $s, Wl = q, Cd = le, rC = zt, nC = Cd("species"), Zi = RegExp.prototype, $d = function(t, e, r, n) {
3045
3045
  var i = Cd(t), a = !Wl(function() {
3046
3046
  var u = {};
3047
3047
  return u[i] = function() {
@@ -3056,14 +3056,14 @@ var zl = Z, jl = yt, tC = $s, Wl = q, Cd = le, rC = jt, nC = Cd("species"), Zi =
3056
3056
  }, f[i](""), !u;
3057
3057
  });
3058
3058
  if (!a || !s || r) {
3059
- var o = zl(/./[i]), l = e(i, ""[t], function(u, f, h, g, S) {
3060
- var x = zl(u), R = f.exec;
3059
+ var o = jl(/./[i]), l = e(i, ""[t], function(u, f, h, g, S) {
3060
+ var x = jl(u), R = f.exec;
3061
3061
  return R === tC || R === Zi.exec ? a && !S ? { done: !0, value: o(f, h, g) } : { done: !0, value: x(h, f, g) } : { done: !1 };
3062
3062
  });
3063
- jl(String.prototype, t, l[0]), jl(Zi, i, l[1]);
3063
+ zl(String.prototype, t, l[0]), zl(Zi, i, l[1]);
3064
3064
  }
3065
3065
  n && rC(Zi[i], "sham", !0);
3066
- }, iC = ju.charAt, xd = function(t, e, r) {
3066
+ }, iC = zu.charAt, xd = function(t, e, r) {
3067
3067
  return e + (r ? iC(t, e).length : 1);
3068
3068
  }, Vl = we, aC = ge, sC = re, oC = at, lC = $s, cC = TypeError, Od = function(t, e) {
3069
3069
  var r = t.exec;
@@ -3138,7 +3138,7 @@ var $C = pn, Ed = Function.prototype, Ul = Ed.apply, Hl = Ed.call, xC = typeof R
3138
3138
  }
3139
3139
  return h === void 0 ? "" : h;
3140
3140
  });
3141
- }, RC = xC, Gl = we, Mn = Z, IC = $d, PC = q, AC = ge, FC = re, NC = vt, LC = Cn, BC = is, Dt = _t, zC = Bt, jC = xd, WC = mr, VC = TC, YC = Od, UC = le, Ta = UC("replace"), HC = Math.max, GC = Math.min, qC = Mn([].concat), ta = Mn([].push), ql = Mn("".indexOf), Kl = Mn("".slice), KC = function(t) {
3141
+ }, RC = xC, Gl = we, Mn = Z, IC = $d, PC = q, AC = ge, FC = re, NC = vt, LC = Cn, BC = is, Dt = _t, jC = Bt, zC = xd, WC = mr, VC = TC, YC = Od, UC = le, Ta = UC("replace"), HC = Math.max, GC = Math.min, qC = Mn([].concat), ta = Mn([].push), ql = Mn("".indexOf), Kl = Mn("".slice), KC = function(t) {
3142
3142
  return t === void 0 ? t : String(t);
3143
3143
  }, XC = function() {
3144
3144
  return "a".replace(/./, "$0") === "$0";
@@ -3155,7 +3155,7 @@ IC("replace", function(t, e, r) {
3155
3155
  var n = Xl ? "$" : "$0";
3156
3156
  return [
3157
3157
  function(a, s) {
3158
- var o = zC(this), l = NC(a) ? void 0 : WC(a, Ta);
3158
+ var o = jC(this), l = NC(a) ? void 0 : WC(a, Ta);
3159
3159
  return l ? Gl(l, a, o, s) : Gl(e, Dt(o), a, s);
3160
3160
  },
3161
3161
  function(i, a) {
@@ -3177,7 +3177,7 @@ IC("replace", function(t, e, r) {
3177
3177
  if (S === null || (ta(g, S), !f))
3178
3178
  break;
3179
3179
  var x = Dt(S[0]);
3180
- x === "" && (s.lastIndex = jC(o, BC(s.lastIndex), h));
3180
+ x === "" && (s.lastIndex = zC(o, BC(s.lastIndex), h));
3181
3181
  }
3182
3182
  for (var R = "", D = 0, w = 0; w < g.length; w++) {
3183
3183
  S = g[w];
@@ -3187,10 +3187,10 @@ IC("replace", function(t, e, r) {
3187
3187
  if (u) {
3188
3188
  var T = qC([C], A, P, o);
3189
3189
  _ !== void 0 && ta(T, _);
3190
- var j = Dt(RC(a, void 0, T));
3190
+ var z = Dt(RC(a, void 0, T));
3191
3191
  } else
3192
- j = VC(C, o, P, A, _, a);
3193
- P >= D && (R += Kl(o, D, P) + j, D = P + C.length);
3192
+ z = VC(C, o, P, A, _, a);
3193
+ P >= D && (R += Kl(o, D, P) + z, D = P + C.length);
3194
3194
  }
3195
3195
  return R + Kl(o, D);
3196
3196
  }
@@ -3797,13 +3797,13 @@ function Fd(t, e) {
3797
3797
  }
3798
3798
  y.suppressDeprecationWarnings = !1;
3799
3799
  y.deprecationHandler = null;
3800
- function ze(t) {
3800
+ function je(t) {
3801
3801
  return typeof Function < "u" && t instanceof Function || Object.prototype.toString.call(t) === "[object Function]";
3802
3802
  }
3803
3803
  function l$(t) {
3804
3804
  var e, r;
3805
3805
  for (r in t)
3806
- B(t, r) && (e = t[r], ze(e) ? this[r] = e : this["_" + r] = e);
3806
+ B(t, r) && (e = t[r], je(e) ? this[r] = e : this["_" + r] = e);
3807
3807
  this._config = t, this._dayOfMonthOrdinalParseLenient = new RegExp(
3808
3808
  (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
3809
3809
  );
@@ -3836,7 +3836,7 @@ var c$ = {
3836
3836
  };
3837
3837
  function u$(t, e, r) {
3838
3838
  var n = this._calendar[t] || this._calendar.sameElse;
3839
- return ze(n) ? n.call(e, r) : n;
3839
+ return je(n) ? n.call(e, r) : n;
3840
3840
  }
3841
3841
  function Le(t, e, r) {
3842
3842
  var n = "" + Math.abs(t), i = e - n.length, a = t >= 0;
@@ -3866,7 +3866,7 @@ function f$(t) {
3866
3866
  return function(i) {
3867
3867
  var a = "", s;
3868
3868
  for (s = 0; s < n; s++)
3869
- a += ze(e[s]) ? e[s].call(i, t) : e[s];
3869
+ a += je(e[s]) ? e[s].call(i, t) : e[s];
3870
3870
  return a;
3871
3871
  };
3872
3872
  }
@@ -3927,11 +3927,11 @@ var b$ = {
3927
3927
  };
3928
3928
  function S$(t, e, r, n) {
3929
3929
  var i = this._relativeTime[r];
3930
- return ze(i) ? i(t, e, r, n) : i.replace(/%d/i, t);
3930
+ return je(i) ? i(t, e, r, n) : i.replace(/%d/i, t);
3931
3931
  }
3932
3932
  function w$(t, e) {
3933
3933
  var r = this._relativeTime[t > 0 ? "future" : "past"];
3934
- return ze(r) ? r(e) : r.replace(/%s/i, e);
3934
+ return je(r) ? r(e) : r.replace(/%s/i, e);
3935
3935
  }
3936
3936
  var ar = {};
3937
3937
  function ce(t, e) {
@@ -3985,7 +3985,7 @@ function Bd(t, e, r) {
3985
3985
  )) : t._d["set" + (t._isUTC ? "UTC" : "") + e](r));
3986
3986
  }
3987
3987
  function $$(t) {
3988
- return t = $e(t), ze(this[t]) ? this[t]() : this;
3988
+ return t = $e(t), je(this[t]) ? this[t]() : this;
3989
3989
  }
3990
3990
  function x$(t, e) {
3991
3991
  if (typeof t == "object") {
@@ -3993,14 +3993,14 @@ function x$(t, e) {
3993
3993
  var r = C$(t), n, i = r.length;
3994
3994
  for (n = 0; n < i; n++)
3995
3995
  this[r[n].unit](t[r[n].unit]);
3996
- } else if (t = $e(t), ze(this[t]))
3996
+ } else if (t = $e(t), je(this[t]))
3997
3997
  return this[t](e);
3998
3998
  return this;
3999
3999
  }
4000
- var zd = /\d/, ye = /\d\d/, jd = /\d{3}/, Rs = /\d{4}/, Rn = /[+-]?\d{6}/, K = /\d\d?/, Wd = /\d\d\d\d?/, Vd = /\d\d\d\d\d\d?/, In = /\d{1,3}/, Is = /\d{1,4}/, Pn = /[+-]?\d{1,6}/, Ht = /\d+/, An = /[+-]?\d+/, O$ = /Z|[+-]\d\d:?\d\d/gi, Fn = /Z|[+-]\d\d(?::?\d\d)?/gi, k$ = /[+-]?\d+(\.\d{1,3})?/, br = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, cn;
4000
+ var jd = /\d/, ye = /\d\d/, zd = /\d{3}/, Rs = /\d{4}/, Rn = /[+-]?\d{6}/, K = /\d\d?/, Wd = /\d\d\d\d?/, Vd = /\d\d\d\d\d\d?/, In = /\d{1,3}/, Is = /\d{1,4}/, Pn = /[+-]?\d{1,6}/, Ht = /\d+/, An = /[+-]?\d+/, O$ = /Z|[+-]\d\d:?\d\d/gi, Fn = /Z|[+-]\d\d(?::?\d\d)?/gi, k$ = /[+-]?\d+(\.\d{1,3})?/, br = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, cn;
4001
4001
  cn = {};
4002
4002
  function b(t, e, r) {
4003
- cn[t] = ze(e) ? e : function(n, i) {
4003
+ cn[t] = je(e) ? e : function(n, i) {
4004
4004
  return n && r ? r : e;
4005
4005
  };
4006
4006
  }
@@ -4099,7 +4099,7 @@ function B$(t, e, r) {
4099
4099
  ).toLocaleLowerCase(), this._longMonthsParse[n] = this.months(a, "").toLocaleLowerCase();
4100
4100
  return r ? e === "MMM" ? (i = ee.call(this._shortMonthsParse, s), i !== -1 ? i : null) : (i = ee.call(this._longMonthsParse, s), i !== -1 ? i : null) : e === "MMM" ? (i = ee.call(this._shortMonthsParse, s), i !== -1 ? i : (i = ee.call(this._longMonthsParse, s), i !== -1 ? i : null)) : (i = ee.call(this._longMonthsParse, s), i !== -1 ? i : (i = ee.call(this._shortMonthsParse, s), i !== -1 ? i : null));
4101
4101
  }
4102
- function z$(t, e, r) {
4102
+ function j$(t, e, r) {
4103
4103
  var n, i, a;
4104
4104
  if (this._monthsParseExact)
4105
4105
  return B$.call(this, t, e, r);
@@ -4133,7 +4133,7 @@ function Hd(t, e) {
4133
4133
  function Gd(t) {
4134
4134
  return t != null ? (Hd(this, t), y.updateOffset(this, !0), this) : ln(this, "Month");
4135
4135
  }
4136
- function j$() {
4136
+ function z$() {
4137
4137
  return Nn(this.year(), this.month());
4138
4138
  }
4139
4139
  function W$(t) {
@@ -4597,7 +4597,7 @@ function Ls(t) {
4597
4597
  var e, r = t._a;
4598
4598
  return r && I(t).overflow === -2 && (e = r[Ye] < 0 || r[Ye] > 11 ? Ye : r[Ne] < 1 || r[Ne] > Nn(r[oe], r[Ye]) ? Ne : r[ne] < 0 || r[ne] > 24 || r[ne] === 24 && (r[De] !== 0 || r[Ue] !== 0 || r[ct] !== 0) ? ne : r[De] < 0 || r[De] > 59 ? De : r[Ue] < 0 || r[Ue] > 59 ? Ue : r[ct] < 0 || r[ct] > 999 ? ct : -1, I(t)._overflowDayOfYear && (e < oe || e > Ne) && (e = Ne), I(t)._overflowWeeks && e === -1 && (e = T$), I(t)._overflowWeekday && e === -1 && (e = R$), I(t).overflow = e), t;
4599
4599
  }
4600
- var Ox = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, kx = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Dx = /Z|[+-]\d\d(?::?\d\d)?/, zr = [
4600
+ var Ox = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, kx = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Dx = /Z|[+-]\d\d(?::?\d\d)?/, jr = [
4601
4601
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
4602
4602
  ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
4603
4603
  ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
@@ -4634,11 +4634,11 @@ var Ox = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
4634
4634
  PST: -8 * 60
4635
4635
  };
4636
4636
  function tf(t) {
4637
- var e, r, n = t._i, i = Ox.exec(n) || kx.exec(n), a, s, o, l, u = zr.length, f = ia.length;
4637
+ var e, r, n = t._i, i = Ox.exec(n) || kx.exec(n), a, s, o, l, u = jr.length, f = ia.length;
4638
4638
  if (i) {
4639
4639
  for (I(t).iso = !0, e = 0, r = u; e < r; e++)
4640
- if (zr[e][1].exec(i[1])) {
4641
- s = zr[e][0], a = zr[e][2] !== !1;
4640
+ if (jr[e][1].exec(i[1])) {
4641
+ s = jr[e][0], a = jr[e][2] !== !1;
4642
4642
  break;
4643
4643
  }
4644
4644
  if (s == null) {
@@ -4667,7 +4667,7 @@ function tf(t) {
4667
4667
  t._isValid = !1;
4668
4668
  return;
4669
4669
  }
4670
- t._f = s + (o || "") + (l || ""), zs(t);
4670
+ t._f = s + (o || "") + (l || ""), js(t);
4671
4671
  } else
4672
4672
  t._isValid = !1;
4673
4673
  }
@@ -4782,7 +4782,7 @@ y.ISO_8601 = function() {
4782
4782
  };
4783
4783
  y.RFC_2822 = function() {
4784
4784
  };
4785
- function zs(t) {
4785
+ function js(t) {
4786
4786
  if (t._f === y.ISO_8601) {
4787
4787
  tf(t);
4788
4788
  return;
@@ -4797,24 +4797,24 @@ function zs(t) {
4797
4797
  a = i[r], n = (e.match(D$(a, t)) || [])[0], n && (s = e.substr(0, e.indexOf(n)), s.length > 0 && I(t).unusedInput.push(s), e = e.slice(
4798
4798
  e.indexOf(n) + n.length
4799
4799
  ), l += n.length), At[a] ? (n ? I(t).empty = !1 : I(t).unusedTokens.push(a), E$(a, n, t)) : t._strict && !n && I(t).unusedTokens.push(a);
4800
- I(t).charsLeftOver = o - l, e.length > 0 && I(t).unusedInput.push(e), t._a[ne] <= 12 && I(t).bigHour === !0 && t._a[ne] > 0 && (I(t).bigHour = void 0), I(t).parsedDateParts = t._a.slice(0), I(t).meridiem = t._meridiem, t._a[ne] = zx(
4800
+ I(t).charsLeftOver = o - l, e.length > 0 && I(t).unusedInput.push(e), t._a[ne] <= 12 && I(t).bigHour === !0 && t._a[ne] > 0 && (I(t).bigHour = void 0), I(t).parsedDateParts = t._a.slice(0), I(t).meridiem = t._meridiem, t._a[ne] = jx(
4801
4801
  t._locale,
4802
4802
  t._a[ne],
4803
4803
  t._meridiem
4804
4804
  ), u = I(t).era, u !== null && (t._a[oe] = t._locale.erasConvertYear(u, t._a[oe])), Bs(t), Ls(t);
4805
4805
  }
4806
- function zx(t, e, r) {
4806
+ function jx(t, e, r) {
4807
4807
  var n;
4808
4808
  return r == null ? e : t.meridiemHour != null ? t.meridiemHour(e, r) : (t.isPM != null && (n = t.isPM(r), n && e < 12 && (e += 12), !n && e === 12 && (e = 0)), e);
4809
4809
  }
4810
- function jx(t) {
4810
+ function zx(t) {
4811
4811
  var e, r, n, i, a, s, o = !1, l = t._f.length;
4812
4812
  if (l === 0) {
4813
4813
  I(t).invalidFormat = !0, t._d = new Date(NaN);
4814
4814
  return;
4815
4815
  }
4816
4816
  for (i = 0; i < l; i++)
4817
- a = 0, s = !1, e = Ds({}, t), t._useUTC != null && (e._useUTC = t._useUTC), e._f = t._f[i], zs(e), ks(e) && (s = !0), a += I(e).charsLeftOver, a += I(e).unusedTokens.length * 10, I(e).score = a, o ? a < n && (n = a, r = e) : (n == null || a < n || s) && (n = a, r = e, s && (o = !0));
4817
+ a = 0, s = !1, e = Ds({}, t), t._useUTC != null && (e._useUTC = t._useUTC), e._f = t._f[i], js(e), ks(e) && (s = !0), a += I(e).charsLeftOver, a += I(e).unusedTokens.length * 10, I(e).score = a, o ? a < n && (n = a, r = e) : (n == null || a < n || s) && (n = a, r = e, s && (o = !0));
4818
4818
  tt(t, r || e);
4819
4819
  }
4820
4820
  function Wx(t) {
@@ -4834,7 +4834,7 @@ function Vx(t) {
4834
4834
  }
4835
4835
  function nf(t) {
4836
4836
  var e = t._i, r = t._f;
4837
- return t._locale = t._locale || Xe(t._l), e === null || r === void 0 && e === "" ? En({ nullInput: !0 }) : (typeof e == "string" && (t._i = e = t._locale.preparse(e)), Ee(e) ? new _r(Ls(e)) : (yr(e) ? t._d = e : Me(r) ? jx(t) : r ? zs(t) : Yx(t), ks(t) || (t._d = null), t));
4837
+ return t._locale = t._locale || Xe(t._l), e === null || r === void 0 && e === "" ? En({ nullInput: !0 }) : (typeof e == "string" && (t._i = e = t._locale.preparse(e)), Ee(e) ? new _r(Ls(e)) : (yr(e) ? t._d = e : Me(r) ? zx(t) : r ? js(t) : Yx(t), ks(t) || (t._d = null), t));
4838
4838
  }
4839
4839
  function Yx(t) {
4840
4840
  var e = t._i;
@@ -4937,10 +4937,10 @@ of("ZZ", "");
4937
4937
  b("Z", Fn);
4938
4938
  b("ZZ", Fn);
4939
4939
  Y(["Z", "ZZ"], function(t, e, r) {
4940
- r._useUTC = !0, r._tzm = js(Fn, t);
4940
+ r._useUTC = !0, r._tzm = zs(Fn, t);
4941
4941
  });
4942
4942
  var eO = /([\+\-]|\d\d)/gi;
4943
- function js(t, e) {
4943
+ function zs(t, e) {
4944
4944
  var r = (e || "").match(t), n, i, a;
4945
4945
  return r === null ? null : (n = r[r.length - 1] || [], i = (n + "").match(eO) || ["-", 0, 0], a = +(i[1] * 60) + F(i[2]), a === 0 ? 0 : i[0] === "+" ? a : -a);
4946
4946
  }
@@ -4959,7 +4959,7 @@ function tO(t, e, r) {
4959
4959
  return t != null ? this : NaN;
4960
4960
  if (t != null) {
4961
4961
  if (typeof t == "string") {
4962
- if (t = js(Fn, t), t === null)
4962
+ if (t = zs(Fn, t), t === null)
4963
4963
  return this;
4964
4964
  } else
4965
4965
  Math.abs(t) < 16 && !r && (t = t * 60);
@@ -4985,7 +4985,7 @@ function aO() {
4985
4985
  if (this._tzm != null)
4986
4986
  this.utcOffset(this._tzm, !1, !0);
4987
4987
  else if (typeof this._i == "string") {
4988
- var t = js(O$, this._i);
4988
+ var t = zs(O$, this._i);
4989
4989
  t != null ? this.utcOffset(t) : this.utcOffset(0, !0);
4990
4990
  }
4991
4991
  return this;
@@ -5128,7 +5128,7 @@ function bO(t, e) {
5128
5128
  }
5129
5129
  function SO(t, e) {
5130
5130
  arguments.length === 1 && (arguments[0] ? vO(arguments[0]) ? (t = arguments[0], e = void 0) : _O(arguments[0]) && (e = arguments[0], t = void 0) : (t = void 0, e = void 0));
5131
- var r = t || G(), n = Ws(r, this).startOf("day"), i = y.calendarFormat(this, n) || "sameElse", a = e && (ze(e[i]) ? e[i].call(this, r) : e[i]);
5131
+ var r = t || G(), n = Ws(r, this).startOf("day"), i = y.calendarFormat(this, n) || "sameElse", a = e && (je(e[i]) ? e[i].call(this, r) : e[i]);
5132
5132
  return this.format(
5133
5133
  a || this.localeData().calendar(i, this, G(r))
5134
5134
  );
@@ -5212,7 +5212,7 @@ function TO(t) {
5212
5212
  return r.year() < 0 || r.year() > 9999 ? Xr(
5213
5213
  r,
5214
5214
  e ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
5215
- ) : ze(Date.prototype.toISOString) ? e ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Xr(r, "Z")) : Xr(
5215
+ ) : je(Date.prototype.toISOString) ? e ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Xr(r, "Z")) : Xr(
5216
5216
  r,
5217
5217
  e ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
5218
5218
  );
@@ -5365,10 +5365,10 @@ function BO(t) {
5365
5365
  }
5366
5366
  return this._d.setTime(e), y.updateOffset(this, !0), this;
5367
5367
  }
5368
- function zO() {
5368
+ function jO() {
5369
5369
  return this._d.valueOf() - (this._offset || 0) * 6e4;
5370
5370
  }
5371
- function jO() {
5371
+ function zO() {
5372
5372
  return Math.floor(this.valueOf() / 1e3);
5373
5373
  }
5374
5374
  function WO() {
@@ -5560,13 +5560,13 @@ O(0, ["gg", 2], 0, function() {
5560
5560
  O(0, ["GG", 2], 0, function() {
5561
5561
  return this.isoWeekYear() % 100;
5562
5562
  });
5563
- function zn(t, e) {
5563
+ function jn(t, e) {
5564
5564
  O(0, [t, t.length], 0, e);
5565
5565
  }
5566
- zn("gggg", "weekYear");
5567
- zn("ggggg", "weekYear");
5568
- zn("GGGG", "isoWeekYear");
5569
- zn("GGGGG", "isoWeekYear");
5566
+ jn("gggg", "weekYear");
5567
+ jn("ggggg", "weekYear");
5568
+ jn("GGGG", "isoWeekYear");
5569
+ jn("GGGGG", "isoWeekYear");
5570
5570
  ce("weekYear", "gg");
5571
5571
  ce("isoWeekYear", "GG");
5572
5572
  ue("weekYear", 1);
@@ -5633,7 +5633,7 @@ function pk(t, e, r, n, i) {
5633
5633
  O("Q", 0, "Qo", "quarter");
5634
5634
  ce("quarter", "Q");
5635
5635
  ue("quarter", 7);
5636
- b("Q", zd);
5636
+ b("Q", jd);
5637
5637
  Y("Q", function(t, e) {
5638
5638
  e[Ye] = (F(t) - 1) * 3;
5639
5639
  });
@@ -5657,7 +5657,7 @@ O("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
5657
5657
  ce("dayOfYear", "DDD");
5658
5658
  ue("dayOfYear", 4);
5659
5659
  b("DDD", In);
5660
- b("DDDD", jd);
5660
+ b("DDDD", zd);
5661
5661
  Y(["DDD", "DDDD"], function(t, e, r) {
5662
5662
  r._dayOfYear = F(t);
5663
5663
  });
@@ -5708,9 +5708,9 @@ O(0, ["SSSSSSSSS", 9], 0, function() {
5708
5708
  });
5709
5709
  ce("millisecond", "ms");
5710
5710
  ue("millisecond", 16);
5711
- b("S", In, zd);
5711
+ b("S", In, jd);
5712
5712
  b("SS", In, ye);
5713
- b("SSS", In, jd);
5713
+ b("SSS", In, zd);
5714
5714
  var rt, bf;
5715
5715
  for (rt = "SSSS"; rt.length <= 9; rt += "S")
5716
5716
  b(rt, Ht);
@@ -5767,8 +5767,8 @@ typeof Symbol < "u" && Symbol.for != null && (v[Symbol.for("nodejs.util.inspect.
5767
5767
  });
5768
5768
  v.toJSON = UO;
5769
5769
  v.toString = EO;
5770
- v.unix = jO;
5771
- v.valueOf = zO;
5770
+ v.unix = zO;
5771
+ v.valueOf = jO;
5772
5772
  v.creationData = KO;
5773
5773
  v.eraName = QO;
5774
5774
  v.eraNarrow = ek;
@@ -5780,7 +5780,7 @@ v.weekYear = ck;
5780
5780
  v.isoWeekYear = uk;
5781
5781
  v.quarter = v.quarters = vk;
5782
5782
  v.month = Gd;
5783
- v.daysInMonth = j$;
5783
+ v.daysInMonth = z$;
5784
5784
  v.week = v.weeks = X$;
5785
5785
  v.isoWeek = v.isoWeeks = Z$;
5786
5786
  v.weeksInYear = hk;
@@ -5837,39 +5837,39 @@ function $k() {
5837
5837
  function Sf(t) {
5838
5838
  return t;
5839
5839
  }
5840
- var z = Ms.prototype;
5841
- z.calendar = u$;
5842
- z.longDateFormat = m$;
5843
- z.invalidDate = v$;
5844
- z.ordinal = _$;
5845
- z.preparse = Sf;
5846
- z.postformat = Sf;
5847
- z.relativeTime = S$;
5848
- z.pastFuture = w$;
5849
- z.set = l$;
5850
- z.eras = XO;
5851
- z.erasParse = ZO;
5852
- z.erasConvertYear = JO;
5853
- z.erasAbbrRegex = ik;
5854
- z.erasNameRegex = nk;
5855
- z.erasNarrowRegex = ak;
5856
- z.months = N$;
5857
- z.monthsShort = L$;
5858
- z.monthsParse = z$;
5859
- z.monthsRegex = V$;
5860
- z.monthsShortRegex = W$;
5861
- z.week = H$;
5862
- z.firstDayOfYear = K$;
5863
- z.firstDayOfWeek = q$;
5864
- z.weekdays = ax;
5865
- z.weekdaysMin = ox;
5866
- z.weekdaysShort = sx;
5867
- z.weekdaysParse = cx;
5868
- z.weekdaysRegex = hx;
5869
- z.weekdaysShortRegex = mx;
5870
- z.weekdaysMinRegex = px;
5871
- z.isPM = gx;
5872
- z.meridiem = bx;
5840
+ var j = Ms.prototype;
5841
+ j.calendar = u$;
5842
+ j.longDateFormat = m$;
5843
+ j.invalidDate = v$;
5844
+ j.ordinal = _$;
5845
+ j.preparse = Sf;
5846
+ j.postformat = Sf;
5847
+ j.relativeTime = S$;
5848
+ j.pastFuture = w$;
5849
+ j.set = l$;
5850
+ j.eras = XO;
5851
+ j.erasParse = ZO;
5852
+ j.erasConvertYear = JO;
5853
+ j.erasAbbrRegex = ik;
5854
+ j.erasNameRegex = nk;
5855
+ j.erasNarrowRegex = ak;
5856
+ j.months = N$;
5857
+ j.monthsShort = L$;
5858
+ j.monthsParse = j$;
5859
+ j.monthsRegex = V$;
5860
+ j.monthsShortRegex = W$;
5861
+ j.week = H$;
5862
+ j.firstDayOfYear = K$;
5863
+ j.firstDayOfWeek = q$;
5864
+ j.weekdays = ax;
5865
+ j.weekdaysMin = ox;
5866
+ j.weekdaysShort = sx;
5867
+ j.weekdaysParse = cx;
5868
+ j.weekdaysRegex = hx;
5869
+ j.weekdaysShortRegex = mx;
5870
+ j.weekdaysMinRegex = px;
5871
+ j.isPM = gx;
5872
+ j.meridiem = bx;
5873
5873
  function hn(t, e, r, n) {
5874
5874
  var i = Xe(), a = Be().set(n, e);
5875
5875
  return i[r](a, t);
@@ -6006,7 +6006,7 @@ function Ze(t) {
6006
6006
  return this.as(t);
6007
6007
  };
6008
6008
  }
6009
- var Fk = Ze("ms"), Nk = Ze("s"), Lk = Ze("m"), Bk = Ze("h"), zk = Ze("d"), jk = Ze("w"), Wk = Ze("M"), Vk = Ze("Q"), Yk = Ze("y");
6009
+ var Fk = Ze("ms"), Nk = Ze("s"), Lk = Ze("m"), Bk = Ze("h"), jk = Ze("d"), zk = Ze("w"), Wk = Ze("M"), Vk = Ze("Q"), Yk = Ze("y");
6010
6010
  function Uk() {
6011
6011
  return Pe(this);
6012
6012
  }
@@ -6054,7 +6054,7 @@ var aa = Math.abs;
6054
6054
  function Mt(t) {
6055
6055
  return (t > 0) - (t < 0) || +t;
6056
6056
  }
6057
- function jn() {
6057
+ function zn() {
6058
6058
  if (!this.isValid())
6059
6059
  return this.localeData().invalidDate();
6060
6060
  var t = aa(this._milliseconds) / 1e3, e = aa(this._days), r = aa(this._months), n, i, a, s, o = this.asSeconds(), l, u, f, h;
@@ -6070,8 +6070,8 @@ L.asMilliseconds = Fk;
6070
6070
  L.asSeconds = Nk;
6071
6071
  L.asMinutes = Lk;
6072
6072
  L.asHours = Bk;
6073
- L.asDays = zk;
6074
- L.asWeeks = jk;
6073
+ L.asDays = jk;
6074
+ L.asWeeks = zk;
6075
6075
  L.asMonths = Wk;
6076
6076
  L.asQuarters = Vk;
6077
6077
  L.asYears = Yk;
@@ -6088,14 +6088,14 @@ L.weeks = e1;
6088
6088
  L.months = Jk;
6089
6089
  L.years = Qk;
6090
6090
  L.humanize = a1;
6091
- L.toISOString = jn;
6092
- L.toString = jn;
6093
- L.toJSON = jn;
6091
+ L.toISOString = zn;
6092
+ L.toString = zn;
6093
+ L.toJSON = zn;
6094
6094
  L.locale = ff;
6095
6095
  L.localeData = mf;
6096
6096
  L.toIsoString = Ce(
6097
6097
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
6098
- jn
6098
+ zn
6099
6099
  );
6100
6100
  L.lang = hf;
6101
6101
  O("X", 0, 0, "unix");
@@ -6152,7 +6152,7 @@ y.HTML5_FMT = {
6152
6152
  const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6153
6153
  __proto__: null,
6154
6154
  default: y
6155
- }, Symbol.toStringTag, { value: "Module" })), o1 = /* @__PURE__ */ jf(s1);
6155
+ }, Symbol.toStringTag, { value: "Module" })), o1 = /* @__PURE__ */ zf(s1);
6156
6156
  /*!
6157
6157
  * Pikaday
6158
6158
  *
@@ -6254,7 +6254,7 @@ const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6254
6254
  onClose: null,
6255
6255
  onDraw: null,
6256
6256
  keyboardInput: !0
6257
- }, j = function(d, c, m) {
6257
+ }, z = function(d, c, m) {
6258
6258
  for (c += d.firstDay; c >= 7; )
6259
6259
  c -= 7;
6260
6260
  return m ? d.i18n.weekdaysShort[c] : d.i18n.weekdays[c];
@@ -6268,8 +6268,8 @@ const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6268
6268
  return d.isDisabled && c.push("is-disabled"), d.isToday && c.push("is-today"), d.isSelected && (c.push("is-selected"), m = "true"), d.hasEvent && c.push("has-event"), d.isInRange && c.push("is-inrange"), d.isStartRange && c.push("is-startrange"), d.isEndRange && c.push("is-endrange"), '<td data-day="' + d.day + '" class="' + c.join(" ") + '" aria-selected="' + m + '"><button class="pika-button pika-day" type="button" data-pika-year="' + d.year + '" data-pika-month="' + d.month + '" data-pika-day="' + d.day + '">' + d.day + "</button></td>";
6269
6269
  }, H = function(d, c) {
6270
6270
  d.setHours(0, 0, 0, 0);
6271
- var m = d.getDate(), p = d.getDay(), $ = c, M = $ - 1, E = 7, Q = function(je) {
6272
- return (je + E - 1) % E;
6271
+ var m = d.getDate(), p = d.getDay(), $ = c, M = $ - 1, E = 7, Q = function(ze) {
6272
+ return (ze + E - 1) % E;
6273
6273
  };
6274
6274
  d.setDate(m + M - Q(p));
6275
6275
  var W = new Date(d.getFullYear(), 0, $), V = 24 * 60 * 60 * 1e3, xe = (d.getTime() - W.getTime()) / V, _e = 1 + Math.round((xe - M + Q(W.getDay())) / E);
@@ -6284,15 +6284,15 @@ const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6284
6284
  }, di = function(d) {
6285
6285
  var c, m = [];
6286
6286
  for (d.showWeekNumber && m.push("<th></th>"), c = 0; c < 7; c++)
6287
- m.push('<th scope="col"><abbr title="' + j(d, c) + '">' + j(d, c, !0) + "</abbr></th>");
6287
+ m.push('<th scope="col"><abbr title="' + z(d, c) + '">' + z(d, c, !0) + "</abbr></th>");
6288
6288
  return "<thead><tr>" + (d.isRTL ? m.reverse() : m).join("") + "</tr></thead>";
6289
6289
  }, st = function(d, c, m, p, $, M) {
6290
- var E, Q, W, V = d._o, xe = m === V.minYear, _e = m === V.maxYear, je = '<div id="' + M + '" class="pika-title" role="heading" aria-live="assertive">', Gt, ot, Ct = !0, $t = !0;
6290
+ var E, Q, W, V = d._o, xe = m === V.minYear, _e = m === V.maxYear, ze = '<div id="' + M + '" class="pika-title" role="heading" aria-live="assertive">', Gt, ot, Ct = !0, $t = !0;
6291
6291
  for (W = [], E = 0; E < 12; E++)
6292
6292
  W.push('<option value="' + (m === $ ? E - c : 12 + E - c) + '"' + (E === p ? ' selected="selected"' : "") + (xe && E < V.minMonth || _e && E > V.maxMonth ? ' disabled="disabled"' : "") + ">" + V.i18n.months[E] + "</option>");
6293
6293
  for (Gt = '<div class="pika-label">' + V.i18n.months[p] + '<select class="pika-select pika-select-month" tabindex="-1">' + W.join("") + "</select></div>", S(V.yearRange) ? (E = V.yearRange[0], Q = V.yearRange[1] + 1) : (E = m - V.yearRange, Q = 1 + m + V.yearRange), W = []; E < Q && E <= V.maxYear; E++)
6294
6294
  E >= V.minYear && W.push('<option value="' + E + '"' + (E === m ? ' selected="selected"' : "") + ">" + E + "</option>");
6295
- return ot = '<div class="pika-label">' + m + V.yearSuffix + '<select class="pika-select pika-select-year" tabindex="-1">' + W.join("") + "</select></div>", V.showMonthAfterYear ? je += ot + Gt : je += Gt + ot, xe && (p === 0 || V.minMonth >= p) && (Ct = !1), _e && (p === 11 || V.maxMonth <= p) && ($t = !1), c === 0 && (je += '<button class="pika-prev' + (Ct ? "" : " is-disabled") + '" type="button">' + V.i18n.previousMonth + "</button>"), c === d._o.numberOfMonths - 1 && (je += '<button class="pika-next' + ($t ? "" : " is-disabled") + '" type="button">' + V.i18n.nextMonth + "</button>"), je += "</div>";
6295
+ return ot = '<div class="pika-label">' + m + V.yearSuffix + '<select class="pika-select pika-select-year" tabindex="-1">' + W.join("") + "</select></div>", V.showMonthAfterYear ? ze += ot + Gt : ze += Gt + ot, xe && (p === 0 || V.minMonth >= p) && (Ct = !1), _e && (p === 11 || V.maxMonth <= p) && ($t = !1), c === 0 && (ze += '<button class="pika-prev' + (Ct ? "" : " is-disabled") + '" type="button">' + V.i18n.previousMonth + "</button>"), c === d._o.numberOfMonths - 1 && (ze += '<button class="pika-next' + ($t ? "" : " is-disabled") + '" type="button">' + V.i18n.nextMonth + "</button>"), ze += "</div>";
6296
6296
  }, wt = function(d, c, m) {
6297
6297
  return '<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="' + m + '">' + di(d) + de(c) + "</table>";
6298
6298
  }, Hs = function(d) {
@@ -6492,13 +6492,13 @@ const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6492
6492
  render: function(d, c, m) {
6493
6493
  var p = this._o, $ = new Date(), M = w(d, c), E = new Date(d, c, 1).getDay(), Q = [], W = [];
6494
6494
  C($), p.firstDay > 0 && (E -= p.firstDay, E < 0 && (E += 7));
6495
- for (var V = c === 0 ? 11 : c - 1, xe = c === 11 ? 0 : c + 1, _e = c === 0 ? d - 1 : d, je = c === 11 ? d + 1 : d, Gt = w(_e, V), ot = M + E, Ct = ot; Ct > 7; )
6495
+ for (var V = c === 0 ? 11 : c - 1, xe = c === 11 ? 0 : c + 1, _e = c === 0 ? d - 1 : d, ze = c === 11 ? d + 1 : d, Gt = w(_e, V), ot = M + E, Ct = ot; Ct > 7; )
6496
6496
  Ct -= 7;
6497
6497
  ot += 7 - Ct;
6498
6498
  for (var $t = !1, Je = 0, Gs = 0; Je < ot; Je++) {
6499
6499
  var Oe = new Date(d, c, 1 + (Je - E)), qs = x(this._d) ? P(Oe, this._d) : !1, Pf = P(Oe, $), Af = p.events.indexOf(Oe.toDateString()) !== -1, Ks = Je < E || Je >= M + E, qt = 1 + (Je - E), fi = c, hi = d, Ff = p.startRange && P(p.startRange, Oe), Nf = p.endRange && P(p.endRange, Oe), Lf = p.startRange && p.endRange && p.startRange < Oe && Oe < p.endRange, Bf = p.minDate && Oe < p.minDate || p.maxDate && Oe > p.maxDate || p.disableWeekends && R(Oe) || p.disableDayFn && p.disableDayFn(Oe);
6500
- Ks && (Je < E ? (qt = Gt + qt, fi = V, hi = _e) : (qt = qt - M, fi = xe, hi = je));
6501
- var zf = {
6500
+ Ks && (Je < E ? (qt = Gt + qt, fi = V, hi = _e) : (qt = qt - M, fi = xe, hi = ze));
6501
+ var jf = {
6502
6502
  day: qt,
6503
6503
  month: fi,
6504
6504
  year: hi,
@@ -6513,7 +6513,7 @@ const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6513
6513
  showDaysInNextAndPreviousMonths: p.showDaysInNextAndPreviousMonths,
6514
6514
  enableSelectionDaysInNextAndPreviousMonths: p.enableSelectionDaysInNextAndPreviousMonths
6515
6515
  };
6516
- p.pickWholeWeek && qs && ($t = !0), W.push(ae(zf)), ++Gs === 7 && (p.showWeekNumber && W.unshift(k(Je - E, c, d, p.firstWeekOfYearMinDays)), Q.push(pe(W, p.isRTL, p.pickWholeWeek, $t)), W = [], Gs = 0, $t = !1);
6516
+ p.pickWholeWeek && qs && ($t = !0), W.push(ae(jf)), ++Gs === 7 && (p.showWeekNumber && W.unshift(k(Je - E, c, d, p.firstWeekOfYearMinDays)), Q.push(pe(W, p.isRTL, p.pickWholeWeek, $t)), W = [], Gs = 0, $t = !1);
6517
6517
  }
6518
6518
  return wt(p, Q, m);
6519
6519
  },
@@ -7002,11 +7002,11 @@ function N1(t) {
7002
7002
  ;
7003
7003
  return e;
7004
7004
  }
7005
- var L1 = N1, B1 = L1, z1 = /^\s+/;
7006
- function j1(t) {
7007
- return t && t.slice(0, B1(t) + 1).replace(z1, "");
7005
+ var L1 = N1, B1 = L1, j1 = /^\s+/;
7006
+ function z1(t) {
7007
+ return t && t.slice(0, B1(t) + 1).replace(j1, "");
7008
7008
  }
7009
- var W1 = j1, V1 = W1, sc = Ic, Y1 = Hf, oc = 0 / 0, U1 = /^[-+]0x[0-9a-f]+$/i, H1 = /^0b[01]+$/i, G1 = /^0o[0-7]+$/i, q1 = parseInt;
7009
+ var W1 = z1, V1 = W1, sc = Ic, Y1 = Hf, oc = 0 / 0, U1 = /^[-+]0x[0-9a-f]+$/i, H1 = /^0b[01]+$/i, G1 = /^0o[0-7]+$/i, q1 = parseInt;
7010
7010
  function K1(t) {
7011
7011
  if (typeof t == "number")
7012
7012
  return t;
@@ -7029,19 +7029,19 @@ function tD(t, e, r) {
7029
7029
  throw new TypeError(J1);
7030
7030
  e = lc(e) || 0, Z1(r) && (f = !!r.leading, h = "maxWait" in r, a = h ? Q1(lc(r.maxWait) || 0, e) : a, g = "trailing" in r ? !!r.trailing : g);
7031
7031
  function S(_) {
7032
- var T = n, j = i;
7033
- return n = i = void 0, u = _, s = t.apply(j, T), s;
7032
+ var T = n, z = i;
7033
+ return n = i = void 0, u = _, s = t.apply(z, T), s;
7034
7034
  }
7035
7035
  function x(_) {
7036
7036
  return u = _, o = setTimeout(w, e), f ? S(_) : s;
7037
7037
  }
7038
7038
  function R(_) {
7039
- var T = _ - l, j = _ - u, ae = e - T;
7040
- return h ? eD(ae, a - j) : ae;
7039
+ var T = _ - l, z = _ - u, ae = e - T;
7040
+ return h ? eD(ae, a - z) : ae;
7041
7041
  }
7042
7042
  function D(_) {
7043
- var T = _ - l, j = _ - u;
7044
- return l === void 0 || T >= e || T < 0 || h && j >= a;
7043
+ var T = _ - l, z = _ - u;
7044
+ return l === void 0 || T >= e || T < 0 || h && z >= a;
7045
7045
  }
7046
7046
  function w() {
7047
7047
  var _ = sa();
@@ -7561,7 +7561,7 @@ Object.defineProperty(ri, "__esModule", {
7561
7561
  value: !0
7562
7562
  });
7563
7563
  ri.default = void 0;
7564
- var hc = J, zD = function(e) {
7564
+ var hc = J, jD = function(e) {
7565
7565
  return (0, hc.withParams)({
7566
7566
  type: "sameAs",
7567
7567
  eq: e
@@ -7569,13 +7569,13 @@ var hc = J, zD = function(e) {
7569
7569
  return r === (0, hc.ref)(e, this, n);
7570
7570
  });
7571
7571
  };
7572
- ri.default = zD;
7572
+ ri.default = jD;
7573
7573
  var ni = {};
7574
7574
  Object.defineProperty(ni, "__esModule", {
7575
7575
  value: !0
7576
7576
  });
7577
7577
  ni.default = void 0;
7578
- var jD = J, WD = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, VD = (0, jD.regex)("url", WD);
7578
+ var zD = J, WD = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, VD = (0, zD.regex)("url", WD);
7579
7579
  ni.default = VD;
7580
7580
  var ii = {};
7581
7581
  Object.defineProperty(ii, "__esModule", {
@@ -7788,11 +7788,11 @@ ui.default = eM;
7788
7788
  }), t.helpers = void 0;
7789
7789
  var r = H(Wn), n = H(Un), i = H(Hn), a = H(Gn), s = H(qn), o = H(Kn), l = H(Xn), u = H(Zn), f = H(Jn), h = H(Qn), g = H(ei), S = H(ti), x = H(ri), R = H(ni), D = H(ii), w = H(ai), C = H(si), P = H(oi), A = H(li), U = H(ci), _ = H(ui), T = ae(J);
7790
7790
  t.helpers = T;
7791
- function j() {
7791
+ function z() {
7792
7792
  if (typeof WeakMap != "function")
7793
7793
  return null;
7794
7794
  var k = /* @__PURE__ */ new WeakMap();
7795
- return j = function() {
7795
+ return z = function() {
7796
7796
  return k;
7797
7797
  }, k;
7798
7798
  }
@@ -7801,7 +7801,7 @@ ui.default = eM;
7801
7801
  return k;
7802
7802
  if (k === null || e(k) !== "object" && typeof k != "function")
7803
7803
  return { default: k };
7804
- var pe = j();
7804
+ var pe = z();
7805
7805
  if (pe && pe.has(k))
7806
7806
  return pe.get(k);
7807
7807
  var de = {}, di = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -7832,7 +7832,7 @@ function gc(t) {
7832
7832
  let e = t.replace(/ /g, "");
7833
7833
  return e = e.replace(/-/g, ""), !Mf(e) || (e = [e.slice(0, 6), "-", e.slice(6)].join(""), !e.match(/^(\d{6})-(\d{4})$/)) ? !1 : e;
7834
7834
  }
7835
- function jr(t) {
7835
+ function zr(t) {
7836
7836
  if (typeof t > "u" || t === null || t === "")
7837
7837
  return !1;
7838
7838
  let e = t.trim().replace(/[^0-9]+/g, "");
@@ -7903,7 +7903,7 @@ const rM = new tM().init(), yc = new Ya({ data: { windowSize: rM } }), nM = {
7903
7903
  socialNo: "10 eller 12 siffror",
7904
7904
  orgNo: "F\xF6retagets org-nr",
7905
7905
  reference: "Er referens",
7906
- cellphone: "Mobiltel-nr",
7906
+ cellphone: "Mobilnummer",
7907
7907
  address: "Gatuadress"
7908
7908
  },
7909
7909
  validations: {
@@ -8054,7 +8054,7 @@ const { mapFields: aM } = Ac({
8054
8054
  return {
8055
8055
  orgNo: {
8056
8056
  personalNumber(t) {
8057
- return !this.validateOrgNo || !t ? !0 : this.isIndivid ? jr(t) : gc(t) || jr(t);
8057
+ return !this.validateOrgNo || !t ? !0 : this.isIndivid ? zr(t) : gc(t) || zr(t);
8058
8058
  }
8059
8059
  },
8060
8060
  reference: {
@@ -8065,6 +8065,11 @@ const { mapFields: aM } = Ac({
8065
8065
  }
8066
8066
  };
8067
8067
  },
8068
+ watch: {
8069
+ type(t) {
8070
+ this.$webStorage.setItem("defaultClientType", t);
8071
+ }
8072
+ },
8068
8073
  computed: {
8069
8074
  ...aM({
8070
8075
  id: "endCustomer.id",
@@ -8115,7 +8120,7 @@ const { mapFields: aM } = Ac({
8115
8120
  return this.realOrgNo;
8116
8121
  },
8117
8122
  set(t) {
8118
- const e = this.isIndivid ? jr(t) : gc(t) || jr(t);
8123
+ const e = this.isIndivid ? zr(t) : gc(t) || zr(t);
8119
8124
  return this.validateOrgNo && e ? (this.realOrgNo = e, !0) : (this.realOrgNo = t, !0);
8120
8125
  }
8121
8126
  },
@@ -8136,11 +8141,11 @@ var oM = function() {
8136
8141
  var e = this, r = e._self._c;
8137
8142
  return r("div", { staticClass: "form-client" }, [e.simpleForm ? r("form", { on: { submit: function(n) {
8138
8143
  return n.preventDefault(), e.validateForm.apply(null, arguments);
8139
- } } }, [r("div", { staticClass: "flex flex-wrap items-center pb-6 space-between" }, [r("div", { staticClass: "flex-grow", staticStyle: { "font-weight": "600", "font-size": "20px" } }, [e._v(" " + e._s(e.$t("_common:recipient").capitalize()) + " ")]), r("CField", [r("CRadioButton", { attrs: { "native-value": "individual", type: "none", size: "small" }, model: { value: e.type, callback: function(n) {
8140
- e.type = n;
8141
- }, expression: "type" } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), r("CRadioButton", { attrs: { "native-value": "company", type: "none", size: "small" }, model: { value: e.type, callback: function(n) {
8142
- e.type = n;
8143
- }, expression: "type" } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])], 1)], 1), r("CField", { staticStyle: { "margin-bottom": "1.5rem" }, attrs: { label: e.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("placeholders.name") : e.$t("placeholders.companyName"), "search-enabled": e.searchEnabled, "show-loading": !0 }, on: { setClient: function(n) {
8144
+ } } }, [r("div", { staticClass: "flex flex-wrap items-center pb-6 space-between" }, [r("div", { staticClass: "flex-grow", staticStyle: { "font-weight": "600", "font-size": "20px" } }, [e._v(" " + e._s(e.$t("_common:recipient").capitalize()) + " ")]), r("div", { staticClass: "type-toggle" }, [r("div", { staticClass: "type-toggle-button", class: { active: e.type === "individual" }, on: { click: function(n) {
8145
+ e.type = "individual";
8146
+ } } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), r("div", { staticClass: "type-toggle-button", class: { active: e.type === "company" }, on: { click: function(n) {
8147
+ e.type = "company";
8148
+ } } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])])]), r("CField", { staticStyle: { "margin-bottom": "1.5rem" }, attrs: { label: e.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("placeholders.name") : e.$t("placeholders.companyName"), "search-enabled": e.searchEnabled, "show-loading": !0 }, on: { setClient: function(n) {
8144
8149
  return e.$emit("setClient", n);
8145
8150
  } }, model: { value: e.name, callback: function(n) {
8146
8151
  e.name = n;
@@ -8162,11 +8167,11 @@ var oM = function() {
8162
8167
  } } }, [r("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [r("div", [e._v(e._s(e.$t(`_common:documentRole.${n}.description`)))]), r("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${n}.label`)) + " ")])])]);
8163
8168
  })], 2) : e._e(), r("CButton", { attrs: { type: "secondary", pattern: "tertiary", size: "small", "icon-left": "arrow-right" }, on: { click: function(n) {
8164
8169
  return e.$emit("show-more");
8165
- } } }, [e._v(" " + e._s(e.$t("showMore").capitalize()) + " ")]), r("CButton", { staticClass: "mt-4", staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, "native-type": "submit", type: "secondary", wide: "", size: "medium" } }, [e._v(" " + e._s(e.$t(`${e.id ? "update" : "create"}Button`)) + " ")])], 1) : r("div", { class: { "column-only": e.windowWidth <= 600 } }, [r("div", { staticClass: "flex items-center justify-center", staticStyle: { "margin-bottom": "2.5rem" } }, [r("CField", [r("CRadioButton", { attrs: { "native-value": "individual", type: "none", size: "small" }, model: { value: e.type, callback: function(n) {
8166
- e.type = n;
8167
- }, expression: "type" } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), r("CRadioButton", { attrs: { "native-value": "company", type: "none", size: "small" }, model: { value: e.type, callback: function(n) {
8168
- e.type = n;
8169
- }, expression: "type" } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])], 1)], 1), r("CField", { staticClass: "flex", attrs: { grouped: "" } }, [r("CField", { attrs: { label: e.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside", expanded: "" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("placeholders.name") : e.$t("placeholders.companyName"), "show-loading": !0, "search-enabled": e.searchEnabled }, on: { setClient: function(n) {
8170
+ } } }, [e._v(" " + e._s(e.$t("showMore").capitalize()) + " ")]), r("CButton", { staticClass: "mt-4", staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, "native-type": "submit", type: "secondary", wide: "", size: "medium" } }, [e._v(" " + e._s(e.$t(`${e.id ? "update" : "create"}Button`)) + " ")])], 1) : r("div", { class: { "column-only": e.windowWidth <= 600 } }, [r("div", { staticClass: "flex items-center justify-center", staticStyle: { "margin-bottom": "2.5rem" } }, [r("div", { staticClass: "type-toggle" }, [r("div", { staticClass: "type-toggle-button", class: { active: e.type === "individual" }, on: { click: function(n) {
8171
+ e.type = "individual";
8172
+ } } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), r("div", { staticClass: "type-toggle-button", class: { active: e.type === "company" }, on: { click: function(n) {
8173
+ e.type = "company";
8174
+ } } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])])]), r("CField", { staticClass: "flex", attrs: { grouped: "" } }, [r("CField", { attrs: { label: e.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside", expanded: "" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("placeholders.name") : e.$t("placeholders.companyName"), "show-loading": !0, "search-enabled": e.searchEnabled }, on: { setClient: function(n) {
8170
8175
  return e.$emit("setClient", n);
8171
8176
  } }, model: { value: e.name, callback: function(n) {
8172
8177
  e.name = n;
@@ -8221,7 +8226,7 @@ var oM = function() {
8221
8226
  lM,
8222
8227
  !1,
8223
8228
  null,
8224
- "d4ec9445",
8229
+ "61075592",
8225
8230
  null,
8226
8231
  null
8227
8232
  );
@@ -8281,7 +8286,8 @@ const uM = cM.exports, { mapFields: dM } = Ac({
8281
8286
  formData: (t) => t.document2
8282
8287
  }),
8283
8288
  ...Lt({
8284
- can: "application/can"
8289
+ can: "application/can",
8290
+ defaultClientType: "endCustomers/defaultClientType"
8285
8291
  }),
8286
8292
  isFullScreen() {
8287
8293
  return this.$mq === "sm" || this.showMore;
@@ -8305,7 +8311,7 @@ const uM = cM.exports, { mapFields: dM } = Ac({
8305
8311
  }),
8306
8312
  loadForm(t = {}) {
8307
8313
  this.storedNewClient = Object.assign(this.storedNewClient, t), this.endCustomer = Zf({
8308
- type: this.$brand === "cling" ? "individual" : "company",
8314
+ type: this.defaultClientType(),
8309
8315
  ...t
8310
8316
  });
8311
8317
  },
@@ -8798,6 +8804,10 @@ const IM = {
8798
8804
  )
8799
8805
  ],
8800
8806
  props: {
8807
+ showName: {
8808
+ type: Boolean,
8809
+ default: !0
8810
+ },
8801
8811
  showSave: {
8802
8812
  type: Boolean,
8803
8813
  default: !0
@@ -8868,7 +8878,7 @@ const IM = {
8868
8878
  return this.emailActivated || this.smsActivated ? [
8869
8879
  ...this.emailActivated ? [this.$t("_common:email").capitalize()] : [],
8870
8880
  ...this.smsActivated ? [this.$t("_common:sms")] : []
8871
- ].join(" & ") : this.$t("manualDelivery");
8881
+ ].join(" & ") : this._document.isDirty("isManualDelivery") && this.clients.length ? this.$t("manualDelivery") : "&nbsp;";
8872
8882
  },
8873
8883
  clientsAreMissingContactInfo() {
8874
8884
  return this.isManualDelivery ? !1 : this.clients.some((t) => !(t.email || t.cellphone));
@@ -8994,29 +9004,29 @@ const IM = {
8994
9004
  var PM = function() {
8995
9005
  var n;
8996
9006
  var e = this, r = e._self._c;
8997
- return r("div", { staticClass: "flex flex-col h-full @container" }, [r(e.useScroll ? "Simplebar" : "div", { tag: "component", staticClass: "main-container" }, [r("div", { staticClass: "relative pt-6 px-4 pb-4 @md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16" }, [r("div", { staticClass: "pb-4 text-lg font-bold" }, [e._v(" " + e._s(e.$t("title")) + " ")]), r("div", { staticClass: "mb-6" }, [r("div", { staticClass: "text-gray-900 text-xs font-medium pb-0.5" }, [e._v(" " + e._s(e.$t("nameLabel")) + " ")]), r("CInput", { attrs: { placeholder: e.$t("namePlaceholder"), filled: "" }, model: { value: e.name, callback: function(i) {
9007
+ return r("div", { staticClass: "flex flex-col h-full @container" }, [r(e.useScroll ? "Simplebar" : "div", { tag: "component", staticClass: "main-container" }, [r("div", { staticClass: "relative pt-6 px-4 pb-4 @md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16" }, [r("div", { staticClass: "pb-4 text-lg font-bold" }, [e._v(" " + e._s(e.$t("title")) + " ")]), e.showName ? r("div", { staticClass: "mb-6" }, [r("div", { staticClass: "text-gray-900 text-xs font-medium pb-0.5" }, [e._v(" " + e._s(e.$t("nameLabel")) + " ")]), r("CInput", { attrs: { placeholder: e.$t("namePlaceholder"), filled: "" }, model: { value: e.name, callback: function(i) {
8998
9008
  e.name = i;
8999
- }, expression: "name" } })], 1), r("div", { staticClass: "mb-6" }, [r("RecipientBlock", { attrs: { _value: {
9009
+ }, expression: "name" } })], 1) : e._e(), r("div", { staticClass: "mb-6" }, [r("RecipientBlock", { attrs: { _value: {
9000
9010
  clients: "clients"
9001
9011
  }, _document: e._document, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "default-add-sender-client": e.documentSenderSign, "is-public-form": e.isPublicForm } })], 1), e._t("default"), e.defaultAnswerMethod && e.signMethods.length > 1 ? r("div", { staticClass: "mb-8" }, [r("div", { staticClass: "block-title text-gray-900 text-xs font-medium pb-0.5" }, [e._v(" " + e._s(e.$t("signMethod.title")) + " "), r("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("signMethod.tooltip"), expression: "$t('signMethod.tooltip')" }], staticClass: "ml-px text-gray-500", attrs: { type: "info", size: "14" } })], 1), r("div", { staticClass: "cb-card-group" }, e._l(e.signMethods, function(i) {
9002
- return r("div", { key: i.value, staticClass: "flex border-2 border-transparent hover:bg-gray-200 hover:border-gray-100 cb-card", class: { checked: e.defaultAnswerMethod.accept === i.value }, on: { click: function(a) {
9012
+ return r("div", { key: i.value, staticClass: "flex border-2 border-transparent hover:bg-gray-200 hover:border-gray-300/30 cb-card", class: { checked: e.defaultAnswerMethod.accept === i.value }, on: { click: function(a) {
9003
9013
  e.defaultAnswerMethod.accept !== i.value && e.setAnswerMethod(i.value);
9004
- } } }, [r("CRadio", { staticStyle: { "margin-right": "0.75em" }, attrs: { value: e.defaultAnswerMethod.accept, "native-value": i.value, type: "secondary", size: "small" } }), r("div", { staticClass: "flex-grow" }, [r("div", { staticClass: "cb-card-title" }, [e._v(e._s(i.title))]), r("div", { directives: [{ name: "show", rawName: "v-show", value: e.defaultAnswerMethod.accept === i.value, expression: "defaultAnswerMethod.accept === signMethod.value" }], staticClass: "cb-card-body" }, [e._v(" " + e._s(i.content) + " ")])])], 1);
9014
+ } } }, [r("CRadio", { staticClass: "mr-3 pointer-events-none sign-radio", attrs: { value: e.defaultAnswerMethod.accept, "native-value": i.value, type: "secondary", size: "small" } }), r("div", { staticClass: "flex-grow" }, [r("div", { staticClass: "cb-card-title" }, [e._v(e._s(i.title))]), r("div", { directives: [{ name: "show", rawName: "v-show", value: e.defaultAnswerMethod.accept === i.value, expression: "defaultAnswerMethod.accept === signMethod.value" }], staticClass: "cb-card-body" }, [e._v(" " + e._s(i.content) + " ")])])], 1);
9005
9015
  }), 0)]) : e._e(), r("div", { staticClass: "grid items-center gap-2", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" } }, [r("div", [r("BaseDatePicker", { staticClass: "relative psuedo-input", attrs: { "custom-el": !0, direction: "end", tabindex: "0" }, model: { value: e.expiresAt, callback: function(i) {
9006
9016
  e.expiresAt = i;
9007
9017
  }, expression: "expiresAt" } }, [r("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("validityPeriod")))]), r("div", [e._v(e._s(e.expiresAt ? e.$formatDate(e.expiresAt) : e.$t("_common:disabled").capitalize()))]), e.expiresAt ? r("CButton", { staticClass: "absolute right-3 top-3", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(i) {
9008
9018
  i.preventDefault(), i.stopPropagation(), e.expiresAt = void 0, e._document.setDirty("expiresAt");
9009
- } } }) : e._e()], 1)], 1), r("CDropdown", { staticStyle: { flex: "1 0 200px" }, attrs: { "mobile-label": e.$t("sendAs"), expanded: "" } }, [r("div", { staticClass: "psuedo-input", attrs: { slot: "trigger", tabindex: "0" }, slot: "trigger" }, [r("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("sendAs")))]), r("div", [e._v(" " + e._s(e.sendTypesText) + " ")])]), r("CDropdownItem", { attrs: { value: e.emailActivated, "close-on-click": !1, toggle: "" }, on: { click: function(i) {
9019
+ } } }) : e._e()], 1)], 1), r("CDropdown", { staticStyle: { flex: "1 0 200px" }, attrs: { disabled: !e.clients.length, "mobile-label": e.$t("sendAs"), expanded: "" } }, [r("div", { staticClass: "psuedo-input", attrs: { slot: "trigger", tabindex: "0" }, slot: "trigger" }, [r("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("sendAs")))]), r("div", { domProps: { innerHTML: e._s(e.sendTypesText) } })]), r("CDropdownItem", { attrs: { value: e.emailActivated, "close-on-click": !1, toggle: "" }, on: { click: function(i) {
9010
9020
  return e.setDeliveryMethod("email", !e.emailActivated);
9011
9021
  } } }, [e._v(" " + e._s(e.$t("_common:email").capitalize()) + " ")]), e.feature("sms") ? r("CDropdownItem", { attrs: { value: e.smsActivated, "close-on-click": !1, toggle: "" }, on: { click: function(i) {
9012
9022
  return e.setDeliveryMethod("sms", !e.smsActivated);
9013
9023
  } } }, [e._v(" " + e._s(e.$t("_common:sms")) + " ")]) : e._e(), e.allowManualDelivery ? r("CDropdownItem", { attrs: { value: "", tooltip: {
9014
9024
  content: e.$t("manualDeliveryTooltip")
9015
9025
  } }, domProps: { textContent: e._s(e.$t("manualDelivery")) }, on: { click: () => {
9016
- e.setDeliveryMethod("sms", !1), e.setDeliveryMethod("email", !1);
9026
+ e.setDeliveryMethod("sms", !1), e.setDeliveryMethod("email", !1), e._document.setDirty("isManualDelivery");
9017
9027
  } } }) : e._e()], 1), !e.useSignOrder && !e.isManualDelivery ? r("div", { staticClass: "relative psuedo-input", attrs: { tabindex: "0" }, on: { click: e.openReminders } }, [r("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("_common:reminder_plural").capitalize()))]), r("div", [e._v(" " + e._s(e.noOfReminders ? `${e.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()) + " ")]), e.noOfReminders ? r("CButton", { staticClass: "absolute right-3 top-3", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(i) {
9018
9028
  i.preventDefault(), i.stopPropagation(), e.reminders = [];
9019
- } } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || ((n = e.$v.isManualDelivery) == null ? void 0 : n.$invalid) ? r("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e()], 2)]), r("div", { staticClass: "px-4 pb-4 @md:px-8 @xl:px-16" }, [e._t("send", function() {
9029
+ } } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || ((n = e.$v.isManualDelivery) == null ? void 0 : n.$invalid) ? r("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), r("div", { staticClass: "px-4 pb-4 @md:px-8 @xl:px-16" }, [e._t("send", function() {
9020
9030
  return [r("div", { staticClass: "flex" }, [e.showSave ? r("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("_common:save", { thing: e.$t("_common:document").toLowerCase() }), expression: "$t('_common:save', { thing: $t('_common:document').toLowerCase() })" }], staticClass: "w-12 mr-2", attrs: { loading: e.isPosting, type: "none", icon: "save", pattern: "secondary" }, on: { click: function(i) {
9021
9031
  return e.doSaveDocument();
9022
9032
  } } }) : e._e(), e.showSchedule && !e.useSignOrder && !e.isManualDelivery ? r("CButton", { staticClass: "mr-2 w-12 @md:w-auto", staticStyle: { padding: "14px 16px", "border-radius": "8px", height: "initial", "font-size": "14px", "font-weight": "600" }, attrs: { disabled: e.isPosting || !e.clients.length, type: "none", pattern: "secondary" }, on: { click: e.openSendLater } }, [r("span", { staticClass: "!hidden @md:!block", domProps: { textContent: e._s(e.$t("scheduledTooltip")) } }), r("BaseIcon", { staticClass: "@md:!hidden", attrs: { type: "calendar", size: "16" } })], 1) : e._e(), r("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$v.$invalid ? {
@@ -9043,7 +9053,7 @@ var PM = function() {
9043
9053
  AM,
9044
9054
  !1,
9045
9055
  null,
9046
- "fa819b9b",
9056
+ "dddd4eef",
9047
9057
  null,
9048
9058
  null
9049
9059
  );
@@ -9108,18 +9118,18 @@ const NM = FM.exports, LM = {
9108
9118
  r
9109
9119
  );
9110
9120
  }
9111
- }, BM = null, zM = null;
9112
- var jM = /* @__PURE__ */ N(
9121
+ }, BM = null, jM = null;
9122
+ var zM = /* @__PURE__ */ N(
9113
9123
  LM,
9114
9124
  BM,
9115
- zM,
9125
+ jM,
9116
9126
  !1,
9117
9127
  null,
9118
9128
  null,
9119
9129
  null,
9120
9130
  null
9121
9131
  );
9122
- const _c = jM.exports;
9132
+ const _c = zM.exports;
9123
9133
  function WM(t, e) {
9124
9134
  return e.split(".").reduce((n, i) => n ? n[i] : null, t);
9125
9135
  }
@@ -9466,18 +9476,18 @@ const Sc = tE.exports, Wr = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabinde
9466
9476
  embed,
9467
9477
  *[tabindex]:not([tabindex="-1"]),
9468
9478
  *[contenteditable]`) : null;
9469
- let za;
9479
+ let ja;
9470
9480
  const rE = (t, { value: e = !0 }) => {
9471
9481
  if (e) {
9472
9482
  let r = Wr(t), n = Wr(t, !0);
9473
- r && r.length > 0 && (za = (i) => {
9483
+ r && r.length > 0 && (ja = (i) => {
9474
9484
  r = Wr(t), n = Wr(t, !0);
9475
9485
  const a = r[0], s = r[r.length - 1];
9476
9486
  i.target === a && i.shiftKey && i.key === "Tab" ? (i.preventDefault(), s.focus()) : (i.target === s || Array.from(n).indexOf(i.target) >= 0) && !i.shiftKey && i.key === "Tab" && (i.preventDefault(), a.focus());
9477
- }, t.addEventListener("keydown", za));
9487
+ }, t.addEventListener("keydown", ja));
9478
9488
  }
9479
9489
  }, nE = (t) => {
9480
- t.removeEventListener("keydown", za);
9490
+ t.removeEventListener("keydown", ja);
9481
9491
  }, iE = {
9482
9492
  bind: rE,
9483
9493
  unbind: nE
@@ -9735,7 +9745,7 @@ var oE = function() {
9735
9745
  null,
9736
9746
  null
9737
9747
  );
9738
- const ja = cE.exports;
9748
+ const za = cE.exports;
9739
9749
  const uE = {
9740
9750
  name: "CDropdownItem",
9741
9751
  props: {
@@ -10338,7 +10348,7 @@ var LE = /* @__PURE__ */ N(
10338
10348
  null
10339
10349
  );
10340
10350
  const BE = LE.exports;
10341
- const zE = {
10351
+ const jE = {
10342
10352
  name: "CField",
10343
10353
  components: {
10344
10354
  CFieldBody: BE
@@ -10453,12 +10463,12 @@ const zE = {
10453
10463
  }
10454
10464
  }
10455
10465
  };
10456
- var jE = function() {
10466
+ var zE = function() {
10457
10467
  var e = this, r = e._self._c;
10458
10468
  return r("div", { staticClass: "field", class: [e.rootClasses, e.fieldType()] }, [e.horizontal ? r("div", { staticClass: "field-label", class: [e.customClass, e.fieldLabelSize] }, [e.hasLabel ? r("label", { staticClass: "label truncate-text", class: e.customClass, attrs: { for: e.labelFor } }, [e.$slots.label ? e._t("label") : [e._v(e._s(e.label))]], 2) : e._e()]) : [e.hasLabel ? r("label", { staticClass: "label truncate-text", class: e.customClass, attrs: { for: e.labelFor } }, [e.$slots.label ? e._t("label") : [e._v(e._s(e.label))]], 2) : e._e()], e.horizontal ? r("CFieldBody", { attrs: { message: e.newMessage ? e.formattedMessage : "", type: e.newType } }, [e._t("default")], 2) : [e._t("default")], e.newMessage && !e.horizontal ? r("p", { staticClass: "help", class: e.newType, domProps: { innerHTML: e._s(e.formattedMessage) } }) : e._e()], 2);
10459
10469
  }, WE = [], VE = /* @__PURE__ */ N(
10460
- zE,
10461
10470
  jE,
10471
+ zE,
10462
10472
  WE,
10463
10473
  !1,
10464
10474
  null,
@@ -10652,7 +10662,7 @@ const lT = oT.exports, cT = {
10652
10662
  components: {
10653
10663
  Flag: nT,
10654
10664
  CInput: Va,
10655
- CDropdown: ja,
10665
+ CDropdown: za,
10656
10666
  CDropdownItem: Wa,
10657
10667
  CButton: Ua,
10658
10668
  CField: If,
@@ -11129,7 +11139,7 @@ var $T = function() {
11129
11139
  );
11130
11140
  const Mc = OT.exports;
11131
11141
  function kT(t) {
11132
- t.component(_c.name, _c), t.component("CAutocomplete", GM), t.component(Zs.name, Zs), t.component(bc.name, bc), t.component(Sc.name, Sc), t.component(ja.name, ja), t.component(Wa.name, Wa), t.component(wc.name, wc), t.component(Cc.name, Cc), t.component($c.name, $c), t.component(xc.name, xc), t.component(Oc.name, Oc), t.component("CField", qE), t.component(kc.name, kc), t.component(Dc.name, Dc), t.component(Mc.name, Mc);
11142
+ t.component(_c.name, _c), t.component("CAutocomplete", GM), t.component(Zs.name, Zs), t.component(bc.name, bc), t.component(Sc.name, Sc), t.component(za.name, za), t.component(Wa.name, Wa), t.component(wc.name, wc), t.component(Cc.name, Cc), t.component($c.name, $c), t.component(xc.name, xc), t.component(Oc.name, Oc), t.component("CField", qE), t.component(kc.name, kc), t.component(Dc.name, Dc), t.component(Mc.name, Mc);
11133
11143
  }
11134
11144
  Ya.use(kT);
11135
11145
  const Ec = Ya.observable({
@@ -11143,6 +11153,10 @@ const Ec = Ya.observable({
11143
11153
  },
11144
11154
  provide: () => ({ viewSettings: Ec }),
11145
11155
  props: {
11156
+ showName: {
11157
+ type: Boolean,
11158
+ default: !0
11159
+ },
11146
11160
  showSave: {
11147
11161
  type: Boolean,
11148
11162
  default: !0
@@ -11154,6 +11168,14 @@ const Ec = Ya.observable({
11154
11168
  allowManualDelivery: {
11155
11169
  type: Boolean,
11156
11170
  default: !1
11171
+ },
11172
+ contentSlot: {
11173
+ type: String,
11174
+ default: null
11175
+ },
11176
+ footerSlot: {
11177
+ type: String,
11178
+ default: null
11157
11179
  }
11158
11180
  },
11159
11181
  data() {
@@ -11213,7 +11235,7 @@ var MT = function() {
11213
11235
  clients: "clients",
11214
11236
  reminders: "data.reminders",
11215
11237
  name: "data.name"
11216
- }, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "use-scroll": "" } }) : r("div", { staticClass: "w-full h-full grid place-items-center" }, [r("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
11238
+ }, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "use-scroll": "" } }, [e.contentSlot ? r("div", { attrs: { slot: "content" }, domProps: { innerHTML: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? r("div", { attrs: { slot: "footer" }, domProps: { innerHTML: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : r("div", { staticClass: "grid w-full h-full place-items-center" }, [r("BaseIcon", { staticClass: "text-gray-400 animate-spin", attrs: { type: "loader", size: 28 } })], 1);
11217
11239
  }, ET = [], TT = /* @__PURE__ */ N(
11218
11240
  DT,
11219
11241
  MT,