tm.jsuol.com.br
Open in
urlscan Pro
2600:9000:214f:1c00:6:9eb2:5cc0:93a1
Public Scan
URL:
https://tm.jsuol.com.br/modules/external/Prebid.js
Submission: On December 30 via api from LU — Scanned from DE
Submission: On December 30 via api from LU — Scanned from DE
Form analysis
0 forms found in the DOMText Content
if(window.pbjs&&window.pbjs.libLoaded)try{window.pbjs.getConfig("debug")&&console.warn("Attempted to load a copy of Prebid.js that clashes with the existing 'pbjs' instance. Load aborted.")}catch(e){}else (function(){ !function(){var e,n={5706:function(e,n,t){t.d(n,{Pd:function(){return s},Th:function(){return d},_U:function(){return f}});var r=t(5730),i=t(4358),o=t(265),a=t(4614),u=(0,t(8640).R)(),c="outstream";function d(e){var n=this,t=e.url,o=e.config,a=e.id,u=e.callback,d=e.loaded,s=e.adUnitCode,f=e.renderNow;this.url=t,this.config=o,this.handlers={},this.id=a,this.renderNow=f,this.loaded=d,this.cmd=[],this.push=function(e){"function"==typeof e?n.loaded?e.call():n.cmd.push(e):(0,i.H)("Commands given to Renderer.push must be wrapped in a function")},this.callback=u||function(){n.loaded=!0,n.process()},this.render=function(){var e=this,n=arguments,o=function(){e._render?e._render.apply(e,n):(0,i.yN)("No render function was provided, please use .setRender on the renderer")};l(s)?((0,i.yN)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(s)),o()):f?o():(this.cmd.unshift(o),(0,r.B)(t,c,this.callback,this.documentContext))}.bind(this)}function s(e){return!(!e||!e.url&&!e.renderNow)}function f(e,n,t){var r=null;e.config&&e.config.documentResolver&&(r=e.config.documentResolver(n,document,t)),r||(r=document),e.documentContext=r,e.render(n,e.documentContext)}function l(e){var n=u.adUnits,t=(0,a.sE)(n,(function(n){return n.code===e}));if(!t)return!1;var r=(0,o.Z)(t,"renderer"),i=!!(r&&r.url&&r.render),c=(0,o.Z)(t,"mediaTypes.video.renderer"),d=!!(c&&c.url&&c.render);return!!(i&&!0!==r.backupOnly||d&&!0!==c.backupOnly)}d.install=function(e){return new d({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode,renderNow:e.renderNow})},d.prototype.getConfig=function(){return this.config},d.prototype.setRender=function(e){this._render=e},d.prototype.setEventHandlers=function(e){this.handlers=e},d.prototype.handleVideoEvent=function(e){var n=e.id,t=e.eventName;"function"==typeof this.handlers[t]&&this.handlers[t](),(0,i.ji)("Prebid Renderer event for id ".concat(n," type ").concat(t))},d.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,i.H)("Error processing Renderer command: ",e)}}},4947:function(e,n,t){t.d(n,{EL:function(){return o},K$:function(){return i},S1:function(){return r},UE:function(){return a},e:function(){return c},g0:function(){return s},oK:function(){return d},x$:function(){return u}});var r="accessDevice",i="syncUser",o="enrichEids",a="fetchBids",u="reportAnalytics",c="transmitEids",d="transmitUfpd",s="transmitPreciseGeo"},286:function(e,n,t){t.d(n,{T:function(){return i}});var r=t(4633),i=(0,t(6310).Oj)((function(e){return r.ZP.resolveAlias(e)}))},9633:function(e,n,t){t.d(n,{UL:function(){return i},XG:function(){return a},_U:function(){return u},wu:function(){return r},y2:function(){return o}});var r="prebid",i="bidder",o="userId",a="rtd",u="analytics"},6310:function(e,n,t){t.d(n,{$k:function(){return a},Hw:function(){return g},IV:function(){return l},JR:function(){return o},Ki:function(){return c},Oj:function(){return p},Qf:function(){return s},bL:function(){return d},bp:function(){return u},cx:function(){return f}});var r=t(4942),i=t(9633),o="component",a=o+"Type",u=o+"Name",c="adapterCode",d="storageType",s="configName",f="syncType",l="syncUrl",g="_config";function p(e){return function(n,t,d){var s,f=(s={},(0,r.Z)(s,a,n),(0,r.Z)(s,u,t),(0,r.Z)(s,o,"".concat(n,".").concat(t)),s);return n===i.UL&&(f[c]=e(t)),Object.assign(f,d)}}},571:function(e,n,t){t.d(n,{oB:function(){return s},xD:function(){return f}});var r=t(3324),i=t(4358),o=t(6310);function a(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return u(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(c)throw o}}}}function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.qp)("Activity control:"),n={};function t(e){return n[e]=n[e]||[]}function u(n,t,r,i){var a;try{a=r(i)}catch(r){e.logError("Exception in rule ".concat(t," for '").concat(n,"'"),r),a={allow:!1,reason:r}}return a&&Object.assign({activity:n,name:t,component:i[o.JR]},a)}var c={},d=1e3;function s(n){var t=n.activity,r=n.name,i=n.allow,o=n.reason,a=n.component,u="".concat(r," ").concat(i?"allowed":"denied"," '").concat(t,"' for '").concat(a,"'").concat(o?":":""),s=c.hasOwnProperty(u);if(s&&clearTimeout(c[u]),c[u]=setTimeout((function(){return delete c[u]}),d),!s){var f=[u];o&&f.push(o),(i?e.logInfo:e.logWarn).apply(e,f)}}return[function(e,n,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,a=t(e),u=a.findIndex((function(e){var n=(0,r.Z)(e,1)[0];return o<n})),c=[o,n,i];return a.splice(u<0?a.length:u,0,c),function(){var e=a.indexOf(c);e>=0&&a.splice(e,1)}},function(e,n){var i,o,c,d=a(t(e));try{for(d.s();!(c=d.n()).done;){var f=(0,r.Z)(c.value,3),l=f[0],g=f[1],p=f[2];if(i!==l&&o)break;i=l;var v=u(e,g,p,n);if(v){if(!v.allow)return s(v),!1;o=v}}}catch(e){d.e(e)}finally{d.f()}return o&&s(o),!0}]}(),d=(0,r.Z)(c,2),s=d[0],f=d[1]},875:function(e,n,t){t.d(n,{f:function(){return a}});var r=t(265),i={};function o(e,n,t){var r=function(e,n){var t=i[e]=i[e]||{bidders:{}};return n?t.bidders[n]=t.bidders[n]||{}:t}(e,t);return r[n]=(r[n]||0)+1,r[n]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,n){return o(e,"requestsCounter",n)},incrementBidderWinsCounter:function(e,n){return o(e,"winsCounter",n)},getRequestsCounter:function(e){return(0,r.Z)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".requestsCounter"))||0},getBidderWinsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".winsCounter"))||0}}},4633:function(e,n,t){t.d(n,{ZP:function(){return pe},rp:function(){return ie},uV:function(){return ce},TJ:function(){return ae},nX:function(){return oe}});var r=t(9062),i=t(3324),o=t(4942),a=t(4358),u=t(265),c=t(1002),d=t(3193),s=t(4614),f=t(4679),l=[];function g(e,n){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:n}:{labelAll:!1,labels:e.labelAny,activeLabels:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.labels,t=void 0===n?[]:n,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,c=void 0===o?[]:o,d=arguments.length>1?arguments[1]:void 0,g=arguments.length>2?arguments[2]:void 0,p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,h=v(p);(0,a.PO)(d)||(d=g?{banner:{sizes:g}}:{});var m=(0,u.Z)(d,"banner.sizes");h.shouldFilter&&m&&((d=(0,a.I8)(d)).banner.sizes=m.filter((function(e){return h.sizesSupported[e]})));var y={active:!d.hasOwnProperty(f.Mk)||(0,u.Z)(d,"banner.sizes.length")>0&&(0===t.length||!i&&(t.some((function(e){return h.labels[e]}))||t.some((function(e){return(0,s.q9)(c,e)})))||i&&t.reduce((function(e,n){return e?h.labels[n]||(0,s.q9)(c,n):e}),!0)),mediaTypes:d};return m&&m.length!==d.banner.sizes.length&&(y.filterResults={before:m,after:d.banner.sizes}),y}function v(e){return e.reduce((function(e,n){if("object"===(0,c.Z)(n)&&"string"==typeof n.mediaQuery&&n.mediaQuery.length>0){var t=!1;try{t=(0,a.Zy)().matchMedia(n.mediaQuery).matches}catch(e){(0,a.yN)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),t=matchMedia(n.mediaQuery).matches}t&&(Array.isArray(n.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(n[t]||[]).forEach((function(n){return e[t][n]=!0}))})))}else(0,a.yN)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}d.vc.getConfig("sizeConfig",(function(e){return function(e){l=e}(e.sizeConfig)}));var h=t(59),m=t(5339),y=t(8928),b=t(2797),w=t(875),C=t(5102),A=t(2513),T=t(2021),E=t(5644),O=t(9128),k=t(8653),I=t(9633),B=t(571),j=t(4947),S=t(6310);function U(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return P(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return P(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function P(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var R=["user.data","user.ext.data"],N=["user.eids","user.ext.eids"],_=["user.geo.lat","user.geo.lon","device.geo.lat","device.geo.lon"];function q(e){return Object.assign({get:function(){},run:function(e,n,t,r,i){var o=t&&t[r];if(function(e){return null!=e&&("object"!==(0,c.Z)(e)||Object.keys(e).length>0)}(o)&&i()){var a=this.get(o);void 0===a?delete t[r]:t[r]=a}}},e)}function x(e){return e.forEach((function(e){e.paths=e.paths.map((function(e){var n=e.split("."),t=n.pop();return[n.length>0?n.join("."):null,t]}))})),function(n,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];var c=[];return e.forEach((function(e){if(!1!==n[e.name]){var r,a=U(e.paths);try{for(a.s();!(r=a.n()).done;){var d=(0,i.Z)(r.value,2),s=d[0],f=d[1],l=null==s?t:(0,u.Z)(t,s);if(c.push(e.run(t,s,l,f,(function(){return n.hasOwnProperty(e.name)||(n[e.name]=!!e.applies.apply(e,o)),n[e.name]}))),!1===n[e.name])return}}catch(e){a.e(e)}finally{a.f()}}})),c.filter((function(e){return null!=e}))}}function D(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.xD;return function(t){return!n(e,t)}}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.xD;return[{name:j.e,paths:["userId","userIdAsEids"],applies:D(j.e,e)}].map(q)}function H(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.xD;return[{name:j.oK,paths:R,applies:D(j.oK,e)},{name:j.e,paths:N,applies:D(j.e,e)},{name:j.g0,paths:_,applies:D(j.g0,e),get:function(e){return Math.round(100*(e+Number.EPSILON))/100}}].map(q)}var M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.xD,n=x(H(e)),t=x(Z(e));return function(e){var r={};return{ortb2:function(t){return n(r,t,e),t},bidRequest:function(n){return t(r,n,e),n}}}}();function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?F(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var W="pbsBidAdapter",L="client",K="server",G={isAllowed:B.xD,redact:M},V={},J=V.bidderRegistry={},Q=V.aliasRegistry={},$=[];d.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&($=(0,a.kJ)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var Y={},X=(0,S.Oj)((function(e){return V.resolveAlias(e)}));var ee=(0,b.z3)("sync",(function(e){var n=e.bidderCode,t=e.auctionId,r=e.bidderRequestId,i=e.adUnits,o=e.src,c=e.metrics;return i.reduce((function(e,i){var d=i.bids.filter((function(e){return e.bidder===n}));return null==n&&0===d.length&&null!=i.s2sBid&&d.push({bidder:null}),e.push(d.reduce((function(e,n){var d=null==(n=Object.assign({},n,{ortb2Imp:(0,a.Ee)({},i.ortb2Imp,n.ortb2Imp)},(0,a.iG)(i,["nativeParams","nativeOrtbRequest","mediaType","renderer"]))).mediaTypes?i.mediaTypes:n.mediaTypes;return(0,a.FS)(d)?n=Object.assign({},n,{mediaTypes:d}):(0,a.H)("mediaTypes is not correctly configured for adunit ".concat(i.code)),e.push(Object.assign({},n,{adUnitCode:i.code,transactionId:i.transactionId,sizes:(0,u.Z)(d,"banner.sizes")||(0,u.Z)(d,"video.playerSize")||[],bidId:n.bid_id||(0,a._d)(),bidderRequestId:r,auctionId:t,src:o,metrics:c,bidRequestsCount:w.f.getRequestsCounter(i.code),bidderRequestsCount:w.f.getBidderRequestsCounter(i.code,n.bidder),bidderWinsCount:w.f.getBidderWinsCounter(i.code,n.bidder)})),e}),[])),e}),[]).reduce(a.xH,[]).filter((function(e){return""!==e}))}),"getBids");var ne=(0,b.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getS2SBidders,i=void 0===r?ce:r;if(null==n)return e;var o=i(n);return e.filter((function(e){return o.has(e.bidder)}))}),"filterBidsForAdUnit");function te(e,n){var t=(0,a.I8)(e),r=!1;return t.forEach((function(e){var t=e.bids.filter((function(e){var t;return e.module===W&&(null===(t=e.params)||void 0===t?void 0:t.configName)===n.configName}));1===t.length?(e.s2sBid=t[0],r=!0,e.ortb2Imp=(0,a.Ee)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):t.length>1&&(0,a.yN)('Multiple "module" bids for the same s2s configuration; all will be ignored',t),e.bids=ne(e.bids,n).map((function(e){return e.bid_id=(0,a._d)(),e}))})),{adUnits:t=t.filter((function(e){return 0!==e.bids.length||null!=e.s2sBid})),hasModuleBids:r}}function re(e){var n=(0,a.I8)(e);return n.forEach((function(e){e.bids=ne(e.bids,null)})),n=n.filter((function(e){return 0!==e.bids.length}))}var ie=new A.iK,oe=new A.LO,ae=new A.$e,ue=(0,b.z3)("sync",(function(e,n){return function(e,n){return e.reduce((function(e,t){var r=p(g(t,n),t.mediaTypes,t.sizes),i=r.active,o=r.mediaTypes,u=r.filterResults;return i?(u&&(0,a.PN)('Size mapping filtered adUnit "'.concat(t.code,'" banner sizes from '),u.before,"to ",u.after),t.mediaTypes=o,t.bids=t.bids.reduce((function(e,r){var i=p(g(r,n),t.mediaTypes),o=i.active,u=i.mediaTypes,c=i.filterResults;return o?(c&&((0,a.PN)('Size mapping filtered adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'" banner sizes from '),c.before,"to ",c.after),r.mediaTypes=u),e.push(r)):(0,a.PN)('Size mapping deactivated adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(t)):(0,a.PN)('Size mapping disabled adUnit "'.concat(t.code,'"')),e}),[])}(e,n)}),"setupAdUnitMediaTypes");function ce(e){(0,a.kJ)(e)||(e=[e]);var n=new Set([null]);return e.filter((function(e){return e&&e.enabled})).flatMap((function(e){return e.bidders})).forEach((function(e){return n.add(e)})),n}var de=(0,b.z3)("sync",(function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.getS2SBidders,u=void 0===i?ce:i,c=u(n);return(0,a.pP)(e).reduce((function(e,n){return e[c.has(n)?K:L].push(n),e}),(t={},(0,o.Z)(t,L,[]),(0,o.Z)(t,K,[]),t))}),"partitionBidders");function se(e,n){var t=J[e],r=(null==t?void 0:t.getSpec)&&t.getSpec();if(r&&r[n]&&"function"==typeof r[n])return[r,r[n]]}function fe(e,n,t,r){try{(0,a.PN)("Invoking ".concat(e,".").concat(n));for(var i=arguments.length,o=new Array(i>4?i-4:0),u=4;u<i;u++)o[u-4]=arguments[u];d.vc.runWithBidder(e,r.bind.apply(r,[t].concat(o)))}catch(t){(0,a.yN)("Error calling ".concat(n," of ").concat(e))}}function le(e,n,t){var i=se(e,n);null!=i&&fe.apply(void 0,[e,n].concat((0,r.Z)(i),[t]))}function ge(e){for(var n=new Set;Q.hasOwnProperty(e)&&!n.has(e);)n.add(e),e=Q[e];return e}V.makeBidRequests=(0,b.z3)("sync",(function(e,n,t,r,i){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=arguments.length>6?arguments[6]:void 0;c=(0,O.Bf)(c),T.j8(E.FP.BEFORE_REQUEST_BIDS,e),(0,h.Fb)(e),e.forEach((function(e){return e.bids=e.bids.filter((function(e){return!e.bidder||G.isAllowed(j.UE,X(I.UL,e.bidder))}))})),e=ue(e,i);var f=de(e,$),l=f[L],g=f[K];d.vc.getConfig("bidderSequence")===d.FD&&(l=(0,a.TV)(l));var p=(0,C.nH)(),v=[],m=u.global||{},y=u.bidder||{};function b(e){var n=G.redact(X(I.UL,e.bidderCode)),t=Object.freeze(n.ortb2((0,a.Ee)({},m,y[e.bidderCode])));return e.ortb2=t,e.bids=e.bids.map((function(e){return e.ortb2=t,n.bidRequest(e)})),e}function w(e){return G.isAllowed(j.UE,X(I.wu,W,(0,o.Z)({},S.Qf,e.configName)))}$.forEach((function(r){if(r&&r.enabled&&w(r)){var i=te(e,r),o=i.adUnits,u=i.hasModuleBids,d=(0,a.DO)();(0===g.length&&u?[null]:g).forEach((function(e){var i=(0,a._d)(),u=c.fork(),s=b({bidderCode:e,auctionId:t,bidderRequestId:i,uniquePbsTid:d,bids:ee({bidderCode:e,auctionId:t,bidderRequestId:i,adUnits:(0,a.I8)(o),src:E.os.YZ,metrics:u}),auctionStart:n,timeout:r.timeout,src:E.os.YZ,refererInfo:p,metrics:u});0!==s.bids.length&&v.push(s)})),o.forEach((function(e){var n=e.bids.filter((function(e){return(0,s.sE)(v,(function(n){return(0,s.sE)(n.bids,(function(n){return n.bidId===e.bid_id}))}))}));e.bids=n})),v.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=o.filter((function(e){return e.bids.length>0||null!=e.s2sBid})))}))}}));var A=re(e);return l.forEach((function(e){var o=(0,a._d)(),u=c.fork(),d=b({bidderCode:e,auctionId:t,bidderRequestId:o,bids:ee({bidderCode:e,auctionId:t,bidderRequestId:o,adUnits:(0,a.I8)(A),labels:i,src:"client",metrics:u}),auctionStart:n,timeout:r,refererInfo:p,metrics:u}),s=J[e];s||(0,a.H)("Trying to make a request for bidder that does not exist: ".concat(e)),s&&d.bids&&0!==d.bids.length&&v.push(d)})),v.forEach((function(e){ie.getConsentData()&&(e.gdprConsent=ie.getConsentData()),oe.getConsentData()&&(e.uspConsent=oe.getConsentData()),ae.getConsentData()&&(e.gppConsent=ae.getConsentData())})),v}),"makeBidRequests"),V.callBids=function(e,n,t,r,o,u,c){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(n.length){var f=n.reduce((function(e,n){return e[Number(void 0!==n.src&&n.src===E.os.YZ)].push(n),e}),[[],[]]),l=(0,i.Z)(f,2),g=l[0],p=l[1],v=[];p.forEach((function(e){for(var n=-1,t=0;t<v.length;++t)if(e.uniquePbsTid===v[t].uniquePbsTid){n=t;break}n<=-1&&v.push(e)}));var h=0;$.forEach((function(e){if(e&&v[h]&&ce(e).has(v[h].bidderCode)){var n=(0,y.O)(u,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),i=e.bidders,c=J[e.adapter],d=v[h].uniquePbsTid,f=v[h].adUnitsS2SCopy,l=p.filter((function(e){return e.uniquePbsTid===d}));if(c){var g={ad_units:f,s2sConfig:e,ortb2Fragments:s};if(g.ad_units.length){var m=l.map((function(e){return e.start=(0,a.AB)(),r.bind(e)})),b=(0,a.pP)(g.ad_units).filter((function(e){return i.includes(e)}));(0,a.ji)("CALLING S2S HEADER BIDDERS ==== ".concat(b.length>0?b.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),l.forEach((function(e){T.j8(E.FP.BID_REQUESTED,z(z({},e),{},{tid:e.auctionId}))})),c.callBids(g,p,t,(function(){return m.forEach((function(e){return e()}))}),n)}}else(0,a.H)("missing "+e.adapter);h++}})),g.forEach((function(e){e.start=(0,a.AB)();var n=J[e.bidderCode];d.vc.runWithBidder(e.bidderCode,(function(){(0,a.ji)("CALLING BIDDER"),T.j8(E.FP.BID_REQUESTED,e)}));var i=(0,y.O)(u,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),s=r.bind(e);try{d.vc.runWithBidder(e.bidderCode,a.ak.call(n.callBids,n,e,t,s,i,c,d.vc.callbackWithBidder(e.bidderCode)))}catch(n){(0,a.H)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:n,bidRequest:e}),s()}}))}else(0,a.yN)("callBids executed with no bidRequests. Were they filtered by labels or sizing?")},V.videoAdapters=[],V.registerBidAdapter=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.supportedMediaTypes,o=void 0===i?[]:i;e&&n?"function"==typeof e.callBids?(J[n]=e,A.qh.register(I.UL,n,null===(t=e.getSpec)||void 0===t?void 0:t.call(e).gvlid),(0,s.q9)(o,"video")&&V.videoAdapters.push(n),(0,s.q9)(o,"native")&&h.Sg.push(n)):(0,a.H)("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):(0,a.H)("bidAdapter or bidderCode not specified")},V.aliasBidAdapter=function(e,n,t){if(void 0===J[n]){var r=J[e];if(void 0===r){var i=[];$.forEach((function(t){if(t.bidders&&t.bidders.length){var r=t&&t.bidders;t&&(0,s.q9)(r,n)?Q[n]=e:i.push(e)}})),i.forEach((function(e){(0,a.H)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var o,u=function(e){var n=[];return(0,s.q9)(V.videoAdapters,e)&&n.push("video"),(0,s.q9)(h.Sg,e)&&n.push("native"),n}(e);if(r.constructor.prototype!=Object.prototype)(o=new r.constructor).setBidderCode(n);else{var c=r.getSpec(),d=t&&t.gvlid,f=t&&t.skipPbsAliasing;o=(0,m.PZ)(Object.assign({},c,{code:n,gvlid:d,skipPbsAliasing:f})),Q[n]=e}V.registerBidAdapter(o,n,{supportedMediaTypes:u})}catch(n){(0,a.H)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,a.ji)('alias name "'+n+'" has been already specified.')},V.resolveAlias=function(e){for(var n,t=e;Q[t]&&(!n||!n.has(t));)t=Q[t],(n=n||new Set).add(t);return t},V.registerAnalyticsAdapter=function(e){var n=e.adapter,t=e.code,r=e.gvlid;n&&t?"function"==typeof n.enableAnalytics?(n.code=t,Y[t]={adapter:n,gvlid:r},A.qh.register(I._U,t,r)):(0,a.H)('Prebid Error: Analytics adaptor error for analytics "'.concat(t,'"\n analytics adapter must implement an enableAnalytics() function')):(0,a.H)("Prebid Error: analyticsAdapter or analyticsCode not specified")},V.enableAnalytics=function(e){(0,a.kJ)(e)||(e=[e]),(0,a.yi)(e,(function(e){var n=Y[e.provider];n&&n.adapter?G.isAllowed(j.x$,X(I._U,e.provider,(0,o.Z)({},S.Hw,e)))&&n.adapter.enableAnalytics(e):(0,a.H)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},V.getBidAdapter=function(e){return J[e]},V.getAnalyticsAdapter=function(e){return Y[e]},V.callTimedOutBidders=function(e,n,t){n=n.map((function(n){return n.params=(0,a.S0)(e,n.adUnitCode,n.bidder),n.timeout=t,n})),n=(0,a.vM)(n,"bidder"),Object.keys(n).forEach((function(e){le(e,"onTimeout",n[e])}))},V.callBidWonBidder=function(e,n,t){n.params=(0,a.S0)(t,n.adUnitCode,n.bidder),w.f.incrementBidderWinsCounter(n.adUnitCode,n.bidder),le(e,"onBidWon",n)},V.callBidBillableBidder=function(e){le(e.bidder,"onBidBillable",e)},V.callSetTargetingBidder=function(e,n){le(e,"onSetTargeting",n)},V.callBidViewableBidder=function(e,n){le(e,"onBidViewable",n)},V.callBidderError=function(e,n,t){le(e,"onBidderError",{error:n,bidderRequest:t})},V.callDataDeletionRequest=(0,b.z3)("sync",(function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var o="onDataDeletionRequest";Object.keys(J).filter((function(e){return!Q.hasOwnProperty(e)})).forEach((function(e){var t=se(e,o);if(null!=t){var i=k.K.getBidsRequested().filter((function(n){return ge(n.bidderCode)===e}));fe.apply(void 0,[e,o].concat((0,r.Z)(t),[i],n))}})),Object.entries(Y).forEach((function(e){var t,r=(0,i.Z)(e,2),u=r[0],c=r[1],d=null==c||null===(t=c.adapter)||void 0===t?void 0:t[o];if("function"==typeof d)try{d.apply(c.adapter,n)}catch(e){(0,a.H)("error calling ".concat(o," of ").concat(u),e)}}))}));var pe=V},5339:function(e,n,t){t.d(n,{Q1:function(){return U},PZ:function(){return I},dX:function(){return k}});var r=t(3324),i=t(1002);function o(e){var n=e;return{callBids:function(){},setBidderCode:function(e){n=e},getBidderCode:function(){return n}}}var a=t(4633),u=t(3193),c=t(9626),d=t(1974),s=t(59),f=t(154),l=t(5644),g=t(2021),p=t(4614),v=t(8928),h=t(4358),m=t(265),y=t(4679),b=t(2797),w=t(5164),C=t(8653),A=t(5975),T=t(9128),E=(0,w.eA)("bidderFactory"),O=["cpm","ttl","creativeId","netRevenue","currency"];function k(e){var n=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function t(e){var t=I(e);a.ZP.registerBidAdapter(t,e.code,n)}t(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(n){var r,i,o=n;(0,h.PO)(n)&&(o=n.code,r=n.gvlid,i=n.skipPbsAliasing),a.ZP.aliasRegistry[o]=e.code,t(Object.assign({},e,{code:o,gvlid:r,skipPbsAliasing:i}))}))}function I(e){return Object.assign(new o(e.code),{getSpec:function(){return Object.freeze(Object.assign({},e))},registerSyncs:n,callBids:function(r,i,o,d,v,m){if(Array.isArray(r.bids)){var y={},b=[],w=R(r).measureTime("validate",(function(){return r.bids.filter(t)}));if(0!==w.length){var E={};w.forEach((function(e){E[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),B(e,w,r,d,m,{onRequest:function(e){return g.j8(l.FP.BEFORE_BIDDER_HTTP,r,e)},onResponse:function(n){v(e.code),b.push(n)},onFledgeAuctionConfigs:function(e){e.forEach((function(e){var n=E[e.bidId];n?S(n.adUnitCode,e.config):(0,h.yN)("Received fledge auction configuration for an unknown bidId",e)}))},onError:function(n,t){v(e.code),a.ZP.callBidderError(e.code,t,r),g.j8(l.FP.BIDDER_ERROR,{error:t,bidderRequest:r}),(0,h.H)("Server call for ".concat(e.code," failed: ").concat(n," ").concat(t.status,". Continuing without bids."))},onBid:function(n){var t=E[n.requestId];if(t){if(n.adapterCode=t.bidder,function(e,n){var t=A.S.get(n,"allowAlternateBidderCodes")||!1,r=A.S.get(n,"allowedAlternateBidderCodes");if(e&&n&&n!==e&&(r=(0,h.kJ)(r)?r.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(h.tT):r,!t||(0,h.kJ)(r)&&"*"!==r[0]&&!r.includes(e)))return!0;return!1}(n.bidderCode,t.bidder))return(0,h.yN)("".concat(n.bidderCode," is not a registered partner or known bidder of ").concat(t.bidder,", hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.")),void i.reject(t.adUnitCode,n,l.Gw.Dg);n.originalCpm=n.cpm,n.originalCurrency=n.currency,n.meta=n.meta||Object.assign({},n[t.bidder]);var r=Object.assign((0,c.m)(l.Q_.Q,t),n);k(t.adUnitCode,r)}else(0,h.yN)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(n.requestId,". Ignoring.")),i.reject(null,n,l.Gw.Gp)},onCompletion:I})}else I()}function k(e,n){var t=(0,T.Bf)(n.metrics);t.checkpoint("addBidResponse"),y[e]=!0,t.measureTime("addBidResponse.validate",(function(){return function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===t?C.K.index:t;function i(){var e=Object.keys(n);return O.every((function(t){return(0,p.q9)(e,t)&&!(0,p.q9)([void 0,null],n[t])}))}function o(e){return"Invalid bid from ".concat(n.bidderCode,". Ignoring bid: ").concat(e)}if(!e)return(0,h.yN)("No adUnitCode was supplied to addBidResponse."),!1;if(!n)return(0,h.yN)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1;if(!i())return(0,h.H)(o("Bidder ".concat(n.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1;if("native"===n.mediaType&&!(0,s.r4)(n,{index:r}))return(0,h.H)(o("Native bid missing some required properties.")),!1;if("video"===n.mediaType&&!(0,f.Dn)(n,{index:r}))return(0,h.H)(o("Video bid does not have required vastUrl or renderer property")),!1;if("banner"===n.mediaType&&!P(e,n,{index:r}))return(0,h.H)(o("Banner bids require a width and height")),!1;return!0}(e,n)}))?i(e,n):i.reject(e,n,l.Gw.UI)}function I(){o(),u.vc.runWithBidder(e.code,(function(){g.j8(l.FP.BIDDER_DONE,r),n(b,r.gdprConsent,r.uspConsent,r.gppConsent)}))}}});function n(n,t,r,i){j(e,n,t,r,i)}function t(n){return!!e.isBidRequestValid(n)||((0,h.yN)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(n))),!1)}}var B=(0,b.z3)("sync",(function(e,n,t,r,o,a){var u=a.onRequest,c=a.onResponse,d=a.onFledgeAuctionConfigs,s=a.onError,f=a.onBid,l=a.onCompletion,g=R(t);l=g.startTiming("total").stopBefore(l);var p=g.measureTime("buildRequests",(function(){return e.buildRequests(n,t)}));if(p&&0!==p.length){Array.isArray(p)||(p=[p]);var v=(0,h.yx)(l,p.length);p.forEach((function(n){var t=g.fork();function a(e){null!=e&&(e.metrics=t.fork().renameWith()),f(e)}var l=o((function(r,i){m();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:i.getResponseHeader.bind(i)}},c(r);try{r=t.measureTime("interpretResponse",(function(){return e.interpretResponse(r,n)}))}catch(n){return(0,h.H)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,n),void v()}var o;r&&(0,h.kJ)(r.fledgeAuctionConfigs)?(d(r.fledgeAuctionConfigs),o=r.bids):o=r,o&&((0,h.kJ)(o)?o.forEach(a):a(o)),v()})),p=o((function(e,n){m(),s(e,n),v()}));u(n);var m=t.startTiming("net");switch(n.method){case"GET":r("".concat(n.url).concat(function(e){if(e)return"?".concat("object"===(0,i.Z)(e)?(0,h.Re)(e):e);return""}(n.data)),{success:l,error:p},void 0,Object.assign({method:"GET",withCredentials:!0},n.options));break;case"POST":r(n.url,{success:l,error:p},"string"==typeof n.data?n.data:JSON.stringify(n.data),Object.assign({method:"POST",contentType:"text/plain",withCredentials:!0},n.options));break;default:(0,h.yN)("Skipping invalid request from ".concat(e.code,". Request type ").concat(n.type," must be GET or POST")),v()}}))}else l()}),"processBidderRequests"),j=(0,b.z3)("async",(function(e,n,t,r,i){var o=u.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(o||!a.ZP.aliasRegistry[e.code])){var c=u.vc.getConfig("userSync.filterSettings"),s=e.getUserSyncs({iframeEnabled:!(!c||!c.iframe&&!c.all),pixelEnabled:!(!c||!c.image&&!c.all)},n,t,r,i);s&&(Array.isArray(s)||(s=[s]),s.forEach((function(n){d.k_.registerSync(n.type,e.code,n.url)})),d.k_.bidderDone(e.code))}}),"registerSyncs"),S=(0,b.z3)("sync",(function(e,n){}),"addComponentAuction");function U(e,n){var t=a.ZP.getBidAdapter(e);if(t.getSpec().getMappingFileInfo){var r=t.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:t.getBidderCode(),o=E.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(n){(0,h.H)("Failed to parse ".concat(e," mapping data stored in local storage"))}return o.mapping[n]?o.mapping[n]:null}}}function P(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?C.K.index:i;if((n.width||0===parseInt(n.width,10))&&(n.height||0===parseInt(n.height,10)))return n.width=parseInt(n.width,10),n.height=parseInt(n.height,10),!0;var a=o.getBidRequest(n),u=o.getMediaTypes(n),c=a&&a.sizes||u&&u.banner&&u.banner.sizes,d=(0,h.sF)(c);if(1===d.length){var s=d[0].split("x"),f=(0,r.Z)(s,2),l=f[0],g=f[1];return n.width=parseInt(l,10),n.height=parseInt(g,10),!0}return!1}function R(e){return(0,T.Bf)(e.metrics).renameWith((function(n){return["adapter.client.".concat(n),"adapters.client.".concat(e.bidderCode,".").concat(n)]}))}(0,b.v5)("checkAdUnitSetup").before((function(e,n){if(!u.vc.getConfig("adpod.brandCategoryExclusion"))return e.call(this,n);n.filter((function(e){return(0,m.Z)(e,"mediaTypes.video.context")===y.Oh})).map((function(e){return e.bids.map((function(e){return e.bidder}))})).reduce(h.xH,[]).filter(h.tT).forEach((function(e){var n=a.ZP.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var t=n.getSpec().getMappingFileInfo(),r=t.refreshInDays?t.refreshInDays:1,i=t.localStorageKey?t.localStorageKey:n.getSpec().code,o=E.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||(0,h.AB)()>o.lastUpdated+24*r*60*60*1e3)&&(0,v.h)(t.url,{success:function(n){try{n=JSON.parse(n);var t={lastUpdated:(0,h.AB)(),mapping:n.mapping};E.setDataInLocalStorage(i,JSON.stringify(t))}catch(n){(0,h.H)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){(0,h.H)("Failed to load ".concat(e," bidder translation file"))}})}catch(n){(0,h.H)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,n)}))},5730:function(e,n,t){t.d(n,{B:function(){return u}});var r=t(4614),i=t(4358),o=new WeakMap,a=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","aaxBlockmeter","confiant","arcspan","clean.io"];function u(e,n,t,u,c){if(n&&e){if((0,r.q9)(a,n)){u||(u=document);var d=l(u,e);if(d)return t&&"function"==typeof t&&(d.loaded?t():d.callbacks.push(t)),d.tag;var s=o.get(u)||{},f={loaded:!1,tag:null,callbacks:[]};return s[e]=f,o.set(u,s),t&&"function"==typeof t&&f.callbacks.push(t),(0,i.yN)("module ".concat(n," is loading external JavaScript")),function(n,t,r,o){r||(r=document);var a=r.createElement("script");a.type="text/javascript",a.async=!0;var u=l(r,e);u&&(u.tag=a);a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,t())}:a.onload=function(){t()};a.src=n,o&&(0,i.D9)(a,o);return(0,i.jC)(a,r),a}(e,(function(){f.loaded=!0;try{for(var e=0;e<f.callbacks.length;e++)f.callbacks[e]()}catch(e){(0,i.H)("Error executing callback","adloader.js:loadExternalScript",e)}}),u,c)}(0,i.H)("".concat(n," not whitelisted for loading external JavaScript"))}else(0,i.H)("cannot load external script without url and moduleCode");function l(e,n){var t=o.get(e);return t&&t[n]?t[n]:null}}},8928:function(e,n,t){t.d(n,{O:function(){return u},h:function(){return a}});var r=t(1002),i=t(3193),o=t(4358),a=u();function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.request,a=n.done;return function(n,u,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s,f=d.method||(c?"POST":"GET"),l=document.createElement("a");l.href=n;var g="object"===(0,r.Z)(u)&&null!==u?u:{success:function(){(0,o.ji)("xhr success")},error:function(e){(0,o.H)("xhr error",null,e)}};if("function"==typeof u&&(g.success=u),(s=new window.XMLHttpRequest).onreadystatechange=function(){if(4===s.readyState){"function"==typeof a&&a(l.origin);var e=s.status;e>=200&&e<300||304===e?g.success(s.responseText,s):g.error(s.statusText,s)}},i.vc.getConfig("disableAjaxTimeout")||(s.ontimeout=function(){(0,o.H)(" xhr timeout after ",s.timeout,"ms")}),"GET"===f&&c){var p=(0,o.en)(n,d);Object.assign(p.search,c),n=(0,o.Q2)(p)}s.open(f,n,!0),i.vc.getConfig("disableAjaxTimeout")||(s.timeout=e),d.withCredentials&&(s.withCredentials=!0),(0,o.yi)(d.customHeaders,(function(e,n){s.setRequestHeader(n,e)})),d.preflight&&s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof t&&t(l.origin),"POST"===f&&c?s.send(c):s.send()}catch(e){(0,o.H)("xhr construction",e),"object"===(0,r.Z)(u)&&null!==u&&u.error(e)}}}},1224:function(e,n,t){t.d(n,{mv:function(){return B},Yw:function(){return I},lU:function(){return D},sq:function(){return x},dg:function(){return Q},RH:function(){return J},LX:function(){return Y},vO:function(){return R}});var r=t(3324),i=t(1002),o=t(4358),a=t(265),u=t(6463),c=t(59),d=t(9885),s=t(5706),f=t(3193),l=t(1974),g=t(2797),p=t(4614),v=t(154),h=t(4679),m=t(8653),y=t(5975),b=t(2021),w=t(4633),C=t(5644),A=t(8792),T=t(9128),E=t(9626);var O=t(8640),k=l.k_.syncUsers,I="inProgress",B="completed";b.on(C.FP.BID_ADJUSTMENT,(function(e){!function(e){var n=function(e,n,t){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.index,u=void 0===a?m.K.index:a,c=i.bs,d=void 0===c?y.S:c;t=t||u.getBidRequest(n);var s=null==n?void 0:n.adapterCode,f=(null==n?void 0:n.bidderCode)||(null===(r=t)||void 0===r?void 0:r.bidder),l=d.get(null==n?void 0:n.adapterCode,"adjustAlternateBids"),g=d.getOwn(f,"bidCpmAdjustment")||d.get(l?s:f,"bidCpmAdjustment");if(g&&"function"==typeof g)try{return g(e,Object.assign({},n),t)}catch(e){(0,o.H)("Error during bid adjustment",e)}return e}(e.cpm,e);n>=0&&(e.cpm=n)}(e)}));var j={},S={},U=[],P=(0,O.R)();function R(e){var n=e.adUnits,t=e.adUnitCodes,a=e.callback,u=e.cbTimeout,c=e.labels,d=e.auctionId,s=e.ortb2Fragments,l=e.metrics;l=(0,T.Bf)(l);var g,v,y,O,R=n,x=c,H=t,M=d||(0,o.DO)(),z=u,W=new Set,L=[],V=a,J=[],Q=[],$=[],Y=[],X=[];function ne(){return{auctionId:M,timestamp:g,auctionEnd:v,auctionStatus:O,adUnits:R,adUnitCodes:H,labels:x,bidderRequests:J,noBids:$,bidsReceived:Q,bidsRejected:L,winningBids:Y,timeout:z,metrics:l,seatNonBids:X}}function te(e,t){if(t&&clearTimeout(y),void 0===v){var r=[];e&&((0,o.ji)("Auction ".concat(M," timedOut")),i=W,(r=J.map((function(e){return(e.bids||[]).filter((function(e){return!i.has(e.bidder)}))})).reduce(o.xH,[])).length&&b.j8(C.FP.BID_TIMEOUT,r)),O=B,v=Date.now(),l.checkpoint("auctionEnd"),l.timeBetween("requestBids","auctionEnd","requestBids.total"),l.timeBetween("callBids","auctionEnd","requestBids.callBids"),b.j8(C.FP.AUCTION_END,ne()),q(R,(function(){try{if(null!=V){var t=H,i=Q.filter(o.ak.call(o.IK,this,t)).reduce(ee,{});V.apply(P,[i,e,M]),V=null}}catch(e){(0,o.H)("Error executing bidsBackHandler",null,e)}finally{r.length&&w.ZP.callTimedOutBidders(n,r,z);var a=f.vc.getConfig("userSync")||{};a.enableOverride||k(a.syncDelay)}}))}var i}function re(){f.vc.resetBidder(),(0,o.PN)("Bids Received for Auction with id: ".concat(M),Q),O=B,te(!1,!0)}function ie(e){W.add(e)}function oe(e){var n=this;e.forEach((function(e){var n;n=e,J=J.concat(n)}));var t={},a={bidRequests:e,run:function(){var a,d;a=te.bind(null,!0),d=setTimeout(a,z),y=d,O=I,b.j8(C.FP.AUCTION_INIT,ne());var l=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,a=void 0===t?m.K.index:t,u=0,c=!1,d=new Set,s={},l={};function g(e,n){null==l[e]&&(l[e]=A.Z.resolve()),l[e]=l[e].then((function(){return A.Z.resolve(n).catch((function(){}))}))}function v(e,t){var r=e.timeout;(null==r||r>n.getTimeout())&&(r=n.getTimeout());var i=n.getAuctionStart()+r-Date.now(),o=l[e.bidderRequestId],a=l[""];(null!=o||null!=a)&&i>0?A.Z.race([A.Z.timeout(i),A.Z.resolve(a).then((function(){return o}))]).then(t):t()}function y(){u--,c&&0===u&&e()}function w(e,n,t){return s[n.requestId]=!0,K(n,e),u++,t(y)}function T(e,t){w(e,t,(function(e){var r=G(t);r.mediaType===h.pX?Z(n,r,e):(null!=r.native&&"object"===(0,i.Z)(r.native)&&F(r),D(n,r),e())}))}function O(e,t,i){return w(e,t,(function(e){var a,u=(0,E.m)(C.Q_.H,null===(a=t.getIdentifiers)||void 0===a?void 0:a.call(t));return Object.assign(u,Object.fromEntries(Object.entries(t).filter((function(e){var n=(0,r.Z)(e,1)[0];return!u.hasOwnProperty(n)&&!["ad","adUrl","vastXml","vastUrl","native"].includes(n)})))),u.status=C.UE.G9,u.cpm=0,t.rejectionReason=i,(0,o.yN)("Bid from ".concat(t.bidder||"unknown bidder"," was rejected: ").concat(i),t),b.j8(C.FP.BID_REJECTED,t),n.addBidRejected(t),e(),u}))}function k(){var t=this,r=n.getBidRequests(),i=f.vc.getConfig("auctionOptions");if(d.add(t),i&&!(0,o.xb)(i)){var a=i.secondaryBidders;a&&!r.every((function(e){return(0,p.q9)(a,e.bidderCode)}))&&(r=r.filter((function(e){return!(0,p.q9)(a,e.bidderCode)})))}c=r.every((function(e){return d.has(e)})),t.bids.forEach((function(e){s[e.bidId]||(n.addNoBid(e),b.j8(C.FP.NO_BID,e))})),c&&0===u&&e()}return{addBidResponse:function(){function e(e,n){var t,r=a.getBidderRequest(n);g(r&&r.bidderRequestId||"",N.call({dispatch:T},e,n,(function(r){return null==t&&(t=O(e,n,r)),t})))}return e.reject=O,e}(),adapterDone:function(){v(this,k.bind(this))}}}(re,n);w.ZP.callBids(R,e,l.addBidResponse,l.adapterDone,{request:function(e,n){c(j,n),c(t,e),S[e]||(S[e]={SRA:!0,origin:n}),t[e]>1&&(S[e].SRA=!1)},done:function(e){j[e]--,U[0]&&u(U[0])&&U.shift()}},z,ie,s)}};function u(e){var n=!0,t=f.vc.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===C.os.YZ?"s2s":e.bidderCode;return S[i]&&(!1===S[i].SRA&&(r=Math.min(e.bids.length,t)),j[S[i].origin]+r>t&&(n=!1)),!n})),n&&e.run(),n}function c(e,n){void 0===e[n]?e[n]=1:e[n]++}u(a)||((0,o.yN)("queueing auction due to limited endpoint capacity"),U.push(a))}return b.on(C.FP.SEAT_NON_BID,(function(e){var n;e.auctionId===M&&(n=e.seatnonbid,X=X.concat(n))})),{addBidReceived:function(e){Q=Q.concat(e)},addBidRejected:function(e){L=L.concat(e)},addNoBid:function(e){$=$.concat(e)},executeCallback:te,callBids:function(){O="started",g=Date.now();var e=l.measureTime("requestBids.makeRequests",(function(){return w.ZP.makeBidRequests(R,g,M,z,x,s,l)}));(0,o.PN)("Bids Requested for Auction with id: ".concat(M),e),l.checkpoint("callBids"),e.length<1?((0,o.yN)("No valid bid requests returned for auction"),re()):_.call({dispatch:oe,context:this},e)},addWinningBid:function(e){var t=n.find((function(n){return n.transactionId===e.transactionId}));Y=Y.concat(e),w.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,n),t&&!t.deferBilling&&w.ZP.callBidBillableBidder(e)},setBidTargeting:function(e){w.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:function(){return Y},getAuctionStart:function(){return g},getTimeout:function(){return z},getAuctionId:function(){return M},getAuctionStatus:function(){return O},getAdUnits:function(){return R},getAdUnitCodes:function(){return H},getBidRequests:function(){return J},getBidsReceived:function(){return Q},getNoBids:function(){return $},getNonBids:function(){return X},getFPD:function(){return s},getMetrics:function(){return l}}}var N=(0,g.z3)("sync",(function(e,n,t){this.dispatch.call(null,e,n)}),"addBidResponse"),_=(0,g.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),q=(0,g.z3)("async",(function(e,n){n&&n()}),"bidsBackCallback");function x(e,n){n.timeToRespond>e.getTimeout()+f.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function D(e,n){!function(e){var n,t=!0===y.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(t||e.dealId)&&(n=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===t?m.K.index:t;if(!n)return{};var i=r.getBidRequest(n),o={},a=Y(n.mediaType,e);X(o,a,n,i),e&&y.S.getOwn(e,C.k2.xn)&&(X(o,y.S.ownSettingsFor(e),n,i),n.sendStandardTargeting=y.S.get(e,"sendStandardTargeting"));n.native&&(o=Object.assign({},o,(0,c.Ur)(n)));return o}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},n)}(n),(0,T.Bf)(n.metrics).timeSince("addBidResponse","addBidResponse.total"),b.j8(C.FP.BID_RESPONSE,n),e.addBidReceived(n),x(e,n)}function Z(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.index,u=void 0===i?m.K.index:i,c=!0,d=(0,a.Z)(u.getMediaTypes({requestId:n.originalRequestId||n.requestId,transactionId:n.transactionId}),"video"),s=d&&(0,a.Z)(d,"context"),l=d&&(0,a.Z)(d,"useCacheKey");f.vc.getConfig("cache.url")&&(l||s!==v.gZ)&&(!n.videoCacheKey||f.vc.getConfig("cache.ignoreBidderCacheKey")?(c=!1,L(e,n,t,d)):n.vastUrl||((0,o.H)("videoCacheKey specified but not required vastUrl for video bid"),c=!1)),c&&(D(e,n),t())}var H,M,F=function(e){var n,t,r=null===(n=m.K.index.getAdUnit(e))||void 0===n?void 0:n.nativeOrtbRequest,i=null===(t=e.native)||void 0===t?void 0:t.ortb;if(r&&i){var o=(0,c.zq)(i,r);Object.assign(e.native,o)}},z=function(e){(0,d.h)(e.map((function(e){return e.bidResponse})),(function(n,t){t.forEach((function(t,r){var i=e[r],a=i.auctionInstance,u=i.bidResponse,c=i.afterBidAdded;n?((0,o.yN)("Failed to save to the video cache: ".concat(n,". Video bid must be discarded.")),x(a,u)):""===t.uuid?((0,o.yN)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),x(a,u)):(u.videoCacheKey=t.uuid,u.vastUrl||(u.vastUrl=(0,d.z)(u.videoCacheKey)),D(a,u),c())}))}))};f.vc.getConfig("cache",(function(e){H="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,M="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z,t=[[]],r=!1,i=function(e){return e()};return function(o,a,u){var c=M>0?e:i;t[t.length-1].length>=H&&t.push([]),t[t.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:u}),r||(r=!0,c((function(){t.forEach(n),t=[[]],r=!1}),M))}}(),L=(0,g.z3)("async",(function(e,n,t,r){W(e,n,t)}),"callPrebidCache");function K(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.index,i=void 0===r?m.K.index:r,a=i.getBidderRequest(e),u=i.getAdUnit(e),c=a&&a.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,o.AB)(),requestTimestamp:e.requestTimestamp||c,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:n}),null!=(null==u?void 0:u.ttlBuffer)&&(e.ttlBuffer=u.ttlBuffer),e.timeToRespond=e.responseTimestamp-e.requestTimestamp}function G(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,o=void 0===r?m.K.index:r;b.j8(C.FP.BID_ADJUSTMENT,e);var a=(null===(n=o.getBidRequest(e))||void 0===n?void 0:n.renderer)||o.getAdUnit(e).renderer,c=e.mediaType,d=o.getMediaTypes(e),l=d&&d[c],g=l&&l.renderer,p=null;g&&g.url&&g.render&&(!0!==g.backupOnly||!e.renderer)?p=g:a&&a.url&&a.render&&(!0!==a.backupOnly||!e.renderer)&&(p=a),p&&(e.renderer=s.Th.install({url:p.url,config:p.options}),e.renderer.setRender(p.render));var v=V(e.mediaType,d,f.vc.getConfig("mediaTypePriceGranularity")),h=(0,u.D)(e.cpm,"object"===(0,i.Z)(v)?v:f.vc.getConfig("customPriceBucket"),f.vc.getConfig("currency.granularityMultiplier"));return e.pbLg=h.low,e.pbMg=h.med,e.pbHg=h.high,e.pbAg=h.auto,e.pbDg=h.dense,e.pbCg=h.custom,e}function V(e,n,t){if(e&&t){if(e===h.pX){var r=(0,a.Z)(n,"".concat(h.pX,".context"),"instream");if(t["".concat(h.pX,"-").concat(r)])return t["".concat(h.pX,"-").concat(r)]}return t[e]}}var J=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?m.K.index:t,i=V(e.mediaType,r.getMediaTypes(e),f.vc.getConfig("mediaTypePriceGranularity")),o="string"==typeof e.mediaType&&i?"string"==typeof i?i:"custom":f.vc.getConfig("priceGranularity");return o},Q=function(e){return function(n){var t=e||J(n);return t===C.Ql.B7?n.pbAg:t===C.Ql.uN?n.pbDg:t===C.Ql.yE?n.pbLg:t===C.Ql.M2?n.pbMg:t===C.Ql.lj?n.pbHg:t===C.Ql.qN?n.pbCg:void 0}};function $(e,n){return{key:e,val:"function"==typeof n?function(e,t){return n(e,t)}:function(e){return(0,o.NA)(e,n)}}}function Y(e,n){var t=C.TD,r=Object.assign({},y.S.settingsFor(null));if(r[C.k2.xn]||(r[C.k2.xn]=function(){var e=C.TD;return[$(e.BIDDER,"bidderCode"),$(e.AD_ID,"adId"),$(e.PRICE_BUCKET,Q()),$(e.SIZE,"size"),$(e.DEAL,"dealId"),$(e.SOURCE,"source"),$(e.FORMAT,"mediaType"),$(e.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?[e.meta.advertiserDomains].flat()[0]:""})),$(e.ACAT,(function(e){return e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:""}))]}()),"video"===e){var i=r[C.k2.xn].slice();if(r[C.k2.xn]=i,[t.UUID,t.CACHE_ID].forEach((function(e){void 0===(0,p.sE)(i,(function(n){return n.key===e}))&&i.push($(e,"videoCacheKey"))})),f.vc.getConfig("cache.url")&&(!n||!1!==y.S.get(n,"sendStandardTargeting"))){var u=(0,o.en)(f.vc.getConfig("cache.url"));void 0===(0,p.sE)(i,(function(e){return e.key===t.CACHE_HOST}))&&i.push($(t.CACHE_HOST,(function(e){return(0,a.Z)(e,"adserverTargeting.".concat(t.CACHE_HOST))?e.adserverTargeting[t.CACHE_HOST]:u.hostname})))}}return r}function X(e,n,t,r){var i=n[C.k2.xn];return t.size=t.getSize(),(0,o.yi)(i,(function(i){var a=i.key,u=i.val;if(e[a]&&(0,o.yN)("The key: "+a+" is being overwritten"),(0,o.LQ)(u))try{u=u(t,r)}catch(e){(0,o.H)("bidmanager","ERROR",e)}(void 0===n.suppressEmptyKeys||!0!==n.suppressEmptyKeys)&&a!==C.TD.DEAL&&a!==C.TD.ACAT||!(0,o.jH)(u)&&null!=u?e[a]=u:(0,o.PN)("suppressing empty key '"+a+"' from adserver targeting")})),e}function ee(e,n){return e[n.adUnitCode]||(e[n.adUnitCode]={bids:[]}),e[n.adUnitCode].bids.push(n),e}},8653:function(e,n,t){t.d(n,{K:function(){return d}});var r=t(4358),i=t(1224),o=t(4614);function a(e){Object.assign(this,{getAuction:function(n){var t=n.auctionId;if(null!=t)return e().find((function(e){return e.getAuctionId()===t}))},getAdUnit:function(n){var t=n.transactionId;if(null!=t)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.transactionId===t}))},getMediaTypes:function(e){var n=e.transactionId,t=e.requestId;if(null!=t){var r=this.getBidRequest({requestId:t});if(null!=r&&(null==n||r.transactionId===n))return r.mediaTypes}else if(null!=n){var i=this.getAdUnit({transactionId:n});if(null!=i)return i.mediaTypes}},getBidderRequest:function(n){var t=n.requestId,r=n.bidderRequestId;if(null!=t||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==t?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===t}))}))}},getBidRequest:function(n){var t=n.requestId;if(null!=t)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===t}))}})}var u=t(5644),c=t(9128);var d=function(){var e=[],n={};return n.addWinningBid=function(n){var t=(0,c.Bf)(n.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","render.pending"),t.timeBetween("requestBids","bidWon","render.e2e");var i=(0,o.sE)(e,(function(e){return e.getAuctionId()===n.auctionId}));i?(n.status=u.UE.fe,i.addWinningBid(n)):(0,r.yN)("Auction not found when adding winning bid")},n.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.xH,[])},n.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.xH,[])},n.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(r.xH,[])},n.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===i.mv)return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e}))},n.getAllBidsForAdUnitCode=function(n){return e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e&&e.adUnitCode===n}))},n.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.xH,[])},n.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.xH,[]).filter(r.tT)},n.createAuction=function(n){var t=(0,i.vO)(n);return function(n){e.push(n)}(t),t},n.findBidByAdId=function(n){return(0,o.sE)(e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]),(function(e){return e.adId===n}))},n.getStandardBidderAdServerTargeting=function(){return(0,i.LX)()[u.k2.xn]},n.setStatusForBids=function(t,r){var i=n.findBidByAdId(t);if(i&&(i.status=r),i&&r===u.UE.CK){var a=(0,o.sE)(e,(function(e){return e.getAuctionId()===i.auctionId}));a&&a.setBidTargeting(i)}},n.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},n.clearAllAuctions=function(){e.length=0},n.index=new a((function(){return e})),n}()},5975:function(e,n,t){t.d(n,{S:function(){return g}});var r=t(5671),i=t(3144),o=t(265),a=t(4358),u=t(8640),c=t(5644);function d(e,n){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.add(e)}function s(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var f=new WeakSet;function l(e){return null==e?this.defaultScope:e}var g=new(function(){function e(n,t){(0,r.Z)(this,e),d(this,f),this.getSettings=n,this.defaultScope=t}return(0,i.Z)(e,[{key:"get",value:function(e,n){var t=this.getOwn(e,n);return void 0===t&&(t=this.getOwn(null,n)),t}},{key:"getOwn",value:function(e,n){return e=s(this,f,l).call(this,e),(0,o.Z)(this.getSettings(),"".concat(e,".").concat(n))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(n){return n!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return(0,a.Ee)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=s(this,f,l).call(this,e),this.getSettings()[e]||{}}}]),e}())((function(){return(0,u.R)().bidderSettings||{}}),c.k2.zF)},9626:function(e,n,t){t.d(n,{m:function(){return o}});var r=t(4358);function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.src,i=void 0===t?"client":t,o=n.bidder,a=void 0===o?"":o,u=n.bidId,c=n.transactionId,d=n.auctionId,s=i,f=e||0;function l(){switch(f){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}this.bidderCode=a,this.width=0,this.height=0,this.statusMessage=l(),this.adId=(0,r._d)(),this.requestId=u,this.transactionId=c,this.auctionId=d,this.mediaType="banner",this.source=s,this.getStatusCode=function(){return f},this.getSize=function(){return this.width+"x"+this.height},this.getIdentifiers=function(){return{src:this.source,bidder:this.bidderCode,bidId:this.requestId,transactionId:this.transactionId,auctionId:this.auctionId}}}function o(e,n){return new i(e,n)}},3193:function(e,n,t){t.d(n,{FD:function(){return g},vc:function(){return y}});var r=t(4942),i=t(1002),o=t(3324),a=t(6463),u=t(4614),c=t(4358),d=t(265),s=t(5644);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var l="TRUE"===(0,c.rD)(s.f).toUpperCase(),g="random",p={};p[g]=!0,p.fixed=!0;var v=g,h={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},m="*";var y=function(){var e,n,t,s=[],g=null;function y(){function r(e){return d[e].val}function i(e,n){d[e].val=n}e={};var d={publisherDomain:{set:function(e){null!=e&&(0,c.yN)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),i("publisherDomain",e)}},priceGranularity:{val:h.MEDIUM,set:function(e){g(e)&&("string"==typeof e?i("priceGranularity",f(e)?e:h.MEDIUM):(0,c.PO)(e)&&(i("customPriceBucket",e),i("priceGranularity",h.CUSTOM),(0,c.ji)("Using custom price granularity")))}},customPriceBucket:{val:{},set:function(){}},mediaTypePriceGranularity:{val:{},set:function(e){null!=e&&i("mediaTypePriceGranularity",Object.keys(e).reduce((function(n,t){return g(e[t])?"string"==typeof e?n[t]=f(e[t])?e[t]:r("priceGranularity"):(0,c.PO)(e)&&(n[t]=e[t],(0,c.ji)("Using custom price granularity for ".concat(t))):(0,c.yN)("Invalid price granularity for media type: ".concat(t)),n}),{}))}},bidderSequence:{val:v,set:function(e){p[e]?i("bidderSequence",e):(0,c.yN)("Invalid order: ".concat(e,". Bidder Sequence was not set."))}},auctionOptions:{val:{},set:function(e){(function(e){if(!(0,c.PO)(e))return(0,c.yN)("Auction Options must be an object"),!1;for(var n=0,t=Object.keys(e);n<t.length;n++){var r=t[n];if("secondaryBidders"!==r&&"suppressStaleRender"!==r)return(0,c.yN)("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!(0,c.kJ)(e[r]))return(0,c.yN)("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(c.d8))return(0,c.yN)("Auction Options ".concat(r," must be only string")),!1}else if("suppressStaleRender"===r&&!(0,c.jn)(e[r]))return(0,c.yN)("Auction Options ".concat(r," must be of type boolean")),!1}return!0})(e)&&i("auctionOptions",e)}}},s={debug:l,bidderTimeout:3e3,enableSendAllBids:true,useBidCache:false,deviceAccess:true,timeoutBuffer:400,disableAjaxTimeout:false,maxNestedIframes:10};function f(e){return(0,u.sE)(Object.keys(h),(function(n){return e===h[n]}))}function g(e){if(!e)return(0,c.H)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)f(e)||(0,c.yN)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if((0,c.PO)(e)&&!(0,a.t)(e))return(0,c.H)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}Object.defineProperties(s,Object.fromEntries(Object.entries(d).map((function(e){var n=(0,o.Z)(e,2),t=n[0],a=n[1];return[t,Object.assign({get:r.bind(null,t),set:i.bind(null,t),enumerable:!0},a)]})))),n&&S(Object.keys(n).reduce((function(e,t){return n[t]!==s[t]&&(e[t]=s[t]||{}),e}),{})),n=s,t={}}function b(){if(g&&t&&(0,c.PO)(t[g])){var e=t[g],r=new Set(Object.keys(n).concat(Object.keys(e)));return(0,u.Oc)(r).reduce((function(t,r){return void 0===e[r]?t[r]=n[r]:void 0===n[r]?t[r]=e[r]:(0,c.PO)(e[r])?t[r]=(0,c.Ee)({},n[r],e[r]):t[r]=e[r],t}),{})}return Object.assign({},n)}var w=[b,function(){var e=b();return Object.defineProperty(e,"ortb2",{get:function(){throw new Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map((function(e){return function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var n=arguments.length<=0?void 0:arguments[0];return n?(0,d.Z)(e(),n):b()}return j.apply(void 0,arguments)}})),C=(0,o.Z)(w,2),A=C[0],T=C[1],E=[T,A].map((function(e){return function(){var n=e.apply(void 0,arguments);return n&&"object"===(0,i.Z)(n)&&(n=(0,c.I8)(n)),n}})),O=(0,o.Z)(E,2),k=O[0],I=O[1];function B(t){if((0,c.PO)(t)){var r=Object.keys(t),i={};r.forEach((function(r){var o=t[r];(0,c.PO)(e[r])&&(0,c.PO)(o)&&(o=Object.assign({},e[r],o));try{i[r]=n[r]=o}catch(e){(0,c.yN)("Cannot set config for property ".concat(r," : "),e)}})),S(i)}else(0,c.H)("setConfig options must be an object")}function j(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;if("string"!=typeof e&&(i=e,e=m,t=n||{}),"function"==typeof i){var o={topic:e,callback:i};return s.push(o),t.init&&i(e===m?T():(0,r.Z)({},e,T(e))),function(){s.splice(s.indexOf(o),1)}}(0,c.H)("listener must be a function")}function S(e){var n=Object.keys(e);s.filter((function(e){return(0,u.q9)(n,e.topic)})).forEach((function(n){n.callback((0,r.Z)({},n.topic,e[n.topic]))})),s.filter((function(e){return e.topic===m})).forEach((function(n){return n.callback(e)}))}function U(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{r(e),e.bidders.forEach((function(r){t[r]||(t[r]={}),Object.keys(e.config).forEach((function(i){var o=e.config[i];if((0,c.PO)(o)){var a=n?c.Ee:Object.assign;t[r][i]=a({},t[r][i]||{},o)}else t[r][i]=o}))}))}catch(e){(0,c.H)(e)}function r(e){if(!(0,c.PO)(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!(0,c.PO)(e.config))throw"setBidderConfig bidder options must contain a config object"}}function P(e,n){g=e;try{return n()}finally{R()}}function R(){g=null}return y(),{getCurrentBidder:function(){return g},resetBidder:R,getConfig:T,getAnyConfig:A,readConfig:k,readAnyConfig:I,setConfig:B,mergeConfig:function(e){if((0,c.PO)(e)){var n=(0,c.Ee)(b(),e);return B(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},n)),n}(0,c.H)("mergeConfig input must be an object")},setDefaults:function(t){(0,c.PO)(e)?(Object.assign(e,t),Object.assign(n,t)):(0,c.H)("defaults must be an object")},resetConfig:y,runWithBidder:P,callbackWithBidder:function(e){return function(n){return function(){if("function"==typeof n){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return P(e,c.ak.call.apply(c.ak,[n,this].concat(r)))}(0,c.yN)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:U,getBidderConfig:function(){return t},mergeBidderConfig:function(e){return U(e,!0)}}}()},2513:function(e,n,t){function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&r(e,n)}t.d(n,{qh:function(){return R},iK:function(){return B},$e:function(){return j},LO:function(){return I},$P:function(){return b}});var o=t(1002);function a(e,n){if(n&&("object"===(0,o.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var c=t(5671),d=t(3144),s=t(4942),f=t(8916),l=t(2793),g=t(4358),p=t(8792);function v(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=u(e);if(n){var i=u(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return a(this,t)}}function h(e,n,t){m(e,n),n.set(e,t)}function m(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function y(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var b=Object.freeze({}),w=new WeakMap,C=new WeakMap,A=new WeakMap,T=new WeakMap,E=new WeakSet,O=function(){function e(){var n,t;(0,c.Z)(this,e),m(n=this,t=E),t.add(n),h(this,w,{writable:!0,value:void 0}),h(this,C,{writable:!0,value:void 0}),h(this,A,{writable:!0,value:void 0}),h(this,T,{writable:!0,value:void 0}),(0,s.Z)(this,"generatedTime",void 0),this.reset()}return(0,d.Z)(e,[{key:"reset",value:function(){(0,l.Z)(this,A,(0,p.P)()),(0,l.Z)(this,w,!1),(0,l.Z)(this,C,null),(0,l.Z)(this,T,!1),this.generatedTime=null}},{key:"enable",value:function(){(0,l.Z)(this,w,!0)}},{key:"enabled",get:function(){return(0,f.Z)(this,w)}},{key:"ready",get:function(){return(0,f.Z)(this,T)}},{key:"promise",get:function(){return(0,f.Z)(this,T)?p.Z.resolve((0,f.Z)(this,C)):((0,f.Z)(this,w)||y(this,E,k).call(this,null),(0,f.Z)(this,A).promise)}},{key:"setConsentData",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,g.AB)();this.generatedTime=n,y(this,E,k).call(this,e)}},{key:"getConsentData",value:function(){return(0,f.Z)(this,C)}}]),e}();function k(e){(0,l.Z)(this,T,!0),(0,l.Z)(this,C,e),(0,f.Z)(this,A).resolve(e)}var I=function(e){i(t,e);var n=v(t);function t(){return(0,c.Z)(this,t),n.apply(this,arguments)}return(0,d.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),t}(O),B=function(e){i(t,e);var n=v(t);function t(){return(0,c.Z)(this,t),n.apply(this,arguments)}return(0,d.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,g.d8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),t}(O),j=function(e){i(t,e);var n=v(t);function t(){return(0,c.Z)(this,t),n.apply(this,arguments)}return(0,d.Z)(t,[{key:"getConsentMeta",value:function(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}}]),t}(O);var S,U,P,R=(S={},U={},P={},{register:function(e,n,t){t&&((S[n]=S[n]||{})[e]=t,U.hasOwnProperty(n)?U[n]!==t&&(U[n]=P):U[n]=t)},get:function(e){var n={modules:S[e]||{}};return U.hasOwnProperty(e)&&U[e]!==P&&(n.gvlid=U[e]),n}})},6463:function(e,n,t){t.d(n,{D:function(){return f},t:function(){return g}});var r=t(4614),i=t(4358),o=t(3193),a={buckets:[{max:5,increment:.5}]},u={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},d={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},s={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function f(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":l(e,a,t),med:""===r?"":l(e,u,t),high:""===r?"":l(e,c,t),auto:""===r?"":l(e,s,t),dense:""===r?"":l(e,d,t),custom:""===r?"":l(e,n,t)}}function l(e,n,t){var a="";if(!g(n))return a;var u=n.buckets.reduce((function(e,n){return e.max>n.max?e:n}),{max:0}),c=0,d=(0,r.sE)(n.buckets,(function(n){if(e>u.max*t){var r=n.precision;void 0===r&&(r=2),a=(n.max*t).toFixed(r)}else{if(e<=n.max*t&&e>=c*t)return n.min=c,n;c=n.max}}));return d&&(a=function(e,n,t){var r=void 0!==n.precision?n.precision:2,a=n.increment*t,u=n.min*t,c=Math.floor,d=o.vc.getConfig("cpmRoundingFunction");"function"==typeof d&&(c=d);var s,f,l=Math.pow(10,r+2),g=(e*l-u*l)/(a*l);try{s=c(g)*a+u}catch(e){f=!0}(f||"number"!=typeof s)&&((0,i.yN)("Invalid rounding function passed in config"),s=Math.floor(g)*a+u);return(s=Number(s.toFixed(10))).toFixed(r)}(e,d,t)),a}function g(e){if((0,i.xb)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var n=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(n=!1)})),n}},2021:function(e,n,t){t.d(n,{S1:function(){return l},j8:function(){return p},on:function(){return f},vw:function(){return g}});var r=t(4358),i=t(5644),o=Array.prototype.slice,a=Array.prototype.push,u=r.HA(i.FP,(function(e){return e})),c=i.aI,d=[],s=function(){var e={},n={};function t(n,t){r.ji("Emitting event for: "+n);var i=t[0]||{},o=i[c[n]],u=e[n]||{que:[]},s=r.HA(u,(function(e,n){return n})),f=[];d.push({eventType:n,args:i,id:o,elapsedTime:r.bd()}),o&&r.r3(s,o)&&a.apply(f,u[o].que),a.apply(f,u.que),r.yi(f,(function(e){if(e)try{e.apply(null,t)}catch(e){r.H("Error executing handler:","events.js",e)}}))}return n.on=function(n,t,i){if(function(e){return r.r3(u,e)}(n)){var o=e[n]||{que:[]};i?(o[i]=o[i]||{que:[]},o[i].que.push(t)):o.que.push(t),e[n]=o}else r.H("Wrong event name : "+n+" Valid event names :"+u)},n.emit=function(e){var n=o.call(arguments,1);t(e,n)},n.off=function(n,t,i){var o=e[n];r.xb(o)||r.xb(o.que)&&r.xb(o[i])||i&&(r.xb(o[i])||r.xb(o[i].que))||(i?r.yi(o[i].que,(function(e){var n=o[i].que;e===t&&n.splice(n.indexOf(e),1)})):r.yi(o.que,(function(e){var n=o.que;e===t&&n.splice(n.indexOf(e),1)})),e[n]=o)},n.get=function(){return e},n.addEvents=function(e){u=u.concat(e)},n.getEvents=function(){var e=[];return r.yi(d,(function(n){var t=Object.assign({},n);e.push(t)})),e},n}();r.u2(s.emit.bind(s));var f=s.on,l=s.off,g=(s.get,s.getEvents),p=s.emit;s.addEvents},4078:function(e,n,t){t.d(n,{S:function(){return w}});var r=t(3324),i=t(2797),o=t(5102),a=t(8196),u=t(4358),c=t(6475),d=t(3193),s=t(8792),f=["architecture","bitness","model","platformVersion","fullVersionList"],l=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,t=(0,u.xb)(n)?null:Object.freeze(p(1,n));return function(){return t}}(),g=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,t={},r=new WeakMap;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;if(!r.has(e)){var i=Array.from(e);i.sort(),r.set(e,i.join("|"))}var o=r.get(e);if(!t.hasOwnProperty(o))try{t[o]=n.getHighEntropyValues(e).then((function(e){return(0,u.xb)(e)?null:Object.freeze(p(2,e))})).catch((function(){return null}))}catch(e){t[o]=s.Z.resolve(null)}return t[o]}}();function p(e,n){function t(e,n){var t={brand:e};return(0,u.d8)(n)&&!(0,u.jH)(n)&&(t.version=n.split(".")),t}var r={source:e};return n.platform&&(r.platform=t(n.platform,n.platformVersion)),(n.fullVersionList||n.brands)&&(r.browsers=(n.fullVersionList||n.brands).map((function(e){return t(e.brand,e.version)}))),n.hasOwnProperty("mobile")&&(r.mobile=n.mobile?1:0),["model","bitness","architecture"].forEach((function(e){var t=n[e];(0,u.d8)(t)&&(r[e]=t)})),r}var v=t(3790);function h(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return m(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var y={getRefererInfo:o.nH,findRootDomain:a.W,getWindowTop:u.Zy,getWindowSelf:u.e7,getHighEntropySUA:g,getLowEntropySUA:l},b=(0,v.A_)("FPD"),w=(0,i.z3)("sync",(function(e){return s.Z.all([e,(n=d.vc.getConfig("firstPartyData.uaHints"),Array.isArray(n)&&0!==n.length?y.getHighEntropySUA(n):s.Z.resolve(y.getLowEntropySUA())).catch((function(){return null}))]).then((function(e){var n=(0,r.Z)(e,2),t=n[0],i=n[1],o=y.getRefererInfo();!function(e){["app","site","device"].forEach((function(n){var t=d.vc.getConfig(n);null!=t&&(e[n]=(0,u.Ee)({},t,e[n]))}))}(t),Object.entries(T).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],a=(0,n[1])(t,o);a&&Object.keys(a).length>0&&(t[i]=(0,u.Ee)({},a,t[i]))})),i&&(0,c.N)(t,"device.sua",Object.assign({},i,t.device.sua)),t=b(t);var a,s=h(v.Iq);try{for(s.s();!(a=s.n()).done;){var f=a.value;if((0,v.Qg)(t,f)){t[f]=(0,u.Ee)({},E(t,o),t[f]);break}}}catch(e){s.e(e)}finally{s.f()}return t}));var n}));function C(e){try{return e(y.getWindowTop())}catch(n){return e(y.getWindowSelf())}}function A(e){return(0,u.iG)(e,Object.keys(e))}var T={site:function(e,n){if(!v.Iq.filter((function(e){return"site"!==e})).some(v.Qg.bind(null,e)))return A({page:n.page,ref:n.ref})},device:function(){return C((function(e){return{w:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,h:e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,dnt:(0,u.oV)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()}}))},regs:function(){var e={};C((function(e){return e.navigator.globalPrivacyControl}))&&(0,c.N)(e,"ext.gpc",1);var n=d.vc.getConfig("coppa");return"boolean"==typeof n&&(e.coppa=n?1:0),e}};function E(e,n){var t,r,i,a=(0,o.hh)(n.page,{noLeadingWww:!0});return A({domain:a,keywords:null===(t=C((function(e){return e.document.querySelector("meta[name='keywords']")})))||void 0===t||null===(r=t.content)||void 0===r||null===(i=r.replace)||void 0===i?void 0:i.call(r,/\s/g,""),publisher:A({domain:y.findRootDomain(a)})})}},3790:function(e,n,t){t.d(n,{A_:function(){return o},Iq:function(){return i},Qg:function(){return a}});var r=t(4358),i=["dooh","app","site"];function o(e){return function(n){return i.reduce((function(t,i){return a(n,i)&&(null!=t?((0,r.yN)("".concat(e," specifies both '").concat(t,"' and '").concat(i,"'; dropping the latter.")),delete n[i]):t=i),t}),null),n}}function a(e,n){return null!=e[n]&&Object.keys(e[n]).length>0}},8196:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(4358),i=(0,t(5164).eA)("fpdEnrichment"),o=(0,r.HP)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;var n,t,o=e.split(".");if(2===o.length)return e;var a=-2,u="_rdc".concat(Date.now()),c="writeable";do{n=o.slice(a).join(".");var d=new Date((0,r.AB)()+1e4).toUTCString();i.setCookie(u,c,d,"Lax",n,void 0);var s=i.getCookie(u,void 0);s===c?(t=!1,i.setCookie(u,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(a+=-1,t=Math.abs(a)<=o.length)}while(t);return n}))},2797:function(e,n,t){t.d(n,{Bx:function(){return p},Cd:function(){return d},IF:function(){return v},bA:function(){return g},o0:function(){return f},v5:function(){return s},z3:function(){return u}});var r=t(9062),i=t(1432),o=t.n(i),a=t(8792),u=o()({ready:o().SYNC|o().ASYNC|o().QUEUE}),c=(0,a.P)();u.ready=function(){var e=u.ready;return function(){try{return e.apply(u,arguments)}finally{c.resolve()}}}();var d=c.promise,s=u.get;function f(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15,r=e.getHooks({hook:n});0===r.length&&e.before(n,t)}var l={};function g(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.postInstallAllowed,o=void 0!==i&&i;u("async",(function(t){t.forEach((function(e){return n.apply(void 0,(0,r.Z)(e))})),o&&(l[e]=n)}),e)([])}function p(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var i=l[e];if(i)return i.apply(void 0,t);s(e).before((function(e,n){n.push(t),e(n)}))}function v(e,n){return Object.defineProperties(n,Object.fromEntries(["before","after","getHooks","removeAll"].map((function(n){return[n,{get:function(){return e[n]}}]})))),n}},4679:function(e,n,t){t.d(n,{B5:function(){return r},Mk:function(){return o},Oh:function(){return a},pX:function(){return i}});var r="native",i="video",o="banner",a="adpod"},59:function(e,n,t){t.d(n,{Fb:function(){return j},JL:function(){return x},Sg:function(){return h},Ur:function(){return N},e6:function(){return R},eK:function(){return q},lY:function(){return M},r4:function(){return U},xc:function(){return m},zq:function(){return W}});var r=t(9062),i=t(3324),o=t(4942),a=t(265),u=t(4358),c=t(4614),d=t(8653),s=t(5644),f=t(4679);function l(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return g(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=[],m=Object.keys(s.FY).map((function(e){return s.FY[e]})),y={image:{ortb:{ver:"1.2",assets:[{required:1,id:1,img:{type:3,wmin:100,hmin:100}},{required:1,id:2,title:{len:140}},{required:1,id:3,data:{type:1}},{required:0,id:4,data:{type:2}},{required:0,id:5,img:{type:1,wmin:20,hmin:20}}]},image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}},b=s.s$,w=s.oF,C=s.V1,A=s.zA,T=s.FY,E=L(C),O=L(b),k={img:1,js:2,1:"img",2:"js"},I=1;function B(e){if(e&&e.type&&function(e){if(!e||!(0,c.q9)(Object.keys(y),e))return(0,u.H)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type)&&(e=y[e.type]),!e||!e.ortb||S(e.ortb))return e}function j(e){e.forEach((function(e){var n=e.nativeParams||(0,a.Z)(e,"mediaTypes.native");n&&(e.nativeParams=B(n)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(!e&&!(0,u.PO)(e))return void(0,u.H)("Native assets object is empty or not an object: ",e);var n={ver:"1.2",assets:[]};for(var t in e)if(!A.includes(t))if(T.hasOwnProperty(t)){var r=e[t],i=0;r.required&&(0,u.jn)(r.required)&&(i=Number(r.required));var o={id:n.assets.length,required:i};if(t in C)o.data={type:b[C[t]]},r.len&&(o.data.len=r.len);else if("icon"===t||"image"===t){if(o.img={type:"icon"===t?w.ICON:w.MAIN},r.aspect_ratios)if((0,u.kJ)(r.aspect_ratios))if(r.aspect_ratios.length){var a=r.aspect_ratios[0],c=a.min_width,d=a.min_height;(0,u.U)(c)&&(0,u.U)(d)?(o.img.wmin=c,o.img.hmin=d):(0,u.H)("image.aspect_ratios min_width or min_height are invalid: ",c,d);var s=r.aspect_ratios.filter((function(e){return e.ratio_width&&e.ratio_height})).map((function(e){return"".concat(e.ratio_width,":").concat(e.ratio_height)}));s.length>0&&(o.img.ext={aspectratios:s})}else(0,u.H)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,u.H)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,u.U)(r.sizes[0])&&(0,u.U)(r.sizes[1])?(o.img.w=r.sizes[0],o.img.h=r.sizes[1],delete o.img.hmin,delete o.img.wmin):(0,u.H)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===t?o.title={len:r.len||140}:"ext"===t&&(o.ext=r,delete o.required);n.assets.push(o)}else(0,u.H)("Unrecognized native asset code: ".concat(t,". Asset will be ignored."));return n}(e.nativeParams))}))}function S(e){var n=e.assets;if(!Array.isArray(n)||0===n.length)return(0,u.H)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",n),!1;var t=n.map((function(e){return e.id}));return n.length!==new Set(t).size||t.some((function(e){return e!==parseInt(e,10)}))?((0,u.H)("each asset object must have 'id' property, it must be unique and it must be an integer"),!1):e.hasOwnProperty("eventtrackers")&&!Array.isArray(e.eventtrackers)?((0,u.H)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):n.every((function(e){return function(e){if(!(0,u.PO)(e))return(0,u.H)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,u.hj)(e.img.w)&&!(0,u.hj)(e.img.wmin))return(0,u.H)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,u.hj)(e.img.h)&&!(0,u.hj)(e.img.hmin))return(0,u.H)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,u.hj)(e.title.len))return(0,u.H)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,u.hj)(e.data.type))return(0,u.H)("for data asset 'type' property must be a number"),!1}else if(e.video&&!(Array.isArray(e.video.mimes)&&Array.isArray(e.video.protocols)&&(0,u.hj)(e.video.minduration)&&(0,u.hj)(e.video.maxduration)))return(0,u.H)("video asset is not properly configured"),!1;return!0}(e)}))}function U(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,i=void 0===r?d.K.index:r,o=i.getAdUnit(e);if(!o)return!1;var a=o.nativeOrtbRequest,u=(null===(n=e.native)||void 0===n?void 0:n.ortb)||z(e.native,a);return P(u,a)}function P(e,n){if(!(0,a.Z)(e,"link.url"))return(0,u.H)("native response doesn't have 'link' property. Ortb response: ",e),!1;var t=n.assets.filter((function(e){return 1===e.required})).map((function(e){return e.id})),r=e.assets.map((function(e){return e.id})),i=t.every((function(e){return(0,c.q9)(r,e)}));return i||(0,u.H)("didn't receive a bid with all required assets. Required ids: ".concat(t,", but received ids in response: ").concat(r)),i}function R(e,n){var t=n.native.ortb||F(n.native);return"click"===e.action?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).fetchURL,r=void 0===t?u.hq:t;if(n){var i,o=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,n){return e[n.id]=n.link,e}),{}),a=(null===(i=e.link)||void 0===i?void 0:i.clicktrackers)||[],c=o[n],d=a;c&&(d=c.clicktrackers||[]),d.forEach((function(e){return r(e)}))}else{var s;((null===(s=e.link)||void 0===s?void 0:s.clicktrackers)||[]).forEach((function(e){return r(e)}))}}(t,null==e?void 0:e.assetId):function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.runMarkup,r=void 0===t?function(e){return(0,u.$8)(e)}:t,i=n.fetchURL,o=void 0===i?u.hq:i,a=(e.eventtrackers||[]).filter((function(e){return e.event===I})).reduce((function(e,n){return k.hasOwnProperty(n.method)&&e[k[n.method]].push(n.url),e}),{img:[],js:[]}),c=a.img,d=a.js;e.imptrackers&&(c=c.concat(e.imptrackers));c.forEach((function(e){return o(e)})),d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),e.jstracker&&(d=d.concat([e.jstracker]));d.length&&r(d.join("\n"))}(t),e.action}function N(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?d.K.index:t,i={},o=r.getAdUnit(e);(0,a.Z)(o,"nativeParams.rendererUrl")?e.native.rendererUrl=D(o.nativeParams.rendererUrl):(0,a.Z)(o,"nativeParams.adTemplate")&&(e.native.adTemplate=D(o.nativeParams.adTemplate));var u=!1!==(0,a.Z)(o,"nativeParams.sendTargetingKeys"),c=Z(o),s=v(v({},e.native),e.native.ext);return delete s.ext,Object.keys(s).forEach((function(n){var t=c[n],r=D(e.native[n])||D((0,a.Z)(e,"native.ext.".concat(n)));if("adTemplate"!==n&&t&&r){var d=(0,a.Z)(o,"nativeParams.".concat(n,".sendId"));if("boolean"!=typeof d&&(d=(0,a.Z)(o,"nativeParams.ext.".concat(n,".sendId"))),d)r="".concat(t,":").concat(e.adId);var s=(0,a.Z)(o,"nativeParams.".concat(n,".sendTargetingKeys"));"boolean"!=typeof s&&(s=(0,a.Z)(o,"nativeParams.ext.".concat(n,".sendTargetingKeys"))),("boolean"==typeof s?s:u)&&(i[t]=r)}})),i}function _(e,n,t){var r,i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=o.index,u=void 0===a?d.K.index:a,c={message:"assetResponse",adId:e.adId},f=u.getAdUnit(n),l=n.native;return n.native.ortb?c.ortb=n.native.ortb:null!==(r=f.mediaTypes)&&void 0!==r&&null!==(i=r.native)&&void 0!==i&&i.ortb&&(c.ortb=z(n.native,f.nativeOrtbRequest)),c.assets=[],(null==t?Object.keys(l):t).forEach((function(e){if("adTemplate"===e&&l[e])c.adTemplate=D(l[e]);else if("rendererUrl"===e&&l[e])c.rendererUrl=D(l[e]);else if("ext"===e)Object.keys(l[e]).forEach((function(n){if(l[e][n]){var t=D(l[e][n]);c.assets.push({key:n,value:t})}}));else if(l[e]&&s.FY.hasOwnProperty(e)){var n=D(l[e]);c.assets.push({key:e,value:n})}})),c}function q(e,n){var t=e.assets.map((function(e){return(0,u.V9)(s.FY,e)}));return _(e,n,t)}function x(e,n){return _(e,n,null)}function D(e){return(null==e?void 0:e.url)||e}function Z(e){var n={};return(0,a.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){n[e]="hb_native_".concat(e)})),v(v({},s.FY),n)}function H(e){if(S(e)){var n,t={},r=l(e.assets);try{var i=function(){var e=n.value;if(e.title){var r={required:!!e.required&&Boolean(e.required),len:e.title.len};t.title=r}else if(e.img){var i={required:!!e.required&&Boolean(e.required)};if(e.img.w&&e.img.h)i.sizes=[e.img.w,e.img.h];else if(e.img.wmin&&e.img.hmin){var o=function(e,n){for(;e&&n&&e!==n;)e>n?e-=n:n-=e;return e||n}(e.img.wmin,e.img.hmin);i.aspect_ratios=[{min_width:e.img.wmin,min_height:e.img.hmin,ratio_width:e.img.wmin/o,ratio_height:e.img.hmin/o}]}e.img.type===w.MAIN?t.image=i:t.icon=i}else if(e.data){var a=Object.keys(b).find((function(n){return b[n]===e.data.type})),u=Object.keys(C).find((function(e){return C[e]===a}));t[u]={required:!!e.required&&Boolean(e.required)},e.data.len&&(t[u].len=e.data.len)}};for(r.s();!(n=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}return t}}function M(e){if(!e||!(0,u.kJ)(e))return e;if(!e.some((function(e){var n;return null===(n=((null==e?void 0:e.mediaTypes)||{})[f.B5])||void 0===n?void 0:n.ortb})))return e;var n,t=(0,u.I8)(e),r=l(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.mediaTypes&&i.mediaTypes[f.B5]&&i.mediaTypes[f.B5].ortb&&(i.mediaTypes[f.B5]=Object.assign((0,u.ei)(i.mediaTypes[f.B5],A),H(i.mediaTypes[f.B5].ortb)),i.nativeParams=B(i.mediaTypes[f.B5]))}}catch(e){r.e(e)}finally{r.f()}return t}function F(e){var n={link:{},eventtrackers:[]};return Object.entries(e).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],o=t[1];switch(r){case"clickUrl":n.link.url=o;break;case"clickTrackers":n.link.clicktrackers=Array.isArray(o)?o:[o];break;case"impressionTrackers":(Array.isArray(o)?o:[o]).forEach((function(e){n.eventtrackers.push({event:I,method:k.img,url:e})}));break;case"javascriptTrackers":n.jstracker=Array.isArray(o)?o.join(""):o}})),n}function z(e,n){var t=v(v({},F(e)),{},{assets:[]});function r(e,r){var i=n.assets.find(e);null!=i&&(r(i=(0,u.I8)(i)),t.assets.push(i))}return Object.keys(e).filter((function(n){return!!e[n]})).forEach((function(n){var t=D(e[n]);switch(n){case"title":r((function(e){return null!=e.title}),(function(e){e.title={text:t}}));break;case"image":case"icon":var i="image"===n?w.MAIN:w.ICON;r((function(e){return null!=e.img&&e.img.type===i}),(function(e){e.img={url:t}}));break;default:n in C&&r((function(e){return null!=e.data&&e.data.type===b[C[n]]}),(function(e){e.data={value:t}}))}})),t}function W(e,n){var t={},i=(null==n?void 0:n.assets)||[];t.clickUrl=e.link.url,t.privacyLink=e.privacy;var o,a=l((null==e?void 0:e.assets)||[]);try{var u=function(){var e=o.value,n=i.find((function(n){return e.id===n.id}));e.title?t.title=e.title.text:e.img?t[n.img.type===w.MAIN?"image":"icon"]={url:e.img.url,width:e.img.w,height:e.img.h}:e.data&&(t[E[O[n.data.type]]]=e.data.value)};for(a.s();!(o=a.n()).done;)u()}catch(e){a.e(e)}finally{a.f()}t.impressionTrackers=[];var c,d=[];null!=n&&n.imptrackers&&(c=t.impressionTrackers).push.apply(c,(0,r.Z)(n.imptrackers));var s,f=l((null==e?void 0:e.eventtrackers)||[]);try{for(f.s();!(s=f.n()).done;){var g=s.value;g.event===I&&g.method===k.img&&t.impressionTrackers.push(g.url),g.event===I&&g.method===k.js&&d.push(g.url)}}catch(e){f.e(e)}finally{f.f()}return d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),null!=e&&e.jstracker&&d.push(e.jstracker),d.length&&(t.javascriptTrackers=d.join("\n")),t}function L(e){var n={};for(var t in e)n[e[t]]=t;return n}},4614:function(e,n,t){function r(e,n,t){return e&&e.includes(n,t)||!1}function i(){return Array.from.apply(Array,arguments)}function o(e,n,t){return e&&e.find(n,t)}t.d(n,{Oc:function(){return i},q9:function(){return r},sE:function(){return o}})},5291:function(e,n,t){t.d(n,{O5:function(){return ge}});var r=t(3324),i=t(4942),o=t(8640),a=t(4358),u=t(265),c=t(6475),d=t(2021),s=t(59),f=t(5644),l=t(8653),g=t(4614),p=t(5706),v=t(3193),h=f.FP,m=h.AD_RENDER_FAILED,y=h.AD_RENDER_SUCCEEDED;function b(e){var n=e.reason,t=e.message,r=e.bid,i=e.id,o={reason:n,message:t};r&&(o.bid=r),i&&(o.adId=i),(0,a.H)(t),d.j8(m,o)}function w(e){var n=e.doc,t=e.bid,r=e.id,i={doc:n};t&&(i.bid=t),r&&(i.adId=r),d.j8(y,i)}var C=f.FP.BID_WON,A=f.FP.STALE_RENDER,T=new WeakSet,E={"Prebid Request":function(e,n,t){if(null==t)return void b({reason:f.q_.CANNOT_FIND_AD,message:"Cannot find ad for cross-origin render request: '".concat(n.adId,"'"),id:n.adId});if(t.status===f.UE.fe&&((0,a.yN)("Ad id ".concat(t.adId," has been rendered before")),d.j8(A,t),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,n){var t=e.adId,r=e.ad,i=e.adUrl,o=e.width,u=e.height,c=e.renderer,d=e.cpm,s=e.originalCpm;(0,p.Pd)(c)?(0,p._U)(c,e):t&&(k(e),n({message:"Prebid Response",ad:(0,a.ew)(r,s||d),adUrl:(0,a.ew)(i,s||d),adId:t,width:o,height:u}))}(t,e)}catch(e){return void b({reason:f.q_.EXCEPTION,message:e.message,id:n.adId,bid:t})}l.K.addWinningBid(t),d.j8(C,t)},"Prebid Event":function(e,n,t){if(null==t)return void(0,a.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));if(t.status!==f.UE.fe)return void(0,a.yN)("Received x-origin event request without corresponding render request for ad '".concat(n.adId,"'"));switch(n.event){case f.FP.AD_RENDER_FAILED:b({bid:t,id:n.adId,reason:n.info.reason,message:n.info.message});break;case f.FP.AD_RENDER_SUCCEEDED:w({doc:null,bid:t,id:n.adId});break;default:(0,a.H)("Received x-origin event request for unsupported event: '".concat(n.event,"' (adId: '").concat(n.adId,"')"))}}};function O(e){var n=e.message?"message":"data",t={};try{t=JSON.parse(e[n])}catch(e){return}if(t&&t.adId&&t.message){var r=(0,g.sE)(l.K.getBidsReceived(),(function(e){return e.adId===t.adId}));E.hasOwnProperty(t.message)&&E[t.message](function(e){return null==e.origin&&0===e.ports.length?function(){var e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,a.H)(e),new Error(e)}:e.ports.length>0?function(n){e.ports[0].postMessage(JSON.stringify(n))}:function(n){e.source.postMessage(JSON.stringify(n),e.origin)}}(e),t,r)}}function k(e){var n=e.adId,t=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,n){return(0,a.T9)()?function(e){var n=(0,g.sE)(window.googletag.pubads().getSlots(),(function(n){return(0,g.sE)(n.getTargetingKeys(),(function(t){return(0,g.q9)(n.getTargeting(t),e)}))}));return n?n.getSlotElementId():null}(e):(0,a.X4)()?function(e){var n=window.apntag.getTag(e);return n&&n.targetId}(n):n}(n,t),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var u=o.style;u.width=r?r+"px":"100%",u.height=i+"px"}else(0,a.yN)("Unable to locate matching page element for adUnitCode ".concat(t,". Can't resize it to ad's dimensions. Please review setup."))}))}Object.assign(E,{"Prebid Native":function(e,n,t){if(null==t)return void(0,a.H)("Cannot find ad for x-origin event request: '".concat(n.adId,"'"));T.has(t)||(T.add(t),l.K.addWinningBid(t),d.j8(C,t));switch(n.action){case"assetRequest":e((0,s.eK)(n,t));break;case"allAssetRequest":e((0,s.JL)(n,t));break;case"resizeNativeHeight":t.height=n.height,t.width=n.width,k(t);break;default:(0,s.e6)(n,t)}}});var I=t(1974),B=t(8621),j=t(2797),S=t(9626),U=t(5730),P=t(8792),R="__pbjs_debugging__";function N(){return(0,o.R)().installedModules.includes("debugging")}function _(e){return new P.Z((function(n){(0,U.B)(e,"debugging",n)}))}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alreadyInstalled,t=void 0===n?N:n,r=e.script,i=void 0===r?_:r,u=null;return function(){return null==u&&(u=new P.Z((function(e,n){setTimeout((function(){if(t())e();else{var r="https://cdn.jsdelivr.net/npm/prebid.js@7.52.0/dist/debugging-standalone.js";(0,a.ji)('Debugging module not installed, loading it from "'.concat(r,'"...')),(0,o.R)()._installDebugging=!0,i(r).then((function(){(0,o.R)()._installDebugging({DEBUG_KEY:R,hook:j.z3,config:v.vc,createBid:S.m,logger:(0,a.qp)("DEBUG:")})})).then(e,n)}}))}))),u}}var x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.load,t=void 0===n?q():n,r=e.hook,i=void 0===r?(0,j.v5)("requestBids"):r,o=null,a=!1;function u(e){for(var n=this,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(o||P.Z.resolve()).then((function(){return e.apply(n,r)}))}function c(){a||(o=t(),i.before(u,99),a=!0)}function d(){i.getHooks({hook:u}).remove(),a=!1}function s(){o=null,d()}return{enable:c,disable:d,reset:s}}();x.reset;v.vc.getConfig("debugging",(function(e){var n=e.debugging;null!=n&&n.enabled?x.enable():x.disable()}));var D=t(875),Z=t(5164),H=t(4633),M=t(9128),F=t(4078),z=(0,o.R)(),W=I.k_.triggerUserSyncs,L=f.FP,K=L.ADD_AD_UNITS,G=L.BID_WON,V=L.REQUEST_BIDS,J=L.SET_TARGETING,Q=L.STALE_RENDER,$=f.q_,Y=$.PREVENT_WRITING_ON_MAIN_DOCUMENT,X=$.NO_AD,ee=$.EXCEPTION,ne=$.CANNOT_FIND_AD,te=$.MISSING_DOC_OR_ADID,re={bidWon:function(e){var n=l.K.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(a.xH).filter(a.tT);if(!(0,a.r3)(n,e))return void(0,a.H)('The "'+e+'" placement is not defined.');return!0}};function ie(e,n,t){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=n,e.defaultView.frameElement.height=t)}function oe(e,n){var t=[];return(0,a.kJ)(e)&&(n?e.length===n:e.length>0)&&(e.every((function(e){return(0,a.HC)(e,2)}))?t=e:(0,a.HC)(e,2)&&t.push(e)),t}function ae(e){var n=(0,a.I8)(e),t=n.mediaTypes.banner,r=oe(t.sizes);return r.length>0?(t.sizes=r,n.sizes=r):((0,a.H)("Detected a mediaTypes.banner object without a proper sizes field. Please ensure the sizes are listed like: [[300, 250], ...]. Removing invalid mediaTypes.banner object from request."),delete n.mediaTypes.banner),n}function ue(e){var n=(0,a.I8)(e),t=n.mediaTypes.video;if(t.playerSize){var r="number"==typeof t.playerSize[0]?2:1,i=oe(t.playerSize,r);i.length>0?(2===r&&(0,a.PN)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),t.playerSize=i,n.sizes=i):((0,a.H)("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete n.mediaTypes.video.playerSize)}return n}function ce(e){var n=(0,a.I8)(e),t=n.mediaTypes.native;if(t.ortb){var r=Object.keys(f.FY).filter((function(e){return f.FY[e].includes("hb_native_")})),i=Object.keys(t).filter((function(e){return r.includes(e)}));i.length>0&&((0,a.H)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(i," keys from request.")),i.forEach((function(e){return delete n.mediaTypes.native[e]})))}return t.image&&t.image.sizes&&!Array.isArray(t.image.sizes)&&((0,a.H)("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete n.mediaTypes.native.image.sizes),t.image&&t.image.aspect_ratios&&!Array.isArray(t.image.aspect_ratios)&&((0,a.H)("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete n.mediaTypes.native.image.aspect_ratios),t.icon&&t.icon.sizes&&!Array.isArray(t.icon.sizes)&&((0,a.H)("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete n.mediaTypes.native.icon.sizes),n}function de(e,n){var t=(0,u.Z)(e,"mediaTypes.".concat(n,".pos"));if(!(0,a.hj)(t)||isNaN(t)||!isFinite(t)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,a.yN)(r),d.j8(f.FP.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[n].pos}return e}function se(e){var n=function(n){return"adUnit.code '".concat(e.code,"' ").concat(n)},t=e.mediaTypes,r=e.bids;return null==r||(0,a.kJ)(r)?null==r&&null==e.ortb2Imp?((0,a.H)(n("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):t&&0!==Object.keys(t).length?(null==e.ortb2Imp||null!=r&&0!==r.length||(e.bids=[{bidder:null}],(0,a.ji)(n("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,a.H)(n("does not define a 'mediaTypes' object. This is a required field for the auction, so this adUnit has been removed.")),null):((0,a.H)(n("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}!function(){var e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){var n=x,t=null;try{t=e.getItem(R)}catch(e){}null!==t&&n.enable()}}(),z.bidderSettings=z.bidderSettings||{},z.libLoaded=!0,z.version="v7.52.0",(0,a.PN)("Prebid.js v7.52.0 loaded"),z.installedModules=z.installedModules||[],z.adUnits=z.adUnits||[],z.triggerUserSyncs=W;var fe={validateAdUnit:se,validateBannerMediaType:ae,validateSizes:oe};Object.assign(fe,{validateNativeMediaType:ce}),Object.assign(fe,{validateVideoMediaType:ue});var le,ge=(0,j.z3)("sync",(function(e){var n=[];return e.forEach((function(e){if(null!=(e=se(e))){var t,r,i,o=e.mediaTypes;o.banner&&(t=ae(e),o.banner.hasOwnProperty("pos")&&(t=de(t,"banner"))),o.video&&(r=ue(t||e),o.video.hasOwnProperty("pos")&&(r=de(r,"video"))),o.native&&(i=ce(r||(t||e)));var a=Object.assign({},t,r,i);n.push(a)}})),n}),"checkAdUnitSetup");function pe(e){var n=l.K[e]().filter(a.ak.call(a.IK,this,l.K.getAdUnitCodes())),t=l.K.getLastAuctionId();return n.map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return n.filter((function(n){return n.auctionId===t&&n.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return(0,i.Z)({},e[0].adUnitCode,{bids:e})})).reduce((function(e,n){return Object.assign(e,n)}),{})}function ve(e,n,t){var r=n.querySelector(t);e.parentNode&&e.parentNode===r||(0,a.jC)(e,n,t)}z.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,a.PN)("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var n=z.getAdserverTargetingForAdUnitCode(e);return(0,a.Ob)(n)}(0,a.ji)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},z.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var n=l.K.getAllBidsForAdUnitCode(e).filter(B.TL);return n.length?n.reduce(a.ZH):{}}(0,a.ji)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},z.getAdserverTargetingForAdUnitCode=function(e){return z.getAdserverTargeting(e)[e]},z.getAdserverTargeting=function(e){return(0,a.PN)("Invoking pbjs.getAdserverTargeting",arguments),B.q0.getAllTargeting(e)},z.getConsentMetadata=function(){return(0,a.PN)("Invoking pbjs.getConsentMetadata"),{gdpr:H.rp.getConsentMeta(),usp:H.nX.getConsentMeta(),gpp:H.TJ.getConsentMeta(),coppa:!!v.vc.getConfig("coppa")}},z.getNoBids=function(){return(0,a.PN)("Invoking pbjs.getNoBids",arguments),pe("getNoBids")},z.getNoBidsForAdUnitCode=function(e){return{bids:l.K.getNoBids().filter((function(n){return n.adUnitCode===e}))}},z.getBidResponses=function(){return(0,a.PN)("Invoking pbjs.getBidResponses",arguments),pe("getBidsReceived")},z.getBidResponsesForAdUnitCode=function(e){return{bids:l.K.getBidsReceived().filter((function(n){return n.adUnitCode===e}))}},z.setTargetingForGPTAsync=function(e,n){if((0,a.PN)("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,a.T9)()){var t=B.q0.getAllTargeting(e);B.q0.resetPresetTargeting(e,n),B.q0.setTargetingForGPT(t,n),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){"hb_adid"===n&&l.K.setStatusForBids(t[e][n],f.UE.CK)}))})),d.j8(J,t)}else(0,a.H)("window.googletag is not defined on the page")},z.setTargetingForAst=function(e){(0,a.PN)("Invoking pbjs.setTargetingForAn",arguments),B.q0.isApntagDefined()?(B.q0.setTargetingForAst(e),d.j8(J,B.q0.getAllTargeting())):(0,a.H)("window.apntag is not defined on the page")},z.renderAd=(0,j.z3)("async",(function(e,n,t){if((0,a.PN)("Invoking pbjs.renderAd",arguments),(0,a.ji)("Calling renderAd with adId :"+n),n)try{var r=l.K.findBidByAdId(n);if(!r){var i="Error trying to write ad. Cannot find ad by given id : ".concat(n);return void b({reason:ne,message:i,id:n})}if(r.status===f.UE.fe&&((0,a.yN)("Ad id ".concat(r.adId," has been rendered before")),d.j8(Q,r),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;if(r.ad=(0,a.ew)(r.ad,r.originalCpm||r.cpm),r.adUrl=(0,a.ew)(r.adUrl,r.originalCpm||r.cpm),t&&t.clickThrough){var o=t.clickThrough;r.ad=(0,a.x_)(r.ad,o),r.adUrl=(0,a.x_)(r.adUrl,o)}l.K.addWinningBid(r),d.j8(G,r);var c=r.height,s=r.width,g=r.ad,h=r.mediaType,m=r.adUrl,y=r.renderer,C=r.adUnitCode,A=z.adUnits.filter((function(e){return e.code===C})),T=z.videoModule;if(A.video&&T)return void T.renderBid(A.video.divId,r);if(!e){var E="Error trying to write ad Id :".concat(n," to the page. Missing document");return void b({reason:te,message:E,id:n})}var O=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if((0,a.jC)(O,e,"html"),(0,p.Pd)(y))(0,p._U)(y,r,e),ve(O,e,"html"),w({doc:e,bid:r,id:n});else if(e===document&&!(0,a.yL)()||"video"===h){var k="Error trying to write ad. Ad render call ad id ".concat(n," was prevented from writing to the main document.");b({reason:Y,message:k,bid:r,id:n})}else if(g)e.write(g),e.close(),ie(e,s,c),ve(O,e,"html"),(0,a.R_)(r),w({doc:e,bid:r,id:n});else if(m){var I=(0,a.$u)();I.height=c,I.width=s,I.style.display="inline",I.style.overflow="hidden",I.src=m,(0,a.jC)(I,e,"body"),ie(e,s,c),ve(O,e,"html"),(0,a.R_)(r),w({doc:e,bid:r,id:n})}else{var B="Error trying to write ad. No ad for bid response id: ".concat(n);b({reason:X,message:B,bid:r,id:n})}}catch(e){var j="Error trying to write ad Id :".concat(n," to the page:").concat(e.message);b({reason:ee,message:j,id:n})}else{var S="Error trying to write ad Id :".concat(n," to the page. Missing adId");b({reason:te,message:S,id:n})}})),z.removeAdUnit=function(e){((0,a.PN)("Invoking pbjs.removeAdUnit",arguments),e)?((0,a.kJ)(e)?e:[e]).forEach((function(e){for(var n=z.adUnits.length-1;n>=0;n--)z.adUnits[n].code===e&&z.adUnits.splice(n,1)})):z.adUnits=[]},z.requestBids=(le=(0,j.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,i=e.adUnits,o=e.adUnitCodes,u=e.labels,c=e.auctionId,s=e.ttlBuffer,f=e.ortb2,l=e.metrics,p=e.defer;d.j8(V);var h=t||v.vc.getConfig("bidderTimeout");(0,a.PN)("Invoking pbjs.requestBids",arguments),o&&o.length?i=i.filter((function(e){return(0,g.q9)(o,e.code)})):o=i&&i.map((function(e){return e.code}));var m={global:(0,a.Ee)({},v.vc.getAnyConfig("ortb2")||{},f||{}),bidder:Object.fromEntries(Object.entries(v.vc.getBidderConfig()).map((function(e){var n=(0,r.Z)(e,2);return[n[0],n[1].ortb2]})).filter((function(e){var n=(0,r.Z)(e,2);return n[0],null!=n[1]})))};return(0,F.S)(P.Z.resolve(m.global)).then((function(e){return m.global=e,he({bidsBackHandler:n,timeout:h,adUnits:i,adUnitCodes:o,labels:u,auctionId:c,ttlBuffer:s,ortb2Fragments:m,metrics:l,defer:p})}))}),"requestBids"),(0,j.IF)(le,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.adUnits||z.adUnits;return e.adUnits=(0,a.kJ)(n)?n.slice():[n],e.metrics=(0,M.V6)(),e.metrics.checkpoint("requestBids"),e.defer=(0,P.P)({promiseFactory:function(e){return new Promise(e)}}),le.call(this,e),e.defer.promise})));var he=(0,j.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,r=e.adUnits,i=e.ttlBuffer,o=e.adUnitCodes,u=e.labels,d=e.auctionId,s=e.ortb2Fragments,f=e.metrics,p=e.defer,h=(0,H.uV)(v.vc.getConfig("s2sConfig")||[]);function m(e,t,r){if("function"==typeof n)try{n(e,t,r)}catch(e){(0,a.H)("Error executing bidsBackHandler",null,e)}p.resolve({bids:e,timedOut:t,auctionId:r})}if((r=(0,M.Bf)(f).measureTime("requestBids.validate",(function(){return ge(r)}))).forEach((function(e){var n,t,r=Object.keys(e.mediaTypes||{banner:"banner"}),o=e.bids.map((function(e){return e.bidder})),u=H.ZP.bidderRegistry,d=o.filter((function(e){return!h.has(e)})),s=(null===(n=e.ortb2Imp)||void 0===n||null===(t=n.ext)||void 0===t?void 0:t.tid)||(0,a.DO)();e.transactionId=s,null==i||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=i),(0,c.N)(e,"ortb2Imp.ext.tid",s),d.forEach((function(n){var t=u[n],i=t&&t.getSpec&&t.getSpec(),o=i&&i.supportedMediaTypes||["banner"];r.some((function(e){return(0,g.q9)(o,e)}))?D.f.incrementBidderRequestsCounter(e.code,n):((0,a.yN)((0,a.or)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),D.f.incrementRequestsCounter(e.code)})),r&&0!==r.length){var y=l.K.createAuction({adUnits:r,adUnitCodes:o,callback:m,cbTimeout:t,labels:u,auctionId:d,ortb2Fragments:s,metrics:f}),b=r.length;b>15&&(0,a.PN)("Current auction ".concat(y.getAuctionId()," contains ").concat(b," adUnits."),r),o.forEach((function(e){return B.q0.setLatestAuctionForAdUnit(e,y.getAuctionId())})),y.callBids()}else(0,a.ji)("No adUnits configured. No bids requested."),m()}),"startAuction");z.requestBids.before((function(e,n){function t(e){for(var n;n=e.shift();)n()}t(Z.Ld),t(me),e.call(this,n)}),49),z.addAdUnits=function(e){(0,a.PN)("Invoking pbjs.addAdUnits",arguments),z.adUnits.push.apply(z.adUnits,(0,a.kJ)(e)?e:[e]),d.j8(K)},z.onEvent=function(e,n,t){(0,a.PN)("Invoking pbjs.onEvent",arguments),(0,a.LQ)(n)?!t||re[e].call(null,t)?d.on(e,n,t):(0,a.H)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,a.H)('The event handler provided is not a function and was not set on event "'+e+'".')},z.offEvent=function(e,n,t){(0,a.PN)("Invoking pbjs.offEvent",arguments),t&&!re[e].call(null,t)||d.S1(e,n,t)},z.getEvents=function(){return(0,a.PN)("Invoking pbjs.getEvents"),d.vw()},z.registerBidAdapter=function(e,n){(0,a.PN)("Invoking pbjs.registerBidAdapter",arguments);try{H.ZP.registerBidAdapter(e(),n)}catch(e){(0,a.H)("Error registering bidder adapter : "+e.message)}},z.registerAnalyticsAdapter=function(e){(0,a.PN)("Invoking pbjs.registerAnalyticsAdapter",arguments);try{H.ZP.registerAnalyticsAdapter(e)}catch(e){(0,a.H)("Error registering analytics adapter : "+e.message)}},z.createBid=function(e){return(0,a.PN)("Invoking pbjs.createBid",arguments),(0,S.m)(e)};var me=[],ye=(0,j.z3)("async",(function(e){e&&!(0,a.xb)(e)?((0,a.PN)("Invoking pbjs.enableAnalytics for: ",e),H.ZP.enableAnalytics(e)):(0,a.H)("pbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");z.enableAnalytics=function(e){me.push(ye.bind(this,e))},z.aliasBidder=function(e,n,t){(0,a.PN)("Invoking pbjs.aliasBidder",arguments),e&&n?H.ZP.aliasBidAdapter(e,n,t):(0,a.H)("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},z.aliasRegistry=H.ZP.aliasRegistry,v.vc.getConfig("aliasRegistry",(function(e){"private"===e.aliasRegistry&&delete z.aliasRegistry})),z.getAllWinningBids=function(){return l.K.getAllWinningBids()},z.getAllPrebidWinningBids=function(){return l.K.getBidsReceived().filter((function(e){return e.status===f.UE.CK}))},z.getHighestCpmBids=function(e){return B.q0.getWinningBids(e)},z.markWinningBidAsUsed=function(e){var n=be(e,"Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function.");n.length>0&&l.K.addWinningBid(n[0])};var be=function(e,n){var t=[];return e.adUnitCode&&e.adId?t=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId&&n.adUnitCode===e.adUnitCode})):e.adUnitCode?t=B.q0.getWinningBids(e.adUnitCode):e.adId?t=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId})):(0,a.yN)(n),t};function we(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,a.H)("Error processing command :","prebid.js",e)}}))}z.getConfig=v.vc.getAnyConfig,z.readConfig=v.vc.readAnyConfig,z.mergeConfig=v.vc.mergeConfig,z.mergeBidderConfig=v.vc.mergeBidderConfig,z.setConfig=v.vc.setConfig,z.setBidderConfig=v.vc.setBidderConfig,z.que.push((function(){window.addEventListener("message",O,!1)})),z.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,a.H)("Error processing command :",e.message,e.stack)}else(0,a.H)("Commands written into pbjs.cmd.push must be wrapped in a function")},z.que.push=z.cmd.push,z.processQueue=function(){j.z3.ready(),we(z.que),we(z.cmd)},z.triggerBilling=function(e){var n=be(e,"Improper use of triggerBilling. It requires a bid with at least an adUnitCode or an adId to function."),t=n.find((function(n){return n.requestId===e.requestId}))||n[0];if(n.length>0&&t)try{H.ZP.callBidBillableBidder(t)}catch(e){(0,a.H)("Error when triggering billing :",e)}else(0,a.yN)("The bid provided to triggerBilling did not match any bids received.")}},8640:function(e,n,t){t.d(n,{R:function(){return o},z:function(){return a}});var r=window,i=r.pbjs=r.pbjs||{};function o(){return i}function a(e){i.installedModules.push(e)}i.cmd=i.cmd||[],i.que=i.que||[],r===window&&(r._pbjsGlobals=r._pbjsGlobals||[],r._pbjsGlobals.push("pbjs"))},5102:function(e,n,t){t.d(n,{hh:function(){return a},nH:function(){return d}});var r=t(3193),i=t(4358);function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;var t=n.location.protocol;try{t=n.top.location.protocol}catch(e){}return/^\/\//.exec(e)?t+e:"".concat(t,"//").concat(e)}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.noLeadingWww,r=void 0!==t&&t,i=n.noPort,a=void 0!==i&&i;try{e=new URL(o(e))}catch(e){return}return e=a?e.hostname:e.host,r&&e.startsWith("www.")&&(e=e.substring(4)),e}function u(e){try{var n=e.querySelector("link[rel='canonical']");if(null!==n)return n.href}catch(e){}return null}var c,d=function(e){var n,t,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return i.top!==i?e:function(){var o=u(i.document),a=i.location.href;return n===o&&a===t||(n=o,t=a,r=e()),r}}((c=window,function(){var e,n,t,d,s=[],f=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(c),l=r.vc.getConfig("maxNestedIframes"),g=!1,p=0,v=!1,h=!1,m=!1;do{var y=e,b=h,w=void 0,C=!1,A=null;h=!1,e=e?e.parent:c;try{w=e.location.href||null}catch(e){C=!0}if(C)if(b){var T=y.context;try{n=A=T.sourceUrl,m=!0,v=!0,e===c.top&&(g=!0),T.canonicalUrl&&(t=T.canonicalUrl)}catch(e){}}else{(0,i.yN)("Trying to access cross domain iframe. Continuing without referrer and location");try{var E=y.document.referrer;E&&(A=E,e===c.top&&(g=!0))}catch(e){}!A&&f&&f[p-1]&&(A=f[p-1],e===c.top&&(m=!0)),A&&!v&&(n=A)}else{if(w&&(n=A=w,v=!1,e===c.top)){g=!0;var O=u(e.document);O&&(t=O)}e.context&&e.context.sourceUrl&&(h=!0)}s.push(A),p++}while(e!==c.top&&p<l);s.reverse();try{d=c.top.document.referrer}catch(e){}var k=g||m?n:null,I=r.vc.getConfig("pageUrl")||t||null,B=r.vc.getConfig("pageUrl")||k||o(I,c);return k&&k.indexOf("?")>-1&&-1===B.indexOf("?")&&(B="".concat(B).concat(k.substring(k.indexOf("?")))),{reachedTop:g,isAmp:v,numIframes:p-1,stack:s,topmostLocation:n||null,location:k,canonicalUrl:I,page:B,domain:a(B)||null,ref:d||null,legacy:{reachedTop:g,isAmp:v,numIframes:p-1,stack:s,referer:n||null,canonicalUrl:I}}}))},5164:function(e,n,t){t.d(n,{Dp:function(){return g},Ld:function(){return v},c$:function(){return p},df:function(){return m},eA:function(){return y}});var r=t(4942),i=t(4358),o=t(5975),a=t(9633),u=t(571),c=t(6310),d=t(4947),s=t(3193),f=t(4633),l=t(286),g="html5",p="cookie",v=[];function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.moduleName,t=e.moduleType,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=o.isAllowed,m=void 0===h?u.xD:h;function y(e,i){var o=n,u=s.vc.getCurrentBidder();return u&&t===a.UL&&f.ZP.aliasRegistry[u]===n&&(o=u),e({valid:m(d.S1,(0,l.T)(t,o,(0,r.Z)({},c.bL,i)))})}function b(e,n,t){if(!t||"function"!=typeof t)return y(e,n);v.push((function(){var r=y(e,n);t(r)}))}var w=function(e,n,t,r,i,o){return b((function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",u=t&&""!==t?" ;expires=".concat(t):"",c=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(n)).concat(u,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(c)}}),p,o)},C=function(e,n){return b((function(n){if(n&&n.valid){var t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null}),p,n)},A=function(e){return b((function(e){if(e&&e.valid)try{return localStorage.setItem("prebid.cookieTest","1"),"1"===localStorage.getItem("prebid.cookieTest")}catch(e){}finally{try{localStorage.removeItem("prebid.cookieTest")}catch(e){}}return!1}),g,e)},T=function(e){return b((function(e){return!(!e||!e.valid)&&(0,i.IG)()}),p,e)},E=function(e,n,t){return b((function(t){t&&t.valid&&I()&&window.localStorage.setItem(e,n)}),g,t)},O=function(e,n){return b((function(n){return n&&n.valid&&I()?window.localStorage.getItem(e):null}),g,n)},k=function(e,n){return b((function(n){n&&n.valid&&I()&&window.localStorage.removeItem(e)}),g,n)},I=function(e){return b((function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){(0,i.H)("Local storage api disabled")}return!1}),g,e)},B=function(e,n){return b((function(n){if(n&&n.valid){var t=[];if((0,i.wn)())for(var r=document.cookie.split(";");r.length;){var o=r.pop(),a=o.indexOf("=");a=a<0?o.length:a,decodeURIComponent(o.slice(0,a).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(o.slice(a+1)))}return t}}),p,n)};return{setCookie:w,getCookie:C,localStorageIsEnabled:A,cookiesAreEnabled:T,setDataInLocalStorage:E,getDataFromLocalStorage:O,removeDataFromLocalStorage:k,hasLocalStorage:I,findSimilarCookies:B}}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.moduleType,t=e.moduleName,r=e.bidderCode;function i(){throw new Error("Invalid invocation for getStorageManager: must set either bidderCode, or moduleType + moduleName")}return r?((n&&n!==a.UL||t)&&i(),n=a.UL,t=r):t&&n||i(),h({moduleType:n,moduleName:t})}function y(e){return h({moduleName:e,moduleType:a.wu})}(0,u.oB)(d.S1,"deviceAccess config",(function(){if(!(0,i.wn)())return{allow:!1}})),(0,u.oB)(d.S1,"bidderSettings.*.storageAllowed",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.S;if(e[c.$k]===a.UL){var t=n.get(e[c.Ki],"storageAllowed");if(t&&!0!==t){var r=e[c.bL];t=Array.isArray(t)?t.some((function(e){return e===r})):t===r}else t=!!t;return t?void 0:{allow:t}}}))},8621:function(e,n,t){t.d(n,{TL:function(){return A},q0:function(){return O}});var r=t(4942),i=t(9062),o=t(4358),a=t(265),u=t(3193),c=t(59),d=t(8653),s=t(4679),f=t(2797),l=t(5975),g=t(4614),p=t(5644),v=[],h=1;u.vc.getConfig("ttlBuffer",(function(e){"number"==typeof e.ttlBuffer?h=e.ttlBuffer:(0,o.H)("Invalid value for ttlBuffer",e.ttlBuffer)}));var m="targetingControls.allowTargetingKeys",y="targetingControls.addTargetingKeys",b='Only one of "'.concat(m,'" or "').concat(y,'" can be set'),w=Object.keys(p.TD).map((function(e){return p.TD[e]})),C={isActualBid:function(e){return e.getStatusCode()===p.Q_.Q},isBidNotExpired:function(e){return e.responseTimestamp+1e3*(e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:h))>(0,o.AB)()},isUnusedBid:function(e){return e&&(e.status&&!(0,g.q9)([p.UE.fe],e.status)||!e.status)}};function A(e){return!Object.values(C).some((function(n){return!n(e)}))}var T=(0,f.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r){var a=[],c=u.vc.getConfig("sendBidsControl.dealPrioritization"),d=(0,o.vM)(e,"adUnitCode");return Object.keys(d).forEach((function(e){var r=[],u=(0,o.vM)(d[e],"bidderCode");Object.keys(u).forEach((function(e){return r.push(u[e].reduce(n))})),t>0?(r=c?r.sort(E(!0)):r.sort((function(e,n){return n.cpm-e.cpm})),a.push.apply(a,(0,i.Z)(r.slice(0,t)))):a.push.apply(a,(0,i.Z)(r))})),a}return e}));function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,t){return void 0!==n.adserverTargeting.hb_deal&&void 0===t.adserverTargeting.hb_deal?-1:void 0===n.adserverTargeting.hb_deal&&void 0!==t.adserverTargeting.hb_deal?1:e?t.cpm-n.cpm:t.adserverTargeting.hb_pb-n.adserverTargeting.hb_pb}}var O=function(e){var n={},t={};function d(e,n){return e.adserverTargeting&&n&&((0,o.kJ)(n)&&(0,g.q9)(n,e.adUnitCode)||"string"==typeof n&&e.adUnitCode===n)}function f(e,n){if(!0===u.vc.getConfig("targetingControls.alwaysIncludeDeals")){var t=w.concat(c.xc);return T(n,o.ZH).map((function(n){if(n.dealId&&d(n,e))return(0,r.Z)({},n.adUnitCode,_(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}function h(e,n){var t=Object.assign({},p.TD,p.FY),r=Object.keys(t),i={};(0,o.PN)("allowTargetingKeys - allowed keys [ ".concat(n.map((function(e){return t[e]})).join(", ")," ]")),e.map((function(e){var o=Object.keys(e)[0],a=e[o].filter((function(e){var o=Object.keys(e)[0],a=0===r.filter((function(e){return 0===o.indexOf(t[e])})).length||(0,g.sE)(n,(function(e){var n=t[e];return 0===o.indexOf(n)}));return i[o]=!a,a}));e[o]=a}));var a=Object.keys(i).filter((function(e){return i[e]}));return(0,o.PN)("allowTargetingKeys - removed keys [ ".concat(a.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}function C(e,n){var t=(0,o.I8)(e);return Object.keys(t).map((function(e){return{adUnitCode:e,adserverTargeting:t[e]}})).sort(E()).reduce((function(e,r,i,a){var u,c=(u=r.adserverTargeting,Object.keys(u).reduce((function(e,n){return e+"".concat(n,"%3d").concat(encodeURIComponent(u[n]),"%26")}),""));i+1===a.length&&(c=c.slice(0,-3));var d=r.adUnitCode,s=c.length;return s<=n?(n-=s,(0,o.PN)("AdUnit '".concat(d,"' auction keys comprised of ").concat(s," characters. Deducted from running threshold; new limit is ").concat(n),t[d]),e[d]=t[d]):(0,o.yN)("The following keys for adUnitCode '".concat(d,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(s,", the current allotted amount was ").concat(n,".\n"),t[d]),i+1===a.length&&0===Object.keys(e).length&&(0,o.H)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e}),{})}function O(e){var n=e.map((function(e){return(0,r.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return(0,r.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,n){return Object.assign(n,e)}),{}))})).reduce((function(e,n){var t=Object.keys(n)[0];return e[t]=Object.assign({},e[t],n[t]),e}),{});return n}function k(n){return"string"==typeof n?[n]:(0,o.kJ)(n)?n:e.getAdUnitCodes()||[]}function I(){var n=e.getBidsReceived();if(u.vc.getConfig("useBidCache")){var r=u.vc.getConfig("bidCacheFilterFunction");"function"==typeof r&&(n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId||!!r(e)})))}else n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId}));return n=n.filter((function(e){return(0,a.Z)(e,"video.context")!==s.Oh})).filter(A),T(n,o.K$)}function B(e,t){var o=n.getWinningBids(e,t),a=j();return o=o.map((function(e){return(0,r.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(n){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===a.indexOf(n)})).reduce((function(n,t){var o=[e.adserverTargeting[t]],a=(0,r.Z)({},t.substring(0,20),o);if(t===p.TD.DEAL){var u="".concat(t,"_").concat(e.bidderCode).substring(0,20),c=(0,r.Z)({},u,o);return[].concat((0,i.Z)(n),[a,c])}return[].concat((0,i.Z)(n),[a])}),[]))})),o}function j(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(w).filter(o.tT)}function S(e,n,t,r){return Object.keys(n.adserverTargeting).filter(U()).forEach((function(t){e.length&&e.filter(function(e){return function(t){return t.adUnitCode===n.adUnitCode&&t.adserverTargeting[e]}}(t)).forEach(function(e){return function(t){(0,o.kJ)(t.adserverTargeting[e])||(t.adserverTargeting[e]=[t.adserverTargeting[e]]),t.adserverTargeting[e]=t.adserverTargeting[e].concat(n.adserverTargeting[e]).filter(o.tT),delete n.adserverTargeting[e]}}(t))})),e.push(n),e}function U(){var e=j();return e=e.concat(c.xc),function(n){return-1===e.indexOf(n)}}function P(e){return(0,r.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(U()).map((function(n){return(0,r.Z)({},n.substring(0,20),[e.adserverTargeting[n]])})))}function R(e,n){return n.filter((function(n){return(0,g.q9)(e,n.adUnitCode)})).map((function(e){return Object.assign({},e)})).reduce(S,[]).map(P).filter((function(e){return e}))}function N(e,n){var t=w.concat(c.xc),i=u.vc.getConfig("sendBidsControl.bidLimit"),a=T(n,o.ZH,i),s=u.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),f=s?s.map((function(e){return p.TD[e]})):t;return a.map((function(n){if(d(n,e))return(0,r.Z)({},n.adUnitCode,_(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]&&-1!==f.indexOf(e)}))))})).filter((function(e){return e}))}function _(e,n){return n.map((function(n){return(0,r.Z)({},"".concat(n,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[n]])}))}function q(n){function t(e){return(0,a.Z)(e,p.k2.xn)}return e.getAdUnits().filter((function(e){return(0,g.q9)(n,e.code)&&t(e)})).map((function(e){return(0,r.Z)({},e.code,function(e){var n=t(e);return Object.keys(n).map((function(e){return(0,o.d8)(n[e])&&(n[e]=n[e].split(",").map((function(e){return e.trim()}))),(0,o.kJ)(n[e])||(n[e]=[n[e]]),(0,r.Z)({},e,n[e])}))}(e))}))}return n.setLatestAuctionForAdUnit=function(e,n){t[e]=n},n.resetPresetTargeting=function(n,t){if((0,o.T9)()){var r=k(n),i=e.getAdUnits().filter((function(e){return(0,g.q9)(r,e.code)})),a=v.reduce((function(e,n){return e[n]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var n=(0,o.LQ)(t)&&t(e);i.forEach((function(t){(t.code===e.getAdUnitPath()||t.code===e.getSlotElementId()||(0,o.LQ)(n)&&n(t.code))&&e.updateTargetingFromMap(a)}))}))}},n.resetPresetTargetingAST=function(e){k(e).forEach((function(e){var n=window.apntag.getTag(e);if(n&&n.keywords){var t=Object.keys(n.keywords),r={};t.forEach((function(e){(0,g.q9)(v,e.toLowerCase())||(r[e]=n.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},n.getAllTargeting=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I(),t=k(e),r=B(t,n).concat(R(t,n)).concat(u.vc.getConfig("enableSendAllBids")?N(t,n):f(t,n)).concat(q(t));r.map((function(e){Object.keys(e).map((function(n){e[n].map((function(e){-1===v.indexOf(Object.keys(e)[0])&&(v=Object.keys(e).concat(v))}))}))}));var i=Object.keys(Object.assign({},p.kF,p.FY)),a=u.vc.getConfig(m),c=u.vc.getConfig(y);if(null!=c&&null!=a)throw new Error(b);a=null!=c?i.concat(c):a||i,Array.isArray(a)&&a.length>0&&(r=h(r,a)),r=O(r);var d=u.vc.getConfig("targetingControls.auctionKeyMaxChars");return d&&((0,o.PN)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(d," characters. Running checks on auction keys...")),r=C(r,d)),t.forEach((function(e){r[e]||(r[e]={})})),r},u.vc.getConfig("targetingControls",(function(e){null!=(0,a.Z)(e,m)&&null!=(0,a.Z)(e,y)&&(0,o.H)(b)})),n.setTargetingForGPT=function(e,n){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter(n?n(t):(0,o.zV)(t)).forEach((function(n){Object.keys(e[n]).forEach((function(t){var r=e[n][t];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[n][t]=r})),(0,o.ji)("Attempting to set targeting-map for slot: ".concat(t.getSlotElementId()," with targeting-map:"),e[n]),t.updateTargetingFromMap(e[n])}))}))},n.getWinningBids=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I(),t=k(e);return n.filter((function(e){return(0,g.q9)(t,e.adUnitCode)})).filter((function(e){return!0===l.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(o.tT).map((function(e){return n.filter((function(n){return n.adUnitCode===e?n:null})).reduce(o.ZH)}))},n.setTargetingForAst=function(e){var t=n.getAllTargeting(e);try{n.resetPresetTargetingAST(e)}catch(e){(0,o.H)("unable to reset targeting for AST"+e)}Object.keys(t).forEach((function(e){return Object.keys(t[e]).forEach((function(n){if((0,o.ji)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(n," value: ").concat(t[e][n])),(0,o.d8)(t[e][n])||(0,o.kJ)(t[e][n])){var r={};n.search(/pt[0-9]/)<0?r[n.toUpperCase()]=t[e][n]:r[n]=t[e][n],window.apntag.setKeywords(e,r,{overrideKeyValue:!0})}}))}))},n.isApntagDefined=function(){if(window.apntag&&(0,o.LQ)(window.apntag.setKeywords))return!0},n}(d.K)},1974:function(e,n,t){t.d(n,{k_:function(){return v}});var r=t(4942),i=t(3324),o=t(4358),a=t(3193),u=t(4614),c=t(5164),d=t(571),s=t(4947),f=t(6310),l=t(9633),g=t(286);a.vc.setDefaults({userSync:(0,o.I8)({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var p=(0,c.eA)("usersync");var v=function(e){var n={},t={image:[],iframe:[]},c=new Set,d={},p={image:!0,iframe:!1},v=e.config;function h(){if(v.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!p.iframe)return;m(t.iframe,(function(e){var n=(0,i.Z)(e,2),r=n[0],a=n[1];(0,o.ji)("Invoking iframe user sync for bidder: ".concat(r)),(0,o.Vs)(a),function(e,n){e.image=e.image.filter((function(e){return e[0]!==n}))}(t,r)}))}(),function(){if(!p.image)return;m(t.image,(function(e){var n=(0,i.Z)(e,2),t=n[0],r=n[1];(0,o.ji)("Invoking image pixel user sync for bidder: ".concat(t)),(0,o.hq)(r)}))}()}catch(e){return(0,o.H)("Error firing user syncs",e)}t={image:[],iframe:[]}}}function m(e,n){(0,o.TV)(e).forEach(n)}function y(e,n){var t=v.filterSettings;if(function(e,n){if(e.all&&e[n])return(0,o.yN)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(n,'" in userSync config. You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var t=e.all?e.all:e[n],r=e.all?"all":n;if(!t)return!1;var i=t.filter,a=t.bidders;if(i&&"include"!==i&&"exclude"!==i)return(0,o.yN)('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(i,"' is not a valid option; use either 'include' or 'exclude'.")),!1;if("*"!==a&&!(Array.isArray(a)&&a.length>0&&a.every((function(e){return(0,o.d8)(e)&&"*"!==e}))))return(0,o.yN)('Detected an invalid setup in userSync "filterSettings.'.concat(r,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1;return!0}(t,e)){p[e]=!0;var r=t.all?t.all:t[e],i="*"===r.bidders?[n]:r.bidders,a={include:function(e,n){return!(0,u.q9)(e,n)},exclude:function(e,n){return(0,u.q9)(e,n)}};return a[r.filter||"include"](i,n)}return!p[e]}return a.vc.getConfig("userSync",(function(e){if(e.userSync){var n=e.userSync.filterSettings;(0,o.PO)(n)&&(n.image||n.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}v=Object.assign(v,e.userSync)})),e.regRule(s.K$,"userSync config",(function(e){if(!v.syncEnabled)return{allow:!1,reason:"syncs are disabled"};if(e[f.$k]===l.UL){var t=e[f.cx],r=e[f.bp];if(!n.canBidderRegisterSync(t,r))return{allow:!1,reason:"".concat(t," syncs are not enabled for ").concat(r)}}})),n.registerSync=function(n,i,a){var u;return c.has(i)?(0,o.ji)('already fired syncs for "'.concat(i,'", ignoring registerSync call')):v.syncEnabled&&(0,o.kJ)(t[n])?i?0!==v.syncsPerBidder&&Number(d[i])>=v.syncsPerBidder?(0,o.yN)('Number of user syncs exceeded for "'.concat(i,'"')):void(e.isAllowed(s.K$,(0,g.T)(l.UL,i,(u={},(0,r.Z)(u,f.cx,n),(0,r.Z)(u,f.IV,a),u)))&&(t[n].push([i,a]),d=function(e,n){return e[n]?e[n]+=1:e[n]=1,e}(d,i))):(0,o.yN)("Bidder is required for registering sync"):(0,o.yN)('User sync type "'.concat(n,'" not supported'))},n.bidderDone=c.add.bind(c),n.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(h,Number(e));h()},n.triggerUserSyncs=function(){v.enableOverride&&n.syncUsers()},n.canBidderRegisterSync=function(e,n){return!v.filterSettings||!y(e,n)},n}(Object.defineProperties({config:a.vc.getConfig("userSync"),isAllowed:d.xD,regRule:d.oB},{browserSupportsCookies:{get:function(){return!(0,o.fr)()&&p.cookiesAreEnabled()}}}))},4358:function(e,n,t){t.d(n,{$8:function(){return pe},$u:function(){return J},AB:function(){return qe},An:function(){return R},Bq:function(){return en},CS:function(){return Ve},D9:function(){return bn},DO:function(){return P},EE:function(){return k},Ee:function(){return pn},FS:function(){return ze},G2:function(){return Ye},H:function(){return L},HA:function(){return ce},HC:function(){return tn},HP:function(){return yn},I8:function(){return Ue},IG:function(){return Ze},IK:function(){return Se},K$:function(){return Ie},LQ:function(){return Y},NA:function(){return Ce},Ob:function(){return _},PN:function(){return z},PO:function(){return te},Q2:function(){return ln},R_:function(){return ge},Re:function(){return N},S0:function(){return We},SG:function(){return he},T9:function(){return Ee},TV:function(){return je},U:function(){return $e},V9:function(){return Ae},Vs:function(){return ve},W$:function(){return hn},X4:function(){return Oe},XV:function(){return an},Yp:function(){return sn},ZH:function(){return ke},Zy:function(){return Z},_R:function(){return vn},_d:function(){return U},ak:function(){return j},bd:function(){return xe},d5:function(){return un},d8:function(){return X},dj:function(){return mn},e7:function(){return H},ei:function(){return Xe},en:function(){return fn},ew:function(){return Ne},fr:function(){return Re},hj:function(){return ne},hl:function(){return rn},hq:function(){return le},iG:function(){return Fe},jC:function(){return se},jH:function(){return oe},ji:function(){return F},jn:function(){return re},kJ:function(){return ee},ky:function(){return Je},oV:function(){return Le},or:function(){return Qe},pJ:function(){return cn},pP:function(){return Te},qp:function(){return K},r3:function(){return ue},rD:function(){return Q},sF:function(){return q},tT:function(){return ye},u2:function(){return A},uh:function(){return nn},vM:function(){return Me},wn:function(){return De},xH:function(){return be},x_:function(){return _e},xb:function(){return ie},yL:function(){return Pe},yN:function(){return W},yi:function(){return ae},yo:function(){return on},yx:function(){return He},zE:function(){return we},zV:function(){return Ge}});var r,i=t(3324),o=t(9062),a=t(4942),u=t(1002),c=t(3193),d=t(7079),s=t.n(d),f=t(4614),l=t(5644),g=t(8792),p=t(8640),v=Object.prototype.toString,h=Boolean(window.console),m=Boolean(h&&window.console.log),y=Boolean(h&&window.console.info),b=Boolean(h&&window.console.warn),w=Boolean(h&&window.console.error),C=(0,p.R)();function A(e){r=e}function T(){null!=r&&r.apply(void 0,arguments)}var E={checkCookieSupport:Ze,createTrackPixelIframeHtml:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return"";n&&(e=encodeURI(e));t&&(t='sandbox="'.concat(t,'"'));return"<iframe ".concat(t,' id="').concat(U(),'"\n frameborder="0"\n allowtransparency="true"\n marginheight="0" marginwidth="0"\n width="0" hspace="0" vspace="0" height="0"\n style="height:0px;width:0px;display:none;"\n scrolling="no"\n src="').concat(e,'">\n </iframe>')},getWindowSelf:H,getWindowTop:Z,getWindowLocation:M,insertUserSyncIframe:ve,insertElement:se,isFn:Y,triggerPixel:le,logError:L,logWarn:W,logMessage:F,logInfo:z,parseQS:dn,formatQS:sn,deepEqual:gn},O={};function k(){return O}var I,B={},j=function(e,n){return n}.bind(null,1,B)()===B?Function.prototype.bind:function(e){var n=this,t=Array.prototype.slice.call(arguments,1);return function(){return n.apply(e,t.concat(Array.prototype.slice.call(arguments)))}},S=(I=0,function(){return++I});function U(){return S()+Math.random().toString(16).substr(2)}function P(e){return e?(e^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,P)}function R(e,n){return n&&n[e]?n[e]:""}function N(e){var n="";for(var t in e)e.hasOwnProperty(t)&&(n+=t+"="+encodeURIComponent(e[t])+"&");return n=n.replace(/&$/,"")}function _(e){return e&&Object.getOwnPropertyNames(e).length>0?(n=e,Object.keys(n)).map((function(n){return"".concat(n,"=").concat(encodeURIComponent(Ce(e,n)))})).join("&"):"";var n}function q(e){var n=[];if("string"==typeof e){var t=e.split(","),r=/^(\d)+x(\d)+$/i;if(t)for(var i in t)de(t,i)&&t[i].match(r)&&n.push(t[i])}else if("object"===(0,u.Z)(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])n.push(x(e));else for(var a=0;a<o;a++)n.push(x(e[a]))}return n}function x(e){if(D(e))return e[0]+"x"+e[1]}function D(e){return ee(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function Z(){return window.top}function H(){return window.self}function M(){return window.location}function F(){V()&&m&&console.log.apply(console,G(arguments,"MESSAGE:"))}function z(){V()&&y&&console.info.apply(console,G(arguments,"INFO:"))}function W(){V()&&b&&console.warn.apply(console,G(arguments,"WARNING:")),T(l.FP.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function L(){V()&&w&&console.error.apply(console,G(arguments,"ERROR:")),T(l.FP.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function K(e){function n(n){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n.apply(void 0,[e].concat(r))}}return{logError:n(L),logWarn:n(W),logMessage:n(F),logInfo:n(z)}}function G(e,n){e=[].slice.call(e);var t=c.vc.getCurrentBidder();return n&&e.unshift(n),t&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(t?"%c".concat(t):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function V(){return!!c.vc.getConfig("debug")}function J(){var e=document.createElement("iframe");return e.id=U(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e}function Q(e){return dn(M().search)[e]||""}function $(e,n){return v.call(e)==="[object "+n+"]"}function Y(e){return $(e,"Function")}function X(e){return $(e,"String")}function ee(e){return $(e,"Array")}function ne(e){return $(e,"Number")}function te(e){return $(e,"Object")}function re(e){return $(e,"Boolean")}function ie(e){if(!e)return!0;if(ee(e)||X(e))return!(e.length>0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0}function oe(e){return X(e)&&(!e||0===e.length)}function ae(e,n){if(!ie(e)){if(Y(e.forEach))return e.forEach(n,this);var t=0,r=e.length;if(r>0)for(;t<r;t++)n(e[t],t,e);else for(t in e)hasOwnProperty.call(e,t)&&n.call(this,e[t],t)}}function ue(e,n){if(ie(e))return!1;if(Y(e.indexOf))return-1!==e.indexOf(n);for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}function ce(e,n){if(ie(e))return[];if(Y(e.map))return e.map(n);var t=[];return ae(e,(function(r,i){t.push(n(r,i,e))})),t}function de(e,n){return e.hasOwnProperty?e.hasOwnProperty(n):void 0!==e[n]&&e.constructor.prototype[n]!==e[n]}function se(e,n,t,r){var i;n=n||document,i=t?n.getElementsByTagName(t):n.getElementsByTagName("head");try{if((i=i.length?i:n.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function fe(e,n){var t=null;return new g.Z((function(r){var i=function n(){e.removeEventListener("load",n),e.removeEventListener("error",n),null!=t&&window.clearTimeout(t),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=n&&(t=window.setTimeout(i,n))}))}function le(e,n,t){var r=new Image;n&&E.isFn(n)&&fe(r,t).then(n),r.src=e}function ge(e){var n=e.source,t=e.burl;n===l.os.YZ&&t&&E.triggerPixel(t)}function pe(e){if(e){var n=document.createElement("iframe");n.id=U(),n.width=0,n.height=0,n.hspace="0",n.vspace="0",n.marginWidth="0",n.marginHeight="0",n.style.display="none",n.style.height="0px",n.style.width="0px",n.scrolling="no",n.frameBorder="0",n.allowtransparency="true",E.insertElement(n,document,"body"),n.contentWindow.document.open(),n.contentWindow.document.write(e),n.contentWindow.document.close()}}function ve(e,n,t){var r=E.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;n&&E.isFn(n)&&fe(o,t).then(n),E.insertElement(o,document,"html",!0)}function he(e){if(!e)return"";var n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+encodeURI(e)+'"></div>'}function me(e,n,t){return null==n?t:X(n)?n:ne(n)?n.toString():void E.logWarn("Unsuported type for param: "+e+" required type: String")}function ye(e,n,t){return t.indexOf(e)===n}function be(e,n){return e.concat(n)}function we(e,n){var t;if(e)return n.some((function(n){var r=(0,f.sE)(n.bids,(function(n){return["bidId","adId","bid_id"].some((function(t){return n[t]===e}))}));return r&&(t=r),r})),t}function Ce(e,n){return e[n]}function Ae(e,n){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===n)return t}function Te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C.adUnits;return e.map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(be,[])})).reduce(be,[]).filter((function(e){return void 0!==e})).filter(ye)}function Ee(){if(window.googletag&&Y(window.googletag.pubads)&&Y(window.googletag.pubads().getSlots))return!0}function Oe(){if(window.apntag&&Y(window.apntag.getTag))return!0}var ke=Be("timeToRespond",(function(e,n){return e>n})),Ie=Be("responseTimestamp",(function(e,n){return e>n}));Be("responseTimestamp",(function(e,n){return e<n}));function Be(e,n){return function(t,r){return t.cpm===r.cpm?n(t[e],r[e])?r:t:t.cpm<r.cpm?r:t}}function je(e){for(var n=e.length;n>0;){var t=Math.floor(Math.random()*n),r=e[--n];e[n]=e[t],e[t]=r}return e}function Se(e,n){return(0,f.q9)(e,n&&n.adUnitCode)}function Ue(e){return s()(e)}function Pe(){try{return E.getWindowSelf()!==E.getWindowTop()}catch(e){return!0}}function Re(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Ne(e,n){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,n)}function _e(e,n){if(e&&n&&"string"==typeof n)return e.replace(/\${CLICKTHROUGH}/g,n)}function qe(){return(new Date).getTime()}function xe(){return window.performance&&window.performance.now&&window.performance.now()||0}function De(){return!1!==c.vc.getConfig("deviceAccess")}function Ze(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function He(e,n){if(n<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(n));var t=0;return function(){++t===n&&e.apply(this,arguments)}}function Me(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})}function Fe(e,n){return n.filter((function(n){return e[n]})).reduce((function(n,t){return Object.assign(n,(0,a.Z)({},t,e[t]))}),{})}function ze(e){var n=["banner","native","video"];return!!Object.keys(e).every((function(e){return(0,f.q9)(n,e)}))&&(!e.video||!e.video.context||(0,f.q9)(["instream","outstream","adpod"],e.video.context))}function We(e,n,t){return e.filter((function(e){return e.code===n})).map((function(e){return e.bids})).reduce(be,[]).filter((function(e){return e.bidder===t})).map((function(e){return e.params||{}}))}function Le(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}var Ke=function(e,n){return e.getAdUnitPath()===n||e.getSlotElementId()===n};function Ge(e){return function(n){return Ke(e,n)}}function Ve(e){return function(n){return Ke(n,e)}}function Je(e){var n=function(e){var n;return Ee()&&(n=(0,f.sE)(window.googletag.pubads().getSlots(),Ve(e))),n}(e);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}function Qe(e,n){var t=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(t," ad unit\n containing bidders that don't support ").concat(t,": ").concat(n,".\n This bidder won't fetch demand.\n ")}function $e(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function Ye(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,n){return"_"+n.toLowerCase()})).replace(/^_/,"")}function Xe(e,n){return"object"!==(0,u.Z)(e)?{}:n.reduce((function(t,r,i){if("function"==typeof r)return t;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var u=e[r];return"function"==typeof n[i+1]&&(u=n[i+1](u,t)),void 0!==u&&(t[o]=u),t}),{})}function en(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",t=[];return ae(e,(function(e,r){if(ee(e)){var i=[];ae(e,(function(e){((e=me(n+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!X(e=me(n+"."+r,e)))return;e=[e]}t.push({key:r,value:e})})),t}function nn(e,n){return Object.keys(e).forEach((function(t){var r,i;n[t]&&(Y(e[t])?n[t]=e[t](n[t]):n[t]=(r=e[t],i=n[t],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(n[t])&&delete n.key)})),n}function tn(e,n){return ee(e)&&(!n||e.length===n)&&e.every((function(e){return $e(e)}))}function rn(e,n){for(var t=[],r=0;r<n;r++){var i=te(e)?Ue(e):e;t.push(i)}return t}function on(e,n){for(var t=[],r=0;r<Math.ceil(e.length/n);r++){var i=r*n,o=i+n;t.push(e.slice(i,o))}return t}function an(e){return Math.min.apply(Math,(0,o.Z)(e))}function un(e){return Math.max.apply(Math,(0,o.Z)(e))}function cn(e){return function(n,t){return n[e]<t[e]?1:n[e]>t[e]?-1:0}}function dn(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,n){var t=n.split("="),r=(0,i.Z)(t,2),o=r[0],a=r[1];return/\[\]$/.test(o)?(e[o=o.replace("[]","")]=e[o]||[],e[o].push(a)):e[o]=a||"",e}),{}):{}}function sn(e){return Object.keys(e).map((function(n){return Array.isArray(e[n])?e[n].map((function(e){return"".concat(n,"[]=").concat(e)})).join("&"):"".concat(n,"=").concat(e[n])})).join("&")}function fn(e,n){var t=document.createElement("a");n&&"noDecodeWholeURL"in n&&n.noDecodeWholeURL?t.href=e:t.href=decodeURIComponent(e);var r=n&&"decodeSearchAsString"in n&&n.decodeSearchAsString;return{href:t.href,protocol:(t.protocol||"").replace(/:$/,""),hostname:t.hostname,port:+t.port,pathname:t.pathname.replace(/^(?!\/)/,"/"),search:r?t.search:E.parseQS(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host||window.location.host}}function ln(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(E.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function gn(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.checkTypes,i=void 0!==r&&r;if(e===n)return!0;if("object"!==(0,u.Z)(e)||null===e||"object"!==(0,u.Z)(n)||null===n||i&&e.constructor!==n.constructor)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var o in e){if(!n.hasOwnProperty(o))return!1;if(!gn(e[o],n[o],{checkTypes:i}))return!1}return!0}function pn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];if(!t.length)return e;var i=t.shift();if(te(e)&&te(i)){var u=function(n){te(i[n])?(e[n]||Object.assign(e,(0,a.Z)({},n,{})),pn(e[n],i[n])):ee(i[n])?e[n]?ee(e[n])&&i[n].forEach((function(t){for(var r=1,i=0;i<e[n].length;i++)if(gn(e[n][i],t)){r=0;break}r&&e[n].push(t)})):Object.assign(e,(0,a.Z)({},n,(0,o.Z)(i[n]))):Object.assign(e,(0,a.Z)({},n,i[n]))};for(var c in i)u(c)}return pn.apply(void 0,[e].concat(t))}function vn(e){for(var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,n){if(Y(Math.imul))return Math.imul(e,n);var t=(4194303&e)*(n|=0);return 4290772992&e&&(t+=(4290772992&e)*n|0),0|t},i=3735928559^t,o=1103547991^t,a=0;a<e.length;a++)i=r(i^(n=e.charCodeAt(a)),2654435761),o=r(o^n,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()}function hn(e){return e?e.defaultView:null}function mn(e){try{return JSON.parse(e)}catch(e){}}function yn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},t=new Map,r=function(){var r=n.apply(this,arguments);return t.has(r)||t.set(r,e.apply(this,arguments)),t.get(r)};return r.clear=t.clear.bind(t),r}function bn(e,n){for(var t in n)n.hasOwnProperty(t)&&e.setAttribute(t,n[t])}var wn;wn={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"}},9128:function(e,n,t){t.d(n,{Bf:function(){return h},V6:function(){return y},g3:function(){return w}});var r=t(3324),i=t(3193);function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return u=e.done,e},e:function(e){c=!0,o=e},f:function(){try{u||null==t.return||t.return()}finally{if(c)throw o}}}}function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var u="performanceMetrics",c=window.performance&&window.performance.now?function(){return window.performance.now()}:function(){return Date.now()},d=new WeakMap;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.now,t=void 0===n?c:n,r=e.mkNode,i=void 0===r?g:r,o=e.mkTimer,a=void 0===o?l:o,u=e.mkRenamer,s=void 0===u?function(e){return e}:u,f=e.nodes,p=void 0===f?d:f;return function(){return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return{forEach:function(n){n(e)}}};function o(e){return function(t){return n.dfWalk({visit:function(n,r){var i=r[e];if(i.hasOwnProperty(t))return i[t]}})}}r=s(r);var u=o("timestamps");function c(e,t){var i=r(e);n.dfWalk({follow:function(e,n){return n.propagate&&(!e||!e.stopPropagation)},visit:function(e,n){i.forEach((function(r){null==e?n.metrics[r]=t:(n.groups.hasOwnProperty(r)||(n.groups[r]=[]),n.groups[r].push(t))}))}})}function d(e){n.timestamps[e]=t()}function f(e,n){var r=u(e),i=null!=r?t()-r:null;return null!=n&&c(n,i),i}function l(e,n,t){var r=u(e),i=u(n),o=null!=r&&null!=i?i-r:null;return null!=t&&c(t,o),o}function g(e){return a(t,(function(n){return c(e,n)}))}function v(e,n){return g(e).stopAfter(n)()}function h(e,n,t){var r=g(e);return t(function(e){var n=r.stopBefore(e);return n.bail=e.bail&&r.stopBefore(e.bail),n.stopTiming=r,n.untimed=e,n}(n))}function m(){var e={};return n.dfWalk({visit:function(n,t){e=Object.assign({},!n||n.includeGroups?t.groups:null,t.metrics,e)}}),e}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.propagate,a=void 0===o||o,u=t.stopPropagation,c=void 0!==u&&u,d=t.includeGroups,s=void 0!==d&&d;return e(i([[n,{propagate:a,stopPropagation:c,includeGroups:s}]]),r)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.propagate,i=void 0===r||r,o=t.stopPropagation,a=void 0!==o&&o,u=t.includeGroups,c=void 0!==u&&u,d=p.get(e);null!=d&&d.addParent(n,{propagate:i,stopPropagation:a,includeGroups:c})}function w(t){return e(n,t)}function C(){return e(n.newSibling(),r)}var A={startTiming:g,measureTime:v,measureHookTime:h,checkpoint:d,timeSince:f,timeBetween:l,setMetric:c,getMetrics:m,fork:y,join:b,newMetrics:C,renameWith:w,toJSON:function(){return m()}};return p.set(A,n),A}(i([]))}}function f(e,n,t){return function(){n&&n();try{return e.apply(this,arguments)}finally{t&&t()}}}function l(e,n){var t=e(),r=!1;function i(){r||(n(e()-t),r=!0)}return i.stopBefore=function(e){return f(e,i)},i.stopAfter=function(e){return f(e,null,i)},i}function g(e){return{metrics:{},timestamps:{},groups:{},addParent:function(n,t){e.push([n,t])},newSibling:function(){return g(e.slice())},dfWalk:function(){var n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.visit,a=t.follow,u=void 0===a?function(){return!0}:a,c=t.visited,d=void 0===c?new Set:c,s=t.inEdge;if(!d.has(this)){if(d.add(this),null!=(n=i(s,this)))return n;var f,l=o(e);try{for(l.s();!(f=l.n()).done;){var g=(0,r.Z)(f.value,2),p=g[0],v=g[1];if(u(s,v)&&null!=(n=p.dfWalk({visit:i,follow:u,visited:d,inEdge:v})))return n}}catch(e){l.e(e)}finally{l.f()}}}}}var p=function(){var e=function(){},n=function(){return{}},t={forEach:e},r=function(){return null};r.stopBefore=function(e){return e},r.stopAfter=function(e){return e};var i=Object.defineProperties({dfWalk:e,newSibling:function(){return i},addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((function(e){return[e,{get:n}]}))));return s({now:function(){return 0},mkNode:function(){return i},mkRenamer:function(){return function(){return t}},mkTimer:function(){return r},nodes:{get:e,set:e}})()}(),v=!0;function h(e){return v&&e||p}i.vc.getConfig(u,(function(e){v=!!e[u]}));var m,y=(m=s(),function(){return v?m():p});function b(e,n){return function(t,r){return function(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];var c=this;return h(n.apply(c,a)).measureHookTime(e+t,i,(function(e){return r.call.apply(r,[c,e].concat(a))}))}}}var w=b("requestBids.",(function(e){return e.metrics}));b("addBidResponse.",(function(e,n){return n.metrics}))},8792:function(e,n,t){t.d(n,{P:function(){return h},Z:function(){return p}});var r=t(3324),i=t(5671),o=t(3144),a=t(8916),u=t(2793);function c(e,n,t){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.set(e,t)}function d(e,n,t){return function(e,n){if(e!==n)throw new TypeError("Private static access of wrong provenance")}(e,n),t}var s=0,f=1,l=new WeakMap,g=new WeakMap,p=function(){function e(n){if((0,i.Z)(this,e),c(this,l,{writable:!0,value:void 0}),c(this,g,{writable:!0,value:void 0}),"function"!=typeof n)throw new Error("resolver not a function");var t=[],o=[],a=[s,f].map((function(e){return function(n){if(e===s&&"function"==typeof(null==n?void 0:n.then))n.then(p,v);else if(!t.length)for(t.push(e,n);o.length;)o.shift()()}})),d=(0,r.Z)(a,2),p=d[0],v=d[1];try{n(p,v)}catch(e){v(e)}(0,u.Z)(this,l,t),(0,u.Z)(this,g,o)}return(0,o.Z)(e,[{key:"then",value:function(e,n){var t=this,i=(0,a.Z)(this,l);return new this.constructor((function(o,u){var c=function(){var t=i[1],a=i[0]===s?[e,o]:[n,u],c=(0,r.Z)(a,2),d=c[0],f=c[1];if("function"==typeof d){try{t=d(t)}catch(e){return void u(e)}f=o}f(t)};i.length?c():(0,a.Z)(t,g).push(c)}))}},{key:"catch",value:function(e){return this.then(null,e)}},{key:"finally",value:function(e){var n,t=this;return this.then((function(t){return n=t,e()}),(function(r){return n=t.constructor.reject(r),e()})).then((function(){return n}))}}],[{key:"timeout",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new e((function(e){0===n?e():setTimeout(e,n)}))}},{key:"race",value:function(n){var t=this;return new this((function(r,i){d(t,e,v).call(t,n,(function(e,n){return e?r(n):i(n)}))}))}},{key:"all",value:function(n){var t=this;return new this((function(r,i){var o=[];d(t,e,v).call(t,n,(function(e,n,t){return e?o[t]=n:i(n)}),(function(){return r(o)}))}))}},{key:"allSettled",value:function(n){var t=this;return new this((function(r){var i=[];d(t,e,v).call(t,n,(function(e,n,t){return i[t]=e?{status:"fulfilled",value:n}:{status:"rejected",reason:n}}),(function(){return r(i)}))}))}},{key:"resolve",value:function(e){return new this((function(n){return n(e)}))}},{key:"reject",value:function(e){return new this((function(n,t){return t(e)}))}}]),e}();function v(e,n,t){var r=this,i=e.length;function o(){n.apply(this,arguments),--i<=0&&t&&t()}0===e.length&&t?t():e.forEach((function(e,n){return r.resolve(e).then((function(e){return o(!0,e,n)}),(function(e){return o(!1,e,n)}))}))}function h(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.promiseFactory,i=void 0===r?function(e){return new p(e)}:r;function o(e){return function(n){return e(n)}}return{promise:i((function(t,r){e=t,n=r})),resolve:o(e),reject:o(n)}}},154:function(e,n,t){t.d(n,{Dn:function(){return s},LD:function(){return d},gZ:function(){return c},hD:function(){return f}});var r=t(265),i=t(4358),o=t(3193),a=t(2797),u=t(8653),c="outstream",d="instream";function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,i=void 0===t?u.K.index:t,o=(0,r.Z)(i.getMediaTypes(e),"video"),a=o&&(0,r.Z)(o,"context"),c=o&&(0,r.Z)(o,"useCacheKey"),d=i.getAdUnit(e);return f(e,d,o,a,c)}var f=(0,a.z3)("sync",(function(e,n,t,r,a){return t&&(a||r!==c)?o.vc.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.H)('\n This bid contains only vastXml and will not work when a prebid cache url is not specified.\n Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n '),!1):!(r===c&&!a)||!!(e.renderer||n&&n.renderer||t.renderer)}),"checkVideoBidSetup")},9885:function(e,n,t){t.d(n,{h:function(){return d},z:function(){return s}});var r=t(8928),i=t(3193),o=t(8653);function a(e,n){var t=n?"<![CDATA[".concat(n,"]]>"):"";return'<VAST version="3.0">\n <Ad>\n <Wrapper>\n <AdSystem>prebid.org wrapper</AdSystem>\n <VASTAdTagURI><![CDATA['.concat(e,"]]></VASTAdTagURI>\n <Impression>").concat(t,"</Impression>\n <Creatives></Creatives>\n </Wrapper>\n </Ad>\n </VAST>")}function u(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?o.K.index:t,u=e.vastXml?e.vastXml:a(e.vastUrl,e.vastImpUrl),c=r.getAuction(e),d=Number(e.ttl)+15,s={type:"xml",value:u,ttlseconds:d};return i.vc.getConfig("cache.vasttrack")&&(s.bidder=e.bidder,s.bidid=e.requestId,s.aid=e.auctionId),null!=c&&(s.timestamp=c.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(s.key=e.customCacheKey),s}function c(e){return{success:function(n){var t;try{t=JSON.parse(n).responses}catch(n){return void e(n,[])}t?e(null,t):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(n,t){e(new Error("Error storing video ad in the cache: ".concat(n,": ").concat(JSON.stringify(t))),[])}}}function d(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.O,o={puts:e.map(u)},a=t(i.vc.getConfig("cache.timeout"));a(i.vc.getConfig("cache.url"),c(n),JSON.stringify(o),{contentType:"text/plain",withCredentials:!0})}function s(e){return"".concat(i.vc.getConfig("cache.url"),"?uuid=").concat(e)}},265:function(e,n,t){function r(e,n,t,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)e=e?e[n[r]]:i;return e===i?t:e}t.d(n,{Z:function(){return r}})},1432:function(e){ a.SYNC=1,a.ASYNC=2,a.QUEUE=4;var n=Object.freeze({useProxy:!0,ready:0}),t=new WeakMap,r="2,1,0"===[1].reduce((function(e,n,t){return[e,n,t]}),2).toString()?Array.prototype.reduce:function(e,n){var t,r=Object(this),i=r.length>>>0,o=0;if(n)t=n;else{for(;o<i&&!(o in r);)o++;t=r[o++]}for(;o<i;)o in r&&(t=e(t,r[o],o,r)),o++;return t};function i(e,n){return Array.prototype.slice.call(e,n)}var o=Object.assign||function(e){return r.call(i(arguments,1),(function(e,n){return n&&Object.keys(n).forEach((function(t){e[t]=n[t]})),e}),e)};function a(e){var u,c={},d=[];function s(e,n){return"function"==typeof e?p.call(null,"sync",e,n):"string"==typeof e&&"function"==typeof n?p.apply(null,arguments):"object"==typeof e?f.apply(null,arguments):void 0}function f(e,n,t){var r=!0;void 0===n&&(n=Object.getOwnPropertyNames(e),r=!1);var i={},o=["constructor"];do{(n=n.filter((function(n){return!("function"!=typeof e[n]||-1!==o.indexOf(n)||n.match(/^_/))}))).forEach((function(n){var r=n.split(":"),o=r[0],a=r[1]||"sync";if(!i[o]){var u=e[o];i[o]=e[o]=p(a,u,t?[t,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function l(e){var n=Array.isArray(e)?e:e.split(".");return r.call(n,(function(t,r,i){var o=t[r],a=!1;return o||(i===n.length-1?(u||d.push((function(){a||console.warn("fun-hooks: referenced '"+e+"' but it was never created")})),t[r]=g((function(e){t[r]=e,a=!0}))):t[r]={})}),c)}function g(e){var n=[],r=[],i=function(){},a={before:function(e,t){return c.call(this,n,"before",e,t)},after:function(e,n){return c.call(this,r,"after",e,n)},getHooks:function(e){var t=n.concat(r);"object"==typeof e&&(t=t.filter((function(n){return Object.keys(e).every((function(t){return n[t]===e[t]}))})));try{o(t,{remove:function(){return t.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return t},removeAll:function(){return this.getHooks().remove()}},u={install:function(t,o,a){this.type=t,i=a,a(n,r),e&&e(o)}};return t.set(a.after,u),a;function c(e,t,o,a){var u={hook:o,type:t,priority:a||10,remove:function(){var t=e.indexOf(u);-1!==t&&(e.splice(t,1),i(n,r))}};return e.push(u),e.sort((function(e,n){return n.priority-e.priority})),i(n,r),this}}function p(n,r,c){var s=r.after&&t.get(r.after);if(s){if(s.type!==n)throw"fun-hooks: recreated hookable with different type";return r}var f,p,v=c?l(c):g(),h={get:function(e,n){return v[n]||Reflect.get.apply(Reflect,arguments)}};return u||d.push(m),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?p=new Proxy(r,h):(p=function(){return h.apply?h.apply(r,this,i(arguments)):r.apply(this,arguments)},o(p,v)),t.get(p.after).install(n,p,(function(e,t){var r,o=[];e.length||t.length?(e.forEach(a),r=o.push(void 0)-1,t.forEach(a),f=function(e,t,a){var u,c=0,d="async"===n&&"function"==typeof a[a.length-1]&&a.pop();function s(e){"sync"===n?u=e:d&&d.apply(null,arguments)}function f(e){if(o[c]){var r=i(arguments);return f.bail=s,r.unshift(f),o[c++].apply(t,r)}"sync"===n?u=e:d&&d.apply(null,arguments)}return o[r]=function(){var r=i(arguments,1);"async"===n&&d&&(delete f.bail,r.push(f));var o=e.apply(t,r);"sync"===n&&f(o)},f.apply(null,a),u}):f=void 0;function a(e){o.push(e.hook)}m()})),p;function m(){!u&&("sync"!==n||e.ready&a.SYNC)&&("async"!==n||e.ready&a.ASYNC)?"sync"!==n&&e.ready&a.QUEUE?h.apply=function(){var e=arguments;d.push((function(){p.apply(e[1],e[2])}))}:h.apply=function(){throw"fun-hooks: hooked function not ready"}:h.apply=f}}return(e=o({},n,e)).ready?s.ready=function(){u=!0,function(e){for(var n;n=e.shift();)n()}(d)}:u=!0,s.get=l,s}e.exports=a},7079:function(e){e.exports=function e(n){var t=Array.isArray(n)?[]:{};for(var r in n){var i=n[r];t[r]=i&&"object"==typeof i?e(i):i}return t}},907:function(e,n,t){function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{Z:function(){return r}})},3878:function(e,n,t){function r(e){if(Array.isArray(e))return e}t.d(n,{Z:function(){return r}})},5057:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},6983:function(e,n,t){function r(e,n){return n.get?n.get.call(e):n.value}t.d(n,{Z:function(){return r}})},6011:function(e,n,t){function r(e,n,t){if(n.set)n.set.call(e,t);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=t}}t.d(n,{Z:function(){return r}})},5671:function(e,n,t){function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:function(){return r}})},1519:function(e,n,t){function r(e,n,t){if(!n.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return n.get(e)}t.d(n,{Z:function(){return r}})},8916:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(6983),i=t(1519);function o(e,n){var t=(0,i.Z)(e,n,"get");return(0,r.Z)(e,t)}},2793:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(6011),i=t(1519);function o(e,n,t){var o=(0,i.Z)(e,n,"set");return(0,r.Z)(e,o,t),t}},3144:function(e,n,t){function r(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,n,t){return n&&r(e.prototype,n),t&&r(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}t.d(n,{Z:function(){return i}})},4942:function(e,n,t){function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,{Z:function(){return r}})},9199:function(e,n,t){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.d(n,{Z:function(){return r}})},1902:function(e,n,t){function r(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==t.return||t.return()}finally{if(u)throw i}}return o}}t.d(n,{Z:function(){return r}})},5267:function(e,n,t){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},2786:function(e,n,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},3324:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(3878),i=t(1902),o=t(181),a=t(5267);function u(e,n){return(0,r.Z)(e)||(0,i.Z)(e,n)||(0,o.Z)(e,n)||(0,a.Z)()}},9062:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(5057),i=t(9199),o=t(181),a=t(2786);function u(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},1002:function(e,n,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{Z:function(){return r}})},181:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(907);function i(e,n){if(e){if("string"==typeof e)return(0,r.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.Z)(e,n):void 0}}},6475:function(e,n,t){function r(e,n,t){n.split&&(n=n.split("."));for(var r,i,o=0,a=n.length,u=e;o<a&&"__proto__"!==(i=n[o++])&&"constructor"!==i&&"prototype"!==i;)u=u[i]=o===a?t:typeof(r=u[i])==typeof n?r:0*n[o]!=0||~(""+n[o]).indexOf(".")?{}:[]}t.d(n,{N:function(){return r}})},5644:function(e){e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"Q":1,"H":2},"FP":{"AUCTION_INIT":"auctionInit","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","BID_REJECTED":"bidRejected","NO_BID":"noBid","SEAT_NON_BID":"seatNonBid","BID_WON":"bidWon","BIDDER_DONE":"bidderDone","BIDDER_ERROR":"bidderError","SET_TARGETING":"setTargeting","BEFORE_REQUEST_BIDS":"beforeRequestBids","BEFORE_BIDDER_HTTP":"beforeBidderHttp","REQUEST_BIDS":"requestBids","ADD_AD_UNITS":"addAdUnits","AD_RENDER_FAILED":"adRenderFailed","AD_RENDER_SUCCEEDED":"adRenderSucceeded","TCF2_ENFORCEMENT":"tcf2Enforcement","AUCTION_DEBUG":"auctionDebug","BID_VIEWABLE":"bidViewable","STALE_RENDER":"staleRender","BILLABLE_EVENT":"billableEvent"},"q_":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TD":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain","ACAT":"hb_acat"},"kF":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_HOST":"hb_cache_host"},"FY":{"title":"hb_native_title","body":"hb_native_body","body2":"hb_native_body2","privacyLink":"hb_native_privacy","privacyIcon":"hb_native_privicon","sponsoredBy":"hb_native_brand","image":"hb_native_image","icon":"hb_native_icon","clickUrl":"hb_native_linkurl","displayUrl":"hb_native_displayurl","cta":"hb_native_cta","rating":"hb_native_rating","address":"hb_native_address","downloads":"hb_native_downloads","likes":"hb_native_likes","phone":"hb_native_phone","price":"hb_native_price","salePrice":"hb_native_saleprice","rendererUrl":"hb_renderer_url","adTemplate":"hb_adTemplate"},"os":{"YZ":"s2s"},"UE":{"CK":"targetingSet","fe":"rendered","G9":"bidRejected"},"Gw":{"UI":"Bid has missing or invalid properties","Gp":"Invalid request ID","Dg":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes"},"V1":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"s$":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"oF":{"ICON":1,"MAIN":3},"zA":["privacyLink","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"]}')}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return n[e](o,o.exports,r),o.exports}r.m=n,e=[],r.O=function(n,t,i,o){if(!t){var a=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],o=e[s][2];for(var u=!0,c=0;c<t.length;c++)(!1&o||a>=o)&&Object.keys(r.O).every((function(e){return r.O[e](t[c])}))?t.splice(c--,1):(u=!1,o<a&&(a=o));if(u){e.splice(s--,1);var d=i();void 0!==d&&(n=d)}}return n}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[t,i,o]},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},r.d=function(e,n){for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={602:0};r.O.j=function(n){return 0===e[n]};var n=function(n,t){var i,o,a=t[0],u=t[1],c=t[2],d=0;if(a.some((function(n){return 0!==e[n]}))){for(i in u)r.o(u,i)&&(r.m[i]=u[i]);if(c)var s=c(r)}for(n&&n(t);d<a.length;d++)o=a[d],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(s)},t=self.pbjsChunk=self.pbjsChunk||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var i=r(5291);i=r.O(i)}(); (self.pbjsChunk=self.pbjsChunk||[]).push([[355],{5590:function(o,n,i){function t(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}i.d(n,{P:function(){return t}})}}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[279],{4980:function(e,r,t){t.d(r,{T:function(){return g},x:function(){return R}});var n=t(3324),i=new WeakMap;function o(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i.has(e)){var t=Object.entries(e);t.sort((function(e,r){return(e=e[1].priority||0)===(r=r[1].priority||0)?0:e>r?-1:1})),i.set(e,t.map((function(e){var r=(0,n.Z)(e,2);return[r[0],r[1].fn]})))}var o=i.get(e).filter((function(e){var t=(0,n.Z)(e,1)[0];return!r.hasOwnProperty(t)||r[t]})).map((function(e){var t=(0,n.Z)(e,2),i=t[0],o=t[1];return r.hasOwnProperty(i)?r[i].bind(this,o):o}));return function(){var e=this,r=Array.from(arguments);o.forEach((function(t){t.apply(e,r)}))}}var a=t(4358),s=t(4942),d=t(6475),u=t(265),p=t(4679);function c(e){return(e=(0,a.sF)(e)).map((function(e){var r=e.split("x"),t=(0,n.Z)(r,2),i=t[0],o=t[1];return{w:parseInt(i,10),h:parseInt(o,10)}}))}var f=new Set(["pos","placement","plcmt","api","mimes","protocols","playbackmethod","minduration","maxduration","w","h","startdelay","placement","linearity","skip","skipmin","skipafter","minbitrate","maxbitrate","delivery","playbackend"]),v={instream:1};var m=t(5840);var l,b=t(6372),y=t(3790),h=(l={},(0,s.Z)(l,b.Z,{fpd:{priority:99,fn:function(e,r){(0,a.Ee)(e,r.ortb2)}},onlyOneClient:{priority:-99,fn:(0,y.A_)("ORTB request")},props:{fn:function(e,r){var t;Object.assign(e,{id:e.id||r.auctionId,test:e.test||0});var n=parseInt(r.timeout,10);isNaN(n)||(e.tmax=n),(0,d.N)(e,"source.tid",(null===(t=e.source)||void 0===t?void 0:t.tid)||r.auctionId)}}}),(0,s.Z)(l,b.DZ,{fpd:{priority:99,fn:function(e,r){(0,a.Ee)(e,r.ortb2Imp)}},id:{fn:function(e,r){e.id=r.bidId}},banner:{fn:function(e,r,t){if(!t.mediaType||t.mediaType===p.Mk){var n=(0,u.Z)(r,"mediaTypes.banner");if(n){var i={topframe:!0===(0,a.yL)()?0:1};n.sizes&&(i.format=c(n.sizes)),n.hasOwnProperty("pos")&&(i.pos=n.pos),e.banner=(0,a.Ee)(i,e.banner)}}}},pbadslot:{fn:function(e){var r,t,n,i,o=null===(r=e.ext)||void 0===r||null===(t=r.data)||void 0===t?void 0:t.pbadslot;o&&"string"==typeof o||(null===(n=e.ext)||void 0===n||(null===(i=n.data)||void 0===i||delete i.pbadslot))}}}),(0,s.Z)(l,b.Px,{mediaType:{priority:99,fn:m.R},banner:{fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.createPixel,t=void 0===r?function(e){return(0,a.SG)(decodeURIComponent(e))}:r;return function(e,r){e.mediaType===p.Mk&&(r.adm&&r.nurl?(e.ad=r.adm,e.ad+=t(r.nurl)):r.adm?e.ad=r.adm:r.nurl&&(e.adUrl=r.nurl))}}()},props:{fn:function(e,r,t){var i;Object.entries({requestId:null===(i=t.bidRequest)||void 0===i?void 0:i.bidId,seatBidId:r.id,cpm:r.price,currency:t.ortbResponse.cur||t.currency,width:r.w,height:r.h,dealId:r.dealid,creative_id:r.crid,creativeId:r.crid,burl:r.burl,ttl:r.exp||t.ttl,netRevenue:t.netRevenue}).filter((function(e){var r=(0,n.Z)(e,2);r[0];return void 0!==r[1]})).forEach((function(r){var t=(0,n.Z)(r,2),i=t[0],o=t[1];return e[i]=o})),e.meta||(e.meta={}),r.adomain&&(e.meta.advertiserDomains=r.adomain)}}}),l);h[b.DZ].native={fn:function(e,r,t){if(!t.mediaType||t.mediaType===p.B5){var n,i=r.nativeOrtbRequest;i&&(null!==(n=(i=Object.assign({},t.nativeRequest,i)).assets)&&void 0!==n&&n.length?e.native=(0,a.Ee)({},{request:JSON.stringify(i),ver:i.ver},e.native):(0,a.yN)("mediaTypes.native is set, but no assets were specified. Native request skipped.",r))}}},h[b.Px].native={fn:function(e,r){if(e.mediaType===p.B5){var t;if(t="string"==typeof r.adm?JSON.parse(r.adm):r.adm,!(0,a.PO)(t)||!Array.isArray(t.assets))throw new Error("ORTB native response contained no assets");e.native={ortb:t}}}},h[b.DZ].video={fn:function(e,r,t){if(!t.mediaType||t.mediaType===p.pX){var i=(0,u.Z)(r,"mediaTypes.video");if(!(0,a.xb)(i)){var o=Object.fromEntries(Object.entries(i).filter((function(e){var r=(0,n.Z)(e,1)[0];return f.has(r)})));if(i.playerSize){var s=c(i.playerSize);s.length>1&&(0,a.yN)("video request specifies more than one playerSize; all but the first will be ignored"),Object.assign(o,s[0])}var d=v[i.context];null!=d&&(o.placement=d),e.video=(0,a.Ee)(o,e.video)}}}},h[b.Px].video={fn:function(e,r,t){if(e.mediaType===p.pX){if((0,u.Z)(t.imp,"video.w")&&(0,u.Z)(t.imp,"video.h")){var n=[t.imp.video.w,t.imp.video.h];e.playerWidth=n[0],e.playerHeight=n[1]}r.adm&&(e.vastXml=r.adm),r.nurl&&(e.vastUrl=r.nurl)}}};var O=t(1283);function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.context,t=void 0===r?{}:r,n=e.processors,i=void 0===n?g:n,s=e.overrides,d=void 0===s?{}:s,u=e.imp,p=e.request,c=e.bidResponse,f=e.response,v=new WeakMap;function m(e,r,t,n){var a;return function(){return null==a&&(a=function(){var a=t.bind(this,o(i()[e]||{},d[e]||{}));return r&&(a=r.bind(this,a)),function(){try{return a.apply(this,arguments)}catch(e){n.call.apply(n,[this,e].concat(Array.prototype.slice.call(arguments)))}}}()),a.apply(this,arguments)}}var l=m(b.DZ,u,(function(e,r,t){var n={};return e(n,r,t),n}),(function(e,r,t){(0,a.H)("Error while converting bidRequest to ORTB imp; request skipped.",{error:e,bidRequest:r,context:t})})),y=m(b.Z,p,(function(e,r,t,n){var i={imp:r};return e(i,t,n),i}),(function(e,r,t,n){throw(0,a.H)("Error while converting to ORTB request",{error:e,imps:r,bidderRequest:t,context:n}),e})),h=m(b.Px,c,(function(e,r,t){var n={};return e(n,r,t),n}),(function(e,r,t){(0,a.H)("Error while converting ORTB seatbid.bid to bidResponse; bid skipped.",{error:e,bid:r,context:t})})),O=m(b.YC,f,(function(e,r,t,n){var i={bids:r};return e(i,t,n),i}),(function(e,r,t,n){throw(0,a.H)("Error while converting from ORTB response",{error:e,bidResponses:r,ortbResponse:t,context:n}),e}));return{toORTB:function(e){var r=e.bidderRequest,n=e.bidRequests,i=e.context,o=void 0===i?{}:i;n=n||r.bids;var s={req:Object.assign({bidRequests:n},t,o),imp:{}};s.req.impContext=s.imp;var d=n.map((function(e){var n=Object.assign({bidderRequest:r,reqContext:s.req},t,o),i=l(e,n);if(null!=i){if(i.hasOwnProperty("id"))return Object.assign(n,{bidRequest:e,imp:i}),s.imp[i.id]=n,i;(0,a.H)("Converted ORTB imp does not specify an id, ignoring bid request",e,i)}})).filter(Boolean),u=y(d,r,s.req);return s.req.bidderRequest=r,null!=u&&v.set(u,s),u},fromORTB:function(e){var r=e.request,t=e.response,n=v.get(r);if(null==n)throw new Error("ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`");function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign(e,{ortbRequest:r},t,e)}var o=Object.fromEntries((r.imp||[]).map((function(e){return[e.id,e]}))),s=(t.seatbid||[]).flatMap((function(e){return(e.bid||[]).map((function(r){if(o.hasOwnProperty(r.impid)&&n.imp.hasOwnProperty(r.impid))return h(r,i(n.imp[r.impid],{imp:o[r.impid],seatbid:e,ortbResponse:t}));(0,a.H)("ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid",r)}))})).filter(Boolean);return O(s,t,i(n.req))}}}var g=(0,a.HP)((function(){return(0,O.F)(h,(0,b.fP)(b.TP))}))},1283:function(e,r,t){t.d(r,{F:function(){return i}});var n=t(6372);function i(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var o=r.shift(),a=r.length>1?i.apply(void 0,r):r[0];return Object.fromEntries(n.gm.map((function(e){return[e,Object.assign({},o[e],a[e])]})))}},5840:function(e,r,t){t.d(r,{R:function(){return o},e:function(){return i}});var n=t(4679),i={1:n.Mk,2:n.pX,4:n.B5};function o(e,r,t){if(!e.mediaType){var n=t.mediaType;if(!n&&!i.hasOwnProperty(r.mtype))throw new Error("Cannot determine mediaType for response");e.mediaType=n||i[r.mtype]}}}}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[951],{8214:function(e,i,d){d.d(i,{X:function(){return y}});var r,t=d(1283),n=d(4942),a=d(3324),o=d(6372),s=d(265),b=d(4358),c=d(4679),p=d(5840),u=(r={},(0,n.Z)(r,c.Mk,"banner"),(0,n.Z)(r,c.B5,"native"),(0,n.Z)(r,c.pX,"video"),r);var v=d(4633),f=d(6475);var l=d(8653);var g,m=d(3193),h=d(8640);var x=(g={},(0,n.Z)(g,o.Z,{extPrebid:{fn:function(e,i){var d;(0,f.N)(e,"ext.prebid",(0,b.Ee)({auctiontimestamp:i.auctionStart,targeting:{includewinners:!0,includebidderkeys:!1}},null===(d=e.ext)||void 0===d?void 0:d.prebid)),m.vc.getConfig("debug")&&(e.ext.prebid.debug=!0)}},extPrebidChannel:{fn:function(e){var i,d;(0,f.N)(e,"ext.prebid.channel",Object.assign({name:"pbjs",version:(0,h.R)().version},null===(i=e.ext)||void 0===i||null===(d=i.prebid)||void 0===d?void 0:d.channel))}},extPrebidAliases:{fn:function(e,i,d){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},t=r.am,n=void 0===t?v.ZP:t;if(n.aliasRegistry[i.bidderCode]){var a=n.bidderRegistry[i.bidderCode];a&&a.getSpec().skipPbsAliasing||(0,f.N)(e,"ext.prebid.aliases.".concat(i.bidderCode),n.aliasRegistry[i.bidderCode])}}}}),(0,n.Z)(g,o.DZ,{params:{fn:function(e,i,d){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},t=r.adUnit,n=r.bidderRequests,a=r.index,o=void 0===a?l.K.index:a,s=r.bidderRegistry,b=void 0===s?v.ZP.bidderRegistry:s,c=i.params,p=b[i.bidder];p&&p.getSpec().transformBidParams&&(t=t||o.getAdUnit(i),n=n||[d.bidderRequest],c=p.getSpec().transformBidParams(c,!0,t,n)),c&&(0,f.N)(e,"ext.prebid.bidder.".concat(i.bidder),c)}},adUnitCode:{fn:function(e,i){var d=i.adUnitCode;d&&(0,f.N)(e,"ext.prebid.adunitcode",d)}}}),(0,n.Z)(g,o.Px,{mediaType:{fn:function(e,i,d){var r,t,n=d.mediaType;n||(n=p.e.hasOwnProperty(i.mtype)?p.e[i.mtype]:null===(r=i.ext)||void 0===r||null===(t=r.prebid)||void 0===t?void 0:t.type,u.hasOwnProperty(n)||(n=c.Mk)),e.mediaType=n},priority:99},videoCache:{fn:function(e,i){if(e.mediaType===c.pX){var d=(0,s.Z)(i,"ext.prebid.cache.vastXml")||{},r=d.cacheId,t=d.url;if(!r||!t){var n=(0,s.Z)(i,"ext.prebid.targeting")||{},a=n.hb_uuid,o=n.hb_cache_host,b=n.hb_cache_path;a&&o&&b&&(r=a,t="https://".concat(o).concat(b,"?uuid=").concat(a))}r&&t&&Object.assign(e,{videoCacheKey:r,vastUrl:t})}},priority:-10},bidderCode:{fn:function(e,i,d){var r;e.bidderCode=d.seatbid.seat,e.adapterCode=(0,s.Z)(i,"ext.prebid.meta.adaptercode")||(null===(r=d.bidRequest)||void 0===r?void 0:r.bidder)||e.bidderCode}},pbsBidId:{fn:function(e,i){var d=(0,s.Z)(i,"ext.prebid.bidid");(0,b.d8)(d)&&(e.pbsBidId=d)}},adserverTargeting:{fn:function(e,i){var d=(0,s.Z)(i,"ext.prebid.targeting");(0,b.PO)(d)&&(e.adserverTargeting=d)}},extPrebidMeta:{fn:function(e,i){e.meta=(0,b.Ee)({},(0,s.Z)(i,"ext.prebid.meta"),e.meta)}},pbsWurl:{fn:function(e,i){var d=(0,s.Z)(i,"ext.prebid.events.win");(0,b.d8)(d)&&(e.pbsWurl=d)}}}),(0,n.Z)(g,o.YC,{serverSideStats:{fn:function(e,i,d){Object.entries({errors:"serverErrors",responsetimemillis:"serverResponseTimeMs"}).forEach((function(e){var r=(0,a.Z)(e,2),t=r[0],n=r[1],o=(0,s.Z)(i,"ext.".concat(t,".").concat(d.bidderRequest.bidderCode));o&&(d.bidderRequest[n]=o,d.bidRequests.forEach((function(e){return e[n]=o})))}))}}}),g),Z=d(4980),y=(0,b.HP)((function(){return(0,t.F)((0,Z.T)(),x,(0,o.fP)(o.md))}))}}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[871],{8979:function(e,i,t){var n=t(4942),a=t(3324),o=t(9062),d=t(8640),r=t(4358),c=t(265),u=t(1224),s=t(5291),f=t(154),l=t(2797),v=t(9885),g=t(3193),h=t(4679),p=t(4614),b=t(8653),m=t(5644),C="hb_pb_cat_dur",y="hb_cache_id",T=50,_=5,D=function(){var e={};function i(i){var t,n,a;e[i]={},e[i].bidStorage=new Set,e[i].queueDispatcher=(t=T,a=1,function(e,i,o,d){var r=this,c=function(){E.call(r,e,i,o)};clearTimeout(n),d?a=1:a===_?(a=1,c()):(a++,n=setTimeout(c,t))}),e[i].initialCacheKey=(0,r.DO)()}return{addBid:function(t){e[t.auctionId]||i(t.auctionId),e[t.auctionId].bidStorage.add(t)},removeBid:function(i){e[i.auctionId].bidStorage.delete(i)},getBids:function(i){return e[i.auctionId]&&e[i.auctionId].bidStorage.values()},getQueueDispatcher:function(i){return e[i.auctionId]&&e[i.auctionId].queueDispatcher},setupInitialCacheKey:function(i){e[i.auctionId]||(e[i.auctionId]={},e[i.auctionId].initialCacheKey=(0,r.DO)())},getInitialCacheKey:function(i){return e[i.auctionId]&&e[i.auctionId].initialCacheKey}}}();function S(e,i){var t,n=D.getInitialCacheKey(e),a=(0,c.Z)(e,"video.durationBucket"),o=function(e){var i;if(g.vc.getConfig("adpod.prioritizeDeals")&&(0,c.Z)(e,"video.dealTier")){var t=g.vc.getConfig("adpod.dealTier.".concat(e.bidderCode,".prefix"));i=t?t+(0,c.Z)(e,"video.dealTier"):(0,c.Z)(e,"video.dealTier")}else{var n=(0,u.RH)(e);i=(0,u.dg)(n)(e)}return i}(e);if(i){var d=(0,c.Z)(e,"meta.adServerCatId");t="".concat(o,"_").concat(d,"_").concat(a,"s")}else t="".concat(o,"_").concat(a,"s");e.adserverTargeting||(e.adserverTargeting={}),e.adserverTargeting.hb_pb_cat_dur=t,e.adserverTargeting.hb_cache_id=n,e.videoCacheKey=n,e.customCacheKey="".concat(t,"_").concat(n)}function E(e,i,t){!function(e){for(var i=0;i<e.length;i++)D.removeBid(e[i])}(i),(0,v.h)(i,(function(n,a){if(n){(0,r.yN)("Failed to save to the video cache: ".concat(n,". Video bid(s) must be discarded."));for(var o=0;o<i.length;o++)(0,u.sq)(e,i[o])}else for(var d=0;d<a.length;d++)""!==a[d].uuid?(0,u.lU)(e,i[d]):(0,r.PN)("Detected a bid was not cached because the custom key was already registered. Attempted to use key: ".concat(i[d].customCacheKey,". Bid was: "),i[d]),t()}))}function I(e,i,t,n,a){if(a&&a.context===h.Oh){var o=g.vc.getConfig("adpod.brandCategoryExclusion");!(0,c.Z)(t,"meta.adServerCatId")&&o?((0,r.yN)("Detected a bid without meta.adServerCatId while setConfig({adpod.brandCategoryExclusion}) was enabled. This bid has been rejected:",t),n()):!1===g.vc.getConfig("adpod.deferCaching")?(D.addBid(t),S(t,o),function(e,i,t){var n=D.getBids(i);if(n){var a=(0,p.Oc)(n),o=D.getQueueDispatcher(i),d=!(e.getAuctionStatus()===u.Yw);o(e,a,t,d)}else(0,r.yN)("Attempted to cache a bid from an unknown auction. Bid:",i)}(i,t,n)):(D.setupInitialCacheKey(t),S(t,o),(0,u.lU)(i,t),n())}else e.call(this,i,t,n,a)}function B(e,i){var t=i.filter((function(e){var i=(0,c.Z)(e,"mediaTypes"),t=(0,c.Z)(i,"video");if(t&&t.context===h.Oh){if(Object.keys(i).length>1)return(0,r.yN)("Detected more than one mediaType in adUnitCode: ".concat(e.code," while attempting to define an 'adpod' video adUnit. 'adpod' adUnits cannot be mixed with other mediaTypes. This adUnit will be removed from the auction.")),!1;var n="Detected missing or incorrectly setup fields for an adpod adUnit. Please review the following fields of adUnitCode: ".concat(e.code,". This adUnit will be removed from the auction."),a=!!(t.playerSize&&((0,r.HC)(t.playerSize,2)||(0,r.kJ)(t.playerSize)&&t.playerSize.every((function(e){return(0,r.HC)(e,2)})))||t.sizeConfig),o=!!(t.adPodDurationSec&&(0,r.hj)(t.adPodDurationSec)&&t.adPodDurationSec>0),d=!!(t.durationRangeSec&&(0,r.HC)(t.durationRangeSec)&&t.durationRangeSec.every((function(e){return e>0})));if(!a||!o||!d)return n+=a?"":"\nmediaTypes.video.playerSize",n+=o?"":"\nmediaTypes.video.adPodDurationSec",n+=d?"":"\nmediaTypes.video.durationRangeSec",(0,r.yN)(n),!1}return!0}));i=t,e.call(this,i)}function U(e,i,t,n,a){if(a===h.Oh){var d=!0;if(g.vc.getConfig("adpod.brandCategoryExclusion")&&!(0,c.Z)(i,"meta.primaryCatId")&&(d=!1),(0,c.Z)(i,"video"))if((0,c.Z)(i,"video.context")&&i.video.context===h.Oh||(d=!1),!(0,c.Z)(i,"video.durationSeconds")||i.video.durationSeconds<=0)d=!1;else{var u=function(e,i){var t=(0,c.Z)(i,"video.durationSeconds"),n=e.durationRangeSec;if(n.sort((function(e,i){return e-i})),e.requireExactDuration){if(!(0,p.sE)(n,(function(e){return e===t})))return(0,r.yN)("Detected a bid with a duration value not part of the list of accepted ranges specified in adUnit.mediaTypes.video.durationRangeSec. Exact match durations must be used for this adUnit. Rejecting bid: ",i),!1;i.video.durationBucket=t}else{var a=Math.max.apply(Math,(0,o.Z)(n));if(!(t<=a+2))return(0,r.yN)("Detected a bid with a duration value outside the accepted ranges specified in adUnit.mediaTypes.video.durationRangeSec. Rejecting bid: ",i),!1;var d=(0,p.sE)(n,(function(e){return e+2>=t}));i.video.durationBucket=d}return!0}(n,i);u||(d=!1)}g.vc.getConfig("cache.url")||!i.vastXml||i.vastUrl||((0,r.H)('\n This bid contains only vastXml and will not work when a prebid cache url is not specified.\n Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n '),d=!1),e.bail(d)}else e.call(this,i,t,n,a)}function Z(e,i){(0,v.h)(e,(function(t,n){if(t)i(t,null);else{for(var a=[],o=0;o<n.length;o++)""!==n[o]&&a.push(e[o]);i(null,a)}}))}function k(e,i){return e.adserverTargeting[m.TD.PRICE_BUCKET]/e.video.durationBucket<i.adserverTargeting[m.TD.PRICE_BUCKET]/i.video.durationBucket?1:e.adserverTargeting[m.TD.PRICE_BUCKET]/e.video.durationBucket>i.adserverTargeting[m.TD.PRICE_BUCKET]/i.video.durationBucket?-1:0}function w(e){return b.K.getAdUnits().filter((function(e){return(0,c.Z)(e,"mediaTypes.video.context")===h.Oh})).filter((function(i){return!(e.length>0)||-1!=e.indexOf(i.code)}))}function K(e){var i=e.map((function(e){return Object.assign({},e,(0,n.Z)({},C,e.adserverTargeting.hb_pb_cat_dur))}));i=(0,r.vM)(i,C);var t=[];return Object.keys(i).forEach((function(e){i[e].sort((0,r.pJ)("responseTimestamp")),t.push(i[e][0])})),t}function O(e,i){var t=i.map((function(e){return e.code}));return e.filter((function(e){return-1!=t.indexOf(e.adUnitCode)&&e.video&&e.video.context===h.Oh}))}g.vc.getConfig("adpod",(function(e){return function(e){void 0!==e.bidQueueTimeDelay&&("number"==typeof e.bidQueueTimeDelay&&e.bidQueueTimeDelay>0?T=e.bidQueueTimeDelay:(0,r.yN)("Detected invalid value for adpod.bidQueueTimeDelay in setConfig; must be a positive number. Using default: ".concat(T))),void 0!==e.bidQueueSizeLimit&&("number"==typeof e.bidQueueSizeLimit&&e.bidQueueSizeLimit>0?_=e.bidQueueSizeLimit:(0,r.yN)("Detected invalid value for adpod.bidQueueSizeLimit in setConfig; must be a positive number. Using default: ".concat(_)))}(e.adpod)})),(0,l.o0)((0,l.v5)("callPrebidCache"),I),(0,l.o0)(s.O5,B),(0,l.o0)(f.hD,U);var R={TARGETING_KEY_PB_CAT_DUR:C,TARGETING_KEY_CACHE_ID:y,getTargeting:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.codes,t=e.callback;if(t){var o=w(i=i||[]),d=b.K.getBidsReceived(),u=g.vc.getConfig("adpod.brandCategoryExclusion"),s=g.vc.getConfig("adpod.deferCaching"),f="boolean"!=typeof s||s,l=O(d,o);l=u||f?K(l):l;var v=g.vc.getConfig("adpod.prioritizeDeals");if(v){var h=l.reduce((function(e,i){var t=(0,c.Z)(i,"video.dealTier"),n=g.vc.getConfig("adpod.dealTier.".concat(i.bidderCode,".minDealTier"));return n&&t?t>=n?e[1].push(i):e[0].push(i):t?e[1].push(i):e[0].push(i),e}),[[],[]]),p=(0,a.Z)(h,2),m=p[0],T=p[1];T.sort(k),m.sort(k),l=T.concat(m)}else l.sort(k);var _={};if(!1===f)o.forEach((function(e){var i=[],t=(0,c.Z)(e,"mediaTypes.video.adPodDurationSec");l.filter((function(i){return i.adUnitCode===e.code})).forEach((function(e,a,o){e.video.durationBucket<=t&&(i.push((0,n.Z)({},C,e.adserverTargeting.hb_pb_cat_dur)),t-=e.video.durationBucket),a===o.length-1&&i.length>0&&i.push((0,n.Z)({},y,e.adserverTargeting.hb_cache_id))})),_[e.code]=i})),t(null,_);else{var D=[];o.forEach((function(e){var i=(0,c.Z)(e,"mediaTypes.video.adPodDurationSec");l.filter((function(i){return i.adUnitCode===e.code})).forEach((function(e){e.video.durationBucket<=i&&(D.push(e),i-=e.video.durationBucket)}))})),Z(D,(function(e,i){if(e)t(e,null);else{var a=(0,r.vM)(i,"adUnitCode");Object.keys(a).forEach((function(e){var i=[];a[e].forEach((function(e,t,a){i.push((0,n.Z)({},C,e.adserverTargeting.hb_pb_cat_dur)),t===a.length-1&&i.length>0&&i.push((0,n.Z)({},y,e.adserverTargeting.hb_cache_id))})),_[e]=i})),t(null,_)}}))}return _}(0,r.H)("No callback function was defined in the getTargeting call. Aborting getTargeting().")}};Object.freeze(R),(0,l.bA)("adpod",(function(){function e(e,i){for(var t in i)e[t]=i[t]}(0,r.PO)(arguments.length<=0?void 0:arguments[0])?e(arguments.length<=0?void 0:arguments[0],R):(0,r.H)("Adpod module needs plain object to share methods with submodule")})),(0,d.z)("adpod")}},function(e){var i;i=8979,e(e.s=i)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[254],{1570:function(e,t,n){var r=n(1002);function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var a,o,s,c=n(8640),d=n(4358),p=n(6475),u=n(5339),m=n(4679),l="aol",g="verizon",f="onemobile",b="onedisplay",h={GET:"display-get"},v={GET:"mobile-get",POST:"mobile-post"},y={TAG:"iframe",TYPE:"iframe"},C={TAG:"img",TYPE:"image"},O=["admixer.net","adserver.org","adtelligent.com","akamai.com","amxdt.net","audigent.com","britepool.com","criteo.com","crwdcntrl.net","deepintent.com","epsilon.com","hcn.health","id5-sync.com","idx.lat","intentiq.com","intimatemerger.com","liveintent.com","liveramp.com","mediawallahscript.com","merkleinc.com","netid.de","neustar.biz","nextroll.com","novatiq.com","parrable.com","pubcid.org","quantcast.com","tapad.com","uidapi.com","verizonmedia.com","yahoo.com","zeotap.com"],x=I(a||(a=i(["","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""])),"host","network","placement","pageid","sizeid","alias","misc","dynamicParams"),P=I(o||(o=i(["","/bidRequest?"])),"host"),T=I(s||(s=i(["dcn=","&pos=","&cmd=bid",""])),"dcn","pos","dynamicParams"),E={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},S="https",k=1;function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=r[r.length-1]||{},o=[e[0]];return n.forEach((function(t,n){var i=(0,d.U)(t)?r[t]:a[t];o.push(i,e[n+1])})),o.join("")}}function R(e){return e===l||e===g||e===f}function w(e){if(R(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var t=e.params.imp[0];return t.id&&t.tagid&&t.banner&&t.banner.w&&t.banner.h}}function U(e){return R(e.bidder)&&e.params.dcn&&e.params.pos}function q(e){return((t=e.bidder)===l||t===g||t===b)&&e.params.placement&&e.params.network;var t}function M(e){return e.userIdAsEids.filter((function(e){return-1!==O.indexOf(e.source)}))}var D={code:l,gvlid:25,aliases:[f,b,g],supportedMediaTypes:[m.Mk],isBidRequestValid:function(e){return q(e)||function(e){return U(e)||w(e)}(e)},buildRequests:function(e,t){var n,r,i=this,a={};t&&(a.gdpr=t.gdprConsent,a.uspConsent=t.uspConsent,a.gppConsent=t.gppConsent,!a.gppConsent&&null!==(n=t.ortb2)&&void 0!==n&&null!==(r=n.regs)&&void 0!==r&&r.gpp&&(a.gppConsent={gppString:t.ortb2.regs.gpp,applicableSections:t.ortb2.regs.gpp_sid}));return e.map((function(e){var t=function(e){return U(e)?v.GET:w(e)?v.POST:q(e)?h.GET:void 0}(e);if(t)return i.formatBidRequest(t,e,a)}))},interpretResponse:function(e,t){var n=e.body;if(n){var r=this._parseBidResponse(n,t);if(r)return r}else(0,d.H)("Empty bid response",t.bidderCode,n)},getUserSyncs:function(e,t){var n=!(0,d.xb)(t)&&t[0].body;return n&&n.ext&&n.ext.pixels?this.parsePixelItems(n.ext.pixels):[]},formatBidRequest:function(e,t,n){var r;switch(e){case h.GET:r={url:this.buildMarketplaceUrl(t,n),method:"GET",ttl:60};break;case v.GET:r={url:this.buildOneMobileGetUrl(t,n),method:"GET",ttl:3600};break;case v.POST:r={url:this.buildOneMobileBaseUrl(t),method:"POST",ttl:3600,data:this.buildOpenRtbRequestData(t,n),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return r.bidderCode=t.bidder,r.bidId=t.bidId,r.userSyncOn=t.params.userSyncOn,r},buildMarketplaceUrl:function(e,t){var n,r=e.params,i=r.server,a=r.region||"us";return E.hasOwnProperty(a)||((0,d.yN)("Unknown region '".concat(a,"' for AOL bidder.")),a="us"),n=i||E[a],r.region=a,this.applyProtocol(x({host:n,network:r.network,placement:parseInt(r.placement),pageid:r.pageId||0,sizeid:r.sizeId||0,alias:r.alias||(0,d._d)(),misc:(new Date).getTime(),dynamicParams:this.formatMarketplaceDynamicParams(r,t)}))},buildOneMobileGetUrl:function(e,t){var n=e.params,i=n.dcn,a=n.pos,o=n.ext;"object"===(0,r.Z)(e.userId)&&(o=o||{},M(e).forEach((function(e){o["eid"+e.source]=e.uids[0].id})));var s=this.buildOneMobileBaseUrl(e);if(i&&a){var c=this.formatOneMobileDynamicParams(o,t);s+=T({dcn:i,pos:a,dynamicParams:c})}return s},buildOneMobileBaseUrl:function(e){return this.applyProtocol(P({host:e.params.host||"c2shb.ssp.yahoo.com"}))},applyProtocol:function(e){return/^https?:\/\//i.test(e)?e:0===e.indexOf("//")?"".concat(S,":").concat(e):"".concat(S,"://").concat(e)},formatMarketplaceDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};Object.assign(n,this.formatKeyValues(e.keyValues)),Object.assign(n,this.formatConsentData(t));var r="";return(0,d.yi)(n,(function(e,t){r+="".concat(t,"=").concat(encodeURIComponent(e),";")})),r},formatOneMobileDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isSecureProtocol()&&(e.secure=k),Object.assign(e,this.formatConsentData(t));var n="";return(0,d.yi)(e,(function(e,t){n+="&".concat(t,"=").concat(encodeURIComponent(e))})),n},buildOpenRtbRequestData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={id:e.params.id,imp:e.params.imp};if(this.isEUConsentRequired(t)&&((0,p.N)(n,"regs.ext.gdpr",k),t.gdpr.consentString&&(0,p.N)(n,"user.ext.consent",t.gdpr.consentString)),t.uspConsent&&(0,p.N)(n,"regs.ext.us_privacy",t.uspConsent),"object"===(0,r.Z)(e.userId)){n.user=n.user||{},n.user.ext=n.user.ext||{};var i=M(e);i.length>0&&(n.user.ext.eids=i)}return n},isEUConsentRequired:function(e){return!!(e&&e.gdpr&&e.gdpr.gdprApplies)},formatKeyValues:function(e){var t={};return(0,d.yi)(e,(function(e,n){t["kv".concat(n)]=e})),t},formatConsentData:function(e){var t={};return this.isEUConsentRequired(e)&&(t.gdpr=k,e.gdpr.consentString&&(t.euconsent=e.gdpr.consentString)),e.uspConsent&&(t.us_privacy=e.uspConsent),e.gppConsent&&e.gppConsent.gppString&&(t.gpp=e.gppConsent.gppString,t.gpp_sid=e.gppConsent.applicableSections),t},parsePixelItems:function(e){var t=/\w*(?=\s)/,n=/src=("|')(.*?)\1/,r=[];if(e){var i=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);i&&i.forEach((function(e){var i=e.match(t)[0],a=e.match(n)[2];i&&a&&r.push({type:i===C.TAG?C.TYPE:y.TYPE,url:a})}))}return r},_parseBidResponse:function(e,t){var n,r;try{n=e.seatbid[0].bid[0]}catch(e){return}if(n.ext&&n.ext.encp)r=n.ext.encp;else if(null===(r=n.price)||isNaN(r))return void(0,d.H)("Invalid price in bid response",l,n);return{bidderCode:t.bidderCode,requestId:t.bidId,ad:n.adm,cpm:r,width:n.w,height:n.h,creativeId:n.crid||0,pubapiId:e.id,currency:e.cur||"USD",dealId:n.dealid,netRevenue:!0,meta:{advertiserDomains:n&&n.adomain?n.adomain:[]},ttl:t.ttl}},isOneMobileBidder:R,isSecureProtocol:function(){return"https:"===document.location.protocol}};(0,u.dX)(D),(0,c.z)("aolBidAdapter")}},function(e){var t;t=1570,e(e.s=t)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[864],{6319:function(e,r,a){var n=a(1002),t=a(9062),i=a(8640),s=a(4358),o=a(265),d=a(5706),p=a(3193),c=a(5339),u=a(4679),l=a(8653),m=a(4614),f=a(154),v=a(5164),b=a(5975),g=a(7673),_=a(59),y="appnexus",h="https://ib.adnxs.com/ut/v3/prebid",k="https://ib.adnxs-simple.com/ut/v3/prebid",w=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],x=["minduration","maxduration","skip","skipafter","playbackmethod","api","startdelay"],I=["age","externalUid","external_uid","segments","gender","dnt","language"],C=["geo","device_id"],E=["enabled","dongle","member_id","debug_timeout"],j={apn_debug_dongle:"dongle",apn_debug_member_id:"member_id",apn_debug_timeout:"debug_timeout"},O={playback_method:{unknown:0,auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,auto_play_sound_unknown:5},context:{unknown:0,pre_roll:1,mid_roll:2,post_roll:3,outstream:4,"in-banner":5}},T={body:"description",body2:"desc2",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0}},icon:{serverName:"icon",requiredParams:{required:!0}},sponsoredBy:"sponsored_by",privacyLink:"privacy_link",salePrice:"saleprice",displayUrl:"displayurl"},q="<script",S=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,U="trk.js",R=(0,v.df)({bidderCode:y}),A={code:y,gvlid:32,aliases:[{code:"appnexusAst",gvlid:32},{code:"emxdigital",gvlid:183},{code:"pagescience",gvlid:32},{code:"defymedia",gvlid:32},{code:"gourmetads",gvlid:32},{code:"matomy",gvlid:32},{code:"featureforward",gvlid:32},{code:"oftmedia",gvlid:32},{code:"adasta",gvlid:32},{code:"beintoo",gvlid:618},{code:"projectagora",gvlid:1032},{code:"uol",gvlid:32}],supportedMediaTypes:[u.Mk,u.pX,u.B5],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.placement_id||e.params.member&&(e.params.invCode||e.params.inv_code))},buildRequests:function(e,r){var a,n,i=(e=(0,_.lY)(e)).map(Z),d=(0,m.sE)(e,z),c={};!0===p.vc.getConfig("coppa")&&(c={coppa:!0}),d&&Object.keys(d.params.user).filter((function(e){return(0,m.q9)(I,e)})).forEach((function(e){var r=(0,s.G2)(e);if("segments"===e&&(0,s.kJ)(d.params.user[e])){var a=[];d.params.user[e].forEach((function(e){(0,s.hj)(e)?a.push({id:e}):(0,s.PO)(e)&&a.push(e)})),c[r]=a}else"segments"!==e&&(c[r]=d.params.user[e])}));var u,l=(0,m.sE)(e,J);l&&l.params&&l.params.app&&(u={},Object.keys(l.params.app).filter((function(e){return(0,m.q9)(C,e)})).forEach((function(e){return u[e]=l.params.app[e]})));var f,v=(0,m.sE)(e,M);v&&v.params&&l.params.app&&l.params.app.id&&(f={appid:v.params.app.id});var b={},y={},w=R.getCookie("apn_prebid_debug")||null;if(w)try{b=JSON.parse(w)}catch(e){(0,s.H)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{Object.keys(j).forEach((function(e){var r=(0,s.rD)(e);(0,s.d8)(r)&&""!==r&&(b[j[e]]=r,b.enabled=!0)})),b=(0,s.uh)({member_id:"number",debug_timeout:"number"},b);var x=(0,m.sE)(e,X);x&&x.debug&&(b=x.debug)}b&&b.enabled&&Object.keys(b).filter((function(e){return(0,m.q9)(E,e)})).forEach((function(e){y[e]=b[e]}));var O=(0,m.sE)(e,D),T=O?parseInt(O.params.member,10):0,q=e[0].schain,S=(0,m.sE)(e,L),U={tags:(0,t.Z)(i),user:c,sdk:{source:"pbjs",version:"7.52.0"},schain:q};S&&(U.iab_support={omidpn:"Appnexus",omidpv:"7.52.0"}),T>0&&(U.member_id=T),l&&(U.device=u),v&&(U.app=f);var A,P,B=(0,s.I8)(r&&r.ortb2),V=(A=B,P=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var r=(0,o.Z)(A,e);(0,s.d8)(r)&&P.push(r)})),P).map((function(e){return K(e)})),F=(0,s.I8)(p.vc.getConfig("appnexusAuctionKeywords"))||{};Object.keys(F).forEach((function(e){((0,s.d8)(F[e])||(0,s.hj)(F[e]))&&(F[e]=[F[e]])}));var $=s.Ee.apply(void 0,[{},F].concat((0,t.Z)(V))),Q=(0,s.Bq)($);if(Q.length>0&&(Q.forEach(N),U.keywords=Q),p.vc.getConfig("adpod.brandCategoryExclusion")&&(U.brand_category_uniqueness=!0),y.enabled&&(U.debug=y,(0,s.PN)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(y,null,4))),r&&r.gdprConsent&&(U.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var W=r.gdprConsent.addtlConsent,Y=W.substring(W.indexOf("~")+1);U.gdpr_consent.addtl_consent=Y.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(U.us_privacy=r.uspConsent),null!=r&&r.gppConsent?U.privacy={gpp:r.gppConsent.gppString,gpp_sid:r.gppConsent.applicableSections}:null!=r&&null!==(a=r.ortb2)&&void 0!==a&&null!==(n=a.regs)&&void 0!==n&&n.gpp&&(U.privacy={gpp:r.ortb2.regs.gpp,gpp_sid:r.ortb2.regs.gpp_sid}),r&&r.refererInfo){var ee={rd_ref:encodeURIComponent(r.refererInfo.topmostLocation),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")},re=r.refererInfo.canonicalUrl;(0,s.d8)(re)&&""!==re&&(ee.rd_can=re),U.referrer_detection=ee}if((0,m.sE)(e,H)&&e.filter(H).forEach((function(e){var r=function(e,r){var a=r.mediaTypes.video,n=a.durationRangeSec,i=a.requireExactDuration,o=function(e){var r=e.adPodDurationSec,a=e.durationRangeSec,n=e.requireExactDuration,t=(0,s.XV)(a),i=Math.floor(r/t);return n?Math.max(i,a.length):i}(r.mediaTypes.video),d=(0,s.d5)(n),p=e.filter((function(e){return e.uuid===r.bidId})),c=s.hl.apply(void 0,(0,t.Z)(p).concat([o]));if(i){var u=Math.ceil(o/n.length),l=(0,s.yo)(c,u);n.forEach((function(e,r){l[r].map((function(r){G(r,"minduration",e),G(r,"maxduration",e)}))}))}else c.map((function(e){return G(e,"maxduration",d)}));return c}(i,e),a=U.tags.filter((function(r){return r.uuid!==e.bidId}));U.tags=[].concat((0,t.Z)(a),(0,t.Z)(r))})),e[0].userId){var ae=[];e[0].userIdAsEids.forEach((function(e){!e||!e.uids||e.uids.length<1||e.uids.forEach((function(r){var a={source:e.source,id:r.id};"adserver.org"==e.source?a.rti_partner="TDID":"uidapi.com"==e.source&&(a.rti_partner="UID2"),ae.push(a)}))})),ae.length&&(U.eids=ae)}i[0].publisher_id&&(U.publisher_id=i[0].publisher_id);var ne=function(e,r){var a=[],n={withCredentials:!0},t=h;(0,g.h)(null==r?void 0:r.gdprConsent)||(t=k);"TRUE"!==(0,s.rD)("apn_test").toUpperCase()&&!0!==p.vc.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});if(e.tags.length>15){var i=(0,s.I8)(e);(0,s.yo)(e.tags,15).forEach((function(e){i.tags=e;var s=JSON.stringify(i);a.push({method:"POST",url:t,data:s,bidderRequest:r,options:n})}))}else{var o=JSON.stringify(e);a={method:"POST",url:t,data:o,bidderRequest:r,options:n}}return a}(U,r);return ne},interpretResponse:function(e,r){var a=this,n=r.bidderRequest;e=e.body;var t=[];if(!e||e.error){var i="in response for ".concat(n.bidderCode," adapter");return e&&e.error&&(i+=": ".concat(e.error)),(0,s.H)(i),t}if(e.tags&&e.tags.forEach((function(e){var r,i=(r=e)&&r.ads&&r.ads.length&&(0,m.sE)(r.ads,(function(e){return e.rtb}));if(i&&((!0===b.S.get(n.bidderCode,"allowZeroCpmBids")?i.cpm>=0:i.cpm>0)&&(0,m.q9)(a.supportedMediaTypes,i.ad_type))){var p=function(e,r,a){var n=(0,s.zE)(e.uuid,[a]),t=(0,s._d)(),i={adId:t,requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:n.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.adomain&&(i.meta=Object.assign({},i.meta,{advertiserDomains:[r.adomain]}));r.advertiser_id&&(i.meta=Object.assign({},i.meta,{advertiserId:r.advertiser_id}));function p(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}r.buyer_member_id&&(i.meta=Object.assign({},i.meta,{dchain:p(r)}));r.brand_id&&(i.meta=Object.assign({},i.meta,{brandId:r.brand_id}));if(r.rtb.video){switch(Object.assign(i,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),(0,o.Z)(n,"mediaTypes.video.context")){case u.Oh:var l=(0,c.Q1)(n.bidder,r.brand_category_id);i.meta=Object.assign({},i.meta,{primaryCatId:l});var v=r.deal_priority;i.video={context:u.Oh,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:v},i.vastUrl=r.rtb.video.asset_url;break;case f.gZ:if(i.adResponse=e,i.adResponse.ad=i.adResponse.ads[0],i.adResponse.ad.video=i.adResponse.ad.rtb.video,i.vastXml=r.rtb.video.content,r.renderer_url){var b=(0,m.sE)(a.bids,(function(r){return r.bidId===e.uuid})),g=(0,o.Z)(b,"mediaTypes.video.renderer.options");g||(g=(0,o.Z)(b,"renderer.options")),i.renderer=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=d.Th.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{n.setRender(V)}catch(e){(0,s.yN)("Prebid Error calling setRender on renderer",e)}return n.setEventHandlers({impression:function(){return(0,s.ji)("AppNexus outstream video impression event")},loaded:function(){return(0,s.ji)("AppNexus outstream video loaded event")},ended:function(){(0,s.ji)("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),n}(i.adUnitCode,r,g)}break;case f.LD:i.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[u.B5]){var _,y=r.rtb[u.B5];if(function(e){if(!e||""===e)return!1;var r=e.match(S),a=null!=r&&r.length>=1,n=e.match(U),t=null!=n&&n.length>=1;return e.startsWith(q)&&t&&a}(r.viewability.config)){var h="pbjs_adid="+t+";pbjs_auc="+n.adUnitCode;_=r.viewability.config.replace("dom_id=%native_dom_id%",h)}var k=y.javascript_trackers;null==k?k=_:(0,s.d8)(k)?k=[k,_]:k.push(_),i[u.B5]={title:y.title,body:y.desc,body2:y.desc2,cta:y.ctatext,rating:y.rating,sponsoredBy:y.sponsored,privacyLink:y.privacy_link,address:y.address,downloads:y.downloads,likes:y.likes,phone:y.phone,price:y.price,salePrice:y.saleprice,clickUrl:y.link.url,displayUrl:y.displayurl,clickTrackers:y.link.click_trackers,impressionTrackers:y.impression_trackers,video:y.video,javascriptTrackers:k},y.main_img&&(i.native.image={url:y.main_img.url,height:y.main_img.height,width:y.main_img.width}),y.icon&&(i.native.icon={url:y.icon.url,height:y.icon.height,width:y.icon.width})}else{Object.assign(i,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers)for(var w=0;w<r.rtb.trackers[0].impression_urls.length;w++){var x=r.rtb.trackers[0].impression_urls[w],I=(0,s.SG)(x);i.ad+=I}}catch(e){(0,s.H)("Error appending tracking pixel",e)}}return i}(e,i,n);p.mediaType=function(e){var r=e.ad_type;return r===u.pX?u.pX:r===u.B5?u.B5:u.Mk}(i),t.push(p)}})),e.debug&&e.debug.debug_info){var p="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;p=p.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),(0,s.ji)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,s.ji)(p)}return t},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,a,n,t){if(e.iframeEnabled&&(0,g.h)(a)&&function(e){return!e||!Array.isArray(e.applicableSections)||e.applicableSections.every((function(e){return"number"==typeof e&&e<=5}))}(t))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,r,a,n){var t=s.Bq;if(!0===r){var i=null,d=p.vc.getConfig("s2sConfig");(0,s.PO)(d)?i=(0,o.Z)(d,"endpoint.p1Consent"):(0,s.kJ)(d)&&d.forEach((function(e){(0,m.q9)(e.bidders,a.bids[0].bidder)&&(i=(0,o.Z)(e,"endpoint.p1Consent"))})),i&&i.match("/openrtb2/prebid")&&(t=$)}return e=(0,s.uh)({member:"string",invCode:"string",placementId:"number",keywords:t,publisherId:"number"},e),r&&(P(e.keywords)&&e.keywords.forEach(N),Object.keys(e).forEach((function(r){var a=(0,s.G2)(r);a!==r&&(e[a]=e[r],delete e[r])})),e.use_pmt_rule="boolean"==typeof e.use_payment_rule&&e.use_payment_rule,e.use_payment_rule&&delete e.use_payment_rule),e}};function P(e){return!!((0,s.kJ)(e)&&e.length>0)}function N(e){P(e.value)&&""===e.value[0]&&delete e.value}function Z(e){var r={};Object.keys(e.params).forEach((function(r){var a=(0,s.G2)(r);a!==r&&(e.params[a]=e.params[r],delete e.params[r])})),r.sizes=B(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placement_id?r.id=parseInt(e.params.placement_id,10):r.code=e.params.inv_code,r.allow_smaller_sizes=e.params.allow_smaller_sizes||!1,r.use_pmt_rule="boolean"==typeof e.params.use_payment_rule?e.params.use_payment_rule:"boolean"==typeof e.params.use_pmt_rule&&e.params.use_pmt_rule,r.prebid=!0,r.disable_psa=!0;var a=function(e){if(!(0,s.LQ)(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,s.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);if(a&&(r.reserve=a),e.params.position)r.position={above:1,below:2}[e.params.position]||0;else{var n=(0,o.Z)(e,"mediaTypes.banner.pos")||(0,o.Z)(e,"mediaTypes.video.pos");0!==n&&1!==n&&3!==n||(r.position=3===n?2:n)}e.params.traffic_source_code&&(r.traffic_source_code=e.params.traffic_source_code),e.params.private_sizes&&(r.private_sizes=B(e.params.private_sizes)),e.params.supply_type&&(r.supply_type=e.params.supply_type),e.params.pub_click&&(r.pubclick=e.params.pub_click),e.params.ext_inv_code&&(r.ext_inv_code=e.params.ext_inv_code),e.params.publisher_id&&(r.publisher_id=parseInt(e.params.publisher_id,10)),e.params.external_imp_id&&(r.external_imp_id=e.params.external_imp_id);var t=(0,o.Z)(e,"ortb2Imp.ext.data.keywords");if((0,s.d8)(t)&&""!==t||!(0,s.xb)(e.params.keywords)){var i=K(t),d=(0,s.PO)(e.params.keywords)?(0,s.I8)(e.params.keywords):{};Object.keys(d).forEach((function(e){((0,s.d8)(d[e])||(0,s.hj)(d[e]))&&(d[e]=[d[e]])}));var p=(0,s.Ee)({},d,i),c=(0,s.Bq)(p);c.length>0&&(c.forEach(N),r.keywords=c)}var f,v,b=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot");if(b&&(r.gpid=b),(e.mediaType===u.B5||(0,o.Z)(e,"mediaTypes.".concat(u.B5)))&&(r.ad_types.push(u.B5),0===r.sizes.length&&(r.sizes=B([1,1])),e.nativeParams)){var g=(f=e.nativeParams,v={},Object.keys(f).forEach((function(e){var r=T[e]&&T[e].serverName||T[e]||e,a=T[e]&&T[e].requiredParams;if(v[r]=Object.assign({},a,f[e]),(r===T.image.serverName||r===T.icon.serverName)&&v[r].sizes){var n=v[r].sizes;((0,s.HC)(n)||(0,s.kJ)(n)&&n.length>0&&n.every((function(e){return(0,s.HC)(e)})))&&(v[r].sizes=B(v[r].sizes))}r===T.privacyLink&&(v.privacy_supported=!0)})),v);r[u.B5]={layouts:[g]}}var _=(0,o.Z)(e,"mediaTypes.".concat(u.pX)),y=(0,o.Z)(e,"mediaTypes.video.context");r.hb_source=_&&"adpod"===y?7:1,(e.mediaType===u.pX||_)&&r.ad_types.push(u.pX),(e.mediaType===u.pX||_&&"outstream"!==y)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return(0,m.q9)(w,e)})).forEach((function(a){switch(a){case"context":case"playback_method":var n=e.params.video[a];n=(0,s.kJ)(n)?n[0]:n,r.video[a]=O[a][n];break;case"frameworks":break;default:r.video[a]=e.params.video[a]}})),e.params.video.frameworks&&(0,s.kJ)(e.params.video.frameworks)&&(r.video_frameworks=e.params.video.frameworks)),_&&(r.video=r.video||{},Object.keys(_).filter((function(e){return(0,m.q9)(x,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=_[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===_[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=_[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var a=_[e];(a=(0,s.kJ)(a)?a[0]:a)>=1&&a<=4&&(r.video.playback_method=a)}break;case"api":if(!r.video_frameworks&&(0,s.kJ)(_[e])){var n=_[e].map((function(e){var r=4===e?5:5===e?4:e;if(r>=1&&r<=5)return r})).filter((function(e){return e}));r.video_frameworks=n}break;case"startdelay":case"placement":if("number"!=typeof r.video.context){var t=_.placement,i=_.startdelay,o=function(e){if(!e)return;if(2===e)return"in-banner";if(e>2)return"outstream"}(t)||function(e){if(!e)return;if(0===e)return"pre_roll";if(-1===e)return"mid_roll";if(-2===e)return"post_roll"}(i);r.video.context=O.context[o]}}}))),e.renderer&&(r.video=Object.assign({},r.video,{custom_renderer_present:!0})),e.params.frameworks&&(0,s.kJ)(e.params.frameworks)&&(r.banner_frameworks=e.params.frameworks);var h=(0,m.sE)(l.K.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return h&&h.mediaTypes&&h.mediaTypes.banner&&r.ad_types.push(u.Mk),0===r.ad_types.length&&delete r.ad_types,r}function B(e){var r=[],a={};if((0,s.kJ)(e)&&2===e.length&&!(0,s.kJ)(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(0,n.Z)(e))for(var t=0;t<e.length;t++){var i=e[t];(a={}).width=parseInt(i[0],10),a.height=parseInt(i[1],10),r.push(a)}return r}function z(e){return!!e.params.user}function D(e){return!!parseInt(e.params.member,10)}function J(e){if(e.params)return!!e.params.app}function M(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function X(e){return!!e.debug}function H(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===u.Oh}function L(e){var r=!1,a=e.params,n=e.params.video;return a.frameworks&&(0,s.kJ)(a.frameworks)&&(r=(0,m.q9)(e.params.frameworks,6)),!r&&n&&n.frameworks&&(0,s.kJ)(n.frameworks)&&(r=(0,m.q9)(e.params.video.frameworks,6)),r}function G(e,r,a){(0,s.xb)(e.video)&&(e.video={}),e.video[r]=a}function V(e,r){!function(e){try{var r=document.getElementById(e).querySelectorAll("div[id^='google_ads']");r[0]&&r[0].style.setProperty("display","none")}catch(e){}}(e.adUnitCode),function(e){try{var r=document.getElementById(e).querySelectorAll("script[id^='sas_script']");r[0].nextSibling&&"iframe"===r[0].nextSibling.localName&&r[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){((0,s.W$)(r)||window).ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},F.bind(null,e))}))}function F(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}function $(e){var r="";return Object.keys(e).forEach((function(a){(0,s.d8)(e[a])?""!==e[a]?r+="".concat(a,"=").concat(e[a],","):r+="".concat(a,","):(0,s.kJ)(e[a])&&(""===e[a][0]?r+="".concat(a,","):e[a].forEach((function(e){r+="".concat(a,"=").concat(e,",")})))})),r=r.substring(0,r.length-1)}function K(e){var r={};(0,s.d8)(e)&&""!==e&&e.split(/\s*(?:,)\s*/).forEach((function(e){if(-1!==e.indexOf("=")){var a=e.split("="),n=a[0],t=a[1];r.hasOwnProperty(n)?r[n].push(t):r[n]=[t]}else r.hasOwnProperty(e)||(r[e]=[""])}));return r}(0,c.dX)(A),(0,i.z)("appnexusBidAdapter")},7673:function(e,r,a){a.d(r,{h:function(){return t}});var n=a(265);function t(e){return null==e||!e.gdprApplies||!0===(0,n.Z)(e,"vendorData.purpose.consents.1")}}},function(e){var r;r=6319,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[266],{5630:function(n,e,t){var o,r,a,i,c,s,u=t(1002),d=t(4942),f=t(8640),p=t(4358),l=t(6475),g=t(3193),m=t(4633),v=t(4614),y=t(9128),b=t(6372),P=t(4078),C=!1,w={iab:function(n){var e=n.onSuccess,t=n.onError,o=n.onEvent;function r(n,r){(0,p.PN)("Received a response from CMP",n),r?(o(n),!1!==n.gdprApplies&&"tcloaded"!==n.eventStatus&&"useractioncomplete"!==n.eventStatus||S(n,{onSuccess:e,onError:t})):t("CMP unable to register callback function. Please check CMP setup.")}var a={},i=function(){for(var n,e,t=window;;){try{if("function"==typeof t.__tcfapi){e=t.__tcfapi,n=t;break}}catch(n){}try{if(t.frames.__tcfapiLocator){n=t;break}}catch(n){}if(t===window.top)break;t=t.parent}return{cmpFrame:n,cmpFunction:e}}(),c=i.cmpFrame,s=i.cmpFunction;if(!c)return t("TCF2 CMP not found.");"function"==typeof s?((0,p.PN)("Detected CMP API is directly accessible, calling it now..."),s("addEventListener",2,r)):((0,p.PN)("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."),function(n,e,t){var o="__tcfapi",r="".concat(o,"Call");function i(n){var e="".concat(o,"Return"),t="string"==typeof n.data&&(0,v.q9)(n.data,e)?JSON.parse(n.data):n.data;if(t[e]&&t[e].callId){var r=t[e];a.hasOwnProperty(r.callId)&&a[r.callId](r.returnValue,r.success)}}window[o]=function(n,t,o,i){var c=Math.random()+"",s=(0,d.Z)({},r,{command:n,version:t,parameter:i,callId:c});a[c]=o,e.postMessage(s,"*")},window.addEventListener("message",i,!1),window[o](n,2,t)}("addEventListener",c,r))},static:function(n){var e=n.onSuccess,t=n.onError;S(i,{onSuccess:e,onError:t})}};function h(n){var e,t,a=!1,i=null,s=!1;function u(n){null!=i&&clearTimeout(i),a||null==n||(0===n?e():i=setTimeout(e,n))}function d(e,t,o){if(u(null),a=!0,m.rp.setConsentData(e),"function"==typeof n){for(var r=arguments.length,i=new Array(r>3?r-3:0),c=3;c<r;c++)i[c-3]=arguments[c];n.apply(void 0,[t,o].concat(i))}}if((0,v.q9)(Object.keys(w),o)){var f={onSuccess:function(n){return d(n,!1)},onError:function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),o=1;o<e;o++)t[o-1]=arguments[o];d.apply(void 0,[null,!0,n].concat(t))},onEvent:function(n){t=n,s||(s=!0,null!=c&&u(c))}};e=function(){var n=function(n){d(n,!1,"".concat(s?"Timeout waiting for user action on CMP":"CMP did not load",", continuing auction..."))};S(t,{onSuccess:n,onError:function(){return n(A(void 0))}})},w[o](f),null!=c&&s||u(r)}else d(null,!1,"CMP framework (".concat(o,") is not a supported framework. Aborting consentManagement module and resuming auction."))}var M=(0,y.g3)("gdpr",(function(n,e){var t;t=function(t,o){if(o){var r=p.yN;t&&(r=p.H,o="".concat(o," Canceling auction as per consentManagement config."));for(var a=arguments.length,i=new Array(a>2?a-2:0),c=2;c<a;c++)i[c-2]=arguments[c];r.apply(void 0,[o].concat(i))}t?(n.stopTiming(),"function"==typeof e.bidsBackHandler?e.bidsBackHandler():(0,p.H)("Error executing bidsBackHandler")):n.call(this,e)},s?((0,p.PN)("User consent information already known. Pulling internally stored information..."),t(!1)):h(t)}));function S(n,e){var t,o,r=e.onSuccess,i=e.onError;t=n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:a,o=n&&n.tcString,"boolean"==typeof t&&(!0!==t||o&&(0,p.d8)(o))?r(A(n)):i("CMP returned unexpected value during lookup process.",n)}function A(n){return s={consentString:n?n.tcString:void 0,vendorData:n||void 0,gdprApplies:n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:a},n&&n.addtlConsent&&(0,p.d8)(n.addtlConsent)&&(s.addtlConsent=n.addtlConsent),s.apiVersion=2,s}g.vc.getConfig("consentManagement",(function(n){return function(n){if((n=n&&(n.gdpr||n.usp||n.gpp?n.gdpr:n))&&"object"===(0,u.Z)(n)){var e;(0,p.d8)(n.cmpApi)?o=n.cmpApi:(o="iab",(0,p.PN)("consentManagement config did not specify cmp. Using system default setting (".concat("iab",")."))),(0,p.hj)(n.timeout)?r=n.timeout:(r=1e4,(0,p.PN)("consentManagement config did not specify timeout. Using system default setting (".concat(1e4,")."))),c=(0,p.hj)(n.actionTimeout)?n.actionTimeout:null,a=!0===n.defaultGdprScope,(0,p.PN)("consentManagement module has been activated..."),"static"===o&&((0,p.PO)(n.consentData)?(null!=(null===(e=i=n.consentData)||void 0===e?void 0:e.getTCData)&&(i=i.getTCData),r=0):(0,p.H)("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),C||(0,f.R)().requestBids.before(M,50),C=!0,m.rp.enable(),h()}else(0,p.yN)("consentManagement (gdpr) config not defined, exiting consent manager")}(n.consentManagement)})),P.S.before((function(n,e){return n(e.then((function(n){var e=m.rp.getConsentData();return e&&("boolean"==typeof e.gdprApplies&&(0,l.N)(n,"regs.ext.gdpr",e.gdprApplies?1:0),(0,l.N)(n,"user.ext.consent",e.consentString)),n})))})),(0,b.f8)({type:b.Z,name:"gdprAddtlConsent",fn:function(n,e){var t,o=null===(t=e.gdprConsent)||void 0===t?void 0:t.addtlConsent;o&&"string"==typeof o&&(0,l.N)(n,"user.ext.ConsentedProvidersSettings.consented_providers",o)}}),(0,f.z)("consentManagement")},6372:function(n,e,t){t.d(e,{DZ:function(){return i},Px:function(){return c},TP:function(){return u},YC:function(){return s},Z:function(){return a},f8:function(){return g},fP:function(){return m},gm:function(){return o},md:function(){return d}});var o=["request","imp","bidResponse","response"],r=["default","pbs"],a=o[0],i=o[1],c=o[2],s=o[3],u=r[0],d=r[1],f=new Set(o);var p,l=(p={},{registerOrtbProcessor:function(n){var e=n.type,t=n.name,r=n.fn,a=n.priority,i=void 0===a?0:a,c=n.dialects,s=void 0===c?[u]:c;if(!f.has(e))throw new Error("ORTB processor type must be one of: ".concat(o.join(", ")));s.forEach((function(n){p.hasOwnProperty(n)||(p[n]={}),p[n].hasOwnProperty(e)||(p[n][e]={}),p[n][e][t]={priority:i,fn:r}}))},getProcessors:function(n){return p[n]||{}}}),g=l.registerOrtbProcessor,m=l.getProcessors}},function(n){var e;e=5630,n(n.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[168],{7523:function(n,e,t){var a,o,c,r,i=t(1002),s=t(4942),p=t(8640),l=t(4358),u=t(6475),d=t(3193),f=t(4633),g=t(4614),m=t(9128),v=t(4078),P=!1,b={iab:function(n){var e=n.onSuccess,t=n.onError,a="__gpp",o={},c=!1;var r=function(){for(var n,e=window,t=!1;;){try{if("function"==typeof e.__gpp){n=e,t=!0;break}}catch(n){}try{if(e.frames.__gppLocator){n=e;break}}catch(n){}if(e===window.top)break;e=e.parent}return{cmpFrame:n,cmpDirectAccess:t}}(),i=r.cmpFrame,p=r.cmpDirectAccess;if(!i)return t("GPP CMP not found.");var u=p?function(n,e){var t=n.command,a=n.callback,o=n.parameter,c=n.version,r=void 0===c?1:c;"function"==typeof e?e(i.__gpp(t,a,o,r)):i.__gpp(t,a,o,r)}:function(n,e){var t=n.command,r=n.callback,p=n.parameter,l=n.version,u=void 0===l?1:l,d="".concat(a,"Call");c||(window.addEventListener("message",m,!1),c=!0);var f=Math.random().toString(),g=(0,s.Z)({},d,{command:t,parameter:p,version:u,callId:f});function m(n){var e="".concat(a,"Return"),t="string"==typeof n.data&&n.data.includes(e)?JSON.parse(n.data):n.data;if(t[e]&&t[e].callId){var c=t[e];o.hasOwnProperty(c.callId)&&o[c.callId](c.returnValue)}}o[f]="function"==typeof r?r:e,i.postMessage(g,"*")};var d=p?"Detected GPP CMP API is directly accessible, calling it now...":"Detected GPP CMP is outside the current iframe where Prebid.js is located, calling it now...";(0,l.PN)(d),u({command:"addEventListener",callback:function(n){n&&((0,l.PN)("Received a ".concat(p?"direct":"postmsg"," response from GPP CMP for event"),n),"sectionChange"===n.eventName||"loaded"===n.pingData.cmpStatus?u({command:"getGPPData"},(function(n){(0,l.PN)("Received a ".concat(p?"direct":"postmsg"," response from GPP CMP for getGPPData"),n),A(n,{onSuccess:e,onError:t})})):"error"===n.pingData.cmpStatus&&t("CMP returned with a cmpStatus:error response. Please check CMP setup."))}})},static:function(n){var e=n.onSuccess,t=n.onError;A(c,{onSuccess:e,onError:t})}};function y(n){return n&&Array.isArray(n.applicableSection)&&n.applicableSection.length>0&&0!==n.applicableSection[0]}function S(n){return n&&Array.isArray(n.applicableSections)&&n.applicableSections.length>0&&0!==n.applicableSections[0]}function h(n){var e=!1,t=null;function c(a,o,c){if(null!=t&&clearTimeout(t),e=!0,f.TJ.setConsentData(a),"function"==typeof n){for(var r=arguments.length,i=new Array(r>3?r-3:0),s=3;s<r;s++)i[s-3]=arguments[s];n.apply(void 0,[o,c].concat(i))}}if((0,g.q9)(Object.keys(b),a)){var i={onSuccess:function(n){return c(n,!1)},onError:function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),a=1;a<e;a++)t[a-1]=arguments[a];c.apply(void 0,[null,!0,n].concat(t))}};if(b[a](i),!e){var s=function(){var n=function(n){c(n,!1,"GPP CMP did not load, continuing auction...")};A(r,{onSuccess:n,onError:function(){return n(w(void 0))}})};0===o?s():t=setTimeout(s,o)}}else c(null,!1,"GPP CMP framework (".concat(a,") is not a supported framework. Aborting consentManagement module and resuming auction."))}var M=(0,m.g3)("gpp",(function(n,e){var t;t=function(t,a){if(a){var o=l.yN;t&&(o=l.H,a="".concat(a," Canceling auction as per consentManagement config."));for(var c=arguments.length,r=new Array(c>2?c-2:0),i=2;i<c;i++)r[i-2]=arguments[i];o.apply(void 0,[a].concat(r))}t?(n.stopTiming(),"function"==typeof e.bidsBackHandler?e.bidsBackHandler():(0,l.H)("Error executing bidsBackHandler")):n.call(this,e)},r?((0,l.PN)("User consent information already known. Pulling internally stored information..."),t(!1)):h(t)}));function A(n,e){var t,a,o=e.onSuccess,c=e.onError;t=n&&n.gppString,a=S(n)?n.applicableSections:y(n)?n.applicableSection:[],Array.isArray(a)&&(!Array.isArray(a)||t&&(0,l.d8)(t))?o(w(n)):c("CMP returned unexpected value during lookup process.",n)}function w(n){return(r={gppString:n?n.gppString:void 0,fullGppData:n||void 0}).applicableSections=S(n)?n.applicableSections:y(n)?n.applicableSection:[],r.apiVersion=1,r}d.vc.getConfig("consentManagement",(function(n){return function(n){(n=n&&n.gpp)&&"object"===(0,i.Z)(n)?((0,l.d8)(n.cmpApi)?a=n.cmpApi:(a="iab",(0,l.PN)("consentManagement.gpp config did not specify cmp. Using system default setting (".concat("iab",")."))),(0,l.hj)(n.timeout)?o=n.timeout:(o=1e4,(0,l.PN)("consentManagement.gpp config did not specify timeout. Using system default setting (".concat(1e4,")."))),"static"===a&&((0,l.PO)(n.consentData)?(c=n.consentData,o=0):(0,l.H)("consentManagement.gpp config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),(0,l.PN)("consentManagement.gpp module has been activated..."),P||(0,p.R)().requestBids.before(M,50),P=!0,f.TJ.enable(),h()):(0,l.yN)("consentManagement.gpp config not defined, exiting consent manager module")}(n.consentManagement)})),v.S.before((function(n,e){return n(e.then((function(n){var e=f.TJ.getConsentData();return e&&(Array.isArray(e.applicableSections)&&(0,u.N)(n,"regs.gpp_sid",e.applicableSections),(0,u.N)(n,"regs.gpp",e.gppString)),n})))})),(0,p.z)("consentManagementGpp")}},function(n){var e;e=7523,n(n.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[160],{9099:function(n,t,e){var a,o,c=e(1002),i=e(8640),s=e(4358),r=e(6475),u=e(3193),l=e(4633),p=e(9128),f=e(2797),d=e(4078),g="iab",v=g,m=50,P=!1,y={iab:function(n){var t=n.onSuccess,e=n.onError;var a=(u={},{consentDataCallback:function(n,a){a&&n.uspString&&(u.usPrivacy=n.uspString),u.usPrivacy?h(u,{onSuccess:t,onError:e}):e("Unable to get USP consent string.")}}),o={},c=function(){for(var n,t,e=window;;){try{if("function"==typeof e.__uspapi){t=e.__uspapi,n=e;break}}catch(n){}try{if(e.frames.__uspapiLocator){n=e;break}}catch(n){}if(e===window.top)break;e=e.parent}return{uspapiFrame:n,uspapiFunction:t}}(),i=c.uspapiFrame,r=c.uspapiFunction;var u;if(!i)return e("USP CMP not found.");function p(n,t){try{n("registerDeletion",t,l.ZP.callDataDeletionRequest)}catch(n){(0,s.H)("Error invoking CMP `registerDeletion`:",n)}}(0,s.LQ)(r)?((0,s.PN)("Detected USP CMP is directly accessible, calling it now..."),r("getUSPData",1,a.consentDataCallback),p(r,1)):((0,s.PN)("Detected USP CMP is outside the current iframe where Prebid.js is located, calling it now..."),d("getUSPData",i,a.consentDataCallback),p(d,i));var f=!1;function d(n,t,e){var a,c,i,s,r;f||(window.addEventListener("message",(function(n){var t=n&&n.data&&n.data.__uspapiReturn;t&&t.callId&&o.hasOwnProperty(t.callId)&&(o[t.callId](t.returnValue,t.success),delete o[t.callId])}),!1),f=!0),a=n,c=1,i=e,s=Math.random()+"",r={__uspapiCall:{command:a,version:c,callId:s}},o[s]=i,t.postMessage(r,"*")}},static:function(n){var t=n.onSuccess,e=n.onError;h(a,{onSuccess:t,onError:e})}};function S(n){var t=null,e=!1;function a(a,o){if(null!=t&&clearTimeout(t),e=!0,l.nX.setConsentData(a),null!=n){for(var c=arguments.length,i=new Array(c>2?c-2:0),s=2;s<c;s++)i[s-2]=arguments[s];n.apply(void 0,[o].concat(i))}}if(y[v]){var o={onSuccess:a,onError:function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];a.apply(void 0,[null,"".concat(n," Resuming auction without consent data as per consentManagement config.")].concat(e))}};y[v](o),e||(0===m?h(void 0,o):t=setTimeout(o.onError.bind(null,"USPAPI workflow exceeded timeout threshold."),m))}else a(null,"USP framework (".concat(v,") is not a supported framework. Aborting consentManagement module and resuming auction."))}var b=(0,p.g3)("usp",(function(n,t){var e=this;P||D(),S((function(a){if(null!=a){for(var o=arguments.length,c=new Array(o>1?o-1:0),i=1;i<o;i++)c[i-1]=arguments[i];s.yN.apply(void 0,[a].concat(c))}n.call(e,t)}))}));function h(n,t){var e=t.onSuccess,a=t.onError;!n||!n.usPrivacy?a("USPAPI returned unexpected value during lookup process.",n):(!function(n){n&&n.usPrivacy&&(o=n.usPrivacy)}(n),e(o))}function D(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];P||((0,s.PN)("USPAPI consentManagement module has been activated".concat(n?"":" using default values (api: '".concat(v,"', timeout: ").concat(m,"ms)"))),P=!0,l.nX.enable()),S()}u.vc.getConfig("consentManagement",(function(n){return function(n){(n=n&&n.usp)&&"object"===(0,c.Z)(n)||(0,s.yN)("consentManagement.usp config not defined, using defaults"),n&&(0,s.d8)(n.cmpApi)?v=n.cmpApi:(v=g,(0,s.PN)("consentManagement.usp config did not specify cmpApi. Using system default setting (".concat(g,")."))),n&&(0,s.hj)(n.timeout)?m=n.timeout:(m=50,(0,s.PN)("consentManagement.usp config did not specify timeout. Using system default setting (".concat(50,")."))),"static"===v&&((0,s.PO)(n.consentData)&&(0,s.PO)(n.consentData.getUSPData)?(n.consentData.getUSPData.uspString&&(a={usPrivacy:n.consentData.getUSPData.uspString}),m=0):(0,s.H)("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),D(!0)}(n.consentManagement)})),(0,f.v5)("requestBids").before(b,50),d.S.before((function(n,t){return n(t.then((function(n){var t=l.nX.getConsentData();return t&&(0,r.N)(n,"regs.ext.us_privacy",t),n})))})),(0,i.z)("consentManagementUsp")}},function(n){var t;t=9099,n(n.s=t)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[406],{241:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9062),_src_prebidGlobal_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8640),_src_utils_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4358),_src_utils_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(265),_src_adloader_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(5730),_src_adapters_bidderFactory_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(5339),_src_config_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3193),_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(4679),_src_polyfill_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4614),criteo_direct_rsa_validate_build_verify_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1582),_src_storageManager_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5164),_src_refererDetection_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5102),_src_utils_gpdr_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7673),_src_Renderer_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(5706),_src_video_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(154),GVLID=91,ADAPTER_VERSION=36,BIDDER_CODE="criteo",CDB_ENDPOINT="https://bidder.criteo.com/cdb",PROFILE_ID_INLINE=207,PROFILE_ID_PUBLISHERTAG=185,storage=(0,_src_storageManager_js__WEBPACK_IMPORTED_MODULE_1__.df)({bidderCode:BIDDER_CODE}),LOG_PREFIX="Criteo: ",FAST_BID_VERSION_PLACEHOLDER="%FAST_BID_VERSION%",FAST_BID_VERSION_CURRENT=135,FAST_BID_VERSION_LATEST="latest",FAST_BID_VERSION_NONE="none",PUBLISHER_TAG_URL_TEMPLATE="https://static.criteo.net/js/ld/publishertag.prebid"+FAST_BID_VERSION_PLACEHOLDER+".js",PUBLISHER_TAG_OUTSTREAM_SRC="https://static.criteo.net/js/ld/publishertag.renderer.js",FAST_BID_PUBKEY_E=65537,FAST_BID_PUBKEY_N="ztQYwCE5BU7T9CDM5he6rKoabstXRmkzx54zFPZkWbK530dwtLBDeaWBMxHBUT55CYyboR/EZ4efghPi3CoNGfGWezpjko9P6p2EwGArtHEeS4slhu/SpSIFMjG6fdrpRoNuIAMhq1Z+Pr/+HOd1pThFKeGFr2/NhtAg+TXAzaU=",OPTOUT_COOKIE_NAME="cto_optout",BUNDLE_COOKIE_NAME="cto_bundle",GUID_RETENTION_TIME_HOUR=9360,OPTOUT_RETENTION_TIME_HOUR=43200,spec={code:BIDDER_CODE,gvlid:GVLID,supportedMediaTypes:[_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.Mk,_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX,_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5],getUserSyncs:function(t,e,r,i){if(canFastBid(_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("criteo.fastBidVersion")))return[];var o=(0,_src_refererDetection_js__WEBPACK_IMPORTED_MODULE_4__.nH)(),a="criteoPrebidAdapter";if(t.iframeEnabled&&(0,_src_utils_gpdr_js__WEBPACK_IMPORTED_MODULE_5__.h)(r)){var s=[];s.push("origin=".concat(a)),s.push("topUrl=".concat(o.domain)),r&&(r.gdprApplies&&s.push("gdpr=".concat(1==r.gdprApplies?1:0)),r.consentString&&s.push("gdpr_consent=".concat(r.consentString))),i&&s.push("us_privacy=".concat(i));var n=Math.random().toString(),_={bundle:readFromAllStorages(BUNDLE_COOKIE_NAME),cw:storage.cookiesAreEnabled(),lsw:storage.localStorageIsEnabled(),optoutCookie:readFromAllStorages(OPTOUT_COOKIE_NAME),origin:a,requestId:n,tld:o.domain,topUrl:o.domain,version:"7.52.0".replace(/\./g,"_")};window.addEventListener("message",(function t(e){if(e.data&&"https://gum.criteo.com"==e.origin&&e.data.requestId===n){this.removeEventListener("message",t),e.stopImmediatePropagation();var r=e.data;r.optout?(deleteFromAllStorages(BUNDLE_COOKIE_NAME),saveOnAllStorages(OPTOUT_COOKIE_NAME,!0,OPTOUT_RETENTION_TIME_HOUR)):r.bundle&&saveOnAllStorages(BUNDLE_COOKIE_NAME,r.bundle,GUID_RETENTION_TIME_HOUR)}}),!0);var d=JSON.stringify(_).replace(/"/g,"%22");return[{type:"iframe",url:"https://gum.criteo.com/syncframe?".concat(s.join("&"),"#").concat(d)}]}return[]},isBidRequestValid:function(t){return!(!t||!t.params||!t.params.zoneId&&!t.params.networkId)&&!(hasVideoMediaType(t)&&!hasValidVideoMediaType(t))},buildRequests:function(t,e){var r,i,o,a,s=e.ortb2||{};Object.assign(e,{publisherExt:null===(r=s.site)||void 0===r?void 0:r.ext,userExt:null===(i=s.user)||void 0===i?void 0:i.ext,ceh:_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("criteo.ceh"),coppa:_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("coppa")});var n=_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("criteo.fastBidVersion"),_=canFastBid(n);if(!publisherTagAvailable()&&_){window.Criteo=window.Criteo||{},window.Criteo.usePrebidEvents=!1,tryGetCriteoFastBid();var d=getFastBidUrl(n);setTimeout((function(){(0,_src_adloader_js__WEBPACK_IMPORTED_MODULE_6__.B)(d,BIDDER_CODE)}),e.timeout)}if(publisherTagAvailable()){var c=new Criteo.PubTag.Adapters.Prebid(PROFILE_ID_PUBLISHERTAG,ADAPTER_VERSION,t,e,"7.52.0");o=c.buildCdbUrl(),a=c.buildCdbRequest()}else{var p=buildContext(t,e);o=buildCdbUrl(p),a=buildCdbRequest(p,t,e)}if(a)return{method:"POST",url:o,data:a,bidRequests:t}},interpretResponse:function(t,e){var r=t.body||t;if(publisherTagAvailable()){var i=Criteo.PubTag.Adapters.Prebid.GetAdapter(e);if(i)return i.interpretResponse(r,e)}var o=[];return r&&r.slots&&(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.kJ)(r.slots)&&r.slots.forEach((function(i){var a,s,n,_,d,c,p=(0,_src_polyfill_js__WEBPACK_IMPORTED_MODULE_8__.sE)(e.bidRequests,(function(t){return t.adUnitCode===i.impid&&(!t.params.zoneId||parseInt(t.params.zoneId)===i.zoneid)})),u=p.bidId,l={requestId:u,cpm:i.cpm,currency:i.currency,netRevenue:!0,ttl:i.ttl||60,creativeId:i.creativecode,width:i.width,height:i.height,dealId:i.deal};if(null!==(a=r.ext)&&void 0!==a&&null!==(s=a.paf)&&void 0!==s&&s.transmission&&null!==(n=i.ext)&&void 0!==n&&null!==(_=n.paf)&&void 0!==_&&_.content_id){var h={content_id:i.ext.paf.content_id,transmission:t.ext.paf.transmission};l.meta=Object.assign({},l.meta,{paf:h})}if(i.adomain&&(l.meta=Object.assign({},l.meta,{advertiserDomains:[i.adomain].flat()})),null!==(d=i.ext)&&void 0!==d&&null!==(c=d.meta)&&void 0!==c&&c.networkName&&(l.meta=Object.assign({},l.meta,{networkName:i.ext.meta.networkName})),i.native)p.params.nativeCallback?l.ad=createNativeAd(u,i.native,p.params.nativeCallback):(l.native=createPrebidNativeAd(i.native),l.mediaType=_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5);else if(i.video){l.vastUrl=i.displayurl,l.mediaType=_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX,(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(p,"mediaTypes.video.context")===_src_video_js__WEBPACK_IMPORTED_MODULE_10__.gZ&&(l.renderer=createOutstreamVideoRenderer(i))}else l.ad=i.creative;o.push(l)})),o},onTimeout:function(t){if(publisherTagAvailable()&&Array.isArray(t)){var e=[];t.forEach((function(t){-1===e.indexOf(t.auctionId)&&(e.push(t.auctionId),Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidTimeout())}))}},onBidWon:function(t){publisherTagAvailable()&&t&&Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidWon(t)},onSetTargeting:function(t){publisherTagAvailable()&&Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleSetTargeting(t)}};function readFromAllStorages(t){var e=storage.getCookie(t),r=storage.getDataFromLocalStorage(t);return e||r||void 0}function saveOnAllStorages(t,e,r){var i=new Date;i.setTime(i.getTime()+60*r*60*1e3);var o="expires=".concat(i.toUTCString());storage.setCookie(t,e,o),storage.setDataInLocalStorage(t,e)}function deleteFromAllStorages(t){storage.setCookie(t,"",0),storage.removeDataFromLocalStorage(t)}function publisherTagAvailable(){return"undefined"!=typeof Criteo&&Criteo.PubTag&&Criteo.PubTag.Adapters&&Criteo.PubTag.Adapters.Prebid}function buildContext(t,e){var r,i="";e&&e.refererInfo&&(i=e.refererInfo.page);var o=(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.en)(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.topmostLocation).search,a={url:i,debug:"1"===o.pbt_debug,noLog:"1"===o.pbt_nolog,amp:!1};return t.forEach((function(t){"amp"===t.params.integrationMode&&(a.amp=!0)})),a}function buildCdbUrl(t){var e=CDB_ENDPOINT;e+="?profileId="+PROFILE_ID_INLINE,e+="&av="+String(ADAPTER_VERSION),e+="&wv="+encodeURIComponent("7.52.0"),e+="&cb="+String(Math.floor(99999999999*Math.random())),storage.localStorageIsEnabled()?e+="&lsavail=1":e+="&lsavail=0",t.amp&&(e+="&im=1"),t.debug&&(e+="&debug=1"),t.noLog&&(e+="&nolog=1");var r=readFromAllStorages(BUNDLE_COOKIE_NAME);return r&&(e+="&bundle=".concat(r)),readFromAllStorages(OPTOUT_COOKIE_NAME)&&(e+="&optout=1"),e}function checkNativeSendId(t){return!(t.nativeParams&&(t.nativeParams.image&&(!0!==t.nativeParams.image.sendId||!0===t.nativeParams.image.sendTargetingKeys)||t.nativeParams.icon&&(!0!==t.nativeParams.icon.sendId||!0===t.nativeParams.icon.sendTargetingKeys)||t.nativeParams.clickUrl&&(!0!==t.nativeParams.clickUrl.sendId||!0===t.nativeParams.clickUrl.sendTargetingKeys)||t.nativeParams.displayUrl&&(!0!==t.nativeParams.displayUrl.sendId||!0===t.nativeParams.displayUrl.sendTargetingKeys)||t.nativeParams.privacyLink&&(!0!==t.nativeParams.privacyLink.sendId||!0===t.nativeParams.privacyLink.sendTargetingKeys)||t.nativeParams.privacyIcon&&(!0!==t.nativeParams.privacyIcon.sendId||!0===t.nativeParams.privacyIcon.sendTargetingKeys)))}function buildCdbRequest(t,e,r){var i,o,a,s,n,_,d,c,p,u,l,h,v,E,f,m,T={publisher:{url:t.url,ext:r.publisherExt},regs:{coppa:!0===r.coppa?1:!1===r.coppa?0:void 0,gpp:null===(i=r.ortb2)||void 0===i||null===(o=i.regs)||void 0===o?void 0:o.gpp,gpp_sid:null===(a=r.ortb2)||void 0===a||null===(s=a.regs)||void 0===s?void 0:s.gpp_sid},slots:e.map((function(t){var e;E||(E=t.userIdAsEids),h=t.params.networkId||h,v=t.schain||v;var r={impid:t.adUnitCode,transactionid:t.transactionId,auctionId:t.auctionId};if(t.params.zoneId&&(r.zoneid=t.params.zoneId),(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"ortb2Imp.ext")&&(r.ext=t.ortb2Imp.ext),(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"ortb2Imp.rwdd")&&(r.rwdd=t.ortb2Imp.rwdd),t.params.ext&&(r.ext=Object.assign({},r.ext,t.params.ext)),null!==(e=t.nativeOrtbRequest)&&void 0!==e&&e.assets&&(r.ext=Object.assign({},r.ext,{assets:t.nativeOrtbRequest.assets})),t.params.publisherSubId&&(r.publishersubid=t.params.publisherSubId),(t.params.nativeCallback||hasNativeMediaType(t))&&(r.native=!0,checkNativeSendId(t)||(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.yN)(LOG_PREFIX+"all native assets containing URL should be sent as placeholders with sendId(icon, image, clickUrl, displayUrl, privacyLink, privacyIcon)")),hasBannerMediaType(t)?r.sizes=parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"mediaTypes.banner.sizes"),parseSize):r.sizes=[],hasVideoMediaType(t)){var i={playersizes:parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"mediaTypes.video.playerSize"),parseSize),mimes:t.mediaTypes.video.mimes,protocols:t.mediaTypes.video.protocols,maxduration:t.mediaTypes.video.maxduration,api:t.mediaTypes.video.api,skip:t.mediaTypes.video.skip,placement:t.mediaTypes.video.placement,minduration:t.mediaTypes.video.minduration,playbackmethod:t.mediaTypes.video.playbackmethod,startdelay:t.mediaTypes.video.startdelay,plcmt:t.mediaTypes.video.plcmt},o=t.params.video;void 0!==o&&(i.skip=i.skip||o.skip||0,i.placement=i.placement||o.placement,i.minduration=i.minduration||o.minduration,i.playbackmethod=i.playbackmethod||o.playbackmethod,i.startdelay=i.startdelay||o.startdelay||0),r.video=i}return enrichSlotWithFloors(r,t),r}))};(h&&(T.publisher.networkid=h),v&&(T.source={ext:{schain:v}}),T.user=(null===(n=r.ortb2)||void 0===n?void 0:n.user)||{},T.site=(null===(_=r.ortb2)||void 0===_?void 0:_.site)||{},r&&r.ceh&&(T.user.ceh=r.ceh),r&&r.gdprConsent&&(T.gdprConsent={},void 0!==r.gdprConsent.gdprApplies&&(T.gdprConsent.gdprApplies=!!r.gdprConsent.gdprApplies),T.gdprConsent.version=r.gdprConsent.apiVersion,void 0!==r.gdprConsent.consentString&&(T.gdprConsent.consentData=r.gdprConsent.consentString)),r&&r.uspConsent&&(T.user.uspIab=r.uspConsent),r&&null!==(d=r.ortb2)&&void 0!==d&&null!==(c=d.device)&&void 0!==c&&c.sua)&&(T.user.ext=T.user.ext||{},T.user.ext.sua=(null===(f=r.ortb2)||void 0===f||null===(m=f.device)||void 0===m?void 0:m.sua)||{});return E&&(T.user.ext=T.user.ext||{},T.user.ext.eids=(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_11__.Z)(E)),r&&null!==(p=r.ortb2)&&void 0!==p&&p.bcat&&(T.bcat=r.ortb2.bcat),r&&null!==(u=r.ortb2)&&void 0!==u&&u.badv&&(T.badv=r.ortb2.badv),r&&null!==(l=r.ortb2)&&void 0!==l&&l.bapp&&(T.bapp=r.ortb2.bapp),T}function parseSizes(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t};return null==t?[]:Array.isArray(t[0])?t.map((function(t){return e(t)})):[e(t)]}function parseSize(t){return t[0]+"x"+t[1]}function hasVideoMediaType(t){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"mediaTypes.video")}function hasBannerMediaType(t){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"mediaTypes.banner")}function hasNativeMediaType(t){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"mediaTypes.native")}function hasValidVideoMediaType(t){var e=!0;if(["mimes","playerSize","maxduration","protocols","api","skip","placement","playbackmethod"].forEach((function(r){void 0===(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"mediaTypes.video."+r)&&void 0===(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(t,"params.video."+r)&&(e=!1,(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.H)("Criteo Bid Adapter: mediaTypes.video."+r+" is required"))})),e){var r=t.mediaTypes.video.placement||t.params.video.placement;if("instream"==t.mediaTypes.video.context&&1===r)return!0;if("outstream"==t.mediaTypes.video.context&&1!==r)return!0}return!1}function createPrebidNativeAd(t){return{sendTargetingKeys:!1,title:t.products[0].title,body:t.products[0].description,sponsoredBy:t.advertiser.description,icon:t.advertiser.logo,image:t.products[0].image,clickUrl:t.products[0].click_url,privacyLink:t.privacy.optout_click_url,privacyIcon:t.privacy.optout_image_url,cta:t.products[0].call_to_action,price:t.products[0].price,impressionTrackers:t.impression_pixels.map((function(t){return t.url}))}}function createNativeAd(t,e,r){var i="criteo_prebid_native_slots";return window[i]=window[i]||{},window[i][t]={callback:r,payload:e},'\n<script type="text/javascript">\nfor (var i = 0; i < 10; ++i) {\n var slots = window.parent.'.concat(i,';\n if(!slots){continue;}\n var responseSlot = slots["').concat(t,'"];\n responseSlot.callback(responseSlot.payload);\n break;\n}\n<\/script>')}function pickAvailableGetFloorFunc(t){if(t.getFloor)return t.getFloor;if(t.params.bidFloor&&t.params.bidFloorCur)try{var e=parseFloat(t.params.bidFloor);return function(){return{currency:t.params.bidFloorCur,floor:e}}}catch(t){}}function enrichSlotWithFloors(t,e){try{var r={},i=pickAvailableGetFloorFunc(e);if(i){var o,a,s;if(null!==(o=e.mediaTypes)&&void 0!==o&&o.banner)r.banner={},parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(e,"mediaTypes.banner.sizes")).forEach((function(t){return r.banner[parseSize(t).toString()]=i.call(e,{size:t,mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.Mk})}));if(null!==(a=e.mediaTypes)&&void 0!==a&&a.video)r.video={},parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_9__.Z)(e,"mediaTypes.video.playerSize")).forEach((function(t){return r.video[parseSize(t).toString()]=i.call(e,{size:t,mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX})}));null!==(s=e.mediaTypes)&&void 0!==s&&s.native&&(r.native={},r.native["*"]=i.call(e,{size:"*",mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5})),Object.keys(r).length>0&&(t.ext||(t.ext={}),Object.assign(t.ext,{floors:r}))}}catch(t){(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.H)("Could not parse floors from Prebid: "+t)}}function canFastBid(t){return t!==FAST_BID_VERSION_NONE}function getFastBidUrl(t){var e;if(t===FAST_BID_VERSION_LATEST)e="";else if(t){String(t).split(".")[0]<102&&(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.yN)("Specifying a Fastbid version which is not supporting version selection."),e="."+t}else e="."+FAST_BID_VERSION_CURRENT;return PUBLISHER_TAG_URL_TEMPLATE.replace(FAST_BID_VERSION_PLACEHOLDER,e)}function createOutstreamVideoRenderer(t){if(void 0!==t.ext.videoPlayerConfig&&void 0!==t.ext.videoPlayerType){var e=_src_Renderer_js__WEBPACK_IMPORTED_MODULE_12__.Th.install({url:PUBLISHER_TAG_OUTSTREAM_SRC,config:{documentResolver:function(t,e,r){return null!=r?r:e}}});return e.setRender((function(e,r){var i={slotid:t.impid,vastUrl:t.displayurl,vastXml:t.creative,documentContext:r},o=t.ext.videoPlayerConfig;window.CriteoOutStream[t.ext.videoPlayerType].play(i,o)})),e}}function tryGetCriteoFastBid(){try{var fastBidStorageKey="criteo_fast_bid",hashPrefix="// Hash: ",fastBidFromStorage=storage.getDataFromLocalStorage(fastBidStorageKey);if(null!==fastBidFromStorage){var firstLineEndPosition=fastBidFromStorage.indexOf("\n"),firstLine=fastBidFromStorage.substr(0,firstLineEndPosition).trim();if(firstLine.substr(0,hashPrefix.length)!==hashPrefix)(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.yN)("No hash found in FastBid"),storage.removeDataFromLocalStorage(fastBidStorageKey);else{var publisherTagHash=firstLine.substr(hashPrefix.length),publisherTag=fastBidFromStorage.substr(firstLineEndPosition+1);(0,criteo_direct_rsa_validate_build_verify_js__WEBPACK_IMPORTED_MODULE_0__.T)(publisherTag,publisherTagHash,FAST_BID_PUBKEY_N,FAST_BID_PUBKEY_E)?((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.PN)("Using Criteo FastBid"),eval(publisherTag)):((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.yN)("Invalid Criteo FastBid found"),storage.removeDataFromLocalStorage(fastBidStorageKey))}}}catch(t){}}(0,_src_adapters_bidderFactory_js__WEBPACK_IMPORTED_MODULE_13__.dX)(spec),(0,_src_prebidGlobal_js__WEBPACK_IMPORTED_MODULE_14__.z)("criteoBidAdapter")},7673:function(t,e,r){r.d(e,{h:function(){return o}});var i=r(265);function o(t){return null==t||!t.gdprApplies||!0===(0,i.Z)(t,"vendorData.purpose.consents.1")}},4611:function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){null!==t&&this.fromHexString(t)}return t.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var t,e=!1,r="",i=this.t,o=this.DB-i*this.DB%4;if(i-- >0)for(o<this.DB&&(t=this[i]>>o)>0&&(e=!0,r=c(t));i>=0;)o<4?(t=(this[i]&(1<<o)-1)<<4-o,t|=this[--i]>>(o+=this.DB-4)):(t=this[i]>>(o-=4)&15,o<=0&&(o+=this.DB,--i)),t>0&&(e=!0),e&&(r+=c(t));return e?r:"0"},t.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var r=e.length,i=!1,o=0;--r>=0;){var a=d(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+4>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=4)>=this.DB&&(o-=this.DB))}0,this.clamp(),i&&t.ZERO.subTo(this,this)}},t.prototype.negate=function(){var e=o();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.mod=function(e){var r=o();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(t/this.DB),s=this.s<<r&this.DM,n=this.t-1;n>=0;--n)e[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)e[n]=0;e[a]=s,e.t=this.t+a+1,e.s=this.s,e.clamp()},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},t.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var i=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,i,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},t.prototype.multiplyTo=function(e,r){var i=this.abs(),o=e.abs(),a=i.t;for(r.t=a+o.t;--a>=0;)r[a]=0;for(a=0;a<o.t;++a)r[a+i.t]=i.am(0,o[a],r,a,0,i.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.divRemTo=function(e,r,i){var s=e.abs();if(!(s.t<=0)){var n=this.abs();if(n.t<s.t)return null!=r&&r.fromHexString("0"),void(null!=i&&this.copyTo(i));null==i&&(i=o());var _=o(),d=this.s,c=e.s,p=this.DB-a(s[s.t-1]);p>0?(s.lShiftTo(p,_),n.lShiftTo(p,i)):(s.copyTo(_),n.copyTo(i));var u=_.t,l=_[u-1];if(0!=l){var h=l*(1<<this.F1)+(u>1?_[u-2]>>this.F2:0),v=this.FV/h,E=(1<<this.F1)/h,f=1<<this.F2,m=i.t,T=m-u,O=null==r?o():r;for(_.dlShiftTo(T,O),i.compareTo(O)>=0&&(i[i.t++]=1,i.subTo(O,i)),t.ONE.dlShiftTo(u,O),O.subTo(_,_);_.t<u;)_[_.t++]=0;for(;--T>=0;){var g=i[--m]==l?this.DM:Math.floor(i[m]*v+(i[m-1]+f)*E);if((i[m]+=_.am(0,g,i,T,0,u))<g)for(_.dlShiftTo(T,O),i.subTo(O,i);i[m]<--g;)i.subTo(O,i)}null!=r&&(i.drShiftTo(u,r),d!=c&&t.ZERO.subTo(r,r)),i.t=u,i.clamp(),p>0&&i.rShiftTo(p,i),d<0&&t.ZERO.subTo(i,i)}}},t.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var i=t%this.DB,o=this.DB-i,a=(1<<i)-1;e[0]=this[r]>>i;for(var s=r+1;s<this.t;++s)e[s-r-1]|=(this[s]&a)<<o,e[s-r]=this[s]>>i;i>0&&(e[this.t-r-1]|=(this.s&a)<<o),e.t=this.t-r,e.clamp()}},t.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.subTo=function(t,e){for(var r=0,i=0,o=Math.min(t.t,this.t);r<o;)i+=this[r]-t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i-=t[r],e[r++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:i>0&&(e[r++]=i),e.t=r,e.clamp()},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new p(e):new u(e),this.exp(t,r)},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var i=o(),s=o(),n=r.convert(this),_=a(e)-1;for(n.copyTo(i);--_>=0;)if(r.sqrTo(i,s),(e&1<<_)>0)r.mulTo(s,n,i);else{var d=i;i=s,s=d}return r.revert(i)},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},t.prototype.am1=function(t,e,r,i,o,a){for(;--a>=0;){var s=e*this[t++]+r[i]+o;o=Math.floor(s/67108864),r[i++]=67108863&s}return o},t.prototype.am2=function(t,e,r,i,o,a){for(var s=32767&e,n=e>>15;--a>=0;){var _=32767&this[t],d=this[t++]>>15,c=n*_+d*s;o=((_=s*_+((32767&c)<<15)+r[i]+(1073741823&o))>>>30)+(c>>>15)+n*d+(o>>>30),r[i++]=1073741823&_}return o},t.prototype.am3=function(t,e,r,i,o,a){for(var s=16383&e,n=e>>14;--a>=0;){var _=16383&this[t],d=this[t++]>>14,c=n*_+d*s;o=((_=s*_+((16383&c)<<14)+r[i]+o)>>28)+(c>>14)+n*d,r[i++]=268435455&_}return o},t}();function o(){return new i(null)}function a(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}e.BigInteger=i,e.nbi=o,e.nbits=a;var s,n,_=[];for(s="0".charCodeAt(0),n=0;n<=9;++n)_[s++]=n;for(s="a".charCodeAt(0),n=10;n<36;++n)_[s++]=n;for(s="A".charCodeAt(0),n=10;n<36;++n)_[s++]=n;function d(t,e){var r=_[t.charCodeAt(e)];return null==r?-1:r}e.intAt=d;function c(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}e.int2char=c;e.b64toHex=function(t){var e,r="",i=0,o=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(e));a<0||(0==i?(r+=c(a>>2),o=3&a,i=1):1==i?(r+=c(o<<2|a>>4),o=15&a,i=2):2==i?(r+=c(o),r+=c(a>>2),o=3&a,i=3):(r+=c(o<<2|a>>4),r+=c(15&a),i=0))}return 1==i&&(r+=c(o<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var p=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),u=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=o();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(i.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=o();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],i=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function l(t){var e=o();return e.fromHexString(t.toString()),e}e.nbv=l,i.ZERO=l(0),i.ONE=l(1),"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=i.prototype.am2,r=30):"Netscape"!=navigator.appName?(i.prototype.am=i.prototype.am1,r=26):(i.prototype.am=i.prototype.am3,r=28),i.prototype.DB=r,i.prototype.DM=(1<<r)-1,i.prototype.DV=1<<r;i.prototype.FV=Math.pow(2,52),i.prototype.F1=52-r,i.prototype.F2=2*r-52},4950:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.hash=function(e){e=t.utf8Encode(e||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=(e+=String.fromCharCode(128)).length/4+2,a=Math.ceil(o/16),s=new Array(a),n=0;n<a;n++){s[n]=new Array(16);for(var _=0;_<16;_++)s[n][_]=e.charCodeAt(64*n+4*_)<<24|e.charCodeAt(64*n+4*_+1)<<16|e.charCodeAt(64*n+4*_+2)<<8|e.charCodeAt(64*n+4*_+3)<<0}var d=8*(e.length-1)/Math.pow(2,32),c=8*(e.length-1)>>>0;s[a-1][14]=Math.floor(d),s[a-1][15]=c;for(n=0;n<a;n++){for(var p=new Array(64),u=0;u<16;u++)p[u]=s[n][u];for(u=16;u<64;u++)p[u]=t.q1(p[u-2])+p[u-7]+t.q0(p[u-15])+p[u-16]>>>0;var l=i[0],h=i[1],v=i[2],E=i[3],f=i[4],m=i[5],T=i[6],O=i[7];for(u=0;u<64;u++){var g=O+t.z1(f)+t.Ch(f,m,T)+r[u]+p[u],b=t.z0(l)+t.Maj(l,h,v);O=T,T=m,m=f,f=E+g>>>0,E=v,v=h,h=l,l=g+b>>>0}i[0]=i[0]+l>>>0,i[1]=i[1]+h>>>0,i[2]=i[2]+v>>>0,i[3]=i[3]+E>>>0,i[4]=i[4]+f>>>0,i[5]=i[5]+m>>>0,i[6]=i[6]+T>>>0,i[7]=i[7]+O>>>0}var D=new Array(i.length);for(O=0;O<i.length;O++)D[O]=("00000000"+i[O].toString(16)).slice(-8);return D.join("")},t.utf8Encode=function(t){try{return(new TextEncoder).encode(t).reduce((function(t,e){return t+String.fromCharCode(e)}),"")}catch(e){return unescape(encodeURIComponent(t))}},t.ROTR=function(t,e){return e>>>t|e<<32-t},t.z0=function(e){return t.ROTR(2,e)^t.ROTR(13,e)^t.ROTR(22,e)},t.z1=function(e){return t.ROTR(6,e)^t.ROTR(11,e)^t.ROTR(25,e)},t.q0=function(e){return t.ROTR(7,e)^t.ROTR(18,e)^e>>>3},t.q1=function(e){return t.ROTR(17,e)^t.ROTR(19,e)^e>>>10},t.Ch=function(t,e,r){return t&e^~t&r},t.Maj=function(t,e,r){return t&e^t&r^e&r},t}();e.Sha256=r},1582:function(t,e,r){var i=r(4611),o=r(4950);e.T=function(t,e,r,a){var s=new i.BigInteger(i.b64toHex(e)),n=new i.BigInteger(i.b64toHex(r)),_=s.modPowInt(a,n);return i.removeExtraSymbols(_.toHexString())===o.Sha256.hash(t)}}},function(t){var e;e=241,t(t.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[73],{7713:function(e,n,o){var t=o(8640),c=o(4358),r=o(8928),a=o(5102),i=o(2797),d=o(5164),l=o(9633),s=o(4633),u="criteo",p=(0,d.df)({moduleType:l.y2,moduleName:u}),g="cto_bidid",f="cto_bundle",m=new Date(0).toString(),b=new Date((0,c.AB)()+33696e6).toString();function I(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,c.en)(e,{noDecodeWholeURL:!0});return n?"".concat(o.hostname):"".concat(o.protocol,"://").concat(o.hostname).concat(o.port?":"+o.port:"","/")}function h(e){return p.getCookie(e)||p.getDataFromLocalStorage(e)}function v(e,n,o){e&&n&&(p.setDataInLocalStorage(e,n),S(e,n,b,o,!0))}function S(e,n,o,t,c){for(var r=t.split("."),a=0;a<r.length;++a){var i=r.slice(r.length-a-1,r.length).join(".");try{if(p.setCookie(e,n,o,null,"."+i),c){var d=p.getCookie(e);if(d&&d===n)break}}catch(e){}}}function C(e,n){var o=p.cookiesAreEnabled(),t=p.localStorageIsEnabled(),i=I((0,a.nH)().page),d=I(document.location.href,!0),l="undefined"!=typeof criteo_pubtag,u=function(e,n,o,t,c,r,a){var i="https://gum.criteo.com/sid/json?origin=prebid"+"".concat(e?"&topUrl="+encodeURIComponent(e):"")+"".concat(n?"&domain="+encodeURIComponent(n):"")+"".concat(o?"&bundle="+encodeURIComponent(o):"")+"".concat(t?"&info="+encodeURIComponent(t):"")+"".concat(c?"&cw=1":"")+"".concat(a?"&pbt=1":"")+"".concat(r?"&lsw=1":""),d=s.nX.getConsentData();d&&(i+="&us_privacy=".concat(encodeURIComponent(d)));var l=s.rp.getConsentData();l&&(i+="".concat(l.consentString?"&gdprString="+encodeURIComponent(l.consentString):""),i+="&gdpr=".concat(!0===l.gdprApplies?1:0));var u=s.TJ.getConsentData();return u&&(i+="".concat(u.gppString?"&gpp="+encodeURIComponent(u.gppString):""),i+="".concat(u.applicableSections?"&gpp_sid="+encodeURIComponent(u.applicableSections):"")),i}(i,d,e.bundle,e.dnaBundle,o,t,l),b={success:function(e){var o,t=JSON.parse(e);(t.pixels&&t.pixels.forEach((function(e){return function(e,n){n.writeBundleInStorage&&n.bundlePropertyName&&n.storageKeyName?(0,r.h)(n.pixelUrl,{success:function(o){if(o){var t=JSON.parse(o);t&&t[n.bundlePropertyName]&&v(n.storageKeyName,t[n.bundlePropertyName],e)}},error:function(e){(0,c.H)("criteoIdSystem: unable to sync user id",e)}},void 0,{method:"GET",withCredentials:!0}):(0,c.hq)(n.pixelUrl)}(d,e)})),t.acwsUrl)?("string"==typeof t.acwsUrl?[t.acwsUrl]:t.acwsUrl).forEach((function(e){return(0,c.hq)(e)})):t.bundle&&v(f,t.bundle,d);if(t.bidId){v(g,t.bidId,d);var a={criteoId:t.bidId};n(a)}else S(o=g,"",m,d,!0),p.removeDataFromLocalStorage(o),n()},error:function(e){(0,c.H)("criteoIdSystem: unable to sync user id",e),n()}};(0,r.h)(u,b,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}var y={name:u,gvlid:91,decode:function(e){return e},getId:function(){var e={bundle:h(f),dnaBundle:h("cto_dna_bundle"),bidId:h(g)};return{id:e.bidId?{criteoId:e.bidId}:void 0,callback:function(n){return C(e,n)}}}};(0,i.Bx)("userId",y),(0,t.z)("criteoIdSystem")}},function(e){var n;n=7713,e(e.s=n)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[656],{2678:function(e,r,n){var a=n(4942),t=n(8640),o=n(4358),s=(0,t.R)();var d,i,c=n(8621),p=n(265),u=n(3193),l=n(2797),_=n(8653),g=n(4633),v=n(2021),f=n(5644),T=n(7563),A=n(5102),b={env:"vp",gdfp_req:1,output:"vast",unviewed_position_start:1},C={},E={ri:A.nH};function h(e,r,n){return(0,p.Z)(r,"".concat(n,".description_url"))||E.ri().page}function m(e,r,n){var t=e&&e.adserverTargeting||{},s={},d=r&&r.adUnit;if(d){var i=c.q0.getAllTargeting(d.code);s=i?i[d.code]:{}}var u=Object.assign({},{hb_uuid:e&&e.videoCacheKey},{hb_cache_id:e&&e.videoCacheKey},s,t);v.j8(f.FP.SET_TARGETING,(0,a.Z)({},d.code,u));var l=(0,p.Z)(r,"params.cust_params"),_=Object.assign({},u,l),g=encodeURIComponent((0,o.Yp)(_));return n&&(g=n+"%26"+g),g}u.vc.getConfig("brandCategoryTranslation.translationFile")&&(0,l.v5)("registerAdserver").before((function(e){e.call(this,"dfp")})),d="dfp",i={buildVideoUrl:function(e){if(e.params||e.url){var r=e.adUnit,n=e.bid||c.q0.getWinningBids(r.code)[0],a={};if(e.url&&(a=(0,o.en)(e.url,{noDecodeWholeURL:!0}),(0,o.xb)(e.params)))return function(e,r,n){var a=h(0,e,"search");return a&&(e.search.description_url=a),e.search.cust_params=m(r,n,e.search.cust_params),(0,o.Q2)(e)}(a,n,e);var t={correlator:Date.now(),sz:(0,o.sF)((0,p.Z)(r,"mediaTypes.video.playerSize")).join("|"),url:encodeURIComponent(location.href)},s=a.search,d=s&&s.sz;d&&(t.sz=d+"|"+t.sz);var i=m(n,e,s&&s.cust_params),u=Object.assign({},b,a.search,t,e.params,{cust_params:i}),l=h(0,e,"params");l&&(u.description_url=l);var _=g.rp.getConsentData();_&&("boolean"==typeof _.gdprApplies&&(u.gdpr=Number(_.gdprApplies)),_.consentString&&(u.gdpr_consent=_.consentString),_.addtlConsent&&(u.addtl_consent=_.addtlConsent));var v=g.nX.getConsentData();if(v&&(u.us_privacy=v),g.TJ.getConsentData(),!u.ppid){var f=(0,T.G)();null!=f&&(u.ppid=f)}return(0,o.Q2)(Object.assign({protocol:"https",host:"securepubads.g.doubleclick.net",pathname:"/gampad/ads"},a,{search:u}))}(0,o.H)("A params object or a url is required to use pbjs.adServers.dfp.buildVideoUrl")},buildAdpodVideoUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.code,n=e.params,t=e.callback;if(n&&t){var s={correlator:Date.now(),sz:d(r),url:encodeURIComponent(location.href)};C.getTargeting({codes:[r],callback:i})}else(0,o.H)("A params object and a callback is required to use pbjs.adServers.dfp.buildAdpodVideoUrl");function d(e){var r=_.K.getAdUnits().filter((function(r){return r.code===e})),n=(0,p.Z)(r[0],"mediaTypes.video.playerSize");return(0,o.sF)(n).join("|")}function i(e,d){var i;if(e)t(e,null);else{var c=(i={},(0,a.Z)(i,C.TARGETING_KEY_PB_CAT_DUR,void 0),(0,a.Z)(i,C.TARGETING_KEY_CACHE_ID,void 0),i),p={};d[r]&&(p=d[r].reduce((function(e,r){return Object.keys(r)[0]===C.TARGETING_KEY_PB_CAT_DUR?e[C.TARGETING_KEY_PB_CAT_DUR]=void 0!==e[C.TARGETING_KEY_PB_CAT_DUR]?e[C.TARGETING_KEY_PB_CAT_DUR]+","+r[C.TARGETING_KEY_PB_CAT_DUR]:r[C.TARGETING_KEY_PB_CAT_DUR]:Object.keys(r)[0]===C.TARGETING_KEY_CACHE_ID&&(e[C.TARGETING_KEY_CACHE_ID]=r[C.TARGETING_KEY_CACHE_ID]),e}),c));var u=encodeURIComponent((0,o.Yp)(p)),l=Object.assign({},b,s,n,{cust_params:u}),_=g.rp.getConsentData();_&&("boolean"==typeof _.gdprApplies&&(l.gdpr=Number(_.gdprApplies)),_.consentString&&(l.gdpr_consent=_.consentString),_.addtlConsent&&(l.addtl_consent=_.addtlConsent));var v=g.nX.getConsentData();v&&(l.us_privacy=v);var f=(0,o.Q2)({protocol:"https",host:"securepubads.g.doubleclick.net",pathname:"/gampad/ads",search:l});t(null,f)}}},getAdpodTargeting:function(e){return C.getTargeting(e)}},s.adServers=s.adServers||{},s.adServers[d]=s.adServers[d]||{},Object.keys(i).forEach((function(e){s.adServers[d][e]?(0,o.yN)("Attempting to add an already registered function property ".concat(e," for AdServer ").concat(d,".")):s.adServers[d][e]=i[e]})),(0,l.Bx)("adpod",C),(0,t.z)("dfpAdServerVideo")},7563:function(e,r,n){n.d(r,{G:function(){return a}});var a=(0,n(2797).z3)("sync",(function(){}))}},function(e){var r;r=2678,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[997],{8443:function(e,i,a){var s=a(4942),d=a(8640),n=a(4358),t=a(4679),r=a(5339),p={code:"ebdr",supportedMediaTypes:[t.Mk,t.pX],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.zoneid)},buildRequests:function(e){var i=window.location.host,a=window.location.pathname+location.search+location.hash,d=[],r={},p={},o="",l="";e.forEach((function(e){var i;(0,n.PN)("Log bid",e);var a=(0,n.An)("bidfloor",e.params),u=function(e){var i=null,a=null;if(e.sizes&&e.sizes.length){2===e.sizes.length&&"number"==typeof e.sizes[0]&&"number"==typeof e.sizes[1]&&(i=e.sizes[0],a=e.sizes[1])}var s=e.mediaTypes&&e.mediaTypes.video?t.pX:t.Mk;e.mediaTypes&&e.mediaTypes[s]&&(s==t.Mk&&e.mediaTypes[s].sizes&&e.mediaTypes[s].sizes[0]&&2===e.mediaTypes[s].sizes[0].length?(i=e.mediaTypes[s].sizes[0][0],a=e.mediaTypes[s].sizes[0][1]):s==t.pX&&e.mediaTypes[s].playerSize&&2===e.mediaTypes[s].playerSize.length&&(i=e.mediaTypes[s].playerSize[0],a=e.mediaTypes[s].playerSize[1]));return[i,a]}(e),m=e.mediaTypes&&e.mediaTypes.video?t.pX:t.Mk;o=(0,n.An)("zoneid",e.params),l=e.bidderRequestId,d.push((i={id:e.bidId},(0,s.Z)(i,m,{w:u[0],h:u[1]}),(0,s.Z)(i,"bidfloor",a),i)),r[e.bidId]={mediaTypes:m,w:u[0],h:u[1]},p.latitude=(0,n.An)("latitude",e.params),p.longitude=(0,n.An)("longitude",e.params),p.ifa=(0,n.An)("IDFA",e.params).length>(0,n.An)("ADID",e.params).length?(0,n.An)("IDFA",e.params):(0,n.An)("ADID",e.params)}));var u={id:l,imp:d,site:{domain:i,page:a},device:{geo:{lat:p.latitude,log:p.longitude},ifa:p.ifa}};return{method:"GET",url:"https://dsp.bnmla.com/hb?&zoneid="+o+"&br="+encodeURIComponent(JSON.stringify(u)),bids:r}},interpretResponse:function(e,i){(0,n.PN)("Log serverResponse",e),(0,n.PN)("Log bidRequest",i);var a=[],d=e.body;return d&&d.seatbid&&0!==d.seatbid.length&&d.seatbid[0].bid&&0!==d.seatbid[0].bid.length?(d.seatbid[0].bid.forEach((function(e){var d,n,r,p,o,l;n=parseFloat(e.price),i.bids[e.id].mediaTypes==t.Mk?(r=decodeURIComponent(e.adm),p="ad",o=t.Mk):(r=e.adm,p="vastXml",o=t.pX,e.nurl&&(l=e.nurl));var u=(d={requestId:e.id},(0,s.Z)(d,p,r),(0,s.Z)(d,"mediaType",o),(0,s.Z)(d,"creativeId",e.crid),(0,s.Z)(d,"cpm",n),(0,s.Z)(d,"width",e.w),(0,s.Z)(d,"height",e.h),(0,s.Z)(d,"currency","USD"),(0,s.Z)(d,"netRevenue",!0),(0,s.Z)(d,"ttl",3600),(0,s.Z)(d,"meta",{advertiserDomains:e.adomain||[]}),d);l&&(u.vastUrl=l),a.push(u)})),a):[]},getUserSyncs:function(e,i){var a=[];if(e.pixelEnabled){var s=i.body;if(!s||!s.seatbid||0===s.seatbid.length||!s.seatbid[0].bid||0===s.seatbid[0].bid.length)return[];s.seatbid[0].bid.forEach((function(e){e.iurl&&e.iurl.length>0&&a.push({type:"image",url:e.iurl})}))}return a}};(0,r.dX)(p),(0,d.z)("ebdrBidAdapter")}},function(e){var i;i=8443,e(e.s=i)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[806],{9749:function(n,s,u){(0,u(8640).z)("enrichmentFpdModule")}},function(n){var s;s=9749,n(n.s=s)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[401],{316:function(n,e,t){var r=t(1002),i=t(8640),o=t(4358),a=t(5339),d=t(5164),s=t(4679),c="eplanning",u=(0,d.df)({bidderCode:c}),p=Math.random(),f="i.e-planning.net",l=["ci","sv","t","ml","sn"],m="pbsr_",v="pbvi_",g=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),h=["1x1","300x50","320x50","300x250"],b=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],y="640x480",x={code:c,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(n){return Boolean(n.params.ci)||Boolean(n.params.t)},buildRequests:function(n,e){var t,o,a,d,c,g=function(n){if(function(n){for(var e=0;e<n.length;e++)if(n[e].params.t)return!0;return!1}(n))return function(n){var e;return n.forEach((function(n){return e=e||n.params.isv})),{t:!0,isv:e||f}}(n.filter((function(n){return n.params.t})));var e={};return n.forEach((function(n){l.forEach((function(t){n.params[t]&&!e[t]&&(e[t]=n.params[t])}))})),e}(n),h=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(n){return document.charset||document.characterSet}}(),b=function(n,e){var t=n.reduce((function(n,e){return e.mediaTypes&&e.mediaTypes[s.pX]?"outstream"==e.mediaTypes[s.pX].context?2|n:1|n:n}),0);t&&(n=n.filter((function(n){return n.mediaTypes&&n.mediaTypes[s.pX]&&(1&t?!n.mediaTypes[s.pX].context||"instream"==n.mediaTypes[s.pX].context:"outstream"==n.mediaTypes[s.pX].context)})));var r=(o=n,a={},o.forEach((function(n){var e=w(n,!0);a[e]=a[e]?a[e]:[],a[e].push(n)})),a),i={str:"",vs:"",map:{},impType:t};var o,a;return i.str=Object.keys(r).map((function(n){return r[n].map((function(n,r){var o;if(i.vs+=function(n){var e,t="";u.hasLocalStorage()?(e=function(n){var e=u.getDataFromLocalStorage(m+n.adUnitCode)||0,t=u.getDataFromLocalStorage(v+n.adUnitCode)||0,r=e>0?t/e:0;return{render:e,ratio:window.parseInt(10*r,10)}}(n),t+=e.render>=4?e.ratio.toString(16):"F"):t+="F";return t}(n),t){var a=function(n){if(null==n||!Array.isArray(n))return;var e=Array.isArray(n[0])?n[0]:n;return Array.isArray(e)&&2==e.length?e:void 0}(n.mediaTypes[s.pX].playerSize),d=a?a.join("x"):y;return o="video_"+d+"_"+r,i.map[o]=n.bidId,o+":"+d+";1"}return o=e?function(n){return n.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,"")}(n.adUnitCode):n.params&&n.params.sn||w(n,!0)+"_"+r,i.map[o]=n.bidId,o+":"+w(n)})).join("+")})).join("+"),i}(n,g.ml),x=e.refererInfo.page||e.refererInfo.topmostLocation,C=e.refererInfo.domain||window.location.host;if(g.t)t="https://"+g.isv+"/layers/t_pbjs_2.json",o={};else{t="https://"+(g.sv||"pbjs.e-planning.net")+"/pbjs/1/"+g.ci+"/1/"+C+"/ROS";var I=e.refererInfo.ref||e.refererInfo.topmostLocation;if(u.hasLocalStorage()&&(a=[],n.forEach((function(n){var e=E(n.adUnitCode);e?S(e,n.adUnitCode):a.push(n.adUnitCode)})),a.length&&(d=a,c=new MutationObserver((function(n,e){var t,r;n&&Array.isArray(n)&&n.forEach((function(n){n&&n.addedNodes&&Array.isArray(n.addedNodes)&&n.addedNodes.forEach((function(n){t=d.indexOf(n.id),r=n,t<0&&d.forEach((function(e){var i=E(e);i&&i.contains(n)&&i.getBoundingClientRect().width>0&&(t=d.indexOf(i.id),r=i)})),t>=0&&(S(r,d[t]),d.splice(t,1),d.length||e.disconnect())}))}))})),document.addEventListener("DOMContentLoaded",(function(n){var e={childList:!0,subtree:!0,characterData:!0};c.observe(document.body,e)})))),o={rnd:p,e:b.str,ur:T(x||"file"),pbv:"7.52.0",ncb:"1",vs:b.vs},h&&(o.crs=h),I&&(o.fr=T(I)),e&&e.gdprConsent&&void 0!==e.gdprConsent.gdprApplies&&(o.gdpr=e.gdprConsent.gdprApplies?"1":"0",void 0!==e.gdprConsent.consentString&&(o.gdprcs=e.gdprConsent.consentString)),e&&e.uspConsent&&(o.ccpa=e.uspConsent),(0,i.R)().getUserIds&&"function"==typeof(0,i.R)().getUserIds){var R=(0,i.R)().getUserIds();for(var U in R)o["e_"+U]="object"===(0,r.Z)(R[U])?encodeURIComponent(JSON.stringify(R[U])):encodeURIComponent(R[U])}b.impType&&(o.vctx=1&b.impType?1:2,o.vv=3)}return{method:"GET",url:t,data:o,adUnitToBidId:b.map}},interpretResponse:function(n,e){var t=n.body,r=[];return t&&!(0,o.xb)(t.sp)&&t.sp.forEach((function(n){(0,o.xb)(n.a)||n.a.forEach((function(t){var i={requestId:e.adUnitToBidId[n.k],cpm:t.pr,width:t.w,height:t.h,ttl:120,creativeId:t.crid,netRevenue:true,currency:"USD"};t.adom&&(i.meta={advertiserDomains:t.adom}),e&&e.data&&e.data.vv?(i.vastXml=t.adm,i.mediaType=s.pX):i.ad=t.adm,r.push(i)}))})),r},getUserSyncs:function(n,e){var t=[],i=!(0,o.xb)(e)&&e[0].body;i&&!(0,o.xb)(i.cs)&&i.cs.forEach((function(e){"string"==typeof e&&n.pixelEnabled?t.push({type:"image",url:e}):"object"===(0,r.Z)(e)&&e.ifr&&n.iframeEnabled&&t.push({type:"iframe",url:e.u})}));return t}};function C(){return(0,o.e7)().innerWidth<=1024||window.orientation||g}function I(n,e){var t=C()?h:b,r=t.indexOf(n),i=t.indexOf(e);return r>-1?i>-1&&r<i?1:-1:i>-1?1:0}function w(n,e){var t,r=n.sizes&&n.sizes.length?(t=n.sizes,(0,o.sF)(t).sort(I)):[];return r.length?e?r[0]:r.join(","):"1x1"}function S(n,e){var t;(t={name:e,div:n}).div&&(R(m+t.name),function(){var n,e=5,t=1e3,r=.5,i={};function o(n){n.forEach((function(n){var e=n.target;n.isIntersecting?n.intersectionRatio>=r&&n.boundingClientRect&&n.boundingClientRect.height>0&&n.boundingClientRect.width>0&&(i[e.id]=!0):i[e.id]=!1}))}function a(n){return i[n.id]&&document.visibilityState&&"visible"===document.visibilityState}function d(){if(!n){var e={root:null,rootMargin:"0px",threshold:[r]};n=new IntersectionObserver(o.bind(this),e)}}function s(n,r,i){var o=a(r)?n+1:0;o===e?(c(r),i()):setTimeout(s.bind(this,o,r,i),t/e)}function c(e){delete i[e.id],n.unobserve(e)}function u(e){n.observe(e)}function p(n,e){n&&(d(),u(n),s(0,n,e))}return{onView:p.bind(this)}}().onView(t.div,R.bind(void 0,v+t.name)))}function E(n){return document.getElementById(n)||document.getElementById(function(n){if((0,o.T9)())for(var e=googletag.pubads().getSlots(),t=(0,o.CS)(n),r=0;r<e.length;r++)if(t(e[r]))return e[r].getSlotElementId();return null}(n))}function T(n){return n.length>255&&(n=n.split("?")[0]).length>255&&(n=n.slice(0,255)),n}function R(n){var e;try{e=(e=u.getDataFromLocalStorage(n))?window.parseInt(e,10)+1:1,u.setDataInLocalStorage(n,e)}catch(n){return!1}return!0}(0,a.dX)(x),(0,i.z)("eplanningBidAdapter")}},function(n){var e;e=316,n(n.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[83],{1498:function(n,e,r){var t=r(4942),o=r(8640),u=r(4358),c=r(265),a=r(3193),i=r(4633),s=r(4614),f=r(2797),l=r(2021),p=r(5644),d=r(2513),v=r(9633),g=r(6310),y=r(571),b=r(4947);function h(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function m(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){(0,t.Z)(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function O(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(n,e){if(!n)return;if("string"==typeof n)return w(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(n,e)}(n))||e&&n&&"number"==typeof n.length){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,a=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return c=n.done,n},e:function(n){a=!0,u=n},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw u}}}}function w(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var E,j,P,A,k={purpose1:{id:1,name:"storage"},purpose2:{id:2,name:"basicAds"},purpose7:{id:7,name:"measurement"}},D=[{purpose:"storage",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]},{purpose:"basicAds",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]}],S=new Set,C=new Set,I=new Set,B=!1,$=!1,N=[v.UL,v.y2,v._U,v.XG],U="TCF2",Z=[];function x(n,e,r){if(e){var t=a.vc.getConfig("gvlMapping");if(t&&t[e])return t[e];if(n===v.wu)return d.$P;var o=d.qh.get(e),c=o.gvlid,i=o.modules;if(null==c&&Object.keys(i).length>0){var s,f=O(N);try{for(f.s();!(s=f.n()).done;){var l=s.value;if(i.hasOwnProperty(l)){c=i[l],l!==n&&(0,u.yN)("Multiple GVL IDs found for module '".concat(e,"'; using the ").concat(l," module's ID (").concat(c,") instead of the ").concat(n,"'s ID (").concat(i[n],")"));break}}}catch(n){f.e(n)}finally{f.f()}}return null==c&&r&&(c=r()),c||null}return null}function F(n,e,r){return null==n&&i.rp.enabled?((0,u.yN)("Attempting operation that requires purpose ".concat(e," consent while consent data is not available").concat(r?" (module: ".concat(r,")"):"",". Assuming no consent was given.")),!0):n&&n.gdprApplies}function M(n,e,r,t){var o=k[Object.keys(k).filter((function(e){return k[e].name===n.purpose}))[0]].id;if((n.vendorExceptions||[]).includes(r))return!0;var u=!(t===d.$P||(n.softVendorExceptions||[]).includes(r)),a=(0,c.Z)(e,"vendorData.purpose.consents.".concat(o)),i=!u||(0,c.Z)(e,"vendorData.vendor.consents.".concat(t)),s=(0,c.Z)(e,"vendorData.purpose.legitimateInterests.".concat(o)),f=!1===n.enforcePurpose||!0===a,l=!1===n.enforceVendor||!0===i;return 2===o?f&&l||!0===s:f&&l}function T(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return null};return function(o){var u=i.rp.getConsentData(),c=o[g.bp];if(F(u,n,c)){var a=x(o[g.$k],c,t(o)),s=!!M(e(),u,c,a);if(!s)return r&&r.add(c),{allow:s}}}}var V,L=(V=T(1,(function(){return E}),S),function(n){if(n[g.$k]!==v.wu||$)return V(n)}),G=T(1,(function(){return E}),S),_=T(1,(function(){return E}),S);function q(n,e,r){F(r,1,"User ID")?n.call(this,e,m(m({},r),{},{hasValidated:!0})):n.call(this,e,r)}var H=function(n){return function(e){if(e[g.$k]===v.UL)return n(e)}}(T(2,(function(){return j}),C)),z=T(7,(function(){return P}),I,(function(n){return e=n[g.bp],r=n[g.Hw],function(n){if("function"!=typeof n)return n;try{return n.call(o.adapter,r)}catch(n){(0,u.H)("Error invoking ".concat(e," adapter.gvlid()"),n)}}(null==(o=i.ZP.getAnalyticsAdapter(e))||null===(t=o.adapter)||void 0===t?void 0:t.gvlid);var e,r,t,o}));l.on(p.FP.AUCTION_END,(function(){var n=function(n){return Array.from(n.keys()).filter((function(n){return null!=n}))},e={storageBlocked:n(S),biddersBlocked:n(C),analyticsBlocked:n(I)};l.j8(p.FP.TCF2_ENFORCEMENT,e),[S,C,I].forEach((function(n){return n.clear()}))}));var K=function(n){return n.purpose===k.purpose1.name},R=function(n){return n.purpose===k.purpose2.name},X=function(n){return n.purpose===k.purpose7.name};a.vc.getConfig("consentManagement",(function(n){return function(n){var e=(0,c.Z)(n,"gdpr.rules");e?A=e:((0,u.yN)("TCF2: enforcing P1 and P2 by default"),A=D),$=!!(0,c.Z)(n,"strictStorageEnforcement"),E=(0,s.sE)(A,K),j=(0,s.sE)(A,R),P=(0,s.sE)(A,X),E||(E=D[0]),j||(j=D[1]),B||(E&&(B=!0,Z.push((0,y.oB)(b.S1,U,L)),Z.push((0,y.oB)(b.K$,U,G)),Z.push((0,y.oB)(b.EL,U,_)),(0,f.v5)("validateGdprEnforcement").before(q,47)),j&&Z.push((0,y.oB)(b.UE,U,H)),P&&Z.push((0,y.oB)(b.x$,U,z)))}(n.consentManagement)})),(0,o.z)("gdprEnforcement")}},function(n){var e;e=1498,n(n.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[296],{6787:function(t,e,o){var r=o(8640),a=o(4358),n=o(265),d=o(3193),u=o(2797),c=o(4614),i=void 0,s={},f=!1,p=function(t){var e=s.customGptSlotMatching;if((0,a.T9)()){var o=t.reduce((function(t,e){return t[e.code]=e,t}),{});window.googletag.pubads().getSlots().forEach((function(t){var r=(0,c.sE)(Object.keys(o),e?e(t):(0,a.zV)(t));if(r){var n=o[r];n.ortb2Imp=n.ortb2Imp||{},n.ortb2Imp.ext=n.ortb2Imp.ext||{},n.ortb2Imp.ext.data=n.ortb2Imp.ext.data||{};var d=n.ortb2Imp.ext.data;d.adserver=d.adserver||{},d.adserver.name="gam",d.adserver.adslot=l(t.getAdUnitPath())}}))}},l=function(t){return(d.vc.getConfig("gptPreAuction")||{}).mcmEnabled?t.replace(/(^\/\d*),\d*\//,"$1/"):t},b=function(t,e){var o=t.ortb2Imp.ext.data;if(o.pbadslot)return o.pbadslot;if((0,a.T9)()){var r=window.googletag.pubads().getSlots().filter((function(t){return t.getAdUnitPath()===e}));if(0!==r.length)return 1===r.length?e:"".concat(e,"#").concat(t.code)}},m=function(t){var e=t.ortb2Imp.ext.data,o=s.customPbAdSlot;if(!e.pbadslot)if(o)e.pbadslot=o(t.code,(0,n.Z)(e,"adserver.adslot"));else{try{var r=document.getElementById(t.code);if(r.dataset.adslotid)return void(e.pbadslot=r.dataset.adslotid)}catch(t){}if(!(0,n.Z)(e,"adserver.adslot"))return e.pbadslot=t.code,!0;e.pbadslot=e.adserver.adslot}},v=function(t,e){p(e);var o=s,r=o.useDefaultPreAuction,a=o.customPreAuction;e.forEach((function(t){t.ortb2Imp=t.ortb2Imp||{},t.ortb2Imp.ext=t.ortb2Imp.ext||{},t.ortb2Imp.ext.data=t.ortb2Imp.ext.data||{};var e=t.ortb2Imp.ext;if(a||r){var o,d=(0,n.Z)(e,"data.adserver.adslot");a?o=a(t,d):r&&(o=b(t,d)),o&&(e.gpid=e.data.pbadslot=o)}else{var u=m(t);e.gpid||u||(e.gpid=e.data.pbadslot)}}));for(var d=arguments.length,u=new Array(d>2?d-2:0),c=2;c<d;c++)u[c-2]=arguments[c];return t.call.apply(t,[i,e].concat(u))},g=function(t){(s=(0,a.ei)(t,["enabled",function(t){return!1!==t},"customGptSlotMatching",function(t){return"function"==typeof t&&t},"customPbAdSlot",function(t){return"function"==typeof t&&t},"customPreAuction",function(t){return"function"==typeof t&&t},"useDefaultPreAuction",function(t){return!0===t}])).enabled?f||((0,u.v5)("makeBidRequests").before(v),f=!0):((0,a.PN)("".concat("GPT Pre-Auction",": Turning off module")),s={},(0,u.v5)("makeBidRequests").getHooks({hook:v}).remove(),f=!1)};d.vc.getConfig("gptPreAuction",(function(t){return g(t.gptPreAuction)})),g({}),(0,r.z)("gptPreAuction")}},function(t){var e;e=6787,t(t.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[155],{3390:function(e,t,r){var a=r(3324),n=r(9062),i=r(1002),o=r(4942),d=r(8640),s=r(265),p=r(4358),c=r(6475),u=r(4679),l=r(3193),f=r(5644),m=r(5164),g=r(2021),v=r(4614),y=r(5339),b=r(154),h=r(5706);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,d=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){d=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(d)throw i}}}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var Z="ix",S="roundel",P=[u.Mk,u.pX,u.B5],T=[144,144],E={JPY:1},k="p",A="x",C=1,j=2,N=3,D=4,B=5,F=9,_={SITE:["id","name","domain","cat","sectioncat","pagecat","page","ref","search","mobile","privacypolicy","publisher","content","keywords","ext"],USER:["id","buyeruid","yob","gender","keywords","customdata","geo","data","ext"]},U={"liveramp.com":"idl","netid.de":"NETID","neustar.biz":"fabrickId","zeotap.com":"zeotapIdPlus","uidapi.com":"UID2","adserver.org":"TDID","id5-sync.com":"","crwdcntrl.net":"","epsilon.com":"","audigent.com":"","pubcid.org":"","trustpid.com":"","intimatemerger.com":""},R=["britepoolid","lipbid","criteoId","merkleId","parrableId","connectid","tapadId","quantcastId","pubProvidedId"],z=["mimes","minduration","maxduration"],X=["mimes","minduration","maxduration","protocols","protocol","startdelay","placement","linearity","skip","skipmin","skipafter","sequence","battr","maxextended","minbitrate","maxbitrate","boxingallowed","playbackmethod","playbackend","delivery","pos","companionad","api","companiontype","ext","playerSize","w","h"],L="ixdiag",q="".concat(Z,"_features"),H=!1,M=(0,m.df)({bidderCode:Z}),J={REQUESTED_FEATURE_TOGGLES:[],featureToggles:{},isFeatureEnabled:function(e){return(0,s.Z)(this.featureToggles,"features.".concat(e,".activated"),!1)},getFeatureToggles:function(){if(M.localStorageIsEnabled()){var e=(0,p.dj)(M.getDataFromLocalStorage(q));(0,s.Z)(e,"expiry")&&e.expiry>=(new Date).getTime()?this.featureToggles=e:this.clearFeatureToggles()}},setFeatureToggles:function(e){var t=e.body,r=new Date,a=(0,s.Z)(t,"ext.features");a&&(this.featureToggles={expiry:r.setHours(r.getHours()+1),features:a},M.localStorageIsEnabled()&&M.setDataInLocalStorage(q,JSON.stringify(this.featureToggles)))},clearFeatureToggles:function(){this.featureToggles={},M.localStorageIsEnabled()&&M.removeDataFromLocalStorage(q)}},G=0,Q="",V="",$=!1,Y=2;function K(e){var t=W(e,u.pX),r=(0,s.Z)(e,"mediaTypes.video"),a=(0,s.Z)(e,"params.video");if(ne(r,a).length)return{};for(var n in t.video=a?(0,p.I8)(e.params.video):{},t.ext.tid=(0,s.Z)(e,"ortb2Imp.ext.tid"),ue(t,e),r)-1===X.indexOf(n)||t.video.hasOwnProperty(n)||(t.video[n]=r[n]);if(t.video.minduration>t.video.maxduration)return(0,p.H)("IX Bid Adapter: video minduration [".concat(t.video.minduration,"] cannot be greater than video maxduration [").concat(t.video.maxduration,"]"),{bidder:Z,code:F}),{};var i=a&&a.context||r&&r.context;if(i&&!t.video.hasOwnProperty("placement")&&(i===b.LD?t.video.placement=1:i===b.gZ?(0,s.Z)(a,"playerConfig.floatOnScroll")?t.video.placement=5:(t.video.placement=3,$=!0):(0,p.yN)("IX Bid Adapter: Video context '".concat(i,"' is not supported"))),!t.video.w||!t.video.h){var o=ie((0,s.Z)(t,"video.playerSize"))||ie((0,s.Z)(e,"params.size"));if(!o)return(0,p.yN)("IX Bid Adapter: Video size is missing in [mediaTypes.video]"),{};t.video.w=o[0],t.video.h=o[1]}return ee(e,t,u.pX),t}function W(e,t){var r={};if(r.id=e.bidId,r.ext={},(0,s.Z)(e,"params.".concat(t,".siteId"))&&!isNaN(Number(e.params[t].siteId)))switch(t){case u.Mk:r.ext.siteID=e.params.banner.siteId.toString();break;case u.pX:r.ext.siteID=e.params.video.siteId.toString();break;case u.B5:r.ext.siteID=e.params.native.siteId.toString()}else r.ext.siteID=e.params.siteId.toString();return!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(r.ext.sid=String(e.params.id)),r}function ee(e,t,r){var a=null,n=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(a={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),(0,p.LQ)(e.getFloor)){var i="*",o="*";if(r&&(0,p.r3)(P,r)){var d=t[r];i=r,o=[d.w,d.h]}try{n=e.getFloor({mediaType:i,size:o})}catch(e){(0,p.yN)("priceFloors module call getFloor failed, error : ",e)}}n?(t.bidfloor=n.floor,t.bidfloorcur=n.currency,t.ext.fl=k):a&&(t.bidfloor=a.floor,t.bidfloorcur=a.currency,t.ext.fl=A)}function te(e,t,r){var a={},n=!(!(0,s.Z)(e,"exp")||!(0,p.U)(e.exp)),i=(0,s.Z)(e,"dealid")||(0,s.Z)(e,"ext.dealid");E.hasOwnProperty(t)?a.cpm=e.price/E[t]:a.cpm=e.price/100,a.requestId=e.impid,i&&(a.dealId=i),a.netRevenue=true,a.currency=t,a.creativeId=e.hasOwnProperty("crid")?e.crid:"-",e.mtype!=Y||(!e.ext||e.ext.vasturl)&&e.ext?e.ext&&e.ext.vasturl&&(a.vastUrl=e.ext.vasturl):a.vastXml=e.adm;var o=null;if("string"==typeof e.adm&&"{"===e.adm[0]&&"}"===e.adm[e.adm.length-1])try{o=JSON.parse(e.adm)}catch(e){(0,p.yN)("adm looks like JSON but failed to parse: ",e)}return e.ext&&e.ext.vasturl||e.mtype==Y?(a.width=r.video.w,a.height=r.video.h,a.mediaType=u.pX,a.mediaTypes=r.mediaTypes,a.ttl=n?e.exp:3600):o&&o.native?(a.native={ortb:o.native},a.width=e.w?e.w:1,a.height=e.h?e.h:1,a.mediaType=u.B5,a.ttl=n?e.exp:3600):(a.ad=e.adm,a.width=e.w,a.height=e.h,a.mediaType=u.Mk,a.ttl=n?e.exp:300),a.meta={},a.meta.networkId=(0,s.Z)(e,"ext.dspid"),a.meta.brandId=(0,s.Z)(e,"ext.advbrandid"),a.meta.brandName=(0,s.Z)(e,"ext.advbrand"),e.adomain&&e.adomain.length>0&&(a.meta.advertiserDomains=e.adomain),a}function re(e){return Array.isArray(e)&&2===e.length&&(0,p.U)(e[0])&&(0,p.U)(e[1])}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(re(e))return e[0]===t[0]&&e[1]===t[1];for(var r=0;r<e.length;r++)if(e[r][0]===t[0]&&e[r][1]===t[1])return!0;return!1}function ne(e,t){var r=[];e||(0,p.yN)("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");var a,n=O(z);try{for(n.s();!(a=n.n()).done;){var i=a.value,o=e&&e.hasOwnProperty(i),d=t&&t.hasOwnProperty(i);o||d||r.push("IX Bid Adapter: ".concat(i," is not included in either the adunit or params level"))}}catch(e){n.e(e)}finally{n.f()}var s=e&&e.hasOwnProperty("protocol"),c=e&&e.hasOwnProperty("protocols"),u=t&&t.hasOwnProperty("protocol"),l=t&&t.hasOwnProperty("protocols");return s||c||u||l||r.push("IX Bid Adapter: protocol/protcols is not included in either the adunit or params level"),r}function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return re(e)?e:!!re(e[0])&&e[0]}function oe(e,t,r){if(e)return x(x({},(0,v.sE)(r,(function(t){return t.bidId===e}))),(0,v.sE)(t,(function(t){return t.id===e})))}function de(e,t,r,a){var n="https://htlb.casalemedia.com/openrtb/pbjs",o=function(e){var t=[],r={};if((0,p.kJ)(e)){var a,n=O(e);try{for(n.s();!(a=n.n()).done;){var i=a.value;U.hasOwnProperty(i.source)&&(0,s.Z)(i,"uids.0")&&(r[i.source]=!0,""!=U[i.source]&&(i.uids[0].ext={rtiPartner:U[i.source]}),delete i.uids[0].atype,t.push(i))}}catch(e){n.e(e)}finally{n.f()}}return{toSend:t,seenSources:r}}((0,s.Z)(e,"0.userIdAsEids")),d=o.toSend;if(window.headertag&&"function"==typeof window.headertag.getIdentityInfo&&function(e,t){var r=window.headertag.getIdentityInfo();if(r&&"object"===(0,i.Z)(r))for(var a in r)if(r.hasOwnProperty(a)){var n=r[a];!n.responsePending&&n.data&&"object"===(0,i.Z)(n.data)&&Object.keys(n.data).length&&!t.seenSources[n.data.source]&&e.push(n.data)}}(d,o),t&&t.bidderCode===S&&!o.seenSources["liveramp.com"])return[];var u=[],f=function(e){var t={};return t.id=e[0].bidderRequestId.toString(),t.site={},t.ext={},t.ext.source="prebid",t.ext.ixdiag={},t.ext.ixdiag.ls=M.localStorageIsEnabled(),t.imp=[],t.at=1,t}(e);f=function(e,t){t.length>0&&(e.ext.features={},t.forEach((function(t){e.ext.features[t]={activated:J.isFeatureEnabled(t)}})));return e}(f,J.REQUESTED_FEATURE_TOGGLES);var m=function(e){for(var t=e.map((function(e){return e.transactionId})).filter((function(e,t,r){return r.indexOf(e)===t})),r={mfu:0,bu:0,iu:0,nu:0,ou:0,allu:0,ren:!1,version:"7.52.0",userIds:fe(e[0]),url:window.location.href.split("?")[0],vpd:$},a=function(a){i=e.filter((function(e){return e.transactionId===t[a]}))[0],(0,s.Z)(i,"mediaTypes")&&(Object.keys(i.mediaTypes).length>1&&r.mfu++,(0,s.Z)(i,"mediaTypes.native")&&r.nu++,(0,s.Z)(i,"mediaTypes.banner")&&r.bu++,"outstream"===(0,s.Z)(i,"mediaTypes.video.context")&&(r.ou++,Oe(i)&&(r.ren=!0)),"instream"===(0,s.Z)(i,"mediaTypes.video.context")&&r.iu++,r.allu++)},n=0;n<t.length;n++){var i;a(n)}return r}(e);for(var g in m)f.ext.ixdiag[g]=m[g];f=function(e,t,r,a,n){var i=(0,s.Z)(t,"timeout");i&&(e.ext.ixdiag.tmax=i);l.vc.getConfig("userSync")&&(e.ext.ixdiag.syncsPerBidder=l.vc.getConfig("userSync").syncsPerBidder);var o=function(){if(!M.localStorageIsEnabled())return;var e,t={};try{e=JSON.parse(M.getDataFromLocalStorage(L)||"{}")}catch(e){return(0,p.H)("ix can not read ixdiag from localStorage."),null}return Object.keys(e).forEach((function(r){Object.keys(e[r]).forEach((function(a){"number"==typeof e[r][a]&&(t[a]=t[a]?t[a]+e[r][a]:e[r][a])}))})),t}();(0,p.xb)(o)||(e.ext.ixdiag.err=o);e.ext.ixdiag.imps=Object.keys(r).length,e.source={tid:a[0].auctionId},a[0].schain&&(e.source.ext={},e.source.ext.schain=a[0].schain);n.length>0&&(e.user={},e.user.eids=n);document.referrer&&""!==document.referrer&&(e.site.ref=document.referrer);return e}(f,t,r,e,d),f=function(e,t){if(t){t.gdprConsent&&((Q=t.gdprConsent).hasOwnProperty("gdprApplies")&&(e.regs={ext:{gdpr:Q.gdprApplies?1:0}}),Q.hasOwnProperty("consentString")&&(e.user=e.user||{},e.user.ext={consent:Q.consentString||""},Q.hasOwnProperty("addtlConsent")&&Q.addtlConsent&&(e.user.ext.consented_providers_settings={addtl_consent:Q.addtlConsent}))),t.uspConsent&&((0,c.N)(e,"regs.ext.us_privacy",t.uspConsent),V=t.uspConsent);var r=(0,s.Z)(t,"refererInfo.page");r&&(e.site.page=r),t.gppConsent&&((0,c.N)(e,"regs.gpp",t.gppConsent.gppString),(0,c.N)(e,"regs.gpp_sid",t.gppConsent.applicableSections))}l.vc.getConfig("coppa")&&(0,c.N)(e,"regs.coppa",1);return e}(f,t);var v={};G=e[0].params.siteId,v.s=G;for(var y=Object.keys(r),b=!1,h=0;h<y.length&&!(u.length>=4);h++){f=se(r,y,f,h);var I=(0,s.Z)(t,"ortb2")||{},w=x({},I.site||I.context);w.page=pe(t);var Z=x({},I.user);(0,p.xb)(I)||b||((f=ce(t,f,I,w,Z)).site=(0,p.Ee)({},f.site,w),f.user=(0,p.Ee)({},f.user,Z),b=!0),f=le(r,f,y,h,v,n),h===y.length-1&&(u.push({method:"POST",url:n+"?s="+G,data:(0,p.I8)(f),option:{contentType:"text/plain"},validBidRequests:e}),f.imp=[],b=!1)}return u}function se(e,t,r,a){var i=e[t[a]],o=i.missingImps,d=void 0===o?[]:o,s=i.ixImps,l={ixImps:void 0===s?[]:s,missingBannerImpressions:d},f=Object.keys(l).map((function(e){return l[e]})).filter((function(e){return Array.isArray(e)})).reduce((function(e,t){return e.concat.apply(e,(0,n.Z)(t))}),[]),m=e[t[a]].gpid,g=e[t[a]].dfp_ad_unit_code,v=e[t[a]].tid,y=e[t[a]].sid;if(f.length&&u.Mk in f[0]){for(var b=f[0],h={id:b.id,banner:{topframe:b.banner.topframe,format:f.map((function(e){var t=e.banner;return{w:t.w,h:t.h,ext:e.ext}}))}},I=0;I<h.banner.format.length;I++)null!=h.banner.format[I].ext&&null!=h.banner.format[I].ext.sid&&delete h.banner.format[I].ext.sid,"bidfloor"in f[I]&&(h.banner.format[I].ext.bidfloor=f[I].bidfloor);var x=e[t[a]].pos;(0,p.U)(x)&&(h.banner.pos=x),(g||m||v||y)&&(h.ext={},h.ext.dfp_ad_unit_code=g,h.ext.gpid=m,h.ext.tid=v,h.ext.sid=y),"bidfloor"in f[0]&&(h.bidfloor=f[0].bidfloor),"bidfloorcur"in f[0]&&(h.bidfloorcur=f[0].bidfloorcur);var O=e[t[a]].adUnitFPD;O&&(h.ext.data=O),r.imp.push(h)}else{var w;f.forEach((function(e){return(0,c.N)(e,"ext.gpid",m)})),(w=r.imp).push.apply(w,(0,n.Z)(f))}return r}function pe(e){var t=e&&e.bidderCode||"ix",r=l.vc.getConfig(t),n="";if((n=(0,s.Z)(e,"ortb2.site.page")?e.ortb2.site.page:(0,s.Z)(e,"refererInfo.page"),r)&&"object"===(0,i.Z)(r.firstPartyData))return function(e,t,r){var n;try{n=new URL(t)}catch(r){(0,p.yN)("IX Bid Adapter: Invalid URL set in ortb2.site.page: ".concat(t,". Using referer URL instead.")),n=new URL((0,s.Z)(e,"refererInfo.page"))}for(var i=new URLSearchParams(n.search),o=0,d=Object.entries(r);o<d.length;o++){var c=(0,a.Z)(d[o],2),u=c[0],l=c[1];i.has(u)||i.append(u,l)}return n.search=i.toString(),n.toString()}(e,n,r.firstPartyData);return n}function ce(e,t,r,a,n){if(t.ext.ixdiag.fpd=!0,Object.keys(a).forEach((function(e){-1===_.SITE.indexOf(e)&&delete a[e]})),Object.keys(n).forEach((function(e){-1===_.USER.indexOf(e)&&delete n[e]})),r.device){var i=x({},r.device.sua);(0,p.xb)(i)||(0,c.N)(t,"device.sua",i)}return r.hasOwnProperty("regs")&&!e.gppConsent&&(r.regs.hasOwnProperty("gpp")&&"string"==typeof r.regs.gpp&&(0,c.N)(t,"regs.gpp",r.regs.gpp),r.regs.hasOwnProperty("gpp_sid")&&Array.isArray(r.regs.gpp_sid)&&(0,c.N)(t,"regs.gpp_sid",r.regs.gpp_sid)),t}function ue(e,t){var r=(0,s.Z)(t,"ortb2Imp.ext.data");r&&(0,c.N)(e,"ext.data",r)}function le(e,t,r,a,n,i){var o=e[r[a]].pbadslot,d=e[r[a]].tagId,s=e[r[a]].adUnitCode,p=e[r[a]].divId;return(o||d||s||p)&&(t.ext.ixdiag.pbadslot=o,t.ext.ixdiag.tagid=d,t.ext.ixdiag.adunitcode=s,t.ext.ixdiag.divId=p),t}function fe(e){var t=e.userId||{};return R.filter((function(e){return t[e]}))}function me(e,t){if(t)for(var r=0;r<e.length;r++){var a=e[r];if(t[0]===a[0]&&t[1]===a[1]){e.splice(r,1);break}}}function ge(e,t){var r=function(e){var t=W(e,u.B5),r=e.nativeOrtbRequest;return r.eventtrackers=[{event:1,methods:[1,2]}],r.privacy=1,t.native={request:JSON.stringify(r),ver:"1.2"},t.ext.tid=(0,s.Z)(e,"ortb2Imp.ext.tid"),ue(t,e),ee(e,t,u.B5),t}(e);if(0!=Object.keys(r).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(r),t[e.transactionId].gpid=(0,s.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,s.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,s.Z)(e,"params.tagId");var a=e.adUnitCode,n=document.getElementById(a)?a:(0,p.ky)(a).divId;t[e.transactionId].adUnitCode=a,t[e.transactionId].divId=n}}function ve(e,t){var r=K(e);if(0!=Object.keys(r).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(r),t[e.transactionId].gpid=(0,s.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,s.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,s.Z)(e,"params.tagId");var a=e.adUnitCode,n=document.getElementById(a)?a:(0,p.ky)(a).divId;t[e.transactionId].adUnitCode=a,t[e.transactionId].divId=n}}function ye(e,t,r){var a=function(e){var t=W(e,u.Mk);t.banner={};var r=(0,s.Z)(e,"params.size");return r&&(t.banner.w=r[0],t.banner.h=r[1]),t.banner.topframe=(0,p.yL)()?0:1,ee(e,t,u.Mk),t}(e),n=ae((0,s.Z)(e,"mediaTypes.banner.sizes"),(0,s.Z)(e,"params.size"));r.hasOwnProperty(e.transactionId)||(r[e.transactionId]={}),r[e.transactionId].gpid=(0,s.Z)(e,"ortb2Imp.ext.gpid"),r[e.transactionId].dfp_ad_unit_code=(0,s.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),r[e.transactionId].tid=(0,s.Z)(e,"ortb2Imp.ext.tid"),r[e.transactionId].pbadslot=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot"),r[e.transactionId].tagId=(0,s.Z)(e,"params.tagId"),r[e.transactionId].pos=(0,s.Z)(e,"mediaTypes.banner.pos");var i=(0,s.Z)(e,"ortb2Imp.ext.data");i&&(r[e.transactionId].adUnitFPD=i);var o=(0,s.Z)(e,"params.id");!o||"string"!=typeof o&&"number"!=typeof o||(r[e.transactionId].sid=String(o));var d=e.adUnitCode,c=document.getElementById(d)?d:(0,p.ky)(d).divId;r[e.transactionId].adUnitCode=d,r[e.transactionId].divId=c,n&&(r[e.transactionId].hasOwnProperty("ixImps")||(r[e.transactionId].ixImps=[]),r[e.transactionId].ixImps.push(a)),function(e,t,r){var a=e.transactionId;if(t.hasOwnProperty(a)){var n=[];t[a].hasOwnProperty("missingSizes")&&(n=t[a].missingSizes),me(n,e.params.size),t[a].missingSizes=n}else if((0,s.Z)(e,"mediaTypes.banner.sizes")){var i=(0,p.I8)(e.mediaTypes.banner.sizes);me(i,e.params.size);var o={missingSizes:i,impression:r};t[a]=o}}(e,t,a)}function be(e,t,r){var a=(0,p.I8)(t);return a.banner.w=r[0],a.banner.h=r[1],ee(e,a,u.Mk),a}function he(e){"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===Z&&function(e){if(M.localStorageIsEnabled()){var t;try{t=JSON.parse(M.getDataFromLocalStorage(L)||"{}")}catch(e){(0,p.yN)("ix can not read ixdiag from localStorage.")}var r=new Date;if(Object.keys(t).map((function(e){var a=new Date(e);a.setDate(a.getDate()+7)-r<0&&delete t[e]})),"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===Z){var a=r.toISOString().slice(0,10),n=e.arguments[1].code;n&&(t[a]=t[a]||{},Number(t[a][n])||(t[a][n]=0),t[a][n]++)}M.setDataInLocalStorage(L,JSON.stringify(t))}}(e)}function Ie(e){e.renderer.push((function(){var t=e.adUnitCode,r=document.getElementById(t)?t:(0,p.ky)(t).divId;r?window.createIXPlayer(r,e):(0,p.yN)("IX Bid Adapter: adUnitCode: ".concat(r," not found on page."))}))}function xe(e,t){var r=h.Th.install({id:e,url:t,loaded:!1});try{r.setRender(Ie)}catch(e){return(0,p.yN)("Prebid Error calling setRender on renderer",e),null}return t?r:((0,p.yN)("Outstream renderer URL not found"),null)}function Oe(e){if("outstream"!==(0,s.Z)(e,"mediaTypes.video.context"))return!1;var t=(0,s.Z)(e,"mediaTypes.video.renderer");return t||(t=(0,s.Z)(e,"renderer")),!!("object"!==(0,i.Z)(t)||!t.url||!t.render)||t.backupOnly}var we={code:Z,gvlid:10,aliases:[{code:S,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:P,isBidRequestValid:function(e){H||(g.on(f.FP.AUCTION_DEBUG,he),g.on(f.FP.AD_RENDER_FAILED,he),H=!0);var t,r,a=(0,s.Z)(e,"params.video"),n=(0,s.Z)(e,"params.size"),i=(0,s.Z)(e,"mediaTypes.banner.sizes"),o=(0,s.Z)(e,"mediaTypes.video"),d=(0,s.Z)(e,"mediaTypes.video.playerSize"),c=e.params.hasOwnProperty("bidFloor"),u=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!(0,p.r3)(P,e.mediaType))return(0,p.yN)("IX Bid Adapter: media type is not supported."),!1;if((0,s.Z)(e,"mediaTypes.banner")&&!i)return!1;if(n){var l=ie(n);if(!l)return(0,p.H)("IX Bid Adapter: size has invalid format.",{bidder:Z,code:C}),!1;if(!ae(e.sizes,l)&&!ae(d,l)&&!ae(i,l))return(0,p.H)("IX Bid Adapter: bid size is not included in ad unit sizes or player size.",{bidder:Z,code:j}),!1}if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return(0,p.H)("IX Bid Adapter: siteId must be string or number type.",{bidder:Z,code:D}),!1;if("string"!=typeof e.params.siteId&&isNaN(Number(e.params.siteId)))return(0,p.H)("IX Bid Adapter: siteId must valid value",{bidder:Z,code:D}),!1;if((c||u)&&!(c&&u&&(t=e.params.bidFloor,r=e.params.bidFloorCur,Boolean("number"==typeof t&&"string"==typeof r&&r.match(/^[A-Z]{3}$/)))))return(0,p.H)("IX Bid Adapter: bidFloor / bidFloorCur parameter has invalid format.",{bidder:Z,code:B}),!1;if(o&&a){var m=K(e).video,v=ne(o,a);if((0,s.Z)(e,"mediaTypes.video.context")===b.gZ&&Oe(e)&&m){var y=[(0,s.Z)(m,"w"),(0,s.Z)(m,"h")];if(!(y[0]>=T[0]&&y[1]>=T[1]))return(0,p.H)("IX Bid Adapter: ".concat(y," is an invalid size for IX outstream renderer")),!1}if(v.length)return v.forEach((function(e){(0,p.H)(e,{bidder:Z,code:N})})),!1}return function(e){return void 0===(0,s.Z)(e,"mediaTypes.native")||e.nativeOrtbRequest&&Array.isArray(e.nativeOrtbRequest.assets)&&e.nativeOrtbRequest.assets.length>0}(e)},buildRequests:function(e,t){var r=[],a={},i={},o={},d={};for(var c in J.getFeatureToggles(),e.forEach((function(e){var t=Object.keys((0,s.Z)(e,"mediaTypes",{}));for(var r in t)switch(t[r]){case u.Mk:ye(e,d,a);break;case u.pX:ve(e,i);break;case u.B5:ge(e,o);break;default:(0,p.yN)("IX Bid Adapter: ad unit mediaTypes ".concat(r," is not supported"))}})),d)if(d.hasOwnProperty(c)){var l=d[c].missingSizes;a.hasOwnProperty(c)||(a[c]={}),a[c].hasOwnProperty("missingImps")||(a[c].missingImps=[],a[c].missingCount=0);for(var f=d[c].impression,m=0;m<l.length;m++){var g=be(e[0],f,l[m]);a[c].missingImps.push(g),a[c].missingCount++}}return Object.keys(a).length>0&&r.push.apply(r,(0,n.Z)(de(e,t,a))),Object.keys(i).length>0&&r.push.apply(r,(0,n.Z)(de(e,t,i))),Object.keys(o).length>0&&r.push.apply(r,(0,n.Z)(de(e,t,o))),r},interpretResponse:function(e,t){var r=[],a=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return J.setFeatureToggles(e),r;for(var n=e.body,i=n.seatbid,o=0;o<i.length;o++)if(i[o].hasOwnProperty("bid")){for(var d=i[o].bid,c=t.data,l=0;l<d.length;l++){var f=oe(d[l].impid,c.imp,t.validBidRequests);if((a=te(d[l],n.cur,f)).mediaType===u.pX&&Oe(f)){var m=(0,s.Z)(n,"ext.videoplayerurl");if(a.renderer=xe(d[l].bidId,m),!a.renderer)continue}r.push(a)}if((0,s.Z)(c,"ext.ixdiag.err")&&M.localStorageIsEnabled())try{M.removeDataFromLocalStorage(L)}catch(e){(0,p.H)("ix can not clear ixdiag from localStorage.")}}return J.setFeatureToggles(e),r},transformBidParams:function(e,t){return(0,p.uh)({siteID:"number"},e)},getUserSyncs:function(e,t){var r=[],a=null;if(t.length>0&&(a=(0,s.Z)(t[0],"body.ext.publishersyncsperbidderoverride")),void 0!==a&&0==a)return[];if(e.iframeEnabled)r.push({type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"});else{var n=null;l.vc.getConfig("userSync")&&(n=l.vc.getConfig("userSync").syncsPerBidder),0===n&&(n=a),n=a&&(0===n||n)?a>n?n:a:1;for(var i=0;i<n;i++)r.push({type:"image",url:Ze(n,i)})}return r}};function Ze(e,t){var r="",a="0";return Q&&Q.hasOwnProperty("gdprApplies")&&(a=Q.gdprApplies?"1":"0"),Q&&Q.hasOwnProperty("consentString")&&(r=Q.consentString||""),"https://dsum.casalemedia.com/pbusermatch?origin=prebid&site_id="+G.toString()+"&p="+e.toString()+"&i="+t.toString()+"&gdpr="+a+"&gdpr_consent="+r+"&us_privacy="+(V||"")}(0,y.dX)(we),(0,d.z)("ixBidAdapter")}},function(e){var t;t=3390,e(e.s=t)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[773],{67:function(e,r,i){var t=i(3324),n=i(4942),a=i(8640),s=i(4358),d=i(265),o=i(5590),u=i(4679),c=i(5339),p=i(4614),l=i(59),f=i(3193);function g(e,r){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),i.push.apply(i,t)}return i}function b(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?g(Object(i),!0).forEach((function(r){(0,n.Z)(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))}))}return e}var m=["prebid-eu","prebid-us","prebid-asia"],v=["USD"],h=[u.Mk,u.B5],T={IMAGE_TYPE:{ICON:1,MAIN:3},ASSET_ID:{TITLE:1,IMAGE:2,ICON:3,BODY:4,SPONSORED:5,CTA:6},DATA_ASSET_TYPE:{SPONSORED:1,DESC:2,CTA_TEXT:12}},S={code:"rtbhouse",supportedMediaTypes:h,gvlid:16,isBidRequestValid:function(e){return!(!(0,p.q9)(m,e.params.region)||!e.params.publisherId)},buildRequests:function(e,r){var i={id:(e=(0,l.lY)(e))[0].auctionId,imp:e.map((function(e){return function(e,r){var i={id:e.bidId,banner:E(e),native:A(e),tagid:e.adUnitCode.toString()},t=function(e){var r=[];"function"==typeof e.getFloor&&Object.keys(e.mediaTypes).forEach((function(i){(0,p.q9)(h,i)&&r.push(e.getFloor({currency:v[0],mediaType:i,size:e.sizes||"*"}).floor)}));return r.length>0?Math.max.apply(Math,r):parseFloat(e.params.bidfloor)}(e);t&&(i.bidfloor=t);if(r.fledgeEnabled){var n,a;i.ext=i.ext||{},i.ext.ae=null==e||null===(n=e.ortb2Imp)||void 0===n||null===(a=n.ext)||void 0===a?void 0:a.ae}else{var s;null!==(s=i.ext)&&void 0!==s&&s.ae&&delete i.ext.ae}var o=(0,d.Z)(e,"ortb2Imp.ext.tid");o&&(i.ext=i.ext||{},i.ext.tid=o);return i}(e,r)})),site:y(e,r),cur:v,test:e[0].params.test||0,source:O(e[0],r)};if(r&&r.gdprConsent&&r.gdprConsent.gdprApplies){var t=r.gdprConsent.consentString?r.gdprConsent.consentString.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):"",a=r.gdprConsent.gdprApplies?1:0;i.regs={ext:{gdpr:a}},i.user={ext:{consent:t}}}if(e[0].schain){var o=function(e){if(!e)return null;if(!function(e){if(!e.nodes)return!1;var r=["asi","sid","hp"];return e.nodes.every((function(e){return r.every((function(r){return e[r]}))}))}(e))return(0,s.H)("RTB House: required schain params missing"),null;return e}(e[0].schain);o&&(i.ext={schain:o})}if(e[0].userIdAsEids){var u={eids:e[0].userIdAsEids};i.user&&i.user.ext?i.user.ext=b(b({},i.user.ext),u):i.user={ext:u}}var c=(null==r?void 0:r.ortb2)||{};["site","user","device","bcat","badv"].forEach((function(e){var r=c[e];r&&(0,s.Ee)(i,(0,n.Z)({},e,r))}));var g="creativecdn.com/bidder/prebid/bids",m=f.vc.getConfig("fledgeConfig");return r.fledgeEnabled&&m&&((0,s.Ee)(i,{ext:{fledge_config:m}}),g="creativecdn.com/bidder/prebidfledge/bids"),{method:"POST",url:"https://"+e[0].params.region+"."+g,data:JSON.stringify(i)}},interpretOrtbResponse:function(e,r){var i=e.body;if(!(0,s.kJ)(i))return[];var t=[];return i.forEach((function(e){var r;e.price&&(r=0===e.adm.indexOf("{")?function(e){return{requestId:e.impid,mediaType:u.B5,cpm:e.price,creativeId:e.adid,width:1,height:1,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD",native:_(e.adm)}}(e):function(e){return{requestId:e.impid,mediaType:u.Mk,cpm:e.price,creativeId:e.adid,ad:e.adm,width:e.w,height:e.h,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD"}}(e),e.ext&&(r.ext=e.ext),t.push(r))})),t},interpretResponse:function(e,r){var i,n,a=e.body,d=null;if(a.bidid&&(0,s.kJ)(null==a||null===(i=a.ext)||void 0===i?void 0:i.igbid)){var o;n=this.interpretOrtbResponse({body:null===(o=a.seatbid[0])||void 0===o?void 0:o.bid},r);var u=a.ext.seller,c=a.ext.decisionLogicUrl,p="sellerTimeout"in a.ext?{sellerTimeout:a.ext.sellerTimeout}:{};a.ext.igbid.forEach((function(e){var r={};e.igbuyer.forEach((function(e){r[e.igdomain]=e.buyersignal})),(d=d||{})[e.impid]=(0,s.Ee)({seller:u,decisionLogicUrl:c,interestGroupBuyers:Object.keys(r),perBuyerSignals:r},p)}))}else n=this.interpretOrtbResponse(e,r);return d?(d=Object.entries(d).map((function(e){var r=(0,t.Z)(e,2),i=r[0],n=r[1];return{bidId:i,config:Object.assign({auctionSignals:{}},n)}})),(0,s.PN)("Response with FLEDGE:",{bids:n,fledgeAuctionConfigs:d}),{bids:n,fledgeAuctionConfigs:d}):n}};function E(e){if("banner"===e.mediaType||(0,d.Z)(e,"mediaTypes.banner")||!e.mediaType&&!e.mediaTypes){var r=e.sizes||e.mediaTypes.banner.sizes;return{w:r[0][0],h:r[0][1],format:r.map((function(e){return{w:e[0],h:e[1]}}))}}}function y(e,r){var i="unknown",t=null;e&&e.length>0&&(i=e[0].params.publisherId,t=e[0].params.channel&&e[0].params.channel.toString().slice(0,50));var n={publisher:{id:i.toString()},page:r.refererInfo.page,name:(0,o.P)()};return t&&(n.channel=t),n}function O(e,r){return{tid:(null==r?void 0:r.auctionId)||""}}function A(e){if("native"===e.mediaType||(0,d.Z)(e,"mediaTypes.native"))return{request:{assets:I(e)},ver:"1.1"}}function I(e){var r=e.nativeParams||(0,d.Z)(e,"mediaTypes.native"),i=[];return r.title&&i.push({id:T.ASSET_ID.TITLE,required:r.title.required?1:0,title:{len:r.title.len||25}}),r.image&&i.push({id:T.ASSET_ID.IMAGE,required:r.image.required?1:0,img:D(r.image,T.IMAGE_TYPE.MAIN)}),r.icon&&i.push({id:T.ASSET_ID.ICON,required:r.icon.required?1:0,img:D(r.icon,T.IMAGE_TYPE.ICON)}),r.sponsoredBy&&i.push({id:T.ASSET_ID.SPONSORED,required:r.sponsoredBy.required?1:0,data:{type:T.DATA_ASSET_TYPE.SPONSORED,len:r.sponsoredBy.len}}),r.body&&i.push({id:T.ASSET_ID.BODY,required:r.body.request?1:0,data:{type:T.DATA_ASSET_TYPE.DESC,len:r.body.len}}),r.cta&&i.push({id:T.ASSET_ID.CTA,required:r.cta.required?1:0,data:{type:T.DATA_ASSET_TYPE.CTA_TEXT,len:r.cta.len}}),i}function D(e,r){var i={type:r};if(e.aspect_ratios){var t=e.aspect_ratios[0],n=t.min_width||100;i.wmin=n,i.hmin=n/t.ratio_width*t.ratio_height}if(e.sizes){var a=Array.isArray(e.sizes[0])?e.sizes[0]:e.sizes;i.w=a[0],i.h=a[1]}return i}function _(e){var r=JSON.parse(e).native,i={clickUrl:encodeURI(r.link.url),impressionTrackers:r.imptrackers};return r.assets.forEach((function(e){switch(e.id){case T.ASSET_ID.TITLE:i.title=e.title.text;break;case T.ASSET_ID.IMAGE:i.image={url:encodeURI(e.img.url),width:e.img.w,height:e.img.h};break;case T.ASSET_ID.ICON:i.icon={url:encodeURI(e.img.url),width:e.img.w,height:e.img.h};break;case T.ASSET_ID.BODY:i.body=e.data.value;break;case T.ASSET_ID.SPONSORED:i.sponsoredBy=e.data.value;break;case T.ASSET_ID.CTA:i.cta=e.data.value}})),i}(0,c.dX)(S),(0,a.z)("rtbhouseBidAdapter")}},function(e){e.O(0,[355],(function(){return r=67,e(e.s=r);var r}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[187],{60:function(e,r,t){var n=t(4942),i=t(3324),o=t(1002),a=t(8640),s=t(4980),d=t(8214),c=t(5339),u=t(3193),p=t(4679),l=t(4614),f=t(5706),m=t(4358),v=t(6475),x=t(265);function y(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function g(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?y(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var b="https://video-outstream.rubiconproject.com/apex-2.2.1.js",h={};u.vc.getConfig("rubicon",(function(e){(0,m.Ee)(h,e.rubicon)}));var _={1:"468x60",2:"728x90",5:"120x90",7:"125x125",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",17:"240x400",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",42:"2x4",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",85:"300x120",90:"548x150",94:"970x310",95:"970x100",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",152:"1000x250",156:"640x320",159:"320x250",179:"250x600",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",221:"1x1",229:"320x180",230:"2000x1400",232:"580x400",234:"6x6",251:"2x2",256:"480x820",257:"400x600",258:"500x200",259:"998x200",261:"480x480",264:"970x1000",265:"1920x1080",274:"1800x200",278:"320x500",282:"320x400",288:"640x380",524:"1x2",548:"500x1000",550:"980x480",552:"300x200",558:"640x640",562:"300x431",564:"320x431",566:"320x300",568:"300x150",570:"300x125",572:"250x350",574:"620x891",576:"610x877",578:"980x552",580:"505x656",622:"192x160"};(0,m.yi)(_,(function(e,r){return _[e]=r}));var j=(0,s.x)({request:function(e,r,t,n){var i,s,d,c=n.bidRequests,p=e(r,t,n);p.cur=["USD"],p.test=u.vc.getConfig("debug")?1:0,(0,v.N)(p,"ext.prebid.cache",{vastxml:{returnCreative:!0===h.returnVast}}),(0,v.N)(p,"ext.prebid.bidders",{rubicon:{integration:h.int_type||"pbjs"}}),(0,v.N)(p,"ext.prebid.targeting.pricegranularity",{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:(d=u.vc).getConfig("customPriceBucket")&&d.getConfig("customPriceBucket").buckets}[d.getConfig("priceGranularity")]});var l=(0,a.R)().installedModules;return!l||l.length&&-1===l.indexOf("rubiconAnalyticsAdapter")||(0,v.N)(p,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),function(e,r){var t,n,i={},o=new Set;r.forEach((function(r){var t,n,a,s,d,c={user:{ext:{data:g({},r.params.visitor)}},site:{ext:{data:g({},r.params.inventory)}}},p=e.imp.find((function(e){var r,t,n,i,o;return null===(r=e.ext)||void 0===r||null===(t=r.prebid)||void 0===t||null===(n=t.bidder)||void 0===n||null===(i=n.rubicon)||void 0===i||null===(o=i.video)||void 0===o?void 0:o.language}));p&&(c.site.content={language:null===(t=p.ext)||void 0===t||null===(n=t.prebid)||void 0===n||null===(a=n.bidder)||void 0===a||null===(s=a.rubicon)||void 0===s||null===(d=s.video)||void 0===d?void 0:d.language});r.params.keywords&&(Array.isArray(r.params.keywords)?r.params.keywords:r.params.keywords.split(",")).forEach((function(e){return o.add(e)}));i=(0,m.Ee)(i,r.ortb2||{},c);var l=u.vc.getConfig("user.id");i.user.id=i.user.id||l})),(0,m.Ee)(e,i),o&&o.size&&(0,v.N)(e,"site.keywords",Array.from(o.values()).join(","));null==e||(null===(t=e.ext)||void 0===t||(null===(n=t.prebid)||void 0===n||delete n.storedrequest))}(p,c),null==p||(null===(i=p.ext)||void 0===i||(null===(s=i.prebid)||void 0===s||delete s.storedrequest)),!0===h.disableFloors&&delete p.ext.prebid.floors,c.filter((function(e){return"object"===(0,o.Z)(e.floorData)})).length>0&&(p.ext.prebid.floors={enabled:!1}),p},imp:function(e,r,t){var n,i,o=C(r);if(!o.includes(p.Mk)||1!=o.length){var a=e(r,t);return a.id=r.adUnitCode,delete a.banner,u.vc.getConfig("s2sConfig.defaultTtl")&&(a.exp=u.vc.getConfig("s2sConfig.defaultTtl")),"atf"===r.params.position&&(a.video.pos=1),"btf"===r.params.position&&(a.video.pos=3),null===(n=a.ext)||void 0===n||(null===(i=n.prebid)||void 0===i||delete i.storedrequest),function(e,r){"USD"!=r.bidfloorcur&&(delete r.bidfloor,delete r.bidfloorcur);if(!r.bidfloor){var t=parseFloat((0,x.Z)(e,"params.floor"));isNaN(t)||(r.bidfloor=t,r.bidfloorcur="USD")}}(r,a),a}},bidResponse:function(e,r,t){var n,o=e(r,t);o.meta.mediaType=(0,x.Z)(r,"ext.prebid.type");var a=t.bidRequest,s="outstream"===(null===(n=a.mediaTypes.video)||void 0===n?void 0:n.context)?A(a,p.pX):[void 0,void 0],d=(0,i.Z)(s,2),c=d[0],u=d[1];return o.width=r.w||c||o.playerWidth,o.height=r.h||u||o.playerHeight,o.mediaType===p.pX&&"outstream"===a.mediaTypes.video.context&&(o.renderer=function(e){var r=f.Th.install({id:e.adId,url:h.rendererUrl||b,config:h.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{r.setRender(w)}catch(e){(0,m.yN)("Prebid Error calling setRender on renderer",e)}return r}(o)),(0,x.Z)(r,"ext.bidder.rp.advid")&&(0,v.N)(o,"meta.advertiserId",r.ext.bidder.rp.advid),o},context:{netRevenue:!1!==h.netRevenue,ttl:300},processors:d.X}),k={code:"rubicon",gvlid:52,supportedMediaTypes:[p.Mk,p.pX,p.B5],isBidRequestValid:function(e){var r=!0;if("object"!==(0,o.Z)(e.params))return!1;for(var t=0,n=["accountId","siteId","zoneId"];t<n.length;t++)if(e.params[n[t]]=parseInt(e.params[n[t]]),isNaN(e.params[n[t]]))return(0,m.H)("Rubicon: wrong format of accountId or siteId or zoneId."),!1;var i=C(e,!0);if(!i.length)return!1;i.includes(p.pX)&&(r=function(e){var r=!0,t=Object.prototype.toString.call([]),n=Object.prototype.toString.call(0),i={mimes:t,protocols:t,linearity:n,api:t};return Object.keys(i).forEach((function(t){Object.prototype.toString.call((0,x.Z)(e,"mediaTypes.video."+t))!==i[t]&&(r=!1,(0,m.H)("Rubicon: mediaTypes.video."+t+" is required and must be of type: "+i[t]))})),r}(e));var a=[p.Mk,p.B5].filter((function(e){return i.includes(e)})).length>0;return a?r&&a:r},buildRequests:function(e,r){var t,n=[],i=[];if((t=e.filter((function(e){var r=C(e)||[],t=r.length,n=e.params||{},i=n.bidonmultiformat,o=n.video;return 1===t&&(r.includes(p.pX)||r.includes(p.B5))||2===t&&!r.includes(p.Mk)||o&&r.includes(p.pX)||i&&(r.includes(p.pX)||r.includes(p.B5))})))&&t.length){var o=j.toORTB({bidRequests:t,bidderRequest:r});i.push({method:"POST",url:"https://".concat(h.videoHost||"prebid-server",".rubiconproject.com/openrtb2/auction"),data:o,bidRequest:t})}var a=e.filter((function(e){var r=C(e)||[],t=e.params||{},n=t.bidonmultiformat,i=t.video;return r.includes(p.Mk)&&(1===r.length||n||!n&&!i||!n&&i&&!r.includes(p.pX))}));if(!0!==u.vc.getConfig("rubicon.singleRequest"))n=i.concat(a.map((function(e){var t=k.createSlotParams(e,r);return{method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:k.getOrderedParams(t).reduce((function(e,r){var n=t[r];return(0,m.d8)(n)&&""!==n||(0,m.hj)(n)?"".concat(e).concat(T(r,n),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var s=a.reduce((function(e,r){return(e[r.params.siteId]=e[r.params.siteId]||[]).push(r),e}),{});n=i.concat(Object.keys(s).reduce((function(e,t){var n,i;return(n=s[t],i=10,n.map((function(e,r){return r%i==0?n.slice(r,r+i):null})).filter((function(e){return e}))).forEach((function(t){var n=k.combineSlotUrlParams(t.map((function(e){return k.createSlotParams(e,r)})));e.push({method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:k.getOrderedParams(n).reduce((function(e,r){var t=n[r];return(0,m.d8)(t)&&""!==t||(0,m.hj)(t)?"".concat(e).concat(T(r,t),"&"):e}),"")+"slots=".concat(t.length,"&rand=").concat(Math.random()),bidRequest:t})})),e}),[]))}return n},getOrderedParams:function(e){var r=/^tg_v/,t=/^tg_i/,n=/^eid_|^tpid_/,i=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","us_privacy","rp_schain"].concat(Object.keys(e).filter((function(e){return n.test(e)}))).concat(["x_liverampidl","ppuid","rf","p_geo.latitude","p_geo.longitude","kw"]).concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(["tk_flint","x_source.tid","l_pb_bid_id","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return i.concat(Object.keys(e).filter((function(e){return-1===i.indexOf(e)})))},combineSlotUrlParams:function(e){if(1===e.length)return e[0];var r=e.reduce((function(r,t,n){return Object.keys(t).forEach((function(i){r.hasOwnProperty(i)||(r[i]=new Array(e.length)),r[i].splice(n,1,t[i])})),r}),{}),t=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(r).forEach((function(e){var n=r[e].join(";"),i=n.match(t);r[e]=i?i[1]:n})),r},createSlotParams:function(e,r){e.startTime=(new Date).getTime();var t=e.params,n=A(e,"banner"),a=t.latLong||[],s=(0,i.Z)(a,2),d=s[0],c=s[1],f={account_id:t.accountId,site_id:t.siteId,zone_id:t.zoneId,size_id:n[0],alt_size_ids:n.slice(1).join(",")||void 0,rp_floor:(t.floor=parseFloat(t.floor))>=.01?t.floor:void 0,rp_secure:"1",tk_flint:"".concat(h.int_type||"pbjs_lite","_v7.52.0"),"x_source.tid":e.transactionId,"x_imp.ext.tid":e.transactionId,l_pb_bid_id:e.bidId,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:t.userId,"p_geo.latitude":isNaN(parseFloat(d))?void 0:parseFloat(d).toFixed(4),"p_geo.longitude":isNaN(parseFloat(c))?void 0:parseFloat(c).toFixed(4),"tg_fl.eid":e.code,rf:O(e,r)};if("function"==typeof e.getFloor&&!h.disableFloors){var v;try{v=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){(0,m.H)("Rubicon: getFloor threw an error: ",e)}f.rp_hard_floor="object"!==(0,o.Z)(v)||"USD"!==v.currency||isNaN(parseInt(v.floor))?void 0:v.floor}var y={1:"atf",3:"btf"}[(0,x.Z)(e,"mediaTypes.banner.pos")]||"";f.p_pos="atf"===t.position||"btf"===t.position?t.position:y;var b=u.vc.getConfig("user.id");return b&&(f.ppuid=b),e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if("adserver.org"===e.source?(f.tpid_tdid=e.uids[0].id,f["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(f["tpid_liveintent.com"]=e.uids[0].id,f["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(f["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?f.x_liverampidl=e.uids[0].id:"id5-sync.com"===e.source?f["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):f["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),!f.ppuid){var r=(0,l.sE)(e.uids,(function(e){return e.ext&&"ppuid"===e.ext.stype}));r&&r.id&&(f.ppuid=r.id)}}catch(r){(0,m.yN)("Rubicon: error reading eid:",e,r)}})),r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(f.gdpr=Number(r.gdprConsent.gdprApplies)),f.gdpr_consent=r.gdprConsent.consentString),r.uspConsent&&(f.us_privacy=encodeURIComponent(r.uspConsent)),f.rp_maxbids=r.bidLimit||1,function(e,r,t){var n={user:{ext:{data:g({},e.params.visitor)}},site:{ext:{data:g({},e.params.inventory)}}};e.params.keywords&&(n.site.keywords=(0,m.kJ)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);var i=(0,m.Ee)({},e.ortb2||{},n),a=(0,x.Z)(e.ortb2Imp,"ext")||{},s=(0,x.Z)(e.ortb2Imp,"ext.data")||{},d=(0,x.Z)(e,"ortb2Imp.ext.gpid"),c={user:[4],site:[1,2,5,6]},u={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},l=function(e,r,t){return"data"===r&&Array.isArray(e)?e.filter((function(e){return e.segment&&(0,x.Z)(e,"ext.segtax")&&c[t]&&-1!==c[t].indexOf((0,x.Z)(e,"ext.segtax"))})).map((function(e){var r=e.segment.filter((function(e){return e.id})).reduce((function(e,r){return e.push(r.id),e}),[]);if(r.length>0)return r.toString()})).toString():("object"!==(0,o.Z)(e)||Array.isArray(e))&&void 0!==e?Array.isArray(e)?e.filter((function(e){if("object"!==(0,o.Z)(e)&&void 0!==e)return e.toString();(0,m.yN)("Rubicon: Filtered value: ",e,"for key",r,": Expected value to be string, integer, or an array of strings/ints")})).toString():e.toString():void 0},f=function(e,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=l(e,n,r),a=u[n]&&i?"".concat(u[n]):"data"===n?"".concat(u[r],"iab"):"".concat(u[r]).concat(n);t[a]=t[a]?t[a].concat(",",o):o};r===p.Mk?(["site","user"].forEach((function(e){Object.keys(i[e]).forEach((function(r){"site"===e&&"content"===r&&i[e][r].data?f(i[e][r].data,e,"data"):"ext"!==r?f(i[e][r],e,r):i[e][r].data&&Object.keys(i[e].ext.data).forEach((function(r){f(i[e].ext.data[r],e,r,!1)}))}))})),Object.keys(s).forEach((function(e){"adserver"!==e?f(s[e],"site",e):"gam"===s[e].name&&f(s[e].adslot,name,e)})),d&&(t.p_gpid=d),t["tg_i.pbadslot"]&&delete t["tg_i.dfp_ad_unit_code"]):(Object.keys(a).length&&(0,m.Ee)(t.imp[0].ext,a),d&&(t.imp[0].ext.gpid=d),(0,m.Ee)(t,i))}(e,p.Mk,f),!0===u.vc.getConfig("coppa")&&(f.coppa=1),e.schain&&S(e.schain)&&(f.rp_schain=k.serializeSupplyChain(e.schain)),f},serializeSupplyChain:function(e){if(!S(e))return"";var r=e.ver,t=e.complete,n=e.nodes;return"".concat(r,",").concat(t,"!").concat(k.serializeSupplyChainNodes(n))},serializeSupplyChainNodes:function(e){var r=["asi","sid","hp","rid","name","domain"];return e.map((function(e){return r.map((function(r){return encodeURIComponent(e[r]||"")})).join(",")})).join("!")},interpretResponse:function(e,r){e=e.body;var t=r.data;if(!e||"object"!==(0,o.Z)(e))return[];if(e.seatbid){var n=(0,x.Z)(e,"ext.errors.rubicon");return Array.isArray(n)&&n.length>0&&(0,m.yN)("Rubicon: Error in video response"),j.fromORTB({request:t,response:e}).bids}var a,s=e.ads,d=0,c=r.bidRequest;return"object"===(0,o.Z)(c)&&!Array.isArray(c)&&C(c).includes(p.pX)&&"object"===(0,o.Z)(s)&&(s=s[c.adUnitCode]),!Array.isArray(s)||s.length<1?[]:s.reduce((function(r,t,n){if(t.impression_id&&a===t.impression_id?d++:a=t.impression_id,"ok"!==t.status)return r;var s,u,l=Array.isArray(c)?c[n-d]:c;if(l&&"object"===(0,o.Z)(l)){var f={requestId:l.bidId,currency:"USD",creativeId:t.creative_id||"".concat(t.network||"","-").concat(t.advertiser||""),cpm:t.cpm||0,dealId:t.deal,ttl:300,netRevenue:!1!==h.netRevenue,rubicon:{advertiserId:t.advertiser,networkId:t.network},meta:{advertiserId:t.advertiser,networkId:t.network,mediaType:p.Mk}};if(t.creative_type&&(f.mediaType=t.creative_type),t.adomain&&(f.meta.advertiserDomains=Array.isArray(t.adomain)?t.adomain:[t.adomain]),t.creative_type===p.pX)f.width=l.params.video.playerWidth,f.height=l.params.video.playerHeight,f.vastUrl=t.creative_depot_url,f.impression_id=t.impression_id,f.videoCacheKey=t.impression_id;else{f.ad=(s=t.script,u=t.impression_id,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='".concat(u,"'>\n<script type='text/javascript'>").concat(s,"<\/script>\n</div>\n</body>\n</html>"));var v=_[t.size_id].split("x").map((function(e){return Number(e)})),x=(0,i.Z)(v,2);f.width=x[0],f.height=x[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.H)("Rubicon: bidRequest undefined at index position:".concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!z&&e.iframeEnabled){var i={};return t&&("boolean"==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),"string"==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?"?".concat((0,m.Yp)(i)):"",z=!0,{type:"iframe",url:"https://".concat(h.syncHost||"eus",".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e,r){return(0,m.uh)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function O(e,r){var t;return t=e.params.referrer?e.params.referrer:r.refererInfo.page,e.params.secure?t.replace(/^http:/i,"https:"):t}function w(e){var r,t=document.getElementById(e.adUnitCode);(r=t.querySelector("div[id^='google_ads']"))&&r.style.setProperty("display","none"),function(e){var r=e.querySelector("script[id^='sas_script']"),t=r&&r.nextSibling;t&&"iframe"===t.localName&&t.style.setProperty("display","none")}(t);var n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||"center",position:n.position||"append"},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,x.Z)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,x.Z)(e,"mediaTypes.banner.sizes")?i=R(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=R(e.sizes):(0,m.yN)("Rubicon: no sizes are setup or found"),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function R(e){return(0,m.sF)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function I(e){var r=void 0!==(0,x.Z)(e,"mediaTypes.".concat(p.pX)),t=void 0!==(0,x.Z)(e,"mediaTypes.".concat(p.Mk)),n=void 0!==(0,x.Z)(e,"params.bidonmultiformat"),i="object"!==(0,o.Z)((0,x.Z)(e,"params.video"));return!(!r||!n)||(t&&i&&(r=!1),r&&i&&(0,v.N)(e,"params.video",{}),r)}function C(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=[];if(I(e)){if(-1===["outstream","instream"].indexOf((0,x.Z)(e,"mediaTypes.".concat(p.pX,".context"))))return r&&(0,m.H)("Rubicon: mediaTypes.video.context must be outstream or instream"),t;if(A(e,p.pX).length<2)return r&&(0,m.H)("Rubicon: could not determine the playerSize of the video"),t;r&&(0,m.ji)("Rubicon: making video request for adUnit",e.adUnitCode),t.push(p.pX)}if(void 0!==(0,x.Z)(e,"mediaTypes.".concat(p.B5))&&t.push(p.B5),void 0!==(0,x.Z)(e,"mediaTypes.".concat(p.Mk))){if(0===A(e,p.Mk).length)return r&&(0,m.H)("Rubicon: could not determine the sizes for banner request"),t;r&&(0,m.ji)("Rubicon: making banner request for adUnit",e.adUnitCode),t.push(p.Mk)}return t}function S(e){var r=!1,t=["asi","sid","hp"];return e.nodes?((r=e.nodes.reduce((function(e,r){return e?t.every((function(e){return r.hasOwnProperty(e)})):e}),!0))||(0,m.H)("Rubicon: required schain params missing"),r):r}function T(e,r){return"rp_schain"===e?"rp_schain=".concat(r):"".concat(e,"=").concat(encodeURIComponent(r))}var z=!1;(0,c.dX)(k),(0,a.z)("rubiconBidAdapter")},6372:function(e,r,t){t.d(r,{DZ:function(){return a},Px:function(){return s},TP:function(){return c},YC:function(){return d},Z:function(){return o},f8:function(){return m},fP:function(){return v},gm:function(){return n},md:function(){return u}});var n=["request","imp","bidResponse","response"],i=["default","pbs"],o=n[0],a=n[1],s=n[2],d=n[3],c=i[0],u=i[1],p=new Set(n);var l,f=(l={},{registerOrtbProcessor:function(e){var r=e.type,t=e.name,i=e.fn,o=e.priority,a=void 0===o?0:o,s=e.dialects,d=void 0===s?[c]:s;if(!p.has(r))throw new Error("ORTB processor type must be one of: ".concat(n.join(", ")));d.forEach((function(e){l.hasOwnProperty(e)||(l[e]={}),l[e].hasOwnProperty(r)||(l[e][r]={}),l[e][r][t]={priority:a,fn:i}}))},getProcessors:function(e){return l[e]||{}}}),m=f.registerOrtbProcessor,v=f.getProcessors}},function(e){e.O(0,[279,951],(function(){return r=60,e(e.s=r);var r}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[238],{3444:function(e,n,t){var r,i=t(4942),a=t(8640),o=t(4358),s=t(5339),p=t(4679),d=t(3193),u=["inScreen","inImage","inArticle","inBanner"],c=(r={},(0,i.Z)(r,p.Mk,"display"),(0,i.Z)(r,p.pX,"video"),r),l="fixed",m="mobile",g="unknown",v=function(){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection||{};switch(e.type||e.effectiveType){case"wifi":case"ethernet":return l;case"cellular":case"wimax":return m;default:return/iPad|iPhone|iPod/.test(navigator.userAgent)||/android/i.test(navigator.userAgent)?g:l}};function f(e){return!!e.mediaTypes&&!!e.mediaTypes.video}function h(e){var n=e.params;return!!n.publisherId&&!!n.adUnitId&&u.indexOf(n.placement)>-1}function y(e){var n=e.params,t=(0,o.HA)(Object.keys(e.mediaTypes),(function(e){return c[e]})),r={id:e.bidId,transactionId:e.transactionId,sizes:e.sizes,supplyTypes:t,adUnitId:n.adUnitId,adUnitCode:e.adUnitCode,placement:n.placement,requestCount:e.bidderRequestsCount||1};return f(e)&&(r.videoParams=b(e)),r}function b(e){var n=e.mediaTypes.video||{};return n.playerSize&&(n.w=n.playerSize[0][0],n.h=n.playerSize[0][1]),n}function S(e){var n,t="display"===(n=e.mediaType)?p.Mk:"video"===n?p.pX:n,r={requestId:e.bidId,cpm:e.price,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:!0,mediaType:t,ttl:e.ttl,nurl:e.nurl,meta:{advertiserDomains:e&&e.adomain&&e.adomain.length>0?e.adomain:[]}};return t===p.pX?r.vastXml=e.content:r.ad=e.content,r}function C(){var e=function(){try{var e=performance.getEntriesByType("navigation")[0];return Math.round(e.responseStart-e.startTime)}catch(e){try{var n=performance.timing;return Math.round(n.responseStart-n.fetchStart)}catch(e){return 0}}}();return e>=0&&e<=performance.now()?e:0}var I={code:"seedtag",gvlid:157,aliases:["st"],supportedMediaTypes:[p.Mk,p.pX],isBidRequestValid:function(e){return f(e)?function(e){var n=b(e),t=!!e.params.publisherId&&!!e.params.adUnitId&&f(e)&&!!n.playerSize&&(0,o.kJ)(n.playerSize)&&n.playerSize.length>0;return"inStream"===e.params.placement?t&&"instream"===n.context:t&&"outstream"===n.context&&function(e){return!!e.mediaTypes&&!!e.mediaTypes.banner}(e)&&h(e)}(e):h(e)},buildRequests:function(e,n){var t,r,i={url:n.refererInfo.page,publisherToken:e[0].params.publisherId,cmp:!!n.gdprConsent,timeout:n.timeout,version:"7.52.0",connectionType:v(),auctionStart:n.auctionStart||Date.now(),ttfb:C(),bidRequests:(0,o.HA)(e,y)};if(i.cmp){var a=n.gdprConsent.gdprApplies;void 0!==a&&(i.ga=a),i.cd=n.gdprConsent.consentString}n.uspConsent&&(i.uspConsent=n.uspConsent),e[0].schain&&(i.schain=e[0].schain);var s=d.vc.getConfig("coppa");return s&&(i.coppa=s),n.gppConsent?i.gppConsent={gppString:n.gppConsent.gppString,applicableSections:n.gppConsent.applicableSections}:null!==(t=n.ortb2)&&void 0!==t&&null!==(r=t.regs)&&void 0!==r&&r.gpp&&(i.gppConsent={gppString:n.ortb2.regs.gpp,applicableSections:n.ortb2.regs.gpp_sid}),{method:"POST",url:"https://s.seedtag.com/c/hb/bid",data:JSON.stringify(i)}},interpretResponse:function(e){var n=e.body;return n&&n.bids&&(0,o.kJ)(n.bids)?(0,o.HA)(n.bids,(function(e){return S(e)})):[]},getUserSyncs:function(e,n){var t=n[0];if(e.iframeEnabled&&t){var r=t.body.cookieSync;return r?[{type:"iframe",url:r}]:[]}return[]},onTimeout:function(e){var n=function(e){var n="";if((0,o.kJ)(e)&&e[0]&&(0,o.kJ)(e[0].params)&&e[0].params[0]){var t=e[0].params[0],r=e[0].timeout;n="?publisherToken="+t.publisherId+"&adUnitId="+t.adUnitId+"&timeout="+r}return"https://s.seedtag.com/se/hb/timeout"+n}(e);(0,o.hq)(n)},onBidWon:function(e){e&&e.nurl&&(0,o.hq)(e.nurl)}};(0,s.dX)(I),(0,a.z)("seedtagBidAdapter")}},function(e){var n;n=3444,e(e.s=n)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[215],{3522:function(e,r,a){var t=a(8640),i=a(265),o=a(4358),d=a(4679),n=a(3193),s=a(5339),p={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.pageId&&e.params.formatId)},serializeSupplyChain:function(e){if(!e||!e.nodes)return null;var r=["asi","sid","hp","rid","name","domain"];return"".concat(e.ver,",").concat(e.complete,"!")+e.nodes.map((function(e){return r.map((function(r){return e[r]?encodeURIComponent(e[r]):""})).join(",")})).join("!")},adaptBannerSizes:function(e){return e.map((function(e){return{w:e[0],h:e[1]}}))},fillPayloadForVideoBidRequest:function(e,r,a){var t=r.playerSize[0];e.isVideo="instream"===r.context,e.mediaType=d.pX,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(r,a),playerWidth:t[0],playerHeight:t[1],adBreak:this.getStartDelayForVideoBidRequest(r,a)}},getProtocolForVideoBidRequest:function(e,r){return void 0!==r&&r.protocol?r.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,r){if(void 0!==r&&r.startDelay)return r.startDelay;if(void 0!==e){if(0==e.startdelay)return 1;if(-1==e.startdelay)return 2;if(-2==e.startdelay)return 3}return 2},createServerRequest:function(e,r){return{method:"POST",url:(void 0!==r?r:"https://prg.smartadserver.com")+"/prebid/v1",data:JSON.stringify(e)}},buildRequests:function(e,r){var a=n.vc.getConfig("currency.adServerCurrency"),t=(0,i.Z)(r,"ortb2.user.data",n.vc.getAnyConfig("ortb2.user.data")),s=(0,i.Z)(r,"ortb2.site.content.data",n.vc.getAnyConfig("ortb2.site.content.data"));return e.reduce((function(e,u){var l={siteid:u.params.siteId,pageid:u.params.pageId,formatid:u.params.formatId,currencyCode:a,targeting:u.params.target&&""!==u.params.target?u.params.target:void 0,buid:u.params.buId&&""!==u.params.buId?u.params.buId:void 0,appname:u.params.appName&&""!==u.params.appName?u.params.appName:void 0,ckid:u.params.ckId||0,tagId:u.adUnitCode,pageDomain:r&&r.refererInfo&&r.refererInfo.page?r.refererInfo.page:void 0,transactionId:u.transactionId,timeout:n.vc.getConfig("bidderTimeout"),bidId:u.bidId,prebidVersion:"7.52.0",schain:p.serializeSupplyChain(u.schain),sda:t,sdc:s},c=(0,i.Z)(u,"ortb2Imp.ext.gpid",(0,i.Z)(u,"ortb2Imp.ext.data.pbadslot",""));c&&(l.gpid=c),r&&(r.gdprConsent&&(l.addtl_consent=r.gdprConsent.addtlConsent,l.gdpr_consent=r.gdprConsent.consentString,l.gdpr=r.gdprConsent.gdprApplies),r.gppConsent&&(l.gpp=r.gppConsent.gppString,l.gpp_sid=r.gppConsent.applicableSections),r.uspConsent&&(l.us_privacy=r.uspConsent)),u&&u.userIdAsEids&&(l.eids=u.userIdAsEids),r&&r.uspConsent&&(l.us_privacy=r.uspConsent);var m=(0,i.Z)(u,"mediaTypes.banner"),f=(0,i.Z)(u,"mediaTypes.video"),g=f&&("instream"===f.context||"outstream"===f.context);if(m||g){var v;if(m){if(v=d.Mk,l.sizes=p.adaptBannerSizes(m.sizes),g){var y=(0,o.I8)(l);p.fillPayloadForVideoBidRequest(y,f,u.params.video),y.bidfloor=u.params.bidfloor||p.getBidFloor(u,a,d.pX),e.push(p.createServerRequest(y,u.params.domain))}}else v=d.pX,p.fillPayloadForVideoBidRequest(l,f,u.params.video);l.bidfloor=u.params.bidfloor||p.getBidFloor(u,a,v),e.push(p.createServerRequest(l,u.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,r){var a=[],t=e.body;try{if(t&&!t.isNoAd&&(t.ad||t.adUrl)){var i=JSON.parse(r.data),n={requestId:i.bidId,cpm:t.cpm,width:t.width,height:t.height,creativeId:t.creativeId,dealId:t.dealId,currency:t.currency,netRevenue:t.isNetCpm,ttl:t.ttl,dspPixels:t.dspPixels,meta:{advertiserDomains:t.adomain?t.adomain:[]}};i.mediaType===d.pX?(n.mediaType=d.pX,n.vastUrl=t.adUrl,n.vastXml=t.ad,n.content=t.ad):(n.adUrl=t.adUrl,n.ad=t.ad),a.push(n)}}catch(e){(0,o.H)("Error while parsing smart server response",e)}return a},getBidFloor:function(e,r,a){if(!(0,o.LQ)(e.getFloor))return 0;var t=e.getFloor({currency:r||"USD",mediaType:a,size:"*"});return(0,o.PO)(t)&&!isNaN(t.floor)?t.floor:0},getUserSyncs:function(e,r){var a=[];return e.iframeEnabled&&r.length>0&&null!=r[0].body.cSyncUrl?a.push({type:"iframe",url:r[0].body.cSyncUrl}):e.pixelEnabled&&r.length>0&&void 0!==r[0].body.dspPixels&&r[0].body.dspPixels.forEach((function(e){a.push({type:"image",url:e})})),a}};(0,s.dX)(p),(0,t.z)("smartadserverBidAdapter")}},function(e){var r;r=3522,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[889],{9518:function(e,r,t){var n=t(8640),a=t(4358),i=t(5706),d=t(3193),s=t(5339),o=t(4679),p={code:"smilewanted",aliases:["smile","sw"],supportedMediaTypes:[o.Mk,o.pX],isBidRequestValid:function(e){return!(!e.params||!e.params.zoneId)},buildRequests:function(e,r){return e.map((function(e){var t={zoneId:e.params.zoneId,currencyCode:d.vc.getConfig("currency.adServerCurrency")||"EUR",tagId:e.adUnitCode,sizes:e.sizes.map((function(e){return{w:e[0],h:e[1]}})),transactionId:e.transactionId,timeout:d.vc.getConfig("bidderTimeout"),bidId:e.bidId,positionType:e.params.positionType||"",prebidVersion:"7.52.0"},n=function(e){if((0,a.LQ)(e.getFloor)){var r=e.getFloor({currency:"USD",mediaType:"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});if((0,a.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return parseFloat(r.floor)}return null}(e);return n&&(t.bidfloor=n),e.params.bidfloor&&(t.bidfloor=e.params.bidfloor),r&&r.refererInfo&&(t.pageDomain=r.refererInfo.page||""),r&&r.gdprConsent&&(t.gdpr_consent=r.gdprConsent.consentString,t.gdpr=r.gdprConsent.gdprApplies),e&&e.userIdAsEids&&(t.eids=e.userIdAsEids),{method:"POST",url:"https://prebid.smilewanted.com",data:JSON.stringify(t)}}))},interpretResponse:function(e,r){var t=[],n=e.body;try{if(n){var d=n.dealId||"",s={requestId:JSON.parse(r.data).bidId,cpm:n.cpm,width:n.width,height:n.height,creativeId:n.creativeId,dealId:n.dealId,currency:n.currency,netRevenue:n.isNetCpm,ttl:n.ttl,ad:n.ad};"video_instream"!=n.formatTypeSw&&"video_outstream"!=n.formatTypeSw||(s.mediaType="video",s.vastUrl=n.ad,s.ad=null),"video_outstream"==n.formatTypeSw&&(s.renderer=function(e,r){var t=i.Th.install({id:e.bidId,url:r.OustreamTemplateUrl,loaded:!1});try{t.setRender(c)}catch(e){(0,a.yN)("Prebid Error calling setRender on newRenderer",e)}return t}(JSON.parse(r.data),n)),d.length>0&&(s.dealId=d),s.meta={},n.meta&&n.meta.advertiserDomains&&(0,a.kJ)(n.meta.advertiserDomains)&&(s.meta.advertiserDomains=n.meta.advertiserDomains),t.push(s)}}catch(e){(0,a.H)("Error while parsing smilewanted response",e)}return t},getUserSyncs:function(e,r,t,n){var a="";t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?a+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):a+="?gdpr_consent=".concat(t.consentString)),n&&(a+="".concat(a?"&":"?","us_privacy=").concat(encodeURIComponent(n)));var i=[];return e.iframeEnabled&&i.push({type:"iframe",url:"https://csync.smilewanted.com"+a}),i}};function c(e){e.renderer.push((function(){window.SmileWantedOutStreamInit({width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode})}))}(0,s.dX)(p),(0,n.z)("smilewantedBidAdapter")}},function(e){var r;r=9518,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[392],{6877:function(e,r,n){var i=n(8640),d=n(5339),t=n(4679),s={supportedMediaTypes:[t.Mk],code:"uolbidder",isBidRequestValid:function(e){return void 0!==e.params&&!!(e.params.placementId&&e.sizes&&Array.isArray(e.sizes)&&Array.isArray(e.sizes[0]))},buildRequests:function(e,r){return{url:"https://prebid.uol.com.br/openrtb2/auction",method:"POST",data:a(e,r)}},interpretResponse:function(e,r){var n=[];e.body.noBid||e.body.bidderResponses.forEach((function(e){n.push(e)}));return n}};(0,d.dX)(s);var a=function(e,r){var n=r.bidderRequestId,i=u(e),d=r.ortb2.site,t=r.ortb2.device,s=o(e);return{id:"".concat(n),cur:["BRL"],imp:i,site:d,device:t,user:s,ext:{prebid:{debug:!1,targeting:{includewinners:!0,includebidderkeys:!1},channel:{name:"pbjs",version:"7.52.0"}}}}},u=function(e){for(var r=[],n=0;n<e.length;n++){var i=e[n],d={};d.id=i.adUnitCode,d.secure=1,d.tid=i.ortb2Imp.ext.tid,d.bidId=i.bidId,d.ext={data:{pbadslot:i.adUnitCode},prebid:{tagId:parseInt(i.params.placementId),adunitcode:i.adUnitCode}},d.banner={},d.banner.w=i.sizes[0][0],d.banner.h=i.sizes[0][1];var t=i.sizes.map((function(e){return{w:e[0],h:e[1]}}));d.banner.format=t,r.push(d)}return r},o=function(e){if(e[0].userId&&e[0].userIdAsEids){var r=[];return e[0].userIdAsEids.forEach((function(e){r.push(e)})),{ext:{eids:r}}}return{}};(0,i.z)("uolBidAdapter")}},function(e){var r;r=6877,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[690],{2547:function(e,t,n){var r=n(1002),o=n(8640),i=n(4614),a=n(3193),c=n(2021),u=n(4633),s=n(5644),d=n(2797),f=n(4358),l=n(265),g={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,f.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},pairId:{source:"google.com",atype:571187},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,f.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},bidswitch:{source:"bidswitch.net",atype:3,getValue:function(e){return e.id}},medianet:{source:"media.net",atype:3,getValue:function(e){return e.id}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function p(e,t){var n=g[t];if(n&&e){var r={};r.source=(0,f.LQ)(n.getSource)?n.getSource(e):n.source;var o=(0,f.LQ)(n.getValue)?n.getValue(e):e;if((0,f.d8)(o)){var i={id:o,atype:n.atype};if((0,f.LQ)(n.getUidExt)){var a=n.getUidExt(e);a&&(i.ext=a)}if(r.uids=[i],(0,f.LQ)(n.getEidExt)){var c=n.getEidExt(e);c&&(r.ext=c)}return r}}return null}function m(e){var t=[],n=function(n){if(e.hasOwnProperty(n))if("pubProvidedId"===n)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[n]))e[n].forEach((function(e,r,o){var i=p(e,n);i&&t.push(i)}));else{var r=p(e[n],n);r&&t.push(r)}};for(var r in e)n(r);return t}var y,v,h,b,I,w,O=n(5164),k=n(6475),D=n(7563),E=n(8792),j=n(7673),P=n(6372),S=n(9128),x=n(8196),A=n(2513),N=n(9633),U=n(571),C=n(4947),L=n(286),T="User ID",V=O.c$,_=O.Dp,R="_pbjs_userid_consent_data",q=30,Z="_pbjs_id_optout",H=(0,O.eA)("userId"),F={isAllowed:U.xD},z=!1,J=[],M=[],G=[],Q=function(){return null==w&&(w=(0,S.V6)()),w};function B(e){return Q().fork().renameWith((function(t){return["userId.mod.".concat(t),"userId.mods.".concat(e,".").concat(t)]}))}function W(e,t){t=t||e.storageMgr;var n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,r=e.config.storage.name;return function(e,o,i){t.setCookie(r+(e||""),o,i,"Lax",n)}}function K(e,t){var n=e.config.storage,r=e.storageMgr;try{var o=new Date(Date.now()+864e5*n.expires).toUTCString(),i=(0,f.PO)(t)?JSON.stringify(t):t;if(n.type===V){var a=W(e);a(null,i,o),"number"==typeof n.refreshInSeconds&&a("_last",(new Date).toUTCString(),o)}else n.type===_&&(r.setDataInLocalStorage("".concat(n.name,"_exp"),o),r.setDataInLocalStorage(n.name,encodeURIComponent(i)),"number"==typeof n.refreshInSeconds&&r.setDataInLocalStorage("".concat(n.name,"_last"),(new Date).toUTCString()))}catch(e){(0,f.H)(e)}}function Y(e){var t,n,r,o;switch(null===(t=e.config)||void 0===t||null===(n=t.storage)||void 0===n?void 0:n.type){case V:var i=W(e,H),a=new Date(Date.now()-864e5).toUTCString();r=function(e){return i(e,"",a)},o=["","_last"];break;case _:r=function(t){return H.removeDataFromLocalStorage(e.config.storage.name+t)},o=["","_last","_exp"]}r&&o.forEach((function(e){try{r(e)}catch(e){(0,f.H)(e)}}))}function $(e){var t=(0,f.EE)().setEidPermissions;"function"==typeof t&&(0,f.kJ)(e)&&t(function(e){var t=[];return e.filter((function(e){return(0,f.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(n){(0,l.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,l.Z)(g,n+".source")&&t.push({source:g[n].source,bidders:e.config.bidders})}))})),t}(e))}function X(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=e.storageMgr,o=e.config.storage,i=n?"".concat(o.name,"_").concat(n):o.name;try{if(o.type===V)t=r.getCookie(i);else if(o.type===_){var a=r.getDataFromLocalStorage("".concat(o.name,"_exp"));""===a?t=r.getDataFromLocalStorage(i):a&&new Date(a).getTime()-Date.now()>0&&(t=decodeURIComponent(r.getDataFromLocalStorage(i)))}"string"==typeof t&&"{"===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){(0,f.H)(e)}return t}function ee(e){var t={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),(0,f._R)(JSON.stringify(t))}function te(e){try{var t=new Date(Date.now()+864e5*q).toUTCString();H.setCookie(R,ee(e),t,"Lax")}catch(e){(0,f.H)(e)}}function ne(){try{return H.getCookie(R)}catch(e){(0,f.H)(e)}}function re(e,t){t=Q().fork().startTiming("userId.callbacks.total").stopBefore(t);var n=(0,f.yx)((function(){clearTimeout(undefined),t()}),e.length);e.forEach((function(e){var t=B(e.submodule.name).startTiming("callback").stopBefore(n);try{e.callback((function(n){n?(e.config.storage&&K(e,n),e.idObj=e.submodule.decode(n,e.config),Ie(e.idObj)):(0,f.PN)("".concat(T,": ").concat(e.submodule.name," - request id responded with an empty value")),t()}),X.bind(null,e))}catch(n){(0,f.H)("Error in userID module '".concat(e.submodule.name,"':"),n),t()}e.callback=void 0}))}function oe(e,t){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,f.kJ)(e.bids)&&e.bids.forEach((function(e){var n=function(e,t){return Array.isArray(e)&&e.length&&t?e.filter((function(e){return!e.config.bidders||!(0,f.kJ)(e.config.bidders)||(0,i.q9)(e.config.bidders,t)})).filter((function(e){return(0,f.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,t){return Object.keys(t.idObj).forEach((function(n){e[n]=t.idObj[n]})),e}),{}):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=m(n))}))}))}var ie,ae={};function ce(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.delay,o=void 0===r?E.Z.timeout:r,i=(0,E.P)(),a=(0,E.P)(),l=!1;function g(n){return t=Q().fork(),null!=e&&e.reject(ae),e=(0,E.P)(),E.Z.race([n,e.promise]).finally(t.startTiming("userId.total"))}var p=y,m=J;function b(e){return function(){if(p===y&&m===J)return e.apply(void 0,arguments)}}function I(){return u.rp.promise.finally(t.startTiming("userId.init.gdpr"))}var w=g(E.Z.all([d.Cd,i.promise]).then(I).then(b((function(e){we(p,m,e)}))).then((function(){return a.promise.finally(t.startTiming("userId.callbacks.pending"))})).then(b((function(){var e=p.filter((function(e){return(0,f.LQ)(e.callback)}));if(e.length)return new E.Z((function(t){return re(e,t)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refresh,n=void 0!==t&&t,r=e.submoduleNames,u=void 0===r?null:r,d=e.ready,f=void 0!==d&&d;return f&&!l&&(l=!0,i.resolve(),h>0?a.resolve():c.on(s.FP.AUCTION_END,(function e(){c.S1(s.FP.AUCTION_END,e),o(v).then(a.resolve)}))),n&&l&&(w=g(w.catch((function(){return null})).then(I).then(b((function(e){var t=we(p,m.filter((function(e){return null==u||u.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(t.length)return new E.Z((function(e){return re(t,e)}))}))))),w}}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe()||[],t=b&&e.find((function(e){return e.source===b}));if(t&&"string"==typeof(0,l.Z)(t,"uids.0.id")){var n=t.uids[0].id.replace(/[\W_]/g,"");if(n.length>=32&&n.length<=150)return n;(0,f.yN)("User ID - Googletag Publisher Provided ID for ".concat(b," is not between 32 and 150 characters - ").concat(n))}}var se=(0,S.g3)("userId",(function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.delay,a=void 0===i?E.Z.timeout:i,c=r.getIds,u=void 0===c?ve:c;E.Z.race([u().catch((function(){return null})),a(h)]).then((function(){oe(t.adUnits||(0,o.R)().adUnits,y),Q().join((0,S.Bf)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(n,t)}))}));function de(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,f.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,t){return Object.keys(t.idObj).forEach((function(n){e[n]=t.idObj[n]})),e}),{}):{}}(y)}function fe(){return m(de())}function le(e){return m(function(e,t){if(!Array.isArray(e)||!e.length)return{};var n=e.filter((function(e){var n;return(0,f.PO)(e.idObj)&&Object.keys(e.idObj).length&&(null===(n=g[Object.keys(e.idObj)[0]])||void 0===n?void 0:n.source)===t}));return(0,f.xb)(n)?[]:n[0].idObj}(y,e))[0]}function ge(e,t,n){return ie().then((function(){var r={};if((0,f.LQ)(n)){(0,f.PN)("".concat(T," - Getting encrypted signal from custom function : ").concat(n.name," & source : ").concat(e," "));var o=n(e);r[e]=o?pe(o):null}else{var i=le(e);(0,f.PN)("".concat(T," - Getting encrypted signal for eids :").concat(JSON.stringify(i))),(0,f.xb)(i)||(r[i.source]=!0===t?pe(i):i.uids[0].id)}return(0,f.PN)("".concat(T," - Fetching encrypted eids: ").concat(r[e])),r[e]}))}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n="";if(1===t)n="object"===(0,r.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return"".concat(t,"||").concat(n)}function me(){if((0,f.T9)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=a.vc.getConfig("userSync.encryptedSignalSources");if(e){var t=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var t=e.source,n=e.encrypt,r=e.customFunc;t.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return ge(e,n,r)}})}))}))}),t)}else(0,f.yN)("".concat(T," - ESP : encryptedSignalSources config not defined under userSync Object"))}}function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.submoduleNames,n=arguments.length>1?arguments[1]:void 0;return ie({refresh:!0,submoduleNames:t}).then((function(){return n&&(0,f.LQ)(n)&&n(),de()}))}function ve(){return ie().then((function(){return de()}),(function(e){return e===ae?Promise.resolve().then(ve):((0,f.H)("Error initializing userId",e),E.Z.reject(e))}))}var he=(0,d.z3)("sync",(function(e,t){return{userIdModules:e,hasValidated:t&&t.hasValidated}}),"validateGdprEnforcement");function be(e,t,n,r){if(e.config.storage){var o,i=X(e),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var c=new Date(X(e,"last"));a=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||r||!function(e,t){return null!=e&&e===ee(t)}(n,t)?o=e.submodule.getId(e.config,t,i):"function"==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,t,i)),(0,f.PO)(o)&&(o.id&&(K(e,o.id),i=o.id),"function"==typeof o.callback&&(e.callback=o.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,t,void 0);(0,f.PO)(u)&&("function"==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}Ie(e.idObj)}function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:de();if(e&&b){var t=ue(m(e));t&&((0,f.T9)()?window.googletag.pubads().setPublisherProvidedId(t):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(t)}))))}}function we(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Q().fork().measureTime("userId.init.modules",(function(){if(!t.length)return[];if(!(t=t.filter((function(e){return(!e.config.storage||De(e))&&F.isAllowed(C.EL,(0,L.T)(N.y2,e.config.name))}))).length)return(0,f.yN)("".concat(T," - no ID module configured")),[];var o=he(t,n),i=o.userIdModules;if(!o.hasValidated&&!(0,j.h)(n))return(0,f.yN)("".concat(T," - gdpr permission not valid for local storage or cookies, exit module")),[];var a=ne();te(n);var c=i.reduce((function(e,t){return B(t.submodule.name).measureTime("init",(function(){try{be(t,n,a,r),e.push(t)}catch(e){(0,f.H)("Error in userID module '".concat(t.submodule.name,"':"),e)}return e}))}),[]);return c.length&&$(c),c.forEach(Oe.bind(null,e)),c}))}function Oe(e,t){for(var n=!1,r=0;r<e.length;r++)if(t.config.name.toLowerCase()===e[r].config.name.toLowerCase()){n=!0,e[r]=t;break}n||e.push(t)}var ke=new Set([_,V]);function De(e){var t,n;switch(null===(t=e.config)||void 0===t||null===(n=t.storage)||void 0===n?void 0:n.type){case _:if(e.storageMgr.localStorageIsEnabled())return!H.getDataFromLocalStorage(Z)||((0,f.PN)("".concat(T," - opt-out localStorage found, storage disabled")),!1);break;case V:if(e.storageMgr.cookiesAreEnabled())return!H.getCookie(Z)||((0,f.PN)("".concat(T," - opt-out cookie found, storage disabled")),!1)}return!1}function Ee(){var e=function(e,t){return Array.isArray(e)?e.reduce((function(e,t){return!t||(0,f.jH)(t.name)||(t.storage&&!(0,f.jH)(t.storage.type)&&!(0,f.jH)(t.storage.name)&&ke.has(t.storage.type)||(0,f.PO)(t.value)?e.push(t):t.storage||t.value||e.push(t)),e}),[]):[]}(M);if(e.length){var t=G.filter((function(e){return!(0,i.sE)(J,(function(t){return t.name===e.name}))}));J.splice(0,J.length),t.map((function(t){var n=(0,i.sE)(e,(function(e){return e.name&&(e.name.toLowerCase()===t.name.toLowerCase()||t.aliasName&&e.name.toLowerCase()===t.aliasName.toLowerCase())}));return n&&t.name!==n.name&&(n.name=t.name),t.findRootDomain=x.W,n?{submodule:t,config:n,callback:void 0,idObj:void 0,storageMgr:(0,O.df)({moduleType:N.y2,moduleName:n.name})}:null})).filter((function(e){return null!==e})).forEach((function(e){return J.push(e)})),!z&&J.length&&((0,o.R)().requestBids.before(se,40),u.ZP.callDataDeletionRequest.before(je),D.G.after((function(e){return e(ue())})),(0,f.PN)("".concat(T," - usersync config updated for ").concat(J.length," submodules: "),J.map((function(e){return e.submodule.name}))),z=!0)}}function je(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,f.PN)("UserID: received data deletion request; deleting all stored IDs..."),J.forEach((function(e){if("function"==typeof e.submodule.onDataDeletionRequest)try{var t;(t=e.submodule).onDataDeletionRequest.apply(t,[e.config,e.idObj].concat(n))}catch(t){(0,f.H)("Error calling onDataDeletionRequest for ID submodule ".concat(e.submodule.name),t)}Y(e)})),e.apply(this,n)}function Pe(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.delay,r=void 0===n?E.Z.timeout:n;b=void 0,J=[],M=[],z=!1,y=[],ie=ce({delay:r}),null!=I&&I(),G=[],I=e.getConfig("userSync",(function(e){var t=e.userSync;b=t.ppid,t&&t.userIds&&(M=t.userIds,v=(0,f.hj)(t.syncDelay)?t.syncDelay:500,h=(0,f.hj)(t.auctionDelay)?t.auctionDelay:0,Ee(),ie({ready:!0}))})),(0,o.R)().getUserIds=de,(0,o.R)().getUserIdsAsEids=fe,(0,o.R)().getEncryptedEidsForSource=Pe(ge),(0,o.R)().registerSignalSources=me,(0,o.R)().refreshUserIds=Pe(ye),(0,o.R)().getUserIdsAsync=Pe(ve),(0,o.R)().getUserIdsAsEidBySource=le}(a.vc),(0,d.bA)("userId",(function(e){(0,i.sE)(G,(function(t){return t.name===e.name}))||(G.push(e),A.qh.register(N.y2,e.name,e.gvlid),Ee(),ie({refresh:!0,submoduleNames:[e.name]}))})),(0,P.f8)({type:P.Z,name:"userExtEids",fn:function(e,t,n){var r=(0,l.Z)(n,"bidRequests.0.userIdAsEids");r&&Object.keys(r).length>0&&(0,k.N)(e,"user.ext.eids",r)}}),(0,o.z)("userId")},7563:function(e,t,n){n.d(t,{G:function(){return r}});var r=(0,n(2797).z3)("sync",(function(){}))},6372:function(e,t,n){n.d(t,{DZ:function(){return a},Px:function(){return c},TP:function(){return s},YC:function(){return u},Z:function(){return i},f8:function(){return p},fP:function(){return m},gm:function(){return r},md:function(){return d}});var r=["request","imp","bidResponse","response"],o=["default","pbs"],i=r[0],a=r[1],c=r[2],u=r[3],s=o[0],d=o[1],f=new Set(r);var l,g=(l={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,i=e.priority,a=void 0===i?0:i,c=e.dialects,u=void 0===c?[s]:c;if(!f.has(t))throw new Error("ORTB processor type must be one of: ".concat(r.join(", ")));u.forEach((function(e){l.hasOwnProperty(e)||(l[e]={}),l[e].hasOwnProperty(t)||(l[e][t]={}),l[e][t][n]={priority:a,fn:o}}))},getProcessors:function(e){return l[e]||{}}}),p=g.registerOrtbProcessor,m=g.getProcessors},7673:function(e,t,n){n.d(t,{h:function(){return o}});var r=n(265);function o(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,"vendorData.purpose.consents.1")}}},function(e){var t;t=2547,e(e.s=t)}]); })(),pbjs.processQueue();