chefcookie 2.9.9 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_build/script.js +28 -20
- package/chefcookie.min.js +1 -1
- package/package.json +14 -15
package/_build/script.js
CHANGED
|
@@ -5,18 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
8
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
require("mdn-polyfills/Object.entries");
|
|
10
|
-
require("mdn-polyfills/Object.values");
|
|
11
|
-
require("mdn-polyfills/Number.isInteger");
|
|
12
|
-
require("mdn-polyfills/Element.prototype.closest");
|
|
13
|
-
require("mdn-polyfills/Node.prototype.remove");
|
|
14
|
-
require("@babel/polyfill/noConflict");
|
|
15
10
|
var _helper = _interopRequireDefault(require("./_helper"));
|
|
16
11
|
var cookie = _interopRequireWildcard(require("cookie"));
|
|
17
12
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
15
|
class chefcookie {
|
|
21
16
|
constructor() {
|
|
22
17
|
let config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -215,7 +210,10 @@ class chefcookie {
|
|
|
215
210
|
}
|
|
216
211
|
forceAccept() {
|
|
217
212
|
if ('bypass_parameter' in this.config && this.config.bypass_parameter !== false && this.config.bypass_parameter !== undefined && this.config.bypass_parameter !== null && this.config.bypass_parameter !== '' && typeof this.config.bypass_parameter === 'object' && !Array.isArray(this.config.bypass_parameter)) {
|
|
218
|
-
for (const
|
|
213
|
+
for (const _ref of Object.entries(this.config.bypass_parameter)) {
|
|
214
|
+
var _ref2 = (0, _slicedToArray2.default)(_ref, 2);
|
|
215
|
+
const bypass_parameter__key = _ref2[0];
|
|
216
|
+
const bypass_parameter__value = _ref2[1];
|
|
219
217
|
if (_helper.default.getParam(bypass_parameter__key) == bypass_parameter__value) {
|
|
220
218
|
return true;
|
|
221
219
|
}
|
|
@@ -322,8 +320,8 @@ class chefcookie {
|
|
|
322
320
|
return excluded;
|
|
323
321
|
}
|
|
324
322
|
addStyle() {
|
|
325
|
-
var _this$config$style$co, _this$config$style$co2,
|
|
326
|
-
let css = "\n .chefcookie, .chefcookie *\n {\n box-sizing: border-box;\n margin:0;\n padding:0;\n }\n /* try to reset styles */\n .chefcookie h2,\n .chefcookie a:link,\n .chefcookie a:hover,\n .chefcookie a:visited\n {\n color:inherit;\n }\n .chefcookie\n {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n right: 0;\n bottom: 0;\n transform: translateZ(0);\n }\n .chefcookie--hidden\n {\n opacity: 0;\n pointer-events:none;\n }\n .chefcookie__inner\n {\n width:100%;\n height:100%;\n text-align: center;\n white-space: nowrap;\n font-size: 0;\n overflow-y:auto;\n overflow-x:hidden;\n max-height:100vh;\n }\n .chefcookie__box\n {\n font-size: ".concat(15 + (this.config.style.size - 3), "px;\n line-height:1.6;\n color:").concat((_this$config$style$co = this.config.style.color_text) !== null && _this$config$style$co !== void 0 ? _this$config$style$co : '#595f60', ";\n width: 100%;\n margin: 0 auto;\n display: inline-block;\n vertical-align: middle;\n white-space: normal;\n border-radius: 0;\n padding-top: 2em;\n padding-bottom: 2em;\n padding-left: 3em;\n padding-right: 3em;\n text-align: left;\n }\n .chefcookie__message\n {\n margin-bottom:1.5em;\n text-align:justify;\n }\n .chefcookie__message h2\n {\n margin-bottom:0.5em;\n font-size:2em;\n line-height:1.4;\n text-transform:uppercase;\n font-weight:700;\n text-align:left;\n }\n .chefcookie__message p {\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a,\n .chefcookie__message a:focus\n {\n color:inherit;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-decoration:underline;\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__message a:hover\n {\n opacity: 0.5;\n color: inherit;\n }\n }\n .chefcookie__message a:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons\n {\n margin-top:0.5em;\n }\n .chefcookie__button,\n .chefcookie__button:focus\n {\n padding: 1em 0.5em;\n border: 2px solid ").concat((_this$config$style$co2 = this.config.style.color_text) !== null && _this$config$style$co2 !== void 0 ? _this$config$style$co2 : '#595f60', ";\n font-weight: bold;\n display: block;\n color: inherit;\n text-decoration: none;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-transform: uppercase;\n float: left;\n text-align: center;\n min-width: 21em;\n margin-right:3em;\n }\n .chefcookie__buttons--count-3 .chefcookie__button,\n .chefcookie__buttons--count-3 .chefcookie__button:focus {\n min-width:15em;\n margin-right:1em;\n }\n .chefcookie__button:last-child\n {\n margin-right:0;\n }\n .chefcookie__button:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__button:hover\n {\n opacity: 0.5;\n text-decoration:none;\n color: inherit;\n }\n }\n .chefcookie__button:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons:after\n {\n clear:both;\n display:table;\n content:\"\";\n }\n ").concat(this.config.style.highlight_accept === undefined || this.config.style.highlight_accept === true ? "\n .chefcookie__button--accept\n {\n background-color:".concat((_ref = (_this$config$style$co3 = this.config.style.color_highlight) !== null && _this$config$style$co3 !== void 0 ? _this$config$style$co3 : this.config.style.color) !== null && _ref !== void 0 ? _ref : '#ff0000', ";\n border-color:transparent;\n }\n .chefcookie__button--accept.chefcookie__button--accept,\n .chefcookie__button--accept.chefcookie__button--accept:hover,\n .chefcookie__button--accept.chefcookie__button--accept:focus,\n .chefcookie__button--accept.chefcookie__button--accept:link,\n .chefcookie__button--accept.chefcookie__button--accept:visited\n {\n color:").concat((_this$config$style$co4 = this.config.style.color_background) !== null && _this$config$style$co4 !== void 0 ? _this$config$style$co4 : '#eeeeee', ";\n }\n ") : "", "\n .chefcookie__settings-container\n {\n height:0;\n overflow:hidden;\n transition: height ").concat(this.animationSpeed / 1000, "s ease-out;\n }\n .chefcookie__groups\n {\n list-style-type:none;\n }\n .chefcookie__groups:after\n {\n clear:both;\n display:table;\n content:\"\";\n }\n .chefcookie__group\n {\n float: left;\n }\n .chefcookie__group:before\n {\n display:none;\n }\n .chefcookie__group-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n font-weight:bold;\n font-size:1.2em;\n line-height:1.7;\n text-transform:uppercase;\n }\n .chefcookie__group-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n font-size:1em;\n line-height:1.6;\n }\n .chefcookie__group-label:after\n {\n clear:both;\n display:table;\n content:\"\"\n }\n .chefcookie__group--disabled .chefcookie__group-label\n {\n cursor:default;\n }\n .chefcookie__group-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__group--disabled .chefcookie__group-checkbox-icon\n {\n ").concat(this.config.style.show_disabled_checkbox === undefined || this.config.style.show_disabled_checkbox === false ? "display:none;" : "opacity: 0.75 !important;", "\n }\n .chefcookie__group-checkbox-icon\n {\n line-height:2;\n display: block;\n width: 4em;\n height: 2em;\n background-color: ").concat((_this$config$style$co5 = this.config.style.color_background) !== null && _this$config$style$co5 !== void 0 ? _this$config$style$co5 : '#eeeeee', ";\n border: 2px solid ").concat((_this$config$style$co6 = this.config.style.color_text) !== null && _this$config$style$co6 !== void 0 ? _this$config$style$co6 : '#595f60', ";\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__group-checkbox-icon:before\n {\n content: \"0\";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-align: center;\n font-weight: bold;\n font-size: 1em;\n line-height: 2;\n opacity: 0.25;\n color: ").concat((_this$config$style$co7 = this.config.style.color_text) !== null && _this$config$style$co7 !== void 0 ? _this$config$style$co7 : '#595f60', ";\n }\n .chefcookie__group-checkbox-icon:after\n {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ").concat((_this$config$style$co8 = this.config.style.color_text) !== null && _this$config$style$co8 !== void 0 ? _this$config$style$co8 : '#595f60', ";\n background-color: ").concat((_this$config$style$co9 = this.config.style.color_text) !== null && _this$config$style$co9 !== void 0 ? _this$config$style$co9 : '#595f60', ";\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__group-checkbox ~ *\n {\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n }\n .chefcookie__group-checkbox[data-status=\"0\"] ~ *\n {\n opacity: 0.75;\n }\n .chefcookie__group-checkbox[data-status=\"1\"] ~ .chefcookie__group-checkbox-icon\n {\n opacity: 0.85;\n }\n .chefcookie__group-checkbox[data-status=\"1\"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:25%;\n }\n .chefcookie__group-checkbox[data-status=\"2\"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__group-checkbox[data-status=\"1\"] ~ .chefcookie__group-checkbox-icon:before,\n .chefcookie__group-checkbox[data-status=\"2\"] ~ .chefcookie__group-checkbox-icon:before\n {\n content: \"\";\n background-color: ").concat((_this$config$style$co0 = this.config.style.color_text) !== null && _this$config$style$co0 !== void 0 ? _this$config$style$co0 : '#595f60', ";\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 3px;\n }\n .chefcookie__group-description\n {\n width:100%;\n clear:both;\n padding-top:1em;\n display: block;\n font-size:0.9em;\n line-height:1.5;\n text-align:justify;\n font-weight: normal;\n }\n .chefcookie__group-collapse,\n .chefcookie__group-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__group-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__scripts\n {\n list-style-type:none;\n height:0;\n overflow:hidden;\n transition: height ").concat(this.animationSpeed / 1000, "s ease-out;\n }\n .chefcookie__scripts--visible {\n height:auto;\n }\n .chefcookie__script {\n margin-bottom:0.5em;\n }\n .chefcookie__script:before\n {\n display:none;\n }\n .chefcookie__script:first-child {\n margin-top:1em;\n }\n .chefcookie__script:last-child {\n margin-bottom:0;\n }\n .chefcookie__script-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n }\n .chefcookie__script-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n }\n .chefcookie__script-label:after\n {\n clear:both;\n display:table;\n content:\"\"\n }\n .chefcookie__script--disabled .chefcookie__script-label\n {\n cursor:default;\n }\n .chefcookie__script-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__script--disabled .chefcookie__script-checkbox-icon\n {\n ").concat(this.config.style.show_disabled_checkbox === undefined || this.config.style.show_disabled_checkbox === false ? "display:none;" : "opacity: 0.75 !important;", "\n }\n .chefcookie__script-checkbox-icon\n {\n line-height:1.5;\n display: block;\n width: 3em;\n height: 1.5em;\n background-color: ").concat((_this$config$style$co1 = this.config.style.color_background) !== null && _this$config$style$co1 !== void 0 ? _this$config$style$co1 : '#eeeeee', ";\n border: 1px solid ").concat((_this$config$style$co10 = this.config.style.color_text) !== null && _this$config$style$co10 !== void 0 ? _this$config$style$co10 : '#595f60', ";\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__script-checkbox-icon:before\n {\n content: \"0\";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-align: center;\n font-size: 0.7em;\n line-height: 2;\n opacity: 0.25;\n color: ").concat((_this$config$style$co11 = this.config.style.color_text) !== null && _this$config$style$co11 !== void 0 ? _this$config$style$co11 : '#595f60', ";\n }\n .chefcookie__script-checkbox-icon:after\n {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ").concat((_this$config$style$co12 = this.config.style.color_text) !== null && _this$config$style$co12 !== void 0 ? _this$config$style$co12 : '#595f60', ";\n background-color: ").concat((_this$config$style$co13 = this.config.style.color_text) !== null && _this$config$style$co13 !== void 0 ? _this$config$style$co13 : '#595f60', ";\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__script-checkbox ~ *\n {\n opacity: 0.75;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n }\n .chefcookie__script-checkbox:checked ~ *\n {\n opacity:1;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:before\n {\n content: \"\";\n background-color: ").concat((_this$config$style$co14 = this.config.style.color_text) !== null && _this$config$style$co14 !== void 0 ? _this$config$style$co14 : '#595f60', ";\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 2px;\n }\n\n .chefcookie__script-description\n {\n width: 100%;\n clear: both;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n display: block;\n font-size: 0.8em;\n line-height:1.4;\n text-align: justify;\n }\n .chefcookie__script-description-collapse,\n .chefcookie__script-description-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.25em;\n padding-bottom: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__script-description-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__script-description-content {\n height:0;\n overflow:hidden;\n transition: height ").concat(this.animationSpeed / 1000, "s ease-out;\n }\n .chefcookie__script-description-content > *:not(:last-child) {\n margin-bottom:0.5em;\n }\n .chefcookie__script-description-content table {\n width:100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n .chefcookie__script-description-content table td {\n border:1px solid ").concat(this.hexToRgbaStr((_this$config$style$co15 = this.config.style.color_text) !== null && _this$config$style$co15 !== void 0 ? _this$config$style$co15 : '#595f60', 0.1), ";\n padding: 0.3em 0.5em;\n vertical-align:top;\n }\n\n .chefcookie--noscroll body\n {\n position:fixed;\n width: 100%;\n overflow:hidden;\n }\n .chefcookie--fade body:after,\n .chefcookie--blur body:after\n {\n content:\"\";\n position:fixed;\n z-index: 2147483644;\n top:0;\n left:0;\n width:100%;\n height:100%;\n }\n .chefcookie--fade body:after\n {\n background-color: rgba(0, 0, 0, 0.65);\n }\n .chefcookie--blur body:after\n {\n backdrop-filter: grayscale(50%) blur(5px);\n }\n .chefcookie--overlay\n {\n top: 0;\n }\n .chefcookie--overlay .chefcookie__inner:before\n {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n }\n .chefcookie--overlay .chefcookie__box\n {\n width: 95%;\n max-width: 60em;\n box-shadow: 0 1em 5em -0.5em #000;\n background-color: ").concat((_this$config$style$co16 = this.config.style.color_background) !== null && _this$config$style$co16 !== void 0 ? _this$config$style$co16 : '#eeeeee', ";\n }\n .chefcookie--overlay .chefcookie__group\n {\n height: 13em;\n margin-bottom: 4%;\n background-color: rgba(").concat(this.config.style.color_background != '' && ['#000', '#000000', 'black'].indexOf(this.config.style.color_background) > -1 ? '255, 255, 255' : '0, 0, 0', ", 0.05);\n border: 1px solid rgba(").concat(this.config.style.color_background != '' && ['#000', '#000000', 'black'].indexOf(this.config.style.color_background) > -1 ? '255, 255, 255' : '0, 0, 0', ", 0.01);\n width: 48%;\n margin-right: 4%;\n }\n .chefcookie--overlay .chefcookie__group:nth-child(2n)\n {\n margin-right:0;\n }\n .chefcookie--overlay.chefcookie--has-scripts .chefcookie__group\n {\n height:auto;\n width: 100%;\n margin-right: 0;\n margin-bottom: 1em;\n }\n .chefcookie--overlay .chefcookie__group\n {\n padding: 1em 1.25em;\n }\n .chefcookie--bottombar,\n .chefcookie--topbar\n {\n background-color:").concat((_this$config$style$co17 = this.config.style.color_background) !== null && _this$config$style$co17 !== void 0 ? _this$config$style$co17 : '#eeeeee', ";\n box-shadow: 0 1em 5em -0.5em #000;\n }\n .chefcookie--bottombar\n {\n bottom:0;\n top:auto;\n }\n .chefcookie--topbar\n {\n bottom:auto;\n top:0;\n position:relative;\n }\n .chefcookie--bottombar .chefcookie__box,\n .chefcookie--topbar .chefcookie__box\n {\n max-width: 1280px;\n }\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n margin-top: 0px;\n margin-bottom: 1.5em;\n width: 22%;\n margin-right: 4%;\n }\n .chefcookie--bottombar .chefcookie__group:last-child,\n .chefcookie--topbar .chefcookie__group:last-child\n {\n margin-right:0;\n }\n .chefcookie--bottombar .chefcookie__groups--count-9 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-9 .chefcookie__group { width: 7.55%; }\n .chefcookie--bottombar .chefcookie__groups--count-8 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-8 .chefcookie__group { width: 9.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-7 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-7 .chefcookie__group { width: 10.85%; }\n .chefcookie--bottombar .chefcookie__groups--count-6 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-6 .chefcookie__group { width: 13.33%; }\n .chefcookie--bottombar .chefcookie__groups--count-5 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-5 .chefcookie__group { width: 16.80%; }\n .chefcookie--bottombar .chefcookie__groups--count-4 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-4 .chefcookie__group { width: 22.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-3 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-3 .chefcookie__group { width: 30.66%; }\n .chefcookie--bottombar .chefcookie__groups--count-2 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-2 .chefcookie__group { width: 48%; }\n .chefcookie--bottombar .chefcookie__groups--count-1 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-1 .chefcookie__group { width: 100%; }\n @media screen and (max-width: 940px)\n {\n .chefcookie__button,\n .chefcookie__button:focus\n {\n float: none;\n margin: 0 0 1em;\n text-align: center;\n width: 100%;\n min-width:0;\n }\n }\n @media screen and (max-width: 840px)\n {\n .chefcookie__box\n {\n padding:1em;\n }\n .chefcookie__message h2\n {\n font-size:1.5em;\n line-height:1.4;\n }\n .chefcookie .chefcookie__group,\n .chefcookie--overlay .chefcookie__group,\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n float:none;\n margin-right:0;\n width:100% !important;\n height:auto;\n }\n }\n ");
|
|
323
|
+
var _this$config$style$co, _this$config$style$co2, _ref3, _this$config$style$co3, _this$config$style$co4, _this$config$style$co5, _this$config$style$co6, _this$config$style$co7, _this$config$style$co8, _this$config$style$co9, _this$config$style$co0, _this$config$style$co1, _this$config$style$co10, _this$config$style$co11, _this$config$style$co12, _this$config$style$co13, _this$config$style$co14, _this$config$style$co15, _this$config$style$co16, _this$config$style$co17;
|
|
324
|
+
let css = "\n .chefcookie, .chefcookie *\n {\n box-sizing: border-box;\n margin:0;\n padding:0;\n }\n /* try to reset styles */\n .chefcookie h2,\n .chefcookie a:link,\n .chefcookie a:hover,\n .chefcookie a:visited\n {\n color:inherit;\n }\n .chefcookie\n {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n right: 0;\n bottom: 0;\n transform: translateZ(0);\n }\n .chefcookie--hidden\n {\n opacity: 0;\n pointer-events:none;\n }\n .chefcookie__inner\n {\n width:100%;\n height:100%;\n text-align: center;\n white-space: nowrap;\n font-size: 0;\n overflow-y:auto;\n overflow-x:hidden;\n max-height:100vh;\n }\n .chefcookie__box\n {\n font-size: ".concat(15 + (this.config.style.size - 3), "px;\n line-height:1.6;\n color:").concat((_this$config$style$co = this.config.style.color_text) !== null && _this$config$style$co !== void 0 ? _this$config$style$co : '#595f60', ";\n width: 100%;\n margin: 0 auto;\n display: inline-block;\n vertical-align: middle;\n white-space: normal;\n border-radius: 0;\n padding-top: 2em;\n padding-bottom: 2em;\n padding-left: 3em;\n padding-right: 3em;\n text-align: left;\n }\n .chefcookie__message\n {\n margin-bottom:1.5em;\n text-align:justify;\n }\n .chefcookie__message h2\n {\n margin-bottom:0.5em;\n font-size:2em;\n line-height:1.4;\n text-transform:uppercase;\n font-weight:700;\n text-align:left;\n }\n .chefcookie__message p {\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a,\n .chefcookie__message a:focus\n {\n color:inherit;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-decoration:underline;\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__message a:hover\n {\n opacity: 0.5;\n color: inherit;\n }\n }\n .chefcookie__message a:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons\n {\n margin-top:0.5em;\n }\n .chefcookie__button,\n .chefcookie__button:focus\n {\n padding: 1em 0.5em;\n border: 2px solid ").concat((_this$config$style$co2 = this.config.style.color_text) !== null && _this$config$style$co2 !== void 0 ? _this$config$style$co2 : '#595f60', ";\n font-weight: bold;\n display: block;\n color: inherit;\n text-decoration: none;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-transform: uppercase;\n float: left;\n text-align: center;\n min-width: 21em;\n margin-right:3em;\n }\n .chefcookie__buttons--count-3 .chefcookie__button,\n .chefcookie__buttons--count-3 .chefcookie__button:focus {\n min-width:15em;\n margin-right:1em;\n }\n .chefcookie__button:last-child\n {\n margin-right:0;\n }\n .chefcookie__button:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__button:hover\n {\n opacity: 0.5;\n text-decoration:none;\n color: inherit;\n }\n }\n .chefcookie__button:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons:after\n {\n clear:both;\n display:table;\n content:\"\";\n }\n ").concat(this.config.style.highlight_accept === undefined || this.config.style.highlight_accept === true ? "\n .chefcookie__button--accept\n {\n background-color:".concat((_ref3 = (_this$config$style$co3 = this.config.style.color_highlight) !== null && _this$config$style$co3 !== void 0 ? _this$config$style$co3 : this.config.style.color) !== null && _ref3 !== void 0 ? _ref3 : '#ff0000', ";\n border-color:transparent;\n }\n .chefcookie__button--accept.chefcookie__button--accept,\n .chefcookie__button--accept.chefcookie__button--accept:hover,\n .chefcookie__button--accept.chefcookie__button--accept:focus,\n .chefcookie__button--accept.chefcookie__button--accept:link,\n .chefcookie__button--accept.chefcookie__button--accept:visited\n {\n color:").concat((_this$config$style$co4 = this.config.style.color_background) !== null && _this$config$style$co4 !== void 0 ? _this$config$style$co4 : '#eeeeee', ";\n }\n ") : "", "\n .chefcookie__settings-container\n {\n height:0;\n overflow:hidden;\n transition: height ").concat(this.animationSpeed / 1000, "s ease-out;\n }\n .chefcookie__groups\n {\n list-style-type:none;\n }\n .chefcookie__groups:after\n {\n clear:both;\n display:table;\n content:\"\";\n }\n .chefcookie__group\n {\n float: left;\n }\n .chefcookie__group:before\n {\n display:none;\n }\n .chefcookie__group-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n font-weight:bold;\n font-size:1.2em;\n line-height:1.7;\n text-transform:uppercase;\n }\n .chefcookie__group-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n font-size:1em;\n line-height:1.6;\n }\n .chefcookie__group-label:after\n {\n clear:both;\n display:table;\n content:\"\"\n }\n .chefcookie__group--disabled .chefcookie__group-label\n {\n cursor:default;\n }\n .chefcookie__group-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__group--disabled .chefcookie__group-checkbox-icon\n {\n ").concat(this.config.style.show_disabled_checkbox === undefined || this.config.style.show_disabled_checkbox === false ? "display:none;" : "opacity: 0.75 !important;", "\n }\n .chefcookie__group-checkbox-icon\n {\n line-height:2;\n display: block;\n width: 4em;\n height: 2em;\n background-color: ").concat((_this$config$style$co5 = this.config.style.color_background) !== null && _this$config$style$co5 !== void 0 ? _this$config$style$co5 : '#eeeeee', ";\n border: 2px solid ").concat((_this$config$style$co6 = this.config.style.color_text) !== null && _this$config$style$co6 !== void 0 ? _this$config$style$co6 : '#595f60', ";\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__group-checkbox-icon:before\n {\n content: \"0\";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-align: center;\n font-weight: bold;\n font-size: 1em;\n line-height: 2;\n opacity: 0.25;\n color: ").concat((_this$config$style$co7 = this.config.style.color_text) !== null && _this$config$style$co7 !== void 0 ? _this$config$style$co7 : '#595f60', ";\n }\n .chefcookie__group-checkbox-icon:after\n {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ").concat((_this$config$style$co8 = this.config.style.color_text) !== null && _this$config$style$co8 !== void 0 ? _this$config$style$co8 : '#595f60', ";\n background-color: ").concat((_this$config$style$co9 = this.config.style.color_text) !== null && _this$config$style$co9 !== void 0 ? _this$config$style$co9 : '#595f60', ";\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__group-checkbox ~ *\n {\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n }\n .chefcookie__group-checkbox[data-status=\"0\"] ~ *\n {\n opacity: 0.75;\n }\n .chefcookie__group-checkbox[data-status=\"1\"] ~ .chefcookie__group-checkbox-icon\n {\n opacity: 0.85;\n }\n .chefcookie__group-checkbox[data-status=\"1\"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:25%;\n }\n .chefcookie__group-checkbox[data-status=\"2\"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__group-checkbox[data-status=\"1\"] ~ .chefcookie__group-checkbox-icon:before,\n .chefcookie__group-checkbox[data-status=\"2\"] ~ .chefcookie__group-checkbox-icon:before\n {\n content: \"\";\n background-color: ").concat((_this$config$style$co0 = this.config.style.color_text) !== null && _this$config$style$co0 !== void 0 ? _this$config$style$co0 : '#595f60', ";\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 3px;\n }\n .chefcookie__group-description\n {\n width:100%;\n clear:both;\n padding-top:1em;\n display: block;\n font-size:0.9em;\n line-height:1.5;\n text-align:justify;\n font-weight: normal;\n }\n .chefcookie__group-collapse,\n .chefcookie__group-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__group-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__scripts\n {\n list-style-type:none;\n height:0;\n overflow:hidden;\n transition: height ").concat(this.animationSpeed / 1000, "s ease-out;\n }\n .chefcookie__scripts--visible {\n height:auto;\n }\n .chefcookie__script {\n margin-bottom:0.5em;\n }\n .chefcookie__script:before\n {\n display:none;\n }\n .chefcookie__script:first-child {\n margin-top:1em;\n }\n .chefcookie__script:last-child {\n margin-bottom:0;\n }\n .chefcookie__script-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n }\n .chefcookie__script-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n }\n .chefcookie__script-label:after\n {\n clear:both;\n display:table;\n content:\"\"\n }\n .chefcookie__script--disabled .chefcookie__script-label\n {\n cursor:default;\n }\n .chefcookie__script-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__script--disabled .chefcookie__script-checkbox-icon\n {\n ").concat(this.config.style.show_disabled_checkbox === undefined || this.config.style.show_disabled_checkbox === false ? "display:none;" : "opacity: 0.75 !important;", "\n }\n .chefcookie__script-checkbox-icon\n {\n line-height:1.5;\n display: block;\n width: 3em;\n height: 1.5em;\n background-color: ").concat((_this$config$style$co1 = this.config.style.color_background) !== null && _this$config$style$co1 !== void 0 ? _this$config$style$co1 : '#eeeeee', ";\n border: 1px solid ").concat((_this$config$style$co10 = this.config.style.color_text) !== null && _this$config$style$co10 !== void 0 ? _this$config$style$co10 : '#595f60', ";\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__script-checkbox-icon:before\n {\n content: \"0\";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n text-align: center;\n font-size: 0.7em;\n line-height: 2;\n opacity: 0.25;\n color: ").concat((_this$config$style$co11 = this.config.style.color_text) !== null && _this$config$style$co11 !== void 0 ? _this$config$style$co11 : '#595f60', ";\n }\n .chefcookie__script-checkbox-icon:after\n {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ").concat((_this$config$style$co12 = this.config.style.color_text) !== null && _this$config$style$co12 !== void 0 ? _this$config$style$co12 : '#595f60', ";\n background-color: ").concat((_this$config$style$co13 = this.config.style.color_text) !== null && _this$config$style$co13 !== void 0 ? _this$config$style$co13 : '#595f60', ";\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__script-checkbox ~ *\n {\n opacity: 0.75;\n transition: all ").concat(this.animationSpeed / 1000, "s ease-in-out;\n }\n .chefcookie__script-checkbox:checked ~ *\n {\n opacity:1;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:before\n {\n content: \"\";\n background-color: ").concat((_this$config$style$co14 = this.config.style.color_text) !== null && _this$config$style$co14 !== void 0 ? _this$config$style$co14 : '#595f60', ";\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 2px;\n }\n\n .chefcookie__script-description\n {\n width: 100%;\n clear: both;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n display: block;\n font-size: 0.8em;\n line-height:1.4;\n text-align: justify;\n }\n .chefcookie__script-description-collapse,\n .chefcookie__script-description-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.25em;\n padding-bottom: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__script-description-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__script-description-content {\n height:0;\n overflow:hidden;\n transition: height ").concat(this.animationSpeed / 1000, "s ease-out;\n }\n .chefcookie__script-description-content > *:not(:last-child) {\n margin-bottom:0.5em;\n }\n .chefcookie__script-description-content table {\n width:100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n .chefcookie__script-description-content table td {\n border:1px solid ").concat(this.hexToRgbaStr((_this$config$style$co15 = this.config.style.color_text) !== null && _this$config$style$co15 !== void 0 ? _this$config$style$co15 : '#595f60', 0.1), ";\n padding: 0.3em 0.5em;\n vertical-align:top;\n }\n\n .chefcookie--noscroll body\n {\n position:fixed;\n width: 100%;\n overflow:hidden;\n }\n .chefcookie--fade body:after,\n .chefcookie--blur body:after\n {\n content:\"\";\n position:fixed;\n z-index: 2147483644;\n top:0;\n left:0;\n width:100%;\n height:100%;\n }\n .chefcookie--fade body:after\n {\n background-color: rgba(0, 0, 0, 0.65);\n }\n .chefcookie--blur body:after\n {\n backdrop-filter: grayscale(50%) blur(5px);\n }\n .chefcookie--overlay\n {\n top: 0;\n }\n .chefcookie--overlay .chefcookie__inner:before\n {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n }\n .chefcookie--overlay .chefcookie__box\n {\n width: 95%;\n max-width: 60em;\n box-shadow: 0 1em 5em -0.5em #000;\n background-color: ").concat((_this$config$style$co16 = this.config.style.color_background) !== null && _this$config$style$co16 !== void 0 ? _this$config$style$co16 : '#eeeeee', ";\n }\n .chefcookie--overlay .chefcookie__group\n {\n height: 13em;\n margin-bottom: 4%;\n background-color: rgba(").concat(this.config.style.color_background != '' && ['#000', '#000000', 'black'].indexOf(this.config.style.color_background) > -1 ? '255, 255, 255' : '0, 0, 0', ", 0.05);\n border: 1px solid rgba(").concat(this.config.style.color_background != '' && ['#000', '#000000', 'black'].indexOf(this.config.style.color_background) > -1 ? '255, 255, 255' : '0, 0, 0', ", 0.01);\n width: 48%;\n margin-right: 4%;\n }\n .chefcookie--overlay .chefcookie__group:nth-child(2n)\n {\n margin-right:0;\n }\n .chefcookie--overlay.chefcookie--has-scripts .chefcookie__group\n {\n height:auto;\n width: 100%;\n margin-right: 0;\n margin-bottom: 1em;\n }\n .chefcookie--overlay .chefcookie__group\n {\n padding: 1em 1.25em;\n }\n .chefcookie--bottombar,\n .chefcookie--topbar\n {\n background-color:").concat((_this$config$style$co17 = this.config.style.color_background) !== null && _this$config$style$co17 !== void 0 ? _this$config$style$co17 : '#eeeeee', ";\n box-shadow: 0 1em 5em -0.5em #000;\n }\n .chefcookie--bottombar\n {\n bottom:0;\n top:auto;\n }\n .chefcookie--topbar\n {\n bottom:auto;\n top:0;\n position:relative;\n }\n .chefcookie--bottombar .chefcookie__box,\n .chefcookie--topbar .chefcookie__box\n {\n max-width: 1280px;\n }\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n margin-top: 0px;\n margin-bottom: 1.5em;\n width: 22%;\n margin-right: 4%;\n }\n .chefcookie--bottombar .chefcookie__group:last-child,\n .chefcookie--topbar .chefcookie__group:last-child\n {\n margin-right:0;\n }\n .chefcookie--bottombar .chefcookie__groups--count-9 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-9 .chefcookie__group { width: 7.55%; }\n .chefcookie--bottombar .chefcookie__groups--count-8 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-8 .chefcookie__group { width: 9.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-7 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-7 .chefcookie__group { width: 10.85%; }\n .chefcookie--bottombar .chefcookie__groups--count-6 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-6 .chefcookie__group { width: 13.33%; }\n .chefcookie--bottombar .chefcookie__groups--count-5 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-5 .chefcookie__group { width: 16.80%; }\n .chefcookie--bottombar .chefcookie__groups--count-4 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-4 .chefcookie__group { width: 22.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-3 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-3 .chefcookie__group { width: 30.66%; }\n .chefcookie--bottombar .chefcookie__groups--count-2 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-2 .chefcookie__group { width: 48%; }\n .chefcookie--bottombar .chefcookie__groups--count-1 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-1 .chefcookie__group { width: 100%; }\n @media screen and (max-width: 940px)\n {\n .chefcookie__button,\n .chefcookie__button:focus\n {\n float: none;\n margin: 0 0 1em;\n text-align: center;\n width: 100%;\n min-width:0;\n }\n }\n @media screen and (max-width: 840px)\n {\n .chefcookie__box\n {\n padding:1em;\n }\n .chefcookie__message h2\n {\n font-size:1.5em;\n line-height:1.4;\n }\n .chefcookie .chefcookie__group,\n .chefcookie--overlay .chefcookie__group,\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n float:none;\n margin-right:0;\n width:100% !important;\n height:auto;\n }\n }\n ");
|
|
327
325
|
if ('css_replace' in this.config.style && this.config.style.css_replace !== undefined && this.config.style.css_replace !== null && this.config.style.css_replace !== '') {
|
|
328
326
|
css = this.config.style.css_replace;
|
|
329
327
|
}
|
|
@@ -588,8 +586,10 @@ class chefcookie {
|
|
|
588
586
|
if (el.closest('.chefcookie__group').querySelector('.chefcookie__script-checkbox') === null) {
|
|
589
587
|
if (el.checked === true) {
|
|
590
588
|
if (this.config.settings[el.value].scripts !== undefined) {
|
|
591
|
-
Object.entries(this.config.settings[el.value].scripts).forEach(
|
|
592
|
-
let
|
|
589
|
+
Object.entries(this.config.settings[el.value].scripts).forEach(_ref4 => {
|
|
590
|
+
let _ref5 = (0, _slicedToArray2.default)(_ref4, 2),
|
|
591
|
+
scripts__key = _ref5[0],
|
|
592
|
+
scripts__value = _ref5[1];
|
|
593
593
|
providers.push(scripts__key);
|
|
594
594
|
});
|
|
595
595
|
}
|
|
@@ -648,8 +648,10 @@ class chefcookie {
|
|
|
648
648
|
let accept_all = true;
|
|
649
649
|
this.config.settings.forEach(settings__value => {
|
|
650
650
|
if (settings__value.scripts !== undefined) {
|
|
651
|
-
Object.entries(settings__value.scripts).forEach(
|
|
652
|
-
let
|
|
651
|
+
Object.entries(settings__value.scripts).forEach(_ref6 => {
|
|
652
|
+
let _ref7 = (0, _slicedToArray2.default)(_ref6, 2),
|
|
653
|
+
scripts__key = _ref7[0],
|
|
654
|
+
scripts__value = _ref7[1];
|
|
653
655
|
if (settings.split(',').indexOf(scripts__key) === -1) {
|
|
654
656
|
accept_all = false;
|
|
655
657
|
return;
|
|
@@ -673,8 +675,10 @@ class chefcookie {
|
|
|
673
675
|
}
|
|
674
676
|
this.config.settings.forEach(settings__value => {
|
|
675
677
|
if (settings__value.scripts !== undefined) {
|
|
676
|
-
Object.entries(settings__value.scripts).forEach(
|
|
677
|
-
let
|
|
678
|
+
Object.entries(settings__value.scripts).forEach(_ref8 => {
|
|
679
|
+
let _ref9 = (0, _slicedToArray2.default)(_ref8, 2),
|
|
680
|
+
scripts__key = _ref9[0],
|
|
681
|
+
scripts__value = _ref9[1];
|
|
678
682
|
if (scripts__key !== provider) {
|
|
679
683
|
return;
|
|
680
684
|
}
|
|
@@ -689,8 +693,10 @@ class chefcookie {
|
|
|
689
693
|
autoAcceptBasicScripts() {
|
|
690
694
|
this.config.settings.forEach(settings__value => {
|
|
691
695
|
if (settings__value.scripts !== undefined && settings__value.initial_tracking === true) {
|
|
692
|
-
Object.entries(settings__value.scripts).forEach(
|
|
693
|
-
let
|
|
696
|
+
Object.entries(settings__value.scripts).forEach(_ref0 => {
|
|
697
|
+
let _ref1 = (0, _slicedToArray2.default)(_ref0, 2),
|
|
698
|
+
scripts__key = _ref1[0],
|
|
699
|
+
scripts__value = _ref1[1];
|
|
694
700
|
this.accept(scripts__key, false);
|
|
695
701
|
});
|
|
696
702
|
}
|
|
@@ -700,8 +706,10 @@ class chefcookie {
|
|
|
700
706
|
let providers = [];
|
|
701
707
|
this.config.settings.forEach(settings__value => {
|
|
702
708
|
if (settings__value.scripts !== undefined) {
|
|
703
|
-
Object.entries(settings__value.scripts).forEach(
|
|
704
|
-
let
|
|
709
|
+
Object.entries(settings__value.scripts).forEach(_ref10 => {
|
|
710
|
+
let _ref11 = (0, _slicedToArray2.default)(_ref10, 2),
|
|
711
|
+
scripts__key = _ref11[0],
|
|
712
|
+
scripts__value = _ref11[1];
|
|
705
713
|
this.accept(scripts__key, false);
|
|
706
714
|
});
|
|
707
715
|
}
|
package/chefcookie.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";"function"!=typeof Object.entries&&(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),"function"!=typeof Object.values&&(Object.values=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r}),Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),function(){function t(){null!==this.parentNode&&this.parentNode.removeChild(this)}[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:t})})}();var t,e,n,r,i,o,c,a={},u={},s={exports:{}};function f(){if(t)return s.exports;t=1;var e=s.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();return"number"==typeof __g&&(__g=e),s.exports}function l(){if(n)return e;n=1;var t={}.hasOwnProperty;return e=function(e,n){return t.call(e,n)}}function h(){return i?r:(i=1,r=function(t){try{return!!t()}catch(t){return!0}})}function p(){return c?o:(c=1,o=!h()(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}var d,g={exports:{}};function v(){if(d)return g.exports;d=1;var t=g.exports={version:"2.6.12"};return"number"==typeof __e&&(__e=t),g.exports}var _,m,y,b,k,w,S,x,E,O,A,L,T,j,C,M={};function P(){return m?_:(m=1,_=function(t){return"object"==typeof t?null!==t:"function"==typeof t})}function F(){if(b)return y;b=1;var t=P();return y=function(e){if(!t(e))throw TypeError(e+" is not an object!");return e}}function I(){if(w)return k;w=1;var t=P(),e=f().document,n=t(e)&&t(e.createElement);return k=function(t){return n?e.createElement(t):{}}}function N(){return x?S:(x=1,S=!p()&&!h()(function(){return 7!=Object.defineProperty(I()("div"),"a",{get:function(){return 7}}).a}))}function $(){if(O)return E;O=1;var t=P();return E=function(e,n){if(!t(e))return e;var r,i;if(n&&"function"==typeof(r=e.toString)&&!t(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!t(i=r.call(e)))return i;if(!n&&"function"==typeof(r=e.toString)&&!t(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}}function q(){if(A)return M;A=1;var t=F(),e=N(),n=$(),r=Object.defineProperty;return M.f=p()?Object.defineProperty:function(i,o,c){if(t(i),o=n(o,!0),t(c),e)try{return r(i,o,c)}catch(t){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(i[o]=c.value),i},M}function D(){return T?L:(T=1,L=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function R(){if(C)return j;C=1;var t=q(),e=D();return j=p()?function(n,r,i){return t.f(n,r,e(1,i))}:function(t,e,n){return t[e]=n,t}}var H,B,U={exports:{}};function z(){if(B)return H;B=1;var t=0,e=Math.random();return H=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++t+e).toString(36))}}var G,V,W,K,Y,X,J,Z,Q,tt,et,nt,rt={exports:{}};function it(){return V?G:(V=1,G=!1)}function ot(){if(W)return rt.exports;W=1;var t=v(),e=f(),n="__core-js_shared__",r=e[n]||(e[n]={});return(rt.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:t.version,mode:it()?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"}),rt.exports}function ct(){if(X)return U.exports;X=1;var t=f(),e=R(),n=l(),r=z()("src"),i=Y?K:(Y=1,K=ot()("native-function-to-string",Function.toString)),o="toString",c=(""+i).split(o);return v().inspectSource=function(t){return i.call(t)},(U.exports=function(i,o,a,u){var s="function"==typeof a;s&&(n(a,"name")||e(a,"name",o)),i[o]!==a&&(s&&(n(a,r)||e(a,r,i[o]?""+i[o]:c.join(String(o)))),i===t?i[o]=a:u?i[o]?i[o]=a:e(i,o,a):(delete i[o],e(i,o,a)))})(Function.prototype,o,function(){return"function"==typeof this&&this[r]||i.call(this)}),U.exports}function at(){return Z?J:(Z=1,J=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t})}function ut(){if(tt)return Q;tt=1;var t=at();return Q=function(e,n,r){if(t(e),void 0===n)return e;switch(r){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,i){return e.call(n,t,r,i)}}return function(){return e.apply(n,arguments)}},Q}function st(){if(nt)return et;nt=1;var t=f(),e=v(),n=R(),r=ct(),i=ut(),o="prototype",c=function(a,u,s){var f,l,h,p,d=a&c.F,g=a&c.G,v=a&c.S,_=a&c.P,m=a&c.B,y=g?t:v?t[u]||(t[u]={}):(t[u]||{})[o],b=g?e:e[u]||(e[u]={}),k=b[o]||(b[o]={});for(f in g&&(s=u),s)h=((l=!d&&y&&void 0!==y[f])?y:s)[f],p=m&&l?i(h,t):_&&"function"==typeof h?i(Function.call,h):h,y&&r(y,f,h,a&c.U),b[f]!=h&&n(b,f,p),_&&k[f]!=h&&(k[f]=h)};return t.core=e,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,et=c}var ft,lt={exports:{}};function ht(){if(ft)return lt.exports;ft=1;var t=z()("meta"),e=P(),n=l(),r=q().f,i=0,o=Object.isExtensible||function(){return!0},c=!h()(function(){return o(Object.preventExtensions({}))}),a=function(e){r(e,t,{value:{i:"O"+ ++i,w:{}}})},u=lt.exports={KEY:t,NEED:!1,fastKey:function(r,i){if(!e(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!n(r,t)){if(!o(r))return"F";if(!i)return"E";a(r)}return r[t].i},getWeak:function(e,r){if(!n(e,t)){if(!o(e))return!0;if(!r)return!1;a(e)}return e[t].w},onFreeze:function(e){return c&&u.NEED&&o(e)&&!n(e,t)&&a(e),e}};return lt.exports}var pt,dt,gt,vt={exports:{}};function _t(){if(pt)return vt.exports;pt=1;var t=ot()("wks"),e=z(),n=f().Symbol,r="function"==typeof n;return(vt.exports=function(i){return t[i]||(t[i]=r&&n[i]||(r?n:e)("Symbol."+i))}).store=t,vt.exports}function mt(){if(gt)return dt;gt=1;var t=q().f,e=l(),n=_t()("toStringTag");return dt=function(r,i,o){r&&!e(r=o?r:r.prototype,n)&&t(r,n,{configurable:!0,value:i})}}var yt,bt,kt,wt,St,xt,Et,Ot,At,Lt,Tt,jt,Ct,Mt,Pt,Ft,It,Nt,$t,qt,Dt,Rt,Ht,Bt,Ut,zt,Gt,Vt={};function Wt(){return yt||(yt=1,Vt.f=_t()),Vt}function Kt(){if(kt)return bt;kt=1;var t=f(),e=v(),n=it(),r=Wt(),i=q().f;return bt=function(o){var c=e.Symbol||(e.Symbol=n?{}:t.Symbol||{});"_"==o.charAt(0)||o in c||i(c,o,{value:r.f(o)})}}function Yt(){if(St)return wt;St=1;var t={}.toString;return wt=function(e){return t.call(e).slice(8,-1)}}function Xt(){if(Et)return xt;Et=1;var t=Yt();return xt=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==t(e)?e.split(""):Object(e)}}function Jt(){return At?Ot:(At=1,Ot=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t})}function Zt(){if(Tt)return Lt;Tt=1;var t=Xt(),e=Jt();return Lt=function(n){return t(e(n))}}function Qt(){if(Ct)return jt;Ct=1;var t=Math.ceil,e=Math.floor;return jt=function(n){return isNaN(n=+n)?0:(n>0?e:t)(n)}}function te(){if(Pt)return Mt;Pt=1;var t=Qt(),e=Math.min;return Mt=function(n){return n>0?e(t(n),9007199254740991):0}}function ee(){if(It)return Ft;It=1;var t=Qt(),e=Math.max,n=Math.min;return Ft=function(r,i){return(r=t(r))<0?e(r+i,0):n(r,i)}}function ne(){if($t)return Nt;$t=1;var t=Zt(),e=te(),n=ee();return Nt=function(r){return function(i,o,c){var a,u=t(i),s=e(u.length),f=n(c,s);if(r&&o!=o){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((r||f in u)&&u[f]===o)return r||f||0;return!r&&-1}}}function re(){if(Dt)return qt;Dt=1;var t=ot()("keys"),e=z();return qt=function(n){return t[n]||(t[n]=e(n))}}function ie(){if(Ht)return Rt;Ht=1;var t=l(),e=Zt(),n=ne()(!1),r=re()("IE_PROTO");return Rt=function(i,o){var c,a=e(i),u=0,s=[];for(c in a)c!=r&&t(a,c)&&s.push(c);for(;o.length>u;)t(a,c=o[u++])&&(~n(s,c)||s.push(c));return s}}function oe(){return Ut?Bt:(Ut=1,Bt="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","))}function ce(){if(Gt)return zt;Gt=1;var t=ie(),e=oe();return zt=Object.keys||function(n){return t(n,e)}}var ae,ue={};function se(){return ae||(ae=1,ue.f=Object.getOwnPropertySymbols),ue}var fe,le,he,pe,de,ge,ve,_e,me,ye,be,ke,we,Se={};function xe(){return fe||(fe=1,Se.f={}.propertyIsEnumerable),Se}function Ee(){if(de)return pe;de=1;var t=Yt();return pe=Array.isArray||function(e){return"Array"==t(e)}}function Oe(){if(ve)return ge;ve=1;var t=Jt();return ge=function(e){return Object(t(e))}}function Ae(){if(me)return _e;me=1;var t=q(),e=F(),n=ce();return _e=p()?Object.defineProperties:function(r,i){e(r);for(var o,c=n(i),a=c.length,u=0;a>u;)t.f(r,o=c[u++],i[o]);return r}}function Le(){if(be)return ye;be=1;var t=f().document;return ye=t&&t.documentElement}function Te(){if(we)return ke;we=1;var t=F(),e=Ae(),n=oe(),r=re()("IE_PROTO"),i=function(){},o="prototype",c=function(){var t,e=I()("iframe"),r=n.length;for(e.style.display="none",Le().appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c[o][n[r]];return c()};return ke=Object.create||function(n,a){var u;return null!==n?(i[o]=t(n),u=new i,i[o]=null,u[r]=n):u=c(),void 0===a?u:e(u,a)}}var je,Ce,Me={},Pe={};function Fe(){if(je)return Pe;je=1;var t=ie(),e=oe().concat("length","prototype");return Pe.f=Object.getOwnPropertyNames||function(n){return t(n,e)},Pe}function Ie(){if(Ce)return Me;Ce=1;var t=Zt(),e=Fe().f,n={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Me.f=function(i){return r&&"[object Window]"==n.call(i)?function(t){try{return e(t)}catch(t){return r.slice()}}(i):e(t(i))},Me}var Ne,$e,qe={};function De(){if(Ne)return qe;Ne=1;var t=xe(),e=D(),n=Zt(),r=$(),i=l(),o=N(),c=Object.getOwnPropertyDescriptor;return qe.f=p()?c:function(a,u){if(a=n(a),u=r(u,!0),o)try{return c(a,u)}catch(t){}if(i(a,u))return e(!t.f.call(a,u),a[u])},qe}function Re(){if($e)return u;$e=1;var t=f(),e=l(),n=p(),r=st(),i=ct(),o=ht().KEY,c=h(),a=ot(),s=mt(),d=z(),g=_t(),v=Wt(),_=Kt(),m=function(){if(he)return le;he=1;var t=ce(),e=se(),n=xe();return le=function(r){var i=t(r),o=e.f;if(o)for(var c,a=o(r),u=n.f,s=0;a.length>s;)u.call(r,c=a[s++])&&i.push(c);return i}}(),y=Ee(),b=F(),k=P(),w=Oe(),S=Zt(),x=$(),E=D(),O=Te(),A=Ie(),L=De(),T=se(),j=q(),C=ce(),M=L.f,I=j.f,N=A.f,H=t.Symbol,B=t.JSON,U=B&&B.stringify,G="prototype",V=g("_hidden"),W=g("toPrimitive"),K={}.propertyIsEnumerable,Y=a("symbol-registry"),X=a("symbols"),J=a("op-symbols"),Z=Object[G],Q="function"==typeof H&&!!T.f,tt=t.QObject,et=!tt||!tt[G]||!tt[G].findChild,nt=n&&c(function(){return 7!=O(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=M(Z,e);r&&delete Z[e],I(t,e,n),r&&t!==Z&&I(Z,e,r)}:I,rt=function(t){var e=X[t]=O(H[G]);return e._k=t,e},at=Q&&"symbol"==typeof H.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof H},ut=function(t,n,r){return t===Z&&ut(J,n,r),b(t),n=x(n,!0),b(r),e(X,n)?(r.enumerable?(e(t,V)&&t[V][n]&&(t[V][n]=!1),r=O(r,{enumerable:E(0,!1)})):(e(t,V)||I(t,V,E(1,{})),t[V][n]=!0),nt(t,n,r)):I(t,n,r)},ft=function(t,e){b(t);for(var n,r=m(e=S(e)),i=0,o=r.length;o>i;)ut(t,n=r[i++],e[n]);return t},lt=function(t){var n=K.call(this,t=x(t,!0));return!(this===Z&&e(X,t)&&!e(J,t))&&(!(n||!e(this,t)||!e(X,t)||e(this,V)&&this[V][t])||n)},pt=function(t,n){if(t=S(t),n=x(n,!0),t!==Z||!e(X,n)||e(J,n)){var r=M(t,n);return!r||!e(X,n)||e(t,V)&&t[V][n]||(r.enumerable=!0),r}},dt=function(t){for(var n,r=N(S(t)),i=[],c=0;r.length>c;)e(X,n=r[c++])||n==V||n==o||i.push(n);return i},gt=function(t){for(var n,r=t===Z,i=N(r?J:S(t)),o=[],c=0;i.length>c;)!e(X,n=i[c++])||r&&!e(Z,n)||o.push(X[n]);return o};Q||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),r=function(n){this===Z&&r.call(J,n),e(this,V)&&e(this[V],t)&&(this[V][t]=!1),nt(this,t,E(1,n))};return n&&et&&nt(Z,t,{configurable:!0,set:r}),rt(t)},i(H[G],"toString",function(){return this._k}),L.f=pt,j.f=ut,Fe().f=A.f=dt,xe().f=lt,T.f=gt,n&&!it()&&i(Z,"propertyIsEnumerable",lt,!0),v.f=function(t){return rt(g(t))}),r(r.G+r.W+r.F*!Q,{Symbol:H});for(var vt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),yt=0;vt.length>yt;)g(vt[yt++]);for(var bt=C(g.store),kt=0;bt.length>kt;)_(bt[kt++]);r(r.S+r.F*!Q,"Symbol",{for:function(t){return e(Y,t+="")?Y[t]:Y[t]=H(t)},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol!");for(var e in Y)if(Y[e]===t)return e},useSetter:function(){et=!0},useSimple:function(){et=!1}}),r(r.S+r.F*!Q,"Object",{create:function(t,e){return void 0===e?O(t):ft(O(t),e)},defineProperty:ut,defineProperties:ft,getOwnPropertyDescriptor:pt,getOwnPropertyNames:dt,getOwnPropertySymbols:gt});var wt=c(function(){T.f(1)});return r(r.S+r.F*wt,"Object",{getOwnPropertySymbols:function(t){return T.f(w(t))}}),B&&r(r.S+r.F*(!Q||c(function(){var t=H();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(k(e)||void 0!==t)&&!at(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!at(e))return e}),r[1]=e,U.apply(B,r)}}),H[G][W]||R()(H[G],W,H[G].valueOf),s(H,"Symbol"),s(Math,"Math",!0),s(t.JSON,"JSON",!0),u}var He,Be={};var Ue,ze={};var Ge,Ve={};var We,Ke,Ye,Xe={};function Je(){if(Ke)return We;Ke=1;var t=st(),e=v(),n=h();return We=function(r,i){var o=(e.Object||{})[r]||Object[r],c={};c[r]=i(o),t(t.S+t.F*n(function(){o(1)}),"Object",c)}}var Ze,Qe,tn,en={};function nn(){if(Qe)return Ze;Qe=1;var t=l(),e=Oe(),n=re()("IE_PROTO"),r=Object.prototype;return Ze=Object.getPrototypeOf||function(i){return i=e(i),t(i,n)?i[n]:"function"==typeof i.constructor&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?r:null}}var rn,on={};var cn;var an,un={};var sn,fn={};var ln,hn={};var pn,dn={};var gn,vn={};var _n,mn={};var yn,bn,kn,wn={};function Sn(){if(bn)return yn;bn=1;var t=p(),e=ce(),n=se(),r=xe(),i=Oe(),o=Xt(),c=Object.assign;return yn=!c||h()(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(c,a){for(var u=i(c),s=arguments.length,f=1,l=n.f,h=r.f;s>f;)for(var p,d=o(arguments[f++]),g=l?e(d).concat(l(d)):e(d),v=g.length,_=0;v>_;)p=g[_++],t&&!h.call(d,p)||(u[p]=d[p]);return u}:c,yn}var xn,En,On,An={};function Ln(){return En?xn:(En=1,xn=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}var Tn,jn,Cn,Mn={};function Pn(){if(jn)return Tn;jn=1;var t=P(),e=F(),n=function(n,r){if(e(n),!t(r)&&null!==r)throw TypeError(r+": can't set as prototype!")};return Tn={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=ut()(Function.call,De().f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return n(t,i),e?t.__proto__=i:r(t,i),t}}({},!1):void 0),check:n}}var Fn,In,Nn,$n={};function qn(){if(In)return Fn;In=1;var t=Yt(),e=_t()("toStringTag"),n="Arguments"==t(function(){return arguments}());return Fn=function(r){var i,o,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(o=function(t,e){try{return t[e]}catch(t){}}(i=Object(r),e))?o:n?t(i):"Object"==(c=t(i))&&"function"==typeof i.callee?"Arguments":c}}var Dn,Rn,Hn,Bn,Un,zn={};function Gn(){return Rn?Dn:(Rn=1,Dn=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)})}function Vn(){if(Bn)return Hn;Bn=1;var t=at(),e=P(),n=Gn(),r=[].slice,i={};return Hn=Function.bind||function(o){var c=t(this),a=r.call(arguments,1),u=function(){var t=a.concat(r.call(arguments));return this instanceof u?function(t,e,n){if(!(e in i)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";i[e]=Function("F,a","return new F("+r.join(",")+")")}return i[e](t,n)}(c,t.length,t):n(c,t,o)};return e(c.prototype)&&(u.prototype=c.prototype),u},Hn}var Wn,Kn={};var Yn,Xn={};var Jn,Zn,Qn,tr,er,nr,rr,ir={};function or(){return Zn?Jn:(Zn=1,Jn="\t\n\v\f\r \u2028\u2029\ufeff")}function cr(){if(tr)return Qn;tr=1;var t=st(),e=Jt(),n=h(),r=or(),i="["+r+"]",o=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),a=function(e,i,o){var c={},a=n(function(){return!!r[e]()||"
"!="
"[e]()}),s=c[e]=a?i(u):r[e];o&&(c[o]=s),t(t.P+t.F*a,"String",c)},u=a.trim=function(t,n){return t=String(e(t)),1&n&&(t=t.replace(o,"")),2&n&&(t=t.replace(c,"")),t};return Qn=a}function ar(){if(nr)return er;nr=1;var t=f().parseInt,e=cr().trim,n=or(),r=/^[-+]?0[xX]/;return er=8!==t(n+"08")||22!==t(n+"0x16")?function(n,i){var o=e(String(n),3);return t(o,i>>>0||(r.test(o)?16:10))}:t}var ur,sr,fr,lr={};function hr(){if(sr)return ur;sr=1;var t=f().parseFloat,e=cr().trim;return ur=1/t(or()+"-0")!=-1/0?function(n){var r=e(String(n),3),i=t(r);return 0===i&&"-"==r.charAt(0)?-0:i}:t}var pr,dr,gr,vr={};function _r(){if(dr)return pr;dr=1;var t=P(),e=Pn().set;return pr=function(n,r,i){var o,c=r.constructor;return c!==i&&"function"==typeof c&&(o=c.prototype)!==i.prototype&&t(o)&&e&&e(n,o),n}}var mr,yr,br,kr,wr,Sr={};function xr(){if(yr)return mr;yr=1;var t=Yt();return mr=function(e,n){if("number"!=typeof e&&"Number"!=t(e))throw TypeError(n);return+e}}function Er(){if(kr)return br;kr=1;var t=Qt(),e=Jt();return br=function(n){var r=String(e(this)),i="",o=t(n);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(r+=r))1&o&&(i+=r);return i}}var Or,Ar={};var Lr,Tr={};var jr,Cr={};var Mr,Pr,Fr,Ir={};function Nr(){if(Pr)return Mr;Pr=1;var t=P(),e=Math.floor;return Mr=function(n){return!t(n)&&isFinite(n)&&e(n)===n}}var $r,qr={};var Dr,Rr={};var Hr,Br={};var Ur,zr={};var Gr,Vr={};var Wr,Kr={};var Yr,Xr,Jr,Zr={};function Qr(){return Xr?Yr:(Xr=1,Yr=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)})}var ti,ei={};var ni,ri={};var ii,oi,ci,ai={};function ui(){return oi?ii:(oi=1,ii=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1})}var si,fi={};var li,hi={};var pi,di,gi,vi={};function _i(){if(di)return pi;di=1;var t=Math.expm1;return pi=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:t}var mi,yi,bi,ki={};function wi(){if(yi)return mi;yi=1;var t=ui(),e=Math.pow,n=e(2,-52),r=e(2,-23),i=e(2,127)*(2-r),o=e(2,-126);return mi=Math.fround||function(e){var c,a,u=Math.abs(e),s=t(e);return u<o?s*(u/o/r+1/n-1/n)*o*r:(a=(c=(1+r/n)*u)-(c-u))>i||a!=a?s*(1/0):s*a}}var Si,xi={};var Ei,Oi={};var Ai,Li={};var Ti,ji={};var Ci,Mi={};var Pi,Fi={};var Ii,Ni={};var $i,qi={};var Di,Ri={};var Hi,Bi={};var Ui,zi={};var Gi;var Vi,Wi,Ki,Yi,Xi,Ji,Zi,Qi,to,eo={};function no(){if(Wi)return Vi;Wi=1;var t=Qt(),e=Jt();return Vi=function(n){return function(r,i){var o,c,a=String(e(r)),u=t(i),s=a.length;return u<0||u>=s?n?"":void 0:(o=a.charCodeAt(u))<55296||o>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?n?a.charAt(u):o:n?a.slice(u,u+2):c-56320+(o-55296<<10)+65536}}}function ro(){return Yi?Ki:(Yi=1,Ki={})}function io(){if(Ji)return Xi;Ji=1;var t=Te(),e=D(),n=mt(),r={};return R()(r,_t()("iterator"),function(){return this}),Xi=function(i,o,c){i.prototype=t(r,{next:e(1,c)}),n(i,o+" Iterator")}}function oo(){if(Qi)return Zi;Qi=1;var t=it(),e=st(),n=ct(),r=R(),i=ro(),o=io(),c=mt(),a=nn(),u=_t()("iterator"),s=!([].keys&&"next"in[].keys()),f="keys",l="values",h=function(){return this};return Zi=function(p,d,g,v,_,m,y){o(g,d,v);var b,k,w,S=function(t){if(!s&&t in A)return A[t];switch(t){case f:case l:return function(){return new g(this,t)}}return function(){return new g(this,t)}},x=d+" Iterator",E=_==l,O=!1,A=p.prototype,L=A[u]||A["@@iterator"]||_&&A[_],T=L||S(_),j=_?E?S("entries"):T:void 0,C="Array"==d&&A.entries||L;if(C&&(w=a(C.call(new p)))!==Object.prototype&&w.next&&(c(w,x,!0),t||"function"==typeof w[u]||r(w,u,h)),E&&L&&L.name!==l&&(O=!0,T=function(){return L.call(this)}),t&&!y||!s&&!O&&A[u]||r(A,u,T),i[d]=T,i[x]=h,_)if(b={values:E?T:S(l),keys:m?T:S(f),entries:j},y)for(k in b)k in A||n(A,k,b[k]);else e(e.P+e.F*(s||O),d,b);return b}}var co,ao={};var uo,so,fo,lo,ho,po,go,vo={};function _o(){if(so)return uo;so=1;var t=P(),e=Yt(),n=_t()("match");return uo=function(r){var i;return t(r)&&(void 0!==(i=r[n])?!!i:"RegExp"==e(r))}}function mo(){if(lo)return fo;lo=1;var t=_o(),e=Jt();return fo=function(n,r,i){if(t(r))throw TypeError("String#"+i+" doesn't accept regex!");return String(e(n))}}function yo(){if(po)return ho;po=1;var t=_t()("match");return ho=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,!"/./"[e](n)}catch(t){}}return!0}}var bo,ko={};var wo,So={};var xo,Eo={};var Oo,Ao,Lo;function To(){if(Ao)return Oo;Ao=1;var t=st(),e=h(),n=Jt(),r=/"/g,i=function(t,e,i,o){var c=String(n(t)),a="<"+e;return""!==i&&(a+=" "+i+'="'+String(o).replace(r,""")+'"'),a+">"+c+"</"+e+">"};return Oo=function(n,r){var o={};o[n]=r(i),t(t.P+t.F*e(function(){var t=""[n]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",o)}}var jo;var Co;var Mo;var Po;var Fo;var Io;var No;var $o;var qo;var Do;var Ro;var Ho;var Bo,Uo={};var zo,Go={};var Vo,Wo,Ko,Yo={};function Xo(){if(Ko)return Yo;Ko=1;var t=st(),e=function(){if(Wo)return Vo;Wo=1;var t=h(),e=Date.prototype.getTime,n=Date.prototype.toISOString,r=function(t){return t>9?t:"0"+t};return Vo=t(function(){return"0385-07-25T07:06:39.999Z"!=n.call(new Date(-50000000000001))})||!t(function(){n.call(new Date(NaN))})?function(){if(!isFinite(e.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),i=t.getUTCMilliseconds(),o=n<0?"-":n>9999?"+":"";return o+("00000"+Math.abs(n)).slice(o?-6:-4)+"-"+r(t.getUTCMonth()+1)+"-"+r(t.getUTCDate())+"T"+r(t.getUTCHours())+":"+r(t.getUTCMinutes())+":"+r(t.getUTCSeconds())+"."+(i>99?i:"0"+r(i))+"Z"}:n}();return t(t.P+t.F*(Date.prototype.toISOString!==e),"Date",{toISOString:e}),Yo}var Jo,Zo={};var Qo,tc,ec,nc={};function rc(){if(ec)return nc;ec=1;var t=_t()("toPrimitive"),e=Date.prototype;return t in e||R()(e,t,function(){if(tc)return Qo;tc=1;var t=F(),e=$(),n="number";return Qo=function(r){if("string"!==r&&r!==n&&"default"!==r)throw TypeError("Incorrect hint");return e(t(this),r!=n)}}()),nc}var ic,oc={};var cc,ac,uc,sc,fc,lc,hc,pc,dc,gc,vc,_c={};function mc(){if(ac)return cc;ac=1;var t=F();return cc=function(e,n,r,i){try{return i?n(t(r)[0],r[1]):n(r)}catch(n){var o=e.return;throw void 0!==o&&t(o.call(e)),n}}}function yc(){if(sc)return uc;sc=1;var t=ro(),e=_t()("iterator"),n=Array.prototype;return uc=function(r){return void 0!==r&&(t.Array===r||n[e]===r)}}function bc(){if(lc)return fc;lc=1;var t=q(),e=D();return fc=function(n,r,i){r in n?t.f(n,r,e(0,i)):n[r]=i}}function kc(){if(pc)return hc;pc=1;var t=qn(),e=_t()("iterator"),n=ro();return hc=v().getIteratorMethod=function(r){if(null!=r)return r[e]||r["@@iterator"]||n[t(r)]}}function wc(){if(gc)return dc;gc=1;var t=_t()("iterator"),e=!1;try{var n=[7][t]();n.return=function(){e=!0},Array.from(n,function(){throw 2})}catch(t){}return dc=function(n,r){if(!r&&!e)return!1;var i=!1;try{var o=[7],c=o[t]();c.next=function(){return{done:i=!0}},o[t]=function(){return c},n(o)}catch(t){}return i}}var Sc,xc={};var Ec,Oc,Ac,Lc={};function Tc(){if(Oc)return Ec;Oc=1;var t=h();return Ec=function(e,n){return!!e&&t(function(){n?e.call(null,function(){},1):e.call(null)})}}var jc,Cc={};var Mc,Pc={};var Fc,Ic,Nc,$c,qc,Dc,Rc,Hc={};function Bc(){if($c)return Nc;$c=1;var t=function(){if(Ic)return Fc;Ic=1;var t=P(),e=Ee(),n=_t()("species");return Fc=function(r){var i;return e(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!e(i.prototype)||(i=void 0),t(i)&&null===(i=i[n])&&(i=void 0)),void 0===i?Array:i}}();return Nc=function(e,n){return new(t(e))(n)}}function Uc(){if(Dc)return qc;Dc=1;var t=ut(),e=Xt(),n=Oe(),r=te(),i=Bc();return qc=function(o,c){var a=1==o,u=2==o,s=3==o,f=4==o,l=6==o,h=5==o||l,p=c||i;return function(i,c,d){for(var g,v,_=n(i),m=e(_),y=t(c,d,3),b=r(m.length),k=0,w=a?p(i,b):u?p(i,0):void 0;b>k;k++)if((h||k in m)&&(v=y(g=m[k],k,_),o))if(a)w[k]=v;else if(v)switch(o){case 3:return!0;case 5:return g;case 6:return k;case 2:w.push(g)}else if(f)return!1;return l?-1:s||f?f:w}}}var zc,Gc={};var Vc,Wc={};var Kc,Yc={};var Xc,Jc={};var Zc,Qc,ta,ea={};function na(){if(Qc)return Zc;Qc=1;var t=at(),e=Oe(),n=Xt(),r=te();return Zc=function(i,o,c,a,u){t(o);var s=e(i),f=n(s),l=r(s.length),h=u?l-1:0,p=u?-1:1;if(c<2)for(;;){if(h in f){a=f[h],h+=p;break}if(h+=p,u?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:l>h;h+=p)h in f&&(a=o(a,f[h],h,s));return a}}var ra,ia={};var oa,ca={};var aa,ua={};var sa,fa,la,ha,pa,da={};function ga(){if(fa)return sa;fa=1;var t=Oe(),e=ee(),n=te();return sa=[].copyWithin||function(r,i){var o=t(this),c=n(o.length),a=e(r,c),u=e(i,c),s=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===s?c:e(s,c))-u,c-a),l=1;for(u<a&&a<u+f&&(l=-1,u+=f-1,a+=f-1);f-- >0;)u in o?o[a]=o[u]:delete o[a],a+=l,u+=l;return o},sa}function va(){if(ha)return la;ha=1;var t=_t()("unscopables"),e=Array.prototype;return null==e[t]&&R()(e,t,{}),la=function(n){e[t][n]=!0}}var _a,ma,ya,ba={};function ka(){if(ma)return _a;ma=1;var t=Oe(),e=ee(),n=te();return _a=function(r){for(var i=t(this),o=n(i.length),c=arguments.length,a=e(c>1?arguments[1]:void 0,o),u=c>2?arguments[2]:void 0,s=void 0===u?o:e(u,o);s>a;)i[a++]=r;return i},_a}var wa,Sa={};var xa,Ea={};var Oa,Aa,La,Ta,ja,Ca,Ma;function Pa(){if(Aa)return Oa;Aa=1;var t=f(),e=q(),n=p(),r=_t()("species");return Oa=function(i){var o=t[i];n&&o&&!o[r]&&e.f(o,r,{configurable:!0,get:function(){return this}})}}function Fa(){return ja?Ta:(ja=1,Ta=function(t,e){return{value:e,done:!!t}})}function Ia(){if(Ma)return Ca;Ma=1;var t=va(),e=Fa(),n=ro(),r=Zt();return Ca=oo()(Array,"Array",function(t,e){this._t=r(t),this._i=0,this._k=e},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,e(1)):e(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),n.Arguments=n.Array,t("keys"),t("values"),t("entries"),Ca}var Na,$a,qa,Da={};function Ra(){if($a)return Na;$a=1;var t=F();return Na=function(){var e=t(this),n="";return e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),e.sticky&&(n+="y"),n}}var Ha,Ba,Ua,za={};function Ga(){if(Ba)return Ha;Ba=1;var t,e,n=Ra(),r=RegExp.prototype.exec,i=String.prototype.replace,o=r,c="lastIndex",a=(t=/a/,e=/b*/g,r.call(t,"a"),r.call(e,"a"),0!==t[c]||0!==e[c]),u=void 0!==/()??/.exec("")[1];return(a||u)&&(o=function(t){var e,o,s,f,l=this;return u&&(o=new RegExp("^"+l.source+"$(?!\\s)",n.call(l))),a&&(e=l[c]),s=r.call(l,t),a&&s&&(l[c]=l.global?s.index+s[0].length:e),u&&s&&s.length>1&&i.call(s[0],o,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(s[f]=void 0)}),s}),Ha=o}function Va(){if(Ua)return za;Ua=1;var t=Ga();return st()({target:"RegExp",proto:!0,forced:t!==/./.exec},{exec:t}),za}var Wa,Ka,Ya={},Xa={};function Ja(){return Wa||(Wa=1,p()&&"g"!=/./g.flags&&q().f(RegExp.prototype,"flags",{configurable:!0,get:Ra()})),Xa}var Za,Qa,tu,eu,nu,ru,iu,ou={};function cu(){if(Qa)return Za;Qa=1;var t=no()(!0);return Za=function(e,n,r){return n+(r?t(e,n).length:1)}}function au(){if(eu)return tu;eu=1;var t=qn(),e=RegExp.prototype.exec;return tu=function(n,r){var i=n.exec;if("function"==typeof i){var o=i.call(n,r);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==t(n))throw new TypeError("RegExp#exec called on incompatible receiver");return e.call(n,r)}}function uu(){if(ru)return nu;ru=1,Va();var t=ct(),e=R(),n=h(),r=Jt(),i=_t(),o=Ga(),c=i("species"),a=!n(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),u=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();return nu=function(s,f,l){var h=i(s),p=!n(function(){var t={};return t[h]=function(){return 7},7!=""[s](t)}),d=p?!n(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===s&&(e.constructor={},e.constructor[c]=function(){return e}),e[h](""),!t}):void 0;if(!p||!d||"replace"===s&&!a||"split"===s&&!u){var g=/./[h],v=l(r,h,""[s],function(t,e,n,r,i){return e.exec===o?p&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),_=v[0],m=v[1];t(String.prototype,s,_),e(RegExp.prototype,h,2==f?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}}var su,fu={};var lu,hu={};var pu,du,gu,vu={};function _u(){if(du)return pu;du=1;var t=F(),e=at(),n=_t()("species");return pu=function(r,i){var o,c=t(r).constructor;return void 0===c||null==(o=t(c)[n])?i:e(o)}}var mu,yu,bu={};function ku(){return yu?mu:(yu=1,mu=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t})}var wu,Su,xu,Eu,Ou,Au={exports:{}};function Lu(){if(wu)return Au.exports;wu=1;var t=ut(),e=mc(),n=yc(),r=F(),i=te(),o=kc(),c={},a={},u=Au.exports=function(u,s,f,l,h){var p,d,g,v,_=h?function(){return u}:o(u),m=t(f,l,s?2:1),y=0;if("function"!=typeof _)throw TypeError(u+" is not iterable!");if(n(_)){for(p=i(u.length);p>y;y++)if((v=s?m(r(d=u[y])[0],d[1]):m(u[y]))===c||v===a)return v}else for(g=_.call(u);!(d=g.next()).done;)if((v=e(g,m,d.value,s))===c||v===a)return v};return u.BREAK=c,u.RETURN=a,Au.exports}function Tu(){if(xu)return Su;xu=1;var t,e,n,r=ut(),i=Gn(),o=Le(),c=I(),a=f(),u=a.process,s=a.setImmediate,l=a.clearImmediate,h=a.MessageChannel,p=a.Dispatch,d=0,g={},v="onreadystatechange",_=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},m=function(t){_.call(t.data)};return s&&l||(s=function(e){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return g[++d]=function(){i("function"==typeof e?e:Function(e),n)},t(d),d},l=function(t){delete g[t]},"process"==Yt()(u)?t=function(t){u.nextTick(r(_,t,1))}:p&&p.now?t=function(t){p.now(r(_,t,1))}:h?(n=(e=new h).port2,e.port1.onmessage=m,t=r(n.postMessage,n,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(t=function(t){a.postMessage(t+"","*")},a.addEventListener("message",m,!1)):t=v in c("script")?function(t){o.appendChild(c("script"))[v]=function(){o.removeChild(this),_.call(t)}}:function(t){setTimeout(r(_,t,1),0)}),Su={set:s,clear:l}}var ju,Cu,Mu,Pu,Fu,Iu,Nu,$u,qu,Du,Ru,Hu,Bu,Uu,zu,Gu,Vu,Wu,Ku,Yu,Xu={};function Ju(){if(ju)return Xu;ju=1;var t=at();function e(e){var n,r;this.promise=new e(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=t(n),this.reject=t(r)}return Xu.f=function(t){return new e(t)},Xu}function Zu(){if(Fu)return Pu;Fu=1;var t=f().navigator;return Pu=t&&t.userAgent||""}function Qu(){if(Nu)return Iu;Nu=1;var t=F(),e=P(),n=Ju();return Iu=function(r,i){if(t(r),e(i)&&i.constructor===r)return i;var o=n.f(r);return(0,o.resolve)(i),o.promise}}function ts(){if(qu)return $u;qu=1;var t=ct();return $u=function(e,n,r){for(var i in n)t(e,i,n[i],r);return e}}function es(){if(Du)return bu;Du=1;var t,e,n,r,i=it(),o=f(),c=ut(),a=qn(),u=st(),s=P(),l=at(),h=ku(),p=Lu(),d=_u(),g=Tu().set,_=function(){if(Ou)return Eu;Ou=1;var t=f(),e=Tu().set,n=t.MutationObserver||t.WebKitMutationObserver,r=t.process,i=t.Promise,o="process"==Yt()(r);return Eu=function(){var c,a,u,s=function(){var t,e;for(o&&(t=r.domain)&&t.exit();c;){e=c.fn,c=c.next;try{e()}catch(t){throw c?u():a=void 0,t}}a=void 0,t&&t.enter()};if(o)u=function(){r.nextTick(s)};else if(!n||t.navigator&&t.navigator.standalone)if(i&&i.resolve){var f=i.resolve(void 0);u=function(){f.then(s)}}else u=function(){e.call(t,s)};else{var l=!0,h=document.createTextNode("");new n(s).observe(h,{characterData:!0}),u=function(){h.data=l=!l}}return function(t){var e={fn:t,next:void 0};a&&(a.next=e),c||(c=e,u()),a=e}}}()(),m=Ju(),y=Mu?Cu:(Mu=1,Cu=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}),b=Zu(),k=Qu(),w="Promise",S=o.TypeError,x=o.process,E=x&&x.versions,O=E&&E.v8||"",A=o[w],L="process"==a(x),T=function(){},j=e=m.f,C=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[_t()("species")]=function(t){t(T,T)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e&&0!==O.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!s(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,i=1==t._s,o=0,c=function(e){var n,o,c,a=i?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{a?(i||(2==t._h&&$(t),t._h=1),!0===a?n=r:(f&&f.enter(),n=a(r),f&&(f.exit(),c=!0)),n===e.promise?s(S("Promise-chain cycle")):(o=M(n))?o.call(n,u,s):u(n)):s(r)}catch(t){f&&!c&&f.exit(),s(t)}};n.length>o;)c(n[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){g.call(o,function(){var e,n,r,i=t._v,c=N(t);if(c&&(e=y(function(){L?x.emit("unhandledRejection",i,t):(n=o.onunhandledrejection)?n({promise:t,reason:i}):(r=o.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=L||N(t)?2:1),t._a=void 0,c&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},$=function(t){g.call(o,function(){var e;L?x.emit("rejectionHandled",t):(e=o.onrejectionhandled)&&e({promise:t,reason:t._v})})},q=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=M(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,c(D,r,1),c(q,r,1))}catch(t){q.call(r,t)}}):(n._v=t,n._s=1,F(n,!1))}catch(t){q.call({_w:n,_d:!1},t)}}};return C||(A=function(e){h(this,A,w,"_h"),l(e),t.call(this);try{e(c(D,this,1),c(q,this,1))}catch(t){q.call(this,t)}},(t=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=ts()(A.prototype,{then:function(t,e){var n=j(d(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),n=function(){var e=new t;this.promise=e,this.resolve=c(D,e,1),this.reject=c(q,e,1)},m.f=j=function(t){return t===A||t===r?new n(t):e(t)}),u(u.G+u.W+u.F*!C,{Promise:A}),mt()(A,w),Pa()(w),r=v()[w],u(u.S+u.F*!C,w,{reject:function(t){var e=j(this);return(0,e.reject)(t),e.promise}}),u(u.S+u.F*(i||!C),w,{resolve:function(t){return k(i&&this===r?A:this,t)}}),u(u.S+u.F*!(C&&wc()(function(t){A.all(t).catch(T)})),w,{all:function(t){var e=this,n=j(e),r=n.resolve,i=n.reject,o=y(function(){var n=[],o=0,c=1;p(t,!1,function(t){var a=o++,u=!1;n.push(void 0),c++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--c||r(n))},i)}),--c||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=j(e),r=n.reject,i=y(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}}),bu}function ns(){if(Hu)return Ru;Hu=1;var t=P();return Ru=function(e,n){if(!t(e)||e._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return e}}function rs(){if(Uu)return Bu;Uu=1;var t=q().f,e=Te(),n=ts(),r=ut(),i=ku(),o=Lu(),c=oo(),a=Fa(),u=Pa(),s=p(),f=ht().fastKey,l=ns(),h=s?"_s":"size",d=function(t,e){var n,r=f(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};return Bu={getConstructor:function(c,a,u,f){var p=c(function(t,n){i(t,p,a,"_i"),t._t=a,t._i=e(null),t._f=void 0,t._l=void 0,t[h]=0,null!=n&&o(n,u,t[f],t)});return n(p.prototype,{clear:function(){for(var t=l(this,a),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var e=l(this,a),n=d(e,t);if(n){var r=n.n,i=n.p;delete e._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),e._f==n&&(e._f=r),e._l==n&&(e._l=i),e[h]--}return!!n},forEach:function(t){l(this,a);for(var e,n=r(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!d(l(this,a),t)}}),s&&t(p.prototype,"size",{get:function(){return l(this,a)[h]}}),p},def:function(t,e,n){var r,i,o=d(t,e);return o?o.v=n:(t._l=o={i:i=f(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[h]++,"F"!==i&&(t._i[i]=o)),t},getEntry:d,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=l(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?a(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,a(1))},n?"entries":"values",!n,!0),u(e)}},Bu}function is(){if(Gu)return zu;Gu=1;var t=f(),e=st(),n=ct(),r=ts(),i=ht(),o=Lu(),c=ku(),a=P(),u=h(),s=wc(),l=mt(),p=_r();return zu=function(f,h,d,g,v,_){var m=t[f],y=m,b=v?"set":"add",k=y&&y.prototype,w={},S=function(t){var e=k[t];n(k,t,"delete"==t||"has"==t?function(t){return!(_&&!a(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return _&&!a(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof y&&(_||k.forEach&&!u(function(){(new y).entries().next()}))){var x=new y,E=x[b](_?{}:-0,1)!=x,O=u(function(){x.has(1)}),A=s(function(t){new y(t)}),L=!_&&u(function(){for(var t=new y,e=5;e--;)t[b](e,e);return!t.has(-0)});A||((y=h(function(t,e){c(t,y,f);var n=p(new m,t,y);return null!=e&&o(e,v,n[b],n),n})).prototype=k,k.constructor=y),(O||L)&&(S("delete"),S("has"),v&&S("get")),(L||E)&&S(b),_&&k.clear&&delete k.clear}else y=g.getConstructor(h,f,v,b),r(y.prototype,d),i.NEED=!0;return l(y,f),w[f]=y,e(e.G+e.W+e.F*(y!=m),w),_||g.setStrong(y,f,v),y}}var os,cs,as,us={exports:{}};function ss(){if(cs)return os;cs=1;var t=ts(),e=ht().getWeak,n=F(),r=P(),i=ku(),o=Lu(),c=Uc(),a=l(),u=ns(),s=c(5),f=c(6),h=0,p=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},g=function(t,e){return s(t.a,function(t){return t[0]===e})};return d.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},os={getConstructor:function(n,c,s,f){var l=n(function(t,e){i(t,l,c,"_i"),t._t=c,t._i=h++,t._l=void 0,null!=e&&o(e,s,t[f],t)});return t(l.prototype,{delete:function(t){if(!r(t))return!1;var n=e(t);return!0===n?p(u(this,c)).delete(t):n&&a(n,this._i)&&delete n[this._i]},has:function(t){if(!r(t))return!1;var n=e(t);return!0===n?p(u(this,c)).has(t):n&&a(n,this._i)}}),l},def:function(t,r,i){var o=e(n(r),!0);return!0===o?p(t).set(r,i):o[t._i]=i,t},ufstore:p}}var fs,ls={};var hs,ps,ds={};function gs(){if(ps)return hs;ps=1;for(var t,e=f(),n=R(),r=z(),i=r("typed_array"),o=r("view"),c=!(!e.ArrayBuffer||!e.DataView),a=c,u=0,s="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");u<9;)(t=e[s[u++]])?(n(t.prototype,i,!0),n(t.prototype,o,!0)):a=!1;return hs={ABV:c,CONSTR:a,TYPED:i,VIEW:o}}var vs,_s,ms,ys,bs={};function ks(){if(_s)return vs;_s=1;var t=Qt(),e=te();return vs=function(n){if(void 0===n)return 0;var r=t(n),i=e(r);if(r!==i)throw RangeError("Wrong length!");return i}}function ws(){return ms||(ms=1,function(t){var e=f(),n=p(),r=it(),i=gs(),o=R(),c=ts(),a=h(),u=ku(),s=Qt(),l=te(),d=ks(),g=Fe().f,v=q().f,_=ka(),m=mt(),y="ArrayBuffer",b="DataView",k="prototype",w="Wrong index!",S=e[y],x=e[b],E=e.Math,O=e.RangeError,A=e.Infinity,L=S,T=E.abs,j=E.pow,C=E.floor,M=E.log,P=E.LN2,F="buffer",I="byteLength",N="byteOffset",$=n?"_b":F,D=n?"_l":I,H=n?"_o":N;function B(t,e,n){var r,i,o,c=new Array(n),a=8*n-e-1,u=(1<<a)-1,s=u>>1,f=23===e?j(2,-24)-j(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===A?(i=t!=t?1:0,r=u):(r=C(M(t)/P),t*(o=j(2,-r))<1&&(r--,o*=2),(t+=r+s>=1?f/o:f*j(2,1-s))*o>=2&&(r++,o/=2),r+s>=u?(i=0,r=u):r+s>=1?(i=(t*o-1)*j(2,e),r+=s):(i=t*j(2,s-1)*j(2,e),r=0));e>=8;c[l++]=255&i,i/=256,e-=8);for(r=r<<e|i,a+=e;a>0;c[l++]=255&r,r/=256,a-=8);return c[--l]|=128*h,c}function U(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,c=o>>1,a=i-7,u=n-1,s=t[u--],f=127&s;for(s>>=7;a>0;f=256*f+t[u],u--,a-=8);for(r=f&(1<<-a)-1,f>>=-a,a+=e;a>0;r=256*r+t[u],u--,a-=8);if(0===f)f=1-c;else{if(f===o)return r?NaN:s?-A:A;r+=j(2,e),f-=c}return(s?-1:1)*r*j(2,f-e)}function z(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function G(t){return[255&t]}function V(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function K(t){return B(t,52,8)}function Y(t){return B(t,23,4)}function X(t,e,n){v(t[k],e,{get:function(){return this[n]}})}function J(t,e,n,r){var i=d(+n);if(i+e>t[D])throw O(w);var o=t[$]._b,c=i+t[H],a=o.slice(c,c+e);return r?a:a.reverse()}function Z(t,e,n,r,i,o){var c=d(+n);if(c+e>t[D])throw O(w);for(var a=t[$]._b,u=c+t[H],s=r(+i),f=0;f<e;f++)a[u+f]=s[o?f:e-f-1]}if(i.ABV){if(!a(function(){S(1)})||!a(function(){new S(-1)})||a(function(){return new S,new S(1.5),new S(NaN),S.name!=y})){for(var Q,tt=(S=function(t){return u(this,S),new L(d(t))})[k]=L[k],et=g(L),nt=0;et.length>nt;)(Q=et[nt++])in S||o(S,Q,L[Q]);r||(tt.constructor=S)}var rt=new x(new S(2)),ot=x[k].setInt8;rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||c(x[k],{setInt8:function(t,e){ot.call(this,t,e<<24>>24)},setUint8:function(t,e){ot.call(this,t,e<<24>>24)}},!0)}else S=function(t){u(this,S,y);var e=d(t);this._b=_.call(new Array(e),0),this[D]=e},x=function(t,e,n){u(this,x,b),u(t,S,b);var r=t[D],i=s(e);if(i<0||i>r)throw O("Wrong offset!");if(i+(n=void 0===n?r-i:l(n))>r)throw O("Wrong length!");this[$]=t,this[H]=i,this[D]=n},n&&(X(S,I,"_l"),X(x,F,"_b"),X(x,I,"_l"),X(x,N,"_o")),c(x[k],{getInt8:function(t){return J(this,1,t)[0]<<24>>24},getUint8:function(t){return J(this,1,t)[0]},getInt16:function(t){var e=J(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=J(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return z(J(this,4,t,arguments[1]))},getUint32:function(t){return z(J(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return U(J(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return U(J(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Z(this,1,t,G,e)},setUint8:function(t,e){Z(this,1,t,G,e)},setInt16:function(t,e){Z(this,2,t,V,e,arguments[2])},setUint16:function(t,e){Z(this,2,t,V,e,arguments[2])},setInt32:function(t,e){Z(this,4,t,W,e,arguments[2])},setUint32:function(t,e){Z(this,4,t,W,e,arguments[2])},setFloat32:function(t,e){Z(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){Z(this,8,t,K,e,arguments[2])}});m(S,y),m(x,b),o(x[k],i.VIEW,!0),t[y]=S,t[b]=x}(bs)),bs}var Ss,xs={};var Es,Os,As={exports:{}};function Ls(){if(Es)return As.exports;if(Es=1,p()){var t=it(),e=f(),n=h(),r=st(),i=gs(),o=ws(),c=ut(),a=ku(),u=D(),s=R(),d=ts(),g=Qt(),v=te(),_=ks(),m=ee(),y=$(),b=l(),k=qn(),w=P(),S=Oe(),x=yc(),E=Te(),O=nn(),A=Fe().f,L=kc(),T=z(),j=_t(),C=Uc(),M=ne(),F=_u(),I=Ia(),N=ro(),H=wc(),B=Pa(),U=ka(),G=ga(),V=q(),W=De(),K=V.f,Y=W.f,X=e.RangeError,J=e.TypeError,Z=e.Uint8Array,Q="ArrayBuffer",tt="Shared"+Q,et="BYTES_PER_ELEMENT",nt="prototype",rt=Array[nt],ot=o.ArrayBuffer,ct=o.DataView,at=C(0),ft=C(2),lt=C(3),ht=C(4),pt=C(5),dt=C(6),gt=M(!0),vt=M(!1),mt=I.values,yt=I.keys,bt=I.entries,kt=rt.lastIndexOf,wt=rt.reduce,St=rt.reduceRight,xt=rt.join,Et=rt.sort,Ot=rt.slice,At=rt.toString,Lt=rt.toLocaleString,Tt=j("iterator"),jt=j("toStringTag"),Ct=T("typed_constructor"),Mt=T("def_constructor"),Pt=i.CONSTR,Ft=i.TYPED,It=i.VIEW,Nt="Wrong length!",$t=C(1,function(t,e){return Bt(F(t,t[Mt]),e)}),qt=n(function(){return 1===new Z(new Uint16Array([1]).buffer)[0]}),Dt=!!Z&&!!Z[nt].set&&n(function(){new Z(1).set({})}),Rt=function(t,e){var n=g(t);if(n<0||n%e)throw X("Wrong offset!");return n},Ht=function(t){if(w(t)&&Ft in t)return t;throw J(t+" is not a typed array!")},Bt=function(t,e){if(!w(t)||!(Ct in t))throw J("It is not a typed array constructor!");return new t(e)},Ut=function(t,e){return zt(F(t,t[Mt]),e)},zt=function(t,e){for(var n=0,r=e.length,i=Bt(t,r);r>n;)i[n]=e[n++];return i},Gt=function(t,e,n){K(t,e,{get:function(){return this._d[n]}})},Vt=function(t){var e,n,r,i,o,a,u=S(t),s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,h=L(u);if(null!=h&&!x(h)){for(a=h.call(u),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);u=r}for(l&&s>2&&(f=c(f,arguments[2],2)),e=0,n=v(u.length),i=Bt(this,n);n>e;e++)i[e]=l?f(u[e],e):u[e];return i},Wt=function(){for(var t=0,e=arguments.length,n=Bt(this,e);e>t;)n[t]=arguments[t++];return n},Kt=!!Z&&n(function(){Lt.call(new Z(1))}),Yt=function(){return Lt.apply(Kt?Ot.call(Ht(this)):Ht(this),arguments)},Xt={copyWithin:function(t,e){return G.call(Ht(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return ht(Ht(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return U.apply(Ht(this),arguments)},filter:function(t){return Ut(this,ft(Ht(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return pt(Ht(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return dt(Ht(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){at(Ht(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return vt(Ht(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return gt(Ht(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return xt.apply(Ht(this),arguments)},lastIndexOf:function(t){return kt.apply(Ht(this),arguments)},map:function(t){return $t(Ht(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return wt.apply(Ht(this),arguments)},reduceRight:function(t){return St.apply(Ht(this),arguments)},reverse:function(){for(var t,e=this,n=Ht(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return lt(Ht(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return Et.call(Ht(this),t)},subarray:function(t,e){var n=Ht(this),r=n.length,i=m(t,r);return new(F(n,n[Mt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-i))}},Jt=function(t,e){return Ut(this,Ot.call(Ht(this),t,e))},Zt=function(t){Ht(this);var e=Rt(arguments[1],1),n=this.length,r=S(t),i=v(r.length),o=0;if(i+e>n)throw X(Nt);for(;o<i;)this[e+o]=r[o++]},re={entries:function(){return bt.call(Ht(this))},keys:function(){return yt.call(Ht(this))},values:function(){return mt.call(Ht(this))}},ie=function(t,e){return w(t)&&t[Ft]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},oe=function(t,e){return ie(t,e=y(e,!0))?u(2,t[e]):Y(t,e)},ce=function(t,e,n){return!(ie(t,e=y(e,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?K(t,e,n):(t[e]=n.value,t)};Pt||(W.f=oe,V.f=ce),r(r.S+r.F*!Pt,"Object",{getOwnPropertyDescriptor:oe,defineProperty:ce}),n(function(){At.call({})})&&(At=Lt=function(){return xt.call(this)});var ae=d({},Xt);d(ae,re),s(ae,Tt,re.values),d(ae,{slice:Jt,set:Zt,constructor:function(){},toString:At,toLocaleString:Yt}),Gt(ae,"buffer","b"),Gt(ae,"byteOffset","o"),Gt(ae,"byteLength","l"),Gt(ae,"length","e"),K(ae,jt,{get:function(){return this[Ft]}}),As.exports=function(o,c,u,f){var l=o+((f=!!f)?"Clamped":"")+"Array",h="get"+o,p="set"+o,d=e[l],g=d||{},m=d&&O(d),y=!d||!i.ABV,b={},S=d&&d[nt],x=function(t,e){K(t,e,{get:function(){return function(t,e){var n=t._d;return n.v[h](e*c+n.o,qt)}(this,e)},set:function(t){return function(t,e,n){var r=t._d;f&&(n=(n=Math.round(n))<0?0:n>255?255:255&n),r.v[p](e*c+r.o,n,qt)}(this,e,t)},enumerable:!0})};y?(d=u(function(t,e,n,r){a(t,d,l,"_d");var i,o,u,f,h=0,p=0;if(w(e)){if(!(e instanceof ot||(f=k(e))==Q||f==tt))return Ft in e?zt(d,e):Vt.call(d,e);i=e,p=Rt(n,c);var g=e.byteLength;if(void 0===r){if(g%c)throw X(Nt);if((o=g-p)<0)throw X(Nt)}else if((o=v(r)*c)+p>g)throw X(Nt);u=o/c}else u=_(e),i=new ot(o=u*c);for(s(t,"_d",{b:i,o:p,l:o,e:u,v:new ct(i)});h<u;)x(t,h++)}),S=d[nt]=E(ae),s(S,"constructor",d)):n(function(){d(1)})&&n(function(){new d(-1)})&&H(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=u(function(t,e,n,r){var i;return a(t,d,l),w(e)?e instanceof ot||(i=k(e))==Q||i==tt?void 0!==r?new g(e,Rt(n,c),r):void 0!==n?new g(e,Rt(n,c)):new g(e):Ft in e?zt(d,e):Vt.call(d,e):new g(_(e))}),at(m!==Function.prototype?A(g).concat(A(m)):A(g),function(t){t in d||s(d,t,g[t])}),d[nt]=S,t||(S.constructor=d));var L=S[Tt],T=!!L&&("values"==L.name||null==L.name),j=re.values;s(d,Ct,!0),s(S,Ft,l),s(S,It,!0),s(S,Mt,d),(f?new d(1)[jt]==l:jt in S)||K(S,jt,{get:function(){return l}}),b[l]=d,r(r.G+r.W+r.F*(d!=g),b),r(r.S,l,{BYTES_PER_ELEMENT:c}),r(r.S+r.F*n(function(){g.of.call(d,1)}),l,{from:Vt,of:Wt}),et in S||s(S,et,c),r(r.P,l,Xt),B(l),r(r.P+r.F*Dt,l,{set:Zt}),r(r.P+r.F*!T,l,re),t||S.toString==At||(S.toString=At),r(r.P+r.F*n(function(){new d(1).slice()}),l,{slice:Jt}),r(r.P+r.F*(n(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!n(function(){S.toLocaleString.call([1,2])})),l,{toLocaleString:Yt}),N[l]=T?L:j,t||T||s(S,Tt,j)}}else As.exports=function(){};return As.exports}var Ts;var js;var Cs;var Ms;var Ps;var Fs;var Is;var Ns;var $s,qs={};var Ds,Rs={};var Hs,Bs={};var Us,zs={};var Gs,Vs={};var Ws,Ks={};var Ys,Xs={};var Js,Zs={};var Qs,tf={};var ef,nf={};var rf,of,cf,af={};function uf(){if(of)return rf;of=1;var t=Fe(),e=se(),n=F(),r=f().Reflect;return rf=r&&r.ownKeys||function(r){var i=t.f(n(r)),o=e.f;return o?i.concat(o(r)):i}}var sf,ff={};var lf,hf={};var pf,df,gf,vf={};function _f(){return gf?df:(gf=1,Re(),function(){if(He)return Be;He=1;var t=st();t(t.S,"Object",{create:Te()})}(),function(){if(Ue)return ze;Ue=1;var t=st();t(t.S+t.F*!p(),"Object",{defineProperty:q().f})}(),function(){if(Ge)return Ve;Ge=1;var t=st();t(t.S+t.F*!p(),"Object",{defineProperties:Ae()})}(),function(){if(Ye)return Xe;Ye=1;var t=Zt(),e=De().f;Je()("getOwnPropertyDescriptor",function(){return function(n,r){return e(t(n),r)}})}(),function(){if(tn)return en;tn=1;var t=Oe(),e=nn();Je()("getPrototypeOf",function(){return function(n){return e(t(n))}})}(),function(){if(rn)return on;rn=1;var t=Oe(),e=ce();Je()("keys",function(){return function(n){return e(t(n))}})}(),cn||(cn=1,Je()("getOwnPropertyNames",function(){return Ie().f})),function(){if(an)return un;an=1;var t=P(),e=ht().onFreeze;Je()("freeze",function(n){return function(r){return n&&t(r)?n(e(r)):r}})}(),function(){if(sn)return fn;sn=1;var t=P(),e=ht().onFreeze;Je()("seal",function(n){return function(r){return n&&t(r)?n(e(r)):r}})}(),function(){if(ln)return hn;ln=1;var t=P(),e=ht().onFreeze;Je()("preventExtensions",function(n){return function(r){return n&&t(r)?n(e(r)):r}})}(),function(){if(pn)return dn;pn=1;var t=P();Je()("isFrozen",function(e){return function(n){return!t(n)||!!e&&e(n)}})}(),function(){if(gn)return vn;gn=1;var t=P();Je()("isSealed",function(e){return function(n){return!t(n)||!!e&&e(n)}})}(),function(){if(_n)return mn;_n=1;var t=P();Je()("isExtensible",function(e){return function(n){return!!t(n)&&(!e||e(n))}})}(),function(){if(kn)return wn;kn=1;var t=st();t(t.S+t.F,"Object",{assign:Sn()})}(),function(){if(On)return An;On=1;var t=st();t(t.S,"Object",{is:Ln()})}(),function(){if(Cn)return Mn;Cn=1;var t=st();t(t.S,"Object",{setPrototypeOf:Pn().set})}(),function(){if(Nn)return $n;Nn=1;var t=qn(),e={};e[_t()("toStringTag")]="z",e+""!="[object z]"&&ct()(Object.prototype,"toString",function(){return"[object "+t(this)+"]"},!0)}(),function(){if(Un)return zn;Un=1;var t=st();t(t.P,"Function",{bind:Vn()})}(),function(){if(Wn)return Kn;Wn=1;var t=q().f,e=Function.prototype,n=/^\s*function ([^ (]*)/,r="name";r in e||p()&&t(e,r,{configurable:!0,get:function(){try{return(""+this).match(n)[1]}catch(t){return""}}})}(),function(){if(Yn)return Xn;Yn=1;var t=P(),e=nn(),n=_t()("hasInstance"),r=Function.prototype;n in r||q().f(r,n,{value:function(n){if("function"!=typeof this||!t(n))return!1;if(!t(this.prototype))return n instanceof this;for(;n=e(n);)if(this.prototype===n)return!0;return!1}})}(),function(){if(rr)return ir;rr=1;var t=st(),e=ar();t(t.G+t.F*(parseInt!=e),{parseInt:e})}(),function(){if(fr)return lr;fr=1;var t=st(),e=hr();t(t.G+t.F*(parseFloat!=e),{parseFloat:e})}(),function(){if(gr)return vr;gr=1;var t=f(),e=l(),n=Yt(),r=_r(),i=$(),o=h(),c=Fe().f,a=De().f,u=q().f,s=cr().trim,d="Number",g=t[d],v=g,_=g.prototype,m=n(Te()(_))==d,y="trim"in String.prototype,b=function(t){var e=i(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,c=(e=y?e.trim():s(e,3)).charCodeAt(0);if(43===c||45===c){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===c){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,u=e.slice(2),f=0,l=u.length;f<l;f++)if((a=u.charCodeAt(f))<48||a>o)return NaN;return parseInt(u,r)}}return+e};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof g&&(m?o(function(){_.valueOf.call(i)}):n(i)!=d)?r(new v(b(e)),i,g):b(e)};for(var k,w=p()?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)e(v,k=w[S])&&!e(g,k)&&u(g,k,a(v,k));g.prototype=_,_.constructor=g,ct()(t,d,g)}}(),function(){if(wr)return Sr;wr=1;var t=st(),e=Qt(),n=xr(),r=Er(),i=1..toFixed,o=Math.floor,c=[0,0,0,0,0,0],a="Number.toFixed: incorrect invocation!",u="0",s=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=o(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=o(n/t),n=n%t*1e7},l=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+r.call(u,7-n.length)+n}return e},p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)};t(t.P+t.F*(!!i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!h()(function(){i.call({})})),"Number",{toFixed:function(t){var i,o,c,h,d=n(this,a),g=e(t),v="",_=u;if(g<0||g>20)throw RangeError(a);if(d!=d)return"NaN";if(d<=-1e21||d>=1e21)return String(d);if(d<0&&(v="-",d=-d),d>1e-21)if(i=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(d*p(2,69,1))-69,o=i<0?d*p(2,-i,1):d/p(2,i,1),o*=4503599627370496,(i=52-i)>0){for(s(0,o),c=g;c>=7;)s(1e7,0),c-=7;for(s(p(10,c,1),0),c=i-1;c>=23;)f(1<<23),c-=23;f(1<<c),s(1,1),f(2),_=l()}else s(0,o),s(1<<-i,0),_=l()+r.call(u,g);return g>0?v+((h=_.length)<=g?"0."+r.call(u,g-h)+_:_.slice(0,h-g)+"."+_.slice(h-g)):v+_}})}(),function(){if(Or)return Ar;Or=1;var t=st(),e=h(),n=xr(),r=1..toPrecision;t(t.P+t.F*(e(function(){return"1"!==r.call(1,void 0)})||!e(function(){r.call({})})),"Number",{toPrecision:function(t){var e=n(this,"Number#toPrecision: incorrect invocation!");return void 0===t?r.call(e):r.call(e,t)}})}(),function(){if(Lr)return Tr;Lr=1;var t=st();t(t.S,"Number",{EPSILON:Math.pow(2,-52)})}(),function(){if(jr)return Cr;jr=1;var t=st(),e=f().isFinite;t(t.S,"Number",{isFinite:function(t){return"number"==typeof t&&e(t)}})}(),function(){if(Fr)return Ir;Fr=1;var t=st();t(t.S,"Number",{isInteger:Nr()})}(),function(){if($r)return qr;$r=1;var t=st();t(t.S,"Number",{isNaN:function(t){return t!=t}})}(),function(){if(Dr)return Rr;Dr=1;var t=st(),e=Nr(),n=Math.abs;t(t.S,"Number",{isSafeInteger:function(t){return e(t)&&n(t)<=9007199254740991}})}(),function(){if(Hr)return Br;Hr=1;var t=st();t(t.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})}(),function(){if(Ur)return zr;Ur=1;var t=st();t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})}(),function(){if(Gr)return Vr;Gr=1;var t=st(),e=hr();t(t.S+t.F*(Number.parseFloat!=e),"Number",{parseFloat:e})}(),function(){if(Wr)return Kr;Wr=1;var t=st(),e=ar();t(t.S+t.F*(Number.parseInt!=e),"Number",{parseInt:e})}(),function(){if(Jr)return Zr;Jr=1;var t=st(),e=Qr(),n=Math.sqrt,r=Math.acosh;t(t.S+t.F*!(r&&710==Math.floor(r(Number.MAX_VALUE))&&r(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:e(t-1+n(t-1)*n(t+1))}})}(),function(){if(ti)return ei;ti=1;var t=st(),e=Math.asinh;t(t.S+t.F*!(e&&1/e(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})}(),function(){if(ni)return ri;ni=1;var t=st(),e=Math.atanh;t(t.S+t.F*!(e&&1/e(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})}(),function(){if(ci)return ai;ci=1;var t=st(),e=ui();t(t.S,"Math",{cbrt:function(t){return e(t=+t)*Math.pow(Math.abs(t),1/3)}})}(),function(){if(si)return fi;si=1;var t=st();t(t.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})}(),function(){if(li)return hi;li=1;var t=st(),e=Math.exp;t(t.S,"Math",{cosh:function(t){return(e(t=+t)+e(-t))/2}})}(),function(){if(gi)return vi;gi=1;var t=st(),e=_i();t(t.S+t.F*(e!=Math.expm1),"Math",{expm1:e})}(),function(){if(bi)return ki;bi=1;var t=st();t(t.S,"Math",{fround:wi()})}(),function(){if(Si)return xi;Si=1;var t=st(),e=Math.abs;t(t.S,"Math",{hypot:function(t,n){for(var r,i,o=0,c=0,a=arguments.length,u=0;c<a;)u<(r=e(arguments[c++]))?(o=o*(i=u/r)*i+1,u=r):o+=r>0?(i=r/u)*i:r;return u===1/0?1/0:u*Math.sqrt(o)}})}(),function(){if(Ei)return Oi;Ei=1;var t=st(),e=Math.imul;t(t.S+t.F*h()(function(){return-5!=e(4294967295,5)||2!=e.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,c=n&i;return 0|o*c+((n&r>>>16)*c+o*(n&i>>>16)<<16>>>0)}})}(),function(){if(Ai)return Li;Ai=1;var t=st();t(t.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})}(),function(){if(Ti)return ji;Ti=1;var t=st();t(t.S,"Math",{log1p:Qr()})}(),function(){if(Ci)return Mi;Ci=1;var t=st();t(t.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})}(),function(){if(Pi)return Fi;Pi=1;var t=st();t(t.S,"Math",{sign:ui()})}(),function(){if(Ii)return Ni;Ii=1;var t=st(),e=_i(),n=Math.exp;t(t.S+t.F*h()(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(e(t)-e(-t))/2:(n(t-1)-n(-t-1))*(Math.E/2)}})}(),function(){if($i)return qi;$i=1;var t=st(),e=_i(),n=Math.exp;t(t.S,"Math",{tanh:function(t){var r=e(t=+t),i=e(-t);return r==1/0?1:i==1/0?-1:(r-i)/(n(t)+n(-t))}})}(),function(){if(Di)return Ri;Di=1;var t=st();t(t.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})}(),function(){if(Hi)return Bi;Hi=1;var t=st(),e=ee(),n=String.fromCharCode,r=String.fromCodePoint;t(t.S+t.F*(!!r&&1!=r.length),"String",{fromCodePoint:function(t){for(var r,i=[],o=arguments.length,c=0;o>c;){if(r=+arguments[c++],e(r,1114111)!==r)throw RangeError(r+" is not a valid code point");i.push(r<65536?n(r):n(55296+((r-=65536)>>10),r%1024+56320))}return i.join("")}})}(),function(){if(Ui)return zi;Ui=1;var t=st(),e=Zt(),n=te();t(t.S,"String",{raw:function(t){for(var r=e(t.raw),i=n(r.length),o=arguments.length,c=[],a=0;i>a;)c.push(String(r[a++])),a<o&&c.push(String(arguments[a]));return c.join("")}})}(),Gi||(Gi=1,cr()("trim",function(t){return function(){return t(this,3)}})),function(){if(to)return eo;to=1;var t=no()(!0);oo()(String,"String",function(t){this._t=String(t),this._i=0},function(){var e,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(e=t(n,r),this._i+=e.length,{value:e,done:!1})})}(),function(){if(co)return ao;co=1;var t=st(),e=no()(!1);t(t.P,"String",{codePointAt:function(t){return e(this,t)}})}(),function(){if(go)return vo;go=1;var t=st(),e=te(),n=mo(),r="endsWith",i=""[r];t(t.P+t.F*yo()(r),"String",{endsWith:function(t){var o=n(this,t,r),c=arguments.length>1?arguments[1]:void 0,a=e(o.length),u=void 0===c?a:Math.min(e(c),a),s=String(t);return i?i.call(o,s,u):o.slice(u-s.length,u)===s}})}(),function(){if(bo)return ko;bo=1;var t=st(),e=mo(),n="includes";t(t.P+t.F*yo()(n),"String",{includes:function(t){return!!~e(this,t,n).indexOf(t,arguments.length>1?arguments[1]:void 0)}})}(),function(){if(wo)return So;wo=1;var t=st();t(t.P,"String",{repeat:Er()})}(),function(){if(xo)return Eo;xo=1;var t=st(),e=te(),n=mo(),r="startsWith",i=""[r];t(t.P+t.F*yo()(r),"String",{startsWith:function(t){var o=n(this,t,r),c=e(Math.min(arguments.length>1?arguments[1]:void 0,o.length)),a=String(t);return i?i.call(o,a,c):o.slice(c,c+a.length)===a}})}(),Lo||(Lo=1,To()("anchor",function(t){return function(e){return t(this,"a","name",e)}})),jo||(jo=1,To()("big",function(t){return function(){return t(this,"big","","")}})),Co||(Co=1,To()("blink",function(t){return function(){return t(this,"blink","","")}})),Mo||(Mo=1,To()("bold",function(t){return function(){return t(this,"b","","")}})),Po||(Po=1,To()("fixed",function(t){return function(){return t(this,"tt","","")}})),Fo||(Fo=1,To()("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})),Io||(Io=1,To()("fontsize",function(t){return function(e){return t(this,"font","size",e)}})),No||(No=1,To()("italics",function(t){return function(){return t(this,"i","","")}})),$o||($o=1,To()("link",function(t){return function(e){return t(this,"a","href",e)}})),qo||(qo=1,To()("small",function(t){return function(){return t(this,"small","","")}})),Do||(Do=1,To()("strike",function(t){return function(){return t(this,"strike","","")}})),Ro||(Ro=1,To()("sub",function(t){return function(){return t(this,"sub","","")}})),Ho||(Ho=1,To()("sup",function(t){return function(){return t(this,"sup","","")}})),function(){if(Bo)return Uo;Bo=1;var t=st();t(t.S,"Date",{now:function(){return(new Date).getTime()}})}(),function(){if(zo)return Go;zo=1;var t=st(),e=Oe(),n=$();t(t.P+t.F*h()(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var r=e(this),i=n(r);return"number"!=typeof i||isFinite(i)?r.toISOString():null}})}(),Xo(),function(){if(Jo)return Zo;Jo=1;var t=Date.prototype,e="Invalid Date",n="toString",r=t[n],i=t.getTime;new Date(NaN)+""!=e&&ct()(t,n,function(){var t=i.call(this);return t==t?r.call(this):e})}(),rc(),function(){if(ic)return oc;ic=1;var t=st();t(t.S,"Array",{isArray:Ee()})}(),function(){if(vc)return _c;vc=1;var t=ut(),e=st(),n=Oe(),r=mc(),i=yc(),o=te(),c=bc(),a=kc();e(e.S+e.F*!wc()(function(t){Array.from(t)}),"Array",{from:function(e){var u,s,f,l,h=n(e),p="function"==typeof this?this:Array,d=arguments.length,g=d>1?arguments[1]:void 0,v=void 0!==g,_=0,m=a(h);if(v&&(g=t(g,d>2?arguments[2]:void 0,2)),null==m||p==Array&&i(m))for(s=new p(u=o(h.length));u>_;_++)c(s,_,v?g(h[_],_):h[_]);else for(l=m.call(h),s=new p;!(f=l.next()).done;_++)c(s,_,v?r(l,g,[f.value,_],!0):f.value);return s.length=_,s}})}(),function(){if(Sc)return xc;Sc=1;var t=st(),e=bc();t(t.S+t.F*h()(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)e(r,t,arguments[t++]);return r.length=n,r}})}(),function(){if(Ac)return Lc;Ac=1;var t=st(),e=Zt(),n=[].join;t(t.P+t.F*(Xt()!=Object||!Tc()(n)),"Array",{join:function(t){return n.call(e(this),void 0===t?",":t)}})}(),function(){if(jc)return Cc;jc=1;var t=st(),e=Le(),n=Yt(),r=ee(),i=te(),o=[].slice;t(t.P+t.F*h()(function(){e&&o.call(e)}),"Array",{slice:function(t,e){var c=i(this.length),a=n(this);if(e=void 0===e?c:e,"Array"==a)return o.call(this,t,e);for(var u=r(t,c),s=r(e,c),f=i(s-u),l=new Array(f),h=0;h<f;h++)l[h]="String"==a?this.charAt(u+h):this[u+h];return l}})}(),function(){if(Mc)return Pc;Mc=1;var t=st(),e=at(),n=Oe(),r=h(),i=[].sort,o=[1,2,3];t(t.P+t.F*(r(function(){o.sort(void 0)})||!r(function(){o.sort(null)})||!Tc()(i)),"Array",{sort:function(t){return void 0===t?i.call(n(this)):i.call(n(this),e(t))}})}(),function(){if(Rc)return Hc;Rc=1;var t=st(),e=Uc()(0),n=Tc()([].forEach,!0);t(t.P+t.F*!n,"Array",{forEach:function(t){return e(this,t,arguments[1])}})}(),function(){if(zc)return Gc;zc=1;var t=st(),e=Uc()(1);t(t.P+t.F*!Tc()([].map,!0),"Array",{map:function(t){return e(this,t,arguments[1])}})}(),function(){if(Vc)return Wc;Vc=1;var t=st(),e=Uc()(2);t(t.P+t.F*!Tc()([].filter,!0),"Array",{filter:function(t){return e(this,t,arguments[1])}})}(),function(){if(Kc)return Yc;Kc=1;var t=st(),e=Uc()(3);t(t.P+t.F*!Tc()([].some,!0),"Array",{some:function(t){return e(this,t,arguments[1])}})}(),function(){if(Xc)return Jc;Xc=1;var t=st(),e=Uc()(4);t(t.P+t.F*!Tc()([].every,!0),"Array",{every:function(t){return e(this,t,arguments[1])}})}(),function(){if(ta)return ea;ta=1;var t=st(),e=na();t(t.P+t.F*!Tc()([].reduce,!0),"Array",{reduce:function(t){return e(this,t,arguments.length,arguments[1],!1)}})}(),function(){if(ra)return ia;ra=1;var t=st(),e=na();t(t.P+t.F*!Tc()([].reduceRight,!0),"Array",{reduceRight:function(t){return e(this,t,arguments.length,arguments[1],!0)}})}(),function(){if(oa)return ca;oa=1;var t=st(),e=ne()(!1),n=[].indexOf,r=!!n&&1/[1].indexOf(1,-0)<0;t(t.P+t.F*(r||!Tc()(n)),"Array",{indexOf:function(t){return r?n.apply(this,arguments)||0:e(this,t,arguments[1])}})}(),function(){if(aa)return ua;aa=1;var t=st(),e=Zt(),n=Qt(),r=te(),i=[].lastIndexOf,o=!!i&&1/[1].lastIndexOf(1,-0)<0;t(t.P+t.F*(o||!Tc()(i)),"Array",{lastIndexOf:function(t){if(o)return i.apply(this,arguments)||0;var c=e(this),a=r(c.length),u=a-1;for(arguments.length>1&&(u=Math.min(u,n(arguments[1]))),u<0&&(u=a+u);u>=0;u--)if(u in c&&c[u]===t)return u||0;return-1}})}(),function(){if(pa)return da;pa=1;var t=st();t(t.P,"Array",{copyWithin:ga()}),va()("copyWithin")}(),function(){if(ya)return ba;ya=1;var t=st();t(t.P,"Array",{fill:ka()}),va()("fill")}(),function(){if(wa)return Sa;wa=1;var t=st(),e=Uc()(5),n="find",r=!0;n in[]&&Array(1)[n](function(){r=!1}),t(t.P+t.F*r,"Array",{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),va()(n)}(),function(){if(xa)return Ea;xa=1;var t=st(),e=Uc()(6),n="findIndex",r=!0;n in[]&&Array(1)[n](function(){r=!1}),t(t.P+t.F*r,"Array",{findIndex:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),va()(n)}(),La||(La=1,Pa()("Array")),Ia(),function(){if(qa)return Da;qa=1;var t=f(),e=_r(),n=q().f,r=Fe().f,i=_o(),o=Ra(),c=t.RegExp,a=c,u=c.prototype,s=/a/g,l=/a/g,d=new c(s)!==s;if(p()&&(!d||h()(function(){return l[_t()("match")]=!1,c(s)!=s||c(l)==l||"/a/i"!=c(s,"i")}))){c=function(t,n){var r=this instanceof c,s=i(t),f=void 0===n;return!r&&s&&t.constructor===c&&f?t:e(d?new a(s&&!f?t.source:t,n):a((s=t instanceof c)?t.source:t,s&&f?o.call(t):n),r?this:u,c)};for(var g=function(t){t in c||n(c,t,{configurable:!0,get:function(){return a[t]},set:function(e){a[t]=e}})},v=r(a),_=0;v.length>_;)g(v[_++]);u.constructor=c,c.prototype=u,ct()(t,"RegExp",c)}Pa()("RegExp")}(),Va(),function(){if(Ka)return Ya;Ka=1,Ja();var t=F(),e=Ra(),n=p(),r="toString",i=/./[r],o=function(t){ct()(RegExp.prototype,r,t,!0)};h()(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?o(function(){var r=t(this);return"/".concat(r.source,"/","flags"in r?r.flags:!n&&r instanceof RegExp?e.call(r):void 0)}):i.name!=r&&o(function(){return i.call(this)})}(),Ja(),function(){if(iu)return ou;iu=1;var t=F(),e=te(),n=cu(),r=au();uu()("match",1,function(i,o,c,a){return[function(t){var e=i(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,e):new RegExp(t)[o](String(e))},function(i){var o=a(c,i,this);if(o.done)return o.value;var u=t(i),s=String(this);if(!u.global)return r(u,s);var f=u.unicode;u.lastIndex=0;for(var l,h=[],p=0;null!==(l=r(u,s));){var d=String(l[0]);h[p]=d,""===d&&(u.lastIndex=n(s,e(u.lastIndex),f)),p++}return 0===p?null:h}]})}(),function(){if(su)return fu;su=1;var t=F(),e=Oe(),n=te(),r=Qt(),i=cu(),o=au(),c=Math.max,a=Math.min,u=Math.floor,s=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,l=function(t){return void 0===t?t:String(t)};uu()("replace",2,function(h,p,d,g){return[function(t,e){var n=h(this),r=null==t?void 0:t[p];return void 0!==r?r.call(t,n,e):d.call(String(n),t,e)},function(e,u){var s=g(d,e,this,u);if(s.done)return s.value;var f=t(e),h=String(this),p="function"==typeof u;p||(u=String(u));var _=f.global;if(_){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=o(f,h);if(null===b)break;if(y.push(b),!_)break;""===String(b[0])&&(f.lastIndex=i(h,n(f.lastIndex),m))}for(var k="",w=0,S=0;S<y.length;S++){b=y[S];for(var x=String(b[0]),E=c(a(r(b.index),h.length),0),O=[],A=1;A<b.length;A++)O.push(l(b[A]));var L=b.groups;if(p){var T=[x].concat(O,E,h);void 0!==L&&T.push(L);var j=String(u.apply(void 0,T))}else j=v(x,h,E,O,L,u);E>=w&&(k+=h.slice(w,E)+j,w=E+x.length)}return k+h.slice(w)}];function v(t,n,r,i,o,c){var a=r+t.length,l=i.length,h=f;return void 0!==o&&(o=e(o),h=s),d.call(c,h,function(e,c){var s;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":s=o[c.slice(1,-1)];break;default:var f=+c;if(0===f)return e;if(f>l){var h=u(f/10);return 0===h?e:h<=l?void 0===i[h-1]?c.charAt(1):i[h-1]+c.charAt(1):e}s=i[f-1]}return void 0===s?"":s})}})}(),function(){if(lu)return hu;lu=1;var t=F(),e=Ln(),n=au();uu()("search",1,function(r,i,o,c){return[function(t){var e=r(this),n=null==t?void 0:t[i];return void 0!==n?n.call(t,e):new RegExp(t)[i](String(e))},function(r){var i=c(o,r,this);if(i.done)return i.value;var a=t(r),u=String(this),s=a.lastIndex;e(s,0)||(a.lastIndex=0);var f=n(a,u);return e(a.lastIndex,s)||(a.lastIndex=s),null===f?-1:f.index}]})}(),function(){if(gu)return vu;gu=1;var t=_o(),e=F(),n=_u(),r=cu(),i=te(),o=au(),c=Ga(),a=h(),u=Math.min,s=[].push,f="split",l="length",p="lastIndex",d=4294967295,g=!a(function(){});uu()("split",2,function(a,h,v,_){var m;return m="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[l]||2!="ab"[f](/(?:ab)*/)[l]||4!="."[f](/(.?)(.?)/)[l]||"."[f](/()()/)[l]>1||""[f](/.?/)[l]?function(e,n){var r=String(this);if(void 0===e&&0===n)return[];if(!t(e))return v.call(r,e,n);for(var i,o,a,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,g=void 0===n?d:n>>>0,_=new RegExp(e.source,f+"g");(i=c.call(_,r))&&!((o=_[p])>h&&(u.push(r.slice(h,i.index)),i[l]>1&&i.index<r[l]&&s.apply(u,i.slice(1)),a=i[0][l],h=o,u[l]>=g));)_[p]===i.index&&_[p]++;return h===r[l]?!a&&_.test("")||u.push(""):u.push(r.slice(h)),u[l]>g?u.slice(0,g):u}:"0"[f](void 0,0)[l]?function(t,e){return void 0===t&&0===e?[]:v.call(this,t,e)}:v,[function(t,e){var n=a(this),r=null==t?void 0:t[h];return void 0!==r?r.call(t,n,e):m.call(String(n),t,e)},function(t,c){var a=_(m,t,this,c,m!==v);if(a.done)return a.value;var s=e(t),f=String(this),l=n(s,RegExp),h=s.unicode,p=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(g?"y":"g"),y=new l(g?s:"^(?:"+s.source+")",p),b=void 0===c?d:c>>>0;if(0===b)return[];if(0===f.length)return null===o(y,f)?[f]:[];for(var k=0,w=0,S=[];w<f.length;){y.lastIndex=g?w:0;var x,E=o(y,g?f:f.slice(w));if(null===E||(x=u(i(y.lastIndex+(g?0:w)),f.length))===k)w=r(f,w,h);else{if(S.push(f.slice(k,w)),S.length===b)return S;for(var O=1;O<=E.length-1;O++)if(S.push(E[O]),S.length===b)return S;w=k=x}}return S.push(f.slice(k)),S}]})}(),es(),function(){if(Wu)return Vu;Wu=1;var t=rs(),e=ns(),n="Map";Vu=is()(n,function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(r){var i=t.getEntry(e(this,n),r);return i&&i.v},set:function(r,i){return t.def(e(this,n),0===r?0:r,i)}},t,!0)}(),function(){if(Yu)return Ku;Yu=1;var t=rs(),e=ns();Ku=is()("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(n){return t.def(e(this,"Set"),n=0===n?0:n,n)}},t)}(),function(){if(as)return us.exports;as=1;var t,e=f(),n=Uc()(0),r=ct(),i=ht(),o=Sn(),c=ss(),a=P(),u=ns(),s=ns(),l=!e.ActiveXObject&&"ActiveXObject"in e,h="WeakMap",p=i.getWeak,d=Object.isExtensible,g=c.ufstore,v=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},_={get:function(t){if(a(t)){var e=p(t);return!0===e?g(u(this,h)).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(u(this,h),t,e)}},m=us.exports=is()(h,v,_,c,!0,!0);s&&l&&(o((t=c.getConstructor(v,h)).prototype,_),i.NEED=!0,n(["delete","has","get","set"],function(e){var n=m.prototype,i=n[e];r(n,e,function(n,r){if(a(n)&&!d(n)){this._f||(this._f=new t);var o=this._f[e](n,r);return"set"==e?this:o}return i.call(this,n,r)})})),us.exports}(),function(){if(fs)return ls;fs=1;var t=ss(),e=ns(),n="WeakSet";is()(n,function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(r){return t.def(e(this,n),r,!0)}},t,!1,!0)}(),function(){if(ys)return ds;ys=1;var t=st(),e=gs(),n=ws(),r=F(),i=ee(),o=te(),c=P(),a=f().ArrayBuffer,u=_u(),s=n.ArrayBuffer,l=n.DataView,p=e.ABV&&a.isView,d=s.prototype.slice,g=e.VIEW,v="ArrayBuffer";t(t.G+t.W+t.F*(a!==s),{ArrayBuffer:s}),t(t.S+t.F*!e.CONSTR,v,{isView:function(t){return p&&p(t)||c(t)&&g in t}}),t(t.P+t.U+t.F*h()(function(){return!new s(2).slice(1,void 0).byteLength}),v,{slice:function(t,e){if(void 0!==d&&void 0===e)return d.call(r(this),t);for(var n=r(this).byteLength,c=i(t,n),a=i(void 0===e?n:e,n),f=new(u(this,s))(o(a-c)),h=new l(this),p=new l(f),g=0;c<a;)p.setUint8(g++,h.getUint8(c++));return f}}),Pa()(v)}(),function(){if(Ss)return xs;Ss=1;var t=st();t(t.G+t.W+t.F*!gs().ABV,{DataView:ws().DataView})}(),Os||(Os=1,Ls()("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})),Ts||(Ts=1,Ls()("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})),js||(js=1,Ls()("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)),Cs||(Cs=1,Ls()("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})),Ms||(Ms=1,Ls()("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})),Ps||(Ps=1,Ls()("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})),Fs||(Fs=1,Ls()("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})),Is||(Is=1,Ls()("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})),Ns||(Ns=1,Ls()("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})),function(){if($s)return qs;$s=1;var t=st(),e=at(),n=F(),r=(f().Reflect||{}).apply,i=Function.apply;t(t.S+t.F*!h()(function(){r(function(){})}),"Reflect",{apply:function(t,o,c){var a=e(t),u=n(c);return r?r(a,o,u):i.call(a,o,u)}})}(),function(){if(Ds)return Rs;Ds=1;var t=st(),e=Te(),n=at(),r=F(),i=P(),o=h(),c=Vn(),a=(f().Reflect||{}).construct,u=o(function(){function t(){}return!(a(function(){},[],t)instanceof t)}),s=!o(function(){a(function(){})});t(t.S+t.F*(u||s),"Reflect",{construct:function(t,o){n(t),r(o);var f=arguments.length<3?t:n(arguments[2]);if(s&&!u)return a(t,o,f);if(t==f){switch(o.length){case 0:return new t;case 1:return new t(o[0]);case 2:return new t(o[0],o[1]);case 3:return new t(o[0],o[1],o[2]);case 4:return new t(o[0],o[1],o[2],o[3])}var l=[null];return l.push.apply(l,o),new(c.apply(t,l))}var h=f.prototype,p=e(i(h)?h:Object.prototype),d=Function.apply.call(t,p,o);return i(d)?d:p}})}(),function(){if(Hs)return Bs;Hs=1;var t=q(),e=st(),n=F(),r=$();e(e.S+e.F*h()(function(){Reflect.defineProperty(t.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,i,o){n(e),i=r(i,!0),n(o);try{return t.f(e,i,o),!0}catch(t){return!1}}})}(),function(){if(Us)return zs;Us=1;var t=st(),e=De().f,n=F();t(t.S,"Reflect",{deleteProperty:function(t,r){var i=e(n(t),r);return!(i&&!i.configurable)&&delete t[r]}})}(),function(){if(Gs)return Vs;Gs=1;var t=st(),e=F(),n=function(t){this._t=e(t),this._i=0;var n,r=this._k=[];for(n in t)r.push(n)};io()(n,"Object",function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),t(t.S,"Reflect",{enumerate:function(t){return new n(t)}})}(),function(){if(Ws)return Ks;Ws=1;var t=De(),e=nn(),n=l(),r=st(),i=P(),o=F();r(r.S,"Reflect",{get:function r(c,a){var u,s,f=arguments.length<3?c:arguments[2];return o(c)===f?c[a]:(u=t.f(c,a))?n(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:i(s=e(c))?r(s,a,f):void 0}})}(),function(){if(Ys)return Xs;Ys=1;var t=De(),e=st(),n=F();e(e.S,"Reflect",{getOwnPropertyDescriptor:function(e,r){return t.f(n(e),r)}})}(),function(){if(Js)return Zs;Js=1;var t=st(),e=nn(),n=F();t(t.S,"Reflect",{getPrototypeOf:function(t){return e(n(t))}})}(),function(){if(Qs)return tf;Qs=1;var t=st();t(t.S,"Reflect",{has:function(t,e){return e in t}})}(),function(){if(ef)return nf;ef=1;var t=st(),e=F(),n=Object.isExtensible;t(t.S,"Reflect",{isExtensible:function(t){return e(t),!n||n(t)}})}(),function(){if(cf)return af;cf=1;var t=st();t(t.S,"Reflect",{ownKeys:uf()})}(),function(){if(sf)return ff;sf=1;var t=st(),e=F(),n=Object.preventExtensions;t(t.S,"Reflect",{preventExtensions:function(t){e(t);try{return n&&n(t),!0}catch(t){return!1}}})}(),function(){if(lf)return hf;lf=1;var t=q(),e=De(),n=nn(),r=l(),i=st(),o=D(),c=F(),a=P();i(i.S,"Reflect",{set:function i(u,s,f){var l,h,p=arguments.length<4?u:arguments[3],d=e.f(c(u),s);if(!d){if(a(h=n(u)))return i(h,s,f,p);d=o(0)}if(r(d,"value")){if(!1===d.writable||!a(p))return!1;if(l=e.f(p,s)){if(l.get||l.set||!1===l.writable)return!1;l.value=f,t.f(p,s,l)}else t.f(p,s,o(0,f));return!0}return void 0!==d.set&&(d.set.call(p,f),!0)}})}(),function(){if(pf)return vf;pf=1;var t=st(),e=Pn();e&&t(t.S,"Reflect",{setPrototypeOf:function(t,n){e.check(t,n);try{return e.set(t,n),!0}catch(t){return!1}}})}(),df=v())}var mf,yf,bf,kf={};function wf(){return bf?yf:(bf=1,function(){if(mf)return kf;mf=1;var t=st(),e=ne()(!0);t(t.P,"Array",{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),va()("includes")}(),yf=v().Array.includes)}var Sf,xf,Ef,Of,Af={};function Lf(){if(Ef)return Af;Ef=1;var t=st(),e=function(){if(xf)return Sf;xf=1;var t=Ee(),e=P(),n=te(),r=ut(),i=_t()("isConcatSpreadable");return Sf=function o(c,a,u,s,f,l,h,p){for(var d,g,v=f,_=0,m=!!h&&r(h,p,3);_<s;){if(_ in u){if(d=m?m(u[_],_,a):u[_],g=!1,e(d)&&(g=void 0!==(g=d[i])?!!g:t(d)),g&&l>0)v=o(c,a,d,n(d.length),v,l-1)-1;else{if(v>=9007199254740991)throw TypeError();c[v]=d}v++}_++}return v},Sf}(),n=Oe(),r=te(),i=at(),o=Bc();return t(t.P,"Array",{flatMap:function(t){var c,a,u=n(this);return i(t),c=r(u.length),a=o(u,0),e(a,u,u,c,0,1,t,arguments[1]),a}}),va()("flatMap"),Af}var Tf,jf,Cf,Mf,Pf,Ff={};function If(){if(jf)return Tf;jf=1;var t=te(),e=Er(),n=Jt();return Tf=function(r,i,o,c){var a=String(n(r)),u=a.length,s=void 0===o?" ":String(o),f=t(i);if(f<=u||""==s)return a;var l=f-u,h=e.call(s,Math.ceil(l/s.length));return h.length>l&&(h=h.slice(0,l)),c?h+a:a+h}}function Nf(){return Pf?Mf:(Pf=1,function(){if(Cf)return Ff;Cf=1;var t=st(),e=If(),n=Zu(),r=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);t(t.P+t.F*r,"String",{padStart:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0,!0)}})}(),Mf=v().String.padStart)}var $f,qf,Df,Rf={};function Hf(){return Df?qf:(Df=1,function(){if($f)return Rf;$f=1;var t=st(),e=If(),n=Zu(),r=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);t(t.P+t.F*r,"String",{padEnd:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0,!1)}})}(),qf=v().String.padEnd)}var Bf,Uf,zf;function Gf(){return zf?Uf:(zf=1,Bf||(Bf=1,cr()("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")),Uf=v().String.trimLeft)}var Vf,Wf,Kf;function Yf(){return Kf?Wf:(Kf=1,Vf||(Vf=1,cr()("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")),Wf=v().String.trimRight)}var Xf,Jf,Zf;function Qf(){return Zf?Jf:(Zf=1,Xf||(Xf=1,Kt()("asyncIterator")),Jf=Wt().f("asyncIterator"))}var tl,el,nl,rl={};function il(){return nl?el:(nl=1,function(){if(tl)return rl;tl=1;var t=st(),e=uf(),n=Zt(),r=De(),i=bc();t(t.S,"Object",{getOwnPropertyDescriptors:function(t){for(var o,c,a=n(t),u=r.f,s=e(a),f={},l=0;s.length>l;)void 0!==(c=u(a,o=s[l++]))&&i(f,o,c);return f}})}(),el=v().Object.getOwnPropertyDescriptors)}var ol,cl,al,ul,sl,fl={};function ll(){if(cl)return ol;cl=1;var t=p(),e=ce(),n=Zt(),r=xe().f;return ol=function(i){return function(o){for(var c,a=n(o),u=e(a),s=u.length,f=0,l=[];s>f;)c=u[f++],t&&!r.call(a,c)||l.push(i?[c,a[c]]:a[c]);return l}}}function hl(){return sl?ul:(sl=1,function(){if(al)return fl;al=1;var t=st(),e=ll()(!1);t(t.S,"Object",{values:function(t){return e(t)}})}(),ul=v().Object.values)}var pl,dl,gl,vl={};function _l(){return gl?dl:(gl=1,function(){if(pl)return vl;pl=1;var t=st(),e=ll()(!0);t(t.S,"Object",{entries:function(t){return e(t)}})}(),dl=v().Object.entries)}var ml,yl,bl,kl={};function wl(){return bl?yl:(bl=1,es(),function(){if(ml)return kl;ml=1;var t=st(),e=v(),n=f(),r=_u(),i=Qu();t(t.P+t.R,"Promise",{finally:function(t){var o=r(this,e.Promise||n.Promise),c="function"==typeof t;return this.then(c?function(e){return i(o,t()).then(function(){return e})}:t,c?function(e){return i(o,t()).then(function(){throw e})}:t)}})}(),yl=v().Promise.finally)}var Sl,xl={};var El,Ol={};var Al,Ll,Tl,jl={};function Cl(){return Tl?Ll:(Tl=1,function(){if(Sl)return xl;Sl=1;var t=f(),e=st(),n=Zu(),r=[].slice,i=/MSIE .\./.test(n),o=function(t){return function(e,n){var i=arguments.length>2,o=!!i&&r.call(arguments,2);return t(i?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};e(e.G+e.B+e.F*i,{setTimeout:o(t.setTimeout),setInterval:o(t.setInterval)})}(),function(){if(El)return Ol;El=1;var t=st(),e=Tu();t(t.G+t.B,{setImmediate:e.set,clearImmediate:e.clear})}(),function(){if(Al)return jl;Al=1;for(var t=Ia(),e=ce(),n=ct(),r=f(),i=R(),o=ro(),c=_t(),a=c("iterator"),u=c("toStringTag"),s=o.Array,l={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=e(l),p=0;p<h.length;p++){var d,g=h[p],v=l[g],_=r[g],m=_&&_.prototype;if(m&&(m[a]||i(m,a,s),m[u]||i(m,u,g),o[g]=s,v))for(d in t)m[d]||n(m,d,t[d],!0)}}(),Ll=v())}var Ml,Pl,Fl,Il={exports:{}};function Nl(){return Ml||(Ml=1,function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof _?e:_,c=Object.create(o.prototype),a=new j(r||[]);return i(c,"_invoke",{value:O(t,n,a)}),c}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var h="suspendedStart",p="suspendedYield",d="executing",g="completed",v={};function _(){}function m(){}function y(){}var b={};s(b,c,function(){return this});var k=Object.getPrototypeOf,w=k&&k(k(C([])));w&&w!==n&&r.call(w,c)&&(b=w);var S=y.prototype=_.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function E(t,e){function n(i,o,c,a){var u=l(t[i],t,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then(function(t){n("next",t,c,a)},function(t){n("throw",t,c,a)}):e.resolve(f).then(function(t){s.value=t,c(s)},function(t){return n("throw",t,c,a)})}a(u.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e(function(e,i){n(t,r,e,i)})}return o=o?o.then(i,i):i()}})}function O(t,e,n){var r=h;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===g){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var c=n.delegate;if(c){var a=A(c,n);if(a){if(a===v)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=l(t,e,n);if("normal"===u.type){if(r=n.done?g:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}function A(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=l(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var c=o.arg;return c?c.done?(n[t.resultName]=c.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function C(t){if(t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}return{next:M}}function M(){return{value:e,done:!0}}return m.prototype=y,i(S,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:m,configurable:!0}),m.displayName=s(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},x(E.prototype),s(E.prototype,a,function(){return this}),t.AsyncIterator=E,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var c=new E(f(e,n,r,i),o);return t.isGeneratorFunction(n)?c:c.next().then(function(t){return t.done?t.value:c.next()})},x(S),s(S,u,"Generator"),s(S,c,function(){return this}),s(S,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return a.type="throw",a.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],a=c.completion;if("root"===c.tryLoc)return i("end");if(c.tryLoc<=this.prev){var u=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return i(c.catchLoc,!0);if(this.prev<c.finallyLoc)return i(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return i(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return i(c.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}(Il)),Il.exports}function $l(){return Pl||(Pl=1,_f(),wf(),Of||(Of=1,Lf(),v().Array.flatMap),Nf(),Hf(),Gf(),Yf(),Qf(),il(),hl(),_l(),wl(),Cl(),Nl()),a}Fl||(Fl=1,$l());class ql{static getParam(t){let e=window.location.search;if(""==e)return null;let n=e.substring(1).split("&");for(var r=0;r<n.length;r++){var i=n[r].split("=");if(i[0]==t&&""!=i[1])return i[1]}return null}static urlHostTopLevel(){let t=window.location.hostname;if(t.match(/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/))return t;for(t=t.split(".");t.length>2;)t.shift();return t=t.join("."),t}}var Dl,Rl={};function Hl(){if(Dl)return Rl;Dl=1,Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.parseCookie=a,Rl.parse=a,Rl.stringifyCookie=function(n,r){const i=r?.encode||encodeURIComponent,o=[];for(const r of Object.keys(n)){const c=n[r];if(void 0===c)continue;if(!t.test(r))throw new TypeError(`cookie name is invalid: ${r}`);const a=i(c);if(!e.test(a))throw new TypeError(`cookie val is invalid: ${c}`);o.push(`${r}=${a}`)}return o.join("; ")},Rl.stringifySetCookie=u,Rl.serialize=u,Rl.parseSetCookie=function(t,e){const n=e?.decode||h,r=t.length,o=s(t,0,r),c=f(t,0,o),a=-1===c?{name:"",value:n(l(t,0,o))}:{name:l(t,0,c),value:n(l(t,c+1,o))};let u=o+1;for(;u<r;){const e=s(t,u,r),n=f(t,u,e),o=l(t,u,-1===n?e:n),c=-1===n?void 0:l(t,n+1,e);switch(o.toLowerCase()){case"httponly":a.httpOnly=!0;break;case"secure":a.secure=!0;break;case"partitioned":a.partitioned=!0;break;case"domain":a.domain=c;break;case"path":a.path=c;break;case"max-age":c&&i.test(c)&&(a.maxAge=Number(c));break;case"expires":if(!c)break;const t=new Date(c);Number.isFinite(t.valueOf())&&(a.expires=t);break;case"priority":if(!c)break;const e=c.toLowerCase();"low"!==e&&"medium"!==e&&"high"!==e||(a.priority=e);break;case"samesite":if(!c)break;const n=c.toLowerCase();"lax"!==n&&"strict"!==n&&"none"!==n||(a.sameSite=n)}u=e+1}return a},Rl.stringifySetCookie=u,Rl.serialize=u;const t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,e=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,i=/^-?\d+$/,o=Object.prototype.toString,c=(()=>{const t=function(){};return t.prototype=Object.create(null),t})();function a(t,e){const n=new c,r=t.length;if(r<2)return n;const i=e?.decode||h;let o=0;do{const e=f(t,o,r);if(-1===e)break;const c=s(t,o,r);if(e>c){o=t.lastIndexOf(";",e-1)+1;continue}const a=l(t,o,e);void 0===n[a]&&(n[a]=i(l(t,e+1,c))),o=c+1}while(o<r);return n}function u(i,c,a){const u="object"==typeof i?i:{...a,name:i,value:String(c)},s="object"==typeof c?c:a,f=s?.encode||encodeURIComponent;if(!t.test(u.name))throw new TypeError(`argument name is invalid: ${u.name}`);const l=u.value?f(u.value):"";if(!e.test(l))throw new TypeError(`argument val is invalid: ${u.value}`);let h=u.name+"="+l;if(void 0!==u.maxAge){if(!Number.isInteger(u.maxAge))throw new TypeError(`option maxAge is invalid: ${u.maxAge}`);h+="; Max-Age="+u.maxAge}if(u.domain){if(!n.test(u.domain))throw new TypeError(`option domain is invalid: ${u.domain}`);h+="; Domain="+u.domain}if(u.path){if(!r.test(u.path))throw new TypeError(`option path is invalid: ${u.path}`);h+="; Path="+u.path}if(u.expires){if(p=u.expires,"[object Date]"!==o.call(p)||!Number.isFinite(u.expires.valueOf()))throw new TypeError(`option expires is invalid: ${u.expires}`);h+="; Expires="+u.expires.toUTCString()}var p;if(u.httpOnly&&(h+="; HttpOnly"),u.secure&&(h+="; Secure"),u.partitioned&&(h+="; Partitioned"),u.priority){switch("string"==typeof u.priority?u.priority.toLowerCase():void 0){case"low":h+="; Priority=Low";break;case"medium":h+="; Priority=Medium";break;case"high":h+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${u.priority}`)}}if(u.sameSite){switch("string"==typeof u.sameSite?u.sameSite.toLowerCase():u.sameSite){case!0:case"strict":h+="; SameSite=Strict";break;case"lax":h+="; SameSite=Lax";break;case"none":h+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${u.sameSite}`)}}return h}function s(t,e,n){const r=t.indexOf(";",e);return-1===r?n:r}function f(t,e,n){const r=t.indexOf("=",e);return r<n?r:-1}function l(t,e,n){let r=e,i=n;do{const e=t.charCodeAt(r);if(32!==e&&9!==e)break}while(++r<i);for(;i>r;){const e=t.charCodeAt(i-1);if(32!==e&&9!==e)break;i--}return t.slice(r,i)}function h(t){if(-1===t.indexOf("%"))return t;try{return decodeURIComponent(t)}catch(e){return t}}return Rl}var Bl=Hl();window.chefcookie=class{constructor(t={}){let e={exclude_ua_regex:/(Mozilla\/5\.0 \(Linux; Android 11; moto g power \(2022\)\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0.0.0 Mobile Safari\/537\.36)|(Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0\.0\.0 Safari\/537\.36)|(Speed Insights)|(Chrome-Lighthouse)|(PSTS[\d\.]+)/,domain:ql.urlHostTopLevel()};this.config={...e,...t},this.config.settings.forEach((t,e)=>{"scripts"in t&&0!==Object.keys(t.scripts).length||(t.scripts={},t.scripts["dummy_group_"+e]={})}),this.isDestroyed=!1,this.isOpened=!1,"chefcookie_loaded"in window||(window.chefcookie_loaded=[]),this.scrollDepthTriggeredOnce=!1,this.scrollDepthTriggered={1:!1,10:!1,25:!1,50:!1,75:!1,100:!1},this.eventListeners=[],this.animationSpeed=300,this.scrollPosition=0}init(){if(!0===this.config.exclude_google_pagespeed&&(this.config.exclude_ua_regex=/(Mozilla\/5\.0 \(Linux; Android 11; moto g power \(2022\)\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0.0.0 Mobile Safari\/537\.36)|(Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0\.0\.0 Safari\/537\.36)|(Speed Insights)|(Chrome-Lighthouse)|(PSTS[\d\.]+)/),!(void 0!==this.config.exclude_ua_regex&&navigator.userAgent.match(this.config.exclude_ua_regex)||this.isPageSpeed()||null===document.head||void 0===document.head.insertAdjacentHTML)){if(this.isExcluded())return this.bindOptOutOptIn(),void this.updateOptOutOptIn();this.forceAccept()&&(this.autoAcceptAllScripts(),this.setCookieToHideOverlay()),this.isCookieSetToHideOverlay()?this.addEnabledScripts(!1):(this.autoAcceptBasicScripts(),this.open(),this.trackFirstUserInteraction()),this.bindOptOutOptIn(),this.updateOptOutOptIn()}}open(){!0!==this.isOpened&&(this.isOpened=!0,this.addStyle(),this.buildDom(),this.addHtmlClasses(),this.animationIn(),this.bindButtons(),this.fixMaxHeight(),this.logTracking("open"))}openWithSettings(){this.open(),setTimeout(()=>{this.showSettings(),this.switchSettingsLabelsOpen()},this.animationSpeed)}close(){if(!1!==this.isOpened){if(this.isOpened=!1,document.documentElement.classList.remove("chefcookie--visible"),document.documentElement.classList.remove("chefcookie--fade"),document.documentElement.classList.remove("chefcookie--noscroll"),"topbar"!==this.config.style.layout){let t=null,e=null;"auto"!==window.getComputedStyle(document.body).scrollBehavior&&(t=window.getComputedStyle(document.body).scrollBehavior,document.body.style.scrollBehavior="auto"),"auto"!==window.getComputedStyle(document.documentElement).scrollBehavior&&(e=window.getComputedStyle(document.documentElement).scrollBehavior,document.documentElement.style.scrollBehavior="auto"),document.body.style.top="",document.body.style.left="",document.body.style.right="",window.scrollTo(0,this.scrollPosition),null!==t&&(document.body.style.scrollBehavior=t),null!==e&&(document.documentElement.style.scrollBehavior=e)}document.documentElement.classList.remove("chefcookie--blur"),this.animationOut(),setTimeout(()=>{document.querySelector(".chefcookie").remove(),document.querySelector(".chefcookie-styles").remove()},this.animationSpeed)}}isOpen(){return this.isOpened}isClosed(){return!this.isOpened}animationIn(){document.querySelector(".chefcookie__inner").style.overflowY="hidden","topbar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginTop=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"bottombar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginBottom=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"overlay"===this.config.style.layout&&(document.querySelector(".chefcookie__box").style.transform="scale(0.7)"),requestAnimationFrame(()=>{setTimeout(()=>{document.querySelector(".chefcookie").style.transition="opacity "+this.animationSpeed/1e3+"s ease-in-out, margin "+this.animationSpeed/1e3+"s ease-in-out",document.querySelector(".chefcookie__box").style.transition="transform "+this.animationSpeed/1e3+"s ease-in-out",document.querySelector(".chefcookie").classList.remove("chefcookie--hidden"),"topbar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginTop="0px"),"bottombar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginBottom="0px"),"overlay"===this.config.style.layout&&(document.querySelector(".chefcookie__box").style.transform="none"),requestAnimationFrame(()=>{setTimeout(()=>{document.querySelector(".chefcookie__inner").style.overflowY="auto","topbar"===this.config.style.layout&&window.scrollTo({top:0,behavior:"smooth"})},this.animationSpeed+30)})},30)})}animationOut(){document.querySelector(".chefcookie__inner").style.overflowY="hidden",document.querySelector(".chefcookie").classList.add("chefcookie--hidden"),"topbar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginTop=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"bottombar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginBottom=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"overlay"===this.config.style.layout&&(document.querySelector(".chefcookie__box").style.transform="scale(0.7)")}destroy(){this.close(),this.config={},this.isDestroyed=!0,this.isOpened=!1,this.unregisterAllEventListeners(),this.eventListeners=[]}forceAccept(){if("bypass_parameter"in this.config&&!1!==this.config.bypass_parameter&&void 0!==this.config.bypass_parameter&&null!==this.config.bypass_parameter&&""!==this.config.bypass_parameter&&"object"==typeof this.config.bypass_parameter&&!Array.isArray(this.config.bypass_parameter))for(const[t,e]of Object.entries(this.config.bypass_parameter))if(ql.getParam(t)==e)return!0;return"1"===ql.getParam("accept")||null!==ql.getParam("gtm_debug")}bindOptOutOptIn(){this.registerEventListener(document,"click",t=>{if(t.target.hasAttribute("data-cc-disable")||"A"!==t.target.tagName&&t.target.closest("[data-cc-disable]")){let e=t.target.closest("[data-cc-disable]");this.isAccepted(e.getAttribute("data-cc-disable"))?this.decline(e.getAttribute("data-cc-disable"),!0):this.accept(e.getAttribute("data-cc-disable"),!0),this.updateOptOutOptIn(),t.preventDefault()}}),this.registerEventListener(document,"click",t=>{if(t.target.hasAttribute("data-cc-enable")||"A"!==t.target.tagName&&t.target.closest("[data-cc-enable]")){let e=t.target.closest("[data-cc-enable]");this.isAccepted(e.getAttribute("data-cc-enable"))||this.accept(e.getAttribute("data-cc-enable"),!0),this.updateOptOutOptIn(),t.preventDefault()}}),this.registerEventListener(document,"click",t=>{(t.target.hasAttribute("data-cc-open")||"A"!==t.target.tagName&&t.target.closest("[data-cc-open]"))&&(this.open(),t.preventDefault())})}updateOptOutOptIn(){null!==document.querySelector("[data-disable]")&&[].forEach.call(document.querySelectorAll("[data-disable]"),t=>{t.hasAttribute("data-cc-disable")||t.setAttribute("data-cc-disable",t.getAttribute("data-disable"))}),null!==document.querySelector("[data-message]")&&[].forEach.call(document.querySelectorAll("[data-message]"),t=>{t.hasAttribute("data-cc-message")||t.setAttribute("data-cc-message",t.getAttribute("data-message"))}),null!==document.querySelector("[data-cc-disable]")&&[].forEach.call(document.querySelectorAll("[data-cc-disable]"),t=>{t.hasAttribute("data-cc-message-original")||t.setAttribute("data-cc-message-original",t.textContent)}),null!==document.querySelector("[data-cc-disable]")&&[].forEach.call(document.querySelectorAll("[data-cc-disable]"),t=>{this.isAccepted(t.getAttribute("data-cc-disable"))?(t.textContent=t.getAttribute("data-cc-message-original"),t.classList.remove("disabled")):(t.textContent=t.getAttribute("data-cc-message"),t.classList.add("disabled"))}),null!==document.querySelector("[data-cc-enable]")&&[].forEach.call(document.querySelectorAll("[data-cc-enable]"),t=>{this.isAccepted(t.getAttribute("data-cc-enable"))&&t.remove()})}isExcluded(){if(void 0===this.config.exclude)return!1;let t=!1;return this.config.exclude.forEach(e=>{"function"==typeof e&&!0===e()&&(t=!0),"string"==typeof e&&(0===e.indexOf("http")&&e===window.location.protocol+"//"+window.location.host+window.location.pathname||0!==e.indexOf("http")&&e===window.location.pathname||0!==e.indexOf("http")&&e===decodeURI(window.location.pathname)||0!==e.indexOf("http")&&"/"+e.replace(/^\/+|\/+$/g,"")+"/"=="/"+window.location.pathname.replace(/^\/+|\/+$/g,"")+"/"||0!==e.indexOf("http")&&"/"+e.replace(/^\/+|\/+$/g,"")+"/"=="/"+decodeURI(window.location.pathname).replace(/^\/+|\/+$/g,"")+"/")&&(t=!0)}),t}addStyle(){let t=`\n .chefcookie, .chefcookie *\n {\n box-sizing: border-box;\n margin:0;\n padding:0;\n }\n /* try to reset styles */\n .chefcookie h2,\n .chefcookie a:link,\n .chefcookie a:hover,\n .chefcookie a:visited\n {\n color:inherit;\n }\n .chefcookie\n {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n right: 0;\n bottom: 0;\n transform: translateZ(0);\n }\n .chefcookie--hidden\n {\n opacity: 0;\n pointer-events:none;\n }\n .chefcookie__inner\n {\n width:100%;\n height:100%;\n text-align: center;\n white-space: nowrap;\n font-size: 0;\n overflow-y:auto;\n overflow-x:hidden;\n max-height:100vh;\n }\n .chefcookie__box\n {\n font-size: ${this.config.style.size-3+15}px;\n line-height:1.6;\n color:${this.config.style.color_text??"#595f60"};\n width: 100%;\n margin: 0 auto;\n display: inline-block;\n vertical-align: middle;\n white-space: normal;\n border-radius: 0;\n padding-top: 2em;\n padding-bottom: 2em;\n padding-left: 3em;\n padding-right: 3em;\n text-align: left;\n }\n .chefcookie__message\n {\n margin-bottom:1.5em;\n text-align:justify;\n }\n .chefcookie__message h2\n {\n margin-bottom:0.5em;\n font-size:2em;\n line-height:1.4;\n text-transform:uppercase;\n font-weight:700;\n text-align:left;\n }\n .chefcookie__message p {\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a,\n .chefcookie__message a:focus\n {\n color:inherit;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-decoration:underline;\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__message a:hover\n {\n opacity: 0.5;\n color: inherit;\n }\n }\n .chefcookie__message a:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons\n {\n margin-top:0.5em;\n }\n .chefcookie__button,\n .chefcookie__button:focus\n {\n padding: 1em 0.5em;\n border: 2px solid ${this.config.style.color_text??"#595f60"};\n font-weight: bold;\n display: block;\n color: inherit;\n text-decoration: none;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-transform: uppercase;\n float: left;\n text-align: center;\n min-width: 21em;\n margin-right:3em;\n }\n .chefcookie__buttons--count-3 .chefcookie__button,\n .chefcookie__buttons--count-3 .chefcookie__button:focus {\n min-width:15em;\n margin-right:1em;\n }\n .chefcookie__button:last-child\n {\n margin-right:0;\n }\n .chefcookie__button:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__button:hover\n {\n opacity: 0.5;\n text-decoration:none;\n color: inherit;\n }\n }\n .chefcookie__button:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons:after\n {\n clear:both;\n display:table;\n content:"";\n }\n ${void 0===this.config.style.highlight_accept||!0===this.config.style.highlight_accept?`\n .chefcookie__button--accept\n {\n background-color:${this.config.style.color_highlight??this.config.style.color??"#ff0000"};\n border-color:transparent;\n }\n .chefcookie__button--accept.chefcookie__button--accept,\n .chefcookie__button--accept.chefcookie__button--accept:hover,\n .chefcookie__button--accept.chefcookie__button--accept:focus,\n .chefcookie__button--accept.chefcookie__button--accept:link,\n .chefcookie__button--accept.chefcookie__button--accept:visited\n {\n color:${this.config.style.color_background??"#eeeeee"};\n }\n `:""}\n .chefcookie__settings-container\n {\n height:0;\n overflow:hidden;\n transition: height ${this.animationSpeed/1e3}s ease-out;\n }\n .chefcookie__groups\n {\n list-style-type:none;\n }\n .chefcookie__groups:after\n {\n clear:both;\n display:table;\n content:"";\n }\n .chefcookie__group\n {\n float: left;\n }\n .chefcookie__group:before\n {\n display:none;\n }\n .chefcookie__group-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n font-weight:bold;\n font-size:1.2em;\n line-height:1.7;\n text-transform:uppercase;\n }\n .chefcookie__group-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n font-size:1em;\n line-height:1.6;\n }\n .chefcookie__group-label:after\n {\n clear:both;\n display:table;\n content:""\n }\n .chefcookie__group--disabled .chefcookie__group-label\n {\n cursor:default;\n }\n .chefcookie__group-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__group--disabled .chefcookie__group-checkbox-icon\n {\n ${void 0===this.config.style.show_disabled_checkbox||!1===this.config.style.show_disabled_checkbox?"display:none;":"opacity: 0.75 !important;"}\n }\n .chefcookie__group-checkbox-icon\n {\n line-height:2;\n display: block;\n width: 4em;\n height: 2em;\n background-color: ${this.config.style.color_background??"#eeeeee"};\n border: 2px solid ${this.config.style.color_text??"#595f60"};\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__group-checkbox-icon:before\n {\n content: "0";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-align: center;\n font-weight: bold;\n font-size: 1em;\n line-height: 2;\n opacity: 0.25;\n color: ${this.config.style.color_text??"#595f60"};\n }\n .chefcookie__group-checkbox-icon:after\n {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ${this.config.style.color_text??"#595f60"};\n background-color: ${this.config.style.color_text??"#595f60"};\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__group-checkbox ~ *\n {\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n }\n .chefcookie__group-checkbox[data-status="0"] ~ *\n {\n opacity: 0.75;\n }\n .chefcookie__group-checkbox[data-status="1"] ~ .chefcookie__group-checkbox-icon\n {\n opacity: 0.85;\n }\n .chefcookie__group-checkbox[data-status="1"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:25%;\n }\n .chefcookie__group-checkbox[data-status="2"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__group-checkbox[data-status="1"] ~ .chefcookie__group-checkbox-icon:before,\n .chefcookie__group-checkbox[data-status="2"] ~ .chefcookie__group-checkbox-icon:before\n {\n content: "";\n background-color: ${this.config.style.color_text??"#595f60"};\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 3px;\n }\n .chefcookie__group-description\n {\n width:100%;\n clear:both;\n padding-top:1em;\n display: block;\n font-size:0.9em;\n line-height:1.5;\n text-align:justify;\n font-weight: normal;\n }\n .chefcookie__group-collapse,\n .chefcookie__group-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__group-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__scripts\n {\n list-style-type:none;\n height:0;\n overflow:hidden;\n transition: height ${this.animationSpeed/1e3}s ease-out;\n }\n .chefcookie__scripts--visible {\n height:auto;\n }\n .chefcookie__script {\n margin-bottom:0.5em;\n }\n .chefcookie__script:before\n {\n display:none;\n }\n .chefcookie__script:first-child {\n margin-top:1em;\n }\n .chefcookie__script:last-child {\n margin-bottom:0;\n }\n .chefcookie__script-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n }\n .chefcookie__script-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n }\n .chefcookie__script-label:after\n {\n clear:both;\n display:table;\n content:""\n }\n .chefcookie__script--disabled .chefcookie__script-label\n {\n cursor:default;\n }\n .chefcookie__script-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__script--disabled .chefcookie__script-checkbox-icon\n {\n ${void 0===this.config.style.show_disabled_checkbox||!1===this.config.style.show_disabled_checkbox?"display:none;":"opacity: 0.75 !important;"}\n }\n .chefcookie__script-checkbox-icon\n {\n line-height:1.5;\n display: block;\n width: 3em;\n height: 1.5em;\n background-color: ${this.config.style.color_background??"#eeeeee"};\n border: 1px solid ${this.config.style.color_text??"#595f60"};\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__script-checkbox-icon:before\n {\n content: "0";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-align: center;\n font-size: 0.7em;\n line-height: 2;\n opacity: 0.25;\n color: ${this.config.style.color_text??"#595f60"};\n }\n .chefcookie__script-checkbox-icon:after\n {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ${this.config.style.color_text??"#595f60"};\n background-color: ${this.config.style.color_text??"#595f60"};\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__script-checkbox ~ *\n {\n opacity: 0.75;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n }\n .chefcookie__script-checkbox:checked ~ *\n {\n opacity:1;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:before\n {\n content: "";\n background-color: ${this.config.style.color_text??"#595f60"};\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 2px;\n }\n\n .chefcookie__script-description\n {\n width: 100%;\n clear: both;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n display: block;\n font-size: 0.8em;\n line-height:1.4;\n text-align: justify;\n }\n .chefcookie__script-description-collapse,\n .chefcookie__script-description-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.25em;\n padding-bottom: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__script-description-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__script-description-content {\n height:0;\n overflow:hidden;\n transition: height ${this.animationSpeed/1e3}s ease-out;\n }\n .chefcookie__script-description-content > *:not(:last-child) {\n margin-bottom:0.5em;\n }\n .chefcookie__script-description-content table {\n width:100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n .chefcookie__script-description-content table td {\n border:1px solid ${this.hexToRgbaStr(this.config.style.color_text??"#595f60",.1)};\n padding: 0.3em 0.5em;\n vertical-align:top;\n }\n\n .chefcookie--noscroll body\n {\n position:fixed;\n width: 100%;\n overflow:hidden;\n }\n .chefcookie--fade body:after,\n .chefcookie--blur body:after\n {\n content:"";\n position:fixed;\n z-index: 2147483644;\n top:0;\n left:0;\n width:100%;\n height:100%;\n }\n .chefcookie--fade body:after\n {\n background-color: rgba(0, 0, 0, 0.65);\n }\n .chefcookie--blur body:after\n {\n backdrop-filter: grayscale(50%) blur(5px);\n }\n .chefcookie--overlay\n {\n top: 0;\n }\n .chefcookie--overlay .chefcookie__inner:before\n {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n }\n .chefcookie--overlay .chefcookie__box\n {\n width: 95%;\n max-width: 60em;\n box-shadow: 0 1em 5em -0.5em #000;\n background-color: ${this.config.style.color_background??"#eeeeee"};\n }\n .chefcookie--overlay .chefcookie__group\n {\n height: 13em;\n margin-bottom: 4%;\n background-color: rgba(${""!=this.config.style.color_background&&["#000","#000000","black"].indexOf(this.config.style.color_background)>-1?"255, 255, 255":"0, 0, 0"}, 0.05);\n border: 1px solid rgba(${""!=this.config.style.color_background&&["#000","#000000","black"].indexOf(this.config.style.color_background)>-1?"255, 255, 255":"0, 0, 0"}, 0.01);\n width: 48%;\n margin-right: 4%;\n }\n .chefcookie--overlay .chefcookie__group:nth-child(2n)\n {\n margin-right:0;\n }\n .chefcookie--overlay.chefcookie--has-scripts .chefcookie__group\n {\n height:auto;\n width: 100%;\n margin-right: 0;\n margin-bottom: 1em;\n }\n .chefcookie--overlay .chefcookie__group\n {\n padding: 1em 1.25em;\n }\n .chefcookie--bottombar,\n .chefcookie--topbar\n {\n background-color:${this.config.style.color_background??"#eeeeee"};\n box-shadow: 0 1em 5em -0.5em #000;\n }\n .chefcookie--bottombar\n {\n bottom:0;\n top:auto;\n }\n .chefcookie--topbar\n {\n bottom:auto;\n top:0;\n position:relative;\n }\n .chefcookie--bottombar .chefcookie__box,\n .chefcookie--topbar .chefcookie__box\n {\n max-width: 1280px;\n }\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n margin-top: 0px;\n margin-bottom: 1.5em;\n width: 22%;\n margin-right: 4%;\n }\n .chefcookie--bottombar .chefcookie__group:last-child,\n .chefcookie--topbar .chefcookie__group:last-child\n {\n margin-right:0;\n }\n .chefcookie--bottombar .chefcookie__groups--count-9 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-9 .chefcookie__group { width: 7.55%; }\n .chefcookie--bottombar .chefcookie__groups--count-8 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-8 .chefcookie__group { width: 9.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-7 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-7 .chefcookie__group { width: 10.85%; }\n .chefcookie--bottombar .chefcookie__groups--count-6 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-6 .chefcookie__group { width: 13.33%; }\n .chefcookie--bottombar .chefcookie__groups--count-5 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-5 .chefcookie__group { width: 16.80%; }\n .chefcookie--bottombar .chefcookie__groups--count-4 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-4 .chefcookie__group { width: 22.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-3 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-3 .chefcookie__group { width: 30.66%; }\n .chefcookie--bottombar .chefcookie__groups--count-2 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-2 .chefcookie__group { width: 48%; }\n .chefcookie--bottombar .chefcookie__groups--count-1 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-1 .chefcookie__group { width: 100%; }\n @media screen and (max-width: 940px)\n {\n .chefcookie__button,\n .chefcookie__button:focus\n {\n float: none;\n margin: 0 0 1em;\n text-align: center;\n width: 100%;\n min-width:0;\n }\n }\n @media screen and (max-width: 840px)\n {\n .chefcookie__box\n {\n padding:1em;\n }\n .chefcookie__message h2\n {\n font-size:1.5em;\n line-height:1.4;\n }\n .chefcookie .chefcookie__group,\n .chefcookie--overlay .chefcookie__group,\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n float:none;\n margin-right:0;\n width:100% !important;\n height:auto;\n }\n }\n `;"css_replace"in this.config.style&&void 0!==this.config.style.css_replace&&null!==this.config.style.css_replace&&""!==this.config.style.css_replace&&(t=this.config.style.css_replace),"css_add"in this.config.style&&void 0!==this.config.style.css_add&&null!==this.config.style.css_add&&""!==this.config.style.css_add&&(t+=this.config.style.css_add),document.head.insertAdjacentHTML("beforeend",'<style class="chefcookie-styles">'+t+"</style>")}addHtmlClasses(){document.documentElement.classList.add("chefcookie--visible"),1==this.config.style.noscroll&&("topbar"!==this.config.style.layout&&(this.scrollPosition=window.pageYOffset,document.body.style.top=-this.scrollPosition+"px",document.body.style.left="0px",document.body.style.right="0px"),document.documentElement.classList.add("chefcookie--noscroll")),1==this.config.style.fade&&document.documentElement.classList.add("chefcookie--fade"),1==this.config.style.blur&&document.documentElement.classList.add("chefcookie--blur")}buildDom(){document.body.insertAdjacentHTML("afterbegin",`\n <div class="chefcookie chefcookie--${this.config.style.layout} chefcookie--columns-${"columns"in this.config.style?this.config.style.columns:"auto"}${"scripts_selection"in this.config&&!1!==this.config.scripts_selection?" chefcookie--has-scripts":""} chefcookie--hidden">\n <div class="chefcookie__inner">\n <div class="chefcookie__box">\n <div class="chefcookie__message">${this.translate(this.config.message)}</div>\n <div class="chefcookie__settings-container">\n <ul class="chefcookie__groups chefcookie__groups--count-${this.config.settings.length}">\n ${this.config.settings.map((t,e)=>`\n <li class="chefcookie__group${t.cannot_be_modified?" chefcookie__group--disabled":""}">\n <label class="chefcookie__group-label" for="chefcookie_group_${e}">\n <input${t.cannot_be_modified?' disabled="disabled"':""} class="chefcookie__group-checkbox" data-status="${this.isCheckboxActiveForGroup(e)}" id="chefcookie_group_${e}" type="checkbox" name="chefcookie_group[]" value="${e}"${2===this.isCheckboxActiveForGroup(e)?' checked="checked"':""} />\n <span class="chefcookie__group-title">${this.translate(t.title)}</span>\n <span class="chefcookie__group-checkbox-icon"></span>\n ${"description"in t&&""!=t.description?`\n <span class="chefcookie__group-description">${this.translate(t.description)}</span>\n `:""}\n ${"scripts_selection"in this.config&&"collapse"===this.config.scripts_selection&&"scripts"in t&&Object.keys(t.scripts).length>0&&-1===Object.keys(t.scripts)[0].indexOf("dummy_")?`\n <a href="#" class="chefcookie__group-collapse">${""!=this.getLabel("group_open")?this.getLabel("group_open"):this.getLabel("settings_open")}</a>\n `:""}\n </label>\n ${"scripts_selection"in this.config&&!1!==this.config.scripts_selection&&"scripts"in t&&Object.keys(t.scripts).length>0&&-1===Object.keys(t.scripts)[0].indexOf("dummy_")?`\n <ul class="chefcookie__scripts chefcookie__scripts--count-${Object.keys(t.scripts).length}${"collapse"!==this.config.scripts_selection?" chefcookie__scripts--visible":""}">\n ${Object.keys(t.scripts).map(n=>`\n <li class="chefcookie__script${t.cannot_be_modified?" chefcookie__script--disabled":""}">\n <label class="chefcookie__script-label" for="chefcookie_script_${e}_${n}">\n <input${t.cannot_be_modified?' disabled="disabled"':""} class="chefcookie__script-checkbox" id="chefcookie_script_${e}_${n}" type="checkbox" name="chefcookie_script[]" value="${e}|${n}"${this.isCheckboxActiveForProvider(e,n)?' checked="checked"':""} />\n <span class="chefcookie__script-title">${"object"==typeof t.scripts[n]&&null!==t.scripts[n]&&"title"in t.scripts[n]&&""!=t.scripts[n].title?this.translate(t.scripts[n].title):n}</span>\n <span class="chefcookie__script-checkbox-icon"></span>\n </label>\n ${"object"==typeof t.scripts[n]&&null!==t.scripts[n]&&"description"in t.scripts[n]&&""!=t.scripts[n].description?'<div class="chefcookie__script-description"><a href="#" class="chefcookie__script-description-collapse">'+this.getLabel("details_open")+'</a><div class="chefcookie__script-description-content">'+this.translate(t.scripts[n].description)+"</div></div>":""}\n </li>\n `).join("")}\n </ul>\n `:""}\n </li>\n `).join("")}\n </ul>\n </div>\n <div class="chefcookie__buttons chefcookie__buttons--count-${"show_decline_button"in this.config&&!0===this.config.show_decline_button?"3":"2"}">\n <a href="#chefcookie__settings" class="chefcookie__button chefcookie__button--settings">${this.getLabel("settings_open")}</a>\n <a href="#chefcookie__accept" class="chefcookie__button chefcookie__button--accept cookie-compliance-ok-btn">${this.getLabel(void 0===this.config.accept_all_if_settings_closed||!1===this.config.accept_all_if_settings_closed?"accept":"accept_all")}</a>\n ${"show_decline_button"in this.config&&!0===this.config.show_decline_button?`\n <a href="#chefcookie__decline" class="chefcookie__button chefcookie__button--decline">${this.getLabel("decline")}</a>\n `:""}\n </div>\n </div>\n </div>\n </div>\n `)}getLabel(t){return void 0===this.config.labels[t]?"":this.translate(this.config.labels[t])}bindButtons(){null!==document.querySelector('a[href="#chefcookie__decline"]')&&[].forEach.call(document.querySelectorAll('a[href="#chefcookie__decline"]'),t=>{this.registerEventListener(t,"click",t=>{this.logTracking("decline"),this.uncheckAllOptIns(),this.saveInCookie(),this.close(),this.setCookieToHideOverlay(),this.updateOptOutOptIn(),t.preventDefault()})}),null!==document.querySelector('a[href="#chefcookie__accept"]')&&[].forEach.call(document.querySelectorAll('a[href="#chefcookie__accept"]'),t=>{this.registerEventListener(t,"click",t=>{!1!==this.isOpened&&("accept_all_if_settings_closed"in this.config&&!0!==this.config.accept_all_if_settings_closed||this.settingsVisible()||this.checkAllOptIns(),this.saveInCookie(),this.addEnabledScripts(!0),this.close(),this.setCookieToHideOverlay(),this.updateOptOutOptIn(),t.preventDefault())})}),null!==document.querySelector('a[href="#chefcookie__settings"]')&&[].forEach.call(document.querySelectorAll('a[href="#chefcookie__settings"]'),t=>{this.registerEventListener(t,"click",t=>{this.settingsVisible()?(this.hideSettings(),this.switchSettingsLabelsClose()):(this.showSettings(),this.switchSettingsLabelsOpen()),t.preventDefault()})}),null!==document.querySelector(".chefcookie__script-checkbox")&&[].forEach.call(document.querySelectorAll(".chefcookie__script-checkbox"),t=>{this.registerEventListener(t,"change",e=>{let n=t.closest(".chefcookie__group").querySelector(".chefcookie__group-checkbox"),r=t.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox:checked").length;r===t.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox").length?(n.checked=!0,n.setAttribute("data-status",2)):(n.checked=!1,n.setAttribute("data-status",r>0?1:0)),e.preventDefault()})}),null!==document.querySelector(".chefcookie__group-checkbox")&&[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox"),t=>{this.registerEventListener(t,"change",e=>{t.setAttribute("data-status",t.checked?2:0),null!==t.closest(".chefcookie__group").querySelector(".chefcookie__script-checkbox")&&[].forEach.call(t.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox"),e=>{e.checked=t.checked}),e.preventDefault()})}),null!==document.querySelector(".chefcookie__group-collapse")&&[].forEach.call(document.querySelectorAll(".chefcookie__group-collapse"),t=>{this.registerEventListener(t,"click",e=>{let n=t.closest(".chefcookie__group");this.scriptsVisible(n)?(this.hideScripts(n),this.switchScriptsLabelsClose(n)):(this.showScripts(n),this.switchScriptsLabelsOpen(n)),e.preventDefault()})}),null!==document.querySelector(".chefcookie__script-description-collapse")&&[].forEach.call(document.querySelectorAll(".chefcookie__script-description-collapse"),t=>{this.registerEventListener(t,"click",e=>{let n=t.closest(".chefcookie__script-description");this.scriptDescriptionVisible(n)?(this.hideScriptDescription(n),this.switchScriptDescriptionLabelsClose(n)):(this.showScriptDescription(n),this.switchScriptDescriptionLabelsOpen(n)),e.preventDefault()})})}switchSettingsLabelsOpen(){document.querySelector(".chefcookie__button--settings").textContent=this.getLabel("settings_close"),!0===this.config.accept_all_if_settings_closed&&(document.querySelector(".chefcookie__button--accept").textContent=this.getLabel("accept"))}switchSettingsLabelsClose(){document.querySelector(".chefcookie__button--settings").textContent=this.getLabel("settings_open"),!0===this.config.accept_all_if_settings_closed&&(document.querySelector(".chefcookie__button--accept").textContent=this.getLabel("accept_all"))}switchScriptsLabelsOpen(t){t.querySelector(".chefcookie__group-collapse").textContent=""!=this.getLabel("group_close")?this.getLabel("group_close"):this.getLabel("settings_close")}switchScriptsLabelsClose(t){t.querySelector(".chefcookie__group-collapse").textContent=""!=this.getLabel("group_open")?this.getLabel("group_open"):this.getLabel("settings_open")}switchScriptDescriptionLabelsOpen(t){t.querySelector(".chefcookie__script-description-collapse").textContent=this.getLabel("details_close")}switchScriptDescriptionLabelsClose(t){t.querySelector(".chefcookie__script-description-collapse").textContent=this.getLabel("details_open")}checkAllOptIns(){[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox, .chefcookie__script-checkbox"),t=>{t.checked=!0})}uncheckAllOptIns(){[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox:not([disabled]), .chefcookie__script-checkbox:not([disabled])"),t=>{t.checked=!1})}getCookieExpiration(){let t=30;return"expiration"in this.config&&Number.isInteger(this.config.expiration)&&(t=this.config.expiration),t}getCookieName(t){return(this.config.cookie_prefix||"cc_")+t}setCookie(t,e){const n=this.getCookieName(t),r=this.getCookieExpiration(),i=this.config.domain,o=window.location.protocol.indexOf("https")>-1?{secure:!0,samesite:"None"}:{};document.cookie=Bl.stringifySetCookie(n,e,{httpOnly:!1,maxAge:86400*r,path:"/",domain:i&&window.location.hostname.endsWith(i)?i:void 0,...o})}getCookie(t){const e=this.getCookieName(t);return Bl.parseCookie(document.cookie)[e]}isCheckboxActiveForGroup(t){let e;if(void 0===this.config.settings[t])return 0;if(e=this.config.settings[t],"scripts"in this.config.settings[t]){let t=!0,n=!1;if(Object.keys(e.scripts).forEach(e=>{this.isAccepted(e)||(t=!1),this.isAccepted(e)&&(n=!0)}),!0===t)return 2;if(this.isCookieSetToHideOverlay())return!0===n?1:0}return e.checked_by_default||e.active?2:0}isCheckboxActiveForProvider(t,e){if(this.isAccepted(e))return!0;if(this.isCookieSetToHideOverlay())return!1;if(void 0!==this.config.settings[t]){let e=this.config.settings[t];return e.checked_by_default||e.active}return!1}setCookieToHideOverlay(){this.setCookie("hide_prompt","1")}isCookieSetToHideOverlay(){return void 0!==this.getCookie("hide_prompt")}saveInCookie(){let t=[];[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox"),e=>{null===e.closest(".chefcookie__group").querySelector(".chefcookie__script-checkbox")?!0===e.checked&&void 0!==this.config.settings[e.value].scripts&&Object.entries(this.config.settings[e.value].scripts).forEach(([e,n])=>{t.push(e)}):[].forEach.call(e.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox"),e=>{!0===e.checked&&void 0!==this.config.settings[e.value.split("|")[0]].scripts[e.value.split("|")[1]]&&t.push(e.value.split("|")[1])})}),0===t.length&&t.push("null"),this.setCookie("accepted_providers",t.join(","))}addToCookie(t){let e;e=void 0===this.getCookie("accepted_providers")||"null"===this.getCookie("accepted_providers")?[]:this.getCookie("accepted_providers").split(","),-1===e.indexOf(t)&&(e.push(t),this.setCookie("accepted_providers",e.join(",")))}deleteFromCookie(t){if(void 0===this.getCookie("accepted_providers"))return;const e=this.getCookie("accepted_providers").split(","),n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0?this.setCookie("accepted_providers",e.join(",")):this.setCookie("accepted_providers","null")}addEnabledScripts(t=!1){if(void 0===this.getCookie("accepted_providers"))return;const e=this.getCookie("accepted_providers");if("null"==e)return;let n=!0;this.config.settings.forEach(r=>{void 0!==r.scripts&&Object.entries(r.scripts).forEach(([r,i])=>{-1!==e.split(",").indexOf(r)?this.load(r,i,t):n=!1})}),!0===t&&this.logTracking(n?"accept_all":"accept_partially",e)}addScript(t,e=!1){if(void 0===this.getCookie("accepted_providers"))return;const n=this.getCookie("accepted_providers").split(",");n!==["null"]&&this.config.settings.forEach(r=>{void 0!==r.scripts&&Object.entries(r.scripts).forEach(([r,i])=>{r===t&&-1!==n.indexOf(r)&&this.load(r,i,e)})})}autoAcceptBasicScripts(){this.config.settings.forEach(t=>{void 0!==t.scripts&&!0===t.initial_tracking&&Object.entries(t.scripts).forEach(([t,e])=>{this.accept(t,!1)})})}autoAcceptAllScripts(){this.config.settings.forEach(t=>{void 0!==t.scripts&&Object.entries(t.scripts).forEach(([t,e])=>{this.accept(t,!1)})})}load(t,e,n=!1){this.isLoaded(t)||"object"==typeof e&&null!==e&&"exclude"in e&&"function"==typeof e.exclude&&!0===e.exclude()||("string"==typeof e||e instanceof String?this.loadAuto(t,e):"object"==typeof e&&null!==e&&"id"in e&&!("accept"in e)?this.loadAuto(t,e.id):"object"==typeof e&&null!==e&&"accept"in e&&"function"==typeof e.accept?new Promise(t=>{e.accept(this,t,n)}).then(()=>{this.setLoaded(t)}):this.setLoaded(t),this.logDebug("added script "+t))}loadAuto(t,e){if("analytics"===t||"google"===t){let n=document.createElement("script");n.onload=()=>{this.setLoaded(t)},n.src="https://www.googletagmanager.com/gtag/js?id="+e,document.head.appendChild(n),n=document.createElement("script"),n.innerHTML="window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '"+e+"', { 'anonymize_ip': true, cookie_flags: 'SameSite=None;Secure' });",document.head.appendChild(n)}if("tagmanager"===t){let n=document.createElement("script"),r="";r+="(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','"+e+"');",r+="function gtag(){dataLayer.push(arguments);}",n.innerHTML=r,document.head.appendChild(n),this.setLoaded(t)}if("facebook"===t){let n=document.createElement("script");n.innerHTML="!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init', '"+e+"');fbq('track', 'PageView');fbq('track', 'ViewContent');",document.head.appendChild(n),this.setLoaded(t)}if("twitter"===t){let e=document.createElement("script");e.onload=()=>{this.setLoaded(t)},e.src="//platform.twitter.com/oct.js",document.head.appendChild(e)}if("taboola"===t){let n=document.createElement("script");n.innerHTML="window._tfa = window._tfa || [];window._tfa.push({notify: 'event', name: 'page_view'});!function (t, f, a, x) { if (!document.getElementById(x)) { t.async = 1;t.src = a;t.id=x;f.parentNode.insertBefore(t, f); } }(document.createElement('script'), document.getElementsByTagName('script')[0], '//cdn.taboola.com/libtrc/unip/"+e+"/tfa.js', 'tb_tfa_script');",document.head.appendChild(n),this.setLoaded(t)}if("match2one"===t){let n=document.createElement("script");n.onload=()=>{this.setLoaded(t)},n.src="https://secure.adnxs.com/seg?add="+e+"&t=1",document.head.appendChild(n),n=document.createElement("script"),n.innerHTML="window.m2o = true;",document.head.appendChild(n)}if("microsoft"===t){let n=document.createElement("script");n.innerHTML=`\n (function(w,d,t,r,u)\n {\n var f,n,i;\n w[u]=w[u]||[],f=function()\n {\n var o={ti:"${e}", enableAutoSpaTracking: true};\n o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")\n },\n n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function()\n {\n var s=this.readyState;\n s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)\n },\n i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)\n })\n (window,document,"script","//bat.bing.com/bat.js","uetq");\n `,document.head.appendChild(n),this.setLoaded(t)}if("linkedin"===t){let n=document.createElement("script");n.innerHTML=`\n _linkedin_partner_id = "${e}";\n window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];\n window._linkedin_data_partner_ids.push(_linkedin_partner_id);\n `,document.body.appendChild(n),n=document.createElement("script"),n.innerHTML='\n (function(l) {if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};\n window.lintrk.q=[]}\n var s = document.getElementsByTagName("script")[0];\n var b = document.createElement("script");\n b.type = "text/javascript";b.async = true;\n b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";\n s.parentNode.insertBefore(b, s);})(window.lintrk);\n ',document.body.appendChild(n),n=document.createElement("noscript"),n.innerHTML=`\n <img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=${e}&fmt=gif" />\n `,document.body.appendChild(n),this.setLoaded(t)}if("smartlook"===t){let n=document.createElement("script");n.innerHTML="window.smartlook||(function(d) {var o=smartlook=function(){ o.api.push(arguments)},h=d.getElementsByTagName('head')[0];var c=d.createElement('script');o.api=new Array();c.async=true;c.type='text/javascript';c.charset='utf-8';c.src='https://web-sdk.smartlook.com/recorder.js';h.appendChild(c);})(document);smartlook('init', '"+e+"', { region: 'eu' });",document.head.appendChild(n),this.setLoaded(t)}if("crazyegg"===t){let n=document.createElement("script");n.onload=()=>{this.setLoaded(t)},n.src="//script.crazyegg.com/pages/scripts/"+e+".js",document.head.appendChild(n)}if("google_maps"===t){let n=document.createElement("script");n.src="https://maps.googleapis.com/maps/api/js?key="+e+"&callback=initMapCC",n.defer=!0,n.async=!0,window.initMapCC=()=>{this.setLoaded(t)},document.head.appendChild(n)}if("etracker"===t){let n;n=document.createElement("script"),n.innerHTML="if(window._etr === undefined) { window._etr = {eoBlocked:true}; }",document.head.appendChild(n),n=document.createElement("script"),n.onload=()=>{this.setLoaded(t)},n.id="_etLoader",n.type="text/javascript",n.charset="UTF-8",n.setAttribute("data-block-cookies","true"),n.setAttribute("data-respect-dnt","true"),n.setAttribute("data-secure-code",e),n.src="//code.etracker.com/code/e.js",document.head.appendChild(n)}if("matomo"===t){let n=document.createElement("script");n.innerHTML=`\n var _paq = window._paq = window._paq || [];\n /* tracker methods like "setCustomDimension" should be called before "trackPageView" */\n _paq.push(['trackPageView']);\n _paq.push(['enableLinkTracking']);\n (function() {\n var u="//${e.split("#")[0]}/";\n _paq.push(['setTrackerUrl', u+'matomo.php']);\n _paq.push(['setSiteId', '${e.split("#")[1]}']);\n var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];\n g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);\n })();\n `,document.head.appendChild(n),this.setLoaded(t)}}isAccepted(t){return void 0!==this.getCookie("accepted_providers")&&this.getCookie("accepted_providers").split(",").indexOf(t)>-1}isLoaded(t){return"chefcookie_loaded"in window&&window.chefcookie_loaded.indexOf(t)>-1}setLoaded(t){window.chefcookie_loaded.push(t)}settingsVisible(){return null!==document.querySelector(".chefcookie__settings-container")&&document.querySelector(".chefcookie__settings-container").classList.contains("chefcookie__settings-container--visible")}showSettings(){this.logTracking("settings_open");let t=document.querySelector(".chefcookie__settings-container");t.classList.add("chefcookie__settings-container--visible"),t.style.height=t.scrollHeight+"px",setTimeout(()=>{t.classList.contains("chefcookie__settings-container--visible")&&(t.style.height="auto")},this.animationSpeed),this.fixMaxHeight()}hideSettings(){this.logTracking("settings_close");let t=document.querySelector(".chefcookie__settings-container");t.classList.remove("chefcookie__settings-container--visible"),t.style.height=t.scrollHeight+"px",setTimeout(()=>{t.style.height=0},30)}scriptsVisible(t){return t.querySelector(".chefcookie__scripts").classList.contains("chefcookie__scripts--visible")}showScripts(t){let e=t.querySelector(".chefcookie__scripts");e.style.height=e.scrollHeight+"px",e.classList.add("chefcookie__scripts--visible"),setTimeout(()=>{e.classList.contains("chefcookie__scripts--visible")&&(e.style.height="auto")},this.animationSpeed),this.fixMaxHeight()}hideScripts(t){let e=t.querySelector(".chefcookie__scripts");e.style.height=e.scrollHeight+"px",e.classList.remove("chefcookie__scripts--visible"),setTimeout(()=>{e.style.height=0},30)}scriptDescriptionVisible(t){return t.querySelector(".chefcookie__script-description-content").classList.contains("chefcookie__script-description-content--visible")}showScriptDescription(t){let e=t.querySelector(".chefcookie__script-description-content");e.style.height=e.scrollHeight+"px",e.classList.add("chefcookie__script-description-content--visible"),setTimeout(()=>{e.classList.contains("chefcookie__script-description-content--visible")&&(e.style.height="auto")},this.animationSpeed),this.fixMaxHeight()}hideScriptDescription(t){let e=t.querySelector(".chefcookie__script-description-content");e.style.height=e.scrollHeight+"px",e.classList.remove("chefcookie__script-description-content--visible"),setTimeout(()=>{e.style.height=0},30)}fixMaxHeight(){document.querySelector(".chefcookie__inner").style.maxHeight=window.innerHeight+"px"}eventAnalytics(t,e){"function"==typeof gtag&&(void 0===e?(gtag("event",t),this.logDebug("analytics "+t)):(gtag("event",e,{event_category:t}),this.logDebug("analytics "+t+" "+e)))}eventGoogle(t,e){this.eventAnalytics(t,e)}eventFacebook(t){"function"==typeof fbq&&(fbq("trackCustom",t),this.logDebug("facebook "+t))}eventTwitter(t){"undefined"!=typeof twttr&&void 0!==twttr.conversion&&"function"==typeof twttr.conversion.trackPid&&(twttr.conversion.trackPid(t),this.logDebug("twitter "+t))}eventTaboola(t){"object"==typeof _tfa&&(_tfa.push({notify:"event",name:t}),this.logDebug("taboola "+t))}eventMatch2one(t){if("undefined"==typeof m2o)return;let e=document.createElement("script");e.src="https://secure.adnxs.com/px?"+t+"&t=1",document.head.appendChild(e),this.logDebug("match2one "+t)}eventLinkedin(t){void 0!==window.lintrk&&(window.lintrk("track",{conversion_id:t}),this.logDebug("linkedin "+t))}eventEtracker(t,e){"undefined"!=typeof _etracker&&(void 0===e?(_etracker.sendEvent(new et_UserDefinedEvent(null,null,t,null)),this.logDebug("etracker "+t)):(_etracker.sendEvent(new et_UserDefinedEvent(null,t,e,null)),this.logDebug("etracker "+t+" "+e)))}trackDuration(){for(var t=this,e=30;e/60<=8;)(function(e){window.setTimeout(function(){!0!==this.isDestroyed&&(t.eventAnalytics("duration_time",e+"s"),t.eventEtracker("duration_time",e+"s"))},1e3*e)})(e),e+=30}trackDurationCustom(t,e){setTimeout(e,1e3*t)}trackScrollDepth(){this.eventAnalytics("scroll_depth","0%"),this.eventEtracker("scroll_depth","0%"),this.registerEventListener(window,"scroll",()=>{let t=this.scrollPos();for(var e in this.scrollDepthTriggered)!1===this.scrollDepthTriggered[e]&&t>=e&&(this.scrollDepthTriggered[e]=!0,this.eventAnalytics("scroll_depth",e+"%"),this.eventEtracker("scroll_depth",e+"%"))})}registerEventListener(t,e,n){t.addEventListener(e,n),this.eventListeners.push({obj:t,type:e,fn:n})}unregisterAllEventListeners(){this.eventListeners.forEach(t=>{t.obj.removeEventListener(t.type,t.fn)})}trackScrollDepthCustom(t,e){this.registerEventListener(window,"scroll",()=>{let n=this.scrollPos();!1===this.scrollDepthTriggeredOnce&&n>=t&&(this.scrollDepthTriggeredOnce=!0,e())})}scrollPos(){let t=document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop,e=Math.max(document.body.offsetHeight,document.body.scrollHeight,document.documentElement.clientHeight,document.documentElement.offsetHeight,document.documentElement.scrollHeight),n=window.innerHeight;return Math.round(t/(e-n)*100)}waitFor(t,e=null){return new Promise((n,r)=>{let i=setInterval(()=>{this.isLoaded(t)&&(window.clearInterval(i),null!==e&&"function"==typeof e&&e(),n())},1e3)})}loadJs(t,e=null){("string"==typeof t||t instanceof String)&&(t=[t]);let n=[];if(t.forEach(t=>{n.push(new Promise((e,n)=>{let r=document.createElement("script");r.src=t,r.onload=()=>{e()},document.head.appendChild(r)}))}),null===e||"function"!=typeof e)return Promise.all(n);Promise.all(n).then(()=>{e()})}translate(t){if("string"==typeof t||t instanceof String)return t;let e=this.lng();return e in t?t[e]:"lng_fallback"in this.config&&!1!==this.config.lng_fallback&&void 0!==this.config.lng_fallback&&null!==this.config.lng_fallback&&""!==this.config.lng_fallback&&this.config.lng_fallback in t?t[this.config.lng_fallback]:Object.values(t)[0]}lng(){let t="en";return document.documentElement.hasAttribute("lang")&&(t=document.documentElement.getAttribute("lang").substring(0,2).toLowerCase()),t}url(){return window.location.protocol+"//"+window.location.host+window.location.pathname}urlFull(){return window.location.href}urlBase(){return window.location.protocol+"//"+window.location.host}trim(t,e){let n=[" ","\n","\r","\t","\f","\v"," "," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "].join(""),r=0,i=0;for(t+="",e&&(n=(e+"").replace(/([[\]().?/*{}+$^:])/g,"$1")),r=t.length,i=0;i<r;i++)if(-1===n.indexOf(t.charAt(i))){t=t.substring(i);break}for(r=t.length,i=r-1;i>=0;i--)if(-1===n.indexOf(t.charAt(i))){t=t.substring(0,i+1);break}return-1===n.indexOf(t.charAt(0))?t:""}accept(t,e=!1){this.addToCookie(t),this.isExcluded()||this.addScript(t,e)}decline(t){this.deleteFromCookie(t)}logDebug(t){"debug_log"in this.config&&!0===this.config.debug_log&&console.log(t)}logTrackingActive(){return!(!("consent_tracking"in this.config)||!1===this.config.consent_tracking||void 0===this.config.consent_tracking||null===this.config.consent_tracking||""==this.config.consent_tracking)}logTracking(t,e=null){if(!this.logTrackingActive())return;let n=new XMLHttpRequest,r=null,i=(-1===this.config.consent_tracking.indexOf("//")?this.trim(this.urlBase(),"/"):"")+"/"+this.trim(this.config.consent_tracking,"/");r={action:t,date:(new Date).getFullYear()+"-"+("0"+((new Date).getMonth()+1)).slice(-2)+"-"+("0"+(new Date).getDate()).slice(-2)+" "+("0"+(new Date).getHours()).slice(-2)+":"+("0"+(new Date).getMinutes()).slice(-2)+":"+("0"+(new Date).getSeconds()).slice(-2),url:this.urlFull(),providers:e,viewport:window.innerWidth+"x"+window.innerHeight},n.open("POST",i,!0),n.setRequestHeader("Content-type","application/json"),n.send(JSON.stringify(r))}trackFirstUserInteraction(){this.logTrackingActive()&&["mousedown","mousemove","keydown","scroll","touchstart","click"].forEach(t=>{document.addEventListener(t,()=>{!0!==this.first_user_interaction&&(this.first_user_interaction=!0,this.logTracking("first_user_interaction"))},!0)})}hexToRgb(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(t,e,n,r)=>e+e+n+n+r+r);let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}hexToRgbaStr(t,e){let n=this.hexToRgb(t);return null===n?"":"rgba("+n.r+","+n.g+","+n.b+","+e+")"}isPageSpeed(){return!!navigator.userAgent.match(/(Mozilla\/5\.0 \(Linux; Android 11; moto g power \(2022\)\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0.0.0 Mobile Safari\/537\.36)|(Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0\.0\.0 Safari\/537\.36)|(Speed Insights)|(Chrome-Lighthouse)|(PSTS[\d\.]+)/)||(!!/HeadlessChromium|Lighthouse|PTST/.test(navigator.userAgent)||(!!navigator.webdriver||(0===navigator.plugins.length||(!navigator.languages||0===navigator.languages.length))))}}}();
|
|
1
|
+
!function(){var e=Object.create,t=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),r=(s,r,a)=>(a=null!=s?e(n(s)):{},((e,n,s,r)=>{if(n&&"object"==typeof n||"function"==typeof n)for(var a,l=i(n),h=0,d=l.length;h<d;h++)a=l[h],c.call(e,a)||a===s||t(e,a,{get:(e=>n[e]).bind(null,a),enumerable:!(r=o(n,a))||r.enumerable});return e})(!r&&s&&s.__esModule?a:t(a,"default",{value:s,enumerable:!0}),s)),a=class{static getParam(e){let t=window.location.search;if(""==t)return null;let o=t.substring(1).split("&");for(var i=0;i<o.length;i++){var n=o[i].split("=");if(n[0]==e&&""!=n[1])return n[1]}return null}static urlHostTopLevel(){let e=window.location.hostname;if(e.match(/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/))return e;for(e=e.split(".");e.length>2;)e.shift();return e=e.join("."),e}},l=r(s(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.parseCookie=a,e.parse=a,e.stringifyCookie=function(e,i){const n=i?.encode||encodeURIComponent,c=[];for(const i of Object.keys(e)){const s=e[i];if(void 0===s)continue;if(!t.test(i))throw new TypeError(`cookie name is invalid: ${i}`);const r=n(s);if(!o.test(r))throw new TypeError(`cookie val is invalid: ${s}`);c.push(`${i}=${r}`)}return c.join("; ")},e.stringifySetCookie=l,e.serialize=l,e.parseSetCookie=function(e,t){const o=t?.decode||u,i=e.length,n=h(e,0,i),s=d(e,0,n),r=-1===s?{name:"",value:o(p(e,0,n))}:{name:p(e,0,s),value:o(p(e,s+1,n))};let a=n+1;for(;a<i;){const t=h(e,a,i),o=d(e,a,t),n=p(e,a,-1===o?t:o),s=-1===o?void 0:p(e,o+1,t);switch(n.toLowerCase()){case"httponly":r.httpOnly=!0;break;case"secure":r.secure=!0;break;case"partitioned":r.partitioned=!0;break;case"domain":r.domain=s;break;case"path":r.path=s;break;case"max-age":s&&c.test(s)&&(r.maxAge=Number(s));break;case"expires":if(!s)break;const e=new Date(s);Number.isFinite(e.valueOf())&&(r.expires=e);break;case"priority":if(!s)break;const t=s.toLowerCase();"low"!==t&&"medium"!==t&&"high"!==t||(r.priority=t);break;case"samesite":if(!s)break;const o=s.toLowerCase();"lax"!==o&&"strict"!==o&&"none"!==o||(r.sameSite=o)}a=t+1}return r},e.stringifySetCookie=l,e.serialize=l;var t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,o=/^[\u0021-\u003A\u003C-\u007E]*$/,i=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,c=/^-?\d+$/,s=Object.prototype.toString,r=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function a(e,t){const o=new r,i=e.length;if(i<2)return o;const n=t?.decode||u;let c=0;do{const t=d(e,c,i);if(-1===t)break;const s=h(e,c,i);if(t>s){c=e.lastIndexOf(";",t-1)+1;continue}const r=p(e,c,t);void 0===o[r]&&(o[r]=n(p(e,t+1,s))),c=s+1}while(c<i);return o}function l(e,c,r){const a="object"==typeof e?e:{...r,name:e,value:String(c)},l=("object"==typeof c?c:r)?.encode||encodeURIComponent;if(!t.test(a.name))throw new TypeError(`argument name is invalid: ${a.name}`);const h=a.value?l(a.value):"";if(!o.test(h))throw new TypeError(`argument val is invalid: ${a.value}`);let d=a.name+"="+h;if(void 0!==a.maxAge){if(!Number.isInteger(a.maxAge))throw new TypeError(`option maxAge is invalid: ${a.maxAge}`);d+="; Max-Age="+a.maxAge}if(a.domain){if(!i.test(a.domain))throw new TypeError(`option domain is invalid: ${a.domain}`);d+="; Domain="+a.domain}if(a.path){if(!n.test(a.path))throw new TypeError(`option path is invalid: ${a.path}`);d+="; Path="+a.path}if(a.expires){if(p=a.expires,"[object Date]"!==s.call(p)||!Number.isFinite(a.expires.valueOf()))throw new TypeError(`option expires is invalid: ${a.expires}`);d+="; Expires="+a.expires.toUTCString()}var p;if(a.httpOnly&&(d+="; HttpOnly"),a.secure&&(d+="; Secure"),a.partitioned&&(d+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():void 0){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${a.priority}`)}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"none":d+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${a.sameSite}`)}return d}function h(e,t,o){const i=e.indexOf(";",t);return-1===i?o:i}function d(e,t,o){const i=e.indexOf("=",t);return i<o?i:-1}function p(e,t,o){let i=t,n=o;do{const t=e.charCodeAt(i);if(32!==t&&9!==t)break}while(++i<n);for(;n>i;){const t=e.charCodeAt(n-1);if(32!==t&&9!==t)break;n--}return e.slice(i,n)}function u(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}})());window.chefcookie=class{constructor(e={}){let t={exclude_ua_regex:/(Mozilla\/5\.0 \(Linux; Android 11; moto g power \(2022\)\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0.0.0 Mobile Safari\/537\.36)|(Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0\.0\.0 Safari\/537\.36)|(Speed Insights)|(Chrome-Lighthouse)|(PSTS[\d\.]+)/,domain:a.urlHostTopLevel()};this.config={...t,...e},this.config.settings.forEach((e,t)=>{"scripts"in e&&0!==Object.keys(e.scripts).length||(e.scripts={},e.scripts["dummy_group_"+t]={})}),this.isDestroyed=!1,this.isOpened=!1,"chefcookie_loaded"in window||(window.chefcookie_loaded=[]),this.scrollDepthTriggeredOnce=!1,this.scrollDepthTriggered={1:!1,10:!1,25:!1,50:!1,75:!1,100:!1},this.eventListeners=[],this.animationSpeed=300,this.scrollPosition=0}init(){if(!0===this.config.exclude_google_pagespeed&&(this.config.exclude_ua_regex=/(Mozilla\/5\.0 \(Linux; Android 11; moto g power \(2022\)\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0.0.0 Mobile Safari\/537\.36)|(Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0\.0\.0 Safari\/537\.36)|(Speed Insights)|(Chrome-Lighthouse)|(PSTS[\d\.]+)/),!(void 0!==this.config.exclude_ua_regex&&navigator.userAgent.match(this.config.exclude_ua_regex)||this.isPageSpeed()||null===document.head||void 0===document.head.insertAdjacentHTML)){if(this.isExcluded())return this.bindOptOutOptIn(),void this.updateOptOutOptIn();this.forceAccept()&&(this.autoAcceptAllScripts(),this.setCookieToHideOverlay()),this.isCookieSetToHideOverlay()?this.addEnabledScripts(!1):(this.autoAcceptBasicScripts(),this.open(),this.trackFirstUserInteraction()),this.bindOptOutOptIn(),this.updateOptOutOptIn()}}open(){!0!==this.isOpened&&(this.isOpened=!0,this.addStyle(),this.buildDom(),this.addHtmlClasses(),this.animationIn(),this.bindButtons(),this.fixMaxHeight(),this.logTracking("open"))}openWithSettings(){this.open(),setTimeout(()=>{this.showSettings(),this.switchSettingsLabelsOpen()},this.animationSpeed)}close(){if(!1!==this.isOpened){if(this.isOpened=!1,document.documentElement.classList.remove("chefcookie--visible"),document.documentElement.classList.remove("chefcookie--fade"),document.documentElement.classList.remove("chefcookie--noscroll"),"topbar"!==this.config.style.layout){let e=null,t=null;"auto"!==window.getComputedStyle(document.body).scrollBehavior&&(e=window.getComputedStyle(document.body).scrollBehavior,document.body.style.scrollBehavior="auto"),"auto"!==window.getComputedStyle(document.documentElement).scrollBehavior&&(t=window.getComputedStyle(document.documentElement).scrollBehavior,document.documentElement.style.scrollBehavior="auto"),document.body.style.top="",document.body.style.left="",document.body.style.right="",window.scrollTo(0,this.scrollPosition),null!==e&&(document.body.style.scrollBehavior=e),null!==t&&(document.documentElement.style.scrollBehavior=t)}document.documentElement.classList.remove("chefcookie--blur"),this.animationOut(),setTimeout(()=>{document.querySelector(".chefcookie").remove(),document.querySelector(".chefcookie-styles").remove()},this.animationSpeed)}}isOpen(){return this.isOpened}isClosed(){return!this.isOpened}animationIn(){document.querySelector(".chefcookie__inner").style.overflowY="hidden","topbar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginTop=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"bottombar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginBottom=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"overlay"===this.config.style.layout&&(document.querySelector(".chefcookie__box").style.transform="scale(0.7)"),requestAnimationFrame(()=>{setTimeout(()=>{document.querySelector(".chefcookie").style.transition="opacity "+this.animationSpeed/1e3+"s ease-in-out, margin "+this.animationSpeed/1e3+"s ease-in-out",document.querySelector(".chefcookie__box").style.transition="transform "+this.animationSpeed/1e3+"s ease-in-out",document.querySelector(".chefcookie").classList.remove("chefcookie--hidden"),"topbar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginTop="0px"),"bottombar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginBottom="0px"),"overlay"===this.config.style.layout&&(document.querySelector(".chefcookie__box").style.transform="none"),requestAnimationFrame(()=>{setTimeout(()=>{document.querySelector(".chefcookie__inner").style.overflowY="auto","topbar"===this.config.style.layout&&window.scrollTo({top:0,behavior:"smooth"})},this.animationSpeed+30)})},30)})}animationOut(){document.querySelector(".chefcookie__inner").style.overflowY="hidden",document.querySelector(".chefcookie").classList.add("chefcookie--hidden"),"topbar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginTop=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"bottombar"===this.config.style.layout&&(document.querySelector(".chefcookie").style.marginBottom=-1*document.querySelector(".chefcookie").offsetHeight+"px"),"overlay"===this.config.style.layout&&(document.querySelector(".chefcookie__box").style.transform="scale(0.7)")}destroy(){this.close(),this.config={},this.isDestroyed=!0,this.isOpened=!1,this.unregisterAllEventListeners(),this.eventListeners=[]}forceAccept(){if("bypass_parameter"in this.config&&!1!==this.config.bypass_parameter&&void 0!==this.config.bypass_parameter&&null!==this.config.bypass_parameter&&""!==this.config.bypass_parameter&&"object"==typeof this.config.bypass_parameter&&!Array.isArray(this.config.bypass_parameter))for(const[e,t]of Object.entries(this.config.bypass_parameter))if(a.getParam(e)==t)return!0;return"1"===a.getParam("accept")||null!==a.getParam("gtm_debug")}bindOptOutOptIn(){this.registerEventListener(document,"click",e=>{if(e.target.hasAttribute("data-cc-disable")||"A"!==e.target.tagName&&e.target.closest("[data-cc-disable]")){let t=e.target.closest("[data-cc-disable]");this.isAccepted(t.getAttribute("data-cc-disable"))?this.decline(t.getAttribute("data-cc-disable"),!0):this.accept(t.getAttribute("data-cc-disable"),!0),this.updateOptOutOptIn(),e.preventDefault()}}),this.registerEventListener(document,"click",e=>{if(e.target.hasAttribute("data-cc-enable")||"A"!==e.target.tagName&&e.target.closest("[data-cc-enable]")){let t=e.target.closest("[data-cc-enable]");this.isAccepted(t.getAttribute("data-cc-enable"))||this.accept(t.getAttribute("data-cc-enable"),!0),this.updateOptOutOptIn(),e.preventDefault()}}),this.registerEventListener(document,"click",e=>{(e.target.hasAttribute("data-cc-open")||"A"!==e.target.tagName&&e.target.closest("[data-cc-open]"))&&(this.open(),e.preventDefault())})}updateOptOutOptIn(){null!==document.querySelector("[data-disable]")&&[].forEach.call(document.querySelectorAll("[data-disable]"),e=>{e.hasAttribute("data-cc-disable")||e.setAttribute("data-cc-disable",e.getAttribute("data-disable"))}),null!==document.querySelector("[data-message]")&&[].forEach.call(document.querySelectorAll("[data-message]"),e=>{e.hasAttribute("data-cc-message")||e.setAttribute("data-cc-message",e.getAttribute("data-message"))}),null!==document.querySelector("[data-cc-disable]")&&[].forEach.call(document.querySelectorAll("[data-cc-disable]"),e=>{e.hasAttribute("data-cc-message-original")||e.setAttribute("data-cc-message-original",e.textContent)}),null!==document.querySelector("[data-cc-disable]")&&[].forEach.call(document.querySelectorAll("[data-cc-disable]"),e=>{this.isAccepted(e.getAttribute("data-cc-disable"))?(e.textContent=e.getAttribute("data-cc-message-original"),e.classList.remove("disabled")):(e.textContent=e.getAttribute("data-cc-message"),e.classList.add("disabled"))}),null!==document.querySelector("[data-cc-enable]")&&[].forEach.call(document.querySelectorAll("[data-cc-enable]"),e=>{this.isAccepted(e.getAttribute("data-cc-enable"))&&e.remove()})}isExcluded(){if(void 0===this.config.exclude)return!1;let e=!1;return this.config.exclude.forEach(t=>{"function"==typeof t&&!0===t()&&(e=!0),"string"==typeof t&&(0===t.indexOf("http")&&t===window.location.protocol+"//"+window.location.host+window.location.pathname||0!==t.indexOf("http")&&t===window.location.pathname||0!==t.indexOf("http")&&t===decodeURI(window.location.pathname)||0!==t.indexOf("http")&&"/"+t.replace(/^\/+|\/+$/g,"")+"/"=="/"+window.location.pathname.replace(/^\/+|\/+$/g,"")+"/"||0!==t.indexOf("http")&&"/"+t.replace(/^\/+|\/+$/g,"")+"/"=="/"+decodeURI(window.location.pathname).replace(/^\/+|\/+$/g,"")+"/")&&(e=!0)}),e}addStyle(){let e=`\n .chefcookie, .chefcookie *\n {\n box-sizing: border-box;\n margin:0;\n padding:0;\n }\n /* try to reset styles */\n .chefcookie h2,\n .chefcookie a:link,\n .chefcookie a:hover,\n .chefcookie a:visited\n {\n color:inherit;\n }\n .chefcookie\n {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n right: 0;\n bottom: 0;\n transform: translateZ(0);\n }\n .chefcookie--hidden\n {\n opacity: 0;\n pointer-events:none;\n }\n .chefcookie__inner\n {\n width:100%;\n height:100%;\n text-align: center;\n white-space: nowrap;\n font-size: 0;\n overflow-y:auto;\n overflow-x:hidden;\n max-height:100vh;\n }\n .chefcookie__box\n {\n font-size: ${this.config.style.size-3+15}px;\n line-height:1.6;\n color:${this.config.style.color_text??"#595f60"};\n width: 100%;\n margin: 0 auto;\n display: inline-block;\n vertical-align: middle;\n white-space: normal;\n border-radius: 0;\n padding-top: 2em;\n padding-bottom: 2em;\n padding-left: 3em;\n padding-right: 3em;\n text-align: left;\n }\n .chefcookie__message\n {\n margin-bottom:1.5em;\n text-align:justify;\n }\n .chefcookie__message h2\n {\n margin-bottom:0.5em;\n font-size:2em;\n line-height:1.4;\n text-transform:uppercase;\n font-weight:700;\n text-align:left;\n }\n .chefcookie__message p {\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a,\n .chefcookie__message a:focus\n {\n color:inherit;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-decoration:underline;\n font-size: 1em;\n line-height:1.6;\n }\n .chefcookie__message a:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__message a:hover\n {\n opacity: 0.5;\n color: inherit;\n }\n }\n .chefcookie__message a:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons\n {\n margin-top:0.5em;\n }\n .chefcookie__button,\n .chefcookie__button:focus\n {\n padding: 1em 0.5em;\n border: 2px solid ${this.config.style.color_text??"#595f60"};\n font-weight: bold;\n display: block;\n color: inherit;\n text-decoration: none;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-transform: uppercase;\n float: left;\n text-align: center;\n min-width: 21em;\n margin-right:3em;\n }\n .chefcookie__buttons--count-3 .chefcookie__button,\n .chefcookie__buttons--count-3 .chefcookie__button:focus {\n min-width:15em;\n margin-right:1em;\n }\n .chefcookie__button:last-child\n {\n margin-right:0;\n }\n .chefcookie__button:focus\n {\n outline:none;\n }\n @media (hover: hover) {\n .chefcookie__button:hover\n {\n opacity: 0.5;\n text-decoration:none;\n color: inherit;\n }\n }\n .chefcookie__button:active\n {\n opacity: 0.1;\n color: inherit;\n }\n .chefcookie__buttons:after\n {\n clear:both;\n display:table;\n content:"";\n }\n ${void 0===this.config.style.highlight_accept||!0===this.config.style.highlight_accept?`\n .chefcookie__button--accept\n {\n background-color:${this.config.style.color_highlight??this.config.style.color??"#ff0000"};\n border-color:transparent;\n }\n .chefcookie__button--accept.chefcookie__button--accept,\n .chefcookie__button--accept.chefcookie__button--accept:hover,\n .chefcookie__button--accept.chefcookie__button--accept:focus,\n .chefcookie__button--accept.chefcookie__button--accept:link,\n .chefcookie__button--accept.chefcookie__button--accept:visited\n {\n color:${this.config.style.color_background??"#eeeeee"};\n }\n `:""}\n .chefcookie__settings-container\n {\n height:0;\n overflow:hidden;\n transition: height ${this.animationSpeed/1e3}s ease-out;\n }\n .chefcookie__groups\n {\n list-style-type:none;\n }\n .chefcookie__groups:after\n {\n clear:both;\n display:table;\n content:"";\n }\n .chefcookie__group\n {\n float: left;\n }\n .chefcookie__group:before\n {\n display:none;\n }\n .chefcookie__group-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n font-weight:bold;\n font-size:1.2em;\n line-height:1.7;\n text-transform:uppercase;\n }\n .chefcookie__group-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n font-size:1em;\n line-height:1.6;\n }\n .chefcookie__group-label:after\n {\n clear:both;\n display:table;\n content:""\n }\n .chefcookie__group--disabled .chefcookie__group-label\n {\n cursor:default;\n }\n .chefcookie__group-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__group--disabled .chefcookie__group-checkbox-icon\n {\n ${void 0===this.config.style.show_disabled_checkbox||!1===this.config.style.show_disabled_checkbox?"display:none;":"opacity: 0.75 !important;"}\n }\n .chefcookie__group-checkbox-icon\n {\n line-height:2;\n display: block;\n width: 4em;\n height: 2em;\n background-color: ${this.config.style.color_background??"#eeeeee"};\n border: 2px solid ${this.config.style.color_text??"#595f60"};\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__group-checkbox-icon:before\n {\n content: "0";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-align: center;\n font-weight: bold;\n font-size: 1em;\n line-height: 2;\n opacity: 0.25;\n color: ${this.config.style.color_text??"#595f60"};\n }\n .chefcookie__group-checkbox-icon:after\n {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ${this.config.style.color_text??"#595f60"};\n background-color: ${this.config.style.color_text??"#595f60"};\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__group-checkbox ~ *\n {\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n }\n .chefcookie__group-checkbox[data-status="0"] ~ *\n {\n opacity: 0.75;\n }\n .chefcookie__group-checkbox[data-status="1"] ~ .chefcookie__group-checkbox-icon\n {\n opacity: 0.85;\n }\n .chefcookie__group-checkbox[data-status="1"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:25%;\n }\n .chefcookie__group-checkbox[data-status="2"] ~ .chefcookie__group-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__group-checkbox[data-status="1"] ~ .chefcookie__group-checkbox-icon:before,\n .chefcookie__group-checkbox[data-status="2"] ~ .chefcookie__group-checkbox-icon:before\n {\n content: "";\n background-color: ${this.config.style.color_text??"#595f60"};\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 3px;\n }\n .chefcookie__group-description\n {\n width:100%;\n clear:both;\n padding-top:1em;\n display: block;\n font-size:0.9em;\n line-height:1.5;\n text-align:justify;\n font-weight: normal;\n }\n .chefcookie__group-collapse,\n .chefcookie__group-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__group-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__scripts\n {\n list-style-type:none;\n height:0;\n overflow:hidden;\n transition: height ${this.animationSpeed/1e3}s ease-out;\n }\n .chefcookie__scripts--visible {\n height:auto;\n }\n .chefcookie__script {\n margin-bottom:0.5em;\n }\n .chefcookie__script:before\n {\n display:none;\n }\n .chefcookie__script:first-child {\n margin-top:1em;\n }\n .chefcookie__script:last-child {\n margin-bottom:0;\n }\n .chefcookie__script-title\n {\n float:left;\n width:70%;\n min-height: 1.66em;\n line-height: 1.66;\n display: block;\n }\n .chefcookie__script-label\n {\n cursor: pointer;\n display:block;\n width:100%;\n height:100%;\n }\n .chefcookie__script-label:after\n {\n clear:both;\n display:table;\n content:""\n }\n .chefcookie__script--disabled .chefcookie__script-label\n {\n cursor:default;\n }\n .chefcookie__script-checkbox\n {\n opacity: 0;\n position:absolute;\n display: block;\n pointer-events:none;\n }\n .chefcookie__script--disabled .chefcookie__script-checkbox-icon\n {\n ${void 0===this.config.style.show_disabled_checkbox||!1===this.config.style.show_disabled_checkbox?"display:none;":"opacity: 0.75 !important;"}\n }\n .chefcookie__script-checkbox-icon\n {\n line-height:1.5;\n display: block;\n width: 3em;\n height: 1.5em;\n background-color: ${this.config.style.color_background??"#eeeeee"};\n border: 1px solid ${this.config.style.color_text??"#595f60"};\n margin: 0;\n padding: 0;\n position: relative;\n border-radius: 2em;\n float: right;\n }\n .chefcookie__script-checkbox-icon:before\n {\n content: "0";\n position: absolute;\n top: 0;\n left: 45%;\n width: 50%;\n bottom: 0;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n text-align: center;\n font-size: 0.7em;\n line-height: 2;\n opacity: 0.25;\n color: ${this.config.style.color_text??"#595f60"};\n }\n .chefcookie__script-checkbox-icon:after\n {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n bottom: 0;\n box-shadow: 0 0 0px 1px ${this.config.style.color_text??"#595f60"};\n background-color: ${this.config.style.color_text??"#595f60"};\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n border-radius: 50%;\n }\n .chefcookie__script-checkbox ~ *\n {\n opacity: 0.75;\n transition: all ${this.animationSpeed/1e3}s ease-in-out;\n }\n .chefcookie__script-checkbox:checked ~ *\n {\n opacity:1;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:after\n {\n left:50%;\n }\n .chefcookie__script-checkbox:checked ~ .chefcookie__script-checkbox-icon:before\n {\n content: "";\n background-color: ${this.config.style.color_text??"#595f60"};\n top: 30%;\n bottom: 30%;\n left: 27%;\n width: 2px;\n }\n\n .chefcookie__script-description\n {\n width: 100%;\n clear: both;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n display: block;\n font-size: 0.8em;\n line-height:1.4;\n text-align: justify;\n }\n .chefcookie__script-description-collapse,\n .chefcookie__script-description-collapse:focus {\n color:inherit;\n text-decoration:underline;\n padding-top: 0.25em;\n padding-bottom: 0.5em;\n display: block;\n }\n @media (hover: hover) {\n .chefcookie__script-description-collapse:hover\n {\n opacity: 0.9;\n color: inherit;\n text-decoration:underline;\n }\n }\n .chefcookie__script-description-content {\n height:0;\n overflow:hidden;\n transition: height ${this.animationSpeed/1e3}s ease-out;\n }\n .chefcookie__script-description-content > *:not(:last-child) {\n margin-bottom:0.5em;\n }\n .chefcookie__script-description-content table {\n width:100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n .chefcookie__script-description-content table td {\n border:1px solid ${this.hexToRgbaStr(this.config.style.color_text??"#595f60",.1)};\n padding: 0.3em 0.5em;\n vertical-align:top;\n }\n\n .chefcookie--noscroll body\n {\n position:fixed;\n width: 100%;\n overflow:hidden;\n }\n .chefcookie--fade body:after,\n .chefcookie--blur body:after\n {\n content:"";\n position:fixed;\n z-index: 2147483644;\n top:0;\n left:0;\n width:100%;\n height:100%;\n }\n .chefcookie--fade body:after\n {\n background-color: rgba(0, 0, 0, 0.65);\n }\n .chefcookie--blur body:after\n {\n backdrop-filter: grayscale(50%) blur(5px);\n }\n .chefcookie--overlay\n {\n top: 0;\n }\n .chefcookie--overlay .chefcookie__inner:before\n {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n }\n .chefcookie--overlay .chefcookie__box\n {\n width: 95%;\n max-width: 60em;\n box-shadow: 0 1em 5em -0.5em #000;\n background-color: ${this.config.style.color_background??"#eeeeee"};\n }\n .chefcookie--overlay .chefcookie__group\n {\n height: 13em;\n margin-bottom: 4%;\n background-color: rgba(${""!=this.config.style.color_background&&["#000","#000000","black"].indexOf(this.config.style.color_background)>-1?"255, 255, 255":"0, 0, 0"}, 0.05);\n border: 1px solid rgba(${""!=this.config.style.color_background&&["#000","#000000","black"].indexOf(this.config.style.color_background)>-1?"255, 255, 255":"0, 0, 0"}, 0.01);\n width: 48%;\n margin-right: 4%;\n }\n .chefcookie--overlay .chefcookie__group:nth-child(2n)\n {\n margin-right:0;\n }\n .chefcookie--overlay.chefcookie--has-scripts .chefcookie__group\n {\n height:auto;\n width: 100%;\n margin-right: 0;\n margin-bottom: 1em;\n }\n .chefcookie--overlay .chefcookie__group\n {\n padding: 1em 1.25em;\n }\n .chefcookie--bottombar,\n .chefcookie--topbar\n {\n background-color:${this.config.style.color_background??"#eeeeee"};\n box-shadow: 0 1em 5em -0.5em #000;\n }\n .chefcookie--bottombar\n {\n bottom:0;\n top:auto;\n }\n .chefcookie--topbar\n {\n bottom:auto;\n top:0;\n position:relative;\n }\n .chefcookie--bottombar .chefcookie__box,\n .chefcookie--topbar .chefcookie__box\n {\n max-width: 1280px;\n }\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n margin-top: 0px;\n margin-bottom: 1.5em;\n width: 22%;\n margin-right: 4%;\n }\n .chefcookie--bottombar .chefcookie__group:last-child,\n .chefcookie--topbar .chefcookie__group:last-child\n {\n margin-right:0;\n }\n .chefcookie--bottombar .chefcookie__groups--count-9 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-9 .chefcookie__group { width: 7.55%; }\n .chefcookie--bottombar .chefcookie__groups--count-8 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-8 .chefcookie__group { width: 9.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-7 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-7 .chefcookie__group { width: 10.85%; }\n .chefcookie--bottombar .chefcookie__groups--count-6 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-6 .chefcookie__group { width: 13.33%; }\n .chefcookie--bottombar .chefcookie__groups--count-5 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-5 .chefcookie__group { width: 16.80%; }\n .chefcookie--bottombar .chefcookie__groups--count-4 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-4 .chefcookie__group { width: 22.00%; }\n .chefcookie--bottombar .chefcookie__groups--count-3 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-3 .chefcookie__group { width: 30.66%; }\n .chefcookie--bottombar .chefcookie__groups--count-2 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-2 .chefcookie__group { width: 48%; }\n .chefcookie--bottombar .chefcookie__groups--count-1 .chefcookie__group,\n .chefcookie--topbar .chefcookie__groups--count-1 .chefcookie__group { width: 100%; }\n @media screen and (max-width: 940px)\n {\n .chefcookie__button,\n .chefcookie__button:focus\n {\n float: none;\n margin: 0 0 1em;\n text-align: center;\n width: 100%;\n min-width:0;\n }\n }\n @media screen and (max-width: 840px)\n {\n .chefcookie__box\n {\n padding:1em;\n }\n .chefcookie__message h2\n {\n font-size:1.5em;\n line-height:1.4;\n }\n .chefcookie .chefcookie__group,\n .chefcookie--overlay .chefcookie__group,\n .chefcookie--bottombar .chefcookie__group,\n .chefcookie--topbar .chefcookie__group\n {\n float:none;\n margin-right:0;\n width:100% !important;\n height:auto;\n }\n }\n `;"css_replace"in this.config.style&&void 0!==this.config.style.css_replace&&null!==this.config.style.css_replace&&""!==this.config.style.css_replace&&(e=this.config.style.css_replace),"css_add"in this.config.style&&void 0!==this.config.style.css_add&&null!==this.config.style.css_add&&""!==this.config.style.css_add&&(e+=this.config.style.css_add),document.head.insertAdjacentHTML("beforeend",'<style class="chefcookie-styles">'+e+"</style>")}addHtmlClasses(){document.documentElement.classList.add("chefcookie--visible"),1==this.config.style.noscroll&&("topbar"!==this.config.style.layout&&(this.scrollPosition=window.pageYOffset,document.body.style.top=-this.scrollPosition+"px",document.body.style.left="0px",document.body.style.right="0px"),document.documentElement.classList.add("chefcookie--noscroll")),1==this.config.style.fade&&document.documentElement.classList.add("chefcookie--fade"),1==this.config.style.blur&&document.documentElement.classList.add("chefcookie--blur")}buildDom(){document.body.insertAdjacentHTML("afterbegin",`\n <div class="chefcookie chefcookie--${this.config.style.layout} chefcookie--columns-${"columns"in this.config.style?this.config.style.columns:"auto"}${"scripts_selection"in this.config&&!1!==this.config.scripts_selection?" chefcookie--has-scripts":""} chefcookie--hidden">\n <div class="chefcookie__inner">\n <div class="chefcookie__box">\n <div class="chefcookie__message">${this.translate(this.config.message)}</div>\n <div class="chefcookie__settings-container">\n <ul class="chefcookie__groups chefcookie__groups--count-${this.config.settings.length}">\n ${this.config.settings.map((e,t)=>`\n <li class="chefcookie__group${e.cannot_be_modified?" chefcookie__group--disabled":""}">\n <label class="chefcookie__group-label" for="chefcookie_group_${t}">\n <input${e.cannot_be_modified?' disabled="disabled"':""} class="chefcookie__group-checkbox" data-status="${this.isCheckboxActiveForGroup(t)}" id="chefcookie_group_${t}" type="checkbox" name="chefcookie_group[]" value="${t}"${2===this.isCheckboxActiveForGroup(t)?' checked="checked"':""} />\n <span class="chefcookie__group-title">${this.translate(e.title)}</span>\n <span class="chefcookie__group-checkbox-icon"></span>\n ${"description"in e&&""!=e.description?`\n <span class="chefcookie__group-description">${this.translate(e.description)}</span>\n `:""}\n ${"scripts_selection"in this.config&&"collapse"===this.config.scripts_selection&&"scripts"in e&&Object.keys(e.scripts).length>0&&-1===Object.keys(e.scripts)[0].indexOf("dummy_")?`\n <a href="#" class="chefcookie__group-collapse">${""!=this.getLabel("group_open")?this.getLabel("group_open"):this.getLabel("settings_open")}</a>\n `:""}\n </label>\n ${"scripts_selection"in this.config&&!1!==this.config.scripts_selection&&"scripts"in e&&Object.keys(e.scripts).length>0&&-1===Object.keys(e.scripts)[0].indexOf("dummy_")?`\n <ul class="chefcookie__scripts chefcookie__scripts--count-${Object.keys(e.scripts).length}${"collapse"!==this.config.scripts_selection?" chefcookie__scripts--visible":""}">\n ${Object.keys(e.scripts).map(o=>`\n <li class="chefcookie__script${e.cannot_be_modified?" chefcookie__script--disabled":""}">\n <label class="chefcookie__script-label" for="chefcookie_script_${t}_${o}">\n <input${e.cannot_be_modified?' disabled="disabled"':""} class="chefcookie__script-checkbox" id="chefcookie_script_${t}_${o}" type="checkbox" name="chefcookie_script[]" value="${t}|${o}"${this.isCheckboxActiveForProvider(t,o)?' checked="checked"':""} />\n <span class="chefcookie__script-title">${"object"==typeof e.scripts[o]&&null!==e.scripts[o]&&"title"in e.scripts[o]&&""!=e.scripts[o].title?this.translate(e.scripts[o].title):o}</span>\n <span class="chefcookie__script-checkbox-icon"></span>\n </label>\n ${"object"==typeof e.scripts[o]&&null!==e.scripts[o]&&"description"in e.scripts[o]&&""!=e.scripts[o].description?'<div class="chefcookie__script-description"><a href="#" class="chefcookie__script-description-collapse">'+this.getLabel("details_open")+'</a><div class="chefcookie__script-description-content">'+this.translate(e.scripts[o].description)+"</div></div>":""}\n </li>\n `).join("")}\n </ul>\n `:""}\n </li>\n `).join("")}\n </ul>\n </div>\n <div class="chefcookie__buttons chefcookie__buttons--count-${"show_decline_button"in this.config&&!0===this.config.show_decline_button?"3":"2"}">\n <a href="#chefcookie__settings" class="chefcookie__button chefcookie__button--settings">${this.getLabel("settings_open")}</a>\n <a href="#chefcookie__accept" class="chefcookie__button chefcookie__button--accept cookie-compliance-ok-btn">${this.getLabel(void 0===this.config.accept_all_if_settings_closed||!1===this.config.accept_all_if_settings_closed?"accept":"accept_all")}</a>\n ${"show_decline_button"in this.config&&!0===this.config.show_decline_button?`\n <a href="#chefcookie__decline" class="chefcookie__button chefcookie__button--decline">${this.getLabel("decline")}</a>\n `:""}\n </div>\n </div>\n </div>\n </div>\n `)}getLabel(e){return void 0===this.config.labels[e]?"":this.translate(this.config.labels[e])}bindButtons(){null!==document.querySelector('a[href="#chefcookie__decline"]')&&[].forEach.call(document.querySelectorAll('a[href="#chefcookie__decline"]'),e=>{this.registerEventListener(e,"click",e=>{this.logTracking("decline"),this.uncheckAllOptIns(),this.saveInCookie(),this.close(),this.setCookieToHideOverlay(),this.updateOptOutOptIn(),e.preventDefault()})}),null!==document.querySelector('a[href="#chefcookie__accept"]')&&[].forEach.call(document.querySelectorAll('a[href="#chefcookie__accept"]'),e=>{this.registerEventListener(e,"click",e=>{!1!==this.isOpened&&("accept_all_if_settings_closed"in this.config&&!0!==this.config.accept_all_if_settings_closed||this.settingsVisible()||this.checkAllOptIns(),this.saveInCookie(),this.addEnabledScripts(!0),this.close(),this.setCookieToHideOverlay(),this.updateOptOutOptIn(),e.preventDefault())})}),null!==document.querySelector('a[href="#chefcookie__settings"]')&&[].forEach.call(document.querySelectorAll('a[href="#chefcookie__settings"]'),e=>{this.registerEventListener(e,"click",e=>{this.settingsVisible()?(this.hideSettings(),this.switchSettingsLabelsClose()):(this.showSettings(),this.switchSettingsLabelsOpen()),e.preventDefault()})}),null!==document.querySelector(".chefcookie__script-checkbox")&&[].forEach.call(document.querySelectorAll(".chefcookie__script-checkbox"),e=>{this.registerEventListener(e,"change",t=>{let o=e.closest(".chefcookie__group").querySelector(".chefcookie__group-checkbox"),i=e.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox:checked").length;i===e.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox").length?(o.checked=!0,o.setAttribute("data-status",2)):(o.checked=!1,o.setAttribute("data-status",i>0?1:0)),t.preventDefault()})}),null!==document.querySelector(".chefcookie__group-checkbox")&&[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox"),e=>{this.registerEventListener(e,"change",t=>{e.setAttribute("data-status",e.checked?2:0),null!==e.closest(".chefcookie__group").querySelector(".chefcookie__script-checkbox")&&[].forEach.call(e.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox"),t=>{t.checked=e.checked}),t.preventDefault()})}),null!==document.querySelector(".chefcookie__group-collapse")&&[].forEach.call(document.querySelectorAll(".chefcookie__group-collapse"),e=>{this.registerEventListener(e,"click",t=>{let o=e.closest(".chefcookie__group");this.scriptsVisible(o)?(this.hideScripts(o),this.switchScriptsLabelsClose(o)):(this.showScripts(o),this.switchScriptsLabelsOpen(o)),t.preventDefault()})}),null!==document.querySelector(".chefcookie__script-description-collapse")&&[].forEach.call(document.querySelectorAll(".chefcookie__script-description-collapse"),e=>{this.registerEventListener(e,"click",t=>{let o=e.closest(".chefcookie__script-description");this.scriptDescriptionVisible(o)?(this.hideScriptDescription(o),this.switchScriptDescriptionLabelsClose(o)):(this.showScriptDescription(o),this.switchScriptDescriptionLabelsOpen(o)),t.preventDefault()})})}switchSettingsLabelsOpen(){document.querySelector(".chefcookie__button--settings").textContent=this.getLabel("settings_close"),!0===this.config.accept_all_if_settings_closed&&(document.querySelector(".chefcookie__button--accept").textContent=this.getLabel("accept"))}switchSettingsLabelsClose(){document.querySelector(".chefcookie__button--settings").textContent=this.getLabel("settings_open"),!0===this.config.accept_all_if_settings_closed&&(document.querySelector(".chefcookie__button--accept").textContent=this.getLabel("accept_all"))}switchScriptsLabelsOpen(e){e.querySelector(".chefcookie__group-collapse").textContent=""!=this.getLabel("group_close")?this.getLabel("group_close"):this.getLabel("settings_close")}switchScriptsLabelsClose(e){e.querySelector(".chefcookie__group-collapse").textContent=""!=this.getLabel("group_open")?this.getLabel("group_open"):this.getLabel("settings_open")}switchScriptDescriptionLabelsOpen(e){e.querySelector(".chefcookie__script-description-collapse").textContent=this.getLabel("details_close")}switchScriptDescriptionLabelsClose(e){e.querySelector(".chefcookie__script-description-collapse").textContent=this.getLabel("details_open")}checkAllOptIns(){[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox, .chefcookie__script-checkbox"),e=>{e.checked=!0})}uncheckAllOptIns(){[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox:not([disabled]), .chefcookie__script-checkbox:not([disabled])"),e=>{e.checked=!1})}getCookieExpiration(){let e=30;return"expiration"in this.config&&Number.isInteger(this.config.expiration)&&(e=this.config.expiration),e}getCookieName(e){return(this.config.cookie_prefix||"cc_")+e}setCookie(e,t){const o=this.getCookieName(e),i=this.getCookieExpiration(),n=this.config.domain,c=window.location.protocol.indexOf("https")>-1?{secure:!0,samesite:"None"}:{};document.cookie=l.stringifySetCookie(o,t,{httpOnly:!1,maxAge:86400*i,path:"/",domain:n&&window.location.hostname.endsWith(n)?n:void 0,...c})}getCookie(e){const t=this.getCookieName(e);return l.parseCookie(document.cookie)[t]}isCheckboxActiveForGroup(e){let t;if(void 0===this.config.settings[e])return 0;if(t=this.config.settings[e],"scripts"in this.config.settings[e]){let e=!0,o=!1;if(Object.keys(t.scripts).forEach(t=>{this.isAccepted(t)||(e=!1),this.isAccepted(t)&&(o=!0)}),!0===e)return 2;if(this.isCookieSetToHideOverlay())return!0===o?1:0}return t.checked_by_default||t.active?2:0}isCheckboxActiveForProvider(e,t){if(this.isAccepted(t))return!0;if(this.isCookieSetToHideOverlay())return!1;if(void 0!==this.config.settings[e]){let t=this.config.settings[e];return t.checked_by_default||t.active}return!1}setCookieToHideOverlay(){this.setCookie("hide_prompt","1")}isCookieSetToHideOverlay(){return void 0!==this.getCookie("hide_prompt")}saveInCookie(){let e=[];[].forEach.call(document.querySelectorAll(".chefcookie__group-checkbox"),t=>{null===t.closest(".chefcookie__group").querySelector(".chefcookie__script-checkbox")?!0===t.checked&&void 0!==this.config.settings[t.value].scripts&&Object.entries(this.config.settings[t.value].scripts).forEach(([t,o])=>{e.push(t)}):[].forEach.call(t.closest(".chefcookie__group").querySelectorAll(".chefcookie__script-checkbox"),t=>{!0===t.checked&&void 0!==this.config.settings[t.value.split("|")[0]].scripts[t.value.split("|")[1]]&&e.push(t.value.split("|")[1])})}),0===e.length&&e.push("null"),this.setCookie("accepted_providers",e.join(","))}addToCookie(e){let t;t=void 0===this.getCookie("accepted_providers")||"null"===this.getCookie("accepted_providers")?[]:this.getCookie("accepted_providers").split(","),-1===t.indexOf(e)&&(t.push(e),this.setCookie("accepted_providers",t.join(",")))}deleteFromCookie(e){if(void 0===this.getCookie("accepted_providers"))return;const t=this.getCookie("accepted_providers").split(","),o=t.indexOf(e);-1!==o&&t.splice(o,1),t.length>0?this.setCookie("accepted_providers",t.join(",")):this.setCookie("accepted_providers","null")}addEnabledScripts(e=!1){if(void 0===this.getCookie("accepted_providers"))return;const t=this.getCookie("accepted_providers");if("null"==t)return;let o=!0;this.config.settings.forEach(i=>{void 0!==i.scripts&&Object.entries(i.scripts).forEach(([i,n])=>{-1!==t.split(",").indexOf(i)?this.load(i,n,e):o=!1})}),!0===e&&this.logTracking(o?"accept_all":"accept_partially",t)}addScript(e,t=!1){if(void 0===this.getCookie("accepted_providers"))return;const o=this.getCookie("accepted_providers").split(",");o!==["null"]&&this.config.settings.forEach(i=>{void 0!==i.scripts&&Object.entries(i.scripts).forEach(([i,n])=>{i===e&&-1!==o.indexOf(i)&&this.load(i,n,t)})})}autoAcceptBasicScripts(){this.config.settings.forEach(e=>{void 0!==e.scripts&&!0===e.initial_tracking&&Object.entries(e.scripts).forEach(([e,t])=>{this.accept(e,!1)})})}autoAcceptAllScripts(){this.config.settings.forEach(e=>{void 0!==e.scripts&&Object.entries(e.scripts).forEach(([e,t])=>{this.accept(e,!1)})})}load(e,t,o=!1){this.isLoaded(e)||"object"==typeof t&&null!==t&&"exclude"in t&&"function"==typeof t.exclude&&!0===t.exclude()||("string"==typeof t||t instanceof String?this.loadAuto(e,t):"object"==typeof t&&null!==t&&"id"in t&&!("accept"in t)?this.loadAuto(e,t.id):"object"==typeof t&&null!==t&&"accept"in t&&"function"==typeof t.accept?new Promise(e=>{t.accept(this,e,o)}).then(()=>{this.setLoaded(e)}):this.setLoaded(e),this.logDebug("added script "+e))}loadAuto(e,t){if("analytics"===e||"google"===e){let o=document.createElement("script");o.onload=()=>{this.setLoaded(e)},o.src="https://www.googletagmanager.com/gtag/js?id="+t,document.head.appendChild(o),o=document.createElement("script"),o.innerHTML="window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '"+t+"', { 'anonymize_ip': true, cookie_flags: 'SameSite=None;Secure' });",document.head.appendChild(o)}if("tagmanager"===e){let o=document.createElement("script"),i="";i+="(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','"+t+"');",i+="function gtag(){dataLayer.push(arguments);}",o.innerHTML=i,document.head.appendChild(o),this.setLoaded(e)}if("facebook"===e){let o=document.createElement("script");o.innerHTML="!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init', '"+t+"');fbq('track', 'PageView');fbq('track', 'ViewContent');",document.head.appendChild(o),this.setLoaded(e)}if("twitter"===e){let t=document.createElement("script");t.onload=()=>{this.setLoaded(e)},t.src="//platform.twitter.com/oct.js",document.head.appendChild(t)}if("taboola"===e){let o=document.createElement("script");o.innerHTML="window._tfa = window._tfa || [];window._tfa.push({notify: 'event', name: 'page_view'});!function (t, f, a, x) { if (!document.getElementById(x)) { t.async = 1;t.src = a;t.id=x;f.parentNode.insertBefore(t, f); } }(document.createElement('script'), document.getElementsByTagName('script')[0], '//cdn.taboola.com/libtrc/unip/"+t+"/tfa.js', 'tb_tfa_script');",document.head.appendChild(o),this.setLoaded(e)}if("match2one"===e){let o=document.createElement("script");o.onload=()=>{this.setLoaded(e)},o.src="https://secure.adnxs.com/seg?add="+t+"&t=1",document.head.appendChild(o),o=document.createElement("script"),o.innerHTML="window.m2o = true;",document.head.appendChild(o)}if("microsoft"===e){let o=document.createElement("script");o.innerHTML=`\n (function(w,d,t,r,u)\n {\n var f,n,i;\n w[u]=w[u]||[],f=function()\n {\n var o={ti:"${t}", enableAutoSpaTracking: true};\n o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")\n },\n n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function()\n {\n var s=this.readyState;\n s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)\n },\n i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)\n })\n (window,document,"script","//bat.bing.com/bat.js","uetq");\n `,document.head.appendChild(o),this.setLoaded(e)}if("linkedin"===e){let o=document.createElement("script");o.innerHTML=`\n _linkedin_partner_id = "${t}";\n window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];\n window._linkedin_data_partner_ids.push(_linkedin_partner_id);\n `,document.body.appendChild(o),o=document.createElement("script"),o.innerHTML='\n (function(l) {if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};\n window.lintrk.q=[]}\n var s = document.getElementsByTagName("script")[0];\n var b = document.createElement("script");\n b.type = "text/javascript";b.async = true;\n b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";\n s.parentNode.insertBefore(b, s);})(window.lintrk);\n ',document.body.appendChild(o),o=document.createElement("noscript"),o.innerHTML=`\n <img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=${t}&fmt=gif" />\n `,document.body.appendChild(o),this.setLoaded(e)}if("smartlook"===e){let o=document.createElement("script");o.innerHTML="window.smartlook||(function(d) {var o=smartlook=function(){ o.api.push(arguments)},h=d.getElementsByTagName('head')[0];var c=d.createElement('script');o.api=new Array();c.async=true;c.type='text/javascript';c.charset='utf-8';c.src='https://web-sdk.smartlook.com/recorder.js';h.appendChild(c);})(document);smartlook('init', '"+t+"', { region: 'eu' });",document.head.appendChild(o),this.setLoaded(e)}if("crazyegg"===e){let o=document.createElement("script");o.onload=()=>{this.setLoaded(e)},o.src="//script.crazyegg.com/pages/scripts/"+t+".js",document.head.appendChild(o)}if("google_maps"===e){let o=document.createElement("script");o.src="https://maps.googleapis.com/maps/api/js?key="+t+"&callback=initMapCC",o.defer=!0,o.async=!0,window.initMapCC=()=>{this.setLoaded(e)},document.head.appendChild(o)}if("etracker"===e){let o;o=document.createElement("script"),o.innerHTML="if(window._etr === undefined) { window._etr = {eoBlocked:true}; }",document.head.appendChild(o),o=document.createElement("script"),o.onload=()=>{this.setLoaded(e)},o.id="_etLoader",o.type="text/javascript",o.charset="UTF-8",o.setAttribute("data-block-cookies","true"),o.setAttribute("data-respect-dnt","true"),o.setAttribute("data-secure-code",t),o.src="//code.etracker.com/code/e.js",document.head.appendChild(o)}if("matomo"===e){let o=document.createElement("script");o.innerHTML=`\n var _paq = window._paq = window._paq || [];\n /* tracker methods like "setCustomDimension" should be called before "trackPageView" */\n _paq.push(['trackPageView']);\n _paq.push(['enableLinkTracking']);\n (function() {\n var u="//${t.split("#")[0]}/";\n _paq.push(['setTrackerUrl', u+'matomo.php']);\n _paq.push(['setSiteId', '${t.split("#")[1]}']);\n var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];\n g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);\n })();\n `,document.head.appendChild(o),this.setLoaded(e)}}isAccepted(e){return void 0!==this.getCookie("accepted_providers")&&this.getCookie("accepted_providers").split(",").indexOf(e)>-1}isLoaded(e){return"chefcookie_loaded"in window&&window.chefcookie_loaded.indexOf(e)>-1}setLoaded(e){window.chefcookie_loaded.push(e)}settingsVisible(){return null!==document.querySelector(".chefcookie__settings-container")&&document.querySelector(".chefcookie__settings-container").classList.contains("chefcookie__settings-container--visible")}showSettings(){this.logTracking("settings_open");let e=document.querySelector(".chefcookie__settings-container");e.classList.add("chefcookie__settings-container--visible"),e.style.height=e.scrollHeight+"px",setTimeout(()=>{e.classList.contains("chefcookie__settings-container--visible")&&(e.style.height="auto")},this.animationSpeed),this.fixMaxHeight()}hideSettings(){this.logTracking("settings_close");let e=document.querySelector(".chefcookie__settings-container");e.classList.remove("chefcookie__settings-container--visible"),e.style.height=e.scrollHeight+"px",setTimeout(()=>{e.style.height=0},30)}scriptsVisible(e){return e.querySelector(".chefcookie__scripts").classList.contains("chefcookie__scripts--visible")}showScripts(e){let t=e.querySelector(".chefcookie__scripts");t.style.height=t.scrollHeight+"px",t.classList.add("chefcookie__scripts--visible"),setTimeout(()=>{t.classList.contains("chefcookie__scripts--visible")&&(t.style.height="auto")},this.animationSpeed),this.fixMaxHeight()}hideScripts(e){let t=e.querySelector(".chefcookie__scripts");t.style.height=t.scrollHeight+"px",t.classList.remove("chefcookie__scripts--visible"),setTimeout(()=>{t.style.height=0},30)}scriptDescriptionVisible(e){return e.querySelector(".chefcookie__script-description-content").classList.contains("chefcookie__script-description-content--visible")}showScriptDescription(e){let t=e.querySelector(".chefcookie__script-description-content");t.style.height=t.scrollHeight+"px",t.classList.add("chefcookie__script-description-content--visible"),setTimeout(()=>{t.classList.contains("chefcookie__script-description-content--visible")&&(t.style.height="auto")},this.animationSpeed),this.fixMaxHeight()}hideScriptDescription(e){let t=e.querySelector(".chefcookie__script-description-content");t.style.height=t.scrollHeight+"px",t.classList.remove("chefcookie__script-description-content--visible"),setTimeout(()=>{t.style.height=0},30)}fixMaxHeight(){document.querySelector(".chefcookie__inner").style.maxHeight=window.innerHeight+"px"}eventAnalytics(e,t){"function"==typeof gtag&&(void 0===t?(gtag("event",e),this.logDebug("analytics "+e)):(gtag("event",t,{event_category:e}),this.logDebug("analytics "+e+" "+t)))}eventGoogle(e,t){this.eventAnalytics(e,t)}eventFacebook(e){"function"==typeof fbq&&(fbq("trackCustom",e),this.logDebug("facebook "+e))}eventTwitter(e){"undefined"!=typeof twttr&&void 0!==twttr.conversion&&"function"==typeof twttr.conversion.trackPid&&(twttr.conversion.trackPid(e),this.logDebug("twitter "+e))}eventTaboola(e){"object"==typeof _tfa&&(_tfa.push({notify:"event",name:e}),this.logDebug("taboola "+e))}eventMatch2one(e){if("undefined"==typeof m2o)return;let t=document.createElement("script");t.src="https://secure.adnxs.com/px?"+e+"&t=1",document.head.appendChild(t),this.logDebug("match2one "+e)}eventLinkedin(e){void 0!==window.lintrk&&(window.lintrk("track",{conversion_id:e}),this.logDebug("linkedin "+e))}eventEtracker(e,t){"undefined"!=typeof _etracker&&(void 0===t?(_etracker.sendEvent(new et_UserDefinedEvent(null,null,e,null)),this.logDebug("etracker "+e)):(_etracker.sendEvent(new et_UserDefinedEvent(null,e,t,null)),this.logDebug("etracker "+e+" "+t)))}trackDuration(){for(var e=this,t=30;t/60<=8;)(function(t){window.setTimeout(function(){!0!==this.isDestroyed&&(e.eventAnalytics("duration_time",t+"s"),e.eventEtracker("duration_time",t+"s"))},1e3*t)})(t),t+=30}trackDurationCustom(e,t){setTimeout(t,1e3*e)}trackScrollDepth(){this.eventAnalytics("scroll_depth","0%"),this.eventEtracker("scroll_depth","0%"),this.registerEventListener(window,"scroll",()=>{let e=this.scrollPos();for(var t in this.scrollDepthTriggered)!1===this.scrollDepthTriggered[t]&&e>=t&&(this.scrollDepthTriggered[t]=!0,this.eventAnalytics("scroll_depth",t+"%"),this.eventEtracker("scroll_depth",t+"%"))})}registerEventListener(e,t,o){e.addEventListener(t,o),this.eventListeners.push({obj:e,type:t,fn:o})}unregisterAllEventListeners(){this.eventListeners.forEach(e=>{e.obj.removeEventListener(e.type,e.fn)})}trackScrollDepthCustom(e,t){this.registerEventListener(window,"scroll",()=>{let o=this.scrollPos();!1===this.scrollDepthTriggeredOnce&&o>=e&&(this.scrollDepthTriggeredOnce=!0,t())})}scrollPos(){let e=document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop,t=Math.max(document.body.offsetHeight,document.body.scrollHeight,document.documentElement.clientHeight,document.documentElement.offsetHeight,document.documentElement.scrollHeight),o=window.innerHeight;return Math.round(e/(t-o)*100)}waitFor(e,t=null){return new Promise((o,i)=>{let n=setInterval(()=>{this.isLoaded(e)&&(window.clearInterval(n),null!==t&&"function"==typeof t&&t(),o())},1e3)})}loadJs(e,t=null){("string"==typeof e||e instanceof String)&&(e=[e]);let o=[];if(e.forEach(e=>{o.push(new Promise((t,o)=>{let i=document.createElement("script");i.src=e,i.onload=()=>{t()},document.head.appendChild(i)}))}),null===t||"function"!=typeof t)return Promise.all(o);Promise.all(o).then(()=>{t()})}translate(e){if("string"==typeof e||e instanceof String)return e;let t=this.lng();return t in e?e[t]:"lng_fallback"in this.config&&!1!==this.config.lng_fallback&&void 0!==this.config.lng_fallback&&null!==this.config.lng_fallback&&""!==this.config.lng_fallback&&this.config.lng_fallback in e?e[this.config.lng_fallback]:Object.values(e)[0]}lng(){let e="en";return document.documentElement.hasAttribute("lang")&&(e=document.documentElement.getAttribute("lang").substring(0,2).toLowerCase()),e}url(){return window.location.protocol+"//"+window.location.host+window.location.pathname}urlFull(){return window.location.href}urlBase(){return window.location.protocol+"//"+window.location.host}trim(e,t){let o=[" ","\n","\r","\t","\f","\v"," "," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "].join(""),i=0,n=0;for(e+="",t&&(o=(t+"").replace(/([[\]().?/*{}+$^:])/g,"$1")),i=e.length,n=0;n<i;n++)if(-1===o.indexOf(e.charAt(n))){e=e.substring(n);break}for(i=e.length,n=i-1;n>=0;n--)if(-1===o.indexOf(e.charAt(n))){e=e.substring(0,n+1);break}return-1===o.indexOf(e.charAt(0))?e:""}accept(e,t=!1){this.addToCookie(e),this.isExcluded()||this.addScript(e,t)}decline(e){this.deleteFromCookie(e)}logDebug(e){"debug_log"in this.config&&!0===this.config.debug_log&&console.log(e)}logTrackingActive(){return!(!("consent_tracking"in this.config)||!1===this.config.consent_tracking||void 0===this.config.consent_tracking||null===this.config.consent_tracking||""==this.config.consent_tracking)}logTracking(e,t=null){if(!this.logTrackingActive())return;let o=new XMLHttpRequest,i=null,n=(-1===this.config.consent_tracking.indexOf("//")?this.trim(this.urlBase(),"/"):"")+"/"+this.trim(this.config.consent_tracking,"/");i={action:e,date:(new Date).getFullYear()+"-"+("0"+((new Date).getMonth()+1)).slice(-2)+"-"+("0"+(new Date).getDate()).slice(-2)+" "+("0"+(new Date).getHours()).slice(-2)+":"+("0"+(new Date).getMinutes()).slice(-2)+":"+("0"+(new Date).getSeconds()).slice(-2),url:this.urlFull(),providers:t,viewport:window.innerWidth+"x"+window.innerHeight},o.open("POST",n,!0),o.setRequestHeader("Content-type","application/json"),o.send(JSON.stringify(i))}trackFirstUserInteraction(){this.logTrackingActive()&&["mousedown","mousemove","keydown","scroll","touchstart","click"].forEach(e=>{document.addEventListener(e,()=>{!0!==this.first_user_interaction&&(this.first_user_interaction=!0,this.logTracking("first_user_interaction"))},!0)})}hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,o,i)=>t+t+o+o+i+i);let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}hexToRgbaStr(e,t){let o=this.hexToRgb(e);return null===o?"":"rgba("+o.r+","+o.g+","+o.b+","+t+")"}isPageSpeed(){return!!navigator.userAgent.match(/(Mozilla\/5\.0 \(Linux; Android 11; moto g power \(2022\)\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0.0.0 Mobile Safari\/537\.36)|(Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit\/537\.36 \(KHTML, like Gecko\) Chrome\/109\.0\.0\.0 Safari\/537\.36)|(Speed Insights)|(Chrome-Lighthouse)|(PSTS[\d\.]+)/)||(!!/HeadlessChromium|Lighthouse|PTST/.test(navigator.userAgent)||(!!navigator.webdriver||(0===navigator.plugins.length||(!navigator.languages||0===navigator.languages.length))))}}}();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chefcookie",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"main": "_build/script.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"_build/*.js",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"description": "",
|
|
16
16
|
"scripts": {
|
|
17
|
+
"preinstall": "node -e \"if(+process.versions.node.split('.')[0]<20){console.error('chefcookie requires Node >=20 (current LTS).');process.exit(1)}\"",
|
|
17
18
|
"js:vite": "vite build --logLevel error",
|
|
18
19
|
"js:minify": "terser --compress --mangle --comments false --output ./chefcookie.min.js ./chefcookie.min.js",
|
|
19
20
|
"js:babel": "npx babel ./_js/ --out-dir ./_build/",
|
|
@@ -30,10 +31,8 @@
|
|
|
30
31
|
"cypress:open": "start-server-and-test start http://localhost:8080 'cypress open'"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@babel/
|
|
34
|
-
"@babel/runtime": "^7.28.6",
|
|
34
|
+
"@babel/runtime": "^7.29.2",
|
|
35
35
|
"cookie": "^1.1.1",
|
|
36
|
-
"mdn-polyfills": "^5.20.0",
|
|
37
36
|
"onchange": "^7.1.0"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|
|
@@ -43,24 +42,24 @@
|
|
|
43
42
|
"@babel/plugin-transform-optional-chaining": "^7.28.6",
|
|
44
43
|
"@babel/plugin-transform-private-methods": "^7.28.6",
|
|
45
44
|
"@babel/plugin-transform-runtime": "^7.29.0",
|
|
46
|
-
"@babel/preset-env": "^7.29.
|
|
47
|
-
"@prettier/plugin-php": ">=0.
|
|
48
|
-
"auto-changelog": "^2.5.
|
|
45
|
+
"@babel/preset-env": "^7.29.5",
|
|
46
|
+
"@prettier/plugin-php": ">=0.25",
|
|
47
|
+
"auto-changelog": "^2.5.1",
|
|
49
48
|
"babelify": "^10.0.0",
|
|
50
|
-
"cypress": "^15.
|
|
49
|
+
"cypress": "^15.14.2",
|
|
51
50
|
"npm-run-all": "^4.1.5",
|
|
52
51
|
"prettier": ">=3",
|
|
53
|
-
"serve": "^14.2.
|
|
54
|
-
"start-server-and-test": "^
|
|
55
|
-
"terser": "^5.
|
|
56
|
-
"vite": "^
|
|
52
|
+
"serve": "^14.2.6",
|
|
53
|
+
"start-server-and-test": "^3.0.2",
|
|
54
|
+
"terser": "^5.47.1",
|
|
55
|
+
"vite": "^8.0.11"
|
|
57
56
|
},
|
|
58
57
|
"browserslist": [
|
|
59
|
-
"ie >= 11",
|
|
60
58
|
"> 0.25%",
|
|
61
|
-
"not dead"
|
|
59
|
+
"not dead",
|
|
60
|
+
"not ie 11"
|
|
62
61
|
],
|
|
63
62
|
"engines": {
|
|
64
|
-
"node": ">=
|
|
63
|
+
"node": ">=20"
|
|
65
64
|
}
|
|
66
65
|
}
|