wineater-bot 3.4.2 → 3.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -384,7 +384,7 @@ var $n = { exports: {} };
384
384
  return v.prototype.init = function(f) {
385
385
  var h, m, g;
386
386
  return r(this, void 0, void 0, function() {
387
- var S, x, D, B, q, O, W, ee, oe, te, ne, ae, ce, ge, Ge, Ke, Me, se, K, Ct, Je, Pn, Xe, _t, Bn, jn, Nt, zn, Ot, Ye, Fe, Un, ie = this;
387
+ var S, x, D, B, q, O, W, ee, oe, te, ne, ae, ce, ge, Ge, Ke, Me, se, K, Ct, Je, Pn, Xe, _t, Bn, jn, Nt, zn, Ot, Ye, Le, Un, ie = this;
388
388
  return a(this, function(fe) {
389
389
  switch (fe.label) {
390
390
  case 0:
@@ -398,7 +398,7 @@ var $n = { exports: {} };
398
398
  ie.setLoadingState(i(i({}, ie.loadingState), { isFetching: !1, isLoading: !1, error: le })), oe == null || oe(le);
399
399
  }, this.enableLogs = ce || !1, this.cacheOptions = Xe ? { skipAPI: !!Xe.skipAPI, ttl: Xe.ttl || 0, loadStale: !!Xe.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), ne && (d = ne), this.enableAnalytics = Ge || !1, this.flags = Object.assign({}, te) || {}, this.datadogRum = ee || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = R !== void 0 && !!W, K && (R = K), Ke && typeof window < "u" && this.setupRealtime(se, S.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = i(i({}, this.loadingState), { isLoading: !1, source: c.DEFAULT_FLAGS })), this.setState(Pn), this.log("Initialising with properties", f, this), ge && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), _t && (d = /* @__PURE__ */ function(le) {
400
400
  return function(me, ve) {
401
- var Te = ve.headers, X = ve.method, Le = ve.body;
401
+ var Te = ve.headers, X = ve.method, Fe = ve.body;
402
402
  return new Promise(function(Oe) {
403
403
  switch (X) {
404
404
  case "GET":
@@ -409,7 +409,7 @@ var $n = { exports: {} };
409
409
  });
410
410
  case "POST":
411
411
  case "PUT":
412
- return le.post(me, Le, { headers: Te }).subscribe(function(xe) {
412
+ return le.post(me, Fe, { headers: Te }).subscribe(function(xe) {
413
413
  Oe({ ok: !0, text: function() {
414
414
  return Promise.resolve(xe);
415
415
  } });
@@ -438,7 +438,7 @@ var $n = { exports: {} };
438
438
  return [3, 8];
439
439
  zn = function(le, me) {
440
440
  return r(ie, void 0, void 0, function() {
441
- var ve, Te, X, Le, Oe, xe, Rt, Hn, Dt, At, Mt, Ft, Lt, Pt, Bt, jt, zt, Ut, Ht, $t, qt, Wt, Vt, Gt;
441
+ var ve, Te, X, Fe, Oe, xe, Rt, Hn, Dt, At, Mt, Lt, Ft, Pt, Bt, jt, zt, Ut, Ht, $t, qt, Wt, Vt, Gt;
442
442
  return a(this, function(Ee) {
443
443
  switch (Ee.label) {
444
444
  case 0:
@@ -446,7 +446,7 @@ var $n = { exports: {} };
446
446
  return [3, 7];
447
447
  ve = null, Te = null, Ee.label = 1;
448
448
  case 1:
449
- return Ee.trys.push([1, 5, , 6]), X = JSON.parse(me), Le = !1, Oe = !1, X && X.api === this.api && ((At = (Dt = X.evaluationContext) === null || Dt === void 0 ? void 0 : Dt.environment) === null || At === void 0 ? void 0 : At.apiKey) === ((Mt = this.evaluationContext.environment) === null || Mt === void 0 ? void 0 : Mt.apiKey) && (xe = !0, this.evaluationContext.identity && ((Lt = (Ft = X.evaluationContext) === null || Ft === void 0 ? void 0 : Ft.identity) === null || Lt === void 0 ? void 0 : Lt.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Bt = (Pt = X.evaluationContext) === null || Pt === void 0 ? void 0 : Pt.identity) === null || Bt === void 0 ? void 0 : Bt.identifier) + " to " + this.evaluationContext.identity.identifier), xe = !1), this.cacheOptions.ttl && (!X.ts || (/* @__PURE__ */ new Date()).valueOf() - X.ts > this.cacheOptions.ttl) && (X.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + X.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - X.ts) + "ms"), xe = !1) : X.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + X.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - X.ts) + "ms"), Oe = !0, xe = !0)), xe && (Le = !0, Te = u((jt = this.evaluationContext.identity) === null || jt === void 0 ? void 0 : jt.traits, (Ut = (zt = X.evaluationContext) === null || zt === void 0 ? void 0 : zt.identity) === null || Ut === void 0 ? void 0 : Ut.traits), ve = u(this.flags, X.flags), this.setState(i(i({}, X), { evaluationContext: y(i(i({}, X.evaluationContext), { identity: !((Ht = X.evaluationContext) === null || Ht === void 0) && Ht.identity ? i(i({}, ($t = X.evaluationContext) === null || $t === void 0 ? void 0 : $t.identity), { traits: i(i({}, ((Wt = (qt = X.evaluationContext) === null || qt === void 0 ? void 0 : qt.identity) === null || Wt === void 0 ? void 0 : Wt.traits) || {}), Je || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", X))), Le ? (Rt = !ae && (!this.cacheOptions.skipAPI || Oe), this._onChange(null, { isFromServer: !1, flagsChanged: ve, traitsChanged: Te }, this._loadedState(null, c.CACHE, Rt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Le && !Oe && this.log("Skipping API, using cache"), Rt && this.getFlags(), [3, 4]) : [3, 2];
449
+ return Ee.trys.push([1, 5, , 6]), X = JSON.parse(me), Fe = !1, Oe = !1, X && X.api === this.api && ((At = (Dt = X.evaluationContext) === null || Dt === void 0 ? void 0 : Dt.environment) === null || At === void 0 ? void 0 : At.apiKey) === ((Mt = this.evaluationContext.environment) === null || Mt === void 0 ? void 0 : Mt.apiKey) && (xe = !0, this.evaluationContext.identity && ((Ft = (Lt = X.evaluationContext) === null || Lt === void 0 ? void 0 : Lt.identity) === null || Ft === void 0 ? void 0 : Ft.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Bt = (Pt = X.evaluationContext) === null || Pt === void 0 ? void 0 : Pt.identity) === null || Bt === void 0 ? void 0 : Bt.identifier) + " to " + this.evaluationContext.identity.identifier), xe = !1), this.cacheOptions.ttl && (!X.ts || (/* @__PURE__ */ new Date()).valueOf() - X.ts > this.cacheOptions.ttl) && (X.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + X.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - X.ts) + "ms"), xe = !1) : X.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + X.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - X.ts) + "ms"), Oe = !0, xe = !0)), xe && (Fe = !0, Te = u((jt = this.evaluationContext.identity) === null || jt === void 0 ? void 0 : jt.traits, (Ut = (zt = X.evaluationContext) === null || zt === void 0 ? void 0 : zt.identity) === null || Ut === void 0 ? void 0 : Ut.traits), ve = u(this.flags, X.flags), this.setState(i(i({}, X), { evaluationContext: y(i(i({}, X.evaluationContext), { identity: !((Ht = X.evaluationContext) === null || Ht === void 0) && Ht.identity ? i(i({}, ($t = X.evaluationContext) === null || $t === void 0 ? void 0 : $t.identity), { traits: i(i({}, ((Wt = (qt = X.evaluationContext) === null || qt === void 0 ? void 0 : qt.identity) === null || Wt === void 0 ? void 0 : Wt.traits) || {}), Je || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", X))), Fe ? (Rt = !ae && (!this.cacheOptions.skipAPI || Oe), this._onChange(null, { isFromServer: !1, flagsChanged: ve, traitsChanged: Te }, this._loadedState(null, c.CACHE, Rt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Fe && !Oe && this.log("Skipping API, using cache"), Rt && this.getFlags(), [3, 4]) : [3, 2];
450
450
  case 2:
451
451
  return ae ? [3, 4] : [4, this.getFlags()];
452
452
  case 3:
@@ -502,7 +502,7 @@ var $n = { exports: {} };
502
502
  case 12:
503
503
  return [3, 14];
504
504
  case 13:
505
- throw Fe = fe.sent(), this.log("Error during initialisation ", Fe), Un = Fe instanceof Error ? Fe : new Error("".concat(Fe)), (g = this.onError) === null || g === void 0 || g.call(this, Un), Fe;
505
+ throw Le = fe.sent(), this.log("Error during initialisation ", Le), Un = Le instanceof Error ? Le : new Error("".concat(Le)), (g = this.onError) === null || g === void 0 || g.call(this, Un), Le;
506
506
  case 14:
507
507
  return [2];
508
508
  }
@@ -562,21 +562,21 @@ var $n = { exports: {} };
562
562
  var f = v.fetch, h = v.AsyncStorage, m = v.eventSource;
563
563
  return new I({ fetch: f, AsyncStorage: h, eventSource: m });
564
564
  }
565
- var F, $ = (F = function(v, f) {
566
- return F = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(h, m) {
565
+ var L, $ = (L = function(v, f) {
566
+ return L = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(h, m) {
567
567
  h.__proto__ = m;
568
568
  } || function(h, m) {
569
569
  for (var g in m)
570
570
  Object.prototype.hasOwnProperty.call(m, g) && (h[g] = m[g]);
571
- }, F(v, f);
571
+ }, L(v, f);
572
572
  }, function(v, f) {
573
573
  if (typeof f != "function" && f !== null)
574
574
  throw new TypeError("Class extends value " + String(f) + " is not a constructor or null");
575
575
  function h() {
576
576
  this.constructor = v;
577
577
  }
578
- F(v, f), v.prototype = f === null ? Object.create(f) : (h.prototype = f.prototype, new h());
579
- }), L = function(v) {
578
+ L(v, f), v.prototype = f === null ? Object.create(f) : (h.prototype = f.prototype, new h());
579
+ }), F = function(v) {
580
580
  var f = typeof Symbol == "function" && Symbol.iterator, h = f && v[f], m = 0;
581
581
  if (h)
582
582
  return h.call(v);
@@ -636,7 +636,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
636
636
  m.onmessage(B);
637
637
  };
638
638
  try {
639
- for (var S = L(Object.keys(this._listeners)), x = S.next(); !x.done; x = S.next()) {
639
+ for (var S = F(Object.keys(this._listeners)), x = S.next(); !x.done; x = S.next()) {
640
640
  var D = x.value;
641
641
  this._eventSource.addEventListener(D, this._onevent_wrapped);
642
642
  }
@@ -667,7 +667,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
667
667
  var g = this._listeners[f.type];
668
668
  if (g != null)
669
669
  try {
670
- for (var S = L(N([], z(g), !1)), x = S.next(); !x.done; x = S.next())
670
+ for (var S = F(N([], z(g), !1)), x = S.next(); !x.done; x = S.next())
671
671
  x.value.call(this, f);
672
672
  } catch (D) {
673
673
  h = { error: D };
@@ -855,9 +855,9 @@ for (var J = 280; J < 288; ++J)
855
855
  var tt = new de(32);
856
856
  for (var J = 0; J < 32; ++J)
857
857
  tt[J] = 5;
858
- var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Fs = /* @__PURE__ */ qe(tt, 5, 0), Tn = function(t) {
858
+ var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Ls = /* @__PURE__ */ qe(tt, 5, 0), Tn = function(t) {
859
859
  return (t + 7) / 8 | 0;
860
- }, Ls = function(t, e, n) {
860
+ }, Fs = function(t, e, n) {
861
861
  return (e == null || e < 0) && (e = 0), (n == null || n > t.length) && (n = t.length), new de(t.subarray(e, n));
862
862
  }, Si = [
863
863
  "unexpected EOF",
@@ -970,26 +970,26 @@ var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Fs = /* @__PURE__ */ qe(tt, 5, 0), Tn = f
970
970
  ++M[j[I] & 31];
971
971
  for (var I = 0; I < C.length; ++I)
972
972
  ++M[C[I] & 31];
973
- for (var T = ct(M, 7), F = T.t, $ = T.l, L = 19; L > 4 && !F[an[L - 1]]; --L)
973
+ for (var T = ct(M, 7), L = T.t, $ = T.l, F = 19; F > 4 && !L[an[F - 1]]; --F)
974
974
  ;
975
- var z = u + 5 << 3, N = Ue(i, Ne) + Ue(r, tt) + a, P = Ue(i, p) + Ue(r, y) + a + 14 + 3 * L + Ue(M, F) + 2 * M[16] + 3 * M[17] + 7 * M[18];
975
+ var z = u + 5 << 3, N = Ue(i, Ne) + Ue(r, tt) + a, P = Ue(i, p) + Ue(r, y) + a + 14 + 3 * F + Ue(M, L) + 2 * M[16] + 3 * M[17] + 7 * M[18];
976
976
  if (o >= 0 && z <= N && z <= P)
977
977
  return En(e, c, t.subarray(o, o + u));
978
978
  var V, G, H, v;
979
979
  if (be(e, c, 1 + (P < N)), c += 2, P < N) {
980
980
  V = qe(p, b, 0), G = p, H = qe(y, E, 0), v = y;
981
- var f = qe(F, $, 0);
982
- be(e, c, A - 257), be(e, c + 5, _ - 1), be(e, c + 10, L - 4), c += 14;
983
- for (var I = 0; I < L; ++I)
984
- be(e, c + 3 * I, F[an[I]]);
985
- c += 3 * L;
981
+ var f = qe(L, $, 0);
982
+ be(e, c, A - 257), be(e, c + 5, _ - 1), be(e, c + 10, F - 4), c += 14;
983
+ for (var I = 0; I < F; ++I)
984
+ be(e, c + 3 * I, L[an[I]]);
985
+ c += 3 * F;
986
986
  for (var h = [j, C], m = 0; m < 2; ++m)
987
987
  for (var g = h[m], I = 0; I < g.length; ++I) {
988
988
  var S = g[I] & 31;
989
- be(e, c, f[S]), c += F[S], S > 15 && (be(e, c, g[I] >> 5 & 127), c += g[I] >> 12);
989
+ be(e, c, f[S]), c += L[S], S > 15 && (be(e, c, g[I] >> 5 & 127), c += g[I] >> 12);
990
990
  }
991
991
  } else
992
- V = Ms, G = Ne, H = Fs, v = tt;
992
+ V = Ms, G = Ne, H = Ls, v = tt;
993
993
  for (var I = 0; I < l; ++I) {
994
994
  var x = s[I];
995
995
  if (x > 255) {
@@ -1007,12 +1007,12 @@ var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Fs = /* @__PURE__ */ qe(tt, 5, 0), Tn = f
1007
1007
  c && (o[0] = r.r >> 3);
1008
1008
  for (var d = Bs[e - 1], p = d >> 13, b = d & 8191, w = (1 << n) - 1, y = r.p || new re(32768), E = r.h || new re(w + 1), R = Math.ceil(n / 3), j = 2 * R, A = function(ne) {
1009
1009
  return (t[ne] ^ t[ne + 1] << R ^ t[ne + 2] << j) & w;
1010
- }, k = new xt(25e3), C = new re(288), _ = new re(32), M = 0, I = 0, T = r.i || 0, F = 0, $ = r.w || 0, L = 0; T + 2 < a; ++T) {
1010
+ }, k = new xt(25e3), C = new re(288), _ = new re(32), M = 0, I = 0, T = r.i || 0, L = 0, $ = r.w || 0, F = 0; T + 2 < a; ++T) {
1011
1011
  var z = A(T), N = T & 32767, P = E[z];
1012
1012
  if (y[N] = P, E[z] = N, $ <= T) {
1013
1013
  var V = a - T;
1014
- if ((M > 7e3 || F > 24576) && (V > 423 || !u)) {
1015
- c = un(t, o, 0, k, C, _, I, F, L, T - L, c), F = M = I = 0, L = T;
1014
+ if ((M > 7e3 || L > 24576) && (V > 423 || !u)) {
1015
+ c = un(t, o, 0, k, C, _, I, L, F, T - F, c), L = M = I = 0, F = T;
1016
1016
  for (var G = 0; G < 286; ++G)
1017
1017
  C[G] = 0;
1018
1018
  for (var G = 0; G < 30; ++G)
@@ -1036,16 +1036,16 @@ var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Fs = /* @__PURE__ */ qe(tt, 5, 0), Tn = f
1036
1036
  N = P, P = y[N], h += N - P & 32767;
1037
1037
  }
1038
1038
  if (v) {
1039
- k[F++] = 268435456 | dt[H] << 18 | cn[v];
1039
+ k[L++] = 268435456 | dt[H] << 18 | cn[v];
1040
1040
  var ee = dt[H] & 31, oe = cn[v] & 31;
1041
1041
  I += kt[ee] + Tt[oe], ++C[257 + ee], ++_[oe], $ = T + H, ++M;
1042
1042
  } else
1043
- k[F++] = t[T], ++C[t[T]];
1043
+ k[L++] = t[T], ++C[t[T]];
1044
1044
  }
1045
1045
  }
1046
1046
  for (T = Math.max(T, $); T < a; ++T)
1047
- k[F++] = t[T], ++C[t[T]];
1048
- c = un(t, o, u, k, C, _, I, F, L, T - L, c), u || (r.r = c & 7 | o[c / 8 | 0] << 3, c -= 7, r.h = E, r.p = y, r.i = T, r.w = $);
1047
+ k[L++] = t[T], ++C[t[T]];
1048
+ c = un(t, o, u, k, C, _, I, L, F, T - F, c), u || (r.r = c & 7 | o[c / 8 | 0] << 3, c -= 7, r.h = E, r.p = y, r.i = T, r.w = $);
1049
1049
  } else {
1050
1050
  for (var T = r.w || 0; T < a + u; T += 65535) {
1051
1051
  var te = T + 65535;
@@ -1053,7 +1053,7 @@ var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Fs = /* @__PURE__ */ qe(tt, 5, 0), Tn = f
1053
1053
  }
1054
1054
  r.i = a;
1055
1055
  }
1056
- return Ls(l, 0, s + Tn(c) + i);
1056
+ return Fs(l, 0, s + Tn(c) + i);
1057
1057
  }, zs = /* @__PURE__ */ function() {
1058
1058
  for (var t = new Int32Array(256), e = 0; e < 256; ++e) {
1059
1059
  for (var n = e, s = 9; --s; )
@@ -1121,7 +1121,7 @@ var Ms = /* @__PURE__ */ qe(Ne, 9, 0), Fs = /* @__PURE__ */ qe(tt, 5, 0), Tn = f
1121
1121
  var o = xi({}, nt[n].e);
1122
1122
  return bi(nt[n].c + ";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=" + e.toString() + "}", n, o, ki(o), s);
1123
1123
  }, Ei = function() {
1124
- return [de, re, xt, kt, Tt, an, dt, cn, Ms, Ne, Fs, tt, ft, Bs, In, qe, be, ze, ct, pt, ln, Ue, En, un, Tn, Ls, js, Cn, _i, Hs];
1124
+ return [de, re, xt, kt, Tt, an, dt, cn, Ms, Ne, Ls, tt, ft, Bs, In, qe, be, ze, ct, pt, ln, Ue, En, un, Tn, Fs, js, Cn, _i, Hs];
1125
1125
  }, Ii = function() {
1126
1126
  return [$s, qs, gt, Us, zs];
1127
1127
  }, Hs = function(t) {
@@ -1462,7 +1462,7 @@ const Pe = {
1462
1462
  }
1463
1463
  return s;
1464
1464
  };
1465
- class Fi {
1465
+ class Li {
1466
1466
  constructor(e) {
1467
1467
  this.app = e, this.flags = [], this.storageKey = "__openreplay_flags";
1468
1468
  const n = this.app.sessionStorage.getItem(this.storageKey);
@@ -1533,7 +1533,7 @@ class Fi {
1533
1533
  return e.filter((r) => i.findIndex((a) => a.key === r.key) === -1);
1534
1534
  }
1535
1535
  }
1536
- const Kn = { htmlmasked: "hidden", masked: "obscured" }, Se = !(typeof window > "u"), Li = Se && navigator.userAgent.match(/firefox|fxios/i), Pi = 1e5;
1536
+ const Kn = { htmlmasked: "hidden", masked: "obscured" }, Se = !(typeof window > "u"), Fi = Se && navigator.userAgent.match(/firefox|fxios/i), Pi = 1e5;
1537
1537
  let _n = Se ? Date.now() - performance.now() : 0;
1538
1538
  function Kt() {
1539
1539
  _n = Date.now() - performance.now();
@@ -2331,7 +2331,7 @@ const Er = {
2331
2331
  fontStyle: "normal",
2332
2332
  fontWeight: "500",
2333
2333
  lineHeight: "auto"
2334
- }, Fr = {
2334
+ }, Lr = {
2335
2335
  ...Zs,
2336
2336
  display: "flex",
2337
2337
  padding: "0.25rem 0.9375rem",
@@ -2340,7 +2340,7 @@ const Er = {
2340
2340
  gap: "0.5rem",
2341
2341
  borderRadius: "0.25rem",
2342
2342
  border: "1px solid #394EFF"
2343
- }, Lr = {
2343
+ }, Fr = {
2344
2344
  display: "flex",
2345
2345
  justifyContent: "space-between",
2346
2346
  alignItems: "center",
@@ -2662,13 +2662,13 @@ class Vr {
2662
2662
  fontSize: "13px",
2663
2663
  fontWeight: "500",
2664
2664
  lineHeight: "auto"
2665
- }, "Tasks"), r = U("div", "icon", os, "-"), a = U("div", "content", Be), l = U("div", "pagination", Dr), o = U("div", "taskCard", us), u = U("div", "taskText", hs), c = U("div", "taskDescription", Mr), d = U("div", "taskButtons", Lr), p = U("div", "taskText", hs);
2665
+ }, "Tasks"), r = U("div", "icon", os, "-"), a = U("div", "content", Be), l = U("div", "pagination", Dr), o = U("div", "taskCard", us), u = U("div", "taskText", hs), c = U("div", "taskDescription", Mr), d = U("div", "taskButtons", Fr), p = U("div", "taskText", hs);
2666
2666
  p.textContent = "Your answer";
2667
2667
  const b = U("textarea", "taskDescription", {
2668
2668
  resize: "vertical"
2669
2669
  }), w = U("div", "inputArea", us);
2670
2670
  w.append(p, b);
2671
- const y = U("div", "closePanelButton", Zs, "Collapse Panel"), E = U("div", "nextButton", Fr, "Done, Next");
2671
+ const y = U("div", "closePanelButton", Zs, "Collapse Panel"), E = U("div", "nextButton", Lr, "Done, Next");
2672
2672
  s.append(i, r), o.append(u, c), d.append(y, E), a.append(l, o, w, d), n.append(s, a);
2673
2673
  const R = () => {
2674
2674
  const k = e[this.currentTaskIndex];
@@ -2708,7 +2708,7 @@ class Vr {
2708
2708
  if (b.value = "", (C = this.signalManager) == null || C.signalTask(e[this.currentTaskIndex].task_id, "done", k), this.currentTaskIndex < e.length - 1) {
2709
2709
  this.currentTaskIndex++, R();
2710
2710
  const T = (_ = this.signalManager) == null ? void 0 : _.getDurations();
2711
- T && T.tasks.findIndex((F) => F.taskId === e[this.currentTaskIndex].task_id) === -1 && (T.tasks.push({
2711
+ T && T.tasks.findIndex((L) => L.taskId === e[this.currentTaskIndex].task_id) === -1 && (T.tasks.push({
2712
2712
  taskId: e[this.currentTaskIndex].task_id,
2713
2713
  started: this.app.timestamp()
2714
2714
  }), (M = this.signalManager) == null || M.setDurations(T)), (I = this.signalManager) == null || I.signalTask(e[this.currentTaskIndex].task_id, "begin"), A();
@@ -3495,7 +3495,7 @@ let lo = class {
3495
3495
  const o = location.hostname.split(".").slice(-2).join("_");
3496
3496
  this.bc = new BroadcastChannel(`rick_${o}`);
3497
3497
  }
3498
- this.revID = this.options.revID, this.localStorage = this.options.localStorage ?? window.localStorage, this.sessionStorage = this.options.sessionStorage ?? window.sessionStorage, this.sanitizer = new so(this, s), this.nodes = new Qr(this.options.node_id), this.observer = new to(this, s), this.ticker = new oo(this), this.ticker.attach(() => this.commit()), this.debug = new Yr(this.options.__debug__), this.session = new io(this, this.options), this.attributeSender = new Di(this, !!this.options.disableStringDict), this.featureFlags = new Fi(this), this.tagWatcher = new Tr(this.sessionStorage, this.debug.error, (o) => {
3498
+ this.revID = this.options.revID, this.localStorage = this.options.localStorage ?? window.localStorage, this.sessionStorage = this.options.sessionStorage ?? window.sessionStorage, this.sanitizer = new so(this, s), this.nodes = new Qr(this.options.node_id), this.observer = new to(this, s), this.ticker = new oo(this), this.ticker.attach(() => this.commit()), this.debug = new Yr(this.options.__debug__), this.session = new io(this, this.options), this.attributeSender = new Di(this, !!this.options.disableStringDict), this.featureFlags = new Li(this), this.tagWatcher = new Tr(this.sessionStorage, this.debug.error, (o) => {
3499
3499
  this.send(Sr(o));
3500
3500
  }), this.session.attachUpdateCallback(({ userID: o, metadata: u }) => {
3501
3501
  o != null && this.send(or(o)), u != null && Object.entries(u).forEach(([c, d]) => this.send(Qn(c, d)));
@@ -3561,7 +3561,7 @@ let lo = class {
3561
3561
  let y = w;
3562
3562
  return this.pageFrames.forEach((E) => {
3563
3563
  if (E.dataset.domain === c.data.domain) {
3564
- const [R, j, A, k, C, _, M] = w, { left: I, top: T, width: F, height: $ } = E.getBoundingClientRect(), L = document.documentElement.scrollWidth, z = document.documentElement.scrollHeight, N = _ / 100 * F + I, P = M / 100 * $ + T, V = N / L, G = P / z;
3564
+ const [R, j, A, k, C, _, M] = w, { left: I, top: T, width: L, height: $ } = E.getBoundingClientRect(), F = document.documentElement.scrollWidth, z = document.documentElement.scrollHeight, N = _ / 100 * L + I, P = M / 100 * $ + T, V = N / F, G = P / z;
3565
3565
  y = [
3566
3566
  R,
3567
3567
  j,
@@ -4058,7 +4058,7 @@ let lo = class {
4058
4058
  canvasEnabled: M,
4059
4059
  canvasQuality: I,
4060
4060
  canvasFPS: T,
4061
- assistOnly: F
4061
+ assistOnly: L
4062
4062
  } = await o.json();
4063
4063
  if (typeof u != "string" || typeof c != "string" || typeof E != "number" && typeof E < "u" || typeof y != "string" || typeof w != "number" || typeof p != "number" && typeof p < "u") {
4064
4064
  const N = `Incorrect server response: ${JSON.stringify(o)}`;
@@ -4075,7 +4075,7 @@ let lo = class {
4075
4075
  sessionID: y,
4076
4076
  timestamp: E || r,
4077
4077
  projectID: d
4078
- }), F ? (this.socketMode = !0, this.worker.postMessage("stop")) : this.worker.postMessage({
4078
+ }), L ? (this.socketMode = !0, this.worker.postMessage("stop")) : this.worker.postMessage({
4079
4079
  type: "auth",
4080
4080
  token: u,
4081
4081
  beaconSizeLimit: p
@@ -4095,16 +4095,16 @@ let lo = class {
4095
4095
  } else
4096
4096
  this.insideIframe && this.rootId ? this.observer.crossdomainObserve(this.rootId, this.frameOderNumber) : this.observer.observe(), this.ticker.start();
4097
4097
  this.uxtManager = this.uxtManager ? this.uxtManager : new Vr(this, gs);
4098
- let L;
4098
+ let F;
4099
4099
  const z = this.localStorage.getItem(gs);
4100
- if (z && (L = parseInt(z, 10)), location != null && location.search) {
4100
+ if (z && (F = parseInt(z, 10)), location != null && location.search) {
4101
4101
  const N = new URLSearchParams(location.search);
4102
4102
  if (N.has("oruxt")) {
4103
4103
  const P = N.get("oruxt");
4104
- L = P ? parseInt(P, 10) : void 0;
4104
+ F = P ? parseInt(P, 10) : void 0;
4105
4105
  }
4106
4106
  }
4107
- return L && (this.uxtManager.isActive ? this.onUxtCb.forEach((N) => N(L)) : this.uxtManager.getTest(L, u, !!z).then((N) => {
4107
+ return F && (this.uxtManager.isActive ? this.onUxtCb.forEach((N) => N(F)) : this.uxtManager.getTest(F, u, !!z).then((N) => {
4108
4108
  N && this.onUxtCb.forEach((P) => P(N));
4109
4109
  })), ao($);
4110
4110
  } catch (o) {
@@ -4541,7 +4541,7 @@ function ws(t, e = document.location) {
4541
4541
  return t = t.trim(), t.startsWith("//") || t.startsWith("http://") || t.startsWith("https://") || t.startsWith("data:") ? t : t.startsWith("/") ? e.origin + t : e.origin + e.pathname + t;
4542
4542
  }
4543
4543
  function wo(t) {
4544
- return Li && (t.startsWith("data:image/svg+xml") || t.match(/.svg$|/i));
4544
+ return Fi && (t.startsWith("data:image/svg+xml") || t.match(/.svg$|/i));
4545
4545
  }
4546
4546
  const So = "https://static.openreplay.com/tracker/placeholder.jpeg";
4547
4547
  function xo(t) {
@@ -4846,10 +4846,10 @@ function sn(t) {
4846
4846
  return t.name !== "html" && !t.name.startsWith("#");
4847
4847
  }
4848
4848
  function ot(...t) {
4849
- const e = t.filter(Fo);
4849
+ const e = t.filter(Lo);
4850
4850
  return e.length > 0 ? e : null;
4851
4851
  }
4852
- function Fo(t) {
4852
+ function Lo(t) {
4853
4853
  return t != null;
4854
4854
  }
4855
4855
  function* ci(t, e = []) {
@@ -4876,10 +4876,10 @@ function* ui(t, e, n = {
4876
4876
  const r = It(i);
4877
4877
  if (n.visited.has(r))
4878
4878
  return;
4879
- ai(i) && Lo(i, e) && (yield i, n.visited.set(r, !0), yield* ui(i, e, n));
4879
+ ai(i) && Fo(i, e) && (yield i, n.visited.set(r, !0), yield* ui(i, e, n));
4880
4880
  }
4881
4881
  }
4882
- function Lo(t, e) {
4882
+ function Fo(t, e) {
4883
4883
  return Dn.querySelector(It(t)) === e;
4884
4884
  }
4885
4885
  function Po(t, e, n) {
@@ -4953,26 +4953,26 @@ function jo(t, e) {
4953
4953
  const j = () => {
4954
4954
  a && (t.send(tr(i, r)), a = !1);
4955
4955
  }, A = (k, C = !1) => {
4956
- function _(I, T, F) {
4957
- return u[I] = u[I] || Po(T, k, F);
4956
+ function _(I, T, L) {
4957
+ return u[I] = u[I] || Po(T, k, L);
4958
4958
  }
4959
4959
  const M = C ? t.attachEventListener.bind(t) : t.nodes.attachNodeListener.bind(t.nodes);
4960
4960
  M(k.documentElement, "mouseover", (I) => {
4961
4961
  const T = Ts(I.target, k);
4962
4962
  T !== l && (l = T, o = performance.now());
4963
4963
  }), M(k, "mousemove", (I) => {
4964
- const [T, F] = t.observer.getDocumentOffset(k);
4965
- i = I.clientX + T, r = I.clientY + F, a = !0;
4964
+ const [T, L] = t.observer.getDocumentOffset(k);
4965
+ i = I.clientX + T, r = I.clientY + L, a = !0;
4966
4966
  const $ = Math.sign(I.movementX);
4967
4967
  b += Math.abs(I.movementX) + Math.abs(I.movementY), $ !== d && (d = $, p++);
4968
4968
  }, !1), M(k, "click", (I) => {
4969
4969
  const T = Ts(I.target, k);
4970
4970
  if (!I.clientX && !I.clientY || T === null)
4971
4971
  return;
4972
- const F = t.nodes.getID(T);
4973
- if (F !== void 0) {
4974
- const $ = I.pageX, L = I.pageY, z = k.documentElement.scrollWidth, N = k.documentElement.scrollHeight, P = Es($ / z), V = Es(L / N);
4975
- j(), t.send(pr(F, l === T ? Math.round(performance.now() - o) : 0, s(T), xn(T) && !n ? _(F, T, e) : "", P, V), !0);
4972
+ const L = t.nodes.getID(T);
4973
+ if (L !== void 0) {
4974
+ const $ = I.pageX, F = I.pageY, z = k.documentElement.scrollWidth, N = k.documentElement.scrollHeight, P = Es($ / z), V = Es(F / N);
4975
+ j(), t.send(pr(L, l === T ? Math.round(performance.now() - o) : 0, s(T), xn(T) && !n ? _(L, T, e) : "", P, V), !0);
4976
4976
  }
4977
4977
  l = null;
4978
4978
  });
@@ -5336,22 +5336,22 @@ function Xo(t, e, n, s, i) {
5336
5336
  t.debug.log("Openreplay: attaching axios spy to instance", e);
5337
5337
  function r(p) {
5338
5338
  t.debug.log("Openreplay: capturing axios response data", p);
5339
- const { headers: b, data: w, method: y, url: E, baseURL: R } = p.config, { data: j, headers: A, status: k, response: C } = p, { data: _, headers: M, status: I } = C || {}, T = n.ignoreHeaders, F = Array.isArray(T) ? (H) => T.includes(H) : () => T;
5339
+ const { headers: b, data: w, method: y, url: E, baseURL: R } = p.config, { data: j, headers: A, status: k, response: C } = p, { data: _, headers: M, status: I } = C || {}, T = n.ignoreHeaders, L = Array.isArray(T) ? (H) => T.includes(H) : () => T;
5340
5340
  function $(H, v) {
5341
- F(v[0]) || (H[v[0]] = v[1]);
5341
+ L(v[0]) || (H[v[0]] = v[1]);
5342
5342
  }
5343
- let L = {}, z = {};
5344
- b.toJSON ? L = b.toJSON() : b instanceof Headers ? b.forEach((H, v) => $(L, [v, H])) : Array.isArray(b) ? b.forEach((H) => $(L, H)) : typeof b == "object" && Object.entries(b).forEach((H) => $(L, H));
5343
+ let F = {}, z = {};
5344
+ b.toJSON ? F = b.toJSON() : b instanceof Headers ? b.forEach((H, v) => $(F, [v, H])) : Array.isArray(b) ? b.forEach((H) => $(F, H)) : typeof b == "object" && Object.entries(b).forEach((H) => $(F, H));
5345
5345
  const N = M || A;
5346
5346
  N.toJSON ? z = N.toJSON() : N instanceof Headers ? N.forEach((H, v) => $(z, [v, H])) : Array.isArray(N) ? N.forEach((H) => $(z, H)) : typeof N == "object" && Object.entries(N).forEach(([H, v]) => {
5347
- F(H) || (z[H] = v);
5347
+ L(H) || (z[H] = v);
5348
5348
  });
5349
5349
  const P = s({
5350
5350
  url: E,
5351
5351
  method: y || "",
5352
5352
  status: k || I || 0,
5353
5353
  request: {
5354
- headers: L,
5354
+ headers: F,
5355
5355
  body: w
5356
5356
  },
5357
5357
  response: {
@@ -5442,7 +5442,7 @@ const et = (t, e) => {
5442
5442
  case "":
5443
5443
  case "text":
5444
5444
  case "json":
5445
- typeof e == "string" ? n = e : Fn(e) || Array.isArray(e) ? n = JSON.stringify(e) : typeof e < "u" && (n = Object.prototype.toString.call(e));
5445
+ typeof e == "string" ? n = e : Ln(e) || Array.isArray(e) ? n = JSON.stringify(e) : typeof e < "u" && (n = Object.prototype.toString.call(e));
5446
5446
  break;
5447
5447
  case "blob":
5448
5448
  case "document":
@@ -5466,10 +5466,10 @@ const et = (t, e) => {
5466
5466
  n.push(`${s}=${typeof i == "string" ? i : "[object Object]"}`);
5467
5467
  e = n.join(",");
5468
5468
  } else
5469
- t instanceof Blob || t instanceof ReadableStream || t instanceof ArrayBuffer ? e = "byte data" : Fn(t) ? e = t : e = `can't parse body ${typeof t}`;
5469
+ t instanceof Blob || t instanceof ReadableStream || t instanceof ArrayBuffer ? e = "byte data" : Ln(t) ? e = t : e = `can't parse body ${typeof t}`;
5470
5470
  return e;
5471
5471
  }, Zo = (t, e = {}) => {
5472
- Fn(e) || (e = {});
5472
+ Ln(e) || (e = {});
5473
5473
  let n = t ? t.split("?") : [];
5474
5474
  if (n.shift(), n.length > 0) {
5475
5475
  n = n.join("?").split("&");
@@ -5484,7 +5484,7 @@ const et = (t, e) => {
5484
5484
  }
5485
5485
  return e;
5486
5486
  };
5487
- function Fn(t) {
5487
+ function Ln(t) {
5488
5488
  return t !== null && typeof t == "object";
5489
5489
  }
5490
5490
  function ea(t) {
@@ -5828,21 +5828,21 @@ function la(t, e = {}) {
5828
5828
  return _;
5829
5829
  const I = _.clone();
5830
5830
  return I.text().then((T) => {
5831
- const F = {}, $ = {};
5831
+ const L = {}, $ = {};
5832
5832
  if (s !== !0) {
5833
5833
  const N = ([P, V]) => {
5834
- i(P) || (F[P] = V);
5834
+ i(P) || (L[P] = V);
5835
5835
  };
5836
5836
  k.headers instanceof Headers ? k.headers.forEach((P, V) => N([V, P])) : Array.isArray(k.headers) ? k.headers.forEach(N) : typeof k.headers == "object" && Object.entries(k.headers).forEach(N), I.headers.forEach((P, V) => {
5837
5837
  i(V) || ($[V] = P);
5838
5838
  });
5839
5839
  }
5840
- const L = _s(k.method), z = l({
5840
+ const F = _s(k.method), z = l({
5841
5841
  url: String(A),
5842
- method: L,
5842
+ method: F,
5843
5843
  status: I.status,
5844
5844
  request: {
5845
- headers: F,
5845
+ headers: L,
5846
5846
  // @ts-ignore
5847
5847
  body: k.body || null
5848
5848
  },
@@ -5851,7 +5851,7 @@ function la(t, e = {}) {
5851
5851
  body: T
5852
5852
  }
5853
5853
  });
5854
- z && t.send(vt("fetch", L, String(z.url), o(z.request), o(z.response), I.status, C + Ve(), M, 0));
5854
+ z && t.send(vt("fetch", F, String(z.url), o(z.request), o(z.response), I.status, C + Ve(), M, 0));
5855
5855
  }).catch((T) => t.debug.error("Could not process Fetch response:", T)), _;
5856
5856
  });
5857
5857
  };
@@ -5864,8 +5864,8 @@ function la(t, e = {}) {
5864
5864
  return C.addEventListener("loadstart", (M) => {
5865
5865
  _ = M.timeStamp;
5866
5866
  }), C.addEventListener("load", t.safe((M) => {
5867
- const { headers: I, body: T } = on(C), F = _ > 0 ? M.timeStamp - _ : 0, L = (C.getAllResponseHeaders() || "").trim().split(/[\r\n]+/), z = {};
5868
- L.forEach(function(V) {
5867
+ const { headers: I, body: T } = on(C), L = _ > 0 ? M.timeStamp - _ : 0, F = (C.getAllResponseHeaders() || "").trim().split(/[\r\n]+/), z = {};
5868
+ F.forEach(function(V) {
5869
5869
  const G = V.split(": "), H = G.shift();
5870
5870
  i(H) || (z[H] = G.join(": "));
5871
5871
  });
@@ -5883,7 +5883,7 @@ function la(t, e = {}) {
5883
5883
  body: C.response
5884
5884
  }
5885
5885
  });
5886
- P && t.send(vt("xhr", N, String(P.url), o(P.request), o(P.response), C.status, _ + Ve(), F, 0));
5886
+ P && t.send(vt("xhr", N, String(P.url), o(P.request), o(P.response), C.status, _ + Ve(), L, 0));
5887
5887
  })), b.apply(this, arguments);
5888
5888
  }
5889
5889
  function R(A) {
@@ -6979,10 +6979,10 @@ margin: 5px 0;
6979
6979
 
6980
6980
 
6981
6981
  /* Пример более узких экранов (i.e. <480px) можно добавить при необходимости */
6982
- `, Ln = document.createElement("link");
6983
- Ln.rel = "stylesheet";
6984
- Ln.href = "https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap";
6985
- document.head.appendChild(Ln);
6982
+ `, Fn = document.createElement("link");
6983
+ Fn.rel = "stylesheet";
6984
+ Fn.href = "https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap";
6985
+ document.head.appendChild(Fn);
6986
6986
  const di = document.createElement("style");
6987
6987
  var Os;
6988
6988
  document.documentElement.style.setProperty("--wineater-color", ((Os = window == null ? void 0 : window.wineaterData) == null ? void 0 : Os.COLOR) || "#7B2BEB");
@@ -7292,6 +7292,70 @@ class va {
7292
7292
  headerOccasion: "occasion",
7293
7293
  headerOr: "or"
7294
7294
  },
7295
+ sr: {
7296
+ lang: "sr",
7297
+ welcomeMessage: "Šta planirate da jedete? Podelite svoje jelo i preporučiću vam savršeno vino uz obrok.",
7298
+ noResultsFound: "Nema rezultata.",
7299
+ somethingWentWrong: "Izvinite, nešto je pošlo po zlu.",
7300
+ chatButton1: "Pronađi vino",
7301
+ chatButton2: "Upari vino sada",
7302
+ chatButton3: "Zatraži preporuku",
7303
+ chatTitle: "Asistent za uparivanje vina 🍷",
7304
+ chatSubtitle: "Opišite svoj obrok i dobijte preporuku za 30 sekundi",
7305
+ inputPlaceholder: "npr. Tuna salata",
7306
+ sendButton: "Upari",
7307
+ poweredBy: "Pokreće",
7308
+ price: "Cena",
7309
+ region: "Regija",
7310
+ type: "Tip",
7311
+ reason: "Preporuka",
7312
+ moreInfo: "Više informacija",
7313
+ winePairingIntro: "Za ovo vino, preporučuju se sledeća jela:",
7314
+ askForDinner: "Šta biste želeli za večeru?",
7315
+ clearChatButton: "Obriši razgovor",
7316
+ widgetTitle: "PRONAĐITE SAVRŠENO VINO",
7317
+ widgetSubtitle: "Podelite bilo šta — obrok, raspoloženje, budžet ili priliku — i naš AI somelijer će vam za par sekundi preporučiti vino",
7318
+ searchPlaceholder: "Unesite ključnu reč ili opis",
7319
+ wineDetails: {
7320
+ price: "Cena",
7321
+ region: "Regija",
7322
+ type: "Tip",
7323
+ moreInfo: "Više informacija",
7324
+ reason: "Razlog",
7325
+ sommSelection: "Izbor somelijera",
7326
+ code: "Šifra",
7327
+ buy: "Kupi"
7328
+ },
7329
+ searchButton: "Pretraga",
7330
+ priceRange: "Cenovni raspon",
7331
+ wineColor: "Boja vina",
7332
+ intensity: "Intenzitet",
7333
+ red: "Crveno",
7334
+ white: "Belo",
7335
+ rose: "Roze",
7336
+ light: "Lako",
7337
+ medium: "Srednje",
7338
+ full: "Puno",
7339
+ /* -- Novi ključevi za bar -- */
7340
+ barTitle: "Jela iz bara",
7341
+ barSubtitle: "Izaberite jela ispod i kliknite ‘Pošalji’",
7342
+ barSendButton: "Pošalji",
7343
+ barResetButton: "Resetuj",
7344
+ barName: "Naziv bara",
7345
+ barNotesPlaceholder: "Dodajte svoje želje ovde...",
7346
+ placeholderSuggestions: [
7347
+ "Vino uz pastu",
7348
+ "Savršeno uz ribu",
7349
+ "Preporuka za žurku"
7350
+ ],
7351
+ headerLine1: "Podelite bilo šta što vam je na umu —",
7352
+ headerLine2: "— i dobijte preporuke za savršeno vino za par sekundi",
7353
+ headerMeal: "obrok",
7354
+ headerMood: "raspoloženje",
7355
+ headerBudget: "budžet",
7356
+ headerOccasion: "prilika",
7357
+ headerOr: "ili"
7358
+ },
7295
7359
  de: {
7296
7360
  lang: "de",
7297
7361
  welcomeMessage: "Was möchten Sie essen? Beschreiben Sie Ihr Gericht und ich empfehle Ihnen den perfekten Wein dazu.",
@@ -7667,17 +7731,17 @@ class ba {
7667
7731
  const _ = s.children[u];
7668
7732
  if (!b) {
7669
7733
  const M = _.querySelector("[data-toggle-info]"), I = _.querySelector(".card-popup"), T = _.querySelector(".card-popup-close");
7670
- T == null || T.addEventListener("click", (F) => {
7671
- F.stopPropagation(), I.classList.add("hidden");
7672
- }), document.addEventListener("click", (F) => {
7673
- F.target.closest(".card-popup") || F.target.closest(".mobile-fullscreen-popup") || F.target.closest("[data-toggle-info]") || (document.querySelectorAll(".card-popup").forEach((L) => L.classList.add("hidden")), document.querySelectorAll(".mobile-fullscreen-wrapper").forEach((L) => L.remove()));
7674
- }), M == null || M.addEventListener("click", (F) => {
7734
+ T == null || T.addEventListener("click", (L) => {
7735
+ L.stopPropagation(), I.classList.add("hidden");
7736
+ }), document.addEventListener("click", (L) => {
7737
+ L.target.closest(".card-popup") || L.target.closest(".mobile-fullscreen-popup") || L.target.closest("[data-toggle-info]") || (document.querySelectorAll(".card-popup").forEach((F) => F.classList.add("hidden")), document.querySelectorAll(".mobile-fullscreen-wrapper").forEach((F) => F.remove()));
7738
+ }), M == null || M.addEventListener("click", (L) => {
7675
7739
  var $;
7676
- if (F.stopPropagation(), document.querySelectorAll(".card-popup").forEach((L) => L.classList.add("hidden")), document.querySelectorAll(".mobile-fullscreen-wrapper").forEach((L) => L.remove()), window.innerWidth <= 768) {
7677
- const L = I.innerHTML, z = document.createElement("div");
7740
+ if (L.stopPropagation(), document.querySelectorAll(".card-popup").forEach((F) => F.classList.add("hidden")), document.querySelectorAll(".mobile-fullscreen-wrapper").forEach((F) => F.remove()), window.innerWidth <= 768) {
7741
+ const F = I.innerHTML, z = document.createElement("div");
7678
7742
  z.className = "mobile-fullscreen-wrapper", z.innerHTML = `
7679
7743
  <div class="mobile-fullscreen-overlay"></div>
7680
- <div class="card-popup mobile-fullscreen-popup">${L}</div>
7744
+ <div class="card-popup mobile-fullscreen-popup">${F}</div>
7681
7745
  `, ($ = z.querySelector(".card-popup-close")) == null || $.addEventListener("click", () => z.remove()), document.body.appendChild(z);
7682
7746
  } else
7683
7747
  I.classList.remove("hidden");