PageSourceSearch

https://sazimestromy.cz/js/cookie_init.js

js sazimestromy.cz collected 2026-10-02 18:28:32 UTC 60,401 bytes, 1,404 lines download raw bytes

1(() => {
2  var __defProp = Object.defineProperty;
3  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4  var __hasOwnProp = Object.prototype.hasOwnProperty;
5  var __propIsEnum = Object.prototype.propertyIsEnumerable;
6  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7  var __spreadValues = (a, b) => {
8    for (var prop in b || (b = {}))
9      if (__hasOwnProp.call(b, prop))
10        __defNormalProp(a, prop, b[prop]);
11    if (__getOwnPropSymbols)
12      for (var prop of __getOwnPropSymbols(b)) {
13        if (__propIsEnum.call(b, prop))
14          __defNormalProp(a, prop, b[prop]);
15      }
16    return a;
17  };
18
19  
vendor: 28,150 bytes, lines 19-639
19// node_modules/vanilla-cookieconsent/dist/cookieconsent.js
20  (function() {
21    var db = function(Xa) {
22      var f = { current_lang: "en", auto_language: null, autorun: true, cookie_name: "cc_cookie", cookie_expiration: 182, cookie_domain: window.location.hostname, cookie_path: "/", cookie_same_site: "Lax", use_rfc_cookie: false, autoclear_cookies: true, revision: 0, script_selector: "data-cookiecategory" }, k = {}, r = {}, U = false, V = false, na = false, ya = false, oa = false, u, aa, W, za, Aa, Ba, ba = true, Ca = false, A = null, Da, pa = [], Ea = [], Oa = false, ua, Fa, Ga = [], ja = [], Q = [], F = [], va = [], ka = document.documentElement, L, x, G, R, Ya = function(a) {
23        typeof a.cookie_expiration === "number" && (f.cookie_expiration = a.cookie_expiration);
24        typeof a.cookie_necessary_only_expiration === "number" && (f.cookie_necessary_only_expiration = a.cookie_necessary_only_expiration);
25        typeof a.autorun === "boolean" && (f.autorun = a.autorun);
26        typeof a.cookie_domain === "string" && (f.cookie_domain = a.cookie_domain);
27        typeof a.cookie_same_site === "string" && (f.cookie_same_site = a.cookie_same_site);
28        typeof a.cookie_path === "string" && (f.cookie_path = a.cookie_path);
29        typeof a.cookie_name === "string" && (f.cookie_name = a.cookie_name);
30        typeof a.onAccept === "function" && (za = a.onAccept);
31        typeof a.onFirstAction === "function" && (Ba = a.onFirstAction);
32        typeof a.onChange === "function" && (Aa = a.onChange);
33        typeof a.revision === "number" && (-1 < a.revision && (f.revision = a.revision), Ca = true);
34        a.autoclear_cookies === true && (f.autoclear_cookies = true);
35        a.use_rfc_cookie === true && (f.use_rfc_cookie = true);
36        a.hide_from_bots === true && (Oa = navigator && (navigator.userAgent && /bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent) || navigator.webdriver));
37        f.page_scripts = a.page_scripts === true;
38        f.page_scripts_order = a.page_scripts_order !== false;
39        a.auto_language === "browser" || a.auto_language === true ? f.auto_language = "browser" : a.auto_language === "document" && (f.auto_language = "document");
40        var b = a.languages;
41        a = a.current_lang;
42        f.auto_language === "browser" ? (a = navigator.language || navigator.browserLanguage, 2 < a.length && (a = a[0] + a[1]), a = a.toLowerCase(), b = Ha(a, b)) : b = f.auto_language === "document" ? Ha(document.documentElement.lang, b) : typeof a === "string" ? f.current_lang = Ha(a, b) : f.current_lang;
43        f.current_lang = b;
44      }, Za = function() {
45        for (var a = document.querySelectorAll('a[data-cc="c-settings"], button[data-cc="c-settings"]'), b = 0; b < a.length; b++)
46          a[b].setAttribute("aria-haspopup", "dialog"), H(a[b], "click", function(c) {
47            k.showSettings(0);
48            c.preventDefault ? c.preventDefault() : c.returnValue = false;
49          });
50      }, Ha = function(a, b) {
51        if (Object.prototype.hasOwnProperty.call(b, a))
52          return a;
53        if (0 < qa(b).length)
54          return Object.prototype.hasOwnProperty.call(b, f.current_lang) ? f.current_lang : qa(b)[0];
55      }, Pa = function() {
56        function a(c, d) {
57          var e = false, h = false;
58          try {
59            for (var l = c.querySelectorAll(b.join(':not([tabindex="-1"]), ')), m, n = l.length, p = 0; p < n; )
60              m = l[p].getAttribute("data-focus"), h || m !== "1" ? m === "0" && (e = l[p], h || l[p + 1].getAttribute("data-focus") === "0" || (h = l[p + 1])) : h = l[p], p++;
61          } catch (q) {
62            return c.querySelectorAll(b.join(", "));
63          }
64          d[0] = l[0];
65          d[1] = l[l.length - 1];
66          d[2] = e;
67          d[3] = h;
68        }
69        var b = ["[href]", "button", "input", "details", '[tabindex="0"]'];
70        a(R, ja);
71        U && a(x, Ga);
72      }, Ia, Ja, Qa = "", ra, $a = function(a, b) {
73        L = g("div");
74        L.id = "cc--main";
75        L.style.position = "fixed";
76        L.style.zIndex = "1000000";
77        L.innerHTML = '<!--[if lt IE 9 ]><div id="cc_div" class="cc_div ie"></div><![endif]--><!--[if (gt IE 8)|!(IE)]><!--><div id="cc_div" class="cc_div"></div><!--<![endif]-->';
78        var c = L.children[0], d = f.current_lang, e = typeof ka.textContent === "string" ? "textContent" : "innerText";
79        Ia = b;
80        Ja = function(t) {
81          t.force_consent === true && I(ka, "force--consent");
82          var y = t.languages[d].consent_modal.description;
83          Ca && (y = ba ? y.replace("{{revision_message}}", "") : y.replace("{{revision_message}}", Qa || t.languages[d].consent_modal.revision_message || ""));
84          if (x)
85            ra.innerHTML = y;
86          else {
87            x = g("div");
88            var ca = g("div"), wa = g("div");
89            ra = g("div");
90            var da = g("div"), xa = g("div");
91            x.id = "cm";
92            ca.id = "c-inr";
93            wa.id = "c-inr-i";
94            ra.id = "c-txt";
95            da.id = "c-bns";
96            xa.id = "cm-ov";
97            x.setAttribute("role", "dialog");
98            x.setAttribute("aria-modal", "true");
99            x.setAttribute("aria-hidden", "false");
100            x.setAttribute("aria-labelledby", "c-ttl");
101            x.setAttribute("aria-describedby", "c-txt");
102            x.style.visibility = xa.style.visibility = "hidden";
103            xa.style.opacity = 0;
104            var X = t.languages[d].consent_modal.title;
105            if (X) {
106              var sa = g("div");
107              sa.id = "c-ttl";
108              sa.setAttribute("role", "heading");
109              sa.setAttribute("aria-level", "2");
110              sa.insertAdjacentHTML("beforeend", X);
111              wa.appendChild(sa);
112            }
113            ra.insertAdjacentHTML("beforeend", y);
114            wa.appendChild(ra);
115            y = t.languages[d].consent_modal.primary_btn;
116            X = t.languages[d].consent_modal.secondary_btn;
117            if (y) {
118              var la = g("button");
119              la.id = "c-p-bn";
120              la.className = "c-bn";
121              la[e] = t.languages[d].consent_modal.primary_btn.text;
122              var Ra;
123              y.role === "accept_all" && (Ra = "all");
124              H(la, "click", function() {
125                k.hide();
126                k.accept(Ra);
127              });
128            }
129            if (X) {
130              var ea = g("button");
131              ea.id = "c-s-bn";
132              ea.className = "c-bn c_link";
133              ea[e] = t.languages[d].consent_modal.secondary_btn.text;
134              X.role === "accept_necessary" ? H(ea, "click", function() {
135                k.hide();
136                k.accept([]);
137              }) : H(ea, "click", function() {
138                k.showSettings(0);
139              });
140            }
141            (t = t.gui_options) && t.consent_modal && t.consent_modal.swap_buttons === true ? (X && da.appendChild(ea), y && da.appendChild(la), da.className = "swap") : (y && da.appendChild(la), X && da.appendChild(ea));
142            ca.appendChild(wa);
143            (y || X) && ca.appendChild(da);
144            x.appendChild(ca);
145            c.appendChild(x);
146            c.appendChild(xa);
147            U = true;
148          }
149        };
150        a || Ja(b);
151        G = g("div");
152        var h = g("div"), l = g("div"), m = g("div");
153        R = g("div");
154        var n = g("div"), p = g("div"), q = g("button"), Y = g("div"), S = g("div"), z = g("div");
155        G.id = "s-cnt";
156        h.id = "c-vln";
157        m.id = "c-s-in";
158        l.id = "cs";
159        n.id = "s-ttl";
160        R.id = "s-inr";
161        p.id = "s-hdr";
162        S.id = "s-bl";
163        q.id = "s-c-bn";
164        z.id = "cs-ov";
165        Y.id = "s-c-bnc";
166        q.className = "c-bn";
167        q.setAttribute("aria-label", b.languages[d].settings_modal.close_btn_label || "Close");
168        G.setAttribute("role", "dialog");
169        G.setAttribute("aria-modal", "true");
170        G.setAttribute("aria-hidden", "true");
171        G.setAttribute("aria-labelledby", "s-ttl");
172        n.setAttribute("role", "heading");
173        G.style.visibility = z.style.visibility = "hidden";
174        z.style.opacity = 0;
175        Y.appendChild(q);
176        H(h, "keydown", function(t) {
177          t = t || window.event;
178          t.keyCode === 27 && k.hideSettings(0);
179        }, true);
180        H(q, "click", function() {
181          k.hideSettings(0);
182        });
183        W = b.languages[f.current_lang].settings_modal.blocks;
184        aa = b.languages[f.current_lang].settings_modal.cookie_table_headers;
185        q = W.length;
186        n.insertAdjacentHTML("beforeend", b.languages[f.current_lang].settings_modal.title);
187        for (var v = 0; v < q; ++v) {
188          var C = W[v].title, J = W[v].description, M = W[v].toggle, fa = W[v].cookie_table, K = b.remove_cookie_tables === true, w = J && "truthy" || !K && fa && "truthy", ma = g("div"), Z = g("div");
189          if (J) {
190            var T = g("div");
191            T.className = "p";
192            T.insertAdjacentHTML("beforeend", J);
193          }
194          var B = g("div");
195          B.className = "title";
196          ma.className = "c-bl";
197          Z.className = "desc";
198          if (typeof M !== "undefined") {
199            var N = "c-ac-" + v, ha = w ? g("button") : g("div"), D = g("label"), O = g("input"), P = g("span"), ia = g("span"), Sa = g("span"), Ta = g("span");
200            ha.className = w ? "b-tl exp" : "b-tl";
201            D.className = "b-tg";
202            O.className = "c-tgl";
203            Sa.className = "on-i";
204            Ta.className = "off-i";
205            P.className = "c-tg";
206            ia.className = "t-lb";
207            w && (ha.setAttribute("aria-expanded", "false"), ha.setAttribute("aria-controls", N));
208            O.type = "checkbox";
209            P.setAttribute("aria-hidden", "true");
210            var Ka = M.value;
211            O.value = Ka;
212            ia[e] = C;
213            ha.insertAdjacentHTML("beforeend", C);
214            B.appendChild(ha);
215            P.appendChild(Sa);
216            P.appendChild(Ta);
217            a ? -1 < E(r.level, Ka) ? (O.checked = true, Q.push(true)) : Q.push(false) : M.enabled ? (O.checked = true, Q.push(true)) : Q.push(false);
218            F.push(Ka);
219            M.readonly ? (O.disabled = true, I(P, "c-ro"), va.push(true)) : va.push(false);
220            I(Z, "b-acc");
221            I(B, "b-bn");
222            I(ma, "b-ex");
223            Z.id = N;
224            Z.setAttribute("aria-hidden", "true");
225            D.appendChild(O);
226            D.appendChild(P);
227            D.appendChild(ia);
228            B.appendChild(D);
229            w && function(t, y, ca) {
230              H(ha, "click", function() {
231                Ua(y, "act") ? (La(y, "act"), ca.setAttribute("aria-expanded", "false"), t.setAttribute("aria-hidden", "true")) : (I(y, "act"), ca.setAttribute("aria-expanded", "true"), t.setAttribute("aria-hidden", "false"));
232              }, false);
233            }(Z, ma, ha);
234          } else
235            C && (w = g("div"), w.className = "b-tl", w.setAttribute("role", "heading"), w.setAttribute("aria-level", "3"), w.insertAdjacentHTML("beforeend", C), B.appendChild(w));
236          C && ma.appendChild(B);
237          J && Z.appendChild(T);
238          if (!K && typeof fa !== "undefined") {
239            w = document.createDocumentFragment();
240            for (N = 0; N < aa.length; ++N)
241              D = g("th"), K = aa[N], D.setAttribute("scope", "col"), K && (B = K && qa(K)[0], D[e] = aa[N][B], w.appendChild(D));
242            K = g("tr");
243            K.appendChild(w);
244            B = g("thead");
245            B.appendChild(K);
246            w = g("table");
247            w.appendChild(B);
248            N = document.createDocumentFragment();
249            for (D = 0; D < fa.length; D++) {
250              O = g("tr");
251              for (P = 0; P < aa.length; ++P)
252                if (K = aa[P])
253                  B = qa(K)[0], ia = g("td"), ia.insertAdjacentHTML("beforeend", fa[D][B]), ia.setAttribute("data-column", K[B]), O.appendChild(ia);
254              N.appendChild(O);
255            }
256            fa = g("tbody");
257            fa.appendChild(N);
258            w.appendChild(fa);
259            Z.appendChild(w);
260          }
261          if (M && C || !M && (C || J))
262            ma.appendChild(Z), S.appendChild(ma);
263        }
264        a = g("div");
265        T = g("button");
266        q = g("button");
267        a.id = "s-bns";
268        T.id = "s-sv-bn";
269        q.id = "s-all-bn";
270        T.className = "c-bn";
271        q.className = "c-bn";
272        T.insertAdjacentHTML("beforeend", b.languages[f.current_lang].settings_modal.save_settings_btn);
273        q.insertAdjacentHTML("beforeend", b.languages[f.current_lang].settings_modal.accept_all_btn);
274        a.appendChild(q);
275        if (b = b.languages[f.current_lang].settings_modal.reject_all_btn)
276          v = g("button"), v.id = "s-rall-bn", v.className = "c-bn", v.insertAdjacentHTML("beforeend", b), H(v, "click", function() {
277            k.hideSettings();
278            k.hide();
279            k.accept([]);
280          }), R.className = "bns-t", a.appendChild(v);
281        a.appendChild(T);
282        H(T, "click", function() {
283          k.hideSettings();
284          k.hide();
285          k.accept();
286        });
287        H(q, "click", function() {
288          k.hideSettings();
289          k.hide();
290          k.accept("all");
291        });
292        p.appendChild(n);
293        p.appendChild(Y);
294        R.appendChild(p);
295        R.appendChild(S);
296        R.appendChild(a);
297        m.appendChild(R);
298        l.appendChild(m);
299        h.appendChild(l);
300        G.appendChild(h);
301        c.appendChild(G);
302        c.appendChild(z);
303        (Xa || document.body).appendChild(L);
304      }, ab = function(a) {
305        var b = document.querySelectorAll(".c-tgl") || [], c = [], d = false;
306        if (0 < b.length) {
307          for (var e = 0; e < b.length; e++)
308            E(a, F[e]) !== -1 ? (b[e].checked = true, Q[e] || (c.push(F[e]), Q[e] = true)) : (b[e].checked = false, Q[e] && (c.push(F[e]), Q[e] = false));
309          if (f.autoclear_cookies && V && 0 < c.length) {
310            b = W.length;
311            e = -1;
312            var h = ta("", "all"), l = [f.cookie_domain, "." + f.cookie_domain];
313            if (f.cookie_domain.slice(0, 4) === "www.") {
314              var m = f.cookie_domain.substr(4);
315              l.push(m);
316              l.push("." + m);
317            }
318            for (m = 0; m < b; m++) {
319              var n = W[m];
320              if (Object.prototype.hasOwnProperty.call(n, "toggle") && !Q[++e] && Object.prototype.hasOwnProperty.call(n, "cookie_table") && -1 < E(c, n.toggle.value)) {
321                var p = n.cookie_table, q = qa(aa[0])[0], Y = p.length;
322                n.toggle.reload === "on_disable" && (d = true);
323                for (var S = 0; S < Y; S++) {
324                  var z = p[S], v = [], C = z[q], J = z.is_regex || false, M = z.domain || null;
325                  z = z.path || false;
326                  M && (l = [M, "." + M]);
327                  if (J)
328                    for (J = 0; J < h.length; J++)
329                      h[J].match(C) && v.push(h[J]);
330                  else
331                    C = E(h, C), -1 < C && v.push(h[C]);
332                  0 < v.length && (Va(v, z, l), n.toggle.reload === "on_clear" && (d = true));
333                }
334              }
335            }
336          }
337        }
338        r = { level: a, revision: f.revision, data: A, rfc_cookie: f.use_rfc_cookie };
339        if (!V || 0 < c.length || !ba)
340          ba = true, Ma(f.cookie_name, JSON.stringify(r)), Na();
341        V ? (typeof Aa === "function" && 0 < c.length && Aa(r, c), d && window.location.reload()) : (typeof Ba === "function" && Ba(k.getUserPreferences(), r), typeof za === "function" && za(r), V = true);
342      }, bb = function(a, b) {
343        if (typeof a !== "string" || a === "" || document.getElementById("cc--style"))
344          b();
345        else {
346          var c = g("style");
347          c.id = "cc--style";
348          var d = new XMLHttpRequest();
349          d.onreadystatechange = function() {
350            this.readyState === 4 && this.status === 200 && (c.setAttribute("type", "text/css"), c.styleSheet ? c.styleSheet.cssText = this.responseText : c.appendChild(document.createTextNode(this.responseText)), document.getElementsByTagName("head")[0].appendChild(c), b());
351          };
352          d.open("GET", a);
353          d.send();
354        }
355      }, E = function(a, b) {
356        for (var c = a.length, d = 0; d < c; d++)
357          if (a[d] === b)
358            return d;
359        return -1;
360      }, g = function(a) {
361        var b = document.createElement(a);
362        a === "button" && b.setAttribute("type", a);
363        return b;
364      }, cb = function() {
365        var a = false, b = false;
366        H(document, "keydown", function(c) {
367          c = c || window.event;
368          c.key === "Tab" && (u && (c.shiftKey ? document.activeElement === u[0] && (u[1].focus(), c.preventDefault()) : document.activeElement === u[1] && (u[0].focus(), c.preventDefault()), b || oa || (b = true, !a && c.preventDefault(), c.shiftKey ? u[3] ? u[2] ? u[2].focus() : u[0].focus() : u[1].focus() : u[3] ? u[3].focus() : u[0].focus())), !b && (a = true));
369        });
370        document.contains && H(L, "click", function(c) {
371          c = c || window.event;
372          ya ? R.contains(c.target) ? oa = true : (k.hideSettings(0), oa = false) : na && x.contains(c.target) && (oa = true);
373        }, true);
374      }, Wa = function(a, b) {
375        function c(e, h, l, m, n, p, q) {
376          p = p && p.split(" ") || [];
377          if (-1 < E(h, n) && (I(e, n), (n !== "bar" || p[0] !== "middle") && -1 < E(l, p[0])))
378            for (h = 0; h < p.length; h++)
379              I(e, p[h]);
380          -1 < E(m, q) && I(e, q);
381        }
382        if (typeof a === "object") {
383          var d = a.consent_modal;
384          a = a.settings_modal;
385          U && d && c(x, ["box", "bar", "cloud"], ["top", "middle", "bottom"], ["zoom", "slide"], d.layout, d.position, d.transition);
386          !b && a && c(G, ["bar"], ["left", "right"], ["zoom", "slide"], a.layout, a.position, a.transition);
387        }
388      };
389      k.allowedCategory = function(a) {
390        return -1 < E(JSON.parse(ta(f.cookie_name, "one", true) || "{}").level || [], a);
391      };
392      k.run = function(a) {
393        if (!document.getElementById("cc_div") && (Ya(a), !Oa && (r = JSON.parse(ta(f.cookie_name, "one", true) || "{}"), V = r.level !== void 0, A = r.data !== void 0 ? r.data : null, ba = typeof a.revision === "number" ? V ? -1 < a.revision ? r.revision === f.revision : true : true : true, U = !V || !ba, $a(!U, a), bb(a.theme_css, function() {
394          Pa();
395          Wa(a.gui_options);
396          Za();
397          f.autorun && U && k.show(a.delay || 0);
398          setTimeout(function() {
399            I(L, "c--anim");
400          }, 30);
401          setTimeout(function() {
402            cb();
403          }, 100);
404        }), V && ba))) {
405          var b = typeof r.rfc_cookie === "boolean";
406          if (!b || b && r.rfc_cookie !== f.use_rfc_cookie)
407            r.rfc_cookie = f.use_rfc_cookie, Ma(f.cookie_name, JSON.stringify(r));
408          Na();
409          if (typeof a.onAccept === "function")
410            a.onAccept(r);
411        }
412      };
413      k.showSettings = function(a) {
414        setTimeout(function() {
415          I(ka, "show--settings");
416          G.setAttribute("aria-hidden", "false");
417          ya = true;
418          setTimeout(function() {
419            na ? Fa = document.activeElement : ua = document.activeElement;
420            ja.length !== 0 && (ja[3] ? ja[3].focus() : ja[0].focus(), u = ja);
421          }, 200);
422        }, 0 < a ? a : 0);
423      };
424      var Na = function() {
425        if (f.page_scripts) {
426          var a = document.querySelectorAll("script[" + f.script_selector + "]"), b = f.page_scripts_order, c = r.level || [], d = function(e, h) {
427            if (h < e.length) {
428              var l = e[h], m = l.getAttribute(f.script_selector);
429              if (-1 < E(c, m)) {
430                l.type = "text/javascript";
431                l.removeAttribute(f.script_selector);
432                m = l.getAttribute("data-src");
433                var n = g("script");
434                n.textContent = l.innerHTML;
435                (function(p, q) {
436                  for (var Y = q.attributes, S = Y.length, z = 0; z < S; z++)
437                    q = Y[z], p.setAttribute(q.nodeName, q.nodeValue);
438                })(n, l);
439                m ? n.src = m : m = l.src;
440                m && (b ? n.readyState ? n.onreadystatechange = function() {
441                  if (n.readyState === "loaded" || n.readyState === "complete")
442                    n.onreadystatechange = null, d(e, ++h);
443                } : n.onload = function() {
444                  n.onload = null;
445                  d(e, ++h);
446                } : m = false);
447                l.parentNode.replaceChild(n, l);
448                if (m)
449                  return;
450              }
451              d(e, ++h);
452            }
453          };
454          d(a, 0);
455        }
456      };
457      k.set = function(a, b) {
458        switch (a) {
459          case "data":
460            a = b.value;
461            var c = false;
462            if (b.mode === "update")
463              if (A = k.get("data"), (b = typeof A === typeof a) && typeof A === "object") {
464                !A && (A = {});
465                for (var d in a)
466                  A[d] !== a[d] && (A[d] = a[d], c = true);
467              } else
468                !b && A || A === a || (A = a, c = true);
469            else
470              A = a, c = true;
471            c && (r.data = A, Ma(f.cookie_name, JSON.stringify(r)));
472            return c;
473          case "revision":
474            return d = b.value, a = b.prompt_consent, b = b.message, L && typeof d === "number" && r.revision !== d ? (Ca = true, Qa = b, ba = false, f.revision = d, a === true ? (Ja(Ia), Wa(Ia.gui_options, true), Pa(), k.show()) : k.accept(), b = true) : b = false, b;
475          default:
476            return false;
477        }
478      };
479      k.get = function(a, b) {
480        return JSON.parse(ta(b || f.cookie_name, "one", true) || "{}")[a];
481      };
482      k.getConfig = function(a) {
483        return f[a];
484      };
485      k.getUserPreferences = function() {
486        pa = r.level || [];
487        var a = va.filter(function(b) {
488          return b === true;
489        }).length;
490        Ea = F.filter(function(b) {
491          return E(pa, b) === -1;
492        });
493        Da = pa.length === F.length ? "all" : 0 <= Ea.length && pa.length === a ? "necessary" : "custom";
494        return { accept_type: Da, accepted_categories: pa, rejected_categories: Ea };
495      };
496      k.loadScript = function(a, b, c) {
497        var d = typeof b === "function";
498        if (document.querySelector('script[src="' + a + '"]'))
499          d && b();
500        else {
501          var e = g("script");
502          if (c && 0 < c.length)
503            for (var h = 0; h < c.length; ++h)
504              c[h] && e.setAttribute(c[h].name, c[h].value);
505          d && (e.readyState ? e.onreadystatechange = function() {
506            if (e.readyState === "loaded" || e.readyState === "complete")
507              e.onreadystatechange = null, b();
508          } : e.onload = b);
509          e.src = a;
510          (document.head ? document.head : document.getElementsByTagName("head")[0]).appendChild(e);
511        }
512      };
513      k.updateScripts = function() {
514        Na();
515      };
516      k.show = function(a) {
517        U && setTimeout(function() {
518          I(ka, "show--consent");
519          x.setAttribute("aria-hidden", "false");
520          na = true;
521          setTimeout(function() {
522            ua = document.activeElement;
523            u = Ga;
524          }, 200);
525        }, 0 < a ? a : 0);
526      };
527      k.hide = function() {
528        U && (La(ka, "show--consent"), x.setAttribute("aria-hidden", "true"), na = false, setTimeout(function() {
529          ua.focus();
530          u = null;
531        }, 200));
532      };
533      k.hideSettings = function() {
534        La(ka, "show--settings");
535        ya = false;
536        G.setAttribute("aria-hidden", "true");
537        setTimeout(function() {
538          na ? (Fa && Fa.focus(), u = Ga) : (ua.focus(), u = null);
539          oa = false;
540        }, 200);
541      };
542      k.accept = function(a, b) {
543        a = a || void 0;
544        var c = b || [];
545        b = [];
546        var d = function() {
547          for (var h = document.querySelectorAll(".c-tgl") || [], l = [], m = 0; m < h.length; m++)
548            h[m].checked && l.push(h[m].value);
549          return l;
550        };
551        if (a)
552          if (typeof a === "object" && typeof a.length === "number")
553            for (var e = 0; e < a.length; e++)
554              E(F, a[e]) !== -1 && b.push(a[e]);
555          else
556            typeof a === "string" && (a === "all" ? b = F.slice() : E(F, a) !== -1 && b.push(a));
557        else
558          b = d();
559        if (1 <= c.length)
560          for (e = 0; e < c.length; e++)
561            b = b.filter(function(h) {
562              return h !== c[e];
563            });
564        for (e = 0; e < F.length; e++)
565          va[e] === true && E(b, F[e]) === -1 && b.push(F[e]);
566        ab(b);
567      };
568      k.eraseCookies = function(a, b, c) {
569        var d = [];
570        c = c ? [c, "." + c] : [f.cookie_domain, "." + f.cookie_domain];
571        if (typeof a === "object" && 0 < a.length)
572          for (var e = 0; e < a.length; e++)
573            this.validCookie(a[e]) && d.push(a[e]);
574        else
575          this.validCookie(a) && d.push(a);
576        Va(d, b, c);
577      };
578      var Ma = function(a, b) {
579        var c = f.cookie_expiration;
580        typeof f.cookie_necessary_only_expiration === "number" && Da === "necessary" && (c = f.cookie_necessary_only_expiration);
581        b = f.use_rfc_cookie ? encodeURIComponent(b) : b;
582        var d = new Date();
583        d.setTime(d.getTime() + 864e5 * c);
584        c = "; expires=" + d.toUTCString();
585        a = a + "=" + (b || "") + c + "; Path=" + f.cookie_path + ";";
586        a += " SameSite=" + f.cookie_same_site + ";";
587        -1 < window.location.hostname.indexOf(".") && (a += " Domain=" + f.cookie_domain + ";");
588        window.location.protocol === "https:" && (a += " Secure;");
589        document.cookie = a;
590      }, ta = function(a, b, c) {
591        var d;
592        if (b === "one") {
593          if ((d = (d = document.cookie.match("(^|;)\\s*" + a + "\\s*=\\s*([^;]+)")) ? c ? d.pop() : a : "") && a === f.cookie_name) {
594            try {
595              d = JSON.parse(d);
596            } catch (e) {
597              try {
598                d = JSON.parse(decodeURIComponent(d));
599              } catch (h) {
600                d = {};
601              }
602            }
603            d = JSON.stringify(d);
604          }
605        } else if (b === "all")
606          for (a = document.cookie.split(/;\s*/), d = [], b = 0; b < a.length; b++)
607            d.push(a[b].split("=")[0]);
608        return d;
609      }, Va = function(a, b, c) {
610        b = b ? b : "/";
611        for (var d = 0; d < a.length; d++)
612          for (var e = 0; e < c.length; e++)
613            document.cookie = a[d] + "=; path=" + b + (-1 < c[e].indexOf(".") ? "; domain=" + c[e] : "") + "; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";
614      };
615      k.validCookie = function(a) {
616        return ta(a, "one", true) !== "";
617      };
618      var H = function(a, b, c, d) {
619        a.addEventListener ? d === true ? a.addEventListener(b, c, { passive: true }) : a.addEventListener(b, c, false) : a.attachEvent("on" + b, c);
620      }, qa = function(a) {
621        if (typeof a === "object") {
622          var b = [], c = 0;
623          for (b[c++] in a)
624            ;
625          return b;
626        }
627      }, I = function(a, b) {
628        a.classList ? a.classList.add(b) : Ua(a, b) || (a.className += " " + b);
629      }, La = function(a, b) {
630        a.classList ? a.classList.remove(b) : a.className = a.className.replace(new RegExp("(\\s|^)" + b + "(\\s|$)"), " ");
631      }, Ua = function(a, b) {
632        return a.classList ? a.classList.contains(b) : !!a.className.match(new RegExp("(\\s|^)" + b + "(\\s|$)"));
633      };
634      return k;
635    };
636    typeof window.initCookieConsent !== "function" && (window.initCookieConsent = db);
637  })();
638
639  
vendor: 1,255 bytes, lines 639-669
639// node_modules/nanoid/index.prod.js
640  if (false) {
641    if (typeof navigator !== "undefined" && navigator.product === "ReactNative" && typeof crypto === "undefined") {
642      throw new Error("React Native does not have a built-in secure random generator. If you don\u2019t need unpredictable IDs use `nanoid/non-secure`. For secure IDs, import `react-native-get-random-values` before Nano ID.");
643    }
644    if (typeof msCrypto !== "undefined" && typeof crypto === "undefined") {
645      throw new Error("Import file with `if (!window.crypto) window.crypto = window.msCrypto` before importing Nano ID to fix IE 11 support");
646    }
647    if (typeof crypto === "undefined") {
648      throw new Error("Your browser does not have secure random generator. If you don\u2019t need unpredictable IDs, you can use nanoid/non-secure.");
649    }
650  }
651  var nanoid = (size = 21) => {
652    let id = "";
653    let bytes = crypto.getRandomValues(new Uint8Array(size));
654    while (size--) {
655      let byte = bytes[size] & 63;
656      if (byte < 36) {
657        id += byte.toString(36);
658      } else if (byte < 62) {
659        id += (byte - 26).toString(36).toUpperCase();
660      } else if (byte < 63) {
661        id += "_";
662      } else {
663        id += "-";
664      }
665    }
666    return id;
667  };
668
669  
669// src/utils.ts
670  var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => {
671    if (i === 0) {
672      return `${accumulator}${string}`;
673    }
674    if (i === strings.length - 1) {
675      return `${accumulator} ${and}\xA0${string}`;
676    }
677    return `${accumulator}, ${string}`;
678  });
679  var pluralize = (count, singular, plural) => count === 1 ? singular : plural;
680
681  
681// src/types/CookieConsentCategory.ts
682  var CookieConsentCategory = /* @__PURE__ */ ((CookieConsentCategory2) => {
683    CookieConsentCategory2["NECESSARY"] = "necessary";
684    CookieConsentCategory2["AD"] = "ad";
685    CookieConsentCategory2["ANALYTICS"] = "analytics";
686    CookieConsentCategory2["FUNCTIONALITY"] = "functionality";
687    CookieConsentCategory2["PERSONALIZATION"] = "personalization";
688    return CookieConsentCategory2;
689  })(CookieConsentCategory || {}
vendor: 2,795 bytes, lines 689-745
689);
690
691  // src/types/vanilla-cookieconsent.ts
692  var VanillaCookieConsent;
693  ((VanillaCookieConsent2) => {
694    let AcceptType;
695    ((AcceptType2) => {
696      AcceptType2["ALL"] = "all";
697      AcceptType2["NECESSARY"] = "necessary";
698      AcceptType2["CUSTOM"] = "custom";
699    })(AcceptType = VanillaCookieConsent2.AcceptType || (VanillaCookieConsent2.AcceptType = {}));
700    let PrimaryButtonRole;
701    ((PrimaryButtonRole2) => {
702      PrimaryButtonRole2["ACCEPT_ALL"] = "accept_all";
703      PrimaryButtonRole2["ACCEPT_SELECTED"] = "accept_selected";
704    })(PrimaryButtonRole = VanillaCookieConsent2.PrimaryButtonRole || (VanillaCookieConsent2.PrimaryButtonRole = {}));
705    let SecondaryButtonRole;
706    ((SecondaryButtonRole2) => {
707      SecondaryButtonRole2["ACCEPT_NECESSARY"] = "accept_necessary";
708      SecondaryButtonRole2["SETTINGS"] = "settings";
709    })(SecondaryButtonRole = VanillaCookieConsent2.SecondaryButtonRole || (VanillaCookieConsent2.SecondaryButtonRole = {}));
710    let GuiConsentLayout;
711    ((GuiConsentLayout2) => {
712      GuiConsentLayout2["BAR"] = "bar";
713      GuiConsentLayout2["BOX"] = "box";
714      GuiConsentLayout2["CLOUD"] = "cloud";
715    })(GuiConsentLayout = VanillaCookieConsent2.GuiConsentLayout || (VanillaCookieConsent2.GuiConsentLayout = {}));
716    let GuiConsentPosition;
717    ((GuiConsentPosition2) => {
718      GuiConsentPosition2["BOTTOM_LEFT"] = "bottom left";
719      GuiConsentPosition2["BOTTOM_RIGHT"] = "bottom right";
720      GuiConsentPosition2["BOTTOM_CENTER"] = "bottom center";
721      GuiConsentPosition2["MIDDLE_LEFT"] = "middle left";
722      GuiConsentPosition2["MIDDLE_RIGHT"] = "middle right";
723      GuiConsentPosition2["MIDDLE_CENTER"] = "middle center";
724      GuiConsentPosition2["TOP_LEFT"] = "top left";
725      GuiConsentPosition2["TOP_RIGHT"] = "top right";
726      GuiConsentPosition2["TOP_CENTER"] = "top center";
727    })(GuiConsentPosition = VanillaCookieConsent2.GuiConsentPosition || (VanillaCookieConsent2.GuiConsentPosition = {}));
728    let GuiSettingsLayout;
729    ((GuiSettingsLayout2) => {
730      GuiSettingsLayout2["BAR"] = "bar";
731      GuiSettingsLayout2["BOX"] = "box";
732    })(GuiSettingsLayout = VanillaCookieConsent2.GuiSettingsLayout || (VanillaCookieConsent2.GuiSettingsLayout = {}));
733    let GuiSettingsPosition;
734    ((GuiSettingsPosition2) => {
735      GuiSettingsPosition2["LEFT"] = "left";
736      GuiSettingsPosition2["RIGHT"] = "right";
737    })(GuiSettingsPosition = VanillaCookieConsent2.GuiSettingsPosition || (VanillaCookieConsent2.GuiSettingsPosition = {}));
738    let Transition;
739    ((Transition2) => {
740      Transition2["SLIDE"] = "slide";
741      Transition2["ZOOM"] = "zoom";
742    })(Transition = VanillaCookieConsent2.Transition || (VanillaCookieConsent2.Transition = {}));
743  })(VanillaCookieConsent || (VanillaCookieConsent = {}));
744
745  // src/
745languages/cs.ts
746  var extra = {
747    and: "a",
748    company: "spole\u010Dnosti",
749    companies: "spole\u010Dnostem"
750  };
751  var config = (extraMessages) => {
752    const lang = __spreadValues(__spreadValues({}, extra), extraMessages);
753    return {
754      consent_modal: {
755        title: "D\xEDky Cookies budou na\u0161e str\xE1nky je\u0161t\u011B lep\u0161\xED",
756        description: `Kdy\u017E l\xE9pe pochop\xEDme, co v\xE1s zaj\xEDm\xE1, budeme v\xE1m zobrazovat p\u0159esn\u011Bj\u0161\xED obsah na\xA0m\xEDru.
757      Kliknut\xEDm na\xA0tla\u010D\xEDtko \u201EP\u0159ijmout v\u0161echny\u201C d\xE1te ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} souhlas s\xA0vyu\u017E\xEDv\xE1n\xEDm soubor\u016F Cookies na\xA0\xFA\u010Dely personalizace, anal\xFDzy a\xA0c\xEDlen\xE9ho marketingu.
758      <a href="/cs/cookies" target="_blank">Co\xA0jsou\xA0to\xA0Cookies a\xA0jak je\xA0pou\u017E\xEDv\xE1me?</a>`,
759        primary_btn: {
760          text: "P\u0159ijmout v\u0161echny",
761          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
762        },
763        secondary_btn: {
764          text: "P\u0159ijmout nezbytn\xE9",
765          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
766        }
767      },
768      settings_modal: {
769        blocks: [
770          {
771            toggle: {
772              value: CookieConsentCategory.NECESSARY,
773              enabled: true,
774              readonly: true
775            }
776          },
777          {
778            toggle: {
779              value: CookieConsentCategory.AD,
780              enabled: false,
781              readonly: false
782            }
783          },
784          {
785            toggle: {
786              value: CookieConsentCategory.ANALYTICS,
787              enabled: false,
788              readonly: false
789            }
790          },
791          {
792            toggle: {
793              value: CookieConsentCategory.FUNCTIONALITY,
794              enabled: false,
795              readonly: false
796            }
797          },
798          {
799            toggle: {
800              value: CookieConsentCategory.PERSONALIZATION,
801              enabled: false,
802              readonly: false
803            }
804          }
805        ]
806      }
807    };
808  };
809
810  
810// src/languages/de.ts
811  var extra2 = {
812    and: "und"
813  };
814  var config2 = (extraMessages) => {
815    const lang = __spreadValues(__spreadValues({}, extra2), extraMessages);
816    return {
817      consent_modal: {
818        title: "Diese Website verwendet Cookies",
819        description: `Indem Sie auf \u201EAlles\xA0akzeptieren\u201C klicken, stimmen Sie der Verwendung von Cookies und anderen Identifikatoren auf Ihrem Ger\xE4t durch ${addSeparators(lang.companyNames, extra2.and)} zu. Die Verwendung dieser Cookies und anderer Identifikatoren erleichtert die Navigation auf der Website, die Anzeige personalisierter Inhalte, gezieltes Marketing und die Analyse der Nutzung unserer Produkte und Dienstleistungen.
820      Weitere Informationen finden Sie unter <a href="/en/cookies" target="_blank">Verwendung von\xA0Cookies</a>.`,
821        primary_btn: {
822          text: "Alles akzeptieren",
823          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
824        },
825        secondary_btn: {
826          text: "Das Notwendigste akzeptieren",
827          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
828        }
829      },
830      settings_modal: {
831        blocks: [
832          {
833            toggle: {
834              value: CookieConsentCategory.NECESSARY,
835              enabled: true,
836              readonly: true
837            }
838          },
839          {
840            toggle: {
841              value: CookieConsentCategory.AD,
842              enabled: false,
843              readonly: false
844            }
845          },
846          {
847            toggle: {
848              value: CookieConsentCategory.ANALYTICS,
849              enabled: false,
850              readonly: false
851            }
852          },
853          {
854            toggle: {
855              value: CookieConsentCategory.FUNCTIONALITY,
856              enabled: false,
857              readonly: false
858            }
859          },
860          {
861            toggle: {
862              value: CookieConsentCategory.PERSONALIZATION,
863              enabled: false,
864              readonly: false
865            }
866          }
867        ]
868      }
869    };
870  };
871
872  
872// src/languages/en.ts
873  var extra3 = {
874    and: "and"
875  };
876  var config3 = (extraMessages) => {
877    const lang = __spreadValues(__spreadValues({}, extra3), extraMessages);
878    return {
879      consent_modal: {
880        title: "Cookies make our site even better",
881        description: `By better understanding what you're interested\xA0in, we'll show you more relevant content.
882      By clicking the "Accept all" button, you give ${addSeparators(lang.companyNames, extra3.and)} your consent to\xA0use cookies for\xA0personalisation, analytics and\xA0targeted marketing.
883      <a href="/en/cookies" target="_blank">What\xA0are\xA0cookies and\xA0how do we use\xA0them?</a>`,
884        primary_btn: {
885          text: "Accept all",
886          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
887        },
888        secondary_btn: {
889          text: "Accept necessary",
890          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
891        }
892      },
893      settings_modal: {
894        blocks: [
895          {
896            toggle: {
897              value: CookieConsentCategory.NECESSARY,
898              enabled: true,
899              readonly: true
900            }
901          },
902          {
903            toggle: {
904              value: CookieConsentCategory.AD,
905              enabled: false,
906              readonly: false
907            }
908          },
909          {
910            toggle: {
911              value: CookieConsentCategory.ANALYTICS,
912              enabled: false,
913              readonly: false
914            }
915          },
916          {
917            toggle: {
918              value: CookieConsentCategory.FUNCTIONALITY,
919              enabled: false,
920              readonly: false
921            }
922          },
923          {
924            toggle: {
925              value: CookieConsentCategory.PERSONALIZATION,
926              enabled: false,
927              readonly: false
928            }
929          }
930        ]
931      }
932    };
933  };
934
935  
935// src/languages/hu.ts
936  var extra4 = {
937    and: "\xE9s"
938  };
939  var config4 = (extraMessages) => {
940    const lang = __spreadValues(__spreadValues({}, extra4), extraMessages);
941    return {
942      consent_modal: {
943        title: "Az oldalak s\xFCti f\xE1jlokat haszn\xE1lnak",
944        description: `A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az ${addSeparators(lang.companyNames, extra4.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t.
945      B\u0151vebb inform\xE1ci\xF3kat a <a href="/en/cookies" target="_blank">S\xFCtihaszn\xE1lat</a> oldalon tal\xE1l.`,
946        primary_btn: {
947          text: "Minden elfogad\xE1sa",
948          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
949        },
950        secondary_btn: {
951          text: "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa",
952          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
953        }
954      },
955      settings_modal: {
956        blocks: [
957          {
958            toggle: {
959              value: CookieConsentCategory.NECESSARY,
960              enabled: true,
961              readonly: true
962            }
963          },
964          {
965            toggle: {
966              value: CookieConsentCategory.AD,
967              enabled: false,
968              readonly: false
969            }
970          },
971          {
972            toggle: {
973              value: CookieConsentCategory.ANALYTICS,
974              enabled: false,
975              readonly: false
976            }
977          },
978          {
979            toggle: {
980              value: CookieConsentCategory.FUNCTIONALITY,
981              enabled: false,
982              readonly: false
983            }
984          },
985          {
986            toggle: {
987              value: CookieConsentCategory.PERSONALIZATION,
988              enabled: false,
989              readonly: false
990            }
991          }
992        ]
993      }
994    };
995  };
996
997  
997// src/languages/pl.ts
998  var extra5 = {
999    and: "i",
1000    company: "firm\u0119",
1001    companies: "firmy"
1002  };
1003  var config5 = (extraMessages) => {
1004    const lang = __spreadValues(__spreadValues({}, extra5), extraMessages);
1005    return {
1006      consent_modal: {
1007        title: "Dzi\u0119ki plikom Cookies nasza strona b\u0119dzie jeszcze lepsza",
1008        description: `Gdy lepiej zrozumiemy, co\xA0Ci\u0119 interesuje, poka\u017Cemy dok\u0142adniejsze tre\u015Bci dopasowane do\xA0Twoich preferencji.
1009      Kliknij w\xA0przycisk \u201EAkceptuj wszystkie\u201D, aby wyrazi\u0107 zgod\u0119 na\xA0wykorzystanie plik\xF3w cookie przez
1010      ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, extra5.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu.
1011      <a href="/en/cookies" target="_blank">Co\xA0to\xA0s\u0105\xA0pliki cookie i\xA0jak je\xA0wykorzystujemy?</a>`,
1012        primary_btn: {
1013          text: "Akceptuj wszystkie",
1014          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
1015        },
1016        secondary_btn: {
1017          text: "Akceptuj niezb\u0119dne",
1018          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
1019        }
1020      },
1021      settings_modal: {
1022        blocks: [
1023          {
1024            toggle: {
1025              value: CookieConsentCategory.NECESSARY,
1026              enabled: true,
1027              readonly: true
1028            }
1029          },
1030          {
1031            toggle: {
1032              value: CookieConsentCategory.AD,
1033              enabled: false,
1034              readonly: false
1035            }
1036          },
1037          {
1038            toggle: {
1039              value: CookieConsentCategory.ANALYTICS,
1040              enabled: false,
1041              readonly: false
1042            }
1043          },
1044          {
1045            toggle: {
1046              value: CookieConsentCategory.FUNCTIONALITY,
1047              enabled: false,
1048              readonly: false
1049            }
1050          },
1051          {
1052            toggle: {
1053              value: CookieConsentCategory.PERSONALIZATION,
1054              enabled: false,
1055              readonly: false
1056            }
1057          }
1058        ]
1059      }
1060    };
1061  };
1062
1063  
1063// src/languages/ru.ts
1064  var extra6 = {
1065    and: "\u0438",
1066    company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C",
1067    companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C"
1068  };
1069  var config6 = (extraMessages) => {
1070    const lang = __spreadValues(__spreadValues({}, extra6), extraMessages);
1071    return {
1072      consent_modal: {
1073        title: "\u042D\u0442\u043E\u0442 \u0441\u0430\u0439\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B cookie",
1074        description: `\u041D\u0430\u0436\u0430\u0432 \xAB\u041F\u0440\u0438\u043D\u044F\u0442\u044C\xA0\u0432\u0441\u0435\xBB, \u0412\u044B \u0434\u0430\u0435\u0442\u0435 \u0441\u0432\u043E\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0412\u0430\u0448\u0435\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043E\u0431\u043B\u0435\u0433\u0447\u0438\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430, \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0438\u0437 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u043E\u0432 \u0438\xA0\u0443\u0441\u043B\u0443\u0433.
1075      \u0414\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u0441\u043C. \u0440\u0430\u0437\u0434\u0435\u043B <a href="/en/cookies" target="_blank">\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie</a>.`,
1076        primary_btn: {
1077          text: "\u041F\u0440\u0438\u043D\u044F\u0442\u044C\xA0\u0432\u0441\u0435",
1078          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
1079        },
1080        secondary_btn: {
1081          text: "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E",
1082          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
1083        }
1084      },
1085      settings_modal: {
1086        blocks: [
1087          {
1088            toggle: {
1089              value: CookieConsentCategory.NECESSARY,
1090              enabled: true,
1091              readonly: true
1092            }
1093          },
1094          {
1095            toggle: {
1096              value: CookieConsentCategory.AD,
1097              enabled: false,
1098              readonly: false
1099            }
1100          },
1101          {
1102            toggle: {
1103              value: CookieConsentCategory.ANALYTICS,
1104              enabled: false,
1105              readonly: false
1106            }
1107          },
1108          {
1109            toggle: {
1110              value: CookieConsentCategory.FUNCTIONALITY,
1111              enabled: false,
1112              readonly: false
1113            }
1114          },
1115          {
1116            toggle: {
1117              value: CookieConsentCategory.PERSONALIZATION,
1118              enabled: false,
1119              readonly: false
1120            }
1121          }
1122        ]
1123      }
1124    };
1125  };
1126
1127  
1127// src/languages/sk.ts
1128  var extra7 = {
1129    and: "a",
1130    company: "spolo\u010Dnosti",
1131    companies: "spolo\u010Dnostiam"
1132  };
1133  var config7 = (extraMessages) => {
1134    const lang = __spreadValues(__spreadValues({}, extra7), extraMessages);
1135    return {
1136      consent_modal: {
1137        title: "V\u010Faka Cookies bud\xFA na\u0161e str\xE1nky e\u0161te lep\u0161ie",
1138        description: `Presnej\u0161\xED obsah\xA0na\xA0mieru v\xE1m budeme zobrazova\u0165, ke\u010F\xA0lep\u0161ie pochop\xEDme, \u010Do\xA0v\xE1s\xA0zauj\xEDma.
1139      Kliknut\xEDm na\xA0tla\u010Didlo \u201EPrija\u0165 v\u0161etky\u201C, \u010D\xEDm d\xE1te ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} s\xFAhlas s\xA0vyu\u017E\xEDvan\xEDm s\xFAborov Cookies za\xA0\xFA\u010Delom personaliz\xE1cie, anal\xFDzy a\xA0cielen\xE9ho marketingu.
1140      <a href="/en/cookies" target="_blank">\u010Co\xA0s\xFA\xA0to\xA0Cookies a\xA0ako\xA0ich\xA0pou\u017E\xEDvame?</a>`,
1141        primary_btn: {
1142          text: "Prija\u0165 v\u0161etky",
1143          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
1144        },
1145        secondary_btn: {
1146          text: "Prija\u0165 nevyhnutn\xE9",
1147          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
1148        }
1149      },
1150      settings_modal: {
1151        blocks: [
1152          {
1153            toggle: {
1154              value: CookieConsentCategory.NECESSARY,
1155              enabled: true,
1156              readonly: true
1157            }
1158          },
1159          {
1160            toggle: {
1161              value: CookieConsentCategory.AD,
1162              enabled: false,
1163              readonly: false
1164            }
1165          },
1166          {
1167            toggle: {
1168              value: CookieConsentCategory.ANALYTICS,
1169              enabled: false,
1170              readonly: false
1171            }
1172          },
1173          {
1174            toggle: {
1175              value: CookieConsentCategory.FUNCTIONALITY,
1176              enabled: false,
1177              readonly: false
1178            }
1179          },
1180          {
1181            toggle: {
1182              value: CookieConsentCategory.PERSONALIZATION,
1183              enabled: false,
1184              readonly: false
1185            }
1186          }
1187        ]
1188      }
1189    };
1190  };
1191
1192  
1192// src/languages/uk.ts
1193  var extra8 = {
1194    and: "i",
1195    company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C",
1196    companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C"
1197  };
1198  var config8 = (extraMessages) => {
1199    const lang = __spreadValues(__spreadValues({}, extra8), extraMessages);
1200    return {
1201      consent_modal: {
1202        title: "\u0426\u0435\u0439 \u0441\u0430\u0439\u0442 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0444\u0430\u0439\u043B\u0438 cookie",
1203        description: `\u041D\u0430\u0442\u0438\u0441\u043D\u0443\u0432\u0448\u0438 \xAB\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438\xA0\u0432\u0441\u0435\xBB, \u0412\u0438 \u0434\u0430\u0454\u0442\u0435 \u0441\u0432\u043E\u044E \u0437\u0433\u043E\u0434\u0443 ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043D\u0430 \u0412\u0430\u0448\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0446\u0438\u0445 \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043F\u043E\u043B\u0435\u0433\u0448\u0438\u0442\u044C \u043D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443, \u0446\u0456\u043B\u044C\u043E\u0432\u0438\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0456\u0437 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0456\u0432 \u0456\xA0\u043F\u043E\u0441\u043B\u0443\u0433.
1204      \u0414\u043B\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457 \u0434\u0438\u0432. \u0440\u043E\u0437\u0434\u0456\u043B <a href="/en/cookies" target="_blank">\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 cookie</a>.`,
1205        primary_btn: {
1206          text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438\xA0\u0432\u0441\u0435",
1207          role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL
1208        },
1209        secondary_btn: {
1210          text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E",
1211          role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY
1212        }
1213      },
1214      settings_modal: {
1215        blocks: [
1216          {
1217            toggle: {
1218              value: CookieConsentCategory.NECESSARY,
1219              enabled: true,
1220              readonly: true
1221            }
1222          },
1223          {
1224            toggle: {
1225              value: CookieConsentCategory.AD,
1226              enabled: false,
1227              readonly: false
1228            }
1229          },
1230          {
1231            toggle: {
1232              value: CookieConsentCategory.ANALYTICS,
1233              enabled: false,
1234              readonly: false
1235            }
1236          },
1237          {
1238            toggle: {
1239              value: CookieConsentCategory.FUNCTIONALITY,
1240              enabled: false,
1241              readonly: false
1242            }
1243          },
1244          {
1245            toggle: {
1246              value: CookieConsentCategory.PERSONALIZATION,
1247              enabled: false,
1248              readonly: false
1249            }
1250          }
1251        ]
1252      }
1253    };
1254  };
1255
1256  
1256// src/consentCollector.ts
1257  function submitConsent(consentCollectorApiUrl, cookieConsent) {
1258    const payload = buildPayload(cookieConsent);
1259    postDataToApi(consentCollectorApiUrl, payload);
1260  }
1261  function buildPayload(cookieConsent) {
1262    const cookieData = cookieConsent.get("data");
1263    const userPreferences = cookieConsent.getUserPreferences();
1264    return {
1265      data: {
1266        type: "localDataAcceptationDataEntries",
1267        attributes: {
1268          acceptation_id: cookieData.uid,
1269          accept_type: `accept_${userPreferences.accept_type}`,
1270          accepted_categories: userPreferences.accepted_categories,
1271          rejected_categories: userPreferences.rejected_categories,
1272          revision: cookieConsent.get("revision"),
1273          source: cookieData.serviceName,
1274          language: cookieConsent.getConfig("current_lang"),
1275          days_of_acceptation: cookieConsent.getConfig("cookie_expiration")
1276        }
1277      }
1278    };
1279  }
1280  async function postDataToApi(apiUrl, payload) {
1281    const response = await fetch(apiUrl, {
1282      method: "POST",
1283      headers: {
1284        "Content-Type": "application/vnd.api+json",
1285        Accept: "application/vnd.api+json"
1286      },
1287      body: JSON.stringify(payload)
1288    });
1289    return response.json();
1290  }
1291  var consentCollector_default = submitConsent;
1292
1293  
1293// src/LmcCookieConsentManager.ts
1294  var noopAcceptCallback = (cookie, cookieConsent) => {
1295  };
1296  var defaultOptions = {
1297    defaultLang: "cs",
1298    autodetectLang: true,
1299    consentCollectorApiUrl: "https://ccm.lmc.cz/local-data-acceptation-data-entries",
1300    onFirstAccept: noopAcceptCallback,
1301    onFirstAcceptOnlyNecessary: noopAcceptCallback,
1302    onFirstAcceptAll: noopAcceptCallback,
1303    onAccept: noopAcceptCallback,
1304    onAcceptOnlyNecessary: noopAcceptCallback,
1305    onAcceptAll: noopAcceptCallback,
1306    companyNames: ["LMC"],
1307    config: {}
1308  };
1309  var LmcCookieConsentManager = (serviceName, args) => {
1310    if (!serviceName || serviceName === "" || typeof serviceName !== "string") {
1311      throw new Error("serviceName is a required parameter and must be a string");
1312    }
1313    const options = __spreadValues(__spreadValues({}, defaultOptions), args);
1314    const {
1315      defaultLang,
1316      autodetectLang,
1317      consentCollectorApiUrl,
1318      onFirstAccept,
1319      onFirstAcceptOnlyNecessary,
1320      onFirstAcceptAll,
1321      onAccept,
1322      onAcceptOnlyNecessary,
1323      onAcceptAll,
1324      companyNames,
1325      config: config9
1326    } = options;
1327    const cookieName = "lmc_ccm";
1328    const cookieConsent = window.initCookieConsent();
1329    const languages = {
1330      cs: config({ companyNames }),
1331      de: config2({ companyNames }),
1332      en: config3({ companyNames }),
1333      hu: config4({ companyNames }),
1334      pl: config5({ companyNames }),
1335      ru: config6({ companyNames }),
1336      sk: config7({ companyNames }),
1337      uk: config8({ companyNames })
1338    };
1339    const cookieConsentConfig = __spreadValues({
1340      auto_language: autodetectLang ? "document" : null,
1341      autorun: true,
1342      cookie_expiration: 365,
1343      cookie_name: cookieName,
1344      current_lang: defaultLang,
1345      delay: 0,
1346      force_consent: false,
1347      hide_from_bots: true,
1348      page_scripts: true,
1349      use_rfc_cookie: true,
1350      gui_options: {
1351        consent_modal: {
1352          layout: VanillaCookieConsent.GuiConsentLayout.BAR,
1353          position: VanillaCookieConsent.GuiConsentPosition.BOTTOM_CENTER,
1354          transition: VanillaCookieConsent.Transition.SLIDE,
1355          swap_buttons: true
1356        }
1357      },
1358      onAccept: (cookie) => {
1359        const userPreferences = cookieConsent.getUserPreferences();
1360        onAccept(cookie, cookieConsent);
1361        userPreferences.accept_type == VanillaCookieConsent.AcceptType.NECESSARY ? onAcceptOnlyNecessary(cookie, cookieConsent) : onAcceptAll(cookie, cookieConsent);
1362      },
1363      onFirstAction: (userPreferences, cookie) => {
1364        const cookieData = cookieConsent.get("data");
1365        if (cookieData === null || !("uid" in cookieData)) {
1366          cookieConsent.set("data", {
1367            value: { serviceName, uid: nanoid() },
1368            mode: "update"
1369          });
1370        }
1371        pushToDataLayer(cookie);
1372        if (consentCollectorApiUrl !== null) {
1373          consentCollector_default(consentCollectorApiUrl, cookieConsent);
1374        }
1375        onFirstAccept(cookie, cookieConsent);
1376        userPreferences.accept_type == VanillaCookieConsent.AcceptType.NECESSARY ? onFirstAcceptOnlyNecessary(cookie, cookieConsent) : onFirstAcceptAll(cookie, cookieConsent);
1377      },
1378      languages
1379    }, config9
vendor: 1,016 bytes, lines 1379-1404
1379);
1380    cookieConsent.run(cookieConsentConfig);
1381    return cookieConsent;
1382  };
1383  function pushToDataLayer(cookie) {
1384    window.dataLayer = window.dataLayer || [];
1385    window.dataLayer.push({
1386      event: "CookieConsent-update",
1387      "CookieConsent.necessary": cookie.level.includes(CookieConsentCategory.NECESSARY),
1388      "CookieConsent.analytics": cookie.level.includes(CookieConsentCategory.ANALYTICS),
1389      "CookieConsent.ad": cookie.level.includes(CookieConsentCategory.AD),
1390      "CookieConsent.functionality": cookie.level.includes(CookieConsentCategory.FUNCTIONALITY),
1391      "CookieConsent.personalization": cookie.level.includes(CookieConsentCategory.PERSONALIZATION),
1392      "CookieConsent.revision": cookie.revision
1393    });
1394  }
1395  var LmcCookieConsentManager_default = LmcCookieConsentManager;
1396
1397  // src/init.ts
1398  (function initialize() {
1399    const init = "initLmcCookieConsentManager";
1400    if (typeof window[init] !== "function") {
1401      window[init] = LmcCookieConsentManager_default;
1402    }
1403  })();
1404})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.