A

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 111

/*! v2.38.

10 built Wed Oct 06 2021 18:51:37 GMT+0300 (Moscow Standard Time) */


!function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!
1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var
i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,
{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!
0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof
t&&t&&t.__esModule)return t;var
n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:t}),2&i&&"string"!=typeof t)for(var r in t)e.d(n,r,function(e){return
t[e]}.bind(null,r));return n},e.n=function(t){var i=t&&t.__esModule?function()
{return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e)
{return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=42)}
([function(t,e,i){"use strict";function n(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function a(t){return
f(t,"IFRAME")&&t.contentWindow&&"complete"===t.contentWindow.document.readyState||
f(t,"DIV")&&t}function s(t,e){return d(t,e&&e.offsetParent)}function d(t,e){var
i=0,n=0,r=document;if(e){var
o=window,a=e.closest&&e.closest("body"),s=l(document,a);s&&s.length&&(o=s.pop().con
tentWindow),r=o.document;var d=(getComputedStyle(e)||
{}).position;if(~["absolute","relative","fixed"].indexOf(d)){var
c=e.getBoundingClientRect(),u=c.top,h=c.left;i=u+o.pageYOffset,n=h+o.pageXOffset}}v
ar p=function(t,e){void 0===e&&(e=document);var
i,n={top:0,left:0},r=t&&t.getBoundingClientRect&&t.getBoundingClientRect()||
n,o=r.top,a=r.left;if(document===e)i=window;else{var
s=l(document,e.body);i=s.length&&s.pop().contentWindow}if(i){var
d=i,c=d.pageXOffset,u=d.pageYOffset;o+=u,a+=c}var
h=t&&t.closest&&t.closest("body"),p=l(e,h);if(p.length){var
f=p.reduceRight(function(t,e){var i=e&&e.getBoundingClientRect()||
n,r=i.top,o=i.left;t||(t={top:0,left:0});var a=e&&getComputedStyle(e)||
{},s=a.paddingLeft,d=a.paddingTop;return t.top+=r+(e&&e.clientTop||0)+
(s&&parseFloat(s)||0)+(e&&e.scrollTop||0),t.left+=o+(e&&e.clientLeft||0)+
(d&&parseFloat(d)||0)+(e&&e.scrollLeft||
0),t},null),g=f.top,v=f.left;o+=g,a+=v}return{top:o,left:a}}(t,r);return p.top-
=i,p.left-=n,p}function l(t,e){return!e||t&&t.body===e?[]:function t(e,i,n){void
0===n&&(n={}),n||(n={}),n.children||(n.children=[]);var
r=e.querySelectorAll("iframe"),o=!1;return r.length&&Array.from(r).some(function(e)
{var r;try{var a=e.contentWindow;r=(a||{}).document}catch(e){return!1}if(r)
{if(r.body===i){o=[e];for(var s=n;s&&s.element;){o.push(s.element);var
d=s;s=d.parent}return!0}var l={element:e,children:
[]};if(l.parent=n,n.children.push(l),(o=t(r,i,l)).length)return!0}return!1}),o}
(t,e)}i.d(e,"c",function(){return p}),i.d(e,"o",function(){return
f}),i.d(e,"s",function(){return g}),i.d(e,"b",function(){return
v}),i.d(e,"p",function(){return b}),i.d(e,"d",function(){return
m}),i.d(e,"a",function(){return y}),i.d(e,"n",function(){return
O}),i.d(e,"u",function(){return A}),i.d(e,"l",function(){return
_}),i.d(e,"t",function(){return P}),i.d(e,"k",function(){return
S}),i.d(e,"j",function(){return j}),i.d(e,"i",function(){return
E}),i.d(e,"e",function(){return C}),i.d(e,"m",function(){return
D}),i.d(e,"q",function(){return I}),i.d(e,"f",function(){return
T}),i.d(e,"v",function(){return k}),i.d(e,"h",function(){return
s}),i.d(e,"g",function(){return d}),i.d(e,"r",function(){return l});i(2);var
c=i(18),u=i.n(c),h=i(7),p=function(t)
{t.preventDefault(),t.stopPropagation()},f=function(t,e){return
t&&("object"==typeof t||"function"==typeof t)&&"string"==typeof t.innerHTML&&(!e||
e.toUpperCase()===t.tagName)},g=function(t){return
t&&t.parentNode&&t.parentNode.removeChild(t),null},v=function(t,e){var
i=[].concat(t).filter(function(t){return t&&t.style});return
Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&i.forEach(function(e){var
i=e.style;if(i[t]=n,-1!==["transform","transition","userSelect"].indexOf(t)){var
r=""+t[0].toUpperCase()+t.substr(1);["Webkit","Moz","Ms","O"].forEach(function(t)
{i[""+t+r]=n})}})}),t},b=function(t,e){if(void 0===e&&(e=!1),f(t,"video")||
f(t,"audio")){var i=t.play();return void 0===i?void 0:i.then(function(){return
i}).catch(function(t){if(e)throw t;return i})}return!1},m=function(t,e,i,n){var
r=document.createElement(t);switch(typeof e)
{case"object":v(r,e);break;case"string":r.className=e}return
r.innerHTML=i||"",r.addEventListener("click",n),r},y=function(t,e,i,n,r){var
o=m(e,i,n,r);return t.appendChild(o)},O=function(t,e,i,n,r){var o=m(e,i,n,r);return
t.parentElement.insertBefore(o,t.nextSibling)},A=function(t,e){t&&"object"==typeof
e&&Object.keys(e).forEach(function(i){return
t.setAttribute(i,e[i])})},w=function(t,e){return-1<(" "+t.className+" ").indexOf("
"+e+" ")},_=function(t,e){for(;t;){if(w(t,e))return!0;t=t.parentNode}return!
1},P=function(t,e){var i=Element.prototype;return(i.matches||
i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(t)
{return-1!==[].indexOf.call(document.querySelectorAll(t),void
0)}).call(t,e)},S=function(t,e,i){if(void 0===e&&(e=document.body),void
0===i&&(i=1),!t)return[];if(!f(e))return[];var n=[];return
t.split("|").some(function(t){if(P(e,t))return n=[e],!0;var
r=e.querySelectorAll(t);return 0<r.length&&!(r.length<i)&&(n=Array.from(r),!
0)}),n},j=function(t,e,i,n){if(void 0===e&&(e="100%"),void
0===i&&(i=document.body),void 0===n&&(n=1),!t)return null;if(f(t))return
t;if("string"==typeof t){var r=S(t,i,n),o=parseInt(e,10)/100;return isNaN(o)?
null:r[o?Math.ceil(r.length*o)-1:0]}return null},E=function(t,e){var
i=t.parentNode,n=getComputedStyle(t),r=i.style.display;i.style.display="none";var
o=n.getPropertyValue(e);return i.style.display=r,o},C=function(t){return y(t,"div",
{position:"absolute",transform:"translate(-50%,
-50%)",top:"50%",left:"50%"},u.a)},D={position:"absolute",visibility:"hidden"},I={p
osition:"absolute",visibility:"initial"},T=function(t,e){for(var
i=[];t.parentNode;)if(i.push(t.parentNode),(t=t.parentNode)===e)return i;return
i},k=function(t,e){void 0===e&&(e={});var i,n,o=r({},
{iframeLoadedTimeout:50,maxAttempt:10,manualCheck:!1,onloadCheck:!0},
{},e),s=o.iframeLoadedTimeout,d=o.maxAttempt,l=o.onload,c=o.onerror,u=o.manualCheck
,p=o.onloadCheck,f=d;if(l){if(a(t))return l(),null;h.i&&(u=!0,p=!
1),u&&(i=setInterval(function(){--f;var
e=a(t);if(e&&(n&&t.removeEventListener("load",n),l()),(0==--f||
e)&&clearInterval(i),!f&&!e)throw new Error(".setIframeEventsHandlers() fail
loading iframe")},s)),p&&(n=function()
{clearInterval(i),l()},t.addEventListener("load",n))}return
t.addEventListener("error",function(){if(clearInterval(i),!h.e)throw c&&c(),new
Error(".setIframeEventsHandlers() fail loading
iframe");l(),n&&t.removeEventListener("load",n),clearInterval(i)}),i}},function(t,e
,i){"use strict";function n(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function a(t,e){try{return
t.top.location.href}catch(e){}try{var
i=t.location.ancestorOrigins;if(0<i.length)return i[i.length-1]}catch(e)
{}try{if(e.referrer)return e.referrer}catch(e){}return null}function s(t,e){return
t||(t=window),e||(e=t.document),a(t,e)||t.location.href}function d(t,e,i){void
0===i&&(i=null),i||(i=t);var
n=document.documentElement,r=null,o=null,a=null,s=null;try{r=i.offsetHeight||
i.innerHeight||window.innerHeight,o=i.innerWidth||window.innerWidth,s=(a=!
isNaN(i.scrollTop)&&i.scrollTop||(window.pageYOffset||n.scrollTop)-(n.clientTop||
0))+r}catch(t){}var
d=e.getBoundingClientRect(),l=t.getBoundingClientRect&&t.getBoundingClientRect().to
p||
0;return{viewportHeight:r,viewportWidth:o,viewportTop:a,viewportBottom:s,moduleTop:
d.top+l}}function l(t,e){t&&Object(C.b)(t,
{width:V(e.width),height:V(e.height)})}function c(t){if(!Object(C.o)
(t))return{};var
e=getComputedStyle(t),i=e.paddingTop,n=e.paddingRight,r=e.paddingBottom,o=e.padding
Left,a=e.marginTop,s=e.marginRight,d=e.marginBottom,l=e.marginLeft,c=e.borderTopWid
th,u=e.borderRightWidth,h=e.borderBottomWidth,p=e.borderLeftWidth,f=e.width,g=e.hei
ght,v=t.getBoundingClientRect(),b=v.width,m=v.height;f=parseFloat(f)||
0,g=parseFloat(g)||0,c=parseFloat(c)||0,u=parseFloat(u)||0,h=parseFloat(h)||
0,p=parseFloat(p)||0,i=parseFloat(i)||0,n=parseFloat(n)||0,r=parseFloat(r)||
0,o=parseFloat(o)||0,a=parseFloat(a)||0,s=parseFloat(s)||0,d=parseFloat(d)||
0,l=parseFloat(l)||0;var
y=t.clientWidth,O=t.clientHeight,A=t.offsetHeight,w=t.offsetWidth,_=function(t)
{return 0>t?
0:t};return{paddingTop:i,paddingRight:n,paddingBottom:r,paddingLeft:o,marginTop:a,m
arginRight:s,marginBottom:d,marginLeft:l,top:i+_(a),right:n+_(s),bottom:r+_(d),left
:o+_(l),clientWidth:y,clientHeight:O,width:b,height:m,offsetHeight:A,offsetWidth:w,
insideWidth:w-o-n-p-u,insideHeight:A-i-r-c-h,outsideWidth:w?w+_(l)+_(s):j(
_(l),_(s)),outsideHeight:A?A+_(a)
+_(d):j(_(a),_(d)),borderTopWidth:c,borderRightWidth:u,borderBottomWidth:h,borderLe
ftWidth:p,widthFromStyle:f,heightFromStyle:g,rect:t.getBoundingClientRect()}}functi
on u(t,e){function i(t)
{return{top:t.top,bottom:t.bottom,left:t.left,right:t.right}}var
n=t.getBoundingClientRect(),r=n.bottom-
n.top,o=[i(n)];o[0].element=t,g(window,function(t){if(t){var
e=i(t.getBoundingClientRect());e.win=t,o.push(e)}}),o.reverse();var
a=o[0].win&&m(o[0].win),s=a&&a.clientWidth||null,d=a&&a.clientHeight||null,l=d?
d+o[0].top:null,c=s?s+o[0].left:null;o.reduce(function(t,e){return
e.bottom+=t.top,e.top+=t.top,e.right+=t.left,e.left+=t.left,e});var
u=j.apply(null,o.map(function(t){return t.top})),h=j.apply(null,o.map(function(t)
{return t.left})),p=E.apply(null,o.map(function(t){return t.bottom}));null!
==l&&(p=E(p,l));var f=E.apply(null,o.map(function(t){return t.right}));null!
==c&&(f=E(f,c));var v=u,b=h,y=p,O=f,A=(n.bottom-n.top)*(n.right-n.left),w=(y-v)*(O-
b),_=0>=w?0:w/A,P=s*d;if(!w&&!r){var S=o.filter(function(t){return
t.element}),C=o.filter(function(t){return!
t.element});S.length&&C.length&&C.some(function(t){return
t.top<=S[0].top})&&C.some(function(t){return
t.bottom>=S[0].bottom})&&(_=1)}I.b.none(T+".getVisibilityByRect()
intersectionRatio="+_,1);var
D={intersectionRatio:_,visibility:0^100*_,moduleSquare:A,screenSquare:P,relationSiz
e:0^A/P*100,boundingClientRect:n};return I.b.none(T+".getVisibilityByRect()
result="+JSON.stringify(D)),e&&e(D),D}function h(t,e,i)
{I.b.none(T+"._getVisibilityByIntersectionObserver");var n=r({},{continueWatch:!
1,threshold:[]},
{},i).threshold;H&&I.b.trace(T+"._getVisibilityByIntersectionObserver
threshold="+n.join(",")+" ");var o=new IntersectionObserver(function(t)
{t.forEach(function(t){var
i=t.boundingClientRect,n=t.rootBounds,r=t.intersectionRatio,o=t.target,a=O(i.width)
*O(i.height),s=n?n.width*n.height:null;if(null!==s){H&&I.b.trace(T+".onEntry()
entry.intersectionRatio="+r+" target="+w(o)+" screenSquare="+s,1,"pink");var
d={intersectionRatio:r,visibility:0^Math.round(100*r),moduleSquare:a,screenSquare:s
,relationSize:s?0^a/s*100:null,boundingClientRect:i};e(d)}})}.bind(this),
{threshold:n.sort()});return o.observe(t),o}function p(t,e){function i(e){return
void 0===e&&(e=null),(e&&Promise.resolve(e)||
window.IntersectionObserver&&(e=u.call(null,t))&&Promise.resolve(e)||
Promise.resolve(null)).catch(function(t){return t&&t.message,null})}var n=this;void
0===e&&(e=100);var r=new Promise(function(t){return setTimeout(t,e,null)}),o=new
Promise(function(e){window.IntersectionObserver?h.call(n,t,e,{threshold:
[0,1]}):u.call(null,t,e)});return Promise.race([r,o]).then(function(t){return
i.call(n,t)}).catch(function(t){return t&&t.message,i.call(n)})}function f(t,e,i)
{var n=r({},{threshold:[],continueWatch:!0,registerHandle:function(){throw
Error(T+" watchVisibility() registerHandle must be defined")}},
{},e),o=n.threshold,a=n.registerHandle,s=n.continueWatch;if(H&&I.b.trace(T+".watchV
isibility() window.IntersectionObserver="+window.IntersectionObserver+"
threshold=["+o.join(",")+"] "),window.IntersectionObserver)return h.call(this,t,i,
{continueWatch:s,threshold:o});var
d=a(u.bind(null,t,i)),l=d.handler,c=d.event,p=d.scrollNode;return u.call(null,t,i),
{disconnect:function(){H&&I.b.trace(T+" watchVisibility():disconnect() event="+c+"
element="+t,1,"pink"),p&&p.removeEventListener(c,l)}}}function g(t,e){for(var
i=t,n=t;;){try{i=n.parent&&n.parent.document||n.parent&&n.parent.contentWindow?
n.parent:n,i=n,n=n.parent}catch(t){return
e&&e(null),m(n)}if(e&&e(b(n,i)),n===i)return m(i)}}function v(t)
{try{if(t.top&&m(t.top))return t.top}catch(t){return null}return null}function
b(t,e){if(!t||!t.frames)return null;if(t===e)return m(t);var
i=m(t).querySelectorAll("iframe"),n=[].filter.call(i,function(t){return
t.contentWindow===e});return n.length?n[0]:null}function m(t){return
t&&t.document&&t.document.documentElement||
t&&t.contentWindow&&t.contentWindow.document.documentElement||t}function y(t,e,i)
{var n=Error(e+" ("+(t&&t.message)+")");return i?
n.code=i:t&&t.code&&(n.code=t.code),t&&t.name&&(n.name=t.name),n}function O(t,e,i)
{return void 0===e&&(e=.1),void 0===i&&(i=0),S(t)>=e?t:i}function A(t,e,i){return
void 0===i&&(i=.1),S(t-e)>i}function w(t,e){void
0===e&&(e=["display","visibility"]);var i=t&&getComputedStyle(t)||
{},n=e&&e.length&&Object.keys(i).filter(function(t){return
e.includes(t)}).map(function(t){return t+"='"+i[t]+"'"}).join(" ")||"";return
t&&t.tagName&&"("+t+")("+t.tagName+"."+
(t.className&&t.className.split&&t.className.split(" ").join("."))+") "+n||"[not
HTMLElement]"}function _(t,e){if("string"==typeof t){if(t.includes("%")){var
i=t.split("%")[0];return parseFloat(i)*parseFloat(e)*.01}return
parseFloat(t)}return parseFloat(t)}function P(t,e,i){e&&e.trace("."+(i||"")+".
restoreSavedAdParams() Restoring containers");var n=t||[];return
n.forEach(function(t){if("function"==typeof t)t();else{var n=t||
{},r=n.node,o=n.styles;r&&o&&(Object(C.b)(r,o||{}),e&&e.trace("."+(i||"")+"
restoreSavedAdParams() node:"+w(r)+" was restores with
styles:\n"+JSON.stringify(o,null,2)+")"))}}),n.length}var
S=Math.abs,j=Math.max,E=Math.min;i.d(e,"b",function(){return
k}),i.d(e,"f",function(){return x}),i.d(e,"d",function(){return
N}),i.d(e,"o",function(){return M}),i.d(e,"s",function(){return
V}),i.d(e,"r",function(){return R}),i.d(e,"l",function(){return
a}),i.d(e,"i",function(){return s}),i.d(e,"j",function(){return
d}),i.d(e,"c",function(){return l}),i.d(e,"h",function(){return
c}),i.d(e,"n",function(){return p}),i.d(e,"w",function(){return
f}),i.d(e,"v",function(){return g}),i.d(e,"k",function(){return
v}),i.d(e,"g",function(){return m}),i.d(e,"a",function(){return
L}),i.d(e,"e",function(){return y}),i.d(e,"q",function(){return
F}),i.d(e,"t",function(){return W}),i.d(e,"p",function(){return
A}),i.d(e,"m",function(){return _}),i.d(e,"u",function(){return P});var
C=i(0),D=i(11),I=i(2),T="utils",k=function(t,e){return t.reduce(function(t,e)
{return t.then(e)},Promise.resolve(e))},x=function(t,e){var i=t&&t.length;if(!
i)return Promise.resolve(!1);var n=[];return new Promise(function(r,o){var
a=0,s=function(t){if(t>=i)if(n.length){var e=n.filter(function(t){return
t.fatal});o(e.length&&e[0]||n[0])}else r()};t.forEach(function(t)
{t(e).then(function(){return s(++a)}).catch(function(e){var
i=e.message;i&&(e.message=(t&&t.name&&'Extension "'.concat(t.name).concat('": '))+"
"+i+". "+(t&&!t.name&&t.toString&&t.toString())),n.push(e),s(+
+a)})})})},N=function(t,e,i){return void 0===e&&(e=0),void
0===i&&(i=1),j(e,E(i,t))},M=function(t){return t.mozHasAudio||
t.webkitAudioDecodedByteCount||t.audioTracks&&t.audioTracks.length},V=function(t)
{return void 0===t&&(t=""),0===(""+t).length||/%|
px/.test(""+t)?""+t:t+"px"},R=function(t){return void 0===t&&(t=""),""+t&&!/ms|
s/.test(""+t)?t+"ms":""+t},L=function(){var t=null,e=null;this.promise=new
Promise(function(i,n){t=i,e=n}),this.resolve=t,this.reject=e},F=function(t){return!
t||"object"==typeof t&&(Array.isArray(t)&&!t.length||!
Object.keys(t).length)},W=function(t){return t&&(!0===t||"true"===t||"1"===t||
1===t)||!1},H=W(Object(D.b)("intersections.trace"))},function(t,e,i){"use
strict";function n(t,e,i){void 0===e&&(e="black");var n=P[t]||"";return
i&&(~i.indexOf(":")?n+=";"+i:(e=i,!
~n.indexOf(_)&&(n+=_))),n&&n.replace("{{color}}",e)||""}i.d(e,"a",function(){return
w}),i.d(e,"c",function(){return E}),i.d(e,"d",function(){return m});var
r,o,a=i(11),s={NONE:0,ERROR:1,WARN:2,LOG:3,TRACK:4,TRACE:5},d="logLevel",l=Math.ran
dom().toString(36).substring(2,5),c="undefined"!=typeof window&&window||
{};try{o=window.location.search;try{o=window.top.location.search}catch(t)
{}}catch(e){}var u,h,p=o?/[?
&]vn_debug\b(?:=(\d+))?/.exec(o):null,f=p&&p[1];null==f?(f=parseInt(Object(a.b)
(d),10)||0)&&(h=" logger: vn_debug("+f+") was restored from localStorage"):(u="
logger: vn_debug="+(f=parseInt(f,10)||0)+" is using and saved to
localStorage",Object(a.d)(d,f));var g,v=[],b=function(){return"["+(new
Date).toISOString().slice(11,-1)+"] <"+l+">"},m=function(t,e){return void
0===e&&(e=b),c.vnLog||function(i,n,r){var o="%c "+e()
+n;v.push(o),i<=t&&console.info(o,""+r)}},y=0,O=1,A=2,w=function(t,e,i){return void
0===i&&(i=!0),e=e||m(t),i&&e(s.LOG," Videonow logger started with log level "+t+"
("+function(t){return Object.keys(s).find(function(e){return s[e]==t})}(t)+")
v2.38.10 built "+new Date(1633535497519),"font-weight: bold"),{none:function()
{},error:function(t,i,r){return void
0===i&&(i=A),e(s.ERROR,t,n(i,"red",r))},warn:function(t,i,r){return void
0===i&&(i=O),e(s.WARN,t,n(i,"red",r))},log:function(t,i,r){return void
0===i&&(i=y),e(s.LOG,t,n(i,i===O?"green":"#333",r))},track:function(t,i,r){return
void 0===i&&(i=O),e(s.TRACK,t,n(i,"darkblue",r))},trace:function(t,i,r){return void
0===i&&(i=O),e(s.TRACE,t,n(i,i>O?"#aaa":"lightgray",r))},archive:v,getLevel:functio
n(){return t},setLevel:function(i){t=i,e=e||m(i)}}},_="color:{{color}}",P=((r={})
[y]="",r[O]=_,r[A]=_+";font-weight:bold",r);try{g=window.videonow=window.videonow||
{}}catch(e){g={}}if(!g.logger){var S=w(f,null);u&&S.warn(u,2,"color:#ff5722;font-
size:1.5em;font-weight:bold"),h&&S.warn(h,2,"color:#ff5722; font-
size:1.5em"),g.logger=S}var j=g.logger;e.b=j;var E=f},function(t,e,i){"use
strict";function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function
a(t,e,i,n){function o(t,e,i){var n=a.call(this,t)||{};void 0!
==e&&(n.orderIndex=e);var r=n.name;if(!r&&!i)return n;if(!r&&i)throw Error("
getToContainer() the name property does not found");return r&&!
i&&(i={}),r&&r.length&&(i[r]=n),i}function a(t){var e=i.call(this,t);if(!e)return
null;var n=s(t)||{};return r({},e,{orderIndex:f},n)}var d=this,l=n||
{},c=l.parentPrefix,u=l.multipleOptionName,h=m(t,e,c||""),p=h.xml,f=h.orderIndex;if
(p){var g=u&&b(p,{optionName:u,onlyTopLevel:!0});return g?
s(p,g.reduce(function(t,e){return o.call(d,e,f,t)},{})):o.call(this,p,f)}return
null}function s(t,e){void 0===e&&(e={});var i=p(t,"global")||Object(l.t)
(t.getAttribute("global"));i&&(e.global=i);var n=p(t,"important")||Object(l.t)
(t.getAttribute("important"));n&&(e[c.a]=n);var r=p(t,"overwrite")||
t.getAttribute("overwrite");void 0!=r&&(e[c.b]=r);var o=p(t,"remove")||Object(l.t)
(t.getAttribute("remove"));return o&&(e[c.d]=o),e}function d(t){var
e=t&&t.querySelector("InLine > Creatives > Creative > Linear >
AdParameters");return e?h(e):null}i.d(e,"l",function(){return
u}),i.d(e,"e",function(){return h}),i.d(e,"d",function(){return
p}),i.d(e,"h",function(){return f}),i.d(e,"a",function(){return
g}),i.d(e,"j",function(){return v}),i.d(e,"k",function(){return
b}),i.d(e,"i",function(){return a}),i.d(e,"g",function(){return
y}),i.d(e,"f",function(){return O}),i.d(e,"c",function(){return
A}),i.d(e,"b",function(){return d});i(2);var
l=i(1),c=i(4),u=["global","orderIndex","overwrite","important",c.a,c.b,c.e,c.c],h=f
unction(t,e,i){var n=t&&e?
t.querySelector(e):t,r=n&&n.textContent;return"string"==typeof r?
r.trim():i},p=function(t,e,i){var n=h(t,e,i);try{return JSON.parse(n)}catch(t)
{return n}},f=function(t){void 0===t&&(t="");var e=t.includes("?")?t.split("?")
[1]||"":t,i=e?e.split("&"):[];return i&&i.length&&i.reduce(function(t,e){var
i=e.split("="),n=i[0]&&decodeURIComponent(i[0]),r=i[1]&&decodeURIComponent(i[1]);re
turn(n||r)&&(t[n]=r&&r.replace(/\+/g," ")),t},{})||{}},g=function(t,e){void
0===t&&(t=""),void 0===e&&(e={});var i=[];Object.keys(e).forEach(function(t){var
n=e[t],r=[encodeURIComponent(t)];null!==n&&void 0!
==n&&r.push(encodeURIComponent(n)),i.push(r.join("="))});var n=-
1<t.indexOf("?")?"&":"?";return i.length?t+n+i.join("&"):t},v=function(t){if(!
t)return null;if(window.DOMParser){var e=(new
window.DOMParser).parseFromString(t,"application/xml");return!e||
e.querySelector("parsererror")?null:e}if(void 0!==window.ActiveXObject&&new
window.ActiveXObject("Microsoft.XMLDOM")){var i=new
window.ActiveXObject("Microsoft.XMLDOM");return
i.async="false",i.loadXML(t),i}return null},b=function(t,e){if(void 0===e&&(e={}),!
t)return null;var i=r({optionName:"option",onlyTopLevel:!
1},e),n=i.optionName,o=i.onlyTopLevel,a=t&&(p(t,"important")||
t.getAttribute("important")),d=t.querySelector(n+"s"),u=d&&(p(d,"important")||
d.getAttribute("important")),f=d&&d.getAttribute("overwrite"),g=t.querySelectorAll(
n+"s > "+n);if(!g||!g.length)return null;if(o)return Array.from(g);var
v=Array.from(g).reduce(function(t,e){var
i,n=e.getAttribute("name"),r=e.getAttribute("important"),o=t[n]=((i={})
[c.e]=h(e),i[c.c]=!0,i);return s(e,o),void 0==r?void 0==u?void 0!
=a&&(o[c.a]=Object(l.t)(a)):o[c.a]=Object(l.t)(u):o[c.a]=Object(l.t)(r),t},
{});return f&&(v[c.b]=f),u?v[c.a]=Object(l.t)(u):a&&(v[c.a]=Object(l.t)
(a)),v};"undefined"!=typeof exports&&(exports.parseXmlOptions=b);var
m=function(t,e,i){void 0===i&&(i="");var
n=i+'Extension[type="'+e+'"]',r=t&&t.querySelector(n),o=0;if(r){var
a=t.querySelectorAll(i+"Extension"),s=t.querySelectorAll(n+" ~
Extension");o=a.length-s.length-1}return{xml:r,orderIndex:o}},y=function(t){var
e=/^\s*(?:(?:(\d\d):)?(\d\d):)?(\d\d)(?:[.,](\d+))?\s*$/.exec(t);return e?
60*(+e[1]||0)*60+60*(+e[2]||0)+(+e[3]||0)+ +("0."+(e[4]||0)):1/0},O=function(t){var
e=/^\s*([\d.]+)%\s*$/.exec(t);return e?(+e[1]||0)/100:null},A=function(t){var
e=t&&t.querySelectorAll("Ad");if(!e||!e.length)return[];var
i=t&&t.querySelectorAll("Extensions > Extension > Ad");return i&&i.length?
(e=Array.from(e),i=Array.from(i),e.reduce(function(t,e){return i.includes(e)||
t.push(e),t},[])):Array.from(e)}},function(t,e,i){"use strict";function n(t,e,i,r)
{if("global"===e)return t[e]=!0===i,t;var a=i.global,c=Object(o.t)(a);if(r=void 0!
=a&&c||r,"remove"===e)t[u]=!0===i;else{if("object"==typeof i&&null!==i)return
t[e]=Object.entries(i).reduce(function(t,e){return n(t,e[0],e[1],r)},{}),t;var
h;t[e]=((h={})[d]=i,h[l]=!0,h)}return r&&(t[e][s]=!0),t}i.d(e,"b",function(){return
a}),i.d(e,"a",function(){return s}),i.d(e,"e",function(){return
d}),i.d(e,"c",function(){return l}),i.d(e,"d",function(){return
u}),i.d(e,"g",function(){return p}),i.d(e,"h",function(){return
f}),i.d(e,"f",function(){return n});var
r=i(0),o=i(1),a="__overwrite_type";"undefined"!=typeof
exports&&(exports.OVERWRITE_FLAG=a);var s="__important";"undefined"!=typeof
exports&&(exports.IMPORTANT_FLAG=s);var d="__value";"undefined"!=typeof
exports&&(exports.VALUE_FLAG=d);var l="__primitive";"undefined"!=typeof
exports&&(exports.PRIMITIVE_FLAG=l);var c=function(t){var e=(t||{})[a];return
e&&e.toLowerCase&&"solid"===e.toLowerCase()},u="__remove";"undefined"!=typeof
exports&&(exports.REMOVE_FLAG=u);var h=function(t){return t&&!0===t[s]},p=function
t(e){if(void 0===e&&(e={}),e){for(var i=arguments.length,n=Array(1<i?i-
1:0),s=1;s<i;s++)n[s-1]=arguments[s];n.forEach(function(i){void 0===i&&(i={});var
n=!h(e)||h(i),s=c(i);s&&n?e=i:Array.isArray(e)&&Array.isArray(i)?e=Array.from(new
Set(e.concat(i))):Object.keys(i).forEach(function(d){var l=i[d];if(void 0!==l&&l!
==a)if(!l||"object"!=typeof l||Object(o.q)(l)||Object(r.o)(l))d!
==a&&n&&(e[d]=l);else{var u=Object.prototype.hasOwnProperty.call(e,d)&&e[d]||
(e[d]=Array.isArray(l)?[]:{}),p=typeof u;e[d]="string"==p||"number"==p||(!h(u)||
h(l))&&(s||c(l))?l:t(u,l)}})})}return e};"undefined"!=typeof
exports&&(exports.extend=p);var f=function t(e,i){return void 0===i&&(i={}),!e||
Array.isArray(e)||"object"!=typeof e?e:!0===e[u]?null:!0===e[l]?e[d]:
(Object.keys(e).forEach(function(n){var a=e[n],s=void 0!=a&&!0===a[l];if(a&&!
0===a[u])delete i[n];else if(s&&void 0!=a[d])i[n]=a[d];else if(void 0!==a)if(!a||
Array.isArray(a)||"object"!=typeof a||Object(o.q)(a)||Object(r.o)
(a))i[n]=a;else{var c=Object.prototype.hasOwnProperty.call(i,n)&&i[n]||
(i[n]={});t(a,c)}}),i&&i[l]?i[d]:i)};"undefined"!=typeof
exports&&(exports.finalize=f)},function(t,e,i){"use strict";function n(t)
{this.state=t}function r(t){return-1!==[].concat(t).indexOf(this.state)}function
o(){return!r.call(this,["stopped","destroyed","destroying"])}function a(){return!
r.call(this,
["complete","completing","stopped","destroyed","destroying"])}i.d(e,"d",function()
{return n}),i.d(e,"c",function(){return r}),i.d(e,"b",function(){return
o}),i.d(e,"a",function(){return a})},function(t,e){"use
strict";e.a={GENERAL_WRAPPER_ERROR:300,TIMEOUT_OF_VAST_URI:301,NO_ADS_RESPONSE:303,
GENERAL_LINEAR_ERROR:400,TIMEOUT_OF_MEDIA:402,MEDIA_FILE_NOT_FOUND:403,FAIL_MEDIA_D
ISPLAY:405,GENERAL_VPAID_ERROR:901,VPAID_JS_ERROR:1010,GLOBAL_TIMEOUT_HAPPENED:1011
,FORMAT_ERROR:1020,AD_SIZE_ERROR:1030,AD_IMPRESSION_NOT_HAPPENED_ERROR:1040,AD_STAR
TED_NOT_HAPPENED_ERROR:1041,AD_STAT_ERROR:1050,FAIL_MEDIA_START:3e3}},function(t,e,
i){"use strict";i.d(e,"g",function(){return g}),i.d(e,"a",function(){return
v}),i.d(e,"i",function(){return b}),i.d(e,"c",function(){return
m}),i.d(e,"e",function(){return y}),i.d(e,"h",function(){return
O}),i.d(e,"f",function(){return A}),i.d(e,"d",function(){return
w}),i.d(e,"b",function(){return P});var n="undefined"!=typeof window&&window||
{},r="undefined"!=typeof navigator&&navigator||
{},o=r.userAgent,a=r.vendor,s=r.plugins,d=r.appVersion,l=n.opera,c=n.MSStream,u=(n.
devicePixelRatio,n.VN&&n.VN.debug&&n.VN.debug.userAgent||o||a||
l||""),h=/iPod/.test(u)&&!c,p=/iPhone/.test(u)&&!c,f=/iPad/.test(u)&&!c,g=h||p||
f,v=/android/i.test(u),b=/safari/i.test(u)&&/apple/i.test(a),m=/chrome/i.test(u),y=
/firefox|mozilla/i.test(u)&&(!a||!/google/i.test(a)),O=/(android|bb\d+|meego).
+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|
ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|
in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.
(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|
silk/i.test(u)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|
s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-
m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|
ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|
do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|
fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|
hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac(
|-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|
kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|
lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|
mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|
n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|
oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|
se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|
ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|
ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|
sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|
ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|
vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|
wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(u.substr(0,4)),A=void
0===s||0===s.length?!("undefined"==typeof ActiveXObject||!new
ActiveXObject("ShockwaveFlash.ShockwaveFlash")):s["Shockwave Flash"],w=function()
{if(!m)return!1;var t=d.match(/Chrome\/(\d+)\.(\d+)/i);return
t&&t.length&&2<t.length?parseFloat(t[1]+"."+t[2]):84}(),_=function(){if(!g)return!
1;if("string"!=typeof d)return!1;var t=d.match(/OS (\d+)_(\d+)_?(\d+)?/);return
t&&t.length&&2<t.length?parseFloat(t[1]+"."+t[2]):11}(),P=!O||
g&&10.2<_;n.document&&n.document.addEventListener("touchstart",function(){!
0}),n.document&&n.document.addEventListener("touchend",function(){!
1})},function(t,e,i){"use strict";function n(t,e){var i=this;if(h.call(this)){var
n=t.code,r=t.message,o=void
0===r?"":r,a=t.format,s=t.errorUrls,d=this.getControlUnionData("vnAdErrorsRules","i
nclude"),l=this.getControlUnionData("vnAdErrorsRules","exclude"),c=d&&Object.keys(d
).map(function(t){return parseInt(t,10)}),u=l&&Object.keys(l).map(function(t)
{return
parseInt(t,10)}),p=this.getControlUnionData("vnAdErrorsRules","availableUrlsPattern
"),f=function(t){return t&&(!p||new RegExp(p).test(t))&&(c?
0>c.indexOf(n)&&(t=null):u&&~u.indexOf(n)&&(t=null)),t?Object(m.d)
([t.replace("[ERRORCODE]",encodeURIComponent(n)).replace("[MESSAGE]",encodeURICompo
nent(o))],i.replaceMacros.bind(i)):Promise.resolve()},g=function(){return
e&&y.b.call(i)&&i.trigger("AdError",o,n)};n===O.a.FORMAT_ERROR&&a&&!
this._trackedErrorsFormats[a]&&(this._trackedErrorsFormats[a]=!0,g());var
v=function(t,e){var i=(t||{}).dataXml,n=Object(A.c)
(i),r=n&&n.length&&n[0].querySelectorAll(e);r&&Array.from(r).forEach(function(t)
{return f(Object(A.e)
(t))})};s&&s.length&&s.forEach(f),this.data.forEach(function(t)
{v(t,"InLine>Error"),v(t,"Wrapper>Error")}),g()}}function r(t){var e=this;if(!
h.call(this))return Promise.resolve();var i=p.call(this)&&n.bind(this);return
Promise.all(this.data.reduce(function(n,r){var o=r.dataXml;return
n.concat(Object(m.e)(o,t,e.replaceMacros.bind(e),i))},[]))}function o(t){var
e=this;return Promise.all(this.data.reduce(function(i,n){var
r,o=n.parameters;return(null===o||void 0===o||null===(r=o.Trackings)||void 0===r?
void 0:r[t])&&i.concat(o.Trackings[t].map(function(t){return
e.replaceMacros.call(e,t,o.uniqueId)}))||i},[]))}function a(t){var e=this;if(!
h.call(this))return Promise.resolve();var i=p.call(this)&&n.bind(this);return
Promise.all(this.data.reduce(function(n,r){var
o=r.parameters,a=o.Trackings,s=o.uniqueId;return a&&a[t]&&n.concat(Object(m.d)
(a[t],function(t){return e.replaceMacros.call(e,t,s)},i))||n},[]))}function s(t)
{return h.call(this)&&this.data.reduceRight(function(e,i){var n=i.parameters||
{},r=n.Trackings,o=n.uniqueId,a=r&&r[t];return e&&e.urls||!a?e:
{urls:a,uniqueId:o}},{})||null}function d(t,e,i){var r=this;if(void
0===e&&(e=null),void 0===i&&(i=!0),!h.call(this))return Promise.resolve();var
o=p.call(this)&&n.bind(this);return Promise.all(Object(m.d)(t,i&&function(t){return
r.replaceMacros.call(r,t,e)},o))}function l(t,e){return void
0===e&&(e=null),d.call(this,t,e,!0)}function c(t,e){return void
0===e&&(e=null),d.call(this,t,e,!1)}function u(){var
t=this.getAdDuration(),e=this.getAdRemainingTime(),i=(t-
e)/t,n=this.progressValue;this.progressTrackingEvents.forEach(function(e)
{e.offset;var r=void 0===e.timeValue?e.percentValue:e.timeValue/t;void 0!
==r&&i>=r&&(void 0===n||n<r)&&e&&Object(m.c)(e.url)}),this.progressValue=i}function
h(){return!this.getControlUnionData("vnShowViqeo")}function p(){var
t=(this.options||{}).checkTrackingResponse;return Object(w.t)(t)}function f(t){var
e=this;if(!h.call(this))return Promise.resolve(!1);this._trackPassed=!0;var i=t||
this._getLastParameters()||
{},n=i.Trackings,r=i.uniqueId,o=n&&n["vnCreative:passed"];return o?
(o.forEach(function(t){return e.logger.trace(" trackPassed()
url="+t)}),l.call(this,o,r)):Promise.resolve(!1)}function g(){var t=this;if(!
h.call(this))return Promise.resolve(!1);this._track2Passed=!0;var
e=[],i=function(i){var n=t._getLastData(i);if(!n)return"break";var
r=n.parameters;if(!r)return"continue";var o=r||
{},a=o.Trackings,s=o.uniqueId,d=a&&a["vnCreative:passed2"];d&&(d.forEach(function(e
){return t.logger.trace(" trackPassed2() url="+e+"
uniqueId="+s)}),e.push(l.call(t,d,s)))};t:for(var n,r=0;;r++)switch(n=i(r),n)
{case"break":break t;case"continue":continue}return Promise.all(e)}function
v(t,e,i){var n,r,o;if(e){var
a=this.getControlUnionData("vnMacros"),s=a&&a["[ASSETADPARAMS]"]||
this.getControlUnionData("vnMacros","[ASSETADPARAMS]"),d=a&&a["[ASSETURI]"]||
this.getControlUnionData("vnMacros","[ASSETURI]"),l=this._getLastDataXml(),c=this.f
ormat&&this.format.getModuleNode&&this.format.getModuleNode(),u=Object(_.o)
(c)&&c.outerHTML||"",h=this.getControlNode("iframe"),p=(null===h||void 0===h||
null===(n=h.contentWindow)||void 0===n||null===(r=n.document)||void 0===r||
null===(o=r.body)||void 0===o?void
0:o.outerHTML)||"",f=this.getControlNode("container"),g=f&&Array.from(f.querySelect
orAll("iframe")).map(function(t){try{return
t.contentWindow.document.body.outerHTML}catch(t){return
null}});this.replaceMacros(e,i).then(function(e){return Object(m.f)(e,
{method:"POST",requestHeaders:{"Content-
Type":"application/json"},body:JSON.stringify({id:t,log:P.b.archive.join("\n"),vast
:l&&(l.innerHTML||
l.documentElement.innerHTML),params:s,media:d,node:u,iframe:p,iframes:g&&g.length?
g.filter(function(t){return!!t}):[]})})})}}function b(){var
t=s.call(this,"vnCreative:impression")||{},e=t.urls,i=t.uniqueId,n=(e||[])[0];if(n)
{var r=this.getControlUnionData("vnMacros"),o=r&&r["[ASSETADPARAMS]"]||
this.getControlUnionData("vnMacros","[ASSETADPARAMS]"),a=r&&r["[ASSETURI]"]||
this.getControlUnionData("vnMacros","[ASSETURI]"),d=r&&r["[ASSETDURATION]"]||
this.getControlUnionData("vnMacros","[ASSETDURATION]"),l=this._getLastDataXml(),c=l
&&Object(A.d)(l,"VideoClicks >
ClickThrough","");this.replaceMacros(n,i).then(function(t){return Object(m.f)(t,
{method:"POST",requestHeaders:{"Content-
Type":"application/json"},body:JSON.stringify({params:o,duration:d,media:a,clickthr
ough:c})})})}}i.d(e,"h",function(){return n}),i.d(e,"g",function(){return
r}),i.d(e,"b",function(){return o}),i.d(e,"n",function(){return
a}),i.d(e,"c",function(){return s}),i.d(e,"l",function(){return
l}),i.d(e,"m",function(){return c}),i.d(e,"k",function(){return
u}),i.d(e,"d",function(){return h}),i.d(e,"a",function(){return
p}),i.d(e,"i",function(){return f}),i.d(e,"j",function(){return
g}),i.d(e,"e",function(){return v}),i.d(e,"f",function(){return b});var
m=i(9),y=i(5),O=i(6),A=i(3),w=i(1),_=i(0),P=i(2)},function(t,e,i){"use
strict";i.d(e,"a",function(){return a}),i.d(e,"b",function(){return
s}),i.d(e,"f",function(){return d}),i.d(e,"c",function(){return
l}),i.d(e,"e",function(){return c}),i.d(e,"d",function(){return u});i(2);var
n=i(4),r=i(3),o=i(7),a=function(t,e){return void 0===e&&(e=window.document),new
Promise(function(i,n){if(!t)throw new Error("requests.loadScript("+t+", "+e+")
Invalid url");var r=e.getElementsByTagName("head")
[0],o=e.createElement("script");o.src=t,o.type="text/javascript",o.addEventListener
("load",i),o.addEventListener("error",n),r.appendChild(o)})},s=function(t,e)
{if(void 0===e&&(e=!1),t)if(o.g||e){var
i=document.createElement("a");i.setAttribute("href",t),i.setAttribute("target","_bl
ank");var n=document.createEvent("MouseEvents");n.initEvent("click",!0,!
0),i.dispatchEvent(n)}else window.open(t,"_blank")},d=function(t,e){return void
0===e&&(e={}),new Promise(function(i,r){if(!t)throw new Error("Invalid url
("+t+")");var o=e,a=o.overrideMimeType,s=o.options,d=o.body,l=o.timeout,c=void
0===l?5e3:l,u=o.requestHeaders,h=void 0===u?{}:u,p=o.method,f=void
0===p?"GET":p,g=o.withCredentials,v=new
XMLHttpRequest;v.addEventListener("load",i),v.addEventListener("error",r),v.addEven
tListener("timeout",r),v.withCredentials=void 0===g||
g,a&&v.overrideMimeType(a),s&&Object(n.g)(v,s),v.open(f,t,!
0),v.timeout=c,h&&Object.getOwnPropertyNames(h).forEach(function(t)
{v.setRequestHeader(t,h[t])}),v.send(d)})},l=function(t){return new
Promise(function(e){var i=t.startsWith("data:")?"":(~t.indexOf("?")?"#":"?vn=")
+Math.random().toString(10).substring(2,5),n=document.createElement("img");n.onload
=e,n.onerror=function(){e()},n.src=""+t+i})},c=function(t,e,i,n){void
0===i&&(i=function(t){return Promise.resolve(t)});var o=e?t.querySelectorAll(e):
[t];return Array.from(o).map(function(t){return i(Object(r.e)(t)).then(function(t)
{return l(t,n)})})},u=function(t,e,i){return t&&t.map(function(t){return(e||
function(t){return Promise.resolve(t)})(t).then(function(t){return
l(t,i)})})}},function(t,e,i){"use strict";function n(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",function(){return
u}),i.d(e,"c",function(){return p}),i.d(e,"e",function(){return
f}),i.d(e,"b",function(){return g}),i.d(e,"d",function(){return v});var
a=i(14),s=i(3),d=i(2),l=i(1),c="Vpaid",u=function(t){function e(e){var i;void
0===e&&(e={});var n=e&&e.ancestor&&e.ancestor+":"+c||"Module::"+c,o=e&&(e.logger||
e.moduleAPI&&e.moduleAPI.logger)||d.b;return(i=t.call(this,r({},e,
{ancestor:n,logger:o}))||this)[c]=n,i.options=e,i.logger=o,i.adLinear=!
0,i.adWidth=0,i.adHeight=0,i.adExpanded=!1,i.adSkippableState=!
0,i.adRemainingTime=0,i.adDuration=0,i.adVolume=1,i.adCompanions="",i.adIcons=!
1,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var
i=e.prototype;return i.getAdLinear=function(){return
this.adLinear},i.getAdWidth=function(){return
this.adWidth},i.getAdHeight=function(){return
this.adHeight},i.getAdAspectRatio=function(){var
t=this.getAdWidth(),e=this.getAdHeight();return isNaN(t)||isNaN(e)||0===t?
9/16:e/t},i.getAdExpanded=function(){return
this.adExpanded},i.getAdSkippableState=function(){return
this.adSkippableState},i.getAdRemainingTime=function(){return
this.adRemainingTime},i.getAdDuration=function(){return
this.adDuration},i.getAdElapsedTime=function(){var
t=this.getAdDuration(),e=this.getAdRemainingTime();return t===1/0||e===1/0?0:t-
e},i.getAdVolume=function(){return this.adVolume},i.getAdCompanions=function()
{return this.adCompanions},i.getAdIcons=function(){return
this.adIcons},i.handshakeVersion=function()
{return"2.0"},i.initAd=function(t,e,i,n,o,a){return void 0===o&&(o={}),void
0===a&&(a={}),this.adLinear=!0,this.adWidth=t,this.adHeight=e,this.adExpanded=!
1,this.adSkippableState=!
0,this.adRemainingTime=0,this.adDuration=0,this.adVolume=this.adVolume||
0,this.adCompanions="",this.adIcons=!
1,this.viewMode=i,this.desiredBitrate=n,this.creativeData=o,this.environmentVars=a,
this.useExistsVideoSlot=a.useExistsVideoSlot,this.options=r({},this.options,
{},a.options),Promise.resolve()},i.resizeAd=function(t,e,i){void
0===i&&(i=this.viewMode),this.adWidth=t,this.adHeight=e,this.viewMode=i,this.trigge
r("AdSizeChange")},i.startAd=function()
{this.trigger("AdStarted")},i.stopAd=function()
{this.trigger("AdStopped")},i.pauseAd=function()
{this.trigger("AdPaused")},i.resumeAd=function()
{this.trigger("AdResumed"),this.trigger("AdPlaying")},i.expandAd=function()
{this.setAdExpanded(!0)},i.collapseAd=function(){this.setAdExpanded(!
1)},i.skipAd=function(){this.trigger("AdSkipped")},i.setAdExpanded=function(t)
{this.adExpanded!
==t&&(this.adExpanded=t,this.trigger("AdExpandedChange"))},i.setAdSkippableState=fu
nction(t){return this.adSkippableState!
==t&&(this.adSkippableState=t,this.trigger("AdSkippableStateChange"),!
0)},i.setAdVolume=function(t,e){var i=this;return void 0===e&&(e={}),this.adVolume!
==t?(this.adVolume=t,setTimeout(function(){return
i.trigger("AdVolumeChange")},1),t):
(e.forceTrigger&&this.trigger("AdVolumeChange"),null)},i._destroy=function()
{t.prototype._destroy.call(this),this.trigger("AdDestroyed"),this.creativeData=null
,this.environmentVars=null,this.options=null},e.create=function(){throw new
Error("Abstract method call Vpaid.create()")},i.getMediaInfo=function(){return
Promise.resolve(this.media||{})},i.getDebugInfo=function(){return
Promise.resolve({options:this.options})},i.getAdIframes=function(){return
Promise.resolve(null)},i.toString=function(){return c},e}(a.a),h="InLine >
Creatives > Creative > Linear > MediaFiles",p=function(t,e,i){void 0===i&&(i=!
1);var n=t&&t.querySelectorAll(h+' > MediaFile[type="'+e+'"]');if(!n||!
n.length)return null;var r=Array.from(i?n:[n[0]]).map(function(t)
{return{src:Object(s.e)(t),width:+t.getAttribute("width")||0,height:
+t.getAttribute("height")||0,bitrate:+t.getAttribute("bitrate")||0,scalable:void
0==t.getAttribute("scalable")||Object(l.t)
(t.getAttribute("scalable")),maintainAspectRatio:null===t.getAttribute("maintainAsp
ectRatio")?
t.getAttribute("maintainAspectRatio"):"true"===t.getAttribute("maintainAspectRatio"
),delivery:t.getAttribute("delivery"),type:e}});return i?r:r[0]},f=function(t){var
e=t&&t.querySelectorAll(h+" > MediaFile");return!e||!e.length},g=function(t){return
t&&Object(s.e)(t,"InLine>Creatives>Creative>Linear>Duration")},v=function(t){return
t&&["handshakeVersion","initAd","startAd","stopAd","skipAd","resizeAd","pauseAd","r
esumeAd","expandAd","collapseAd"].every(function(e){return"function"==typeof
t[e]})}},function(t,e,i){"use strict";function n(t,e){var i;return void
0===e&&(e=c),[].concat(e).some(function(t){try{var e=t.getItem(l);return
i=JSON.parse(e)}catch(e){i=null}}),(i||{})[t]}function r(t,e,i){var n,r;void
0===i&&(i=c),(i=[].concat(i)).some(function(t){try{var e=t.getItem(l);if(e)return
r=t,n=JSON.parse(e)}catch(e){n=null}}),n||(n={}),(n[t]=""+e)&&n[t].length||delete
n[t],(r||i[0]).setItem(l,JSON.stringify(n))}i.d(e,"b",function(){return
n}),i.d(e,"d",function(){return r}),i.d(e,"a",function(){return
h}),i.d(e,"c",function(){return p});var o,a,s,d,l="videonow-
config";try{o=localStorage,a=sessionStorage}catch(e){a=o={getItem:function()
{return""},setItem:function()
{return""}}}try{s=top.localStorage,d=top.sessionStorage}catch(e){d=s=null}var c=(s?
[s]:[]).concat(o),u=(d?[d]:[]).concat(a),h=function(t){return
n(t,u)},p=function(t,e){return r(t,e,u)}},function(t,e,i){"use
strict";i.d(e,"a",function(){return a});var n=i(14),r=i(2),o=i(0),a=function(t)
{function e(e,i,n){var o;void 0===n&&(n=!1);var a="::Control["+e+"]
",s=i&&i.getAPI&&i.getAPI().logger||r.b;(o=t.call(this,{ancestor:a,logger:s})||
this).name=e,o.module=i,o.moduleId=a;var
d=i.getControlUnionData(e);if(null===d)throw new Error(a+" disabled");if(n&&void
0===d)throw new Error(a+" is not available");return
i._addDestroyableObject(function(t){if(void 0===t)throw new ReferenceError("this
hasn't been initialised - super() hasn't been called");return t}(o)),o}!
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._destroy=function(){this.moduleId;var
e=this.node;t.prototype._destroy.call(this),e&&Object(o.s)(e)},i.getName=function()
{return this.name},e}(n.a)},function(t,e,i){"use strict";function n(){return
Object(s.h)(this.getControlNode("wrapper"))}function r(t){var
e=this._savedAdParams;return e&&e[t]}function o(t,e){return this._savedAdParams||
(this._savedAdParams={}),this._savedAdParams[t]=e,e}function a(){return!
this._videoSlotRemoved&&this.getControlNode("videoSlot")}i.d(e,"a",function()
{return n}),i.d(e,"b",function(){return r}),i.d(e,"d",function(){return
o}),i.d(e,"c",function(){return a});var s=i(1)},function(t,e,i){"use
strict";i.d(e,"a",function(){return c});var
n=i(21),r=i(0),o=i(11),a=i(2),s=i(1),d="Managed",l=d,c=function(t){function e(e)
{var i;void 0===e&&(e={});var n=Object(s.t)(Object(o.b)
("managed.trace")),r=e&&e.ancestor&&e.ancestor+":"+d||d,c=e&&(e.logger||
e.moduleAPI&&e.moduleAPI.logger)||a.b;return n&&c.trace(r+".constrictor()"),
(i=t.call(this)||
this).logger=c,i[l]=r,i.traceLogEnabled=n,i._vpaidEventListeners=[],i._domEventList
eners=[],i._patchedMethods=[],i._domNodes=[],i._timeouts=[],i._destroyableObjects=[
],i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._addDOMNode=function(t,e){return void
0===e&&(e=0),this._domNodes.push({node:t,removeDelay:e}),t},i._removeDOMNode=functi
on(t){Object(r.s)(t),this._domNodes=this._domNodes.filter(function(e){return e!
==t})},i._addDOMEventListener=function(t,e,i,n){return
this.traceLogEnabled&&this.logger.trace(this[l]
+".addDOMEventListener("+e+")"),this._domEventListeners.push({node:t,name:e,listene
r:i}),t.addEventListener(e,i,n),i},i._removeDOMEventListener=function(t,e,i)
{this.traceLogEnabled&&this.logger.trace(this[l]
+".removeDOMEventListener("+e+")"),this._domEventListeners=this._domEventListeners.
filter(function(n){return n.node!==t||n.name!==e||n.listener!==i||
(t.removeEventListener(e,i),!1)})},i._addVPAIDEventListener=function(t,e,i){return
this.traceLogEnabled&&this.logger.trace(this[l]
+".addVPAIDEventListener("+e+")"),this._vpaidEventListeners.push({vpaid:t,name:e,li
stener:i}),t.subscribe(i,e),i},i._removeVPAIDEventListener=function(t,e,i)
{this.traceLogEnabled&&this.logger.trace(this[l]
+".removeVPAIDEventListener("+e+")"),this._vpaidEventListeners=this._vpaidEventList
eners.filter(function(n){return n.vpaid!==t||n.name!==e||n.listener!==i||
(t.unsubscribe(i,e),!1)})},i._patchMethod=function(t,e,i)
{this.traceLogEnabled&&this.logger.trace(this[l]+".patchMethod("+e+")");var
n=t[e];return
i._originalHandler=n,t[e]=i,this._patchedMethods.push({object:t,method:e}),n.bind(t
)},i._restoreMethod=function(t,e){this.traceLogEnabled&&this.logger.trace(this[l]
+".restoreMethod("+e+")"),this._patchedMethods=this._patchedMethods.filter(function
(i){return i.object!==t||i.method!==e||(t[e]=t[e]._originalHandler,!
1)})},i._removeEventListeners=function(){var
t=this;this.traceLogEnabled&&this.logger.trace(this[l]
+"._removeEventListeners");var
e=this._vpaidEventListeners,i=this._domEventListeners;e.length&&(this.traceLogEnabl
ed&&this.logger.trace(this[l]+".destroy() Removing VPAID event listeners
("+e.length+")"),e.forEach(function(e){var
i=e.vpaid,n=e.name,r=e.listener;t._removeVPAIDEventListener(i,n,r)})),i.length&&(th
is.traceLogEnabled&&this.logger.trace(this[l]+".destroy() Removing DOM event
listeners ("+i.length+")"),i.forEach(function(e){var
i=e.node,n=e.name,r=e.listener;t._removeDOMEventListener(i,n,r)}))},i._destroy=func
tion(){var t=this;this.traceLogEnabled&&this.logger.trace(this[l]
+"._destroy()");var
e=this._patchedMethods,i=this._domNodes,n=this._timeouts,o=this._destroyableObjects
;if(this._removeEventListeners(),e.length&&(this.traceLogEnabled&&this.logger.trace
(this[l]+".destroy() Restoring patched methods
("+e.length+")"),e.forEach(function(e){var
i=e.object,n=e.method;t._restoreMethod(i,n)})),i.length&&(this.traceLogEnabled&&thi
s.logger.trace(this[l]+".destroy() Removing DOM elements
("+i.length+")"),i.forEach(function(e){var i=e||{},n=i.node,o=i.removeDelay;0<o?
(t.traceLogEnabled&&t.logger.trace(t[l]+".destroy() Removing DOM element {"+n+")
after "+o+" ms"),setTimeout(function(){t.traceLogEnabled&&t.logger.trace(t[l]
+".destroy() timeout "+o+" ms is finished. Removing DOM element
{"+n+")"),Object(r.s)(n)},o)):Object(r.s)
(n)})),n.length&&(this.traceLogEnabled&&this.logger.trace(this[l]+".destroy()
Removing timeouts ("+n.length+")"),n.forEach(function(e)
{t._removeTimeout(e.name)})),o.length){var
a=this._delayRemovingControls;this.traceLogEnabled&&this.logger.trace(this[l]
+".destroy() Removing destroyableObjects ("+o.length+")"),o.forEach(function(e){var
i=e.getName&&e.getName(),n=(i&&a&&a[i]||{}).delay;n&&0<n?
(t.traceLogEnabled&&t.logger.trace(t[l]+".destroy() Removing destroyableObject
("+i+") with delay "+n+" ms"),setTimeout(function()
{t._removeDestroyableObject(e),t.traceLogEnabled&&t.logger.trace(t[l]+".destroy()
Removed destroyableObject ("+i+") after delay "+n+"
ms")},n)):t._removeDestroyableObject(e)})}},i._addTimeout=function(t,e,i)
{this._removeTimeout(t);var n=setTimeout(e,i);return
this._timeouts.push({name:t,timeoutId:n}),e},i._removeTimeout=function(t)
{this._timeouts=this._timeouts.filter(function(e){return e.name!==t||
(clearTimeout(e.timeoutId),!1)})},i._addDestroyableObject=function(t)
{t&&t._destroy&&this._destroyableObjects.push(t)},i._removeDestroyableObject=functi
on(t){this._destroyableObjects=this._destroyableObjects.filter(function(e){var
i=e===t;return i&&e&&e._destroy&&e._destroy(),!i})},e}(n.a)},function(t,e,i){"use
strict";i.d(e,"b",function(){return n}),i.d(e,"a",function(){return
r}),i.d(e,"c",function(){return o}),i.d(e,"e",function(){return
a}),i.d(e,"d",function(){return s});var
n="ModuleGlobalRemainingTimeChangeTimeId",r=500,o="ModuleStartAdTimerId",a="vpaidIn
itAdTimeoutId",s="AdStoppedWaitAdVideoCompleteTimerId"},function(t,e,i){"use
strict";function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function a(t){function e()
{n&&window.removeEventListener("onViqeoLoad",n);try{var
e=r({},t);e.parent=Object(b.o)
(e.parent)&&e.parent.tagName+"."+e.parent.className||""}catch(e)
{}window.VIQEO.createPlayer(t,t.parent).catch(function(){})}var
i=this,n=null,o=t.starterUrl,a=(this.options||{}).viqeoStarterUrl;Object(y.a)(o||
a).then(function(){window.VIQEO?e.call(i):
(window.onViqeoLoad=e.bind(i),window.addEventListener("onViqeoLoad",n=e.bind(i)))})
}function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function d(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?s(Object(e),!0).forEach(function(i)
{l(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function l(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function c(t,e){e.subscribe(function(){var
t=this;if(this.globalTimeoutProvider&&this.globalTimeoutProvider.pause(),!
A.c.call(this,["destroying","destroyed"]))
{A.d.call(this,"loaded"),this._adHasBeenLoaded=!
0,this._adVideoFirstQuartileWasHappened=!1,this._adVideoMidpointWasHappened=!
1,this._adVideoThirdQuartileWasHappened=!1,this._vpaidStartAdWasInvoked=!1;var
e=this.lastPendingCommands.resizeAd;e&&(e(),delete
this.lastPendingCommands.resizeAd),f.call(this,"AdLoaded");var
i=this.getControlUnionData("videobackground","css");if(!Object(v.q)(i)){var
n=_.c.call(this);n&&Object(b.b)(n,i)}var r=this.options,o=this.format,s=(r||
{}).viqeoParentSlotClassName,l=this.vnShowViqeo=this.getControlUnionData("vnShowViq
eo");if(!l||
s&&document.getElementsByClassName(s).length)this.startAdShouldBeInvoked&&(this.sta
rtAdShouldBeInvoked=!1,this.startAd());else{var
c=this.getControlNode("slot"),u=o&&o.toString().slice(7,-
1),h="instream"===u.toLowerCase(),p=h?
c.insertAdjacentElement("afterbegin",document.createElement("div")):Object(b.n)
(c&&c.parentElement||c,"div",{});p.className=s+" vn-
module__"+this.mainModuleId,Object(b.b)(p,
{position:"relative",textAlign:"center"}),h&&Object(b.b)(p,
{position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:1});var
g=this.data.map(function(t){return
t.parameters}),m={},y="vn_module_"+this.mainModuleId,O=JSON.stringify(g);try{sessio
nStorage.setItem(y,O),m.key=y}catch(e)
{}if(m.parameters=g,m.disableExtensions=["vnShowViqeo"],a.call(this,d({},l.options,
{parent:p},
{vnData:JSON.stringify(m)})),this.state="destroyed",this._useExistsVideoSlot)this._
restoreVideoSlotParams();else{var w=_.c.call(this);w&&Object(b.b)(w,
{display:"none"})}var P=this.destroyControls();P&&P.length&&P.forEach(function(e)
{t.getControlNode(e)&&t.setControlData(e,{node:null})}),!
this.environmentVars.slot&&c&&Object(b.b)(c,
{display:"none"}),this._destroyIframe(),setTimeout(function()
{t.trigger("AdStarted")},1)}}}.bind(t),"AdLoaded"),e.subscribe(function()
{if(this.globalTimeoutProvider&&this.globalTimeoutProvider.stop(),this._lastExterna
lSEQ&&!A.c.call(this,"starting")){var t=" @AdStarted inappropriate
state="+this.state+". Should be 'starting'";w.h.call(this,
{code:1042,message:t})}if(!A.c.call(this,
["stopping","stopped","destroying","destroyed"])){if(this._adStarted=!
0,this.trigger("AdStarted"),A.d.call(this,"started"),w.n.call(this,"creativeView"),
this.data.some(function(t){var e=t.parameters;return e.ClickThrough})){var
e=this.getControlNode("vpaidSlot");e&&Object(b.b)(e,{cursor:"pointer"})}(function
t(){var e=this;this._addTimeout(O.b,function(){(function(){var
t=this.getAdRemainingTime();if(this.adRemainingTime!==t){var
e=this.vpaid;this.adRemainingTime=t,e&&e.trigger("AdRemainingTimeChange")}return!
0}).call(e)&&t.call(e)},O.a)}).call(this)}}.bind(t),"AdStarted"),e.subscribe(u.bind
(t),"AdStopped"),e.subscribe(h.bind(t),"AdSkipped"),e.subscribe(function(){var
t=this.vpaid;t&&this.setAdSkippableState(t.getAdSkippableState())}.bind(t),"AdSkipp
ableStateChange"),e.subscribe(function(){var t=this.vpaid;if(t){var
e=t.getAdWidth(),i=t.getAdHeight(),n=this.adWidth,r=this.adHeight,o=this.viewMode;e
=e&&e<=n?e:n,i=i&&i<=r?i:r,e<=n&&i<=r&&(e<n||i<r)&&this.resizeAd(e,i,o,!
1)}}.bind(t),"AdSizeChange"),e.subscribe(function()
{this.vpaid.getAdLinear()}.bind(t),"AdLinearChange"),e.subscribe(function()
{}.bind(t),"AdDurationChange"),e.subscribe(function()
{this.adExpanded=this.vpaid.getAdExpanded()}.bind(t),"AdExpandedChange"),e.subscrib
e(function(){this.adRemainingTime=this.getAdRemainingTime()||
0,this.adDuration=this.getAdDuration()||
0}.bind(t),"AdRemainingTimeChange"),e.subscribe(function(){var t=this.vpaid;if(t)
{var e=t.getAdVolume();(0===e||1===e?this.logger.log:this.logger.trace)("
@AdVolumeChange adVolume="+e.toFixed(2),2),this.adVolume.toFixed(2)!
==(100*e).toFixed(2)&&(A.c.call(this,"playing")&&(0<this.adVolume&&0===e&&w.n.call(
this,"mute"),0===this.adVolume&&0<e&&w.n.call(this,"unmute")),this.adVolume=e)}}.bi
nd(t),"AdVolumeChange"),e.subscribe(function(t){function e()
{this.trigger("AdImpression"),f.call(this,"AdImpression"),w.n.call(this,"Impression
"),w.f.call(this)}var i=(t||{}).vnExternalSEQ;return this._adImpressionHappened||!
A.c.call(this,["starting","started","playing"])?void(i&&(this._lastExternalSEQ!
==i&&this._manualAdditionalSEQ++,this._lastExternalSEQ=i,e.call(this))):
(this._adImpressionHappened=!0,void
e.call(this))}.bind(t),"AdImpression"),e.subscribe(function(t){function e()
{A.d.call(this,"playing"),this.trigger("AdVideoStart"),f.call(this,"AdVideoStart"),
w.n.call(this,"start").then();var
t=this.getAdDuration(),e=this.progressControlWasHidden;!e&&(0>=t||t===1/0)?
(this.hideControl("progress"),this.progressControlWasHidden=!
0):e&&0<t&&(this.restoreControl("progress"),this.progressControlWasHidden=!1)}var
i=(t||{}).vnExternalSEQ;return this._adVideoWasStarted||!A.c.call(this,"started")?
void(i&&(this._lastExternalSEQ!==i&&this._manualAdditionalSEQ+
+,this._lastExternalSEQ=i,e.call(this))):(this._adVideoWasStarted=!
0,this._AdVideoStartWasHappenedAtLeastOnce=!0,void
e.call(this))}.bind(t),"AdVideoStart"),e.subscribe(function()
{this._adVideoFirstQuartileWasHappened=!
0,f.call(this,"AdVideoFirstQuartile"),w.n.call(this,"firstQuartile")}.bind(t),"AdVi
deoFirstQuartile"),e.subscribe(function(){this._adVideoMidpointWasHappened=!
0,f.call(this,"AdVideoMidpoint"),w.n.call(this,"midpoint")}.bind(t),"AdVideoMidpoin
t"),e.subscribe(function(){this._adVideoThirdQuartileWasHappened=!
0,f.call(this,"AdVideoThirdQuartile"),w.n.call(this,"thirdQuartile")}.bind(t),"AdVi
deoThirdQuartile"),e.subscribe(function(t){var e=this;void 0===t&&(t={}),t||
(t={});var i=this.state;if(!A.c.call(this,
["complete","completing","destroy","destroying","stopping","stopped"]))
{this._adVideoCompletedWasCalled=!
0,A.d.call(this,"completing"),f.call(this,"AdVideoComplete");var
n=this._adStarted,r=this._adImpressionHappened,o=this._adVideoWasStarted,a=this._vp
aidStartAdInvokesTime,s=this._vpaidStartAdWasInvoked,d=this._adVideoFirstQuartileWa
sHappened,l=this._adVideoMidpointWasHappened,c=this._adVideoThirdQuartileWasHappene
d,u=Date.now()-a;if(!r&&n&&w.h.call(this,
{code:m.a.AD_IMPRESSION_NOT_HAPPENED_ERROR,message:"Get @AdVideoComplete but not
get @AdImpression state="+i}),!n){var h="Get @AdVideoComplete but not get
@AdStarted. state="+i,p=this.vpaid,g=(p||{})._countdown,v=g||
{},b=v._duration,y=v._elapsedTime,O=v.adRemainingTime,_=(new
Error).stack||"";return(p&&p.getDebugInfo?
p.getDebugInfo():Promise.resolve({})).then(function(t){var i=JSON.stringify(t||
{},function(t,e){return!["moduleAPI","logger","module"].includes(t)&&e||void
0}),n=h+" _adVideoWasStarted="+o+" _vpaidStartAdWasInvoked=["+s+":"+u+"]
_adVideoFirstQuartileWasHappened="+d+" _adVideoMidpointWasHappened="+l+"
_adVideoThirdQuartileWasHappened="+c+" media="+e._media+"\nstack="+_+"
vpaidInfo="+i+"\n_countdown="+g+"
adRemainingTime="+O+" _duration="+b+"
_elapsedTime="+y,r=m.a.AD_STARTED_NOT_HAPPENED_ERROR;w.h.call(e,
{code:r,message:n})}),this.trigger("vnVpaidAdError",h),void
this._failedData({shouldDestroyVpaid:!0})}var P=!1!
==t.shouldDestroy,S=this._completeWasTracked,j=this.format,E=this.vnAfterplay,C=w.b
.call(this,"complete");E&&E._incSuccessfulPlays(),E&&(E.shouldShowStub()||
E.shouldContinue())||!j||!j.hide||j.hide(),(S&&Promise.resolve()||
C.then(function(t){return w.m.call(e,t)})).then(function()
{if(e._completeWasTracked=!
0,e.trigger("AdVideoComplete"),A.c.call(e,"stopped")&&P)e._destroy();else
if(E&&E.shouldContinue())e._failedData({logMessage:" @AdVideoComplete() played
"+E._getTotalSuccessfulPlays()+" ads from "+E._getContinueNumber()+". Trying play
next ad.",shouldResetPlugins:!0,shouldDestroyVpaid:!0});else if(!E||!
E.shouldShowStub()){if(j&&j.hide&&j.hide(),e._adStoppedWasCalled)return
void(A.c.call(e,["destroyed","destroying","stopped"])||e._destroy());var
t=e.options||{},i=t.beforeStopAdTimeout,n="AdStopped",r=function t()
{e.unsubscribe(t,n),e._removeTimeout("beforeAdStoppedTimeout"),A.c.call(e,"stopped"
)&&P&&e._destroy()};e._addTimeout("beforeStopAdTimeout",function()
{e.unsubscribe(r,n),A.c.call(e,"stopped")&&P&&e._destroy(),A.c.call(e,"stopping")&&
P&&e.subscribeOnce(function(){return
e._destroy()},"AdStopped")},i),e.subscribe(r,n),e.stopAd()}})}}.bind(t),"AdVideoCom
plete"),e.subscribe(function(){w.n.call(this,"complete"),this._completeWasTracked=!
0}.bind(t),"AdVideoCompleteTrackOnly"),e.subscribe(function(t,e,i)
{w.n.call(this,"ClickTracking");var
n=this.getControlUnionData("videoclick","action");return!A.c.call(this,
["paused","paused"])||this.pauseWasStartedByVPAID||
this.pausedWasStartedByVisibilityChange?
(A.c.call(this,"playing")&&this.pauseAd(),i&&(t?Object(y.b)
(t):this.data.forEach(function(t){var e=t.parameters;return Object(y.b)
(e.ClickThrough)})),this.trigger("AdClickThru",t,e,!
1),void("close"===n&&this.skipAd())):void
this.resumeAd()}.bind(t),"AdClickThru"),e.subscribe(function()
{}.bind(t),"AdInteraction"),e.subscribe(function()
{}.bind(t),"AdUserAcceptInvitation"),e.subscribe(function()
{}.bind(t),"AdUserMinimize"),e.subscribe(function()
{this.getAdSkippableState()&&(this.trigger("AdSkipped"),f.call(this,"AdSkipped"),th
is._destroy())}.bind(t),"AdUserClose"),e.subscribe(function(){!A.a.call(this)||
A.c.call(this,"afterplay")||(this.pauseWasStartedByVPAID=!
A.c.call(this,"pausing"),A.d.call(this,"paused"),w.n.call(this,"pause"),f.call(this
,"AdPaused"))}.bind(t),"AdPaused"),e.subscribe(function(){!A.a.call(this)||
A.c.call(this,"afterplay")||
(f.call(this,"AdPlaying"),A.c.call(this,"resuming")&&(A.d.call(this,"playing"),w.n.
call(this,"resume")))}.bind(t),"AdPlaying"),e.subscribe(function(t)
{this.trigger("AdLog",t)}.bind(t),"AdLog"),e.subscribe(function(t,e){void
0===e&&(e=""),t||(t="");var i=+e;(!i||100>i||901<i)&&(i=901),w.h.call(this,
{code:i,message:t}),this.trigger("vnVpaidAdError",t,e),this._failedData({shouldDest
royVpaid:!0})}.bind(t),"AdError"),e.subscribe(function(){var
t=this.vpaid.getAdWidth(),e=this.vpaid.getAdHeight();if(t!==this.getAdWidth()||e!
==this.getAdHeight()){var i=this.format;null===i||void 0===i||
i.setAdSizeForceChange(t,e),this.resizeAd(t,e)}}.bind(t),"AdSizeForceChange"),e.sub
scribe(function(){this._videoSlotRemoved=!
0}.bind(t),"vn_VideoSlotRemoved")}function u(){function t(){if(!
A.c.call(this,"destroying","destroyed","stopped","stopping")){var
t=this.vnAfterplay;t&&t.shouldContinue()||t&&t.shouldShowStub()||
(A.d.call(this,"stopped"),!
this._useExistsVideoSlot&&this.setControlData("videoSlot",
{node:null}),f.call(this,"AdStopped"),p.call(this),!
this._adStoppedTriggered&&(this._adStoppedTriggered=!
0,this.trigger("AdStopped")),this._destroy())}}var
e=this,i=this.vnAfterplay;if(this._adStoppedWasCalled=!
0,A.a.call(this))if(A.c.call(this,"completing")){var n=(this.options||
{beforeStopAdTimeout:200}).beforeStopAdTimeout,r=this.subscribeOnce(t.bind(this),"A
dVideoComplete");this._adVideoCompletedWasCalled?
(this.unsubscribe(r,"AdVideoComplete"),t.call(this)):this._addTimeout(O.d,function(
){e.unsubscribe(r,"AdVideoComplete"),t.call(e)},n)}else
i&&A.c.call(this,"afterplay")||t.call(this);else this._adStoppedTriggered||
(this._adStoppedTriggered=!0,this.trigger("AdStopped"))}function h(){var
t=this;w.n.call(this,"skip"),f.call(this,"AdSkipped"),this.trigger("AdSkipped");var
e=this.vnAfterplay,i=this._useExistsVideoSlot,n=this.format;if(!i){var
r=this.getControlNode("vpaidSlot");r&&(r.innerHTML="");var
o=_.c.call(this);o&&o.pause&&o.pause()}if(e&&(e.shouldShowStub()||
e.shouldContinue())||!n||!n.hide||n.hide(),!e||!e.shouldShowStub()||
e.shouldContinue()){p.call(this);var a=(this.options||
{}).triggerAdStoppedAfterAdSkipped,s=n&&n.toString().slice(7,-1);
(a||"InStream"===s)&&!this._adStoppedTriggered&&(this._adStoppedTriggered=!
0,setTimeout(function(){return t.trigger("AdStopped")},1)),i||
this.setControlData("videoSlot",
{node:null}),w.n.call(this,"close"),this._destroy()}}function p(t){var
e=this.vpaid;e&&P.forEach(function(i){return(!t||!
t.includes(i))&&e.unsubscribeType(i)})}function f(t){window!
==window.top&&parent.postMessage(t,"*")}function g(){var
t=this,e=["startAd","stopAd","pauseAd","resumeAd","skipAd"];this._messagesListener|
|window!
==window.top&&(this._messagesListener=this._addDOMEventListener(window,"message",fu
nction(i){var n=i.data;e.filter(function(t){return t===n}).forEach(function(e)
{t[e].call(t)})}))}var
v=i(1),b=i(0),m=i(6),y=i(9),O=i(15),A=i(5),w=i(8),_=i(13);i.d(e,"f",function()
{return c}),i.d(e,"d",function(){return u}),i.d(e,"c",function(){return
h}),i.d(e,"g",function(){return p}),i.d(e,"a",function(){return
P}),i.d(e,"e",function(){return f}),i.d(e,"b",function(){return g});var
P=["AdLoaded","AdSkippableStateChange","AdSizeChange","AdLinearChange","AdDurationC
hange","AdExpandedChange","AdRemainingTimeChange","AdVolumeChange","AdVideoFirstQua
rtile","AdVideoMidpoint","AdVideoThirdQuartile","AdInteraction","AdUserAcceptInvita
tion","AdUserMinimize","AdUserClose","AdPaused","AdResumed","AdPlaying","AdAudioDis
abled","AdAudioEnabled","AdLoadedVideoData","slotSizeChanged","vn_hideOverlayFormat
Wrapper","vn_setOverlayZIndex","vn_FormatChanged","vn_VideoSlotRemoved","vn_VPAIDCr
eated"]},function(t,e,i){"use strict";function n(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function a(t){void
0===t&&(t={}),this.savedOptions||
(this.savedOptions=r({},this.options)),this.options=r({},this.savedOptions,
{},t),d.call(this)}function s(t){var
e=this;t.format&&(this.format&&this.format.updateOptions&&this.format.updateOptions
(t.format),delete t.format),this.options=r({},this.options,{},t);var
i=this.options,n=i.controlsActions,o=i.destroyControls;o&&o.forEach(function(t)
{return t&&e.destroyControl(t)}),n&&n.forEach(function(t){var
i=t.name,n=t.action,r=e.getControlNode(i);r&&n&&n(r,e)});var a=(t||
{}).forceStartingVolume;if(void 0!==a)this.setAdVolume(a);else
if("startingVolume"in t){var s=t.startingVolume;(0===s||s)&&s!
==this.adVolume&&this.setAdVolume(s)}d.call(this)}function d(){var
t=this.options,e=t||{},i=e.maxAds,n=e.forceStartingVolume,r=(t||
{}).startingVolume,o=!1!
==this.options.isInsideTextContent;this.options.disableHoverAudio=void
0===this.options.disableHoverAudio?
o:this.options.disableHoverAudio,this.options.triggerAdStoppedAfterAdSkipped=Object
(c.t)
(this.options.triggerAdStoppedAfterAdSkipped),this.options.canExecuteNoAd=Object(c.
t)(this.options.canExecuteNoAd),r=this.options.startingVolume=void 0===n?void
0===r?o?0:1:r:n;try{JSON.stringify(this.options,function(t,e){return"logger"===t?
void 0:e})}catch(e)
{}this._adsLeft=i,this.adVolume=r,this.options.listenWindowMessages&&!
this._messagesListener&&u.b.call(this)}function l(){var t=Object(h.h)(Object(c.i)
(window,document))||
{},e=t.startAdTimeout,i=t.vpaidInitAdTimeout,n=t.dataRequestTimeout,r=t.triggerAdSt
oppedAfterAdSkipped,o=t.timeout,a=t.disableSmoothVolumeChange,s=t.viqeoStarterUrl,d
=t.mainContainerIsIframe,l=t.iframeRemoveDelay,u=t.forceStartingVolume,f=t.vn_show_
containers,g=t.vn_flyroll_trace,v=t.vn_intersections_trace,b=t.vn_data_url;e&&(this
.options.startAdTimeout=e),i&&(this.options.vpaidInitAdTimeout=i),n&&(this.options.
dataRequestTimeout=n),s&&(this.options.viqeoStarterUrl=s),o&&(this.options.timeout=
o),r&&(this.options.triggerAdStoppedAfterAdSkipped=r),null!
==a&&(this.options.disableSmoothVolumeChange=Object(c.t)(a)),void 0!
==d&&(this.options.mainContainerIsIframe=Object(c.t)(d)),void 0!
==l&&(this.options.iframeRemoveDelay=l),void 0!
==u&&(this.options.forceStartingVolume=parseFloat(u)),void 0!==f&&Object(p.d)
("show.containers",Object(c.t)(f)),void 0!==g&&Object(p.d)
("flyroll.trace",Object(c.t)(g)),void 0!==v&&Object(p.d)
("intersections.trace",Object(c.t)(v)),void 0!==b&&Object(p.c)
("dataUrl",b)}i.d(e,"b",function(){return a}),i.d(e,"c",function(){return
s}),i.d(e,"a",function(){return l});var c=i(1),u=i(16),h=i(3),p=i(11)},function(t)
{t.exports='<style>@keyframes videonow-spin{0%{transform:rotate(0deg);-webkit-
transform:rotate(0deg)}to{transform:rotate(360deg);-webkit-
transform:rotate(360deg)}}</style><svg style="animation:videonow-spin 1s linear
infinite" viewBox="0 0 128 128"><path fill="none" stroke="url(#a)" stroke-
width="2.77" d="M1252.52 595.235a31.93 31.93 0 01-17.5 5.2c-17.7 0-32.07-14.368-
32.07-32.064 0-17.694
14.37-32.06 32.07-32.06 15.31 0 28.13 10.756 31.3 25.118" transform="translate(-
2164.94 -961.788) scale(1.8048)"/><defs><radialGradient id="a" cx="0" cy="0" r="1"
gradientTransform="rotate(-3.67 9382.41 -18979.953) scale(36.57698)"
gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="#79669C" stop-
opacity="0"/><stop offset="95%" stop-color="#79669C"/><stop offset="100%" stop-
color="#fff"/></radialGradient></defs></svg>'},function(t,e,i){"use
strict";function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function o(t){var
e=t.elapsedTime,i=t.remainingTime,n=t.adRemainingTime,r=t.duration;return
this._trigger("AdDurationChange"),i<.75*r&&n>=.75*r&&this._trigger("AdVideoFirstQua
rtile"),i<.5*r&&n>=.5*r&&this._trigger("AdVideoMidpoint"),i<.25*r&&n>=.25*r&&this._
trigger("AdVideoThirdQuartile"),0>=i&&0<n?(this.stop(),void
this._trigger("AdVideoComplete")):void(e>r&&(this.stop(),this._trigger("AdVideoComp
lete")))}i.d(e,"a",function(){return d});var
a=i(2),s={increasePieceOfTime:1e3},d=function(t){function e(e){var i;return void
0===e&&(e={}),(i=t.call(this,function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{r(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},s,
{},e,{tickHandler:o}))||this).logger=e&&(e.logger||e.module&&e.module.logger||
e.moduleAPI&&e.moduleAPI.logger)||a.b,i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.prototype.start=function(){var
e=this.getAdDuration(),i=this.getAdElapsedTime();!e||void 0!==i&&i>e||
t.prototype.start.call(this)},e}(i(22).a)},function(t,e){"use
strict";e.a={VERSION:"1.0.0",BASE_DOMAIN:"static.videonow.ru",DATA_DOMAIN:"init.vid
eonow.ru",STAT_DOMAIN:"stat.videonow.ru",ERRORS_TRACKING_DOMAIN:"videonow.ru",HOME_
URL:"http://www.videonow.ru",CLIENT_INFO_DOMAINS:
["init.videonow.ru","data.videonow.ru"]}},function(t,e,i){"use
strict";i.d(e,"a",function(){return n});var n=function(){function t()
{this._eventListeners={}}var e=t.prototype;return e.subscribe=function(t,e,i){void
0===i&&(i=null),t=i&&t.bind(i)||
t,this._eventListeners[e]=[].concat(this._eventListeners[e]||
[],t)},e.subscribeOnce=function(t,e){var i=this;this.subscribe(function n()
{t.apply(void 0,arguments),i.unsubscribe(n,e)},e)},e.unsubscribe=function(t,e)
{this&&(this._eventListeners[e]=[].concat(this._eventListeners[e]||
[]).filter(function(e){return e!==t}))},e.unsubscribeType=function(t)
{this&&(this._eventListeners[t]=[])},e.unsubscribeAll=function()
{this._eventListeners={}},e.trigger=function(t){for(var
e=this,i=arguments.length,n=Array(1<i?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];
(this._eventListeners[t]||[]).forEach(function(t){try{t.apply(e,n)}catch(t)
{e&&e.logger}})},t}()},function(t,e,i){"use strict";function n(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",function(){return d});var
a=i(2),s={increasePieceOfTime:250},d=function(){function t(t){void
0===t&&(t={}),this.options=r({},s,{},t),this.logger=t&&(t.logger||
t.module&&t.module.logger||t.moduleAPI&&t.moduleAPI.logger)||a.b;var
e=t,i=e.duration,n=e.VPAID_API,o=e.tickHandler;this._trigger=n&&n.trigger,this._dur
ation=i,this._timeoutId=null,this._elapsedTime=0,this._tickHandler=o}var
e=t.prototype;return e.getAdRemainingTime=function(){var
t=this.getAdDuration();return t?t-
this.getAdElapsedTime():0},e.getAdElapsedTime=function(){return this._elapsedTime||
0},e.getAdDuration=function(){return this._duration||0},e.start=function(){var
t=this;if(!this._timeoutId){var
e=this.options.increasePieceOfTime,i=this.getAdDuration();this._timeoutId=setInterv
al(function(){var
n=t.adRemainingTime,r=t.getAdRemainingTime();t.adRemainingTime=r;var o=function(t)
{return
this._elapsedTime+=t,this._elapsedTime}.call(t,e/1e3);t._tickHandler.call(t,
{elapsedTime:o,remainingTime:r,adRemainingTime:n,duration:i})},e)}},e.stop=function
(){clearInterval(this._timeoutId),this._timeoutId=null},e._destroy=function()
{this.stop()},t}()},function(t,e,i){"use strict";(function(t){function n(e)
{t&&t.getAPI&&t.getAPI().logger||r.b;var
i=e&&e.querySelector('Extension[type="'+s+'"]'),n=i&&Array.from(i.querySelectorAll(
"urls > url"));if(n&&n.length){var a=Object(o.d)(i,"global"),d=Object(o.d)
(i,"important");return{urls:n.map(function(t){return Object(o.d)(t).split("?")
[0].replace(/^(https*:)*\/\//,"").toLowerCase()}),global:a,important:d}}return
null}i.d(e,"b",function(){return n});var
r=i(2),o=i(3),a=i(4),s="vnCreativeBlock";e.a=function(t){return new
Promise(function(e){t&&t.getAPI&&t.getAPI().logger||r.b;var
i,n=(t._getLastParameters()||{})[s]||{},o=n.urls,d=n.global,l=n.important;
(o&&o.length||d||l)&&t.setControlData(s,((i={urls:o})
[a.a]=l,i),d);e(t)})}}).call(this,i(39)(t))},function(t){t.exports='<svg viewBox="0
0 64 64"><circle cx="32" cy="32" r="30" fill="none" stroke-width="3"/><path stroke-
width="0" d="M17.534 41.553l29.334.01-.952 1.373-27.418-.033-.964-1.35zm.202-
18.25l28.942-.034.84 1.405-30.634.01.852-1.385zm-2.856 9.144l34.632-.033-.046
1.408-34.564-.022-.022-1.353zm34.66.13c0 9.318-7.774 16.9-17.33 16.9-9.555 0-
17.327-7.583-17.327-16.9 0-9.316 7.774-16.896 17.326-16.896 9.554 0 17.33 7.58
17.33 16.9zm-17.33-18.25c-10.316 0-18.71 8.187-18.71 18.25s8.394 18.25 18.71
18.25c10.32 0 18.714-8.187 18.714-18.25s-8.393-18.25-18.714-18.25zm5.25 18.25c0
9.958-2.765 16.9-5.25 16.9-2.482 0-5.248-6.942-5.248-16.9 0-9.96 2.765-16.896
5.248-16.896s5.25 6.94 5.25 16.9zm-5.25-18.25c-4.31 0-6.635 9.403-6.635 18.25 0
8.848 2.326 18.25 6.635 18.25 4.31 0 6.64-9.403 6.64-18.25-.002-8.847-2.33-18.25-
6.64-18.25zm12.297 18.25c0 9.318-5.52 16.9-12.297 16.9-6.777 0-12.292-7.583-12.292-
16.9 0-9.316 5.515-16.896 12.292-16.896 6.778 0 12.297 7.58 12.297 16.9zM32.21
14.327c-7.542 0-13.68 8.188-13.68 18.25s6.138 18.25 13.68 18.25c7.543 0 13.68-8.186
13.68-18.25s-6.137-18.25-13.68-18.25z"/></svg>'},function(t){t.exports='<svg
width="96" height="24" fill-rule="evenodd" stroke-linejoin="round" stroke-
miterlimit="1.414" clip-rule="evenodd" viewBox="0 0 128 32"><path fill-
opacity=".298" d="M120.368 28.943c-.464 1.503-1.606 2.72-3.108 2.72H2.766c-1.502 0-
3.208-1.217-2.72-2.72L9.11 3.02C9.758.923 10.557.3 12.06.3h113.18a2.72 2.72 0
012.72 2.72l-7.592 25.923z"/><path fill="#fff" d="M20.303
23.29c-.05.13-.11.238-.178.32a.678.678 0
01-.32.185c-.14.042-.33.07-.573.08-.24.01-.552.018-.938.018-.31
0-.573-.003-.793-.007-.21-.004-.4-.014-.55-.03a1.754 1.754 0 01-.37-.068.73.73 0
01-.23-.117c-.06-.04-.1-.1-.13-.16s-.05-.15-.07-.25l-3.3-
13.27c-.06-.27-.1-.49-.11-.66
0-.16.05-.28.15-.36.11-.08.28-.13.51-.15.24-.02.56-.03.98-.03.36 0 .
64.01.83.02.2.02.36.05.46.08.11.04.18.1.21.18.04.08.07.18.1.29L18.6 20.9h.012l4.58-
11.49c.04-.13.09-.23.145-.31.05-.08.137-.14.254-.19.12-.04.28-.07.49-.09.21-.01.5-.
02.86-.02s.63.01.83.03c.2.03.33.08.39.17.07.09.08.218.04.38s-.12.377-.24.647L20.31
23.29zm7.95.114a.361.361 0 01-.094.21.608.608 0
01-.27.15c-.12.04-.28.07-.47.093-.2.024-.45.036-.75.036s-.54-.012-.74-.036c-.2-.022
-.35-.054-.46-.093a.45.45 0 01-.24-.15.263.263 0 01-.06-.21l1.23-
14.14c0-.077.04-.145.09-.208.05-.06.14-.112.27-.15.12-.038.28-.07.47-.094.19-.022.4
4-.033.73-.033.3 0 .
54.01.73.03.19.02.34.05.45.09.114.04.19.09.24.15.044.06.064.13.06.21l-1.2
14.14zM39.78 16.22a7.37 7.37 0 00-.076-1.978 3.855 3.855 0 00-.66-1.587 3.275 3.275
0 00-1.32-1.046c-.553-.26-1.296-.38-2.23-.38h-1.538l-.89 10.18h1.583c.83 0 1.54-.11
2.13-.33a3.95 3.95 0 001.51-.98c.42-.44.75-.98.99-1.63.24-.65.4-1.41.48-
2.27zm3.156-.105c-.12 1.373-.403 2.55-.846 3.524-.445.97-1.03 1.77-1.754
2.38-.725.62-1.58 1.07-2.567 1.36-.99.29-2.15.43-3.47.43h-3.58c-.26
0-.47-.08-.63-.23-.16-.15-.23-.4-.2-.74L31.03 9.8c.03-.34.14-.583.326-.734a1.02
1.02 0 01.662-.223h3.84c1.335 0 2.452.153 3.354.465.9.312 1.643.775 2.23
1.39.58.613 1 1.37 1.25 2.273.253.9.33 1.95.223 3.14zm9.15
6.515c-.02.225-.047.412-.08.562-.032.152-.07.273-.118.365a.532.532 0
01-.163.202.349.349 0 01-.197.06h-7.52a.88.88 0
01-.624-.23c-.16-.15-.225-.4-.196-.74l1.14-
13.05c.03-.34.14-.59.327-.74.187-.15.408-.23.662-.23h7.476c.07 0 .
13.02.18.06.05.04.09.1.12.2.032.09.05.22.055.37.005.15 0 .
34-.02.57-.02.21-.046.4-.078.55-.03.15-.072.27-.12.36a.508.508 0 01-.156.2.323.323
0 01-.19.06h-5.346l-.32 3.66h4.524c.07 0 .
133.02.186.06.055.04.096.11.127.2.032.09.05.21.056.36.01.15 0 .
33-.01.55-.02.22-.04.41-.08.55-.03.14-.07.26-.11.35-.05.08-.1.15-.16.19a.32.32 0
01-.19.05h-4.53l-.37 4.22h5.4c.07 0 .
13.02.19.06.06.04.1.11.13.2.03.09.05.21.06.36.01.15 0 .34-.01.56z"/><path
fill="#DADADA" d="M81.01 22.408a1.209 1.209 0 01-.417.82 1.05 1.05 0
01-.386.203c-.148.05-.294.07-.44.07H78.47c-.268 0-.5-.03-.692-.08a1.21 1.21 0
01-.518-.29 2.153 2.153 0 01-.43-.58 8.739 8.739 0 01-.437-.94l-3.113-
7c-.18-.41-.36-.86-.542-1.35-.18-.48-.342-.95-.48-1.4h-.023c-.018.56-.044 1.11-.076
1.66-.04.55-.08 1.12-.13 1.71l-.69
7.84c-.01.08-.03.15-.08.21-.05.07-.13.12-.24.16-.11.05-.25.08-.43.1-.18.02-.41.04-.
69.04-.27
0-.49-.01-.67-.03-.18-.02-.32-.05-.41-.1a.406.406 0
01-.2-.15c-.04-.06-.05-.13-.04-.21L69.76
9.6c.034-.368.164-.64.39-.82.23-.18.497-.27.806-.27h1.63c.295 0 .
54.024.735.073.2.053.37.135.52.25.15.118.28.278.4.48.12.207.24.46.37.76l2.44
5.474c.15.33.28.658.42.977.14.32.27.64.4.96.13.32.25.635.37.944.12.31.24.61.35.92h.
02a66.734 66.734 0 01.22-3.368l.62-7.026a.423.423 0
01.09-.21c.05-.06.13-.11.25-.16.12-.047.26-.08.44-.1.18-.02.41-.03.69-.03.26 0 .
48.01.66.03.18.02.31.05.4.1.09.046.16.1.19.16.04.064.05.13.04.21L81 22.414zm12.444-
6.436c.07-.787.07-1.503.003-2.147-.068-.643-.23-1.195-.485-1.654a2.705 2.705 0 00-
1.094-1.06c-.47-.25-1.078-.37-1.82-.37-.748 0-1.385.14-1.91.42-.525.29-.965.66-
1.314 1.13-.35.48-.615 1.03-.8 1.65-.18.63-.302 1.3-.363 2-.07.82-.07 1.56 0
2.21.07.65.23 1.21.48 1.67.25.47.62.82 1.09 1.06.47.24 1.09.37 1.83.37s1.39-.14
1.91-.41c.53-.28.97-.65 1.32-1.13.35-.48.62-1.03.8-1.67.18-.63.31-1.31.37-
2.03zm3.208-.162c-.108 1.243-.36 2.353-.756 3.334-.392.978-.924 1.812-1.594
2.492a6.692 6.692 0 01-2.4 1.565c-.93.36-1.984.54-3.163.54-1.17 0-2.18-.15-
3.02-.45-.84-.3-1.53-.77-2.05-1.39-.53-.62-.89-1.42-1.1-2.38-.21-.96-.25-2.1-.14-
3.42.1-1.21.35-2.3.74-3.27.39-.97.92-1.79 1.59-2.47a6.65 6.65 0 012.4-1.56c.92-.36
1.98-.54 3.17-.54 1.13 0 2.12.15 2.96.45.84.31 1.52.77 2.05 1.4.52.62.89 1.41 1.11
2.36.21.96.26 2.08.15 3.38zm15.77
6.886c-.06.184-.14.334-.23.445-.09.12-.22.2-.386.26s-.378.1-.634.12c-.257.02-.582.0
3-.977.03-.44 0-.79-.01-
1.055-.02-.263-.02-.47-.06-.62-.11-.15-.06-.254-.14-.314-.25-.058-.11-.1-.26-.124-.
44l-1.565-9.49h-.022l-3.1 9.49c-.052.18-.12.33-.198.44a.77.77 0
01-.353.26c-.155.06-.363.11-.623.13-.26.02-.6.03-1.02.03-.44 0-.8-.01-
1.07-.03-.26-.02-.47-.06-.61-.12a.57.57 0 01-.31-.25c-.06-.11-.1-.26-.13-.44l-2.28-
13.1a3.37 3.37 0
01-.05-.65c0-.15.06-.28.16-.36.1-.08.27-.13.49-.15.22-.02.53-.03.92-.03.36 0 .
65.006.86.018.21.014.37.04.48.08.11.04.18.106.21.185.03.08.05.193.06.34l1.63
11.47h.01l3.72-11.39c.04-.15.09-.27.15-.36a.557.557 0
01.278-.215c.12-.05.29-.086.5-.1.21-.02.483-.03.83-.03.37 0 .
665.004.884.02.22.014.38.05.5.1.11.05.19.12.24.212.04.09.07.21.09.37l1.83
11.38h.02l3.63-
11.43c.03-.12.07-.23.11-.315.04-.09.12-.16.236-.21.11-.05.27-.09.47-.11.2-.02.48-.0
3.843-.03.34 0 .607.01.79.03.19.01.32.07.4.15.08.08.107.21.077.37s-.085.39-.18.67l-
4.58 13.03zM59.99 19.37l.61-7.003 3.883 3.5-4.494 3.502z"/><path fill="#fff"
d="M67.66 16.702c-.128 1.026-.36 1.957-.698 2.793-.393.98-.925 1.812-1.595
2.492a6.692 6.692 0 01-2.4 1.565c-.93.356-1.984.536-3.163.536-1.166 0-2.17-.15-
3.013-.457-.83-.3-1.52-.76-2.04-1.39-.52-.62-.88-1.42-1.09-2.38-.21-.96-.25-
2.1-.13-3.42.11-1.21.36-2.3.75-3.27.4-.96.93-1.79 1.6-2.47.67-.68 1.47-1.2 2.4-
1.56.93-.36 1.99-.54 3.18-.54 1.14 0 2.12.15 2.97.45.85.3 1.53.77 2.06 1.39.53.63.9
1.42 1.11 2.37.19.85.25 1.84.18 2.97l-3.94-3.56c-.23-.3-.52-.54-.87-.73-.47-.25-
1.07-.37-1.82-.37-.74 0-1.38.14-1.91.42-.52.29-.96.66-1.31 1.13-.35.47-.61 1.02-.8
1.65-.18.63-.3 1.3-.36 2-.07.82-.07 1.56-.01 2.21.07.65.23 1.21.48 1.67.26.47.62.82
1.09 1.06.47.25 1.09.37 1.83.37s1.39-.14 1.91-.42c.1-.05.2-.1.29-.16v.04l5.36-
4.34z"/></svg>'},function(t){t.exports='<style>@keyframes videonow-
pull{0%,10%,30%,to{transform:translateY(0);-webkit-transform:translateY(0)}20%
{transform:translateY(2px);-webkit-transform:translateY(2px)}}</style><svg
style="animation:videonow-pull 1s infinite" width="64" height="24" viewBox="0 0 64
10"><path fill="none" stroke="#fff" stroke-width="2.001" d="M.996 2.99L32.39
14.74M63 2.99L31.606 14.74"/></svg>'},function(t){t.exports='<svg viewBox="0 0 64
64" style="width:100%;height:100%"><path fill="#333" d="M23.817 49V17L50 33 23.817
49z"/></svg>'},function(t){t.exports='<svg viewBox="0 0 64 64"><circle cx="32"
cy="32" r="30" fill="none" stroke-width="3"/><path stroke-width="0" d="M32.503
12.794V8.75l9 7.75-9 8.5v-4.45c-7.583-.5-13.383 5.267-13.3 11.85.083 6.583 4.083
12.65 12.3 12.6 8.217-.05 12.6-6.596 12.5-13.5l6.106-5.845c.383.61 1.384 2.437
1.392 8.245-.483 8.817-7.717 18.683-19.75 18.95-12.033.267-20.524-9.77-20.35-
20.65.174-10.88 9.73-19.738 21.1-19.406z"/></svg>'},function(t){t.exports='<svg
style="width:100%" class="vn-afterplay-play" viewBox="0 0 64 64"><circle cx="32"
cy="32" r="30" fill="none" stroke-width="3"/><path stroke-width="0" d="M17.25
24.402l7.152-7.152L32 24.848l7.598-7.598 7.152 7.152L39.152 32l7.598 7.598-7.152
7.152L32 39.152l-7.598 7.598-7.152-7.152L24.848 32l-7.598-
7.598z"/></svg>'},function(t){t.exports='<svg width="50" height="50" viewBox="0 0
64 64"><circle cx="32" cy="32" r="30" fill="none" stroke-width="3"/><path stroke-
width="0" d="M17.25 24.402l7.152-7.152L32 24.848l7.598-7.598 7.152 7.152L39.152
32l7.598 7.598-7.152 7.152L32 39.152l-7.598 7.598-7.152-7.152L24.848 32l-7.598-
7.598z"/></svg>'},function(t){t.exports='<svg id="skipAd" width="25" height="25"
viewBox="0 0 64
64"><style>g#vnSkipAd:hover&gt;path#cross{opacity:1}g#vnSkipAd:hover&gt;path#backgr
ound{fill-opacity:0.5}</style><g id="vnSkipAd"><path id="background" fill-
opacity=".298" d="M64.055 16c0-8.832-7.173-16-16.017-16h-31.99C7.204 0 .03 7.167.03
16v32c0 8.83 7.174 16 16.018 16h31.99c8.844 0 16.017-7.17 16.017-16V16z"/><path
id="cross" fill="#fff" d="M32.605 27.734L47.91 12.427l3.62 3.62L36.223 31.35 51.53
46.66l-3.62 3.617L32.606 34.97 17.298 50.278 13.68 46.66l15.306-15.31L13.68
16.046l3.618-3.62 15.307 15.308z" opacity=".5"/></g></svg>'},function(t,e,i){"use
strict";(function(t){function n(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",function(){return f});var
a=i(0),s=i(9),d=i(7),l=i(33),c=i.n(l),u=i(34),h=i.n(u),p="logo",f=function(e)
{function i(i){var n=e.call(this,p,i)||
this,o=i.getControlNode("wrapper"),l=i.getControlUnionData(p,"customerlogo")||
{},u=l.logoSrc,f=l.logoHeight,g=l.logoWidth,v=u&&"<img src='"+u+"'
"+function(t,e,i){return void 0===e&&(e="="),void 0===i&&(i="
"),t.reduce(function(t,i){var n=Object.keys(i)[0],r=i[n];return
r&&t.push(""+n+e+r),t},[]).join(i)}([{width:g},{height:f}])
+">",b=i.getControlUnionData(p,"css"),m=n.node=Object(a.a)
(o,"div",r({position:"absolute",zIndex:1,bottom:0,left:0,padding:"5px",cursor:"poin
ter"},b),v||i.getControlUnionData(p,"content")||""+c.a+h.a,s.b.bind(function(t)
{if(void 0===t)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return t}(n),t.HOME_URL));return v||(d.h?
(m.firstElementChild.style.display="none",m.lastElementChild.style.display=""):
(m.lastElementChild.style.display="none",m.firstElementChild.style.display="",n._ad
dDOMEventListener(m,"mouseenter",function()
{m.firstElementChild.style.display="none",m.lastElementChild.style.display=""}),n._
addDOMEventListener(m,"mouseleave",function()
{m.lastElementChild.style.display="none",m.firstElementChild.style.display=""}))),i
.setControlData(p,{node:m}),n}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(i,e),i.getName=function(){return p},i}(i(12).a)}).call(this,i(40))},function(t)
{t.exports='<svg width="60" height="20" fill-rule="evenodd" stroke-linejoin="round"
stroke-miterlimit="1.414" clip-rule="evenodd" viewBox="0 0 60 20"><path fill="#aaa"
d="M54.205 15.227c-.203.658-.703 1.19-1.36 1.19H2.697c-1.196 0-1.467-.5-1.192-
1.19l3.97-11.354c.284-.918.634-1.19 1.292-1.19H56.34c1.183 0 1.337.598 1.19 1.19l-
3.325 11.354z"/><path fill="#fff" d="M10.38 12.75a.496.496 0 01-.08.14.279.279 0
01-.14.082c-.06.018-.144.03-.25.035a8.882 8.882 0 01-.41.008c-.136 0-.252
0-.348-.003A3.677 3.677 0 018.907 13a.966.966 0 01-.162-.03.349.349 0
01-.102-.052.183.183 0 01-.06-.073.641.641 0 01-.032-.11L7.11 6.923a1.613 1.613 0
01-.05-.29c0-.07.02-.123.066-.158a.413.413 0
01.22-.065c.104-.01.246-.015.428-.015.156 0 .277.004.364.01a.84.84 0
01.2.036c.046.02.077.05.09.08a.79.79 0 01.044.13l1.154 5.06h.005l2.01-
5.03c.02-.05.04-.1.07-.14.03-.03.06-.06.11-.08.05-.02.13-.03.22-.04.09 0 .
22-.01.38-.01s.28.01.36.02c.09.01.15.04.18.08s.03.09.02.16c-.02.07-.05.17-.1.28l-
2.47 5.82zm3.48.05a.149.149 0 01-.04.092.24.24 0
01-.115.067c-.053.01-.122.03-.206.04-.09.01-.2.01-.33.01s-.24-.01-.32-.02c-.09-.01-
.16-.03-.2-.04-.05-.02-.09-.04-.11-.07a.161.161 0 01-.03-.09l.54-
6.19c0-.04.01-.07.04-.09.02-.03.06-.05.11-.07.05-.02.12-.03.21-.04.08-.01.19-.02.32
-.02s.24 0 .32.01c.08.01.15.02.2.04.05.01.08.04.1.06.02.02.02.05.02.09l-.54
6.19zm5.05-3.145c.027-.31.015-.6-.034-.867a1.683 1.683 0 00-.29-.695 1.427 1.427 0
00-.577-.458c-.25-.11-.57-.165-.98-.165h-.68l-.39 4.46h.69c.36 0 .
67-.047.93-.142.26-.094.48-.237.66-.428.18-.19.33-.43.43-.712.11-.283.18-.615.21-.9
93zm1.382-.046c-.053.6-.177 1.11-.37 1.54-.196.43-.452.77-.77 1.04-.317.27-.69.47-
1.123.59-.44.12-.94.19-1.52.19h-1.57c-.12
0-.21-.04-.28-.1-.07-.07-.1-.18-.09-.32l.5-
5.72c.01-.15.06-.26.14-.33.08-.07.18-.1.29-.1h1.69c.58 0 1.07.07
1.47.2.39.13.72.34.97.61.25.26.44.6.55.99.11.39.14.85.09 1.37zm4.008
2.85c-.01.09-.02.18-.036.24a.683.683 0 01-.052.16.256.256 0
01-.07.09c-.028.02-.056.02-.087.02H20.76c-.11
0-.202-.04-.272-.1s-.1-.18-.086-.33l.5-
5.72c.013-.15.06-.26.143-.33.082-.07.178-.1.29-.1h3.274c.03 0 .05 0 .
07.02.02.02.04.05.05.09.01.04.02.09.02.16s0 .
15-.01.25c-.01.09-.02.17-.04.24-.01.07-.03.12-.05.16-.02.04-.05.07-.07.09-.03.02-.0
5.03-.08.03h-2.34l-.14 1.6H24c.03 0 .
06.01.083.03.02.02.04.05.052.09.012.04.02.09.023.15 0 .06 0 .
14-.01.24-.005.09-.02.18-.03.24a.691.691
0 01-.05.15c-.02.04-.045.07-.07.08-.03.01-.057.02-.09.02h-1.98l-.16 1.85h2.36c.03
0 .06.01.085.03.023.02.042.05.055.09.02.04.027.09.03.16.002.06 0 .
15-.01.24z"/><path fill="#eee" d="M36.967 12.52a.531.531 0 01-.182.358.504.504 0
01-.17.09.706.706 0 01-.192.027h-.568c-.118
0-.22-.013-.303-.036-.085-.03-.16-.07-.227-.13s-.13-.15-.188-.26c-.06-.11-.122-.25-
.192-.42l-1.363-3.06a12.01 12.01 0 01-.448-
1.21h-.01c-.008.24-.02.48-.033.72-.01.25-.03.49-.05.75l-.3 3.43c0 .
04-.01.07-.03.09-.02.03-.05.05-.1.07a.64.64 0 01-.19.05c-.07.01-.17.01-.3.01-.11
0-.21-.01-.29-.02a.655.655 0
01-.18-.05c-.04-.02-.07-.04-.08-.07-.01-.03-.02-.06-.01-.09l.52-
5.9c.01-.16.07-.28.17-.36.1-.08.22-.12.35-.12h.72c.13 0 .
24.01.32.03.09.02.16.06.23.11s.13.12.18.21c.06.09.11.2.16.33l1.07
2.39.18.42.18.42.17.41.15.41h.01c.01-.24.03-.49.04-.74.02-.26.04-.51.06-.74l.27-
3.07a.3.3 0 01.04-.1c.03-.03.06-.05.11-.07a.83.83 0
01.2-.05c.08-.01.18-.01.3-.01.11 0 .21 0 .
29.01.08.01.13.02.17.04.04.02.07.04.09.07.018.03.02.06.02.09l-.516 5.9zm5.45-
2.82c.03-.345.032-.658.002-.94a1.925 1.925 0
00-.22-.725c-.11-.2-.27-.356-.48-.466-.21-.11-.47-.17-.8-.17-.33
0-.61.06-.84.18-.23.12-.43.28-.58.49-.16.2-.27.45-.35.72-.08.27-.14.56-.16.87-.03.3
6-.03.68-.01.96.03.28.1.53.21.73.11.2.27.35.47.46.21.1.47.16.8.16.33 0 .
61-.06.84-.19.23-.12.42-.29.57-.5.15-.21.27-.46.35-.74.08-.28.13-.58.16-.89zm1.406-
.07a5.071 5.071 0 01-.332 1.46c-.17.428-.4.793-.69 1.09-.29.3-.64.528-
1.05.686-.41.156-.87.235-1.38.235-.51 0-.95-.06-
1.32-.2-.36-.13-.66-.33-.89-.61-.23-.27-.39-.62-.47-1.04-.09-.42-.11-.92-.06-
1.5.05-.53.16-1.01.33-1.43.18-.42.41-.78.7-1.08.3-.3.65-.52 1.05-.68.41-.16.87-.24
1.4-.24.5 0 .93.07 1.3.2s.67.34.9.61c.23.27.39.62.49 1.04.1.42.12.91.07 1.48zm6.907
3.015a.624.624 0 01-.1.195.35.35 0 01-.17.11 1.064 1.064 0 01-.278.053 7.818 7.818
0 01-.89 0 1.015 1.015 0 01-.272-.052.226.226 0 01-.137-.11.551.551 0
01-.054-.19l-.69-4.15h-.01l-1.36
4.16c-.03.08-.05.14-.09.19-.04.05-.09.09-.16.12s-.16.05-.28.05c-.12.01-.27.02-.45.0
2-.2 0-.36 0-.47-.01a.809.809 0 01-.27-.05.227.227 0 01-.14-.11.473.473 0
01-.06-.19l-.99-5.72c-.02-.12-.03-.21-.03-.28
0-.07.02-.12.07-.16.04-.04.11-.06.21-.07.1-.01.23-.01.4-.01.16 0 .
28.01.38.01.09.01.16.02.2.04.04.02.07.05.09.08.01.04.02.09.02.15l.71 5.02 1.63-
4.98c.02-.07.04-.12.07-.16.02-.04.06-.07.12-.09.05-.02.12-.04.22-.04.09-.01.21-.016
.36-.016.16 0 .29 0 .
38.01.09.007.17.02.22.04.05.02.08.057.1.098.02.04.03.1.04.168l.8 4.987h.01l1.59-
5.01c.01-.06.03-.1.05-.14.02-.04.06-.07.11-.09.05-.03.12-.04.21-.05.08-.01.21-.01.3
7-.01.15 0 .
26.01.34.017.08.01.14.03.17.07.04.034.05.09.032.16-.01.078-.034.17-.08.3l-1.99
5.7zm-22.97-1.457l.27-3.067 1.7 1.54-1.97 1.54z"/><path fill="#fff" d="M31.12
9.866c-.055.45-.157.857-.305 1.223-.172.42-.405.79-.698 1.09-.294.3-.644.52-
1.052.68-.407.15-.87.23-1.385.23-.51 0-.95-.07-1.32-.2a2.155 2.155 0 01-.896-.61
2.37 2.37 0 01-.478-1.05c-.09-.42-.11-.92-.06-1.5.048-.53.156-1.01.328-
1.43.173-.43.406-.79.698-1.08.293-.3.643-.53 1.05-.69.408-.16.872-.24 1.393-.24.497
0 .93.06 1.298.19.37.13.668.33.9.61.23.27.393.61.487 1.03.083.37.11.8.08
1.3-.7-.73-1.194-1.39-2.06-1.84a1.762 1.762 0 00-.908-.22c-.327
0-.546.06-.775.18-.23.12-.423.29-.576.49-.15.2-.26.45-.34.72a5.111 5.111 0 00-.16
1.83c.03.28.1.53.21.73.11.2.27.36.48.46.21.103.48.16.8.16.33 0 .62-.05.84-.187
1.18-.707 1.41-.99 2.47-1.95z"/></svg>'},function(t){t.exports='<svg width="60"
height="20" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"
clip-rule="evenodd" viewBox="0 0 60 20"><path fill="#262053" d="M54.205
15.227c-.203.658-.703 1.19-1.36 1.19H2.697c-1.196 0-1.467-.5-1.192-1.19l3.97-
11.354c.284-.918.634-1.19 1.292-1.19H56.34c1.183 0 1.337.598 1.19 1.19l-3.325
11.354z"/><path fill="#fff" d="M10.38 12.75a.496.496 0 01-.08.14.279.279 0
01-.14.082c-.06.018-.144.03-.25.035a8.882 8.882 0 01-.41.008c-.136 0-.252
0-.348-.003A3.677 3.677 0 018.907 13a.966.966 0 01-.162-.03.349.349 0
01-.102-.052.183.183 0 01-.06-.073.641.641 0 01-.032-.11L7.11 6.923a1.613 1.613 0
01-.05-.29c0-.07.02-.123.066-.158a.413.413 0
01.22-.065c.104-.01.246-.015.428-.015.156 0 .277.004.364.01a.84.84 0
01.2.036c.046.02.077.05.09.08a.79.79 0 01.044.13l1.154 5.06h.005l2.01-
5.03c.02-.05.04-.1.07-.14.03-.03.06-.06.11-.08.05-.02.13-.03.22-.04.09 0 .
22-.01.38-.01s.28.01.36.02c.09.01.15.04.18.08s.03.09.02.16c-.02.07-.05.17-.1.28l-
2.47 5.82zm3.48.05a.149.149 0 01-.04.092.24.24 0
01-.115.067c-.053.01-.122.03-.206.04-.09.01-.2.01-.33.01s-.24-.01-.32-.02c-.09-.01-
.16-.03-.2-.04-.05-.02-.09-.04-.11-.07a.161.161 0 01-.03-.09l.54-
6.19c0-.04.01-.07.04-.09.02-.03.06-.05.11-.07.05-.02.12-.03.21-.04.08-.01.19-.02.32
-.02s.24 0 .32.01c.08.01.15.02.2.04.05.01.08.04.1.06.02.02.02.05.02.09l-.54
6.19zm5.05-3.145c.027-.31.015-.6-.034-.867a1.683 1.683 0 00-.29-.695 1.427 1.427 0
00-.577-.458c-.25-.11-.57-.165-.98-.165h-.68l-.39 4.46h.69c.36 0 .
67-.047.93-.142.26-.094.48-.237.66-.428.18-.19.33-.43.43-.712.11-.283.18-.615.21-.9
93zm1.382-.046c-.053.6-.177 1.11-.37 1.54-.196.43-.452.77-.77 1.04-.317.27-.69.47-
1.123.59-.44.12-.94.19-1.52.19h-1.57c-.12
0-.21-.04-.28-.1-.07-.07-.1-.18-.09-.32l.5-
5.72c.01-.15.06-.26.14-.33.08-.07.18-.1.29-.1h1.69c.58 0 1.07.07
1.47.2.39.13.72.34.97.61.25.26.44.6.55.99.11.39.14.85.09 1.37zm4.008
2.85c-.01.09-.02.18-.036.24a.683.683 0 01-.052.16.256.256 0
01-.07.09c-.028.02-.056.02-.087.02H20.76c-.11
0-.202-.04-.272-.1s-.1-.18-.086-.33l.5-
5.72c.013-.15.06-.26.143-.33.082-.07.178-.1.29-.1h3.274c.03 0 .05 0 .
07.02.02.02.04.05.05.09.01.04.02.09.02.16s0 .
15-.01.25c-.01.09-.02.17-.04.24-.01.07-.03.12-.05.16-.02.04-.05.07-.07.09-.03.02-.0
5.03-.08.03h-2.34l-.14 1.6H24c.03 0 .
06.01.083.03.02.02.04.05.052.09.012.04.02.09.023.15 0 .06 0 .
14-.01.24-.005.09-.02.18-.03.24a.691.691 0
01-.05.15c-.02.04-.045.07-.07.08-.03.01-.057.02-.09.02h-1.98l-.16 1.85h2.36c.03 0 .
06.01.085.03.023.02.042.05.055.09.02.04.027.09.03.16.002.06 0 .15-.01.24z"/><path
fill="#b1bb45" d="M36.967 12.52a.531.531 0 01-.182.358.504.504 0 01-.17.09.706.706
0 01-.192.027h-.568c-.118
0-.22-.013-.303-.036-.085-.03-.16-.07-.227-.13s-.13-.15-.188-.26c-.06-.11-.122-.25-
.192-.42l-1.363-3.06a12.01 12.01 0 01-.448-
1.21h-.01c-.008.24-.02.48-.033.72-.01.25-.03.49-.05.75l-.3 3.43c0 .
04-.01.07-.03.09-.02.03-.05.05-.1.07a.64.64 0 01-.19.05c-.07.01-.17.01-.3.01-.11
0-.21-.01-.29-.02a.655.655 0
01-.18-.05c-.04-.02-.07-.04-.08-.07-.01-.03-.02-.06-.01-.09l.52-
5.9c.01-.16.07-.28.17-.36.1-.08.22-.12.35-.12h.72c.13 0 .
24.01.32.03.09.02.16.06.23.11s.13.12.18.21c.06.09.11.2.16.33l1.07
2.39.18.42.18.42.17.41.15.41h.01c.01-.24.03-.49.04-.74.02-.26.04-.51.06-.74l.27-
3.07a.3.3 0 01.04-.1c.03-.03.06-.05.11-.07a.83.83 0
01.2-.05c.08-.01.18-.01.3-.01.11 0 .21 0 .
29.01.08.01.13.02.17.04.04.02.07.04.09.07.018.03.02.06.02.09l-.516 5.9zm5.45-
2.82c.03-.345.032-.658.002-.94a1.925 1.925 0
00-.22-.725c-.11-.2-.27-.356-.48-.466-.21-.11-.47-.17-.8-.17-.33
0-.61.06-.84.18-.23.12-.43.28-.58.49-.16.2-.27.45-.35.72-.08.27-.14.56-.16.87-.03.3
6-.03.68-.01.96.03.28.1.53.21.73.11.2.27.35.47.46.21.1.47.16.8.16.33 0 .
61-.06.84-.19.23-.12.42-.29.57-.5.15-.21.27-.46.35-.74.08-.28.13-.58.16-.89zm1.406-
.07a5.071 5.071 0 01-.332 1.46c-.17.428-.4.793-.69 1.09-.29.3-.64.528-
1.05.686-.41.156-.87.235-1.38.235-.51 0-.95-.06-
1.32-.2-.36-.13-.66-.33-.89-.61-.23-.27-.39-.62-.47-1.04-.09-.42-.11-.92-.06-
1.5.05-.53.16-1.01.33-1.43.18-.42.41-.78.7-1.08.3-.3.65-.52 1.05-.68.41-.16.87-.24
1.4-.24.5 0 .93.07 1.3.2s.67.34.9.61c.23.27.39.62.49 1.04.1.42.12.91.07 1.48zm6.907
3.015a.624.624 0 01-.1.195.35.35 0 01-.17.11 1.064 1.064 0 01-.278.053 7.818 7.818
0 01-.89 0 1.015 1.015 0 01-.272-.052.226.226 0 01-.137-.11.551.551 0
01-.054-.19l-.69-4.15h-.01l-1.36
4.16c-.03.08-.05.14-.09.19-.04.05-.09.09-.16.12s-.16.05-.28.05c-.12.01-.27.02-.45.0
2-.2 0-.36 0-.47-.01a.809.809 0 01-.27-.05.227.227 0 01-.14-.11.473.473 0
01-.06-.19l-.99-5.72c-.02-.12-.03-.21-.03-.28
0-.07.02-.12.07-.16.04-.04.11-.06.21-.07.1-.01.23-.01.4-.01.16 0 .
28.01.38.01.09.01.16.02.2.04.04.02.07.05.09.08.01.04.02.09.02.15l.71 5.02 1.63-
4.98c.02-.07.04-.12.07-.16.02-.04.06-.07.12-.09.05-.02.12-.04.22-.04.09-.01.21-.016
.36-.016.16 0 .29 0 .
38.01.09.007.17.02.22.04.05.02.08.057.1.098.02.04.03.1.04.168l.8 4.987h.01l1.59-
5.01c.01-.06.03-.1.05-.14.02-.04.06-.07.11-.09.05-.03.12-.04.21-.05.08-.01.21-.01.3
7-.01.15 0 .
26.01.34.017.08.01.14.03.17.07.04.034.05.09.032.16-.01.078-.034.17-.08.3l-1.99
5.7zm-22.97-1.457l.27-3.067 1.7 1.54-1.97 1.54z"/><path fill="#fff" d="M31.12
9.866c-.055.45-.157.857-.305 1.223-.172.42-.405.79-.698 1.09-.294.3-.644.52-
1.052.68-.407.15-.87.23-1.385.23-.51 0-.95-.07-1.32-.2a2.155 2.155 0 01-.896-.61
2.37 2.37 0 01-.478-1.05c-.09-.42-.11-.92-.06-1.5.048-.53.156-1.01.328-
1.43.173-.43.406-.79.698-1.08.293-.3.643-.53 1.05-.69.408-.16.872-.24 1.393-.24.497
0 .93.06 1.298.19.37.13.668.33.9.61.23.27.393.61.487 1.03.083.37.11.8.08
1.3-.7-.73-1.194-1.39-2.06-1.84a1.762 1.762 0 00-.908-.22c-.327
0-.546.06-.775.18-.23.12-.423.29-.576.49-.15.2-.26.45-.34.72a5.111 5.111 0 00-.16
1.83c.03.28.1.53.21.73.11.2.27.36.48.46.21.103.48.16.8.16.33 0 .62-.05.84-.187
1.18-.707 1.41-.99 2.47-1.95z"/></svg>'},function(t){t.exports='<svg width="40"
height="40" viewBox="0 0 64
64"><style>g#vnVolumeOn:hover&gt;ellipse{opacity:1;fill-
opacity:0.45}g#vnVolumeOn:hover&gt;path{opacity:1}</style><g id="vnVolumeOn"
fill="none" stroke-width="2"><circle cx="32" cy="32" r="30" fill="#000" fill-
opacity=".298" opacity=".7"/><path d="M38.5 39.885h13.047M26.14 52.95l13.518-
13.52M26.14 12.703L39.66 26.22m-1.16-.517h12.596m-1.12-1.473v17.235M26.63 51.885v-
38.22m-6.124 9.002v20.965m-5.8-24.265v28.065"
opacity=".7"/></g></svg>'},function(t){t.exports='<svg width="40" height="40"
viewBox="0 0 64 64"><style>g#vnVolumeOff:hover&gt;ellipse{opacity:1;fill-
opacity:0.45}g#vnVolumeOff:hover&gt;path{opacity:1}</style><g id="vnVolumeOff"
fill="none" stroke-width="2"><circle cx="32" cy="32" r="30" fill="#000" fill-
opacity=".298" opacity=".7"/><path d="M36 39.885h13.047M23.64
52.95l13.518-13.52M23.64 12.703L37.16 26.22M36 25.703h12.596m-1.12-
1.473v17.235M24.13 51.885v-38.22M11.61 53.417l41.772-41.77"
opacity=".7"/></g></svg>'},function(t){t.exports='<svg width="64"
height="64"><circle cx="30.868" cy="31.255" r="30.066" fill="none" stroke="#fff"
transform="translate(1.2 .813)"/><path fill="#fff" d="M23.817 49V17L50 33 23.817
49z"/></svg>'},,function(t){t.exports=function(t){if(!t.webpackPolyfill){var
e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",
{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",
{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",
{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t){var e=function(){return
this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t)
{"object"==typeof window&&(e=window)}t.exports=e},,function(t,e,i){"use
strict";function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function r(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?n(Object(e),!0).forEach(function(i)
{o(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function a(t,e){try{return function(t){var
e=t.initScriptParentNode,i=t.lookupNode,n=t.lookupElement,r=t.playerElement,o=t.pla
yerAfter,a=t.playerBefore,s=t.playerSelectorPercent,d=t.playerSelectorTotalMin,l=t.
playerDefaultClass,c=t.transitionDuration,u=t.extraSelector,h=t.ignoreCreatePlayerE
lement,p=t.forceFillingBoundariesModel;i=i||Object(cr.j)(n)||document.body;var
f,g,v,b,m=function(){var t=!1;return window!
==window.top&&(0<window.document.documentElement.clientHeight||ur.e)&&(t=!
0,or.b.log(hr+".initModuleNode(). Module entered inside iframe and can not change
height of the document.",1)),t}(),y=Object(dr.t)(p)||
m,O=document.createElement("div");if(r||o||a)if(f=Object(cr.j)
(r,s,i,d),Object(cr.o)(f))f.appendChild(O);else if(v=Object(cr.j)
(o,s,i,d),Object(cr.o)(v))v.parentNode.insertBefore(O,v.nextSibling);else
if(g=Object(cr.j)(a,s,i,d),Object(cr.o)(g))g.parentNode.insertBefore(O,g);else
if(v=Object(cr.j)(u,s,i,d),Object(cr.o)
(v))v.parentNode.insertBefore(O,v.nextSibling);else{if(!h)throw new Error(hr+"
Could not create player element");document.body.appendChild(O)}else{var
A=e&&e.tagName;if(A&&"HEAD"!==A)e.appendChild(O),or.b.log(hr+".initModuleNode()
moduleNode was initialized at parent node of init script. "+(m?"Module entered
inside iframe and can not change height of the document.":""),1),b=e;else{if(!h)
{var w="HEAD"===A?" An attempt was detected to include the tag in the HEAD of a
page (playerElement="+r+", playerAfter="+o+" playerBefore="+a+")":"";throw new
Error(hr+" Could not create player element.
"+w)}document.body.appendChild(O)}}Object(cr.b)(O,{boxSizing:"content-
box",overflow:"hidden",width:"100%",height:0,transition:"height "+c+"ms ease-
out"}),l&&O.classList.add(l);var _=Object(cr.a)(O,"div",
{position:"absolute",top:0,right:0,bottom:0,left:0,fontSize:0,lineHeight:0,margin:0
,textAlign:"center"});return{lookupNode:i,moduleNode:O,moduleInnerNode:_,boundaries
Exists:y,insideIframe:m,elementNode:f,beforeNode:g,afterNode:v,widthNode:b}}
(t)}catch(s){var i=t||{},n=i.playerElement,r=i.playerAfter,o=i.playerBefore,a=new
Error(s+' (format: "'+e+'" playerElement:"'+n+'" playerAfter:"'+r+'"
playerBefore:"'+o+'" url('+window.top.location.href+"))");throw
a.code=nr.a.FORMAT_ERROR,a.options=t,a.format=e,a}}function s(t){if(void
0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been
called");return t}function d(t,e,i){function n(n){e=Qn((t=n)*i)}function r()
{t=Qn((e=y)/i)}var
o=this.API,a=o.getWidthNode,s=o.moduleAPI.getControlNode,d=s&&s("wrapper"),c=a&&a()
,u=Object(dr.h)
(c).insideHeight,h=l.call(this),p=h.outsideWrapperHeight,f=h.insideWrapperHeight,g=
h.outsideWrapperWidth,v=h.insideWrapperWidth,b=getComputedStyle(d).width,m=parseFlo
at(b),y=u-((p||0)-(f||0));return p>u||e>y?(r.call(this),t>m&&n.call(this,m)):(g>m||
t>m)&&(n.call(this,m-(g-v)),e>y&&r.call(this)),
{width:t,height:e,availableHeightForAd:y}}function l(){var
t=(0,this.API.moduleAPI.getIndents)
();return{outsideWrapperHeight:t.outsideHeight,insideWrapperHeight:t.insideHeight,o
utsideWrapperWidth:t.outsideWidth,insideWrapperWidth:t.insideWidth}}function c(t)
{if(void 0===t)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return t}function u(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function h(t,e){var
i=this.API,n=this.forceInsideWidth,r=this.forceInsideHeight,o=(i||
{}).getWidthNode,a=o&&o(),s=a&&Object(dr.h)(a).insideWidth;return
n>s&&(r*=s/n,n=s),t>n&&(e*=n/t,t=n),e>r&&(t*=r/e,e=r),{width:t,height:e}}function
p(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function f(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?p(Object(e),!0).forEach(function(i)
{g(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function g(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function v(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function b()
{this._adHasBeenLoaded&&(this._updateModuleNodeSize(),this._updateModuleSize())}fun
ction m(){var
t=this.moduleNode,e=this.options,i=e.expandOnAdLoaded,n=e.expandingDuration,r=e.doN
otWatchVisibility;E.call(this,"AdLoaded","onAdLoadedHandler"),this._adHasBeenLoaded
=!
0,this._addDOMEventListener(window,"resize",b.bind(this)),this._addDOMEventListener
(document,"visibilitychange",function(){var
t=this.options.moduleAPI,e=t.inState,i=t.pauseAd;"hidden"===document.visibilityStat
e?
e&&e("playing")&&i&&i({invoker:this,method:"onVisibilityChange"}):this._updateModul
eState()}.bind(this),!1),0<n&&Object(cr.b)(t,{transitionProperty:"width,
height",transitionDuration:n+"ms",transitionTimingFunction:"ease-out"}),r||(i?
(this._switchOnObservableCheckingToModuleNode(),this._updateModuleSize(),this._upda
teModuleNodeSize(),this._updateModuleState()):
(this._updateModuleSize(),this._switchOnObservableAdvancedNode()))}function y(){var
t=this,e=(this.options||
{}).destroyTimeout;this._closeModule(),setTimeout(function(){return
t._destroy()},e)}function O(){var
t=this.forceHeight,e=this.moduleNode,i=this.options,n=i.forceEnableVerticalContent,
r=i.moduleAPI,o=r.getAdAspectRatio,a=r.getAdWidth,s=o&&o(),d=e.clientWidth||
a();return{width:d,height:t||s&&d&&d*(!ur.h&&1<s&&!n?9/16:s)}}function A(t)
{if(Object(cr.o)(t)&&!this._moduleWasClosed){var
e=t.getBoundingClientRect();if(e.height){w.call(this);var
i=this._startFactor,n=this._stopFactor,r=this.options.moduleAPI,o=r.getMainModuleId
,a=r.getControlNode,s=r.getVideoSlot,d=0,l=0,c=a("container"),u=s();if(t===c||
t===u){var h=a("iframe");if(h){var
p=h.getBoundingClientRect();d=p.top,l=p.left}}var g=o&&o(),v=2147483647;if(!
this.grid||!this.grid.length){var
b={height:"1px",borderTopWidth:"1px",position:"absolute",pointerEvents:"none",zInde
x:v};this.grid=[];var m=e.height,y=Object(cr.a)(window.document.body,"div",f({},b,
{height:m,borderTopColor:"yellow",borderTopStyle:"dashed"}));y.className="vn-grid-
frame vn-module__"+g,this.grid.push({pos:0,line:y});for(var
O=.1;1>O;O=(0^100*(O+.1))/100)if(O!==i&&O!==n){var A=Object(cr.a)
(window.document.body,"div",f({},b,
{borderTopColor:"yellow",borderTopStyle:.5===O?"dashed":"dotted"}));A.className="vn
-grid-"+O+" vn-module__"+g,this.grid.push({pos:O,line:A})}if(i){var _=Object(cr.a)
(window.document.body,"div",f({},b,
{borderTopColor:"red",borderTopStyle:"solid",zIndex:v+1}));_.className="vn-grid-
start-factor-"+i+" vn-module__"+g,this.grid.push({pos:i,line:_})}if(n){var
P=Object(cr.a)(window.document.body,"div",f({},b,
{borderTopColor:"pink",borderTopStyle:"dashed",zIndex:v+2}));P.className="vn-grid-
stop-factor-"+n+" vn-module__"+g,this.grid.push({pos:n,line:P})}}for(var
S=this.grid,j=e.width,E=e.height,C="relative"===getComputedStyle(window.document.bo
dy).position?Object(dr.h)(window.document.body):
{marginLeft:0,marginTop:0,borderTopWidth:0,borderLeftWidth:0},D=C.marginLeft,I=C.ma
rginTop,T=C.borderTopWidth,k=C.borderLeftWidth,x=window.document.documentElement.ge
tBoundingClientRect(),N=0;N<S.length;N++){var
M=S[N],V=M.pos,R=M.line;R&&Object(cr.b)(R,{top:Object(dr.s)(e.top-x.top-I-
T+V*E+d),left:Object(dr.s)(e.left-x.left-D-k+l),width:Object(dr.s)(j)})}}}}function
w(){var t=this.grid;if(t)for(;t&&t.length;){var e=t.pop();if(!e)return;var
i=e.line;Object(cr.s)(i)}}function _(){var
t=this.moduleNode,e=this.options.showObservableNode;if(!t)return null;var
i=function(){for(var
t=this.moduleNode.getBoundingClientRect().bottom,e=document.documentElement,i=e.cli
entWidth,n=e.clientHeight,r=i/10,o=r;o<i-r;o+=r)for(var a=t+5;a<n;a+=(n-t)/10){var
s=document.elementFromPoint(o,a),d=S(t,s);if(d)return d}return!1}.call(this);return
i&&i.element&&e&&(i.element.style.backgroundColor="pink"),i}function P(t,e){var
i=this;void 0===e&&(e=10),setTimeout(function(){var n=(i.moduleNode||
{}).clientHeight;if(!e&&n);else if(e&&n)P.call(i,t,e-1);else{var
r=t.top,o=t.bottom,a=t.element,s=r?a.getBoundingClientRect().top-r:o?
a.getBoundingClientRect().bottom-o:0;s&&window.scrollBy(0,s)}},20)}function
S(t,e){if(!e)return null;var
i=document.documentElement.clientHeight,n=(getComputedStyle(e)||
{}).position;if("absolute"===n||"fixed"===n)return null;var
r=e.getBoundingClientRect(),o=r.top,a=r.bottom;return 0<o&&o>t&&o<i?
{element:e,top:o}:0<a&&a>t&&a<i?{element:e,bottom:a}:null}function j(){var
t=this._maxHeight;if(t){var e=this.getSlotSize(),i=e.width,n=e.height;if(i){var
r=Object(dr.m)(t,i);if(r<n)return r}}return null}function E(t,e){var
i=this[e],n=(this.options.moduleAPI||
{}).removeVPAIDEventListener;n&&i&&(n(t,i,this),this[e]=null)}function C(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function D(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function I(){var
t=[],e=[],i=[],n=window.innerHeight;return
this.slotPlaceholders.forEach(function(r){var
o=r.getBoundingClientRect(),a=o.top,s=0>o.bottom,d=a>n;s&&t.push(r),d&&i.push(r),s|
|d||e.push(r)}),{above:t,visible:e,below:i}}function T(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function k(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function x(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function N(t,e){var i=Object(pr.f)(t);return i&&i*e||+t}function M(t,e){var
i=this,n=this.traceLogEnabled,r=this.options.moduleAPI,o=r.removeVPAIDEventListener
,a=r.addVPAIDEventListener;if((0,r.inState)
(["loaded","starting","playing"]))this._setMode(this._mode);else{var
s=this.handlersForUpdateModuleState;s||
(s=this.handlersForUpdateModuleState={}),n&&this.logger.trace(this[Mr]
+".setHandlersForUpdateModuleState()"),t.forEach(function(t){s[t]||
(s[t]&&o(t,s[t],i),s[t]=a(t,function(t){var
e=this,i=this.traceLogEnabled,n=this.options.moduleAPI.removeVPAIDEventListener,r=t
his.handlersForUpdateModuleState;Object.values(r||{}).forEach(function(t){var
i=t[0],o=t[1];o&&(n(i,o,e),r[i]=null)}),i&&this.logger.trace(this[Mr]+"."+t+" Calls
_setMode("+this._mode+")"),this._setMode(this._mode)}.bind(i,e+"
@{eventName}"),i))})}}function V(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function R(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?V(Object(e),!0).forEach(function(i)
{L(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):V(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function L(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function F(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function W(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function H(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function z(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?H(Object(e),!0).forEach(function(i)
{B(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):H(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function B(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function U(){var t=function(t,e){return
e||(e=t.slice(0)),t.raw=e,t}(["Pull to skip<br/>",""]);return U=function(){return
t},t}function q(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function G(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function X(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function Y(t){if(void 0===t)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return t}function Q(){var t=$(["Watch
video"]);return Q=function(){return t},t}function J(){var t=$(["Going
after"]);return J=function(){return t},t}function Z(){var t=$(["Skip ad
in"]);return Z=function(){return t},t}function K(){var t=$(["Watch video<br/>after
ad"]);return K=function(){return t},t}function $(t,e){return e||
(e=t.slice(0)),t.raw=e,t}function tt(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function et(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?tt(Object(e),!0).forEach(function(i)
{it(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):tt(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function it(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function nt(){var
t=this,e=this.module,i=this.options.transitionDuration,n=e.getControlNode("wrapper"
),r=this._getCurrentPlayer(),o=r?r.getSize():{},a=o.width,s=void 0===a?
0:a,d=o.height,l=void 0===d?0:d;this._overlayControls=Object(cr.a)(n,"div",
{position:"absolute",zIndex:2,cursor:"auto",width:s+"px",height:l+"px",fontSize:0,c
olor:"#333",borderRadius:"4px",boxShadow:"none",transitionProperty:"top, width,
height",transitionDuration:i+"ms",transitionTimingFunction:"ease-
out",visibility:"hidden",background:"transparent",opacity:0},null),this._overlayCon
trols.classList.add("___overlay___"),lt.call(this),function(){var
t=this.options.transitionDuration;this._thumbnailWrapper=Object(cr.a)
(this._overlayControls,"div",
{position:"relative",zIndex:2,width:"100%",height:"100%",borderRadius:"4px 0 0
4px",textAlign:"center",overflow:"hidden",opacity:.95,backgroundColor:"transparent"
,transitionProperty:"top, width,
height",transitionDuration:t+"ms",transitionTimingFunction:"ease-
out",display:"flex",alignItems:"center",justifyContent:"center"}),this._thumbnailWr
apper.className="___thumbnailWrapper___",this._thumbnailDefaultText=Object(cr.a)
(this._thumbnailWrapper,"div",
{height:"auto",width:"auto",zIndex:1,color:"grey",lineHeight:1.2,opacity:0,transiti
on:"all "+t+"ms ease-out"},to(K()))}.call(this),function(){var
t=this.options,e=t.skipControlsTransitionDuration,i=t.skipControlsTransitionDelay,n
=t.thumbnailWrapperWidth,r=100-parseFloat(n),o=this._skipAd=Object(cr.a)
(this._overlayControls,"div",
{position:"absolute",zIndex:1,top:0,right:r+"%",width:r+.5+"%",height:"100%",visibi
lity:"hidden",display:"flex",flex:"0 0
auto",flexDirection:"column",justifyContent:"space-
evenly",alignItems:"center",boxSizing:"border-
box",background:"white",borderRadius:"0 4px 4px 0",fontSize:"2.7vh",transition:"all
"+e+"ms ease-out",transitionDelay:(i||1.5*e)
+"ms"});o.className="___skipAd___",this._countdownText=Object(cr.a)(o,"div",
{display:"none",paddingTop:0,paddingBottom:0,paddingLeft:"5%",paddingRight:"5%",lin
eHeight:1,textAlign:"center"}),this._countdownValue=Object(cr.a)(o,"div",
{textAlign:"center"});var a=this._countdownValueText=Object(cr.a)
(this._countdownValue,"div",
{display:"flex",justifyContent:"center",alignItems:"center",fontSize:"10px",fontWei
ght:"bold",width:"2vh",height:"2vh",lineHeight:1,borderRadius:"50%",backgroundColor
:"#d3d3d3",boxSizing:"border-
box"});a.className="___countdownValueText___",setTimeout(function(){return
Object(cr.b)(a,{transition:"all 250ms"})},1)}.call(this);var
c;this.updateAfterTransitionEndWithBind=c=function(e){var i=e||
{},n=i.propertyName;if(!i.forceUpdate){if("height"!==n&&"width"!==n)return;var
r=0^t._overlayControls.offsetWidth,o=0^t._overlayControls.offsetHeight,a=t.overlayC
ontrolsTargetWidth,s=t.overlayControlsTargetHeight;if(!a||!s||!
t.mainTransitionWasStarted||!e||"height"!==e.propertyName&&"width"!
==e.propertyName||5<Yn(o-s)||5<Yn(r-a))return}t.mainTransitionWasFinished=!
0,t.mainTransitionWasStarted=!
1,t._removeDOMEventListener(t._overlayControls,"transitionend",c),setTimeout(functi
on(){t.update(!1,!1);var
e=t._thumbnailDefaultText,i=t._thumbnailWrapper,n=t.options.thumbnailBackgroundColo
r;e&&Object(cr.b)(e,{opacity:1}),Object(cr.b)(i,
{backgroundColor:n})},1)}.bind(this),setTimeout(function()
{t._addDOMEventListener(t._overlayControls,"transitionend",c)},1)}function rt()
{function t(){var t=this,e=this._thumbnailWrapper,i=this._thumbnailDefaultText;if(!
e)return Promise.resolve(!1);var n=this._tumbnailImage;return new
Promise(function(r){i&&(i.remove(),delete t._thumbnailDefaultText);var
o=null;n&&((o=t._thumbnail=Object(cr.a)(e,"img",
{position:"relative",height:"100%",zIndex:2})).src=n),r(o)})}var
e=this;if(this._thumbnail)return
Promise.resolve(this._thumbnail);if(this._tumbnailImage)return t.call(this);var
i=this.options.getThumbnailTimeout,n=new Promise(function(i){var
n=e._getCurrentPlayer(),r=n&&n.getThumbnail&&n.getThumbnail();return r?
(Object(po.c)(r).then(function(t){return"error"===t.type?
null:e._tumbnailImage=r}).then(function(){return t.call(e)}).then(function(t)
{return
i(!!t)}),i(!0)):i(!1)});return Promise.race([n,new Promise(function(t,e)
{i&&setTimeout(function(){e(Error("Timeout("+i+") for getThumbnail was
expired"))},i)})])}function ot(t){var e=this;if(this.mainTransitionWasFinished){var
i=this._overlayControls,n=this._skipAd,r=this._countdownText,o=this._thumbnail,a=th
is._countdownValueText,s=this._overlayControlsSetOpacity,d=this.options,l=d.right,c
=d.skipControlsTransitionDuration,u=d.boxShadow,h=i.clientHeight;(ur.h||55>=h||!
o)&&(t=!1);var p=t?h/2:h/1.5;if(Object(cr.b)(r,{display:t?"":"none"}),Object(cr.b)
(i,{boxShadow:u}),Object(cr.b)(n,{visibility:"visible"}),this._getCurrentPlayer())
{if(!s){var
f=this.options,g=f.startFadingDuration,v=f.fadingDuration,b=f.intermediateFadingOpa
city,m=f.raisingDuration,y=f.targetFadingOpacity;this._overlayControlsSetOpacity=!
0;var
O=this.module.getControlNode("slot"),A=this.module.getControlNode("vpaidSlot");Obje
ct(cr.b)(i,
{transitionProperty:"opacity",transitionDuration:g+"ms",transitionTimingFunction:"l
inear"});var w,_=!!ur.h,P=!
1,S=A.querySelector("iframe");try{w=S&&S.contentWindow&&S.contentWindow.document}ca
tch(t){}var j=w||A||O,E=!ur.h&&this._addDOMEventListener(j,"mousemove",function()
{_=!
0,P&&(st.call(e,b,m),e._removeDOMEventListener(j,"mousemove",E))}),C=this._addDOMEv
entListener(i,"transitionend",function(t){"opacity"===t.propertyName&&(P=!0,!
_&&dt.call(e,y,v),C&&e._removeDOMEventListener(i,"transitionend",C))});Object(cr.b)
(i,{opacity:b}),setTimeout(function()
{e._removeDOMEventListener(i,"transitionend",C),!
P&&C&&e._removeDOMEventListener(i,"transitionend",C),P=!0},g+100),ur.h||
(this._addDOMEventListener(O,"mouseover",function(t){var n=t.relatedTarget;if(n!
==A&&n!==i){var r=at.call(e,n,[i],"slot mouseover");r===i||st.call(e,b,r?
v:m)}}),this._addDOMEventListener(A||O,"mouseover",function(t){var
n=t.relatedTarget;if(n!==O){var r=at.call(e,n,[i,O],"vpaidSlot
mouseover");st.call(e,b,r?
v:m)}}),this._addDOMEventListener(i,"mouseenter",function()
{st.call(e,1,m)}),this._addDOMEventListener(O,"mouseout",function(t){var
n=t.relatedTarget,r=at.call(e,n,[i,A],"slot mouseout");r===A||r===A||r===i||
dt.call(e,y,v)}),this._addDOMEventListener(i,"mouseout",function(t){var
n=t.relatedTarget;at.call(e,n,[i],"_overlayControls mouseout")===i||(n!==O||n!
==A)&&dt.call(e,y,v)}))}Object(cr.b)(r,{transition:"none"}),Object(cr.b)(n,
{fontSize:h/6+"px",transition:"width 0ms, transform "+c/2+"ms ease-
out",transform:"translateX(98%)"})}else Object(cr.b)(i,{right:l,transition:"all
"+c+"ms ease-out"}),Object(cr.b)(n,
{flexDirection:"row",width:"100%",right:"0",transition:"none"});Object(cr.b)(a,
{fontSize:p/2+"px",width:p+"px",height:p+"px"})}}function at(t,e,i){void
0===i&&(i="");for(var n=t;n&&0>e.indexOf(n);)n=n.parentElement;return n}function
st(t,e){void 0===e&&(e=0);var
i=this._overlayControls,n=this._overlayControlsStartOpacity;Object(cr.b)(i,
{transition:"none",opacity:void 0!==n&&n||1}),Object(cr.b)(i,
{transitionProperty:"opacity",transitionDuration:e+"ms",transitionTimingFunction:"l
inear"}),Object(cr.b)(i,{opacity:t})}function dt(t,e){var
i=this._overlayControls,n=getComputedStyle(i).opacity;this._overlayControlsStartOpa
city=parseFloat(n),Object(cr.b)(i,
{transitionProperty:"opacity",transitionDuration:e+"ms"}),Object(cr.b)(i,
{opacity:t})}function lt(){var
t=this._overlayControls,e=this._overlayControlsClickHandler;t.removeEventListener("
click",e),t.removeEventListener("touchend",e),this._overlayControlsClickHandler=fun
ction(t)
{t.stopPropagation()},this._overlayControls.addEventListener("click",this._overlayC
ontrolsClickHandler),this._overlayControls.addEventListener("touchend",this._overla
yControlsClickHandler),Object(cr.b)(t,
{cursor:"auto"}),this._removeDOMEventListener(t,"mouseenter",this._overlayControlsM
ouseenterHandler),this._removeDOMEventListener(t,"mouseleave",this._overlayControls
MouseleaveHandler)}function ct(){var
t=this;this._addTimeout(this.TIMER_NAME,function(){(function(){var
t=this.module,e=this._countdownText,i=this._countdownValueText,n=ut.call(this,t),r=
n.time,o=n.skipTime,a=n.adDuration,s=n.isSkippable,d=t.getAdSkippableState();!
d&&0<r&&(e.innerHTML=to(s?Z():J()),i.innerHTML=""+r),(d||0>=r&&o<=a&&!
this._playButtonWasShown)&&(this._playButtonWasShown=!0,t.setAdSkippableState(!
0),e.innerHTML=to(Q()),i.innerHTML=go.a,function(){var
t=this.module,e=this._overlayControls,i=this._countdownValueText,n=this.options,r=n
.countdownColor,o=n.countdownBackgroundColor,a=n.countdownHoverColor,s=n.countdownB
ackgroundHoverColor;e.removeEventListener("click",this._overlayControlsClickHandler
),this._overlayControlsClickHandler=function()
{t.skipAd()},this._overlayControls.addEventListener("click",this._overlayControlsCl
ickHandler),Object(cr.b)(e,
{cursor:"pointer"}),this._overlayControlsMouseenterHandler=this._addDOMEventListene
r(e,"mouseenter",function(){Object(cr.b)(i,
{backgroundColor:s,color:a})}),this._overlayControlsMouseleaveHandler=this._addDOME
ventListener(e,"mouseleave",function(){Object(cr.b)(i,
{backgroundColor:o,color:r})})}.call(this)),ot.call(this,!
0)}).call(t),ct.call(t)},Ao)}function ut(t){var
e=this.timeBeforeSkipChecker,i=t.getAdDuration()||
0,n=this.getAdElapsedTime(),r=t.getControlUnionData("skipAdCountdown","timeBeforeSk
ip")||t.getControlUnionData("skipAd","timeBeforeSkip")||i;return{time:Qn(Zn(i,r)-
n),skipTime:r,adDuration:i,isSkippable:e&&e.isSkippable()}}function ht(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function pt(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?ht(Object(e),!0).forEach(function(i)
{ft(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ht(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function ft(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function gt()
{this._addDOMEventListener(document,"visibilitychange",function(){var
t=this.module;"hidden"===document.visibilityState?
oo.c.call(t,"playing")&&t.pauseAd({invoker:this,method:"onVisibilityChange"}):this.
_updateModuleState()}.bind(this),!1),this._updateModuleState()}function vt(t){void
0===t&&(t=!0);var e=this.slot,i=this.options.playerPlaybackClass;e&&i&&(t?
e.classList.add(i):e.classList.remove(i))}function bt(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function mt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function yt(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function Ot(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function At(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function wt(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function _t(t){var e=t||{},i=e.destroyIframeAction,n=e.logger;this.logger=n||
or.b,this.destroyIframeAction=i,this._controlData=this._rootControlData={},this.pus
hControlsDataStack=function()
{this._controlData=Object.create(this._controlData)},this.popControlsDataStack=func
tion(){if(this._controlData){var
t=this._controlData;Object.prototype.hasOwnProperty.call(t,"iframe")&&t.iframe.node
&&this.destroyIframeAction();var
e=Object.getPrototypeOf(t);e&&(this._controlData=e)}},this.updateControlData=functi
on(t,e,i){var n,r;Object(fr.g)(this._controlData,((n={})[t]=e,n)),i&&Object(fr.g)
(this._rootControlData,((r={})[t]=e,r))},this.setControlData=function(t,e,i){if(e)
{var n=i?this._rootControlData:this._controlData;n||i||
(n=this._controlData={}),n[t]="solid"===e[fr.b]||Array.isArray(e)||"object"!=typeof
e?e:Object(fr.g)({},Object.prototype.hasOwnProperty.call(n,t)&&n[t]||
{},e)}},this.getControlData=function(t,e,i,n){void 0===i&&(i=!1),n||(n=function()
{return!0});for(var r,o,a,s=this._rootControlData,d=this._controlData,l=i?
s:d;l&&((a=Object.prototype.hasOwnProperty.call(l,t)&&l[t])&&(void
0===r&&n(a)&&(r=e?null!=a[e]&&void 0!==a[e]?a[e]:void 0:a),r&&a[fr.a]&&(o=e?
a[e]:a)),void 0===o||!r);l=Object.getPrototypeOf(l));return Object(fr.h)(void
0===o?r:o)},this.getControlRawUnionData=function(t,e,i){return
Pt.call(this,t,e,i)},this.getControlRawUnionDataGlobal=function(t,e,i){return
Pt.call(this,t,e,i,function(t){return t},!
0)},this.getControlUnionData=function(t,e,i){return
Pt.call(this,t,e,i,fr.h.bind(null))},this.getControlUnionDataGlobal=function(t,e,i)
{return Pt.call(this,t,e,i,fr.h.bind(null),!0)},this.getControlNode=function(t){var
e=this.getControlUnionData(t);return e?e&&e.node:null}}function Pt(t,e,i,n,r){void
0===n&&(n=function(t){return t}),void 0===r&&(r=!1),i||(i=function(){return!
0});for(var o,a=[],s=r?
this._rootControlData:this._controlData;s;s=Object.getPrototypeOf(s))if((o=Object.p
rototype.hasOwnProperty.call(s,t)&&s[t])&&i(o)){var
d={data:o,parsePoint:o.parsePoint};a.push(d)}if(a.length){var l=n(function(t,e){var
i=t.reduceRight(function(t,i){var n=!!i.parsePoint||e&&i[e]&&!!
i[e].parsePoint;delete i.parsePoint;var r=i.data||{},o=t,a=Object(fr.g)(o,i);return
n&&!r.display&&delete a.display,n&&!r.visibility&&delete a.visibility,n&&!
r.position&&"absolute"===o.position&&("hidden"===o.visibility||"none"===o.display)&
&delete a.position,a},{}).data||{};return e?i[e]:i}(a,e));return null===l||void 0!
==l&&("object"!=typeof l||Object.keys(l).length)?l:void 0}}function St(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function jt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Et(t,e){return void
0===e&&(e="Extensions >"),(this.logger||
or.b).trace(".parseVnCreative()"),pr.i.call(this,t,qo,Ct,{parentPrefix:e})}function
Ct(t){var e=t&&t.querySelector("scriptUrl");if(e)return{functionUrl:Object(pr.d)
(e)};var i=t&&t.querySelector("function");return i?{functionText:Object(pr.d)
(i)}:null}function Dt(t,e){var
i=t.format,n=t.options,r=t.getAPI&&t.getAPI().logger||or.b,o=(n||
{}).canExecuteNoAd;return new Promise(function(n,a){r.log(Go+" Executing"),o||
i&&i.canExecuteNoAd&&i.canExecuteNoAd()||a(new Error(Go+" runNoAd(). canceled
"));var s=e||{},d=s.functionText,l=s.functionUrl;if(d&&d.length){var
c=document.createElement("script");c.innerHTML=d,document.body.appendChild(c),n(t)}
else if(l&&l.length){if(l){var u=decodeURIComponent(l);Object(po.a)
(u).then(function(){r.log(Go+" script "+u+" was successfully
loaded"),n(t)}).catch(function(t){a(t)})}}else a(new Error(Go+" runNoAd(). No
exists any function to execute"))})}function It(t){return new Promise(function(e)
{t&&t.getAPI&&t.getAPI().logger||or.b;var i,n=(t._getLastParameters()||{})[Xo]||
{},r=n.urls,o=n.important,a=n.global;(o||a||r&&r.length)&&t.setControlData(Xo,
((i={urls:r})[fr.a]=o,i),a);e(t)})}function Tt(t,e){void
0===e&&(e="minPlayerSize"),(this.logger||
or.b).trace(".parseVnMinPlayerSizeObject()");var i,n,r=t&&(e?t[e]:t)||
{};if("string"==typeof r){var o=r.split("x");i=o[0],n=o[1]}else Array.isArray(r)?
(i=r[0],n=r[1]):(i=r.width,n=r.height);var a={};return
i&&(a.width=parseInt(i,10)),n&&(a.height=parseInt(n,10)),{size:a}}function kt(t)
{var e,i=t.getControlData(Qo)||{},n=i.size,r=i.fatal,o=n||
{},a=o.width,s=o.height;if(!a&&!s)return null;var
d=t.format,l=d&&(null===(e=d.getSlotSize)||void 0===e?void 0:e.call(d))||
{},c=l.width,u=l.height;if(s&&!u)return
t._addVPAIDEventListener(t,"AdStarted",function(){var e=kt(t);e&&Yo.h.call(t,e,!
0)}),null;if(a&&c<a||s&&u<s){var h=Nt(t),p=h.topWindow,f=h.contentParent;return
xt("\n width: "+c+";\n minWidth: "+a+";\n height: "+u+";\n minHeight:
"+s+"\n Viewport: "+(p?p.innerWidth:"Unknown")+";\n Container width:
"+f.offsetWidth+";\n Ratio: "+c/f.offsetWidth+"`\n",!!r)}return null}function
xt(t,e){void 0===e&&(e=!1);var i=Error("Wrong slot size was detected: "+t);return
i.code=nr.a.AD_SIZE_ERROR,i.message=t,i.fatal=e,i}function Nt(t){var
e=t.environmentVars,i=t.getControlNode("slot")||e.slot,n=Object(dr.k)
(window),r=n&&Object(dr.g)(n)||Object(dr.v)
(window),o=r&&r.querySelector("body"),a=Object(cr.f)(i,o).reverse(),s=o;return
a.length&&a.forEach(function(t){s===o&&t.offsetWidth!
==o.offsetWidth&&(s=t)}),s.documentElement&&(s=s.documentElement),
{topWindow:n,contentParent:s}}function Mt(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Vt(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?Mt(Object(e),!0).forEach(function(i)
{Rt(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mt(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function Rt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Lt(t,e,i){function n(t){var
e=Ft(t)||{},n=i.call(this,t);return n?"object"!=typeof n||Array.isArray(n)?
n:Vt({},n,{},e):null}var r=this,o=Vt({},t&&(e?t[e]:t));if(Object(dr.q)(o))return
null;var a=Ft(o);Ht(o);var s=Object.entries(o).reduce(function(t,e){var
i=e[0],o=e[1],a=n.call(r,o);return Object(dr.q)(a)||(t[i]=a),t},{});return
Object(dr.q)(s)?null:Vt({},a,{},s)}function Ft(t,e){if(void 0===e&&(e={}),!t)return
e;var
i=t.global,n=t.important,r=t.overwrite,o=t.fatal,a=t.remove;i&&(e.global=i);var
s=Object(dr.t)(n);s&&(e[fr.a]=s);var d=Object(dr.t)(o);return
d&&(e.fatal=d),Object(dr.t)(a)&&(e[fr.d]=!0),void 0!=r&&(e[fr.b]=r),e}function
Wt(t,e,i,n){void 0===i&&(i={}),void 0===n&&(n={});var r=n,o=r.processValue,a=void
0===o?function(t){return t}:o,s=r.includeCondition,d=void 0===s?function(){return!
0}:s;return t&&[].concat(e).forEach(function(e){var
n=t[e];e&&d(n)&&(i[e]=a(n))}),i}function Ht(t){return t&&pr.l.forEach(function(e)
{return delete t[e]}),t}function zt(t,e){function i(t){return t?"string"==typeof t?
[t]:t:null}var n=t&&(e?t[e]:t)||{};if("string"==typeof
n)return{urls:n.split(",")};if(Array.isArray(n))return{urls:n};var r=e?
Lt.call(this,t,e,i.bind(this)):i.call(this,t);return r&&r.length&&r[0]||r||
null}function Bt(t,e){try{var i=localStorage.getItem(e);return
null===i&&(i=1+Xn(Math.random()*t),localStorage.setItem(e,i)),""+i}catch(e)
{return""+(t+1)}}function Ut(){return""+(1+Xn(100*Math.random()))}function qt(t)
{return(this.failedInsertingFormatOptions||[]).some(function(e){return
function(t,e){return Object.entries(t).every(function(t){var i=t[0],n=t[1];return
e[i]==n})}(e,t)})}function Gt(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Xt(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?Gt(Object(e),!0).forEach(function(i)
{Yt(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gt(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function Yt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Qt(t,e){void
0===e&&(e="Extensions >"),(this.logger||or.b).trace(".parseVnFormat()");var
i=Object(pr.i)(t,oa,Jt,{parentPrefix:e,multipleOptionName:"Format"});if(i){var
n=Object.values(i),r=n&&n.length&&n[0];if("object"!=typeof r)throw
Error(aa+".parseVnFormat() invalid type");return r}return null}function Jt(t){var
e=Object(pr.d)(t,"name")||t.getAttribute("name"),i=Object(pr.k)
(t),n={name:e};return i&&(n.options=i),n}function Zt(t,e){void
0===e&&(e="vnFormat"),(this.logger||or.b).trace(".parseVnFormatObject()");var i=e?
Lt.call(this,t,e,Kt.bind(this)):Kt.call(this,t);return i&&i.length?i[0]:i}function
Kt(t){var e=Xt({},t),i=(e||{}).name;if(!i)return null;var n=Ft(e,
{name:i});Ht(e);var r=$o(e);return r&&(n.options=r),n}function $t(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function te(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?$t(Object(e),!0).forEach(function(i)
{ee(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):
$t(Object(e)).forEach(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function ee(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function ie(t,e){return void
0===e&&(e="Extensions >"),(this.logger||
or.b).trace(".parseVnControls()"),Object(pr.i)(t,sa,function(t){var
e=t.querySelectorAll("control");if(e){var i=Array.from(e).reduce(function(t,e){var
i={},n=e.getAttribute("id");i.id=n,i.parsePoint=!0;try{var r=Object(pr.e)
(e);r&&(i.css=JSON.parse(r)),e&&e.getAttributeNames&&e.getAttributeNames().forEach(
function(t){return i[t]=e.getAttribute(t)}),i.global=Object(dr.t)
(i.global)}catch(t){}return n&&(t[n]=i),t},{});if(!Object(dr.q)
(i))return{controls:i}}return null}.bind(this),{parentPrefix:e})}function ne(t,e)
{void 0===e&&(e="vnControls");var i=Lt(t,e,function(t){if(Object(dr.q)(t))return
null;var e=te({},t),i=Ft(e,{});return Ht(e),Wt(e,"enableWithVPAID",i,
{processValue:function(t){return Object(dr.t)(t)}}),Wt(e,"remove",i,
{includeCondition:function(t){return void 0!=t},processValue:function(t){return
Object(dr.t)(t)}}),i.parsePoint=!0,i});return Object(dr.q)(i)?null:
{controls:i}}function re(t,e){return void 0===e&&(e="Extensions
>"),this.getAPI&&this.getAPI().logger||or.b,Object(pr.i)(t,ua,oe,
{parentPrefix:e})}function oe(t){var
e=ae(t&&t.querySelector("include")),i=ae(t&&t.querySelector("exclude")),n=Object(pr
.d)(t,"availableUrlsPattern");return e||i||n?
{include:e,exclude:i,availableUrlsPattern:n}:null}function ae(t,e){void
0===e&&(e={optionName:"code"});var i=Object(pr.k)(t,e);return
i&&Object.keys(i).forEach(function(t){i[t][fr.e]=t}),i}function se(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function de(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?se(Object(e),!0).forEach(function(i)
{le(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):se(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function le(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function ce(t,e){void
0===e&&(e="Extensions >"),(this.logger||or.b).trace(".parseSkipTime()");var
i=t.querySelector("Linear[skipoffset]"),n=i&&i.getAttribute("skipoffset");n&&(n=~n.
indexOf("%")?function(t,e){var i=Object(ir.b)
(t),n=.01*parseInt(e.substr(0,2),10);return i&&Xn(Object(pr.g)(i)*n)||NaN}
(t,n):Object(pr.g)(n));var r=pr.i.call(this,t,"skipTime",ue,
{parentPrefix:e});return Object(dr.q)(r)&&(r=pr.i.call(this,t,"skipTime2",ue,
{parentPrefix:e})),Object(dr.q)(r)?void
0!=n&&{skipTime:n}||null:de({},r,{},void 0!=n&&{skipTime:n})}function ue(t){if(!
t)return null;var e=Object(pr.e)(t)||Object(pr.d)(t,"value");return void 0==e?null:
{skipTime:Object(pr.g)(e),strict:Object(pr.d)(t,"strict")||Object(dr.t)
(t.getAttribute("strict"))}}function he(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function pe(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?he(Object(e),!0).forEach(function(i)
{fe(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):he(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function fe(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function ge(t,e){return void
0===e&&(e="Extensions >"),this.getAPI&&this.getAPI().logger||
or.b,pr.i.call(this,t,fa,ve,{parentPrefix:e})}function ve(t){if(t){var
e=Object(pr.k)(t),i=Object(dr.t)(Object(pr.d)
(t,"fatal")),n=t&&t.querySelector("words"),r=n&&Object(pr.e)(n).replace(/[,\s]+
$/g,"").split(/\s*,\s*/i).join("|"),o=Object(pr.e)
(t,"selector")||"",a=t.querySelectorAll("blockedMetrics"),s=a&&Array.from(a).map(fu
nction(t){return Object(pr.e)(t)});return e||r||o||s?
{options:e,pattern:r,selector:o,trackings:s,fatal:i}:null}return null}function
be(t,e){void 0===e&&(e="vnProhibitedWords"),(this.logger||
or.b).trace(".parseVnProhibitedWordsObject()");var i=e?
Lt.call(this,t,e,me.bind(this)):me.call(this,t);return i&&i.length&&i[0]||i||
null}function me(t){var e=pe({},t),i=Ft(e);Ht(e);var
n=e.words,r=e.selector,o=e.blockedMetrics,a=n.replace(/[,\s]+
$/g,"").split(/\s*,\s*/i).join("|"),s=[].concat(o);return a||r||s?pe({},i,
{pattern:a,selector:r,trackings:s}):null}function ye(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Oe(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Ae(t,e){return void
0===e&&(e={}),new Promise(function(i){var n=function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
ye(Object(e),!0).forEach(function(i)
{Oe(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ye(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},wa,
{},e||{})||
{},r=n.shouldCreateIframe,o=n.attributes,a=n.styles,s=n.iframeAttributes,d=n.logger
,l=n.sandbox,c=n.cssClass;d&&d.trace(".initIframe() Creating sandboxed iframe");var
u=document.createElement(r?"iframe":"div");Object(cr.u)(u,o),Object(cr.b)
(u,a),c&&u.classList.add(c),r&&(Object(cr.u)(u,s||{}),u.sandbox=l);var
h=Object(cr.v)(u,{onload:function(){d&&d.trace(" createIframe() initIframe()
@load"),clearInterval(h),i(u)}});r&&(u.src=ur.i?"javascript:":"about:blank"),t&&t.a
ppendChild(u),d&&d.log(" createIframe() onFrameLoaded() sandboxed iframe was
appended")})}function we(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols)
{var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function _e(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Pe(t,e){return void
0===e&&(e="Extensions >"),this.getAPI&&this.getAPI().logger||or.b,Object(pr.i)
(t,_a,Se,{parentPrefix:e})}function Se(t){if(!t)return null;var
e={},i=parseInt(Object(pr.e)(t,"continue"),10);if(0<!i){var
n=t.querySelector("continue");i=n&&parseInt(n.getAttribute("value"),10)}if(0<i)retu
rn{continueNumber:i,parsePoint:!0};e.fgColor=Object(pr.e)
(t,"color","white"),e.bgColor=Object(pr.e)
(t,"bgColor","black"),e.function=Object(pr.e)(t,"function"),e.timeout=Object(pr.g)
(Object(pr.e)(t,"time"));var r=t.querySelector("replay");if(r){var o=Object(pr.e)
(r,"label","Воспроизвести еще
раз"),a={},s=r.querySelectorAll("clickTracking");a.clicks=s&&Array.from(s).map(func
tion(t){return Object(pr.e)(t)}),e.replay={title:o,trackings:a}}var
d=t.querySelector("close");if(d){var l=d&&Object(pr.e)
(d,"label","Закрыть"),c={},u=d.querySelectorAll("clickTracking");c.clicks=u&&Array.
from(u).map(function(t){return Object(pr.e)(t)}),e.close={title:l,trackings:c}}var
h=t.querySelector("advertiser");if(h){var p=Object(pr.e)(h,"label","Перейти на сайт
рекламодателя"),f=Object(pr.e)(h,"url")||Object(pr.e)
(t,"ClickThrough"),g={};if(Object(pr.e)(h,"clickTracking",!1)){var
v=h.querySelectorAll("clickTracking");g.clicks=v&&Array.from(v).map(function(t)
{return Object(pr.e)(t)})}else{var b=t.querySelectorAll("VideoClicks
ClickTracking");g.clicks=b&&Array.from(b).map(function(t){return Object(pr.e)
(t)})}e.advertiser={title:p,url:f,trackings:g}}var
m=t.querySelector("featured");if(m){var y=Object(pr.e)
(m,null,"");e.featured={html:y}}return e.parsePoint=!0,e}function je(t,e){var
i=this;oo.d.call(t,"afterplay");var n=10*(ur.h&&window.devicePixelRatio||
0),r=e.function,o=e.fgColor,a=e.bgColor,s=this.afterplayTimeoutId,d=(this.moduleAPI
||{}).getOptions,l=(d&&d()||
{}).formatExpandingDuration;if(this._formatExpandingDuration=l||
0,r&&window[r])return clearTimeout(s),this._isActive=!1,void t.stopAd();var
c=t.getControlNode("wrapper"),u=t.getControlNode("skipAd"),h=t.getControlUnionData(
_a,"css")||{},p=Object(cr.a)(c,"div",function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
we(Object(e),!0).forEach(function(i)
{_e(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):we(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:4,top:0,right:0,bottom:0,left:0,overflow:"hidden"},h))
,f=e.advertiser,g=e.replay,v=e.close,b=g||f||v,m=Object(cr.a)(p,"div",
{display:b?"flex":"block",alignItems:"stretch",width:"100%",height:"100%",fontSize:
100-
n+"%",lineHeight:1.5,fill:o,stroke:o,color:o,backgroundColor:a,userSelect:"none"});
if(u&&Object(cr.b)(u,{display:"none"}),b){var y=Object(cr.a)(m,"div",{flex:"1 1
50%",display:"flex",flexFlow:"column
nowrap",justifyContent:"center"});y.className="afterplay-controls";var
O=function(t,e,i,r){var o=Object(cr.a)(t,"div",
{display:"flex",alignItems:"center",padding:"2%
4%",cursor:"pointer",boxSizing:"border-box",textAlign:"left"},null,r);return
Object(cr.a)(o,"div",{flex:"1 1
10%",maxWidth:"50px",minWidth:"20px",maxHeight:"50px",minHeight:"20px",transform:"s
cale("+(1-n/100)+")"},e),Object(cr.a)(o,"div",{flex:"1 1
90%",paddingLeft:"10px"},i),ur.h||(o.addEventListener("mouseenter",function()
{return Object(cr.b)(o,{opacity:.8})}),o.addEventListener("mouseleave",function()
{return Object(cr.b)(o,
{opacity:1})})),o},A=t.isVpaidJs();if(A&&this.logger.log(Pa+"::Replay The ad that
has been played was VPAID so we can not replay the same ad. Replay is not
available."),g&&!A){var w=g.title,_=g.trackings;O(y,ba.a,w,function()
{clearTimeout(s),Object(cr.s)(p);var e=(_||
{}).clicks;e&&Yo.l.call(t,e),t._replay(),i._isReplay=!
0,u&&t&&t.adSkippableState&&Object(cr.b)(u,{display:"block"})}).className="___vn-
replay-control_replay___"}if(f){var P=f.title,S=f.trackings,j=f.url;if(j||
(j=t._getLastParameters().ClickThrough)&&this.logger.log(Pa+"::Advertiser
@AdStopped advertiser's url is not defined so got url from last VAST's VideoClicks-
>ClickThrough ("+j+")"),j)O(y,ya.a,P,function(){clearTimeout(s);var e=(S||
{}).clicks;e&&Yo.l.call(t,e),Object(po.b)(j)}).className="___vn-replay-
control_open_url___"}if(v){var E=v.title,C=v.trackings;O(y,Aa.a,E,function()
{clearTimeout(s);var e=(C||{}).clicks;e&&Yo.l.call(t,e),i._isActive=!
1,t.stopAd()})}u&&Object(cr.b)(u,{display:"none"})}var
D=e.featured;D&&function(t,e,i,n){var r=n?{flex:"1 1 50%"}:{},o=Object(cr.a)
(i,"div",r);o.className="afterplay-featured",Ae(o,{shouldCreateIframe:!
0,logger:this.logger,sandbox:"allow-forms allow-same-origin allow-pointer-lock
allow-scripts allow-popups allow-top-navigation"}).then(function(i){var
n=e.html,r=i.contentDocument&&i.contentDocument.body||i;r.innerHTML=n;var
o=r.getElementsByTagName("script");if(o){var a=t.getControlNode("iframe");
(a&&a.contentWindow||window).VIDEONOW={subscribe:t.subscribe.bind(t)},function(t,e)
{!function i(n){var r=o.item(n);if(r)if(r.src){var
a=e.createElement("script");a.src=r.src,a.onload=i.bind(this,n+1);var
s=e.getElementsByTagName("head")[0];try{s.appendChild(a)}catch(t)
{}}else{try{t.eval(r.innerHTML)}catch(t){}i(n+1)}}(0)}(i.contentWindow||
window,i.contentDocument||document)}})}.call(this,t,D,m,b);var
I=e.timeout;I&&I<1/0&&(this.afterplayTimeoutId=setTimeout(function()
{t._destroy()},1e3*I))}function Ee(t){var e=t&&t.querySelector('Extensions >
Extension[type="vnAdEvents"]'),i=e&&e.querySelector("function"),n=e&&e.querySelecto
r("scriptUrl"),r=n&&decodeURIComponent(n),o=Object(pr.d)(e,"global"),a=Object(pr.d)
(e,"handlerName"),s=Object(pr.d)(e,"events"),d=s&&s.length?"*"===s?"*":s.split(/
[\s+,]/):null,l=d&&d.length?"*"===d?Ca:Ca.filter(function(t){return-
1<d.indexOf(t)}):null;return o||a||l||i||r?
{global:o,handlerName:a,events:l,vnFunction:i,vnScriptUrl:r}:null}function Ce(t)
{var e=t&&t.querySelector('Extension[type="'+Da+'"]');return e?
{eventsParams:Object(pr.k)(e,{optionName:"Event",onlyTopLevel:!
0}).reduce(function(t,e){var i=e.getAttribute("name"),n=Object(pr.k)(e,
{optionName:"Parameter"});return i&&n&&(t[i]=n),t},{}),global:Object(pr.d)
(e,"global"),important:Object(pr.d)(e,"important")||
e.getAttribute("important")}:null}function De(t,e){return void
0===e&&(e="Extensions >"),(this.logger||
or.b).trace(".parseVnCreative()"),Object(pr.i)(t,Ia,Ie,{parentPrefix:e})}function
Ie(t){var e=Object(pr.d)(t,"global"),i=Object(pr.d)
(t,"important"),n=["debug","passed","passed2","select","impression"].reduce(functio
n(n,r){var o=t&&t.querySelector(r);if(o){var a=Object(pr.d)
(o),s=Te(o,"global"),d=Te(o,"important");n[r]={url:a,important:ke(i,d),global:ke(e,
s)}}return n},{});return Object(dr.q)(n)?null:n}function Te(t,e){var
i=t.getAttribute(e);return!("true"!==i)||"false"!==i&&null}function ke(t,e){return
null==t?e:null==e?t:t&&e}function xe(t){var
e=t&&t.querySelector('Extension[type="'+ka+'"]');return e?
{enabled:"true"===e.getAttribute("enabled"),global:"true"===e.getAttribute("global"
),important:"true"===e.getAttribute("important")}:null}function Ne(t){var
e=t&&t.querySelector('Extension[type="'+xa+'"][caching="true"]');if(e){var
i="true"===e.getAttribute("global"),n="true"===e.getAttribute("important");return{s
erverUrl:e.getAttribute("serverUrl"),strict:"true"===e.getAttribute("strict"),globa
l:i,important:n}}return null}function Me(t){var
e=t&&t.querySelector('Extension[type="'+Na+'"]'),i=Object(pr.d)
(e,"eventName"),n=Object(pr.d)(e,"handlerName"),r=Object(pr.d)
(e,"global"),o=Object(pr.d)(e,"important");return n||i||o||r?
{global:r,important:o,eventName:i,handlerName:n}:null}function Ve(t){var
e=t&&t.querySelector('Extension[type="'+La+'"]');if(!e)return null;var
i=e.querySelector("url > clickTracking"),n=Object(pr.e)(e,"url >
url"),r=Object(pr.e)(e,"html",""),o=Object(pr.d)(e,"global"),a=Object(pr.d)
(e,"important"),s=Object(pr.e)(e,"color"),d=Object(pr.e)
(e,"bgColor"),l=Object(pr.e)(e,"bgImage"),c=Object(pr.e)
(e,"bgPosition","cover"),u=Object(pr.e)
(e,"opacity","1"),h=e.querySelector("close");return{global:o,important:a,html:r,cli
ckTracking:i,openWindowUrl:n,color:s,backgroundColor:d,backgroundImage:l,background
Size:c,opacity:u,closeData:h&&{img:h.getAttribute("img"),time:h.getAttribute("time"
),top:h.getAttribute("top"),right:h.getAttribute("right"),bottom:h.getAttribute("bo
ttom"),left:h.getAttribute("bottom"),width:h.getAttribute("width"),height:h.getAttr
ibute("height")}}}function Re(t,e){return void 0===e&&(e="trackViewable"),
(this.logger||
or.b).trace(".parseVnOTMTrackViewableObject()"),zt.call(this,t,e)}function Le(t,e)
{return void 0===e&&(e="trackRecordable"),(this.logger||
or.b).trace(".parseVnOTMTrackRecordableObject()"),zt.call(this,t,e)}function
Fe(t,e){return void 0===e&&(e="domainsBlockList"),(this.logger||
or.b).trace(".parseVnDomainsBlockList()"),zt.call(this,t,e)}function We(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function He(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function ze(t,e){var i=this;return void
0===e&&(e="vnSets"),Lt(t,e,function(t){var e=t.extensions;if(!e)return null;var
n=Ht(function(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?We(Object(e),!0).forEach(function(i)
{He(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):We(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({},e));return Object.entries(n).reduce(function(t,e){var
n=e[0],r=e[1],o=$a[n];if(o){var a=o(r,i);Object(dr.q)(a)||(t[n]=a)}return t},
{})})}function Be(t){var e=Object(pr.d)(t,"name")||t.getAttribute("name");return
e&&{name:e}||null}function Ue(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function qe(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Ge(){var
t,e=this.vpaid,i=this._countdown;e&&0<=(t=e.getAdDuration())&&(this._removeTimeout(
os),i&&(function()
{this._countdown&&(this._countdown._destroy(),this._countdown=null)}.call(this),thi
s[rs]),this.adDuration!
==t&&(this.adDuration=t,this.trigger("AdDurationChange")));var n=!e||null==t||
0>t;return n&&this[rs],n}function Xe(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Ye(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?Xe(Object(e),!0).forEach(function(i)
{Qe(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Xe(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function Qe(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Je(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Ze(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?Je(Object(e),!0).forEach(function(i)
{Ke(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Je(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function Ke(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function $e(t,e){var i=this;(function(t,e)
{var i=this;gs.forEach(function(n){e&&e.includes(n)||
i._addVPAIDEventListener(t,n,i.vpaidEventListeners[n]=i.trigger.bind(i,n))})}).call
(this,t,["AdLoaded","AdStarted","AdVideoStart"]);var
n=this.vpaidEventListeners,r="AdLoaded",o=n[r]=function(t){i._adWasLoaded=!
0,i.trigger(r,t);var
e=i.lastPendingCommands.resizeAd;e&&(e(),i.trigger("slotSizeChanged",
{shouldNotResize:!1}),delete i.lastPendingCommands.resizeAd),
(e=i.lastPendingCommands.setAdVolume)&&(e(),delete
i.lastPendingCommands.setAdVolume),i.onAdLoaded()};this._addVPAIDEventListener(t,r,
o),this._addVPAIDEventListener(t,"AdError",function(t,e)
{i.stopCountdown(),ti.call(i),i.trigger("AdError",t,e)});var
a=this._addDOMEventListener(e,"playing",function()
{i._removeDOMEventListener(e,"playing",a),i._videoStartedResolve()}),s="AdVideoStar
t";n[s]=this._addVPAIDEventListener(t,s,function(t){e&&e.src&&e.src.length&&!
e.paused?i._videoStartedPromise.then(function(){return
i.trigger(s,t)}):i.trigger(s,t)});var
d="AdStarted";n[d]=this._addVPAIDEventListener(t,d,function()
{Ge.call(i)&&i._addTimeout(ps,Ge.bind(i),500),i.trigger(d)}),n.AdVolumeChangeSecond
=this._addVPAIDEventListener(t,"AdVolumeChange",function(){var
t=i.videoSlot,e=i.options.module;if(t&&e.vpaidJsVideoSlotShouldBeMuted()){var
n=i.vpaid.getAdVolume(),r=t.muted,o=t.volume;n||ur.g||(n=r?0:o),(.999<n||.001>n?
i.logger.log:i.logger.trace)(i[hs]+" AdVolumeChange("+n+")
videoSlot.muted="+r),r&&.999<n?t.muted=!1:!r&&.001>n&&(t.muted=!0)}})}function
ti(t){var e=this,i=this.vpaidEventListeners,n=this.vpaid;!n||
i&&Object.keys(i).forEach(function(r){t&&t.includes(r)||
(e._removeVPAIDEventListener(n,r,i[r]),delete i[r])})}function ei(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function ii(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function ni(){var
t=this.jsmpeg,e=this.videoSlot,i=this.getAdExpanded();t.pause(),i&&e&&e.pause()}fun
ction ri(){0<this.getAdVolume()?this.expandAd():this.collapseAd()}function oi(t,e)
{var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function ai(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function si(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function di(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function li(){var
t=this.videoSlot;t&&t.pause()}function ci(t){var
e=t.target,i=e.duration,n=e.currentTime;if(!isNaN(i)){this.adDuration=i;var
r=this.adRemainingTime,o=this.options.startTime;r||n===o||(n=o);var a=(0^1e3*(i-
Zn(n,i)))/1e3;a===r||
(this.adRemainingTime=a,i=(0^1e3*i)/1e3,this.trigger("AdRemainingTimeChange"),a<i&&
r===i&&(this.trigger("AdImpression"),this.trigger("AdVideoStart")),a<.75*i&&r>=.75*
i&&this.trigger("AdVideoFirstQuartile"),a<.5*i&&r>=.5*i&&this.trigger("AdVideoMidpo
int"),a<.25*i&&r>=.25*i&&this.trigger("AdVideoThirdQuartile"),0==a&&0<r&&this.trigg
er("AdVideoComplete"))}}function ui(t){t.preventDefault();var
e=t.currentTarget&&t.currentTarget.currentSrc,i=t.target&&t.target.error;return{cod
e:i&&1<=i.code&&3>=i.code?
nr.a.GENERAL_LINEAR_ERROR:nr.a.FAIL_MEDIA_DISPLAY,message:(i&&i.message||"Load
error ")+(e?" source="+e:"")}}function hi(t){var e=this;return
t.play().then(function(t){return t}).catch(function(){return
t.play().catch(function(t){throw Object(dr.e)(t,Gs+" playVideo("+e+") failed video
autoplay",nr.a.FAIL_MEDIA_START)})})}function pi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function fi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function gi(t){var
e={},i=t&&t.querySelector("url");if(i){var n=Object(pr.d)(i);e.url=n}return
Object(dr.q)(e)?null:e}function vi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function bi(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?vi(Object(e),!0).forEach(function(i)
{mi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):vi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function mi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function yi(t){if(!t||!t.querySelector)
{var e=new Error("Malformed data xml.");return e.code=nr.a.NO_ADS_RESPONSE,e}var
i=this._disableExtensions,n={},r=Object(pr.c)
(t);r&&1<r.length&&(r=Array.from(r).filter(function(t){return
null===t.getAttribute("sequence")}));var
o=r&&r.length&&r[0],a=o.querySelectorAll("Impression");a&&(n.Impression=Array.from(
a).map(function(t){return Object(pr.e)
(t)})),n.id=o&&o.getAttribute("id"),n.uniqueId=n.id+"_"+Math.random().toString(36).
substring(2,5),n.AdSystem=Object(pr.e)(o,"AdSystem"),n.ClickThrough=Object(pr.e)
(o,"ClickThrough");var s=o.querySelector("Wrapper");if(s){var d=Object(pr.e)
(s,"VASTAdTagURI");if(!d)return null;n.wrapperUrl=d}n.vnSets=function(t){var
e=this;return Object(pr.i)(t,Ja,function(t){var i=t.getAttribute("name")||
Object(pr.d)(t,Za+" name");if(!i)return null;var
n=Ka(t,e),r=Object.keys(n).reduce(function(t,e){var i=n[e]();return i&&(t[e]=i),t},
{});return r?(r.name=i,r):null},
{multipleOptionName:"Set"})}.call(this,o),n.vnSetsApply=function(t){return
Object(pr.i)(t,ts,Be,
{multipleOptionName:"Set"})}.call(this,o),n.vnControls=ie.call(this,o),n.vnFormat=Q
t.call(this,o),n.vnCreative=De.call(this,o),n.vnNoAd=Et.call(this,o),n.vnCreativeBl
ock=Ta.b.call(this,o),n.vnBrowserCache=xe.call(this,o),n.vnCache=Ne.call(this,o),n.
vnProhibitedWords=ge.call(this,o);var l=n.vnSkipTime=ce.call(this,o),c=function(t)
{var e=Object(ir.e)(t),i=Object(ir.b)
(t);return{isEmpty:e,rawDuration:i,duration:Object(pr.g)
(i),MediaFiles:Ks.reduce(function(e,i){return e[i]=Object(ir.c)(t,i,!0),e},{})}}
(o);n.Media=bi({},c,{},l);var
u=o.querySelectorAll("Tracking");n.Trackings=u&&Array.from(u).reduce(function(t,e)
{e&&Oi(t,e.getAttribute("event"),Object(pr.e)(e));return t},{})||
{},n.adParameters=Object(pr.b)(o),n.Impression.forEach(function(t){return
Oi(n.Trackings,"Impression",t)}),n.vnVisibleInventory=function(t){var
e=t&&t.querySelector('Extension[type="'+Xo+'"]'),i=e&&e.querySelectorAll("url"),n=i
&&Array.from(i).map(function(t){return Object(pr.e)(t)}),r=Object(dr.t)
(Object(pr.d)(e,"global"));return(r||n&&n.length)&&{global:r,urls:n}}(o);var
h=o.querySelectorAll("VideoClicks
ClickTracking");h&&Array.from(h).forEach(function(t)
{Oi(n.Trackings,"ClickTracking",Object(pr.e)(t))});var
p=o.querySelectorAll('Extension[type="vnCreative"] >
*');p&&Array.from(p).forEach(function(t)
{t.tagName&&Oi(n.Trackings,"vnCreative:"+t.tagName.toLowerCase(),Object(pr.e)
(t))});var f=o.querySelectorAll("ViewableImpression >
*");f&&Array.from(f).forEach(function(t)
{t.tagName&&Oi(n.Trackings,"ViewableImpression:"+t.tagName.toLowerCase(),Object(pr.
e)(t))});var g=o.querySelectorAll('Tracking[event="progress"]');return
g&&Array.from(g).forEach(function(t){var e=Object(pr.e)
(t),i=t.getAttribute("offset"),r=Object(pr.g)(i),o=Object(pr.f)(i);Oi(n,"Progress",
{url:e,offset:i,percentValue:o,timeValue:r})}),n.vnAfterplay=Pe.call(this,o),n.vnAd
Events=Ee.call(this,o)||{},n.vnPageChanged=Me.call(this,o)||
{},n.vnEventsParams=Ce.call(this,o)||{},n.vnTrackingParams=function(t){var
e=t&&t.querySelector('Extension[type="'+$s+'"]');return e?
{trackingParams:Object(pr.k)(e,{optionName:"Parameter"}),global:Object(pr.d)
(e,"global"),important:Object(pr.d)(e,"important")||
e.getAttribute("important")}:null}.call(this,o)||{},n.vnUnderplay=Ve.call(this,o)||
{},n.vnAdErrorsRules=re.call(this,o)||{},n.vnHeavyAdIntervention=function(t,e)
{return void 0===e&&(e="Extensions >"),(this.logger||
or.b).trace(".parseVnHeavyAdIntervention()"),pr.i.call(this,t,ed,gi,
{parentPrefix:e})}.call(this,o)||
{},0>i.indexOf("vnShowViqeo")&&(n.vnShowViqeo=function(t){var
e=t&&t.querySelector('Extension[type="'+td+'"]');return e?{options:Object(pr.k)
(e),global:Object(pr.d)(e,"global"),important:Object(pr.d)(e,"important")||
e.getAttribute("important")}:null}(o)),n}function Oi(t,e,i){t&&e&&i&&(t[e]=(t[e]||
[]).concat(i))}function Ai(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function wi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function _i(){var
t=this,e=this.format,i=this.reachInventories,n=!(this.visibleInventoryWasSent||!
e)&&e.getReachInventoryFactory();if(n){var
r=n.id,o=n.waiterCreator,a=Pi.call(this),s=i[r]=function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
Ai(Object(e),!0).forEach(function(i)
{wi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ai(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},n,
{},{waiter:null,reached:!1,tracked:!1,trackingUrls:a});s.waiter=o().then(function()
{s.reached=!0,function(){var
t=this,e=this.reachInventories,i=Object.keys(e);return!
this.visibleInventoryWasSent&&i&&i.length?new Promise(function(n){return
i.reduce(function(i,r){return i.then(function(i){return!1===i?Si.call(t,e[r]):(!
0===i&&(function(){var
t=this,e=this.reachInventories,i=Object.keys(e);i&&i.length&&i.forEach(function(i)
{return ji.call(t,e[i])})}.call(t),n()),Promise.resolve(null))}).catch(function()
{return Si.call(t,e[r])})},Promise.resolve(!
1))}):Promise.resolve()}.call(t)})}}function Pi(){var
t=(this.getControlData("vnVisibleInventory")||{}).urls;return t&&t.length&&t||
[]}function Si(t){if(!this.visibleInventoryWasSent&&!
t.tracked&&t.reached&&t.waiter){var e=Pi.call(this)||
t.trackingUrls&&t.trackingUrls.length?t.trackingUrls:[];return t.tracked=!
0,ji.call(this,t),e.length?(this.visibleInventoryWasSent=!
0,Yo.l.call(this,e).then(function(){return 1<e.length&&e.length,!
0}).catch(function(){})):Promise.resolve(!1)}return Promise.resolve(!1)}function
ji(t){var e=t.destroy;e&&e()}function Ei(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function Ci(t){var e=t.getControlNode(id);this.attemptsCounter=0,e&&Object(cr.b)
(e,{display:"none"})}function Di(t){var e=t.getAdRemainingTime();return 0>e?void
Ci.call(this,t):(oo.c.call(t,"playing")&&e===this.oldCurrentTime?function(t){var
e=t.getControlNode(id);e&&Object(cr.b)(e,{display:"block"}),+
+this.attemptsCounter>this.attemptLimit&&this.trigger("AdError","getAdRemainingTime
returns the same time "+nd+" times in a
row",nr.a.TIMEOUT_OF_MEDIA)}.call(this,t):Ci.call(this,t),void(this.oldCurrentTime=
e))}function Ii(t)
{clearInterval(this.videoProgressId),this.videoProgressId=setInterval(Di.bind(this,
t),1e3)}function Ti(t){clearInterval(this.videoProgressId),Ci.call(this,t)}function
ki(){var t=function(t,e){return e||(e=t.slice(0)),t.raw=e,t}
(["Advertisement"]);return ki=function(){return t},t}function xi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Ni(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Mi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Vi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Ri(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Li(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Fi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Wi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Hi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function zi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Bi(t,e){return void
0===e&&(e={}),t?t.includes(":")&&t||e:null}function Ui(){var t=Xi(["The ad will end
in "," sec"]);return Ui=function(){return t},t}function qi(){var t=Xi(["Skip ad in
"," sec"]);return qi=function(){return t},t}function Gi(){var t=Xi(["","
sec"]);return Gi=function(){return t},t}function Xi(t,e){return e||
(e=t.slice(0)),t.raw=e,t}function Yi(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Qi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Ji(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function Zi(){var
t=this.totalTimeCountdown,e=this.invisible,i=this.reservedSkipAdTimerHandler,n=this
.timeBeforeSkipChecker,r=this.moduleAPI,o=r.getAdElapsedTime,a=r.getControlNode,s=r
.getAdRemainingTime,d=r.getAdSkippableState,l=r.getAdDuration,c=this.timeBeforeSkip
||0,u=d(),h=n?n.getAdElapsedTime():o(),p=s(),f=l();if(0>f)return!0;p>f&&!
i&&(this.reservedSkipAdTimerHandler=this._addTimeout(yd,Ki.bind(this),1e3*c));var
g=a(md);if((c===1/0||c>f)&&!t||u&&(!t||t&&!p))return Object(cr.b)(g,
{display:"none"}),!1;if(0>p)return!0;if(!g&&!e)return!1;var v=0===f?p:Qn(Zn(f,c)-
h),b=0<=v?v:Qn(p);if(b===1/0)Object(cr.b)(g,{display:"none"});else if(!e){var
m=this.isSmallSizeModule?to(Gi(),b):0<v&&c!==1/0&&c<=f?0<v?to(qi(),b):"":p!
==1/0&&to(Ui(),Qn(p));m?(g.innerHTML=m,Object(cr.b)(g,
{display:"block"})):Object(cr.b)(g,{display:"none"})}return!
this.targetTimeWasReached&&(!p||0>=v&&(c<=f||
0===f))&&(Ki.call(this),this.targetTimeWasReached=!0),!0}function Ki(){var
t=this.remainTimeChecker,e=this.totalTimeCountdown,i=this.invisible,n=this.moduleAP
I,r=n.getControlNode,o=n.setAdSkippableState,a=n.getAdRemainingTime;if(this.startin
g=!1,o(!0),!i){var s=a(),d=r(md);d&&(!e||e&&!s)&&(Object(cr.b)(d,
{display:"none"}),t&&t._destroy(),this.remainTimeChecker=null)}}function $i(t,e)
{var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function tn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function en(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function nn(){var t=this.module,e=this.invisible,i=t.getControlNode(Pd);if(i&&!
e&&!oo.c.call(t,"afterplay")){var
n=t.getAdSkippableState(),r=null;if(i)Object(cr.b)(i,
{display:n?"block":"none"}),r=Object(dr.h)
(i).offsetWidth;t.trigger("AdSkipAdPositionChanged",{offsetWidth:r})}}function
rn(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function on(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?rn(Object(e),!0).forEach(function(i)
{an(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):rn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function an(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function sn(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function dn(){var
t=this.getControlNode(Td),e=Math.ceil(this.getAdVolume());t&&(t.innerHTML=kd(e))}fu
nction ln(){var t=this.vpaid.hasAudio;void 0===t&&(t=-
1<this.vpaid.getAdVolume());var e=this.getControlNode(Td);e&&Object(cr.b)(e,
{display:t?"block":"none"})}function cn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function un(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function hn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function pn(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?hn(Object(e),!0).forEach(function(i)
{fn(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):hn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function fn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function gn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function vn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t,e){var
i=this.getControlNode(Hd),n=this.getControlNode("callButton"),r=this.getAdWidth(),o
=Zn(r*Ud,t),a=Zn(o*(e/t),e),s=0;this.format.isFloatingMode()&&(s=Bd,!
n&&(o+=2*zd,a+=2*zd)),Object(cr.b)(i,{left:s+"px",backgroundSize:o+"px
"+a+"px",width:o+"px",height:a+"px"}),this._addTimeout("callButtonIsReady",function
(){var
t=this.getControlNode(Hd),e=this.getControlNode("callButton"),i=(e&&e.offsetHeight|
|0)-t.offsetHeight;if(0<i){var
n=window.getComputedStyle(e),r=n.marginTop;Object(cr.b)(t,
{marginTop:i/2+parseInt(r,10)+"px"})}}.bind(this),0)}function mn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function yn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function On(){var
t=this.getControlNode(Gd),e=this.getControlNode("advLogo"),i=this.getAdWidth(),n=e?
$d:0,r=e&&e.offsetWidth||
0,o=getComputedStyle(t).borderWidth,a=2*parseInt(o,10),s=this.format.isFloatingMode
(),d=Zn(i*Kd,Jd),l=i*Zd;i<tl&&(l=i-r-n-2*nl-a);var c=0;s&&(l=i-r-n-2*nl-a-
20,d=Jd,c=el),Object(cr.b)(t,
{right:c+"px",width:l+"px",height:d+"px"}),this._addTimeout("advLogoIsReady",functi
on(){var
t=this.getControlNode(Gd),e=this.getControlNode("advLogo"),i=(e&&e.offsetHeight||
0)-t.offsetHeight;if(0<i){var n=getComputedStyle(e),r=n.marginTop;Object(cr.b)(t,
{marginTop:i/2+parseInt(r,10)+"px"})}}.bind(this),0)}function An(){var
t=function(t,e){return e||(e=t.slice(0)),t.raw=e,t}(["Learn more"]);return
An=function(){return t},t}function wn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function _n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Pn(){var
t=this.getControlNode(ol),e=this.getControlNode("title"),i=this.getControlNode("wra
pper"),n=e&&parseInt(getComputedStyle(e).height,10)||
i&&parseInt(getComputedStyle(i).paddingTop,10)||
0,r=parseInt(getComputedStyle(t).width,10),o=(this.getControlUnionData(ol,"position
")||
hl).toLowerCase(),a=this.getAdWidth(),s=this.getAdHeight(),d=this.getControlUnionDa
ta(ol,"marginV")||"10%",l=this.getControlUnionData(ol,"marginH")||"5%",c={};~o.inde
xOf("top")?c.top=Object(dr.s)(Sn(d,s)
+n):~o.indexOf("bottom")&&(c.bottom=Object(dr.s)(Sn(d,s))),~o.indexOf("left")?
c.left=Object(dr.s)(Sn(l,a)):~o.indexOf("right")?c.right=Object(dr.s)
(Sn(l,a)):c.left=Object(dr.s)(.5*a-r/2),Object(cr.b)(t,c)}function Sn(t,e){var
i=Object(pr.f)(t);return null==i?parseFloat(t):i*e}function jn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function En(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Cn(t,e){var i=this;void
0===t&&(t=!1),void 0===e&&(e=!1);var
n=this.getControlUnionData("adSpectorControls"),r=this.fixedFormat;if(r){var
o=this.destroyUIControls();o&&o.length&&o.forEach(function(t)
{i.getControlNode(t)&&i.setControlData(t,
{node:null})}),Object.entries(this.fixedControlsSlots||{}).forEach(function(t){var
e=t[0],n=t[1];n&&i.setControlData(e,
{node:n}),"vpaidslot"===e.toLowerCase()&&(n.innerHTML="")});var
a=this.format;a&&a.updateControlsLayout&&a.updateControlsLayout()}else{var
s=this.destroyControls();s&&s.length&&s.forEach(function(t)
{i.getControlNode(t)&&i.setControlData(t,{node:null})})}var d=t&&"1"!==n?
yl.filter(function(t){var
e=i.getControlUnionData(t.getName(),"enableWithVPAID");return Object(dr.t)
(e)}):yl;this._useExistsVideoSlot&&this.setControlData("container",{css:
{background:"none"}});var l=r?[]:[].concat(ml);return
this.options.hideSpinnerControl||l.push(rd),this.options.hideTitleControl||
l.push(ad),[].concat(e?[]:l,d).reduce(function(t,e){return t.then(function(){var
t;try{t=new e(i),i.pushControlIntoCollection(t)}catch(t){}return t&&t.isReady?
t.isReady():Promise.resolve()})},Promise.resolve()).then(function(){return
function(){var
t=this,e=this.getControlNode("wrapper"),i=vo.a.call(this).paddingTop,n=this.getCont
rolNode("title"),r=this.getControlNode("logo");e&&i&&n&&0===n.getBoundingClientRect
().height&&r&&0===r.getBoundingClientRect().height&&(Object(cr.b)(e,
{paddingTop:0}),setTimeout(function(){return
t.trigger("slotSizeChanged")}))}.call(i),!0})}function Dn(t,e,i){t.some(function(t)
{return!(!t.getName||t.getName()!==e||(i(t),0))})}function In(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Tn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function kn(){var
t=this.getAdAspectRatio(),e=this.getControlNode("wrapper"),i=Object(cr.a)
(e,"div",function(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?In(Object(e),!0).forEach(function(i)
{Tn(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):In(Object(e)).forEac
h(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(
e,i))});return t}
({display:"none",position:"absolute",zIndex:5,bottom:1>=t?"10%":"25%",left:"50%",tr
ansform:"translateX(-
50%)",padding:"5px",borderRadius:"3px",color:"white",background:"rgba(0, 0, 0,
0.3)",fontSize:"10pt",lineHeight:1.3,textAlign:"center",whiteSpace:"pre",pointerEve
nts:"none"},this.getControlUnionData(Pl,"css")));this.setControlData(Pl,
{node:i})}function xn(){return Object(dr.f)(Cl,this)}function Nn(t,e){var
i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Mn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function Vn(t){var
e=this,i=(t.getControlUnionData("vnHeavyAdIntervention")||{}).url,n=function(t)
{return[function(){return
t.trigger("AdError","HeavyAdIntervention",nr.a.GENERAL_VPAID_ERROR)},function()
{return Object(Ko.e)
("AdError")}]}.call(this,t);t&&t.vpaid&&t.vpaid.getMediaInfo().then(function(t)
{return e.mediaInfo=t}),t.getAdIframes().then(function(t)
{t&&t.forEach(function(t,r){var o=t&&Rn.call(e,t,i,
{srcFrame:"iframe-"+r},n);o&&e.observers.push(o)})});var r=Rn.call(this,window,i,
{srcFrame:"window"},n);r&&this.observers.push(r);try{var
o=window.document.querySelector("iframe[name=viqeo-player-
frame]"),a=o&&Rn.call(this,o,i,{srcFrame:"viqeo-player-
frame"},n);this.observers.push(a)}catch(t){}}function Rn(t,e,i,n){var
r,o=this;try{if(!(r=t.contentWindow||t)||!r.ReportingObserver)return null;var a=new
r.ReportingObserver(function(){},{buffered:!
0});a.observe(),this._addDOMEventListener(r,"unload",function(){var
t=a.takeRecords(),s=i||{};s=function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?Nn(Object(e),!0).forEach(function(i)
{Mn(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Nn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},s,
{mediaInfo:o.mediaInfo||{}}),0<function(t,e,i,n){if(!e||!i||!i.length)return 0;var
r=0;return Array.from(i).forEach(function(i){if(i&&"intervention"===i.type){r+
+,n&&(i.advancedInfo=n);try{var
o=JSON.stringify(i);t.navigator.sendBeacon(e,o)}catch(t){}}}),r}
(r,e,t,s)&&n&&n.forEach(function(t){return setTimeout(t)})})}catch(t){}}function
Ln(t,e){var i=this;void 0===e&&(e=!1);var n=this._getLastParameters()||
{},r=n.adParameters;return r&&(this.creativeData.AdParameters=r),
(t&&Promise.resolve(t)||Fn.call(this,
{shouldCreateReserveVpaid:e,parameters:n})).then(function(t){i.vpaid=t;var e=t||
{},n=e.adWidth,r=e.adHeight;return t&&t instanceof fs&&!n&&!
r&&t.getLinkedVpaid&&t.getLinkedVpaid().then(function(t)
{if(~t.toString().indexOf("VpaidExternalJs")){var
e=i.format;e&&e.fullscreenSwitchOn&&e.fullscreenSwitchOn()}}),t.setAdExpanded(i.get
AdExpanded()),t.setAdSkippableState(i.getAdSkippableState()),t.setAdVolume(i.getAdV
olume()),i.progressTrackingEvents=[],i.data.forEach(function(t){var
e=t.parameters.Progress;e&&e.forEach(function(t)
{i.progressTrackingEvents.push(t)})}),t.subscribe(Yo.k.bind(i),"AdRemainingTimeChan
ge"),Object(Ko.f)(i,t),Ko.a.forEach(function(e){return
t.subscribe(i.trigger.bind(i,e),e)}),t}).then(function(t){var
e;if(i.fixedFormat)return t;var n=null===i||void 0===i||null===(e=i.options)||void
0===e?void 0:e.mainContainerIsIframe,r=(i.getControlUnionData("mainContainer")||
{}).isIframe;return void 0!==r&&(n=r),function(t){var e=this;void 0===t&&(t=!0);var
i=this.vpaid,n=this.parentFormat;return this.vpaidIsExternal=i&&i instanceof
as,this.shouldCreateIframe=t,new Promise(function(r){var
o=e.getControlNode("slot");if(!Object(cr.o)(o))throw new Error("Invalid
environmentVars.slot ("+o+")");var a=e.getControlNode("iframe");a?n?
(a.setAttribute("allow","autoplay"),Object(cr.v)(a,{onload:function()
{if(e.getControlNode("wrapper")&&n){var t=(vo.a.call(e)||
{}).paddingTop;t&&n.updateControlsLayout&&n.updateControlsLayout(t,!
1,e.getAPI())}Cn.call(e,e.vpaidIsExternal,!0).then(function(){return
r(i)})}})):Object(cr.v)(a,{onload:function(){Cn.call(e,e.vpaidIsExternal,!
1).then(function(){return r(i)})}}):Ae(o,
{shouldCreateIframe:t,logger:e.logger,sandbox:"allow-forms allow-same-origin allow-
pointer-lock allow-scripts allow-popups allow-top-navigation"}).then(function(t)
{var i,n=(e.options||{}).iframeRemoveDelay,r=t&&"IFRAME"===t.tagName&&n||
0;e._addDOMNode(t,r),e.setControlData("iframe",
{node:t}),e._useExistsVideoSlot&&Object(cr.b)(t,
{position:"absolute",left:0,top:0,zIndex:null}),t.contentDocument&&Object(cr.b)
(t.contentDocument.documentElement,{minHeight:"100%"});var o=(null===t||void
0===t||null===(i=t.contentDocument)||void 0===i?void 0:i.body)||t;Object(cr.b)(o,
{minHeight:"100%",padding:0,margin:0,overflow:"hidden",fontFamily:"Arial,
Helvetica, sans-serif",fontSize:"14px"})}).then(function(){return
r(i)})})}.call(i,n)}).then(function(){return
Cn.call(i,i.vpaidIsExternal)}).then(function(){return
i.format._vpaidInitAd()}).then(function(){var t=this;if(oo.c.call(this,
["destroying","destroyed"]))return Promise.reject();var
e=this.viewMode,i=this.desiredBitrate,n=this.vpaid,r=this.format,o=this.vnAfterplay
,a=this.options.vpaidInitAdSecTimeout,s=this.creativeData.AdParameters,d=this.envir
onmentVars.videoSlotCanAutoPlay,l=this.options.vpaidInitAdTimeout;o&&o.shouldContin
ue()&&0<o._getTotalSuccessfulPlays()&&(l=a);var
c=this.getControlNode("iframe"),u=this.getControlNode("vpaidSlot")||
this.getControlNode("slot"),h=this.getControlNode("wrapper"),p=h||
this.getControlNode("slot"),f=vo.c.call(this),g=this.getControlUnionData("vnShowViq
eo");g?(this.setAdVolume(0),(f=f&&Object(cr.a)(u,"video",
{width:"1px",height:"1px"}))&&(this._addDOMNode(f),f.volume=0,f.mute=!0)):!
f&&this.fixedFormat&&this.fixedVideoSlot&&(f=this.fixedVideoSlot);var
v=getComputedStyle(h||u||c&&("DIV"===c.tagName?
c:c.contentWindow.document.body)),b=v.paddingTop,m=v.paddingRight,y=v.paddingBottom
,O=v.paddingLeft,A=this.environmentVars.forceAspectRatio,w=this.getAdWidth()||
n.getAdWidth()||p.offsetWidth,_=this.getAdHeight()||n.getAdHeight()||
0^w*(n.getAdAspectRatio()||
9/16),P=r.correctAdSize(w,_),S=P.adWidth,j=P.adHeight;return
isNaN(l),this._removeTimeout(Zo.e),this._addTimeout(Zo.e,function(){var
e=t.vpaid;e&&e._destroy(),t.vpaid=null,t._failedData({shouldDestroyVpaid:!
0})},l),n.subscribe(function()
{t._removeTimeout(Zo.e)},"AdLoaded"),n.subscribe(function()
{t._removeTimeout(Zo.e)},"AdError"),n.initAd(g?1:S,g?1:j,e,i,{AdParameters:s},
{top:b,right:m,bottom:y,left:O,iframe:c,slot:u,parentSlot:p,videoSlot:f,videoSlotCa
nAutoPlay:d,forceAspectRatio:A,shouldCreateIframe:this.shouldCreateIframe,useExists
VideoSlot:this._useExistsVideoSlot,parentFormat:r,moduleAPI:
{setControlData:this.setControlData.bind(this),getControlNode:this.getControlNode.b
ind(this),addVPAIDEventListener:function(e,i,n){return void
0===n&&(n=t),n._addVPAIDEventListener(t,e,i)},removeVPAIDEventListener:function(e,i
,n){return void
0===n&&(n=t),n._removeVPAIDEventListener(t,e,i)},getFormat:function(){return
t.format}}})}.bind(this)).then(function(t){return
t.getModuleOptions&&t.getModuleOptions().then(function(t)
{t&&cs.c.call(i,t)}),i.lastPendingVolumeCommand&&i.lastPendingVolumeCommand(),i.las
tPendingVolumeCommand=null,t}).then(function(t){return i.trigger("vn_VPAIDCreated",
{vpaid:t}),t}).catch(function(t){if(t&&t.code===nr.a.FAIL_MEDIA_START&&!
oo.c.call(i,"destroyed")&&!oo.c.call(i,"destroying")){var e=i.vpaid;return
e&&e._destroy(),Ln.call(i,null,!0)}var n;throw t&&t instanceof String||!t?n=new
Error(""+(t||"")):t&&t instanceof Error&&(!(n=t).message&&(n.message="Could not
find supported MediaFile.")),n.code||
(n.code=nr.a.MEDIA_FILE_NOT_FOUND),n})}function Fn(t){var
e=t.parameters,i=t.shouldCreateReserveVpaid,n=e||
{},r=n.Media,o=n.adParameters,a=(r||{}).duration;return"string"==typeof
a&&(r.rawDuration=a,r.duration=Object(pr.g)(a)),function(t,e,i){void 0===i&&(i=!
1);try{JSON.stringify(t,null,Fl)}catch(e){}return new
Zs(t,e,this,i).getVpaidPromise()}.call(this,r,o,i).then(function(t){return
t})}function Wn(t){var e=this,i=(t||{}).shouldResetPlugins;return function(t){var
e=this,i=t||{},n=i.url,r=i.wrapperUrl,o=i.xml,a=i.format,s=i.filters,d=(t||
{}).parameters,l=(s||{}).formatName;if(this._videoSlotRemoved=!1,!(n||r||d||o)){var
c=Error("No one form url, xml and parameters is defined");return
c.code=nr.a.GENERAL_VPAID_ERROR,c.hint=".eventLoop()",Promise.reject(c)}var u=n||
r,h=function(){return o?Promise.resolve(o):u?function(t,e){var
i=this;if(oo.c.call(this,["destroying","destroyed"]))return null;var
n=t,r=(this.options||{}).dataRequestTimeout;return
this.replaceMacros(t).then(function(t){var e,n;return(null===(e=i.format)||void
0===e||null===(n=e.waitBeforeLoadUrl)||void 0===n?void 0:n.call(e,t))||
t}).then(function(t){var e=i.globalTimeoutProvider;return
e&&e.start(),t}).then(function(t){return Object(dr.b)(ra,
{url:t,module:this}).then(function(t){return t.url})}.bind(this)).then(function(t)
{return n=t,Object(po.f)(t,
{overrideMimeType:"text/xml",timeout:r})}).then(function(t){var i;null===e||void
0===e||null===(i=e.actionBeforeRequest)||void 0===i||i.call(e);var n=t&&t.target||
{},r=n.status,o=n.statusText;if(204===r||400<=r)throw Error("("+r+") "+
(o||""));return t.target.responseXML||t.target.response&&(new
DOMParser).parseFromString(t.target.response,"text/xml")}).catch(function(t){var
e,i=t||{},r=i.message,o=i.status,a=i.statusText;throw"timeout"===t.type?(e=Error("
requestDataXml() Data request timeout "+(r||"")+" URL:"+n+" original event
status:"+o+" statusText:"+a)).code=nr.a.TIMEOUT_OF_VAST_URI:
(e=Error("requestDataXml() Data request error "+(r||"")+" URL:
"+n)).code=nr.a.GENERAL_WRAPPER_ERROR,e.hint=".requestDataXml()",e})}.call(e,u,r===
u?{actionBeforeRequest:Yo.i.bind(e)}:null):Promise.resolve(null)};return(d?
Promise.resolve(d):h().then(e.processDataXml.bind(e))).then(function(t){return
function(t){var e=this;return
this.pushControlsDataStack(),xn.call(this,t).then(function(){return
e._getLastParameters()||{}}).catch(function(t){var
i=t.code,n=t.format,r=t.options,o=t.fatal,a="One of custom extensions prevented
start. "+(t&&t.message||
t),s=Error(a);if(s.hint=".processExtensions()",o&&(s.fatal=o),i&&(s.code=i),r&&(s.o
ptions=r),i===nr.a.FORMAT_ERROR&&n){var d=r||
{},l=d.playerElement,c=d.playerAfter,u=d.playerBefore;(function(t)
{qt.call(this,t)||
(this.failedInsertingFormatOptions=(this.failedInsertingFormatOptions||
[]).concat(t))}).call(e,{playerElement:l,playerAfter:c,playerBefore:u})}throw
s})}.call(e,d=t)}).then(function(t){if(!l)return t;var
i=e.getControlUnionData("vnFormat"),n=i&&i.name&&i.name.toLowerCase();if(!n||n!
==l)throw Error('.findCreative() formatName "'+n+'" does not match "'+l+'"');return
t}).then(function(t){e._requestStartedData||(e._requestStartedData=[]),t.uniqueId||
(t.uniqueId=t.id+"_"+Math.random().toString(36).substring(2,5)),e._requestStartedDa
ta.push({uniqueId:t.uniqueId,time:Date.now()}),!e.format&&a&&e._setFormat(a);var
i=t.wrapperUrl;if(i)return{wrapperUrl:i,filters:s};Yo.i.call(e),Yo.j.call(e);var
n=e.format||a;return(n&&n._initDataXml()||Promise.resolve()).then(function(){return
Fn.call(e,{parameters:t})}).then(function(t)
{return{vpaid:t}})})}.call(this,t).then(function(t){i&&function()
{kl(this),Il(this)}.call(e);var n=t||{},r=n.wrapperUrl,o=n.filters,a=n.vpaid;if(a)
{var s=e.vnAfterplay;if(s&&s.shouldContinue()){var
d=e.vpaid;d&&(d._destroy(),e.vpiad=null)}for(var
l=[],c=0,u=e._getLastParameters(c);u;u=e._getLastParameters(++c)){var h=(u||
{}).id;void 0!==h&&l.push("Ad="+h)}var p=function(t){var e=t||
{},i=e.id,n=e.Media,r=e.adParameters,o=(n||
{}).MediaFiles,a="";try{a=Object.entries(o).filter(function(t){var e=t[1];return!
Object(dr.q)(e)}).map(function(t){var e=t[0],i=t[1];return e+":"+function(t)
{return"["+[].concat(t).map(function(t){return
JSON.stringify(t,null,"\t")}).join(", ")+"]"}(i)}).join("\n")}catch(e){}var
s=Object(dr.q)(r)?"":"adParameters:
"+JSON.stringify(r);return{id:i,medias:a,adParameters:s}}
(e._getLastParameters()),f=(p.id,p.medias),g=p.adParameters;return
f&&e.logger.trace(".eventLoop() found media:
"+f+"\n"+g,1,"green"),Ln.call(e,a)}return r&&setTimeout(function(){return
Wn.call(e,{wrapperUrl:r,filters:o})}),null}).then(function(t){return
t&&e.subscribeOnce(function(){var t=e.vnAfterplay;if(t&&t.shouldContinue()){var
i=e.format;e.fixedFormat=i,e.fixedVideoSlot=vo.c.call(e),e.fixedControlsSlots=["vid
eoSlot","wrapper","container","containerShadow","containerIframe","slot","vpaidSlot
","iframe"].reduce(function(t,i){return t[i]=e.getControlNode(i),t},
{}),i&&i.updateOptions&&i.updateOptions({switchToEmbeddedModeAtTheEnd:!1});var
n=function(t){return t&&(t.getBaseName&&t.getBaseName()||t.toString().slice(7,-
1).toLowerCase())}(i);n&&(e.filterFormatName=n);var
r=e._getLastData();r&&(r.next={searching:!
0})}},"AdVideoFirstQuartile"),t}).catch(Hn.bind(this))}function Hn(t,e,i){void
0===e&&(e="");var n=t.code,r=t.fatal,o=t.message,a=t.hint;n&&Yo.h.call(this,t);var
s=e+" "+(a||""),d=n?" code="+n+" ":" ";(r?this.logger.error:this.logger.warn)
(""+s+d+"("+o+", Fatal: "+!!r+")"),r?this._abort({errorEventParams:
{code:n,message:e}}):i?
i():this._failedData({errorEventParams:t,shouldDestroyVpaid:!0})}function zn(t,e)
{var i=Object.keys(t);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return
i}function Bn(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?zn(Object(e),!0).forEach(function(i)
{Un(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):zn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return
t}function Un(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!
0,configurable:!0,writable:!0}):t[e]=i,t}function qn(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}function Gn(t){var e=this;return new Promise(function(i){var n=[];if(!
Object(dr.q)(t)){var
r=e._moduleCharacteristicsRelations;n=(t&&Object.keys(t).map(function(e){return
t[e]})).reduce(function(t,e){var i=r[e];return i&&!t.some(function(t){return
t===i})&&t.push(i),t},[])}return(!n&&Promise.resolve()||
Promise.all(n.map(function(t){return t()}))).then(function(){var
n=t&&Object.keys(t).reduce(function(i,n){return
t[n]&&(i[n]=e.substituteMacroValue(t[n])),i},{})||{};i(n)})})}var
Xn=Math.floor,Yn=Math.abs,Qn=Math.round,Jn=Math.max,Zn=Math.min;i.r(e);var Kn,
$n,tr,er,ir=i(10),nr=i(6),rr=i(14),or=i(2),ar="Format[Vpaid]",sr=function(t)
{function e(e,i){var
n,o=i&&i.ancestor&&i.ancestor+":"+ar||"Module::"+ar,a=i&&(i.logger||
i.moduleAPI&&i.moduleAPI.logger)||or.b,s=r({},i,
{ancestor:o});return(n=t.call(this,s)||this)
[ar]=o,n.options=s,n.module=e,n.logger=a,n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.toString=function(){return
ar},i.waitBeforeLoadUrl=function(t){return
Promise.resolve(t)},i._initDataXml=function(){return
Promise.resolve()},i._vpaidInitAd=function(){return
Promise.resolve()},i.getReachInventoryFactory=function(){return
null},i.hasReachInventoryFactory=function(){return!1},i._destroy=function()
{t.prototype._destroy.call(this)},i.abort=function(){},i.isFloatingMode=function()
{return!1},i.getModuleOptions=function(){return{isInsideTextContent:!
1,startingVolume:1}},i.getSlotSize=function()
{return{width:0,height:0}},i.correctAdSize=function(t,e)
{return{adWidth:t,adHeight:e}},i.getOptions=function(){return
r({},this.options)},i.getBaseName=function(){return"Vpaid".toLowerCase()},e}
(rr.a),dr=i(1),lr=function(t){function e(e,i){var n=t.call(this,e,i)||
this,r=n.options.moduleAPI||{},o=r.addVPAIDEventListener,a=r.resizeAd;return
o("slotSizeChanged",function(t){var e=t||
{},i=e.height,n=e.width,r=e.src,o=r&&r.toLowerCase();o&&("vpaidgoogletag"===o||"vpa
idyandexcontext"===o)&&i&&n&&setTimeout(function(){return a(n,i)})},function(t)
{if(void 0===t)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return t}(n)),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.getSlotSize=function(){var t=(this.options||
{}).moduleAPI,e=t.getControlNode,i=t.getVideoSlot,n=e("slot")||e("vpaidSlot")||
i(),r=Object(dr.h)
(n);return{width:r.insideWidth,height:r.insideHeight}},i.toString=function()
{return"Format[InStream]"},i.getBaseName=function()
{return"InStream".toLowerCase()},e}
(sr),cr=i(0),ur=i(7),hr="initModuleNode",pr=i(3),fr=i(4),gr=function(){function
t(t){void
0===t&&(t={}),this.API=t.API,this.showObservableNode=t.showObservableNode,this.isIf
rame=t.isIframe,this.logger=t.logger,this.forceHeight=t.forceHeight,this.expandingD
uration=t.expandingDuration}var e=t.prototype;return
e.setAdSizeForceChange=function(){},e.updateModuleNodeSize=function(){throw
Error("Not implemented")},e.moduleResizeAd=function(){throw Error("Not
implemented")},e._canUpdateModuleNodeSize=function(t){var
e=this.API,i=e.isAdHasBeenStarted,n=e.getOptions,r=e.moduleAPI.getAdHeight,o=(n&&n(
)||{}).expandOnAdLoaded,a=r&&r();return t||a&&(i()||
o)},e.correctAdSize=function(t,e)
{return{adWidth:t,adHeight:e}},e.setForceHeight=function(t){return
this.forceHeight!==t&&(this.forceHeight=t,!0)},e.getForceHeight=function(){return
this.forceHeight},t}(),vr=function(t){function e(e){var i;return(i=t.call(this,e)||
this).parentElement=null,s(i)||s(i)}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.updateModuleNodeSize=function(t){void 0===t&&(t=!
1);var e=this.isIframe,i=this.API,n=i.getModuleNode,r=i.moduleAPI.trigger;if(!
this._canUpdateModuleNodeSize(t))return null;var
o,a,s=n&&n(),d=s.clientWidth,l=s.clientHeight,c=this.parentElement=e?
document.body:s&&s.parentElement;if(c){var u=Object(dr.h)
(c);o=u.insideWidth,a=u.insideHeight}return s&&Object(cr.b)(s,{width:Object(dr.s)
(o),height:Object(dr.s)(a)}),(Object(dr.p)(l,a,1.2)||Object(dr.p)
(d,o,1.2))&&setTimeout(function(){return r("slotSizeChanged")}),
{width:o,height:a}},i.moduleResizeAd=function(t){var
e=this.isIframe,i=this.API,n=i.getModuleNode,r=i.moduleAPI,o=r.getControlNode,a=r.r
esizeAd,s=r.setWrapperSize,c=r.getAdHeight,u=r.getAdWidth,h=r.getIndents,p=o&&o("wr
apper");if(!this.parentElement){var f=n&&n();this.parentElement=e?
document.body:f&&f.parentElement}var g=this.parentElement,v=function(t){var
e=this.API.moduleAPI.getControlNode,i=e&&e("wrapper"),n=getComputedStyle(i).width,r
=parseFloat(n),o=0^(this.forceWidth||r);return{width:o,height:0^(this.forceHeight||
Qn(o*t))}}.call(this,t),b=v.width,m=v.height,y=d.call(this,b,m,t),O=y.width,A=y.hei
ght,w=y.availableHeightForAd;if(!(0>O||0>A)&&(c&&c()!==A||c&&u()!==O)){var
_=getComputedStyle(p).width,P=parseFloat(_),S=l.call(this),j=S.outsideWrapperHeight
,E=S.insideWrapperHeight;if((w!==E||1<t&&O<P)&&s(w+j-E),g&&"BODY"===g.tagName){var
C=Object(dr.h)
(g),D=C.borderTopWidth,I=C.borderRightWidth,T=C.borderBottomWidth,k=C.borderLeftWid
th,x=g.clientHeight,N=g.clientWidth,M=x-D-
T,V=h(),R=V.outsideHeight,L=V.outsideWidth;p&&M&&Object(cr.b)(p,{top:Object(dr.s)
(M/2-R/2),left:Object(dr.s)((N-k-I)/2-
L/2)})}a&&a(0^O,0^A)}},i.correctAdSize=function(t,e){var
i=d.call(this,t,e,e/t);return{adWidth:i.width,adHeight:i.height}},e}
(gr),br=function(t){function e(e){var i;return c(i=t.call(this,e)||this)||c(i)}!
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.updateModuleNodeSize=function(t){if(void
0===t&&(t=!1),!this._canUpdateModuleNodeSize(t))return null;var
e=this.API,i=e.getOptions,n=e.getModuleNode,r=e.getWidthNode,o=e.moduleAPI,a=o.getI
ndents,s=o.trigger,d=(i&&i()||{}).expandingDuration;d=d&&parseFloat(d)||
0;var l=r&&r(),c=n&&n(),u=Object(dr.h)
(c),h=u.clientWidth,p=u.clientHeight,f=a&&a(),g=f.outsideWidth,v=f.outsideHeight,b=
l&&Object(dr.h)(l).insideWidth||"100%";Object(cr.b)(c,{width:Object(dr.s)
(b),height:Object(dr.s)(v)});var m=Object(dr.p)(h,g,1.2);return(Object(dr.p)
(p,v,1.2)||m&&this.prevPrevWidth!==h)&&(this.prevPrevWidth=h,setTimeout(function()
{return s("slotSizeChanged")},d)),{width:g,height:v}},i.moduleResizeAd=function(t)
{var
e=this.API,i=e.getWidthNode,n=e.moduleAPI,r=n.resizeAd,o=n.setWrapperSize,a=n.getCo
ntrolNode,s=i&&i(),d=Object(dr.h)(s).insideWidth,l=a&&a("wrapper"),c=Object(dr.h)
(l),u=c.borderTop,h=c.paddingTop,p=c.borderBottom,f=c.paddingBottom,g=Zn(d,this.for
ceWidth||d),v=this.forceHeight||0^g*t||0;o(v+(u||0)+(p||0)+(h||0)+(f||
0)),r&&r(0^g,0^v)},i.correctAdSize=function(t,e){var
i=this.forceEnableVerticalContent,n=this.API.getModuleNodeSize,r=!1,o=e/t;ur.h||!
(1<o)||i||(r=!0);var a=n(o).width;return t!==a&&(r?t=(e=9*a/16)/o:(e*=a/t,t=a)),
{adWidth:t,adHeight:e}},e}(gr),mr=function(t){function e(e){var i=t.call(this,e)||
this,n=e.height,r=e.width;return
i.forceInsideHeight=n,i.forceInsideWidth=r,i.parentElement=null,u(i)||u(i)}!
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.setAdSizeForceChange=function(t,e)
{t&&(this.forceInsideHeight=e),e&&(this.forceInsideWidth=t),this.updateModuleNodeSi
ze()},i.updateModuleNodeSize=function(t){void 0===t&&(t=!1);var
e=this.forceInsideWidth,i=this.expandingDuration,n=this.forceInsideHeight,r=this.AP
I,o=r.getModuleNode,a=r.getWidthNode,s=r.moduleAPI.trigger;if(!
this._canUpdateModuleNodeSize(t))return null;var d=a&&a(),l=d&&Object(dr.h)
(d).insideWidth;e>l&&(n*=l/e);var c=function(){var
t=(0,this.API.moduleAPI.getIndents)
();return{widthFromStyle:t.widthFromStyle,heightFrmStyle:t.heightFrmStyle,outsideWr
apperHeight:t.outsideHeight,insideWrapperHeight:t.insideHeight,outsideWrapperWidth:
t.outsideWidth,insideWrapperWidth:t.insideWidth}}.call(this),u=c.outsideWrapperHeig
ht,h=c.insideWrapperHeight;u&&h&&(n+=u-h);var
p=o&&o(),f=p.clientWidth,g=p.clientHeight;p&&Object(cr.b)(p,{width:Object(dr.s)
(l),height:Object(dr.s)(n)});var v=Object(dr.p)(f,l,1.2);return(Object(dr.p)
(g,n,1.2)||v&&this.prevPrevWidth!
==f)&&this._canUpdateModuleNodeSize(t)&&(this.prevPrevWidth=f,setTimeout(function()
{s("slotSizeChanged")},i)),{width:e,height:n}},i.moduleResizeAd=function(){var
t=this.API.moduleAPI,e=t.getAdHeight,i=t.getAdWidth,n=t.resizeAd,r=t.getControlNode
,o=t.setWrapperSize,a=function(){var
t=this.forceInsideHeight;return{width:this.forceInsideWidth,height:t}}.call(this),s
=a.width,d=a.height,l=r&&r("wrapper"),c=Object(dr.h)
(l),u=c.borderTop,p=c.paddingTop,f=c.borderBottom,g=c.paddingBottom;o((this.forceIn
sideHeight||0)+(u||0)+(f||0)+(p||0)+(g||0));var
v=h.call(this,s,d),b=v.width,m=v.height;if(e&&e()!==m||e&&i()!==b){n(0^b,0^m);var
y=r("vpaidSlot");y&&Object(cr.b)(y,{position:"relative",display:"inline-
block",verticalAlign:"middle",width:Object(dr.s)(b),height:Object(dr.s)
(m)})}},i.correctAdSize=function(t,e){var
i=h.call(this,t,e);return{adWidth:i.width,adHeight:i.height}},e}
(gr),yr="ContentRoll",Or="Format["+yr+"]",Ar=Or,wr=25,_r={expandOnAdLoaded:!
1,shouldStart:"beforeExpand",startMethod:"auto",playerDefaultClass:"vn-
player",playerPlaybackClass:"vn-
playback",playerSelectorPercent:"100%",widthElement:null,playerElement:null,playerS
electorTotalMin:1,playerDesktopStartFactor:.6,playerDesktopStopFactor:.6,playerMobi
leStartFactor:.5,playerMobileStopFactor:.5,desktopMaxHeight:null,mobileMaxHeight:nu
ll,expandingDuration:150,waitScroll:!
0,maxSegments:1,minSegments:0,minDistance:1,destroyTimeout:5e3,doNotWatchVisibility
:!1,moduleAPI:{},showObservableNode:!1,forceEnableVerticalContent:!
1,ignoreCreatePlayerElement:!1,needAfterCloseCompensation:!
0,slotMargin:"auto"},Pr=0,Sr=0,jr=function(t){function e(e,i){var n;void
0===i&&(i={});var
r=i&&i.ancestor&&i.ancestor+":"+Or||"::"+Or,o=i&&i.moduleAPI&&i.moduleAPI.logger||
or.b;(n=t.call(this,e,f({},_r,{},{logger:o},{ancestor:r}))||this)
[Ar]=r,n._adHasBeenLoaded=!1,n._adHasBeenStarted=!
1,n._updateStrategy=null,n.watchVisibility=null,n.wasExpanded=!
1,n._adPausedPostponedCommand=null,n._showGridTimeoutId=null,i=function(t){void
0===t&&(t={});var e=Object(pr.h)(Object(dr.i)(window,document))||
{},i=e.expandOnAdLoaded,n=e.shouldStart,r=e.showObservableNode,o=e.expandingDuratio
n;return void 0!==o&&(t.expandingDuration=o),r&&(t.showObservableNode=Object(dr.t)
(r)),n&&n.length&&(t.shouldStart=n),i&&(t.expandOnAdLoaded=Object(dr.t)
(i)),t}.call(v(n),i),n.updateOptions(i);var
a=v(n).options,s=a.playerDesktopStartFactor,d=a.playerDesktopStopFactor,l=a.playerM
obileStartFactor,c=a.playerMobileStopFactor,u=a.mobileMaxHeight,h=a.desktopMaxHeigh
t;n._startFactor=parseFloat(ur.h?l:s),n._stopFactor=parseFloat(ur.h?
c:d),n._maxHeight=ur.h?u:h,n._initNoAdElement(),n._initDOM();var
p=n.options.moduleAPI||{},g=p.setControlData,m=p.addVPAIDEventListener;return
g&&g("slot",{node:n.moduleInnerNode}),n.updateControlsLayout(),!
0===i.withoutBottomBorder&&g&&g("bottomBorder",
{node:null,enableWithVPAID:"true"}),m&&(m("slotSizeChanged",function(t){var
e=this;void 0===t&&(t={});var
i=this._adVideoWasStarted,n=this.options.moduleAPI,r=n.getIndents,o=n.addVPAIDEvent
Listener,a=n.removeVPAIDEventListener;try{t&&JSON.stringify(t,null,2)}catch(t)
{}r().paddingTop||this.updateControlsLayout(0,!0),void 0!
==t.height&&(this.forceHeight=t.height),void 0!
==t.width&&(this.forceWidth=t.width),!0!==t.shouldNotResize&&(!0===i?b.call(this):!
this._AdVideoStartResizeHandler&&(this._AdVideoStartResizeHandler=o("AdVideoStart",
function()
{b.call(e),a("AdVideoStart",e._AdVideoStartResizeHandler,e),e._AdVideoStartResizeHa
ndler=null},this)))}.bind(v(n)),v(n)),m("vn_VideoSlotRemoved",function(){var
t=this;setTimeout(function(){return
t._resetObservableNodes()})}.bind(v(n)),v(n)),m("AdPaused",function()
{n._adPausedPostponedCommand&&setTimeout(function()
{n._adPausedPostponedCommand&&(n._adPausedPostponedCommand(),n._adPausedPostponedCo
mmand=null)},1)},v(n)),m("AdDestroyed",y.bind(v(n)),v(n))),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.updateOptions=function(t){var
e=this._adHasBeenLoaded,i=this._adHasBeenStarted,n=this.options.doNotWatchVisibilit
y,r=(t||{}).expandOnAdLoaded;this.options=f({},this.options,
{},t),this.options.waitScroll=Object(dr.t)
(this.options.waitScroll),this.options.expandOnAdLoaded=Object(dr.t)
(this.options.expandOnAdLoaded),this.options.needAfterCloseCompensation=Object(dr.t
)(this.options.needAfterCloseCompensation);var o=this.options.expandOnAdLoaded;n||!
e||i||(r||!0!==o?!0===r&&!o&&!
this._watchTempObservableModuleNodeVisibility&&(this._switchOffObservableCheckingTo
ModuleNode(),this._switchOnObservableAdvancedNode()):
(this._switchOffObservableAdvancedNode(),this._switchOnObservableCheckingToModuleNo
de()));var
a=this.options.expandingDuration;this.expandingDuration=a&&parseFloat(a)||
0},i.updateControlsLayout=function(t,e,i){void 0===t&&(t=wr),void 0===e&&(e=!
1),void 0===i&&(i=null);var n=i||this.options.moduleAPI||
{},r=n.setControlData,o=n.getControlNode,a=function(t){return void 0===t&&(t=wr),
{wrapper:{paddingTop:Object(dr.s)(t)},skipAd:{top:Object(dr.s)(t)},skipAdCountdown:
{top:Object(dr.s)(10+t)},title:{color:"gray"},logo:
{top:0,right:0,bottom:"auto",left:"auto"},play:{top:Object(dr.s)(t)},vnAfterplay:
{marginTop:Object(dr.s)(t)}}}(t);Object.keys(a).forEach(function(t){var
i=Object(fr.f)({},"css",a[t]);if(r&&r(t,i),e){var n=o&&o(t);n&&Object(cr.b)
(n,i&&i.css||{})}})},i.setAdSizeForceChange=function(t,e){null===this||void
0===this||
this._updateStrategy.setAdSizeForceChange(t,e)},i.getModuleOptions=function()
{return{formatExpandingDuration:this.options.expandingDuration||
0,isInsideTextContent:!0,vpaidJsVideoSlotShouldBeMuted:!
0}},i.getSlotSize=function(){var t=this.moduleNode,e=(this.options||
{}).moduleAPI.getAdAspectRatio,i=Object(dr.h)
(t),n=i.insideWidth;return{width:n,height:i.insideHeight||e&&n*e()||
0}},i.waitBeforeLoadUrl=function(t){var
e=document,i=e.body,n=e.documentElement,r=Jn(i.scrollTop,n.scrollTop),o=document.do
cumentElement.clientHeight,a=document.body.clientHeight,s=[],d=this.options,l=d.pre
loadDistance,c=d.waitScroll;return
c&&(c=o<a),c&&0===r&&s.push(this._requestDataXmlByScroll()),(void 0===l&&!c||c&&0!
==r)&&(l=this.options.preloadDistance=1/0),void 0!
==l&&s.push(this._waitForMinimumDistance()),Promise.race(s).then(function(e){return
s.forEach(function(t){t.name!==e&&t.reject()}),t})},i._vpaidInitAd=function(){var
e=this.options.moduleAPI||
{},i=e.addVPAIDEventListener,n=e.extendEnvironmentVars,r=e.getControlNode,o=e.getCo
ntrolInstance;n&&n({forceAspectRatio:!
ur.h}),this._switchOffAllObserves(),this.onAdLoadedHandler=i("AdLoaded",m.bind(this
),this),this.onAdStartedHandler=i("AdStarted",function(){this._adHasBeenStarted=!
0,E.call(this,"AdStarted","onAdStartedHandler"),this._updateModuleSize(),this._upda
teModuleNodeSize(),this._updateModuleState()}.bind(this),this),this.onAdVideoStartH
andler=i("AdVideoStart",function(){var
t=this,e=this.moduleNode,i=this.options,n=i.playerPlaybackClass,r=i.expandingDurati
on,o=i.moduleAPI.inState;return o&&!o("started")?void(this._adVideoWasStarted||
(this._adVideoWasStarted=o&&o("playing"))):
(E.call(this,"AdVideoStart","onAdVideoStartHandler"),n&&e.classList.add(n),void
setTimeout(function()
{t._updateModuleNodeSize(),t._updateModuleState()},r))}.bind(this),this),this.onAdS
izeChangeHandler=i("AdSizeChange",this._onAdSizeChange.bind(this),this),this.onVn_V
PAIDCreatedHandler=i("vn_VPAIDCreated",function(t){var e=this,i=t.vpaid;if(!i){var
n,r,o=null===this||void 0===this||null===(n=this.options)||void 0===n||
null===(r=n.moduleAPI)||void 0===r?void 0:r.getVpaid;i=o&&o()}
(i&&i.getFormatOptions&&i.getFormatOptions()||Promise.resolve({})).then(function(t)
{return t&&e.updateOptions(t),!0}).then(function(){var
t=(e.options||{}).setSizeByMedia;if(Object(dr.t)(t)){var
n=i&&i.getMediaInfo();if(!n)return;n.then(function(t){var i=t||
{},n=i.width,r=i.height;if(n&&r&&(!e._updateStrategy||!(e._updateStrategy
instanceof mr))){var
o=e.options,a=o.forceEnableVerticalContent,s=o.moduleAPI,d={width:n,height:r,forceE
nableVerticalContent:a,showObservableNode:o.showObservableNode,expandingDuration:o.
expandingDuration,logger:e.logger,API:
{moduleAPI:s,getWidthNode:e._getWidthNode.bind(e),getModuleNodeSize:O.bind(e),isAdH
asBeenStarted:function(){return e._adHasBeenStarted},getModuleNode:function()
{return e.moduleNode},getOptions:function(){return
f({},e.options)}}};e._updateStrategy=new
mr(d),e._updateModuleSize(),e._updateModuleNodeSize()||
e._resetObservableNodes();var l=(s||
{}).trigger;l&&l("vn_FormatChanged")}})}else{var r=e._updateStrategy;if(r){var
o=j.call(e);o&&r.setForceHeight(o)&&e._updateModuleSize()}}})}.bind(this),this),thi
s.onAdVideoCompleteHandler=i("AdVideoComplete",this._clearEventsHandlers.bind(this)
,this),this.onVnVpaidAdErrorHandler=i("vnVpaidAdError",this._clearEventsHandlers.bi
nd(this),this);var a=r("title"),s=r("logo","node");if(!(a&&"hidden"!
==a.style.visibility&&"none"!==a.style.display||s&&"hidden"!
==s.style.visibility&&"none"!==s.style.display)){var
d=o("wrapper");d&&d.hideTopSpace()}return
t.prototype._vpaidInitAd.call(this)},i._clearEventsHandlers=function()
{E.call(this,"AdLoaded","onAdLoadedHandler"),E.call(this,"AdVideoStart","onAdVideoS
tartHandler"),E.call(this,"AdStarted","onAdStartedHandler"),E.call(this,"AdVideoCom
plete","onAdVideoCompleteHandler"),E.call(this,"AdSizeChange","onAdSizeChangeHandle
r"),E.call(this,"vnVpaidAdError","onVnVpaidAdErrorHandler"),E.call(this,"vn_VPAIDCr
eated","onVn_VPAIDCreatedHandler")},i.getStartMethod=function()
{return(this.options||{}).startMethod},i._initNoAdElement=function(){var
t=this.options.noAdElement;if(document.querySelector(t)){var e=new Error("Disabled
by noAdElement ("+t+")");throw e.fatal=!0,e}},i.getAnchorElement=function(){return
this.anckorElement},i._initDOM=function(){var
t=this,e=this.options,i=this.options,n=i.forceEnableVerticalContent,r=i.moduleAPI,o
=i.showObservableNode,s=i.moduleAPI,d=s.getOptions,l=(s.getMainModuleId,s.getContro
lNode),c=d().initScriptParentNode,u=e.lookupElement,h=e.scrollElement,p=e.widthElem
ent,g=e.minSegments,v=e.maxSegments,b=e.minDistance,m=e.slotBackground,y=e.slotMarg
in,w=window.innerHeight,_=this.lookupNode=Object(cr.j)(u)||
document.body,P=_.offsetHeight/(w*b);if(P<g)throw new Error(this[Ar]+" lookupNode
height/segments factor ("+P.toFixed(2)+"vh) is not enough, minimum
"+parseFloat(g).toFixed(2)+"vh required");if(!v)throw new Error(this[Ar]+"
maxSegments is 0");var S=a(f({},e,
{lookupNode:_,initScriptParentNode:c}),""+this),E=S.moduleNode,C=S.moduleInnerNode,
D=S.elementNode,I=S.beforeNode,T=S.afterNode,k=S.widthNode,x=S.boundariesExists,N=S
.insideIframe;(this.anckorElement=D||I||T,Object(cr.b)(E,
{position:"relative",zIndex:0,backgroundColor:m,margin:y,boxSizing:x?"border-
box":"content-
box"}),this.moduleNode=this._addDOMNode(E),this.moduleInnerNode=this._addDOMNode(C)
,this.widthNode=Object(cr.j)(p)||k||E.parentNode,this.scrollNode=Object(cr.j)(h)||
window,_&&_!
==document.body)&&("static"===getComputedStyle(_).position&&(_.style.position="rela
tive"));if(this.insideIframe=N,this.boundariesExists=x,!this._updateStrategy){var
M={isIframe:N,forceEnableVerticalContent:n,showObservableNode:o,logger:this.logger,
API:
{moduleAPI:r,getWidthNode:this._getWidthNode.bind(this),getModuleNodeSize:O.bind(th
is),isAdHasBeenStarted:function(){return
t._adHasBeenStarted},getModuleNode:function(){return
t.moduleNode},getOptions:function(){return
f({},t.options)}}},V=j.call(this);V&&(M.forceHeight=V),this._updateStrategy=x?new
vr(M):new br(M)}var R=_||document.body;this.observerForParent=new
MutationObserver(function(){var e=R.clientHeight;(void 0===t.prevParentHeight||e!
==t.prevParentHeight)&&(t._updateObservableAdvancedNodePosition(!
1),o&&(clearTimeout(t._showGridTimeoutId),t._showGridTimeoutId=setTimeout(A.bind(t,
t._tempObservableModuleNode||l("container")||
E),1))),t.prevParentHeight=e}),this.observerForParent.observe(R,{childList:!
0,attributes:!0,characterData:!0,subtree:!0}),E.clientWidth||function(){function
t(){var e=this,i=this.options.moduleAPI.getControlNode;if(n.clientWidth){var
r=i&&i("wrapper"),o=(r&&Object(dr.h)(r)||
{}).paddingTop;this.updateControlsLayout(o||wr,!
0),this._updateModuleSize(),this._updateModuleNodeSize(!
0),this._tempObservableModuleNode&&(this._switchOffObservableAdvancedNode(),this._s
witchOnObservableAdvancedNode()),this._getModuleVisibility().then(function(t)
{t.intersectionRatio&&setTimeout(function(){e._updateModuleState()},100)})}else
this._addTimeout(d,t.bind(this),100)}function e(t){var e=getComputedStyle(t)||
{};return t.hidden||"none"===e.display||"hidden"===e.visibility}var
i=this,n=this.moduleNode,r=this.scrollNode;if(!
window.IntersectionObserver&&window.MutationObserver){var o=function(t)
{for(t=t&&t.parentElement;;t=t.parentElement){if(!t)return null;if(e(t))return t}}
(n);if(o){var a=new MutationObserver(function(){e(o)||
(a.disconnect(),setTimeout(t.bind(i),1))});a.observe(o,{attributes:!0})}}var
s=this._watchModuleNodeNodeVisibility=Object(dr.w)(n,{threshold:
[.1,1],registerHandle:function(t){var e="scroll";return r&&r.addEventListener(e,t),
{handler:t,event:e,scrollNode:i.scrollNode}}},function(e){var
n=e.intersectionRatio,r=e.boundingClientRect;0<n&&(!r||0<r.right-
r.left)&&(s&&s.disconnect&&s.disconnect(),setTimeout(t.bind(i),1))}),d="watchModule
NodeNodeVisibilityTimerId"}.call(this)},i._requestDataXmlByScroll=function(t){void
0===t&&(t=this);var e=function(){},i=function()
{},n="byScroll",r=this.scrollNode,o=function e()
{t._removeDOMEventListener(r,"scroll",e),i(n)},a=new Promise(function(n,a)
{e=a,i=n,t._addDOMEventListener(r,"scroll",o)});return a.catch(function()
{t._removeDOMEventListener(r,"scroll",o)}),Object(fr.g)(a,
{name:n,reject:e})},i._waitForMinimumDistance=function(t,e){var i=this;void
0===t&&(t=this.options.preloadDistance),void 0===e&&(e=this);var n=function()
{},r=function(){},o="byPreloadDistance",a=this.scrollNode,s=function r(){var
s=i._getModuleDimensions(),d=s.viewportHeight;s.moduleTop-
d<=t&&(e._removeDOMEventListener(a,"scroll",r),n(o))},d=new Promise(function(t,i)
{r=i,n=t,e._addDOMEventListener(a,"scroll",s),s()});return d.catch(function()
{e._removeDOMEventListener(a,"scroll",s)}),Object(fr.g)(d,
{name:o,reject:r})},i.hasReachInventoryFactory=function(){return!
0},i.getReachInventoryFactory=function(){var
t=this.scrollNode,e=this.moduleNode;return this.options.doNotWatchVisibility?
null:this._createReachInventoryFactory(t,e)},i._createReachInventoryFactory=functio
n(t,e){var
i=this.options,n=i.showObservableNode,r=i.doNotWatchVisibility,o=i.moduleAPI.getMai
nModuleId,a=o&&o();if(r)return null;var s=("vn-visible-inventory-
mark_"+this+"_"+Pr+++" vn-module__"+a).replace(/\s+/g,"-").replace(/(\
[|])/g,"_"),d=document.createElement("div");d.className=s,!0===n&&Object(cr.b)(e,
{outlineWidth:"1px",outlineColor:"#4080ff",outlineStyle:"solid"}),e.parentElement.i
nsertBefore(d,e);var l=null;return{id:s,waiterCreator:function(){return new
Promise(function(e){l=Object(dr.w)(d,{threshold:[0,1e-
4,.1,.999,1],registerHandle:function(e){var i="scroll";return
t&&t.addEventListener(i,e),{handler:e,event:i,scrollNode:t}}},function(t)
{0<t.intersectionRatio&&(l&&l.disconnect&&l.disconnect(),l=null,e())})})},destroy:f
unction(){l&&l.disconnect&&l.disconnect(),Object(cr.s)
(d)},markNode:d,moduleNode:e}},i._getModuleDimensions=function(){var
t=this.scrollNode,e=this.moduleNode;return Object(dr.j)
(t,e)},i._getWidthNode=function(){return
this.widthNode},i._updateModuleNodeSize=function(t){void 0===t&&(t=!1);var
e=this._updateStrategy.updateModuleNodeSize(t);return
this._resetObservableNodes(),e},i._updateModuleSize=function(){var
t=this.boundariesExists,e=this.moduleNode,i=this.options,n=i.forceEnableVerticalCon
tent,r=i.moduleAPI,o=r.getAdAspectRatio,a=r.getControlNode,s=this._getWidthNode();i
f(s){var d,l=o&&o();t&&(d=s.clientHeight/s.clientWidth),ur.h||!(1<l)||n||d||
(l=9/16),this._moduleResizeAd(s,l);var
c=this._watchTempObservableModuleNodeVisibility;this.options.showObservableNode&&!
c&&(clearTimeout(this._showGridTimeoutId),this._showGridTimeoutId=setTimeout(A.bind
(this,a("container")||e),1))}},i._moduleResizeAd=function(t,e){return
this._updateStrategy.moduleResizeAd(e)},i._updateModuleState=function()
{this._getModuleVisibility().then(this._checkModuleState.bind(this))},i._checkModul
eState=function(t){var
e=this,i=t.intersectionRatio,n=t.moduleSquare,r=t.boundingClientRect,o=t.screenSqua
re,a=this.options,s=a.expandOnAdLoaded,d=a.doNotWatchVisibility;if(null!==o){!
n&&i&&(i=0);var
l=this.options.moduleAPI,c=l.addVPAIDEventListener,u=l.inState;this._applyModuleSta
te({intersectionRatio:i,moduleSquare:n,boundingClientRect:r,screenSquare:o})?!d&&!
s&&(u("started")?this._onStartedCheck():c("AdVideoStart",function(){return
e._onStartedCheck()})):this._watchTempObservableModuleNodeVisibility&&u(["playing",
"pausing","paused"])&&this._onStartedCheck()}},i._onStartedCheck=function(){var
t=this,e=this.options,i=e.expandingDuration,n=e.moduleAPI,r=n.addVPAIDEventListener
,o=n.removeVPAIDEventListener;this._addTimeout("_checkModuleState_AdVideoStart",fun
ction(){t._switchOffObservableAdvancedNode();var e=r("slotSizeChanged",function()
{return n("slotSizeChanged")},t),i=setTimeout(function(){return
n("timeout")},50),n=function()
{o("slotSizeChanged",e,t),clearTimeout(i),t._switchOnObservableCheckingToModuleNode
()}},i)},i._applyModuleState=function(t){var
e=t.intersectionRatio,i=t.moduleSquare,n=t.boundingClientRect,r=this._applyModuleSt
ateCheckStartAd({intersectionRatio:e,moduleSquare:i,boundingClientRect:n});return
this._applyModuleStateCheckPausedAndPlaying({intersectionRatio:e,moduleSquare:i,bou
ndingClientRect:n}),r},i._applyModuleStateCheckStartAd=function(t){var

e=this,i=t.intersectionRatio,n=this._startFactor,r=this.options,o=r.shouldStart,a=r
.startMethod,s=r.expandOnAdLoaded,d=r.expandingDuration,l=r.moduleAPI,c=l.addVPAIDE
ventListener,u=l.removeVPAIDEventListener,h=l.startAd,p=l.inState,f=[p("loaded"),p(
"waitStarting"),p("starting")],g=f[0],v=f[1],b=f[2],m=!
1,y=o.toLowerCase(),O="afterexpand"===y,A="beforeexpand"===y,w="manual"===a;if(g&&s
&&!this.wasExpanded){this.wasExpanded=!0,A&&h&&h(),this._updateModuleNodeSize(!
0);var _=c("AdVideoStart",function(){u("AdVideoStart",_),setTimeout(function()
{return e._updateModuleState()},d)});O&&h&&h(),m=!0}return i>=n&&(g&&!w&&(O||A)||
w&&v)&&(O&&this._updateModuleNodeSize(!0),h&&h(),m=!0),m||
b},i._applyModuleStateCheckPausedAndPlaying=function(t){var
e=t.intersectionRatio,i=this._startFactor,n=this._stopFactor,r=this.options.moduleA
PI,o=r.resumeAd,a=r.pauseAd,s=r.inState,d=[s("paused"),s("pausing"),s("playing"),s(
"resuming")],l=d[1],c=d[2];e>=i&&(d[0]?
(this._adPausedPostponedCommand=null,o&&o()):l&&(this._adPausedPostponedCommand=fun
ction(){return
o()})),c&&e<n&&(this._adPausedPostponedCommand=null,a&&a())},i.hide=function()
{this._closeModule()},i._closeModule=function(t){void 0===t&&(t={});var
e=((this.options||{}).moduleAPI||
{}).addVPAIDEventListener,i=this._needAfterCloseCompensation()&&!0!
==t.noCompensation;if(!this._moduleWasClosed){this._moduleWasClosed=!
0,this._removeEventListeners(),e&&e("AdDestroyed",y.bind(this),this);var
n=this.moduleNode,r=this.observerForParent;r&&r.disconnect&&r.disconnect(),setTimeo
ut(w.bind(this),1);var o=i&&_.call(this);Object(cr.b)(n,
{height:0,margin:0,border:0,padding:0}),o&&P.call(this,o)}},i._getWatchVisibilityTh
reshold=function(){var t=this._startFactor,e=this._stopFactor,i=[];return
0<=t&&i.push(t),0<=e&&t!==e&&i.push(e),i.length&&(0!==t&&0!==e&&i.push(0),1!==t&&1!
==e&&i.push(1)),i.sort()},i._destroy=function(){var
e=this.watchVisibility,i=this._watchModuleNodeNodeVisibility,n=this._watchTempObser
vableModuleNodeVisibility,r=this._moduleNodeObservable;e&&e.disconnect&&e.disconnec
t(),this.watchVisibility=null,i&&i.disconnect&&i.disconnect(),this._watchModuleNode
NodeVisibility=null,n&&n.disconnect&&n.disconnect(),this._watchTempObservableModule
NodeVisibility=this,r&&r.disconnect&&r.disconnect(),this._moduleNodeObservable=null
;var
o=this._needAfterCloseCompensation()&&_.call(this);t.prototype._destroy.call(this),
o&&P.call(this,o)},i._needAfterCloseCompensation=function(){var
t=this.boundariesExists;return(this.options||{}).needAfterCloseCompensation&&!
t},i.abort=function(){this._closeModule({noCompensation:!
0})},i._switchOnObservableAdvancedNode=function(){var
t=this.options,e=t.showObservableNode,i=t.doNotWatchVisibility,n=t.moduleAPI.getMai
nModuleId;if(!this._tempObservableModuleNode&&!i){var
r=this._createObservableAdvancedNode(),o=r.node,a=r.watcher;o&&window.document.body
.appendChild(o),this._tempObservableModuleNode=this._addDOMNode(o),this._tempObserv
ableModuleNode.className=("vn-start-mark_"+this+"_"+Sr+++" vn-module__"+
(n&&n())).replace(/\s+/g,"-").replace(/(\
[|])/g,"_"),this._watchTempObservableModuleNodeVisibility=a,e&&(clearTimeout(this._
showGridTimeoutId),this._showGridTimeoutId=setTimeout(A.bind(this,o),1))}},i._creat
eObservableAdvancedNode=function(){var
t=this.scrollNode,e=this.options.showObservableNode,i=Object(cr.d)("div",{top:-
9999,left:-9999,height:0,width:0,position:"absolute",zIndex:"-1",opacity:0});!
0===e&&Object(cr.b)(i,
{outlineWidth:"1px",outlineColor:"red",outlineStyle:"solid",opacity:1,zIndex:1}),i.
classList.add("vn-observable-advanced-
node"),this._updateObservableAdvancedNodePosition(!1,i);var n=Object(dr.w)(i,
{threshold:this._getWatchVisibilityThreshold(),registerHandle:function(e){var
i="scroll";return t&&t.addEventListener(i,e),
{handler:e,event:i,scrollNode:t}}},this._checkModuleState.bind(this));return
e&&(clearTimeout(this._showGridTimeoutId),this._showGridTimeoutId=setTimeout(A.bind
(this,i),1)),
{watcher:n,node:i}},i._updateObservableAdvancedNodePosition=function(t,e){void
0===t&&(t=!0),void 0===e&&(e=null);var
i=this._tempObservableModuleNode,n=this.options,r=n.showObservableNode,o=n.moduleAP
I.getControlNode;if(e||(e=i),!Object(cr.o)(e))return null;var
a=o&&o("wrapper"),s=o&&o("vpaidSlot")||a;if(!s)return null;var
d,l,c=s&&Object(dr.h)(s)||{};if(c.offsetHeight){var
u=c.offsetHeight,h=c.offsetWidth,p=c.marginLeft,f=c.marginRight,g=c.marginTop,v=c.m
arginBottom;l=u+(g||0)+(v||0),d=h+(p||0)+(f||0)}if(!l){var
b=O.call(this),m=b.width,y=b.height;l||(l=y),d||(d=m)}var w=Object(cr.g)
(s),_={top:Object(dr.s)(w.top),left:Object(dr.s)(w.left),height:Object(dr.s)
(l),width:Object(dr.s)(d),pointerEvents:"none"};return Object(cr.b)
(e,_),t&&r&&(clearTimeout(this._showGridTimeoutId),this._showGridTimeoutId=setTimeo
ut(A.bind(this,e),1)),e},i._getModuleVisibility=function(t){var e=this;void
0===t&&(t=0);var
i=this._watchTempObservableModuleNodeVisibility,n=this._tempObservableModuleNode,r=
this.moduleNode,o=this.options.moduleAPI,a=o.getVideoSlot,s=o.getControlNode,d=a(),
l=(d||{}).style,c=l&&"hidden"!==l.display&&d.clientHeight&&d||s("container")||
r,u=[];return i&&n&&u.push(Object(dr.n)(n)),c&&u.push(Object(dr.n)
(c)),Promise.all(u).then(function(i){if(2>i.length)return i[0];var
n=i.filter(function(t){return t.intersectionRatio});if(3>t&&!
i[0].intersectionRatio&&i[1].intersectionRatio&&!i[1].moduleSquare)return
e._getModuleVisibility(t+1);var r=n.reduce(function(t,e){return!t||
e.intersectionRatio>t.intersectionRatio?e:t},null);return n.length?
r:i[0]})},i._onAdSizeChange=function()
{this._updateModuleNodeSize()},i._resetObservableNodes=function()
{this.watchVisibility?
(this._switchOffObservableAdvancedNode(),this._switchOffObservableCheckingToModuleN
ode(),this._switchOnObservableCheckingToModuleNode()):this._tempObservableModuleNod
e&&(this._switchOffObservableCheckingToModuleNode(),this._switchOffObservableAdvanc
edNode(),this._switchOnObservableAdvancedNode()),window.IntersectionObserver||
this._updateModuleState()},i._switchOffAllObserves=function(){this.watchVisibility?
(this._switchOffObservableAdvancedNode(),this._switchOffObservableCheckingToModuleN
ode()):this._tempObservableModuleNode&&(this._switchOffObservableCheckingToModuleNo
de(),this._switchOffObservableAdvancedNode())},i._switchOffObservableAdvancedNode=f
unction()
{this._watchTempObservableModuleNodeVisibility&&this._watchTempObservableModuleNode
Visibility.disconnect&&this._watchTempObservableModuleNodeVisibility.disconnect(),t
his._tempObservableModuleNode&&(this._tempObservableModuleNode.remove(),this._tempO
bservableModuleNode=null),this._watchTempObservableModuleNodeVisibility=null},i._ge
tNodeForObservableChecking=function(){var
t=this.moduleNode,e=this.options.moduleAPI,i=e.getVideoSlot,n=e.getControlNode;retu
rn i()||n("vpaidSlot")||t},i._switchOnObservableCheckingToModuleNode=function(){var
t=this.scrollNode,e=this.options,i=e.showObservableNode,n=e.doNotWatchVisibility;if
(!this.watchVisibility&&!n){var r=this._getNodeForObservableChecking();!
0===i&&Object(cr.b)(r,
{outlineWidth:"1px",outlineColor:"green",outlineStyle:"solid"}),this.watchVisibilit
y=Object(dr.w)(r,
{threshold:this._getWatchVisibilityThreshold(),registerHandle:function(e){var
i="scroll";return t&&t.addEventListener(i,e),
{handler:e,event:i,scrollNode:t}}},this._checkModuleState.bind(this)),i&&(clearTime
out(this._showGridTimeoutId),this._showGridTimeoutId=setTimeout(A.bind(this,r),1))}
},i._switchOffObservableCheckingToModuleNode=function(){var
t=this.watchVisibility,e=this.moduleNode,i=this.options.showObservableNode;t&&(!
0===i&&Object(cr.b)(e,
{outlineWidth:"0",outlineColor:"none",outlineStyle:"none"}),t&&t.disconnect&&t.disc
onnect(),this.watchVisibility=null)},i.correctAdSize=function(t,e){return
this._updateStrategy.correctAdSize(t,e)},i.getModuleNode=function(){return
this.moduleNode},i.toString=function(){return Or},i.getBaseName=function(){return
yr.toLowerCase()},e}(sr),Er="Format[ContinuousRoll]",Cr={maxSegments:-
1,playerSelectorPercent:"0%"},Dr=0,Ir=0,Tr=function(t){function e(e,i){var
n,r=i&&i.ancestor&&i.ancestor+":"+Er||"Module::"+Er;i&&i.moduleAPI&&i.moduleAPI.log
ger||or.b;return(n=t.call(this,e,function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?C(Object(e),!0).forEach(function(i)
{D(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):C(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},Cr,
{MODULE_ID:Er},i,{ancestor:r}))||this)[Er]=r,n.slotPlaceholders=[],1!
==n.options.maxSegments&&n._initSlotPlaceholders(),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._vpaidInitAd=function(){var
e=(this.options.moduleAPI||
{}).addVPAIDEventListener,i=t.prototype._vpaidInitAd.call(this);return
e("AdLoaded",function(){var
t=this.scrollNode;this._addDOMEventListener(t,"scroll",function()
{this._updateModulePosition()}.bind(this)),this._addDOMEventListener(window,"resize
",function()
{this._updateModulePosition()}.bind(this))}.bind(this),this),e("AdStarted",function
(){this._updateModulePosition()}.bind(this),this),e("AdVideoComplete",function()
{this._closeRestOfSlotPlaceholders()}.bind(this),this),i},i._destroy=function(){var
e=this._reachInventoryFactory;e&&e.destroy&&e.destroy(),t.prototype._destroy.call(t
his)},i.getReachInventoryFactory=function(){var
t=this,e=this._reachInventoryFactory,i=this.scrollNode;if(this.options.doNotWatchVi
sibility)return null;if(e)return e;var n=this.slotPlaceholders.map(function(e)
{return t._createReachInventoryFactory(i,e)});return
this._reachInventoryFactory={id:"vn-visible-inventory-marks-group_"+this+"_"+Dr+
+,waiterCreator:function(){return Promise.race(n.map(function(t){return
t.waiterCreator()}))},destroy:function(){return n.forEach(function(t)
{t.destroy&&t.destroy()})},markNode:""}},i._updateModulePosition=function(){var
t=this._findNearestSlotPlaceholder();this._nearestSlotPlaceholder!
==t&&(this._nearestSlotPlaceholder=t,this.trigger("NearestSlotPlaceholderChanged"))
,t&&this._updateModulePositionCoordinates(t)},i._updateModulePositionCoordinates=fu
nction(t){var e=this.moduleNode,i=Object(cr.h)(t,e),n=i.top,r=i.left;Object(cr.b)
(e,{position:"absolute",top:Object(dr.s)(n+2),left:Object(dr.s)
(r),width:Object(dr.s)(t.clientWidth),visibility:""});var o=Object(dr.h)
(e).outsideHeight;Object(cr.b)(t,{height:Object(dr.s)
(o)})},i._findNearestSlotPlaceholder=function(){var t=window.innerHeight;return
this.slotPlaceholders.reduce(function(e,i){var
n=i.getBoundingClientRect(),r=n.top,o=n.height,a=Yn(r+o/2-t/2);return
0<o&&a<e.distance?{distance:a,slotPlaceholder:i}:e},
{distance:1/0,slotPlaceholder:null}).slotPlaceholder},i._getModuleVisibility=functi
on(){var t=this._findNearestSlotPlaceholder();return Object(dr.n)
(t)},i._initSlotPlaceholders=function(){var
t,e=this,i=this.options,n=i.showObservableNode,r=i.playerAfter,o=i.playerElement,a=
i.minDistance,s=i.maxSegments,d=i.lookupNode,l=window,c=l.scrollY,u=l.innerHeight,h
=d||document.body,p=Object(cr.o)(o)?[o]:Array.from(Object(cr.k)(o,h)),f=0>s?
1/0:s;if((t=this.slotPlaceholders).push.apply(t,p.slice(0,f)),(f-
=this.slotPlaceholders.length)&&r){var
g=this.slotPlaceholders[this.slotPlaceholders.length-1],v=u*a,b=g?
g.getBoundingClientRect().top+c+v:u;Array.from(Object(cr.k)(r,h)).some(function(t)
{if(t.getBoundingClientRect().top+c>b){var i=document.createElement("div");f-
=1,t.parentNode.insertBefore(e._addDOMNode(i),t.nextSibling),e.slotPlaceholders.pus
h(i),b+=v}return!f})}var
m=I.call(this).visible,y=(m&&m.length&&m[0]).previousElementSibling,O=y&&y.getBound
ingClientRect().top;Object(cr.b)(this.slotPlaceholders,{boxSizing:"border-
box",paddingTop:Object(dr.s)(2),paddingBottom:Object(dr.s)
(2),backgroundColor:"transparent"}),y&&window.scrollBy(0,y.getBoundingClientRect().
top-O),n&&Object(cr.b)(this.slotPlaceholders,
{outlineWidth:"1px",outlineColor:"pink",outlineStyle:"solid"}),this.slotPlaceholder
s.forEach(function(t){return t.className="vn-
placeholder"})},i._closeModule=function(){t.prototype._closeModule.call(this);var
e={height:0,paddingTop:0,paddingBottom:0},i=I.call(this),n=i.above,r=i.below,o=i.vi
sible;setTimeout(function(){if(Object(cr.b)([].concat(r,o),e),o&&o.length){var
t=(o&&o.length&&o[0]).previousElementSibling,i=t&&t.getBoundingClientRect().top;Obj
ect(cr.b)(n,e),i&&window.scrollBy(0,t.getBoundingClientRect().top-
i)}},1)},i._closeRestOfSlotPlaceholders=function(){var
t=window.innerHeight;this.slotPlaceholders.forEach(function(e){var
i=e.getBoundingClientRect().top;0>t-i&&Object(cr.b)(e,
{height:0,paddingTop:0,paddingBottom:0})})},i._updateModuleNodeSize=function(e)
{void 0===e&&(e=!1);var i=t.prototype._updateModuleNodeSize.call(this,e),n=i||
{},r=n.width,o=n.height;if(r&&o){var a={width:Object(dr.s)(r),height:Object(dr.s)
(o+2+2)},s=I.call(this),d=s.above,l=s.below,c=s.visible;Object(cr.b)
([].concat(l,c),a);var u=d.map(function(t){return Object(dr.h)
(t).outsideHeight}).reduce(function(t,e){return t+e},0);Object(cr.b)(d,a);var
h=d.map(function(t){return Object(dr.h)(t).outsideHeight}).reduce(function(t,e)
{return t+e},0);window.scrollBy(0,h-u)}return
i},i._switchOnObservableAdvancedNode=function(){var
t=this,e=this.slotPlaceholders,i=this.options.doNotWatchVisibility;if(!
this._tempObservableModuleNode&&!i){var n=this._tempObservableModuleNode={items:
[],remove:function(){return n.items.forEach(function(t){return Object(cr.s)
(t)})}},r=this._watchTempObservableModuleNodeVisibility={items:
[],disconnect:function(){return r.items.forEach(function(t)
{t.disconnect&&t.disconnect()})}};e&&e.forEach(function(e){var
i=t._createObservableAdvancedNode(),o=i.node,a=i.watcher,s=Object(cr.g)
(e),d=s.top,l=s.left;o.style.top=Object(dr.s)(d+2),o.style.left=Object(dr.s)
(l),o&&window.document.body.appendChild(o);var c=t._addDOMNode(o);o.className=("vn-
start-mark_"+t+"_"+Ir++).replace(/\s+/g,"-").replace(/(\
[|])/g,"_"),n.items.push(c),r.items.push(a)})}},i.getModuleVisibility=function()
{return
this._watchTempObservableModuleNodeVisibility&&this._tempObservableModuleNode?
Promise.race(this._tempObservableModuleNode.items.map(function(t){return
Object(dr.n)(t)})):Object(dr.n)(this.moduleNode)},i.toString=function(){return
Er},i.getBaseName=function(){return"ContinuousRoll".toLowerCase()},e}
(jr),kr=i(11),xr="FlyRoll",Nr="Format["+xr+"]",Mr=Nr,Vr={playerEmbeddedClass:"vn-
embedded",playerFloatingClass:"vn-
floating",zIndex:null,playerDesktopFactor:.6,playerMobileFactor:.6,playerDesktopSta
rtFactor:.5,playerDesktopStopFactor:.5,playerMobileStartFactor:.5,playerMobileStopF
actor:.5,floatingWidth:"200px",floatingBottom:"2%",floatingRight:"3%",flyExpandingD
uration:0,flyExpandingStartOpacity:.05,switchToEmbeddedModeAtTheEnd:!
0,flyBelowOnly:!1},Rr={_EMBEDDED:0,_FLOATING:1},Lr=!1,Fr=0,Wr=function(t){function
e(e,i){var n,r;void 0===i&&(i={});var
o=i&&i.ancestor&&i.ancestor+":"+Nr||"::"+Nr;if(Lr)throw Error(o+".Format instance
already active on the page");i&&i.moduleAPI&&i.moduleAPI.logger||or.b;var
a=i.canFlyModeStart;i.canFlyModeStart=Object(dr.t)(a);var
s={};i.canFlyModeStart&&(s.doNotWatchVisibility=!1,s.expandOnAdLoaded=!0),
(r=t.call(this,e,function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?T(Object(e),!0).forEach(function(i)
{k(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},Vr,
{},i,{},s,{ancestor:o}))||
this)._fakeVideoSlot=null,r.options.flyBelowOnly=Object(dr.t)
(r.options.flyBelowOnly),r[Mr]=o,r._setInstanceEIsExists(),r._replaceModuleInnerNod
e();var
d=r.options,l=d.floatingElement,c=d.floatingWidth,u=d.floatingTop,h=d.floatingRight
,p=d.floatingBottom,f=d.floatingLeft,g=d.floatingTranslateX,v=void 0===g?
0:g,b=d.floatingTranslateY,m=void 0===b?
0:b,y=d.flyExpandingDuration,O=d.flyExpandingStartOpacity;r._mode=Rr._EMBEDDED,r.tr
aceLogEnabled=Object(dr.t)(Object(kr.b)("flyroll.trace"));var
A={position:"fixed",zIndex:2147483646,backgroundColor:"white",boxShadow:"0 0 10px
black",width:Object(dr.s)(c),top:Object(dr.s)(u),right:Object(dr.s)
(h),bottom:Object(dr.s)(p),left:Object(dr.s)
(f),transitionProperty:"none",transitionDuration:0,opacity:y?
O:1,transform:"translate("+Object(dr.s)(v)+", "+Object(dr.s)(m)
+")"},w=x(r).options.zIndex;r._style=((n={})
[Rr._EMBEDDED]=r._updateEmbeddedBlockStyle({position:"absolute",textAlign:"center",
width:"100%",zIndex:w,backgroundColor:"",top:0,left:0,transform:"translate(0,
0)",minWidth:"auto",maxWidth:"auto",transitionProperty:"none",transitionDuration:0,
boxShadow:"none",opacity:1}),n[Rr._FLOATING]=r._updateFlyBlockStyle(A),n);var
_=Object(cr.j)(l);r._strictFloatingWidth=parseFloat(c)||
null,r._floatingWidthInPercents="%"===(""+c).trim().substr(-1)&&parseFloat(c)||
null,(r._floatingPositionNode=_||
r._floatingPositionNode)&&r._addDOMEventListener(window,"resize",function()
{r._updateSlotSizeAndPosition()});var
P=x(r).options,S=P.playerDesktopFactor,j=P.playerMobileFactor,E=P.playerDesktopStar
tFactor,C=P.playerDesktopStopFactor,D=P.playerMobileStartFactor,I=P.playerMobileSto
pFactor;return r._playerFactor=ur.h?j:S,r._playerStartFactor=ur.h?
D:E,r._playerStopFactor=ur.h?I:C,r._updateSlotSizeAndPosition(),r}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._updateEmbeddedBlockStyle=function(t){return t||
{}},i._updateFlyBlockStyle=function(t){return t||
{}},i._replaceModuleInnerNode=function(){},i.isFloatingMode=function(){return
this._mode===Rr._FLOATING},i._initDOM=function()
{t.prototype._initDOM.call(this);var
e=this.moduleNode,i=this.insideIframe,n=this.options,r=n.floatingElement,o=n.showOb
servableNode;if(i)throw Error(this[Mr]+"._initDOM(). Unable create flyRoll inside
iframe");var a=r&&Object(cr.j)(r);this._floatingPositionNode=a||function(){return
this._addDOMNode(Object(cr.a)(document.body,"div",{position:"fixed",zIndex:-
1,top:0,bottom:0,left:0,right:0}))}.call(this),!0===o&&Object(cr.b)
(this._floatingPositionNode,
{outlineWidth:"1px",outlineColor:"magenta",outlineStyle:"solid"}),Object(cr.b)(e,
{zIndex:null}),this._updateSlotSizeAndPosition()},i._vpaidInitAd=function(){var
e=this,i=t.prototype._vpaidInitAd.call(this);this.isFloatingMode()||
this._updateFakeVideoSlot();var
n=this.options.canFlyModeStart,r=this.options.moduleAPI,o=r.addVPAIDEventListener;!
!(0,r.AdVideoStartWasHappenedAtLeastOnce)()&&(n=this.options.canFlyModeStart=!
0,this.options.expandOnAdLoaded=!
0),o&&(E.call(this,"AdLoaded","onAdLoadedHandlerFlyRollBase_2"),this.onAdLoadedHand
lerFlyRollBase_2=o("AdLoaded",function()
{E.call(e,"AdLoaded","onAdLoadedHandlerFlyRollBase_2"),e._updateSlotClass(),e.isFlo
atingMode()||
(e._updateModuleSize(),e._updateModuleNodeSize())},this)),n&&o&&(E.call(this,"AdLoa
ded","onAdLoadedHandlerFlyRollBase"),this.onAdLoadedHandlerFlyRollBase=o("AdLoaded"
,function(){E.call(e,"AdLoaded","onAdLoadedHandlerFlyRollBase"),function(){var
t=this.options.moduleAPI,e=t.inState,i=t.resumeAd,n=t.startAd;this._mode=Rr._FLOATI
NG;var
r=this._addVPAIDEventListener(this,"applyModuleStateCheckPausedAndPlaying",function
()
{this._removeVPAIDEventListener(this,"applyModuleStateCheckPausedAndPlaying",r),thi
s.isFloatingMode()&&(this._setMode(Rr._FLOATING),e(["paused","pausing"])?i():!
e("playing")&&n())}.bind(this))}.call(e)},this));var a=function(){var
t=(e.options||{}).switchToEmbeddedModeAtTheEnd;(void 0===t||
t)&&e.isFloatingMode()&&e._setMode(Rr._EMBEDDED)};return
o&&(E.call(this,"AdVideoComplete","onAdVideoCompleteHandlerFlyRollBase"),this.onAdV
ideoCompleteHandlerFlyRollBase=o("AdVideoComplete",a,this),E.call(this,"AdSkipped",
"onAdSkippedHandlerFlyRollBase"),this.onAdSkippedHandlerFlyRollBase=o("AdSkipped",a
,this),E.call(this,"AdVideoStart","onAdVideoStartHandlerFlyRollBase"),this.onAdVide
oStartHandlerFlyRollBase=o("AdVideoStart",function(){E.call(
e,"AdVideoStart","onAdVideoStartHandlerFlyRollBase"),e.trigger("vnFormatStateChange
d",
{src:Nr,isFloating:e._mode===Rr._FLOATING})},this)),i},i._getNodeForObservableCheck
ing=function(){return this._fakeVideoSlot||
this.moduleNode},i._updateModuleNodeSize=function(e){void 0===e&&(e=!1);var
i=this._floatingModeWasExists,n=this.options.canFlyModeStart;if(!
this.isFloatingMode())if(n&&!i)t.prototype._updateModuleNodeSize.call(this,!
0);else{var r=(t.prototype._updateModuleNodeSize.call(this,e||n&&i)||
{}).height;r&&this._updateSlotSizeAndPosition(r)}},i._applyModuleStateCheckPausedAn
dPlaying=function(e){var
i=e.intersectionRatio,n=e.moduleSquare,r=e.boundingClientRect,o=this.traceLogEnable
d,a=this._playerStartFactor,s=this._playerStopFactor,d=this._playerFactor,l=this._f
loatingModeWasExists,c=this._moduleWasClosed,u=this.moduleNode,h=this.options,p=h.f
lyBelowOnly,f=h.canFlyModeStart,g=h.moduleAPI,v=g.inState,b=g.getState,m=g.resumeAd
,y=g.pauseAd;if(!c){var O=this.isFloatingMode();O||
(this.maxEmbeddedIntersectionRatio=Jn(i,this.lastEmbeddedIntersectionRatio||0));var
A=b(),w=v&&!v("loaded")||
f,_=v&&v(["paused","pausing"]),P=v&&v("playing"),S=v&&v("afterplay"),j=u&&u.getBoun
dingClientRect()||{},E=j.top,C=j.bottom,D=j.width;if(o&&this.logger.trace(this[Mr]
+"._applyModuleStateCheckPausedAndPlaying() !!!! intersectionRatio="+i+"
moduleNodeWidth="+D+" boundingClientRect.width="+r.width+" moduleSquare="+n+"
_floatingModeWasExists="+l+" floating="+O+" _playerFactor="+d+" state="+A+"
playing="+P+" paused="+_+" started="+w+"
this._adHasBeenStarted="+this._adHasBeenStarted+"
maxEmbeddedIntersectionRatio="+this.maxEmbeddedIntersectionRatio,1),!O&&p){var
I=document.documentElement.clientHeight,T=C>=I&&E<=I&&0<E||!
i&&C>=I&&E>=I;if(o&&this.logger.trace(this[Mr]+". forbiddenSetFlyMode="+T+"
top="+E+" bottom="+C+" clientHeight="+I+" intersectionRatio="+i+"
floating="+O,2,"pink"),T)return void
t.prototype._applyModuleStateCheckPausedAndPlaying.call(this,
{intersectionRatio:i})}_&&(O||i>=a)&&m&&m(),!
O&&P&&this.maxEmbeddedIntersectionRatio<s&&!l&&y&&y();var k=n&&!Object(dr.p)
(D,r.width,10),x=f||this.lastEmbeddedIntersectionRatio>=d||
this.lastEmbeddedIntersectionRatio>=a&&i<this.lastEmbeddedIntersectionRatio||
l;w&&O&&i>=d&&k?this._setMode(Rr._EMBEDDED):w&&!O&&!
S&&i<d&&k&&x&&this._setMode(Rr._FLOATING),O||
(this.lastEmbeddedIntersectionRatio=i),this.trigger("applyModuleStateCheckPausedAnd
Playing")}},i._moduleResizeAd=function(e,i){var
n=this.traceLogEnabled,r=this.options.moduleAPI,o=r.getIndents,a=r.saveAdParams,s=r
.getSavedAdParams,d=r.inState,l=o&&o(),c=void
0==l.clientHeight;if(n&&this.logger.trace(this[Mr]+"._moduleResizeAd()
mode="+this._mode),this._updateSlotClass(),this.isFloatingMode()){var
u=this._mode,h=this._strictFloatingWidth,p=this._floatingWidthInPercents,f=this.mod
uleInnerNode,g=this.options.moduleAPI,v=g.resizeAd,b=g.setWrapperSize,m=g.getContro
lNode,y=g.AdVideoStartWasHappenedAtLeastOnce,O=l.borderTop,A=l.paddingTop,w=l.borde
rBottom,_=l.paddingBottom,P=l.marginTop,S=!!y(),j=this.getBaseName()
+"_moduleResizeAd",E=s(j);if((c||!
d(["loaded","starting","playing","pausing","paused"]))&&S)return void(Object(dr.u)
(E&&E[u],this.logger,Nr+" _moduleResizeAd().")||M.call(this,
["AdVideoStart"],"_updateModuleState()"));var C=window.getComputedStyle(e),D=!
p&&h||Qn(e.clientWidth-parseFloat(C.paddingLeft)-
parseFloat(C.paddingRight));p&&(n&&this.logger.trace(this[Mr]+" _moduleResizeAd()
floatingWidth="+D*p/100+" moduleWidth="+D+" _strictFloatingWidth="+h+"
_floatingWidthInPercents="+p),D*=p/100);var
I=Zn(window.innerWidth,D),T=Zn(window.innerHeight,Qn(I*i)),k=function(t,e,i,n)
{function r(i){e=Qn((t=i)*n)}function o(i){t=Qn((e=i)/n)}var
a=this.options,s=a.floatingMinHeight,d=a.floatingMaxHeight,l=a.floatingMinWidth,c=a
.floatingMaxWidth,u=a.moduleAPI.getIndents,h=u&&u(),p=h.top+h.bottom,f=i.clientWidt
h,g=document.documentElement,v=g.clientHeight,b=g.clientWidth,m=N(c,f),y=N(l,f),O=N
(d,v),A=N(s,v);return y&&t<y&&r(y),A&&e+p<A&&o(A-
p),m&&t>m&&r(m),b&&t>b&&r(b),O&&e+p>O&&o(O-p),
{width:t,height:e}}.call(this,I,T,e,i),x=k.width,V=k.height;E||(E={});var
R=E[u]=[];v&&(R.push(function(){return v(x,V)}),v(x,V));var L=(V||0)+(O||0)+(w||0)+
(A||0)+(_||0),F={width:Object(dr.s)(x),height:Object(dr.s)(L+(P||0))};Object(cr.b)
(f,F),R.push({node:f,moduleInnerStyles:F}),R.push(function(){return b(L)}),b(L);var
W=(this.options||{}).setSizeByMedia;if(Object(dr.t)(W)){var H=m("vpaidSlot");if(H)
{var
z={position:"absolute",top:0,left:0,width:"100%",height:"100%",textAlign:"center"};
Object(cr.b)(H,z),R.push({node:H,styles:z})}}a(j,E)}else
t.prototype._moduleResizeAd.call(this,e,i)},i._getTopLeftForEmbedded=function()
{return{top:0,left:0}},i._updateSlotSizeAndPosition=function(t){void
0===t&&(t=null);var
e=this._mode,i=this.moduleNode,n=this.options,r=n.forceEnableVerticalContent,o=n.fl
yExpandingDuration,a=n.moduleAPI,s=a.getIndents,d=a.getAdAspectRatio,l=a.AdVideoSta
rtWasHappenedAtLeastOnce,c=a.inState,u=a.saveAdParams,h=a.getSavedAdParams,p=this.m
oduleInnerNode,f=this.traceLogEnabled;if(p&&null!=e){var g=s(),v=void
0==g.clientHeight,b=!!l();f&&this.logger.trace(this[Mr]
+"._updateSlotSizeAndPosition() mode="+e+" wrapperNotFound="+v+"
notFirstAd="+b);var m=this.getBaseName()+"_updateSlotSizeAndPosition",y=h(m)||
{};if((v||!c(["loaded","starting","playing","pausing","paused"]))&&b)return void
Object(dr.u)(y&&y[e],or.b,Nr+" _updateSlotSizeAndPosition() .");y||(y={});var
O=y[e]=[];if(Object(cr.b)(p,this._style[e]),this._mode===Rr._EMBEDDED){var A=t||
g.outsideHeight,w=this._getTopLeftForEmbedded(),_=w.top,P=w.left,S=Object(dr.h)
(i),j=S.clientWidth,E=S.marginRight,C=S.marginLeft,D=i.style,I=D.marginLeftStr,T=D.
marginRightStr,k=j+C+E-(parseFloat(I)||0)-(parseFloat(T)||0);p&&Object(cr.b)(p,
{top:Object(dr.s)(_),left:Object(dr.s)
(P),visibility:""}),f&&this.logger.trace(this[Mr]+"._updateSlotSizeAndPosition()
height="+A+" width="+k+" top="+_+" left="+P+" forceHeight="+t),void 0!
==A&&p&&Object(cr.b)(p,{height:Object(dr.s)(A)}),void 0!==k&&p&&Object(cr.b)(p,
{width:Object(dr.s)(k)})}else{var x=d&&d();ur.h||!(1<x)||r||(x=9/16);var
N=this._getWidthNode();this._moduleResizeAd(N,x),O.push(this._moduleResizeAd.bind(t
his,N,x));var M=function(){var
t=this._style,e=this._floatingPositionNode,i=this.traceLogEnabled,n=this.options,r=
n.floatingHCenter,o=n.floatingTop,a=n.floatingRight,s=n.floatingBottom,d=n.floating
Left,l=n.moduleAPI,c=l.getAdHeight,u=l.getAdWidth,h=l.getIndents,p=c&&c(),f=u&&u();
if(!(p&&f&&e&&t))return i&&this.logger.trace(this[Mr]+" one or more parameters is
false: adHeight="+p+" adWidth="+f+" _floatingPositionNode="+e+"
_style="+t,1,"pink"),null;var
g=e.getBoundingClientRect(),v=g.width,b=g.height,m=g.left,y=g.top,O=h&&h()||
{},A=O.top,w=O.outsideWidth,_=O.insideHeight;if(isNaN(A)||isNaN(w)||isNaN(_))return
i&&this.logger.trace(this[Mr]+" parameters isNaN topPadding="+A+" flWidth="+w+"
flHeight="+_,1,"pink"),null;var P="";return r?P+="translateX("+Object(dr.s)((v-
w)/2)+") ":d?P+="translateX("+Object(dr.s)(d)+")
":a&&(P+="translateX(calc("+Object(dr.s)(v)+" - "+Object(dr.s)(a)+" -
"+Object(dr.s)(w)+")) "),o?P+="translateY("+Object(dr.s)(o)+")
":s&&(P+="translateY(calc("+Object(dr.s)(b)+" - "+Object(dr.s)(s)+" -
"+Object(dr.s)(_+A)+")) "),i&&this.logger.trace(this[Mr]+'
calcFloatingWidthAndPosition() transform="'+P+'"\n width='+v+" flWidth="+w+"
adWidth="+f+" top="+y+" left="+m+" adHeight="+p+" flHeight="+_),{width:Object(dr.s)
(w),top:Object(dr.s)(y),left:Object(dr.s)(m),transform:P}}.call(this)||
{};M&&Object(cr.b)(p,M),o&&setTimeout(function(){return Object(cr.b)(p,
{transitionProperty:"opacity",transitionDuration:Object(dr.r)
(o),opacity:1})},1)}var
V=getComputedStyle(p),R=Object.keys(this._style[Rr._EMBEDDED]).concat("height").red
uce(function(t,e){return t[e]=V[e],t},
{});O.push({node:p,styles:R}),u(m,y)}},i._updateSlotClass=function(){var
t=this._mode,e=this.options,i=e.playerEmbeddedClass,n=e.playerFloatingClass,r=e.mod
uleAPI.getControlNode,o=r&&r("slot");o&&(t===Rr._FLOATING?
(o.classList.remove(i),o.classList.add(n)):
(o.classList.remove(n),o.classList.add(i)))},i._getWidthNode=function(){var
t=this._mode,e=this._floatingPositionNode,i=this.widthNode,n=this.options.moduleAPI
.getControlNode;return(t===Rr._FLOATING?e:i)||n&&n("slot")},i._setMode=function(e)
{if(!this._moduleWasClosed){this.isFloatingMode()||
this._updateFakeVideoSlot(),this._mode=e;var
i=e===Rr._FLOATING;t.prototype._resetObservableNodes.call(this),this._updateModuleS
ize(),this._updateModuleNodeSize(),this._updateSlotSizeAndPosition(),i&&(this._floa
tingModeWasExists=!0),this._updateSlotClass(),this.trigger("vnFormatStateChanged",
{src:Nr,isFloating:i})}},i._destroy=function()
{this._resetInstanceEIsExists(),t.prototype._destroy.call(this)},i._resetInstanceEI
sExists=function(){Lr===this&&(Lr=!1)},i._setInstanceEIsExists=function(){Lr||
(Lr=this)},i._createReachInventoryFactory=function(e,i){var
n=this.traceLogEnabled,r=this.options,o=r.canFlyModeStart,a=r.moduleAPI.getMainModu
leId;n&&this.logger.trace(this[Mr]+"._createReachInventoryFactory()
canFlyModeStart="+o,2,"magenta");var s=a&&a();return o?{id:("vn-visible-inventory-
mark_"+this+"_"+Fr+++" vn-module__"+s).replace(/\s+/g,"-").replace(/(\
[|])/g,"_"),waiterCreator:function(){return
Promise.resolve()},moduleNode:i}:t.prototype._createReachInventoryFactory.call(this
,e,i)},i._getWatchVisibilityThreshold=function(){var
t=this._playerFactor,e=this._playerStartFactor,i=this._playerStopFactor,n=[];return
0<=t&&(n.push(t),.01<t&&n.push(t-.01),.01<1-t&&n.push(t+.01)),0<=e&&n.push(e),i!
==e&&0<=i&&n.push(i),n.push(e),n.length&&(0!==t&&n.push(0),1!
==t&&n.push(1)),n.sort()},i._closeModule=function(e){void 0===e&&(e={});var
i=this.options.moduleAPI.getControlNode;this._resetInstanceEIsExists();var
n=i&&i("slot");Object(cr.b)(n,
{display:"none"}),t.prototype._closeModule.call(this,e)},i._updateFakeVideoSlot=fun
ction(){var
t=this._fakeVideoSlot,e=this.moduleNode,i=this.options,n=i.showObservableNode,r=i.m
oduleAPI.getControlNode,o=t;Object(cr.o)(o)||(this._fakeVideoSlot=o=docume
nt.createElement("div"),Object(cr.b)(o,
{position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0}),e.insertB
efore(o,e.firstElementChild),!0===n&&(Object(cr.b)(this._floatingPositionNode,
{outlineWidth:"1px",outlineColor:"lightpink",outlineStyle:"solid"}),o.classList="fa
keVideoSlot"));var a=r&&r("vpaidSlot"),s=a&&Object(cr.h)(a,o)||{};return
Object(cr.b)(o,{top:Object(dr.s)(s.top||0)}),o},i.toString=function(){return
Nr},i.getBaseName=function(){return xr.toLowerCase()},e}
(jr),Hr="Format[FlyRollTop]",zr={embeddedPosition:"absolute",zIndex:2147483646},Br=
function(t){function e(e,i){var
n,r=i&&i.ancestor&&i.ancestor+":"+Hr||"::"+Hr;return(n=t.call(this,e,R({},zr,{},i,
{ancestor:r}))||this)[Hr]=r,n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._updateFlyBlockStyle=function(t){var e=(t||
{}).width;return e&&e.endsWith("%")&&delete t.width,R({},t,
{right:0,bottom:0})},i._updateEmbeddedBlockStyle=function(t){return R({},t,
{position:"absolute",height:0,overflow:"hidden"})},i._replaceModuleInnerNode=functi
on(){this.moduleInnerNode=Object(dr.k)
(window).document.body.appendChild(this.moduleInnerNode.parentElement.removeChild(t
his.moduleInnerNode))},i._getTopLeftForEmbedded=function(){return function(t){if(!
t)return{top:0,left:0};var
e=t.getBoundingClientRect(),i=document,n=i.body,r=i.documentElement,o=window.pageYO
ffset||r.scrollTop||n.scrollTop,a=window.pageXOffset||r.scrollLeft||
n.scrollLeft,s=r.clientTop||n.clientTop||0,d=r.clientLeft||n.clientLeft||
0;return{top:e.top+o-s,left:e.left+a-d}}(this.moduleNode)},i.toString=function()
{return Hr},e}
(Wr),Ur="Format[FlyRollAlwaysFly]",qr={embeddedPosition:"absolute",zIndex:214748364
6,ignoreCreatePlayerElement:!0,canFlyModeStart:!0},Gr=function(t){function e(e,i)
{var
n,r=i&&i.ancestor&&i.ancestor+":"+Ur||"::"+Ur;return(n=t.call(this,e,function(t)
{for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
F(Object(e),!0).forEach(function(i){W(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):F(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},qr,
{},i,{ancestor:r}))||this)[Ur]=r,n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._getTopLeftForEmbedded=function()
{return{top:0,left:0}},i._setMode=function(e)
{e===Rr._FLOATING&&(this._switchOffObservableAdvancedNode(),t.prototype._setMode.ca
ll(this,e))},i._updateFakeVideoSlot=function(){},i._updateModuleNodeSize=function()
{},i._initDOM=function(){t.prototype._initDOM.call(this);var
e=this.moduleNode;Object(cr.o)(e)&&Object(cr.b)(e,
{height:0})},i.toString=function(){return Ur},e}
(Br),Xr="Format[FlyRollRegular]",Yr={zIndex:null,embeddedPosition:"relative"},Qr=fu
nction(t){function e(e,i){var
n,r=i&&i.ancestor&&i.ancestor+":"+Xr||"::"+Xr;return(n=t.call(this,e,z({},Yr,{},i,
{ancestor:r}))||this)[Xr]=r,n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._updateEmbeddedBlockStyle=function(t){return
z({},t,{position:"absolute"})},i._getTopLeftForEmbedded=function()
{return{top:0,left:0}},i.toString=function(){return Xr},e}(Wr),Jr={"Loading
video...":"Загрузка видео...","Skip ad in {{x}} sec":"Пропустить можно через {{x}}
сек","Skip ad in":'Пропустить <div style="font-size: smaller">можно
через</div>',"{{x}} sec":"{{x}} сек","Going after":'Реклама<div style="font-size:
smaller"> закончится через</div>',"Learn
more":"Подробнее",Advertisement:"Реклама","Watch video":"Смотреть видео","Watch
video<br/>after ad":"Продолжение</br>после рекламы","Pull to
skip<br/>{{x}}":"Тяните,<br/>чтобы пропустить<br/>{{x}}","Push to watch<br/>360
video":"Нажмите, чтобы смотреть<br/>360-градусное видео","The ad will end in {{x}}
sec":"До окончания рекламы {{x}} сек"},Zr={ru:Jr},Kr=!1,$r="en",to=function(t)
{for(var e=String.raw,i=arguments.length,n=Array(1<i?i-1:0),r=1;r<i;r++)n[r-
1]=arguments[r];if(Kr||function(){var t;try{t=(top.navigator.language||
top.navigator.userLanguage).substr(0,2)}catch(e){t=(navigator.language||
navigator.userLanguage).substr(0,2)}Kr=!0,Zr[t]&&($r=t)}(),"en"===$r){if(e)return
e(t,n);if(!Zr[$r]){var o=Zr[$r]={};Object.keys(Jr).forEach(function(t)
{o[t]=t})}}var a=t.join(""),s=Zr[$r],d="";return Object.keys(s).forEach(function(t)
{d||t.replace(/{{x}}/g,"")!==a||(d=s[t],n&&n.forEach(function(t){d=d.replace(/
{{x}}/g,t)}))}),d||
e(t,n)},eo=i(25),io=i.n(eo),no=i(26),ro=i.n(no),oo=i(5),ao="SlideRoll",so="Format["
+ao+"]",lo={playerElement:null,playerAfter:null,playerBefore:null,playerFactor:.5,c
loseFactor:.3,transitionDuration:0,expandOnAdLoaded:!1},co={videoSlot:{boxShadow:"0
0 20px 5px rgba(0, 0, 0, 0.5)"},title:{top:"10px",left:"10px",padding:"5px
10px",lineHeight:"15px",color:"white",backgroundColor:"rgba(0, 0, 0,
0.289)",borderRadius:"3px",cursor:"default",pointerEvents:"none"},logo:
{top:"5px",right:"5px",bottom:"auto",left:"auto"},play:null,skipAd:null,skipAdCount
down:
{display:"none",position:"absolute",top:"auto",right:"auto",bottom:"5px",left:"50%"
,width:"160px",margin:"0 auto 5px
auto",padding:"5px",borderRadius:"3px",backgroundColor:"rgba(0, 0, 0,
0.7)",transform:"translateX(-50%)",textAlign:"center"},subtitle:
{bottom:"25%"}},uo=function(t){function e(e,i){var n;if(!ur.h)throw new
Error("Mobile not detected");return(n=t.call(this,e,function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?q(Object(e),!
0).forEach(function(i){G(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):q(Object(e)).forEach
(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},lo,
{},i,{ancestor:so}))||this).options.expandOnAdLoaded=Object(dr.t)
(n.options.expandOnAdLoaded),n.waitingForInitialScroll=!0,n.onResize=function()
{this._updateModuleSize()}.bind(X(n)),n.onScroll=function(){var
t=this._getDimensions().visiblePercent,e=this.options.closeFactor;if(this._updateMo
duleState(),!$n&&t>e&&tr){var
i=this.requestAnimationID;i&&window.cancelAnimationFrame(i),this.scrollTo=null}if(u
r.g){var n=this.module.getControlNode("volume"),r=.6*(window.innerHeight-
document.querySelector("html").clientHeight);Object(cr.b)(n,
{marginBottom:r+"px"})}}.bind(X(n)),n.onTouchEnd=function(){$n=!
1,this._removeDOMEventListener(window,"touchend",this.onTouchEnd),this._removeDOMEv
entListener(this.wrapper,"touchend",this.onTouchEnd);var
t=this.module,e=this.options.closeFactor,i=this._getDimensions(),n=i.visiblePercent
,r=i.moduleTop;or.b.none(so+" updateModuleState("+n+")
"+t.state),this.waitingForInitialScroll&&n>e&&(this._scrollTo(r),this.waitingForIni
tialScroll=!
1),this._updateModulePosition(),this._updateModuleState()}.bind(X(n)),n.onTouchStar
t=function(){$n=!
0,tr=null,this._addDOMEventListener(window,"touchend",this.onTouchEnd),this._addDOM
EventListener(this.wrapper,"touchend",this.onTouchEnd)}.bind(X(n)),n._scrollTo=func
tion(t,e){var i,n=this;e&&(er=e),$n||tr||
(tr=t,this.requestAnimationID=window.requestAnimationFrame(function t(e){if(void
0===e&&(e=0),(!$n||er)&&tr){var r=Zn(1,(e-(i=i||e))/1e3*2),o=(tr-
window.scrollY)*r;if(0<r&&.05>Yn(o))return
er&&er(),window.scrollTo(window.scrollX,tr),er=null,void(tr=null);window.scrollTo(w
indow.scrollX,Qn(window.scrollY+o)),n.requestAnimationID=window.requestAnimationFra
me(t)}})),tr=t}.bind(X(n)),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._initDataXml=function(){var t=this;return new
Promise(function(e){var
i=t.module,n=t.options,r=window.innerWidth,o=a(n,""+t),s=o.moduleNode,d=o.moduleInn
erNode;t.moduleNode=t._addDOMNode(s),t.moduleInnerNode=t._addDOMNode(d);var
l=t.slot=t._initSlotNode();Object(cr.b)(s,{position:"relative"}),Object(cr.b)(d,
{clip:"rect(0,0,0,0)"});var
c=s.getBoundingClientRect(),u=c.left,h=c.right;Object(cr.b)(s,
{marginLeft:"-"+u+"px",marginRight:"-"+(r-h)
+"px"}),Object.keys(co).forEach(function(t){var e=co[t];i.setControlData(t,
{css:e})}),i.setControlData("logo",{content:io.a}),i.setControlData("slot",
{node:l}),t._addVPAIDEventListener(i,"AdLoaded",function(){var
t=this.module,e=this.slot,i=this.options.expandOnAdLoaded,n=t.getAdAspectRatio();if
(!n)throw new Error(so+" Invalid aspect ratio ("+n+")");var
r=t.getControlNode("iframe");this.wrapper=t.getControlNode("wrapper"),Object(cr.b)
(r,{position:"absolute",left:0,bottom:0,width:"100%"}),Object(cr.b)(e,
{display:"",transform:"translate3d(0,0,0)"}),this._createSlideToSkipAd(t),this._add
DOMEventListener(window,"resize",this.onResize),this._addDOMEventListener(window,"s
croll",this.onScroll),this._addDOMEventListener(window,"touchstart",this.onTouchSta
rt,{passive:!0}),this._addDOMEventListener(window,"touchend",ho,{passive:!
0}),this._addDOMEventListener(this.wrapper,"touchstart",this.onTouchStart,
{passive:!0}),this._addDOMEventListener(this.wrapper,"touchend",ho,{passive:!
0}),i&&(this._updateModuleState(),this._updateModuleSize())}.bind(t)),t._addVPAIDEv
entListener(i,"AdResumed",function()
{this._updateModuleState()}.bind(t)),t._addVPAIDEventListener(i,"AdVideoStart",func
tion()
{this._updateModuleSize(),this._updateModulePosition(),this._updateModuleState()}.b
ind(t)),t._addVPAIDEventListener(i,"AdSkippableStateChange",function()
{this.module.getAdSkippableState(),this._updateModuleState()}.bind(t)),t._addVPAIDE
ventListener(i,"AdStopped",function()
{}.bind(t)),t._addVPAIDEventListener(i,"AdDestroyed",function(){return
t._destroy()}),e()})},i._destroy=function(){t.prototype._destroy.call(this);var
e=this._getDimensions().moduleTop,i=this.requestAnimationID;i&&window.cancelAnimati
onFrame(i),e&&window.scrollTo(window.scrollX,e),Object.assign(this,
{onScroll:null,onResize:null,onTouchEnd:null,onTouchStart:null,module:null,moduleNo
de:null,moduleInnerNode:null,slot:null,_scrollTo:null})},i._createSlideToSkipAd=fun
cti
on(){var t=this.module,e=t.getControlNode("wrapper"),i=Object(cr.a)(e,"div",
{display:"none",position:"absolute",zIndex:5,top:"auto",right:"auto",bottom:"10px",
left:"50%",width:"160px",margin:"0
auto",padding:"5px",borderRadius:"3px",backgroundColor:"rgba(0, 0, 0,
0.7)",transform:"translateX(-
50%)",textAlign:"center",lineHeight:1,pointerEvents:"none"},to(U(),ro.a)),n=functio
n(){var e=t.getAdSkippableState();Object(cr.b)(i,
{display:e?"":"none"})};n(),this._addVPAIDEventListener(t,"AdSkippableStateChange",
n),t.setControlData("slideToSkipAd",{node:i})},i._initSlotNode=function(){var
t=this.moduleInnerNode;return Object(cr.a)(t,"div",
{position:"fixed",zIndex:2147483647,left:0,bottom:0,backgroundColor:"#000",transfor
m:"translate3d(0,0,0)"})},i._updateModuleState=function(){var
t=this.module,e=this.options,i=e.playerFactor,n=e.closeFactor,r=this._getDimensions
(),o=r.visiblePercent,a=r.moduleTop;(or.b.none(so+" updateModuleState("+o+")
"+t.state),!tr&&!
$n&&this.waitingForInitialScroll&&o>n&&(this._scrollTo(a),this.waitingForInitialScr
oll=!1),oo.c.call(t,"loaded")&&o>i&&t.startAd(),oo.c.call(t,
["paused","pausing"])&&o>i&&t.resumeAd(),oo.c.call(t,"playing")&&o<i&&t.pauseAd(),o
o.c.call(t,"playing"))&&(t.getAdSkippableState()||
window.scrollTo(window.scrollX,a))},i._updateModulePosition=function(){var
t=this.module,e=this.options.closeFactor,i=this._getDimensions(),n=i.visiblePercent
,r=i.moduleTop,o=i.viewportTop;!$n&&oo.c.call(t,"playing")&&n>1-
e&&this._scrollTo(r),0===n&&r<o&&t.skipAd()},i._updateModuleSize=function(){var
t=this.module,e=this.moduleNode,i=this.moduleInnerNode,n=this.slot,r=window,o=r.inn
erWidth,a=r.innerHeight;Object(cr.b)(i,
{clip:"rect(0,"+o+"px,"+a+"px,0)"}),Object(cr.b)([e,n],
{width:o+"px",height:a+"px"}),t.resizeAd(o,a)},i._getDimensions=function(){var
t=this.moduleNode,e=window,i=e.scrollY,n=e.innerWidth,r=e.innerHeight,o=r,a=i,s=i+r
,d=a+(t&&t.getBoundingClientRect()||{}).top,l=Jn(a,d),c=Zn(s,d+o),u=Jn(0,Zn(o,c-
l));return{viewportWidth:n,viewportHeight:o,viewportTop:a,viewportBottom:s,moduleHe
ight:o,moduleTop:d,moduleBottom:d+o,visibleTop:l,visibleBottom:c,visibleHeight:u,vi
siblePercent:o&&u/o}},i._getModuleDimensions=function(){return Object(dr.j)
(window,this.moduleNode)},i.toString=function(){return so},i.getBaseName=function()
{return ao.toLowerCase()},e}(sr),ho=function()
{Kn&&Kn(),Kn=null},po=i(9),fo=i(27),go=i.n(fo),vo=i(13),bo=i(22),mo="::TimeBeforeSk
ipChecker",yo=function(t){function e(e){var i;void 0===e&&(e={}),
(i=t.call(this,e)||this).moduleAPI=e.moduleAPI,i.starting=!
1,i.updateStateChecker=e.updateStateChecker,i.getTimeBeforeSkip=e.getTimeBeforeSkip
,i.shouldSetAdSkippableState=!1!==e.shouldSetAdSkippableState;var
n=Y(i).moduleAPI||{},r=n.addVPAIDEventListener,o=n.inState,a=n.logger;return
i.logger=a,o("started","starting","playing")?i.start():(r("AdVideoStart",function()
{return i.start()},Y(i)),r("AdStarted",function(){return
i.start()},Y(i)),r("AdPlaying",function(){return
i.start()},Y(i)),r("AdResumed",function(){return
i.start()},Y(i)),r("AdStopped",function(){return
i.stop()},Y(i)),r("AdPaused",function(){return
i.stop()},Y(i)),r("AdSkipped",function(){return i.stop()},Y(i))),i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.stop=function(){var
t=this.timeCounter;t&&t.stop()},i.start=function(){var
t=this.logger,e=this.timeCounter;if(e)e.start();else{var
i=this.moduleAPI,n=this.getTimeBeforeSkip,r=this.shouldSetAdSkippableState,o=(i||
{}).setAdSkippableState,a=this.timeBeforeSkip=n&&n();t&&t.log(mo+".
timeBeforeSkip="+a);var s=void 0!=a&&!a;r&&o(s),!s&&t&&t.log(mo+".
timeBeforeSkip="+a+". Unskippable Ad."),this.timeCounter=new
bo.a({increasePieceOfTime:500,tickHandler:this.tickHandler.bind(this)}),this.timeCo
unter.start()}},i.tickHandler=function(t){var
e=t.elapsedTime,i=this.timeBeforeSkip,n=this.moduleAPI,r=this.timeCounter,o=this.up
dateStateChecker,a=this.shouldSetAdSkippableState,s=(n||
{}).setAdSkippableState;i&&i<=e&&(a&&s(!
0),o&&o(),r&&r.stop())},i.getAdElapsedTime=function(){var t=this.timeCounter;return
t?t.getAdElapsedTime():0},i.isSkippable=function(){var
t=this.getTimeBeforeSkip;return t&&!!(this.timeBeforeSkip=t&&t())},e}
(rr.a),Oo="Format[CollapsingThumbnail]",Ao=500,wo={right:"5%",bottom:"60%",width:"2
5%",boxShadow:"0 0 10px rgba(0, 0, 0,
0.5)",transitionDuration:350,skipControlsTransitionDuration:350,skipControlsTransit
ionDelay:20,getThumbnailTimeout:500,startFadingDuration:2e3,fadingDuration:500,rais
ingDuration:0,intermediateFadingOpacity:.7,targetFadingOpacity:0,countdownBackgroun
dColor:"#d3d3d3",countdownBackgroundHoverColor:"#aaa",countdownColor:"black",countd
ownHoverColor:"#eee",thumbnailBackgroundColor:"#f2f2f2",thumbnailWrapperWidth:"62%"
},_o={wrapper:{paddingTop:0,paddingBottom:0},logo:{},skipAd:
{top:0,right:0,padding:"5px",margin:"0 5px 5px 0"},skipAdCountdown:cr.m,title:
{top:0,right:"40px",left:"auto",margin:"5px
0",padding:"5px",color:"white",background:"rgba(0, 0, 0, 0.27)"},vnAfterplay:
{marginTop:0},play:{marginTop:0}},Po=function(t){function e(e,i,n){var
r,o=i&&i.ancestor&&i.ancestor+":"+Oo||"Module::"+Oo;return(r=t.call(this,et({},i,
{ancestor:o}))||this)[Oo]=o,r.module=e,r._getCurrentPlayer=n,r.options=function(t)
{void 0===t&&(t={});var e=Object(pr.h)(Object(dr.i)(window,document))||
{},i=e.vn_t_startFadingDuration,n=e.vn_t_fadingDuration,r=e.vn_t_raisingDuration,o=
e.vn_t_intermediateFadingOpacity,a=e.vn_t_targetFadingOpacity;return void 0!
==i&&(t.startFadingDuration=parseInt(i,10)),void 0!
==n&&(t.fadingDuration=parseInt(n,10)),void 0!
==r&&(t.raisingDuration=parseInt(r,10)),void 0!
==o&&(t.intermediateFadingOpacity=parseFloat(o)),void 0!
==a&&(t.targetFadingOpacity=parseFloat(a)),t}(et({},wo,
{},i)),r.TIMER_NAME=r.MODULE_ID+":RemainingTimeChange",r.adWidthPrev=null,r.mainTra
nsitionWasStarted=!1,r.mainTransitionWasFinished=!1,r}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.init=function(){var
t=this,e=this.module,i=e.getControlUnionData("skipAdCountdown","timeBeforeSkip")||
e.getControlUnionData("skipAd","timeBeforeSkip");this.timeBeforeSkipChecker=new
yo({getTimeBeforeSkip:function(){return
i},moduleAPI:e.getAPI(),shouldSetAdSkippableState:!
0,logger:this.logger}),this._addDestroyableObject(this.timeBeforeSkipChecker),rt.ca
ll(this).then(function()
{}),nt.call(this),this._addVPAIDEventListener(e,"AdStarted",function(){var
t=this._overlayControls;Object(cr.b)(t,
{visibility:"visible",opacity:1}),ct.call(this)}.bind(this,e)),this._addVPAIDEventL
istener(e,"AdVideoStart",function(){ct.call(t),t.update.call(t,!0,!0,!0,!
1)}),this._addVPAIDEventListener(e,"AdVideoComplete",function()
{this._removeTimeout(this.TIMER_NAME)}.bind(this)),this._addVPAIDEventListener(e,"A
dUserClose",this._removeTimeout.bind(this,this.TIMER_NAME)),this._addVPAIDEventList
ener(e,"AdSkipped",function()
{t._removeTimeout(t.TIMER_NAME)}),this._addVPAIDEventListener(e,"AdStopped",functio
n()
{t._removeTimeout(t.TIMER_NAME)}),this._addVPAIDEventListener(e,"AdError",function(
)
{this._removeTimeout(this.TIMER_NAME)}.bind(this)),this._addVPAIDEventListener(e,"A
dSkippableStateChange",function(){!
e.getAdSkippableState()&&t._playButtonWasShown&&(t._playButtonWasShown=!
1,t._startChunkTime=t.getAdElapsedTime(),lt.call(t),ct.call(t))})},i.getAdElapsedTi
me=function(){var t=this.module,e=this.timeBeforeSkipChecker;return e?
e.getAdElapsedTime():t&&t.getAdElapsedTime()||0},i.update=function(t,e,i,n)
{function r(){var t=this;e&&function(t,e){var
i=this._overlayControls,n=this._thumbnailWrapper,r=this.options,o=r.right,a=r.botto
m,s=r.transitionDuration,d=r.thumbnailWrapperWidth,l=0^parseFloat(t),c=0^parseFloat
(e);this.overlayControlsTargetWidth=t,this.overlayControlsTargetHeight=e,Object(cr.
b)([i,n],{transitionDuration:s+"ms"}),setTimeout(function(){Object(cr.b)(i,
{right:o,bottom:a,width:Object(dr.s)(l),height:Object(dr.s)(c)}),Object(cr.b)(n,
{width:d})},1),this._getCurrentPlayer()||Object(cr.b)(i,{transition:"width 1ms,
height
1ms",left:"-"+t})}.call(this,l,c),n&&ot.call(this,g),this._addTimeout("waitManualCh
eckId",function(){(function(){function t(){this.mainTransitionWasFinished?
clearInterval(e):this.updateAfterTransitionEndWithBind({forceUpdate:!0})}var
e;this.mainTransitionWasFinished||
(t.call(this),e=setInterval(t.bind(this),500))}).call(t)},s+10)}var o=this;void
0===t&&(t=!1),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=!0);var
a=this.module,s=this.options.transitionDuration,d=function(){var
t=this.module,e=this.options.width,i=(vo.a.call(t)||
{}).outsideWidth*(parseInt(e,10)/100);return{blockWidth:i+"px",blockHeight:i/2.5+"p
x"}}.call(this),l=d.blockWidth,c=d.blockHeight,u=ut.call(this,a),h=u.time,p=u.durat
ion,f=u.adDuration,g=0>=h&&p<=f;this.mainTransitionWasStarted||
this.adWidthPrev===l&&!t||(this.mainTransitionWasStarted=!0,i&&function(t){var
e=this._thumbnailDefaultText;return rt.call(this).then(function(i){return
e&&Object(cr.b)(e,
{fontSize:parseInt(t,10)/6+"px"}),i})}.call(this,c).then(function()
{r.call(o)}).catch(function()
{r.call(o)}),this.adWidthPrev=l)},i.setZIndex=function(t)
{this._overlayControls&&(this._overlayControls.style.zIndex=t)},e}
(rr.a),So="ViqeoPlayerRoll",jo="Format["+So+"]",Eo={playerPlaybackClass:"vn-
playback-viqeo-
roll",destroyTimeout:5e3,playerDesktopStartFactor:.5,playerDesktopStopFactor:0,play
erMobileStartFactor:.5,playerMobileStopFactor:0,hideThumbnail:!
1},Co={},Do=function(t){function e(e,i){var n;if(i=pt({},Eo,{},i,{ancestor:jo}),
(n=t.call(this,e,i)||this).slot=e.getControlNode("slot"),!n.slot)throw Error(jo+"
player don't give the slot");Object(cr.b)(n.slot,
{display:"block",opacity:0}),n._initModule();var r=function(t){if(void 0===t)throw
new ReferenceError("this hasn't been initialised - super() hasn't been
called");return t}
(n).options,o=r.playerDesktopStartFactor,a=r.playerDesktopStopFactor,s=r.playerMobi
leStartFactor,d=r.playerMobileStopFactor,l=r.hideThumbnail;return
n._startFactor=parseFloat(ur.h?s:o),n._stopFactor=parseFloat(ur.h?
d:a),n.scrollNode=Object(cr.j)(i.scrollElement)||
window,n.vqPlayer=e.environmentVars.vqPlayer,n.collapsingThumbnail=!l&&new
Po(e,i,function(){return n.vqPlayer}),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.isFloatingMode=function(){var
t=this.vqPlayer;return!(!t||!t.inMode("flying"))},i._initModule=function(){var
t=this,e=this.module,i=this.slot;e._applyLayout(pt({},_o,
{},Co)),this._addVPAIDEventListener(e,"AdLoaded",function(){var
e=t.collapsingThumbnail,i=(t.options.moduleAPI||
{}).isVpaidJs;i&&i()&&e&&(e.options.transitionDuration=0),e&&e.init()});var
n=function(){return Object(cr.b)(i,
{opacity:1,zIndex:1e4})};this._addVPAIDEventListener(e,"AdVideoStart",n),this._addV
PAIDEventListener(e,"AdStarted",n)},i.setZIndex=function(t){var
e=this.collapsingThumbnail;e&&e.setZIndex(t)},i._updateModuleState=function(){var
t=this.module,e=this._startFactor,i=this._stopFactor;Object(dr.n)
(this.slot).then(function(n){var r=n.intersectionRatio;oo.c.call(t,
["paused","pausing"])&&r>=e&&t.resumeAd(),oo.c.call(t,"playing")&&r<i&&t.pauseAd()}
)},i._vpaidInitAd=function(){var e=this.scrollNode,i=this.options.moduleAPI||
{},n=i.addVPAIDEventListener,r=i.extendEnvironmentVars;return
r&&r({forceAspectRatio:!
ur.h}),n("AdLoaded",gt.bind(this),this),n("AdStarted",function()
{this._updateModuleState()}.bind(this),this),n("AdVideoStart",function()
{vt.call(this,!
0),this._updateModuleState()}.bind(this),this),n("AdStopped",function()
{vt.call(this,!1)}.bind(this),this),n("AdDestroyed",function(){var
t=this;vt.call(this,!1);var e=this.options.destroyTimeout;setTimeout(function()
{return t._destroy()},e)}.bind(this),this),n("AdSizeChange",function(){var
t=this.module,e=this.collapsingThumbnail;oo.c.call(t,
["pausing","paused","resuming","playing"])&&e&&e.update(!
0)}.bind(this),this),this._addDOMEventListener(e,"scroll",function()
{this._updateModuleState()}.bind(this)),t.prototype._vpaidInitAd.call(this)},i.getM
oduleOptions=function(){return{isInsideTextContent:!1,disableHoverAudio:!
0,startingVolume:0,vpaidJsVideoSlotShouldBeMuted:!
0}},i.hasReachInventoryFactory=function(){return!
0},i.getReachInventoryFactory=function(){var
t=this;return{markNode:"",waiterCreator:function(){return
t._waitAdvStart()},destroy:null,id:"vn-visible-inventory-
mark_"+this}},i._waitAdvStart=function(){var t=this;return new Promise(function(e)
{(function(t,e)
{this.vqPlayer.subscribe(t,e)}).call(t,e,"advStart")})},i._getModuleDimensions=func
tion(){var
t=this.vqPlayer,e=t.getModuleDimensions(),i=e.viewportHeight,n=e.viewportTop,r=e.vi
ewportBottom,o=e.moduleTop;return{viewportHeight:i,viewportWidth:t.getSize().width,
viewportTop:n,viewportBottom:r,moduleTop:o}},i.updateOptions=function(t)
{this.options=pt({},this.getOptions(),{},t);var
e=this.collapsingThumbnail,i=this.options.hideThumbnail;e&&i&&(e._destroy(),this.co
llapsingThumbnail=null)},i.toString=function(){return jo},i.getBaseName=function()
{return So.toLowerCase()},e}
(lr),Io="AmpRoll",To="Format["+Io+"]",ko=To,xo={playerDefaultClass:"vn-
player",playerPlaybackClass:"vn-
playback",playerSelectorPercent:"100%",widthElement:null,playerElement:"#c",lookupE
lement:"#c",playerSelectorTotalMin:1,playerDesktopStartFactor:.6,playerDesktopStopF
actor:.6,playerMobileStartFactor:.5,playerMobileStopFactor:.2,preloadDistance:190,m
axSegments:1,minSegments:0,minDistance:1,destroyTimeout:5e3,doNotWatchVisibility:!
0,expandingDuration:0},No=function(t){function e(e,i){var
n,r=i&&i.ancestor&&i.ancestor+":"+To||"Module::"+To;(n=t.call(this,e,function(t)
{for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
bt(Object(e),!0).forEach(function(i)
{mt(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):bt(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},xo,
{},i,{ancestor:r}))||this)[ko]=r,n.lastPostponedAction=null,n.adLoaded=!
1,n.intersectionRatio=0,n.unlistenObserveIntersection=null,window.context.observeIn
tersection&&(n.unlistenObserveIntersection=window.context.observeIntersection(n._am
pObserveIntersection.bind(yt(n))));var o=new dr.a;return
n.visibleInventoryPromise=o.promise,n.visibleInventoryResolve=o.resolve,
(0,yt(n).options.moduleAPI.setControlData)("wrapper",{css:
{position:"absolute"}}),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.waitBeforeLoadUrl=function(t){return
Promise.resolve(t)},i._vpaidInitAd=function(){var
e=this.module;this._addVPAIDEventListener(e,"AdLoaded",function(){var
t=this;window.context.reportRenderedEntityIdentifier&&window.context.reportRendered
EntityIdentifier("videonow"),this.adLoaded=!0;var
e=this.lastPostponedAction;e&&e(),setTimeout(function(){return
t._updateModuleNodeSize()},1)}.bind(this)),this._addVPAIDEventListener(e,"AdStarted
",function(){var t=this;if(window.context.renderStart){var
e=this.options.moduleAPI.getIndents,i=e&&e()||
{},n=i.outsideWidth,r=i.outsideHeight;n&&r&&(or.b.log(this[ko]+".onAdStarted()
renderStart("+n+", "+r+")",2,"green"),window.context.onResizeSuccess(function()
{setTimeout(function(){return
t._updateModuleNodeSize()},1)}),window.context.renderStart({width:n,height:r}))}}.b
ind(this));var i=t.prototype._vpaidInitAd.call(this);return Object(fr.g)
(e.environmentVars,{forceAspectRatio:!1}),i},i.abort=function()
{window.context.noContentAvailable&&window.context.noContentAvailable()},i._destroy
=function()
{this.unlistenObserveIntersection&&this.unlistenObserveIntersection(),t.prototype._
destroy.call(this)},i._ampObserveIntersection=function(t){var
e=this;t.forEach(function(t){var
i=t.intersectionRatio;0<i&&e.visibleInventoryResolve(),or.b.none(e[ko]
+"._ampObserveIntersection() intersectionRatio="+i+"
this.intersectionRatio="+e.intersectionRatio),e.intersectionRatio!
==i&&(e.intersectionRatio=i,or.b.none(e[ko]+"._ampObserveIntersection()
intersectionRatio="+i+" this.adLoaded="+e.adLoaded),e.adLoaded?
e._updateModuleState():e.lastPostponedAction=e._updateModuleState.bind(e))})},i.has
ReachInventoryFactory=function(){return!0},i.getReachInventoryFactory=function()
{var t=this;return{id:"vn-visible-inventory-mark_"+this,waiterCreator:function()
{return
t.visibleInventoryPromise},destroy:null,markNode:""}},i._moduleResizeAd=function(t,
e){var i=this.options.moduleAPI,n=i.resizeAd,r=i.getIndents,o=r&&r()||
{},a=o.top,s=o.bottom,d=window.getComputedStyle(t),l=Zn(window.innerWidth,Qn(t.clie
ntWidth-parseFloat(d.paddingLeft)-
parseFloat(d.paddingRight))),c=Zn(window.innerHeight-a-
s,Qn(l*e));n&&n(l,c)},i.canExecuteNoAd=function(){return!
0},i._getModuleShown=function(){return
this.intersectionRatio},i._updateModuleState=function(){var
t=this.intersectionRatio;this._applyModuleState({intersectionRatio:t,moduleSquare:1
})},i._updateModuleNodeSize=function(){var
t=this.moduleNode,e=this.options.moduleAPI,i=e.getControlNode,n=e.getIndents,r=t&&t
.parentElement||{},o=r.clientWidth,a=r.clientHeight;Object(cr.b)(t,
{width:Object(dr.s)(o),height:Object(dr.s)(a)});var s=i&&i("iframe");Object(cr.b)
(s,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});var d=(n&&n()||
{}).outsideHeight,l=i&&i("wrapper"),c=l&&l.parentElement;if(c){var u=Object(dr.h)
(c).height;u=Zn(a,u),l&&u&&Object(cr.b)(l,{top:Object(dr.s)(u/2-
d/2)})}},i.getModuleOptions=function(){return{isInsideTextContent:!
0,canExecuteNoAd:!0}},i.toString=function(){return To},i.getBaseName=function()
{return Io.toLowerCase()},e}
(jr),Mo="Overlay",Vo="Format["+Mo+"]",Ro={},Lo=function(t){function e(e,i){var
n;if(!ur.h)throw new Error("Mobile not detected");if(!Fo)throw new Error("Fixed
positioning support not detected");n=t.call(this,e,function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
Ot(Object(e),!0).forEach(function(i)
{At(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ot(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},Ro,
{},i||{},{ancestor:Vo}))||this;var
r=window,o=r.innerWidth,a=r.innerHeight,s=n.overlayNode=n._addDOMNode(Object(cr.a)
(document.body,"div",{visibility:"hidden",position:"fixed",zIndex:-
1,top:0,left:0,width:o+"px",height:a+"px",background:"rgba(0, 0, 0, .
9)"}));n._addDOMEventListener(s,"touchmove",cr.c);var d=Object(cr.a)(s,"div",
{position:"absolute",top:0,right:0,bottom:0,left:0,width:"100%",height:"100%"});e.s
etControlData("underplay",{node:d});var l=n.slotNode=Object(cr.a)(s,"div",
{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,
-50%)",width:o+"px",height:"0px"}),c=wt(n).options.moduleAPI.addVPAIDEventListener;
return
window.savedRequestAnimationFrame=null,n.savedRequestAnimationFrameCallbacks=[],e.s
etControlData("slot",{node:l}),c("AdLoaded",function()
{this.module.startAd()}.bind(wt(n)),wt(n)),c("AdVideoStart",function(){var
t=this;this._resize(),Object(cr.b)(document.body,{overflow:"hidden"}),Object(cr.b)
(this.overlayNode,
{visibility:"",zIndex:2147483647}),window.savedRequestAnimationFrame||
(window.savedRequestAnimationFrame=window.requestAnimationFrame,window.requestAnima
tionFrame=function(e)
{t.savedRequestAnimationFrameCallbacks.push(e)})}.bind(wt(n)),wt(n)),c("vn_hideOver
layFormatWrapper",function(){n.hide()},wt(n)),c("vn_setOverlayZIndex",function(t)
{var e=t.zIndex,i=wt(n).overlayNode;i&&!isNaN(e)&&Object(cr.b)(i,
{zIndex:e})},wt(n)),c("AdDestroyed",function()
{this._close(),window.savedRequestAnimationFrame&&(window.requestAnimationFrame=win
dow.savedRequestAnimationFrame,this.savedRequestAnimationFrameCallbacks.forEach(req
uestAnimationFrame),window.savedRequestAnimationFrame=null,this.savedRequestAnimati
onFrameCallbacks=[])}.bind(wt(n)),wt(n)),c("resize",function(){var t=this;
(window.savedRequestAnimationFrame||requestAnimationFrame)(function(){return
t._resize()})}.bind(wt(n)),wt(n)),c("vn_VPAIDCreated",function(t){var
e=this,i=t.vpaid,n=(this.options||
{}).setSizeByMedia,r=i&&i.getMediaInfo();r&&(Object(dr.t)(n)?r.then(function(t){var
i=t.width,n=t.height;i&&n&&(e.forceInsideHeight=n,e.forceInsideWidth=i,e._resize())
}):r.then(function(t){e.mediaInfo=t,e._resize()}))}.bind(wt(n)),wt(n)),n}!
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i._resize=function(){var
t=this.module,e=this.overlayNode,i=this.slotNode,n=this.isFullscreen,r=this.mediaIn
fo,o=window,a=o.innerWidth,s=o.innerHeight,d=t.getAdAspectRatio();n||
Zn(a*d,s);Object(cr.b)(e,{width:a+"px",height:s+"px"}),Object(cr.b)(i,
{width:a+"px",height:s+"px"}),t.resizeAd(a,s,n);var l=r&&function(t,e){var i=e||
{},n=i.width,r=i.height,o=i.scalable,a=i.type;if(!a||!
a.includes("javascript"))return null;var
s=parseFloat(n),d=parseFloat(r),l=Object(dr.t)(o);if(s||d){if(l&&s&&d){var
c=t.clientHeight,u=t.clientWidth,h=s/d,p=u/h;p>c?s=(d=c)*h:
(s=u,d=p)}return{position:"absolute",overflow:"hidden",top:d?"50%":0,left:s?"50%":0
,height:d?Object(dr.s)(d):"100%",width:s?Object(dr.s)(s):"100%",marginTop:d?
Object(dr.s)(-d/2):0,marginLeft:s?Object(dr.s)(-s/2):0}}return null}
(i,r),c=this.forceInsideHeight,u=this.forceInsideWidth,h=t.getControlNode("vpaidSlo
t");!l&&h&&c&&u?Object(cr.b)(h,{position:"relative",display:"inline-
block",verticalAlign:"middle",width:Object(dr.s)(Zn(u,a)),height:Object(dr.s)
(Zn(c,s))}):h&&l&&Object(cr.b)(h,l)},i.hide=function(){var
t=this.overlayNode;t&&Object(cr.b)(t,{height:0,opacity:0,zIndex:-1}),Object(cr.b)
(document.body,{overflow:""})},i._close=function(){var
t=this.slotNode,e=this.overlayNode;Object(cr.b)(t,{transition:"all 300ms ease-
out"}),setTimeout(function(){Object(cr.b)(t,
{height:0,opacity:.5})},50),setTimeout(function(){Object(cr.s)
(e)},500)},i.getModuleOptions=function(){return{isInsideTextContent:!
0,vpaidJsVideoSlotShouldBeMuted:!0}},i.fullscreenSwitchOn=function()
{this.isFullscreen=!0},i.getModuleNode=function(){return
this.overlayNode},i.getSlotNode=function(){return
this.slotNode},i._getModuleDimensions=function(){return Object(dr.j)
(window,this.getModuleNode())},i.toString=function(){return
Vo},i.getBaseName=function(){return Mo.toLowerCase()},e}(sr),Fo=function(){var t=!
1;if(document.createElement){var e=document.createElement("div");if(e&&e.style)
{e.style.position="fixed",e.style.top="10px";var
i=document.body;i&&i.appendChild&&i.removeChild&&(i.appendChild(e),t=10===e.offsetT
op,i.removeChild(e))}}return t}
(),Wo="::Formats",Ho={vpaid:lr,instream:lr,contentroll:jr,continuousroll:Tr,flyroll
:function(t,e){var i=e||{},n=i.alwaysFly,r=i.flyrollAbsTop;return!
0===r||"true"===r?new Br(t,e):!0===n||"true"===n?new Gr(t,e):new
Qr(t,e)},slideroll:uo,overlay:Lo,viqeoplayerroll:Do,amproll:No},zo=function(t,e,i)
{var n=t&&t.getAPI&&t.getAPI().logger||or.b;if("string"==typeof e){var
r=e.toLowerCase(),o=t.options,a=o&&o.amp;if(a){if("contentroll"!
==r.toLowerCase())return null;r="amproll"}var s=Ho[r];if(s)
{n.log(Wo+".getFormat("+e+" -> "+r+")");var d=t.format;d&&(n.log(Wo+" Destroying
existing format"),d._destroy()),n.log(Wo+" Initializing format ("+e+" ->
"+r+")");var l=t.options[r],c=t.getAPI(),u=Object(fr.g)({},a?{}:i,l,
{moduleAPI:c});return a&&(u.amp=!0),new s(t,u)}}return null},Bo=function(t)
{_t.call(this,t)},Uo=Bo;"undefined"!=typeof
exports&&(exports.ControlsDataStack=Bo);var
qo="vnNoAd",Go="::Extension["+qo+"]",Xo="vnVisibleInventory",Yo=i(8),Qo="vnMinPlaye
rSize",Jo=function(){function t(t,e,i){void
0===i&&(i=console),this.handler=e,this.timeout=t,this.log=i&&i.trace||
console.log,this.id=null,this.startedTime=null,this.isStarted=!1,this.log("
InterruptibleTimeout constructor() timeout="+t)}var e=t.prototype;return
e.start=function(){var t=this,e=this.timeout,i=this.handler;!
this.startedTime&&e&&(this.startedTime=Date.now(),this.isStarted=!
0,this.id=setTimeout(function(){t.log(" InterruptibleTimeout.start() setTimeout
global timeout "+e+" expired this.id:"+t.id+" "),t.stop(),i()},e),this.log("
InterruptibleTimeout.start() global timeout starts with "+e+"
id:"+this.id))},e.pause=function(t){void 0===t&&(t="was paused");var
e=this.id,i=this.timeout,n=this.startedTime,r=this.handler,o=this.isStarted;if(e&&i
&&n&&o){this.isStarted=!1;var a=Date.now()-
n;this.startedTime=0,clearTimeout(e),this.timeout-=a,this.log("
InterruptibleTimeout.pause() global timeout "+t+". the rest of timeout is
"+this.timeout+" dif="+a+"
id:"+e),0>=this.timeout&&(this.stop(),r&&r())}},e.stop=function(){this.log("
InterruptibleTimeout stop()
id:"+this.id),this.id&&this._destroy()},e._destroy=function(){this.log("
InterruptibleTimeout _destroy()
id:"+this.id),clearTimeout(this.id),this.isStarted=!
1,this.timeout=0,this.id=null},t}(),Zo=i(15),Ko=i(16),$o=function(t){var e=t||
{},i=e.options,n=e.important,r=Object(dr.t)(n);if(Object(dr.q)(i))return null;var
o=Object.keys(i).reduce(function(t,e){var o,a=i[e];if(void 0===a)return t;var
s=t[e]=((o={})[fr.e]=a,o[fr.c]=!0,o);return void 0!=n&&(s[fr.a]=r),t},{});return
void 0!
=n&&(o[fr.a]=r),o},ta=i(20),ea="{weborama_data}",ia="//wam.solution.weborama.fr/fcg
i-bin/dispatch.fcgi?
d.A=prd&d.key=n9d9C9I4XN1I&d.format=json&d.top_clusters=10",na="{roxot_data}",ra=[f
unction(t){var e=t.url,i=t.module;return new Promise(function(t)
{if(i&&i.getAPI&&i.getAPI().logger||or.b,ta.a.CLIENT_INFO_DOMAINS.some(function(t)
{return~e.indexOf(t)})){ur.f||(e=Object(pr.a)(e,{flash:0}));var
n=i.adWidth,r=i.adHeight;n&&r&&(e=Object(pr.a)(e,{w:n,h:r}));var o=Object(dr.i)
(window,document);o&&(e=Object(pr.a)(e,
{location:o}))}t({url:e,module:i})})},function(t){var e=t.url,i=t.module;return new
Promise(function(t){i&&i.getAPI&&i.getAPI().logger||or.b,-1!==e.indexOf(ea)?new
Promise(function(t){var
e,i=Date.now();try{e=JSON.parse(localStorage.getItem(ia))}catch(t)
{}e&&e.timestamp>i-864e5?t(e):Object(po.f)(ia).then(function(e){var
n={};try{n=JSON.parse(e.target.responseText)}catch(t)
{}t({timestamp:i,data:n})}).catch(function(){t({})})}).then(function(t){return new
Promise(function(e){try{localStorage.setItem(ia,JSON.stringify(t))}catch(t)
{}finally{e(t)}})}).then(function(t){return new Promise(function(i){var
n=t&&t.data||{},r=n.socio_demographics||{},o="&"+Object(pr.a)("",
{puid33:r.gender||"",puid34:r.age||"",puid35:r.social_class||"",puid36:
(n.clusters||[]).slice(0,10).join(":"),puid37:(n.audiences||
[]).slice(0,10).join(":")}).substr(1).replace("%3A",":");i(e.replace(ea,o))})}).the
n(function(e){return t({url:e,module:i})}):t({url:e,module:i})})},function(t){var
e=t.url,i=t.module;return new Promise(function(t)
{if(i&&i.getAPI&&i.getAPI().logger||or.b,-1!==e.indexOf(na)){var n={};[{key:"roxot-
group-id",f:Bt.bind(null,1e3)},{key:"roxot-sector-id",f:Bt.bind(null,100)},
{key:"roxot-deep",f:Bt.bind(null,100)},{key:"roxot-event-group-
id",f:Ut.bind(null)},{key:"roxot-event",f:Ut.bind(null)},{key:"roxot-event-
deep",f:Ut.bind(null)},{key:"roxot-minutes",f:function(){return(new
Date).getUTCMinutes().toString()}},{key:"roxot-hours",f:function(){return(new
Date).getUTCHours().toString()}},{key:"roxot-day",f:function(){return(new
Date).getUTCDay().toString()}}].forEach(function(t)
{n[t.key]=t.f(t.key)}),t({url:e.replace(na,Object(pr.a)
("",n).substr(1)),module:i})}else
t({url:e,module:i})})}],oa="vnFormat",aa="::Extension["+oa+"]",sa="vnControls",da={
adlabel:"title",countdown:"skipAdCountdown",close:"skipAd",logo:"logo",soundbtn:"vo
lume",progress:"progress",progressbar:"progressBar",advlogo:"advLogo",callbutton:"c
allButton",moreinfo:"moreInfo",bottomborder:"bottomBorder",video:"slot",play:"play"
,spinner:"spinner",videoclick:"videoclick"},la={background:"background",containerba
ckground:"containerBackground",videobackground:"videobackground",maincontainer:"mai
nContainer"},ca={layout:function(t){return"0"===t?{css:cr.m}:
{css:cr.q}},display:function(t){return{css:{display:t}}},action:function(t)
{return{action:t}},enablewithvpaid:function(t)
{return{enableWithVPAID:t}},width:function(t){return{css:
{width:t}}},height:function(t){return{css:{height:t}}},color:function(t)
{return{css:{color:t,fill:t,stroke:t}}},bgcolor:function(t){return{css:
{backgroundColor:t}}},hoverbgcolor:function(t)
{return{hoverBackgroundColor:t}},hovercolor:function(t)
{return{hoverColor:t}},imgsrc:function(t){return{css:
{backgroundImage:"url("+t+")"}}},padding:function(t){return{css:
{padding:t}}},text:function(t){return{text:t}},url:function(t)
{return{url:t}},type:function(t){return void 0!==t&&t?
{isIframe:"iframe"===t.toLowerCase()}:{}},position:function(t)
{return{position:t}},marginh:function(t){return{marginH:t}},marginv:function(t)
{return{marginV:t}},valign:function(t,e){var
i=e.getControlNode("slot");i&&Object(cr.b)(i,{top:t,transform:"translate(-50%,
-"+t+")"})},overwrite:function(t){var e;return(e={})[fr.b]=t,e},logosrc:function(t)
{return{customerlogo:{logoSrc:t}}},logoheight:function(t){return{customerlogo:
{logoHeight:t}}},logowidth:function(t){return{customerlogo:
{logoWidth:t}}},totaltimecountdown:function(t)
{return{totalTimeCountdown:t}},remove:function(t){return{remove:Object(dr.t)
(t)}},important:function(t){var e;return(e={})[fr.a]=Object(dr.t)
(t),e}},ua="vnAdErrorsRules",ha=ta.a.ERRORS_TRACKING_DOMAIN,pa="vnSkipTime",fa="vnP
rohibitedWords",ga="::Extension["+fa+"]",va=i(28),ba=i.n(va),ma=i(24),ya=i.n(ma),Oa
=i(29),Aa=i.n(Oa),wa={shouldCreateIframe:!0,cssClass:"vn-container-
iframe",attributes:
{height:"100%",width:"100%",hspace:0,vspace:0,marginHeight:0,marginWidth:0},iframeA
ttributes:
{allow:"autoplay",allowfullscreen:"",mozallowfullscreen:"",webkitallowfullscreen:""
},styles:
{position:"relative",zIndex:1,width:"100%",height:"100%",padding:0,margin:0,border:
"none",overflow:"hidden",maxWidth:"initial",maxHeight:"initial"},sandbox:"allow-
same-origin allow-scripts allow-
popups"},_a="vnAfterplay",Pa="::Extension["+_a+"]",Sa=function(t){function e(e){var
i,n=e.module,r=n&&n.getAPI&&n.getAPI().logger||or.b;return(i=t.call(this,
{ancestor:Pa,logger:r})||this).module=n,i.moduleAPI=n&&n.getAPI&&n.g
etAPI(),i.afterplayTimeoutId=null,i._isActive=!1,i._isReplay=!1,i._isRunning=!
1,i._continueNumber=0,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.shouldShowStub=function(){return!
this._getContinueNumber()&&this._isActive},i.isReplay=function(){return
this._isReplay},i._getContinueNumber=function(){return
this._continueNumber},i._getCycleCounter=function(){return
this.module._cycleCounter||0},i._incCycleCounter=function(){var
t=this.module;return t._cycleCounter||(t._cycleCounter=0),+
+t._cycleCounter},i._setSuccessfulPlays=function(t){var
e=this.module,i=this._getCycleCounter(),n=e._successfulPlaysCounters;n||
(n=e._successfulPlaysCounters=[]),n[i]=t},i._getSuccessfulPlays=function(){var
t=this.module,e=this._getCycleCounter(),i=t._successfulPlaysCounters;return
i&&i[e]||0},i._getTotalSuccessfulPlays=function(){var
t=this.module._successfulPlaysCounters;return t&&t.reduce(function(t,e){return
t+e},0)||0},i._incSuccessfulPlays=function(){var
t=this.module,e=this._getContinueNumber();if(this._getTotalSuccessfulPlays()<e){var
i=this._getCycleCounter(),n=t._successfulPlaysCounters;n||
(n=t._successfulPlaysCounters=[]),n[i]||(n[i]=0),n[i]+=1}return
this._getTotalSuccessfulPlays()},i.shouldContinue=function(){var
t=this._getTotalSuccessfulPlays(),e=this._getContinueNumber();return
0<=e&&t<e},i.init=function(t){var e=this;return new Promise(function(i){t[_a]=e,
[].concat((t._getLastParameters()||{})[_a]||null).filter(function(t){return
t}).forEach(function(e){t.setControlData(_a,e,e.global)});var
n=t.getControlUnionData(_a,null,function(t){return t.parsePoint});if(n){var
r=n.continueNumber;r?e._continueNumber=r+1:
(e._continueNumber=0,e._addVPAIDEventListener(t,"AdVideoComplete",je.bind(e,t,n)),e
._addVPAIDEventListener(t,"AdSkipped",je.bind(e,t,n)),e._addVPAIDEventListener(t,"A
dDestroyed",function(t){var
e=this.afterplayTimeoutId,i=t.function;clearTimeout(e);var n=window[i];if(n){var
r=this._formatExpandingDuration;setTimeout(function(){try{n()}catch(t){}},(r||
0)+100)}}.bind(e,n)),e.manualRun=function(){return je.call(e,t,n)}),e._isActive=!
0,e._isReplay=!1}i(t)})},i._destroy=function(){t.prototype._destroy.call(this)},e}
(rr.a),ja="vnAdEvents",Ea=function(t){function e(e){var
i=e.module,n=i&&i.getAPI&&i.getAPI().logger||or.b;return t.call(this,
{ancestor:"::Extension["+ja+"]",logger:n})||this}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.prototype.init=function(t){var e=this;return new Promise(function(i)
{t.vnAdEvents=e;var n=t._getLastParameters(),r=n&&n[ja]||
{},o=r.global,a=r.handlerName,s=r.vnFunction,d=r.vnScriptUrl,l=r.events;(a||s||d||
l&&l.length)&&t.setControlData(ja,
{handlerName:a,vnFunction:s,vnScriptUrl:d,events:l},o),a=t.getControlUnionData(ja,"
handlerName"),l=t.getControlUnionData(ja,"events"),s=t.getControlUnionData(ja,"vnFu
nction"),(d=t.getControlUnionData(ja,"vnScriptUrl"))||s||(a&&l.forEach(function(i)
{return e._addVPAIDEventListener(t,i,function(){window[a]&&window[a]
(t.mainModuleId,i)})}),i(t))})},e}
(rr.a),Ca=["AdLoaded","AdStarted","AdStopped","AdSkipped","AdSkippableStateChange",
"AdLinearChange","AdDurationChange","AdExpandedChange","AdVolumeChange","AdImpressi
on","AdVideoStart","AdVideoFirstQuartile","AdVideoMidpoint","AdVideoThirdQuartile",
"AdInteraction","AdUserAcceptInvitation","AdUserMinimize","AdUserClose","AdPaused",
"AdResumed","AdPlaying","AdVideoComplete","AdClickThru","AdLog","AdError"],Da="vnEv
entsParams",Ia="vnCreative",Ta=i(23),ka="vnBrowserCache",xa="vnCache",Na="vnPageCha
nged",Ma=function(t){function e(e){var
i,n=e.module,r=n&&n.getAPI&&n.getAPI().logger||or.b;return(i=t.call(this,
{ancestor:"::Extension["+Na+"]",logger:r})||this).module=n,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.init=function(){var t=this,e=this.module;return
new Promise(function(i){e.vnPageChanged=t;var n=e._getLastParameters(),r=n&&n[Na]||
{},o=r.global,a=r.important,s=r.handlerName,d=r.eventName;s&&e.setControlData(Na,
{handlerName:s,important:a},o),
(s=e.getControlUnionData(Na,"handlerName"))&&(window[s]=function()
{e._abort()}),d&&e.setControlData(Na,{eventName:d,important:a},o),
(d=e.getControlUnionData(Na,"eventName"))&&t._addDOMEventListener(window.document,d
,function(){e._abort()}),i(e)})},i._destroy=function()
{t.prototype._destroy.call(this);var
e=this.module.getControlUnionData(Na,"handlerName");e&&delete window[e]},e}
(rr.a),Va=i(30),Ra=i.n(Va),La="vnUnderplay",Fa="timer",Wa="period_checking_timer",H
a="repeat_start_timer",za=2e3,Ba=.5,Ua={threshold:[Ba]},qa=function(t){function
e(e,i){var
n,r=i.moduleId,o=i.startEventName,a=i.trackUrlsAction,s=e&&e.getAPI&&e.getAPI().log
ger||or.b;return(n=t.call(this,{ancestor:r,logger:s})||
this).trackUrlsAction=a,n._moduleId=r,n.module=e,n._checkingIsFinished=!
1,n._observer=null,n._observerOptions=Ua,n._addVPAIDEventListener(e,o,function()
{return n.start()}),n._addVPAIDEventListener(e,"AdPlaying",function(){return
n.start()}),n._addVPAIDEventListener(e,"AdPaused",function(){return
n.reset()}),n._addVPAIDEventListener(e,"AdVideoComplete",function(){return
n.stop()}),n._addVPAIDEventListener(e,"AdDestroyed",function(){return
n.stop()}),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.start=function(t){var e=this;if(void
0===t&&(t=0),this._removeTimeout(Ha),!(this._checkingIsFinished||t>=10))
{this.reset();var
i=this.module,n=vo.c.call(i),r=i.getControlNode("slot"),o=i.getControlNode("iframe"
),a=r&&(r.clientHeight||parseInt(getComputedStyle(r).height,10))||
0,s=n&&getComputedStyle(n)||{},d=n&&(n.clientHeight||parseInt(s.height,10))||0,l=!
(!s.display||"none"===s.display),c=o&&(o.clientHeight||
parseInt(getComputedStyle(o).height,10))||0,u=n&&l&&d?n:r&&a?r:o&&c?o:null;if(!
u)return void this._addTimeout(Ha,function(){return
e.start(t+1)},50);if(window.IntersectionObserver)(this._observer=new
IntersectionObserver(function(t){var e=this;t.forEach(function(t){var
i=t.isIntersecting,n=t.intersectionRatio;i&&n>=Ba?e._addTimeout(Fa,function(){var
t=e.trackUrlsAction;t&&t(),e.stop()},za):e._removeTimeout(Fa)})}.bind(this),this._o
bserverOptions)).observe(u);else(function(){var t=!1;(function e(){var
i=this;Object(dr.n)(u).then(function(n){n.intersectionRatio>=Ba?!t&&(t=!
0,i._addTimeout(Fa,function(){var t=i.trackUrlsAction;t&&t(),i.stop()},za)):(t=!
1,i._removeTimeout(Fa)),i._addTimeout(Wa,e.bind(i),100)})}).call(this)}).call(this)
}},i.stop=function()
{this._removeTimeout(Wa),this.reset(),this._checkingIsFinished=!
0,this._destroy()},i.reset=function()
{this._removeTimeout(Fa),this._removeTimeout(Wa),this._checkingIsFinished=!
1,this._observer&&(this._observer.disconnect(),this._observer=null)},e}
(rr.a),Ga="vnOTMTrackViewable",Xa="vnOTMTrackRecordable",Ya=function(t){function
e(e){var i,n=e.module,r=n&&n.getAPI&&n.getAPI().logger||or.b;return(i=t.call(this,
{ancestor:"::Extension["+Xa+"]",logger:r})||this).module=n,i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.prototype.init=function(){var
t=this,e=this.module;e&&e.getAPI&&e.getAPI().logger||or.b;return new
Promise(function(i){var n,r=(e._getLastParameters()||{})[Xa]||
{},o=r.urls,a=r.important,s=r.global;(a||s||o&&o.length)&&e.setControlData(Xa,
((n={urls:o})[fr.a]=a,n),s);var
d=e.getControlData(Xa,"urls");t._addVPAIDEventListener(e,"AdLoaded",function(t,e)
{if((null===e||void 0===e?void 0:e.length)&&window.IntersectionObserver){var i=new
IntersectionObserver(function()
{});i&&(i.disconnect(),setTimeout(Yo.l.bind(t,e)))}}.bind(t,e,d)),i(e)})},e}
(rr.a),Qa="vnDomainsBlockList",Ja="vnSets",Za="Set>",Ka=function(t,e)
{return{vnFormat:function(){return Qt.call(e,t,Za)},vnControls:function(){return
ie.call(e,t,Za)},vnSkipTime:function(){return
ce.call(e,t,Za)},vnCreative:function(){return De.call(e,t,Za)},vnNoAd:function()
{return Et.call(e,t,Za)},vnCreativeBlock:function(){return
Ta.b.call(e,t,Za)},vnBrowserCache:function(){return
xe.call(e,t,Za)},vnCache:function(){return
Ne.call(e,t,Za)},vnProhibitedWords:function(){return
ge.call(e,t,Za)},vnAfterplay:function(){return
Pe.call(e,t,Za)},vnAdEvents:function(){return
Ee.call(e,t,Za)},vnPageChanged:function(){return
Me.call(e,t,Za)},vnEventsParams:function(){return
Ce.call(e,t,Za)},vnUnderplay:function(){return
Ve.call(e,t,Za)},vnAdErrorsRules:function(){return re.call(e,t,Za)}}},
$a={vnFormat:function(t,e){return Zt.call(e,t,null)},vnControls:function(t,e)
{return ne.call(e,t,null)},vnProhibitedWords:function(t,e){return
be.call(e,t,null)},vnSkipTime:function(t,e){return function(t,e){void
0===e&&(e="vnSkipTime");var i=Lt(t,e,function(t){if(Object(dr.q)(t))return
null;if("string"==typeof t)return Object(pr.g)(t);var e=de({},t),i=Ft(e,
{});Ht(e);var n=e.value;return delete i.value,i.skipTime=n&&Object(pr.g)(n)||
0,i});return Object(dr.q)(i)?
null:i}.call(e,t,null)},vnOTMTrackRecordable:function(t,e){return
Le(e,t)},vnOTMTrackViewableObject:function(t,e){return
Re(e,t)},vnDomainsBlockList:function(t,e){return
Fe(e,t)},vnMinPlayerSize:function(t,e){return
Tt(e,t)}},ts="vnSetsApply",es=["global","orderIndex","overwrite","important","name"
,fr.a,fr.b,fr.e,fr.c],is=i(19),ns="VpaidProxy",rs=ns,os="AD_DURATION_TIMER_ID",as=f
unction(t){function e(e){var i;void 0===e&&(e={});var
n=e&&e.ancestor&&e.ancestor+":"+ns||"::"+ns,r=e&&(e.logger||
e.module&&e.module.logger||e.moduleAPI&&e.moduleAPI.logger)||
or.b;return(i=t.call(this,function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?Ue(Object(e),!0).forEach(function(i)
{qe(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ue(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},e,
{ancestor:n,logger:r}))||this)[rs]=n,i.lastPendingCommands={},i._adWasLoaded=!
1,i._countdown
=null,i.fixedAdHeight=null,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.getAdLinear=function(){return Object(ir.d)
(this.vpaid)?this.vpaid.getAdLinear():this.adLinear},i.getAdWidth=function(){return
Object(ir.d)(this.vpaid)?
this.vpaid.getAdWidth():this.adWidth},i.getAdHeight=function(){return Object(ir.d)
(this.vpaid)?this.vpaid.getAdHeight():this.adHeight},i.getAdAspectRatio=function()
{return Object(ir.d)(this.vpaid)&&this.vpaid.getAdAspectRatio?
this.vpaid.getAdAspectRatio():t.prototype.getAdAspectRatio.call(this)},i.getAdExpan
ded=function(){return Object(ir.d)(this.vpaid)?
this.vpaid.getAdExpanded():this.adExpanded},i.getAdSkippableState=function(){return
Object(ir.d)(this.vpaid)?
this.vpaid.getAdSkippableState():this.adSkippableState},i.getAdRemainingTime=functi
on(){var t=this._countdown,e=this.vpaid;return t?
t.getAdRemainingTime():Object(ir.d)(e)&&e.getAdRemainingTime()||
this.adRemainingTime},i.getAdDuration=function(){var
t=this.vpaid,e=this._countdown;this._checkingBanner;if(e)return
e.getAdDuration();if(!this._countdown&&Object(ir.d)(t)){var
i=t.getAdDuration();0<i&&(this.adDuration=i)}return
this.adDuration},i.getAdElapsedTime=function(){var e=this.vpaid;return Object(ir.d)
(e)&&e.getAdElapsedTime?
e.getAdElapsedTime():t.prototype.getAdElapsedTime.call(this)},i.getAdVolume=functio
n(){return Object(ir.d)(this.vpaid)?
this.vpaid.getAdVolume():this.adVolume},i.getAdCompanions=function(){return
Object(ir.d)(this.vpaid)?
this.vpaid.getAdCompanions():this.adCompanions},i.getAdIcons=function(){return
Object(ir.d)(this.vpaid)?
this.vpaid.getAdIcons():this.adIcons},i.handshakeVersion=function(t){return
Object(ir.d)(this.vpaid)?this.vpaid.handshakeVersion(t):t},i.initAd=function()
{this.trigger("AdError","Abstract method
call",nr.a.GENERAL_VPAID_ERROR)},i.resizeAd=function(t,e,i){void
0===i&&(i=this.viewMode),this.fixedAdHeight?
e=this.adHeight=this.fixedAdHeight:this.adHeight=e,this.adWidth=t,this.viewMode=i,t
his._adWasLoaded&&Object(ir.d)(this.vpaid)?(delete
this.lastPendingCommands.resizeAd,this.vpaid.resizeAd(t,e,i)):this.lastPendingComma
nds.resizeAd=this.resizeAd.bind(this,t,e,i)},i.startAd=function(){try{var
t=this.vpaid,e=this._countdown;if(Object(ir.d)(t))return
e&&e.start(),t.startAd()}catch(t)
{this.trigger("AdError",""+t,nr.a.GENERAL_VPAID_ERROR)}return!
1},i.stopAd=function(){var t=this._countdown,e=this.vpaid;Object(ir.d)
(e)&&(t&&t.stop(),e.stopAd())},i.pauseAd=function(){var
t=this._countdown,e=this.vpaid;Object(ir.d)
(e)&&(t&&t.stop(),e.pauseAd())},i.resumeAd=function(){var
t=this._countdown,e=this.vpaid;Object(ir.d)
(e)&&(t&&t.start(),e.resumeAd())},i.expandAd=function(){return Object(ir.d)
(this.vpaid)&&this.vpaid.expandAd()},i.collapseAd=function(){return Object(ir.d)
(this.vpaid)&&this.vpaid.collapseAd()},i.skipAd=function(){var
t=this._countdown,e=this.vpaid;Object(ir.d)
(e)&&(t&&t.stop(),e.skipAd())},i.stopCountdown=function(){var
t=this._countdown;t&&t.stop()},i.setAdVolume=function(t,e)
{if(this._adWasLoaded&&Object(ir.d)(this.vpaid)){delete
this.lastPendingCommands.setAdVolume;var i=this[rs]+".setAdVolume("+t+") executes
IMMEDIATELY and clears pending command";return(0===t||1===t?
this.logger.log:this.logger.trace)(i),Object(ir.d)
(this.vpaid)&&(this.adVolume=t,1)&&this.vpaid.setAdVolume(t,e)}this.lastPendingComm
ands.setAdVolume=this.setAdVolume.bind(this,t,e)},i.onAdLoaded=function(){var
t=this,e=this.vpaid,i=this._countdown,n=this._checkingBanner;if(!i&&!
n&&Object(ir.d)(e)){this._checkingBanner=!0;var r=e.getAdDuration();0>r?
(this._addTimeout(os,function(){(function(t){var e=this,i=this[rs]
+".getAdDuration() vpaid.getAdDuration() return "+t+". Switched to manual
countdown";t=this.adDuration,isNaN(t)||0>=t?(i=i+". Can not get duration from VAST,
so set duration="+(t=1/0)+" sec,",this.trigger("vnManualCountdownCreated",
{duration:t})):i=i+" with duration="+t+" sec.",this._countdown=new
is.a({duration:t,VPAID_API:
{trigger:this.trigger.bind(this)},logger:this.logger});var n=(this.options||
{}).moduleAPI||
{},r=n.inState,o=n.addVPAIDEventListener,a=r&&r(["playing"]),s=r&&r(["started","sta
rting"]);return a||s?(this._countdown.start(),!
a&&this.trigger("AdVideoStart")):o("AdStarted",function(){return
e.trigger("AdVideoStart")},this),this.adDuration=t,t}).call(t,r)},500),this._addVPA
IDEventListener(e,"AdDurationChange",Ge.bind(this))):this.adDuration=r}},i._destroy
=function(){t.prototype._destroy.call(this),this.lastPendingCommands={};var
e=this.vpaid;if(e&&"function"==typeof e._destroy)try{e._destroy()}catch(t)
{this.logger.warn(this[rs]+"._destroy() vpaid._destroy() error: "+(t&&(t.message||
t)))}this.vpaid=null},i.getDebugInfo=function(){var
t=this,e=this.vpaid;return(e&&Promise.resolve(e)||
this.vpaidLoadPromise).then(function(t){return t&&t.getDebugInfo?
t.getDebugInfo():Promise.resolve({})}).then(function(e)
{return{proxyOptions:t.options,options:e.options||{}}})},i.getAdIframes=function()
{var e=this.vpaid;return Object(ir.d)(e)&&e.getAdIframes?
e.getAdIframes():t.prototype.getAdIframes.call(this)},i.getModuleOptions=function()
{return Promise.resolve({})},e}(ir.a),ss=i(12),ds="videoSlot",ls=function(t)
{function e(e,i){var n,r,o;o=t.call(this,ds,e)||this;var
a=Ye({shouldSetControlData:!
0,parentSlot:null},i),s=a.shouldSetControlData,d=a.parentSlot,l=a.width,c=a.height,
u=e.getAdWidth()||l||0,h=e.getAdHeight()||c||
0,p=Ye({position:"absolute",verticalAlign:"middle",width:u?Object(dr.s)
(u):"100%",height:h?Object(dr.s)
(h):"100%",zIndex:1,top:h?"50%":0,left:u?"50%":0},e.getControlUnionData(ds,"css"));
u&&(p.marginLeft=Object(dr.s)(-u/2)),h&&(p.marginTop=Object(dr.s)(-h/2));var
f=e.getControlNode("containerIframe"),g=(null===f||void 0===f||
null===(n=f.contentWindow)||void 0===n||null===(r=n.document)||void 0===r?void
0:r.body)||f,v=d||g,b=o.node=o._slot=v&&o._addDOMNode(Object(cr.a)
(v,"video",p));return b&&(e.vpaidJsVideoSlotShouldBeMuted()&&(b.muted=!
0,b.volume=0),ur.g&&b.setAttribute("playsinline","true"),b&&b.classList&&b.classLis
t.add("vn_module_creature")),s&&e.setControlData(ds,{node:b}),o}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.getSlotNode=function(){return
this._slot},i.getControlNode=function(){var t=this.module;return
t&&t.getControlNode(ds)},e}
(ss.a),cs=i(17),us="VpaidJs",hs=us,ps="AD_DURATION_CHECK_TIMER_ID",fs=function(t)
{function e(e){var i;void 0===e&&(e={});var
n=e&&e.ancestor&&e.ancestor+":"+us||"::"+us;e&&(e.logger||
e.module&&e.module.logger||e.moduleAPI&&e.moduleAPI.logger)||or.b;
(i=t.call(this,Ze({},e,{ancestor:n}))||this)[hs]=n;var
r=e,o=r.jsmedia,a=r.jsmedia,s=a.width,d=a.height,l=a.duration;i.adDuration=l||
0,i.adWidth=s,i.adHeight=d,!s&&0<d&&(i.fixedAdHeight=d),i.wasClicked=!
1,i.media=o;var c=new
dr.a;i.vpaidLoadPromise=c.promise,i.vpaidLoadResolve=c.resolve;var u=new
dr.a;return
i._videoStartedPromise=u.promise,i._videoStartedResolve=u.resolve,i.observer=null,i
.vpaidEventListeners={},i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.toString=function(){return
us},i.initAd=function(t,e,i,n,r,o){var a=this;void 0===r&&(r={}),void
0===o&&(o={});var s=this.options||
{},d=s.module,l=s.ancestor,c=s.moduleAPI,u=s.isVpaidProvider,h=(c||
{}).getMainModuleId,p=this.media;return new Promise(function(s,f)
{u&&vs.forEach(function(t){var e=t[0],i=t[1];(window[e]||
(window[e]=[])).push(window[i])});var
g=r.AdParameters,v=o.iframe,b=a.options.jsmedia,m=v&&v.contentWindow;if(!
m&&v&&"DIV"===v.tagName){var y=Object(cr.r)
(document,v.closest("body"));y&&y.length&&(m=y.pop().contentWindow)}m||
(m=window);var
O=m.document,A=O.body,w=O.createElement("script");w.src=b.src,a._addDOMEventListene
r(w,"load",function(){var
u=m,v=u.getVPAIDAd,b=u.getVnVPAIDAdProvider;if("function"!=typeof b&&"function"!
=typeof v){var y=Error("External script did not provide valid
getVnVPAIDAdProvider() method ("+b+")");return y.code=nr.a.VPAID_JS_ERROR,void
f(y)}var O=h?"("+h()+"):"+us:l,A=c&&Ze({},c)||{};delete A.logger;var
w={duration:a.adDuration,ancestor:O,moduleAPI:A,media:p};try{var
_=g.replace(/\n+/g,"
"),P=JSON.parse(_);P.vnVpaidProvider&&(w.vnVpaidProvider=P.vnVpaidProvider)}catch(t
){}var S=(d||{}).logLevel;S&&(w.logLevel=S);var j=(w||
{}).vnVpaidProvider,E=a.vpaid=b&&j?b(w):v(w);if(!Object(ir.d)(E)){var
C=Error("External script returned invalid VPAID instance ("+E+")");return
C.code=nr.a.VPAID_JS_ERROR,void f(C)}a.vpaidLoadResolve(E);var
D=a.videoSlot=function(t,e,i,n){void 0===e&&(e=null);var r=e;if(r);else{var o=new
ls(t,{shouldSetControlData:!1,width:i,height:n});r=o&&o.getSlotNode()}return
t.setControlData("videoSlot",
{node:r}),r}.call(a,d,o.videoSlot,t,e);d.getControlNode("videoSlot")||
d.setControlData("videoSlot",
{node:D}),D&&D.parentElement&&d.setControlData("videoSlotParent",
{node:D.parentElement}),$e.call(a,E,D);try{var
I=d.maxSkipTime;r&&r.AdParameters&&r.AdParameters.replace&&(r.AdParameters=r.AdPara
meters.replace("[MAXSKIPTIME]",I||"")),E.initAd(t,e,i,n,r,Ze({},o,
{videoSlot:D})),~E.toString().indexOf("Module")&&cs.b.call(E,{isInsideTextContent:!
0});var T=getComputedStyle(D);T.width,T.height,D.style.width;s(a)}catch(t){var
k=Error("Internal VpaidJs error ("+t+")
stack:"+t.stack);k.code=nr.a.VPAID_JS_ERROR,f(k)}}),a._addDOMEventListener(w,"error
",function(){var t="Error loading external script
("+w.src+")",e=Error(t);e.code=nr.a.VPAID_JS_ERROR,f(e)}),A&&A.appendChild(w)})},i.
getMediaInfo=function(){var e=this;return
t.prototype.getMediaInfo.call(this).then(function(t){var i=t||
{},n=i.width,r=i.height;if(0<n||0<r)return t;var
o=e.vpaid;return(o&&Promise.resolve(o)||e.vpaidLoadPromise).then(function(t){return
t.getMediaInfo&&t.getMediaInfo()})})},i.getFormatOptions=function(){var
t=this.vpaid;return(t&&Promise.resolve(t)||this.vpaidLoadPromise).then(function(t)
{return t.getFormatOptions&&t.getFormatOptions()})},i.stopAd=function()
{ti.call(this,["AdStopped","AdSkipped","AdSkippableStateChange"]
),t.prototype.stopAd.call(this)},i._destroy=function(){ti.call(this),
(this.options||{}).isVpaidProvider&&vs.forEach(function(t){var
e=t[0],i=t[1],n=window[e];if(n&&n.length){var
r=n.pop();r&&(window[i]=r)}}),t.prototype._destroy.call(this)},i.activateMuteChangi
ngEnable=function(){this.vpaid&&(this.wasClicked=!0)},i.getModuleOptions=function()
{var e=t.prototype.getModuleOptions.call(this);return
this.vpaidLoadPromise.then(function(t){var i=t.getModuleOptions?
t.getModuleOptions():Promise.resolve({});return Promise.all([e,i]).then(function(t)
{return Ze({},t&&t.length?t[0]:{},{},t&&1<t.length?t[1]:
{})})})},i.getLinkedVpaid=function(){return
this.vpaidLoadPromise},e.create=function(t,i){return new Promise(function(n,r){var
o=t.MediaFiles,a=t.adParameters,s=t.rawDuration,d=t.duration,l="application/javascr
ipt",c="application/x-javascript",u=o[l]&&o[l][0]||o[c]&&o[c][0];if(u&&u.src&&!
i.isMediaUrlBlocked(u.src)){var h=(Object(pr.h)(Object(dr.i)(window,document))||
{}).vn_providers_vpaid,p="vn_providers_vpaid";h&&Object(kr.c)(p,h),h=Object(kr.a)
(p);var f=u.src.includes(p);h&&f&&(u.src=h),f||i.setSelectedCreative(u.src,s,a),
(i&&i.getAPI&&i.getAPI().logger||or.b).log("::"+us+".create("+u.src+")");var
g,v,b,m=new e({module:i,isVpaidProvider:f,jsmedia:Ze({},u,
{duration:d}),moduleAPI:i.getAPI(),ancestor:"("+(i&&i.mainModuleId)
+")"});f&&(g=m._addVPAIDEventListener(m,"AdLoaded",function(t){(b=(t||
{}).selectedCreativeEventName)?v=m._addVPAIDEventListener(m,b,function()
{i.setSelectedCreative(u.src,s,a)}):i.setSelectedCreative(u.src,s,a)}),m._addVPAIDE
ventListener(m,"AdError",function()
{m.stopCountdown(),g&&m._removeVPAIDEventListener(m,"AdLoaded",g),v&&m._removeVPAID
EventListener(m,b,v)})),n(m)}r()})},e}
(as),gs=["AdLoaded","AdStarted","AdStopped","AdSkipped","AdSkippableStateChange","A
dSizeChange","AdLinearChange","AdDurationChange","AdExpandedChange","AdRemainingTim
eChange","AdVolumeChange","AdImpression","AdVideoStart","AdVideoFirstQuartile","AdV
ideoMidpoint","AdVideoThirdQuartile","AdVideoComplete","AdVideoCompleteTrackOnly","
AdClickThru","AdInteraction","AdUserAcceptInvitation","AdUserMinimize","AdUserClose
","AdPaused","AdPlaying","AdLog","AdLoadedVideoData","slotSizeChanged","AdAudioDisa
bled","AdAudioEnabled","AdSizeForceChange","vn_VPAIDCreated","vn_hideOverlayFormatW
rapper","vn_setOverlayZIndex","vn_VideoSlotRemoved","vn_SelectedCreative"],vs=[["vn
CreateVPAIDAdSaved","createVPAIDAd"],
["vnGetVPAIDAdSaved","getVPAIDAd"]],bs=i(21),ms=function(){function t(t)
{this.bytes=new
Uint8Array(t),this.length=this.bytes.length,this.writePos=this.bytes.length,this.in
dex=0}var e=t.prototype;return e.nextBits=function(t){var e=this.index>>3,i=8-
this.index%8;if(i>=t)return this.bytes[e]>>i-t&255>>8-t;var n=(this.index+t)
%8,r=this.index+t-1>>3,o=this.bytes[e]&255>>8-i;for(e+=1;e<r;e+=1)o<<=8,o|
=this.bytes[e];return 0<n?(o<<=n,o|=this.bytes[e]>>8-n):(o<<=8,o|
=this.bytes[e]),o},e.getBits=function(t){var e=this.nextBits(t);return
this.index+=t,e},e.findNextMPEGStartCode=function(){for(var
e=this.index+7>>3;e<this.writePos;e+=1)if(0===this.bytes[e]&&0===this.bytes[e+1]&&1
===this.bytes[e+2])return this.index=e+4<<3,this.bytes[e+3];return
this.index=this.writePos<<3,t.NOT_FOUND},e.advance=function(t){return
this.index+=t},e.nextBytesAreStartCode=function(){var t=this.index+7>>3;return
t>=this.writePos||0===this.bytes[t]&&0===this.bytes[t+1]&&1===this.bytes[t+2]},t}
(),ys=179,Os=1,As=175,ws=0,_s=181,Ps=178,Ss=2,js=3,Es=new
Uint8Array([8,16,19,22,26,27,29,34,16,16,22,24,27,29,34,37,19,22,26,27,29,34,34,38,
22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34
,38,46,56,69,27,29,35,38,46,56,69,83]),Cs={DEFAULT_NON_INTRA_QUANT:new
Uint8Array([16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,1
6,16,16,16,16,16,16,16,16,16,16,16,16]),DEFAULT_INTRA_QUANT:Es},Ds=new
Int8Array([3,6,0,-1,9,0,0,0,1,0,0,17]),Is=new
Int8Array([3,6,0,9,12,0,0,0,10,15,18,0,0,0,2,21,24,0,0,0,8,27,30,0,33,36,0,-
1,39,0,0,0,18,0,0,26,0,0,1,0,0,17]),Ts=new
Int8Array([3,6,0,9,15,0,12,18,0,24,21,0,0,0,12,27,30,0,0,0,14,39,42,0,36,33,0,0,0,4
,0,0,6,54,48,0,45,51,0,0,0,8,0,0,10,-
1,57,0,0,0,1,60,63,0,0,0,30,0,0,17,0,0,22,0,0,26]),ks={I:Ds,P:Is,B:Ts,TYPE_TABLE:
[null,Ds,Is,Ts],ADDRESS_INCREMENT:new
Int16Array([3,6,0,9,12,0,0,0,1,15,18,0,21,24,0,27,30,0,33,36,0,0,0,3,0,0,2,39,42,0,
45,48,0,0,0,5,0,0,4,51,54,0,57,60,0,0,0,7,0,0,6,63,66,0,69,72,0,75,78,0,81,84,0,-
1,87,0,-
1,90,0,93,96,0,99,102,0,105,108,0,111,114,0,0,0,9,0,0,8,117,120,0,123,126,0,129,132
,0,135,138,0,0,0,15,0,0,14,0,0,13,0,0,12,0,0,11,0,0,10,141,-1,0,-
1,144,0,147,150,0,153,156,0,159,162,0,165,168,0,171,174,0,177,180,0,183,-1,0,-
1,186,0,189,192,0,195,198,0,201,204,0,207,210,0,213,216,0,219,222,0,0,0,21,0,0,20,0
,0,19,0,0,18,0,0,17,0,0,16,0,0,35,0,0,34,0,0,33,0,0,32,0,0,31,0,0,30,0,0,29,0,0,28,
0,0,27,0,0,26,0,0,25,0,0,24,0,0,23,0,0,22])},xs={PREMULTIPLIER_MATRIX:new
Uint8Array([32,44,42,38,32,25,17,9,44,62,58,52,44,35,24,12,42,58,55,49,42,33,23,12,
38,52,49,44,38,30,20,10,32,44,42,38,32,25,17,9,25,35,33,30,25,20,14,7,17,24,23,20,1
7,14,9,5,9,12,12,10,9,7,5,2]),ZIG_ZAG:new
Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,1
3,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39
,46,53,60,61,54,47,55,62,63]),DCT_COEFF:new
Int32Array([3,6,0,12,9,0,0,0,1,21,24,0,18,15,0,39,27,0,33,30,0,42,36,0,0,0,257,60,6
6,0,54,63,0,48,57,0,0,0,513,51,45,0,0,0,2,0,0,3,81,75,0,87,93,0,72,78,0,96,90,0,0,0
,1025,69,84,0,0,0,769,0,0,258,0,0,1793,0,0,65535,0,0,1537,111,108,0,0,0,1281,105,10
2,0,117,114,0,99,126,0,120,123,0,156,150,0,162,159,0,144,147,0,129,135,0,138,132,0,
0,0,2049,0,0,4,0,0,514,0,0,2305,153,141,0,165,171,0,180,168,0,177,174,0,183,186,0,0
,0,2561,0,0,3329,0,0,6,0,0,259,0,0,5,0,0,770,0,0,2817,0,0,3073,228,225,0,201,210,0,
219,213,0,234,222,0,216,231,0,207,192,0,204,189,0,198,195,0,243,261,0,273,240,0,246
,237,0,249,258,0,279,276,0,252,255,0,270,282,0,264,267,0,0,0,515,0,0,260,0,0,7,0,0,
1026,0,0,1282,0,0,4097,0,0,3841,0,0,3585,315,321,0,333,342,0,312,291,0,375,357,0,28
8,294,0,-
1,369,0,285,303,0,318,363,0,297,306,0,339,309,0,336,348,0,330,300,0,372,345,0,351,3
66,0,327,354,0,360,324,0,381,408,0,417,420,0,390,378,0,435,438,0,384,387,0,0,0,2050
,396,402,0,465,462,0,0,0,8,411,399,0,429,432,0,453,414,0,426,423,0,0,0,10,0,0,9,0,0
,11,0,0,5377,0,0,1538,0,0,771,0,0,5121,0,0,1794,0,0,4353,0,0,4609,0,0,4865,444,456,
0,0,0,1027,459,450,0,0,0,261,393,405,0,0,0,516,447,441,0,516,519,0,486,474,0,510,48
3,0,504,498,0,471,537,0,507,501,0,522,513,0,534,531,0,468,477,0,492,495,0,549,546,0
,525,528,0,0,0,263,0,0,2562,0,0,2306,0,0,5633,0,0,5889,0,0,6401,0,0,6145,0,0,1283,0
,0,772,0,0,13,0,0,12,0,0,14,0,0,15,0,0,517,0,0,6657,0,0,262,540,543,0,480,489,0,588
,597,0,0,0,27,609,555,0,606,603,0,0,0,19,0,0,22,591,621,0,0,0,18,573,576,0,564,570,
0,0,0,20,552,582,0,0,0,21,558,579,0,0,0,23,612,594,0,0,0,25,0,0,24,600,615,0,0,0,31
,0,0,30,0,0,28,0,0,29,0,0,26,0,0,17,0,0,16,567,618,0,561,585,0,654,633,0,0,0,37,645
,648,0,0,0,36,630,636,0,0,0,34,639,627,0,663,666,0,657,624,0,651,642,0,669,660,0,0,
0,35,0,0,267,0,0,40,0,0,268,0,0,266,0,0,32,0,0,264,0,0,265,0,0,38,0,0,269,0,0,270,0
,0,33,0,0,39,0,0,7937,0,0,6913,0,0,7681,0,0,4098,0,0,7425,0,0,7169,0,0,271,0,0,274,
0,0,273,0,0,272,0,0,1539,0,0,2818,0,0,3586,0,0,3330,0,0,3074,0,0,3842]),DCT_DC_SIZE
_CHROMINANCE:new
Int8Array([6,3,0,12,9,0,18,15,0,24,21,0,0,0,2,0,0,1,0,0,0,30,27,0,0,0,3,36,33,0,0,0
,4,42,39,0,0,0,5,48,45,0,0,0,6,51,-1,0,0,0,7,0,0,8]),DCT_DC_SIZE_LUMINANCE:new
Int8Array([6,3,0,18,15,0,9,12,0,0,0,1,0,0,2,27,24,0,21,30,0,0,0,0,36,33,0,0,0,4,0,0
,3,39,42,0,0,0,5,0,0,6,48,45,0,51,-1,0,0,0,7,0,0,8]),MOTION:new
Int16Array([3,6,0,12,9,0,0,0,0,18,15,0,24,21,0,0,0,-
1,0,0,1,27,30,0,36,33,0,0,0,2,0,0,-2,42,45,0,48,39,0,60,54,0,0,0,3,0,0,-3,51,57,0,-
1,69,0,81,75,0,78,63,0,72,66,0,96,84,0,87,93,0,-1,99,0,108,105,0,0,0,-
4,90,102,0,0,0,4,0,0,-7,0,0,5,111,123,0,0,0,-5,0,0,7,114,120,0,126,117,0,0,0,-
6,0,0,6,153,162,0,150,147,0,135,138,0,156,141,0,129,159,0,132,144,0,0,0,10,0,0,9,0,
0,8,0,0,-8,171,198,0,0,0,-9,180,192,0,168,183,0,165,186,0,174,189,0,0,0,-
10,177,195,0,0,0,12,0,0,16,0,0,13,0,0,14,0,0,11,0,0,15,0,0,-16,0,0,-12,0,0,-
14,0,0,-15,0,0,-11,0,0,-13]),CODE_BLOCK_PATTERN:new
Int16Array([6,3,0,9,18,0,12,15,0,24,33,0,36,39,0,27,21,0,30,42,0,60,57,0,54,48,0,69
,51,0,81,75,0,63,84,0,45,66,0,72,78,0,0,0,60,105,120,0,132,144,0,114,108,0,126,141,
0,87,93,0,117,96,0,0,0,32,135,138,0,99,123,0,129,102,0,0,0,4,90,111,0,0,0,8,0,0,16,
0,0,44,150,168,0,0,0,28,0,0,52,0,0,62,183,177,0,156,180,0,0,0,1,165,162,0,0,0,61,0,
0,56,171,174,0,0,0,2,0,0,40,153,186,0,0,0,48,192,189,0,147,159,0,0,0,20,0,0,12,240,
249,0,0,0,63,231,225,0,195,219,0,252,198,0,0,0,24,0,0,36,0,0,3,207,261,0,243,237,0,
204,213,0,210,234,0,201,228,0,216,222,0,258,255,0,264,246,0,-
1,282,0,285,291,0,0,0,33,0,0,9,318,330,0,306,348,0,0,0,5,0,0,10,279,267,0,0,0,6,0,0
,18,0,0,17,0,0,34,339,357,0,309,312,0,270,276,0,327,321,0,351,354,0,303,297,0,294,2
88,0,300,273,0,342,345,0,315,324,0,336,333,0,363,375,0,0,0,41,0,0,14,0,0,21,372,366
,0,360,369,0,0,0,11,0,0,19,0,0,7,0,0,35,0,0,13,0,0,50,0,0,49,0,0,58,0,0,37,0,0,25,0
,0,45,0,0,57,0,0,26,0,0,29,0,0,38,0,0,53,0,0,23,0,0,43,0,0,46,0,0,42,0,0,22,0,0,54,
0,0,51,0,0,15,0,0,30,0,0,39,0,0,47,0,0,55,0,0,27,0,0,59,0,0,31])},Ns=function()
{function t(t,e,i,n){this.hasDecoded=!1,this.hasDecodeColor=!
1,this.buffer=t,this.width=e,this.height=i,this.blockData=new
Int32Array(64),this.zeroBlockData=new
Int32Array(64),this.intraQuantMatrix=Cs.DEFAULT_INTRA_QUANT,this.nonIntraQuantMatri
x=Cs.DEFAULT_NON_INTRA_QUANT,this.mbWidth=this.width+15>>4,this.mbHeight=this.heigh
t+15>>4,this.mbSize=this.mbWidth*this.mbHeight,this.codedWidth=this.mbWidth<<4,this
.codedHeight=this.mbHeight<<4,this.codedSize=this.codedWidth*this.codedHeight,this.
halfWidth=this.mbWidth<<3,this.halfHeight=this.mbHeight<<3,this.quarterSize=this.co
dedSize>>2;var
r=window.Uint8ClampedArray||window.Uint8Array;window.Uint8ClampedArray||
(this.copyBlockToDestination=this.copyBlockToDestinationClamp,this.addBlockToDestin
ation=this.addBlockToDestinationClamp),n?
(this.forwardY=n.currentY,this.forwardY32=n.currentY32,this.forwardCr=n.currentCr,t
his.forwardCr32=n.currentCr32,this.forwardCb=n.currentCb,this.forwardCb32=n.current
Cb32,this.currentY=n.forwardY,this.currentY32=n.forwardY32,this.currentCr=n.forward
Cr,this.currentCr32=n.forwardCr32,this.currentCb=n.forwardCb,this.currentCb32=n.for
wardCb32):(this.currentY=new r(this.codedSize),this.currentY32=new
Uint32Array(this.currentY.buffer),this.currentCr=new
r(this.codedSize>>2),this.currentCr32=new
Uint32Array(this.currentCr.buffer),this.currentCb=new
r(this.codedSize>>2),this.currentCb32=new
Uint32Array(this.currentCb.buffer),this.forwardY=new
r(this.codedSize),this.forwardY32=new
Uint32Array(this.forwardY.buffer),this.forwardCr=new
r(this.codedSize>>2),this.forwardCr32=new
Uint32Array(this.forwardCr.buffer),this.forwardCb=new
r(this.codedSize>>2),this.forwardCb32=new
Uint32Array(this.forwardCb.buffer)),this.quantizerScale=0,this.sliceBegin=!
1,this.macroblockAddress=0,this.mbRow=0,this.mbCol=0,this.macroblockType=0,this.mac
roblockIntra=!1,this.macroblockMotFw=!
1,this.motionFwH=0,this.motionFwV=0,this.motionFwHPrev=0,this.motionFwVPrev=0}var
e=t.prototype;return e.decodePicture=function(){for(var t=0;;){if(-
1===(t=this.buffer.findNextMPEGStartCode()))return!
1;if(t===ws)break}if(this.buffer.advance(10),this.pictureCodingType=this.buffer.get
Bits(3),this.buffer.advance(16),0>=this.pictureCodingType||
this.pictureCodingType>=js)return!1;if(this.pictureCodingType===Ss)
{if(this.fullPelForward=this.buffer.getBits(1),this.forwardFCode=this.buffer.getBit
s(3),0===this.forwardFCode)return!1;this.forwardRSize=this.forwardFCode-
1,this.forwardF=1<<this.forwardRSize}do{t=this.buffer.findNextMPEGStartCode()}while
(t===_s||
t===Ps);for(;t>=Os&&t<=As;)this.decodeSlice(255&t),t=this.buffer.findNextMPEGStartC
ode();return this.hasDecoded=!0,!0},e.decodeSlice=function(t){for(this.sliceBegin=!
0,this.macroblockAddress=(t-1)*this.mbWidth-
1,this.motionFwH=this.motionFwHPrev=0,this.motionFwV=this.motionFwVPrev=0,this.dcPr
edictorY=128,this.dcPredictorCr=128,this.dcPredictorCb=128,this.quantizerScale=this
.buffer.getBits(5);this.buffer.getBits(1);)this.buffer.advance(8);do{this.decodeMac
roblock()}while(!
this.buffer.nextBytesAreStartCode())},e.decodeMacroblock=function(){for(var
t=0,e=this.readCode(ks.ADDRESS_INCREMENT);34===e;)e=this.readCode(ks.ADDRESS_INCREM
ENT);for(;35===e;)t+=33,e=this.readCode(ks.ADDRESS_INCREMENT);if(t+=e,this.sliceBeg
in)this.sliceBegin=!
1,this.macroblockAddress+=t;else{if(this.macroblockAddress+t>=this.mbSize)return!
1;for(1<t&&(this.dcPredictorY=128,this.dcPredictorCr=128,this.dcPredictorCb=128,thi
s.pictureCodingType===Ss&&(this.motionFwH=this.motionFwHPrev=0,this.motionFwV=this.
motionFwVPrev=0));1<t;)this.macroblockAddress+=1,this.mbRow=0|
this.macroblockAddress/this.mbWidth,this.mbCol=this.macroblockAddress
%this.mbWidth,this.copyMacroblock(this.motionFwH,this.motionFwV,this.forwardY,this.
forwardCr,this.forwardCb),t-=1;this.macroblockAddress+=1}this.mbRow=0|
this.macroblockAddress/this.mbWidth,this.mbCol=this.macroblockAddress
%this.mbWidth,this.macroblockType=this.readCode(ks.TYPE_TABLE[this.pictureCodingTyp
e]),this.macroblockIntra=1&this.macroblockType,this.macroblockMotFw=8&this.macroblo
ckType,0!
=(16&this.macroblockType)&&(this.quantizerScale=this.buffer.getBits(5)),this.macrob
lockIntra?
(this.motionFwH=this.motionFwHPrev=0,this.motionFwV=this.motionFwVPrev=0):
(this.dcPredictorY=128,this.dcPredictorCr=128,this.dcPredictorCb=128,this.decodeMot
ionVectors(),this.copyMacroblock(this.motionFwH,this.motionFwV,this.forwardY,this.f
orwardCr,this.forwardCb));for(var i=0==(2&this.macroblockType)?
this.macroblockIntra?63:0:this.readCode(xs.CODE_BLOCK_PATTERN),n=0,r=32;6>n;n++)0!
=(i&r)&&this.decodeBlock(n),r>>=1},e.readCode=function(t){var
e=0;do{e=t[e+this.buffer.getBits(1)]}while(0<=e&&0!==t[e]);return
t[e+2]},e.copyMacroblock=function(t,e,i,n,r){var
o,a,s,d,l,c,u,h,p,f,g,v,b,m,y,O,A,w,_,P=this.currentY32,S=this.currentCb32,j=this.c
urrentCr32;if(a=(o=this.codedWidth)-
16,s=t>>1,d=e>>1,l=1==(1&t),c=1==(1&e),u=((this.mbRow<<4)+d)*o+
(this.mbCol<<4)+s,p=(h=this.mbRow*o+this.mbCol<<2)+(o<<2),l)if(c)for(;h<p;)
{for(g=i[u]+i[u+o],u++,f=0;4>f;f++)b=255&g+(v=i[u]+i[u+o])+2>>2,b|=65280&(g=i[++u]
+i[u+o])+v+2<<6,b|=16711680&g+(v=i[++u]+i[u+o])+2<<14,g=i[++u]+i[u+o],u++,b|
=4278190080&g+v+2<<22,P[h++]=b;h+=a>>2,u+=a-1}else for(;h<p;){for(g=i[u+
+],f=0;4>f;f++)b=255&g+(v=i[u++])+1>>1,b|=65280&(g=i[u++])+v+1<<7,b|=16711680&g+
(v=i[u++])+1<<15,b|=4278190080&(g=i[u++])+v+1<<23,P[h++]=b;h+=a>>2,u+=a-1}else
if(c)for(;h<p;){for(f=0;4>f;f++)b=255&i[u]+i[u+o]+1>>1,b|=65280&i[++u]+i[u+o]
+1<<7,b|=16711680&i[++u]+i[u+o]+1<<15,b|=4278190080&i[++u]+i[u+o]+1<<23,u++,P[h+
+]=b;h+=a>>2,u+=a}else for(;h<p;){for(f=0;4>f;f++)b=i[u],b|=i[++u]<<8,b|=i[+
+u]<<16,b|=i[++u]<<24,u++,P[h++]=b;h+=a>>2,u+=a}if(a=(o=this.halfWidth)-
8,s=t/2>>1,d=e/2>>1,l=1==(1&t/2),c=1==(1&e/2),u=((this.mbRow<<3)+d)*o+
(this.mbCol<<3)+s,p=(h=this.mbRow*o+this.mbCol<<1)+(o<<1),l)if(c)for(;h<p;)
{for(m=n[u]+n[u+o],A=r[u]+r[u+o],u++,f=0;2>f;f++)O=255&m+(y=n[u]+n[u+o])
+2>>2,_=255&A+(w=r[u]+r[u+o])+2>>2,O|=65280&(m=n[++u]+n[u+o])+y+2<<6,_|
=65280&(A=r[u]+r[u+o])+w+2<<6,O|=16711680&m+(y=n[++u]+n[u+o])+2<<14,_|=16711680&A+
(w=r[u]+r[u+o])+2<<14,m=n[++u]+n[u+o],A=r[u]+r[u+o],u++,O|=4278190080&m+y+2<<22,_|
=4278190080&A+w+2<<22,j[h]=O,S[h]=_,h++;h+=a>>2,u+=a-1}else for(;h<p;)
{for(m=n[u],A=r[u],u++,f=0;2>f;f++)O=255&m+(y=n[u])+1>>1,_=255&A+(w=r[u++])+1>>1,O|
=65280&(m=n[u])+y+1<<7,_|=65280&(A=r[u++])+w+1<<7,O|=16711680&m+(y=n[u])+1<<15,_|
=16711680&A+(w=r[u++])+1<<15,O|=4278190080&(m=n[u])+y+1<<23,_|=4278190080&(A=r[u+
+])+w+1<<23,j[h]=O,S[h]=_,h++;h+=a>>2,u+=a-1}else if(c)for(;h<p;){for(f=0;2>f;f+
+)O=255&n[u]+n[u+o]+1>>1,_=255&r[u]+r[u+o]+1>>1,O|=65280&n[++u]+n[u+o]+1<<7,_|
=65280&r[u]+r[u+o]+1<<7,O|=16711680&n[++u]+n[u+o]+1<<15,_|=16711680&r[u]+r[u+o]
+1<<15,O|=4278190080&n[++u]+n[u+o]+1<<23,_|=4278190080&r[u]+r[u+o]+1<<23,u+
+,j[h]=O,S[h]=_,h++;h+=a>>2,u+=a}else for(;h<p;){for(f=0;2>f;f++)O=n[u],_=r[u],O|
=n[++u]<<8,_|=r[u]<<8,O|=n[++u]<<16,_|=r[u]<<16,O|=n[++u]<<24,_|=r[u]<<24,u+
+,j[h]=O,S[h]=_,h++;h+=a>>2,u+=a}},e.decodeMotionVectors=function(){var
t,e,i=0;this.macroblockMotFw?(0!==(t=this.readCode(xs.MOTION))&&1!==this.forwardF?
(i=this.buffer.getBits(this.forwardRSize),e=(Yn(t)-1<<this.forwardRSize)
+i+1,0>t&&(e=-e)):e=t,this.motionFwHPrev+=e,this.motionFwHPrev>(this.forwardF<<4)-
1?this.motionFwHPrev-=this.forwardF<<5:this.motionFwHPrev<-
this.forwardF<<4&&(this.motionFwHPrev+=this.forwardF<<5),this.motionFwH=this.motion
FwHPrev,this.fullPelForward&&(this.motionFwH<<=1),0!
==(t=this.readCode(xs.MOTION))&&1!==this.forwardF?
(i=this.buffer.getBits(this.forwardRSize),e=(Yn(t)-1<<this.forwardRSize)
+i+1,0>t&&(e=-e)):e=t,this.motionFwVPrev+=e,this.motionFwVPrev>(this.forwardF<<4)-
1?this.motionFwVPrev-=this.forwardF<<5:this.motionFwVPrev<-
this.forwardF<<4&&(this.motionFwVPrev+=this.forwardF<<5),this.motionFwV=this.motion
FwVPrev,this.fullPelForward&&(this.motionFwV<<=1)):this.pictureCodingType===Ss&&(th
is.motionFwH=this.motionFwHPrev=0,this.motionFwV=this.motionFwVPrev=0)},e.decodeBlo
ck=function(t){var e,i,n,r,o=0;if(this.macroblockIntra){var a,s;if(4>t?
(a=this.dcPredictorY,s=this.readCode(xs.DCT_DC_SIZE_LUMINANCE)):(a=4===t?
this.dcPredictorCr:this.dcPredictorCb,s=this.readCode(xs.DCT_DC_SIZE_CHROMINANCE)),
0<s){var d=this.buffer.getBits(s);this.blockData[0]=0==(d&1<<s-1)?a+(-1<<s|
d+1):a+d}else this.blockData[0]=a;4>t?this.dcPredictorY=this.blockData[0]:4===t?
this.dcPredictorCr=this.blockData[0]:this.dcPredictorCb=this.blockData[0],this.bloc
kData[0]<<=8,e=this.intraQuantMatrix,o=1}else e=this.nonIntraQuantMatrix;for(var
l=0;;){var
c=0,u=this.readCode(xs.DCT_COEFF);if(1===u&&0<o&&0===this.buffer.getBits(1))break;6
5535===u?(c=this.buffer.getBits(6),0===(l=this.buffer.getBits(8))?
l=this.buffer.getBits(8):128===l?l=this.buffer.getBits(8)-256:128<l&&(l-=256)):
(c=u>>8,l=255&u,this.buffer.getBits(1)&&(l=-l));var h=xs.ZIG_ZAG[o+=c];o+
+,l<<=1,this.macroblockIntra||(l+=0>l?-
1:1),0==(1&(l=l*this.quantizerScale*e[h]>>4))&&(l-=0<l?1:-1),2047<l?l=2047:-
2048>l&&(l=-2048),this.blockData[h]=l*xs.PREMULTIPLIER_MATRIX[h]}4>t?
(i=this.currentY,r=this.codedWidth-8,n=this.mbRow*this.codedWidth+this.mbCol<<4,0!
=(1&t)&&(n+=8),0!=(2&t)&&(n+=this.codedWidth<<3)):(i=4===t?
this.currentCb:this.currentCr,r=(this.codedWidth>>1)-
8,n=(this.mbRow*this.codedWidth<<2)+(this.mbCol<<3)),this.macroblockIntra?1===o?
(this.copyValueToDestination(this.blockData[0]+128>>8,i,n,r),this.blockData[0]=0):
(this.IDCT(),this.copyBlockToDestination(this.blockData,i,n,r),this.blockData.set(t
his.zeroBlockData)):1===o?
(this.addValueToDestination(this.blockData[0]+128>>8,i,n,r),this.blockData[0]=0):
(this.IDCT(),this.addBlockToDestination(this.blockData,i,n,r),this.blockData.set(th
is.zeroBlockData)),o=0},e.IDCT=function(){var
t,e,i,n,r,o,a,s,d,l,c,u,h,p,f,g,v,b,m,y=this.blockData;for(m=0;8>m;+
+m)t=y[32+m],e=y[16+m]+y[48+m],i=y[40+m]-y[24+m],o=y[8+m]+y[56+m],a=y[24+m]
+y[40+m],n=y[8+m]-y[56+m],r=o+a,s=y[0+m],d=(h=(473*n-196*i+128>>8)-r)-(362*(o-a)
+128>>8),p=(l=s-t)+(c=(362*(y[16+m]-y[48+m])+128>>8)-e),f=(u=s+t)+e,g=l-c,v=u-e,b=-
d-(473*i+196*n+128>>8),y[0+m]=r+f,y[8+m]=h+p,y[16+m]=g-d,y[24+m]=v-
b,y[32+m]=v+b,y[40+m]=d+g,y[48+m]=p-h,y[56+m]=f-
r;for(m=0;64>m;m+=8)t=y[4+m],e=y[2+m]+y[6+m],i=y[5+m]-y[3+m],o=y[1+m]
+y[7+m],a=y[3+m]+y[5+m],n=y[1+m]-y[7+m],r=o+a,s=y[0+m],d=(h=(473*n-196*i+128>>8)-
r)-(362*(o-a)+128>>8),p=(l=s-t)+(c=(362*(y[2+m]-y[6+m])+128>>8)-e),f=(u=s+t)+e,g=l-
c,v=u-e,b=-d-(473*i+196*n+128>>8),y[0+m]=r+f+128>>8,y[1+m]=h+p+128>>8,y[2+m]=g-
d+128>>8,y[3+m]=v-b+128>>8,y[4+m]=v+b+128>>8,y[5+m]=d+g+128>>8,y[6+m]=p-
h+128>>8,y[7+m]=f-r+128>>8},e.copyBlockToDestination=function(t,e,i,n){for(var
r=0;64>r;r+=8,i+=n+8)e[i+0]=t[r+0],e[i+1]=t[r+1],e[i+2]=t[r+2],e[i+3]=t[r+3],e[i+4]
=t[r+4],e[i+5]=t[r+5],e[i
+6]=t[r+6],e[i+7]=t[r+7]},e.addBlockToDestination=function(t,e,i,n){for(var
r=0;64>r;r+=8,i+=n+8)e[i+0]+=t[r+0],e[i+1]+=t[r+1],e[i+2]+=t[r+2],e[i+3]+=t[r+3],e[
i+4]+=t[r+4],e[i+5]+=t[r+5],e[i+6]+=t[r+6],e[i+7]+=t[r+7]},e.copyValueToDestination
=function(t,e,i,n){for(var
r=0;64>r;r+=8,i+=n+8)e[i+0]=t,e[i+1]=t,e[i+2]=t,e[i+3]=t,e[i+4]=t,e[i+5]=t,e[i+6]=t
,e[i+7]=t},e.addValueToDestination=function(t,e,i,n){for(var
r=0;64>r;r+=8,i+=n+8)e[i+0]+=t,e[i+1]+=t,e[i+2]+=t,e[i+3]+=t,e[i+4]+=t,e[i+5]+=t,e[
i+6]+=t,e[i+7]+=t},e.copyBlockToDestinationClamp=function(t,e,i,n){for(var
r=0,o=0;8>o;o++){for(var a,s=0;8>s;s++)a=t[r++],e[i++]=255<a?255:0>a?
0:a;i+=n}},e.addBlockToDestinationClamp=function(t,e,i,n){for(var r=0,o=0;8>o;o++)
{for(var a,s=0;8>s;s++)a=t[r++]+e[i],e[i++]=255<a?255:0>a?
0:a;i+=n}},e.YCbCrToRGBA=function(){for(var
t,e,i,n,r,o=this.currentY,a=this.currentCb,s=this.currentCr,d=this.currentRGBA.data
,l=0,c=this.codedWidth,u=this.codedWidth+(this.codedWidth-
this.width),h=0,p=this.halfWidth-
(this.width>>1),f=0,g=4*this.width,v=4*this.width,b=this.width>>1,m=this.height>>1,
y=0;y<m;y++){for(var O=0;O<b;O++){t=a[h],e=s[h],h++,i=e+(103*e>>8)-179,n=(88*t>>8)-
44+(183*e>>8)-91,r=t+(198*t>>8)-227;var A=o[l++],w=o[l++];d[f]=A+i,d[f+1]=A-
n,d[f+2]=A+r,d[f+3]=255,d[f+4]=w+i,d[f+5]=w-n,d[f+6]=w+r,d[f+7]=255,f+=8;var _=o[c+
+],P=o[c++];d[g]=_+i,d[g+1]=_-n,d[g+2]=_+r,d[g+3]=255,d[g+4]=P+i,d[g+5]=P-
n,d[g+6]=P+r,d[g+7]=255,g+=8}l+=u,c+=u,f+=v,g+=v,h+=p}this.hasDecodeColor=!
0},e.fillArray=function(t,e){for(var i=0,n=t.length;i<n;i++)t[i]=e},t}
(),Ms=function(){};Ms.SHADER_FRAGMENT_YCBCRTORGBA="precision mediump
float;\nuniform sampler2D YTexture;\nuniform sampler2D CBTexture;\nuniform
sampler2D CRTexture;\nvarying vec2 texCoord;\nvoid main() {\nfloat y =
texture2D(YTexture, texCoord).r;\nfloat cr = texture2D(CBTexture, texCoord).r -
0.5;\nfloat cb = texture2D(CRTexture, texCoord).r - 0.5;\ngl_FragColor = vec4(\ny +
1.4 * cr,\ny + -0.343 * cb - 0.711 * cr,\ny + 1.765 *
cb,\n1.0\n);\n}",Ms.SHADER_FRAGMENT_LOADING="precision mediump float;\nuniform
float loaded;\nvarying vec2 texCoord;\nvoid main() {\nfloat c = ceil(loaded-(1.0-
texCoord.y));\ngl_FragColor =
vec4(c,c,c,1);\n}",Ms.SHADER_VERTEX_IDENTITY="attribute vec2 vertex;\nvarying vec2
texCoord;\nvoid main() {\ntexCoord = vertex;\ngl_Position = vec4((vertex * 2.0 -
1.0) * vec2(1, -1), 0.0, 1.0);\n}";var Vs=function(){function t(t)
{this.canvas=t.canvas}var e=t.prototype;return e.init=function(t,e)
{this.initWebGL()?
(this.render=this.renderFrameGL,this.gl.useProgram(this.program),this.gl.viewport(0
,0,t,e)):
(this.canvasCtx=this.canvas.getContext("2d"),this.render=this.renderFrame2D)},e.ren
derFrame2D=function(t){t.decodePicture(),t.hasDecodeColor||
(t.currentRGBA=document.createElement("canvas").getContext("2d").getImageData(0,0,t
.width,t.height),t.YCbCrToRGBA()),this.canvasCtx.putImageData(t.currentRGBA,0,0)},e
.renderFrameGL=function(t){t.decodePicture();var e=this.gl,i=new
Uint8Array(t.currentY.buffer),n=new Uint8Array(t.currentCr.buffer),r=new
Uint8Array(t.currentCb.buffer);e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_
2D,this.YTexture),e.texImage2D(e.TEXTURE_2D,0,e.LUMINANCE,t.codedWidth,t.height,0,e
.LUMINANCE,e.UNSIGNED_BYTE,i),e.activeTexture(e.TEXTURE1),e.bindTexture(e.TEXTURE_2
D,this.CBTexture),e.texImage2D(e.TEXTURE_2D,0,e.LUMINANCE,t.halfWidth,t.height/2,0,
e.LUMINANCE,e.UNSIGNED_BYTE,n),e.activeTexture(e.TEXTURE2),e.bindTexture(e.TEXTURE_
2D,this.CRTexture),e.texImage2D(e.TEXTURE_2D,0,e.LUMINANCE,t.halfWidth,t.height/2,0
,e.LUMINANCE,e.UNSIGNED_BYTE,r),e.drawArrays(e.TRIANGLE_STRIP,0,4)},e.initWebGL=fun
ction(){var t;try{if(t=this.gl=this.canvas.getContext("webgl")||
this.canvas.getContext("experimental-
webgl"),this.glbuffer=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,this.glbuffer),t
.bufferData(t.ARRAY_BUFFER,new
Float32Array([0,0,0,1,1,0,1,1]),t.STATIC_DRAW),this.program=t.createProgram(),t.att
achShader(this.program,this.compileShader(t.VERTEX_SHADER,Ms.SHADER_VERTEX_IDENTITY
)),t.attachShader(this.program,this.compileShader(t.FRAGMENT_SHADER,Ms.SHADER_FRAGM
ENT_YCBCRTORGBA)),t.linkProgram(this.program),!
t.getProgramParameter(this.program,t.LINK_STATUS))throw new
Error(t.getProgramInfoLog(this.program));t.useProgram(this.program),this.YTexture=t
his.createTexture(0,"YTexture"),this.CBTexture=this.createTexture(1,"CBTexture"),th
is.CRTexture=this.createTexture(2,"CRTexture");var
e=t.getAttribLocation(this.program,"vertex");t.enableVertexAttribArray(e),t.vertexA
ttribPointer(e,2,t.FLOAT,!
1,0,0),this.loadingProgram=t.createProgram(),t.attachShader(this.loadingProgram,thi
s.compileShader(t.VERTEX_SHADER,Ms.SHADER_VERTEX_IDENTITY)),t.attachShader(this.loa
dingProgram,this.compileShader(t.FRAGMENT_SHADER,Ms.SHADER_FRAGMENT_LOADING)),t.lin
kProgram(this.loadingProgram),t.useProgram(this.loadingProgram),e=t.getAttribLocati
on(this.loadingProgram,"vertex"),t.enableVertexAttribArray(e),t.vertexAttribPointer
(e,2,t.FLOAT,!1,0,0)}catch(e){return!1}return!!t},e.compileShader=function(t,e){var
i=this.gl,n=i.createShader(t);if(i.shaderSource(n,e),i.compileShader(n),!
i.getShaderParameter(n,i.COMPILE_STATUS))throw new
Error(i.getShaderInfoLog(n));return n},e.createTexture=function(t,e){var
i=this.gl,n=i.createTexture();return
i.bindTexture(i.TEXTURE_2D,n),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.L
INEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(
i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTU
RE_WRAP_T,i.CLAMP_TO_EDGE),i.uniform1i(i.getUniformLocation(this.program,e),t),n},t
}(),Rs=[null,23.976,24,25,29.97,30,50,59.94,60],Ls=function(){function t()
{this.data=new Uint8Array(0),this.lastIndex=0}var e=t.prototype;return
e.push=function(e){this.data=t.merge(this.data,e)},e.getData=function(){for(var
t,e=[],i=this.lastIndex;i<this.data.length;i+=1)if(0===this.data[i]&&0===this.data[
i+1]&&1===this.data[i+2]){var n=this.data[i+3];if(n===ws)e.push(i);else
if(n===ys&&32<this.data.length-(i+4)){var r=new
ms(this.data.slice(i+4,32)),o=r.getBits(12),a=r.getBits(12),s=r.getBits(4),d=Rs[r.g
etBits(4)];o&&a&&(t={width:o,height:a,aspectRatio:s,fps:d})}}var
l=[];if(1<e.length)for(var c=0;c<e.length-1;c+=1)l.push(new
ms(this.data.slice(e[c],e[c+1]))),this.lastIndex=e[c+1];return{frames:l,metaData:t}
},e.getTailData=function(){return
this.data.slice(this.lastIndex,this.data.length)},t.merge=function(t,e){var i=new
Uint8Array(t.length+e.length);return i.set(t),i.set(e,t.length),i},t}
(),Fs=30,Ws="jsmpeg",Hs=function(t){function e(e){var i;return void 0===e&&(e={}),
(i=t.call(this)||this).canvas=e.canvas,i.finished=!
1,i.currentRenderFrame=0,i.hasStop=!0,i.timeoutId=null,i.buffer=new
Ls,i.renderEngine=new
Vs(e),i.currentTime=0,i.fps=Fs,i.frames=[],i.messagesData=[],i.duration=0,i.lastRen
derTime=Date.now(),i.firstPacketTimeout=e.firstPacketTimeout||500,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.createFrame=function(t){var
e=this.frames[this.frames.length-1],i=new
Ns(t,this.width,this.height,e);this.frames.push(i)},i.setMetaData=function(t){if(t)
{var e=t.width,i=t.height,n=t.fps;n&&(this.fps=n),e&&i&&this.width!
==e&&this.height!
==i&&(this.width=e,this.height=i,this.canvas.width=this.width,this.canvas.height=th
is.height,this.renderEngine.init(this.width,this.height))}},i.decodeMessage=functio
n(){var t=this,e=this.fps/2;if(this.frames.length-
this.currentRenderFrame>e)setTimeout(this.decodeMessage.bind(this),0);else{var
i=this.messagesData.shift();if(i){this.buffer.push(new Uint8Array(i));var
n=this.buffer.getData(),r=n.frames,o=n.metaData;this.setMetaData(o),r.forEach(funct
ion(e){return t.createFrame(e)}),Date.now()-
this.lastRenderTime>=1e3/this.fps&&this.nextFrame()}}},i.createSocket=function(t)
{var e=this,i=new WebSocket(t);i.binaryType="arraybuffer";var n=function(t){var
i=t.data;e.messagesData.push(i),setTimeout(e.decodeMessage.bind(e),0)};return
i.addEventListener("message",function t(r)
{clearTimeout(i.firstPacketWaitingTimeoutId);var o=new
ms(r.data);e.decodeInitPackage(o),i.removeEventListener("message",t),i.addEventList
ener("message",n)}),i.firstPacketWaitingTimeoutId=setTimeout(function()
{e.trigger("error",Ws+".createSocket() Websocket did not get a first packet during
"+e.firstPacketTimeout+"
ms")},this.firstPacketTimeout),i},i.processSocket=function(t){var
e=this;try{this.client=this.createSocket(t),this.client.addEventListener("error",fu
nction(){e.trigger("error",Ws+".init() Websocket initialization
error")}),this.client.addEventListener("close",function(){e.finished=!0})}catch(e)
{this.trigger("error",Ws+".init() Websocket create
error")}},i.processFile=function(t){var e=this;Object(po.f)(t,{options:
{withCredentials:!1,responseType:"arraybuffer"}}).then(function(t)
{e.buffer.push(new Uint8Array(t.target.response));var
i=e.buffer.getData(),n=i.frames,r=i.metaData;e.setMetaData(r),n.forEach(function(t)
{return
e.createFrame(t)}),e.duration=e.frames.length/e.fps,e.trigger("onDecodeInitPackage"
)}).catch(function(){e.trigger("error",Ws+".pricessFile("+t+") Failed to load
resource")})},i.init=function(t){/^wss?:\/\//.test(t)?
this.processSocket(t):this.processFile(t)},i.decodeInitPackage=function(t)
{t.getBits(32),this.setMetaData({width:t.getBits(16),height:t.getBits(16),fps:t.get
Bits(8)||Fs}),this.trigger("onDecodeInitPackage")},i.play=function()
{this.hasStop&&(this.hasStop=!1,this.startAnimation())},i.pause=function()
{this.hasStop=!
0,this.timeoutId&&window.clearTimeout(this.timeoutId)},i.stop=function()
{this.currentRenderFrame=0,this.currentTime=0,this.pause()},i.timeUpdate=function()
{this.trigger("timeupdate",{target:
{currentTime:this.currentTime,duration:this.duration}})},i.nextFrame=function(){var
t=this.frames[this.currentRenderFrame];!t||this.hasStop||
(this.lastRenderTime=Date.now(),this.renderEngine.render(t),this.currentTime=this.c
urrentRenderFrame/this.fps,this.currentRenderFrame+=1,this.timeUpdate())},i.startAn
imation=function(){return
this.hasStop?void 0:(this.finished||
0<this.duration)&&this.currentRenderFrame>=this.frames.length-
1&&0===this.messagesData.length?void this.trigger("ended"):
(this.timeoutId=setTimeout(this.startAnimation.bind(this),1e3/this.fps),void
this.nextFrame())},e}(bs.a),zs="Module::VpaidCanvas",Bs=function(t){function e(e)
{var i;void 0===e&&(e={}),i=t.call(this,function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
ei(Object(e),!0).forEach(function(i)
{ii(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ei(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},e,
{ancestor:zs}))||this;var
n=e,r=n.duration,o=n.mpgmedia,a=n.mpgmedia,s=a.width,d=a.height;return
i.adDuration=r,i.adWidth=s,i.adHeight=d,i.media=o,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.initAd=function(e,i,n,r,o,a){var s=this;void
0===o&&(o={}),void 0===a&&(a={}),t.prototype.initAd.call(this,e,i,n,r,o,a);var
d=this.options,l=d.mpgmedia,c=d.mp4media,u=d.mp3media,h=d.duration;this.setAdVolume
(0),this.adDuration=h,this.videoSlot=this.videoSlot||
a.videoSlot,this.audioSlot=this.audioSlot||a.audioSlot;var
p=this.slot=a.slot,f=this.canvas;Object(cr.o)(f,"canvas")||
(f=this.canvas=document.createElement("canvas"),this._addDOMEventListener(p||
f,"click",function(t){t.preventDefault(),this.trigger("AdClickThru","",0,!
0)}.bind(this)),Object(cr.b)(f,{width:Object(dr.s)(e),height:Object(dr.s)
(i)}),this.canvasWrapper=Object(cr.a)(a.slot,"div",
{position:"absolute",top:"50%",marginTop:Object(dr.s)(-
i/2),left:"50%",marginLeft:Object(dr.s)(-
e/2)}),this.canvasWrapper.appendChild(f),this._initAudioVideo(u&&u.src,c&&c.src));v
ar g=this.jsmpeg=new Hs({canvas:f,firstPacketTimeout:1200});return
this._addVPAIDEventListener(g,"timeupdate",function(t){var
e=this.adExpanded&&this.videoSlot?
this.videoSlot:t.target,i=this.adDuration=e&&e.duration?
e.duration:this.adDuration;if(i){var n=this.adRemainingTime,r=i-
e.currentTime;r===n||
(this.adRemainingTime=r,r<i&&n===i&&(this.trigger("AdImpression"),this.trigger("AdV
ideoStart")),this.trigger("AdRemainingTimeChange"),r<.75*i&&n>=.75*i&&this.trigger(
"AdVideoFirstQuartile"),r<.5*i&&n>=.5*i&&this.trigger("AdVideoMidpoint"),r<.25*i&&n
>=.25*i&&this.trigger("AdVideoThirdQuartile"),0==r&&0<n&&this.trigger("AdVideoCompl
ete"))}}.bind(this)),this._addVPAIDEventListener(g,"onDecodeInitPackage",function()
{var
t=this.jsmpeg;t.width,t.height,this.resizeAd(this.adWidth,this.adHeight),this.trigg
er("AdLoaded")}.bind(this)),this._addVPAIDEventListener(g,"ended",function(){var
t=s.getAdExpanded();g.ended=!0,t||
(s.collapseAd(),s.trigger("AdVideoComplete"))}),this._addVPAIDEventListener(g,"erro
r",function(t)
{s.trigger("AdError",t+"",nr.a.GENERAL_VPAID_ERROR)},"error"),g.init(l&&l.src),this
._addVPAIDEventListener(this,"AdVolumeChange",function()
{ri.call(this)}.bind(this)),this._addVPAIDEventListener(this,"AdVideoStart",functio
n()
{ri.call(this)}.bind(this)),this._addVPAIDEventListener(this,"AdVideoComplete",func
tion(){var
t=this.jsmpeg,e=this.videoSlot;e&&e.pause(),t.stop()}.bind(this)),Promise.resolve(t
his)},i.resizeAd=function(e,i,n){var
r,o=this.jsmpeg,a=this.canvas,s=this.environmentVars,d=this.options.mpgmedia,l=d.sc
alable,c=s||{},u=c.forceAspectRatio,h=c.slot,p=this.getAdAspectRatio(),f=u||
d.maintainAspectRatio;if(o&&o.width&&p&&l&&s&&s.slot){var
g,v=o.width>o.height,b=e>i;if(null===f){var m=d.width/d.height,y=e/i;f=100-
100*(y<m?y/m:m/y)>10}!0===f&&(g=e/i<o.width/o.height),!
1===f&&(g=e/i>o.width/o.height),v!=b&&(g=!0),b&&!v&&(g=!1),r=g?
{width:e,height:e*p}:{height:i,width:i/p}}else
r={width:d.width,height:d.height};var O=this.canvasWrapper;return O&&Object(cr.b)
(O,{marginTop:Object(dr.s)(-r.height/2),marginLeft:Object(dr.s)(-
r.width/2)}),Object(dr.c)(a,r,h,
{width:e,height:i}),t.prototype.resizeAd.call(this,e,i,n)},i.startAd=function(){var
e=this.jsmpeg,i=this.videoSlot;return this.getAdExpanded()?
i&&i.play():e.play(),t.prototype.startAd.call(this)},i.stopAd=function(){return
ni.call(this),t.prototype.stopAd.call(this)},i.pauseAd=function(){return
ni.call(this),t.prototype.pauseAd.call(this)},i.resumeAd=function(){var
e=this.jsmpeg,i=this.videoSlot,n=this.getAdExpanded();return
e.play(),n&&i&&i.play(),t.prototype.resumeAd.call(this)},i.expandAd=function(){var
e=this.jsmpeg,i=this.videoSlot;return!
this.getAdExpanded()&&i&&(i.currentTime=e.currentTime,Object(cr.p)
(this.videoSlot),this.setAdExpanded(!
0)),t.prototype.expandAd.call(this)},i.collapseAd=function(){var
e=this,i=this.jsmpeg,n=this.videoSlot;return
this.getAdExpanded()&&n&&(n.pause(),setTimeout(function(){"function"==typeof
n.webkitExitFullscreen&&n.webkitExitFullscreen(),i.ended&&e.trigger("AdVideoComplet
e")},50)),t.prototype.collapseAd.call(this)},i.skipAd=function(){return
ni.call(this),t.prototype.skipAd.call(this)},i.getAdAspectRatio=function(){var
t=this.adWidth,e=this.adHeight,i=this.jsmpeg||
this.options.mpgmedia,n=i.width,r=i.height;return n&&r?r/n:t&&e?
e/t:9/16},i._destroy=function()
{t.prototype._destroy.call(this),this.jsmpeg._eventListeners={},this.jsmpeg=null},i
._initAudioVideo=function(t,e){var i,n;if(t)i=this.videoSlot=this.audioSlot||
document.createElement("audio"),n=t;else{if(!e)return void
this._failedAudioVideo();(i=this.videoSlot=this.videoSlot||
document.createElement("video")).playsInline=!
0,n=e}this.environmentVars.slot.appendChild(i),i.src=n,Object(cr.b)(i,
{display:"none"}),this._addDOMEventListener(i,"volumechange",this.trigger.bind(this
,"AdVolumeChange")),this._addDOMEventListener(i,"loadeddata",function(t){var
e=t.target;this.hasAudio=Object(dr.o)
(e),this.trigger("AdLoadedVideoData")}.bind(this)),this._addDOMEventListener(i,"web
kitendfullscreen",this.collapseAd.bind(this)),this._addDOMEventListener(i,"ended",t
his.collapseAd.bind(this)),this._addDOMEventListener(i,"error",this._failedAudioVid
eo.bind(this)),i.load()},i._failedAudioVideo=function()
{this.videoSlot=null,this.trigger("AdAudioDisabled")},e.create=function(t,i,n){void
0===n&&(n=!1);var r=(i&&i.getAPI&&i.getAPI()||{}).getControlUnionData;return new
Promise(function(o){var
a=t.MediaFiles,s=t.duration,d=t.rawDuration,l=a["video/mp4"]&&a["video/mp4"]
[0],c=l&&l.src,u=c&&i.isMediaUrlBlocked(l.src),h=a["audio/mp3"]&&a["audio/mp3"]
[0],p=r&&r("vnCache")||{serverUrl:"",strict:!1};if(!n&&c&&!u&&(ur.b||!
p.strict&&ur.a))throw new Error;var
f,g=i.format&&i.format._getModuleDimensions&&i.format._getModuleDimensions().viewpo
rtWidth||0,v=a["video/mpeg"],b=v&&v.filter(function(t){return t.src&&!
i.isMediaUrlBlocked(t.src)}).reduce(function(t,e){return Yn(t.width-g)<Yn(e.width-
g)?t:e});if(b){var m,y=b.width;y&&g&&!1===b.scalable&&.1<(m=Yn(y-
g)/g)&&(or.b.log(zs+" difference between viewportWidth && mediaWidth more than 10%
("+m+"). Set media.scalable = true"),b.scalable=!0),f=Promise.resolve(b)}else{if(!
c||u||!p||!p.serverUrl)throw new Error;var O=Object(pr.a)(p.serverUrl,
{url:l.src});f=Object(po.f)(O).then(function(t){return
JSON.parse(t.target.responseText)}).catch(function(){throw new Error("Cache server
did not provide playable data")}).then(function(t){return
t.video})}f.then(function(t)
{or.b.log(zs+".create("+t.src+")"),i.setSelectedCreative(t.src,d);var n=new
e({module:i,mpgmedia:t,mp3media:h,mp4media:l,duration:s,moduleAPI:i.getAPI()});o(n)
})})},e}(ir.a),Us="Module::VpaidImg",qs=function(t){function e(e){var i;void
0===e&&(e={});var n=(i=t.call(this,function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?oi(Object(e),!0).forEach(function(i)
{ai(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):oi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},e,
{ancestor:Us}))||this).options.media;i.media=n,i.image=null,i.originalSize={};var
r=i.options.duration;return i._countdown=new is.a({duration:r,VPAID_API:
{trigger:i.trigger.bind(function(t){if(void 0===t)throw new ReferenceError("this
hasn't been initialised - super() hasn't been called");return t}
(i))},logger:i.logger}),i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.initAd=function(e,i,n,r,o,a){var s=this;void
0===o&&(o={}),void 0===a&&(a={}),t.prototype.initAd.call(this,e,i,n,r,o,a);var
d=this.options.media,l=this.image,c=this.slot=a.slot;if(!Object(cr.o)(l,"img")){var
u=this.image=document.createElement("img");this._addDOMEventListener(c,"click",func
tion(t){t.preventDefault(),this.trigger("AdClickThru","",0,!
0)}.bind(this)),this._addDOMEventListener(u,"load",function(){var
t=this.image,e=t.width,i=t.height;this.originalSize={width:parseFloat(e),height:par
seFloat(i)},this.adHeight=i,this.trigger("AdLoaded"),this.trigger("AdLoadedVideoDat
a")}.bind(this)),this._addDOMEventListener(u,"error",function(t)
{s.trigger("AdError",t+"",nr.a.GENERAL_VPAID_ERROR)}),a.slot.appendChild(u),u.src=d
.src,this._addVPAIDEventListener(this,"error",function(t)
{s.trigger("AdError",t+"",nr.a.GENERAL_VPAID_ERROR)},"error")}return
Promise.resolve(this)},i.getModuleOptions=function(){return
Promise.resolve({destroyControls:["spinner","volume","play"],controlsActions:
[{name:"container",action:function(t){t&&Object(cr.b)(t,
{backgroundColor:"transparent"})}},{name:"vpaidSlot",action:function(t)
{t&&Object(cr.b)(t,{textAlign:"center"})}}]})},i.resizeAd=function(e,i,n){var
r=this.image,o=this.environmentVars,a=this.originalSize,s=(o||
{}).slot;if(r&&r.width&&o&&o.slot){var d=r.width,l=(a||{}).width;if(d>e||
d<=e&&l>=d){var c=Zn(e,a.width);c!==d&&(r.width=c)}var
u=r.width,h=r.height;this.trigger("slotSizeChanged",{shouldNotResize:!
0,height:h,width:u}),t.prototype.resizeAd.call(this,u,h,n),Object(dr.c)(null,
{width:u,height:h},s,{width:e,height:h}),this.trigger("slotSizeChanged",
{shouldNotResize:!0,width:null})}},i.startAd=function(){or.b.log(Us+"

startAd()",2,"blue"),this._countdown.start(),this.trigger("AdDurationChange"),t.pro
totype.startAd.call(this),this.trigger("AdImpression"),this.trigger("AdVideoStart")
},i.stopAd=function(){return
this._countdown.stop(),t.prototype.stopAd.call(this)},i.pauseAd=function(){return
this._countdown.stop(),t.prototype.pauseAd.call(this)},i.resumeAd=function(){return
this._countdown.start(),t.prototype.resumeAd.call(this)},i.skipAd=function(){return
t.prototype.skipAd.call(this)},i.getAdAspectRatio=function(){var
t=this.adWidth,e=this.adHeight,i=this.image||
this.options.media,n=i.width,r=i.height;return n&&r?r/n:t&&e?
e/t:9/16},i.getAdRemainingTime=function(){return
this._countdown.getAdRemainingTime()},i._destroy=function()
{this._countdown._destroy(),t.prototype._destroy.call(this)},e.create=function(t,i)
{return new Promise(function(n){var
r=t.MediaFiles,o=t.rawDuration,a=t.duration,s=i.format&&i.format._getModuleDimensio
ns&&i.format._getModuleDimensions().viewportWidth||0,d=(r["image/png"]||
[]).concat(r["image/jpg"]||[]).concat(r["image/gif"]||[]),l=d&&d.filter(function(t)
{return t.src}).reduce(function(t,e){return Yn(t.width-s)<Yn(e.width-s)?t:e},
{});if(Object(dr.q)(l))throw new
Error;or.b.log(Us+".create("+l.src+")"),i.setSelectedCreative(l.src,o),n(new
e({module:i,media:l,duration:a}))})},e}
(ir.a),Gs="::VpaidVideo",Xs={startTime:0},Ys=function(t){function e(e){var i;void
0===e&&(e={});var n=e&&(e.logger||e.module&&e.module.logger||
e.moduleAPI&&e.moduleAPI.logger)||or.b;i=t.call(this,function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
si(Object(e),!0).forEach(function(i)
{di(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):si(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},Xs,
{},e,{ancestor:Gs,logger:n}))||this;var
r=e,o=r.mp4media,a=r.mp4media,s=a.width,d=a.height;i.adWidth=s,i.adHeight=d,i.media
=o,i.startedVideotWithoutSound=null,i.startVideoWithSoundFailed=null,i.setAdVolumeC
ounter=0;var l=new dr.a;return
i.playerSuccessfullyStartedPromise=l.promise,i.playerSuccessfullyStartedResolve=l.r
esolve,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.initAd=function(e,i,n,r,o,a){var s=this;void
0===o&&(o={}),void 0===a&&(a={}),t.prototype.initAd.call(this,e,i,n,r,o,a);var
d,l=a.videoSlotCanAutoPlay||
o.videoSlotCanAutoPlay;this.videoSlotCanAutoPlay=l,"true"===l||"1"===l?
this.videoSlotCanAutoPlay=!0:
("false"===l||"false"===l)&&(this.videoSlotCanAutoPlay=!
1),d=this.videoSlot=a.videoSlot,this.slot=a.slot;var c=function(t,n){void
0===t&&(t=s.videoSlot),void 0===n&&(n=!1);var r=(s.options.moduleAPI||
{}).saveVideoSlotParams;r&&r(t),Object(cr.b)(t,
{width:e+"px",height:i+"px"}),t.src=s.options.mp4media.src,Object(cr.b)(t,
{display:n?"hidden":""}),t.load()};return new Promise(function(e,i){Object(cr.o)
(a.videoSlot,"video")&&(d=a.videoSlot),d=s._createVideoSlot(d),c(d,!0);var
n=Object(cr.p)(d);if(n){var r=s._addDOMEventListener(d,"error",function(t){var
e=ui(t),n=e.code,r=e.message,o=Error(r);o.code=n,i(o)}),o=function(){return
n.then(function(){d.pause(),s.startedVideotWithoutSound=d.muted;var
i=s.getAdVolume();t.prototype.setAdVolume.call(s,i,{forceTrigger:!
0}),r&&s._removeDOMEventListener(d,"error",r),r=null,s._addDOMEventListener(d,"erro
r",function(t){var
e=ui(t),i=e.code,n=e.message;this.trigger("AdError",n,i)}.bind(s)),s.playerSuccessf
ullyStartedResolve(d),e(s)})};o().catch(function(t)
{s.startedVideotWithoutSound=null,s.startVideoWithSoundFailed=!0;var e=Gs+"
initAd("+s+") failed video autoplay with videoSlot.muted="+d.muted+"
videoSlot.volume="+d.volume;!d.muted||d.volume?
(s.adVolume=0,s.videoSlotCanAutoPlay=!1,d.muted=!0,d.volume=0,n=Object(cr.p)
(d),o().then(function(){s.startedVideotWithoutSound=!0}).catch(function(t)
{i(Object(dr.e)(t,Gs+" initAd("+s+") failed video autoplay
err="+t,nr.a.FAIL_MEDIA_START))})):i(Object(dr.e)
(t,e,nr.a.FAIL_MEDIA_DISPLAY))})}else if(void 0!==n)i();else if(d.paused){var
l=Error("failed video autoplay");l.code=nr.a.FAIL_MEDIA_START,i(l)}else
e(s)})},i._createVideoSlot=function(t){if(void 0===t&&(t=null),!this.options)return
null;var e=this.slot,i=this.options,n=i.module,r=i.startTime;if(!t){var o=new
ls(n);(t=o&&o.getControlNode()).muted=!1===this.videoSlotCanAutoPlay||!
this.adVolume,t.currentTime=r,t.volume=t.muted?0:this.adVolume,t.playsInline=!
0,Object(cr.b)(t,{width:"100%",display:"none"})}return
this._addDOMEventListener(t,"loadedmetadata",function(t){var
e=t.target,i=e.videoWidth,n=e.videoHeight,r=e.duration;this.adWidth&&this.adHeight|
|
(this.adWidth=i,this.adHeight=n),this.adDuration=r,this.trigger("AdLoaded")}.bind(t
his)),this._addDOMEventListener(t,"loadeddata",function(t){var
e=t.target;this.hasAudio=Object(dr.o)
(e),this.trigger("AdLoadedVideoData")}.bind(this)),this._addDOMEventListener(t,"dur
ationchange",function(t){var e=t.target.duration;isNaN(e)||
(this.adDuration=e,this.trigger("AdDurationChange"))}.bind(this)),this._addDOMEvent
Listener(t,"play",ci.bind(this)),this._addDOMEventListener(t,"volumechange",functio
n(t){var
e=t.target;this.adVolume=e.volume,this.trigger("AdVolumeChange")}.bind(this)),this.
_addDOMEventListener(e||t,"click",function(t)
{t.preventDefault(),this.trigger("AdClickThru","",0,!
0)}.bind(this)),this.videoSlot=t,t},i.resizeAd=function(e,i,n){var
r=this.videoSlot,o=this.useExistsVideoSlot,a=this.options.moduleAPI;if(o){var
s=(a||{}).saveVideoSlotParams;s&&s(r),Object(cr.b)(r,
{width:e+"px",height:i+"px"})}else{var
d,l=this.videoSlot,c=this.environmentVars,u=this.options.mp4media,h=u.scalable,p=c|
|{},f=p.forceAspectRatio,g=p.slot,v=this.getAdAspectRatio(),b=f||
u.maintainAspectRatio;if(v&&h&&g){var m,y=u.width>u.height,O=e>i;if(null===b){var
A=u.width/u.height,w=e/i;b=100-100*(w<A?w/A:A/w)>10}!
0===b&&(m=e/i<u.width/u.height),!1===b&&(m=e/i>u.width/u.height),y!=O&&(m=!0),O&&!
y&&(m=!1),d=m?{width:e,height:e*v}:{height:i,width:i/v}}else
d={width:u.width,height:u.height};Object(dr.c)(l,d)}return
t.prototype.resizeAd.call(this,e,i,n)},i.activateMuteChangingEnable=function(){var
t=this.videoSlot;t&&(t.wasClicked=!0)},i.startAd=function(){var
e=this;this.playerSuccessfullyStartedPromise.then(function(){var
i=e.videoSlot,n=(e.options||{}).startTime;(4===i.readyState?hi.call(e,i):new
Promise(function(t){i.addEventListener("canplaythrough",function n()
{i.removeEventListener("canplaythrough",n),t(hi.call(e,i))})})).then(function()
{i.currentTime=n,Object(cr.b)(i,
{display:""}),e._addDOMEventListener(i,"timeupdate",ci.bind(e)),t.prototype.startAd
.call(e)})})},i.stopAd=function(){return
li.call(this),t.prototype.stopAd.call(this)},i.pauseAd=function(){return
li.call(this),t.prototype.pauseAd.call(this)},i.resumeAd=function(){var
e=this.videoSlot;return e&&Object(cr.p)
(e),t.prototype.resumeAd.call(this)},i.expandAd=function()
{this.trigger("AdError","Not
supported",nr.a.GENERAL_VPAID_ERROR)},i.collapseAd=function()
{this.trigger("AdError","Not
supported",nr.a.GENERAL_VPAID_ERROR)},i.skipAd=function(){return
li.call(this),t.prototype.skipAd.call(this)},i.setAdVolume=function(e,i){var
n=this.videoSlot;return n&&(n.volume=e,n.muted&&e?n.paused||0!==n.currentTime?!
1===this.startedVideotWithoutSound?n.muted=!1:(n.paused||
0<n.currentTime)&&(n.muted=!1):n.muted=!1:!n.muted&&!e&&(n.muted=!
0)),t.prototype.setAdVolume.call(this,e,i)},i.getAdVolume=function(){var
e=this.videoSlot;return e&&(this.adVolume=ur.g||ur.i?e.muted?
0:1:e.volume),t.prototype.getAdVolume.call(this)},i.getAdRemainingTime=function()
{var t=this.videoSlot;return t?t.duration-
t.currentTime:0},i.getAdAspectRatio=function(){var
t=this.adWidth,e=this.adHeight,i=this.options,n=i&&i.mp4media||
{},r=n.width,o=n.height;return r&&o?o/r:t&&e?e/t:9/16},i._destroy=function(){var
e=this._createdVideoSlot;e&&Object(cr.o)(e)&&Object(cr.s)
(e),t.prototype._destroy.call(this)},e.create=function(t,i){var
n=i&&i.getAPI&&i.getAPI()||{},r=n.logger||
or.b,o=n.getControlUnionData,a=o&&o("vnCache")||{strict:!1};return new
Promise(function(n,o){if(ur.b||ur.a&&!a.strict){var
s=i.format&&i.format._getModuleDimensions&&i.format._getModuleDimensions().viewport
Width||0,d=t.duration,l=[].concat(t.MediaFiles["video/mp4"]).filter(function(t)
{return t});if(ur.g||ur.i||
(l=l.concat(t.MediaFiles["video/webm"]).filter(function(t){return t})),!l||!
l.length)return void o();(function(t,e,i,n){if(!ur.c||e===1/0||ur.c&&85>ur.d)return
Promise.resolve(t);var r=t.map(function(t){return new Promise(function(r){var
o=t.bitrate,a=t.src;if(a&&i&&i(a))r(null);else if(o&&e){var
s=e*parseInt(o,10)/8;r(s<Qs?t:null)}else a?(n&&n.trace(Gs+" filterByWeights()
request size of file "+a),Object(po.f)(a,
{timeout:300,method:"HEAD",withCredentials:!1}).then(function(e){var i=(e||
{}).currentTarget;400<=(i||{}).status&&r(t);var
o=i&&i.getResponseHeader&&parseFloat(i.getResponseHeader("content-length")||
0)/1e3;n&&n.log(Gs+" filterByWeights() got size("+o+" KBytes) of file "+a),r(o<Qs?
t:null)}).catch(function(){r(t)})):r(null)})});return
Promise.all(r).then(function(t){return t.filter(function(t){return t})})})
(l,d,i.isMediaUrlBlocked.bind(i),r).then(function(a){var
d=a&&a.length&&a.reduce(function(t,e){return Yn(t.width-s)<=Yn(e.width-s)?
t:e});if(d){r.log(Gs+".create() Creative for playing: "+d.src,1,"color:green; font-
weight:bold;");var l=d.width;l&&s&&!1===d.scalable&&.1<Yn(s-l)/s&&(d.scalable=!
0);var c=t.rawDuration;i.setSelectedCreative(d.src,c);var u=new
e({module:i,mp4media:d,moduleAPI:i.getAPI()});n(u)}else o()})}else o()})},e}
(ir.a),Qs=4e3,Js=[Bs,Ys,fs,qs],Zs=function(){function t(t,e,i,n){var r=this;void
0===n&&(n=!1),this._canGetBackToCanvasVpaid=!
1,this.dataXml=t,this.module=i,this.logger=i&&i.getAPI&&i.getAPI().logger||or.b;var
o=function(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?pi(Object(e),!0).forEach(function(i)
{fi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyD
escriptors(e)):pi(Object(e)).forEach(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},t,
{},{adParameters:e}),a=o.isEmpty;if(this.isEmpty=a,a){var s=Error("No Ads VAST
response after one or more Wrappers.");s.isEmpty=!
0,s.code=nr.a.NO_ADS_RESPONSE,this.instance=Promise.reject(s)}else{if(n)return
void(this.instance=Bs.create(o,i,!0));this.instance=Js.reduce(function(t,e){return
t.catch(function(){var t=e.create(o,i);return t&&e!
==Bs&&(r._canGetBackToCanvasVpaid=!0),t})},Promise.reject())}}var
e=t.prototype;return e.getVpaidPromise=function(){var t=this;return this.isEmpty?
this.instance:new Promise(function(e,i){var
n=(t.module.getControlUnionData("vnBrowserCache")||
{}).enabled;t.instance.then(function(t){n&&t&&t instanceof fs&&i()||
e(t)}).catch(function(e){e&&e.message&&t.logger.warn("::VpaidCreator
getVpaidPromise() error: "+e.message);var n=new Error("Could not find supported
MediaFile.");n.code=nr.a.MEDIA_FILE_NOT_FOUND,i(n)})})},e.canBackToReserveVpaid=fun
ction(){return this._canGetBackToCanvasVpaid},t}
(),Ks=["video/mp4","video/webm","video/mpeg","audio/mp3","application/x-shockwave-
flash","application/javascript","application/x-
javascript","external/javascript","image/png","image/jpg","image/gif","text/html"],
$s="vnTrackingParams",td="vnShowViqeo",ed="vnHeavyAdIntervention",id="spinner",nd=5
,rd=function(t){function e(e){var i;(i=t.call(this,id,e)||
this).videoProgressId=null,i.oldCurrentTime=null,i.attemptsCounter=0,i.attemptLimit
=e.getControlUnionData(id,"attemptLimit")||nd;var
n=e.getControlNode("wrapper"),r=i.node=Object(cr.e)(n,50);return Object(cr.b)(r,
{zIndex:3,display:"none",width:"50px",height:"50px"}),e.setControlData(id,
{node:r}),i._addVPAIDEventListener(e,"AdVideoStart",Ii.bind(Ei(i),e)),i._addVPAIDEv
entListener(e,"AdPlaying",Ii.bind(Ei(i),e)),i._addVPAIDEventListener(e,"AdPaused",T
i.bind(Ei(i),e)),i._addVPAIDEventListener(e,"AdStopped",Ti.bind(Ei(i),e)),i._addVPA
IDEventListener(e,"AdVideoComplete",Ti.bind(Ei(i),e)),i._addVPAIDEventListener(e,"A
dSkipped",Ti.bind(Ei(i),e)),i._addVPAIDEventListener(e,"AdDestroyed",Ti.bind(Ei(i),
e)),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return id},e}(ss.a),od="title",ad=function(t){function
e(e){var i=t.call(this,od,e)||
this,n=e.getControlNode("wrapper"),r=Math.random().toString(36).substr(2,10),o=Yo.c
.call(e,"vnCreative:debug")||{},a=o.urls,s=o.uniqueId,d=(a||[])
[0],l=d&&d.split&&d.split("?")
[0],c=e.getControlUnionData(od,"css"),u=e.getControlUnionData(od,"text"),h=i.node=O
bject(cr.a)(n,"div",function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?xi(Object(e),!0).forEach(function(i)
{Ni(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):xi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:3,top:0,left:0,padding:"5px",cursor:"default",color:"w
hite",lineHeight:1},c,{display:"inline-block"}),u||
to(ki()),l&&po.b.bind(function(t){if(void 0===t)throw new ReferenceError("this
hasn't been initialised - super() hasn't been called");return t}
(i),l+"/"+r));return d&&i._addDOMEventListener(h,"click",function()
{Yo.e.call(e,r,d,s)}),e.setControlData(od,{node:h}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return od},e}(ss.a),sd="wrapper",dd=function(t){function
e(e){var i,n=t.call(this,sd,e)||
this,r=e.getControlNode("iframe"),o=e.getControlUnionData(sd,"css")||
{},a=e.getControlNode(sd);a||(a=n.node=Object(cr.a)((null===r||void 0===r||
null===(i=r.contentDocument)||void 0===i?void 0:i.body)||r,"div",function(t)
{for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
Mi(Object(e),!0).forEach(function(i)
{Vi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"relative",margin:"auto",width:"100%",height:"100%",boxSizing:"border-
box",zIndex:0,color:"white",lineHeight:1.5,userSelect:"none",fontFamily:"Arial,
Helvetica, sans-serif",fontSize:"14px"},o)),e.setControlData(sd,
{node:a}),setTimeout(function(){return e.trigger("slotSizeChanged")}));return
a.classList&&a.classList.add("__vnm_"+e.mainModuleId+"_"),n}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.showMarginTop=function(){var
t=this.node,e=this.module,i=(t&&getComputedStyle(t)||
{}).paddingTop;parseFloat(i)<25&&(Object(cr.b)(t,{paddingTop:Object(dr.s)
(25)}),setTimeout(function(){return
e.trigger("slotSizeChanged")},1))},i.hideTopSpace=function(){var
t=this.node,e=this.module,i=(t&&getComputedStyle(t)||
{}).paddingTop;25===parseFloat(i)&&(Object(cr.b)(t,
{paddingTop:0}),setTimeout(function(){return
e.trigger("slotSizeChanged")},1))},e.refreshControlData=function(t,e)
{t.setControlData(sd,{node:e})},e}(ss.a),ld="container",cd=function(t){function
e(e){var i=t.call(this,ld,e)||
this,n=e.getControlNode("wrapper"),r=i.node=Object(cr.a)(n,"div",function(t)
{for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
Ri(Object(e),!0).forEach(function(i)
{Li(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ri(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"relative",width:"100%",height:"100%",textAlign:"center",background:"bla
ck",overflow:"hidden",zIndex:1},e.getControlUnionData(ld,"css"),
{},e.getControlUnionData("background","css"),
{},e.getControlUnionData("containerBackground","css")));return e.setControlData(ld,
{node:r}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e}(ss.a),ud="containerShadow",hd=function(t){function e(e){var
i=t.call(this,ud,e)||this,n=e.getControlNode("container"),r=i.node=Object(cr.a)
(n,"div",function(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?Fi(Object(e),!0).forEach(function(i)
{Wi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Fi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",top:0,bottom:0,left:0,right:0,backgroundColor:"#8d8b8b",opaci
ty:0,zIndex:-1},e.getControlUnionData(ud,"css")));return e.setControlData(ud,
{node:r}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e}(ss.a),pd="containerIframe",fd=function(t){function e(e){var
i=t.call(this,pd,e)||this,n=new
dr.a;i.createdPromise=n.promise,i.createdResolve=n.resolve;var
r=e.getControlNode("container");return i.loaded=!1,Ae(r,{shouldCreateIframe:!
1,logger:i.logger}).then(function(t){(function(t){var i,n;this.loaded=!0;var
r=(null===t||void 0===t||null===(i=t.contentWindow)||void 0===i||
null===(n=i.document)||void 0===n?void 0:n.body)||t;Object(cr.b)(r,
{minHeight:"100%",padding:0,margin:0,textAlign:"center",overflow:"hidden",fontFamil
y:"Arial, Helvetica, sans-serif",fontSize:"14px"}),Object(cr.a)(r,"div",
{display:"inline-block",height:"100%",verticalAlign:"middle"}),this.node=t;var
o={node:t},a=(e&&e.options||
{}).iframeRemoveDelay;t&&"IFRAME"===t.tagName&&a&&(o.removeDelay=a),e.setControlDat
a(pd,o),this.createdResolve(t)}).call(function(t){if(void 0===t)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
t}(i),t)}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.prototype.isReady=function(){return this.createdPromise},e}
(ss.a),gd="vpaidSlot",vd=function(t){function e(e){var i=t.call(this,gd,e)||
this,n=e.getControlNode("containerIframe"),r=n&&n.contentWindow&&n.contentWindow.do
cument&&n.contentWindow.document.body||n,o={outline:"1px #ff0
dotted"},a=Object(kr.b)("show.containers"),s=Object(kr.b)
("show.containers.vpaid_slot"),d=s&&Bi(s,o)||a&&Bi(a,o)||{},l=function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
Hi(Object(e),!0).forEach(function(i)
{zi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Hi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",top:0,left:0,width:"100%",height:"100%",textAlign:"justify",z
Index:2},e.getControlUnionData(gd,"css"),{},d),c=i.node=Object(cr.a)
(r,"div",l);return e.setControlData(gd,{node:c}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.refreshControlData=function(t,e){t.setControlData(gd,{node:e})},e}
(ss.a),bd=function(t){function e(e){var i;return void 0===e&&(e={}),
(i=t.call(this,e)||this).moduleAPI=e.moduleAPI,i.starting=!
1,i.adRemainingTimeChecker=e.adRemainingTimeChecker,i.getTimeBeforeSkip=e.getTimeBe
foreSkip,i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.start=function(t){var e=this;if(void
0===t&&(t=7),!this.starting){this.starting=!0;var
i=this.moduleAPI,n=this.getTimeBeforeSkip,r=i||
{},o=r.getAdDuration,a=r.addVPAIDEventListener,s=r.removeVPAIDEventListener,d=o&&o(
);n&&n();if(d)this.waitAdRemainingTimeAndCallInvokeRemainingTimeChecker(0);else{var
l="manualCheck",c=a("AdDurationChange",function()
{s("AdDurationChange",c),e._removeTimeout(l),setTimeout(e.waitAdRemainingTimeAndCal
lInvokeRemainingTimeChecker.bind(e,0),1)},this);0<--
t&&this._addTimeout(l,function(){e.starting=!
1,e.start.call(e,t)},500)}}},i.waitAdRemainingTimeAndCallInvokeRemainingTimeChecker
=function(t){if(void
0===t&&(t=0),!(10<t)){var e=this.moduleAPI||
{},i=e.getAdRemainingTime,n=e.getAdDuration,r=n&&n();return i&&i()&&r?void
this.invokeRemainingTimeChecker():void
setTimeout(this.waitAdRemainingTimeAndCallInvokeRemainingTimeChecker.bind(this,t+1)
,150)}},i.invokeRemainingTimeChecker=function(){var
t=this;this._addTimeout("RemainingTimeChange",function()
{t.adRemainingTimeChecker.call(t)&&t.invokeRemainingTimeChecker()},500)},e}
(rr.a),md="skipAdCountdown",yd="Module::Control["+md+"]:ReservedSkipAd",Od=10,Ad=fu
nction(t){function e(e){var i;(i=t.call(this,md,e)||this).moduleAPI=e.getAPI(),void
0===i.invisible&&(i.invisible=!1);var
n=Ji(i),r=n.invisible,o=n.moduleAPI,a=o.setControlData,s=o.getControlUnionData,d=o.
getControlNode,l=o.addVPAIDEventListener,c=i.timeBeforeSkip=s(md,"timeBeforeSkip"),
u=s(md,"totalTimeCountdown");if(i.totalTimeCountdown="show"===u||Object(dr.t)(u),!
c&&!i.totalTimeCountdown)return Ji(i);if(i.isSmallSizeModule=ur.h,i.starting=!1,!r)
{var h=d("wrapper"),p=s(md,"css"),f=i.node=Object(cr.a)(h,"div",function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
Yi(Object(e),!0).forEach(function(i)
{Qi(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yi(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:1,top:"10px",right:Object(dr.s)(Od),padding:"5px
10px",lineHeight:"15px",color:"white",backgroundColor:"rgba(0, 0, 0,
0.289)",borderRadius:"3px",cursor:"default",pointerEvents:"none"},p,
{display:"none"}));a(md,{node:f})}var g=Ji(i),v=g.logger,b=g.moduleAPI,m=b||
{},y=m.getAdDuration,O=m.getAdRemainingTime;i.timeBeforeSkipChecker=new
yo({getTimeBeforeSkip:function(){return c},shouldSetAdSkippableState:!
1,moduleAPI:b,logger:v}),i._addDestroyableObject(i.timeBeforeSkipChecker);var
A=i.remainTimeChecker=new bd({getTimeBeforeSkip:function(){return
c},moduleAPI:b,logger:v,adRemainingTimeChecker:Zi.bind(Ji(i))});return
i._addDestroyableObject(A),l("AdStarted",function(){return
A.start()},Ji(i)),l("AdVideoStart",function(){return
A.start()},Ji(i)),l("AdVideoComplete",function()
{Ki.call(this)}.bind(Ji(i)),Ji(i)),l("AdSkippableStateChange",function()
{y&&O&&y()&&O()&&setTimeout(Zi.bind(Ji(i)),1)},Ji(i)),l("vnFormatStateChanged",func
tion(t){y&&O&&y()&&O()&&(i.isSmallSizeModule=ur.h||t&&!
0===t.isFloating,setTimeout(Zi.bind(Ji(i)),1))},Ji(i)),l("AdSkipAdPositionChanged",
function(t){var e=t.offsetWidth;if(!i.invisible){var n=d(md);Object(cr.b)(n,
{right:Object(dr.s)(e||Od)})}}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return md},e}
(ss.a),wd=i(31),_d=i.n(wd),Pd="skipAd",Sd=function(t){function e(e){var i;
(i=t.call(this,Pd,e)||this).moduleAPI=e.getAPI();var
n=en(i),r=n.invisible,o=n.logger,a=n.moduleAPI,s=a||
{},d=s.setControlData,l=s.getControlUnionData,c=s.getControlNode,u=s.addVPAIDEventL
istener,h=i.timeBeforeSkip=l(Pd,"timeBeforeSkip");if(!r&&h<1/0){var
p=c("wrapper"),f=l(Pd,"css")||{},g=i.node=Object(cr.a)(p,"div",function(t){for(var
e,i=1;i<arguments.length;i++)e=null==arguments[i]?{}:arguments[i],i%2?
$i(Object(e),!0).forEach(function(i)
{tn(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):
$i(Object(e)).forEach(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:5,top:0,right:0,padding:"10px",cursor:"pointer",opacit
y:1},f,{display:"none"}),_d.a,function(){e.skipAd()});if(!
ur.h)l(Pd,"hover")&&(Object(cr.b)(g,
{opacity:0}),i._addDOMEventListener(p,"mouseenter",function(){return Object(cr.b)
(g,{opacity:1})}),i._addDOMEventListener(p,"mouseleave",function(){return
Object(cr.b)(g,{opacity:0})}));d(Pd,{node:g})}return
u("AdSkippableStateChange",nn.bind(en(i))),i.timeBeforeSkipChecker=new
yo({getTimeBeforeSkip:function(){return
h},moduleAPI:a,logger:o}),i._addDestroyableObject(i.timeBeforeSkipChecker),nn.call(
en(i)),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return Pd},e}
(ss.a),jd=i(32),Ed=i(35),Cd=i.n(Ed),Dd=i(36),Id=i.n(Dd),Td="volume",kd=function(t)
{return t?Cd.a:Id.a},xd=function(t){function e(e){var i=t.call(this,Td,e)||
this,n=e.options,r=n.disableHoverAudio,o=n.disableSmoothVolumeChange,a=e.getAdVolum
e(),s=e.getControlNode("wrapper"),d=function(t){if(!0!==t.handled)
{t.preventDefault(),t.stopPropagation(),t.handled=!0;var
i=e.getAdVolume();e.setAdVolume(i?0:1,{smoothUpdate:!0})}},l=i.node=Object(cr.a)
(s,"div",on({position:"absolute",zIndex:1,bottom:0,right:0,width:"40px",height:"40p
x",padding:"10px",cursor:"pointer",stroke:"white",display:"none",boxSizing:"content
-
box"},e.getControlUnionData(Td,"css")),kd(a),d);i._addDOMEventListener(l,"touchend"
,d),i._updateVolumeTimeoutId=null;var c=sn(i);return e.setControlData(Td,
{node:l}),i._addVPAIDEventListener(e,"AdExpandedChange",function(){var
t=this.getAdExpanded(),e=this.getAdVolume();this.setAdVolume(+t?e:0,
{step:1})}.bind(e)),i._addVPAIDEventListener(e,"AdVolumeChange",function()
{dn.call(this)}.bind(e)),i._addVPAIDEventListener(e,"AdVideoComplete",function()
{this.cancelVolumeUpdate()}.bind(sn(i))),i._addVPAIDEventListener(e,"AdDestroyed",f
unction()
{this.cancelVolumeUpdate()}.bind(sn(i))),i._addVPAIDEventListener(e,"AdAudioDisable
d",function(){var t=this.getControlNode(Td);Object(cr.b)
(t,cr.m)}.bind(e)),i._addVPAIDEventListener(e,"AdAudioEnabled",function(){var
t=this.getControlNode(Td);Object(cr.b)(t,
{display:"block",visibility:"visible"})}.bind(e)),i._addVPAIDEventListener(e,"AdLoa
dedVideoData",ln.bind(e)),i._addVPAIDEventListener(e,"AdVideoStart",ln.bind(e)),i.o
riginalSetAdVolume=i._patchMethod(e,"setAdVolume",function(t,e){void
0===e&&(e={});var i=on({},{step:.05,invoker:null,smoothUpdate:null},
{},e),n=i.step,r=i.invoker,a=i.smoothUpdate,s=this.getAdVolume(),d=!r||
r===c;if((this.useExistsVideoSlot||d||this.canChangeVolume()||!(0<t)&&!
(0<s))&&(dn.call(this),s!==t)){if(o||d&&!a)return c.cancelVolumeUpdate(),void
c.originalSetAdVolume(t,{invoker:this});(function t(e,i,n)
{or.b.none("Module::Control["+Td+"].updateVolume("+e.toFixed(2)+",
"+i.toFixed(2)+", "+n+")"),c.cancelVolumeUpdate();var r=Object(dr.d)(e+n,0,1);
(0>n&&r<i||0<n&&r>i)&&(r=i),c.originalSetAdVolume(r,{invoker:this}),r===i?
dn.call(this):this._updateVolumeTimeoutId=setTimeout(t.bind(this,r,i,n),16)}).call(
this,s,t,n*(s>t?-1:1))}}),ur.h||r||ur.i||function(t){var e=this;if(!
this.mouseEventsAlreadySet){var
i=t.getControlNode("container");this._addDOMEventListener(i,"mouseenter",function()
{t.setAdVolume(1,{invoker:e})}),this._addDOMEventListener(i,"mouseleave",function()
{t.setAdVolume(0,{invoker:e})}),this.mouseEventsAlreadySet=!
0}}.call(sn(i),e),e.setAdVolume(a,
{step:1,invoker:sn(i)}),i.canChangeVolume=e.canChangeVolume.bind(e),i}!
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.cancelVolumeUpdate=function()
{clearTimeout(this._updateVolumeTimeoutId),this._updateVolumeTimeoutId=null},i.upda
teInProgress=function(){return null!
=this._updateVolumeTimeoutId},e.getName=function(){return Td},e}
(ss.a),Nd=i(37),Md=i.n(Nd),Vd="play",Rd=function(t){function e(e){var
i=t.call(this,Vd,e)||this,n=function(t){!0===t.handled||
(t.stopPropagation(),t.preventDefault(),t.handled=!
0,e.resumeAd())},r=i.node=Object(cr.a)
(e.getControlNode("wrapper"),"div",function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?cn(Object(e),!0).forEach(function(i)
{un(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):cn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:3,top:0,right:0,bottom:0,left:0,width:"inherit",backgr
ound:"rgba(0, 0, 0, .7)",cursor:"pointer"},e.getControlUnionData(Vd,"css"),
{display:"none"}),Md.a,n);return
i._addDOMEventListener(r,"touchend",n),Object(cr.b)(r.firstChild,
{position:"absolute",top:"50%",left:"50%",margin:"-32px 0 0
-32px"}),e.setControlData(Vd,
{node:r}),i._addVPAIDEventListener(e,"AdPaused",function(){var
t=this.getControlNode(Vd);Object(cr.b)(t,{display:""})}.bind(e)),
["AdVideoStart","AdStarted","AdResumed","AdPlaying"].forEach(function(t)
{i._addVPAIDEventListener(e,t,function(){var t=this.getControlNode(Vd);Object(cr.b)
(t,{display:"none"})}.bind(e))}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return Vd},e}
(ss.a),Ld="progress",Fd="progressBar",Wd=function(t){function e(e){var
i=t.call(this,Ld,e)||this,n=e.getControlNode("wrapper"),r=i.node=Object(cr.a)
(n,"div",pn({position:"absolute",zIndex:2,bottom:0,left:0,width:"100%",height:"2px"
,background:"rgba(0, 0, 0, .5)"},e.getControlUnionData(Ld,"css"))),o=Object(cr.a)
(r,"div",pn({position:"absolute",width:"0%",height:"2px",background:"#aab445"},e.ge
tControlUnionData(Fd,"css")));return e.setControlData(Ld,
{node:r}),e.setControlData(Fd,
{node:o}),i._addVPAIDEventListener(e,"AdVideoStart",function(){var
t=this.getControlNode(Fd);t&&Object(cr.b)(t,
{width:"0%"})}.bind(e)),i._addVPAIDEventListener(e,"AdVideoComplete",function(){var
t=this.getControlNode(Fd);t&&Object(cr.b)(t,
{width:"100%"})}.bind(e)),i._addVPAIDEventListener(e,"AdRemainingTimeChange",functi
on(){var t=this.getControlNode(Fd);if(t){var
e=this.getAdDuration(),i=this.getAdRemainingTime();Object(cr.b)(t,{width:100*(1-
i/e)+"%"})}}.bind(e)),i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.hide=function(){var
t=this.node;t&&(this.isHidden=!0,Object(cr.b)(t,
{display:"none"}))},i.restore=function(){var
t=this.node,e=this.isHidden;t&&e&&(this.isHidden=!1,Object(cr.b)(t,
{display:""}))},e.getName=function(){return
Ld},e}(ss.a),Hd="advLogo",zd=10,Bd=10,Ud=.3,qd=function(t){function e(e){var
i=t.call(this,Hd,e,!0)||
this,n=e.getControlNode("wrapper"),r=e.getControlUnionData(Hd,"css")||
{};r.width&&r.height||(r.width="160px",r.height="40px");var
o=parseInt(r.width,10),a=parseInt(r.height,10),s=i.node=Object(cr.a)
(n,"div",function(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?gn(Object(e),!0).forEach(function(i)
{vn(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):gn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:4,left:0,marginTop:"10px",backgroundRepeat:"no-
repeat",cursor:"pointer",visibility:"hidden"},r));ur.h||
(i._addDOMEventListener(s,"mouseenter",function(){return Object(cr.b)(s,
{opacity:.8})}),i._addDOMEventListener(s,"mouseleave",function(){return
Object(cr.b)(s,{opacity:1})}));var
d=e.getControlUnionData(Hd,"url");i._addDOMEventListener(s,"click",function()
{e.vpaid?e.vpaid.trigger("AdClickThru",d||null,null,!
0):po.b.call(e,d)}),e.setControlData(Hd,{node:s});var
l=getComputedStyle(n).marginBottom,c=Jn(s.offsetHeight+zd,parseInt(l,10));return
Object(cr.b)(n,
{marginBottom:c+"px"}),i._addVPAIDEventListener(e,"AdSizeChange",bn.bind(e,o,a)),i.
_addVPAIDEventListener(e,"AdStarted",function(){var
t=this.getControlNode(Hd);Object(cr.b)(t,{visibility:"visible"})}.bind(e)),i}return
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return Hd},e}
(ss.a),Gd="callButton",Xd="#f8f8f8",Yd=.5,Qd=10,Jd=33,Zd=.3,Kd=.1,$d=10,tl=640,el=9
,il=10,nl=5,rl=function(t){function e(e){var i=t.call(this,Gd,e,!0)||
this,n=e.getControlNode("wrapper"),r=e.getControlUnionData(Gd,"css")||
{},o=i.node=Object(cr.a)(n,"div",function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?mn(Object(e),!0).forEach(function(i)
{yn(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):mn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:4,right:0,top:"100%",height:Jd+"px",padding:nl+"px",ma
rginTop:Qd+"px",backgroundColor:Xd,border:"1px solid rgba(0, 0, 0,
"+Yd+")",borderRadius:"3px",cursor:"pointer",visibility:"hidden",alignItems:"center
",justifyContent:"center"},r,
{display:"flex"}),ya.a),a=o.querySelector("svg");if(a&&Object(cr.b)(a,
{height:"100%"}),Object(cr.a)(o,"span",{padding:il+"px "+il+"px "+il+"px
0",color:"#000",lineHeight:"15px",textAlign:"center"},e.getControlUnionData(Gd,"tex
t")||"Подробнее на сайте"),e.setControlData(Gd,{node:o}),!ur.h){var
s=e.getControlUnionData(Gd,"hoverBackgroundColor");i._addDOMEventListener(o,"mousee
nter",function(){return Object(cr.b)(o,{backgroundColor:s||"#dedede",border:"1px
solid rgba(0, 0, 0, 0.75)"})}),i._addDOMEventListener(o,"mouseleave",function()
{return Object(cr.b)(o,{backgroundColor:r.backgroundColor||Xd,border:"1px solid
rgba(0, 0, 0, "+Yd+")"})})}var
d=e.getControlUnionData(Gd,"url");i._addDOMEventListener(o,"click",function()
{e.vpaid?e.vpaid.trigger("AdClickThru",d||null,null,!0):po.b.call(e,d)});var
l=getComputedStyle(n).marginBottom,c=Jn(o.offsetHeight+2*Qd,parseInt(l,10));return
Object(cr.b)(n,
{marginBottom:c+"px"}),i._addVPAIDEventListener(e,"AdSizeChange",On.bind(e)),i._add
VPAIDEventListener(e,"AdStarted",function(){var
t=this.getControlNode(Gd);Object(cr.b)(t,{visibility:"visible"})}.bind(e)),i}return
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return Gd},e}(ss.a),ol="moreInfo",al="#fff",sl="rgba(0,
0, 0, 0.7)",dl="rgba(0, 0, 0, 0.2)",ll="rgba(0, 0, 0,
0.5)",cl=.3,ul=.22,hl="bottom",pl=function(t){function e(e){var
i=t.call(this,ol,e,!0)||
this,n=e.getControlNode("wrapper"),r=e.getControlUnionData(ol,"css")||
{},o=i.node=Object(cr.a)(n,"div",function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?wn(Object(e),!0).forEach(function(i)
{_n(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:4,padding:"10px",borderRadius:"2px",transition:"0.3s",
color:r.color||al,border:"1px solid "+(r.color||al),textShadow:"1px 1px 19px
"+sl,backgroundColor:r.backgroundColor||
dl,cursor:"pointer",visibility:"hidden",alignItems:"center",justifyContent:"center"
},r,{display:"flex"}));Object(cr.a)(o,"span",
{lineHeight:"15px",textAlign:"center"},e.getControlUnionData(ol,"text")||
to(An())),e.setControlData(ol,{node:o});var
a=e.getControlUnionData(ol,"hoverBackgroundColor"),s=e.getControlUnionData(ol,"hove
rColor");ur.h?Object(cr.b)(o,{backgroundColor:a||ll,color:s||al,borderColor:s||
al,textShadow:"1px 1px 19px "+sl}):
(i._addDOMEventListener(o,"mouseenter",function(){return Object(cr.b)(o,
{backgroundColor:a||ll,color:s||al,borderColor:r.color||al,textShadow:"1px 1px 19px
rgba(0, 0, 0, 0.85)"})}),i._addDOMEventListener(o,"mouseleave",function(){return
Object(cr.b)(o,{backgroundColor:r.backgroundColor||dl,color:r.color||
al,borderColor:r.color||al,textShadow:"1px 1px 19px "+sl})}));var
d=e._getLastDataXml(),l=Object(pr.e)(d,"ClickThrough");return
l&&i._addDOMEventListener(o,"click",function(){e.vpaid?
e.vpaid.trigger("AdClickThru",l||null,null,!
0):po.b.call(e,l)}),Pn.call(e),i._addVPAIDEventListener(e,"AdSizeChange",function()
{var
t=this.getControlNode(ol),e=this.format.isFloatingMode()?"hidden":"visible",i=this.
getAdWidth()*(ur.h?cl:ul);Object(cr.b)(t,
{width:i+"px",visibility:e}),Pn.call(this)}.bind(e)),i._addVPAIDEventListener(e,"Ad
Started",function(){var t=this.getControlNode(ol);Object(cr.b)(t,
{visibility:"visible"})}.bind(e)),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return ol},e}
(ss.a),fl="bottomBorder",gl=15,vl=15,bl=function(t){function e(e){var i;
(i=t.call(this,fl,e,!0)||this)._prevIsFloatingMode=null;var
n=e.getControlNode("wrapper"),r=e.getControlUnionData(fl,"css")||
{};i._displayNoneForEmbeddedMode=r&&"none"===r.display;var
o=getComputedStyle(n).marginBottom;o=parseInt(o,10);var a=i.node=Object(cr.a)
(n,"div",function(t){for(var e,i=1;i<arguments.length;i++)e=null==arguments[i]?
{}:arguments[i],i%2?jn(Object(e),!0).forEach(function(i)
{En(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):jn(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}
({position:"absolute",zIndex:4,left:0,top:"calc(100% +
"+o+"px)",height:gl+"px",width:"100%",marginBottom:vl+"px",borderTop:"1px solid
rgb(248, 248, 248)",background:"radial-gradient(ellipse farthest-side at 50% -30%,
rgba(0, 0, 0, 0.15), rgba(97, 97, 97, 0.0) 95%)"},r));return e.setControlData(fl,
{node:a}),i._addVPAIDEventListener(e,"AdSizeChange",function(t,e){var
i=t.getControlNode(fl),n=t.getControlNode("iframe"),r=t.getControlNode("wrapper"),o
=t.format.isFloatingMode();if(this._prevIsFloatingMode!==o){var
a=vo.a.call(t).outsideHeight;o?(Object(cr.b)(i,{display:"none"}),Object(cr.b)(r,
{marginBottom:Object(dr.s)(e)}),Object(cr.b)(n,{height:Object(dr.s)(a)})):!
this._displayNoneForEmbeddedMode&&(Object(cr.b)(i,{display:"block"}),Object(cr.b)
(r,{marginBottom:Object(dr.s)(e+(gl+vl))}),Object(cr.b)(n,{height:Object(dr.s)
(a)})),a!==vo.a.call(t).outsideHeight&&setTimeout(function(){return
t.trigger("slotSizeChanged")})}this._prevIsFloatingMode=o}.bind(function(t){if(void
0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been
called");return t}(i),e,o)),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.getName=function(){return fl},e}
(ss.a),ml=[dd,cd,fd,hd,vd],yl=[Ad,Sd,jd.a,xd,Rd,Wd,qd,rl,pl,bl],Ol="::Extension[con
trols]",Al={adlabel:"title",countdown:"skipAdCountdown",soundbtn:"volume",logo:"log
o"},wl={"-1":{display:"none"},0:{display:"none"},1:{display:""},TL:
{position:"absolute",top:"10px",right:"auto",bottom:"auto",left:"10px"},TR:
{position:"absolute",top:"10px",right:"10px",bottom:"auto",left:"auto"},BL:
{position:"absolute",top:"auto",right:"auto",bottom:"10px",left:"10px"},BR:
{position:"absolute",top:"auto",right:"10px",bottom:"10px",left:"auto"}},_l="::Exte
nsion[vnTargetedWords]",Pl="subtitle",Sl={srt:function(t){var e=/(\d+)\n([\d:.,]
+)\s*-->\s*([\d:.,]+)\n((?:.|\n)+)/m;return t.replace(/^[^\S\n]*(.+)
[^\S\n]*$/gm,"$1").replace(/\r/g,"\n").split("\n\n").map(function(t){var
i=e.exec(t);return i?{id:i[1],startTime:Object(pr.g)(i[2]),endTime:Object(pr.g)
(i[3]),text:i[4]}:null}).filter(Boolean)}},jl=function(t){var
e=t.type,i=t.data,n=Sl[e.toLowerCase()];if("function"!=typeof n)return null;var
r=n(i);return Array.isArray(r)?r:null},El=function(t){return function(t){return new
Promise(function(e){var i=t.querySelector("data");if(i){var n=Object(pr.e)
(i),r=i.getAttribute("type");if(!r)throw new Error("Data type is not
defined");e({type:r,data:n})}else{var o=t.querySelector("url");if(!o)throw new
Error('Neither "data" nor "url" provided');var a=Object(pr.e)
(o),s=o.getAttribute("type");if(!s)throw new Error("Url type is not
defined");Object(po.f)(a).then(function(t)
{e({type:s,data:t.target.responseText})}).catch(function(t){throw new Error("Data
request error ("+t+")")})}})}(t).then(jl)},Cl=[function(t){return new
Promise(function(e){var i=t&&t.getAPI&&t.getAPI()||{},n=(i.logger||
or.b,i.getLastParameters()),r=n&&n[Ja];if(r){var
o=r.global;i.setControlData(Ja,r,o)}e(t)})},function(t){return new
Promise(function(e){var i,n=t&&t.getAPI&&t.getAPI()||
{},r=n.getControlUnionData,o=n.getControlRawUnionData,a=n.getControlUnionDataGlobal
,s=n.setControlData,d=n.getLastParameters,l=n.updateLastParameters,c=(n.logger||
or.b,d(
)),u=c&&c[ts];if(u){var h=u.important,p=u.global;s(ts,
{sets:u,important:h},p),i=u}var f=((i?r:a)(ts)||
{}).sets,g=f&&Object.keys(f).filter(function(t){return!es.includes(t)});if(!g||!
g.length)return e(t);var v=o("vnSets")||{},b=v&&Object.keys(v);return
b&&(b=b.filter(function(t){return!es.includes(t)})),b&&b.length?
(g.forEach(function(t){if(b.includes(t)){var
e=v[t],n=e&&Object.keys(e).filter(function(t){return!
es.includes(t)});n&&n.forEach(function(n){var r=e[n],o=f[t].orderIndex;r&&(void 0!
==o&&(r.orderIndex=i?o:-1),l(n,r))})}}),e(t)):e(t)})},function(t){return new
Promise(function(e){t&&t.getAPI&&t.getAPI().logger||or.b;var
i,n=(t._getLastParameters()||{})[Qo]||{},r=n.size,o=n.important,a=n.global;(o||a||
r&&(r.width||r.height))&&t.setControlData(Qo,((i={size:r})
[fr.a]=o,i),a);e(t)})},function(t){return new Promise(function(e){var
i=t&&t.getAPI&&t.getAPI()||{},n=i.logger||
or.b,r=i.getLastParameters,o=i.setControlData,a=i.getControlUnionData,s=i.trackStro
ngUrls,d=(r()||{})[fa]||{};[].concat(d).forEach(function(t){var
e,i=t.pattern,n=t.global,r=t.selector,s=t[fr.b],d=a(fa)||
{},l=d.pattern,c=d.selector;o(fa,pe({},t,((e={})[fr.b]=s||(i||i!==l)&&(r||r!
==c)?"solid":"",e)),n)});var l=a(fa)||
{},c=l.pattern,u=l.selector,h=l.trackings,p=l.fatal;if(c){var f=new
RegExp(c,"i"),g=(function(t){var
e;try{(e=window.top.document.querySelectorAll(t))&&e.length||
(e=window.top.document.querySelectorAll("body"))}catch(e){}if(!e||!
e.length)try{e=document.querySelectorAll(t)}catch(e){}return e&&e.length||
(e=document.querySelectorAll("body")),Array.from(e).map(function(t){return
t.innerText||t.textContent}).join("\n")}(u)||"").match(f);if(g){s(h);var
v=Error(ga.substring(2)+" Pattern matched: "+g);throw v.fatal=!!p,v}n.log(ga+"
Pattern not matched: "+c)}e(t)})},function(t){return new Promise(function(e,i)
{t&&t.getAPI&&t.getAPI().logger||or.b;var n,r=(t._getLastParameters()||{})[Qa]||
{},o=r.urls,a=r.important,s=r.global,d=r.fatal;(a||s||
o&&o.length)&&t.setControlData(Qa,((n={urls:o})[fr.a]=a,n.fatal=d,n),s);var
l=t.getControlData(Qa)||{},c=l.urls,u=l.fatal;if(c){var
h;try{h=Array.from(window.location.ancestorOrigins).map(function(t){return new
URL(t).hostname})}catch(e){}if(h&&h.some(function(t){if(c.includes(t)){var
e=Error(' vn_module was placed in the forbidden domain "'+t+'"');return e.fatal=!!
u,i(e),!0}}))return}e(t)})},function(t){return new Promise(function(e){var
i=t&&t.getAPI&&t.getAPI().logger||
or.b,n=t._getLastDataXml(),r=n&&n.querySelector('Extensions >
Extension[type="vnTargetedWords"]');if(r){var o=Object(pr.d)
(r,"fatal"),a=r&&r.querySelector("words");if(!a)return void e(t);var s=Object(pr.e)
(a).replace(/[,\s]+$/g,"").split(/\s*,\s*/i).join("|"),d=new
RegExp(s,"i"),l=(function(t){var e;try{e=document.querySelectorAll(t)}catch(e)
{}return e&&e.length||
(e=document.querySelectorAll("body")),Array.from(e).map(function(t){return
t.textContent||t.innerText}).join("\n")}(Object(pr.e)
(r,"selector"))||"").match(d);if(!l){var c=new Error(_l+" Pattern not matched:
"+s);throw c.fatal=!!o,c}i.log(_l+" Pattern matched:
"+l),Yo.g.call(t,'Extension[type="vnTargetedWords"]
targetedMetrics')}e(t)})},function(t){return new Promise(function(e){var
i=t&&t.getAPI&&t.getAPI().logger||
or.b,n=t._getLastDataXml(),r=n&&n.querySelector('Extensions >
Extension[type="controls"]');if(r){i.log(Ol+" Init");var
o=r.querySelectorAll("control");if(o&&o.length)Array.from(o).forEach(function(e)
{var
i=e.getAttribute("id"),n=e.getAttribute("layout");Al[i]&&t.setControlData(Al[i],
{css:wl[n]||{}})}),i.log(Ol+" Layout applied");else{var a=Object(pr.e)(r);
("1"===a||"0"===a)&&t.setControlData("adSpectorControls",a)}}e(t)})},function(t)
{return new Promise(function(e){t&&t.getAPI&&t.getAPI().logger||or.b;var
i,n=(t._getLastParameters()||{})[ka]||{},r=n.enabled,o=n.global,a=n.important;(r||
o||a)&&t.setControlData(ka,((i={enabled:r})[fr.a]=a,i),o);e(t)})},It,function(t)
{return new Promise(function(e){return t&&t.getAPI&&t.getAPI().logger||or.b,
[].concat((t._getLastParameters()||{})[sa]).forEach(function(i){var n=i||
{},r=n.controls,o=n.global;return r?void Object.keys(r).forEach(function(e){var
i=r[e],n=i.global||o,a=!0,s=e.toLowerCase(),d=da[s];d||(d=la[s],a=!1);var
l=function(t,e,i){var n=t.css,r=Object(dr.t)(t.important);delete t.important;var
o=e?te({},cr.q,{display:"initial"}):{},a=Object.keys(t).reduce(function(e,n){var
r=ca[n.toLowerCase()],o=t[n],a=void 0!==o&&r&&r(o,i);return
a&&a&&Object.keys(a).forEach(function(t){var i=a[t];e[t]="object"!=typeof i||
null===i?i:te({},e[t],{},i)}),e},{css:n||o});return
Object.entries(a).reduce(function(t,e){var i=e[0],n=e[1];return Object(fr.f)
(t,i,n,r)},{})}(i,a,t);a&&(l.parsePoint=i.parsePoint),Object(dr.q)(l)||
t.setControlData(d,l,n),["hover","afterplay"].forEach(function(e){var
r;i[e]&&t.setControlData(d,((r={})[e]=!0,r),n)})}):e(t)}),e(t)})},function(t)
{return new Promise(function(e,i){t&&t.getAPI&&t.getAPI().logger||
or.b,t.maxSkipTime=null;var n=t._getLastParameters(),r=n&&n[pa]||{};if(!
Object(dr.q)(r)&&r.length){var o=new Uo;r.filter(function(t){return
t}).sort(function(t,e){return t.orderIndex-e.orderIndex}).forEach(function(t)
{t&&o.setControlData("skip",t)}),r=o.getControlUnionData("skip")}var
a,s=r,d=s.strict,l=s[fr.a],c=s.global,u=r.skipTime;c&&t.setControlData(pa,
((a={skipTime:u,strict:d})[fr.a]=l,a.global=c,a),c);var
h,p=t.getControlUnionData(pa,null,function(t){return t.strict})||
{},f=p.skipTime,g=p.strict;!c&&u<1/0&&t.setControlData(pa,
((h={skipTime:u,strict:d})
[fr.a]=l,h.global=c,h),c);u=((r=t.getControlUnionData(pa))||{}).skipTime;var
v=g&&f;v&&(t.maxSkipTime=v);var b=v||0===v,m=u;if(u||b){if(b&&u&&g&&v<u){var
y=Error('skipTime has attribute "strict" == true and value of skipTime('+u+") is
more than parent skipTime("+v+")");return y.code=nr.a.GENERAL_VPAID_ERROR,i(y)}m=g?
Zn(v||1/0,0===u?0:u||1/0):u||0}return void 0!
==m&&(t.setControlData("skipAdCountdown",
{timeBeforeSkip:m}),t.setControlData("skipAd",
{timeBeforeSkip:m})),e(t)})},function(t){return new Promise(function(e)
{t&&t.getAPI&&t.getAPI().logger||or.b;var
i=t._getLastDataXml(),n=i&&i.querySelector('Extensions >
Extension[type="vnSubtitles"]');n?El(n).then(function(e)
{t.subscribe(kn.bind(t),"AdLoaded"),t.subscribe(function(t){var
e=this.getControlNode("subtitle"),i=this.getAdElapsedTime(),n=t.find(function(t)
{var e=t.startTime,n=t.endTime;return e<=i&&i<n});n?(Object(cr.b)(e,
{display:""}),e.innerHTML=n.text):(Object(cr.b)(e,
{display:"none"}),e.innerHTML="")}.bind(t,e),"AdRemainingTimeChange"),t.subscribe(f
unction(){var t=this.getControlNode("subtitle");Object(cr.b)(t,
{display:"none"}),t.innerHTML=""}.bind(t),"AdVideoComplete")}).catch(function()
{}).then(function(){return e(t)}):e(t)})},function(t){var e=t.vnAfterplay;return
e&&e._destroy(),t.vnAfterplay=null,new Sa({module:t}).init(t)},function(t){return
new Promise(function(e){t&&t.getAPI&&t.getAPI().logger||or.b;var i=function(t){var
e=t.getEnvironmentVars,i=t.getParameters,n=e&&e()||{},r=i&&i()||
{},o=n&&n.forceFormat;if(Object(dr.q)(o)){var a=r.vnFormat,s=(n&&n.format||
{}).options;Object(dr.q)(s)||Object(dr.q)(a)||[].concat(a).forEach(function(t)
{return t.options=Xt({},s,{},t.options)}),o=a}var d=null,l=null;if(!Object(dr.q)
(o)){var c=new Uo;[].concat(o).forEach(function(t)
{c.setControlData(oa,t,t.global)}),d=c.getControlUnionData(oa),l=c.getControlUnionD
ataGlobal(oa)}return{vnFormatData:d,vnFormatDataGlobal:l}}
({getEnvironmentVars:function(){return t.environmentVars},getParameters:function()
{return
t._getLastParameters()}}),n=i.vnFormatData,r=i.vnFormatDataGlobal;if(n&&(t.setContr
olData(oa,n),r&&t.setControlData(oa,r,!0)),!t.fixedFormat){var
o=t.getControlUnionData(oa);if(o){var
a=o.name,s=o.options;try{JSON.stringify(o,function(t,e){return"lookupElement"===t?
(null===e||void 0===e?void 0:e.nodeName)+"."+(null===e||void 0===e?void
0:e.classList):e},2)}catch(t){}var d=t.options&&t.options.amp;if(d&&"contentroll"!
==a.toLowerCase())throw new Error(aa+" Failed to create format ("+a+") because only
the ContentRoll format is available for amp");d&&(s.amp=!0);var l=s||
{},c=l.playerElement,u=l.playerAfter,h=l.playerBefore;if(qt.call(t,
{playerElement:c,playerAfter:u,playerBefore:h}))throw new Error(aa+' There was
already an embedding error with such format parameters: playerElement:"'+c+'"
playerAfter:"'+u+'" playerBefore:"'+h+'"');var
p=zo(t,a||"InStream",s);p&&t._setFormat(p)}}e(t)})},function(t){return new
Promise(function(e){var i=t&&t.getAPI&&t.getAPI().logger||
or.b,n=(t._getLastParameters()||{})[La]||{},r=n,o=r.global,a=r[fr.a];if(delete
n.global,(!Object(dr.q)(n)||a||
o)&&t.setControlData(La,n,o),n=t.getControlUnionData(La),Object(dr.q)(n))return
e(t);var s=n||
{},d=s.html,l=s.clickTracking,c=s.openWindowUrl,u=s.color,h=s.backgroundColor,p=s.b
ackgroundImage,f=s.backgroundSize,g=s.opacity,v=s.closeData,b=t.getControlNode("und
erplay")||Object(cr.a)(document.body,"div",
{},"");if(b.addEventListener("click",function(e){e.preventDefault(),l&&Yo.l.call(t,
[l]),c&&Object(po.b)(c),t.skipAd()}),Object(cr.b)(b,{position:"fixed",zIndex:-
1,top:0,right:0,bottom:0,left:0,width:"100%",height:"100%",transition:"opacity
500ms ease-
out",color:u,backgroundColor:h,backgroundImage:p,backgroundSize:f,opacity:g}),b.inn
erHTML=d,!Object(dr.q)(v)){var
m=v.img,y=v.top,O=v.right,A=v.bottom,w=v.left,_=v.width,P=v.height,S=v.time,j=m?"":
Ra.a,E=Object(cr.a)(b,"div",
{position:"absolute",zIndex:1,top:y,right:O,bottom:A,left:w,width:_,height:P,backgr
oundSize:"cover",backgroundImage:"url("+(m||"")+")",cursor:"pointer"},j,function()
{return t.skipAd()});E.addEventListener("touchstart",function(e)
{e.preventDefault(),t.skipAd()});var C=Object(pr.g)(S)||
t.getControlUnionData("skipAdCountdown","timeBeforeSkip");if(C){Object(cr.b)(E,
{display:"none"});t.subscribe(function e(){t.getAdElapsedTime()>=C&&(Object(cr.b)
(E,
{display:""}),t.unsubscribe(e,"AdRemainingTimeChange"))},"AdRemainingTimeChange")}t
.subscribe(function(){i.log("::Extension["+La+"] Removing
underplay"),Object(cr.b)(b,{opacity:0}),setTimeout(function(){Object(cr.s)
(b)},500)},"AdDestroyed")}return e(t)})},function(t){return new Promise(function(e)
{t&&t.getAPI&&t.getAPI().logger||or.b;var i,n=(t._getLastParameters()||{})[xa]||
{},r=n.serverUrl,o=n.strict,a=n.global,s=n.important;(r||o||a||
s)&&t.setControlData(xa,((i={serverUrl:r,strict:o})
[fr.a]=s,i),a);e(t)})},function(t){return new Promise(function(e)
{t&&t.getAPI&&t.getAPI().logger||or.b;var i=(t._getLastParameters()||{})[Ia]||
{},n=function(e){var n,r,o=i[e]||{},a=o.url,s=o.important,d=o.global;void 0!
==a&&t.setControlData(Ia,((r={})[e]=((n={url:a})
[fr.a]=s,n),r),d)};n("impression"),n("debug"),n("passed"),n("passed2"),n("select"),
e(t)})},Ta.a,function(t){return new Promise(function(e)
{t&&t.getAPI&&t.getAPI().logger||or.b;var i,n=(t._getLastParameters()||{})[qo]||
{},r=n.functionUrl,o=n.functionText,a=n.global;(r||o||
a)&&t.setControlData(qo,function(t){for(var e,i=1;i<arguments.length;i+
+)e=null==arguments[i]?{}:arguments[i],i%2?St(Object(e),!0).forEach(function(i)
{jt(t,i,e[i])}):Object.getOwnPropertyDescriptors?
Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):St(Object(e)).forEac
h(function(i)
{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}({},n,
((i={})[fr.b]="solid",i)),a);e(t)})},function(t){var e=t.vnAdEvents;return
e&&e._destroy(),t.vnAdEvents=null,new Ea({module:t}).init(t)},function(t){var
e=t.vnPageChanged;return e&&e._destroy(),t.vnPageChanged=null,new
Ma({module:t}).init()},function(t){return new Promise(function(e){var
i=t&&t.getAPI&&t.getAPI()||{},n=(i.logger||or.b,(i.getLastParameters()||
{}).vnShowViqeo);if(n){var r=n.options,o=n.global;i.setControlData(td,
{options:r},o)}e(t)})},function(t){return new Promise(function(e){var
i=t&&t.getAPI&&t.getAPI()||{},n=(i.logger||
or.b,i.getLastParameters()),r=n&&n[Da];if(r){var
o=r.eventsParams,a=r.global;o&&i.setControlData(Da,
{eventsParams:o},a)}e(t)})},function(t){return new Promise(function(e){var
i=t&&t.getAPI&&t.getAPI()||{},n=(i.logger||
or.b,i.getLastParameters()),r=n&&n[$s];if(r){var
o=r.trackingParams,a=r.global;o&&i.setControlData($s,
{trackingParams:o},a)}e(t)})},function(t){(t&&t.getAPI&&t.getAPI()||{}).logger||
or.b;return new Promise(function(e){[].concat((t._getLastParameters()||{})
[ua]).forEach(function(e){var i=e||
{},n=i.global,r=i.include,o=i.exclude,a=i.availableUrlsPattern;(r||
o)&&t.setControlData(ua,{include:r,exclude:o,availableUrlsPattern:a||
ha.replace(/\./g,"\\.")},n)}),e(t)})},function(t){return new Promise(function(e)
{t&&t.getAPI&&t.getAPI().logger||or.b;var i=(t._getLastParameters()||{})[ed]||
{},n=i.url,r=i.global;(n||r)&&t.setControlData(ed,i,r),e(t)})},function(t){return
new Promise(function(e){t&&t.getAPI&&t.getAPI().logger||or.b;var
i,n=(t._getLastParameters()||{})[Ga]||{},r=n.urls,o=n.important,a=n.global;(o||a||
r&&r.length)&&t.setControlData(Ga,((i={urls:r})[fr.a]=o,i),a);var
s=t.getControlUnionData(Ga,"urls");(null===s||void 0===s?void
0:s.length)&&(t._vnOTMTrackViewable&&t._vnOTMTrackViewable._destroy(),t._vnOTMTrack
Viewable=new qa(t,
{moduleId:"::Plugin[ViewableImpressionOTM]",startEventName:"AdStarted",trackUrlsAct
ion:Yo.l.bind(t,s)})),e(t)})},function(t){var e=t._vnOTMTrackRecordable;return
null===e||void 0===e||e._destroy(),(t._vnOTMTrackRecordable=new
Ya({module:t})).init()}],Dl="q1tracking",Il=function(t){function e()
{s=t.getAdDuration()||0}function i(){u||
(c._removeVPAIDEventListener(t,"AdDurationChange",e),!s&&(s=l||t.getAdDuration()||
0),a=s&&1e3*(s/4+1)||2e3),u=!0,a&&(o=Date.now(),c._addTimeout(Dl,r,a))}function n()
{c._destroy()}function r(){n(),Yo.h.call(t,
{code:nr.a.TIMEOUT_OF_MEDIA,message:"Neither AdVideoFirstQuartile nor
AdVideoMidpoint event happened during "+l+"ms after AdVideoStart event"})}var
o,a,s,d=t&&t.getAPI&&t.getAPI().logger||or.b,l=t.options.videoStartTimeout,c=new
rr.a({ancestor:"::Plugin[q1Tracking]",logger:d}),u=!
1;c._addVPAIDEventListener(t,"AdDurationChange",e),c._addVPAIDEventListener(t,"AdVi
deoStart",i),c._addVPAIDEventListener(t,"AdPaused",function()
{c._removeTimeout(Dl),a-=Jn(0,Date.now()-
o)}),c._addVPAIDEventListener(t,"AdPlaying",i),c._addVPAIDEventListener(t,"AdVideoF
irstQuartile",n),c._addVPAIDEventListener(t,"AdVideoMidpoint",n),c._addVPAIDEventLi
stener(t,"AdStopped",n),c._addVPAIDEventListener(t,"AdDestroyed",n)},Tl="::Plugin[n
oAdCallback]",kl=function(t){return new qa(t,
{moduleId:"::Plugin[ViewableImpression]",startEventName:"AdImpression",trackUrlsAct
ion:Yo.n.bind(t,"ViewableImpression:viewable")})},xl="::Plugin[ContainerDarker]",Nl
="DELAY_TIMER",Ml=function(t){function e(e){var
i,n=e&&e.getAPI&&e.getAPI().logger||or.b;return(i=t.call(this,
{ancestor:xl,logger:n})||
this).module=e,i._addVPAIDEventListener(e,"AdVideoStart",function(){return
i.hide()}),i._addVPAIDEventListener(e,"AdVideoComplete",function(){return
i.show()}),i._addVPAIDEventListener(e,"vnVpaidAdError",function(){return
i.show()}),i}!function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.hide=function(){this._removeTimeout(Nl);var
t=this.module.getControlNode("containerShadow");t&&(Object(cr.b)(t,
{transitionProperty:"opacity",transitionDuration:0,transitionTimingFunction:"none"}
),Object(cr.b)(t,{zIndex:-1,opacity:0}))},i.show=function(){var
t=this.module,e=t.vnAfterplay;e&&e.shouldShowStub()||this._addTimeout(Nl,function()
{var e=t.getControlNode("containerShadow");e&&(Object(cr.b)(e,
{transitionProperty:"opacity",transitionDuration:"700ms",transitionTimingFunction:"
ease-out"}),Object(cr.b)(e,{zIndex:5,opacity:.97}))},600)},e}
(rr.a),Vl="::Plugin[HeavyAdIntervention]",Rl=function(t){function e(e){var
i,n=e&&e.getAPI&&e.getAPI().logger||or.b;return(i=t.call(this,
{ancestor:Vl,logger:n})||
this).observers=[],i._addVPAIDEventListener(e,"AdLoaded",function(){return
Vn.call(function(t){if(void 0===t)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return t}(i),e)}),i}return function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t),e.prototype._destroy=function()
{t.prototype._destroy.call(this),this.observers.forEach(function(t){return
t&&t.disconnect()}),this.observers=[]},e}(rr.a),Ll=[function(t){return new
Promise(function(e){t&&t.getAPI&&t.getAPI().logger||or.b;var i=[],n=function(e){var
n=t._getLastDataXml();if(n){var r=Yo.a.call(t)&&Yo.h.bind(t),o=Object(po.e)
(n,'Extension[type="CustomTracking"]
Tracking[event="'+e+'"]',t.replaceMacros.bind(t),r);i.push.apply(i,o)}},r=t.waitAsy
ncTrackings;t.waitAsyncTrackings=function(){return
Promise.all([r.apply(t),Promise.all(i)])};var o=t.skipAd;t.skipAd=function(){return
n("onSkipAd"),o.apply(t,arguments)};var
a=t.processDataXml;t.processDataXml=function(e)
{(a.apply(t,arguments),e&&e.querySelector)&&(n("onVastLoad"),!
e.querySelector("Wrapper,MediaFile")&&n("onVastEmpty"))},e(t)})},function(t){var
e=t&&t.getAPI&&t.getAPI().logger||
or.b,i=t.options.externalTracking;"object"==typeof
i&&(e.log("::Plugin[externalTracking] Init"),Object.keys(i).forEach(function(e){var
n=i[e];t.subscribe(function(){[].concat(n).forEach(po.c)},e)}))},Il,function(t){var
e=t&&t.getAPI&&t.getAPI().logger||or.b,i=t.options.noAdCallback,n=window[i]||
i;"function"==typeof n&&(e.log(Tl+" Init"),t.subscribe(function(){var
i=t.vnAfterplay;if(!(i&&0<i._getTotalSuccessfulPlays())){e.log(Tl+" Executing");var
r=t.getAnchorElement();setTimeout(function(){return
n({anchorElement:r})})}},"AdError"))},kl,function(t){return new Ml(t)},function(t)
{return new
Rl(t)}],Fl="\t",Wl="Module",Hl={vpaidInitAdTimeout:7e3,vpaidInitAdSecTimeout:7e3,st
artAdTimeout:3e3,startAdSecTimeout:1e3,stopAdTimeout:1e3,dataRequestTimeout:7e3,ski
pAdTimeout:500,iframeRemoveDelay:1e3,disableHoverAudio:!0,startingVolume:ur.h||
ur.i?0:void 0,forceStartingVolume:void
0,maxAds:1,beforeStopAdTimeout:700,minSlotWidthPercent:.4,adIgnoreSizeErrorState:!
1,hideSpinnerControl:!1,hideTitleControl:!1,viqeoParentSlotClassName:"viqeo-parent-
slot",listenWindowMessages:!1,passUrlParams:
["vn_dsp","vn_campaign"],triggerAdStoppedAfterAdSkipped:!1,canExecuteNoAd:!
1,checkTrackingResponse:!
0,viqeoStarterUrl:"https://cdn.viqeo.tv/js/vq_starter.js"},zl=function(t){function
e(e){var i,n,r=Math.random().toString(36).substring(2,5),o=e||
{},a=o.logLevel,s=o.ancestor,d=o.module,l=void 0===a?or.c:a,c=e&&(e.logger||
e.module&&e.module.logger||e.moduleAPI&&e.moduleAPI.logger);try{var
u=window.parent;n=u&&u!==window&&(u.vn_module_id||u.parent&&u.parent.vn_module_id||
u.parent.parent&&u.parent.parent.vn_module_id)}catch(e){}if(n||(n=s||
d&&d.mainModuleId),!c){var h=n?n+" >> ":"",p=Object(or.d)(l,function(){return"["+
(new Date).toISOString().slice(11,-1)+"] "+h+"("+r+") "+Wl});c=Object(or.a)
(l,p)}c.log(".constructor()",2),(i=t.call(this,Bn({},Hl,{},e,
{ancestor:Wl,logger:c}))||
this).mainModuleId=r,i.logLevel=l,i.startAdShouldBeInvoked=!
1,i.adIgnoreSizeErrorState=i.options.adIgnoreSizeErrorState,i.subscribe(function()
{i._adsLeft-=1},"AdStarted"),i.subscribe(function()
{},"AdError"),i.pauseWasStartedByVPAID=!1,i.pausedWasStartedByVisibilityChange=!
1,i.vpaid=null,i._adHasBeenLoaded=!1,i.lastPendingCommands={},i.data=[],function()
{var
t=Symbol("collectionFieldName");this[t]=[],this.pushControlIntoCollection=function(
e){return this[t].push(e),e},this.getControlInstance=function(e){var
i=this[t].filter(function(t){return t.name===e})[0];return
i},this.destroyControls=function(){var e=[];return this[t].forEach(function(t){var
i=t&&t.getName&&t.getName();i&&e.push(i),t._destroy()}),this[t]=[],e},this.destroyU
IControls=function(){var t=this,e=[];return yl.forEach(function(i){var
n=i&&i.getName&&i.getName();n&&e.push(n),t.destroyControl(n)}),this.destroyControl(
"spinner"),this.destroyControl("title"),e.push("spinner","title"),e},this.clearCont
rolsCollection=function(){this[t]=[]},this.destroyControl=function(e)
{this[t]=this[t].filter(function(t){return!
(t.getName&&t.getName()===e&&(t._destroy(),1))})},this.hideControl=function(e)
{Dn(this[t],e,function(t){t.hide&&t
.hide()})},this.restoreControl=function(e){Dn(this[t],e,function(t)
{t.restore&&t.restore()})}}.call(qn(i)),_t.call(qn(i),
{destroyIframeAction:i._destroyIframe.bind(qn(i)),logger:i.logger}),i.lastPendingVo
lumeCommand=null,i.reachInventories={},i._trackedErrorsFormats={},i._useExistsVideo
Slot=!1,i.visibleInventoryWasSent=!1,i._adImpressionHappened=!
1,i._completeWasTracked=!1,i._adStarted=!1,i._manualAdditionalSEQ=0,function(){var
t=this;Ll.forEach(function(e){return e(t)})}.call(qn(i));var f=function(){var
t=this,e=function(e){var i=Bn({},
{intersectionRatio:0,visibility:0,moduleSquare:0,screenSquare:0,relationSize:null},
{},e);return t.setControlData("vnMacros",{"[SQUARE]":i.moduleSquare},!
0),t.setControlData("vnMacros",{"[VISIBILITY]":i.visibility},!
0),t.setControlData("vnMacros",{"[SIZE]":i.relationSize},!0),i};try{var
i,n,r=vo.c.call(this),o=r&&r.clientHeight?r:
(i=this.getControlNode("slot"))&&i.clientHeight?i:
(n=this.getControlNode("iframe"))&&n.clientHeight?n:null;return o?
dr.n.call(this,o).then(function(t){return e(t)}):Promise.resolve(e())}catch(t)
{return t&&t.message,Promise.resolve(e())}}.bind(qn(i)),g=function(){var
t=this.format,e=t.getSlotSize&&t.getSlotSize()||{},i=e.width,n=e.height;return
this.setControlData("vnMacros",{"[WIDTH]":i||0,"[HEIGHT]":n||0,"[ACTUAL-WIDTH]":i||
0,"[ACTUAL-HEIGHT]":n||0},!
0),Promise.resolve({width:i,height:n})}.bind(qn(i));return
i._moduleCharacteristicsRelations={"[LOCATION]":function(){try{var t=Object(dr.l)
(window,document),e=t&&encodeURIComponent(t);return this.setControlData("vnMacros",
{"[LOCATION]":e||"null"}),Promise.resolve(e)}catch(t){return
t&&t.message,Promise.resolve()}}.bind(qn(i)),"[SIZE]":f,"[SQUARE]":f,"[VISIBILITY]"
:f,"[WIDTH]":g,"[HEIGHT]":g,"[ACTUAL-WIDTH]":g,"[ACTUAL-
HEIGHT]":g,"[SEQ]":function(){var
t=this.vnAfterplay,e=this._manualAdditionalSEQ,i=(t&&t._getTotalSuccessfulPlays()||
e||0)+1;return this.setControlData("vnMacros",{"[SEQ]":i},!
0),i}.bind(qn(i)),"[SEQ_FORMAT]":function(){var
t=this.vnAfterplay,e=this.format,i=t&&t._getTotalSuccessfulPlays()||0;return
this.setControlData("vnMacros",
{"[SEQ_FORMAT]":0<i&&e&&e.getBaseName&&e.getBaseName()||""}),i}.bind(qn(i))},i}!
function(t,e)
{t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
(e,t);var i=e.prototype;return i.toString=function(){return
Wl},i.initAd=function(e,i,n,r,o,a){var s=this;void 0===o&&(o={}),void
0===a&&(a={}),t.prototype.initAd.call(this,e,i,n,r,o,a),this._adStarted=!
1,this._adImpressionHappened=!1,this._adVideoWasStarted=!
1,this._disableExtensions=[];var d=a||
{},l=d.disableExtensions,c=d.advancedParams;if(this.advancedParams=c,l)if(Array.isA
rray(l))this._disableExtensions=l;else
try{this._disableExtensions=[].concat(JSON.parse(l))}catch(e){}o||(o={});var
u=o.mainContainerIsIframe;void 0!
==u&&(this.options.mainContainerIsIframe=Object(dr.t)
(u)),cs.a.call(this),cs.b.call(this);var h,p=o.isABTesting,f=o.AdParameters||
o,g="string"==typeof f;if(g)try{h=JSON.parse(f)}catch(e){if(!h)try{h=Object(pr.h)
("?"+f.trim())||f||{}}catch(e){}}else h="object"==typeof f?Bn({},f):
{};this.adParameters=h;var v=Object(kr.a)("dataUrl");v||(v=o.dataUrl||
h.dataUrl),p&&(v=v+(~v.indexOf("?")?"&":"?")+"ver=v2.38.10");var
b=null,m=null,y=null,O=h||
{},A=O.vnDebugDelay,w=O.vnDebugAdLoadedDelay,_=O.vnDebugErrorReason,P=O.vnDebugErro
rReasonCode;if(A)return 0<w&&setTimeout(function(){return
s.trigger("AdLoaded")},w),void setTimeout(function(){s.trigger("AdError",_||"",P||
nr.a.GENERAL_VPAID_ERROR)},A);if(f.vnData){var
S={};try{S=JSON.parse(f.vnData)}catch(e){}if(S.parameters)y="string"==typeof
S.parameters?JSON.parse(S.parameters):S.parameters;else
if(S.key)try{y=JSON.parse(sessionStorage.getItem(S.key))}catch(e)
{}S.disableExtensions&&(this._disableExtensions=this._disableExtensions.concat(S.di
sableExtensions)),y&&Array.isArray(y)||
(oo.b.call(this)&&this.trigger("AdError","Parsed parameters is not
valid",nr.a.GENERAL_VPAID_ERROR),this._destroy())}else if(!g||v||
h.dataXml)h.dataXml&&(b=Object(pr.j)(h.dataXml));else try{m=JSON.parse(f)}catch(t)
{}var j,E=this.options.timeout||o.timeout||
h.timeout;E&&(j=this.globalTimeoutProvider=new Jo(E,function(t){var e="Global
timeout("+t+") is timed
out";this._removeTimeout(Zo.e),this._removeTimeout(Zo.c),Yo.h.call(this,
{code:nr.a.GLOBAL_TIMEOUT_HAPPENED,message:e}),this._failedData({shouldDestroyVpaid
:!0,shouldAbort:!0,errorEventParams:
{code:nr.a.GENERAL_VPAID_ERROR,message:e}})}.bind(this,E),this.logger),this._addDes
troyableObject(j),j.start());var C=this.environmentVars||
{},D=C.videoSlot,I=(C.iframe,C.parentFormat);this.parentFormat=I,
(this._useExistsVideoSlot=D&&Object(cr.o)
(D,"video"))&&this.setControlData("videoSlot",{node:D}),this.setControlData("slot",
{node:a.slot});var T,k=a.format||{},x=k.name,N=void
0===x?"InStream":x,M=k.options;try{if(!(T=zo(this,N,M)))return void
this._abort({errorEventParams:{code:nr.a.FORMAT_ERROR,message:".initAd() Unable to
initialize format ("+N+")"}});this._setFormat(T)}catch(t){var V=".initAd() Unable
to initialize format ("+N+") "+t;return void this._abort({errorEventParams:
{code:t.code||nr.a.GENERAL_VPAID_ERROR,message:V}})}if(!y){var R=function(){var
t={},e=this.environmentVars,i=this._disableExtensions,n=this.adParameters,r=bi({},e
,{},void 0===n?{}:n)||{},o=r.ext,a=r.extensions,s=o||
{},d=s.vnShowViqeo,l=s.vnFormat;if(d&&0>i.indexOf("vnShowViqeo")){var
c=d.important,u=$o(d);t.vnShowViqeo={options:u,important:c,global:!0}}if(l){var
h=Zt.call(this,l,null);h&&(h.global=!0,t.vnFormat=h)}if(!Object(dr.q)(a)){var
p={vnSets:ze.bind(this),vnControls:ne.bind(this),vnFormat:Zt.bind(this),vnProhibite
dWords:be.bind(this),vnOTMTrackRecordable:Le.bind(this),vnOTMTrackViewable:Re.bind(
this),vnDomainsBlockList:Fe.bind(this),vnMinPlayerSize:Tt.bind(this)};Object.entrie
s(p).forEach(function(e){var i=e[0],n=(0,e[1])(a);n&&(void 0!
==n.global&&(n.global=!0),t[i]=n)})}return t}.call(this);Object(dr.q)(R)||
(this.data.push({dataXml:null,defaultAdXml:null,parameters:R}),xn.call(this).then(f
unction(){var t;T?t=kt(s):a.slot&&0!==e&&(t=function(t,e){var
i=t.getControlData(Qo)||{},n=i.size,r=i.fatal,o=(n||{}).width;if(!o)return
null;if(0<e&&e<o){var a=Nt(t),s=a.topWindow,d=a.contentParent;return xt("\n
Width: "+e+";\n Viewport: "+(s?s.innerWidth:"Unknown")+";\n Container width:
"+d.offsetWidth+";\n Ratio: "+e/d.offsetWidth,!!r)}return null}
(s,e)),t&&Yo.h.call(s,t,!0)}),this.pushControlsDataStack())}if(y)
{this.data.push({parameters:y.shift()});var
L=this._getLastParameters();this._disableExtensions&&this._disableExtensions.forEac
h(function(t){L&&delete L[t]}),y.forEach(function(t){return
s.data.push({parameters:t})});var F=(this.data[0]||
{}).parameters;this.mainProc=function(t,e,i){void
0===i&&(i={}),Wn.call(this,Bn({parameters:t,format:e},i))}.bind(this,F,T),this.main
Proc()}else m?
(this.data.push({dataXml:null,defaultAdXml:null,parameters:m}),Object(dr.q)(m)?
Hn.call(this,{code:nr.a.NO_ADS_RESPONSE,message:"Empty data"},".initAd()"):
(this.mainProc=function(t,e,i){void
0===i&&(i={}),Wn.call(this,Bn({parameters:m,format:e},i))}.bind(this,m,T),this.main
Proc())):b?(this.mainProc=function(t,e,i){void
0===i&&(i={}),Wn.call(this,Bn({xml:t,format:e},i))}.bind(this,b,T),this.mainProc())
:v&&(j&&j.pause(),function(t){var e=this.advancedParams;if(Object(dr.q)(e)||
Object(dr.q)(e.pass))return Promise.resolve(t);var
i,n,r=e.pass,o=e.pass,a=o._decorateName,s=o._decorateValue;a&&"function"==typeof a?
(i=a,delete r._decorateName):i=function(t){return"pass_"+t},s&&"function"==typeof
s?(n=s,delete r._decorateValue):n=function(t){return t};var d=Object(pr.a)
(t,Object.keys(r).reduce(function(t,e){return r[e]&&(t[i(e)]=n(r[e])),t},
{}));return Promise.resolve(d)}.call(this,v).then(function(t){return function(t)
{var e=(this.options||{}).passUrlParams;if(!e||!e.length)return
Promise.resolve(t);var i=Object(dr.i)(window,document),n=Object(pr.h)
(i),r=Object.keys(n).reduce(function(t,i){return~e.indexOf(i)&&(t[i]=n[i]),t},
{});return Promise.resolve(Object(pr.a)(t,r))}.call(s,t)}).then(function(t)
{s.mainProc=function(t,e,i){void
0===i&&(i={}),Wn.call(this,Bn({url:t,format:e},i))}.bind(s,t,T),s.mainProc()}))},i.
resizeAd=function(t,e,i,n){void 0===i&&(i=this.viewMode),void 0===n&&(n=!1);var
r=this._adHasBeenLoaded,o=this.vpaid,a=this.format,s=vo.b.call(this,Wl)||{};if(r)
{s=this.savedAdParams=[],this.lastPendingCommands.resizeAd&&delete
this.lastPendingCommands.resizeAd;var d=!n&&Object(dr.p)(this.adWidth,t)||
Object(dr.p)(this.adHeight,e);this.adWidth=t,this.adHeight=e,this.viewMode=i;var
l=this.getControlNode("container"),c=this.getControlNode("vpaidSlot"),u=vo.c.call(t
his),h="absolute"!==(c&&getComputedStyle(c)||{}).position;if(h&&this.logger.log('
was detected that vpaid changed vpaidSlot position from
"absolute"',2,"pink"),u&&"hidden"!==getComputedStyle(u).display&&u.clientHeight)
{var p=this.getControlNode("videoSlotParent");p&&u.parentElement!
==p&&(this.setControlData("videoSlot",{node:null}),Object(cr.b)(u,
{top:"0",left:"0",margin:"0"}),u=null)}if(d&&o&&(s.push(function(){return
o.resizeAd(t,e,i)}),o.resizeAd(t,e,i)),l){var f=(a&&a.getOptions()||
{}).setSizeByMedia,g=l.getBoundingClientRect()||
{},v=g.width,b=g.height;if(u&&(0<b||h))this._saveVideoSlotParams(u),Object(cr.b)(u,
{position:"absolute",left:"50%",top:"50%",marginLeft:Object(dr.s)(-
t/2),marginTop:Object(dr.s)(-e/2),width:Object(dr.s)(t),height:Object(dr.s)
(e)});else if(Object(dr.t)(f)){var
m=this.getControlNode("wrapper"),y=m&&vo.a.call(this),O=y.outsideHeight,A=y.insideH
eight,w=e+(O||0)-(A||0);if(m){var _={height:Object(dr.s)(w)};Object(cr.b)
(m,_),s.push({node:m,styles:_})}var P=this.getControlNode("iframe");if(P){var
S={height:Object(dr.s)(w)};Object(cr.b)(P,S),s.push({node:P,styles:S})}}else if(!
u&&c&&0<b){var
j=Zn(t,v),E=Zn(e,b),C={position:"absolute",left:"50%",top:"50%",marginLeft:Object(d
r.s)(-j/2),marginTop:Object(dr.s)(-E/2),width:Object(dr.s)(j),height:Object(dr.s)
(E)};Object(cr.b)(c,C),s.push({node:c,styles:C})}if(l){var
D={textAlign:u&&"absolute"===u.style.position?"initial":"center"};Object(cr.b)
(l,D),s.push({node:l,styles:D})}vo.d.call(this,Wl,s)}}else{!!
this._AdVideoStartWasHappenedAtLeastOnce&&!
oo.c.call(this,"playing","pausing","paused")&&s&&!s.length?Object(dr.u)
(s,this.logger,Wl+" .resizeAd().
State="+this.state):this.lastPendingCommands.resizeAd=this.resizeAd.bind(this,t,e,i
)}},i.startAd=function(t){var e=this;if(oo.a.call(this)){var i=(t||
{}).checkVisibility,n=this.format&&this.format.getStartMethod&&"manual"===this.form
at.getStartMethod();if(i&&!n);else if(i&&n){this.startingWithCheckVisibility=!0;var
r=this.format;oo.d.call(this,"waitStarting"),r&&r._updateModuleState&&r._updateModu
leState()}else if(oo.c.call(this,["loaded","complete"])||
this.startingWithCheckVisibility&&oo.c.call(this,"waitStarting"))
{this.startingWithCheckVisibility=!1,oo.d.call(this,"starting");var
o=this.vpaid,a=this.options,s=this.vnAfterplay,d=(a||{}).startAdTimeout,l=(a||
{}).startAdSecTimeout;s&&s.shouldContinue()&&0<s._getTotalSuccessfulPlays()&&(d=l),
d&&(this._addTimeout(Zo.c,function()
{o&&o.stopAd(),e._failedData({shouldDestroyVpaid:!
0})},d),o.subscribeOnce(function()
{e._removeTimeout(Zo.c)},"AdStarted"),o.subscribeOnce(function()
{e._removeTimeout(Zo.c)},"AdError")),this.globalTimeoutProvider&&this.globalTimeout
Provider.start(),this._vpaidStartAdWasInvoked=!
0,this._vpaidStartAdInvokesTime=Date.now(),o.startAd()}else oo.c.call(this,
["playing","started"])||(this.startAdShouldBeInvoked=!0)}},i.pauseAd=function(t)
{this.pausedWasStartedByVisibilityChange=!(!t||!t.method||"onvisibilitychange"!
==t.method.toLowerCase()),oo.c.call(this,
["playing","started"])&&(oo.d.call(this,"pausing"),this.vpaid.pauseAd())},i.resumeA
d=function(){oo.c.call(this,
["paused","pausing"])&&(oo.d.call(this,"resuming"),this.vpaid.resumeAd())},i.stopAd
=function(t){var e=this,i=(t||{}).force,n=oo.c.call(this,
["destroying","destroyed"]);if(n||oo.c.call(this,["stopped","stopping"]))return
n&&(this.state,1)||this.state,void(this._adStoppedTriggered||
(this._adStoppedTriggered=!
0,this.trigger("AdStopped"),Ko.e.call(this,"AdStopped")));oo.c.call(this,"stopped")
||oo.d.call(this,"stopping");var
r=this.vpaid,o=this.options,a=this.format,s=this.vnAfterplay,d=(o||
{}).stopAdTimeout,l="ModuleStopAdTimerId";if(i&&s&&(s._destroy(),s=this.vnAfterplay
=null),s&&s.shouldShowStub()&&s.manualRun&&!
oo.c.call(this,"afterplay")&&s.manualRun(),(!s||!
s.shouldShowStub())&&a&&a.hide&&a.hide(),r&&!
this._adStoppedWasCalled)try{r.subscribe(function()
{e._removeTimeout(l)},"AdError"),r.subscribe(function()
{e._removeTimeout(l)},"AdStopped"),r.stopAd()}catch(t){var c=t;(!c.code||
c.code<nr.a.GENERAL_LINEAR_ERROR)&&((c=new
Error(t)).code=nr.a.VPAID_JS_ERROR),Yo.h.call(this,c)}this._adStoppedWasCalled?
Ko.d.call(this):d&&this._addTimeout(l,function()
{Ko.d.call(e)},d)},i.skipAd=function(){var t=this,e=this.getAdSkippableState();if(!
oo.c.call(this,"skipping")&&e){var
i="ModuleSkipAdTimerId",n=this.vpaid,r=this.options.skipAdTimeout;oo.d.call(this,"s
kipping"),this._restoreVideoSlotParams(),n&&(n.subscribeOnce(function()
{t._removeTimeout(i)},"AdSkipped"),setTimeout(function(){return
n.skipAd()},1)),r&&this._addTimeout(i,function()
{Ko.c.call(t)},r)}},i.getAdRemainingTime=function(){return
this.vpaid&&this.vpaid.getAdRemainingTime()||0},i.getAdElapsedTime=function()
{return this.vpaid&&this.vpaid.getAdElapsedTime()||
t.prototype.getAdElapsedTime.call(this)},i.getAdDuration=function(){return
0<=this.adDuration&&this.adDuration||(this.vpaid?
this.adDuration=this.vpaid.getAdDuration():0)},i.getAdAspectRatio=function(){var
e=this.vpaid;return e&&e.getAdAspectRatio()||
t.prototype.getAdAspectRatio.call(this)},i.processDataXml=function(t){return
function(t){if(oo.c.call(this,["destroying","destroyed"]))return null;if(!t||!
t.querySelector){var e=Error("Malformed data xml");throw
e.code=nr.a.NO_ADS_RESPONSE,e.hint=".processDataXml()",e}var i=Object(pr.c)
(t),n=i&&i.length||0;if(!n){var r=t.querySelectorAll("Error"),o=Array.from(r||
[]).map(function(t){return Object(pr.e)(t)}),a=Error("Malformed data xml");throw
a.code=nr.a.NO_ADS_RESPONSE,a.hint=".processDataXml()",o&&(a.errorUrls=o),a}if(1<n&
&Array.from(i).every(function(t){return null!==t.getAttribute("sequence")})){var
s="Can not play Ad Pods("+n+"): ["+Array.from(i).map(function(t){return
t&&t.getAttribute&&t.getAttribute("id")||""}).filter(function(t){return
t}).join(",")
+"]";this.data.push({dataXml:t,defaultAdXml:null,parameters:null}),Yo.h.call(this,
{code:nr.a.FORMAT_ERROR,message:s}),this.data.pop();var d=Error(s);throw
d.code=nr.a.NO_ADS_RESPONSE,d.hint=".processDataXml()",d}var l=1===n?
i:n&&Array.from(i).filter(function(t){return null!
==t.getAttribute("sequence")});if(!l||!l.length){var c=Error("Malformed data xml.
Ad nodes not found.");throw
c.code=nr.a.NO_ADS_RESPONSE,c.hint=".processDataXml()",c}var
u=l[0];this.ad=u,u&&u.getAttribute&&u.getAttribute("id");var
h=u.querySelector('Extensions >
Extension[type="vnDefaultAd"]');h&&h.parentNode.removeChild(h);var
p=yi.call(this,t);if(p&&p instanceof Error)
{this.data.push({dataXml:t,defaultAdXml:h,parameters:null});var f=Error("Malformed
data xml");throw f.code=nr.a.NO_ADS_RESPONSE,f.hint=".processDataXml()",f}return
this.data.push({dataXml:t,defaultAdXml:h,parameters:p}),p}.call(this,t)},i.setAdVol
ume=function(e,i){if(!oo.a.call(this))return null;var n=(i=Bn({},{invoker:null},
{},i)).invoker,r=this.getControlInstance("volume");this._useExistsVideoSlot&&!
n&&r&&r.cancelVolumeUpdate();var o=this.canChangeVolume();return!this.vpaid||e&&!o?
void(this.canChangeVolume()&&(this.lastPendingVolumeCommand=this.setAdVolume.bind(t
his,e,i))):
(this.vpaid.setAdVolume(e,i),t.prototype.setAdVolume.call(this,e,i))},i._destroy=fu
nction(){var e=this,i=(this.options||{}).iframeRemoveDelay;if(!oo.c.call(this,
["destroying","destroyed"])){i&&(this._delayRemovingControls={containerIframe:
{delay:i}}),this.lastPendingCommands={},oo.d.call(this,"destroying"),Ko.g.call(this
,this.vnShowViqeo?["AdStarted"]:[]);var
n=this.vpaid,r=this.globalTimeoutProvider;this._restoreVideoSlotParams(),this._remo
veTimeout(Zo.b),r&&r.stop(),this.subscribeOnce(function()
{e.clearControlsCollection(),n&&(n.subscribeOnce(function()
{e.vpaid=null},"AdDestroyed"),n._destroy()),e.vnAdEvents&&e.vnAdEvents._destroy(),e
.vnPageChanged&&e.vnPageChanged._destroy(),e.format=null,e.data=[],oo.d.call(e,"des
troyed")},"AdDestroyed"),t.prototype._destroy.call(this)}},i._restoreVideoSlotParam
s=function(){var t=this.getControlUnionData("videoSlot")||
{},e=t.node,i=t.savedCss;if(e&&i&&i.length){var n=i[0].style;n&&Object(cr.b)
(e,n)}},i._saveVideoSlotParams=function(t){if(this._useExistsVideoSlot){var
e=this.getControlUnionData("videoSlot"),i=(t||e.node||{}).style,n=i?{style:
{width:i.width,height:i.height}}:null,r=e.savedCss;(r||
(r=[])).push(n),this.setControlData("videoSlot",{node:e.node||
t,savedCss:r})}},i._setFormat=function(t)
{this.format=t,this._destroyIframe(),t.hasReachInventoryFactory&&t.hasReachInventor
yFactory()&&!Object(dr.q)(this._getLastParameters())&&It(this),_i.call(this);var
e=t.getModuleOptions();e&&cs.b.call(this,e),t.subscribe(function(t)
{this.trigger("vnFormatStateChanged",t),t&&"isFloating"in
t&&(this.adIgnoreSizeErrorState=!
0===t.isFloating)}.bind(this),"vnFormatStateChanged",t),this.anckorElement=t.getAnc
horElement&&t.getAnchorElement();var i=t.getSlotSize&&t.getSlotSize()||
{},n=i.width,r=i.height;this.setControlData("vnMacros",{"[WIDTH]":n||
0,"[HEIGHT]":r||0});var o=kt(this);o&&Yo.h.call(this,o,!
0)},i._getLastDataXml=function(t){void 0===t&&(t=0);var e=this.data;if(!e||
e.length<t)return null;var i=e[e.length-(t+1)];return
i&&i.dataXml},i._getLastData=function(t){void 0===t&&(t=0);var e=this.data;return!
e||e.length<t?null:e[e.length-(t+1)]},i._getLastDefaultAdXml=function(t){void
0===t&&(t=0);var e=this._getLastData(t);return
e&&e.defaultAdXml},i._getLastParameters=function(t){void 0===t&&(t=0);var
e=this._getLastData(t);return
e&&e.parameters},i._updateLastParameters=function(t,e,i){void 0===i&&(i=0);var
n=this.data;if(n&&!(n.length<i)){var r=n.length-(i+1),o=n[r];if(!o)throw
Error("_updateLastParameters. Out of index ["+r+"]. data.length="+n.length+"
step="+i);var a=o.parameters;a||(a=o.parameters={});var s=a[t];a[t]=s?
[].concat(s,e).sort(function(t,e){return(t.orderIndex||0)-(e.orderIndex||
0)}):e}},i._failedData=function(t){var e=this,i=t||{},n=i.shouldAbort,r=void 0!
==n&&n,o=i.shouldResetPlugins,a=i.shouldDestroyVpaid,s=(t||
{}).errorEventParams,d=(this.options||{}).canExecuteNoAd;this._adStarted=!
1,this._adImpressionHappened=!1,this._adVideoWasStarted=!
1,this.lastPendingCommands={},this._adHasBeenLoaded=!1,this._completeWasTracked=!
1;var l=this._trackPassed;(this._track2Passed||!l?
Promise.resolve():Yo.j.call(this)).then(function(){e._trackPassed=!
1,e._track2Passed=!1;var
i=e.vnAfterplay,n=e.vpaid;if(n&&a&&(n._destroy&&n._destroy(),e.vpaid=null),0>e._ads
Left&&(!i||!i.shouldContinue())){var l=(e.options||{}).maxAds;return s||
(s={code:nr.a.GENERAL_VPAID_ERROR,message:"maxAds("+l+") option exceeded"}),void
e._abort({errorEventParams:s})}var c=null;do{var
u=e.getControlUnionData("vnNoAd")||{};if(e.popControlsDataStack(),c=(e.data.pop()||
{}).defaultAdXml,(!e.data.length&&!c||r)&&!e._runningVnNoAd)
{if(i&&i.shouldContinue()){var
h=e.mainProc,p=(i._getTotalSuccessfulPlays(),i._getSuccessfulPlays());if(h&&0<p)ret
urn i._incCycleCounter(),void h()}var f=s||{},g=f.code,v=f.message;return g||
(s={code:nr.a.GENERAL_VPAID_ERROR,message:v||"No playable sources
found"}),void(u&&!0===d?(e._runningVnNoAd=!0,Dt(e,u).then(function(){return
e.logger.log(".executing vnNoAd")}).catch(function(){return
e._abort({errorEventParams:s})})):e._abort({errorEventParams:s}))}}while(e.data.len
gth&&!c||r);(t||{}).logMessage;var b=e.filterFormatName;!
i&&n&&n._destroy&&n._destroy(),Wn.call(e,{xml:c,filters:b?{formatName:b}:
{},shouldResetPlugins:o})})},i._abort=function(t){var e=(t||{}).errorEventParams||
{},i=e.code,n=e.message,r=e.cancel;this.format&&this.format.abort(),this.vnShowViqe
o||r||!oo.b.call(this)||(
this.trigger("AdError",n||"",i),Ko.e.call(this,"AdError")),this._destroy()},i._repl
ay=function(){var
t=this.vpaid;t&&t._destroy&&t._destroy(),this._useExistsVideoSlot||
this.setControlData("videoSlot",{node:null}),this.vpaid=null,this._adStarted=!
1,this._adImpressionHappened=!1,this._adVideoWasStarted=!
1,this.lastPendingCommands={},this._adHasBeenLoaded=!1,this._completeWasTracked=!
1,Ln.call(this)},i._destroyIframe=function(){var
t=this,e=this.vnAfterplay;if(this.environmentVars&&this.environmentVars.iframe||
e&&e.shouldContinue())return!1;var i=this.getControlUnionData("iframe")||
{},n=i.node,r=i.removeDelay;return n&&(n.onload=null,r?setTimeout(function(){return
t._removeDOMNode(n)},r):this._removeDOMNode(n)),this.setControlData("iframe",
{node:null}),!0},i._applyLayout=function(t){var
e=this;Object.keys(t).forEach(function(i){var
n=e.getControlUnionData(i,"css"),r=t[i]||{};n=n?Bn({},n,
{},r):Bn({},r),e.setControlData(i,{css:n})})},i.isMediaUrlBlocked=function(t){var
e=this.getControlUnionData("vnCreativeBlock","urls");if(!e)return!1;var
i=Object.keys(e).some(function(i){return t.split("?")
[0].replace(/^(https*:)*\/\//,"").toLowerCase()===e[i]});return
i},i.setSelectedCreative=function(t,e,i){void 0===i&&(i=null);var
n=encodeURIComponent(t);if(n&&(this._media=n),i=i&&i.replace&&i.replace(/
[\t\n\r ]/gi,""),this.setControlData("vnMacros",
{"[ASSETURI]":n,"[ASSETDURATION]":e,"[ASSETADPARAMS]":i}),Yo.d.call(this)){var
r=Yo.c.call(this,"vnCreative:select")||{},o=r.urls,a=r.uniqueId,s=(o||[])
[0];s&&this.replaceMacros(s,a).then(po.c)}},i.replaceMacros=function(t,e){var
i=this;t=t.replace(/%%SITE%%/g,location&&location.hostname||"").replace(/%%SCHEME%
%/g,location&&location.protocol||"").replace(/%%.*?%%/g,"");var
n=Date.now(),r=t.includes("[TIME]")||t.includes("[REQUEST_STARTED]"),o=Object(pr.h)
(t);return Gn.call(this,o).then(function(){var
o=(i.getControlUnionData("vnTrackingParams")||
{}).trackingParams,a=Bn({},i.getControlUnionData("vnMacros"),{},o);if(r){var
s=function(t){var e=this._requestStartedData;if(!e||!e.length)return null;for(var
i=e.length-1;0<=i;i--){var n=e[i]||{},r=n.uniqueId,o=n.time;if(t===r)return
o}return null}.call(i,e)||null;a["[REQUEST_STARTED]"]=s||-1,a["[TIME]"]=s?n-s:-
1}return i.substituteMacroValue(t,a)})},i.substituteMacroValue=function(t,e){var
i=e||this.getControlUnionData("vnMacros");return i?
Object.keys(i).reduce(function(t,e){return
t&&t.replace(e,i[e])},t):t},i.canChangeVolume=function(){return oo.c.call(this,
["started","playing","paused","loaded"])},i.vpaidJsVideoSlotShouldBeMuted=function(
){return
this.options&&this.options.vpaidJsVideoSlotShouldBeMuted},i.isVpaidJs=function()
{return
this.vpaid&&~this.vpaid.toString().indexOf("VpaidJs")},i.getAnchorElement=function(
){return this.anckorElement},i.trigger=function(e){for(var
i=this,n=arguments.length,r=Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var
a=(this.getControlUnionData("vnEventsParams")||
{}).eventsParams,s=a&&a[e];Gn.call(this,s).then(function(n)
{r.length&&"object"==typeof r[0]?(r[0]=Bn({},r[0],
{},n),t.prototype.trigger.apply(i,[].concat(e,r))):t.prototype.trigger.apply(i,
[].concat(e,r,n))})},i.getAPI=function(){var
t=this;return{getMainModuleId:function(){return
t.mainModuleId},getFormat:function(){return t.format},getVpaid:function(){return
t.vpaid},setControlData:this.setControlData.bind(this),getControlUnionData:this.get
ControlUnionData.bind(this),getControlUnionDataGlobal:this.getControlUnionDataGloba
l.bind(this),getControlRawUnionData:this.getControlRawUnionData.bind(this),getContr
olRawUnionDataGlobal:this.getControlRawUnionDataGlobal.bind(this),getControlNode:th
is.getControlNode.bind(this),getVideoSlot:vo.c.bind(this),getControlInstance:this.g
etControlInstance.bind(this),getLastParameters:this._getLastParameters.bind(this),u
pdateLastParameters:this._updateLastParameters.bind(this),getOptions:function()
{return Bn({},t.options)},getEnvironmentVars:function(){return
Bn({},t.environmentVars)},extendEnvironmentVars:function(e){return Object(fr.g)
(t.environmentVars,e)},getAdWidth:function(){return
t.getAdWidth()},getAdHeight:function(){return
t.getAdHeight()},getIndents:vo.a.bind(this),saveVideoSlotParams:this._saveVideoSlot
Params.bind(this),getAdAspectRatio:this.getAdAspectRatio.bind(this),getAdSkippableS
tate:this.getAdSkippableState.bind(this),setAdSkippableState:this.setAdSkippableSta
te.bind(this),getAdRemainingTime:this.getAdRemainingTime.bind(this),getAdElapsedTim
e:this.getAdElapsedTime.bind(this),getAdDuration:this.getAdDuration.bind(this),resi
zeAd:this.resizeAd.bind(this),setWrapperSize:function(t){var
e=this.getControlNode("wrapper");return e&&Object(cr.b)(e,{height:Object(dr.s)
(t)}),e}.bind(this),inState:oo.c.bind(this),startAd:this.startAd.bind(this),pauseAd
:this.pauseAd.bind(this),resumeAd:this.resumeAd.bind(this),trackStrongUrls:Yo.l.bin
d(this),addVPAIDEventListener:function(e,i,n){return void
0===n&&(n=t),n._addVPAIDEventListener(t,e,i)},removeVPAIDEventListener:function(e,i
,n){return void
0===n&&(n=t),n._removeVPAIDEventListener(t,e,i)},isVpaidJs:this.isVpaidJs.bind(this
),trigger:this.trigger.bind(this),logger:this.logger,getState:function(){return
t.state},getTotalSuccessfulPlays:function(){return
t.vnAfterplay&&t.vnAfterplay._getTotalSuccessfulPlays()||
0},AdVideoStartWasHappenedAtLeastOnce:function(){return
t._AdVideoStartWasHappenedAtLeastOnce},getSavedAdParams:vo.b.bind(this),saveAdParam
s:vo.d.bind(this)}},i.getAdIframes=function(){var
t,e=this.vpaid,i=this.getControlNode("iframe");try{t=null!=i.contentWindow}catch(i)
{t=!1}var n=[];return
e&&e.getAdIframes&&(n=n.concat(e.getAdIframes())),n=n.concat(Promise.resolve(t?
i:window)),Promise.all(n).then(function(t){return t.filter(function(t){return
t})})},e}(ir.a);window.createVPAIDAd=function(t){return or.b.log("Requested new
module instance via window.createVPAIDAd()"),new
zl(t)},window.getVPAIDAd=function(t){return or.b.log("Requested module instance via
window.getVPAIDAd()"),new zl(t)}}]);

You might also like