(()=>{"use strict";var e={2157:(e,t,n)=>{n.d(t,{Fs:()=>l,KS:()=>o,Li:()=>p,Lp:()=>i,a3:()=>r,bd:()=>u,p7:()=>c,qc:()=>d,rO:()=>a});var s=n(9083);const r="necessary",o="performance",i="functional",a="advertising",c="unclassified",l="iab_purposes",u=[r,o,i,a],d=Object.freeze({}),p=(Object.freeze({[r]:s.uX,[o]:s.uX,[i]:s.uX,[a]:s.uX}),Object.freeze({[r]:s.uX,[o]:s.Dv,[i]:s.Dv,[a]:s.Dv}))},3867:(e,t,n)=>{n.d(t,{h5:()=>s,ie:()=>o,np:()=>r});const s=["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"],r=["IS","NO","CH","GB"],o=["US","CA"]},4327:(e,t,n)=>{n.d(t,{BK:()=>o,X6:()=>r,uI:()=>s});const s=document,r=window,o=s.head},6525:(e,t,n)=>{n.d(t,{Ae:()=>g,Aw:()=>o,HV:()=>c,Hf:()=>m,KL:()=>i,L_:()=>y,Uz:()=>a,XU:()=>f,ZG:()=>p,aL:()=>v,fB:()=>b,o9:()=>u,qx:()=>h,rC:()=>_,t4:()=>l,zc:()=>d});var s=n(2353);const r=n(2157).bd.join(", ").toLowerCase(),o=s.f2+" Missing API key.",i=s.f2+" Failed to load configs, check API key",a=s.f2+" Can't toggle panel in stealth mode",c=s.f2+" new consent must be an object",l=s.f2+" Unrecognized category, not one of: "+r,u=s.f2+" Unrecognized service key.",d=s.f2+" Unrecognized banner type.",p=s.f2+" useContext outside provider",h=s.f2+" Failed to load cookies",f=s.f2+" Failed to send bulk consent message",g=s.f2+" Missing Global Vendor List. There is a chance it was still loading. You can check if it exist using: publicAPI > TCFgvl",_=s.f2+" Missing Google Ad Technology Providers List (GATP). There is a chance it was still loading. You can check if it exist using: publicAPI > TCFgatp",v=`${s.f2} TCF category with switch is missing IAB LIB name`,m=`${s.f2} TCF category with switch is missing IAB LIB legitimate interest name`,y=`${s.f2} Couldn't update categories. Wrong structure of passed data. To update multiple categories expected structure is this: [[categoryName, id], [categoryName, id]]`,b=`${s.f2} Couldn't update category. Wrong structure of passed data. To update single category expected structure is this: [categoryName, id]`},5545:(e,t,n)=>{n.d(t,{N:()=>s,V:()=>r});const s=0,r=1},9083:(e,t,n)=>{n.d(t,{Dv:()=>o,QV:()=>s,i_:()=>i,qh:()=>a,uX:()=>r});const s=null,r=!0,o=!1,i=void 0,a="undefined"},544:(e,t,n)=>{n.d(t,{i:()=>s,z:()=>r});const s=86400,r=365*s},9424:(e,t,n)=>{n.d(t,{G:()=>o});var s=n(3987),r=n(9083);const o=(0,s.kr)(r.i_)},6996:(e,t,n)=>{n.d(t,{p:()=>f});var s=n(2157),r=n(9083),o=n(6525),i=n(7086),a=n(3116),c=n(3825),l=n(1394),u=n(3018),d=n(9264),p=n(7067),h=n(8217);const f=e=>{const t=e,n=t.consent,f=e.widgetConfig,g=!!e.stealthMode,_=!!n.hasConsented;let v=r.QV,m={};if(_){const e=n.userConsent,t=(0,l.Z)(e,f),s=(0,u.Z)(e,f);v=t,m=s}const y=n.consentTimestamp,b=n.visitorId,C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(0,d.Z)(e)?e:[e];if(!t.every((e=>(0,h.Z)(s.bd,e))))throw new Error(o.t4);return t},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=f.scripts.map((e=>e.consent_key)),n=(0,d.Z)(e)?e:[e];if(!n.every((e=>(0,h.Z)(t,e))))throw new Error(o.o9);return n},w=()=>n.deny(),Z=()=>w();return{stealthMode:g,hasConsented:_,consent:v,acceptedServices:m,consentTimestamp:y,visitorId:b,openPanel(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.bl;t.setPanelTab(e)},closePanel(){t.setPanelTab(r.QV)},updateConsent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(0,p.Z)(e))throw new Error(o.HV);return n.handleConsent(e)},acceptCategory(e){const t=C(e);return n.acceptCategories(t)},declineCategory(e){const t=C(e);return v?n.declineCategories(t):Z()},acceptService(e){const t=E(e);return n.acceptServices(t)},declineService(e){const t=E(e);return v?n.declineServices(t):Z()},acceptAllCategories:n.acceptAll,acceptPreselectedCategories:n.acceptDefault,deny:w,declineAllCategories:Z,withdrawConsent:n.handleWithdraw,fetchLatestScan:t.fetchLatestScan,renderEmbeds(){(0,c.Z)()},notifyViewChanged(){(0,a.ZP)(v||s.qc,_,f),(0,c.Z)()},changeLanguage:t.setUserLang}}},3672:(e,t,n)=>{n.d(t,{A:()=>r,Z:()=>o});var s=n(9083);const r=(0,n(3987).kr)(s.QV),o=r},9475:(e,t,n)=>{n.d(t,{$:()=>s,Z:()=>r});const s=(0,n(3987).kr)(void 0),r=s},2353:(e,t,n)=>{n.d(t,{AV:()=>r,BX:()=>g,Bs:()=>c,Ep:()=>b,HB:()=>i,Ji:()=>w,MZ:()=>y,OH:()=>L,Q8:()=>m,QO:()=>v,T5:()=>s,W$:()=>E,Ys:()=>_,eR:()=>u,ee:()=>h,f2:()=>Z,fx:()=>S,iT:()=>p,o$:()=>l,sT:()=>C,ud:()=>o,wf:()=>d,xC:()=>a,xl:()=>f});const s="https://api.cookiefirst.com/prod",r="https://edge.cookiefirst.com/prod",o="https://consent.cookiefirst.com",i=`${r}/location`,a="data-cookiefirst",c="cookiefirst",l="cf",u=`${a}-accent-color`,d=`${a}-corner-style`,p=`${a}-outline-accent-color`,h=`${a}-bg-color`,f=`${a}-widget`,g=`${a}-button`,_=`${a}-action`,v=`${a}-category`,m="cookiefirst-consent",y="cookiefirst-id",b="cf-user-lang",C="cf-user-tcstring",E="CookieFirst",w="2.15.0",Z="[CF]",L="cf",S="WITHDRAW"},7108:(e,t,n)=>{n.d(t,{default:()=>o});var s=n(2353),r=n(9083);const o=new class{constructor(){this.apiKey="",this.dir=r.QV,this.wildcardDir=r.QV,this.dataLayer="dataLayer",this.stealthMode=r.Dv,this.forcedLang=r.QV,this.silentMode=r.uX,this.debugMode=r.Dv,this.staticFilesUrl=s.ud||""}set(e,t){this[e]=t}}},8042:(e,t,n)=>{n.d(t,{Z:()=>c});var s=n(2353),r=n(1733);class o extends Error{constructor(e,t){super(e),this.body=void 0,this.body=t}}const i=o;var a=n(2662);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.Z)(((n,o)=>{const a=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(new i(`${s.f2} Request to ${e} failed: ${t}`,n))};fetch(e,t).then((e=>{if(!e.ok)return e.status?422===e.status?void e.json().then((t=>{a(e.status,t)})).catch((t=>a(e.status))):void a(e.status):void a("");const t={},s=(0,r.Z)(e.headers||{});for(let n=s.length-1;n>=0;n--){const r=s[n];t[r.toLowerCase()]=e.headers[r]}n([e,t])}),(e=>a(e.message)))}))}},8576:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(8042),r=n(2662);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.Z)(((n,r)=>{(0,s.Z)(e,{...t,headers:{...t.headers||{},Accept:"application/json"}}).then((e=>{let[t,s]=e;t.json().then((e=>n([e,s])),r)}),r)}))}},437:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(2353),r=n(63),o=n(5426),i=n(9083);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.QV;(0,o.Z)(s.Q8,e),(0,r.Z)(s.Q8)}},5144:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9083),r=n(544),o=n(6007);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.z;if("number"!==typeof e)return s.Dv;return(0,o.Z)()-e>=t}},2520:(e,t,n)=>{n.d(t,{Z:()=>c});var s=n(5304),r=n(9083),o=n(2157),i=n(5820),a=n(8217);const c=(e,t,n,c)=>{if(e===o.a3)return r.uX;if(n===s.Gc&&c){const s=c.filter((t=>(0,a.Z)(t.categories,e)));if(!s.length)return r.Dv;return s.filter((e=>(0,i.Z)(e,t,n))).length===s.length}return n===s.hs?!!t[e]:r.Dv}},5820:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(5304),r=n(2157),o=n(9083),i=n(8217);const a=(e,t,n)=>{const{consent_key:a,categories:c}=e;return(0,i.Z)(c,r.a3)?o.uX:n===s.Gc?!!t[a]:c.every((e=>!!t[e]))}},9094:(e,t,n)=>{n.d(t,{Z:()=>f});var s=n(5304),r=n(2353),o=n(9083),i=n(6639),a=n(9368),c=n(8915),l=n(1733),u=n(7432),d=n(8217),p=n(63);const h=e=>{const t=(0,l.Z)(e).reduce(((t,n)=>(0,d.Z)(["version","timestamp","type"],n)?t:{...t,[n]:!!e[n]}),{});let n=s.LV;return(0,d.Z)([s.LV,s.an],e.type||"")&&(n=e.type),[{...t,version:e.version},parseInt(e.timestamp||"0"),n]},f=()=>{const e=(()=>{const e=(0,a.Z)(r.Q8);if(!e)return o.QV;if(e===r.fx)return{value:e};try{return JSON.parse(decodeURIComponent(e))}catch(t){return(0,i.OM)("Failed to decode local consent cookie:"),(0,u.Z)(t),o.QV}})();if(e)return e.value===r.fx?((0,p.Z)(r.Q8),o.QV):h(e);const t=(0,c.Z)(r.Q8,o.QV);return t?h(t):o.QV}},1394:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(2157),r=n(2520);const o=(e,t)=>s.bd.reduce(((n,s)=>(n[s]=(0,r.Z)(s,e,t.consentPolicy,t.scripts),n)),{...s.Li})},3018:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(2157),r=n(5820);const o=(e,t)=>t.scripts.reduce(((n,s)=>({...n,[s.consent_key]:(0,r.Z)(s,e,t.consentPolicy)})),{...s.qc})},4348:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(9083);const r=(e,t)=>{if(!t||"number"!==typeof t)return s.Dv;const n=parseInt(e);return e&&!isNaN(n)&&n>=t?s.Dv:s.uX}},1250:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(9083),r=n(3867),o=n(5006),i=n(8217);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if((0,o.Z)())return s.uX;const{bannerNonEuCountries:a,bannerNonEuRegions:c,hideOutsideEU:l}=e;if(l&&t){let e=[...r.h5,...a];if(n&&(e=[...e,...r.ie]),!(0,i.Z)(e,t))return s.uX;if(t&&n&&(0,i.Z)(r.ie,t)&&!(0,i.Z)(c,`${t}-${n}`))return s.uX}return s.Dv}},9356:(e,t,n)=>{n.r(t),n.d(t,{getAutoblockInstance:()=>C});const s="javascript/blocked",r="application/javascript";var o=n(9083),i=n(4327),a=n(2353),c=n(6048),l=n(6639),u=n(6828),d=n(8060),p=n(8217),h=n(5992),f=n(5173);const g="beforescriptexecute",_=document.createElement.bind(document),v=e=>Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,e),m=v("src"),y=v("type");let b=o.QV;const C=function(){if(b)return b;const e=[];let t=[],n=null;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((e=>{(0,d.Z)(e)?t.push(new RegExp(e)):t.push(e)}));const v=(e,n)=>{const r=!!e&&(!n||n!==s)&&t.some((t=>t.test(e)));return(0,l.f1)("isBlocked",r,{src:e,type:n}),r},C=e=>{const n=e.src,s=!!n&&t.every((e=>!e.test(n)));return(0,l.f1)("notOnBlacklist",s,{src:n}),s},E=()=>{document.createElement=function(){for(var e=arguments.length,t=new Array(e),n=0;n{(0,l.f1)("init"),E(),n=new MutationObserver((t=>{for(const n of t)for(const t of n.addedNodes){if(1!==t.nodeType||"SCRIPT"!==t.tagName||!(t instanceof HTMLScriptElement))continue;(0,l.f1)("observer check");const n=t.src,r=t.type;if(v(n,r)){e.push([t,t.type]),t.type=s;const n=function(e){t.getAttribute("type")===s&&((0,l.f1)("prevent execution"),(0,f.Z)(e,o.uX)),(0,u.Z)(t,g,n)};(0,c.Z)(t,g,n),t.parentElement&&((0,l.f1)("remove node"),t.parentElement.removeChild(t))}}})),n.observe(document.documentElement,{childList:o.uX,subtree:o.uX})},unblock:a=>{(0,l.f1)("unblock",a),t.length&&(t=t.filter((e=>a.every((t=>(0,d.Z)(t)?!e.test(t):t instanceof RegExp?e.toString()!==t.toString():o.Dv)))));const c=document.querySelectorAll(`script[type="${s}"]`);for(const t of c)C(t)&&(e.push([t,r]),t.parentElement&&t.parentElement.removeChild(t));let u=0;[...e].forEach(((t,n)=>{let[s,o]=t;if(C(s)){const t=(0,h.Z)("script");for(let e=0;e{n.r(t),n.d(t,{getAutoblockInstance:()=>s.getAutoblockInstance});var s=n(9356)},7299:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(6639),r=n(5982);const o=e=>{const t=(0,r.getAutoblockInstance)(),n=e.autoblock;n&&((0,s.f1)("execute",e),t.unblock(n.urls))}},2662:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>new Promise(e)},5426:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(5545),r=n(7234);const o=(e,t)=>(0,r.Z)(e,"",s.N,t)},63:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(6225);const r=e=>{const t=(0,s.Z)();e&&t&&t.removeItem(e)}},3392:(e,t,n)=>{n.d(t,{Z:()=>u});var s=n(2353),r=n(4327),o=n(6639),i=n(7179),a=n(7108),c=n(9264);const l=`${s.OH}_init`,u=()=>{(0,o.cl)("Init"),(0,i.Z)(l);const{dataLayer:e}=a.default,t=r.X6[e];(0,c.Z)(t)&&t.push({event:l})}},5383:(e,t,n)=>{n.d(t,{W1:()=>l,ZP:()=>d});var s=n(2353),r=n(9083),o=n(4853),i=n(7179),a=n(1394),c=n(3018);const l=`${s.OH}_consent`,u=`${s.OH}_services_consent`,d=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;const s=t?(0,a.Z)(e,n):r.QV,d=t?(0,c.Z)(e,n):r.QV;(0,i.Z)(l,s),(0,i.Z)(u,d),(0,o.ZP)(e,t,n)}},3116:(e,t,n)=>{n.d(t,{ZP:()=>g});var s=n(9083),r=n(2353),o=n(4853),i=n(7179),a=n(1394),c=n(3018),l=n(4327),u=n(7108),d=n(9264);const p=()=>{if(!l.X6.google_tag_data)return void console.warn("No Consent Mode data found");const e=e=>void 0===e?"":e?"granted":"denied",t=e=>"granted"===e?"color: #0C0":"color: #C00",n=l.X6.google_tag_data,s="ics"in n?n.ics.entries:null;let r="",o="";for(const i in s){if(r=e(s[i].default),o=e(s[i].update),""===r&&""===o)continue;const n=`\t${i}:\n ${""!==r?"\n\t\tDefault: %c"+r:"%c"}%c\n ${""!==o?"\n\t\tUpdate: %c"+o:"%c"}`;console.log(n,""!==r?t(r):"","",""!==o?t(o):"","")}""===r&&console.log("No default Consent settings found");n.ics.wasSetLate?console.error("%cYour Consent Mode issue: %cA tag read consent before a Default was set. At least one of your Google Tags fired before the Consent Mode defaults were set. Read more: https://developers.google.com/tag-platform/security/guides/consent-debugging#default-consent or issue a support ticket to CookieFirst.","color: red; font-weight: bold;","color: red;"):console.log("%cConsent Mode defaults are correctly set in time.","color: green;")},h=`${r.OH}_consent_loaded`,f=`${r.OH}_services_consent_loaded`,g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Dv,n=arguments.length>2?arguments[2]:void 0;const g=t?(0,a.Z)(e,n):s.QV,_=t?(0,c.Z)(e,n):s.QV;(0,i.Z)(h,g),(0,i.Z)(f,_);const{dataLayer:v,debugMode:m}=u.default,y=l.X6[v];!n.tcfEnabled||(0,d.Z)(y)&&y.some((e=>e.event===`${r.OH}_tcf_init`))?((0,o.ZP)(e,t,n),m&&p()):l.X6.addEventListener(`${r.OH}_tcf_init`,(()=>{(0,o.ZP)(e,t,n),m&&p()}))}},4853:(e,t,n)=>{n.d(t,{ZP:()=>y});var s=n(2157),r=n(2353),o=n(5383),i=n(9083),a=n(1873),c=n(4327),l=n(6639),u=n(7108),d=n(1394),p=n(3018),h=n(5006);const f=[s.a3,s.rO,s.KS,s.Lp],g=[],_="granted",v="denied",m=`${r.OH}_after_consent_update`;c.X6.addCFGTMConsentListener=e=>{g.push(e)};const y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Dv,n=arguments.length>2?arguments[2]:void 0;const{dataLayer:y}=u.default;(0,l.cl)({dl:c.X6[y],gtag:c.X6.gtag}),c.X6[y]=c.X6[y]||[],"function"!==typeof c.X6.gtag&&(c.X6.gtag=function(){c.X6[y].push(arguments)});const b=c.X6[y],C=c.X6.gtag,E=(0,d.Z)(e,n),w=(0,p.Z)(e,n);if(n.googleConsentModeEnabled)if(0===g.length){if(t&&!n.disableGCMUpdateEvents||(0,h.Z)()){C("consent","update",{security_storage:_,analytics_storage:E[s.KS]?_:v,functionality_storage:E[s.Lp]?_:v,ad_storage:E[s.rO]?_:v,ad_personalization:E[s.rO]?_:v,ad_user_data:E[s.rO]?_:v,personalization_storage:E[s.Lp]?_:v})}(t||E[s.rO])&&C("set","ads_data_redaction",!E[s.rO])}else g.forEach((e=>{e(E)}));const Z=b.reduce(((e,t)=>({...e,...t})),{}),L=(e,t)=>{const n=`${r.OH}_${e}_enabled`;Z[n]!==t&&b.push({event:`${o.W1}_${e}`,[n]:t})};n.scripts.filter((e=>e.integration===a.I$)).forEach((e=>{const t=e.consent_key;L(t,!!w[t])})),f.forEach((e=>L(e,!!E[e]))),b.push({event:m})}},7179:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(4327);const r=(e,t)=>{s.X6.dispatchEvent(new CustomEvent(e,{detail:t}))}},3825:(e,t,n)=>{n.d(t,{W:()=>o,Z:()=>i});var s=n(2353),r=n(7179);const o=`${s.OH}_render_embeds`,i=()=>{(0,r.Z)(o)}},6048:(e,t,n)=>{n.d(t,{Z:()=>s});const s=function(e,t,n,s){e.addEventListener(t,n,s)}},5992:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(4327);const r=function(e,t){return s.uI.createElement(e,t)}},6828:(e,t,n)=>{n.d(t,{Z:()=>s});const s=function(e,t,n,s){e.removeEventListener(t,n,s)}},7657:(e,t,n)=>{n.d(t,{Z:()=>u});var s=n(6525),r=n(8576),o=n(7108),i=n(2353),a=n(9806),c=n(2662);const l={},u=(e,t)=>{const{apiKey:n}=o.default;return(0,c.Z)(((o,c)=>{if(!e)return c(new Error(s.qx));if(l[e])return o(l[e]);const u=(0,a.Z)({api_key:n,lang:e,version:t||Date.now().toString(),origin:window.location.hostname});(0,r.Z)(`${i.AV}/site-cookies?${u}`).then((t=>{let[n]=t;return l[e]||(l[e]={...n,cookies:n.cookies||[],cookie_policy_updated_at:n.cookie_policy_updated_at||"",cookie_list_updated_at:n.cookie_list_updated_at||""}),o(l[e])})).catch(c)}))}},4948:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(9083),r=n(7067);const o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.QV,o=e;const i=t.split(".");for(let s=0;s{n.d(t,{Z:()=>i});var s=n(9083),r=n(4327),o=n(7432);const i=e=>{const t=e+"=";try{const e=r.uI.cookie.split(";");for(let n=0;n{n.d(t,{Z:()=>r});const s="__storage_test__",r=()=>{try{const e=window.localStorage;return e?(e.setItem(s,s),e.removeItem(s),e):null}catch(e){return null}}},8915:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9083),r=n(6225),o=n(7432);const i=function(e,t){const n=(0,r.Z)();try{if(!n)return t;const r=n.getItem(e);if(r===s.QV)return t;try{return JSON.parse(r)}catch(i){return(0,o.Z)(i),t}}catch(i){return(0,o.Z)(i),t}}},2446:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9083),r=n(2353),o=n(1511);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.QV;const n=(0,o.Z)(e,"/").replace("//","/");return`${r.ud}/${n}${t?`?v=${t}`:""}`}},5491:(e,t,n)=>{n.d(t,{Nq:()=>r,ZP:()=>o});var s=n(8217);const r="ltr",o=e=>(0,s.Z)(["ar","he"],e)?"rtl":r},6007:(e,t,n)=>{n.d(t,{Z:()=>s});const s=()=>Math.round(Date.now()/1e3)},8217:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9083),r=n(9264),o=n(8060);const i=(e,t)=>(0,r.Z)(e)||(0,o.Z)(e)?e.includes(t):s.Dv},9969:(e,t,n)=>{n.d(t,{B:()=>_});var s=n(2157),r=n(7086),o=n(5304),i=n(9083),a=n(3867),c=n(1873),l=n(544),u=n(4948),d=n(9264),p=n(8060),h=n(7067),f=n(8217);const g=["CA","QC"],_=e=>{let t=(0,h.Z)(e)?e:{};const n=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.QV;return(0,u.Z)(t,e,n)},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const s=n(e)||t;return(0,d.Z)(s)?s:t},v=e=>!!n(e,i.Dv),m=n("consentPolicy")||o.hs,y=m===o.Gc,b=_("scripts").map((e=>({...e,integration:e.integration||c.yj})));return{lastConsentReset:n("lastConsentReset",i.QV)||i.QV,additionalLink:n("additionalLink","")||"",type:n("widget.type",r.nv)||r.nv,buttonsOrder:_("widget.buttonsOrder"),version:n("version"),get location(){const e=n("widget.location"),t=r.gK[this.type];return(0,f.Z)(t,e)?e:t[0]},get bulkConsent(){const e=n("bulkConsent")||{};return{id:(0,u.Z)(e,"id"),group:(0,u.Z)(e,"group",""),domains:(0,u.Z)(e,"domains",[])||[],iframeUrl:(0,u.Z)(e,"iframeUrl"),baseDomain:(0,u.Z)(e,"baseDomain")}},consentPolicy:m,isGranularPolicy:y,privacyPolicyUrl:n("privacyPolicyUrl"),showPrivacyUrlInBanner:v("showPrivacyUrlInBanner"),hideOutsideEU:v("hideOutsideEU"),showSuffixOnFirstLayer:v("showSuffixOnFirstLayer"),showNumberOfScriptsInBanner:v("showNumberOfScriptsInBanner"),get tabsOnSettingsPanel(){const e=_("tabsOnSettingsPanel");let t=[];return t=e||[r.bl,r.Y4,n("hideCookiePolicy")?"":r.YI],(0,f.Z)(t,r.bl)||t.unshift(r.bl),t.filter((e=>!!e&&(0,p.Z)(e)))},languages:_("languages"),showLanguageSwitcher:v("showLanguageSwitcher"),banner_continue_button_type:n("banner_continue_button_type")||r.mY,baseConsent:n("baseConsent"),preConsent:{...s.Li,...n("preConsent")||{}},scripts:b,cookieCategories:s.bd.filter((e=>{const t=_("cookieCategories");return(0,f.Z)(t,e)?y?!!b.find((t=>(0,f.Z)(t.categories,e))):i.uX:i.Dv})),whitelabel:{banner:v("whitelabel.banner"),panel:v("whitelabel.panel"),logoUrl:n("whitelabel.logoUrl",i.QV),linkUrl:n("whitelabel.linkUrl",i.QV)},loadInlineScripts:v("loadInlineScripts"),okAcceptsAll:v("okAcceptsAll"),googleConsentModeEnabled:v("googleConsentModeEnabled"),disableGCMUpdateEvents:v("disableGCMUpdateEvents"),enableFloatingButton:v("enableFloatingButton"),denyBtn:n("denyBtn","visible"),denyBtnSecond:n("denyBtnSecond")||n("denyBtn","visible"),get bannerToggles(){return v("bannerToggles")&&this.cookieCategories.length>1},backdropEnabled:v("backdropEnabled"),backdropColor:n("backdropColor"),fontFamily:n("widget.fontFamily",""),widget:n("widget",{type:r.nv,location:r.O8,fontFamily:"",buttonsOrder:[]}),reconsent:{after:n("reconsent.after"),check:n("reconsent.check"),categories:_("reconsent.categories")},get branding(){const e=!!n("branding");return{panel:{show:e?n("branding.panel.show",i.uX):!this.whitelabel.panel,url:n("branding.panel.url"),logo:n("branding.panel.logo"),label:n("branding.panel.label"),showLabel:v("branding.panel.showLabel")},banner:{show:e?n("branding.banner.show",i.uX):!this.whitelabel.banner,url:n("branding.banner.url"),logo:n("branding.banner.logo"),label:n("branding.banner.label"),showLabel:v("branding.banner.showLabel")}}},increaseLocationPrecision:v("increaseLocationPrecision"),get consentLifetime(){const e=n("consentLifetime");return e&&"number"===typeof e?e:l.z},consentType:y?o.an:o.LV,bannerNonEuCountries:_("bannerNonEuCountries",a.np),tcfEnabled:n("tcfEnabled",i.Dv),tcfLanguages:_("tcfLanguages"),tcfCountry:n("tcfCountry",""),tcfVendors:n("tcfVendors",[]),tcfGdprApplies:n("tcfGdprApplies",i.Dv),acEnabled:n("acEnabled",i.Dv),acVendors:n("acVendors",[]),gpcAndDntEnabled:v("gpcAndDntEnabled"),bannerNonEuRegions:_("bannerNonEuRegions",g),isUsingWildcard:n("isUsingWildcard",i.Dv),wildcardUrls:n("wildcardUrls",[])}}},9264:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>Array.isArray(e)},8987:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>"function"===typeof e},7067:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>!!e&&"object"===typeof e},5006:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(6639),r=n(8060),o=n(8217);const i=()=>{const e=navigator.userAgent,t=(0,r.Z)(e)&&(0,o.Z)(e,"CookieCheck");return t&&(0,s.cl)("is Scanner."),t}},8060:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>"string"===typeof e},5726:(e,t,n)=>{n.d(t,{Z:()=>u});var s=n(9083),r=n(2353),o=n(7108),i=n(7432),a=n(2662),c=n(8576);const l=(e,t)=>(0,a.Z)(((n,s)=>{(0,c.Z)(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(n,s)})),u=function(e,t,n){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.QV,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:s.QV,d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s.QV,p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:s.QV,h=arguments.length>7&&void 0!==arguments[7]?arguments[7]:s.QV,f=arguments.length>8&&void 0!==arguments[8]?arguments[8]:s.QV,g=arguments.length>9&&void 0!==arguments[9]?arguments[9]:s.QV;const{apiKey:_}=o.default;return(0,a.Z)(((o,a)=>{if(!r.T5||!_)return o(s.QV);l(`${r.T5}/consent`,{preferences:e,apiKey:_,action:t,visitor_id:n||"",config_version:c,visitor_country:u||s.QV,visitor_region:d||s.QV,consent_policy:p||s.QV,granular_metadata:h||s.QV,url:window.location.href,tcstring:f,acstring:g}).then((e=>{let[t]=e;o(t.visitor_id||s.QV)}),(e=>{(0,i.Z)("Error logging user consent. Data:",{error:e}),a(e)}))}))}},6639:(e,t,n)=>{n.d(t,{G6:()=>l,OM:()=>d,cl:()=>c,f1:()=>u});var s=n(2353),r=n(7108);const o=e=>`${s.f2} [${e}]`,i=console,a=e=>(i.time(o(e)),function(){for(var t=arguments.length,n=new Array(t),s=0;s1?n-1:0),a=1;a{n.d(t,{Z:()=>r});var s=n(1733);const r=e=>{const t=new URLSearchParams;return(0,s.Z)(e).forEach((n=>{t.set(n,encodeURIComponent(e[n]))})),t.toString()}},1733:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>Object.keys(e)},2475:(e,t,n)=>{n.d(t,{Z:()=>s});const s=()=>Math.random().toString()},7432:(e,t,n)=>{n.d(t,{Z:()=>s});const s=function(){for(var e=arguments.length,t=new Array(e),n=0;n{n.d(t,{Z:()=>l});var s=n(9083),r=n(544),o=n(4327),i=n(6007),a=n(1733);const c=e=>{const t=new Date;return t.setTime(1e3*e),t.toUTCString()},l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3?arguments[3]:void 0;const u=null!==n?n:(0,i.Z)()+r.z,d={[e]:encodeURIComponent(t),expires:c(u),path:"/",SameSite:"Lax",secure:"https:"===window.location.protocol};l&&l.id&&l.baseDomain&&(d.domain=l.baseDomain);const p=(0,a.Z)(d).map((e=>{const t=d[e];return"boolean"===typeof t?t?e:s.QV:`${e}=${t}`}),[]).filter(Boolean).join("; ");return o.uI.cookie=p,p}},5114:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(6225);const r=(e,t)=>{const n=(0,s.Z)();n&&n.setItem(e,JSON.stringify(t))}},5173:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(9083);const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Dv;e.stopPropagation(),t&&e.preventDefault()}},7947:(e,t,n)=>{n.d(t,{Dl:()=>g,FL:()=>_,Gz:()=>r,Hu:()=>a,O7:()=>i,QD:()=>u,Tx:()=>o,YP:()=>p,Yo:()=>h,bn:()=>c,dh:()=>d,eh:()=>s,fH:()=>f,v$:()=>l,y7:()=>v});const s=0,r=1,o=2,i=3,a=4,c=5,l=6,u=7,d=8,p=9,h=10,f=11;let g=function(e){return e.IAB="iab",e.NON_IAB="non_iab",e.GOOGLE="g",e}({}),_=function(e){return e.PURPOSES="purposes",e.SPECIAL_PURPOSES="specialPurposes",e.FEATURES="features",e.SPECIAL_FEATURES="specialFeatures",e}({}),v=function(e){return e.TCLOADED="tcloaded",e.IS_SHOWN="cmpuishown",e.INTERACTION_COMPLETE="useractioncomplete",e}({})},9680:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(2353),r=n(5426),o=n(63);const i=e=>{(0,o.Z)(s.sT),(0,r.Z)(s.sT,e)}},4594:(e,t,n)=>{n.d(t,{GQ:()=>a,Ol:()=>l,QK:()=>i,Qo:()=>u,dY:()=>d,fG:()=>p,fz:()=>c,qT:()=>o});var s=n(7947),r=n(9083);const o=[{key:s.FL.PURPOSES,hasSwitch:r.uX,IABLibName:"purposeConsents",hasLegitimateInterest:r.uX,legIntName:"legIntPurposes",IABLibLegitimateInterestName:"purposeLegitimateInterests"},{key:s.FL.SPECIAL_PURPOSES,hasSwitch:r.Dv,hasLegitimateInterest:r.Dv},{key:s.FL.FEATURES,hasSwitch:r.Dv,hasLegitimateInterest:r.Dv},{key:s.FL.SPECIAL_FEATURES,hasSwitch:r.uX,IABLibName:"specialFeatureOptins",hasLegitimateInterest:r.Dv}],i=382,a=4,c="2",l="2.2",u=1,d=[s.FL.PURPOSES,s.FL.SPECIAL_PURPOSES,s.FL.FEATURES,s.FL.SPECIAL_FEATURES],p=[1,3,4,5,6]},8075:(e,t,n)=>{n.d(t,{o:()=>s});const s=()=>Object.freeze({vendors:{},categories:{},vendorsLegitimateInterest:{},categoriesLegitimateInterest:{},gatp:{}})},6667:(e,t,n)=>{n.d(t,{Z:()=>f});var s=n(2353),r=n(9083),o=n(6639),i=n(9368),a=n(8915),c=n(7432),l=n(9553),u=n(4594),d=n(8075),p=n(6525);const h=(e,t)=>{const n=l.E9.decode(e.tcString);let s=(0,d.o)();if(n.vendorConsents.forEach(((e,t)=>{s={...s,vendors:{...s.vendors,[t]:e}}})),n.vendorLegitimateInterests.forEach(((e,t)=>{s={...s,vendorsLegitimateInterest:{...s.vendorsLegitimateInterest,[t]:e}}})),u.qT.forEach((e=>{if(e.hasSwitch){if(!e.IABLibName)return void console.error(p.aL);if(n[e.IABLibName].forEach(((t,n)=>{s={...s,categories:{...s.categories,[e.key]:{...s.categories[e.key],[n]:t}}}})),e.hasLegitimateInterest){if(!e.IABLibLegitimateInterestName)return void console.error(p.Hf);n[e.IABLibLegitimateInterestName].forEach(((t,n)=>{s={...s,categoriesLegitimateInterest:{...s.categoriesLegitimateInterest,[e.key]:{...s.categoriesLegitimateInterest[e.key],[n]:t}}}}))}}})),t.acEnabled&&e.acString){e.acString.split("~")[1].split(".").forEach((e=>{s.gatp[e]=r.uX}))}return[{...s},parseInt(e.timestamp||"0"),e.tcString,e.acString]},f=e=>{const t=(0,a.Z)(s.sT,r.QV);if(t)return h(t,e);const n=(()=>{const e=(0,i.Z)(s.sT);if(!e)return r.QV;try{return JSON.parse(decodeURIComponent(e))}catch(t){return(0,o.OM)("Failed to decode local consent cookie:"),(0,c.Z)(t),r.QV}})();return n?h(n,e):r.QV}},1511:(e,t,n)=>{n.d(t,{Z:()=>s});[" ","\t","\v","\f","\xa0","\ufeff","\n","\r","\u2028","\u2029"].join("");const s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=(e||"").toString().trim();return t&&(n=n.replace(new RegExp(`^${t}+`),"").replace(new RegExp(`${t}+$`),"")),n}},8386:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9424),r=n(6525),o=n(6075);const i=()=>{const e=(0,o.qp)(s.G);if(!e)throw new Error(r.ZG);return e}},639:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(1322);const r=()=>{const{hasConsented:e,isForcingReconsent:t}=(0,s.Z)();return!e||t}},9908:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(6075);const r=e=>{const[t,r]=(0,s.eJ)({});return(0,s.d4)((()=>{e.tcfEnabled&&Promise.all([n.e(207),n.e(580)]).then(n.bind(n,6580)).then((e=>{r((()=>e))}))}),[e.tcfEnabled]),t}},3011:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(3672),r=n(6525),o=n(6075);const i=()=>{const e=(0,o.qp)(s.A);if(!e)throw new Error(r.ZG);return e}},1322:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9475),r=n(6525),o=n(6075);const i=()=>{const e=(0,o.qp)(s.$);if(!e)throw new Error(r.ZG);return e}},7086:(e,t,n)=>{n.d(t,{AU:()=>g,Bs:()=>m,Ge:()=>o,HI:()=>s,O8:()=>i,Vl:()=>p,Y4:()=>l,YI:()=>u,ZJ:()=>f,bD:()=>h,bl:()=>c,cK:()=>v,gK:()=>a,j9:()=>_,mY:()=>y,nv:()=>r,ow:()=>d});const s="box",r="banner",o="bottom-left",i="bottom",a={[s]:["top-left","top-right",o,"bottom-right","center-center"],[r]:["top",i]},c="settings",l="cookies",u="policy",d="data";let p=function(e){return e.CATEGORIES="categories",e.VENDORS="vendors",e}({});const h="x_sign",f="x_sign_secondary",g="x_icon_only",_="button",v="button_secondary",m="link",y="disabled"},5304:(e,t,n)=>{n.d(t,{Gc:()=>i,LV:()=>s,an:()=>r,gl:()=>c,hs:()=>o,mX:()=>a,qD:()=>l,sD:()=>u});const s="category",r="granular",o=1,i=2,a="store",c="update",l="withdraw",u="reset"},1873:(e,t,n)=>{n.d(t,{I$:()=>o,Ko:()=>a,QE:()=>r,if:()=>i,yj:()=>s});const s="banner_load",r="edit",o="gtm_load",i="autoblock",a="manual"},3987:(e,t,n)=>{n.d(t,{HY:()=>b,Tm:()=>H,Vf:()=>y,YM:()=>r,ZB:()=>x,az:()=>v,bR:()=>V,kr:()=>G,sY:()=>F,wA:()=>C});var s,r,o,i,a,c,l,u,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function _(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return m(e,a,r,o,null)}function m(e,t,n,s,i){var a={type:e,props:t,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++o:i};return null==i&&null!=r.vnode&&r.vnode(a),a}function y(){return{current:null}}function b(e){return e.children}function C(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&i.sort(l));L.__r=0}function S(e,t,n,s,r,o,i,a,c,l,u){var h,g,_,v,y,C,w,Z,L,S=0,V=s&&s.__k||p,P=V.length,O=P,k=t.length;for(n.__k=[],h=0;h0?m(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)?(v.__=n,v.__b=n.__b+1,-1===(Z=T(v,V,w=h+S,O))?_=d:(_=V[Z]||d,V[Z]=void 0,O--),D(e,v,_,r,o,i,a,c,l,u),y=v.__e,(g=v.ref)&&_.ref!=g&&(_.ref&&U(_.ref,null,v),u.push(g,v.__c||y,v)),null!=y&&(null==C&&(C=y),(L=_===d||null===_.__v)?-1==Z&&S--:Z!==w&&(Z===w+1?S++:Z>w?O>k-w?S+=Z-w:S--:S=Z(null!=c?1:0))for(;i>=0||a=0){if((c=t[i])&&r==c.key&&o===c.type)return i;i--}if(a2&&(c.children=arguments.length>3?s.call(arguments,2):n),m(e.type,c,r||e.key,o||e.ref,null)}function G(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,s;return this.getChildContext||(n=[],(s={})[t]=this,this.getChildContext=function(){return s},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,Z(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}s=p.slice,r={__e:function(e,t,n,s){for(var r,o,i;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,s||{}),i=r.__d),i)return r.__E=r}catch(t){e=t}throw e}},o=0,C.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Z(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Z(this))},C.prototype.render=b,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,u=0},6075:(e,t,n)=>{n.d(t,{I4:()=>Z,Me:()=>I,Qb:()=>S,Ye:()=>w,_Y:()=>m,aP:()=>E,bt:()=>b,d4:()=>y,eJ:()=>v,qp:()=>L,sO:()=>C});var s,r,o,i,a=n(3987),c=0,l=[],u=[],d=a.YM.__b,p=a.YM.__r,h=a.YM.diffed,f=a.YM.__c,g=a.YM.unmount;function _(e,t){a.YM.__h&&a.YM.__h(r,e,c||t),c=0;var n=r.__H||(r.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function v(e){return c=1,m(N,e)}function m(e,t,n){var o=_(s++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):N(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){var i=function(e,t,n){if(!o.__c.__H)return!0;var s=o.__c.__H.__.filter((function(e){return e.__c}));if(s.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var r=!1;return s.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(r=!0)}})),!(!r&&o.__c.props===e)&&(!a||a.call(this,e,t,n))};r.u=!0;var a=r.shouldComponentUpdate,c=r.componentWillUpdate;r.componentWillUpdate=function(e,t,n){if(this.__e){var s=a;a=void 0,i(e,t,n),a=s}c&&c.call(this,e,t,n)},r.shouldComponentUpdate=i}return o.__N||o.__}function y(e,t){var n=_(s++,3);!a.YM.__s&&k(n.__H,t)&&(n.__=e,n.i=t,r.__H.__h.push(n))}function b(e,t){var n=_(s++,4);!a.YM.__s&&k(n.__H,t)&&(n.__=e,n.i=t,r.__h.push(n))}function C(e){return c=5,w((function(){return{current:e}}),[])}function E(e,t,n){c=6,b((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function w(e,t){var n=_(s++,7);return k(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Z(e,t){return c=8,w((function(){return e}),t)}function L(e){var t=r.context[e.__c],n=_(s++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(r)),t.props.value):e.__}function S(e,t){a.YM.useDebugValue&&a.YM.useDebugValue(t?t(e):e)}function I(){var e=_(s++,11);if(!e.__){for(var t=r.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function V(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(P),e.__H.__h.forEach(O),e.__H.__h=[]}catch(r){e.__H.__h=[],a.YM.__e(r,e.__v)}}a.YM.__b=function(e){r=null,d&&d(e)},a.YM.__r=function(e){p&&p(e),s=0;var t=(r=e.__c).__H;t&&(o===r?(t.__h=[],r.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0}))):(t.__h.forEach(P),t.__h.forEach(O),t.__h=[],s=0)),o=r},a.YM.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&i===a.YM.requestAnimationFrame||((i=a.YM.requestAnimationFrame)||T)(V)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u}))),o=r=null},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(P),e.__h=e.__h.filter((function(e){return!e.__||O(e)}))}catch(o){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(o,e.__v)}})),f&&f(e,t)},a.YM.unmount=function(e){g&&g(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{P(e)}catch(e){t=e}})),n.__H=void 0,t&&a.YM.__e(t,n.__v))};var A="function"==typeof requestAnimationFrame;function T(e){var t,n=function(){clearTimeout(s),A&&cancelAnimationFrame(t),setTimeout(e)},s=setTimeout(n,100);A&&(t=requestAnimationFrame(n))}function P(e){var t=r,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),r=t}function O(e){var t=r;e.__c=e.__(),r=t}function k(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function N(e,t){return"function"==typeof t?t(e):t}},8089:(e,t,n)=>{n.d(t,{BX:()=>o,HY:()=>s.HY,tZ:()=>o});var s=n(3987),r=0;function o(e,t,n,o,i,a){var c,l,u={};for(l in t)"ref"==l?c=t[l]:u[l]=t[l];var d={type:e,props:u,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--r,__source:i,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(l in c)void 0===u[l]&&(u[l]=c[l]);return s.YM.vnode&&s.YM.vnode(d),d}},9553:(e,t,n)=>{function s(e){return s="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},s(e)}function r(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function o(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ew:()=>ee,gI:()=>te,E9:()=>ne});class i extends Error{constructor(e){super(e),this.name="EncodingError"}}class a extends Error{constructor(e){super(e),this.name="DecodingError"}}class c{static encode(e){if(!/^[0-1]+$/.test(e))throw new i("Invalid bitField");const t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";let n="";for(let s=0;s=2&&2==t.length){if(l.langSet.has(e))return e;if(l.langSet.has(t))return t;const n=t+"-"+t;if(l.langSet.has(n))return n;for(const s of l.langSet)if(-1!==s.indexOf(e)||-1!==s.indexOf(t))return s}throw new Error(`unsupported language ${e}`)}forEach(e){l.langSet.forEach(e)}get size(){return l.langSet.size}}o(l,"langSet",new Set(["AR","BG","BS","CA","CS","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HR","HU","IT","JA","LT","LV","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SR-LATN","SR-CYRL","SV","TR","ZH"]));class u{}o(u,"cmpId","cmpId"),o(u,"cmpVersion","cmpVersion"),o(u,"consentLanguage","consentLanguage"),o(u,"consentScreen","consentScreen"),o(u,"created","created"),o(u,"supportOOB","supportOOB"),o(u,"isServiceSpecific","isServiceSpecific"),o(u,"lastUpdated","lastUpdated"),o(u,"numCustomPurposes","numCustomPurposes"),o(u,"policyVersion","policyVersion"),o(u,"publisherCountryCode","publisherCountryCode"),o(u,"publisherCustomConsents","publisherCustomConsents"),o(u,"publisherCustomLegitimateInterests","publisherCustomLegitimateInterests"),o(u,"publisherLegitimateInterests","publisherLegitimateInterests"),o(u,"publisherConsents","publisherConsents"),o(u,"publisherRestrictions","publisherRestrictions"),o(u,"purposeConsents","purposeConsents"),o(u,"purposeLegitimateInterests","purposeLegitimateInterests"),o(u,"purposeOneTreatment","purposeOneTreatment"),o(u,"specialFeatureOptins","specialFeatureOptins"),o(u,"useNonStandardTexts","useNonStandardTexts"),o(u,"vendorConsents","vendorConsents"),o(u,"vendorLegitimateInterests","vendorLegitimateInterests"),o(u,"vendorListVersion","vendorListVersion"),o(u,"vendorsAllowed","vendorsAllowed"),o(u,"vendorsDisclosed","vendorsDisclosed"),o(u,"version","version");class d{clone(){const e=new this.constructor;return Object.keys(this).forEach((t=>{const n=this.deepClone(this[t]);void 0!==n&&(e[t]=n)})),e}deepClone(e){const t=typeof e;if("number"===t||"string"===t||"boolean"===t)return e;if(null!==e&&"object"===t){if("function"===typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){const t=[];for(const n of e)t.push(this.deepClone(n));return e instanceof Array?t:new e.constructor(t)}{const t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=this.deepClone(e[n]));return t}}}}class p extends Error{constructor(e,t){super(`invalid value ${t} passed for ${e} ${arguments.length>2&&void 0!==arguments[2]?arguments[2]:""}`),this.name="TCModelError"}}var h,f,g;!function(e){e[e.NOT_ALLOWED=0]="NOT_ALLOWED",e[e.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",e[e.REQUIRE_LI=2]="REQUIRE_LI"}(h||(h={}));class _ extends d{constructor(e,t){super(),o(this,"purposeId_",void 0),o(this,"restrictionType",void 0),void 0!==e&&(this.purposeId=e),void 0!==t&&(this.restrictionType=t)}static unHash(e){const t=e.split(this.hashSeparator),n=new _;if(2!==t.length)throw new p("hash",e);return n.purposeId=parseInt(t[0],10),n.restrictionType=parseInt(t[1],10),n}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${_.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===h.NOT_ALLOWED||this.restrictionType===h.REQUIRE_CONSENT||this.restrictionType===h.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}o(_,"hashSeparator","-");class v extends d{constructor(){super(...arguments),o(this,"bitLength",0),o(this,"map",new Map),o(this,"gvl_",void 0)}has(e){return this.map.has(e)}isOkToHave(e,t,n){var s;let r=!0;if(null!==(s=this.gvl)&&void 0!==s&&s.vendors){const s=this.gvl.vendors[n];if(s)if(e===h.NOT_ALLOWED)r=s.legIntPurposes.includes(t)||s.purposes.includes(t);else if(s.flexiblePurposes.length)switch(e){case h.REQUIRE_CONSENT:r=s.flexiblePurposes.includes(t)&&s.legIntPurposes.includes(t);break;case h.REQUIRE_LI:r=s.flexiblePurposes.includes(t)&&s.purposes.includes(t)}else r=!1;else r=!1}return r}add(e,t){if(this.isOkToHave(t.restrictionType,t.purposeId,e)){const n=t.hash;this.has(n)||(this.map.set(n,new Set),this.bitLength=0),this.map.get(n).add(e)}}restrictPurposeToLegalBasis(e){const t=Array.from(this.gvl.vendorIds),n=e.hash,s=t[t.length-1],r=[...Array(s).keys()].map((e=>e+1));if(this.has(n))for(let o=1;o<=s;o++)this.map.get(n).add(o);else this.map.set(n,new Set(r)),this.bitLength=0}getVendors(e){let t=[];if(e){const n=e.hash;this.has(n)&&(t=Array.from(this.map.get(n)))}else{const e=new Set;this.map.forEach((t=>{t.forEach((t=>{e.add(t)}))})),t=Array.from(e)}return t.sort(((e,t)=>e-t))}getRestrictionType(e,t){let n;return this.getRestrictions(e).forEach((e=>{e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)})),n}vendorHasRestriction(e,t){let n=!1;const s=this.getRestrictions(e);for(let r=0;r{e=Math.max(Array.from(t)[t.size-1],e)})),e}getRestrictions(e){const t=[];return this.map.forEach(((n,s)=>{e?n.has(e)&&t.push(_.unHash(s)):t.push(_.unHash(s))})),t}getPurposes(){const e=new Set;return this.map.forEach(((t,n)=>{e.add(_.unHash(n).purposeId)})),Array.from(e)}remove(e,t){const n=t.hash,s=this.map.get(n);s&&(s.delete(e),0==s.size&&(this.map.delete(n),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach(((e,t)=>{const n=_.unHash(t);Array.from(e).forEach((t=>{this.isOkToHave(n.restrictionType,n.purposeId,t)||e.delete(t)}))})))}get gvl(){return this.gvl_}isEmpty(){return 0===this.map.size}get numRestrictions(){return this.map.size}}!function(e){e.COOKIE="cookie",e.WEB="web",e.APP="app"}(f||(f={})),function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(g||(g={}));class m{}let y,b,C,E,w,Z,L,S,I,V,A,T,P,O,k,N,D,M,R;o(m,"ID_TO_KEY",[g.CORE,g.VENDORS_DISCLOSED,g.VENDORS_ALLOWED,g.PUBLISHER_TC]),o(m,"KEY_TO_ID",{[g.CORE]:0,[g.VENDORS_DISCLOSED]:1,[g.VENDORS_ALLOWED]:2,[g.PUBLISHER_TC]:3}),y=Symbol.iterator;class U extends d{constructor(){super(...arguments),o(this,"bitLength",0),o(this,"maxId_",0),o(this,"set_",new Set)}*[y](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach((e=>this.unset(e))):"object"===typeof e?this.unset(Object.keys(e).map((e=>Number(e)))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach((e=>{this.maxId_=Math.max(this.maxId,e)}))))}isIntMap(e){let t="object"===typeof e;return t=t&&Object.keys(e).every((t=>{let n=Number.isInteger(parseInt(t,10));return n=n&&this.isValidNumber(e[t].id),n=n&&void 0!==e[t].name,n})),t}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t}set(e){if(Array.isArray(e))e.forEach((e=>this.set(e)));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map((e=>Number(e))));else{if(!this.isValidNumber(e))throw new p("set()",e,"must be positive integer array, positive integer, Set, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}}empty(){this.set_=new Set}forEach(e){for(let t=1;t<=this.maxId;t++)e(this.has(t),t)}get size(){return this.set_.size}setAll(e){this.set(e)}}b=u.cmpId,C=u.cmpVersion,E=u.consentLanguage,w=u.consentScreen,Z=u.created,L=u.isServiceSpecific,S=u.lastUpdated,I=u.policyVersion,V=u.publisherCountryCode,A=u.publisherLegitimateInterests,T=u.publisherConsents,P=u.purposeConsents,O=u.purposeLegitimateInterests,k=u.purposeOneTreatment,N=u.specialFeatureOptins,D=u.useNonStandardTexts,M=u.vendorListVersion,R=u.version;class Q{}o(Q,b,12),o(Q,C,12),o(Q,E,12),o(Q,w,6),o(Q,Z,36),o(Q,L,1),o(Q,S,36),o(Q,I,6),o(Q,V,12),o(Q,A,24),o(Q,T,24),o(Q,P,24),o(Q,O,24),o(Q,k,1),o(Q,N,12),o(Q,D,1),o(Q,M,12),o(Q,R,6),o(Q,"anyBoolean",1),o(Q,"encodingType",1),o(Q,"maxId",16),o(Q,"numCustomPurposes",6),o(Q,"numEntries",12),o(Q,"numRestrictions",12),o(Q,"purposeId",6),o(Q,"restrictionType",2),o(Q,"segmentType",3),o(Q,"singleOrRange",1),o(Q,"vendorId",16);class ${static encode(e){return String(Number(e))}static decode(e){return"1"===e}}class F{static encode(e,t){let n;if("string"===typeof e&&(e=parseInt(e,10)),n=e.toString(2),n.length>t||e<0)throw new i(`${e} too large to encode into ${t}`);return n.length25||s<0||s>25)throw new i(`invalid language code: ${e}`);if(t%2===1)throw new i(`numBits must be even, ${t} is not valid`);t/=2;return F.encode(n,t)+F.encode(s,t)}static decode(e,t){let n;if(t!==e.length||e.length%2)throw new a("invalid bit length for language");{const t=65,s=e.length/2,r=F.decode(e.slice(0,s),s)+t,o=F.decode(e.slice(s),s)+t;n=String.fromCharCode(r)+String.fromCharCode(o)}return n}}class B{static encode(e){let t=F.encode(e.numRestrictions,Q.numRestrictions);if(!e.isEmpty()){const n=(t,n)=>{for(let s=t+1;s<=n;s++)if(e.gvl.vendorIds.has(s))return s;return t};e.getRestrictions().forEach((s=>{t+=F.encode(s.purposeId,Q.purposeId),t+=F.encode(s.restrictionType,Q.restrictionType);const r=e.getVendors(s),o=r.length;let i=0,a=0,c="";for(let e=0;en(t,r[o-1])){const e=!(t===a);c+=$.encode(e),c+=F.encode(a,Q.vendorId),e&&(c+=F.encode(t,Q.vendorId)),a=0}}t+=F.encode(i,Q.numEntries),t+=c}))}return t}static decode(e){let t=0;const n=new v,s=F.decode(e.substr(t,Q.numRestrictions),Q.numRestrictions);t+=Q.numRestrictions;for(let r=0;r{if(o+=$.encode(r),n=e.maxId>c&&l{const t=1===e.length;n+=$.encode(!t),n+=F.encode(e[0],Q.vendorId),t||(n+=F.encode(e[1],Q.vendorId))})),n}}function Y(){return{[u.version]:F,[u.created]:x,[u.lastUpdated]:x,[u.cmpId]:F,[u.cmpVersion]:F,[u.consentScreen]:F,[u.consentLanguage]:G,[u.vendorListVersion]:F,[u.policyVersion]:F,[u.isServiceSpecific]:$,[u.useNonStandardTexts]:$,[u.specialFeatureOptins]:H,[u.purposeConsents]:H,[u.purposeLegitimateInterests]:H,[u.purposeOneTreatment]:$,[u.publisherCountryCode]:G,[u.vendorConsents]:j,[u.vendorLegitimateInterests]:j,[u.publisherRestrictions]:B,segmentType:F,[u.vendorsDisclosed]:j,[u.vendorsAllowed]:j,[u.publisherConsents]:H,[u.publisherLegitimateInterests]:H,[u.numCustomPurposes]:F,[u.publisherCustomConsents]:H,[u.publisherCustomLegitimateInterests]:H}}class W{constructor(e,t){if(o(this,"1",[g.CORE]),o(this,"2",[g.CORE]),2===e.version)if(e.isServiceSpecific)this[2].push(g.PUBLISHER_TC);else{const n=!(!t||!t.isForVendors);n&&!0!==e[u.supportOOB]||this[2].push(g.VENDORS_DISCLOSED),n&&(e[u.supportOOB]&&e[u.vendorsAllowed].size>0&&this[2].push(g.VENDORS_ALLOWED),this[2].push(g.PUBLISHER_TC))}}}class q{static encode(e,t){let n;try{n=this.fieldSequence[String(e.version)][t]}catch(o){throw new i(`Unable to encode version: ${e.version}, segment: ${t}`)}let s="";t!==g.CORE&&(s=F.encode(m.KEY_TO_ID[t],Q.segmentType));const r=Y();return n.forEach((n=>{const a=e[n],c=r[n];let l=Q[n];void 0===l&&this.isPublisherCustom(n)&&(l=Number(e[u.numCustomPurposes]));try{s+=c.encode(a,l)}catch(o){throw new i(`Error encoding ${t}->${n}: ${o.message}`)}})),c.encode(s)}static decode(e,t,n){const s=c.decode(e);let r=0;n===g.CORE&&(t.version=F.decode(s.substr(r,Q[u.version]),Q[u.version])),n!==g.CORE&&(r+=Q.segmentType);const o=this.fieldSequence[String(t.version)][n],i=Y();return o.forEach((e=>{const n=i[e];let o=Q[e];if(void 0===o&&this.isPublisherCustom(e)&&(o=Number(t[u.numCustomPurposes])),0!==o){const i=s.substr(r,o);if(t[e]=n===j?n.decode(i,t.version):n.decode(i,o),Number.isInteger(o))r+=o;else{if(!Number.isInteger(t[e].bitLength))throw new a(e);r+=t[e].bitLength}}})),t}static isPublisherCustom(e){return 0===e.indexOf("publisherCustom")}}o(q,"fieldSequence",new class{constructor(){o(this,"1",{[g.CORE]:[u.version,u.created,u.lastUpdated,u.cmpId,u.cmpVersion,u.consentScreen,u.consentLanguage,u.vendorListVersion,u.purposeConsents,u.vendorConsents]}),o(this,"2",{[g.CORE]:[u.version,u.created,u.lastUpdated,u.cmpId,u.cmpVersion,u.consentScreen,u.consentLanguage,u.vendorListVersion,u.policyVersion,u.isServiceSpecific,u.useNonStandardTexts,u.specialFeatureOptins,u.purposeConsents,u.purposeLegitimateInterests,u.purposeOneTreatment,u.publisherCountryCode,u.vendorConsents,u.vendorLegitimateInterests,u.publisherRestrictions],[g.PUBLISHER_TC]:[u.publisherConsents,u.publisherLegitimateInterests,u.numCustomPurposes,u.publisherCustomConsents,u.publisherCustomLegitimateInterests],[g.VENDORS_ALLOWED]:[u.vendorsAllowed],[g.VENDORS_DISCLOSED]:[u.vendorsDisclosed]})}});class K{static process(e,t){const n=e.gvl;if(!n)throw new i("Unable to encode TCModel without a GVL");if(!n.isReady)throw new i("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=n.language.slice(0,2).toUpperCase(),(null===t||void 0===t?void 0:t.version)>0&&(null===t||void 0===t?void 0:t.version)<=this.processor.length?e.version=t.version:e.version=this.processor.length;const s=e.version-1;if(!this.processor[s])throw new i(`Invalid version: ${e.version}`);return this.processor[s](e,n)}}o(K,"processor",[e=>e,(e,t)=>{e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const n=new Map;return n.set("legIntPurposes",e.vendorLegitimateInterests),n.set("purposes",e.vendorConsents),n.forEach(((n,s)=>{n.forEach(((r,o)=>{if(r){const r=t.vendors[o];if(!r||r.deletedDate)n.unset(o);else if(0===r[s].length)if("legIntPurposes"===s&&0===r.purposes.length&&0===r.legIntPurposes.length&&r.specialPurposes.length>0);else if(e.isServiceSpecific)if(0===r.flexiblePurposes.length)n.unset(o);else{const t=e.publisherRestrictions.getRestrictions(o);let r=!1;for(let e=0,n=t.length;e{const i=new XMLHttpRequest;i.withCredentials=n,i.addEventListener("load",(()=>{if(i.readyState==XMLHttpRequest.DONE)if(i.status>=200&&i.status<300){let t=i.response;if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}r(t)}else o(new Error(`HTTP Status: ${i.status} response type: ${i.responseType}`))})),i.addEventListener("error",(()=>{o(new Error("error"))})),i.addEventListener("abort",(()=>{o(new Error("aborted"))})),null===t?i.open("GET",e,!0):i.open("POST",e,!0),i.responseType="json",i.timeout=s,i.ontimeout=()=>{o(new Error("Timeout "+s+"ms "+e))},i.send(t)}))}static post(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.absCall(e,JSON.stringify(t),n,s)}static fetch(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.absCall(e,null,t,n)}}class ee extends d{static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new z("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}constructor(e){super(),o(this,"readyPromise",void 0),o(this,"gvlSpecificationVersion",void 0),o(this,"vendorListVersion",void 0),o(this,"tcfPolicyVersion",void 0),o(this,"lastUpdated",void 0),o(this,"purposes",void 0),o(this,"specialPurposes",void 0),o(this,"features",void 0),o(this,"specialFeatures",void 0),o(this,"isReady_",!1),o(this,"vendors_",void 0),o(this,"vendorIds",void 0),o(this,"fullVendorList",void 0),o(this,"byPurposeVendorMap",void 0),o(this,"bySpecialPurposeVendorMap",void 0),o(this,"byFeatureVendorMap",void 0),o(this,"bySpecialFeatureVendorMap",void 0),o(this,"stacks",void 0),o(this,"dataCategories",void 0),o(this,"lang_",void 0),o(this,"cacheLang_",void 0),o(this,"isLatest",!1);let t=ee.baseUrl;if(this.lang_=ee.DEFAULT_LANGUAGE,this.cacheLang_=ee.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!t)throw new z("must specify GVL.baseUrl before loading GVL json");if(e>0){const n=e;ee.CACHE.has(n)?(this.populate(ee.CACHE.get(n)),this.readyPromise=Promise.resolve()):(t+=ee.versionedFilename.replace("[VERSION]",String(n)),this.readyPromise=this.fetchJson(t))}else ee.CACHE.has(ee.LATEST_CACHE_KEY)?(this.populate(ee.CACHE.get(ee.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(t+ee.latestFilename))}}static emptyLanguageCache(e){let t=!1;return null==e&&ee.LANGUAGE_CACHE.size>0?(ee.LANGUAGE_CACHE=new Map,t=!0):"string"===typeof e&&this.consentLanguages.has(e.toUpperCase())&&(ee.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t}static emptyCache(e){let t=!1;return Number.isInteger(e)&&e>=0?(ee.CACHE.delete(e),t=!0):void 0===e&&(ee.CACHE=new Map,t=!0),t}cacheLanguage(){ee.LANGUAGE_CACHE.has(this.cacheLang_)||ee.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await J.fetch(e))}catch(t){throw new z(t.message)}}getJson(){return JSON.parse(JSON.stringify({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories,vendors:this.fullVendorList}))}async changeLanguage(e){let t=e;try{t=ee.consentLanguages.parseLanguage(e)}catch(s){throw new z("Error during parsing the language: "+s.message)}const n=e.toUpperCase();if((t.toLowerCase()!==ee.DEFAULT_LANGUAGE.toLowerCase()||ee.LANGUAGE_CACHE.has(n))&&t!==this.lang_)if(this.lang_=t,ee.LANGUAGE_CACHE.has(n)){const e=ee.LANGUAGE_CACHE.get(n);for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}else{const e=ee.baseUrl+ee.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(e),this.cacheLang_=n,this.cacheLanguage()}catch(r){throw new z("unable to load language: "+r.message)}}}get language(){return this.lang_}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"===typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&ee.CACHE.set(ee.LATEST_CACHE_KEY,this.getJson()),ee.CACHE.has(this.vendorListVersion)||ee.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((e=>{this.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((e=>{this.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((e=>{this.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((e=>{this.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((e=>+e))),this.vendorIds=new Set(e),this.vendors_=e.reduce(((e,t)=>{const n=this.vendors_[String(t)];return n&&void 0===n.deletedDate&&(n.purposes.forEach((e=>{this.byPurposeVendorMap[String(e)].consent.add(t)})),n.specialPurposes.forEach((e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)})),n.legIntPurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)})),n.flexiblePurposes&&n.flexiblePurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)})),n.features.forEach((e=>{this.byFeatureVendorMap[String(e)].add(t)})),n.specialFeatures.forEach((e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)})),e[t]=n),e}),{})}getFilteredVendors(e,t,n,s){const r=e.charAt(0).toUpperCase()+e.slice(1);let o;const i={};return o="purpose"===e&&n?this["by"+r+"VendorMap"][String(t)][n]:this["by"+(s?"Special":"")+r+"VendorMap"][String(t)],o.forEach((e=>{i[String(e)]=this.vendors[String(e)]})),i}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new ee(this.getJson());return this.lang_!==ee.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return"object"===typeof e&&"function"===typeof e.narrowVendorsTo}}o(ee,"LANGUAGE_CACHE",new Map),o(ee,"CACHE",new Map),o(ee,"LATEST_CACHE_KEY",0),o(ee,"DEFAULT_LANGUAGE","EN"),o(ee,"consentLanguages",new l),o(ee,"baseUrl_",void 0),o(ee,"latestFilename","vendor-list.json"),o(ee,"versionedFilename","archives/vendor-list-v[VERSION].json"),o(ee,"languageFilename","purposes-[LANG].json");class te extends d{constructor(e){super(),o(this,"isServiceSpecific_",!1),o(this,"supportOOB_",!0),o(this,"useNonStandardTexts_",!1),o(this,"purposeOneTreatment_",!1),o(this,"publisherCountryCode_","AA"),o(this,"version_",2),o(this,"consentScreen_",0),o(this,"policyVersion_",4),o(this,"consentLanguage_","EN"),o(this,"cmpId_",0),o(this,"cmpVersion_",0),o(this,"vendorListVersion_",0),o(this,"numCustomPurposes_",0),o(this,"gvl_",void 0),o(this,"created",void 0),o(this,"lastUpdated",void 0),o(this,"specialFeatureOptins",new U),o(this,"purposeConsents",new U),o(this,"purposeLegitimateInterests",new U),o(this,"publisherConsents",new U),o(this,"publisherLegitimateInterests",new U),o(this,"publisherCustomConsents",new U),o(this,"publisherCustomLegitimateInterests",new U),o(this,"customPurposes",void 0),o(this,"vendorConsents",new U),o(this,"vendorLegitimateInterests",new U),o(this,"vendorsDisclosed",new U),o(this,"vendorsAllowed",new U),o(this,"publisherRestrictions",new v),e&&(this.gvl=e),this.updated()}set gvl(e){ee.isInstanceOf(e)||(e=new ee(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new p("cmpId",e);this.cmpId_=e}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new p("cmpVersion",e);this.cmpVersion_=e}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new p("consentScreen",e);this.consentScreen_=e}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(!/^([A-z]){2}$/.test(e))throw new p("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if((e=Number(e)>>0)<0)throw new p("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new p("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if("object"===typeof this.customPurposes){const t=Object.keys(this.customPurposes).sort(((e,t)=>Number(e)-Number(t)));e=parseInt(t.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new p("numCustomPurposes",e)}updated(){const e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t}}o(te,"consentLanguages",ee.consentLanguages);class ne{static encode(e,t){let n,s="";return e=K.process(e,t),n=Array.isArray(null===t||void 0===t?void 0:t.segments)?t.segments:new W(e,t)[""+e.version],n.forEach(((t,r)=>{let o="";r{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,s)=>(n.f[s](e,t),t)),[])),n.u=e=>"static-main/"+({522:"ui",735:"embeds"}[e]||e)+"."+{207:"0301",441:"a603",522:"2ac1",560:"52b6",580:"9120",735:"2491",749:"a5d9"}[e]+".c.js",n.miniCssF=e=>"static-main/"+(522===e?"ui":e)+"."+{441:"e308",522:"83ca",560:"362b",580:"5812"}[e]+".c.css",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="cookie-first-banner:";n.l=(s,r,o,i)=>{if(e[s])e[s].push(r);else{var a,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(h);var r=e[s];if(delete e[s],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="https://consent.cookiefirst.com/banner/v2.15.0/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((t,s)=>{var r=n.miniCssF(e),o=n.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),s=0;s{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=n=>{if(o.onerror=o.onload=null,"load"===n.type)s();else{var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=a,o.parentNode&&o.parentNode.removeChild(o),r(c)}},o.href=t,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o)})(e,o,null,t,s)})),t={179:0};n.f.miniCss=(n,s)=>{t[n]?s.push(t[n]):0!==t[n]&&{441:1,522:1,560:1,580:1}[n]&&s.push(t[n]=e(n).then((()=>{t[n]=0}),(e=>{throw delete t[n],e})))}}})(),(()=>{var e={179:0};n.f.j=(t,s)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)s.push(r[2]);else{var o=new Promise(((n,s)=>r=e[t]=[n,s]));s.push(r[2]=o);var i=n.p+n.u(t),a=new Error;n.l(i,(s=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=s&&("load"===s.type?"missing":s.type),i=s&&s.target&&s.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,s)=>{var r,o,[i,a,c]=s,l=0;if(i.some((t=>0!==e[t]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(c)c(n)}for(t&&t(s);l{Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!==typeof e)return this.then(e,e);const t=this.constructor||Promise;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))});var e=n(6639),t=n(6525),s=n(7108),r=n(9083),o=n(8576),i=n(2446),a=n(7432),c=n(9264),l=n(2662),u=n(4327);const d=()=>{const e=u.X6.location.hostname.replace(/^www\./,"").split(".");return e.map(((t,n)=>0===n&&e.length>2?"*":t)).filter(Boolean).join(".")},p="version.json",h=[r.QV,r.QV,r.QV],f=(e,t)=>{const[n,o]=t,i=n.v||r.QV,a=(o["visitor-location"]||"").toUpperCase(),c=o["Sec-GPC"]||"";return s.default.dir=e,[i,a||r.QV,c||null]},g=e=>{const{dir:t,wildcardDir:n}=s.default,r=Date.now().toString(),u=(0,i.Z)(`${t}/${p}`,r),g=(0,i.Z)(`${n}/${p}`,r);return(0,l.Z)((s=>{const r=(e,t)=>{(0,o.Z)(e).then((e=>s(f(t||"",e))),(e=>{(0,a.Z)(e),s(h)}))};if(!t&&!n)return s(h);if(e&&e.widgetConfig){const s=e.widgetConfig,o=d();s.isUsingWildcard&&s.wildcardUrls.includes(o)?r(g,n):r(u,t)}else(0,o.Z)(u).then((e=>{if(!(0,c.Z)(e))throw new Error("");s(f(t||"",e))}),(e=>{if((0,a.Z)(e),!n||n===t)return s(h);r(g,n)}))}))};var _=n(7067);const v=()=>{const e=window.__COOKIE_BANNER_SETTINGS__;return!(0,_.Z)(e)||(0,c.Z)(e)?r.QV:e};var m=n(2353);const y=e=>{if(!e)return[r.QV,r.QV];return[`sites/${u.X6.location.hostname.replace(/^www\./,"")}-${e}`,`sites/${d()}-${e}`]};var b=n(8915),C=n(1733),E=n(1511),w=n(8217);const Z="cookiefirst-key",L=(e,t)=>{if((0,w.Z)(e.src,`${t}=`))return new URL(e.src).searchParams.get(t)||r.QV;const n=e.getAttribute(`data-${t}`);return""===n?"":n||r.QV},S=(e,t)=>{const n=L(e,t);return""===n?r.uX:(0,w.Z)(["false","0"],n)?r.Dv:!!n},I=e=>{if(e){for(const t of(0,C.Z)(e)){const n=e[t];typeof n!==r.qh&&s.default.set(t,n)}if(s.default.apiKey){const[e,t]=y(s.default.apiKey);s.default.dir=e,s.default.wildcardDir=t}}const t=m.o$+"-debug";s.default.debugMode=(0,b.Z)(t,!1)||!0===(e&&e.debugMode),s.default.debugMode&&(console.info(`debugMode: ${s.default.debugMode} `),s.default.silentMode=r.Dv);let n=r.QV;if(n||(n=u.uI.querySelector(`script[src*="${Z}"],script[data-${Z}]`)),!n)return;if(e&&(0,C.Z)(e).length>0)return;s.default.apiKey=L(n,Z)||"",s.default.apiKey=(0,E.Z)(s.default.apiKey||""),s.default.dataLayer=L(n,"datalayer")||s.default.dataLayer,"true"===s.default.dataLayer&&(s.default.dataLayer="dataLayer"),s.default.stealthMode=S(n,"stealth-mode"),s.default.forcedLang=L(n,"language");const[o,i]=y(s.default.apiKey);s.default.dir=o,s.default.wildcardDir=i;let a=r.uX;const c="silent-mode";s.default.debugMode?a=r.Dv:null!==L(n,c)&&(a=S(n,c)),s.default.silentMode=a};var V=n(9368),A=n(5114);const T=()=>{let e=(0,b.Z)(m.MZ,null);return e||(e=(0,V.Z)(m.MZ)||r.QV,(0,A.Z)(m.MZ,e)),e};var P=n(9969);const O=(t,n)=>{const{dir:r}=s.default;return(0,l.Z)(((s,c)=>{if((0,_.Z)(n)){(0,e.cl)("preloaded config");const r=(0,P.B)({...n,version:t});return s(Object.freeze(r))}const l=(0,i.Z)(`${r}/config.json`,t);(0,e.cl)(`load config from ${l}`),(0,o.Z)(l).then((e=>{let[n]=e;const r=(0,P.B)({...n,version:t});s(Object.freeze(r))}),(e=>{(0,a.Z)(e),c(e)}))}))};var k=n(2157),N=n(5304),D=n(437),M=n(6007),R=n(6048),U=n(5992),Q=n(6828),$=n(2475),F=n(8060);const x=e=>u.uI.getElementById(e);let H=null;const G=n=>{if(H)return H;let s=function(){const e=x(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"");return e&&"IFRAME"===e.nodeName?e:r.QV}(),o=r.Dv;const i=[];return s&&(o=r.uX),H={sendMessage:c=>(0,l.Z)(((l,d)=>{let p=r.QV;const h=`bulk-msg-${(0,$.Z)()}`;if(!c)return void d(new Error(t.XU));if(!s){if(!n)return void d(new Error(t.XU));s=((e,t)=>{const n=(0,U.Z)("iframe");return n.id="bulk-consent",n.setAttribute("tabindex","-1"),n.setAttribute("role","presentation"),n.setAttribute("aria-hidden","true"),n.setAttribute("title","Bulk Consent"),n.style.position="absolute",n.style.width="1px",n.style.height="1px",n.style.top="-9999px",n.onload=t,n.src=e,u.uI.head.appendChild(n),n})(n,(()=>{(0,e.G6)("iframe initialized"),o=r.uX}))}const f=t=>{if(s&&t.source===s.contentWindow)try{let s=t[t.message?"message":"data"];if(!s)return;if((0,F.Z)(s)&&(s=JSON.parse(s)),!s.message_id||s.message_id!==h||(0,w.Z)(i,s.message_id))return void(0,e.G6)("ignoring msg:",s);if((0,e.G6)("received response"),(0,Q.Z)(u.X6,"message",f,r.Dv),i.push(h),p&&clearTimeout(p),!s.value)return l(r.QV);if((0,F.Z)(s.value))try{const e=JSON.parse(s.value);return l(e)}catch(n){return l(r.QV)}return l(s.value)}catch(n){return(0,e.G6)(new Error("failed to read response")),(0,a.Z)(n),d()}else(0,e.G6)("ignoring msg from another window",t)};if(!s||!s.contentWindow)return(0,e.G6)("failed to initialize."),d();try{(0,R.Z)(u.X6,"message",f,r.Dv);const t=JSON.stringify({...c,message_id:h});o?(s.contentWindow.postMessage(t,"*"),(0,e.G6)("send message")):((0,e.G6)("send message when ready"),s.onload=()=>{(0,e.G6)("iframe initialized");const n=s;n.contentWindow&&(o=r.uX,n.contentWindow.postMessage(t,"*"),(0,e.G6)("message sent"))}),p=setTimeout((()=>{(0,e.G6)("reached timeout of 9s"),l(r.QV)}),9e3)}catch(g){return(0,e.G6)("encountered an error",g),p&&clearTimeout(p),void d(g)}}))},H},B=e=>(0,l.Z)((t=>{const{id:n,iframeUrl:s}=e,o={group_id:n,action:"get"};G(s).sendMessage(o).then((e=>{if(!e)return t(r.QV);const n=parseInt(e.timestamp||"0");t({action:(0,F.Z)(e.action)&&e.action||N.mX,consent:e.consent||{},timestamp:isNaN(n)?0:n,type:e.type||N.LV})}),(()=>t(r.QV)))}));var X=n(9094);const j=t=>(0,l.Z)((n=>{const s=t.bulkConsent;if(!s.id)return n((0,X.Z)());B(s).then((t=>{if(t){const{action:s=N.mX,consent:o={},type:i=N.LV,timestamp:a=(0,M.Z)()}=t;if(s===N.sD||s===N.qD)return(0,e.G6)("detected ["+s+"] as last action"),(0,D.Z)(),n(r.QV);if(o)return(0,e.G6)("loaded"),n([o,a,i])}return(0,e.G6)("no consent saved, trying local"),n((0,X.Z)())}),(()=>n(r.QV)))})),Y=t=>{const{id:n,iframeUrl:s}=t;return(0,l.Z)((t=>{const o={group_id:n,action:"remove"};G(s).sendMessage(o).then((e=>t(e)),(n=>{(0,e.G6)("Failed to delete bulk consent"),(0,a.Z)(n),t(r.QV)}))}))},W=e=>(0,l.Z)((t=>{(0,D.Z)(),e.id?Y(e).then(t):t()}));var q=n(5144),K=n(5820),z=n(3018);const J=(t,n)=>(0,l.Z)((s=>{const{id:r,iframeUrl:o}=t,i={group_id:r,action:"set",consent:n};G(o).sendMessage(i).then((e=>s()),(t=>{(0,e.G6)("Failed to save bulk consent",{error:t}),s()}))})),ee=e=>(0,l.Z)((t=>{const{bulkConsent:n,consentType:s}=e;if((0,D.Z)(),!n.id)return t();J(n,{action:N.sD,consent:{},timestamp:(0,M.Z)(),type:s}).then((()=>t()))}));var te=n(4348);const ne=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.QV,s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,P.B)();return(0,l.Z)((i=>{let a={...t};const c=o.bulkConsent,l=o.lastConsentReset,u=o.isGranularPolicy,d=o.scripts;if(n&&(0,q.Z)(n,o.consentLifetime))return W(c).finally((()=>i(r.QV)));if(n&&(0,te.Z)(n,l))return(0,e.OM)("detected reset request, resetting..."),ee(o).finally((()=>{(0,e.OM)("reset success"),i(r.QV)}));if(u){s&&s!==N.LV||((0,e.OM)("Convert category to granular"),a=d.reduce(((e,t)=>{const n=(t.categories||[]).every((e=>!!a[e]));return e[t.consent_key]=n,e}),{...k.qc}));const t=(0,z.Z)(a,o);i({...t})}else{s===N.an&&((0,e.OM)("Convert granular to category"),a=k.bd.reduce(((e,t)=>{if(t===k.a3)return e[t]=!0,e;const n=d.filter((e=>(0,w.Z)(e.categories,t))),s=n.filter((e=>(0,K.Z)(e,a,N.Gc)));return e[t]=s.length===n.length,e}),{...k.qc}));const t=k.bd.reduce(((e,t)=>(e[t]=!!a[t],e)),{...k.qc});i({...t})}}))};var se=n(544),re=n(7234);const oe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.QV,n=arguments.length>2?arguments[2]:void 0;const s={...e,timestamp:t,type:n.consentType,version:n.version},o=n.consentLifetime||se.z,i=(t||(0,M.Z)())+o;(0,A.Z)(m.Q8,s),(0,re.Z)(m.Q8,JSON.stringify(s),i,n.bulkConsent)};var ie=n(1250);const ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=navigator.doNotTrack;return!t||"1"!==e&&"1"!==n?r.Dv:r.uX},ce=[r.QV,r.QV],le=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return(0,l.Z)((i=>{const l=(0,ie.Z)(t,n,s),u=ae(o,t.gpcAndDntEnabled);let d=ce;if(u)(0,e.OM)("use empty"),d=[k.Li,r.QV];else if(l)if((0,e.OM)("use full"),t.isGranularPolicy){const e=t.scripts.reduce(((e,t)=>({...e,[t.consent_key]:r.uX})),{});d=[e,r.QV]}else{const e=k.bd.reduce(((e,t)=>(e[t]=r.uX,e)),{...k.qc});d=[e,r.QV]}j(t).then((n=>{if(!(0,c.Z)(n))return(0,e.OM)("no data stored"),void i(d);const[s,r,o]=n;if(!s)return(0,e.OM)("no data stored"),void i(d);ne(s,r,o||null,t).then((n=>{if(!(0,_.Z)(n))return(0,e.OM)("loaded empty"),void i(d);(0,e.OM)("loaded",n),oe(n,r,t),i([n,r])}),(t=>{(0,e.OM)("error",t),i(d)}))}),(t=>{(0,a.Z)(t),(0,e.OM)("error",t),i(d)}))}))};var ue=n(9806);const de=()=>(0,l.Z)(((e,t)=>{const n=(0,ue.Z)({origin:window.location.hostname});(0,o.Z)(`${m.HB}?${n}`).then((t=>{let[n]=t;e([n.country||n.countryCode||r.QV,n.region||r.QV])}),(t=>{(0,a.Z)(t),e([r.QV,r.QV])}))})),pe=(e,t)=>(0,l.Z)(((n,s)=>{e.increaseLocationPrecision?de().then(n,(()=>n([t,r.QV]))):n([t,r.QV])})),he=()=>(0,l.Z)((e=>{const o=v();I(o&&o.integration||{});const{apiKey:i}=s.default;if(!(0,F.Z)(i)||!i)throw new Error(t.Aw);{const e=[];o&&(0,c.Z)(o.autoblock)&&o.autoblock.forEach((t=>{e.push(...t.urls||[])}));const{getAutoblockInstance:t}=n(9356),s=t(e);o&&o.autoblock&&s.init()}const l=T();g(o).then((s=>{let[c,u,d]=s;if(!c)throw new Error(t.KL);const p=o&&o.widgetConfig||r.QV;O(c,p).then((t=>{pe(t,u).then((s=>{let[a,c]=s;const u=n=>{let s;s=t.tcfEnabled&&n?[le(t,a,c,d)]:[le(t,a,c)],t.tcfEnabled&&s.push(n(t)),Promise.all(s).then((n=>{let[s,u]=n;const[d,p]=s;let h=r.QV,f=r.QV;u&&([h,f]=u),e({preloadSettings:o,apiKey:i,widgetConfig:t,prevConsent:d,prevConsentTimestamp:p,visitorId:l,visitorCountry:a,visitorRegion:c,tcfPrevConsent:h,tcfPrevConsentTimestamp:f})}))};t.tcfEnabled?n.e(749).then(n.bind(n,8749)).then((e=>{const t=e.loadTCFUserConsent;u(t)})):u()}),a.Z)}))}))}));var fe=n(9424),ge=n(7086),_e=n(6075),ve=n(8089);const me=e=>{let{config:n,children:o}=e;const{stealthMode:i}=s.default,[a,c]=(0,_e.eJ)(r.QV),[l,u]=(0,_e.eJ)(n.widgetConfig.tcfVendors),[d,p]=(0,_e.eJ)(r.QV),[h,f]=(0,_e.eJ)(r.Dv),[g,_]=(0,_e.eJ)(r.Dv),v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge.bl;const t=n.widgetConfig.tabsOnSettingsPanel;if(e!==r.QV&&!(0,w.Z)(t,e))throw new Error(m.f2+" New tab must be one of ["+t.join(", ")+"], passed: "+e);c(e)},y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge.Vl.CATEGORIES;const t=[ge.Vl.CATEGORIES,ge.Vl.VENDORS];if(e!==r.QV&&!(0,w.Z)(t,e))throw new Error(m.f2+" New tab must be one of ["+t.join(", ")+"], passed: "+e);p(e)},b=(0,_e.Ye)((()=>({...n,activePanelTab:a,changePanelTab:v,activeConsentTab:d,changeConsentTab:y,tcfVendorsList:l,setTcfVendorsList:u,shouldBannerBeVisible:h,setShouldBannerBeVisible:f,isTCFPublicEndpointInit:g,setIsTCFPublicEndpointInit:_})),[a,v,d,y]),C=(0,_e.I4)((e=>{if(i)throw new Error(t.Uz);c(e?ge.bl:r.QV),p(e?ge.Vl.CATEGORIES:r.QV)}),[i]),[E,Z]=(0,_e.eJ)(r.QV),[L,S]=(0,_e.eJ)(r.QV);return(0,ve.tZ)(fe.G.Provider,{value:{...b,toggleSettingsPanel:C,isSettingsPanelOpen:!!a,activePanelTab:a,changePanelTab:v,activeConsentTab:d,changeConsentTab:y,gvl:E,setGvl:Z,gatp:L,setGatp:S,tcfVendorsList:l,setTcfVendorsList:u,isTCFPublicEndpointInit:g,setIsTCFPublicEndpointInit:_},children:o})},ye=e=>(0,ve.tZ)(ve.HY,{}),be=e=>t=>{const n=(0,_e.sO)(ye),[,s]=(0,_e.eJ)(r.QV);(0,_e.d4)((()=>{e().then((e=>{n.current=e.default||e,s((0,$.Z)())}),(e=>{throw e}))}),[]);const o=n.current;return(0,ve.tZ)(o,{...t})},Ce=be((()=>Promise.all([n.e(207),n.e(441),n.e(522)]).then(n.bind(n,8320))));var Ee=n(8386),we=n(639),Ze=n(1322);const Le=()=>{const e=(0,we.Z)(),{showWithdrawModal:t}=(0,Ze.Z)(),{widgetConfig:n,activePanelTab:o,setShouldBannerBeVisible:i}=(0,Ee.Z)(),{enableFloatingButton:a}=n,[c,l]=(0,_e.Ye)((()=>{if(s.default.stealthMode)return[r.Dv,r.Dv];const n=!!(e||t||o);return i(n),[e||t||o||a,n]}),[e,o,t,a,i]);return(0,_e.d4)((()=>{u.X6.CF_visiblity=l}),[l]),c?(0,ve.tZ)(Ce,{}):r.QV};var Se=n(2520);const Ie=m.QO;const Ve=function(e,t){return Array.from(u.uI.querySelectorAll(`${e}[${Ie}]`)).filter((e=>(e.getAttribute(Ie)||"").split(",").map((e=>e.trim())).every((e=>(0,w.Z)(t,e)))))},Ae=e=>{Ve("iframe",e).filter((e=>!e.src)).forEach((e=>{e.src=e.getAttribute("data-src")||"",e.removeAttribute("data-src")}))},Te=["application/javascript","text/javascript"],Pe=t=>{const n=(0,U.Z)("script");Array.from(t.attributes).forEach((e=>{"data-src"===e.name?n.src=e.value:n.setAttribute(e.name,e.value)})),n.text=t.innerHTML,n.type=Te[0];try{t.parentNode.replaceChild(n,t)}catch(s){(0,e.cl)(s)}},Oe=e=>{Ve("script",e).filter((e=>"text/plain"===e.type)).forEach(Pe)};var ke=n(1873);const Ne=`${m.o$}-scripts`,De=`${m.o$}-script-`,Me=e=>{let t=x(Ne);t||(t=(0,U.Z)("div"),t.id=Ne,u.uI.body.appendChild(t)),t.style.display="none";const n=`${De}${e.id}`;if(t.querySelector("#"+n))return;const s=(0,U.Z)("div");s.id=n,s.innerHTML=e.content,t.appendChild(s);[...Array.from(s.querySelectorAll("script"))].map(Pe)},Re=e=>{const t=Array.from(u.uI.querySelectorAll(`[${m.xC}-script="${e.consent_key}"]`));if(t.length)for(let n=0;n{},$e={[ke.yj]:Me,[ke.QE]:Re,[ke.if]:Qe,[ke.I$]:Qe,[ke.Ko]:Qe};{const e=n(7299).Z;$e[ke.if]=e}const Fe=(t,n)=>{try{const e=n.scripts;for(const s of e){if(n.isGranularPolicy&&!s.consent_key||!s.id)continue;if(!(0,K.Z)(s,t,n.consentPolicy))continue;const e=$e[s.integration]||Qe;(0,Ue.Z)(e)&&e(s)}}catch(s){(0,e.OM)(s)}},xe=(e,t,s)=>{try{Fe(e,t);const r=k.bd.filter((n=>(0,Se.Z)(n,e,t.consentPolicy,t.scripts)));{const{getAutoblockInstance:r}=n(5982),o=r();if(s&&!t.isGranularPolicy){const t=[];s.autoblock.filter((t=>t.consent_keys.every((t=>!!e[t])))).forEach((e=>t.push(...e.urls))),t.length>0&&o.unblock(t)}}Oe(r),Ae(r)}catch(r){(0,a.Z)(r)}},He=()=>{const[e,t]=(0,_e.eJ)(u.X6.location.pathname);return(0,_e.d4)((()=>{const n=u.X6.eComEventTarget;if(!n)return;const s=n=>{const s=n.detail.url;s!==e&&t(s)};return(0,R.Z)(n,"pageview",s),()=>(0,Q.Z)(n,"pageview",s)}),[e]),e};var Ge=n(3825);const Be=()=>{const e=He(),{hasConsented:t,userConsent:s,preConsent:o}=(0,Ze.Z)(),{widgetConfig:i,preloadSettings:a}=(0,Ee.Z)();return(0,_e.d4)((()=>{const e=()=>xe(t?s:o,i,a);return e(),(0,R.Z)(u.X6,Ge.W,e),()=>(0,Q.Z)(u.X6,Ge.W,e)}),[t,s,o,i,e,a]),(0,_e.d4)((()=>{n.e(560).then(n.bind(n,8560))}),[]),r.QV};var Xe=n(6996),je=n(3392),Ye=n(7657),We=n(3011);const qe=()=>{const{stealthMode:e}=s.default,{changePanelTab:t,widgetConfig:n}=(0,Ee.Z)(),o=(0,Ze.Z)(),[i,a]=(0,_e.eJ)(!1),{userLang:c,setUserLang:l}=(0,We.Z)();return(0,_e.d4)((()=>{u.X6[m.W$]=(0,Xe.p)({setPanelTab:t,consent:o,widgetConfig:n,stealthMode:e,fetchLatestScan:()=>(0,Ye.Z)(c,n.version),setUserLang:l}),i||(a(!0),(0,je.Z)()),u.X6.cookiefirst_show_settings=u.X6[m.W$].openPanel}),[i,t,o,c,e,n,l]),r.QV};var Ke=n(3672);const ze={nb:"no",nn:"no"},Je=function(){let e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")||"";return(0,w.Z)(e,"-")?e=e.split("-")[0]:(0,w.Z)(e,"_")&&(e=e.split("_")[0]),2!==e.length?"":ze[e]||e},et=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.QV,n=arguments.length>2?arguments[2]:void 0;if(!e.length)return r.QV;const s=t=>(0,w.Z)(e,t),o=new URL(u.X6.location.href).searchParams.get(m.Ep);if(o){const e=Je(o);if(s(e))return e}if(n){const e=`${m.o$}-user-lang`,t=(0,b.Z)(e,r.QV);if(t&&s(t))return t}if(t){if("inherit"===t){const e=Je(u.uI.documentElement.lang||"");if(s(e))return e}const e=Je(t);if(s(e))return e}const i=navigator;let a=[];i.languages&&a.push(...Array.from(i.languages)),a.push(i.userLanguage||i.language),a=a.filter((e=>(0,F.Z)(e))).map((e=>e.toLowerCase()));for(let r=0;r{const r=(0,i.Z)(`${t}/lang-widget-${n}.json`,s);return(0,e.cl)("load translation file for "+n+" from "+r),(0,l.Z)(((t,s)=>{(0,o.Z)(r).then((s=>{let[r]=s;(0,e.cl)("init lang: "+n),t(r)}),(t=>{(0,e.cl)(new Error(nt+"("+n+")")),s(t)}))}))},rt=(t,n,s,r)=>(0,l.Z)((o=>{st(t,s||"",r||(0,$.Z)()).then((e=>o(e||{})),(s=>{(0,a.Z)(s),st(t,n[0],r||(0,$.Z)()).then((e=>o(e||{})),(t=>{(0,e.cl)(nt),(0,a.Z)(t),o({})}))}))}));var ot=n(4948);const it=e=>{let{children:t=r.QV}=e;const{dir:n,forcedLang:o}=s.default,{widgetConfig:i}=(0,Ee.Z)(),[a,c]=(0,_e.eJ)(r.Dv),[l,u]=(0,_e.eJ)({}),d=(0,_e.Ye)((()=>i.languages.map((e=>e.value))),[i.languages]),[p,h]=(0,_e.eJ)(et(d,o,i.showLanguageSwitcher)||d[0]);(0,_e.d4)((()=>{rt(n||"",i.languages.map((e=>e.value)),p,i.version).then((e=>{u(e||{}),c(r.uX)}))}),[p]);const f=(0,_e.Ye)((()=>(0,tt.ZP)(p)),[p]);if(!a)return r.QV;return(0,ve.tZ)(Ke.Z.Provider,{value:{userLang:p,t:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const s=(0,F.Z)(n)?n:"",r=(0,C.Z)(t),o=(0,ot.Z)(l,e)||s;if(!(0,w.Z)(o,"{{")||!r.length)return o;let i=o;for(let a=r.length-1;a>=0;a--){const e=r[a],n=t[e];i=i.replace(`{{${e}}}`,n)}return i},setUserLang:e=>{if(!(0,w.Z)(d,e))throw new Error("New language must be one of the configured locales for this domain: "+d.join(", "));h(e),(0,A.Z)(m.Ep,e)},textDirection:f},children:t})};var at=n(9475);const ct=e=>e.scripts.reduce(((e,t)=>(e[t.consent_key]={unique_service_uuid:t.unique_service_uuid,name:t.name,categories:t.categories},e)),{}),lt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const s=[];n.isGranularPolicy?s.push(...n.scripts.map((e=>e.consent_key))):s.push(...k.bd);for(let r=0;r{if(n.isGranularPolicy)for(const s of n.scripts){const n=s.consent_key;if(t[n]&&!e[n])return!0}else for(let s=0;s0&&void 0!==arguments[0]?arguments[0]:"";(0,A.Z)(m.MZ,e)};var pt=n(5383),ht=n(7179);const ft=`${m.OH}_consent_action`,gt=()=>{const e=r.QV;(0,ht.Z)(ft,e)};var _t=n(3116),vt=n(5726),mt=n(6667),yt=n(9680);const bt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,P.B)();if((0,mt.Z)(n)&&!n.tcfEnabled)return(0,yt.Z)(n.bulkConsent),(0,D.Z)(),r.uX;if(!(0,_.Z)(e)||"number"!==typeof t||!(0,_.Z)(n))return r.Dv;const s=n.reconsent,o=s.after,i=s.check,a=s.categories.filter((e=>(0,w.Z)(k.bd,e)));if(!o||"number"!==typeof o)return r.Dv;if(!a.length)return r.Dv;if(!((0,M.Z)()-t>=o*se.i))return r.Dv;return!(()=>{const t=t=>(0,Se.Z)(t,e,n.consentPolicy,n.scripts);return"ALL"===i?a.every(t):a.some(t)})()},Ct=(e,t)=>{const n={};return e.isGranularPolicy?e.scripts.forEach((e=>{n[e.consent_key]=(0,K.Z)(e,{...t},N.hs)})):k.bd.forEach((e=>{n[e]=(0,Se.Z)(e,{...t},N.hs)})),Object.freeze(n)},Et=`${m.OH}_consent_accept_all`,wt=()=>{const e=r.QV;(0,ht.Z)(Et,e)},Zt=`${m.OH}_tcf_log_consent_to_api`,Lt=e=>{const t={...e};(0,ht.Z)(Zt,t)},St=`${m.OH}_denied_action`,It=()=>{const e=r.QV;(0,ht.Z)(St,e)},Vt=e=>{const t=e.consentLifetime||se.z,n=(0,M.Z)()+t;(0,re.Z)(m.Q8,m.fx,n,e.bulkConsent)},At=()=>u.X6.location.reload(),Tt=t=>{const{widgetConfig:n,visitorCountry:s,visitorRegion:o}=(0,Ee.Z)(),i=n.bulkConsent,c=n.scripts,u=n.isGranularPolicy,[d,p]=(0,_e._Y)((t=>{const{isGranularPolicy:n,scripts:s}=t;return(t,o)=>{switch(o.type){case 1:{const{script:s,shouldBeAccepted:r}=o.payload,{consent_key:i}=s;return n&&i&&!(0,w.Z)(s.categories,k.a3)?((0,e.OM)("Toggle script",i),{...t,tempConsent:{...t.tempConsent,[i]:r}}):t}case 0:{const{category:r,shouldBeAccepted:i}=o.payload;if((0,e.OM)("Toggle category",r,i),r===k.a3)return t;if(n){const e=s.filter((e=>(0,w.Z)(e.categories,r)&&!(0,w.Z)(e.categories,k.a3)));return{...t,tempConsent:e.reduce(((e,t)=>({...e,[t.consent_key]:!!i})),t.tempConsent)}}return{...t,tempConsent:{...t.tempConsent,[r]:!!i}}}case 3:return{...t,isSavingConsent:r.uX};case 4:{const{consent:e,timestamp:n}=o.payload;return{...t,consentTimestamp:n,tempConsent:e,userConsent:e,hasConsented:r.uX,isForcingReconsent:r.Dv,isSavingConsent:r.Dv}}case 2:return{...t,visitorId:o.payload};case 5:return{...t,isWithdrawing:!0};case 6:return{...t,showWithdrawModal:o.payload};case 8:return{...t,isForcingReconsent:o.payload};default:return t}}})(n),(t=>{const{prevConsent:n,prevConsentTimestamp:s,visitorId:o,widgetConfig:i}=t,a={consentTimestamp:null,userConsent:{},baseConsent:{},preConsent:{},tempConsent:{},hasConsented:r.Dv,isSavingConsent:r.Dv,isWithdrawing:r.Dv,showWithdrawModal:r.Dv,isForcingReconsent:r.Dv,visitorId:null};return a.baseConsent=Ct(i,i.baseConsent),a.preConsent=Ct(i,i.preConsent),n?(a.userConsent={...n},a.tempConsent={...n},a.visitorId=o||r.QV,a.consentTimestamp=s||r.QV,a.hasConsented=r.uX,s&&bt(n,s,i)&&((0,e.OM)("forcing reconsent"),a.isForcingReconsent=r.uX),a):(a.tempConsent={...a.baseConsent},a)})({...t,widgetConfig:n}));(0,_e.d4)((()=>{const e=d.hasConsented;(0,_t.ZP)(e?d.userConsent:d.preConsent,e,n)}),[]);const h=(e,t)=>{p({type:e,payload:t})},f=e=>{h(2,e),dt(e)},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N.mX,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.QV;return(0,l.Z)((r=>{(0,vt.Z)(t,e,d.visitorId,n.version,s,o,n.consentPolicy,i).then((e=>{e&&f(e)}),a.Z).finally(r)}))},_=(e,t,n,r)=>(0,l.Z)(((a,c)=>{t===N.qD?((0,D.Z)(r.bulkConsent),r.bulkConsent.id&&Vt(r)):oe(e,n,r);const l=[];i.id&&l.push(J(i,{action:t,consent:e,timestamp:n,type:r.consentType}));const u=ct(r);r.tcfEnabled?Lt({consent:e,userAction:t,visitorId:d.visitorId,configVersion:r.version,visitorCountry:s,visitorRegion:o,consentPolicy:r.consentPolicy,granularMetadata:u}):l.push(g(t,e,u)),Promise.all(l).then((()=>a()),c)})),v=t=>(0,l.Z)((i=>{gt();const c={...t};d.tempConsent={...t};const l=d.hasConsented,u=lt(c,d.userConsent,n),p=l?N.gl:N.mX;if(l&&u&&!d.isForcingReconsent){if((0,e.OM)("Skip consent log, same consent"),n.tcfEnabled){const e=ct(n);Lt({consent:c,userAction:p,visitorId:d.visitorId,configVersion:n.version,visitorCountry:s,visitorRegion:o,consentPolicy:n.consentPolicy,granularMetadata:e,hasNormalConsentChanged:r.Dv})}return i()}(0,e.OM)("Save consent",c);const f=ut(c,l?d.userConsent:d.preConsent,n);h(3,r.QV);const g=(0,M.Z)();_(c,p,g,n).catch(a.Z).finally((()=>{if(h(4,{consent:c,timestamp:g}),!(f||l&&!u))return(0,pt.ZP)(c,r.uX,n),i();At()}))})),m=e=>{const t=c.filter((t=>(0,w.Z)(t.categories,k.a3)||(0,w.Z)(e,t.consent_key)));if(u){const e=t.reduce(((e,t)=>({...e,[t.consent_key]:r.uX})),{...d.userConsent});return v(e)}{const e=t.reduce(((e,t)=>{for(let n=0;n{const t=c.filter((t=>(0,w.Z)(e,t.consent_key)));if(u){const e=t.reduce(((e,t)=>({...e,[t.consent_key]:r.Dv})),{...d.userConsent});return v(e)}{const e=t.reduce(((e,t)=>{for(let n=0;n{if(u){const t=c.filter((t=>{for(let n=0;ne.consent_key));return m(t)}{const t=e.reduce(((e,t)=>({...e,[t]:r.uX})),{...d.userConsent});return v(t)}},C=e=>{if(u){const t=c.filter((t=>{for(let n=0;ne.consent_key));return y(t)}{const t=e.reduce(((e,t)=>({...e,[t]:r.Dv})),{...d.userConsent});return v(t)}},E=e=>(0,K.Z)(e,d.tempConsent,n.consentPolicy),Z=e=>(0,Se.Z)(e,d.tempConsent,n.consentPolicy,c);return[{...d,handleConsent:v,handleWithdraw:()=>(0,l.Z)((e=>{if(!d.hasConsented)return e();h(5,r.QV),(0,yt.Z)(n.bulkConsent),_({},N.qD,(0,M.Z)(),n).catch(a.Z).finally(At)})),acceptAll:()=>{if(wt(),u){const e=c.map((e=>e.consent_key));return m(e)}return b(n.cookieCategories)},acceptCategories:b,declineCategories:C,acceptServices:m,declineServices:y,acceptDefault:()=>v(d.baseConsent),acceptSelected:()=>v(d.tempConsent),deny:()=>{const e=u?k.qc:k.Li;return It(),v(e)},toggleScript:e=>{h(1,{script:e,shouldBeAccepted:!E(e)})},toggleCategory:e=>{h(0,{category:e,shouldBeAccepted:!Z(e)})},setVisitorId:f,setIsForcingReconsent:e=>{h(8,e)},toggleWithdrawModal:e=>{h(6,e)},isScriptAccepted:E,isCategoryAccepted:Z}]},Pt=e=>{let{children:t=r.QV,prevConsent:n=r.QV,prevConsentTimestamp:s=r.QV,visitorId:o}=e;const[i]=Tt({prevConsent:n,prevConsentTimestamp:s,visitorId:o});return(0,ve.tZ)(at.Z.Provider,{value:i,children:t})},Ot=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e||!t)return r.QV;const n=x(e);if(n)return n;const s=u.uI.body.querySelectorAll("*");for(let r=0;r`),Ot(e,t)}}return r.QV},kt=Ot,Nt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=He(),[s,r]=(0,_e.eJ)((0,$.Z)());(0,_e.d4)((()=>{const e=()=>r((0,$.Z)());return(0,R.Z)(u.X6,Ge.W,e),()=>(0,Q.Z)(u.X6,Ge.W,e)}),[]);return(0,_e.Ye)((()=>kt(e,t)),[e,t,n,s])},Dt=be((()=>Promise.all([n.e(207),n.e(441),n.e(735)]).then(n.bind(n,2723)))),Mt=`${m.Bs}-policy-page`,Rt=`[${m.o$}_declaration]`,Ut=`${m.Bs}-policy-cookie-list`,Qt=`[${m.o$}_policy_cookie_list]`,$t=`${m.Bs}-cookies-table`,Ft=`[${m.o$}_cookies_table]`,xt=`${m.Bs}-cookies-list`,Ht=`[${m.o$}_cookies_list]`,Gt=()=>{const e=[Nt(Mt,Rt),Nt(Ut,Qt),Nt($t,Ft),Nt(xt,Ht)];return 0===e.filter(Boolean).length?r.QV:(0,ve.tZ)(Dt,{containers:e})};var Bt=n(9908);const Xt=e=>{let{condition:t,wrapper:n,children:s}=e;return t?n(s):s},jt=e=>{let{settings:n}=e;const{apiKey:r}=s.default,{prevConsent:o,visitorId:i,prevConsentTimestamp:a,...c}=n;if(!n||!r)throw new Error(t.Aw);const l=c.widgetConfig,{TCFApi:u,TCFUserConsentProvider:d,PublicApiTCF:p}=(0,Bt.Z)(l);return(0,ve.tZ)(me,{config:c,children:(0,ve.tZ)(it,{children:(0,ve.tZ)(Pt,{prevConsentTimestamp:a,prevConsent:o,visitorId:i,...c,children:(0,ve.tZ)(Xt,{condition:l.tcfEnabled,wrapper:e=>(0,ve.tZ)(d,{vendorsList:l.tcfVendors,gatpList:l.acVendors,tcfCountry:l.tcfCountry,prevConsent:c.tcfPrevConsent,prevConsentTimestamp:c.tcfPrevConsentTimestamp,widgetConfig:l,children:e}),children:(0,ve.BX)(ve.HY,{children:[u&&l.tcfEnabled?(0,ve.tZ)(u,{}):(0,ve.tZ)(ve.HY,{}),(0,ve.tZ)(Le,{}),(0,ve.tZ)(Gt,{}),l.tcfEnabled?p&&(0,ve.tZ)(p,{}):(0,ve.tZ)(qe,{}),(0,ve.tZ)(Be,{})]})})})})})};var Yt=n(3987);const Wt=e=>{const t=u.uI.body;t?(0,Yt.sY)((0,ve.tZ)(jt,{settings:e}),t):setTimeout((()=>Wt(e)),1)},qt=Wt,Kt="__COOKIE_BANNER_INIT_TIME__";window[Kt]||(window[Kt]=Date.now(),(0,e.cl)("start"),he().then((e=>{qt(e)})))})()})();