@sonofatailor/consent-manager
Version:
Drop-in consent management plugin for analytics.js
14 lines • 145 kB
JavaScript
/*!
* Consent Manager v4.1.1-soat3
* https://github.com/segmentio/consent-manager
* Released under the MIT license
* Copyright © 2018, Segment.io, Inc
*/
var consentManager=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=69)}([function(e,n){var t=Array.isArray;e.exports=t},function(e,n,t){var r=t(51),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,n,t){var r=t(165),o=t(160);e.exports=function(e,n){var t=o(e,n);return r(t)?t:void 0}},function(e,n,t){var r=t(52),o=t(32);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,n){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},function(e,n,t){var r=t(182);function o(){var e=function(){if(window.navigator.languages&&window.navigator.languages.length>0)return navigator.languages[0];if(navigator.userLanguage)return navigator.userLanguage;return navigator.language}(),n=e;return e.indexOf("-")>=0&&(n=e.split("-")[1]),!!a[n.toUpperCase()]}function i(){var e=r.determine().name();return e&&e.indexOf("Europe")>=0}e.exports=function(){return i()||o()},e.exports.isInEUTimezone=i,e.exports.isEULocale=o;var a={BE:"Belgium",EL:"Greece",LT:"Lithuania",PT:"Portugal",BG:"Bulgaria",ES:"Spain",LU:"Luxembourg",RO:"Romania",CZ:"Czech Republic",FR:"France",RE:"Reunion",GP:"Guadeloupe",MQ:"Martinique",GF:"French Guiana",YT:"Mayotte",BL:"Saint Barthelemy",MF:"Saint Martin",PM:"Saint Pierre and Miquelon",WF:"Wallis and Futuna",PF:"French Polynesia",NC:"New Caledonia",HU:"Hungary",SI:"Slovenia",DK:"Denmark",FO:"Faroe Islands",GL:"Greenland",HR:"Croatia",MT:"Malta",SK:"Slovakia",DE:"Germany",IT:"Italy",NL:"Netherlands",AW:"Aruba",CW:"Curacao",SX:"Sint Maarten",FI:"Finland",AX:"Aland Islands",EE:"Estonia",CY:"Cyprus",AT:"Austria",SE:"Sweden",IE:"Ireland",LV:"Latvia",PL:"Poland",UK:"United Kingdom",GB:"United Kingdom",AI:"Anguilla",BM:"Bermuda",IO:"British Indian Ocean Territory",VG:"British Virgin Islands",KY:"Cayman Islands",FK:"Falkland Islands",GI:"Gibraltar",MS:"Montserrat",PN:"Pitcairn, Henderson, Ducie and Oeno Islands",SH:"Saint Helena, Ascension and Tristan da Cunha",TC:"Turks and Caicos Islands",GG:"Guernsey",JE:"Jersey",IM:"Isle of Man"}},function(e,n){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var n,t,a,s,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((n=arguments[1])instanceof Error)throw n;var l=new Error('Uncaught, unspecified "error" event. ('+n+")");throw l.context=n,l}if(i(t=this._events[e]))return!1;if(r(t))switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),t.apply(this,s)}else if(o(t))for(s=Array.prototype.slice.call(arguments,1),a=(u=t.slice()).length,c=0;c<a;c++)u[c].apply(this,s);return!0},t.prototype.addListener=function(e,n){var a;if(!r(n))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(n.listener)?n.listener:n),this._events[e]?o(this._events[e])?this._events[e].push(n):this._events[e]=[this._events[e],n]:this._events[e]=n,o(this._events[e])&&!this._events[e].warned&&(a=i(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,n){if(!r(n))throw TypeError("listener must be a function");var t=!1;function o(){this.removeListener(e,o),t||(t=!0,n.apply(this,arguments))}return o.listener=n,this.on(e,o),this},t.prototype.removeListener=function(e,n){var t,i,a,s;if(!r(n))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(t=this._events[e]).length,i=-1,t===n||r(t.listener)&&t.listener===n)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,n);else if(o(t)){for(s=a;s-- >0;)if(t[s]===n||t[s].listener&&t[s].listener===n){i=s;break}if(i<0)return this;1===t.length?(t.length=0,delete this._events[e]):t.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,n)}return this},t.prototype.removeAllListeners=function(e){var n,t;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r(t=this._events[e]))this.removeListener(e,t);else if(t)for(;t.length;)this.removeListener(e,t[t.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var n=this._events[e];if(r(n))return 1;if(n)return n.length}return 0},t.listenerCount=function(e,n){return e.listenerCount(n)}},function(e,n,t){var r=t(13),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var n=e+"";return"0"==n&&1/e==-o?"-0":n}},function(e,n){e.exports=function(e,n){return e===n||e!=e&&n!=n}},function(e,n){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,n,t){var r=t(1).Symbol;e.exports=r},function(e,n,t){var r=t(10),o=t(164),i=t(163),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?o(e):i(e)}},function(e,n){e.exports=function(e){return e}},function(e,n,t){var r=t(11),o=t(9),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,n,t){var r=t(0),o=t(25),i=t(111),a=t(108);e.exports=function(e,n){return r(e)?e:o(e,n)?[e]:i(a(e))}},function(e,n){var t=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?t:n)&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e<n}},function(e,n,t){var r=t(132);e.exports=function(e,n){var t=e.__data__;return r(n)?t["string"==typeof n?"string":"hash"]:t.map}},function(e,n,t){var r=t(2)(Object,"create");e.exports=r},function(e,n,t){var r=t(8);e.exports=function(e,n){for(var t=e.length;t--;)if(r(e[t][0],n))return t;return-1}},function(e,n,t){var r=t(150),o=t(149),i=t(148),a=t(147),s=t(146);function c(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,n,t){var r=t(152),o=t(113),i=t(12),a=t(0),s=t(103);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,n){e.exports=function(e,n){for(var t=-1,r=null==e?0:e.length,o=Array(r);++t<r;)o[t]=n(e[t],t,e);return o}},function(e,n,t){var r=t(156),o=t(9),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,n,t){"use strict";t.r(n),function(e){t.d(n,"flush",function(){return a}),t.d(n,"hydrate",function(){return s}),t.d(n,"cx",function(){return c}),t.d(n,"merge",function(){return u}),t.d(n,"getRegisteredStyles",function(){return l}),t.d(n,"injectGlobal",function(){return f}),t.d(n,"keyframes",function(){return p}),t.d(n,"css",function(){return d}),t.d(n,"sheet",function(){return h}),t.d(n,"caches",function(){return v});var r=t(57),o=void 0!==e?e:{},i=Object(r.a)(o),a=i.flush,s=i.hydrate,c=i.cx,u=i.merge,l=i.getRegisteredStyles,f=i.injectGlobal,p=i.keyframes,d=i.css,h=i.sheet,v=i.caches}.call(this,t(56))},function(e,n,t){"use strict";n.a=function(e){var n={};return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}}},function(e,n,t){var r=t(0),o=t(13),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,n){if(r(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=n&&e in Object(n)}},function(e,n,t){var r=t(14),o=t(7);e.exports=function(e,n){for(var t=0,i=(n=r(n,e)).length;null!=e&&t<i;)e=e[o(n[t++])];return t&&t==i?e:void 0}},function(e,n,t){var r=t(41),o=t(55),i=t(3);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,n){e.exports=function(e,n){for(var t=-1,r=n.length,o=e.length;++t<r;)e[o+t]=n[t];return e}},function(e,n,t){var r=t(140),o=t(133),i=t(131),a=t(130),s=t(129);function c(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,n,t){var r=t(154),o=t(48),i=t(153),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,n,t){(function(e){var r=t(1),o=t(155),i="object"==typeof n&&n&&!n.nodeType&&n,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c}).call(this,t(49)(e))},function(e,n){var t=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}},function(e,n,t){var r=t(2)(t(1),"Map");e.exports=r},function(e,n){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},function(e,n,t){var r,o;
/*!
* JavaScript Cookie v2.2.0
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(n,t,n,e):r)||(e.exports=o),!0,e.exports=i(),!!0){var a=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}return function n(t){function r(n,o,i){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},r.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}o=t.write?t.write(o,n):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u]));return document.cookie=n+"="+o+c}n||(a={});for(var l=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,p=0;p<l.length;p++){var d=l[p].split("="),h=d.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var v=d[0].replace(f,decodeURIComponent);if(h=t.read?t.read(h,v):t(h,v)||h.replace(f,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(n===v){a=h;break}n||(a[v]=h)}catch(e){}}return a}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(n,t){r(n,"",e(t,{expires:-1}))},r.withConverter=n,r}(function(){})})},function(e,n,t){var r=t(87),o=t(3);e.exports=function(e,n){var t=-1,i=o(e)?Array(e.length):[];return r(e,function(e,r,o){i[++t]=n(e,r,o)}),i}},function(e,n,t){var r=t(28),o=t(88);e.exports=function e(n,t,i,a,s){var c=-1,u=n.length;for(i||(i=o),s||(s=[]);++c<u;){var l=n[c];t>0&&i(l)?t>1?e(l,t-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},function(e,n,t){var r=t(2),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,n){e.exports=function(e,n){return function(t){return null!=t&&t[e]===n&&(void 0!==n||e in Object(t))}}},function(e,n,t){var r=t(4);e.exports=function(e){return e==e&&!r(e)}},function(e,n,t){var r=t(115),o=t(22),i=t(0),a=t(31),s=t(15),c=t(30),u=Object.prototype.hasOwnProperty;e.exports=function(e,n){var t=i(e),l=!t&&o(e),f=!t&&!l&&a(e),p=!t&&!l&&!f&&c(e),d=t||l||f||p,h=d?r(e.length,String):[],v=h.length;for(var m in e)!n&&!u.call(e,m)||d&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,v))||h.push(m);return h}},function(e,n){e.exports=function(){return[]}},function(e,n,t){var r=t(116),o=t(42),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(n){return i.call(e,n)}))}:o;e.exports=s},function(e,n,t){var r=t(28),o=t(0);e.exports=function(e,n,t){var i=n(e);return o(e)?i:r(i,t(e))}},function(e,n,t){var r=t(127),o=t(124),i=t(123),a=1,s=2;e.exports=function(e,n,t,c,u,l){var f=t&a,p=e.length,d=n.length;if(p!=d&&!(f&&d>p))return!1;var h=l.get(e);if(h&&l.get(n))return h==n;var v=-1,m=!0,g=t&s?new r:void 0;for(l.set(e,n),l.set(n,e);++v<p;){var y=e[v],b=n[v];if(c)var _=f?c(b,y,v,n,e,l):c(y,b,v,e,n,l);if(void 0!==_){if(_)continue;m=!1;break}if(g){if(!o(n,function(e,n){if(!i(g,n)&&(y===e||u(y,e,t,c,l)))return g.push(n)})){m=!1;break}}else if(y!==b&&!u(y,b,t,c,l)){m=!1;break}}return l.delete(e),l.delete(n),m}},function(e,n,t){var r=t(128),o=t(9);e.exports=function e(n,t,i,a,s){return n===t||(null==n||null==t||!o(n)&&!o(t)?n!=n&&t!=t:r(n,t,i,a,e,s))}},function(e,n,t){var r=t(19),o=t(145),i=t(144),a=t(143),s=t(142),c=t(141);function u(e){var n=this.__data__=new r(e);this.size=n.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},function(e,n){e.exports=function(e){return function(n){return e(n)}}},function(e,n){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,n){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,n,t){(function(n){var t="object"==typeof n&&n&&n.Object===Object&&n;e.exports=t}).call(this,t(56))},function(e,n,t){var r=t(11),o=t(4),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var n=r(e);return n==a||n==s||n==i||n==c}},function(e,n,t){var r=t(166),o=t(33),i=t(159),a=t(158),s=t(157),c=t(11),u=t(50),l=u(r),f=u(o),p=u(i),d=u(a),h=u(s),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var n=c(e),t="[object Object]"==n?e.constructor:void 0,r=t?u(t):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return n}),e.exports=v},function(e,n){e.exports=function(e,n){return function(t){return e(n(t))}}},function(e,n,t){var r=t(34),o=t(167),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var n=[];for(var t in Object(e))i.call(e,t)&&"constructor"!=t&&n.push(t);return n}},function(e,n){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},function(e,n,t){"use strict";var r=function(e){for(var n,t=e.length,r=t^t,o=0;t>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),t-=4,++o;switch(t){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},o=function e(n){function t(e,n,t){var o=n.trim().split(v);n=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)n[s]=r(e,n[s],t).trim();break;default:var c=s=0;for(n=[];s<i;++s)for(var u=0;u<a;++u)n[c++]=r(e[u]+" ",o[s],t).trim()}return n}function r(e,n,t){var r=n.charCodeAt(0);switch(33>r&&(r=(n=n.trim()).charCodeAt(0)),r){case 38:return n.replace(m,"$1"+e.trim());case 58:switch(n.charCodeAt(1)){case 103:break;default:return e.trim()+n.replace(m,"$1"+e.trim())}default:if(0<1*t&&0<n.indexOf("\f"))return n.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+n}function o(e,n,t,r){var a=e+";",s=2*n+3*t+4*r;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===j||2===j&&i(c,1)?"-webkit-"+c+c:c}if(0===j||2===j&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:return 45===a.charCodeAt(8)?"-webkit-"+a+a:a;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return d.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(n=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(n)){case 226:c=a.replace(_,"tb");break;case 232:c=a.replace(_,"tb-rl");break;case 220:c=a.replace(_,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(n=(a=e).length-10,s=(c=(33===a.charCodeAt(n)?a.substring(0,n):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return"-webkit-"+a+"-webkit-box-"+(c=a.replace("-items",""))+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),n,t,r).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===t+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,n){var t=e.indexOf(1===n?":":"{"),r=e.substring(0,3!==n?t:10);return t=e.substring(t+1,e.length-1),F(2!==n?r:r.replace(k,"$1"),t,n)}function a(e,n){var t=o(n,n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2));return t!==n+";"?t.replace(w," or ($1)").substring(4):"("+n+")"}function s(e,n,t,r,o,i,a,s,c,l){for(var f,p=0,d=n;p<D;++p)switch(f=T[p].call(u,e,d,t,r,o,i,a,s,c,l)){case void 0:case!1:case!0:case null:break;default:d=f}switch(d){case void 0:case!1:case!0:case null:case n:break;default:return d}}function c(e){for(var n in e){var t=e[n];switch(n){case"prefix":F=null,t?"function"!=typeof t?j=1:(j=2,F=t):j=0}}return c}function u(n,r){if(void 0!==this&&this.constructor===u)return e(n);var c=n;if(33>c.charCodeAt(0)&&(c=c.trim()),c=[c],0<D){var p=s(-1,r,c,c,O,E,0,0,0,0);void 0!==p&&"string"==typeof p&&(r=p)}var d=function e(n,r,c,u,p){for(var d,h,v,m,_,w,C=0,k=0,A=0,T=0,F=0,M=0,L=m=d=0,N=0,I=h=0,B=0,U=c.length,z=U-1,q="",H="",G="",W="";N<U;){if(v=c.charCodeAt(N),N===z&&0!==k+T+A+C&&(0!==k&&(v=47===k?10:47),T=A=C=0,U++,z++),0===k+T+A+C){if(N===z&&(0<h&&(q=q.replace(f,"")),0<q.trim().length)){switch(v){case 32:case 9:case 59:case 13:case 10:break;default:q+=c.charAt(N)}v=59}switch(v){case 123:for(d=(q=q.trim()).charCodeAt(0),m=1,B=++N;N<U;){switch(v=c.charCodeAt(N)){case 123:m++;break;case 125:m--}if(0===m)break;N++}switch(v=c.substring(B,N),0===d&&(d=(q=q.replace(l,"").trim()).charCodeAt(0)),d){case 64:switch(0<h&&(q=q.replace(f,"")),h=q.charCodeAt(1)){case 100:case 109:case 115:case 45:m=r;break;default:m=S}if(B=(v=e(r,m,v,h,p+1)).length,0<D&&(w=s(3,v,m=t(S,q,I),r,O,E,B,h,p,u),q=m.join(""),void 0!==w&&0===(B=(v=w.trim()).length)&&(h=0,v="")),0<B)switch(h){case 115:q=q.replace(x,a);case 100:case 109:case 45:v=q+"{"+v+"}";break;case 107:v=(q=q.replace(g,"$1 $2"))+"{"+v+"}",v=1===j||2===j&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=q+v,112===u&&(H+=v,v="")}else v="";break;default:v=e(r,t(r,q,I),v,u,p+1)}G+=v,m=I=h=L=d=0,q="",v=c.charCodeAt(++N);break;case 125:case 59:if(1<(B=(q=(0<h?q.replace(f,""):q).trim()).length))switch(0===L&&(d=q.charCodeAt(0),45===d||96<d&&123>d)&&(B=(q=q.replace(" ",":")).length),0<D&&void 0!==(w=s(1,q,r,n,O,E,H.length,u,p,u))&&0===(B=(q=w.trim()).length)&&(q="\0\0"),d=q.charCodeAt(0),h=q.charCodeAt(1),d+h){case 0:break;case 169:case 163:W+=q+c.charAt(N);break;default:58!==q.charCodeAt(B-1)&&(H+=o(q,d,h,q.charCodeAt(2)))}I=h=L=d=0,q="",v=c.charCodeAt(++N)}}switch(v){case 13:case 10:47===k?k=0:0===1+d&&(h=1,q+="\0"),0<D*R&&s(0,q,r,n,O,E,H.length,u,p,u),E=1,O++;break;case 59:case 125:if(0===k+T+A+C){E++;break}default:switch(E++,_=c.charAt(N),v){case 9:case 32:if(0===T+C+k)switch(F){case 44:case 58:case 9:case 32:_="";break;default:32!==v&&(_=" ")}break;case 0:_="\\0";break;case 12:_="\\f";break;case 11:_="\\v";break;case 38:0===T+k+C&&(h=I=1,_="\f"+_);break;case 108:if(0===T+k+C+P&&0<L)switch(N-L){case 2:112===F&&58===c.charCodeAt(N-3)&&(P=F);case 8:111===M&&(P=M)}break;case 58:0===T+k+C&&(L=N);break;case 44:0===k+A+T+C&&(h=1,_+="\r");break;case 34:case 39:0===k&&(T=T===v?0:0===T?v:T);break;case 91:0===T+k+A&&C++;break;case 93:0===T+k+A&&C--;break;case 41:0===T+k+C&&A--;break;case 40:if(0===T+k+C){if(0===d)switch(2*F+3*M){case 533:break;default:d=1}A++}break;case 64:0===k+A+T+C+L+m&&(m=1);break;case 42:case 47:if(!(0<T+C+A))switch(k){case 0:switch(2*v+3*c.charCodeAt(N+1)){case 235:k=47;break;case 220:B=N,k=42}break;case 42:47===v&&42===F&&(33===c.charCodeAt(B+2)&&(H+=c.substring(B,N+1)),_="",k=0)}}0===k&&(q+=_)}M=F,F=v,N++}if(0<(B=H.length)){if(m=r,0<D&&void 0!==(w=s(2,H,m,n,O,E,B,u,p,u))&&0===(H=w).length)return W+H+G;if(H=m.join(",")+"{"+H+"}",0!=j*P){switch(2!==j||i(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}P=0}}return W+H+G}(S,c,r,0,0);return 0<D&&void 0!==(p=s(-2,d,c,c,O,E,d.length,0,0,0))&&(d=p),P=0,E=O=1,d}var l=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,C=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,E=1,O=1,P=0,j=1,S=[],T=[],D=0,F=null,R=0;return u.use=function e(n){switch(n){case void 0:case null:D=T.length=0;break;default:switch(n.constructor){case Array:for(var t=0,r=n.length;t<r;++t)e(n[t]);break;case Function:T[D++]=n;break;case Boolean:R=0|!!n}}return e},u.set=c,void 0!==n&&c(n),u},i=t(68),a=t.n(i),s=t(24),c={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},u=/[A-Z]|^ms/g,l=Object(s.a)(function(e){return e.replace(u,"-$&").toLowerCase()}),f=function(e,n){return null==n||"boolean"==typeof n?"":1===c[e]||45===e.charCodeAt(1)||isNaN(n)||0===n?n:n+"px"},p=function e(n){for(var t=n.length,r=0,o="";r<t;r++){var i=n[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"function":a=e([i()]);break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o},d="undefined"!=typeof document;function h(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(n),n}function v(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}function m(){if(this.injected)throw new Error("already injected!");this.tags[0]=h(this.opts),this.injected=!0}function g(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e}function y(e,n){if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}(this.tags[this.tags.length-1]);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else{var r=h(this.opts);this.tags.push(r),r.appendChild(document.createTextNode(e+(n||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(h(this.opts))}function b(e){return e.parentNode.removeChild(e)}function _(){this.tags.forEach(b),this.tags=[],this.ctr=0,this.injected=!1}var x=function(){var e=v.prototype;return e.inject=m,e.speedy=g,e.insert=y,e.flush=_,v}();n.a=function(e,n){if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===n&&(n={});var t,i,s=n.key||"css",c=a()(function(e){t+=e,d&&h.insert(e,m)});void 0!==n.prefix&&(i={prefix:n.prefix});var u={registered:{},inserted:{},nonce:n.nonce,key:s},h=new x(n);d&&h.inject();var v=new o(i);v.use(n.stylisPlugins)(c);var m="";function g(e,n){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":if(void 0!==e.__emotion_styles){var t=e.toString();return t}return g.call(this,void 0===this?e():e(this.mergedProps,this.context),n);case"object":return function(e){if(_.has(e))return _.get(e);var n="";return Array.isArray(e)?e.forEach(function(e){n+=g.call(this,e,!1)},this):Object.keys(e).forEach(function(t){"object"!=typeof e[t]?void 0!==u.registered[e[t]]?n+=t+"{"+u.registered[e[t]]+"}":n+=l(t)+":"+f(t,e[t])+";":Array.isArray(e[t])&&"string"==typeof e[t][0]&&void 0===u.registered[e[t][0]]?e[t].forEach(function(e){n+=l(t)+":"+f(t,e)+";"}):n+=t+"{"+g.call(this,e[t],!1)+"}"},this),_.set(e,n),n}.call(this,e);default:var r=u.registered[e];return!1===n&&void 0!==r?r:e}}var y,b,_=new WeakMap,w=/label:\s*([^\s;\n{]+)\s*;/g,C=function(e){var n=!0,t="",o="";null==e||void 0===e.raw?(n=!1,t+=g.call(this,e,!1)):t+=e[0];for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return a.forEach(function(r,o){t+=g.call(this,r,46===t.charCodeAt(t.length-1)),!0===n&&void 0!==e[o+1]&&(t+=e[o+1])},this),b=t,t=t.replace(w,function(e,n){return o+="-"+n,""}),y=r(t+o)+o,t};function k(e,n){void 0===u.inserted[y]&&(t="",v(e,n),u.inserted[y]=t)}var A=function(){var e=C.apply(this,arguments),n=s+"-"+y;return void 0===u.registered[n]&&(u.registered[n]=b),k("."+n,e),n};function E(e,n){var t="";return n.split(" ").forEach(function(n){void 0!==u.registered[n]?e.push(n):t+=n+" "}),t}function O(e,n){var t=[],r=E(t,e);return t.length<2?e:r+A(t,n)}function P(e){u.inserted[e]=!0}if(d){var j=document.querySelectorAll("[data-emotion-"+s+"]");Array.prototype.forEach.call(j,function(e){h.tags[0].parentNode.insertBefore(e,h.tags[0]),e.getAttribute("data-emotion-"+s).split(" ").forEach(P)})}var S={flush:function(){d&&(h.flush(),h.inject()),u.inserted={},u.registered={}},hydrate:function(e){e.forEach(P)},cx:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return O(p(n))},merge:O,getRegisteredStyles:E,injectGlobal:function(){k("",C.apply(this,arguments))},keyframes:function(){var e=C.apply(this,arguments),n="animation-"+y;return k("","@keyframes "+n+"{"+e+"}"),n},css:A,sheet:h,caches:u};return e.__SECRET_EMOTION__=S,S}},function(e,n,t){var r=t(37),o=t(81),i=t(77),a=t(70),s=i(function(e,n){if(null==e)return[];var t=n.length;return t>1&&a(e,n[0],n[1])?n=[]:t>2&&a(n[0],n[1],n[2])&&(n=[n[0]]),o(e,r(n,1),[])});e.exports=s},function(e,n,t){var r=t(20),o=t(82);e.exports=function(e,n){return e&&e.length?o(e,r(n,2)):[]}},function(e,n,t){var r=t(21),o=t(20),i=t(36),a=t(0);e.exports=function(e,n){return(a(e)?r:i)(e,o(n,3))}},function(e,n,t){var r=t(37);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,n,t){t(89),e.exports=self.fetch.bind(self)},function(e,n,t){var r=t(21),o=t(20),i=t(100),a=t(96);e.exports=function(e,n){if(null==e)return{};var t=r(a(e),function(e){return[e]});return n=o(n),i(e,t,function(e,t){return n(e,t[0])})}},function(e,n,t){var r=t(55),o=t(53),i=t(22),a=t(0),s=t(3),c=t(31),u=t(34),l=t(30),f="[object Map]",p="[object Set]",d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var n=o(e);if(n==f||n==p)return!e.size;if(u(e))return!r(e).length;for(var t in e)if(d.call(e,t))return!1;return!0}},function(e,n,t){"use strict";var r=t(173).parse,o=t(172);function i(e){for(var t=n.cookie,r=n.levels(e),o=0;o<r.length;++o){var i=r[o],a={domain:"."+i};if(t("__tld__",1,a),t("__tld__"))return t("__tld__",null,a),i}return""}i.levels=function(e){var n=r(e).hostname.split("."),t=n[n.length-1],o=[];if(4===n.length&&t===parseInt(t,10))return o;if(n.length<=1)return o;for(var i=n.length-2;i>=0;--i)o.push(n.slice(i).join("."));return o},i.cookie=o,n=e.exports=i},function(e,n,t){var r=t(174);e.exports=function(e){for(var n="",t=r(e=e||21);0<e--;)n+="_~0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[63&t[e]];return n}},function(e,n,t){e.exports=t(178)()},function(e,n,t){e.exports=function(){"use strict";return function(e){function n(n){if(n)try{e(n+"}")}catch(e){}}return function(t,r,o,i,a,s,c,u,l,f){switch(t){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(n)}}}}()},function(e,n,t){"use strict";t.r(n);var r={};t.d(r,"useState",function(){return H}),t.d(r,"useReducer",function(){return G}),t.d(r,"useEffect",function(){return W}),t.d(r,"useLayoutEffect",function(){return K}),t.d(r,"useRef",function(){return $}),t.d(r,"useImperativeHandle",function(){return Y}),t.d(r,"useMemo",function(){return V}),t.d(r,"useCallback",function(){return J}),t.d(r,"useContext",function(){return X}),t.d(r,"useDebugValue",function(){return Z});var o={};t.d(o,"loadPreferences",function(){return Be}),t.d(o,"onPreferencesSaved",function(){return ze}),t.d(o,"savePreferences",function(){return qe});var i,a,s,c,u,l,f={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;function h(e,n){for(var t in n)e[t]=n[t];return e}function v(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var r,o,i,a,s=arguments;if(n=h({},n),arguments.length>3)for(t=[t],r=3;r<arguments.length;r++)t.push(s[r]);if(null!=t&&(n.children=t),null!=e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===n[o]&&(n[o]=e.defaultProps[o]);return a=n.key,null!=(i=n.ref)&&delete n.ref,null!=a&&delete n.key,g(e,n,a,i)}function g(e,n,t,r){var o={type:e,props:n,key:t,ref:r,__k:null,__p:null,__b:0,__e:null,l:null,__c:null,constructor:void 0};return i.vnode&&i.vnode(o),o}function y(e){return e.children}function b(e,n){this.props=e,this.context=n}function _(e,n){if(null==n)return e.__p?_(e.__p,e.__p.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?_(e):null}function x(e){var n,t;if(null!=(e=e.__p)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return x(e)}}function w(e){(!e.__d&&(e.__d=!0)&&1===a.push(e)||c!==i.debounceRendering)&&(c=i.debounceRendering,(i.debounceRendering||s)(C))}function C(){var e,n,t,r,o,i,s,c;for(a.sort(function(e,n){return n.__v.__b-e.__v.__b});e=a.pop();)e.__d&&(t=void 0,r=void 0,i=(o=(n=e).__v).__e,s=n.__P,c=n.u,n.u=!1,s&&(t=[],r=j(s,o,h({},o),n.__n,void 0!==s.ownerSVGElement,null,t,c,null==i?_(o):i),S(t,o),r!=i&&x(o)))}function k(e,n,t,r,o,i,a,s,c){var u,l,d,h,m,g,y,b=t&&t.__k||p,x=b.length;if(s==f&&(s=null!=i?i[0]:x?_(t,0):null),u=0,n.__k=A(n.__k,function(t){if(null!=t){if(t.__p=n,t.__b=n.__b+1,null===(d=b[u])||d&&t.key==d.key&&t.type===d.type)b[u]=void 0;else for(l=0;l<x;l++){if((d=b[l])&&t.key==d.key&&t.type===d.type){b[l]=void 0;break}d=null}if(h=j(e,t,d=d||f,r,o,i,a,null,s,c),(l=t.ref)&&d.ref!=l&&(y||(y=[])).push(l,t.__c||h,t),null!=h){if(null==g&&(g=h),null!=t.l)h=t.l,t.l=null;else if(i==d||h!=s||null==h.parentNode){e:if(null==s||s.parentNode!==e)e.appendChild(h);else{for(m=s,l=0;(m=m.nextSibling)&&l<x;l+=2)if(m==h)break e;e.insertBefore(h,s)}"option"==n.type&&(e.value="")}s=h.nextSibling,"function"==typeof n.type&&(n.l=h)}}return u++,t}),n.__e=g,null!=i&&"function"!=typeof n.type)for(u=i.length;u--;)null!=i[u]&&v(i[u]);for(u=x;u--;)null!=b[u]&&F(b[u],b[u]);if(y)for(u=0;u<y.length;u++)D(y[u],y[++u],y[++u])}function A(e,n,t){if(null==t&&(t=[]),null==e||"boolean"==typeof e)n&&t.push(n(null));else if(Array.isArray(e))for(var r=0;r<e.length;r++)A(e[r],n,t);else t.push(n?n(function(e){if(null==e||"boolean"==typeof e)return null;if("string"==typeof e||"number"==typeof e)return g(null,e,null,null);if(null!=e.__e||null!=e.__c){var n=g(e.type,e.props,e.key,null);return n.__e=e.__e,n}return e}(e)):e);return t}function E(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]="number"==typeof t&&!1===d.test(n)?t+"px":null==t?"":t}function O(e,n,t,r,o){var i,a,s,c,u;if("key"===(n=o?"className"===n?"class":n:"class"===n?"className":n)||"children"===n);else if("style"===n)if(i=e.style,"string"==typeof t)i.cssText=t;else{if("string"==typeof r&&(i.cssText="",r=null),r)for(a in r)t&&a in t||E(i,a,"");if(t)for(s in t)r&&t[s]===r[s]||E(i,s,t[s])}else"o"===n[0]&&"n"===n[1]?(c=n!==(n=n.replace(/Capture$/,"")),n=((u=n.toLowerCase())in e?u:n).slice(2),t?(r||e.addEventListener(n,P,c),(e.t||(e.t={}))[n]=t):e.removeEventListener(n,P,c)):"list"!==n&&"tagName"!==n&&"form"!==n&&!o&&n in e?e[n]=null==t?"":t:"function"!=typeof t&&"dangerouslySetInnerHTML"!==n&&(n!==(n=n.replace(/^xlink:?/,""))?null==t||!1===t?e.removeAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase(),t):null==t||!1===t?e.removeAttribute(n):e.setAttribute(n,t))}function P(e){return this.t[e.type](i.event?i.event(e):e)}function j(e,n,t,r,o,a,s,c,u,l){var f,p,d,v,m,g,_,x,w,C,E=n.type;if(void 0!==n.constructor)return null;(f=i.__b)&&f(n);try{e:if("function"==typeof E){if(x=n.props,w=(f=E.contextType)&&r[f.__c],C=f?w?w.props.value:f.__p:r,t.__c?_=(p=n.__c=t.__c).__p=p.__E:("prototype"in E&&E.prototype.render?n.__c=p=new E(x,C):(n.__c=p=new b(x,C),p.constructor=E,p.render=R),w&&w.sub(p),p.props=x,p.state||(p.state={}),p.context=C,p.__n=r,d=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=E.getDerivedStateFromProps&&h(p.__s==p.state?p.__s=h({},p.__s):p.__s,E.getDerivedStateFromProps(x,p.__s)),d)null==E.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&s.push(p);else{if(null==E.getDerivedStateFromProps&&null==c&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(x,C),!c&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(x,p.__s,C)){for(p.props=x,p.state=p.__s,p.__d=!1,p.__v=n,n.__e=null!=u?u!==t.__e?u:t.__e:null,n.__k=t.__k,f=0;f<n.__k.length;f++)n.__k[f]&&(n.__k[f].__p=n);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(x,p.__s,C)}for(v=p.props,m=p.state,p.context=C,p.props=x,p.state=p.__s,(f=i.__r)&&f(n),p.__d=!1,p.__v=n,p.__P=e,f=p.render(p.props,p.state,p.context),n.__k=A(null!=f&&f.type==y&&null==f.key?f.props.children:f),null!=p.getChildContext&&(r=h(h({},r),p.getChildContext())),d||null==p.getSnapshotBeforeUpdate||(g=p.getSnapshotBeforeUpdate(v,m)),k(e,n,t,r,o,a,s,u,l),p.base=n.__e;f=p.__h.pop();)p.__s&&(p.state=p.__s),f.call(p);d||null==v||null==p.componentDidUpdate||p.componentDidUpdate(v,m,g),_&&(p.__E=p.__p=null)}else n.__e=T(t.__e,n,t,r,o,a,s,l);(f=i.diffed)&&f(n)}catch(e){i.__e(e,n,t)}return n.__e}function S(e,n){for(var t;t=e.pop();)try{t.componentDidMount()}catch(e){i.__e(e,t.__v)}i.__c&&i.__c(n)}function T(e,n,t,r,o,i,a,s){var c,u,l,d,h=t.props,v=n.props;if(o="svg"===n.type||o,null==e&&null!=i)for(c=0;c<i.length;c++)if(null!=(u=i[c])&&(null===n.type?3===u.nodeType:u.localName===n.type)){e=u,i[c]=null;break}if(null==e){if(null===n.type)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",n.type):document.createElement(n.type),i=null}return null===n.type?h!==v&&(null!=i&&(i[i.indexOf(e)]=null),e.data=v):n!==t&&(null!=i&&(i=p.slice.call(e.childNodes)),l=(h=t.props||f).dangerouslySetInnerHTML,d=v.dangerouslySetInnerHTML,s||(d||l)&&(d&&l&&d.__html==l.__html||(e.innerHTML=d&&d.__html||"")),function(e,n,t,r,o){var i;for(i in t)i in n||O(e,i,null,t[i],r);for(i in n)o&&"function"!=typeof n[i]||"value"===i||"checked"===i||t[i]===n[i]||O(e,i,n[i],t[i],r)}(e,v,h,o,s),n.__k=n.props.children,d||k(e,n,t,r,"foreignObject"!==n.type&&o,i,a,f,s),s||("value"in v&&void 0!==v.value&&v.value!==e.value&&(e.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==e.checked&&(e.checked=v.checked))),e}function D(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){i.__e(e,t)}}function F(e,n,t){var r,o,a;if(i.unmount&&i.unmount(e),(r=e.ref)&&D(r,null,n),t||"function"==typeof e.type||(t=null!=(o=e.__e)),e.__e=e.l=null,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,n)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&F(r[a],n,t);null!=o&&v(o)}function R(e,n,t){return this.constructor(e,t)}function M(e,n,t){var r,o,a;i.__p&&i.__p(e,n),o=(r=t===u)?null:t&&t.__k||n.__k,e=m(y,null,[e]),a=[],j(n,r?n.__k=e:(t||n).__k=e,o||f,f,void 0!==n.ownerSVGElement,t&&!r?[t]:o?null:p.slice.call(n.childNodes),a,!1,t||f,r),S(a,e)}i={},b.prototype.setState=function(e,n){var t=this.__s!==this.state&&this.__s||(this.__s=h({},this.state));("function"!=typeof e||(e=e(t,this.props)))&&h(t,e),null!=e&&this.__v&&(this.u=!1,n&&this.__h.push(n),w(this))},b.prototype.forceUpdate=function(e){this.__v&&(e&&this.__h.push(e),this.u=!0,w(this))},b.prototype.render=y,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=i.debounceRendering,i.__e=function(e,n,t){for(var r;n=n.__p;)if((r=n.__c)&&!r.__p)try{if(r.constructor&&null!=r.constructor.getDerivedStateFromError)r.setState(r.constructor.getDerivedStateFromError(e));else{if(null==r.componentDidCatch)continue;r.componentDidCatch(e)}return w(r.__E=r)}catch(n){e=n}throw e},u=f,l=0;var L,N,I=[],B=i.__r;i.__r=function(e){B&&B(e),L=0,(N=e.__c).__H&&(N.__H.t=te(N.__H.t))};var U=i.diffed;i.diffed=function(e){U&&U(e);var n=e.__c;if(n){var t=n.__H;t&&(t.u=(t.u.some(function(e){e.ref&&(e.ref.current=e.createHandle())}),[]),t.i=te(t.i))}};var z=i.unmount;function q(e){i.__h&&i.__h(N);var n=N.__H||(N.__H={o:[],t:[],i:[],u:[]});return e>=n.o.length&&n.o.push({}),n.o[e]}function H(e){return G(ae,e)}function G(e,n,t){var r=q(L++);return r.__c||(r.__c=N,r.v=[t?t(n):ae(void 0,n),function(n){var t=e(r.v[0],n);r.v[0]!==t&&(r.v[0]=t,r.__c.setState({}))}]),r.v}function W(e,n){var t=q(L++);ie(t.m,n)&&(t.v=e,t.m=n,N.__H.t.push(t),Q(N))}function K(e,n){var t=q(L++);ie(t.m,n)&&(t.v=e,t.m=n,N.__H.i.push(t))}function $(e){return V(function(){return{current:e}},[])}function Y(e,n,t){var r=q(L++);ie(r.m,t)&&(r.m=t,N.__H.u.push({ref:e,createHandle:n}))}function V(e,n){var t=q(L++);return ie(t.m,n)?(t.m=n,t.p=e,t.v=e()):t.v}function J(e,n){return V(function(){return e},n)}function X(e){var n=N.context[e.__c];if(!n)return e.__p;var t=q(L++);return null==t.v&&(t.v=!0,n.sub(N)),n.props.value}function Z(e,n){i.useDebugValue&&i.useDebugValue(n?n(e):e)}i.unmount=function(e){z&&z(e);var n=e.__c;if(n){var t=n.__H;t&&t.o.forEach(function(e){return e.l&&e.l()})}};var Q=function(){};function ee(){I.some(function(e){e.s=!1,e.__P&&(e.__H.t=te(e.__H.t))}),I=[]}if("undefined"!=typeof window){var ne=i.requestAnimationFrame;Q=function(e){(!e.s&&(e.s=!0)&&1===I.push(e)||ne!==i.requestAnimationFrame)&&(ne=i.requestAnimationFrame,(i.requestAnimationFrame||function(e){var n=function(){clearTimeout(t),cancelAnimationFrame(r),setTimeout(e)},t=setTimeout(n,100),r=requestAnimationFrame(n)})(ee))}}function te(e){return e.forEach(re),e.forEach(oe),[]}function re(e){e.l&&e.l()}function oe(e){var n=e.v();"function"==typeof n&&(e.l=n)}function ie(e,n){return!e||n.some(function(n,t){return n!==e[t]})}function ae(e,n){return"function"==typeof n?n(e):n}function se(e,n){for(var t in n)e[t]=n[t];return e}function ce(e){var n=e.parentNode;n&&n.removeChild(e)}var ue=i.__e;function le(){this.t=[]}i.__e=function(e,n,t){if(e.then&&t)for(var r,o=n;o=o.__p;)if((r=o.__c)&&r.i)return t&&(n.__e=t.__e,n.__k=t.__k),void r.i(e);ue(e,n,t)},(le.prototype=new b).i=function(e){var n=this;n.t.push(e);var t=function(){n.t[n.t.indexOf(e)]=n.t[n.t.length-1],n.t.pop(),0==n.t.length&&(F(n.props.fallback),n.__v.__e=null,n.__v.__k=n.state.u,n.setState({u:null}))};null==n.state.u&&(n.setState({u:n.__v.__k}),function e(n){for(var t=0;t<n.length;t++){var r=n[t];null!=r&&("function"!=typeof r.type&&r.__e?ce(r.__e):r.__k&&e(r.__k))}}(n.__v.__k),n.__v.__k=[]),e.then(t,t)},le.prototype.render=function(e,n){return n.u?e.fallback:e.children};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,pe=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,de=i.event;function he(e,n,t){if(null==n.__k)for(;n.firstChild;)ce(n.firstChild);return M(e,n),"function"==typeof t&&t(),e?e.__c:null}i.event=function(e){return de&&(e=de(e)),e.persist=function(){},e.nativeEvent=e};var ve=function(){};function me(e){var n=this,t=e.container,r=m(ve,{context:n.context},e.vnode);return n.l&&n.l!==t&&(n.s.parentNode&&n.l.removeChild(n.s),F(n.v),n.p=!1),e.vnode?n.p?(t.__k=n.__k,M(r,t),n.__k=t.__k):(n.s=document.createTextNode(""),function(e,n){M(e,n,u)}("",t),t.insertBefore(n.s,t.firstChild),n.p=!0,n.l=t,M(r,t,n.s),n.__k=this.s.__k):n.p&&(n.s.parentNode&&n.l.removeChild(n.s),F(n.v)),n.v=r,n.componentWillUnmount=function(){n.s.parentNode&&n.l.removeChild(n.s),F(n.v)},null}ve.prototype.getChildContext=function(){return this.props.context},ve.prototype.render=function(e){return e.children};var ge=function(e,n){return e?A(e).map(n):null},ye={map:ge,forEach:ge,count:function(e){return e?A(e).length:0},only:function(e){if(1!==(e=A(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:A};function be(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var t=m.apply(void 0,e),r=t.type,o=t.props;return"function"!=typeof r&&(o.defaultValue&&(o.value||0===o.value||(o.value=o.defaultValue),delete o.defaultValue),Array.isArray(o.value)&&o.multiple&&"select"===r&&(A(o.children).forEach(function(e){-1!=o.value.indexOf(e.props.value)&&(e.props.selected=!0)}),delete o.value),function(e,n){var t,r,o;for(o in n)if(t=pe.test(o))break;if(t)for(o in r=e.props={},n)r[pe.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=n[o]}(t,o)),t.preactCompatNormalized=!1,_e(t)}function _e(e){return e.preactCompatNormalized=!0,function(e){var n=e.props;(n.class||n.className)&&(we.enumerable="className"in n,n.className&&(n.class=n.className),Object.defineProperty(n,"className",we))}(e),e}function xe(e){return!!e&&e.$$typeof===fe}var we={configurable:!0,get:function(){return this.class}};function Ce(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}var ke=function(e){function n(n){e.call(this,n),this.isPureReactComponent=!0}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.shouldComponentUpdate=function(e,n){return Ce(this.props,e)||Ce(this.state,n)},n}(b);function Ae(e,n){e["UNSAFE_"+n]&&!e[n]&&Object.defineProperty(e,n,{configurable:!1,get:function(){return this["UNSAFE_"+n]},set:function(e){this["UNSAFE_"+n]=e}})}b.prototype.isReactComponent={};var Ee=i.vnode;i.vnode=function(e){e.$$typeof=fe,function(n){var t=e.type,r=e.props;if(r&&"string"==typeof t){var o={};for(var i in r)/^on(Ani|Tra)/.test(i)&&(r[i.toLowerCase()]=r[i],delete r[i]),o[i.toLowerCase()]=i;if(o.ondoubleclick&&(r.ondblclick=r[o.ondoubleclick],delete r[o.ondoubleclick]),o.onbeforeinput&&(r.onbeforeinput=r[o.onbeforeinput],delete r[o.onbeforeinput]),o.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=o.oninput||"oninput";r[a]||(r[a]=r[o.onchange],delete r[o.onchange])}}}();var n=e.type;n&&n.o&&e.ref&&(e.props.ref=e.ref,e.ref=null),"function"==typeof n&&!n.h&&n.prototype&&(Ae(n.prototype,"componentWillMount"),Ae(n.prototype,"componentWillReceiveProps"),Ae(n.prototype,"componentWillUpdate"),n.h=!0),Ee&&Ee(e)};var Oe=se({version:"16.8.0",Children:ye,render:he,hydrate:he,unmountComponentAtNode:function(e){return!!e.__k&&(M(null,e),!0)},createPortal:function(e,n){return m(me,{vnode:e,container:n})},createElement:be,createContext:function(e){var n={},t={__c:"__cC"+l++,__p:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var r,o=this;return this.getChildContext||(r=[],this.getChildContext=function(){return n[t.__c]=o,n},this.shouldComponentUpdate=function(o){e.value!==o.value&&(n[t.__c].props.value=o.value,r.some(function(e){e.__P&&(e.context=o.value,w(e))}))},this.sub=function(e){r.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){r.splice(r.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Consumer.contextType=t,t},createFactory:function(e){return be.bind(null,e)},cloneElement:function(e){return xe(e)?_e(function(e,n){return n=h(h({},e.props),n),arguments.length>2&&(n.children=p.slice.call(arguments,2)),g(e.type,n,n.key||e.key,n.ref||e.ref)}.apply(null,arguments)):e},createRef:function(){return{}},Fragment:y,isValidElement:xe,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:b,PureComponent:ke,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),(n?!n(this.props,e):Ce(this.props,e))||!r}function r(n){return this.shouldComponentUpdate=t,m(e,se({},n))}return r.prototype.isReactComponent=!0,r.displayName="Memo("+(e.displayName||e.name)+")",r.o=!0,r},forwardRef:function(e){function n(n){var t=n.ref;return delete n.ref,e(n,t)}return n.prototype.isReactComponent=!0,n.o=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},unstable_batchedUpdates:function(e,n){return e(n)},Suspense:le,lazy:function(e){var n,t,r;function o(o){if(n||(n=e()).then(function(e){t=e.default},function(e){r=e}),r)throw r;if(!t)throw n;return m(t,o)}return o.displayName="Lazy",o.o=!0,o}},r),Pe=t(5),je=t.n(Pe),Se=t(35),Te=t.n(Se),De=t(65),Fe=t.n(De),Re=t(6),Me=t.n(Re),Le=function(){return(Le=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Ne="tracking-preferences",Ie=365;function Be(){var e=Te.a.getJSON(Ne);return e?{destinationPreferences:e.destinations,customPreferences:e.custom}:{}}var Ue=new Re.EventEmitter;function ze(e){return Ue.on("preferencesSaved",e),function(){return Ue.off("preferencesSaved",e)}}function qe(e){var n=e.destinationPreferences,t=e.customPreferences,r=e.cookieDomain,o=e.integrationsExcludedFromLoading,i=window;if(i.analytics){var a=(o||[]).reduce(func