c.bannerflow.net Open in urlscan Pro
2606:4700::6812:ad65  Public Scan

Submitted URL: http://c.bannerflow.net/a/60d974fb1a1fadc8fd25fabe?did=5ced17d285b1c200019c3fe1&&redirecturl=https://adclick.g.doublecli...
Effective URL: https://c.bannerflow.net/a/60d974fb1a1fadc8fd25fabe?did=5ced17d285b1c200019c3fe1&&redirecturl=https://adclick.g.doublecli...
Submission: On July 07 via api from DE — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(function(){"use strict";var __webpack_modules__={614479:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.AdScriptLoader=void 0;var r=i(672700),e=function(){function t(t){var n=this;this.ad=t,this.scripts=[],t.once(r.AdEvents.PageReady,(function(){n.pageReady=!0})),this.i(),this.h()}return t.prototype.h=function(){var t=window;if(t._bannerflow)for(var n=t._bannerflow.adScripts||[],i=0;i<n.length;i++)try{var r=new n[i](this.ad);this.scripts.push(r)}catch(e){console.error("Could not initiate AdScript, reason: ",e)}},t.prototype.i=function(){for(var t=this.ad.data.adScripts||this.ad.data.customScripts||[],n=0;n<t.length;n++)try{var i=new(new Function("".concat(t[n],"; return AdScript;"))())(this.ad);this.scripts.push(i)}catch(r){console.error("Could not initiate AdScript, reason: ",r)}},t.prototype.overridePreload=function(){var t=this,n=!1,i="overridePreload";try{this._((function(r){!0===r[i](t.ad)&&(n=!0)}),i)}catch(r){this.k(i,r)}return n},t.prototype.overrideRedirect=function(t,n){var i,r=this,e="overrideRedirect";try{this._((function(o){i=o[e](i||t,n,r.ad)||i}),e)}catch(o){this.k(e,o)}return i},t.prototype.overrideTargetUrl=function(t){var n=this,i="overrideTargetUrl";try{this._((function(r){var e=r[i](t,n.ad);t="string"==typeof e?e:t}),i)}catch(r){this.k(i,r)}return t},t.prototype.overrideDomain=function(){var t=this,n="",i="overrideDomain";try{this._((function(r){n=r[i](t.ad)||n}),i)}catch(r){this.k(i,r)}return n},t.prototype.overrideOpen=function(t){var n=this,i=!1,r="overrideOpen";try{this._((function(e){i=e[r](t,n.ad)||i}),r)}catch(e){this.k(r,e)}return i},t.prototype.selectCreative=function(){var t,n=this,i="selectCreative";return this._((function(r){var e=r[i];if("function"==typeof e)try{t=e(n.ad.data.creatives)||t}catch(o){n.k(i,o)}}),i),t},t.prototype.overrideContainer=function(){var t,n=this,i="overrideContainer";try{this._((function(r){t=r[i](n.ad)||t}),i)}catch(r){this.k(i,r)}return t},t.prototype.hasMethod=function(t){var n=!1;return this._((function(i){"function"==typeof i[t]&&(n=!0)})),n},t.prototype.k=function(t,n){console.error("Could not run AdScript.".concat(t,", reason:"),n),this.ad.emit(r.AdEvents.Error,[n])},t.prototype._=function(t,n){for(var i=0;i<this.scripts.length;i++){var r=this.scripts[i];n&&"function"!=typeof r[n]||t(r)}},t}();n.AdScriptLoader=e},477054:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.Ad=void 0;var r=i(305163),e=i(153936),o=i(781317),a=i(90144),u=i(759096),c=i(973527),s=i(926506),f=i(833609),h=i(585540),d=i(614479),l=i(672700),v=i(811839),p=i(645255),m=i(40060),w=i(747654),_=i(682078),y="data-rendered",b=/ad\.js/,k=function(t){function n(n,i,r){void 0===r&&(r=!0);var a=t.call(this)||this;if(a.events=new o.EventUtils,a.tcDataSubject=new m.AsyncSubject(void 0),a.g="animated-creative.4f047373ce345ff55f33.debug.js",a.j="4f047373ce345ff55f33",a.animatedCreativeFile="animated-creative.0d17da23618f24b974cb.js",a.animatedCreativeChecksum="0d17da23618f24b974cb",a.debugEnv="production",a.P=!1,a.O=!1,a.S=window,a.C=function(t){void 0===t&&(t=!0),(0,e.A)("ad:init:start"),a.adScripts=new d.AdScriptLoader(a),a.overriddenFeedData=a.M(),a.P=a.adScripts.overridePreload(),a.responsive=a.R(),a.selectedCreative=a.U(a.data),a.I=a.T(),!window.bfstudio&&t&&(a.container=a.D(),a.viewability=new h.Viewability(a),u.CreativeLoader.isSupported()&&(a.creativeLoader=new u.CreativeLoader(a)),a.F(),a.O||(a.L(a.selectedCreative)?(a.N(),"animated"===a.I&&a.q()):a.loadCreative(),a.emit(l.AdEvents.Init),(0,e.A)("ad:init:end")))},a.loadCreative=function(){var t;(0,e.A)("ad:load:start"),null===(t=a.creativeLoader)||void 0===t||t.B((function(){(0,e.A)("ad:load:end"),a.emit(l.AdEvents.CreativeLoad),a.events.dispatch(document,l.AdEvents.CreativeLoad),a.J?a.J.remove():a.$()}),(function(){var t;null===(t=a.adTag)||void 0===t||t.setAttribute(y,"false"),a.N()}))},a.G=function(t,n){if(t&&"string"!=typeof t){if("reason"in t&&t.reason){var i=t.reason;(r=i.stack&&(0,f.getUrlsInString)(i.stack)[0])&&a.V(r)&&a.tracking.H("".concat(i.message," in: ").concat(r))}else if("error"in t&&t.error){var r,e=t.error;(r=t.filename)&&a.V(r)&&a.tracking.H("".concat(e.message," in: ").concat(r))}}else a.tracking.H(t),!0===n&&a.destroy()},(0,e.A)("ad:creation"),a.tracking=new s.Tracking(a),r&&(a.on(l.AdEvents.Error,a.G),a.events.on(window,"error",a.G),a.events.on(window,"unhandledrejection",a.G)),a.data=n,!(i=i||a.Z()||void 0)){var c="Could not locate ad tag";throw a.emit(l.AdEvents.Error,[c,!0]),new Error(c)}return a.adTag=i,a.K=i,a.parameters=(0,f.getUrlParameters)(a.adTag?a.adTag.src:""),r?(a.X(a.C),(0,w.W)(a,a.S)):a.C(r),a}return r.__extends(n,t),n.prototype.isDocumentJSVersion=function(){var t=this.selectedCreative.animated.files;if(0===t.length)throw new Error("Selected creative has no files");var n=t[0].url;return"js"===(0,f.getFileExtension)(n)},n.prototype.debug=function(t){return r.__awaiter(this,void 0,void 0,(function(){var n,i,e,o,a,u,c;return r.__generator(this,(function(r){switch(r.label){case 0:return t||"local"===this.debugEnv?"local"===this.debugEnv&&"undefined"===this.j?[2]:(n=this.data.creatives[0].id,i=this.data.creatives[0].creativeset.id,e=new URLSearchParams,a=(o=e).set,u=["access-token"],"local"!==this.debugEnv?[3,1]:(c=this.data.localDebugToken,[3,3])):[2];case 1:return[4,this.sha256(t+n)];case 2:c=r.sent(),r.label=3;case 3:return a.apply(o,u.concat([c])),e.set("animated-creative-file",this.g),e.set("animated-creative-checksum",this.j),window.open("".concat(window.location.origin,"/creatives/").concat(i,"/").concat(n,"/preview?").concat(e.toString()),"_blank"),[2]}}))}))},n.prototype.sha256=function(t){return r.__awaiter(this,void 0,void 0,(function(){var n,i;return r.__generator(this,(function(r){switch(r.label){case 0:return n=(new TextEncoder).encode(t),[4,crypto.subtle.digest("SHA-256",n)];case 1:return i=r.sent(),[2,Array.from(new Uint8Array(i)).map((function(t){return"00".concat(t.toString(16)).slice(-2)})).join("")]}}))}))},n.prototype.destroy=function(){var t,n,i,r=window,e=r._bannerflow&&r._bannerflow.ads;if(this.O=!0,this.emit(l.AdEvents.Destroy),this.clearEvents(),this.tracking&&this.tracking.destroy(),this.container&&this.container.remove(),this.K&&this.K.remove(),this.adTag&&this.adTag.remove(),null===(t=this.Y)||void 0===t||t.disconnect(),null===(n=this.creativeLoader)||void 0===n||n.destroy(),null===(i=this.J)||void 0===i||i.destroy(),this.viewability.destroy(),this.events.clear(),e){var o=e.indexOf(this);o>-1&&e.splice(o,1)}},n.prototype.isHtml5Export=function(t){var n=(t||this.adTag).src;return b.test(n)&&!(0,f.isBannerflow)(n)},n.prototype.shouldAutoplay=function(){return!(0,f.hasParameter)(this.parameters,"autoplay")||!!(0,f.parameterToBool)(this.parameters.autoplay)},n.prototype.isOmniRender=function(){return!!(0,f.hasParameter)(this.parameters,"isOmniRender")&&!!(0,f.parameterToBool)(this.parameters.isOmniRender)},n.prototype.isTCFCheckDisabled=function(){return!!(0,f.hasParameter)(this.parameters,"tcfcheck")&&!(0,f.parameterToBool)(this.parameters.tcfcheck)},n.prototype.emit=function(n,i,r){if(t.prototype.emit.call(this,n),this.events&&this.adTag){var e=Array.isArray(i)&&1===i.length?i[0]:i;this.events.dispatch(this.adTag,n,e)}return this},n.prototype.shouldFadeIn=function(){return!(0,f.hasParameter)(this.parameters,"fadein")||!!(0,f.parameterToBool)(this.parameters.fadein)},n.prototype.X=function(t){var n=this;if(document.body)t();else{var i=function(){"interactive"!==document.readyState&&"complete"!==document.readyState||(n.events.off(document,"readystatechange",i),t())};this.events.on(document,"readystatechange",i)}},n.prototype.tt=function(t){void 0===t&&(t=window),this.events.windowLoad(t,this.loadCreative)},n.prototype.N=function(){var t=this;this.J||(this.J=new a.PreloadImage(this),this.J.add(this.container,(function(){t.emit(l.AdEvents.Preload),t.$()})))},n.prototype.q=function(){var t=this;if(this.P)this.adScripts.pageReady?this.loadCreative():this.once(l.AdEvents.PageReady,this.loadCreative);else if((0,c.isIframe)()){var n=(0,c.accessTopWindow)();n?this.tt(n):setTimeout((function(){t.loadCreative()}),1e3)}else this.tt()},n.prototype.Z=function(){for(var t=document.getElementsByTagName("script"),n=this.data,i=t.length-1;i>=0;i--){var r=(o=t[i]).src||"",e=this.data.creatives[0]?n.creatives[0].id:void 0;if(-1!==r.indexOf(n.id)||-1!==r.indexOf(n.adTagId)||e&&-1!==r.indexOf(e))return o}if(_.isIE)for(i=t.length-1;i>=0;i--){var o=t[i];if(this.isHtml5Export(o))return o}},n.prototype.nt=function(){var t=this.adTag.parentNode,n=document.body,i=this.parameters.container,r=this.adScripts.overrideContainer();if(t&&"HEAD"===t.nodeName)if(n.innerHTML){if((0,c.isIframe)()){var e=window.innerWidth,o=window.innerHeight;e===this.selectedCreative.size.width&&o===this.selectedCreative.size.height&&(this.isHeadInjection=!0,r=n)}}else r=n;return i&&(r=document.querySelector(i)||r,0!==i.indexOf("#")&&0!==i.indexOf(".")&&(r=document.querySelector("#".concat(i))||r)),r},n.prototype.D=function(){(0,e.A)("ad:container:start");var t=this.nt(),n=this.parameters.container,i=this.selectedCreative.size.width,r=this.selectedCreative.size.height,o=document.createElement("div"),a=o.style;if(a.display="inline-block",a.width="".concat(i,"px"),a.height="".concat(r,"px"),a.position="relative",a.margin=a.padding="0",this.responsive&&(a.height="0",a.width="100%",a.paddingTop="".concat(r/i*100,"%"),a.overflow="visible"),n&&!t){var u='No container element could be found. Please make sure element with selector "'.concat(this.parameters.container,'" exists on page');throw this.emit(l.AdEvents.Error,[u,!0]),new Error(u)}return t?this.isHeadInjection?t.insertBefore(o,t.childNodes[0]):t.appendChild(o):(0,c.insertAfter)(this.adTag,o),(0,e.A)("ad:container:end"),o},n.prototype.U=function(t){return this.adScripts.selectCreative()||t.creatives[0]},n.prototype.L=function(t){var n=this.parameters.preload,i=t.image;if(!u.CreativeLoader.isSupported())return!0;if(!1===(0,f.parameterToBool)(n))return!1;if(!1===this.data.showPreloadImage)return!1;if(!(null==i?void 0:i.url))return!1;if(!0===(0,f.parameterToBool)(n)||this.P)return!0;var r=i.fileSize||0,e=t.animated.fileSize||0;return r&&e?"complete"===document.readyState?e>100&&r<e/3:e>100&&r<e/2:"complete"!==document.readyState},n.prototype.T=function(){var t=(0,_.getAndroidMajorVersion)(navigator.userAgent),n=this.selectedCreative.animated.files.some((function(t){return t.url.includes("video")}));return("9"!==t&&"10"!==t||!n)&&u.CreativeLoader.isSupported()?(0,f.hasParameter)(this.parameters,"display")?this.parameters.display:void 0!==this.data.displayType?this.data.displayType:"animated":"image"},n.prototype.R=function(){return(0,f.hasParameter)(this.parameters,"responsive")?!!(0,f.parameterToBool)(this.parameters.responsive):!!this.data.responsive},n.prototype.it=function(){return"image-generator"===this.parameters.env},n.prototype.$=function(){var t,n=this;(0,e.A)("ad:render"),this.tracking.rt(),this.emit(l.AdEvents.Render),this.it()&&(null===(t=this.creativeLoader)||void 0===t?void 0:t.creative.hasWidgetElements)?setTimeout((function(){n.adTag&&n.et()}),1e3):this.et()},n.prototype.F=function(){var t=this,n=function(){document.body.contains(t.container)||t.destroy()};if(this.container.parentNode&&window.MutationObserver){var i=new MutationObserver((function(){n()}));i.observe(document.body,{childList:!0}),this.Y=i}n()},n.prototype.V=function(t){t=(0,f.removeQueryParams)(t);var n=["animated-creative.",(0,f.removeQueryParams)(this.adTag.src)];this.creativeLoader&&this.creativeLoader.creative&&(n=n.concat(this.creativeLoader.ot().map((function(t){return t.url}))));for(var i=0;i<n.length;i++)if(t.indexOf(n[i])>-1)return!0;return!1},n.prototype.getOrigin=function(){var t,n=this.adTag.src,i=(0,f.getDomain)(n,!1),r=this.data.origin;if(r)return/^\//.test(r)&&i&&(r=(0,f.concatUrl)(i,r)),r;if(!n){var e=null===(t=this.selectedCreative)||void 0===t?void 0:t.animated.defaultOrigin;if(e)return e}return/^file\:\/\//.test(n)||/ad\.js/.test(n)?"":i||""},n.prototype.getParentPath=function(){var t=this.adTag.src;if(/ad\.js/.test(t)){var n=t.split("/");return n.slice(0,n.length-1).join("/")}},n.prototype.M=function(){var t=this.S;if(t._bannerflow){var n=t._bannerflow.overriddenFeedData;return t._bannerflow.overriddenFeedData&&t._bannerflow.overriddenFeedData.length&&(0,p.validateFeedData)(t._bannerflow.overriddenFeedData),n}},n.prototype.et=function(){(0,e.A)("ad:success"),this.adTag.setAttribute(y,"true")},n}(v.EventEmitter);n.Ad=k},40060:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.AsyncSubject=n.Subscription=void 0;var r=i(305163),e=function(){function t(t,n){this.ut=t,this.ct=n,this.st=!1}return t.prototype.ft=function(t){this.st||(this.ct(t),this.st=!0)},t.prototype.unsubscribe=function(){this.ut.ht(this)},t}();n.Subscription=e;var o=function(){function t(t){this.value=t,this.dt=[],this.st=!1}return t.prototype.subscribe=function(t){var n=new e(this,t);return this.dt.push(n),this.st&&n.ft(this.value),n},t.prototype.ht=function(t){this.dt=this.dt.filter((function(n){return n!==t}))},t.prototype.lt=function(t){this.value=t},t.prototype.ft=function(){var t,n;try{for(var i=r.__values(this.dt),e=i.next();!e.done;e=i.next()){e.value.ft(this.value)}}catch(o){t={error:o}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}this.st=!0},t}();n.AsyncSubject=o},759096:function(__unused_webpack_module,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:!0}),exports.CreativeLoader=void 0;var tslib_1=__webpack_require__(305163),http_1=__webpack_require__(730314),url_1=__webpack_require__(833609),ad_events_1=__webpack_require__(672700),CreativeLoader=function(){function t(t){this.ad=t,this.sources={},this.requests=[],this.destroyed=!1;var n=window._bannerflow;this.exports=n&&n.exports||{}}return t.isSupported=function(){var t=Array.prototype,n="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]"),i="undefined"!=typeof FontFace,r=void 0!==Object.values&&!1!==asyncAwaitSupport();return n&&i&&Array.from&&Array.of&&t&&t.copyWithin&&t.fill&&t.find&&t.findIndex&&t.keys&&t.map&&Map.prototype.entries&&Map.prototype.values&&r},t.prototype.ot=function(){var t=this,n=this.ad.selectedCreative.animated.files||[];return n.length?n.map((function(n){return t.remapFileURLs(n)})):[]},t.prototype.B=function(t,n){return tslib_1.__awaiter(this,void 0,void 0,(function(){var i,r,e,o,a;return tslib_1.__generator(this,(function(u){switch(u.label){case 0:return this.loadCallback=t,this.errorCallback=n,[4,Promise.all([this.vt(),this.wt()])];case 1:return i=tslib_1.__read.apply(void 0,[u.sent(),2]),r=i[0],e=i[1],o=e.AnimatedCreative,a=e.Color,this.destroyed?[2]:(this._t(r,o,a),[2])}}))}))},t.prototype.vt=function(){return tslib_1.__awaiter(this,void 0,void 0,(function(){var t,n,i,r,e,o;return tslib_1.__generator(this,(function(a){switch(a.label){case 0:t=this.ot();try{for(n=tslib_1.__values(t),i=n.next();!i.done;i=n.next())(r=i.value).id.startsWith("preload")&&this.yt(r)}catch(u){e={error:u}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(e)throw e.error}}return this.ad.isDocumentJSVersion()?[4,this.bt(t[0])]:[3,2];case 1:case 3:return[2,a.sent()];case 2:return[4,this.kt(t[0])]}}))}))},t.prototype.yt=function(t){var n,i=document.createElement("link");(null===(n=null==i?void 0:i.relList)||void 0===n?void 0:n.supports("preload"))&&(i.rel="preload",i.as="script",i.href=t.url,document.head.appendChild(i))},t.prototype.kt=function(t){return new Promise((function(n,i){(0,http_1.get)(t.url,(function(t){n(t)}),(function(n){"undefined"!=typeof Sentry&&(console.error(n.message),Sentry.captureException(n)),i(new Error("Could not load creative data: ".concat(t.id)))}))}))},t.prototype.bt=function(t){var n=this;return new Promise((function(i,r){var e=document.createElement("script");e.charset="utf-8",e.type="application/javascript",e.onload=function(){var e,o;if(n.exports[t.id])i(n.exports[t.id]);else{console.warn("Could not load file with file id: ".concat(t.id));var a=Object.keys(n.exports);try{for(var u=tslib_1.__values(a),c=u.next();!c.done;c=u.next()){var s=c.value;if(n.exports[s].toString().includes("(Color)")){if("undefined"!=typeof Sentry){var f=new Error("Could not load file with file id: ".concat(t.id,". Fallbacking to first exported file id: ").concat(a[0]));console.error(f.message),Sentry.captureException(f)}return void i(n.exports[s])}}}catch(h){e={error:h}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(e)throw e.error}}r(new Error("Could not load file id:".concat(t.id)))}},e.onerror=r,e.src=t.url,document.head.appendChild(e)}))},t.prototype.wt=function(){return tslib_1.__awaiter(this,void 0,void 0,(function(){var t,n,i,r,e,o;return tslib_1.__generator(this,(function(a){switch(a.label){case 0:return(t=this.ad.getOrigin())&&(t=(0,url_1.concatUrl)(t,"scripts/")),n=new URLSearchParams(window.location.search),i=n.get("animated-creative-file"),r=n.get("animated-creative-checksum"),e=null!=i?i:this.ad.animatedCreativeFile,o=null!=r?r:this.ad.animatedCreativeChecksum,[4,this.bt({url:(0,url_1.concatUrl)(t,e),id:o})];case 1:return[2,a.sent()()]}}))}))},t.prototype.destroy=function(){for(delete this.loadCallback,this.destroyed=!0,this.creative&&this.creative.destroy&&(this.creative.destroy(),this.creative=void 0);this.requests.length;)this.requests.pop().abort()},t.prototype._t=function(t,n,i){var r=this;try{var e;e=this.gt(t)?t(i):JSON.parse(t),this.creative=new n(this.ad,e.data,e.preloadAssets,e.env,(function(){"function"==typeof r.loadCallback&&r.loadCallback(r.ad.selectedCreative)}))}catch(a){var o="Could not initialize creative with dependencies, reason: ".concat(a.message);throw"function"==typeof this.errorCallback&&this.errorCallback(o),this.ad.emit(ad_events_1.AdEvents.Error,[o]),new Error(o)}},t.prototype.gt=function(t){return this.ad.isDocumentJSVersion()},t.prototype.remapFileURLs=function(t){var n=t.url;return t.id.startsWith("preload")&&(n="scripts/".concat(n)),(0,url_1.isRelativeUrl)(t.url)&&(n=(0,url_1.concatUrl)(this.ad.getOrigin(),n)),tslib_1.__assign(tslib_1.__assign({},t),{url:n})},t}();function asyncAwaitSupport(){try{return eval("(async function () {})();"),!0}catch(e){if(e instanceof SyntaxError)return!1}}exports.CreativeLoader=CreativeLoader},672700:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AdEvents=void 0,function(t){t.Render="render",t.Preload="preload",t.CreativeLoad="creativeload",t.Init="init",t.Click="click",t.ViewEnter="viewenter",t.ViewLeave="viewleave",t.IABViewEnter="iab_viewenter",t.IABViewLeave="iab_viewleave",t.PageReady="ready",t.Error="error",t.Destroy="destroy",t.Play="play",t.Stop="stop",t.Seek="seek",t.Loop="loop",t.Pause="pause",t.TCData="tcdata"}(n.AdEvents||(n.AdEvents={}))},90144:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.PreloadImage=void 0;var r=i(833609),e=function(){function t(t){var n=this;this.ad=t,this.destroy=function(){n.image&&(n.image.parentNode&&n.image.parentNode.removeChild(n.image),n.ad.events.off(n.image,"click",n.onClick),n.image=void 0)},this.onClick=function(t){n.ad.tracking.click({x:t.clientX,y:t.clientY})}}return t.prototype.add=function(t,n){var i=this,e=this.ad.selectedCreative;if(e.image&&e.image.url){var o=e.image.url;(0,r.isRelativeUrl)(o)&&(o=(0,r.concatUrl)(this.ad.getOrigin(),o));var a=new Image(e.size.width,e.size.height);a.src=o;var u=a.style;return u.opacity="0",u.display="block",u.width=e.size.width+"px",u.height=e.size.height+"px",u.maxWidth="100%",u.position="absolute",u.top=u.left=u.margin=u.padding=u.zIndex="0",u.border=u.outline=u.transform=u.filter="none",u.cursor="pointer",this.ad.shouldFadeIn()&&(u.transition="opacity ".concat(200,"ms ease")),this.ad.responsive&&(u.width="100%",u.height="auto"),this.ad.events.once(a,"load",(function(){t.appendChild(a),u.opacity="1",i.ad.events.on(a,"click",i.onClick),"function"==typeof n&&n(i.image)})),this.image=a,a}},t.prototype.remove=function(){this.image&&(this.image.style.opacity="0",this.image.style.pointerEvents="none",setTimeout(this.destroy,this.ad.shouldFadeIn()?230:0))},t}();n.PreloadImage=e},979229:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.Redirect=void 0;var r=i(305163),e=i(833609),o=i(635497),a="[target_url]",u={match:void 0,separator:"?",delimiter:"&",assigner:"=",fragment:"#",deeplinkParam:void 0,deeplinkEncode:!0},c=[d({match:"adform.com/Banner/BannerClickTest.aspx",delimiter:";",deeplinkParam:"re"}),d({match:".adform.net/C/",delimiter:";",deeplinkParam:"cpdir"}),d({match:".adition.com/redi",deeplinkParam:"clickurl",allowEmptyDeeplink:!0}),d({match:"advalidation.net/e/creatives/test_creative_click",separator:"",delimiter:"",assigner:"",deeplinkSplit:"/?"}),d({match:".agkn.com",deeplinkParam:"l1",deeplinkLastParam:!0}),d({match:".adnxs",separator:"%3F",delimiter:"/",assigner:"%3D",deeplinkParam:"clickenc",deeplinkLastParam:!0}),d({match:".adnxs",delimiter:"/",deeplinkParam:"clickenc",deeplinkLastParam:!0,skipUndefinedParameterValues:!0}),d({match:".adspirit.de",delimiter:";",deeplinkParam:"target",allowEmptyDeeplink:!1}),d({match:"adsby.bidtheatre",deeplinkParam:"url",allowEmptyDeeplink:!0}),d({match:"w55c.net",deeplinkParam:"rurl"}),d({match:"adspreview.googleusercontent.com",deeplinkParam:"_dc_redir"}),d({match:".doubleclick.net",deeplinkParam:"adurl",fixDeeplinkEncoding:!0}),d({match:".onemobile.yahoo.com",deeplinkParam:"rd"}),d({match:".ybp.yahoo.com",deeplinkSplit:"/",assigner:""}),d({match:".atwola.com/adlink",delimiter:";"}),d({match:"bid.g.doubleclick.net",deeplinkParam:"r1",fixDeeplinkEncoding:!0}),d({match:".demdex.net",deeplinkParam:"d_rd"}),d({match:".googleadservices.com",deeplinkParam:"adurl",deeplinkLastParam:!0}),d({match:".googlesyndication.com/pcs/click%3F",separator:"%3F",delimiter:"%26",assigner:"%3D",deeplinkParam:"adurl",deeplinkLastParam:!0,fixDeeplinkEncoding:!0,allowEmptyDeeplink:!1}),d({match:"go2cloud.org",deeplinkParam:"url"}),d({match:[".creative-serving.org",".creative-serving.com"],deeplinkSplit:"/",deeplinkParam:"1",assigner:"",separator:"/",delimiter:"/",allowEmptyDeeplink:!0}),d({match:".krxd.net",deeplinkParam:"clk"}),d({match:"ad.atdmt.com",deeplinkParam:"h"}),d({match:"delivery.adnuntius.com",deeplinkParam:"r"}),d({match:"d.adroll.com",deeplinkParam:"clickurl"}),d({match:"m.exactag.com",deeplinkParam:"url"}),d({match:"app.readpeak.com",deeplinkParam:"tu"}),d({match:"re.admoove.se",deeplinkParam:"link"}),d({match:".pubmatic.com",delimiter:"_",deeplinkParam:"url",deeplinkLastParam:!0}),d({match:["de17a.com/api/click","de17a.com/api/dev-click"],separator:";",delimiter:";",deeplinkParam:"ec"}),d({match:"de17a.com/click",deeplinkParam:"url"}),d({match:".adsrvr.org",deeplinkParam:"r"}),d({match:".rubiconproject.com",deeplinkParam:"/",deeplinkSplit:"/",assigner:"",deeplinkEncode:!1}),d({match:".rubiconproject.com",deeplinkParam:"url"}),d({match:".creativecdn.com/clicks",deeplinkParam:"url"}),d({match:".everesttech.net",deeplinkParam:"redir"}),d({match:".quantserve.com",deeplinkParam:"redirecturl2"}),d({match:".quantserve.com",deeplinkParam:"redirecturl3"}),d({match:".rfihub.com",deeplinkSplit:"/",deeplinkParam:"n",assigner:"",separator:"acs/",delimiter:"/",deeplinkLastParam:!0,fixDeeplinkEncoding:!0}),d({match:".adsrv.eacdn.com",deeplinkParam:"asclurl"}),d({match:"adman.gr/fwd/",deeplinkParam:"/",deeplinkSplit:"/",assigner:"",delimiter:"/"}),d({match:".mobpro.com/t/",deeplinkParam:"mptu",deeplinkEncode:!1}),d({match:"mediafin.adhese",deeplinkParam:"/https",deeplinkSplit:"/",assigner:"",separator:"/",delimiter:"/",deeplinkEncode:!1}),d({match:"ads-mediafin.adhese",deeplinkParam:"",separator:"ads-mediafin.adhese.com",delimiter:"",deeplinkLastParam:!0,assigner:"",deeplinkEncode:!1,deeplinkSplit:"/UR"}),d({match:"clk.tradedoubler.com",deeplinkParam:"url"}),d({match:"sportradarserving.com/click",deeplinkLastParam:!0,deeplinkParam:"=http",deeplinkSplit:"=",delimiter:"",assigner:""}),d({match:".contextweb.com",delimiter:"~",deeplinkParam:"u",allowEmptyDeeplink:!1})],s=["https://","http://","https%3A%2F%2F","http%3A%2F%2F","//","%2F%2F"],f=function(){function t(t,n){this.parent=n,this.prevent=!1,this.jt=[],this.Pt=["*.bannerflow.*"],n||(t=this.Ot(t)),this.parse(t)}return t.prototype.whitelistDomains=function(t){if(t){Array.isArray(t)||(t=[t]);for(var n=0;n<t.length;n++){var i=t[n].indexOf("*")>-1?t[n]:h(t[n]);i&&-1===this.Pt.indexOf(i)&&this.Pt.push(i)}}return this.Pt},t.prototype.preventRedirect=function(){this.prevent=!0},t.prototype.Ot=function(t){var n,i,e=[],o=function(t){for(var n=decodeURIComponent(t);n!==t;){t=n;try{n=decodeURIComponent(t)}catch(i){break}}return t}(t),a=c.filter((function(t){return t.fixDeeplinkEncoding})),u=!1;try{for(var s=r.__values(a),f=s.next();!f.done;f=s.next()){var h=f.value;if(this.Et(h,o)>-1){u=!0;break}}}catch(m){n={error:m}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}if(!u)return t;var d=function(){var t=e.length?o.split(e[e.length-1])[1]:o,n=t.slice(1).search(/https?:\/\//);if(-1!==n){var i=t.substring(0,n+1);e.push(i),d()}else e.push(t)};d();for(var l=e[0],v="",p=e.length-1;p>0;p--)v=encodeURIComponent(e[p]+v);return l+v},t.prototype.parse=function(n){void 0===n&&(n=""),this.St=(0,o.sanitizeUrl)(this.Ct(n)),this.jt=[],this.At=this.Mt(this.St);var i=this.At.deeplinkSplit;if(this.At.fixDeeplinkEncoding&&this.Rt(this.St)&&(this.St=decodeURIComponent(this.St)),"="!==n.charAt(n.length-1)&&n.indexOf("%3D")+3!==n.length||this.xt(n)||this.At.deeplinkParam||(this.St+=a),i&&this.St.split(i).length){var r=this.St.lastIndexOf(i),e=this.St.substring(0,r),u=this.St.substring(r+i.length);this.St=e,this.jt.push({name:i,value:new t(u,this)})}else if(this.St.indexOf(this.At.separator)>-1){if(this.At.fragment&&this.St.indexOf(this.At.fragment)>-1){var c=this.St.split(this.At.fragment);this.St=c[0],this.Ut=c[1]}var s=this.St.split(this.At.separator);this.St=s[0];var f=void 0;1===s.length?f=void 0:2===s.length?f=s[1]:s.length>2&&(f=s.slice(1).join(this.At.separator));var h=void 0;if(void 0!==f){if(this.At.deeplinkLastParam&&!this.At.fixDeeplinkEncoding){var d=this.At.delimiter+this.At.deeplinkParam+this.At.assigner,l=f.split(d),v=l.shift();u=l.join(d);h=v.split(this.At.delimiter),v&&(u?u=this.It(u):f.indexOf(d)===f.length-d.length-1&&(u=a),u&&h.push(this.At.deeplinkParam+this.At.assigner+u))}else h=f.split(this.At.delimiter);for(var p=0;p<h.length;p++){var m=h[p];if(m){var w=m.split(this.At.assigner)[0],_=u=m.indexOf(this.At.assigner)>-1?m.split(this.At.assigner).slice(1).join(this.At.assigner):void 0;(w===this.At.deeplinkParam||void 0===this.At.deeplinkParam&&this.Tt(u)||this.Dt(u))&&(_=new t(u,this)).whitelistDomains(this.Pt),this.jt.push({name:w,value:_})}}}}return this},t.prototype.toString=function(){var t=this.Ft(this.St);return this.At.deeplinkSplit?t+this.Lt():(this.jt.length>0&&(t+=this.At.separator+this.Lt()),this.Ut&&(t+=this.At.fragment+this.Ut),t)},t.prototype.setParameter=function(t,n,i){void 0===i&&(i=!1),"string"==typeof n&&i&&(n=encodeURIComponent(n));var r=this.jt.filter((function(n){return n.name===t}));return r.length>0?(r[0].value=n,r[0]):(this.jt.push({name:t,value:n}),this.jt[this.jt.length-1])},t.prototype.setParameterIfMissing=function(t,n,i){if(void 0===i&&(i=!1),!this.hasParameter(t)&&void 0!==n)return this.setParameter(t,n,i)},t.prototype.getParameter=function(t){var n;return null===(n=this.jt.find((function(n){return n.name===t})))||void 0===n?void 0:n.value},t.prototype.Nt=function(){var t=this;return this.jt=this.jt.filter((function(n){return!t.qt(n.value)})),this.jt},t.prototype.removeParameter=function(t){for(var n=this.jt.filter((function(n){return n.name===t}));n.length>0;){var i=n.pop(),r=this.jt.indexOf(i);r>-1&&this.jt.splice(r,1)}},t.prototype.hasParameter=function(t){return this.jt.some((function(n){return n.name===t}))},t.prototype.Lt=function(){if(this.jt.length>0){for(var t="",n=0;n<this.jt.length;n++){var i=this.jt[n],r=i.value;if(t+=void 0===r&&this.At.skipUndefinedParameterValues?i.name:(n>0?this.At.delimiter:"")+i.name+this.At.assigner,this.qt(r))t+=!1!==this.At.deeplinkEncode?encodeURIComponent(r.toString()):r.toString();else t+=void 0!==r?this.Ft(r):""}return t}return""},t.prototype.zt=function(){var t=this,n=this.jt.filter((function(n){return t.qt(n.value)})).pop();if(n)return n.value},t.prototype.getFinalRedirect=function(){for(var t,n=this;t=n.zt();)n=t;return n},t.prototype.setDeeplink=function(n,i,r){if(n){var e=this.getFinalRedirect(),o=new t(n,this),a=e.St,u=e.At.deeplinkParam;if(this.whitelistDomains(i),e.whitelistDomains(i),o.whitelistDomains(i),u&&this.setParameterIfMissing(u,o,!1))return o;if(this.Bt(a,this.Pt))return this.Jt(e,o,r),e.parse(o.toString());if(this.xt(a))return e.St=this.Ft(a,encodeURIComponent(n)),e;console.warn('Could not override deeplink, add the domain of "'.concat(a,'" to whitelisted domain overrides.'))}},t.prototype.$t=function(){var t,n=this.getFinalRedirect(),i=null===(t=n.parent)||void 0===t?void 0:t.At.allowEmptyDeeplink;return n.xt()||n.Gt()&&!i},t.prototype.Gt=function(){return!this.St||this.Dt()},t.prototype.Dt=function(t){return void 0===t&&(t=this.St),!!t&&(0===t.indexOf(a)||0===t.indexOf(encodeURIComponent(a)))},t.prototype.xt=function(t){return void 0===t&&(t=this.St),!!t&&(t.indexOf(a)>-1||t.indexOf(encodeURIComponent(a))>-1)},t.prototype.Ft=function(t,n){return void 0===n&&(n=""),this.xt(t)?t.replace(a,n):t},t.prototype.Bt=function(t,n){if(void 0===n&&(n=[]),!t||this.Dt(t))return!0;if("undefined"!=typeof URL&&n.length){var i;try{i=new URL(t).hostname}catch(e){var r=document.createElement("a");r.href=t,i=r.hostname}return n.some((function(t){return function(t){void 0===t&&(t="");var n=t.split(".");1===n.length&&(n.unshift("*"),n.push("*"));if(n.length<2||n.length>3)throw new Error('Can not parse: "'.concat(t,'"., url needs to contain 1 or 2 dots. Sample "*.domain.top" or "domain.*"'));var i="^";return n.map((function(t,r){var e=r!==n.length-1?"\\.":"";i+="*"===t?"(\\.?[\\w-]+".concat(e,")?"):"(".concat(t,")").concat(e)})),i+="$",new RegExp(i)}(t).test(i)}))}return!0},t.prototype.Mt=function(t){var n=this,i=(t=t.toLowerCase()).replace(/\?.+$/i,""),e=u,o=Number.MAX_VALUE;return c.forEach((function(r){if(void 0!==r.match){var a=n.Et(r,i),c=t.indexOf(r.delimiter),s=t.indexOf(r.separator),f=r.deeplinkParam&&-1!==t.indexOf(r.deeplinkParam);(a>-1&&a<=o&&e!==u&&c>-1&&s>-1&&f||a>-1&&a<o)&&(e=r,o=a)}})),void 0===e.match&&t.match(/(\?|\&)url=/)&&(e=this.Vt(t)),r.__assign({},e)},t.prototype.Et=function(t,n){var i,e;if(t.match){var o=Array.isArray(t.match)?t.match:[t.match];try{for(var a=r.__values(o),u=a.next();!u.done;u=a.next()){var c=u.value,s=n.toLowerCase().indexOf(c.toLowerCase());if(-1!==s)return s}}catch(f){i={error:f}}finally{try{u&&!u.done&&(e=a.return)&&e.call(a)}finally{if(i)throw i.error}}}return-1},t.prototype.Vt=function(t){return d({match:(0,e.getDomain)(t),deeplinkParam:"url"})},t.prototype.It=function(t){if(t&&this.At.fixDeeplinkEncoding&&!(0,e.isEncodedUrl)(t)){var n=encodeURIComponent(this.At.separator),i=t.indexOf(n),o=this.Ht(t);if(void 0===o||i<o){var a=t.split(n),u=encodeURIComponent(a.shift()||"");t=r.__spreadArray([u],r.__read(a),!1).join(n)}}return t},t.prototype.Ht=function(t){if(t&&0===t.indexOf("http"))for(var n=["http://","https://","http%3A%2F%2F","https%3A%2F%2F"],i=0;i<n.length;i++){var r=t.indexOf(n[i],5);if(r>-1)return r}},t.prototype.Rt=function(t){if(t&&this.At.separator){var n=t.replace(/\?.+$/i,""),i=encodeURIComponent(this.At.separator);return n.indexOf(i)>-1}return!1},t.prototype.Ct=function(t){return(0,e.isEncodedUrl)(t)?decodeURIComponent(t):t},t.prototype.Tt=function(t){if(t)for(var n=0;n<s.length;n++)if(0===t.indexOf(s[n]))return!0;return!1},t.prototype.qt=function(n){return!!n&&n instanceof t==!0},t.prototype.Jt=function(t,n,i){if(void 0===i&&(i="mergetargetprimary"),t.jt&&t.jt.length)switch(i){case"fromredirect":n.Nt(),t.jt.forEach((function(t){n.setParameter(t.name,t.value)}));break;case"mergeredirectprimary":t.jt.forEach((function(t){n.setParameter(t.name,t.value)}));break;case"mergetargetprimary":t.jt.forEach((function(t){n.setParameterIfMissing(t.name,t.value)}))}},t}();function h(t){if(t){var n=(0,e.getDomain)(t);if(n){var i=n.split(".");if(i.length>1){var r=i[i.length-2];return"*.".concat(r,".*")}}}}function d(t){for(var n in u)void 0===t[n]&&void 0!==u[n]&&(t[n]=u[n]);return t}n.Redirect=f},747654:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hasPermission=n.replaceTcDataIfOverMaximumAllowedLength=n.removeSuperfluousTCData=n.W=n.MAX_TCF_STRING_LENGTH=n.BANNERFLOW_TCF_VENDOR_ID=void 0,n.BANNERFLOW_TCF_VENDOR_ID=273;function i(t){delete t.addtlConsent,delete t.customPurposeConsents,delete t.customVendorConsents,delete t.googleVendorConsents,t.publisher&&delete t.publisher.restrictions}n.MAX_TCF_STRING_LENGTH=1e4,n.W=function(t,r){for(var e,o=r;o;){try{if(o.frames.__tcfapiLocator){e=o;break}}catch(u){}if(o===r.top)break;o=o.parent}try{var a={};r.__tcfapi||r.top===r||(r.__tcfapi=function(t,n,i,r){if(e){var o=Math.random()+"",u={__tcfapiCall:{command:t,parameter:r,version:n,callId:o}};a[o]=i,e.postMessage(u,"*")}});if(r.addEventListener("message",(function(t){var n={};try{n="string"==typeof t.data?JSON.parse(t.data):t.data}catch(u){}var i=n.__tcfapiReturn;i&&"function"==typeof a[i.callId]&&(a[i.callId](i.returnValue,i.success),a[i.callId]=void 0)}),!1),r.__tcfapi)return void r.__tcfapi("getTCData",2,(function(n,r){r&&(i(n),t.tcDataSubject.lt(n)),t.tcDataSubject.ft()}),[n.BANNERFLOW_TCF_VENDOR_ID])}catch(c){}t.tcDataSubject.ft()},n.removeSuperfluousTCData=i,n.replaceTcDataIfOverMaximumAllowedLength=function(t){return t?t.length>n.MAX_TCF_STRING_LENGTH?'{"stringRemovedLength":'.concat(t.length,"}"):t:""},n.hasPermission=function(t){return!!t&&function(t){if(!function(t){return void 0===t.gdprApplies||t.gdprApplies}(t))return!0;if(function(t){var n,i;return null===(i=null===(n=t.purpose)||void 0===n?void 0:n.consents)||void 0===i?void 0:i[1]}(t)&&function(t){var i,r;return null===(r=null===(i=t.vendor)||void 0===i?void 0:i.consents)||void 0===r?void 0:r[n.BANNERFLOW_TCF_VENDOR_ID]}(t))return!0;return!1}(t)}},926506:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.Tracking=void 0;var r=i(305163),e=i(730314),o=i(833609),a=i(672700),u=i(979229),c=i(635497),s=i(826017),f=i(747654),h="redirect_",d=function(){function t(t){var n=this;this.Zt=t,this.deeplinkWhitelist=[],this.Kt=[],this.Xt=[],this.Qt=function(t){"hidden"===t&&(n.Wt(),s.visibilityChange.Yt(n.Qt))},this.Wt=function(t){void 0===t&&(t=!0);var i=n.Zt.data.tracking;if(i&&!i.disabled&&n.Kt&&n.Kt.length){var r=n.tn(n.Kt),a=JSON.stringify(r),u=n.nn(r),c=(0,o.concatUrl)(n.Zt.getOrigin(),u);n.rn()&&!n.en||(!0===t?(0,e.send)(c,a):(0,e.post)(c,a)),n.Kt=[]}},this.un=(new Date).getTime()+"_"+Math.floor(1e6*Math.random()),window.bfstudio||(s.visibilityChange.onChange(this.Qt),this.cn())}return t.prototype.sn=function(t,n,i){var r;switch(void 0===i&&(i=!1),t){case 1:if(this.fn)return;this.fn=!0;break;case 2:if(this.hn)return;r=this.dn(n),this.hn=!0;break;case 4:if(!(r=this.ln(n)))throw new Error("Can't track custom event value without name");var e=this.Xt.find((function(t){return t.name===r.n}));if(i&&n&&!e)for(var o=0;o<this.Kt.length;o++){var a=this.Kt[o];if(a.t===t&&a.v&&a.v.n===r.n)return void(a.v.m=r.m)}break;case 7:if(this.en)return;this.en=!0,r=this.vn(n)}this.Kt.push({t:t,d:(new Date).getTime(),v:r})},t.prototype.nn=function(t){var n,i,r=(null===(n=this.Zt.data.brand)||void 0===n?void 0:n.id)||"",e=(0,f.hasPermission)(this.Zt.tcDataSubject.value),o=1===t.a.tcd;return(null===(i=this.Zt.data.tracking)||void 0===i?void 0:i.pixelEnabled)&&(e||o)?"/tr/v2/pixel/".concat(r):"/tr/v2/pixel/"},t.prototype.click=function(t){var n=t.x,i=t.y,r=t.deepLinkUrl,e=t.time,o=this.pn(r),u=o&&o.toString(),c=o&&!o.prevent;this.Zt.emit(a.AdEvents.Click,[u]),this.mn({x:n,y:i,time:e,targetUrl:u}),c&&u&&this.wn(u)},t.prototype.wn=function(t){if((!this.Zt.adScripts||!this.Zt.adScripts.overrideOpen(t))&&t){t=(0,c.sanitizeUrl)(t);var n=window.mraid,i=window.Enabler;i&&i.exit?i.exit("Click on banner"):n&&n.open?n.open(t):window.open(t,this._n())}},t.prototype.yn=function(){for(var t,n=this,i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];if(i&&i.length){var o=i.filter((function(t,r){return"string"==typeof t&&i.indexOf(t)===r&&-1===n.deeplinkWhitelist.indexOf(t)}));(t=this.deeplinkWhitelist).push.apply(t,r.__spreadArray([],r.__read(o),!1))}},t.prototype.H=function(t){if(!this.en){var n=t&&"string"!=typeof t?t.message:t;this.sn(7,{error:n||"UnknownError"}),this.Wt()}},t.prototype.mn=function(t){this.bn(),this.sn(2,t),this.Wt()},t.prototype.rt=function(){this.sn(1),this.Wt()},t.prototype.trackCustomEvent=function(t){this.sn(4,t),this.Wt()},t.prototype.trackCustomProgressEvent=function(t){(this.sn(4,t,!0),1===t.value)&&(this.Xt.find((function(n){return n.name===t.name}))||this.Xt.push(t),this.Wt())},t.prototype.getRedirectUrl=function(){var t=this.Zt.parameters,n=t.redirecturl||t.targeturl;return!1!==(0,o.parameterToBool)(n)&&(0,c.sanitizeUrl)((0,o.parameterToUrl)(n))},t.prototype.pn=function(t){var n=this.Zt.parameters,i=this.kn(),r=this.getRedirectUrl(),e=this.getTargetUrl(t),a=this.Zt.adScripts,c=(0,o.parameterToBool)(n.deeplink)||!r;if(!1!==r){var s=new u.Redirect(r);if(this.gn(),this.yn(e,t),a&&a.hasMethod("overrideRedirect")){var f=this.Zt.adScripts.overrideRedirect(s,e);if(f){var h=f.getFinalRedirect();return this.jn(h,i),f}}return e&&s&&((c||s.$t())&&s.setDeeplink(e,this.deeplinkWhitelist),this.jn(s.getFinalRedirect(),i)),s}},t.prototype.getTargetUrl=function(t){var n=this.Zt.data,i=n.target?n.target.url:void 0,r=this.Zt.selectedCreative.targetUrl,e=this.Zt.adScripts,a=(0,o.getFirstUrl)(i,t,r);return e&&e.hasMethod("overrideTargetUrl")&&(a=this.Zt.adScripts.overrideTargetUrl(a)),a?(0,c.sanitizeUrl)(a):a},t.prototype._n=function(){var t=this.Zt.parameters.targetwindow,n=this.Zt.data.target;return t||(n&&n.window?n.window:"_blank")},t.prototype.destroy=function(){this.Wt(),this.Zt.events.off(window,"beforeunload",this.Wt),s.visibilityChange.Pn()},t.prototype.getDomain=function(){return this.Zt.adScripts&&this.Zt.adScripts.overrideDomain()||(0,e.getCurrentDomain)(this.Zt.parameters)},t.prototype.rn=function(){var t=this.getDomain();return/^(https?:)(\/\/)?(.*\.)?bannerflow\.com\/?/.test(t)},t.prototype.jn=function(t,n){var i=t.getFinalRedirect();Object.keys(n).forEach((function(t){var r=n[t];i.setParameter(t,r)}))},t.prototype.bn=function(){var t=this.Zt.parameters;t.clickpixel&&(0,e.loadPixel)(decodeURIComponent(t.clickpixel))},t.prototype.tn=function(t){var n=this.Zt.data||{},i=this.Zt.selectedCreative||{size:{},version:{}},r=this.Zt.parameters||{},e=n.destination||{},a=n.brand||{},u=n.account||{},c=i.design||{},s=i.size||{},h=i.version||{},d=h.localization||{},l=i.creativeset||{},v=n.campaign||{id:n.campaignId},p=this.Zt.tcDataSubject.value&&JSON.stringify(this.Zt.tcDataSubject.value);p=(0,f.replaceTcDataIfOverMaximumAllowedLength)(p);var m=(0,o.parameterToBool)(r.limit_ip)?1:0;return{e:t,u:{sr:[window.screen.width,window.screen.height],tz:this.On(),r:this.getDomain(),s:this.un},a:{vs:void 0!==i.adVersion?i.adVersion+"":"studio",a:u.slug,br:a.id,c:l.id,p:n.id,b:i.id,pl:this.Zt.J&&"image"!==this.Zt.I?1:0,r:n.responsive?1:0,an:"animated"===this.Zt.I?1:0,s:s.id,t:h.id,l:d.id,bf:c.id,cp:v.id,si:n.scheduleId,cid:r.customid,at:n.adTagId,ch:r.did||e.id,po:e.publishOptionId,no:n.nodeId,tcf:p,tcd:this.Zt.isTCFCheckDisabled()?1:0,lip:m}}},t.prototype.kn=function(){var t=this.Zt.parameters,n={};return Object.keys(t).forEach((function(i){0===i.toLowerCase().indexOf(h)&&(n[i.toLowerCase().replace(h,"")]=t[i])})),n},t.prototype.ln=function(t){if(t.name){var n=t,i=t.id,r=t.label,e=parseFloat(t.value+""),o={n:String(n.name).slice(0,100)};return null!=i&&(o.id=String(i).slice(0,100)),null!=r&&(o.l=String(r).slice(0,100)),isNaN(e)||(o.m=Math.round(100*e)/100),o}},t.prototype.dn=function(t){return{x:t.x,y:t.y,t:t.time,u:t.targetUrl}},t.prototype.vn=function(t){return{error:t.error}},t.prototype.On=function(){var t=-(new Date).getTimezoneOffset(),n=function(t){var n=Math.floor(Math.abs(t));return(n<10?"0":"")+n};return(t>=0?"+":"-")+n(t/60)+n(t%60)},t.prototype.gn=function(){var t=this.Zt.parameters.whitelist;if(t){var n=decodeURIComponent(t).split(",");n.length&&this.yn.apply(this,r.__spreadArray([],r.__read(n),!1))}},t.prototype.cn=function(){var t=this;if(!window.bfstudio&&window.ReportingObserver){var n=function(n){var i,r=t.Zt.data,a=r.id,u=t.Zt.selectedCreative.id,c=r.tracking.reportUrl||(null===(i=r.tracking)||void 0===i?void 0:i.url)&&(0,o.getOrigin)(r.tracking.url)+"/tr/blocked/";c&&(0,e.send)((0,o.concatUrl)(c,"".concat(a,"/").concat(u)),JSON.stringify(n))},i=new window.ReportingObserver((function(t){n(t)}),{buffered:!0});i.observe(),this.Zt.events.once(window,"unload",(function(){var t=i.takeRecords();n(t)}))}},t}();n.Tracking=d},682078:function(t,n){var i,r,e;Object.defineProperty(n,"__esModule",{value:!0}),n.getAndroidMajorVersion=n.getBrowserVersion=n.preciseIOSVersion=n.isIpad=n.isBlink=n.isEdgeChromium=n.isChrome=n.isEdge=n.isIE=n.isSafari=n.isAppleBrowser=n.isFirefox=n.isOpera=void 0;var o=((null===(i=window.navigator)||void 0===i?void 0:i.userAgent)||"").toLowerCase();n.isOpera=!!window.opr&&!!opr.addons||!!window.opera||o.indexOf(" opr/")>=0,n.isFirefox="undefined"!=typeof InstallTrigger,n.isAppleBrowser=(null===(e=null===(r=window.navigator)||void 0===r?void 0:r.vendor)||void 0===e?void 0:e.indexOf("Apple"))>-1,n.isSafari=n.isAppleBrowser&&-1===navigator.userAgent.indexOf("crios")&&-1===o.indexOf("fxios"),n.isIE=!!document.documentMode,n.isEdge=!n.isIE&&!!window.StyleMedia,n.isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),n.isEdgeChromium=n.isChrome&&-1!=o.indexOf("edg"),n.isBlink=(n.isChrome||n.isOpera||n.isEdgeChromium)&&!!window.CSS,n.isIpad=o.match(/(iPad)/)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,n.preciseIOSVersion=function(){try{var t=window.navigator.userAgent,n=t.indexOf("OS ");if((t.indexOf("iPhone")>-1||t.indexOf("iPad")>-1)&&n>-1){var i=Number(t.substr(n+3,4).replace("_",".")),r=t.substr(n+3).split(" ")[0].replace(/_/g,".").split(".").map((function(t){return Number(t)}));return{simple:i,full:{major:r[0],minor:r[1],patch:r[2]||0}}}}catch(e){console.warn("Could not get iOS version.")}return{simple:0,full:{major:0,minor:0,patch:0}}}(),n.getBrowserVersion=function(){var t,n=navigator.userAgent,i=n.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(i[1])?(t=/\brv[ :]+(\d+)/g.exec(n)||[],parseFloat(t[1])||-1):"Chrome"===i[1]&&null!=(t=n.match(/\b(OPR|Edge)\/(\d+)/))?parseFloat(t[2])||-1:(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(t=n.match(/version\/(\d+)/i))&&i.splice(1,1,t[1]),parseFloat(i[1])||-1)},n.getAndroidMajorVersion=function(t){var n=t.match(/Android\s(\d+)/i);return n?n[1]:void 0}},440435:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isMobile=void 0,n.isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|CriOS|SamsungBrowser|IEMobile|Opera Mini/i.test(navigator.userAgent)}},973527:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.emptyIframeSrc=n.isIframe=n.accessTopWindow=n.getTopSafeFrame=n.insertAfter=void 0;var r=i(682078);n.insertAfter=function(t,n){t.parentNode&&t.parentNode.insertBefore(n,t.nextSibling)},n.getTopSafeFrame=function(){for(var t=window;t.parent&&t!==t.parent;)try{if(t.parent.location.href,!t.parent.document)break;t=t.parent}catch(n){break}return t},n.accessTopWindow=function(){var t,n;try{n=(null===(t=window.top)||void 0===t?void 0:t.document.readyState)?window.top:void 0}catch(i){}return n},n.isIframe=function(t){void 0===t&&(t=window);try{return t.self!==window.top}catch(n){return!0}},n.emptyIframeSrc=function(){return r.preciseIOSVersion.simple>=16.3?"javascript:''":"about:blank"}},781317:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.EventUtils=void 0;var i=function(){function t(){this.listeners=[]}return t.prototype.once=function(t,n,i){var r=this,e=function(o){i(o),t&&void 0!==e&&r.off(t,n,e)};return this.on(t,n,e),e},t.prototype.windowLoad=function(t,n){void 0===t&&(t=window),"complete"===t.document.readyState?n():this.once(t,"load",n)},t.prototype.on=function(t,n,i){t.addEventListener?t.addEventListener(n,i,!1):t.attachEvent&&t.attachEvent("on"+n,i),this.listeners.push({element:t,eventName:n,eventHandler:i})},t.prototype.off=function(t,n,i){t.removeEventListener?t.removeEventListener(n,i):t.detachEvent&&t.detachEvent("on"+n,i);for(var r=0;r<this.listeners.length;r++){var e=this.listeners[r];e.element===t&&e.eventName===n&&e.eventHandler===i&&this.listeners.splice(r,1)}},t.prototype.dispatch=function(t,n,i){var r=document.createEvent("Event");i&&(r.data=i),r.initEvent(n,!1,!0),t.dispatchEvent(r)},t.prototype.clear=function(){for(;this.listeners.length;){var t=this.listeners.pop();this.off(t.element,t.eventName,t.eventHandler)}},t}();n.EventUtils=i},730314:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.getCurrentDomain=n.loadPixel=n.get=n.post=n.send=void 0;var r=i(973527),e=i(833609);function o(t,n,i,r){return a(t,"POST",n,i,r)}function a(t,n,i,r,e){var o=new XMLHttpRequest;return r&&(o.onload=function(){if(o.status>=200&&o.status<300)r(o.response,t);else{if(!e)throw new Error("Could not load resource: "+t);e(o)}}),o.onerror=function(n){if(!e)throw new Error("Could not load resource: "+t);e(n)},o.open(n,t,!0),o.send(i),o}n.send=function(t,n){navigator&&navigator.sendBeacon?navigator.sendBeacon(t,n):o(t,n)},n.post=o,n.get=function(t,n,i){return a(t,"GET",void 0,n,i)},n.loadPixel=function(t){var n=new Image;return n.src=t||"",n},n.getCurrentDomain=function(t){var n=(0,r.getTopSafeFrame)(),i=t&&t.domain&&"${DetectedDomain}"!==t.domain?decodeURIComponent(t.domain):"";if(!i&&n.context&&(i=n.context.canonicalUrl),!i){var o=n.document,a=n.location||(o?o.location:void 0);a&&a.ancestorOrigins&&a.ancestorOrigins.length&&(i=a.ancestorOrigins[a.ancestorOrigins.length-1]),(a&&!a.ancestorOrigins||!i)&&(o&&o.referrer&&(0,r.isIframe)(n)?i=o.referrer:a&&a.href&&(i=a.href),i&&i.match(e.safeUrlRegex)&&(i=""))}return i.replace(/\?.*/g,"")}},833609:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.addMissingProtocol=n.getFileName=n.getOrigin=n.isInLocalEnvironment=n.isSVGFile=n.isVideoFileUrl=n.removeFileExtension=n.getFileExtension=n.objectToQueryString=n.getFirstUrl=n.getUrlsInString=n.removeQueryParams=n.isSameDomain=n.isBannerflow=n.replaceOrigin=n.parameterToUrl=n.parameterToBool=n.hasParameter=n.removeProtocol=n.getDomain=n.serializeObject=n.concatUrl=n.addProtocol=n.isBase64Video=n.isBase64=n.isUrl=n.isRelativeUrl=n.isEncodedUrl=n.getUrlParameters=n.safeUrlRegex=void 0;var r=i(404257);n.safeUrlRegex=/(javascript|about|data)(:|%3A)/gi;var e=/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)/gim,o=/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/i;function a(t){return 0===t.toLowerCase().replace(/(https?%3A)?(?=%2F%2F)/i,"").indexOf("%2f%2f")}function u(t){return"string"==typeof t&&!!t.match(o)}function c(t,n){if(void 0===n&&(n=!0),"string"==typeof t){var i=t.match(e);if(i)return n?s(i[0]):i[0]}}function s(t){return t.replace(/^((https?:)?\/\/)/gim,"")}function f(t){var n;if(t){var i=t.split(/[#?]/)[0].split(".");if(1===i.length)return;var r=null===(n=i.pop())||void 0===n?void 0:n.trim().toLowerCase();if(r)return/[a-zA-Z]/gi.test(r)?r:void 0}}n.getUrlParameters=function(t){void 0===t&&(t="");var n={},i=r.SimpleCache.get(t);if(i)return i;if(t&&t.indexOf("?")>-1)try{new URL(t).searchParams.forEach((function(t,i){n[i]=t}))}catch(c){for(var e=void 0,o=/([^&=]+)=?([^&]*)/g,a=function(t){try{t=decodeURIComponent(t.replace(/\+/g," "))}catch(c){}return t},u=(t=t.substring(t.indexOf("?")+1))||window.location.search.substring(1);e=o.exec(u);)n[a(e[1])]=a(e[2])}return r.SimpleCache.set(t,n),n},n.isEncodedUrl=a,n.isRelativeUrl=function(t){return!!t&&0!==t.replace(/^https?:/,"").indexOf("//")},n.isUrl=u,n.isBase64=function(t){return!!t&&t.startsWith("data:image")},n.isBase64Video=function(t){return!!t&&t.startsWith("data:video")},n.addProtocol=function(t,n){return void 0===n&&(n="https"),t&&"#"!==t?(0===t.indexOf("//")?t="".concat(n,":").concat(t):0!==t.indexOf("http")&&(t="".concat(n,"://").concat(t)),t):t},n.concatUrl=function(t,n){return void 0===t&&(t=""),void 0===n&&(n=""),t.length&&n.length&&("/"!==t.charAt(t.length-1)&&(t+="/"),"/"===n.charAt(0)&&(n=n.substr(1))),t+n},n.serializeObject=function(t){var n=[];if("object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&n.push("".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(t[i])));return n.join("&")},n.getDomain=c,n.removeProtocol=s,n.hasParameter=function(t,n){return void 0!==t[n]},n.parameterToBool=function(t){if(t)switch(t.toLowerCase()){case"1":case"on":case"true":case"yes":return!0;case"0":case"off":case"false":case"no":return!1;default:return}},n.parameterToUrl=function(t){return t?a(t)?decodeURIComponent(t):t:""},n.replaceOrigin=function(t,n){return n?t.replace(new URL(t).origin,new URL(n).origin):t},n.isBannerflow=function(t){if(!t)return!1;var n="function"==typeof URL?new URL(t).hostname:c(t,!0);return!!n&&!!n.match(/((bannerflow\.)|(studio\.local))/g)},n.isSameDomain=function(t,n){return c(t)===c(n)},n.removeQueryParams=function(t){return t.replace(/\?.*/g,"")},n.getUrlsInString=function(t){return t&&t.match(/(https?:\/\/[^\s]+)/g)||[]},n.getFirstUrl=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i=0;i<t.length;i++)if(void 0!==t[i]&&null!==t[i])return t[i]},n.objectToQueryString=function(t,n){if(void 0===n&&(n=!0),"object"==typeof t){var i=[];for(var r in t){var e=t[r];(void 0!==e&&e.toString()||!n)&&i.push("".concat(r,"=").concat(e))}return i.length?"?".concat(i.join("&")):""}return""},n.getFileExtension=f,n.removeFileExtension=function(t){return(t||"").replace(/\.(jpg|png|gif|svg|mp4)$/,"")},n.isVideoFileUrl=function(t){var n=f(t);return!!n&&/(mp4|mov|webm|h264)/.test(n)},n.isSVGFile=function(t){var n=f(t);return!!n&&"svg"===n},n.isInLocalEnvironment=function(){return!!window&&"file:"===window.location.protocol},n.getOrigin=function(t){try{return new URL(t).origin}catch(i){try{if(!u(t))throw new Error("Provided value is not a valid url.");var n=document.createElement("a");return n.href=t,n.origin}catch(r){throw new Error(r)}}},n.getFileName=function(t){return new URL(t).pathname.split("/").pop()||t},n.addMissingProtocol=function(t){return/https?:\/\//.test(t)?t:"https://".concat(t)}},826017:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visibilityChange=void 0;var i=["focus","blur","visibilitychange","freeze","resume","pageshow","pagehide","beforeunload"],r=function(){function t(){var t=this;this.En=[],this.Sn=function(n){var i=t.Cn(n);if(t.An!==i)for(var r=0;r<t.En.length;r++)t.En[r](i)},this.Mn()}return t.prototype.onChange=function(t){this.En.push(t)},t.prototype.Mn=function(){var t=this;i.forEach((function(n){t.getContext(n).addEventListener(n,t.Sn,{capture:!0})}))},t.prototype.getContext=function(t){var n=window;return"visibilitychange"===t&&(n=document),n},t.prototype.Cn=function(t){return"beforeunload"===(null==t?void 0:t.type)||"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"},t.prototype.Yt=function(t){for(var n=0;n<this.En.length;n++)if(this.En[n]===t){this.En.splice(n,1);break}},t.prototype.Pn=function(){var t=this;this.En=[],i.forEach((function(n){t.getContext(n).removeEventListener(n,t.Sn,{capture:!0})}))},t}();n.visibilityChange=new r},585540:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.Viewability=void 0;var r=i(440435),e=i(672700),o=i(833609),a=i(826017),u=function(){function t(t){var n=this;this.ad=t,this.Rn=function(t){"number"==typeof t&&(n.xn=t);var i=!document.hidden,r=n.xn>=n.Un()&&i,o=n.xn>0&&i;o!==n.visible&&(o?n.ad.emit(e.AdEvents.ViewEnter):n.ad.emit(e.AdEvents.ViewLeave)),r!==n.In&&(r?n.ad.emit(e.AdEvents.IABViewEnter):n.ad.emit(e.AdEvents.IABViewLeave)),n.visible=o},this.Tn()&&(this.Dn(),this.Fn(),this.Ln())}return t.prototype.Tn=function(){return"IntersectionObserver"in window&&void 0!==document.hidden},t.prototype.pauseOutsideView=function(){if(!this.Tn())return!1;var t=this.ad.parameters;return(0,o.hasParameter)(t,"pauseoutsideview")?!!(0,o.parameterToBool)(t.pauseoutsideview):!1!==this.ad.data.pauseOutsideView},t.prototype.Dn=function(){var t=this;if(this.Tn()){var n=new IntersectionObserver((function(n){var i=n[0].intersectionRatio;t.Rn(i)}),{threshold:[0,.3,.5]});n.observe(this.ad.container),this.Nn=n}},t.prototype.Ln=function(){void 0!==document.addEventListener&&void 0!==document.hidden&&a.visibilityChange.onChange(this.Rn)},t.prototype.Fn=function(){var t=this,n=window.mraid,i=this.ad.events;if(n&&n.getState){var r=function(){n.isViewable()&&t.Rn(1),i.on(n,"viewableChange",(function(n){n?t.Rn(1):t.Rn(0)}))};"loading"===n.getState()?i.on(n,"ready",r):r()}},t.prototype.destroy=function(){a.visibilityChange.Pn(),this.Nn&&this.Nn.disconnect()},t.prototype.Un=function(){var t=this.ad.container,n=this.ad.selectedCreative.size;return(0,r.isMobile)()?.5:(t.clientWidth||n.width)*(t.clientHeight||n.height)>242500?.3:.5},t}();n.Viewability=u},95319:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.simpleClone=n.cloneMapDeep=n.cloneDeep=void 0;var r=i(305163);function e(t){return o(t,new Map)}function o(t,n){switch(Object.prototype.toString.call(t)){case"[object Array]":if(n.has(t))return n.get(t);var i=t.slice(0);return n.set(t,i),i.forEach((function(t,r){i[r]=o(t,n)})),i;case"[object Object]":if(n.has(t))return n.get(t);var r=Object.create(Object.getPrototypeOf(t));return n.set(t,r),Object.keys(t).forEach((function(i){"__widget"!==i&&(r[i]=o(t[i],n))})),r;default:return t}}n.cloneDeep=e,n.cloneMapDeep=function(t){var n,i;if(!t)return t;var o=new Map;try{for(var a=r.__values(t.entries()),u=a.next();!u.done;u=a.next()){var c=r.__read(u.value,2),s=c[0],f=c[1];o.set(s,e(f))}}catch(h){n={error:h}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},n.simpleClone=function(t){return JSON.parse(JSON.stringify(t))}},811839:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.EventEmitter=void 0;var r=i(305163),e=function(){function t(){this.qn={},this.zn=null,this.skipEmission=!1}return t.prototype.on=function(t,n,i){return"string"==typeof n?t=t+":"+n:i=n,this.qn[t]||(this.qn[t]=[]),-1===this.qn[t].indexOf(i)&&this.qn[t].push(i),this},t.prototype.once=function(t,n,i){var r=this;"string"==typeof n?t=t+":"+n:i=n;var e=function(n){"function"==typeof i&&i.apply(r.zn,[n]),r.off(t,e)};return this.on(t,e),this},t.prototype.off=function(t,n,i){if(void 0!==n&&("string"==typeof n?t=t+":"+n:i=n),void 0===t)return this.clearEvents(),this;if(!i)return delete this.qn[t],this;var r=this.qn[t];if(null==r?void 0:r.length)for(var e=r.length;e-- >0;)r[e]===i&&r.splice(e,1);return this},t.prototype.emit=function(t,n,i){var e,o,a;if(this.skipEmission)return this;"string"==typeof n?t=t+":"+n:i=n;var u=null===(a=this.qn[t])||void 0===a?void 0:a.slice();if(u)try{for(var c=r.__values(u),s=c.next();!s.done;s=c.next()){var f=s.value;try{f.apply(this.zn,i||[])}catch(h){console.error("CallbackError: ",h)}}}catch(d){e={error:d}}finally{try{s&&!s.done&&(o=c.return)&&o.call(c)}finally{if(e)throw e.error}}return this},t.prototype.clearEvents=function(){this.qn={}},t}();n.EventEmitter=e},153936:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.printMeasures=n.measureEnd=n.measureStart=n.A=void 0;var r=i(305163);n.A=function(t){performance&&performance.mark&&performance.mark(t)};var e=new Map;function o(){var t,n;try{for(var i=r.__values(e),o=i.next();!o.done;o=i.next()){var a=r.__read(o.value,2),u=a[0],c=a[1];console.groupCollapsed(u),console.info("Avg:",c.entries.reduce((function(t,n){return t+(n.end-n.start)}),0)/c.entries.length),console.info("Max:",c.entries.reduce((function(t,n){return Math.max(t,n.end-n.start)}),0)),console.info("Min:",c.entries.reduce((function(t,n){return Math.min(t,n.end-n.start)}),0)),console.info("Entries:",c.entries.length),console.info("Total time:",performance.now()-c.start,"ms"),console.groupEnd()}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}n.measureStart=function(t){performance&&performance.mark&&(e.has(t)||e.set(t,{start:performance.now(),entries:[]}),e.get(t).entries.push({start:performance.now(),end:1/0}))},n.measureEnd=function(t){if(performance&&performance.mark&&e.has(t)){var n=e.get(t);n.entries[n.entries.length-1].end=performance.now(),n.entries.length>=500&&(o(),e.delete(t))}},n.printMeasures=o},635497:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isSafeUrl=n.sanitizeSrcset=n.sanitizeUrl=void 0;var i=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,r=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|svg\+xml)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function e(t){if(o(t))return t;throw new Error('Error: unsafe URL value: "'.concat(t,'" (see http://g.co/ng/security#xss)'))}function o(t){return!((t=t.trim())&&"#"!==t&&!t.match(i)&&!t.match(r))}n.sanitizeUrl=e,n.sanitizeSrcset=function(t){return t.split(",").map((function(t){return e(t.trim())})).join(", ")},n.isSafeUrl=o},404257:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.SimpleCache=void 0;var r=i(95319),e=function(){function t(){}return t.set=function(t,n){return this.cache.set(t,(0,r.cloneDeep)(n)),n},t.get=function(t){var n=this.cache.get(t);return(0,r.cloneDeep)(n)},t.clear=function(){this.cache.clear()},t.cache=new Map,t}();n.SimpleCache=e},645255:function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.validateFeedData=n.isValidNumber=n.isValidUrl=void 0;var r=i(305163),e=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)((?!\^).)*$/i,o=/^-?\d+(\.\d+)?(e-?\d+)?$/gi;n.isValidUrl=function(t){var n;try{n=new URL(t)}catch(i){return!1}return"string"==typeof t&&e.test(t)&&("http:"===n.protocol||"https:"===n.protocol)},n.isValidNumber=function(t){return"string"==typeof t&&o.test(t)},n.validateFeedData=function(t){var n,i,e,o,a=new Error("\n    Attempt to override a feed with invalid feed data. The feed data has to follow the following schema:\n\n    [\n        {\n            MyFeedItemKey: {\n                value: 'feed value',\n                targetUrl: 'https://website.com'\n            },\n            MyFeedItemKey2: {\n                value: 'feed value',\n                targetUrl: 'https://website.com'\n            }\n        }\n    ]\n    ");if(!Array.isArray(t))throw a;try{for(var u=r.__values(t),c=u.next();!c.done;c=u.next()){var s=c.value;if("object"!=typeof s)throw a;try{for(var f=(e=void 0,r.__values(Object.keys(s))),h=f.next();!h.done;h=f.next()){if(!s[h.value].hasOwnProperty("value"))throw a}}catch(d){e={error:d}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(e)throw e.error}}}}catch(l){n={error:l}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}},305163:function(t,n,i){i.r(n),i.d(n,{__extends:function(){return e},__assign:function(){return o},__rest:function(){return a},__decorate:function(){return u},__param:function(){return c},__metadata:function(){return s},__awaiter:function(){return f},__generator:function(){return h},__createBinding:function(){return d},__exportStar:function(){return l},__values:function(){return v},__read:function(){return p},__spread:function(){return m},__spreadArrays:function(){return w},__spreadArray:function(){return _},__await:function(){return y},__asyncGenerator:function(){return b},__asyncDelegator:function(){return k},__asyncValues:function(){return g},__makeTemplateObject:function(){return j},__importStar:function(){return O},__importDefault:function(){return E},__classPrivateFieldGet:function(){return S},__classPrivateFieldSet:function(){return C},__classPrivateFieldIn:function(){return A}});var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},r(t,n)};function e(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var o=function(){return o=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++)for(var e in n=arguments[i])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t},o.apply(this,arguments)};function a(t,n){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(r=Object.getOwnPropertySymbols(t);e<r.length;e++)n.indexOf(r[e])<0&&Object.prototype.propertyIsEnumerable.call(t,r[e])&&(i[r[e]]=t[r[e]])}return i}function u(t,n,i,r){var e,o=arguments.length,a=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,n,i,r);else for(var u=t.length-1;u>=0;u--)(e=t[u])&&(a=(o<3?e(a):o>3?e(n,i,a):e(n,i))||a);return o>3&&a&&Object.defineProperty(n,i,a),a}function c(t,n){return function(i,r){n(i,r,t)}}function s(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)}function f(t,n,i,r){return new(i||(i=Promise))((function(e,o){function a(t){try{c(r.next(t))}catch(n){o(n)}}function u(t){try{c(r.throw(t))}catch(n){o(n)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(t){t(n)}))).then(a,u)}c((r=r.apply(t,n||[])).next())}))}function h(t,n){var i,r,e,o,a={label:0,sent:function(){if(1&e[0])throw e[1];return e[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,r&&(e=2&o[0]?r.return:o[0]?r.throw||((e=r.return)&&e.call(r),0):r.next)&&!(e=e.call(r,o[1])).done)return e;switch(r=0,e&&(o=[2&o[0],e.value]),o[0]){case 0:case 1:e=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(e=a.trys,(e=e.length>0&&e[e.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!e||o[1]>e[0]&&o[1]<e[3])){a.label=o[1];break}if(6===o[0]&&a.label<e[1]){a.label=e[1],e=o;break}if(e&&a.label<e[2]){a.label=e[2],a.ops.push(o);break}e[2]&&a.ops.pop(),a.trys.pop();continue}o=n.call(t,a)}catch(u){o=[6,u],r=0}finally{i=e=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}var d=Object.create?function(t,n,i,r){void 0===r&&(r=i);var e=Object.getOwnPropertyDescriptor(n,i);e&&!("get"in e?!n.__esModule:e.writable||e.configurable)||(e={enumerable:!0,get:function(){return n[i]}}),Object.defineProperty(t,r,e)}:function(t,n,i,r){void 0===r&&(r=i),t[r]=n[i]};function l(t,n){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(n,i)||d(n,t,i)}function v(t){var n="function"==typeof Symbol&&Symbol.iterator,i=n&&t[n],r=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(t,n){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var r,e,o=i.call(t),a=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(u){e={error:u}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}return a}function m(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(p(arguments[n]));return t}function w(){for(var t=0,n=0,i=arguments.length;n<i;n++)t+=arguments[n].length;var r=Array(t),e=0;for(n=0;n<i;n++)for(var o=arguments[n],a=0,u=o.length;a<u;a++,e++)r[e]=o[a];return r}function _(t,n,i){if(i||2===arguments.length)for(var r,e=0,o=n.length;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function b(t,n,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,e=i.apply(t,n||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){e[t]&&(r[t]=function(n){return new Promise((function(i,r){o.push([t,n,i,r])>1||u(t,n)}))})}function u(t,n){try{(i=e[t](n)).value instanceof y?Promise.resolve(i.value.v).then(c,s):f(o[0][2],i)}catch(r){f(o[0][3],r)}var i}function c(t){u("next",t)}function s(t){u("throw",t)}function f(t,n){t(n),o.shift(),o.length&&u(o[0][0],o[0][1])}}function k(t){var n,i;return n={},r("next"),r("throw",(function(t){throw t})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,e){n[r]=t[r]?function(n){return(i=!i)?{value:y(t[r](n)),done:"return"===r}:e?e(n):n}:e}}function g(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=t[Symbol.asyncIterator];return i?i.call(t):(t=v(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(n){return new Promise((function(r,e){(function(t,n,i,r){Promise.resolve(r).then((function(n){t({value:n,done:i})}),n)})(r,e,(n=t[i](n)).done,n.value)}))}}}function j(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t}var P=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n};function O(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var i in t)"default"!==i&&Object.prototype.hasOwnProperty.call(t,i)&&d(n,t,i);return P(n,t),n}function E(t){return t&&t.__esModule?t:{default:t}}function S(t,n,i,r){if("a"===i&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?t!==n||!r:!n.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?r:"a"===i?r.call(t):r?r.value:n.get(t)}function C(t,n,i,r,e){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?t!==n||!e:!n.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?e.call(t,i):e?e.value=i:n.set(t,i),i}function A(t,n){if(null===n||"object"!=typeof n&&"function"!=typeof n)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?n===t:t.has(n)}}},__webpack_module_cache__={};function __webpack_require__(t){var n=__webpack_module_cache__[t];if(void 0!==n)return n.exports;var i=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](i,i.exports,__webpack_require__),i.exports}__webpack_require__.d=function(t,n){for(var i in n)__webpack_require__.o(n,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},__webpack_require__.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},__webpack_require__.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={},ad_1;ad_1=__webpack_require__(477054),function(t,n){var i=window;i._bannerflow||(i._bannerflow={ads:[],exports:{}});var r=i._bannerflow;if(r.ads=r.ads||[],r.exports=r.exports||{},r.registerModule||(r.registerModule=function(t,n){i._bannerflow.exports[t]=n}),!(window.process&&window.process.env&&window.process.env.STUDIO_JS))if(window.atob&&void 0!==JSON.parse){i._bannerflow=r;var e=void 0;try{(e=JSON.parse(window.atob("eyJpZCI6IjYwZDk3NGZiMWExZmFkYzhmZDI1ZmFiZSIsIm9yaWdpbiI6IiIsImNyZWF0aXZlcyI6W3siaWQiOiIzNTExMTE0IiwiYW5pbWF0ZWQiOnsiZmlsZVNpemUiOjAsImRlcGVuZGVuY2llcyI6W10sImRlZmF1bHRPcmlnaW4iOiJodHRwczovL2MuYmFubmVyZmxvdy5uZXQiLCJmaWxlcyI6W3siaWQiOiIwMDAwMDA4RTRCNzlBOCIsInVybCI6Ii9hY2NvdW50cy9uY2MvNTZiMWM2ZjcxZGFlZmEyZDA0YWU3YjZlL3B1Ymxpc2hlZC8zNTExMTE0LzQ5MjAyMTIvZG9jdW1lbnQuMDAwMDAwQ0RENkZDNjUuanMifV19LCJpbWFnZSI6eyJ1cmwiOiJhY2NvdW50cy9uY2MvNTZiMWM2ZjcxZGFlZmEyZDA0YWU3YjZlL3B1Ymxpc2hlZC8zNTExMTE0LzQ5MjAyMTIvcHJlbG9hZC5qcGciLCJmaWxlU2l6ZSI6MH0sInNpemUiOnsiaWQiOiIyMDIzNDgwIiwibmFtZSI6bnVsbCwiaGVpZ2h0Ijo2MDAsIndpZHRoIjo5ODB9LCJjaGVja3N1bSI6IjAwMDAwMDM4QkUzQTcxIiwiY3JlYXRpdmVzZXRJZCI6bnVsbCwiY3JlYXRpdmVzZXQiOnsiaWQiOiIyNTYyOTciLCJuYW1lIjoiTllfR2FydG5lcml0YWtldC1pLXByb3NwZWN0aW5nLXYxIiwiY3JlYXRpdmVzIjpbXX0sInZlcnNpb25JZCI6bnVsbCwidmVyc2lvbiI6eyJpZCI6IjQxNjgyNCIsIm5hbWUiOiJHYXJ0bmVyaXRha2V0IEkiLCJsb2NhbGl6YXRpb24iOnsiaWQiOiI1NmIxYzZmNzFkYWVmYTJkMDRhZTdiNmQiLCJuYW1lIjoiTm9yd2VnaWFuIiwiY3VsdHVyZUNvZGUiOiJubyIsImN1bHR1cmVOYW1lIjoibmIifX0sImxvY2FsaXphdGlvbklkIjpudWxsLCJjdWx0dXJlQ29kZSI6bnVsbCwiY3VsdHVyZU5hbWUiOm51bGwsImRlc2lnbklkIjpudWxsLCJkZXNpZ24iOnsiaWQiOiIxOTY5MTQwIiwibmFtZSI6ImRlc2lnbi1mNzJhMDYxZS1mZGJmLTQ5ZTQtYWVmMy1hY2Q3NWFmZDQ3ZDgifSwidGFyZ2V0VXJsIjoiaHR0cHM6Ly93d3cuYm9uYXZhLm5vL2JvbGlnL3Zpa2VuL3Zlc3RieS9nYXJ0bmVyaXRha2V0L2dhcnRuZXJpdGFrZXQtaSIsImFkVmVyc2lvbiI6NDczM31dLCJ0cmFja2luZyI6eyJ1cmwiOiJodHRwczovL2MuYmFubmVyZmxvdy5uZXQvdHIvdjIvcGl4ZWwiLCJwaXhlbEVuYWJsZWQiOmZhbHNlLCJkaXNhYmxlZCI6ZmFsc2V9LCJjdXN0b21TY3JpcHRzIjpbXSwic2hvd1ByZWxvYWRJbWFnZSI6dHJ1ZSwiZGlzcGxheVR5cGUiOiJhbmltYXRlZCIsInJlc3BvbnNpdmUiOmZhbHNlLCJjYW1wYWlnbklkIjoiNjBkOTc0ZTU2YTRiNjYxYjM3ZDhhODU5IiwiY2FtcGFpZ24iOnsibmFtZSI6Im5vfGludGVyZXN0fGdhcnRuZXJpdGFrZXR8Zm9yc2FsZSIsImlkIjoiNjBkOTc0ZTU2YTRiNjYxYjM3ZDhhODU5In0sInNjaGVkdWxlSWQiOm51bGwsImFjY291bnQiOnsic2x1ZyI6Im5jYyIsImlkIjoiNTYxMjVhYzE0ZDQ3ZmM5ZTUwZGI4YmNkIn0sImJyYW5kIjp7ImlkIjoiNTZiMWM2ZjcxZGFlZmEyZDA0YWU3YjZlIn0sIm5vZGVJZCI6IjYwZDk3NGZiMWExZmFkYzhmZDI1ZmFjMCIsImRlc3RpbmF0aW9uIjpudWxsLCJwdWJsaXNoZXJJZCI6bnVsbCwiZXZlbnROYW1lIjoiIn0="))).creatives=e.creatives||e.banners}catch(o){throw new Error("Ad data could not be parsed")}r.ads.push(new ad_1.Ad(e,t))}else console&&console.log}(document.currentScript)})();
//# sourceMappingURL=ad.js.map