1var Vt = Object.defineProperty; 2var nt = (o) => { 3 throw TypeError(o); 4}; 5var Zt = (o, n, t) => n in o ? Vt(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t; 6var rt = (o, n, t) => Zt(o, typeof n != "symbol" ? n + "" : n, t), Be = (o, n, t) => n.has(o) || nt("Cannot " + t); 7var z = (o, n, t) => (Be(o, n, "read from private field"), t ? t.call(o) : n.get(o)), Me = (o, n, t) => n.has(o) ? nt("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(o) : n.set(o, t), je = (o, n, t, e) => (Be(o, n, "write to private field"), e ? e.call(o, t) : n.set(o, t), t), Ye = (o, n, t) => (Be(o, n, "access private method"), t); 8/*! 9* CookieConsent 3.1.0 10* https://github.com/orestbida/cookieconsent 11* Author Orest Bida 12* Released under the MIT License 13*/ 14const mt = "opt-in", Ce = "opt-out", ht = "show--consent", gt = "show--preferences", st = "disable--interaction", De = "data-category"; 15const $ = "button", J = "aria-hidden", Se = "btn-group", N = "click", ye = "data-role", ze = "consentModal", Ue = "preferencesModal"; 16class qt { 17 constructor() { 18 this.t = { mode: mt, revision: 0, autoShow: !0, lazyHtmlGeneration: !0, autoClearCookies: !0, manageScriptTags: !0, hideFromBots: !0, cookie: { name: "cc_cookie", expiresAfterDays: 182, domain: "", path: "/", secure: !0, sameSite: "Lax" } }, this.o = { i: {}, l: "", _: {}, u: {}, p: {}, m: [], v: !1, h: null, C: null, S: null, M: "", D: !0, T: !1, k: !1, A: !1, N: !1, H: [], V: !1, I: !0, L: [], j: !1, F: "", P: !1, O: [], R: [], B: [], $: [], G: !1, J: !1, U: !1, q: [], K: [], W: [], X: {}, Y: {}, Z: {}, ee: {}, te: {}, oe: [] }, this.ne = { ae: {}, se: {} }, this.ce = {}, this.re = { ie: "cc:onFirstConsent", le: "cc:onConsent", de: "cc:onChange", fe: "cc:onModalShow", _e: "cc:onModalHide", ue: "cc:onModalReady" }; 19 } 20} 21const r = new qt(), yt = (o, n) => o.indexOf(n), k = (o, n) => yt(o, n) !== -1, Re = (o) => Array.isArray(o), be = (o) => typeof o == "string", He = (o) => !!o && typeof o == "object" && !Re(o), W = (o) => typeof o == "function", ce = (o) => Object.keys(o), bt = (o) => Array.from(new Set(o)), Oe = () => document.activeElement, ge = (o) => o.preventDefault(), We = (o, n) => o.querySelectorAll(n), p = (o) => { 22 const n = document.createElement(o); 23 return o === $ && (n.type = o), n; 24}, v = (o, n, t) => o.setAttribute(n, t), Ge = (o, n, t) => { 25 o.removeAttribute(t ? "data-" + n : n); 26}, Ie = (o, n, t) => o.getAttribute(t ? "data-" + n : n), f = (o, n) => o.appendChild(n), M = (o, n) => o.classList.add(n), P = (o, n) => M(o, "cm__" + n), T = (o, n) => M(o, "pm__" + n), ie = (o, n) => o.classList.remove(n), te = (o) => { 27 if (typeof o != "object") return o; 28 if (o instanceof Date) return new Date(o.getTime()); 29 let n = Array.isArray(o) ? [] : {}; 30 for (let t in o) { 31 let e = o[t]; 32 n[t] = te(e); 33 } 34 return n; 35}, Ft = () => { 36 const o = {}, { O: n, X: t, Y: e } = r.o; 37 for (const c of n) o[c] = xe(e[c], ce(t[c])); 38 return o; 39}, at = (o, n) => dispatchEvent(new CustomEvent(o, { detail: n })), E = (o, n, t, e) => { 40 o.addEventListener(n, t), e && r.o.m.push({ pe: o, ge: n, me: t }); 41}, ct = () => { 42 const o = r.t.cookie.expiresAfterDays; 43 return W(o) ? o(r.o.F) : o; 44}, xe = (o, n) => { 45 const t = o || [], e = n || []; 46 return t.filter(((c) => !k(e, c))).concat(e.filter(((c) => !k(t, c)))); 47}, vt = (o) => { 48 r.o.R = bt(o), r.o.F = (() => { 49 let n = "custom"; 50 const { R: t, O: e, B: c } = r.o, i = t.length; 51 return i === e.length ? n = "all" : i === c.length && (n = "necessary"), n; 52 })(); 53}, wt = (o, n, t, e) => { 54 const c = "accept-", { show: i, showPreferences: h, hide: s, hidePreferences: a, acceptCategory: d } = n, b = o || document, l = (y) => We(b, `[data-cc="${y}"]`), m = (y, w) => { 55 ge(y), d(w), a(), s(); 56 }, g = l("show-preferencesModal"), u = l("show-consentModal"), C = l(c + "all"), S = l(c + "necessary"), _ = l(c + "custom"), L = r.t.lazyHtmlGeneration; 57 for (const y of g) v(y, "aria-haspopup", "dialog"), E(y, N, ((w) => { 58 ge(w), h(); 59 })), L && (E(y, "mouseenter", ((w) => { 60 ge(w), r.o.N || t(n, e); 61 }), !0), E(y, "focus", (() => { 62 r.o.N || t(n, e); 63 }))); 64 for (let y of u) v(y, "aria-haspopup", "dialog"), E(y, N, ((w) => { 65 ge(w), i(!0); 66 }), !0); 67 for (let y of C) E(y, N, ((w) => { 68 m(w, "all"); 69 }), !0); 70 for (let y of _) E(y, N, ((w) => { 71 m(w); 72 }), !0); 73 for (let y of S) E(y, N, ((w) => { 74 m(w, []); 75 }), !0); 76}, K = (o, n) => {
vendor: 15,393 bytes, lines 77-358
77 o && (n && (o.tabIndex = -1), o.focus(), n && o.removeAttribute("tabindex")); 78}, Ct = (o, n) => { 79 const t = (e) => { 80 e.target.removeEventListener("transitionend", t), e.propertyName === "opacity" && getComputedStyle(o).opacity === "1" && K(((c) => c === 1 ? r.ne.be : r.ne.ve)(n)); 81 }; 82 E(o, "transitionend", t); 83}; 84let it; 85const St = (o) => { 86 clearTimeout(it), o ? M(r.ne.ye, st) : it = setTimeout((() => { 87 ie(r.ne.ye, st); 88 }), 500); 89}, Xt = ["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5", "M 3.572 13.406 L 8.281 18.115 L 20.428 5.885", "M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "], Te = (o = 0, n = 1.5) => `<svg viewBox="0 0 24 24" stroke-width="${n}"><path d="${Xt[o]}"/></svg>`, _t = (o) => { 90 const n = r.ne, t = r.o; 91 ((e) => { 92 const c = e === n.he, i = t.i.disablePageInteraction ? n.ye : c ? n.Ce : n.ye; 93 E(i, "keydown", ((h) => { 94 if (h.key !== "Tab" || !(c ? t.k && !t.A : t.A)) return; 95 const s = Oe(), a = c ? t.q : t.K; 96 a.length !== 0 && (h.shiftKey ? s !== a[0] && e.contains(s) || (ge(h), K(a[1])) : s !== a[1] && e.contains(s) || (ge(h), K(a[0]))); 97 }), !0); 98 })(o); 99}, $t = ["[href]", $, "input", "details", "[tabindex]"].map(((o) => o + ':not([tabindex="-1"])')).join(","), Tt = (o) => { 100 const { o: n, ne: t } = r, e = (c, i) => { 101 const h = We(c, $t); 102 i[0] = h[0], i[1] = h[h.length - 1]; 103 }; 104 o === 1 && n.T && e(t.he, n.q), o === 2 && n.N && e(t.we, n.K); 105}, Q = (o, n, t) => { 106 const { de: e, le: c, ie: i, _e: h, ue: s, fe: a } = r.ce, d = r.re; 107 if (n) { 108 const l = { modalName: n }; 109 return o === d.fe ? W(a) && a(l) : o === d._e ? W(h) && h(l) : (l.modal = t, W(s) && s(l)), at(o, l); 110 } 111 const b = { cookie: r.o.p }; 112 o === d.ie ? W(i) && i(te(b)) : o === d.le ? W(c) && c(te(b)) : (b.changedCategories = r.o.L, b.changedServices = r.o.ee, W(e) && e(te(b))), at(o, te(b)); 113}, Ae = (o, n) => { 114 try { 115 return o(); 116 } catch (t) { 117 return !n && console.warn("CookieConsent:", t), !1; 118 } 119}, Xe = (o) => { 120 const { Y: n, ee: t, O: e, X: c, oe: i, p: h, L: s } = r.o; 121 for (const l of e) { 122 const m = t[l] || n[l] || []; 123 for (const g of m) { 124 const u = c[l][g]; 125 if (!u) continue; 126 const { onAccept: C, onReject: S } = u; 127 !u.Se && k(n[l], g) ? (u.Se = !0, W(C) && C()) : u.Se && !k(n[l], g) && (u.Se = !1, W(S) && S()); 128 } 129 } 130 if (!r.t.manageScriptTags) return; 131 const a = i, d = o || h.categories || [], b = (l, m) => { 132 if (m >= l.length) return; 133 const g = i[m]; 134 if (g.xe) return b(l, m + 1); 135 const u = g.Me, C = g.De, S = g.Te, _ = k(d, C), L = !!S && k(n[C], S); 136 if (!S && !g.ke && _ || !S && g.ke && !_ && k(s, C) || S && !g.ke && L || S && g.ke && !L && k(t[C] || [], S)) { 137 g.xe = !0; 138 const y = Ie(u, "type", !0); 139 Ge(u, "type", !!y), Ge(u, De); 140 let w = Ie(u, "src", !0); 141 w && Ge(u, "src", !0); 142 const x = p("script"); 143 x.textContent = u.innerHTML; 144 for (const { nodeName: I } of u.attributes) v(x, I, u[I] || Ie(u, I)); 145 y && (x.type = y), w ? x.src = w : w = u.src; 146 const H = !!w && (!y || ["text/javascript", "module"].includes(y)); 147 if (H && (x.onload = x.onerror = () => { 148 b(l, ++m); 149 }), u.replaceWith(x), H) return; 150 } 151 b(l, ++m); 152 }; 153 b(a, 0); 154}, Ee = "bottom", $e = "left", Lt = "center", Ke = "right", Ve = "inline", kt = "wide", Mt = "pm--", Ze = ["middle", "top", Ee], lt = [$e, Lt, Ke], Jt = { box: { Ee: [kt, Ve], Ae: Ze, Ne: lt, He: Ee, Ve: Ke }, cloud: { Ee: [Ve], Ae: Ze, Ne: lt, He: Ee, Ve: Lt }, bar: { Ee: [Ve], Ae: Ze.slice(1), Ne: [], He: Ee, Ve: "" } }, zt = { box: { Ee: [], Ae: [], Ne: [], He: "", Ve: "" }, bar: { Ee: [kt], Ae: [], Ne: [$e, Ke], He: "", Ve: $e } }, It = (o) => { 155 const n = r.o.i.guiOptions, t = n && n.consentModal, e = n && n.preferencesModal; 156 o === 0 && ut(r.ne.he, Jt, t, "cm--", "box", "cm"), o === 1 && ut(r.ne.we, zt, e, Mt, "box", "pm"); 157}, ut = (o, n, t, e, c, i) => { 158 o.className = i; 159 const h = t && t.layout, s = t && t.position, a = t && t.flipButtons, d = !t || t.equalWeightButtons !== !1, b = h && h.split(" ") || [], l = b[0], m = b[1], g = l in n ? l : c, u = n[g], C = k(u.Ee, m) && m, S = s && s.split(" ") || [], _ = S[0], L = e === Mt ? S[0] : S[1], y = k(u.Ae, _) ? _ : u.He, w = k(u.Ne, L) ? L : u.Ve, x = (I) => { 160 I && M(o, e + I); 161 }; 162 x(g), x(C), x(y), x(w), a && x("flip"); 163 const H = i + "__btn--secondary"; 164 if (i === "cm") { 165 const { Ie: I, Le: B } = r.ne; 166 I && (d ? ie(I, H) : M(I, H)), B && (d ? ie(B, H) : M(B, H)); 167 } else { 168 const { je: I } = r.ne; 169 I && (d ? ie(I, H) : M(I, H)); 170 } 171}, Le = (o, n) => { 172 const t = r.o, e = r.ne, { hide: c, hidePreferences: i, acceptCategory: h } = o, s = (w) => { 173 h(w), i(), c(); 174 }, a = t.u && t.u.preferencesModal; 175 if (!a) return; 176 const d = a.title, b = a.closeIconLabel, l = a.acceptAllBtn, m = a.acceptNecessaryBtn, g = a.savePreferencesBtn, u = a.sections || [], C = l || m || g; 177 if (e.Fe) e.Pe = p("div"), T(e.Pe, "body"); 178 else { 179 e.Fe = p("div"), M(e.Fe, "pm-wrapper"); 180 const w = p("div"); 181 M(w, "pm-overlay"), f(e.Fe, w), E(w, N, i), e.we = p("div"), M(e.we, "pm"), v(e.we, "role", "dialog"), v(e.we, J, !0), v(e.we, "aria-modal", !0), v(e.we, "aria-labelledby", "pm__title"), E(e.ye, "keydown", ((x) => { 182 x.keyCode === 27 && i(); 183 }), !0), e.Oe = p("div"), T(e.Oe, "header"), e.Re = p("h2"), T(e.Re, "title"), e.Re.id = "pm__title", e.Be = p($), T(e.Be, "close-btn"), v(e.Be, "aria-label", a.closeIconLabel || ""), E(e.Be, N, i), e.$e = p("span"), e.$e.innerHTML = Te(), f(e.Be, e.$e), e.Ge = p("div"), T(e.Ge, "body"), e.Je = p("div"), T(e.Je, "footer"); 184 var S = p("div"); 185 M(S, "btns"); 186 var _ = p("div"), L = p("div"); 187 T(_, Se), T(L, Se), f(e.Je, _), f(e.Je, L), f(e.Oe, e.Re), f(e.Oe, e.Be), e.ve = p("div"), v(e.ve, "tabIndex", -1), f(e.we, e.ve), f(e.we, e.Oe), f(e.we, e.Ge), C && f(e.we, e.Je), f(e.Fe, e.we); 188 } 189 let y; 190 d && (e.Re.innerHTML = d, b && v(e.Be, "aria-label", b)), u.forEach(((w, x) => { 191 const H = w.title, I = w.description, B = w.linkedCategory, pe = B && t.P[B], le = w.cookieTable, Z = le && le.body, oe = le && le.caption, q = Z && Z.length > 0, A = !!pe, j = A && t.X[B], ne = He(j) && ce(j) || [], O = A && (!!I || !!q || ce(j).length > 0); 192 var X = p("div"); 193 if (T(X, "section"), O || I) { 194 var F = p("div"); 195 T(F, "section-desc-wrapper"); 196 } 197 let re = ne.length; 198 if (O && re > 0) { 199 const R = p("div"); 200 T(R, "section-services"); 201 for (const V of ne) { 202 const D = j[V], Y = D && D.label || V, ue = p("div"), de = p("div"), ve = p("div"), me = p("div"); 203 T(ue, "service"), T(me, "service-title"), T(de, "service-header"), T(ve, "service-icon"); 204 const ee = dt(Y, V, pe, !0, B); 205 me.innerHTML = Y, f(de, ve), f(de, me), f(ue, de), f(ue, ee), f(R, ue); 206 } 207 f(F, R); 208 } 209 if (H) { 210 var se = p("div"), G = p(A ? $ : "div"); 211 if (T(se, "section-title-wrapper"), T(G, "section-title"), G.innerHTML = H, f(se, G), A) { 212 const R = p("span"); 213 R.innerHTML = Te(2, 3.5), T(R, "section-arrow"), f(se, R), X.className += "--toggle"; 214 const V = dt(H, B, pe); 215 let D = a.serviceCounterLabel; 216 if (re > 0 && be(D)) { 217 let Y = p("span"); 218 T(Y, "badge"), T(Y, "service-counter"), v(Y, J, !0), v(Y, "data-servicecounter", re), D && (D = D.split("|"), D = D.length > 1 && re > 1 ? D[1] : D[0], v(Y, "data-counterlabel", D)), Y.innerHTML = re + (D ? " " + D : ""), f(G, Y); 219 } 220 if (O) { 221 T(X, "section--expandable"); 222 var et = B + "-desc"; 223 v(G, "aria-expanded", !1), v(G, "aria-controls", et); 224 } 225 f(se, V); 226 } else v(G, "role", "heading"), v(G, "aria-level", "3"); 227 f(X, se); 228 } 229 if (I) { 230 var Pe = p("p"); 231 T(Pe, "section-desc"), Pe.innerHTML = I, f(F, Pe); 232 } 233 if (O && (v(F, J, "true"), F.id = et, ((R, V, D) => { 234 E(G, N, (() => { 235 V.classList.contains("is-expanded") ? (ie(V, "is-expanded"), v(D, "aria-expanded", "false"), v(R, J, "true")) : (M(V, "is-expanded"), v(D, "aria-expanded", "true"), v(R, J, "false")); 236 })); 237 })(F, X, G), q)) { 238 const R = p("table"), V = p("thead"), D = p("tbody"); 239 if (oe) { 240 const ee = p("caption"); 241 T(ee, "table-caption"), ee.innerHTML = oe, R.appendChild(ee); 242 } 243 T(R, "section-table"), T(V, "table-head"), T(D, "table-body"); 244 const Y = le.headers, ue = ce(Y), de = e.Ue.createDocumentFragment(), ve = p("tr"); 245 for (const ee of ue) { 246 const he = Y[ee], ae = p("th"); 247 ae.id = "cc__row-" + he + x, v(ae, "scope", "col"), T(ae, "table-th"), ae.innerHTML = he, f(de, ae); 248 } 249 f(ve, de), f(V, ve); 250 const me = e.Ue.createDocumentFragment(); 251 for (const ee of Z) { 252 const he = p("tr"); 253 T(he, "table-tr"); 254 for (const ae of ue) { 255 const tt = Y[ae], Gt = ee[ae], we = p("td"), ot = p("div"); 256 T(we, "table-td"), v(we, "data-column", tt), v(we, "headers", "cc__row-" + tt + x), ot.insertAdjacentHTML("beforeend", Gt), f(we, ot), f(he, we); 257 } 258 f(me, he); 259 } 260 f(D, me), f(R, V), f(R, D), f(F, R); 261 } 262 (O || I) && f(X, F); 263 const Yt = e.Pe || e.Ge; 264 A ? (y || (y = p("div"), T(y, "section-toggles")), y.appendChild(X)) : y = null, f(Yt, y || X); 265 })), l && (e.ze || (e.ze = p($), T(e.ze, "btn"), v(e.ze, ye, "all"), f(_, e.ze), E(e.ze, N, (() => s("all")))), e.ze.innerHTML = l), m && (e.je || (e.je = p($), T(e.je, "btn"), v(e.je, ye, "necessary"), f(_, e.je), E(e.je, N, (() => s([])))), e.je.innerHTML = m), g && (e.qe || (e.qe = p($), T(e.qe, "btn"), T(e.qe, "btn--secondary"), v(e.qe, ye, "save"), f(L, e.qe), E(e.qe, N, (() => s()))), e.qe.innerHTML = g), e.Pe && (e.we.replaceChild(e.Pe, e.Ge), e.Ge = e.Pe), It(1), t.N || (t.N = !0, Q(r.re.ue, Ue, e.we), n(o), f(e.Ce, e.Fe), _t(e.we), setTimeout((() => M(e.Fe, "cc--anim")), 100)), Tt(2); 266}; 267function dt(o, n, t, e, c) { 268 const i = r.o, h = r.ne, s = p("label"), a = p("input"), d = p("span"), b = p("span"), l = p("span"), m = p("span"), g = p("span"); 269 if (m.innerHTML = Te(1, 3), g.innerHTML = Te(0, 3), a.type = "checkbox", M(s, "section__toggle-wrapper"), M(a, "section__toggle"), M(m, "toggle__icon-on"), M(g, "toggle__icon-off"), M(d, "toggle__icon"), M(b, "toggle__icon-circle"), M(l, "toggle__label"), v(d, J, "true"), e ? (M(s, "toggle-service"), v(a, De, c), h.se[c][n] = a) : h.ae[n] = a, e ? ((u) => { 270 E(a, "change", (() => { 271 const C = h.se[u], S = h.ae[u]; 272 i.Z[u] = []; 273 for (let _ in C) { 274 const L = C[_]; 275 L.checked && i.Z[u].push(L.value); 276 } 277 S.checked = i.Z[u].length > 0; 278 })); 279 })(c) : ((u) => { 280 E(a, N, (() => { 281 const C = h.se[u], S = a.checked; 282 i.Z[u] = []; 283 for (let _ in C) C[_].checked = S, S && i.Z[u].push(_); 284 })); 285 })(n), a.value = n, l.textContent = o.replace(/<.*>.*<\/.*>/gm, ""), f(b, g), f(b, m), f(d, b), i.D) (t.readOnly || t.enabled) && (a.checked = !0); 286 else if (e) { 287 const u = i.Y[c]; 288 a.checked = t.readOnly || k(u, n); 289 } else k(i.R, n) && (a.checked = !0); 290 return t.readOnly && (a.disabled = !0), f(s, a), f(s, d), f(s, l), s; 291} 292const qe = () => { 293 const o = p("span"); 294 return r.ne.Ke || (r.ne.Ke = o), o; 295}, xt = (o, n) => { 296 const t = r.o, e = r.ne, { hide: c, showPreferences: i, acceptCategory: h } = o, s = t.u && t.u.consentModal; 297 if (!s) return; 298 const a = s.acceptAllBtn, d = s.acceptNecessaryBtn, b = s.showPreferencesBtn, l = s.closeIconLabel, m = s.footer, g = s.label, u = s.title, C = (_) => { 299 c(), h(_); 300 }; 301 if (!e.Qe) { 302 e.Qe = p("div"), e.he = p("div"), e.We = p("div"), e.Xe = p("div"), e.Ye = p("div"), M(e.Qe, "cm-wrapper"), M(e.he, "cm"), P(e.We, "body"), P(e.Xe, "texts"), P(e.Ye, "btns"), v(e.he, "role", "dialog"), v(e.he, "aria-modal", "true"), v(e.he, J, "false"), v(e.he, "aria-describedby", "cm__desc"), g ? v(e.he, "aria-label", g) : u && v(e.he, "aria-labelledby", "cm__title"); 303 const _ = "box", L = t.i.guiOptions, y = L && L.consentModal, w = (y && y.layout || _).split(" ")[0] === _; 304 u && l && w && (e.Le || (e.Le = p($), e.Le.innerHTML = Te(), P(e.Le, "btn"), P(e.Le, "btn--close"), E(e.Le, N, (() => { 305 C([]); 306 })), f(e.We, e.Le)), v(e.Le, "aria-label", l)), f(e.We, e.Xe), (a || d || b) && f(e.We, e.Ye), e.be = p("div"), v(e.be, "tabIndex", -1), f(e.he, e.be), f(e.he, e.We), f(e.Qe, e.he); 307 } 308 u && (e.Ze || (e.Ze = p("h2"), e.Ze.className = e.Ze.id = "cm__title", f(e.Xe, e.Ze)), e.Ze.innerHTML = u); 309 let S = s.description; 310 if (S && (t.V && (S = S.replace("{{revisionMessage}}", t.I ? "" : s.revisionMessage || "")), e.et || (e.et = p("p"), e.et.className = e.et.id = "cm__desc", f(e.Xe, e.et)), e.et.innerHTML = S), a && (e.tt || (e.tt = p($), f(e.tt, qe()), P(e.tt, "btn"), v(e.tt, ye, "all"), E(e.tt, N, (() => { 311 C("all"); 312 }))), e.tt.firstElementChild.innerHTML = a), d && (e.Ie || (e.Ie = p($), f(e.Ie, qe()), P(e.Ie, "btn"), v(e.Ie, ye, "necessary"), E(e.Ie, N, (() => { 313 C([]); 314 }))), e.Ie.firstElementChild.innerHTML = d), b && (e.ot || (e.ot = p($), f(e.ot, qe()), P(e.ot, "btn"), P(e.ot, "btn--secondary"), v(e.ot, ye, "show"), E(e.ot, "mouseenter", (() => { 315 t.N || Le(o, n); 316 })), E(e.ot, N, i)), e.ot.firstElementChild.innerHTML = b), e.nt || (e.nt = p("div"), P(e.nt, Se), a && f(e.nt, e.tt), d && f(e.nt, e.Ie), (a || d) && f(e.We, e.nt), f(e.Ye, e.nt)), e.ot && !e.st && (e.st = p("div"), e.Ie && e.tt ? (P(e.st, Se), f(e.st, e.ot), f(e.Ye, e.st)) : (f(e.nt, e.ot), P(e.nt, Se + "--uneven"))), m) { 317 if (!e.ct) { 318 let _ = p("div"), L = p("div"); 319 e.ct = p("div"), P(_, "footer"), P(L, "links"), P(e.ct, "link-group"), f(L, e.ct), f(_, L), f(e.he, _); 320 } 321 e.ct.innerHTML = m; 322 } 323 It(0), t.T || (t.T = !0, Q(r.re.ue, ze, e.he), n(o), f(e.Ce, e.Qe), _t(e.he), setTimeout((() => M(e.Qe, "cc--anim")), 100)), Tt(1), wt(e.We, o, Le, n); 324}, Et = (o) => { 325 if (!be(o)) return null; 326 if (o in r.o._) return o; 327 let n = o.slice(0, 2); 328 return n in r.o._ ? n : null; 329}, Dt = () => r.o.l || r.o.i.language.default, Ht = (o) => { 330 o && (r.o.l = o); 331}, Ut = async (o) => { 332 const n = r.o; 333 let t = Et(o) ? o : Dt(), e = n._[t]; 334 if (be(e) ? e = await (async (c) => { 335 try { 336 return await (await fetch(c)).json(); 337 } catch (i) { 338 return console.error(i), !1; 339 } 340 })(e) : W(e) && (e = await e()), !e) throw `Could not load translation for the '${t}' language`; 341 return n.u = e, Ht(t), !0; 342}, Wt = () => { 343 let o = r.o.i.language.rtl, n = r.ne.Ce; 344 o && n && (Re(o) || (o = [o]), k(o, r.o.l) ? M(n, "cc--rtl") : ie(n, "cc--rtl")); 345}, _e = () => { 346 const o = r.ne; 347 if (o.Ce) return; 348 o.Ce = p("div"), o.Ce.id = "cc-main", o.Ce.setAttribute("data-nosnippet", ""), Wt(); 349 let n = r.o.i.root; 350 n && be(n) && (n = document.querySelector(n)), (n || o.Ue.body).appendChild(o.Ce); 351}, Kt = (o) => Ae((() => localStorage.removeItem(o))), ft = (o, n) => { 352 if (n instanceof RegExp) return o.filter(((t) => n.test(t))); 353 { 354 const t = yt(o, n); 355 return t > -1 ? [o[t]] : []; 356 } 357}, Ot = (o) => { 358 const { hostname: n, protocol: t } = location, { name: e, path: c, domain: i, sameSite: h, useLocalStorage: s, secure: a } = r.t.cookie, d = o ? (() => {
359 const g = r.o.S, u = g ? /* @__PURE__ */ new Date() - g : 0; 360 return 864e5 * ct() - u; 361 })() : 864e5 * ct(), b = /* @__PURE__ */ new Date(); 362 b.setTime(b.getTime() + d), r.o.p.expirationTime = b.getTime(); 363 const l = JSON.stringify(r.o.p); 364 let m = e + "=" + encodeURIComponent(l) + (d !== 0 ? "; expires=" + b.toUTCString() : "") + "; Path=" + c + "; SameSite=" + h; 365 k(n, ".") && (m += "; Domain=" + i), a && t === "https:" && (m += "; Secure"), s ? ((g, u) => { 366 Ae((() => localStorage.setItem(g, u))); 367 })(e, l) : document.cookie = m, r.o.p; 368}, pt = (o, n, t) => { 369 if (o.length === 0) return; 370 const e = t || r.t.cookie.domain, c = n || r.t.cookie.path, i = e.slice(0, 4) === "www.", h = i && e.substring(4), s = (a, d) => { 371 d && d.slice(0, 1) !== "." && (d = "." + d), document.cookie = a + "=; path=" + c + (d ? "; domain=" + d : "") + "; expires=Thu, 01 Jan 1970 00:00:01 GMT;"; 372 }; 373 for (const a of o) s(a, t), t || s(a, e), i && s(a, h); 374}, At = (o) => { 375 const n = r.t.cookie.name, t = r.t.cookie.useLocalStorage; 376 return ((c, i) => { 377 let h; 378 return h = Ae((() => JSON.parse(i ? c : decodeURIComponent(c))), !0) || {}, h; 379 })(t ? (e = n, Ae((() => localStorage.getItem(e))) || "") : Qt(n), t); 380 var e; 381}, Qt = (o, n) => { 382 const t = document.cookie.match("(^|;)\\s*" + o + "\\s*=\\s*([^;]+)"); 383 return t ? t.pop() : ""; 384}, eo = (o) => { 385 const n = document.cookie.split(/;\s*/), t = []; 386 for (const e of n) {
vendor: 6,547 bytes, lines 387-538
387 let c = e.split("=")[0]; 388 t.push(c); 389 } 390 return t; 391}, to = (o, n = []) => { 392 ((t, e) => { 393 const { O: c, R: i, B: h, N: s, Z: a, $: d, X: b } = r.o; 394 let l = []; 395 if (t) { 396 Re(t) ? l.push(...t) : be(t) && (l = t === "all" ? c : [t]); 397 for (const m of c) a[m] = k(l, m) ? ce(b[m]) : []; 398 } else l = [...i, ...d], s && (l = (() => { 399 const m = r.ne.ae; 400 if (!m) return []; 401 let g = []; 402 for (let u in m) m[u].checked && g.push(u); 403 return g; 404 })()); 405 l = l.filter(((m) => !k(c, m) || !k(e, m))), l.push(...h), vt(l); 406 })(o, n), (() => { 407 const t = r.o, { Z: e, B: c, Y: i, X: h, O: s } = t, a = s; 408 t.te = te(i); 409 for (const d of a) { 410 const b = h[d], l = ce(b), m = e[d] && e[d].length > 0, g = k(c, d); 411 if (l.length !== 0) { 412 if (i[d] = [], g) i[d].push(...l); 413 else if (m) { 414 const u = e[d]; 415 i[d].push(...u); 416 } else i[d] = t.Z[d]; 417 i[d] = bt(i[d]); 418 } 419 } 420 })(), (() => { 421 const t = r.o; 422 t.L = r.t.mode === Ce && t.D ? xe(t.$, t.R) : xe(t.R, t.p.categories); 423 let e = t.L.length > 0, c = !1; 424 for (const a of t.O) t.ee[a] = xe(t.Y[a], t.te[a]), t.ee[a].length > 0 && (c = !0); 425 const i = r.ne.ae; 426 for (const a in i) i[a].checked = k(t.R, a); 427 for (const a of t.O) { 428 const d = r.ne.se[a], b = t.Y[a]; 429 for (const l in d) d[l].checked = k(b, l); 430 } 431 t.C || (t.C = /* @__PURE__ */ new Date()), t.M || (t.M = ("10000000-1000-4000-8000" + -1e11).replace(/[018]/g, ((a) => (a ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> a / 4).toString(16)))), t.p = { categories: te(t.R), revision: r.t.revision, data: t.h, consentTimestamp: t.C.toISOString(), consentId: t.M, services: te(t.Y), languageCode: r.o.l }, t.S && (t.p.lastConsentTimestamp = t.S.toISOString()); 432 let h = !1; 433 const s = e || c; 434 (t.D || s) && (t.D && (t.D = !1, h = !0), t.S = t.S ? /* @__PURE__ */ new Date() : t.C, t.p.lastConsentTimestamp = t.S.toISOString(), Ot(), r.t.autoClearCookies && (h || s) && ((a) => { 435 const d = r.o, b = eo(), l = ((m) => { 436 const g = r.o; 437 return (m ? g.O : g.L).filter(((u) => { 438 const C = g.P[u]; 439 return !!C && !C.readOnly && !!C.autoClear; 440 })); 441 })(a); 442 for (const m in d.ee) for (const g of d.ee[m]) { 443 const u = d.X[m][g].cookies; 444 if (!k(d.Y[m], g) && u) for (const C of u) { 445 const S = ft(b, C.name); 446 pt(S, C.path, C.domain); 447 } 448 } 449 for (const m of l) { 450 const g = d.P[m].autoClear, u = g && g.cookies || [], C = k(d.L, m), S = !k(d.R, m), _ = C && S; 451 if (a ? S : _) { 452 g.reloadPage && _ && (d.j = !0); 453 for (const L of u) { 454 const y = ft(b, L.name); 455 pt(y, L.path, L.domain); 456 } 457 } 458 } 459 })(h), Xe()), h && (Q(r.re.ie), Q(r.re.le), r.t.mode === mt) || (s && Q(r.re.de), t.j && (t.j = !1, location.reload())); 460 })(); 461}, Rt = (o) => { 462 const n = r.o.D ? [] : r.o.R; 463 return k(n, o); 464}, Nt = (o, n) => { 465 const t = r.o.D ? [] : r.o.Y[n] || []; 466 return k(t, o); 467}, Pt = (o) => { 468 const { ne: n, o: t } = r; 469 if (!t.k) { 470 if (!t.T) { 471 if (!o) return; 472 xt(Qe, _e); 473 } 474 t.k = !0, t.J = Oe(), t.v && St(!0), Ct(n.he, 1), M(n.ye, ht), v(n.he, J, "false"), setTimeout((() => { 475 K(r.ne.be); 476 }), 100), Q(r.re.fe, ze); 477 } 478}, oo = () => { 479 const { ne: o, o: n, re: t } = r; 480 n.k && (n.k = !1, n.v && St(), K(o.Ke, !0), ie(o.ye, ht), v(o.he, J, "true"), K(n.J), n.J = null, Q(t._e, ze)); 481}, no = () => { 482 const o = r.o; 483 o.A || (o.N || Le(Qe, _e), o.A = !0, o.k ? o.U = Oe() : o.J = Oe(), Ct(r.ne.we, 2), M(r.ne.ye, gt), v(r.ne.we, J, "false"), setTimeout((() => { 484 K(r.ne.ve); 485 }), 100), Q(r.re.fe, Ue)); 486}, ro = () => { 487 const o = r.o; 488 o.A && (o.A = !1, (() => { 489 const n = Ne(), t = r.o.P, e = r.ne.ae, c = r.ne.se, i = (h) => k(r.o.$, h); 490 for (const h in e) { 491 const s = !!t[h].readOnly; 492 e[h].checked = s || (n ? Rt(h) : i(h)); 493 for (const a in c[h]) c[h][a].checked = s || (n ? Nt(a, h) : i(h)); 494 } 495 })(), K(r.ne.$e, !0), ie(r.ne.ye, gt), v(r.ne.we, J, "true"), o.k ? (K(o.U), o.U = null) : (K(o.J), o.J = null), Q(r.re._e, Ue)); 496}; 497var Qe = { show: Pt, hide: oo, showPreferences: no, hidePreferences: ro, acceptCategory: to }; 498const Bt = () => { 499 const { F: o, Y: n } = r.o, { accepted: t, rejected: e } = (() => { 500 const { D: c, R: i, O: h } = r.o; 501 return { accepted: i, rejected: c ? [] : h.filter(((s) => !k(i, s))) }; 502 })(); 503 return te({ acceptType: o, acceptedCategories: t, rejectedCategories: e, acceptedServices: n, rejectedServices: Ft() }); 504}, uo = (o, n) => { 505 let t = document.querySelector('script[src="' + o + '"]'); 506 return new Promise(((e) => { 507 if (t) return e(!0); 508 if (t = p("script"), He(n)) for (const c in n) v(t, c, n[c]); 509 t.onload = () => e(!0), t.onerror = () => { 510 t.remove(), e(!1); 511 }, t.src = o, f(document.head, t); 512 })); 513}, fo = (o) => { 514 let n, t = o.value, e = o.mode, c = !1; 515 const i = r.o; 516 if (e === "update") { 517 i.h = n = so("data"); 518 const h = typeof n == typeof t; 519 if (h && typeof n == "object") { 520 !n && (n = {}); 521 for (let s in t) n[s] !== t[s] && (n[s] = t[s], c = !0); 522 } else !h && n || n === t || (n = t, c = !0); 523 } else n = t, c = !0; 524 return c && (i.h = n, i.p.data = n, Ot(!0)), c; 525}, so = (o, n) => { 526 const t = At(); 527 return o ? t[o] : t; 528}, jt = (o) => { 529 const n = r.t, t = r.o.i; 530 return n[o] || t[o]; 531}, Ne = () => !r.o.D, po = async (o) => { 532 const { o: n, t, re: e } = r, c = window; 533 if (!c._ccRun) { 534 if (c._ccRun = !0, ((s) => { 535 const { ne: a, t: d, o: b } = r, l = d, m = b, { cookie: g } = l, u = r.ce, C = s.cookie, S = s.categories, _ = ce(S) || [], L = navigator, y = document; 536 a.Ue = y, a.ye = y.documentElement, g.domain = location.hostname, m.i = s, m.P = S, m.O = _, m._ = s.language.translations, m.v = !!s.disablePageInteraction, u.ie = s.onFirstConsent, u.le = s.onConsent, u.de = s.onChange, u._e = s.onModalHide, u.fe = s.onModalShow, u.ue = s.onModalReady; 537 const { mode: w, autoShow: x, lazyHtmlGeneration: H, autoClearCookies: I, revision: B, manageScriptTags: pe, hideFromBots: le } = s; 538 w === Ce && (l.mode = w), typeof I == "boolean" && (l.autoClearCookies = I), typeof pe == "boolean" && (l.manageScriptTags = pe), typeof B == "number" && B >= 0 && (l.revision = B, m.V = !0), typeof x == "boolean" && (l.autoShow = x), typeof H
538== "boolean" && (l.lazyHtmlGeneration = H), le === !1 && (l.hideFromBots = !1), l.hideFromBots === !0 && L && (m.G = L.userAgent && /bot|crawl|spider|slurp|teoma/i.test(L.userAgent) || L.webdriver), He(C) && (l.cookie = { ...g, ...C }), l.autoClearCookies, m.V, l.manageScriptTags, ((Z) => { 539 const { P: oe, X: q, Y: A, Z: j, B: ne } = r.o; 540 for (let O of Z) { 541 const X = oe[O], F = X.services || {}, re = He(F) && ce(F) || []; 542 q[O] = {}, A[O] = [], j[O] = [], X.readOnly && (ne.push(O), A[O] = re), r.ne.se[O] = {}; 543 for (let se of re) { 544 const G = F[se]; 545 G.Se = !1, q[O][se] = G; 546 } 547 } 548 })(_), (() => { 549 if (!r.t.manageScriptTags) return; 550 const Z = r.o, oe = We(document, "script[" + De + "]"); 551 for (const q of oe) { 552 let A = Ie(q, De), j = q.dataset.service || "", ne = !1; 553 if (A && A.charAt(0) === "!" && (A = A.slice(1), ne = !0), j.charAt(0) === "!" && (j = j.slice(1), ne = !0), k(Z.O, A) && (Z.oe.push({ Me: q, xe: !1, ke: ne, De: A, Te: j }), j)) { 554 const O = Z.X[A]; 555 O[j] || (O[j] = { Se: !1 }); 556 } 557 } 558 })(), Ht((() => { 559 const Z = r.o.i.language.autoDetect; 560 if (Z) { 561 const oe = { browser: navigator.language, document: document.documentElement.lang }, q = Et(oe[Z]); 562 if (q) return q; 563 } 564 return Dt(); 565 })()); 566 })(o), n.G) return; 567 (() => { 568 const s = r.o, a = r.t, d = At(), { categories: b, services: l, consentId: m, consentTimestamp: g, lastConsentTimestamp: u, data: C, revision: S } = d, _ = Re(b); 569 s.p = d, s.M = m; 570 const L = !!m && be(m); 571 s.C = g, s.C && (s.C = new Date(g)), s.S = u, s.S && (s.S = new Date(u)), s.h = C !== void 0 ? C : null, s.V && L && S !== a.revision && (s.I = !1), s.D = !(L && s.I && s.C && s.S && _), a.cookie.useLocalStorage && !s.D && (s.D = (/* @__PURE__ */ new Date()).getTime() > (d.expirationTime || 0), s.D && Kt(a.cookie.name)), s.D, (() => { 572 const y = r.o; 573 for (const w of y.O) { 574 const x = y.P[w]; 575 if (x.readOnly || x.enabled) { 576 y.$.push(w); 577 const H = y.X[w] || {}; 578 for (let I in H) y.Z[w].push(I), y.i.mode === Ce && y.Y[w].push(I); 579 } 580 } 581 })(), s.D ? a.mode === Ce && (s.R = [...s.$]) : (s.Y = { ...s.Y, ...l }, s.Z = { ...s.Y }, vt([...s.B, ...b])); 582 })(); 583 const h = Ne(); 584 if (!await Ut()) return !1; 585 if (wt(null, i = Qe, Le, _e), r.o.D && xt(i, _e), r.t.lazyHtmlGeneration || Le(i, _e), t.autoShow && !h && Pt(!0), h) return Xe(), Q(e.le); 586 t.mode === Ce && Xe(n.$); 587 } 588 var i; 589}; 590function mo(o) { 591 return jt("mode") === "opt-out" && !Ne() ? Bt().acceptedCategories.includes(o) : Rt(o); 592} 593function ho(o, n) { 594 var t; 595 return jt("mode") === "opt-out" && !Ne() ? (t = Bt().acceptedServices[n]) == null ? void 0 : t.includes(o) : Nt(o, n); 596} 597function go(o, n) { 598 addEventListener("cc:onConsent", ({ 599 cookie: t 600 }) => { 601 var e; 602 if (typeof n == "function") { 603 const c = ( 604 /** @type ConsentCategory[] */ 605 ((e = t == null ? void 0 : t.categories) == null ? void 0 : e.filter((i) => i !== "necessary")) ?? [] 606 ); 607 n(c); 608 } 609 }), addEventListener("cc:onChange", ({ 610 detail: t 611 }) => { 612 typeof n == "function" && n(t == null ? void 0 : t.changedCategories); 613 }); 614} 615const ao = (o) => { 616 let n; 617 try { 618 n = window[o]; 619 const t = "__storage_test__"; 620 return n.setItem(t, t), n.removeItem(t), !0; 621 } catch (t) { 622 return t instanceof DOMException && (t.name === "QuotaExceededError" || t.name === "SecurityError") && !!n && !!(n != null && n.length); 623 } 624}; 625var fe, ke, Je; 626class co { 627 /** 628 * @param eventTargets {Array<EventTarget>|undefined} 629 */ 630 constructor(n) { 631 Me(this, ke); 632 /** @type {Storage|undefined} */ 633 Me(this, fe); 634 /** @type {Set<EventTarget>} */ 635 rt(this, "eventTargets", /* @__PURE__ */ new Set([])); 636 ao("localStorage") && je(this, fe, window.localStorage), Array.isArray(n) && n.forEac
636h((t) => this.eventTargets.add(t)); 637 } 638 /** 639 * @param key {string} 640 * @return {string | null | undefined} 641 */ 642 getItem(n) { 643 var t; 644 return (t = z(this, fe)) == null ? void 0 : t.getItem(n); 645 } 646 /** 647 * @param key {string} 648 * @param value {string} 649 * @return {void} 650 */ 651 setItem(n, t) { 652 var c; 653 const e = this.getItem(n); 654 (c = z(this, fe)) == null || c.setItem(n, t), Ye(this, ke, Je).call(this, { 655 key: n, 656 newValue: t, 657 oldValue: e 658 }); 659 } 660 /** 661 * @param key {string} 662 * @return {void} 663 */ 664 removeItem(n) { 665 var e; 666 const t = this.getItem(n); 667 (e = z(this, fe)) == null || e.removeItem(n), Ye(this, ke, Je).call(this, { 668 key: n, 669 newValue: null, 670 oldValue: t 671 }); 672 } 673} 674fe = new WeakMap(), ke = new WeakSet(), /** 675 * @param options {StorageEventInit} 676 */ 677Je = function(n) { 678 const t = new StorageEvent("storage", { 679 ...n 680 }); 681 this.eventTargets.forEach((e) => { 682 e instanceof EventTarget && e.dispatchEvent(t); 683 }); 684}; 685const Fe = "theme-navigation-state"; 686var U; 687class io extends EventTarget { 688 constructor() { 689 super(); 690 /** @type {Map<NavigatorCache, NavigatorExpandedStatus | CustomLocalStorage>} */ 691 Me(this, U); 692 const t = this;
693 je(this, U, /* @__PURE__ */ new Map([["memory"], ["storage", new co([t])]])); 694 } 695 /** 696 * @param {Object} [options={}] 697 * @param {NavigatorCache} [options.cache='storage'] 698 * @returns {NavigatorExpandedStatus} 699 */ 700 get({ 701 cache: t = "storage" 702 } = {}) { 703 return t === "memory" ? z(this, U).get("memory") : z(this, U).get("storage").getItem(Fe); 704 } 705 /** 706 * @param {NavigatorExpandedStatus} value 707 * @param {object} [options={}] 708 * @param {NavigatorCache} [options.cache='storage'] 709 */ 710 set(t, { 711 cache: e = "storage" 712 } = {}) { 713 e === "memory" && (z(this, U).set("memory", t), this.dispatchEvent(new Event("change"))), e === "storage" && z(this, U).get("storage").setItem(Fe, t); 714 } 715 /** 716 * @param {object} [options={}] 717 * @param {NavigatorCache} [options.cache='storage'] 718 */ 719 clear({ 720 cache: t = "storage" 721 } = {}) { 722 t === "memory" && (z(this, U).set("memory", null), this.dispatchEvent(new Event("change"))), t === "storage" && z(this, U).get("storage").removeItem(Fe); 723 } 724} 725U = new WeakMap(); 726const yo = new io(); 727export { 728 so as K, 729 Fe as N, 730 po as X, 731 ho as a, 732 mo as b, 733 yo as n, 734 go as o, 735 fo as q, 736 uo as z 737};
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.