@c15t/browser 3.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +64 -0
- package/CHANGELOG.md +27 -0
- package/README.md +128 -0
- package/dist/861.js +1079 -0
- package/dist/925.js +649 -0
- package/dist/c15t.css +213 -0
- package/dist/c15t.devtools.js +1 -0
- package/dist/c15t.headless.js +1 -0
- package/dist/c15t.iab.css +190 -0
- package/dist/c15t.iab.js +221 -0
- package/dist/c15t.js +30 -0
- package/dist/devtools.js +11 -0
- package/dist/headless.js +17 -0
- package/dist/iab.js +784 -0
- package/dist/index.js +17 -0
- package/dist-types/auto-init.d.ts +42 -0
- package/dist-types/client.d.ts +51 -0
- package/dist-types/deferred.d.ts +13 -0
- package/dist-types/devtools.d.ts +32 -0
- package/dist-types/entries/cdn-devtools.d.ts +13 -0
- package/dist-types/entries/cdn-headless.d.ts +8 -0
- package/dist-types/entries/cdn-iab.d.ts +1 -0
- package/dist-types/entries/cdn.d.ts +8 -0
- package/dist-types/gated-scripts.d.ts +35 -0
- package/dist-types/generated/iab-styles.d.ts +144 -0
- package/dist-types/generated/styles.d.ts +137 -0
- package/dist-types/global.d.ts +112 -0
- package/dist-types/headless.d.ts +41 -0
- package/dist-types/iab/mount.d.ts +8 -0
- package/dist-types/iab/preferences.d.ts +9 -0
- package/dist-types/iab/styles.d.ts +2 -0
- package/dist-types/iab/surface.d.ts +4 -0
- package/dist-types/iab/vendor-disclosures.d.ts +14 -0
- package/dist-types/iab.d.ts +20 -0
- package/dist-types/index.d.ts +43 -0
- package/dist-types/transports/manifest.d.ts +62 -0
- package/dist-types/transports/offline.d.ts +18 -0
- package/dist-types/types.d.ts +290 -0
- package/dist-types/ui/actions.d.ts +29 -0
- package/dist-types/ui/banner.d.ts +13 -0
- package/dist-types/ui/branding.d.ts +25 -0
- package/dist-types/ui/copy.d.ts +28 -0
- package/dist-types/ui/dialog.d.ts +14 -0
- package/dist-types/ui/dom.d.ts +48 -0
- package/dist-types/ui/mount.d.ts +27 -0
- package/dist-types/ui/surface.d.ts +43 -0
- package/dist-types/ui/trigger.d.ts +14 -0
- package/dist-types/ui/widget.d.ts +27 -0
- package/dist-types/version.d.ts +1 -0
- package/docs/README.md +64 -0
- package/docs/frameworks/javascript/script-loader.md +47 -0
- package/docs/frameworks/javascript/script-tag.md +375 -0
- package/docs/integrations/adobe-analytics.md +294 -0
- package/docs/integrations/ahrefs-analytics.md +291 -0
- package/docs/integrations/amplitude.md +292 -0
- package/docs/integrations/building-integrations.md +47 -0
- package/docs/integrations/clearbit.md +291 -0
- package/docs/integrations/cloudflare-web-analytics.md +292 -0
- package/docs/integrations/crisp.md +294 -0
- package/docs/integrations/databuddy.md +311 -0
- package/docs/integrations/fathom-analytics.md +293 -0
- package/docs/integrations/google-maps.md +384 -0
- package/docs/integrations/google-tag-manager.md +306 -0
- package/docs/integrations/google-tag.md +305 -0
- package/docs/integrations/heap.md +292 -0
- package/docs/integrations/hightouch.md +293 -0
- package/docs/integrations/hotjar.md +292 -0
- package/docs/integrations/intercom.md +285 -0
- package/docs/integrations/linkedin-insights.md +291 -0
- package/docs/integrations/logrocket.md +293 -0
- package/docs/integrations/matomo-analytics.md +316 -0
- package/docs/integrations/meta-pixel.md +285 -0
- package/docs/integrations/microsoft-clarity.md +292 -0
- package/docs/integrations/microsoft-uet.md +291 -0
- package/docs/integrations/mixpanel-analytics.md +295 -0
- package/docs/integrations/openai-pixel.md +441 -0
- package/docs/integrations/overview.md +111 -0
- package/docs/integrations/pirsch.md +295 -0
- package/docs/integrations/plausible-analytics.md +295 -0
- package/docs/integrations/posthog.md +397 -0
- package/docs/integrations/promptwatch.md +291 -0
- package/docs/integrations/reddit-pixel.md +294 -0
- package/docs/integrations/rudderstack.md +328 -0
- package/docs/integrations/rybbit-analytics.md +296 -0
- package/docs/integrations/segment.md +292 -0
- package/docs/integrations/snapchat-pixel.md +293 -0
- package/docs/integrations/tiktok-pixel.md +291 -0
- package/docs/integrations/umami-analytics.md +295 -0
- package/docs/integrations/vercel-analytics.md +293 -0
- package/docs/integrations/x-pixel.md +291 -0
- package/docs/integrations/youtube.md +405 -0
- package/package.json +117 -0
- package/readme.json +44 -0
package/dist/c15t.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
(()=>{var t;let e,o,n,i,r,a,s,c=function(t){return!(!t||"object"!=typeof t||Array.isArray(t))},l=function(t,e){let o={};for(let n of["cookieBanner","consentManagerDialog","common","consentTypes","frame","legalLinks","iab","rights"]){let i=t[n],r=e[n];(i||r)&&(o[n]=function t(e,o){if(!e&&!o)return{};let n={};if(e)for(let t of Object.keys(e))n[t]=e[t];if(!o)return n;for(let i of Object.keys(o)){let r=o[i];if(void 0===r)continue;let a=e?e[i]:void 0;c(a)&&c(r)?n[i]=t(a,r):n[i]=r}return n}(i,r))}return e.common?.acknowledge===void 0&&e.common?.dismiss!==void 0&&o.common&&(o.common.acknowledge=e.common.dismiss),o},d=function(t){if(!t)return[];let e=t.split(",").map((t,e)=>{let[o,...n]=t.split(";"),i=o?.trim().toLowerCase();if(!i)return null;let r=1;for(let t of n){let e=t.trim().toLowerCase();if(!e.startsWith("q="))continue;let o=Number.parseFloat(e.slice(2));Number.isFinite(o)&&(r=o);break}return{code:i.split("-")[0]??i,index:e,quality:r}}).filter(t=>!!t).sort((t,e)=>e.quality!==t.quality?e.quality-t.quality:t.index-e.index),o=new Set,n=[];for(let t of e)o.has(t.code)||(o.add(t.code),n.push(t.code));return n},u=function(t,e){let o=e?.fallback??"en";if(!t.length)return o;for(let o of d(e?.header))if(t.includes(o))return o;return o},p=["x-c15t-country","cf-ipcountry","x-vercel-ip-country","x-amz-cf-ipcountry","x-country-code","x-country"],g=["x-c15t-region","cf-region-code","x-vercel-ip-country-region","x-region-code"],h=["x-c15t-gpc","sec-gpc"],f=[...p,...g,"accept-language",...h],m=function(t,e){return"function"==typeof t.get?t.get(e)??void 0:t[e]??t[e.toLowerCase()]},b=function(t,e){for(let o of e){let e=m(t,o);if(e)return e}},v=function(t,e={}){var o;let n=m(t,"accept-language");return{country:e.country??b(t,p),gpc:e.gpc??("1"===(o=b(t,h))||"0"!==o&&void 0),language:e.language??d(n)[0],region:e.region??b(t,g)}},y=function(){if("u"<typeof window)return!1;try{let t=window.navigator.globalPrivacyControl;return!0===t}catch{return!1}},w=/^https?:\/\//u,k=function(t){let e=t.toString();return e.endsWith("/")?e.slice(0,-1):e},x=function(t){let e={};return t?.gpc!==void 0&&(e["x-c15t-gpc"]=t.gpc?"1":"0"),t?.country&&(e["x-c15t-country"]=t.country),t?.region&&(e["x-c15t-region"]=t.region),t?.language&&(e["accept-language"]=t.language),e},I=function(t){try{let e="/"===t?t:t.endsWith("/")?t.slice(0,-1):t;if(w.test(e))return k(new URL(e));if(!e.startsWith("/"))return;return k(new URL(e,window.location.origin))}catch{return}},S=function(t){let e=I(t.backendURL);if(!e)return;let o=y();return{backendURL:e,country:t.overrides?.country,credentials:t.credentials??"include",gpc:t.overrides?.gpc??("boolean"==typeof o&&o),language:t.overrides?.language,region:t.overrides?.region}},A="__c15tInitialDataPromises",j=function(){if(!("u"<typeof window))return window},P=function(t){let e=j();if(!e)return;let o=S({backendURL:t.backendURL,credentials:t.credentials,overrides:t.overrides});if(!o)return;let n=Object.values(e[A]??{}).filter(t=>{let{requestContext:e}=t;return!!e&&e.backendURL===o.backendURL&&e.gpc===o.gpc&&(void 0===o.country||e.country===o.country)&&(void 0===o.region||e.region===o.region)&&(void 0===o.language||e.language===o.language)&&(void 0===e.credentials||e.credentials===o.credentials)&&e.country===(o.country??null)&&e.region===(o.region??null)&&e.language===(o.language??null)});return 1===n.length?n[0]:void 0},C=function(t){return t.toLowerCase().split("-")[0]??t.toLowerCase()},D=function(t,e){let o;return t.policyResolution?.status==="matched"?{policyId:o}=t.policyResolution:t.policyResolution?.status==="no-match"&&(o=null),{country:t.location.countryCode,fingerprint:t.policyResolution?.status==="matched"?t.policyResolution.fingerprints.policy:void 0,gpc:e,language:t.translations.language,policyId:o,region:t.location.regionCode}},O=function(t,e){let o=t.decisionInputs??e;if(!t.policySnapshotToken&&o&&void 0!==o.policyId&&(null===o.policyId||o.policyId&&o.fingerprint))return{country:o.country,fingerprint:o.fingerprint,gpc:o.gpc,language:o.language,policyId:o.policyId,region:o.region}},T=function(t){let e=t?.["x-c15t-gpc"]??t?.["sec-gpc"];return"1"===e||"0"!==e&&void 0},L=t=>{if(null===t||"object"!=typeof t||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||null===e},R=(t,e)=>Object.getOwnPropertyNames(t).every(t=>e.includes(t)),z=t=>Array.isArray(t)&&t.every(t=>"string"==typeof t),$=(t,e)=>void 0===t||e(t),E=t=>"boolean"==typeof t,M=t=>"strict"===t||"permissive"===t,V=t=>L(t)&&R(t,["allowedActions","primaryActions","layout","direction"])&&$(t.allowedActions,z)&&$(t.primaryActions,z)&&$(t.direction,t=>"row"===t||"column"===t)&&$(t.layout,t=>Array.isArray(t)&&t.every(t=>"string"==typeof t||z(t))),U=t=>L(t)&&R(t,["categories","expiryDays","gpc","preselectedCategories","scopeMode"])&&$(t.categories,z)&&$(t.preselectedCategories,z)&&$(t.scopeMode,M)&&$(t.expiryDays,t=>"number"==typeof t&&Number.isFinite(t))&&$(t.gpc,E),q=t=>L(t)&&R(t,["storeIp","storeUserAgent","storeLanguage"])&&$(t.storeIp,E)&&$(t.storeUserAgent,E)&&$(t.storeLanguage,E),_=t=>L(t)&&R(t,["mode","banner","dialog"])&&$(t.mode,t=>"none"===t||"banner"===t||"dialog"===t)&&$(t.banner,V)&&$(t.dialog,V),N=["necessary","functionality","experience","measurement","marketing"],B=["experience","functionality","marketing","measurement"],F=["opt-in","opt-out","iab","none"],G=["choice","notice","none"],J=["disclosure","preferences","opt-out"],H={iab:["choice"],none:["none"],"opt-in":["choice"],"opt-out":["choice","notice","none"]},W=new Set(B),X=new Set(F),K=new Set(G),Q=new Set(["accept","reject","customize"]),Y=new Set(J),Z=["legacyMaterial","id","match","model","prompt","categories","scopeMode","preselectedCategories","actions","rights","validity","privacySignals","copyRevision","i18n","proof","review"],tt=["countries","regions","regionFallbacks","isDefault","fallback"],te=["country","region"],to=["choiceDays","noticeDays"],tn=["gpc"],ti=["denyCategories"],tr=["language","messageProfile"],ta=["storeIp","storeUserAgent","storeLanguage"],ts=["status","reviewedOn","reviewBy","sources","assumptions"],tc=function(t){return W.has(t)},tl=function(t){return"string"==typeof t&&X.has(t)},td=function(t){return"string"==typeof t&&K.has(t)},tu=function(t){return"string"==typeof t&&Y.has(t)},tp=function(t,e){return H[t].includes(e)},tg=function(t){return[...new Set(t)].sort((t,e)=>t.localeCompare(e))},th=function(t){if("object"!=typeof t||null===t||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||null===e},tf=function(t,e){return Object.hasOwn(t,e)?t[e]:void 0},tm=function(t){return Array.isArray(t)&&t.every(t=>"string"==typeof t)},tb=function(t,e){return"string"==typeof t&&t.trim()?`'${t.trim()}'`:`at index ${e}`},tv=function(t,e,o,n){for(let i of Object.getOwnPropertyNames(e).filter(t=>!o.includes(t)))t.errors.push(`Policy ${t.label} ${n} has unknown field "${i}".`)},ty=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"model"),r=tf(n,"prompt");tl(i)?td(r)?tp(i,r)||e.push(`Policy ${o} model "${i}" allows prompts [${H[i].join(", ")}], received "${r}".`):e.push(`Policy ${o} prompt must be one of ${G.join(", ")}.`):e.push(`Policy ${o} model must be one of ${F.join(", ")}.`)},tw=function(t,e,o){let{errors:n,label:i,rule:r}=t,a=tf(r,e);if(void 0!==a){if(!tm(a))return void n.push(`Policy ${i} ${e} must be an array of strings.`);for(let t of a){let r=t.trim();"necessary"===r||o.allowWildcard&&"*"===r||tc(r)||n.push(`Policy ${i} ${e} has unknown category "${t}". Known categories: ${N.join(", ")}.`)}}},tk=function(t){if(!tm(t))return[...B];let e=t.map(t=>t.trim());if(e.includes("*"))return[...B];let o=tg(e.filter(tc));return o.length>0?o:[...B]},tx=function(t){let{errors:e,label:o,rule:n}=t;tw(t,"categories",{allowWildcard:!0});let i=tf(n,"scopeMode");void 0===i&&tk(tf(n,"categories")).length<B.length&&e.push(`Policy ${o} must set scopeMode to "strict" or "permissive" when categories selects only part of the optional categories.`),void 0!==i&&"strict"!==i&&"permissive"!==i&&e.push(`Policy ${o} scopeMode must be "strict" or "permissive".`);let r=tf(n,"preselectedCategories"),a=tf(n,"model");if("iab"===a||"none"===a){void 0!==r&&e.push(`Policy ${o} uses model "${a}" and cannot define preselectedCategories.`);return}if(tw(t,"preselectedCategories",{allowWildcard:!1}),tm(r)){let t=tk(tf(n,"categories"));for(let n of r){let i=n.trim();tc(i)&&!t.includes(i)&&e.push(`Policy ${o} preselectedCategories "${i}" is outside the policy scope.`)}}},tI=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"actions");if(void 0!==i){if("choice"!==tf(n,"prompt"))return void e.push(`Policy ${o} actions can only be configured for prompt "choice".`);if(!tm(i))return void e.push(`Policy ${o} actions must be an array of strings.`);for(let t of i)Q.has(t)||e.push(`Policy ${o} actions has unknown action "${t}". Choice prompts accept accept, reject, customize.`);for(let t of["accept","reject"])i.includes(t)||e.push(`Policy ${o} actions must include "${t}". A choice prompt cannot drop it.`)}},tS=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"rights");if(void 0!==i){if(!tm(i))return void e.push(`Policy ${o} rights must be an array of strings.`);for(let t of i)tu(t)||e.push(`Policy ${o} rights has unknown right "${t}". Known rights: ${J.join(", ")}.`)}},tA=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"validity");if(void 0!==i){if(!th(i))return void e.push(`Policy ${o} validity must be an object.`);for(let n of(tv(t,i,to,"validity"),to)){let t=tf(i,n);void 0===t||"number"==typeof t&&Number.isFinite(t)&&t>0&&Number.isSafeInteger(Math.round(864e5*t))&&864e5*t<=Number.MAX_SAFE_INTEGER||e.push(`Policy ${o} validity.${n} must be a finite number of days greater than zero.`)}}},tj=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"privacySignals");if(void 0===i)return;if(!th(i))return void e.push(`Policy ${o} privacySignals must be an object.`);tv(t,i,tn,"privacySignals");let r=tf(i,"gpc");if(void 0===r)return;if(!th(r))return void e.push(`Policy ${o} privacySignals.gpc must be an object.`);tv(t,r,ti,"privacySignals.gpc");let a=tf(r,"denyCategories");if(!tm(a))return void e.push(`Policy ${o} privacySignals.gpc.denyCategories must be an array of category names.`);let s=tk(tf(n,"categories")),c=new Set;for(let t of a){if("necessary"===t){e.push(`Policy ${o} privacySignals.gpc.denyCategories cannot deny "necessary".`);continue}if(!tc(t)){e.push(`Policy ${o} privacySignals.gpc.denyCategories has unknown category "${t}".`);continue}if(c.has(t)){e.push(`Policy ${o} privacySignals.gpc.denyCategories repeats "${t}".`);continue}c.add(t),s.includes(t)||e.push(`Policy ${o} privacySignals.gpc.denyCategories "${t}" is outside the policy scope.`)}},tP=function(t,e,o,n){let{errors:i,label:r,rule:a}=t,s=tf(a,e);if(void 0!==s){if(!th(s))return void i.push(`Policy ${r} ${e} must be an object.`);for(let a of(tv(t,s,o,e),o)){let t=tf(s,a);void 0!==t&&typeof t!==n&&i.push(`Policy ${r} ${e}.${a} must be a ${n}.`)}}},tC=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"review");if(void 0===i)return;if(!th(i))return void e.push(`Policy ${o} review must be an object.`);tv(t,i,ts,"review");let r=tf(i,"status");for(let t of("pending"!==r&&"reviewed"!==r&&e.push(`Policy ${o} review.status must be "pending" or "reviewed".`),["reviewedOn","reviewBy"])){let n=tf(i,t);void 0!==n&&"string"!=typeof n&&e.push(`Policy ${o} review.${t} must be a string.`)}for(let t of["sources","assumptions"]){let n=tf(i,t);void 0===n||tm(n)||e.push(`Policy ${o} review.${t} must be an array of strings.`)}},tD=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"copyRevision");void 0!==i&&"string"!=typeof i&&e.push(`Policy ${o} copyRevision must be a string.`),tP(t,"i18n",tr,"string"),tP(t,"proof",ta,"boolean"),tC(t);let r=tf(t.rule,"legacyMaterial");void 0===r||(t=>{if(!L(t)||!R(t,["input","policyFingerprint"])||"string"!=typeof t.policyFingerprint||!t.policyFingerprint)return!1;let{input:e}=t;return L(e)&&R(e,["model","consent","proof","ui"])&&"string"==typeof e.model&&["opt-in","opt-out","iab","none"].includes(e.model)&&$(e.consent,U)&&$(e.proof,q)&&$(e.ui,_)})(r)||t.errors.push(`Policy ${t.label} legacyMaterial must contain a frozen input and policyFingerprint.`)},tO=function(t,e){let{errors:o,label:n}=t;if(void 0!==e){if(!Array.isArray(e))return void o.push(`Policy ${n} match.regions must be an array.`);e.forEach((e,i)=>{if(!th(e))return void o.push(`Policy ${n} match.regions[${i}] must be an object.`);for(let r of(tv(t,e,te,`match.regions[${i}]`),te)){let t=tf(e,r);"string"==typeof t&&t.trim()||o.push(`Policy ${n} match.regions[${i}].${r} must be a non-empty string.`)}})}},tT=function(t){let e=tf(t,"countries"),o=tf(t,"regions"),n=tf(t,"regionFallbacks");return Array.isArray(e)&&e.length>0||Array.isArray(o)&&o.length>0||Array.isArray(n)&&n.length>0},tL=function(t){let{errors:e,label:o,rule:n}=t,i=tf(n,"match");if(!th(i))return void e.push(`Policy ${o} is missing the required 'match' object.`);for(let n of(tv(t,i,tt,"match"),["countries","regionFallbacks"])){let t=tf(i,n);void 0!==t&&(tm(t)?t.some(t=>!t.trim())&&e.push(`Policy ${o} match.${n} cannot contain empty codes.`):e.push(`Policy ${o} match.${n} must be an array of strings.`))}for(let n of(tO(t,tf(i,"regions")),["isDefault","fallback"])){let t=tf(i,n);void 0!==t&&"boolean"!=typeof t&&e.push(`Policy ${o} match.${n} must be a boolean.`)}!0===tf(i,"isDefault")||!0===tf(i,"fallback")||tT(i)||e.push(`Policy ${o} has no matcher. Add countries or regions, or set match.isDefault=true.`)},tR=function(t,e){if(!th(t))return[`Policy at index ${e} must be a plain object.`];let o=tf(t,"id"),n=tb(o,e),i={errors:[],label:n,rule:t};return tv(i,t,Z,"rule"),"string"==typeof o&&o.trim()||i.errors.push(`Policy ${n} is missing a non-empty id.`),tL(i),ty(i),tx(i),tI(i),tS(i),tA(i),tj(i),tD(i),i.errors},tz=function(t){let e=tf(t,"match");return th(e)?e:{}},t$=function(t,e){let o=[];t.filter(t=>!0===tf(tz(t),"isDefault")).length>1&&o.push("Only one default policy is allowed"),t.filter(t=>!0===tf(tz(t),"fallback")).length>1&&o.push("Only one fallback policy is allowed"),t.some(t=>"iab"===tf(t,"model"))&&e&&!0!==e.iabEnabled&&o.push('Policies using model="iab" require top-level iab.enabled=true');let n=new Map;return t.forEach((t,e)=>{let i=tf(t,"id"),r="string"==typeof i?i.trim():"";if(!r)return;let a=n.get(r);void 0===a?n.set(r,e):o.push(`Policy IDs must be unique. Duplicate id '${r}' found at indexes ${a} and ${e}.`)}),o},tE=function(t,e){let o=new Map,n=new Map;t.forEach((t,i)=>{let r=tz(t),a=tf(t,"id"),s="string"==typeof a&&a.trim()?a.trim():`policy_index_${i}`,c=tf(r,"countries");if(tm(c))for(let t of c){let n=t.trim().toUpperCase(),i=o.get(n);i?e.add(`Country matcher '${n}' appears in multiple policies (${i} and '${s}'). First match wins by array order.`):o.set(n,`'${s}'`)}let l=tf(r,"regions");if(Array.isArray(l))for(let t of l){if(!th(t))continue;let o=tf(t,"country"),i=tf(t,"region");if("string"!=typeof o||"string"!=typeof i)continue;let r=`${o.trim().toUpperCase()}-${i.trim().toUpperCase()}`,a=n.get(r);a?e.add(`Region matcher '${r}' appears in multiple policies (${a} and '${s}'). First match wins by array order.`):n.set(r,`'${s}'`)}})},tM=function(t){if(0===t.length)return[];let e=new Set,o=t.map(t=>tz(t));return o.some(t=>!0===tf(t,"isDefault"))||e.add("No default policy configured. Requests that do not match region/country resolve to no-match and use the safe opt-in choice fallback."),o.some(t=>!0===tf(t,"fallback"))||e.add("No fallback policy configured. If geo-location fails, resolution fails and uses the safe opt-in choice fallback. Mark a strict policy with match.fallback=true."),t.forEach((t,n)=>{let i=o[n]??{};!0===tf(i,"isDefault")&&tT(i)&&e.add(`Policy ${tb(tf(t,"id"),n)} is marked as default and also defines explicit matchers. Explicit matchers are ignored for default resolution.`)}),tE(t,e),[...e]},tV=function(t,e){if(!Array.isArray(t))return{errors:["Policy rules must be an array of policy objects."],warnings:[]};let o=t.flatMap((t,e)=>tR(t,e)),n=t.filter(th);return n.length===t.length&&o.push(...t$(n,e)),{errors:o,warnings:tM(n)}},tU=function(t,e){return"choice"===t?{allowed:tg([...e?[...e]:["accept","reject","customize"],"accept","reject"]),equivalent:[["accept","reject"]],required:["accept","reject"]}:"notice"===t?{allowed:["dismiss"],equivalent:[],required:["dismiss"]}:{allowed:[],equivalent:[],required:[]}},tq=function(t){if("none"===t)return[];let e=["disclosure","preferences"];return"opt-out"===t&&e.push("opt-out"),tg(e)},t_=function(t){if(t.i18n&&(t.i18n.language||t.i18n.messageProfile))return{...t.i18n.language&&{language:t.i18n.language},...t.i18n.messageProfile&&{messageProfile:t.i18n.messageProfile}}},tN=function(t,e){let o=new Set(t),n=new Set(e);return o.size===n.size&&[...o].every(t=>n.has(t))},tB=function(t){return new Set(t).size!==t.length},tF=function(t){let e=[],o=tU(t.prompt),{allowed:n,equivalent:i,required:r}=t.actions;return(tB(n)||tB(r))&&e.push("actions must not repeat an action"),tN(r,o.required)||e.push(`prompt "${t.prompt}" requires actions [${o.required.join(", ")}]`),r.every(t=>n.includes(t))||e.push("actions.allowed must include every required action"),"choice"===t.prompt?(n.every(t=>Q.has(t))||e.push("choice prompts allow only accept, reject and customize"),1===i.length&&tN(i[0]??[],["accept","reject"])||e.push("choice prompts require the accept/reject equivalence group")):(tN(n,o.allowed)||e.push(`prompt "${t.prompt}" allows actions [${o.allowed.join(", ")}]`),0!==i.length&&e.push(`prompt "${t.prompt}" has no equivalence groups`)),e},tG=function(t){return Number.isFinite(t)&&t>0&&t<=Number.MAX_SAFE_INTEGER},tJ=function(t){let e=[];t.id.trim()||e.push("id must be a non-empty string"),tp(t.model,t.prompt)||e.push(`model "${t.model}" does not allow prompt "${t.prompt}"`),tB(t.scope)&&e.push("scope must not repeat a category"),tB(t.preselectedCategories)&&e.push("preselectedCategories must not repeat a category"),("iab"===t.model||"none"===t.model)&&t.preselectedCategories.length>0&&e.push(`${t.model} rules cannot preselect categories`),t.preselectedCategories.every(e=>t.scope.includes(e))||e.push("preselectedCategories must be inside scope"),e.push(...tF(t)),tB(t.rights)&&e.push("rights must not repeat a right");let o=tq(t.model);o.every(e=>t.rights.includes(e))||e.push(`model "${t.model}" requires rights [${o.join(", ")}]`),tG(t.validity.choiceMs)&&tG(t.validity.noticeMs)||e.push("validity must be finite, positive and within the safe range");let n=t.privacySignals.gpc.denyCategories;return tB(n)&&e.push("privacySignals.gpc.denyCategories must not repeat a category"),n.every(e=>t.scope.includes(e))||e.push("privacySignals.gpc.denyCategories must be inside scope"),null===t.copyRevision||t.copyRevision.trim()||e.push("copyRevision must be null or a non-empty string"),e},tH=function(t){let e=tR(t,0);if(e.length>0)throw TypeError(e[0]);let o=t.copyRevision?.trim()||null,n=t_(t),i={actions:tU(t.prompt,t.actions),copyRevision:o,id:t.id.trim(),model:t.model,preselectedCategories:"iab"!==t.model&&"none"!==t.model&&t.preselectedCategories?tg(t.preselectedCategories.map(t=>t.trim()).filter(tc)):[],privacySignals:{gpc:{denyCategories:tg((t.privacySignals?.gpc?.denyCategories??[]).filter(tc))}},prompt:t.prompt,proof:{storeIp:t.proof?.storeIp===!0,storeLanguage:t.proof?.storeLanguage===!0,storeUserAgent:t.proof?.storeUserAgent===!0},rights:tg([...tq(t.model),...t.rights??[]]),scope:tk(t.categories),scopeMode:t.scopeMode??"permissive",validity:{choiceMs:(t.validity?.choiceDays??365)*864e5,noticeMs:(t.validity?.noticeDays??365)*864e5}};n&&(i.i18n=n);let r=tJ(i);if(r.length>0)throw TypeError(`Policy '${i.id}': ${r[0]}`);return i},tW=function t(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(e=>t(e)).join(",")}]`;let o=Object.entries(e).filter(([,t])=>void 0!==t).sort(([t],[e])=>t.localeCompare(e));return`{${o.map(([e,o])=>`${JSON.stringify(e)}:${t(o)}`).join(",")}}`},tX=function(t){let e=new TextEncoder().encode(t),o=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),n=8*e.length,i=64*Math.ceil((e.length+9)/64),r=new Uint8Array(i);r.set(e),r[e.length]=128;let a=new DataView(r.buffer);a.setUint32(i-8,Math.floor(n/0x100000000),!1),a.setUint32(i-4,n%0x100000000,!1);let s=new Uint32Array([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),c=new Uint32Array(64),l=t=>t>>>0,d=(t,e)=>t>>>e,u=(t,e)=>t>>>e|t<<32-e,p=(t,e)=>t&e,g=(t,e,o=0)=>(t^e^o)>>>0,h=(t,e)=>{let o=t[e];if(void 0===o)throw RangeError(`SHA-256 word ${e} is out of bounds`);return o};for(let t=0;t<i;t+=64){for(let e=0;e<16;e+=1)c[e]=a.getUint32(t+4*e,!1);for(let t=16;t<64;t+=1){let e=h(c,t-15),o=h(c,t-2),n=g(u(e,7),u(e,18),d(e,3)),i=g(u(o,17),u(o,19),d(o,10));c[t]=l(h(c,t-16)+n+h(c,t-7)+i)}let e=h(s,0),n=h(s,1),i=h(s,2),r=h(s,3),f=h(s,4),m=h(s,5),b=h(s,6),v=h(s,7);for(let t=0;t<64;t+=1){let a=l(v+g(u(f,6),u(f,11),u(f,25))+g(p(f,m),p(0xffffffff-f,b))+h(o,t)+h(c,t)),s=l(g(u(e,2),u(e,13),u(e,22))+g(p(e,n),p(e,i),p(n,i)));v=b,b=m,m=f,f=l(r+a),r=i,i=n,n=e,e=l(a+s)}s[0]=l(h(s,0)+e),s[1]=l(h(s,1)+n),s[2]=l(h(s,2)+i),s[3]=l(h(s,3)+r),s[4]=l(h(s,4)+f),s[5]=l(h(s,5)+m),s[6]=l(h(s,6)+b),s[7]=l(h(s,7)+v)}return Array.from(s).map(t=>t.toString(16).padStart(8,"0")).join("")},tK=function(t){return tX(tW(t))},tQ=function(t){return tK({consent:t.consent?{categories:t.consent.categories,expiryDays:t.consent.expiryDays,gpc:t.consent.gpc,preselectedCategories:t.consent.preselectedCategories,scopeMode:t.consent.scopeMode}:void 0,model:t.model,proof:t.proof?{storeIp:t.proof.storeIp,storeLanguage:t.proof.storeLanguage,storeUserAgent:t.proof.storeUserAgent}:void 0,ui:t.ui?{banner:t.ui.banner?{allowedActions:t.ui.banner.allowedActions,direction:t.ui.banner.direction,layout:t.ui.banner.layout,primaryActions:t.ui.banner.primaryActions}:void 0,dialog:t.ui.dialog?{allowedActions:t.ui.dialog.allowedActions,direction:t.ui.dialog.direction,layout:t.ui.dialog.layout,primaryActions:t.ui.dialog.primaryActions}:void 0,mode:t.ui.mode}:void 0})},tY=function(t,e){var o;let n=tK({actions:{allowed:tg((o=t).actions.allowed),equivalent:o.actions.equivalent.map(t=>tg(t)).sort((t,e)=>t.join(",").localeCompare(e.join(","))),required:tg(o.actions.required)},copyRevision:o.copyRevision,domain:"policy",model:o.model,preselectedCategories:tg(o.preselectedCategories),privacySignals:{gpc:{denyCategories:tg(o.privacySignals.gpc.denyCategories)}},prompt:o.prompt,proof:{storeIp:o.proof.storeIp,storeLanguage:o.proof.storeLanguage,storeUserAgent:o.proof.storeUserAgent},rights:tg(o.rights),scope:tg(o.scope),scopeMode:o.scopeMode,validity:{choiceMs:o.validity.choiceMs,noticeMs:o.validity.noticeMs},version:1});return{choice:tK({copyRevision:t.copyRevision,domain:"choice",model:t.model,privacySignals:{gpc:{denyCategories:tg(t.privacySignals.gpc.denyCategories)}},prompt:t.prompt,requiredActions:tg(t.actions.required),rights:tg(t.rights),scope:tg(t.scope),scopeMode:t.scopeMode,validityMs:t.validity.choiceMs,version:1}),notice:tK({copyRevision:t.copyRevision,domain:"notice",model:t.model,privacySignals:{gpc:{denyCategories:tg(t.privacySignals.gpc.denyCategories)}},prompt:t.prompt,requiredActions:tg(t.actions.required),rights:tg(t.rights),scope:tg(t.scope),scopeMode:t.scopeMode,validityMs:t.validity.noticeMs,version:1}),policy:n,...e&&{legacyMaterial:n===e.policyFingerprint?tQ(e.input):`policy-changed:${n}`}}},tZ=function(t){return"string"!=typeof t?null:t.trim().toUpperCase()||null},t1=function(t){return"string"!=typeof t?null:(t.includes("-")?t.split("-").pop():t)?.trim().toUpperCase()||null},t5=function(t,e){let o=t.findIndex(t=>t.match.regionFallbacks?.some(t=>tZ(t)===e));if(-1!==o)return{index:o,matchedBy:"fallback",status:"matched"};if(!t.some(t=>t.match.regions?.some(t=>tZ(t.country)===e)))return null;let n=t.findIndex(t=>!0===t.match.fallback);return -1===n?{status:"insufficient-inputs"}:{index:n,matchedBy:"fallback",status:"matched"}},t0=function(t){let{entries:e}=t,o=tZ(t.countryCode),n=t1(t.regionCode);if(o&&n){let t=e.findIndex(t=>(t.match.regions??[]).some(t=>tZ(t.country)===o&&t1(t.region)===n));if(-1!==t)return{index:t,matchedBy:"region",status:"matched"}}if(o){let t=e.findIndex(t=>(t.match.countries??[]).some(t=>tZ(t)===o));if(-1!==t)return{index:t,matchedBy:"country",status:"matched"};if(!n){let t=t5(e,o);if(t)return t}}let i=e.findIndex(t=>!0===t.match.fallback),r=e.findIndex(t=>!0===t.match.isDefault);return o||-1===i?-1!==r?{index:r,matchedBy:"default",status:"matched"}:o?{status:"no-match"}:{status:"insufficient-inputs"}:{index:i,matchedBy:"fallback",status:"matched"}},t2={policy:null,reason:"invalid-configuration",status:"failed"},t3=function(t){if(void 0===t.rules)return{policy:null,status:"unconfigured"};let{errors:e}=tV(t.rules,void 0===t.iabEnabled?void 0:{iabEnabled:t.iabEnabled});if(e.length>0||!Array.isArray(t.rules))return t2;let o=t.rules;if(0===o.length)return{policy:null,status:"no-match"};try{let e=t0({countryCode:t.countryCode,entries:o,regionCode:t.regionCode});if("insufficient-inputs"===e.status)return{policy:null,reason:"insufficient-inputs",status:"failed"};if("no-match"===e.status)return{policy:null,status:"no-match"};let n=o[e.index];if(!n)return t2;let i=tH(n);return{fingerprints:tY(i,n.legacyMaterial),matchedBy:e.matchedBy,policy:i,policyId:i.id,status:"matched"}}catch{return t2}},t7=function(t){return{...t,version:1}},t6=new Set(["region","country","default","fallback"]),t4=new Set(["invalid-configuration","insufficient-inputs","transport","unsupported-contract","invalid-payload"]),t8=new Set(["accept","reject","customize","dismiss"]),t9=["version","status","policy","reason","policyId","matchedBy","fingerprints"],et=["id","model","prompt","scope","scopeMode","preselectedCategories","actions","rights","validity","privacySignals","copyRevision","i18n","proof"],ee=["allowed","required","equivalent"],eo=["choiceMs","noticeMs"],en=["gpc"],ei=["denyCategories"],er=["storeIp","storeUserAgent","storeLanguage"],ea=["language","messageProfile"],es=["policy","choice","notice","legacyMaterial"];class ec extends Error{constructor(t,e){var o,n;super(e),n=void 0,(o="reason")in this?Object.defineProperty(this,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[o]=n,this.name="WireProblem",this.reason=t}}let el=function(t){return new ec("invalid-payload",t)},ed=function(t){return new ec("unsupported-contract",t)},eu=function(t,e){return Object.hasOwn(t,e)?t[e]:void 0},ep=function(t,e,o){if(!th(t))throw el(`${e} must be a plain object`);for(let n of Object.getOwnPropertyNames(t))if(!o.includes(n))throw ed(`${e} has unknown field "${n}"`);return t},eg=function(t,e,o){if(!Array.isArray(t))throw el(`${e} must be an array`);let n=[];for(let i of t){if("string"!=typeof i)throw el(`${e} must contain strings`);if(!o(i))throw ed(`${e} has unknown value "${i}"`);if(n.includes(i))throw el(`${e} repeats "${i}"`);n.push(i)}return n.sort((t,e)=>t.localeCompare(e))},eh=function(t){return t8.has(t)},ef=function(t){return tu(t)},em=function(t){return tc(t)},eb=function(t,e){if("number"!=typeof t||!Number.isFinite(t)||t<=0||t>Number.MAX_SAFE_INTEGER)throw el(`${e} must be a positive number within the safe range`);return t},ev=function(t,e){if("boolean"!=typeof t)throw el(`${e} must be a boolean`);return t},ey=function(t,e){if(void 0!==t){if("string"!=typeof t)throw el(`${e} must be a string`);return t}},ew=function(t){let e=eu(t,"model"),o=eu(t,"prompt"),n=eu(t,"scopeMode");if(!tl(e))throw ed(`policy.model "${String(e)}" is not supported`);if(!td(o))throw ed(`policy.prompt "${String(o)}" is not supported`);if("strict"!==n&&"permissive"!==n)throw ed(`policy.scopeMode "${String(n)}" is not supported`);return{model:e,prompt:o,scopeMode:n}},ek=function(t){let e=ep(t,"policy.actions",ee),o=eu(e,"equivalent");if(!Array.isArray(o))throw el("policy.actions.equivalent must be an array");return{allowed:eg(eu(e,"allowed"),"policy.actions.allowed",eh),equivalent:o.map((t,e)=>eg(t,`policy.actions.equivalent[${e}]`,eh)),required:eg(eu(e,"required"),"policy.actions.required",eh)}},ex=function(t){let e=ep(t,"policy.validity",eo);return{choiceMs:eb(eu(e,"choiceMs"),"policy.validity.choiceMs"),noticeMs:eb(eu(e,"noticeMs"),"policy.validity.noticeMs")}},eI=function(t){let e=ep(t,"policy.proof",er);return{storeIp:ev(eu(e,"storeIp"),"policy.proof.storeIp"),storeLanguage:ev(eu(e,"storeLanguage"),"policy.proof.storeLanguage"),storeUserAgent:ev(eu(e,"storeUserAgent"),"policy.proof.storeUserAgent")}},eS=function(t){let e=ep(t,"policy.privacySignals",en),o=ep(eu(e,"gpc"),"policy.privacySignals.gpc",ei);return{gpc:{denyCategories:eg(eu(o,"denyCategories"),"policy.privacySignals.gpc.denyCategories",em)}}},eA=function(t){if(void 0===t)return;let e=ep(t,"policy.i18n",ea),o=ey(eu(e,"language"),"policy.i18n.language"),n=ey(eu(e,"messageProfile"),"policy.i18n.messageProfile");return{...void 0!==o&&{language:o},...void 0!==n&&{messageProfile:n}}},ej=function(t){let e=ep(t,"policy",et),o=eu(e,"id");if("string"!=typeof o||!o.trim())throw el("policy.id must be a non-empty string");let n=eu(e,"copyRevision");if(null!==n&&"string"!=typeof n)throw el("policy.copyRevision must be a string or null");let i={...ew(e),actions:ek(eu(e,"actions")),copyRevision:n,id:o,preselectedCategories:eg(eu(e,"preselectedCategories"),"policy.preselectedCategories",em),privacySignals:eS(eu(e,"privacySignals")),proof:eI(eu(e,"proof")),rights:eg(eu(e,"rights"),"policy.rights",ef),scope:eg(eu(e,"scope"),"policy.scope",em),validity:ex(eu(e,"validity"))},r=eA(eu(e,"i18n"));r&&(i.i18n=r);let a=tJ(i);if(a.length>0)throw el(`policy: ${a[0]}`);return i},eP=function(t){let e=ep(t,"fingerprints",es),o=function(t){let o=eu(e,t);if("string"!=typeof o||!o)throw el(`fingerprints.${t} must be a non-empty string`);return o},n=ey(eu(e,"legacyMaterial"),"fingerprints.legacyMaterial");return{choice:o("choice"),notice:o("notice"),policy:o("policy"),...void 0!==n&&{legacyMaterial:n}}},eC=function(t){let e=eu(t,"policyId"),o=eu(t,"matchedBy");if("string"!=typeof e||!e)throw el("policyId must be a non-empty string");if("string"!=typeof o||!t6.has(o))throw ed(`matchedBy "${String(o)}" is not supported`);let n=ej(eu(t,"policy"));if(n.id!==e)throw el("policyId must equal policy.id");return{fingerprints:eP(eu(t,"fingerprints")),matchedBy:o,policy:n,policyId:e,status:"matched"}},eD=function(t){let e=ep(t,"policyResolution",t9);if(!Object.hasOwn(e,"version"))throw el("policyResolution.version is required");if(1!==eu(e,"version"))throw ed(`policy contract version ${String(eu(e,"version"))} is not supported`);let o=eu(e,"status"),n=eu(e,"policy");switch(o){case"unconfigured":case"no-match":if(null!==n)throw el(`policy must be null when status is "${o}"`);return{policy:null,status:o};case"failed":{let t=eu(e,"reason");if(null!==n)throw el('policy must be null when status is "failed"');if("string"!=typeof t||!t4.has(t))throw ed(`failure reason "${String(t)}" is not supported`);return{policy:null,reason:t,status:"failed"}}case"matched":return eC(e);default:throw ed(`status "${String(o)}" is not supported`)}},eO=function(t){try{return eD(t)}catch(t){if(t instanceof ec)return{policy:null,reason:t.reason,status:"failed"};return{policy:null,reason:"invalid-payload",status:"failed"}}},eT={policy:null,reason:"invalid-payload",status:"failed"},eL={policy:null,reason:"unsupported-contract",status:"failed"},eR=function(t){let e={language:t.translations.language};return t.location.countryCode&&(e.country=t.location.countryCode),t.location.regionCode&&(e.region=t.location.regionCode),e},ez=function(t){let e=t["sec-gpc"];return"1"===e?{gpc:!0}:"0"===e?{gpc:!1}:void 0},e$=function(t,e={}){let o=e.producerContract;return void 0!==o&&1!==o?t7(eL):void 0!==t.policyResolution?t.policyResolution:void 0!==o?t7(eT):t7(eL)},eE=function(t,e,o={}){var n;let i={gvl:t.gvl??null,gvlReference:t.gvlReference,location:t.location,policyResolution:e$(t,o),resolvedOverrides:{...eR(t),...t.resolvedOverrides??{}},translations:t.translations},r=e["x-c15t-gpc"];("1"===r||"0"===r)&&(i.resolvedOverrides={...i.resolvedOverrides,gpc:"1"===r});let a=ez(e)??t.resolvedPrivacySignals;a&&(i.resolvedPrivacySignals=a);let s="none"===(n=t.branding)?void 0:n;return void 0!==s&&(i.branding=s),void 0!==t.policySnapshotToken&&(i.policySnapshotToken=t.policySnapshotToken),void 0!==t.customVendors&&(i.customVendors=t.customVendors),void 0!==t.cmpId&&(i.cmpId=t.cmpId),void 0!==t.subjectId&&null!==t.subjectId&&(i.subjectId=t.subjectId),i},eM=["functionality","experience","measurement","marketing"],eV=function(t){let{choice:e,confirmed:o}=t;if(!e||!o)return;let n={},i=!1;for(let t of Object.keys(o.categories)){let o=e.categories[t];void 0!==o&&(n[t]={basis:"choice-v1"===o.basis.kind?{fingerprint:o.basis.fingerprint,kind:"choice-v1"}:{kind:"legacy-v2",...void 0!==o.basis.materialFingerprint&&{materialFingerprint:o.basis.materialFingerprint}},confirmedAt:o.confirmedAt,value:o.value},i=!0)}return i?{categories:n,version:3}:void 0},eU=function(t){let e={necessary:!0};for(let o of eM){let n=t.categories[o];void 0!==n&&(e[o]=n.value)}return e},eq=function(t,e){let o=eV(t);return{consentAction:t.consentAction,domain:e.domain,externalSubjectId:t.user?.externalId,givenAt:t.confirmed.actionAt,identityProvider:t.user?.identityProvider,jurisdictionModel:t.model??void 0,metadata:t.user?.properties?{userProperties:t.user.properties}:void 0,policySnapshotToken:t.policySnapshotToken??void 0,preferences:eU(t.choice),subjectId:t.subjectId,tcString:t.tcString??void 0,type:"cookie_banner",uiSource:t.uiSource??void 0,...void 0!==o&&{choice:o}}},e_=new Set(eM),eN=function(t){return e_.has(t)},eB=function(t){if("object"!=typeof t||null===t||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||null===e},eF=function(t){return Object.getOwnPropertyNames(t)},eG=function(t,e){return Object.hasOwn(t,e)?t[e]:void 0},eJ=function(t,e){return"number"!=typeof t||!Number.isSafeInteger(t)||t<0||t>864e13?"invalid-timestamp":t>e?"future-timestamp":null},eH=function(t){return"string"==typeof t&&t.length>0},eW=function(t,e,o){if(!eB(t))return o.push({code:"invalid-basis",path:e}),null;let n=eG(t,"kind");if("choice-v1"===n){let i=eG(t,"fingerprint");return eH(i)?{fingerprint:i,kind:n}:(o.push({code:"invalid-fingerprint",path:`${e}.fingerprint`}),null)}if("legacy-v2"===n){let i=eG(t,"materialFingerprint");return void 0===i?{kind:n}:eH(i)?{kind:n,materialFingerprint:i}:(o.push({code:"invalid-fingerprint",path:`${e}.materialFingerprint`}),null)}return o.push({code:"invalid-basis",path:`${e}.kind`}),null},eX=function(t,e,o,n){if(!eB(t))return n.push({code:"not-an-object",path:e}),null;let i=eG(t,"value");"boolean"!=typeof i&&n.push({code:"invalid-boolean",path:`${e}.value`});let r=eG(t,"confirmedAt"),a=eJ(r,o);a&&n.push({code:a,path:`${e}.confirmedAt`});let s=eW(eG(t,"basis"),`${e}.basis`,n);return"boolean"!=typeof i||"number"!=typeof r||a||!s?null:{basis:s,confirmedAt:r,value:i}},eK=function(t,e){let o=[];if(!eB(t))return{issues:[{code:"not-an-object",path:""}],ok:!1};if(3!==eG(t,"version"))return{issues:[{code:"unsupported-version",path:"version"}],ok:!1};let n=eG(t,"categories");if(!eB(n))return{issues:[{code:"not-an-object",path:"categories"}],ok:!1};let i={};for(let t of eF(n)){if(!eN(t)){o.push({code:"unknown-key",path:`categories.${t}`});continue}let r=eX(n[t],`categories.${t}`,e,o);r&&(i[t]=r)}return o.length>0?{issues:o,ok:!1}:{ok:!0,record:{categories:i,version:3}}},eQ=function(t,e){if(!eB(t))return{issues:[{code:"not-an-object",path:""}],ok:!1};if(1!==eG(t,"version"))return{issues:[{code:"unsupported-version",path:"version"}],ok:!1};let o=[],n=eG(t,"dismissedAt"),i=eG(t,"fingerprint"),r=eJ(n,e);return(r&&o.push({code:r,path:"dismissedAt"}),eH(i)||o.push({code:"invalid-fingerprint",path:"fingerprint"}),o.length>0)?{issues:o,ok:!1}:{ok:!0,record:{dismissedAt:n,fingerprint:i,version:1}}},eY="cookie_banner",eZ=t=>{let{choice:e}=t;return void 0===e?{kind:"absent"}:null===e||"object"!=typeof e||3!==e.version||"object"!=typeof e.categories||null===e.categories?{kind:"unreadable"}:{categories:e.categories,kind:"receipts"}},e1=t=>t instanceof Date?t.getTime():new Date(t).getTime(),e5=t=>{if(t.type!==eY||void 0===t.preferences)return;let e=e1(t.givenAt),o={};for(let n of eM)!0===t.preferences[n]&&(o[n]={basis:{kind:"legacy-v2"},confirmedAt:e,value:!0});return o},e0=(t,e)=>{if("gpc"!==t.source||eJ(t.recordedAt,e))return;let o=[];for(let e of t.categories){if(!eN(e)||o.includes(e))return;o.push(e)}if(0!==o.length)return{categories:o.sort((t,e)=>t.localeCompare(e)),recordedAt:t.recordedAt,source:"gpc"}},e2=function(t,e){var o;let n,i=void 0===t.subjectChoice?(t=>{let e=new Map;for(let o of[...t].sort((t,e)=>e1(t.givenAt)-e1(e.givenAt))){if(o.type!==eY)continue;let t=eZ(o);if("unreadable"===t.kind)return null;if("absent"===t.kind)for(let t of eM){let n=e.get(t);n?.value&&n.confirmedAt<=e1(o.givenAt)&&e.delete(t)}let n="receipts"===t.kind?t.categories:e5(o);if(n)for(let t of eM){let o=n[t];if(!o)continue;let i=e.get(t);(void 0===i||o.confirmedAt>=i.confirmedAt)&&e.set(t,o)}}return e.size>0?{categories:Object.fromEntries(e),version:3}:void 0})(t.consents):t.subjectChoice,r=i?eK(i,e.now):void 0,a=[];for(let o of t.privacyDirectives??[]){let t=e0(o,e.now);t&&a.push(t)}return{choice:r?.ok?r.record:null,now:e.now,optOutDirectives:a,subject:(n={subjectId:(o=t.subject).id},"string"==typeof o.externalId&&o.externalId&&(n.externalId=o.externalId,"string"==typeof o.identityProvider&&o.identityProvider&&(n.identityProvider=o.identityProvider)),n)}},e3=function(t){if("object"!=typeof t||null===t||Array.isArray(t))return;let{subject:e,consents:o}=t;if("object"!=typeof e||null===e||"string"!=typeof e.id||!Array.isArray(o))return;let n=t=>t instanceof Date?t:"string"==typeof t||"number"==typeof t?new Date(t):void 0,i=[];for(let t of o){if("object"!=typeof t||null===t)continue;let e=n(t.givenAt);e&&"string"==typeof t.id&&"string"==typeof t.type&&i.push({...t,givenAt:e,isLatestPolicy:!0===t.isLatestPolicy,policyEffectiveDate:n(t.policyEffectiveDate)})}return{...t,consents:i,subject:{...e,createdAt:n(e.createdAt)}}},e7="3.0.0-alpha.0",e6="x-c15t-policy-contract",e4={...{"x-c15t-version":e7},[e6]:String(1)},e8=function(t){let e=t?.get(e6);if(null==e)return;let o=e.trim();return/^\d+$/u.test(o)?Number.parseInt(o,10):null},e9=function(t,e){if(e)return e;if("u">typeof window&&window.location?.hostname)return window.location.hostname;try{return new URL(t).hostname}catch{return"localhost"}},ot=new Set(f),oe=function(t){let e={};if(!t)return e;for(let[o,n]of Object.entries(t)){let t=o.toLowerCase();ot.has(t)&&(e[t]=n)}return e},oo=function(t){let e="object"==typeof t&&null!==t&&"string"==typeof t.subjectId?t.subjectId:void 0;return void 0===e?{ok:!0}:{ok:!0,subjectId:e}},on=function(t){var e;let o,n,i=(e=t.backendURL).endsWith("/")?e.slice(0,-1):e,r=t.initURL??`${i}/init`,a=t.fetch??globalThis.fetch?.bind(globalThis);if(!a)throw Error("createHostedTransport: no fetch available. Pass `fetch` in options.");let s=oe(t.headers),c=t.credentials??"include",l=e9(i,t.domain),d=t.now??Date.now,u=t.assertDecisionInputs?t.decisionInputs:void 0,p={accept:"application/json","content-type":"application/json",...e4},g=t=>`${i}/subjects/${encodeURIComponent(t)}`,h=async function(t,e){let o=await a(g(e),{body:JSON.stringify({externalId:t.externalId,identityProvider:t.identityProvider}),credentials:c,headers:p,method:"PATCH"});if(!o.ok)throw Error(`c15t hosted transport: /subjects/:id responded ${o.status} ${o.statusText}`)},f=0,{initialData:m}=t,b=async e=>{var n,l,d,p;let g,h=f+=1;t.assertDecisionInputs&&u&&(o?(n=o,l=e.overrides,n.country!==l.country||n.region!==l.region||n.language!==l.language||n.gpc!==l.gpc):(d=u,(p=e.overrides)&&(void 0!==p.country&&p.country!==d.country||void 0!==p.region&&p.region!==d.region||void 0!==p.gpc&&p.gpc!==d.gpc||void 0!==p.language&&C(p.language)!==C(d.language))))&&(u=void 0),o={...e.overrides};let b={...s,...x(e.overrides)},y=m;if(m=void 0,y?g=await y.catch(()=>void 0):t.initURL||(g=await (t=>{let e=P(t),o=j();if(!e||!o)return;let n=o[A];for(let[t,o]of Object.entries(n??{}))o===e&&n&&Reflect.deleteProperty(n,t);return e.promise})({backendURL:i,credentials:c,overrides:{...v(new Headers(b)),...e.overrides}})),g?.init){let e={...b},o=g.metadata?.requestContext?.gpc;void 0!==o&&(e["sec-gpc"]=o?"1":"0"),t.assertDecisionInputs&&h===f&&(u=D(g.init,T(e)));let n=new Headers;return"string"==typeof g.producerPolicyContract&&n.set("x-c15t-policy-contract",g.producerPolicyContract),eE(g.init,e,{producerContract:e8(n)})}let w=await a(r,{credentials:c,headers:{accept:"application/json",...e4,...b},method:"GET"});if(!w.ok)throw Error(`c15t hosted transport: /init responded ${w.status} ${w.statusText}`);let k=await w.json();return t.assertDecisionInputs&&h===f&&(u=D(k,T(b)??k.resolvedPrivacySignals?.gpc??k.resolvedOverrides?.gpc)),eE(k,b,{producerContract:e8(w.headers)})};return{async identify(t,e){e&&await h(t,e)},async init(t){let e=b(t);n=e;try{return await e}finally{n===e&&(n=void 0)}},async loadSubjectRecord(t){let e=await a(g(t),{credentials:c,headers:{accept:"application/json",...e4},method:"GET"});if(404===e.status)return null;if(!e.ok)throw Error(`c15t hosted transport: /subjects/:id responded ${e.status} ${e.statusText}`);let o=e3(await e.json());if(!o)throw Error("c15t hosted transport: /subjects/:id returned an unreadable record");return e2(o,{now:d()})},async recordPrivacyOptOut(t,e){if(!e)return;let o=await a(`${g(e)}/privacy-directives`,{body:JSON.stringify({categories:[...t.categories],recordedAt:t.recordedAt,source:t.source}),credentials:c,headers:p,method:"POST"});if(!o.ok)throw Error(`c15t hosted transport: /subjects/:id/privacy-directives responded ${o.status} ${o.statusText}`)},async save(e){if(t.assertDecisionInputs&&!e.policySnapshotToken&&!e.decisionInputs){let t=n;for(;t;)await t.catch(()=>void 0),t=n;if(!O(e,u))throw Error("c15t hosted transport: cannot save before init resolved a policy decision (assertDecisionInputs is set).")}let o=await a(`${i}/subjects`,{body:JSON.stringify({...eq(e,{domain:l}),...O(e,u)}),credentials:c,headers:p,method:"POST"});if(!o.ok)throw Error(`c15t hosted transport: /subjects responded ${o.status} ${o.statusText}`);return oo(await o.json())}}},oi=function(t){return Object.assign(()=>on({assertDecisionInputs:t.assertDecisionInputs,backendURL:t.url,decisionInputs:t.decisionInputs,domain:t.domain,fetch:t.fetch,headers:t.headers,initURL:t.initURL,initialData:t.initialData}),{kind:"hosted"})},or=new Set(["hosted","offline","manifest"]),oa=new Set(["light","dark","system"]),os=function(t){if(!t)return;let e=t.split(",").map(t=>t.trim()).filter(Boolean);return e.length>0?e:void 0},oc=function(t,e){let o=t.getAttribute(e);return null!==o&&"false"!==o},ol=function(t){let e={},o=t.getAttribute("data-privacy-policy-url"),n=t.getAttribute("data-cookie-policy-url"),i=t.getAttribute("data-terms-url");return o&&(e.privacyPolicy={href:o}),n&&(e.cookiePolicy={href:n}),i&&(e.termsOfService={href:i}),Object.keys(e).length>0?e:void 0},od=function(t){let e={},o=t.getAttribute("data-country"),n=t.getAttribute("data-region"),i=t.getAttribute("data-language");return o&&(e.country=o),n&&(e.region=n),i&&(e.language=i),Object.keys(e).length>0?e:void 0},ou=function(t){if(!t)return{};let e={},o=t.getAttribute("data-backend-url")??t.getAttribute("data-backend");o&&(e.backendURL=o);let n=t.getAttribute("data-mode");n&&or.has(n)&&(e.mode=n);let i=t.getAttribute("data-manifest-url");i&&(e.manifestURL=i);let r=os(t.getAttribute("data-policy-rules"));r&&(e.policyRules=r);let a=os(t.getAttribute("data-categories"));a&&(e.consentCategories=a);let s=od(t);s&&(e.overrides=s);let c=ol(t);if(c&&(e.legalLinks=c),oc(t,"data-no-ui"))return e.ui=!1,e;let l={},d={};c&&(d.legalLinks=Object.keys(c));let u=t.getAttribute("data-color-scheme");return u&&oa.has(u)&&(l.colorScheme=u),"false"===t.getAttribute("data-shadow")&&(l.shadow=!1),oc(t,"data-trigger")&&(l.trigger=!0),oc(t,"data-hide-branding")&&(d.hideBranding=!0),Object.keys(d).length>0&&(l.banner={...d},l.dialog={...d}),Object.keys(l).length>0&&(e.ui=l),e},op=function(t,e){if(!1===e||!1===t||!(t&&e))return e??t;let o={...t,...e};return"object"==typeof t.banner&&"object"==typeof e.banner&&(o.banner={...t.banner,...e.banner}),"object"==typeof t.dialog&&"object"==typeof e.dialog&&(o.dialog={...t.dialog,...e.dialog}),o},og=function(t,e){let o={...t,...e,ui:op(t.ui,e.ui)};return void 0===o.ui&&delete o.ui,o},oh=function(t,e=[]){let o=e.reduce((t,e)=>og(t,e),ou(t));return{manual:null!==t&&oc(t,"data-manual"),options:o}},of={input:{consent:{expiryDays:365,gpc:!0,scopeMode:"permissive"},model:"opt-in",proof:{storeIp:!0,storeLanguage:!0,storeUserAgent:!0},ui:{banner:{allowedActions:["accept","reject","customize"],direction:"row",layout:[["reject","accept"],["customize"]],primaryActions:["customize"]},dialog:{allowedActions:["accept","reject","customize"],direction:"row",layout:[["reject","accept"],["customize"]],primaryActions:["customize"]},mode:"banner"}},policyFingerprint:"d53c71dde91e3b9600ef910f284726d8b9b5e5d97989b355e016d013b6a12b69"},om={input:{consent:{expiryDays:365,gpc:!0,scopeMode:"permissive"},model:"opt-out",proof:{storeIp:!0,storeLanguage:!0,storeUserAgent:!0},ui:{mode:"none"}},policyFingerprint:"2add89cb0c497ef5bccaef815bae6277006e37bdc10d4d0e6b1f494aa754c087"},ob={input:{consent:{categories:["*"],expiryDays:365,scopeMode:"permissive"},model:"iab",proof:{storeIp:!0,storeLanguage:!0,storeUserAgent:!0}},policyFingerprint:"cbbf5d147ac468a745e188b4e4681e60a04debcbad2d0d5bc0fc618c31b06dae"},ov={input:{consent:{expiryDays:365,scopeMode:"permissive"},model:"opt-in",proof:{storeIp:!0,storeLanguage:!0,storeUserAgent:!0},ui:{banner:{allowedActions:["accept","reject","customize"],direction:"row",layout:[["reject","accept"],["customize"]],primaryActions:["customize"]},dialog:{allowedActions:["accept","reject","customize"],direction:"row",layout:[["reject","accept"],["customize"]],primaryActions:["customize"]},mode:"banner"}},policyFingerprint:"8aca68633714c54fb0a96eaee313aa415ae0a3137e56764cf629a20793b2f969"},oy={input:{consent:{expiryDays:365,scopeMode:"permissive"},model:"opt-in",proof:{storeIp:!0,storeLanguage:!0,storeUserAgent:!0},ui:{banner:{allowedActions:["accept","reject","customize"],direction:"row",layout:[["reject","accept"],["customize"]],primaryActions:["customize"]},dialog:{allowedActions:["accept","reject","customize"],direction:"row",layout:[["reject","accept"],["customize"]],primaryActions:["customize"]},mode:"banner"}},policyFingerprint:"8aca68633714c54fb0a96eaee313aa415ae0a3137e56764cf629a20793b2f969"},ow={input:{consent:{scopeMode:"permissive"},model:"none",proof:{storeIp:!1,storeLanguage:!1,storeUserAgent:!0},ui:{mode:"none"}},policyFingerprint:"92e599db3379c3b0a47db142ab9bc4d4a33e4b019ce2cd7a524528dee5fa93a4"},ok=function(t){if(t&&0!==t.length)return[...new Set(t)]},ox=["AX","GF","GP","MQ","MF","RE","YT","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"],oI=[...ox,"IS","LI","NO"],oS=["GB"],oA=function(t){return t.trim().toUpperCase()},oj=function(t){return{country:oA(t.country),region:t.region.trim().toUpperCase()}},oP=function(t,e){return ok([...t??[],...e.map(t=>oA(t))])??[]},oC=function(t,e){let o=[...t??[],...e.map(t=>oj(t))],n=new Set;return o.filter(t=>{var e,o;let i=(e=t.country,o=t.region,`${e}:${o}`);return!n.has(i)&&(n.add(i),!0)})},oD=function(t,e){e.isDefault&&(t.isDefault=!0),e.fallback&&(t.fallback=!0),e.countries?.length&&(t.countries=oP(t.countries,e.countries)),e.regionFallbacks?.length&&(t.regionFallbacks=oP(t.regionFallbacks,e.regionFallbacks)),e.regions?.length&&(t.regions=oC(t.regions,e.regions))},oO={countries:t=>({countries:ok(t.map(t=>oA(t)))??[]}),default:()=>({isDefault:!0}),eea:()=>({countries:[...oI]}),eu:()=>({countries:[...ox]}),fallback:()=>({fallback:!0}),iab:()=>oO.merge(oO.eea(),oO.uk()),merge(...t){let e={};for(let o of t)oD(e,o);return e},regionFallback:t=>({regionFallbacks:oP([],t)}),regions:t=>({regions:t.map(t=>oj(t))}),uk:()=>({countries:[...oS]})},oT="https://www.w3.org/TR/2026/WD-gpc-20260611/",oL="https://oag.ca.gov/privacy/ccpa",oR="https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guidance-on-the-use-of-storage-and-access-technologies/what-are-the-exceptions/",oz="PDPA sections 2 and 3 govern applicability: commercial transactions, establishment or use of equipment in Malaysia, and the exclusion for overseas processing unless intended for further processing in Malaysia. Visitor location alone neither establishes nor rules out applicability; override the matcher for the actual processing scope.",o$=["365-day choice and notice validity are independent c15t product defaults, not legal requirements.","A refusal in the requested scope suppresses automatic choice prompts, including after policy changes or grant expiry. New, changed or expired opt-in purposes remain denied until the user opens preferences and grants them.","Equivalent default prominence for accept and reject is a c15t product invariant.","The controller owns processing facts, legal basis, copy and legal review; this preset is starter configuration."],oE=function(t,e){return{assumptions:[...e,...o$],reviewBy:"2026-12-15",reviewedOn:"2026-09-08",sources:t,status:"reviewed"}},oM={storeIp:!0,storeLanguage:!0,storeUserAgent:!0},oV=function(t){let e="iab"===t;return{id:e?"europe_iab":"europe_opt_in",match:oO.merge(oO.iab(),oO.countries(["GI"]),oO.fallback()),model:t,prompt:"choice",proof:oM,review:oE([oR,"https://www.edpb.europa.eu/sites/default/files/files/file1/edpb_guidelines_202005_consent_en.pdf","https://www.gra.gi/uploads/documents/data-protection/Documents/Guidance/GN28%20Cookies.pdf"],e?["IAB TCF 2.3 only. No TCF 2.4 claim.","Covers consent-requiring processing in the EEA, UK and Gibraltar, including separately geocoded EU territories. National analytics exemptions need separate scoped configurations.","Used as the geo fallback so an unknown location gets the strictest configured behavior."]:["Optional categories stay denied until an explicit choice; consent is never inferred from inactivity.","Covers consent-requiring processing in the EEA, UK and Gibraltar, including separately geocoded EU territories. National analytics exemptions need separate scoped configurations.","Used as the geo fallback so an unknown location gets the strictest configured behavior."]),validity:{choiceDays:365}}},oU=function(t){let e="opt-out"===t,o={id:e?"california_opt_out":"california_opt_in",match:oO.regions([{country:"US",region:"CA"}]),model:t,privacySignals:{gpc:{denyCategories:["marketing","measurement"]}},prompt:e?"none":"choice",proof:oM,review:oE([oL,oT],["The referenced GPC specification is the W3C Working Draft of 11 June 2026, not a final Recommendation.","A user-enabled GPC signal is honored as an opt-out of sale and sharing; it never creates consent.","Mapping GPC to marketing and measurement is a conservative product default and must be checked against actual processing purposes. Not all measurement is sale or sharing.","Removing the browser signal is not a withdrawal of a recorded opt-out.",e?"No first-layer prompt. Disclosure, preferences and the opt-out right stay reachable without a visible banner.":"Opt-in is an optional deployment choice. It does not establish a general California opt-in mandate."]),validity:{choiceDays:365,noticeDays:365}};return e&&(o.rights=["preferences"]),o},oq=["CA","CO","CT","DE","FL","IA","IN","KY","MD","MN","MT","NE","NH","NJ","OR","RI","TN","TX","UT","VA"],o_=function(t,e){return{...oE(t,e),reviewBy:"2026-12-15",reviewedOn:"2026-09-08"}},oN=function(t,e,o,n){return{id:t,match:oO.countries([e]),model:"opt-in",prompt:"choice",review:o_(o,["Optional categories stay denied until an explicit choice. Use this workflow for consent-based processing; other lawful bases and exemptions need their own configuration.","This country matcher does not determine territorial scope, sensitive-data rules, child protections, recipient-specific consent or cross-border transfer requirements.",...n]),validity:{choiceDays:365}}},oB=function(t){let e="opt-out"===t;return{id:e?"us_privacy_states_opt_out":"us_privacy_states_opt_in",match:oO.regions(oq.map(t=>({country:"US",region:t}))),model:t,privacySignals:{gpc:{denyCategories:["marketing","measurement"]}},prompt:e?"none":"choice",review:o_([oL,"https://coag.gov/resources/colorado-privacy-act/","https://www.flsenate.gov/Laws/Statutes/2025/501.702","https://mgaleg.maryland.gov/mgawebsite/Laws/StatuteText?article=gcl§ion=14-4707&enactments=false","https://www.ag.ky.gov/about/Office-Divisions/ODP/KCDPA/Pages/default.aspx","https://www.in.gov/attorneygeneral/files/Consumer_Data-Bill-of-Rights.pdf","https://webserver.rilegislature.gov/Statutes/TITLE6/6-48.1/INDEX.htm","https://www.legis.la.gov/legis/BillInfo.aspx?b=SB386&s=26RS&sbi=y","https://legislature.vermont.gov/Documents/2026/Docs/ACTS/ACT145/ACT145%20Act%20Summary.pdf","https://portal.ct.gov/ag/sections/privacy/the-connecticut-data-privacy-act",oT],["Curated coverage of 20 states as of 8 September 2026, including the narrower Florida law. Applicability thresholds and exemptions differ; location alone does not determine applicability.","These variants cover ordinary adult, non-sensitive processing. Child protections, sensitive-data consent or prohibitions, assessments and appeal workflows need separate implementation.",e?"No automatic banner. Supply timely disclosures and persistent opt-out controls; an optional notice dismissal records no consent.":"Optional categories stay denied until an explicit choice. Opt-in is a deployment choice, not a claim that every covered state requires it.","GPC denies marketing and measurement across the group as a conservative product mapping, not a claim that every state mandates GPC or all measurement is sale, sharing or targeted advertising.","The referenced GPC specification is a Working Draft, not a final Recommendation. Removing the signal does not withdraw a recorded opt-out.","Maryland collection minimization and sensitive-data/minor prohibitions require separate processing controls. Connecticut prohibits sale and targeted advertising using minors data from 1 July 2026. Consent cannot waive these limits.","Louisiana and Oklahoma start 1 January 2027, Alabama 1 May 2027 and Vermont 1 January 2028. These future laws are excluded from the current group. Nevada sale opt-outs and sector laws also apply outside it."]),validity:e?{choiceDays:365,noticeDays:365}:{choiceDays:365}}},oF=function(t,e,o,n){return{i18n:{messageProfile:"preferences"},id:t,match:oO.countries([e]),model:"opt-out",prompt:"none",review:o_(o,["Only for processing whose reviewed basis permits it before a consent choice. This preset does not establish that basis.","Supply required information before processing and persistent refusal controls. A no-prompt setting does not remove those duties.",...n]),validity:{choiceDays:365}}},oG=function(t){return{...oF("canada_opt_out","CA",["https://www.priv.gc.ca/en/privacy-topics/technology/online-privacy-tracking-cookies/tracking-and-ads/gl_ba_1112/"],["For nonsensitive processing meeting meaningful-consent requirements. The OPC permits opt-out behavioral advertising only with prominent purposes and parties at or before collection, immediate persistent refusal and minimized retention.","Sensitive, unexpected or significantly risky processing requires a separate express-consent assessment. The host must establish federal or provincial applicability.","Quebec is excluded. A missing province must not select this opt-out profile."]),id:"opt-in"===t?"canada_opt_in":"canada_opt_out",match:oO.regions(["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","SK","YT"].map(t=>({country:"CA",region:t}))),model:t,prompt:"opt-in"===t?"choice":"notice",validity:{choiceDays:365,noticeDays:365}}},oJ={australiaOptIn:()=>oN("australia_opt_in","AU",["https://www.oaic.gov.au/privacy/privacy-guidance-for-organisations-and-government-agencies/organisations/tracking-pixels-and-privacy-obligations"],["Use opt-in for consent-based processing. Australian Privacy Principles also permit eligible expected nonsensitive processing with notice and refusal; see australiaOptOut."]),australiaOptOut:()=>oF("australia_opt_out","AU",["https://www.oaic.gov.au/privacy/privacy-guidance-for-organisations-and-government-agencies/organisations/tracking-pixels-and-privacy-obligations","https://www.oaic.gov.au/privacy/australian-privacy-principles/australian-privacy-principles-guidelines/chapter-7-app-7-direct-marketing"],["APP necessity, notice and purpose limits still apply. Expected nonsensitive direct marketing can use the APP 7 opt-out route; sensitive and unexpected third-party uses need separate consent/basis review."]),brazilOptIn:()=>oN("brazil_opt_in","BR",["https://www.gov.br/anpd/pt-br/centrais-de-conteudo/materiais-educativos-e-publicacoes/guia-orientativo-cookies-e-protecao-de-dados-pessoais.pdf/@@display-file/file"],["ANPD cookie guidance recommends consent for uses such as advertising and behavioral profiling; other legal bases need their own assessment. This preset uses consent for optional categories.","Keep consent-based cookies off until choice, disclose specific purposes, make rejection readily available and support withdrawal."]),bruneiOptIn:()=>oN("brunei_opt_in","BN",["https://pdp.aiti.gov.bn/media/tndpduml/s-1_2025-e.pdf"],["The PDPO permits consent, specified deemed-consent routes and exceptions. This preset uses explicit consent for optional processing.","Nonpersonal processing and assessed exceptions can avoid consent requests. Personal-data ad targeting requires consent under PDPC cookie guidance.","Deemed consent by notification requires an assessment and a reasonable opportunity to opt out; it excludes sending direct marketing messages. Dismissing a notice does not implement that route.","The host must notify purposes and honor withdrawal under sections 13 and 17."]),californiaOptIn:()=>({...oU("opt-in"),legacyMaterial:structuredClone(of)}),californiaOptOut:()=>({...oU("opt-out"),legacyMaterial:structuredClone(om)}),canadaOptIn:()=>oG("opt-in"),canadaOptOut:()=>oG("opt-out"),chinaOptIn:()=>oN("china_opt_in","CN",["https://en.npc.gov.cn.cdurl.cn/2021-12/29/c_694559.htm","https://en.npc.gov.cn.cdurl.cn/2021-12/29/c_694559_2.htm"],["PIPL Articles 13–17 govern the processing basis, informed consent and withdrawal. This preset covers ordinary optional processing relying on consent.","A category grant does not establish separate consent for provision to other controllers, sensitive information or overseas transfers under Articles 23, 29 and 39. Keep those operations independently gated until their required permissions and transfer conditions are satisfied.","Personalized commercial recommendations need a non-personalized option or convenient refusal under Article 24."]),europeIab:()=>({...oV("iab"),legacyMaterial:structuredClone(ob)}),europeOptIn:()=>({...oV("opt-in"),legacyMaterial:structuredClone(ov)}),indiaOptIn:()=>oN("india_opt_in","IN",["https://www.meity.gov.in/static/uploads/2024/02/Digital-Personal-Data-Protection-Act-2023-1.pdf","https://www.meity.gov.in/static/uploads/2025/11/c56ceae6c383460ca69577428d36828b.pdf","https://www.meity.gov.in/static/uploads/2025/11/53450e6e5dc0bfa85ebd78686cadad39.pdf"],["DPDP commencement is phased, with full enforceability announced for 13 May 2027. This preset is an opt-in product default now, not a claim that every DPDP duty is already in force.","Using c15t does not make a deployment a registered Consent Manager under the DPDP Act."]),indonesiaOptIn:()=>oN("indonesia_opt_in","ID",["https://jdih.komdigi.go.id/produk_hukum/view/id/832/t/undangundang%2Bnomor%2B27%2Btahun%2B2022"],["Law 27/2022 provides several processing bases. This preset uses explicit, recorded consent for disclosed optional purposes, with withdrawal available through preferences.","The controller must supply the required information and retain proof of consent; category settings do not implement transfer safeguards or all data-subject requests."]),japanOptIn:()=>oN("japan_opt_in","JP",["https://www.ppc.go.jp/personalinfo/faq/APPI_QA/"],["APPI treatment depends on whether cookie data is personal information or personal-related information, including how a recipient combines it. Review third-party provision and applicable external-transmission notices separately."]),japanOptOut:()=>oF("japan_opt_out","JP",["https://www.ppc.go.jp/personalinfo/legal/guidelines_tsusoku/","https://laws.e-gov.go.jp/law/359AC0000000086"],["Only where APPI third-party provision, sensitive-data or recipient-matching consent is not triggered. A settings button does not implement the APPI registered third-party-provision opt-out procedure.","Telecommunications Business Act Article 27-12 requires notice or accessible publication for covered telecommunications services, subject to its exemptions. Ordinary corporate and own-retail sites are not automatically covered; APPI still applies. Disclose information sent, recipients and purposes where required."]),laosOptIn:()=>oN("laos_opt_in","LA",["https://lsp.moic.gov.la/?id=289&r=site%2Fdisplaylegal"],["Law on Electronic Data Protection 25/NA applies to electronic data. Article 12 requires purpose information and owner approval for collection of specific data, including personal data.","Article 17 addresses permission for sending or transferring data, including transfers abroad. Generic category consent does not establish a separate transfer permission or satisfy all collection notifications.","No general analytics exemption was verified in the available official translation. Obtain local interpretation before relying on an exception."]),malaysiaOptIn:()=>oN("malaysia_opt_in","MY",["https://www.pdp.gov.my/ppdpv1/en/akta/pdp-act-2010-en/","https://www.pdp.gov.my/ppdpv1/en/akta/personal-data-protection-amendment-act-2024/","https://www.pdp.gov.my/ppdpv1/en/akta/personal-data-protection-general-practice/","https://www.pdp.gov.my/ppdpv1/wp-content/uploads/2026/04/Data-Protection-By-Design-Guideline-DpbD.pdf"],[oz,"PDPA section 6 provides consent and specified exceptions. This preset uses consent for optional processing within the commercial-transactions scope of the Act.","Section 7 requires the written notice in the national language and English. A single automatically selected UI translation does not supply that bilingual notice; the host must provide it.","The General Code describes contextual implied consent, but the 2026 Data Protection by Design guideline recommends opt-in where consent is the basis and gives an essential-cookies-only default example. Do not infer page-load tracking permission from the older Code.","Section 45(2)(c) separately exempts qualifying statistics-only processing. Use malaysiaStatistics only after reviewing all included processing.","Sensitive personal data and international transfers need separate assessment under the amended Act."]),malaysiaStatistics:()=>({...oF("malaysia_statistics","MY",["https://www.pdp.gov.my/ppdpv1/wp-content/uploads/2024/07/UNDANG-UNDANG-MALAYSIA_AKTA_PERLINDUNGAN_DATA_PERIBADI_2010_709_MALAY_AND-ENG_V2022.pdf"],[oz,"PDPA section 45(2)(c) requires processing solely for statistics/research, no other use and nonidentifying published results. Advertising, profiling for other purposes and vendor reuse are excluded.","This is an exemption-based processing configuration, not implied consent obtained by dismissing a banner. Review every included measurement script. Security, Retention and Data Integrity Principles remain applicable."]),categories:["measurement"],scopeMode:"strict"}),philippinesOptIn:()=>oN("philippines_opt_in","PH",["https://privacy.gov.ph/data-privacy-act/","https://privacy.gov.ph/wp-content/uploads/2023/11/NPC-Circular-No.-2023-04_Guidelines-on-Consent_07Nov2023.pdf"],["Sections 12 and 13 distinguish lawful processing bases and sensitive-information conditions. This preset assumes consent for the configured optional purposes, not that consent is the only lawful basis.","Disclose specific purposes and recipients; a broad category label alone is not an informed consent notice."]),quebecOptIn:()=>({...{id:"quebec_opt_in",match:oO.regions([{country:"CA",region:"QC"}]),model:"opt-in",prompt:"choice",proof:oM,review:oE(["https://www.cai.gouv.qc.ca/protection-renseignements-personnels/sujets-et-domaines-dinteret/principaux-changements-loi-25","https://www.cai.gouv.qc.ca/uploads/pdfs/CAI_Criteres_Validite_Consentement.pdf"],["Optional identification, location and profiling functions require prior information and activation under section 8.1. Classify technical operations separately.","The CAI consent guidelines describe validity criteria, including purpose-specific choice and duration; they do not establish a blanket cookie opt-in rule.","The Law 25 highest-privacy-default provision does not apply to cookie privacy settings; this preset makes no blanket opt-in claim from it."]),validity:{choiceDays:365}},legacyMaterial:structuredClone(oy)}),saudiArabiaOptIn:()=>oN("saudi_arabia_opt_in","SA",["https://sdaia.gov.sa/en/SDAIA/about/Documents/ImplementingRegulation.pdf"],["PDPL Article 26 and Implementing Regulation Article 29 require consent for covered marketing, with refusal available afterward. An assessed Article 16 basis may cover expected nonsensitive analytics; this preset uses consent."]),singaporeOptIn:()=>oN("singapore_opt_in","SG",["https://www.pdpc.gov.sg/-/media/files/pdpc/pdf-files/advisory-guidelines/ag-on-selected-topics/advisory-guidelines-on-the-pdpa-for-selected-topics-(revised-may-2024).pdf","https://www.pdpc.gov.sg/-/media/files/pdpc/pdf-files/advisory-guidelines/ag-on-key-concepts/advisory-guidelines-on-key-concepts-in-the-pdpa-17-may-2022.pdf"],["Nonpersonal processing and assessed exceptions can avoid consent requests. Personal-data ad targeting requires consent under PDPC cookie guidance.","Deemed consent by notification requires an assessment and a reasonable opt-out period. This preset uses explicit choice and does not implement that route."]),southKoreaOptIn:()=>oN("south_korea_opt_in","KR",["https://elaw.klri.re.kr/eng_service/lawViewContent.do?hseq=71740"],["PIPA permits multiple processing bases. When relying on consent, purpose disclosures, optional consent and third-party provision need their own assessment; category toggles do not establish those facts."]),switzerlandOptIn:()=>oN("switzerland_opt_in","CH",["https://www.edoeb.admin.ch/en/cookie-guidelines-updated-version"],["Use this variant for optional tracking relying on consent, including highly intrusive or high-risk profiling. FDPIC guidance distinguishes these uses from lower-risk information-and-opt-out cases.","Assess sensitive data, profiling, third-party tracking and transfers separately; the CH matcher alone cannot establish a justification for processing."]),switzerlandOptOutNoPrompt:()=>({i18n:{messageProfile:"preferences"},id:"switzerland_opt_out_no_prompt",match:oO.countries(["CH"]),model:"opt-out",prompt:"none",review:o_(["https://www.edoeb.admin.ch/en/cookie-guidelines-updated-version"],["Only for processing with a reviewed justification that does not require prior consent. Unexpected low-intrusion uses require notice prominent enough that first-time visitors cannot ignore it.","The host must provide the required information before processing and a persistent, accessible way to refuse. No prompt does not mean no disclosure.","Do not use this variant for high-risk profiling, third-party advertising networks or unexpected tracking on political, religious or trade-union sites. This preset excludes these cases; assess them separately and use switzerlandOptIn for lawful consent-based processing.","This preset does not map GPC or establish a US sale-or-sharing right. Use a preferences control labelled for the actual processing."]),rights:["preferences"],validity:{choiceDays:365}}),thailandOptIn:()=>oN("thailand_opt_in","TH",["https://www.etda.or.th/getattachment/e820df2c-848f-4e03-86cb-a9dad38cc713/ENG-Version.aspx"],["PDPA section 19 requires informed, freely given consent and accessible withdrawal when consent is the basis. Sections 24 and 26 provide other bases and sensitive-data conditions.","Describe each consent purpose separately. Optional tracking must not be a condition for unrelated service."]),turkeyOptIn:()=>oN("turkey_opt_in","TR",["https://www.kvkk.gov.tr/Icerik/7595/2022-1358","https://www.kvkk.gov.tr/Icerik/6649/Personal-Data-Protection-Law"],["KVKK decision 2022/1358 requires opt-in for non-essential cookies when another applicable processing condition is absent. Necessary cookies are assessed separately.","This preset relies on consent for optional purposes; disclosures, sensitive-data conditions and overseas transfers require separate assessment."]),uaeOptIn:()=>oN("uae_opt_in","AE",["https://www.uaelegislation.gov.ae/en/legislations/1972/download"],["Federal Decree-Law 45/2021 provides consent and specific exceptions, not a general legitimate-interest basis. The AE location matcher does not select DIFC or ADGM business regimes.","Executive-regulation issuance and the resulting compliance transition were not established in this source review. Verify current federal applicability before deployment."]),ukStatistics:()=>({...oF("uk_statistics","GB",["https://www.legislation.gov.uk/uksi/2003/2426/schedule/A1",oR],["PECR Schedule A1 paragraph 5 requires service-improvement statistics as the sole purpose, limits sharing to assistance with those improvements, and requires information plus a free, simple objection mechanism. Paragraph 5(2) excludes collecting or monitoring automatically emitted device information, such as Wi-Fi probe requests.","ICO guidance limits this route to aggregate service statistics: no advertising, retained individual histories, cross-site tracking or vendor reuse. A provider must act only as a processor for this purpose. Personal-data processing still needs a UK GDPR lawful basis.","Provide clear information and a simple free objection mechanism. Every measurement script must meet these conditions; category membership alone is insufficient."]),categories:["measurement"],scopeMode:"strict"}),usPrivacyStatesOptIn:()=>oB("opt-in"),usPrivacyStatesOptOut:()=>oB("opt-out"),vietnamOptIn:()=>oN("vietnam_opt_in","VN",["https://vanban.chinhphu.vn/?classid=1&docid=214590&pageid=27160&typegroup=","https://datafiles.chinhphu.vn/cpp/files/vbpq/2025/7/91qh.signed.pdf","https://datafiles.chinhphu.vn/cpp/files/vbpq/2026/01/356-nd.signed.pdf"],["Law 91/2025/QH15 and Decree 356/2025 took effect on 1 January 2026. Article 28(8) requires consent before behavioral/personalized advertising; Decree Article 6 rejects default consent and requires evidence.","Keep distinct purposes separately selectable. This category preset does not implement processing impact assessments, transfer duties or platform-specific tracking obligations."]),worldNone:()=>({id:"world_none",match:oO.default(),model:"none",prompt:"none",proof:{storeIp:!1,storeLanguage:!1,storeUserAgent:!1},review:{assumptions:["Applies where no consent law grants the visitor rights over the optional categories, so no prompt, control or acknowledgement is owed.","Matches known locations no other rule covers. The matcher dataset is finite and does not establish that an unlisted location has no privacy law; review the locations your traffic actually comes from.","No GPC mapping; add privacySignals.gpc where the deployment honors the signal anyway.",...o$],reviewBy:"2026-12-15",status:"pending"}}),worldOptOutNoPrompt:()=>({...{i18n:{messageProfile:"preferences"},id:"world_opt_out_no_prompt",match:oO.default(),model:"opt-out",prompt:"none",proof:{storeIp:!1,storeLanguage:!1,storeUserAgent:!0},review:oE([],["Intentional allow-by-default configuration with no first-layer prompt. Disclosure, preferences and the opt-out right stay reachable.","Include this rule explicitly only after reviewing locations not covered by the pack. The matcher dataset is finite and does not establish that an unlisted location has no privacy law.","This is controller configuration, never the runtime fallback for a failed or unmatched resolution.","No GPC mapping; add privacySignals.gpc where the deployment honors the signal."]),rights:["preferences"],validity:{choiceDays:365,noticeDays:365}},legacyMaterial:structuredClone(ow)})},oH=function(t={}){let e=oJ.usPrivacyStatesOptOut();return[t.iab?oJ.europeIab():oJ.europeOptIn(),oJ.quebecOptIn(),{...e,match:oO.merge(e.match,oO.regionFallback(["US"]))},oJ.worldNone()]},oW=function(t,e){let{basis:o}=t;return"choice-v1"===o.kind?o.fingerprint===e.choice.fingerprint:void 0===o.materialFingerprint||null===e.legacyMaterialFingerprint||o.materialFingerprint===e.legacyMaterialFingerprint},oX=function(t,e,o){if(!t)return{authority:"absent",expiresAt:null};if(!oW(t,e))return{authority:"policy-changed",expiresAt:null};let n=null===e.choice.maxAgeMs?null:t.confirmedAt+e.choice.maxAgeMs;return null!==n&&o>=n?{authority:"expired",expiresAt:n}:{authority:"valid",expiresAt:n}},oK=function(t,e,o,n){let i=[];return e?.value===!1&&i.push("explicit-denial"),o||"strict"!==n.policy.scopeMode||i.push("strict-scope"),!0===n.gpc&&n.policy.gpcDenyCategories.includes(t)&&i.push("gpc"),n.optOuts?.some(e=>e.categories.includes(t))&&i.push("opt-out-directive"),i},oQ=function(t,e){let{policy:o}=e,n=e.choice?.categories[t],i=o.scope.includes(t),{authority:r,expiresAt:a}=oX(n,o,e.now),s=oK(t,n,i,e),c=i?"opt-out"===o.model||"none"===o.model:"permissive"===o.scopeMode,l="default";return i&&n?.value===!0&&"valid"===r&&(c=!0,l="grant"),s.length>0&&(c=!1,l="restricted"),{authority:r,expiresAt:a,inScope:i,permitted:c,restrictions:s,source:l}},oY=function(t,e){return{kind:t,reason:e}},oZ=function(t,e){return t.scope.some(t=>e[t].restrictions.length>0)},o1=function(t,e){let{policy:o}=t;if(0===o.scope.length||oZ(o,e))return{kind:"none"};let n=t.choice?.categories;if(!n||0===Object.keys(n).length)return oY("choice","missing");let i=!1,r=!1;for(let t of o.scope){let o=n[t],{authority:a}=e[t];if("policy-changed"===a)return oY("choice","policy-changed");o?o.value&&"expired"===a&&(r=!0):i=!0}return i?oY("choice","missing"):r?oY("choice","expired"):{kind:"none"}},o5=function(t,e){return null===e.notice.maxAgeMs?null:t.dismissedAt+e.notice.maxAgeMs},o0=function(t){let e=t.noticeDismissal;if(!e)return oY("notice","missing");if(e.fingerprint!==t.policy.notice.fingerprint)return oY("notice","policy-changed");let o=o5(e,t.policy);return null!==o&&t.now>=o?oY("notice","expired"):{kind:"none"}},o2=function(t,e){switch(t.policy.prompt){case"choice":return o1(t,e);case"notice":return o0(t);default:return{kind:"none"}}},o3=function(t,e,o){let{policy:n}=t,i=[],r="choice"===n.prompt&&"none"===o.kind&&!oZ(n,e);for(let o of n.scope){let a=e[o],s=t.choice?.categories[o],c="opt-out"!==n.model&&"none"!==n.model&&0===a.restrictions.length;s?.value===!0&&"valid"===a.authority&&null!==a.expiresAt&&(c||r)&&i.push(a.expiresAt)}let a=t.noticeDismissal;if("notice"===n.prompt&&a&&a.fingerprint===n.notice.fingerprint){let e=o5(a,n);null!==e&&e>t.now&&i.push(e)}let s=i.filter(e=>e>t.now);return 0===s.length?null:Math.min(...s)},o7=function(t){let e={},o={necessary:!0},n={};for(let i of eM){let r=oQ(i,t);e[i]=r,o[i]=r.permitted,r.restrictions.length>0&&(n[i]=r.restrictions)}let i=o2(t,e);return{categories:e,nextDeadline:o3(t,e,i),permissions:o,promptRequirement:i,restrictions:n}},o6=function(t,e){if(0===t.length)throw TypeError(`${e} condition cannot be empty`)},o4=function(t,e){if(!(t in e))throw Error(`Consent category "${t}" not found in consent state`);return e[t]||!1},o8=function t(e,o){if("string"==typeof e)return o4(e,o);if("object"==typeof e&&null!==e){if("and"in e){let n=Array.isArray(e.and)?e.and:[e.and];return o6(n,"AND"),n.every(e=>t(e,o))}if("or"in e){let n=Array.isArray(e.or)?e.or:[e.or];return o6(n,"OR"),n.some(e=>t(e,o))}if("not"in e)return!t(e.not,o)}throw TypeError(`Invalid condition structure: ${JSON.stringify(e)}`)},o9=function(t,e){return o8(t,e)},nt=function(t){let e=new Set;return!function t(o){"string"==typeof o?e.add(o):"object"==typeof o&&null!==o&&("and"in o?(Array.isArray(o.and)?o.and:[o.and]).forEach(t):"or"in o?(Array.isArray(o.or)?o.or:[o.or]).forEach(t):"not"in o&&t(o.not))}(t),Array.from(e)},ne=function(t,e){if(void 0!==t.vendorId){let o=String(t.vendorId),n=(t.iabLegIntPurposes?.length??0)>0,i=!n||(t.iabPurposes?.length??0)>0;if(n&&(!Object.hasOwn(e.vendorLegitimateInterests,o)||!0!==e.vendorLegitimateInterests[o])||i&&(!Object.hasOwn(e.vendorConsents,o)||!0!==e.vendorConsents[o]))return!1}return(t.iabPurposes??[]).every(t=>Object.hasOwn(e.purposeConsents,t)&&!0===e.purposeConsents[t])&&(t.iabLegIntPurposes??[]).every(t=>Object.hasOwn(e.purposeLegitimateInterests,t)&&!0===e.purposeLegitimateInterests[t])&&(t.iabSpecialFeatures??[]).every(t=>Object.hasOwn(e.specialFeatureOptIns,t)&&!0===e.specialFeatureOptIns[t])},no=function(t,e=Date.now()){if(null===t.nextDeadline||e<t.nextDeadline)return t;let o=o7({choice:t.explicitChoice,gpc:t.privacySignals.gpc.active,noticeDismissal:t.noticeDismissal,now:e,optOuts:t.optOutDirectives,policy:t.evaluationPolicy});return{effectivePermissions:o.permissions,restrictions:o.restrictions}},nn=function(t,e){let{iab:o}=t,n=o?.authority;return!!o?.enabled&&!!n&&"matched"===t.resolution.status&&n.choiceFingerprint===t.evaluationPolicy.choice.fingerprint&&!!n.tcString&&!!Number.isSafeInteger(n.confirmedAt)&&!!Number.isSafeInteger(n.expiresAt)&&!(n.confirmedAt<0)&&!(n.confirmedAt>e)&&!(n.expiresAt<=e)&&!(n.expiresAt<=n.confirmedAt)&&!0},ni=function(t,e,o=Date.now()){let n=no(e,o);if(void 0!==t.vendorId||t.iabPurposes?.length||t.iabLegIntPurposes?.length||t.iabSpecialFeatures?.length){if("iab"!==e.model)return!1;let{iab:i}=e,r=i?.authority;if(!r||!nn(e,o))return!1;for(let e of nt(t.category))if("necessary"!==e&&n.restrictions[e]?.length)return!1;return ne(t,r)}return o9(t.category,n.effectivePermissions)},nr=Object.freeze({categories:Object.freeze({}),version:3}),na=function(t,e,o){let n=[],i=eJ(o.actionAt,o.now??o.actionAt);if(i&&n.push({code:i,path:"actionAt"}),!eB(e))return n.push({code:"not-an-object",path:""}),{issues:n,ok:!1};let r=[],a=new Map;for(let t of eF(e)){let i=e[t];if("necessary"===t){!0!==i&&n.push({code:"invalid-boolean",path:t});continue}if(!eN(t)){n.push({code:"unknown-key",path:t});continue}if("boolean"!=typeof i){n.push({code:"invalid-boolean",path:t});continue}if(i&&!o.policy.scope.includes(t)){n.push({code:"out-of-scope",path:t});continue}a.set(t,i),r.push(t)}if(n.length>0)return{issues:n,ok:!1};let s=t??nr;if(0===a.size)return{choice:s,confirmed:[],ok:!0};let c={...s.categories};for(let[t,e]of a)c[t]={basis:{fingerprint:o.policy.choice.fingerprint,kind:"choice-v1"},confirmedAt:o.actionAt,value:e};return{choice:{categories:c,version:3},confirmed:r,ok:!0}},ns="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",nc=function(t,e){let o=BigInt(0);for(let n=0;n<t.length;n+=4)o=o*BigInt(0x100000000)+BigInt(e.getUint32(n,!1));let n=BigInt(0x271f35a0),i="";for(;o>BigInt(0);){let t=Number(o%n);o/=n;let e="";for(let n=0;n<5&&(e=ns.charAt(t%58)+e,t=Math.floor(t/58),o!==BigInt(0)||0!==t);n+=1);i=e+i}for(let e of t){if(0!==e)break;i=ns.charAt(0)+i}return i||ns.charAt(0)},nl=function(){let t=crypto.getRandomValues(new Uint8Array(20)),e=Date.now()-17e11,o=new DataView(t.buffer);return o.setUint32(0,Math.floor(e/0x100000000),!1),o.setUint32(4,e%0x100000000,!1),`sub_${nc(t,o)}`},nd=function(t){return[...new Set(t)].sort((t,e)=>t.localeCompare(e))},nu=function(t,e){if("opt-in"!==t&&"opt-out"!==t&&"iab"!==t&&"none"!==t)throw TypeError(`Unknown policy model "${t}"`);if("choice"!==e&&"notice"!==e&&"none"!==e)throw TypeError(`Unknown policy prompt "${e}"`);if("none"===t){if("none"!==e)throw TypeError(`Policy model "none" requires prompt "none", received "${e}"`);return}if("opt-out"!==t&&"choice"!==e)throw TypeError(`Policy model "${t}" requires prompt "choice", received "${e}"`)},np=function(t,e){let{fingerprint:o,maxAgeMs:n}=t;if(!eH(o))throw TypeError(`${e}.fingerprint must be a non-empty string`);if(null!==n&&!(Number.isFinite(n)&&n>=0))throw TypeError(`${e}.maxAgeMs must be null or a finite non-negative number`);return{fingerprint:o,maxAgeMs:n}},ng=function(t){for(let e of t)if(!eN(e))throw TypeError(`Scope has unknown category "${e}"`)},nh=function(t,e){let o=new Set;for(let n of t){if("necessary"===n)throw TypeError('GPC mapping cannot deny "necessary"');if(!eN(n))throw TypeError(`GPC mapping has unknown category "${n}"`);if(o.has(n))throw TypeError(`GPC mapping repeats category "${n}"`);if(!e.includes(n))throw TypeError(`GPC mapping category "${n}" is outside the policy scope`);o.add(n)}},nf=function(t){let{model:e,prompt:o,scopeMode:n}=t,i=t.legacyMaterialFingerprint??null;if(nu(e,o),"strict"!==n&&"permissive"!==n)throw TypeError(`Unknown policy scope mode "${n}"`);if(null!==i&&!eH(i))throw TypeError("legacyMaterialFingerprint must be null or a non-empty string");let r=np(t.choice,"choice"),a=np(t.notice,"notice");ng(t.scope);let s=nd(t.scope),c=t.gpcDenyCategories??[];return nh(c,s),{choice:r,gpcDenyCategories:nd(c),legacyMaterialFingerprint:i,model:e,notice:a,prompt:o,scope:s,scopeMode:n}},nm=function t(e){if(!("object"!=typeof e||null===e||Object.isFrozen(e)))for(let o of(Object.freeze(e),Object.values(e)))t(o)},nb=t=>{let{rule:e,fingerprints:o}=t;return nf({choice:{fingerprint:o.choice,maxAgeMs:Math.round(e.validity.choiceMs)},gpcDenyCategories:e.privacySignals.gpc.denyCategories,legacyMaterialFingerprint:o.legacyMaterial??null,model:e.model,notice:{fingerprint:o.notice,maxAgeMs:Math.round(e.validity.noticeMs)},prompt:e.prompt,scope:e.scope,scopeMode:e.scopeMode})},nv={fingerprints:{choice:"145fd951c0967e210d905acf5859a93cd03095c0291816b9c424d740048b7a47",notice:"4b563e76133c49a5e14cffd9c0a0cc16885b811d9ff77548165cc01ee94996d7",policy:"caadd5bcf45bf76cbc279b3dfe765f2dcd165c510f489c38994e4c9264d9314f"},policy:{actions:{allowed:["accept","customize","reject"],equivalent:[["accept","reject"]],required:["accept","reject"]},copyRevision:null,id:"c15t_safe_fallback",model:"opt-in",preselectedCategories:[],privacySignals:{gpc:{denyCategories:[]}},prompt:"choice",proof:{storeIp:!1,storeLanguage:!1,storeUserAgent:!1},rights:["disclosure","preferences"],scope:["experience","functionality","marketing","measurement"],scopeMode:"strict",validity:{choiceMs:31536e6,noticeMs:31536e6}}},ny={fingerprints:nv.fingerprints,rule:nv.policy};nm(ny);let nw=nb(ny);nm(nw);let nk=function(t){return"matched"===t.status?{fingerprints:t.fingerprints,rule:t.policy}:ny},nx=function(t){return t===ny?nw:nb(t)},nI=function(t,e){return"iab"===t.model?e?"iab":"opt-in":t.model},nS=function(t){return t.policyPending||"failed"===t.resolution.status||"none"===t.promptRequirement.kind?"none":(t.promptRequirement.kind,"banner")},nA=function(t,e,o){let n={};for(let i of t.scope){let r=e?.[i];if("boolean"==typeof r){n[i]=r;continue}let a=o?.categories[i];if(a){n[i]=a.value;continue}n[i]="opt-out"===t.model||"none"===t.model||t.preselectedCategories.includes(i)}return n},nj=function(t,e){let o={};for(let n of t.scope)o[n]=e;return o},nP=["subjectId","externalId","identityProvider"],nC=new Set(eM),nD=function(t,e){if(!eB(t))return e.push({code:"not-an-object",path:"subject"}),null;let o={},n=!1;for(let i of eF(t)){if(!nP.includes(i)){e.push({code:"unknown-key",path:`subject.${i}`});continue}let r=eG(t,i);if(void 0!==r){if(!eH(r)){e.push({code:"invalid-identifier",path:`subject.${i}`});continue}o[i]=r,n=!0}}return n?o:null},nO=function(t,e,o,n){if(!eB(t))return n.push({code:"not-an-object",path:e}),null;let i=!0;"gpc"!==eG(t,"source")&&(n.push({code:"invalid-basis",path:`${e}.source`}),i=!1);let r=eG(t,"recordedAt"),a=eJ(r,o);a&&(n.push({code:a,path:`${e}.recordedAt`}),i=!1);let s=eG(t,"categories"),c=[];if(Array.isArray(s))for(let[t,o]of s.entries()){if("string"!=typeof o||!nC.has(o)){n.push({code:"unknown-key",path:`${e}.categories[${t}]`}),i=!1;continue}c.includes(o)||c.push(o)}else n.push({code:"not-an-object",path:`${e}.categories`}),i=!1;return i?{categories:c.sort(),recordedAt:r,source:"gpc"}:null},nT=function(t,e){let o=[],n={};if(void 0!==t.choice)if(null===t.choice)n.choice=null;else{let i=eK(t.choice,e);!0===i.ok?n.choice=i.record:o.push(...i.issues.map(t=>({...t,path:`choice.${t.path}`})))}if(void 0!==t.subject&&(n.subject=null===t.subject?null:nD(t.subject,o)),void 0!==t.noticeDismissal)if(null===t.noticeDismissal)n.noticeDismissal=null;else{let i=eQ(t.noticeDismissal,e);!0===i.ok?n.noticeDismissal=i.record:o.push(...i.issues.map(t=>({...t,path:`noticeDismissal.${t.path}`})))}if(void 0!==t.optOutDirectives)if(Array.isArray(t.optOutDirectives)){let i=[];for(let[n,r]of t.optOutDirectives.entries()){let t=nO(r,`optOutDirectives[${n}]`,e,o);t&&i.push(t)}n.optOutDirectives=i}else o.push({code:"not-an-object",path:"optOutDirectives"});return o.length>0?{issues:o,ok:!1}:{ok:!0,records:n}},nL=function(t,e){if(!t)return e;if(!e)return t;let o={...t.categories};for(let t of eM){let n=e.categories[t],i=o[t];n&&(!i||n.confirmedAt>i.confirmedAt)&&(o[t]=n)}return{categories:o,version:3}},nR=function(t,e,o){let n={now:o};if(void 0!==e.optOutDirectives){let o=[...t.optOutDirectives];for(let t of e.optOutDirectives)o.some(e=>e.source===t.source&&e.recordedAt===t.recordedAt&&e.categories.join(",")===t.categories.join(","))||o.push(t);n.optOutDirectives=o}if(void 0!==e.noticeDismissal){let o=t.noticeDismissal,i=e.noticeDismissal;n.noticeDismissal=i&&(!o||i.dismissedAt>o.dismissedAt)?i:o}return void 0!==e.subject&&(n.subject=e.subject?{...t.subject,...e.subject}:t.subject),n},nz={authority:null,cmpId:null,customVendors:[],enabled:!1,gvl:null,purposeConsents:{},purposeLegitimateInterests:{},specialFeatureOptIns:{},tcString:null,vendorConsents:{},vendorLegitimateInterests:{}},n$=Object.freeze({policy:null,status:"unconfigured"}),nE=nk(n$),nM=nx(nE),nV=Object.freeze([]),nU=Object.freeze({}),nq=Object.freeze({gpc:Object.freeze({active:!1,detected:!1,override:void 0})}),n_=o7({choice:null,noticeDismissal:null,now:0,optOuts:nV,policy:nM});nm(n_);let nN=function(t){if(!t||"object"!=typeof t)return null;let e={},o=!1;for(let n of eM)Object.hasOwn(t,n)&&"boolean"==typeof t[n]&&(e[n]=t[n],o=!0);return o?e:null},nB=function(t){return t?{...t,purposeConsents:{...t.purposeConsents},purposeLegitimateInterests:{...t.purposeLegitimateInterests},specialFeatureOptIns:{...t.specialFeatureOptIns},vendorConsents:{...t.vendorConsents},vendorLegitimateInterests:{...t.vendorLegitimateInterests}}:null},nF=function(t){if(!(!t||Object.isFrozen(t))){for(let e of Object.keys(t.categories)){let o=t.categories[e];o&&(Object.freeze(o.basis),Object.freeze(o))}Object.freeze(t.categories),Object.freeze(t)}},nG=function(t){if(nm(t.iab?.authority),t.effectivePermissions!==n_.permissions&&Object.freeze(t.effectivePermissions),t.overrides!==nU&&Object.freeze(t.overrides),t.promptRequirement!==n_.promptRequirement&&Object.freeze(t.promptRequirement),t.restrictions!==n_.restrictions&&!Object.isFrozen(t.restrictions)){for(let e of Object.values(t.restrictions))Object.freeze(e);Object.freeze(t.restrictions)}if(t.optOutDirectives!==nV){for(let e of t.optOutDirectives)Object.freeze(e.categories),Object.freeze(e);Object.freeze(t.optOutDirectives)}for(let e of(t.privacySignals!==nq&&(Object.freeze(t.privacySignals.gpc),Object.freeze(t.privacySignals)),t.resolution!==n$&&nm(t.resolution),t.policyRule!==nE.rule&&nm(t.policyRule),t.evaluationPolicy!==nM&&nm(t.evaluationPolicy),nF(t.explicitChoice),[t.noticeDismissal,t.subject,t.user,t.translations,t.iab,t.location]))e&&Object.freeze(e);return Object.freeze(t)},nJ=function(t){var e;let o=t.now??t.initialRecords?.now??Date.now(),n=t.initialPolicyResolution??n$,i=nk(n),r=nx(i),a=t.initialPolicyPending??!1,s=t.initialRecords?nT(t.initialRecords,o):null,c=s?.ok===!0?s.records:null,l=c?.choice??null,d=c?.noticeDismissal??null,u=c?.optOutDirectives??nV,p=c?.subject??null,g=(e=t.initialIab)?{...nz,...e,authority:nB(e.authority??null)}:null,h=t.initialOverrides?.gpc,f=t.initialPrivacySignals?.gpc===!0,m=void 0!==h||f?{gpc:{active:h??f,detected:f,override:h}}:nq,b=r===nM&&null===l&&null===d&&0===u.length?n_:o7({choice:l,gpc:m.gpc.active,noticeDismissal:d,now:o,optOuts:u,policy:r});return nG({activeUI:nS({policyPending:a,promptRequirement:b.promptRequirement,resolution:n}),branding:t.initialBranding??null,effectivePermissions:b.permissions,evaluatedAt:o,evaluationPolicy:r,explicitChoice:l,iab:g,location:t.initialLocation?{...t.initialLocation}:null,model:nI(i.rule,g?.enabled??!1),nextDeadline:b.nextDeadline,noticeDismissal:d,optOutDirectives:u,overrides:t.initialOverrides?{...t.initialOverrides}:nU,policyPending:a,policyRule:i.rule,policySnapshotToken:t.initialPolicySnapshotToken??null,privacySignals:m,promptRequirement:b.promptRequirement,resolution:n,restrictions:b.restrictions,revision:0,subject:p,translations:t.initialTranslations?{...t.initialTranslations}:null,user:t.initialUser?{...t.initialUser}:null})},nH=function(t,e,o){var n,i;let r,a={now:o,policyPending:!1};e.resolvedOverrides&&(a.overrides={...t.overrides,...e.resolvedOverrides}),void 0!==e.location&&(a.location=e.location),void 0!==e.translations&&(a.translations=e.translations?(n=t.translations,i=e.translations,n?.translations&&i?.translations&&n.language===i.language?{...i,translations:l(n.translations,i.translations)}:i):e.translations),void 0!==e.branding&&(a.branding=e.branding);let s=Object.hasOwn(e,"policyResolution")?eO(e.policyResolution):{policy:null,reason:"invalid-payload",status:"failed"};if(a.resolution=s,"matched"===s.status?a.policySnapshotToken=e.policySnapshotToken??null:a.policySnapshotToken=null,void 0!==e.gvlReference||void 0!==e.gvl||void 0!==e.customVendors||void 0!==e.cmpId){let o=t.iab??nz;r={...o,cmpId:void 0===e.cmpId?o.cmpId:e.cmpId,customVendors:void 0===e.customVendors?o.customVendors:e.customVendors,gvl:void 0===e.gvl?o.gvl:e.gvl,gvlReference:void 0===e.gvl?o.gvlReference:e.gvlReference},void 0!==e.gvlReference&&(r.gvl=e.gvl??null,r.gvlReference=e.gvlReference),e.gvlReference?r.enabled=!0:null===e.gvl&&(r.enabled=!1)}if("matched"!==s.status){let e=r??t.iab;e?.enabled&&(r={...e,enabled:!1})}void 0!==r&&(a.iab=r),e.resolvedPrivacySignals?.gpc!==void 0&&(a.privacyDetected=!0===e.resolvedPrivacySignals.gpc);let c=null;if(e.records){let n=nT(e.records,o);!0===n.ok?(void 0!==n.records.choice&&(a.explicitChoice=nL(t.explicitChoice,n.records.choice)),Object.assign(a,nR(t,n.records,o))):c=n.issues}if(void 0!==e.subjectId){let o=void 0===a.subject?t.subject:a.subject;a.subject={...o,subjectId:e.subjectId}}return{patch:a,recordIssues:c}},nW="privacy-consent-storage",nX="c15t-v3-pending-consent-saves:v1",nK=function(t,e){let o=eM.filter(e=>Object.hasOwn(t.confirmed.categories,e)),n=o.filter(e);if(n.length===o.length)return t;if(0===n.length)return null;let i={},r={},a={experience:!1,functionality:!1,marketing:!1,measurement:!1,necessary:!0};for(let e of n){let o=t.choice.categories[e];o&&(i[e]=o.value,r[e]=o,a[e]=t.consents[e])}return{...t,choice:{categories:r,version:3},confirmed:{...t.confirmed,categories:i},consentAction:"custom",consents:a,tcString:null}},nQ=function(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)},nY=function(t){return void 0===t||"string"==typeof t},nZ=function(t){var e;return null===t||!!nQ(t)&&"string"==typeof t.externalId&&nY(t.externalIdType)&&nY(t.identityProvider)&&(void 0===t.properties||nQ(e=t.properties)&&Object.values(e).every(t=>"string"==typeof t||"number"==typeof t||"boolean"==typeof t))},n1=function(t){if(!nQ(t)||!nQ(t.categories)||"number"!=typeof t.actionAt||!Number.isSafeInteger(t.actionAt)||t.actionAt<0)return!1;let e=new Set(eM);return Object.entries(t.categories).every(([t,o])=>e.has(t)&&"boolean"==typeof o)},n5=function(t){var e,o,n;let i;if(!nQ(t)||!(nQ(e=t.subject)&&nY(e.subjectId)&&nY(e.externalId)&&nY(e.identityProvider))||!(void 0===(i=t.decisionInputs)||nQ(i)&&(null===i.policyId||"string"==typeof i.policyId&&i.policyId.length>0&&"string"==typeof i.fingerprint&&i.fingerprint.length>0)&&(null===i.country||"string"==typeof i.country)&&(null===i.region||"string"==typeof i.region)&&"string"==typeof i.language&&"boolean"==typeof i.gpc)||!n1(t.confirmed)||!eK(t.choice,Date.now()).ok)return!1;let r=null===t.model||"opt-in"===t.model||"opt-out"===t.model||"iab"===t.model||"none"===t.model,a=null===t.uiSource||"none"===t.uiSource||"banner"===t.uiSource||"dialog"===t.uiSource,s="all"===t.consentAction||"necessary"===t.consentAction||"custom"===t.consentAction;return"string"==typeof t.subjectId&&nQ(o=t.consents)&&Object.values(o).every(t=>"boolean"==typeof t)&&nQ(t.overrides)&&nZ(t.user)&&r&&a&&s&&(void 0===(n=t.givenAt)||"number"==typeof n&&Number.isFinite(n))&&(null===t.policySnapshotToken||"string"==typeof t.policySnapshotToken)&&(void 0===t.tcString||null===t.tcString||"string"==typeof t.tcString)},n0=function(){if("u"<typeof window)return null;try{return window.localStorage}catch{return null}},n2=function(){if("u"<typeof navigator)return null;try{let{locks:t}=navigator;return t&&"function"==typeof t.request?t:null}catch{return null}},n3=async function(t){let e=n2();if(!e)return t();try{return await e.request(nX,t)}catch{return t()}},n7=function(t,e){try{if(0===e.length)return void t.removeItem(nX);t.setItem(nX,JSON.stringify(e))}catch{}},n6=function(t,e){return t.subjectId!==e.subjectId||t.confirmed.actionAt>e.confirmed.actionAt?t:nK(t,t=>!Object.hasOwn(e.confirmed.categories,t))},n4=function(t,e){if(!Array.isArray(t))return[];let o=e-6048e5,n=[];for(let e of t)nQ(e)&&n5(e.payload)&&"number"==typeof e.queuedAt&&Number.isFinite(e.queuedAt)&&e.queuedAt>=0&&"number"==typeof e.attempts&&Number.isInteger(e.attempts)&&e.attempts>=0&&!(e.queuedAt<o)&&!(e.attempts>=10)&&n.push(e);return n.sort((t,e)=>t.payload.confirmed.actionAt-e.payload.confirmed.actionAt||t.queuedAt-e.queuedAt),n.flatMap((t,e)=>{let o=t.payload;for(let t of n.slice(e+1))o&&(o=n6(o,t.payload));return o?[{...t,payload:o}]:[]})},n8=function(t){try{let e=t.getItem(nX);if(!e)return[];let o=JSON.parse(e),n=n4(o,Date.now());return JSON.stringify(n)!==JSON.stringify(o)&&n7(t,n),n}catch{return n7(t,[]),[]}},n9=function(t,e){return t.queuedAt===e.queuedAt&&t.attempts===e.attempts&&JSON.stringify(t.payload)===JSON.stringify(e.payload)},it=function(t,e,o){let n=[];for(let i of n8(t)){if(!n9(i,e)){n.push(i);continue}let t=i.attempts+1;!o&&t<10&&n.push({...i,attempts:t})}n7(t,n)},ie=function(t){let e=null,o=async function(e,o){if(!await n3(()=>n8(e).some(t=>n9(t,o))))return null;let n=!1;try{({ok:n}=await t.save(o.payload))}catch{}return await n3(()=>it(e,o,n)),n},n=async function(){let e=n0();if(!e)return!1;for(let n of(await n3(()=>n8(e)))){let i=await o(e,n);null!==i&&t.emit({ok:i,subjectId:n.payload.subjectId,type:"save:replayed"})}return(await n3(()=>n8(e))).length>0};return{discard:async function(t){let e=n0();e&&await n3(()=>{let o=n8(e),n=o.flatMap(e=>{let o=n6(e.payload,t);return o?[{...e,payload:o}]:[]});JSON.stringify(n)!==JSON.stringify(o)&&n7(e,n)})},enqueue:async function(t){let e=n0();e&&await n3(()=>{let o=n8(e);o.push({attempts:0,payload:t,queuedAt:Date.now()}),n7(e,n4(o,Date.now()))})},replay:async function(){if(e)return e;e=n();try{return await e}finally{e=null}}}},io=function(t,e){return"number"==typeof t&&Number.isFinite(t)&&t>=0?t:e},ii=function(){return"production"===globalThis.process?.env?.NODE_ENV},ir=function(t){if(ii())return;let e=null===t?"No retry is scheduled.":`A retry is scheduled in ${t} ms.`;console.warn(`[c15t] Backend/manifest init failed. The consent banner is withheld and optional categories stay denied. ${e}`)},ia=function(t,e){let o={now:e,policySnapshotToken:null,resolution:{policy:null,reason:"transport",status:"failed"}};return t.iab?.enabled&&(o.iab={...t.iab,enabled:!1}),o},is=function(t,e,o,n){let i=t.policyRule,r=void 0===n?i.scope:i.scope.filter(t=>n.includes(t)),a=t=>void 0===n?t:Object.fromEntries(r.map(e=>[e,t[e]]));return"all"===o||"none"===o?{consentAction:r.length===i.scope.length?"all"===o?"all":"necessary":"custom",values:a(nj(i,"all"===o))}:void 0===o?{consentAction:"custom",values:a(nA(i,e,t.explicitChoice))}:{consentAction:"custom",values:o}},ic=function(t,e){let o={...t.subject,subjectId:e};return t.user?.externalId&&(o.externalId=t.user.externalId,t.user.identityProvider&&(o.identityProvider=t.user.identityProvider)),o},il=function(t,e,o,n){return!!(null!==t&&"object"==typeof t&&!Array.isArray(t))&&"iab"===e.model&&"matched"===e.resolution.status&&e.iab?.enabled===!0&&"string"==typeof t.tcString&&t.tcString.length>0&&t.choiceFingerprint===e.evaluationPolicy.choice.fingerprint&&t.confirmedAt===o&&"number"==typeof t.expiresAt&&Number.isSafeInteger(t.expiresAt)&&t.expiresAt>n&&t.expiresAt>o&&t.expiresAt<=o+Math.min(e.evaluationPolicy.choice.maxAgeMs??34128e6,34128e6)&&[t.vendorConsents,t.vendorLegitimateInterests,t.purposeConsents,t.purposeLegitimateInterests,t.specialFeatureOptIns].every(t=>null!==t&&"object"==typeof t&&!Array.isArray(t)&&Object.values(t).every(t=>"boolean"==typeof t))},id=function(t,e,o){o&&e.iab&&(t.iab={...e.iab,authority:nB(o),tcString:o.tcString})},iu=function(t){let{runtime:e,transport:o,initRetry:n}=t,{getSnapshot:i,commit:r,emit:a}=e,s=!1===n?null:{baseDelayMs:io(n?.baseDelayMs,1e3),maxAttempts:Math.max(1,Math.floor(io(n?.maxAttempts,5))),maxDelayMs:io(n?.maxDelayMs,3e4)},c=o?.save?ie({emit:a,save:o.save}):null,l=!1,d=0,u=!1,p=!1,g=null,h=!1,f=null,m=0,b=function(){return"u"<typeof window?null:window},v=function(){null!==f&&(clearTimeout(f),f=null)},y=function(){p&&!("u"<typeof document)&&"function"==typeof document.removeEventListener&&(document.removeEventListener("visibilitychange",C),p=!1)},w=function(){l||p||"u"<typeof document||"function"!=typeof document.addEventListener||(document.addEventListener("visibilitychange",C),p=!0)},k=function(){return"u"<typeof document||"hidden"!==document.visibilityState},x=async function(){l||!c||await c.replay()&&T()},I=function(t,o=!0){o&&e.reconcilePrivacy(t),e.armDeadlineTimer()},S=function(t){r({now:t,policyPending:!1})&&a({snapshot:i(),type:"init:applied"})},A=async function(t){if(a({type:"command:init:started"}),e.start(),!o?.init){let t=e.now();S(t),I(t);let o={ok:!0};return a({result:o,type:"command:init:completed"}),x(),o}let n=d,c=e.getGeneration(),u=function(t){let e={error:t,ok:!1};return a({result:e,type:"command:init:completed"}),e};try{let t=i(),s={overrides:t.overrides,user:t.user},l=await o.init(s);if(n!==d)return u(Error("c15t: init attempt superseded by a newer init()"));let p=e.now(),h=i(),f=c===e.getGeneration()&&t.subject?.subjectId===h.subject?.subjectId&&t.user===h.user?l:{...l,records:void 0,subjectId:void 0},m=nH(h,f,p);m.recordIssues&&!ii()&&console.warn("[c15t] Ignored invalid server records on init.",m.recordIssues),(r(m.patch)||t.policyPending)&&a({snapshot:i(),type:"init:applied"}),I(p,c===e.getGeneration()),v(),g=null,y();let b={ok:!0};return a({result:b,type:"command:init:completed"}),x(),b}catch(m){var p,h;if(n!==d)return u(m);a({command:"init",error:m,type:"command:error"});let o=e.now();r(ia(i(),o)),I(o,c===e.getGeneration());let g=s&&t<s.maxAttempts&&!l?(p=s,h=t,Math.floor(Math.min(p.baseDelayMs*2**(h-1),p.maxDelayMs)*(.5+.5*Math.random()))):null;a({attempt:t,error:m,nextRetryMs:g,type:"init:failed"}),ir(g),null!==g&&D(t+1,g);let f={error:m,ok:!1};return a({result:f,type:"command:init:completed"}),f}},j=async function(t){try{await A(t)}finally{h=!1}},P=function(){if(l||h||null===g)return;if(!k())return void w();let t=g;g=null,y(),h=!0,j(t)},C=function(){k()&&P()},D=function(t,e){l||(v(),g=t,T(),f=setTimeout(()=>{f=null,P()},e))},O=function(){l||(x(),null!==g&&(v(),P()))},T=function(){let t=b();l||u||!t||"function"!=typeof t.addEventListener||(t.addEventListener("online",O),u=!0)},L=async function(t,n){if(!o?.loadSubjectRecord||!t)return;let r=e.getGeneration();try{let s=await o.loadSubjectRecord(t),c=n!==m||e.getGeneration()!==r||(i().subject?.subjectId??null)!==t;if(s&&!c){let t=e.mergeServerRecords(s);!1===t.ok&&a({command:"loadSubjectRecord",error:Error("c15t: server record rejected by validation"),type:"command:error"})}}catch(t){a({command:"loadSubjectRecord",error:t,type:"command:error"})}},R=async function(t,n,s,l){let d=()=>{let o=i();return e.getGeneration()!==n||o.user!==l.user||o.evaluationPolicy.choice.fingerprint!==l.evaluationPolicy.choice.fingerprint?null:nK(t,t=>o.explicitChoice?.categories[t]===l.explicitChoice?.categories[t])},u=o?.save;if(!u)return{confirmed:s,ok:!0,subjectId:t.subjectId};try{await new Promise(t=>{setTimeout(t,0)});let t=d();if(!t)return{confirmed:s,ok:!1};let o=await u(t),n=d();if(!n||(o.ok?await c?.discard(n):(await c?.enqueue(n),T()),!d()))return{...o,confirmed:s};return o.ok&&(o.subjectId&&o.subjectId!==i().subject?.subjectId&&i().explicitChoice===l.explicitChoice&&i().subject?.subjectId===l.subject?.subjectId&&(r({subject:{...i().subject,subjectId:o.subjectId}}),a({snapshot:i(),type:"subject:resolved"})),e.flushPrivacy()),{...o,confirmed:s}}catch(e){a({command:"save",error:e,type:"command:error"});let t=d();return t&&(await c?.enqueue(t),T()),{confirmed:s,ok:!1}}};return{commands:{dismissNotice(){let t=i();if("notice"!==t.promptRequirement.kind)return Promise.resolve({ok:!1,reason:"not-required"});let o=e.now(),n={dismissedAt:o,fingerprint:t.evaluationPolicy.notice.fingerprint,version:1};return r({noticeDismissal:n,now:o}),a({dismissal:n,snapshot:i(),type:"notice:dismissed"}),e.armDeadlineTimer(),Promise.resolve({dismissal:n,ok:!0})},async identify(t){let n=m+=1,s=e.getGeneration(),{subject:c,iab:l}=i(),d=c?.subjectId??null,u={user:{...t}};if(l&&(u.iab={...l,authority:null,tcString:null}),r(u),a({snapshot:i(),type:"user:identified"}),o?.identify)try{await o.identify({...t},d)}catch(t){throw a({command:"identify",error:t,type:"command:error"}),t}n===m&&e.getGeneration()===s&&(i().subject?.subjectId??null)===d&&(e.flushPrivacy(),await L(d,n))},init:()=>(l=!1,e.rearm(),d+=1,v(),g=null,y(),A(1)),async save(t,o){let n=e.now(),s=o?.actionAt===void 0?n:o.actionAt;if(!Number.isSafeInteger(s)||!(s>=0)||!(s<=n))return{issues:[{code:"invalid-timestamp",path:"actionAt"}],ok:!1};if(o?.iabAuthority!==void 0&&!il(o.iabAuthority,i(),s,n))return{ok:!1};a({type:"command:save:started"});let c=i(),l="none"!==c.evaluationPolicy.model?null:{confirmed:[],ok:!0,subjectId:c.subject?.subjectId};if(l)return a({result:l,type:"command:save:completed"}),l;let d=c.activeUI,{values:u,consentAction:p}=is(c,e.getDraft(),t,o?.categories),g=na(c.explicitChoice,u,{actionAt:s,now:n,policy:c.evaluationPolicy});if(!1===g.ok){let t={issues:g.issues,ok:!1};return a({result:t,type:"command:save:completed"}),t}if(0===g.confirmed.length){let t={confirmed:[],ok:!0,subjectId:c.subject?.subjectId};return a({result:t,type:"command:save:completed"}),t}let h=c.subject?.subjectId??nl(),f=ic(c,h);e.setDraft(null);let m={explicitChoice:g.choice,now:n,subject:f};id(m,c,o?.iabAuthority),r(m);let b=i(),v=e.getGeneration(),y={};for(let t of g.confirmed){let e=g.choice.categories[t];e&&(y[t]=e.value)}a({actionAt:s,confirmed:g.confirmed,snapshot:b,type:"choice:recorded"}),e.armDeadlineTimer();let w={choice:g.choice,confirmed:{actionAt:s,categories:y},consentAction:p,consents:b.effectivePermissions,..."no-match"!==b.resolution.status&&"matched"!==b.resolution.status?{}:{decisionInputs:{country:b.location?b.location.countryCode:b.overrides.country??null,fingerprint:"matched"===b.resolution.status?b.resolution.fingerprints.policy:void 0,gpc:b.privacySignals.gpc.active,language:b.translations?.language??b.overrides.language??"en",policyId:"matched"===b.resolution.status?b.resolution.policyId:null,region:b.location?b.location.regionCode:b.overrides.region??null}},givenAt:s,model:b.model,overrides:b.overrides,policySnapshotToken:b.policySnapshotToken,subject:f,subjectId:h,tcString:b.iab?.tcString??null,uiSource:d,user:b.user},k=await R(w,v,g.confirmed,b);return a({result:k,type:"command:save:completed"}),k}},dispose:function(){if(l)return;l=!0,v(),g=null,y(),e.stopTimers();let t=b();u&&t&&"function"==typeof t.removeEventListener&&t.removeEventListener("online",O),u=!1}}},ip=function(){let t;return{emit(e){let o=t?.get(e.type);if(o)for(let t of o)t(e)},on(e,o){let n=(t??=new Map).get(e);return n||(n=new Set,t.set(e,n)),n.add(o),()=>{n?.delete(o)}}}},ig=function(t,e){return void 0===t?e:t},ih=function(t,e){let o=ig(e.now,t.evaluatedAt);return!t.iab?.authority&&!(o<t.evaluatedAt)&&!!Number.isFinite(o)&&(null===t.nextDeadline||!(o>=t.nextDeadline))&&ig(e.privacyDetected,t.privacySignals.gpc.detected)===t.privacySignals.gpc.detected&&ig(e.explicitChoice,t.explicitChoice)===t.explicitChoice&&ig(e.noticeDismissal,t.noticeDismissal)===t.noticeDismissal&&ig(e.optOutDirectives,t.optOutDirectives)===t.optOutDirectives&&ig(e.resolution,t.resolution)===t.resolution&&ig(e.subject,t.subject)===t.subject&&ig(e.overrides,t.overrides)===t.overrides&&ig(e.user,t.user)===t.user&&ig(e.location,t.location)===t.location&&ig(e.translations,t.translations)===t.translations&&ig(e.branding,t.branding)===t.branding&&ig(e.policySnapshotToken,t.policySnapshotToken)===t.policySnapshotToken&&ig(e.activeUI,t.activeUI)===t.activeUI&&ig(e.policyPending,t.policyPending)===t.policyPending&&ig(e.iab,t.iab)===t.iab},im=function(t,e){if(t===e)return!0;for(let o of Object.keys(e))if(t[o]!==e[o])return!1;return Object.keys(t).length===Object.keys(e).length},ib=function(t,e){if(t===e)return!0;for(let o of eM){let n=t[o],i=e[o];if(n!==i&&(!n||!i||n.length!==i.length||n.some((t,e)=>t!==i[e])))return!1}return!0},iv=function(t,e){var o,n,i,r,a,s,c;let l=ig(e.resolution,t.resolution),d=l!==t.resolution,u=d?nk(l):null,p=u?u.rule:t.policyRule,g=u?nx(u):t.evaluationPolicy,h=ig(e.explicitChoice,t.explicitChoice),f=ig(e.noticeDismissal,t.noticeDismissal),m=(o=t.optOutDirectives,void 0===(n=e.optOutDirectives)||n===o||n.length===o.length&&n.every((t,e)=>{let n=o[e];return void 0!==n&&t.source===n.source&&t.recordedAt===n.recordedAt&&t.categories.length===n.categories.length&&t.categories.every((t,e)=>t===n.categories[e])})?o:n),b=ig(e.overrides,t.overrides),v=ig(e.privacyDetected,t.privacySignals.gpc.detected),y=(i=b.gpc,{gpc:{active:i??v,detected:v,override:i}}),w=(r=t.privacySignals,y.gpc.active===r.gpc.active&&y.gpc.detected===r.gpc.detected&&y.gpc.override===r.gpc.override)?t.privacySignals:y,k=ig(e.now,t.evaluatedAt),x=ig(e.iab,t.iab);x?.authority&&(!x.enabled||"matched"!==l.status||"iab"!==p.model||x.authority.choiceFingerprint!==g.choice.fingerprint)&&(x={...x,authority:null});let I=g===t.evaluationPolicy&&h===t.explicitChoice&&f===t.noticeDismissal&&m===t.optOutDirectives&&w.gpc.active===t.privacySignals.gpc.active&&k>=t.evaluatedAt&&(null===t.nextDeadline||k<t.nextDeadline)?{nextDeadline:t.nextDeadline,permissions:t.effectivePermissions,promptRequirement:t.promptRequirement,restrictions:t.restrictions}:o7({choice:h,gpc:w.gpc.active,noticeDismissal:f,now:k,optOuts:m,policy:g}),S=im(t.effectivePermissions,I.permissions)?t.effectivePermissions:I.permissions,A=(a=t.promptRequirement,s=I.promptRequirement,a.kind===s.kind&&("none"===a.kind||"none"===s.kind||a.reason===s.reason))?t.promptRequirement:I.promptRequirement,j=ib(t.restrictions,I.restrictions)?t.restrictions:I.restrictions,P=ig(e.policyPending,t.policyPending),C=A!==t.promptRequirement,D=d||P!==t.policyPending,O=void 0!==(c={current:t,derive:C||D,patch:e,policyPending:P,policyRule:p,promptRequirement:A,resolution:l}).patch.activeUI?c.patch.activeUI:c.derive?nS({policyPending:c.policyPending,promptRequirement:c.promptRequirement,resolution:c.resolution}):c.current.activeUI,T=ig(e.subject,t.subject);return{activeUI:O,branding:ig(e.branding,t.branding),effectivePermissions:S,evaluatedAt:k,evaluationPolicy:g,explicitChoice:h,iab:x,location:ig(e.location,t.location),model:nI(p,x?.enabled??!1),nextDeadline:I.nextDeadline,noticeDismissal:f,optOutDirectives:m,overrides:b,policyPending:P,policyRule:p,policySnapshotToken:ig(e.policySnapshotToken,t.policySnapshotToken),privacySignals:w,promptRequirement:A,resolution:l,restrictions:j,revision:t.revision+1,subject:T,translations:ig(e.translations,t.translations),user:ig(e.user,t.user)}},iy=function(t,e){for(let o of Object.keys(e))if("revision"!==o&&"evaluatedAt"!==o&&t[o]!==e[o])return!0;return!1},iw=function(){if("u"<typeof navigator)return!1;try{let t=navigator.globalPrivacyControl;return!0===t}catch{return!1}},ik=function(){return"u">typeof document&&"function"==typeof document.addEventListener&&"function"==typeof document.removeEventListener},ix=function(t){let e,o,n,{emit:i,transport:r}=t,a=t.initialSnapshot,s=t.initialDraft?{fingerprint:a.evaluationPolicy.choice.fingerprint,values:t.initialDraft}:null,c=!1,l=!1,d=0,u=null,p=!1,g=()=>Date.now(),h=function(){if(n)for(let t of n)t(a)},f=function(t){let e=a;if(ih(e,t))return!1;let o=iv(e,t);return!!iy(e,o)&&(a=nG(o),h(),a.effectivePermissions!==e.effectivePermissions&&i({previous:e.effectivePermissions,snapshot:a,type:"permissions:changed"}),!0)},m=function(){null!==u&&(clearTimeout(u),u=null)},b=function(){"u">typeof document&&"hidden"!==document.visibilityState&&I()},v=function(){p&&ik()&&document.removeEventListener("visibilitychange",b),p=!1},y=function(){!p&&!l&&ik()&&(document.addEventListener("visibilitychange",b),p=!0)},w=function(){if(m(),l||!c)return;let t=a.nextDeadline;null===t?v():(y(),u=setTimeout(()=>{u=null,I()},Math.min(Math.max(Math.ceil(t-g()),1),0x7fffffff)))},k=async function(t,n,a){let s={},c=d;(o??=new Map).set(a,s);try{await r?.recordPrivacyOptOut?.(t,n),d===c&&(e??=new Set).add(a)}catch(t){i({command:"recordPrivacyOptOut",error:t,type:"command:error"})}finally{o.get(a)===s&&o.delete(a)}},x=function(){let{subject:t,user:n}=a,i=t?.subjectId;if(r?.recordPrivacyOptOut&&i&&n)for(let t of a.optOutDirectives){let n=JSON.stringify([i,`${t.source}:${t.recordedAt}:${t.categories.join(",")}`]);e?.has(n)||o?.has(n)||k(t,i,n)}},I=function(t=g()){return f({now:t}),w(),a},S=function(){l=!1,!c&&(c=!0,iw()&&f({privacyDetected:!0}))},A=function(t,n){let i=t.now??g(),r=nT(t,i);if(!1===r.ok)return r;S();let{choice:s,...c}=r.records,l=n?nR(a,c,i):{...c,now:i};void 0!==s&&(l.explicitChoice=n?nL(a.explicitChoice,s):s);let u=a,p=!n&&(null===s||null===c.subject);p&&a.iab&&(l.iab={...a.iab,authority:null,tcString:null});let h=f(l);return p&&(e?.clear(),o?.clear()),(p||a.explicitChoice!==u.explicitChoice||a.subject!==u.subject)&&(d+=1),w(),{changed:h,ok:!0}};return{armDeadlineTimer:w,commit:f,emit:i,flushPrivacy:x,getDraft:()=>s&&s.fingerprint===a.evaluationPolicy.choice.fingerprint?s.values:null,getGeneration:()=>d,getSnapshot:()=>a,hydrate:function(t){return A(t,!1)},invalidateRecords:()=>{d+=1},isStarted:()=>c,mergeServerRecords:function(t){return A(t,!0)},now:g,rearm(){l=!1},reconcilePrivacy:function(t){if(!c)return;x();let e=a,{gpc:o}=e.privacySignals;if(!(o.active&&o.detected))return;let n=e.policyRule.privacySignals.gpc.denyCategories;if(0===n.length)return;let r=new Set;for(let t of e.optOutDirectives)for(let e of t.categories)r.add(e);if(n.every(t=>r.has(t)))return;let s={categories:[...n],recordedAt:t,source:"gpc"};f({now:t,optOutDirectives:[...e.optOutDirectives,s]}),i({directive:s,snapshot:a,type:"privacy:opt-out"}),x()},refresh:I,setDraft(t){s=t?{fingerprint:a.evaluationPolicy.choice.fingerprint,values:t}:null},start:S,stopTimers:function(){l=!0,m(),v()},subscribe:t=>((n??=new Set).add(t),()=>{n?.delete(t)})}},iI=function(t,e){let o=t??nz,n={...o,...e};void 0!==e.authority&&e.authority!==o.authority&&(n.authority=nB(e.authority));let i=!1;for(let t of Object.keys(n))if(n[t]!==o[t]){i=!0;break}return!t&&e&&(i=!0),{changed:i,next:n}},iS=function(t,e){let o=nN(e);return o?{...t,...o}:t},iA=function(t){let{getSnapshot:e,commit:o,emit:n}=t;return{activeUI(t){o({activeUI:t})},draft(e){t.setDraft(iS(t.getDraft(),e))},iab(t){let{next:i,changed:r}=iI(e().iab,t);r&&o({iab:i})&&n({snapshot:e(),type:"iab:set"})},language(t){let i=e();i.overrides.language!==t&&(o({overrides:{...i.overrides,language:t}}),n({snapshot:e(),type:"overrides:set"}))},overrides(i){let r=e(),a=t.now();o({now:a,overrides:{...r.overrides,...i}}),n({snapshot:e(),type:"overrides:set"}),t.reconcilePrivacy(a),t.armDeadlineTimer()},privacySignals(e){if(void 0===e.gpc)return;let n=t.now();o({now:n,privacyDetected:!0===e.gpc}),t.reconcilePrivacy(n),t.armDeadlineTimer()},subjectId(n){let{subject:i,iab:r}=e(),a=r?{iab:{...r,authority:null,tcString:null}}:{};if((i?.subjectId??null)!==n){if(t.invalidateRecords(),null===n){let{subjectId:t,...e}=i??{};o({subject:Object.keys(e).length>0?e:null,...a});return}o({subject:{...i,subjectId:n},...a})}}}},ij=function(t={}){let{transport:e}=t,o=ip(),n=nJ(t),i=ix({emit:o.emit,initialDraft:nN(t.initialDraft),initialSnapshot:n,transport:e}),r=iA(i),a=iu({initRetry:t.initRetry,runtime:i,transport:e});return{commands:a.commands,dispose:a.dispose,events:{emit:o.emit,on:o.on},getRecordsGeneration:i.getGeneration,getServerSnapshot:()=>n,getSnapshot:i.getSnapshot,hydrate:i.hydrate,refresh:i.refresh,set:r,subscribe:i.subscribe}},iP=[{defaultValue:!0,description:"These trackers are used for activities that are strictly necessary to operate or deliver the service you requested from us and, therefore, do not require you to consent.",disabled:!0,display:!0,gdprType:1,name:"necessary"},{defaultValue:!1,description:"These trackers enable basic interactions and functionalities that allow you to access selected features of our service and facilitate your communication with us.",display:!1,gdprType:2,name:"functionality"},{defaultValue:!1,description:"These trackers help us to measure traffic and analyze your behavior to improve our service.",display:!1,gdprType:4,name:"measurement"},{defaultValue:!1,description:"These trackers help us to improve the quality of your user experience and enable interactions with external content, networks, and platforms.",display:!1,gdprType:3,name:"experience"},{defaultValue:!1,description:"These trackers help us to deliver personalized ads or marketing content to you, and to measure their performance.",display:!1,gdprType:5,name:"marketing"}],iC=iP.map(t=>t.name),iD=function(t){return{consents:no(t).effectivePermissions}},iO=function(t){let e=t.getAttribute("data-category");if(e){if(!iC.includes(e))throw Error(`c15t iframe-blocker: invalid data-category "${e}". Must be one of: ${iC.join(", ")}`);return e}},iT=function(t,e){let o=iO(t);if(!o)return;let n=o9(o,e.consents),i=t.getAttribute("data-src");if(n){if(i&&!t.getAttribute("src")){let e;try{e=new URL(i,t.ownerDocument.baseURI)}catch{return}if("http:"!==e.protocol&&"https:"!==e.protocol)return;t.setAttribute("src",e.href),t.removeAttribute("data-src")}return}let r=t.getAttribute("src");r&&(i||t.setAttribute("data-src",r),t.removeAttribute("src"))},iL=function(t){let e=document.querySelectorAll("iframe"),o=iD(t);for(let t of Array.from(e))iT(t,o)},iR=function(t){let{kernel:e}=t,o=!0===t.disableAutomaticBlocking;if(!("u">typeof document&&"u">typeof MutationObserver)){let t=e.subscribe(()=>{});return{dispose(){t()},processAllIframes(){}}}let n=new MutationObserver(t=>{let o=iD(e.getSnapshot());for(let e of t)for(let t of Array.from(e.addedNodes)){if(1!==t.nodeType)continue;t.tagName?.toUpperCase()==="IFRAME"&&iT(t,o);let e=t.querySelectorAll?.("iframe");if(e)for(let t of Array.from(e))iT(t,o)}}),i=function(){iL(e.getSnapshot())};!o&&(i(),document.body&&n.observe(document.body,{childList:!0,subtree:!0}));let r=null,a=null,s=null,c=e.subscribe(t=>{o||(t.effectivePermissions!==r||t.policyRule.scope!==a||t.policyRule.scopeMode!==s)&&(r=t.effectivePermissions,a=t.policyRule.scope,s=t.policyRule.scopeMode,i())});return{dispose(){n.disconnect(),c()},processAllIframes:i}},iz=function(t){return t?t.toUpperCase():"GET"},i$=function(t){try{if(t instanceof URL)return t;if("string"==typeof t){if("u"<typeof window)return null;return new URL(t,window.location?.href)}if("u">typeof Request&&t instanceof Request)return new URL(t.url);return null}catch{return null}},iE=function(t,e){if(!t)return!1;let o=e.domain.trim().toLowerCase(),n=t.trim().toLowerCase();return!!o&&!!n&&(n===o||n.endsWith(`.${o}`))},iM=function(t,e){if(!e.methods||0===e.methods.length)return!0;let o=iz(t);return e.methods.some(t=>iz(t)===o)},iV=function(t,e,o,n){for(let r of o){var i;if(iE(t.hostname,r)){if((i=t.pathname,("string"!=typeof r.pathIncludes||i&&i.includes(r.pathIncludes))&&iM(e,r))&&!ni(r,n))return{rule:r,shouldBlock:!0}}}return{shouldBlock:!1}},iU=function(t){let e=window.fetch.bind(window),o=function(o,n){if(!t.isEnabled())return e(o,n);let i=iz(n?.method??("u">typeof Request&&o instanceof Request?o.method:void 0)),r=i$(o);if(!r)return e(o,n);let a=iV(r,i,t.getRules(),t.getSnapshot());return a.shouldBlock?(t.notifyBlocked({method:i,rule:a.rule,url:r.toString()}),Promise.resolve(new Response(null,{status:451,statusText:"Request blocked by consent"}))):e(o,n)};return window.fetch=o,()=>{window.fetch===o&&(window.fetch=e)}},iq=Symbol("c15t-xhr-method"),i_=Symbol("c15t-xhr-url"),iN=function(t){let e=XMLHttpRequest.prototype.open,o=XMLHttpRequest.prototype.send,n=function(t,o,...n){return this[iq]=iz(t),this[i_]="string"==typeof o?o:o.toString(),e.call(this,t,o,...n)},i=function(e){if(!t.isEnabled())return o.call(this,e);let n=this[iq]??"GET",i=i$(this[i_]??"");if(!i)return o.call(this,e);let r=iV(i,n,t.getRules(),t.getSnapshot());if(!r.shouldBlock)return o.call(this,e);t.notifyBlocked({method:n,rule:r.rule,url:i.toString()}),this.abort();let a="u"<typeof ProgressEvent?{type:"error"}:new ProgressEvent("error");"function"==typeof this.onerror&&this.onerror(a),this.dispatchEvent(a)};return XMLHttpRequest.prototype.open=n,XMLHttpRequest.prototype.send=i,()=>{XMLHttpRequest.prototype.open===n&&(XMLHttpRequest.prototype.open=e),XMLHttpRequest.prototype.send===i&&(XMLHttpRequest.prototype.send=o)}},iB=function(t){let{kernel:e,onRequestBlocked:o}=t,n=t.logBlockedRequests??!0,i=[...t.rules??[]],r=!1!==t.enabled,a=e.getSnapshot(),s=e.subscribe(t=>{a=t});if(!("u">typeof window&&"u">typeof XMLHttpRequest&&"function"==typeof window.fetch))return{dispose(){s()},setEnabled(t){r=t},updateRules(t){i=[...t]}};let c={getRules:()=>i,getSnapshot:()=>a,isEnabled:()=>r,notifyBlocked:function(t){if(n&&console.warn(`[c15t] blocked ${t.method} ${t.url}${t.rule?.id?` (rule: ${t.rule.id})`:""}`),o)try{o(t)}catch{}}},l=iU(c),d=iN(c);return{dispose(){s(),l(),d()},setEnabled(t){r=t},updateRules(t){i=[...t]}}},iF=["subjectId","externalId","identityProvider"],iG=function(t,e){let o={},n=!1;for(let i of iF){let r=eG(t,i);if(void 0!==r){if("string"!=typeof r){e.push({code:"invalid-identifier",path:`consentInfo.${i}`});continue}r.length>0&&(o[i]=r,n=!0)}}return n?o:null},iJ=function(t,e){let o=eG(t,"materialPolicyFingerprint");return void 0===o||""===o?{kind:"legacy-v2"}:eH(o)?{kind:"legacy-v2",materialFingerprint:o}:(e.push({code:"invalid-fingerprint",path:"consentInfo.materialPolicyFingerprint"}),{kind:"legacy-v2"})},iH=function(t,e){if(null==t)return{issues:[],ok:!1,reason:"empty"};if(!eB(t))return{issues:[{code:"not-an-object",path:""}],ok:!1,reason:"malformed"};if(Object.hasOwn(t,"version"))return{issues:[{code:"unsupported-version",path:"version"}],ok:!1,reason:"unsupported-version"};let o=eG(t,"consentInfo"),n=eG(t,"consents");if(!eB(o))return{issues:[{code:"not-an-object",path:"consentInfo"}],ok:!1,reason:"malformed"};if("string"==typeof eG(o,"id")&&"string"!=typeof eG(o,"subjectId"))return{issues:[{code:"unsupported-version",path:"consentInfo.id"}],ok:!1,reason:"unsupported-version"};if(!eB(n))return{issues:[{code:"not-an-object",path:"consents"}],ok:!1,reason:"malformed"};let i=[],r=eG(o,"time"),a=eJ(r,e.now);a&&i.push({code:a,path:"consentInfo.time"});let s=iG(o,i),c=iJ(o,i),l=new Map;for(let t of eF(n)){let e=n[t];if("necessary"===t){"boolean"!=typeof e&&i.push({code:"invalid-boolean",path:`consents.${t}`});continue}if(eN(t)){if("boolean"!=typeof e){i.push({code:"invalid-boolean",path:`consents.${t}`});continue}l.set(t,e)}}if(i.length>0)return{issues:i,ok:!1,reason:"malformed"};let d={};for(let t of eM){let o=l.get(t);if(void 0===o&&"compact"===e.encoding&&(o=!1),void 0===o)continue;let n={basis:{...c},confirmedAt:r,value:o};d[t]=n}return{choice:{categories:d,version:3},ok:!0,subject:s}},iW={consentInfo:"i",consents:"c",externalId:"eid",iabCustomVendorConsents:"icv",iabCustomVendorLegitimateInterests:"icvli",id:"id",identityProvider:"idp",materialPolicyFingerprint:"mpf",subjectId:"sid",time:"t",timestamp:"ts",type:"y"},iX=Object.entries(iW).reduce((t,[e,o])=>(t[o]=e,t),{}),iK=function(t){let e={};for(let[o,n]of Object.entries(t))e[o.split(".").map(t=>iW[t]||t).join(".")]=n;return e},iQ=function(t){let e={};for(let[o,n]of Object.entries(t))e[o.split(".").map(t=>iX[t]||t).join(".")]=n;return e},iY=function t(e,o=""){let n={};for(let[i,r]of Object.entries(e)){let e=o?`${o}.${i}`:i;null==r?n[e]="":"boolean"==typeof r?r&&(n[e]="1"):"object"!=typeof r||Array.isArray(r)?n[e]=String(r):Object.assign(n,t(r,e))}return n},iZ=function(t){if(!t)return{};let e={};for(let o of t.split(",")){let t=o.indexOf(":");if(-1===t)continue;let n=o.substring(0,t),i=o.substring(t+1);e[n]=i}return e},i1=function(t){return{crossSubdomain:t?.crossSubdomain??!1,domain:t?.defaultDomain??"",expiryDays:t?.defaultExpiryDays??365,path:"/",sameSite:"Lax",secure:"u">typeof window&&"https:"===window.location.protocol}},i5=function(){if("u"<typeof window)return"";let{hostname:t}=window.location;if("localhost"===t||/^\d+\.\d+\.\d+\.\d+$/u.test(t))return t;let e=t.split(".");return e.length>=2?`.${e.slice(-2).join(".")}`:t},i0=function(t,e){if(!t)return;let o=`${e}=`;for(let e of t.split(";")){let t=e.trim();if(t.startsWith(o))return t.substring(o.length)}},i2=function(t,e,o,n){let i,r;if("u"<typeof document)return{attempted:!1,verified:!1};let a={...i1(n),...o};a.crossSubdomain&&!o?.domain&&(a.domain=i5());try{var s;s=e,i="string"==typeof s?s:Object.entries(iK(iY(s))).map(([t,e])=>`${t}:${e}`).join(",");let o=new Date;o.setTime(o.getTime()+24*a.expiryDays*36e5);let n=`expires=${o.toUTCString()}`,r=[`${t}=${i}`,n,`path=${a.path}`];a.domain&&r.push(`domain=${a.domain}`),a.secure&&r.push("secure"),a.sameSite&&r.push(`SameSite=${a.sameSite}`),document.cookie=r.join("; ")}catch(t){return{attempted:!1,error:t,verified:!1}}try{r=i0(document.cookie,t)}catch{r=void 0}return{attempted:!0,verified:r===i}},i3=function(t,e){if("u"<typeof document)return e?.(),null;try{return i0(document.cookie,t)??null}catch(o){return console.warn(`Failed to get cookie "${t}":`,o),e?.(),null}},i7=function(t,e,o){if("u"<typeof document)return;let n={...i1(o),...e};n.crossSubdomain&&!e?.domain&&(n.domain=i5());try{let e=[`${t}=`,"expires=Thu, 01 Jan 1970 00:00:00 GMT",`path=${n.path}`];n.domain&&e.push(`domain=${n.domain}`),document.cookie=e.join("; ")}catch(e){console.warn(`Failed to delete cookie "${t}":`,e)}},i6=function(t,e){let o=e?.storageKey||"c15t";try{"u">typeof window&&window.localStorage&&(window.localStorage.removeItem(o),o!==nW&&window.localStorage.removeItem(nW))}catch(t){console.warn("Failed to remove consent from localStorage:",t)}try{i7(o,t,e),o!==nW&&i7(nW,t,e)}catch(t){console.warn("Failed to remove consent cookie:",t)}},i4={experience:"ex",functionality:"fn",marketing:"mk",measurement:"me"},i8=new Map(Object.entries(i4).map(([t,e])=>[e,t])),i9={externalId:"eid",identityProvider:"idp",subjectId:"sid"},rt=new Map(Object.entries(i9).map(([t,e])=>[e,t])),re={customVendorConsents:"icv",customVendorLegitimateInterests:"icvli"},ro=new Map(Object.entries(re).map(([t,e])=>[e,t])),rn=["subjectId","externalId","identityProvider"],ri=["customVendorConsents","customVendorLegitimateInterests"],rr=/^\d+$/u,ra=function(t,e,o){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,value:o,writable:!0})},rs=function(t){try{return decodeURIComponent(t)}catch{return null}},rc=function(t,e){if(void 0===t)return;if(!eB(t))return void e.push({code:"not-an-object",path:"subject"});let o={};for(let n of eF(t)){if(!rn.includes(n)){e.push({code:"unknown-key",path:`subject.${n}`});continue}let i=t[n];if(void 0!==i){if(!eH(i)){e.push({code:"invalid-identifier",path:`subject.${n}`});continue}o[n]=i}}return Object.keys(o).length>0?o:void 0},rl=function(t,e,o){if(void 0===t)return;if(!eB(t))return void o.push({code:"not-an-object",path:e});let n={};for(let i of eF(t)){let r=t[i];if("boolean"!=typeof r){o.push({code:"invalid-boolean",path:`${e}.${i}`});continue}ra(n,i,r)}return Object.keys(n).length>0?n:void 0},rd=function(t,e,o,n){let i=rl(t,`${o}.customVendorConsents`,n),r=rl(e,`${o}.customVendorLegitimateInterests`,n);if(!i&&!r)return;let a={};return i&&(a.customVendorConsents=i),r&&(a.customVendorLegitimateInterests=r),a},ru=["version","subject","categories","iab"],rp=function(t,e){let o;if(!eB(t))return{issues:[{code:"not-an-object",path:""}],ok:!1};let n=eK(t,e);if(!1===n.ok)return{issues:n.issues,ok:!1};let i=[];for(let e of eF(t))ru.includes(e)||i.push({code:"unknown-key",path:e});let r=rc(eG(t,"subject"),i),a=eG(t,"iab");if(eB(a)){for(let t of eF(a))ri.includes(t)||i.push({code:"unknown-key",path:`iab.${t}`});o=rd(eG(a,"customVendorConsents"),eG(a,"customVendorLegitimateInterests"),"iab",i)}else void 0!==a&&i.push({code:"not-an-object",path:"iab"});if(i.length>0)return{issues:i,ok:!1};let s={categories:n.record.categories,version:3};return r&&(s.subject=r),o&&(s.iab=o),{ok:!0,record:s}},rg=function(t){var e;return{basis:"choice-v1"===(e=t.basis).kind?{fingerprint:e.fingerprint,kind:"choice-v1"}:void 0===e.materialFingerprint?{kind:"legacy-v2"}:{kind:"legacy-v2",materialFingerprint:e.materialFingerprint},confirmedAt:t.confirmedAt,value:t.value}},rh=function(t){let e={};for(let o of eM){let n=t.categories[o];n&&(e[o]=rg(n))}let o={version:3};return t.subject&&Object.keys(t.subject).length>0&&(o.subject=t.subject),o.categories=e,t.iab&&(o.iab=t.iab),JSON.stringify(o)},rf=function(t){return Object.keys(t).sort().map(e=>`${t[e]?"1":"0"}.${encodeURIComponent(e)}`).join("|")},rm=function(t){let e=["v=3"];for(let o of rn){let n=t.subject?.[o];eH(n)&&e.push(`${i9[o]}=${encodeURIComponent(n)}`)}let o=[],n=new Map,i=[];for(let e of eM){var r;let a=t.categories[e];if(!a)continue;let s="choice-v1"===(r=a.basis).kind?`c${encodeURIComponent(r.fingerprint)}`:void 0===r.materialFingerprint?"l":`l${encodeURIComponent(r.materialFingerprint)}`,c=n.get(s);void 0===c&&(c=o.length,o.push(s),n.set(s,c)),i.push(`${i4[e]}=${a.value?"1":"0"}.${a.confirmedAt}.${c}`)}for(let n of(o.length>0&&e.push(`b=${o.join("|")}`),e.push(...i),ri)){let o=t.iab?.[n];o&&Object.keys(o).length>0&&e.push(`${re[n]}=${rf(o)}`)}return e.join("&")},rb=function(t,e){if(0===t.length)return e.push({code:"malformed-encoding",path:"b"}),null;let o=[];for(let[n,i]of t.split("|").entries()){let t=`b[${n}]`,r=i.charAt(0),a=i.slice(1),s=a.length>0?rs(a):"";if(null===s){e.push({code:"malformed-encoding",path:t});continue}if("c"===r){if(0===s.length){e.push({code:"invalid-fingerprint",path:t});continue}o.push({fingerprint:s,kind:"choice-v1"});continue}if("l"===r){o.push(0===s.length?{kind:"legacy-v2"}:{kind:"legacy-v2",materialFingerprint:s});continue}e.push({code:"invalid-basis",path:t})}return o},rv=function(t,e,o,n,i){let r,a=t.split(".");if(3!==a.length)return i.push({code:"malformed-encoding",path:e}),null;let[s,c,l]=a,d=!0;"0"!==s&&"1"!==s&&(i.push({code:"invalid-boolean",path:`${e}.value`}),d=!1);let u=null;if(rr.test(c)){let t=eJ(u=Number(c),n);t&&(i.push({code:t,path:`${e}.confirmedAt`}),d=!1)}else i.push({code:"invalid-timestamp",path:`${e}.confirmedAt`}),d=!1;return(rr.test(l)&&(r=o[Number(l)]),r||(i.push({code:"invalid-basis",path:`${e}.basis`}),d=!1),d&&null!==u&&r)?{basis:r,confirmedAt:u,value:"1"===s}:null},ry=function(t,e,o){if(0===t.length)return o.push({code:"malformed-encoding",path:e}),null;let n={};for(let[i,r]of t.split("|").entries()){let t=`${e}[${i}]`,a=r.indexOf(".");if(-1===a){o.push({code:"malformed-encoding",path:t});continue}let s=r.slice(0,a),c=rs(r.slice(a+1));if("0"!==s&&"1"!==s||null===c||0===c.length){o.push({code:"malformed-encoding",path:t});continue}if(Object.hasOwn(n,c)){o.push({code:"duplicate-key",path:t});continue}ra(n,c,"1"===s)}return n},rw=function(t,e){let o=new Map;for(let n of t.split("&")){let t=n.indexOf("=");if(t<=0)return e.push({code:"malformed-encoding",path:n}),null;let i=n.slice(0,t);if(o.has(i))return e.push({code:"duplicate-key",path:i}),null;o.set(i,n.slice(t+1))}return o},rk=function(t,e){let o=[];if(!("v=3"===t||t.startsWith("v=3&")))return{issues:[{code:"unsupported-version",path:"v"}],ok:!1};let n=rw(t,o);if(!n)return{issues:o,ok:!1};n.delete("v");let i=n.get("b");n.delete("b");let r=void 0===i?[]:rb(i,o),a={},s={},c={};for(let[t,i]of n){let n=rt.get(t);if(n){let e=rs(i);null===e||0===e.length?o.push({code:"invalid-identifier",path:t}):a[n]=e;continue}let l=i8.get(t);if(l){let n=rv(i,t,r??[],e,o);n&&(s[l]=n);continue}let d=ro.get(t);if(d){let e=ry(i,t,o);e&&(c[d]=e);continue}o.push({code:"unknown-key",path:t})}if(o.length>0)return{issues:o,ok:!1};let l={categories:s,version:3};return Object.keys(a).length>0&&(l.subject=a),Object.keys(c).length>0&&(l.iab=c),{ok:!0,record:l}},rx=function(t,e){let o=eQ(t,e);return!1===o.ok?{issues:o.issues,ok:!1}:{ok:!0,record:o.record}},rI=["source","categories","recordedAt"],rS=function(t,e,o,n){if(!eB(t))return n.push({code:"not-an-object",path:e}),null;let i=!0;for(let o of eF(t))rI.includes(o)||(n.push({code:"unknown-key",path:`${e}.${o}`}),i=!1);"gpc"!==eG(t,"source")&&(n.push({code:"invalid-basis",path:`${e}.source`}),i=!1);let r=eG(t,"recordedAt"),a=eJ(r,o);a&&(n.push({code:a,path:`${e}.recordedAt`}),i=!1);let s=eG(t,"categories"),c=[];if(Array.isArray(s))for(let[t,o]of s.entries()){if("string"!=typeof o||!eN(o)){n.push({code:"unknown-key",path:`${e}.categories[${t}]`}),i=!1;continue}if(c.includes(o)){n.push({code:"duplicate-key",path:`${e}.categories[${t}]`}),i=!1;continue}c.push(o)}else n.push({code:"not-an-object",path:`${e}.categories`}),i=!1;return i?{categories:[...c].sort(),recordedAt:r,source:"gpc"}:null},rA=function(t,e){if(!eB(t))return{issues:[{code:"not-an-object",path:""}],ok:!1};if(1!==eG(t,"version"))return{issues:[{code:"unsupported-version",path:"version"}],ok:!1};let o=[];for(let e of eF(t))"version"!==e&&"directives"!==e&&o.push({code:"unknown-key",path:e});let n=eG(t,"directives");if(!Array.isArray(n))return o.push({code:"not-an-object",path:"directives"}),{issues:o,ok:!1};let i=[];for(let[t,r]of n.entries()){let n=rS(r,`directives[${t}]`,e,o);n&&i.push(n)}return o.length>0?{issues:o,ok:!1}:{ok:!0,record:{directives:i,version:1}}},rj=function(t,e,o){let n=t.split("&");if(n[0]!==e)return o.push({code:"unsupported-version",path:"v"}),null;let i=new Map;for(let t of n.slice(1)){let e=t.indexOf("=");if(e<=0)return o.push({code:"malformed-encoding",path:t}),null;let n=t.slice(0,e);if(i.has(n))return o.push({code:"duplicate-key",path:n}),null;i.set(n,t.slice(e+1))}return i},rP=function(t){return void 0!==t&&/^\d+$/u.test(t)?Number(t):t},rC=function(t,e){let o=[],n=rj(t,"v=1",o);if(!n)return{issues:o,ok:!1};for(let t of n.keys())"t"!==t&&"f"!==t&&o.push({code:"unknown-key",path:t});if(o.length>0)return{issues:o,ok:!1};let i=n.get("f"),r=void 0===i?void 0:rs(i);return null===r?{issues:[{code:"malformed-encoding",path:"f"}],ok:!1}:rx({dismissedAt:rP(n.get("t")),fingerprint:r,version:1},e)},rD=function(t){let e=t.directives.map(t=>[t.source,String(t.recordedAt),[...t.categories].sort().map(t=>i4[t]).join("-")].join(".")),o=["v=1"];return e.length>0&&o.push(`d=${e.join("|")}`),o.join("&")},rO=function(t,e){let o=[],n=rj(t,"v=1",o);if(!n)return{issues:o,ok:!1};for(let t of n.keys())"d"!==t&&o.push({code:"unknown-key",path:t});if(o.length>0)return{issues:o,ok:!1};let i=n.get("d"),r=[];if(void 0!==i&&""!==i)for(let[t,e]of i.split("|").entries()){let[o,n,i,...a]=e.split(".");if(a.length>0||void 0===o||void 0===i)return{issues:[{code:"malformed-encoding",path:`d[${t}]`}],ok:!1};let s=i.split("-").map(t=>i8.get(t)??t);r.push({categories:s,recordedAt:rP(n),source:o})}return rA({directives:r,version:1},e)},rT=function(t){let e=t?.storageKey||"c15t";return{consent:e,legacyConsent:e===nW?null:nW,notice:`${e}-notice`,privacy:`${e}-privacy`}},rL=function(t){try{return JSON.parse(t)}catch{return}},rR=function(t){try{return decodeURIComponent(t)}catch{return null}},rz=new Set(["consents","iabCustomVendorConsents","iabCustomVendorLegitimateInterests"]),r$=/^\d+$/u,rE=function(t,e){let[o,...n]=t;if("consentInfo"===o&&1===n.length&&"time"===n[0])return r$.test(e)?Number(e):e;if(void 0!==o&&rz.has(o)&&1===n.length){if("1"===e)return!0;if("0"===e)return!1}return e},rM=function(t){let e=iQ(iZ(t)),o={},n=0;for(let[t,i]of Object.entries(e)){let e=t.split(".");if(0===e.length||e.includes("__proto__"))continue;let r=o;for(let t of e.slice(0,-1))eB(Object.hasOwn(r,t)?r[t]:void 0)||(r[t]={}),r=r[t];let a=e.at(-1);void 0!==a&&(r[a]=rE(e,i),n+=1)}return n>0?o:null},rV=/^v=/u,rU=function(t){let e=t.trim();return 0===e.length?null:rV.test(e)?{kind:"versioned",text:e}:e.startsWith("{")?{kind:"json",text:e}:e.includes(":")?{kind:"legacy-compact",text:e}:null},rq=function(t,e){let o="cookie";if(null==t||""===t)return{key:e,source:o,status:"absent"};let n=rU(t);if(!n&&t.includes("%")){let e=rR(t);null!==e&&(n=rU(e))}if(!n)return{key:e,source:o,status:"unparseable"};if("versioned"===n.kind)return{encoding:"compact",format:"compact-v3",key:e,rawText:n.text,source:o,status:"parsed",value:void 0};if("json"===n.kind){let t=rL(n.text);return eB(t)?{encoding:"json",format:"parsed",key:e,rawText:n.text,source:o,status:"parsed",value:t}:{key:e,source:o,status:"unparseable"}}let i=rM(n.text);return null===i?{key:e,source:o,status:"unparseable"}:{encoding:"compact",format:"parsed",key:e,rawText:n.text,source:o,status:"parsed",value:i}},r_=function(t,e){try{if("u">typeof window&&window.localStorage)return window.localStorage.getItem(t)}catch(t){console.warn("Failed to read consent from localStorage:",t)}return e?.(),null},rN=function(t,e,o){let n=r_(e,o);if(null===n||""===n)return{key:e,source:t,status:"absent"};let i=rL(n);return eB(i)?{encoding:"json",format:"parsed",key:e,rawText:n,source:t,status:"parsed",value:i}:{key:e,source:t,status:"unparseable"}},rB=function(t,e){let o=rT(t),n=[rq(i3(o.consent,e),o.consent),rN("local-storage",o.consent,e)];return o.legacyConsent&&n.push(rN("legacy-local-storage",o.legacyConsent,e)),n},rF=function(t,e,o){let n=iH(t,{encoding:e,now:o});if(!1===n.ok)return{issues:n.issues,ok:!1};let i=[],r=rd(eG(t,"iabCustomVendorConsents"),eG(t,"iabCustomVendorLegitimateInterests"),"iab",i);return i.length>0?{issues:i,ok:!1}:{ok:!0,record:{choice:n.choice,format:"legacy-v2",iab:r??null,subject:n.subject}}},rG=function(t){if(!1===t.ok)return t;let{record:e}=t;return{ok:!0,record:{choice:{categories:e.categories,version:3},format:"v3",iab:e.iab??null,subject:e.subject??null}}},rJ=function(t,e){let o,n;if("parsed"!==t.status)return t;let{encoding:i,key:r,source:a}=t;return("compact-v3"===t.format?(o="v3",n=rG(rk(t.rawText,e))):eB(t.value)&&Object.hasOwn(t.value,"version")?(o="v3",n=rG(rp(t.value,e))):(o="legacy-v2",n=rF(t.value,i,e)),!1===n.ok)?{encoding:i,format:o,issues:n.issues,key:r,source:a,status:"invalid"}:{key:r,record:{...n.record,encoding:i,key:r,source:a},source:a,status:"valid"}},rH=function(t,e){let o=[],n=null;for(let i of t){let t=rJ(i,e);o.push(t),n||"valid"!==t.status||(n=t.record)}return{candidates:o,selected:n}},rW=function(){return"u">typeof window&&!!window.localStorage},rX=function(t,e){try{if(rW())return window.localStorage.setItem(t,e),!0}catch(t){console.warn("Failed to save consent to localStorage:",t)}return!1},rK=function(t){try{rW()&&window.localStorage.removeItem(t)}catch(t){console.warn("Failed to remove consent from localStorage:",t)}},rQ=function(t,e){let o=rp(t,e.now);if(!1===o.ok)return o;let n=rT(e.config),i=rX(n.consent,rh(o.record)),r=i2(n.consent,rm(o.record),e.cookie,e.config);return r.attempted||void 0===r.error||console.warn("Failed to save consent to cookie:",r.error),{envelope:o.record,ok:!0,written:{cookie:r.attempted&&r.verified,cookieDetail:r,localStorage:i}}},rY=function(t,e,o){let n=r_(t,o);if(null===n||""===n)return null;let i=rL(n);return void 0===i?{issues:[{code:"malformed-encoding",path:""}],ok:!1}:e(i)},rZ=function(t,e){if(null==t)return null;let o=t.trim();if(""===o)return null;if(o.startsWith("v="))return e(o);if(o.includes("%")){let t=rR(o);if(null!==t&&t.trim().startsWith("v="))return e(t.trim())}return{issues:[{code:"malformed-encoding",path:""}],ok:!1}},r1=function(t,e,o){let n=rT(t),i=rZ(i3(n.notice,o),t=>rC(t,e));return i?.ok?i:rY(n.notice,t=>rx(t,e),o)??i},r5=function(t,e,o,n){var i,r;let a=rx(t,o);if(!1===a.ok)return a;let s=rT(e),c=rX(s.notice,JSON.stringify({dismissedAt:(i=a.record).dismissedAt,fingerprint:i.fingerprint,version:1})),l=i2(s.notice,(r=a.record,`v=1&t=${r.dismissedAt}&f=${encodeURIComponent(r.fingerprint)}`),n,e);return{ok:!0,record:a.record,written:{cookie:l.attempted&&l.verified,cookieDetail:l,localStorage:c}}},r0=function(t,e){let o=rT(t);rK(o.notice),i7(o.notice,e,t)},r2=function(t,e,o){let n=rT(t),i=rZ(i3(n.privacy,o),t=>rO(t,e));return i?.ok?i:rY(n.privacy,t=>rA(t,e),o)??i},r3=function(t,e,o,n){let i=rA({directives:t,version:1},o);if(!1===i.ok)return i;let r=rT(e),a=rX(r.privacy,JSON.stringify({directives:i.record.directives.map(t=>({categories:[...t.categories].sort(),recordedAt:t.recordedAt,source:t.source})),version:1})),s=i2(r.privacy,rD(i.record),n,e);return{ok:!0,record:i.record,written:{cookie:s.attempted&&s.verified,cookieDetail:s,localStorage:a}}},r7=function(t,e){let o=rT(t);rK(o.privacy),i7(o.privacy,e,t)},r6=function(t,e){i6(t,e),r0(e,t),r7(e,t),rK(nX),rK("c15t-iab-authority-v1"),rK("euconsent-v2"),i7("euconsent-v2",t,e),i7("euconsent-v2")},r4=function(t,e,o,n){let{selected:i}=t,r={choice:i?.choice??null,noticeDismissal:e?.ok?e.record:null,now:n,optOutDirectives:o?.ok?[...o.record.directives]:[],subject:i?.subject??null};return{candidates:t.candidates,found:null!==i||e?.ok===!0||o?.ok===!0,iab:i?.iab??null,records:r}},r8=function(t,e){let o=!1,n=!1,i=!1,r=rH(rB(t,()=>{o=!0}),e),a=r1(t,e,()=>{n=!0}),s=r2(t,e,()=>{i=!0}),c=r4(r,a,s,e);return!r.selected&&o&&(delete c.records.choice,delete c.records.subject),!a?.ok&&n&&delete c.records.noticeDismissal,!s?.ok&&i&&delete c.records.optOutDirectives,c},r9=function(t,e,o){if("u"<typeof document)return null;let n=r8(e,o),i=t.hydrate(n.records);return!1===i.ok&&console.warn("[c15t] Stored consent records were rejected.",i.issues),n},at=function(t){let e=!1,o=null,n=function(){null!==o&&(clearTimeout(o),o=null),e=!1};return{cancel:n,flush(){e&&(n(),t())},schedule(){e||(e=!0,o=setTimeout(()=>{o=null,e=!1,t()},0))}}},ae=function(t,e){if(!t.explicitChoice)return null;let o={categories:t.explicitChoice.categories,version:3};return t.subject&&Object.keys(t.subject).length>0&&(o.subject={...t.subject}),e&&(o.iab=e),o},ao=function(t,e,o,n){if("u"<typeof document)return;let i=ae(t,e);if(!i)return;let r=rQ(i,{config:o,now:n});!1===r.ok&&console.warn("[c15t] Consent record was not written.",r.issues)},an=function(t,e,o){!("u"<typeof document)&&t.noticeDismissal&&r5(t.noticeDismissal,e,o)},ai=function(t,e,o){"u"<typeof document||r3(t.optOutDirectives,e,o)},ar=function(t){let{kernel:e,storageConfig:o}=t,n=t.now??(()=>Date.now()),i=null,r=at(()=>{ao(e.getSnapshot(),i,o,n())}),a=at(()=>{an(e.getSnapshot(),o,n())}),s=at(()=>{ai(e.getSnapshot(),o,n())}),c=[e.events.on("choice:recorded",()=>{r.schedule()}),e.events.on("subject:resolved",()=>{r.schedule()}),e.events.on("notice:dismissed",()=>{a.schedule()}),e.events.on("privacy:opt-out",()=>{s.schedule()})],l=function(){r.flush(),a.flush(),s.flush()},d=function(){r.cancel(),a.cancel(),s.cancel()},u=function(){l();let t=r9(e,o,n());return!!t&&(void 0!==t.records.choice&&(i=t.iab),t.found)};return t.skipHydration||u(),{clear(){d(),i=null,"u">typeof document&&r6(void 0,o),e.hydrate({choice:null,noticeDismissal:null,now:n(),optOutDirectives:[],subject:null}),e.events.emit({type:"records:cleared"})},dispose(){for(let t of c)t();l()},hydrate:u}},aa=function(t){if("u"<typeof window)return;let e=window.__c15tScriptDebugListeners;if(e)for(let o of e)try{o(t)}catch{}},as=function(t){let{onDebug:e,emitToV2:o}=t;return function(t){if(e)try{e(t)}catch{}o&&aa(t)}},ac=new WeakMap,al=0,ad=function(t){return{consents:no(t).effectivePermissions,iab:t.iab,isIabMode:"iab"===t.model,snapshot:t}},au=function(t,e){let{script:o}=t;if(t.hasIabMeta)return ni(o,e.snapshot);if(t.simpleCategory){if(!(t.simpleCategory in e.consents))throw Error(`Consent category "${t.simpleCategory}" not found in consent state`);return e.consents[t.simpleCategory]||!1}return o9(o.category,e.consents)},ap=function(t,e,o,n,i,r){return{consents:no(e).effectivePermissions,element:i,elementId:n,error:r,hasConsent:o,id:t.id}},ag=function(t,e,o,n){let i=t[e];if("function"==typeof i)try{i(o),n({action:"callback_invoked",callback:e,elementId:o.elementId,hasConsent:o.hasConsent,message:`Invoked ${String(e)}`,scope:"step",scriptId:t.id,source:"script-loader",timestamp:Date.now()})}catch(i){n({action:"callback_error",callback:e,data:{error:i instanceof Error?i.message:String(i)},elementId:o.elementId,message:`Callback ${String(e)} threw`,scope:"step",scriptId:t.id,source:"script-loader",timestamp:Date.now()})}},ah=function(t,e,o,n,i){if("u"<typeof document)return;let r=t.elementIds.resolve(e);if(t.loadedElements.has(e.id)){if("function"==typeof e.onConsentChange||t.hasDebugListener){let i=t.loadedElements.get(e.id)??void 0,a=ap(e,o,n,r,i);ag(e,"onConsentChange",a,t.emit)}t.emit({action:"already_loaded",elementId:r,hasConsent:n,message:"Script already mounted",scope:"step",scriptId:e.id,source:"script-loader",timestamp:Date.now()});return}if(!0===e.callbackOnly){let i=ap(e,o,n,r,void 0);ag(e,"onBeforeLoad",i,t.emit),ag(e,"onLoad",i,t.emit),t.loadedElements.set(e.id,null),t.emit({action:"loaded",elementId:i.elementId,hasConsent:i.hasConsent,message:"Callback-only script loaded",scope:"lifecycle",scriptId:e.id,source:"script-loader",timestamp:Date.now()});return}if(e.src&&e.textContent)throw Error(`Script '${e.id}' cannot have both 'src' and 'textContent'. Choose one.`);if(!e.src&&!e.textContent)throw Error(`Script '${e.id}' must have either 'src', 'textContent', or 'callbackOnly' set to true.`);let a="function"==typeof document.getElementById?document.getElementById(r):null;if(a){if(t.loadedElements.set(e.id,a),"function"==typeof e.onConsentChange||t.hasDebugListener){let i=ap(e,o,n,r,a);ag(e,"onConsentChange",i,t.emit)}t.emit({action:"already_loaded",elementId:r,hasConsent:n,message:"Script element already exists in DOM; reused it",scope:"step",scriptId:e.id,source:"script-loader",timestamp:Date.now()});return}let s=document.createElement("script");s.id=r,e.src&&(s.src=e.src),e.textContent&&(s.textContent=e.textContent),void 0!==e.async&&(s.async=e.async),void 0!==e.defer&&(s.defer=e.defer);let c=e.nonce??t.nonce;if(c&&(s.nonce=c),e.fetchPriority&&(s.fetchPriority=e.fetchPriority),e.attributes)for(let[t,o]of Object.entries(e.attributes))s.setAttribute(t,"string"==typeof o?o:String(o));let l="function"==typeof e.onBeforeLoad||"function"==typeof e.onLoad||"function"==typeof e.onError||"function"==typeof e.onConsentChange||t.hasDebugListener?ap(e,o,n,r,s):void 0;if(l&&ag(e,"onBeforeLoad",l,t.emit),e.src){let o=()=>s.isConnected&&document.getElementById(r)===s&&(t.loadedElements.get(e.id)===s||t.retainedElements.get(e.id)===s),n=()=>l&&t.retainedElements.get(e.id)===s?ap(e,t.getSnapshot(),!1,r,s):l;s.addEventListener("load",()=>{if(!o())return;let i=n();i&&ag(e,"onLoad",i,t.emit),t.emit({action:"load_completed",elementId:r,message:"Script finished loading",scope:"lifecycle",scriptId:e.id,source:"script-loader",timestamp:Date.now()})}),s.addEventListener("error",()=>{if(!o())return;let i=n();if(i){let o={...i,error:Error(`Failed to load script: ${e.src}`)};ag(e,"onError",o,t.emit)}t.emit({action:"error",elementId:r,message:`Script failed: ${e.src}`,scope:"lifecycle",scriptId:e.id,source:"script-loader",timestamp:Date.now()})})}let d="body"===e.target?document.body:document.head;i?i.push({element:s,elementId:r,hasConsent:n,info:l,script:e,target:d}):(t.loadedElements.set(e.id,s),t.ownedScriptIds.add(e.id),d.appendChild(s),t.loadedElements.get(e.id)===s&&(!e.src&&l&&setTimeout(()=>ag(e,"onLoad",l,t.emit),0),t.emit({action:"loaded",elementId:r,hasConsent:n,message:"Script mounted",scope:"lifecycle",scriptId:e.id,source:"script-loader",timestamp:Date.now()})))},af=function(t,e,o,n){let i=t.loadedElements.get(e.id);if(void 0===i)return;let r=t.elementIds.resolve(e);if(e.persistAfterConsentRevoked){if(i&&t.retainedElements.set(e.id,i),t.loadedElements.delete(e.id),t.ownedScriptIds.delete(e.id),"function"==typeof e.onConsentChange){let a=ap(e,o,n,r,i??void 0);ag(e,"onConsentChange",a,t.emit)}t.emit({action:"unloaded",data:{retained:!0},elementId:r,message:"Script persisted after consent revoked",scope:"lifecycle",scriptId:e.id,source:"script-loader",timestamp:Date.now()});return}if(t.ownedScriptIds.has(e.id)&&i?.parentNode&&i.parentNode.removeChild(i),t.loadedElements.delete(e.id),t.ownedScriptIds.delete(e.id),"function"==typeof e.onConsentChange){let i=ap(e,o,n,r);ag(e,"onConsentChange",i,t.emit)}t.emit({action:"unloaded",elementId:r,message:"Script unmounted",scope:"lifecycle",scriptId:e.id,source:"script-loader",timestamp:Date.now()})},am=function(t,e){if(0!==e.length){for(let o of e)t.loadedElements.set(o.script.id,o.element),t.ownedScriptIds.add(o.script.id);if(1===e.length){let t=e[0];if(!t)return;t.target.appendChild(t.element)}else{let o=new Map;for(let t of e){let e=o.get(t.target);e?e.push(t):o.set(t.target,[t])}for(let[e,n]of o){let o=n.filter(({script:e,element:o})=>t.loadedElements.get(e.id)===o).map(({element:t})=>t);if(0===o.length)continue;if(1===o.length){let t=o[0];t&&e.appendChild(t);continue}let i=document.createDocumentFragment();for(let t of o)i.appendChild(t);e.appendChild(i)}}for(let o of e)if(t.loadedElements.get(o.script.id)===o.element){if(!o.script.src&&o.info){let{info:e}=o,{script:n}=o;setTimeout(()=>ag(n,"onLoad",e,t.emit),0)}t.emit({action:"loaded",elementId:o.elementId,hasConsent:o.hasConsent,message:"Script mounted",scope:"lifecycle",scriptId:o.script.id,source:"script-loader",timestamp:Date.now()})}}},ab=new Map,av=function(t){return t.map(t=>({hasIabMeta:!!(void 0!==t.vendorId||t.iabPurposes&&t.iabPurposes.length>0||t.iabLegIntPurposes&&t.iabLegIntPurposes.length>0||t.iabSpecialFeatures&&t.iabSpecialFeatures.length>0),script:t,simpleCategory:"string"==typeof t.category?t.category:null}))},ay=function(t){let e,o,n,i,r,{kernel:a,onDebug:s}=t,c=t.emitToV2DebugListeners??!0,l=as({emitToV2:c,onDebug:s}),d=!!s||c,u=new Map,p=new Map,g=av(t.scripts),h=new Map,f=new Map,m=new Set,b={clear(){},resolve(t){if(!1===t.anonymizeId)return`c15t-script-${t.id}`;let e=ab.get(t.id);if(e)return e;let o=`c15t-${"u">typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID().replace(/-/gu,"").slice(0,8):Math.random().toString(36).slice(2,10)}`;return ab.set(t.id,o),o}},v=new Map,y=new Map,w={elementIds:b,emit:t=>{u.set(t.scriptId,t),"load_completed"===t.action?p.set(t.scriptId,"loaded"):"loaded"!==t.action||p.has(t.scriptId)?"error"===t.action?p.set(t.scriptId,"error"):"already_loaded"!==t.action||p.has(t.scriptId)?"unloaded"===t.action&&t.data?.retained!==!0&&p.delete(t.scriptId):p.set(t.scriptId,"present"):p.set(t.scriptId,"loading"),l(t),e?.notify(t)},getSnapshot:a.getSnapshot,hasDebugListener:d,loadedElements:h,nonce:t.nonce,ownedScriptIds:m,retainedElements:f},k=null,x=null,I=null,S=null,A=null,j=null,P=null,C=function(t=!1){let o=a.getSnapshot(),n=no(o),i=n.effectivePermissions!==k;if(!t&&!i&&o.policyRule.scope===x&&o.policyRule.scopeMode===I&&o.iab===S&&n.restrictions===A&&o.model===j&&o.evaluationPolicy===P)return;k=n.effectivePermissions,A=n.restrictions,j=o.model,P=o.evaluationPolicy,x=o.policyRule.scope,I=o.policyRule.scopeMode,S=o.iab;let r=ad(o),s=[];for(let e of g){let{script:n}=e,a=au(e,r),c=!0===n.alwaysLoad||a,l=v.get(n.id),d=y.get(n.id);v.set(n.id,c),y.set(n.id,a),(t||l!==c||d!==a||i&&"function"==typeof n.onConsentChange)&&(c?(f.delete(n.id),ah(w,n,o,a,s)):af(w,n,o,a))}am(w,s),e?.notify()};(o=ac.get(a))||(o={listeners:new Set,loaders:new Map},ac.set(a,o)),n=o,i=al+=1,r=t=>{for(let e of n.listeners)try{e(t)}catch{}},n.loaders.set(i,()=>(t=>g.map(e=>{let{script:o}=e,n=v.get(o.id)??!1,i=b.resolve(o),r=f.get(o.id),s=!n&&r?.isConnected&&"u">typeof document&&document.getElementById(i)===r,c=n?"pending":"blocked";return s?c="retained":h.has(o.id)&&(c=p.get(o.id)??"present",o.src||"loading"!==c||(c="loaded")),{alwaysLoad:o.alwaysLoad??!1,callbackOnly:o.callbackOnly??!1,category:o.category,elementId:i,eligible:n,hasConsent:au(e,ad(a.getSnapshot())),id:o.id,lastEvent:u.get(o.id),loaderId:t,persistAfterConsentRevoked:o.persistAfterConsentRevoked??!1,src:o.src,status:c,vendorId:o.vendorId}}))(i)),r(),e={dispose(){n.loaders.delete(i),r()},notify:r};let D=a.subscribe(()=>C()),O={dispose(){if(D(),e?.dispose(),e=void 0,!("u"<typeof document)){for(let[t,e]of h)m.has(t)&&e?.parentNode&&e.parentNode.removeChild(e);h.clear(),f.clear(),m.clear(),b.clear(),v.clear(),y.clear(),u.clear(),p.clear()}},getLoadedScriptIds:()=>Array.from(h.keys()),updateScripts(t){let e=new Set(t.map(t=>t.id)),o=a.getSnapshot();for(let{script:t}of g)e.has(t.id)||(af(w,t,o,!1),f.delete(t.id),v.delete(t.id),y.delete(t.id),u.delete(t.id),p.delete(t.id));g=av(t),C(!0)}};try{C(!0)}catch(t){throw O.dispose(),t}return O},aw={dispose(){}},ak=function(t){if("u"<typeof window)return aw;let e=window,o=Object.freeze({mode:t.mode,pkg:t.pkg,version:e7});try{e.c15t=o}catch{return aw}return{dispose(){if(e.c15t===o)try{delete e.c15t}catch{}}}},ax={common:{acceptAll:"Accept All",acknowledge:"OK",close:"Close",customize:"Customize",dismiss:"Dismiss",rejectAll:"Reject All",save:"Save Settings",securedBy:"Secured by"},consentManagerDialog:{description:"Customize your privacy settings here. You can choose which types of cookies and tracking technologies you allow.",title:"Privacy Settings"},consentTypes:{experience:{description:"These cookies help us provide a better user experience and test new features.",title:"Experience"},functionality:{description:"These cookies enable enhanced functionality and personalization of the website.",title:"Functionality"},marketing:{description:"These cookies are used to deliver relevant advertisements and track their effectiveness.",title:"Marketing"},measurement:{description:"These cookies help us understand how visitors interact with the website and improve its performance.",title:"Analytics"},necessary:{description:"These cookies are essential for the website to function properly and cannot be disabled.",title:"Strictly Necessary"}},cookieBanner:{description:"This site uses cookies to improve your browsing experience, analyze site traffic, and show personalized content.",noticeDescription:"We use cookies and similar technologies to run this site, measure traffic, and personalize content and ads. You can opt out or manage your preferences at any time.",noticeTitle:"Privacy notice",title:"We value your privacy"},frame:{actionButton:"Enable {category} consent",error:"This content could not be loaded.",loading:"Loading content…",policyBlocked:"This content is unavailable under your region's consent policy.",title:"Accept {category} consent to view this content."},iab:{banner:{andMore:"And {count} more...",description:"We and our {partnerCount} partners store and/or access information on your device and process personal data, such as unique identifiers and browsing data, for this website, to:",legitimateInterestNotice:"Some partners claim a legitimate interest to process your data. You have the right to object to this processing, customize your choices, and withdraw your consent at any time.",partnersLink:"{count} partners",scopeGroup:"Your choice applies across our websites in this group.",scopeServiceSpecific:"Your consent applies only to this website and will not affect other services.",title:"Privacy Settings"},common:{acceptAll:"Accept All",clearSelection:"Clear",customPartner:"Custom partner not registered with IAB",customize:"Customize",loading:"Loading...",rejectAll:"Reject All",saveSettings:"Save Settings",showingSelectedVendor:"Showing selected vendor"},preferenceCenter:{description:"Customize your privacy settings here. You can choose which types of cookies and tracking technologies you allow.",footer:{consentStorage:'Consent preferences are stored in a cookie named "euconsent-v2" for 13 months. The storage duration may be refreshed when you update your preferences.'},purposeItem:{examples:"Examples",legitimateInterest:"Legitimate Interest",objectButton:"Object",objected:"Objected",partners:"{count} partners",partnersUsingPurpose:"Partners Using This Purpose",rightToObject:"You have the right to object to processing based on legitimate interest.",vendorsUseLegitimateInterest:"{count} vendors claim legitimate interest",withYourPermission:"With Your Permission"},specialPurposes:{title:"Essential Functions (Required)",tooltip:"These are required for site functionality and security. Per IAB TCF, you cannot object to these special purposes."},tabs:{purposes:"Purposes",vendors:"Vendors"},title:"Privacy Settings",vendorList:{customVendorsHeading:"Custom Partners",customVendorsNotice:"These are custom partners not registered with IAB Transparency & Consent Framework (TCF). They process data based on your consent and may have different privacy practices than IAB-registered vendors.",dataCategories:"Data Categories",features:"Features",iabVendorsHeading:"IAB Registered Vendors",iabVendorsNotice:"These partners are registered with the IAB Transparency & Consent Framework (TCF), an industry standard for managing consent",legitimateInterest:"Leg. Interest",maxAge:"Max Age: {days}d",maxAgeRefreshes:"(refreshes)",noVendorsFound:'No vendors found matching "{searchTerm}"',nonCookieAccess:"Non-Cookie Access",partnerCount:"{count} partners",partnerPlural:"partners",partnerSingular:"partner",privacyPolicy:"Privacy Policy",purposes:"Purposes",requiredNotice:"Required for site functionality, cannot be disabled",retainedDays:"Retained: {days}d",retention:"Retention: {days}d",search:"Search vendors...",showingCount:"{filtered} of {total} vendors",specialFeatures:"Special Features",specialPurposes:"Special Purposes",storageDisclosure:"Storage Disclosure",usesCookies:"Uses Cookies"}}},legalLinks:{cookiePolicy:"Cookie Policy",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service"},rights:{optOut:"Do not sell or share my data",preferences:"Manage preferences"}},aI={en:ax},aS={language:"en",translations:aI.en},aA=function(t){return t?"externalId"in t?t:{externalId:t.id,identityProvider:t.identityProvider}:void 0},aj=function(t){if(!(t?.messages||t?.locale))return;let e=t.locale??"en"??"en",o=aI.en,n=aI[e]??o;if(!t.messages)return{language:e,translations:n};let i=t.messages[e]??t.messages.en??o;return{language:e,translations:l(n,i)}},aP=t3({countryCode:null,regionCode:null,rules:[{id:"disabled",match:{fallback:!0},model:"opt-out",prompt:"none"}]}),aC=function(t){if(!1===t.persistence)return!1;let{storageConfig:e}=t;return!0===t.persistence||void 0===t.persistence?{storageConfig:e}:{skipHydration:t.persistence.skipHydration,storageConfig:t.persistence.storageConfig??e}},aD=function(t){if("function"!=typeof t.mode)throw Error("c15t v3 ConsentManagerProvider: `mode` is required. Use hosted(), offline(), or custom().");return t.mode},aO=function(t){var e;let o=t.enabled??!0,n=t.prefetch??{},i=aj(t.i18n)??aS,r={consentCategories:t.consentCategories,iabEnabled:!1!==(e=t.iab)&&null!=e&&!1!==e.enabled,policyRules:t.policyRules,prefetch:n,translations:i},a=aD(t)(r);return ij({...n,initialIab:n.initialIab?.gvlReference&&t.iab&&t.iab.vendors?.length?{...n.initialIab,gvlReference:{...n.initialIab.gvlReference,summary:void 0}}:n.initialIab,initialOverrides:{...n.initialOverrides??{},...t.overrides??{}},initialPolicyPending:n.initialPolicyPending??(o&&!n.initialPolicyResolution),initialPolicyResolution:o?n.initialPolicyResolution:aP,initialTranslations:n.initialTranslations??i,initialUser:aA(t.user)??n.initialUser,now:n.now??n.initialRecords?.now??(n.initialRecords?void 0:0),transport:a})},aT=function(t,e){if(!1===e||!e||!1===e.enabled)return null;let o=t.getSnapshot().iab,n=e.cmpId??o?.cmpId;return"number"!=typeof n?null:{cmpId:n,cmpVersion:"string"==typeof e.cmpVersion?Number(e.cmpVersion):e.cmpVersion,customVendors:e.customVendors??o?.customVendors,gvl:e.gvl??o?.gvl??void 0,gvlURL:e.gvlURL,isServiceSpecific:e.isServiceSpecific,publisherCountryCode:e.publisherCountryCode,vendors:e.vendors}},aL=function(t){let e=t.enabled??!0,o=aC(t),n=aO(t),i=t.consentCategories??[],r=null,a=!1,s=!1,c=new Set,l=function(t){for(let e of(r=t,c))e(t)},d=[()=>n.dispose()];d.push((({kernel:t,callbacks:e})=>{let o=[t.events.on("choice:recorded",({type:t,...o})=>e?.onChoiceRecorded?.(o)),t.events.on("permissions:changed",({type:t,...o})=>e?.onPermissionsChanged?.(o)),t.events.on("command:error",({error:t})=>e?.onError?.({error:(t=>{if(t instanceof Error)return t.message;if("string"==typeof t)return t;try{return JSON.stringify(t)}catch{return String(t)}})(t)}))];return()=>{for(let t of o)t()}})({callbacks:t.callbacks,kernel:n}));let u=null,p=async function(){s||await n.commands.init()},g=function(){if(!(e&&o))return;let i=ar({kernel:n,skipHydration:o.skipHydration??!!t.prefetch?.initialRecords,storageConfig:o.storageConfig});u=i,d.push(()=>{i.dispose(),u=null})},h=function(){let{createIAB:o}=t;if(!(e&&o&&t.iab))return;let i=!1,r=function(){if(i)return;let e=aT(n,t.iab);if(!e)return;i=!0;let r=o({...e,kernel:n});l(r),d.push(()=>{r.dispose(),i=!1,l(null)})};r(),d.push(n.subscribe(r))};return{clearRecords(){u?u.clear():(n.hydrate({choice:null,noticeDismissal:null,optOutDirectives:[],subject:null}),n.events.emit({type:"records:cleared"}))},get consentCategories(){return i},dispose(){for(let t of(s=!0,a=!1,d.reverse()))t();d.length=0,c.clear(),r=null,u=null},get iab(){return r},async identify(t){let e=aA(t);if(e)try{await n.commands.identify(e)}catch{}},kernel:n,onIABChange:t=>(c.add(t),function(){c.delete(t)}),async reinit(){e&&!s&&await p()},setConsentCategories(t){i=t},setOverrides(t){n.set.overrides(t)},start(){if(!a&&!s&&!("u"<typeof document)){var o;if(a=!0,!1!==t.windowDebug){let e=ak({mode:aD(t).kind,pkg:t.pkg??"@c15t/core"});d.push(()=>e.dispose())}if(g(),e&&(o=t.prefetch,!o?.initialPolicyResolution||!0===o.initialPolicyPending))p();else if(e){n.hydrate({now:n.getServerSnapshot().evaluatedAt});let{gpc:t}=n.getSnapshot().privacySignals;t.detected&&t.active&&n.set.privacySignals({gpc:!0}),n.events.emit({snapshot:n.getSnapshot(),type:"init:applied"})}if(t.scripts&&t.scripts.length>0){let e=ay({kernel:n,nonce:t.nonce,onDebug:t.scriptLoader?.onDebug,scripts:t.scripts});d.push(()=>e.dispose())}if(e&&t.networkBlocker){let e=iB({enabled:t.networkBlocker.enabled,kernel:n,logBlockedRequests:t.networkBlocker.logBlockedRequests,onRequestBlocked:t.networkBlocker.onRequestBlocked,rules:t.networkBlocker.rules});d.push(()=>e.dispose())}if(e&&!1!==t.iframeBlocker){let e=iR({kernel:n,...t.iframeBlocker??{}});d.push(()=>e.dispose())}h()}},get started(){return a}}},aR=function(){let{withResolvers:t}=Promise;if("function"==typeof t)return t.call(Promise);let e=()=>{},o=()=>{};return{promise:new Promise((t,n)=>{e=t,o=n}),reject:o,resolve:e}},az="data-c15t-category",a$="data-c15t-activated",aE=["src","async","defer","crossorigin","integrity","referrerpolicy","id"],aM=function(t){let e=t.ownerDocument.createElement("script");for(let o of aE){let n=t.getAttribute(o);null!==n&&e.setAttribute(o,n)}for(let o of(e.async=t.hasAttribute("async"),e.nonce=t.nonce,Array.from(t.attributes)))o.name.startsWith("data-")&&o.name!==a$&&e.setAttribute(o.name,o.value);return e.setAttribute(a$,"true"),t.hasAttribute("src")||(e.textContent=t.textContent),e},aV=function(t,e){let o=t.getAttribute(az);return!!o&&(iC.includes(o)?ni({category:o},e):(console.warn(`@c15t/browser: unknown ${az} "${o}". Expected one of ${iC.join(", ")}.`),t.setAttribute(a$,"invalid"),!1))},aU=new WeakMap,aq=t=>{let e={subscribers:new Set},{ownerDocument:o}=t,n=()=>{t.removeEventListener("load",n),t.removeEventListener("error",n),aU.delete(o);let i=Array.from(e.subscribers);for(let t of(e.subscribers.clear(),i))t()};return aU.set(o,e),t.addEventListener("load",n),t.addEventListener("error",n),e},a_=function(t,e){let o=!1,n=!1,i=null,r=null,a=()=>{if(o||n)return 0;n=!0;let s=t=>{if(i===t)return;r?.(),i=t;let e=()=>{i===t&&(i=null,r=null,a())};t.subscribers.add(e),r=()=>t.subscribers.delete(e)},c=0;try{let n=`script[type="text/plain"][${az}]:not([${a$}])`;for(let i of(e??document).querySelectorAll(n)){if(o)break;if(!i.isConnected||!aV(i,t()))continue;let e=i.hasAttribute("src"),n=e&&i.hasAttribute("async"),r=aU.get(i.ownerDocument);if(r&&!n){s(r);continue}let a=aM(i);e&&!n&&s(aq(a)),i.setAttribute(a$,"true"),i.replaceWith(a),c+=1}}finally{n=!1}return c};return{dispose(){o=!0,r?.(),r=null,i=null},scan:a}};new WeakMap;let aN=function(t,e){let o={AU:new Set(["AU"]),BR:new Set(["BR"]),CA:new Set(["CA"]),CA_QC_REGIONS:new Set(["QC"]),CH:new Set(["CH"]),EEA:new Set(["IS","NO","LI"]),EU:new Set(["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"]),JP:new Set(["JP"]),KR:new Set(["KR"]),UK:new Set(["GB"]),US_CCPA_REGIONS:new Set(["CA"])},n="NONE";if(t){let i=t.toUpperCase(),r=e&&"string"==typeof e?(e.includes("-")?((t,e="Expected value to be defined")=>{if(null==t)throw Error(e);return t})(e.split("-").pop()):e).toUpperCase():null;if("US"===i&&r&&o.US_CCPA_REGIONS.has(r))return"CCPA";if("CA"===i&&r&&o.CA_QC_REGIONS.has(r))return"QC_LAW25";for(let{sets:t,code:e}of[{code:"UK_GDPR",sets:[o.UK]},{code:"GDPR",sets:[o.EU,o.EEA]},{code:"CH",sets:[o.CH]},{code:"BR",sets:[o.BR]},{code:"PIPEDA",sets:[o.CA]},{code:"AU",sets:[o.AU]},{code:"APPI",sets:[o.JP]},{code:"PIPA",sets:[o.KR]}])if(t.some(t=>t.has(i))){n=e;break}}return n},aB="default",aF=new Set,aG=function(t,e){return t in e},aJ=function(t,e,o,n){!t||aF.has(e)||(aF.add(e),t.warn(o,n))},aH=function(t){if(!t)return;let e=t.split(",")[0]?.split(";")[0]?.trim().toLowerCase();if(e)return e.split("-")[0]??void 0},aW=function(t){let e=t.i18n?.messages,o=t.customTranslations;return e&&Object.keys(e).length>0?(o&&Object.keys(o).length>0&&aJ(t.logger,"i18n.customTranslations.ignored","`customTranslations` is deprecated and ignored when `i18n.messages` is configured."),e):o&&Object.keys(o).length>0?(aJ(t.logger,"i18n.customTranslations.deprecated","`customTranslations` is deprecated. Use `i18n.messages` instead."),{[aB]:{translations:o}}):{}},aX=function(t){let e=[{language:t.language,reason:"profile_language"},{language:t.fallbackLanguage,reason:"profile_fallback"}],o=new Set;return e.filter(t=>{let e=t.language;return!o.has(e)&&(o.add(e),!0)})},aK=function(t){var e,o;return e=t.profiles,o=t.profile,Object.keys(e[o]?.translations??{}).sort()},aQ=function(t){let e=aH(t.profile?.fallbackLanguage)??"en",o=Object.keys(t.profile?.translations??{}).sort();return o.includes(e)?e:o.includes("en")?"en":o[0]??e},aY=function(t){let e,o=t.policyProfile??t.defaultProfile;return t.profiles[o]?o:(t.policyProfile&&"default"!==(e=t.policyProfile)&&"preferences"!==e&&aJ(t.logger,`i18n.profile.missing:${o}`,`Policy i18n profile '${o}' does not exist. Falling back to default profile '${t.defaultProfile}'.`),t.defaultProfile)},aZ=function(t,e,o){let n=o?.baseTranslations??{en:ax},i=aW({customTranslations:e,i18n:o?.i18n,logger:o?.logger}),r=aY({defaultProfile:o?.i18n?.defaultProfile??aB,logger:o?.logger,policyProfile:o?.policyI18n?.messageProfile,profiles:i}),a=Object.keys(i).length>0?aK({profile:r,profiles:i}):Object.keys(n),s=Object.keys(i).length>0?aQ({profile:i[r]}):"en",c=aH(o?.policyI18n?.language),d=c??aH(t);!o?.baseTranslations&&d&&"en"!==d&&aJ(o?.logger,`i18n.base-translations.missing:${d}`,`Base translations were not provided for '${d}'. Falling back to English translations.`,{requestedLanguage:d});let p=c??u(a,{fallback:s,header:t}),g=aX({fallbackLanguage:s,language:p}).find(t=>!!i[r]?.translations[t.language]);g&&"profile_language"!==g.reason&&aJ(o?.logger,`i18n.fallback:${r}:${p}:${g.language}`,`Policy translation fallback used (${g.reason}).`,{requestedLanguage:p,requestedProfile:r,resolvedLanguage:g.language,resolvedProfile:r});let h=g?.language??p;g||aG(h,n)||(aJ(o?.logger,`i18n.base-fallback:${h}`,`No translation found for '${h}'. Falling back to base English translations.`),h="en");let f=aG(h,n)?n[h]??ax:ax,m=g?i[r]?.translations[g.language]:void 0;return{language:h,translations:m?l(f,m):f}},a1=function(t){let{iab:e,...o}=t;return o},a5=function(t,e){if(2!==t.schemaVersion)return{policy:null,reason:"unsupported-contract",status:"failed"};if(t.policyFailure)return{policy:null,reason:"invalid-configuration",status:"failed"};let o=t.policyPacks;if(void 0===o)return{policy:null,status:"unconfigured"};try{if(!Array.isArray(o))throw TypeError("Invalid packs");let n=o.map(t=>{if(Object.keys(t).some(t=>!["match","rule","fingerprints"].includes(t)))throw TypeError("Unsupported pack field");let e=eO({fingerprints:t.fingerprints,matchedBy:"default",policy:t.rule,policyId:t.rule?.id,status:"matched",version:1});if("matched"!==e.status)throw TypeError("Invalid pack");return{id:e.policy.id,match:t.match}}),i=o.map(t=>({id:t.rule.id,match:t.match,model:t.rule.model,prompt:t.rule.prompt}));if(tV(i,{iabEnabled:t.iab?.enabled}).errors.length)throw TypeError("Invalid matchers");if(0===o.length)return{policy:null,status:"no-match"};let r=t0({...e,entries:n});if("insufficient-inputs"===r.status)return{policy:null,reason:"insufficient-inputs",status:"failed"};if("no-match"===r.status)return{policy:null,status:"no-match"};let a=o[r.index];if(!a)throw TypeError("Invalid match");return eO({fingerprints:a.fingerprints,matchedBy:r.matchedBy,policy:a.rule,policyId:a.rule.id,status:"matched",version:1})}catch{return{policy:null,reason:"invalid-configuration",status:"failed"}}},a0=function(t,e,o){var n;let i={countryCode:e.country??null,regionCode:e.region??null},r=(n={disableGeoLocation:t.defaults?.disableGeoLocation},n?.disableGeoLocation?"GDPR":aN(i.countryCode,i.regionCode)),a=a5(t,i),s="matched"===a.status?a.policy:void 0,c=t.iab?.enabled===!0&&s?.model==="iab",l=aZ(e.language??"en",t.translations?.customTranslations,{baseTranslations:o?.baseTranslations,i18n:t.translations?.i18n,logger:o?.logger,policyI18n:s?.i18n}),d=c?l:{...l,translations:a1(l.translations)},u=t7(a);return{branding:t.branding,jurisdiction:r,location:i,policyResolution:u,translations:d,...c&&{customVendors:t.iab?.customVendors},...c&&null!==t.cmpId&&void 0!==t.cmpId&&{cmpId:t.cmpId}}},a2=function(t){return t.endsWith("/")?t.slice(0,-1):t},a3=function(t){if(void 0!==t.backendURL)return a2(t.backendURL);if(!t.manifestURL)return;let e=a2(t.manifestURL.split(/[?#]/u)[0]??t.manifestURL);if(e.endsWith("/manifest")){try{let t=new URL(e,"https://c15t.invalid");if(!["http:","https:"].includes(t.protocol)||!t.pathname.endsWith("/manifest"))return}catch{return}return e.slice(0,-9)}},a7=function(t){if(t.defaults?.disableGeoLocation)return!1;let e=t.policyPacks??[];return 0===e.length||e.some(t=>(t.match.countries?.length??0)>0||(t.match.regions?.length??0)>0)},a6=function(){if("u"<typeof navigator)return;let t=navigator.globalPrivacyControl;return"boolean"==typeof t?t:void 0},a4=function(t,e){let o=e.language??t?.language??("u"<typeof navigator?"en":navigator.language);return{country:e.country??t?.country??null,gpc:e.gpc??t?.gpc??a6(),language:o,region:e.region??t?.region??null}},a8={en:ax},a9=function(t){let e;if(!(t.manifest||t.manifestURL))throw Error("@c15t/browser: manifest() needs `manifest` or `manifestURL`.");let o=a3(t);if(void 0===o)throw Error("@c15t/browser: manifest() needs `backendURL` unless `manifestURL` ends in `/manifest`. Pass the consent API URL, or an empty string for this origin.");let n=on({backendURL:o,fetch:t.fetch}),i=async function(){let e=t.fetch??globalThis.fetch,o=await e(t.manifestURL,{headers:{...e4}});if(!o.ok)throw Error(`@c15t/browser: manifest request failed with ${o.status}`);return await o.json()},r=async function(){if(t.manifest)return t.manifest;e??=i();try{return await e}catch(t){throw e=void 0,t}},a={identify:n.identify,async init(e){let o=await r(),i=a4(t.inputs,e.overrides);return a7(o)&&(!i.country||!i.region&&o.policyPacks?.some(t=>(t.match.regions?.length??0)>0))?n.init(e):eE(a0(o,i,{baseTranslations:a8}),{})},loadSubjectRecord:n.loadSubjectRecord,recordPrivacyOptOut:n.recordPrivacyOptOut,save:n.save};return Object.assign(()=>a,{kind:"custom"})},st=function(t={}){return Object.assign(e=>({init:({overrides:o})=>Promise.resolve({policyResolution:t7(t3({countryCode:o.country??null,iabEnabled:e.iabEnabled,regionCode:o.region??null,rules:t.policyRules??oH({iab:e.iabEnabled})})),translations:e.translations})}),{kind:"offline"})},se="data-c15t-action",so=new Set(["accept","reject","customize","close","dismiss","banner"]),sn=function(t){if(t)return t.map(t=>{if("string"!=typeof t)return t;let e=Object.hasOwn(oJ,t)?oJ[t]:void 0;if("function"!=typeof e)throw Error(`@c15t/browser: unknown policy preset "${t}". Expected one of ${Object.keys(oJ).join(", ")}.`);return e()})},si=function(t){if("function"==typeof t.mode){let{kind:e}=t.mode;return{factory:t.mode,name:"hosted"===e||"offline"===e?e:"custom"}}let e=t.mode??(t.manifest||t.manifestURL?"manifest":t.backendURL?"hosted":"offline");if("hosted"===e){if(!t.backendURL)throw Error("@c15t/browser: hosted mode needs `backendURL` (or data-backend-url on the script tag).");return{factory:oi({url:t.backendURL}),name:e}}return"manifest"===e?{factory:a9({backendURL:t.backendURL,inputs:t.overrides,manifest:t.manifest,manifestURL:t.manifestURL}),name:e}:{factory:st({policyRules:sn(t.policyRules)}),name:e}},sr=function(t,e){let o=["necessary",...t.policyRule.scope];if(0===e.length)return Array.from(o);let n=new Set(o);return Array.from(new Set(["necessary",...e.filter(t=>n.has(t))]))},sa=function(t,e){"u">typeof document&&document.dispatchEvent(new CustomEvent(`c15t:${t}`,{detail:e}))},ss=function(t){if(!(t instanceof Element))return null;let e=t.closest(`[${se}]`),o=e?.getAttribute(se);if(o&&so.has(o))return o;let n=t.closest("a[href]");return(n?.getAttribute("href")??"").endsWith("#c15t-preferences")?"customize":null},sc=function(t={},e={}){if(t.iab&&!1!==t.iab.enabled&&!e.createIAB)throw Error("@c15t/browser: IAB requires the @c15t/browser/iab entry.");let o=si(t),n=t.consentCategories??[],i=aL({callbacks:t.callbacks,consentCategories:t.consentCategories,createIAB:e.createIAB,enabled:t.enabled,i18n:t.i18n,iab:e.createIAB?t.iab??{enabled:!0}:void 0,iframeBlocker:t.iframeBlocker,mode:o.factory,networkBlocker:t.networkBlocker,overrides:t.overrides,pkg:t.pkg??e.pkg??"@c15t/browser",policyRules:sn(t.policyRules),prefetch:t.prefetch,presentation:t.presentation,scripts:t.scripts,storageConfig:t.storageConfig,user:t.user,windowDebug:!1}),{kernel:r}=i,a=a_(()=>r.getSnapshot()),s=!1,c=!1,l=[],d={consent:new Set,error:new Set,ready:new Set,ui:new Set},u=function(t,e){for(let o of d[t])o(e);sa(t,e)},p=function(t,e){s||c?l.push(()=>u(t,e)):u(t,e)},g=aR(),h=null,f=function(t){h||(h=t,g.resolve(t),u("ready",t))},m=function(t){s||c?l.push(()=>f(t)):f(t)},b=null,v=!1,y=!1,w=null,k=r.getSnapshot(),x=k.activeUI,I=k.effectivePermissions,S=k.explicitChoice,A=[a.dispose,r.events.on("init:applied",({snapshot:t})=>{m(t)}),r.events.on("command:error",({error:t})=>{p("error",t)}),r.subscribe(t=>{(t.effectivePermissions!==I||t.explicitChoice!==S)&&(I=t.effectivePermissions,S=t.explicitChoice,v&&!s&&a.scan(),p("consent",t)),t.activeUI!==x&&(x=t.activeUI,p("ui",t.activeUI))})],j=function(){return sr(r.getSnapshot(),n)},P=0,C=()=>{P+=1,r.set.activeUI("none")},D=()=>{P+=1,r.set.activeUI("dialog")},O=()=>{P+=1,r.set.activeUI("banner")},T=async t=>{let e=P+=1,o=r.getSnapshot().activeUI,{fingerprint:n}=r.getSnapshot().evaluationPolicy.choice,i=r.commands.save(t,{categories:j()});r.set.activeUI(o);let a=await i;return a.ok&&e===P&&n===r.getSnapshot().evaluationPolicy.choice.fingerprint&&r.set.activeUI("none"===r.getSnapshot().promptRequirement.kind?"none":"banner"),a},L=async t=>{let e=i.iab;if(!e||!r.getSnapshot().iab?.gvl||"iab"!==r.getSnapshot().policyRule.model)return p("error",Error("IAB privacy settings are not ready.")),{ok:!1};let o=P+=1,n=r.getSnapshot();try{!0===t&&e.acceptAll(),!1===t&&e.rejectAll(),await e.save();let i=r.getSnapshot();if(!i.iab?.authority||i.evaluationPolicy.choice.fingerprint!==n.evaluationPolicy.choice.fingerprint)return{ok:!1};return o===P&&r.set.activeUI("none"),{ok:!0}}catch(t){return o===P&&r.set.activeUI(n.activeUI),p("error",t instanceof Error?t:Error(String(t))),{ok:!1}}},R=()=>"iab"===r.getSnapshot().policyRule.model?L(!0):T("all"),z=()=>"iab"===r.getSnapshot().policyRule.model?L(!1):T("none"),$=function(t){let e=ss(t.target);if(e)switch(t.preventDefault(),e){case"accept":R();break;case"reject":z();break;case"customize":D();break;case"dismiss":r.commands.dismissNotice();break;case"banner":O();break;default:C()}},E={acceptAll:R,closeDialog:C,get consentCategories(){return j()},dismissNotice:()=>r.commands.dismissNotice(),dispose(){if(!y){for(let t of(y=!0,P+=1,v=!1,w?.(),w=null,b?.destroy(),b=null,A.reverse()))t();A.length=0,i.dispose()}},getSnapshot:()=>r.getSnapshot(),has:t=>ni({category:t},r.getSnapshot()),hasConsented:()=>null!==r.getSnapshot().explicitChoice,async identify(t){await i.identify(t)},kernel:r,mode:o.name,mountUI(o){if(!e.mountUI)throw Error('@c15t/browser: this build is headless. Load c15t.js, or import `mountConsentUI` from "@c15t/browser".');return b?.destroy(),b=e.mountUI(E,o??(!1===t.ui?void 0:t.ui))},on(t,e){let o=d[t];return o.add(e),"ready"===t&&h&&e(h),"ui"===t&&h&&e(r.getSnapshot().activeUI),function(){o.delete(e)}},openDialog:D,options:t,ready:()=>g.promise,rejectAll:z,runtime:i,save(t){if("iab"===r.getSnapshot().policyRule.model)return p("error",Error("Use saveIAB() to confirm IAB preferences.")),Promise.resolve({ok:!1});let e=new Set(j());return T(Object.fromEntries(Object.entries(t).filter(([t])=>e.has(t))))},saveIAB:()=>L(),setLanguage(t){r.set.language(t),r.commands.init()},setOverrides(t){i.setOverrides(t)},showBanner:O,start(){if(v||y||"u"<typeof document)return;v=!0,e.onStart&&!1!==t.enabled&&A.push(e.onStart(t)),s=!0;try{i.start()}finally{s=!1}c=!0;try{for(let t of l){if(y)break;t()}}finally{c=!1,l.length=0}if(y||(a.scan(),y))return;let o=new MutationObserver(()=>a.scan());if(o.observe(document.documentElement,{childList:!0,subtree:!0}),A.push(()=>o.disconnect()),!1===t.enabled&&(m(r.getSnapshot()),y)||(document.addEventListener("click",$),w=()=>{document.removeEventListener("click",$)},!1===t.ui||!e.mountUI))return;let n=function(){y||b||(b=E.mountUI())};document.body?n():(document.addEventListener("DOMContentLoaded",n,{once:!0}),A.push(()=>{document.removeEventListener("DOMContentLoaded",n)}))},get started(){return v},subscribe:t=>r.subscribe(t),get ui(){return b}};return E},sl="c15t",sd=function(t,e,o){return Math.min(Math.max(t,e),o)},su=function(t){if(!t.trim().endsWith("%"))return null;let e=Number.parseFloat(t);return Number.isFinite(e)?sd(e/100,0,1):null},sp=function(t){let e=su(t);if(null!==e)return Math.round(255*e);let o=Number.parseFloat(t);return Number.isFinite(o)?sd(o,0,255):null},sg=function(t){let e=t.trim().toLowerCase(),o=Number.parseFloat(e);return Number.isFinite(o)?e.endsWith("turn")?360*o:e.endsWith("rad")?180*o/Math.PI:e.endsWith("grad")?.9*o:o:null},sh=function(t){let e=t.split("/")[0]??"";return e.includes(",")?e.split(",").map(t=>t.trim()):e.trim().split(/\s+/u)},sf=function(t,e,o){let n=sd(e,0,1),i=sd(o,0,1);if(0===n){let t=Math.round(255*i);return{b:t,g:t,r:t}}let r=(1-Math.abs(2*i-1))*n,a=(t%360+360)%360/60,s=r*(1-Math.abs(a%2-1)),c=0,l=0,d=0;a>=0&&a<1?(c=r,l=s):a>=1&&a<2?(c=s,l=r):a>=2&&a<3?(l=r,d=s):a>=3&&a<4?(l=s,d=r):a>=4&&a<5?(c=s,d=r):(c=r,d=s);let u=i-r/2;return{b:Math.round((d+u)*255),g:Math.round((l+u)*255),r:Math.round((c+u)*255)}},sm=function(t){let e=t.trim(),o=e.startsWith("#")?e.slice(1):e;if(!/^[\da-f]{3,4}$|^[\da-f]{6}$|^[\da-f]{8}$/iu.test(o))return null;let n=o.length<=4?o.slice(0,3).split("").map(t=>`${t}${t}`).join(""):o.slice(0,6);return{b:Number.parseInt(n.slice(4,6),16),g:Number.parseInt(n.slice(2,4),16),r:Number.parseInt(n.slice(0,2),16)}},sb=function(t){let e=t.trim().match(/^rgba?\((?<capture1>.+)\)$/iu);if(!e)return null;let o=sh(e[1]??"").slice(0,3);if(3!==o.length)return null;let[n,i,r]=o.map(sp);return[n,i,r].some(t=>null===t)?null:{b:r??0,g:i??0,r:n??0}},sv=function(t){let e=t.trim().match(/^hsla?\((?<capture1>.+)\)$/iu);if(!e)return null;let o=sh(e[1]??"").slice(0,3);if(3!==o.length)return null;let n=sg(o[0]??""),i=su(o[1]??""),r=su(o[2]??"");return null===n||null===i||null===r?null:sf(n,i,r)},sy=function(t){return sm(t)??sb(t)??sv(t)},sw=function(t){let e=t/255;return e<=.04045?e/12.92:((e+.055)/1.055)**2.4},sk=function(t){return .2126*sw(t.r)+.7152*sw(t.g)+.0722*sw(t.b)},sx=function(t,e){let o=sk(t),n=sk(e);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)},sI=function(t,{light:e="#ffffff",dark:o="#000000"}={}){let n=sy(t),i=sy(e),r=sy(o);return n&&i&&r&&sx(r,n)>=sx(i,n)?o:e},sS={"--c15t-border":(t,e)=>e?.border,"--c15t-border-hover":(t,e)=>e?.borderHover,"--c15t-duration-fast":t=>t.motion?.duration?.fast,"--c15t-duration-normal":t=>t.motion?.duration?.normal,"--c15t-duration-slow":t=>t.motion?.duration?.slow,"--c15t-easing":t=>t.motion?.easing,"--c15t-easing-in-out":t=>t.motion?.easingInOut,"--c15t-easing-out":t=>t.motion?.easingOut,"--c15t-easing-spring":t=>t.motion?.easingSpring,"--c15t-font-family":t=>t.typography?.fontFamily,"--c15t-font-size-base":t=>t.typography?.fontSize?.base,"--c15t-font-size-lg":t=>t.typography?.fontSize?.lg,"--c15t-font-size-sm":t=>t.typography?.fontSize?.sm,"--c15t-font-weight-medium":t=>t.typography?.fontWeight?.medium?String(t.typography.fontWeight.medium):void 0,"--c15t-font-weight-normal":t=>t.typography?.fontWeight?.normal?String(t.typography.fontWeight.normal):void 0,"--c15t-font-weight-semibold":t=>t.typography?.fontWeight?.semibold?String(t.typography.fontWeight.semibold):void 0,"--c15t-line-height-normal":t=>t.typography?.lineHeight?.normal,"--c15t-line-height-relaxed":t=>t.typography?.lineHeight?.relaxed,"--c15t-line-height-tight":t=>t.typography?.lineHeight?.tight,"--c15t-overlay":(t,e)=>e?.overlay,"--c15t-primary":(t,e)=>e?.primary,"--c15t-primary-hover":(t,e)=>e?.primaryHover,"--c15t-radius-full":t=>t.radius?.full,"--c15t-radius-lg":t=>t.radius?.lg,"--c15t-radius-md":t=>t.radius?.md,"--c15t-radius-sm":t=>t.radius?.sm,"--c15t-shadow-lg":t=>t.shadows?.lg,"--c15t-shadow-md":t=>t.shadows?.md,"--c15t-shadow-sm":t=>t.shadows?.sm,"--c15t-space-lg":t=>t.spacing?.lg,"--c15t-space-md":t=>t.spacing?.md,"--c15t-space-sm":t=>t.spacing?.sm,"--c15t-space-xl":t=>t.spacing?.xl,"--c15t-space-xs":t=>t.spacing?.xs,"--c15t-surface":(t,e)=>e?.surface,"--c15t-surface-hover":(t,e)=>e?.surfaceHover,"--c15t-switch-thumb":(t,e)=>e?.switchThumb,"--c15t-switch-track":(t,e)=>e?.switchTrack,"--c15t-switch-track-active":(t,e)=>e?.switchTrackActive,"--c15t-text":(t,e)=>e?.text,"--c15t-text-muted":(t,e)=>e?.textMuted,"--c15t-text-on-primary":(t,e)=>e?.textOnPrimary??(e?.primary?sI(e.primary):void 0)},sA=function(t,e=!1){let o={},n=e?{...t.colors,...t.dark}:t.colors;for(let[e,i]of Object.entries(sS)){let r=i(t,n);r&&(o[e]=r)}return o},sj=function(t){let e=sA(t,!1),o=sA(t,!0),n=Object.entries(e).filter(([,t])=>void 0!==t).map(([t,e])=>`${t}: ${e};`).join("\n"),i=Object.entries(o).filter(([,t])=>void 0!==t).map(([t,e])=>`${t}: ${e};`).join("\n");return`
|
|
2
|
+
:root, :host, .c15t-theme-root {
|
|
3
|
+
${n}
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:root.dark, :host(.dark), .dark .c15t-theme-root, :root.c15t-dark, :host(.c15t-dark), .c15t-dark .c15t-theme-root {
|
|
7
|
+
${i}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* Utility class to disable transitions during theme switching.
|
|
12
|
+
* Apply this class to the root element before switching themes,
|
|
13
|
+
* then remove it after a short delay to prevent flash of
|
|
14
|
+
* animated content during the color scheme change.
|
|
15
|
+
*
|
|
16
|
+
* Example usage:
|
|
17
|
+
* document.documentElement.classList.add('c15t-no-transitions');
|
|
18
|
+
* // Switch theme...
|
|
19
|
+
* requestAnimationFrame(() => {
|
|
20
|
+
* document.documentElement.classList.remove('c15t-no-transitions');
|
|
21
|
+
* });
|
|
22
|
+
*/
|
|
23
|
+
.c15t-no-transitions,
|
|
24
|
+
.c15t-no-transitions *,
|
|
25
|
+
.c15t-no-transitions *::before,
|
|
26
|
+
.c15t-no-transitions *::after {
|
|
27
|
+
transition: none !important;
|
|
28
|
+
animation: none !important;
|
|
29
|
+
}
|
|
30
|
+
`.trim()},sP={accordion:{list:"c15t-ui-list-T3EU0",item:"c15t-ui-item-Jgm_X",triggerRow:"c15t-ui-triggerRow-xXdTH",trigger:"c15t-ui-trigger-KT5J_",content:"c15t-ui-content-qdPhy",arrow:"c15t-ui-arrow-JFKgd",header:"c15t-ui-header-ogZie",title:"c15t-ui-title-vmC1f",control:"c15t-ui-control-dy7nh",restriction:"c15t-ui-restriction-bXiI7",contentViewport:"c15t-ui-contentViewport-O2Kny",contentInner:"c15t-ui-contentInner-b3ykf"},actions:{actionRoot:"c15t-ui-actionRoot-hYTak",actionGroup:"c15t-ui-actionGroup-GmX6v"},banner:{root:"c15t-ui-root-p7SV0",bannerEnterActive:"c15t-ui-bannerEnterActive-IytGL",bannerLeaveActive:"c15t-ui-bannerLeaveActive-C7qrk",bannerEnterFrom:"c15t-ui-bannerEnterFrom-BJMc7",bannerLeaveTo:"c15t-ui-bannerLeaveTo-dXNcB",bannerEnterTo:"c15t-ui-bannerEnterTo-yatsy",bannerLeaveFrom:"c15t-ui-bannerLeaveFrom-RVGoD",bannerVisible:"c15t-ui-bannerVisible-AFth0",bannerHidden:"c15t-ui-bannerHidden-R0_3M",cardShell:"c15t-ui-cardShell-djyPy",card:"c15t-ui-card-lgjVq",footer:"c15t-ui-footer-JhJAe",rights:"c15t-ui-rights-wZg5K",rightLink:"c15t-ui-rightLink-IXsSJ",header:"c15t-ui-header-S6GiJ",title:"c15t-ui-title-vm8nL",description:"c15t-ui-description-s8Qhg",overlay:"c15t-ui-overlay-DoHh4",overlayEnterActive:"c15t-ui-overlayEnterActive-YGn_8",overlayLeaveActive:"c15t-ui-overlayLeaveActive-FvP5W",overlayEnterFrom:"c15t-ui-overlayEnterFrom-OtDqj",overlayLeaveTo:"c15t-ui-overlayLeaveTo-V7aI7",overlayEnterTo:"c15t-ui-overlayEnterTo-jcvNq",overlayLeaveFrom:"c15t-ui-overlayLeaveFrom-EYTMT",overlayVisible:"c15t-ui-overlayVisible-ywHQp",overlayHidden:"c15t-ui-overlayHidden-WgrJC"},branding:{branding:"c15t-ui-branding-yf52E",brandingCopy:"c15t-ui-brandingCopy-ktA4u",brandingText:"c15t-ui-brandingText-ls0cn",brandingBy:"c15t-ui-brandingBy-CWN3T",brandingWordmarkLabel:"c15t-ui-brandingWordmarkLabel-FxCKX",brandingC15T:"c15t-ui-brandingC15T-GVCPl",brandingWordmark:"c15t-ui-brandingWordmark-yqSW2",brandingC15TMark:"c15t-ui-brandingC15TMark-VvBd_",brandingInth:"c15t-ui-brandingInth-bviD3",brandingTag:"c15t-ui-brandingTag-V3N0M",brandingContent:"c15t-ui-brandingContent-Z9PVI",brandingTagBanner:"c15t-ui-brandingTagBanner-zFtcX",brandingTagDialog:"c15t-ui-brandingTagDialog-Iv_a_",brandingFooter:"c15t-ui-brandingFooter-QIudR"},button:{button:"c15t-ui-button-IiSDl",buttonIcon:"c15t-ui-buttonIcon-QgScm"},dialog:{root:"c15t-ui-root-I07nx",overlay:"c15t-ui-overlay-c1WEk","consent-dialog-fade-in":"c15t-ui-consent-dialog-fade-in-I04Yp",consentDialogFadeIn:"c15t-ui-consent-dialog-fade-in-I04Yp","consent-dialog-fade-out":"c15t-ui-consent-dialog-fade-out-t5_x2",consentDialogFadeOut:"c15t-ui-consent-dialog-fade-out-t5_x2",container:"c15t-ui-container-KTZOT",enter:"c15t-ui-enter-vWVet",exit:"c15t-ui-exit-ioDiW",card:"c15t-ui-card-ve6qQ","consent-dialog-slide-in-left":"c15t-ui-consent-dialog-slide-in-left-N9bgJ",consentDialogSlideInLeft:"c15t-ui-consent-dialog-slide-in-left-N9bgJ","consent-dialog-slide-out-left":"c15t-ui-consent-dialog-slide-out-left-hkcUP",consentDialogSlideOutLeft:"c15t-ui-consent-dialog-slide-out-left-hkcUP","consent-dialog-slide-in-right":"c15t-ui-consent-dialog-slide-in-right-L40wh",consentDialogSlideInRight:"c15t-ui-consent-dialog-slide-in-right-L40wh","consent-dialog-slide-out-right":"c15t-ui-consent-dialog-slide-out-right-GjtEq",consentDialogSlideOutRight:"c15t-ui-consent-dialog-slide-out-right-GjtEq",dialogVisible:"c15t-ui-dialogVisible-dkX4M",dialogHidden:"c15t-ui-dialogHidden-uBU9W",contentVisible:"c15t-ui-contentVisible-KxAWb",contentHidden:"c15t-ui-contentHidden-LflgF",headerWrapper:"c15t-ui-headerWrapper-DQg3z",closeButton:"c15t-ui-closeButton-uPYIe",footer:"c15t-ui-footer-PeM4f",overlayVisible:"c15t-ui-overlayVisible-gG3jJ",overlayHidden:"c15t-ui-overlayHidden-eY362",header:"c15t-ui-header-VbAnL",title:"c15t-ui-title-ErzRZ",description:"c15t-ui-description-OQyBx",content:"c15t-ui-content-Y_5Ie"},legalLinks:{legalLinks:"c15t-ui-legalLinks-h6W20",legalLink:"c15t-ui-legalLink-bBp6b"},manager:{manager:"c15t-ui-manager-VznZW",footer:"c15t-ui-footer-fl3dz"},switch:{root:"c15t-ui-root-LX1QP",track:"c15t-ui-track-TjViT",thumb:"c15t-ui-thumb-Uunnr",rootSmall:"c15t-ui-rootSmall-wI5cb",trackSmall:"c15t-ui-trackSmall-tAU5X",thumbSmall:"c15t-ui-thumbSmall-IrKfB"},trigger:{trigger:"c15t-ui-trigger-Hjg5y",dragging:"c15t-ui-dragging-R4Cm2",sm:"c15t-ui-sm-sud0y",md:"c15t-ui-md-CZrWA",lg:"c15t-ui-lg-fGzix",icon:"c15t-ui-icon-dD5R6",text:"c15t-ui-text-Garil",bottomRight:"c15t-ui-bottomRight-RqjMF",bottomLeft:"c15t-ui-bottomLeft-J3DsX",topRight:"c15t-ui-topRight-Ln04J",topLeft:"c15t-ui-topLeft-tpeaf",snapping:"c15t-ui-snapping-YupfG",hidden:"c15t-ui-hidden-tV2GK",toolbar:"c15t-ui-toolbar-gCKkL",toolbarVertical:"c15t-ui-toolbarVertical-MQ8bT",toolbarItem:"c15t-ui-toolbarItem-OO8Dy",toolbarIcon:"c15t-ui-toolbarIcon-FpHKR"}},sC=["ar","he","fa","ur","ps","sd","ku","dv"],sD=null;"u">typeof document&&document.addEventListener("focusin",t=>{t.target instanceof HTMLElement&&t.target!==document.body&&t.target!==document.documentElement&&(sD=t.target)},!0);let sO=function(t){let e=t?t.split("-")[0]?.toLowerCase():"en";return sC.includes(e||"")?"rtl":"ltr"},sT=0,sL=null,sR=function(){if(0===sT){sL={overflow:document.body.style.overflow,paddingRight:document.body.style.paddingRight};let t=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",t>0&&(document.body.style.paddingRight=`${t}px`)}sT+=1;let t=!1;return()=>{!t&&(t=!0,0==(sT-=1)&&sL&&(document.body.style.overflow=sL.overflow,document.body.style.paddingRight=sL.paddingRight,sL=null))}},sz=function(t){if(t.id){let e=document.getElementById(t.id);if(e)return e}let e=t.getAttribute("data-testid");if(e){let t="u">typeof CSS&&"function"==typeof CSS.escape?CSS.escape(e):e;return document.querySelector(`[data-testid="${t}"]`)}return null},s$=()=>{let t=document.activeElement;for(;t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t},sE=function(t){let e=s$(),o=e&&e!==document.body&&e!==document.documentElement?e:sD;t.tabIndex<0&&(t.tabIndex=-1);let n=setTimeout(()=>{try{let e=s$();if(e instanceof HTMLElement&&e!==document.body&&t.contains(e))return;t.focus({preventScroll:!0})}catch{}},0),i=e=>{if("Tab"!==e.key)return;let o=Array.from(t.querySelectorAll('a[href]:not([disabled]):not([tabindex="-1"]),button:not([disabled]):not([tabindex="-1"]),textarea:not([disabled]):not([tabindex="-1"]),input:not([disabled]):not([tabindex="-1"]),select:not([disabled]):not([tabindex="-1"]),[contenteditable]:not([tabindex="-1"]),[tabindex]:not([tabindex="-1"])')).filter(t=>{if("function"==typeof t.checkVisibility)return t.checkVisibility({checkVisibilityCSS:!0});if(t.getClientRects().length>0)return!0;if(document.documentElement.getClientRects().length>0)return!1;for(let e=t;e;e=e.parentElement)if(e.hidden||"none"===e.style.display)return!1;return!0});if(0===o.length)return;let n=o[0],i=o[o.length-1],r=s$(),a=!!r&&(r===t||t.contains(r));e.shiftKey&&(!a||r===t||r===n)?(e.preventDefault(),i?.focus({preventScroll:!0})):e.shiftKey||a&&r!==i||(e.preventDefault(),n?.focus({preventScroll:!0}))};return document.addEventListener("keydown",i),()=>{clearTimeout(n),document.removeEventListener("keydown",i),o&&"function"==typeof o.focus&&setTimeout(()=>{let t=o.isConnected?o:sz(o);t?.focus({preventScroll:!0})},0)}},sM={bar:["top","bottom"],floating:["bottom-left","bottom-right","top-left","top-right","bottom-center","top-center"],wall:["center"],widget:["bottom-left","bottom-right","top-left","top-right"]},sV={bar:"bottom",floating:"bottom-left",wall:"center",widget:"bottom-right"},sU=function(t){let e=["reject","accept"].filter(e=>t.includes(e)),o=t.filter(t=>!e.includes(t));return e.length>0?[e,...o]:o},sq=function(t,e,o,n){let i=new Set,r=[];for(let e of o??sU(t)){let o=[];for(let r of"string"==typeof e?[e]:e)t.includes(r)?i.has(r)||(i.add(r),o.push(r)):n.push({actions:[r],code:"forbidden-action",message:`The policy does not allow ${r} on this surface.`});o.length&&r.push(o)}let a=e.filter(t=>!i.has(t));return a.length&&(r.length||r.push([]),r[0]?.push(...a),n.push({actions:a,code:"required-action-restored",message:"Required actions omitted by the layout were restored at the same interaction depth."})),r},s_=function(t,e,o,n){var i,r,a;let s,c,l=o?"wall":"floating",d=o?l:t.variant??l;e&&"wall"===d&&(d="floating",n.push({actions:[],code:"invalid-variant",message:"A notice cannot use a blocking wall; using floating."})),o&&(void 0!==t.variant||void 0!==t.position)&&n.push({actions:[],code:"invalid-variant",message:"Preferences use a centered dialog; variant and position are prompt options."});let u=sV[d],p=u,g="default";return o||void 0===t.position||((i=d,r=t.position,sM[i].includes(r))?({position:p}=t,g="host"):n.push({actions:[],code:"invalid-position",message:`Position "${t.position}" is not valid for the ${d} variant; using "${u}".`})),{blocking:(a=d,s=!1!==t.scrollLock&&!1!==t.trapFocus&&(t.scrollLock??t.trapFocus),c=t.blocking??s??(o||"wall"===a),e&&c?(c=!1,n.push({actions:[],code:"blocking-forbidden",message:"A notice prompt is never blocking; blocking was disabled."})):o||"wall"!==a||c||(c=!0,n.push({actions:[],code:"blocking-required",message:"The wall variant is always blocking; blocking was enabled."})),c),position:p,positionSource:g,variant:d}},sN=function(t){var e,o;let n="preferences"===t.surface,i={...t.presentation?.[t.surface],...Object.fromEntries(Object.entries(t.override??{}).filter(([,t])=>void 0!==t))},r=n?{allowed:["reject","accept","save"],equivalent:[["accept","reject"]],required:["reject","accept","save"]}:t.policy.actions,a=[...new Set(r.allowed)],s=[...new Set(r.required)],c=r.equivalent.map(t=>[...t]),l=[],d=sq(a,s,i.layout,l),u=d.flat(),p=n?["save"]:["customize"],g=(i.primaryActions??p).filter(t=>u.includes(t));for(let e of c){let o=e.filter(t=>g.includes(t)).length,n=new Set(e.map(e=>{let o=t.actionAppearance?.[e];return`${o?.variant??(g.includes(e)?"primary":"neutral")}:${o?.mode??"stroke"}`}));(o>0&&o<e.length||n.size>1)&&l.push({actions:[...e],code:"equivalent-prominence-overridden",message:"Host presentation gives equivalent actions different prominence."})}let h=!n&&"notice"===t.policy.prompt,f=i.direction??"row",m=i.uiProfile??"compact",b=s_(i,h,n,l),v=b.blocking,y=b.blocking;return{...b,actionGroups:d,allowedActions:a,diagnostics:l,direction:f,equivalentActions:c,orderedActions:u,preferenceControls:(e=t.policy.rights,o=t.policy.i18n?.messageProfile,n?[]:e.includes("opt-out")&&!u.includes("reject")?["preferences"===o?"preferences":"opt-out"]:e.includes("preferences")&&!u.includes("customize")?["preferences"]:[]),primaryActions:g,requiredActions:s,rights:t.policy.rights,scrollLock:v,shouldFillActions:"strict"===m||"balanced"===m,trapFocus:y,uiProfile:m}},sB="http://www.w3.org/2000/svg",sF=function(t,e){for(let[o,n]of Object.entries(e))if(null!=n&&!1!==n){if("function"==typeof n){t.addEventListener(o.slice(2),n);continue}if(!0===n){t.setAttribute(o,"");continue}t.setAttribute(o,String(n))}},sG=function(t,e){for(let o of e)null!=o&&!1!==o&&t.append("string"==typeof o||"number"==typeof o?document.createTextNode(String(o)):o)},sJ=function(t,e={},...o){let n=document.createElement(t),{class:i,...r}=e;return"string"==typeof i&&""!==i.trim()&&n.setAttribute("class",i.trim()),sF(n,r),sG(n,o),n},sH=function(t,e,o={}){let n=document.createElementNS(sB,"svg");for(let i of(n.setAttribute("viewBox",t),n.setAttribute("aria-hidden","true"),n.setAttribute("focusable","false"),sF(n,o),e)){let t=document.createElementNS(sB,"path");t.setAttribute("fill","currentColor"),t.setAttribute("d",i),n.append(t)}return n},sW=function(...t){return t.filter(Boolean).join(" ")},sX=function(t,e,o){let n=getComputedStyle(t).getPropertyValue(e).trim();if(!n)return o;let i=Number.parseFloat(n);return Number.isNaN(i)?o:n.endsWith("ms")?i:1e3*i},sK=function(t,e,o,n){return sN({override:n,policy:t.policyRule,presentation:o,surface:e})},sQ=function(t){let{actions:e,noStyle:o}=t,n=sJ("div",{class:o?"":sW(sP.actions.actionRoot,t.footerClassName),"data-direction":e.direction,"data-fill":e.shouldFillActions?"true":void 0,"data-split":e.actionGroups.length>1&&!e.shouldFillActions?"true":void 0,"data-testid":t.testId});for(let i of e.actionGroups){let r=sJ("div",{class:o?"":sP.actions.actionGroup,"data-direction":e.direction,"data-fill":e.shouldFillActions?"true":void 0,"data-testid":t.subGroupTestId});for(let n of i){let i=e.primaryActions.includes(n)?"primary":"neutral";r.append(sJ("button",{class:o?"":sP.button.button,"data-action":n,"data-mode":o?void 0:"stroke","data-size":o?void 0:"small","data-testid":t.buttonTestId(n),"data-variant":o?void 0:i,onclick:()=>{t.onAction(n)},type:"button"},t.label(n)))}n.append(r)}return n},sY=function(t){var e;if(t.hide)return null;let o="inth"===(e=t.branding)||"consent"===e?"inth":"c15t",n=sP.branding,i="u"<typeof window?"":`?ref=${window.location.hostname}`,r="inth"===o?`https://inth.com${i}`:`https://c15t.com${i}`,{noStyle:a}=t,s=a?"":sW(n.branding,"footer"!==t.variant&&n.brandingTag,"dialog-tag"===t.variant&&n.brandingTagDialog,"banner-tag"===t.variant&&n.brandingTagBanner),c="inth"===o?sJ("span",{class:a?"":sW(n.brandingWordmark,n.brandingInth),dir:"ltr"},"inth"):sJ("span",{class:a?"":sW(n.brandingWordmark,n.brandingC15T),dir:"ltr"},sJ("span",{class:a?"":n.brandingC15TMark},sH("0 0 446 445",["M223.178.313c39.064 0 70.732 31.668 70.732 70.732-.001 39.064-31.668 70.731-70.732 70.731-12.181 0-23.642-3.079-33.649-8.502l-55.689 55.689a70.267 70.267 0 0 1 5.574 13.441h167.531c8.695-29.217 35.762-50.523 67.804-50.523 39.064 0 70.731 31.668 70.731 70.732s-31.668 70.732-70.731 70.732c-32.042 0-59.108-21.306-67.803-50.523H139.413a70.417 70.417 0 0 1-7.888 17.396l54.046 54.046c10.893-6.851 23.786-10.815 37.605-10.815 39.064 0 70.732 31.669 70.732 70.733 0 39.064-31.668 70.731-70.732 70.731s-70.732-31.667-70.732-70.731c0-10.518 2.296-20.499 6.414-29.471l-57.78-57.78c-8.972 4.117-18.952 6.414-29.47 6.414-39.063 0-70.731-31.668-70.732-70.732 0-39.064 31.669-70.732 70.733-70.732 12.18 0 23.642 3.079 33.649 8.502l55.688-55.688c-5.423-10.007-8.502-21.469-8.502-33.65 0-39.064 31.668-70.733 70.732-70.733Zm0 343.555c-16.742 0-30.314 13.572-30.314 30.314 0 16.741 13.572 30.313 30.314 30.313s30.314-13.572 30.314-30.313c0-16.742-13.572-30.314-30.314-30.314ZM71.611 192.299c-16.742 0-30.315 13.572-30.315 30.314s13.573 30.314 30.315 30.314c16.741 0 30.313-13.572 30.313-30.314 0-16.741-13.572-30.314-30.313-30.314Zm303.138 0c-16.729 0-30.294 13.551-30.315 30.275l.001.039-.001.038c.021 16.725 13.586 30.276 30.315 30.276 16.741 0 30.313-13.572 30.313-30.314 0-16.741-13.572-30.314-30.313-30.314ZM223.178 40.73c-16.742 0-30.314 13.573-30.314 30.315s13.573 30.313 30.314 30.313c16.742 0 30.313-13.572 30.314-30.313 0-16.742-13.572-30.314-30.314-30.315Z"])),sJ("span",{class:a?"":n.brandingWordmarkLabel},"c15t"));return sJ("a",{class:s,"data-branding":o,"data-testid":t.testId,"data-variant":t.variant,href:r,rel:"noreferrer",target:"_blank"},sJ("span",{class:a?"":n.brandingContent,"data-slot":"tag-content"},sJ("span",{class:a?"":n.brandingCopy},sJ("span",{class:a?"":n.brandingText},t.securedBy)),c))},sZ=function(t){let e=aI.en,o=t.translations?.translations,n=t.translations?.language;return{dir:sO(n),language:n,t:o?l(e,o):e}},s1=function(t){let{keys:e,legalLinks:o,noStyle:n}=t;if(!(e&&o))return[];let i=[];for(let r of e){let e=o[r];if(!e?.href)continue;let a=e.target??"_blank";i.push(sJ("a",{class:n?"":sP.legalLinks.legalLink,"data-testid":`${t.testIdPrefix}-${r}`,href:e.href,rel:e.rel??("_blank"===a?"noreferrer":void 0),target:a},e.label??t.labels[r]??r))}return i},s5=function(t,e){let o,n=sP.banner,{noStyle:i}=t,r=!1,a=!1,s=null,c=null,l=[],d=null,u=function(o){let s=sZ(o),{t:c}=s,l="notice"===o.policyRule.prompt,d={accept:e.acceptButtonText??c.common.acceptAll,customize:e.customizeButtonText??c.common.customize,dismiss:c.common.acknowledge,reject:e.rejectButtonText??c.common.rejectAll,save:c.common.save},u=e.title??(l?c.cookieBanner.noticeTitle:c.cookieBanner.title),p=e.description??(l?c.cookieBanner.noticeDescription:c.cookieBanner.description),g=sK(o,"prompt",t.client.options.presentation,{scrollLock:e.scrollLock,trapFocus:e.trapFocus});({trapFocus:r,scrollLock:a}=g);let{position:h}=g;"rtl"===s.dir&&"default"===g.positionSource&&(h.endsWith("-left")?h=h.replace("-left","-right"):h.endsWith("-right")&&(h=h.replace("-right","-left")));let f=sJ("div",{"aria-label":u,"aria-modal":r?"true":void 0,class:i?"":n.card,"data-testid":"consent-banner-card",role:r?"dialog":"region",tabindex:r?"-1":void 0},sJ("div",{class:i?"":n.header,"data-testid":"consent-banner-header"},sJ("h2",{class:i?"":n.title,"data-testid":"consent-banner-title"},u),sJ("div",{class:i?"":n.description,"data-context":"banner","data-testid":"consent-banner-description"},p,...s1({keys:e.legalLinks,labels:c.legalLinks,legalLinks:t.legalLinks,noStyle:i,testIdPrefix:"consent-banner-legal-link"}))),sQ({actions:g,buttonTestId:t=>`consent-banner-${t}-button`,footerClassName:n.footer,label:t=>d[t],noStyle:i,onAction:e=>{"accept"===e?t.client.acceptAll():"reject"===e?t.client.rejectAll():"dismiss"===e?t.client.dismissNotice():t.client.openDialog()},subGroupTestId:"consent-banner-footer-sub-group",testId:"consent-banner-footer"}));for(let e of g.preferenceControls)f.append(sJ("button",{class:i?"":sP.button.button,"data-action":"customize","data-mode":i?void 0:"stroke","data-size":i?void 0:"small","data-testid":`consent-banner-right-${e}-button`,"data-variant":i?void 0:"neutral",onclick:()=>t.client.openDialog(),type:"button"},"opt-out"===e?c.rights.optOut:c.rights.preferences));return sJ("div",{class:i?"":n.root,"data-blocking":String(g.blocking),"data-position":h,"data-testid":"consent-banner-root","data-variant":g.variant,dir:s.dir,lang:s.language},sJ("div",{class:i?"":n.cardShell},sY({branding:o.branding,hide:e.hideBranding??!1,noStyle:i,securedBy:c.common.securedBy,testId:"consent-banner-branding",variant:"banner-tag"}),f))},p=function(){for(let t of(void 0!==o&&(clearTimeout(o),o=void 0),l))t();l=[],s?.remove(),c?.remove(),s=null,c=null,d=null},g=function(e){p(),s=u(e),d={branding:e.branding,policyRule:e.policyRule,translations:e.translations},a&&(c=sJ("div",{"aria-hidden":"true",class:i?"":n.overlay,"data-testid":"consent-banner-overlay",role:"presentation"}),t.root.append(c)),t.root.append(s);let o=s.querySelector('[role="dialog"]');if(r&&o&&l.push(sE(o)),a&&l.push(sR()),!i){if(t.disableAnimation){s.classList.add(n.bannerVisible),c?.classList.add(n.overlayVisible);return}s.classList.add(n.bannerHidden),c?.classList.add(n.overlayHidden),s.offsetHeight,s.classList.replace(n.bannerHidden,n.bannerVisible),c?.classList.replace(n.overlayHidden,n.overlayVisible)}},h=function(){if(!s||void 0!==o)return;for(let t of l)t();if(l=[],i||t.disableAnimation)return void p();let e=sX(s,"--consent-banner-animation-duration",200);s.classList.replace(n.bannerVisible,n.bannerHidden),c?.classList.replace(n.overlayVisible,n.overlayHidden),o=setTimeout(p,e)};return{destroy(){p()},sync(t){"banner"!==t.activeUI||"iab"===t.policyRule.model||"none"===t.policyRule.prompt?h():s&&void 0===o&&d&&d.translations===t.translations&&d.policyRule===t.policyRule&&d.branding===t.branding||g(t)}}},s0="M5 12h14M12 5v14",{accordion:s2,switch:s3}=sP,s7=function(t,e){let o=iP.find(t=>t.name===e);return{description:t.consentTypes[e]?.description??o?.description??"",disabled:o?.disabled??!1,name:e,title:t.consentTypes[e]?.title??e.replace(/_/gu," ").replace(/\b\w/gu,t=>t.toUpperCase())}},s6=function(){let t=sH("0 0 24 24",[s0],{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"});for(let e of t.querySelectorAll("path"))e.setAttribute("fill","none");return t},s4=function(t,e){t.switchButton.setAttribute("aria-checked",String(e)),t.switchButton.setAttribute("data-state",e?"checked":"unchecked")},s8=function(t,e){let o=e?"open":"closed";t.item.setAttribute("data-state",o),t.trigger.setAttribute("data-state",o),t.trigger.setAttribute("aria-expanded",String(e)),t.content.setAttribute("data-state",o),t.content.setAttribute("aria-hidden",String(!e)),e?t.content.removeAttribute("inert"):t.content.setAttribute("inert",""),t.arrow.querySelector("path")?.setAttribute("d",e?"M5 12h14":s0)},s9=function(t,e={}){let{noStyle:o}=t,n=e.hideBranding??!0,i={},{fingerprint:r}=t.client.getSnapshot().evaluationPolicy.choice,a=null,s=[],c=null,l=sJ("div",{class:o?"":sP.manager.manager,"data-testid":"consent-widget-root"}),d=function(e,o){return"necessary"===o||(i[o]??e.explicitChoice?.categories[o]?.value??t.client.options.presentation?.preferences?.defaults?.[o]??("opt-out"===e.policyRule.model||e.policyRule.preselectedCategories.includes(o)))},u=function(t){for(let e of(a=a===t?null:t,s))s8(e,a===e.name)},p=function(e){let o=!d(t.client.getSnapshot(),e);i={...i,[e]:o};let n=s.find(t=>t.name===e);n&&s4(n,o)},g=function(t,e){var n;let{name:i}=e,r={content:`c15t-pref-${i}-content`,trigger:`c15t-pref-${i}-trigger`},s=s6(),c=sJ("button",{"aria-controls":r.content,class:o?"":s2.trigger,"data-slot":"preference-item-trigger","data-testid":`consent-widget-accordion-trigger-${i}`,id:r.trigger,onclick:()=>{u(i)},type:"button"},sJ("span",{class:o?"":s2.arrow,"data-slot":"preference-item-leading","data-testid":`consent-widget-accordion-arrow-${i}`},s),sJ("span",{"data-slot":"preference-item-header"},sJ("span",{class:o?"":s2.title,"data-slot":"preference-item-title"},e.title))),l=(n=()=>{e.disabled||p(i)},sJ("button",{"aria-label":e.title,class:o?"":sW(s3.root,s3.rootSmall),"data-disabled":e.disabled?"":void 0,"data-slot":"switch","data-testid":`consent-widget-switch-${e.name}`,disabled:e.disabled,onclick:n,role:"switch",type:"button"},sJ("span",{class:o?"":sW(s3.track,s3.trackSmall),"data-slot":"switch-track"},sJ("span",{class:o?"":sW(s3.thumb,s3.thumbSmall),"data-slot":"switch-thumb"})))),g=sJ("div",{"aria-labelledby":r.trigger,class:o?"":s2.content,"data-slot":"preference-item-content","data-testid":`consent-widget-accordion-content-${e.name}`,id:r.content},sJ("div",{class:o?"":s2.contentViewport,"data-slot":"preference-item-content-viewport"},sJ("div",{class:o?"":s2.contentInner,"data-slot":"preference-item-content-inner"},e.description))),h=sJ("div",{class:o?"":s2.item,"data-disabled":e.disabled?"":void 0,"data-slot":"preference-item","data-testid":`consent-widget-accordion-item-${i}`},sJ("div",{class:o?"":s2.triggerRow},c,sJ("div",{class:o?"":s2.control,"data-slot":"preference-item-control"},l)),g),f={arrow:s,content:g,item:h,name:i,switchButton:l,trigger:c};return s8(f,a===i),s4(f,d(t,i)),f},h=function(e,n){let i={accept:n.common.acceptAll,customize:n.common.customize,dismiss:n.common.acknowledge,reject:n.common.rejectAll,save:n.common.save},r={accept:"consent-widget-footer-accept-all-button",customize:"consent-widget-footer-customize-button",dismiss:"consent-widget-footer-dismiss-button",reject:"consent-widget-reject-button",save:"consent-widget-footer-save-button"};return sQ({actions:sK(e,"preferences",t.client.options.presentation),buttonTestId:t=>r[t],footerClassName:sP.manager.footer,label:t=>i[t],noStyle:o,onAction:e=>{let o=t.client.getSnapshot(),n={};for(let e of t.client.consentCategories)"necessary"!==e&&(n[e]=d(o,e));"accept"===e?t.client.acceptAll():"reject"===e?t.client.rejectAll():t.client.save(n)},subGroupTestId:"consent-widget-footer-sub-group",testId:"consent-widget-footer"})},f=function(e){let{t:i,dir:r}=sZ(e),a=t.client.consentCategories;l.replaceChildren(),l.setAttribute("dir",r),s=a.map(t=>g(e,s7(i,t)));let d=sJ("div",{class:o?"":s2.list,"data-testid":"consent-widget-accordion"});for(let t of s)d.append(t.item);l.append(d,h(e,i));let u=sY({branding:e.branding,hide:n,noStyle:o,securedBy:i.common.securedBy,testId:"consent-widget-branding",variant:"dialog-tag"});u&&l.append(u),c={categories:a.join(","),policyRule:e.policyRule,translations:e.translations}};return{element:l,resetDraft(){i={}},sync(e){r!==e.evaluationPolicy.choice.fingerprint&&(i={},{fingerprint:r}=e.evaluationPolicy.choice);let o=t.client.consentCategories.join(",");if(!c||c.categories!==o||c.translations!==e.translations||c.policyRule!==e.policyRule)return void f(e);for(let t of s)s4(t,d(e,t.name))}}},ct=function(t,e){let o,n=sP.dialog,{noStyle:i}=t,r=null,a=null,s=null,c=[],l=null,d=null,u=function(e){"Escape"===e.key&&(e.preventDefault(),t.client.closeDialog())},p=function(o){let c=sZ(o),{t:p}=c;(l=s9(t,{hideBranding:!0})).sync(o),s=sJ("div",{"aria-describedby":"consent-dialog-description","aria-labelledby":"consent-dialog-title","aria-modal":sN({policy:o.policyRule,presentation:t.client.options.presentation,surface:"preferences"}).blocking?"true":void 0,class:i?"":n.container,"data-state":"open","data-testid":"consent-dialog-root",dir:c.dir,lang:c.language,onkeydown:u,role:"dialog"},sJ("div",{class:i?"":n.card,"data-testid":"consent-dialog-card",tabindex:"-1"},sJ("div",{class:i?"":n.header,"data-testid":"consent-dialog-header"},sJ("h2",{class:i?"":n.title,"data-testid":"consent-dialog-title",id:"consent-dialog-title"},p.consentManagerDialog.title),sJ("div",{class:i?"":n.description,"data-context":"dialog","data-testid":"consent-dialog-description",id:"consent-dialog-description"},p.consentManagerDialog.description,...s1({keys:e.legalLinks,labels:p.legalLinks,legalLinks:t.legalLinks,noStyle:i,testIdPrefix:"consent-dialog-legal-link"}))),sJ("div",{class:i?"":n.content,"data-testid":"consent-dialog-content"},l.element),sY({branding:o.branding,hide:e.hideBranding??!1,noStyle:i,securedBy:p.common.securedBy,testId:"consent-dialog-branding",variant:"dialog-tag"}))),a=sJ("div",{class:i?"":n.root,"data-state":"open"},s),r=sJ("div",{"aria-hidden":"true",class:i?"":n.overlay,"data-state":"open","data-testid":"consent-dialog-overlay",role:"presentation"}),d={branding:o.branding,policyRule:o.policyRule,translations:o.translations}},g=function(){for(let t of(void 0!==o&&(clearTimeout(o),o=void 0),c))t();c=[],r?.remove(),a?.remove(),r=null,a=null,s=null,l=null,d=null},h=function(t){if(i||!(r&&a&&s))return;let e=t?"open":"closed";r.setAttribute("data-state",e),a.setAttribute("data-state",e),s.setAttribute("data-state",e),r.classList.toggle(n.overlayVisible,t),r.classList.toggle(n.overlayHidden,!t),a.classList.toggle(n.dialogVisible,t),a.classList.toggle(n.dialogHidden,!t),s.classList.toggle(n.contentVisible,t),s.classList.toggle(n.contentHidden,!t)},f=function(e){if(g(),p(e),!(r&&a&&s))return;t.root.append(r,a);let{blocking:o}=sN({policy:e.policyRule,presentation:t.client.options.presentation,surface:"preferences"});if(o?c.push(sR(),sE(s)):r.hidden=!0,!i){if(t.disableAnimation)return void h(!0);h(!1),a.offsetHeight,h(!0)}},m=function(){if(!a||void 0!==o)return;for(let t of c)t();if(c=[],l?.resetDraft(),i||t.disableAnimation)return void g();let e=sX(a,"--consent-dialog-animation-duration",200);h(!1),o=setTimeout(g,e)};return{destroy(){g()},sync(t){"dialog"!==t.activeUI||"iab"===t.policyRule.model?m():a&&void 0===o&&d&&d.translations===t.translations&&d.branding===t.branding&&d.policyRule===t.policyRule?l?.sync(t):f(t)}}},ce="c15t-trigger-position",co=function(t,e,o,n={}){let{threshold:i=30,velocityX:r=0,velocityY:a=0}=n,s=Math.abs(e),c=Math.abs(o),l=Math.abs(r),d=Math.abs(a),u=s>=i||l>=.15&&s>=10,p=c>=i||d>=.15&&c>=10;if(!u&&!p)return t;let g=t.includes("bottom"),h=t.includes("right"),f=g,m=h;return(u&&(m=e>0),p&&(f=o>0),f&&m)?"bottom-right":f&&!m?"bottom-left":!f&&m?"top-right":"top-left"},cn=function(t,e=ce){try{"u">typeof localStorage&&localStorage.setItem(e,t)}catch{}},ci=function(t=ce){try{if("u">typeof localStorage){let e=localStorage.getItem(t);if("bottom-right"===e||"top-right"===e||"bottom-left"===e||"top-left"===e)return e}}catch{}return null},cr=["M53.179 70.787c6.17 0 11.172-5.002 11.172-11.172 0-4.009-2.111-7.524-5.283-9.495a23.87 23.87 0 0 1 8.817-1.677c13.217 0 23.93 10.714 23.93 23.93s-10.713 23.93-23.93 23.93c-13.216 0-23.93-10.714-23.93-23.93 0-1.924.227-3.795.656-5.588a11.148 11.148 0 0 0 8.568 4.002Z"],ca={"bottom-left":"bottomLeft","bottom-right":"bottomRight","top-left":"topLeft","top-right":"topRight"},cs=function(t,e){let o,n=sP.trigger,{noStyle:i}=t,r=e.size??"md",a=e.showWhen??"always",s=e.persistPosition??!0,c=(s?ci():null)??e.position??"bottom-right",l=!1,d=!1,u=!1,p=0,g=0,h=0,f=sJ("button",{"aria-label":e.ariaLabel??"Open privacy settings","data-c15t-trigger":"true","data-size":r,"data-testid":"consent-dialog-trigger",hidden:!0,type:"button"},sJ("span",{"aria-hidden":"true",class:i?"":n.icon},sH("0 0 140 97",cr))),m=function(t=!1){f.setAttribute("data-position",c),i||f.setAttribute("class",sW(n.trigger,n[r],n[ca[c]],l&&n.dragging,t&&n.snapping,!u&&n.hidden))},b=function(t){c=t,s&&cn(t),m(!0),void 0!==o&&clearTimeout(o),o=setTimeout(()=>{o=void 0,m(!1)},300)};f.addEventListener("pointerdown",t=>{0===t.button&&(f.setPointerCapture(t.pointerId),l=!0,d=!1,p=t.clientX,g=t.clientY,h=Date.now(),m())}),f.addEventListener("pointermove",t=>{if(!l)return;let e=t.clientX-p,o=t.clientY-g;(Math.abs(e)>5||Math.abs(o)>5)&&(d=!0),f.style.transform=`translate(${e}px, ${o}px)`,f.style.transition="none"});let v=function(t,e){if(f.hasPointerCapture(t.pointerId)&&f.releasePointerCapture(t.pointerId),!l)return;if(l=!1,f.style.transform="",f.style.transition="",e||!d)return void m();let o=t.clientX-p,n=t.clientY-g,i=Math.max(Date.now()-h,1),r=co(c,o,n,{velocityX:o/i,velocityY:n/i});r===c?m():b(r)};return f.addEventListener("pointerup",t=>{v(t,!1)}),f.addEventListener("pointercancel",t=>{v(t,!0)}),f.addEventListener("click",()=>{if(d){d=!1;return}t.client.openDialog()}),f.addEventListener("keydown",e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t.client.openDialog())}),m(),t.root.append(f),{destroy(){void 0!==o&&clearTimeout(o),f.remove()},sync(t){f.hidden=!(u=("always"===a||null!==t.explicitChoice)&&"none"===t.activeUI),m(void 0!==o)}}},cc=function(t){if("string"==typeof t){let e=document.querySelector(t);if(!e)throw Error(`@c15t/browser: UI container ${JSON.stringify(t)} not found.`);return e}return t??document.body},cl=function(t,e=""){let o=[];return!1===t.styles||t.noStyle||(o.push('/* default theme tokens (generated from defaultTheme) */\n:root, :host, .c15t-theme-root {\n--c15t-border: hsl(0, 0%, 90%);\n--c15t-border-hover: hsl(0, 0%, 85%);\n--c15t-duration-fast: 80ms;\n--c15t-duration-normal: 150ms;\n--c15t-duration-slow: 200ms;\n--c15t-easing: cubic-bezier(0.4, 0, 0.2, 1);\n--c15t-easing-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);\n--c15t-easing-out: cubic-bezier(0.215, 0.61, 0.355, 1);\n--c15t-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n--c15t-font-family: system-ui, -apple-system, sans-serif;\n--c15t-font-size-base: 1rem;\n--c15t-font-size-lg: 1.125rem;\n--c15t-font-size-sm: 0.875rem;\n--c15t-font-weight-medium: 500;\n--c15t-font-weight-normal: 400;\n--c15t-font-weight-semibold: 600;\n--c15t-line-height-normal: 1.5;\n--c15t-line-height-relaxed: 1.75;\n--c15t-line-height-tight: 1.25;\n--c15t-overlay: hsla(0, 0%, 0%, 0.5);\n--c15t-primary: hsl(228, 100%, 60%);\n--c15t-primary-hover: hsl(228, 100%, 55%);\n--c15t-radius-full: 9999px;\n--c15t-radius-lg: 0.75rem;\n--c15t-radius-md: 0.5rem;\n--c15t-radius-sm: 0.25rem;\n--c15t-shadow-lg: 0 8px 24px hsla(0, 0%, 0%, 0.12);\n--c15t-shadow-md: 0 4px 12px hsla(0, 0%, 0%, 0.08);\n--c15t-shadow-sm: 0 1px 2px hsla(0, 0%, 0%, 0.05);\n--c15t-space-lg: 1.5rem;\n--c15t-space-md: 1rem;\n--c15t-space-sm: 0.5rem;\n--c15t-space-xl: 2rem;\n--c15t-space-xs: 0.25rem;\n--c15t-surface: hsl(0, 0%, 100%);\n--c15t-surface-hover: hsl(0, 0%, 98%);\n--c15t-switch-thumb: hsl(0, 0%, 100%);\n--c15t-switch-track: hsl(0, 0%, 85%);\n--c15t-switch-track-active: hsl(228, 100%, 60%);\n--c15t-text: hsl(0, 0%, 10%);\n--c15t-text-muted: hsl(0, 0%, 40%);\n--c15t-text-on-primary: hsl(0, 0%, 100%);\n}\n\n:root.dark, :host(.dark), .dark .c15t-theme-root, :root.c15t-dark, :host(.c15t-dark), .c15t-dark .c15t-theme-root {\n--c15t-border: hsl(0, 0%, 20%);\n--c15t-border-hover: hsl(0, 0%, 25%);\n--c15t-duration-fast: 80ms;\n--c15t-duration-normal: 150ms;\n--c15t-duration-slow: 200ms;\n--c15t-easing: cubic-bezier(0.4, 0, 0.2, 1);\n--c15t-easing-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);\n--c15t-easing-out: cubic-bezier(0.215, 0.61, 0.355, 1);\n--c15t-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n--c15t-font-family: system-ui, -apple-system, sans-serif;\n--c15t-font-size-base: 1rem;\n--c15t-font-size-lg: 1.125rem;\n--c15t-font-size-sm: 0.875rem;\n--c15t-font-weight-medium: 500;\n--c15t-font-weight-normal: 400;\n--c15t-font-weight-semibold: 600;\n--c15t-line-height-normal: 1.5;\n--c15t-line-height-relaxed: 1.75;\n--c15t-line-height-tight: 1.25;\n--c15t-overlay: hsla(0, 0%, 0%, 0.7);\n--c15t-primary: hsl(228, 100%, 70%);\n--c15t-primary-hover: hsl(228, 100%, 65%);\n--c15t-radius-full: 9999px;\n--c15t-radius-lg: 0.75rem;\n--c15t-radius-md: 0.5rem;\n--c15t-radius-sm: 0.25rem;\n--c15t-shadow-lg: 0 8px 24px hsla(0, 0%, 0%, 0.12);\n--c15t-shadow-md: 0 4px 12px hsla(0, 0%, 0%, 0.08);\n--c15t-shadow-sm: 0 1px 2px hsla(0, 0%, 0%, 0.05);\n--c15t-space-lg: 1.5rem;\n--c15t-space-md: 1rem;\n--c15t-space-sm: 0.5rem;\n--c15t-space-xl: 2rem;\n--c15t-space-xs: 0.25rem;\n--c15t-surface: hsl(0, 0%, 7%);\n--c15t-surface-hover: hsl(0, 0%, 10%);\n--c15t-switch-thumb: hsl(0, 0%, 93%);\n--c15t-switch-track: hsl(0, 0%, 25%);\n--c15t-switch-track-active: hsl(228, 100%, 70%);\n--c15t-text: hsl(0, 0%, 93%);\n--c15t-text-muted: hsl(0, 0%, 60%);\n--c15t-text-on-primary: hsl(0, 0%, 100%);\n}\n\n/*\n * Utility class to disable transitions during theme switching.\n * Apply this class to the root element before switching themes,\n * then remove it after a short delay to prevent flash of\n * animated content during the color scheme change.\n *\n * Example usage:\n * document.documentElement.classList.add(\'c15t-no-transitions\');\n * // Switch theme...\n * requestAnimationFrame(() => {\n * document.documentElement.classList.remove(\'c15t-no-transitions\');\n * });\n */\n.c15t-no-transitions,\n.c15t-no-transitions *,\n.c15t-no-transitions *::before,\n.c15t-no-transitions *::after {\n transition: none !important;\n animation: none !important;\n}\n\n/* primitives/button vars */\n:root, :host{--button-primary:var(--c15t-primary);--button-primary-dark:var(--c15t-primary);--button-primary-hover:var(--c15t-primary-hover);--button-primary-hover-dark:var(--c15t-primary-hover);--button-neutral:var(--c15t-text-muted);--button-neutral-dark:var(--c15t-text-muted);--button-neutral-hover:var(--c15t-text);--button-neutral-hover-dark:var(--c15t-text);--button-neutral-soft:var(--c15t-surface-hover);--button-neutral-soft-dark:var(--c15t-surface-hover);--button-focus-ring:var(--c15t-primary);--button-focus-ring-dark:var(--c15t-primary);--button-text:var(--c15t-text);--button-text-dark:var(--c15t-text);--button-text-hover:var(--c15t-text);--button-text-hover-dark:var(--c15t-text);--button-background-color:var(--c15t-surface);--button-background-color-dark:var(--c15t-surface);--button-border:var(--c15t-border);--button-border-dark:var(--c15t-border);--button-hover-overlay:var(--c15t-surface-hover);--button-hover-overlay-dark:var(--c15t-surface-hover);--button-primary-hover-tint:color-mix(in srgb, var(--c15t-primary) 10%, transparent);--button-neutral-hover-tint:color-mix(in srgb, var(--c15t-text) 10%, transparent);--button-font:var(--c15t-font-family);--button-border-width:1px;--button-border-style:solid;--button-border-color:var(--c15t-border);--button-border-radius:var(--c15t-radius-md);--button-font-weight:var(--c15t-font-weight-medium);--button-font-size:var(--c15t-font-size-sm);--button-line-height:var(--c15t-line-height-tight);--button-transition:opacity var(--c15t-duration-fast) var(--c15t-easing), transform var(--c15t-duration-fast) var(--c15t-easing);--button-hover-transition-color:background-color var(--c15t-duration-fast) var(--c15t-easing);--button-hover-transition-full:background-color var(--c15t-duration-fast) var(--c15t-easing), box-shadow var(--c15t-duration-fast) var(--c15t-easing), color var(--c15t-duration-fast) var(--c15t-easing);--button-cursor:pointer;--button-shadow:var(--c15t-shadow-sm);--button-shadow-dark:var(--c15t-shadow-sm);--button-shadow-primary-focus:0 0 0 2px var(--button-focus-ring);--button-shadow-neutral-focus:0 0 0 2px var(--button-focus-ring);--button-shadow-primary-focus-dark:0 0 0 2px var(--button-focus-ring-dark);--button-shadow-neutral-focus-dark:0 0 0 2px var(--button-focus-ring-dark);--button-shadow-primary:var(--button-shadow), inset 0 0 0 1px var(--button-primary);--button-shadow-primary-dark:var(--button-shadow-dark), inset 0 0 0 1px var(--button-primary-dark);--button-shadow-primary-hover:none;--button-shadow-primary-hover-dark:none;--button-shadow-neutral:var(--button-shadow), inset 0 0 0 1px var(--button-neutral-soft);--button-shadow-neutral-dark:var(--button-shadow-dark), inset 0 0 0 1px var(--button-neutral-soft-dark);--button-shadow-neutral-hover:none;--button-shadow-neutral-hover-dark:none}\n\n/* primitives/collapsible vars */\n:root, :host{--collapsible-duration:var(--c15t-duration-normal);--collapsible-ease:var(--c15t-easing);--collapsible-content-color:var(--c15t-text-muted);--collapsible-gap:0}\n\n/* primitives/legal-links vars */\n:root, :host{--legal-links-gap:.75rem;--legal-links-font-size:.875rem;--legal-links-transition:text-decoration .2s ease;--legal-links-text-decoration:none;--legal-links-text-decoration-hover:underline;--legal-links-outline:2px solid currentColor;--legal-links-outline-offset:2px;--legal-links-color:#476cff;--legal-links-focus-color:#476cff;--legal-links-focus-color-dark:#2547d0}\n\n/* primitives/preference-item vars */\n:root, :host{--preference-item-gap:.75rem;--preference-item-leading-gap:.5rem;--preference-item-content-color:var(--c15t-text-muted);--preference-item-duration:var(--c15t-duration-normal);--preference-item-ease:var(--c15t-easing);--preference-item-focus-ring:var(--c15t-primary)}\n\n/* primitives/tabs vars */\n:root, :host{--tabs-list-background:var(--c15t-surface);--tabs-list-border:var(--c15t-border);--tabs-trigger-color:var(--c15t-text-muted);--tabs-trigger-active-color:var(--c15t-text);--tabs-trigger-active-background:var(--c15t-surface-hover);--tabs-focus-ring:var(--c15t-primary)}\n\n/* components/branding vars */\n:root, :host{--consent-dialog-branding-font-size:var(--c15t-font-size-base);--consent-dialog-branding-font-weight:var(--c15t-font-weight-medium);--consent-dialog-branding-line-height:var(--c15t-line-height-relaxed);--consent-dialog-branding-letter-spacing:-.01em;--consent-dialog-branding-focus-color:var(--c15t-primary);--consent-dialog-branding-focus-color-dark:var(--c15t-primary);--consent-dialog-foreground-color:var(--c15t-text);--consent-dialog-foreground-color-dark:var(--c15t-text);--consent-dialog-card-padding:var(--c15t-space-lg);--consent-dialog-card-padding-mobile:var(--c15t-space-md);--consent-dialog-branding-gap:.5rem;--consent-dialog-branding-icon-height:1.25rem;--consent-dialog-branding-icon-width:auto;--consent-dialog-branding-label-size:.6875rem}\n\n/* components/frame vars */\n@keyframes fadeIn{to{opacity:1}}\n:root, :host{--c15t-fade-in-animation:fadeIn .15s cubic-bezier(.165, .84, .44, 1) forwards}\n:root, :host{--frame-font-family:system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";--frame-line-height:1.5;--frame-placeholder-gap:1rem;--frame-placeholder-border-radius:1.25rem;--frame-placeholder-border-width:1px;--frame-placeholder-border-color:#ebebeb;--frame-placeholder-border-color-dark:#333;--frame-placeholder-background-color:#fff;--frame-placeholder-background-color-dark:#171717;--frame-placeholder-text-color:#171717;--frame-placeholder-text-color-dark:#e6e6e6;--frame-placeholder-title-color:#171717;--frame-placeholder-title-color-dark:#e6e6e6;--frame-placeholder-shadow:0 16px 32px -12px #0e121b1a;--frame-placeholder-shadow-dark:0 16px 32px -12px #0e121b1a;--frame-placeholder-opacity:1;--frame-placeholder-animation:none}\n\n/* components/manager vars */\n@keyframes enter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}\n@keyframes exit{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}\n:root, :host{--c15t-enter-animation:enter var(--c15t-duration-fast) var(--c15t-easing);--c15t-exit-animation:exit var(--c15t-duration-fast) var(--c15t-easing)}\n:root, :host{--consent-manager-background-color:var(--c15t-surface);--consent-manager-background-color-dark:var(--c15t-surface);--consent-manager-border-color:var(--c15t-border);--consent-manager-border-color-dark:var(--c15t-border);--consent-manager-text-color:var(--c15t-text);--consent-manager-text-color-dark:var(--c15t-text);--consent-manager-text-muted-color:var(--c15t-text-muted);--consent-manager-text-muted-color-dark:var(--c15t-text-muted);--consent-manager-footer-background-color:transparent;--consent-manager-footer-background-color-dark:transparent;--consent-manager-link-text-color:var(--c15t-text);--consent-manager-link-text-color-dark:var(--c15t-text);--consent-manager-branding-link-color:var(--c15t-primary);--consent-manager-padding:0;--consent-manager-radius:0;--consent-manager-gap:var(--c15t-space-xs);--consent-manager-border-width:0;--consent-manager-max-width:32rem;--consent-manager-z-index:50;--consent-manager-footer-padding:var(--c15t-space-lg) 0 0 0;--consent-manager-title-size:var(--c15t-font-size-sm);--consent-manager-title-line-height:var(--c15t-line-height-tight);--consent-manager-title-tracking:-.006em;--consent-manager-title-weight:var(--c15t-font-weight-semibold);--consent-manager-entry-animation:var(--c15t-enter-animation);--consent-manager-exit-animation:var(--c15t-exit-animation);--consent-manager-font-family:system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";--consent-manager-line-height:1.15}\n\n/* components/panel vars */\n:root, :host{--consent-dialog-font-family:var(--c15t-font-family);--consent-dialog-line-height:var(--c15t-line-height-tight);--consent-dialog-title-font-size:var(--c15t-font-size-sm);--consent-dialog-title-font-weight:var(--c15t-font-weight-semibold);--consent-dialog-title-letter-spacing:-.025em;--consent-dialog-description-font-size:var(--c15t-font-size-base);--consent-dialog-description-font-weight:var(--c15t-font-weight-normal);--consent-dialog-description-line-height:var(--c15t-line-height-normal);--consent-dialog-footer-gap:var(--c15t-space-sm);--consent-dialog-footer-font-size:14px;--consent-dialog-stroke-color:var(--c15t-border);--consent-dialog-stroke-color-dark:var(--c15t-border);--consent-dialog-link-text-color:var(--c15t-text);--consent-dialog-link-text-color-dark:var(--c15t-text);--consent-dialog-border-color:var(--c15t-border);--consent-dialog-border-color-dark:var(--c15t-border);--consent-dialog-background-color:var(--c15t-surface);--consent-dialog-background-color-dark:var(--c15t-surface);--consent-dialog-foreground-color:var(--c15t-text);--consent-dialog-foreground-color-dark:var(--c15t-text);--consent-dialog-muted-color:var(--c15t-text-muted);--consent-dialog-muted-color-dark:var(--c15t-text-muted);--consent-dialog-overlay-background-color:var(--c15t-overlay);--consent-dialog-overlay-background-color-dark:var(--c15t-overlay);--consent-dialog-card-padding:var(--c15t-space-lg);--consent-dialog-card-padding-mobile:var(--c15t-space-md);--consent-dialog-card-gap:var(--c15t-space-xs);--consent-dialog-header-gap:var(--c15t-space-xs);--consent-dialog-content-gap:var(--c15t-space-md);--consent-dialog-footer-padding-y:var(--c15t-space-md);--consent-dialog-card-radius:var(--c15t-radius-lg);--consent-dialog-max-width:28rem;--consent-dialog-height:100%;--consent-dialog-z-index:999999;--consent-dialog-overlay-z-index:999998;--consent-dialog-card-shadow:0 1px 2px 0 #0000000d;--consent-dialog-border-width:1px;--consent-dialog-border-width-hairline:1px;--consent-dialog-border-style:solid;--consent-dialog-animation-duration:var(--c15t-duration-normal);--consent-dialog-animation-timing:ease-out}\n@media only screen and (resolution>=192dpi){:root, :host{--consent-dialog-border-width-hairline:.5px}}\n\n/* components/prompt vars */\n:root, :host{--consent-banner-font-family:var(--c15t-font-family);--consent-banner-line-height:var(--c15t-line-height-normal);--consent-banner-text-size-adjust:100%;--consent-banner-tab-size:4;--consent-banner-border-radius-sm:var(--c15t-radius-sm);--consent-banner-border-radius:var(--c15t-radius-lg);--consent-banner-max-width:440px;--consent-banner-widget-max-width:20rem;--consent-banner-wall-max-width:30rem;--consent-banner-branding-tag-offset:2rem;--consent-banner-animation-duration:var(--c15t-duration-fast);--consent-banner-animation-timing:var(--c15t-easing);--consent-banner-entry-animation:var(--c15t-enter-animation);--consent-banner-exit-animation:var(--c15t-exit-animation);--consent-banner-border-width:1px;--consent-banner-border-width-hairline:1px;--consent-banner-shadow:var(--c15t-shadow-lg);--consent-banner-shadow-dark:var(--c15t-shadow-lg);--consent-banner-background-color:var(--c15t-surface);--consent-banner-background-color-dark:var(--c15t-surface);--consent-banner-footer-background-color:var(--c15t-surface-hover);--consent-banner-footer-background-color-dark:var(--c15t-surface-hover);--consent-banner-text-color:var(--c15t-text);--consent-banner-text-color-dark:var(--c15t-text);--consent-banner-border-color:var(--c15t-border);--consent-banner-border-color-dark:var(--c15t-border);--consent-banner-title-color:var(--c15t-text);--consent-banner-title-color-dark:var(--c15t-text);--consent-banner-description-color:var(--c15t-text-muted);--consent-banner-description-color-dark:var(--c15t-text-muted);--consent-banner-overlay-background-color:var(--c15t-overlay);--consent-banner-overlay-background-color-dark:var(--c15t-overlay)}\n@media only screen and (resolution>=192dpi){:root, :host{--consent-banner-border-width-hairline:.5px}}\n\n@layer components {\n /* primitives/accordion */\n.c15t-ui-root-RhSvQ{&>:not([hidden])~:not([hidden]){--space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--space-y-reverse)));margin-bottom:calc(1rem * var(--space-y-reverse))}}.c15t-ui-item-v83OH{padding:var(--accordion-padding,var(--c15t-space-md));background-color:var(--accordion-background-color,var(--c15t-surface));box-shadow:inset 0 0 0 1px var(--accordion-border-color,var(--c15t-border));transition:background-color var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing)), box-shadow var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing));border-radius:var(--accordion-radius,var(--c15t-radius-md));position:relative;overflow:visible}.c15t-dark .c15t-ui-item-v83OH{background-color:var(--accordion-background-color-dark,var(--c15t-surface));box-shadow:inset 0 0 0 1px var(--accordion-border-color-dark,var(--c15t-border))}.c15t-ui-item-v83OH:is(:hover,[data-state=open]){background-color:var(--accordion-background-hover,var(--c15t-surface-hover));box-shadow:inset 0 0 0 1px var(--accordion-border-color,var(--c15t-border))}.c15t-dark .c15t-ui-item-v83OH:is(:hover,[data-state=open]){background-color:var(--accordion-background-hover-dark,var(--c15t-surface-hover));box-shadow:inset 0 0 0 1px var(--accordion-border-color-dark,var(--c15t-border))}.c15t-ui-item-v83OH:focus-within:not(:has(.c15t-ui-triggerInner-lwGP6:focus-visible)){background-color:var(--accordion-background-hover,var(--c15t-surface-hover));box-shadow:inset 0 0 0 1px var(--accordion-border-color,var(--c15t-border))}.c15t-dark .c15t-ui-item-v83OH:focus-within:not(:has(.c15t-ui-triggerInner-lwGP6:focus-visible)){background-color:var(--accordion-background-hover-dark,var(--c15t-surface-hover));box-shadow:inset 0 0 0 1px var(--accordion-border-color-dark,var(--c15t-border))}.c15t-ui-item-v83OH:has(.c15t-ui-triggerInner-lwGP6:focus-visible){box-shadow:var(--accordion-focus-shadow,0 0 0 2px var(--accordion-focus-ring,var(--c15t-primary)))}.c15t-dark .c15t-ui-item-v83OH:has(.c15t-ui-triggerInner-lwGP6:focus-visible){box-shadow:var(--accordion-focus-shadow-dark,0 0 0 2px var(--accordion-focus-ring-dark,var(--c15t-primary)))}.c15t-ui-trigger-uhpMT{justify-content:space-between;align-items:center;width:100%;display:flex;position:relative;overflow:visible}.c15t-ui-triggerInner-lwGP6{letter-spacing:-.006em;text-align:left;width:100%;color:var(--accordion-text-color,var(--c15t-text));cursor:pointer;border-radius:var(--accordion-radius,var(--c15t-radius-md));z-index:1;touch-action:manipulation;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:.625rem;margin:0;padding:0;font-size:.875rem;font-weight:500;line-height:1.25rem;display:flex;position:relative}.c15t-ui-triggerInner-lwGP6 [data-slot=accordion-arrow]{margin-inline-start:auto}.c15t-dark .c15t-ui-triggerInner-lwGP6{color:var(--accordion-text-color-dark,var(--c15t-text))}.c15t-ui-triggerInner-lwGP6:focus-visible{outline:none}.c15t-ui-icon-X1brh{width:var(--accordion-icon-size,1.25rem);height:var(--accordion-icon-size,1.25rem);color:var(--accordion-icon-color,var(--c15t-text-muted));flex-shrink:0}.c15t-dark .c15t-ui-icon-X1brh{color:var(--accordion-icon-color-dark,var(--c15t-text-muted))}.c15t-ui-arrowOpen-yE84x,.c15t-ui-arrowClose-QjqQt{width:var(--accordion-icon-size,1.25rem);height:var(--accordion-icon-size,1.25rem);transition:color var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing));flex-shrink:0;display:block}.c15t-ui-arrowOpen-yE84x{color:var(--accordion-arrow-color,var(--c15t-text-muted))}.c15t-dark .c15t-ui-arrowOpen-yE84x{color:var(--accordion-arrow-color-dark,var(--c15t-text-muted))}.c15t-ui-item-v83OH:hover .c15t-ui-arrowOpen-yE84x{color:var(--accordion-icon-color,var(--c15t-text-muted))}.c15t-dark .c15t-ui-item-v83OH:hover .c15t-ui-arrowOpen-yE84x{color:var(--accordion-icon-color-dark,var(--c15t-text-muted))}.c15t-ui-arrowClose-QjqQt{color:var(--accordion-icon-color,var(--c15t-text-muted));display:none}.c15t-dark .c15t-ui-arrowClose-QjqQt{color:var(--accordion-icon-color-dark,var(--c15t-text-muted))}.c15t-ui-item-v83OH[data-state=open] .c15t-ui-arrowOpen-yE84x{display:none}.c15t-ui-item-v83OH[data-state=open] .c15t-ui-arrowClose-QjqQt{display:block}.c15t-ui-content-YJGot{transition:grid-template-rows var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing));grid-template-rows:0fr;display:grid;overflow:hidden}.c15t-ui-content-YJGot[data-state=open]{grid-template-rows:1fr}.c15t-ui-content-YJGot[data-state=closed]{pointer-events:none}.c15t-ui-content-YJGot>[data-slot=accordion-content-viewport]{min-height:0;overflow:hidden}.c15t-ui-contentInner-lPIUe{letter-spacing:-.006em;color:var(--accordion-content-color,var(--c15t-text-muted));opacity:1;transition:opacity calc(var(--accordion-duration,var(--c15t-duration-normal)) * .35) ease-out, transform calc(var(--accordion-duration,var(--c15t-duration-normal)) * .35) ease-out;will-change:opacity, transform;padding-top:.75rem;font-size:.875rem;line-height:1.25rem;transform:translateY(0)}.c15t-ui-content-YJGot[data-state=closed] .c15t-ui-contentInner-lPIUe{opacity:0;transform:translateY(-.125rem)}.c15t-dark .c15t-ui-contentInner-lPIUe{color:var(--accordion-content-color-dark,var(--c15t-text-muted))}@media (prefers-reduced-motion:reduce){.c15t-ui-item-v83OH,.c15t-ui-content-YJGot,.c15t-ui-arrowOpen-yE84x,.c15t-ui-arrowClose-QjqQt{transition:none}}@media (hover:none){.c15t-ui-item-v83OH:hover{background-color:var(--accordion-background-color,var(--c15t-surface))}.c15t-ui-item-v83OH:hover .c15t-ui-arrowOpen-yE84x{color:var(--accordion-arrow-color,var(--c15t-text-muted))}}\n\n /* primitives/button */\n.c15t-ui-button-Lo5cc{text-wrap:nowrap;border-radius:var(--button-border-radius);font-weight:var(--button-font-weight);transition:var(--button-transition);cursor:var(--button-cursor);border:var(--button-border-width) var(--button-border-style) var(--button-border-color);font-size:var(--button-font-size);line-height:var(--button-line-height);color:var(--button-text);font-family:var(--button-font);touch-action:manipulation;justify-content:center;align-items:center;gap:.5rem;display:inline-flex}.c15t-ui-button-Lo5cc:focus-visible{box-shadow:var(--button-shadow-primary-focus);outline:none}.c15t-dark .c15t-ui-button-Lo5cc:focus-visible{box-shadow:var(--button-shadow-primary-focus-dark)}.c15t-dark .c15t-ui-button-Lo5cc{color:var(--button-text-dark)}.c15t-ui-button-Lo5cc:disabled{opacity:.5;cursor:not-allowed}.c15t-ui-button-Lo5cc:active:not(:disabled){transform:scale(.97)}.c15t-ui-button-medium-zdZk5{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.625rem 1rem}.c15t-ui-button-small-nclev{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.5rem .75rem}.c15t-ui-button-xsmall-xj0Fq{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.375rem .625rem}.c15t-ui-button-xxsmall-qDcpO{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.25rem .5rem}.c15t-ui-button-primary-filled-u895k{background-color:var(--button-primary);color:var(--button-background-color)}.c15t-ui-button-primary-filled-u895k:focus-visible{box-shadow:var(--button-shadow-primary-focus)}.c15t-dark .c15t-ui-button-primary-filled-u895k{background-color:var(--button-primary-dark);color:var(--button-background-color-dark)}.c15t-ui-button-primary-filled-u895k:hover:not(:disabled){background-color:var(--button-primary-hover);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-primary-filled-u895k:hover:not(:disabled){background-color:var(--button-primary-hover-dark);transition:var(--button-hover-transition-color)}.c15t-ui-button-primary-stroke-rMkBn{background-color:var(--button-background-color);color:var(--button-primary);box-shadow:var(--button-shadow-primary)}.c15t-dark .c15t-ui-button-primary-stroke-rMkBn{background-color:var(--button-background-color-dark);color:var(--button-primary-dark);box-shadow:var(--button-shadow-primary-dark)}.c15t-ui-button-primary-stroke-rMkBn:hover:not(:disabled){background-color:var(--button-primary-hover-tint);box-shadow:var(--button-shadow-primary-hover);transition:var(--button-hover-transition-full)}.c15t-dark .c15t-ui-button-primary-stroke-rMkBn:hover:not(:disabled){background-color:var(--button-primary-hover-tint);box-shadow:var(--button-shadow-primary-hover-dark);transition:var(--button-hover-transition-full)}.c15t-ui-button-primary-lighter-pa1_G{background-color:color-mix(in srgb, var(--button-primary) 10%, transparent);color:color-mix(in srgb, var(--button-primary) 85%, black)}.c15t-dark .c15t-ui-button-primary-lighter-pa1_G{background-color:color-mix(in srgb, var(--button-primary-dark) 10%, transparent);color:var(--button-primary-dark)}.c15t-ui-button-primary-lighter-pa1_G:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-primary) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-primary-lighter-pa1_G:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-primary-dark) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-ui-button-primary-ghost-gUXbr{color:var(--button-primary)}.c15t-dark .c15t-ui-button-primary-ghost-gUXbr{color:var(--button-primary-dark)}.c15t-ui-button-primary-ghost-gUXbr:hover:not(:disabled),.c15t-dark .c15t-ui-button-primary-ghost-gUXbr:hover:not(:disabled){background-color:var(--button-primary-hover-tint);transition:var(--button-hover-transition-color)}.c15t-ui-button-neutral-filled-iBUdt{background-color:var(--button-neutral);color:var(--button-background-color)}.c15t-ui-button-neutral-filled-iBUdt:focus-visible{box-shadow:var(--button-shadow-neutral-focus)}.c15t-dark .c15t-ui-button-neutral-filled-iBUdt{background-color:var(--button-neutral-dark);color:var(--button-background-color-dark)}.c15t-ui-button-neutral-filled-iBUdt:hover:not(:disabled){background-color:var(--button-neutral-hover);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-neutral-filled-iBUdt:hover:not(:disabled){background-color:var(--button-neutral-hover-dark);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-ui-button-neutral-stroke-FNAAx{background-color:var(--button-background-color);box-shadow:var(--button-shadow-neutral)}.c15t-dark .c15t-ui-button-neutral-stroke-FNAAx{background-color:var(--button-background-color-dark);box-shadow:var(--button-shadow-neutral-dark)}.c15t-ui-button-neutral-stroke-FNAAx:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;color:var(--button-text-hover);transition:var(--button-hover-transition-full)}.c15t-dark .c15t-ui-button-neutral-stroke-FNAAx:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;color:var(--button-text-hover-dark);transition:var(--button-hover-transition-full)}.c15t-ui-button-neutral-lighter-CHsDA{background-color:color-mix(in srgb, var(--button-neutral) 10%, transparent);color:var(--button-neutral)}.c15t-dark .c15t-ui-button-neutral-lighter-CHsDA{background-color:color-mix(in srgb, var(--button-neutral-dark) 10%, transparent);color:var(--button-neutral-dark)}.c15t-ui-button-neutral-lighter-CHsDA:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-neutral-lighter-CHsDA:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral-dark) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-ui-button-neutral-ghost-a6Cdw{color:var(--button-neutral)}.c15t-dark .c15t-ui-button-neutral-ghost-a6Cdw{color:var(--button-neutral-dark)}.c15t-ui-button-neutral-ghost-a6Cdw:hover:not(:disabled),.c15t-dark .c15t-ui-button-neutral-ghost-a6Cdw:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-ui-button-icon-JD5sB{justify-content:center;align-items:center;display:inline-flex}@media (prefers-reduced-motion:reduce){.c15t-ui-button-Lo5cc,.c15t-ui-button-primary-filled-u895k:hover:not(:disabled),.c15t-ui-button-primary-stroke-rMkBn:hover:not(:disabled),.c15t-ui-button-primary-lighter-pa1_G:hover:not(:disabled),.c15t-ui-button-primary-ghost-gUXbr:hover:not(:disabled),.c15t-ui-button-neutral-filled-iBUdt:hover:not(:disabled),.c15t-ui-button-neutral-stroke-FNAAx:hover:not(:disabled),.c15t-ui-button-neutral-lighter-CHsDA:hover:not(:disabled),.c15t-ui-button-neutral-ghost-a6Cdw:hover:not(:disabled){transition:none}}@media (hover:none){.c15t-ui-button-primary-filled-u895k:hover:not(:disabled){background-color:var(--button-primary)}.c15t-ui-button-primary-stroke-rMkBn:hover:not(:disabled){background-color:var(--button-background-color);box-shadow:var(--button-shadow-primary)}.c15t-ui-button-primary-lighter-pa1_G:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-primary) 10%, transparent)}.c15t-ui-button-primary-ghost-gUXbr:hover:not(:disabled){background-color:#0000}.c15t-ui-button-neutral-filled-iBUdt:hover:not(:disabled){background-color:var(--button-neutral)}.c15t-ui-button-neutral-stroke-FNAAx:hover:not(:disabled){background-color:var(--button-background-color);box-shadow:var(--button-shadow-neutral)}.c15t-ui-button-neutral-lighter-CHsDA:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral) 10%, transparent)}.c15t-ui-button-neutral-ghost-a6Cdw:hover:not(:disabled){background-color:#0000}}\n\n /* primitives/collapsible */\n.c15t-ui-root-l7ccU{row-gap:var(--collapsible-gap);transition:row-gap var(--collapsible-duration) var(--collapsible-ease);width:100%;display:grid}.c15t-ui-root-l7ccU[data-state=closed]{row-gap:0}.c15t-ui-trigger-YLS2g{color:var(--c15t-text);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:.5rem;padding:0;display:inline-flex}.c15t-ui-trigger-YLS2g:focus-visible{outline:2px solid var(--c15t-primary);outline-offset:2px}.c15t-ui-content-Yjdia{transition:grid-template-rows var(--collapsible-duration) var(--collapsible-ease);grid-template-rows:0fr;display:grid;overflow:hidden}.c15t-ui-content-Yjdia[data-state=open]{grid-template-rows:1fr}.c15t-ui-content-Yjdia[data-state=closed]{pointer-events:none}.c15t-ui-contentViewport-L7bt7{min-height:0;overflow:hidden}.c15t-ui-contentInner-zoLX2{color:var(--collapsible-content-color);opacity:1;transition:opacity calc(var(--collapsible-duration) * .35) ease-out, transform calc(var(--collapsible-duration) * .35) ease-out;will-change:opacity, transform;transform:translateY(0)}.c15t-ui-content-Yjdia[data-state=closed] .c15t-ui-contentInner-zoLX2{opacity:0;transform:translateY(-.125rem)}@media (prefers-reduced-motion:reduce){.c15t-ui-root-l7ccU,.c15t-ui-content-Yjdia,.c15t-ui-contentInner-zoLX2{transition:none}}\n\n /* primitives/legal-links */\n.c15t-ui-legalLinks-xVTMr{gap:var(--legal-links-gap);flex-wrap:wrap;align-items:center;display:flex}.c15t-ui-legalLink-YVZqO{color:var(--legal-links-color);-webkit-text-decoration:var(--legal-links-text-decoration);-webkit-text-decoration:var(--legal-links-text-decoration);text-decoration:var(--legal-links-text-decoration);font-size:var(--legal-links-font-size);transition:var(--legal-links-transition)}.c15t-dark .c15t-ui-legalLink-YVZqO{color:var(--legal-links-focus-color-dark)}.c15t-ui-legalLink-YVZqO:hover{-webkit-text-decoration:var(--legal-links-text-decoration-hover);-webkit-text-decoration:var(--legal-links-text-decoration-hover);text-decoration:var(--legal-links-text-decoration-hover)}.c15t-ui-legalLink-YVZqO:focus{outline:none;text-decoration:underline}@media (prefers-reduced-motion:reduce){.c15t-ui-legalLink-YVZqO{transition:none}}\n\n /* primitives/preference-item */\n.c15t-ui-root-uVKV9{align-items:start;column-gap:var(--preference-item-gap);grid-template-columns:minmax(0,1fr) auto;row-gap:0;width:100%;display:grid}.c15t-ui-trigger-KE13P{align-items:flex-start;gap:var(--preference-item-leading-gap);width:100%;min-width:0;font:inherit;text-align:left;color:var(--c15t-text);cursor:pointer;background:0 0;border:0;padding:0;display:flex}.c15t-ui-trigger-KE13P:focus-visible{outline:2px solid var(--preference-item-focus-ring);outline-offset:2px}.c15t-ui-leading-R7F08{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.c15t-ui-header-OUsAl{flex-direction:column;flex:1;min-width:0;display:flex}.c15t-ui-title-D6JTo{color:var(--c15t-text);font:inherit;min-width:0;margin:0}.c15t-ui-meta-G2S5Z{color:var(--c15t-text-muted);font:inherit;margin:0}.c15t-ui-auxiliary-jJSI7{flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0;display:flex}.c15t-ui-control-Dg8Bo{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.c15t-ui-content-VkWDD{transition:grid-template-rows var(--preference-item-duration) var(--preference-item-ease);grid-column:1/-1;grid-template-rows:0fr;display:grid;overflow:hidden}.c15t-ui-content-VkWDD[data-state=open]{grid-template-rows:1fr}.c15t-ui-content-VkWDD[data-state=closed]{pointer-events:none}.c15t-ui-contentViewport-BOKhf{min-height:0;overflow:hidden}.c15t-ui-contentInner-m2ifM{color:var(--preference-item-content-color)}@media (prefers-reduced-motion:reduce){.c15t-ui-content-VkWDD{transition:none}}\n\n /* primitives/switch */\n.c15t-ui-root-Pd0rf{--switch-height:1.25rem;--switch-width:2rem;--switch-padding:.125rem;--switch-duration:var(--c15t-duration-normal);--switch-ease:var(--c15t-easing);--switch-thumb-size:.75rem;--switch-thumb-size-disabled:.625rem;--switch-thumb-translate:calc(var(--switch-width) - var(--switch-thumb-size) - 2 * var(--switch-padding));--switch-background-color:var(--c15t-switch-track);--switch-background-color-dark:var(--c15t-switch-track);--switch-background-color-hover:var(--c15t-surface-hover);--switch-background-color-hover-dark:var(--c15t-surface-hover);--switch-background-color-checked:var(--c15t-switch-track-active);--switch-background-color-checked-dark:var(--c15t-switch-track-active);--switch-background-color-disabled:var(--c15t-border);--switch-background-color-disabled-dark:var(--c15t-border);--switch-thumb-background-color:var(--c15t-switch-thumb);--switch-thumb-background-color-dark:var(--c15t-switch-thumb);--switch-thumb-background-color-disabled:var(--c15t-surface-hover);--switch-thumb-background-color-disabled-dark:var(--c15t-surface-hover);--switch-shadow-thumb:0 0 0 1px var(--c15t-border);--switch-shadow-thumb-dark:0 0 0 1px var(--c15t-border);--switch-focus-ring:var(--c15t-primary);--switch-focus-ring-dark:var(--c15t-primary);--switch-focus-shadow:0 0 0 2px var(--switch-focus-ring);--switch-focus-shadow-dark:0 0 0 2px var(--switch-focus-ring-dark);height:var(--switch-height);width:var(--switch-width);box-sizing:border-box;white-space:nowrap;touch-action:manipulation;background:0 0;border:0;border-radius:9999px;outline:none;flex-shrink:0;margin:0;padding:0;font-family:inherit;font-size:100%;line-height:1.15;display:block}.c15t-ui-track-kWz9_{box-sizing:border-box;width:100%;height:100%;padding:var(--switch-padding);background-color:var(--switch-background-color);transition:background-color var(--switch-duration) var(--switch-ease);border-radius:9999px;outline:none;align-items:center;display:flex;position:relative;overflow:hidden}.c15t-dark .c15t-ui-track-kWz9_{background-color:var(--switch-background-color-dark)}.c15t-ui-track-kWz9_:hover{background-color:var(--switch-background-color-hover)}.c15t-dark .c15t-ui-track-kWz9_:hover{background-color:var(--switch-background-color-hover-dark)}.c15t-ui-track-kWz9_:focus-visible{background-color:var(--switch-background-color-hover)}.c15t-dark .c15t-ui-track-kWz9_:focus-visible{background-color:var(--switch-background-color-hover-dark)}.c15t-ui-track-kWz9_:active{background-color:var(--switch-background-color)}.c15t-dark .c15t-ui-track-kWz9_:active{background-color:var(--switch-background-color-dark)}.c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-track-kWz9_{background-color:var(--switch-background-color-checked)}.c15t-dark .c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-track-kWz9_{background-color:var(--switch-background-color-checked-dark)}.c15t-ui-root-Pd0rf[data-state=checked]:hover .c15t-ui-track-kWz9_{background-color:var(--switch-background-color-checked)}.c15t-dark .c15t-ui-root-Pd0rf[data-state=checked]:hover .c15t-ui-track-kWz9_{background-color:var(--switch-background-color-checked-dark)}.c15t-ui-root-Pd0rf[data-disabled]{cursor:not-allowed}.c15t-ui-root-Pd0rf:focus,.c15t-dark .c15t-ui-root-Pd0rf:focus{outline:none}.c15t-ui-track-disabled-VxwND{background-color:var(--switch-background-color-disabled);opacity:.4;box-shadow:inset 0 0 0 1px #ebebeb}.c15t-dark .c15t-ui-track-disabled-VxwND{background-color:var(--switch-background-color-disabled-dark)}.c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-track-disabled-VxwND{background-color:var(--switch-background-color-checked);opacity:.4;box-shadow:none}.c15t-dark .c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-track-disabled-VxwND{background-color:var(--switch-background-color-checked-dark)}.c15t-ui-thumb-mP7_o{box-sizing:border-box;pointer-events:none;width:var(--switch-thumb-size);height:var(--switch-thumb-size);transition:transform var(--switch-duration) var(--switch-ease);display:block;position:relative;transform:translate(0)}.c15t-ui-thumb-mP7_o:before{content:"";box-sizing:border-box;background-color:var(--switch-thumb-background-color);inset-block:0;border-radius:9999px;width:100%;position:absolute;left:0;mask:radial-gradient(circle farthest-side,#0000 1.95px,#000 2.05px 100%) 50%/100% 100% no-repeat}.c15t-dark .c15t-ui-thumb-mP7_o:before{background-color:var(--switch-thumb-background-color-dark)}.c15t-ui-thumb-mP7_o:after{content:"";box-sizing:border-box;width:100%;box-shadow:var(--switch-shadow-thumb);inset-block:0;border-radius:9999px;position:absolute;left:0}.c15t-dark .c15t-ui-thumb-mP7_o:after{box-shadow:var(--switch-shadow-thumb-dark)}.c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-thumb-mP7_o{transform:translateX(var(--switch-thumb-translate))}.c15t-ui-root-Pd0rf[dir=rtl][data-state=checked] .c15t-ui-thumb-mP7_o{transform:translateX(calc(-1 * var(--switch-thumb-translate)))}.c15t-ui-track-kWz9_:active .c15t-ui-thumb-mP7_o{transform:scale(.833)}.c15t-ui-thumb-disabled-fwQIy{box-shadow:none}.c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-thumb-disabled-fwQIy{transform:translateX(var(--switch-thumb-translate))}.c15t-ui-root-small-n0CMO{--switch-height:1rem;--switch-width:1.75rem;--switch-padding:.125rem;--switch-thumb-size:.625rem;--switch-thumb-size-disabled:.5rem;--switch-thumb-translate:calc(var(--switch-width) - var(--switch-thumb-size) - 2 * var(--switch-padding))}.c15t-ui-track-small-Ie8K6{width:100%;height:100%}.c15t-ui-thumb-small-uBOCk{width:var(--switch-thumb-size);height:var(--switch-thumb-size)}.c15t-ui-root-Pd0rf:focus-visible{outline:none}.c15t-ui-root-Pd0rf:focus-visible .c15t-ui-track-kWz9_{outline:2px solid var(--switch-focus-ring);outline-offset:2px}.c15t-dark .c15t-ui-root-Pd0rf:focus-visible .c15t-ui-track-kWz9_{outline-color:var(--switch-focus-ring-dark)}@media (prefers-reduced-motion:reduce){.c15t-ui-track-kWz9_,.c15t-ui-thumb-mP7_o{transition:none}}@media (hover:none){.c15t-ui-track-kWz9_:hover{background-color:var(--switch-background-color)}.c15t-ui-root-Pd0rf[data-state=checked] .c15t-ui-track-kWz9_:hover{background-color:var(--switch-background-color-checked)}}\n\n /* primitives/tabs */\n.c15t-ui-root-S5pMJ{gap:1rem;width:100%;display:grid}.c15t-ui-list-BZaPj{background:var(--tabs-list-background);border:1px solid var(--tabs-list-border);border-radius:var(--c15t-radius-md);grid-auto-flow:column;align-items:center;gap:.25rem;width:fit-content;padding:.25rem;display:inline-grid}.c15t-ui-list-vertical-cP2o0{grid-auto-flow:row}.c15t-ui-trigger-U8k4E{border-radius:calc(var(--c15t-radius-md) - .25rem);color:var(--tabs-trigger-color);cursor:pointer;font:inherit;transition:background-color var(--c15t-duration-fast) ease, color var(--c15t-duration-fast) ease;background:0 0;border:0;padding:.625rem .875rem;font-weight:500}.c15t-ui-trigger-U8k4E[data-state=active]{background:var(--tabs-trigger-active-background);color:var(--tabs-trigger-active-color)}.c15t-ui-trigger-U8k4E:focus-visible{outline:2px solid var(--tabs-focus-ring);outline-offset:2px}.c15t-ui-content-Iyncb{color:var(--c15t-text)}\n\n /* components/accordion */\n.c15t-ui-list-T3EU0:not(.headless){gap:var(--accordion-stack-gap,.75rem);display:grid}.c15t-ui-item-Jgm_X:not(.headless){border:1px solid var(--accordion-border-color,var(--c15t-border));border-radius:var(--accordion-radius,var(--c15t-radius-md));box-shadow:none;background-color:var(--accordion-background-color,var(--c15t-surface));padding:0;display:grid;overflow:visible}.c15t-dark .c15t-ui-item-Jgm_X:not(.headless){border-color:var(--accordion-border-color-dark,var(--c15t-border));background-color:var(--accordion-background-color-dark,var(--c15t-surface))}.c15t-ui-triggerRow-xXdTH:not(.headless){align-items:center;gap:var(--accordion-gap,var(--c15t-space-xs));box-sizing:border-box;width:100%;padding:var(--accordion-padding,var(--c15t-space-sm));border-radius:var(--accordion-radius,var(--c15t-radius-md));color:var(--accordion-text-color,var(--c15t-text));transition:background-color var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing));background-color:#0000;border:0;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;margin:0;display:grid}.c15t-ui-triggerRow-xXdTH:not(.headless):hover{background-color:var(--accordion-background-hover,var(--c15t-surface-hover))}.c15t-dark .c15t-ui-triggerRow-xXdTH:not(.headless){color:var(--accordion-text-color-dark,var(--c15t-text))}.c15t-dark .c15t-ui-triggerRow-xXdTH:not(.headless):hover{background-color:var(--accordion-background-hover-dark,var(--c15t-surface-hover))}.c15t-ui-item-Jgm_X:not(.headless):has(.c15t-ui-trigger-KT5J_:focus-visible){outline:2px solid var(--accordion-focus-ring,#476cff);outline-offset:-2px}.c15t-dark .c15t-ui-item-Jgm_X:not(.headless):has(.c15t-ui-trigger-KT5J_:focus-visible){outline-color:var(--accordion-focus-ring-dark,#2547d0)}.c15t-ui-trigger-KT5J_:not(.headless):focus-visible{outline:none}.c15t-ui-item-Jgm_X:not(.headless)>.c15t-ui-content-qdPhy{grid-column:1/-1}.c15t-ui-trigger-KT5J_:not(.headless){appearance:none;align-items:center;gap:var(--accordion-gap,var(--c15t-space-xs));min-width:0;min-height:calc(var(--accordion-icon-size,1.25rem) + .25rem);font-family:inherit;font-size:var(--accordion-title-size,var(--c15t-font-size-sm));line-height:var(--c15t-line-height-tight);letter-spacing:inherit;font-weight:var(--c15t-font-weight-regular);border-radius:var(--accordion-radius,var(--c15t-radius-md));width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:auto;align-self:stretch;padding:0;display:flex;position:relative}.c15t-ui-arrow-JFKgd:not(.headless){color:var(--accordion-arrow-color,#a3a3a3);width:var(--accordion-icon-size,1.25rem);height:var(--accordion-icon-size,1.25rem);transition:transform var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing));flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.c15t-ui-arrow-JFKgd:not(.headless) svg{width:100%;height:100%;display:block}.c15t-dark .c15t-ui-arrow-JFKgd:not(.headless){color:var(--accordion-arrow-color-dark,#ccc)}.c15t-ui-header-ogZie:not(.headless){flex-direction:column;flex:1;min-width:0;display:flex}.c15t-ui-title-vmC1f:not(.headless){font:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0}.c15t-ui-control-dy7nh:not(.headless){flex-shrink:0;align-self:center;position:relative;top:-1px}.c15t-ui-restriction-bXiI7:not(.headless){padding:0 var(--accordion-row-padding-x,1rem) .75rem;color:var(--accordion-restriction-color,var(--c15t-text-muted));font-size:var(--c15t-font-size-sm);line-height:var(--c15t-line-height-normal);grid-column:1/-1;margin:0;display:block}.c15t-ui-content-qdPhy:not(.headless){color:var(--accordion-content-color,#5c5c5c);letter-spacing:inherit;transition:grid-template-rows var(--accordion-duration,var(--c15t-duration-normal)) var(--accordion-ease,var(--c15t-easing));grid-template-rows:0fr;padding:0;font-size:.875rem;line-height:1.5;display:grid;overflow:hidden}.c15t-ui-content-qdPhy:not(.headless)[data-state=open]{grid-template-rows:1fr}.c15t-ui-content-qdPhy:not(.headless)[data-state=closed]{pointer-events:none}.c15t-ui-contentViewport-O2Kny:not(.headless){min-height:0;padding-top:0;padding-inline-start:calc(var(--accordion-icon-size,1.25rem) + var(--accordion-gap,var(--c15t-space-xs)));padding-inline-end:var(--accordion-padding,var(--c15t-space-sm));overflow:hidden}.c15t-ui-contentInner-b3ykf:not(.headless){opacity:1;transition:opacity calc(var(--accordion-duration,var(--c15t-duration-normal)) * .35) ease-out;padding-top:0}.c15t-ui-content-qdPhy[data-state=open] .c15t-ui-contentViewport-O2Kny:not(.headless){padding-bottom:var(--accordion-padding,var(--c15t-space-sm))}.c15t-ui-content-qdPhy[data-state=closed] .c15t-ui-contentViewport-O2Kny:not(.headless){padding-bottom:0}.c15t-ui-content-qdPhy[data-state=closed] .c15t-ui-contentInner-b3ykf:not(.headless){opacity:0}.c15t-dark .c15t-ui-content-qdPhy:not(.headless){color:var(--accordion-content-color-dark,#999)}:is([data-disable-animation] .c15t-ui-content-qdPhy:not(.headless),.disable-animation .c15t-ui-content-qdPhy:not(.headless)),:is([data-disable-animation] .c15t-ui-contentInner-b3ykf:not(.headless),.disable-animation .c15t-ui-contentInner-b3ykf:not(.headless)),:is([data-disable-animation] .c15t-ui-arrow-JFKgd:not(.headless),.disable-animation .c15t-ui-arrow-JFKgd:not(.headless)){transition:none}@media (prefers-reduced-motion:reduce){.c15t-ui-arrow-JFKgd:not(.headless),.c15t-ui-content-qdPhy:not(.headless),.c15t-ui-contentInner-b3ykf:not(.headless){transition:none}}\n\n /* components/branding */\n.c15t-ui-branding-yf52E:not(.headless){justify-content:center;align-items:center;gap:var(--consent-dialog-branding-gap);font-size:var(--consent-dialog-branding-font-size);font-weight:var(--consent-dialog-branding-font-weight);line-height:var(--consent-dialog-branding-line-height);letter-spacing:var(--consent-dialog-branding-letter-spacing);color:var(--consent-dialog-foreground-color);border-radius:.25rem;margin:auto 0;padding:0 .5rem;text-decoration:none;display:flex}.c15t-ui-brandingCopy-ktA4u:not(.headless){white-space:nowrap;align-items:baseline;gap:.25rem;min-width:0;display:inline-flex}.c15t-ui-brandingText-ls0cn:not(.headless){font-weight:var(--c15t-font-weight-medium)}.c15t-ui-brandingBy-CWN3T:not(.headless){font-weight:var(--c15t-font-weight-normal)}.c15t-ui-brandingWordmarkLabel-FxCKX:not(.headless){white-space:nowrap;letter-spacing:-.03em}.c15t-ui-branding-yf52E:not(.headless):focus-visible{box-shadow:0 0 0 2px var(--consent-dialog-branding-focus-color);outline:none}.c15t-dark .c15t-ui-branding-yf52E:not(.headless):focus-visible{box-shadow:0 0 0 2px var(--consent-dialog-branding-focus-color-dark)}.c15t-dark .c15t-ui-branding-yf52E:not(.headless){color:var(--consent-dialog-foreground-color-dark)}.c15t-ui-brandingC15T-GVCPl:not(.headless){flex:none;align-items:center;width:auto;max-width:100%;height:auto;display:inline-flex}.c15t-ui-brandingWordmark-yqSW2:not(.headless){white-space:nowrap;flex:none;align-items:center;gap:.25rem;min-width:0;max-width:100%;display:inline-flex}.c15t-ui-brandingC15TMark-VvBd_:not(.headless){width:auto;max-width:100%;height:var(--consent-dialog-branding-icon-height);flex:none;align-items:center;display:inline-flex}.c15t-ui-brandingC15TMark-VvBd_:not(.headless)>svg{aspect-ratio:446/445;flex:none;width:auto;max-width:100%;height:100%;display:block}.c15t-ui-brandingInth-bviD3:not(.headless){max-width:100%;width:var(--consent-dialog-branding-icon-width);height:var(--consent-dialog-branding-icon-height);flex:none;align-items:center;display:inline-flex}.c15t-ui-brandingInth-bviD3:not(.headless)>svg{aspect-ratio:88/90;flex:none;width:auto;max-width:100%;height:100%;display:block}.c15t-ui-brandingTag-V3N0M:not(.headless){border:1px solid color-mix(in srgb, var(--c15t-primary), black 14%);max-width:calc(100% - 1.5rem);min-height:1.75rem;color:var(--c15t-text-on-primary,#fff);background-color:var(--c15t-primary);z-index:2;border-radius:.75rem .75rem .1875rem .1875rem;align-items:center;gap:.375rem;padding:.28125rem .625rem;text-decoration:none;display:inline-flex;position:absolute;box-shadow:inset 0 1px #ffffff29,0 1px 2px #0f172a1f}.c15t-ui-brandingContent-Z9PVI:not(.headless){align-items:center;gap:.375rem;min-width:0;display:inline-flex}.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingCopy-ktA4u{font-size:var(--consent-dialog-branding-label-size);letter-spacing:.01em;color:var(--c15t-text-on-primary,#fff);text-decoration:none}.c15t-ui-brandingTag-V3N0M .c15t-ui-brandingText-ls0cn,.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingBy-CWN3T{line-height:1}.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingWordmarkLabel-FxCKX{font-size:var(--consent-dialog-branding-label-size);line-height:1}.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingWordmark-yqSW2{color:var(--c15t-text-on-primary,#fff);gap:.3125rem;text-decoration:none}.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingC15TMark-VvBd_,.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingInth-bviD3{height:.9375rem;color:var(--c15t-text-on-primary,#fff)}:is(.c15t-ui-brandingTag-V3N0M[data-context=banner]:not(.headless),.c15t-ui-brandingTag-V3N0M[data-context=iab-banner]:not(.headless)){border-bottom-width:0;border-radius:.75rem .75rem 0 0;align-self:flex-end;margin-block-end:-1px;margin-inline-end:.75rem;position:relative;top:auto;right:auto;transform:none}:is(.c15t-ui-brandingTag-V3N0M[data-context=dialog]:not(.headless),.c15t-ui-brandingTag-V3N0M[data-context=iab-dialog]:not(.headless)){right:var(--consent-dialog-card-padding-mobile);border-top-width:0;border-radius:0 0 .75rem .75rem;bottom:0;transform:translateY(calc(100% + 1px))}.c15t-ui-brandingTag-V3N0M[data-context=manager]:not(.headless){max-width:none;min-height:auto;color:var(--consent-manager-link-text-color);box-shadow:none;z-index:auto;text-align:center;background-color:#0000;border:none;border-radius:0;flex-direction:row;flex:1;justify-content:center;align-items:center;gap:.5rem;padding:0;text-decoration:none;display:flex;position:static}.c15t-dark .c15t-ui-brandingTag-V3N0M[data-context=manager]:not(.headless){color:var(--consent-manager-link-text-color-dark)}.c15t-ui-brandingTag-V3N0M[data-context=manager]:not(.headless) svg{height:1.2rem}@media (width>=640px){:is(.c15t-ui-brandingTag-V3N0M[data-context=dialog]:not(.headless),.c15t-ui-brandingTag-V3N0M[data-context=iab-dialog]:not(.headless)){right:var(--consent-dialog-card-padding)}}.c15t-ui-brandingTagBanner-zFtcX:not(.headless){border-bottom-width:0;border-radius:.75rem .75rem 0 0;align-self:flex-end;margin-block-end:-1px;margin-inline-end:.75rem;position:relative;top:auto;right:auto;transform:none}.c15t-ui-brandingTagDialog-Iv_a_:not(.headless){right:var(--consent-dialog-card-padding-mobile);border-top-width:0;border-radius:0 0 .75rem .75rem;bottom:0;transform:translateY(calc(100% + 1px))}@media (width>=640px){.c15t-ui-brandingTagDialog-Iv_a_:not(.headless){right:var(--consent-dialog-card-padding)}}@media (width<=480px){.c15t-ui-brandingTag-V3N0M:not(.headless){gap:.375rem;max-width:calc(100% - 1rem);padding:.3125rem .625rem}.c15t-ui-brandingTag-V3N0M .c15t-ui-brandingCopy-ktA4u,.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingWordmarkLabel-FxCKX{font-size:.625rem}.c15t-ui-brandingTag-V3N0M .c15t-ui-brandingC15TMark-VvBd_,.c15t-ui-brandingTag-V3N0M:not(.headless) .c15t-ui-brandingInth-bviD3{height:.8125rem}}.c15t-ui-brandingFooter-QIudR.c15t-ui-brandingFooter-QIudR:not(.headless){border-top:0;height:0;min-height:0;padding:0;position:relative;overflow:visible}.c15t-ui-brandingFooter-QIudR.c15t-ui-brandingFooter-QIudR:not(.headless):empty{display:none}\n\n /* components/button */\n.c15t-ui-button-IiSDl:not(.headless){text-wrap:nowrap;white-space:nowrap;border-radius:var(--button-border-radius);font-weight:var(--button-font-weight);transition:var(--button-transition);cursor:var(--button-cursor);border:var(--button-border-width) var(--button-border-style) var(--button-border-color);font-size:var(--button-font-size);line-height:var(--button-line-height);color:var(--button-text);font-family:var(--button-font);touch-action:manipulation;justify-content:center;align-items:center;gap:.5rem;padding:.625rem 1rem;display:inline-flex}.c15t-dark .c15t-ui-button-IiSDl:not(.headless){color:var(--button-text-dark)}.c15t-ui-button-IiSDl:not(.headless):disabled{opacity:.5;cursor:not-allowed}.c15t-ui-button-IiSDl:not(.headless):active:not(:disabled){transform:scale(.97)}.c15t-ui-button-IiSDl:not(.headless)[data-size=small]{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.5rem .75rem}.c15t-ui-button-IiSDl:not(.headless)[data-size=xsmall]{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.375rem .625rem}.c15t-ui-button-IiSDl:not(.headless)[data-size=xxsmall]{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.25rem .5rem}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]{background-color:var(--button-primary);color:var(--button-background-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]:focus-visible{box-shadow:var(--button-shadow-primary-focus)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]{background-color:var(--button-primary-dark);color:var(--button-background-color-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]:hover:not(:disabled){background-color:var(--button-primary-hover);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]:hover:not(:disabled){background-color:var(--button-primary-hover-dark);transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=stroke]{background-color:var(--button-background-color);color:var(--button-primary);box-shadow:var(--button-shadow-primary)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=stroke]{background-color:var(--button-background-color-dark);color:var(--button-primary-dark);box-shadow:var(--button-shadow-primary-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-primary-hover-tint);box-shadow:var(--button-shadow-primary-hover);transition:var(--button-hover-transition-full)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-primary-hover-tint);box-shadow:var(--button-shadow-primary-hover-dark);transition:var(--button-hover-transition-full)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=lighter]{background-color:color-mix(in srgb, var(--button-primary) 10%, transparent);color:color-mix(in srgb, var(--button-primary) 85%, black)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=lighter]{background-color:color-mix(in srgb, var(--button-primary-dark) 10%, transparent);color:var(--button-primary-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-primary) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-primary-dark) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=ghost]{color:var(--button-primary)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=ghost]{color:var(--button-primary-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=ghost]:hover:not(:disabled),.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=ghost]:hover:not(:disabled){background-color:var(--button-primary-hover-tint);transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]{background-color:var(--button-neutral);color:var(--button-background-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]:focus-visible{box-shadow:var(--button-shadow-neutral-focus)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]{background-color:var(--button-neutral-dark);color:var(--button-background-color-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]:hover:not(:disabled){background-color:var(--button-neutral-hover);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]:hover:not(:disabled){background-color:var(--button-neutral-hover-dark);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=stroke]{background-color:var(--button-background-color);box-shadow:var(--button-shadow-neutral)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=stroke]{background-color:var(--button-background-color-dark);box-shadow:var(--button-shadow-neutral-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;color:var(--button-text-hover);transition:var(--button-hover-transition-full)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;color:var(--button-text-hover-dark);transition:var(--button-hover-transition-full)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=lighter]{background-color:color-mix(in srgb, var(--button-neutral) 10%, transparent);color:var(--button-neutral)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=lighter]{background-color:color-mix(in srgb, var(--button-neutral-dark) 10%, transparent);color:var(--button-neutral-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral-dark) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=ghost]{color:var(--button-neutral)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=ghost]{color:var(--button-neutral-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=ghost]:hover:not(:disabled),.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=ghost]:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=filled]{background-color:var(--button-neutral);color:var(--button-background-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=filled]:focus-visible{box-shadow:var(--button-shadow-neutral-focus)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=filled]{background-color:var(--button-neutral-dark);color:var(--button-background-color-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=filled]:hover:not(:disabled){background-color:var(--button-neutral-hover);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=filled]:hover:not(:disabled){background-color:var(--button-neutral-hover-dark);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=stroke]{background-color:var(--button-background-color);box-shadow:var(--button-shadow-neutral)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=stroke]{background-color:var(--button-background-color-dark);box-shadow:var(--button-shadow-neutral-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;color:var(--button-text-hover);transition:var(--button-hover-transition-full)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;color:var(--button-text-hover-dark);transition:var(--button-hover-transition-full)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=lighter]{background-color:color-mix(in srgb, var(--button-neutral) 10%, transparent);color:var(--button-neutral)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=lighter]{background-color:color-mix(in srgb, var(--button-neutral-dark) 10%, transparent);color:var(--button-neutral-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral-dark) 20%, transparent);transition:var(--button-hover-transition-color)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=ghost]{color:var(--button-neutral)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=ghost]{color:var(--button-neutral-dark)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=ghost]:hover:not(:disabled),.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode=ghost]:hover:not(:disabled){background-color:var(--button-neutral-hover-tint);box-shadow:none;transition:var(--button-hover-transition-color)}.c15t-ui-buttonIcon-QgScm:not(.headless){justify-content:center;align-items:center;display:inline-flex}@media (prefers-reduced-motion:reduce){.c15t-ui-button-IiSDl:not(.headless),.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=stroke]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=lighter]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=ghost]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=stroke]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=lighter]:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=ghost]:hover:not(:disabled){transition:none}}@media (hover:none){.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=filled]:hover:not(:disabled){background-color:var(--button-primary)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-background-color);box-shadow:var(--button-shadow-primary)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-primary) 10%, transparent)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=primary][data-mode=ghost]:hover:not(:disabled){background-color:#0000}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=filled]:hover:not(:disabled){background-color:var(--button-neutral)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=stroke]:hover:not(:disabled){background-color:var(--button-background-color);box-shadow:var(--button-shadow-neutral)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=lighter]:hover:not(:disabled){background-color:color-mix(in srgb, var(--button-neutral) 10%, transparent)}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode=ghost]:hover:not(:disabled){background-color:#0000}}.c15t-ui-button-IiSDl:not(.headless):focus-visible,.c15t-ui-button-IiSDl:not(.headless)[data-variant][data-mode]:focus-visible,.c15t-ui-button-IiSDl:not(.headless)[data-variant][data-mode]:focus-visible:hover:not(:disabled){box-shadow:var(--button-shadow-primary-focus);outline:none}.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode]:focus-visible,.c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode]:focus-visible:hover:not(:disabled),.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode]:focus-visible,.c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode]:focus-visible:hover:not(:disabled){box-shadow:var(--button-shadow-neutral-focus)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless):focus-visible,.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant][data-mode]:focus-visible,.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant][data-mode]:focus-visible:hover:not(:disabled){box-shadow:var(--button-shadow-primary-focus-dark)}.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode]:focus-visible,.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=neutral][data-mode]:focus-visible:hover:not(:disabled),.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode]:focus-visible,.c15t-dark .c15t-ui-button-IiSDl:not(.headless)[data-variant=secondary][data-mode]:focus-visible:hover:not(:disabled){box-shadow:var(--button-shadow-neutral-focus-dark)}\n\n /* components/collapsible */\n.c15t-ui-root-kvWB1{row-gap:var(--collapsible-gap);transition:row-gap var(--collapsible-duration) var(--collapsible-ease);width:100%;display:grid}.c15t-ui-root-kvWB1[data-state=closed]{row-gap:0}.c15t-ui-trigger-JJCBI{color:var(--c15t-text);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:.5rem;padding:0;display:inline-flex}.c15t-ui-trigger-JJCBI:focus-visible{outline:2px solid var(--c15t-primary);outline-offset:2px}.c15t-ui-content-NAyDi{transition:grid-template-rows var(--collapsible-duration) var(--collapsible-ease);grid-template-rows:0fr;display:grid;overflow:hidden}.c15t-ui-content-NAyDi[data-state=open]{grid-template-rows:1fr}.c15t-ui-content-NAyDi[data-state=closed]{pointer-events:none}.c15t-ui-contentViewport-uLaLK{min-height:0;overflow:hidden}.c15t-ui-contentInner-E8hPF{color:var(--collapsible-content-color);opacity:1;transition:opacity calc(var(--collapsible-duration) * .35) ease-out, transform calc(var(--collapsible-duration) * .35) ease-out;will-change:opacity, transform;transform:translateY(0)}.c15t-ui-content-NAyDi[data-state=closed] .c15t-ui-contentInner-E8hPF{opacity:0;transform:translateY(-.125rem)}@media (prefers-reduced-motion:reduce){.c15t-ui-root-kvWB1,.c15t-ui-content-NAyDi,.c15t-ui-contentInner-E8hPF{transition:none}}\n\n /* components/consent-actions */\n.c15t-ui-actionRoot-hYTak:not(.headless){box-sizing:border-box;flex-direction:column;gap:1rem;width:100%;display:flex}.c15t-ui-actionGroup-GmX6v:not(.headless){flex-direction:row;gap:1rem;width:100%;display:flex}.c15t-ui-actionGroup-GmX6v:not(.headless) button[data-action]{flex:1;width:100%;min-width:0}:is(.c15t-ui-actionRoot-hYTak:not(.headless)[data-fill],.c15t-ui-actionRoot-hYTak:not(.headless)[data-direction=column]){flex-direction:column}.c15t-ui-actionRoot-hYTak:not(.headless)[data-fill] .c15t-ui-actionGroup-GmX6v,.c15t-ui-actionRoot-hYTak:not(.headless)[data-direction=column] .c15t-ui-actionGroup-GmX6v,.c15t-ui-actionGroup-GmX6v:not(.headless)[data-direction=column]{flex-direction:column;width:100%}.c15t-ui-actionRoot-hYTak:not(.headless)[data-split]{gap:.5rem}@media (width>=640px){.c15t-ui-actionRoot-hYTak:not(.headless)[data-split]{flex-direction:row;justify-content:space-between;align-items:center}.c15t-ui-actionRoot-hYTak:not(.headless)[data-split] .c15t-ui-actionGroup-GmX6v{width:auto}.c15t-ui-actionRoot-hYTak:not(.headless)[data-split] .c15t-ui-actionGroup-GmX6v button[data-action]{flex:none;width:auto}.c15t-ui-actionRoot-hYTak:not(.headless)[data-direction=row]:not([data-fill]){flex-direction:row}.c15t-ui-actionRoot-hYTak:not(.headless)[data-direction=row]:not([data-fill]) .c15t-ui-actionGroup-GmX6v{width:auto}.c15t-ui-actionRoot-hYTak:not(.headless)[data-direction=row]:not([data-fill]) .c15t-ui-actionGroup-GmX6v button[data-action]{flex:none;width:auto}:is(.c15t-ui-actionRoot-hYTak:not(.headless)[data-fill] .c15t-ui-actionGroup-GmX6v button[data-action],.c15t-ui-actionRoot-hYTak:not(.headless)[data-direction=column] .c15t-ui-actionGroup-GmX6v button[data-action]){width:100%}}\n\n /* components/frame */\n.c15t-ui-placeholder-eDKsb{font-family:var(--frame-font-family);line-height:var(--frame-line-height);-webkit-font-smoothing:antialiased;text-align:center;border-radius:var(--frame-placeholder-border-radius);border-width:var(--frame-placeholder-border-width);border-style:solid;border-color:var(--frame-placeholder-border-color);background-color:var(--frame-placeholder-background-color);width:100%;height:100%;opacity:var(--frame-placeholder-opacity);pointer-events:auto;justify-content:center;align-items:center;gap:var(--frame-placeholder-gap);animation:var(--frame-placeholder-animation);flex-direction:column;padding:1rem;display:flex;transform:scale(1)}.c15t-dark .c15t-ui-placeholder-eDKsb{background-color:var(--frame-placeholder-background-color-dark);border-color:var(--frame-placeholder-border-color-dark);box-shadow:var(--frame-placeholder-shadow-dark)}.c15t-ui-title-Z2LtT{letter-spacing:-.011em;color:var(--frame-placeholder-title-color);margin:0;font-size:1rem;font-weight:500;line-height:1.5rem}.c15t-dark .c15t-ui-title-Z2LtT{color:var(--frame-placeholder-title-color-dark)}@media (prefers-reduced-motion:reduce){.c15t-ui-placeholder-eDKsb{opacity:1;animation:none}}\n\n /* components/legal-links */\n.c15t-ui-legalLinks-h6W20:not(.headless){gap:var(--legal-links-gap);flex-wrap:wrap;align-items:center;display:flex}.c15t-ui-legalLink-bBp6b:not(.headless){color:var(--legal-links-color);-webkit-text-decoration:var(--legal-links-text-decoration);-webkit-text-decoration:var(--legal-links-text-decoration);text-decoration:var(--legal-links-text-decoration);font-size:var(--legal-links-font-size);transition:var(--legal-links-transition)}.c15t-dark .c15t-ui-legalLink-bBp6b:not(.headless){color:var(--legal-links-focus-color-dark)}.c15t-ui-legalLink-bBp6b:not(.headless):hover{-webkit-text-decoration:var(--legal-links-text-decoration-hover);-webkit-text-decoration:var(--legal-links-text-decoration-hover);text-decoration:var(--legal-links-text-decoration-hover)}.c15t-ui-legalLink-bBp6b:not(.headless):focus{outline:none;text-decoration:underline}@media (prefers-reduced-motion:reduce){.c15t-ui-legalLink-bBp6b:not(.headless){transition:none}}\n\n /* components/manager */\n.c15t-ui-manager-VznZW:not(.headless){width:100%;font-family:var(--consent-manager-font-family);line-height:var(--consent-manager-line-height);-webkit-font-smoothing:antialiased;position:relative}.c15t-ui-manager-VznZW:not(.headless)>:not([hidden])~:not([hidden]){--space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--space-y-reverse)));margin-bottom:calc(1.5rem * var(--space-y-reverse))}.c15t-ui-footer-fl3dz:not(.headless){padding:var(--consent-manager-footer-padding);background-color:var(--consent-manager-footer-background-color);justify-content:space-between;gap:1rem;display:flex}.c15t-dark .c15t-ui-footer-fl3dz:not(.headless){background-color:var(--consent-manager-footer-background-color-dark)}@media (width<=640px){.c15t-ui-footer-fl3dz:not(.headless){flex-direction:column}}@media (width>=640px){.c15t-ui-footer-fl3dz:not(.headless){flex-direction:row}}\n\n /* components/panel */\n.c15t-ui-root-I07nx:not(.headless){pointer-events:none;box-sizing:border-box;isolation:isolate;font-family:var(--consent-dialog-font-family);color:var(--c15t-text);line-height:var(--consent-dialog-line-height);-webkit-text-size-adjust:100%;tab-size:4;padding:var(--consent-dialog-card-padding-mobile);z-index:var(--consent-dialog-z-index);border-radius:var(--consent-dialog-card-radius);width:100%;height:var(--consent-dialog-height);background:0 0;border:0;justify-content:center;align-items:center;margin:0;display:flex;position:fixed;inset:0}.c15t-ui-root-I07nx:not(.headless)[data-blocking=true]{pointer-events:auto}.c15t-ui-root-I07nx:not(.headless)[dir=rtl]{direction:rtl}.c15t-ui-root-I07nx:not(.headless):focus{outline:none}@keyframes c15t-ui-consent-dialog-fade-in-I04Yp{0%{opacity:0}to{opacity:1}}@keyframes c15t-ui-consent-dialog-fade-out-t5_x2{0%{opacity:1}to{opacity:0}}.c15t-ui-overlay-c1WEk:not(.headless)[data-state=open]{animation:c15t-ui-consent-dialog-fade-in-I04Yp var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-overlay-c1WEk:not(.headless)[data-state=closed]{animation:c15t-ui-consent-dialog-fade-out-t5_x2 var(--consent-dialog-animation-duration) ease-in}.c15t-ui-root-I07nx:not(.headless)[data-state=open]{animation:c15t-ui-consent-dialog-fade-in-I04Yp var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-root-I07nx:not(.headless)[data-state=closed]{animation:c15t-ui-consent-dialog-fade-out-t5_x2 var(--consent-dialog-animation-duration) ease-in}.c15t-ui-root-I07nx[data-state=open] .c15t-ui-container-KTZOT:not(.headless){animation:c15t-ui-enter-vWVet var(--consent-dialog-animation-duration) cubic-bezier(.34, 1.56, .64, 1)}.c15t-ui-root-I07nx[data-state=closed] .c15t-ui-container-KTZOT:not(.headless){animation:c15t-ui-exit-ioDiW var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-root-I07nx:not(.headless)[data-mode=dialog]{justify-content:center;align-items:center}:is(.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-left],.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-right]){justify-content:flex-start;align-items:stretch;padding:0}.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-right]{justify-content:flex-end}:is(.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-left] .c15t-ui-container-KTZOT:not(.headless),.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-right] .c15t-ui-container-KTZOT:not(.headless)){z-index:var(--consent-dialog-z-index);width:min(100%, var(--consent-dialog-max-width));height:100%;max-height:100%;position:relative}:is(.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-left] .c15t-ui-card-ve6qQ:not(.headless),.c15t-ui-root-I07nx:not(.headless)[data-mode=sidebar-right] .c15t-ui-card-ve6qQ:not(.headless)){border-radius:0;width:100%;height:100%;max-height:100%;margin:0}@keyframes c15t-ui-consent-dialog-slide-in-left-N9bgJ{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes c15t-ui-consent-dialog-slide-out-left-hkcUP{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes c15t-ui-consent-dialog-slide-in-right-L40wh{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes c15t-ui-consent-dialog-slide-out-right-GjtEq{0%{transform:translate(0)}to{transform:translate(100%)}}.c15t-ui-root-I07nx[data-mode=sidebar-left][data-state=open] .c15t-ui-container-KTZOT:not(.headless){animation:c15t-ui-consent-dialog-slide-in-left-N9bgJ var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-root-I07nx[data-mode=sidebar-left][data-state=closed] .c15t-ui-container-KTZOT:not(.headless){animation:c15t-ui-consent-dialog-slide-out-left-hkcUP var(--consent-dialog-animation-duration) ease-in}.c15t-ui-root-I07nx[data-mode=sidebar-right][data-state=open] .c15t-ui-container-KTZOT:not(.headless){animation:c15t-ui-consent-dialog-slide-in-right-L40wh var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-root-I07nx[data-mode=sidebar-right][data-state=closed] .c15t-ui-container-KTZOT:not(.headless){animation:c15t-ui-consent-dialog-slide-out-right-GjtEq var(--consent-dialog-animation-duration) ease-in}.c15t-ui-dialogVisible-dkX4M:not(.headless){opacity:1;transition:opacity var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-dialogHidden-uBU9W:not(.headless){opacity:0;transition:opacity var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-contentVisible-KxAWb:not(.headless){opacity:1;transition:opacity var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing), transform var(--consent-dialog-animation-duration) cubic-bezier(.34, 1.56, .64, 1);transform:scale(1)}.c15t-ui-contentHidden-LflgF:not(.headless){opacity:0;transition:opacity var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing), transform var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing);transform:scale(.95)}@media (width>=640px){.c15t-ui-root-I07nx:not(.headless){padding:var(--consent-dialog-card-padding);width:auto}}.c15t-ui-container-KTZOT:not(.headless){pointer-events:auto;flex-direction:column;width:100%;max-height:100%;display:flex}.c15t-ui-container-KTZOT:not(.headless):focus-visible{outline:none}.c15t-ui-container-KTZOT:not(.headless):focus-visible>.c15t-ui-card-ve6qQ:not(.headless){outline:2px solid var(--c15t-primary);outline-offset:2px}.c15t-ui-headerWrapper-DQg3z:not(.headless){position:relative}.c15t-ui-closeButton-uPYIe:not(.headless){position:absolute;top:22px;right:22px}.c15t-ui-footer-PeM4f:not(.headless){border-top:solid 1px var(--consent-dialog-stroke-color);justify-content:center;padding-top:1rem;padding-bottom:1rem;font-size:14px}.c15t-ui-overlay-c1WEk:not(.headless){color:var(--consent-dialog-link-text-color);background-color:var(--consent-dialog-overlay-background-color);z-index:var(--consent-dialog-overlay-z-index);position:fixed;inset:0}.c15t-ui-overlayVisible-gG3jJ:not(.headless){opacity:1;transition:opacity var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-ui-overlayHidden-eY362:not(.headless){opacity:0;transition:opacity var(--consent-dialog-animation-duration) var(--consent-dialog-animation-timing)}.c15t-dark .c15t-ui-overlay-c1WEk:not(.headless){background-color:var(--consent-dialog-overlay-background-color-dark);color:var(--consent-dialog-link-text-color-dark)}.c15t-ui-card-ve6qQ:not(.headless){box-sizing:border-box;width:min(100%, var(--consent-dialog-max-width));border-radius:var(--consent-dialog-card-radius);border:var(--consent-dialog-border-width) var(--consent-dialog-border-style) var(--consent-dialog-border-color);background-color:var(--consent-dialog-background-color);max-height:100%;color:var(--consent-dialog-foreground-color);box-shadow:var(--consent-dialog-card-shadow);flex-direction:column;margin:0 auto;display:flex;position:relative;overflow:visible}.c15t-dark .c15t-ui-card-ve6qQ:not(.headless){background-color:var(--consent-dialog-background-color-dark);color:var(--consent-dialog-foreground-color-dark);border-color:var(--consent-dialog-border-color-dark)}.c15t-ui-header-VbAnL:not(.headless){padding:var(--consent-dialog-card-padding);gap:var(--consent-dialog-header-gap);flex-direction:column;flex-shrink:0;display:flex}.c15t-ui-header-VbAnL:not(.headless)>*+*{margin-top:var(--consent-dialog-card-gap)}.c15t-ui-title-ErzRZ:not(.headless){font-weight:var(--consent-dialog-title-font-weight);font-size:var(--consent-dialog-title-font-size);letter-spacing:var(--consent-dialog-title-letter-spacing);margin:0;line-height:1}.c15t-ui-description-OQyBx:not(.headless){color:var(--consent-dialog-muted-color);font-size:var(--consent-dialog-description-font-size);font-weight:var(--consent-dialog-description-font-weight);line-height:var(--consent-dialog-description-line-height)}.c15t-dark .c15t-ui-description-OQyBx:not(.headless){color:var(--consent-dialog-muted-color-dark)}.c15t-ui-description-OQyBx[data-context=dialog]:not(.headless){color:var(--consent-dialog-muted-color);font-size:var(--consent-dialog-description-font-size);font-weight:var(--consent-dialog-description-font-weight);line-height:var(--consent-dialog-description-line-height)}.c15t-dark .c15t-ui-description-OQyBx[data-context=dialog]:not(.headless){color:var(--consent-dialog-muted-color-dark)}.c15t-ui-content-Y_5Ie:not(.headless){padding:var(--consent-dialog-card-padding);gap:var(--consent-dialog-content-gap);flex:auto;min-height:0;padding-top:0;overflow-y:auto}.c15t-ui-footer-PeM4f:not(.headless){justify-content:center;align-items:center;gap:var(--consent-dialog-footer-gap);font-size:var(--consent-dialog-footer-font-size);padding-top:var(--consent-dialog-footer-padding-y);padding-bottom:var(--consent-dialog-footer-padding-y);border-top:var(--consent-dialog-border-width) var(--consent-dialog-border-style) var(--consent-dialog-stroke-color);flex-direction:column;flex-shrink:0;display:flex}.c15t-ui-footer-PeM4f:not(.headless):empty{border-top:none;display:none}.c15t-dark .c15t-ui-footer-PeM4f:not(.headless){border-color:var(--consent-dialog-stroke-color-dark)}@media (prefers-reduced-motion:reduce){.c15t-ui-dialogVisible-dkX4M,.c15t-ui-dialogHidden-uBU9W,.c15t-ui-contentVisible-KxAWb,.c15t-ui-contentHidden-LflgF,.c15t-ui-overlayVisible-gG3jJ,.c15t-ui-overlayHidden-eY362:not(.headless),.c15t-ui-overlay-c1WEk:not(.headless)[data-state=open],.c15t-ui-overlay-c1WEk:not(.headless)[data-state=closed],.c15t-ui-root-I07nx:not(.headless)[data-state=open],.c15t-ui-root-I07nx:not(.headless)[data-state=closed],.c15t-ui-root-I07nx[data-state=open] .c15t-ui-container-KTZOT:not(.headless),.c15t-ui-root-I07nx[data-state=closed] .c15t-ui-container-KTZOT:not(.headless){transition:none;animation:none}}.c15t-ui-overlay-c1WEk[data-disable-animation]:not(.headless)[data-state=open],.c15t-ui-overlay-c1WEk[data-disable-animation]:not(.headless)[data-state=closed],.c15t-ui-root-I07nx[data-disable-animation]:not(.headless)[data-state=open],.c15t-ui-root-I07nx[data-disable-animation]:not(.headless)[data-state=closed],.c15t-ui-root-I07nx[data-disable-animation][data-state=open] .c15t-ui-container-KTZOT:not(.headless),.c15t-ui-root-I07nx[data-disable-animation][data-state=closed] .c15t-ui-container-KTZOT:not(.headless),.disable-animation .c15t-ui-overlay-c1WEk:not(.headless)[data-state=open],.disable-animation .c15t-ui-overlay-c1WEk:not(.headless)[data-state=closed],.disable-animation .c15t-ui-root-I07nx:not(.headless)[data-state=open],.disable-animation .c15t-ui-root-I07nx:not(.headless)[data-state=closed],.disable-animation .c15t-ui-root-I07nx[data-state=open] .c15t-ui-container-KTZOT:not(.headless),.disable-animation .c15t-ui-root-I07nx[data-state=closed] .c15t-ui-container-KTZOT:not(.headless),[data-disable-animation] .c15t-ui-overlay-c1WEk:not(.headless)[data-state=open],[data-disable-animation] .c15t-ui-overlay-c1WEk:not(.headless)[data-state=closed],[data-disable-animation] .c15t-ui-root-I07nx:not(.headless)[data-state=open],[data-disable-animation] .c15t-ui-root-I07nx:not(.headless)[data-state=closed],[data-disable-animation] .c15t-ui-root-I07nx[data-state=open] .c15t-ui-container-KTZOT:not(.headless),[data-disable-animation] .c15t-ui-root-I07nx[data-state=closed] .c15t-ui-container-KTZOT:not(.headless){animation:none}\n\n /* components/panel-trigger */\n.c15t-ui-trigger-Hjg5y{--cdt-size-sm:32px;--cdt-size-md:40px;--cdt-size-lg:48px;--cdt-bg:var(--c15t-surface,#fff);--cdt-bg-hover:var(--c15t-surface-hover,var(--cdt-bg));--cdt-border:var(--c15t-border,#e5e5e5);--cdt-shadow:var(--c15t-shadow-lg,0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a);--cdt-shadow-hover:var(--c15t-shadow-xl,0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a);--cdt-radius:var(--c15t-radius-full,9999px);--cdt-offset:var(--c15t-space-md,20px);--cdt-transition-duration:var(--c15t-motion-duration,.2s);--cdt-transition-easing:var(--c15t-motion-easing,ease-out);--cdt-snap-duration:var(--c15t-motion-duration-slow,.2s);--cdt-snap-easing:var(--c15t-motion-easing-smooth,cubic-bezier(.77, 0, .175, 1));--cdt-icon-color:var(--c15t-text,#171717);--cdt-focus-ring:var(--c15t-primary,#3b82f6);z-index:9999;width:var(--cdt-size-md);height:var(--cdt-size-md);border:1px solid var(--cdt-border);border-radius:var(--cdt-radius);background:var(--cdt-bg);box-shadow:var(--cdt-shadow);cursor:grab;transition:transform var(--cdt-transition-duration) var(--cdt-transition-easing), box-shadow var(--cdt-transition-duration) var(--cdt-transition-easing), background var(--cdt-transition-duration) var(--cdt-transition-easing);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;will-change:transform;justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:fixed}@media (hover:hover) and (pointer:fine){.c15t-ui-trigger-Hjg5y:hover{background:var(--cdt-bg-hover);box-shadow:var(--cdt-shadow-hover)}}.c15t-ui-trigger-Hjg5y:active,.c15t-ui-trigger-Hjg5y.c15t-ui-dragging-R4Cm2,.c15t-ui-trigger-Hjg5y[data-dragging]{cursor:grabbing;transform:scale(1.02)}.c15t-ui-trigger-Hjg5y:focus{outline:none}.c15t-ui-trigger-Hjg5y:focus-visible{outline:2px solid var(--cdt-focus-ring);outline-offset:2px}.c15t-ui-trigger-Hjg5y[data-size=sm],.c15t-ui-sm-sud0y{width:var(--cdt-size-sm);height:var(--cdt-size-sm)}.c15t-ui-trigger-Hjg5y[data-size=md],.c15t-ui-md-CZrWA{width:var(--cdt-size-md);height:var(--cdt-size-md)}.c15t-ui-trigger-Hjg5y[data-size=lg],.c15t-ui-lg-fGzix{width:var(--cdt-size-lg);height:var(--cdt-size-lg)}.c15t-ui-icon-dD5R6{width:50%;height:50%;color:var(--cdt-icon-color);pointer-events:none;flex-shrink:0;justify-content:center;align-items:center;display:flex}.c15t-ui-icon-dD5R6 svg{width:100%;height:100%}.c15t-ui-text-Garil{margin-left:var(--c15t-space-xs,6px);font-family:var(--c15t-font-family,system-ui, sans-serif);font-size:var(--c15t-font-size-sm,14px);font-weight:var(--c15t-font-weight-medium,500);color:var(--cdt-icon-color);white-space:nowrap;pointer-events:none;line-height:1}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil){width:auto;height:auto;padding:var(--c15t-space-sm,8px) var(--c15t-space-md,16px);border-radius:var(--c15t-radius-lg,12px);gap:var(--c15t-space-xs,6px)}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil) .c15t-ui-icon-dD5R6{width:16px;height:16px}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil)[data-size=sm],.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil).c15t-ui-sm-sud0y{padding:var(--c15t-space-xs,6px) var(--c15t-space-sm,10px)}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil)[data-size=sm] .c15t-ui-icon-dD5R6,.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil).c15t-ui-sm-sud0y .c15t-ui-icon-dD5R6{width:14px;height:14px}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil)[data-size=sm] .c15t-ui-text-Garil,.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil).c15t-ui-sm-sud0y .c15t-ui-text-Garil{font-size:var(--c15t-font-size-xs,12px)}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil)[data-size=lg],.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil).c15t-ui-lg-fGzix{padding:var(--c15t-space-md,12px) var(--c15t-space-lg,20px)}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil)[data-size=lg] .c15t-ui-icon-dD5R6,.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil).c15t-ui-lg-fGzix .c15t-ui-icon-dD5R6{width:20px;height:20px}.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil)[data-size=lg] .c15t-ui-text-Garil,.c15t-ui-trigger-Hjg5y:has(.c15t-ui-text-Garil).c15t-ui-lg-fGzix .c15t-ui-text-Garil{font-size:var(--c15t-font-size-md,16px)}.c15t-ui-bottomRight-RqjMF{right:var(--cdt-offset);bottom:var(--cdt-offset)}.c15t-ui-bottomLeft-J3DsX{bottom:var(--cdt-offset);left:var(--cdt-offset)}.c15t-ui-topRight-Ln04J{top:var(--cdt-offset);right:var(--cdt-offset)}.c15t-ui-topLeft-tpeaf{top:var(--cdt-offset);left:var(--cdt-offset)}.c15t-ui-snapping-YupfG{transition:top var(--cdt-snap-duration) var(--cdt-snap-easing), right var(--cdt-snap-duration) var(--cdt-snap-easing), bottom var(--cdt-snap-duration) var(--cdt-snap-easing), left var(--cdt-snap-duration) var(--cdt-snap-easing), transform var(--cdt-snap-duration) var(--cdt-snap-easing)}.c15t-ui-hidden-tV2GK{display:none}.c15t-dark .c15t-ui-trigger-Hjg5y{--cdt-bg:var(--c15t-surface,#262626);--cdt-bg-hover:var(--c15t-surface-hover,#404040);--cdt-border:var(--c15t-border,#404040);--cdt-icon-color:var(--c15t-text,#fafafa);--cdt-shadow:0 10px 15px -3px #0000004d, 0 4px 6px -4px #0000004d;--cdt-shadow-hover:0 20px 25px -5px #0006, 0 8px 10px -6px #0006}.c15t-ui-toolbar-gCKkL{--cdtt-size-sm:32px;--cdtt-size-md:40px;--cdtt-size-lg:48px;--cdtt-bg:var(--c15t-surface,#fff);--cdtt-bg-hover:var(--c15t-surface-hover,#f5f5f5);--cdtt-border:var(--c15t-border,#d4d4d4);--cdtt-primary:var(--c15t-primary,#16a779);--cdtt-primary-hover:var(--c15t-primary-hover,#128866);--cdtt-primary-text:var(--c15t-text-on-primary,#fff);--cdtt-icon-color:var(--c15t-text,#262626);--cdtt-focus-ring:var(--c15t-primary,#16a779);--cdtt-offset:var(--c15t-space-md,20px);--cdtt-transition-duration:var(--c15t-duration-fast,.16s);--cdtt-transition-easing:var(--c15t-easing-out,ease-out);--cdtt-shadow:var(--c15t-shadow-md,0 4px 10px #00000014, 0 1px 2px #0000000f);z-index:9999;width:max-content;color:var(--cdtt-icon-color);background:var(--cdtt-bg);border:1px solid var(--cdtt-border);border-radius:var(--c15t-radius-md,6px);box-shadow:var(--cdtt-shadow);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;will-change:transform;transition:transform var(--cdtt-transition-duration) var(--cdtt-transition-easing), box-shadow var(--cdtt-transition-duration) var(--cdtt-transition-easing), background var(--cdtt-transition-duration) var(--cdtt-transition-easing);align-items:stretch;margin:0;padding:0;display:inline-flex;position:fixed;overflow:hidden}.c15t-ui-toolbar-gCKkL.c15t-ui-bottomRight-RqjMF{right:max(var(--cdtt-offset), env(safe-area-inset-right,0px));bottom:max(var(--cdtt-offset), env(safe-area-inset-bottom,0px))}.c15t-ui-toolbar-gCKkL.c15t-ui-bottomLeft-J3DsX{bottom:max(var(--cdtt-offset), env(safe-area-inset-bottom,0px));left:max(var(--cdtt-offset), env(safe-area-inset-left,0px))}.c15t-ui-toolbar-gCKkL.c15t-ui-topRight-Ln04J{top:max(var(--cdtt-offset), env(safe-area-inset-top,0px));right:max(var(--cdtt-offset), env(safe-area-inset-right,0px))}.c15t-ui-toolbar-gCKkL.c15t-ui-topLeft-tpeaf{top:max(var(--cdtt-offset), env(safe-area-inset-top,0px));left:max(var(--cdtt-offset), env(safe-area-inset-left,0px))}.c15t-ui-toolbar-gCKkL.c15t-ui-dragging-R4Cm2{cursor:grabbing;box-shadow:var(--c15t-shadow-lg,0 10px 20px #00000024, 0 3px 6px #00000014)}.c15t-ui-toolbarVertical-MQ8bT{flex-direction:column}.c15t-ui-toolbarItem-OO8Dy{width:var(--cdtt-size-md);height:var(--cdtt-size-md);color:var(--cdtt-icon-color);border:0;border-inline-start:1px solid var(--cdtt-border);cursor:inherit;transition:color var(--cdtt-transition-duration) var(--cdtt-transition-easing), background var(--cdtt-transition-duration) var(--cdtt-transition-easing);background:0 0;border-radius:0;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:relative}.c15t-ui-toolbarItem-OO8Dy:first-child{border-inline-start:0}.c15t-ui-toolbarVertical-MQ8bT .c15t-ui-toolbarItem-OO8Dy{border-top:1px solid var(--cdtt-border);border-inline-start:0}.c15t-ui-toolbarVertical-MQ8bT .c15t-ui-toolbarItem-OO8Dy:first-child{border-top:0}.c15t-ui-toolbar-gCKkL .c15t-ui-toolbarItem-OO8Dy.c15t-ui-sm-sud0y{width:var(--cdtt-size-sm);height:var(--cdtt-size-sm)}.c15t-ui-toolbar-gCKkL .c15t-ui-toolbarItem-OO8Dy.c15t-ui-md-CZrWA{width:var(--cdtt-size-md);height:var(--cdtt-size-md)}.c15t-ui-toolbar-gCKkL .c15t-ui-toolbarItem-OO8Dy.c15t-ui-lg-fGzix{width:var(--cdtt-size-lg);height:var(--cdtt-size-lg)}.c15t-ui-toolbarItem-OO8Dy[data-c15t-trigger-action=preferences]{color:var(--cdtt-primary-text);background:var(--cdtt-primary)}.c15t-ui-toolbarItem-OO8Dy:focus{outline:none}.c15t-ui-toolbarItem-OO8Dy:focus-visible{z-index:1;outline:2px solid var(--cdtt-focus-ring);outline-offset:-3px}.c15t-ui-toolbarItem-OO8Dy:disabled{cursor:not-allowed;opacity:.45}.c15t-ui-toolbarIcon-FpHKR{pointer-events:none;flex-shrink:0;justify-content:center;align-items:center;width:50%;height:50%;display:flex}.c15t-ui-toolbarIcon-FpHKR>span,.c15t-ui-toolbarIcon-FpHKR svg{width:100%;height:100%;display:flex}@media (hover:hover) and (pointer:fine){.c15t-ui-toolbarItem-OO8Dy:hover:not(:disabled){background:var(--cdtt-bg-hover)}.c15t-ui-toolbarItem-OO8Dy[data-c15t-trigger-action=preferences]:hover:not(:disabled){background:var(--cdtt-primary-hover)}}.c15t-ui-toolbarItem-OO8Dy:active:not(:disabled){box-shadow:inset 0 1px 3px #00000029}:is(.c15t-dark .c15t-ui-toolbar-gCKkL,.dark .c15t-ui-toolbar-gCKkL){--cdtt-bg:var(--c15t-surface,#262626);--cdtt-bg-hover:var(--c15t-surface-hover,#343434);--cdtt-border:var(--c15t-border,#525252);--cdtt-icon-color:var(--c15t-text,#fafafa);--cdtt-shadow:0 8px 18px #00000052, 0 2px 5px #00000038}@media (prefers-reduced-motion:reduce){.c15t-ui-trigger-Hjg5y,.c15t-ui-toolbar-gCKkL,.c15t-ui-toolbarItem-OO8Dy,.c15t-ui-snapping-YupfG{transition:none}}\n\n /* components/preference-item */\n.c15t-ui-root-O9Wgf{align-items:start;column-gap:var(--preference-item-gap);grid-template-columns:minmax(0,1fr) auto;row-gap:0;width:100%;display:grid}.c15t-ui-trigger-jd_B0{align-items:flex-start;gap:var(--preference-item-leading-gap);text-align:left;width:100%;min-width:0;color:var(--c15t-text);cursor:pointer;background:0 0;border:0;padding:0;display:flex}.c15t-ui-trigger-jd_B0:focus-visible{outline:2px solid var(--preference-item-focus-ring);outline-offset:2px}.c15t-ui-leading-exw6I{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.c15t-ui-header-HJIda{flex-direction:column;flex:1;min-width:0;display:flex}.c15t-ui-title-CCKRH{color:var(--c15t-text);font:inherit;min-width:0;margin:0}.c15t-ui-meta-tK1eS{color:var(--c15t-text-muted);font:inherit;margin:0}.c15t-ui-auxiliary-b8p9d{flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0;display:flex}.c15t-ui-control-ppUQm{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.c15t-ui-content-npfsa{transition:grid-template-rows var(--preference-item-duration) var(--preference-item-ease);grid-column:1/-1;grid-template-rows:0fr;display:grid;overflow:hidden}.c15t-ui-content-npfsa[data-state=open]{grid-template-rows:1fr}.c15t-ui-content-npfsa[data-state=closed]{pointer-events:none}.c15t-ui-contentViewport-TH10a{min-height:0;overflow:hidden}.c15t-ui-contentInner-yZmkz{color:var(--preference-item-content-color)}@media (prefers-reduced-motion:reduce){.c15t-ui-content-npfsa{transition:none}}\n\n /* components/prompt */\n.c15t-ui-root-p7SV0:not(.headless){box-sizing:border-box;z-index:999998;width:100%;font-family:var(--consent-banner-font-family);line-height:var(--consent-banner-line-height);-webkit-text-size-adjust:var(--consent-banner-text-size-adjust);-webkit-font-smoothing:antialiased;tab-size:var(--consent-banner-tab-size);flex-direction:column;padding:1rem;display:flex;position:fixed}.c15t-ui-bannerEnterActive-IytGL:not(.headless){transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing), transform var(--consent-banner-animation-duration) cubic-bezier(.34, 1.56, .64, 1)}.c15t-ui-bannerLeaveActive-C7qrk:not(.headless){transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing), transform var(--consent-banner-animation-duration) var(--consent-banner-animation-timing)}:is(.c15t-ui-bannerEnterFrom-BJMc7:not(.headless),.c15t-ui-bannerLeaveTo-dXNcB:not(.headless)){opacity:0;transform:translateY(50px)}:is(.c15t-ui-bannerEnterTo-yatsy:not(.headless),.c15t-ui-bannerLeaveFrom-RVGoD:not(.headless)){opacity:1;transform:translateY(0)}.c15t-ui-bannerVisible-AFth0:not(.headless){opacity:1;transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing), transform var(--consent-banner-animation-duration) cubic-bezier(.34, 1.56, .64, 1);transform:translateY(0)}.c15t-ui-bannerHidden-R0_3M:not(.headless){opacity:0;transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing), transform var(--consent-banner-animation-duration) var(--consent-banner-animation-timing);transform:translateY(50px)}@media (width>=640px){.c15t-ui-root-p7SV0:not(.headless){width:auto;padding:1.5rem}}.c15t-ui-root-p7SV0[data-position=bottom-left]:not(.headless){bottom:0;left:0}.c15t-ui-root-p7SV0[data-position=bottom-right]:not(.headless){bottom:0;right:0}.c15t-ui-root-p7SV0[data-position=top-left]:not(.headless){top:0;left:0}.c15t-ui-root-p7SV0[data-position=top-right]:not(.headless){top:0;right:0}.c15t-ui-root-p7SV0[data-variant=floating][data-position=bottom-center]:not(.headless){inset-inline:0;width:fit-content;margin-inline:auto;bottom:0}.c15t-ui-root-p7SV0[data-variant=floating][data-position=top-center]:not(.headless){inset-inline:0;width:fit-content;margin-inline:auto;top:0}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless){width:100%;padding:0;left:0;right:0}.c15t-ui-root-p7SV0[data-variant=bar][data-position=bottom]:not(.headless){top:auto;bottom:0}.c15t-ui-root-p7SV0[data-variant=bar][data-position=top]:not(.headless){top:0;bottom:auto}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-cardShell-djyPy{width:100%;max-width:none}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-card-lgjVq{box-shadow:var(--consent-banner-shadow);border-width:0;border-radius:0}.c15t-ui-root-p7SV0[data-variant=bar][data-position=bottom]:not(.headless) .c15t-ui-card-lgjVq{border-top-width:var(--consent-banner-border-width);padding-bottom:env(safe-area-inset-bottom);border-top-style:solid}.c15t-ui-root-p7SV0[data-variant=bar][data-position=top]:not(.headless) .c15t-ui-card-lgjVq{border-bottom-width:var(--consent-banner-border-width);border-bottom-style:solid}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-cardShell-djyPy>[data-variant=banner-tag]{margin-inline-end:1.5rem}.c15t-ui-root-p7SV0[data-variant=bar][data-position=top]:not(.headless) .c15t-ui-cardShell-djyPy>[data-variant=banner-tag]{border-top-width:0;border-bottom-width:1px;border-radius:0 0 .75rem .75rem;order:1;margin-block:-1px 0}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe{flex-direction:column;align-items:stretch;gap:.75rem}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rights-wZg5K{flex-direction:column;align-items:flex-start}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe button[data-action]:not(.c15t-ui-rightLink-IXsSJ){flex:auto;width:100%;min-width:0}@media (width>=640px){.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe{flex-direction:row;justify-content:space-between;align-items:center}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rights-wZg5K{flex-flow:wrap;align-items:center;margin-inline-end:auto}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe>*{width:auto}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe button[data-action]:not(.c15t-ui-rightLink-IXsSJ){flex:none;width:auto}}@media (width>=1024px){.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-card-lgjVq{flex-direction:row;align-items:center;display:flex}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-header-S6GiJ{flex:auto;min-width:0}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe{background-color:#0000;width:auto;min-width:0}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-card-lgjVq>:not([hidden])~:not([hidden]){border-top-width:0}}:is(.c15t-ui-root-p7SV0[data-variant=floating][data-position$=-right]:not(.headless) .c15t-ui-cardShell-djyPy,.c15t-ui-root-p7SV0[data-variant=widget][data-position$=-right]:not(.headless) .c15t-ui-cardShell-djyPy){margin-left:auto;margin-right:0}:is(.c15t-ui-root-p7SV0[data-variant=floating][data-position$=-left]:not(.headless) .c15t-ui-cardShell-djyPy,.c15t-ui-root-p7SV0[data-variant=widget][data-position$=-left]:not(.headless) .c15t-ui-cardShell-djyPy){margin-left:0;margin-right:auto}.c15t-ui-root-p7SV0[data-variant=floating][data-position$=-center]:not(.headless) .c15t-ui-cardShell-djyPy{margin-left:auto;margin-right:auto}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless){padding:.75rem}@media (width>=640px){.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless){padding:1rem}}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-cardShell-djyPy{width:min(calc(100vw - 1.5rem), var(--consent-banner-widget-max-width))}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-header-S6GiJ{padding:.75rem}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-title-vm8nL{font-size:.875rem;line-height:1.25rem}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-description-s8Qhg{font-size:.8125rem;line-height:1.125rem}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-footer-JhJAe{gap:.5rem;padding:.75rem}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-footer-JhJAe button[data-action]:not(.c15t-ui-rightLink-IXsSJ){padding:.5rem .75rem}.c15t-ui-root-p7SV0[data-variant=widget]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rightLink-IXsSJ{font-size:.8125rem;line-height:1.125rem}.c15t-ui-root-p7SV0[data-variant=wall]:not(.headless){place-items:center;width:auto;padding:1rem;display:grid;inset:0}.c15t-ui-root-p7SV0[data-variant=wall]:not(.headless) .c15t-ui-cardShell-djyPy{width:min(calc(100vw - 2rem), var(--consent-banner-wall-max-width))}.c15t-ui-card-lgjVq:not(.headless){border-radius:var(--consent-banner-border-radius);border-width:var(--consent-banner-border-width);border-style:solid;border-color:var(--consent-banner-border-color);background-color:var(--consent-banner-background-color);width:100%;box-shadow:var(--consent-banner-shadow);position:relative;overflow:hidden}.c15t-ui-cardShell-djyPy:not(.headless){width:min(calc(100vw - 2rem), var(--consent-banner-max-width));flex-direction:column;display:flex}@media (width>=640px){.c15t-ui-cardShell-djyPy:not(.headless){width:min(calc(100vw - 3rem), var(--consent-banner-max-width))}}.c15t-dark .c15t-ui-card-lgjVq:not(.headless){background-color:var(--consent-banner-background-color-dark);border-color:var(--consent-banner-border-color-dark);box-shadow:var(--consent-banner-shadow-dark)}.c15t-dark .c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-card-lgjVq{box-shadow:var(--consent-banner-shadow-dark)}.c15t-ui-card-lgjVq:not(.headless)[data-state=open]{animation:var(--consent-banner-entry-animation)}.c15t-ui-card-lgjVq:not(.headless)[data-state=closed]{animation:var(--consent-banner-exit-animation)}.c15t-ui-card-lgjVq:not(.headless)>:not([hidden])~:not([hidden]){border-top-width:var(--consent-banner-border-width);border-top-style:solid;border-color:var(--consent-banner-border-color)}.c15t-dark .c15t-ui-card-lgjVq:not(.headless)>:not([hidden])~:not([hidden]){border-color:var(--consent-banner-border-color-dark)}.c15t-ui-card-lgjVq:not(.headless):focus{outline:none}.c15t-ui-header-S6GiJ:not(.headless){color:var(--consent-banner-text-color);flex-direction:column;padding:1rem;display:flex}.c15t-dark .c15t-ui-header-S6GiJ:not(.headless){color:var(--consent-banner-text-color-dark)}@media (width>=640px){.c15t-ui-header-S6GiJ:not(.headless){padding:1.5rem}}.c15t-ui-header-S6GiJ:not(.headless)>:not([hidden])~:not([hidden]){--consent-banner-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--consent-banner-space-y-reverse)));margin-bottom:calc(.5rem * var(--consent-banner-space-y-reverse))}.c15t-ui-footer-JhJAe:not(.headless){background-color:var(--consent-banner-footer-background-color);flex-direction:column;justify-content:space-between;gap:.75rem;padding:1rem 1.25rem;display:flex}.c15t-dark .c15t-ui-footer-JhJAe:not(.headless){background-color:var(--consent-banner-footer-background-color-dark)}@media (width>=640px){.c15t-ui-footer-JhJAe:not(.headless){flex-direction:row}}.c15t-ui-rights-wZg5K:not(.headless){flex-flow:wrap;align-items:center;gap:.75rem;min-width:0;display:flex}.c15t-ui-rightLink-IXsSJ:not(.headless){width:auto;font:inherit;font-family:var(--consent-banner-font-family);letter-spacing:-.006em;color:var(--consent-banner-description-color);text-underline-offset:.15em;text-align:start;cursor:pointer;border-radius:var(--consent-banner-border-radius-sm);touch-action:manipulation;background:0 0;border:0;flex:none;align-self:center;margin:0;padding:0;font-size:.875rem;font-weight:400;line-height:1.25rem;text-decoration:underline;display:inline-block}.c15t-ui-rightLink-IXsSJ:not(.headless):hover{color:var(--consent-banner-text-color)}.c15t-ui-rightLink-IXsSJ:not(.headless):focus-visible{box-shadow:var(--button-shadow-primary-focus,0 0 0 2px var(--c15t-primary));outline:none}.c15t-dark .c15t-ui-rightLink-IXsSJ:not(.headless){color:var(--consent-banner-description-color-dark)}.c15t-dark .c15t-ui-rightLink-IXsSJ:not(.headless):hover{color:var(--consent-banner-text-color-dark)}.c15t-dark .c15t-ui-rightLink-IXsSJ:not(.headless):focus-visible{box-shadow:var(--button-shadow-primary-focus-dark,0 0 0 2px var(--c15t-primary))}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe{flex-direction:column;align-items:stretch;gap:.75rem}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rights-wZg5K{flex-direction:column;align-items:flex-start;gap:.5rem}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe button[data-action]:not(.c15t-ui-rightLink-IXsSJ){flex:auto;width:100%;min-width:0}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rightLink-IXsSJ{flex:none;align-self:flex-start;width:auto}@media (width>=640px){.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe{flex-direction:row;justify-content:space-between;align-items:center;gap:.75rem}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rights-wZg5K{flex-flow:wrap;flex:auto;align-items:center;gap:.75rem;min-width:0}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe>*{width:auto}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe button[data-action]:not(.c15t-ui-rightLink-IXsSJ){flex:none;width:auto}.c15t-ui-root-p7SV0[data-prompt=notice]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rightLink-IXsSJ{align-self:center}}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-header-S6GiJ,.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe{padding:.75rem 1rem}@media (width>=640px){.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-header-S6GiJ{padding:1rem 1.5rem}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe{padding:.75rem 1.5rem}}@media (width>=1024px){.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-header-S6GiJ{padding:.75rem 1.5rem}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-header-S6GiJ>:not([hidden])~:not([hidden]){margin-top:.25rem}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-title-vm8nL{line-height:1.25rem}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe{flex:none;gap:.75rem}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rights-wZg5K{flex-flow:row;flex:none;align-items:center;gap:.75rem;margin-inline-end:0}.c15t-ui-root-p7SV0[data-variant=bar]:not(.headless) .c15t-ui-footer-JhJAe .c15t-ui-rightLink-IXsSJ{white-space:nowrap;font-size:.8125rem;line-height:1.125rem}}.c15t-ui-description-s8Qhg:not(.headless){letter-spacing:-.006em;color:var(--consent-banner-description-color);font-size:.875rem;font-weight:400;line-height:1.25rem}.c15t-dark .c15t-ui-description-s8Qhg:not(.headless){color:var(--consent-banner-description-color-dark)}.c15t-ui-description-s8Qhg[data-context=banner]:not(.headless){letter-spacing:-.006em;color:var(--consent-banner-description-color);font-size:.875rem;font-weight:400;line-height:1.25rem}.c15t-dark .c15t-ui-description-s8Qhg[data-context=banner]:not(.headless){color:var(--consent-banner-description-color-dark)}.c15t-ui-description-s8Qhg[data-context=dialog]:not(.headless){color:var(--consent-dialog-muted-color);font-size:var(--consent-dialog-description-font-size);font-weight:var(--consent-dialog-description-font-weight);line-height:var(--consent-dialog-description-line-height)}.c15t-dark .c15t-ui-description-s8Qhg[data-context=dialog]:not(.headless){color:var(--consent-dialog-muted-color-dark)}.c15t-ui-description-s8Qhg[data-context=manager]:not(.headless){color:var(--consent-manager-text-muted-color)}.c15t-dark .c15t-ui-description-s8Qhg[data-context=manager]:not(.headless){color:var(--consent-manager-text-muted-color-dark)}.c15t-ui-title-vm8nL:not(.headless){letter-spacing:-.011em;color:var(--consent-banner-title-color);margin:0;font-size:1rem;font-weight:500;line-height:1.5rem}.c15t-dark .c15t-ui-title-vm8nL:not(.headless){color:var(--consent-banner-title-color-dark)}.c15t-ui-overlay-DoHh4:not(.headless){background-color:var(--consent-banner-overlay-background-color);z-index:999997;position:fixed;inset:0}:is(.c15t-ui-overlayEnterActive-YGn_8:not(.headless),.c15t-ui-overlayLeaveActive-FvP5W:not(.headless)){transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing)}:is(.c15t-ui-overlayEnterFrom-OtDqj:not(.headless),.c15t-ui-overlayLeaveTo-V7aI7:not(.headless)){opacity:0}:is(.c15t-ui-overlayEnterTo-jcvNq:not(.headless),.c15t-ui-overlayLeaveFrom-EYTMT:not(.headless)){opacity:1}.c15t-ui-overlayVisible-ywHQp:not(.headless){opacity:1;transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing)}.c15t-ui-overlayHidden-WgrJC:not(.headless){opacity:0;transition:opacity var(--consent-banner-animation-duration) var(--consent-banner-animation-timing)}.c15t-dark .c15t-ui-overlay-DoHh4:not(.headless){background-color:var(--consent-banner-overlay-background-color-dark)}@media (prefers-reduced-motion:reduce){.c15t-ui-bannerEnterActive-IytGL,.c15t-ui-bannerLeaveActive-C7qrk,.c15t-ui-bannerEnterFrom-BJMc7,.c15t-ui-bannerEnterTo-yatsy,.c15t-ui-bannerLeaveFrom-RVGoD,.c15t-ui-bannerLeaveTo-dXNcB,.c15t-ui-overlayEnterActive-YGn_8,.c15t-ui-overlayLeaveActive-FvP5W,.c15t-ui-overlayEnterFrom-OtDqj,.c15t-ui-overlayEnterTo-jcvNq,.c15t-ui-overlayLeaveFrom-EYTMT,.c15t-ui-overlayLeaveTo-V7aI7,.c15t-ui-bannerVisible-AFth0,.c15t-ui-bannerHidden-R0_3M,.c15t-ui-overlayVisible-ywHQp,.c15t-ui-overlayHidden-WgrJC:not(.headless),.c15t-ui-card-lgjVq:not(.headless)[data-state=open],.c15t-ui-card-lgjVq:not(.headless)[data-state=closed]{transition:none;animation:none}}\n\n /* components/switch */\n.c15t-ui-root-LX1QP:not(.headless){--switch-height:1.25rem;--switch-width:2rem;--switch-padding:.125rem;--switch-duration:var(--c15t-duration-normal);--switch-ease:var(--c15t-easing);--switch-thumb-size:.75rem;--switch-thumb-size-disabled:.625rem;--switch-thumb-translate:calc(var(--switch-width) - var(--switch-thumb-size) - 2 * var(--switch-padding));--switch-background-color:var(--c15t-switch-track);--switch-background-color-dark:var(--c15t-switch-track);--switch-background-color-hover:var(--c15t-surface-hover);--switch-background-color-hover-dark:var(--c15t-surface-hover);--switch-background-color-checked:var(--c15t-switch-track-active);--switch-background-color-checked-dark:var(--c15t-switch-track-active);--switch-background-color-disabled:var(--c15t-border);--switch-background-color-disabled-dark:var(--c15t-border);--switch-thumb-background-color:var(--c15t-switch-thumb);--switch-thumb-background-color-dark:var(--c15t-switch-thumb);--switch-thumb-background-color-disabled:var(--c15t-surface-hover);--switch-thumb-background-color-disabled-dark:var(--c15t-surface-hover);--switch-shadow-thumb:0 0 0 1px var(--c15t-border);--switch-shadow-thumb-dark:0 0 0 1px var(--c15t-border);--switch-focus-ring:var(--c15t-primary);--switch-focus-ring-dark:var(--c15t-primary);--switch-focus-shadow:0 0 0 2px var(--switch-focus-ring);--switch-focus-shadow-dark:0 0 0 2px var(--switch-focus-ring-dark);height:var(--switch-height);width:var(--switch-width);box-sizing:border-box;white-space:nowrap;touch-action:manipulation;background:0 0;border:0;border-radius:9999px;outline:none;flex-shrink:0;margin:0;padding:0;font-family:inherit;font-size:100%;line-height:1.15;display:block}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT{box-sizing:border-box;width:100%;height:100%;padding:var(--switch-padding);background-color:var(--switch-background-color);transition:background-color var(--switch-duration) var(--switch-ease);border-radius:9999px;outline:none;align-items:center;display:flex;position:relative;overflow:hidden}.c15t-dark .c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT{background-color:var(--switch-background-color-dark)}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:hover{background-color:var(--switch-background-color-hover)}.c15t-dark .c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:hover{background-color:var(--switch-background-color-hover-dark)}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:focus-visible{background-color:var(--switch-background-color-hover)}.c15t-dark .c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:focus-visible{background-color:var(--switch-background-color-hover-dark)}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:active{background-color:var(--switch-background-color)}.c15t-dark .c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:active{background-color:var(--switch-background-color-dark)}.c15t-ui-root-LX1QP:not(.headless)[data-state=checked] .c15t-ui-track-TjViT{background-color:var(--switch-background-color-checked)}.c15t-dark .c15t-ui-root-LX1QP:not(.headless)[data-state=checked] .c15t-ui-track-TjViT{background-color:var(--switch-background-color-checked-dark)}.c15t-ui-root-LX1QP:not(.headless)[data-state=checked]:hover .c15t-ui-track-TjViT{background-color:var(--switch-background-color-checked)}.c15t-dark .c15t-ui-root-LX1QP:not(.headless)[data-state=checked]:hover .c15t-ui-track-TjViT{background-color:var(--switch-background-color-checked-dark)}.c15t-ui-root-LX1QP:not(.headless)[data-disabled]{cursor:not-allowed}.c15t-ui-root-LX1QP:not(.headless):focus,.c15t-dark .c15t-ui-root-LX1QP:not(.headless):focus{outline:none}.c15t-ui-root-LX1QP:not(.headless)[data-disabled] .c15t-ui-track-TjViT{background-color:var(--switch-background-color-disabled);opacity:.4;box-shadow:inset 0 0 0 1px #ebebeb}.c15t-dark .c15t-ui-root-LX1QP:not(.headless)[data-disabled] .c15t-ui-track-TjViT{background-color:var(--switch-background-color-disabled-dark)}.c15t-ui-root-LX1QP:not(.headless)[data-state=checked][data-disabled] .c15t-ui-track-TjViT{background-color:var(--switch-background-color-checked);opacity:.4;box-shadow:none}.c15t-dark .c15t-ui-root-LX1QP:not(.headless)[data-state=checked][data-disabled] .c15t-ui-track-TjViT{background-color:var(--switch-background-color-checked-dark)}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-thumb-Uunnr{box-sizing:border-box;pointer-events:none;width:var(--switch-thumb-size);height:var(--switch-thumb-size);transition:transform var(--switch-duration) var(--switch-ease);display:block;position:relative;transform:translate(0)}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-thumb-Uunnr:before{content:"";box-sizing:border-box;background-color:var(--switch-thumb-background-color);inset-block:0;border-radius:9999px;width:100%;position:absolute;left:0;mask:radial-gradient(circle farthest-side,#0000 1.95px,#000 2.05px 100%) 50%/100% 100% no-repeat}.c15t-dark .c15t-ui-root-LX1QP:not(.headless) .c15t-ui-thumb-Uunnr:before{background-color:var(--switch-thumb-background-color-dark)}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-thumb-Uunnr:after{content:"";box-sizing:border-box;width:100%;box-shadow:var(--switch-shadow-thumb);inset-block:0;border-radius:9999px;position:absolute;left:0}.c15t-dark .c15t-ui-root-LX1QP:not(.headless) .c15t-ui-thumb-Uunnr:after{box-shadow:var(--switch-shadow-thumb-dark)}.c15t-ui-root-LX1QP:not(.headless)[data-state=checked] .c15t-ui-thumb-Uunnr{transform:translateX(var(--switch-thumb-translate))}.c15t-ui-root-LX1QP:not(.headless)[dir=rtl][data-state=checked] .c15t-ui-thumb-Uunnr{transform:translateX(calc(-1 * var(--switch-thumb-translate)))}.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:active .c15t-ui-thumb-Uunnr{transform:scale(.833)}.c15t-ui-root-LX1QP:not(.headless)[data-disabled] .c15t-ui-thumb-Uunnr:after{box-shadow:none}.c15t-ui-root-LX1QP:not(.headless)[data-state=checked][data-disabled] .c15t-ui-thumb-Uunnr{transform:translateX(var(--switch-thumb-translate))}.c15t-ui-root-LX1QP:not(.headless):focus-visible{outline:none}.c15t-ui-root-LX1QP:not(.headless):focus-visible .c15t-ui-track-TjViT{outline:2px solid var(--switch-focus-ring);outline-offset:2px}.c15t-dark .c15t-ui-root-LX1QP:not(.headless):focus-visible .c15t-ui-track-TjViT{outline-color:var(--switch-focus-ring-dark)}.c15t-ui-root-LX1QP:not(.headless)[data-size=small],.c15t-ui-rootSmall-wI5cb:not(.headless){--switch-height:1rem;--switch-width:1.75rem;--switch-padding:.125rem;--switch-thumb-size:.625rem;--switch-thumb-size-disabled:.5rem;--switch-thumb-translate:calc(var(--switch-width) - var(--switch-thumb-size) - 2 * var(--switch-padding))}.c15t-ui-root-LX1QP:not(.headless)[data-size=small] .c15t-ui-track-TjViT,.c15t-ui-trackSmall-tAU5X:not(.headless){width:100%;height:100%}.c15t-ui-root-LX1QP:not(.headless)[data-size=small] .c15t-ui-thumb-Uunnr,.c15t-ui-thumbSmall-IrKfB:not(.headless){width:var(--switch-thumb-size);height:var(--switch-thumb-size)}@media (prefers-reduced-motion:reduce){:is(.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT,.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-thumb-Uunnr){transition:none}}@media (hover:none){.c15t-ui-root-LX1QP:not(.headless) .c15t-ui-track-TjViT:hover{background-color:var(--switch-background-color)}.c15t-ui-root-LX1QP:not(.headless)[data-state=checked] .c15t-ui-track-TjViT:hover{background-color:var(--switch-background-color-checked)}}\n\n /* components/tabs */\n.c15t-ui-root-MkAzH{gap:1rem;width:100%;display:grid}.c15t-ui-list-InhoD{background:var(--tabs-list-background);border:1px solid var(--tabs-list-border);border-radius:var(--c15t-radius-md);grid-auto-flow:column;align-items:center;gap:.25rem;width:fit-content;padding:.25rem;display:inline-grid}.c15t-ui-list-InhoD[data-orientation=vertical]{grid-auto-flow:row}.c15t-ui-trigger-n8yxg{border-radius:calc(var(--c15t-radius-md) - .25rem);color:var(--tabs-trigger-color);cursor:pointer;font:inherit;transition:background-color var(--c15t-duration-fast) ease, color var(--c15t-duration-fast) ease;background:0 0;border:0;padding:.625rem .875rem;font-weight:500}.c15t-ui-trigger-n8yxg[data-state=active]{background:var(--tabs-trigger-active-background);color:var(--tabs-trigger-active-color)}.c15t-ui-trigger-n8yxg:focus-visible{outline:2px solid var(--tabs-focus-ring);outline-offset:2px}.c15t-ui-content-XEh1P{color:var(--c15t-text)}\n}\n'),o.push(e)),t.theme&&o.push(sj(t.theme)),t.css&&o.push(t.css),o.join("\n")},cd=function(t,e,o){let n=function(o){t.classList.toggle("c15t-dark",o),e.classList.toggle("c15t-dark",o),e.style.colorScheme=o?"dark":"light"};if("system"!==o||"function"!=typeof window.matchMedia)return n("dark"===o),()=>{};let i=window.matchMedia("(prefers-color-scheme: dark)"),r=function(){n(i.matches)};return r(),i.addEventListener("change",r),()=>{i.removeEventListener("change",r)}};!function(t){if("u"<typeof document)return;let{manual:e}=oh(document.currentScript);e||t.client?t.client:t.init()}(function(t){if("u"<typeof window)return t;let e=window,o=e[sl];if(null!==o&&"object"==typeof o&&"pkg"in o&&"string"==typeof o.pkg&&o.pkg.startsWith("@c15t/browser")&&"init"in o&&"function"==typeof o.init&&"client"in o)return o;if(e[sl]=t,!Array.isArray(o))return t;for(let e of o){let[o,...n]=e,i=t[o];"function"==typeof i&&i(...n)}return t}((t={mountUI:function(t,e={},o){let n=cc(e.container),i=e.shadow??!0,r=sJ("div",{"data-c15t-ui":""}),a=i?r.attachShadow({mode:"open"}):r,s=cl(e,o?.stylesheet);s&&a.append(sJ("style",{},s));let c=sJ("div",{class:"c15t-host"}),l=sJ("div",{class:"c15t-theme-root"});c.append(l),a.append(c),n.append(r);let d=cd(c,r,e.colorScheme??"system"),u={client:t,disableAnimation:e.disableAnimation??("u">typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches),legalLinks:t.options.legalLinks,noStyle:e.noStyle??!1,root:l},p=[];p.push(...o?.createSurfaces(u)??[]),!1!==e.banner&&p.push(s5(u,!0===e.banner?{}:e.banner??{})),!1!==e.dialog&&p.push(ct(u,!0===e.dialog?{}:e.dialog??{})),e.trigger&&p.push(cs(u,!0===e.trigger?{}:e.trigger));let g=function(){let e=t.getSnapshot();for(let t of p)t.sync(e)},h=t.subscribe(g);return g(),{destroy(){for(let t of(h(),d(),p))t.destroy();r.remove()},host:r,root:a,update:g}},pkg:"@c15t/browser"},e=ou("u"<typeof document?null:document.currentScript),o=null,n=aR(),i=new Set,r=[],a=function(){if(!o)throw Error("@c15t/browser: call c15t.init() first, or wait for c15t.ready().");return o},s={acceptAll:()=>a().acceptAll(),get client(){return o},closeDialog:()=>{a().closeDialog()},config(t){o?console.warn("@c15t/browser: c15t.config() after init() has no effect; queue it before the tag or pass it to init()."):r.push(t)},custom:function(t){if("setConsent"in t)throw TypeError("c15t: custom() requires a KernelTransport with save(), not endpoint handlers");return Object.assign(()=>t,{kind:"custom"})},devtools:null,dismissNotice:()=>a().dismissNotice(),dispose:()=>{s.devtools?.destroy(),s.devtools=null,o?.dispose(),o=null,n=aR(),i.clear()},getSnapshot:()=>a().getSnapshot(),has:t=>a().has(t),hasConsented:()=>a().hasConsented(),hosted:oi,identify:t=>a().identify(t),init(a){if(o)return o;let s=sc((a?[...r,a]:r).reduce(og,e),t),c=n;for(let t of(o=s,i))t(s);return i.clear(),s.start(),c.resolve(s),s},manifest:a9,get mode(){return o?.mode??null},mountUI:t=>a().mountUI(t),offline:st,on(t,e){if(o)return o.on(t,e);let n=null,r=function(o){n=o.on(t,e)};return i.add(r),function(){i.delete(r),n?.()}},onInit(t){let e=!1;return async function(){let o=await n.promise;e||t(o)}(),function(){e=!0}},openDialog:()=>{a().openDialog()},pkg:t.pkg??"@c15t/browser",ready:async()=>(await n.promise).ready(),rejectAll:()=>a().rejectAll(),save:t=>a().save(t),saveIAB:()=>a().saveIAB(),setLanguage:t=>{a().setLanguage(t)},showBanner:()=>{a().showBanner()},subscribe:t=>a().subscribe(t),version:"3.0.0-alpha.0"})))})();
|