ethyca-fides 2.63.1rc0__py2.py3-none-any.whl → 2.63.2__py2.py3-none-any.whl
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.
- {ethyca_fides-2.63.1rc0.dist-info → ethyca_fides-2.63.2.dist-info}/METADATA +1 -1
- {ethyca_fides-2.63.1rc0.dist-info → ethyca_fides-2.63.2.dist-info}/RECORD +110 -101
- fides/_version.py +3 -3
- fides/api/alembic/migrations/versions/5efcdf18438e_add_manual_task_tables.py +160 -0
- fides/api/db/base.py +2 -0
- fides/api/main.py +1 -0
- fides/api/models/detection_discovery/monitor_task.py +1 -0
- fides/api/models/manual_tasks/__init__.py +8 -0
- fides/api/models/manual_tasks/manual_task.py +110 -0
- fides/api/models/manual_tasks/manual_task_log.py +100 -0
- fides/api/schemas/manual_tasks/__init__.py +0 -0
- fides/api/schemas/manual_tasks/manual_task_schemas.py +79 -0
- fides/api/schemas/manual_tasks/manual_task_status.py +151 -0
- fides/api/util/cache.py +77 -1
- fides/config/redis_settings.py +99 -8
- fides/service/manual_tasks/__init__.py +0 -0
- fides/service/manual_tasks/manual_task_service.py +150 -0
- fides/service/messaging/aws_ses_service.py +5 -1
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +1 -1
- fides/ui-build/static/admin/lib/fides.js +2 -2
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/poc/table-migration.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- {ethyca_fides-2.63.1rc0.dist-info → ethyca_fides-2.63.2.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.63.1rc0.dist-info → ethyca_fides-2.63.2.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.63.1rc0.dist-info → ethyca_fides-2.63.2.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.63.1rc0.dist-info → ethyca_fides-2.63.2.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{PEElhfUdgE5bJjiyu5QCD → IrQqz_6ngcumU4YlWY9nL}/_buildManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/{PEElhfUdgE5bJjiyu5QCD → IrQqz_6ngcumU4YlWY9nL}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(C,ue){typeof exports=="object"&&typeof module<"u"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(C=typeof globalThis<"u"?globalThis:C||self,ue(C.Fides={}))})(this,function(C){"use strict";class ue extends Error{constructor(e){super(e),this.name="DecodingError"}}class we extends Error{constructor(e){super(e),this.name="EncodingError"}}class st extends Error{constructor(e){super(e),this.name="GVLError"}}class Ce extends Error{constructor(e,i,s=""){super(`invalid value ${i} passed for ${e} ${s}`),this.name="TCModelError"}}class Ci{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(e){if(!/^[0-1]+$/.test(e))throw new we("Invalid bitField");const i=e.length%this.LCM;e+=i?"0".repeat(this.LCM-i):"";let s="";for(let n=0;n<e.length;n+=this.BASIS)s+=this.DICT[parseInt(e.substr(n,this.BASIS),2)];return s}static decode(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new ue("Invalidly encoded Base64URL string");let i="";for(let s=0;s<e.length;s++){const n=this.REVERSE_DICT.get(e[s]).toString(2);i+="0".repeat(this.BASIS-n.length)+n}return i}}class Ee{static langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH","ZH-HANT"]);has(e){return Ee.langSet.has(e)}parseLanguage(e){e=e.toUpperCase();const i=e.split("-")[0];if(e.length>=2&&i.length==2){if(Ee.langSet.has(e))return e;if(Ee.langSet.has(i))return i;const s=i+"-"+i;if(Ee.langSet.has(s))return s;for(const n of Ee.langSet)if(n.indexOf(e)!==-1||n.indexOf(i)!==-1)return n}throw new Error(`unsupported language ${e}`)}forEach(e){Ee.langSet.forEach(e)}get size(){return Ee.langSet.size}}class y{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class dt{clone(){const e=new this.constructor;return Object.keys(this).forEach(s=>{const n=this.deepClone(this[s]);n!==void 0&&(e[s]=n)}),e}deepClone(e){const i=typeof e;if(i==="number"||i==="string"||i==="boolean")return e;if(e!==null&&i==="object"){if(typeof e.clone=="function")return e.clone();if(e instanceof Date)return new Date(e.getTime());if(e[Symbol.iterator]!==void 0){const s=[];for(const n of e)s.push(this.deepClone(n));return e instanceof Array?s:new e.constructor(s)}else{const s={};for(const n in e)e.hasOwnProperty(n)&&(s[n]=this.deepClone(e[n]));return s}}}}var fe;(function(t){t[t.NOT_ALLOWED=0]="NOT_ALLOWED",t[t.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",t[t.REQUIRE_LI=2]="REQUIRE_LI"})(fe||(fe={}));class me extends dt{static hashSeparator="-";purposeId_;restrictionType;constructor(e,i){super(),e!==void 0&&(this.purposeId=e),i!==void 0&&(this.restrictionType=i)}static unHash(e){const i=e.split(this.hashSeparator),s=new me;if(i.length!==2)throw new Ce("hash",e);return s.purposeId=parseInt(i[0],10),s.restrictionType=parseInt(i[1],10),s}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${me.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===fe.NOT_ALLOWED||this.restrictionType===fe.REQUIRE_CONSENT||this.restrictionType===fe.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}class xs extends dt{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(e,i,s){let n=!0;if(this.gvl?.vendors){const o=this.gvl.vendors[s];if(o)if(e===fe.NOT_ALLOWED)n=o.legIntPurposes.includes(i)||o.purposes.includes(i);else if(o.flexiblePurposes.length)switch(e){case fe.REQUIRE_CONSENT:n=o.flexiblePurposes.includes(i)&&o.legIntPurposes.includes(i);break;case fe.REQUIRE_LI:n=o.flexiblePurposes.includes(i)&&o.purposes.includes(i);break}else n=!1;else n=!1}return n}add(e,i){if(this.isOkToHave(i.restrictionType,i.purposeId,e)){const s=i.hash;this.has(s)||(this.map.set(s,new Set),this.bitLength=0),this.map.get(s).add(e)}}restrictPurposeToLegalBasis(e){const i=Array.from(this.gvl.vendorIds),s=e.hash,n=i[i.length-1],o=[...Array(n).keys()].map(a=>a+1);if(!this.has(s))this.map.set(s,new Set(o)),this.bitLength=0;else for(let a=1;a<=n;a++)this.map.get(s).add(a)}getVendors(e){let i=[];if(e){const s=e.hash;this.has(s)&&(i=Array.from(this.map.get(s)))}else{const s=new Set;this.map.forEach(n=>{n.forEach(o=>{s.add(o)})}),i=Array.from(s)}return i.sort((s,n)=>s-n)}getRestrictionType(e,i){let s;return this.getRestrictions(e).forEach(n=>{n.purposeId===i&&(s===void 0||s>n.restrictionType)&&(s=n.restrictionType)}),s}vendorHasRestriction(e,i){let s=!1;const n=this.getRestrictions(e);for(let o=0;o<n.length&&!s;o++)s=i.isSameAs(n[o]);return s}getMaxVendorId(){let e=0;return this.map.forEach(i=>{e=Math.max(Array.from(i)[i.size-1],e)}),e}getRestrictions(e){const i=[];return this.map.forEach((s,n)=>{e?s.has(e)&&i.push(me.unHash(n)):i.push(me.unHash(n))}),i}getPurposes(){const e=new Set;return this.map.forEach((i,s)=>{e.add(me.unHash(s).purposeId)}),Array.from(e)}remove(e,i){const s=i.hash,n=this.map.get(s);n&&(n.delete(e),n.size==0&&(this.map.delete(s),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach((i,s)=>{const n=me.unHash(s);Array.from(i).forEach(a=>{this.isOkToHave(n.restrictionType,n.purposeId,a)||i.delete(a)})}))}get gvl(){return this.gvl_}isEmpty(){return this.map.size===0}get numRestrictions(){return this.map.size}}var js;(function(t){t.COOKIE="cookie",t.WEB="web",t.APP="app"})(js||(js={}));var B;(function(t){t.CORE="core",t.VENDORS_DISCLOSED="vendorsDisclosed",t.VENDORS_ALLOWED="vendorsAllowed",t.PUBLISHER_TC="publisherTC"})(B||(B={}));class Is{static ID_TO_KEY=[B.CORE,B.VENDORS_DISCLOSED,B.VENDORS_ALLOWED,B.PUBLISHER_TC];static KEY_TO_ID={[B.CORE]:0,[B.VENDORS_DISCLOSED]:1,[B.VENDORS_ALLOWED]:2,[B.PUBLISHER_TC]:3}}class de extends dt{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach(i=>this.unset(i)):typeof e=="object"?this.unset(Object.keys(e).map(i=>Number(i))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach(i=>{this.maxId_=Math.max(this.maxId,i)})))}isIntMap(e){let i=typeof e=="object";return i=i&&Object.keys(e).every(s=>{let n=Number.isInteger(parseInt(s,10));return n=n&&this.isValidNumber(e[s].id),n=n&&e[s].name!==void 0,n}),i}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let i=!1;return e instanceof Set&&(i=Array.from(e).every(this.isValidNumber)),i}set(e){if(Array.isArray(e))e.forEach(i=>this.set(i));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(i=>Number(i)));else if(this.isValidNumber(e))this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0;else throw new Ce("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap")}empty(){this.set_=new Set}forEach(e){for(let i=1;i<=this.maxId;i++)e(this.has(i),i)}get size(){return this.set_.size}setAll(e){this.set(e)}}class E{static[y.cmpId]=12;static[y.cmpVersion]=12;static[y.consentLanguage]=12;static[y.consentScreen]=6;static[y.created]=36;static[y.isServiceSpecific]=1;static[y.lastUpdated]=36;static[y.policyVersion]=6;static[y.publisherCountryCode]=12;static[y.publisherLegitimateInterests]=24;static[y.publisherConsents]=24;static[y.purposeConsents]=24;static[y.purposeLegitimateInterests]=24;static[y.purposeOneTreatment]=1;static[y.specialFeatureOptins]=12;static[y.useNonStandardTexts]=1;static[y.vendorListVersion]=12;static[y.version]=6;static anyBoolean=1;static encodingType=1;static maxId=16;static numCustomPurposes=6;static numEntries=12;static numRestrictions=12;static purposeId=6;static restrictionType=2;static segmentType=3;static singleOrRange=1;static vendorId=16}class he{static encode(e){return String(Number(e))}static decode(e){return e==="1"}}class T{static encode(e,i){let s;if(typeof e=="string"&&(e=parseInt(e,10)),s=e.toString(2),s.length>i||e<0)throw new we(`${e} too large to encode into ${i}`);return s.length<i&&(s="0".repeat(i-s.length)+s),s}static decode(e,i){if(i!==e.length)throw new ue("invalid bit length");return parseInt(e,2)}}class Ps{static encode(e,i){return T.encode(Math.round(e.getTime()/100),i)}static decode(e,i){if(i!==e.length)throw new ue("invalid bit length");const s=new Date;return s.setTime(T.decode(e,i)*100),s}}class Le{static encode(e,i){let s="";for(let n=1;n<=i;n++)s+=he.encode(e.has(n));return s}static decode(e,i){if(e.length!==i)throw new ue("bitfield encoding length mismatch");const s=new de;for(let n=1;n<=i;n++)he.decode(e[n-1])&&s.set(n);return s.bitLength=e.length,s}}class Os{static encode(e,i){e=e.toUpperCase();const s=65,n=e.charCodeAt(0)-s,o=e.charCodeAt(1)-s;if(n<0||n>25||o<0||o>25)throw new we(`invalid language code: ${e}`);if(i%2===1)throw new we(`numBits must be even, ${i} is not valid`);i=i/2;const a=T.encode(n,i),r=T.encode(o,i);return a+r}static decode(e,i){let s;if(i===e.length&&!(e.length%2)){const o=e.length/2,a=T.decode(e.slice(0,o),o)+65,r=T.decode(e.slice(o),o)+65;s=String.fromCharCode(a)+String.fromCharCode(r)}else throw new ue("invalid bit length for language");return s}}class ia{static encode(e){let i=T.encode(e.numRestrictions,E.numRestrictions);if(!e.isEmpty()){const s=(n,o)=>{for(let a=n+1;a<=o;a++)if(e.gvl.vendorIds.has(a))return a;return n};e.getRestrictions().forEach(n=>{i+=T.encode(n.purposeId,E.purposeId),i+=T.encode(n.restrictionType,E.restrictionType);const o=e.getVendors(n),a=o.length;let r=0,c=0,l="";for(let p=0;p<a;p++){const d=o[p];if(c===0&&(r++,c=d),p===a-1||o[p+1]>s(d,o[a-1])){const v=d!==c;l+=he.encode(v),l+=T.encode(c,E.vendorId),v&&(l+=T.encode(d,E.vendorId)),c=0}}i+=T.encode(r,E.numEntries),i+=l})}return i}static decode(e){let i=0;const s=new xs,n=T.decode(e.substr(i,E.numRestrictions),E.numRestrictions);i+=E.numRestrictions;for(let o=0;o<n;o++){const a=T.decode(e.substr(i,E.purposeId),E.purposeId);i+=E.purposeId;const r=T.decode(e.substr(i,E.restrictionType),E.restrictionType);i+=E.restrictionType;const c=new me(a,r),l=T.decode(e.substr(i,E.numEntries),E.numEntries);i+=E.numEntries;for(let p=0;p<l;p++){const d=he.decode(e.substr(i,E.anyBoolean));i+=E.anyBoolean;const v=T.decode(e.substr(i,E.vendorId),E.vendorId);if(i+=E.vendorId,d){const g=T.decode(e.substr(i,E.vendorId),E.vendorId);if(i+=E.vendorId,g<v)throw new ue(`Invalid RangeEntry: endVendorId ${g} is less than ${v}`);for(let f=v;f<=g;f++)s.add(f,c)}else s.add(v,c)}}return s.bitLength=i,s}}var ut;(function(t){t[t.FIELD=0]="FIELD",t[t.RANGE=1]="RANGE"})(ut||(ut={}));class pt{static encode(e){const i=[];let s=[],n=T.encode(e.maxId,E.maxId),o="",a;const r=E.maxId+E.encodingType,c=r+e.maxId,l=E.vendorId*2+E.singleOrRange+E.numEntries;let p=r+E.numEntries;return e.forEach((d,v)=>{o+=he.encode(d),a=e.maxId>l&&p<c,a&&d&&(e.has(v+1)?s.length===0&&(s.push(v),p+=E.singleOrRange,p+=E.vendorId):(s.push(v),p+=E.vendorId,i.push(s),s=[]))}),a?(n+=String(ut.RANGE),n+=this.buildRangeEncoding(i)):(n+=String(ut.FIELD),n+=o),n}static decode(e,i){let s,n=0;const o=T.decode(e.substr(n,E.maxId),E.maxId);n+=E.maxId;const a=T.decode(e.charAt(n),E.encodingType);if(n+=E.encodingType,a===ut.RANGE){if(s=new de,i===1){if(e.substr(n,1)==="1")throw new ue("Unable to decode default consent=1");n++}const r=T.decode(e.substr(n,E.numEntries),E.numEntries);n+=E.numEntries;for(let c=0;c<r;c++){const l=he.decode(e.charAt(n));n+=E.singleOrRange;const p=T.decode(e.substr(n,E.vendorId),E.vendorId);if(n+=E.vendorId,l){const d=T.decode(e.substr(n,E.vendorId),E.vendorId);n+=E.vendorId;for(let v=p;v<=d;v++)s.set(v)}else s.set(p)}}else{const r=e.substr(n,o);n+=o,s=Le.decode(r,o)}return s.bitLength=n,s}static buildRangeEncoding(e){const i=e.length;let s=T.encode(i,E.numEntries);return e.forEach(n=>{const o=n.length===1;s+=he.encode(!o),s+=T.encode(n[0],E.vendorId),o||(s+=T.encode(n[1],E.vendorId))}),s}}function Ss(){return{[y.version]:T,[y.created]:Ps,[y.lastUpdated]:Ps,[y.cmpId]:T,[y.cmpVersion]:T,[y.consentScreen]:T,[y.consentLanguage]:Os,[y.vendorListVersion]:T,[y.policyVersion]:T,[y.isServiceSpecific]:he,[y.useNonStandardTexts]:he,[y.specialFeatureOptins]:Le,[y.purposeConsents]:Le,[y.purposeLegitimateInterests]:Le,[y.purposeOneTreatment]:he,[y.publisherCountryCode]:Os,[y.vendorConsents]:pt,[y.vendorLegitimateInterests]:pt,[y.publisherRestrictions]:ia,segmentType:T,[y.vendorsDisclosed]:pt,[y.vendorsAllowed]:pt,[y.publisherConsents]:Le,[y.publisherLegitimateInterests]:Le,[y.numCustomPurposes]:T,[y.publisherCustomConsents]:Le,[y.publisherCustomLegitimateInterests]:Le}}class sa{1={[B.CORE]:[y.version,y.created,y.lastUpdated,y.cmpId,y.cmpVersion,y.consentScreen,y.consentLanguage,y.vendorListVersion,y.purposeConsents,y.vendorConsents]};2={[B.CORE]:[y.version,y.created,y.lastUpdated,y.cmpId,y.cmpVersion,y.consentScreen,y.consentLanguage,y.vendorListVersion,y.policyVersion,y.isServiceSpecific,y.useNonStandardTexts,y.specialFeatureOptins,y.purposeConsents,y.purposeLegitimateInterests,y.purposeOneTreatment,y.publisherCountryCode,y.vendorConsents,y.vendorLegitimateInterests,y.publisherRestrictions],[B.PUBLISHER_TC]:[y.publisherConsents,y.publisherLegitimateInterests,y.numCustomPurposes,y.publisherCustomConsents,y.publisherCustomLegitimateInterests],[B.VENDORS_ALLOWED]:[y.vendorsAllowed],[B.VENDORS_DISCLOSED]:[y.vendorsDisclosed]}}class na{1=[B.CORE];2=[B.CORE];constructor(e,i){if(e.version===2)if(e.isServiceSpecific)this[2].push(B.PUBLISHER_TC);else{const s=!!(i&&i.isForVendors);(!s||e[y.supportOOB]===!0)&&this[2].push(B.VENDORS_DISCLOSED),s&&(e[y.supportOOB]&&e[y.vendorsAllowed].size>0&&this[2].push(B.VENDORS_ALLOWED),this[2].push(B.PUBLISHER_TC))}}}class As{static fieldSequence=new sa;static encode(e,i){let s;try{s=this.fieldSequence[String(e.version)][i]}catch{throw new we(`Unable to encode version: ${e.version}, segment: ${i}`)}let n="";i!==B.CORE&&(n=T.encode(Is.KEY_TO_ID[i],E.segmentType));const o=Ss();return s.forEach(a=>{const r=e[a],c=o[a];let l=E[a];l===void 0&&this.isPublisherCustom(a)&&(l=Number(e[y.numCustomPurposes]));try{n+=c.encode(r,l)}catch(p){throw new we(`Error encoding ${i}->${a}: ${p.message}`)}}),Ci.encode(n)}static decode(e,i,s){const n=Ci.decode(e);let o=0;s===B.CORE&&(i.version=T.decode(n.substr(o,E[y.version]),E[y.version])),s!==B.CORE&&(o+=E.segmentType);const a=this.fieldSequence[String(i.version)][s],r=Ss();return a.forEach(c=>{const l=r[c];let p=E[c];if(p===void 0&&this.isPublisherCustom(c)&&(p=Number(i[y.numCustomPurposes])),p!==0){const d=n.substr(o,p);if(l===pt?i[c]=l.decode(d,i.version):i[c]=l.decode(d,p),Number.isInteger(p))o+=p;else if(Number.isInteger(i[c].bitLength))o+=i[c].bitLength;else throw new ue(c)}}),i}static isPublisherCustom(e){return e.indexOf("publisherCustom")===0}}class oa{static processor=[e=>e,(e,i)=>{e.publisherRestrictions.gvl=i,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const s=new Map;return s.set("legIntPurposes",e.vendorLegitimateInterests),s.set("purposes",e.vendorConsents),s.forEach((n,o)=>{n.forEach((a,r)=>{if(a){const c=i.vendors[r];if(!c||c.deletedDate)n.unset(r);else if(c[o].length===0)if(o==="legIntPurposes"&&c.purposes.length===0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(o==="legIntPurposes"&&c.purposes.length>0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(e.isServiceSpecific)if(c.flexiblePurposes.length===0)n.unset(r);else{const l=e.publisherRestrictions.getRestrictions(r);let p=!1;for(let d=0,v=l.length;d<v&&!p;d++)p=l[d].restrictionType===fe.REQUIRE_CONSENT&&o==="purposes"||l[d].restrictionType===fe.REQUIRE_LI&&o==="legIntPurposes";p||n.unset(r)}else n.unset(r)}})}),e.vendorsDisclosed.set(i.vendors),e}];static process(e,i){const s=e.gvl;if(!s)throw new we("Unable to encode TCModel without a GVL");if(!s.isReady)throw new we("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");e=e.clone(),e.consentLanguage=s.language.slice(0,2).toUpperCase(),i?.version>0&&i?.version<=this.processor.length?e.version=i.version:e.version=this.processor.length;const n=e.version-1;if(!this.processor[n])throw new we(`Invalid version: ${e.version}`);return this.processor[n](e,s)}}class ra{static absCall(e,i,s,n){return new Promise((o,a)=>{const r=new XMLHttpRequest,c=()=>{if(r.readyState==XMLHttpRequest.DONE)if(r.status>=200&&r.status<300){let v=r.response;if(typeof v=="string")try{v=JSON.parse(v)}catch{}o(v)}else a(new Error(`HTTP Status: ${r.status} response type: ${r.responseType}`))},l=()=>{a(new Error("error"))},p=()=>{a(new Error("aborted"))},d=()=>{a(new Error("Timeout "+n+"ms "+e))};r.withCredentials=s,r.addEventListener("load",c),r.addEventListener("error",l),r.addEventListener("abort",p),i===null?r.open("GET",e,!0):r.open("POST",e,!0),r.responseType="json",r.timeout=n,r.ontimeout=d,r.send(i)})}static post(e,i,s=!1,n=0){return this.absCall(e,JSON.stringify(i),s,n)}static fetch(e,i=!1,s=0){return this.absCall(e,null,i,s)}}class O extends dt{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new Ee;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new st("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&e[e.length-1]!=="/"&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e,i){super();let s=O.baseUrl,n=i?.language;if(n)try{n=O.consentLanguages.parseLanguage(n)}catch(o){throw new st("Error during parsing the language: "+o.message)}if(this.lang_=n||O.DEFAULT_LANGUAGE,this.cacheLang_=n||O.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!s)throw new st("must specify GVL.baseUrl before loading GVL json");if(e>0){const o=e;O.CACHE.has(o)?(this.populate(O.CACHE.get(o)),this.readyPromise=Promise.resolve()):(s+=O.versionedFilename.replace("[VERSION]",String(o)),this.readyPromise=this.fetchJson(s))}else O.CACHE.has(O.LATEST_CACHE_KEY)?(this.populate(O.CACHE.get(O.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(s+O.latestFilename))}}static emptyLanguageCache(e){let i=!1;return e==null&&O.LANGUAGE_CACHE.size>0?(O.LANGUAGE_CACHE=new Map,i=!0):typeof e=="string"&&this.consentLanguages.has(e.toUpperCase())&&(O.LANGUAGE_CACHE.delete(e.toUpperCase()),i=!0),i}static emptyCache(e){let i=!1;return Number.isInteger(e)&&e>=0?(O.CACHE.delete(e),i=!0):e===void 0&&(O.CACHE=new Map,i=!0),i}cacheLanguage(){O.LANGUAGE_CACHE.has(this.cacheLang_)||O.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await ra.fetch(e))}catch(i){throw new st(i.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const e={};for(const i of Object.keys(this.specialFeatures))e[i]=O.cloneFeature(this.specialFeatures[i]);return e}cloneFeatures(){const e={};for(const i of Object.keys(this.features))e[i]=O.cloneFeature(this.features[i]);return e}cloneStacks(){const e={};for(const i of Object.keys(this.stacks))e[i]=O.cloneStack(this.stacks[i]);return e}cloneDataCategories(){const e={};for(const i of Object.keys(this.dataCategories))e[i]=O.cloneDataCategory(this.dataCategories[i]);return e}cloneSpecialPurposes(){const e={};for(const i of Object.keys(this.specialPurposes))e[i]=O.clonePurpose(this.specialPurposes[i]);return e}clonePurposes(){const e={};for(const i of Object.keys(this.purposes))e[i]=O.clonePurpose(this.purposes[i]);return e}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{...typeof e.stdRetention=="number"?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map(i=>({langId:i.langId,privacy:i.privacy,...i.legIntClaim?{legIntClaim:i.legIntClaim}:{}}))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},...typeof e.cookieMaxAgeSeconds=="number"||e.cookieMaxAgeSeconds===null?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...e.usesCookies!==void 0?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...e.cookieRefresh!==void 0?{cookieRefresh:e.cookieRefresh}:{},...e.usesNonCookieAccess!==void 0?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const e={};for(const i of Object.keys(this.fullVendorList))e[i]=O.cloneVendor(this.fullVendorList[i]);return e}async changeLanguage(e){let i=e;try{i=O.consentLanguages.parseLanguage(e)}catch(n){throw new st("Error during parsing the language: "+n.message)}const s=e.toUpperCase();if(!(i.toLowerCase()===O.DEFAULT_LANGUAGE.toLowerCase()&&!O.LANGUAGE_CACHE.has(s))&&i!==this.lang_)if(this.lang_=i,O.LANGUAGE_CACHE.has(s)){const n=O.LANGUAGE_CACHE.get(s);for(const o in n)n.hasOwnProperty(o)&&(this[o]=n[o])}else{const n=O.baseUrl+O.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(n),this.cacheLang_=s,this.cacheLanguage()}catch(o){throw new st("unable to load language: "+o.message)}}}get language(){return this.lang_}isVendorList(e){return e!==void 0&&e.vendors!==void 0}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,typeof this.lastUpdated=="string"&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&O.CACHE.set(O.LATEST_CACHE_KEY,this.getJson()),O.CACHE.has(this.vendorListVersion)||O.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(i=>{this.byPurposeVendorMap[i]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(i=>{this.bySpecialPurposeVendorMap[i]=new Set}),Object.keys(this.features).forEach(i=>{this.byFeatureVendorMap[i]=new Set}),Object.keys(this.specialFeatures).forEach(i=>{this.bySpecialFeatureVendorMap[i]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(i=>+i)),this.vendorIds=new Set(e),this.vendors_=e.reduce((i,s)=>{const n=this.vendors_[String(s)];return n&&n.deletedDate===void 0&&(n.purposes.forEach(o=>{this.byPurposeVendorMap[String(o)].consent.add(s)}),n.specialPurposes.forEach(o=>{this.bySpecialPurposeVendorMap[String(o)].add(s)}),n.legIntPurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].legInt.add(s)}),n.flexiblePurposes&&n.flexiblePurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].flexible.add(s)}),n.features.forEach(o=>{this.byFeatureVendorMap[String(o)].add(s)}),n.specialFeatures.forEach(o=>{this.bySpecialFeatureVendorMap[String(o)].add(s)}),i[s]=n),i},{})}getFilteredVendors(e,i,s,n){const o=e.charAt(0).toUpperCase()+e.slice(1);let a;const r={};return e==="purpose"&&s?a=this["by"+o+"VendorMap"][String(i)][s]:a=this["by"+(n?"Special":"")+o+"VendorMap"][String(i)],a.forEach(c=>{r[String(c)]=this.vendors[String(c)]}),r}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new O(this.getJson());return this.lang_!==O.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return typeof e=="object"&&typeof e.narrowVendorsTo=="function"}}class Ei extends dt{static consentLanguages=O.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=4;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new de;purposeConsents=new de;purposeLegitimateInterests=new de;publisherConsents=new de;publisherLegitimateInterests=new de;publisherCustomConsents=new de;publisherCustomLegitimateInterests=new de;customPurposes;vendorConsents=new de;vendorLegitimateInterests=new de;vendorsDisclosed=new de;vendorsAllowed=new de;publisherRestrictions=new xs;constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){O.isInstanceOf(e)||(e=new O(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),Number.isInteger(e)&&e>1)this.cmpId_=e;else throw new Ce("cmpId",e)}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.cmpVersion_=e;else throw new Ce("cmpVersion",e)}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.consentScreen_=e;else throw new Ce("consentScreen",e)}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(/^([A-z]){2}$/.test(e))this.publisherCountryCode_=e.toUpperCase();else throw new Ce("publisherCountryCode",e)}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if(e=Number(e)>>0,e<0)throw new Ce("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new Ce("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if(typeof this.customPurposes=="object"){const i=Object.keys(this.customPurposes).sort((s,n)=>Number(s)-Number(n));e=parseInt(i.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new Ce("numCustomPurposes",e)}updated(){const e=new Date,i=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=i,this.lastUpdated=i}}class It{static encode(e,i){let s="",n;return e=oa.process(e,i),Array.isArray(i?.segments)?n=i.segments:n=new na(e,i)[""+e.version],n.forEach((o,a)=>{let r="";a<n.length-1&&(r="."),s+=As.encode(e,o)+r}),s}static decode(e,i){const s=e.split("."),n=s.length;i||(i=new Ei);for(let o=0;o<n;o++){const a=s[o],c=Ci.decode(a.charAt(0)).substr(0,E.segmentType),l=Is.ID_TO_KEY[T.decode(c,E.segmentType).toString()];As.decode(a,i,l)}return i}}var aa=Object.defineProperty,ca=(t,e,i)=>e in t?aa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,xi=(t,e,i)=>ca(t,typeof e!="symbol"?e+"":e,i);class Ne{constructor(e,i,s){xi(this,"consentPreference"),xi(this,"notice"),xi(this,"noticeHistoryId"),this.notice=e,this.consentPreference=i,this.noticeHistoryId=s}}C.TCMobileDataVals=void 0,(t=>{(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFgdprApplies||(t.IABTCFgdprApplies={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFPurposeOneTreatment||(t.IABTCFPurposeOneTreatment={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFUseNonStandardTexts||(t.IABTCFUseNonStandardTexts={}))})(C.TCMobileDataVals||(C.TCMobileDataVals={}));var Ts=(t=>(t.GPP_US_NATIONAL="gpp_us_national",t.GPP_US_STATE="gpp_us_state",t))(Ts||{}),zs=(t=>(t.FRONTEND="frontend",t.SYSTEM_WIDE="system_wide",t.NOT_APPLICABLE="not_applicable",t))(zs||{}),ie=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.NOTICE_ONLY="notice_only",t))(ie||{}),oe=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.ACKNOWLEDGE="acknowledge",t.NOT_APPLICABLE="not_applicable",t.TCF="tcf",t))(oe||{}),nt=(t=>(t.OMIT="omit",t.INCLUDE="include",t))(nt||{}),Ve=(t=>(t.BOOLEAN="boolean",t.CONSENT_MECHANISM="consent_mechanism",t))(Ve||{}),$e=(t=>(t.THROW="throw",t.WARN="warn",t.IGNORE="ignore",t))($e||{}),se=(t=>(t.OVERLAY="overlay",t.BANNER_AND_MODAL="banner_and_modal",t.MODAL="modal",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.HEADLESS="headless",t))(se||{}),Ls=(t=>(t.ALWAYS_ENABLED="always_enabled",t.ENABLED_WHERE_REQUIRED="enabled_where_required",t.ALWAYS_DISABLED="always_disabled",t))(Ls||{}),Fe=(t=>(t.OPTIONS="options",t.EXPERIENCE_TRANSLATION="language",t))(Fe||{}),ve=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t))(ve||{}),Pt=(t=>(t.ACKNOWLEDGE="acknowledge",t.OPT_IN_OPT_OUT="opt_in_opt_out",t.OPT_IN_ONLY="opt_in_only",t))(Pt||{}),ji=(t=>(t.REJECT_ALL="reject_all",t.REJECT_CONSENT_ONLY="reject_consent_only",t))(ji||{}),M=(t=>(t.BUTTON="button",t.REJECT="reject",t.ACCEPT="accept",t.SCRIPT="script",t.SAVE="save",t.DISMISS="dismiss",t.GPC="gpc",t.INDIVIDUAL_NOTICE="individual_notice",t.ACKNOWLEDGE="acknowledge",t.OT_MIGRATION="ot_migration",t))(M||{}),Ns=(t=>(t.privacy_center="privacy_center",t.overlay="overlay",t.api="api",t))(Ns||{}),xe=(t=>(t.NONE="none",t.APPLIED="applied",t.OVERRIDDEN="overridden",t))(xe||{}),Me=(t=>(t.OVERLAY="overlay",t.MODAL="modal",t.BANNER="banner",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.TCF_BANNER="tcf_banner",t))(Me||{}),Ii=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ot={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */Ot.exports,function(t,e){(function(i){var s=e,n=t&&t.exports==s&&t,o=typeof Ii=="object"&&Ii;(o.global===o||o.window===o)&&(i=o);var a=function(f){this.message=f};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var r=function(f){throw new a(f)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,p=function(f){f=String(f).replace(l,"");var _=f.length;_%4==0&&(f=f.replace(/==?$/,""),_=f.length),(_%4==1||/[^+a-zA-Z0-9/]/.test(f))&&r("Invalid character: the string to be decoded is not correctly encoded.");for(var m=0,b,h,k="",w=-1;++w<_;)h=c.indexOf(f.charAt(w)),b=m%4?b*64+h:h,m++%4&&(k+=String.fromCharCode(255&b>>(-2*m&6)));return k},d=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&r("The string to be encoded contains characters outside of the Latin1 range.");for(var _=f.length%3,m="",b=-1,h,k,w,x,N=f.length-_;++b<N;)h=f.charCodeAt(b)<<16,k=f.charCodeAt(++b)<<8,w=f.charCodeAt(++b),x=h+k+w,m+=c.charAt(x>>18&63)+c.charAt(x>>12&63)+c.charAt(x>>6&63)+c.charAt(x&63);return _==2?(h=f.charCodeAt(b)<<8,k=f.charCodeAt(++b),x=h+k,m+=c.charAt(x>>10)+c.charAt(x>>4&63)+c.charAt(x<<2&63)+"="):_==1&&(x=f.charCodeAt(b),m+=c.charAt(x>>2)+c.charAt(x<<4&63)+"=="),m},v={encode:d,decode:p,version:"1.0.0"};if(s&&!s.nodeType)if(n)n.exports=v;else for(var g in v)v.hasOwnProperty(g)&&(s[g]=v[g]);else i.base64=v})(Ii)}(Ot,Ot.exports);var $s=Ot.exports;/*! js-cookie v3.0.5 | MIT */function St(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)t[s]=i[s]}return t}var la={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Pi(t,e){function i(n,o,a){if(!(typeof document>"u")){a=St({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var c in a)a[c]&&(r+="; "+c,a[c]!==!0&&(r+="="+a[c].split(";")[0]));return document.cookie=n+"="+t.write(o,n)+r}}function s(n){if(!(typeof document>"u"||arguments.length&&!n)){for(var o=document.cookie?document.cookie.split("; "):[],a={},r=0;r<o.length;r++){var c=o[r].split("="),l=c.slice(1).join("=");try{var p=decodeURIComponent(c[0]);if(a[p]=t.read(l,p),n===p)break}catch{}}return n?a[n]:a}}return Object.create({set:i,get:s,remove:function(n,o){i(n,"",St({},o,{expires:-1}))},withAttributes:function(n){return Pi(this.converter,St({},this.attributes,n))},withConverter:function(n){return Pi(St({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var da=Pi(la,{path:"/"});let At;const ua=new Uint8Array(16);function pa(){if(!At&&(At=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!At))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return At(ua)}const ee=[];for(let t=0;t<256;++t)ee.push((t+256).toString(16).slice(1));function fa(t,e=0){return ee[t[e+0]]+ee[t[e+1]]+ee[t[e+2]]+ee[t[e+3]]+"-"+ee[t[e+4]]+ee[t[e+5]]+"-"+ee[t[e+6]]+ee[t[e+7]]+"-"+ee[t[e+8]]+ee[t[e+9]]+"-"+ee[t[e+10]]+ee[t[e+11]]+ee[t[e+12]]+ee[t[e+13]]+ee[t[e+14]]+ee[t[e+15]]}var Fs={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Tt(t,e,i){if(Fs.randomUUID&&!e&&!t)return Fs.randomUUID();t=t||{};const s=t.random||(t.rng||pa)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){i=i||0;for(let n=0;n<16;++n)e[i+n]=s[n];return e}return fa(s)}const zt=(t,e)=>!!Object.keys(e).includes(t.notice_key),je=t=>!t||t===oe.OPT_OUT?!1:t===oe.OPT_IN?!0:t===oe.ACKNOWLEDGE,re=(t,e)=>t?e===ie.NOTICE_ONLY?oe.ACKNOWLEDGE:oe.OPT_IN:oe.OPT_OUT,ft=t=>typeof t=="string"?je(t):t,Ds=t=>t?t.split(",").map(e=>e.trim()).filter(Boolean):[],Rs=(t,e)=>t===void 0?!1:typeof t=="boolean"?t:e.globalPrivacyControl===!0?t.globalPrivacyControl:t.value,Lt=(t,e)=>t.consent_mechanism===ie.NOTICE_ONLY?!0:e&&zt(t,e)?!!e[t.notice_key]:je(t.default_preference);var va=(t=>(t.CONSENT="Consent",t.CONTRACT="Contract",t.LEGAL_OBLIGATIONS="Legal obligations",t.VITAL_INTERESTS="Vital interests",t.PUBLIC_INTEREST="Public interest",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(va||{}),Ie=(t=>(t.CONSENT="Consent",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(Ie||{});const Vs=407,Nt=",",Ms=[{experienceKey:"tcf_purpose_consents",tcfModelKey:"purposeConsents",enabledIdsKey:"purposesConsent"},{experienceKey:"tcf_purpose_legitimate_interests",tcfModelKey:"purposeLegitimateInterests",enabledIdsKey:"purposesLegint"},{experienceKey:"tcf_special_features",tcfModelKey:"specialFeatureOptins",enabledIdsKey:"specialFeatures"},{experienceKey:"tcf_vendor_consents",tcfModelKey:"vendorConsents",enabledIdsKey:"vendorsConsent"},{experienceKey:"tcf_vendor_legitimate_interests",tcfModelKey:"vendorLegitimateInterests",enabledIdsKey:"vendorsLegint"}],Us=[{cookieKey:"system_consent_preferences",experienceKey:"tcf_system_consents"},{cookieKey:"system_legitimate_interests_preferences",experienceKey:"tcf_system_legitimate_interests"}];Ms.filter(({experienceKey:t})=>t!=="tcf_features"&&t!=="tcf_special_purposes").map(t=>t.experienceKey);const $t=[{i18nMessageID:"static.tcf.consent",value:Ie.CONSENT.toString()},{i18nMessageID:"static.tcf.legint",value:Ie.LEGITIMATE_INTERESTS.toString()}],Ft={purposesConsent:[],customPurposesConsent:[],purposesLegint:[],specialPurposes:[],features:[],specialFeatures:[],vendorsConsent:[],vendorsLegint:[]};var ga=Object.defineProperty,_a=Object.defineProperties,ma=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable,Gs=(t,e,i)=>e in t?ga(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ue=(t,e)=>{for(var i in e||(e={}))ha.call(e,i)&&Gs(t,i,e[i]);if(Bs)for(var i of Bs(e))ba.call(e,i)&&Gs(t,i,e[i]);return t},vt=(t,e)=>_a(t,ma(e)),ya=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Oi="fides_consent",Hs=365,Dt=da.withConverter({read(t){return decodeURIComponent(t)},write(t){return encodeURIComponent(t)}}),Rt=t=>t?Object.values(t).some(e=>e!==void 0):!1,qs=()=>Tt(),ka=qs(),Si=t=>{var e;return!((e=t.fides_meta)!=null&&e.updatedAt)},Ks=t=>{const e=new Date;return{consent:t||{},identity:{fides_user_device_id:ka||qs()},fides_meta:{version:"0.9.0",createdAt:e.toISOString(),updatedAt:""},tcf_consent:{}}},Vt=t=>Dt.get(t),De=()=>{const t=Vt(Oi);if(t)try{return JSON.parse(t)}catch{try{return JSON.parse($s.decode(t))}catch{return}}},Ys=(t,e=!1)=>{const i=Ks(t);if(typeof document>"u")return i;if(e)return document.cookie="fides_consent=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT",i;let s=De();if(s!=null&&s.consent){const{consent:n}=s;Object.entries(n).forEach(([o,a])=>{n[o]=ft(a)})}if(!s)return i;try{"consent"in s&&"fides_meta"in s||(s=vt(Ue({},i),{consent:s}));const n=Ue(Ue({},t),s.consent);return s.consent=n,s}catch(n){return console.error("Unable to read consent cookie: invalid JSON.",n),i}},Ws=(t,e=!1)=>{if(typeof document>"u")return;const i=new Date().toISOString();t.fides_meta.updatedAt=i;let s=JSON.stringify(t);e&&(s=$s.encode(s));const n=window.location.hostname.split(".");let o="";for(let a=1;a<=n.length;a+=1)if(o=n.slice(-a).join("."),Dt.set(Oi,s,{path:"/",domain:o,expires:Hs})){const r=De();if(r&&r.fides_meta.updatedAt===t.fides_meta.updatedAt)break}},Ai=({experience:t,cookie:e})=>{var i;if(!t.privacy_notices)return t;const s=(i=t.privacy_notices)==null?void 0:i.map(o=>{const a=Object.keys(e.consent).includes(o.notice_key)?re(!!e.consent[o.notice_key],o.consent_mechanism):void 0;return vt(Ue({},o),{current_preference:a})});return vt(Ue({},t),{privacy_notices:s})},Js=t=>{const e={};return Us.forEach(({cookieKey:i})=>{var s;const n=(s=t[i])!=null?s:[];e[i]=Object.fromEntries(n.map(o=>[o.id,je(o.preference)]))}),e},Qs=(t,e)=>{const i={};return t?.options.forEach(({cookieKeys:s,default:n})=>{if(n===void 0)return;const o=Rs(n,e);s.forEach(a=>{const r=i[a];if(r===void 0){i[a]=o;return}i[a]=r&&o})}),i},Zs=(t,e=!0)=>{t.forEach(i=>{var s;if(Dt.remove(i.name,{path:(s=i.path)!=null?s:"/",domain:i.domain}),e){const{hostname:n}=window.location;Dt.remove(i.name,{domain:`.${n}`})}})},Ti=t=>{const e=new Map(t.map(({notice:i,consentPreference:s})=>[i.notice_key,je(s)]));return Object.fromEntries(e)},Mt=(t,e)=>ya(void 0,null,function*(){return vt(Ue({},t),{consent:Ti(e)})}),wa=t=>{const e={};return t.privacy_notices&&t.privacy_notices.forEach(i=>{i.current_preference?e[i.notice_key]=je(i.current_preference):i.default_preference&&(e[i.notice_key]=je(i.default_preference))}),e},Xs=({cookie:t,experience:e})=>{const i=wa(e);return vt(Ue({},t),{consent:i})};var Ca=Object.defineProperty,Ea=(t,e,i)=>e in t?Ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,en=(t,e,i)=>Ea(t,typeof e!="symbol"?e+"":e,i);class xa{constructor(){en(this,"cookieName","OptanonConsent"),en(this,"migrationMethod",M.OT_MIGRATION)}getConsentCookie(){return Vt(this.cookieName)}convertToFidesConsent(e,i){if(i.otFidesMapping)try{const s=decodeURIComponent(i.otFidesMapping).replace(/^'|'$/g,""),n=JSON.parse(s),o=this.parseCookieValue(e,n);return o}catch{return}}parseCookieValue(e,i){const s={},n=e.match(/groups=([^&]*)/);return!n||!n[1]||n[1].split(",").forEach(o=>{const[a,r]=o.split(":");i[a]&&i[a].forEach(c=>{const l=r==="1";s[c]===void 0&&(s[c]=l)})}),s}}var tn=(t=>(t.ONETRUST="onetrust",t))(tn||{});const zi=new Map;function ja(t,e){zi.set(t,e)}function Ia(t){t.otFidesMapping&&ja(tn.ONETRUST,new xa)}function sn(t){let e,i;if(Array.from(zi).some(([n,o])=>{const a=o.getConsentCookie();if(!a)return!1;const r=o.convertToFidesConsent(a,t);return r?(e=r,i=n,!0):!1}),!i)return{consent:void 0,method:void 0};const s=zi.get(i);return{consent:e,method:s.migrationMethod}}const nn=t=>{typeof window<"u"&&!window.fidesDebugger?window.fidesDebugger=t?console.log:()=>{}:globalThis.fidesDebugger=()=>{}},ae="en",Li="Manage preferences",Ni=/^([A-Za-z]{2,3})(?:(?:[_-]([A-Za-z0-9]{2,4}))?$|(?:(?:[_-]\w+)+))/,Pa=/^(?:([a-z]{2})(-[a-z0-9]{1,3})?|(eea))$/i,Oa=[{overrideName:"fidesEmbed",overrideType:"boolean",overrideKey:"fides_embed",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableSaveApi",overrideType:"boolean",overrideKey:"fides_disable_save_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableNoticesServedApi",overrideType:"boolean",overrideKey:"fides_disable_notices_served_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableBanner",overrideType:"boolean",overrideKey:"fides_disable_banner",validationRegex:/^(true|false)$/},{overrideName:"fidesString",overrideType:"string",overrideKey:"fides_string",validationRegex:/(.*)/},{overrideName:"fidesTcfGdprApplies",overrideType:"boolean",overrideKey:"fides_tcf_gdpr_applies",validationRegex:/^(true|false)$/},{overrideName:"fidesLocale",overrideType:"string",overrideKey:"fides_locale",validationRegex:Ni},{overrideName:"fidesPrimaryColor",overrideType:"string",overrideKey:"fides_primary_color",validationRegex:/(.*)/},{overrideName:"fidesClearCookie",overrideType:"string",overrideKey:"fides_clear_cookie",validationRegex:/(.*)/},{overrideName:"fidesConsentOverride",overrideType:"string",overrideKey:"fides_consent_override",validationRegex:/^(accept|reject)$/},{overrideName:"otFidesMapping",overrideType:"string",overrideKey:"ot_fides_mapping",validationRegex:/(.*)/},{overrideName:"fidesDisabledNotices",overrideType:"array",overrideKey:"fides_disabled_notices",validationRegex:/(.*)/,transform:Ds},{overrideName:"fidesConsentNonApplicableFlagMode",overrideType:"string",overrideKey:"fides_consent_non_applicable_flag_mode",validationRegex:/^(omit|include)$/},{overrideName:"fidesConsentFlagType",overrideType:"string",overrideKey:"fides_consent_flag_type",validationRegex:/^(boolean|consent_mechanism)$/}],Sa=[{overrideName:"title",overrideType:"string",overrideKey:"fides_title",validationRegex:/(.*)/},{overrideName:"description",overrideType:"string",overrideKey:"fides_description",validationRegex:/(.*)/},{overrideName:"privacy_policy_url",overrideType:"string",overrideKey:"fides_privacy_policy_url",validationRegex:/(.*)/},{overrideName:"override_language",overrideType:"string",overrideKey:"fides_override_language",validationRegex:Ni}],on="fides-overlay-wrapper",Aa="fides-i18n-icon",rn=["marketing","data_sales_and_sharing","data_sales_sharing_gpp_us_state","data_sharing_gpp_us_state","data_sales_gpp_us_state","targeted_advertising_gpp_us_state","sales_sharing_targeted_advertising_gpp_us_national"];var Ta=Object.defineProperty,za=Object.defineProperties,La=Object.getOwnPropertyDescriptors,an=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,cn=(t,e,i)=>e in t?Ta(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ut=(t,e)=>{for(var i in e||(e={}))Na.call(e,i)&&cn(t,i,e[i]);if(an)for(var i of an(e))$a.call(e,i)&&cn(t,i,e[i]);return t},Fa=(t,e)=>za(t,La(e));const Be=t=>!t||typeof t!="object"?!1:Object.keys(t).length===0||"id"in t,Da=t=>!!(t&&t.every(e=>e.default_preference===oe.OPT_IN)),Bt=t=>t?t.location&&Pa.test(t.location)?t.location.replace("-","_").toLowerCase():t.country&&t.region?`${t.country.toLowerCase()}_${t.region.toLowerCase()}`:null:null,ln=t=>{if(typeof t!="object"||!t.fidesApiUrl||!t.privacyCenterUrl)return!1;try{new URL(t.privacyCenterUrl),new URL(t.fidesApiUrl)}catch{return!1}return!0},dn=t=>{switch(t){case Fe.OPTIONS:return Oa;case Fe.EXPERIENCE_TRANSLATION:return Sa;default:return null}},$i=t=>{if(!Be(t))return!1;const e=t.experience_config;return e&&(e.component===se.MODAL||e.component===se.BANNER_AND_MODAL||e.component===se.TCF_OVERLAY||e.component===se.HEADLESS)?!(e.component===se.BANNER_AND_MODAL&&!(t.privacy_notices&&t.privacy_notices.length>0)):!1},Gt=t=>t.fidesConsentOverride===M.ACCEPT||t.fidesConsentOverride===M.REJECT,Ra=t=>{var e;return(e=t.default_preference)!=null?e:oe.OPT_OUT},Ht=(t,e,i,s)=>{var n,o,a,r,c,l;return s!=null&&s.fidesDisableBanner||!Be(t)?!1:((n=t.experience_config)==null?void 0:n.component)===se.TCF_OVERLAY&&e?s&&Gt(s)?!1:(o=t.meta)!=null&&o.version_hash&&e.fides_meta.consentMethod!==M.DISMISS?t.meta.version_hash!==e.tcf_version_hash:!0:((a=t.experience_config)==null?void 0:a.component)===se.MODAL||((r=t.experience_config)==null?void 0:r.component)===se.HEADLESS||!((c=t?.privacy_notices)!=null&&c.length)?!1:i?s&&Gt(s)?!1:e?.fides_meta.consentMethod===M.GPC?!0:!((l=t.privacy_notices)!=null&&l.every(p=>zt(p,i))):!0},un=t=>{t[0]==="window"&&t.shift();let e=window;for(;t.length>0;){const i=t.shift();if(typeof i>"u"||typeof e[i]!="object")return;e=e[i]}return e},Fi=({value:t,notice:e,consentContext:i})=>!i.globalPrivacyControl||!e.has_gpc_flag||e.consent_mechanism===ie.NOTICE_ONLY?xe.NONE:t?xe.OVERRIDDEN:xe.APPLIED,Di=()=>{},pn=(t,e)=>t.map(i=>{var s;const n=re(e.includes(i.notice.notice_key),i.notice.consent_mechanism);return new Ne(i.notice,n,(s=i.bestTranslation)==null?void 0:s.privacy_notice_history_id)}),fn=t=>{try{const e=JSON.stringify(t);return btoa(e.replace(/\s/g,""))}catch(e){throw new Error("Failed to encode Notice Consent string:",{cause:e})}},Ri=t=>{if(!t)return{};try{const e=atob(t),i=JSON.parse(e);return Object.fromEntries(Object.entries(i).map(([s,n])=>[s,!!n]))}catch(e){throw new Error("Failed to decode Notice Consent string:",{cause:e})}},Va=({consent:t,nonApplicableNotices:e,flagType:i,mode:s=nt.OMIT})=>{if(!(e!=null&&e.length))return t;const n=Ut({},t);return s===nt.INCLUDE?e.forEach(o=>{n[o]=i===Ve.CONSENT_MECHANISM?oe.NOT_APPLICABLE:!0}):e.forEach(o=>{delete n[o]}),n},Ma=({consent:t,flagType:e=Ve.BOOLEAN,consentMechanisms:i})=>{const s={};if(e!==Ve.CONSENT_MECHANISM)return Object.fromEntries(Object.entries(t).map(([o,a])=>[o,ft(a)]));const n=Object.values(t).some(o=>typeof o=="boolean");if(n&&!i)throw new Error("Cannot transform boolean consent values to consent mechanisms without consent mechanisms map");return n?(Object.keys(t).forEach(o=>{const a=t[o];if(typeof a=="string")s[o]=a;else{const r=i[o];s[o]=re(a,r)}}),s):Ut({},t)},gt=(t,e,i=[],s,n)=>{var o,a,r;const c=Ut({},t),l=(o=window.Fides)==null?void 0:o.options,p=(a=n??l?.fidesConsentNonApplicableFlagMode)!=null?a:nt.OMIT,d=(r=s??l?.fidesConsentFlagType)!=null?r:Ve.BOOLEAN,v={};Object.assign(v,Va({consent:{},nonApplicableNotices:e??[],flagType:d,mode:p}));const g=i.reduce((f,_)=>Fa(Ut({},f),{[_.notice_key]:_.consent_mechanism}),{});return Object.assign(v,Ma({consent:c,consentMechanisms:g,flagType:d})),v},vn=t=>{const e=t.split("~")[0];return!!(e&&["1","2"].includes(e)&&t!=null&&t.match(e==="1"?/\d~[0-9.]*$/:/\d~[0-9.]*~dv.[0-9.]*$/))};var Ua=Object.defineProperty,Ba=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,gn=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,_n=(t,e,i)=>e in t?Ua(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Vi=(t,e)=>{for(var i in e||(e={}))Ha.call(e,i)&&_n(t,i,e[i]);if(gn)for(var i of gn(e))qa.call(e,i)&&_n(t,i,e[i]);return t},Ka=(t,e)=>Ba(t,Ga(e));const J=(t,e,i)=>{var s,n,o,a,r,c,l;const p=e?Vi({},e):void 0;if(typeof window<"u"&&typeof CustomEvent<"u"){const d=Vi({consentMethod:p?.fides_meta.consentMethod},i),v=(s=performance?.mark)==null?void 0:s.call(performance,t),g=v?.startTime,f=p;f&&p!=null&&p.consent&&(f.consent=gt(p.consent,(o=(n=window.Fides)==null?void 0:n.experience)==null?void 0:o.non_applicable_privacy_notices,(r=(a=window.Fides)==null?void 0:a.experience)==null?void 0:r.privacy_notices));const _=new CustomEvent(t,{detail:Ka(Vi({},f),{debug:!!((l=(c=window.Fides)==null?void 0:c.options)!=null&&l.debug),extraDetails:d,timestamp:g}),bubbles:!0});window.dispatchEvent(_)}},mn=(t,e)=>{const i=s=>e(s.detail);return window.addEventListener(t,i),()=>{window.removeEventListener(t,i)}};var Ya=Object.defineProperty,Wa=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,bn=(t,e,i)=>e in t?Ya(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Mi=(t,e)=>{for(var i in e||(e={}))Qa.call(e,i)&&bn(t,i,e[i]);if(hn)for(var i of hn(e))Za.call(e,i)&&bn(t,i,e[i]);return t},Xa=(t,e)=>Wa(t,Ja(e)),yn=(t=>(t.GVL="gvl",t.AC="gacp",t))(yn||{});const Pe=t=>{const e=t.split(".");return e.length===1?{source:void 0,id:e[0]}:{source:e[0],id:e[1]}},Ge=(t,e)=>{if(!(e!=null&&e.vendors))return;const{source:i,id:s}=Pe(t);if(i==="gvl"||i===void 0)return e.vendors[s]},ec=t=>Pe(t).source==="gacp",tc=t=>{const{tcf_vendor_relationships:e=[]}=t;return e.map(i=>i.id).filter(i=>Ge(i,t.gvl)).map(i=>+Pe(i).id)},ic=t=>{const e=[...t.tcf_vendor_consent_ids||[],...t.tcf_vendor_legitimate_interest_ids||[]];return[...new Set(e)].filter(i=>Ge(i,t.gvl)).map(i=>+Pe(i).id)},kn=({consents:t,legints:e,relationships:i,isFidesSystem:s,gvl:n})=>{const o=[];return i.forEach(a=>{const r=t.find(p=>p.id===a.id),c=e.find(p=>p.id===a.id),l=Xa(Mi(Mi(Mi({},a),r),c),{isFidesSystem:s,isConsent:!!r,isLegint:!!c,isGvl:!!Ge(a.id,n)});o.push(l)}),o},sc=t=>{const{tcf_vendor_consents:e=[],tcf_vendor_legitimate_interests:i=[],tcf_vendor_relationships:s=[],tcf_system_consents:n=[],tcf_system_legitimate_interests:o=[],tcf_system_relationships:a=[]}=t,r=kn({consents:e,legints:i,relationships:s,isFidesSystem:!1,gvl:t.gvl}),c=kn({consents:n,legints:o,relationships:a,isFidesSystem:!0,gvl:t.gvl});return[...r,...c]},_t=t=>{if(!t)return{tc:"",ac:"",gpp:"",nc:""};const[e="",i="",s="",n=""]=t.split(Nt);return e?{tc:e,ac:i,gpp:s,nc:n}:{tc:"",ac:"",gpp:s,nc:n}},nc=t=>{if(!vn(t))return[];const[,e=""]=t.split("~");return e?e.split(".").map(i=>`${yn.AC}.${i}`):[]},oc=()=>typeof window.blueConicClient<"u"&&typeof window.blueConicClient.event<"u"&&typeof window.blueConicClient.event.subscribe<"u",qt=()=>{var t,e,i;if(!oc()||!((t=window.blueConicClient)!=null&&t.profile))return;const s=(i=(e=window.blueConicClient)==null?void 0:e.profile)==null?void 0:i.getProfile(),{consent:n}=window.Fides,o=n!==void 0&&Object.entries(n).length>0,a=rn.some(r=>n[r]);!o||a?(s.setConsentedObjectives(["iab_purpose_1","iab_purpose_2","iab_purpose_3","iab_purpose_4"]),s.setRefusedObjectives([])):(s.setConsentedObjectives(["iab_purpose_1"]),s.setRefusedObjectives(["iab_purpose_2","iab_purpose_3","iab_purpose_4"])),window.blueConicClient.profile.updateProfile()},rc=({approach:t="onetrust"}={approach:"onetrust"})=>{if(t!=="onetrust")throw new Error("Unsupported approach");window.addEventListener("FidesReady",qt),window.addEventListener("FidesUpdated",qt),window.addEventListener("onBlueConicLoaded",qt),qt()},wn=(t,e)=>{var i,s,n,o,a,r,c,l,p,d,v,g,f,_;const m=(i=window.dataLayer)!=null?i:[];window.dataLayer=m;const{detail:b,type:h}=t,{consent:k,extraDetails:w,fides_string:x,timestamp:N}=b;let F=k;const R=(a=(o=e?.flag_type)!=null?o:(n=(s=window.Fides)==null?void 0:s.options)==null?void 0:n.fidesConsentFlagType)!=null?a:Ve.BOOLEAN,$=(p=(l=e?.non_applicable_flag_mode)!=null?l:(c=(r=window.Fides)==null?void 0:r.options)==null?void 0:c.fidesConsentNonApplicableFlagMode)!=null?p:nt.OMIT,j=(g=(v=(d=window.Fides)==null?void 0:d.experience)==null?void 0:v.privacy_notices)!=null?g:[],I=(_=(f=window.Fides)==null?void 0:f.experience)==null?void 0:_.non_applicable_privacy_notices;F=gt(k,I,j,R,$);const S={consent:F,extraDetails:w,fides_string:x,timestamp:N};m.push({event:h,Fides:S})},ac=t=>{var e,i;if(Object.entries({FidesInitializing:!1,FidesInitialized:!0,FidesConsentLoaded:!0,FidesReady:!0,FidesUpdating:!0,FidesUpdated:!0,FidesUIChanged:!0,FidesUIShown:!0,FidesModalClosed:!0}).filter(([,s])=>s).map(([s])=>s).forEach(s=>{window.addEventListener(s,n=>wn(n,t))}),(e=window.Fides)!=null&&e.initialized){const{consent:s,fides_meta:n,identity:o,tcf_consent:a}=window.Fides,r=(i=performance?.getEntriesByName("FidesInitialized")[0])==null?void 0:i.startTime;wn({type:"FidesInitialized",detail:{consent:s,fides_meta:n,identity:o,tcf_consent:a,timestamp:r,extraDetails:{consentMethod:n?.consentMethod}}},t)}},cc=()=>{if(window.fbq)return window.fbq;const t={queue:[],loaded:!0,version:"2.0",push(...e){const i=window.fbq;i.callMethod?i.callMethod(...e):i.queue.push(e)}};return window.fbq=Object.assign(t.push,t),window._fbq=window.fbq,window.fbq},lc=t=>{const e=cc();e("consent",t.consent?"grant":"revoke"),t.dataUse?e("dataProcessingOptions",[]):e("dataProcessingOptions",["LDU"],1,1e3)},dc={marketing:rn,sale_of_data:["marketing","data_sales","data_sales_and_sharing","data_sales_sharing_gpp_us_state","data_sharing_gpp_us_state","data_sales_gpp_us_state","targeted_advertising_gpp_us_state"],analytics:["analytics"],preferences:["functional"]};function uc(t){var e;const i=Object.fromEntries(Object.entries(t).map(([n,o])=>[n,ft(o)])),s=Object.fromEntries(Object.entries(dc).map(([n,o])=>{const a=o.some(c=>i[c]===!0),r=o.some(c=>i[c]===!1);return[n,a||(r?!1:void 0)]}));return s.sale_of_data=(e=s.sale_of_data)!=null?e:!1,s}const Kt=t=>{window.Shopify.customerPrivacy.setTrackingConsent(uc(t),()=>{})},Cn=()=>{var t,e;(t=window.Shopify)!=null&&t.customerPrivacy||console.error("Fides could not access Shopify's customerPrivacy API"),window.addEventListener("FidesReady",i=>Kt(i.detail.consent)),window.addEventListener("FidesUpdating",i=>Kt(i.detail.consent)),window.addEventListener("FidesUpdated",i=>Kt(i.detail.consent)),(e=window.Fides)!=null&&e.initialized&&window.Fides.cookie&&Kt(window.Fides.cookie.consent)},pc=()=>{setTimeout(()=>{if(!window.Shopify)throw Error("Fides.shopify was called but Shopify is not present in the page.");if(window.Shopify.customerPrivacy){Cn();return}window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],t=>{if(t)throw Error("Fides could not load Shopify's consent-tracking-api");Cn()})},3e3)};var fc={"static.gpc":"\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629","static.gpc.description":"\u062A\u0645 \u062A\u0637\u0628\u064A\u0642 \u062A\u0641\u0636\u064A\u0644\u0643 \u0644\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629. \u0644\u0642\u062F \u0623\u0644\u063A\u064A \u0627\u0634\u062A\u0631\u0627\u0643\u0643 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u062D\u0627\u0644\u0627\u062A \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u062A\u064A \u062A\u0644\u062A\u0632\u0645 \u0628\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629.","static.gpc.status.applied":"\u062A\u0645 \u0627\u0644\u062A\u0637\u0628\u064A\u0642","static.gpc.status.overridden":"\u062A\u0645 \u0627\u0644\u062A\u062C\u0627\u0648\u0632","static.gpc.title":"\u062A\u0645 \u0627\u0643\u062A\u0634\u0627\u0641 \u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629"},vc={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438","static.gpc.description":"\u0412\u0430\u0448\u0435\u0442\u043E \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u0435 \u0437\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u0435 \u0437\u0430\u0447\u0435\u0442\u0435\u043D\u043E. \u0412\u0438\u0435 \u0441\u0442\u0435 \u0431\u0438\u043B\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0438\u0437\u043A\u043B\u044E\u0447\u0435\u043D\u0438 \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0438\u0442\u0435 \u043D\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438, \u043A\u043E\u0438\u0442\u043E \u0441\u0435 \u043E\u0442\u043D\u0430\u0441\u044F\u0442 \u043A\u044A\u043C \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u043E","static.gpc.status.overridden":"\u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0430\u0442\u043E","static.gpc.title":"\u041E\u0442\u043A\u0440\u0438\u0442\u043E \u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438"},gc={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161 izbor globalne kontrole privatnosti je uva\u017Een. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Prihva\u0107ena","static.gpc.status.overridden":"Odbijena","static.gpc.title":"Otkrivena je Globalna kontrola privatnosti"},_c={"static.gpc":"Control de privadesa global","static.gpc.description":"S\u2019ha respectat la vostra prefer\xE8ncia pel que fa al control de privadesa global. Se us ha excl\xF2s autom\xE0ticament dels casos d\u2019\xFAs de dades que s\u2019adhereixen al control de privadesa global.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Anul\xB7lat","static.gpc.title":"Control de privadesa global detectat"},mc={"static.gpc":"Glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F","static.gpc.description":"Byly dodr\u017Eeny va\u0161e glob\xE1ln\xED preference ochrany osobn\xEDch \xFAdaj\u016F. Automaticky jste byli vy\u0159azeni z pou\u017E\xEDv\xE1n\xED \xFAdaj\u016F v p\u0159\xEDpadech, na kter\xE9 se vztahuje glob\xE1ln\xED ochrana osobn\xEDch \xFAdaj\u016F.","static.gpc.status.applied":"Aplikov\xE1no","static.gpc.status.overridden":"P\u0159eps\xE1no","static.gpc.title":"Bylo zji\u0161t\u011Bna glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F"},hc={"static.gpc":"Global fortrolighedskontrol","static.gpc.description":"Din pr\xE6ference i forbindelse med global fortrolighedskontrol er blevet efterkommet. Du er automatisk blevet frameldt tilf\xE6lde af databrug, der overholder global fortrolighedskontrol.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Tilsidesat","static.gpc.title":"Der blev p\xE5vist global fortrolighedskontrol"},bc={"static.gpc":"Globale Datenschutzeinstellungen","static.gpc.description":"Ihre globale Datenschutzeinstellungen werden ber\xFCcksichtigt. Sie wurden automatisch von Anwendungsf\xE4llen ausgenommen, die nicht Ihren globalen Datenschutzeinstellungen unterliegen.","static.gpc.status.applied":"Angewendet","static.gpc.status.overridden":"\xDCberschrieben","static.gpc.title":"Globale Datenschutzeinstellungen entdeckt"},yc={"static.gpc":"\u039A\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5","static.gpc.description":"\u0397 \u03C0\u03C1\u03BF\u03C4\u03AF\u03BC\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03B7\u03C1\u03B7\u03B8\u03B5\u03AF. \u0388\u03C7\u03B5\u03C4\u03B5 \u03B5\u03BE\u03B1\u03B9\u03C1\u03B5\u03B8\u03B5\u03AF \u03B1\u03C5\u03C4\u03CC\u03BC\u03B1\u03C4\u03B1 \u03B1\u03C0\u03CC \u03C0\u03B5\u03C1\u03B9\u03C0\u03C4\u03CE\u03C3\u03B5\u03B9\u03C2 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD \u03C0\u03BF\u03C5 \u03C3\u03C5\u03BC\u03BC\u03BF\u03C1\u03C6\u03CE\u03BD\u03BF\u03BD\u03C4\u03B1\u03B9 \u03BC\u03B5 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5.","static.gpc.status.applied":"\u0395\u03C6\u03B1\u03C1\u03BC\u03CC\u03C3\u03C4\u03B7\u03BA\u03B5","static.gpc.status.overridden":"\u03A0\u03B1\u03C1\u03B1\u03BA\u03AC\u03BC\u03C6\u03B8\u03B7\u03BA\u03B5","static.gpc.title":"\u0395\u03BD\u03C4\u03BF\u03C0\u03AF\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5"},kc={"static.gpc":"Global Privacy Control","static.gpc.description":"Your global privacy control preference has been honored. You have been automatically opted out of data use cases which adhere to global privacy control.","static.gpc.status.applied":"Applied","static.gpc.status.overridden":"Overridden","static.gpc.title":"Global Privacy Control detected"},wc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le ha excluido autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Cc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le excluy\xF3 autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Ec={"static.gpc":"\xDCldine andmekaitsekontroll","static.gpc.description":"Teie \xFCldist andmekaitse-eelistust on arvestatud. Teid on automaatselt v\xE4lja arvatud andmete kasutamise juhtudest, mis j\xE4rgivad \xFCldist andmekaitsekontrolli.","static.gpc.status.applied":"Rakendatud","static.gpc.status.overridden":"T\xFChistatud","static.gpc.title":"Tuvastatud \xFCldine andmekaitsekontroll"},xc={"static.gpc":"Pribatutasun-kontrol globala","static.gpc.description":"Pribatutasun-kontrol globalaren lehentasuna bete da. Pribatutasun-kontrol globalari atxikitzen zaizkion datuen erabileren kasuetatik automatikoki baztertua izan zara.","static.gpc.status.applied":"Ezarrita","static.gpc.status.overridden":"Baliogabetuta","static.gpc.title":"Pribatutasun-kontrol globala antzeman da"},jc={"static.gpc":"Maailmanlaajunen tietosuojavalvonta","static.gpc.description":"Maailmanlaajuinen tietosuojavalvontanne on vahvistettu. Teid\xE4t on automaattisesti poistettu tietojen k\xE4ytt\xF6tapauksista, jotka noudattavat maailmanlaajuista tietosuojavalvontaa.","static.gpc.status.applied":"K\xE4yt\xF6ss\xE4","static.gpc.status.overridden":"Ohitettu","static.gpc.title":"Maailmanlaajuinen tietosuojavalvonta havaittu"},Ic={"static.gpc":"Global Privacy Control","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le global de la confidentialit\xE9 (GPC) a \xE9t\xE9 respect\xE9e. Vous avez automatiquement \xE9t\xE9 retir\xE9 des cas d\u2019usage des donn\xE9es qui adh\xE8rent au GPC.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Ignor\xE9","static.gpc.title":"Global Privacy Control (GPC) d\xE9tect\xE9"},Pc={"static.gpc":"Contr\xF4le mondial de confidentialit\xE9","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le mondial de confidentialit\xE9 a \xE9t\xE9 honor\xE9e. Vous avez \xE9t\xE9 automatiquement \xE9cart\xE9 des cas d'utilisation de donn\xE9es qui adh\xE8rent au contr\xF4le mondial de confidentialit\xE9.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Annul\xE9","static.gpc.title":"Contr\xF4le mondial de confidentialit\xE9 d\xE9tect\xE9"},Oc={"static.gpc":"Control de privacidade global","static.gpc.description":"Respetouse a s\xFAa preferencia de control de privacidade global. Foi automaticamente exclu\xEDdo dos casos de uso de datos que cumpren o control de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidade global detectado"},Sc={"static.gpc":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923","static.gpc.description":"\u0906\u092A\u0915\u0940 \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0935\u0930\u0940\u092F\u0924\u093E\u0913\u0902 \u0915\u093E \u0938\u092E\u094D\u092E\u093E\u0928 \u0915\u093F\u092F\u093E \u0917\u092F\u093E\u0964 \u0906\u092A\u0915\u094B \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u093E\u0932\u0928 \u0915\u0930\u0928\u0947 \u0935\u093E\u0932\u0947 \u0921\u0947\u091F\u093E \u0909\u092A\u092F\u094B\u0917 \u092E\u093E\u092E\u0932\u094B\u0902 \u0938\u0947 \u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u092C\u093E\u0939\u0930 \u0915\u0930 \u0926\u093F\u092F\u093E \u0917\u092F\u093E \u0939\u0948\u0964","static.gpc.status.applied":"\u0932\u093E\u0917\u0942 \u0915\u093F\u092F\u093E","static.gpc.status.overridden":"\u0913\u0935\u0930\u0930\u093E\u0907\u0921 \u0915\u093F\u092F\u093E","static.gpc.title":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u0924\u093E \u091A\u0932\u093E"},Ac={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Po\u0161tuju se va\u0161e preferencije globalne kontrole privatnosti. Automatski se isklju\u010Deni iz slu\u010Dajeve kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Primijenjeno","static.gpc.status.overridden":"Premo\u0161\u0107eno","static.gpc.title":"Primije\u0107ena je Globalna kontrola privatnosti (Global Privacy Control)"},Tc={"static.gpc":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s","static.gpc.description":"A glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1ssal kapcsolatos be\xE1ll\xEDt\xE1sai el lettek fogadva. Automatikusan kiker\xFClt azokb\xF3l az adatfelhaszn\xE1l\xE1si esetekb\u0151l, amelyek a glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1shoz tartoznak.","static.gpc.status.applied":"Alkalmazva","static.gpc.status.overridden":"Fel\xFCl\xEDrva","static.gpc.title":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s \xE9szlelve"},zc={"static.gpc":"Controllo Globale della Privacy","static.gpc.description":"Le tue preferenze del Controllo Globale della Privacy sono state prese in carico. Sei stato automaticamente escluso dai casi di utilizzo dei dati che corrispondono al Controllo Globale della Privacy.","static.gpc.status.applied":"Applicato","static.gpc.status.overridden":"Non applicato","static.gpc.title":"Controllo Globale della Privacy rilevato"},Lc={"static.gpc":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB","static.gpc.description":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306E\u8A2D\u5B9A\u306F\u5C0A\u91CD\u3055\u308C\u307E\u3059\u3002\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306B\u5F93\u3046\u30C7\u30FC\u30BF\u306E\u30E6\u30FC\u30B9\u30B1\u30FC\u30B9\u304B\u3089\u306F\u81EA\u52D5\u7684\u306B\u30AA\u30D7\u30C8\u30A2\u30A6\u30C8\u3055\u308C\u3066\u3044\u307E\u3059\u3002","static.gpc.status.applied":"\u9069\u7528","static.gpc.status.overridden":"\u5909\u66F4","static.gpc.title":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u691C\u51FA\u3057\u307E\u3057\u305F"},Nc={"static.gpc":"Visuotin\u0117 privatumo kontrol\u0117","static.gpc.description":"Buvo atsi\u017Evelgta \u012F j\u016Bs\u0173 visuotin\u0117s privatumo kontrol\u0117s pageidavim\u0105. Buvote automati\u0161kai at\u0161auktas i\u0161 duomen\u0173 naudojimo atvej\u0173, kai laikomasi visuotin\u0117s privatumo kontrol\u0117s.","static.gpc.status.applied":"Taikoma","static.gpc.status.overridden":"Nebegaliojantis","static.gpc.title":"Aptikta visuotin\u0117 privatumo kontrol\u0117"},$c={"static.gpc":"Glob\u0101l\u0101 priv\u0101tuma kontrole","static.gpc.description":"M\u0113s esam izpild\u012Bju\u0161i j\u016Bsu pras\u012Bbu kontrol\u0113t glob\u0101lo priv\u0101tumu. P\u0113c noklus\u0113juma esat no\u0146emts no datu lietojuma pieteikumiem, kas atbilst glob\u0101lajai priv\u0101tuma kontrolei.","static.gpc.status.applied":"Pielietots","static.gpc.status.overridden":"Ignor\u0113ts","static.gpc.title":"Konstat\u0113ta glob\u0101l\u0101 priv\u0101tuma kontrole"},Fc={"static.gpc":"Kontroll Globali tal-Privatezza","static.gpc.description":"Il-preferenza globali tieg\u0127ek g\u0127all-kontroll tal-privatezza \u0121iet onorata. Inti awtomatikament g\u0127a\u017Cilt li ma tibqax tu\u017Ca d-dejta f'ka\u017Cijiet li jirrispettaw il-kontroll globali tal-privatezza.","static.gpc.status.applied":"Applikat","static.gpc.status.overridden":"Maqbu\u017Ca","static.gpc.title":"Instab il-Kontroll Globali tal-Privatezza"},Dc={"static.gpc":"Global Privacy Control","static.gpc.description":"Uw Global Privacy Control-voorkeur wordt gerespecteerd. U bent automatisch afgemeld voor gegevensgebruiksscenario's die zich houden aan Global Privacy Control.","static.gpc.status.applied":"Toegepast","static.gpc.status.overridden":"Genegeerd","static.gpc.title":"Global Privacy Control gedetecteerd"},Rc={"static.gpc":"Globale personverninnstillinger","static.gpc.description":"Preferansene dine vedr\xF8rende de globale personverninnstilingene dine er godtatt. Du har automatisk takket nei til databruksaker som f\xF8lger globale personverninnstillinger.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Overstyrt","static.gpc.title":"Globale personverninnstillinger er oppdaget"},Vc={"static.gpc":"Og\xF3lna kontrola prywatno\u015Bci","static.gpc.description":"Twoja preferencja dotycz\u0105ca og\xF3lnej kontroli prywatno\u015Bci zosta\u0142a uwzgl\u0119dniona. Automatycznie odm\xF3wiono zgody na Twoje przypadki wykorzystania danych, kt\xF3re s\u0105 zgodne z Og\xF3ln\u0105 kontrol\u0105 prywatno\u015Bci.","static.gpc.status.applied":"Zastosowano","static.gpc.status.overridden":"Nadpisano","static.gpc.title":"Wykryta Og\xF3lna kontrola prywatno\u015Bci"},Mc={"static.gpc":"Controle de Privacidade Global","static.gpc.description":"Sua prefer\xEAncia global de controle de privacidade foi respeitada. Voc\xEA foi automaticamente removido dos casos de uso de dados que aderem ao controle de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controle de Privacidade Global detectado"},Uc={"static.gpc":"Controlo de Privacidade Global","static.gpc.description":"A sua prefer\xEAncia de controlo de privacidade global foi honrada. Foi automaticamente exclu\xEDdo/a dos casos de utiliza\xE7\xE3o de dados que aderem ao controlo de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controlo de Privacidade Global detetado"},Bc={"static.gpc":"Control global al confiden\u021Bialit\u0103\u021Bii","static.gpc.description":"Preferin\u021Ba dvs. de control global al confiden\u021Bialit\u0103\u021Bii a fost onorat\u0103. A\u021Bi fost exclus(\u0103) automat de la cazurile de utilizare a datelor care respect\u0103 controlul global al confiden\u021Bialit\u0103\u021Bii.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Suprascris","static.gpc.title":"A fost detectat un control global al confiden\u021Bialit\u0103\u021Bii"},Gc={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 Global Privacy Control \u0443\u0447\u0442\u0435\u043D\u0430. \u0412\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0432 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F\u0445, \u0433\u0434\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F Global Privacy Control.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.status.overridden":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.title":"\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 Global Privacy Control"},Hc={"static.gpc":"Glob\xE1lna kontrola s\xFAkromia","static.gpc.description":"Va\u0161a predvo\u013Eba pre glob\xE1lnu kontrolu s\xFAkromia bola dodr\u017Ean\xE1. Pre pr\xEDpady pou\u017Eitia, kde sa pou\u017E\xEDva glob\xE1lna kontrola s\xFAkromia, v\xE1m bol automaticky nastaven\xFD explicitn\xFD nes\xFAhlas.","static.gpc.status.applied":"Pou\u017Eit\xE1","static.gpc.status.overridden":"Prep\xEDsan\xE1","static.gpc.title":"Bola zisten\xE1 Glob\xE1lna kontrola s\xFAkromia"},qc={"static.gpc":"Global Privacy Control","static.gpc.description":"Va\u0161a nastavitev globalnega nadzora zasebnosti je bila upo\u0161tevana. Samodejno je bilo preklicano va\u0161e soglasje za tiste primere uporabe podatkov, ki se ravnajo po globalnem nadzoru zasebnosti.","static.gpc.status.applied":"Uporabljeno","static.gpc.status.overridden":"Pregla\u0161eno","static.gpc.title":"Zaznan globalni nadzor zasebnosti \xBBGlobal Privacy Control\xAB"},Kc={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0435 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438 \u0458\u0435 \u043F\u043E\u0434\u0435\u0448\u0435\u043D\u0430. \u0410\u0443\u0442\u043E\u043C\u0430\u0442\u0441\u043A\u0438 \u0441\u0442\u0435 \u0438\u0441\u043A\u0459\u0443\u0447\u0435\u043D\u0438 \u0438\u0437 \u0441\u043B\u0443\u0447\u0430\u0458\u0435\u0432\u0430 \u0443\u043F\u043E\u0442\u0440\u0435\u0431\u0435 \u043F\u043E\u0434\u0430\u0442\u0430\u043A\u0430 \u043A\u043E\u0458\u0438 \u0441\u0443 \u0443 \u0441\u043A\u043B\u0430\u0434\u0443 \u0441\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043E\u043C \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.status.overridden":"\u0417\u0430\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.title":"Global Privacy Control \u043E\u0442\u043A\u0440\u0438\u0432\u0435\u043D"},Yc={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161a globalna postavka kontrole privatnosti se po\u0161tuje. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161c\u0301enja podataka koji podle\u017Eu globalnoj kontroli privatnosti.","static.gpc.status.applied":"Primenjeno","static.gpc.status.overridden":"Zaobi\u0111eno","static.gpc.title":"Otkrivena je globalna kontrola privatnosti"},Wc={"static.gpc":"Global integritetskontroll","static.gpc.description":"Dina preferenser f\xF6r global integritetskontroll har efterf\xF6ljts. Du har automatiskt valt bort anv\xE4ndningsfall f\xF6r uppgifter som efterf\xF6ljer global integritetskontroll.","static.gpc.status.applied":"Till\xE4mpad","static.gpc.status.overridden":"\xC5sidosatt","static.gpc.title":"Global integritetskontroll uppt\xE4cktes"},Jc={"static.gpc":"Global Gizlilik Kontrol\xFC","static.gpc.description":"Global gizlilik kontrol\xFC tercihiniz yerine getirildi. Global gizlilik kontrol\xFCne uygun veri kullan\u0131m durumlar\u0131ndan otomatik olarak \xE7\u0131kar\u0131ld\u0131n\u0131z.","static.gpc.status.applied":"Uyguland\u0131","static.gpc.status.overridden":"Ge\xE7ersiz k\u0131l\u0131nd\u0131","static.gpc.title":"Global Gizlilik Kontrol\xFC tespit edildi"},Qc={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456","static.gpc.description":"\u0412\u0430\u0448\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456 \u0432\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u043E. \u0412\u0430\u0441 \u0431\u0443\u043B\u043E \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0437 \u0432\u0438\u043F\u0430\u0434\u043A\u0456\u0432 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u0430\u043D\u0438\u0445, \u044F\u043A\u0456 \u0434\u043E\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456.","static.gpc.status.applied":"\u0417\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0430\u043D\u043E","static.gpc.status.overridden":"\u041F\u0435\u0440\u0435\u0432\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u043E","static.gpc.title":"\u0412\u0438\u044F\u0432\u043B\u0435\u043D\u043E \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456"},Zc={"static.gpc":"\u5168\u5C40\u9690\u79C1\u63A7\u5236","static.gpc.description":"\u60A8\u7684\u5168\u5C40\u9690\u79C1\u63A7\u5236\u504F\u597D\u5DF2\u5F97\u5230\u5C0A\u91CD\u3002\u60A8\u5DF2\u81EA\u52A8\u9009\u62E9\u9000\u51FA\u7B26\u5408\u5168\u5C40\u9690\u79C1\u63A7\u5236\u7684\u6570\u636E\u4F7F\u7528\u6848\u4F8B\u3002","static.gpc.status.applied":"\u5DF2\u5E94\u7528","static.gpc.status.overridden":"\u88AB\u8986\u76D6","static.gpc.title":"\u68C0\u6D4B\u5230\u5168\u5C40\u9690\u79C1\u63A7\u5236"};const Ui={ar:fc,bg:vc,bs:gc,ca:_c,cs:mc,da:hc,de:bc,el:yc,en:kc,es:wc,"es-MX":Cc,et:Ec,eu:xc,fi:jc,fr:Ic,"fr-CA":Pc,gl:Oc,"hi-IN":Sc,hr:Ac,hu:Tc,it:zc,ja:Lc,lt:Nc,lv:$c,mt:Fc,nl:Dc,no:Rc,pl:Vc,"pt-BR":Mc,"pt-PT":Uc,ro:Bc,ru:Gc,sk:Hc,sl:qc,"sr-Cyrl":Kc,"sr-Latn":Yc,sv:Wc,tr:Jc,uk:Qc,zh:Zc},Xc=[{locale:"ar",label_en:"Arabic",label_original:"\u0627\u0644\u0639\u064E\u0631\u064E\u0628\u0650\u064A\u064E\u0651\u0629"},{locale:"bg",label_en:"Bulgarian",label_original:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A"},{locale:"bs",label_en:"Bosnian",label_original:"Bosanski Jezik"},{locale:"ca",label_en:"Catalan",label_original:"catal\xE0"},{locale:"cs",label_en:"Czech",label_original:"\u010Desk\xFD jazyk"},{locale:"da",label_en:"Danish",label_original:"Dansk"},{locale:"de",label_en:"German",label_original:"Deutsch"},{locale:"el",label_en:"Greek",label_original:"\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},{locale:"en",label_en:"English",label_original:"English"},{locale:"es",label_en:"Spanish",label_original:"Espa\xF1ol"},{locale:"es-MX",label_en:"Spanish (Mexico)",label_original:"Espa\xF1ol - MX"},{locale:"et",label_en:"Estonian",label_original:"Eesti"},{locale:"eu",label_en:"Basque",label_original:"euskara"},{locale:"fi",label_en:"Finnish",label_original:"Suomi"},{locale:"fr",label_en:"French",label_original:"Fran\xE7ais"},{locale:"fr-CA",label_en:"French (Canada)",label_original:"Fran\xE7ais - CA"},{locale:"gl",label_en:"Galician",label_original:"Galego"},{locale:"hi-IN",label_en:"Hindi (India)",label_original:"\u0939\u093F\u0928\u094D\u0926\u0940"},{locale:"hr",label_en:"Croatian",label_original:"Hrvatski Jezik"},{locale:"hu",label_en:"Hungarian",label_original:"magyar"},{locale:"it",label_en:"Italian",label_original:"Italiano"},{locale:"ja",label_en:"Japanese",label_original:"\u65E5\u672C\u8A9E"},{locale:"lt",label_en:"Lithuanian",label_original:"lietuvi\u0173 kalba"},{locale:"lv",label_en:"Latvian",label_original:"latvie\u0161u valoda"},{locale:"mt",label_en:"Maltese",label_original:"Malti"},{locale:"nl",label_en:"Dutch",label_original:"Nederlands"},{locale:"no",label_en:"Norwegian",label_original:"Norsk"},{locale:"pl",label_en:"Polish",label_original:"Polski"},{locale:"pt-BR",label_en:"Portuguese (Brazil)",label_original:"Portugu\xEAs - BR"},{locale:"pt-PT",label_en:"Portuguese (Portugal)",label_original:"Portugu\xEAs - PT"},{locale:"ro",label_en:"Romanian",label_original:"limba rom\xE2n\u0103"},{locale:"ru",label_en:"Russian",label_original:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A"},{locale:"sk",label_en:"Slovak",label_original:"sloven\u010Dina"},{locale:"sl",label_en:"Slovenian",label_original:"Slovenski Jezik"},{locale:"sr-Cyrl",label_en:"Serbian (Cyrillic)",label_original:"\u0441\u0440\u043F\u0441\u043A\u0438"},{locale:"sr-Latn",label_en:"Serbian (Latin)",label_original:"Srpski"},{locale:"sv",label_en:"Swedish",label_original:"Sverige"},{locale:"tr",label_en:"Turkish",label_original:"T\xFCrk\xE7e"},{locale:"uk",label_en:"Ukrainian",label_original:"\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430 \u043C\u043E\u0432\u0430"},{locale:"zh",label_en:"Chinese",label_original:"\u4E2D\u6587"}];var el=Object.defineProperty,En=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,xn=(t,e,i)=>e in t?el(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,be=(t,e)=>{for(var i in e||(e={}))tl.call(e,i)&&xn(t,i,e[i]);if(En)for(var i of En(e))il.call(e,i)&&xn(t,i,e[i]);return t};function Oe(t,e){return t.toLowerCase().replaceAll("_","-")===e.toLowerCase().replaceAll("_","-")}function sl(t,e){const i={},s=["accept_button_label","acknowledge_button_label","banner_description","banner_title","description","purpose_header","privacy_policy_link_label","privacy_policy_url","privacy_preferences_link_label","reject_button_label","save_button_label","title","modal_link_label"];if(t.translations)t.translations.forEach(n=>{const o=n.language;let a=!1;e!=null&&e.override_language&&(a=Oe(e.override_language,o));const r={};s.forEach(c=>{let l=null;e&&(a||c==="privacy_policy_url")&&(l=c in e?e[c]:null);const p=n[c];typeof p=="string"&&(r[`exp.${c}`]=l||p)}),i[o]=be(be({},r),i[o])});else{const n=ae,o={};s.forEach(a=>{const r=t[a];typeof r=="string"&&(o[`exp.${a}`]=r)}),i[n]=be(be({},o),i[n])}return i}function nl(t){var e;if((e=t?.experience_config)!=null&&e.translations){const{translations:i}=t.experience_config,s=i.find(n=>n.is_default);return s?.language}}function jn(t,e){const i={};return e.forEach(s=>{const n=Object.keys(t).find(o=>Oe(o,s));if(n){const o=t[n],a={};["purposes","specialPurposes","features","specialFeatures","stacks","dataCategories"].forEach(r=>{const c=o[r]||{};Object.keys(c).forEach(l=>{const p=c[l],d=`exp.tcf.${r}.${l}`;a[`${d}.name`]=p.name,a[`${d}.description`]=p.description,p.illustrations&&p.illustrations.length>0&&p.illustrations.forEach((v,g)=>{a[`${d}.illustrations.${g}`]=v})})}),i[s]=be(be({},a),i[s])}}),i}function ol(t){return Object.keys(Ui).forEach(e=>{t.load(e,Ui[e])}),Object.keys(Ui)}function In(t,e,i){var s;const n={},o=(s=e.available_locales)!=null&&s.length?e.available_locales:[ae];if(e!=null&&e.experience_config){const a=e.experience_config,r=sl(a,i);Object.keys(r).forEach(c=>{n[c]=be(be({},r[c]),n[c])})}o.forEach(a=>{t.load(a,n[a])})}function Pn(t,e){if(!e.gvl)return;const{locale:i}=t,s={};s[i]=e.gvl;const n=jn(s,[i]);t.load(i,n[i])}function On(t,e,i){const s=jn(e,i);i.forEach(n=>{t.load(n,s[n])})}function Yt(t){return t.locale}function Sn(t,e,i=ae){const s=t?.language;return e||s||i}function An(t,e,i=ae){const s=t.match(Ni);if(s){const[n,o]=s,a=e.find(c=>Oe(c,n));if(a)return a;const r=e.find(c=>Oe(c,o));if(r)return r}return i}function ot(t,e){return t.t(e)!==""&&t.t(e)!==e}function Bi(t,e){if(!e||!e.translations)return null;const i=Yt(t),s=e.translations.find(o=>Oe(o.language,i));return s||e.translations.find(o=>Oe(o.language,t.getDefaultLocale()))||e.translations[0]||null}function Wt(t,e){if(!e||!e.translations)return null;const i=Yt(t),s=e.translations.find(o=>Oe(o.language,i));return s||e.translations.find(o=>Oe(o.language,t.getDefaultLocale()))||e.translations[0]||null}function rl(t,e,i,s,n){var o,a,r,c,l;ol(t);const p=(o=i.available_locales)!=null&&o.length?i.available_locales:[ae];In(t,i,n);const d=Xc.filter(m=>p.includes(m.locale)),v=d.findIndex(m=>Oe(m.locale,t.getDefaultLocale()));v>0&&d.unshift(d.splice(v,1)[0]),t.setAvailableLanguages(d);const g=nl(i)||ae;t.setDefaultLocale(g);let f=g;((a=i.experience_config)==null?void 0:a.auto_detect_language)===!1||(f=Sn(e,s?.fidesLocale,g));const _=An(f,p||[],t.getDefaultLocale());if((c=(r=i.experience_config)==null?void 0:r.translations)!=null&&c.find(m=>m.language===_))t.activate(_);else{const m=Wt(t,i.experience_config);m?.language,t.activate(m?.language||_)}((l=i.experience_config)==null?void 0:l.component)===se.TCF_OVERLAY&&i.gvl&&Pn(t,i)}function al(){let t=[],e=ae,i=ae;const s={};return{setAvailableLanguages(n){t=n},get availableLanguages(){return t},activate:n=>{i=n},getDefaultLocale:()=>e,setDefaultLocale:n=>{e=n},get locale(){return i},load:(n,o)=>{s[n]=be(be({},s[n]),o)},t:n=>{if(typeof n>"u")throw new TypeError("Unexpected type for descriptor or id!");let o;if(typeof n=="string")o=n;else if(typeof n=="object"&&n.id)o=n.id;else return"";return i&&i in s&&o&&o in s[i]&&s[i][o]?s[i][o]:o}}}const cl=(t,e,i)=>{var s;let n=Li;if(!t)e.t("exp.modal_link_label")!=="exp.modal_link_label"&&(n=e.t("exp.modal_link_label"));else{const o=e.getDefaultLocale(),a=(s=i?.experience_config)==null?void 0:s.translations.find(r=>r.language===o);a!=null&&a.modal_link_label&&(n=a.modal_link_label)}return n};var ll=Object.defineProperty,dl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,pl=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,zn=(t,e,i)=>e in t?ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,mt=(t,e)=>{for(var i in e||(e={}))pl.call(e,i)&&zn(t,i,e[i]);if(Tn)for(var i of Tn(e))fl.call(e,i)&&zn(t,i,e[i]);return t},Gi=(t,e)=>dl(t,ul(e)),Jt=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())}),vl=(t=>(t.PRIVACY_EXPERIENCE="/privacy-experience",t.PRIVACY_PREFERENCES="/privacy-preferences",t.GVL_TRANSLATIONS="/privacy-experience/gvl/translations",t.NOTICES_SERVED="/notices-served",t))(vl||{});function gl(){return{}}const Ln=t=>Jt(void 0,[t],function*({userLocationString:e,userLanguageString:i,fidesApiUrl:s,apiOptions:n,propertyId:o,requestMinimalTCF:a,missingExperienceHandler:r=gl}){var c,l,p;if(n!=null&&n.getPrivacyExperienceFn)try{return yield n.getPrivacyExperienceFn(e,null)}catch(_){return r(_)}const d=[["Unescape-Safestr","true"],["Accept-Encoding","gzip, deflate"]];i&&d.push(["Accept-Language",i]);const v={method:"GET",mode:"cors",headers:d};let g=mt(mt({show_disabled:"false",region:e,component:se.OVERLAY,has_notices:"true",has_config:"true",systems_applicable:"true",exclude_gvl_languages:"true",include_meta:"true",include_gvl:"true",include_non_applicable_notices:"true"},a&&{minimal_tcf:"true"}),o&&{property_id:o});g=new URLSearchParams(g);let f;try{if(f=yield fetch(`${s}/privacy-experience?${g}`,v),!f.ok)throw new Error("Error fetching experience from Fides API")}catch(_){return r(_)}try{const _=yield f.json();if(((c=_.items)==null?void 0:c.length)<1)return{};const m=_.items&&_.items[0],b=(p=(l=m.experience_config)==null?void 0:l.translations)==null?void 0:p[0].language;return m}catch(_){return r(_)}}),Nn=(t,e)=>Jt(void 0,null,function*(){const i=new URLSearchParams;e?.forEach(a=>{i.append("language",a)});const s={method:"GET",mode:"cors"};let n;try{n=yield fetch(`${t}/privacy-experience/gvl/translations${i.size>0?"?":""}${i.toString()}`,s)}catch{return{}}return n.ok?yield n.json():{}}),$n={method:"PATCH",mode:"cors",headers:{"Content-Type":"application/json"}},_l="Fides.js",ml=(t,e,i,s,n)=>Jt(void 0,null,function*(){var o;if((o=i.apiOptions)!=null&&o.savePreferencesFn){try{yield i.apiOptions.savePreferencesFn(t,s.consent,s.fides_string,n)}catch(c){return Promise.reject(c)}return Promise.resolve()}const a=Gi(mt({},$n),{body:JSON.stringify(Gi(mt({},e),{source:_l}))});return(yield fetch(`${i.fidesApiUrl}/privacy-preferences`,a)).ok,Promise.resolve()}),hl=t=>Jt(void 0,[t],function*({request:e,options:i}){var s;if((s=i.apiOptions)!=null&&s.patchNoticesServedFn)try{return yield i.apiOptions.patchNoticesServedFn(e)}catch{return null}const n=Gi(mt({},$n),{body:JSON.stringify(e)}),o=yield fetch(`${i.fidesApiUrl}/notices-served`,n);return o.ok?o.json():null});var bl=Object.defineProperty,yl=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable,Dn=(t,e,i)=>e in t?bl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,rt=(t,e)=>{for(var i in e||(e={}))wl.call(e,i)&&Dn(t,i,e[i]);if(Fn)for(var i of Fn(e))Cl.call(e,i)&&Dn(t,i,e[i]);return t},El=(t,e)=>yl(t,kl(e)),Hi=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});function xl(t,e,i,s,n,o,a,r,c,l){return Hi(this,null,function*(){const p=(o||[]).map(v=>({preference:v.consentPreference,privacy_notice_history_id:v.noticeHistoryId||""})),d=rt({browser_identity:e.identity,preferences:p,privacy_experience_config_history_id:n,user_geography:r,method:s,served_notice_history_id:c,property_id:l},a??[]);yield ml(s,d,t,e,i)})}const Qt=t=>Hi(void 0,[t],function*({consentPreferencesToSave:e,privacyExperienceConfigHistoryId:i,experience:s,consentMethod:n,options:o,userLocationString:a,cookie:r,servedNoticeHistoryId:c,tcf:l,updateCookie:p,propertyId:d}){var v,g,f,_;if(!p&&e&&(p=h=>Mt(h,e)),!p&&!e)throw new Error("updateCookie is required");const m=yield p(r);Object.assign(r,m),Object.assign(r.fides_meta,{consentMethod:n}),J("FidesUpdating",r);const b=gt(r.consent,(g=(v=window.Fides)==null?void 0:v.experience)==null?void 0:g.non_applicable_privacy_notices,(_=(f=window.Fides)==null?void 0:f.experience)==null?void 0:_.privacy_notices);if(window.Fides.consent=b,window.Fides.fides_string=r.fides_string,window.Fides.tcf_consent=r.tcf_consent,Ws(El(rt({},r),{consent:b}),o.base64Cookie),window.Fides.saved_consent=r.consent,!o.fidesDisableSaveApi)try{yield xl(o,r,s,n,i,e,l,a,c,d)}catch{}e&&e.filter(h=>h.consentPreference===oe.OPT_OUT).forEach(h=>{var k,w;(k=h.notice)!=null&&k.cookies&&Zs(h.notice.cookies,(w=s.experience_config)==null?void 0:w.auto_subdomain_cookie_deletion)}),J("FidesUpdated",r)}),Rn=(t,e)=>Object.entries(e).reduce((i,[s,n])=>{var o,a;if(i)return i;const r=(o=t.experience.non_applicable_privacy_notices)==null?void 0:o.find(p=>p===s);if(r)return new Error(`Provided notice key '${s}' is not applicable to the current experience.`);const c=(a=t.experience.privacy_notices)==null?void 0:a.find(p=>p.notice_key===s);if(!r&&!c)return new Error(`'${s}' is not a valid notice key`);const l=c?.consent_mechanism===ie.NOTICE_ONLY;return l&&n!==!0&&n!==oe.ACKNOWLEDGE?new Error(`Invalid consent value for notice-only notice key: '${s}'. Must be \`true\` or "acknowledge"`):!l&&typeof n!="boolean"&&n!==oe.OPT_IN&&n!==oe.OPT_OUT?new Error(`Invalid consent value for notice key: '${s}'. Must be a boolean or "opt_in" or "opt_out"`):null},null),jl=(t,e,...i)=>Hi(void 0,[t,e,...i],function*(s,n,o=M.SCRIPT){var a,r,c;if(!(n!=null&&n.consent)&&!(n!=null&&n.fidesString))throw new Error("Either consent or fidesString must be provided");if(!s.experience)throw new Error("Experience must be initialized before updating consent");if(!s.cookie)throw new Error("Cookie is not initialized");const{consent:l,fidesString:p,validation:d=$e.THROW}=n;if(!Object.values($e).includes(d))throw new Error(`Validation must be one of: ${Object.values($e).join(", ")} (default is ${$e.THROW})`);const v=b=>{if(d===$e.THROW)throw new Error(b);d===$e.WARN&&console.warn(b)};let g=s.consent||{};if(l){const b=Rn(s,l);b&&v(b.message)}if(p)try{const b=_t(p);if(b.nc){g=rt(rt({},s.consent),s.decodeNoticeConsentString(b.nc));const h=Rn(s,g);h&&v(h.message)}}catch(b){const h=b instanceof Error?b.message:String(b);v(`Invalid fidesString provided: ${h}`)}else g=rt(rt({},s.consent),l);const f=[];Object.entries(g).forEach(([b,h])=>{var k,w,x,N;const F=(w=(k=s.experience)==null?void 0:k.privacy_notices)==null?void 0:w.find(R=>R.notice_key===b);if(F){const R=(N=(x=F.translations)==null?void 0:x[0])==null?void 0:N.privacy_notice_history_id;let $;typeof h=="boolean"?$=re(h,F.consent_mechanism):$=h,R&&f.push(new Ne(F,$,R))}});let _;(r=(a=s.experience.experience_config)==null?void 0:a.translations)!=null&&r.length&&(_=s.experience.experience_config.translations[0].privacy_experience_config_history_id);const m=Bt(s.geolocation)||void 0;return Qt({consentPreferencesToSave:f,privacyExperienceConfigHistoryId:_,experience:s.experience,consentMethod:o,options:s.options,userLocationString:m,cookie:s.cookie,propertyId:(c=s.config)==null?void 0:c.propertyId})}),Zt=t=>{throw new Error(t)},He=t=>{typeof window<"u"&&(window.Fides=t)},Vn=({cookie:t,experience:e})=>{let i=e;return Rt(t.consent)&&(i=Ai({experience:e,cookie:t})),i},qi=({tcfEnabled:t=!1})=>({consent:{},experience:void 0,geolocation:{},locale:ae,options:{debug:!0,isOverlayEnabled:!1,isPrefetchEnabled:!1,isGeolocationEnabled:!1,geolocationApiUrl:"",overlayParentId:null,modalLinkId:null,privacyCenterUrl:"",fidesApiUrl:"",tcfEnabled:t,gppEnabled:!1,fidesEmbed:!1,fidesDisableSaveApi:!1,fidesDisableNoticesServedApi:!1,fidesDisableBanner:!1,fidesString:null,apiOptions:null,fidesTcfGdprApplies:t,fidesJsBaseUrl:"",customOptionsPath:null,preventDismissal:!1,allowHTMLDescription:null,base64Cookie:!1,fidesPrimaryColor:null,fidesClearCookie:!1,showFidesBrandLink:!t,fidesConsentOverride:null,otFidesMapping:null,fidesDisabledNotices:null,fidesConsentNonApplicableFlagMode:null,fidesConsentFlagType:null},fides_meta:{},identity:{},tcf_consent:{},saved_consent:{},config:void 0,initialized:!1,onFidesEvent:mn,blueconic:rc,gtm:ac,meta:lc,shopify:pc,showModal:Di,getModalLinkLabel:()=>Li,encodeNoticeConsentString:fn,decodeNoticeConsentString:Ri,reinitialize(){return typeof this.init!="function"?Promise.reject(new Error("Fides.init method is not available")):((!this.config||!this.initialized)&&Zt("Fides must be initialized before reinitializing"),this.init())},shouldShowExperience(){return!(this!=null&&this.experience)||!(this!=null&&this.cookie)||!(this!=null&&this.saved_consent)||!(this!=null&&this.options)?!1:Ht(this.experience,this.cookie,this.saved_consent,this.options)},updateConsent(e){return jl(this,e)}});var Il=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Pl=(t,e)=>Il(void 0,null,function*(){if(!t||!e)return null;const i=yield fetch(e,{mode:"cors"});if(!i.ok)return null;try{return yield i.json()}catch{return null}}),Ol=()=>{var t,e,i;if(window.Fides.options.tcfEnabled&&!((e=(t=window.Fides.experience)==null?void 0:t.privacy_notices)!=null&&e.length))return!1;if(typeof((i=window.navigator)==null?void 0:i.globalPrivacyControl)=="boolean")return window.navigator.globalPrivacyControl;const s=new URL(window.location.href).searchParams.get("globalPrivacyControl");if(s==="true")return!0;if(s==="false")return!1},qe=()=>typeof window>"u"?{}:{globalPrivacyControl:Ol()};var Sl=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Al=t=>Sl(void 0,[t],function*({savedConsent:e,effectiveExperience:i,cookie:s,fidesRegionString:n,fidesOptions:o,i18n:a}){if(!i||!i.experience_config||!i.privacy_notices||i.privacy_notices.length===0)return!1;const r=qe(),{nc:c}=_t(o.fidesString||"");r.globalPrivacyControl;const{consent:l,method:p}=sn(o),d=!!l&&!!p&&!De();if(!r.globalPrivacyControl&&!c&&!d)return!1;const v=Wt(a,i.experience_config),g=v?.privacy_experience_config_history_id;let f=!1,_=!1,m=!1;const b=i.privacy_notices.map(h=>{const k=zt(h,e),w=Bi(a,h);if(d&&l){const N=l[h.notice_key];if(N!==void 0){m=!0;const F=typeof N=="boolean"?re(N,h.consent_mechanism):N;return new Ne(h,F,w?.privacy_notice_history_id)}}const x=Ri(c);if(h.consent_mechanism!==ie.NOTICE_ONLY){if(x){const N=x[h.notice_key];if(N!==void 0)return _=!0,new Ne(h,re(N,h.consent_mechanism),w?.privacy_notice_history_id)}if(r.globalPrivacyControl&&h.has_gpc_flag&&!k)return f=!0,new Ne(h,re(!1,h.consent_mechanism),w?.privacy_notice_history_id)}return new Ne(h,re(Lt(h,e),h.consent_mechanism),w?.privacy_notice_history_id)});if(f||_||m){let h=M.SCRIPT;return m&&p?h=p:_?h=M.SCRIPT:f&&(h=M.GPC),yield Qt({servedNoticeHistoryId:Tt(),consentPreferencesToSave:b,privacyExperienceConfigHistoryId:g,experience:i,consentMethod:h,options:o,userLocationString:n||void 0,cookie:s,updateCookie:k=>Mt(k,b)}),!0}return!1}),Tl=()=>{document.body.classList.add("fides-no-scroll")},Mn=()=>{document.body.classList.remove("fides-no-scroll")},zl=t=>new DOMParser().parseFromString(t,"text/html").body.textContent||"",Un=t=>{let e=0,i=200;return new Promise(s=>{const n=o=>{const a=setTimeout(()=>{const r=document.getElementById(t);r?(clearInterval(a),s(r)):(e+=1,e>=5&&i<1e3&&(i+=200),n(i))},o)};n(i)})};var Ll=Object.defineProperty,Bn=Object.getOwnPropertySymbols,Nl=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,Gn=(t,e,i)=>e in t?Ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Hn=(t,e)=>{for(var i in e||(e={}))Nl.call(e,i)&&Gn(t,i,e[i]);if(Bn)for(var i of Bn(e))$l.call(e,i)&&Gn(t,i,e[i]);return t},qn=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Fl=(t,e)=>qn(void 0,null,function*(){return Bt(t)||Bt(yield Pl(e.isGeolocationEnabled,e.geolocationApiUrl))}),Xt=(t,e)=>{const i={};if(typeof window<"u"){const s=new URLSearchParams(window.location.search),n=e.options.customOptionsPath&&e.options.customOptionsPath.split("."),o=n&&n.length>=0?un(n):window.fides_overrides,a=dn(t);a?.forEach(({overrideName:r,overrideType:c,overrideKey:l,validationRegex:p,transform:d})=>{const v=s.get(l),g=o?o[l]:void 0,f=Vt(l),_=v||g||f;_&&p.test(_.toString())&&(d?i[r]=d(_.toString()):i[r]=c==="string"?_:JSON.parse(_.toString()))})}return i},Kn=({consent:t,options:e})=>{const i=qe(),s=Qs(t,i);return Ys(s,e.fidesClearCookie)},Yn=({cookie:t,savedConsent:e,experience:i,geolocation:s,options:n,updateExperienceFromCookieConsent:o})=>{let a=i;return Be(i)&&(a=o({experience:i,cookie:t,debug:n.debug})),{consent:t.consent,fides_meta:t.fides_meta,identity:t.identity,experience:a,tcf_consent:t.tcf_consent,fides_string:t.fides_string,saved_consent:e,geolocation:s,options:n,initialized:!0}},Wn=t=>qn(void 0,[t],function*({fides:e,options:i,geolocation:s,initOverlay:n,renderOverlay:o,updateExperience:a,overrides:r,propertyId:c}){var l,p,d,v,g;let f=!0,_=null,m=()=>Li;if(!e.cookie)throw new Error("Fides cookie should be initialized");if(f=i.isOverlayEnabled,f){ln(i)||(f=!1),_=yield Fl(s,i);let x=!1;if(_?Be(e.experience)||(x=!0,e.experience=yield Ln({userLocationString:_,fidesApiUrl:i.fidesApiUrl,apiOptions:i.apiOptions,requestMinimalTCF:!1,propertyId:c})):f=!1,f&&Be(e.experience)&&$i(e.experience)){if(x){const R=a({cookie:e.cookie,experience:e.experience});e.experience=Hn(Hn({},e.experience),R)}const N=Xs({cookie:e.cookie,experience:e.experience});e.cookie=N;const F=al();if(rl(F,window?.navigator,e.experience,i,r?.experienceTranslationOverrides),e.locale=F.locale||ae,m=R=>cl(!!(R!=null&&R.disableLocalization),F,e.experience),((l=e.experience.experience_config)==null?void 0:l.component)===se.HEADLESS){const R=i.modalLinkId||"fides-modal-link";!e.experience||i.fidesEmbed||i.modalLinkId,Un(R).then($=>{document.body.classList.add("fides-overlay-modal-link-shown"),$.classList.add("fides-modal-link-shown")}),f=!1}n&&f&&n({options:i,experience:e.experience,i18n:F,fidesRegionString:_,cookie:e.cookie,savedConsent:e.saved_consent,renderOverlay:o,propertyId:c,translationOverrides:r?.experienceTranslationOverrides}).catch(R=>{}),setTimeout(Al.bind(null,{savedConsent:e.saved_consent,effectiveExperience:e.experience,cookie:e.cookie,fidesRegionString:_,fidesOptions:i,i18n:F}))}}const{fides_meta:b,identity:h,fides_string:k,tcf_consent:w}=e.cookie;return{consent:gt(e.cookie.consent,(p=e.experience)==null?void 0:p.non_applicable_privacy_notices,(d=e.experience)==null?void 0:d.privacy_notices,(v=i.fidesConsentFlagType)!=null?v:void 0,(g=i.fidesConsentNonApplicableFlagMode)!=null?g:void 0),fides_meta:b,identity:h,fides_string:k,tcf_consent:w,experience:e.experience,geolocation:s,options:i,initialized:!0,getModalLinkLabel:m}});var ei,L,Jn,Ke,Qn,Zn,Ki,Yi,Wi,Ji,Xn,ht={},eo=[],Dl=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ti=Array.isArray;function Re(t,e){for(var i in e)t[i]=e[i];return t}function to(t){var e=t.parentNode;e&&e.removeChild(t)}function u(t,e,i){var s,n,o,a={};for(o in e)o=="key"?s=e[o]:o=="ref"?n=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?ei.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)a[o]===void 0&&(a[o]=t.defaultProps[o]);return ii(t,a,s,n,null)}function ii(t,e,i,s,n){var o={type:t,props:e,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:n??++Jn,__i:-1,__u:0};return n==null&&L.vnode!=null&&L.vnode(o),o}function pe(t){return t.children}function Se(t,e){this.props=t,this.context=e}function Ye(t,e){if(e==null)return t.__?Ye(t.__,t.__i+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?Ye(t):null}function io(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return io(t)}}function Qi(t){(!t.__d&&(t.__d=!0)&&Ke.push(t)&&!si.__r++||Qn!==L.debounceRendering)&&((Qn=L.debounceRendering)||Zn)(si)}function si(){var t,e,i,s,n,o,a,r;for(Ke.sort(Ki);t=Ke.shift();)t.__d&&(e=Ke.length,s=void 0,o=(n=(i=t).__v).__e,a=[],r=[],i.__P&&((s=Re({},n)).__v=n.__v+1,L.vnode&&L.vnode(s),Zi(i.__P,s,n,i.__n,i.__P.namespaceURI,32&n.__u?[o]:null,a,o??Ye(n),!!(32&n.__u),r),s.__v=n.__v,s.__.__k[s.__i]=s,ao(a,s,r),s.__e!=o&&io(s)),Ke.length>e&&Ke.sort(Ki));si.__r=0}function so(t,e,i,s,n,o,a,r,c,l,p){var d,v,g,f,_,m=s&&s.__k||eo,b=e.length;for(i.__d=c,Rl(i,e,m),c=i.__d,d=0;d<b;d++)(g=i.__k[d])!=null&&typeof g!="boolean"&&typeof g!="function"&&(v=g.__i===-1?ht:m[g.__i]||ht,g.__i=d,Zi(t,g,v,n,o,a,r,c,l,p),f=g.__e,g.ref&&v.ref!=g.ref&&(v.ref&&Xi(v.ref,null,g),p.push(g.ref,g.__c||f,g)),_==null&&f!=null&&(_=f),65536&g.__u||v.__k===g.__k?(c&&typeof g.type=="string"&&!t.contains(c)&&(c=Ye(v)),c=no(g,c,t)):typeof g.type=="function"&&g.__d!==void 0?c=g.__d:f&&(c=f.nextSibling),g.__d=void 0,g.__u&=-196609);i.__d=c,i.__e=_}function Rl(t,e,i){var s,n,o,a,r,c=e.length,l=i.length,p=l,d=0;for(t.__k=[],s=0;s<c;s++)a=s+d,(n=t.__k[s]=(n=e[s])==null||typeof n=="boolean"||typeof n=="function"?null:typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?ii(null,n,null,null,null):ti(n)?ii(pe,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?ii(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n)!=null?(n.__=t,n.__b=t.__b+1,r=Vl(n,i,a,p),n.__i=r,o=null,r!==-1&&(p--,(o=i[r])&&(o.__u|=131072)),o==null||o.__v===null?(r==-1&&d--,typeof n.type!="function"&&(n.__u|=65536)):r!==a&&(r==a-1?d=r-a:r==a+1?d++:r>a?p>c-a?d+=r-a:d--:r<a&&d++,r!==s+d&&(n.__u|=65536))):(o=i[a])&&o.key==null&&o.__e&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=Ye(o)),es(o,o,!1),i[a]=null,p--);if(p)for(s=0;s<l;s++)(o=i[s])!=null&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=Ye(o)),es(o,o))}function no(t,e,i){var s,n;if(typeof t.type=="function"){for(s=t.__k,n=0;s&&n<s.length;n++)s[n]&&(s[n].__=t,e=no(s[n],e,i));return e}t.__e!=e&&(i.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function ni(t,e){return e=e||[],t==null||typeof t=="boolean"||(ti(t)?t.some(function(i){ni(i,e)}):e.push(t)),e}function Vl(t,e,i,s){var n=t.key,o=t.type,a=i-1,r=i+1,c=e[i];if(c===null||c&&n==c.key&&o===c.type&&(131072&c.__u)==0)return i;if(s>(c!=null&&(131072&c.__u)==0?1:0))for(;a>=0||r<e.length;){if(a>=0){if((c=e[a])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return a;a--}if(r<e.length){if((c=e[r])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return r;r++}}return-1}function oo(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Dl.test(e)?i:i+"px"}function oi(t,e,i,s,n){var o;e:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof s=="string"&&(t.style.cssText=s=""),s)for(e in s)i&&e in i||oo(t.style,e,"");if(i)for(e in i)s&&i[e]===s[e]||oo(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?s?i.u=s.u:(i.u=Yi,t.addEventListener(e,o?Ji:Wi,o)):t.removeEventListener(e,o?Ji:Wi,o);else{if(n=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=i??"";break e}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&i==1?"":i))}}function ro(t){return function(e){if(this.l){var i=this.l[e.type+t];if(e.t==null)e.t=Yi++;else if(e.t<i.u)return;return i(L.event?L.event(e):e)}}}function Zi(t,e,i,s,n,o,a,r,c,l){var p,d,v,g,f,_,m,b,h,k,w,x,N,F,R,$,j=e.type;if(e.constructor!==void 0)return null;128&i.__u&&(c=!!(32&i.__u),o=[r=e.__e=i.__e]),(p=L.__b)&&p(e);e:if(typeof j=="function")try{if(b=e.props,h="prototype"in j&&j.prototype.render,k=(p=j.contextType)&&s[p.__c],w=p?k?k.props.value:p.__:s,i.__c?m=(d=e.__c=i.__c).__=d.__E:(h?e.__c=d=new j(b,w):(e.__c=d=new Se(b,w),d.constructor=j,d.render=Ul),k&&k.sub(d),d.props=b,d.state||(d.state={}),d.context=w,d.__n=s,v=d.__d=!0,d.__h=[],d._sb=[]),h&&d.__s==null&&(d.__s=d.state),h&&j.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Re({},d.__s)),Re(d.__s,j.getDerivedStateFromProps(b,d.__s))),g=d.props,f=d.state,d.__v=e,v)h&&j.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),h&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(h&&j.getDerivedStateFromProps==null&&b!==g&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(b,w),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(b,d.__s,w)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(d.props=b,d.state=d.__s,d.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(I){I&&(I.__=e)}),x=0;x<d._sb.length;x++)d.__h.push(d._sb[x]);d._sb=[],d.__h.length&&a.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(b,d.__s,w),h&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(g,f,_)})}if(d.context=w,d.props=b,d.__P=t,d.__e=!1,N=L.__r,F=0,h){for(d.state=d.__s,d.__d=!1,N&&N(e),p=d.render(d.props,d.state,d.context),R=0;R<d._sb.length;R++)d.__h.push(d._sb[R]);d._sb=[]}else do d.__d=!1,N&&N(e),p=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++F<25);d.state=d.__s,d.getChildContext!=null&&(s=Re(Re({},s),d.getChildContext())),h&&!v&&d.getSnapshotBeforeUpdate!=null&&(_=d.getSnapshotBeforeUpdate(g,f)),so(t,ti($=p!=null&&p.type===pe&&p.key==null?p.props.children:p)?$:[$],e,i,s,n,o,a,r,c,l),d.base=e.__e,e.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(I){e.__v=null,c||o!=null?(e.__e=r,e.__u|=c?160:32,o[o.indexOf(r)]=null):(e.__e=i.__e,e.__k=i.__k),L.__e(I,e,i)}else o==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Ml(i.__e,e,i,s,n,o,a,c,l);(p=L.diffed)&&p(e)}function ao(t,e,i){e.__d=void 0;for(var s=0;s<i.length;s++)Xi(i[s],i[++s],i[++s]);L.__c&&L.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(o){o.call(n)})}catch(o){L.__e(o,n.__v)}})}function Ml(t,e,i,s,n,o,a,r,c){var l,p,d,v,g,f,_,m=i.props,b=e.props,h=e.type;if(h==="svg"?n="http://www.w3.org/2000/svg":h==="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),o!=null){for(l=0;l<o.length;l++)if((g=o[l])&&"setAttribute"in g==!!h&&(h?g.localName===h:g.nodeType===3)){t=g,o[l]=null;break}}if(t==null){if(h===null)return document.createTextNode(b);t=document.createElementNS(n,h,b.is&&b),o=null,r=!1}if(h===null)m===b||r&&t.data===b||(t.data=b);else{if(o=o&&ei.call(t.childNodes),m=i.props||ht,!r&&o!=null)for(m={},l=0;l<t.attributes.length;l++)m[(g=t.attributes[l]).name]=g.value;for(l in m)if(g=m[l],l!="children"){if(l=="dangerouslySetInnerHTML")d=g;else if(l!=="key"&&!(l in b)){if(l=="value"&&"defaultValue"in b||l=="checked"&&"defaultChecked"in b)continue;oi(t,l,null,g,n)}}for(l in b)g=b[l],l=="children"?v=g:l=="dangerouslySetInnerHTML"?p=g:l=="value"?f=g:l=="checked"?_=g:l==="key"||r&&typeof g!="function"||m[l]===g||oi(t,l,g,m[l],n);if(p)r||d&&(p.__html===d.__html||p.__html===t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(d&&(t.innerHTML=""),so(t,ti(v)?v:[v],e,i,s,h==="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:i.__k&&Ye(i,0),r,c),o!=null)for(l=o.length;l--;)o[l]!=null&&to(o[l]);r||(l="value",f!==void 0&&(f!==t[l]||h==="progress"&&!f||h==="option"&&f!==m[l])&&oi(t,l,f,m[l],n),l="checked",_!==void 0&&_!==t[l]&&oi(t,l,_,m[l],n))}return t}function Xi(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(s){L.__e(s,i)}}function es(t,e,i){var s,n;if(L.unmount&&L.unmount(t),(s=t.ref)&&(s.current&&s.current!==t.__e||Xi(s,null,e)),(s=t.__c)!=null){if(s.componentWillUnmount)try{s.componentWillUnmount()}catch(o){L.__e(o,e)}s.base=s.__P=null}if(s=t.__k)for(n=0;n<s.length;n++)s[n]&&es(s[n],e,i||typeof t.type!="function");i||t.__e==null||to(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Ul(t,e,i){return this.constructor(t,i)}function ts(t,e,i){var s,n,o,a;L.__&&L.__(t,e),n=(s=typeof i=="function")?null:i&&i.__k||e.__k,o=[],a=[],Zi(e,t=(!s&&i||e).__k=u(pe,null,[t]),n||ht,ht,e.namespaceURI,!s&&i?[i]:n?null:e.firstChild?ei.call(e.childNodes):null,o,!s&&i?i:n?n.__e:e.firstChild,s,a),ao(o,t,a)}function is(t,e){var i={__c:e="__cC"+Xn++,__:t,Consumer:function(s,n){return s.children(n)},Provider:function(s){var n,o;return this.getChildContext||(n=[],(o={})[e]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&n.some(function(r){r.__e=!0,Qi(r)})},this.sub=function(a){n.push(a);var r=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.splice(n.indexOf(a),1),r&&r.call(a)}}),s.children}};return i.Provider.__=i.Consumer.contextType=i}ei=eo.slice,L={__e:function(t,e,i,s){for(var n,o,a;e=e.__;)if((n=e.__c)&&!n.__)try{if((o=n.constructor)&&o.getDerivedStateFromError!=null&&(n.setState(o.getDerivedStateFromError(t)),a=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(t,s||{}),a=n.__d),a)return n.__E=n}catch(r){t=r}throw t}},Jn=0,Se.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Re({},this.state),typeof t=="function"&&(t=t(Re({},i),this.props)),t&&Re(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),Qi(this))},Se.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Qi(this))},Se.prototype.render=pe,Ke=[],Zn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ki=function(t,e){return t.__v.__b-e.__v.__b},si.__r=0,Yi=0,Wi=ro(!1),Ji=ro(!0),Xn=0;const Bl=t=>{try{const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)return null;let i=parseInt(e[1],16),s=parseInt(e[2],16),n=parseInt(e[3],16);i/=255,s/=255,n/=255;const o=Math.max(i,s,n),a=Math.min(i,s,n);let r,c;const l=(o+a)/2;if(o===a)r=c=0;else{const p=o-a;switch(c=l>.5?p/(2-o-a):p/(o+a),o){case i:r=(s-n)/p+(s<n?6:0);break;case s:r=(n-i)/p+2;break;case n:r=(i-s)/p+4;break}r/=6}return{h:r,s:c,l}}catch{return null}},Gl=(t,e=!1)=>{let i="";const s=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return i=`${s},${n}%,${o}%`,i=e?i:`hsl(${i})`,i};var co=(t=>(t.HEX="hex",t.HSL="hsl",t))(co||{});const Hl=(t,e,i)=>{const s=e==="hex"?Bl(t):t;return s&&s.l?(s.l<.25?s.l=i===1?s.l+.1:s.l+.2:s.l<.5?s.l=i===1?s.l+.08:s.l+.16:s.l<.75?s.l=i===1?s.l+.06:s.l+.12:s.l<.9?s.l=i===1?s.l+.04:s.l+.08:s.l=.9,Gl(s)):t};var ri=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const lo="fides-embed-container",ql="fides-overlay";let ai;const ss=t=>ri(void 0,[t],function*({options:e,experience:i,i18n:s,fidesRegionString:n,cookie:o,savedConsent:a,renderOverlay:r,propertyId:c,translationOverrides:l}){const p=()=>ri(void 0,null,function*(){var d,v,g;try{if(ai&&(ts(null,ai),ai=void 0),e.fidesPrimaryColor){document.documentElement.style.setProperty("--fides-overlay-primary-color",e.fidesPrimaryColor);const _=Hl(e.fidesPrimaryColor,co.HEX,1);document.documentElement.style.setProperty("--fides-overlay-primary-button-background-hover-color",_)}let f;if(e.fidesEmbed)f=document.getElementById(lo),f||(yield ri(void 0,null,function*(){return new Promise(_=>{let m=0,b=200;const h=setInterval(()=>{f=document.getElementById(lo),f?(clearInterval(h),_()):(m+=1,m>=5&&b<1e3&&(b+=200))},b)})}));else{const _=e.overlayParentId||ql;f=document.getElementById(_),f||(f=document.createElement("div"),f.id=_,f.className="fides-overlay",document.body.prepend(f))}return f?(r&&(((d=i.experience_config)==null?void 0:d.component)===se.MODAL||((v=i.experience_config)==null?void 0:v.component)===se.BANNER_AND_MODAL||((g=i.experience_config)==null?void 0:g.component)===se.TCF_OVERLAY)&&(r({options:e,experience:i,i18n:s,fidesRegionString:n,cookie:o,savedConsent:a,propertyId:c,translationOverrides:l},f),ai=f),yield Promise.resolve()):yield Promise.reject(new Error("There was a problem rendering the Fides overlay."))}catch(f){return Promise.reject(f)}});return document?.readyState==="loading"?document.addEventListener("readystatechange",()=>ri(void 0,null,function*(){document.readyState==="interactive"&&p()})):p(),Promise.resolve()});function uo(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",i==="top"&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}var Kl=`:root{--fides-overlay-primary-color:#2b2e35;--fides-overlay-background-color:#f7fafc;--fides-overlay-embed-background-color:transparent;--fides-overlay-font-color:#4a5568;--fides-overlay-font-color-dark:#2d3748;--fides-overlay-hover-color:#edf2f7;--fides-overlay-gpc-applied-background-color:#38a169;--fides-overlay-gpc-applied-text-color:#fff;--fides-overlay-gpc-overridden-background-color:#e53e3e;--fides-overlay-gpc-overridden-text-color:#fff;--fides-overlay-brand-link-logo-color:#2b2e35;--fides-overlay-background-dark-color:#e2e8f0;--fides-overlay-width:680px;--fides-overlay-primary-button-background-color:var(
|
1
|
+
(function(C,ue){typeof exports=="object"&&typeof module<"u"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(C=typeof globalThis<"u"?globalThis:C||self,ue(C.Fides={}))})(this,function(C){"use strict";class ue extends Error{constructor(e){super(e),this.name="DecodingError"}}class we extends Error{constructor(e){super(e),this.name="EncodingError"}}class st extends Error{constructor(e){super(e),this.name="GVLError"}}class Ce extends Error{constructor(e,i,s=""){super(`invalid value ${i} passed for ${e} ${s}`),this.name="TCModelError"}}class Ci{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(e){if(!/^[0-1]+$/.test(e))throw new we("Invalid bitField");const i=e.length%this.LCM;e+=i?"0".repeat(this.LCM-i):"";let s="";for(let n=0;n<e.length;n+=this.BASIS)s+=this.DICT[parseInt(e.substr(n,this.BASIS),2)];return s}static decode(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new ue("Invalidly encoded Base64URL string");let i="";for(let s=0;s<e.length;s++){const n=this.REVERSE_DICT.get(e[s]).toString(2);i+="0".repeat(this.BASIS-n.length)+n}return i}}class Ee{static langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH","ZH-HANT"]);has(e){return Ee.langSet.has(e)}parseLanguage(e){e=e.toUpperCase();const i=e.split("-")[0];if(e.length>=2&&i.length==2){if(Ee.langSet.has(e))return e;if(Ee.langSet.has(i))return i;const s=i+"-"+i;if(Ee.langSet.has(s))return s;for(const n of Ee.langSet)if(n.indexOf(e)!==-1||n.indexOf(i)!==-1)return n}throw new Error(`unsupported language ${e}`)}forEach(e){Ee.langSet.forEach(e)}get size(){return Ee.langSet.size}}class y{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class dt{clone(){const e=new this.constructor;return Object.keys(this).forEach(s=>{const n=this.deepClone(this[s]);n!==void 0&&(e[s]=n)}),e}deepClone(e){const i=typeof e;if(i==="number"||i==="string"||i==="boolean")return e;if(e!==null&&i==="object"){if(typeof e.clone=="function")return e.clone();if(e instanceof Date)return new Date(e.getTime());if(e[Symbol.iterator]!==void 0){const s=[];for(const n of e)s.push(this.deepClone(n));return e instanceof Array?s:new e.constructor(s)}else{const s={};for(const n in e)e.hasOwnProperty(n)&&(s[n]=this.deepClone(e[n]));return s}}}}var fe;(function(t){t[t.NOT_ALLOWED=0]="NOT_ALLOWED",t[t.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",t[t.REQUIRE_LI=2]="REQUIRE_LI"})(fe||(fe={}));class me extends dt{static hashSeparator="-";purposeId_;restrictionType;constructor(e,i){super(),e!==void 0&&(this.purposeId=e),i!==void 0&&(this.restrictionType=i)}static unHash(e){const i=e.split(this.hashSeparator),s=new me;if(i.length!==2)throw new Ce("hash",e);return s.purposeId=parseInt(i[0],10),s.restrictionType=parseInt(i[1],10),s}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${me.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===fe.NOT_ALLOWED||this.restrictionType===fe.REQUIRE_CONSENT||this.restrictionType===fe.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}class xs extends dt{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(e,i,s){let n=!0;if(this.gvl?.vendors){const o=this.gvl.vendors[s];if(o)if(e===fe.NOT_ALLOWED)n=o.legIntPurposes.includes(i)||o.purposes.includes(i);else if(o.flexiblePurposes.length)switch(e){case fe.REQUIRE_CONSENT:n=o.flexiblePurposes.includes(i)&&o.legIntPurposes.includes(i);break;case fe.REQUIRE_LI:n=o.flexiblePurposes.includes(i)&&o.purposes.includes(i);break}else n=!1;else n=!1}return n}add(e,i){if(this.isOkToHave(i.restrictionType,i.purposeId,e)){const s=i.hash;this.has(s)||(this.map.set(s,new Set),this.bitLength=0),this.map.get(s).add(e)}}restrictPurposeToLegalBasis(e){const i=Array.from(this.gvl.vendorIds),s=e.hash,n=i[i.length-1],o=[...Array(n).keys()].map(a=>a+1);if(!this.has(s))this.map.set(s,new Set(o)),this.bitLength=0;else for(let a=1;a<=n;a++)this.map.get(s).add(a)}getVendors(e){let i=[];if(e){const s=e.hash;this.has(s)&&(i=Array.from(this.map.get(s)))}else{const s=new Set;this.map.forEach(n=>{n.forEach(o=>{s.add(o)})}),i=Array.from(s)}return i.sort((s,n)=>s-n)}getRestrictionType(e,i){let s;return this.getRestrictions(e).forEach(n=>{n.purposeId===i&&(s===void 0||s>n.restrictionType)&&(s=n.restrictionType)}),s}vendorHasRestriction(e,i){let s=!1;const n=this.getRestrictions(e);for(let o=0;o<n.length&&!s;o++)s=i.isSameAs(n[o]);return s}getMaxVendorId(){let e=0;return this.map.forEach(i=>{e=Math.max(Array.from(i)[i.size-1],e)}),e}getRestrictions(e){const i=[];return this.map.forEach((s,n)=>{e?s.has(e)&&i.push(me.unHash(n)):i.push(me.unHash(n))}),i}getPurposes(){const e=new Set;return this.map.forEach((i,s)=>{e.add(me.unHash(s).purposeId)}),Array.from(e)}remove(e,i){const s=i.hash,n=this.map.get(s);n&&(n.delete(e),n.size==0&&(this.map.delete(s),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach((i,s)=>{const n=me.unHash(s);Array.from(i).forEach(a=>{this.isOkToHave(n.restrictionType,n.purposeId,a)||i.delete(a)})}))}get gvl(){return this.gvl_}isEmpty(){return this.map.size===0}get numRestrictions(){return this.map.size}}var js;(function(t){t.COOKIE="cookie",t.WEB="web",t.APP="app"})(js||(js={}));var B;(function(t){t.CORE="core",t.VENDORS_DISCLOSED="vendorsDisclosed",t.VENDORS_ALLOWED="vendorsAllowed",t.PUBLISHER_TC="publisherTC"})(B||(B={}));class Is{static ID_TO_KEY=[B.CORE,B.VENDORS_DISCLOSED,B.VENDORS_ALLOWED,B.PUBLISHER_TC];static KEY_TO_ID={[B.CORE]:0,[B.VENDORS_DISCLOSED]:1,[B.VENDORS_ALLOWED]:2,[B.PUBLISHER_TC]:3}}class de extends dt{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach(i=>this.unset(i)):typeof e=="object"?this.unset(Object.keys(e).map(i=>Number(i))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach(i=>{this.maxId_=Math.max(this.maxId,i)})))}isIntMap(e){let i=typeof e=="object";return i=i&&Object.keys(e).every(s=>{let n=Number.isInteger(parseInt(s,10));return n=n&&this.isValidNumber(e[s].id),n=n&&e[s].name!==void 0,n}),i}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let i=!1;return e instanceof Set&&(i=Array.from(e).every(this.isValidNumber)),i}set(e){if(Array.isArray(e))e.forEach(i=>this.set(i));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(i=>Number(i)));else if(this.isValidNumber(e))this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0;else throw new Ce("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap")}empty(){this.set_=new Set}forEach(e){for(let i=1;i<=this.maxId;i++)e(this.has(i),i)}get size(){return this.set_.size}setAll(e){this.set(e)}}class E{static[y.cmpId]=12;static[y.cmpVersion]=12;static[y.consentLanguage]=12;static[y.consentScreen]=6;static[y.created]=36;static[y.isServiceSpecific]=1;static[y.lastUpdated]=36;static[y.policyVersion]=6;static[y.publisherCountryCode]=12;static[y.publisherLegitimateInterests]=24;static[y.publisherConsents]=24;static[y.purposeConsents]=24;static[y.purposeLegitimateInterests]=24;static[y.purposeOneTreatment]=1;static[y.specialFeatureOptins]=12;static[y.useNonStandardTexts]=1;static[y.vendorListVersion]=12;static[y.version]=6;static anyBoolean=1;static encodingType=1;static maxId=16;static numCustomPurposes=6;static numEntries=12;static numRestrictions=12;static purposeId=6;static restrictionType=2;static segmentType=3;static singleOrRange=1;static vendorId=16}class he{static encode(e){return String(Number(e))}static decode(e){return e==="1"}}class T{static encode(e,i){let s;if(typeof e=="string"&&(e=parseInt(e,10)),s=e.toString(2),s.length>i||e<0)throw new we(`${e} too large to encode into ${i}`);return s.length<i&&(s="0".repeat(i-s.length)+s),s}static decode(e,i){if(i!==e.length)throw new ue("invalid bit length");return parseInt(e,2)}}class Ps{static encode(e,i){return T.encode(Math.round(e.getTime()/100),i)}static decode(e,i){if(i!==e.length)throw new ue("invalid bit length");const s=new Date;return s.setTime(T.decode(e,i)*100),s}}class Le{static encode(e,i){let s="";for(let n=1;n<=i;n++)s+=he.encode(e.has(n));return s}static decode(e,i){if(e.length!==i)throw new ue("bitfield encoding length mismatch");const s=new de;for(let n=1;n<=i;n++)he.decode(e[n-1])&&s.set(n);return s.bitLength=e.length,s}}class Os{static encode(e,i){e=e.toUpperCase();const s=65,n=e.charCodeAt(0)-s,o=e.charCodeAt(1)-s;if(n<0||n>25||o<0||o>25)throw new we(`invalid language code: ${e}`);if(i%2===1)throw new we(`numBits must be even, ${i} is not valid`);i=i/2;const a=T.encode(n,i),r=T.encode(o,i);return a+r}static decode(e,i){let s;if(i===e.length&&!(e.length%2)){const o=e.length/2,a=T.decode(e.slice(0,o),o)+65,r=T.decode(e.slice(o),o)+65;s=String.fromCharCode(a)+String.fromCharCode(r)}else throw new ue("invalid bit length for language");return s}}class ia{static encode(e){let i=T.encode(e.numRestrictions,E.numRestrictions);if(!e.isEmpty()){const s=(n,o)=>{for(let a=n+1;a<=o;a++)if(e.gvl.vendorIds.has(a))return a;return n};e.getRestrictions().forEach(n=>{i+=T.encode(n.purposeId,E.purposeId),i+=T.encode(n.restrictionType,E.restrictionType);const o=e.getVendors(n),a=o.length;let r=0,c=0,l="";for(let p=0;p<a;p++){const d=o[p];if(c===0&&(r++,c=d),p===a-1||o[p+1]>s(d,o[a-1])){const v=d!==c;l+=he.encode(v),l+=T.encode(c,E.vendorId),v&&(l+=T.encode(d,E.vendorId)),c=0}}i+=T.encode(r,E.numEntries),i+=l})}return i}static decode(e){let i=0;const s=new xs,n=T.decode(e.substr(i,E.numRestrictions),E.numRestrictions);i+=E.numRestrictions;for(let o=0;o<n;o++){const a=T.decode(e.substr(i,E.purposeId),E.purposeId);i+=E.purposeId;const r=T.decode(e.substr(i,E.restrictionType),E.restrictionType);i+=E.restrictionType;const c=new me(a,r),l=T.decode(e.substr(i,E.numEntries),E.numEntries);i+=E.numEntries;for(let p=0;p<l;p++){const d=he.decode(e.substr(i,E.anyBoolean));i+=E.anyBoolean;const v=T.decode(e.substr(i,E.vendorId),E.vendorId);if(i+=E.vendorId,d){const g=T.decode(e.substr(i,E.vendorId),E.vendorId);if(i+=E.vendorId,g<v)throw new ue(`Invalid RangeEntry: endVendorId ${g} is less than ${v}`);for(let f=v;f<=g;f++)s.add(f,c)}else s.add(v,c)}}return s.bitLength=i,s}}var ut;(function(t){t[t.FIELD=0]="FIELD",t[t.RANGE=1]="RANGE"})(ut||(ut={}));class pt{static encode(e){const i=[];let s=[],n=T.encode(e.maxId,E.maxId),o="",a;const r=E.maxId+E.encodingType,c=r+e.maxId,l=E.vendorId*2+E.singleOrRange+E.numEntries;let p=r+E.numEntries;return e.forEach((d,v)=>{o+=he.encode(d),a=e.maxId>l&&p<c,a&&d&&(e.has(v+1)?s.length===0&&(s.push(v),p+=E.singleOrRange,p+=E.vendorId):(s.push(v),p+=E.vendorId,i.push(s),s=[]))}),a?(n+=String(ut.RANGE),n+=this.buildRangeEncoding(i)):(n+=String(ut.FIELD),n+=o),n}static decode(e,i){let s,n=0;const o=T.decode(e.substr(n,E.maxId),E.maxId);n+=E.maxId;const a=T.decode(e.charAt(n),E.encodingType);if(n+=E.encodingType,a===ut.RANGE){if(s=new de,i===1){if(e.substr(n,1)==="1")throw new ue("Unable to decode default consent=1");n++}const r=T.decode(e.substr(n,E.numEntries),E.numEntries);n+=E.numEntries;for(let c=0;c<r;c++){const l=he.decode(e.charAt(n));n+=E.singleOrRange;const p=T.decode(e.substr(n,E.vendorId),E.vendorId);if(n+=E.vendorId,l){const d=T.decode(e.substr(n,E.vendorId),E.vendorId);n+=E.vendorId;for(let v=p;v<=d;v++)s.set(v)}else s.set(p)}}else{const r=e.substr(n,o);n+=o,s=Le.decode(r,o)}return s.bitLength=n,s}static buildRangeEncoding(e){const i=e.length;let s=T.encode(i,E.numEntries);return e.forEach(n=>{const o=n.length===1;s+=he.encode(!o),s+=T.encode(n[0],E.vendorId),o||(s+=T.encode(n[1],E.vendorId))}),s}}function Ss(){return{[y.version]:T,[y.created]:Ps,[y.lastUpdated]:Ps,[y.cmpId]:T,[y.cmpVersion]:T,[y.consentScreen]:T,[y.consentLanguage]:Os,[y.vendorListVersion]:T,[y.policyVersion]:T,[y.isServiceSpecific]:he,[y.useNonStandardTexts]:he,[y.specialFeatureOptins]:Le,[y.purposeConsents]:Le,[y.purposeLegitimateInterests]:Le,[y.purposeOneTreatment]:he,[y.publisherCountryCode]:Os,[y.vendorConsents]:pt,[y.vendorLegitimateInterests]:pt,[y.publisherRestrictions]:ia,segmentType:T,[y.vendorsDisclosed]:pt,[y.vendorsAllowed]:pt,[y.publisherConsents]:Le,[y.publisherLegitimateInterests]:Le,[y.numCustomPurposes]:T,[y.publisherCustomConsents]:Le,[y.publisherCustomLegitimateInterests]:Le}}class sa{1={[B.CORE]:[y.version,y.created,y.lastUpdated,y.cmpId,y.cmpVersion,y.consentScreen,y.consentLanguage,y.vendorListVersion,y.purposeConsents,y.vendorConsents]};2={[B.CORE]:[y.version,y.created,y.lastUpdated,y.cmpId,y.cmpVersion,y.consentScreen,y.consentLanguage,y.vendorListVersion,y.policyVersion,y.isServiceSpecific,y.useNonStandardTexts,y.specialFeatureOptins,y.purposeConsents,y.purposeLegitimateInterests,y.purposeOneTreatment,y.publisherCountryCode,y.vendorConsents,y.vendorLegitimateInterests,y.publisherRestrictions],[B.PUBLISHER_TC]:[y.publisherConsents,y.publisherLegitimateInterests,y.numCustomPurposes,y.publisherCustomConsents,y.publisherCustomLegitimateInterests],[B.VENDORS_ALLOWED]:[y.vendorsAllowed],[B.VENDORS_DISCLOSED]:[y.vendorsDisclosed]}}class na{1=[B.CORE];2=[B.CORE];constructor(e,i){if(e.version===2)if(e.isServiceSpecific)this[2].push(B.PUBLISHER_TC);else{const s=!!(i&&i.isForVendors);(!s||e[y.supportOOB]===!0)&&this[2].push(B.VENDORS_DISCLOSED),s&&(e[y.supportOOB]&&e[y.vendorsAllowed].size>0&&this[2].push(B.VENDORS_ALLOWED),this[2].push(B.PUBLISHER_TC))}}}class As{static fieldSequence=new sa;static encode(e,i){let s;try{s=this.fieldSequence[String(e.version)][i]}catch{throw new we(`Unable to encode version: ${e.version}, segment: ${i}`)}let n="";i!==B.CORE&&(n=T.encode(Is.KEY_TO_ID[i],E.segmentType));const o=Ss();return s.forEach(a=>{const r=e[a],c=o[a];let l=E[a];l===void 0&&this.isPublisherCustom(a)&&(l=Number(e[y.numCustomPurposes]));try{n+=c.encode(r,l)}catch(p){throw new we(`Error encoding ${i}->${a}: ${p.message}`)}}),Ci.encode(n)}static decode(e,i,s){const n=Ci.decode(e);let o=0;s===B.CORE&&(i.version=T.decode(n.substr(o,E[y.version]),E[y.version])),s!==B.CORE&&(o+=E.segmentType);const a=this.fieldSequence[String(i.version)][s],r=Ss();return a.forEach(c=>{const l=r[c];let p=E[c];if(p===void 0&&this.isPublisherCustom(c)&&(p=Number(i[y.numCustomPurposes])),p!==0){const d=n.substr(o,p);if(l===pt?i[c]=l.decode(d,i.version):i[c]=l.decode(d,p),Number.isInteger(p))o+=p;else if(Number.isInteger(i[c].bitLength))o+=i[c].bitLength;else throw new ue(c)}}),i}static isPublisherCustom(e){return e.indexOf("publisherCustom")===0}}class oa{static processor=[e=>e,(e,i)=>{e.publisherRestrictions.gvl=i,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const s=new Map;return s.set("legIntPurposes",e.vendorLegitimateInterests),s.set("purposes",e.vendorConsents),s.forEach((n,o)=>{n.forEach((a,r)=>{if(a){const c=i.vendors[r];if(!c||c.deletedDate)n.unset(r);else if(c[o].length===0)if(o==="legIntPurposes"&&c.purposes.length===0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(o==="legIntPurposes"&&c.purposes.length>0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(e.isServiceSpecific)if(c.flexiblePurposes.length===0)n.unset(r);else{const l=e.publisherRestrictions.getRestrictions(r);let p=!1;for(let d=0,v=l.length;d<v&&!p;d++)p=l[d].restrictionType===fe.REQUIRE_CONSENT&&o==="purposes"||l[d].restrictionType===fe.REQUIRE_LI&&o==="legIntPurposes";p||n.unset(r)}else n.unset(r)}})}),e.vendorsDisclosed.set(i.vendors),e}];static process(e,i){const s=e.gvl;if(!s)throw new we("Unable to encode TCModel without a GVL");if(!s.isReady)throw new we("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");e=e.clone(),e.consentLanguage=s.language.slice(0,2).toUpperCase(),i?.version>0&&i?.version<=this.processor.length?e.version=i.version:e.version=this.processor.length;const n=e.version-1;if(!this.processor[n])throw new we(`Invalid version: ${e.version}`);return this.processor[n](e,s)}}class ra{static absCall(e,i,s,n){return new Promise((o,a)=>{const r=new XMLHttpRequest,c=()=>{if(r.readyState==XMLHttpRequest.DONE)if(r.status>=200&&r.status<300){let v=r.response;if(typeof v=="string")try{v=JSON.parse(v)}catch{}o(v)}else a(new Error(`HTTP Status: ${r.status} response type: ${r.responseType}`))},l=()=>{a(new Error("error"))},p=()=>{a(new Error("aborted"))},d=()=>{a(new Error("Timeout "+n+"ms "+e))};r.withCredentials=s,r.addEventListener("load",c),r.addEventListener("error",l),r.addEventListener("abort",p),i===null?r.open("GET",e,!0):r.open("POST",e,!0),r.responseType="json",r.timeout=n,r.ontimeout=d,r.send(i)})}static post(e,i,s=!1,n=0){return this.absCall(e,JSON.stringify(i),s,n)}static fetch(e,i=!1,s=0){return this.absCall(e,null,i,s)}}class O extends dt{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new Ee;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new st("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&e[e.length-1]!=="/"&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e,i){super();let s=O.baseUrl,n=i?.language;if(n)try{n=O.consentLanguages.parseLanguage(n)}catch(o){throw new st("Error during parsing the language: "+o.message)}if(this.lang_=n||O.DEFAULT_LANGUAGE,this.cacheLang_=n||O.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!s)throw new st("must specify GVL.baseUrl before loading GVL json");if(e>0){const o=e;O.CACHE.has(o)?(this.populate(O.CACHE.get(o)),this.readyPromise=Promise.resolve()):(s+=O.versionedFilename.replace("[VERSION]",String(o)),this.readyPromise=this.fetchJson(s))}else O.CACHE.has(O.LATEST_CACHE_KEY)?(this.populate(O.CACHE.get(O.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(s+O.latestFilename))}}static emptyLanguageCache(e){let i=!1;return e==null&&O.LANGUAGE_CACHE.size>0?(O.LANGUAGE_CACHE=new Map,i=!0):typeof e=="string"&&this.consentLanguages.has(e.toUpperCase())&&(O.LANGUAGE_CACHE.delete(e.toUpperCase()),i=!0),i}static emptyCache(e){let i=!1;return Number.isInteger(e)&&e>=0?(O.CACHE.delete(e),i=!0):e===void 0&&(O.CACHE=new Map,i=!0),i}cacheLanguage(){O.LANGUAGE_CACHE.has(this.cacheLang_)||O.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await ra.fetch(e))}catch(i){throw new st(i.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const e={};for(const i of Object.keys(this.specialFeatures))e[i]=O.cloneFeature(this.specialFeatures[i]);return e}cloneFeatures(){const e={};for(const i of Object.keys(this.features))e[i]=O.cloneFeature(this.features[i]);return e}cloneStacks(){const e={};for(const i of Object.keys(this.stacks))e[i]=O.cloneStack(this.stacks[i]);return e}cloneDataCategories(){const e={};for(const i of Object.keys(this.dataCategories))e[i]=O.cloneDataCategory(this.dataCategories[i]);return e}cloneSpecialPurposes(){const e={};for(const i of Object.keys(this.specialPurposes))e[i]=O.clonePurpose(this.specialPurposes[i]);return e}clonePurposes(){const e={};for(const i of Object.keys(this.purposes))e[i]=O.clonePurpose(this.purposes[i]);return e}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{...typeof e.stdRetention=="number"?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map(i=>({langId:i.langId,privacy:i.privacy,...i.legIntClaim?{legIntClaim:i.legIntClaim}:{}}))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},...typeof e.cookieMaxAgeSeconds=="number"||e.cookieMaxAgeSeconds===null?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...e.usesCookies!==void 0?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...e.cookieRefresh!==void 0?{cookieRefresh:e.cookieRefresh}:{},...e.usesNonCookieAccess!==void 0?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const e={};for(const i of Object.keys(this.fullVendorList))e[i]=O.cloneVendor(this.fullVendorList[i]);return e}async changeLanguage(e){let i=e;try{i=O.consentLanguages.parseLanguage(e)}catch(n){throw new st("Error during parsing the language: "+n.message)}const s=e.toUpperCase();if(!(i.toLowerCase()===O.DEFAULT_LANGUAGE.toLowerCase()&&!O.LANGUAGE_CACHE.has(s))&&i!==this.lang_)if(this.lang_=i,O.LANGUAGE_CACHE.has(s)){const n=O.LANGUAGE_CACHE.get(s);for(const o in n)n.hasOwnProperty(o)&&(this[o]=n[o])}else{const n=O.baseUrl+O.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(n),this.cacheLang_=s,this.cacheLanguage()}catch(o){throw new st("unable to load language: "+o.message)}}}get language(){return this.lang_}isVendorList(e){return e!==void 0&&e.vendors!==void 0}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,typeof this.lastUpdated=="string"&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&O.CACHE.set(O.LATEST_CACHE_KEY,this.getJson()),O.CACHE.has(this.vendorListVersion)||O.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(i=>{this.byPurposeVendorMap[i]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(i=>{this.bySpecialPurposeVendorMap[i]=new Set}),Object.keys(this.features).forEach(i=>{this.byFeatureVendorMap[i]=new Set}),Object.keys(this.specialFeatures).forEach(i=>{this.bySpecialFeatureVendorMap[i]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(i=>+i)),this.vendorIds=new Set(e),this.vendors_=e.reduce((i,s)=>{const n=this.vendors_[String(s)];return n&&n.deletedDate===void 0&&(n.purposes.forEach(o=>{this.byPurposeVendorMap[String(o)].consent.add(s)}),n.specialPurposes.forEach(o=>{this.bySpecialPurposeVendorMap[String(o)].add(s)}),n.legIntPurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].legInt.add(s)}),n.flexiblePurposes&&n.flexiblePurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].flexible.add(s)}),n.features.forEach(o=>{this.byFeatureVendorMap[String(o)].add(s)}),n.specialFeatures.forEach(o=>{this.bySpecialFeatureVendorMap[String(o)].add(s)}),i[s]=n),i},{})}getFilteredVendors(e,i,s,n){const o=e.charAt(0).toUpperCase()+e.slice(1);let a;const r={};return e==="purpose"&&s?a=this["by"+o+"VendorMap"][String(i)][s]:a=this["by"+(n?"Special":"")+o+"VendorMap"][String(i)],a.forEach(c=>{r[String(c)]=this.vendors[String(c)]}),r}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new O(this.getJson());return this.lang_!==O.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return typeof e=="object"&&typeof e.narrowVendorsTo=="function"}}class Ei extends dt{static consentLanguages=O.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=4;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new de;purposeConsents=new de;purposeLegitimateInterests=new de;publisherConsents=new de;publisherLegitimateInterests=new de;publisherCustomConsents=new de;publisherCustomLegitimateInterests=new de;customPurposes;vendorConsents=new de;vendorLegitimateInterests=new de;vendorsDisclosed=new de;vendorsAllowed=new de;publisherRestrictions=new xs;constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){O.isInstanceOf(e)||(e=new O(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),Number.isInteger(e)&&e>1)this.cmpId_=e;else throw new Ce("cmpId",e)}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.cmpVersion_=e;else throw new Ce("cmpVersion",e)}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.consentScreen_=e;else throw new Ce("consentScreen",e)}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(/^([A-z]){2}$/.test(e))this.publisherCountryCode_=e.toUpperCase();else throw new Ce("publisherCountryCode",e)}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if(e=Number(e)>>0,e<0)throw new Ce("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new Ce("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if(typeof this.customPurposes=="object"){const i=Object.keys(this.customPurposes).sort((s,n)=>Number(s)-Number(n));e=parseInt(i.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new Ce("numCustomPurposes",e)}updated(){const e=new Date,i=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=i,this.lastUpdated=i}}class It{static encode(e,i){let s="",n;return e=oa.process(e,i),Array.isArray(i?.segments)?n=i.segments:n=new na(e,i)[""+e.version],n.forEach((o,a)=>{let r="";a<n.length-1&&(r="."),s+=As.encode(e,o)+r}),s}static decode(e,i){const s=e.split("."),n=s.length;i||(i=new Ei);for(let o=0;o<n;o++){const a=s[o],c=Ci.decode(a.charAt(0)).substr(0,E.segmentType),l=Is.ID_TO_KEY[T.decode(c,E.segmentType).toString()];As.decode(a,i,l)}return i}}var aa=Object.defineProperty,ca=(t,e,i)=>e in t?aa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,xi=(t,e,i)=>ca(t,typeof e!="symbol"?e+"":e,i);class Ne{constructor(e,i,s){xi(this,"consentPreference"),xi(this,"notice"),xi(this,"noticeHistoryId"),this.notice=e,this.consentPreference=i,this.noticeHistoryId=s}}C.TCMobileDataVals=void 0,(t=>{(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFgdprApplies||(t.IABTCFgdprApplies={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFPurposeOneTreatment||(t.IABTCFPurposeOneTreatment={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFUseNonStandardTexts||(t.IABTCFUseNonStandardTexts={}))})(C.TCMobileDataVals||(C.TCMobileDataVals={}));var Ts=(t=>(t.GPP_US_NATIONAL="gpp_us_national",t.GPP_US_STATE="gpp_us_state",t))(Ts||{}),zs=(t=>(t.FRONTEND="frontend",t.SYSTEM_WIDE="system_wide",t.NOT_APPLICABLE="not_applicable",t))(zs||{}),ie=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.NOTICE_ONLY="notice_only",t))(ie||{}),oe=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.ACKNOWLEDGE="acknowledge",t.NOT_APPLICABLE="not_applicable",t.TCF="tcf",t))(oe||{}),nt=(t=>(t.OMIT="omit",t.INCLUDE="include",t))(nt||{}),Ve=(t=>(t.BOOLEAN="boolean",t.CONSENT_MECHANISM="consent_mechanism",t))(Ve||{}),$e=(t=>(t.THROW="throw",t.WARN="warn",t.IGNORE="ignore",t))($e||{}),se=(t=>(t.OVERLAY="overlay",t.BANNER_AND_MODAL="banner_and_modal",t.MODAL="modal",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.HEADLESS="headless",t))(se||{}),Ls=(t=>(t.ALWAYS_ENABLED="always_enabled",t.ENABLED_WHERE_REQUIRED="enabled_where_required",t.ALWAYS_DISABLED="always_disabled",t))(Ls||{}),Fe=(t=>(t.OPTIONS="options",t.EXPERIENCE_TRANSLATION="language",t))(Fe||{}),ve=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t))(ve||{}),Pt=(t=>(t.ACKNOWLEDGE="acknowledge",t.OPT_IN_OPT_OUT="opt_in_opt_out",t.OPT_IN_ONLY="opt_in_only",t))(Pt||{}),ji=(t=>(t.REJECT_ALL="reject_all",t.REJECT_CONSENT_ONLY="reject_consent_only",t))(ji||{}),M=(t=>(t.BUTTON="button",t.REJECT="reject",t.ACCEPT="accept",t.SCRIPT="script",t.SAVE="save",t.DISMISS="dismiss",t.GPC="gpc",t.INDIVIDUAL_NOTICE="individual_notice",t.ACKNOWLEDGE="acknowledge",t.OT_MIGRATION="ot_migration",t))(M||{}),Ns=(t=>(t.privacy_center="privacy_center",t.overlay="overlay",t.api="api",t))(Ns||{}),xe=(t=>(t.NONE="none",t.APPLIED="applied",t.OVERRIDDEN="overridden",t))(xe||{}),Me=(t=>(t.OVERLAY="overlay",t.MODAL="modal",t.BANNER="banner",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.TCF_BANNER="tcf_banner",t))(Me||{}),Ii=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ot={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */Ot.exports,function(t,e){(function(i){var s=e,n=t&&t.exports==s&&t,o=typeof Ii=="object"&&Ii;(o.global===o||o.window===o)&&(i=o);var a=function(f){this.message=f};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var r=function(f){throw new a(f)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,p=function(f){f=String(f).replace(l,"");var _=f.length;_%4==0&&(f=f.replace(/==?$/,""),_=f.length),(_%4==1||/[^+a-zA-Z0-9/]/.test(f))&&r("Invalid character: the string to be decoded is not correctly encoded.");for(var m=0,b,h,k="",w=-1;++w<_;)h=c.indexOf(f.charAt(w)),b=m%4?b*64+h:h,m++%4&&(k+=String.fromCharCode(255&b>>(-2*m&6)));return k},d=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&r("The string to be encoded contains characters outside of the Latin1 range.");for(var _=f.length%3,m="",b=-1,h,k,w,x,N=f.length-_;++b<N;)h=f.charCodeAt(b)<<16,k=f.charCodeAt(++b)<<8,w=f.charCodeAt(++b),x=h+k+w,m+=c.charAt(x>>18&63)+c.charAt(x>>12&63)+c.charAt(x>>6&63)+c.charAt(x&63);return _==2?(h=f.charCodeAt(b)<<8,k=f.charCodeAt(++b),x=h+k,m+=c.charAt(x>>10)+c.charAt(x>>4&63)+c.charAt(x<<2&63)+"="):_==1&&(x=f.charCodeAt(b),m+=c.charAt(x>>2)+c.charAt(x<<4&63)+"=="),m},v={encode:d,decode:p,version:"1.0.0"};if(s&&!s.nodeType)if(n)n.exports=v;else for(var g in v)v.hasOwnProperty(g)&&(s[g]=v[g]);else i.base64=v})(Ii)}(Ot,Ot.exports);var $s=Ot.exports;/*! js-cookie v3.0.5 | MIT */function St(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)t[s]=i[s]}return t}var la={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Pi(t,e){function i(n,o,a){if(!(typeof document>"u")){a=St({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var c in a)a[c]&&(r+="; "+c,a[c]!==!0&&(r+="="+a[c].split(";")[0]));return document.cookie=n+"="+t.write(o,n)+r}}function s(n){if(!(typeof document>"u"||arguments.length&&!n)){for(var o=document.cookie?document.cookie.split("; "):[],a={},r=0;r<o.length;r++){var c=o[r].split("="),l=c.slice(1).join("=");try{var p=decodeURIComponent(c[0]);if(a[p]=t.read(l,p),n===p)break}catch{}}return n?a[n]:a}}return Object.create({set:i,get:s,remove:function(n,o){i(n,"",St({},o,{expires:-1}))},withAttributes:function(n){return Pi(this.converter,St({},this.attributes,n))},withConverter:function(n){return Pi(St({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var da=Pi(la,{path:"/"});let At;const ua=new Uint8Array(16);function pa(){if(!At&&(At=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!At))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return At(ua)}const ee=[];for(let t=0;t<256;++t)ee.push((t+256).toString(16).slice(1));function fa(t,e=0){return ee[t[e+0]]+ee[t[e+1]]+ee[t[e+2]]+ee[t[e+3]]+"-"+ee[t[e+4]]+ee[t[e+5]]+"-"+ee[t[e+6]]+ee[t[e+7]]+"-"+ee[t[e+8]]+ee[t[e+9]]+"-"+ee[t[e+10]]+ee[t[e+11]]+ee[t[e+12]]+ee[t[e+13]]+ee[t[e+14]]+ee[t[e+15]]}var Fs={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Tt(t,e,i){if(Fs.randomUUID&&!e&&!t)return Fs.randomUUID();t=t||{};const s=t.random||(t.rng||pa)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){i=i||0;for(let n=0;n<16;++n)e[i+n]=s[n];return e}return fa(s)}const zt=(t,e)=>!!Object.keys(e).includes(t.notice_key),je=t=>!t||t===oe.OPT_OUT?!1:t===oe.OPT_IN?!0:t===oe.ACKNOWLEDGE,re=(t,e)=>t?e===ie.NOTICE_ONLY?oe.ACKNOWLEDGE:oe.OPT_IN:oe.OPT_OUT,ft=t=>typeof t=="string"?je(t):t,Ds=t=>t?t.split(",").map(e=>e.trim()).filter(Boolean):[],Rs=(t,e)=>t===void 0?!1:typeof t=="boolean"?t:e.globalPrivacyControl===!0?t.globalPrivacyControl:t.value,Lt=(t,e)=>t.consent_mechanism===ie.NOTICE_ONLY?!0:e&&zt(t,e)?!!e[t.notice_key]:je(t.default_preference);var va=(t=>(t.CONSENT="Consent",t.CONTRACT="Contract",t.LEGAL_OBLIGATIONS="Legal obligations",t.VITAL_INTERESTS="Vital interests",t.PUBLIC_INTEREST="Public interest",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(va||{}),Ie=(t=>(t.CONSENT="Consent",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(Ie||{});const Vs=407,Nt=",",Ms=[{experienceKey:"tcf_purpose_consents",tcfModelKey:"purposeConsents",enabledIdsKey:"purposesConsent"},{experienceKey:"tcf_purpose_legitimate_interests",tcfModelKey:"purposeLegitimateInterests",enabledIdsKey:"purposesLegint"},{experienceKey:"tcf_special_features",tcfModelKey:"specialFeatureOptins",enabledIdsKey:"specialFeatures"},{experienceKey:"tcf_vendor_consents",tcfModelKey:"vendorConsents",enabledIdsKey:"vendorsConsent"},{experienceKey:"tcf_vendor_legitimate_interests",tcfModelKey:"vendorLegitimateInterests",enabledIdsKey:"vendorsLegint"}],Us=[{cookieKey:"system_consent_preferences",experienceKey:"tcf_system_consents"},{cookieKey:"system_legitimate_interests_preferences",experienceKey:"tcf_system_legitimate_interests"}];Ms.filter(({experienceKey:t})=>t!=="tcf_features"&&t!=="tcf_special_purposes").map(t=>t.experienceKey);const $t=[{i18nMessageID:"static.tcf.consent",value:Ie.CONSENT.toString()},{i18nMessageID:"static.tcf.legint",value:Ie.LEGITIMATE_INTERESTS.toString()}],Ft={purposesConsent:[],customPurposesConsent:[],purposesLegint:[],specialPurposes:[],features:[],specialFeatures:[],vendorsConsent:[],vendorsLegint:[]};var ga=Object.defineProperty,_a=Object.defineProperties,ma=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable,Gs=(t,e,i)=>e in t?ga(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ue=(t,e)=>{for(var i in e||(e={}))ha.call(e,i)&&Gs(t,i,e[i]);if(Bs)for(var i of Bs(e))ba.call(e,i)&&Gs(t,i,e[i]);return t},vt=(t,e)=>_a(t,ma(e)),ya=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Oi="fides_consent",Hs=365,Dt=da.withConverter({read(t){return decodeURIComponent(t)},write(t){return encodeURIComponent(t)}}),Rt=t=>t?Object.values(t).some(e=>e!==void 0):!1,qs=()=>Tt(),ka=qs(),Si=t=>{var e;return!((e=t.fides_meta)!=null&&e.updatedAt)},Ks=t=>{const e=new Date;return{consent:t||{},identity:{fides_user_device_id:ka||qs()},fides_meta:{version:"0.9.0",createdAt:e.toISOString(),updatedAt:""},tcf_consent:{}}},Vt=t=>Dt.get(t),De=()=>{const t=Vt(Oi);if(t)try{return JSON.parse(t)}catch{try{return JSON.parse($s.decode(t))}catch{return}}},Ys=(t,e=!1)=>{const i=Ks(t);if(typeof document>"u")return i;if(e)return document.cookie="fides_consent=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT",i;let s=De();if(s!=null&&s.consent){const{consent:n}=s;Object.entries(n).forEach(([o,a])=>{n[o]=ft(a)})}if(!s)return i;try{"consent"in s&&"fides_meta"in s||(s=vt(Ue({},i),{consent:s}));const n=Ue(Ue({},t),s.consent);return s.consent=n,s}catch(n){return console.error("Unable to read consent cookie: invalid JSON.",n),i}},Ws=(t,e=!1)=>{if(typeof document>"u")return;const i=new Date().toISOString();t.fides_meta.updatedAt=i;let s=JSON.stringify(t);e&&(s=$s.encode(s));const n=window.location.hostname.split(".");let o="";for(let a=1;a<=n.length;a+=1)if(o=n.slice(-a).join("."),Dt.set(Oi,s,{path:"/",domain:o,expires:Hs})){const r=De();if(r&&r.fides_meta.updatedAt===t.fides_meta.updatedAt)break}},Ai=({experience:t,cookie:e})=>{var i;if(!t.privacy_notices)return t;const s=(i=t.privacy_notices)==null?void 0:i.map(o=>{const a=Object.keys(e.consent).includes(o.notice_key)?re(!!e.consent[o.notice_key],o.consent_mechanism):void 0;return vt(Ue({},o),{current_preference:a})});return vt(Ue({},t),{privacy_notices:s})},Js=t=>{const e={};return Us.forEach(({cookieKey:i})=>{var s;const n=(s=t[i])!=null?s:[];e[i]=Object.fromEntries(n.map(o=>[o.id,je(o.preference)]))}),e},Qs=(t,e)=>{const i={};return t?.options.forEach(({cookieKeys:s,default:n})=>{if(n===void 0)return;const o=Rs(n,e);s.forEach(a=>{const r=i[a];if(r===void 0){i[a]=o;return}i[a]=r&&o})}),i},Zs=(t,e=!0)=>{t.forEach(i=>{var s;if(Dt.remove(i.name,{path:(s=i.path)!=null?s:"/",domain:i.domain}),e){const{hostname:n}=window.location;Dt.remove(i.name,{domain:`.${n}`})}})},Ti=t=>{const e=new Map(t.map(({notice:i,consentPreference:s})=>[i.notice_key,je(s)]));return Object.fromEntries(e)},Mt=(t,e)=>ya(void 0,null,function*(){return vt(Ue({},t),{consent:Ti(e)})}),wa=t=>{const e={};return t.privacy_notices&&t.privacy_notices.forEach(i=>{i.current_preference?e[i.notice_key]=je(i.current_preference):i.default_preference&&(e[i.notice_key]=je(i.default_preference))}),e},Xs=({cookie:t,experience:e})=>{const i=wa(e);return vt(Ue({},t),{consent:i})};var Ca=Object.defineProperty,Ea=(t,e,i)=>e in t?Ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,en=(t,e,i)=>Ea(t,typeof e!="symbol"?e+"":e,i);class xa{constructor(){en(this,"cookieName","OptanonConsent"),en(this,"migrationMethod",M.OT_MIGRATION)}getConsentCookie(){return Vt(this.cookieName)}convertToFidesConsent(e,i){if(i.otFidesMapping)try{const s=decodeURIComponent(i.otFidesMapping).replace(/^'|'$/g,""),n=JSON.parse(s),o=this.parseCookieValue(e,n);return o}catch{return}}parseCookieValue(e,i){const s={},n=e.match(/groups=([^&]*)/);return!n||!n[1]||n[1].split(",").forEach(o=>{const[a,r]=o.split(":");i[a]&&i[a].forEach(c=>{const l=r==="1";s[c]===void 0&&(s[c]=l)})}),s}}var tn=(t=>(t.ONETRUST="onetrust",t))(tn||{});const zi=new Map;function ja(t,e){zi.set(t,e)}function Ia(t){t.otFidesMapping&&ja(tn.ONETRUST,new xa)}function sn(t){let e,i;if(Array.from(zi).some(([n,o])=>{const a=o.getConsentCookie();if(!a)return!1;const r=o.convertToFidesConsent(a,t);return r?(e=r,i=n,!0):!1}),!i)return{consent:void 0,method:void 0};const s=zi.get(i);return{consent:e,method:s.migrationMethod}}const nn=t=>{typeof window<"u"&&!window.fidesDebugger?window.fidesDebugger=t?console.log:()=>{}:globalThis.fidesDebugger=()=>{}},ae="en",Li="Manage preferences",Ni=/^([A-Za-z]{2,3})(?:(?:[_-]([A-Za-z0-9]{2,4}))?$|(?:(?:[_-]\w+)+))/,Pa=/^(?:([a-z]{2})(-[a-z0-9]{1,3})?|(eea))$/i,Oa=[{overrideName:"fidesEmbed",overrideType:"boolean",overrideKey:"fides_embed",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableSaveApi",overrideType:"boolean",overrideKey:"fides_disable_save_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableNoticesServedApi",overrideType:"boolean",overrideKey:"fides_disable_notices_served_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableBanner",overrideType:"boolean",overrideKey:"fides_disable_banner",validationRegex:/^(true|false)$/},{overrideName:"fidesString",overrideType:"string",overrideKey:"fides_string",validationRegex:/(.*)/},{overrideName:"fidesTcfGdprApplies",overrideType:"boolean",overrideKey:"fides_tcf_gdpr_applies",validationRegex:/^(true|false)$/},{overrideName:"fidesLocale",overrideType:"string",overrideKey:"fides_locale",validationRegex:Ni},{overrideName:"fidesPrimaryColor",overrideType:"string",overrideKey:"fides_primary_color",validationRegex:/(.*)/},{overrideName:"fidesClearCookie",overrideType:"string",overrideKey:"fides_clear_cookie",validationRegex:/(.*)/},{overrideName:"fidesConsentOverride",overrideType:"string",overrideKey:"fides_consent_override",validationRegex:/^(accept|reject)$/},{overrideName:"otFidesMapping",overrideType:"string",overrideKey:"ot_fides_mapping",validationRegex:/(.*)/},{overrideName:"fidesDisabledNotices",overrideType:"array",overrideKey:"fides_disabled_notices",validationRegex:/(.*)/,transform:Ds},{overrideName:"fidesConsentNonApplicableFlagMode",overrideType:"string",overrideKey:"fides_consent_non_applicable_flag_mode",validationRegex:/^(omit|include)$/},{overrideName:"fidesConsentFlagType",overrideType:"string",overrideKey:"fides_consent_flag_type",validationRegex:/^(boolean|consent_mechanism)$/}],Sa=[{overrideName:"title",overrideType:"string",overrideKey:"fides_title",validationRegex:/(.*)/},{overrideName:"description",overrideType:"string",overrideKey:"fides_description",validationRegex:/(.*)/},{overrideName:"privacy_policy_url",overrideType:"string",overrideKey:"fides_privacy_policy_url",validationRegex:/(.*)/},{overrideName:"override_language",overrideType:"string",overrideKey:"fides_override_language",validationRegex:Ni}],on="fides-overlay-wrapper",Aa="fides-i18n-icon",rn=["marketing","data_sales_and_sharing","data_sales_sharing_gpp_us_state","data_sharing_gpp_us_state","data_sales_gpp_us_state","targeted_advertising_gpp_us_state","sales_sharing_targeted_advertising_gpp_us_national"];var Ta=Object.defineProperty,za=Object.defineProperties,La=Object.getOwnPropertyDescriptors,an=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,cn=(t,e,i)=>e in t?Ta(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ut=(t,e)=>{for(var i in e||(e={}))Na.call(e,i)&&cn(t,i,e[i]);if(an)for(var i of an(e))$a.call(e,i)&&cn(t,i,e[i]);return t},Fa=(t,e)=>za(t,La(e));const Be=t=>!t||typeof t!="object"?!1:Object.keys(t).length===0||"id"in t,Da=t=>!!(t&&t.every(e=>e.default_preference===oe.OPT_IN)),Bt=t=>t?t.location&&Pa.test(t.location)?t.location.replace("-","_").toLowerCase():t.country&&t.region?`${t.country.toLowerCase()}_${t.region.toLowerCase()}`:null:null,ln=t=>{if(typeof t!="object"||!t.fidesApiUrl||!t.privacyCenterUrl)return!1;try{new URL(t.privacyCenterUrl),new URL(t.fidesApiUrl)}catch{return!1}return!0},dn=t=>{switch(t){case Fe.OPTIONS:return Oa;case Fe.EXPERIENCE_TRANSLATION:return Sa;default:return null}},$i=t=>{if(!Be(t))return!1;const e=t.experience_config;return e&&(e.component===se.MODAL||e.component===se.BANNER_AND_MODAL||e.component===se.TCF_OVERLAY||e.component===se.HEADLESS)?!(e.component===se.BANNER_AND_MODAL&&!(t.privacy_notices&&t.privacy_notices.length>0)):!1},Gt=t=>t.fidesConsentOverride===M.ACCEPT||t.fidesConsentOverride===M.REJECT,Ra=t=>{var e;return(e=t.default_preference)!=null?e:oe.OPT_OUT},Ht=(t,e,i,s)=>{var n,o,a,r,c,l;return s!=null&&s.fidesDisableBanner||!Be(t)?!1:((n=t.experience_config)==null?void 0:n.component)===se.TCF_OVERLAY&&e?s&&Gt(s)?!1:(o=t.meta)!=null&&o.version_hash?t.meta.version_hash!==e.tcf_version_hash:!0:((a=t.experience_config)==null?void 0:a.component)===se.MODAL||((r=t.experience_config)==null?void 0:r.component)===se.HEADLESS||!((c=t?.privacy_notices)!=null&&c.length)?!1:i?s&&Gt(s)?!1:e?.fides_meta.consentMethod===M.GPC?!0:!((l=t.privacy_notices)!=null&&l.every(p=>zt(p,i))):!0},un=t=>{t[0]==="window"&&t.shift();let e=window;for(;t.length>0;){const i=t.shift();if(typeof i>"u"||typeof e[i]!="object")return;e=e[i]}return e},Fi=({value:t,notice:e,consentContext:i})=>!i.globalPrivacyControl||!e.has_gpc_flag||e.consent_mechanism===ie.NOTICE_ONLY?xe.NONE:t?xe.OVERRIDDEN:xe.APPLIED,Di=()=>{},pn=(t,e)=>t.map(i=>{var s;const n=re(e.includes(i.notice.notice_key),i.notice.consent_mechanism);return new Ne(i.notice,n,(s=i.bestTranslation)==null?void 0:s.privacy_notice_history_id)}),fn=t=>{try{const e=JSON.stringify(t);return btoa(e.replace(/\s/g,""))}catch(e){throw new Error("Failed to encode Notice Consent string:",{cause:e})}},Ri=t=>{if(!t)return{};try{const e=atob(t),i=JSON.parse(e);return Object.fromEntries(Object.entries(i).map(([s,n])=>[s,!!n]))}catch(e){throw new Error("Failed to decode Notice Consent string:",{cause:e})}},Va=({consent:t,nonApplicableNotices:e,flagType:i,mode:s=nt.OMIT})=>{if(!(e!=null&&e.length))return t;const n=Ut({},t);return s===nt.INCLUDE?e.forEach(o=>{n[o]=i===Ve.CONSENT_MECHANISM?oe.NOT_APPLICABLE:!0}):e.forEach(o=>{delete n[o]}),n},Ma=({consent:t,flagType:e=Ve.BOOLEAN,consentMechanisms:i})=>{const s={};if(e!==Ve.CONSENT_MECHANISM)return Object.fromEntries(Object.entries(t).map(([o,a])=>[o,ft(a)]));const n=Object.values(t).some(o=>typeof o=="boolean");if(n&&!i)throw new Error("Cannot transform boolean consent values to consent mechanisms without consent mechanisms map");return n?(Object.keys(t).forEach(o=>{const a=t[o];if(typeof a=="string")s[o]=a;else{const r=i[o];s[o]=re(a,r)}}),s):Ut({},t)},gt=(t,e,i=[],s,n)=>{var o,a,r;const c=Ut({},t),l=(o=window.Fides)==null?void 0:o.options,p=(a=n??l?.fidesConsentNonApplicableFlagMode)!=null?a:nt.OMIT,d=(r=s??l?.fidesConsentFlagType)!=null?r:Ve.BOOLEAN,v={};Object.assign(v,Va({consent:{},nonApplicableNotices:e??[],flagType:d,mode:p}));const g=i.reduce((f,_)=>Fa(Ut({},f),{[_.notice_key]:_.consent_mechanism}),{});return Object.assign(v,Ma({consent:c,consentMechanisms:g,flagType:d})),v},vn=t=>{const e=t.split("~")[0];return!!(e&&["1","2"].includes(e)&&t!=null&&t.match(e==="1"?/\d~[0-9.]*$/:/\d~[0-9.]*~dv.[0-9.]*$/))};var Ua=Object.defineProperty,Ba=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,gn=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,_n=(t,e,i)=>e in t?Ua(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Vi=(t,e)=>{for(var i in e||(e={}))Ha.call(e,i)&&_n(t,i,e[i]);if(gn)for(var i of gn(e))qa.call(e,i)&&_n(t,i,e[i]);return t},Ka=(t,e)=>Ba(t,Ga(e));const J=(t,e,i)=>{var s,n,o,a,r,c,l;const p=e?Vi({},e):void 0;if(typeof window<"u"&&typeof CustomEvent<"u"){const d=Vi({consentMethod:p?.fides_meta.consentMethod},i),v=(s=performance?.mark)==null?void 0:s.call(performance,t),g=v?.startTime,f=p;f&&p!=null&&p.consent&&(f.consent=gt(p.consent,(o=(n=window.Fides)==null?void 0:n.experience)==null?void 0:o.non_applicable_privacy_notices,(r=(a=window.Fides)==null?void 0:a.experience)==null?void 0:r.privacy_notices));const _=new CustomEvent(t,{detail:Ka(Vi({},f),{debug:!!((l=(c=window.Fides)==null?void 0:c.options)!=null&&l.debug),extraDetails:d,timestamp:g}),bubbles:!0});window.dispatchEvent(_)}},mn=(t,e)=>{const i=s=>e(s.detail);return window.addEventListener(t,i),()=>{window.removeEventListener(t,i)}};var Ya=Object.defineProperty,Wa=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,bn=(t,e,i)=>e in t?Ya(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Mi=(t,e)=>{for(var i in e||(e={}))Qa.call(e,i)&&bn(t,i,e[i]);if(hn)for(var i of hn(e))Za.call(e,i)&&bn(t,i,e[i]);return t},Xa=(t,e)=>Wa(t,Ja(e)),yn=(t=>(t.GVL="gvl",t.AC="gacp",t))(yn||{});const Pe=t=>{const e=t.split(".");return e.length===1?{source:void 0,id:e[0]}:{source:e[0],id:e[1]}},Ge=(t,e)=>{if(!(e!=null&&e.vendors))return;const{source:i,id:s}=Pe(t);if(i==="gvl"||i===void 0)return e.vendors[s]},ec=t=>Pe(t).source==="gacp",tc=t=>{const{tcf_vendor_relationships:e=[]}=t;return e.map(i=>i.id).filter(i=>Ge(i,t.gvl)).map(i=>+Pe(i).id)},ic=t=>{const e=[...t.tcf_vendor_consent_ids||[],...t.tcf_vendor_legitimate_interest_ids||[]];return[...new Set(e)].filter(i=>Ge(i,t.gvl)).map(i=>+Pe(i).id)},kn=({consents:t,legints:e,relationships:i,isFidesSystem:s,gvl:n})=>{const o=[];return i.forEach(a=>{const r=t.find(p=>p.id===a.id),c=e.find(p=>p.id===a.id),l=Xa(Mi(Mi(Mi({},a),r),c),{isFidesSystem:s,isConsent:!!r,isLegint:!!c,isGvl:!!Ge(a.id,n)});o.push(l)}),o},sc=t=>{const{tcf_vendor_consents:e=[],tcf_vendor_legitimate_interests:i=[],tcf_vendor_relationships:s=[],tcf_system_consents:n=[],tcf_system_legitimate_interests:o=[],tcf_system_relationships:a=[]}=t,r=kn({consents:e,legints:i,relationships:s,isFidesSystem:!1,gvl:t.gvl}),c=kn({consents:n,legints:o,relationships:a,isFidesSystem:!0,gvl:t.gvl});return[...r,...c]},_t=t=>{if(!t)return{tc:"",ac:"",gpp:"",nc:""};const[e="",i="",s="",n=""]=t.split(Nt);return e?{tc:e,ac:i,gpp:s,nc:n}:{tc:"",ac:"",gpp:s,nc:n}},nc=t=>{if(!vn(t))return[];const[,e=""]=t.split("~");return e?e.split(".").map(i=>`${yn.AC}.${i}`):[]},oc=()=>typeof window.blueConicClient<"u"&&typeof window.blueConicClient.event<"u"&&typeof window.blueConicClient.event.subscribe<"u",qt=()=>{var t,e,i;if(!oc()||!((t=window.blueConicClient)!=null&&t.profile))return;const s=(i=(e=window.blueConicClient)==null?void 0:e.profile)==null?void 0:i.getProfile(),{consent:n}=window.Fides,o=n!==void 0&&Object.entries(n).length>0,a=rn.some(r=>n[r]);!o||a?(s.setConsentedObjectives(["iab_purpose_1","iab_purpose_2","iab_purpose_3","iab_purpose_4"]),s.setRefusedObjectives([])):(s.setConsentedObjectives(["iab_purpose_1"]),s.setRefusedObjectives(["iab_purpose_2","iab_purpose_3","iab_purpose_4"])),window.blueConicClient.profile.updateProfile()},rc=({approach:t="onetrust"}={approach:"onetrust"})=>{if(t!=="onetrust")throw new Error("Unsupported approach");window.addEventListener("FidesReady",qt),window.addEventListener("FidesUpdated",qt),window.addEventListener("onBlueConicLoaded",qt),qt()},wn=(t,e)=>{var i,s,n,o,a,r,c,l,p,d,v,g,f,_;const m=(i=window.dataLayer)!=null?i:[];window.dataLayer=m;const{detail:b,type:h}=t,{consent:k,extraDetails:w,fides_string:x,timestamp:N}=b;let F=k;const R=(a=(o=e?.flag_type)!=null?o:(n=(s=window.Fides)==null?void 0:s.options)==null?void 0:n.fidesConsentFlagType)!=null?a:Ve.BOOLEAN,$=(p=(l=e?.non_applicable_flag_mode)!=null?l:(c=(r=window.Fides)==null?void 0:r.options)==null?void 0:c.fidesConsentNonApplicableFlagMode)!=null?p:nt.OMIT,j=(g=(v=(d=window.Fides)==null?void 0:d.experience)==null?void 0:v.privacy_notices)!=null?g:[],I=(_=(f=window.Fides)==null?void 0:f.experience)==null?void 0:_.non_applicable_privacy_notices;F=gt(k,I,j,R,$);const S={consent:F,extraDetails:w,fides_string:x,timestamp:N};m.push({event:h,Fides:S})},ac=t=>{var e,i;if(Object.entries({FidesInitializing:!1,FidesInitialized:!0,FidesConsentLoaded:!0,FidesReady:!0,FidesUpdating:!0,FidesUpdated:!0,FidesUIChanged:!0,FidesUIShown:!0,FidesModalClosed:!0}).filter(([,s])=>s).map(([s])=>s).forEach(s=>{window.addEventListener(s,n=>wn(n,t))}),(e=window.Fides)!=null&&e.initialized){const{consent:s,fides_meta:n,identity:o,tcf_consent:a}=window.Fides,r=(i=performance?.getEntriesByName("FidesInitialized")[0])==null?void 0:i.startTime;wn({type:"FidesInitialized",detail:{consent:s,fides_meta:n,identity:o,tcf_consent:a,timestamp:r,extraDetails:{consentMethod:n?.consentMethod}}},t)}},cc=()=>{if(window.fbq)return window.fbq;const t={queue:[],loaded:!0,version:"2.0",push(...e){const i=window.fbq;i.callMethod?i.callMethod(...e):i.queue.push(e)}};return window.fbq=Object.assign(t.push,t),window._fbq=window.fbq,window.fbq},lc=t=>{const e=cc();e("consent",t.consent?"grant":"revoke"),t.dataUse?e("dataProcessingOptions",[]):e("dataProcessingOptions",["LDU"],1,1e3)},dc={marketing:rn,sale_of_data:["marketing","data_sales","data_sales_and_sharing","data_sales_sharing_gpp_us_state","data_sharing_gpp_us_state","data_sales_gpp_us_state","targeted_advertising_gpp_us_state"],analytics:["analytics"],preferences:["functional"]};function uc(t){var e;const i=Object.fromEntries(Object.entries(t).map(([n,o])=>[n,ft(o)])),s=Object.fromEntries(Object.entries(dc).map(([n,o])=>{const a=o.some(c=>i[c]===!0),r=o.some(c=>i[c]===!1);return[n,a||(r?!1:void 0)]}));return s.sale_of_data=(e=s.sale_of_data)!=null?e:!1,s}const Kt=t=>{window.Shopify.customerPrivacy.setTrackingConsent(uc(t),()=>{})},Cn=()=>{var t,e;(t=window.Shopify)!=null&&t.customerPrivacy||console.error("Fides could not access Shopify's customerPrivacy API"),window.addEventListener("FidesReady",i=>Kt(i.detail.consent)),window.addEventListener("FidesUpdating",i=>Kt(i.detail.consent)),window.addEventListener("FidesUpdated",i=>Kt(i.detail.consent)),(e=window.Fides)!=null&&e.initialized&&window.Fides.cookie&&Kt(window.Fides.cookie.consent)},pc=()=>{let t,e;const i=()=>{clearTimeout(t),clearTimeout(e)},s=()=>{if(window.Shopify){if(i(),window.Shopify.customerPrivacy){Cn();return}window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],n=>{if(n)throw Error("Fides could not load Shopify's consent-tracking-api");Cn()});return}e=setTimeout(s,200)};t=setTimeout(()=>{throw i(),Error("Fides.shopify was called but Shopify is not present in the page after 3 seconds.")},3e3),s()};var fc={"static.gpc":"\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629","static.gpc.description":"\u062A\u0645 \u062A\u0637\u0628\u064A\u0642 \u062A\u0641\u0636\u064A\u0644\u0643 \u0644\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629. \u0644\u0642\u062F \u0623\u0644\u063A\u064A \u0627\u0634\u062A\u0631\u0627\u0643\u0643 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u062D\u0627\u0644\u0627\u062A \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u062A\u064A \u062A\u0644\u062A\u0632\u0645 \u0628\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629.","static.gpc.status.applied":"\u062A\u0645 \u0627\u0644\u062A\u0637\u0628\u064A\u0642","static.gpc.status.overridden":"\u062A\u0645 \u0627\u0644\u062A\u062C\u0627\u0648\u0632","static.gpc.title":"\u062A\u0645 \u0627\u0643\u062A\u0634\u0627\u0641 \u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629"},vc={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438","static.gpc.description":"\u0412\u0430\u0448\u0435\u0442\u043E \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u0435 \u0437\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u0435 \u0437\u0430\u0447\u0435\u0442\u0435\u043D\u043E. \u0412\u0438\u0435 \u0441\u0442\u0435 \u0431\u0438\u043B\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0438\u0437\u043A\u043B\u044E\u0447\u0435\u043D\u0438 \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0438\u0442\u0435 \u043D\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438, \u043A\u043E\u0438\u0442\u043E \u0441\u0435 \u043E\u0442\u043D\u0430\u0441\u044F\u0442 \u043A\u044A\u043C \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u043E","static.gpc.status.overridden":"\u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0430\u0442\u043E","static.gpc.title":"\u041E\u0442\u043A\u0440\u0438\u0442\u043E \u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438"},gc={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161 izbor globalne kontrole privatnosti je uva\u017Een. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Prihva\u0107ena","static.gpc.status.overridden":"Odbijena","static.gpc.title":"Otkrivena je Globalna kontrola privatnosti"},_c={"static.gpc":"Control de privadesa global","static.gpc.description":"S\u2019ha respectat la vostra prefer\xE8ncia pel que fa al control de privadesa global. Se us ha excl\xF2s autom\xE0ticament dels casos d\u2019\xFAs de dades que s\u2019adhereixen al control de privadesa global.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Anul\xB7lat","static.gpc.title":"Control de privadesa global detectat"},mc={"static.gpc":"Glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F","static.gpc.description":"Byly dodr\u017Eeny va\u0161e glob\xE1ln\xED preference ochrany osobn\xEDch \xFAdaj\u016F. Automaticky jste byli vy\u0159azeni z pou\u017E\xEDv\xE1n\xED \xFAdaj\u016F v p\u0159\xEDpadech, na kter\xE9 se vztahuje glob\xE1ln\xED ochrana osobn\xEDch \xFAdaj\u016F.","static.gpc.status.applied":"Aplikov\xE1no","static.gpc.status.overridden":"P\u0159eps\xE1no","static.gpc.title":"Bylo zji\u0161t\u011Bna glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F"},hc={"static.gpc":"Global fortrolighedskontrol","static.gpc.description":"Din pr\xE6ference i forbindelse med global fortrolighedskontrol er blevet efterkommet. Du er automatisk blevet frameldt tilf\xE6lde af databrug, der overholder global fortrolighedskontrol.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Tilsidesat","static.gpc.title":"Der blev p\xE5vist global fortrolighedskontrol"},bc={"static.gpc":"Globale Datenschutzeinstellungen","static.gpc.description":"Ihre globale Datenschutzeinstellungen werden ber\xFCcksichtigt. Sie wurden automatisch von Anwendungsf\xE4llen ausgenommen, die nicht Ihren globalen Datenschutzeinstellungen unterliegen.","static.gpc.status.applied":"Angewendet","static.gpc.status.overridden":"\xDCberschrieben","static.gpc.title":"Globale Datenschutzeinstellungen entdeckt"},yc={"static.gpc":"\u039A\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5","static.gpc.description":"\u0397 \u03C0\u03C1\u03BF\u03C4\u03AF\u03BC\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03B7\u03C1\u03B7\u03B8\u03B5\u03AF. \u0388\u03C7\u03B5\u03C4\u03B5 \u03B5\u03BE\u03B1\u03B9\u03C1\u03B5\u03B8\u03B5\u03AF \u03B1\u03C5\u03C4\u03CC\u03BC\u03B1\u03C4\u03B1 \u03B1\u03C0\u03CC \u03C0\u03B5\u03C1\u03B9\u03C0\u03C4\u03CE\u03C3\u03B5\u03B9\u03C2 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD \u03C0\u03BF\u03C5 \u03C3\u03C5\u03BC\u03BC\u03BF\u03C1\u03C6\u03CE\u03BD\u03BF\u03BD\u03C4\u03B1\u03B9 \u03BC\u03B5 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5.","static.gpc.status.applied":"\u0395\u03C6\u03B1\u03C1\u03BC\u03CC\u03C3\u03C4\u03B7\u03BA\u03B5","static.gpc.status.overridden":"\u03A0\u03B1\u03C1\u03B1\u03BA\u03AC\u03BC\u03C6\u03B8\u03B7\u03BA\u03B5","static.gpc.title":"\u0395\u03BD\u03C4\u03BF\u03C0\u03AF\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5"},kc={"static.gpc":"Global Privacy Control","static.gpc.description":"Your global privacy control preference has been honored. You have been automatically opted out of data use cases which adhere to global privacy control.","static.gpc.status.applied":"Applied","static.gpc.status.overridden":"Overridden","static.gpc.title":"Global Privacy Control detected"},wc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le ha excluido autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Cc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le excluy\xF3 autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Ec={"static.gpc":"\xDCldine andmekaitsekontroll","static.gpc.description":"Teie \xFCldist andmekaitse-eelistust on arvestatud. Teid on automaatselt v\xE4lja arvatud andmete kasutamise juhtudest, mis j\xE4rgivad \xFCldist andmekaitsekontrolli.","static.gpc.status.applied":"Rakendatud","static.gpc.status.overridden":"T\xFChistatud","static.gpc.title":"Tuvastatud \xFCldine andmekaitsekontroll"},xc={"static.gpc":"Pribatutasun-kontrol globala","static.gpc.description":"Pribatutasun-kontrol globalaren lehentasuna bete da. Pribatutasun-kontrol globalari atxikitzen zaizkion datuen erabileren kasuetatik automatikoki baztertua izan zara.","static.gpc.status.applied":"Ezarrita","static.gpc.status.overridden":"Baliogabetuta","static.gpc.title":"Pribatutasun-kontrol globala antzeman da"},jc={"static.gpc":"Maailmanlaajunen tietosuojavalvonta","static.gpc.description":"Maailmanlaajuinen tietosuojavalvontanne on vahvistettu. Teid\xE4t on automaattisesti poistettu tietojen k\xE4ytt\xF6tapauksista, jotka noudattavat maailmanlaajuista tietosuojavalvontaa.","static.gpc.status.applied":"K\xE4yt\xF6ss\xE4","static.gpc.status.overridden":"Ohitettu","static.gpc.title":"Maailmanlaajuinen tietosuojavalvonta havaittu"},Ic={"static.gpc":"Global Privacy Control","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le global de la confidentialit\xE9 (GPC) a \xE9t\xE9 respect\xE9e. Vous avez automatiquement \xE9t\xE9 retir\xE9 des cas d\u2019usage des donn\xE9es qui adh\xE8rent au GPC.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Ignor\xE9","static.gpc.title":"Global Privacy Control (GPC) d\xE9tect\xE9"},Pc={"static.gpc":"Contr\xF4le mondial de confidentialit\xE9","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le mondial de confidentialit\xE9 a \xE9t\xE9 honor\xE9e. Vous avez \xE9t\xE9 automatiquement \xE9cart\xE9 des cas d'utilisation de donn\xE9es qui adh\xE8rent au contr\xF4le mondial de confidentialit\xE9.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Annul\xE9","static.gpc.title":"Contr\xF4le mondial de confidentialit\xE9 d\xE9tect\xE9"},Oc={"static.gpc":"Control de privacidade global","static.gpc.description":"Respetouse a s\xFAa preferencia de control de privacidade global. Foi automaticamente exclu\xEDdo dos casos de uso de datos que cumpren o control de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidade global detectado"},Sc={"static.gpc":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923","static.gpc.description":"\u0906\u092A\u0915\u0940 \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0935\u0930\u0940\u092F\u0924\u093E\u0913\u0902 \u0915\u093E \u0938\u092E\u094D\u092E\u093E\u0928 \u0915\u093F\u092F\u093E \u0917\u092F\u093E\u0964 \u0906\u092A\u0915\u094B \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u093E\u0932\u0928 \u0915\u0930\u0928\u0947 \u0935\u093E\u0932\u0947 \u0921\u0947\u091F\u093E \u0909\u092A\u092F\u094B\u0917 \u092E\u093E\u092E\u0932\u094B\u0902 \u0938\u0947 \u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u092C\u093E\u0939\u0930 \u0915\u0930 \u0926\u093F\u092F\u093E \u0917\u092F\u093E \u0939\u0948\u0964","static.gpc.status.applied":"\u0932\u093E\u0917\u0942 \u0915\u093F\u092F\u093E","static.gpc.status.overridden":"\u0913\u0935\u0930\u0930\u093E\u0907\u0921 \u0915\u093F\u092F\u093E","static.gpc.title":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u0924\u093E \u091A\u0932\u093E"},Ac={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Po\u0161tuju se va\u0161e preferencije globalne kontrole privatnosti. Automatski se isklju\u010Deni iz slu\u010Dajeve kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Primijenjeno","static.gpc.status.overridden":"Premo\u0161\u0107eno","static.gpc.title":"Primije\u0107ena je Globalna kontrola privatnosti (Global Privacy Control)"},Tc={"static.gpc":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s","static.gpc.description":"A glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1ssal kapcsolatos be\xE1ll\xEDt\xE1sai el lettek fogadva. Automatikusan kiker\xFClt azokb\xF3l az adatfelhaszn\xE1l\xE1si esetekb\u0151l, amelyek a glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1shoz tartoznak.","static.gpc.status.applied":"Alkalmazva","static.gpc.status.overridden":"Fel\xFCl\xEDrva","static.gpc.title":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s \xE9szlelve"},zc={"static.gpc":"Controllo Globale della Privacy","static.gpc.description":"Le tue preferenze del Controllo Globale della Privacy sono state prese in carico. Sei stato automaticamente escluso dai casi di utilizzo dei dati che corrispondono al Controllo Globale della Privacy.","static.gpc.status.applied":"Applicato","static.gpc.status.overridden":"Non applicato","static.gpc.title":"Controllo Globale della Privacy rilevato"},Lc={"static.gpc":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB","static.gpc.description":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306E\u8A2D\u5B9A\u306F\u5C0A\u91CD\u3055\u308C\u307E\u3059\u3002\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306B\u5F93\u3046\u30C7\u30FC\u30BF\u306E\u30E6\u30FC\u30B9\u30B1\u30FC\u30B9\u304B\u3089\u306F\u81EA\u52D5\u7684\u306B\u30AA\u30D7\u30C8\u30A2\u30A6\u30C8\u3055\u308C\u3066\u3044\u307E\u3059\u3002","static.gpc.status.applied":"\u9069\u7528","static.gpc.status.overridden":"\u5909\u66F4","static.gpc.title":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u691C\u51FA\u3057\u307E\u3057\u305F"},Nc={"static.gpc":"Visuotin\u0117 privatumo kontrol\u0117","static.gpc.description":"Buvo atsi\u017Evelgta \u012F j\u016Bs\u0173 visuotin\u0117s privatumo kontrol\u0117s pageidavim\u0105. Buvote automati\u0161kai at\u0161auktas i\u0161 duomen\u0173 naudojimo atvej\u0173, kai laikomasi visuotin\u0117s privatumo kontrol\u0117s.","static.gpc.status.applied":"Taikoma","static.gpc.status.overridden":"Nebegaliojantis","static.gpc.title":"Aptikta visuotin\u0117 privatumo kontrol\u0117"},$c={"static.gpc":"Glob\u0101l\u0101 priv\u0101tuma kontrole","static.gpc.description":"M\u0113s esam izpild\u012Bju\u0161i j\u016Bsu pras\u012Bbu kontrol\u0113t glob\u0101lo priv\u0101tumu. P\u0113c noklus\u0113juma esat no\u0146emts no datu lietojuma pieteikumiem, kas atbilst glob\u0101lajai priv\u0101tuma kontrolei.","static.gpc.status.applied":"Pielietots","static.gpc.status.overridden":"Ignor\u0113ts","static.gpc.title":"Konstat\u0113ta glob\u0101l\u0101 priv\u0101tuma kontrole"},Fc={"static.gpc":"Kontroll Globali tal-Privatezza","static.gpc.description":"Il-preferenza globali tieg\u0127ek g\u0127all-kontroll tal-privatezza \u0121iet onorata. Inti awtomatikament g\u0127a\u017Cilt li ma tibqax tu\u017Ca d-dejta f'ka\u017Cijiet li jirrispettaw il-kontroll globali tal-privatezza.","static.gpc.status.applied":"Applikat","static.gpc.status.overridden":"Maqbu\u017Ca","static.gpc.title":"Instab il-Kontroll Globali tal-Privatezza"},Dc={"static.gpc":"Global Privacy Control","static.gpc.description":"Uw Global Privacy Control-voorkeur wordt gerespecteerd. U bent automatisch afgemeld voor gegevensgebruiksscenario's die zich houden aan Global Privacy Control.","static.gpc.status.applied":"Toegepast","static.gpc.status.overridden":"Genegeerd","static.gpc.title":"Global Privacy Control gedetecteerd"},Rc={"static.gpc":"Globale personverninnstillinger","static.gpc.description":"Preferansene dine vedr\xF8rende de globale personverninnstilingene dine er godtatt. Du har automatisk takket nei til databruksaker som f\xF8lger globale personverninnstillinger.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Overstyrt","static.gpc.title":"Globale personverninnstillinger er oppdaget"},Vc={"static.gpc":"Og\xF3lna kontrola prywatno\u015Bci","static.gpc.description":"Twoja preferencja dotycz\u0105ca og\xF3lnej kontroli prywatno\u015Bci zosta\u0142a uwzgl\u0119dniona. Automatycznie odm\xF3wiono zgody na Twoje przypadki wykorzystania danych, kt\xF3re s\u0105 zgodne z Og\xF3ln\u0105 kontrol\u0105 prywatno\u015Bci.","static.gpc.status.applied":"Zastosowano","static.gpc.status.overridden":"Nadpisano","static.gpc.title":"Wykryta Og\xF3lna kontrola prywatno\u015Bci"},Mc={"static.gpc":"Controle de Privacidade Global","static.gpc.description":"Sua prefer\xEAncia global de controle de privacidade foi respeitada. Voc\xEA foi automaticamente removido dos casos de uso de dados que aderem ao controle de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controle de Privacidade Global detectado"},Uc={"static.gpc":"Controlo de Privacidade Global","static.gpc.description":"A sua prefer\xEAncia de controlo de privacidade global foi honrada. Foi automaticamente exclu\xEDdo/a dos casos de utiliza\xE7\xE3o de dados que aderem ao controlo de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controlo de Privacidade Global detetado"},Bc={"static.gpc":"Control global al confiden\u021Bialit\u0103\u021Bii","static.gpc.description":"Preferin\u021Ba dvs. de control global al confiden\u021Bialit\u0103\u021Bii a fost onorat\u0103. A\u021Bi fost exclus(\u0103) automat de la cazurile de utilizare a datelor care respect\u0103 controlul global al confiden\u021Bialit\u0103\u021Bii.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Suprascris","static.gpc.title":"A fost detectat un control global al confiden\u021Bialit\u0103\u021Bii"},Gc={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 Global Privacy Control \u0443\u0447\u0442\u0435\u043D\u0430. \u0412\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0432 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F\u0445, \u0433\u0434\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F Global Privacy Control.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.status.overridden":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.title":"\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 Global Privacy Control"},Hc={"static.gpc":"Glob\xE1lna kontrola s\xFAkromia","static.gpc.description":"Va\u0161a predvo\u013Eba pre glob\xE1lnu kontrolu s\xFAkromia bola dodr\u017Ean\xE1. Pre pr\xEDpady pou\u017Eitia, kde sa pou\u017E\xEDva glob\xE1lna kontrola s\xFAkromia, v\xE1m bol automaticky nastaven\xFD explicitn\xFD nes\xFAhlas.","static.gpc.status.applied":"Pou\u017Eit\xE1","static.gpc.status.overridden":"Prep\xEDsan\xE1","static.gpc.title":"Bola zisten\xE1 Glob\xE1lna kontrola s\xFAkromia"},qc={"static.gpc":"Global Privacy Control","static.gpc.description":"Va\u0161a nastavitev globalnega nadzora zasebnosti je bila upo\u0161tevana. Samodejno je bilo preklicano va\u0161e soglasje za tiste primere uporabe podatkov, ki se ravnajo po globalnem nadzoru zasebnosti.","static.gpc.status.applied":"Uporabljeno","static.gpc.status.overridden":"Pregla\u0161eno","static.gpc.title":"Zaznan globalni nadzor zasebnosti \xBBGlobal Privacy Control\xAB"},Kc={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0435 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438 \u0458\u0435 \u043F\u043E\u0434\u0435\u0448\u0435\u043D\u0430. \u0410\u0443\u0442\u043E\u043C\u0430\u0442\u0441\u043A\u0438 \u0441\u0442\u0435 \u0438\u0441\u043A\u0459\u0443\u0447\u0435\u043D\u0438 \u0438\u0437 \u0441\u043B\u0443\u0447\u0430\u0458\u0435\u0432\u0430 \u0443\u043F\u043E\u0442\u0440\u0435\u0431\u0435 \u043F\u043E\u0434\u0430\u0442\u0430\u043A\u0430 \u043A\u043E\u0458\u0438 \u0441\u0443 \u0443 \u0441\u043A\u043B\u0430\u0434\u0443 \u0441\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043E\u043C \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.status.overridden":"\u0417\u0430\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.title":"Global Privacy Control \u043E\u0442\u043A\u0440\u0438\u0432\u0435\u043D"},Yc={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161a globalna postavka kontrole privatnosti se po\u0161tuje. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161c\u0301enja podataka koji podle\u017Eu globalnoj kontroli privatnosti.","static.gpc.status.applied":"Primenjeno","static.gpc.status.overridden":"Zaobi\u0111eno","static.gpc.title":"Otkrivena je globalna kontrola privatnosti"},Wc={"static.gpc":"Global integritetskontroll","static.gpc.description":"Dina preferenser f\xF6r global integritetskontroll har efterf\xF6ljts. Du har automatiskt valt bort anv\xE4ndningsfall f\xF6r uppgifter som efterf\xF6ljer global integritetskontroll.","static.gpc.status.applied":"Till\xE4mpad","static.gpc.status.overridden":"\xC5sidosatt","static.gpc.title":"Global integritetskontroll uppt\xE4cktes"},Jc={"static.gpc":"Global Gizlilik Kontrol\xFC","static.gpc.description":"Global gizlilik kontrol\xFC tercihiniz yerine getirildi. Global gizlilik kontrol\xFCne uygun veri kullan\u0131m durumlar\u0131ndan otomatik olarak \xE7\u0131kar\u0131ld\u0131n\u0131z.","static.gpc.status.applied":"Uyguland\u0131","static.gpc.status.overridden":"Ge\xE7ersiz k\u0131l\u0131nd\u0131","static.gpc.title":"Global Gizlilik Kontrol\xFC tespit edildi"},Qc={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456","static.gpc.description":"\u0412\u0430\u0448\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456 \u0432\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u043E. \u0412\u0430\u0441 \u0431\u0443\u043B\u043E \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0437 \u0432\u0438\u043F\u0430\u0434\u043A\u0456\u0432 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u0430\u043D\u0438\u0445, \u044F\u043A\u0456 \u0434\u043E\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456.","static.gpc.status.applied":"\u0417\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0430\u043D\u043E","static.gpc.status.overridden":"\u041F\u0435\u0440\u0435\u0432\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u043E","static.gpc.title":"\u0412\u0438\u044F\u0432\u043B\u0435\u043D\u043E \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456"},Zc={"static.gpc":"\u5168\u5C40\u9690\u79C1\u63A7\u5236","static.gpc.description":"\u60A8\u7684\u5168\u5C40\u9690\u79C1\u63A7\u5236\u504F\u597D\u5DF2\u5F97\u5230\u5C0A\u91CD\u3002\u60A8\u5DF2\u81EA\u52A8\u9009\u62E9\u9000\u51FA\u7B26\u5408\u5168\u5C40\u9690\u79C1\u63A7\u5236\u7684\u6570\u636E\u4F7F\u7528\u6848\u4F8B\u3002","static.gpc.status.applied":"\u5DF2\u5E94\u7528","static.gpc.status.overridden":"\u88AB\u8986\u76D6","static.gpc.title":"\u68C0\u6D4B\u5230\u5168\u5C40\u9690\u79C1\u63A7\u5236"};const Ui={ar:fc,bg:vc,bs:gc,ca:_c,cs:mc,da:hc,de:bc,el:yc,en:kc,es:wc,"es-MX":Cc,et:Ec,eu:xc,fi:jc,fr:Ic,"fr-CA":Pc,gl:Oc,"hi-IN":Sc,hr:Ac,hu:Tc,it:zc,ja:Lc,lt:Nc,lv:$c,mt:Fc,nl:Dc,no:Rc,pl:Vc,"pt-BR":Mc,"pt-PT":Uc,ro:Bc,ru:Gc,sk:Hc,sl:qc,"sr-Cyrl":Kc,"sr-Latn":Yc,sv:Wc,tr:Jc,uk:Qc,zh:Zc},Xc=[{locale:"ar",label_en:"Arabic",label_original:"\u0627\u0644\u0639\u064E\u0631\u064E\u0628\u0650\u064A\u064E\u0651\u0629"},{locale:"bg",label_en:"Bulgarian",label_original:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A"},{locale:"bs",label_en:"Bosnian",label_original:"Bosanski Jezik"},{locale:"ca",label_en:"Catalan",label_original:"catal\xE0"},{locale:"cs",label_en:"Czech",label_original:"\u010Desk\xFD jazyk"},{locale:"da",label_en:"Danish",label_original:"Dansk"},{locale:"de",label_en:"German",label_original:"Deutsch"},{locale:"el",label_en:"Greek",label_original:"\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},{locale:"en",label_en:"English",label_original:"English"},{locale:"es",label_en:"Spanish",label_original:"Espa\xF1ol"},{locale:"es-MX",label_en:"Spanish (Mexico)",label_original:"Espa\xF1ol - MX"},{locale:"et",label_en:"Estonian",label_original:"Eesti"},{locale:"eu",label_en:"Basque",label_original:"euskara"},{locale:"fi",label_en:"Finnish",label_original:"Suomi"},{locale:"fr",label_en:"French",label_original:"Fran\xE7ais"},{locale:"fr-CA",label_en:"French (Canada)",label_original:"Fran\xE7ais - CA"},{locale:"gl",label_en:"Galician",label_original:"Galego"},{locale:"hi-IN",label_en:"Hindi (India)",label_original:"\u0939\u093F\u0928\u094D\u0926\u0940"},{locale:"hr",label_en:"Croatian",label_original:"Hrvatski Jezik"},{locale:"hu",label_en:"Hungarian",label_original:"magyar"},{locale:"it",label_en:"Italian",label_original:"Italiano"},{locale:"ja",label_en:"Japanese",label_original:"\u65E5\u672C\u8A9E"},{locale:"lt",label_en:"Lithuanian",label_original:"lietuvi\u0173 kalba"},{locale:"lv",label_en:"Latvian",label_original:"latvie\u0161u valoda"},{locale:"mt",label_en:"Maltese",label_original:"Malti"},{locale:"nl",label_en:"Dutch",label_original:"Nederlands"},{locale:"no",label_en:"Norwegian",label_original:"Norsk"},{locale:"pl",label_en:"Polish",label_original:"Polski"},{locale:"pt-BR",label_en:"Portuguese (Brazil)",label_original:"Portugu\xEAs - BR"},{locale:"pt-PT",label_en:"Portuguese (Portugal)",label_original:"Portugu\xEAs - PT"},{locale:"ro",label_en:"Romanian",label_original:"limba rom\xE2n\u0103"},{locale:"ru",label_en:"Russian",label_original:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A"},{locale:"sk",label_en:"Slovak",label_original:"sloven\u010Dina"},{locale:"sl",label_en:"Slovenian",label_original:"Slovenski Jezik"},{locale:"sr-Cyrl",label_en:"Serbian (Cyrillic)",label_original:"\u0441\u0440\u043F\u0441\u043A\u0438"},{locale:"sr-Latn",label_en:"Serbian (Latin)",label_original:"Srpski"},{locale:"sv",label_en:"Swedish",label_original:"Sverige"},{locale:"tr",label_en:"Turkish",label_original:"T\xFCrk\xE7e"},{locale:"uk",label_en:"Ukrainian",label_original:"\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430 \u043C\u043E\u0432\u0430"},{locale:"zh",label_en:"Chinese",label_original:"\u4E2D\u6587"}];var el=Object.defineProperty,En=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,xn=(t,e,i)=>e in t?el(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,be=(t,e)=>{for(var i in e||(e={}))tl.call(e,i)&&xn(t,i,e[i]);if(En)for(var i of En(e))il.call(e,i)&&xn(t,i,e[i]);return t};function Oe(t,e){return t.toLowerCase().replaceAll("_","-")===e.toLowerCase().replaceAll("_","-")}function sl(t,e){const i={},s=["accept_button_label","acknowledge_button_label","banner_description","banner_title","description","purpose_header","privacy_policy_link_label","privacy_policy_url","privacy_preferences_link_label","reject_button_label","save_button_label","title","modal_link_label"];if(t.translations)t.translations.forEach(n=>{const o=n.language;let a=!1;e!=null&&e.override_language&&(a=Oe(e.override_language,o));const r={};s.forEach(c=>{let l=null;e&&(a||c==="privacy_policy_url")&&(l=c in e?e[c]:null);const p=n[c];typeof p=="string"&&(r[`exp.${c}`]=l||p)}),i[o]=be(be({},r),i[o])});else{const n=ae,o={};s.forEach(a=>{const r=t[a];typeof r=="string"&&(o[`exp.${a}`]=r)}),i[n]=be(be({},o),i[n])}return i}function nl(t){var e;if((e=t?.experience_config)!=null&&e.translations){const{translations:i}=t.experience_config,s=i.find(n=>n.is_default);return s?.language}}function jn(t,e){const i={};return e.forEach(s=>{const n=Object.keys(t).find(o=>Oe(o,s));if(n){const o=t[n],a={};["purposes","specialPurposes","features","specialFeatures","stacks","dataCategories"].forEach(r=>{const c=o[r]||{};Object.keys(c).forEach(l=>{const p=c[l],d=`exp.tcf.${r}.${l}`;a[`${d}.name`]=p.name,a[`${d}.description`]=p.description,p.illustrations&&p.illustrations.length>0&&p.illustrations.forEach((v,g)=>{a[`${d}.illustrations.${g}`]=v})})}),i[s]=be(be({},a),i[s])}}),i}function ol(t){return Object.keys(Ui).forEach(e=>{t.load(e,Ui[e])}),Object.keys(Ui)}function In(t,e,i){var s;const n={},o=(s=e.available_locales)!=null&&s.length?e.available_locales:[ae];if(e!=null&&e.experience_config){const a=e.experience_config,r=sl(a,i);Object.keys(r).forEach(c=>{n[c]=be(be({},r[c]),n[c])})}o.forEach(a=>{t.load(a,n[a])})}function Pn(t,e){if(!e.gvl)return;const{locale:i}=t,s={};s[i]=e.gvl;const n=jn(s,[i]);t.load(i,n[i])}function On(t,e,i){const s=jn(e,i);i.forEach(n=>{t.load(n,s[n])})}function Yt(t){return t.locale}function Sn(t,e,i=ae){const s=t?.language;return e||s||i}function An(t,e,i=ae){const s=t.match(Ni);if(s){const[n,o]=s,a=e.find(c=>Oe(c,n));if(a)return a;const r=e.find(c=>Oe(c,o));if(r)return r}return i}function ot(t,e){return t.t(e)!==""&&t.t(e)!==e}function Bi(t,e){if(!e||!e.translations)return null;const i=Yt(t),s=e.translations.find(o=>Oe(o.language,i));return s||e.translations.find(o=>Oe(o.language,t.getDefaultLocale()))||e.translations[0]||null}function Wt(t,e){if(!e||!e.translations)return null;const i=Yt(t),s=e.translations.find(o=>Oe(o.language,i));return s||e.translations.find(o=>Oe(o.language,t.getDefaultLocale()))||e.translations[0]||null}function rl(t,e,i,s,n){var o,a,r,c,l;ol(t);const p=(o=i.available_locales)!=null&&o.length?i.available_locales:[ae];In(t,i,n);const d=Xc.filter(m=>p.includes(m.locale)),v=d.findIndex(m=>Oe(m.locale,t.getDefaultLocale()));v>0&&d.unshift(d.splice(v,1)[0]),t.setAvailableLanguages(d);const g=nl(i)||ae;t.setDefaultLocale(g);let f=g;((a=i.experience_config)==null?void 0:a.auto_detect_language)===!1||(f=Sn(e,s?.fidesLocale,g));const _=An(f,p||[],t.getDefaultLocale());if((c=(r=i.experience_config)==null?void 0:r.translations)!=null&&c.find(m=>m.language===_))t.activate(_);else{const m=Wt(t,i.experience_config);m?.language,t.activate(m?.language||_)}((l=i.experience_config)==null?void 0:l.component)===se.TCF_OVERLAY&&i.gvl&&Pn(t,i)}function al(){let t=[],e=ae,i=ae;const s={};return{setAvailableLanguages(n){t=n},get availableLanguages(){return t},activate:n=>{i=n},getDefaultLocale:()=>e,setDefaultLocale:n=>{e=n},get locale(){return i},load:(n,o)=>{s[n]=be(be({},s[n]),o)},t:n=>{if(typeof n>"u")throw new TypeError("Unexpected type for descriptor or id!");let o;if(typeof n=="string")o=n;else if(typeof n=="object"&&n.id)o=n.id;else return"";return i&&i in s&&o&&o in s[i]&&s[i][o]?s[i][o]:o}}}const cl=(t,e,i)=>{var s;let n=Li;if(!t)e.t("exp.modal_link_label")!=="exp.modal_link_label"&&(n=e.t("exp.modal_link_label"));else{const o=e.getDefaultLocale(),a=(s=i?.experience_config)==null?void 0:s.translations.find(r=>r.language===o);a!=null&&a.modal_link_label&&(n=a.modal_link_label)}return n};var ll=Object.defineProperty,dl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,pl=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,zn=(t,e,i)=>e in t?ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,mt=(t,e)=>{for(var i in e||(e={}))pl.call(e,i)&&zn(t,i,e[i]);if(Tn)for(var i of Tn(e))fl.call(e,i)&&zn(t,i,e[i]);return t},Gi=(t,e)=>dl(t,ul(e)),Jt=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())}),vl=(t=>(t.PRIVACY_EXPERIENCE="/privacy-experience",t.PRIVACY_PREFERENCES="/privacy-preferences",t.GVL_TRANSLATIONS="/privacy-experience/gvl/translations",t.NOTICES_SERVED="/notices-served",t))(vl||{});function gl(){return{}}const Ln=t=>Jt(void 0,[t],function*({userLocationString:e,userLanguageString:i,fidesApiUrl:s,apiOptions:n,propertyId:o,requestMinimalTCF:a,missingExperienceHandler:r=gl}){var c,l,p;if(n!=null&&n.getPrivacyExperienceFn)try{return yield n.getPrivacyExperienceFn(e,null)}catch(_){return r(_)}const d=[["Unescape-Safestr","true"],["Accept-Encoding","gzip, deflate"]];i&&d.push(["Accept-Language",i]);const v={method:"GET",mode:"cors",headers:d};let g=mt(mt({show_disabled:"false",region:e,component:se.OVERLAY,has_notices:"true",has_config:"true",systems_applicable:"true",exclude_gvl_languages:"true",include_meta:"true",include_gvl:"true",include_non_applicable_notices:"true"},a&&{minimal_tcf:"true"}),o&&{property_id:o});g=new URLSearchParams(g);let f;try{if(f=yield fetch(`${s}/privacy-experience?${g}`,v),!f.ok)throw new Error("Error fetching experience from Fides API")}catch(_){return r(_)}try{const _=yield f.json();if(((c=_.items)==null?void 0:c.length)<1)return{};const m=_.items&&_.items[0],b=(p=(l=m.experience_config)==null?void 0:l.translations)==null?void 0:p[0].language;return m}catch(_){return r(_)}}),Nn=(t,e)=>Jt(void 0,null,function*(){const i=new URLSearchParams;e?.forEach(a=>{i.append("language",a)});const s={method:"GET",mode:"cors"};let n;try{n=yield fetch(`${t}/privacy-experience/gvl/translations${i.size>0?"?":""}${i.toString()}`,s)}catch{return{}}return n.ok?yield n.json():{}}),$n={method:"PATCH",mode:"cors",headers:{"Content-Type":"application/json"}},_l="Fides.js",ml=(t,e,i,s,n)=>Jt(void 0,null,function*(){var o;if((o=i.apiOptions)!=null&&o.savePreferencesFn){try{yield i.apiOptions.savePreferencesFn(t,s.consent,s.fides_string,n)}catch(c){return Promise.reject(c)}return Promise.resolve()}const a=Gi(mt({},$n),{body:JSON.stringify(Gi(mt({},e),{source:_l}))});return(yield fetch(`${i.fidesApiUrl}/privacy-preferences`,a)).ok,Promise.resolve()}),hl=t=>Jt(void 0,[t],function*({request:e,options:i}){var s;if((s=i.apiOptions)!=null&&s.patchNoticesServedFn)try{return yield i.apiOptions.patchNoticesServedFn(e)}catch{return null}const n=Gi(mt({},$n),{body:JSON.stringify(e)}),o=yield fetch(`${i.fidesApiUrl}/notices-served`,n);return o.ok?o.json():null});var bl=Object.defineProperty,yl=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable,Dn=(t,e,i)=>e in t?bl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,rt=(t,e)=>{for(var i in e||(e={}))wl.call(e,i)&&Dn(t,i,e[i]);if(Fn)for(var i of Fn(e))Cl.call(e,i)&&Dn(t,i,e[i]);return t},El=(t,e)=>yl(t,kl(e)),Hi=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});function xl(t,e,i,s,n,o,a,r,c,l){return Hi(this,null,function*(){const p=(o||[]).map(v=>({preference:v.consentPreference,privacy_notice_history_id:v.noticeHistoryId||""})),d=rt({browser_identity:e.identity,preferences:p,privacy_experience_config_history_id:n,user_geography:r,method:s,served_notice_history_id:c,property_id:l},a??[]);yield ml(s,d,t,e,i)})}const Qt=t=>Hi(void 0,[t],function*({consentPreferencesToSave:e,privacyExperienceConfigHistoryId:i,experience:s,consentMethod:n,options:o,userLocationString:a,cookie:r,servedNoticeHistoryId:c,tcf:l,updateCookie:p,propertyId:d}){var v,g,f,_;if(!p&&e&&(p=h=>Mt(h,e)),!p&&!e)throw new Error("updateCookie is required");const m=yield p(r);Object.assign(r,m),Object.assign(r.fides_meta,{consentMethod:n}),J("FidesUpdating",r);const b=gt(r.consent,(g=(v=window.Fides)==null?void 0:v.experience)==null?void 0:g.non_applicable_privacy_notices,(_=(f=window.Fides)==null?void 0:f.experience)==null?void 0:_.privacy_notices);if(window.Fides.consent=b,window.Fides.fides_string=r.fides_string,window.Fides.tcf_consent=r.tcf_consent,Ws(El(rt({},r),{consent:b}),o.base64Cookie),window.Fides.saved_consent=r.consent,!o.fidesDisableSaveApi)try{yield xl(o,r,s,n,i,e,l,a,c,d)}catch{}e&&e.filter(h=>h.consentPreference===oe.OPT_OUT).forEach(h=>{var k,w;(k=h.notice)!=null&&k.cookies&&Zs(h.notice.cookies,(w=s.experience_config)==null?void 0:w.auto_subdomain_cookie_deletion)}),J("FidesUpdated",r)}),Rn=(t,e)=>Object.entries(e).reduce((i,[s,n])=>{var o,a;if(i)return i;const r=(o=t.experience.non_applicable_privacy_notices)==null?void 0:o.find(p=>p===s);if(r)return new Error(`Provided notice key '${s}' is not applicable to the current experience.`);const c=(a=t.experience.privacy_notices)==null?void 0:a.find(p=>p.notice_key===s);if(!r&&!c)return new Error(`'${s}' is not a valid notice key`);const l=c?.consent_mechanism===ie.NOTICE_ONLY;return l&&n!==!0&&n!==oe.ACKNOWLEDGE?new Error(`Invalid consent value for notice-only notice key: '${s}'. Must be \`true\` or "acknowledge"`):!l&&typeof n!="boolean"&&n!==oe.OPT_IN&&n!==oe.OPT_OUT?new Error(`Invalid consent value for notice key: '${s}'. Must be a boolean or "opt_in" or "opt_out"`):null},null),jl=(t,e,...i)=>Hi(void 0,[t,e,...i],function*(s,n,o=M.SCRIPT){var a,r,c;if(!(n!=null&&n.consent)&&!(n!=null&&n.fidesString))throw new Error("Either consent or fidesString must be provided");if(!s.experience)throw new Error("Experience must be initialized before updating consent");if(!s.cookie)throw new Error("Cookie is not initialized");const{consent:l,fidesString:p,validation:d=$e.THROW}=n;if(!Object.values($e).includes(d))throw new Error(`Validation must be one of: ${Object.values($e).join(", ")} (default is ${$e.THROW})`);const v=b=>{if(d===$e.THROW)throw new Error(b);d===$e.WARN&&console.warn(b)};let g=s.consent||{};if(l){const b=Rn(s,l);b&&v(b.message)}if(p)try{const b=_t(p);if(b.nc){g=rt(rt({},s.consent),s.decodeNoticeConsentString(b.nc));const h=Rn(s,g);h&&v(h.message)}}catch(b){const h=b instanceof Error?b.message:String(b);v(`Invalid fidesString provided: ${h}`)}else g=rt(rt({},s.consent),l);const f=[];Object.entries(g).forEach(([b,h])=>{var k,w,x,N;const F=(w=(k=s.experience)==null?void 0:k.privacy_notices)==null?void 0:w.find(R=>R.notice_key===b);if(F){const R=(N=(x=F.translations)==null?void 0:x[0])==null?void 0:N.privacy_notice_history_id;let $;typeof h=="boolean"?$=re(h,F.consent_mechanism):$=h,R&&f.push(new Ne(F,$,R))}});let _;(r=(a=s.experience.experience_config)==null?void 0:a.translations)!=null&&r.length&&(_=s.experience.experience_config.translations[0].privacy_experience_config_history_id);const m=Bt(s.geolocation)||void 0;return Qt({consentPreferencesToSave:f,privacyExperienceConfigHistoryId:_,experience:s.experience,consentMethod:o,options:s.options,userLocationString:m,cookie:s.cookie,propertyId:(c=s.config)==null?void 0:c.propertyId})}),Zt=t=>{throw new Error(t)},He=t=>{typeof window<"u"&&(window.Fides=t)},Vn=({cookie:t,experience:e})=>{let i=e;return Rt(t.consent)&&(i=Ai({experience:e,cookie:t})),i},qi=({tcfEnabled:t=!1})=>({consent:{},experience:void 0,geolocation:{},locale:ae,options:{debug:!0,isOverlayEnabled:!1,isPrefetchEnabled:!1,isGeolocationEnabled:!1,geolocationApiUrl:"",overlayParentId:null,modalLinkId:null,privacyCenterUrl:"",fidesApiUrl:"",tcfEnabled:t,gppEnabled:!1,fidesEmbed:!1,fidesDisableSaveApi:!1,fidesDisableNoticesServedApi:!1,fidesDisableBanner:!1,fidesString:null,apiOptions:null,fidesTcfGdprApplies:t,fidesJsBaseUrl:"",customOptionsPath:null,preventDismissal:!1,allowHTMLDescription:null,base64Cookie:!1,fidesPrimaryColor:null,fidesClearCookie:!1,showFidesBrandLink:!t,fidesConsentOverride:null,otFidesMapping:null,fidesDisabledNotices:null,fidesConsentNonApplicableFlagMode:null,fidesConsentFlagType:null},fides_meta:{},identity:{},tcf_consent:{},saved_consent:{},config:void 0,initialized:!1,onFidesEvent:mn,blueconic:rc,gtm:ac,meta:lc,shopify:pc,showModal:Di,getModalLinkLabel:()=>Li,encodeNoticeConsentString:fn,decodeNoticeConsentString:Ri,reinitialize(){return typeof this.init!="function"?Promise.reject(new Error("Fides.init method is not available")):((!this.config||!this.initialized)&&Zt("Fides must be initialized before reinitializing"),this.init())},shouldShowExperience(){return!(this!=null&&this.experience)||!(this!=null&&this.cookie)||!(this!=null&&this.saved_consent)||!(this!=null&&this.options)?!1:Ht(this.experience,this.cookie,this.saved_consent,this.options)},updateConsent(e){return jl(this,e)}});var Il=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Pl=(t,e)=>Il(void 0,null,function*(){if(!t||!e)return null;const i=yield fetch(e,{mode:"cors"});if(!i.ok)return null;try{return yield i.json()}catch{return null}}),Ol=()=>{var t,e,i;if(window.Fides.options.tcfEnabled&&!((e=(t=window.Fides.experience)==null?void 0:t.privacy_notices)!=null&&e.length))return!1;if(typeof((i=window.navigator)==null?void 0:i.globalPrivacyControl)=="boolean")return window.navigator.globalPrivacyControl;const s=new URL(window.location.href).searchParams.get("globalPrivacyControl");if(s==="true")return!0;if(s==="false")return!1},qe=()=>typeof window>"u"?{}:{globalPrivacyControl:Ol()};var Sl=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Al=t=>Sl(void 0,[t],function*({savedConsent:e,effectiveExperience:i,cookie:s,fidesRegionString:n,fidesOptions:o,i18n:a}){if(!i||!i.experience_config||!i.privacy_notices||i.privacy_notices.length===0)return!1;const r=qe(),{nc:c}=_t(o.fidesString||"");r.globalPrivacyControl;const{consent:l,method:p}=sn(o),d=!!l&&!!p&&!De();if(!r.globalPrivacyControl&&!c&&!d)return!1;const v=Wt(a,i.experience_config),g=v?.privacy_experience_config_history_id;let f=!1,_=!1,m=!1;const b=i.privacy_notices.map(h=>{const k=zt(h,e),w=Bi(a,h);if(d&&l){const N=l[h.notice_key];if(N!==void 0){m=!0;const F=typeof N=="boolean"?re(N,h.consent_mechanism):N;return new Ne(h,F,w?.privacy_notice_history_id)}}const x=Ri(c);if(h.consent_mechanism!==ie.NOTICE_ONLY){if(x){const N=x[h.notice_key];if(N!==void 0)return _=!0,new Ne(h,re(N,h.consent_mechanism),w?.privacy_notice_history_id)}if(r.globalPrivacyControl&&h.has_gpc_flag&&!k)return f=!0,new Ne(h,re(!1,h.consent_mechanism),w?.privacy_notice_history_id)}return new Ne(h,re(Lt(h,e),h.consent_mechanism),w?.privacy_notice_history_id)});if(f||_||m){let h=M.SCRIPT;return m&&p?h=p:_?h=M.SCRIPT:f&&(h=M.GPC),yield Qt({servedNoticeHistoryId:Tt(),consentPreferencesToSave:b,privacyExperienceConfigHistoryId:g,experience:i,consentMethod:h,options:o,userLocationString:n||void 0,cookie:s,updateCookie:k=>Mt(k,b)}),!0}return!1}),Tl=()=>{document.body.classList.add("fides-no-scroll")},Mn=()=>{document.body.classList.remove("fides-no-scroll")},zl=t=>new DOMParser().parseFromString(t,"text/html").body.textContent||"",Un=t=>{let e=0,i=200;return new Promise(s=>{const n=o=>{const a=setTimeout(()=>{const r=document.getElementById(t);r?(clearInterval(a),s(r)):(e+=1,e>=5&&i<1e3&&(i+=200),n(i))},o)};n(i)})};var Ll=Object.defineProperty,Bn=Object.getOwnPropertySymbols,Nl=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,Gn=(t,e,i)=>e in t?Ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Hn=(t,e)=>{for(var i in e||(e={}))Nl.call(e,i)&&Gn(t,i,e[i]);if(Bn)for(var i of Bn(e))$l.call(e,i)&&Gn(t,i,e[i]);return t},qn=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Fl=(t,e)=>qn(void 0,null,function*(){return Bt(t)||Bt(yield Pl(e.isGeolocationEnabled,e.geolocationApiUrl))}),Xt=(t,e)=>{const i={};if(typeof window<"u"){const s=new URLSearchParams(window.location.search),n=e.options.customOptionsPath&&e.options.customOptionsPath.split("."),o=n&&n.length>=0?un(n):window.fides_overrides,a=dn(t);a?.forEach(({overrideName:r,overrideType:c,overrideKey:l,validationRegex:p,transform:d})=>{const v=s.get(l),g=o?o[l]:void 0,f=Vt(l),_=v||g||f;_&&p.test(_.toString())&&(d?i[r]=d(_.toString()):i[r]=c==="string"?_:JSON.parse(_.toString()))})}return i},Kn=({consent:t,options:e})=>{const i=qe(),s=Qs(t,i);return Ys(s,e.fidesClearCookie)},Yn=({cookie:t,savedConsent:e,experience:i,geolocation:s,options:n,updateExperienceFromCookieConsent:o})=>{let a=i;return Be(i)&&(a=o({experience:i,cookie:t,debug:n.debug})),{consent:t.consent,fides_meta:t.fides_meta,identity:t.identity,experience:a,tcf_consent:t.tcf_consent,fides_string:t.fides_string,saved_consent:e,geolocation:s,options:n,initialized:!0}},Wn=t=>qn(void 0,[t],function*({fides:e,options:i,geolocation:s,initOverlay:n,renderOverlay:o,updateExperience:a,overrides:r,propertyId:c}){var l,p,d,v,g;let f=!0,_=null,m=()=>Li;if(!e.cookie)throw new Error("Fides cookie should be initialized");if(f=i.isOverlayEnabled,f){ln(i)||(f=!1),_=yield Fl(s,i);let x=!1;if(_?Be(e.experience)||(x=!0,e.experience=yield Ln({userLocationString:_,fidesApiUrl:i.fidesApiUrl,apiOptions:i.apiOptions,requestMinimalTCF:!1,propertyId:c})):f=!1,f&&Be(e.experience)&&$i(e.experience)){if(x){const R=a({cookie:e.cookie,experience:e.experience});e.experience=Hn(Hn({},e.experience),R)}const N=Xs({cookie:e.cookie,experience:e.experience});e.cookie=N;const F=al();if(rl(F,window?.navigator,e.experience,i,r?.experienceTranslationOverrides),e.locale=F.locale||ae,m=R=>cl(!!(R!=null&&R.disableLocalization),F,e.experience),((l=e.experience.experience_config)==null?void 0:l.component)===se.HEADLESS){const R=i.modalLinkId||"fides-modal-link";!e.experience||i.fidesEmbed||i.modalLinkId,Un(R).then($=>{document.body.classList.add("fides-overlay-modal-link-shown"),$.classList.add("fides-modal-link-shown")}),f=!1}n&&f&&n({options:i,experience:e.experience,i18n:F,fidesRegionString:_,cookie:e.cookie,savedConsent:e.saved_consent,renderOverlay:o,propertyId:c,translationOverrides:r?.experienceTranslationOverrides}).catch(R=>{}),setTimeout(Al.bind(null,{savedConsent:e.saved_consent,effectiveExperience:e.experience,cookie:e.cookie,fidesRegionString:_,fidesOptions:i,i18n:F}))}}const{fides_meta:b,identity:h,fides_string:k,tcf_consent:w}=e.cookie;return{consent:gt(e.cookie.consent,(p=e.experience)==null?void 0:p.non_applicable_privacy_notices,(d=e.experience)==null?void 0:d.privacy_notices,(v=i.fidesConsentFlagType)!=null?v:void 0,(g=i.fidesConsentNonApplicableFlagMode)!=null?g:void 0),fides_meta:b,identity:h,fides_string:k,tcf_consent:w,experience:e.experience,geolocation:s,options:i,initialized:!0,getModalLinkLabel:m}});var ei,L,Jn,Ke,Qn,Zn,Ki,Yi,Wi,Ji,Xn,ht={},eo=[],Dl=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ti=Array.isArray;function Re(t,e){for(var i in e)t[i]=e[i];return t}function to(t){var e=t.parentNode;e&&e.removeChild(t)}function u(t,e,i){var s,n,o,a={};for(o in e)o=="key"?s=e[o]:o=="ref"?n=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?ei.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)a[o]===void 0&&(a[o]=t.defaultProps[o]);return ii(t,a,s,n,null)}function ii(t,e,i,s,n){var o={type:t,props:e,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:n??++Jn,__i:-1,__u:0};return n==null&&L.vnode!=null&&L.vnode(o),o}function pe(t){return t.children}function Se(t,e){this.props=t,this.context=e}function Ye(t,e){if(e==null)return t.__?Ye(t.__,t.__i+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?Ye(t):null}function io(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return io(t)}}function Qi(t){(!t.__d&&(t.__d=!0)&&Ke.push(t)&&!si.__r++||Qn!==L.debounceRendering)&&((Qn=L.debounceRendering)||Zn)(si)}function si(){var t,e,i,s,n,o,a,r;for(Ke.sort(Ki);t=Ke.shift();)t.__d&&(e=Ke.length,s=void 0,o=(n=(i=t).__v).__e,a=[],r=[],i.__P&&((s=Re({},n)).__v=n.__v+1,L.vnode&&L.vnode(s),Zi(i.__P,s,n,i.__n,i.__P.namespaceURI,32&n.__u?[o]:null,a,o??Ye(n),!!(32&n.__u),r),s.__v=n.__v,s.__.__k[s.__i]=s,ao(a,s,r),s.__e!=o&&io(s)),Ke.length>e&&Ke.sort(Ki));si.__r=0}function so(t,e,i,s,n,o,a,r,c,l,p){var d,v,g,f,_,m=s&&s.__k||eo,b=e.length;for(i.__d=c,Rl(i,e,m),c=i.__d,d=0;d<b;d++)(g=i.__k[d])!=null&&typeof g!="boolean"&&typeof g!="function"&&(v=g.__i===-1?ht:m[g.__i]||ht,g.__i=d,Zi(t,g,v,n,o,a,r,c,l,p),f=g.__e,g.ref&&v.ref!=g.ref&&(v.ref&&Xi(v.ref,null,g),p.push(g.ref,g.__c||f,g)),_==null&&f!=null&&(_=f),65536&g.__u||v.__k===g.__k?(c&&typeof g.type=="string"&&!t.contains(c)&&(c=Ye(v)),c=no(g,c,t)):typeof g.type=="function"&&g.__d!==void 0?c=g.__d:f&&(c=f.nextSibling),g.__d=void 0,g.__u&=-196609);i.__d=c,i.__e=_}function Rl(t,e,i){var s,n,o,a,r,c=e.length,l=i.length,p=l,d=0;for(t.__k=[],s=0;s<c;s++)a=s+d,(n=t.__k[s]=(n=e[s])==null||typeof n=="boolean"||typeof n=="function"?null:typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?ii(null,n,null,null,null):ti(n)?ii(pe,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?ii(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n)!=null?(n.__=t,n.__b=t.__b+1,r=Vl(n,i,a,p),n.__i=r,o=null,r!==-1&&(p--,(o=i[r])&&(o.__u|=131072)),o==null||o.__v===null?(r==-1&&d--,typeof n.type!="function"&&(n.__u|=65536)):r!==a&&(r==a-1?d=r-a:r==a+1?d++:r>a?p>c-a?d+=r-a:d--:r<a&&d++,r!==s+d&&(n.__u|=65536))):(o=i[a])&&o.key==null&&o.__e&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=Ye(o)),es(o,o,!1),i[a]=null,p--);if(p)for(s=0;s<l;s++)(o=i[s])!=null&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=Ye(o)),es(o,o))}function no(t,e,i){var s,n;if(typeof t.type=="function"){for(s=t.__k,n=0;s&&n<s.length;n++)s[n]&&(s[n].__=t,e=no(s[n],e,i));return e}t.__e!=e&&(i.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function ni(t,e){return e=e||[],t==null||typeof t=="boolean"||(ti(t)?t.some(function(i){ni(i,e)}):e.push(t)),e}function Vl(t,e,i,s){var n=t.key,o=t.type,a=i-1,r=i+1,c=e[i];if(c===null||c&&n==c.key&&o===c.type&&(131072&c.__u)==0)return i;if(s>(c!=null&&(131072&c.__u)==0?1:0))for(;a>=0||r<e.length;){if(a>=0){if((c=e[a])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return a;a--}if(r<e.length){if((c=e[r])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return r;r++}}return-1}function oo(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Dl.test(e)?i:i+"px"}function oi(t,e,i,s,n){var o;e:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof s=="string"&&(t.style.cssText=s=""),s)for(e in s)i&&e in i||oo(t.style,e,"");if(i)for(e in i)s&&i[e]===s[e]||oo(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?s?i.u=s.u:(i.u=Yi,t.addEventListener(e,o?Ji:Wi,o)):t.removeEventListener(e,o?Ji:Wi,o);else{if(n=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=i??"";break e}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&i==1?"":i))}}function ro(t){return function(e){if(this.l){var i=this.l[e.type+t];if(e.t==null)e.t=Yi++;else if(e.t<i.u)return;return i(L.event?L.event(e):e)}}}function Zi(t,e,i,s,n,o,a,r,c,l){var p,d,v,g,f,_,m,b,h,k,w,x,N,F,R,$,j=e.type;if(e.constructor!==void 0)return null;128&i.__u&&(c=!!(32&i.__u),o=[r=e.__e=i.__e]),(p=L.__b)&&p(e);e:if(typeof j=="function")try{if(b=e.props,h="prototype"in j&&j.prototype.render,k=(p=j.contextType)&&s[p.__c],w=p?k?k.props.value:p.__:s,i.__c?m=(d=e.__c=i.__c).__=d.__E:(h?e.__c=d=new j(b,w):(e.__c=d=new Se(b,w),d.constructor=j,d.render=Ul),k&&k.sub(d),d.props=b,d.state||(d.state={}),d.context=w,d.__n=s,v=d.__d=!0,d.__h=[],d._sb=[]),h&&d.__s==null&&(d.__s=d.state),h&&j.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Re({},d.__s)),Re(d.__s,j.getDerivedStateFromProps(b,d.__s))),g=d.props,f=d.state,d.__v=e,v)h&&j.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),h&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(h&&j.getDerivedStateFromProps==null&&b!==g&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(b,w),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(b,d.__s,w)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(d.props=b,d.state=d.__s,d.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(I){I&&(I.__=e)}),x=0;x<d._sb.length;x++)d.__h.push(d._sb[x]);d._sb=[],d.__h.length&&a.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(b,d.__s,w),h&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(g,f,_)})}if(d.context=w,d.props=b,d.__P=t,d.__e=!1,N=L.__r,F=0,h){for(d.state=d.__s,d.__d=!1,N&&N(e),p=d.render(d.props,d.state,d.context),R=0;R<d._sb.length;R++)d.__h.push(d._sb[R]);d._sb=[]}else do d.__d=!1,N&&N(e),p=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++F<25);d.state=d.__s,d.getChildContext!=null&&(s=Re(Re({},s),d.getChildContext())),h&&!v&&d.getSnapshotBeforeUpdate!=null&&(_=d.getSnapshotBeforeUpdate(g,f)),so(t,ti($=p!=null&&p.type===pe&&p.key==null?p.props.children:p)?$:[$],e,i,s,n,o,a,r,c,l),d.base=e.__e,e.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(I){e.__v=null,c||o!=null?(e.__e=r,e.__u|=c?160:32,o[o.indexOf(r)]=null):(e.__e=i.__e,e.__k=i.__k),L.__e(I,e,i)}else o==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Ml(i.__e,e,i,s,n,o,a,c,l);(p=L.diffed)&&p(e)}function ao(t,e,i){e.__d=void 0;for(var s=0;s<i.length;s++)Xi(i[s],i[++s],i[++s]);L.__c&&L.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(o){o.call(n)})}catch(o){L.__e(o,n.__v)}})}function Ml(t,e,i,s,n,o,a,r,c){var l,p,d,v,g,f,_,m=i.props,b=e.props,h=e.type;if(h==="svg"?n="http://www.w3.org/2000/svg":h==="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),o!=null){for(l=0;l<o.length;l++)if((g=o[l])&&"setAttribute"in g==!!h&&(h?g.localName===h:g.nodeType===3)){t=g,o[l]=null;break}}if(t==null){if(h===null)return document.createTextNode(b);t=document.createElementNS(n,h,b.is&&b),o=null,r=!1}if(h===null)m===b||r&&t.data===b||(t.data=b);else{if(o=o&&ei.call(t.childNodes),m=i.props||ht,!r&&o!=null)for(m={},l=0;l<t.attributes.length;l++)m[(g=t.attributes[l]).name]=g.value;for(l in m)if(g=m[l],l!="children"){if(l=="dangerouslySetInnerHTML")d=g;else if(l!=="key"&&!(l in b)){if(l=="value"&&"defaultValue"in b||l=="checked"&&"defaultChecked"in b)continue;oi(t,l,null,g,n)}}for(l in b)g=b[l],l=="children"?v=g:l=="dangerouslySetInnerHTML"?p=g:l=="value"?f=g:l=="checked"?_=g:l==="key"||r&&typeof g!="function"||m[l]===g||oi(t,l,g,m[l],n);if(p)r||d&&(p.__html===d.__html||p.__html===t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(d&&(t.innerHTML=""),so(t,ti(v)?v:[v],e,i,s,h==="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:i.__k&&Ye(i,0),r,c),o!=null)for(l=o.length;l--;)o[l]!=null&&to(o[l]);r||(l="value",f!==void 0&&(f!==t[l]||h==="progress"&&!f||h==="option"&&f!==m[l])&&oi(t,l,f,m[l],n),l="checked",_!==void 0&&_!==t[l]&&oi(t,l,_,m[l],n))}return t}function Xi(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(s){L.__e(s,i)}}function es(t,e,i){var s,n;if(L.unmount&&L.unmount(t),(s=t.ref)&&(s.current&&s.current!==t.__e||Xi(s,null,e)),(s=t.__c)!=null){if(s.componentWillUnmount)try{s.componentWillUnmount()}catch(o){L.__e(o,e)}s.base=s.__P=null}if(s=t.__k)for(n=0;n<s.length;n++)s[n]&&es(s[n],e,i||typeof t.type!="function");i||t.__e==null||to(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Ul(t,e,i){return this.constructor(t,i)}function ts(t,e,i){var s,n,o,a;L.__&&L.__(t,e),n=(s=typeof i=="function")?null:i&&i.__k||e.__k,o=[],a=[],Zi(e,t=(!s&&i||e).__k=u(pe,null,[t]),n||ht,ht,e.namespaceURI,!s&&i?[i]:n?null:e.firstChild?ei.call(e.childNodes):null,o,!s&&i?i:n?n.__e:e.firstChild,s,a),ao(o,t,a)}function is(t,e){var i={__c:e="__cC"+Xn++,__:t,Consumer:function(s,n){return s.children(n)},Provider:function(s){var n,o;return this.getChildContext||(n=[],(o={})[e]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&n.some(function(r){r.__e=!0,Qi(r)})},this.sub=function(a){n.push(a);var r=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.splice(n.indexOf(a),1),r&&r.call(a)}}),s.children}};return i.Provider.__=i.Consumer.contextType=i}ei=eo.slice,L={__e:function(t,e,i,s){for(var n,o,a;e=e.__;)if((n=e.__c)&&!n.__)try{if((o=n.constructor)&&o.getDerivedStateFromError!=null&&(n.setState(o.getDerivedStateFromError(t)),a=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(t,s||{}),a=n.__d),a)return n.__E=n}catch(r){t=r}throw t}},Jn=0,Se.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Re({},this.state),typeof t=="function"&&(t=t(Re({},i),this.props)),t&&Re(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),Qi(this))},Se.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Qi(this))},Se.prototype.render=pe,Ke=[],Zn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ki=function(t,e){return t.__v.__b-e.__v.__b},si.__r=0,Yi=0,Wi=ro(!1),Ji=ro(!0),Xn=0;const Bl=t=>{try{const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)return null;let i=parseInt(e[1],16),s=parseInt(e[2],16),n=parseInt(e[3],16);i/=255,s/=255,n/=255;const o=Math.max(i,s,n),a=Math.min(i,s,n);let r,c;const l=(o+a)/2;if(o===a)r=c=0;else{const p=o-a;switch(c=l>.5?p/(2-o-a):p/(o+a),o){case i:r=(s-n)/p+(s<n?6:0);break;case s:r=(n-i)/p+2;break;case n:r=(i-s)/p+4;break}r/=6}return{h:r,s:c,l}}catch{return null}},Gl=(t,e=!1)=>{let i="";const s=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return i=`${s},${n}%,${o}%`,i=e?i:`hsl(${i})`,i};var co=(t=>(t.HEX="hex",t.HSL="hsl",t))(co||{});const Hl=(t,e,i)=>{const s=e==="hex"?Bl(t):t;return s&&s.l?(s.l<.25?s.l=i===1?s.l+.1:s.l+.2:s.l<.5?s.l=i===1?s.l+.08:s.l+.16:s.l<.75?s.l=i===1?s.l+.06:s.l+.12:s.l<.9?s.l=i===1?s.l+.04:s.l+.08:s.l=.9,Gl(s)):t};var ri=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const lo="fides-embed-container",ql="fides-overlay";let ai;const ss=t=>ri(void 0,[t],function*({options:e,experience:i,i18n:s,fidesRegionString:n,cookie:o,savedConsent:a,renderOverlay:r,propertyId:c,translationOverrides:l}){const p=()=>ri(void 0,null,function*(){var d,v,g;try{if(ai&&(ts(null,ai),ai=void 0),e.fidesPrimaryColor){document.documentElement.style.setProperty("--fides-overlay-primary-color",e.fidesPrimaryColor);const _=Hl(e.fidesPrimaryColor,co.HEX,1);document.documentElement.style.setProperty("--fides-overlay-primary-button-background-hover-color",_)}let f;if(e.fidesEmbed)f=document.getElementById(lo),f||(yield ri(void 0,null,function*(){return new Promise(_=>{let m=0,b=200;const h=setInterval(()=>{f=document.getElementById(lo),f?(clearInterval(h),_()):(m+=1,m>=5&&b<1e3&&(b+=200))},b)})}));else{const _=e.overlayParentId||ql;f=document.getElementById(_),f||(f=document.createElement("div"),f.id=_,f.className="fides-overlay",document.body.prepend(f))}return f?(r&&(((d=i.experience_config)==null?void 0:d.component)===se.MODAL||((v=i.experience_config)==null?void 0:v.component)===se.BANNER_AND_MODAL||((g=i.experience_config)==null?void 0:g.component)===se.TCF_OVERLAY)&&(r({options:e,experience:i,i18n:s,fidesRegionString:n,cookie:o,savedConsent:a,propertyId:c,translationOverrides:l},f),ai=f),yield Promise.resolve()):yield Promise.reject(new Error("There was a problem rendering the Fides overlay."))}catch(f){return Promise.reject(f)}});return document?.readyState==="loading"?document.addEventListener("readystatechange",()=>ri(void 0,null,function*(){document.readyState==="interactive"&&p()})):p(),Promise.resolve()});function uo(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",i==="top"&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}var Kl=`:root{--fides-overlay-primary-color:#2b2e35;--fides-overlay-background-color:#f7fafc;--fides-overlay-embed-background-color:transparent;--fides-overlay-font-color:#4a5568;--fides-overlay-font-color-dark:#2d3748;--fides-overlay-hover-color:#edf2f7;--fides-overlay-gpc-applied-background-color:#38a169;--fides-overlay-gpc-applied-text-color:#fff;--fides-overlay-gpc-overridden-background-color:#e53e3e;--fides-overlay-gpc-overridden-text-color:#fff;--fides-overlay-brand-link-logo-color:#2b2e35;--fides-overlay-background-dark-color:#e2e8f0;--fides-overlay-width:680px;--fides-overlay-primary-button-background-color:var(
|
2
2
|
--fides-overlay-primary-color
|
3
3
|
);--fides-overlay-primary-button-background-hover-color:#4f525b;--fides-overlay-primary-button-text-color:#fff;--fides-overlay-primary-button-border-color:transparent;--fides-overlay-secondary-button-background-color:var(
|
4
4
|
--fides-overlay-background-color
|