(function(){var DEPS_GRAPH={'enablermodule':[],'configurablemodule':['enablermodule'],'gdnmodule':['enablermodule'],'layoutsmodule':['enablermodule'],'videomodule':['enablermodule'],'configurablefillermodule':['configurablemodule'],'layoutsfillermodule':['layoutsmodule'],'rad_ui_videomodule':['videomodule']};var g,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ba="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ca=function(a,b){if(b){var c=ba;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}};
ca("String.prototype.endsWith",function(a){return a?a:function(a,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.endsWith must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.endsWith must not be a regular expression");var b=this+"";a+="";void 0===c&&(c=b.length);c=Math.max(0,Math.min(c|0,b.length));for(var e=a.length;0<e&&0<c;)if(b[--c]!=a[--e])return!1;return 0>=e}});
ca("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});ca("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length;for(c=c||0;c<e;c++)if(b[c]==a||Object.is(b[c],a))return!0;return!1}});
var h=this,l=function(a){return void 0!==a},n=function(a){return"string"==typeof a},da=function(a){return"number"==typeof a},p=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&&l(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}},ea=function(a,b){a=a.split(".");b=b||h;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},fa=function(){},ha=function(){throw Error("unimplemented abstract method");
},ja=function(a){a.jb=void 0;a.ea=function(){return a.jb?a.jb:a.jb=new a}},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"array"==q(a)},ka=function(a){var b=q(a);return"array"==b||"object"==b&&"number"==typeof a.length},t=function(a){return"function"==q(a)},u=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},na=function(a){return a[la]||(a[la]=++ma)},la="closure_uid_"+(1E9*Math.random()>>>0),ma=0,oa=function(a,
b,c){return a.call.apply(a.bind,arguments)},pa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},v=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?v=oa:v=pa;return v.apply(null,arguments)},qa=function(a,b){var c=Array.prototype.slice.call(arguments,
1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},ra=Date.now||function(){return+new Date},x=function(a,b){function c(){}c.prototype=b.prototype;a.l=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.wf=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var sa=function(a,b){this.h=Math.random()<a;this.j=b;this.g=null;this.f=""};sa.prototype.b=function(){return this.h&&null!==this.g?(this.j+"//pagead2.googlesyndication.com/pagead/gen_204/?id="+this.g+this.f).substring(0,2E3):""};var ta=function(){};p("studio.common.Environment",ta,void 0);ta.Type={LIVE:1,LOCAL:2,BROWSER:4,IN_APP:8,LAYOUTS_PREVIEW:16,CREATIVE_TOOLSET:32,RENDERING_STUDIO:64,RENDERING_TEST:128,PREVIEW:256};var ua=6;ta.addType=function(a){ua|=a;va(a)};var wa=function(a){ua=a|6;va(ua)};ta.setType=wa;var z=function(a){return(ua&a)==a};ta.hasType=z;ta.getValue=function(){return ua};
var va=function(a){xa(a,2,1);xa(a,1,2);xa(a,4,8);xa(a,8,4);xa(a,128,64);xa(a,64,128);xa(a,256,2)},xa=function(a,b,c){(a&b)==b&&(ua|=b,ua&=~c)};var ya=function(a,b){sa.call(this,a,b);this.c=this.a=null;this.g="rmad_mod"};x(ya,sa);ya.prototype.b=function(){return null!==this.a&&null!==this.c?(this.f="&status="+this.a+"&type="+this.c,ya.l.b.call(this)):""};var A=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};x(A,Error);A.prototype.name="CustomError";var za;var Ba=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");A.call(this,c+a[d])};x(Ba,A);Ba.prototype.name="AssertionError";
var Ca=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ba(""+e,f||[]);},B=function(a,b,c){a||Ca("",null,b,Array.prototype.slice.call(arguments,2));return a},Da=function(a,b){throw new Ba("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ea=function(a,b,c){da(a)||Ca("Expected number but got %s: %s.",[q(a),a],b,Array.prototype.slice.call(arguments,2));return a},Fa=function(a,b,c){n(a)||Ca("Expected string but got %s: %s.",[q(a),a],
b,Array.prototype.slice.call(arguments,2))},Ga=function(a,b,c){t(a)||Ca("Expected function but got %s: %s.",[q(a),a],b,Array.prototype.slice.call(arguments,2))},Ha=function(a,b,c){r(a)||Ca("Expected array but got %s: %s.",[q(a),a],b,Array.prototype.slice.call(arguments,2))};var Ia=Array.prototype.indexOf?function(a,b){B(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(n(a))return n(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},C=Array.prototype.forEach?function(a,b,c){B(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ja=Array.prototype.filter?function(a,b,c){B(null!=a.length);return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,k=n(a)?a.split(""):a,m=0;m<d;m++)if(m in k){var w=k[m];b.call(c,w,m,a)&&(e[f++]=w)}return e},Ka=Array.prototype.map?function(a,b,c){B(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=n(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));return e},La=Array.prototype.some?function(a,b){B(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?
a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},Ma=Array.prototype.every?function(a,b,c){B(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},Oa=function(a){var b=h.performance.getEntriesByType("resource");a=Na(b,a,void 0);return 0>a?null:n(b)?b.charAt(a):b[a]},Na=function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&
b.call(c,e[f],f,a))return f;return-1},Qa=function(a,b){b=Ia(a,b);var c;(c=0<=b)&&Pa(a,b);return c},Pa=function(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)},Ra=function(a){return Array.prototype.concat.apply([],arguments)},Sa=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Ta=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ka(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}},
Va=function(a,b,c,d){B(null!=a.length);Array.prototype.splice.apply(a,Ua(arguments,1))},Ua=function(a,b,c){B(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Xa=function(a,b){a.sort(b||Wa)},Ya=function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var e=b||Wa;Xa(c,function(a,b){return e(a.value,b.value)||a.index-b.index});for(d=0;d<a.length;d++)a[d]=c[d].value},Wa=function(a,b){return a>b?1:a<b?-1:0};var Za=function(a,b){return 0==a.lastIndexOf(b,0)},$a=function(a){return/^[\s\xa0]*$/.test(a)},ab=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},bb=function(a){return decodeURIComponent(a.replace(/\+/g," "))},jb=function(a){if(!cb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(db,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(eb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(fb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(gb,"&quot;"));-1!=
a.indexOf("'")&&(a=a.replace(hb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(ib,"&#0;"));return a},db=/&/g,eb=/</g,fb=/>/g,gb=/"/g,hb=/'/g,ib=/\x00/g,cb=/[\x00&<>"']/,kb=function(a,b){return-1!=a.indexOf(b)},lb=function(a,b){var c=a;0<a.length&&0<b&&(c=a.substr(0,0)+a.substr(0+b,a.length-0-b));return c},mb=function(a){return null==a?"":String(a)},nb=function(a){return Array.prototype.join.call(arguments,"")},pb=function(a,b){var c=0;a=ab(String(a)).split(".");b=ab(String(b)).split(".");for(var d=
Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",k=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==f[0].length&&0==k[0].length)break;c=ob(0==f[1].length?0:parseInt(f[1],10),0==k[1].length?0:parseInt(k[1],10))||ob(0==f[2].length,0==k[2].length)||ob(f[2],k[2]);f=f[3];k=k[3]}while(0==c)}return c},ob=function(a,b){return a<b?-1:a>b?1:0},qb=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b},rb=function(a){return String(a).replace(/\-([a-z])/g,
function(a,c){return c.toUpperCase()})},sb=function(a){var b=n(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};var tb;a:{var ub=h.navigator;if(ub){var vb=ub.userAgent;if(vb){tb=vb;break a}}tb=""}var D=function(a){return kb(tb,a)};var wb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},xb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},yb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},zb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Ab=function(a){var b=0,c;for(c in a)b++;return b},Bb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Cb=function(a,b){var c=ka(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;
a=a[d[c]]}return a},Db=function(a,b){return null!==a&&b in a},Eb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Fb=function(a,b){return null!==a&&b in a?a[b]:void 0},Gb=function(a,b,c){b in a||(a[b]=c)},Hb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Ib="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Jb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Ib.length;f++)c=
Ib[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Kb=function(a){var b=arguments.length;if(1==b&&r(arguments[0]))return Kb.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};var Lb=function(){return(D("Chrome")||D("CriOS"))&&!D("Edge")};var Mb=function(){return D("iPhone")&&!D("iPod")&&!D("iPad")},Nb=function(){return Mb()||D("iPad")||D("iPod")};var Ob=function(a){Ob[" "](a);return a};Ob[" "]=fa;var Qb=function(a,b){var c=Pb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Rb=D("Opera"),Sb=D("Trident")||D("MSIE"),Tb=D("Edge"),Ub=Tb||Sb,Vb=D("Gecko")&&!(kb(tb.toLowerCase(),"webkit")&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge"),Wb=kb(tb.toLowerCase(),"webkit")&&!D("Edge"),Xb=function(){var a=h.document;return a?a.documentMode:void 0},Yb;
a:{var Zb="",$b=function(){var a=tb;if(Vb)return/rv:([^\);]+)(\)|;)/.exec(a);if(Tb)return/Edge\/([\d\.]+)/.exec(a);if(Sb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Wb)return/WebKit\/(\S+)/.exec(a);if(Rb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();$b&&(Zb=$b?$b[1]:"");if(Sb){var ac=Xb();if(null!=ac&&ac>parseFloat(Zb)){Yb=String(ac);break a}}Yb=Zb}var bc=Yb,Pb={},cc=function(a){return Qb(a,function(){return 0<=pb(bc,a)})},dc;var ec=h.document;
dc=ec&&Sb?Xb()||("CSS1Compat"==ec.compatMode?parseInt(bc,10):5):void 0;var fc=!Sb||9<=Number(dc);var gc=function(a,b){var c=(c=a&&a.ownerDocument)&&(c.defaultView||c.parentWindow)||h;"undefined"!=typeof c[b]&&"undefined"!=typeof c.Location&&"undefined"!=typeof c.Element&&(c=a&&(a instanceof c[b]||!(a instanceof c.Location||a instanceof c.Element)),a=u(a)?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):void 0===a?"undefined":null===a?"null":typeof a,B(c,"Argument is not a %s (or a non-Element, non-Location mock); got: %s",b,a))};var ic=function(){this.a="";this.b=hc};ic.prototype.na=!0;ic.prototype.ja=function(){return this.a};ic.prototype.toString=function(){return"Const{"+this.a+"}"};var jc=function(a){if(a instanceof ic&&a.constructor===ic&&a.b===hc)return a.a;Da("expected object of type Const, got '"+a+"'");return"type_error:Const"},hc={},kc=function(a){var b=new ic;b.a=a;return b};kc("");var mc=function(){this.a="";this.b=lc};mc.prototype.na=!0;mc.prototype.ja=function(){return this.a};mc.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var nc=function(a){if(a instanceof mc&&a.constructor===mc&&a.b===lc)return a.a;Da("expected object of type TrustedResourceUrl, got '"+a+"' of type "+q(a));return"type_error:TrustedResourceUrl"},lc={};var pc=function(){this.a="";this.b=oc};pc.prototype.na=!0;pc.prototype.ja=function(){return this.a};pc.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};
var qc=function(a){if(a instanceof pc&&a.constructor===pc&&a.b===oc)return a.a;Da("expected object of type SafeUrl, got '"+a+"' of type "+q(a));return"type_error:SafeUrl"},rc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,tc=function(a){if(a instanceof pc)return a;a=a.na?a.ja():String(a);rc.test(a)||(a="about:invalid#zClosurez");return sc(a)},oc={},sc=function(a){var b=new pc;b.a=a;return b};sc("about:blank");var vc=function(){this.a="";this.b=uc};vc.prototype.na=!0;var uc={};vc.prototype.ja=function(){return this.a};vc.prototype.toString=function(){return"SafeStyle{"+this.a+"}"};
var wc=function(a){var b=new vc;b.a=a;return b},xc=wc(""),Cc=function(a){if(a instanceof pc)return'url("'+qc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof ic)a=jc(a);else{a=String(a);var b=a.replace(yc,"$1").replace(zc,"url");if(Ac.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b&&c?a=Bc(a):(Da("String value requires balanced quotes, got: "+a),a="zClosurez")}else Da("String value allows only [-,.\"'%_!# a-zA-Z0-9] and simple functions, got: "+
a),a="zClosurez"}B(!/[{;}]/.test(a),"Value does not allow [{;}].");return a},Ac=/^[-,."'%_!# a-zA-Z0-9]+$/,zc=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,yc=/\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-0-9a-z.%, ]+\)/g,Bc=function(a){return a.replace(zc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});a=tc(d).ja();return c+b+a+b+e})};var Ec=function(){this.a="";this.b=Dc};Ec.prototype.na=!0;
var Dc={},Gc=function(a,b){if(kb(a,"<"))throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var k=c[f];if(d[k])e.push(d[k]);else if(Eb(d,k)&&e.pop()!=k){c=!1;break a}}c=0==e.length}if(!c)throw Error("() and [] in selector must be balanced, got: "+a);
if(!(b instanceof vc)){c=b;b="";for(var m in c){if(!/^[-_a-zA-Z0-9]+$/.test(m))throw Error("Name allows only [-_a-zA-Z0-9], got: "+m);d=c[m];null!=d&&(d=r(d)?Ka(d,Cc).join(" "):Cc(d),b+=m+":"+d+";")}b?(m=b,B(!/[<>]/.test(m),"Forbidden characters in style string: "+m),b=wc(b)):b=xc}b instanceof vc&&b.constructor===vc&&b.b===uc?m=b.a:(Da("expected object of type SafeStyle, got '"+b+"' of type "+q(b)),m="type_error:SafeStyle");return Fc(a+"{"+m+"}")};Ec.prototype.ja=function(){return this.a};
Ec.prototype.toString=function(){return"SafeStyleSheet{"+this.a+"}"};var Fc=function(a){var b=new Ec;b.a=a;return b};Fc("");var Ic=function(){this.a="";this.b=Hc};Ic.prototype.na=!0;Ic.prototype.ja=function(){return this.a};Ic.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Jc=function(a){if(a instanceof Ic&&a.constructor===Ic&&a.b===Hc)return a.a;Da("expected object of type SafeHtml, got '"+a+"' of type "+q(a));return"type_error:SafeHtml"},Hc={},Kc=function(a){var b=new Ic;b.a=a;return b};Kc("<!DOCTYPE html>");Kc("");Kc("<br>");var Lc=function(a,b){gc(a,"HTMLScriptElement");a.src=nc(b)};var Mc=function(a,b){this.width=a;this.height=b};g=Mc.prototype;g.toString=function(){return"("+this.width+" x "+this.height+")"};g.aspectRatio=function(){return this.width/this.height};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Pc=function(a){return a?new Nc(Oc(a)):za||(za=new Nc)},Rc=function(a,b){wb(b,function(b,d){b&&b.na&&(b=b.ja());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Qc.hasOwnProperty(d)?a.setAttribute(Qc[d],b):Za(d,"aria-")||Za(d,"data-")?a.setAttribute(d,b):a[d]=b})},Qc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",
valign:"vAlign",width:"width"},Sc=function(a){return a.parentWindow||a.defaultView},E=function(a,b,c){return Tc(document,arguments)},Tc=function(a,b){var c=String(b[0]),d=b[1];if(!fc&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',jb(d.name),'"');if(d.type){c.push(' type="',jb(d.type),'"');var e={};Jb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(n(d)?c.className=d:r(d)?c.className=d.join(" "):Rc(c,d));2<b.length&&Uc(a,c,b,2);return c},Uc=function(a,b,c,d){function e(c){c&&
b.appendChild(n(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];!ka(f)||u(f)&&0<f.nodeType?e(f):C(Vc(f)?Sa(f):f,e)}},Wc=function(a,b){a.appendChild(b)},Xc=function(a,b){Uc(Oc(a),a,arguments,1)},Yc=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Oc=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Vc=function(a){if(a&&"number"==typeof a.length){if(u(a))return"function"==typeof a.item||"string"==typeof a.item;if(t(a))return"function"==
typeof a.item}return!1},Zc=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){B("parentNode"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null},Nc=function(a){this.a=a||h.document||document};Nc.prototype.getElement=function(a){return n(a)?this.a.getElementById(a):a};var $c=function(a,b){a=a.a;b=b&&"*"!=b?String(b).toUpperCase():"";a.querySelectorAll&&a.querySelector&&b?b=a.querySelectorAll(b+""):b=a.getElementsByTagName(b||"*");return b};Nc.prototype.b=function(a,b,c){return Tc(this.a,arguments)};
var ad=function(a,b){return a.a.createElement(String(b))};Nc.prototype.c=Wc;Nc.prototype.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var bd={Re:"dcm",tf:"studio"};var cd=Object.freeze||function(a){return a};var dd=function(a,b,c){this.reset(a,b,c,void 0,void 0)};dd.prototype.a=null;var ed=0;dd.prototype.reset=function(a,b,c,d,e){"number"==typeof e||ed++;this.c=d||ra();this.g=a;this.f=b;this.b=c;delete this.a};var fd=function(a){this.h=a;this.a=this.g=this.f=this.c=null},gd=function(a,b){this.name=a;this.value=b};gd.prototype.toString=function(){return this.name};var hd=new gd("OFF",Infinity),id=new gd("SHOUT",1200),jd=new gd("SEVERE",1E3),kd=new gd("WARNING",900),ld=new gd("INFO",800),md=new gd("CONFIG",700),nd=new gd("FINE",500),od=new gd("FINER",400),pd=new gd("FINEST",300),qd=new gd("ALL",0),rd=[hd,id,jd,kd,ld,md,nd,od,pd,qd],sd=null;fd.prototype.b=function(a){this.f=a};
var td=function(a){if(a.f)return a.f;if(a.c)return td(a.c);Da("Root logger has no level set.");return null};g=fd.prototype;g.log=function(a,b,c){if(a.value>=td(this).value)for(t(b)&&(b=b()),a=new dd(a,String(b),this.h),c&&(a.a=c),c=this;c;){var d=c,e=a;if(d.a)for(var f=0;b=d.a[f];f++)b(e);c=c.c}};g.ze=function(a,b){this.log(id,a,b)};g.xc=function(a,b){this.log(jd,a,b)};g.Ua=function(a,b){this.log(kd,a,b)};g.A=function(a,b){this.log(ld,a,b)};g.Lc=function(a,b){this.log(md,a,b)};
g.fb=function(a,b){this.log(nd,a,b)};g.Tc=function(a,b){this.log(od,a,b)};g.Uc=function(a,b){this.log(pd,a,b)};var ud={},vd=null,wd=function(){vd||(vd=new fd(""),ud[""]=vd,vd.b(md))},xd=function(){wd();return vd},F=function(a){wd();var b;if(!(b=ud[a])){b=new fd(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=F(a.substr(0,c));c.g||(c.g={});c.g[d]=b;b.c=c;ud[a]=b}return b};var yd=function(a,b){a&&a.xc(b,void 0)},G=function(a,b,c){a&&a.Ua(b,c)},H=function(a,b){a&&a.A(b,void 0)},zd=function(a,b){a&&a.fb(b,void 0)};var I=F("studio.sdk");p("studio.sdk.logger",I,void 0);p("studio.sdk.logger.setLevel",I.b,void 0);p("studio.sdk.logger.Level.OFF",hd,void 0);p("studio.sdk.logger.Level.SHOUT",id,void 0);p("studio.sdk.logger.Level.SEVERE",jd,void 0);p("studio.sdk.logger.Level.WARNING",kd,void 0);p("studio.sdk.logger.Level.INFO",ld,void 0);p("studio.sdk.logger.Level.CONFIG",md,void 0);p("studio.sdk.logger.Level.FINE",nd,void 0);p("studio.sdk.logger.Level.FINER",od,void 0);p("studio.sdk.logger.Level.FINEST",pd,void 0);
p("studio.sdk.logger.Level.ALL",qd,void 0);p("studio.sdk.logger.shout",I.ze,void 0);p("studio.sdk.logger.severe",I.xc,void 0);p("studio.sdk.logger.warning",I.Ua,void 0);p("studio.sdk.logger.info",I.A,void 0);p("studio.sdk.logger.config",I.Lc,void 0);p("studio.sdk.logger.fine",I.fb,void 0);p("studio.sdk.logger.finer",I.Tc,void 0);p("studio.sdk.logger.finest",I.Uc,void 0);var Ad={ENABLER:"enabler",DCM_ENABLER:"dcmenabler",VIDEO:"video",CONFIGURABLE:"configurable",CONFIGURABLE_FILLER:"configurablefiller",LAYOUTS:"layouts",FILLER:"layoutsfiller",RAD_VIDEO:"rad_ui_video",GDN:"gdn"};p("studio.module.ModuleId",Ad,void 0);var Cd=function(a){Bd();var b=new mc;b.a=a;return b},Bd=fa;var Dd=function(a,b){this.c=a;this.g=b;this.b=0;this.a=null};Dd.prototype.get=function(){if(0<this.b){this.b--;var a=this.a;this.a=a.next;a.next=null}else a=this.c();return a};var Ed=function(a,b){a.g(b);100>a.b&&(a.b++,b.next=a.a,a.a=b)};var Fd=function(a){var b=1;b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};var Gd=function(a){h.setTimeout(function(){throw a;},0)},Hd,Id=function(){var a=h.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!D("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=v(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&&!D("Trident")&&!D("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(l(c.next)){c=c.next;var a=c.Ib;c.Ib=null;a()}};return function(a){d.next={Ib: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 Jd=function(){this.b=this.a=null},Ld=new Dd(function(){return new Kd},function(a){a.reset()});Jd.prototype.add=function(a,b){var c=Ld.get();c.set(a,b);this.b?this.b.next=c:(B(!this.a),this.a=c);this.b=c};var Nd=function(){var a=Md,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.b=null),b.next=null);return b},Kd=function(){this.next=this.scope=this.a=null};Kd.prototype.set=function(a,b){this.a=a;this.scope=b;this.next=null};Kd.prototype.reset=function(){this.next=this.scope=this.a=null};var Rd=function(a,b){Od||Pd();Qd||(Od(),Qd=!0);Md.add(a,b)},Od,Pd=function(){if(-1!=String(h.Promise).indexOf("[native code]")){var a=h.Promise.resolve(void 0);Od=function(){a.then(Sd)}}else Od=function(){var a=Sd;!t(h.setImmediate)||h.Window&&h.Window.prototype&&!D("Edge")&&h.Window.prototype.setImmediate==h.setImmediate?(Hd||(Hd=Id()),Hd(a)):h.setImmediate(a)}},Qd=!1,Md=new Jd,Sd=function(){for(var a;a=Nd();){try{a.a.call(a.scope)}catch(b){Gd(b)}Ed(Ld,a)}Qd=!1};var Td=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Ud=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Xd=function(a,b){this.a=0;this.j=void 0;this.g=this.b=this.c=null;this.f=this.h=!1;if(a!=fa)try{var c=this;a.call(b,function(a){Vd(c,2,a)},function(a){if(!(a instanceof Wd))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(e){}Vd(c,3,a)})}catch(d){Vd(this,3,d)}},Yd=function(){this.next=this.g=this.c=this.b=this.a=null;this.f=!1};Yd.prototype.reset=function(){this.g=this.c=this.b=this.a=null;this.f=!1};
var Zd=new Dd(function(){return new Yd},function(a){a.reset()}),$d=function(a,b,c){var d=Zd.get();d.b=a;d.c=b;d.g=c;return d},ae=function(a){if(a instanceof Xd)return a;var b=new Xd(fa);Vd(b,2,a);return b},be=function(a){return new Xd(function(b,c){c(a)})},de=function(a,b,c){ce(a,b,c,null)||Rd(qa(b,a))},ee=function(a){return new Xd(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},k=function(a){c(a)},m=0,w;m<a.length;m++)w=a[m],de(w,qa(f,m),k);else b(e)})};
Xd.prototype.then=function(a,b,c){null!=a&&Ga(a,"opt_onFulfilled should be a function.");null!=b&&Ga(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return fe(this,t(a)?a:null,t(b)?b:null,c)};Td(Xd);var ge=function(a,b){return fe(a,null,b,void 0)};Xd.prototype.cancel=function(a){0==this.a&&Rd(function(){var b=new Wd(a);he(this,b)},this)};
var he=function(a,b){if(0==a.a)if(a.c){var c=a.c;if(c.b){for(var d=0,e=null,f=null,k=c.b;k&&(k.f||(d++,k.a==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.a&&1==d?he(c,b):(f?(d=f,B(c.b),B(null!=d),d.next==c.g&&(c.g=d),d.next=d.next.next):ie(c),je(c,e,3,b)))}a.c=null}else Vd(a,3,b)},le=function(a,b){a.b||2!=a.a&&3!=a.a||ke(a);B(null!=b.b);a.g?a.g.next=b:a.b=b;a.g=b},fe=function(a,b,c,d){var e=$d(null,null,null);e.a=new Xd(function(a,k){e.b=b?function(c){try{var e=b.call(d,c);a(e)}catch(y){k(y)}}:
a;e.c=c?function(b){try{var e=c.call(d,b);!l(e)&&b instanceof Wd?k(b):a(e)}catch(y){k(y)}}:k});e.a.c=a;le(a,e);return e.a};Xd.prototype.o=function(a){B(1==this.a);this.a=0;Vd(this,2,a)};Xd.prototype.v=function(a){B(1==this.a);this.a=0;Vd(this,3,a)};
var Vd=function(a,b,c){0==a.a&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.a=1,ce(c,a.o,a.v,a)||(a.j=c,a.a=b,a.c=null,ke(a),3!=b||c instanceof Wd||me(a,c)))},ce=function(a,b,c,d){if(a instanceof Xd)return null!=b&&Ga(b,"opt_onFulfilled should be a function."),null!=c&&Ga(c,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?"),le(a,$d(b||fa,c||null,d)),!0;if(Ud(a))return a.then(b,c,d),!0;if(u(a))try{var e=a.then;if(t(e))return ne(a,
e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},ne=function(a,b,c,d,e){var f=!1,k=function(a){f||(f=!0,c.call(e,a))},m=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,k,m)}catch(w){m(w)}},ke=function(a){a.h||(a.h=!0,Rd(a.H,a))},ie=function(a){var b=null;a.b&&(b=a.b,a.b=b.next,b.next=null);a.b||(a.g=null);null!=b&&B(null!=b.b);return b};Xd.prototype.H=function(){for(var a;a=ie(this);)je(this,a,this.a,this.j);this.h=!1};
var je=function(a,b,c,d){if(3==c&&b.c&&!b.f)for(;a&&a.f;a=a.c)a.f=!1;if(b.a)b.a.c=null,oe(b,c,d);else try{b.f?b.b.call(b.g):oe(b,c,d)}catch(e){pe.call(null,e)}Ed(Zd,b)},oe=function(a,b,c){2==b?a.b.call(a.g,c):a.c&&a.c.call(a.g,c)},me=function(a,b){a.f=!0;Rd(function(){a.f&&pe.call(null,b)})},pe=Gd,Wd=function(a){A.call(this,a)};x(Wd,A);Wd.prototype.name="cancel";/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var J=function(a,b){this.j=[];this.D=a;this.B=b||null;this.g=this.a=!1;this.c=void 0;this.v=this.$=this.o=!1;this.H=0;this.b=null;this.f=0};J.prototype.cancel=function(a){if(this.a)this.c instanceof J&&this.c.cancel();else{if(this.b){var b=this.b;delete this.b;a?b.cancel(a):(b.f--,0>=b.f&&b.cancel())}this.D?this.D.call(this.B,this):this.v=!0;this.a||this.h(new qe(this))}};J.prototype.w=function(a,b){this.o=!1;re(this,a,b)};
var re=function(a,b,c){a.a=!0;a.c=c;a.g=!b;se(a)},ue=function(a){if(a.a){if(!a.v)throw new te(a);a.v=!1}};J.prototype.N=function(a){ue(this);ve(a);re(this,!0,a)};J.prototype.h=function(a){ue(this);ve(a);re(this,!1,a)};var ve=function(a){B(!(a instanceof J),"An execution sequence may not be initiated with a blocking Deferred.")},xe=function(a,b,c){we(a,b,null,c)},we=function(a,b,c,d){B(!a.$,"Blocking Deferreds can not be re-used");a.j.push([b,c,d]);a.a&&se(a)};
J.prototype.then=function(a,b,c){var d,e,f=new Xd(function(a,b){d=a;e=b});we(this,d,function(a){a instanceof qe?f.cancel():e(a)});return f.then(a,b,c)};Td(J);var ye=function(a,b){b instanceof J?xe(a,v(b.F,b)):xe(a,function(){return b})};J.prototype.F=function(a){var b=new J;we(this,b.N,b.h,b);a&&(b.b=this,this.f++);return b};
var ze=function(a){return La(a.j,function(a){return t(a[1])})},se=function(a){if(a.H&&a.a&&ze(a)){var b=a.H,c=Ae[b];c&&(h.clearTimeout(c.a),delete Ae[b]);a.H=0}a.b&&(a.b.f--,delete a.b);b=a.c;for(var d=c=!1;a.j.length&&!a.o;){var e=a.j.shift(),f=e[0],k=e[1];e=e[2];if(f=a.g?k:f)try{var m=f.call(e||a.B,b);l(m)&&(a.g=a.g&&(m==b||m instanceof Error),a.c=b=m);if(Ud(b)||"function"===typeof h.Promise&&b instanceof h.Promise)d=!0,a.o=!0}catch(w){b=w,a.g=!0,ze(a)||(c=!0)}}a.c=b;d&&(m=v(a.w,a,!0),d=v(a.w,a,
!1),b instanceof J?(we(b,m,d),b.$=!0):b.then(m,d));c&&(b=new Be(b),Ae[b.a]=b,a.H=b.a)},te=function(){A.call(this)};x(te,A);te.prototype.message="Deferred has already fired";te.prototype.name="AlreadyCalledError";var qe=function(){A.call(this)};x(qe,A);qe.prototype.message="Deferred was canceled";qe.prototype.name="CanceledError";var Be=function(a){this.a=h.setTimeout(v(this.c,this),0);this.b=a};
Be.prototype.c=function(){B(Ae[this.a],"Cannot throw an error that is not scheduled.");delete Ae[this.a];throw this.b;};var Ae={};var Ge=function(a){var b={},c=b.document||document,d=nc(a),e=document.createElement("SCRIPT"),f={tc:e,Cc:void 0},k=new J(Ce,f),m=null,w=null!=b.timeout?b.timeout:5E3;0<w&&(m=window.setTimeout(function(){De(e,!0);k.h(new Ee(1,"Timeout reached for loading script "+d))},w),f.Cc=m);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(De(e,b.xf||!1,m),k.N(null))};e.onerror=function(){De(e,!0,m);k.h(new Ee(0,"Error while loading script "+d))};f=b.attributes||
{};Jb(f,{type:"text/javascript",charset:"UTF-8"});Rc(e,f);Lc(e,a);Fe(c).appendChild(e);return k},Fe=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Ce=function(){if(this&&this.tc){var a=this.tc;a&&"SCRIPT"==a.tagName&&De(a,!0,this.Cc)}},De=function(a,b,c){null!=c&&h.clearTimeout(c);a.onload=fa;a.onerror=fa;a.onreadystatechange=fa;b&&window.setTimeout(function(){Yc(a)},0)},Ee=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+
b);A.call(this,c);this.code=a};x(Ee,A);var K=function(a,b){this.b={};this.a=[];this.c=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof K)for(c=a.P(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};K.prototype.M=function(){He(this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.b[this.a[b]]);return a};K.prototype.P=function(){He(this);return this.a.concat()};
K.prototype.R=function(a){return Ie(this.b,a)};K.prototype.za=function(a){for(var b=0;b<this.a.length;b++){var c=this.a[b];if(Ie(this.b,c)&&this.b[c]==a)return!0}return!1};
var Je=function(a){a.b={};a.a.length=0;a.c=0},Ke=function(a,b){Ie(a.b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&He(a))},He=function(a){if(a.c!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];Ie(a.b,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.c!=a.a.length){var e={};for(c=b=0;b<a.a.length;)d=a.a[b],Ie(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}};K.prototype.get=function(a,b){return Ie(this.b,a)?this.b[a]:b};K.prototype.set=function(a,b){Ie(this.b,a)||(this.c++,this.a.push(a));this.b[a]=b};
K.prototype.forEach=function(a,b){for(var c=this.P(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};var Ie=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var L=function(){this.H=this.H;this.$=this.$};L.prototype.H=!1;L.prototype.dispose=function(){this.H||(this.H=!0,this.s())};var Me=function(a,b){b=qa(Le,b);a.H?l(void 0)?b.call(void 0):b():(a.$||(a.$=[]),a.$.push(l(void 0)?v(b,void 0):b))};L.prototype.s=function(){if(this.$)for(;this.$.length;)this.$.shift()()};var Le=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Ne=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ka(d)?Ne.apply(null,d):Le(d)}};var Oe=function(a,b){this.type=a;this.a=this.target=b;this.b=!1;this.sc=!0};Oe.prototype.stopPropagation=function(){this.b=!0};Oe.prototype.c=function(){this.sc=!1};var Pe=function(a){a.c()};var Qe=!Sb||9<=Number(dc),Re=Sb&&!cc("9"),Se=function(){if(!h.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});h.addEventListener("test",fa,b);h.removeEventListener("test",fa,b);return a}();var Ue=function(a,b){Oe.call(this,a?a.type:"");this.relatedTarget=this.a=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.pointerId=0;this.pointerType="";this.aa=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.a=b;if(b=a.relatedTarget){if(Vb){a:{try{Ob(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==
c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=
a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=n(a.pointerType)?a.pointerType:Te[a.pointerType]||"";this.aa=a;a.defaultPrevented&&this.c()}};x(Ue,Oe);var Te=cd({2:"touch",3:"pen",4:"mouse"});Ue.prototype.stopPropagation=function(){Ue.l.stopPropagation.call(this);this.aa.stopPropagation?this.aa.stopPropagation():this.aa.cancelBubble=!0};
Ue.prototype.c=function(){Ue.l.c.call(this);var a=this.aa;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Re)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};Ue.prototype.Zc=function(){return this.aa};var Ve="closure_listenable_"+(1E6*Math.random()|0),We=function(a){return!(!a||!a[Ve])},Xe=0;var Ye=function(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.wa=e;this.key=++Xe;this.xa=this.Ja=!1},Ze=function(a){a.xa=!0;a.listener=null;a.a=null;a.src=null;a.wa=null};var $e=function(a){this.src=a;this.a={};this.b=0};$e.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.b++);var k=af(a,b,d,e);-1<k?(b=a[k],c||(b.Ja=!1)):(b=new Ye(b,this.src,f,!!d,e),b.Ja=c,a.push(b));return b};
var bf=function(a,b){var c=b.type;if(!(c in a.a))return!1;var d=Qa(a.a[c],b);d&&(Ze(b),0==a.a[c].length&&(delete a.a[c],a.b--));return d},cf=function(a,b){b=b&&b.toString();var c=0,d;for(d in a.a)if(!b||d==b){for(var e=a.a[d],f=0;f<e.length;f++)++c,Ze(e[f]);delete a.a[d];a.b--}},df=function(a,b,c,d,e){a=a.a[b.toString()];b=-1;a&&(b=af(a,c,d,e));return-1<b?a[b]:null},ef=function(a,b){var c=l(b),d=c?b.toString():"",e=l(void 0);return zb(a.a,function(a){for(var b=0;b<a.length;++b)if(!(c&&a[b].type!=
d||e&&void 0!=a[b].capture))return!0;return!1})},af=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.xa&&f.listener==b&&f.capture==!!c&&f.wa==d)return e}return-1};var ff="closure_lm_"+(1E6*Math.random()|0),gf={},hf=0,kf=function(a,b,c,d,e){if(d&&d.once)return jf(a,b,c,d,e);if(r(b)){for(var f=0;f<b.length;f++)kf(a,b[f],c,d,e);return null}c=lf(c);return We(a)?a.ua(b,c,u(d)?!!d.capture:!!d,e):mf(a,b,c,!1,d,e)},mf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=u(e)?!!e.capture:!!e,m=nf(a);m||(a[ff]=m=new $e(a));c=m.add(b,c,d,k,f);if(c.a)return c;d=of();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)Se||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(pf(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");hf++;return c},of=function(){var a=qf,b=Qe?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},jf=function(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)jf(a,b[f],c,d,e);return null}c=lf(c);return We(a)?
a.g.add(String(b),c,!0,u(d)?!!d.capture:!!d,e):mf(a,b,c,!0,d,e)},rf=function(a,b,c,d,e){if(r(b))for(var f=0;f<b.length;f++)rf(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=lf(c),We(a)?a.Ca(b,c,d,e):a&&(a=nf(a))&&(b=df(a,b,c,d,e))&&sf(b)},sf=function(a){if(da(a)||!a||a.xa)return!1;var b=a.src;if(We(b))return bf(b.g,a);var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(pf(c),d):b.addListener&&b.removeListener&&b.removeListener(d);hf--;(c=nf(b))?(bf(c,
a),0==c.b&&(c.src=null,b[ff]=null)):Ze(a);return!0},tf=function(a,b,c,d,e){c=lf(c);d=!!d;return We(a)?df(a.g,String(b),c,d,e):a?(a=nf(a))?df(a,b,c,d,e):null:null},uf=function(a,b){if(We(a))return ef(a.g,l(b)?String(b):void 0);a=nf(a);return!!a&&ef(a,b)},pf=function(a){return a in gf?gf[a]:gf[a]="on"+a},wf=function(a,b,c,d){var e=!0;if(a=nf(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.xa&&(f=vf(f,d),e=e&&!1!==f)}return e},vf=function(a,b){var c=a.listener,
d=a.wa||a.src;a.Ja&&sf(a);return c.call(d,b)},qf=function(a,b){if(a.xa)return!0;if(!Qe){var c=b||ea("window.event");b=new Ue(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(k){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.a;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.b&&0<=e;e--){b.a=c[e];var f=wf(c[e],a,!0,b);d=d&&f}for(e=0;!b.b&&e<c.length;e++)b.a=c[e],f=wf(c[e],a,!1,b),d=d&&f}return d}return vf(a,
new Ue(b,this))},nf=function(a){a=a[ff];return a instanceof $e?a:null},xf="__closure_events_fn_"+(1E9*Math.random()>>>0),lf=function(a){B(a,"Listener can not be null.");if(t(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[xf]||(a[xf]=function(b){return a.handleEvent(b)});return a[xf]};var M=function(){L.call(this);this.g=new $e(this);this.Wc=this;this.Ga=null};x(M,L);M.prototype[Ve]=!0;g=M.prototype;g.ob=function(a){this.Ga=a};g.addEventListener=function(a,b,c,d){kf(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){rf(this,a,b,c,d)};
g.dispatchEvent=function(a){yf(this);var b=this.Ga;if(b){var c=[];for(var d=1;b;b=b.Ga)c.push(b),B(1E3>++d,"infinite loop")}b=this.Wc;d=a.type||a;if(n(a))a=new Oe(a,b);else if(a instanceof Oe)a.target=a.target||b;else{var e=a;a=new Oe(d,b);Jb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.b&&0<=f;f--){var k=a.a=c[f];e=zf(k,d,!0,a)&&e}a.b||(k=a.a=b,e=zf(k,d,!0,a)&&e,a.b||(e=zf(k,d,!1,a)&&e));if(c)for(f=0;!a.b&&f<c.length;f++)k=a.a=c[f],e=zf(k,d,!1,a)&&e;return e};
g.s=function(){M.l.s.call(this);this.g&&cf(this.g,void 0);this.Ga=null};g.ua=function(a,b,c,d){yf(this);return this.g.add(String(a),b,!1,c,d)};g.Ca=function(a,b,c,d){var e=this.g;a=String(a).toString();if(a in e.a){var f=e.a[a];b=af(f,b,c,d);-1<b?(Ze(f[b]),Pa(f,b),0==f.length&&(delete e.a[a],e.b--),e=!0):e=!1}else e=!1;return e};
var zf=function(a,b,c,d){b=a.g.a[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.xa&&k.capture==c){var m=k.listener,w=k.wa||k.src;k.Ja&&bf(a.g,k);e=!1!==m.call(w,d)&&e}}return e&&0!=d.sc},yf=function(a){B(a.g,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Af=function(a,b){M.call(this);this.f=a||1;this.b=b||h;this.h=v(this.o,this);this.j=ra()};x(Af,M);Af.prototype.c=!1;Af.prototype.a=null;Af.prototype.o=function(){if(this.c){var a=ra()-this.j;0<a&&a<.8*this.f?this.a=this.b.setTimeout(this.h,this.f-a):(this.a&&(this.b.clearTimeout(this.a),this.a=null),this.dispatchEvent("tick"),this.c&&(this.a=this.b.setTimeout(this.h,this.f),this.j=ra()))}};Af.prototype.start=function(){this.c=!0;this.a||(this.a=this.b.setTimeout(this.h,this.f),this.j=ra())};
var Bf=function(a){a.c=!1;a.a&&(a.b.clearTimeout(a.a),a.a=null)};Af.prototype.s=function(){Af.l.s.call(this);Bf(this);delete this.b};var Cf=function(a,b,c){if(t(a))c&&(a=v(a,c));else if(a&&"function"==typeof a.handleEvent)a=v(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:h.setTimeout(a,b||0)};var Df={},Ef={},Ff=new ya(.001,"");Ff.a="load";var Gf=new ya(.1,"");Gf.a="fail";var Hf=new K;Hf.set("enabler","enabler");Hf.set("dcmenabler","dcm");Hf.set("video","vid");Hf.set("configurable","cfg");Hf.set("configurablefiller","cfg_fill");Hf.set("layouts","lay");Hf.set("layoutsfiller","lay_fill");Hf.set("gdn","gdn");Hf.set("rad_ui_video","rad");
var If=function(){for(var a=document.getElementsByTagName("script"),b=0;b<a.length;b++){var c=a[b];if(c.src||c.getAttribute("src"))if(c=c.src||c.getAttribute("src"),/Enabler/.test(c))return c.substring(0,c.lastIndexOf("/")+1)}return""},Jf=function(a){a=Df[a];return l(a)&&1<=a},Kf=function(a){return[If(),"dev_studio_01_219_",[a,"module"].join(""),".js"].join("")};p("goog.exportSymbol",function(a,b,c){p(a,b,c)},this);
var Lf=function(a){a+="goog.exportSymbol('studioLoader.context.evalInContext', "+Lf.toString()+");";eval(a)},Mf=function(a,b){b=Hf.get(b)||"unknown";a.c=b;a=a.b();!$a(a)&&z(1)&&(document.createElement("IMG").src=a)},Nf=function(a,b){Df[a]=2;Mf(Ff,a);b=da(b)?b:2;for(var c=Kf(a),d=Ge(Cd(c)),e=0;e<b;++e)d=d.then(void 0,function(){return Ge(Cd(c))});return d.then(function(){Df[a]=3},function(){Mf(Gf,a);return be()})},Of=function(a){if(Jf(a))return Ef[a];Df[a]=1;for(var b=[],c=DEPS_GRAPH?DEPS_GRAPH[[a,
"module"].join("")]:[],d=c.length-1;0<=d;d--){var e=c[d].replace(/module$/,"");if(e==a)break;Jf(e)?b.push(Ef[e]):b.push(Of(e))}b=ee(b).then(qa(Nf,a,2));return Ef[a]=b},Pf=function(a,b){a=Of(a);t(b)&&(a=a.then(b));ge(a,fa)};p("studioLoader.context.evalInContext",Lf,void 0);var Qf=function(a){if(a.M&&"function"==typeof a.M)return a.M();if(n(a))return a.split("");if(ka(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Bb(a)},Rf=function(a,b){return a.contains&&"function"==typeof a.contains?a.contains(b):a.za&&"function"==typeof a.za?a.za(b):ka(a)||n(a)?0<=Ia(a,b):Eb(a,b)};var Sf=function(){this.a=new K},Tf=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+na(a):b.substr(0,1)+a};Sf.prototype.add=function(a){this.a.set(Tf(a),a)};var Vf=function(a){var b=Uf;a=Qf(a);for(var c=a.length,d=0;d<c;d++)b.add(a[d])};Sf.prototype.contains=function(a){return this.a.R(Tf(a))};Sf.prototype.M=function(){return this.a.M()};p("studio.common.Feature.Type",{mf:1,SDK_EVENT_FORWARDER:2,RL_EVENT_FORWARDER:3},void 0);var Uf=new Sf;p("studio.common.Feature.hasFeature",function(a){return Uf.contains(a)},void 0);
p("studio.common.Feature.hasFeatures",function(a){var b=Uf;a:{var c=b.contains;if("function"==typeof a.every)a=a.every(c,b);else if(ka(a)||n(a))a=Ma(a,c,b);else{if(a.P&&"function"==typeof a.P)var d=a.P();else if(a.M&&"function"==typeof a.M)d=void 0;else if(ka(a)||n(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else for(f in d=[],e=0,a)d[e++]=f;e=Qf(a);f=e.length;for(var k=0;k<f;k++)if(!c.call(b,e[k],d&&d[k],a)){a=!1;break a}a=!0}}return a},void 0);var Wf=function(a,b){this.b=a;this.a=null!=b?b:0};p("studio.common.Orientation",Wf,void 0);var Xf=function(){var a=window;return a.innerWidth>a.innerHeight?"landscape":"portrait"},Yf=function(){return"onorientationchange"in window};Wf.Mode={PORTRAIT:"portrait",LANDSCAPE:"landscape"};Wf.prototype.gd=function(){return this.b};Wf.prototype.getMode=Wf.prototype.gd;Wf.prototype.fd=function(){return this.a};Wf.prototype.getDegrees=Wf.prototype.fd;Wf.prototype.toString=function(){return this.b};var Zf=function(a,b,c,d,e,f,k){var m="";a&&(m+=a+":");c&&(m+="//",b&&(m+=b+"@"),m+=c,d&&(m+=":"+d));e&&(m+=e);f&&(m+="?"+f);k&&(m+="#"+k);return m},$f=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,ag=function(a){var b=a.indexOf("#");return 0>b?null:a.substr(b+1)},bg=function(a){a=a.match($f);return Zf(a[1],a[2],a[3],a[4])},cg=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=
d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?bb(e):"")}}},dg=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]},eg=function(a,b,c){Fa(a);if(r(b)){Ha(b);for(var d=0;d<b.length;d++)eg(a,String(b[d]),c)}else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},fg=/#|$/,gg=function(a,
b){var c=a.search(fg);a:{var d=0;for(var e=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var f=a.charCodeAt(d-1);if(38==f||63==f)if(f=a.charCodeAt(d+e),!f||61==f||38==f||35==f)break a;d+=e+1}d=-1}if(0>d)return null;e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return bb(a.substr(d,e-d))};var hg=function(a,b){return b?a.replace("[rm_exit_id]",b):a},ig=function(a){$a(mb(a))||"market"!=(a.match($f)[1]||null)||(a=a.match($f),a="https://play.google.com/store/apps/details"+Zf(null,null,null,null,a[5],a[6],a[7]));return a};var jg={CREATIVETOOLSET_CONFIG:"creativeToolsetConfig",CREATIVETOOLSET_INTERNALS:"creativeToolsetInternals",CREATIVETOOLSET_INTERNALS_GEN204:"creativeToolsetInternalsGen204",CREATIVE_REPORTER:"creativeReporter",CREATIVE_INNOVATION:"gcreativeinnovation",GOOGLE_AFMA_SUPPORT:"googleAfmaSupport"};p("studio.common.WhitelistedExternalObject",jg,void 0);var kg={Se:"devicemotion",Te:"deviceorientation",hf:"hostpageScroll",Xe:"enterViewport",Ye:"exitViewport"},lg={},mg;for(mg in kg)lg[kg[mg]]=!0;var ng=function(a){this.a=a};p("studio.common.mde.Direction",ng,void 0);ng.Corner={uf:0,vf:1,Ne:2,Oe:3};ng.prototype.toString=function(){return(this.a&2?"b":"t")+(this.a&1?"r":"l")};var og={TL:new ng(0),TR:new ng(1),BL:new ng(2),BR:new ng(3)},pg=Bb(og);var qg={sf:"startExpandInternal",rf:"startCollapseInternal",$e:"finishCollapseInternal",Me:"aboutToExpandInternal",nf:"setAdVisibleInternal",pf:"setAdParameters",Ue:"dispatchEvent",qf:"setParameter",gf:"getParameter",ff:"fullscreenSupportInternal",cf:"fullscreenDimensionsInternal",ef:"fullscreenExpandStartInternal",df:"fullscreenExpandFinishInternal",bf:"fullscreenCollapseStartInternal",af:"fullscreenCollapseFinishInternal",jf:"invokeOnAllVideos",kf:"livePreviewChannel",Ve:"dispatchPageLoaded"},rg=
{},sg;for(sg in qg)rg[qg[sg]]=!0;var tg=[/s0(qa)?\.2mdn\.net/,/^.*\.(prod|corp)\.google\.com/,/localhost/,/tpc.googlesyndication.com/,/imasdk.googleapis.com/,/^.*dot-expandable-ad-tool.appspot.com/],ug=function(){var a=location.hostname;return z(2)&&!z(16)?!1:La(tg,function(b){return b.test(a)})};var vg=function(a){L.call(this);this.b=a;this.a={};this.b.pc(v(this.g,this))};x(vg,L);vg.prototype.c=F("goog.messaging.MultiChannel");var xg=function(a,b){if(-1!=b.indexOf(":"))throw Error('Virtual channel name "'+b+'" should not contain colons');if(b in a.a)throw Error('Virtual channel "'+b+'" was already created for this multichannel.');var c=new wg(a,b);return a.a[b]=c};
vg.prototype.g=function(a,b){var c=a.match(/^([^:]*):(.*)/);if(c){var d=c[1];a=c[2];d in this.a?(c=this.a[d])?c.c?c.c(a,b):G(this.c,'Service "'+a+'" is not registered on virtual channel "'+d+'"'):G(this.c,'Virtual channel "'+d+' has been disposed, but a message was received for it: "'+a+'"'):G(this.c,'Virtual channel "'+d+' does not exist, but a message was received for it: "'+a+'"')}else G(this.c,'Invalid service name "'+a+'": no virtual channel specified')};
vg.prototype.s=function(){wb(this.a,function(a){Le(a)});Le(this.b);delete this.a;delete this.b};var wg=function(a,b){L.call(this);this.b=a;this.a=b};x(wg,L);g=wg.prototype;g.rd=F("goog.messaging.MultiChannel.VirtualChannel");g.connect=function(a){a&&a()};g.ka=function(){return!0};g.Da=function(a,b,c){this.b.b.Da(this.a+":"+a,v(this.Ob,this,b),c)};g.pc=function(a){this.c=v(this.Ob,this,a)};
g.Na=function(a,b){if(this.H)throw Error("#send called for disposed VirtualChannel.");this.b.b.Na(this.a+":"+a,b)};g.Ob=function(a,b){this.H?G(this.rd,'Virtual channel "'+this.a+'" received  a message after being disposed.'):a.apply({},Array.prototype.slice.call(arguments,1))};g.s=function(){this.b=this.b.a[this.a]=null};var yg=function(a){L.call(this);this.b=new vg(a);this.f={};this.c=xg(this.b,"private");this.g=xg(this.b,"public");this.c.Da("mics",v(this.v,this),!0)};x(yg,L);yg.prototype.D=0;yg.prototype.w=F("goog.messaging.RespondingChannel");yg.prototype.s=function(){Le(this.b);delete this.b;delete this.g;delete this.c};var zg=function(a,b,c,d){var e=a.D++;a.f[e]=d;d={};d.signature=e;d.data=c;a.g.Na(b,d)};
yg.prototype.v=function(a){var b=a.signature;a=a.data;b in this.f?((0,this.f[b])(a),delete this.f[b]):G(this.w,"Received signature is invalid")};yg.prototype.o=function(a,b){a=a(b.data);var c=b.signature;ae(a).then(v(function(a){var b={};b.data=a;b.signature=c;this.c&&this.c.Na("mics",b)},this))};var Ag=function(a,b,c){L.call(this);this.b=a;this.h=b||0;this.c=c;this.g=v(this.f,this)};x(Ag,L);Ag.prototype.a=0;Ag.prototype.s=function(){Ag.l.s.call(this);0!=this.a&&h.clearTimeout(this.a);this.a=0;delete this.b;delete this.c};Ag.prototype.start=function(a){0!=this.a&&h.clearTimeout(this.a);this.a=0;this.a=Cf(this.g,l(a)?a:this.h)};Ag.prototype.f=function(){this.a=0;this.b&&this.b.call(this.c)};var Bg=function(a){L.call(this);this.j=a;this.c={}};x(Bg,L);
var Cg=[],N=function(a,b,c,d,e,f){r(c)||(c&&(Cg[0]=c.toString()),c=Cg);for(var k=0;k<c.length;k++){var m=kf(b,c[k],d||a.handleEvent,e||!1,f||a.j||a);if(!m)break;a.c[m.key]=m}},Dg=function(a,b,c,d,e,f){if(r(c))for(var k=0;k<c.length;k++)Dg(a,b,c[k],d,e,f);else(b=jf(b,c,d||a.handleEvent,e,f||a.j||a))&&(a.c[b.key]=b)},Eg=function(a,b,c,d,e,f){if(r(c))for(var k=0;k<c.length;k++)Eg(a,b,c[k],d,e,f);else if(b=tf(b,c,d||a.handleEvent,u(e)?!!e.capture:!!e,f||a.j||a))sf(b),delete a.c[b.key]},Fg=function(a){wb(a.c,
function(a,c){this.c.hasOwnProperty(c)&&sf(a)},a);a.c={}};Bg.prototype.s=function(){Bg.l.s.call(this);Fg(this)};Bg.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Ig=function(a){var b=[];Gg(new Hg,a,b);return b.join("")},Hg=function(){},Gg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(r(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Gg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Jg(d,c),c.push(":"),Gg(a,f,c),e=","));c.push("}");
return}}switch(typeof b){case "string":Jg(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Kg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Lg=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Jg=function(a,b){b.push('"',a.replace(Lg,function(a){var b=Kg[a];
b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Kg[a]=b);return b}),'"')};var Mg=function(){L.call(this);this.o={}};x(Mg,L);g=Mg.prototype;g.Zb=F("goog.messaging.AbstractChannel");g.connect=function(a){a&&a()};g.ka=function(){return!0};g.Da=function(a,b,c){this.o[a]={N:b,ic:!!c}};g.pc=function(a){this.h=a};g.s=function(){Mg.l.s.call(this);delete this.o;delete this.h};var Ng={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},Og=["pu","lru","pru","lpu","ppu"],Pg={},Rg=function(){for(var a=10,b=Qg,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d},Qg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",O=F("goog.net.xpc");var Sg=function(a){L.call(this);this.j=a||Pc()};x(Sg,L);Sg.prototype.tb=0;var Vg=function(a,b){Sg.call(this,b);this.a=a;this.w=new Bg(this);Me(this,this.w);this.h=new Af(100,Sc(this.j.a));Me(this,this.h);this.g=new J;this.f=new J;this.b=new J;this.v=Rg();this.o=null;this.c={};this.D=this.a.name;Tg(this.a,this.a.name+"_"+Ug(this.a));this.B=!1;ye(this.b,this.g);ye(this.b,this.f);xe(this.b,this.sd,this);this.b.N(!0);N(this.w,this.h,"tick",this.$b,void 0);H(O,"DirectTransport created. role="+Ug(this.a))};x(Vg,Sg);
var Wg={},Zg=function(a){var b=new Xg(a.channelName,a.service,a.payload);a=b.a;var c=b.c;b=b.b;zd(O,"messageReceived: channel="+a+", service="+c+", payload="+b);var d=Pg[a];if(d)return d.b(c,b),!0;d=Yg(b)[0];for(var e in Pg){var f=Pg[e];if(1==Ug(f)&&!f.ka()&&"tp"==c&&"SETUP"==d)return Tg(f,a),f.b(c,b),!0}H(O,"channel name mismatch; message ignored.");return!1};g=Vg.prototype;g.tb=7;
g.Dc=function(a){a=Yg(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.g.a||this.g.N(!0);break;case "SETUP":this.Z("tp","SETUP_ACK"),this.f.a||this.f.N(!0),null!=this.o&&this.o!=b&&(H(O,"Sending SETUP and changing peer ID to: "+b),this.Z("tp","SETUP,"+this.v)),this.o=b}};g.connect=function(){var a=Sc(this.j.a);if(a){var b=na(a);0==(Wg[b]||0)&&null==ea("crosswindowmessaging.channel",a)&&p("crosswindowmessaging.channel",Zg,a);Wg[b]++;this.B=!0;this.$b()}else zd(O,"connect(): no window to initialize.")};
g.$b=function(){this.a.ka()?Bf(this.h):(this.h.start(),this.Z("tp","SETUP,"+this.v))};g.Z=function(a,b){this.a.W?(a=new Xg(this.D+"_"+(0==Ug(this.a)?1:0),a,b),this.a.a.directSyncMode?this.Qb(a):this.c[na(a)]=Cf(v(this.Qb,this,a),0)):zd(O,"send(): window not ready")};
g.Qb=function(a){var b=na(a);this.c[b]&&delete this.c[b];try{var c=ea("crosswindowmessaging.channel",this.a.W)}catch(d){G(O,"Can't access other window, ignoring.",d);return}if(null===c)G(O,"Peer window had no global function.");else try{c({channelName:a.a,service:a.c,payload:a.b}),H(O,"send(): channelName="+a.a+" service="+a.c+" payload="+a.b)}catch(d){G(O,"Error performing call, ignoring.",d)}};g.sd=function(){$g(this.a,0)};
g.s=function(){if(this.B){var a=Sc(this.j.a),b=na(a);1==--Wg[b]&&p("crosswindowmessaging.channel",null,a)}this.c&&(wb(this.c,function(a){h.clearTimeout(a)}),this.c=null);this.g&&(this.g.cancel(),delete this.g);this.f&&(this.f.cancel(),delete this.f);this.b&&(this.b.cancel(),delete this.b);Vg.l.s.call(this)};var Yg=function(a){a=a.split(",");a[1]=a[1]||null;return a},Xg=function(a,b,c){this.a=a;this.c=b;this.b=c};var ah=function(a,b,c,d,e){Sg.call(this,c);this.h=a;this.b=e||2;B(1<=this.b);B(2>=this.b);this.J=b||"*";this.D=new Bg(this);this.o=new Af(100,Sc(this.j.a));this.B=!!d;this.g=new J;this.f=new J;this.c=new J;this.L=Rg();this.w=null;this.B?1==Ug(this.h)?ye(this.c,this.g):ye(this.c,this.f):(ye(this.c,this.g),2==this.b&&ye(this.c,this.f));xe(this.c,this.ud,this);this.c.N(!0);N(this.D,this.o,"tick",this.ac,void 0);H(O,"NativeMessagingTransport created.  protocolVersion="+this.b+", oneSidedHandshake="+this.B+
", role="+Ug(this.h))};x(ah,Sg);ah.prototype.a=null;ah.prototype.F=!1;ah.prototype.tb=1;var bh={};ah.prototype.v=0;
var eh=function(a){var b=a.aa.data;if(!n(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c);c=b.substring(c+1,d);b=b.substring(d+1);zd(O,"messageReceived: channel="+e+", service="+c+", payload="+b);if(d=Pg[e])return d.b(c,b,a.aa.origin),!0;d=ch(b)[0];for(var f in Pg){var k=Pg[f];if(1==Ug(k)&&!k.ka()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d)&&dh(k,a.aa.origin))return Tg(k,e),k.b(c,b),!0}H(O,'channel name mismatch; message ignored"');return!1};
ah.prototype.Dc=function(a){var b=ch(a);a=b[1];switch(b[0]){case "SETUP_ACK":fh(this,1);this.g.a||this.g.N(!0);break;case "SETUP_ACK_NTPV2":2==this.b&&(fh(this,2),this.g.a||this.g.N(!0));break;case "SETUP":fh(this,1);gh(this,1);break;case "SETUP_NTPV2":2==this.b&&(b=this.a,fh(this,2),gh(this,2),1!=b&&null==this.w||this.w==a||(H(O,"Sending SETUP and changing peer ID to: "+a),hh(this)),this.w=a)}};
var hh=function(a){B(!(1==a.b&&2==a.a));2!=a.b||null!=a.a&&2!=a.a||a.Z("tp","SETUP_NTPV2,"+a.L);null!=a.a&&1!=a.a||a.Z("tp","SETUP")},gh=function(a,b){B(1!=a.b||2!=b,"Shouldn't try to send a v2 setup ack in v1 mode.");if(2!=a.b||null!=a.a&&2!=a.a||2!=b){if(null!=a.a&&1!=a.a||1!=b)return;a.Z("tp","SETUP_ACK")}else a.Z("tp","SETUP_ACK_NTPV2");a.f.a||a.f.N(!0)},fh=function(a,b){b>a.a&&(a.a=b);1==a.a&&(a.f.a||a.B||a.f.N(!0),a.w=null)};g=ah.prototype;
g.connect=function(){var a=Sc(this.j.a),b=na(a),c=bh[b];da(c)||(c=0);0==c&&kf(a.postMessage?a:a.document,"message",eh,!1,ah);bh[b]=c+1;this.F=!0;this.ac()};g.ac=function(){var a=0==Ug(this.h);this.B&&a||this.h.ka()||this.H?Bf(this.o):(this.o.start(),hh(this))};
g.Z=function(a,b){var c=this.h.W;c?(this.Z=function(a,b){var d=this,e=this.h.name;this.v=Cf(function(){d.v=0;try{var f=c.postMessage?c:c.document;f.postMessage?(f.postMessage(e+"|"+a+":"+b,d.J),zd(O,"send(): service="+a+" payload="+b+" to hostname="+d.J)):G(O,"Peer window had no postMessage function.")}catch(w){G(O,"Error performing postMessage, ignoring.",w)}},0)},this.Z(a,b)):zd(O,"send(): window not ready")};g.ud=function(){$g(this.h,1==this.b||1==this.a?200:void 0)};
g.s=function(){if(this.F){var a=Sc(this.j.a),b=na(a),c=bh[b];bh[b]=c-1;1==c&&rf(a.postMessage?a:a.document,"message",eh,!1,ah)}this.v&&(h.clearTimeout(this.v),this.v=0);Le(this.D);delete this.D;Le(this.o);delete this.o;this.g.cancel();delete this.g;this.f.cancel();delete this.f;this.c.cancel();delete this.c;delete this.Z;ah.l.s.call(this)};var ch=function(a){a=a.split(",");a[1]=a[1]||null;return a};var ih=function(){var a=(window.STUDIO_ORIGINAL_ASSET_URL?window.STUDIO_ORIGINAL_ASSET_URL:window.location.href).replace(/%(?![A-Fa-f0-9][A-Fa-f0-9])/g,"%25");this.g=this.H=this.c="";this.j=null;this.h=this.f="";this.a=!1;if(a instanceof ih){this.a=l(void 0)?void 0:a.a;jh(this,a.c);this.H=a.H;this.g=a.g;kh(this,a.j);this.f=a.f;var b=a.b;var c=new lh;c.c=b.c;b.a&&(c.a=new K(b.a),c.b=b.b);mh(this,c);this.h=a.h}else a&&(b=String(a).match($f))?(this.a=!1,jh(this,b[1]||"",!0),this.H=nh(b[2]||""),this.g=
nh(b[3]||"",!0),kh(this,b[4]),this.f=nh(b[5]||"",!0),mh(this,b[6]||"",!0),this.h=nh(b[7]||"")):(this.a=!1,this.b=new lh(null,this.a))};
ih.prototype.toString=function(){var a=[],b=this.c;b&&a.push(oh(b,ph,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.H)&&a.push(oh(b,ph,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.j,null!=c&&a.push(":",String(c));if(c=this.f)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(oh(c,"/"==c.charAt(0)?qh:rh,!0));(c=this.b.toString())&&a.push("?",c);(c=this.h)&&a.push("#",oh(c,sh));return a.join("")};
var jh=function(a,b,c){a.c=c?nh(b,!0):b;a.c&&(a.c=a.c.replace(/:$/,""))},kh=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.j=b}else a.j=null},mh=function(a,b,c){b instanceof lh?(a.b=b,th(a.b,a.a)):(c||(b=oh(b,uh)),a.b=new lh(b,a.a))},nh=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},oh=function(a,b,c){return n(a)?(a=encodeURI(a).replace(b,vh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},vh=function(a){a=a.charCodeAt(0);
return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},ph=/[#\/\?@]/g,rh=/[#\?:]/g,qh=/[#\?]/g,uh=/[#\?@]/g,sh=/#/g,lh=function(a,b){this.b=this.a=null;this.c=a||null;this.g=!!b},wh=function(a){a.a||(a.a=new K,a.b=0,a.c&&cg(a.c,function(b,c){a.add(bb(b),c)}))};lh.prototype.add=function(a,b){wh(this);this.c=null;a=xh(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.b=Ea(this.b)+1;return this};
var yh=function(a,b){wh(a);b=xh(a,b);a.a.R(b)&&(a.c=null,a.b=Ea(a.b)-a.a.get(b).length,Ke(a.a,b))};g=lh.prototype;g.R=function(a){wh(this);a=xh(this,a);return this.a.R(a)};g.za=function(a){var b=this.M();return 0<=Ia(b,a)};g.forEach=function(a,b){wh(this);this.a.forEach(function(c,d){C(c,function(c){a.call(b,c,d,this)},this)},this)};g.P=function(){wh(this);for(var a=this.a.M(),b=this.a.P(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.M=function(a){wh(this);var b=[];if(n(a))this.R(a)&&(b=Ra(b,this.a.get(xh(this,a))));else{a=this.a.M();for(var c=0;c<a.length;c++)b=Ra(b,a[c])}return b};g.set=function(a,b){wh(this);this.c=null;a=xh(this,a);this.R(a)&&(this.b=Ea(this.b)-this.a.get(a).length);this.a.set(a,[b]);this.b=Ea(this.b)+1;return this};g.get=function(a,b){a=a?this.M(a):[];return 0<a.length?String(a[0]):b};
g.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var a=[],b=this.a.P(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.M(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+encodeURIComponent(String(d[f])));a.push(k)}}return this.c=a.join("&")};
var xh=function(a,b){b=String(b);a.g&&(b=b.toLowerCase());return b},th=function(a,b){b&&!a.g&&(wh(a),a.c=null,a.a.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(yh(this,b),yh(this,c),0<a.length&&(this.c=null,this.a.set(xh(this,c),Sa(a)),this.b=Ea(this.b)+a.length))},a));a.g=b};var Ah=function(a,b){Mg.call(this);for(var c=0,d;d=Og[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.a=a;this.name=this.a.cn||Rg();this.g=b||Pc();this.c=[];this.j=new Bg(this);a.lpu=a.lpu||bg(Sc(this.g.a).location.href)+"/robots.txt";a.ppu=a.ppu||bg(a.pu||"")+"/robots.txt";Pg[this.name]=this;tf(window,"unload",zh)||jf(window,"unload",zh);H(O,"CrossPageChannel created: "+this.name)};x(Ah,Mg);var Bh=/^%*tp$/,Ch=/^%+tp$/;g=Ah.prototype;g.ma=null;
g.qa=null;g.U=null;g.va=1;g.ka=function(){return 2==this.va};g.W=null;g.Oa=null;g.connect=function(a){this.f=a||fa;3==this.va&&(this.va=1);this.qa?xe(this.qa,this.Jb):this.Jb()};
g.Jb=function(){H(O,"continueConnection_()");this.qa=null;this.a.ifrid&&(this.Oa=this.g.getElement(this.a.ifrid));if(this.Oa){var a=this.Oa.contentWindow;a||(a=window.frames[this.a.ifrid]);this.W=a}if(!this.W){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.W=window.parent}if(!this.U){this.a.tp||(this.a.tp=t(document.postMessage)||t(window.postMessage)||Sb&&window.postMessage?1:Vb?2:Sb&&this.a.pru?3:4);switch(this.a.tp){case 1:this.U=new ah(this,
this.a.ph,this.g,!!this.a.osh,this.a.nativeProtocolVersion||2);break;case 6:this.U=null;break;case 2:this.U=null;break;case 3:this.U=null;break;case 4:this.U=null;break;case 7:if(a=this.W)try{a=window.document.domain==this.W.document.domain}catch(b){a=!1}a?this.U=new Vg(this,this.g):H(O,"DirectTransport not supported for this window, peer window in different security context or not set yet.")}if(this.U)H(O,"Transport created: "+(Ng[String(this.U.tb)]||""));else throw Error("CrossPageChannel: No suitable transport found!");
}for(this.U.connect();0<this.c.length;)this.c.shift()()};g.close=function(){this.qa&&(this.qa.cancel(),this.qa=null);this.c.length=0;Fg(this.j);this.va=3;Le(this.U);this.f=this.U=null;Le(this.ma);this.ma=null;H(O,'Channel "'+this.name+'" closed')};var $g=function(a,b){a.ka()||a.ma&&0!=a.ma.a||(a.va=2,H(O,'Channel "'+a.name+'" connected'),Le(a.ma),l(b)?(a.ma=new Ag(a.f,b),a.ma.start()):(a.ma=null,a.f()))};
Ah.prototype.Na=function(a,b){if(this.ka()){try{var c=!!this.W&&!this.W.closed}catch(d){c=!1}c?(u(b)&&(b=Ig(b)),this.U.Z(Dh(a),b)):(yd(O,"Peer has disappeared."),this.close())}else yd(O,"Can't send. Channel not connected.")};
Ah.prototype.b=function(a,b,c){if(this.qa)this.c.push(v(this.b,this,a,b,c));else if(dh(this,c))if(this.H||3==this.va)G(O,"CrossPageChannel::xpcDeliver(): Channel closed.");else if(a&&"tp"!=a)if(this.ka()){if(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=Ch.test(a)?a.substring(1):a,c=this.o[a],c||(this.h?c={N:qa(this.h,a),ic:u(b)}:(G(this.Zb,'Unknown service name "'+a+'"'),c=null)),c){a:{var d=c.ic;if(d&&n(b))try{var e=JSON.parse(b);break a}catch(f){G(this.Zb,"Expected JSON payload for "+a+', was "'+
b+'"');e=null;break a}else if(!d&&!n(b)){e=Ig(b);break a}e=b}null!=e&&c.N(e)}}else H(O,"CrossPageChannel::xpcDeliver(): Not connected.");else this.U.Dc(b);else G(O,'Message received from unapproved origin "'+c+'" - rejected.')};
var Dh=function(a){Bh.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},Ug=function(a){var b=a.a.role;return da(b)?b:window.parent==a.W?1:0},Tg=function(a,b){zd(O,"changing channel name to "+b);delete Pg[a.name];a.name=b;Pg[b]=a},dh=function(a,b){var c=a.a.ph;return $a(mb(b))||$a(mb(c))||b==a.a.ph};Ah.prototype.s=function(){this.close();this.Oa=this.W=null;delete Pg[this.name];Le(this.j);delete this.j;Ah.l.s.call(this)};var zh=function(){for(var a in Pg)Le(Pg[a])};var Eh=function(a,b,c){this.a=null;var d={},e=1,f=window.parent;if(c)f=c;else if(null!=b)switch(b){case 3:f=window;case 2:e=7;d.directSyncMode=!0;break;case 4:f=window.parent.frames["goog-messaging-iframe"]}d.tp=e;d.role=1;a&&(d.cn=a);F("goog.net.xpc").b(hd);this.h=new Ah(d);this.h.W=f;yg.call(this,this.h);a=v(this.B,this);this.g.Da("general",v(this.o,this,a),!0)};x(Eh,yg);
Eh.prototype.connect=function(a){ug()?this.j?this.h.connect(v(this.F,this,a)):yd(I,"You must call setAssetUrl before connecting."):zd(I,"This class should only listen to messages when served by the rendering libraries.")};Eh.prototype.F=function(a){P(this,"conduitInitialized",[this.j,Uf.M()]);a&&a()};
Eh.prototype.B=function(a){a:{var b=a.methodName;a=a.args;if(b in rg){if(this.a){zd(I,["Invoking method: ",b," with args: ",a.join(", ")].join(""));var c=this.a[b];t(c)||(c=this.a.defaultMessageHandler,a=[b,a]);if(t(c)){b=c.apply(this.a,a);break a}}b=null}else b=void 0}return b};var P=function(a,b,c,d){var e={};e.methodName=b;e.args=c&&r(c)?c:[];zg(a,"general",e,d||fa)};p("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);var Q=function(a){Oe.call(this,a)};x(Q,Oe);p("studio.events.StudioEvent",Q,void 0);Q.INIT="init";Q.VISIBLE="visible";Q.HIDDEN="hidden";Q.VISIBILITY_CHANGE="visibilityChange";Q.VISIBILITY_CHANGE_WITH_INFO="visibilityChangeWithInfo";Q.EXIT="exit";Q.INTERACTION="interaction";Q.PAGE_LOADED="pageLoaded";Q.ORIENTATION="orientation";Q.ABOUT_TO_EXPAND="aboutToExpand";Q.EXPAND_START="expandStart";Q.EXPAND_FINISH="expandFinish";Q.COLLAPSE_START="collapseStart";Q.COLLAPSE_FINISH="collapseFinish";
Q.COLLAPSE="collapse";Q.FULLSCREEN_SUPPORT="fullscreenSupport";Q.FULLSCREEN_DIMENSIONS="fullscreenDimensions";Q.FULLSCREEN_EXPAND_START="fullscreenExpandStart";Q.FULLSCREEN_EXPAND_FINISH="fullscreenExpandFinish";Q.FULLSCREEN_COLLAPSE_START="fullscreenCollapseStart";Q.FULLSCREEN_COLLAPSE_FINISH="fullscreenCollapseFinish";Q.HOSTPAGE_SCROLL="hostpageScroll";Q.ENTER_VIEWPORT="enterViewport";Q.EXIT_VIEWPORT="exitViewport";Q.prototype.X=function(a,b){this[a]=b;return this};Q.prototype.addProperty=Q.prototype.X;var Fh={NONE:0,LOG_ONLY:1};p("studio.sdk.ExitFlag",Fh,void 0);Fh.NONE=0;Fh.LOG_ONLY=1;var Gh={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"};p("studio.sdk.MraidMethod",Gh,void 0);var Hh=function(){};p("studio.sdk.IEnabler",Hh,void 0);g=Hh.prototype;g.uc=function(){};g.reportManualClose=function(){};g.wc=function(){};g.vc=function(){};g.isVisible=function(){};g.ha=function(){};g.isPageLoaded=function(){};g.isInitialized=function(){};g.Hb=function(){};g.getParameter=function(){};g.exit=function(){};g.La=function(){};g.Tb=function(){};g.Aa=function(){};g.startTimer=function(){};g.stopTimer=function(){};g.Ub=function(){};g.Xb=function(){};g.Sa=function(){};g.hb=function(){};
g.ya=function(){};g.gb=function(){};g.close=function(){};g.Ba=function(){};g.Ea=function(){};g.addEventListener=function(){};g.removeEventListener=function(){};g.oc=function(){};g.nc=function(){};g.qc=function(){};g.Sb=function(){};g.mb=function(){};g.Rb=function(){};g.Yb=function(){};g.fc=function(){};var Ih=function(a,b){return"The "+(a+(" method has been deprecated. As an alternative please use: "+(b+".")))},Jh=function(a,b){return'Video "'+(a+('" dispatching "'+(b+'" event.')))},Kh=function(a,b){return'Custom event "'+(a+('" of type "'+(b+'" invoked.')))};var Lh=function(a){this.a=a;this.b=""},Mh=/:/,Nh=/%(.+)!/,Oh=function(a,b,c){for(var d=c.split("&"),e=0;e<d.length;e++){var f=d[e].split("=");if(1<f.length&&f[0].length&&f[1].length){var k=decodeURIComponent(f[0]);f=decodeURIComponent(f[1]);a.a.set(k,f)}}if(null!=a.a&&a.a.R("exitEvents")){d={};e=a.a.get("exitEvents").toString();k=e.split("{DELIM}");for(f=0;f<k.length;f++){var m=k[f];kb(e,"%2C")&&(m=unescape(m));var w={};m=m.split(",");for(var y=0;y<m.length;y++)if(Mh.test(m[y])){m[y].replace(Nh,"%25$1!");
var ia=m[y].split(":"),Aa=ia.shift();w[Aa]=unescape(ia.join(":"))}d[w.name]=w}b.exitEvents=d}a.b=c};Lh.prototype.get=function(a,b){return this.a.get(a,b)};Lh.prototype.set=function(a,b){return this.a.set(a,b)};Lh.prototype.R=function(a){return this.a.R(a)};var Ph=function(a){this.a={};this.b=new Lh(a)},Qh=function(a,b,c,d){var e=c;"Number"==d?e=parseInt(c,10):"Boolean"==d&&(e="true"==c.toLowerCase()||"1"==c);a.a[b]=e},Rh=function(a,b){try{var c=JSON.parse(b);null!=c&&Jb(a.a,c);var d={};wb(a.a,function(a,b){a&&!u(a)&&(b=decodeURIComponent(b),a=decodeURIComponent(a));b&&a&&(d[b]=a)},a);a.a=d}catch(e){Oh(a.b,a.a,b)}};Ph.prototype.getParameter=function(a,b){return Db(this.a,a)?Fb(this.a,a):this.b.get(a,b)};
Ph.prototype.O=function(a){a=parseInt(this.getParameter(a),10);return isNaN(a)?null:a};Ph.prototype.Y=function(a){a=this.getParameter(a);return $a(mb(a))?null:a.toString()};var Sh=function(){this.b=!1;this.a=[]},Th=function(a,b,c){a.c?P(a.c,b,c):a.a.push({type:b,Ic:c})},Uh=function(a,b,c,d,e,f){Th(a,f?"logEventFlushCounters":"logEvent",[b,c,a.g,!!d,!!e])},Wh=function(a){a.b||(Uh(a,"Count","INTERACTIVE_IMPRESSION"),a.b=!0,Vh(a))},Vh=function(a){Th(a,"flushCounters",[a.g])},Xh=function(a,b,c,d){Th(a,"logVideoEvent",[b,escape(c),d])};var Yh=function(a){Bg.call(this);this.v=a;this.a=this.g=null;this.B=!1;this.b=null;this.f=!1;this.h=-1;this.o=0};x(Yh,Bg);Yh.prototype.ib=function(){return this.B};Yh.prototype.F=function(){this.o=1;this.a&&(Bf(this.a),this.a.start())};Yh.prototype.D=function(){this.o=0;this.a&&Bf(this.a)};
Yh.prototype.w=function(){"1"==this.v.getParameter("isMouseOver")||1==this.o?this.f||(this.B=!0,1>this.h?this.h=ra():1E3<ra()-this.h&&(this.f=!0,this.v.dispatchEvent(new Q("interaction")),Zh(this.v,"setTimerAdjustment",["INTERACTION_TIMER",-1E3,0]),this.g&&(Uh(this.g,"Start","INTERACTION_TIMER"),Wh(this.g)))):(this.f&&$h(this),this.h=-1)};var $h=function(a){a.f=!1;a.g&&Uh(a.g,"Stop","INTERACTION_TIMER")};Yh.prototype.s=function(){this.f&&$h(this);Ne(this.b,this.a);Yh.l.s.call(this)};var ai=function(a){this.a=a};ai.prototype.c=function(a){return(null===this.a||this.a.canPlayType)&&Za(a,"video/")};ai.prototype.b=function(a){return this.a?"probably"==this.a.canPlayType(a.toLowerCase()):!1};var bi=function(a){this.a=a};bi.prototype.c=function(a){return"image/webp"==a.toLowerCase()};bi.prototype.b=function(a){if(!this.a)return!1;a=a.toLowerCase();return Za(this.a.toDataURL(a),"data:"+a)};var ci=function(){this.a=ra()},di=null;ci.prototype.set=function(a){this.a=a};ci.prototype.reset=function(){this.set(ra())};ci.prototype.get=function(){return this.a};var ei=function(a){this.g=a||"";di||(di=new ci);this.f=di};ei.prototype.a=!0;ei.prototype.b=!0;ei.prototype.c=!1;var fi=function(a){return 10>a?"0"+a:String(a)},gi=function(a,b){a=(a.c-b)/1E3;b=a.toFixed(3);var c=0;if(1>a)c=2;else for(;100>a;)c++,a*=10;for(;0<c--;)b=" "+b;return b},hi=function(a){ei.call(this,a)};x(hi,ei);
var ii=function(a,b){var c=[];c.push(a.g," ");if(a.b){var d=new Date(b.c);c.push("[",fi(d.getFullYear()-2E3)+fi(d.getMonth()+1)+fi(d.getDate())+" "+fi(d.getHours())+":"+fi(d.getMinutes())+":"+fi(d.getSeconds())+"."+fi(Math.floor(d.getMilliseconds()/10)),"] ")}c.push("[",gi(b,a.f.get()),"s] ");c.push("[",b.b,"] ");c.push(b.f);a.c&&(b=b.a)&&c.push("\n",b instanceof Error?b.message:b.toString());a.a&&c.push("\n");return c.join("")};var ji=function(){this.f=v(this.c,this);this.a=new hi;this.a.b=!1;this.a.c=!1;this.b=this.a.a=!1;this.g={}},li=function(){var a=ki;if(1!=a.b){var b=xd(),c=a.f;b.a||(b.a=[]);b.a.push(c);a.b=!0}};ji.prototype.c=function(a){if(!this.g[a.b]){var b=ii(this.a,a),c=mi;if(c)switch(a.g){case id:ni(c,"info",b);break;case jd:ni(c,"error",b);break;case kd:ni(c,"warn",b);break;default:ni(c,"log",b)}}};
var ki=null,mi=h.console,oi=function(){ki||(ki=new ji);h.location&&-1!=h.location.href.indexOf("Debug=true")&&li()},ni=function(a,b,c){if(a[b])a[b](c);else a.log(c)};var qi=function(a,b,c){if(n(b))(b=pi(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=pi(c,d);f&&(c.style[f]=e)}},ri={},pi=function(a,b){var c=ri[b];if(!c){var d=rb(b);c=d;void 0===a.style[d]&&(d=(Wb?"Webkit":Vb?"Moz":Sb?"ms":Rb?"O":null)+sb(d),void 0!==a.style[d]&&(c=d));ri[b]=c}return c},si=function(a){"number"==typeof a&&(a=Math.round(a)+"px");return a},ti=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Wb&&!b&&!c;if((!l(b)||d)&&a.getBoundingClientRect){a:{try{var e=a.getBoundingClientRect()}catch(f){e=
{left:0,top:0,right:0,bottom:0};break a}Sb&&a.ownerDocument.body&&(a=a.ownerDocument,e.left-=a.documentElement.clientLeft+a.body.clientLeft,e.top-=a.documentElement.clientTop+a.body.clientTop)}return new Mc(e.right-e.left,e.bottom-e.top)}return new Mc(b,c)},vi=function(a){var b=Pc(void 0),c=b.a;if(Sb&&c.createStyleSheet)return b=c.createStyleSheet(),ui(b,a),b;c=$c(b,"HEAD")[0];if(!c){var d=$c(b,"BODY")[0];c=b.b("HEAD");d.parentNode.insertBefore(c,d)}d=b.b("STYLE");ui(d,a);b.c(c,d);return d},wi=function(a){Yc(a.ownerNode||
a.owningElement||a)},ui=function(a,b){b instanceof Ec&&b.constructor===Ec&&b.b===Dc?b=b.a:(Da("expected object of type SafeStyleSheet, got '"+b+"' of type "+q(b)),b="type_error:SafeStyleSheet");Sb&&l(a.cssText)?a.cssText=b:a.innerHTML=b},xi=function(a){a=a.style;a.position="relative";Sb&&!cc("8")?(a.zoom="1",a.display="inline"):a.display="inline-block"};var yi=D("Firefox"),zi=Mb()||D("iPod"),Ai=D("iPad"),Bi=D("Android")&&!(Lb()||D("Firefox")||D("Opera")||D("Silk")),Ci=Lb(),Di=D("Safari")&&!(Lb()||D("Coast")||D("Opera")||D("Edge")||D("Silk")||D("Android"))&&!Nb();var R=function(a){window.AdobeEdge=window.AdobeEdge||{};window.AdobeEdge.bootstrapLoading=!0;h.console&&(oi(),li());H(I,"");if(a!=Ei)return yd(I,"You must access the enabler instance using studio.Enabler.getInstance(); or Enabler and not create a duplicate instance."),!1;M.call(this);this.o={};this.h={};this.D=new Wf(Xf(),Yf()?window.orientation:0);this.L=new Bg(this);this.Ha=!1;this.w=null;this.c="collapsed";this.Xa=!1;this.ca=null;this.Sd=0;this.la={};this.ba=null;this.Wa=!1;this.F=new J;this.f=
null;this.Va=[];this.sa={};this.Za=[];this.b=new Sh;this.J=new Yh(this);a=E("CANVAS");a.getContext&&a.getContext("2d")||(a=null);this.re=new bi(a);(a=E("VIDEO"))||(a=null);this.Pb=new ai(a);this.a=new Ph(Fi(this))};x(R,M);p("studio.Enabler",R,void 0);var Gi=["c"],Ei=Math.random(),Hi=!1,Ii=null,S=function(){Ii||(Ii=new R(Ei));return Ii};R.getInstance=S;g=R.prototype;g.mc=-1;g.ab=null;g.zc=null;g.ub=null;g.yc=!0;g.pb=!1;g.ta=!1;g.kc=!1;g.Ac=!1;g.pa=null;g.qb=null;g.da=null;g.C=null;
var Ji=function(a){a.ub||(a.ub=new ih);return a.ub},Fi=function(a){var b=Ji(a).b;(a=ag(Ji(a).toString()))&&cg(a,function(a,d){-1<Gi.indexOf(a)&&b.set(a,d)});return b},Zh=function(a,b,c){P(a.C,b,c,void 0)},Ni=function(a){a.pb=!0;a.qb=a.Wb();a.da=a.Vb();if(a.C){var b=a.b,c=a.qb;b.c=a.C;b.g=c;for(c=Sa(b.a);c.length;){var d=c.shift();Th(b,d.type,d.Ic)}}null!=a.a.getParameter("clickN")||Qh(a.a,"clickN",1);a.yc="true"!=a.a.getParameter("ise");b=a.O("leftOffset")||0;c=a.O("topOffset")||0;0==b&&0==c||Ki(a,
b,c);a.h=a.a.getParameter("exitEvents",{});b=a.a;if(Db(b.a,"assets")||b.b.R("assets"))b=a.a.getParameter("assets").toString(),Li(a,b);Vf(a.a.getParameter("features",[]));a.J.g=a.b;b=a.J;z(2)&&(N(b,document.body||window,"mouseover",b.F,void 0),N(b,document.body||window,"mouseout",b.D,void 0));l(window.ontouchstart)&&(b.a=new Af(1E3),N(b,b.a,"tick",b.D,void 0),N(b,document,["touchstart","touchmove"],b.F,void 0));b.b&&(Eg(b,b.b,"tick",b.w),b.b.dispose());b.b=new Af(80);N(b,b.b,"tick",b.w,void 0);b.b.start();
Mi(a);if(b=a.getParameter("layoutsConfig"))a.zc=JSON.parse(String(b));a.dispatchEvent(new Q("init"));a.F.a||a.F.N()};R.prototype.ve=function(a){da(a)?(this.mc=a,H(I,"enabler.setProfileId set to: "+a)):H(I,"enabler.setProfileId invalid profile id value: "+a)};R.prototype.setProfileId=R.prototype.ve;R.prototype.jd=function(){return this.mc};R.prototype.getProfileId=R.prototype.jd;
R.prototype.se=function(a){u(a)?(this.ab=a,this.isInitialized()&&Mi(this)):H(I,"enabler.setDevDynamicContent invalid dcData value: "+a)};R.prototype.setDevDynamicContent=R.prototype.se;var Mi=function(a){if(null!=a.Y("dcData")||a.ab)window.dynamicContent=null!=a.Y("dcData")?a.Ma():a.ab};R.prototype.Ma=function(){var a=this.getParameter("dcData");return a?JSON.parse(String(a)):null};R.prototype.getDynamicDataPayload=R.prototype.Ma;R.prototype.ia=function(){return this.zc};
R.prototype.getLayoutsConfig=R.prototype.ia;R.prototype.Xd=function(){return this.a.b.b||Ig(this.a)};R.prototype.getAdParameters=R.prototype.Xd;R.prototype.he=function(a){Rh(this.a,a);this.pa&&sf(this.pa);Ni(this);H(I,"Asset properties have been set by host.")};R.prototype.setAdParameters=R.prototype.he;R.prototype.xd=function(){this.pa&&sf(this.pa);H(I,"Using default ad parameters in test environment. Simulating local events.");Ni(this)};
R.setRushSimulatedLocalEvents=function(a){Hi=!!a;if(a&&Ii){a=Ii;for(var b=0;b<a.Va.length;++b)a.dispatchEvent(a.Va[b])}};var Oi=function(a,b,c){var d=T;c=null!=c?c:0;d.Va.push(b);Cf(function(){this.dispatchEvent(b)},c,d);return jf(d,b,a,!1,d)};R.prototype.vb=function(){var a=Xf(),b=this.D.a;if(this.D.b!=a||Yf()&&this.D.a!=window.orientation){Yf()&&(b=window.orientation);var c=new Q("orientation");c.X("mode",a);c.X("degrees",b);this.dispatchEvent(c)}};
R.prototype.j=function(a,b,c){if(!this.ha()){var d=v.apply(this,[a,this].concat(Array.prototype.slice.call(arguments,2)));Cf(d,b)}};var Li=function(a,b){0<b.length&&-1==b.indexOf("=")&&(b=decodeURIComponent(b));b=b.split("&");if(!(2>=b.length&&""==b[0]))for(var c=0;c<b.length;c++){var d=b[c].split("=");a.o[d[0].toLowerCase()]=unescape(d[1])}};R.prototype.v=function(){Vh(this.b)};R.prototype.reportActivitiesImmediately=R.prototype.v;
var Pi=function(a){a.b&&Wh(a.b)},Qi=function(a,b){var c=a.a.getParameter("click",""),d=parseInt(a.a.getParameter("clickN"),10);a=a.a.getParameter("thirdPartyClickRedirect","");a:{var e=c;c=b;if(!$a(mb(e))){e=hg(e,null);if(!Za(b,e))break a;c=lb(c,e.length)}a&&(c=decodeURIComponent(c),Za(c,a)&&(c=lb(c,a.length)));if(!$a(mb(e))&&-1<e.indexOf("?"))for(b=da(d)?d:1,d=0;d<b;d++)c=unescape(c);b=c}return b},Ri=function(a,b,c,d){var e={};e.target=c;Bi&&(e.fullscreen=!0);(c=e)||(c={});e=window;var f=b instanceof
pc?b:tc("undefined"!=typeof b.href?b.href:String(b));b=c.target||b.target;var k=[];for(m in c)switch(m){case "width":case "height":case "top":case "left":k.push(m+"="+c[m]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(m+"="+(c[m]?1:0))}var m=k.join(",");Nb()&&e.navigator&&e.navigator.standalone&&b&&"_self"!=b?(m=e.document.createElement("A"),gc(m,"HTMLAnchorElement"),f instanceof pc||f instanceof pc||(f=f.na?f.ja():String(f),B(rc.test(f))||(f="about:invalid#zClosurez"),
f=sc(f)),m.href=qc(f),m.setAttribute("target",b),c.noreferrer&&m.setAttribute("rel","noreferrer"),c=document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,e,1),m.dispatchEvent(c)):c.noreferrer?(e=e.open("",b,m),f=qc(f),e&&(Ub&&kb(f,";")&&(f="'"+f.replace(/'/g,"%27")+"'"),e.opener=null,c=kc("b/12014412, meta tag with sanitized URL"),f='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+jb(f)+'">',Fa(jc(c),"must provide justification"),B(!$a(jc(c)),"must provide non-empty justification"),
c=Kc(f),e.document.write(Jc(c)),e.document.close())):(e=e.open(qc(f),b,m))&&c.noopener&&(e.opener=null);d&&a.v()},Si=function(a,b,c,d,e){P(a.C,e?"logExitFlushEventsOpenPopup":"launchExit",["Count",b,a.qb,!1,c,null,d])},Vi=function(a,b,c,d,e){if($a(mb(b)))H(I,"There was a problem with the exit call.");else{var f=l(d)?d:0;d=a.h[b]&&a.h[b].target||"_blank";var k;if(k=!z(8))k=!(kb(Ti(a),"[rm_exit_id]")&&null!=a.h[b]&&null!=a.h[b].reportingId&&!$a(a.h[b].reportingId));f=!(f&1);if(e){var m=Ti(a);if(e.pIndex){var w=
m;if(m=e.pIndex){var y=w.toLowerCase().indexOf("&adurl=");-1<y&&(w=w.substr(0,y)+"&gpa_pos="+m+w.substr(y))}m=w}w=e.clickX;e=e.clickY;void 0!=w&&void 0!=e&&-1<w&&-1<e&&(y=m.toLowerCase().indexOf("&adurl="),-1<y&&(m=m.substr(0,y)+"&nx="+w+"&ny="+e+m.substr(y)));e=m}else e=Ti(a);f&&(a.h[b]?z(8)?Si(a,b,c,e,!0):(f=ig(c),f=Ui(a,f,e,b),Ri(a,f,d,!k)):c&&(a.ha()&&z(8)?Si(a,b,c,e,!1):(f=ig(c),f=Ui(a,f,e,null),Ri(a,f,d,!0),k=!1)));k&&Uh(a.b,"Count",b,!0,!0,!0);P(a.C,"AD_CLICKED");d=new Q("exit");d.X("id",b);
d.X("url",c);a.dispatchEvent(d);H(I,'Exit "'+(b+'" invoked.'))}},Wi=function(a,b,c,d,e){a=a.h[b];c=!d&&a&&a.url?a.url:c;return null==e||$a(mb(e))?c:dg(c,e+"")},Ui=function(a,b,c,d){var e=null;d&&(e=a.h[d],e=null!=e.reportingId?e.reportingId:null);b=b||"";d=a.a.getParameter("thirdPartyClickRedirect","");a=parseInt(a.a.getParameter("clickN"),10);if(!$a(mb(c))&&-1<c.indexOf("?")){a=da(a)?a:1;for(var f=0;f<a;f++)b=encodeURIComponent(b)}e&&(c=hg(c,e),b=d?encodeURIComponent(d+b):b);return c+b},Ti=function(a){return a.a.getParameter("click",
"")};R.prototype.reportManualClose=function(){H(I,"Ad was closed by user action.");Uh(this.b,"Count","EVENT_MANUAL_CLOSE",void 0,void 0,void 0)};R.prototype.reportManualClose=R.prototype.reportManualClose;var Xi=function(a,b,c){var d=b;100<d.length&&(d=d.substr(0,100));P(a.C,"reportCustomVariable",[escape(d),c]);H(I,'Custom string "'+(b+'" recorded.'))},Ki=function(a,b,c){a.ha()&&!z(8)&&(a.ba&&wi(a.ba),a.ba=vi(Gc("body",{position:"relative","margin-left":-b+"px !important","margin-top":-c+"px !important"})))};
R.prototype.ie=function(a,b,c){Qh(this.a,a,b,c)};R.prototype.setParameter=R.prototype.ie;R.prototype.wb=function(){this.dispatchEvent(new Q("pageLoaded"))};R.prototype.dispatchPageLoaded=R.prototype.wb;
R.prototype.dispatchEvent=function(a){this.sa[a.type]=(this.sa[a.type]||0)+1;switch(a.type){case "pageLoaded":null!=window.AdobeEdge&&t(window.AdobeEdge.loadResources)&&window.AdobeEdge.loadResources();this.kc=!0;break;case "orientation":this.D.b=a.mode,this.D.a=a.degrees}return R.l.dispatchEvent.call(this,a)};R.prototype.dispatchEvent=R.prototype.dispatchEvent;
R.prototype.Ya=function(a){(this.Ac=a)&&!this.sa.visible?(null!=window.AdobeEdge&&t(window.AdobeEdge.playWhenReady)&&window.AdobeEdge.playWhenReady(),this.yc&&Uh(this.b,"Start","DISPLAY_TIMER",void 0,void 0,void 0),this.dispatchEvent(new Q("visible"))):this.sa.hidden||this.dispatchEvent(new Q("hidden"));this.dispatchEvent(new Q("visibilityChange"))};R.prototype.setAdVisibleInternal=R.prototype.Ya;R.prototype.Td=function(){this.Ya(!0)};R.prototype.dispatchAdVisible=R.prototype.Td;
R.prototype.uc=function(a,b,c,d,e,f){if(c||d)this.w||(this.w={}),this.w.width=c,this.w.height=d;null!=e&&(this.Ha=!!e);null!=f&&Qh(this.a,"isMultiDirectional",f?"true":"false")};R.prototype.setExpandingPixelOffsets=R.prototype.uc;R.prototype.wc=function(a){this.Ha=!!a};R.prototype.setStartExpanded=R.prototype.wc;R.prototype.vc=function(a){Qh(this.a,"isMultiDirectional",a?"true":"false")};R.prototype.setIsMultiDirectional=R.prototype.vc;
R.prototype.ye=function(a){P(this.C,"invokeMraidMethod",["useCustomClose",[a]]);this.Wa=0==a};R.prototype.setUseCustomClose=R.prototype.ye;R.prototype.te=function(){};R.prototype.setFloatingPixelDimensions=R.prototype.te;R.prototype.isVisible=function(){return this.Ac};R.prototype.isVisible=R.prototype.isVisible;R.prototype.ha=function(){return z(1)};R.prototype.isServingInLiveEnvironment=R.prototype.ha;R.prototype.isPageLoaded=function(){return this.kc};R.prototype.isPageLoaded=R.prototype.isPageLoaded;
R.prototype.isInitialized=function(){return this.pb};R.prototype.isInitialized=R.prototype.isInitialized;R.prototype.Hb=function(a){t(a)&&xe(this.F,a)};R.prototype.callAfterInitialized=R.prototype.Hb;R.prototype.getParameter=function(a){return this.a.getParameter(a,null)};R.prototype.getParameter=R.prototype.getParameter;R.prototype.getParameter=R.prototype.getParameter;R.prototype.O=function(a){return this.a.O(a)};R.prototype.getParameterAsInteger=R.prototype.O;R.prototype.Y=function(a){return this.a.Y(a)};
R.prototype.getParameterAsNullableString=R.prototype.Y;R.prototype.exit=function(a,b,c){l(b)&&(b=Qi(this,b));Pi(this);Vi(this,a,Wi(this,a,b,!1),c)};R.prototype.exit=R.prototype.exit;R.prototype.La=function(a,b,c){b=Qi(this,b);Pi(this);Vi(this,a,Wi(this,a,b,!0),c)};R.prototype.exitOverride=R.prototype.La;R.prototype.Rc=function(a,b,c,d,e){e&&!e.pIndex?e.pIndex=c:e||(e={pIndex:c});b=Qi(this,b);Pi(this);Vi(this,a,Wi(this,a,b,!0),d,e)};R.prototype.dynamicExit=R.prototype.Rc;
R.prototype.eb=function(a,b){Vi(this,a,Wi(this,a,void 0,void 0,b||""))};R.prototype.exitQueryString=R.prototype.eb;R.prototype.Tb=function(a){return Ui(this,a,Ti(this),null)};R.prototype.formExitUrlFromOverride=R.prototype.Tb;R.prototype.Aa=function(a,b){H(I,'Counter "'+(a+'" invoked.'));Uh(this.b,"Count",a,b,!0,void 0);zd(I,Kh(a,"Count"))};R.prototype.counter=R.prototype.Aa;R.prototype.startTimer=function(a){H(I,'Timer "'+(a+'" started.'));Uh(this.b,"Start",a,void 0,!0,void 0);zd(I,Kh(a,"Start"))};
R.prototype.startTimer=R.prototype.startTimer;R.prototype.stopTimer=function(a){H(I,'Timer "'+(a+'" stopped.'));Uh(this.b,"Stop",a,void 0,!0,void 0);zd(I,Kh(a,"Stop"))};R.prototype.stopTimer=R.prototype.stopTimer;R.prototype.ne=function(a){G(I,Ih("Enabler.reportCustomImpressionVariable(postString)","Enabler.reportCustomVariableCount1(customString)"));Xi(this,a,1)};R.prototype.reportCustomImpressionVariable=R.prototype.ne;R.prototype.oe=function(a){Xi(this,a,1)};
R.prototype.reportCustomVariableCount1=R.prototype.oe;R.prototype.me=function(a){G(I,Ih("Enabler.reportCustomClickVariable(postString)","Enabler.reportCustomVariableCount1(customString)"));Xi(this,a,2)};R.prototype.reportCustomClickVariable=R.prototype.me;R.prototype.pe=function(a){Xi(this,a,2)};R.prototype.reportCustomVariableCount2=R.prototype.pe;R.prototype.Ub=function(){return this.c};R.prototype.getContainerState=R.prototype.Ub;R.prototype.Xb=function(){return this.ca};
R.prototype.getExpandDirection=R.prototype.Xb;R.prototype.we=function(a){this.Xa||Zh(this,"setResponsiveBehavior",[a?2:0,2])};R.prototype.setResponsiveExpanding=R.prototype.we;R.prototype.xe=function(a,b){Zh(this,"responsiveResize",[a,b])};R.prototype.setResponsiveSize=R.prototype.xe;
R.prototype.Sa=function(){if("collapsed"!=this.c)G(I,"Enabler.requestExpand() should not be invoked unless the creative is in the collapsed state.");else{uf(this,"expandStart")||G(I,"Please implement the expansion via event handlers:\nEnabler.addEventListener(\n    studio.events.StudioEvent.EXPAND_START,\n    function() {/* expand action */});");this.Xa=!0;var a=[this.da];this.w&&a.push(this.w);P(this.C,"expandRequested",a);Yi(this,this.ya);this.j(this.Gb,0)}};R.prototype.requestExpand=R.prototype.Sa;
var Yi=function(a,b){if(!a.ha()&&a.Wa){var c=document.getElementsByTagName("body")[0],d=E("IMG",{width:"15",height:"15",border:"0",src:"http://s0.2mdn.net/ads/studio/close.png"});a.f={N:b,element:E("DIV",{style:"position: absolute;right: 5px;top: 5px;width: 15px;height: 15px;cursor: pointer;"},d)};N(a.L,a.f.element,"click",b,void 0);Xc(c,a.f.element)}},Zi=function(a){a.f&&(Yc(a.f.element),Eg(a.L,a.f.element,"click",a.f.N),a.f.element=null,a.f.N=null,a.f=null)};R.prototype.Sc=function(){this.dispatchEvent(new Q("aboutToExpand"))};
R.prototype.aboutToExpandInternal=R.prototype.Sc;
R.prototype.Gb=function(a){a&&(a=og[a.toString().toUpperCase()]);var b=0,c=0;"true"==this.getParameter("isMultiDirectional")&&a&&(a.a&2&&(c=this.O("topOffset")),a.a&1&&(b=this.O("leftOffset")));Ki(this,null===b?0:b,null===c?0:c);a?this.ca=a:this.ca=this.ha()||"true"!=this.getParameter("isMultiDirectional")?null:pg[this.Sd++%pg.length];this.Ha||(Uh(this.b,"Start","EXPAND_TIMER",void 0,void 0,void 0),Pi(this),this.ta||(this.v(),this.ta=!0));this.Ha=!1;this.c="expanding";a=new Q("expandStart");a.X("direction",
this.ca);this.dispatchEvent(a)};R.prototype.startExpandInternal=R.prototype.Gb;R.prototype.hb=function(){"expanding"!=this.c?G(I,"You must first call Enabler.requestExpand() to initiate the expansion and then call Enabler.finishExpand() when the expand animation has  finished. Cancelling expansion..."):(P(this.C,"expandFinished",[this.da]),this.c="expanded",H(I,"The creative has expanded."),this.dispatchEvent(new Q("expandFinish")))};R.prototype.finishExpand=R.prototype.hb;
R.prototype.expand=function(a,b){G(I,"The Enabler.expand() method has been deprecated. As an alternative please use: Enabler.requestExpand().");Ki(this,0,0);var c=[this.da];b&&c.push(b);this.Wa=!!b&&0==b.useCustomClose;P(this.C,"expandAsset",c);a||(Uh(this.b,"Start","EXPAND_TIMER",void 0,void 0,void 0),Pi(this));this.ta||(this.v(),this.ta=!0);H(I,"The creative has expanded.")};R.prototype.expand=R.prototype.expand;
R.prototype.ya=function(){"expanded"!=this.c&&G(I,"Enabler.requestCollapse() should not be invoked unless the creative is in the expanded state.");Zi(this);uf(this,"collapseStart")||G(I,"Please implement collapse via event handlers:\nEnabler.addEventListener(\n    studio.events.StudioEvent.COLLAPSE_START,\n    function() {/* Begin collapse animation */});");P(this.C,"collapseRequested",[this.da]);this.j(this.Fb,0)};R.prototype.requestCollapse=R.prototype.ya;
R.prototype.Fb=function(){this.c="collapsing";this.dispatchEvent(new Q("collapseStart"))};R.prototype.startCollapseInternal=R.prototype.Fb;R.prototype.gb=function(){"collapsing"!=this.c?G(I,"You must first call Enabler.requestCollapse() to initiate the collapse and then call Enabler.finishCollapse() when the collapse animation has  finished. Cancelling collapse..."):(P(this.C,"collapseFinished",[this.da]),this.j(this.xb,0))};R.prototype.finishCollapse=R.prototype.gb;
R.prototype.xb=function(){var a=this.O("leftOffset")||0,b=this.O("topOffset")||0;Ki(this,a,b);Uh(this.b,"Stop","EXPAND_TIMER",void 0,void 0,void 0);this.c="collapsed";H(I,"The creative has collapsed.");this.dispatchEvent(new Q("collapseFinish"))};R.prototype.finishCollapseInternal=R.prototype.xb;
R.prototype.collapse=function(){G(I,"The Enabler.collapse() method has been deprecated. As an alternative please use: Enabler.requestCollapse().");uf(this,"collapse")||G(I,"Please implement collapse via event handlers:\nEnabler.addEventListener(\n    studio.events.StudioEvent.COLLAPSE_START,\n    function() {/* Begin collapse animation */});");var a=this.O("leftOffset")||0,b=this.O("topOffset")||0;Ki(this,a,b);P(this.C,"collapseAsset",[this.da]);this.dispatchEvent(new Q("collapse"));Uh(this.b,"Stop",
"EXPAND_TIMER",void 0,void 0,void 0)};R.prototype.collapse=R.prototype.collapse;R.prototype.close=function(){this.J.dispose();P(this.C,"tellAssetHide",[this.da]);H(I,"Closing ad. If this was invoked by a user action, call Enabler.reportManualClose() as well.")};R.prototype.close=R.prototype.close;R.prototype.Jc=function(){P(this.C,"tellCompanionAssetHide",[this.da])};R.prototype.closeCompanion=R.prototype.Jc;R.prototype.Qc=function(){P(this.C,"tellCompanionAssetShow",[this.da])};
R.prototype.displayCompanion=R.prototype.Qc;R.prototype.ed=function(){return this.Y("sn")};R.prototype.getDartSiteName=R.prototype.ed;R.prototype.dd=function(){return this.O("sid")};R.prototype.getDartSiteId=R.prototype.dd;R.prototype.ad=function(){return this.O("aid")};R.prototype.getDartAdId=R.prototype.ad;R.prototype.cd=function(){return this.O("pid")};R.prototype.getDartPageId=R.prototype.cd;R.prototype.Wb=function(){return this.Y("rid")};R.prototype.getDartRenderingId=R.prototype.Wb;
R.prototype.bd=function(){return this.O("cid")};R.prototype.getDartCreativeId=R.prototype.bd;R.prototype.Vb=function(){return this.Y("varName")};R.prototype.getDartAssetId=R.prototype.Vb;R.prototype.md=function(){return this.Y("ct")};R.prototype.getUserCountry=R.prototype.md;R.prototype.od=function(){return this.Y("st")};R.prototype.getUserState=R.prototype.od;R.prototype.pd=function(){return this.Y("zp")};R.prototype.getUserZipCode=R.prototype.pd;
R.prototype.ld=function(){var a=this.O("bw");return null!=a?a:0};R.prototype.getUserBandwidth=R.prototype.ld;R.prototype.kd=function(){return this.Y("ac")};R.prototype.getUserAreaCode=R.prototype.kd;R.prototype.nd=function(){return this.O("dma")};R.prototype.getUserDMACode=R.prototype.nd;R.prototype.getFilename=function(a){G(I,"The method: Enabler.getFilename(filename) has been deprecated. As an alternative please use: Enabler.getUrl(filename).");return this.Ba(a)};R.prototype.getFilename=R.prototype.getFilename;
R.prototype.Ba=function(a){var b=a.toLowerCase(),c=b.slice(b.lastIndexOf("/")+1),d=encodeURIComponent(c),e=this.o[c];e=(e=(e=(e=(e=e||this.o["pro_"+c])||this.o[b])||this.o["pro_"+b])||this.o[d])||this.o["pro_"+d];return null!=e?e:a};R.prototype.getUrl=R.prototype.Ba;R.prototype.hd=function(){return this.D};R.prototype.getOrientation=R.prototype.hd;
R.prototype.ae=function(a,b){if(a)for(var c=0;c<this.Za.length;++c){var d=this.Za[c];if(null!=d)switch(a){case "changevolume":null!=b&&(0<b&&(d.muted=!1),d.volume=b);break;case "pause":d.pause();break;case "resume":d.play()}}};R.prototype.invokeOnAllVideos=R.prototype.ae;R.prototype.Eb=function(a){null!=a&&this.Za.push(a)};R.prototype.registerVideoElements=R.prototype.Eb;R.prototype.Vd=function(a,b){a=Ge(Cd(a));null!=b&&xe(a,b)};R.prototype.loadScript=R.prototype.Vd;
R.prototype.Ea=function(a,b){Rf(Ad,a)?xe(this.F,qa(Pf,a,b)):yd(I,"There is no module called "+(a+"."))};R.prototype.loadModule=R.prototype.Ea;R.prototype.Ud=function(a,b){for(var c=a.length,d=0;d<a.length;++d)this.Ea(a[d],function(){0==--c&&b()})};R.prototype.loadModules=R.prototype.Ud;R.prototype.ec=function(a){H(I,'Dispatching function invocation "'+a+'" on parent.');P(this.C,"invokeExternalJSFunction",[escape(a)])};R.prototype.invokeExternalJsFunction=R.prototype.ec;
R.prototype.fc=function(a,b,c){a in Gh||G(I,'The mraid method "'+(a+"\" isn't allowed to be invoked, please use one of the corresponding Enabler methods."));var d='Method "'+(a+'" invoked');b&&(d+='with arguments "'+(b.join(",")+'"'));H(I,d+".");P(this.C,"invokeMraidMethod",[a,b],c)};R.prototype.invokeMraidMethod=R.prototype.fc;R.prototype.$d=function(){G(I,"The method: Enabler.invokeAdMobMethod has been deprecated.")};R.prototype.invokeAdMobMethod=R.prototype.$d;
R.prototype.B=function(a,b,c,d){Rf(jg,a)?P(this.C,"invokeExternalJSFunctionWithReturn",[a,b,c],d):yd(I,'The whitelist global object "'+(a+"\" isn't whitelisted, please only call methods on one of the existing whitelisted objects."))};R.prototype.invokeExternalJsFunctionWithReturn=R.prototype.B;R.prototype.fe=function(a,b){H(I,"Dispatching function invocation openUrl on parent.");P(this.C,"invokeUrlOpen",[a],b)};R.prototype.invokeUrlOpen=R.prototype.fe;
R.prototype.s=function(){this.ba&&wi(this.ba);this.pa&&sf(this.pa);Ne(this.J,this.b,this.L,this.F);delete this.la;R.l.s.call(this)};R.prototype.addEventListener=function(a,b,c,d,e){if(a.toString()in lg){if(!this.ha()){e=b;t(b)&&(e=function(a){a.Zc?b(a.aa):b(a)});N(this.L,window,a,e,c,d);return}P(this.C,"registerEventTypeListenerForType",[a,e])}kf(this,a,b,c,d)};R.prototype.addEventListener=R.prototype.addEventListener;R.prototype.removeEventListener=function(a,b,c,d){rf(this,a,b,c,d)};
R.prototype.removeEventListener=R.prototype.removeEventListener;R.prototype.$a=function(a,b){this.la[a]=b};R.prototype.addMessageHandler=R.prototype.$a;R.prototype.ke=function(a){delete this.la[a]};R.prototype.removeMessageHandler=R.prototype.ke;R.prototype.Rd=function(a,b){a=this.la[a];t(a)&&a.apply(null,b)};R.prototype.defaultMessageHandler=R.prototype.Rd;
R.prototype.oc=function(){uf(this,"fullscreenSupport")||G(I,"Please implement an event handler in order to receive support status:\nEnabler.addEventListener(\n    studio.events.StudioEvent.FULLSCREEN_SUPPORT,\n    function() {/* query event for fullscreen status */});");P(this.C,"isFullscreenSupported");this.j(this.Db,0,!0)};R.prototype.queryFullscreenSupport=R.prototype.oc;
R.prototype.nc=function(){uf(this,"fullscreenDimensions")||G(I,"Please implement an event handler in order to receive dimensions:\nEnabler.addEventListener(\n    studio.events.StudioEvent.FULLSCREEN_DIMENSIONS,\n    function() {/* query event for fullscreen dimensions */});");P(this.C,"queryFullscreenDimensions");if(!this.ha()){var a=window.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;a=new Mc(a.clientWidth,a.clientHeight);this.j(this.Ab,0,a.width,a.height)}};
R.prototype.queryFullscreenDimensions=R.prototype.nc;
R.prototype.qc=function(a,b){if("collapsed"!=this.c)G(I,"Enabler.requestFullscreenExpand() should not be invoked unless the  creative is in the collapsed state.");else{uf(this,"fullscreenExpandStart")||G(I,"Please implement the fullscreen expansion via event handlers:\nEnabler.addEventListener(\n    studio.events.StudioEvent.FULLSCREEN_EXPAND_START,\n    function() {/* expand action */});");this.Xa=!0;var c=[];a&&b&&(c=[a,b]);P(this.C,"fullscreenExpandRequested",c);Yi(this,this.mb);this.j(this.Cb,
0,a,b)}};R.prototype.requestFullscreenExpand=R.prototype.qc;R.prototype.Sb=function(){"fs_expanding"!=this.c?G(I,"You must first call Enabler.requestFullscreenExpand() to initiate the expansion and then call Enabler.finishFullscreenExpand() when the expand animation has finished. Cancelling expansion..."):(P(this.C,"fullscreenExpandFinished"),H(I,"The creative has expanded."),this.j(this.Bb,0))};R.prototype.finishFullscreenExpand=R.prototype.Sb;
R.prototype.mb=function(){"fs_expanded"!=this.c?G(I,"Enabler.requestFullscreenCollapse() should not be invoked unless the  creative is in the fullscreen state."):(uf(this,"fullscreenCollapseStart")||G(I,"Please implement fullscreen collapse via event handlers:\nEnabler.addEventListener(\n    studio.events.StudioEvent.FULLSCREEN_COLLAPSE_START,\n    function() {/* Begin collapse animation */});"),Zi(this),P(this.C,"fullscreenCollapseRequested"),this.j(this.zb,0))};
R.prototype.requestFullscreenCollapse=R.prototype.mb;R.prototype.Rb=function(){"fs_collapsing"!=this.c?G(I,"You must first call Enabler.requestFullscreenCollapse() to initiate the collapse and then call Enabler.finishFullscreenCollapse() when the collapse animation has finished. Cancelling collapse..."):(P(this.C,"fullscreenCollapseFinished"),this.j(this.yb,0))};R.prototype.finishFullscreenCollapse=R.prototype.Rb;R.prototype.je=function(a){P(this.C,"registerChargeableEventName",[a])};
R.prototype.registerChargeableEventName=R.prototype.je;R.prototype.ib=function(){return this.J.ib()};R.prototype.hasUserInteracted=R.prototype.ib;R.prototype.Db=function(a){var b=new Q("fullscreenSupport");b.X("supported",a);this.dispatchEvent(b)};R.prototype.fullscreenSupportInternal=R.prototype.Db;R.prototype.Ab=function(a,b){var c=new Q("fullscreenDimensions");void 0!=a&&void 0!=b&&(c.X("width",a),c.X("height",b));this.dispatchEvent(c)};R.prototype.fullscreenDimensionsInternal=R.prototype.Ab;
R.prototype.Cb=function(a,b,c,d){Uh(this.b,"Start","EXPAND_TIMER",void 0,void 0,void 0);Pi(this);this.ta||(this.v(),this.ta=!0);this.c="fs_expanding";var e=new Q("fullscreenExpandStart");e.X("width",a);e.X("height",b);e.X("left",c);e.X("top",d);this.dispatchEvent(e)};R.prototype.fullscreenExpandStartInternal=R.prototype.Cb;R.prototype.Bb=function(){this.c="fs_expanded";this.dispatchEvent(new Q("fullscreenExpandFinish"))};R.prototype.fullscreenExpandFinishInternal=R.prototype.Bb;
R.prototype.zb=function(){this.c="fs_collapsing";this.dispatchEvent(new Q("fullscreenCollapseStart"))};R.prototype.fullscreenCollapseStartInternal=R.prototype.zb;R.prototype.yb=function(){Uh(this.b,"Stop","EXPAND_TIMER",void 0,void 0,void 0);this.c="collapsed";this.dispatchEvent(new Q("fullscreenCollapseFinish"))};R.prototype.fullscreenCollapseFinishInternal=R.prototype.yb;R.prototype.vd=function(){return this.re.b("image/webp")};R.prototype.canRenderWebpImages=R.prototype.vd;
R.prototype.Kb=function(a){return this.Pb.c(a)?this.Pb.b(a):!1};R.prototype.supportsVideoFormat=R.prototype.Kb;R.prototype.ue=function(){return this};R.prototype.setHint=R.prototype.ue;R.prototype.Yb=function(){a:{for(a in bd)if("studio"==bd[a]){var a="studio";break a}a=null}return a||"studio"};R.prototype.getSdk=R.prototype.Yb;var $i=S();p("Enabler",$i,void 0);var T=S();
if(!T.pb){var aj=T.a.getParameter("e",null);aj&&wa(parseInt(aj,10)||0);var bj=T.O("leftOffset")||0,cj=T.O("topOffset")||0;0==bj&&0==cj||Ki(T,bj,cj);var dj;dj=Ji(T).c;var ej;ej=Ji(T).g;var fj;fj=Ji(T).f;var gj=[dj,"://",ej,fj].join("");Je(Uf.a);Vf([1,2]);var hj;hj=T.a.getParameter("c",void 0);var ij;ij=T.a.O("t");var jj=T.a.O("sfi");T.C=new Eh(hj,ij,null!==jj&&jj<h.parent.frames.length?h.parent.frames[jj]:null);Me(T,T.C);T.C.a=T;T.C.j=gj.split("?")[0];if(!T.ha()){var kj=1E3;Hi&&(kj=0);T.pa=Oi(T.xd,
"a",kj);var lj=2E3,mj=2500;Hi&&(mj=lj=0);Oi(T.wb,"b",lj);Oi(qa(T.Ya,!0),"c",mj);N(T.L,window,["resize","orientationchange"],T.vb,void 0);T.vb()}T.C.connect()}Df.enabler=3;var U=function(){M.call(this);this.a="loading";this.b=ea("Enabler");this.b.isInitialized()?this.c():kf(this.b,"init",this.c,!1,this)};x(U,M);ja(U);U.prototype.o=function(){return this.a};U.prototype.getState=U.prototype.o;U.prototype.h=function(){return"1.0"};U.prototype.getVersion=U.prototype.h;U.prototype.v=function(){this.b.exit("MRAID default exit")};U.prototype.open=U.prototype.v;
U.prototype.close=function(){"expanded"==this.a?(this.b.ya(),this.a="default",this.dispatchEvent("stateChange")):"default"==this.a&&(this.a="hidden",this.b.close(),this.dispatchEvent("stateChange"))};U.prototype.close=U.prototype.close;U.prototype.j=function(){return this.b.isVisible()};U.prototype.isViewable=U.prototype.j;U.prototype.expand=function(){"default"==this.a&&(this.b.Sa(),this.a="expanded",this.dispatchEvent("stateChange"))};U.prototype.expand=U.prototype.expand;
U.prototype.c=function(){this.a="default";kf(this.b,"collapseStart",this.f,!1,this);this.dispatchEvent("ready")};U.prototype.f=function(){"expanded"==this.a&&(this.a="default",this.dispatchEvent("stateChange"))};if(!window.mraid){var nj=U.ea();p("mraid",nj,void 0)};p("studio.sdk.hint.ExpansionMode",{NORMAL:"normal",LIGHTBOX:"lightbox"},void 0);p("studio.sdk.hint.ExpansionTrigger",{ON_CLICK:"onClick",ON_HOVER:"onHover"},void 0);p("studio.sdk.hint.Hint",{EXPANSION_MODE:"expansionMode",EXPANSION_TRIGGER:"expansionTrigger"},void 0);var oj,pj,qj,rj,sj,tj,uj=function(){return h.navigator?h.navigator.userAgent:""},vj=function(a){return kb(uj(),a)},wj=vj("(iPad")||vj("(iPod")||vj("(iPhone"),xj=vj("Android"),yj=vj("MSIE")||vj("IEMobile")||vj("Windows Phone"),zj=function(){l(rj)||(rj=vj("afma-sdk-a")?!0:!1);return rj},Aj=function(){if(!l(sj)){a:{if(!l(qj)){if(wj&&!vj("Safari")){var a=qj=!0;break a}qj=!1}a=qj}sj=a||zj()}return sj};var Bj=function(a){return"Config type "+(a+" does not exist")},Cj=function(a){return"Unable to parse a type for value with JavaScript type "+(q(a)+(': "'+(a+'"')))},Dj=function(a,b){return"Cannot handle description for property "+(b+(" on type "+(a+".")))},Ej=function(a,b){return"Array property "+(b+(" on type "+(a+" must have at least one element.")))},Fj=function(a,b){return"Invalid type for value of property "+(b+(" on type "+(a+".")))},Gj=function(a,b){return"No value specified for non-optional property "+
(b+(" on type "+(a+".")))},Hj=function(a,b){return"Property "+(b+(" does not exist on type "+(a+".")))},Ij=function(a,b){return"Property "+(b+(" is not an array on type "+(a+".")))},Jj=function(a,b,c,d){return"Property "+(b+(" on type "+(a+(" has length "+(c+(", but invalid index "+(d+" was requested.")))))))},Kj=function(a,b){return"Unknown event with type "+(a+(" and name "+b))},Lj=function(a){return"The optional property "+(a+" must be a reference")};var Mj=function(){};p("studio.utils.EnablerAccessor",Mj,void 0);var Nj=function(a){var b=S();b.isInitialized()?a(b):b.g.add("init",qa(a,b),!0,void 0,void 0)};Mj.getInitializedEnablerByCallback=Nj;var Oj=function(){return new Xd(function(a){var b=S();b.isInitialized()?a(b):b.g.add("init",qa(a,b),!0,void 0,void 0)})};Mj.getInitializedEnabler=Oj;Mj.loadModuleWhenReady=function(a,b){Nj(function(c){c.Ea(a,b)})};var Pj=function(){};ja(Pj);Pj.prototype.a=0;var V=function(a){M.call(this);this.ba=a||Pc();this.D=null;this.ga=!1;this.a=null;this.o=void 0;this.j=this.b=this.h=null};x(V,M);V.prototype.sa=Pj.ea();var Qj=function(a){return a.D||(a.D=":"+(a.sa.a++).toString(36))};V.prototype.getElement=function(){return this.a};
var Rj=function(a){a.o||(a.o=new Bg(a));return B(a.o)},Sj=function(a,b){if(a==b)throw Error("Unable to set parent component");var c;if(c=b&&a.h&&a.D){c=a.h;var d=a.D;c=c.j&&d?Fb(c.j,d)||null:null}if(c&&a.h!=b)throw Error("Unable to set parent component");a.h=b;V.l.ob.call(a,b)};V.prototype.ob=function(a){if(this.h&&this.h!=a)throw Error("Method not supported");V.l.ob.call(this,a)};V.prototype.V=function(){this.a=ad(this.ba,"DIV")};
var Tj=function(a,b,c){if(a.ga)throw Error("Component already rendered");a.a||a.V();b?b.insertBefore(a.a,c||null):a.ba.a.body.appendChild(a.a);a.h&&!a.h.ga||a.T()};V.prototype.T=function(){this.ga=!0;Uj(this,function(a){!a.ga&&a.getElement()&&a.T()})};var Vj=function(a){Uj(a,function(a){a.ga&&Vj(a)});a.o&&Fg(a.o);a.ga=!1};V.prototype.s=function(){this.ga&&Vj(this);this.o&&(this.o.dispose(),delete this.o);Uj(this,function(a){a.dispose()});this.a&&Yc(this.a);this.h=this.a=this.j=this.b=null;V.l.s.call(this)};
var Wj=function(a,b){var c=a.b?a.b.length:0;B(!!b,"Provided element must not be null.");if(b.ga)throw Error("Component already rendered");if(0>c||c>(a.b?a.b.length:0))throw Error("Child component index out of bounds");a.j&&a.b||(a.j={},a.b=[]);if(b.h==a){var d=Qj(b);a.j[d]=b;Qa(a.b,b)}else{d=a.j;var e=Qj(b);if(null!==d&&e in d)throw Error('The object already contains the key "'+e+'"');d[e]=b}Sj(b,a);Va(a.b,c,0,b);b.ga&&a.ga&&b.h==a?(a=a.fa(),c=a.childNodes[c]||null,c!=b.getElement()&&a.insertBefore(b.getElement(),
c)):(a.a||a.V(),c=a.b?a.b[c+1]||null:null,Tj(b,a.fa(),c?c.a:null))};V.prototype.fa=function(){return this.a};var Uj=function(a,b){a.b&&C(a.b,b,void 0)};V.prototype.removeChild=function(a,b){if(a){var c=n(a)?a:Qj(a);a=this.j&&c?Fb(this.j,c)||null:null;if(c&&a){var d=this.j;c in d&&delete d[c];Qa(this.b,a);b&&(Vj(a),a.a&&Yc(a.a));Sj(a,null)}}if(!a)throw Error("Child is not in parent component");return a};
var Xj=function(a){for(var b=[];a.b&&0!=a.b.length;)b.push(a.removeChild(a.b?a.b[0]||null:null,!0))};})();
