prebid.js 9.2.0 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/33acrossAnalyticsAdapter.js +1 -1
- package/dist/33acrossBidAdapter.js +1 -1
- package/dist/33acrossIdSystem.js +1 -1
- package/dist/BTBidAdapter.js +1 -1
- package/dist/adagioAnalyticsAdapter.js +1 -1
- package/dist/adagioBidAdapter.js +1 -1
- package/dist/adagioUtils.js +1 -1
- package/dist/addefendBidAdapter.js +1 -1
- package/dist/adgenerationBidAdapter.js +1 -1
- package/dist/adlooxRtdProvider.js +1 -1
- package/dist/adnuntiusBidAdapter.js +1 -1
- package/dist/adqueryBidAdapter.js +1 -1
- package/dist/adrelevantisBidAdapter.js +1 -1
- package/dist/adstirBidAdapter.js +1 -1
- package/dist/adtrgtmeBidAdapter.js +1 -1
- package/dist/adxcgAnalyticsAdapter.js +1 -1
- package/dist/adxcgBidAdapter.js +1 -1
- package/dist/adyoulikeBidAdapter.js +1 -1
- package/dist/agmaAnalyticsAdapter.js +1 -1
- package/dist/ajaBidAdapter.js +1 -1
- package/dist/amxBidAdapter.js +1 -1
- package/dist/amxIdSystem.js +1 -1
- package/dist/appierAnalyticsAdapter.js +1 -1
- package/dist/appnexusBidAdapter.js +1 -1
- package/dist/asoBidAdapter.js +1 -1
- package/dist/axonixBidAdapter.js +1 -1
- package/dist/bidglassBidAdapter.js +1 -1
- package/dist/big-richmediaBidAdapter.js +1 -1
- package/dist/bridBidAdapter.js +1 -1
- package/dist/bridgewellBidAdapter.js +1 -1
- package/dist/brightMountainMediaBidAdapter.js +1 -1
- package/dist/carodaBidAdapter.js +1 -1
- package/dist/chtnwBidAdapter.js +1 -1
- package/dist/chunk-core.js +1 -1
- package/dist/concertBidAdapter.js +1 -1
- package/dist/connectadBidAdapter.js +1 -1
- package/dist/consentManagement.js +1 -0
- package/dist/consentManagementGpp.js +1 -1
- package/dist/consentManagementTcf.js +1 -1
- package/dist/consumableBidAdapter.js +1 -1
- package/dist/conversantAnalyticsAdapter.js +1 -1
- package/dist/conversantBidAdapter.js +1 -1
- package/dist/copper6sspBidAdapter.js +1 -0
- package/dist/craftBidAdapter.js +1 -1
- package/dist/criteoBidAdapter.js +1 -1
- package/dist/cwireBidAdapter.js +1 -1
- package/dist/dailymotionBidAdapter.js +1 -1
- package/dist/dependencies.json +18 -4
- package/dist/dspxBidAdapter.js +1 -1
- package/dist/dxkultureBidAdapter.js +1 -1
- package/dist/eplanningBidAdapter.js +1 -1
- package/dist/euidIdSystem.js +1 -1
- package/dist/exadsBidAdapter.js +1 -1
- package/dist/feedadBidAdapter.js +1 -1
- package/dist/finativeBidAdapter.js +1 -1
- package/dist/freewheel-sspBidAdapter.js +1 -1
- package/dist/gmosspBidAdapter.js +1 -1
- package/dist/goldbachBidAdapter.js +1 -1
- package/dist/greenbidsAnalyticsAdapter.js +1 -1
- package/dist/greenbidsRtdProvider.js +1 -1
- package/dist/gridBidAdapter.js +1 -1
- package/dist/gumgumBidAdapter.js +1 -1
- package/dist/h12mediaBidAdapter.js +1 -1
- package/dist/hypelabBidAdapter.js +1 -1
- package/dist/id5AnalyticsAdapter.js +1 -1
- package/dist/id5IdSystem.js +1 -1
- package/dist/illuminBidAdapter.js +1 -1
- package/dist/imdsBidAdapter.js +1 -1
- package/dist/improvedigitalBidAdapter.js +1 -1
- package/dist/insticatorBidAdapter.js +1 -1
- package/dist/intentIqIdSystem.js +1 -1
- package/dist/ixBidAdapter.js +1 -1
- package/dist/jixieBidAdapter.js +1 -1
- package/dist/justpremiumBidAdapter.js +1 -1
- package/dist/kargoBidAdapter.js +1 -1
- package/dist/kimberliteBidAdapter.js +1 -1
- package/dist/konduitAnalyticsAdapter.js +1 -1
- package/dist/kueezBidAdapter.js +1 -1
- package/dist/kueezRtbBidAdapter.js +1 -1
- package/dist/lassoBidAdapter.js +1 -1
- package/dist/lifestreetBidAdapter.js +1 -1
- package/dist/liveIntentIdSystem.js +1 -1
- package/dist/logicadBidAdapter.js +1 -1
- package/dist/loglyliftBidAdapter.js +1 -1
- package/dist/luceadBidAdapter.js +1 -1
- package/dist/mabidderBidAdapter.js +1 -1
- package/dist/magniteAnalyticsAdapter.js +1 -1
- package/dist/malltvAnalyticsAdapter.js +1 -1
- package/dist/marsmediaBidAdapter.js +1 -1
- package/dist/mediafuseBidAdapter.js +1 -1
- package/dist/medianetAnalyticsAdapter.js +1 -1
- package/dist/medianetBidAdapter.js +1 -1
- package/dist/mediasquareBidAdapter.js +1 -1
- package/dist/mgidBidAdapter.js +1 -1
- package/dist/minutemediaBidAdapter.js +1 -1
- package/dist/missenaBidAdapter.js +1 -1
- package/dist/nexx360BidAdapter.js +1 -1
- package/dist/nobidAnalyticsAdapter.js +1 -1
- package/dist/nobidBidAdapter.js +1 -1
- package/dist/not-for-prod/prebid.js +172 -167
- package/dist/oguryBidAdapter.js +1 -1
- package/dist/onetagBidAdapter.js +1 -1
- package/dist/ooloAnalyticsAdapter.js +1 -1
- package/dist/openwebBidAdapter.js +1 -1
- package/dist/openxBidAdapter.js +1 -1
- package/dist/optidigitalBidAdapter.js +1 -1
- package/dist/orakiBidAdapter.js +1 -0
- package/dist/orbidderBidAdapter.js +1 -1
- package/dist/outbrainBidAdapter.js +1 -1
- package/dist/pairIdSystem.js +1 -1
- package/dist/pixfutureBidAdapter.js +1 -1
- package/dist/prebidServerBidAdapter.js +1 -1
- package/dist/publinkIdSystem.js +1 -1
- package/dist/publirBidAdapter.js +1 -1
- package/dist/pubmaticAnalyticsAdapter.js +1 -1
- package/dist/pubmaticBidAdapter.js +1 -1
- package/dist/pubwiseAnalyticsAdapter.js +1 -1
- package/dist/pxyzBidAdapter.js +1 -1
- package/dist/quantcastBidAdapter.js +1 -1
- package/dist/readpeakBidAdapter.js +1 -1
- package/dist/relaidoBidAdapter.js +1 -1
- package/dist/retailspotBidAdapter.js +1 -1
- package/dist/rhythmoneBidAdapter.js +1 -1
- package/dist/riseBidAdapter.js +1 -1
- package/dist/rubiconBidAdapter.js +1 -1
- package/dist/seedingAllianceBidAdapter.js +1 -1
- package/dist/seedtagBidAdapter.js +1 -1
- package/dist/sharethroughAnalyticsAdapter.js +1 -1
- package/dist/sharethroughBidAdapter.js +1 -1
- package/dist/shinezBidAdapter.js +1 -1
- package/dist/shinezRtbBidAdapter.js +1 -1
- package/dist/smaatoBidAdapter.js +1 -1
- package/dist/smartadserverBidAdapter.js +1 -1
- package/dist/smartxBidAdapter.js +1 -1
- package/dist/smartyadsBidAdapter.js +1 -1
- package/dist/smartyadsUtils.js +1 -0
- package/dist/smilewantedBidAdapter.js +1 -1
- package/dist/snigelBidAdapter.js +1 -1
- package/dist/sonobiBidAdapter.js +1 -1
- package/dist/sovrnBidAdapter.js +1 -1
- package/dist/sspBCBidAdapter.js +1 -1
- package/dist/stnBidAdapter.js +1 -1
- package/dist/stvBidAdapter.js +1 -1
- package/dist/sublimeBidAdapter.js +1 -1
- package/dist/taboolaBidAdapter.js +1 -1
- package/dist/tagorasBidAdapter.js +1 -1
- package/dist/tappxBidAdapter.js +1 -1
- package/dist/targetVideoBidAdapter.js +1 -1
- package/dist/teadsBidAdapter.js +1 -1
- package/dist/terceptAnalyticsAdapter.js +1 -1
- package/dist/themoneytizerBidAdapter.js +1 -1
- package/dist/trionBidAdapter.js +1 -1
- package/dist/tripleliftBidAdapter.js +1 -1
- package/dist/ttdBidAdapter.js +1 -1
- package/dist/twistDigitalBidAdapter.js +1 -1
- package/dist/ucfunnelAnalyticsAdapter.js +1 -1
- package/dist/uid2IdSystem.js +1 -1
- package/dist/underdogmediaBidAdapter.js +1 -1
- package/dist/undertoneBidAdapter.js +1 -1
- package/dist/unrulyBidAdapter.js +1 -1
- package/dist/userId.js +1 -1
- package/dist/vidazooBidAdapter.js +1 -1
- package/dist/vidazooUtils.js +1 -0
- package/dist/videobyteBidAdapter.js +1 -1
- package/dist/visxBidAdapter.js +1 -1
- package/dist/vuukleBidAdapter.js +1 -1
- package/dist/widespaceBidAdapter.js +1 -1
- package/dist/winrBidAdapter.js +1 -1
- package/dist/yahooAdsBidAdapter.js +1 -1
- package/dist/yieldmoBidAdapter.js +1 -1
- package/dist/yieldoneAnalyticsAdapter.js +1 -1
- package/dist/yuktamediaAnalyticsAdapter.js +1 -1
- package/libraries/consentManagement/cmUtils.js +38 -0
- package/libraries/smartyadsUtils/getAdUrlByRegion.js +32 -0
- package/libraries/vidazooUtils/bidderUtils.js +481 -0
- package/libraries/vidazooUtils/constants.js +7 -0
- package/modules/addefendBidAdapter.js +1 -2
- package/modules/adlooxRtdProvider.js +1 -1
- package/modules/adnuntiusBidAdapter.js +1 -0
- package/modules/adxcgAnalyticsAdapter.js +1 -2
- package/modules/consentManagementGpp.js +2 -38
- package/modules/consentManagementTcf.js +7 -38
- package/modules/conversantAnalyticsAdapter.js +1 -2
- package/modules/copper6sspBidAdapter.js +19 -0
- package/modules/copper6sspBidAdapter.md +79 -0
- package/modules/criteoBidAdapter.js +10 -3
- package/modules/id5AnalyticsAdapter.js +1 -2
- package/modules/intentIqIdSystem.js +408 -50
- package/modules/intentIqIdSystem.md +92 -0
- package/modules/liveIntentIdSystem.js +2 -2
- package/modules/mabidderBidAdapter.js +1 -2
- package/modules/medianetAnalyticsAdapter.js +1 -2
- package/modules/medianetBidAdapter.js +1 -1
- package/modules/orakiBidAdapter.js +19 -0
- package/modules/orakiBidAdapter.md +79 -0
- package/modules/orbidderBidAdapter.js +4 -2
- package/modules/pairIdSystem.js +27 -10
- package/modules/pixfutureBidAdapter.js +1 -2
- package/modules/prebidServerBidAdapter/index.js +1 -1
- package/modules/seedtagBidAdapter.js +4 -0
- package/modules/smartadserverBidAdapter.js +3 -0
- package/modules/smartyadsBidAdapter.js +6 -110
- package/modules/snigelBidAdapter.js +1 -2
- package/modules/tappxBidAdapter.js +1 -2
- package/modules/terceptAnalyticsAdapter.js +1 -2
- package/modules/twistDigitalBidAdapter.js +1 -12
- package/modules/userId/index.js +31 -21
- package/modules/vidazooBidAdapter.js +26 -468
- package/modules/yahooAdsBidAdapter.js +4 -1
- package/modules/yuktamediaAnalyticsAdapter.js +1 -2
- package/package.json +1 -1
- package/test/spec/fpd/gdpr_spec.js +24 -2
- package/test/spec/modules/adnuntiusBidAdapter_spec.js +6 -3
- package/test/spec/modules/conversantAnalyticsAdapter_spec.js +1 -1
- package/test/spec/modules/copper6sspBidAdapter_spec.js +514 -0
- package/test/spec/modules/intentIqIdSystem_spec.js +264 -36
- package/test/spec/modules/orakiBidAdapter_spec.js +510 -0
- package/test/spec/modules/seedtagBidAdapter_spec.js +27 -0
- package/test/spec/modules/smartadserverBidAdapter_spec.js +7 -0
- package/test/spec/modules/smartyadsBidAdapter_spec.js +6 -83
- package/test/spec/modules/twistDigitalBidAdapter_spec.js +5 -3
- package/test/spec/modules/userId_spec.js +86 -47
- package/test/spec/modules/vidazooBidAdapter_spec.js +21 -23
- package/test/spec/modules/yahooAdsBidAdapter_spec.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[22259],{16839:(t,e,r)=>{var n=r(7873),o=r(91069),i=r(68044),a=r(16833),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var u={exports:{}},l=function(t){return t&&t.Math===Math&&t},d=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof s&&s)||l("object"==typeof s&&s)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},h=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=h,g=Function.prototype,m=g.apply,v=g.call,y="object"==typeof Reflect&&Reflect.apply||(p?v.bind(m):function(){return v.apply(m,arguments)}),b=h,w=Function.prototype,S=w.call,x=b&&w.bind.bind(S,S),C=b?x:function(t){return function(){return S.apply(t,arguments)}},O=C,E=O({}.toString),I=O("".slice),k=function(t){return I(E(t),8,-1)},j=k,A=C,L=function(t){if("Function"===j(t))return A(t)},D="object"==typeof document&&document.all,M=void 0===D&&void 0!==D?function(t){return"function"==typeof t||t===D}:function(t){return"function"==typeof t},F={},P=!f((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=h,R=Function.prototype.call,T=N?R.bind(R):function(){return R.apply(R,arguments)},_={},U={}.propertyIsEnumerable,V=Object.getOwnPropertyDescriptor,B=V&&!U.call({1:2},1);_.f=B?function(t){var e=V(this,t);return!!e&&e.enumerable}:U;var W,G,q=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Q=f,z=k,H=Object,J=C("".split),K=Q((function(){return!H("z").propertyIsEnumerable(0)}))?function(t){return"String"===z(t)?J(t,""):H(t)}:H,$=function(t){return null==t},Y=$,X=TypeError,Z=function(t){if(Y(t))throw new X("Can't call method on "+t);return t},tt=K,et=Z,rt=function(t){return tt(et(t))},nt=M,ot=function(t){return"object"==typeof t?null!==t:nt(t)},it={},at=it,st=d,ct=M,ut=function(t){return ct(t)?t:void 0},lt=function(t,e){return arguments.length<2?ut(at[t])||ut(st[t]):at[t]&&at[t][e]||st[t]&&st[t][e]},dt=C({}.isPrototypeOf),ft=d,ht="undefined"!=typeof navigator&&String(navigator.userAgent)||"",pt=ft.process,gt=ft.Deno,mt=pt&&pt.versions||gt&>.version,vt=mt&&mt.v8;vt&&(G=(W=vt.split("."))[0]>0&&W[0]<4?1:+(W[0]+W[1])),!G&&ht&&(!(W=ht.match(/Edge\/(\d+)/))||W[1]>=74)&&(W=ht.match(/Chrome\/(\d+)/))&&(G=+W[1]);var yt=G,bt=yt,wt=f,St=d.String,xt=!!Object.getOwnPropertySymbols&&!wt((function(){var t=Symbol("symbol detection");return!St(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&bt&&bt<41})),Ct=xt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ot=lt,Et=M,It=dt,kt=Object,jt=Ct?function(t){return"symbol"==typeof t}:function(t){var e=Ot("Symbol");return Et(e)&&It(e.prototype,kt(t))},At=String,Lt=function(t){try{return At(t)}catch(t){return"Object"}},Dt=M,Mt=Lt,Ft=TypeError,Pt=function(t){if(Dt(t))return t;throw new Ft(Mt(t)+" is not a function")},Nt=Pt,Rt=$,Tt=T,_t=M,Ut=ot,Vt=TypeError,Bt={exports:{}},Wt=d,Gt=Object.defineProperty,qt=d,Qt=function(t,e){try{Gt(Wt,t,{value:e,configurable:!0,writable:!0})}catch(r){Wt[t]=e}return e},zt="__core-js_shared__",Ht=Bt.exports=qt[zt]||Qt(zt,{});(Ht.versions||(Ht.versions=[])).push({version:"3.37.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Jt=Bt.exports,Kt=Jt,$t=function(t,e){return Kt[t]||(Kt[t]=e||{})},Yt=Z,Xt=Object,Zt=function(t){return Xt(Yt(t))},te=Zt,ee=C({}.hasOwnProperty),re=Object.hasOwn||function(t,e){return ee(te(t),e)},ne=C,oe=0,ie=Math.random(),ae=ne(1..toString),se=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ae(++oe+ie,36)},ce=$t,ue=re,le=se,de=xt,fe=Ct,he=d.Symbol,pe=ce("wks"),ge=fe?he.for||he:he&&he.withoutSetter||le,me=function(t){return ue(pe,t)||(pe[t]=de&&ue(he,t)?he[t]:ge("Symbol."+t)),pe[t]},ve=T,ye=ot,be=jt,we=function(t,e){var r=t[e];return Rt(r)?void 0:Nt(r)},Se=function(t,e){var r,n;if("string"===e&&_t(r=t.toString)&&!Ut(n=Tt(r,t)))return n;if(_t(r=t.valueOf)&&!Ut(n=Tt(r,t)))return n;if("string"!==e&&_t(r=t.toString)&&!Ut(n=Tt(r,t)))return n;throw new Vt("Can't convert object to primitive value")},xe=TypeError,Ce=me("toPrimitive"),Oe=function(t,e){if(!ye(t)||be(t))return t;var r,n=we(t,Ce);if(n){if(void 0===e&&(e="default"),r=ve(n,t,e),!ye(r)||be(r))return r;throw new xe("Can't convert object to primitive value")}return void 0===e&&(e="number"),Se(t,e)},Ee=jt,Ie=function(t){var e=Oe(t,"string");return Ee(e)?e:e+""},ke=ot,je=d.document,Ae=ke(je)&&ke(je.createElement),Le=function(t){return Ae?je.createElement(t):{}},De=Le,Me=!P&&!f((function(){return 7!==Object.defineProperty(De("div"),"a",{get:function(){return 7}}).a})),Fe=P,Pe=T,Ne=_,Re=q,Te=rt,_e=Ie,Ue=re,Ve=Me,Be=Object.getOwnPropertyDescriptor;F.f=Fe?Be:function(t,e){if(t=Te(t),e=_e(e),Ve)try{return Be(t,e)}catch(t){}if(Ue(t,e))return Re(!Pe(Ne.f,t,e),t[e])};var We=f,Ge=M,qe=/#|\.prototype\./,Qe=function(t,e){var r=He[ze(t)];return r===Ke||r!==Je&&(Ge(e)?We(e):!!e)},ze=Qe.normalize=function(t){return String(t).replace(qe,".").toLowerCase()},He=Qe.data={},Je=Qe.NATIVE="N",Ke=Qe.POLYFILL="P",$e=Qe,Ye=Pt,Xe=h,Ze=L(L.bind),tr=function(t,e){return Ye(t),void 0===e?t:Xe?Ze(t,e):function(){return t.apply(e,arguments)}},er={},rr=P&&f((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),nr=ot,or=String,ir=TypeError,ar=function(t){if(nr(t))return t;throw new ir(or(t)+" is not an object")},sr=P,cr=Me,ur=rr,lr=ar,dr=Ie,fr=TypeError,hr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,gr="enumerable",mr="configurable",vr="writable";er.f=sr?ur?function(t,e,r){if(lr(t),e=dr(e),lr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&vr in r&&!r[vr]){var n=pr(t,e);n&&n[vr]&&(t[e]=r.value,r={configurable:mr in r?r[mr]:n[mr],enumerable:gr in r?r[gr]:n[gr],writable:!1})}return hr(t,e,r)}:hr:function(t,e,r){if(lr(t),e=dr(e),lr(r),cr)try{return hr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new fr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var yr=er,br=q,wr=P?function(t,e,r){return yr.f(t,e,br(1,r))}:function(t,e,r){return t[e]=r,t},Sr=d,xr=y,Cr=L,Or=M,Er=F.f,Ir=$e,kr=it,jr=tr,Ar=wr,Lr=re,Dr=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return xr(t,this,arguments)};return e.prototype=t.prototype,e},Mr=function(t,e){var r,n,o,i,a,s,c,u,l,d=t.target,f=t.global,h=t.stat,p=t.proto,g=f?Sr:h?Sr[d]:Sr[d]&&Sr[d].prototype,m=f?kr:kr[d]||Ar(kr,d,{})[d],v=m.prototype;for(i in e)n=!(r=Ir(f?i:d+(h?".":"#")+i,t.forced))&&g&&Lr(g,i),s=m[i],n&&(c=t.dontCallGetSet?(l=Er(g,i))&&l.value:g[i]),a=n&&c?c:e[i],(r||p||typeof s!=typeof a)&&(u=t.bind&&n?jr(a,Sr):t.wrap&&n?Dr(a):p&&Or(a)?Cr(a):a,(t.sham||a&&a.sham||s&&s.sham)&&Ar(u,"sham",!0),Ar(m,i,u),p&&(Lr(kr,o=d+"Prototype")||Ar(kr,o,{}),Ar(kr[o],i,a),t.real&&v&&(r||!v[i])&&Ar(v,i,a)))},Fr=Mr,Pr=P,Nr=er.f;Fr({target:"Object",stat:!0,forced:Object.defineProperty!==Nr,sham:!Pr},{defineProperty:Nr});var Rr=it.Object,Tr=u.exports=function(t,e,r){return Rr.defineProperty(t,e,r)};Rr.defineProperty.sham&&(Tr.sham=!0);var _r=c(u.exports),Ur=k,Vr=Array.isArray||function(t){return"Array"===Ur(t)},Br=Math.ceil,Wr=Math.floor,Gr=Math.trunc||function(t){var e=+t;return(e>0?Wr:Br)(e)},qr=Gr,Qr=function(t){var e=+t;return e!=e||0===e?0:qr(e)},zr=Qr,Hr=Math.min,Jr=function(t){var e=zr(t);return e>0?Hr(e,9007199254740991):0},Kr=function(t){return Jr(t.length)},$r=TypeError,Yr=P,Xr=er,Zr=q,tn={};tn[me("toStringTag")]="z";var en="[object z]"===String(tn),rn=en,nn=M,on=k,an=me("toStringTag"),sn=Object,cn="Arguments"===on(function(){return arguments}()),un=rn?on:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=sn(t),an))?r:cn?on(e):"Object"===(n=on(e))&&nn(e.callee)?"Arguments":n},ln=M,dn=Jt,fn=C(Function.toString);ln(dn.inspectSource)||(dn.inspectSource=function(t){return fn(t)});var hn=dn.inspectSource,pn=C,gn=f,mn=M,vn=un,yn=hn,bn=function(){},wn=lt("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,xn=pn(Sn.exec),Cn=!Sn.test(bn),On=function(t){if(!mn(t))return!1;try{return wn(bn,[],t),!0}catch(t){return!1}},En=function(t){if(!mn(t))return!1;switch(vn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Cn||!!xn(Sn,yn(t))}catch(t){return!0}};En.sham=!0;var In=!wn||gn((function(){var t;return On(On.call)||!On(Object)||!On((function(){t=!0}))||t}))?En:On,kn=Vr,jn=In,An=ot,Ln=me("species"),Dn=Array,Mn=function(t){var e;return kn(t)&&(e=t.constructor,(jn(e)&&(e===Dn||kn(e.prototype))||An(e)&&null===(e=e[Ln]))&&(e=void 0)),void 0===e?Dn:e},Fn=function(t,e){return new(Mn(t))(0===e?0:e)},Pn=f,Nn=yt,Rn=me("species"),Tn=Mr,_n=f,Un=Vr,Vn=ot,Bn=Zt,Wn=Kr,Gn=function(t){if(t>9007199254740991)throw $r("Maximum allowed index exceeded");return t},qn=function(t,e,r){Yr?Xr.f(t,e,Zr(0,r)):t[e]=r},Qn=Fn,zn=function(t){return Nn>=51||!Pn((function(){var e=[];return(e.constructor={})[Rn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Hn=yt,Jn=me("isConcatSpreadable"),Kn=Hn>=51||!_n((function(){var t=[];return t[Jn]=!1,t.concat()[0]!==t})),$n=function(t){if(!Vn(t))return!1;var e=t[Jn];return void 0!==e?!!e:Un(t)};Tn({target:"Array",proto:!0,arity:1,forced:!Kn||!zn("concat")},{concat:function(t){var e,r,n,o,i,a=Bn(this),s=Qn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if($n(i=-1===e?a:arguments[e]))for(o=Wn(i),Gn(c+o),r=0;r<o;r++,c++)r in i&&qn(s,c,i[r]);else Gn(c+1),qn(s,c++,i);return s.length=c,s}});var Yn=un,Xn=String,Zn=function(t){if("Symbol"===Yn(t))throw new TypeError("Cannot convert a Symbol value to a string");return Xn(t)},to={},eo=Qr,ro=Math.max,no=Math.min,oo=rt,io=function(t,e){var r=eo(t);return r<0?ro(r+e,0):no(r,e)},ao=Kr,so=function(t){return function(e,r,n){var o=oo(e),i=ao(o);if(0===i)return!t&&-1;var a,s=io(n,i);if(t&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},co={includes:so(!0),indexOf:so(!1)},uo={},lo=re,fo=rt,ho=co.indexOf,po=uo,go=C([].push),mo=function(t,e){var r,n=fo(t),o=0,i=[];for(r in n)!lo(po,r)&&lo(n,r)&&go(i,r);for(;e.length>o;)lo(n,r=e[o++])&&(~ho(i,r)||go(i,r));return i},vo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yo=mo,bo=vo,wo=Object.keys||function(t){return yo(t,bo)},So=P,xo=rr,Co=er,Oo=ar,Eo=rt,Io=wo;to.f=So&&!xo?Object.defineProperties:function(t,e){Oo(t);for(var r,n=Eo(e),o=Io(e),i=o.length,a=0;i>a;)Co.f(t,r=o[a++],n[r]);return t};var ko,jo=lt("document","documentElement"),Ao=se,Lo=$t("keys"),Do=function(t){return Lo[t]||(Lo[t]=Ao(t))},Mo=ar,Fo=to,Po=vo,No=uo,Ro=jo,To=Le,_o="prototype",Uo="script",Vo=Do("IE_PROTO"),Bo=function(){},Wo=function(t){return"<"+Uo+">"+t+"</"+Uo+">"},Go=function(t){t.write(Wo("")),t.close();var e=t.parentWindow.Object;return t=null,e},qo=function(){try{ko=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;qo="undefined"!=typeof document?document.domain&&ko?Go(ko):(e=To("iframe"),r="java"+Uo+":",e.style.display="none",Ro.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Wo("document.F=Object")),t.close(),t.F):Go(ko);for(var n=Po.length;n--;)delete qo[_o][Po[n]];return qo()};No[Vo]=!0;var Qo=Object.create||function(t,e){var r;return null!==t?(Bo[_o]=Mo(t),r=new Bo,Bo[_o]=null,r[Vo]=t):r=qo(),void 0===e?r:Fo.f(r,e)},zo={},Ho=mo,Jo=vo.concat("length","prototype");zo.f=Object.getOwnPropertyNames||function(t){return Ho(t,Jo)};var Ko={},$o=C([].slice),Yo=k,Xo=rt,Zo=zo.f,ti=$o,ei="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ko.f=function(t){return ei&&"Window"===Yo(t)?function(t){try{return Zo(t)}catch(t){return ti(ei)}}(t):Zo(Xo(t))};var ri={};ri.f=Object.getOwnPropertySymbols;var ni=wr,oi=function(t,e,r,n){return n&&n.enumerable?t[e]=r:ni(t,e,r),t},ii=er,ai={},si=me;ai.f=si;var ci,ui,li,di=it,fi=re,hi=ai,pi=er.f,gi=function(t){var e=di.Symbol||(di.Symbol={});fi(e,t)||pi(e,t,{value:hi.f(t)})},mi=T,vi=lt,yi=me,bi=oi,wi=function(){var t=vi("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=yi("toPrimitive");e&&!e[n]&&bi(e,n,(function(t){return mi(r,this)}),{arity:1})},Si=un,xi=en?{}.toString:function(){return"[object "+Si(this)+"]"},Ci=en,Oi=er.f,Ei=wr,Ii=re,ki=xi,ji=me("toStringTag"),Ai=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(Ii(o,ji)||Oi(o,ji,{configurable:!0,value:e}),n&&!Ci&&Ei(o,"toString",ki))},Li=M,Di=d.WeakMap,Mi=Li(Di)&&/native code/.test(String(Di)),Fi=d,Pi=ot,Ni=wr,Ri=re,Ti=Jt,_i=Do,Ui=uo,Vi="Object already initialized",Bi=Fi.TypeError,Wi=Fi.WeakMap;if(Mi||Ti.state){var Gi=Ti.state||(Ti.state=new Wi);Gi.get=Gi.get,Gi.has=Gi.has,Gi.set=Gi.set,ci=function(t,e){if(Gi.has(t))throw new Bi(Vi);return e.facade=t,Gi.set(t,e),e},ui=function(t){return Gi.get(t)||{}},li=function(t){return Gi.has(t)}}else{var qi=_i("state");Ui[qi]=!0,ci=function(t,e){if(Ri(t,qi))throw new Bi(Vi);return e.facade=t,Ni(t,qi,e),e},ui=function(t){return Ri(t,qi)?t[qi]:{}},li=function(t){return Ri(t,qi)}}var Qi={set:ci,get:ui,has:li,enforce:function(t){return li(t)?ui(t):ci(t,{})},getterFor:function(t){return function(e){var r;if(!Pi(e)||(r=ui(e)).type!==t)throw new Bi("Incompatible receiver, "+t+" required");return r}}},zi=tr,Hi=K,Ji=Zt,Ki=Kr,$i=Fn,Yi=C([].push),Xi=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(c,u,l,d){for(var f,h,p=Ji(c),g=Hi(p),m=Ki(g),v=zi(u,l),y=0,b=d||$i,w=e?b(c,m):r||a?b(c,0):void 0;m>y;y++)if((s||y in g)&&(h=v(f=g[y],y,p),t))if(e)w[y]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return y;case 2:Yi(w,f)}else switch(t){case 4:return!1;case 7:Yi(w,f)}return i?-1:n||o?o:w}},Zi={forEach:Xi(0),map:Xi(1),filter:Xi(2),some:Xi(3),every:Xi(4),find:Xi(5),findIndex:Xi(6),filterReject:Xi(7)},ta=Mr,ea=d,ra=T,na=C,oa=P,ia=xt,aa=f,sa=re,ca=dt,ua=ar,la=rt,da=Ie,fa=Zn,ha=q,pa=Qo,ga=wo,ma=zo,va=Ko,ya=ri,ba=F,wa=er,Sa=to,xa=_,Ca=oi,Oa=function(t,e,r){return ii.f(t,e,r)},Ea=$t,Ia=uo,ka=se,ja=me,Aa=ai,La=gi,Da=wi,Ma=Ai,Fa=Qi,Pa=Zi.forEach,Na=Do("hidden"),Ra="Symbol",Ta="prototype",_a=Fa.set,Ua=Fa.getterFor(Ra),Va=Object[Ta],Ba=ea.Symbol,Wa=Ba&&Ba[Ta],Ga=ea.RangeError,qa=ea.TypeError,Qa=ea.QObject,za=ba.f,Ha=wa.f,Ja=va.f,Ka=xa.f,$a=na([].push),Ya=Ea("symbols"),Xa=Ea("op-symbols"),Za=Ea("wks"),ts=!Qa||!Qa[Ta]||!Qa[Ta].findChild,es=function(t,e,r){var n=za(Va,e);n&&delete Va[e],Ha(t,e,r),n&&t!==Va&&Ha(Va,e,n)},rs=oa&&aa((function(){return 7!==pa(Ha({},"a",{get:function(){return Ha(this,"a",{value:7}).a}})).a}))?es:Ha,ns=function(t,e){var r=Ya[t]=pa(Wa);return _a(r,{type:Ra,tag:t,description:e}),oa||(r.description=e),r},os=function(t,e,r){t===Va&&os(Xa,e,r),ua(t);var n=da(e);return ua(r),sa(Ya,n)?(r.enumerable?(sa(t,Na)&&t[Na][n]&&(t[Na][n]=!1),r=pa(r,{enumerable:ha(0,!1)})):(sa(t,Na)||Ha(t,Na,ha(1,pa(null))),t[Na][n]=!0),rs(t,n,r)):Ha(t,n,r)},is=function(t,e){ua(t);var r=la(e),n=ga(r).concat(us(r));return Pa(n,(function(e){oa&&!ra(as,r,e)||os(t,e,r[e])})),t},as=function(t){var e=da(t),r=ra(Ka,this,e);return!(this===Va&&sa(Ya,e)&&!sa(Xa,e))&&(!(r||!sa(this,e)||!sa(Ya,e)||sa(this,Na)&&this[Na][e])||r)},ss=function(t,e){var r=la(t),n=da(e);if(r!==Va||!sa(Ya,n)||sa(Xa,n)){var o=za(r,n);return!o||!sa(Ya,n)||sa(r,Na)&&r[Na][n]||(o.enumerable=!0),o}},cs=function(t){var e=Ja(la(t)),r=[];return Pa(e,(function(t){sa(Ya,t)||sa(Ia,t)||$a(r,t)})),r},us=function(t){var e=t===Va,r=Ja(e?Xa:la(t)),n=[];return Pa(r,(function(t){!sa(Ya,t)||e&&!sa(Va,t)||$a(n,Ya[t])})),n};ia||(Ca(Wa=(Ba=function(){if(ca(Wa,this))throw new qa("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?fa(arguments[0]):void 0,e=ka(t),r=function(t){var n=void 0===this?ea:this;n===Va&&ra(r,Xa,t),sa(n,Na)&&sa(n[Na],e)&&(n[Na][e]=!1);var o=ha(1,t);try{rs(n,e,o)}catch(t){if(!(t instanceof Ga))throw t;es(n,e,o)}};return oa&&ts&&rs(Va,e,{configurable:!0,set:r}),ns(e,t)})[Ta],"toString",(function(){return Ua(this).tag})),Ca(Ba,"withoutSetter",(function(t){return ns(ka(t),t)})),xa.f=as,wa.f=os,Sa.f=is,ba.f=ss,ma.f=va.f=cs,ya.f=us,Aa.f=function(t){return ns(ja(t),t)},oa&&Oa(Wa,"description",{configurable:!0,get:function(){return Ua(this).description}})),ta({global:!0,constructor:!0,wrap:!0,forced:!ia,sham:!ia},{Symbol:Ba}),Pa(ga(Za),(function(t){La(t)})),ta({target:Ra,stat:!0,forced:!ia},{useSetter:function(){ts=!0},useSimple:function(){ts=!1}}),ta({target:"Object",stat:!0,forced:!ia,sham:!oa},{create:function(t,e){return void 0===e?pa(t):is(pa(t),e)},defineProperty:os,defineProperties:is,getOwnPropertyDescriptor:ss}),ta({target:"Object",stat:!0,forced:!ia},{getOwnPropertyNames:cs}),Da(),Ma(Ba,Ra),Ia[Na]=!0;var ls=xt&&!!Symbol.for&&!!Symbol.keyFor,ds=Mr,fs=lt,hs=re,ps=Zn,gs=$t,ms=ls,vs=gs("string-to-symbol-registry"),ys=gs("symbol-to-string-registry");ds({target:"Symbol",stat:!0,forced:!ms},{for:function(t){var e=ps(t);if(hs(vs,e))return vs[e];var r=fs("Symbol")(e);return vs[e]=r,ys[r]=e,r}});var bs=Mr,ws=re,Ss=jt,xs=Lt,Cs=ls,Os=$t("symbol-to-string-registry");bs({target:"Symbol",stat:!0,forced:!Cs},{keyFor:function(t){if(!Ss(t))throw new TypeError(xs(t)+" is not a symbol");if(ws(Os,t))return Os[t]}});var Es=Vr,Is=M,ks=k,js=Zn,As=C([].push),Ls=Mr,Ds=lt,Ms=y,Fs=T,Ps=C,Ns=f,Rs=M,Ts=jt,_s=$o,Us=function(t){if(Is(t))return t;if(Es(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?As(r,o):"number"!=typeof o&&"Number"!==ks(o)&&"String"!==ks(o)||As(r,js(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Es(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Vs=xt,Bs=String,Ws=Ds("JSON","stringify"),Gs=Ps(/./.exec),qs=Ps("".charAt),Qs=Ps("".charCodeAt),zs=Ps("".replace),Hs=Ps(1..toString),Js=/[\uD800-\uDFFF]/g,Ks=/^[\uD800-\uDBFF]$/,$s=/^[\uDC00-\uDFFF]$/,Ys=!Vs||Ns((function(){var t=Ds("Symbol")("stringify detection");return"[null]"!==Ws([t])||"{}"!==Ws({a:t})||"{}"!==Ws(Object(t))})),Xs=Ns((function(){return'"\\udf06\\ud834"'!==Ws("\udf06\ud834")||'"\\udead"'!==Ws("\udead")})),Zs=function(t,e){var r=_s(arguments),n=Us(e);if(Rs(n)||void 0!==t&&!Ts(t))return r[1]=function(t,e){if(Rs(n)&&(e=Fs(n,this,Bs(t),e)),!Ts(e))return e},Ms(Ws,null,r)},tc=function(t,e,r){var n=qs(r,e-1),o=qs(r,e+1);return Gs(Ks,t)&&!Gs($s,o)||Gs($s,t)&&!Gs(Ks,n)?"\\u"+Hs(Qs(t,0),16):t};Ws&&Ls({target:"JSON",stat:!0,arity:3,forced:Ys||Xs},{stringify:function(t,e,r){var n=_s(arguments),o=Ms(Ys?Zs:Ws,null,n);return Xs&&"string"==typeof o?zs(o,Js,tc):o}});var ec=ri,rc=Zt;Mr({target:"Object",stat:!0,forced:!xt||f((function(){ec.f(1)}))},{getOwnPropertySymbols:function(t){var e=ec.f;return e?e(rc(t)):[]}}),gi("asyncIterator"),gi("hasInstance"),gi("isConcatSpreadable"),gi("iterator"),gi("match"),gi("matchAll"),gi("replace"),gi("search"),gi("species"),gi("split");var nc=wi;gi("toPrimitive"),nc();var oc=lt,ic=Ai;gi("toStringTag"),ic(oc("Symbol"),"Symbol"),gi("unscopables"),Ai(d.JSON,"JSON",!0);var ac,sc,cc,uc=it.Symbol,lc={},dc=P,fc=re,hc=Function.prototype,pc=dc&&Object.getOwnPropertyDescriptor,gc=fc(hc,"name"),mc={EXISTS:gc,PROPER:gc&&"something"===function(){}.name,CONFIGURABLE:gc&&(!dc||dc&&pc(hc,"name").configurable)},vc=!f((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yc=re,bc=M,wc=Zt,Sc=vc,xc=Do("IE_PROTO"),Cc=Object,Oc=Cc.prototype,Ec=Sc?Cc.getPrototypeOf:function(t){var e=wc(t);if(yc(e,xc))return e[xc];var r=e.constructor;return bc(r)&&e instanceof r?r.prototype:e instanceof Cc?Oc:null},Ic=f,kc=M,jc=ot,Ac=Qo,Lc=Ec,Dc=oi,Mc=me("iterator"),Fc=!1;[].keys&&("next"in(cc=[].keys())?(sc=Lc(Lc(cc)))!==Object.prototype&&(ac=sc):Fc=!0);var Pc=!jc(ac)||Ic((function(){var t={};return ac[Mc].call(t)!==t}));kc((ac=Pc?{}:Ac(ac))[Mc])||Dc(ac,Mc,(function(){return this}));var Nc={IteratorPrototype:ac,BUGGY_SAFARI_ITERATORS:Fc},Rc=Nc.IteratorPrototype,Tc=Qo,_c=q,Uc=Ai,Vc=lc,Bc=function(){return this},Wc=Mr,Gc=T,qc=mc,Qc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Tc(Rc,{next:_c(+!n,r)}),Uc(t,o,!1,!0),Vc[o]=Bc,t},zc=Ec,Hc=Ai,Jc=oi,Kc=lc,$c=Nc,Yc=qc.PROPER,Xc=$c.BUGGY_SAFARI_ITERATORS,Zc=me("iterator"),tu="keys",eu="values",ru="entries",nu=function(){return this},ou=function(t,e,r,n,o,i,a){Qc(r,e,n);var s,c,u,l=function(t){if(t===o&&g)return g;if(!Xc&&t&&t in h)return h[t];switch(t){case tu:case eu:case ru:return function(){return new r(this,t)}}return function(){return new r(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Zc]||h["@@iterator"]||o&&h[o],g=!Xc&&p||l(o),m="Array"===e&&h.entries||p;if(m&&(s=zc(m.call(new t)))!==Object.prototype&&s.next&&(Hc(s,d,!0,!0),Kc[d]=nu),Yc&&o===eu&&p&&p.name!==eu&&(f=!0,g=function(){return Gc(p,this)}),o)if(c={values:l(eu),keys:i?g:l(tu),entries:l(ru)},a)for(u in c)(Xc||f||!(u in h))&&Jc(h,u,c[u]);else Wc({target:e,proto:!0,forced:Xc||f},c);return a&&h[Zc]!==g&&Jc(h,Zc,g,{name:o}),Kc[e]=g,c},iu=function(t,e){return{value:t,done:e}},au=rt,su=lc,cu=Qi;er.f;var uu=ou,lu=iu,du="Array Iterator",fu=cu.set,hu=cu.getterFor(du);uu(Array,"Array",(function(t,e){fu(this,{type:du,target:au(t),index:0,kind:e})}),(function(){var t=hu(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,lu(void 0,!0);switch(t.kind){case"keys":return lu(r,!1);case"values":return lu(e[r],!1)}return lu([r,e[r]],!1)}),"values"),su.Arguments=su.Array;var pu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gu=d,mu=Ai,vu=lc;for(var yu in pu)mu(gu[yu],yu),vu[yu]=vu.Array;var bu=uc,wu=me,Su=er.f,xu=wu("metadata"),Cu=Function.prototype;void 0===Cu[xu]&&Su(Cu,xu,{value:null}),gi("asyncDispose"),gi("dispose"),gi("metadata");var Ou=bu,Eu=C,Iu=lt("Symbol"),ku=Iu.keyFor,ju=Eu(Iu.prototype.valueOf),Au=Iu.isRegisteredSymbol||function(t){try{return void 0!==ku(ju(t))}catch(t){return!1}};Mr({target:"Symbol",stat:!0},{isRegisteredSymbol:Au});for(var Lu=$t,Du=lt,Mu=C,Fu=jt,Pu=me,Nu=Du("Symbol"),Ru=Nu.isWellKnownSymbol,Tu=Du("Object","getOwnPropertyNames"),_u=Mu(Nu.prototype.valueOf),Uu=Lu("wks"),Vu=0,Bu=Tu(Nu),Wu=Bu.length;Vu<Wu;Vu++)try{var Gu=Bu[Vu];Fu(Nu[Gu])&&Pu(Gu)}catch(t){}var qu=function(t){if(Ru&&Ru(t))return!0;try{for(var e=_u(t),r=0,n=Tu(Uu),o=n.length;r<o;r++)if(Uu[n[r]]==e)return!0}catch(t){}return!1};Mr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:qu}),gi("customMatcher"),gi("observable"),Mr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Au}),Mr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:qu}),gi("matcher"),gi("metadataKey"),gi("patternMatch"),gi("replaceAll");var Qu=c(Ou),zu=C,Hu=Qr,Ju=Zn,Ku=Z,$u=zu("".charAt),Yu=zu("".charCodeAt),Xu=zu("".slice),Zu=function(t){return function(e,r){var n,o,i=Ju(Ku(e)),a=Hu(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Yu(i,a))<55296||n>56319||a+1===s||(o=Yu(i,a+1))<56320||o>57343?t?$u(i,a):n:t?Xu(i,a,a+2):o-56320+(n-55296<<10)+65536}},tl={codeAt:Zu(!1),charAt:Zu(!0)}.charAt,el=Zn,rl=Qi,nl=ou,ol=iu,il="String Iterator",al=rl.set,sl=rl.getterFor(il);nl(String,"String",(function(t){al(this,{type:il,string:el(t),index:0})}),(function(){var t,e=sl(this),r=e.string,n=e.index;return n>=r.length?ol(void 0,!0):(t=tl(r,n),e.index+=t.length,ol(t,!1))}));var cl=c(ai.f("iterator"));function ul(t){return ul="function"==typeof Qu&&"symbol"==typeof cl?function(t){return typeof t}:function(t){return t&&"function"==typeof Qu&&t.constructor===Qu&&t!==Qu.prototype?"symbol":typeof t},ul(t)}var ll=c(ai.f("toPrimitive"));function dl(t){var e=function(t,e){if("object"!=ul(t)||!t)return t;var r=t[ll];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ul(e)?e:e+""}function fl(t,e,r){return(e=dl(e))in t?_r(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const hl=new RegExp("^".concat("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}","$"),"i"),pl=!!String.prototype.trim;function gl(t,e){return null!=t?e(t):t}function ml(t){return"object"==typeof t?JSON.stringify(t):""+t}function vl(t){return null!=t}function yl(t){return!!t&&hl.test(wl(t))}function bl(t){return"[object Array]"===Object.prototype.toString.call(t)}function wl(t){return pl?(""+t).trim():(""+t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function Sl(t){return"string"==typeof t}function xl(t,e){return Sl(t)&&Sl(e)&&wl(t.toLowerCase())===wl(e.toLowerCase())}function Cl(t){return!!t&&"object"==typeof t&&!bl(t)}function Ol(t){return!!t&&"function"==typeof t}function El(t){return function(t,e){return new Date((new Date).getTime()+t*e)}(t,864e5)}function Il(t,e,r){if(Cl(e)){let n;return n="message"in e&&"string"==typeof e.message?new Error(r||e.message):new Error(r),n.name=t,"stack"in e&&"string"==typeof e.stack&&(n.stack=e.stack),"lineNumber"in e&&"number"==typeof e.lineNumber&&(n.lineNumber=e.lineNumber),"columnNumber"in e&&"number"==typeof e.columnNumber&&(n.columnNumber=e.columnNumber),n}{const e=Error(r);return e.name=t,e}}const kl="li_errors";class jl{constructor(t){fl(this,"data",void 0);const e=parseInt(t.toString())||5;this.data={h:{},q:{},size:e}}on(t,e,r){const n={callback:e.bind(r),unbound:e};return this.data={...this.data,h:{...this.data.h,[t]:[...this.data.h[t]||[],n]}},(this.data.q[t]||[]).forEach((t=>e.call(r,t))),this}once(t,e,r){const n=this.data.q[t]||[];if(n.length>0)return e.call(r,n[0]),this;{const n=o=>{this.off(t,n),e.call(r,o)};return n._=e,this.on(t,n,r)}}emit(t,e){(this.data.h[t]||[]).forEach((t=>t.callback(e)));const r=this.data.q[t]||[];return this.data={...this.data,q:{...this.data.q,[t]:[...r.length<this.data.size?r:r.slice(1),e]}},this}off(t,e){const r=this.data.h[t],n=r&&e&&r.filter((t=>t.unbound!==e))||[];if(n.length)this.data={...this.data,h:{...this.data.h,[t]:n}};else{const{[t]:e,...r}=this.data.h;this.data={...this.data,h:r}}return this}emitErrorWithMessage(t,e,r){const n=Il(t,r,e);return this.emit(kl,n)}emitError(t,e){const r=Il(t,e);return this.emit(kl,r)}}class Al{constructor(t){var e,r,n;fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"calls",void 0),fl(this,"eventBus",void 0),fl(this,"retries",void 0),this.url=null!==(e=t.collectorUrl)&&void 0!==e?e:"https://rp.liadm.com",this.timeout=null!==(r=t.ajaxTimeout)&&void 0!==r?r:0,this.calls=t.callHandler,this.eventBus=t.eventBus,this.retries=null!==(n=t.ajaxRetries)&&void 0!==n?n:3}callBakers(t){try{const e=JSON.parse(t).bakers;if(bl(e))for(let t=0;t<e.length;t++)this.calls.pixelGet("".concat(e[t],"?dtstmp=").concat(Date.now()))}catch(e){this.eventBus.emitErrorWithMessage("CallBakers","Error while calling bakers with ".concat(t),e)}}sendState(t,e,r,n){if(t.sendsPixel()){n&&Ol(n)&&n();const o=t.asQuery().add("dtstmp",Date.now(),{prepend:!0}).toQueryString();r("".concat(this.url,"/").concat(e).concat(o))}}sendAjax(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"j",(r=>{const n=o=>{this.calls.ajaxGet(r,(t=>{e.onLoad&&Ol(e.onLoad)&&e.onLoad(),this.callBakers(t)}),(r=>{o<=0?(this.sendPixel(t,e),this.eventBus.emitError("AjaxFailed",r)):n(o-1)}),this.timeout)};n(this.retries)}),e.onPreSend)}sendPixel(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"p",(t=>this.calls.pixelGet(t,e.onLoad)),e.onPreSend)}}const Ll="__li__evt_bus",Dl="lips",Ml="pre_lips",Fl="_li_duid",Pl="https://idx.liadm.com/idex",Nl=[];const Rl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Tl(t){const e=function(t){t="".concat(t);for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>255)return null;let e="";for(let n=0;n<t.length;n+=3){const o=[void 0,void 0,void 0,void 0];o[0]=t.charCodeAt(n)>>2,o[1]=(3&t.charCodeAt(n))<<4,t.length>n+2?(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2,o[2]|=t.charCodeAt(n+2)>>6,o[3]=63&t.charCodeAt(n+2)):t.length>n+1&&(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2);for(let t=0;t<o.length;t++){const n=o[t];e+=void 0===n?"=":(r=n)>=0&&r<64?Rl[r]:void 0}}var r;return e}(t);return e||""}const _l=/[+/]|=+$/g,Ul={"+":"-","/":"_"};function Vl(t){return Ul[t]||""}function Bl(t){let e=null;const r=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((t,e)=>String.fromCharCode(parseInt("0x"+e,16))));try{e=window&&Ol(window.btoa)?window.btoa:Tl}catch(t){e=Tl}return e(r).replace(_l,Vl)}for(var Wl=[],Gl=0;Gl<64;)Wl[Gl]=0|4294967296*Math.sin(++Gl%Math.PI);function ql(t){var e,r,n,o=[e=1732584193,r=4023233417,~e,~r],i=[],a=unescape(encodeURI(t))+"",s=a.length;for(t=--s/4+2|15,i[--t]=8*s;~s;)i[s>>2]|=a.charCodeAt(s)<<8*s--;for(Gl=a=0;Gl<t;Gl+=16){for(s=o;a<64;s=[n=s[3],e+((n=s[0]+[e&r|~e&n,n&e|~n&r,e^r^n,r^(e|~n)][s=a>>4]+Wl[a]+~~i[Gl|15&[a,5*a+1,3*a+5,7*a][s]])<<(s=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*s+a++%4])|n>>>-s),e,r])e=0|s[1],r=s[2];for(a=4;a;)o[--a]+=s[a]}for(t="";a<32;)t+=(o[a>>3]>>4*(1^a++)&15).toString(16);return t}function Ql(t){var e,r,n,o,i,a=[],s=[r=1732584193,n=4023233417,~r,~n,3285377520],c=[],u=unescape(encodeURI(t))+"",l=u.length;for(c[t=--l/4+2|15]=8*l;~l;)c[l>>2]|=u.charCodeAt(l)<<8*~l--;for(e=l=0;e<t;e+=16){for(r=s;l<80;r=[r[4]+(a[l]=l<16?~~c[e+l]:2*u|u<0)+1518500249+[n&o|~n&i,u=341275144+(n^o^i),882459459+(n&o|n&i|o&i),u+1535694389][l++/5>>2]+((u=r[0])<<5|u>>>27),u,n<<30|n>>>2,o,i])u=a[l-3]^a[l-8]^a[l-14]^a[l-16],n=r[1],o=r[2],i=r[3];for(l=5;l;)s[--l]+=r[l]}for(u="";l<40;)u+=(s[l>>3]>>4*(7-l++)&15).toString(16);return u}for(var zl,Hl=18,Jl=[],Kl=[];Hl>1;Hl--)for(zl=Hl;zl<320;)Jl[zl+=Hl]=1;function $l(t,e){return 4294967296*Math.pow(t,1/e)|0}for(zl=0;zl<64;)Jl[++Hl]||(Kl[zl]=$l(Hl,2),Jl[zl++]=$l(Hl,3));function Yl(t,e){return t>>>e|t<<-e}function Xl(t){var e=Kl.slice(Hl=zl=0,8),r=[],n=unescape(encodeURI(t))+"",o=n.length;for(r[t=--o/4+2|15]=8*o;~o;)r[o>>2]|=n.charCodeAt(o)<<8*~o--;for(o=[];Hl<t;Hl+=16){for($l=e.slice();zl<64;$l.unshift(n+(Yl(n=$l[0],2)^Yl(n,13)^Yl(n,22))+(n&$l[1]^$l[1]&$l[2]^$l[2]&n)))$l[3]+=n=0|(o[zl]=zl<16?~~r[zl+Hl]:(Yl(n=o[zl-2],17)^Yl(n,19)^n>>>10)+o[zl-7]+(Yl(n=o[zl-15],7)^Yl(n,18)^n>>>3)+o[zl-16])+$l.pop()+(Yl(n=$l[4],6)^Yl(n,11)^Yl(n,25))+(n&$l[5]^~n&$l[6])+Jl[zl++];for(zl=8;zl;)e[--zl]+=$l[zl]}for(n="";zl<64;)n+=(e[zl>>3]>>4*(7-zl++)&15).toString(16);return n}const Zl=()=>/(\s+)?[a-f0-9]{32,64}(\s+)?/gi,td=new Map([[32,"md5"],[40,"sha1"],[64,"sha256"]]);function ed(t){const e=rd(t);return!!e&&td.has(e.length)}function rd(t){const e=t.match(Zl());return e&&e.map(wl)[0]}function nd(t){const e=t.toLowerCase();return{md5:ql(e),sha1:Ql(e),sha256:Xl(e)}}const od=()=>/\S+(@|%40)\S+\.\S+/;function id(t){return od().test(t)}function ad(t){const e=t.match(od());return e&&e.map(wl)[0]}function sd(t){const e=function(t){const e=[],r=new RegExp("([\\w\\d.+-]+(@|%40)[\\w\\d-]+.[\\w\\d.-]+)","g");let n=r.exec(t);for(;n;)e.push(wl(n[1])),n=r.exec(t);return e}(t),r=[];let n=t;for(let t=0;t<e.length;t++){const o=e[t],i=nd(o);n=n.replace(o,i.md5),r.push(i)}return{stringWithoutRawEmails:n,hashesFromOriginalString:r}}function cd(t,e){return"string"==typeof e&&id(wl(e))?"*********":e}function ud(t){return function(t){return"false"!==t&&("true"===t||t)}(function(t){return"null"===t||"undefined"===t?null:t}(function(t){return isNaN(+t)?t:+t}(t)))}function ld(t,e){if(e in t){const r=t[e];return bl(r)?r.map((t=>ud(fd(t)))):ud(fd(r))}}function dd(t){let e,r,n;const o={};return t&&-1!==(e=t.indexOf("?"))&&(r=t.slice(e+1))&&(-1===(n=r.indexOf("#"))||(r=r.slice(0,n)))?(r.split("&").forEach((function(t){if(t){let e;const r=t.split("=");e=r[0];const n=2===r.length?r[1]:"true";if("[]"===e.slice(-2)&&(e=e.slice(0,-2)),e in o){const t=o[e];bl(t)?t.push(n):o[e]=[t,n]}else o[e]=n}})),o):o}function fd(t){return t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)}class hd{constructor(t){fl(this,"hash",void 0),fl(this,"host",void 0),fl(this,"hostname",void 0),fl(this,"pathname",void 0),fl(this,"port",void 0),fl(this,"protocol",void 0),fl(this,"search",void 0);const e=t.match(/^(https?\:\/\/)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(null===e)throw new TypeError("Failed to parse URL: ".concat(t));this.protocol=e[1]||"",this.host=e[2]||"",this.hostname=e[3]||"",this.port=e[4]||"",this.pathname=e[5]||"",this.search=e[6]||"",this.hash=e[7]||""}toString(){return"".concat(this.protocol).concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)}}const pd=["items","itemids"],gd=["email","emailhash","hash","hashedemail"];const md=[function(t){const e=t.eventSource||{},r=Object.keys(e);for(const n of r){const r=n.toLowerCase();if(gd.indexOf(r)>-1){const r=wl(ml(e[n])),o=ad(r),i=rd(r);if(o){const e=nd(fd(o));return vd({hashedEmail:[e.md5,e.sha1,e.sha256]},t)}if(i&&ed(i))return vd({hashedEmail:[i.toLowerCase()]},t)}}return t},function(t){const e=t.eventSource||{};return Object.keys(e).forEach((t=>{const r=t.toLowerCase(),n=e[t];pd.indexOf(r)>-1&&bl(n)&&n.length>10&&(n.length=10)})),{}}];function vd(t,e){const r={};function n(t){return Cl(t)?t:{}}function o(t){return Object.keys(t)}const i=n(t),a=n(e);return o(i).forEach((t=>{r[t]=i[t]})),o(a).forEach((t=>{r[t]=a[t]})),r}class yd{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];fl(this,"tuples",void 0),this.tuples=t}add(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{stripEmpty:n=!0,prepend:o=!1}=r;return""===t||n&&""===e?this:o?(this.tuples.unshift([t,e]),this):(this.tuples.push([t,e]),this)}addOptional(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vl(e)?this.add(t,e,r):this}addParamsMap(t){return Object.keys(t).forEach((e=>{const r=t[e];vl(r)&&(bl(r)?r.forEach((t=>this.add(e,t))):this.add(e,r))})),this}copy(){return new yd(this.tuples.slice())}filteredCopy(t){return new yd(this.tuples.filter((e=>{let[r,n]=e;return t(r,n)})))}toQueryString(){let t="";return this.tuples.forEach((e=>{let[r,n]=e;const o=0===t.length?"?":"&";t="".concat(t).concat(o).concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})),t}}function bd(t){return null===t?"":t}const wd={full:"full",noPath:"no_path"};function Sd(t){if(void 0===t.pageUrl||0===t.pageUrl.length)return["",!1,[]];if(function(t){return!(void 0!==t.urlCollectionMode&&t.urlCollectionMode!==wd.full||void 0!==t.queryParametersFilter&&""!==t.queryParametersFilter)}(t))return[t.pageUrl,!1,[]];const e=new hd(t.pageUrl),r=function(t){const e=dd(t),r=[];return Object.keys(e).forEach((t=>{r.push([t,ld(e,t)])})),r}(e.search),n=function(t,e){return e.urlCollectionMode===wd.noPath&&t.pathname.length>1}(e,t),o=function(t,e){if(void 0===e.queryParametersFilter||""===e.queryParametersFilter)return[];const r=new RegExp(e.queryParametersFilter);return t.map((t=>t[0])).filter((t=>r.test(t)))}(r,t);return n&&(e.pathname="/"),o.length>0&&(e.search=function(t,e){const r=t.filter((t=>-1===e.indexOf(t[0]))).map((t=>"".concat(t[0],"=").concat(t[1])));return r.length>0?"?".concat(r.join("&")):""}(r,o)),[e.toString(),n,o]}function xd(t){if(0!==t.length){const e=new hd(t);return e.pathname="",e.search="",e.toString()}}const Cd=["setemail","setemailhash","sethashedemail"];class Od{constructor(t,e){fl(this,"data",void 0),fl(this,"eventBus",void 0),this.data=Od.safeFiddle(t,e),this.eventBus=e}static safeFiddle(t,e){try{return Cl((r=JSON.parse(JSON.stringify(t))).eventSource)?md.reduce((function(t,e){return vd(t,e(t))}),r):r}catch(t){return console.error(t),e.emitErrorWithMessage("StateCombineWith","Error while extracting event data",t),{}}var r}combineWith(t){return new Od(vd(this.data,t),this.eventBus)}sendsPixel(){const t=Cl(this.data.eventSource)?this.data.eventSource:{},e=Object.keys(t).filter((t=>"eventname"===t.toLowerCase()||"event"===t.toLowerCase())),r=e&&e.length>=1&&e[0],n=r&&wl(t[r]);return!n||-1===Cd.indexOf(n.toLowerCase())}asQuery(){var t,e,r;const n=this.data,o=(new yd).addOptional("aid",n.appId).addOptional("did",n.distributorId).addOptional("se",gl(n.eventSource,(t=>Bl(JSON.stringify(t,cd))))).addOptional("duid",n.liveConnectId).addOptional("tv",n.trackerVersion);if(vl(n.pageUrl)){const[t,e,r]=Sd(n);o.add("pu",t).addOptional("pu_rp",e?"1":void 0).add("pu_rqp",r.join(","))}return o.addOptional("ae",gl(n.errorDetails,(t=>Bl(JSON.stringify(t))))),bl(n.retrievedIdentifiers)&&n.retrievedIdentifiers.forEach((t=>o.add("ext_".concat(t.name),t.value))),bl(n.hashesFromIdentifiers)&&n.hashesFromIdentifiers.forEach((t=>o.add("scre","".concat(t.md5,",").concat(t.sha1,",").concat(t.sha256)))),o.addOptional("li_did",null===(t=n.decisionIds)||void 0===t?void 0:t.join(",")).addOptional("e",null===(e=n.hashedEmail)||void 0===e?void 0:e.join(",")).addOptional("us_privacy",n.usPrivacyString).addOptional("wpn",n.wrapperName).addOptional("gdpr",gl(n.gdprApplies,(t=>t?"1":"0"))).addOptional("gdpr_consent",n.gdprConsent).addOptional("refr",n.referrer).addOptional("gpp_s",n.gppString).addOptional("gpp_as",null===(r=n.gppApplicableSections)||void 0===r?void 0:r.join(",")).addOptional("cd",n.cookieDomain).addOptional("ic",bd(n.resolvedIdCookie),{stripEmpty:!1}).addOptional("c",n.contextElements),o}}function Ed(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return Ad((()=>t.top.document.referrer))}function Id(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const e=Ad((()=>t.location.ancestorOrigins))||[],r=[];let n,o=t;for(;o!==top;)r.push(o),o=o.parent;r.push(o);for(let t=r.length-1;t>=0&&!n;t--)n=Ad((()=>r[t].location.href)),0!==t&&(n||(n=Ad((()=>r[t-1].document.referrer))),n||(n=e[t-1]));return n}function kd(t,e,r){if(!t&&e&&""!==e&&r){const t=function(t,e){const r=window.document.querySelectorAll(t);let n="";for(let t=0;t<r.length;t++){const o=n+sd(r[t].outerHTML).stringWithoutRawEmails;if(!(jd(o)<=e))return n;n=o}return n}(e,r);return Bl(t)}return""}function jd(t){return Math.ceil(4*new Blob([t]).size/3)}function Ad(t){try{return t()}catch(t){return}}const Ld=t=>({...t,pageUrl:Id(),referrer:Ed(),contextElements:kd(t.privacyMode,t.contextSelectors,t.contextElementsLength)});function Dd(t){let e=[];t&&(bl(t)?e=t:Sl(t)&&(e=t.split(",")));for(let t=0;t<e.length;t++)e[t]=e[t].trim();return e}function Md(t,e){const r=[];let n=[];for(let o=0;o<t.length;o++){const i=t[o],a=e.getCookie(i)||e.getDataFromLocalStorage(i);if(a){const t=sd(ml(a));r.push({name:i,value:t.stringWithoutRawEmails}),n=n.concat(t.hashesFromOriginalString)}}return{retrievedIdentifiers:r,hashesFromIdentifiers:Fd(n)}}function Fd(t){const e=new Set,r=[];for(let n=0;n<t.length;n++)e.has(t[n].md5)||(r.push(t[n]),e.add(t[n].md5));return r}const Pd=t=>{var e;return{...t,privacyMode:!!t.gdprApplies||(null!==(e=t.gppApplicableSections)&&void 0!==e?e:[]).indexOf(2)>-1}};function Nd(t,e){if(t&&t.appId&&t.distributorId){const r=t.distributorId;delete t.distributorId,e.emitError("AppIdAndDistributorIdPresent",new Error("Event contains both appId: ".concat(t.appId," and distributorId: ").concat(r,". Ignoring distributorId")))}return t}const Rd="idCookie";class Td{constructor(t,e,r){var n,o;fl(this,"eventBus",void 0),fl(this,"calls",void 0),fl(this,"idexConfig",void 0),fl(this,"externalIds",void 0),fl(this,"source",void 0),fl(this,"publisherId",void 0),fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"requestedAttributes",void 0),fl(this,"query",void 0),fl(this,"privacyMode",void 0),fl(this,"resolvedIdCookie",void 0),fl(this,"generateIdCookie",void 0),fl(this,"peopleVerifiedId",void 0),fl(this,"pageUrl",void 0);const i=t||{identityResolutionConfig:{}};this.eventBus=r,this.calls=e,this.idexConfig=i.identityResolutionConfig||{},this.externalIds=i.retrievedIdentifiers||[],this.source=this.idexConfig.source||"unknown",this.publisherId=this.idexConfig.publisherId||"any",this.url=this.idexConfig.url||Pl,this.timeout=this.idexConfig.ajaxTimeout||i.ajaxTimeout||5e3,this.requestedAttributes=this.idexConfig.requestedAttributes||Nl,this.privacyMode=null!==(n=i.privacyMode)&&void 0!==n&&n,this.resolvedIdCookie=i.resolvedIdCookie,this.generateIdCookie="generated"===this.idexConfig.idCookieMode,this.peopleVerifiedId=i.peopleVerifiedId,this.pageUrl=i.pageUrl,this.query=(new yd).addOptional("duid",i.peopleVerifiedId).addOptional("us_privacy",i.usPrivacyString).addOptional("gdpr",gl(i.gdprApplies,(t=>t?1:0))).addOptional("gdpr_consent",i.gdprConsent).addOptional("did",i.distributorId).addOptional("gpp_s",i.gppString).addOptional("gpp_as",null===(o=i.gppApplicableSections)||void 0===o?void 0:o.join(",")).addOptional("cd",i.cookieDomain).addOptional("ic",bd(i.resolvedIdCookie),{stripEmpty:!1}).addOptional("pu",gl(i.pageUrl,xd)),this.externalIds.forEach((t=>{this.query.add(t.name,t.value)})),this.requestedAttributes.forEach((t=>{this.query.add("resolve",t)}))}attributeResolutionAllowed(t){return"uid2"===t?!this.privacyMode:t!==Rd}filterParams(t){return t.filteredCopy(((t,e)=>"resolve"!==t||!!Sl(e)&&this.attributeResolutionAllowed(e)))}enrichExtraIdentifiers(t,e){const r=e.tuples.filter((t=>{let[e]=t;return"resolve"===e})).map((t=>{let[,e]=t;return e}));const n={...t};var o;return o=Rd,r.indexOf(o)>-1&&(this.generateIdCookie&&this.peopleVerifiedId?n[Rd]=this.peopleVerifiedId:this.resolvedIdCookie&&(n[Rd]=this.resolvedIdCookie)),n}responseReceived(t,e){return(r,n)=>{let o={};if(r)try{const t=JSON.parse(r);Cl(t)&&(o=t)}catch(t){console.error("Error parsing response",t),this.eventBus.emitError("IdentityResolverParser",t)}const i=function(t){if(Cl(t)&&"getResponseHeader"in t&&Ol(t.getResponseHeader)){const e=t.getResponseHeader("expires");if(e)return new Date(e)}}(n);t(this.enrichExtraIdentifiers(o,e),{expiresAt:i})}}buildUrl(t){return"".concat(this.url,"/").concat(this.source,"/").concat(this.publisherId).concat(this.filterParams(t).toQueryString())}getUrl(t){const e=this.query.copy().addParamsMap(null!=t?t:{});return this.buildUrl(e)}resolve(t,e,r){try{const n=this.query.copy().addParamsMap(null!=r?r:{});this.calls.ajaxGet(this.buildUrl(n),this.responseReceived(t,n),e,this.timeout)}catch(t){console.error("IdentityResolve",t),e&&Ol(e)&&e(t),this.eventBus&&this.eventBus.emitError("IdentityResolve",t)}}}function _d(t){return new jl("number"==typeof t&&t>=0?t:5)}function Ud(t){Ol(t.emitErrorWithMessage)&&Ol(t.emitError)||(t.emitErrorWithMessage=function(e,r){const n=Il(e,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});return t.emit(kl,n)},t.emitError=function(e,r){return t.emitErrorWithMessage(e,r.message,r)})}function Vd(){return _d(arguments.length>0&&void 0!==arguments[0]?arguments[0]:5)}function Bd(t){const e=window[t].eventBus||window[Ll];return Ud(e),e}const Wd="_li_dcdm_c";function Gd(t){const e=t.getCookie(Wd);if(e)return e;const r=document.domain||document.location&&document.location.host||window&&window.location&&window.location.host||"localhost",n=r.split(".");for(let e=n.length;e>0;e--){const r=".".concat(n.slice(e-1,n.length).join("."));if(t.setCookie(Wd,r,void 0,"Lax",r),t.getCookie(Wd))return r}return".".concat(r)}const qd={cookie:"cookie",localStorage:"ls",none:"none",disabled:"disabled"},Qd=t=>{const e=t.privacyMode?qd.disabled:t.storageStrategy||qd.cookie;return{...t,storageStrategy:e}},zd=El(30),Hd="li_did",Jd="lidids.",Kd=(t,e,r)=>r.indexOf(t)===e,$d=t=>t&&wl(t).length>0;function Yd(t,e){return r=>{function n(t,r){try{return r()}catch(r){return e.emitErrorWithMessage("DecisionsResolve",t,r),[]}}const o=n("Error while extracting new decision ids",(()=>{var t,e;return[].concat(r.pageUrl&&(t=r.pageUrl,e=Hd,ld(dd(t),e))||[]).map(wl).filter($d).filter(yl).filter(Kd)})),i=n("Error while retrieving stored decision ids",(()=>t.findSimilarCookies(Jd).map(wl).filter($d).filter(yl)));return o.forEach((n=>{try{(o=n)&&t.setCookie("".concat(Jd).concat(o),o,zd,"Lax",r.cookieDomain)}catch(t){e.emitErrorWithMessage("DecisionsResolve","Error while storing new decision id",t)}var o})),{...r,decisionIds:o.concat(i).filter(Kd)}}}const Xd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",Zd=Xd.length,tf=Math.pow(2,48)-1,ef=10,rf=16,nf=function(){const t="undefined"!=typeof window?window:null,e=t&&(t.crypto||t.msCrypto);if(e)return()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]/255};return()=>Math.random()}();function of(t,e){if(t>tf)throw function(t){const e=new Error(t);return e.source="Ulid",e}("cannot encode time greater than "+tf);let r,n="";for(;e>0;e--)r=t%Zd,n=Xd.charAt(r)+n,t=(t-r)/Zd;return n}function af(){let t=Math.floor(nf()*Zd);return t===Zd&&(t=Zd-1),Xd.charAt(t)}function sf(){return of(Date.now(),ef)+function(t){let e="";for(;t>0;t--)e=af()+e;return e}(rf)}const cf="_lc2_fpi";function uf(t,e){return r=>{let n;const o=t.get(cf);if(o)n=o.data;else{const o=e.getCookie(cf);if(o)t.set(cf,o),n=o;else{var i;const e="".concat(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return Ql(t.replace(/^\./,"")).substring(0,e)}(r.cookieDomain),"--").concat(sf()).toLocaleLowerCase();t.set(cf,e),n=null===(i=t.get(cf))||void 0===i?void 0:i.data}}return n&&e.setDataInLocalStorage(Fl,n),{...r,liveConnectId:n,peopleVerifiedId:n}}}const lf=120,df={errorDetails:{message:"Unknown message",name:"Unknown name"}};function ff(t){try{const e=1*t;return isNaN(e)?void 0:e}catch{}}function hf(t){try{return Sl(t)&&t.length&&t.length>lf?"".concat(t.substr(0,lf),"..."):"".concat(t)}catch{}}function pf(t){return Cl(t)?{errorDetails:{message:hf(t.message)||"",name:hf(t.name)||"",stackTrace:hf(t.stack),lineNumber:ff(t.lineNumber),columnNumber:ff(t.columnNumber),fileName:hf(t.fileName)}}:df}const gf=()=>{};class mf{constructor(t,e,r){fl(this,"obj",void 0),fl(this,"name",void 0),fl(this,"errors",void 0),fl(this,"eventBus",void 0),this.obj=t,this.name=e,this.errors=[],this.eventBus=r}wrap(t){var e=this;if(Cl(this.obj)){const r=this.obj[t];if(Ol(r))return function(){try{for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r.call(e.obj,...o)}catch(r){e.eventBus.emitErrorWithMessage(e.name,"Failed calling ".concat(t),r)}}}return this.errors.push(t),gf}reportErrors(){this.errors.length>0&&this.eventBus.emitErrorWithMessage(this.name,"The functions '".concat(JSON.stringify(this.errors),"' were not provided"))}}const vf=()=>{};function yf(t,e,r){return xl(e,qd.disabled)?vf:t.wrap(r)}function bf(t,e,r){return xl(e,qd.none)?vf:yf(t,e,r)}class wf{constructor(t,e){fl(this,"minimalFunctions",void 0),this.minimalFunctions={getCookie:yf(e,t,"getCookie"),getDataFromLocalStorage:yf(e,t,"getDataFromLocalStorage"),localStorageIsEnabled:bf(e,t,"localStorageIsEnabled")}}static make(t,e,r){const n=new mf(e,"ReadOnlyStorageHandler",r),o=new wf(t,n);return n.reportErrors(),o}localStorageIsEnabled(){return!!this.minimalFunctions.localStorageIsEnabled()}getCookie(t){return this.minimalFunctions.getCookie(t)||null}getDataFromLocalStorage(t){return this.minimalFunctions.getDataFromLocalStorage(t)||null}}class Sf extends wf{constructor(t,e){super(t,e),fl(this,"storageStrategy",void 0),fl(this,"functions",void 0),this.storageStrategy=t,this.functions={setCookie:bf(e,t,"setCookie"),removeDataFromLocalStorage:bf(e,t,"removeDataFromLocalStorage"),setDataInLocalStorage:bf(e,t,"setDataInLocalStorage"),findSimilarCookies:yf(e,t,"findSimilarCookies")}}static make(t,e,r){const n=new mf(e,"StorageHandler",r),o=new Sf(t,n);return n.reportErrors(),o}setCookie(t,e,r,n,o){this.functions.setCookie(t,e,r,n,o)}setDataInLocalStorage(t,e){this.functions.setDataInLocalStorage(t,e)}removeDataFromLocalStorage(t){this.functions.removeDataFromLocalStorage(t)}findSimilarCookies(t){return this.functions.findSimilarCookies(t)||[]}}class xf extends Error{constructor(t){super(t),this.name="ParseError"}}class Cf{constructor(t){fl(this,"handler",void 0),fl(this,"cookieDomain",void 0),fl(this,"eventBus",void 0),this.handler=t.storageHandler,this.cookieDomain=t.cookieDomain,this.eventBus=t.eventBus}deleteCookie(t){this.handler.setCookie(t,"",new Date(0),"Lax",this.cookieDomain)}parseMetaRecord(t){const e=JSON.parse(t);if(!Cl(e))throw new xf("Meta record is not an object");let r;if("e"in e&&(r=new Date(e.e),isNaN(r.getTime())))throw new xf("Invalid expiresAt");if(!("w"in e))throw new xf("Missing writtenAt");const n=new Date(e.w);if(isNaN(n.getTime()))throw new xf("Invalid writtenAt");return{expiresAt:r,writtenAt:n}}serializeMetaRecord(t){let e;return t.expiresAt&&(e=t.expiresAt.getTime()),JSON.stringify({w:t.writtenAt.getTime(),e})}getCookieRecord(t,e){const r=this.handler.getCookie(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from cookies",r),this.deleteCookie(t),this.deleteCookie(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return null;const i=this.handler.getCookie(t);return i?{data:i,meta:n}:null}getLSRecord(t,e){const r=this.handler.getDataFromLocalStorage(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from ls",r),this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null;const i=this.handler.getDataFromLocalStorage(t);return i?{data:i,meta:n}:null}get(t){const e=Of(t),r=this.getCookieRecord(t,e),n=this.getLSRecord(t,e);return r&&n?r.meta.writtenAt.getTime()===n.meta.writtenAt.getTime()?r:r.meta.writtenAt>n.meta.writtenAt?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):r?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):n?(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):null}set(t,e,r){const n=Of(t),o=this.serializeMetaRecord({writtenAt:new Date,expiresAt:r});this.handler.setDataInLocalStorage(t,e),this.handler.setDataInLocalStorage(n,o);const i=r||El(730);this.handler.setCookie(t,e,i,"Lax",this.cookieDomain),this.handler.setCookie(n,o,i,"Lax",this.cookieDomain)}}function Of(t){return"".concat(t,"_meta")}const Ef=()=>{};function If(t,e,r){return e?Ef:t.wrap(r)}class kf{constructor(t,e,r){fl(this,"functions",void 0);const n=new mf(t,"CallHandler",e);this.functions={ajaxGet:If(n,r,"ajaxGet"),pixelGet:If(n,r,"pixelGet")},n.reportErrors()}ajaxGet(t,e,r,n){this.functions.ajaxGet(t,e,r,n)}pixelGet(t,e){this.functions.pixelGet(t,e)}}function jf(t){return e=>{var r,n,o,i;return"cookie"===(null===(r=e.idCookie)||void 0===r?void 0:r.strategy)&&"string"==typeof(null===(n=e.idCookie)||void 0===n?void 0:n.name)?{...e,resolvedIdCookie:t.getCookie(e.idCookie.name)}:"localStorage"===(null===(o=e.idCookie)||void 0===o?void 0:o.strategy)&&"string"==typeof(null===(i=e.idCookie)||void 0===i?void 0:i.name)?{...e,resolvedIdCookie:t.getDataFromLocalStorage(e.idCookie.name)}:e}}const Af={};function Lf(t,e,r,n){if(t&&Cl(t))if("config"in t)n.emitErrorWithMessage("StrayConfig","Received a config after LC has already been initialised",new Error(JSON.stringify(t)));else{const o=new Od(r,n),i=o.combineWith({eventSource:t});Af.hashedEmail=Af.hashedEmail||i.data.hashedEmail;const a=vd({eventSource:t},Af),s=()=>n.emit(Ml,"0"),c=()=>n.emit(Dl,r);e.sendAjax(o.combineWith(a),{onPreSend:s,onLoad:c})}else n.emitErrorWithMessage("EventNotAnObject","Received event was not an object",new Error(t))}function Df(t,e,r,n){try{const o={...Nd(t,n),identifiersToResolve:t.identifiersToResolve||[],contextSelectors:t.contextSelectors||"",contextElementsLength:t.contextElementsLength||0},i=Ld(Qd(Pd(o))),a=new kf(r,n,i.privacyMode),s=Sf.make(i.storageStrategy,e,n),c=function(t){return e=>({...e,cookieDomain:Gd(t)})}(s)(i),u=new Cf({storageHandler:s,eventBus:n,cookieDomain:c.cookieDomain}),l=jf(s)(uf(u,s)(Yd(s,n)(function(t,e){return r=>{try{return{...r,...Md(Dd(r.identifiersToResolve),t)}}catch(t){return e.emitError("IdentifiersEnricher",t),{...r,retrievedIdentifiers:[],hashesFromIdentifiers:[]}}}}(s,n)(c)))),d=new Al({collectorUrl:o.collectorUrl,ajaxTimeout:o.ajaxTimeout,eventBus:n,callHandler:a});!function(t,e,r){try{r.on(kl,(n=>{e.sendPixel(new Od({...t,...pf(n)},r))}))}catch(t){console.error("handlers.error.register",t)}}(l,d,n);const f=new Td(l,a,n),h=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t,e,r,n){try{t.forEach((t=>{const o=t;bl(o)?o.forEach((t=>Lf(t,e,r,n))):Lf(o,e,r,n)}))}catch(t){console.error("Error sending events",t),n.emitErrorWithMessage("LCPush","Failed sending an event",t)}}(e,d,l,n)};return{push:h,fire:()=>h({}),peopleVerifiedId:l.peopleVerifiedId,ready:!0,resolve:f.resolve.bind(f),resolutionCallUrl:f.getUrl.bind(f),config:o,eventBus:n,storageHandler:s,cache:u}}catch(t){console.error(t),n.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}}function Mf(t,e,r,n){const o=window[t.globalVarName]||[],i=function(t){try{if(window&&window[t.globalVarName]&&window[t.globalVarName].ready){const e=window[t.globalVarName].config&&function(t,e){if(t.appId!==e.appId||t.wrapperName!==e.wrapperName||t.collectorUrl!==e.collectorUrl)return{appId:[t.appId,e.appId],wrapperName:[t.wrapperName,e.wrapperName],collectorUrl:[t.collectorUrl,e.collectorUrl]}}(window[t.globalVarName].config,t);if(e){const r=new Error;r.name="ConfigSent",r.message="Additional configuration received";const n=Bd(t.globalVarName);window[t.globalVarName].eventBus=n,n.emitErrorWithMessage("LCDuplication",JSON.stringify(e),r)}return window[t.globalVarName]}}catch(t){console.error("Could not initialize error bus")}}(t)||Df(t,e,r,n)||o;if(bl(o))for(let t=0;t<o.length;t++)i.push(o[t]);return window[i.config.globalVarName]=i,window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}function Ff(t,e,r,n){const o=Cl(t)&&t||{},i=n||Vd();let a;try{a=o.globalVarName?Mf(o,e,r,i):function(t,e,r,n){const o=Df(t,e,r,n);return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t),i.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}return a}function Pf(t,e){const r=bl(t)?t:ml(t).split(","),n=[];for(let t=0;t<r.length;t++){const i=wl(r[t]),a=e.getCookie(i)||e.getDataFromLocalStorage(i);!a||(o=ml(a),od().test(o))||id(ml(a))||n.push({name:i,value:ml(a)})}var o;return n}function Nf(t,e,r,n,o){try{const i={...Nd(t,n),identifiersToResolve:t.identifiersToResolve||[]},a=Qd(Pd(i)),s=wf.make(a.storageStrategy,e,n),c=new kf(r,n,a.privacyMode),u=function(t,e){return r=>{try{return{...r,retrievedIdentifiers:Pf(r.identifiersToResolve,t)}}catch(t){return e.emitError("IdentifiersEnrich",t),{...r,retrievedIdentifiers:[]}}}}(s,n)(jf(s)(function(t,e){return r=>{try{return{...r,peopleVerifiedId:r.peopleVerifiedId||t.getDataFromLocalStorage(Fl)||void 0}}catch(t){return e.emitError("PeopleVerifiedEnrich",t),r}}}(s,n)(a))),l=new Td(u,c,n);return{push:t=>o(t),fire:()=>o({}),peopleVerifiedId:u.peopleVerifiedId,ready:!0,resolve:l.resolve.bind(l),resolutionCallUrl:l.getUrl.bind(l),config:i,eventBus:n,storageHandler:s}}catch(t){console.error(t)}}function Rf(t,e,r,n){const o=Cl(t)&&t||{},i=n||Vd();try{return o.globalVarName?function(t,e,r,n){const o=window[t.globalVarName]=window[t.globalVarName]||[],i=Nf(t,e,r,n,o.push.bind(o));return window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}(o,e,r,i):function(t,e,r,n){const o=Nf(t,e,r,n,(()=>{}));return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t)}return{}}const Tf=function(t,e,r,n,o){const i="minimal"===n,a=o||Vd();return(i?Rf:Ff)(Cl(t)&&t||{},e,r,a)};var _f=r(16916),Uf=r(12938),Vf=r(45569),Bf=r(50646),Wf=r(2660),Gf=r(27934);const qf=5e3,Qf="pre_lips",zf="liveIntentId",Hf="liveintent.com",Jf=(0,Uf.vM)({moduleType:Vf.fW,moduleName:zf}),Kf={nonId:!0},$f={ajaxGet:(t,e,r,n)=>{(0,i.g4)(n)(t,{success:e,error:r},void 0,{method:"GET",withCredentials:!0})},pixelGet:(t,e)=>(0,o.triggerPixel)(t,e)};let Yf=!1,Xf=null;function Zf(){Yf=!0}function th(t){function e(t){return Object.entries(t).flatMap((t=>{let[e,r]=t;return"boolean"==typeof r&&r?[(n=e,"fpid"===n?"idCookie":n)]:[];var n}))}return e("object"==typeof t?{...Kf,...t}:Kf)}function eh(t){if(Xf)return Xf;const e=(t=t||{}).fpid||{},r={publisherId:t.publisherId||"any",requestedAttributes:th(t.requestedAttributesOverrides)};t.url&&(r.url=t.url),r.ajaxTimeout=t.ajaxTimeout||qf;const n=function(t){const e={};return(t=t||{}).appId&&(e.appId=t.appId),t.fpiStorageStrategy&&(e.storageStrategy=t.fpiStorageStrategy),t.fpiExpirationDays&&(e.expirationDays=t.fpiExpirationDays),t.collectorUrl&&(e.collectorUrl=t.collectorUrl),e.ajaxTimeout=t.ajaxTimeout||qf,e}(t.liCollectConfig);!n.appId&&t.distributorId?(n.distributorId=t.distributorId,r.source=t.distributorId):r.source=t.partner||"prebid",n.wrapperName="prebid",n.trackerVersion="9.2.0",n.identityResolutionConfig=r,n.identifiersToResolve=t.identifiersToResolve||[],n.fireEventDelay=t.fireEventDelay,n.idCookie={},n.idCookie.name=e.name,n.idCookie.strategy="html5"==e.strategy?"localStorage":e.strategy;const o=_f.t6.getConsentData();o&&(n.usPrivacyString=o);const i=_f.mW.getConsentData();i&&(n.gdprApplies=i.gdprApplies,n.gdprConsent=i.consentString);const a=_f.ad.getConsentData();return a&&(n.gppString=a.gppString,n.gppApplicableSections=a.applicableSections),Xf=nh.getInitializer()(n,Jf,$f),t.emailHash&&Xf.push({hash:t.emailHash}),Xf}function rh(){if(!Yf&&Xf){const t=Xf.config.fireEventDelay||500;setTimeout((()=>{window.liQ_instances.forEach((t=>t.eventBus.once(Qf,Zf))),!Yf&&Xf&&Xf.fire()}),t)}}const nh={moduleMode:"standard",name:zf,setModuleMode(t){this.moduleMode=t},getInitializer(){return(t,e,r)=>Tf(t,e,r,this.moduleMode)},decode(t,e){const r=e&&e.params||{};return Xf||eh(r),rh(),function(t){const e={},r=t.nonId||t.unifiedId;if(r){const n={...t,lipbid:r};delete n.unifiedId,e.lipb=n}return t.uid2&&(e.uid2={id:t.uid2,ext:{provider:Hf}}),t.bidswitch&&(e.bidswitch={id:t.bidswitch,ext:{provider:Hf}}),t.medianet&&(e.medianet={id:t.medianet,ext:{provider:Hf}}),t.magnite&&(e.magnite={id:t.magnite,ext:{provider:Hf}}),t.index&&(e.index={id:t.index,ext:{provider:Hf}}),t.openx&&(e.openx={id:t.openx,ext:{provider:Hf}}),t.pubmatic&&(e.pubmatic={id:t.pubmatic,ext:{provider:Hf}}),t.sovrn&&(e.sovrn={id:t.sovrn,ext:{provider:Hf}}),t.idCookie&&(_f.et.getCoppa()||(e.lipb={...e.lipb,fpid:t.idCookie},e.fpid={id:t.idCookie}),delete e.lipb.idCookie),t.thetradedesk&&(e.lipb={...e.lipb,tdid:t.thetradedesk},e.tdid={id:t.thetradedesk,ext:{rtiPartner:"TDID",provider:(0,Gf.EN)().domain||Hf}},delete e.lipb.thetradedesk),e}(t)},getId(t){const e=eh(t&&t.params||{});if(!e)return;rh();return{callback:function(t){e.resolve((e=>{t(e)}),(e=>{(0,o.logError)(`${zf}: ID fetch encountered an error: `,e),t()}))}}},eids:{...Wf.M,...Bf.x,lipb:{getValue:function(t){return t.lipbid},source:"liveintent.com",atype:3,getEidExt:function(t){if(Array.isArray(t.segments)&&t.segments.length)return{segments:t.segments}}},bidswitch:{source:"bidswitch.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},medianet:{source:"media.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},magnite:{source:"rubiconproject.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},index:{source:"liveintent.indexexchange.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},openx:{source:"openx.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},pubmatic:{source:"pubmatic.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},sovrn:{source:"liveintent.sovrn.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},fpid:{source:"fpid.liveintent.com",atype:1,getValue:function(t){return t.id}}}};(0,a.bz)("userId",nh),(0,n.E)("liveIntentIdSystem")}},t=>{t.O(0,[17045,44950,60802,51085],(()=>{return e=16839,t(t.s=e);var e}));t.O()}]);
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[22259],{16839:(t,e,r)=>{var n=r(7873),o=r(91069),i=r(68044),a=r(16833),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var u={exports:{}},l=function(t){return t&&t.Math===Math&&t},d=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof s&&s)||l("object"==typeof s&&s)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},h=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=h,g=Function.prototype,m=g.apply,v=g.call,y="object"==typeof Reflect&&Reflect.apply||(p?v.bind(m):function(){return v.apply(m,arguments)}),b=h,w=Function.prototype,S=w.call,x=b&&w.bind.bind(S,S),C=b?x:function(t){return function(){return S.apply(t,arguments)}},O=C,E=O({}.toString),I=O("".slice),k=function(t){return I(E(t),8,-1)},j=k,A=C,L=function(t){if("Function"===j(t))return A(t)},D="object"==typeof document&&document.all,M=void 0===D&&void 0!==D?function(t){return"function"==typeof t||t===D}:function(t){return"function"==typeof t},F={},P=!f((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=h,R=Function.prototype.call,T=N?R.bind(R):function(){return R.apply(R,arguments)},_={},U={}.propertyIsEnumerable,V=Object.getOwnPropertyDescriptor,B=V&&!U.call({1:2},1);_.f=B?function(t){var e=V(this,t);return!!e&&e.enumerable}:U;var W,G,q=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Q=f,z=k,H=Object,J=C("".split),K=Q((function(){return!H("z").propertyIsEnumerable(0)}))?function(t){return"String"===z(t)?J(t,""):H(t)}:H,$=function(t){return null==t},Y=$,X=TypeError,Z=function(t){if(Y(t))throw new X("Can't call method on "+t);return t},tt=K,et=Z,rt=function(t){return tt(et(t))},nt=M,ot=function(t){return"object"==typeof t?null!==t:nt(t)},it={},at=it,st=d,ct=M,ut=function(t){return ct(t)?t:void 0},lt=function(t,e){return arguments.length<2?ut(at[t])||ut(st[t]):at[t]&&at[t][e]||st[t]&&st[t][e]},dt=C({}.isPrototypeOf),ft=d,ht="undefined"!=typeof navigator&&String(navigator.userAgent)||"",pt=ft.process,gt=ft.Deno,mt=pt&&pt.versions||gt&>.version,vt=mt&&mt.v8;vt&&(G=(W=vt.split("."))[0]>0&&W[0]<4?1:+(W[0]+W[1])),!G&&ht&&(!(W=ht.match(/Edge\/(\d+)/))||W[1]>=74)&&(W=ht.match(/Chrome\/(\d+)/))&&(G=+W[1]);var yt=G,bt=yt,wt=f,St=d.String,xt=!!Object.getOwnPropertySymbols&&!wt((function(){var t=Symbol("symbol detection");return!St(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&bt&&bt<41})),Ct=xt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ot=lt,Et=M,It=dt,kt=Object,jt=Ct?function(t){return"symbol"==typeof t}:function(t){var e=Ot("Symbol");return Et(e)&&It(e.prototype,kt(t))},At=String,Lt=function(t){try{return At(t)}catch(t){return"Object"}},Dt=M,Mt=Lt,Ft=TypeError,Pt=function(t){if(Dt(t))return t;throw new Ft(Mt(t)+" is not a function")},Nt=Pt,Rt=$,Tt=T,_t=M,Ut=ot,Vt=TypeError,Bt={exports:{}},Wt=d,Gt=Object.defineProperty,qt=d,Qt=function(t,e){try{Gt(Wt,t,{value:e,configurable:!0,writable:!0})}catch(r){Wt[t]=e}return e},zt="__core-js_shared__",Ht=Bt.exports=qt[zt]||Qt(zt,{});(Ht.versions||(Ht.versions=[])).push({version:"3.37.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Jt=Bt.exports,Kt=Jt,$t=function(t,e){return Kt[t]||(Kt[t]=e||{})},Yt=Z,Xt=Object,Zt=function(t){return Xt(Yt(t))},te=Zt,ee=C({}.hasOwnProperty),re=Object.hasOwn||function(t,e){return ee(te(t),e)},ne=C,oe=0,ie=Math.random(),ae=ne(1..toString),se=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ae(++oe+ie,36)},ce=$t,ue=re,le=se,de=xt,fe=Ct,he=d.Symbol,pe=ce("wks"),ge=fe?he.for||he:he&&he.withoutSetter||le,me=function(t){return ue(pe,t)||(pe[t]=de&&ue(he,t)?he[t]:ge("Symbol."+t)),pe[t]},ve=T,ye=ot,be=jt,we=function(t,e){var r=t[e];return Rt(r)?void 0:Nt(r)},Se=function(t,e){var r,n;if("string"===e&&_t(r=t.toString)&&!Ut(n=Tt(r,t)))return n;if(_t(r=t.valueOf)&&!Ut(n=Tt(r,t)))return n;if("string"!==e&&_t(r=t.toString)&&!Ut(n=Tt(r,t)))return n;throw new Vt("Can't convert object to primitive value")},xe=TypeError,Ce=me("toPrimitive"),Oe=function(t,e){if(!ye(t)||be(t))return t;var r,n=we(t,Ce);if(n){if(void 0===e&&(e="default"),r=ve(n,t,e),!ye(r)||be(r))return r;throw new xe("Can't convert object to primitive value")}return void 0===e&&(e="number"),Se(t,e)},Ee=jt,Ie=function(t){var e=Oe(t,"string");return Ee(e)?e:e+""},ke=ot,je=d.document,Ae=ke(je)&&ke(je.createElement),Le=function(t){return Ae?je.createElement(t):{}},De=Le,Me=!P&&!f((function(){return 7!==Object.defineProperty(De("div"),"a",{get:function(){return 7}}).a})),Fe=P,Pe=T,Ne=_,Re=q,Te=rt,_e=Ie,Ue=re,Ve=Me,Be=Object.getOwnPropertyDescriptor;F.f=Fe?Be:function(t,e){if(t=Te(t),e=_e(e),Ve)try{return Be(t,e)}catch(t){}if(Ue(t,e))return Re(!Pe(Ne.f,t,e),t[e])};var We=f,Ge=M,qe=/#|\.prototype\./,Qe=function(t,e){var r=He[ze(t)];return r===Ke||r!==Je&&(Ge(e)?We(e):!!e)},ze=Qe.normalize=function(t){return String(t).replace(qe,".").toLowerCase()},He=Qe.data={},Je=Qe.NATIVE="N",Ke=Qe.POLYFILL="P",$e=Qe,Ye=Pt,Xe=h,Ze=L(L.bind),tr=function(t,e){return Ye(t),void 0===e?t:Xe?Ze(t,e):function(){return t.apply(e,arguments)}},er={},rr=P&&f((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),nr=ot,or=String,ir=TypeError,ar=function(t){if(nr(t))return t;throw new ir(or(t)+" is not an object")},sr=P,cr=Me,ur=rr,lr=ar,dr=Ie,fr=TypeError,hr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,gr="enumerable",mr="configurable",vr="writable";er.f=sr?ur?function(t,e,r){if(lr(t),e=dr(e),lr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&vr in r&&!r[vr]){var n=pr(t,e);n&&n[vr]&&(t[e]=r.value,r={configurable:mr in r?r[mr]:n[mr],enumerable:gr in r?r[gr]:n[gr],writable:!1})}return hr(t,e,r)}:hr:function(t,e,r){if(lr(t),e=dr(e),lr(r),cr)try{return hr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new fr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var yr=er,br=q,wr=P?function(t,e,r){return yr.f(t,e,br(1,r))}:function(t,e,r){return t[e]=r,t},Sr=d,xr=y,Cr=L,Or=M,Er=F.f,Ir=$e,kr=it,jr=tr,Ar=wr,Lr=re,Dr=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return xr(t,this,arguments)};return e.prototype=t.prototype,e},Mr=function(t,e){var r,n,o,i,a,s,c,u,l,d=t.target,f=t.global,h=t.stat,p=t.proto,g=f?Sr:h?Sr[d]:Sr[d]&&Sr[d].prototype,m=f?kr:kr[d]||Ar(kr,d,{})[d],v=m.prototype;for(i in e)n=!(r=Ir(f?i:d+(h?".":"#")+i,t.forced))&&g&&Lr(g,i),s=m[i],n&&(c=t.dontCallGetSet?(l=Er(g,i))&&l.value:g[i]),a=n&&c?c:e[i],(r||p||typeof s!=typeof a)&&(u=t.bind&&n?jr(a,Sr):t.wrap&&n?Dr(a):p&&Or(a)?Cr(a):a,(t.sham||a&&a.sham||s&&s.sham)&&Ar(u,"sham",!0),Ar(m,i,u),p&&(Lr(kr,o=d+"Prototype")||Ar(kr,o,{}),Ar(kr[o],i,a),t.real&&v&&(r||!v[i])&&Ar(v,i,a)))},Fr=Mr,Pr=P,Nr=er.f;Fr({target:"Object",stat:!0,forced:Object.defineProperty!==Nr,sham:!Pr},{defineProperty:Nr});var Rr=it.Object,Tr=u.exports=function(t,e,r){return Rr.defineProperty(t,e,r)};Rr.defineProperty.sham&&(Tr.sham=!0);var _r=c(u.exports),Ur=k,Vr=Array.isArray||function(t){return"Array"===Ur(t)},Br=Math.ceil,Wr=Math.floor,Gr=Math.trunc||function(t){var e=+t;return(e>0?Wr:Br)(e)},qr=Gr,Qr=function(t){var e=+t;return e!=e||0===e?0:qr(e)},zr=Qr,Hr=Math.min,Jr=function(t){var e=zr(t);return e>0?Hr(e,9007199254740991):0},Kr=function(t){return Jr(t.length)},$r=TypeError,Yr=P,Xr=er,Zr=q,tn={};tn[me("toStringTag")]="z";var en="[object z]"===String(tn),rn=en,nn=M,on=k,an=me("toStringTag"),sn=Object,cn="Arguments"===on(function(){return arguments}()),un=rn?on:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=sn(t),an))?r:cn?on(e):"Object"===(n=on(e))&&nn(e.callee)?"Arguments":n},ln=M,dn=Jt,fn=C(Function.toString);ln(dn.inspectSource)||(dn.inspectSource=function(t){return fn(t)});var hn=dn.inspectSource,pn=C,gn=f,mn=M,vn=un,yn=hn,bn=function(){},wn=lt("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,xn=pn(Sn.exec),Cn=!Sn.test(bn),On=function(t){if(!mn(t))return!1;try{return wn(bn,[],t),!0}catch(t){return!1}},En=function(t){if(!mn(t))return!1;switch(vn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Cn||!!xn(Sn,yn(t))}catch(t){return!0}};En.sham=!0;var In=!wn||gn((function(){var t;return On(On.call)||!On(Object)||!On((function(){t=!0}))||t}))?En:On,kn=Vr,jn=In,An=ot,Ln=me("species"),Dn=Array,Mn=function(t){var e;return kn(t)&&(e=t.constructor,(jn(e)&&(e===Dn||kn(e.prototype))||An(e)&&null===(e=e[Ln]))&&(e=void 0)),void 0===e?Dn:e},Fn=function(t,e){return new(Mn(t))(0===e?0:e)},Pn=f,Nn=yt,Rn=me("species"),Tn=Mr,_n=f,Un=Vr,Vn=ot,Bn=Zt,Wn=Kr,Gn=function(t){if(t>9007199254740991)throw $r("Maximum allowed index exceeded");return t},qn=function(t,e,r){Yr?Xr.f(t,e,Zr(0,r)):t[e]=r},Qn=Fn,zn=function(t){return Nn>=51||!Pn((function(){var e=[];return(e.constructor={})[Rn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Hn=yt,Jn=me("isConcatSpreadable"),Kn=Hn>=51||!_n((function(){var t=[];return t[Jn]=!1,t.concat()[0]!==t})),$n=function(t){if(!Vn(t))return!1;var e=t[Jn];return void 0!==e?!!e:Un(t)};Tn({target:"Array",proto:!0,arity:1,forced:!Kn||!zn("concat")},{concat:function(t){var e,r,n,o,i,a=Bn(this),s=Qn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if($n(i=-1===e?a:arguments[e]))for(o=Wn(i),Gn(c+o),r=0;r<o;r++,c++)r in i&&qn(s,c,i[r]);else Gn(c+1),qn(s,c++,i);return s.length=c,s}});var Yn=un,Xn=String,Zn=function(t){if("Symbol"===Yn(t))throw new TypeError("Cannot convert a Symbol value to a string");return Xn(t)},to={},eo=Qr,ro=Math.max,no=Math.min,oo=rt,io=function(t,e){var r=eo(t);return r<0?ro(r+e,0):no(r,e)},ao=Kr,so=function(t){return function(e,r,n){var o=oo(e),i=ao(o);if(0===i)return!t&&-1;var a,s=io(n,i);if(t&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},co={includes:so(!0),indexOf:so(!1)},uo={},lo=re,fo=rt,ho=co.indexOf,po=uo,go=C([].push),mo=function(t,e){var r,n=fo(t),o=0,i=[];for(r in n)!lo(po,r)&&lo(n,r)&&go(i,r);for(;e.length>o;)lo(n,r=e[o++])&&(~ho(i,r)||go(i,r));return i},vo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yo=mo,bo=vo,wo=Object.keys||function(t){return yo(t,bo)},So=P,xo=rr,Co=er,Oo=ar,Eo=rt,Io=wo;to.f=So&&!xo?Object.defineProperties:function(t,e){Oo(t);for(var r,n=Eo(e),o=Io(e),i=o.length,a=0;i>a;)Co.f(t,r=o[a++],n[r]);return t};var ko,jo=lt("document","documentElement"),Ao=se,Lo=$t("keys"),Do=function(t){return Lo[t]||(Lo[t]=Ao(t))},Mo=ar,Fo=to,Po=vo,No=uo,Ro=jo,To=Le,_o="prototype",Uo="script",Vo=Do("IE_PROTO"),Bo=function(){},Wo=function(t){return"<"+Uo+">"+t+"</"+Uo+">"},Go=function(t){t.write(Wo("")),t.close();var e=t.parentWindow.Object;return t=null,e},qo=function(){try{ko=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;qo="undefined"!=typeof document?document.domain&&ko?Go(ko):(e=To("iframe"),r="java"+Uo+":",e.style.display="none",Ro.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Wo("document.F=Object")),t.close(),t.F):Go(ko);for(var n=Po.length;n--;)delete qo[_o][Po[n]];return qo()};No[Vo]=!0;var Qo=Object.create||function(t,e){var r;return null!==t?(Bo[_o]=Mo(t),r=new Bo,Bo[_o]=null,r[Vo]=t):r=qo(),void 0===e?r:Fo.f(r,e)},zo={},Ho=mo,Jo=vo.concat("length","prototype");zo.f=Object.getOwnPropertyNames||function(t){return Ho(t,Jo)};var Ko={},$o=C([].slice),Yo=k,Xo=rt,Zo=zo.f,ti=$o,ei="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ko.f=function(t){return ei&&"Window"===Yo(t)?function(t){try{return Zo(t)}catch(t){return ti(ei)}}(t):Zo(Xo(t))};var ri={};ri.f=Object.getOwnPropertySymbols;var ni=wr,oi=function(t,e,r,n){return n&&n.enumerable?t[e]=r:ni(t,e,r),t},ii=er,ai={},si=me;ai.f=si;var ci,ui,li,di=it,fi=re,hi=ai,pi=er.f,gi=function(t){var e=di.Symbol||(di.Symbol={});fi(e,t)||pi(e,t,{value:hi.f(t)})},mi=T,vi=lt,yi=me,bi=oi,wi=function(){var t=vi("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=yi("toPrimitive");e&&!e[n]&&bi(e,n,(function(t){return mi(r,this)}),{arity:1})},Si=un,xi=en?{}.toString:function(){return"[object "+Si(this)+"]"},Ci=en,Oi=er.f,Ei=wr,Ii=re,ki=xi,ji=me("toStringTag"),Ai=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(Ii(o,ji)||Oi(o,ji,{configurable:!0,value:e}),n&&!Ci&&Ei(o,"toString",ki))},Li=M,Di=d.WeakMap,Mi=Li(Di)&&/native code/.test(String(Di)),Fi=d,Pi=ot,Ni=wr,Ri=re,Ti=Jt,_i=Do,Ui=uo,Vi="Object already initialized",Bi=Fi.TypeError,Wi=Fi.WeakMap;if(Mi||Ti.state){var Gi=Ti.state||(Ti.state=new Wi);Gi.get=Gi.get,Gi.has=Gi.has,Gi.set=Gi.set,ci=function(t,e){if(Gi.has(t))throw new Bi(Vi);return e.facade=t,Gi.set(t,e),e},ui=function(t){return Gi.get(t)||{}},li=function(t){return Gi.has(t)}}else{var qi=_i("state");Ui[qi]=!0,ci=function(t,e){if(Ri(t,qi))throw new Bi(Vi);return e.facade=t,Ni(t,qi,e),e},ui=function(t){return Ri(t,qi)?t[qi]:{}},li=function(t){return Ri(t,qi)}}var Qi={set:ci,get:ui,has:li,enforce:function(t){return li(t)?ui(t):ci(t,{})},getterFor:function(t){return function(e){var r;if(!Pi(e)||(r=ui(e)).type!==t)throw new Bi("Incompatible receiver, "+t+" required");return r}}},zi=tr,Hi=K,Ji=Zt,Ki=Kr,$i=Fn,Yi=C([].push),Xi=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(c,u,l,d){for(var f,h,p=Ji(c),g=Hi(p),m=Ki(g),v=zi(u,l),y=0,b=d||$i,w=e?b(c,m):r||a?b(c,0):void 0;m>y;y++)if((s||y in g)&&(h=v(f=g[y],y,p),t))if(e)w[y]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return y;case 2:Yi(w,f)}else switch(t){case 4:return!1;case 7:Yi(w,f)}return i?-1:n||o?o:w}},Zi={forEach:Xi(0),map:Xi(1),filter:Xi(2),some:Xi(3),every:Xi(4),find:Xi(5),findIndex:Xi(6),filterReject:Xi(7)},ta=Mr,ea=d,ra=T,na=C,oa=P,ia=xt,aa=f,sa=re,ca=dt,ua=ar,la=rt,da=Ie,fa=Zn,ha=q,pa=Qo,ga=wo,ma=zo,va=Ko,ya=ri,ba=F,wa=er,Sa=to,xa=_,Ca=oi,Oa=function(t,e,r){return ii.f(t,e,r)},Ea=$t,Ia=uo,ka=se,ja=me,Aa=ai,La=gi,Da=wi,Ma=Ai,Fa=Qi,Pa=Zi.forEach,Na=Do("hidden"),Ra="Symbol",Ta="prototype",_a=Fa.set,Ua=Fa.getterFor(Ra),Va=Object[Ta],Ba=ea.Symbol,Wa=Ba&&Ba[Ta],Ga=ea.RangeError,qa=ea.TypeError,Qa=ea.QObject,za=ba.f,Ha=wa.f,Ja=va.f,Ka=xa.f,$a=na([].push),Ya=Ea("symbols"),Xa=Ea("op-symbols"),Za=Ea("wks"),ts=!Qa||!Qa[Ta]||!Qa[Ta].findChild,es=function(t,e,r){var n=za(Va,e);n&&delete Va[e],Ha(t,e,r),n&&t!==Va&&Ha(Va,e,n)},rs=oa&&aa((function(){return 7!==pa(Ha({},"a",{get:function(){return Ha(this,"a",{value:7}).a}})).a}))?es:Ha,ns=function(t,e){var r=Ya[t]=pa(Wa);return _a(r,{type:Ra,tag:t,description:e}),oa||(r.description=e),r},os=function(t,e,r){t===Va&&os(Xa,e,r),ua(t);var n=da(e);return ua(r),sa(Ya,n)?(r.enumerable?(sa(t,Na)&&t[Na][n]&&(t[Na][n]=!1),r=pa(r,{enumerable:ha(0,!1)})):(sa(t,Na)||Ha(t,Na,ha(1,pa(null))),t[Na][n]=!0),rs(t,n,r)):Ha(t,n,r)},is=function(t,e){ua(t);var r=la(e),n=ga(r).concat(us(r));return Pa(n,(function(e){oa&&!ra(as,r,e)||os(t,e,r[e])})),t},as=function(t){var e=da(t),r=ra(Ka,this,e);return!(this===Va&&sa(Ya,e)&&!sa(Xa,e))&&(!(r||!sa(this,e)||!sa(Ya,e)||sa(this,Na)&&this[Na][e])||r)},ss=function(t,e){var r=la(t),n=da(e);if(r!==Va||!sa(Ya,n)||sa(Xa,n)){var o=za(r,n);return!o||!sa(Ya,n)||sa(r,Na)&&r[Na][n]||(o.enumerable=!0),o}},cs=function(t){var e=Ja(la(t)),r=[];return Pa(e,(function(t){sa(Ya,t)||sa(Ia,t)||$a(r,t)})),r},us=function(t){var e=t===Va,r=Ja(e?Xa:la(t)),n=[];return Pa(r,(function(t){!sa(Ya,t)||e&&!sa(Va,t)||$a(n,Ya[t])})),n};ia||(Ca(Wa=(Ba=function(){if(ca(Wa,this))throw new qa("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?fa(arguments[0]):void 0,e=ka(t),r=function(t){var n=void 0===this?ea:this;n===Va&&ra(r,Xa,t),sa(n,Na)&&sa(n[Na],e)&&(n[Na][e]=!1);var o=ha(1,t);try{rs(n,e,o)}catch(t){if(!(t instanceof Ga))throw t;es(n,e,o)}};return oa&&ts&&rs(Va,e,{configurable:!0,set:r}),ns(e,t)})[Ta],"toString",(function(){return Ua(this).tag})),Ca(Ba,"withoutSetter",(function(t){return ns(ka(t),t)})),xa.f=as,wa.f=os,Sa.f=is,ba.f=ss,ma.f=va.f=cs,ya.f=us,Aa.f=function(t){return ns(ja(t),t)},oa&&Oa(Wa,"description",{configurable:!0,get:function(){return Ua(this).description}})),ta({global:!0,constructor:!0,wrap:!0,forced:!ia,sham:!ia},{Symbol:Ba}),Pa(ga(Za),(function(t){La(t)})),ta({target:Ra,stat:!0,forced:!ia},{useSetter:function(){ts=!0},useSimple:function(){ts=!1}}),ta({target:"Object",stat:!0,forced:!ia,sham:!oa},{create:function(t,e){return void 0===e?pa(t):is(pa(t),e)},defineProperty:os,defineProperties:is,getOwnPropertyDescriptor:ss}),ta({target:"Object",stat:!0,forced:!ia},{getOwnPropertyNames:cs}),Da(),Ma(Ba,Ra),Ia[Na]=!0;var ls=xt&&!!Symbol.for&&!!Symbol.keyFor,ds=Mr,fs=lt,hs=re,ps=Zn,gs=$t,ms=ls,vs=gs("string-to-symbol-registry"),ys=gs("symbol-to-string-registry");ds({target:"Symbol",stat:!0,forced:!ms},{for:function(t){var e=ps(t);if(hs(vs,e))return vs[e];var r=fs("Symbol")(e);return vs[e]=r,ys[r]=e,r}});var bs=Mr,ws=re,Ss=jt,xs=Lt,Cs=ls,Os=$t("symbol-to-string-registry");bs({target:"Symbol",stat:!0,forced:!Cs},{keyFor:function(t){if(!Ss(t))throw new TypeError(xs(t)+" is not a symbol");if(ws(Os,t))return Os[t]}});var Es=Vr,Is=M,ks=k,js=Zn,As=C([].push),Ls=Mr,Ds=lt,Ms=y,Fs=T,Ps=C,Ns=f,Rs=M,Ts=jt,_s=$o,Us=function(t){if(Is(t))return t;if(Es(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?As(r,o):"number"!=typeof o&&"Number"!==ks(o)&&"String"!==ks(o)||As(r,js(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Es(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Vs=xt,Bs=String,Ws=Ds("JSON","stringify"),Gs=Ps(/./.exec),qs=Ps("".charAt),Qs=Ps("".charCodeAt),zs=Ps("".replace),Hs=Ps(1..toString),Js=/[\uD800-\uDFFF]/g,Ks=/^[\uD800-\uDBFF]$/,$s=/^[\uDC00-\uDFFF]$/,Ys=!Vs||Ns((function(){var t=Ds("Symbol")("stringify detection");return"[null]"!==Ws([t])||"{}"!==Ws({a:t})||"{}"!==Ws(Object(t))})),Xs=Ns((function(){return'"\\udf06\\ud834"'!==Ws("\udf06\ud834")||'"\\udead"'!==Ws("\udead")})),Zs=function(t,e){var r=_s(arguments),n=Us(e);if(Rs(n)||void 0!==t&&!Ts(t))return r[1]=function(t,e){if(Rs(n)&&(e=Fs(n,this,Bs(t),e)),!Ts(e))return e},Ms(Ws,null,r)},tc=function(t,e,r){var n=qs(r,e-1),o=qs(r,e+1);return Gs(Ks,t)&&!Gs($s,o)||Gs($s,t)&&!Gs(Ks,n)?"\\u"+Hs(Qs(t,0),16):t};Ws&&Ls({target:"JSON",stat:!0,arity:3,forced:Ys||Xs},{stringify:function(t,e,r){var n=_s(arguments),o=Ms(Ys?Zs:Ws,null,n);return Xs&&"string"==typeof o?zs(o,Js,tc):o}});var ec=ri,rc=Zt;Mr({target:"Object",stat:!0,forced:!xt||f((function(){ec.f(1)}))},{getOwnPropertySymbols:function(t){var e=ec.f;return e?e(rc(t)):[]}}),gi("asyncIterator"),gi("hasInstance"),gi("isConcatSpreadable"),gi("iterator"),gi("match"),gi("matchAll"),gi("replace"),gi("search"),gi("species"),gi("split");var nc=wi;gi("toPrimitive"),nc();var oc=lt,ic=Ai;gi("toStringTag"),ic(oc("Symbol"),"Symbol"),gi("unscopables"),Ai(d.JSON,"JSON",!0);var ac,sc,cc,uc=it.Symbol,lc={},dc=P,fc=re,hc=Function.prototype,pc=dc&&Object.getOwnPropertyDescriptor,gc=fc(hc,"name"),mc={EXISTS:gc,PROPER:gc&&"something"===function(){}.name,CONFIGURABLE:gc&&(!dc||dc&&pc(hc,"name").configurable)},vc=!f((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yc=re,bc=M,wc=Zt,Sc=vc,xc=Do("IE_PROTO"),Cc=Object,Oc=Cc.prototype,Ec=Sc?Cc.getPrototypeOf:function(t){var e=wc(t);if(yc(e,xc))return e[xc];var r=e.constructor;return bc(r)&&e instanceof r?r.prototype:e instanceof Cc?Oc:null},Ic=f,kc=M,jc=ot,Ac=Qo,Lc=Ec,Dc=oi,Mc=me("iterator"),Fc=!1;[].keys&&("next"in(cc=[].keys())?(sc=Lc(Lc(cc)))!==Object.prototype&&(ac=sc):Fc=!0);var Pc=!jc(ac)||Ic((function(){var t={};return ac[Mc].call(t)!==t}));kc((ac=Pc?{}:Ac(ac))[Mc])||Dc(ac,Mc,(function(){return this}));var Nc={IteratorPrototype:ac,BUGGY_SAFARI_ITERATORS:Fc},Rc=Nc.IteratorPrototype,Tc=Qo,_c=q,Uc=Ai,Vc=lc,Bc=function(){return this},Wc=Mr,Gc=T,qc=mc,Qc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Tc(Rc,{next:_c(+!n,r)}),Uc(t,o,!1,!0),Vc[o]=Bc,t},zc=Ec,Hc=Ai,Jc=oi,Kc=lc,$c=Nc,Yc=qc.PROPER,Xc=$c.BUGGY_SAFARI_ITERATORS,Zc=me("iterator"),tu="keys",eu="values",ru="entries",nu=function(){return this},ou=function(t,e,r,n,o,i,a){Qc(r,e,n);var s,c,u,l=function(t){if(t===o&&g)return g;if(!Xc&&t&&t in h)return h[t];switch(t){case tu:case eu:case ru:return function(){return new r(this,t)}}return function(){return new r(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Zc]||h["@@iterator"]||o&&h[o],g=!Xc&&p||l(o),m="Array"===e&&h.entries||p;if(m&&(s=zc(m.call(new t)))!==Object.prototype&&s.next&&(Hc(s,d,!0,!0),Kc[d]=nu),Yc&&o===eu&&p&&p.name!==eu&&(f=!0,g=function(){return Gc(p,this)}),o)if(c={values:l(eu),keys:i?g:l(tu),entries:l(ru)},a)for(u in c)(Xc||f||!(u in h))&&Jc(h,u,c[u]);else Wc({target:e,proto:!0,forced:Xc||f},c);return a&&h[Zc]!==g&&Jc(h,Zc,g,{name:o}),Kc[e]=g,c},iu=function(t,e){return{value:t,done:e}},au=rt,su=lc,cu=Qi;er.f;var uu=ou,lu=iu,du="Array Iterator",fu=cu.set,hu=cu.getterFor(du);uu(Array,"Array",(function(t,e){fu(this,{type:du,target:au(t),index:0,kind:e})}),(function(){var t=hu(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,lu(void 0,!0);switch(t.kind){case"keys":return lu(r,!1);case"values":return lu(e[r],!1)}return lu([r,e[r]],!1)}),"values"),su.Arguments=su.Array;var pu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gu=d,mu=Ai,vu=lc;for(var yu in pu)mu(gu[yu],yu),vu[yu]=vu.Array;var bu=uc,wu=me,Su=er.f,xu=wu("metadata"),Cu=Function.prototype;void 0===Cu[xu]&&Su(Cu,xu,{value:null}),gi("asyncDispose"),gi("dispose"),gi("metadata");var Ou=bu,Eu=C,Iu=lt("Symbol"),ku=Iu.keyFor,ju=Eu(Iu.prototype.valueOf),Au=Iu.isRegisteredSymbol||function(t){try{return void 0!==ku(ju(t))}catch(t){return!1}};Mr({target:"Symbol",stat:!0},{isRegisteredSymbol:Au});for(var Lu=$t,Du=lt,Mu=C,Fu=jt,Pu=me,Nu=Du("Symbol"),Ru=Nu.isWellKnownSymbol,Tu=Du("Object","getOwnPropertyNames"),_u=Mu(Nu.prototype.valueOf),Uu=Lu("wks"),Vu=0,Bu=Tu(Nu),Wu=Bu.length;Vu<Wu;Vu++)try{var Gu=Bu[Vu];Fu(Nu[Gu])&&Pu(Gu)}catch(t){}var qu=function(t){if(Ru&&Ru(t))return!0;try{for(var e=_u(t),r=0,n=Tu(Uu),o=n.length;r<o;r++)if(Uu[n[r]]==e)return!0}catch(t){}return!1};Mr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:qu}),gi("customMatcher"),gi("observable"),Mr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Au}),Mr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:qu}),gi("matcher"),gi("metadataKey"),gi("patternMatch"),gi("replaceAll");var Qu=c(Ou),zu=C,Hu=Qr,Ju=Zn,Ku=Z,$u=zu("".charAt),Yu=zu("".charCodeAt),Xu=zu("".slice),Zu=function(t){return function(e,r){var n,o,i=Ju(Ku(e)),a=Hu(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Yu(i,a))<55296||n>56319||a+1===s||(o=Yu(i,a+1))<56320||o>57343?t?$u(i,a):n:t?Xu(i,a,a+2):o-56320+(n-55296<<10)+65536}},tl={codeAt:Zu(!1),charAt:Zu(!0)}.charAt,el=Zn,rl=Qi,nl=ou,ol=iu,il="String Iterator",al=rl.set,sl=rl.getterFor(il);nl(String,"String",(function(t){al(this,{type:il,string:el(t),index:0})}),(function(){var t,e=sl(this),r=e.string,n=e.index;return n>=r.length?ol(void 0,!0):(t=tl(r,n),e.index+=t.length,ol(t,!1))}));var cl=c(ai.f("iterator"));function ul(t){return ul="function"==typeof Qu&&"symbol"==typeof cl?function(t){return typeof t}:function(t){return t&&"function"==typeof Qu&&t.constructor===Qu&&t!==Qu.prototype?"symbol":typeof t},ul(t)}var ll=c(ai.f("toPrimitive"));function dl(t){var e=function(t,e){if("object"!=ul(t)||!t)return t;var r=t[ll];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ul(e)?e:e+""}function fl(t,e,r){return(e=dl(e))in t?_r(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const hl=new RegExp("^".concat("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}","$"),"i"),pl=!!String.prototype.trim;function gl(t,e){return null!=t?e(t):t}function ml(t){return"object"==typeof t?JSON.stringify(t):""+t}function vl(t){return null!=t}function yl(t){return!!t&&hl.test(wl(t))}function bl(t){return"[object Array]"===Object.prototype.toString.call(t)}function wl(t){return pl?(""+t).trim():(""+t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function Sl(t){return"string"==typeof t}function xl(t,e){return Sl(t)&&Sl(e)&&wl(t.toLowerCase())===wl(e.toLowerCase())}function Cl(t){return!!t&&"object"==typeof t&&!bl(t)}function Ol(t){return!!t&&"function"==typeof t}function El(t){return function(t,e){return new Date((new Date).getTime()+t*e)}(t,864e5)}function Il(t,e,r){if(Cl(e)){let n;return n="message"in e&&"string"==typeof e.message?new Error(r||e.message):new Error(r),n.name=t,"stack"in e&&"string"==typeof e.stack&&(n.stack=e.stack),"lineNumber"in e&&"number"==typeof e.lineNumber&&(n.lineNumber=e.lineNumber),"columnNumber"in e&&"number"==typeof e.columnNumber&&(n.columnNumber=e.columnNumber),n}{const e=Error(r);return e.name=t,e}}const kl="li_errors";class jl{constructor(t){fl(this,"data",void 0);const e=parseInt(t.toString())||5;this.data={h:{},q:{},size:e}}on(t,e,r){const n={callback:e.bind(r),unbound:e};return this.data={...this.data,h:{...this.data.h,[t]:[...this.data.h[t]||[],n]}},(this.data.q[t]||[]).forEach((t=>e.call(r,t))),this}once(t,e,r){const n=this.data.q[t]||[];if(n.length>0)return e.call(r,n[0]),this;{const n=o=>{this.off(t,n),e.call(r,o)};return n._=e,this.on(t,n,r)}}emit(t,e){(this.data.h[t]||[]).forEach((t=>t.callback(e)));const r=this.data.q[t]||[];return this.data={...this.data,q:{...this.data.q,[t]:[...r.length<this.data.size?r:r.slice(1),e]}},this}off(t,e){const r=this.data.h[t],n=r&&e&&r.filter((t=>t.unbound!==e))||[];if(n.length)this.data={...this.data,h:{...this.data.h,[t]:n}};else{const{[t]:e,...r}=this.data.h;this.data={...this.data,h:r}}return this}emitErrorWithMessage(t,e,r){const n=Il(t,r,e);return this.emit(kl,n)}emitError(t,e){const r=Il(t,e);return this.emit(kl,r)}}class Al{constructor(t){var e,r,n;fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"calls",void 0),fl(this,"eventBus",void 0),fl(this,"retries",void 0),this.url=null!==(e=t.collectorUrl)&&void 0!==e?e:"https://rp.liadm.com",this.timeout=null!==(r=t.ajaxTimeout)&&void 0!==r?r:0,this.calls=t.callHandler,this.eventBus=t.eventBus,this.retries=null!==(n=t.ajaxRetries)&&void 0!==n?n:3}callBakers(t){try{const e=JSON.parse(t).bakers;if(bl(e))for(let t=0;t<e.length;t++)this.calls.pixelGet("".concat(e[t],"?dtstmp=").concat(Date.now()))}catch(e){this.eventBus.emitErrorWithMessage("CallBakers","Error while calling bakers with ".concat(t),e)}}sendState(t,e,r,n){if(t.sendsPixel()){n&&Ol(n)&&n();const o=t.asQuery().add("dtstmp",Date.now(),{prepend:!0}).toQueryString();r("".concat(this.url,"/").concat(e).concat(o))}}sendAjax(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"j",(r=>{const n=o=>{this.calls.ajaxGet(r,(t=>{e.onLoad&&Ol(e.onLoad)&&e.onLoad(),this.callBakers(t)}),(r=>{o<=0?(this.sendPixel(t,e),this.eventBus.emitError("AjaxFailed",r)):n(o-1)}),this.timeout)};n(this.retries)}),e.onPreSend)}sendPixel(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"p",(t=>this.calls.pixelGet(t,e.onLoad)),e.onPreSend)}}const Ll="__li__evt_bus",Dl="lips",Ml="pre_lips",Fl="_li_duid",Pl="https://idx.liadm.com/idex",Nl=[];const Rl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Tl(t){const e=function(t){t="".concat(t);for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>255)return null;let e="";for(let n=0;n<t.length;n+=3){const o=[void 0,void 0,void 0,void 0];o[0]=t.charCodeAt(n)>>2,o[1]=(3&t.charCodeAt(n))<<4,t.length>n+2?(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2,o[2]|=t.charCodeAt(n+2)>>6,o[3]=63&t.charCodeAt(n+2)):t.length>n+1&&(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2);for(let t=0;t<o.length;t++){const n=o[t];e+=void 0===n?"=":(r=n)>=0&&r<64?Rl[r]:void 0}}var r;return e}(t);return e||""}const _l=/[+/]|=+$/g,Ul={"+":"-","/":"_"};function Vl(t){return Ul[t]||""}function Bl(t){let e=null;const r=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((t,e)=>String.fromCharCode(parseInt("0x"+e,16))));try{e=window&&Ol(window.btoa)?window.btoa:Tl}catch(t){e=Tl}return e(r).replace(_l,Vl)}for(var Wl=[],Gl=0;Gl<64;)Wl[Gl]=0|4294967296*Math.sin(++Gl%Math.PI);function ql(t){var e,r,n,o=[e=1732584193,r=4023233417,~e,~r],i=[],a=unescape(encodeURI(t))+"",s=a.length;for(t=--s/4+2|15,i[--t]=8*s;~s;)i[s>>2]|=a.charCodeAt(s)<<8*s--;for(Gl=a=0;Gl<t;Gl+=16){for(s=o;a<64;s=[n=s[3],e+((n=s[0]+[e&r|~e&n,n&e|~n&r,e^r^n,r^(e|~n)][s=a>>4]+Wl[a]+~~i[Gl|15&[a,5*a+1,3*a+5,7*a][s]])<<(s=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*s+a++%4])|n>>>-s),e,r])e=0|s[1],r=s[2];for(a=4;a;)o[--a]+=s[a]}for(t="";a<32;)t+=(o[a>>3]>>4*(1^a++)&15).toString(16);return t}function Ql(t){var e,r,n,o,i,a=[],s=[r=1732584193,n=4023233417,~r,~n,3285377520],c=[],u=unescape(encodeURI(t))+"",l=u.length;for(c[t=--l/4+2|15]=8*l;~l;)c[l>>2]|=u.charCodeAt(l)<<8*~l--;for(e=l=0;e<t;e+=16){for(r=s;l<80;r=[r[4]+(a[l]=l<16?~~c[e+l]:2*u|u<0)+1518500249+[n&o|~n&i,u=341275144+(n^o^i),882459459+(n&o|n&i|o&i),u+1535694389][l++/5>>2]+((u=r[0])<<5|u>>>27),u,n<<30|n>>>2,o,i])u=a[l-3]^a[l-8]^a[l-14]^a[l-16],n=r[1],o=r[2],i=r[3];for(l=5;l;)s[--l]+=r[l]}for(u="";l<40;)u+=(s[l>>3]>>4*(7-l++)&15).toString(16);return u}for(var zl,Hl=18,Jl=[],Kl=[];Hl>1;Hl--)for(zl=Hl;zl<320;)Jl[zl+=Hl]=1;function $l(t,e){return 4294967296*Math.pow(t,1/e)|0}for(zl=0;zl<64;)Jl[++Hl]||(Kl[zl]=$l(Hl,2),Jl[zl++]=$l(Hl,3));function Yl(t,e){return t>>>e|t<<-e}function Xl(t){var e=Kl.slice(Hl=zl=0,8),r=[],n=unescape(encodeURI(t))+"",o=n.length;for(r[t=--o/4+2|15]=8*o;~o;)r[o>>2]|=n.charCodeAt(o)<<8*~o--;for(o=[];Hl<t;Hl+=16){for($l=e.slice();zl<64;$l.unshift(n+(Yl(n=$l[0],2)^Yl(n,13)^Yl(n,22))+(n&$l[1]^$l[1]&$l[2]^$l[2]&n)))$l[3]+=n=0|(o[zl]=zl<16?~~r[zl+Hl]:(Yl(n=o[zl-2],17)^Yl(n,19)^n>>>10)+o[zl-7]+(Yl(n=o[zl-15],7)^Yl(n,18)^n>>>3)+o[zl-16])+$l.pop()+(Yl(n=$l[4],6)^Yl(n,11)^Yl(n,25))+(n&$l[5]^~n&$l[6])+Jl[zl++];for(zl=8;zl;)e[--zl]+=$l[zl]}for(n="";zl<64;)n+=(e[zl>>3]>>4*(7-zl++)&15).toString(16);return n}const Zl=()=>/(\s+)?[a-f0-9]{32,64}(\s+)?/gi,td=new Map([[32,"md5"],[40,"sha1"],[64,"sha256"]]);function ed(t){const e=rd(t);return!!e&&td.has(e.length)}function rd(t){const e=t.match(Zl());return e&&e.map(wl)[0]}function nd(t){const e=t.toLowerCase();return{md5:ql(e),sha1:Ql(e),sha256:Xl(e)}}const od=()=>/\S+(@|%40)\S+\.\S+/;function id(t){return od().test(t)}function ad(t){const e=t.match(od());return e&&e.map(wl)[0]}function sd(t){const e=function(t){const e=[],r=new RegExp("([\\w\\d.+-]+(@|%40)[\\w\\d-]+.[\\w\\d.-]+)","g");let n=r.exec(t);for(;n;)e.push(wl(n[1])),n=r.exec(t);return e}(t),r=[];let n=t;for(let t=0;t<e.length;t++){const o=e[t],i=nd(o);n=n.replace(o,i.md5),r.push(i)}return{stringWithoutRawEmails:n,hashesFromOriginalString:r}}function cd(t,e){return"string"==typeof e&&id(wl(e))?"*********":e}function ud(t){return function(t){return"false"!==t&&("true"===t||t)}(function(t){return"null"===t||"undefined"===t?null:t}(function(t){return isNaN(+t)?t:+t}(t)))}function ld(t,e){if(e in t){const r=t[e];return bl(r)?r.map((t=>ud(fd(t)))):ud(fd(r))}}function dd(t){let e,r,n;const o={};return t&&-1!==(e=t.indexOf("?"))&&(r=t.slice(e+1))&&(-1===(n=r.indexOf("#"))||(r=r.slice(0,n)))?(r.split("&").forEach((function(t){if(t){let e;const r=t.split("=");e=r[0];const n=2===r.length?r[1]:"true";if("[]"===e.slice(-2)&&(e=e.slice(0,-2)),e in o){const t=o[e];bl(t)?t.push(n):o[e]=[t,n]}else o[e]=n}})),o):o}function fd(t){return t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)}class hd{constructor(t){fl(this,"hash",void 0),fl(this,"host",void 0),fl(this,"hostname",void 0),fl(this,"pathname",void 0),fl(this,"port",void 0),fl(this,"protocol",void 0),fl(this,"search",void 0);const e=t.match(/^(https?\:\/\/)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(null===e)throw new TypeError("Failed to parse URL: ".concat(t));this.protocol=e[1]||"",this.host=e[2]||"",this.hostname=e[3]||"",this.port=e[4]||"",this.pathname=e[5]||"",this.search=e[6]||"",this.hash=e[7]||""}toString(){return"".concat(this.protocol).concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)}}const pd=["items","itemids"],gd=["email","emailhash","hash","hashedemail"];const md=[function(t){const e=t.eventSource||{},r=Object.keys(e);for(const n of r){const r=n.toLowerCase();if(gd.indexOf(r)>-1){const r=wl(ml(e[n])),o=ad(r),i=rd(r);if(o){const e=nd(fd(o));return vd({hashedEmail:[e.md5,e.sha1,e.sha256]},t)}if(i&&ed(i))return vd({hashedEmail:[i.toLowerCase()]},t)}}return t},function(t){const e=t.eventSource||{};return Object.keys(e).forEach((t=>{const r=t.toLowerCase(),n=e[t];pd.indexOf(r)>-1&&bl(n)&&n.length>10&&(n.length=10)})),{}}];function vd(t,e){const r={};function n(t){return Cl(t)?t:{}}function o(t){return Object.keys(t)}const i=n(t),a=n(e);return o(i).forEach((t=>{r[t]=i[t]})),o(a).forEach((t=>{r[t]=a[t]})),r}class yd{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];fl(this,"tuples",void 0),this.tuples=t}add(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{stripEmpty:n=!0,prepend:o=!1}=r;return""===t||n&&""===e?this:o?(this.tuples.unshift([t,e]),this):(this.tuples.push([t,e]),this)}addOptional(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vl(e)?this.add(t,e,r):this}addParamsMap(t){return Object.keys(t).forEach((e=>{const r=t[e];vl(r)&&(bl(r)?r.forEach((t=>this.add(e,t))):this.add(e,r))})),this}copy(){return new yd(this.tuples.slice())}filteredCopy(t){return new yd(this.tuples.filter((e=>{let[r,n]=e;return t(r,n)})))}toQueryString(){let t="";return this.tuples.forEach((e=>{let[r,n]=e;const o=0===t.length?"?":"&";t="".concat(t).concat(o).concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})),t}}function bd(t){return null===t?"":t}const wd={full:"full",noPath:"no_path"};function Sd(t){if(void 0===t.pageUrl||0===t.pageUrl.length)return["",!1,[]];if(function(t){return!(void 0!==t.urlCollectionMode&&t.urlCollectionMode!==wd.full||void 0!==t.queryParametersFilter&&""!==t.queryParametersFilter)}(t))return[t.pageUrl,!1,[]];const e=new hd(t.pageUrl),r=function(t){const e=dd(t),r=[];return Object.keys(e).forEach((t=>{r.push([t,ld(e,t)])})),r}(e.search),n=function(t,e){return e.urlCollectionMode===wd.noPath&&t.pathname.length>1}(e,t),o=function(t,e){if(void 0===e.queryParametersFilter||""===e.queryParametersFilter)return[];const r=new RegExp(e.queryParametersFilter);return t.map((t=>t[0])).filter((t=>r.test(t)))}(r,t);return n&&(e.pathname="/"),o.length>0&&(e.search=function(t,e){const r=t.filter((t=>-1===e.indexOf(t[0]))).map((t=>"".concat(t[0],"=").concat(t[1])));return r.length>0?"?".concat(r.join("&")):""}(r,o)),[e.toString(),n,o]}function xd(t){if(0!==t.length){const e=new hd(t);return e.pathname="",e.search="",e.toString()}}const Cd=["setemail","setemailhash","sethashedemail"];class Od{constructor(t,e){fl(this,"data",void 0),fl(this,"eventBus",void 0),this.data=Od.safeFiddle(t,e),this.eventBus=e}static safeFiddle(t,e){try{return Cl((r=JSON.parse(JSON.stringify(t))).eventSource)?md.reduce((function(t,e){return vd(t,e(t))}),r):r}catch(t){return console.error(t),e.emitErrorWithMessage("StateCombineWith","Error while extracting event data",t),{}}var r}combineWith(t){return new Od(vd(this.data,t),this.eventBus)}sendsPixel(){const t=Cl(this.data.eventSource)?this.data.eventSource:{},e=Object.keys(t).filter((t=>"eventname"===t.toLowerCase()||"event"===t.toLowerCase())),r=e&&e.length>=1&&e[0],n=r&&wl(t[r]);return!n||-1===Cd.indexOf(n.toLowerCase())}asQuery(){var t,e,r;const n=this.data,o=(new yd).addOptional("aid",n.appId).addOptional("did",n.distributorId).addOptional("se",gl(n.eventSource,(t=>Bl(JSON.stringify(t,cd))))).addOptional("duid",n.liveConnectId).addOptional("tv",n.trackerVersion);if(vl(n.pageUrl)){const[t,e,r]=Sd(n);o.add("pu",t).addOptional("pu_rp",e?"1":void 0).add("pu_rqp",r.join(","))}return o.addOptional("ae",gl(n.errorDetails,(t=>Bl(JSON.stringify(t))))),bl(n.retrievedIdentifiers)&&n.retrievedIdentifiers.forEach((t=>o.add("ext_".concat(t.name),t.value))),bl(n.hashesFromIdentifiers)&&n.hashesFromIdentifiers.forEach((t=>o.add("scre","".concat(t.md5,",").concat(t.sha1,",").concat(t.sha256)))),o.addOptional("li_did",null===(t=n.decisionIds)||void 0===t?void 0:t.join(",")).addOptional("e",null===(e=n.hashedEmail)||void 0===e?void 0:e.join(",")).addOptional("us_privacy",n.usPrivacyString).addOptional("wpn",n.wrapperName).addOptional("gdpr",gl(n.gdprApplies,(t=>t?"1":"0"))).addOptional("gdpr_consent",n.gdprConsent).addOptional("refr",n.referrer).addOptional("gpp_s",n.gppString).addOptional("gpp_as",null===(r=n.gppApplicableSections)||void 0===r?void 0:r.join(",")).addOptional("cd",n.cookieDomain).addOptional("ic",bd(n.resolvedIdCookie),{stripEmpty:!1}).addOptional("c",n.contextElements),o}}function Ed(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return Ad((()=>t.top.document.referrer))}function Id(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const e=Ad((()=>t.location.ancestorOrigins))||[],r=[];let n,o=t;for(;o!==top;)r.push(o),o=o.parent;r.push(o);for(let t=r.length-1;t>=0&&!n;t--)n=Ad((()=>r[t].location.href)),0!==t&&(n||(n=Ad((()=>r[t-1].document.referrer))),n||(n=e[t-1]));return n}function kd(t,e,r){if(!t&&e&&""!==e&&r){const t=function(t,e){const r=window.document.querySelectorAll(t);let n="";for(let t=0;t<r.length;t++){const o=n+sd(r[t].outerHTML).stringWithoutRawEmails;if(!(jd(o)<=e))return n;n=o}return n}(e,r);return Bl(t)}return""}function jd(t){return Math.ceil(4*new Blob([t]).size/3)}function Ad(t){try{return t()}catch(t){return}}const Ld=t=>({...t,pageUrl:Id(),referrer:Ed(),contextElements:kd(t.privacyMode,t.contextSelectors,t.contextElementsLength)});function Dd(t){let e=[];t&&(bl(t)?e=t:Sl(t)&&(e=t.split(",")));for(let t=0;t<e.length;t++)e[t]=e[t].trim();return e}function Md(t,e){const r=[];let n=[];for(let o=0;o<t.length;o++){const i=t[o],a=e.getCookie(i)||e.getDataFromLocalStorage(i);if(a){const t=sd(ml(a));r.push({name:i,value:t.stringWithoutRawEmails}),n=n.concat(t.hashesFromOriginalString)}}return{retrievedIdentifiers:r,hashesFromIdentifiers:Fd(n)}}function Fd(t){const e=new Set,r=[];for(let n=0;n<t.length;n++)e.has(t[n].md5)||(r.push(t[n]),e.add(t[n].md5));return r}const Pd=t=>{var e;return{...t,privacyMode:!!t.gdprApplies||(null!==(e=t.gppApplicableSections)&&void 0!==e?e:[]).indexOf(2)>-1}};function Nd(t,e){if(t&&t.appId&&t.distributorId){const r=t.distributorId;delete t.distributorId,e.emitError("AppIdAndDistributorIdPresent",new Error("Event contains both appId: ".concat(t.appId," and distributorId: ").concat(r,". Ignoring distributorId")))}return t}const Rd="idCookie";class Td{constructor(t,e,r){var n,o;fl(this,"eventBus",void 0),fl(this,"calls",void 0),fl(this,"idexConfig",void 0),fl(this,"externalIds",void 0),fl(this,"source",void 0),fl(this,"publisherId",void 0),fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"requestedAttributes",void 0),fl(this,"query",void 0),fl(this,"privacyMode",void 0),fl(this,"resolvedIdCookie",void 0),fl(this,"generateIdCookie",void 0),fl(this,"peopleVerifiedId",void 0),fl(this,"pageUrl",void 0);const i=t||{identityResolutionConfig:{}};this.eventBus=r,this.calls=e,this.idexConfig=i.identityResolutionConfig||{},this.externalIds=i.retrievedIdentifiers||[],this.source=this.idexConfig.source||"unknown",this.publisherId=this.idexConfig.publisherId||"any",this.url=this.idexConfig.url||Pl,this.timeout=this.idexConfig.ajaxTimeout||i.ajaxTimeout||5e3,this.requestedAttributes=this.idexConfig.requestedAttributes||Nl,this.privacyMode=null!==(n=i.privacyMode)&&void 0!==n&&n,this.resolvedIdCookie=i.resolvedIdCookie,this.generateIdCookie="generated"===this.idexConfig.idCookieMode,this.peopleVerifiedId=i.peopleVerifiedId,this.pageUrl=i.pageUrl,this.query=(new yd).addOptional("duid",i.peopleVerifiedId).addOptional("us_privacy",i.usPrivacyString).addOptional("gdpr",gl(i.gdprApplies,(t=>t?1:0))).addOptional("gdpr_consent",i.gdprConsent).addOptional("did",i.distributorId).addOptional("gpp_s",i.gppString).addOptional("gpp_as",null===(o=i.gppApplicableSections)||void 0===o?void 0:o.join(",")).addOptional("cd",i.cookieDomain).addOptional("ic",bd(i.resolvedIdCookie),{stripEmpty:!1}).addOptional("pu",gl(i.pageUrl,xd)),this.externalIds.forEach((t=>{this.query.add(t.name,t.value)})),this.requestedAttributes.forEach((t=>{this.query.add("resolve",t)}))}attributeResolutionAllowed(t){return"uid2"===t?!this.privacyMode:t!==Rd}filterParams(t){return t.filteredCopy(((t,e)=>"resolve"!==t||!!Sl(e)&&this.attributeResolutionAllowed(e)))}enrichExtraIdentifiers(t,e){const r=e.tuples.filter((t=>{let[e]=t;return"resolve"===e})).map((t=>{let[,e]=t;return e}));const n={...t};var o;return o=Rd,r.indexOf(o)>-1&&(this.generateIdCookie&&this.peopleVerifiedId?n[Rd]=this.peopleVerifiedId:this.resolvedIdCookie&&(n[Rd]=this.resolvedIdCookie)),n}responseReceived(t,e){return(r,n)=>{let o={};if(r)try{const t=JSON.parse(r);Cl(t)&&(o=t)}catch(t){console.error("Error parsing response",t),this.eventBus.emitError("IdentityResolverParser",t)}const i=function(t){if(Cl(t)&&"getResponseHeader"in t&&Ol(t.getResponseHeader)){const e=t.getResponseHeader("expires");if(e)return new Date(e)}}(n);t(this.enrichExtraIdentifiers(o,e),{expiresAt:i})}}buildUrl(t){return"".concat(this.url,"/").concat(this.source,"/").concat(this.publisherId).concat(this.filterParams(t).toQueryString())}getUrl(t){const e=this.query.copy().addParamsMap(null!=t?t:{});return this.buildUrl(e)}resolve(t,e,r){try{const n=this.query.copy().addParamsMap(null!=r?r:{});this.calls.ajaxGet(this.buildUrl(n),this.responseReceived(t,n),e,this.timeout)}catch(t){console.error("IdentityResolve",t),e&&Ol(e)&&e(t),this.eventBus&&this.eventBus.emitError("IdentityResolve",t)}}}function _d(t){return new jl("number"==typeof t&&t>=0?t:5)}function Ud(t){Ol(t.emitErrorWithMessage)&&Ol(t.emitError)||(t.emitErrorWithMessage=function(e,r){const n=Il(e,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});return t.emit(kl,n)},t.emitError=function(e,r){return t.emitErrorWithMessage(e,r.message,r)})}function Vd(){return _d(arguments.length>0&&void 0!==arguments[0]?arguments[0]:5)}function Bd(t){const e=window[t].eventBus||window[Ll];return Ud(e),e}const Wd="_li_dcdm_c";function Gd(t){const e=t.getCookie(Wd);if(e)return e;const r=document.domain||document.location&&document.location.host||window&&window.location&&window.location.host||"localhost",n=r.split(".");for(let e=n.length;e>0;e--){const r=".".concat(n.slice(e-1,n.length).join("."));if(t.setCookie(Wd,r,void 0,"Lax",r),t.getCookie(Wd))return r}return".".concat(r)}const qd={cookie:"cookie",localStorage:"ls",none:"none",disabled:"disabled"},Qd=t=>{const e=t.privacyMode?qd.disabled:t.storageStrategy||qd.cookie;return{...t,storageStrategy:e}},zd=El(30),Hd="li_did",Jd="lidids.",Kd=(t,e,r)=>r.indexOf(t)===e,$d=t=>t&&wl(t).length>0;function Yd(t,e){return r=>{function n(t,r){try{return r()}catch(r){return e.emitErrorWithMessage("DecisionsResolve",t,r),[]}}const o=n("Error while extracting new decision ids",(()=>{var t,e;return[].concat(r.pageUrl&&(t=r.pageUrl,e=Hd,ld(dd(t),e))||[]).map(wl).filter($d).filter(yl).filter(Kd)})),i=n("Error while retrieving stored decision ids",(()=>t.findSimilarCookies(Jd).map(wl).filter($d).filter(yl)));return o.forEach((n=>{try{(o=n)&&t.setCookie("".concat(Jd).concat(o),o,zd,"Lax",r.cookieDomain)}catch(t){e.emitErrorWithMessage("DecisionsResolve","Error while storing new decision id",t)}var o})),{...r,decisionIds:o.concat(i).filter(Kd)}}}const Xd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",Zd=Xd.length,tf=Math.pow(2,48)-1,ef=10,rf=16,nf=function(){const t="undefined"!=typeof window?window:null,e=t&&(t.crypto||t.msCrypto);if(e)return()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]/255};return()=>Math.random()}();function of(t,e){if(t>tf)throw function(t){const e=new Error(t);return e.source="Ulid",e}("cannot encode time greater than "+tf);let r,n="";for(;e>0;e--)r=t%Zd,n=Xd.charAt(r)+n,t=(t-r)/Zd;return n}function af(){let t=Math.floor(nf()*Zd);return t===Zd&&(t=Zd-1),Xd.charAt(t)}function sf(){return of(Date.now(),ef)+function(t){let e="";for(;t>0;t--)e=af()+e;return e}(rf)}const cf="_lc2_fpi";function uf(t,e){return r=>{let n;const o=t.get(cf);if(o)n=o.data;else{const o=e.getCookie(cf);if(o)t.set(cf,o),n=o;else{var i;const e="".concat(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return Ql(t.replace(/^\./,"")).substring(0,e)}(r.cookieDomain),"--").concat(sf()).toLocaleLowerCase();t.set(cf,e),n=null===(i=t.get(cf))||void 0===i?void 0:i.data}}return n&&e.setDataInLocalStorage(Fl,n),{...r,liveConnectId:n,peopleVerifiedId:n}}}const lf=120,df={errorDetails:{message:"Unknown message",name:"Unknown name"}};function ff(t){try{const e=1*t;return isNaN(e)?void 0:e}catch{}}function hf(t){try{return Sl(t)&&t.length&&t.length>lf?"".concat(t.substr(0,lf),"..."):"".concat(t)}catch{}}function pf(t){return Cl(t)?{errorDetails:{message:hf(t.message)||"",name:hf(t.name)||"",stackTrace:hf(t.stack),lineNumber:ff(t.lineNumber),columnNumber:ff(t.columnNumber),fileName:hf(t.fileName)}}:df}const gf=()=>{};class mf{constructor(t,e,r){fl(this,"obj",void 0),fl(this,"name",void 0),fl(this,"errors",void 0),fl(this,"eventBus",void 0),this.obj=t,this.name=e,this.errors=[],this.eventBus=r}wrap(t){var e=this;if(Cl(this.obj)){const r=this.obj[t];if(Ol(r))return function(){try{for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r.call(e.obj,...o)}catch(r){e.eventBus.emitErrorWithMessage(e.name,"Failed calling ".concat(t),r)}}}return this.errors.push(t),gf}reportErrors(){this.errors.length>0&&this.eventBus.emitErrorWithMessage(this.name,"The functions '".concat(JSON.stringify(this.errors),"' were not provided"))}}const vf=()=>{};function yf(t,e,r){return xl(e,qd.disabled)?vf:t.wrap(r)}function bf(t,e,r){return xl(e,qd.none)?vf:yf(t,e,r)}class wf{constructor(t,e){fl(this,"minimalFunctions",void 0),this.minimalFunctions={getCookie:yf(e,t,"getCookie"),getDataFromLocalStorage:yf(e,t,"getDataFromLocalStorage"),localStorageIsEnabled:bf(e,t,"localStorageIsEnabled")}}static make(t,e,r){const n=new mf(e,"ReadOnlyStorageHandler",r),o=new wf(t,n);return n.reportErrors(),o}localStorageIsEnabled(){return!!this.minimalFunctions.localStorageIsEnabled()}getCookie(t){return this.minimalFunctions.getCookie(t)||null}getDataFromLocalStorage(t){return this.minimalFunctions.getDataFromLocalStorage(t)||null}}class Sf extends wf{constructor(t,e){super(t,e),fl(this,"storageStrategy",void 0),fl(this,"functions",void 0),this.storageStrategy=t,this.functions={setCookie:bf(e,t,"setCookie"),removeDataFromLocalStorage:bf(e,t,"removeDataFromLocalStorage"),setDataInLocalStorage:bf(e,t,"setDataInLocalStorage"),findSimilarCookies:yf(e,t,"findSimilarCookies")}}static make(t,e,r){const n=new mf(e,"StorageHandler",r),o=new Sf(t,n);return n.reportErrors(),o}setCookie(t,e,r,n,o){this.functions.setCookie(t,e,r,n,o)}setDataInLocalStorage(t,e){this.functions.setDataInLocalStorage(t,e)}removeDataFromLocalStorage(t){this.functions.removeDataFromLocalStorage(t)}findSimilarCookies(t){return this.functions.findSimilarCookies(t)||[]}}class xf extends Error{constructor(t){super(t),this.name="ParseError"}}class Cf{constructor(t){fl(this,"handler",void 0),fl(this,"cookieDomain",void 0),fl(this,"eventBus",void 0),this.handler=t.storageHandler,this.cookieDomain=t.cookieDomain,this.eventBus=t.eventBus}deleteCookie(t){this.handler.setCookie(t,"",new Date(0),"Lax",this.cookieDomain)}parseMetaRecord(t){const e=JSON.parse(t);if(!Cl(e))throw new xf("Meta record is not an object");let r;if("e"in e&&(r=new Date(e.e),isNaN(r.getTime())))throw new xf("Invalid expiresAt");if(!("w"in e))throw new xf("Missing writtenAt");const n=new Date(e.w);if(isNaN(n.getTime()))throw new xf("Invalid writtenAt");return{expiresAt:r,writtenAt:n}}serializeMetaRecord(t){let e;return t.expiresAt&&(e=t.expiresAt.getTime()),JSON.stringify({w:t.writtenAt.getTime(),e})}getCookieRecord(t,e){const r=this.handler.getCookie(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from cookies",r),this.deleteCookie(t),this.deleteCookie(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return null;const i=this.handler.getCookie(t);return i?{data:i,meta:n}:null}getLSRecord(t,e){const r=this.handler.getDataFromLocalStorage(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from ls",r),this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null;const i=this.handler.getDataFromLocalStorage(t);return i?{data:i,meta:n}:null}get(t){const e=Of(t),r=this.getCookieRecord(t,e),n=this.getLSRecord(t,e);return r&&n?r.meta.writtenAt.getTime()===n.meta.writtenAt.getTime()?r:r.meta.writtenAt>n.meta.writtenAt?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):r?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):n?(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):null}set(t,e,r){const n=Of(t),o=this.serializeMetaRecord({writtenAt:new Date,expiresAt:r});this.handler.setDataInLocalStorage(t,e),this.handler.setDataInLocalStorage(n,o);const i=r||El(730);this.handler.setCookie(t,e,i,"Lax",this.cookieDomain),this.handler.setCookie(n,o,i,"Lax",this.cookieDomain)}}function Of(t){return"".concat(t,"_meta")}const Ef=()=>{};function If(t,e,r){return e?Ef:t.wrap(r)}class kf{constructor(t,e,r){fl(this,"functions",void 0);const n=new mf(t,"CallHandler",e);this.functions={ajaxGet:If(n,r,"ajaxGet"),pixelGet:If(n,r,"pixelGet")},n.reportErrors()}ajaxGet(t,e,r,n){this.functions.ajaxGet(t,e,r,n)}pixelGet(t,e){this.functions.pixelGet(t,e)}}function jf(t){return e=>{var r,n,o,i;return"cookie"===(null===(r=e.idCookie)||void 0===r?void 0:r.strategy)&&"string"==typeof(null===(n=e.idCookie)||void 0===n?void 0:n.name)?{...e,resolvedIdCookie:t.getCookie(e.idCookie.name)}:"localStorage"===(null===(o=e.idCookie)||void 0===o?void 0:o.strategy)&&"string"==typeof(null===(i=e.idCookie)||void 0===i?void 0:i.name)?{...e,resolvedIdCookie:t.getDataFromLocalStorage(e.idCookie.name)}:e}}const Af={};function Lf(t,e,r,n){if(t&&Cl(t))if("config"in t)n.emitErrorWithMessage("StrayConfig","Received a config after LC has already been initialised",new Error(JSON.stringify(t)));else{const o=new Od(r,n),i=o.combineWith({eventSource:t});Af.hashedEmail=Af.hashedEmail||i.data.hashedEmail;const a=vd({eventSource:t},Af),s=()=>n.emit(Ml,"0"),c=()=>n.emit(Dl,r);e.sendAjax(o.combineWith(a),{onPreSend:s,onLoad:c})}else n.emitErrorWithMessage("EventNotAnObject","Received event was not an object",new Error(t))}function Df(t,e,r,n){try{const o={...Nd(t,n),identifiersToResolve:t.identifiersToResolve||[],contextSelectors:t.contextSelectors||"",contextElementsLength:t.contextElementsLength||0},i=Ld(Qd(Pd(o))),a=new kf(r,n,i.privacyMode),s=Sf.make(i.storageStrategy,e,n),c=function(t){return e=>({...e,cookieDomain:Gd(t)})}(s)(i),u=new Cf({storageHandler:s,eventBus:n,cookieDomain:c.cookieDomain}),l=jf(s)(uf(u,s)(Yd(s,n)(function(t,e){return r=>{try{return{...r,...Md(Dd(r.identifiersToResolve),t)}}catch(t){return e.emitError("IdentifiersEnricher",t),{...r,retrievedIdentifiers:[],hashesFromIdentifiers:[]}}}}(s,n)(c)))),d=new Al({collectorUrl:o.collectorUrl,ajaxTimeout:o.ajaxTimeout,eventBus:n,callHandler:a});!function(t,e,r){try{r.on(kl,(n=>{e.sendPixel(new Od({...t,...pf(n)},r))}))}catch(t){console.error("handlers.error.register",t)}}(l,d,n);const f=new Td(l,a,n),h=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t,e,r,n){try{t.forEach((t=>{const o=t;bl(o)?o.forEach((t=>Lf(t,e,r,n))):Lf(o,e,r,n)}))}catch(t){console.error("Error sending events",t),n.emitErrorWithMessage("LCPush","Failed sending an event",t)}}(e,d,l,n)};return{push:h,fire:()=>h({}),peopleVerifiedId:l.peopleVerifiedId,ready:!0,resolve:f.resolve.bind(f),resolutionCallUrl:f.getUrl.bind(f),config:o,eventBus:n,storageHandler:s,cache:u}}catch(t){console.error(t),n.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}}function Mf(t,e,r,n){const o=window[t.globalVarName]||[],i=function(t){try{if(window&&window[t.globalVarName]&&window[t.globalVarName].ready){const e=window[t.globalVarName].config&&function(t,e){if(t.appId!==e.appId||t.wrapperName!==e.wrapperName||t.collectorUrl!==e.collectorUrl)return{appId:[t.appId,e.appId],wrapperName:[t.wrapperName,e.wrapperName],collectorUrl:[t.collectorUrl,e.collectorUrl]}}(window[t.globalVarName].config,t);if(e){const r=new Error;r.name="ConfigSent",r.message="Additional configuration received";const n=Bd(t.globalVarName);window[t.globalVarName].eventBus=n,n.emitErrorWithMessage("LCDuplication",JSON.stringify(e),r)}return window[t.globalVarName]}}catch(t){console.error("Could not initialize error bus")}}(t)||Df(t,e,r,n)||o;if(bl(o))for(let t=0;t<o.length;t++)i.push(o[t]);return window[i.config.globalVarName]=i,window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}function Ff(t,e,r,n){const o=Cl(t)&&t||{},i=n||Vd();let a;try{a=o.globalVarName?Mf(o,e,r,i):function(t,e,r,n){const o=Df(t,e,r,n);return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t),i.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}return a}function Pf(t,e){const r=bl(t)?t:ml(t).split(","),n=[];for(let t=0;t<r.length;t++){const i=wl(r[t]),a=e.getCookie(i)||e.getDataFromLocalStorage(i);!a||(o=ml(a),od().test(o))||id(ml(a))||n.push({name:i,value:ml(a)})}var o;return n}function Nf(t,e,r,n,o){try{const i={...Nd(t,n),identifiersToResolve:t.identifiersToResolve||[]},a=Qd(Pd(i)),s=wf.make(a.storageStrategy,e,n),c=new kf(r,n,a.privacyMode),u=function(t,e){return r=>{try{return{...r,retrievedIdentifiers:Pf(r.identifiersToResolve,t)}}catch(t){return e.emitError("IdentifiersEnrich",t),{...r,retrievedIdentifiers:[]}}}}(s,n)(jf(s)(function(t,e){return r=>{try{return{...r,peopleVerifiedId:r.peopleVerifiedId||t.getDataFromLocalStorage(Fl)||void 0}}catch(t){return e.emitError("PeopleVerifiedEnrich",t),r}}}(s,n)(a))),l=new Td(u,c,n);return{push:t=>o(t),fire:()=>o({}),peopleVerifiedId:u.peopleVerifiedId,ready:!0,resolve:l.resolve.bind(l),resolutionCallUrl:l.getUrl.bind(l),config:i,eventBus:n,storageHandler:s}}catch(t){console.error(t)}}function Rf(t,e,r,n){const o=Cl(t)&&t||{},i=n||Vd();try{return o.globalVarName?function(t,e,r,n){const o=window[t.globalVarName]=window[t.globalVarName]||[],i=Nf(t,e,r,n,o.push.bind(o));return window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}(o,e,r,i):function(t,e,r,n){const o=Nf(t,e,r,n,(()=>{}));return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t)}return{}}const Tf=function(t,e,r,n,o){const i="minimal"===n,a=o||Vd();return(i?Rf:Ff)(Cl(t)&&t||{},e,r,a)};var _f=r(16916),Uf=r(12938),Vf=r(45569),Bf=r(50646),Wf=r(2660),Gf=r(27934);const qf=5e3,Qf="pre_lips",zf="liveIntentId",Hf="liveintent.com",Jf=(0,Uf.vM)({moduleType:Vf.fW,moduleName:zf}),Kf={nonId:!0},$f={ajaxGet:(t,e,r,n)=>{(0,i.g4)(n)(t,{success:e,error:r},void 0,{method:"GET",withCredentials:!0})},pixelGet:(t,e)=>(0,o.triggerPixel)(t,e)};let Yf=!1,Xf=null;function Zf(){Yf=!0}function th(t){function e(t){return Object.entries(t).flatMap((t=>{let[e,r]=t;return"boolean"==typeof r&&r?[(n=e,"fpid"===n?"idCookie":n)]:[];var n}))}return e("object"==typeof t?{...Kf,...t}:Kf)}function eh(t){if(Xf)return Xf;const e=(t=t||{}).fpid||{},r={publisherId:t.publisherId||"any",requestedAttributes:th(t.requestedAttributesOverrides)};t.url&&(r.url=t.url),r.ajaxTimeout=t.ajaxTimeout||qf;const n=function(t){const e={};return(t=t||{}).appId&&(e.appId=t.appId),t.fpiStorageStrategy&&(e.storageStrategy=t.fpiStorageStrategy),t.fpiExpirationDays&&(e.expirationDays=t.fpiExpirationDays),t.collectorUrl&&(e.collectorUrl=t.collectorUrl),e.ajaxTimeout=t.ajaxTimeout||qf,e}(t.liCollectConfig);!n.appId&&t.distributorId?(n.distributorId=t.distributorId,r.source=t.distributorId):r.source=t.partner||"prebid",n.wrapperName="prebid",n.trackerVersion="9.3.0",n.identityResolutionConfig=r,n.identifiersToResolve=t.identifiersToResolve||[],n.fireEventDelay=t.fireEventDelay,n.idCookie={},n.idCookie.name=e.name,n.idCookie.strategy="html5"==e.strategy?"localStorage":e.strategy;const o=_f.t6.getConsentData();o&&(n.usPrivacyString=o);const i=_f.mW.getConsentData();i&&(n.gdprApplies=i.gdprApplies,n.gdprConsent=i.consentString);const a=_f.ad.getConsentData();return a&&(n.gppString=a.gppString,n.gppApplicableSections=a.applicableSections),Xf=nh.getInitializer()(n,Jf,$f),t.emailHash&&Xf.push({hash:t.emailHash}),Xf}function rh(){if(!Yf&&Xf){const t=Xf.config.fireEventDelay||500;setTimeout((()=>{window.liQ_instances.forEach((t=>t.eventBus.once(Qf,Zf))),!Yf&&Xf&&Xf.fire()}),t)}}const nh={moduleMode:"standard",name:zf,gvlid:148,setModuleMode(t){this.moduleMode=t},getInitializer(){return(t,e,r)=>Tf(t,e,r,this.moduleMode)},decode(t,e){const r=e&&e.params||{};return Xf||eh(r),rh(),function(t){const e={},r=t.nonId||t.unifiedId;if(r){const n={...t,lipbid:r};delete n.unifiedId,e.lipb=n}return t.uid2&&(e.uid2={id:t.uid2,ext:{provider:Hf}}),t.bidswitch&&(e.bidswitch={id:t.bidswitch,ext:{provider:Hf}}),t.medianet&&(e.medianet={id:t.medianet,ext:{provider:Hf}}),t.magnite&&(e.magnite={id:t.magnite,ext:{provider:Hf}}),t.index&&(e.index={id:t.index,ext:{provider:Hf}}),t.openx&&(e.openx={id:t.openx,ext:{provider:Hf}}),t.pubmatic&&(e.pubmatic={id:t.pubmatic,ext:{provider:Hf}}),t.sovrn&&(e.sovrn={id:t.sovrn,ext:{provider:Hf}}),t.idCookie&&(_f.et.getCoppa()||(e.lipb={...e.lipb,fpid:t.idCookie},e.fpid={id:t.idCookie}),delete e.lipb.idCookie),t.thetradedesk&&(e.lipb={...e.lipb,tdid:t.thetradedesk},e.tdid={id:t.thetradedesk,ext:{rtiPartner:"TDID",provider:(0,Gf.EN)().domain||Hf}},delete e.lipb.thetradedesk),e}(t)},getId(t){const e=eh(t&&t.params||{});if(!e)return;rh();return{callback:function(t){e.resolve((e=>{t(e)}),(e=>{(0,o.logError)(`${zf}: ID fetch encountered an error: `,e),t()}))}}},eids:{...Wf.M,...Bf.x,lipb:{getValue:function(t){return t.lipbid},source:"liveintent.com",atype:3,getEidExt:function(t){if(Array.isArray(t.segments)&&t.segments.length)return{segments:t.segments}}},bidswitch:{source:"bidswitch.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},medianet:{source:"media.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},magnite:{source:"rubiconproject.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},index:{source:"liveintent.indexexchange.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},openx:{source:"openx.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},pubmatic:{source:"pubmatic.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},sovrn:{source:"liveintent.sovrn.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},fpid:{source:"fpid.liveintent.com",atype:1,getValue:function(t){return t.id}}}};(0,a.bz)("userId",nh),(0,n.E)("liveIntentIdSystem")}},t=>{t.O(0,[17045,44950,60802,51085],(()=>{return e=16839,t(t.s=e);var e}));t.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[42650],{24290:(e,t,s)=>{var r=s(7873),i=s(57377),d=s(71371),n=s(12449),a=s(70433);const o={code:"logicad",supportedMediaTypes:[d.D4,d.s6],isBidRequestValid:function(e){return!(!e.params||!e.params.tid)},buildRequests:function(e,t){const s=[];for(let r=0,i=(e=(0,n.Xj)(e)).length;r<i;r++){const i={method:"POST",url:"https://pb.ladsp.com/adrequest/prebid",data:JSON.stringify(u(e[r],t)),options:{},bidderRequest:t};s.push(i)}return s},interpretResponse:function(e,t){e=e.body;const s=[];if(!e||e.error)return s;e.seatbid.forEach((function(e){s.push(e.bid)}));const r=(0,a.A)(e,"ext.fledgeAuctionConfigs")||[];return r.length?{bids:s,paapi:r}:s},getUserSyncs:function(e,t){return t.length>0&&t[0].body.userSync&&e.pixelEnabled&&"image"==t[0].body.userSync.type?[{type:"image",url:t[0].body.userSync.url}]:[]}};function u(e,t){const s={adUnitCode:e.adUnitCode,bidId:e.bidId,transactionId:e.ortb2Imp?.ext?.tid,sizes:e.sizes,params:e.params,mediaTypes:e.mediaTypes};if((0,a.A)(t,"paapi.enabled")){const t=(0,a.A)(e,"ortb2Imp.ext.ae");t&&(s.ae=t)}const r={auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,bids:[s],prebidJsVersion:"9.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[42650],{24290:(e,t,s)=>{var r=s(7873),i=s(57377),d=s(71371),n=s(12449),a=s(70433);const o={code:"logicad",supportedMediaTypes:[d.D4,d.s6],isBidRequestValid:function(e){return!(!e.params||!e.params.tid)},buildRequests:function(e,t){const s=[];for(let r=0,i=(e=(0,n.Xj)(e)).length;r<i;r++){const i={method:"POST",url:"https://pb.ladsp.com/adrequest/prebid",data:JSON.stringify(u(e[r],t)),options:{},bidderRequest:t};s.push(i)}return s},interpretResponse:function(e,t){e=e.body;const s=[];if(!e||e.error)return s;e.seatbid.forEach((function(e){s.push(e.bid)}));const r=(0,a.A)(e,"ext.fledgeAuctionConfigs")||[];return r.length?{bids:s,paapi:r}:s},getUserSyncs:function(e,t){return t.length>0&&t[0].body.userSync&&e.pixelEnabled&&"image"==t[0].body.userSync.type?[{type:"image",url:t[0].body.userSync.url}]:[]}};function u(e,t){const s={adUnitCode:e.adUnitCode,bidId:e.bidId,transactionId:e.ortb2Imp?.ext?.tid,sizes:e.sizes,params:e.params,mediaTypes:e.mediaTypes};if((0,a.A)(t,"paapi.enabled")){const t=(0,a.A)(e,"ortb2Imp.ext.ae");t&&(s.ae=t)}const r={auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,bids:[s],prebidJsVersion:"9.3.0",referrer:t.refererInfo.page,auctionStartTime:t.auctionStart,eids:e.userIdAsEids},i=(0,a.A)(e,"ortb2.device.sua");i&&(r.sua=i);const d=(0,a.A)(e,"ortb2.user.data");return d&&(r.userData=d),r}(0,i.a$)(o),(0,r.E)("logicadBidAdapter")}},e=>{e.O(0,[60802,51085],(()=>{return t=24290,e(e.s=t);var t}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[86903],{83361:(e,t,r)=>{var n=r(7873),i=r(43272),d=r(57377),o=r(71371),s=r(12449);const a={code:"loglylift",supportedMediaTypes:[o.D4,o.s6],isBidRequestValid:function(e){return!(!e.params||!e.params.adspotId)},buildRequests:function(e,t){const r=[];for(let n=0,i=(e=(0,s.Xj)(e)).length;n<i;n++){const i={method:"POST",url:"https://bid.logly.co.jp/prebid/client/v1?adspot_id="+e[n].params.adspotId,data:JSON.stringify(u(e[n],t)),options:{},bidderRequest:t};r.push(i)}return r},interpretResponse:function(e,t){let{bidderRequest:r}=t;e=e.body;const n=[];return!e||e.error||e.bids.forEach((function(e){n.push(e)})),n},getUserSyncs:function(e,t){const r=[];return e.iframeEnabled&&t.length>0&&t[0].body.bids[0].native&&r.push({type:"iframe",url:"https://sync.logly.co.jp/sync/sync.html"}),r}};function u(e,t){const r=i.$W.getConfig("currency"),n=r&&r.adServerCurrency||"USD";return{auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,transactionId:e.ortb2Imp?.ext?.tid,adUnitCode:e.adUnitCode,bidId:e.bidId,mediaTypes:e.mediaTypes,params:e.params,prebidJsVersion:"9.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[86903],{83361:(e,t,r)=>{var n=r(7873),i=r(43272),d=r(57377),o=r(71371),s=r(12449);const a={code:"loglylift",supportedMediaTypes:[o.D4,o.s6],isBidRequestValid:function(e){return!(!e.params||!e.params.adspotId)},buildRequests:function(e,t){const r=[];for(let n=0,i=(e=(0,s.Xj)(e)).length;n<i;n++){const i={method:"POST",url:"https://bid.logly.co.jp/prebid/client/v1?adspot_id="+e[n].params.adspotId,data:JSON.stringify(u(e[n],t)),options:{},bidderRequest:t};r.push(i)}return r},interpretResponse:function(e,t){let{bidderRequest:r}=t;e=e.body;const n=[];return!e||e.error||e.bids.forEach((function(e){n.push(e)})),n},getUserSyncs:function(e,t){const r=[];return e.iframeEnabled&&t.length>0&&t[0].body.bids[0].native&&r.push({type:"iframe",url:"https://sync.logly.co.jp/sync/sync.html"}),r}};function u(e,t){const r=i.$W.getConfig("currency"),n=r&&r.adServerCurrency||"USD";return{auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,transactionId:e.ortb2Imp?.ext?.tid,adUnitCode:e.adUnitCode,bidId:e.bidId,mediaTypes:e.mediaTypes,params:e.params,prebidJsVersion:"9.3.0",url:window.location.href,domain:t.refererInfo.domain,referer:t.refererInfo.page,auctionStartTime:t.auctionStart,currency:n,timeout:i.$W.getConfig("bidderTimeout")}}(0,d.a$)(a),(0,n.E)("loglyliftBidAdapter")}},e=>{e.O(0,[60802,51085],(()=>{return t=83361,e(e.s=t);var t}));e.O()}]);
|
package/dist/luceadBidAdapter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[18283],{50159:(e,i,t)=>{var s=t(7873),d=t(89766),n=t(57377),r=t(91069),a=t(63172),o=t(68044);const p="lucead.com";let u=`https://${p}`,c=`https://s.${p}`,l=u;function b(){return location.hash.includes("prebid-dev")}const _={code:"lucead",gvlid:1309,aliases:["adliveplus"],isBidRequestValid:function(e){return!!e?.params?.placementId},buildRequests:function(e,i){const t=e[0]?.params?.region||"eu";l=`https://${t}.${p}`,b()&&(u=location.origin,c=u,l=`${u}`),(0,r.logInfo)("buildRequests",{bidRequests:e,bidderRequest:i});const s={base_url:u,static_url:c,endpoint_url:l,request_id:i.bidderRequestId,prebid_version:"9.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[18283],{50159:(e,i,t)=>{var s=t(7873),d=t(89766),n=t(57377),r=t(91069),a=t(63172),o=t(68044);const p="lucead.com";let u=`https://${p}`,c=`https://s.${p}`,l=u;function b(){return location.hash.includes("prebid-dev")}const _={code:"lucead",gvlid:1309,aliases:["adliveplus"],isBidRequestValid:function(e){return!!e?.params?.placementId},buildRequests:function(e,i){const t=e[0]?.params?.region||"eu";l=`https://${t}.${p}`,b()&&(u=location.origin,c=u,l=`${u}`),(0,r.logInfo)("buildRequests",{bidRequests:e,bidderRequest:i});const s={base_url:u,static_url:c,endpoint_url:l,request_id:i.bidderRequestId,prebid_version:"9.3.0",bidRequests:e,bidderRequest:i,getUniqueIdentifierStr:r.getUniqueIdentifierStr,ortbConverter:d.A,deepSetValue:a.J,is_sra:!0,region:t};window.lucead_prebid_data=s;const n=window.lucead_prebid;return n&&"function"==typeof n&&n(s),{method:"POST",url:`${l}/go/prebid/sra`,data:JSON.stringify({request_id:i.bidderRequestId,domain:location.hostname,bid_requests:e.map((e=>({bid_id:e.bidId,sizes:e.sizes,media_types:e.mediaTypes,placement_id:e.params.placementId,schain:e.schain})))}),options:{contentType:"text/plain",withCredentials:!1}}},interpretResponse:function(e,i){const t=e?.body,s=JSON.parse(i?.data),d=(t?.bids||[]).map((e=>({requestId:e?.bid_id||"1",cpm:e?.cpm||0,width:e?.size&&e?.size?.width||300,height:e?.size&&e?.size?.height||250,currency:e?.currency||"EUR",ttl:e?.ttl||500,creativeId:e?.ssp?`ssp:${e.ssp}`:`${e?.ad_id||0}:${e?.ig_id||0}`,netRevenue:e?.net_revenue||!0,ad:e?.ad||"",meta:{advertiserDomains:e?.advertiser_domains||[]}})));return(0,r.logInfo)("interpretResponse",{serverResponse:e,bidRequest:i,bidRequestData:s,bids:d}),!1===t?.enable_pa?d:{bids:d,paapi:(t.bids||[]).map((e=>({bidId:e?.bid_id,config:{seller:u,decisionLogicUrl:`${u}/js/ssp.js`,interestGroupBuyers:[u],requestedSize:e?.size,auctionSignals:{size:e?.size},perBuyerSignals:{[u]:{prebid_paapi:!0,prebid_bid_id:e?.bid_id,prebid_request_id:s.request_id,placement_id:e.placement_id,is_sra:!0,endpoint_url:l}}}})))}},onBidWon:function(e){(0,r.logInfo)("Bid won",e);let i={bid_id:e?.bidId,placement_id:e.params&&e?.params[0]?.placementId||"0",spent:e?.cpm,currency:e?.currency};if(e?.creativeId){const t=e.creativeId.toString().split(":");"ssp"===t[0]?i.ssp=t[1]:(i.ad_id=t[0],i.ig_id=t[1])}return function(e,i){return(0,o.hd)(`${l}/go/report/${e}`,{body:JSON.stringify({...i,domain:location.hostname}),method:"POST",contentType:"text/plain"})}("impression",i)},onTimeout:function(e){(0,r.logInfo)("Timeout from adapter",e)},isDevEnv:b};(0,n.a$)(_),(0,s.E)("luceadBidAdapter")}},e=>{e.O(0,[60802,58498,51085],(()=>{return i=50159,e(e.s=i);var i}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[71561],{46721:(e,s,r)=>{var i=r(7873),d=r(57377),t=r(71371),p=r(89766);const o=(0,p.A)({}),n={supportedMediaTypes:[t.D4],code:"mabidder",isBidRequestValid:function(e){return void 0!==e.params&&!!(e.params.ppid&&e.sizes&&Array.isArray(e.sizes)&&Array.isArray(e.sizes[0]))},buildRequests:function(e,s){const r=o.toORTB({bidRequests:e,bidderRequest:s}),
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[71561],{46721:(e,s,r)=>{var i=r(7873),d=r(57377),t=r(71371),p=r(89766);const o=(0,p.A)({}),n={supportedMediaTypes:[t.D4],code:"mabidder",isBidRequestValid:function(e){return void 0!==e.params&&!!(e.params.ppid&&e.sizes&&Array.isArray(e.sizes)&&Array.isArray(e.sizes[0]))},buildRequests:function(e,s){const r=o.toORTB({bidRequests:e,bidderRequest:s}),i=[];e.forEach((e=>{const s=[];e.sizes.forEach((e=>{s.push({width:e[0],height:e[1]})})),i.push({bidId:e.bidId,sizes:s,ppid:e.params.ppid,mediaType:t.D4})}));return{url:"https://prebid.ecdrsvc.com/bid",method:"POST",data:{v:"v9.3.0",bids:i,url:s.refererInfo.page||"",referer:s.refererInfo.ref||"",fpd:r||{}}}},interpretResponse:function(e,s){const r=[];if(e.body){const s=e.body;if(!(s&&"object"==typeof s&&s.Responses&&s.Responses.length>0))return[];s.Responses.forEach((e=>{r.push(e)}))}return r}};(0,d.a$)(n),(0,i.E)("mabidderBidAdapter")}},e=>{e.O(0,[60802,58498,51085],(()=>{return s=46721,e(e.s=s);var s}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[28763],{26637:(e,t,n)=>{var i=n(7873),o=n(91069),r=n(70433),s=n(63172),a=n(88910),d=n(11445),c=n(78969),l=n(68044),u=n(43272),p=n(12938),I=n(45569),g=n(16833);const b=(0,p.vM)({moduleType:I.Tn,moduleName:"magnite"}),m="mgniSession",f="Magnite Analytics";let y=["rubicon"];const v={1:"timeout-error",2:"input-error",3:"connect-error",4:"request-error",999:"generic-error"};let A,h,E,D,U,k=0,$=(0,i.m)();const{AUCTION_INIT:T,AUCTION_END:w,BID_REQUESTED:C,BID_RESPONSE:O,BIDDER_DONE:S,BID_TIMEOUT:R,BID_WON:B,BILLABLE_EVENT:M,SEAT_NON_BID:j,BID_REJECTED:N}=c.qY;let L,q;const _=()=>{q={auctions:{},auctionOrder:[],timeouts:{},billing:{},pendingEvents:{},eventPending:!1,elementIdMap:{},sessionData:{},bidsCachedClientSide:new WeakSet},L={pvid:(0,o.generateUUID)().slice(0,8),analyticsEventDelay:500,analyticsBatchTimeout:5e3,analyticsProcessDelay:1,dmBilling:{enabled:!1,vendors:[],waitForAuction:!0}}};let P;_(),u.$W.getConfig("rubicon",(e=>{(0,o.mergeDeep)(L,e.rubicon),!0===(0,r.A)(e,"rubicon.updatePageView")&&(L.pvid=(0,o.generateUUID)().slice(0,8))})),u.$W.getConfig("s2sConfig",(e=>{let{s2sConfig:t}=e;P=t}));const x=()=>{q.pendingEvents.trigger=`batched-${Object.keys(q.pendingEvents).sort().join("-")}`,J(q.pendingEvents),q.pendingEvents={},q.eventPending=!1},W=(e,t,n)=>{q.auctions[t]&&!q.auctions[t].sent?q.auctions[t].pendingEvents=(0,o.mergeDeep)(q.auctions[t].pendingEvents,e):L.analyticsEventDelay>0?(q.pendingEvents=(0,o.mergeDeep)(q.pendingEvents,e),q.eventPending||(setTimeout(x,L.analyticsEventDelay),q.eventPending=!0)):(e.trigger=`solo-${n}`,J(e))},J=e=>{const t={...z(),...e};if(window.pbjs?.rp?.eventDispatcher){const e=new CustomEvent("beforeSendingMagniteAnalytics",{detail:t});window.pbjs.rp.eventDispatcher.dispatchEvent(e)}(0,l.RD)(D,null,JSON.stringify(t),{contentType:"application/json"})},H=(e,t)=>{let n=q.auctions[e];const i=V(n.auction);n.sent=!0,J({auctions:[i],...n.pendingEvents||{},trigger:t})},V=e=>{const t=(0,o.deepClone)(e);return t.samplingFactor=1,t.adUnits=Object.entries(t.adUnits).map((e=>{let[t,n]=e;return n.bids=Object.entries(n.bids).map((e=>{let[t,i]=e,o=["error","no-bid","success"];return o.indexOf(i.status)>o.indexOf(n.status)&&(n.status=i.status),i.pbsBidId&&(i.oldBidId=i.bidId,i.bidId=i.pbsBidId,delete i.pbsBidId),i})),n})),t},F=(e,t)=>{let n=(e=>{let t,n;if("number"==typeof(0,r.A)(e,"floorData.cpmAfterAdjustments"))t=e.floorData.cpmAfterAdjustments,n=e.floorData.floorCurrency;else{if("string"==typeof e.currency&&"USD"===e.currency.toUpperCase())return Number(e.cpm);t=e.cpm,n=e.currency}if("USD"===n)return Number(t);try{return Number($.convertCurrency(t,n,"USD"))}catch(i){return(0,o.logWarn)(`${f}: Could not determine the bidPriceUSD of the bid `,e),e.conversionError=!0,e.ogCurrency=n,e.ogPrice=t,0}})(e);return t&&t.bidPriceUSD>n?t:(0,o.pick)(e,["bidPriceUSD",()=>n,"dealId",e=>e||void 0,"mediaType","dimensions",()=>{const t=e.width||e.playerWidth,n=e.height||e.playerHeight;return t&&n?{width:t,height:n}:void 0},"floorValue",()=>(0,r.A)(e,"floorData.floorValue"),"floorRuleValue",()=>(0,r.A)(e,"floorData.floorRuleValue"),"floorRule",()=>(0,o.debugTurnedOn)()?(0,r.A)(e,"floorData.floorRule"):void 0,"adomains",()=>{const t=(0,r.A)(e,"meta.advertiserDomains"),n=Array.isArray(t)&&t.filter((e=>"string"==typeof e));return n&&n.length>0?n.slice(0,10):void 0},"networkId",()=>{const t=(0,r.A)(e,"meta.networkId");return t&&t.toString()||void 0},"conversionError",e=>!0===e||void 0,"ogCurrency","ogPrice","rejectionReason"])},z=()=>{let e={channel:"web",integration:L.int_type||"pbjs",referrerUri:h,version:"9.2.0",referrerHostname:te.referrerHostname||G(h),timestamps:{timeSincePageLoad:performance.now(),eventTime:Date.now(),prebidLoaded:te.MODULE_INITIALIZED_TIME}};if(A&&(0,s.J)(e,L.pbaBrowserLocation||"client.browser",A),L.wrapperName){let t=L.rule_name;U&&(t=t?t.concat("_cookieless"):"cookieless"),e.wrapper={name:L.wrapperName,family:L.wrapperFamily,rule:t}}return q.sessionData&&(e.session=(0,o.pick)(q.sessionData,["id","pvid","start","expires"]),(0,o.isEmpty)(q.sessionData.fpkvs)||(e.fpkvs=Object.keys(q.sessionData.fpkvs).map((e=>({key:e,value:q.sessionData.fpkvs[e]}))))),e},G=e=>{try{te.referrerHostname=(0,o.parseUrl)(e,{noDecodeWholeURL:!0}).hostname}catch(t){(0,o.logError)(`${f}: Unable to parse hostname from supplied url: `,e,t),te.referrerHostname=""}return te.referrerHostname},Y=()=>{const e=Date.now();let t=(()=>{let e=b.getDataFromLocalStorage(m);if(e)try{return JSON.parse(window.atob(e))}catch(e){(0,o.logError)(`${f}: Unable to decode ${m} value: `,e)}return{}})();return(!Object.keys(t).length||e-t.lastSeen>18e5||t.expires<e)&&(t={id:(0,o.generateUUID)(),start:e,expires:e+216e5}),Object.keys(t).length&&(t.lastSeen=e,t.fpkvs={...t.fpkvs,...Q()},t.pvid=L.pvid,(e=>{try{b.setDataInLocalStorage(m,window.btoa(JSON.stringify(e)))}catch(e){(0,o.logError)(`${f}: Unable to encode ${m} value: `,e)}})(t)),t},Q=()=>(L.fpkvs=Object.assign(L.fpkvs||{},(()=>{let e;try{e=(0,o.parseQS)((0,o.getWindowLocation)().search)}catch(t){e={}}return Object.keys(e).reduce(((t,n)=>(n.match(/utm_/)&&(t[n.replace(/utm_/,"")]=e[n]),t)),{})})()),Object.keys(L.fpkvs).forEach((e=>{L.fpkvs[e]=L.fpkvs[e]+""})),L.fpkvs),Z=e=>({width:e.w||e[0],height:e.h||e[1]}),K=(e,t)=>{let n={};for(const i of q.auctionOrder){const r=q.auctions[i].auction;for(const i in r.adUnits){const s=r.adUnits[i];let a;try{a=e(s,r)}catch(e){(0,o.logWarn)(`${f}: Error running matches function: ${t}`,e),a=!1}if(a&&(n={adUnit:s,auction:r},t))return n}}return n},X=e=>{const{renderTransactionId:t,renderAuctionId:n}=(e=>{if(!u.$W.getConfig("useBidCache"))return{renderTransactionId:e.transactionId,renderAuctionId:e.auctionId};let{adUnit:t,auction:n}=K(((t,n)=>{const i=(0,r.A)(q,`auctions.${n.auctionId}.gamRenders.${t.transactionId}`);return t.adUnitCode===e.adUnitCode&&i}),!1);return{renderTransactionId:t&&t.transactionId||e.transactionId,renderAuctionId:n&&n.auctionId||e.auctionId}})(e),i=t!==e.transactionId;(0,o.logInfo)(`${f}: Bid Won : `,{isCachedBid:i,renderAuctionId:n,renderTransactionId:t,sourceAuctionId:e.auctionId,sourceTransactionId:e.transactionId});let s=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}.bids.${e.requestId}`),a=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}`),d={...s,sourceAuctionId:e.auctionId,renderAuctionId:n,transactionId:e.transactionId,sourceTransactionId:e.transactionId,bidId:s.pbsBidId||e.bidId||e.requestId,renderTransactionId:t,accountId:E,siteId:a.siteId,zoneId:a.zoneId,mediaTypes:a.mediaTypes,adUnitCode:a.adUnitCode,isCachedBid:i||void 0};return delete d.pbsBidId,d},ee=()=>{window.googletag.pubads().addEventListener("slotRenderEnded",(e=>{const t=(0,o.isAdUnitCodeMatchingSlot)(e.slot);let{adUnit:n,auction:i}=K(((e,n)=>{const i=(q.elementIdMap[e.adUnitCode]||[e.adUnitCode]).some(t),o=(0,r.A)(q,`auctions.${n.auctionId}.gamRenders.${e.transactionId}`);return i&&!o}),!0);const a=`${e.slot.getAdUnitPath()} - ${e.slot.getSlotElementId()}`;if(!n||!i)return void(0,o.logInfo)(`${f}: Could not find matching adUnit for Gam Render: `,{slotName:a});const d=i.auctionId;(0,o.logInfo)(`${f}: Gam Render: `,{slotName:a,transactionId:n.transactionId,auctionId:d,adUnit:n});const c=((e,t,n)=>{const i=(0,o.pick)(e,["advertiserId",e=>(0,o.isNumber)(e)?e:void 0,"creativeId",t=>(0,o.isNumber)(e.sourceAgnosticCreativeId)?e.sourceAgnosticCreativeId:(0,o.isNumber)(t)?t:void 0,"lineItemId",t=>(0,o.isNumber)(e.sourceAgnosticLineItemId)?e.sourceAgnosticLineItemId:(0,o.isNumber)(t)?t:void 0,"adSlot",()=>e.slot.getAdUnitPath(),"isSlotEmpty",()=>e.isEmpty||void 0]);return i.auctionId=n.auctionId,i.transactionId=t.transactionId,i})(e,n,i);(0,s.J)(q,`auctions.${d}.gamRenders.${n.transactionId}`,!0),W({gamRenders:[c]},d,"gam"),!q.auctions[d].sent&&Object.keys(q.auctions[d].gamRenders).every((e=>q.auctions[d].gamRenders[e]))&&(clearTimeout(q.timeouts[d]),delete q.timeouts[d],L.analyticsEventDelay>0?setTimeout((()=>{H(d,"gam-delayed")}),L.analyticsEventDelay):H(d,"gam"))}))};let te=(0,a.Ay)({analyticsType:"endpoint"});function ne(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;D=(0,r.A)(e,"options.endpoint"),D||((0,o.logError)(`${f}: required endpoint missing`),t=!0),E=Number((0,r.A)(e,"options.accountId")),E||((0,o.logError)(`${f}: required accountId missing`),t=!0),t||te.originEnableAnalytics(e),(0,o.isGptPubadsDefined)()?ee():(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((()=>ee()))),(0,g.Yn)("callPrebidCache").before(ie)}function ie(e,t,n,i,o){q.bidsCachedClientSide.add(n),e.call(this,t,n,i,o)}te.originEnableAnalytics=te.enableAnalytics;const oe=e=>{const t=X(e);W({bidsWon:[t]},t.renderAuctionId,"bidWon")};te.enableAnalytics=ne,te.originDisableAnalytics=te.disableAnalytics,te.disableAnalytics=function(){te._oldEnable=ne,D=void 0,E=void 0,U=void 0,k=0,_(),(0,g.Yn)("callPrebidCache").getHooks({hook:ie}).remove(),te.originDisableAnalytics()},te.onDataDeletionRequest=function(){if(!b.localStorageIsEnabled())throw Error("Unable to access local storage, no data deleted");b.removeDataFromLocalStorage(m)},te.MODULE_INITIALIZED_TIME=Date.now(),te.referrerHostname="";const re=(e,t)=>{const n=(0,r.A)(q,`auctions.${e.auctionId}.auction`),i=(0,r.A)(n,`adUnits.${e.transactionId}`);let a=i.bids[e.requestId];if(!a&&e.originalRequestId){let t=i.bids[e.originalRequestId];i.bids[e.requestId]={...t,bidId:e.requestId,bidderDetail:e.targetingBidder},a=i.bids[e.requestId]}if("boolean"!=typeof(0,r.A)(n,"floors.enforcement")&&(0,r.A)(e,"floorData.enforcements")&&((0,s.J)(n,"floors.enforcement",e.floorData.enforcements.enforceJS),(0,s.J)(n,"floors.dealsEnforced",e.floorData.enforcements.floorDeals)),!a&&e.seatBidId&&(a=i.bids[e.seatBidId]={bidder:e.bidderCode,source:"server",bidId:e.seatBidId,unknownBid:!0}),!a)return void(0,o.logError)(`${f}: Could not find associated bid request for bid response with requestId: `,e.requestId);a.status=t;const d=se(e,n.auctionStart);a.clientLatencyMillis=d.total,a.httpLatencyMillis=d.net,a.bidResponse=F(e,a.bidResponse);const c=(0==e.pbsBidId?(0,o.generateUUID)():e.pbsBidId)||(0==e.seatBidId?(0,o.generateUUID)():e.seatBidId);c&&!q.bidsCachedClientSide.has(e)&&(a.pbsBidId=c)},se=(e,t)=>{try{const t=e.metrics.getMetrics(),n=e.src||e.source;return{total:parseInt(t[`adapter.${n}.total`]),net:parseInt(Array.isArray(t[`adapter.${n}.net`])?t[`adapter.${n}.net`][t[`adapter.${n}.net`].length-1]:t[`adapter.${n}.net`])}}catch(e){const n=Date.now()-t;return{total:n,net:n}}};te.track=e=>{let{eventType:t,args:n}=e;switch(t){case T:k+=1,q.sessionData=b.localStorageIsEnabled()&&Y(),(e=>{const t=Object.keys(e).filter((t=>"rubicon"===e[t]));y.push(...t)})(d.Ay.aliasRegistry),h=(0,r.A)(n,"bidderRequests.0.refererInfo.page");let e=(0,o.pick)(n,["auctionId","timestamp as auctionStart","timeout as clientTimeoutMillis"]);if(e.accountId=E,e.auctionIndex=k,!A){const e=(0,r.A)(n,"bidderRequests.0.ortb2.device.ua",navigator.userAgent)||"";A=(e=>{let t=e.toLowerCase();return t.includes("edg")?"Edge":/opr|opera|opt/i.test(t)?"Opera":/chrome|crios/i.test(t)?"Chrome":/fxios|firefox/i.test(t)?"Firefox":t.includes("safari")&&!/chromium|ucbrowser/i.test(t)?"Safari":"OTHER"})(e)}e.bidderOrder=n.bidderRequests.map((e=>e.bidderCode));const t=(0,r.A)(n,"bidderRequests.0.bids.0.floorData");if(t&&(e.floors=(e=>"noData"===e.location?(0,o.pick)(e,["location","fetchStatus","floorProvider as provider"]):(0,o.pick)(e,["location","modelVersion as modelName","modelWeight","modelTimestamp","skipped","enforcement",()=>(0,r.A)(e,"enforcements.enforceJS"),"dealsEnforced",()=>(0,r.A)(e,"enforcements.floorDeals"),"skipRate","fetchStatus","floorMin","floorProvider as provider"]))(t)),!U){const t=(0,r.A)(n,"bidderRequests.0.ortb2.device.ext.cdep");!t||-1===t.indexOf("treatment")&&-1===t.indexOf("control_2")||(U=1,e.cdep=1)}const i=(0,r.A)(n,"bidderRequests.0.gdprConsent");i&&(e.gdpr=(0,o.pick)(i,["gdprApplies as applies","consentString","apiVersion as version"]));const a=Object.keys((0,r.A)(n,"bidderRequests.0.bids.0.userId",{})).map((e=>({provider:e,hasId:!0})));a.length&&(e.user={ids:a}),P&&(e.serverTimeoutMillis=P.timeout);let l={};e.adUnits=n.adUnits.reduce(((e,t)=>{let n=(0,o.pick)(t,["code as adUnitCode","transactionId","mediaTypes",e=>Object.keys(e),"sizes as dimensions",e=>(e||[[1,1]]).map(Z)]);n.pbAdSlot=(0,r.A)(t,"ortb2Imp.ext.data.pbadslot"),n.pattern=(0,r.A)(t,"ortb2Imp.ext.data.aupname"),n.gpid=(0,r.A)(t,"ortb2Imp.ext.gpid"),n.bids={},e[t.transactionId]=n,l[t.transactionId]=!1;const i=(0,r.A)(t,"ortb2Imp.ext.data.elementid");if(i){q.elementIdMap[t.code]=q.elementIdMap[t.code]||[];("string"==typeof i?[i]:i).forEach((e=>{q.elementIdMap[t.code].includes(e)||q.elementIdMap[t.code].push(e)}))}return e}),{}),q.auctions[n.auctionId]={auction:e,gamRenders:l,pendingEvents:{}};break;case C:n.bids.forEach((e=>{const t=(0,r.A)(q,`auctions.${n.auctionId}.auction.adUnits.${e.transactionId}`);t.bids[e.bidId]=(0,o.pick)(e,["bidder","bidId","source",()=>"s2s"===e.src?"server":"client","status",()=>"no-bid"]),"server"===t.bids[e.bidId].source&&(t.pbsRequest=1),t.siteId&&t.zoneId||-1===y.indexOf(e.bidder)||(0,r.A)(e,"params.accountId")==E&&(t.accountId=parseInt(E),t.siteId=parseInt((0,r.A)(e,"params.siteId")),t.zoneId=parseInt((0,r.A)(e,"params.zoneId")))}));break;case O:re(n,"success");break;case N:const u=n.rejectionReason===c.Tf.FLOOR_NOT_MET?"rejected-ipf":"rejected";re(n,u);break;case j:ae(n);break;case S:const p=(0,r.A)(n,"serverErrors.0"),I=n.serverResponseTimeMs;n.bids.forEach((e=>{let t=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}.bids.${e.bidId}`);if(void 0!==e.serverResponseTimeMs?t.serverLatencyMillis=e.serverResponseTimeMs:I&&"s2s"===e.source&&(t.serverLatencyMillis=I),!p||t.status&&-1===["no-bid","error"].indexOf(t.status)||(t.status="error",t.error={code:v[p.code]||v[999],description:p.message}),!t.clientLatencyMillis||!t.httpLatencyMillis){const i=se(e,(0,r.A)(q,`auctions.${n.auctionId}.auction.auctionStart`));t.clientLatencyMillis=t.clientLatencyMillis||i.total,t.httpLatencyMillis=t.httpLatencyMillis||i.net}}));break;case B:L.analyticsProcessDelay>0?setTimeout((()=>{oe(n)}),L.analyticsProcessDelay):oe(n);break;case w:let g=q.auctions[n.auctionId];if(!g)break;g.auction.auctionEnd=n.auctionEnd,q.auctionOrder.push(n.auctionId);n.adUnits&&n.adUnits.every((e=>(e=>e.mediaTypes&&1===Object.keys(e.mediaTypes).length&&"instream"===(0,r.A)(e,"mediaTypes.video.context"))(e)))||0===L.analyticsBatchTimeout?H(n.auctionId,"solo-auction"):q.timeouts[n.auctionId]=setTimeout((()=>{H(n.auctionId,"auctionEnd")}),L.analyticsBatchTimeout);break;case R:n.forEach((e=>{let t=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}.bids.${e.bidId}`,{});"error"!==t.status&&(t.status="error",t.error={code:"timeout-error",description:"prebid.js timeout"})}));break;case M:if(L.dmBilling.enabled&&(e=>{const t=L.dmBilling.vendors.includes(e.vendor),n="boolean"!=typeof(0,r.A)(q.billing,`${e.vendor}.${e.billingId}`);return"string"==typeof e.billingId&&t&&n})(n)){(0,s.J)(q.billing,`${n.vendor}.${n.billingId}`,!1);const e=(e=>{let t=(0,o.deepClone)(e);return t.type="string"==typeof e.type&&e.type||"general",t.accountId=E,(0,s.J)(q.billing,`${e.vendor}.${e.billingId}`,!0),t})(n);W({billableEvents:[e]},n.auctionId,"billing")}else(0,o.logInfo)(`${f}: Billing event ignored`,n)}};const ae=function(e){const{seatnonbid:t,auctionId:n}=e,i=(0,r.A)(q,`auctions.${n}.auction`);if(!i)return void(0,o.logWarn)("Unable to match nonbid to auction");const s=i.adUnits;t.forEach((e=>{let{seat:t}=e;e.nonbid.forEach((e=>{try{const{status:n,impid:r}=e,a=Object.keys(s).find((e=>s[e].adUnitCode===r)),d=s[a],c=de[n]||{status:"no-bid"};d.bids[(0,o.generateUUID)()]={bidder:t,source:"server",isSeatNonBid:!0,clientLatencyMillis:Date.now()-i.auctionStart,...c}}catch(e){(0,o.logWarn)("Unable to match nonbid to adUnit")}}))}))},de={0:{status:"no-bid"},100:{status:"error",error:{code:"request-error",description:"general error"}},101:{status:"error",error:{code:"timeout-error",description:"prebid server timeout"}},200:{status:"rejected"},202:{status:"rejected"},301:{status:"rejected-ipf"}};d.Ay.registerAnalyticsAdapter({adapter:te,code:"magnite",gvlid:52});(0,i.E)("magniteAnalyticsAdapter")}},e=>{e.O(0,[2630,60802,51085],(()=>{return t=26637,e(e.s=t);var t}));e.O()}]);
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[28763],{26637:(e,t,n)=>{var i=n(7873),o=n(91069),r=n(70433),s=n(63172),a=n(88910),d=n(11445),c=n(78969),l=n(68044),u=n(43272),p=n(12938),I=n(45569),g=n(16833);const b=(0,p.vM)({moduleType:I.Tn,moduleName:"magnite"}),m="mgniSession",f="Magnite Analytics";let y=["rubicon"];const v={1:"timeout-error",2:"input-error",3:"connect-error",4:"request-error",999:"generic-error"};let A,h,E,D,U,k=0,$=(0,i.m)();const{AUCTION_INIT:T,AUCTION_END:w,BID_REQUESTED:C,BID_RESPONSE:O,BIDDER_DONE:S,BID_TIMEOUT:R,BID_WON:B,BILLABLE_EVENT:M,SEAT_NON_BID:j,BID_REJECTED:N}=c.qY;let L,q;const _=()=>{q={auctions:{},auctionOrder:[],timeouts:{},billing:{},pendingEvents:{},eventPending:!1,elementIdMap:{},sessionData:{},bidsCachedClientSide:new WeakSet},L={pvid:(0,o.generateUUID)().slice(0,8),analyticsEventDelay:500,analyticsBatchTimeout:5e3,analyticsProcessDelay:1,dmBilling:{enabled:!1,vendors:[],waitForAuction:!0}}};let P;_(),u.$W.getConfig("rubicon",(e=>{(0,o.mergeDeep)(L,e.rubicon),!0===(0,r.A)(e,"rubicon.updatePageView")&&(L.pvid=(0,o.generateUUID)().slice(0,8))})),u.$W.getConfig("s2sConfig",(e=>{let{s2sConfig:t}=e;P=t}));const x=()=>{q.pendingEvents.trigger=`batched-${Object.keys(q.pendingEvents).sort().join("-")}`,J(q.pendingEvents),q.pendingEvents={},q.eventPending=!1},W=(e,t,n)=>{q.auctions[t]&&!q.auctions[t].sent?q.auctions[t].pendingEvents=(0,o.mergeDeep)(q.auctions[t].pendingEvents,e):L.analyticsEventDelay>0?(q.pendingEvents=(0,o.mergeDeep)(q.pendingEvents,e),q.eventPending||(setTimeout(x,L.analyticsEventDelay),q.eventPending=!0)):(e.trigger=`solo-${n}`,J(e))},J=e=>{const t={...z(),...e};if(window.pbjs?.rp?.eventDispatcher){const e=new CustomEvent("beforeSendingMagniteAnalytics",{detail:t});window.pbjs.rp.eventDispatcher.dispatchEvent(e)}(0,l.RD)(D,null,JSON.stringify(t),{contentType:"application/json"})},H=(e,t)=>{let n=q.auctions[e];const i=V(n.auction);n.sent=!0,J({auctions:[i],...n.pendingEvents||{},trigger:t})},V=e=>{const t=(0,o.deepClone)(e);return t.samplingFactor=1,t.adUnits=Object.entries(t.adUnits).map((e=>{let[t,n]=e;return n.bids=Object.entries(n.bids).map((e=>{let[t,i]=e,o=["error","no-bid","success"];return o.indexOf(i.status)>o.indexOf(n.status)&&(n.status=i.status),i.pbsBidId&&(i.oldBidId=i.bidId,i.bidId=i.pbsBidId,delete i.pbsBidId),i})),n})),t},F=(e,t)=>{let n=(e=>{let t,n;if("number"==typeof(0,r.A)(e,"floorData.cpmAfterAdjustments"))t=e.floorData.cpmAfterAdjustments,n=e.floorData.floorCurrency;else{if("string"==typeof e.currency&&"USD"===e.currency.toUpperCase())return Number(e.cpm);t=e.cpm,n=e.currency}if("USD"===n)return Number(t);try{return Number($.convertCurrency(t,n,"USD"))}catch(i){return(0,o.logWarn)(`${f}: Could not determine the bidPriceUSD of the bid `,e),e.conversionError=!0,e.ogCurrency=n,e.ogPrice=t,0}})(e);return t&&t.bidPriceUSD>n?t:(0,o.pick)(e,["bidPriceUSD",()=>n,"dealId",e=>e||void 0,"mediaType","dimensions",()=>{const t=e.width||e.playerWidth,n=e.height||e.playerHeight;return t&&n?{width:t,height:n}:void 0},"floorValue",()=>(0,r.A)(e,"floorData.floorValue"),"floorRuleValue",()=>(0,r.A)(e,"floorData.floorRuleValue"),"floorRule",()=>(0,o.debugTurnedOn)()?(0,r.A)(e,"floorData.floorRule"):void 0,"adomains",()=>{const t=(0,r.A)(e,"meta.advertiserDomains"),n=Array.isArray(t)&&t.filter((e=>"string"==typeof e));return n&&n.length>0?n.slice(0,10):void 0},"networkId",()=>{const t=(0,r.A)(e,"meta.networkId");return t&&t.toString()||void 0},"conversionError",e=>!0===e||void 0,"ogCurrency","ogPrice","rejectionReason"])},z=()=>{let e={channel:"web",integration:L.int_type||"pbjs",referrerUri:h,version:"9.3.0",referrerHostname:te.referrerHostname||G(h),timestamps:{timeSincePageLoad:performance.now(),eventTime:Date.now(),prebidLoaded:te.MODULE_INITIALIZED_TIME}};if(A&&(0,s.J)(e,L.pbaBrowserLocation||"client.browser",A),L.wrapperName){let t=L.rule_name;U&&(t=t?t.concat("_cookieless"):"cookieless"),e.wrapper={name:L.wrapperName,family:L.wrapperFamily,rule:t}}return q.sessionData&&(e.session=(0,o.pick)(q.sessionData,["id","pvid","start","expires"]),(0,o.isEmpty)(q.sessionData.fpkvs)||(e.fpkvs=Object.keys(q.sessionData.fpkvs).map((e=>({key:e,value:q.sessionData.fpkvs[e]}))))),e},G=e=>{try{te.referrerHostname=(0,o.parseUrl)(e,{noDecodeWholeURL:!0}).hostname}catch(t){(0,o.logError)(`${f}: Unable to parse hostname from supplied url: `,e,t),te.referrerHostname=""}return te.referrerHostname},Y=()=>{const e=Date.now();let t=(()=>{let e=b.getDataFromLocalStorage(m);if(e)try{return JSON.parse(window.atob(e))}catch(e){(0,o.logError)(`${f}: Unable to decode ${m} value: `,e)}return{}})();return(!Object.keys(t).length||e-t.lastSeen>18e5||t.expires<e)&&(t={id:(0,o.generateUUID)(),start:e,expires:e+216e5}),Object.keys(t).length&&(t.lastSeen=e,t.fpkvs={...t.fpkvs,...Q()},t.pvid=L.pvid,(e=>{try{b.setDataInLocalStorage(m,window.btoa(JSON.stringify(e)))}catch(e){(0,o.logError)(`${f}: Unable to encode ${m} value: `,e)}})(t)),t},Q=()=>(L.fpkvs=Object.assign(L.fpkvs||{},(()=>{let e;try{e=(0,o.parseQS)((0,o.getWindowLocation)().search)}catch(t){e={}}return Object.keys(e).reduce(((t,n)=>(n.match(/utm_/)&&(t[n.replace(/utm_/,"")]=e[n]),t)),{})})()),Object.keys(L.fpkvs).forEach((e=>{L.fpkvs[e]=L.fpkvs[e]+""})),L.fpkvs),Z=e=>({width:e.w||e[0],height:e.h||e[1]}),K=(e,t)=>{let n={};for(const i of q.auctionOrder){const r=q.auctions[i].auction;for(const i in r.adUnits){const s=r.adUnits[i];let a;try{a=e(s,r)}catch(e){(0,o.logWarn)(`${f}: Error running matches function: ${t}`,e),a=!1}if(a&&(n={adUnit:s,auction:r},t))return n}}return n},X=e=>{const{renderTransactionId:t,renderAuctionId:n}=(e=>{if(!u.$W.getConfig("useBidCache"))return{renderTransactionId:e.transactionId,renderAuctionId:e.auctionId};let{adUnit:t,auction:n}=K(((t,n)=>{const i=(0,r.A)(q,`auctions.${n.auctionId}.gamRenders.${t.transactionId}`);return t.adUnitCode===e.adUnitCode&&i}),!1);return{renderTransactionId:t&&t.transactionId||e.transactionId,renderAuctionId:n&&n.auctionId||e.auctionId}})(e),i=t!==e.transactionId;(0,o.logInfo)(`${f}: Bid Won : `,{isCachedBid:i,renderAuctionId:n,renderTransactionId:t,sourceAuctionId:e.auctionId,sourceTransactionId:e.transactionId});let s=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}.bids.${e.requestId}`),a=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}`),d={...s,sourceAuctionId:e.auctionId,renderAuctionId:n,transactionId:e.transactionId,sourceTransactionId:e.transactionId,bidId:s.pbsBidId||e.bidId||e.requestId,renderTransactionId:t,accountId:E,siteId:a.siteId,zoneId:a.zoneId,mediaTypes:a.mediaTypes,adUnitCode:a.adUnitCode,isCachedBid:i||void 0};return delete d.pbsBidId,d},ee=()=>{window.googletag.pubads().addEventListener("slotRenderEnded",(e=>{const t=(0,o.isAdUnitCodeMatchingSlot)(e.slot);let{adUnit:n,auction:i}=K(((e,n)=>{const i=(q.elementIdMap[e.adUnitCode]||[e.adUnitCode]).some(t),o=(0,r.A)(q,`auctions.${n.auctionId}.gamRenders.${e.transactionId}`);return i&&!o}),!0);const a=`${e.slot.getAdUnitPath()} - ${e.slot.getSlotElementId()}`;if(!n||!i)return void(0,o.logInfo)(`${f}: Could not find matching adUnit for Gam Render: `,{slotName:a});const d=i.auctionId;(0,o.logInfo)(`${f}: Gam Render: `,{slotName:a,transactionId:n.transactionId,auctionId:d,adUnit:n});const c=((e,t,n)=>{const i=(0,o.pick)(e,["advertiserId",e=>(0,o.isNumber)(e)?e:void 0,"creativeId",t=>(0,o.isNumber)(e.sourceAgnosticCreativeId)?e.sourceAgnosticCreativeId:(0,o.isNumber)(t)?t:void 0,"lineItemId",t=>(0,o.isNumber)(e.sourceAgnosticLineItemId)?e.sourceAgnosticLineItemId:(0,o.isNumber)(t)?t:void 0,"adSlot",()=>e.slot.getAdUnitPath(),"isSlotEmpty",()=>e.isEmpty||void 0]);return i.auctionId=n.auctionId,i.transactionId=t.transactionId,i})(e,n,i);(0,s.J)(q,`auctions.${d}.gamRenders.${n.transactionId}`,!0),W({gamRenders:[c]},d,"gam"),!q.auctions[d].sent&&Object.keys(q.auctions[d].gamRenders).every((e=>q.auctions[d].gamRenders[e]))&&(clearTimeout(q.timeouts[d]),delete q.timeouts[d],L.analyticsEventDelay>0?setTimeout((()=>{H(d,"gam-delayed")}),L.analyticsEventDelay):H(d,"gam"))}))};let te=(0,a.Ay)({analyticsType:"endpoint"});function ne(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;D=(0,r.A)(e,"options.endpoint"),D||((0,o.logError)(`${f}: required endpoint missing`),t=!0),E=Number((0,r.A)(e,"options.accountId")),E||((0,o.logError)(`${f}: required accountId missing`),t=!0),t||te.originEnableAnalytics(e),(0,o.isGptPubadsDefined)()?ee():(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((()=>ee()))),(0,g.Yn)("callPrebidCache").before(ie)}function ie(e,t,n,i,o){q.bidsCachedClientSide.add(n),e.call(this,t,n,i,o)}te.originEnableAnalytics=te.enableAnalytics;const oe=e=>{const t=X(e);W({bidsWon:[t]},t.renderAuctionId,"bidWon")};te.enableAnalytics=ne,te.originDisableAnalytics=te.disableAnalytics,te.disableAnalytics=function(){te._oldEnable=ne,D=void 0,E=void 0,U=void 0,k=0,_(),(0,g.Yn)("callPrebidCache").getHooks({hook:ie}).remove(),te.originDisableAnalytics()},te.onDataDeletionRequest=function(){if(!b.localStorageIsEnabled())throw Error("Unable to access local storage, no data deleted");b.removeDataFromLocalStorage(m)},te.MODULE_INITIALIZED_TIME=Date.now(),te.referrerHostname="";const re=(e,t)=>{const n=(0,r.A)(q,`auctions.${e.auctionId}.auction`),i=(0,r.A)(n,`adUnits.${e.transactionId}`);let a=i.bids[e.requestId];if(!a&&e.originalRequestId){let t=i.bids[e.originalRequestId];i.bids[e.requestId]={...t,bidId:e.requestId,bidderDetail:e.targetingBidder},a=i.bids[e.requestId]}if("boolean"!=typeof(0,r.A)(n,"floors.enforcement")&&(0,r.A)(e,"floorData.enforcements")&&((0,s.J)(n,"floors.enforcement",e.floorData.enforcements.enforceJS),(0,s.J)(n,"floors.dealsEnforced",e.floorData.enforcements.floorDeals)),!a&&e.seatBidId&&(a=i.bids[e.seatBidId]={bidder:e.bidderCode,source:"server",bidId:e.seatBidId,unknownBid:!0}),!a)return void(0,o.logError)(`${f}: Could not find associated bid request for bid response with requestId: `,e.requestId);a.status=t;const d=se(e,n.auctionStart);a.clientLatencyMillis=d.total,a.httpLatencyMillis=d.net,a.bidResponse=F(e,a.bidResponse);const c=(0==e.pbsBidId?(0,o.generateUUID)():e.pbsBidId)||(0==e.seatBidId?(0,o.generateUUID)():e.seatBidId);c&&!q.bidsCachedClientSide.has(e)&&(a.pbsBidId=c)},se=(e,t)=>{try{const t=e.metrics.getMetrics(),n=e.src||e.source;return{total:parseInt(t[`adapter.${n}.total`]),net:parseInt(Array.isArray(t[`adapter.${n}.net`])?t[`adapter.${n}.net`][t[`adapter.${n}.net`].length-1]:t[`adapter.${n}.net`])}}catch(e){const n=Date.now()-t;return{total:n,net:n}}};te.track=e=>{let{eventType:t,args:n}=e;switch(t){case T:k+=1,q.sessionData=b.localStorageIsEnabled()&&Y(),(e=>{const t=Object.keys(e).filter((t=>"rubicon"===e[t]));y.push(...t)})(d.Ay.aliasRegistry),h=(0,r.A)(n,"bidderRequests.0.refererInfo.page");let e=(0,o.pick)(n,["auctionId","timestamp as auctionStart","timeout as clientTimeoutMillis"]);if(e.accountId=E,e.auctionIndex=k,!A){const e=(0,r.A)(n,"bidderRequests.0.ortb2.device.ua",navigator.userAgent)||"";A=(e=>{let t=e.toLowerCase();return t.includes("edg")?"Edge":/opr|opera|opt/i.test(t)?"Opera":/chrome|crios/i.test(t)?"Chrome":/fxios|firefox/i.test(t)?"Firefox":t.includes("safari")&&!/chromium|ucbrowser/i.test(t)?"Safari":"OTHER"})(e)}e.bidderOrder=n.bidderRequests.map((e=>e.bidderCode));const t=(0,r.A)(n,"bidderRequests.0.bids.0.floorData");if(t&&(e.floors=(e=>"noData"===e.location?(0,o.pick)(e,["location","fetchStatus","floorProvider as provider"]):(0,o.pick)(e,["location","modelVersion as modelName","modelWeight","modelTimestamp","skipped","enforcement",()=>(0,r.A)(e,"enforcements.enforceJS"),"dealsEnforced",()=>(0,r.A)(e,"enforcements.floorDeals"),"skipRate","fetchStatus","floorMin","floorProvider as provider"]))(t)),!U){const t=(0,r.A)(n,"bidderRequests.0.ortb2.device.ext.cdep");!t||-1===t.indexOf("treatment")&&-1===t.indexOf("control_2")||(U=1,e.cdep=1)}const i=(0,r.A)(n,"bidderRequests.0.gdprConsent");i&&(e.gdpr=(0,o.pick)(i,["gdprApplies as applies","consentString","apiVersion as version"]));const a=Object.keys((0,r.A)(n,"bidderRequests.0.bids.0.userId",{})).map((e=>({provider:e,hasId:!0})));a.length&&(e.user={ids:a}),P&&(e.serverTimeoutMillis=P.timeout);let l={};e.adUnits=n.adUnits.reduce(((e,t)=>{let n=(0,o.pick)(t,["code as adUnitCode","transactionId","mediaTypes",e=>Object.keys(e),"sizes as dimensions",e=>(e||[[1,1]]).map(Z)]);n.pbAdSlot=(0,r.A)(t,"ortb2Imp.ext.data.pbadslot"),n.pattern=(0,r.A)(t,"ortb2Imp.ext.data.aupname"),n.gpid=(0,r.A)(t,"ortb2Imp.ext.gpid"),n.bids={},e[t.transactionId]=n,l[t.transactionId]=!1;const i=(0,r.A)(t,"ortb2Imp.ext.data.elementid");if(i){q.elementIdMap[t.code]=q.elementIdMap[t.code]||[];("string"==typeof i?[i]:i).forEach((e=>{q.elementIdMap[t.code].includes(e)||q.elementIdMap[t.code].push(e)}))}return e}),{}),q.auctions[n.auctionId]={auction:e,gamRenders:l,pendingEvents:{}};break;case C:n.bids.forEach((e=>{const t=(0,r.A)(q,`auctions.${n.auctionId}.auction.adUnits.${e.transactionId}`);t.bids[e.bidId]=(0,o.pick)(e,["bidder","bidId","source",()=>"s2s"===e.src?"server":"client","status",()=>"no-bid"]),"server"===t.bids[e.bidId].source&&(t.pbsRequest=1),t.siteId&&t.zoneId||-1===y.indexOf(e.bidder)||(0,r.A)(e,"params.accountId")==E&&(t.accountId=parseInt(E),t.siteId=parseInt((0,r.A)(e,"params.siteId")),t.zoneId=parseInt((0,r.A)(e,"params.zoneId")))}));break;case O:re(n,"success");break;case N:const u=n.rejectionReason===c.Tf.FLOOR_NOT_MET?"rejected-ipf":"rejected";re(n,u);break;case j:ae(n);break;case S:const p=(0,r.A)(n,"serverErrors.0"),I=n.serverResponseTimeMs;n.bids.forEach((e=>{let t=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}.bids.${e.bidId}`);if(void 0!==e.serverResponseTimeMs?t.serverLatencyMillis=e.serverResponseTimeMs:I&&"s2s"===e.source&&(t.serverLatencyMillis=I),!p||t.status&&-1===["no-bid","error"].indexOf(t.status)||(t.status="error",t.error={code:v[p.code]||v[999],description:p.message}),!t.clientLatencyMillis||!t.httpLatencyMillis){const i=se(e,(0,r.A)(q,`auctions.${n.auctionId}.auction.auctionStart`));t.clientLatencyMillis=t.clientLatencyMillis||i.total,t.httpLatencyMillis=t.httpLatencyMillis||i.net}}));break;case B:L.analyticsProcessDelay>0?setTimeout((()=>{oe(n)}),L.analyticsProcessDelay):oe(n);break;case w:let g=q.auctions[n.auctionId];if(!g)break;g.auction.auctionEnd=n.auctionEnd,q.auctionOrder.push(n.auctionId);n.adUnits&&n.adUnits.every((e=>(e=>e.mediaTypes&&1===Object.keys(e.mediaTypes).length&&"instream"===(0,r.A)(e,"mediaTypes.video.context"))(e)))||0===L.analyticsBatchTimeout?H(n.auctionId,"solo-auction"):q.timeouts[n.auctionId]=setTimeout((()=>{H(n.auctionId,"auctionEnd")}),L.analyticsBatchTimeout);break;case R:n.forEach((e=>{let t=(0,r.A)(q,`auctions.${e.auctionId}.auction.adUnits.${e.transactionId}.bids.${e.bidId}`,{});"error"!==t.status&&(t.status="error",t.error={code:"timeout-error",description:"prebid.js timeout"})}));break;case M:if(L.dmBilling.enabled&&(e=>{const t=L.dmBilling.vendors.includes(e.vendor),n="boolean"!=typeof(0,r.A)(q.billing,`${e.vendor}.${e.billingId}`);return"string"==typeof e.billingId&&t&&n})(n)){(0,s.J)(q.billing,`${n.vendor}.${n.billingId}`,!1);const e=(e=>{let t=(0,o.deepClone)(e);return t.type="string"==typeof e.type&&e.type||"general",t.accountId=E,(0,s.J)(q.billing,`${e.vendor}.${e.billingId}`,!0),t})(n);W({billableEvents:[e]},n.auctionId,"billing")}else(0,o.logInfo)(`${f}: Billing event ignored`,n)}};const ae=function(e){const{seatnonbid:t,auctionId:n}=e,i=(0,r.A)(q,`auctions.${n}.auction`);if(!i)return void(0,o.logWarn)("Unable to match nonbid to auction");const s=i.adUnits;t.forEach((e=>{let{seat:t}=e;e.nonbid.forEach((e=>{try{const{status:n,impid:r}=e,a=Object.keys(s).find((e=>s[e].adUnitCode===r)),d=s[a],c=de[n]||{status:"no-bid"};d.bids[(0,o.generateUUID)()]={bidder:t,source:"server",isSeatNonBid:!0,clientLatencyMillis:Date.now()-i.auctionStart,...c}}catch(e){(0,o.logWarn)("Unable to match nonbid to adUnit")}}))}))},de={0:{status:"no-bid"},100:{status:"error",error:{code:"request-error",description:"general error"}},101:{status:"error",error:{code:"timeout-error",description:"prebid server timeout"}},200:{status:"rejected"},202:{status:"rejected"},301:{status:"rejected-ipf"}};d.Ay.registerAnalyticsAdapter({adapter:te,code:"magnite",gvlid:52});(0,i.E)("magniteAnalyticsAdapter")}},e=>{e.O(0,[2630,60802,51085],(()=>{return t=26637,e(e.s=t);var t}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[37402],{42580:(e,t,i)=>{var n=i(7873),s=i(68044),o=i(88910),r=i(78969),a=i(11445),c=i(91069);const d="https://central.mall.tv/analytics",{AUCTION_END:p,BID_TIMEOUT:u}=r.qY,l=1,h=2,g=3,y=4,m=function(e){return"EUR"!==e.currency&&"function"==typeof e.getCpmInNewCurrency?e.getCpmInNewCurrency("EUR"):e.cpm},C={},A=function(e){return(e.bidderCode||e.bidder).toLowerCase()},E=function(e){return e.adUnitCode.toLowerCase()},f=Object.assign((0,o.Ay)({DEFAULT_SERVER:d,analyticsType:"endpoint"}),{cachedAuctions:{},initConfig:e=>(C.options=(0,c.deepClone)(e.options),"string"!=typeof e.options.propertyId||e.options.propertyId.length<1?((0,c.logError)('"options.propertyId" is required.'),!1):(C.propertyId=e.options.propertyId,C.server=e.options.server||d,!0)),track(e){let{eventType:t,args:i}=e;switch(t){case u:this.handleBidTimeout(i);break;case p:this.handleAuctionEnd(i)}},handleBidTimeout(e){e.forEach((e=>{this.getCachedAuction(e.auctionId).timeoutBids.push(e)}))},handleAuctionEnd(e){const t=this.getCachedAuction(e.auctionId),i=(0,n.m)().getHighestCpmBids();this.sendEventMessage("end",this.createBidMessage(e,i,t.timeoutBids))},createBidMessage(e,t,i){const{auctionId:n,timestamp:s,timeout:o,auctionEnd:r,adUnitCodes:a,bidsReceived:c,noBids:d}=e,p=this.createCommonMessage(n);return p.auctionElapsed=r-s,p.timeout=o,a.forEach((e=>{p.adUnits[e]={}})),d.forEach((e=>this.addBidResponseToMessage(p,e,h))),c.forEach((e=>this.addBidResponseToMessage(p,e,l))),i.forEach((e=>this.addBidResponseToMessage(p,e,y))),t.forEach((e=>{const t=E(e),i=A(e);p.adUnits[t][i].prebidWon=!0})),p},createCommonMessage:e=>({analyticsVersion:"1.0.0",auctionId:e,propertyId:C.propertyId,referrer:window.location.href,prebidVersion:"9.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[37402],{42580:(e,t,i)=>{var n=i(7873),s=i(68044),o=i(88910),r=i(78969),a=i(11445),c=i(91069);const d="https://central.mall.tv/analytics",{AUCTION_END:p,BID_TIMEOUT:u}=r.qY,l=1,h=2,g=3,y=4,m=function(e){return"EUR"!==e.currency&&"function"==typeof e.getCpmInNewCurrency?e.getCpmInNewCurrency("EUR"):e.cpm},C={},A=function(e){return(e.bidderCode||e.bidder).toLowerCase()},E=function(e){return e.adUnitCode.toLowerCase()},f=Object.assign((0,o.Ay)({DEFAULT_SERVER:d,analyticsType:"endpoint"}),{cachedAuctions:{},initConfig:e=>(C.options=(0,c.deepClone)(e.options),"string"!=typeof e.options.propertyId||e.options.propertyId.length<1?((0,c.logError)('"options.propertyId" is required.'),!1):(C.propertyId=e.options.propertyId,C.server=e.options.server||d,!0)),track(e){let{eventType:t,args:i}=e;switch(t){case u:this.handleBidTimeout(i);break;case p:this.handleAuctionEnd(i)}},handleBidTimeout(e){e.forEach((e=>{this.getCachedAuction(e.auctionId).timeoutBids.push(e)}))},handleAuctionEnd(e){const t=this.getCachedAuction(e.auctionId),i=(0,n.m)().getHighestCpmBids();this.sendEventMessage("end",this.createBidMessage(e,i,t.timeoutBids))},createBidMessage(e,t,i){const{auctionId:n,timestamp:s,timeout:o,auctionEnd:r,adUnitCodes:a,bidsReceived:c,noBids:d}=e,p=this.createCommonMessage(n);return p.auctionElapsed=r-s,p.timeout=o,a.forEach((e=>{p.adUnits[e]={}})),d.forEach((e=>this.addBidResponseToMessage(p,e,h))),c.forEach((e=>this.addBidResponseToMessage(p,e,l))),i.forEach((e=>this.addBidResponseToMessage(p,e,y))),t.forEach((e=>{const t=E(e),i=A(e);p.adUnits[t][i].prebidWon=!0})),p},createCommonMessage:e=>({analyticsVersion:"1.0.0",auctionId:e,propertyId:C.propertyId,referrer:window.location.href,prebidVersion:"9.3.0",adUnits:{}}),addBidResponseToMessage(e,t,i){const n=E(t);e.adUnits[n]=e.adUnits[n]||{};const s=A(t),o=this.serializeBidResponse(t,i);e.adUnits[n][s]=o},serializeBidResponse(e,t){const i={prebidWon:t===g,isTimeout:t===y,status:t};return t!==l&&t!==g||Object.assign(i,{time:e.timeToRespond,cpm:e.cpm,currency:e.currency,originalCpm:e.originalCpm||e.cpm,cpmEur:m(e),originalCurrency:e.originalCurrency||e.currency,vastUrl:e.vastUrl}),i},sendEventMessage(e,t){(0,c.logInfo)(`AJAX: ${e}: `+JSON.stringify(t)),(0,s.RD)(`${C.server}/${e}`,null,JSON.stringify(t),{contentType:"application/json"})},getCachedAuction(e){return this.cachedAuctions[e]=this.cachedAuctions[e]||{timeoutBids:[]},this.cachedAuctions[e]},getAnalyticsOptions:()=>C});f.originEnableAnalytics=f.enableAnalytics,f.enableAnalytics=function(e){this.initConfig(e)&&f.originEnableAnalytics(e)},a.Ay.registerAnalyticsAdapter({adapter:f,code:"malltv"}),(0,n.E)("malltvAnalyticsAdapter")}},e=>{e.O(0,[2630,60802,51085],(()=>{return t=42580,e(e.s=t);var t}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[4890],{10958:(e,t,i)=>{var n=i(7873),r=i(70433),o=i(91069),a=i(63172),s=i(57377),d=i(71371),p=i(43272);const l=new function(){this.code="marsmedia",this.aliases=["mars"],this.supportedMediaTypes=[d.G_,d.D4];let e=[2,3,5,6],t=["video/mp4"],i=[1,2,3,4],n=[1],s=[1,2,5],l={};function h(e,t){var i=[],n=0;if(t&&t.refererInfo&&t.refererInfo.stack.length){var o=document.createElement("a");o.href=t.refererInfo.stack[0],n="https:"==o.protocol?1:0}for(var a=0;a<e.length;a++){l[e[a].adUnitCode]=e[a];var s={};if(s.id=e[a].adUnitCode,s.secure=n,(0,r.A)(e[a],"mediaTypes.banner")||"banner"===(0,r.A)(e[a],"mediaType")){let t=f(e[a]);t&&(s.banner=t)}((0,r.A)(e[a],"mediaTypes.video")||"video"===(0,r.A)(e[a],"mediaType"))&&(s.video=c(e[a])),(s.banner||s.video)&&(s.bidfloor=v(e[a]),s.ext=g(e[a]),i.push(s))}return i}function u(e){var t={domain:"",page:"",ref:""};if(e&&e.refererInfo){var i=e.refererInfo;if(t.ref=i.ref,i.stack.length){t.page=i.stack[i.stack.length-1];var n=document.createElement("a");n.href=i.stack[0],t.domain=n.hostname}}return t}function m(e){let t=parseInt(e[0]),i=parseInt(e[1]);return t==t&&i==i&&[t,i]}function f(e){var t=e.sizes;e.mediaTypes&&e.mediaTypes.banner&&(t=e.mediaTypes.banner.sizes);var i=(0,o.parseSizesInput)(t),n=[];return i.forEach((function(e){if(e){var t=m(e.split("x"));t&&n.push({w:t[0],h:t[1]})}})),!!n.length&&{format:n}}function c(a){var d=[];if((0,r.A)(a,"mediaTypes.video.playerSize")){var p=a.mediaTypes.video.playerSize;(0,o.isArray)(a.mediaTypes.video.playerSize[0])&&(p=a.mediaTypes.video.playerSize[0]);var l=m(p);l&&(d=l)}return{mimes:(0,r.A)(a,"mediaTypes.video.mimes")||t,protocols:(0,r.A)(a,"mediaTypes.video.protocols")||e,w:d[0],h:d[1],startdelay:(0,r.A)(a,"mediaTypes.video.startdelay")||0,skip:(0,r.A)(a,"mediaTypes.video.skip")||0,playbackmethod:(0,r.A)(a,"mediaTypes.video.playbackmethod")||i,delivery:(0,r.A)(a,"mediaTypes.video.delivery")||n,api:(0,r.A)(a,"mediaTypes.video.api")||s}}function g(e){if(e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes){let t=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes||e.sizes;t=(0,o.isArray)(t)&&(0,o.isArray)(t[0])?t:[t],t=t.filter((e=>(0,o.isArray)(e)));const i=t.map((e=>({w:parseInt(e[0],10),h:parseInt(e[1],10)}))),n=document.getElementById(e.adUnitCode),r=i.reduce(((e,t)=>t.h*t.w<e.h*e.w?t:e)),a=function(e){return!function(){try{return(0,o.getWindowSelf)()!==(0,o.getWindowTop)()}catch(e){return!0}}()&&null!==e}(n)?function(e,t){let{w:i,h:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"visible"===t.document.visibilityState?function(e,t){let{w:i,h:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=function(e){let{w:t,h:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{width:n,height:r,left:o,top:a,right:s,bottom:d}=e.getBoundingClientRect();(0===n||0===r)&&t&&i&&(n=t,r=i,s=o+t,d=a+i);return{width:n,height:r,left:o,top:a,right:s,bottom:d}}(e,{w:i,h:n}),o=function(e){const t={left:e[0].left,right:e[0].right,top:e[0].top,bottom:e[0].bottom};for(let i=1;i<e.length;++i){if(t.left=Math.max(t.left,e[i].left),t.right=Math.min(t.right,e[i].right),t.left>=t.right)return null;if(t.top=Math.max(t.top,e[i].top),t.bottom=Math.min(t.bottom,e[i].bottom),t.top>=t.bottom)return null}return t.width=t.right-t.left,t.height=t.bottom-t.top,t}([{left:0,top:0,right:t.innerWidth,bottom:t.innerHeight},r]);let a,s;if(null!==o)return a=o.width*o.height,s=r.width*r.height,a/s*100;return 0}(e,t,{w:i,h:n}):0}(n,(0,o.getWindowTop)(),r):"na",s=isNaN(a)?a:Math.round(a);return{bidder:{zoneId:e.params.zoneId},viewability:s}}return{bidder:{zoneId:e.params.zoneId},viewability:"na"}}function y(e,t){const i=JSON.stringify(e),n=window.btoa(i);(0,o.triggerPixel)("https://ping-hqx-1.go2speed.media/notification/rtb/beacon/?bt="+t+"&bid=3mhdom&hb_j="+n,null)}function v(e){const t=e.mediaTypes.video?"video":"banner";let i=0;if("function"==typeof e.getFloor){const n=e.getFloor({currency:"USD",mediaType:t,size:"*"});"object"!=typeof n||"USD"!==n.currency||isNaN(parseFloat(n.floor))||(i=n.floor)}return i}this.isBidRequestValid=function(e){return!(!e.params||!e.params.zoneId)},this.getUserSyncs=function(e,t,i){return[]},this.buildRequests=function(e,t){let i=function(e,t){for(let i=0;i<t.length;i++)if(t[i].params&&t[i].params[e])return t[i].params[e]}("zoneId",e);if(void 0===i||e.length<1)return[];var n="https://hb.go2speed.media/bidder/?bid=3mhdom&zoneId="+i,s=/(^v|(\.0)+$)/gi;n+="&hbv="+"9.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[4890],{10958:(e,t,i)=>{var n=i(7873),r=i(70433),o=i(91069),a=i(63172),s=i(57377),d=i(71371),p=i(43272);const l=new function(){this.code="marsmedia",this.aliases=["mars"],this.supportedMediaTypes=[d.G_,d.D4];let e=[2,3,5,6],t=["video/mp4"],i=[1,2,3,4],n=[1],s=[1,2,5],l={};function h(e,t){var i=[],n=0;if(t&&t.refererInfo&&t.refererInfo.stack.length){var o=document.createElement("a");o.href=t.refererInfo.stack[0],n="https:"==o.protocol?1:0}for(var a=0;a<e.length;a++){l[e[a].adUnitCode]=e[a];var s={};if(s.id=e[a].adUnitCode,s.secure=n,(0,r.A)(e[a],"mediaTypes.banner")||"banner"===(0,r.A)(e[a],"mediaType")){let t=f(e[a]);t&&(s.banner=t)}((0,r.A)(e[a],"mediaTypes.video")||"video"===(0,r.A)(e[a],"mediaType"))&&(s.video=c(e[a])),(s.banner||s.video)&&(s.bidfloor=v(e[a]),s.ext=g(e[a]),i.push(s))}return i}function u(e){var t={domain:"",page:"",ref:""};if(e&&e.refererInfo){var i=e.refererInfo;if(t.ref=i.ref,i.stack.length){t.page=i.stack[i.stack.length-1];var n=document.createElement("a");n.href=i.stack[0],t.domain=n.hostname}}return t}function m(e){let t=parseInt(e[0]),i=parseInt(e[1]);return t==t&&i==i&&[t,i]}function f(e){var t=e.sizes;e.mediaTypes&&e.mediaTypes.banner&&(t=e.mediaTypes.banner.sizes);var i=(0,o.parseSizesInput)(t),n=[];return i.forEach((function(e){if(e){var t=m(e.split("x"));t&&n.push({w:t[0],h:t[1]})}})),!!n.length&&{format:n}}function c(a){var d=[];if((0,r.A)(a,"mediaTypes.video.playerSize")){var p=a.mediaTypes.video.playerSize;(0,o.isArray)(a.mediaTypes.video.playerSize[0])&&(p=a.mediaTypes.video.playerSize[0]);var l=m(p);l&&(d=l)}return{mimes:(0,r.A)(a,"mediaTypes.video.mimes")||t,protocols:(0,r.A)(a,"mediaTypes.video.protocols")||e,w:d[0],h:d[1],startdelay:(0,r.A)(a,"mediaTypes.video.startdelay")||0,skip:(0,r.A)(a,"mediaTypes.video.skip")||0,playbackmethod:(0,r.A)(a,"mediaTypes.video.playbackmethod")||i,delivery:(0,r.A)(a,"mediaTypes.video.delivery")||n,api:(0,r.A)(a,"mediaTypes.video.api")||s}}function g(e){if(e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes){let t=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes||e.sizes;t=(0,o.isArray)(t)&&(0,o.isArray)(t[0])?t:[t],t=t.filter((e=>(0,o.isArray)(e)));const i=t.map((e=>({w:parseInt(e[0],10),h:parseInt(e[1],10)}))),n=document.getElementById(e.adUnitCode),r=i.reduce(((e,t)=>t.h*t.w<e.h*e.w?t:e)),a=function(e){return!function(){try{return(0,o.getWindowSelf)()!==(0,o.getWindowTop)()}catch(e){return!0}}()&&null!==e}(n)?function(e,t){let{w:i,h:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"visible"===t.document.visibilityState?function(e,t){let{w:i,h:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=function(e){let{w:t,h:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{width:n,height:r,left:o,top:a,right:s,bottom:d}=e.getBoundingClientRect();(0===n||0===r)&&t&&i&&(n=t,r=i,s=o+t,d=a+i);return{width:n,height:r,left:o,top:a,right:s,bottom:d}}(e,{w:i,h:n}),o=function(e){const t={left:e[0].left,right:e[0].right,top:e[0].top,bottom:e[0].bottom};for(let i=1;i<e.length;++i){if(t.left=Math.max(t.left,e[i].left),t.right=Math.min(t.right,e[i].right),t.left>=t.right)return null;if(t.top=Math.max(t.top,e[i].top),t.bottom=Math.min(t.bottom,e[i].bottom),t.top>=t.bottom)return null}return t.width=t.right-t.left,t.height=t.bottom-t.top,t}([{left:0,top:0,right:t.innerWidth,bottom:t.innerHeight},r]);let a,s;if(null!==o)return a=o.width*o.height,s=r.width*r.height,a/s*100;return 0}(e,t,{w:i,h:n}):0}(n,(0,o.getWindowTop)(),r):"na",s=isNaN(a)?a:Math.round(a);return{bidder:{zoneId:e.params.zoneId},viewability:s}}return{bidder:{zoneId:e.params.zoneId},viewability:"na"}}function y(e,t){const i=JSON.stringify(e),n=window.btoa(i);(0,o.triggerPixel)("https://ping-hqx-1.go2speed.media/notification/rtb/beacon/?bt="+t+"&bid=3mhdom&hb_j="+n,null)}function v(e){const t=e.mediaTypes.video?"video":"banner";let i=0;if("function"==typeof e.getFloor){const n=e.getFloor({currency:"USD",mediaType:t,size:"*"});"object"!=typeof n||"USD"!==n.currency||isNaN(parseFloat(n.floor))||(i=n.floor)}return i}this.isBidRequestValid=function(e){return!(!e.params||!e.params.zoneId)},this.getUserSyncs=function(e,t,i){return[]},this.buildRequests=function(e,t){let i=function(e,t){for(let i=0;i<t.length;i++)if(t[i].params&&t[i].params[e])return t[i].params[e]}("zoneId",e);if(void 0===i||e.length<1)return[];var n="https://hb.go2speed.media/bidder/?bid=3mhdom&zoneId="+i,s=/(^v|(\.0)+$)/gi;n+="&hbv="+"9.3.0".replace(s,"")+","+"2.5".replace(s,"");var d=function(e,t){let i={id:e[0].bidderRequestId,imp:h(e,t),site:u(t),device:{ua:navigator.userAgent,ip:"",dnt:(0,o.getDNT)()?1:0},user:{ext:{consent:(0,r.A)(t,"gdprConsent.gdprApplies")?t.gdprConsent.consentString:""}},at:1,tmax:650,regs:{ext:{gdpr:!!(0,r.A)(t,"gdprConsent.gdprApplies")&&Boolean(1&t.gdprConsent.gdprApplies)}}};return e[0].schain&&(0,a.J)(i,"source.ext.schain",e[0].schain),t.uspConsent&&(0,a.J)(i,"regs.ext.us_privacy",t.uspConsent),!0===p.$W.getConfig("coppa")&&(0,a.J)(i,"regs.coppa",1&p.$W.getConfig("coppa")),i}(e,t);return d.imp.length?{method:"POST",url:n,data:JSON.stringify(d)}:{}},this.onBidWon=function(e){if(void 0!==e.nurl){const t=e.pbMg;e.nurl=e.nurl.replace(/\$\{AUCTION_PRICE\}/,t),(0,o.triggerPixel)(e.nurl,null)}y(e,17)},this.onTimeout=function(e){y(e,19)},this.onSetTargeting=function(e){y(e,20)},this.interpretResponse=function(e){let t=e.body||[],i=[],n=0;if(t.seatbid){let e=[];for(n=0;n<t.seatbid.length;n++)for(let i=0;i<t.seatbid[n].bid.length;i++)e.push(t.seatbid[n].bid[i]);t=e}for(n=0;n<t.length;n++){let e=t[n],r=l[e.impid],o={requestId:r.bidId,cpm:parseFloat(e.price),width:e.w,height:e.h,creativeId:e.crid,currency:"USD",netRevenue:!0,ttl:350,nurl:e.nurl};r.mediaTypes&&r.mediaTypes.video?("<"===e.adm.charAt(0)?o.vastXml=e.adm:o.vastUrl=e.adm,o.mediaType="video",o.ttl=600):o.ad=e.adm,i.push(o)}return i}};(0,s.a$)(l),(0,n.E)("marsmediaBidAdapter")}},e=>{e.O(0,[60802,51085],(()=>{return t=10958,e(e.s=t);var t}));e.O()}]);
|