try{var __webpack_modules__={5219:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAdLocator=void 0;var r=i(7360),n=i(712),o=i(3868),a=i(425),s=i(1800),d=i(749),p=i(7749),c=i(194),u=function(){function e(e,t){void 0===t&&(t=500),this.numOfTries=e,this.interval=t,this.isSupported()&&(r.EventBus.addEventListener(r.DvEvent.adSelected,this.handleAdSelected.bind(this)),r.EventBus.addEventListener(r.DvEvent.impressionServed,this.handleAdLocatorLatency.bind(this)))}return e.prototype.handleAdLocatorLatency=function(){p.DvTagDataObject.getTagType()==n.DvTagType.Display&&(c.DvObject.getIsReducedAdLocatorLatency()&&(this.interval=100,this.numOfTries*=10))},e.prototype.start=function(){var e=this;try{if(this.isSupported()){this.numOfTries--;var t=this.getAds();t&&t.length?t.forEach((function(t){t.supportedDeliveryType=e.getSupportedDeliveryType(),t.priority=e.getPriority(t),t.locatorMethods=e.getMethod(),t.windowElement=o.WindowAdaptor.getDefaultWindow(t.domElement)||o.WindowAdaptor.workingWindow(),r.EventBus.dispatchEvent(r.DvEvent.adCandidateLocated,new s.AdCandidateEventData(t))})):this.numOfTries>0&&this.tryGetAds()}}catch(e){d.MessageHandler.sendError(n.ClientErrorType.AdLocationError,e)}},e.prototype.tryGetAds=function(){var e=this;this.timeoutReference=a.BrowserAdaptor.setTimeout((function(){e.start()}),this.interval)},e.prototype.handleAdSelected=function(){this.timeoutReference&&a.BrowserAdaptor.clearTimeout(this.timeoutReference)},e}();t.BaseAdLocator=u},1085:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.PassMinimumAdSize=void 0;var r=i(425),n=function(){function e(){this.minAdWidth=20,this.minAdHeight=20}return e.prototype.validate=function(e){var t=!1;if(e){var i=r.BrowserAdaptor.getElementSize(e);i&&i.height>this.minAdHeight&&i.width>this.minAdWidth&&(t=!0)}return t},e}();t.PassMinimumAdSize=n},8472:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.SellerAdSizeValidator=void 0;var r=i(7749),n=i(425),o=function(){function e(){this.adSizeAcceptedMistake=15,this.adSize=r.DvTagDataObject.getSellerAdSize()}return e.prototype.validate=function(e){var t=!1;if(e&&r.DvTagDataObject.isSellerTag()&&this.adSize.width&&this.adSize.height){var i=n.BrowserAdaptor.getElementSize(e);i&&i.width-this.adSize.width>=-this.adSizeAcceptedMistake&&i.height-this.adSize.height>=-this.adSizeAcceptedMistake&&(t=!0)}return t},e}();t.SellerAdSizeValidator=o},5955:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CeltraBaseAdLocator=void 0;var o=i(5464),a=i(7146),s=i(7360),d=i(1800),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.celtraAdServerId="179",t.selectionDelayed=!1,t}return n(t,e),t.prototype.getAds=function(){var e=this.getScanner().scan(this.getValidator());e.some((function(e){return!e.isFullyLoaded}))&&!this.selectionDelayed&&(this.selectionDelayed=!0,s.EventBus.dispatchEvent(s.DvEvent.reserveAdLocator,new d.ReserveAdLocatorData(this.getPriority()))),e=e.filter((function(e){return!!e.domElement}));var t=this.filterByAdsValidators(e);return this.mapDomAdsDataToAdCandidates(t)},t.prototype.transformToAdElement=function(t){var i=e.prototype.transformToAdElement.call(this,t);return i.celtraTagSearchMethod=t.celtraTagSearchMethod,i},t.prototype.getValidator=function(){return new o.CeltraValidator},t}(a.DisplayBaseAdLocator);t.CeltraBaseAdLocator=p},5906:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomMediaplexAdLocator=void 0;var o=i(7146),a=i(631),s=i(7749),d=i(712),p=i(5613),c=i(749),u=function(e){function t(){var t=e.call(this)||this;return t.mediaplexAdServerId="8",c.MessageHandler.sendMessage({dvp_ealmp:1}),t}return n(t,e),t.prototype.getScanner=function(){return p.CustomGetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new a.MediaplexValidator(s.DvTagDataObject.getBtreg(),s.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&s.DvTagDataObject.getAdServerId()==this.mediaplexAdServerId},t.prototype.getPriority=function(e){var t=e.depth||0;return d.LocatorPriority.CustomDisplayMediaPlex-t},t.prototype.getMethod=function(){return d.LocatorMethods.CustomDisplayMediaPlex},t}(o.DisplayBaseAdLocator);t.CustomMediaplexAdLocator=u},9171:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomRegexAdLocator=void 0;var o=i(7749),a=i(5223),s=i(7146),d=i(712),p=i(5613),c=i(749),u=function(e){function t(){var t=e.call(this)||this;return c.MessageHandler.sendMessage({dvp_ealrgx:1}),t}return n(t,e),t.prototype.getScanner=function(){return p.CustomGetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new a.BtregValidator(o.DvTagDataObject.getBtreg(),o.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&!!o.DvTagDataObject.getBtreg()},t.prototype.getPriority=function(e){var t=e.depth||0;return d.LocatorPriority.CustomDisplayRegex-t},t.prototype.getMethod=function(){return d.LocatorMethods.CustomDisplayRegex},t}(s.DisplayBaseAdLocator);t.CustomRegexAdLocator=u},4816:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomSellerAdLocator=void 0;var o=i(7146),a=i(5223),s=i(7749),d=i(712),p=i(8472),c=i(7360),u=i(1800),l=i(5613),h=i(749),v=function(e){function t(){var t=e.call(this)||this;return h.MessageHandler.sendMessage({dvp_ealslr:1}),t}return n(t,e),t.prototype.getScanner=function(){return l.CustomGetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new a.BtregValidator(s.DvTagDataObject.getBtreg(),s.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){var t=e.prototype.isSupported.call(this)&&s.DvTagDataObject.isSellerTag()&&!!s.DvTagDataObject.getBtreg();return t&&!this.delayEventSent&&(c.EventBus.dispatchEvent(c.DvEvent.delayAdSelection,new u.DelayTimerData(3100)),this.delayEventSent=!0),t},t.prototype.getPriority=function(e){return d.LocatorPriority.CustomDisplaySellerTag},t.prototype.getMethod=function(){return d.LocatorMethods.CustomDisplaySellerTag},t.prototype.getAds=function(){var t=new p.SellerAdSizeValidator;return e.prototype.getAds.call(this).filter((function(e){return t.validate(e.domElement)}))},t}(o.DisplayBaseAdLocator);t.CustomSellerAdLocator=v},4620:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.DfaAdLocator=void 0;var o=i(7146),a=i(7581),s=i(7749),d=i(712),p=i(5613),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dfaAdServerId="1",t}return n(t,e),t.prototype.getScanner=function(){return p.CustomGetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new a.DfaValidator},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&s.DvTagDataObject.getAdServerId()==this.dfaAdServerId},t.prototype.getPriority=function(e){var t=e.depth||0;return d.LocatorPriority.DisplayDFA-t},t.prototype.getMethod=function(){return d.LocatorMethods.DisplayDFA},t}(o.DisplayBaseAdLocator);t.DfaAdLocator=c},7146:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.DisplayBaseAdLocator=void 0;var o=i(455),a=i(7749),s=i(5219),d=i(1085),p=i(712),c=i(6689),u=function(e){function t(){return e.call(this,7,1e3)||this}return n(t,e),t.prototype.isSupported=function(){return!c.OmidWrapper.isSupported()&&a.DvTagDataObject.getTagType()==p.DvTagType.Display},t.prototype.getSupportedDeliveryType=function(){return[p.DetectedDeliveryType.Desktop,p.DetectedDeliveryType.MobileWeb,p.DetectedDeliveryType.Unknown]},t.prototype.getAds=function(){var e=this.getScanner().scan(this.getValidator()),t=this.filterByAdsValidators(e);return this.mapDomAdsDataToAdCandidates(t)},t.prototype.filterByAdsValidators=function(e){var t=new d.PassMinimumAdSize;return e.filter((function(e){return t.validate(e.domElement)}))},t.prototype.mapDomAdsDataToAdCandidates=function(e){var t=this;return e.map((function(e){var i=t.transformToAdElement(e);return i.depth=e.depth||0,i}))},t.prototype.transformToAdElement=function(e){return this.getCandidateInstance(e.domElement)},t.prototype.getCandidateInstance=function(e){return new o.AdCandidateData(e)},t}(s.BaseAdLocator);t.DisplayBaseAdLocator=u},9969:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.FindClassAdLocator=void 0;var o=i(7749),a=i(7754),s=i(7146),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return new a.GetElementsByClassName(o.DvTagDataObject.getBtreg())},t.prototype.getValidator=function(){return null},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&!!o.DvTagDataObject.getBtreg()&&o.DvTagDataObject.getFindClass()},t.prototype.getPriority=function(e){var t=e.depth||0;return d.LocatorPriority.DisplayFindClass-t},t.prototype.getMethod=function(){return d.LocatorMethods.DisplayFindClass},t}(s.DisplayBaseAdLocator);t.FindClassAdLocator=p},8130:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IframeFallbackAdLocator=void 0;var o=i(3868),a=i(5219),s=i(455),d=i(712),p=i(7749),c=i(6689),u=function(e){function t(){return e.call(this,1)||this}return n(t,e),t.prototype.getAds=function(){var e=o.WindowAdaptor.getFrameElement(o.WindowAdaptor.workingWindow())||o.WindowAdaptor.workingDocumentElement();if(e)return[new s.AdCandidateData(e)]},t.prototype.isSupported=function(){return!c.OmidWrapper.isSupported()&&p.DvTagDataObject.getTagType()==d.DvTagType.Display&&o.WindowAdaptor.workingWindow()!=o.WindowAdaptor.windowTop()},t.prototype.getSupportedDeliveryType=function(){return[d.DetectedDeliveryType.Desktop,d.DetectedDeliveryType.MobileWeb,d.DetectedDeliveryType.Unknown]},t.prototype.getPriority=function(){return d.LocatorPriority.DisplayIframeFallback},t.prototype.getMethod=function(){return d.LocatorMethods.DisplayIframeFallback},t}(a.BaseAdLocator);t.IframeFallbackAdLocator=u},172:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InAppDefaultAdLocator=void 0;var o=i(3868),a=i(5219),s=i(455),d=i(712),p=i(6689),c=function(e){function t(){return e.call(this,1)||this}return n(t,e),t.prototype.getAds=function(){var e=o.WindowAdaptor.workingDocumentElement();if(e)return[new s.AdCandidateData(e)]},t.prototype.isSupported=function(){return!p.OmidWrapper.isSupported()},t.prototype.getSupportedDeliveryType=function(){return[d.DetectedDeliveryType.MobileApp]},t.prototype.getPriority=function(){return d.LocatorPriority.DefaultInApp},t.prototype.getMethod=function(){return d.LocatorMethods.DefaultInApp},t}(a.BaseAdLocator);t.InAppDefaultAdLocator=c},8476:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IntegratedCeltraAdLocator=void 0;var o=i(7749),a=i(712),s=i(5955),d=i(4179),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return d.CeltraDeepScannerSingleton},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&o.DvTagDataObject.getAdServerId()==this.celtraAdServerId},t.prototype.getPriority=function(e){return a.LocatorPriority.DisplayIntegratedCeltra},t.prototype.getMethod=function(){return a.LocatorMethods.DisplayIntegratedCeltra},t}(s.CeltraBaseAdLocator);t.IntegratedCeltraAdLocator=p},1634:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.MediaplexAdLocator=void 0;var o=i(7146),a=i(631),s=i(7749),d=i(6352),p=i(712),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mediaplexAdServerId="8",t}return n(t,e),t.prototype.getScanner=function(){return d.GetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new a.MediaplexValidator(s.DvTagDataObject.getBtreg(),s.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&s.DvTagDataObject.getAdServerId()==this.mediaplexAdServerId},t.prototype.getPriority=function(e){var t=e.depth||0;return p.LocatorPriority.DisplayMediaPlex-t},t.prototype.getMethod=function(){return p.LocatorMethods.DisplayMediaPlex},t}(o.DisplayBaseAdLocator);t.MediaplexAdLocator=c},3820:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.NearestAdAdLocator=void 0;var o=i(7146),a=i(483),s=i(540),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return a.NearestAdScannerSingleton},t.prototype.getValidator=function(){return new s.ValidateByAdTypeAndSize},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)},t.prototype.getPriority=function(e){var t=e.depth||0;return d.LocatorPriority.DisplayNearestAd-t},t.prototype.getMethod=function(){return d.LocatorMethods.DisplayNearestAd},t}(o.DisplayBaseAdLocator);t.NearestAdAdLocator=p},7257:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.NonIntegratedCeltraAdLocator=void 0;var o=i(7749),a=i(712),s=i(5955),d=i(4179),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return d.CeltraScannerSingleton},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&o.DvTagDataObject.getAdServerId()!=this.celtraAdServerId},t.prototype.getPriority=function(e){return a.LocatorPriority.DisplayNonIntegratedCeltra},t.prototype.getMethod=function(){return a.LocatorMethods.DisplayNonIntegratedCeltra},t}(s.CeltraBaseAdLocator);t.NonIntegratedCeltraAdLocator=p},6018:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ParentWindowAdLocator=void 0;var o=i(7749),a=i(5223),s=i(7146),d=i(6352),p=i(3868),c=i(712),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return new d.GetElementsByTagName(p.WindowAdaptor.getWindowParent(p.WindowAdaptor.workingWindow()))},t.prototype.getValidator=function(){return new a.BtregValidator(o.DvTagDataObject.getBtreg(),o.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&p.WindowAdaptor.getScenarioType()==c.Scenario.SameDomain&&!!o.DvTagDataObject.getBtreg()&&!!p.WindowAdaptor.getWindowParent(p.WindowAdaptor.workingWindow())},t.prototype.getPriority=function(e){return c.LocatorPriority.DisplayParentWindow},t.prototype.getMethod=function(){return c.LocatorMethods.DisplayParentWindow},t}(s.DisplayBaseAdLocator);t.ParentWindowAdLocator=u},1153:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.RegexAdLocator=void 0;var o=i(7749),a=i(5223),s=i(7146),d=i(6352),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return d.GetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new a.BtregValidator(o.DvTagDataObject.getBtreg(),o.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)&&!!o.DvTagDataObject.getBtreg()},t.prototype.getPriority=function(e){var t=e.depth||0;return p.LocatorPriority.DisplayRegex-t},t.prototype.getMethod=function(){return p.LocatorMethods.DisplayRegex},t}(s.DisplayBaseAdLocator);t.RegexAdLocator=c},6707:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.SellerAdLocator=void 0;var o=i(7146),a=i(6352),s=i(5223),d=i(7749),p=i(712),c=i(8472),u=i(7360),l=i(1800),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getScanner=function(){return a.GetElementsByTagNameSingleton},t.prototype.getValidator=function(){return new s.BtregValidator(d.DvTagDataObject.getBtreg(),d.DvTagDataObject.getBtadsrv())},t.prototype.isSupported=function(){var t=e.prototype.isSupported.call(this)&&d.DvTagDataObject.isSellerTag()&&!!d.DvTagDataObject.getBtreg();return t&&!this.delayEventSent&&(u.EventBus.dispatchEvent(u.DvEvent.delayAdSelection,new l.DelayTimerData(3100)),this.delayEventSent=!0),t},t.prototype.getPriority=function(e){return p.LocatorPriority.DisplaySellerTag},t.prototype.getMethod=function(){return p.LocatorMethods.DisplaySellerTag},t.prototype.getAds=function(){var t=new c.SellerAdSizeValidator;return e.prototype.getAds.call(this).filter((function(e){return t.validate(e.domElement)}))},t}(o.DisplayBaseAdLocator);t.SellerAdLocator=h},7571:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.SpotXAdLocator=void 0;var o=i(7146),a=i(483),s=i(455),d=i(4265),p=i(712),c=i(7360),u=i(194),l=i(1800),h=function(e){function t(){var t=e.call(this)||this;return t.isSpotxMode=!1,t.spotxCandidates=[],c.EventBus.addEventListener(c.DvEvent.impressionServed,t.handleImpressionServed.bind(t),"SpotXAdLocator"),t}return n(t,e),t.prototype.getScanner=function(){return a.NearestAdScannerSingleton},t.prototype.getValidator=function(){return new d.SpotXValidator},t.prototype.isSupported=function(){return e.prototype.isSupported.call(this)},t.prototype.getPriority=function(e){var t=0,i=e.depth||0;return this.isSpotxMode&&(t=p.LocatorPriority.DisplaySpotX-i),t},t.prototype.getMethod=function(){return p.LocatorMethods.DisplaySpotX},t.prototype.getCandidateInstance=function(e){var t=new s.AdCandidateData(e);return this.isSpotxMode||(t.state=p.AdCandidateState.Unauthorized,this.spotxCandidates.push(t)),t},t.prototype.handleImpressionServed=function(){var e=this;this.isSpotxMode=u.DvObject.isSpotxMode(),this.isSpotxMode&&this.spotxCandidates.forEach((function(t){t.state=p.AdCandidateState.Unresolved,t.priority=e.getPriority(t),c.EventBus.dispatchEvent(c.DvEvent.adCandidateLocated,new l.AdCandidateEventData(t))}))},t}(o.DisplayBaseAdLocator);t.SpotXAdLocator=h},5223:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BtregValidator=void 0;var n=i(425),o=i(7749),a=function(){function e(e,t){this.innerHtmlValidationTypes={img:!0,iframe:!0,a:!0,object:!0,embed:!0},this.btadsrvValidationTypes={img:!0,iframe:!0,a:!0,object:!0,embed:!0},this.btreg=e,this.btregRegex=new RegExp(this.btreg),this.btadsrv=t,this.btadsrvRegexp=new RegExp(this.btadsrv)}return e.prototype.validate=function(e){var t,i,a=!1;if(this.btreg&&this.btreg.length>=5){var s=n.BrowserAdaptor.getElementType(e),d=[];d.push(n.BrowserAdaptor.getAttribute(e,"id")),d.push(n.BrowserAdaptor.getAttribute(e,"src")),d.push(n.BrowserAdaptor.getAttribute(e,"href")),d.push(n.BrowserAdaptor.getAttribute(e,"flashvars")),d.push(n.BrowserAdaptor.getAttribute(e,"name")),o.DvTagDataObject.getCustomAttributes().forEach((function(t){return d.push(n.BrowserAdaptor.getAttribute(e,t))})),d.push(n.BrowserAdaptor.getAttribute(e,"class")),this.innerHtmlValidationTypes[s]&&d.push(n.BrowserAdaptor.getAttribute(e,"innerHTML"));var p=!1,c=!1;try{for(var u=r(d),l=u.next();!l.done;l=u.next()){var h=l.value;if(h&&(p=p||this.validateBtreg(h,this.btreg),c=c||!this.btadsrvValidationTypes[s]||this.validateBtadsrv(h,this.btadsrv),p&&c)){a=!0;break}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(t)throw t.error}}}return a},e.prototype.validateBtreg=function(e,t){return this.validateString(e,this.btreg,this.btregRegex)},e.prototype.validateBtadsrv=function(e,t){return this.validateString(e,this.btreg,this.btadsrvRegexp)},e.prototype.validateString=function(e,t,i){var r=!1;if(e&&t)try{i.exec(e)&&(r=!0)}catch(i){r=-1!=e.indexOf(t)}return r},e}();t.BtregValidator=a},5464:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CeltraValidator=void 0;var i=function(){function e(){this.celtraClassString="celtra-ad-v"}return e.prototype.validate=function(e){return 0==e.className.indexOf(this.celtraClassString)},e}();t.CeltraValidator=i},7581:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.DfaValidator=void 0;var o=i(5223),a=i(425),s=i(3380),d=i(7749),p=function(e){function t(){var t=e.call(this,"DfaVisibilityIdentifier","DfaVisibilityIdentifier")||this;return t.dcmValidationTypes={div:!0,span:!0},t.maxDistance=10,t}return n(t,e),t.prototype.validate=function(t){var i=!1,r=a.BrowserAdaptor.getElementType(t),n=s.Utilities.getElementsDistance(t,d.DvTagDataObject.getDVScript());return this.dcmValidationTypes[r]&&n>=0&&n<=this.maxDistance&&(i=e.prototype.validate.call(this,t)),i},t}(o.BtregValidator);t.DfaValidator=p},631:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.MediaplexValidator=void 0;var o=function(e){function t(t,i){var r=e.call(this,t,i)||this;return r.multiplexRegexp=new RegExp("[0-9]+-[0-9]+-[0-9]+-[0-9]+"),r.hyphenFreeRegexp=new RegExp("-","g"),r}return n(t,e),t.prototype.validateBtreg=function(t,i){return this.validateByMediaplex(t,i)||e.prototype.validateBtreg.call(this,t,i)},t.prototype.validateBtadsrv=function(t,i){return this.validateByMediaplex(t,i)||e.prototype.validateBtadsrv.call(this,t,i)},t.prototype.validateByMediaplex=function(e,t){var i=!1;if(e&&t){var r=this.multiplexRegexp.exec(e);if(r)i=r.toString().replace(this.hyphenFreeRegexp,"")==t}return i},t}(i(5223).BtregValidator);t.MediaplexValidator=o},4265:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.SpotXValidator=void 0;var o=i(540),a=i(712),s=function(e){function t(){var t=e.call(this)||this;return t.standardAdTypes=["object","embed","video","iframe"],t}return n(t,e),t.prototype.validate=function(e){return this.isStandardAdType(e)&&this.isStandardAdSize(this.getAdSize(e),a.StandardSizeType.SpotX)},t}(o.ValidateByAdTypeAndSize);t.SpotXValidator=s},7939:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateByAdSize=void 0;var r=i(425),n=i(3971),o=i(712),a=function(){function e(){}return e.prototype.getAdSize=function(e){return r.BrowserAdaptor.getElementSize(e)},e.prototype.isStandardAdSize=function(e,t){return n.StandardSizes.isStandardAdSize(e,t,o.StandardSizeThreshold.commonThreshold)},e}();t.ValidateByAdSize=a},540:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateByAdTypeAndSize=void 0;var o=i(425),a=i(7939),s=i(712),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.standardAdTypes=["object","embed","img","iframe","svg","canvas"],t}return n(t,e),t.prototype.validate=function(e){return this.isStandardAdType(e)&&this.isStandardAdSize(this.getAdSize(e),s.StandardSizeType.Display)},t.prototype.isStandardAdType=function(e){var t=!1;if(e){var i=o.BrowserAdaptor.getElementType(e);t=-1!=this.standardAdTypes.indexOf(i)}return t},t}(a.ValidateByAdSize);t.ValidateByAdTypeAndSize=d},677:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.OmidAdLocator=void 0;var o=i(712),a=i(455),s=i(5219),d=i(6689),p=function(e){function t(){return e.call(this,1)||this}return n(t,e),t.prototype.getAds=function(){var e=[];return e.push(new a.AdCandidateData(null)),e},t.prototype.getPriority=function(e){return o.LocatorPriority.DisplayOmid},t.prototype.getMethod=function(){return o.LocatorMethods.DisplayOmid},t.prototype.isSupported=function(){return d.OmidWrapper.isSupported()},t.prototype.getSupportedDeliveryType=function(){return[o.DetectedDeliveryType.MobileApp,o.DetectedDeliveryType.Unknown]},t}(s.BaseAdLocator);t.OmidAdLocator=p},4179:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,o=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a},o=this&&this.__spread||function(){for(var e=[],t=0;t0&&(this.celtraTagSearchMethod=d.CeltraTagLocatorMethod.DOM_API_SEARCH);var a=[],p=o&&o.length>0?o:this.getElementsToSearchCeltraAttribute();try{for(var u=r(p),l=u.next();!l.done;l=u.next()){var h=l.value;if(e.validate(h)){var v=new c.CeltraDomAdData(this.celtraTagSearchMethod,null,0,!1);if(h.celtra&&h.celtra.viewabilityObservee){var f=h.celtra.viewabilityObservee;v.domElement=f,v.isFullyLoaded=!0}a.push(v)}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(t)throw t.error}}return a},e.prototype.getElementsToSearchCeltraAttribute=function(){this.celtraTagSearchMethod=d.CeltraTagLocatorMethod.CUSTOM_SEARCH;var e=[],t=this.dvTag&&this.dvTag.parentElement;if(t&&this.shouldSearchOnTagParent()&&e.push(t),this.shouldSearchOnTagSiblings()){var i=a.BrowserAdaptor.getSiblingsNodes(this.dvTag);e=o(e,i),this.shouldSearchTwoLevelUnderTagSiblings()&&i.forEach((function(t){var i=a.BrowserAdaptor.getElementChildren(t);e=o(e,i),i.forEach((function(t){var i=a.BrowserAdaptor.getElementChildren(t);e=o(e,i)}))}))}return e},e.prototype.shouldSearchOnTagParent=function(){return!0},e.prototype.shouldSearchOnTagSiblings=function(){return!0},e.prototype.shouldSearchTwoLevelUnderTagSiblings=function(){return this.scanSiblingTwoLevelsDown},e.prototype.getCeltraElementByDomApiSearch=function(e){if(e&&"function"==typeof e.querySelectorAll){var t=e.querySelectorAll("[class^=celtra-ad-v]");if(t)return t.length>1&&p.MessageHandler.sendMessage({dvp_csmc:t.length}),Array.prototype.slice.call(t)}},e}();t.CeltraScanner=u,t.CeltraDeepScannerSingleton=new u(!0),t.CeltraScannerSingleton=new u(!1)},3924:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BaseScanElement=void 0;var r=i(3868),n=i(3380),o=function(){function e(e){void 0===e&&(e=r.WindowAdaptor.workingWindow()),this.elementsList=[],this.scanValidityTime=1e3,this.searchWin=e}return e.prototype.scan=function(){return(!this.lastScanTime||n.Utilities.getCurrentTime()-this.lastScanTime>this.scanValidityTime)&&(this.elementsList=this.tagScan(),this.lastScanTime=n.Utilities.getCurrentTime()),this.elementsList},e.prototype.extractAd=function(e){return e},e}();t.BaseScanElement=o},2200:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomScanContainerElement=void 0;var a=i(3924),s=i(425),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.extractAd=function(e){return this.getBiggestNestedElement(e)},t.prototype.getBiggestNestedElement=function(e){var t,i,r=e,n=["embed","iframe","object","img","span","div","svg","canvas"],a=[],d=s.BrowserAdaptor.getElementsByTagNameFromDomElement(e,"*");try{for(var p=o(d),c=p.next();!c.done;c=p.next()){var u=c.value,l=s.BrowserAdaptor.getElementType(u);if(-1!=n.indexOf(l)){var h=s.BrowserAdaptor.getElementSize(u);h&&a.push({area:h.width*h.height,width:h.width,height:h.height,type:l,elem:u})}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(i=p.return)&&i.call(p)}finally{if(t)throw t.error}}return(a=a.sort((function(e,t){return t.area-e.area||n.indexOf(t.type)-n.indexOf(e.type)}))).length>0&&(r=a[0].elem),r},t}(a.BaseScanElement);t.CustomScanContainerElement=d},6999:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomScanCustomElement=void 0;var o=i(425),a=function(e){function t(t,i){var r=e.call(this,t)||this;return r.elementName=i,r}return n(t,e),t.prototype.tagScan=function(){return o.BrowserAdaptor.getElementsByTagNameFromDocument(this.elementName,this.searchWin.document)},t}(i(2200).CustomScanContainerElement);t.CustomScanCustomElement=a},9894:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomScanDivElement=void 0;var o=i(425),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return o.BrowserAdaptor.getElementsByTagNameFromDocument("div",this.searchWin.document)},t}(i(2200).CustomScanContainerElement);t.CustomScanDivElement=a},31:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomScanObjectElement=void 0;var o=i(425),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return o.BrowserAdaptor.getElementsByTagNameFromDocument("object",this.searchWin.document)},t}(i(2200).CustomScanContainerElement);t.CustomScanObjectElement=a},4499:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomScanSpanElement=void 0;var o=i(425),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.adunitAttribute="adunit",t}return n(t,e),t.prototype.tagScan=function(){return o.BrowserAdaptor.getElementsByTagNameFromDocument("span",this.searchWin.document)},t.prototype.extractAd=function(t){return 1==o.BrowserAdaptor.getAttribute(t,this.adunitAttribute)?t:e.prototype.extractAd.call(this,t)},t}(i(2200).CustomScanContainerElement);t.CustomScanSpanElement=a},4211:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanCanvasElement=void 0;var o=i(3924),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("canvas",this.searchWin.document)},t}(o.BaseScanElement);t.ScanCanvasElement=s},4933:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ScanContainerElement=void 0;var a=i(3924),s=i(425),d=i(1085),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.extractAd=function(e){return(new d.PassMinimumAdSize).validate(e)?e:this.getBiggestNestedElement(e)},t.prototype.getBiggestNestedElement=function(e){var t,i,r=e,n=["embed","iframe","object","img","span","div","svg","canvas"],a=[],d=s.BrowserAdaptor.getElementsByTagNameFromDomElement(e,"*");d.unshift(e);try{for(var p=o(d),c=p.next();!c.done;c=p.next()){var u=c.value,l=s.BrowserAdaptor.getElementType(u);if(-1!=n.indexOf(l)){var h=s.BrowserAdaptor.getElementSize(u);h&&a.push({area:h.width*h.height,width:h.width,height:h.height,type:l,elem:u})}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(i=p.return)&&i.call(p)}finally{if(t)throw t.error}}return(a=a.sort((function(e,t){return t.area-e.area||n.indexOf(t.type)-n.indexOf(e.type)}))).length>0&&(r=a[0].elem),r},t}(a.BaseScanElement);t.ScanContainerElement=p},3158:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanCustomElement=void 0;var o=i(4933),a=i(425),s=function(e){function t(t,i){var r=e.call(this,t)||this;return r.elementName=i,r}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument(this.elementName,this.searchWin.document)},t}(o.ScanContainerElement);t.ScanCustomElement=s},9670:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanDivElement=void 0;var o=i(4933),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("div",this.searchWin.document)},t}(o.ScanContainerElement);t.ScanDivElement=s},163:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanEmbedElement=void 0;var o=i(3924),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("embed",this.searchWin.document)},t}(o.BaseScanElement);t.ScanEmbedElement=s},1346:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanFrameElement=void 0;var o=i(3924),a=i(3868),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){var e=[],t=a.WindowAdaptor.getFrameElement(this.searchWin);return t&&e.push(t),e},t}(o.BaseScanElement);t.ScanFrameElement=s},8689:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanIframeElement=void 0;var o=i(3924),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("iframe",this.searchWin.document)},t}(o.BaseScanElement);t.ScanIframeElement=s},9038:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanImageElement=void 0;var o=i(3924),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("img",this.searchWin.document)},t}(o.BaseScanElement);t.ScanImageElement=s},2978:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanLinkElement=void 0;var o=i(3924),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("a",this.searchWin.document)},t.prototype.extractAd=function(e){var t,i=a.BrowserAdaptor.getElementsByTagNameFromDomElement(e,"img");return i.length>0&&(t=i[0]),t},t}(o.BaseScanElement);t.ScanLinkElement=s},6466:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanObjectElement=void 0;var o=i(4933),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("object",this.searchWin.document)},t}(o.ScanContainerElement);t.ScanObjectElement=s},6635:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanSpanElement=void 0;var o=i(4933),a=i(425),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.adunitAttribute="adunit",t}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("span",this.searchWin.document)},t.prototype.extractAd=function(t){return 1==a.BrowserAdaptor.getAttribute(t,this.adunitAttribute)?t:e.prototype.extractAd.call(this,t)},t}(o.ScanContainerElement);t.ScanSpanElement=s},1765:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScanSvgElement=void 0;var o=i(3924),a=i(425),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.tagScan=function(){return a.BrowserAdaptor.getElementsByTagNameFromDocument("svg",this.searchWin.document)},t}(o.BaseScanElement);t.ScanSvgElement=s},5613:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomGetElementsByTagNameSingleton=t.CustomGetElementsByTagName=void 0;var n=i(163),o=i(2978),a=i(9038),s=i(8689),d=i(1346),p=i(7749),c=i(4211),u=i(1765),l=i(3868),h=i(3380),v=i(8564),f=i(9894),y=i(4499),m=i(6999),g=i(31),b=function(){function e(e){var t=this;this.byTagScanners=[],this.byTagScanners.push(new n.ScanEmbedElement(e)),this.byTagScanners.push(new g.CustomScanObjectElement(e)),this.byTagScanners.push(new o.ScanLinkElement(e)),this.byTagScanners.push(new a.ScanImageElement(e)),this.byTagScanners.push(new y.CustomScanSpanElement(e)),this.byTagScanners.push(new s.ScanIframeElement(e)),this.byTagScanners.push(new f.CustomScanDivElement(e)),this.byTagScanners.push(new d.ScanFrameElement(e)),this.byTagScanners.push(new c.ScanCanvasElement(e)),this.byTagScanners.push(new u.ScanSvgElement(e)),p.DvTagDataObject.getCustomTags().forEach((function(i){return t.byTagScanners.unshift(new m.CustomScanCustomElement(e,i))}))}return e.prototype.scan=function(e){var t,i,n,o,a=[];try{for(var s=r(this.byTagScanners),d=s.next();!d.done;d=s.next()){var c=d.value;try{for(var u=(n=void 0,r(c.scan())),l=u.next();!l.done;l=u.next()){var f=l.value;if(e.validate(f)){var y=c.extractAd(f),m=new v.DomAdData(y,h.Utilities.getElementsDistance(y,p.DvTagDataObject.getDVScript()));a.push(m)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{d&&!d.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}return a},e}();t.CustomGetElementsByTagName=b,t.CustomGetElementsByTagNameSingleton=new b(l.WindowAdaptor.workingWindow())},7754:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.GetElementsByClassName=void 0;var n=i(425),o=i(3380),a=i(7749),s=i(8564),d=function(){function e(e){this.btreg=e}return e.prototype.scan=function(){var e,t,i=[],d=n.BrowserAdaptor.getElementsByClassName(this.btreg);try{for(var p=r(d),c=p.next();!c.done;c=p.next()){var u=c.value,l=new s.DomAdData(u,o.Utilities.getElementsDistance(u,a.DvTagDataObject.getDVScript()));i.push(l)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}return i},e}();t.GetElementsByClassName=d},6352:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.GetElementsByTagNameSingleton=t.GetElementsByTagName=void 0;var n=i(163),o=i(6466),a=i(2978),s=i(9038),d=i(6635),p=i(8689),c=i(9670),u=i(1346),l=i(7749),h=i(3158),v=i(4211),f=i(1765),y=i(3868),m=i(3380),g=i(8564),b=function(){function e(e){var t=this;this.byTagScanners=[],this.byTagScanners.push(new n.ScanEmbedElement(e)),this.byTagScanners.push(new o.ScanObjectElement(e)),this.byTagScanners.push(new a.ScanLinkElement(e)),this.byTagScanners.push(new s.ScanImageElement(e)),this.byTagScanners.push(new d.ScanSpanElement(e)),this.byTagScanners.push(new p.ScanIframeElement(e)),this.byTagScanners.push(new c.ScanDivElement(e)),this.byTagScanners.push(new u.ScanFrameElement(e)),this.byTagScanners.push(new v.ScanCanvasElement(e)),this.byTagScanners.push(new f.ScanSvgElement(e)),l.DvTagDataObject.getCustomTags().forEach((function(i){return t.byTagScanners.unshift(new h.ScanCustomElement(e,i))}))}return e.prototype.scan=function(e){var t,i,n,o,a=[];try{for(var s=r(this.byTagScanners),d=s.next();!d.done;d=s.next()){var p=d.value;try{for(var c=(n=void 0,r(p.scan())),u=c.next();!u.done;u=c.next()){var h=u.value;if(e.validate(h)){var v=p.extractAd(h),f=new g.DomAdData(v,m.Utilities.getElementsDistance(v,l.DvTagDataObject.getDVScript()));a.push(f)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{d&&!d.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}return a},e}();t.GetElementsByTagName=b,t.GetElementsByTagNameSingleton=new b(y.WindowAdaptor.workingWindow())},483:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.NearestAdScannerSingleton=t.NearestAdScanner=void 0;var n=i(3380),o=i(425),a=i(7749),s=i(8564),d=function(){function e(){this.maxScanDepth=20,this.scanValidityTime=1e3,this.elementsList=[]}return e.prototype.scan=function(e){var t,i;this.dvTag=this.dvTag||a.DvTagDataObject.getDVScript();var o=[],d=[];if(0==this.elementsList.length||n.Utilities.getCurrentTime()-this.lastScanTime>this.scanValidityTime){var p=this.getStartElement();p&&(this.getElements(p.domElement,p.depth),this.lastScanTime=n.Utilities.getCurrentTime())}try{for(var c=r(this.elementsList),u=c.next();!u.done;u=c.next()){var l=u.value;if(e.validate(l)){var h=new s.DomAdData(l,n.Utilities.getElementsDistance(l,this.dvTag));o.push(h)}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(t)throw t.error}}return o.length>0&&(d=o.sort((function(e,t){return e.depth-t.depth})).slice(0,5)),d},e.prototype.getStartElement=function(){var e,t=this.dvTag;for(e=0;e0&&r.forEach((function(e){return i.getElements(e,t-1)}))}},e}();t.NearestAdScanner=d,t.NearestAdScannerSingleton=new d},4846:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InAppHtml5VideoAdLocator=void 0;var o=i(5219),a=i(7749),s=i(425),d=i(455),p=i(712),c=i(6689),u=function(e){function t(){return e.call(this,1)||this}return n(t,e),t.prototype.getAds=function(){var e=s.BrowserAdaptor.getElementsByTagNameFromDocument("video")[0];if(e)return[new d.AdCandidateData(e)]},t.prototype.isSupported=function(){return!c.OmidWrapper.isSupported()&&a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getSupportedDeliveryType=function(){return[p.DetectedDeliveryType.MobileApp]},t.prototype.getPriority=function(){return p.LocatorPriority.VideoInAppHtml5},t.prototype.getMethod=function(){return p.LocatorMethods.VideoInAppHtml5},t}(o.BaseAdLocator);t.InAppHtml5VideoAdLocator=u},8066:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InAppVpaidVideoAdLocator=void 0;var o=i(7749),a=i(5219),s=i(455),d=i(712),p=i(6689),c=i(1063),u=function(e){function t(){return e.call(this,5,1e3)||this}return n(t,e),t.prototype.isSupported=function(){return!p.OmidWrapper.isSupported()&&o.DvTagDataObject.getTagType()==d.DvTagType.Video&&!!o.DvTagDataObject.getAdID()},t.prototype.getAds=function(){var e=c.VpaidWrapper.getDvVpaid();if(e){var t=e.asset;if(t&&t.player)return[new s.AdCandidateData(t.player)]}},t.prototype.getSupportedDeliveryType=function(){return[d.DetectedDeliveryType.MobileApp]},t.prototype.getPriority=function(){return d.LocatorPriority.VideoInAppVpaid},t.prototype.getMethod=function(){return d.LocatorMethods.VideoInAppVpaid},t}(a.BaseAdLocator);t.InAppVpaidVideoAdLocator=u},9260:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InmobiVideoAdLocator=void 0;var o=i(5219),a=i(6689),s=i(7749),d=i(712),p=i(455),c=i(1800),u=i(7360),l=i(8426),h=function(e){function t(){var t=e.call(this,5,1e3)||this;return t.isSupported()&&(u.EventBus.dispatchEvent(u.DvEvent.delayAdSelection,new c.DelayTimerData(3100)),l.InmobiWrapper.addEventListenerWithHistory(t.handleInmobiAdLoadedEvent.bind(t))),t}return n(t,e),t.prototype.isSupported=function(){return!a.OmidWrapper.isSupported()&&s.DvTagDataObject.getTagType()==d.DvTagType.Video&&l.InmobiWrapper.isSupported()},t.prototype.getAds=function(){if(this.adElement)return[new p.AdCandidateData(this.adElement)]},t.prototype.getSupportedDeliveryType=function(){return[d.DetectedDeliveryType.MobileApp]},t.prototype.getPriority=function(){return d.LocatorPriority.VideoInAppInmobi},t.prototype.getMethod=function(){return d.LocatorMethods.VideoInAppInmobi},t.prototype.handleInmobiAdLoadedEvent=function(e){e&&"AdLoaded"==e.type&&e.detail&&e.detail.element&&(this.adElement=e.detail.element)},t}(o.BaseAdLocator);t.InmobiVideoAdLocator=h},554:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.NonInAppVpaidVideoAdLocator=void 0;var o=i(7749),a=i(5219),s=i(455),d=i(712),p=i(6689),c=i(1063),u=function(e){function t(){return e.call(this,5,1e3)||this}return n(t,e),t.prototype.isSupported=function(){return!p.OmidWrapper.isSupported()&&o.DvTagDataObject.getTagType()==d.DvTagType.Video&&!!o.DvTagDataObject.getAdID()},t.prototype.getAds=function(){var e=c.VpaidWrapper.getDvVpaid();if(e){var t=e.asset;if(t&&t.player)return[new s.AdCandidateData(t.player)]}},t.prototype.getSupportedDeliveryType=function(){return[d.DetectedDeliveryType.Desktop,d.DetectedDeliveryType.MobileWeb,d.DetectedDeliveryType.Unknown]},t.prototype.getPriority=function(){return d.LocatorPriority.VideoNonInAppVpaid},t.prototype.getMethod=function(){return d.LocatorMethods.VideoNonInAppVpaid},t}(a.BaseAdLocator);t.NonInAppVpaidVideoAdLocator=u},4021:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.AdSelector=void 0;var o=i(7360),a=i(194),s=i(712),d=i(6751),p=i(1800),c=i(425),u=i(749),l=i(7749),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getActionName=function(){return"AdSelector"},t.prototype.init=function(){this.adCandidates=[],this.wasImpressionServed=!1,this.wasAdSelected=!1,this.timeoutOccurred=!1,this.adSelectedDelayTime=-1},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.adCandidateLocated]=this.adCandidateLocated.bind(this),e[o.DvEvent.impressionServed]=this.impressionServed.bind(this),e[o.DvEvent.unloadData]=this.unloadData.bind(this),e[o.DvEvent.delayAdSelection]=this.delayAdSelectionCalled.bind(this),e[o.DvEvent.reserveAdLocator]=this.reserveAdLocator.bind(this),e},t.prototype.adCandidateLocated=function(e){var t=e.adCandidate;this.wasAdSelected||(this.fillAdCandidates(t),this.trySelectAd(),this.timeoutOccurred&&this.reportSelectedAd())},t.prototype.impressionServed=function(){this.wasImpressionServed=!0,this.adSelectedDefaultDelayTime=a.DvObject.getConsolidationTimeout()||2100,this.detectedDeliveryType=a.DvObject.getDetectedDeliveryType(),l.DvTagDataObject.getTagType()!=s.DvTagType.Video&&this.detectedDeliveryType!=s.DetectedDeliveryType.MobileApp||(this.adSelectedDefaultDelayTime=0),this.trySelectAd(),this.registerAdSelectionTimeout(this.adSelectedDefaultDelayTime)},t.prototype.fillAdCandidates=function(e){var t=this.adCandidates.filter((function(t){return t.domElement==e.domElement}))[0];t&&this.isSameDetectedDeliveryType(t,e)?(t.priority+=e.priority,t.locatorMethods=t.locatorMethods|e.locatorMethods,t.state=t.state==s.AdCandidateState.Unauthorized?e.state:t.state):(this.adCandidates.push(e),o.EventBus.dispatchEvent(o.DvEvent.adCandidateApproved,new p.AdCandidateEventData(e)))},t.prototype.isSameDetectedDeliveryType=function(e,t){return e.supportedDeliveryType.every((function(e){return t.supportedDeliveryType.indexOf(e)>-1}))},t.prototype.trySelectAd=function(){var e=this;if(this.wasImpressionServed&&this.adCandidates.length){var t=this.adCandidates.filter((function(t){return t.supportedDeliveryType.some((function(t){return t==e.detectedDeliveryType}))&&t.state==s.AdCandidateState.Unresolved}));this.adPriorityToReserve&&(t=t.filter((function(t){return t.priority>=e.adPriorityToReserve}))),t.length&&(this.currentSelectedAd=t.reduce((function(e,t){return e.priority>=t.priority?e:t})))}},t.prototype.reportSelectedAd=function(){if(this.timeoutOccurred=!0,this.currentSelectedAd&&!this.wasAdSelected)if(this.adPriorityToReserve&&this.currentSelectedAd.prioritythis.adSelectedDelayTime&&(this.adSelectedDelayTime=e,this.adSelectionTimeoutId&&c.BrowserAdaptor.clearTimeout(this.adSelectionTimeoutId),this.adSelectionTimeoutId=c.BrowserAdaptor.setTimeout(this.reportSelectedAd.bind(this),this.adSelectedDelayTime))},t}(d.BaseAdBL);t.AdSelector=h},1847:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.AdSelectorLogger=void 0;var o=i(7360),a=i(7658),s=i(712),d=i(6751),p=i(749),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.adCandidatesLocatorMethods=0,this.numberOfAdCandidates=0,this.wasAdSelected=!1},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.adCandidateLocated]=this.adCandidateLocated.bind(this),e[o.DvEvent.adCandidateApproved]=this.adCandidateApproved.bind(this),e[o.DvEvent.adSelected]=this.adSelected.bind(this),e},t.prototype.adCandidateLocated=function(e){this.wasAdSelected||(this.adCandidatesLocatorMethods=this.adCandidatesLocatorMethods|e.adCandidate.locatorMethods)},t.prototype.adCandidateApproved=function(){this.numberOfAdCandidates++},t.prototype.adSelected=function(e){var t;this.wasAdSelected=!0,p.MessageHandler.sendMessage(((t={})[a.EngagementDataMapping.adCandidatesLocatorMethods]=this.adCandidatesLocatorMethods,t[a.EngagementDataMapping.numberOfAdCandidates]=this.numberOfAdCandidates,t)),e.adCandidate.locatorMethods&(s.LocatorMethods.DisplayIntegratedCeltra|s.LocatorMethods.DisplayNonIntegratedCeltra)&&p.MessageHandler.sendMessage({dvp_csm:e.adCandidate.celtraTagSearchMethod})},t}(d.BaseAdBL);t.AdSelectorLogger=c},8720:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.AdSizeBL=void 0;var o=i(6751),a=i(7360),s=i(1800),d=i(7749),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;if(!(d.DvTagDataObject.getTagType()==p.DvTagType.Video&&!i.adIsPlaying||t.adWidth&&t.adHeight)&&i.adSize){var r=t.adWidth,n=t.adHeight;if(t.adWidth=i.adSize.width?Math.ceil(i.adSize.width):t.adWidth,t.adHeight=i.adSize.height?Math.ceil(i.adSize.height):t.adHeight,r!=t.adWidth||n!=t.adHeight){var o=new s.AdCandidateEventData(t);a.EventBus.dispatchEvent(a.DvEvent.adSizeChangedData,o),a.EventBus.dispatchEvent(a.DvEvent.reportData,o)}}},t}(o.BaseAdBL);t.AdSizeBL=c},6751:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAdBL=void 0;var r=i(7360),n=function(){function e(){this.isSupported()&&(this.init(),r.EventBus.addEventsListener(this.getEventsAndCallbacksToRegister(),this.getActionName()))}return e.prototype.getActionName=function(){return"BaseAdBL"},e}();t.BaseAdBL=n},7127:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAdDataLoggerBL=void 0;var r=i(7360),n=i(194),o=i(1800),a=i(3380),s=function(){function e(){this.isSupported()&&a.Utilities.isPercentageCriteriaPassed(this.getTrafficPercentage())&&this.init()}return e.prototype.init=function(){var e=this;r.EventBus.addEventListener(r.DvEvent.impressionServed,(function(){e.isSupportedDetectedDeliveryType()&&r.EventBus.addEventsListener(e.getEventsAndCallbacksToRegister(),e.getActionName())}))},e.prototype.report=function(e){r.EventBus.dispatchEvent(r.DvEvent.reportData,new o.AdCandidateEventData(e))},e.prototype.isSupportedDetectedDeliveryType=function(){return this.getSupportedDetectedDeliveryType().some((function(e){return e==n.DvObject.getDetectedDeliveryType()}))},e}();t.BaseAdDataLoggerBL=s},9608:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.AdLocatedBL=void 0;var o=i(7360),a=i(6751),s=i(1800),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.adCandidateApproved]=this.handleEvent.bind(this),e},t.prototype.handleEvent=function(e){var t=e.adCandidate;t.timeMsUntilAdLocated=e.updateTime,t.isEngagementEligible=1,o.EventBus.dispatchEvent(o.DvEvent.reportData,new s.AdCandidateEventData(t))},t}(a.BaseAdBL);t.AdLocatedBL=d},6163:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.BaseInteractionBL=void 0;var o=i(7360),a=i(1800),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.isSupported=function(){return!0},t.prototype.init=function(){},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[this.getInteractionEventName()]=this.handleEvent.bind(this),e},t.prototype.handleEvent=function(e){this.allowReport(e.adCandidate)&&(this.update(e.adCandidate,e.relevantData)==s.BlResponse.Updated&&o.EventBus.dispatchEvent(o.DvEvent.reportData,new a.AdCandidateEventData(e.adCandidate)))},t.prototype.allowReport=function(e){return!e.wasAdStopped},t}(i(6751).BaseAdBL);t.BaseInteractionBL=d},5648:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.EngagementReportRtsBL=void 0;var o=i(6751),a=i(7360),s=i(1800),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.orientationchangeLandscapeData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.orientationChangePortraitData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.mouseMoveData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.keyPressData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.touchData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.hoverData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.focusData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.clickData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.abandonData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.skipData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.pauseData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.adSizeData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.resumeData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.volumeData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.scrollData]=this.TrySendEngagementInteraction.bind(this),e[a.DvEvent.unloadData]=this.TrySendEngagementUnload.bind(this),e},t.prototype.TrySendEngagementInteraction=function(e){var t=e.adCandidate,i=this.adEngagementReported(t),r=this.pageEngagementReported(t);i==t.adEngagement&&r==t.pageEngagement||(t.adEngagement=i,t.pageEngagement=r,a.EventBus.dispatchEvent(a.DvEvent.reportData,new s.AdCandidateEventData(t)))},t.prototype.TrySendEngagementUnload=function(e){this.TrySendEngagementInteraction(e);var t=e.adCandidate;t.adEngagement||t.pageEngagement||(t.noEngagement=!0,a.EventBus.dispatchEvent(a.DvEvent.reportData,new s.AdCandidateEventData(t)))},t.prototype.adEngagementReported=function(e){if(e.timeMsUntilAbandon||e.timeMsUntilSkip||e.timeMsUntilPause||e.timeMsUntilClick||e.timeMsUntilAdSizeIncrease||e.timeMsUntilResume||e.timeMsUntilTouch||e.timeMsUntilHover||e.timeMsUntilAdSizeDecrease||e.timeMsUntilVolumeIncrease||e.timeMsUntilVolumeDecrease||e.timeMsUntilVolumeUnMute||e.lastTimeMsVolumeMute)return!0},t.prototype.pageEngagementReported=function(e){if(e.timeMsUntilFocusOut||e.timeMsUntilFocusIn||e.timeMsUntilMouseMove||e.timeMsUntilKeyPress||e.timeMsUntilScroll||e.timeMsUntilOrientationChangeToLandscape||e.timeMsUntilOrientationChangeToPortrait)return!0},t}(o.BaseAdBL);t.EngagementReportRtsBL=d},5443:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionAdSizeBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.adSizeData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;if(e.isPaused)return i;var r=t.updateTime;switch(this.getAdSizeState(e.lastAdSize,t.adSize)){case s.AdSizeState.NoChange:break;case s.AdSizeState.Increase:if(e.timeMsUntilAdSizeIncrease)break;e.timeMsUntilAdSizeIncrease=r,i=s.BlResponse.Updated;break;case s.AdSizeState.Decrease:if(e.timeMsUntilAdSizeDecrease)break;e.timeMsUntilAdSizeDecrease=r,i=s.BlResponse.Updated}return e.lastAdSize=t.adSize,i},t.prototype.getAdSizeState=function(e,t){var i=this.getSurface(e),r=this.getSurface(t);return i&&r&&i!=r?r>i?s.AdSizeState.Increase:s.AdSizeState.Decrease:s.AdSizeState.NoChange},t.prototype.getSurface=function(e){return e&&e.width&&e.height?e.width*e.height:0},t}(a.BaseInteractionBL);t.InteractionAdSizeBL=d},7999:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionClickBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.clickData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.isPaused||e.timeMsUntilClick||(e.timeMsUntilClick=t.updateTime,i=s.BlResponse.Updated),i},t}(a.BaseInteractionBL);t.InteractionClickBL=d},8874:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionFocusBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.focusData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated,r=t.updateTime;if(e.isPaused)return i;switch(this.getFocusState(e.lastFocus,t.focus)){case s.FocusState.NoChange:break;case s.FocusState.In:if(e.timeMsUntilFocusIn)break;e.timeMsUntilFocusIn=r,i=s.BlResponse.Updated;break;case s.FocusState.Out:if(e.timeMsUntilFocusOut)break;e.timeMsUntilFocusOut=r,i=s.BlResponse.Updated}return e.lastFocus=t.focus,i},t.prototype.getFocusState=function(e,t){var i;return null==e||null==t||e==t?i=s.FocusState.NoChange:0==e&&1==t?i=s.FocusState.In:1==e&&0==t&&(i=s.FocusState.Out),i},t}(a.BaseInteractionBL);t.InteractionFocusBL=d},8463:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionHoverBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.hoverData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.isPaused||e.timeMsUntilHover||(e.timeMsUntilHover=t.updateTime,i=s.BlResponse.Updated),i},t}(a.BaseInteractionBL);t.InteractionHoverBL=d},4183:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionTouchBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.touchData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.isPaused||e.timeMsUntilTouch||(e.timeMsUntilTouch=t.updateTime,i=s.BlResponse.Updated),i},t}(a.BaseInteractionBL);t.InteractionTouchBL=d},2359:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageInteractionKeyPressBL=void 0;var o=i(6163),a=i(7360),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return a.DvEvent.keyPressData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilKeyPress||(e.timeMsUntilKeyPress=t.updateTime,i=s.BlResponse.Updated),i},t}(o.BaseInteractionBL);t.PageInteractionKeyPressBL=d},8345:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageInteractionMouseMoveBL=void 0;var o=i(6163),a=i(7360),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return a.DvEvent.mouseMoveData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilMouseMove||(e.timeMsUntilMouseMove=t.updateTime,i=s.BlResponse.Updated),i},t}(o.BaseInteractionBL);t.PageInteractionMouseMoveBL=d},6355:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageInteractionOrientationChangeLandscapeBL=void 0;var o=i(6163),a=i(7360),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return a.DvEvent.orientationchangeLandscapeData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilOrientationChangeToLandscape||(e.timeMsUntilOrientationChangeToLandscape=t.updateTime,i=s.BlResponse.Updated),i},t}(o.BaseInteractionBL);t.PageInteractionOrientationChangeLandscapeBL=d},8409:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageInteractionOrientationChangePortraitBL=void 0;var o=i(6163),a=i(7360),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return a.DvEvent.orientationChangePortraitData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilOrientationChangeToPortrait||(e.timeMsUntilOrientationChangeToPortrait=t.updateTime,i=s.BlResponse.Updated),i},t}(o.BaseInteractionBL);t.PageInteractionOrientationChangePortraitBL=d},8076:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageInteractionScrollBL=void 0;var o=i(6163),a=i(7360),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return a.DvEvent.scrollData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilScroll||(e.timeMsUntilScroll=t.updateTime,i=s.BlResponse.Updated),i},t}(o.BaseInteractionBL);t.PageInteractionScrollBL=d},9289:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionAbandonBL=void 0;var o=i(7360),a=i(6163),s=i(7749),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.getInteractionEventName=function(){return o.DvEvent.abandonData},t.prototype.update=function(e,t){var i=d.BlResponse.NotUpdated;return s.DvTagDataObject.getTagType()!=d.DvTagType.Video||e.timeMsUntilSkip||e.timeMsUntilAbandon||(e.timeMsUntilAbandon=t.updateTime,i=d.BlResponse.Updated),i},t}(a.BaseInteractionBL);t.InteractionAbandonBL=p},1816:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionPauseBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.pauseData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.isPaused||(e.timeMsUntilPause||(e.timeMsUntilPause=t.updateTime,i=s.BlResponse.Updated),e.isPaused=!0),i},t}(a.BaseInteractionBL);t.InteractionPauseBL=d},3363:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionResumeBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.resumeData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilResume||1!=e.isPaused||(e.isPaused=!1,e.timeMsUntilResume=t.updateTime,i=s.BlResponse.Updated),i},t}(a.BaseInteractionBL);t.InteractionResumeBL=d},1006:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionSkipBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.skipData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.timeMsUntilSkip||(e.timeMsUntilSkip=e.adSkippedTime=t.updateTime,e.adSkippableMs||(e.adSkippableMs=t.updateTime),i=s.BlResponse.Updated),i},t}(a.BaseInteractionBL);t.InteractionSkipBL=d},6044:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionVolumeBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.volumeData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated,r=t.updateTime;switch(this.getVolumeState(e.lastVideoVolume,t.volume)){case s.VolumeState.NoChange:break;case s.VolumeState.Mute:if(e.timeMsUntilVolumeMute)break;e.timeMsUntilVolumeMute=r,i=s.BlResponse.Updated;break;case s.VolumeState.Decrease:if(e.timeMsUntilVolumeDecrease)break;e.timeMsUntilVolumeDecrease=r,i=s.BlResponse.Updated;break;case s.VolumeState.Unmute:if(e.timeMsUntilVolumeUnMute)break;e.timeMsUntilVolumeUnMute=r,i=s.BlResponse.Updated;break;case s.VolumeState.Increase:if(e.timeMsUntilVolumeIncrease)break;e.timeMsUntilVolumeIncrease=r,i=s.BlResponse.Updated}return e.lastVideoVolume=t.volume,i},t.prototype.getVolumeState=function(e,t){var i;return null==e||null==t||e==t?i=s.VolumeState.NoChange:0===t&&e>0?i=s.VolumeState.Mute:t0?i=s.VolumeState.Unmute:t>e&&(i=s.VolumeState.Increase),i},t}(a.BaseInteractionBL);t.InteractionVolumeBL=d},9611:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.QuartileBucketsVolumeBL=void 0;var o=i(7360),a=i(1800),s=i(7749),d=i(6751),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return s.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleVolumeData.bind(this),e[o.DvEvent.adVideoFirstQuartileData]=this.handleQuartileData.bind(this,1),e[o.DvEvent.adVideoMidpointData]=this.handleQuartileData.bind(this,2),e[o.DvEvent.adVideoThirdQuartileData]=this.handleQuartileData.bind(this,3),e[o.DvEvent.adVideoCompleteData]=this.handleQuartileData.bind(this,4),e},t.prototype.handleVolumeData=function(e){var t=e.adCandidate,i=e.relevantData;if(i.adIsPlaying&&null!=i.volume&&-1!=i.volume){var r=i.volume?i.intervalDuration:0,n="q"+t.volumeDurationQuartileId+"ad";t[n]=t[n]?t[n]+r:r,i.volume&&t.markAdQuartile(p.ExposureQuartileBitwise.Audible,t.volumeDurationQuartileId)}},t.prototype.handleQuartileData=function(e,t){var i=t.adCandidate;i.volumeDurationQuartileId=e+1,o.EventBus.dispatchEvent(o.DvEvent.reportData,new a.AdCandidateEventData(i))},t}(d.BaseAdBL);t.QuartileBucketsVolumeBL=c},876:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoCompleteBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.adVideoCompleteData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.wasAdStopped=!0,i},t}(a.BaseInteractionBL);t.VideoCompleteBL=d},615:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoLengthBL=void 0;var o=i(7360),a=i(1800),s=i(7749),d=i(6751),p=i(712),c=i(3380),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return s.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.adVideoFirstQuartileData]=this.calculateVideoLengthDueToFirstQuartile.bind(this),e[o.DvEvent.adVideoMidpointData]=this.calculateVideoLengthDueToSecondQuartile.bind(this),e[o.DvEvent.adVideoCompleteData]=this.calculateVideoLengthDueToAdComplete.bind(this),e},t.prototype.calculateVideoLengthDueToFirstQuartile=function(e){var t=e.adCandidate;t.adVideoTimeLine&&(t.adDuration=4*t.adVideoTimeLine,c.Utilities.logIfNotAnInteger(t.adDuration,t,"adDurationDataValidation"),t.adDurationCalculationType=p.AdDurationCalculationType.FirstQuartile)},t.prototype.calculateVideoLengthDueToSecondQuartile=function(e){var t=e.adCandidate;t.adVideoTimeLine&&(t.videoLength=2*t.adVideoTimeLine,t.adDuration=2*t.adVideoTimeLine,c.Utilities.logIfNotAnInteger(t.adDuration,t,"adDurationDataValidation"),t.adDurationCalculationType=p.AdDurationCalculationType.SecondQuartile)},t.prototype.calculateVideoLengthDueToAdComplete=function(e){var t=e.adCandidate;t.adVideoTimeLine&&(t.adDuration=t.adVideoTimeLine,c.Utilities.logIfNotAnInteger(t.adDuration,t,"adDurationDataValidation"),t.adDurationCalculationType=p.AdDurationCalculationType.adComplete,o.EventBus.dispatchEvent(o.DvEvent.reportData,new a.AdCandidateEventData(t)))},t}(d.BaseAdBL);t.VideoLengthBL=u},1886:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoMarkImpressionAsRenderedBL=void 0;var o=i(6751),a=i(7749),s=i(7360),d=i(1800),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getActionName=function(){return"VideoMarkImpressionAsRenderedBL"},t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[s.DvEvent.impressionServed]=this.impressionServed.bind(this),e},t.prototype.impressionServed=function(){var e=this;[s.DvEvent.adImpressionData,s.DvEvent.adVideoStartData,s.DvEvent.resumeData].forEach((function(t){s.EventBus.addEventListener(t,e.videoRenderedCallback.bind(e))}))},t.prototype.videoRenderedCallback=function(e){var t=e.adCandidate;null==t.isVideoPreRendered&&(t.isVideoPreRendered=0,t.videoStartTime=e.updateTime,t.timeMsUntilVideoPlayed=e.updateTime,s.EventBus.dispatchEvent(s.DvEvent.videoStartPlaying,new d.AdCandidateEventData(t)),s.EventBus.dispatchEvent(s.DvEvent.reportData,new d.AdCandidateEventData(t)))},t}(o.BaseAdBL);t.VideoMarkImpressionAsRenderedBL=c},6901:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoSkippableBL=void 0;var o=i(7360),a=i(7749),s=i(6751),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==d.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.skippableData]=this.handleSkippableData.bind(this),e},t.prototype.handleSkippableData=function(e){var t=e.adCandidate,i=e.relevantData;i.adSkippable&&(t.adSkippableMs=i.updateTime)},t}(s.BaseAdBL);t.VideoSkippableBL=p},5784:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoStoppedBL=void 0;var o=i(7360),a=i(6163),s=i(712),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getInteractionEventName=function(){return o.DvEvent.stopData},t.prototype.update=function(e,t){var i=s.BlResponse.NotUpdated;return e.wasAdStopped=!0,i},t}(a.BaseInteractionBL);t.VideoStoppedBL=d},223:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeBL=void 0;var o=i(7360),a=i(7749),s=i(6751),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==d.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleVolumeData.bind(this),e},t.prototype.handleVolumeData=function(e){var t=e.adCandidate,i=e.relevantData;i.adIsPlaying&&this.trySetVolumeValues(t,i)},t.prototype.trySetVolumeValues=function(e,t){var i=t.volume;null!=i&&-1!=i&&(e.timeMsUntilVolumeMeasured||(e.timeMsUntilVolumeMeasured=t.updateTime),0==(i=Math.max(Math.min(Math.ceil(100*i),100),0))&&null==e.lastTimeMsVolumeMute&&(e.lastTimeMsVolumeMute=t.updateTime),e.minVideoVolume=null==e.minVideoVolume||e.minVideoVolume>i?i:e.minVideoVolume,e.maxVideoVolume=null==e.maxVideoVolume||e.maxVideoVolume0;){if(i.frameElement&&this.isElementLoadingAttributeLazy(i.frameElement))return!0;i=d.WindowAdaptor.getWindowParent(i),t--}}catch(e){}return!1},t.prototype.isElementLoadingAttributeLazy=function(e){return"lazy"===(e&&e.loading&&e.loading.trim().toLowerCase())},t.TRAFFIC_PERCENTAGE=100,t.ACTION_NAME="LazyLoadingResearchBL",t.HAS_LAZY_LOADING_ATTRIBUTE=1,t}(o.BaseAdDataLoggerBL);t.LazyLoadingResearchBL=c},5500:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.MobileOrientationBL=void 0;var o=i(6751),a=i(7360),s=i(194),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getActionName=function(){return"MobileOrientationBL"},t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.impressionServed]=this.impressionServed.bind(this),e},t.prototype.impressionServed=function(){s.DvObject.isMobile()&&a.EventBus.addEventListener(a.DvEvent.exposureData,this.handleViewabilityData.bind(this))},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;i.viewportSize&&i.viewportSize.height&&i.viewportSize.width?this.setOrientationData(t,i):t.initialOrientationType=t.initialOrientationType||d.OrientationType.Unknown},t.prototype.setOrientationData=function(e,t){var i=d.OrientationType.Unknown;t.viewportSize.width>t.viewportSize.height?(i=d.OrientationType.Landscape,e.accumulativeTimeOrientationLandscape=e.accumulativeTimeOrientationLandscape?e.accumulativeTimeOrientationLandscape+t.intervalDuration:t.intervalDuration):(i=d.OrientationType.Portrait,e.accumulativeTimeOrientationPortrait=e.accumulativeTimeOrientationPortrait?e.accumulativeTimeOrientationPortrait+t.intervalDuration:t.intervalDuration),e.initialOrientationType||(e.initialOrientationType=i)},t}(o.BaseAdBL);t.MobileOrientationBL=p},1074:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.NormalizedAdSizeBL=void 0;var o=i(6751),a=i(7360),s=i(1800),d=i(7749),p=i(712),c=i(3971),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.adSizeChangedData]=this.handleAdSizeChangedData.bind(this),e},t.prototype.handleAdSizeChangedData=function(e){var t=e.adCandidate;if(t.adWidth&&t.adHeight){var i={width:t.adWidth,height:t.adHeight},r=c.StandardSizes.getNearestAdSize(i,d.DvTagDataObject.getTagType(),d.DvTagDataObject.getTagType()==p.DvTagType.Video?p.StandardSizeThreshold.videoThreshold:p.StandardSizeThreshold.displayThreshold);r&&(t.normalizedAdWidth=r.width,t.normalizedAdHeight=r.height,a.EventBus.dispatchEvent(a.DvEvent.reportData,new s.AdCandidateEventData(t)))}},t}(o.BaseAdBL);t.NormalizedAdSizeBL=u},750:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.OmidForWebLogger=void 0;var o=i(8379),a=i(3380),s=i(3868),d=i(7359),p=i(1759),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return this.isOmidForWebSupported()},t.prototype.dvGetOmidVerificationClient=function(){return p()},t.prototype.isOmidForWebSupported=function(){var e=s.WindowAdaptor.workingWindow();if(e&&e.omid3p){var t=e.OmidVerificationClient&&e.OmidVerificationClient["1.2.6-iab634"]||this.dvGetOmidVerificationClient();if(t)return this.omidVerificationClient=new t,this.isOmidWebSupported=!!this.omidVerificationClient&&!!this.omidVerificationClient.omid3p,this.isOmidWebSupported}},t.prototype.adCandidateApproved=function(t){var i=this;this.isOmidForWebSupported()&&(this.omidVerificationClient.registerSessionObserver(this.logOmidSessionEvent.bind(this,t)),Object.keys(o.OmidEvents).forEach((function(r){return i.omidVerificationClient.addEventListener(r,e.prototype.logOmidEvent.bind(i,r,t))})))},t.prototype.logOmidSessionEvent=function(t,i){if(i&&i.type)switch(i.type){case"sessionStart":var r=i.data;r&&r.context&&(t.adCandidate.omidWebClientEnvironmentLog=1,t.adCandidate.omidAccessMode=r.context.accessMode,t.adCandidate.omidEnvironmentDvp=r.context.environment,t.adCandidate.omidAdSessionType=r.context.adSessionType,t.adCandidate.omidPartnerName=r.context.omidNativeInfo&&r.context.omidNativeInfo.partnerName,t.adCandidate.omidPartnerVersion=r.context.omidNativeInfo&&r.context.omidNativeInfo.partnerVersion,t.adCandidate.omidJSImplementer=r.context.omidJsInfo&&r.context.omidJsInfo.omidImplementer,t.adCandidate.omidJSServiceVersion=r.context.omidJsInfo&&r.context.omidJsInfo.serviceVersion,t.adCandidate.omidJSSessionClientVersion=r.context.omidJsInfo&&r.context.omidJsInfo.sessionClientVersion,t.adCandidate.omidJSPartnerName=r.context.omidJsInfo&&r.context.omidJsInfo.partnerName,t.adCandidate.omidJSPartnerVersion=r.context.omidJsInfo&&r.context.omidJsInfo.partnerVersion,t.adCandidate.omidCustomReferenceData=a.Utilities.isNullOrEmpty(r.context.customReferenceData)?r.context.customReferenceData:encodeURIComponent(r.context.customReferenceData))}e.prototype.logOmidSessionEvent.call(this,t,i)},t}(d.OmidLogger);t.OmidForWebLogger=c},7359:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.OmidLogger=void 0;var o=i(7360),a=i(6751),s=i(6689),d=i(8379),p=i(3380),c=i(194),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return s.OmidWrapper.isSupported()},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.adCandidateApproved]=this.adCandidateApproved.bind(this),e},t.prototype.adCandidateApproved=function(e){var t=this;s.OmidWrapper.registerSessionObserver(this.logOmidSessionEvent.bind(this,e)),Object.keys(d.OmidEvents).forEach((function(i){return s.OmidWrapper.addEventListener(i,t.logOmidEvent.bind(t,i,e))}))},t.prototype.logOmidEvent=function(e,t){var i=p.Utilities.getTimeDiff(),r=t.adCandidate;switch(e){case"impression":r.omidTimeMsUntilImpression=i;break;case"start":r.omidTimeMsUntilStartVideo=i;break;case"complete":r.omidTimeMsUntilEndVideo=i}(r.omidEvents&d.OmidEvents[e])!=d.OmidEvents[e]&&(r.omidEvents|=d.OmidEvents[e],this.reportData(t))},t.prototype.logOmidSessionEvent=function(e,t){if(t&&t.type){switch(t.type){case"sessionStart":c.DvObject.getDvObject().omidSessionStartTime&&(e.adCandidate.omidTimeMsUntilStartSession=p.Utilities.getTimeDiffNoAbs(c.DvObject.getDvObject().omidSessionStartTime))}(e.adCandidate.omidEvents&d.OmidEvents[t.type])!=d.OmidEvents[t.type]&&(e.adCandidate.omidEvents|=d.OmidEvents[t.type],this.reportData(e))}},t.prototype.reportData=function(e){o.EventBus.dispatchEvent(o.DvEvent.reportData,e)},t}(a.BaseAdBL);t.OmidLogger=u},9401:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ReportAdManagerRTS=void 0;var a=i(7360),s=i(194),d=i(712),p=i(6751),c=i(1800),u=i(3380),l=i(7658),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.reportData]=this.report.bind(this),e[a.DvEvent.adSelected]=this.report.bind(this),e},t.prototype.report=function(e){var t=e.adCandidate,i=e.relevantData,r=!i.reportType||i.reportType==d.ReportType.All||i.reportType==d.ReportType.RTS;if(t.state==d.AdCandidateState.Selected&&r){var n=u.Utilities.mapData(t,l.RTSDataMapping,!0),o=Object.keys(n);o.length&&this.sendRtsEvents(o,t)}},t.prototype.sendRtsEvents=function(e,t){var i,r;try{for(var n=o(e),d=n.next();!d.done;d=n.next()){var p=d.value;s.DvObject.publishPubSubEvent(p),a.EventBus.dispatchEvent(a.DvEvent.rtsEventData,new c.AdCandidateEventData(t,{eventName:p}))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}},t}(p.BaseAdBL);t.ReportAdManagerRTS=h},3831:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReportAdManagerTPS=void 0;var o=i(7360),a=i(7658),s=i(712),d=i(6751),p=i(3380),c=i(749),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cachedAdDataToReport={},t}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.reportData]=this.report.bind(this),e[o.DvEvent.adSelected]=this.report.bind(this),e},t.prototype.report=function(e){var t=e.adCandidate,i=e.relevantData,r=!i.reportType||i.reportType==s.ReportType.All||i.reportType==s.ReportType.TPS;if(t.state==s.AdCandidateState.Selected&&r){var n=p.Utilities.mapData(t,a.AdDataMappingToReport,!1);p.Utilities.removeDuplicateValues(n,this.cachedAdDataToReport),p.Utilities.extend(n,this.cachedAdDataToReport);var o=e.relevantData,d=o.isImportantMessage,u=o.noConsolidation;if(!p.Utilities.isEmpty(n)){var l={isImportantMessage:d,noConsolidation:u};c.MessageHandler.sendMessage(n,l)}}},t}(d.BaseAdBL);t.ReportAdManagerTPS=u},3500:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ShareOfScreenResearchBL=void 0;var a=i(7360),s=i(425),d=i(7127),p=i(712),c=i(3868),u=i(194),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e},t.prototype.isSupported=function(){return!0},t.prototype.handleViewabilityData=function(e){var t,i,r=e.adCandidate,n=e.relevantData,a=c.WindowAdaptor.workingDocument(c.WindowAdaptor.windowTop()||null),d=!1,l=n.screenSize,h=r.ShareOfScreenLastScreenSize||l,v=r.screenSizeChanged,f=n.adSize,y=r.shareOfScreenLastAdSize||f,m=r.adSizeChanged,g=s.BrowserAdaptor.getDevicePixelRatio(),b=r.devicePixelRatioReported,w=r.shareOfScreenLastDevicePixelRatio||g,_=r.devicePixelRatioChanged;if(u.DvObject.getDetectedDeliveryType()===p.DetectedDeliveryType.MobileWeb&&(c.WindowAdaptor.getScenarioType()===p.Scenario.SameDomain||c.WindowAdaptor.getScenarioType()===p.Scenario.OnPage)){var D=n.viewportSize;if(D&&D.width>0&&D.height>0){var S=this.getMinAndMaxViewport(r,D),A=S.minVpHeight,E=S.minVpWidth,T=S.maxVpHeight,O=S.maxVpWidth;this.isViewportChanged(r,A,E,T,O)&&(d=!0,r.minViewportHeight=A,r.minViewportWidth=E,r.maxViewportHeight=T,r.maxViewportWidth=O)}}if(!v&&this.validateScreenSize(l)&&(r.screenSizeChanged=h.height!==l.height||h.width!==l.width?1:void 0,r.ShareOfScreenLastScreenSize=l,r.screenSizeChanged&&(d=!0)),!m&&this.validateAdSize(f)&&(r.adSizeChanged=y.height!=f.height||y.width!=f.width?1:void 0,r.shareOfScreenLastAdSize=f,r.adSizeChanged&&(d=!0)),!_&&g&&(r.devicePixelRatioChanged=w!==g?1:void 0,r.shareOfScreenLastDevicePixelRatio=g,r.devicePixelRatioChanged&&(d=!0)),b||(d=!0,r.devicePixelRatioReported=!0),a&&!this.isMetaReported(r)){var V=s.BrowserAdaptor.getMetaTagAttributes(a,"viewport");try{for(var C=o(Object.keys(V)),M=C.next();!M.done;M=C.next()){var P=M.value,I=V[P];switch(P.trim()){case"width":r.viewPortMetaTagWidth=I;break;case"height":r.viewPortMetaTagHeight=I;break;case"initial-scale":r.viewPortMetaTagInitialScale=I;break;case"user-scalable":r.viewPortMetaTagScalable="yes"===I?1:0}}}catch(e){t={error:e}}finally{try{M&&!M.done&&(i=C.return)&&i.call(C)}finally{if(t)throw t.error}}d=this.isMetaReported(r)}d&&this.report(r)},t.prototype.isViewportChanged=function(e,t,i,r,n){return e.minViewportHeight!=t||e.minViewportWidth!=i||e.maxViewportHeight!=r||e.maxViewportWidth!=n},t.prototype.getMinAndMaxViewport=function(e,t){return{minVpHeight:Math.min(e.minViewportHeight||t.height,t.height),minVpWidth:Math.min(e.minViewportWidth||t.width,t.width),maxVpHeight:Math.max(e.maxViewportHeight||t.height,t.height),maxVpWidth:Math.max(e.maxViewportWidth||t.width,t.width)}},t.prototype.isMetaReported=function(e){return!!(e.viewPortMetaTagWidth||e.viewPortMetaTagHeight||e.viewPortMetaTagInitialScale||e.viewPortMetaTagScalable)},t.prototype.validateScreenSize=function(e){return!!(e&&e.width&&e.height)},t.prototype.validateAdSize=function(e){return!!(e&&e.width&&e.height)},t.prototype.getTrafficPercentage=function(){return 100},t.prototype.getSupportedDetectedDeliveryType=function(){return[p.DetectedDeliveryType.MobileApp,p.DetectedDeliveryType.MobileWeb,p.DetectedDeliveryType.Desktop]},t.prototype.getActionName=function(){return"ShareOfScreen"},t}(d.BaseAdDataLoggerBL);t.ShareOfScreenResearchBL=l},3719:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewabilityBL=void 0;var o=i(7360),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getActionName=function(){return"BaseViewabilityBL"},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.impressionServed]=this.impressionServed.bind(this),e},t.prototype.impressionServed=function(){this.shouldRegisterToExposureEvents()&&o.EventBus.addEventListener(o.DvEvent.exposureData,this.handleViewabilityData.bind(this))},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;if(this.needToCheckViewability(t,i)){this.reportViewabilityMeasured(t,i);var r=this.isViewabilityConditionPassed(i);this.shouldReportViewability(r,i.intervalDuration,t,i)&&this.reportViewabilityPassed(t,i.updateTime)}},t}(i(6751).BaseAdBL);t.BaseViewabilityBL=a},4771:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.BucketsDisplayViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(6751),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==d.DvTagType.Display},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData,r=i.intervalDuration,n=this.getBucketNumber(i.percentage,i.focus),o="b"+n;null!=n?(t[o]=t[o]||0,t[o]+=r,t.viewabilityDisplayBucketsUnloadTime=i.updateTime):(t.napt=t.napt||0,t.napt+=r)},t.prototype.getBucketNumber=function(e,t){return null==e?null:0!=e&&t?Math.floor(e/10)+1:0},t}(s.BaseAdBL);t.BucketsDisplayViewabilityBL=p},8877:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.BucketsVideoViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(1800),d=i(6751),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[a.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e[a.DvEvent.adVideoFirstQuartileData]=this.handleQuartileData.bind(this,p.Quartile.Q1),e[a.DvEvent.adVideoMidpointData]=this.handleQuartileData.bind(this,p.Quartile.Q2),e[a.DvEvent.adVideoThirdQuartileData]=this.handleQuartileData.bind(this,p.Quartile.Q3),e[a.DvEvent.adVideoCompleteData]=this.handleLastQuartileData.bind(this),e},t.prototype.handleLastQuartileData=function(e){var t=this.updateQuartileTimestamp(e);a.EventBus.dispatchEvent(a.DvEvent.reportData,new s.AdCandidateEventData(t))},t.prototype.handleQuartileData=function(e,t){var i=this.updateQuartileTimestamp(t);a.EventBus.dispatchEvent(a.DvEvent.reportData,new s.AdCandidateEventData(i)),i.videoBucketsQuartileId=e+1},t.prototype.updateQuartileTimestamp=function(e){var t=e.relevantData,i=e.adCandidate;return i["isq"+i.videoBucketsQuartileId+"ms"]=t.updateTime,i.markAdQuartile(p.ExposureQuartileBitwise.Completed,i.videoBucketsQuartileId),i},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;if(i.adIsPlaying){var r=i.intervalDuration,n=this.getBucketNumber(i.percentage,i.focus);if(null!=n){var o="q"+t.videoBucketsQuartileId+"b"+n;t[o]=t[o]?t[o]+r:r}else{var a="q"+t.videoBucketsQuartileId+"napt";t[a]=t[a]?t[a]+r:r}}},t.prototype.getBucketNumber=function(e,t){return null==e?null:0!=e&&t?Math.floor(e/25)+1:0},t}(d.BaseAdBL);t.BucketsVideoViewabilityBL=c},1391:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomAdvertiserViewabilityStandardBL=void 0;var o=i(7360),a=i(194),s=i(3719),d=i(1800),p=i(3380),c=i(8379),u=i(7749),l=i(712),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.shouldRegisterToExposureEvents=function(){var e=c.ViewabilityConstants.CustomAdvertiserViewabilityStandard,t=e.DisplayMinimalLargeAdArea,i=e.VideoMinimalLargeAdArea;return this.minimalLargeAdArea=u.DvTagDataObject.getTagType()==l.DvTagType.Display?t:i,this.customAdvertiserViewabilitySettings=a.DvObject.getCustomAdvertiserViewabilitySettings(),!!this.customAdvertiserViewabilitySettings},t.prototype.getConditions=function(e){var t=this.customAdvertiserViewabilitySettings.conditions;return e?t.largeAd:t.regularAd},t.prototype.isViewabilityConditionPassed=function(e){var t=p.Utilities.isLargeAd(e.adSize,this.minimalLargeAdArea),i=this.conditions=this.getConditions(t),r=i.onFocus,n=i.adPercentage,o=e.focus,a=e.percentage;return(!0!==r||o)&&(null==n||a>=n)},t.prototype.needToCheckViewability=function(e,t){return(u.DvTagDataObject.getTagType()==l.DvTagType.Display||t.adIsPlaying)&&null==e.customAdvertiserStandardTimeMsUntilAdViewed},t.prototype.shouldReportViewability=function(e,t,i,r){var n=this.conditions,o=n.isConsecutive,a=n.durationCap,s=n.durationPercentage;if(null==a&&null==s)return e;var d=i.videoLength,p=i.customAdvertiserStandardViewedTime;i.customAdvertiserStandardViewedTime=e?p+r.intervalDuration:o?0:p;var c=a,u=null!=d&&null!=s?d*(s/100):null,l=null!=c&&i.customAdvertiserStandardViewedTime>=c,h=null!=u&&i.customAdvertiserStandardViewedTime>=u;return l||h},t.prototype.reportViewabilityMeasured=function(e,t){null==e.customAdvertiserStandardType&&(e.customAdvertiserStandardType=this.customAdvertiserViewabilitySettings.standardType,o.EventBus.dispatchEvent(o.DvEvent.reportData,new d.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.customAdvertiserStandardTimeMsUntilAdViewed=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new d.AdCandidateEventData(e))},t}(s.BaseViewabilityBL);t.CustomAdvertiserViewabilityStandardBL=h},6490:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDisplayViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(1800),c=i(712),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==c.DvTagType.Display},t.prototype.shouldRegisterToExposureEvents=function(){return this.customViewabilityConditions=s.DvObject.getDisplayCustomViewabilityConditions(),!!this.customViewabilityConditions},t.prototype.isViewabilityConditionPassed=function(e){return!!e.focus&&e.percentage>=this.customViewabilityConditions.minimalAdAreaPercentage},t.prototype.needToCheckViewability=function(e,t){return null==e.customTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i,r){return i.customViewedTime=e?i.customViewedTime+=r.intervalDuration:this.customViewabilityConditions.consecutiveMode?0:i.customViewedTime,i.customViewedTime>=this.customViewabilityConditions.minimalAdDuration},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){e.customTimeMsUntilAdViewed=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new p.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.CustomDisplayViewabilityBL=u},5409:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomStandardDisplayViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(3719),d=i(194),p=i(1800),c=i(712),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==c.DvTagType.Display},t.prototype.shouldRegisterToExposureEvents=function(){return this.customViewabilityConditions=d.DvObject.getDisplayCustomStandardViewabilityConditions(),!!this.customViewabilityConditions},t.prototype.isViewabilityConditionPassed=function(e){return!!e.focus&&(!(e.adSize&&e.adSize.width*e.adSize.height=this.customViewabilityConditions.minimalAdAreaPercentage)},t.prototype.needToCheckViewability=function(e,t){return null==e.customStandardTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i){if(e){if(i.customStandardViewedTime+=t,i.customStandardViewedTime>=this.customViewabilityConditions.minimalAdDuration)return!0}else this.customViewabilityConditions.consecutiveMode&&(i.customStandardViewedTime=0);return!1},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){e.customStandardTimeMsUntilAdViewed=t,a.EventBus.dispatchEvent(a.DvEvent.reportData,new p.AdCandidateEventData(e))},t}(s.BaseViewabilityBL);t.CustomStandardDisplayViewabilityBL=u},4241:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomStandardVideoViewabilityBL=void 0;var o=i(3719),a=i(7749),s=i(194),d=i(7360),p=i(712),c=i(1800),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return this.customViewabilityConditions=s.DvObject.getVideoCustomStandardViewabilityConditions(),!!this.customViewabilityConditions},t.prototype.isViewabilityConditionPassed=function(e){return!!e.focus&&(!(e.adSize&&e.adSize.width*e.adSize.height=this.customViewabilityConditions.minimalAdAreaPercentage))},t.prototype.needToCheckViewability=function(e,t){return t.adIsPlaying&&null==e.customStandardTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i){if(e){if(i.customStandardViewedTime+=t,this.customViewabilityConditions.minimalAdDurationPercent){if(i.videoLength&&i.customStandardViewedTime/i.videoLength*100>=this.customViewabilityConditions.minimalAdDurationPercent)return!0}else if(i.customStandardViewedTime>=this.customViewabilityConditions.minimalAdDuration)return!0}else this.customViewabilityConditions.consecutiveMode&&(i.customStandardViewedTime=0);return!1},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){e.customStandardTimeMsUntilAdViewed=t,d.EventBus.dispatchEvent(d.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(o.BaseViewabilityBL);t.CustomStandardVideoViewabilityBL=u},7642:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomVideoViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(1800),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return this.customViewabilityConditions=s.DvObject.getVideoCustomViewabilityConditions(),!!this.customViewabilityConditions},t.prototype.isViewabilityConditionPassed=function(e){return!(null==e.percentage||!e.focus)&&((!this.customViewabilityConditions.requireVolume||0!=e.volume)&&e.percentage>=this.customViewabilityConditions.minimalAdAreaPercentage)},t.prototype.needToCheckViewability=function(e,t){return null==e.customTimeMsUntilAdViewed&&null!=t.percentage&&t.adIsPlaying},t.prototype.shouldReportViewability=function(e,t,i,r){return i.customViewedTime=e?i.customViewedTime+=r.intervalDuration:this.customViewabilityConditions.consecutiveMode?0:i.customViewedTime,i.customViewedTime>=this.customViewabilityConditions.minimalAdDuration},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){e.customTimeMsUntilAdViewed=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.CustomVideoViewabilityBL=u},7938:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.EndQuartileViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(1800),d=i(6751),p=i(712),c=i(3380),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e[o.DvEvent.adVideoFirstQuartileData]=this.handleQuartileData.bind(this,1),e[o.DvEvent.adVideoMidpointData]=this.handleQuartileData.bind(this,2),e[o.DvEvent.adVideoThirdQuartileData]=this.handleQuartileData.bind(this,3),e[o.DvEvent.adVideoCompleteData]=this.handleVideoCompleteData.bind(this),e},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;i.adIsPlaying&&null!=i.percentage&&(t.endQuartileCurrentViewability=i.focus?i.percentage:0,t.endQuartileCurrentVolume=i.volume,i.adSize&&(t.adQuartileWidth=i.adSize.width))},t.prototype.handleQuartileData=function(e,t){var i=t.adCandidate;i["q"+e+"vpend"]=i.endQuartileCurrentViewability,i["q"+e+"ps"]=this.getPlayerSize(i.adQuartileWidth),c.Utilities.logIfNotAnInteger(i.endQuartileCurrentViewability,i,"q"+e+"vpendDataValidation"),o.EventBus.dispatchEvent(o.DvEvent.reportData,new s.AdCandidateEventData(i))},t.prototype.getPlayerSize=function(e){var t=p.PlayerSize.Unknown;return e>0&&e<=300?t=p.PlayerSize.PlayerSizeLowerThan300x250:e>300&&e<=399?t=p.PlayerSize.PlayerSizeBetween301x251To399x299:e>399&&e<=639?t=p.PlayerSize.PlayerSizeBetween400x300To639x479:e>639&&(t=p.PlayerSize.PlayerSizeGreaterThan640x480),t},t.prototype.handleVideoCompleteData=function(e){var t=e.relevantData,i=e.adCandidate;i.endQuartileCurrentViewability>=50&&0!=i.endQuartileCurrentVolume&&(i.timeMsUntilAdAudibleAndViewableOnCompletionMs=t.updateTime),this.handleQuartileData(4,e)},t}(d.BaseAdBL);t.EndQuartileViewabilityBL=u},4892:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.FocusBucketsBL=void 0;var o=i(7360),a=i(7749),s=i(6751),d=i(712),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;(a.DvTagDataObject.getTagType()!=d.DvTagType.Video||i.adIsPlaying)&&(i.focus?t.looseFocusTrueBucket=t.looseFocusTrueBucket?t.looseFocusTrueBucket+i.intervalDuration:i.intervalDuration:null!=i.focus&&(t.looseFocusFalseBucket=t.looseFocusFalseBucket?t.looseFocusFalseBucket+i.intervalDuration:i.intervalDuration),i.strictFocus?t.strictFocusTrueBucket=t.strictFocusTrueBucket?t.strictFocusTrueBucket+i.intervalDuration:i.intervalDuration:null!=i.strictFocus&&(t.strictFocusFalseBucket=t.strictFocusFalseBucket?t.strictFocusFalseBucket+i.intervalDuration:i.intervalDuration))},t}(s.BaseAdBL);t.FocusBucketsBL=p},7912:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.GroupMDisplayViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(194),d=i(3719),p=i(712),c=i(1800),u=i(3380),l=i(8379),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==p.DvTagType.Display},t.prototype.shouldRegisterToExposureEvents=function(){return!s.DvObject.isSIVTImpression()},t.prototype.isViewabilityConditionPassed=function(e){return!(null==e.percentage||!e.focus)&&(!!u.Utilities.isLargeAd(e.adSize,l.ViewabilityConstants.GroupM.DisplayMinimalLargeAdArea)||e.percentage>=l.ViewabilityConstants.GroupM.MinimalAdAreaPercentageForStandardSize)},t.prototype.needToCheckViewability=function(e,t){return null==e.groupMTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i,r){return e},t.prototype.reportViewabilityMeasured=function(e,t){e.groupMTimeMsUntilAdMeasured||(e.groupMTimeMsUntilAdMeasured=t.updateTime,a.EventBus.dispatchEvent(a.DvEvent.reportData,new c.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.groupMTimeMsUntilAdViewed=t,e.groupMV3TimeMsUntilAdViewed=t,e.groupMTimeMsUntilAdMeasured++,a.EventBus.dispatchEvent(a.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.GroupMDisplayViewabilityBL=h},4691:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.GroupMV4MobileDisplayViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(194),d=i(3719),p=i(712),c=i(1800),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.minimalAdAreaPercentage=0,this.minimalAdAreaPercentageWhenAdAreaLowerThanViewport=98,this.minimalDuration=1e3},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==p.DvTagType.Display},t.prototype.shouldRegisterToExposureEvents=function(){return!s.DvObject.isSIVTImpression()&&s.DvObject.isMobileWeb()},t.prototype.isViewabilityConditionPassed=function(e){return e.percentage>this.minimalAdAreaPercentage},t.prototype.needToCheckViewability=function(e,t){return null==e.groupMV4DisplayTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i,r){return i.groupMV4DisplayViewedTime=e?i.groupMV4DisplayViewedTime+r.intervalDuration:0,i.groupMV4TimeCriteriaPassed=i.groupMV4TimeCriteriaPassed||i.groupMV4DisplayViewedTime>=this.minimalDuration,i.isAllBoundariesPassed=i.isAllBoundariesPassed||this.isAllBoundariesPassed(i,r),i.groupMV4TimeCriteriaPassed&&i.isAllBoundariesPassed},t.prototype.reportViewabilityMeasured=function(e,t){e.groupMV4TimeMsUntilAdMeasured||this.isAdSizeLargerThanViewPortSize(t)&&!t.boundariesViewability||(e.groupMV4TimeMsUntilAdMeasured=t.updateTime,a.EventBus.dispatchEvent(a.DvEvent.reportData,new c.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.groupMV4DisplayTimeMsUntilAdViewed=e.groupMV4TimeMsUntilAdViewed=t,e.groupMV4TimeMsUntilAdMeasured++,a.EventBus.dispatchEvent(a.DvEvent.reportData,new c.AdCandidateEventData(e))},t.prototype.getArea=function(e){if(e&&e.width&&e.height)return e.width*e.height},t.prototype.isAdSizeLargerThanViewPortSize=function(e){var t=this.getArea(e.adSize),i=this.getArea(e.viewportSize);return t&&i&&t>i},t.prototype.isAllBoundariesPassed=function(e,t){if(this.isAdSizeLargerThanViewPortSize(t)){if(t.boundariesViewability){var i=e.boundariesViewed;return i.topLeft=i.topLeft||t.boundariesViewability.topLeft,i.topRight=i.topRight||t.boundariesViewability.topRight,i.bottomLeft=i.bottomLeft||t.boundariesViewability.bottomLeft,i.bottomRight=i.bottomRight||t.boundariesViewability.bottomRight,i.topLeft&&i.topRight&&i.bottomLeft&&i.bottomRight}return!1}return t.percentage>this.minimalAdAreaPercentageWhenAdAreaLowerThanViewport},t}(d.BaseViewabilityBL);t.GroupMV4MobileDisplayViewabilityBL=u},6825:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.GroupMV4NonMobileDisplayViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(194),d=i(3719),p=i(712),c=i(1800),u=i(3380),l=i(8379),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==p.DvTagType.Display},t.prototype.shouldRegisterToExposureEvents=function(){return!s.DvObject.isSIVTImpression()&&!s.DvObject.isMobileWeb()},t.prototype.isViewabilityConditionPassed=function(e){var t=u.Utilities.isLargeAd(e.adSize,l.ViewabilityConstants.GroupMV4.DisplayMinimalLargeAdArea);return!(null==e.percentage||!e.focus)&&(!!(t&&e.percentage>=l.ViewabilityConstants.GroupMV4.DisplayMinimalAdAreaPercentageForLargeSize)||!t&&e.percentage>=l.ViewabilityConstants.GroupMV4.MinimalAdAreaPercentageForStandardSize)},t.prototype.needToCheckViewability=function(e,t){return null==e.groupMV4DisplayTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i,r){return i.groupMV4DisplayViewedTime=e?i.groupMV4DisplayViewedTime+r.intervalDuration:0,i.groupMV4DisplayViewedTime>=l.ViewabilityConstants.GroupMV4.DisplayMinimalDuration},t.prototype.reportViewabilityMeasured=function(e,t){e.groupMV4TimeMsUntilAdMeasured||(e.groupMV4TimeMsUntilAdMeasured=t.updateTime,a.EventBus.dispatchEvent(a.DvEvent.reportData,new c.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.groupMV4TimeMsUntilAdMeasured++,e.groupMV4DisplayTimeMsUntilAdViewed=e.groupMV4TimeMsUntilAdViewed=t,a.EventBus.dispatchEvent(a.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.GroupMV4NonMobileDisplayViewabilityBL=h},7827:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.GroupMV4VideoNativeViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(1800),u=i(3380),l=i(8379),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return!s.DvObject.isSIVTImpression()},t.prototype.isViewabilityConditionPassed=function(e){var t=!s.DvObject.isMobileApp()&&!s.DvObject.isMobileWeb()&&u.Utilities.isLargeAd(e.adSize,l.ViewabilityConstants.GroupMV4.VideoMinimalLargeAdArea);return!(!e.percentage||!e.focus)&&(!!(t&&e.percentage>=l.ViewabilityConstants.GroupMV4.VideoMinimalAdAreaPercentageForLargeSize)||!t&&e.percentage>=l.ViewabilityConstants.GroupMV4.MinimalAdAreaPercentageForStandardSize)},t.prototype.needToCheckViewability=function(e,t){return null==e.groupMV4VideoNativeTimeMsUntilAdViewed&&null!=t.percentage&&t.adIsPlaying},t.prototype.shouldReportViewability=function(e,t,i,r){i.groupMV4VideoNativeViewedTime=e?i.groupMV4VideoNativeViewedTime+r.intervalDuration:i.groupMV4VideoNativeViewedTime;var n=i.videoLength?Math.min(l.ViewabilityConstants.GroupMV4.VideoMinimalDuration,i.videoLength*(l.ViewabilityConstants.GroupMV4.VideoMinimalDurationPercentage/100)):l.ViewabilityConstants.GroupMV4.VideoMinimalDuration;return i.groupMV4VideoNativeViewedTime>=n},t.prototype.reportViewabilityMeasured=function(e,t){null==e.groupMV4TimeMsUntilAdMeasured&&(e.groupMV4TimeMsUntilAdMeasured=t.updateTime,o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.groupMV4TimeMsUntilAdMeasured++,e.groupMV4VideoNativeTimeMsUntilAdViewed=t,s.DvObject.isGroupMV4VideoNativeImpression()&&(e.groupMV4TimeMsUntilAdViewed=t),o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.GroupMV4VideoNativeViewabilityBL=h},9045:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.GroupMV4VideoReachExtensionViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(1800),u=i(3380),l=i(8379),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return!s.DvObject.isSIVTImpression()},t.prototype.isViewabilityConditionPassed=function(e){var t=!s.DvObject.isMobileApp()&&!s.DvObject.isMobileWeb()&&u.Utilities.isLargeAd(e.adSize,l.ViewabilityConstants.GroupMV4.VideoMinimalLargeAdArea);return!(!e.percentage||!e.focus)&&(0!=e.volume&&(!!(t&&e.percentage>=l.ViewabilityConstants.GroupMV4.VideoMinimalAdAreaPercentageForLargeSize)||!t&&e.percentage>=l.ViewabilityConstants.GroupMV4.MinimalAdAreaPercentageForStandardSize))},t.prototype.needToCheckViewability=function(e,t){return null==e.groupMV4VideoReachExtensionTimeMsUntilAdViewed&&null!=t.percentage&&t.adIsPlaying},t.prototype.shouldReportViewability=function(e,t,i,r){i.groupMV4VideoReachExtensionViewedTime=e?i.groupMV4VideoReachExtensionViewedTime+r.intervalDuration:i.groupMV4VideoReachExtensionViewedTime;var n=i.videoLength?Math.min(l.ViewabilityConstants.GroupMV4.VideoMinimalDuration,i.videoLength*(l.ViewabilityConstants.GroupMV4.VideoMinimalDurationPercentage/100)):l.ViewabilityConstants.GroupMV4.VideoMinimalDuration;return i.groupMV4VideoReachExtensionViewedTime>=n},t.prototype.reportViewabilityMeasured=function(e,t){null==e.groupMV4TimeMsUntilAdMeasured&&(e.groupMV4TimeMsUntilAdMeasured=t.updateTime,o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.groupMV4TimeMsUntilAdMeasured++,e.groupMV4VideoReachExtensionTimeMsUntilAdViewed=t,s.DvObject.isGroupMV4VideoNativeImpression()||(e.groupMV4TimeMsUntilAdViewed=t),o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.GroupMV4VideoReachExtensionViewabilityBL=h},7175:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.GroupMVideoViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(1800),u=i(8379),l=i(3380),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return!s.DvObject.isSIVTImpression()},t.prototype.isViewabilityConditionPassed=function(e){var t=l.Utilities.isLargeAd(e.adSize,u.ViewabilityConstants.GroupM.VideoMinimalLargeAdArea);return!(!e.percentage||!e.focus)&&(0!=e.volume&&(!!(t&&e.percentage>=u.ViewabilityConstants.GroupM.VideoMinimalAdAreaPercentageForLargeSize)||!t&&e.percentage>=u.ViewabilityConstants.GroupM.MinimalAdAreaPercentageForStandardSize))},t.prototype.needToCheckViewability=function(e,t){return null==e.groupMTimeMsUntilAdViewed&&null!=t.percentage&&t.adIsPlaying},t.prototype.shouldReportViewability=function(e,t,i,r){i.groupMViewedTime=e?i.groupMViewedTime+r.intervalDuration:i.groupMViewedTime;var n=i.videoLength?Math.min(u.ViewabilityConstants.GroupM.VideoMinimalDuration,i.videoLength*(u.ViewabilityConstants.GroupM.VideoMinimalDurationPercentage/100)):u.ViewabilityConstants.GroupM.VideoMinimalDuration;return i.groupMViewedTime>=n},t.prototype.reportViewabilityMeasured=function(e,t){e.groupMTimeMsUntilAdMeasured||(e.groupMTimeMsUntilAdMeasured=t.updateTime,o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e)))},t.prototype.reportViewabilityPassed=function(e,t){e.groupMTimeMsUntilAdViewed=t,e.groupMV3TimeMsUntilAdViewed=t,e.groupMTimeMsUntilAdMeasured++,o.EventBus.dispatchEvent(o.DvEvent.reportData,new c.AdCandidateEventData(e))},t}(d.BaseViewabilityBL);t.GroupMVideoViewabilityBL=h},8029:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IabDisplayViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(3719),d=i(712),p=i(2087),c=i(8379),u=i(3380),l=i(425),h=i(1800),v=i(194),f=i(6689),y=i(749),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.alreadyDvpSent=!1,t}return n(t,e),t.prototype.init=function(){},t.prototype.shouldRegisterToExposureEvents=function(){return!0},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==d.DvTagType.Display},t.prototype.needToCheckViewability=function(e,t){return!this.alreadyDvpSent&&f.OmidWrapper.isSupported()&&t.percentage>0&&(y.MessageHandler.sendMessage({dvp_ompp:1}),this.alreadyDvpSent=!0),null==e.timeMsUntilAdViewed&&null!=u.Utilities.getIabVisiblePercentage(t,v.DvObject.getIsOffScreen())&&(!p.FlashBeacons.isSupported()||t.viewabilityCalculationType==d.ViewabilityCalculationType.FlashBeacons)},t.prototype.isViewabilityConditionPassed=function(e){var t=u.Utilities.isLargeAd(e.adSize,c.ViewabilityConstants.IAB.DisplayMinimalLargeAdArea,v.DvObject.isMobile()),i=u.Utilities.isIabPageInFocus(e,v.DvObject.isFocusStrictMode()),r=u.Utilities.getIabVisiblePercentage(e,v.DvObject.getIsOffScreen());return!(!r||!i)&&(!!(t&&r>=c.ViewabilityConstants.IAB.DisplayMinimalAdAreaPercentageForLargeSize)||!t&&r>=c.ViewabilityConstants.IAB.MinimalAdAreaPercentageForStandardSize)},t.prototype.shouldReportViewability=function(e,t,i){return i.iabViewedTime=e?i.iabViewedTime+t:0,i.iabViewedTime>=c.ViewabilityConstants.IAB.DisplayMinimalDuration},t.prototype.reportViewabilityMeasured=function(e,t){if(!e.timeMsUntilAdMeasured){t.viewportSize&&(e.viewportHeight=Math.ceil(t.viewportSize.height),u.Utilities.logIfNotAnInteger(e.viewportHeight,e,"viewportHeightDataValidation"),e.viewportWidth=Math.ceil(t.viewportSize.width),u.Utilities.logIfNotAnInteger(e.viewportWidth,e,"viewportWidthDataValidation"));var i=l.BrowserAdaptor.getScreenSize();i&&i.width&&i.height&&(e.screenHeight=Math.ceil(i.height),e.screenWidth=Math.ceil(i.width)),e.timeMsUntilAdMeasured=t.updateTime,e.unadjustedTimeMsUntilAdMeasured=t.updateTime,e.isViewabilityEligible=1,o.EventBus.dispatchEvent(o.DvEvent.reportData,new h.AdCandidateEventData(e))}},t.prototype.reportViewabilityPassed=function(e,t){e.timeMsUntilAdViewed=t,e.unadjustedTimeMsUntilAdViewed=t,e.timeMsUntilAdMeasured++,o.EventBus.dispatchEvent(o.DvEvent.reportData,new h.AdCandidateEventData(e))},t}(s.BaseViewabilityBL);t.IabDisplayViewabilityBL=m},5157:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IabDisplayViewabilityForXSecondsBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(2087),u=i(1800),l=i(3380),h=i(8379),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.shouldRegisterToExposureEvents=function(){return!0},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Display},t.prototype.needToCheckViewability=function(e,t){return e.iabViewablitiyTimeToCheck.length>0&&null!=this.getPercentage(t)&&(!c.FlashBeacons.isSupported()||t.viewabilityCalculationType==p.ViewabilityCalculationType.FlashBeacons)},t.prototype.isViewabilityConditionPassed=function(e){var t=l.Utilities.isLargeAd(e.adSize,h.ViewabilityConstants.IAB.DisplayMinimalLargeAdArea,s.DvObject.isMobile()),i=s.DvObject.isFocusStrictMode()?e.strictFocus:e.focus;return!(!this.getPercentage(e)||!i)&&(!!(t&&this.getPercentage(e)>=h.ViewabilityConstants.IAB.DisplayMinimalAdAreaPercentageForLargeSize)||!t&&this.getPercentage(e)>=h.ViewabilityConstants.IAB.MinimalAdAreaPercentageForStandardSize)},t.prototype.shouldReportViewability=function(e,t,i){return i.IABAdViewableForXSecondsViewedTime=e?i.IABAdViewableForXSecondsViewedTime+t:0,i.IABAdViewableForXSecondsViewedTime>=i.IABAdViewableForXSecondsdurationRequirement},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){var i=e.iabViewablitiyTimeToCheck.shift();e["iabv"+i]=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new u.AdCandidateEventData(e,{reportType:p.ReportType.RTS})),e.iabViewablitiyTimeToCheck.length>0&&(e.IABAdViewableForXSecondsdurationRequirement=1e3*e.iabViewablitiyTimeToCheck[0])},t.prototype.getPercentage=function(e){var t=e.percentage,i=e.offScreenPercentage;return null!=i&&s.DvObject.getIsOffScreen()?i:t},t}(d.BaseViewabilityBL);t.IabDisplayViewabilityForXSecondsBL=v},8123:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IabNotViewReasonsViewabilityBL=void 0;var o=i(7360),a=i(6751),s=i(7749),d=i(712),p=i(8379),c=i(3380),u=i(194),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getActionName=function(){return"IabNotViewReasonsViewabilityBL"},t.prototype.init=function(){this.isVideoTag=s.DvTagDataObject.getTagType()==d.DvTagType.Video,this.viewTimeThreshold=this.isVideoTag?p.ViewabilityConstants.IAB.VideoMinimalDuration:p.ViewabilityConstants.IAB.DisplayMinimalDuration},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.impressionServed]=this.start.bind(this),e},t.prototype.start=function(){var e;o.EventBus.addEventsListener(((e={})[o.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e))},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData,r=c.Utilities.getIabVisiblePercentage(i,u.DvObject.getIsOffScreen()),n=c.Utilities.isIabPageInFocus(i,u.DvObject.isFocusStrictMode());if(!t.notViewableReasonWasViewed&&null!=r){if(!this.isVideoTag||this.isVideoTag&&i.adIsPlaying)if(t.notViewableReasonVideoPlayed=!0,n)if(t.notViewableReasonWasInFocus=!0,r>0)t.notViewableReasonWasInViewPort=!0,r>=(!this.isVideoTag&&c.Utilities.isLargeAd(i.adSize,p.ViewabilityConstants.IAB.DisplayMinimalLargeAdArea,u.DvObject.isMobile())?p.ViewabilityConstants.IAB.DisplayMinimalAdAreaPercentageForLargeSize:p.ViewabilityConstants.IAB.MinimalAdAreaPercentageForStandardSize)?(t.notViewableReasonCumulativeViewTime+=i.intervalDuration,t.notViewableReasonConsecutiveViewTime+=i.intervalDuration,t.notViewableReasonConsecutiveViewTime>=this.viewTimeThreshold&&(t.notViewableReasonWasViewed=!0)):t.notViewableReasonConsecutiveViewTime=0;else t.notViewableReasonConsecutiveViewTime=0;else t.notViewableReasonConsecutiveViewTime=0;t.notViewableReason=this.getNotViewReason(t)||t.notViewableReason}},t.prototype.getNotViewReason=function(e){return this.isVideoTag&&!e.notViewableReasonVideoPlayed?d.NotViewableReason.VideoNeverPlayed:e.notViewableReasonWasViewed?d.NotViewableReason.Unknown:e.notViewableReasonWasInFocus?e.notViewableReasonWasInViewPort?0==e.notViewableReasonCumulativeViewTime?d.NotViewableReason.PixelThreshold:e.notViewableReasonCumulativeViewTime=this.iabMinimalDuration&&this.reportViewedImpression(e,t.updateTime)):e.iabVideoQuartileViewed=0},t.prototype.IsIabCriteriaPassed=function(e){return!(!e.percentage||!e.focus)&&e.percentage>=this.iabMinimalAdAreaPercentageForStandardSize},t.prototype.reportViewedImpression=function(e,t){e["q"+e.iabVideoQuartileId+"iabvms"]=t,e.markAdQuartile(p.ExposureQuartileBitwise.Viewed,e.iabVideoQuartileId),o.EventBus.dispatchEvent(o.DvEvent.reportData,new s.AdCandidateEventData(e))},t}(d.BaseAdBL);t.IabVideoQuartileViewabilityBL=c},5152:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IabVideoViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(2087),u=i(425),l=i(1800),h=i(8379),v=i(6689),f=i(749),y=i(3380),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.alreadyDvpSent=!1,t}return n(t,e),t.prototype.init=function(){this.iabMinimalDuration=h.ViewabilityConstants.IAB.VideoMinimalDuration,this.iabMinimalAdAreaPercentageForStandardSize=h.ViewabilityConstants.IAB.MinimalAdAreaPercentageForStandardSize},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return!0},t.prototype.needToCheckViewability=function(e,t){return!this.alreadyDvpSent&&v.OmidWrapper.isSupported()&&t.percentage>0&&(f.MessageHandler.sendMessage({dvp_ompp:1}),this.alreadyDvpSent=!0),null==e.timeMsUntilAdViewed&&null!=this.getPercentage(t)&&t.adIsPlaying&&(!c.FlashBeacons.isSupported()||t.viewabilityCalculationType==p.ViewabilityCalculationType.FlashBeacons)},t.prototype.isViewabilityConditionPassed=function(e){var t=s.DvObject.isFocusStrictMode()?e.strictFocus:e.focus;return!(!this.getPercentage(e)||!t)&&this.getPercentage(e)>=this.iabMinimalAdAreaPercentageForStandardSize},t.prototype.shouldReportViewability=function(e,t,i){return i.iabViewedTime=e?i.iabViewedTime+t:0,i.iabViewedTime>=this.iabMinimalDuration},t.prototype.reportViewabilityMeasured=function(e,t){if(!e.timeMsUntilAdMeasured){t.viewportSize&&(e.viewportHeight=Math.ceil(t.viewportSize.height),y.Utilities.logIfNotAnInteger(e.viewportHeight,e,"viewportHeightDataValidation"),e.viewportWidth=Math.ceil(t.viewportSize.width),y.Utilities.logIfNotAnInteger(e.viewportWidth,e,"viewportWidthDataValidation"));var i=u.BrowserAdaptor.getScreenSize();i&&i.width&&i.height&&(e.screenHeight=Math.ceil(i.height),e.screenWidth=Math.ceil(i.width)),e.timeMsUntilAdMeasured=t.updateTime,e.unadjustedTimeMsUntilAdMeasured=t.updateTime,e.isViewabilityEligible=1,o.EventBus.dispatchEvent(o.DvEvent.reportData,new l.AdCandidateEventData(e))}},t.prototype.reportViewabilityPassed=function(e,t){e.timeMsUntilAdViewed=t,e.unadjustedTimeMsUntilAdViewed=t,e.timeMsUntilAdMeasured++,o.EventBus.dispatchEvent(o.DvEvent.reportData,new l.AdCandidateEventData(e))},t.prototype.getPercentage=function(e){var t=e.percentage,i=e.offScreenPercentage;return null!=i&&s.DvObject.getIsOffScreen()?i:t},t}(d.BaseViewabilityBL);t.IabVideoViewabilityBL=m},1061:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.IabVideoViewabilityForXSecondsBL=void 0;var o=i(7360),a=i(7749),s=i(194),d=i(3719),p=i(712),c=i(2087),u=i(1800),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.iabMinimalDuration=2e3,this.iabMinimalAdAreaPercentageForStandardSize=50},t.prototype.shouldRegisterToExposureEvents=function(){return!0},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.needToCheckViewability=function(e,t){return e.iabViewablitiyTimeToCheck.length>0&&null!=this.getPercentage(t)&&t.adIsPlaying&&(!c.FlashBeacons.isSupported()||t.viewabilityCalculationType==p.ViewabilityCalculationType.FlashBeacons)},t.prototype.isViewabilityConditionPassed=function(e){var t=s.DvObject.isFocusStrictMode()?e.strictFocus:e.focus;return!(!this.getPercentage(e)||!t)&&this.getPercentage(e)>=this.iabMinimalAdAreaPercentageForStandardSize},t.prototype.shouldReportViewability=function(e,t,i){return i.IABAdViewableForXSecondsViewedTime=e?i.IABAdViewableForXSecondsViewedTime+t:0,i.IABAdViewableForXSecondsViewedTime>=i.IABAdViewableForXSecondsdurationRequirement},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){var i=e.iabViewablitiyTimeToCheck.shift();e["iabv"+i]=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new u.AdCandidateEventData(e,{reportType:p.ReportType.RTS})),e.iabViewablitiyTimeToCheck.length>0&&(e.IABAdViewableForXSecondsdurationRequirement=1e3*e.iabViewablitiyTimeToCheck[0])},t.prototype.getPercentage=function(e){var t=e.percentage,i=e.offScreenPercentage;return null!=i&&s.DvObject.getIsOffScreen()?i:t},t}(d.BaseViewabilityBL);t.IabVideoViewabilityForXSecondsBL=l},3054:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.KMEVideoViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(1800),d=i(194),p=i(3719),c=i(712),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==c.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return this.kmeViewabilityConditions=d.DvObject.getKMEVideoViewabilityConditions(),!!this.kmeViewabilityConditions&&(o.EventBus.addEventListener(o.DvEvent.adVideoCompleteData,this.handleVideoCompleteData.bind(this)),!0)},t.prototype.isViewabilityConditionPassed=function(e){return!(null==e.percentage||!e.focus||this.kmeViewabilityConditions.minimalAdAreaPercentage&&e.percentage=this.kmeViewabilityConditions.timeLineLeftBoundary&&(i.kmeStartMeasure=!0),i.kmeStartMeasure&&r.adVideoTimeLine<=this.kmeViewabilityConditions.timeLineRightBoundary&&(e||(i.kmeConditionsFailed=!0)),r.adVideoTimeLine>=this.kmeViewabilityConditions.timeLineRightBoundary&&!i.kmeConditionsFailed},t.prototype.reportViewabilityMeasured=function(e,t){},t.prototype.reportViewabilityPassed=function(e,t){e.kmeTimeMsUntilAdViewed=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new s.AdCandidateEventData(e))},t.prototype.handleVideoCompleteData=function(e){var t=e.adCandidate,i=e.relevantData;t.kmeStartMeasure&&!t.kmeConditionsFailed&&this.reportViewabilityPassed(t,i.updateTime)},t}(p.BaseViewabilityBL);t.KMEVideoViewabilityBL=u},8642:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PMXDisplayViewabilityBL=void 0;var o=i(7749),a=i(7360),s=i(3719),d=i(712),p=i(1800),c=i(3380),u=i(8379),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return o.DvTagDataObject.getTagType()==d.DvTagType.Display},t.prototype.shouldRegisterToExposureEvents=function(){return!0},t.prototype.isViewabilityConditionPassed=function(e){var t=c.Utilities.isLargeAd(e.adSize,u.ViewabilityConstants.PMX.DisplayMinimalLargeAdArea);return!(!e.percentage||!e.focus)&&(!!(t&&e.percentage>=u.ViewabilityConstants.PMX.DisplayMinimalAdAreaPercentageForLargeSize)||!t&&e.percentage>=u.ViewabilityConstants.PMX.MinimalAdAreaPercentageForStandardSize)},t.prototype.needToCheckViewability=function(e,t){return null==e.pmxTimeMsUntilAdViewed&&null!=t.percentage},t.prototype.shouldReportViewability=function(e,t,i,r){return i.pmxViewedTime=e?i.pmxViewedTime+t:0,i.pmxViewedTime>=u.ViewabilityConstants.PMX.DisplayMinimalDuration},t.prototype.reportViewabilityMeasured=function(e,t){e.pmxTimeMsUntilAdMeasured||(e.pmxTimeMsUntilAdMeasured=t.updateTime)},t.prototype.reportViewabilityPassed=function(e,t){e.pmxTimeMsUntilAdViewed=t,a.EventBus.dispatchEvent(a.DvEvent.reportData,new p.AdCandidateEventData(e))},t}(s.BaseViewabilityBL);t.PMXDisplayViewabilityBL=l},2181:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PMXVideoViewabilityBL=void 0;var o=i(7360),a=i(7749),s=i(3719),d=i(712),p=i(1800),c=i(3380),u=i(8379),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==d.DvTagType.Video},t.prototype.shouldRegisterToExposureEvents=function(){return!0},t.prototype.isViewabilityConditionPassed=function(e){var t=c.Utilities.isLargeAd(e.adSize,u.ViewabilityConstants.PMX.VideoMinimalLargeAdArea);return!(!e.percentage||!e.focus)&&(!!(t&&e.percentage>=u.ViewabilityConstants.PMX.VideoMinimalAdAreaPercentageForLargeSize)||!t&&e.percentage>=u.ViewabilityConstants.PMX.MinimalAdAreaPercentageForStandardSize)},t.prototype.needToCheckViewability=function(e,t){return null==e.pmxTimeMsUntilAdViewed&&null!=t.percentage&&t.adIsPlaying},t.prototype.shouldReportViewability=function(e,t,i,r){return i.pmxViewedTime=e?i.pmxViewedTime+t:0,i.pmxViewedTime>=u.ViewabilityConstants.PMX.VideoMinimalDuration},t.prototype.reportViewabilityMeasured=function(e,t){e.pmxTimeMsUntilAdMeasured||(e.pmxTimeMsUntilAdMeasured=t.updateTime)},t.prototype.reportViewabilityPassed=function(e,t){e.pmxTimeMsUntilAdViewed=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new p.AdCandidateEventData(e))},t}(s.BaseViewabilityBL);t.PMXVideoViewabilityBL=l},458:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.RbViewabilityBL=void 0;var o=i(7360),a=i(1800),s=i(7749),d=i(194),p=i(6751),c=i(712),u=i(8379),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getActionName=function(){return"RbViewabilityBL"},t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.impressionServed]=this.impressionServed.bind(this),e},t.prototype.impressionServed=function(){d.DvObject.getAllowRBViewability()&&o.EventBus.addEventListener(o.DvEvent.exposureData,this.handleViewabilityData.bind(this))},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;(s.DvTagDataObject.getTagType()!=c.DvTagType.Video||i.adIsPlaying)&&(t.rBV1PassedMs||this.tryReportViewed(t,i))},t.prototype.tryReportViewed=function(e,t){t.percentage&&t.focus&&t.percentage>=u.ViewabilityConstants.RB.MinimalAdAreaPercentageForStandardSize&&this.reportViewedImpression(e,t.updateTime)},t.prototype.reportViewedImpression=function(e,t){e.rBV1PassedMs=t,o.EventBus.dispatchEvent(o.DvEvent.reportData,new a.AdCandidateEventData(e))},t}(p.BaseAdBL);t.RbViewabilityBL=l},3454:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoFullQuartileAudibleBL=void 0;var o=i(7360),a=i(7749),s=i(1800),d=i(6751),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.minimalAdAreaPercentageForStandardSize=98},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleAudibleData.bind(this),e[o.DvEvent.adVideoFirstQuartileData]=this.handleQuartileData.bind(this,1),e[o.DvEvent.adVideoMidpointData]=this.handleQuartileData.bind(this,2),e[o.DvEvent.adVideoThirdQuartileData]=this.handleQuartileData.bind(this,3),e[o.DvEvent.adVideoCompleteData]=this.handleQuartileData.bind(this,4),e},t.prototype.handleAudibleData=function(e){var t=e.adCandidate,i=e.relevantData;i.adIsPlaying&&(0!=t.isVideoFullQuartileAudible&&this.isCriteriaPassed(i.volume)?t.isVideoFullQuartileAudible=!0:t.isVideoFullQuartileAudible=!1)},t.prototype.handleQuartileData=function(e,t){var i=t.adCandidate;this.reportViewedImpression(i),i.videoFullQuartileAudibleId=e+1,i.isVideoFullQuartileAudible=null},t.prototype.isCriteriaPassed=function(e){return null!=e&&-1!=e&&0!=e},t.prototype.reportViewedImpression=function(e){e.isVideoFullQuartileAudible&&(e.markAdQuartile(p.ExposureQuartileBitwise.FullAudible,e.videoFullQuartileAudibleId),o.EventBus.dispatchEvent(o.DvEvent.reportData,new s.AdCandidateEventData(e)))},t}(d.BaseAdBL);t.VideoFullQuartileAudibleBL=c},1354:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.VideoQuartileFullOnScreenBL=void 0;var o=i(7360),a=i(7749),s=i(1800),d=i(6751),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.minimalAdAreaPercentageForStandardSize=98},t.prototype.isSupported=function(){return a.DvTagDataObject.getTagType()==p.DvTagType.Video},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e[o.DvEvent.adVideoFirstQuartileData]=this.handleQuartileData.bind(this,1),e[o.DvEvent.adVideoMidpointData]=this.handleQuartileData.bind(this,2),e[o.DvEvent.adVideoThirdQuartileData]=this.handleQuartileData.bind(this,3),e[o.DvEvent.adVideoCompleteData]=this.handleQuartileData.bind(this,4),e},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;i.adIsPlaying&&(0!=t.isVideoFullQuartileViewed&&this.isCriteriaPassed(i)?t.isVideoFullQuartileViewed=!0:t.isVideoFullQuartileViewed=!1)},t.prototype.handleQuartileData=function(e,t){var i=t.adCandidate;this.reportViewedImpression(i),i.videoFullQuartileViewabilityId=e+1,i.isVideoFullQuartileViewed=null},t.prototype.isCriteriaPassed=function(e){return!(!e.percentage||!e.focus)&&e.percentage>=this.minimalAdAreaPercentageForStandardSize},t.prototype.reportViewedImpression=function(e){e.isVideoFullQuartileViewed&&(e.markAdQuartile(p.ExposureQuartileBitwise.FullOnScreen,e.videoFullQuartileViewabilityId),o.EventBus.dispatchEvent(o.DvEvent.reportData,new s.AdCandidateEventData(e)))},t}(d.BaseAdBL);t.VideoQuartileFullOnScreenBL=c},1726:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ViewabilityStartPercentageBL=void 0;var o=i(7360),a=i(1800),s=i(7749),d=i(6751),p=i(712),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.visiblePercentage=50},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[o.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e},t.prototype.handleViewabilityData=function(e){var t=e.adCandidate,i=e.relevantData;(s.DvTagDataObject.getTagType()!=p.DvTagType.Video||i.adIsPlaying)&&null==t.startPercentage&&null!=i.percentage&&(t.startPercentage=i.percentage,t.adVisibleOnload=i.percentage>=this.visiblePercentage,o.EventBus.dispatchEvent(o.DvEvent.reportData,new a.AdCandidateEventData(t)))},t}(d.BaseAdBL);t.ViewabilityStartPercentageBL=c},6715:function(e,t,i){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ViewableShareOfScreenBL=void 0;var o=i(1800),a=i(6751),s=i(7360),d=i(3380),p=i(8379),c=i(194),u=i(7749),l=i(712),h=i(3868),v=i(425),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.MIN_VAL=0,t.MAX_VAL=100,t.MAX_EVENTS=4,t.MIN_PERCENTAGE_CHANGE=10,t}return n(t,e),t.prototype.init=function(){},t.prototype.isSupported=function(){return!0},t.prototype.getEventsAndCallbacksToRegister=function(){var e;return(e={})[s.DvEvent.impressionServed]=this.handleImpressionServed.bind(this),e},t.prototype.handleImpressionServed=function(){var e;s.EventBus.addEventsListener(((e={})[s.DvEvent.exposureData]=this.handleViewabilityData.bind(this),e[s.DvEvent.adVideoCompleteData]=this.handleVideoCompleteOrUnload.bind(this),e[s.DvEvent.unloadData]=this.handleVideoCompleteOrUnload.bind(this),e))},t.prototype.handleViewabilityData=function(e){var t=this.prepareValues(e),i=t.viewableShareOfScreenData,r=t.screenSize,n=t.viewablePercentage,o=t.adSize,a=t.adIsPlaying,s=t.isInFocus,p=t.isIabViewed;if(this.isViewabilityConditionPassed(o,r,a,s,n)){var c=o.height*o.width*n/(r.width*r.height);if(i.sumViewableShareOfScreen+=c,i.viewableIntervalCount=i.viewableIntervalCount+1,p){i.shareOfScreenNotMeasuredReason=l.ViewableShareOfScreenNotViewReason.Measured;var u=d.Utilities.getValBetweenMinAndMax(Math.round(i.sumViewableShareOfScreen/i.viewableIntervalCount),this.MIN_VAL,this.MAX_VAL);i.avgViewableShareOfScreen=u,h.WindowAdaptor.isIOS()&&this.isApplicableForInstantIosReport(i,n)&&(i.shareOfScreenLastIosReportedPercentage=n,this.report(i))}}i.shareOfScreenNotMeasuredReason=this.getValidationReasonBits(r,o,p,i)},t.prototype.prepareValues=function(e){var t=e.relevantData,i=e.adCandidate;i.sumViewableShareOfScreen=i.sumViewableShareOfScreen||0,i.viewableIntervalCount=i.viewableIntervalCount||0;var r=this.collectCurrentShareOfScreenData(t,i);return{viewableShareOfScreenData:i,screenSize:r.screenSize,viewablePercentage:r.viewablePercentage,adSize:r.adSize,adIsPlaying:r.adIsPlaying,isInFocus:r.isInFocus,isIabViewed:!!i.timeMsUntilAdViewed}},t.prototype.report=function(e){s.EventBus.dispatchEvent(s.DvEvent.reportData,new o.AdCandidateEventData(e))},t.prototype.calculateMaxEventsNumber=function(e){return void 0===e?this.MAX_EVENTS:e},t.prototype.isApplicableForInstantIosReport=function(e,t){e.shareOfScreenEventsLeftToReport=this.calculateMaxEventsNumber(e.shareOfScreenEventsLeftToReport);var i=!e.shareOfScreenLastIosReportedPercentage||e.shareOfScreenEventsLeftToReport>0&&e.shareOfScreenLastIosReportedPercentage!=t&&e.shareOfScreenLastIosReportedPercentage+this.MIN_PERCENTAGE_CHANGE<=100&&Math.abs(e.shareOfScreenLastIosReportedPercentage-t)>=this.MIN_PERCENTAGE_CHANGE;return i&&(e.shareOfScreenEventsLeftToReport=0===e.shareOfScreenEventsLeftToReport?0:e.shareOfScreenEventsLeftToReport-1),i},t.prototype.collectCurrentShareOfScreenData=function(e,t){var i=d.Utilities.isIabPageInFocus(e,c.DvObject.isFocusStrictMode());return{screenSize:this.getComparableScreenSize(e,t),viewablePercentage:e.percentage,adSize:e.adSize,adIsPlaying:u.DvTagDataObject.getTagType()!=l.DvTagType.Video||e.adIsPlaying,isInFocus:i}},t.prototype.getComparableScreenSize=function(e,t){t.shareOfScreenReadFromViewport=t.shareOfScreenReadFromViewport||this.isApplicableForViewportMeasurement()&&this.reportReadFromViewport(t);var i=e.screenSize;if(t.shareOfScreenReadFromViewport&&i&&i.width>0&&i.height){var r=v.BrowserAdaptor.getInnerViewport();r.width>0&&r.height>0&&(i={width:r.width,height:e.screenSize.height*(r.width/e.screenSize.width)})}return i},t.prototype.isApplicableForViewportMeasurement=function(){if(c.DvObject.getDetectedDeliveryType()===l.DetectedDeliveryType.MobileWeb&&(h.WindowAdaptor.getScenarioType()===l.Scenario.SameDomain||h.WindowAdaptor.getScenarioType()===l.Scenario.OnPage)){var e=v.BrowserAdaptor.getMetaTagAttributes(h.WindowAdaptor.workingDocument(h.WindowAdaptor.windowTop()),"viewport");return!this.isWebPageResponsive(e)}return!1},t.prototype.isWebPageResponsive=function(e){var t=e.width,i=e["initial-scale"];return!d.Utilities.isEmptyObject(e)&&(1===Number(i)||"device-width"===t)},t.prototype.reportReadFromViewport=function(e){return e.shareOfScreenReadFromViewportReport=1,!0},t.prototype.handleVideoCompleteOrUnload=function(e){var t=e.adCandidate;this.report(t)},t.prototype.isViewabilityConditionPassed=function(e,t,i,r,n){return i&&r&&this.validateScreenAndAdSize(e,t)&&this.isAdPercentageCriteriaPassed(e,n)},t.prototype.validateScreenAndAdSize=function(e,t){var i=e&&e.width&&e.height,r=t&&t.width&&t.height;return i&&r},t.prototype.getValidationReasonBits=function(e,t,i,r){var n=r.shareOfScreenNotMeasuredReason===l.ViewableShareOfScreenNotViewReason.Measured?l.ViewableShareOfScreenNotViewReason.Measured:0;return n||(e&&e.height&&e.width||(n|=l.ViewableShareOfScreenNotViewReason.NoScreenSize),t&&t.height&&t.width||(n|=l.ViewableShareOfScreenNotViewReason.NoAdSize),i||(n|=l.ViewableShareOfScreenNotViewReason.ImpressionNotViewable)),n},t.prototype.isAdPercentageCriteriaPassed=function(e,t){return d.Utilities.isLargeAd(e,p.ViewabilityConstants.IAB.DisplayMinimalLargeAdArea,c.DvObject.isMobile())?t>=p.ViewabilityConstants.IAB.DisplayMinimalAdAreaPercentageForLargeSize:t>=p.ViewabilityConstants.IAB.MinimalAdAreaPercentageForStandardSize},t.prototype.getActionName=function(){return"ViewableShareOfScreenBL"},t}(a.BaseAdBL);t.ViewableShareOfScreenBL=f},3350:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.AdAsset=void 0;var i=function(e,t,i,r,n){this.id=e,this.player=t,this.adDuration=i,this.executeDVClientCallback=n,this.adSkippable=r};t.AdAsset=i},2196:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.DvBackwardCompatibilityClass=void 0;var r=i(749),n=i(425),o=i(3380),a=i(6681),s=i(7360),d=i(3868),p=i(3946),c=function(){function e(){this.dvObjType="dv",this.messages={registerMsg:function(e,t){r.MessageHandler.sendMessage(t)},startSendingEvents:function(e,t){}},this.domUtilities={outer:this,addImage:function(e,t,i,r){var a=o.Utilities.getParamValue(e,"impid");null!=a&&this.outer.tags&&this.outer.tags[a]&&"object"==typeof this.outer.tags[a].eventIdGenerator&&"function"==typeof this.outer.tags[a].eventIdGenerator.getNext&&(e+="&eoid="+this.outer.tags[a].eventIdGenerator.getNext());n.BrowserAdaptor.sendBeacon(e,i,t)},addScriptResource:function(e,t){n.BrowserAdaptor.addScriptAsync(e,t)}},this.pubSub=s.EventBusGlobal,this.CommonData={Scenario:d.WindowAdaptor.getScenarioType(),BrowserId:p.BrowserDetector.getBrowserId(),BrowserIdFromUserAgent:p.BrowserDetector.getBrowserIdUserAgent(),BrowserVersion:p.BrowserDetector.getBrowserVersion()},this.tags={}}return e.prototype.resolveMacros=function(e,t){return o.Utilities.resolveMacros(e,t)},e.prototype.registerEventCall=function(e,t,i,n){r.MessageHandler.registerEventCall(e,t,n,i)},e.prototype.createEventCallUrl=function(e,t,i){return void 0===i&&(i=!1),r.MessageHandler.createEventCallUrl(e,t,i)},e.prototype.getMraid=function(){return a.MraidWrapper.getMraid()},e}();t.DvBackwardCompatibilityClass=c},5999:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BeaconsAdaptor=void 0;var r=i(712),n=i(3868),o=i(425),a=i(8379),s=function(){function e(){}return e.prototype.positionBeacons=function(e,t,i){for(var s=n.WindowAdaptor.getDefaultWindow(e).document,d=n.WindowAdaptor.workingBody(s),p=o.BrowserAdaptor.getScrollData(d).left,c=o.BrowserAdaptor.getScrollData(d).top,u=o.BrowserAdaptor.getBoundingClientRect(e),l=u.width,h=u.height,v=u.left,f=u.top,y=l/(1+a.BeaconConstants.SQRT_2),m=h/(1+a.BeaconConstants.SQRT_2),g=l/a.BeaconConstants.SQRT_2,b=h/a.BeaconConstants.SQRT_2,w=0;w=r.BeaconPosition.CENTER&&(D.left-=i/2,D.top-=i/2),D.style.left=D.left+"px",D.style.top=D.top+"px"}},e.prototype.getElementVisiblePercentageWithBeacons=function(e,t){for(var i=0,n=0,o=0,a=0,s=1;s=2||4==n||4==o&&i>=1?50:4==o&&n>=1?30:0:0:30},e.prototype.beaconCode=function(){var e=n.WindowAdaptor.currentWindow();e.isReady=!1,e.animateFrameRate=0;var t=0,i=0,r=requestAnimationFrame||webkitRequestAnimationFrame,o=function(e){t++,r(o)};r(o),setInterval((function(){t<10&&r(o),e.animateFrameRate=t-i,i=t}),100),setTimeout((function(){e.isReady=!0}),250)},e}();t.BeaconsAdaptor=new s},6875:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.getWorkingWindow=t.getCurrentWindow=t.getTagUniqueKey=void 0;var r=i(3380);dvWindow="undefined"!=typeof window&&window||dvWindow;var n="";function o(){return("undefined"!=typeof $dv&&$dv||{}).isDomlessEnvironment?{}:dvWindow}t.getTagUniqueKey=function(){if(""===n){var e="undefined"!=typeof $dv&&$dv||{};if(!e.hasOwnProperty("tagData"))throw new Error("dv object missing tagData property");if(!e.tagData||"object"!=typeof e.tagData)throw new Error("tagData is not an object");var t=Object.keys(e.tagData).filter((function(t){return e.tagData[t].hasOwnProperty("tagScriptElem")&&!e.tagData[t].isVisited}));if(!t.length)throw new Error("all tags data visited");var i=r.Utilities.getVersion(),o=t.filter((function(t){return e.tagData[t].dvtpScriptVersion===i}));n=o.length?o[0]:t[0],e.tagData[n].isVisited=!0}return n},t.getCurrentWindow=o,t.getWorkingWindow=function(){var e="undefined"!=typeof $dv&&$dv||{},t=o(),i=t;try{i=e.restrictedAccess?t:t.parent}catch(e){i=t}return i}},425:function(e,t,i){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserAdaptor=t.BrowserAdaptorClass=void 0;var n=i(3868),o=i(6689),a=i(712),s=i(3380),d=i(2756),p=i(194),c=i(3946),u=i(363),l=function(){function e(){this.visibilityPropertyPrefixes={hidden:"",webkitHidden:"webkit",mozHidden:"moz",msHidden:"ms"},this.updateVisibilityProperties(),this.createPrerenderedImages()}return e.prototype.sendBeaconIsSupported=function(){return n.WindowAdaptor.getNavigator()&&!!n.WindowAdaptor.getNavigator().sendBeacon&&c.BrowserDetector.getBrowserId()!=a.Browser.Safari&&c.BrowserDetector.getBrowserId()!=a.Browser.SafariWebView},e.prototype.createPrerenderedImages=function(){var e=this;this.prerenderedImages=[],this.sendBeaconSupported=this.sendBeaconIsSupported(),this.sendBeaconSupported||s.Utilities.times(20,(function(){return e.prerenderedImages.push(new Image)}))},e.prototype.getVisibilityProperty=function(){var e,t;try{for(var i=r(Object.keys(this.visibilityPropertyPrefixes)),o=i.next();!o.done;o=i.next()){var a=o.value;if(null!=n.WindowAdaptor.workingDocument()[a])return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},e.prototype.updateVisibilityProperties=function(){this.visibilityProperty=this.getVisibilityProperty(),this.visibilityPrefix=this.visibilityPropertyPrefixes[this.visibilityProperty]},e.prototype.getVisibilityPrefix=function(){return this.visibilityPrefix},e.prototype.isVisibilityChangeEventSupported=function(){return!!this.visibilityProperty},e.prototype.hasFocus=function(){return!(this.isVisibilityChangeEventSupported()&&!o.OmidWrapper.isSupported())||!n.WindowAdaptor.workingDocument()[this.visibilityProperty]},e.prototype.hasStrictFocus=function(){try{return!(n.WindowAdaptor.documentTop()&&n.WindowAdaptor.documentTop().hasFocus&&!o.OmidWrapper.isSupported())||n.WindowAdaptor.documentTop().hasFocus()}catch(e){return!0}},e.prototype.addEventListener=function(e,t,i,r){void 0===r&&(r=!1),e&&t&&i&&(i.addEventListener?i.addEventListener(e,t,r):i.attachEvent?i.attachEvent("on"+e,t):i["on"+e]=t)},e.prototype.removeEventListener=function(e,t,i,r){void 0===r&&(r=!1),e&&t&&i&&i.removeEventListener&&i.removeEventListener(e,t,r)},e.prototype.setTimeout=function(e,t){return n.WindowAdaptor.currentWindow().setTimeout(e,t)},e.prototype.clearTimeout=function(e){n.WindowAdaptor.currentWindow().clearTimeout(e)},e.prototype.setInterval=function(e,t){return n.WindowAdaptor.currentWindow().setInterval(e,t)},e.prototype.clearInterval=function(e){n.WindowAdaptor.currentWindow().clearInterval(e)},e.prototype.isBrowserSupported=function(){var e=[];return"function"==typeof e.filter&&"function"==typeof e.forEach},e.prototype.getAttribute=function(e,t){var i;if(e&&t)try{i=e[t]||e.getAttribute(t)}catch(e){}return i},e.prototype.getElementsByTagNameFromDocument=function(e,t){void 0===t&&(t=n.WindowAdaptor.workingDocument());var i=[];if(t&&e&&t.getElementsByTagName){var r=t.getElementsByTagName(e);r&&(i=s.Utilities.arrayLikeToArray(r))}return i},e.prototype.getElementsByClassName=function(e,t){void 0===t&&(t=n.WindowAdaptor.workingDocument());var i=[];if(t&&e){var r=void 0;t.getElementsByClassName?r=t.getElementsByClassName(e):t.querySelectorAll&&(r=t.querySelectorAll("."+e)),r&&(i=s.Utilities.arrayLikeToArray(r))}return i},e.prototype.querySelector=function(e,t){void 0===t&&(t=n.WindowAdaptor.workingDocument());try{return t.querySelector(e)}catch(e){}},e.prototype.createImage=function(){return new Image},e.prototype.createElement=function(e,t){if(void 0===t&&(t=n.WindowAdaptor.workingDocument()),e)return t.createElement(e)},e.prototype.insertBefore=function(e,t,i){return e&&e.insertBefore(t,i)},e.prototype.registerScriptEvent=function(e,t,i){this.addEventListener("error",t&&t.bind(null),e),this.addEventListener("load",i&&i.bind(null),e)},e.prototype.addScriptAsync=function(e,t,i,r,o,a){void 0===r&&(r=!0),t=t||n.WindowAdaptor.workingBody()||n.WindowAdaptor.workingDocument().head||n.WindowAdaptor.workingDocumentElement();var d=this.createElement("script",t.ownerDocument);d.type="text/javascript",d.src=r?s.Utilities.appendCacheBuster(e,"cbust"):e,this.registerScriptEvent(d,o,a),i&&(d.id=i),this.insertBefore(t,d,t.firstChild)},e.prototype.addScriptSync=function(e,t){t.write('