diff --git a/CHANGELOG.md b/CHANGELOG.md index a5db265e..af413615 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.3.6] - 2020-07-02 + +### Fixed + +- Button hover style + ## [0.3.5] - 2020-07-01 ### Added diff --git a/dist/curryKlaro-no-css.js b/dist/curryKlaro-no-css.js index 10fe298e..98853bd6 100644 --- a/dist/curryKlaro-no-css.js +++ b/dist/curryKlaro-no-css.js @@ -6,4 +6,4 @@ * Licensed MIT * https://github.com/JamesMGreene/currentExecutingScript * v0.1.3 - */this||window,o=[],void 0===(i="function"==typeof(r=function(){var e=/^(interactive|loaded|complete)$/,t=window.location?window.location.href:null,n=t&&t.replace(/#.*$/,"").replace(/\?.*$/,"")||null,r=document.getElementsByTagName("script"),o="readyState"in(r[0]||document.createElement("script")),i=!window.opera||"[object Opera]"!==window.opera.toString(),a="currentScript"in document;"stackTraceLimit"in Error&&Error.stackTraceLimit!==1/0&&(Error.stackTraceLimit,Error.stackTraceLimit=1/0);var c=!1,u=!1;function s(){if(0===r.length)return null;var t,l,p,f,d,v=[],y=s.skipStackDepth||1;for(t=0;t0?e(t.slice(t.indexOf(r[0])+r[0].length),n-1):r[1])),o}(p,y),v))&&n&&f===n&&(d=function(e){var t,n,o=null;for(t=0,n=(e=e||r).length;tl;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(2),o=n(33),i=n(5),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(31);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(88).IteratorPrototype,o=n(33),i=n(28),a=n(45),c=n(34),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),c[s]=u,e}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(1);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(15);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(64),o=n(96);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){},function(e,t,n){var r=n(13),o=n(40).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(0),o=n(3),i=n(86),a=[].slice,c=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(o.setTimeout),setInterval:c(o.setInterval)})},function(e,t,n){"use strict";var r=n(4),o=n(1),i=n(44),a=n(57),c=n(53),u=n(17),s=n(35),l=Object.assign,p=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=u(e),o=arguments.length,l=1,p=a.f,f=c.f;o>l;)for(var d,v=s(arguments[l++]),y=p?i(v).concat(p(v)):i(v),h=y.length,m=0;h>m;)d=y[m++],r&&!f.call(v,d)||(n[d]=v[d]);return n}:l},function(e,t,n){"use strict";var r=n(46),o=n(17),i=n(97),a=n(93),c=n(16),u=n(42),s=n(95);e.exports=function(e){var t,n,l,p,f,d,v=o(e),y="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,_=s(v),b=0;if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==_||y==Array&&a(_))for(n=new y(t=c(v.length));t>b;b++)d=g?m(v[b],b):v[b],u(n,b,d);else for(f=(p=_.call(v)).next,n=new y;!(l=f.call(p)).done;b++)d=g?i(p,m,[l.value,b],!0):l.value,u(n,b,d);return n.length=b,n}},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(32),a=n(82),c=n(16),u=n(13),s=n(42),l=n(2),p=n(43),f=n(49),d=p("slice"),v=f("slice",{ACCESSORS:!0,0:0,1:2}),y=l("species"),h=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!d||!v},{slice:function(e,t){var n,r,l,p=u(this),f=c(p.length),d=a(e,f),v=a(void 0===t?f:t,f);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[y])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(p,d,v);for(r=new(void 0===n?Array:n)(m(v-d,0)),l=0;d>>0||(c.test(n)?16:10))}:a},function(e,t,n){var r=n(22),o="["+n(112)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){"use strict";var r=n(70),o=n(8),i=n(16),a=n(22),c=n(71),u=n(72);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;for(var p,f=[],d=0;null!==(p=u(a,s));){var v=String(p[0]);f[d]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),l)),d++}return 0===d?null:f}]}))},function(e,t,n){"use strict";var r=n(0),o=n(116);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(0),o=n(4);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(87)})},function(e,t,n){var r=n(0),o=n(1),i=n(13),a=n(27).f,c=n(4),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(0),o=n(4),i=n(79),a=n(13),c=n(27),u=n(42);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=c.f,s=i(r),l={},p=0;s.length>p;)void 0!==(n=o(r,t=s[p++]))&&u(l,t,n);return l}})},function(e,t,n){"use strict";var r=n(70),o=n(8),i=n(17),a=n(16),c=n(41),u=n(22),s=n(71),l=n(72),p=Math.max,f=Math.min,d=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,g=h?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!h&&m||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var u=o(e),d=String(this),v="function"==typeof r;v||(r=String(r));var y=u.global;if(y){var b=u.unicode;u.lastIndex=0}for(var k=[];;){var w=l(u,d);if(null===w)break;if(k.push(w),!y)break;""===String(w[0])&&(u.lastIndex=s(d,a(u.lastIndex),b))}for(var x,S="",j=0,O=0;O=j&&(S+=d.slice(j,A)+T,j=A+E.length)}return S+d.slice(j)}];function _(e,n,r,o,a,c){var u=r+e.length,s=o.length,l=y;return void 0!==a&&(a=i(a),l=v),t.call(c,l,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var p=d(l/10);return 0===p?t:p<=s?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):t}c=o[l-1]}return void 0===c?"":c}))}}))},function(e,t,n){var r=n(3),o=n(104),i=n(116),a=n(14);for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){"use strict";var r=n(70),o=n(113),i=n(8),a=n(22),c=n(165),u=n(71),s=n(16),l=n(72),p=n(52),f=n(1),d=[].push,v=Math.min,y=!f((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,u,s,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,y=new RegExp(e.source,f+"g");(c=p.call(y,r))&&!((u=y.lastIndex)>v&&(l.push(r.slice(v,c.index)),c.length>1&&c.index=i));)y.lastIndex===c.index&&y.lastIndex++;return v===r.length?!s&&y.test("")||l.push(""):l.push(r.slice(v)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var p=i(e),f=String(this),d=c(p,RegExp),h=p.unicode,m=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(y?"y":"g"),g=new d(y?p:"^(?:"+p.source+")",m),_=void 0===o?4294967295:o>>>0;if(0===_)return[];if(0===f.length)return null===l(g,f)?[f]:[];for(var b=0,k=0,w=[];k3)for(n=[n],r=3;r1&&A(o,t,n),t=S(n,o,o,e.__k,null,o.__e,t),"function"==typeof e.type&&(e.__d=t)))}function P(e,t,n,o,i,a,c,u,s){var l,p,d,v,y,g,_,b,k,x,S,j=t.type;if(void 0!==t.constructor)return null;(l=r.__b)&&l(t);try{e:if("function"==typeof j){if(b=t.props,k=(l=j.contextType)&&o[l.__c],x=l?k?k.props.value:l.__:o,n.__c?_=(p=t.__c=n.__c).__=p.__E:("prototype"in j&&j.prototype.render?t.__c=p=new j(b,x):(t.__c=p=new m(b,x),p.constructor=j,p.render=D),k&&k.sub(p),p.props=b,p.state||(p.state={}),p.context=x,p.__n=o,d=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=j.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=f({},p.__s)),f(p.__s,j.getDerivedStateFromProps(b,p.__s))),v=p.props,y=p.state,d)null==j.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==j.getDerivedStateFromProps&&b!==v&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,x),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,x)||t.__v===n.__v){p.props=b,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,p.__h.length&&c.push(p),A(t,u,e);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,x),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(v,y,g)}))}p.context=x,p.props=b,p.state=p.__s,(l=r.__r)&&l(t),p.__d=!1,p.__v=t,p.__P=e,l=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(o=f(f({},o),p.getChildContext())),d||null==p.getSnapshotBeforeUpdate||(g=p.getSnapshotBeforeUpdate(v,y)),S=null!=l&&l.type==h&&null==l.key?l.props.children:l,w(e,Array.isArray(S)?S:[S],t,n,o,i,a,c,u,s),p.base=t.__e,p.__h.length&&c.push(p),_&&(p.__E=p.__=null),p.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=z(n.__e,t,n,o,i,a,c,s);(l=r.diffed)&&l(t)}catch(e){t.__v=null,r.__e(e,t,n)}return t.__e}function C(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function z(e,t,n,r,o,i,a,c){var u,p,f,d,v,y=n.props,h=t.props;if(o="svg"===t.type||o,null!=i)for(u=0;u2&&(t.children=l.slice.call(arguments,2)),n={},t)"key"!==r&&"ref"!==r&&(n[r]=t[r]);return y(e.type,n,t.key||e.key,t.ref||e.ref,null)}r={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return b(n.__E=n)}catch(t){e=t}throw e}},m.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},m.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},m.prototype.render=h,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,k.__r=0,c=s,u=0;var L,U,q,H=0,F=[],B=r.__r,K=r.diffed,$=r.__c,W=r.unmount;function V(e,t){r.__h&&r.__h(U,e,H||t),H=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function G(e){return H=1,Z(re,e)}function Z(e,t,n){var r=V(L++,2);return r.t=e,r.__c||(r.__c=U,r.__=[n?n(t):re(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function Q(e,t){var n=V(L++,4);!r.__s&&ne(n.__H,t)&&(n.__=e,n.__H=t,U.__h.push(n))}function Y(e,t){var n=V(L++,7);return ne(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function J(){F.some((function(e){if(e.__P)try{e.__H.__h.forEach(ee),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){return e.__H.__h=[],r.__e(t,e.__v),!0}})),F=[]}r.__r=function(e){B&&B(e),L=0;var t=(U=e.__c).__H;t&&(t.__h.forEach(ee),t.__h.forEach(te),t.__h=[])},r.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==F.push(t)&&q===r.requestAnimationFrame||((q=r.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),X&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);X&&(t=requestAnimationFrame(n))})(J))},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ee),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(n,e.__v)}})),$&&$(e,t)},r.unmount=function(e){W&&W(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ee)}catch(e){r.__e(e,t.__v)}};var X="function"==typeof requestAnimationFrame;function ee(e){"function"==typeof e.u&&e.u()}function te(e){e.u=e.__()}function ne(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function re(e,t){return"function"==typeof t?t(e):t}function oe(e,t){for(var n in t)e[n]=t[n];return e}function ie(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}var ae=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).isPureReactComponent=!0,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.shouldComponentUpdate=function(e,t){return ie(this.props,e)||ie(this.state,t)},r}(m);var ce=r.__b;r.__b=function(e){e.type&&e.type.t&&e.ref&&(e.props.ref=e.ref,e.ref=null),ce&&ce(e)};var ue="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var se=function(e,t){return e?x(e).reduce((function(e,n,r){return e.concat(t(n,r))}),[]):null},le={map:se,forEach:se,count:function(e){return e?x(e).length:0},only:function(e){if(1!==(e=x(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:x},pe=r.__e;function fe(e){return e&&((e=oe({},e)).__c=null,e.__k=e.__k&&e.__k.map(fe)),e}function de(){this.__u=0,this.o=null,this.__b=null}function ve(e){var t=e.__.__c;return t&&t.u&&t.u(e)}function ye(){this.i=null,this.l=null}r.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return r.__c(e,t.__c);pe(e,t,n)},(de.prototype=new m).__c=function(e,t){var n=this;null==n.o&&(n.o=[]),n.o.push(t);var r=ve(n.__v),o=!1,i=function(){o||(o=!0,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){i(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});e=n.o.pop();)e.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),e.then(i,i)},de.prototype.render=function(e,t){return this.__b&&(this.__v.__k[0]=fe(this.__b),this.__b=null),[v(h,null,t.u?null:e.children),t.u&&e.fallback]};var he=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]0&&(e=Ee.createElement("p",{className:"purposes"},c(["app",l.length>1?"purposes":"purpose"]),": ",f)),Ee.createElement("div",null,Ee.createElement("input",{id:p,className:"cm-app-input"+(u?" required":""),"aria-describedby":"".concat(p,"-description"),disabled:u,checked:n||u,type:"checkbox",onChange:function(e){r(e.target.checked)}}),Ee.createElement("label",Ce({htmlFor:p,className:"cm-app-label"},u?{tabIndex:"0"}:{}),Ee.createElement("span",{className:"cm-app-title"},i),v,d,Ee.createElement("span",{className:"switch"},Ee.createElement("div",{className:"slider round active"}))),Ee.createElement("div",{id:"".concat(p,"-description")},Ee.createElement("p",{className:"cm-app-description"},a||c([o,"description"])),e))}}])&&Ne(n.prototype,r),o&&Ne(n,o),t}(Ee.Component);function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(){return(Le=Object.assign||function(e){for(var t=1;t1&&Ee.createElement("li",{className:"cm-app cm-toggle-all"},Ee.createElement(Ie,{name:"disableAll",title:n(["app","disableAll","title"]),description:n(["app","disableAll","description"]),checked:!s,onToggle:function(e){a(i,e)},t:n})))}}])&&Ue(n.prototype,r),o&&Ue(n,o),t}(Ee.Component);n(110),n(111),n(153),n(66),n(154),n(67),n(51),n(69),n(157);function Ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1?t-1:0),r=1;r0;){var u=c.match(/\{(?!\{)([\w\d]+)\}(?!\})/);if(null!==u){var s=c.substr(0,u.index);c=c.substr(u.index+u[0].length);var l=parseInt(u[1]);a.push(s),l!=l?a.push(o[u[1]]):a.push(o[l])}else a.push(c),c=""}return a};function Ve(){var e=(("string"==typeof window.language?window.language:null)||document.documentElement.lang||"en").toLowerCase(),t=new RegExp("^([\\w]+)-([\\w]+)$").exec(e);return null===t?e:t[1]}function Ge(e,t,n){var r=t;Array.isArray(r)||(r=[r]);for(var o=e,i=0;i3?i-3:0),c=3;c0?We.apply(void 0,[o].concat(a)):o}function Qe(e){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ye(e,t){for(var n=0;n0||!e.manager.confirmed},n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_t(e,t)}(t,e),n=t,(r=[{key:"componentDidUpdate",value:function(e){if(e.show!==this.props.show){var t=this.props.show>0||!this.props.manager.confirmed;t!==this.state.show&&this.setState({show:t})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.config,r=t.t,o=t.manager,i=t.stylePrefix,a=this.state.show,c=function(){e.setState({show:!1}),document.body.classList.add("consent-confirmed"),document.body.classList.remove("consent-approval")};return Ee.createElement("div",{className:i},Ee.createElement(ut,{t:r,show:a,hide:c,config:n,manager:o}),Ee.createElement(vt,{t:r,show:!a,hide:c,config:n,manager:o}))}}])&&ht(n.prototype,r),o&&ht(n,o),t}(Ee.Component);n(158),n(159),n(160),n(161),n(117),n(162),n(163),n(164);function kt(){for(var e=document.cookie.split(";"),t=[],n=new RegExp("^\\s*([^=]+)\\s*=\\s*(.*?)$"),r=0;r0)return t[0]}},{key:"getDefaultConsent",value:function(e){var t=e.default;return void 0===t&&(t=this.config.default),void 0===t&&(t=!1),t}},{key:"changeAll",value:function(e){var t=this;this.config.apps.map((function(n){n.required||t.config.required||e?t.updateConsent(n.name,!0):t.updateConsent(n.name,!1)}))}},{key:"updateConsent",value:function(e,t){this.consents[e]=t,this.notify("consents",this.consents)}},{key:"restoreSavedConsents",value:function(){this.consents=Pt({},this.savedConsents),this.notify("consents",this.consents)}},{key:"resetConsent",value:function(){this.consents=this.defaultConsents,this.confirmed=!1,this.applyConsents(),this.store.delete(),this.notify("consents",this.consents)}},{key:"getConsent",value:function(e){return this.consents[e]||!1}},{key:"_checkConsents",value:function(){for(var e=!0,t=new Set(this.config.apps.map((function(e){return e.name}))),n=new Set(Object.keys(this.consents)),r=0,o=Object.keys(this.consents);r0)for(var n=kt(),r=0;r0?e(t.slice(t.indexOf(r[0])+r[0].length),n-1):r[1])),o}(p,y),v))&&n&&f===n&&(d=function(e){var t,n,o=null;for(t=0,n=(e=e||r).length;tl;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(2),o=n(33),i=n(5),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(31);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(88).IteratorPrototype,o=n(33),i=n(28),a=n(45),c=n(34),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),c[s]=u,e}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(1);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(15);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(64),o=n(96);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){},function(e,t,n){var r=n(13),o=n(40).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(0),o=n(3),i=n(86),a=[].slice,c=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(o.setTimeout),setInterval:c(o.setInterval)})},function(e,t,n){"use strict";var r=n(4),o=n(1),i=n(44),a=n(57),c=n(53),u=n(17),s=n(35),l=Object.assign,p=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=u(e),o=arguments.length,l=1,p=a.f,f=c.f;o>l;)for(var d,v=s(arguments[l++]),y=p?i(v).concat(p(v)):i(v),h=y.length,m=0;h>m;)d=y[m++],r&&!f.call(v,d)||(n[d]=v[d]);return n}:l},function(e,t,n){"use strict";var r=n(46),o=n(17),i=n(97),a=n(93),c=n(16),u=n(42),s=n(95);e.exports=function(e){var t,n,l,p,f,d,v=o(e),y="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,_=s(v),b=0;if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==_||y==Array&&a(_))for(n=new y(t=c(v.length));t>b;b++)d=g?m(v[b],b):v[b],u(n,b,d);else for(f=(p=_.call(v)).next,n=new y;!(l=f.call(p)).done;b++)d=g?i(p,m,[l.value,b],!0):l.value,u(n,b,d);return n.length=b,n}},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(32),a=n(82),c=n(16),u=n(13),s=n(42),l=n(2),p=n(43),f=n(49),d=p("slice"),v=f("slice",{ACCESSORS:!0,0:0,1:2}),y=l("species"),h=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!d||!v},{slice:function(e,t){var n,r,l,p=u(this),f=c(p.length),d=a(e,f),v=a(void 0===t?f:t,f);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[y])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(p,d,v);for(r=new(void 0===n?Array:n)(m(v-d,0)),l=0;d>>0||(c.test(n)?16:10))}:a},function(e,t,n){var r=n(22),o="["+n(112)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){"use strict";var r=n(70),o=n(8),i=n(16),a=n(22),c=n(71),u=n(72);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;for(var p,f=[],d=0;null!==(p=u(a,s));){var v=String(p[0]);f[d]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),l)),d++}return 0===d?null:f}]}))},function(e,t,n){"use strict";var r=n(0),o=n(116);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(0),o=n(4);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(87)})},function(e,t,n){var r=n(0),o=n(1),i=n(13),a=n(27).f,c=n(4),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(0),o=n(4),i=n(79),a=n(13),c=n(27),u=n(42);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=c.f,s=i(r),l={},p=0;s.length>p;)void 0!==(n=o(r,t=s[p++]))&&u(l,t,n);return l}})},function(e,t,n){"use strict";var r=n(70),o=n(8),i=n(17),a=n(16),c=n(41),u=n(22),s=n(71),l=n(72),p=Math.max,f=Math.min,d=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,g=h?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!h&&m||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var u=o(e),d=String(this),v="function"==typeof r;v||(r=String(r));var y=u.global;if(y){var b=u.unicode;u.lastIndex=0}for(var k=[];;){var w=l(u,d);if(null===w)break;if(k.push(w),!y)break;""===String(w[0])&&(u.lastIndex=s(d,a(u.lastIndex),b))}for(var x,S="",j=0,O=0;O=j&&(S+=d.slice(j,A)+T,j=A+E.length)}return S+d.slice(j)}];function _(e,n,r,o,a,c){var u=r+e.length,s=o.length,l=y;return void 0!==a&&(a=i(a),l=v),t.call(c,l,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var p=d(l/10);return 0===p?t:p<=s?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):t}c=o[l-1]}return void 0===c?"":c}))}}))},function(e,t,n){var r=n(3),o=n(104),i=n(116),a=n(14);for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){"use strict";var r=n(70),o=n(113),i=n(8),a=n(22),c=n(165),u=n(71),s=n(16),l=n(72),p=n(52),f=n(1),d=[].push,v=Math.min,y=!f((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,u,s,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,y=new RegExp(e.source,f+"g");(c=p.call(y,r))&&!((u=y.lastIndex)>v&&(l.push(r.slice(v,c.index)),c.length>1&&c.index=i));)y.lastIndex===c.index&&y.lastIndex++;return v===r.length?!s&&y.test("")||l.push(""):l.push(r.slice(v)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var p=i(e),f=String(this),d=c(p,RegExp),h=p.unicode,m=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(y?"y":"g"),g=new d(y?p:"^(?:"+p.source+")",m),_=void 0===o?4294967295:o>>>0;if(0===_)return[];if(0===f.length)return null===l(g,f)?[f]:[];for(var b=0,k=0,w=[];k3)for(n=[n],r=3;r1&&A(o,t,n),t=S(n,o,o,e.__k,null,o.__e,t),"function"==typeof e.type&&(e.__d=t)))}function P(e,t,n,o,i,a,c,u,s){var l,p,d,v,y,g,_,b,k,x,S,j=t.type;if(void 0!==t.constructor)return null;(l=r.__b)&&l(t);try{e:if("function"==typeof j){if(b=t.props,k=(l=j.contextType)&&o[l.__c],x=l?k?k.props.value:l.__:o,n.__c?_=(p=t.__c=n.__c).__=p.__E:("prototype"in j&&j.prototype.render?t.__c=p=new j(b,x):(t.__c=p=new m(b,x),p.constructor=j,p.render=D),k&&k.sub(p),p.props=b,p.state||(p.state={}),p.context=x,p.__n=o,d=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=j.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=f({},p.__s)),f(p.__s,j.getDerivedStateFromProps(b,p.__s))),v=p.props,y=p.state,d)null==j.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==j.getDerivedStateFromProps&&b!==v&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,x),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,x)||t.__v===n.__v){p.props=b,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,p.__h.length&&c.push(p),A(t,u,e);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,x),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(v,y,g)}))}p.context=x,p.props=b,p.state=p.__s,(l=r.__r)&&l(t),p.__d=!1,p.__v=t,p.__P=e,l=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(o=f(f({},o),p.getChildContext())),d||null==p.getSnapshotBeforeUpdate||(g=p.getSnapshotBeforeUpdate(v,y)),S=null!=l&&l.type==h&&null==l.key?l.props.children:l,w(e,Array.isArray(S)?S:[S],t,n,o,i,a,c,u,s),p.base=t.__e,p.__h.length&&c.push(p),_&&(p.__E=p.__=null),p.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=z(n.__e,t,n,o,i,a,c,s);(l=r.diffed)&&l(t)}catch(e){t.__v=null,r.__e(e,t,n)}return t.__e}function C(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function z(e,t,n,r,o,i,a,c){var u,p,f,d,v,y=n.props,h=t.props;if(o="svg"===t.type||o,null!=i)for(u=0;u2&&(t.children=l.slice.call(arguments,2)),n={},t)"key"!==r&&"ref"!==r&&(n[r]=t[r]);return y(e.type,n,t.key||e.key,t.ref||e.ref,null)}r={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return b(n.__E=n)}catch(t){e=t}throw e}},m.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},m.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},m.prototype.render=h,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,k.__r=0,c=s,u=0;var L,U,q,H=0,F=[],B=r.__r,K=r.diffed,$=r.__c,W=r.unmount;function V(e,t){r.__h&&r.__h(U,e,H||t),H=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function G(e){return H=1,Z(re,e)}function Z(e,t,n){var r=V(L++,2);return r.t=e,r.__c||(r.__c=U,r.__=[n?n(t):re(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function Q(e,t){var n=V(L++,4);!r.__s&&ne(n.__H,t)&&(n.__=e,n.__H=t,U.__h.push(n))}function Y(e,t){var n=V(L++,7);return ne(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function J(){F.some((function(e){if(e.__P)try{e.__H.__h.forEach(ee),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){return e.__H.__h=[],r.__e(t,e.__v),!0}})),F=[]}r.__r=function(e){B&&B(e),L=0;var t=(U=e.__c).__H;t&&(t.__h.forEach(ee),t.__h.forEach(te),t.__h=[])},r.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==F.push(t)&&q===r.requestAnimationFrame||((q=r.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),X&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);X&&(t=requestAnimationFrame(n))})(J))},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ee),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(n,e.__v)}})),$&&$(e,t)},r.unmount=function(e){W&&W(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ee)}catch(e){r.__e(e,t.__v)}};var X="function"==typeof requestAnimationFrame;function ee(e){"function"==typeof e.u&&e.u()}function te(e){e.u=e.__()}function ne(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function re(e,t){return"function"==typeof t?t(e):t}function oe(e,t){for(var n in t)e[n]=t[n];return e}function ie(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}var ae=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).isPureReactComponent=!0,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.shouldComponentUpdate=function(e,t){return ie(this.props,e)||ie(this.state,t)},r}(m);var ce=r.__b;r.__b=function(e){e.type&&e.type.t&&e.ref&&(e.props.ref=e.ref,e.ref=null),ce&&ce(e)};var ue="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var se=function(e,t){return e?x(e).reduce((function(e,n,r){return e.concat(t(n,r))}),[]):null},le={map:se,forEach:se,count:function(e){return e?x(e).length:0},only:function(e){if(1!==(e=x(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:x},pe=r.__e;function fe(e){return e&&((e=oe({},e)).__c=null,e.__k=e.__k&&e.__k.map(fe)),e}function de(){this.__u=0,this.o=null,this.__b=null}function ve(e){var t=e.__.__c;return t&&t.u&&t.u(e)}function ye(){this.i=null,this.l=null}r.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return r.__c(e,t.__c);pe(e,t,n)},(de.prototype=new m).__c=function(e,t){var n=this;null==n.o&&(n.o=[]),n.o.push(t);var r=ve(n.__v),o=!1,i=function(){o||(o=!0,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){i(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});e=n.o.pop();)e.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),e.then(i,i)},de.prototype.render=function(e,t){return this.__b&&(this.__v.__k[0]=fe(this.__b),this.__b=null),[v(h,null,t.u?null:e.children),t.u&&e.fallback]};var he=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]0&&(e=Ee.createElement("p",{className:"purposes"},c(["app",l.length>1?"purposes":"purpose"]),": ",f)),Ee.createElement("div",null,Ee.createElement("input",{id:p,className:"cm-app-input"+(u?" required":""),"aria-describedby":"".concat(p,"-description"),disabled:u,checked:n||u,type:"checkbox",onChange:function(e){r(e.target.checked)}}),Ee.createElement("label",Ce({htmlFor:p,className:"cm-app-label"},u?{tabIndex:"0"}:{}),Ee.createElement("span",{className:"cm-app-title"},i),v,d,Ee.createElement("span",{className:"switch"},Ee.createElement("div",{className:"slider round active"}))),Ee.createElement("div",{id:"".concat(p,"-description")},Ee.createElement("p",{className:"cm-app-description"},a||c([o,"description"])),e))}}])&&Ne(n.prototype,r),o&&Ne(n,o),t}(Ee.Component);function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(){return(Le=Object.assign||function(e){for(var t=1;t1&&Ee.createElement("li",{className:"cm-app cm-toggle-all"},Ee.createElement(Ie,{name:"disableAll",title:n(["app","disableAll","title"]),description:n(["app","disableAll","description"]),checked:!s,onToggle:function(e){a(i,e)},t:n})))}}])&&Ue(n.prototype,r),o&&Ue(n,o),t}(Ee.Component);n(110),n(111),n(153),n(66),n(154),n(67),n(51),n(69),n(157);function Ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1?t-1:0),r=1;r0;){var u=c.match(/\{(?!\{)([\w\d]+)\}(?!\})/);if(null!==u){var s=c.substr(0,u.index);c=c.substr(u.index+u[0].length);var l=parseInt(u[1]);a.push(s),l!=l?a.push(o[u[1]]):a.push(o[l])}else a.push(c),c=""}return a};function Ve(){var e=(("string"==typeof window.language?window.language:null)||document.documentElement.lang||"en").toLowerCase(),t=new RegExp("^([\\w]+)-([\\w]+)$").exec(e);return null===t?e:t[1]}function Ge(e,t,n){var r=t;Array.isArray(r)||(r=[r]);for(var o=e,i=0;i3?i-3:0),c=3;c0?We.apply(void 0,[o].concat(a)):o}function Qe(e){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ye(e,t){for(var n=0;n0||!e.manager.confirmed},n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_t(e,t)}(t,e),n=t,(r=[{key:"componentDidUpdate",value:function(e){if(e.show!==this.props.show){var t=this.props.show>0||!this.props.manager.confirmed;t!==this.state.show&&this.setState({show:t})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.config,r=t.t,o=t.manager,i=t.stylePrefix,a=this.state.show,c=function(){e.setState({show:!1}),document.body.classList.add("consent-confirmed"),document.body.classList.remove("consent-approval")};return Ee.createElement("div",{className:i},Ee.createElement(ut,{t:r,show:a,hide:c,config:n,manager:o}),Ee.createElement(vt,{t:r,show:!a,hide:c,config:n,manager:o}))}}])&&ht(n.prototype,r),o&&ht(n,o),t}(Ee.Component);n(158),n(159),n(160),n(161),n(117),n(162),n(163),n(164);function kt(){for(var e=document.cookie.split(";"),t=[],n=new RegExp("^\\s*([^=]+)\\s*=\\s*(.*?)$"),r=0;r0)return t[0]}},{key:"getDefaultConsent",value:function(e){var t=e.default;return void 0===t&&(t=this.config.default),void 0===t&&(t=!1),t}},{key:"changeAll",value:function(e){var t=this;this.config.apps.map((function(n){n.required||t.config.required||e?t.updateConsent(n.name,!0):t.updateConsent(n.name,!1)}))}},{key:"updateConsent",value:function(e,t){this.consents[e]=t,this.notify("consents",this.consents)}},{key:"restoreSavedConsents",value:function(){this.consents=Pt({},this.savedConsents),this.notify("consents",this.consents)}},{key:"resetConsent",value:function(){this.consents=this.defaultConsents,this.confirmed=!1,this.applyConsents(),this.store.delete(),this.notify("consents",this.consents)}},{key:"getConsent",value:function(e){return this.consents[e]||!1}},{key:"_checkConsents",value:function(){for(var e=!0,t=new Set(this.config.apps.map((function(e){return e.name}))),n=new Set(Object.keys(this.consents)),r=0,o=Object.keys(this.consents);r0)for(var n=kt(),r=0;r0?e(t.slice(t.indexOf(o[0])+o[0].length),n-1):o[1])),r}(p,v),m))&&n&&f===n&&(d=function(e){var t,n,r=null;for(t=0,n=(e=e||o).length;tu;)if((c=l[u++])!=c)return!0}else for(;s>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var o=n(2),r=n(33),i=n(5),a=o("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var o=n(31);e.exports=o("document","documentElement")},function(e,t,n){"use strict";var o=n(88).IteratorPrototype,r=n(33),i=n(28),a=n(45),c=n(34),l=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,s,!1,!0),c[s]=l,e}},function(e,t,n){var o=n(6);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var o=n(1);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var o=n(15);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(64),r=n(96);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){var o=n(149),r=n(150);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},function(e,t,n){"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n2,r=o?a.call(arguments,2):void 0;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";var o=n(4),r=n(1),i=n(44),a=n(57),c=n(53),l=n(17),s=n(35),u=Object.assign,p=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,p=a.f,f=c.f;r>u;)for(var d,m=s(arguments[u++]),v=p?i(m).concat(p(m)):i(m),h=v.length,y=0;h>y;)d=v[y++],o&&!f.call(m,d)||(n[d]=m[d]);return n}:u},function(e,t,n){"use strict";var o=n(46),r=n(17),i=n(97),a=n(93),c=n(16),l=n(42),s=n(95);e.exports=function(e){var t,n,u,p,f,d,m=r(e),v="function"==typeof this?this:Array,h=arguments.length,y=h>1?arguments[1]:void 0,g=void 0!==y,b=s(m),k=0;if(g&&(y=o(y,h>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(n=new v(t=c(m.length));t>k;k++)d=g?y(m[k],k):m[k],l(n,k,d);else for(f=(p=b.call(m)).next,n=new v;!(u=f.call(p)).done;k++)d=g?i(p,y,[u.value,k],!0):u.value,l(n,k,d);return n.length=k,n}},function(e,t,n){"use strict";var o=n(0),r=n(6),i=n(32),a=n(82),c=n(16),l=n(13),s=n(42),u=n(2),p=n(43),f=n(49),d=p("slice"),m=f("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),h=[].slice,y=Math.max;o({target:"Array",proto:!0,forced:!d||!m},{slice:function(e,t){var n,o,u,p=l(this),f=c(p.length),d=a(e,f),m=a(void 0===t?f:t,f);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[v])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(p,d,m);for(o=new(void 0===n?Array:n)(y(m-d,0)),u=0;d>>0||(c.test(n)?16:10))}:a},function(e,t,n){var o=n(22),r="["+n(112)+"]",i=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),c=function(e){return function(t){var n=String(o(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){"use strict";var o=n(70),r=n(8),i=n(16),a=n(22),c=n(71),l=n(72);o("match",1,(function(e,t,n){return[function(t){var n=a(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var a=r(e),s=String(this);if(!a.global)return l(a,s);var u=a.unicode;a.lastIndex=0;for(var p,f=[],d=0;null!==(p=l(a,s));){var m=String(p[0]);f[d]=m,""===m&&(a.lastIndex=c(s,i(a.lastIndex),u)),d++}return 0===d?null:f}]}))},function(e,t,n){"use strict";var o=n(0),r=n(116);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){var o=n(0),r=n(4);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(87)})},function(e,t,n){var o=n(0),r=n(1),i=n(13),a=n(27).f,c=n(4),l=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var o=n(0),r=n(4),i=n(79),a=n(13),c=n(27),l=n(42);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,s=i(o),u={},p=0;s.length>p;)void 0!==(n=r(o,t=s[p++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var o=n(70),r=n(8),i=n(17),a=n(16),c=n(41),l=n(22),s=n(71),u=n(72),p=Math.max,f=Math.min,d=Math.floor,m=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var h=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=o.REPLACE_KEEPS_$0,g=h?"$":"$0";return[function(n,o){var r=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r,o):t.call(String(r),n,o)},function(e,o){if(!h&&y||"string"==typeof o&&-1===o.indexOf(g)){var i=n(t,e,this,o);if(i.done)return i.value}var l=r(e),d=String(this),m="function"==typeof o;m||(o=String(o));var v=l.global;if(v){var k=l.unicode;l.lastIndex=0}for(var _=[];;){var x=u(l,d);if(null===x)break;if(_.push(x),!v)break;""===String(x[0])&&(l.lastIndex=s(d,a(l.lastIndex),k))}for(var w,S="",j=0,O=0;O<_.length;O++){x=_[O];for(var E=String(x[0]),A=p(f(c(x.index),d.length),0),P=[],C=1;C=j&&(S+=d.slice(j,A)+T,j=A+E.length)}return S+d.slice(j)}];function b(e,n,o,r,a,c){var l=o+e.length,s=r.length,u=v;return void 0!==a&&(a=i(a),u=m),t.call(c,u,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>s){var p=d(u/10);return 0===p?t:p<=s?void 0===r[p-1]?i.charAt(1):r[p-1]+i.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}))},function(e,t,n){var o=n(3),r=n(104),i=n(116),a=n(14);for(var c in r){var l=o[c],s=l&&l.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){"use strict";var o=n(70),r=n(113),i=n(8),a=n(22),c=n(168),l=n(71),s=n(16),u=n(72),p=n(52),f=n(1),d=[].push,m=Math.min,v=!f((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[o];if(!r(e))return t.call(o,e,i);for(var c,l,s,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,v=new RegExp(e.source,f+"g");(c=p.call(v,o))&&!((l=v.lastIndex)>m&&(u.push(o.slice(m,c.index)),c.length>1&&c.index=i));)v.lastIndex===c.index&&v.lastIndex++;return m===o.length?!s&&v.test("")||u.push(""):u.push(o.slice(m)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,r,n):o.call(String(r),t,n)},function(e,r){var a=n(o,e,this,r,o!==t);if(a.done)return a.value;var p=i(e),f=String(this),d=c(p,RegExp),h=p.unicode,y=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(v?"y":"g"),g=new d(v?p:"^(?:"+p.source+")",y),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===f.length)return null===u(g,f)?[f]:[];for(var k=0,_=0,x=[];_3)for(n=[n],o=3;o1&&A(r,t,n),t=S(n,r,r,e.__k,null,r.__e,t),"function"==typeof e.type&&(e.__d=t)))}function P(e,t,n,r,i,a,c,l,s){var u,p,d,m,v,g,b,k,_,w,S,j=t.type;if(void 0!==t.constructor)return null;(u=o.__b)&&u(t);try{e:if("function"==typeof j){if(k=t.props,_=(u=j.contextType)&&r[u.__c],w=u?_?_.props.value:u.__:r,n.__c?b=(p=t.__c=n.__c).__=p.__E:("prototype"in j&&j.prototype.render?t.__c=p=new j(k,w):(t.__c=p=new y(k,w),p.constructor=j,p.render=D),_&&_.sub(p),p.props=k,p.state||(p.state={}),p.context=w,p.__n=r,d=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=j.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=f({},p.__s)),f(p.__s,j.getDerivedStateFromProps(k,p.__s))),m=p.props,v=p.state,d)null==j.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==j.getDerivedStateFromProps&&k!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,w),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,w)||t.__v===n.__v){p.props=k,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,p.__h.length&&c.push(p),A(t,l,e);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(m,v,g)}))}p.context=w,p.props=k,p.state=p.__s,(u=o.__r)&&u(t),p.__d=!1,p.__v=t,p.__P=e,u=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(r=f(f({},r),p.getChildContext())),d||null==p.getSnapshotBeforeUpdate||(g=p.getSnapshotBeforeUpdate(m,v)),S=null!=u&&u.type==h&&null==u.key?u.props.children:u,x(e,Array.isArray(S)?S:[S],t,n,r,i,a,c,l,s),p.base=t.__e,p.__h.length&&c.push(p),b&&(p.__E=p.__=null),p.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=z(n.__e,t,n,r,i,a,c,s);(u=o.diffed)&&u(t)}catch(e){t.__v=null,o.__e(e,t,n)}return t.__e}function C(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function z(e,t,n,o,r,i,a,c){var l,p,f,d,m,v=n.props,h=t.props;if(r="svg"===t.type||r,null!=i)for(l=0;l2&&(t.children=u.slice.call(arguments,2)),n={},t)"key"!==o&&"ref"!==o&&(n[o]=t[o]);return v(e.type,n,t.key||e.key,t.ref||e.ref,null)}o={__e:function(e,t){for(var n,o;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(o=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(o=!0,n.componentDidCatch(e)),o)return k(n.__E=n)}catch(t){e=t}throw e}},y.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),k(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},y.prototype.render=h,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_.__r=0,c=s,l=0;var L,U,q,H=0,F=[],B=o.__r,K=o.diffed,$=o.__c,W=o.unmount;function V(e,t){o.__h&&o.__h(U,e,H||t),H=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function G(e){return H=1,Z(oe,e)}function Z(e,t,n){var o=V(L++,2);return o.t=e,o.__c||(o.__c=U,o.__=[n?n(t):oe(void 0,t),function(e){var t=o.t(o.__[0],e);o.__[0]!==t&&(o.__=[t,o.__[1]],o.__c.setState({}))}]),o.__}function X(e,t){var n=V(L++,4);!o.__s&&ne(n.__H,t)&&(n.__=e,n.__H=t,U.__h.push(n))}function Q(e,t){var n=V(L++,7);return ne(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function Y(){F.some((function(e){if(e.__P)try{e.__H.__h.forEach(ee),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){return e.__H.__h=[],o.__e(t,e.__v),!0}})),F=[]}o.__r=function(e){B&&B(e),L=0;var t=(U=e.__c).__H;t&&(t.__h.forEach(ee),t.__h.forEach(te),t.__h=[])},o.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==F.push(t)&&q===o.requestAnimationFrame||((q=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(o),J&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);J&&(t=requestAnimationFrame(n))})(Y))},o.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ee),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],o.__e(n,e.__v)}})),$&&$(e,t)},o.unmount=function(e){W&&W(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ee)}catch(e){o.__e(e,t.__v)}};var J="function"==typeof requestAnimationFrame;function ee(e){"function"==typeof e.u&&e.u()}function te(e){e.u=e.__()}function ne(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function oe(e,t){return"function"==typeof t?t(e):t}function re(e,t){for(var n in t)e[n]=t[n];return e}function ie(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}var ae=function(e){var t,n;function o(t){var n;return(n=e.call(this,t)||this).isPureReactComponent=!0,n}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.prototype.shouldComponentUpdate=function(e,t){return ie(this.props,e)||ie(this.state,t)},o}(y);var ce=o.__b;o.__b=function(e){e.type&&e.type.t&&e.ref&&(e.props.ref=e.ref,e.ref=null),ce&&ce(e)};var le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var se=function(e,t){return e?w(e).reduce((function(e,n,o){return e.concat(t(n,o))}),[]):null},ue={map:se,forEach:se,count:function(e){return e?w(e).length:0},only:function(e){if(1!==(e=w(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:w},pe=o.__e;function fe(e){return e&&((e=re({},e)).__c=null,e.__k=e.__k&&e.__k.map(fe)),e}function de(){this.__u=0,this.o=null,this.__b=null}function me(e){var t=e.__.__c;return t&&t.u&&t.u(e)}function ve(){this.i=null,this.l=null}o.__e=function(e,t,n){if(e.then)for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return o.__c(e,t.__c);pe(e,t,n)},(de.prototype=new y).__c=function(e,t){var n=this;null==n.o&&(n.o=[]),n.o.push(t);var o=me(n.__v),r=!1,i=function(){r||(r=!0,o?o(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){i(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});e=n.o.pop();)e.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),e.then(i,i)},de.prototype.render=function(e,t){return this.__b&&(this.__v.__k[0]=fe(this.__b),this.__b=null),[m(h,null,t.u?null:e.children),t.u&&e.fallback]};var he=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]0&&(e=Ee.createElement("p",{className:"purposes"},c(["app",u.length>1?"purposes":"purpose"]),": ",f)),Ee.createElement("div",null,Ee.createElement("input",{id:p,className:"cm-app-input"+(l?" required":""),"aria-describedby":"".concat(p,"-description"),disabled:l,checked:n||l,type:"checkbox",onChange:function(e){o(e.target.checked)}}),Ee.createElement("label",Ce({htmlFor:p,className:"cm-app-label"},l?{tabIndex:"0"}:{}),Ee.createElement("span",{className:"cm-app-title"},i),m,d,Ee.createElement("span",{className:"switch"},Ee.createElement("div",{className:"slider round active"}))),Ee.createElement("div",{id:"".concat(p,"-description")},Ee.createElement("p",{className:"cm-app-description"},a||c([r,"description"])),e))}}])&&Ne(n.prototype,o),r&&Ne(n,r),t}(Ee.Component);function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(){return(Le=Object.assign||function(e){for(var t=1;t1&&Ee.createElement("li",{className:"cm-app cm-toggle-all"},Ee.createElement(Ie,{name:"disableAll",title:n(["app","disableAll","title"]),description:n(["app","disableAll","description"]),checked:!s,onToggle:function(e){a(i,e)},t:n})))}}])&&Ue(n.prototype,o),r&&Ue(n,r),t}(Ee.Component);n(110),n(111),n(156),n(66),n(157),n(67),n(51),n(69),n(160);function Ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1?t-1:0),o=1;o0;){var l=c.match(/\{(?!\{)([\w\d]+)\}(?!\})/);if(null!==l){var s=c.substr(0,l.index);c=c.substr(l.index+l[0].length);var u=parseInt(l[1]);a.push(s),u!=u?a.push(r[l[1]]):a.push(r[u])}else a.push(c),c=""}return a};function Ve(){var e=(("string"==typeof window.language?window.language:null)||document.documentElement.lang||"en").toLowerCase(),t=new RegExp("^([\\w]+)-([\\w]+)$").exec(e);return null===t?e:t[1]}function Ge(e,t,n){var o=t;Array.isArray(o)||(o=[o]);for(var r=e,i=0;i3?i-3:0),c=3;c0?We.apply(void 0,[r].concat(a)):r}function Xe(e){return(Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qe(e,t){for(var n=0;n0||!e.manager.confirmed},n}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bt(e,t)}(t,e),n=t,(o=[{key:"componentDidUpdate",value:function(e){if(e.show!==this.props.show){var t=this.props.show>0||!this.props.manager.confirmed;t!==this.state.show&&this.setState({show:t})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.config,o=t.t,r=t.manager,i=t.stylePrefix,a=this.state.show,c=function(){e.setState({show:!1}),document.body.classList.add("consent-confirmed"),document.body.classList.remove("consent-approval")};return Ee.createElement("div",{className:i},Ee.createElement(lt,{t:o,show:a,hide:c,config:n,manager:r}),Ee.createElement(mt,{t:o,show:!a,hide:c,config:n,manager:r}))}}])&&ht(n.prototype,o),r&&ht(n,r),t}(Ee.Component);n(161),n(162),n(163),n(164),n(117),n(165),n(166),n(167);function _t(){for(var e=document.cookie.split(";"),t=[],n=new RegExp("^\\s*([^=]+)\\s*=\\s*(.*?)$"),o=0;o0)return t[0]}},{key:"getDefaultConsent",value:function(e){var t=e.default;return void 0===t&&(t=this.config.default),void 0===t&&(t=!1),t}},{key:"changeAll",value:function(e){var t=this;this.config.apps.map((function(n){n.required||t.config.required||e?t.updateConsent(n.name,!0):t.updateConsent(n.name,!1)}))}},{key:"updateConsent",value:function(e,t){this.consents[e]=t,this.notify("consents",this.consents)}},{key:"restoreSavedConsents",value:function(){this.consents=Pt({},this.savedConsents),this.notify("consents",this.consents)}},{key:"resetConsent",value:function(){this.consents=this.defaultConsents,this.confirmed=!1,this.applyConsents(),this.store.delete(),this.notify("consents",this.consents)}},{key:"getConsent",value:function(e){return this.consents[e]||!1}},{key:"_checkConsents",value:function(){for(var e=!0,t=new Set(this.config.apps.map((function(e){return e.name}))),n=new Set(Object.keys(this.consents)),o=0,r=Object.keys(this.consents);o0)for(var n=_t(),o=0;o0?e(t.slice(t.indexOf(o[0])+o[0].length),n-1):o[1])),r}(p,v),m))&&n&&f===n&&(d=function(e){var t,n,r=null;for(t=0,n=(e=e||o).length;tu;)if((c=l[u++])!=c)return!0}else for(;s>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var o=n(2),r=n(33),i=n(5),a=o("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var o=n(31);e.exports=o("document","documentElement")},function(e,t,n){"use strict";var o=n(88).IteratorPrototype,r=n(33),i=n(28),a=n(45),c=n(34),l=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,s,!1,!0),c[s]=l,e}},function(e,t,n){var o=n(6);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var o=n(1);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var o=n(15);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(64),r=n(96);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){var o=n(149),r=n(150);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},function(e,t,n){"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n2,r=o?a.call(arguments,2):void 0;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";var o=n(4),r=n(1),i=n(44),a=n(57),c=n(53),l=n(17),s=n(35),u=Object.assign,p=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,p=a.f,f=c.f;r>u;)for(var d,m=s(arguments[u++]),v=p?i(m).concat(p(m)):i(m),h=v.length,y=0;h>y;)d=v[y++],o&&!f.call(m,d)||(n[d]=m[d]);return n}:u},function(e,t,n){"use strict";var o=n(46),r=n(17),i=n(97),a=n(93),c=n(16),l=n(42),s=n(95);e.exports=function(e){var t,n,u,p,f,d,m=r(e),v="function"==typeof this?this:Array,h=arguments.length,y=h>1?arguments[1]:void 0,g=void 0!==y,b=s(m),k=0;if(g&&(y=o(y,h>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(n=new v(t=c(m.length));t>k;k++)d=g?y(m[k],k):m[k],l(n,k,d);else for(f=(p=b.call(m)).next,n=new v;!(u=f.call(p)).done;k++)d=g?i(p,y,[u.value,k],!0):u.value,l(n,k,d);return n.length=k,n}},function(e,t,n){"use strict";var o=n(0),r=n(6),i=n(32),a=n(82),c=n(16),l=n(13),s=n(42),u=n(2),p=n(43),f=n(49),d=p("slice"),m=f("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),h=[].slice,y=Math.max;o({target:"Array",proto:!0,forced:!d||!m},{slice:function(e,t){var n,o,u,p=l(this),f=c(p.length),d=a(e,f),m=a(void 0===t?f:t,f);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[v])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(p,d,m);for(o=new(void 0===n?Array:n)(y(m-d,0)),u=0;d>>0||(c.test(n)?16:10))}:a},function(e,t,n){var o=n(22),r="["+n(112)+"]",i=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),c=function(e){return function(t){var n=String(o(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){"use strict";var o=n(70),r=n(8),i=n(16),a=n(22),c=n(71),l=n(72);o("match",1,(function(e,t,n){return[function(t){var n=a(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var a=r(e),s=String(this);if(!a.global)return l(a,s);var u=a.unicode;a.lastIndex=0;for(var p,f=[],d=0;null!==(p=l(a,s));){var m=String(p[0]);f[d]=m,""===m&&(a.lastIndex=c(s,i(a.lastIndex),u)),d++}return 0===d?null:f}]}))},function(e,t,n){"use strict";var o=n(0),r=n(116);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){var o=n(0),r=n(4);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(87)})},function(e,t,n){var o=n(0),r=n(1),i=n(13),a=n(27).f,c=n(4),l=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var o=n(0),r=n(4),i=n(79),a=n(13),c=n(27),l=n(42);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,s=i(o),u={},p=0;s.length>p;)void 0!==(n=r(o,t=s[p++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var o=n(70),r=n(8),i=n(17),a=n(16),c=n(41),l=n(22),s=n(71),u=n(72),p=Math.max,f=Math.min,d=Math.floor,m=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var h=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=o.REPLACE_KEEPS_$0,g=h?"$":"$0";return[function(n,o){var r=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r,o):t.call(String(r),n,o)},function(e,o){if(!h&&y||"string"==typeof o&&-1===o.indexOf(g)){var i=n(t,e,this,o);if(i.done)return i.value}var l=r(e),d=String(this),m="function"==typeof o;m||(o=String(o));var v=l.global;if(v){var k=l.unicode;l.lastIndex=0}for(var _=[];;){var x=u(l,d);if(null===x)break;if(_.push(x),!v)break;""===String(x[0])&&(l.lastIndex=s(d,a(l.lastIndex),k))}for(var w,S="",j=0,O=0;O<_.length;O++){x=_[O];for(var E=String(x[0]),A=p(f(c(x.index),d.length),0),P=[],C=1;C=j&&(S+=d.slice(j,A)+T,j=A+E.length)}return S+d.slice(j)}];function b(e,n,o,r,a,c){var l=o+e.length,s=r.length,u=v;return void 0!==a&&(a=i(a),u=m),t.call(c,u,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>s){var p=d(u/10);return 0===p?t:p<=s?void 0===r[p-1]?i.charAt(1):r[p-1]+i.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}))},function(e,t,n){var o=n(3),r=n(104),i=n(116),a=n(14);for(var c in r){var l=o[c],s=l&&l.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){"use strict";var o=n(70),r=n(113),i=n(8),a=n(22),c=n(168),l=n(71),s=n(16),u=n(72),p=n(52),f=n(1),d=[].push,m=Math.min,v=!f((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[o];if(!r(e))return t.call(o,e,i);for(var c,l,s,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,v=new RegExp(e.source,f+"g");(c=p.call(v,o))&&!((l=v.lastIndex)>m&&(u.push(o.slice(m,c.index)),c.length>1&&c.index=i));)v.lastIndex===c.index&&v.lastIndex++;return m===o.length?!s&&v.test("")||u.push(""):u.push(o.slice(m)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,r,n):o.call(String(r),t,n)},function(e,r){var a=n(o,e,this,r,o!==t);if(a.done)return a.value;var p=i(e),f=String(this),d=c(p,RegExp),h=p.unicode,y=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(v?"y":"g"),g=new d(v?p:"^(?:"+p.source+")",y),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===f.length)return null===u(g,f)?[f]:[];for(var k=0,_=0,x=[];_3)for(n=[n],o=3;o1&&A(r,t,n),t=S(n,r,r,e.__k,null,r.__e,t),"function"==typeof e.type&&(e.__d=t)))}function P(e,t,n,r,i,a,c,l,s){var u,p,d,m,v,g,b,k,_,w,S,j=t.type;if(void 0!==t.constructor)return null;(u=o.__b)&&u(t);try{e:if("function"==typeof j){if(k=t.props,_=(u=j.contextType)&&r[u.__c],w=u?_?_.props.value:u.__:r,n.__c?b=(p=t.__c=n.__c).__=p.__E:("prototype"in j&&j.prototype.render?t.__c=p=new j(k,w):(t.__c=p=new y(k,w),p.constructor=j,p.render=D),_&&_.sub(p),p.props=k,p.state||(p.state={}),p.context=w,p.__n=r,d=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=j.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=f({},p.__s)),f(p.__s,j.getDerivedStateFromProps(k,p.__s))),m=p.props,v=p.state,d)null==j.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==j.getDerivedStateFromProps&&k!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,w),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,w)||t.__v===n.__v){p.props=k,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,p.__h.length&&c.push(p),A(t,l,e);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(m,v,g)}))}p.context=w,p.props=k,p.state=p.__s,(u=o.__r)&&u(t),p.__d=!1,p.__v=t,p.__P=e,u=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(r=f(f({},r),p.getChildContext())),d||null==p.getSnapshotBeforeUpdate||(g=p.getSnapshotBeforeUpdate(m,v)),S=null!=u&&u.type==h&&null==u.key?u.props.children:u,x(e,Array.isArray(S)?S:[S],t,n,r,i,a,c,l,s),p.base=t.__e,p.__h.length&&c.push(p),b&&(p.__E=p.__=null),p.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=z(n.__e,t,n,r,i,a,c,s);(u=o.diffed)&&u(t)}catch(e){t.__v=null,o.__e(e,t,n)}return t.__e}function C(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function z(e,t,n,o,r,i,a,c){var l,p,f,d,m,v=n.props,h=t.props;if(r="svg"===t.type||r,null!=i)for(l=0;l2&&(t.children=u.slice.call(arguments,2)),n={},t)"key"!==o&&"ref"!==o&&(n[o]=t[o]);return v(e.type,n,t.key||e.key,t.ref||e.ref,null)}o={__e:function(e,t){for(var n,o;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(o=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(o=!0,n.componentDidCatch(e)),o)return k(n.__E=n)}catch(t){e=t}throw e}},y.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),k(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},y.prototype.render=h,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_.__r=0,c=s,l=0;var L,U,q,H=0,F=[],B=o.__r,K=o.diffed,$=o.__c,W=o.unmount;function V(e,t){o.__h&&o.__h(U,e,H||t),H=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function G(e){return H=1,Z(oe,e)}function Z(e,t,n){var o=V(L++,2);return o.t=e,o.__c||(o.__c=U,o.__=[n?n(t):oe(void 0,t),function(e){var t=o.t(o.__[0],e);o.__[0]!==t&&(o.__=[t,o.__[1]],o.__c.setState({}))}]),o.__}function X(e,t){var n=V(L++,4);!o.__s&&ne(n.__H,t)&&(n.__=e,n.__H=t,U.__h.push(n))}function Q(e,t){var n=V(L++,7);return ne(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function Y(){F.some((function(e){if(e.__P)try{e.__H.__h.forEach(ee),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){return e.__H.__h=[],o.__e(t,e.__v),!0}})),F=[]}o.__r=function(e){B&&B(e),L=0;var t=(U=e.__c).__H;t&&(t.__h.forEach(ee),t.__h.forEach(te),t.__h=[])},o.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==F.push(t)&&q===o.requestAnimationFrame||((q=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(o),J&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);J&&(t=requestAnimationFrame(n))})(Y))},o.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ee),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],o.__e(n,e.__v)}})),$&&$(e,t)},o.unmount=function(e){W&&W(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ee)}catch(e){o.__e(e,t.__v)}};var J="function"==typeof requestAnimationFrame;function ee(e){"function"==typeof e.u&&e.u()}function te(e){e.u=e.__()}function ne(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function oe(e,t){return"function"==typeof t?t(e):t}function re(e,t){for(var n in t)e[n]=t[n];return e}function ie(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}var ae=function(e){var t,n;function o(t){var n;return(n=e.call(this,t)||this).isPureReactComponent=!0,n}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.prototype.shouldComponentUpdate=function(e,t){return ie(this.props,e)||ie(this.state,t)},o}(y);var ce=o.__b;o.__b=function(e){e.type&&e.type.t&&e.ref&&(e.props.ref=e.ref,e.ref=null),ce&&ce(e)};var le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var se=function(e,t){return e?w(e).reduce((function(e,n,o){return e.concat(t(n,o))}),[]):null},ue={map:se,forEach:se,count:function(e){return e?w(e).length:0},only:function(e){if(1!==(e=w(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:w},pe=o.__e;function fe(e){return e&&((e=re({},e)).__c=null,e.__k=e.__k&&e.__k.map(fe)),e}function de(){this.__u=0,this.o=null,this.__b=null}function me(e){var t=e.__.__c;return t&&t.u&&t.u(e)}function ve(){this.i=null,this.l=null}o.__e=function(e,t,n){if(e.then)for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return o.__c(e,t.__c);pe(e,t,n)},(de.prototype=new y).__c=function(e,t){var n=this;null==n.o&&(n.o=[]),n.o.push(t);var o=me(n.__v),r=!1,i=function(){r||(r=!0,o?o(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){i(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});e=n.o.pop();)e.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),e.then(i,i)},de.prototype.render=function(e,t){return this.__b&&(this.__v.__k[0]=fe(this.__b),this.__b=null),[m(h,null,t.u?null:e.children),t.u&&e.fallback]};var he=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]0&&(e=Ee.createElement("p",{className:"purposes"},c(["app",u.length>1?"purposes":"purpose"]),": ",f)),Ee.createElement("div",null,Ee.createElement("input",{id:p,className:"cm-app-input"+(l?" required":""),"aria-describedby":"".concat(p,"-description"),disabled:l,checked:n||l,type:"checkbox",onChange:function(e){o(e.target.checked)}}),Ee.createElement("label",Ce({htmlFor:p,className:"cm-app-label"},l?{tabIndex:"0"}:{}),Ee.createElement("span",{className:"cm-app-title"},i),m,d,Ee.createElement("span",{className:"switch"},Ee.createElement("div",{className:"slider round active"}))),Ee.createElement("div",{id:"".concat(p,"-description")},Ee.createElement("p",{className:"cm-app-description"},a||c([r,"description"])),e))}}])&&Ne(n.prototype,o),r&&Ne(n,r),t}(Ee.Component);function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(){return(Le=Object.assign||function(e){for(var t=1;t1&&Ee.createElement("li",{className:"cm-app cm-toggle-all"},Ee.createElement(Ie,{name:"disableAll",title:n(["app","disableAll","title"]),description:n(["app","disableAll","description"]),checked:!s,onToggle:function(e){a(i,e)},t:n})))}}])&&Ue(n.prototype,o),r&&Ue(n,r),t}(Ee.Component);n(110),n(111),n(156),n(66),n(157),n(67),n(51),n(69),n(160);function Ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1?t-1:0),o=1;o0;){var l=c.match(/\{(?!\{)([\w\d]+)\}(?!\})/);if(null!==l){var s=c.substr(0,l.index);c=c.substr(l.index+l[0].length);var u=parseInt(l[1]);a.push(s),u!=u?a.push(r[l[1]]):a.push(r[u])}else a.push(c),c=""}return a};function Ve(){var e=(("string"==typeof window.language?window.language:null)||document.documentElement.lang||"en").toLowerCase(),t=new RegExp("^([\\w]+)-([\\w]+)$").exec(e);return null===t?e:t[1]}function Ge(e,t,n){var o=t;Array.isArray(o)||(o=[o]);for(var r=e,i=0;i3?i-3:0),c=3;c0?We.apply(void 0,[r].concat(a)):r}function Xe(e){return(Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qe(e,t){for(var n=0;n0||!e.manager.confirmed},n}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bt(e,t)}(t,e),n=t,(o=[{key:"componentDidUpdate",value:function(e){if(e.show!==this.props.show){var t=this.props.show>0||!this.props.manager.confirmed;t!==this.state.show&&this.setState({show:t})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.config,o=t.t,r=t.manager,i=t.stylePrefix,a=this.state.show,c=function(){e.setState({show:!1}),document.body.classList.add("consent-confirmed"),document.body.classList.remove("consent-approval")};return Ee.createElement("div",{className:i},Ee.createElement(lt,{t:o,show:a,hide:c,config:n,manager:r}),Ee.createElement(mt,{t:o,show:!a,hide:c,config:n,manager:r}))}}])&&ht(n.prototype,o),r&&ht(n,r),t}(Ee.Component);n(161),n(162),n(163),n(164),n(117),n(165),n(166),n(167);function _t(){for(var e=document.cookie.split(";"),t=[],n=new RegExp("^\\s*([^=]+)\\s*=\\s*(.*?)$"),o=0;o0)return t[0]}},{key:"getDefaultConsent",value:function(e){var t=e.default;return void 0===t&&(t=this.config.default),void 0===t&&(t=!1),t}},{key:"changeAll",value:function(e){var t=this;this.config.apps.map((function(n){n.required||t.config.required||e?t.updateConsent(n.name,!0):t.updateConsent(n.name,!1)}))}},{key:"updateConsent",value:function(e,t){this.consents[e]=t,this.notify("consents",this.consents)}},{key:"restoreSavedConsents",value:function(){this.consents=Pt({},this.savedConsents),this.notify("consents",this.consents)}},{key:"resetConsent",value:function(){this.consents=this.defaultConsents,this.confirmed=!1,this.applyConsents(),this.store.delete(),this.notify("consents",this.consents)}},{key:"getConsent",value:function(e){return this.consents[e]||!1}},{key:"_checkConsents",value:function(){for(var e=!0,t=new Set(this.config.apps.map((function(e){return e.name}))),n=new Set(Object.keys(this.consents)),o=0,r=Object.keys(this.consents);o0)for(var n=_t(),o=0;o