(function(){var DEPS_GRAPH={'dcmenablermodule':[]};window.STUDIO_SDK_START=+new Date();var f,h=this,l=function(a){return"string"==typeof a},m=function(a,b,c){a=a.split(".");c=c||h;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},p=function(){},q=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"== c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},r=function(a){return"function"==q(a)},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}, aa=function(a,b,c){return a.call.apply(a.bind,arguments)},ba=function(a,b,c){if(!a)throw Error();if(2b?1:0};var A;a:{var na=h.navigator;if(na){var oa=na.userAgent;if(oa){A=oa;break a}}A=""}var B=function(a){return-1!=A.indexOf(a)};var pa=function(a){pa[" "](a);return a};pa[" "]=p;var qa=B("Opera"),C=B("Trident")||B("MSIE"),ra=B("Edge"),sa=B("Gecko")&&!(-1!=A.toLowerCase().indexOf("webkit")&&!B("Edge"))&&!(B("Trident")||B("MSIE"))&&!B("Edge"),ta=-1!=A.toLowerCase().indexOf("webkit")&&!B("Edge"),ua=function(){var a=h.document;return a?a.documentMode:void 0},va; a:{var xa="",ya=function(){var a=A;if(sa)return/rv:([^\);]+)(\)|;)/.exec(a);if(ra)return/Edge\/([\d\.]+)/.exec(a);if(C)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ta)return/WebKit\/(\S+)/.exec(a);if(qa)return/(?:Version)[ \/]?(\S+)/.exec(a)}();ya&&(xa=ya?ya[1]:"");if(C){var za=ua();if(null!=za&&za>parseFloat(xa)){va=String(za);break a}}va=xa}var Aa=va,Ba={},Ca;var Da=h.document;Ca=Da&&C?ua()||("CSS1Compat"==Da.compatMode?parseInt(Aa,10):5):void 0;var Ea={na:"dcm",oa:"studio"};m("studio.sdk.ContainerState",{COLLAPSING:"collapsing",COLLAPSED:"collapsed",EXPANDING:"expanding",EXPANDED:"expanded",FS_COLLAPSING:"fs_collapsing",FS_EXPANDING:"fs_expanding",FS_EXPANDED:"fs_expanded"},void 0);m("studio.sdk.MraidMethod",{GET_CURRENT_POSITION:"getCurrentPosition",GET_DEFAULT_POSITION:"getDefaultPosition",GET_SCREEN_SIZE:"getScreenSize",CREATE_CALENDAR_EVENT:"createCalendarEvent",GET_MAX_SIZE:"getMaxSize",PLAY_VIDEO:"playVideo",STORE_PICTURE:"storePicture",SUPPORTS:"supports",USE_CUSTOM_CLOSE:"useCustomClose"},void 0);var D="closure_listenable_"+(1E6*Math.random()|0),Fa=0;var Ga=function(){};m("studio.sdk.IEnabler",Ga,void 0);f=Ga.prototype;f.da=function(){};f.Y=function(){};f.X=function(){};f.fa=function(){};f.ea=function(){};f.S=function(){};f.R=function(){};f.P=function(){};f.O=function(){};f.A=function(){};f.getParameter=function(){};f.w=function(){};f.D=function(){};f.C=function(){};f.ga=function(){};f.ha=function(){};f.J=function(){};f.K=function(){};f.$=function(){};f.G=function(){};f.Z=function(){};f.F=function(){};f.close=function(){};f.M=function(){}; f.T=function(){};f.addEventListener=function(){};f.removeEventListener=function(){};f.W=function(){};f.V=function(){};f.ba=function(){};f.I=function(){};f.aa=function(){};f.H=function(){};f.L=function(){};f.N=function(){};m("studio.sdk.logger",{}.sa,void 0);m("studio.module.ModuleId",{ENABLER:"enabler",DCM_ENABLER:"dcmenabler",VIDEO:"video",CONFIGURABLE:"configurable",CONFIGURABLE_FILLER:"configurablefiller",LAYOUTS:"layouts",FILLER:"layoutsfiller",RAD_VIDEO:"rad_ui_video",GDN:"gdn"},void 0);var Ha=function(a,b){this.c=a;this.f=b;this.b=0;this.a=null};Ha.prototype.get=function(){if(0a.b&&(a.b++,b.next=a.a,a.a=b)};var Ja=function(a){h.setTimeout(function(){throw a;},0)},Ka,La=function(){var a=h.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!B("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host; a=u(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!B("Trident")&&!B("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var a=c.B;c.B=null;a()}};return function(a){d.next={B:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")? function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){h.setTimeout(a,0)}};var Ma=function(){this.b=this.a=null},Oa=new Ha(function(){return new Na},function(a){a.reset()});Ma.prototype.add=function(a,b){var c=Oa.get();c.set(a,b);this.b?this.b.next=c:this.a=c;this.b=c};var Qa=function(){var a=Pa,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.b=null),b.next=null);return b},Na=function(){this.next=this.b=this.a=null};Na.prototype.set=function(a,b){this.a=a;this.b=b;this.next=null};Na.prototype.reset=function(){this.next=this.b=this.a=null};var Ta=function(a,b){E||Ra();Sa||(E(),Sa=!0);Pa.add(a,b)},E,Ra=function(){if(h.Promise&&h.Promise.resolve){var a=h.Promise.resolve(void 0);E=function(){a.then(Ua)}}else E=function(){var a=Ua;!r(h.setImmediate)||h.Window&&h.Window.prototype&&!B("Edge")&&h.Window.prototype.setImmediate==h.setImmediate?(Ka||(Ka=La()),Ka(a)):h.setImmediate(a)}},Sa=!1,Pa=new Ma,Ua=function(){for(var a;a=Qa();){try{a.a.call(a.b)}catch(b){Ja(b)}Ia(Oa,a)}Sa=!1};var Va=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Wa=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var G=function(a,b){this.a=0;this.i=void 0;this.f=this.b=this.c=null;this.g=this.h=!1;if(a!=p)try{var c=this;a.call(b,function(a){F(c,2,a)},function(a){F(c,3,a)})}catch(d){F(this,3,d)}},Xa=function(){this.next=this.c=this.b=this.f=this.a=null;this.g=!1};Xa.prototype.reset=function(){this.c=this.b=this.f=this.a=null;this.g=!1};var Ya=new Ha(function(){return new Xa},function(a){a.reset()}),Za=function(a,b,c){var d=Ya.get();d.f=a;d.b=b;d.c=c;return d}; G.prototype.then=function(a,b,c){return $a(this,r(a)?a:null,r(b)?b:null,c)};Va(G);G.prototype.cancel=function(a){0==this.a&&Ta(function(){var b=new H(a);ab(this,b)},this)}; var ab=function(a,b){if(0==a.a)if(a.c){var c=a.c;if(c.b){for(var d=0,e=null,g=null,k=c.b;k&&(k.g||(d++,k.a==a&&(e=k),!(e&&1=b.j&&b.cancel())}this.ca?this.ca.call(this.U,this):this.o=!0;if(!this.a){a=new J(this);if(this.a){if(!this.o)throw new jb(this);this.o=!1}this.a=!0;this.b=a;this.f=!0;kb(this)}}}; I.prototype.u=function(a,b){this.i=!1;this.a=!0;this.b=b;this.f=!a;kb(this)};var lb=function(a,b,c){a.g.push([b,c,void 0]);a.a&&kb(a)};I.prototype.then=function(a,b,c){var d,e,g=new G(function(a,b){d=a;e=b});lb(this,d,function(a){a instanceof J?g.cancel():e(a)});return g.then(a,b,c)};Va(I); var mb=function(a){return ea(a.g,function(a){return r(a[1])})},kb=function(a){if(a.h&&a.a&&mb(a)){var b=a.h,c=nb[b];c&&(h.clearTimeout(c.a),delete nb[b]);a.h=0}a.c&&(a.c.j--,delete a.c);b=a.b;for(var d=c=!1;a.g.length&&!a.i;){var e=a.g.shift(),g=e[0],k=e[1];e=e[2];if(g=a.f?k:g)try{var n=g.call(e||a.U,b);void 0!==n&&(a.f=a.f&&(n==b||n instanceof Error),a.b=b=n);if(Wa(b)||"function"===typeof h.Promise&&b instanceof h.Promise)d=!0,a.i=!0}catch(R){b=R,a.f=!0,mb(a)||(c=!0)}}a.b=b;d&&(n=u(a.u,a,!0),d=u(a.u, a,!1),b instanceof I?(lb(b,n,d),b.ka=!0):b.then(n,d));c&&(b=new ob(b),nb[b.a]=b,a.h=b.a)},jb=function(){w.call(this)};v(jb,w);jb.prototype.message="Deferred has already fired";jb.prototype.name="AlreadyCalledError";var J=function(){w.call(this)};v(J,w);J.prototype.message="Deferred was canceled";J.prototype.name="CanceledError";var ob=function(a){this.a=h.setTimeout(u(this.c,this),0);this.b=a};ob.prototype.c=function(){delete nb[this.a];throw this.b;};var nb={};var K=function(a,b){this.b={};this.a=[];this.c=0;var c=arguments.length;if(1=a.keyCode)a.keyCode=-1}catch(b){}};var Fb=function(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.b=e;this.key=++Fa;this.s=this.v=!1},Gb=function(a){a.s=!0;a.listener=null;a.a=null;a.src=null;a.b=null};var Hb=function(a){this.src=a;this.a={};this.b=0};Hb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.a[g];a||(a=this.a[g]=[],this.b++);var k=Ib(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(k){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.a;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;0<=e;e--){b.a=d[e];var g=Yb(d[e],a,!0,b);c=c&&g}for(e=0;e>>0),Pb=function(a){if(r(a))return a;a[Zb]||(a[Zb]=function(b){return a.handleEvent(b)});return a[Zb]};var Q=function(){this.a=new Hb(this)};v(Q,qb);Q.prototype[D]=!0;Q.prototype.addEventListener=function(a,b,c,d){Ob(this,a,b,c,d)};Q.prototype.removeEventListener=function(a,b,c,d){Vb(this,a,b,c,d)};var S=new K;S.set("enabler","enabler");S.set("dcmenabler","dcm");S.set("video","vid");S.set("configurable","cfg");S.set("configurablefiller","cfg_fill");S.set("layouts","lay");S.set("layoutsfiller","lay_fill");S.set("gdn","gdn");S.set("rad_ui_video","rad");m("goog.exportSymbol",function(a,b,c){m(a,b,c)},this);var $b=function(a){a+="goog.exportSymbol('studioLoader.context.evalInContext', "+$b.toString()+");";eval(a)};m("studioLoader.context.evalInContext",$b,void 0);var ac=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,bc=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.i=b}else a.i=null},fc=function(a,b,c){b instanceof T?(a.b=b,kc(a.b,a.a)):(c||(b=V(b,lc)),a.b=new T(b,a.a))},U=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},V=function(a,b,c){return l(a)?(a=encodeURI(a).replace(b,mc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},mc=function(a){a=a.charCodeAt(0); return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},gc=/[#\/\?@]/g,ic=/[#\?:]/g,hc=/[#\?]/g,lc=/[#\?@]/g,jc=/#/g,T=function(a,b){this.b=this.a=null;this.c=a||null;this.f=!!b},W=function(a){a.a||(a.a=new K,a.b=0,a.c&&bc(a.c,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};T.prototype.add=function(a,b){W(this);this.c=null;a=X(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.b+=1;return this}; var nc=function(a,b){W(a);b=X(a,b);L(a.a.b,b)&&(a.c=null,a.b-=a.a.get(b).length,a=a.a,L(a.b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&pb(a)))},oc=function(a,b){W(a);b=X(a,b);return L(a.a.b,b)};f=T.prototype;f.forEach=function(a,b){W(this);this.a.forEach(function(c,d){da(c,function(c){a.call(b,c,d,this)},this)},this)};f.l=function(){W(this);for(var a=this.a.m(),b=this.a.l(),c=[],d=0;d