N
Luxe Celebrity Review

How to Get to Church of Inhibition and Avoid Madness in Elden Ring

Author

Andrew Mccoy

Updated on April 02, 2026

/* prebid.js v6.16.0 Updated : 2022-03-24*/ !function(e){var t=window.pbjsChunk;window.pbjsChunk=function(n,o,a){for(var c,u,d,s=0,f=[];s>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){if(t&&t[e])return t[e];return""},t.tryAppendQueryString=function(e,t,n){if(n)return e+t+"="+encodeURIComponent(n)+"&";return e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t=t.replace(/&$/,"")},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?ae(e).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(ce(e,t)))})).join("&"):""},t.getAdUnitSizes=function(e){if(!e)return;var t=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var n=e.mediaTypes.banner.sizes;Array.isArray(n[0])?t=n:t.push(n)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes));return t},t.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)$(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===p(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(R(e));else for(var a=0;a';return n+=''},t.createTrackPixelIframeHtml=ne,t.getValueString=re,t.uniques=ie,t.flatten=oe,t.getBidRequest=function(e,t){if(!e)return;var n;return t.some((function(t){var r=Object(a.b)(t.bids,(function(t){return["bidId","adId","bid_id"].some((function(n){return t[n]===e}))}));return r&&(n=r),r})),n},t.getKeys=ae,t.getValue=ce,t.getKeyByValue=function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return n},t.getBidderCodes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;return e.map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(oe,[])})).reduce(oe,[]).filter(ie)},t.isGptPubadsDefined=ue,t.isApnGetTagDefined=function(){if(window.apntag&&V(window.apntag.getTag))return!0},n.d(t,"getHighestCpm",(function(){return de})),n.d(t,"getOldestHighestCpmBid",(function(){return se})),n.d(t,"getLatestHighestCpmBid",(function(){return fe})),t.shuffle=function(e){var t=e.length;for(;t>0;){var n=Math.floor(Math.random()*t);t--;var r=e[t];e[t]=e[n],e[n]=r}return e},t.adUnitsFilter=function(e,t){return Object(a.d)(e,t&&t.adUnitCode)},t.deepClone=be,t.inIframe=function(){try{return T.getWindowSelf()!==T.getWindowTop()}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.replaceClickThrough=function(e,t){if(!e||!t||"string"!=typeof t)return;return e.replace(/\${CLICKTHROUGH}/g,t)},t.timestamp=function(){return(new Date).getTime()},t.getPerformanceNow=function(){return window.performance&&window.performance.now&&window.performance.now()||0},t.hasDeviceAccess=function(){return!1!==r.b.getConfig("deviceAccess")},t.checkCookieSupport=ge,t.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));var n=0;return function(){++n===t&&e.apply(this,arguments)}},t.groupBy=function(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})},t.getDefinedParams=function(e,t){return t.filter((function(t){return e[t]})).reduce((function(t,n){return g(t,b({},n,e[n]))}),{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every((function(e){return Object(a.d)(t,e)})))return!1;if(e.video&&e.video.context)return Object(a.d)(["instream","outstream","adpod"],e.video.context);return!0},t.getUserConfiguredParams=function(e,t,n){return e.filter((function(e){return e.code===t})).map((function(e){return e.bids})).reduce(oe,[]).filter((function(e){return e.bidder===n})).map((function(e){return e.params||{}}))},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},t.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return pe(e,t)}},t.isSlotMatchingAdUnitCode=ve,t.getGptSlotInfoForAdUnitCode=function(e){var t;ue()&&(t=Object(a.b)(window.googletag.pubads().getSlots(),ve(e)));if(t)return{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()};return{}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(n," ad unit\n containing bidders that don't support ").concat(n,": ").concat(t,".\n This bidder won't fetch demand.\n ")},t.isInteger=ye,t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},t.cleanObj=function(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})},t.pick=function(e,t){if("object"!==p(e))return{};return t.reduce((function(n,r,i){if("function"==typeof r)return n;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var c=e[r];return"function"==typeof t[i+1]&&(c=t[i+1](c,n)),void 0!==c&&(n[o]=c),n}),{})},t.transformBidderParamKeywords=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",n=[];return Q(e,(function(e,r){if(H(e)){var i=[];Q(e,(function(e){((e=re(t+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!z(e=re(t+"."+r,e)))return;e=[e]}n.push({key:r,value:e})})),n},t.convertTypes=function(e,t){return Object.keys(e).forEach((function(n){var r,i;t[n]&&(V(e[n])?t[n]=e[n](t[n]):t[n]=(r=e[n],i=t[n],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(t[n])&&delete t.key)})),t},t.isArrayOfNums=function(e,t){return H(e)&&(!t||e.length===t)&&e.every((function(e){return ye(e)}))},t.fill=function(e,t){for(var n=[],r=0;rn[e]?-1:0}},t.parseQS=he,t.formatQS=me,t.parseUrl=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:T.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.buildUrl=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(T.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")},t.deepEqual=Oe,t.mergeDeep=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,t){if(V(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},i=3735928559^n,o=1103547991^n,a=0;a>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()};var r=n(3),i=n(44),o=n.n(i),a=n(6),c=n(45);n.d(t,"deepAccess",(function(){return c.a}));var u=n(46);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}function Q(e,t){if(!J(e)){if(V(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?(t&&(e=encodeURI(e)),n&&(n='sandbox="'.concat(n,'"')),"')):""}function re(e,t,n){return null==t?n:z(t)?t:K(t)?t.toString():void T.logWarn("Unsuported type for param: "+e+" required type: String")}function ie(e,t,n){return n.indexOf(e)===t}function oe(e,t){return e.concat(t)}function ae(e){return Object.keys(e)}function ce(e,t){return e[t]}function ue(){if(window.googletag&&V(window.googletag.pubads)&&V(window.googletag.pubads().getSlots))return!0}var de=le("timeToRespond",(function(e,t){return e>t})),se=le("responseTimestamp",(function(e,t){return e>t})),fe=le("responseTimestamp",(function(e,t){return e2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkTypes,i=void 0!==r&&r;if(e===t)return!0;if("object"!==p(e)||null===e||"object"!==p(t)||null===t||i&&e.constructor!==t.constructor)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var o in e){if(!t.hasOwnProperty(o))return!1;if(!Oe(e[o],t[o],{checkTypes:i}))return!1}return!0}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"storage",(function(){return T})),t.registerBidder=function(e){var t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){var n=C(e);i.default.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(t){var r,o,a=t;Object(v.isPlainObject)(t)&&(a=t.code,r=t.gvlid,o=t.skipPbsAliasing),i.default.aliasRegistry[a]=e.code,n(S({},e,{code:a,gvlid:r,skipPbsAliasing:o}))}))},t.newBidder=C,n.d(t,"processBidderRequests",(function(){return w})),n.d(t,"registerSyncInner",(function(){return B})),t.preloadBidderMappingFile=_,t.getIabSubCategory=function(e,t){var n=i.default.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var r=n.getSpec().getMappingFileInfo(),o=r.localStorageKey?r.localStorageKey:n.getBidderCode(),a=T.getDataFromLocalStorage(o);if(a){try{a=JSON.parse(a)}catch(t){Object(v.logError)("Failed to parse ".concat(e," mapping data stored in local storage"))}return a.mapping[t]?a.mapping[t]:null}}},t.isValid=R;var r=n(35),i=n(10),o=n(3),a=n(24),c=n(28),u=n(25),d=n(16),s=n(5),f=n.n(s),l=n(11),b=n.n(l),g=n(6),p=n(4),v=n(0),y=n(2),h=n(9),m=n(8),O=n(15);function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);na.lastUpdated+24*r*60*60*1e3)&&Object(p.a)(n.url,{success:function(t){try{t=JSON.parse(t);var n={lastUpdated:Object(v.timestamp)(),mapping:t.mapping};T.setDataInLocalStorage(o,JSON.stringify(n))}catch(t){Object(v.logError)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){Object(v.logError)("Failed to load ".concat(e," bidder translation file"))}})}catch(t){Object(v.logError)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,t)}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.index,i=void 0===r?O.a.index:r;if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),!0;var o=i.getBidRequest(t),a=i.getMediaTypes(t),c=o&&o.sizes||a&&a.banner&&a.banner.sizes,u=Object(v.parseSizesInput)(c);if(1===u.length){var d=u[0].split("x"),s=j(d,2),f=s[0],l=s[1];return t.width=parseInt(f,10),t.height=parseInt(l,10),!0}return!1}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.index,i=void 0===r?O.a.index:r;function o(){var e=Object.keys(t);return I.every((function(n){return Object(g.d)(e,n)&&!Object(g.d)([void 0,null],t[n])}))}function a(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?o()?"native"!==t.mediaType||Object(u.h)(t,{index:i})?"video"!==t.mediaType||Object(d.d)(t,{index:i})?!("banner"===t.mediaType&&!U(e,t,{index:i}))||(Object(v.logError)(a("Banner bids require a width and height")),!1):(Object(v.logError)(a("Video bid does not have required vastUrl or renderer property")),!1):(Object(v.logError)(a("Native bid missing some required properties.")),!1):(Object(v.logError)(a("Bidder ".concat(t.bidderCode," is missing required params. Check for list of params."))),!1):(Object(v.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):(Object(v.logWarn)("No adUnitCode was supplied to addBidResponse."),!1)}Object(h.a)("checkAdUnitSetup").before(_)},10:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"gdprDataHandler",(function(){return U})),n.d(t,"uspDataHandler",(function(){return R})),n.d(t,"coppaDataHandler",(function(){return D})),n.d(t,"clientTestAdapters",(function(){return k})),n.d(t,"allS2SBidders",(function(){return N})),t.getAllS2SBidders=P,n.d(t,"setupAdUnitMediaTypes",(function(){return x})),t.setS2STestingModule=function(e){E=e};var r=n(0),i=n(36),o=n(25),a=n(1),c=n(4),u=n(3),d=n(9),s=n(6),f=n(38),l=n(17),b=n(49);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0})))}))}}));var p=function(e){var t=Object(r.deepClone)(e);return t.forEach((function(e){e.bids=e.bids.filter((function(e){return!k.length||e.finalSource!==E.SERVER}))})),t.filter((function(e){return 0!==e.bids.length}))}(e);return f.forEach((function(e){var o=Object(r.getUniqueIdentifierStr)(),c={bidderCode:e,auctionId:n,bidderRequestId:o,bids:_({bidderCode:e,auctionId:n,bidderRequestId:o,adUnits:Object(r.deepClone)(p),labels:a,src:"client"}),auctionStart:t,timeout:i,refererInfo:d},u=I[e];u||Object(r.logError)("Trying to make a request for bidder that does not exist: ".concat(e)),u&&c.bids&&0!==c.bids.length&&b.push(c)})),U.getConsentData()&&b.forEach((function(e){e.gdprConsent=U.getConsentData()})),R.getConsentData()&&b.forEach((function(e){e.uspConsent=R.getConsentData()})),b}),"makeBidRequests"),T.callBids=function(e,t,n,i,o,a,d){if(t.length){var f=y(t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===A.S2S.SRC)].push(t),e}),[[],[]]),2),l=f[0],b=f[1],g=[];b.forEach((function(e){for(var t=-1,n=0;n2&&void 0!==arguments[2]?arguments[2]:{},i=n.supportedMediaTypes,a=void 0===i?[]:i;e&&t?"function"==typeof e.callBids?(I[t]=e,Object(s.d)(a,"video")&&T.videoAdapters.push(t),Object(s.d)(a,"native")&&o.g.push(t)):Object(r.logError)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):Object(r.logError)("bidAdapter or bidderCode not specified")},T.aliasBidAdapter=function(e,t,n){if(void 0===I[t]){var i=I[e];if(void 0===i){var c=[];w.forEach((function(n){if(n.bidders&&n.bidders.length){var r=n&&n.bidders;n&&Object(s.d)(r,t)?C[t]=e:c.push(e)}})),c.forEach((function(e){Object(r.logError)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var u,d=function(e){var t=[];return Object(s.d)(T.videoAdapters,e)&&t.push("video"),Object(s.d)(o.g,e)&&t.push("native"),t}(e);if(i.constructor.prototype!=Object.prototype)(u=new i.constructor).setBidderCode(t);else{var f=i.getSpec(),l=n&&n.gvlid,b=n&&n.skipPbsAliasing;u=Object(a.newBidder)(j({},f,{code:t,gvlid:l,skipPbsAliasing:b})),C[t]=e}T.registerBidAdapter(u,t,{supportedMediaTypes:d})}catch(t){Object(r.logError)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else Object(r.logMessage)('alias name "'+t+'" has been already specified.')},T.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code,i=e.gvlid;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,B[n]={adapter:t,gvlid:i}):Object(r.logError)('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n analytics adapter must implement an enableAnalytics() function')):Object(r.logError)("Prebid Error: analyticsAdapter or analyticsCode not specified")},T.enableAnalytics=function(e){Object(r.isArray)(e)||(e=[e]),Object(r._each)(e,(function(e){var t=B[e.provider];t&&t.adapter?t.adapter.enableAnalytics(e):Object(r.logError)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},T.getBidAdapter=function(e){return I[e]},T.getAnalyticsAdapter=function(e){return B[e]},T.callTimedOutBidders=function(e,t,n){t=t.map((function(t){return t.params=Object(r.getUserConfiguredParams)(e,t.adUnitCode,t.bidder),t.timeout=n,t})),t=Object(r.groupBy)(t,"bidder"),Object.keys(t).forEach((function(e){M(e,"onTimeout",t[e])}))},T.callBidWonBidder=function(e,t,n){t.params=Object(r.getUserConfiguredParams)(n,t.adUnitCode,t.bidder),f.a.incrementBidderWinsCounter(t.adUnitCode,t.bidder),M(e,"onBidWon",t)},T.callSetTargetingBidder=function(e,t){M(e,"onSetTargeting",t)},T.callBidViewableBidder=function(e,t){M(e,"onBidViewable",t)},T.callBidderError=function(e,t,n){M(e,"onBidderError",{error:t,bidderRequest:n})},t.default=T},109:function(e,t,n){"use strict";t.a=function(){window.addEventListener("message",y,!1)};var r=n(11),i=n.n(r),o=n(25),a=n(5),c=n.n(a),u=n(0),d=n(15),s=n(6),f=n(12),l=n(3),b=n(39),g=c.a.EVENTS.BID_WON,p=c.a.EVENTS.STALE_RENDER,v={"Prebid Request":function(e,t,n){if(null==n)return void Object(b.a)({reason:c.a.AD_RENDER_FAILED_REASON.CANNOT_FIND_AD,message:"Cannot find ad '".concat(t.adId,"' for cross-origin render request"),id:t.adId});if(n.status===c.a.BID_STATUS.RENDERED&&(Object(u.logWarn)("Ad id ".concat(n.adId," has been rendered before")),i.a.emit(p,n),Object(u.deepAccess)(l.b.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,t){var n=e.adId,r=e.ad,i=e.adUrl,o=e.width,a=e.height,c=e.renderer,d=e.cpm,s=e.originalCpm;Object(f.c)(c)?Object(f.b)(c,e):n&&(h(e),t({message:"Prebid Response",ad:Object(u.replaceAuctionPrice)(r,s||d),adUrl:Object(u.replaceAuctionPrice)(i,s||d),adId:n,width:o,height:a}))}(n,e)}catch(e){return void Object(b.a)({reason:c.a.AD_RENDER_FAILED_REASON.EXCEPTION,message:e.message,id:t.adId,bid:n})}d.a.addWinningBid(n),i.a.emit(g,n)},"Prebid Native":function(e,t,n){if(null==n)return void Object(u.logError)("Cannot find ad '".concat(t.adId,"' for x-origin event request"));switch(t.action){case"assetRequest":e(Object(o.e)(t,n));break;case"allAssetRequest":e(Object(o.d)(t,n));break;case"resizeNativeHeight":n.height=t.height,n.width=t.width,h(n);break;default:if("click"===Object(o.c)(t,n))return;d.a.addWinningBid(n),i.a.emit(g,n)}},"Prebid Event":function(e,t,n){if(null==n)return void Object(u.logError)("Cannot find ad '".concat(t.adId,"' for x-origin event request"));if(n.status!==c.a.BID_STATUS.RENDERED)return void Object(u.logWarn)("Received x-origin event request without corresponding render request for ad '".concat(t.adId,"'"));switch(t.event){case c.a.EVENTS.AD_RENDER_FAILED:Object(b.a)({bid:n,id:t.adId,reason:t.info.reason,message:t.info.message});break;case c.a.EVENTS.AD_RENDER_SUCCEEDED:Object(b.b)({doc:null,bid:n,id:t.adId});break;default:Object(u.logError)("Received x-origin event request for unsupported event: '".concat(t.event,"' (adId: '").concat(t.adId,"')"))}}};function y(e){var t=e.message?"message":"data",n={};try{n=JSON.parse(e[t])}catch(e){return}if(n&&n.adId&&n.message){var r=Object(s.b)(d.a.getBidsReceived(),(function(e){return e.adId===n.adId}));v.hasOwnProperty(n.message)&&v[n.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 ";throw Object(u.logError)(e),new Error(e)}:e.ports.length>0?function(t){e.ports[0].postMessage(JSON.stringify(t))}:function(t){e.source.postMessage(JSON.stringify(t),e.origin)}}(e),n,r)}}function h(e){var t=e.adId,n=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,t){return Object(u.isGptPubadsDefined)()?function(e){var t=Object(s.b)(window.googletag.pubads().getSlots(),(function(t){return Object(s.b)(t.getTargetingKeys(),(function(n){return Object(s.d)(t.getTargeting(n),e)}))}));return t?t.getSlotElementId():null}(e):Object(u.isApnGetTagDefined)()?function(e){var t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(t,n),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var a=o.style;a.width=r+"px",a.height=i+"px"}else Object(u.logWarn)("Unable to locate matching page element for adUnitCode ".concat(n,". Can't resize it to ad's dimensions. Please review setup."))}))}},11:function(e,t,n){function r(){return(r=Object.assign||function(e){for(var t=1;t0;)try{this.cmd.shift().call()}catch(e){Object(i.logError)("Error processing Renderer command: ",e)}}},13:function(e,t,n){"use strict";t.a=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("pbjs")},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(0),i=n(18),o=n(6),a=n(48),c=n(5);var u=function(){var e=[],t={};return t.addWinningBid=function(t){var n=Object(o.b)(e,(function(e){return e.getAuctionId()===t.auctionId}));n?(t.status=c.BID_STATUS.RENDERED,n.addWinningBid(t)):Object(r.logWarn)("Auction not found when adding winning bid")},t.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.flatten,[])},t.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.flatten,[])},t.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(r.flatten,[])},t.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===i.a)return e.getBidsReceived()})).reduce(r.flatten,[]).filter((function(e){return e}))},t.getAllBidsForAdUnitCode=function(t){return e.map((function(e){return e.getBidsReceived()})).reduce(r.flatten,[]).filter((function(e){return e&&e.adUnitCode===t}))},t.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.flatten,[])},t.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.flatten,[]).filter(r.uniques)},t.createAuction=function(t){var n=t.adUnits,r=t.adUnitCodes,o=t.callback,a=t.cbTimeout,c=t.labels,u=t.auctionId,d=Object(i.k)({adUnits:n,adUnitCodes:r,callback:o,cbTimeout:a,labels:c,auctionId:u});return function(t){e.push(t)}(d),d},t.findBidByAdId=function(t){return Object(o.b)(e.map((function(e){return e.getBidsReceived()})).reduce(r.flatten,[]),(function(e){return e.adId===t}))},t.getStandardBidderAdServerTargeting=function(){return Object(i.j)()[c.JSON_MAPPING.ADSERVER_TARGETING]},t.setStatusForBids=function(n,r){var i=t.findBidByAdId(n);if(i&&(i.status=r),i&&r===c.BID_STATUS.BID_TARGETING_SET){var a=Object(o.b)(e,(function(e){return e.getAuctionId()===i.auctionId}));a&&a.setBidTargeting(i)}},t.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},t.clearAllAuctions=function(){e.length=0},t.index=new a.a((function(){return e})),t}()},16:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),t.d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,i=void 0===n?a.a.index:n,o=Object(r.deepAccess)(i.getMediaTypes(e),"video"),c=o&&Object(r.deepAccess)(o,"context"),u=i.getAdUnit(e);return d(e,u,o,c)},n.d(t,"c",(function(){return d}));n(10);var r=n(0),i=n(3),o=(n(6),n(9)),a=n(15),c="outstream",u="instream";var d=Object(o.b)("sync",(function(e,t,n,o){return n&&o!==c?i.b.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):(Object(r.logError)('\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):o!==c||!!(e.renderer||t&&t.renderer||n.renderer)}),"checkVideoBidSetup")},17:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i=n(0);var o=function(e){function t(e){var t=r.b.getConfig("pageUrl");if(t)return t;try{var n=e.querySelector("link[rel='canonical']");if(null!==n)return n.href}catch(e){}return null}return function(){var n,o,a,c=[],u=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(e),d=r.b.getConfig("maxNestedIframes"),s=!1,f=0,l=!1,b=!1;do{var g=n,p=b,v=void 0,y=!1,h=null;b=!1,n=n?n.parent:e;try{v=n.location.href||null}catch(e){y=!0}if(y)if(p){var m=g.context;try{o=h=m.sourceUrl,l=!0,n===e.top&&(s=!0),m.canonicalUrl&&(a=m.canonicalUrl)}catch(e){}}else{Object(i.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{var O=g.document.referrer;O&&(h=O,n===e.top&&(s=!0))}catch(e){}!h&&u&&u[f-1]&&(h=u[f-1]),h&&!l&&(o=h)}else{if(v&&(o=h=v,l=!1,n===e.top)){s=!0;var j=t(n.document);j&&(a=j)}n.context&&n.context.sourceUrl&&(b=!0)}c.push(h),f++}while(n!==e.top&&f2&&void 0!==arguments[2]?arguments[2]:{}).index,i=void 0===n?g.a.index:n,o=0,a=!1,c=new Set,d={},s={};function l(e,t){null==s[e]&&(s[e]=Promise.resolve()),s[e]=s[e].then((function(){return Promise.resolve(t).catch((function(){}))}))}function b(e,n){var r=e.timeout;(null==r||r>t.getTimeout())&&(r=t.getTimeout());var i=t.getAuctionStart()+r-Date.now(),o=s[e.bidderRequestId],a=s[""];(null!=o||null!=a)&&i>0?Promise.race([new Promise((function(e){return setTimeout(e,i)})),Promise.resolve(a).then((function(){return o}))]).then(n):n()}function p(){o--,a&&0===o&&e()}function v(e,n){d[n.requestId]=!0,o++;var r=k({adUnitCode:e,bid:n,auctionId:t.getAuctionId()});"video"===r.mediaType?R(t,r,p):(U(t,r),p())}function y(){var n=this,i=t.getBidRequests(),s=u.b.getConfig("auctionOptions");if(c.add(n),s&&!Object(r.isEmpty)(s)){var l=s.secondaryBidders;l&&!i.every((function(e){return Object(f.d)(l,e.bidderCode)}))&&(i=i.filter((function(e){return!Object(f.d)(l,e.bidderCode)})))}a=i.every((function(e){return c.has(e)})),n.bids.forEach((function(e){d[e.bidId]||(t.addNoBid(e),O.emit(j.EVENTS.NO_BID,e))})),a&&0===o&&e()}return{addBidResponse:function(e,t){var n=i.getBidderRequest(t);l(n&&n.bidderRequestId||"",C.call({dispatch:v},e,t))},adapterDone:function(){b(this,y.bind(this))}}}(V,t);m.callBids(p,e,l.addBidResponse,l.adapterDone,{request:function(e,t){d(S,t),d(n,e),T[e]||(T[e]={SRA:!0,origin:t}),n[e]>1&&(T[e].SRA=!1)},done:function(e){S[e]--,I[0]&&c(I[0])&&I.shift()}},q,z)}};function c(e){var t=!0,n=u.b.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===j.S2S.SRC?"s2s":e.bidderCode;return T[i]&&(!1===T[i].SRA&&(r=Math.min(e.bids.length,n)),S[T[i].origin]+r>n&&(t=!1)),!t})),t&&e.run(),t}function d(e,t){void 0===e[t]?e[t]=1:e[t]++}c(a)||(Object(r.logWarn)("queueing auction due to limited endpoint capacity"),I.push(a))}return{addBidReceived:function(e){D=D.concat(e)},addNoBid:function(e){N=N.concat(e)},executeCallback:L,callBids:function(){i="started",t=Date.now();var e=m.makeBidRequests(p,t,P,q,v);Object(r.logInfo)("Bids Requested for Auction with id: ".concat(P),e),e.length<1?(Object(r.logWarn)("No valid bid requests returned for auction"),V()):w.call({dispatch:H,context:this},e)},addWinningBid:function(e){M=M.concat(e),m.callBidWonBidder(e.bidder,e,a)},setBidTargeting:function(e){m.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return M},getAuctionStart:function(){return t},getTimeout:function(){return q},getAuctionId:function(){return P},getAuctionStatus:function(){return i},getAdUnits:function(){return p},getAdUnitCodes:function(){return y},getBidRequests:function(){return _},getBidsReceived:function(){return D},getNoBids:function(){return N}}},n.d(t,"c",(function(){return C})),n.d(t,"e",(function(){return w})),t.g=_,t.d=U,n.d(t,"f",(function(){return D})),n.d(t,"i",(function(){return P})),n.d(t,"h",(function(){return x})),t.j=M;var r=n(0),i=n(27),o=n(25),a=n(37),c=n(12),u=n(3),d=n(28),s=n(9),f=n(6),l=n(16),b=n(2),g=n(15),p=n(21);function v(e){return(v="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})(e)}function y(){return(y=Object.assign||function(e){for(var t=1;t=0&&(e.cpm=n)}(e)}));var S={},T={},I=[];var C=Object(s.b)("sync",(function(e,t){this.dispatch.call(null,e,t)}),"addBidResponse"),w=Object(s.b)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),B=Object(s.b)("async",(function(e,t){t&&t()}),"bidsBackCallback");function _(e,t){t.timeToRespond>e.getTimeout()+u.b.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function U(e,t){!function(e){var t,n=!0===p.a.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?g.a.index:n;if(!t)return{};var i=r.getBidRequest(t),a={},c=M(t.mediaType,e);G(a,c,t,i),e&&p.a.getOwn(e,j.JSON_MAPPING.ADSERVER_TARGETING)&&(G(a,p.a.ownSettingsFor(e),t,i),t.sendStandardTargeting=p.a.get(e,"sendStandardTargeting"));t.native&&(a=y({},a,Object(o.f)(t)));return a}(e.bidderCode,e));e.adserverTargeting=y(e.adserverTargeting||{},t)}(t),O.emit(j.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),_(e,t)}function R(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.index,a=void 0===o?g.a.index:o,c=!0,d=Object(r.deepAccess)(a.getMediaTypes({requestId:t.originalRequestId||t.requestId,transactionId:t.transactionId}),"video"),s=d&&Object(r.deepAccess)(d,"context");u.b.getConfig("cache.url")&&s!==l.b&&(!t.videoCacheKey||u.b.getConfig("cache.ignoreBidderCacheKey")?(c=!1,D(e,t,n,d)):t.vastUrl||(Object(r.logError)("videoCacheKey specified but not required vastUrl for video bid"),c=!1)),c&&(U(e,t),n())}var D=Object(s.b)("async",(function(e,t,n,i){Object(a.b)([t],(function(i,o){i?(Object(r.logWarn)("Failed to save to the video cache: ".concat(i,". Video bid must be discarded.")),_(e,t)):""===o[0].uuid?(Object(r.logWarn)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),_(e,t)):(t.videoCacheKey=o[0].uuid,t.vastUrl||(t.vastUrl=Object(a.a)(t.videoCacheKey)),U(e,t),n())}))}),"callPrebidCache");function k(e){var t=e.adUnitCode,n=e.bid,o=e.auctionId,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=a.index,s=void 0===d?g.a.index:d,f=s.getBidderRequest(n),l=f&&f.start||n.requestTimestamp,b=y({},n,{auctionId:o,responseTimestamp:Object(r.timestamp)(),requestTimestamp:l,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});b.timeToRespond=b.responseTimestamp-b.requestTimestamp,O.emit(j.EVENTS.BID_ADJUSTMENT,b);var p=s.getAdUnit(b).renderer,h=b.mediaType,m=s.getMediaTypes(b),E=m&&m[h],A=E&&E.renderer,S=null;A&&A.url&&A.render&&(!0!==A.backupOnly||!n.renderer)?S=A:p&&p.url&&p.render&&(!0!==p.backupOnly||!n.renderer)&&(S=p),S&&(b.renderer=c.a.install({url:S.url}),b.renderer.setRender(S.render));var T=N(n.mediaType,m,u.b.getConfig("mediaTypePriceGranularity")),I=Object(i.a)(b.cpm,"object"===v(T)?T:u.b.getConfig("customPriceBucket"),u.b.getConfig("currency.granularityMultiplier"));return b.pbLg=I.low,b.pbMg=I.med,b.pbHg=I.high,b.pbAg=I.auto,b.pbDg=I.dense,b.pbCg=I.custom,b}function N(e,t,n){if(e&&n){if(e===b.d){var i=Object(r.deepAccess)(t,"".concat(b.d,".context"),"instream");if(n["".concat(b.d,"-").concat(i)])return n["".concat(b.d,"-").concat(i)]}return n[e]}}var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,r=void 0===n?g.a.index:n,i=N(e.mediaType,r.getMediaTypes(e),u.b.getConfig("mediaTypePriceGranularity")),o="string"==typeof e.mediaType&&i?"string"==typeof i?i:"custom":u.b.getConfig("priceGranularity");return o},x=function(e){return function(t){var n=e||P(t);return n===j.GRANULARITY_OPTIONS.AUTO?t.pbAg:n===j.GRANULARITY_OPTIONS.DENSE?t.pbDg:n===j.GRANULARITY_OPTIONS.LOW?t.pbLg:n===j.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:n===j.GRANULARITY_OPTIONS.HIGH?t.pbHg:n===j.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}};function q(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return Object(r.getValue)(e,t)}}}function M(e,t){var n=j.TARGETING_KEYS,i=y({},p.a.settingsFor(null));if(i[j.JSON_MAPPING.ADSERVER_TARGETING]||(i[j.JSON_MAPPING.ADSERVER_TARGETING]=function(){var e=j.TARGETING_KEYS;return[q(e.BIDDER,"bidderCode"),q(e.AD_ID,"adId"),q(e.PRICE_BUCKET,x()),q(e.SIZE,"size"),q(e.DEAL,"dealId"),q(e.SOURCE,"source"),q(e.FORMAT,"mediaType"),q(e.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""}))]}()),"video"===e){var o=i[j.JSON_MAPPING.ADSERVER_TARGETING].slice();if(i[j.JSON_MAPPING.ADSERVER_TARGETING]=o,[n.UUID,n.CACHE_ID].forEach((function(e){void 0===Object(f.b)(o,(function(t){return t.key===e}))&&o.push(q(e,"videoCacheKey"))})),u.b.getConfig("cache.url")&&(!t||!1!==p.a.get(t,"sendStandardTargeting"))){var a=Object(r.parseUrl)(u.b.getConfig("cache.url"));void 0===Object(f.b)(o,(function(e){return e.key===n.CACHE_HOST}))&&o.push(q(n.CACHE_HOST,(function(e){return Object(r.deepAccess)(e,"adserverTargeting.".concat(n.CACHE_HOST))?e.adserverTargeting[n.CACHE_HOST]:a.hostname})))}}return i}function G(e,t,n,i){var o=t[j.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),Object(r._each)(o,(function(o){var a=o.key,c=o.val;if(e[a]&&Object(r.logWarn)("The key: "+a+" is being overwritten"),Object(r.isFn)(c))try{c=c(n,i)}catch(e){Object(r.logError)("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&a!==j.TARGETING_KEYS.DEAL||!Object(r.isEmptyStr)(c)&&null!=c?e[a]=c:Object(r.logInfo)("suppressing empty key '"+a+"' from adserver targeting")})),e}function W(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},2:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r="native",i="video",o="banner",a="adpod"},20:function(e,t,n){"use strict";t.a=function(e,t,n){if(!t||!e)return void Object(i.logError)("cannot load external script without url and moduleCode");if(!Object(r.d)(a,t))return void Object(i.logError)("".concat(t," not whitelisted for loading external JavaScript"));if(o[e])return n&&"function"==typeof n&&(o[e].loaded?n():o[e].callbacks.push(n)),o[e].tag;o[e]={loaded:!1,tag:null,callbacks:[]},n&&"function"==typeof n&&o[e].callbacks.push(n);return Object(i.logWarn)("module ".concat(t," is loading external JavaScript")),function(t,n){var r=document.createElement("script");r.type="text/javascript",r.async=!0,o[e].tag=r,r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,n())}:r.onload=function(){n()};return r.src=t,Object(i.insertElement)(r),r}(e,(function(){o[e].loaded=!0;try{for(var t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);nObject(r.timestamp)()},isUnusedBid:function(e){return e&&(e.status&&!Object(f.d)([v.BID_STATUS.RENDERED],e.status)||!e.status)}},A=Object(d.b)("sync",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!o){var a=[],c=i.b.getConfig("sendBidsControl.dealPrioritization"),u=Object(r.groupBy)(e,"adUnitCode");return Object.keys(u).forEach((function(e){var i=[],o=Object(r.groupBy)(u[e],"bidderCode");Object.keys(o).forEach((function(e){return i.push(o[e].reduce(t))})),n>0?(i=c?i.sort(S(!0)):i.sort((function(e,t){return t.cpm-e.cpm})),a.push.apply(a,g(i.slice(0,n)))):a.push.apply(a,g(i))})),a}return e}));function S(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){return void 0!==t.adserverTargeting.hb_deal&&void 0===n.adserverTargeting.hb_deal?-1:void 0===t.adserverTargeting.hb_deal&&void 0!==n.adserverTargeting.hb_deal?1:e?n.cpm-t.cpm:n.adserverTargeting.hb_pb-t.adserverTargeting.hb_pb}}var T=function(e){var t={},n={};function a(e,t){return e.adserverTargeting&&t&&(Object(r.isArray)(t)&&Object(f.d)(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function d(e,t){if(!0===i.b.getConfig("targetingControls.alwaysIncludeDeals")){var n=j.concat(o.a);return A(t,r.getHighestCpm).map((function(t){if(t.dealId&&a(t,e))return b({},t.adUnitCode,P(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}function p(e,t){var n=l({},v.TARGETING_KEYS,v.NATIVE_KEYS),i=Object.keys(n),o={};Object(r.logInfo)("allowTargetingKeys - allowed keys [ ".concat(t.map((function(e){return n[e]})).join(", ")," ]")),e.map((function(e){var r=Object.keys(e)[0],a=e[r].filter((function(e){var r=Object.keys(e)[0],a=0===i.filter((function(e){return 0===r.indexOf(n[e])})).length||Object(f.b)(t,(function(e){var t=n[e];return 0===r.indexOf(t)}));return o[r]=!a,a}));e[r]=a}));var a=Object.keys(o).filter((function(e){return o[e]}));return Object(r.logInfo)("allowTargetingKeys - removed keys [ ".concat(a.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}function T(e,t){var n=Object(r.deepClone)(e);return Object.keys(n).map((function(e){return{adUnitCode:e,adserverTargeting:n[e]}})).sort(S()).reduce((function(e,i,o,a){var c,u=(c=i.adserverTargeting,Object.keys(c).reduce((function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(c[t]),"%26")}),""));o+1===a.length&&(u=u.slice(0,-3));var d=i.adUnitCode,s=u.length;return s<=t?(t-=s,Object(r.logInfo)("AdUnit '".concat(d,"' auction keys comprised of ").concat(s," characters. Deducted from running threshold; new limit is ").concat(t),n[d]),e[d]=n[d]):Object(r.logWarn)("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(t,".\n"),n[d]),o+1===a.length&&0===Object.keys(e).length&&Object(r.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e}),{})}function I(e){return e.map((function(e){return b({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return b({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,t){return l(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=l({},e[n],t[n]),e}),{})}function C(t){return"string"==typeof t?[t]:Object(r.isArray)(t)?t:e.getAdUnitCodes()||[]}function w(){var t=e.getBidsReceived();if(i.b.getConfig("useBidCache")){var o=i.b.getConfig("bidCacheFilterFunction");"function"==typeof o&&(t=t.filter((function(e){return n[e.adUnitCode]===e.auctionId||!!o(e)})))}else t=t.filter((function(e){return n[e.adUnitCode]===e.auctionId}));return t=t.filter((function(e){return Object(r.deepAccess)(e,"video.context")!==u.a})).filter((function(e){return"banner"!==e.mediaType||Object(c.b)([e.width,e.height])})).filter(E.isUnusedBid).filter(E.isBidNotExpired),A(t,r.getOldestHighestCpmBid)}function B(e,n){var r=t.getWinningBids(e,n),i=_();return r=r.map((function(e){return b({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t)})).reduce((function(t,n){var r=[e.adserverTargeting[n]],i=b({},n.substring(0,20),r);if(n===v.TARGETING_KEYS.DEAL){var o=b({},"".concat(n,"_").concat(e.bidderCode).substring(0,20),r);return[].concat(g(t),[i,o])}return[].concat(g(t),[i])}),[]))}))}function _(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(j).filter(r.uniques)}function U(e,t,n,i){return Object.keys(t.adserverTargeting).filter(R()).forEach((function(n){e.length&&e.filter(function(e){return function(n){return n.adUnitCode===t.adUnitCode&&n.adserverTargeting[e]}}(n)).forEach(function(e){return function(n){Object(r.isArray)(n.adserverTargeting[e])||(n.adserverTargeting[e]=[n.adserverTargeting[e]]),n.adserverTargeting[e]=n.adserverTargeting[e].concat(t.adserverTargeting[e]).filter(r.uniques),delete t.adserverTargeting[e]}}(n))})),e.push(t),e}function R(){var e=_().concat(o.a);return function(t){return-1===e.indexOf(t)}}function D(e){return b({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(R()).map((function(t){return b({},t.substring(0,20),[e.adserverTargeting[t]])})))}function k(e,t){return t.filter((function(t){return Object(f.d)(e,t.adUnitCode)})).map((function(e){return l({},e)})).reduce(U,[]).map(D).filter((function(e){return e}))}function N(e,t){var n=j.concat(o.a),c=i.b.getConfig("sendBidsControl.bidLimit"),u=A(t,r.getHighestCpm,c),d=i.b.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),s=d?d.map((function(e){return v.TARGETING_KEYS[e]})):n;return u.map((function(t){if(a(t,e))return b({},t.adUnitCode,P(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]&&-1!==s.indexOf(e)}))))})).filter((function(e){return e}))}function P(e,t){return t.map((function(t){return b({},"".concat(t,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[t]])}))}function x(t){function n(e){return Object(r.deepAccess)(e,v.JSON_MAPPING.ADSERVER_TARGETING)}return e.getAdUnits().filter((function(e){return Object(f.d)(t,e.code)&&n(e)})).map((function(e){return b({},e.code,function(e){var t=n(e);return Object.keys(t).map((function(e){return Object(r.isStr)(t[e])&&(t[e]=t[e].split(",").map((function(e){return e.trim()}))),Object(r.isArray)(t[e])||(t[e]=[t[e]]),b({},e,t[e])}))}(e))}))}return t.setLatestAuctionForAdUnit=function(e,t){n[e]=t},t.resetPresetTargeting=function(t,n){if(Object(r.isGptPubadsDefined)()){var i=C(t),o=e.getAdUnits().filter((function(e){return Object(f.d)(i,e.code)})),a=y.reduce((function(e,t){return e[t]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var t=Object(r.isFn)(n)&&n(e);o.forEach((function(n){(n.code===e.getAdUnitPath()||n.code===e.getSlotElementId()||Object(r.isFn)(t)&&t(n.code))&&e.updateTargetingFromMap(a)}))}))}},t.resetPresetTargetingAST=function(e){C(e).forEach((function(e){var t=window.apntag.getTag(e);if(t&&t.keywords){var n=Object.keys(t.keywords),r={};n.forEach((function(e){Object(f.d)(y,e.toLowerCase())||(r[e]=t.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},t.getAllTargeting=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w(),n=C(e),o=B(n,t).concat(k(n,t)).concat(i.b.getConfig("enableSendAllBids")?N(n,t):d(n,t)).concat(x(n));o.map((function(e){Object.keys(e).map((function(t){e[t].map((function(e){-1===y.indexOf(Object.keys(e)[0])&&(y=Object.keys(e).concat(y))}))}))}));var a=Object.keys(l({},v.DEFAULT_TARGETING_KEYS,v.NATIVE_KEYS)),c=i.b.getConfig(h),u=i.b.getConfig(m);if(null!=u&&null!=c)throw new Error(O);c=null!=u?a.concat(u):c||a,Array.isArray(c)&&c.length>0&&(o=p(o,c)),o=I(o);var s=i.b.getConfig("targetingControls.auctionKeyMaxChars");return s&&(Object(r.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(s," characters. Running checks on auction keys...")),o=T(o,s)),n.forEach((function(e){o[e]||(o[e]={})})),o},i.b.getConfig("targetingControls",(function(e){null!=Object(r.deepAccess)(e,h)&&null!=Object(r.deepAccess)(e,m)&&Object(r.logError)(O)})),t.setTargetingForGPT=function(e,t){window.googletag.pubads().getSlots().forEach((function(n){Object.keys(e).filter(t?t(n):Object(r.isAdUnitCodeMatchingSlot)(n)).forEach((function(t){Object.keys(e[t]).forEach((function(n){var r=e[t][n];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[t][n]=r})),Object(r.logMessage)("Attempting to set targeting-map for slot: ".concat(n.getSlotElementId()," with targeting-map:"),e[t]),n.updateTargetingFromMap(e[t])}))}))},t.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w(),n=C(e);return t.filter((function(e){return Object(f.d)(n,e.adUnitCode)})).filter((function(e){return!0===s.a.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(r.uniques).map((function(e){return t.filter((function(t){return t.adUnitCode===e?t:null})).reduce(r.getHighestCpm)}))},t.setTargetingForAst=function(e){var n=t.getAllTargeting(e);try{t.resetPresetTargetingAST(e)}catch(e){Object(r.logError)("unable to reset targeting for AST"+e)}Object.keys(n).forEach((function(e){return Object.keys(n[e]).forEach((function(t){if(Object(r.logMessage)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(t," value: ").concat(n[e][t])),Object(r.isStr)(n[e][t])||Object(r.isArray)(n[e][t])){var i={};t.search(/pt[0-9]/)<0?i[t.toUpperCase()]=n[e][t]:i[t]=n[e][t],window.apntag.setKeywords(e,i,{overrideKeyValue:!0})}}))}))},t.isApntagDefined=function(){if(window.apntag&&Object(r.isFn)(window.apntag.setKeywords))return!0},t}(a.a)},24:function(e,t,n){"use strict";t.a=function(e,t){return new i(e,t)};var r=n(0);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.src,i=void 0===n?"client":n,o=t.bidder,a=void 0===o?"":o,c=t.bidId,u=t.transactionId,d=t.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=Object(r.getUniqueIdentifierStr)(),this.requestId=c,this.transactionId=u,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}}}},25:function(e,t,n){"use strict";n.d(t,"g",(function(){return f})),n.d(t,"a",(function(){return l})),t.b=function(e){e.forEach((function(e){var t=e.nativeParams||Object(r.deepAccess)(e,"mediaTypes.native");t&&(e.nativeParams=function(e){if(e&&e.type&&function(e){if(!e||!Object(i.d)(Object.keys(b),e))return Object(r.logError)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type))return b[e.type];return e}(t))}))},t.h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,a=void 0===n?o.a.index:n;if(!Object(r.deepAccess)(e,"native.clickUrl"))return!1;var c=a.getAdUnit(e).nativeParams;if(!c)return!0;var u=Object.keys(c).filter((function(e){return c[e].required})),d=Object.keys(e.native).filter((function(t){return e.native[t]}));return u.every((function(e){return Object(i.d)(d,e)}))},t.c=function(e,t){var n;"click"===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&Object(r.insertHtmlIntoIframe)(t.native.javascriptTrackers));return(n||[]).forEach(r.triggerPixel),e.action},t.f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,i=void 0===n?o.a.index:n,a={},c=i.getAdUnit(e);Object(r.deepAccess)(c,"nativeParams.rendererUrl")?e.native.rendererUrl=g(c.nativeParams.rendererUrl):Object(r.deepAccess)(c,"nativeParams.adTemplate")&&(e.native.adTemplate=g(c.nativeParams.adTemplate));var d=!1!==Object(r.deepAccess)(c,"nativeParams.sendTargetingKeys"),s=p(c),f=u(u({},e.native),e.native.ext);return delete f.ext,Object.keys(f).forEach((function(t){var n=s[t],i=g(e.native[t])||g(Object(r.deepAccess)(e,"native.ext.".concat(t)));if("adTemplate"!==t&&n&&i){var o=Object(r.deepAccess)(c,"nativeParams.".concat(t,".sendId"));if("boolean"!=typeof o&&(o=Object(r.deepAccess)(c,"nativeParams.ext.".concat(t,".sendId"))),o)i="".concat(n,":").concat(e.adId);var u=Object(r.deepAccess)(c,"nativeParams.".concat(t,".sendTargetingKeys"));"boolean"!=typeof u&&(u=Object(r.deepAccess)(c,"nativeParams.ext.".concat(t,".sendTargetingKeys"))),("boolean"==typeof u?u:d)&&(a[n]=i)}})),a},t.e=function(e,t){var n={message:"assetResponse",adId:e.adId,assets:[]};t.native.hasOwnProperty("adTemplate")&&(n.adTemplate=g(t.native.adTemplate));t.native.hasOwnProperty("rendererUrl")&&(n.rendererUrl=g(t.native.rendererUrl));return e.assets.forEach((function(e){var i=Object(r.getKeyByValue)(s.NATIVE_KEYS,e),o=g(t.native[i]);n.assets.push({key:i,value:o})})),n},t.d=function(e,t){var n={message:"assetResponse",adId:e.adId,assets:[]};return Object.keys(t.native).forEach((function(e,r){if("adTemplate"===e&&t.native[e])n.adTemplate=g(t.native[e]);else if("rendererUrl"===e&&t.native[e])n.rendererUrl=g(t.native[e]);else if("ext"===e)Object.keys(t.native[e]).forEach((function(r){if(t.native[e][r]){var i=g(t.native[e][r]);n.assets.push({key:r,value:i})}}));else if(t.native[e]&&s.NATIVE_KEYS.hasOwnProperty(e)){var i=g(t.native[e]);n.assets.push({key:e,value:i})}})),n};var r=n(0),i=n(6),o=n(15);function a(e){return(a="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})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":f(e,o,n),med:""===r?"":f(e,a,n),high:""===r?"":f(e,c,n),auto:""===r?"":f(e,d,n),dense:""===r?"":f(e,u,n),custom:""===r?"":f(e,t,n)}}function f(e,t,n){var i="";if(!l(t))return i;var o=t.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),a=0,c=Object(r.b)(t.buckets,(function(t){if(e>o.max*n){var r=t.precision;void 0===r&&(r=2),i=(t.max*n).toFixed(r)}else{if(e<=t.max*n&&e>=a*n)return t.min=a,t;a=t.max}}));return c&&(i=function(e,t,n){var r=void 0!==t.precision?t.precision:2,i=t.increment*n,o=t.min*n,a=Math.pow(10,r+2),c=(e*a-o*a)/(i*a),u=Math.floor(c)*i+o;return(u=Number(u.toFixed(10))).toFixed(r)}(e,c,n)),i}function l(e){if(Object(i.isEmpty)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(t=!1)})),t}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n(3),o=n(6),a=n(8);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&a.every((function(e){return Object(r.isStr)(e)&&"*"!==e}))))return Object(r.logWarn)('Detected an invalid setup in userSync "filterSettings.'.concat(i,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1;return!0}(n,e)){s[e]=!0;var i=n.all?n.all:n[e],a="*"===i.bidders?[t]:i.bidders;return{include:function(e,t){return!Object(o.d)(e,t)},exclude:function(e,t){return Object(o.d)(e,t)}}[i.filter||"include"](a,t)}return!s[e]}return i.b.getConfig("userSync",(function(e){if(e.userSync){var t=e.userSync.filterSettings;Object(r.isPlainObject)(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}f=d(f,e.userSync)})),t.registerSync=function(e,i,o){return a.has(i)?Object(r.logMessage)('already fired syncs for "'.concat(i,'", ignoring registerSync call')):f.syncEnabled&&Object(r.isArray)(n[e])?i?0!==f.syncsPerBidder&&Number(u[i])>=f.syncsPerBidder?Object(r.logWarn)('Number of user syncs exceeded for "'.concat(i,'"')):t.canBidderRegisterSync(e,i)?(n[e].push([i,o]),void(u=function(e,t){return e[t]?e[t]+=1:e[t]=1,e}(u,i))):Object(r.logWarn)('Bidder "'.concat(i,'" not permitted to register their "').concat(e,'" userSync pixels.')):Object(r.logWarn)("Bidder is required for registering sync"):Object(r.logWarn)('User sync type "'.concat(e,'" not supported'))},t.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(l,Number(e));l()},t.triggerUserSyncs=function(){f.enableOverride&&t.syncUsers()},t.canBidderRegisterSync=function(e,t){return!f.filterSettings||!g(e,t)},t}({config:i.b.getConfig("userSync"),browserSupportsCookies:f})},29:function(e,t,n){"use strict";t.a=function(e,t){o.adServers=o.adServers||{},o.adServers[e]=o.adServers[e]||{},Object.keys(t).forEach((function(n){o.adServers[e][n]?Object(i.logWarn)("Attempting to add an already registered function property ".concat(n," for AdServer ").concat(e,".")):o.adServers[e][n]=t[n]}))};var r=n(13),i=n(0),o=Object(r.a)()},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(27),i=n(6),o=n(0),a=["fpd"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return(s="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})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1];try{r(e),e.bidders.forEach((function(r){n[r]||(n[r]={}),Object.keys(e.config).forEach((function(i){var a="fpd"===i?"ortb2":i,c="fpd"===i?j(e.config[i]):e.config[i];if(Object(o.isPlainObject)(c)){var u=t?o.mergeDeep:Object.assign;n[r][a]=u({},n[r][a]||{},c)}else n[r][a]=c}))}))}catch(e){Object(o.logError)(e)}function r(e){if(!Object(o.isPlainObject)(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(!Object(o.isPlainObject)(e.config))throw"setBidderConfig bidder options must contain a config object"}}function C(e,t){p=e;try{return t()}finally{w()}}function w(){p=null}return m(),{getCurrentBidder:function(){return p},resetBidder:w,getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0];return e?Object(o.deepAccess)(O(),e):O()}return S.apply(void 0,arguments)},readConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0],t=Object(o.deepClone)(O());return e?Object(o.deepAccess)(t,e):t}return S.apply(void 0,arguments)},setConfig:A,mergeConfig:function(e){if(Object(o.isPlainObject)(e)){var t=Object.keys(e).reduce((function(t,n){var r=O()[n]||{};return t[n]=Object(o.mergeDeep)(r,e[n]),t}),{});return A(function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0)&&(e.every((function(e){return Object(i.isArrayOfNums)(e,2)}))?n=e:Object(i.isArrayOfNums)(e,2)&&n.push(e)),n}function F(e){var t=Object(i.deepClone)(e),n=t.mediaTypes.banner,r=W(n.sizes);return r.length>0?(n.sizes=r,t.sizes=r):(Object(i.logError)("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 t.mediaTypes.banner),t}function L(e){var t=Object(i.deepClone)(e),n=t.mediaTypes.video;if(n.playerSize){var r="number"==typeof n.playerSize[0]?2:1,o=W(n.playerSize,r);o.length>0?(2===r&&Object(i.logInfo)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),n.playerSize=o,t.sizes=o):(Object(i.logError)("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 t.mediaTypes.video.playerSize)}return t}function V(e){var t=Object(i.deepClone)(e),n=t.mediaTypes.native;return n.image&&n.image.sizes&&!Array.isArray(n.image.sizes)&&(Object(i.logError)("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete t.mediaTypes.native.image.sizes),n.image&&n.image.aspect_ratios&&!Array.isArray(n.image.aspect_ratios)&&(Object(i.logError)("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete t.mediaTypes.native.image.aspect_ratios),n.icon&&n.icon.sizes&&!Array.isArray(n.icon.sizes)&&(Object(i.logError)("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete t.mediaTypes.native.icon.sizes),t}function z(e,t){var n=Object(i.deepAccess)(e,"mediaTypes.".concat(t,".pos"));if(!Object(i.isNumber)(n)||isNaN(n)||!isFinite(n)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");Object(i.logWarn)(r),T.emit(A.EVENTS.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[t].pos}return e}Object(f.d)(),E.bidderSettings=E.bidderSettings||{},E.libLoaded=!0,E.version="v6.16.0",Object(i.logInfo)("Prebid.js v6.16.0 loaded"),E.installedModules=E.installedModules||[],E.adUnits=E.adUnits||[],E.triggerUserSyncs=I;var H={validateBannerMediaType:F,validateVideoMediaType:L,validateNativeMediaType:V,validateSizes:W},K=Object(s.b)("sync",(function(e){var t=[];return e.forEach((function(e){var n,r,o,a=e.mediaTypes,c=e.bids;if(c&&Object(i.isArray)(c))if(a&&0!==Object.keys(a).length){a.banner&&(n=F(e),a.banner.hasOwnProperty("pos")&&(n=z(n,"banner"))),a.video&&(r=L(n||e),a.video.hasOwnProperty("pos")&&(r=z(r,"video"))),a.native&&(o=V(r||(n||e)));var u=j({},n,r,o);t.push(u)}else Object(i.logError)("Detected adUnit.code '".concat(e.code,"' did not have a 'mediaTypes' object defined. This is a required field for the auction, so this adUnit has been removed."));else Object(i.logError)("Detected adUnit.code '".concat(e.code,"' did not have 'adUnit.bids' defined or 'adUnit.bids' is not an array. Removing adUnit from auction."))})),t}),"checkAdUnitSetup");function Y(e){var t=u.a[e]().filter(i.bind.call(i.adUnitsFilter,this,u.a.getAdUnitCodes())),n=u.a.getLastAuctionId();return t.map((function(e){return e.adUnitCode})).filter(i.uniques).map((function(e){return t.filter((function(t){return t.auctionId===n&&t.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return t={},n=e[0].adUnitCode,r={bids:e},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r})).reduce((function(e,t){return j(e,t)}),{})}function J(e,t,n){var r=t.querySelector(n);e.parentNode&&e.parentNode===r||Object(i.insertElement)(e,t,n)}function Q(e,t){function n(e){for(var t;t=e.shift();)t()}n(v.c),n($),e.call(this,t)}E.getAdserverTargetingForAdUnitCodeStr=function(e){if(Object(i.logInfo)("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=E.getAdserverTargetingForAdUnitCode(e);return Object(i.transformAdServerTargetingObj)(t)}Object(i.logMessage)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},E.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var t=u.a.getAllBidsForAdUnitCode(e).filter(d.a.isUnusedBid).filter(d.a.isBidNotExpired);return t.length?t.reduce(i.getHighestCpm):{}}Object(i.logMessage)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},E.getAdserverTargetingForAdUnitCode=function(e){return E.getAdserverTargeting(e)[e]},E.getAdserverTargeting=function(e){return Object(i.logInfo)("Invoking pbjs.getAdserverTargeting",arguments),d.d.getAllTargeting(e)},E.getConsentMetadata=function(){return Object(i.logInfo)("Invoking pbjs.getConsentMetadata"),{gdpr:h.gdprDataHandler.getConsentMeta(),usp:h.uspDataHandler.getConsentMeta(),coppa:!!c.b.getConfig("coppa")}},E.getNoBids=function(){return Object(i.logInfo)("Invoking pbjs.getNoBids",arguments),Y("getNoBids")},E.getNoBidsForAdUnitCode=function(e){return{bids:u.a.getNoBids().filter((function(t){return t.adUnitCode===e}))}},E.getBidResponses=function(){return Object(i.logInfo)("Invoking pbjs.getBidResponses",arguments),Y("getBidsReceived")},E.getBidResponsesForAdUnitCode=function(e){return{bids:u.a.getBidsReceived().filter((function(t){return t.adUnitCode===e}))}},E.setTargetingForGPTAsync=function(e,t){if(Object(i.logInfo)("Invoking pbjs.setTargetingForGPTAsync",arguments),Object(i.isGptPubadsDefined)()){var n=d.d.getAllTargeting(e);d.d.resetPresetTargeting(e,t),d.d.setTargetingForGPT(n,t),Object.keys(n).forEach((function(e){Object.keys(n[e]).forEach((function(t){"hb_adid"===t&&u.a.setStatusForBids(n[e][t],A.BID_STATUS.BID_TARGETING_SET)}))})),T.emit(U,n)}else Object(i.logError)("window.googletag is not defined on the page")},E.setTargetingForAst=function(e){Object(i.logInfo)("Invoking pbjs.setTargetingForAn",arguments),d.d.isApntagDefined()?(d.d.setTargetingForAst(e),T.emit(U,d.d.getAllTargeting())):Object(i.logError)("window.apntag is not defined on the page")},E.renderAd=Object(s.b)("async",(function(e,t,n){if(Object(i.logInfo)("Invoking pbjs.renderAd",arguments),Object(i.logMessage)("Calling renderAd with adId :"+t),e&&t)try{var r=u.a.findBidByAdId(t);if(r){var o=!0;if(r&&r.status===A.BID_STATUS.RENDERED&&(Object(i.logWarn)("Ad id ".concat(r.adId," has been rendered before")),T.emit(R,r),Object(i.deepAccess)(c.b.getConfig("auctionOptions"),"suppressStaleRender")&&(o=!1)),o){if(r.ad=Object(i.replaceAuctionPrice)(r.ad,r.originalCpm||r.cpm),r.adUrl=Object(i.replaceAuctionPrice)(r.adUrl,r.originalCpm||r.cpm),n&&n.clickThrough){var a=n.clickThrough;r.ad=Object(i.replaceClickThrough)(r.ad,a),r.adUrl=Object(i.replaceClickThrough)(r.adUrl,a)}u.a.addWinningBid(r),T.emit(B,r);var d=r.height,s=r.width,f=r.ad,l=r.mediaType,b=r.adUrl,p=r.renderer,v=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if(Object(i.insertElement)(v,e,"html"),Object(g.c)(p))Object(g.b)(p,r),J(v,e,"html"),Object(y.b)({doc:e,bid:r,id:t});else if(e===document&&!Object(i.inIframe)()||"video"===l){var h="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document.");Object(y.a)({reason:k,message:h,bid:r,id:t})}else if(f){if(navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf("firefox/")>-1){var m=/firefox\/([\d\.]+)/,O=navigator.userAgent.toLowerCase().match(m)[1];O&&parseInt(O,10)<67&&e.open("text/html","replace")}e.write(f),e.close(),G(e,s,d),J(v,e,"html"),Object(i.callBurl)(r),Object(y.b)({doc:e,bid:r,id:t})}else if(b){var j=Object(i.createInvisibleIframe)();j.height=d,j.width=s,j.style.display="inline",j.style.overflow="hidden",j.src=b,Object(i.insertElement)(j,e,"body"),G(e,s,d),J(v,e,"html"),Object(i.callBurl)(r),Object(y.b)({doc:e,bid:r,id:t})}else{var E="Error trying to write ad. No ad for bid response id: ".concat(t);Object(y.a)({reason:N,message:E,bid:r,id:t})}}}else{var S="Error trying to write ad. Cannot find ad by given id : ".concat(t);Object(y.a)({reason:x,message:S,id:t})}}catch(e){var I="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);Object(y.a)({reason:P,message:I,id:t})}else{var C="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");Object(y.a)({reason:q,message:C,id:t})}})),E.removeAdUnit=function(e){(Object(i.logInfo)("Invoking pbjs.removeAdUnit",arguments),e)?(Object(i.isArray)(e)?e:[e]).forEach((function(e){for(var t=E.adUnits.length-1;t>=0;t--)E.adUnits[t].code===e&&E.adUnits.splice(t,1)})):E.adUnits=[]},E.requestBids=Object(s.b)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,o=e.adUnitCodes,a=e.labels,s=e.auctionId;T.emit(_);var f=n||c.b.getConfig("bidderTimeout");r=r&&c.b.convertAdUnitFpd(Object(i.isArray)(r)?r:[r])||E.adUnits,Object(i.logInfo)("Invoking pbjs.requestBids",arguments);var g=[],p=[];if(c.b.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(g=Array.isArray(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])})),g.forEach((function(e){p.push.apply(p,m(e.bidders))})),r=K(r),o&&o.length?r=r.filter((function(e){return Object(l.d)(o,e.code)})):o=r&&r.map((function(e){return e.code})),r.forEach((function(e){var t=Object.keys(e.mediaTypes||{banner:"banner"}),n=e.bids.map((function(e){return e.bidder})),r=S.bidderRegistry,o=p?n.filter((function(e){return!Object(l.d)(p,e)})):n;e.transactionId=Object(i.generateUUID)(),o.forEach((function(n){var o=r[n],a=o&&o.getSpec&&o.getSpec(),c=a&&a.supportedMediaTypes||["banner"];t.some((function(e){return Object(l.d)(c,e)}))?b.a.incrementBidderRequestsCounter(e.code,n):(Object(i.logWarn)(Object(i.unsupportedBidderMessage)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),b.a.incrementRequestsCounter(e.code)})),r&&0!==r.length){var v=u.a.createAuction({adUnits:r,adUnitCodes:o,callback:t,cbTimeout:f,labels:a,auctionId:s}),y=r.length;y>15&&Object(i.logInfo)("Current auction ".concat(v.getAuctionId()," contains ").concat(y," adUnits."),r),o.forEach((function(e){return d.d.setLatestAuctionForAdUnit(e,v.getAuctionId())})),v.callBids()}else if(Object(i.logMessage)("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){Object(i.logError)("Error executing bidsBackHandler",null,e)}})),E.requestBids.before(Q,49),E.addAdUnits=function(e){Object(i.logInfo)("Invoking pbjs.addAdUnits",arguments),E.adUnits.push.apply(E.adUnits,c.b.convertAdUnitFpd(Object(i.isArray)(e)?e:[e])),T.emit(w)},E.onEvent=function(e,t,n){Object(i.logInfo)("Invoking pbjs.onEvent",arguments),Object(i.isFn)(t)?!n||M[e].call(null,n)?T.on(e,t,n):Object(i.logError)('The id provided is not valid for event "'+e+'" and no handler was set.'):Object(i.logError)('The event handler provided is not a function and was not set on event "'+e+'".')},E.offEvent=function(e,t,n){Object(i.logInfo)("Invoking pbjs.offEvent",arguments),n&&!M[e].call(null,n)||T.off(e,t,n)},E.getEvents=function(){return Object(i.logInfo)("Invoking pbjs.getEvents"),T.getEvents()},E.registerBidAdapter=function(e,t){Object(i.logInfo)("Invoking pbjs.registerBidAdapter",arguments);try{S.registerBidAdapter(e(),t)}catch(e){Object(i.logError)("Error registering bidder adapter : "+e.message)}},E.registerAnalyticsAdapter=function(e){Object(i.logInfo)("Invoking pbjs.registerAnalyticsAdapter",arguments);try{S.registerAnalyticsAdapter(e)}catch(e){Object(i.logError)("Error registering analytics adapter : "+e.message)}},E.createBid=function(e){return Object(i.logInfo)("Invoking pbjs.createBid",arguments),Object(p.a)(e)};var $=[],X=Object(s.b)("async",(function(e){e&&!Object(i.isEmpty)(e)?(Object(i.logInfo)("Invoking pbjs.enableAnalytics for: ",e),S.enableAnalytics(e)):Object(i.logError)("pbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function Z(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){Object(i.logError)("Error processing command :","prebid.js",e)}}))}E.enableAnalytics=function(e){$.push(X.bind(this,e))},E.aliasBidder=function(e,t,n){Object(i.logInfo)("Invoking pbjs.aliasBidder",arguments),e&&t?S.aliasBidAdapter(e,t,n):Object(i.logError)("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},E.getAllWinningBids=function(){return u.a.getAllWinningBids()},E.getAllPrebidWinningBids=function(){return u.a.getBidsReceived().filter((function(e){return e.status===A.BID_STATUS.BID_TARGETING_SET}))},E.getHighestCpmBids=function(e){return d.d.getWinningBids(e)},E.markWinningBidAsUsed=function(e){var t=[];e.adUnitCode&&e.adId?t=u.a.getBidsReceived().filter((function(t){return t.adId===e.adId&&t.adUnitCode===e.adUnitCode})):e.adUnitCode?t=d.d.getWinningBids(e.adUnitCode):e.adId?t=u.a.getBidsReceived().filter((function(t){return t.adId===e.adId})):Object(i.logWarn)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),t.length>0&&(t[0].status=A.BID_STATUS.RENDERED)},E.getConfig=c.b.getConfig,E.readConfig=c.b.readConfig,E.mergeConfig=c.b.mergeConfig,E.mergeBidderConfig=c.b.mergeBidderConfig,E.setConfig=c.b.setConfig,E.setBidderConfig=c.b.setBidderConfig,E.que.push((function(){return Object(o.a)()})),E.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){Object(i.logError)("Error processing command :",e.message,e.stack)}else Object(i.logError)("Commands written into pbjs.cmd.push must be wrapped in a function")},E.que.push=E.cmd.push,E.processQueue=function(){s.b.ready(),Z(E.que),Z(E.cmd)},t.default=E},35:function(e,t,n){"use strict";t.a=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},36:function(e,t,n){"use strict";t.b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,n=s(t);if(!n.shouldFilter)return!0;return!!n.sizesSupported[e]},t.a=function(e,t){return e.reduce((function(e,n){var r=d(u(n,t),n.mediaTypes,n.sizes),o=r.active,a=r.mediaTypes,c=r.filterResults;return o?(c&&Object(i.logInfo)('Size mapping filtered adUnit "'.concat(n.code,'" banner sizes from '),c.before,"to ",c.after),n.mediaTypes=a,n.bids=n.bids.reduce((function(e,r){var o=d(u(r,t),n.mediaTypes),a=o.active,c=o.mediaTypes,s=o.filterResults;return a?(s&&(Object(i.logInfo)('Size mapping filtered adUnit "'.concat(n.code,'" bidder "').concat(r.bidder,'" banner sizes from '),s.before,"to ",s.after),r.mediaTypes=c),e.push(r)):Object(i.logInfo)('Size mapping deactivated adUnit "'.concat(n.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(n)):Object(i.logInfo)('Size mapping disabled adUnit "'.concat(n.code,'"')),e}),[])};var r=n(3),i=n(0),o=n(6);function a(e){return(a="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})(e)}var c=[];function u(e,t){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:t}:{labelAll:!1,labels:e.labelAny,activeLabels:t}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,a=void 0!==r&&r,u=e.activeLabels,d=void 0===u?[]:u,f=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,b=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c,g=s(b);f=Object(i.isPlainObject)(f)?Object(i.deepClone)(f):l?{banner:{sizes:l}}:{};var p=Object(i.deepAccess)(f,"banner.sizes");g.shouldFilter&&p&&(f.banner.sizes=p.filter((function(e){return g.sizesSupported[e]})));var v=Object.keys(f),y={active:v.every((function(e){return"banner"!==e}))||v.some((function(e){return"banner"===e}))&&Object(i.deepAccess)(f,"banner.sizes.length")>0&&(0===n.length||!a&&(n.some((function(e){return g.labels[e]}))||n.some((function(e){return Object(o.d)(d,e)})))||a&&n.reduce((function(e,t){return e?g.labels[t]||Object(o.d)(d,t):e}),!0)),mediaTypes:f};return p&&p.length!==f.banner.sizes.length&&(y.filterResults={before:p,after:f.banner.sizes}),y}function s(e){return e.reduce((function(e,t){if("object"===a(t)&&"string"==typeof t.mediaQuery&&t.mediaQuery.length>0){var n=!1;try{n=Object(i.getWindowTop)().matchMedia(t.mediaQuery).matches}catch(e){Object(i.logWarn)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),n=matchMedia(t.mediaQuery).matches}n&&(Array.isArray(t.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(n){return(t[n]||[]).forEach((function(t){return e[n][t]=!0}))})))}else Object(i.logWarn)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}r.b.getConfig("sizeConfig",(function(e){return function(e){c=e}(e.sizeConfig)}))},37:function(e,t,n){"use strict";t.b=function(e,t){var n={puts:e.map(c)};Object(r.a)(i.b.getConfig("cache.url"),function(e){return{success:function(t){var n;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,n){e(new Error("Error storing video ad in the cache: ".concat(t,": ").concat(JSON.stringify(n))),[])}}}(t),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0})},t.a=function(e){return"".concat(i.b.getConfig("cache.url"),"?uuid=").concat(e)};var r=n(4),i=n(3),o=n(15);function a(e,t){var n=t?""):"";return'\n \n \n prebid.org wrapper\n \n ").concat(n,"\n \n \n \n ")}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,r=void 0===n?o.a.index:n,c=e.vastXml?e.vastXml:a(e.vastUrl,e.vastImpUrl),u=r.getAuction(e),d={type:"xml",value:c,ttlseconds:Number(e.ttl)};return i.b.getConfig("cache.vasttrack")&&(d.bidder=e.bidder,d.bidid=e.requestId,d.aid=e.auctionId),null!=u&&(d.timestamp=u.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(d.key=e.customCacheKey),d}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i={};function o(e,t,n){var r=function(e,t){var n=i[e]=i[e]||{bidders:{}};return t?n.bidders[t]=n.bidders[t]||{}:n}(e,n);return r[t]=(r[t]||0)+1,r[t]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,t){return o(e,"requestsCounter",t)},incrementBidderWinsCounter:function(e,t){return o(e,"winsCounter",t)},getRequestsCounter:function(e){return Object(r.deepAccess)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,t){return Object(r.deepAccess)(i,"".concat(e,".bidders.").concat(t,".requestsCounter"))||0},getBidderWinsCounter:function(e,t){return Object(r.deepAccess)(i,"".concat(e,".bidders.").concat(t,".winsCounter"))||0}}},39:function(e,t,n){"use strict";t.a=function(e){var t=e.reason,n=e.message,i=e.bid,a=e.id,c={reason:t,message:n};i&&(c.bid=i);a&&(c.adId=a);Object(r.logError)(n),o.a.emit(u,c)},t.b=function(e){var t=e.doc,n=e.bid,r=e.id,i={doc:t};n&&(i.bid=n);r&&(i.adId=r);o.a.emit(d,i)};var r=n(0),i=n(11),o=n.n(i),a=n(5),c=n.n(a).a.EVENTS,u=c.AD_RENDER_FAILED,d=c.AD_RENDER_SUCCEEDED},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),t.b=u;var r=n(3),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:3e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.request,c=t.done;return function(t,u,d){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var f,l=s.method||(d?"POST":"GET"),b=document.createElement("a");b.href=t;var g="object"===a(u)&&null!==u?u:{success:function(){Object(i.logMessage)("xhr success")},error:function(e){Object(i.logError)("xhr error",null,e)}};if("function"==typeof u&&(g.success=u),(f=new window.XMLHttpRequest).onreadystatechange=function(){if(4===f.readyState){"function"==typeof c&&c(b.origin);var e=f.status;e>=200&&e<300||304===e?g.success(f.responseText,f):g.error(f.statusText,f)}},r.b.getConfig("disableAjaxTimeout")||(f.ontimeout=function(){Object(i.logError)(" xhr timeout after ",f.timeout,"ms")}),"GET"===l&&d){var p=Object(i.parseUrl)(t,s);o(p.search,d),t=Object(i.buildUrl)(p)}f.open(l,t,!0),r.b.getConfig("disableAjaxTimeout")||(f.timeout=e),s.withCredentials&&(f.withCredentials=!0),Object(i._each)(s.customHeaders,(function(e,t){f.setRequestHeader(t,e)})),s.preflight&&f.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.setRequestHeader("Content-Type",s.contentType||"text/plain"),"function"==typeof n&&n(b.origin),"POST"===l&&d?f.send(d):f.send()}catch(e){Object(i.logError)("xhr construction",e),"object"===a(u)&&null!==u&&u.error(e)}}}},40:function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return A})),t.d=function(e){var t;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(l))}catch(e){}t&&v(t,!0)};var r,i,o=n(3),a=n(18),c=n(9),u=n(0),d=Object(u.prefixLog)("DEBUG:"),s=d.logWarn,f=d.logMessage,l="pbjs:debugging",b=[function(e){p(),function(e){r=j.bind(e),a.c.before(r,5),i=E.bind(e),a.e.before(i,5)}(e)}],g=[p];function p(){a.c.getHooks({hook:r}).remove(),a.e.getHooks({hook:i}).remove()}function v(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o.b.setConfig({debug:!0}),b.forEach((function(t){return t(e)})),f("bidder overrides enabled".concat(t?" from session":""))}function y(){g.forEach((function(e){return e()})),f("bidder overrides disabled")}function h(e,t,n){return!(!e.bidder||e.bidder===t)||!(!e.adUnitCode||e.adUnitCode===n)}function m(e,t){return Array.isArray(e)&&-1===e.indexOf(t)}function O(e,t,n){return Object.keys(e).filter((function(e){return-1===["adUnitCode","bidder"].indexOf(e)})).reduce((function(t,r){return f("bidder overrides changed '".concat(t.adUnitCode,"/").concat(t.bidderCode,"' ").concat(n,".").concat(r," from '").concat(t[r],".js' to '").concat(e[r],"'")),t[r]=e[r],t.isDebug=!0,t}),t)}function j(e,t,n){var r=this;m(r.bidders,n.bidderCode)?s("bidder '".concat(n.bidderCode,"' excluded from auction by bidder overrides")):(Array.isArray(r.bids)&&r.bids.forEach((function(e){h(e,n.bidderCode,t)||O(e,n,"bidder")})),e(t,n))}function E(e,t){var n=this,r=t.filter((function(e){return!m(n.bidders,e.bidderCode)||(s("bidRequest '".concat(e.bidderCode,"' excluded from auction by bidder overrides")),!1)}));Array.isArray(n.bidRequests)&&r.forEach((function(e){n.bidRequests.forEach((function(t){e.bids.forEach((function(n){h(t,e.bidderCode,n.adUnitCode)||O(t,n,"bidRequest")}))}))})),e(r)}var A=Object(c.b)("sync",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.sessionStorage,r=void 0===n?window.sessionStorage:n;if(e.enabled)try{r.setItem(l,JSON.stringify(e))}catch(e){}else try{r.removeItem(l)}catch(e){}}));o.b.getConfig("debugging",(function(e){return function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).sessionStorage,n=void 0===t?window.sessionStorage:t;A(e,{sessionStorage:n}),e.enabled?v(e):y()}(e.debugging)}))},44:function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},45:function(e,t,n){"use strict";t.a=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r-1?[]:{}}},47:function(e,t){ /* * @license MIT * Fun Hooks v0.9.10 * (c) @snapwich */ c.SYNC=1,c.ASYNC=2,c.QUEUE=4;var n=Object.freeze({useProxy:!0,ready:0}),r=new WeakMap,i="2,1,0"===[1].reduce((function(e,t,n){return[e,t,n]}),2).toString()?Array.prototype.reduce:function(e,t){var n,r=Object(this),i=r.length>>>0,o=0;if(t)n=t;else{for(;o1&&void 0!==arguments[1]?arguments[1]:Object(r.timestamp)();this.generatedTime=t,b(this,m).call(this,e)}},{key:"getConsentData",value:function(){return b(this,y)}}]),e}(),E=function(e){o(n,e);var t=c(n);function n(){return s(this,n),t.apply(this,arguments)}return l(n,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),n}(j),A=function(e){o(n,e);var t=c(n);function n(){return s(this,n),t.apply(this,arguments)}return l(n,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:Object(r.isStr)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),n}(j)},5:function(e,t){e.exports={JSON_MAPPING:{PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},DEBUG_MODE:"pbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",NO_BID:"noBid",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"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:{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"},DEFAULT_TARGETING_KEYS:{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"},NATIVE_KEYS:{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"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"",SYNCED_BIDDERS_KEY:"pbjsSyncs"},BID_STATUS:{BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"}}},6:function(e,t,n){"use strict";t.d=function(e,t,n){return e&&e.includes(t,n)||!1},t.a=function(){return Array.from.apply(Array,arguments)},t.b=function(e,t,n){return e&&e.find(t,n)},t.c=function(e,t,n){return e&&e.findIndex(t,n)}},8:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return s})),t.a=function(e){return d({moduleName:e,moduleType:"core"})},t.b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gvlid,n=e.moduleName,r=e.bidderCode;if(arguments.length>1||arguments.length>0&&!Object(i.isPlainObject)(arguments[0]))throw new Error("Invalid invocation for getStorageManager");return d({gvlid:t,moduleName:n,bidderCode:r})};var r=n(9),i=n(0),o=n(6),a=n(21),c=["core","prebid-module"],u=[];function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gvlid,n=e.moduleName,r=e.bidderCode,d=e.moduleType,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=f.bidderSettings,b=void 0===l?a.a:l;function g(){if(null==r)return!1;var e=b.get(r,"storageAllowed");return null!=e&&!e}function p(e){if(Object(o.d)(c,d)){return e({valid:!0})}if(g()){Object(i.logInfo)("bidderSettings denied access to device storage for bidder '".concat(r,"'"));return e({valid:!1})}var a;return s(t,r||n,{hasEnforcementHook:!1},(function(t){if(t&&t.hasEnforcementHook)a=e(t);else{var n={hasEnforcementHook:!1,valid:Object(i.hasDeviceAccess)()};a=e(n)}})),a}var v=function(e,t,n,r,i,o){var a=function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",c=n&&""!==n?" ;expires=".concat(n):"",u=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(t)).concat(c,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(u)}};if(!o||"function"!=typeof o)return p(a);u.push((function(){var e=p(a);o(e)}))},y=function(e,t){var n=function(t){if(t&&t.valid){var n=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return n?decodeURIComponent(n[2]):null}return null};if(!t||"function"!=typeof t)return p(n);u.push((function(){var e=p(n);t(e)}))},h=function(e){var t=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};if(!e||"function"!=typeof e)return p(t);u.push((function(){var n=p(t);e(n)}))},m=function(e){var t=function(e){return!(!e||!e.valid)&&(!!Object(i.checkCookieSupport)()||(window.document.cookie="prebid.cookieTest",-1!==window.document.cookie.indexOf("prebid.cookieTest")))};if(!e||"function"!=typeof e)return p(t);u.push((function(){var n=p(t);e(n)}))},O=function(e,t,n){var r=function(n){n&&n.valid&&A()&&window.localStorage.setItem(e,t)};if(!n||"function"!=typeof n)return p(r);u.push((function(){var e=p(r);n(e)}))},j=function(e,t){var n=function(t){return t&&t.valid&&A()?window.localStorage.getItem(e):null};if(!t||"function"!=typeof t)return p(n);u.push((function(){var e=p(n);t(e)}))},E=function(e,t){var n=function(t){t&&t.valid&&A()&&window.localStorage.removeItem(e)};if(!t||"function"!=typeof t)return p(n);u.push((function(){var e=p(n);t(e)}))},A=function(e){var t=function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){Object(i.logError)("Local storage api disabled")}return!1};if(!e||"function"!=typeof e)return p(t);u.push((function(){var n=p(t);e(n)}))},S=function(e,t){var n=function(t){if(t&&t.valid){var n=[];if(Object(i.hasDeviceAccess)())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&&n.push(decodeURIComponent(o.slice(a+1)))}return n}};if(!t||"function"!=typeof t)return p(n);u.push((function(){var e=p(n);t(e)}))};return{setCookie:v,getCookie:y,localStorageIsEnabled:h,cookiesAreEnabled:m,setDataInLocalStorage:O,getDataFromLocalStorage:j,removeDataFromLocalStorage:E,hasLocalStorage:A,findSimilarCookies:S}}var s=Object(r.b)("async",(function(e,t,n,r){r(n)}),"validateStorageEnforcement")},887:function(e,t,n){e.exports=n(33)},9:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),t.d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15,r=e.getHooks({hook:t});0===r.length&&e.before(t,n)},t.c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.postInstallAllowed,i=void 0!==r&&r;c("async",(function(n){n.forEach((function(e){return t.apply(void 0,o(e))})),i&&(d[e]=t)}),e)([])},t.e=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n ").concat(i)),i}return Object(o.logWarn)("[33Across Adapter] Unable to locate element for ad unit code: '".concat(e,"'")),null}(s))),i=function(e){if(Object(o.isArray)(e)&&2===e.length&&!Object(o.isArray)(e[0]))return[x(e)];return e.map(x)}(r.sizes);var s;t="function"==typeof e.getFloor?i.map((function(t){var r,n=C(e,t,a.b);return n&&(r={ext:{ttx:{bidfloors:[n]}}}),d({},t,r)})):i;var c=function(e){return e.reduce((function(e,t){return t.h*t.w2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h;return"visible"===t.document.visibilityState?E(e,t,{w:n,h:i}):0}(n,Object(o.getWindowTop)(),c):y);return{format:t,ext:u}}(e)));Object(o.deepAccess)(e,"mediaTypes.video")&&(t.video=function(e){var t=Object(o.deepAccess)(e,"mediaTypes.video",{}),r=Object(o.deepAccess)(e,"params.video",{}),n=c(c({},t),r),i={},s=x(n.playerSize[0]),u=s.w,p=s.h;i.w=u,i.h=p,h.forEach((function(e){n.hasOwnProperty(e)&&(i[e]=n[e])}));var f=S(e);i.placement=i.placement||2,f===g&&(i.startdelay=i.startdelay||0,i.placement=1);if("function"==typeof e.getFloor){var l=C(e,{w:i.w,h:i.h},a.d);l&&d(i,{ext:{ttx:{bidfloors:[l]}}})}return i}(e));return t}(e))})),p.site={id:l},s&&(p.site.page=s),p.id=t[0].auctionId,n.consentString&&(p.user=w(p.user,{consent:n.consentString})),Array.isArray(t[0].userIdAsEids)&&t[0].userIdAsEids.length>0&&(p.user=w(p.user,{eids:t[0].userIdAsEids})),p.regs=w(p.regs,{gdpr:Number(n.gdprApplies)}),i&&(p.regs=w(p.regs,{us_privacy:i})),p.ext={ttx:{prebidStartedAt:Date.now(),caller:[{name:"prebidjs",version:"6.16.0"}]}},t[0].schain&&(p.source=w(p.source,{schain:t[0].schain})),1===m&&(p.test=1);return{method:"POST",url:u&&u.url||"".concat("","?guid=").concat(l),data:JSON.stringify(p),options:{contentType:"text/plain",withCredentials:!0}}}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return Object(o.mergeDeep)({},e,{ext:t})}function x(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}function I(e){return Object(o.mergeDeep)({},e,{params:{productId:S(e)}})}function S(e){var t=e.params,r=e.mediaTypes,n=r.banner,i=r.video;return i&&!n&&"instream"===i.context?g:t.productId===b?t.productId:m}function C(e,t,r){var n=e.getFloor({currency:"USD",mediaType:r,size:[t.w,t.h]});if(!isNaN(n.floor)&&"USD"===n.currency)return n.floor}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.w,n=t.h,i=e.getBoundingClientRect(),o=i.width,a=i.height,s=i.left,c=i.top,u=i.right,d=i.bottom;return(0===o||0===a)&&r&&n&&(o=r,a=n,u=s+r,d=c+n),{width:o,height:a,left:s,top:c,right:u,bottom:d}}function U(e){for(var t={left:e[0].left,right:e[0].right,top:e[0].top,bottom:e[0].bottom},r=1;r=t.right)return null;if(t.top=Math.max(t.top,e[r].top),t.bottom=Math.min(t.bottom,e[r].bottom),t.top>=t.bottom)return null}return t.width=t.right-t.left,t.height=t.bottom-t.top,t}function E(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h,o=T(e,{w:n,h:i}),a=U([{left:0,top:0,right:t.innerWidth,bottom:t.innerHeight},o]);return null!==a?a.width*(o.width*o.height)*100:0}var P={NON_MEASURABLE:y,code:p,supportedMediaTypes:[a.b,a.d],gvlid:58,isBidRequestValid:function(e){return function(e){if(e.bidder!==p||void 0===e.params)return!1;if(!function(e){if(null===(Object(o.deepAccess)(e,"params.siteId","")||"").trim().match(l))return!1;return!0}(e))return!1;return!0}(e)&&function(e){var t=Object(o.deepAccess)(e,"mediaTypes.banner");if(void 0===t)return!0;if(!Array.isArray(t.sizes))return!1;return!0}(e)&&function(e){var t=Object(o.deepAccess)(e,"mediaTypes.video"),r=Object(o.deepAccess)(e,"params.video",{});if(void 0===t)return!0;if(!Array.isArray(t.playerSize))return!1;if(!t.context)return!1;var n=c(c({},t),r);if(!Array.isArray(n.mimes)||0===n.mimes.length)return!1;if(!Array.isArray(n.protocols)||0===n.protocols.length)return!1;if(void 0!==n.placement&&"number"!=typeof n.placement)return!1;if("instream"===t.context&&void 0!==n.startdelay&&"number"!=typeof n.startdelay)return!1;return!0}(e)},buildRequests:function(e,t){var r=function(e,t){var r=d({},i.b.getConfig("ttxSettings")),n=d({consentString:void 0,gdprApplies:!1},t&&t.gdprConsent),a=t&&t.uspConsent,s=t&&t.refererInfo?t.refererInfo.referer:void 0;return v.uniqueSiteIds=e.map((function(e){return e.params.siteId})).filter(o.uniques),{ttxSettings:r,gdprConsent:n,uspConsent:a,pageUrl:s}}(e,t),n=r.ttxSettings,a=r.gdprConsent,s=r.uspConsent,c=r.pageUrl,u=function(e,t){var r=t.map(I),n=e&&e.enableSRAMode;return function(e,t){var r={};return e.forEach((function(e){var n=t(e);r[n]=r[n]||[],r[n].push(e)})),r}(r,!0===n?O:j)}(n,e),p=[];for(var f in u)p.push(A({bidRequests:u[f],gdprConsent:a,uspConsent:s,pageUrl:c,ttxSettings:n}));return p},interpretResponse:function(e,t){var r=e.body,n=r.seatbid,i=r.cur,s=void 0===i?"USD":i;return Object(o.isArray)(n)?n.filter((function(e){return Object(o.isArray)(e.bid)&&e.bid.length>0})).reduce((function(e,t){return e.concat(t.bid.map((function(e){return function(e,t){var r=e.adomain&&e.adomain.length,n={requestId:e.impid,bidderCode:p,cpm:e.price,width:e.w,height:e.h,ad:e.adm,ttl:e.ttl||60,creativeId:e.crid,mediaType:Object(o.deepAccess)(e,"ext.ttx.mediaType",a.b),currency:t,netRevenue:!0};r&&(n.meta={advertiserDomains:e.adomain});if(n.mediaType===a.d){"xml"===Object(o.deepAccess)(e,"ext.ttx.vastType","xml")?n.vastXml=n.ad:n.vastUrl=n.ad}return n}(e,s)})))}),[]):[]},getUserSyncs:function(e,t,r,n){var o=e.iframeEnabled?v.uniqueSiteIds.map((function(e){return function(e){var t=e.siteId,r=void 0===t?"zzz000000000003zzz":t,n=e.gdprConsent,o=void 0===n?{}:n,a=e.uspConsent,s=i.b.getConfig("ttxSettings"),c=s&&s.syncUrl||f,u=o.consentString,d=o.gdprApplies,p={type:"iframe",url:"".concat(c,"&id=").concat(r,"&gdpr_consent=").concat(encodeURIComponent(u),"&us_privacy=").concat(encodeURIComponent(a))};"boolean"==typeof d&&(p.url+="&gdpr=".concat(Number(d)));return p}({gdprConsent:r,uspConsent:n,siteId:e})})):[];return v.uniqueSiteIds=[],o}};Object(n.registerBidder)(P),window.pbjs.installedModules.push("33acrossBidAdapter")}},[42]); pbjsChunk([78],{58:function(e,n,t){e.exports=t(59)},59:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(7),a=t(10),o=t(5),u=t.n(o),i=t(0);function c(){return(c=Object.assign||function(e){for(var n=1;n0)for(i>i)>0&&(t=!0,r=p(e));n>=0;)i<4?(e=(this[n]&(1<>(i+=this.DB-4)):(e=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),e>0&&(t=!0),t&&(r+=p(e));return t?r:"0"},e.prototype.fromHexString=function(t){if(null!==t){this.t=0,this.s=0;for(var r=t.length,n=!1,i=0;--r>=0;){var o=d(t,r);o<0?"-"==t.charAt(r)&&(n=!0):(n=!1,0==i?this[this.t++]=o:i+4>this.DB?(this[this.t-1]|=(o&(1<>this.DB-i):this[this.t-1]|=o<=this.DB&&(i-=this.DB))}0,this.clamp(),n&&e.ZERO.subTo(this,this)}},e.prototype.negate=function(){var t=o();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.mod=function(t){var r=o();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.lShiftTo=function(e,t){for(var r=e%this.DB,n=this.DB-r,i=(1<=0;--s)t[s+o+1]=this[s]>>n|a,a=(this[s]&i)<=0;--s)t[s]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},e.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),i=t.abs(),o=n.t;for(r.t=o+i.t;--o>=0;)r[o]=0;for(o=0;o0?(i.lShiftTo(p,c),s.lShiftTo(p,n)):(i.copyTo(c),s.copyTo(n));var f=c.t,m=c[f-1];if(0!=m){var l=m*(1<1?c[f-2]>>this.F2:0),h=(1<=0&&(n[n.t++]=1,n.subTo(O,n)),e.ONE.dlShiftTo(f,O),O.subTo(c,c);c.t=0;){var A=n[--b]==m?this.DM:Math.floor(n[b]*h+(n[b-1]+y)*g);if((n[b]+=c.am(0,A,n,v,0,f))0&&n.rShiftTo(p,n),u<0&&e.ZERO.subTo(n,n)}}},e.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<>n;for(var a=r+1;a>n;n>0&&(t[this.t-r-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=e.s}t.s=n<0?-1:0,n0&&(t[r++]=n),t.t=r,t.clamp()},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new f(t):new m(t),this.exp(e,r)},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var n=o(),i=o(),s=r.convert(this),c=a(t)-1;for(s.copyTo(n);--c>=0;)if(r.sqrTo(n,i),(t&1<0)r.mulTo(i,s,n);else{var u=n;n=i,i=u}return r.revert(n)},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},e.prototype.am1=function(e,t,r,n,i,o){for(;--o>=0;){var a=t*this[e++]+r[n]+i;i=Math.floor(a/67108864),r[n++]=67108863&a}return i},e.prototype.am2=function(e,t,r,n,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,d=s*c+u*a;i=((c=a*c+((32767&d)<<15)+r[n]+(1073741823&i))>>>30)+(d>>>15)+s*u+(i>>>30),r[n++]=1073741823&c}return i},e.prototype.am3=function(e,t,r,n,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,d=s*c+u*a;i=((c=a*c+((16383&d)<<14)+r[n]+i)>>28)+(d>>14)+s*u,r[n++]=268435455&c}return i},e}();function o(){return new i(null)}function a(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=i,t.nbi=o,t.nbits=a;var s,c,u=[];for(s="0".charCodeAt(0),c=0;c<=9;++c)u[s++]=c;for(s="a".charCodeAt(0),c=10;c<36;++c)u[s++]=c;for(s="A".charCodeAt(0),c=10;c<36;++c)u[s++]=c;function d(e,t){var r=u[e.charCodeAt(t)];return null==r?-1:r}t.intAt=d;function p(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}t.int2char=p;t.b64toHex=function(e){var t,r="",n=0,i=0;for(t=0;t>2),i=3&o,n=1):1==n?(r+=p(i<<2|o>>4),i=15&o,n=2):2==n?(r+=p(i),r+=p(o>>2),i=3&o,n=3):(r+=p(i<<2|o>>4),r+=p(15&o),n=0))}return 1==n&&(r+=p(i<<2)),r},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var f=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),m=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=o();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function l(e){var t=o();return t.fromHexString(e.toString()),t}t.nbv=l,i.ZERO=l(0),i.ONE=l(1),"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=i.prototype.am2,n=30):"Netscape"!=navigator.appName?(i.prototype.am=i.prototype.am1,n=26):(i.prototype.am=i.prototype.am3,n=28),i.prototype.DB=n,i.prototype.DM=(1<>>0;a[o-1][14]=Math.floor(u),a[o-1][15]=d;for(s=0;s>>0;var m=n[0],l=n[1],h=n[2],g=n[3],y=n[4],b=n[5],v=n[6],O=n[7];for(f=0;f<64;f++){var A=O+e.z1(y)+e.Ch(y,b,v)+r[f]+p[f],j=e.z0(m)+e.Maj(m,l,h);O=v,v=b,b=y,y=g+A>>>0,g=h,h=l,l=m,m=A+j>>>0}n[0]=n[0]+m>>>0,n[1]=n[1]+l>>>0,n[2]=n[2]+h>>>0,n[3]=n[3]+g>>>0,n[4]=n[4]+y>>>0,n[5]=n[5]+b>>>0,n[6]=n[6]+v>>>0,n[7]=n[7]+O>>>0}var I=new Array(n.length);for(O=0;O>>e|t<<32-e},e.z0=function(t){return e.ROTR(2,t)^e.ROTR(13,t)^e.ROTR(22,t)},e.z1=function(t){return e.ROTR(6,t)^e.ROTR(11,t)^e.ROTR(25,t)},e.q0=function(t){return e.ROTR(7,t)^e.ROTR(18,t)^t>>>3},e.q1=function(t){return e.ROTR(17,t)^e.ROTR(19,t)^t>>>10},e.Ch=function(e,t,r){return e&t^~e&r},e.Maj=function(e,t,r){return e&t^e&r^t&r},e}();t.Sha256=n},60:function(e,t,r){e.exports=r(61)},61:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"ENDPOINT",(function(){return I})),r.d(t,"storage",(function(){return w})),r.d(t,"RENDERER_URL",(function(){return x})),r.d(t,"ORTB_VIDEO_PARAMS",(function(){return S})),r.d(t,"GlobalExchange",(function(){return E})),t.adagioScriptFromLocalStorageCb=k,t.getAdagioScript=U,r.d(t,"internal",(function(){return W})),t.setExtraParam=B,r.d(t,"spec",(function(){return Z}));var n=r(6),i=r(0),o=r(3),a=r(1),s=r(20),c=r(30),u=(r.n(c),r(8)),d=r(17),p=r(14),f=r(2),m=r(12),l=r(16);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t0&&e.every((function(e){return"string"==typeof e}))},minduration:function(e){return Object(i.isInteger)(e)},maxduration:function(e){return Object(i.isInteger)(e)},protocols:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5,6,7,8,9,10].indexOf(e)}))},w:function(e){return Object(i.isInteger)(e)},h:function(e){return Object(i.isInteger)(e)},startdelay:function(e){return Object(i.isInteger)(e)},placement:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5].indexOf(e)}))},linearity:function(e){return-1!==[1,2].indexOf(e)},skip:function(e){return-1!==[0,1].indexOf(e)},skipmin:function(e){return Object(i.isInteger)(e)},skipafter:function(e){return Object(i.isInteger)(e)},sequence:function(e){return Object(i.isInteger)(e)},battr:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==Array.from({length:17},(function(e,t){return t+1})).indexOf(e)}))},maxextended:function(e){return Object(i.isInteger)(e)},minbitrate:function(e){return Object(i.isInteger)(e)},maxbitrate:function(e){return Object(i.isInteger)(e)},boxingallowed:function(e){return-1!==[0,1].indexOf(e)},playbackmethod:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5,6].indexOf(e)}))},playbackend:function(e){return-1!==[1,2,3].indexOf(e)},delivery:function(e){return-1!==[1,2,3].indexOf(e)},pos:function(e){return-1!==[0,1,2,3,4,5,6,7].indexOf(e)},api:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5,6].indexOf(e)}))}},E=(O={},{clearFeatures:function(){v=void 0},clearExchangeData:function(){O={}},getOrSetGlobalFeatures:function(){return v||(v={page_dimensions:F().toString(),viewport_dimensions:V().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:H().toString()}),v},prepareExchangeData:function(e){var t=JSON.parse(e,(function(e,t){if("_"!==e.charAt(0)||""===e)return t})),r=Object(i.deepAccess)(t,"session.rnd"),n=!1;W.isNewSession(t)&&(n=!0,r=Math.random());var o={session:{new:n,rnd:r}};Object(i.mergeDeep)(O,t,o),W.enqueue({action:"session",ts:Date.now(),data:O})},getExchangeData:function(){return O}});function k(e){try{if(!e)return void Object(i.logWarn)("".concat(j," script not found."));var t=/^(\/\/ hash: (.+)\n)(.+\n)$/;if(t.test(e)){var r=e.match(t),n=r[2],o=r[3];Object(c.verify)(o,n,"AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",65537)?(Object(i.logInfo)("".concat(j," start script.")),Function(e)()):(Object(i.logWarn)("".concat(j," invalid script found.")),w.removeDataFromLocalStorage(D))}else Object(i.logWarn)("".concat(j," no hash found.")),w.removeDataFromLocalStorage(D)}catch(e){Object(i.logError)(j,e)}}function U(){w.getDataFromLocalStorage(D,(function(e){W.adagioScriptFromLocalStorageCb(e)})),w.localStorageIsEnabled((function(e){if(e)Object(s.a)("",A);else try{window.localStorage.removeItem(D),window.localStorage.removeItem("adagio")}catch(e){Object(i.logInfo)("".concat(j," unable to clear Adagio scripts from localstorage."))}}))}function C(){try{if(Object(i.getWindowTop)().location.href)return!0}catch(e){return!1}}function R(){return b||Object(i.getWindowSelf)()}function P(){var e=Object(i.getWindowSelf)();return!(!e.$sf||!e.$sf.ext)}function M(e){var t=W.isRendererPreferredFromPublisher(e)?"other":"adagio";return"other"===t&&Object(i.logWarn)("".concat(j," renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior.")),t}var W={enqueue:function(e){var t=W.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.queue.push(e)},getPageviewId:function(){var e=W.getCurrentWindow();return e.ADAGIO=e.ADAGIO||{},e.ADAGIO.pageviewId=e.ADAGIO.pageviewId||Object(i.generateUUID)(),e.ADAGIO.pageviewId},getDevice:function(){var e=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[e],dnt:Object(i.getDNT)()?1:0,geo:{},js:1}},getSite:function(e){var t="",r="",n="",o=e.refererInfo;if(C()){var a=Object(i.getWindowTop)();t=a.location.hostname,r=a.location.href,n=a.document.referrer||""}else if(o.reachedTop){t=Object(i.parseUrl)(o.referer).hostname,r=o.referer}else if(o.stack&&o.stack.length&&o.stack[0]){t=Object(i.parseUrl)(o.stack[0]).hostname}return{domain:t,page:r,referrer:n}},getElementFromTopWindow:function e(t,r){try{if(Object(i.getWindowTop)()===r)return t.getAttribute("id")||t.setAttribute("id","adg-".concat(Object(i.getUniqueIdentifierStr)())),t;var n=r.frameElement,o=n.getBoundingClientRect(),a=t.getBoundingClientRect();return o.width===a.width&&o.height===a.height&&e(n,r.parent)}catch(e){return Object(i.logWarn)("".concat(j),e),!1}},getRefererInfo:d.a,adagioScriptFromLocalStorageCb:k,getCurrentWindow:R,canAccessTopWindow:C,isRendererPreferredFromPublisher:function(e){var t=Object(i.deepAccess)(e,"renderer"),r=!!(t&&t.url&&t.render),n=Object(i.deepAccess)(e,"mediaTypes.video.renderer"),o=!!(n&&n.url&&n.render);return!!(r&&!0!==t.backupOnly||o&&!0!==n.backupOnly)},isNewSession:function(e){var t=Date.now(),r=Object(i.deepAccess)(e,"session",{}),n=r.lastActivityTime,o=r.vwSmplg;return!Object(i.isNumber)(n)||!Object(i.isNumber)(o)||t-n>18e5}};function q(e){e.renderer.push((function(){"function"==typeof window.ADAGIO.outstreamPlayer?window.ADAGIO.outstreamPlayer(e):Object(i.logError)("".concat(j," Adagio outstream player is not defined"))}))}function N(e){if(e.admNative&&Array.isArray(e.admNative.assets)){var t={};e.admNative.assets.forEach((function(e){if(e.title)t.title=e.title.text;else if(e.data)r=e.data,(n={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"}).hasOwnProperty(r.type)&&"string"==typeof r.value&&(t[n[r.type]]=r.value);else if(e.img)switch(e.img.type){case 1:t.icon={url:e.img.url,width:e.img.w,height:e.img.h};break;default:t.image={url:e.img.url,width:e.img.w,height:e.img.h}}var r,n})),e.admNative.link&&(e.admNative.link.url&&(t.clickUrl=e.admNative.link.url),Array.isArray(e.admNative.link.clicktrackers)&&(t.clickTrackers=e.admNative.link.clicktrackers)),Array.isArray(e.admNative.eventtrackers)?(t.impressionTrackers=[],e.admNative.eventtrackers.forEach((function(e){if(1===e.event)switch(e.method){case 1:t.impressionTrackers.push(e.url);break;case 2:t.javascriptTrackers=' How to Get to Church of Inhibition and Avoid Madness in Elden Ring How to Get to Church of Inhibition and Avoid Madness in Elden Ring

Church of Madness in Elden Ring is a location that you need to visit to grab some important items, but on your way towards the church, you will need to hide from the Tower of Madness!

The Lands Between is home to many hostile creatures and deadly spells, but as a Tarnished, you should be able to overcome all the difficulties to become the Elden Lord in Elden Ring.

  • CHECK THIS OUT: Elden Ring’s Lack of Map Markers and Quest Log Has Made For a Freeing Experience

Church of Inhibition is a location on the map that holds three valuable item of Finger Maiden including Fillet, Robe, and Shoes. Here, we will tell you how to approach Church of Inhibition.

How to Get to Church of Inhibition in Elden Ring

The image below showcases the location of the Church of Inhibition in Elden Ring. In order to make your way into the Church of Inhibition, you should pass through the Frenzied Flame Village.

Image from MapGenie

Things get more difficult when you know that there is an invader at the entrance of the church as well as a madness tower near Frenzied Falme Village.

Hopefully, you can run past the invader, but escaping from the madness would be difficult unless you use all your Flasks, but there’s a way to get rid of madness.

How to Avoid Madness

There are two ways that you can get rid of the madness flame on top of a tower near Frenzied Flame Village. You should either craft a number Clarifying Boluses and consume one everytime that your madness bar increases to temporarily neutralize the madness effect, or you should head to the top of the tower to kill the NPCs that flame the create the madness.

Crafting Clarifying Boluses is not an option for those who doesn’t have the related cookbook for it, so, we are going straight to the second method, which is destroyting the madness flame.

On your way towards the tower, you can hide behind rocks or terrain that blocks the tower’s sight on you. This way, your madness affection will decrease, and then you can continue your way towards the tower once you find another rock to hide behind.

Once you reach the foot of the tower, there is a huge rat next to the ladder. Killing the rat is the best option, but you can make your way to the top of the ladder by accpeting a single bite from rat and healing yourself with a flask.

Once you reached the top floor, there are six NPCs that won’t attack you, but you should kill them all to destroy the madness affect. Make sure to do it quickly as your madness bar will increase rapidly when you are right under the flame.

Elden Ring is now available on PS4, PS5, Xbox One, Xbox Series X, Xbox Series S, and PC.

Mehrdad Khayyat

Mehrdad (He/Him) is a Senior Staff Writer at DualShockers. He started writing about video games when he was a high-school student. He's probably one of those rare Rainbow Six Siege fans that have the game installed and updated on every available platform.

Read more of Mehrdad's articles