(()=>{var r,s=108763,F=((O=r=r||{})[O.Error=0]="Error",O[O.Warning=1]="Warning",O[O.Debug=2]="Debug",["color: #fff;","background: #ff8f1c;","display: inline-block;","padding: 1px 4px;","border-radius: 3px;"].join(" ")),d=(n.Log=function(e,t){var o;n.LOGLEVEL{try{return e.localStorage}catch(e){}})(e||window),this.localStorageEnabled=this.checkLocalStorage(t)}h.prototype.checkTcfPurposeOne=function(e){return e&&null!=e&&e.gdprConsent&&e.gdprConsent.purposes?!0===e.gdprConsent.purposes[1]:"US"==this.USER_COUNTRY_MACRO||!p(this.USER_COUNTRY_MACRO)},h.prototype.setCookie=function(e,t,o,n,r){void 0===r&&(r=!1);var i=n||document,s=i.location.hostname,a=new Date,c=(a.setTime(a.getTime()+60*o*60*1e3),"expires="+a.toUTCString());if(r)for(var u=s.split("."),l=1;l{var t;try{return null!=(t=e.top)&&t.location.toString(),1}catch(e){}})(e)}function Q(e){if(void 0===e&&(e=window),!J(window))for(var t=0;t<10;t++){if(void 0!==e.googletag)return e.googletag;if(e===e.top)break;e=e.parent}return window.googletag}function Z(e){var t=Q();t||(t={},window.googletag=t),t.cmd=t.cmd||[],t.cmd.push(e)}ee.generateCacheBuster=function(){return Math.floor(99999999999*Math.random())};var P,$=ee;function ee(){}(O=P=P||{})[O.Unspecified=0]="Unspecified",O[O.AMP=1]="AMP",D.prototype.buildUrl=function(e,t,o,n,r){void 0===o&&(o=P.Unspecified);var i=D.CRITEO_BIDDER_URL+this.getHandlerPath(e,t);return i+="?ptv="+s,!0===t.isAdBlocked&&(i+="&abp=1"),i=this.appendCommonParameters(i,e,n,r),i=(i+=t.isOptOut?"&optout=1":"")+(t.bundle?"&bundle="+t.bundle:""),o!==P.Unspecified&&(i+="&im="+o),i=(i+="&cb="+String($.generateCacheBuster()))+t.getContextFlags()},D.prototype.buildErrorUrl=function(){return D.CRITEO_BIDDER_URL+D.CRITEO_ERROR_HANDLER},D.prototype.appendCommonParameters=function(e,t,o,n){return e+="&profileId="+String(t),void 0!==o&&(e+="&av="+String(o)),void 0!==n&&(e+="&wv="+encodeURIComponent(n)),e},D.prototype.getHandlerPath=function(e,t){var o;if(this.auditMode)return D.CRITEO_BIDDER_AUDIT_HANDLER;if(334==e&&void 0!==t.slotsExt)for(var n in t.slotsExt){n=t.slotsExt[n];if(void 0!==(null==(o=null==n?void 0:n.data)?void 0:o.gtin))return D.CRITEO_COMMERCE_EXPERIENCE_3_HANDLER;if(void 0!==(null==(o=null==n?void 0:n.data)?void 0:o.keyword))return D.CRITEO_COMMERCE_EXPERIENCE_4_HANDLER}return D.CRITEO_BIDDER_HANDLER},D.CRITEO_BIDDER_URL="https://bidder.criteo.com/",D.CRITEO_BIDDER_HANDLER="cdb",D.CRITEO_COMMERCE_EXPERIENCE_3_HANDLER="experiences/2023-10/dynamic-buttons",D.CRITEO_COMMERCE_EXPERIENCE_4_HANDLER="experiences/2023-10/product-recommendation",D.CRITEO_ERROR_HANDLER="error",D.CRITEO_BIDDER_AUDIT_HANDLER="prebid/audit";var te=D;function D(e){this.auditMode=e=void 0===e?!1:e}oe.prototype.sendEventsToBeacon=function(e,t){navigator.sendBeacon&&e&&navigator.sendBeacon(t,JSON.stringify(e))};var O=oe;function oe(){this.urlBuilder=new te}A.CreateRunning=function(){var e=new A;return e.start(),e},A.CreateWithStartTime=function(e){var t=new A(!1);return t.startTime=e,t},A.TimeSincePageLoad=function(){if(window.performance){if(window.performance.now)return window.performance.now();if(window.performance.timing&&window.performance.timing.navigationStart)return(new Date).getTime()-performance.timing.navigationStart}return 0},A.prototype.start=function(){this.startTime=this.now()},A.prototype.elapsed=function(){return this.now()-this.startTime};var R=A;function A(e){(e=void 0===e?!0:e)&&window.performance&&window.performance.now?this.now=window.performance.now.bind(window.performance):Date.now?this.now=Date.now:this.now=function(){return(new Date).getTime()}}y(U,ne=O),U.prototype.sendSetTagLoadedTime=function(){this.sendEvents({eventId:"TagLoaded",elapsed:R.TimeSincePageLoad()})},U.prototype.sendSetEspPromiseTime=function(){this.sendEvents({eventId:"SetEspPromise",elapsed:R.TimeSincePageLoad()})},U.prototype.sendReturnEspPromiseToGptTime=function(){this.sendEvents({eventId:"ReturnEspPromiseToGpt",elapsed:R.TimeSincePageLoad()})},U.prototype.sendResolveEspPromiseTime=function(){this.sendEvents({eventId:"ResolveEspPromise",elapsed:R.TimeSincePageLoad()})},U.prototype.sendEvents=function(e){};var ne,re=U;function U(e,t){var o=ne.call(this)||this;return o.topFrame=e,o.isEligibleForCsmEvents=t,o.requestId=crypto.randomUUID(),o}function M(e,a,t,o){void 0===e&&(e=null==(n=window.Criteo_identitytag_108763||window.Criteo)?void 0:n.config),void 0===o&&(o=(new Date).getUTCMilliseconds()),this.sessionRandomId=o;var c=i.getHighestAccessibleWindow(window),u=i.getHighestAccessibleUrl(c),l=new re(c.topFrame,this.isEligibleForCsmEvents());l.sendSetTagLoadedTime();var n,p="1"===(e=>{var t={};if(1<(e=e.split("?")).length)for(var o=0,n=e[1].split("&");o{try{e.call(t,o,n)}catch(e){return e}})(r,n,function(e){o||(o=!0,(n!==e?I:b)(t,e))},function(e){o||(o=!0,P(t,e))},t._label);!o&&e&&(o=!0,P(t,e))},e)}function T(e,t,o){var n,r;t.constructor===e.constructor&&o===v&&t.constructor.resolve===y?(n=e,(r=t)._state===E?b(n,r._result):r._state===S?P(n,r._result):D(r,void 0,function(e){return I(n,e)},function(e){return P(n,e)})):void 0!==o&&c(o)?N(e,t,o):b(e,t)}function I(t,e){if(t===e)P(t,new TypeError("You cannot resolve a promise with itself"));else if(o=typeof e,null===e||"object"!=o&&"function"!=o)b(t,e);else{o=void 0;try{o=e.then}catch(e){return void P(t,e)}T(t,e,o)}var o}function H(e){e._onerror&&e._onerror(e._result),O(e)}function b(e,t){e._state===C&&(e._result=t,e._state=E,0!==e._subscribers.length)&&s(O,e)}function P(e,t){e._state===C&&(e._state=S,e._result=t,s(H,e))}function D(e,t,o,n){var r=e._subscribers,i=r.length;e._onerror=null,r[i]=t,r[i+E]=o,r[i+S]=n,0===i&&e._state&&s(O,e)}function O(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var n,r=void 0,i=e._result,s=0;s