@faabletools/overlay-cookies
Version:
7 lines • 73.5 kB
JavaScript
/*!
* @faabletools/overlay-cookies v1.18.0
* (c) 2026 faable.com · Faable Cookies
* @license UNLICENSED - Private license, all rights reserved
*/
!function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var o,t=1,n=arguments.length;t<n;t++)for(var i in o=arguments[t])Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i]);return e},e.apply(this,arguments)};function o(e,o,t,n){return new(t||(t=Promise))(function(i,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function c(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var o;e.done?i(e.value):(o=e.value,o instanceof t?o:new t(function(e){e(o)})).then(a,c)}s((n=n.apply(e,o||[])).next())})}function t(e,o){var t,n,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(s){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(r=0)),r;)try{if(t=1,n&&(i=2&c[0]?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(!(i=r.trys,(i=i.length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){r=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(6===c[0]&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=o.call(e,r)}catch(e){c=[6,e],n=0}finally{t=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}function n(e,o){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var n,i,r=t.call(e),a=[];try{for(;(void 0===o||o-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}"function"==typeof SuppressedError&&SuppressedError;var i,r,a,c,s,l,_,u,f,d,p,h,b,k,v,y={},m=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function x(e,o){for(var t in o)e[t]=o[t];return e}function S(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function N(e,o,t){var n,r,a,c={};for(a in o)"key"==a?n=o[a]:"ref"==a?r=o[a]:c[a]=o[a];if(arguments.length>2&&(c.children=arguments.length>3?i.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===c[a]&&(c[a]=e.defaultProps[a]);return P(e,c,n,r,null)}function P(e,o,t,n,i){var c={type:e,props:o,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==i?++a:i,__i:-1,__u:0};return null==i&&null!=r.vnode&&r.vnode(c),c}function C(e){return e.children}function O(e,o){this.props=e,this.context=o}function E(e,o){if(null==o)return e.__?E(e.__,e.__i+1):null;for(var t;o<e.__k.length;o++)if(null!=(t=e.__k[o])&&null!=t.__e)return t.__e;return"function"==typeof e.type?E(e):null}function j(e){if(e.__P&&e.__d){var o=e.__v,t=o.__e,n=[],i=[],a=x({},o);a.__v=o.__v+1,r.vnode&&r.vnode(a),F(e.__P,a,o,e.__n,e.__P.namespaceURI,32&o.__u?[t]:null,n,null==t?E(o):t,!!(32&o.__u),i),a.__v=o.__v,a.__.__k[a.__i]=a,W(n,a,i),o.__e=o.__=null,a.__e!=t&&z(a)}}function z(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(o){if(null!=o&&null!=o.__e)return e.__e=e.__c.base=o.__e}),z(e)}function A(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!U.__r++||l!=r.debounceRendering)&&((l=r.debounceRendering)||_)(U)}function U(){try{for(var e,o=1;s.length;)s.length>o&&s.sort(u),e=s.shift(),o=s.length,j(e)}finally{s.length=U.__r=0}}function L(e,o,t,n,i,r,a,c,s,l,_){var u,f,d,p,h,b,k=n&&n.__k||m,v=o.length;for(s=function(e,o,t,n,i){var r,a,c,s,l,_=t.length,u=_,f=0;for(e.__k=new Array(i),r=0;r<i;r++)null!=(a=o[r])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?a=e.__k[r]=P(null,a,null,null,null):w(a)?a=e.__k[r]=P(C,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[r]=P(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[r]=a,s=r+f,a.__=e,a.__b=e.__b+1,c=null,-1!=(l=a.__i=R(a,t,s,u))&&(u--,(c=t[l])&&(c.__u|=2)),null==c||null==c.__v?(-1==l&&(i>_?f--:i<_&&f++),"function"!=typeof a.type&&(a.__u|=4)):l!=s&&(l==s-1?f--:l==s+1?f++:(l>s?f--:f++,a.__u|=4))):e.__k[r]=null;if(u)for(r=0;r<_;r++)null!=(c=t[r])&&!(2&c.__u)&&(c.__e==n&&(n=E(c)),V(c,c));return n}(t,o,k,s,v),u=0;u<v;u++)null!=(d=t.__k[u])&&(f=-1!=d.__i&&k[d.__i]||y,d.__i=u,b=F(e,d,f,i,r,a,c,s,l,_),p=d.__e,d.ref&&f.ref!=d.ref&&(f.ref&&B(f.ref,null,d),_.push(d.ref,d.__c||p,d)),null==h&&null!=p&&(h=p),4&d.__u?(s=T(d,s,e),f.__e&&(f.__e=null)):"function"==typeof d.type&&void 0!==b?s=b:p&&(s=p.nextSibling),d.__u&=-7);return t.__e=h,s}function T(e,o,t){var n,i;if("function"==typeof e.type){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,o=T(n[i],o,t));return o}e.__e!=o&&(o&&e.type&&!o.parentNode&&(o=E(e)),o=t.insertBefore(e.__e,o||null));do{o=o&&o.nextSibling}while(null!=o&&8==o.nodeType);return o}function H(e,o){return o=o||[],null==e||"boolean"==typeof e||(w(e)?e.some(function(e){H(e,o)}):o.push(e)),o}function R(e,o,t,n){var i,r,a,c=e.key,s=e.type,l=o[t],_=null!=l&&!(2&l.__u);if(null===l&&null==c||_&&c==l.key&&s==l.type)return t;if(n>(_?1:0))for(i=t-1,r=t+1;i>=0||r<o.length;)if(null!=(l=o[a=i>=0?i--:r++])&&!(2&l.__u)&&c==l.key&&s==l.type)return a;return-1}function M(e,o,t){"-"==o[0]?e.setProperty(o,null==t?"":t):e[o]=null==t?"":"number"!=typeof t||g.test(o)?t:t+"px"}function I(e,o,t,n,i){var r,a;e:if("style"==o)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(o in n)t&&o in t||M(e.style,o,"");if(t)for(o in t)n&&t[o]==n[o]||M(e.style,o,t[o])}else if("o"==o[0]&&"n"==o[1])r=o!=(o=o.replace(h,"$1")),a=o.toLowerCase(),o=a in e||"onFocusOut"==o||"onFocusIn"==o?a.slice(2):o.slice(2),e.l||(e.l={}),e.l[o+r]=t,t?n?t[p]=n[p]:(t[p]=b,e.addEventListener(o,r?v:k,r)):e.removeEventListener(o,r?v:k,r);else{if("http://www.w3.org/2000/svg"==i)o=o.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=o&&"height"!=o&&"href"!=o&&"list"!=o&&"form"!=o&&"tabIndex"!=o&&"download"!=o&&"rowSpan"!=o&&"colSpan"!=o&&"role"!=o&&"popover"!=o&&o in e)try{e[o]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!=o[4]?e.removeAttribute(o):e.setAttribute(o,"popover"==o&&1==t?"":t))}}function D(e){return function(o){if(this.l){var t=this.l[o.type+e];if(null==o[d])o[d]=b++;else if(o[d]<t[p])return;return t(r.event?r.event(o):o)}}}function F(e,o,t,n,a,c,s,l,_,u){var f,d,p,h,b,k,v,g,N,P,j,z,A,U,T,H,R=o.type;if(void 0!==o.constructor)return null;128&t.__u&&(_=!!(32&t.__u),c=[l=o.__e=t.__e]),(f=r.__b)&&f(o);e:if("function"==typeof R){d=s.length;try{if(N=o.props,P=R.prototype&&R.prototype.render,j=(f=R.contextType)&&n[f.__c],z=f?j?j.props.value:f.__:n,t.__c?g=(p=o.__c=t.__c).__=p.__E:(P?o.__c=p=new R(N,z):(o.__c=p=new O(N,z),p.constructor=R,p.render=G),j&&j.sub(p),p.state||(p.state={}),p.__n=n,h=p.__d=!0,p.__h=[],p._sb=[]),P&&null==p.__s&&(p.__s=p.state),P&&null!=R.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=x({},p.__s)),x(p.__s,R.getDerivedStateFromProps(N,p.__s))),b=p.props,k=p.state,p.__v=o,h)P&&null==R.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),P&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(P&&null==R.getDerivedStateFromProps&&N!==b&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(N,z),o.__v==t.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(N,p.__s,z)){o.__v!=t.__v&&(p.props=N,p.state=p.__s,p.__d=!1),o.__e=t.__e,o.__k=t.__k,o.__k.some(function(e){e&&(e.__=o)}),m.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&s.push(p),l=E(t);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(N,p.__s,z),P&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(b,k,v)})}if(p.context=z,p.props=N,p.__P=e,p.__e=!1,A=r.__r,U=0,P)p.state=p.__s,p.__d=!1,A&&A(o),f=p.render(p.props,p.state,p.context),m.push.apply(p.__h,p._sb),p._sb=[];else do{p.__d=!1,A&&A(o),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++U<25);p.state=p.__s,null!=p.getChildContext&&(n=x(x({},n),p.getChildContext())),P&&!h&&null!=p.getSnapshotBeforeUpdate&&(v=p.getSnapshotBeforeUpdate(b,k)),T=null!=f&&f.type===C&&null==f.key?q(f.props.children):f,l=L(e,w(T)?T:[T],o,t,n,a,c,s,l,_,u),p.base=o.__e,o.__u&=-161,p.__h.length&&s.push(p),g&&(p.__E=p.__=null)}catch(e){if(s.length=d,o.__v=null,_||null!=c){if(e.then){for(o.__u|=_?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;null!=c&&(c[c.indexOf(l)]=null),o.__e=l}else if(null!=c)for(H=c.length;H--;)S(c[H])}else o.__e=t.__e;null==o.__k&&(o.__k=t.__k||[]),e.then||$(o),r.__e(e,o,t)}}else null==c&&o.__v==t.__v?(o.__k=t.__k,o.__e=t.__e):l=o.__e=function(e,o,t,n,a,c,s,l,_){var u,f,d,p,h,b,k,v=t.props||y,m=o.props,g=o.type;if("svg"==g?a="http://www.w3.org/2000/svg":"math"==g?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=c)for(u=0;u<c.length;u++)if((h=c[u])&&"setAttribute"in h==!!g&&(g?h.localName==g:3==h.nodeType)){e=h,c[u]=null;break}if(null==e){if(null==g)return document.createTextNode(m);e=document.createElementNS(a,g,m.is&&m),l&&(r.__m&&r.__m(o,c),l=!1),c=null}if(null==g)v===m||l&&e.data==m||(e.data=m);else{if(c="textarea"==g&&null!=m.defaultValue?null:c&&i.call(e.childNodes),!l&&null!=c)for(v={},u=0;u<e.attributes.length;u++)v[(h=e.attributes[u]).name]=h.value;for(u in v)h=v[u],"dangerouslySetInnerHTML"==u?d=h:"children"==u||u in m||"value"==u&&"defaultValue"in m||"checked"==u&&"defaultChecked"in m||I(e,u,null,h,a);for(u in m)h=m[u],"children"==u?p=h:"dangerouslySetInnerHTML"==u?f=h:"value"==u?b=h:"checked"==u?k=h:l&&"function"!=typeof h||v[u]===h||I(e,u,h,v[u],a);if(f)l||d&&(f.__html==d.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),o.__k=[];else if(d&&(e.innerHTML=""),L("template"==o.type?e.content:e,w(p)?p:[p],o,t,n,"foreignObject"==g?"http://www.w3.org/1999/xhtml":a,c,s,c?c[0]:t.__k&&E(t,0),l,_),null!=c)for(u=c.length;u--;)S(c[u]);l&&"textarea"!=g||(u="value","progress"==g&&null==b?e.removeAttribute("value"):null!=b&&(b!==e[u]||"progress"==g&&!b||"option"==g&&b!=v[u])&&I(e,u,b,v[u],a),u="checked",null!=k&&k!=e[u]&&I(e,u,k,v[u],a))}return e}(t.__e,o,t,n,a,c,s,_,u);return(f=r.diffed)&&f(o),128&o.__u?void 0:l}function $(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some($))}function W(e,o,t){for(var n=0;n<t.length;n++)B(t[n],t[++n],t[++n]);r.__c&&r.__c(o,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(e){e.call(o)})}catch(e){r.__e(e,o.__v)}})}function q(e){return"object"!=typeof e||null==e||e.__b>0?e:w(e)?e.map(q):void 0!==e.constructor?null:x({},e)}function B(e,o,t){try{if("function"==typeof e){var n="function"==typeof e.__u;n&&e.__u(),n&&null==o||(e.__u=e(o))}else e.current=o}catch(e){r.__e(e,t)}}function V(e,o,t){var n,i;if(r.unmount&&r.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||B(n,null,o)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){r.__e(e,o)}n.base=n.__P=n.__n=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&V(n[i],o,t||"function"!=typeof e.type);t||S(e.__e),e.__c=e.__=e.__e=void 0}function G(e,o,t){return this.constructor(e,t)}function Y(e,o,t){var n,a,c,s;o==document&&(o=document.documentElement),r.__&&r.__(e,o),a=(n="function"==typeof t)?null:t&&t.__k||o.__k,c=[],s=[],F(o,e=(!n&&t||o).__k=N(C,null,[e]),a||y,y,o.namespaceURI,!n&&t?[t]:a?null:o.firstChild?i.call(o.childNodes):null,c,!n&&t?t:a?a.__e:o.firstChild,n,s),W(c,e,s),e.props.children=null}function Z(e,o){Y(e,o,Z)}i=m.slice,r={__e:function(e,o,t,n){for(var i,r,a;o=o.__;)if((i=o.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(o){e=o}throw e}},a=0,c=function(e){return null!=e&&void 0===e.constructor},O.prototype.setState=function(e,o){var t;t=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=x({},this.state),"function"==typeof e&&(e=e(x({},t),this.props)),e&&x(t,e),null!=e&&this.__v&&(o&&this._sb.push(o),A(this))},O.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},O.prototype.render=C,s=[],_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,o){return e.__v.__b-o.__v.__b},U.__r=0,f=Math.random().toString(8),d="__d"+f,p="__a"+f,h=/(PointerCapture)$|Capture$/i,b=0,k=D(!1),v=D(!0);var J,K,Q,X,ee=0,oe=[],te=r,ne=te.__b,ie=te.__r,re=te.diffed,ae=te.__c,ce=te.unmount,se=te.__;function le(e,o){te.__h&&te.__h(K,e,ee||o),ee=0;var t=K.__H||(K.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function _e(e){return ee=1,function(e,o,t){var n=le(J++,2);if(n.t=e,!n.__c&&(n.__=[t?t(o):me(void 0,o),function(e){var o=n.__N?n.__N[0]:n.__[0],t=n.t(o,e);o!==t&&(n.__N=[t,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.__f)){var i=function(e,o,t){if(!n.__c.__H)return!0;var i=!1,a=n.__c.props!==e;if(n.__c.__H.__.some(function(e){if(e.__N){i=!0;var o=e.__[0];e.__=e.__N,e.__N=void 0,o!==e.__[0]&&(a=!0)}}),r){var c=r.call(this,e,o,t);return i?c||a:c}return!i||a};K.__f=!0;var r=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(e,o,t){if(this.__e){var n=r;r=void 0,i(e,o,t),r=n}a&&a.call(this,e,o,t)},K.shouldComponentUpdate=i}return n.__N||n.__}(me,e)}function ue(e,o){var t=le(J++,3);!te.__s&&ye(t.__H,o)&&(t.__=e,t.u=o,K.__H.__h.push(t))}function fe(e,o){var t=le(J++,7);return ye(t.__H,o)&&(t.__=e(),t.__H=o,t.__h=e),t.__}function de(e,o){return ee=8,fe(function(){return e},o)}function pe(){for(var e;e=oe.shift();){var o=e.__H;if(e.__P&&o)try{o.__h.some(ke),o.__h.some(ve),o.__h=[]}catch(t){o.__h=[],te.__e(t,e.__v)}}}te.__b=function(e){K=null,ne&&ne(e)},te.__=function(e,o){e&&o.__k&&o.__k.__m&&(e.__m=o.__k.__m),se&&se(e,o)},te.__r=function(e){ie&&ie(e),J=0;var o=(K=e.__c).__H;o&&(Q===K?(o.__h=[],K.__h=[],o.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(o.__h.some(ke),o.__h.some(ve),o.__h=[],J=0)),Q=K},te.diffed=function(e){re&&re(e);var o=e.__c;o&&o.__H&&(o.__H.__h.length&&(1!==oe.push(o)&&X===te.requestAnimationFrame||((X=te.requestAnimationFrame)||be)(pe)),o.__H.__.some(function(e){e.u&&(e.__H=e.u,e.u=void 0)})),Q=K=null},te.__c=function(e,o){o.some(function(e){try{e.__h.some(ke),e.__h=e.__h.filter(function(e){return!e.__||ve(e)})}catch(t){o.some(function(e){e.__h&&(e.__h=[])}),o=[],te.__e(t,e.__v)}}),ae&&ae(e,o)},te.unmount=function(e){ce&&ce(e);var o,t=e.__c;t&&t.__H&&(t.__H.__.some(function(e){try{ke(e)}catch(e){o=e}}),t.__H=void 0,o&&te.__e(o,t.__v))};var he="function"==typeof requestAnimationFrame;function be(e){var o,t=function(){clearTimeout(n),he&&cancelAnimationFrame(o),setTimeout(e)},n=setTimeout(t,35);he&&(o=requestAnimationFrame(t))}function ke(e){var o=K,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),K=o}function ve(e){var o=K;e.__c=e.__(),K=o}function ye(e,o){return!e||e.length!==o.length||o.some(function(o,t){return o!==e[t]})}function me(e,o){return"function"==typeof o?o(e):o}function ge(e,o){for(var t in e)if("__source"!==t&&!(t in o))return!0;for(var n in o)if("__source"!==n&&e[n]!==o[n])return!0;return!1}function we(e,o){this.props=e,this.context=o}(we.prototype=new O).isPureReactComponent=!0,we.prototype.shouldComponentUpdate=function(e,o){return ge(this.props,e)||ge(this.state,o)};var xe=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xe&&xe(e)};var Se=r.__e;r.__e=function(e,o,t,n){if(e.then)for(var i,r=o;r=r.__;)if((i=r.__c)&&i.__c)return null==o.__e&&(o.__e=t.__e,o.__k=t.__k||[]),i.__c(e,o);Se(e,o,t,n)};var Ne=r.unmount;function Pe(e,o,t){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=function(e,o){for(var t in o)e[t]=o[t];return e}({},e)).__c&&(e.__c.__P===t&&(e.__c.__P=o),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Pe(e,o,t)})),e}function Ce(e,o,t){return e&&t&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Ce(e,o,t)}),e.__c&&e.__c.__P===o&&(e.__e&&t.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=t)),e}function Oe(){this.__u=0,this.o=null,this.__b=null}function Ee(e){var o=e.__&&e.__.__c;return o&&o.__a&&o.__a(e)}function je(){this.i=null,this.l=null}r.unmount=function(e){var o=e.__c;o&&(o.__z=!0),o&&o.__R&&o.__R(),o&&32&e.__u&&(e.type=null),Ne&&Ne(e)},(Oe.prototype=new O).__c=function(e,o){var t=o.__c,n=this;null==n.o&&(n.o=[]),n.o.push(t);var i=Ee(n.__v),r=!1,a=function(){r||n.__z||(r=!0,t.__R=null,i?i(s):s())};t.__R=a;var c=t.__P;t.__P=null;var s=function(){if(! --n.__u){if(n.state.__a){var e=n.state.__a;n.__v.__k[0]=Ce(e,e.__c.__P,e.__c.__O)}var o;for(n.setState({__a:n.__b=null});o=n.o.pop();)o.__P=c,o.forceUpdate()}};n.__u++||32&o.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Oe.prototype.componentWillUnmount=function(){this.o=[]},Oe.prototype.render=function(e,o){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Pe(this.__b,t,n.__O=n.__P)}this.__b=null}var i=o.__a&&N(C,null,e.fallback);return i&&(i.__u&=-33),[N(C,null,o.__a?null:e.children),i]};var ze=function(e,o,t){if(++t[1]===t[0]&&e.l.delete(o),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(t=e.i;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.i=t=t[2]}};(je.prototype=new O).__a=function(e){var o=this,t=Ee(o.__v),n=o.l.get(e);return n[0]++,function(i){var r=function(){o.props.revealOrder?(n.push(i),ze(o,e,n)):i()};t?t(r):r()}},je.prototype.render=function(e){this.i=null,this.l=new Map;var o=H(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&o.reverse();for(var t=o.length;t--;)this.l.set(o[t],this.i=[1,0,this.i]);return e.children},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(o,t){ze(e,t,o)})};var Ae="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ue=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Le=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Te=/[A-Z0-9]/g,He="undefined"!=typeof document,Re=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};O.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(O.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(o){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:o})}})});var Me=r.event;r.event=function(e){return Me&&(e=Me(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var Ie={configurable:!0,get:function(){return this.class}},De=r.vnode;r.vnode=function(e){"string"==typeof e.type&&function(e){var o=e.props,t=e.type,n={},i=-1==t.indexOf("-");for(var r in o){var a=o[r];if(!("value"===r&&"defaultValue"in o&&null==a||He&&"children"===r&&"noscript"===t||"class"===r||"className"===r)){var c=r.toLowerCase();"defaultValue"===r&&"value"in o&&null==o.value?r="value":"download"===r&&!0===a?a="":"translate"===c&&"no"===a?a=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?r="ondblclick":"onchange"!==c||"input"!==t&&"textarea"!==t||Re(o.type)?"onfocus"===c?r="onfocusin":"onblur"===c?r="onfocusout":Le.test(r)&&(r=c):c=r="oninput":i&&Ue.test(r)?r=r.replace(Te,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===c&&n[r=c]&&(r="oninputCapture"),n[r]=a}}"select"==t&&(n.multiple&&Array.isArray(n.value)&&(n.value=H(o.children).forEach(function(e){e.props.selected=-1!=n.value.indexOf(e.props.value)})),null!=n.defaultValue&&(n.value=H(o.children).forEach(function(e){e.props.selected=n.multiple?-1!=n.defaultValue.indexOf(e.props.value):n.defaultValue==e.props.value}))),o.class&&!o.className?(n.class=o.class,Object.defineProperty(n,"className",Ie)):o.className&&(n.class=n.className=o.className),e.props=n}(e),e.$$typeof=Ae,De&&De(e)};var Fe=r.__r;r.__r=function(e){Fe&&Fe(e),e.__c};var $e=r.diffed;r.diffed=function(e){$e&&$e(e);var o=e.props,t=e.__e;null!=t&&"textarea"===e.type&&"value"in o&&o.value!==t.value&&(t.value=null==o.value?"":o.value)};var We=C,qe=0;function Be(e,o,t,n,i,a){o||(o={});var c,s,l=o;if("ref"in l)for(s in l={},o)"ref"==s?c=o[s]:l[s]=o[s];var _={type:e,props:l,key:t,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--qe,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(s in c)void 0===l[s]&&(l[s]=c[s]);return r.vnode&&r.vnode(_),_}function Ve(e){return{render:function(o){!function(e,o,t){null==o.__k&&(o.textContent=""),Y(e,o),"function"==typeof t&&t(),e&&e.__c}(o,e)},unmount:function(){!function(e){!!e.__k&&Y(null,e)}(e)}}}var Ge={createRoot:Ve,hydrateRoot:function(e,o){return function(e,o,t){Z(e,o),"function"==typeof t&&t(),e&&e.__c}(o,e),Ve(e)}},Ye=function(e){return Be("div",{className:"cookies-bottom-0 cookies-font-base cookies-left-0 cookies-right-0 sm:cookies-bottom-5 sm:cookies-left-5 sm:cookies-right-auto cookies-z-40",style:{position:"fixed",padding:"0 !important",margin:"0 !important",transform:"scale(1)"},children:e.children})},Ze={en:{translation:{"banner.title":"We value your privacy","banner.content":'We use our own and third-party cookies to understand the uses of our website and to improve it, adapt the content to your tastes and personalize our advertisements and marketing. You can accept them all or reject them. Please note that rejecting cookies may affect your experience on this website. For more information, check our <a class="faable-opendoc" data-doc="cookies">cookies policy.</a>',"button.privacy_policy":"Privacy Policy","button.reject":"Reject Optionals","button.accept":"Accept All","button.configure":"Preferences","button.back":"Back","button.save":"Save Preferences","button.close":"Close","category.necessary":"Necessary","category.necessary_desc":"Required for the website to work. Always active.","category.analytics":"Analytics","category.analytics_desc":"Help us understand how the website is used.","category.marketing":"Marketing","category.marketing_desc":"Used to personalize advertising and measure its performance."}},fr:{translation:{"banner.title":"Nous respectons votre vie privée","banner.content":'Nous utilisons des cookies propres et tiers pour comprendre l\'utilisation de notre site et l\'améliorer, adapter le contenu à vos préférences et personnaliser nos publicités et notre marketing. Vous pouvez tout accepter ou refuser. Notez que refuser les cookies peut affecter votre expérience sur ce site. Pour plus d\'informations, consultez notre <a class="faable-opendoc" data-doc="cookies">politique de cookies.</a>',"button.privacy_policy":"Politique de confidentialité","button.reject":"Refuser les optionnels","button.accept":"Tout accepter","button.configure":"Préférences","button.back":"Retour","button.save":"Enregistrer les préférences","button.close":"Fermer","category.necessary":"Nécessaires","category.necessary_desc":"Indispensables au fonctionnement du site. Toujours actifs.","category.analytics":"Analytiques","category.analytics_desc":"Nous aident à comprendre comment le site est utilisé.","category.marketing":"Marketing","category.marketing_desc":"Utilisés pour personnaliser la publicité et mesurer sa performance."}},es:{translation:{"banner.title":"Valoramos tu privacidad","banner.content":'Utilizamos cookies propias y de terceros para conocer los usos de nuestra web y poder mejorarla, adaptar el contenido a tus gustos y personalizar nuestros anuncios y marketing. Puedes aceptarlas todas o rechazarlas, ten en cuenta que rechazar las cookies puede afectar a tu experiencia en esta web. Para más información puedes consultar nuestra <a class="faable-opendoc" data-doc="cookies">Política de cookies.</a>',"button.privacy_policy":"Política de privacidad","button.reject":"Rechazar Opcionales","button.accept":"Aceptar Todas","button.configure":"Preferencias","button.back":"Volver","button.save":"Guardar Preferencias","button.close":"Cerrar","category.necessary":"Necesarias","category.necessary_desc":"Imprescindibles para que la web funcione. Siempre activas.","category.analytics":"Analíticas","category.analytics_desc":"Nos ayudan a entender cómo se usa la web.","category.marketing":"Marketing","category.marketing_desc":"Se usan para personalizar la publicidad y medir su rendimiento."}}},Je=Object.keys(Ze),Ke="en",Qe=Ke,Xe=function(){return"undefined"!=typeof navigator&&navigator.language||""},eo=function(e){var o=e.toLowerCase().split("-")[0];return Je.includes(o)?o:void 0},oo=function(e){var o,t;return null!==(t=null!==(o=Ze[Qe].translation[e])&&void 0!==o?o:Ze[Ke].translation[e])&&void 0!==t?t:e},to={ad_storage:"denied",personalization_storage:"denied",analytics_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",functionality_storage:"granted",security_storage:"granted"},no=Symbol.for("preact-signals");function io(){if(lo>1)lo--;else{var e,o=!1;for(!function(){var e=po;for(po=void 0;void 0!==e;){var o=e.S;if(o.v===e.v)for(var t=o.t;void 0!==t;t=t.x)t.i===e.i&&(t.i=o.i);e=e.o}}();void 0!==so;){var t=so;for(so=void 0,_o++;void 0!==t;){var n=t.u;if(t.u=void 0,t.f&=-3,!(8&t.f)&&yo(t))try{t.c()}catch(t){o||(e=t,o=!0)}t=n}}if(_o=0,lo--,o)throw e}}var ro,ao=void 0;function co(e){var o=ao,t=ro;ao=void 0,ro=void 0;try{return e()}finally{ao=o,ro=t}}var so=void 0,lo=0,_o=0,uo=0,fo=0,po=void 0,ho=0;function bo(e){if(void 0!==ao){var o=e.n;if(void 0===o||o.t!==ao)return o={i:0,S:e,p:ao.s,n:void 0,t:ao,e:void 0,x:void 0,r:o},void 0!==ao.s&&(ao.s.n=o),ao.s=o,e.n=o,32&ao.f&&e.S(o),o;if(-1===o.i)return o.i=0,void 0!==o.n&&(o.n.p=o.p,void 0!==o.p&&(o.p.n=o.n),o.p=ao.s,o.n=void 0,ao.s.n=o,ao.s=o),o}}function ko(e,o){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==o?void 0:o.watched,this.Z=null==o?void 0:o.unwatched,this.name=null==o?void 0:o.name}function vo(e,o){return new ko(e,o)}function yo(e){for(var o=e.s;void 0!==o;o=o.n)if(o.S.i!==o.i||!o.S.h()||o.S.i!==o.i)return!0;return!1}function mo(e){for(var o=e.s;void 0!==o;o=o.n){var t=o.S.n;if(void 0!==t&&(o.r=t),o.S.n=o,o.i=-1,void 0===o.n){e.s=o;break}}}function go(e){for(var o=e.s,t=void 0;void 0!==o;){var n=o.p;-1===o.i?(o.S.U(o),void 0!==n&&(n.n=o.n),void 0!==o.n&&(o.n.p=n)):t=o,o.S.n=o.r,void 0!==o.r&&(o.r=void 0),o=n}e.s=t}function wo(e,o){ko.call(this,void 0,o),this.x=e,this.s=void 0,this.g=ho-1,this.f=4}function xo(e,o){return new wo(e,o)}function So(e){var o=e.m;if(e.m=void 0,"function"==typeof o){lo++;var t=ao;ao=void 0;try{o()}catch(o){throw e.f&=-2,e.f|=8,No(e),o}finally{ao=t,io()}}}function No(e){for(var o=e.s;void 0!==o;o=o.n)o.S.U(o);e.x=void 0,e.s=void 0,So(e)}function Po(e){if(ao!==this)throw new Error("Out-of-order effect");go(this),ao=e,this.f&=-2,8&this.f&&No(this),io()}function Co(e,o){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==o?void 0:o.name,ro&&ro.push(this)}function Oo(e,o){var t=new Co(e,o);try{t.c()}catch(e){throw t.d(),e}var n=t.d.bind(t);return n[Symbol.dispose]=n,n}ko.prototype.brand=no,ko.prototype.h=function(){return!0},ko.prototype.S=function(e){var o=this,t=this.t;t!==e&&void 0===e.e&&(e.x=t,this.t=e,void 0!==t?t.e=e:co(function(){var e;null==(e=o.W)||e.call(o)}))},ko.prototype.U=function(e){var o=this;if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&co(function(){var e;null==(e=o.Z)||e.call(o)}))}},ko.prototype.subscribe=function(e){var o=this;return Oo(function(){var t=o.value;co(function(){return e(t)})},{name:"sub"})},ko.prototype.valueOf=function(){return this.value},ko.prototype.toString=function(){return this.value+""},ko.prototype.toJSON=function(){return this.value},ko.prototype.peek=function(){var e=this;return co(function(){return e.value})},Object.defineProperty(ko.prototype,"value",{get:function(){var e=bo(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(_o>100)throw new Error("Cycle detected");!function(e){0!==lo&&0===_o&&e.l!==fo&&(e.l=fo,po={S:e,v:e.v,i:e.i,o:po})}(this),this.v=e,this.i++,ho++,lo++;try{for(var o=this.t;void 0!==o;o=o.x)o.t.N()}finally{io()}}}}),wo.prototype=new ko,wo.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===ho)return!0;if(this.g=ho,this.f|=1,this.i>0&&!yo(this))return this.f&=-2,!0;var e=ao;try{mo(this),ao=this;var o=this.x();(16&this.f||this.v!==o||0===this.i)&&(this.v=o,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return ao=e,go(this),this.f&=-2,!0},wo.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var o=this.s;void 0!==o;o=o.n)o.S.S(o)}ko.prototype.S.call(this,e)},wo.prototype.U=function(e){if(void 0!==this.t&&(ko.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var o=this.s;void 0!==o;o=o.n)o.S.U(o)}},wo.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(wo.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=bo(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Co.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var o=this.x();"function"==typeof o&&(this.m=o)}finally{e()}},Co.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,So(this),mo(this),lo++;var e=ao;return ao=this,Po.bind(this,e)},Co.prototype.N=function(){2&this.f||(this.f|=2,this.u=so,so=this)},Co.prototype.d=function(){this.f|=8,1&this.f||No(this)},Co.prototype.dispose=function(){this.d()};var Eo,jo,zo="undefined"!=typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,Ao=[];function Uo(e,o){r[e]=o.bind(null,r[e]||function(){})}function Lo(e){if(jo){var o=jo;jo=void 0,o()}jo=e&&e.S()}function To(e){var o=this,t=e.data,n=function(e,o){return fe(function(){return vo(e,o)},[])}(t);n.name="ReactiveDom",n.value=t;var i=fe(function(){for(var e=o,t=o.__v;t=t.__;)if(t.__c){t.__c.__$f|=4;break}var i=xo(function(){var e=n.value.value;return 0===e?0:!0===e?"":e||""}),r=xo(function(){return!Array.isArray(i.value)&&!c(i.value)}),a=Oo(function(){if(this.N=Io,r.value){var o=i.value;e.__v&&e.__v.__e&&3===e.__v.__e.nodeType&&(e.__v.__e.data=o)}}),s=o.__$u.d;return o.__$u.d=function(){a(),s.call(this)},[r,i]},[]),r=i[0],a=i[1];return r.value?a.peek():a.value}function Ho(e,o,t,n){var i=o in e&&void 0===e.ownerSVGElement,r=vo(t);return{o:function(e,o){r.value=e,n=o},d:Oo(function(){this.N=Io;var t=r.value.value;n[o]!==t&&(n[o]=t,i?e[o]=t:null==t||!1===t&&"-"!==o[4]?e.removeAttribute(o):e.setAttribute(o,t))})}}Oo(function(){Eo=this.N})(),To.displayName="ReactiveTextNode",Object.defineProperties(ko.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:To},props:{configurable:!0,get:function(){var e=this;return{data:{get value(){return e.value}}}}},__b:{configurable:!0,value:1}}),Uo("__b",function(e,o){if("string"==typeof o.type){var t,n=o.props;for(var i in n)if("children"!==i){var r=n[i];r instanceof ko&&(t||(o.__np=t={}),t[i]=r,n[i]=r.peek())}}e(o)}),Uo("__r",function(e,o){if(e(o),o.type!==C){Lo();var t,n=o.__c;n&&(n.__$f&=-2,void 0===(t=n.__$u)&&(n.__$u=t=function(e,o){var t;return Oo(function(){t=this},{name:o}),t.c=e,t}(function(){var e;zo&&(null==(e=t.y)||e.call(t)),n.__$f|=1,n.setState({})},"function"==typeof o.type?o.type.displayName||o.type.name:""))),Lo(t)}}),Uo("__e",function(e,o,t,n){Lo(),e(o,t,n)}),Uo("diffed",function(e,o){var t;if(Lo(),"string"==typeof o.type&&(t=o.__e)){var n=o.__np,i=o.props,r=t.U;if(r)for(var a in r){var c=r[a];void 0===c||n&&a in n||(c.d(),r[a]=void 0)}if(n)for(var s in r||(r={},t.U=r),n){var l=r[s],_=n[s];void 0===l?(l=Ho(t,s,_,i),r[s]=l):l.o(_,i)}}e(o)}),Uo("unmount",function(e,o){if("string"==typeof o.type){var t=o.__e;if(t){var n=t.U;if(n)for(var i in t.U=void 0,n){var r=n[i];r&&r.d()}}var a=o.__np;if(a){var c=o.props;for(var s in a)c[s]=a[s]}o.__np=void 0}else{var l=o.__c;if(l){var _=l.__$u;_&&(l.__$u=void 0,_.d())}}e(o)}),Uo("__h",function(e,o,t,n){n<3&&(o.__$f|=2),e(o,t,n)}),O.prototype.shouldComponentUpdate=function(e,o){if(this.__R)return!0;var t=this.__$u,n=t&&void 0!==t.s;for(var i in o)return!0;if(this.__f||"boolean"==typeof this.u&&!0===this.u){var r=2&this.__$f;if(!(n||r||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(n||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var a in e)if("__source"!==a&&e[a]!==this.props[a])return!0;for(var c in this.props)if(!(c in e))return!0;return!1};var Ro=function(e){queueMicrotask(function(){queueMicrotask(e)})};function Mo(){!function(e){if(lo>0)return e();fo=++uo,lo++;try{return e()}finally{io()}}(function(){for(var e;e=Ao.shift();)Eo.call(e)})}function Io(){1===Ao.push(this)&&(r.requestAnimationFrame||Ro)(Mo)}var Do=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","GB","CH"],Fo=function(e){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];return o(void 0,function(e,o,t){if(t||2===arguments.length)for(var n,i=0,r=o.length;i<r;i++)!n&&i in o||(n||(n=Array.prototype.slice.call(o,0,i)),n[i]=o[i]);return e.concat(n||Array.prototype.slice.call(o))}([e],n(i),!1),void 0,function(e,o){var n,i,r,a,c;return void 0===o&&(o=1500),t(this,function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),n=new AbortController,i=setTimeout(function(){return n.abort()},o),[4,fetch(e,{signal:n.signal})];case 1:return r=t.sent(),clearTimeout(i),r.ok?[4,r.json()]:[2,null];case 2:return a=t.sent(),[2,"string"==typeof(c=null==a?void 0:a.country)&&/^[A-Z]{2}$/.test(c)?c:null];case 3:return t.sent(),[2,null];case 4:return[2]}})})},$o=new(function(){function o(){this.config={api_host:"https://cookies.faable.com",docs_host:"https://docs.cookies.faable.com",language:"auto",cookie_name:"faable_cookie_consent",privacy_url:"/legal/privacy-policy",geo_mode:"regulated_only",geo_consent_countries:Do}}return o.prototype.init=function(o,t){void 0===t&&(t={}),this.team_id=o,this.config=e(e({},this.config),t)},o}()),Wo={analytics:!0,marketing:!1},qo=new(function(){function o(){var o=this;this._categories=vo(e({},Wo)),this._answered=vo(!1),this._forceOpen=vo(!1),this._editorOpen=vo(!1),this._geoPending=vo(!1),this._isBannerShown=xo(function(){return!o._answered.value&&!o._geoPending.value||o._forceOpen.value})}return Object.defineProperty(o.prototype,"categories",{get:function(){return this._categories.value},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"answered",{get:function(){return this._answered.value},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"editorOpen",{get:function(){return this._editorOpen.value},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isBannerShown",{get:function(){return this._isBannerShown.value},enumerable:!1,configurable:!0}),o.prototype.load=function(){var o=function(e){if("undefined"!=typeof document){var o=document.cookie.split("; ").find(function(o){return o.startsWith(e+"=")});if(o){var t=decodeURIComponent(o.slice(e.length+1));if(t.startsWith("{")||t.startsWith("["))try{return JSON.parse(t)}catch(e){return t}return t}}}($o.config.cookie_name);void 0!==o&&(this._answered.value=!0,this._categories.value=function(o){return"user.accept"===o?{analytics:!0,marketing:!0}:"user.reject"===o||"user.reject_optionals"===o?e({},Wo):o&&"object"==typeof o&&1===o.v?{analytics:!!o.analytics,marketing:!!o.marketing}:e({},Wo)}(o))},o.prototype.setGeoPending=function(e){this._geoPending.value=e},o.prototype.edit=function(){this._forceOpen.value=!0,this._editorOpen.value=!0},o.prototype.openEditor=function(){this._editorOpen.value=!0},o.prototype.closeEditor=function(){this._editorOpen.value=!1},o.prototype.toggle=function(o){var t;this._categories.value=e(e({},this._categories.value),((t={})[o]=!this._categories.value[o],t))},o.prototype.answer=function(e){this._categories.value=e,this._answered.value=!0,this._forceOpen.value=!1,this._editorOpen.value=!1},o}());function Bo(){var e;"undefined"!=typeof window&&(null===(e=null===window||void 0===window?void 0:window.dataLayer)||void 0===e||e.push(arguments))}"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[]);var Vo,Go,Yo={functionality_storage:"granted",security_storage:"granted",ad_user_data:"granted",ad_personalization:"granted"},Zo={"user.accept":"accept","user.reject":"reject_optionals","user.reject_optionals":"reject_optionals","user.save_preferences":"save_preferences","consent.loaded":"loaded","consent.auto_accept":"auto_accept"},Jo=["init","user.accept","user.reject","user.reject_optionals","user.save_preferences","consent.loaded","consent.auto_accept"],Ko=(Vo=[],Go=function(e,o){Vo.push({type:e,callback:o})},{add:function(e){e({handler:Go})},emit:function(e){Jo.includes(e)&&Vo.forEach(function(o){o.type===e&&o.callback()})}});Ko.add(function(o){var t=o.handler;t("init",function(){Bo("consent","default",to)});var n=function(){var o=qo.categories,t=o.analytics,n=o.marketing;Bo("consent","update",e({ad_storage:n?"granted":"denied",personalization_storage:n?"granted":"denied",analytics_storage:t?"granted":"denied"},Yo))};t("user.accept",n),t("user.reject",n),t("user.reject_optionals",n),t("user.save_preferences",n),t("consent.loaded",n),t("consent.auto_accept",n)}),Ko.add(function(e){var o,t,i=e.handler,r=function(e,o){i(e,function(){if("undefined"!=typeof window){var e=qo.categories,t=e.analytics,n=e.marketing,i={action:o,analytics:t,marketing:n};window.dispatchEvent(new CustomEvent("faable:cookies",{detail:i})),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"faable_cookies",cookies_action:o,cookies_analytics:t,cookies_marketing:n})}})};try{for(var a=function(e){var o="function"==typeof Symbol&&Symbol.iterator,t=o&&e[o],n=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(Zo)),c=a.next();!c.done;c=a.next()){var s=n(c.value,2);r(s[0],s[1])}}catch(e){o={error:e}}finally{try{c&&!c.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}});var Qo=function(e){return"faable-consent-sync:".concat(e)},Xo=new Map,et=function(e){var o=Xo.get(e);return o||(o=new BroadcastChannel(Qo(e)),Xo.set(e,o)),o},ot=function(o,t){var n=$o.config.cookie_name;qo.answer(o),function(e,o,t){var n;if("undefined"!=typeof document){var i="string"==typeof o?o:JSON.stringify(o),r="".concat(e,"=").concat(encodeURIComponent(i),"; path=/");r+="; expires=".concat(t.expires.toUTCString()),r+="; samesite=".concat(null!==(n=t.sameSite)&&void 0!==n?n:"strict"),t.secure&&(r+="; secure"),document.cookie=r}}(n,e({v:1},o),{expires:new Date((new Date).setFullYear((new Date).getFullYear()+1)),sameSite:"strict",secure:"https:"===window.location.protocol}),Ko.emit(t),function(e,o){try{if("undefined"!=typeof BroadcastChannel)return void et(e).postMessage({categories:o});"undefined"!=typeof localStorage&&localStorage.setItem(Qo(e),JSON.stringify({categories:o,ts:Date.now()}))}catch(e){}}(n,o)};var tt,nt,it=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return e.filter(Boolean).join(" ")},rt=function(o){var t=o.children,n=o.variant,i=void 0===n?"normal":n,r=o.className,a=function(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)o.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(t[n[i]]=e[n[i]])}return t}(o,["children","variant","className"]);return Be("button",e({},a,{className:it("cookies-px-2 cookies-h-11 sm:cookies-h-12 cookies-border-2 cookies-border-solid cookies-border-blue-700 cookies-rounded-sm cookies-font-medium cookies-font-base cookies-text-xs sm:cookies-text-sm","primary"==i&&"cookies-text-white cookies-bg-blue-700 hover:cookies-bg-blue-500 hover:cookies-border-blue-500","normal"==i&&"cookies-text-blue-700 cookies-bg-transparent hover:cookies-bg-blue-50 hover:cookies-text-blue-500 hover:cookies-border-blue-500",r),children:t}))},at=function(){var e=n(_e(function(){return $o}),1)[0].config;return fe(function(){var o="";return e.content&&(o=function(e,o){return e.replace(/\{\{\s*([\w.]+)\s*\}\}/g,function(e,t){var n=t.split(".").reduce(function(e,o){return null==e?e:e[o]},o);return null==n?"":String(n)})}(e.content,e)),o},[e])},ct=function(e){var o=e.name,t=e.description,n=e.checked,i=e.disabled,r=e.onChange;return Be("label",{className:"cookies-flex cookies-items-center cookies-justify-between cookies-gap-3 cookies-py-2 cookies-border-0 cookies-border-b cookies-border-solid cookies-border-gray-100 dark:cookies-border-gray-800 cookies-cursor-pointer",children:[Be("div",{children:[Be("p",{className:"cookies-text-gray-800 dark:cookies-text-gray-100 cookies-font-medium cookies-font-base cookies-text-xs sm:cookies-text-sm",children:o}),Be("p",{className:"cookies-text-gray-600 dark:cookies-text-gray-300 cookies-font-extralight cookies-font-base cookies-text-xs",children:t})]}),Be("input",{type:"checkbox",className:"cookies-w-5 cookies-h-5 cookies-accent-blue-700 cookies-shrink-0",checked:n,disabled:i,onChange:r})]})},st=function(){var e=function(e){return function(){return qo.toggle(e)}};return Be("div",{className:"cookies-pb-4",children:[Be(ct,{name:oo("category.necessary"),description:oo("category.necessary_desc"),checked:!0,disabled:!0}),Be(ct,{name:oo("category.analytics"),description:oo("category.analytics_desc"),checked:qo.categories.analytics,onChange:e("analytics")}),Be(ct,{name:oo("category.marketing"),description:oo("category.marketing_desc"),checked:qo.categories.marketing,onChange:e("marketing")})]})},lt=function(){var o=function(){var o=n(_e(function(){return $o}),1)[0].config.privacy_url,t=ot,i=de(function(){return t({analytics:!0,marketing:!0},"user.accept")},[t]),r=de(function(){return t({analytics:!0,marketing:!1},"user.reject_optionals")},[t]),a=de(function(){return t(e({},qo.categories),"user.save_preferences")},[t]),c=de(function(){window.location.href=o},[o]);return{privacy_url:o,acceptAll:i,rejectOptionals:r,savePreferences:a,privacy:c}}(),t=o.acceptAll,i=o.rejectOptionals,r=o.savePreferences,a=at(),c=$o.config.content?a:oo("banner.content");return Be("div",{className:"cookies-p-5 cookies-pb-[max(1.25rem,env(safe-area-inset-bottom))] sm:cookies-pb-5",children:[Be("div",{className:"cookies-pb-5",children:[Be("p",{className:"cookies-text-gray-800 dark:cookies-text-gray-100 cookies-pb-3 cookies-font-medium cookies-font-base cookies-text-base sm:cookies-text-base",children:$o.config.title||oo("banner.title")}),Be("div",{className:"cookies-text-gray-600 dark:cookies-text-gray-300 cookies-font-extralight cookies-leading-relaxed cookies-tracking-wide cookies-font-base cookies-text-xs sm:cookies-text-sm [&>a]:cookies-underline",dangerouslySetInnerHTML:{__html:c}})]}),qo.editorOpen?Be(C,{children:[Be(st,{}),Be("div",{className:"cookies-grid cookies-grid-cols-1 sm:cookies-grid-cols-3 cookies-gap-2",children:[Be(rt,{"data-action":"back",onClick:function(){return qo.closeEditor()},children:oo("button.back")}),Be(rt,{"data-action":"accept",onClick:t,children:oo("button.accept")}),Be(rt,{"data-action":"save",variant:"primary",onClick:r,children:oo("button.save")})]})]}):Be("div",{className:"cookies-grid cookies-grid-cols-1 sm:cookies-grid-cols-3 cookies-gap-2",children:[Be(rt,{"data-action":"configure",onClick:function(){return qo.openEditor()},children:oo("button.configure")}),Be(rt,{"data-action":"reject",onClick:i,children:oo("button.reject")}),Be(rt,{"data-action":"accept",variant:"primary",onClick:t,children:oo("button.accept")})]})]})},_t="@faabletools/overlay-cookies",ut="1.18.0",ft=function(e){var o=e.children,t=e.show,i=n(_e(t),2),r=i[0],a=i[1],c=n(_e(!1),2),s=c[0],l=c[1];return t&&!r&&a(!0),ue(function(){var e,o;return t?e=requestAnimationFrame(function(){e=requestAnimationFrame(function(){return l(!0)})}):(e=requestAnimationFrame(function(){return l(!1)}),o=setTimeout(function(){return a(!1)},400)),function(){cancelAnimationFrame(e),clearTimeout(o)}},[t]),r?Be("div",{style:{transition:"transform ".concat(400,"ms ease, opacity ").concat(400,"ms ease"),transform:s?"translateY(0)":"translateY(100%)",opacity:s?1:0},children:o}):null},dt=function(o){return Be("div",e({className:"cookies-relative cookies-bg-white dark:cookies-bg-black cookies-rounded-t-xl sm:cookies-rounded-md cookies-border cookies-border-gray-100 dark:cookies-border-gray-800 cookies-w-full sm:cookies-max-w-[560px] cookies-shadow-2xl sm:cookies-shadow-md cookies-max-h-[85dvh] cookies-overflow-y-auto cookies-overscroll-contain"},o))},pt=function(){return Be(ft,{show:qo.isBannerShown,children:Be(dt,{children:[Be(lt,{}),Be("div",{className:"cookies-text-xs cookies-absolute cookies-bottom-0 cookies-left-0 cookies-text-gray-200 dark:cookies-text-gray-600 cookies-p-0.5 cookies-select-none",children:ut})]})})},ht=new(function(){function e(){this._open=vo(!1),this._doc_type=vo(void 0)}return Object.defineProperty(e.prototype,"open",{get:function(){return this._open.value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"doc_type",{get:function(){return this._doc_type.value},enumerable:!1,configurable:!0}),e.prototype.openDocument=function(e){void 0===e&&(e="cookies"),console.log('Opening document "'.concat(e,'"')),this._open.value=!0,this._doc_type.value=e},e.prototype.close=function(){this._open.value=!1,this._doc_type.value=void 0},e}()),bt="undefined"!=typeof window?window:void 0,kt="undefined"!=typeof globalThis?globalThis:bt,vt=null==kt?void 0:kt.document,yt=null!=bt?bt:{},mt=function(e){var o=e.children,t=e.id,n=e.onDismiss;return Be("div",{id:t,className:"cookies-fixed cookies-inset-0 cookies-flex cookies-bg-black cookies-bg-opacity-40 cookies-z-50 cookies-justify-center cookies-items-center",onClick:function(e){e.target===e.currentTarget&&(null==n||n())},children:o})},gt=function(e){var o=e.children,t=e.title,n=e.onClose;return ue(function(){var e=null==vt?void 0:vt.documentElement,o=null==vt?void 0:vt.body;if(e&&o){var t=e.style.overflow,n=o.style.overflow;return e.style.overflow="hidden",o.style.overflow="hidden",function(){e.style.overflow=t,o.style.overflow=n}}},[]),ue(function(){var e=function(e){"Escape"===e.key&&(null==n||n())};return null==vt||vt.addEventListener("keydown",e),function(){return null==vt?void 0:vt.removeEventListener("keydown",e)}},[n]),Be(mt,{id:"modal",onDismiss:n,children:Be("div",{role:"dialog","aria-modal":"true",className:"cookies-flex cookies-flex-col cookies-w-full cookies-h-full sm:cookies-w-[90%] sm:cookies-h-[90%] cookies-max-w-[75em] sm:cookies-rounded-lg cookies-overflow-hidden cookies-bg-white dark:cookies-bg-black",children:Be("div",{className:"cookies-flex cookies-flex-col cookies-divide-y cookies-h-full cookies-min-h-0",children:[Be("div",{className:"cookies-px-4 cookies-flex cookies-items-center cookies-shrink-0 cookies-pb-4 cookies-pt-[max(1rem,env(safe-area-inset-top))] sm:cookies-pt-4",children:[t&&Be("h2",{className:"cookies-font-bold cookies-text-xl",children:t}),Be("div",{className:"cookies-ml-auto",children:Be(rt,{onClick:function(){return n&&n()},className:"cookies-px-4",children:oo("button.close")})})]}),Be("div",{className:"cookies-flex-1 cookies-min-h-0 cookies-pb-[env(safe-area-inset-bottom)]",children:o})]})})})},wt=function(){return Be("div",{className:"cookies-flex cookies-flex-col cookies-items-center cookies-gap-4",children:[Be("div",{className:"cookies-h-10 cookies-w-10 cookies-rounded-full cookies-border-4 cookies-border-gray-300 cookies-border-t-gray-800 dark:cookies-border-gray-700 dark:cookies-border-t-gray-200 cookies-animate-spin"}),Be("span",{className:"cookies-text-sm cookies-text-gray-600 dark:cookies-text-gray-300",children:"Cargando documento…"})]})},xt=function(){var e=n(_e(!0),2),o=e[0],t=e[1],i="rights"===ht.doc_type?"forms/".concat($o.team_id,"/rights"):"documents/".concat($o.team_id,"/").concat(ht.doc_type),r="".concat($o.config.docs_host,"/").concat(i),a=n(_e(r),2),c=a[0],s=a[1];return c!==r&&(s(r),t(!0)),Be(C,{children:ht.open&&Be(gt,{onClose:function(){return ht.close()},children:Be("div",{className:"cookies-relative cookies-h-full cookies-w-full",children:[o&&Be("div",{className:"cookies-absolute cookies-inset-0 cookies-flex cookies-items-center cookies-justify-center",children:Be(wt,{})}),Be("iframe",{className:"cookies-h-full cookies-w-full cookies-border-0 cookies-transition-opacity cookies-duration-300 ".concat(o?"cookies-opacity-0":"cookies-opacity-100"),src:r,onLoad:function(){return t(!1)}},r)]})})})},St=function(){return Be("div",{id:"faable_cookie_consent",style:{position:"fixed",top:0,zIndex:9999999},tabIndex:0,children:[Be(xt,{}),Be(Ye,{children:Be(pt,{})})]})},Nt=Array.isArray,Pt=Object.prototype.toString,Ct=Nt||function(e){return"[object Array]"===Pt.call(e)},Ot=function(e){return"function"==typeof e},Et=function(){function e(){}return e.prototype.init=function(o,t,n){var i;if(n&&n!==zt){var r=null!==(i=jt[n])&&void 0!==i?i:new e;return r._init(o,t,n),jt[n]=r,jt[zt][n]=r,r}return this._init(o,t,n)},e.prototype._init=function(e,o,t){return console.log("initializing faablecookies"),$o.init(e,o),Ko.emit("init"),this},e.prototype.initContainer=function(){var e,o=vt.getElementById(_t);if(o||((o=vt.createElement("div")).id=_t,o.setAttribute("data-version",ut),vt.getElementsByTagName("body")[0].appendChild(o)),this.container=o,this.root=null!==(e=o.shadowRoot)&&void 0!==e?e:o.attachShadow({mode:"open"}),!this.root.querySelector("style[data-faable-cookies]")){var t=vt.createElement("style");t.setAttribute("data-faable-cookies",""),t.textContent='#faable_cookie_consent,#faable_cookie_consent *,#faable_cookie_consent :after,#faable_cookie_consent :before,#faable_cookie_consent:after,#faable_cookie_consent:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#faable_cookie_consent ::backdrop,#faable_cookie_consent::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:where(#faable_cookie_consent,#faable_cookie_consent *),:where(#faable_cookie_consent,#faable_cookie_consent *):after,:where(#faable_cookie_consent,#faable_cookie_consent *):before{border:0 solid #e5e7eb;box-sizing:border-box}:where(#faable_cookie_consent,#faable_cookie_consent *):after,:where(#faable_cookie_consent,#faable_cookie_consent *):before{--tw-content:""}#faable_cookie_consent{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;line-height:inherit;margin:0;-moz-tab-size:4;-o-tab-size:4;tab-size:4}hr:where(#faable_cookie_consent,#faable_cookie_consent *){border-top-width:1px;color:inherit;height:0}abbr:where([title]):where(#faable_cookie_consent,#faable_cookie_consent *){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:where(#faable_cookie_consent,#faable_cookie_consent *),h2:where(#faable_cookie_consent,#faable_cookie_consent *),h3:where(#faable_cookie_consent,#faable_cookie_consent *),h4:where(#faable_cookie_consent,#faable_cookie_consent *),h5:where(#faable_cookie_consent,#faable_cookie_consent *),h6:where(#faable_cookie_consent,#faable_cookie_consent *){font-size:inherit;font-weight:inherit}a:where(#faable_cookie_consent,#faable_cookie_consent *){color:inherit;text-decoration:inherit}b:where(#faable_cookie_consent,#faable_cookie_consent *),strong:where(#faable_cookie_consent,#faable_cookie_consent *){font-weight:bolder}code:where(#faable_cookie_consent,#faable_cookie_consent *),kbd:where(#faable_cookie_consent,#faable_cookie_consent *),pre:where(#faable_cookie_consent,#faable_cookie_consent *),samp:where(#faable_cookie_consent,#faable_cookie_consent *){font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small:where(#faable_cookie_consent,#faable_cookie_consent *){font-size:80%}sub:where(#faable_cookie_consent,#faable_cookie_consent *),sup:where(#faable_cookie_consent,#faable_cookie_consent *){font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub:where(#faable_cookie_consent,#faable_cookie_consent *){bottom:-.25em}sup:where(#faable_cookie_consent,#faable_cookie_consent *){top:-.5em}table:where(#faable_cookie_consent,#faable_cookie_consent *){border-collapse:collapse;border-color:inherit;text-indent:0}button:where(#faable_cookie_consent,#faable_cookie_consent *),input:where(#faable_cookie_consent,#faable_cookie_consent *),optgroup:where(#faable_cookie_consent,#faable_cookie_consent *),select:where(#faable_cookie_consent,#faable_cookie_consent *),textarea:where(#faable_cookie_consent,#faable_cookie_consent *){font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button:where(#faable_cookie_consent,#faable_cookie_consent *),select:where(#faable_cookie_consent,#faable_cookie_consent *){text-transform:none}button:where(#faable_cookie_consent,#faable_cookie_consent *),input:where([type=button]):where(#faable_cookie_consent,#faable_cookie_consent *),input:where([type=reset]):where(#faable_cookie_consent,#faable_cookie_consent *),input:where([type=submit]):where(#faable_cookie_consent,#faable_cookie_consent *){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring:where(#faable_cookie_consent,#faable_cookie_consent *){outline:auto}:-moz-ui-invalid:where(#faable_cookie_consent,#faable_cookie_consent *){box-shadow:none}progress:where(#faable_cookie_consent,#faable_cookie_consent *){vertical-align:baseline}:where(#faable_cookie_consent,#faable_cookie_consent *) ::-webkit-inner-spin-button,:where(#faable_cookie_consent,#faable_cookie_consent *) ::-webkit-outer-spin-button{height:auto}[type=search]:where(#faable_cookie_consent,#faable_cookie_consent *){-webkit-appearance:textfield;outline-offset:-2px}:where(#faable_cookie_consent,#faable_cookie_consent *) ::-webkit-search-decoration{-webkit-appearance:none}:where(#faable_cookie_consent,#faable_cookie_consent *) ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary:where(#faable_cookie_consent,#faable_cookie_consent *){display:list-item}blockquote:where(#faable_cookie_consent,#faable_cookie_consent *),dd:where(#faable_cookie_consent,#faable_cookie_consent *),dl:where(#faable_cookie_consent,#faable_cookie_consent *),figure:where(#faable_cookie_consent,#faable_cookie_consent *),h1:where(#faable_cookie_consent,#faable_cookie_consent *),h2:where(#faable_cookie_consent,#faable_cookie_consent *),h3:where(#faable_cookie_consent,#faable_cookie_consent *),h4:where(#faable_cookie_consent,#faable_cookie_consent *),h5:where(#faable_cookie_consent,#faable_cookie_consent *),h6:where(#faable_cookie_consent,#faable_cookie_consent *),hr:where(#faable_cookie_consent,#faable_cookie_consent *),p:where(#faable_cookie_consent,#faable_cookie_consent *),pre:where(#faable_cookie_consent,#faable_cookie_consent *){margin:0}fieldset:where(#faable_cookie_consent,#faable_cookie_consent *){margin:0;padding:0}legend:where(#faable_cookie_consent,#faable_cookie_consent *){padding:0}menu:where(#faable_cookie_consent,#faable_cookie_consent *),ol:where(#faable_cookie_consent,#faable_cookie_consent *),ul:where(#faable_cookie_consent,#faable_cookie_consent *){list-style:none;margin:0;padding:0}dialog:where(#faable_cookie_consent,#faable_cookie_consent *){padding:0}textarea:where(#faable_cookie_consent,#faable_cookie_consent *){resize:vertical}:where(#faable_cookie_consent,#faable_cookie_consent *) input::-moz-placeholder,:where(#faable_cookie_consent,#faable_cookie_consent *) textarea::-moz-placeholder{color:#9ca3af;opacity:1}:where(#faable_cookie_consent,#faable_cookie_consent *) input::placeholder,:where(#faable_cookie_consent,#faable_cookie_consent *) textarea::placeholder{color:#9ca3af;opacity:1}[role=button]:where(#faable_cookie_consent,#faable_cookie_consent *),button:where(#faable_cookie_consent,#faable_cookie_consent *){cursor:pointer}:disabled:where(#faable_cookie_consent,#faable_cookie_consent *){cursor:default}audio:where(#faable_cookie_consent,#faable_cookie_consent *),canvas:where(#faable_cookie_consent,#faable_cookie_consent *),embed:where(#faable_cookie_consent,#faable_cookie_consent *),iframe:where(#faable_cookie_consent,#faable_cookie_consent *),img:where(#faable_cookie_consent,#faable_cookie_consent *),object:where(#faable_cookie_consent,#faable_cookie_consent *),svg:where(#faable_cookie_consent,#faable_cookie_consent *),video:where(#faable_cookie_consent,#faable_cookie_consent *){display:block;vertical-align:middle}img:where(#faable_cookie_consent,#faable_cookie_consent *),video:where(#faable_cookie_consent,#faable_cookie_consent *){height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])):where(#faable_cookie_consent,#faable_cookie_consent *){display:none}#faable_cookie_consent .cookies-fixed{position:fixed}#faable_cookie_consent .cookies-absolute{position:absolute}#faable_cookie_consent .cookies-relative{position:relative}#faable_cookie_consent .cookies-inset-0{inset:0}#faable_cookie_consent .cookies-bottom-0{bottom:0}#faable_cookie_consent .cookies-left-0{left:0}#faable_cookie_consent .cookies-right-0{right:0}#faable_cookie_consent .cookies-z-40{z-index:40}#faable_cookie_consent .cookies-z-50{z-index:50}#faable_cookie_consent .cookies-ml-auto{margin-left:auto}#faable_cookie_consent .cookies-flex{display:flex}#faable_cookie_consent .cookies-grid{display:grid}#faable_cookie_consent .cookies-h-10{height:2.5rem}#faable_cookie_consent .cookies-h-11{height:2.75rem}#faable_cookie_consent .cookies-h-5{height:1.25rem}#faable_cookie_consent .cookies-h-full{height:100%}#faable_cookie_consent .cookies-max-h-\\[85dvh\\]{max-height:85dvh}#faable_cookie_consent .cookies-min-h-0{min-height:0}#faable_cookie_consent .cookies-w-10{width:2.5rem}#faable_cookie_consent .cookies-w-5{width:1.25rem}#faable_cookie_consent .cookies-w-full{width:100%}#faable_cookie_consent .cookies-max-w-\\[75em\\]{max-width:75em}#faable_cookie_consent .cookies-flex-1{flex:1 1 0%}#faable_cookie_consent .cookies-shrink-0{flex-shrink:0}@keyframes cookies-spin{to{transform:rotate(1turn)}}#faable_cookie_consent .cookies-animate-spin{animation:cookies-spin 1s linear infinite}#faable_cookie_consent .cookies-cursor-pointer{cursor:pointer}#faable_cookie_consent .cookies-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#faable_cookie_consent .cookies-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}#faable_cookie_consent .cookies-flex-col{flex-direction:column}#faable_cookie_consent .cookies-items-center{align-items:center}#faable_cookie_consent .cookies-justify-center{justify-content:center}#faable_cookie_consent .cookies-justify-between{justify-content:space-between}#faable_cookie_consent .cookies-gap-2{gap:.5rem}#faable_cookie_consent .cookies-gap-3{gap:.75rem}#faable_cookie_consent .cookies-gap-4{gap:1rem}#faable_cookie_consent :is(.cookies-divide-y>:not([hidden])~:not([hidden])){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}#faable_cookie_consent .cookies-overflow-hidden{overflow:hidden}#faable_cookie_consent .cookies-overflow-y-auto{overflow-y:auto}#faable_cookie_consent .cookies-overscroll-contain{overscroll-behavior:contain}#faable_cookie_consent .cookies-rounded-full{border-radius:9999px}#faable_cookie_consent .cookies-rounded-sm{border-radius:.125rem}#faable_cookie_consent .cookies-rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}#faable_cookie_consent .cookies-border{border-width:1px}#faable_cookie_consent .cookies-border-0{border-width:0}#faable_cookie_consent .cookies-border-2{border-width:2px}#faable_cookie_consent .cookies-border-4{border-width:4px}#faable_cookie_consent .cookies-border-b{border-bottom-width:1px}#faable_cookie_consent .cookies-border-solid{border-style:solid}#faable_cookie_consent .cookies-border-blue-700{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity,1))}#faable_cookie_consent .cookies-border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity,1))}#faable_cookie_consent .cookies-border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}#faable_cookie_consent .cookies-border-t-gray-800{--tw-border-opacity:1;border-top-color:rgb(31 41 55/var(--tw-border-opacity,1))}#faable_cookie_consent .cookies-bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}#faable_cookie_consent .cookies-bg-blue-700{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}#faable_cookie_consent .cookies-bg-transparent{background-color:transparent}#faable_cookie_consent .cookies-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}#faable_cookie_consent .cookies-bg-opacity-40{--tw-bg-opacity:0.4}#faable_cookie_consent .cookies-p-0\\.5{padding:.125rem}#faable_cookie_consent .cookies-p-5{padding:1.25rem}#faable_cookie_consent .cookies-px-2{padding-left:.5rem;padding-right:.5rem}#faable_cookie_consent .cookies-px-4{padding-left:1rem;padding-right:1rem}#faable_cookie_consent .cookies-py-2{padding-bottom:.5rem;padding-top:.5rem}#faable_cookie_consent .cookies-pb-3{padding-bottom:.75rem}#faable_cookie_consent .cookies-pb-4{padding-bottom:1rem}#faable_cookie_consent .cookies-pb-5{padding-bottom:1.25rem}#faable_cookie_consent .cookies-pb-\\[env\\(safe-area-inset-bottom\\)\\]{padding-bottom:env(safe-area-inset-bottom)}#faable_cookie_consent .cookies-pb-\\[max\\(1\\.25rem\\,env\\(safe-area-inset-bottom\\)\\)\\]{padding-bottom:max(1.25rem,env(safe-area-inset-bottom))}#faable_cookie_consent .cookies-pt-\\[max\\(1rem\\,env\\(safe-area-inset-top\\)\\)\\]{padding-top:max(1rem,env(safe-area-inset-top))}#faable_cookie_consent .cookies-font-base{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}#faable_cookie_consent .cookies-text-base{font-size:1rem;line-height:1.5rem}#faable_cookie_consent .cookies-text-sm{font-size:.875rem;line-height:1.25rem}#faable_cookie_consent .cookies-text-xl{font-size:1.25rem;line-height:1.75rem}#faable_cookie_consent .cookies-text-xs{font-size:.75rem;line-height:1rem}#faable_cookie_consent .cookies-font-bold{font-weight:700}#faable_cookie_consent .cookies-font-extralight{font-weight:200}#faable_cookie_consent .cookies-font-medium{font-weight:500}#faable_cookie_consent .cookies-leading-relaxed{line-height:1.625}#faable_cookie_consent .cookies-tracking-wide{letter-spacing:.025em}#faable_cookie_consent .cookies-text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}#faable_cookie_consent .cookies-text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}#faable_cookie_consent .cookies-text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}#faable_cookie_consent .cookies-text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}#faable_cookie_consent .cookies-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}#faable_cookie_consent .cookies-accent-blue-700{accent-color:#1d4ed8}#faable_cookie_consent .cookies-opacity-0{opacity:0}#faable_cookie_consent .cookies-opacity-100{opacity:1}#faable_cookie_consent .cookies-shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}#faable_cookie_consent .cookies-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}#faable_cookie_consent .cookies-duration-300{transition-duration:.3s}:host{all:initial}.faable-consent-edit,.faable-opendoc{cursor:pointer}.faable-consent-edit:hover,.faable-opendoc:hover{text-decoration:underline}#faable_cookie_consent .hover\\:cookies-border-blue-500:hover{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity,1))}#faable_cookie_consent .hover\\:cookies-bg-blue-50:hover{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}#faable_cookie_consent .hover\\:cookies-bg-blue-500:hover{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}#faable_cookie_consent .hover\\:cookies-text-blue-500:hover{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}@media (min-width:640px){#faable_cookie_consent .sm\\:cookies-bottom-5{bottom:1.25rem}#faable_cookie_consent .sm\\:cookies-left-5{left:1.25rem}#faable_cookie_consent .sm\\:cookies-right-auto{right:auto}#faable_cookie_consent .sm\\:cookies-h-12{height:3rem}#faable_cookie_consent .sm\\:cookies-h-\\[90\\%\\]{height:90%}#faable_cookie_consent .sm\\:cookies-w-\\[90\\%\\]{width:90%}#faable_cookie_consent .sm\\:cookies-max-w-\\[560px\\]{max-width:560px}#faable_cookie_consent .sm\\:cookies-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}#faable_cookie_consent .sm\\:cookies-rounded-lg{border-radius:.5rem}#faable_cookie_consent .sm\\:cookies-rounded-md{border-radius:.375rem}#faable_cookie_consent .sm\\:cookies-pb-5{padding-bottom:1.25rem}#faable_cookie_consent .sm\\:cookies-pt-4{padding-top:1rem}#faable_cookie_consent .sm\\:cookies-text-base{font-size:1rem;line-height:1.5rem}#faable_cookie_consent .sm\\:cookies-text-sm{font-size:.875rem;line-height:1.25rem}#faable_cookie_consent .sm\\:cookies-shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}}@media (prefers-color-scheme:dark){#faable_cookie_consent .dark\\:cookies-border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}#faable_cookie_consent .dark\\:cookies-border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}#faable_cookie_consent .dark\\:cookies-border-t-gray-200{--tw-border-opacity:1;border-top-color:rgb(229 231 235/var(--tw-border-opacity,1))}#faable_cookie_consent .dark\\:cookies-bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}#faable_cookie_consent .dark\\:cookies-text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity,1))}#faable_cookie_consent .dark\\:cookies-text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}#faable_cookie_consent .dark\\:cookies-text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}}#faable_cookie_consent :is(.\\[\\&\\>a\\]\\:cookies-underline>a){text-decoration-line:underline}',this.root.appendChild(t)}var n=this.root.querySelector("div[data-faable-mount]");if(n||((n=vt.createElement("div")).setAttribute("data-faable-mount",""),this.root.appendChild(n)),this.mount=n,!vt.head.querySelector("style[data-faable-cookies-host]")){var i=vt.createElement("style");i.setAttribute("data-faable-cookies-host",""),i.textContent=".faable-consent-edit,.faable-opendoc{cursor:pointer}.faable-consent-edit:hover,.faable-opendoc:hover{text-decoration:underline}",vt.head.appendChild(i)}},e.prototype._dom_loaded=function(){return o(this,void 0,void 0,function(){return t(this,function(e){return this.initContainer(),this.setupHandlers(),qo.load(),qo.answered?Ko.emit("consent.loaded"):"regulated_only"===$o.config.geo_mode&&(qo.setGeoPending(!0),Fo("".concat($o.config.api_host,"/geo")).then(function(e){!e||$o.config.geo_consent_countries.includes(e)||qo.answered||ot({analytics:!0,marketing:!0},"consent.auto_accept"),qo.setGeoPending(!1)})),function(e,o){try{if("undefined"!=typeof BroadcastChannel){var t=et(e),n=function(e){var t;(null===(t=e.data)||void 0===t?void 0:t.categories)&&o(e.data.categories)};return t.addEventListener("message",n),function(){return t.removeEventListener("message",n)}}if("undefined"!=typeof window){var i=function(t){if(t.key===Qo(e)&&t.newValue)try{var n=JSON.parse(t.newValue);(null==n?void 0:n.categories)&&o(n.categories)}catch(e){}};return window.addEventListener("storage",i),function(){return window.removeEventListener("storage",i)}}}catch(e){}}($o.config.cookie_name,function(e){qo.answer(e),Ko.emit("consent.loaded")}),function(e){var o,t,n;if(void 0===e&&(e="auto"),Array.isArray(e)){var i=e.map(eo).filter(function(e){return!!e}),r=eo(Xe());Qe=r&&i.includes(r)?r:null!==(o=i[0])&&void 0!==o?o:Ke}else Qe="auto"!==e?null!==(n=eo(e))&&void 0!==n?n:Ke:null!==(t=eo(Xe()))&&void 0!==t?t:Ke}($o.config.language),Ge.createRoot(this.mount).render(Be(We,{children:Be(St,{})})),[2]})})},e.prototype.setupHandlers=function(){var e,o=this,t=function(e){var o,t=e.target;if(t&&"function"==typeof t.closest){var n=t.closest(".faable-opendoc");n&&ht.openDocument(null!==(o=n.getAttribute("data-doc"))&&void 0!==o?o:void 0),t.closest(".faable-consent-edit")&&qo.edit()}};return vt.addEventListener("click",t),null===(e=this.root)||void 0===e||e.addEventListener("click",t),function(){var e;vt.removeEventListener("click",t),null===(e=o.root)||void 0===e||e.removeEventListener("click",t)}},e.prototype._execute_array=function(e){var o,t=this,n=[],i=[],r=[];(e||[]).forEach(function(e){e&&(o=e[0],Ct(o)?r.push(e):Ot(e)?e.call(t):Ct(e)&&"alias"===o?n.push(e):Ct(e)&&-1!==o.indexOf("capture")&&Ot(t[o])?r.push(e):i.push(e))});var a=function(e,o){e.forEach(function(e){if(Ct(e[0])){var t=o;e.forEach(function(e){t=t[e[0]].apply(t,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))}.bind(o))};a(n,this),a(i,this),a(r,this)},e}(),jt={},zt="faablecookies";tt=jt[zt]=new Et,(nt=yt.faablecookies)&&(nt._i||[]).forEach(function(e){if(e&&Array.isArray(e)){var o=tt.init(e[0],e[1],e[2]),t=nt[e[2]]||nt;o&&o._execute_array(t)}}),yt.faablecookies=tt,function(){function e(){e.done||(e.done=!0,Object.values(jt).forEach(function(e){e._dom_loaded()}))}var o,t,n,i,r,a,c,s,l;(null==vt?void 0:vt.addEventListener)?"complete"===vt.readyState||"interactive"===vt.readyState?e():(o=vt,t="DOMContentLoaded",n=e,a=(r=null!=(i={capture:!1})?i:{}).capture,c=void 0!==a&&a,s=r.passive,l=void 0===s||s,null==o||o.addEventListener(t,n,{capture:c,passive:l})):bt&&console.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}()}();