var OneTrustStub=(e=>{var G=function(e,t){return(G=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}G(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var a=function(){return(a=Object.assign||function(e){for(var t,i=1,n=arguments.length;ir[0]&&t[1]{for(var e=o.split(";").concat(a.split(";")).filter(function(e){return 0!==e.length}),t="",i="",n=e.length-1;0<=n;n--){var s=e[n].substring(0,e[n].indexOf(":")+1).trim();t.indexOf(s)<0&&(t+=s,i+=e[n]+";")}return i})():a;e.setAttribute("style",t)}var c,d,p,D,g,C,h,I,S,v,O,A,P,m,f,q,Y,J,z,Q,X,Z,$,ee,te,ie,ne,se,oe,ae,re,le,ce,ue,de,pe,De,ge,Ce,he,Ie,Se,ve,Oe,Ae,Pe,me,fe,Te,we,ye,be,Ne,Re,Ee,Le,Be,Ke,Ve,Ge,Me,Fe,Ue,He,ke,_e,xe,je,We,qe,Ye,Je,ze,Qe,Xe,Ze,$e,et,tt,it,nt,st,ot,at,rt,lt,ct,ut,dt,pt,Dt,gt,Ct,ht,It,St,vt=new function(){},T=((T=c=c||{}).SaleOptOut="SaleOptOutCID",T.SharingOptOut="SharingOptOutCID",T.PersonalDataConsents="PersonalDataCID",(V=d=d||{}).SharingOptOutNotice="SharingOptOutCID",V.SaleOptOutNotice="SaleOptOutCID",V.SensitiveDataLimitUseNotice="SensitivePICID || SensitiveSICID || GeolocationCID || RREPInfoCID || CommunicationCID || GeneticCID|| BiometricCID || HealthCID || SexualOrientationCID",(R=p=p||{}).KnownChildSensitiveDataConsents1="KnownChildSellPICID",R.KnownChildSensitiveDataConsents2="KnownChildSharePICID",(B=D=D||{}).SensitiveDataProcessing1="SensitivePICID",B.SensitiveDataProcessing2="SensitiveSICID",B.SensitiveDataProcessing3="GeolocationCID",B.SensitiveDataProcessing4="RREPInfoCID",B.SensitiveDataProcessing5="CommunicationCID",B.SensitiveDataProcessing6="GeneticCID",B.SensitiveDataProcessing7="BiometricCID",B.SensitiveDataProcessing8="HealthCID",B.SensitiveDataProcessing9="SexualOrientationCID",0,w.prototype.getFieldsValues=function(e,t,i,n,s,o){void 0===s&&(s=!1),void 0===o&&(o=!1);e=this.getSectionFieldsMapping(e),t=this.getSectionFieldsMapping(t,!0),i=this.getDynamicFields(i,n),n=o?this.getMSPAModeFieldValue():this.getMSPASectionFieldValue(),o=s?this.getGpcSectionFieldValue():{};return y.IsMSPAEnabled&&y.MSPAOptionMode===r.MspaServiceProviderMode&&vt.fp.CookieIABGPPV2?this.serviceProviderMode(e,t,i,n,o):a(a(a(a(a({},e),t),i),n),o)},w.prototype.serviceProviderMode=function(e,t,i,n,s){e=this.getNotApplicableValue(e),t=this.getNotApplicableValue(t),i=this.getNotApplicableValue(i);return a(a(a(a(a({},e),t),i),n),s)},w.prototype.getNotApplicableValue=function(e){var i={};return Object.entries(e).forEach(function(e){var t=e[0],e=e[1];Array.isArray(e)?i[t]=e.map(function(e){return 0}):i[t]=0}),i},w.prototype.getGpcSectionFieldValue=function(){var e={};return e[i.GpcSegmentType]=1,e[i.Gpc]=(void 0).gpcEnabled,e},w.prototype.getMSPAModeFieldValue=function(){var e={};return y.IsMSPAEnabled?(e.MspaVersion=1,e.MspaCoveredTransaction=1,y.MSPAOptionMode===r.MspaServiceProviderMode?e.MspaMode=2:y.MSPAOptionMode===r.MspaOptOutOptionMode?e.MspaMode=1:e.MspaMode=0):(e.MspaCoveredTransaction=2,e.MspaMode=0),e},w.prototype.getMSPASectionFieldValue=function(){var e={};return y.IsMSPAEnabled?(e.MspaCoveredTransaction=1,y.MSPAOptionMode===r.MspaServiceProviderMode?(e.MspaServiceProviderMode=1,e.MspaOptOutOptionMode=2):y.MSPAOptionMode===r.MspaOptOutOptionMode?(e.MspaServiceProviderMode=2,e.MspaOptOutOptionMode=1):(e.MspaServiceProviderMode=2,e.MspaOptOutOptionMode=2)):(e.MspaCoveredTransaction=2,e.MspaServiceProviderMode=0,e.MspaOptOutOptionMode=0),e},w.prototype.getDynamicArrayFieldsValue=function(e,t){for(var i={},n=[],s=this.getSectionFieldsMapping(t),o=1;o<=Object.keys(s).length;o++)n.push(s[e+o]);return i[e]=n,i},w.prototype.getDynamicFields=function(e,t){var i,n={};return y.IsGPPKnownChildApplicable&&e&&(i=this.getDynamicArrayFieldsValue(s.KnownChildSensitiveDataConsents,e),n=a(a({},n),i)),y.IsGPPDataProcessingApplicable&&t&&(i=this.getDynamicArrayFieldsValue(s.SensitiveDataProcessing,t),n=a(a({},n),i)),n},w.prototype.getSectionFieldsMapping=function(e,i){var n=this,s=(void 0===i&&(i=!1),{});return vt.fp,Object.entries(e).forEach(function(e){var t=e[0],e=n.evaluateValueOperators(e[1]);s[t]=n.calculateFieldValue(e,i)}),s},w.prototype.evaluateValueOperators=function(e){var t,i,n="",s=[];return e&&(t=e.split(" && "),i=e.split(" || "),s=(1{if("string"!=typeof e||!e||"null"===e)return!1;try{return new URL(e).origin===e}catch(e){return!1}})(i.origin)?i.origin:"*",i.source.postMessage(s?JSON.stringify(e):e,t))},n.parameter))},this.customInit||this.init()}),jt=(L.initCSPTrustedType=function(e){var n=new URL(e,location.origin);window.DOMPurify&&window.trustedTypes&&window.trustedTypes.createPolicy&&(window.OtTrustedType.TrustedTypePolicy=window.trustedTypes.createPolicy("ot-trusted-type-policy",{createHTML:function(e){return window.DOMPurify.sanitize(e)},createScript:function(e){return window.DOMPurify.sanitize(e)},createScriptURL:function(e){var t,i=[document.location.hostname,n.hostname];try{t=new URL(e,location.origin)}catch(e){return"about:blank#error"}return t.hostname&&!i.includes(t.hostname)?"about:blank#blocked":t.href}}))},L.isCspTrustedType=function(){var e;return(null==(e=window.OtTrustedType)?void 0:e.isCspTrustedTypeEnabled)&&(null==(e=window.OtTrustedType)?void 0:e.TrustedTypePolicy)},L.createScriptURL=function(e){return L.isCspTrustedType()?window.OtTrustedType.TrustedTypePolicy.createScriptURL(e):e},L.checkAndAssignCspTrustedTypeEnabled=function(e){e=null==(e=e.TenantFeatures)?void 0:e.CookieV2CSPTrustedType;return window.OtTrustedType={isCspTrustedTypeEnabled:e},e},L);function L(){}K.prototype.initConsentSDK=function(){this.initCustomEventPolyfill(),this.setStubScriptElement(),this.setOTDataLayer(),this.getParam(),this.fetchBannerSDKDependency(),this.captureNonce(),this.captureShopify()},K.prototype.captureNonce=function(){this.nonce=u.stubScriptElement.nonce||u.stubScriptElement.getAttribute("nonce")||null},K.prototype.captureShopify=function(){this.isShopify=u.stubScriptElement.hasAttribute("data-shopify-consent-mapping")},K.prototype.fetchBannerSDKDependency=function(){this.setDomainDataFileURL(),this.crossOrigin=u.stubScriptElement.getAttribute("crossorigin")||null,this.previewMode="true"===u.stubScriptElement.getAttribute("data-preview-mode"),this.otFetch(u.bannerDataParentURL,this.getLocation.bind(this),!1,null,null,!0)},K.prototype.setDomainIfBulkDomainEnabled=function(e){var t=e&&e.TenantFeatures,i=window.location.hostname,n=e.Domain,s=e.BulkDomainCheckUrl;t&&t.CookieV2BulkDomainManagement&&i!==n&&e.ScriptType===x&&((t=window.sessionStorage)&&t.getItem("bulkDomainMgmtEnabled")?this.handleBulkDomainMgmt({isValid:"true"===window.sessionStorage.getItem("bulkDomainMgmtEnabled")},e):(n={location:u.storageBaseURL.replace(/^https?:\/\//,""),domainId:this.domainId,url:i},this.otFetch(s,this.handleBulkDomainMgmt,!1,n,e)))},K.prototype.getLocation=function(e){if(this.setDomainIfBulkDomainEnabled(e),this.updateVersion(e),this.subDomainEnabled=e.SubDomainEnabled||!1,this.domainHashValue=e.DomainHashValue||"",this.scriptType=e.ScriptType||"",this.ensureHtmlGroupDataInitialised(),(e.TenantFeatures&&e.TenantFeatures.CookieV2CSP||e.CookieV2CSPEnabled)&&this.nonce&&(this.setAttributePolyfillIsActive=!0,(new j).implementThePolyfill()),jt.checkAndAssignCspTrustedTypeEnabled(e)&&jt.initCSPTrustedType(u.storageBaseURL),!e.RuleSet[0].Type)return this.iabTypeAdded=!1,window.__tcfapi=this.executeTcfApi,this.intializeIabStub(),this.addBannerSDKScript(e);var t,i=window;i.OneTrust&&i.OneTrust.geolocationResponse?(i=i.OneTrust.geolocationResponse,this.setGeoLocation(i.countryCode,i.stateCode,i.stateName),this.addBannerSDKScript(e)):(i=this.readCookieParam(u.optanonCookieName,u.geolocationCookiesParam))||e.SkipGeolocation?(t=i.split(";")[0],i=i.split(";")[1],this.setGeoLocation(t,i),this.addBannerSDKScript(e)):this.getGeoLocation(e)},K.prototype.handleBulkDomainMgmt=function(e,t){window.sessionStorage&&window.sessionStorage.setItem("bulkDomainMgmtEnabled",JSON.stringify(e.isValid)),e.isValid&&(t.Domain=window.location.hostname)},K.prototype.getGeolocationURL=function(e){e.TenantFeatures;var t=""+u.stubScriptElement.getAttribute("src").split(u.stubFileName)[0]+e.Version;return new RegExp("^file://","i").test(t)&&e.MobileSDK?(t="/"+e.GeolocationUrl.replace(/^(http|https):\/\//,"").split("/").slice(1).join("/")+".js",u.storageBaseURL+t):e.GeolocationUrl},K.prototype.geoLocationJsonCallback=function(e,t){t&&this.setGeoLocation(t.country,t.state,t.stateName),this.addBannerSDKScript(e)},K.prototype.getGeoLocation=function(e){var t=this.getGeolocationURL(e);this.otFetch(t,this.geoLocationJsonCallback.bind(this,e),!0)},K.prototype.setOTDataLayer=function(){var e="data-dLayer-ignore",t=u.stubScriptElement.hasAttribute(e),e=u.stubScriptElement.getAttribute(e);this.otDataLayer={ignore:t&&"true"===e||t&&""===e,name:this.getStubAttrOrQueryParam("data-dLayer-name")||"dataLayer"}},K.prototype.setGeoLocation=function(e,t,i){u.userLocation={country:e,state:t=void 0===t?"":t,stateName:i=void 0===i?"":i}},K.prototype.getSriHashBaseUrl=function(e){return e.ScriptType===_?u.storageBaseURL:e.CDNLocation},K.prototype.otFetch=function(e,i,t,n,s,o){void 0===t&&(t=!1),void 0===n&&(n=null),void 0===o&&(o=!1);var a=window.sessionStorage&&window.sessionStorage.getItem("otPreviewData");if(new RegExp("^file://","i").test(e))this.otFetchOfflineFile(e,i);else if(0<=e.indexOf("/consent/")&&this.previewMode&&a){a=JSON.parse(a).domainJson;i(a)}else{u.mobileOnlineURL.push(e);var r=new XMLHttpRequest,l=this;if(r.onload=function(e){var t;this&&this.responseText?t=this.responseText:e&&e.target&&(t=e.target.responseText),o&&this&&this.getResponseHeader&&(e=this.getResponseHeader("X-OneTrust-IsBot"),l.isBotHeaderDomain=!!e&&"true"===e.toLowerCase()),s?i(JSON.parse(t),s):i(JSON.parse(t))},r.onerror=function(){i()},r.open("GET",e),r.withCredentials=!1,t&&r.setRequestHeader("accept","application/json"),n)for(var c in n)r.setRequestHeader(c,n[c]);r.send()}},K.prototype.otFetchOfflineFile=function(e,t){var i=(e=e.replace(".json",".js")).split("/"),n=i[i.length-1].split(".js")[0];this.jsonp(e,function(){t(window[n])})},K.prototype.jsonp=function(e,t,i,n){void 0===i&&(i=!1),void 0===n&&(n="");var s=document.createElement("script"),o=jt.createScriptURL(e);s.setAttribute("src",o),this.nonce&&s.setAttribute("nonce",this.nonce),s.async=!0,s.type="text/javascript",i&&n&&(s.integrity=n),this.crossOrigin&&s.setAttribute("crossorigin",this.crossOrigin),document.getElementsByTagName("head")[0].appendChild(s),new RegExp("^file://","i").test(e)||u.mobileOnlineURL.push(e),t&&(s.onload=s.onerror=function(){t()})},K.prototype.getRegionSet=function(e){var t,i,n,s=u.userLocation,o=e.RuleSet.filter(function(e){return!0===e.Default});if(!s.country&&!s.state)return o&&0new Date),this.setGeoParam(this.geoFromUrl||n)},K.prototype.setGeoParam=function(e){var t;e&&((t=window).OneTrust||(t.OneTrust={}),e=e.split(","),t.OneTrust.geolocationResponse={countryCode:e[0],stateCode:e[1]})},K.prototype.updateVersion=function(e){"debug"!==this.buildType&&"cybuild"!==this.buildType||(e.Version="202610.1.0")};var B=K;function K(){var r=this;this.iabType=null,this.iabTypeAdded=!0,this.crossOrigin=null,this.isAmp=!1,this.domainId="",this.isReset=!1,this.isPreview=!1,this.geoFromUrl="",this.nonce="",this.setAttributePolyfillIsActive=!1,this.storageBaseURL="",this.charset=null,this.isShopify=!1,this.isBotHeaderDomain=!1,this.subDomainEnabled=!1,this.domainHashValue="",this.scriptType="",this.buildType="undefined",this.addBannerSDKScript=function(a){return M(r,void 0,void 0,function(){var t,i,n,s,o;return F(this,function(e){switch(e.label){case 0:return((t=this.getRegionSet(a)).GCEnable||this.isGpcSignalUnaccountedFor()||(this.updateGtmMacros(),this.gtmUpdated=!0),this.iabTypeAdded&&("IAB2"!==t.Type&&"IAB2V2"!==t.Type||(this.iabType=t.Type,this.intializeIabStub()),"IAB2"!==t.Type)&&"IAB2V2"!==t.Type&&this.removeTcf(),t.IsGPPEnabled?xt.init():xt.removeGppApi(),i=u.stubScriptElement.cloneNode(!0),n="",n=a.UseSDKRefactor?(u.isMigratedURL&&(i.src=u.storageBaseURL+"/scripttemplates/new/scripttemplates/"+u.stubFileName+".js"),u.storageBaseURL+"/scripttemplates/new/scripttemplates/"+a.Version+"/"+u.bannerScriptName):"5.11.0"===a.Version?(u.isMigratedURL&&(i.src=u.storageBaseURL+"/scripttemplates/old/scripttemplates/"+u.stubFileName+".js"),u.storageBaseURL+"/scripttemplates/old/scripttemplates/5.11.0/"+u.bannerScriptName):(u.isMigratedURL&&(i.src=u.storageBaseURL+"/scripttemplates/"+u.stubFileName+".js"),u.storageBaseURL+"/scripttemplates/"+a.Version+"/"+u.bannerScriptName),["charset","data-language","data-document-language","data-domain-script","crossorigin","data-ignore-ga"].forEach(function(e){u.stubScriptElement.getAttribute(e)&&i.setAttribute(e,u.stubScriptElement.getAttribute(e))}),this.charset=u.stubScriptElement.getAttribute("charset"),this.isAmp=!!u.stubScriptElement.getAttribute("amp"),u.stubScriptElement.getAttribute("integrity"))?(o=this.getSriHashBaseUrl(a)+"/scripttemplates/"+a.Version+"/sri-hashes.json",[4,this.fetchSriHash(o)]):[3,2];case 1:return s=e.sent(),[3,3];case 2:s=null,e.label=3;case 3:return window.otStubData={bannerBaseDataURL:u.bannerBaseDataURL,crossOrigin:this.crossOrigin,domainData:a,domainId:this.domainId,geoFromUrl:this.geoFromUrl,isAmp:this.isAmp,isPreview:this.isPreview,isReset:this.isReset,mobileOnlineURL:u.mobileOnlineURL,nonce:this.nonce,otDataLayer:this.otDataLayer,regionRule:t,setAttributePolyfillIsActive:this.setAttributePolyfillIsActive,storageBaseURL:this.storageBaseURL,stubElement:i,urlParams:this.urlParams,userLocation:u.userLocation,gtmUpdated:this.gtmUpdated,previewMode:this.previewMode,charset:this.charset,stubUrl:u.stubScriptElement.getAttribute("src"),sriHash:s,isShopify:this.isShopify,isBotHeaderDomain:this.isBotHeaderDomain},this.jsonp(n,null,!0,null==(o=s)?void 0:o["otBannerSdk.js"]),[2]}})})},this.fetchSriHash=function(i){return M(r,void 0,void 0,function(){var t;return F(this,function(e){switch(e.label){case 0:return e.trys.push([0,4,,5]),[4,fetch(i)];case 1:return(t=e.sent()).ok?[4,t.json()]:[3,3];case 2:return[2,e.sent()];case 3:return[3,5];case 4:return t=e.sent(),console.error("Error fetching SRI hash:",t),[3,5];case 5:return[2,null]}})})},this.intializeIabStub=function(){var e=window;r.iabTypeAdded?(void 0===e.__tcfapi&&(window.__tcfapi=r.executeTcfApi),r.addIabFrame()):r.addBackwardIabFrame(),e.receiveOTMessage=r.receiveIabMessage,(e.attachEvent||window.addEventListener)("message",e.receiveOTMessage,!1)},this.addIabFrame=function(){var e=window,t="__tcfapiLocator";!e.frames[t]&&(e.document.body?r.addLocator(t,"CMP"):setTimeout(r.addIabFrame,5))},this.addBackwardIabFrame=function(){var e=window,t="__tcfapiLocator";!e.frames[t]&&(e.document.body?r.addLocator(t,"TCF"):setTimeout(r.addIabFrame,5))},this.addLocator=function(e,t){var i=window,n=i.document.createElement("iframe");W(n,"display: none;",!0),n.name=e,n.setAttribute("title",t+" Locator"),i.document.body.appendChild(n)},this.receiveIabMessage=function(i){var n,s,e,o="string"==typeof i.data,t={};try{t=o?JSON.parse(i.data):i.data}catch(e){}t.__cmpCall&&"IAB2"===r.iabType&&console.log("Expecting IAB TCF v2.0 vendor iFrame call; Received IAB TCF v1.1"),t.__tcfapiCall&&"IAB2"===r.iabType&&(n=t.__tcfapiCall.callId,s=t.__tcfapiCall.command,e=t.__tcfapiCall.parameter,t=t.__tcfapiCall.version,r.executeTcfApi(s,e,function(e,t){e={__tcfapiReturn:{returnValue:e,success:t,callId:n,command:s}};i&&i.source&&i.source.postMessage&&i.source.postMessage(o?JSON.stringify(e):e,"*")},t))},this.executeTcfApi=function(){for(var e=[],t=0;t