(function(){var g,k=this,aa=function(a){return void 0!==a},ba=function(a){a=a.split(".");for(var b=k,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b},m=function(){},ca=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},da=function(a){return"array"==ca(a)},ea=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},n=function(a){return"string"==typeof a},fa=function(a){return"number"==typeof a},ga=function(a){return"function"==ca(a)},ha=function(a){var b=
typeof a;return"object"==b&&null!=a||"function"==b},ia="closure_uid_"+(1E9*Math.random()>>>0),ja=0,ka=function(a,b,c){return a.call.apply(a.bind,arguments)},la=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)}},p=function(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
ka:la;return p.apply(null,arguments)},ma=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)}},na=Date.now||function(){return+new Date},q=function(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&aa(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},r=function(a,b){function c(){}c.prototype=b.prototype;a.a=b.prototype;a.prototype=new c;a.prototype.constructor=
a;a.Ki=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 oa=function(a){return a},pa=function(a,b){var c=t.gg;b&&(a=p(a,b));var d=null;return function(b){k.clearTimeout(d);var e=arguments;d=k.setTimeout(function(){a.apply(null,e)},c)}},ra=function(){var a=qa,b=null,c=!1,d=[],e=function(){b=null;c&&(c=!1,f())},f=function(){b=k.setTimeout(e,1E3);a.apply(null,d)};return function(a){d=arguments;b?c=!0:f()}};var sa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,sa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};r(sa,Error);sa.prototype.name="CustomError";var ta;var ua=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},va=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ea=function(a){if(!wa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(xa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(ya,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(za,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Aa,"&quot;"));-1!=a.indexOf("'")&&
(a=a.replace(Ca,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Da,"&#0;"));return a},xa=/&/g,ya=/</g,za=/>/g,Aa=/"/g,Ca=/'/g,Da=/\x00/g,wa=/[\x00&<>"']/,Fa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Ga=function(a){a=aa(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);return Fa("0",Math.max(0,2-b))+a},Ha=function(a){return null==a?"":String(a)},Ia=function(a,b){return a<b?-1:a>b?1:0},Ja=function(a){return String(a).replace(/\-([a-z])/g,
function(a,c){return c.toUpperCase()})},Ka=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 La=function(a,b){b.unshift(a);sa.call(this,ua.apply(null,b));b.shift()};r(La,sa);La.prototype.name="AssertionError";
var Ma=function(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),f=d;else a&&(e+=": "+a,f=b);throw new La(""+e,f||[]);},u=function(a,b,c){a||Ma("",null,b,Array.prototype.slice.call(arguments,2));return a},Na=function(a,b){throw new La("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Oa=function(a,b,c){fa(a)||Ma("Expected number but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2));return a},Pa=function(a,b,c){ga(a)||Ma("Expected function but got %s: %s.",[ca(a),
a],b,Array.prototype.slice.call(arguments,2))},Qa=function(a,b,c){ha(a)||Ma("Expected object but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2))};var Ra=Array.prototype.indexOf?function(a,b,c){u(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(n(a))return n(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},v=Array.prototype.forEach?function(a,b,c){u(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)},Sa=Array.prototype.filter?function(a,
b,c){u(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=n(a)?a.split(""):a,l=0;l<d;l++)if(l in h){var G=h[l];b.call(c,G,l,a)&&(e[f++]=G)}return e},Ta=Array.prototype.some?function(a,b,c){u(null!=a.length);return Array.prototype.some.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!0;return!1},Ua=function(a,b){a:{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)){b=e;break a}b=-1}return 0>b?null:n(a)?a.charAt(b):a[b]},Va=function(a,b){return 0<=Ra(a,b)},Wa=function(a,b){b=Ra(a,b);var c;if(c=0<=b)u(null!=a.length),Array.prototype.splice.call(a,b,1);return c},Xa=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Za=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[]},ab=function(a,b,c,d){u(null!=a.length);Array.prototype.splice.apply(a,$a(arguments,1))},$a=function(a,
b,c){u(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var bb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},cb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},db=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},eb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},fb=function(a){for(var b in a)return!1;return!0},gb=function(a,b){return null!==a&&b in a?a[b]:void 0},hb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),ib=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<hb.length;f++)c=hb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var jb;a:{var kb=k.navigator;if(kb){var lb=kb.userAgent;if(lb){jb=lb;break a}}jb=""}var w=function(a){return-1!=jb.indexOf(a)};var mb=function(){return w("Trident")||w("MSIE")},nb=function(){return(w("Chrome")||w("CriOS"))&&!w("Edge")};var pb=function(){this.ge="";this.ng=ob};pb.prototype.toString=function(){return"TrustedResourceUrl{"+this.ge+"}"};var ob={};var qb="StopIteration"in k?k.StopIteration:{message:"StopIteration",stack:""},rb=function(){};rb.prototype.next=function(){throw qb;};rb.prototype.sg=function(){return this};var sb=function(a,b){this.o={};this.D=[];this.vd=this.L=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 a&&this.addAll(a)};g=sb.prototype;g.za=function(){tb(this);for(var a=[],b=0;b<this.D.length;b++)a.push(this.o[this.D[b]]);return a};g.cb=function(){tb(this);return this.D.concat()};g.cc=function(a){return ub(this.o,a)};g.isEmpty=function(){return 0==this.L};
g.remove=function(a){return ub(this.o,a)?(delete this.o[a],this.L--,this.vd++,this.D.length>2*this.L&&tb(this),!0):!1};var tb=function(a){if(a.L!=a.D.length){for(var b=0,c=0;b<a.D.length;){var d=a.D[b];ub(a.o,d)&&(a.D[c++]=d);b++}a.D.length=c}if(a.L!=a.D.length){for(var e={},c=b=0;b<a.D.length;)d=a.D[b],ub(e,d)||(a.D[c++]=d,e[d]=1),b++;a.D.length=c}};g=sb.prototype;g.get=function(a,b){return ub(this.o,a)?this.o[a]:b};
g.set=function(a,b){ub(this.o,a)||(this.L++,this.D.push(a),this.vd++);this.o[a]=b};g.addAll=function(a){var b;a instanceof sb?(b=a.cb(),a=a.za()):(b=db(a),a=cb(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(a,b){for(var c=this.cb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new sb(this)};
g.sg=function(a){tb(this);var b=0,c=this.vd,d=this,e=new rb;e.next=function(){if(c!=d.vd)throw Error("The map has changed since the iterator was created");if(b>=d.D.length)throw qb;var e=d.D[b++];return a?e:d.o[e]};return e};var ub=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var vb=function(a){if(a.za&&"function"==typeof a.za)return a.za();if(n(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return cb(a)},wb=function(a){if(a.cb&&"function"==typeof a.cb)return a.cb();if(!a.za||"function"!=typeof a.za){if(ea(a)||n(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return db(a)}},xb=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ea(a)||n(a))v(a,b,c);else for(var d=wb(a),e=vb(a),f=e.length,
h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};var yb=function(a){yb[" "](a);return a};yb[" "]=m;var Ab=function(a,b){var c=zb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Bb=w("Opera"),x=mb(),Cb=w("Edge"),Db=Cb||x,Eb=w("Gecko")&&!(-1!=jb.toLowerCase().indexOf("webkit")&&!w("Edge"))&&!(w("Trident")||w("MSIE"))&&!w("Edge"),Fb=-1!=jb.toLowerCase().indexOf("webkit")&&!w("Edge"),Gb=function(){var a=k.document;return a?a.documentMode:void 0},Hb;
a:{var Ib="",Jb=function(){var a=jb;if(Eb)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Cb)return/Edge\/([\d\.]+)/.exec(a);if(x)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Fb)return/WebKit\/(\S+)/.exec(a);if(Bb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Jb&&(Ib=Jb?Jb[1]:"");if(x){var Kb=Gb();if(null!=Kb&&Kb>parseFloat(Ib)){Hb=String(Kb);break a}}Hb=Ib}
var Lb=Hb,zb={},Mb=function(a){return Ab(a,function(){for(var b=0,c=va(String(Lb)).split("."),d=va(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",l=d[f]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==h[0].length&&0==l[0].length)break;b=Ia(0==h[1].length?0:parseInt(h[1],10),0==l[1].length?0:parseInt(l[1],10))||Ia(0==h[2].length,0==l[2].length)||Ia(h[2],l[2]);h=h[3];l=l[3]}while(0==b)}return 0<=b})},Nb;var Ob=k.document;
Nb=Ob&&x?Gb()||("CSS1Compat"==Ob.compatMode?parseInt(Lb,10):5):void 0;var Pb=function(a,b,c,d,e){this.reset(a,b,c,d,e)};Pb.prototype.Jd=null;var Qb=0;Pb.prototype.reset=function(a,b,c,d,e){"number"==typeof e||Qb++;this.Mf=d||na();this.ub=a;this.nh=b;this.nf=c;delete this.Jd};Pb.prototype.setLevel=function(a){this.ub=a};Pb.prototype.getMessage=function(){return this.nh};var Rb=function(a){this.oh=a;this.lc=this.V=this.ub=this.i=null},Sb=function(a,b){this.name=a;this.value=b};Sb.prototype.toString=function(){return this.name};var Tb=new Sb("SHOUT",1200),Ub=new Sb("SEVERE",1E3),Vb=new Sb("WARNING",900),Wb=new Sb("INFO",800),Xb=new Sb("CONFIG",700);Rb.prototype.getParent=function(){return this.i};Rb.prototype.getChildren=function(){this.V||(this.V={});return this.V};Rb.prototype.setLevel=function(a){this.ub=a};
var Yb=function(a){if(a.ub)return a.ub;if(a.i)return Yb(a.i);Na("Root logger has no level set.");return null};Rb.prototype.log=function(a,b,c){if(a.value>=Yb(this).value)for(ga(b)&&(b=b()),a=new Pb(a,String(b),this.oh),c&&(a.Jd=c),c="log:"+a.getMessage(),k.console&&(k.console.timeStamp?k.console.timeStamp(c):k.console.markTimeline&&k.console.markTimeline(c)),k.msWriteProfilerMark&&k.msWriteProfilerMark(c),c=this;c;){var d=c,e=a;if(d.lc)for(var f=0;b=d.lc[f];f++)b(e);c=c.getParent()}};
Rb.prototype.severe=function(a,b){this.log(Ub,a,b)};Rb.prototype.warning=function(a,b){this.log(Vb,a,b)};Rb.prototype.info=function(a,b){this.log(Wb,a,b)};var Zb={},$b=null,ac=function(){$b||($b=new Rb(""),Zb[""]=$b,$b.setLevel(Xb))},bc=function(a){ac();var b;if(!(b=Zb[a])){b=new Rb(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=bc(a.substr(0,c));c.getChildren()[d]=b;b.i=c;Zb[a]=b}return b};var y=function(a,b){a&&a.info(b,void 0)};var cc=function(a,b){this.x=aa(a)?a:0;this.y=aa(b)?b:0};g=cc.prototype;g.clone=function(){return new cc(this.x,this.y)};g.toString=function(){return"("+this.x+", "+this.y+")"};g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.scale=function(a,b){b=fa(b)?b:a;this.x*=a;this.y*=b;return this};var dc=function(a,b){this.width=a;this.height=b};g=dc.prototype;g.clone=function(){return new dc(this.width,this.height)};g.toString=function(){return"("+this.width+" x "+this.height+")"};g.xg=function(){return this.width*this.height};g.isEmpty=function(){return!this.xg()};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};g.scale=function(a,b){b=fa(b)?b:a;this.width*=a;this.height*=b;return this};var ec=!x||9<=Number(Nb),fc=!Eb&&!x||x&&9<=Number(Nb)||Eb&&Mb("1.9.1");x&&Mb("9");var ic=function(a){return a?new gc(hc(a)):ta||(ta=new gc)},kc=function(a){var b=a||document;return b.querySelectorAll&&b.querySelector?b.querySelectorAll(".fab"):jc("*","fab",a)},lc=function(a,b){var c=b||document;return(c.getElementsByClassName?c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?c.querySelector("."+a):jc("*",a,b)[0])||null},mc=function(a,b){b=lc(a,b);return u(b,"No element found with className: "+a)},jc=function(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():
"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&Va(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c},oc=function(a,b){bb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=
b:"for"==d?a.htmlFor=b:nc.hasOwnProperty(d)?a.setAttribute(nc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},nc={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"},pc=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new dc(a.clientWidth,
a.clientHeight)},qc=function(a){return a.scrollingElement?a.scrollingElement:Fb||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement},z=function(a,b,c){return rc(document,arguments)},rc=function(a,b){var c=String(b[0]),d=b[1];if(!ec&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ea(d.name),'"');if(d.type){c.push(' type="',Ea(d.type),'"');var e={};ib(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(n(d)?c.className=d:da(d)?c.className=d.join(" "):
oc(c,d));2<b.length&&sc(a,c,b,2);return c},sc=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];!ea(f)||ha(f)&&0<f.nodeType?e(f):v(tc(f)?Za(f):f,e)}},uc=function(a,b){a.appendChild(b)},vc=function(a,b){sc(hc(a),a,arguments,1)},wc=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},xc=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},hc=function(a){u(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||
a.document},yc=function(a,b){u(null!=a,"goog.dom.setTextContent expects a non-null value for node");if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{wc(a);var c=hc(a);a.appendChild(c.createTextNode(String(b)))}},tc=function(a){if(a&&"number"==typeof a.length){if(ha(a))return"function"==typeof a.item||"string"==typeof a.item;if(ga(a))return"function"==
typeof a.item}return!1},gc=function(a){this.ya=a||k.document||document};g=gc.prototype;g.ba=ic;g.ec=function(a){return n(a)?this.ya.getElementById(a):a};g.getElementsByTagName=function(a,b){return(b||this.ya).getElementsByTagName(String(a))};g.Nd=function(a,b){return lc(a,b||this.ya)};g.rb=function(a,b){return mc(a,b||this.ya)};g.c=function(a,b,c){return rc(this.ya,arguments)};g.createElement=function(a){return this.ya.createElement(String(a))};g.createTextNode=function(a){return this.ya.createTextNode(String(a))};
g.appendChild=uc;g.getChildren=function(a){return fc&&void 0!=a.children?a.children:Sa(a.childNodes,function(a){return 1==a.nodeType})};g.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 zc=function(a,b,c){this.kh=c;this.Cg=a;this.uh=b;this.dd=0;this.Uc=null};zc.prototype.get=function(){var a;0<this.dd?(this.dd--,a=this.Uc,this.Uc=a.next,a.next=null):a=this.Cg();return a};zc.prototype.put=function(a){this.uh(a);this.dd<this.kh&&(this.dd++,a.next=this.Uc,this.Uc=a)};var Ac=function(a){k.setTimeout(function(){throw a;},0)},Bc,Cc=function(){var a=k.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!w("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=p(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&&!mb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(aa(c.next)){c=c.next;var a=c.He;c.He=null;a()}};return function(a){d.next={He: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){k.setTimeout(a,0)}};var Dc=function(){this.xd=this.Fb=null},Fc=new zc(function(){return new Ec},function(a){a.reset()},100);Dc.prototype.add=function(a,b){var c=Fc.get();c.set(a,b);this.xd?this.xd.next=c:(u(!this.Fb),this.Fb=c);this.xd=c};Dc.prototype.remove=function(){var a=null;this.Fb&&(a=this.Fb,this.Fb=this.Fb.next,this.Fb||(this.xd=null),a.next=null);return a};var Ec=function(){this.next=this.scope=this.Md=null};Ec.prototype.set=function(a,b){this.Md=a;this.scope=b;this.next=null};
Ec.prototype.reset=function(){this.next=this.scope=this.Md=null};var Kc=function(a,b){Gc||Hc();Ic||(Gc(),Ic=!0);Jc.add(a,b)},Gc,Hc=function(){var a=k.Promise;if(-1!=String(a).indexOf("[native code]")){var b=a.resolve(void 0);Gc=function(){b.then(Lc)}}else Gc=function(){var a=Lc;!ga(k.setImmediate)||k.Window&&k.Window.prototype&&!w("Edge")&&k.Window.prototype.setImmediate==k.setImmediate?(Bc||(Bc=Cc()),Bc(a)):k.setImmediate(a)}},Ic=!1,Jc=new Dc,Lc=function(){for(var a;a=Jc.remove();){try{a.Md.call(a.scope)}catch(b){Ac(b)}Fc.put(a)}Ic=!1};var Mc=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Nc=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Qc=function(a,b){this.j=0;this.Ya=void 0;this.Ib=this.Ua=this.i=null;this.Sc=this.Kd=!1;if(a!=m)try{var c=this;a.call(b,function(a){Oc(c,2,a)},function(a){if(!(a instanceof Pc))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(e){}Oc(c,3,a)})}catch(d){Oc(this,3,d)}},Rc=function(){this.next=this.context=this.Sb=this.wb=this.lb=null;this.Lc=!1};Rc.prototype.reset=function(){this.context=this.Sb=this.wb=this.lb=null;this.Lc=!1};
var Sc=new zc(function(){return new Rc},function(a){a.reset()},100),Tc=function(a,b,c){var d=Sc.get();d.wb=a;d.Sb=b;d.context=c;return d},Vc=function(){var a,b,c=new Qc(function(c,e){a=c;b=e});return new Uc(c,a,b)};Qc.prototype.then=function(a,b,c){null!=a&&Pa(a,"opt_onFulfilled should be a function.");null!=b&&Pa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Wc(this,ga(a)?a:null,ga(b)?b:null,c)};Mc(Qc);
Qc.prototype.cancel=function(a){0==this.j&&Kc(function(){var b=new Pc(a);Xc(this,b)},this)};
var Xc=function(a,b){if(0==a.j)if(a.i){var c=a.i;if(c.Ua){for(var d=0,e=null,f=null,h=c.Ua;h&&(h.Lc||(d++,h.lb==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.j&&1==d?Xc(c,b):(f?(d=f,u(c.Ua),u(null!=d),d.next==c.Ib&&(c.Ib=d),d.next=d.next.next):Yc(c),Zc(c,e,3,b)))}a.i=null}else Oc(a,3,b)},ad=function(a,b){a.Ua||2!=a.j&&3!=a.j||$c(a);u(null!=b.wb);a.Ib?a.Ib.next=b:a.Ua=b;a.Ib=b},Wc=function(a,b,c,d){var e=Tc(null,null,null);e.lb=new Qc(function(a,h){e.wb=b?function(c){try{var e=b.call(d,c);a(e)}catch(V){h(V)}}:
a;e.Sb=c?function(b){try{var e=c.call(d,b);!aa(e)&&b instanceof Pc?h(b):a(e)}catch(V){h(V)}}:h});e.lb.i=a;ad(a,e);return e.lb};Qc.prototype.Ch=function(a){u(1==this.j);this.j=0;Oc(this,2,a)};Qc.prototype.Dh=function(a){u(1==this.j);this.j=0;Oc(this,3,a)};
var Oc=function(a,b,c){if(0==a.j){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.j=1;var d;a:{var e=c,f=a.Ch,h=a.Dh;if(e instanceof Qc)null!=f&&Pa(f,"opt_onFulfilled should be a function."),null!=h&&Pa(h,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?"),ad(e,Tc(f||m,h||null,a)),d=!0;else if(Nc(e))e.then(f,h,a),d=!0;else{if(ha(e))try{var l=e.then;if(ga(l)){bd(e,l,f,h,a);d=!0;break a}}catch(G){h.call(a,G);d=!0;break a}d=
!1}}d||(a.Ya=c,a.j=b,a.i=null,$c(a),3!=b||c instanceof Pc||cd(a,c))}},bd=function(a,b,c,d,e){var f=!1,h=function(a){f||(f=!0,c.call(e,a))},l=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,h,l)}catch(G){l(G)}},$c=function(a){a.Kd||(a.Kd=!0,Kc(a.Ig,a))},Yc=function(a){var b=null;a.Ua&&(b=a.Ua,a.Ua=b.next,b.next=null);a.Ua||(a.Ib=null);null!=b&&u(null!=b.wb);return b};Qc.prototype.Ig=function(){for(var a;a=Yc(this);)Zc(this,a,this.j,this.Ya);this.Kd=!1};
var Zc=function(a,b,c,d){if(3==c&&b.Sb&&!b.Lc)for(;a&&a.Sc;a=a.i)a.Sc=!1;if(b.lb)b.lb.i=null,dd(b,c,d);else try{b.Lc?b.wb.call(b.context):dd(b,c,d)}catch(e){ed.call(null,e)}Sc.put(b)},dd=function(a,b,c){2==b?a.wb.call(a.context,c):a.Sb&&a.Sb.call(a.context,c)},cd=function(a,b){a.Sc=!0;Kc(function(){a.Sc&&ed.call(null,b)})},ed=Ac,Pc=function(a){sa.call(this,a)};r(Pc,sa);Pc.prototype.name="cancel";var Uc=function(a,b,c){this.uc=a;this.resolve=b;this.reject=c};/*
 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 fd=function(a,b){this.kd=[];this.rf=a;this.Ke=b||null;this.gc=this.Lb=!1;this.Ya=void 0;this.oe=this.Fe=this.Ed=!1;this.rd=0;this.i=null;this.Gd=0};fd.prototype.cancel=function(a){if(this.Lb)this.Ya instanceof fd&&this.Ya.cancel();else{if(this.i){var b=this.i;delete this.i;a?b.cancel(a):(b.Gd--,0>=b.Gd&&b.cancel())}this.rf?this.rf.call(this.Ke,this):this.oe=!0;this.Lb||gd(this,new hd)}};fd.prototype.Ie=function(a,b){this.Ed=!1;id(this,a,b)};
var id=function(a,b,c){a.Lb=!0;a.Ya=c;a.gc=!b;jd(a)},ld=function(a){if(a.Lb){if(!a.oe)throw new kd;a.oe=!1}},gd=function(a,b){ld(a);md(b);id(a,!1,b)},md=function(a){u(!(a instanceof fd),"An execution sequence may not be initiated with a blocking Deferred.")},od=function(a,b){return nd(a,b,null,void 0)},pd=function(a,b){nd(a,null,b,void 0)},nd=function(a,b,c,d){u(!a.Fe,"Blocking Deferreds can not be re-used");a.kd.push([b,c,d]);a.Lb&&jd(a);return a};
fd.prototype.then=function(a,b,c){var d,e,f=new Qc(function(a,b){d=a;e=b});nd(this,d,function(a){a instanceof hd?f.cancel():e(a)});return f.then(a,b,c)};Mc(fd);
var qd=function(a){return Ta(a.kd,function(a){return ga(a[1])})},jd=function(a){if(a.rd&&a.Lb&&qd(a)){var b=a.rd,c=rd[b];c&&(k.clearTimeout(c.T),delete rd[b]);a.rd=0}a.i&&(a.i.Gd--,delete a.i);for(var b=a.Ya,d=c=!1;a.kd.length&&!a.Ed;){var e=a.kd.shift(),f=e[0],h=e[1],e=e[2];if(f=a.gc?h:f)try{var l=f.call(e||a.Ke,b);aa(l)&&(a.gc=a.gc&&(l==b||l instanceof Error),a.Ya=b=l);if(Nc(b)||"function"===typeof k.Promise&&b instanceof k.Promise)d=!0,a.Ed=!0}catch(G){b=G,a.gc=!0,qd(a)||(c=!0)}}a.Ya=b;d&&(l=p(a.Ie,
a,!0),d=p(a.Ie,a,!1),b instanceof fd?(nd(b,l,d),b.Fe=!0):b.then(l,d));c&&(b=new sd(b),rd[b.T]=b,a.rd=b.T)},kd=function(){sa.call(this)};r(kd,sa);kd.prototype.message="Deferred has already fired";kd.prototype.name="AlreadyCalledError";var hd=function(){sa.call(this)};r(hd,sa);hd.prototype.message="Deferred was canceled";hd.prototype.name="CanceledError";var sd=function(a){this.T=k.setTimeout(p(this.zh,this),0);this.Hg=a};
sd.prototype.zh=function(){u(rd[this.T],"Cannot throw an error that is not scheduled.");delete rd[this.T];throw this.Hg;};var rd={};var ud=function(a,b){var c=new pb;c.ge=a;return td(c,b)},td=function(a,b){var c=b||{};b=c.document||document;var d;a instanceof pb&&a.constructor===pb&&a.ng===ob?d=a.ge:(Na("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ca(a)),d="type_error:TrustedResourceUrl");var e=document.createElement("SCRIPT");a={yf:e,pd:void 0};var f=new fd(vd,a),h=null,l=null!=c.timeout?c.timeout:5E3;0<l&&(h=window.setTimeout(function(){wd(e,!0);gd(f,new xd(1,"Timeout reached for loading script "+d))},
l),a.pd=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(wd(e,c.Bg||!1,h),ld(f),md(null),id(f,!0,null))};e.onerror=function(){wd(e,!0,h);gd(f,new xd(0,"Error while loading script "+d))};a=c.attributes||{};ib(a,{type:"text/javascript",charset:"UTF-8",src:d});oc(e,a);yd(b).appendChild(e);return f},yd=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},vd=function(){if(this&&this.yf){var a=
this.yf;a&&"SCRIPT"==a.tagName&&wd(a,!0,this.pd)}},wd=function(a,b,c){null!=c&&k.clearTimeout(c);a.onload=m;a.onerror=m;a.onreadystatechange=m;b&&window.setTimeout(function(){xc(a)},0)},xd=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);sa.call(this,c);this.code=a};r(xd,sa);var zd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Ad=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e,f=null;0<=d?(e=a[c].substring(0,d),f=a[c].substring(d+1)):e=a[c];b(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}};var A=function(a,b){this.bb=this.Eb=this.wa="";this.Tb=null;this.qb=this.gd="";this.ua=this.jh=!1;var c;a instanceof A?(this.ua=aa(b)?b:a.ua,Bd(this,a.wa),c=a.Eb,Cd(this),this.Eb=c,Dd(this,a.bb),Ed(this,a.Tb),this.setPath(a.getPath()),Fd(this,a.Da.clone()),a=a.qb,Cd(this),this.qb=a):a&&(c=String(a).match(zd))?(this.ua=!!b,Bd(this,c[1]||"",!0),a=c[2]||"",Cd(this),this.Eb=Gd(a),Dd(this,c[3]||"",!0),Ed(this,c[4]),this.setPath(c[5]||"",!0),Fd(this,c[6]||"",!0),a=c[7]||"",Cd(this),this.qb=Gd(a)):(this.ua=
!!b,this.Da=new Hd(null,0,this.ua))};A.prototype.toString=function(){var a=[],b=this.wa;b&&a.push(Id(b,Jd,!0),":");var c=this.bb;if(c||"file"==b)a.push("//"),(b=this.Eb)&&a.push(Id(b,Jd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Tb,null!=c&&a.push(":",String(c));if(c=this.getPath())this.bb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Id(c,"/"==c.charAt(0)?Kd:Ld,!0));(c=this.Da.toString())&&a.push("?",c);(c=this.qb)&&a.push("#",Id(c,Md));return a.join("")};
A.prototype.resolve=function(a){var b=this.clone(),c=!!a.wa;c?Bd(b,a.wa):c=!!a.Eb;if(c){var d=a.Eb;Cd(b);b.Eb=d}else c=!!a.bb;c?Dd(b,a.bb):c=null!=a.Tb;d=a.getPath();if(c)Ed(b,a.Tb);else if(c=!!a.gd){if("/"!=d.charAt(0))if(this.bb&&!this.gd)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],h=0;h<e.length;){var l=e[h++];"."==l?d&&h==
e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.Da.toString();c?Fd(b,a.Da.clone()):c=!!a.qb;c&&(a=a.qb,Cd(b),b.qb=a);return b};A.prototype.clone=function(){return new A(this)};
var Bd=function(a,b,c){Cd(a);a.wa=c?Gd(b,!0):b;a.wa&&(a.wa=a.wa.replace(/:$/,""))},Dd=function(a,b,c){Cd(a);a.bb=c?Gd(b,!0):b},Ed=function(a,b){Cd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Tb=b}else a.Tb=null};A.prototype.getPath=function(){return this.gd};A.prototype.setPath=function(a,b){Cd(this);this.gd=b?Gd(a,!0):a;return this};
var Fd=function(a,b,c){Cd(a);b instanceof Hd?(a.Da=b,a.Da.ke(a.ua)):(c||(b=Id(b,Nd)),a.Da=new Hd(b,0,a.ua))},Od=function(a,b,c){Cd(a);da(c)||(c=[String(c)]);a.Da.setValues(b,c)},Pd=function(a,b){return a.Da.get(b)},Cd=function(a){if(a.jh)throw Error("Tried to modify a read-only Uri");};A.prototype.ke=function(a){this.ua=a;this.Da&&this.Da.ke(a);return this};
var Qd=function(a,b,c){var d=new A(null,void 0);a&&Dd(d,a);b&&d.setPath(b);c&&Fd(d,c);return d},Gd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Id=function(a,b,c){return n(a)?(a=encodeURI(a).replace(b,Rd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Rd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Jd=/[#\/\?@]/g,Ld=/[\#\?:]/g,Kd=/[\#\?]/g,Nd=/[\#\?@]/g,Md=/#/g,Hd=function(a,b,c){this.L=this.M=null;this.ta=
a||null;this.ua=!!c},Sd=function(a){a.M||(a.M=new sb,a.L=0,a.ta&&Ad(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))},Td=function(a){var b=wb(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Hd(null,0,void 0);a=vb(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];da(f)?c.setValues(e,f):c.add(e,f)}return c};g=Hd.prototype;g.add=function(a,b){Sd(this);this.ta=null;a=Ud(this,a);var c=this.M.get(a);c||this.M.set(a,c=[]);c.push(b);this.L=Oa(this.L)+1;return this};
g.remove=function(a){Sd(this);a=Ud(this,a);return this.M.cc(a)?(this.ta=null,this.L=Oa(this.L)-this.M.get(a).length,this.M.remove(a)):!1};g.isEmpty=function(){Sd(this);return 0==this.L};g.cc=function(a){Sd(this);a=Ud(this,a);return this.M.cc(a)};g.cb=function(){Sd(this);for(var a=this.M.za(),b=this.M.cb(),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.za=function(a){Sd(this);var b=[];if(n(a))this.cc(a)&&(b=Xa(b,this.M.get(Ud(this,a))));else{a=this.M.za();for(var c=0;c<a.length;c++)b=Xa(b,a[c])}return b};g.set=function(a,b){Sd(this);this.ta=null;a=Ud(this,a);this.cc(a)&&(this.L=Oa(this.L)-this.M.get(a).length);this.M.set(a,[b]);this.L=Oa(this.L)+1;return this};g.get=function(a,b){a=a?this.za(a):[];return 0<a.length?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);0<b.length&&(this.ta=null,this.M.set(Ud(this,a),Za(b)),this.L=Oa(this.L)+b.length)};g.toString=function(){if(this.ta)return this.ta;if(!this.M)return"";for(var a=[],b=this.M.cb(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.za(d),f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}return this.ta=a.join("&")};
g.clone=function(){var a=new Hd;a.ta=this.ta;this.M&&(a.M=this.M.clone(),a.L=this.L);return a};var Ud=function(a,b){b=String(b);a.ua&&(b=b.toLowerCase());return b};Hd.prototype.ke=function(a){a&&!this.ua&&(Sd(this),this.ta=null,this.M.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.setValues(b,a))},this));this.ua=a};Hd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)xb(arguments[b],function(a,b){this.add(b,a)},this)};var Vd=function(a,b){this.Gh=new A(a);this.yg=b?b:"callback";this.pd=5E3;this.qf=""},Wd=0;Vd.prototype.send=function(a,b,c,d){a=a||null;d=d||"_"+(Wd++).toString(36)+na().toString(36);var e="_callbacks___"+d,f=this.Gh.clone();if(a)for(var h in a)a.hasOwnProperty&&!a.hasOwnProperty(h)||Od(f,h,a[h]);b&&(k[e]=Xd(d,b),Od(f,this.yg,e));b={timeout:this.pd,Bg:!0};this.qf&&(b.attributes={nonce:this.qf});b=ud(f.toString(),b);pd(b,Yd(d,a,c));return{T:d,Le:b}};
Vd.prototype.cancel=function(a){a&&(a.Le&&a.Le.cancel(),a.T&&Zd(a.T,!1))};var Yd=function(a,b,c){return function(){Zd(a,!1);c&&c(b)}},Xd=function(a,b){return function(c){Zd(a,!0);b.apply(void 0,arguments)}},Zd=function(a,b){a="_callbacks___"+a;if(k[a])if(b)try{delete k[a]}catch(c){k[a]=void 0}else k[a]=m};var $d={},ae=bc("tetris.apiLoader"),be=function(a,b,c,d){if(null!=$d[a])return $d[a].uc;b=b||m;d=d||!1;var e=$d[a]={};e.bf=ra();e.uc=new Qc(function(f,h){null!=c&&(f=ma(c,f));e.bf(a,b,d,f,h,0)});return e.uc},qa=function(a,b,c,d,e,f){var h=function(){3<=++f?(ae&&ae.severe("Permanently failed to load the API at: "+a,void 0),e()):(ae&&ae.warning("Failed to load the API at: "+a+". Retrying...",void 0),b(),$d[a].bf(a,b,c,d,e,f))};c?(new Vd(a)).send(null,d,h):pd(od(ud(a),d),h)};var ce=function(){this.pb=this.pb;this.vb=this.vb};ce.prototype.pb=!1;ce.prototype.ob=function(){this.pb||(this.pb=!0,this.S())};var ee=function(a,b){b=ma(de,b);a.pb?aa(void 0)?b.call(void 0):b():(a.vb||(a.vb=[]),a.vb.push(aa(void 0)?p(b,void 0):b))};ce.prototype.S=function(){if(this.vb)for(;this.vb.length;)this.vb.shift()()};var de=function(a){a&&"function"==typeof a.ob&&a.ob()};var fe=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.yb=!1;this.xf=!0};fe.prototype.stopPropagation=function(){this.yb=!0};fe.prototype.preventDefault=function(){this.defaultPrevented=!0;this.xf=!1};var ge=!x||9<=Number(Nb),he=x&&!Mb("9");!Fb||Mb("528");Eb&&Mb("1.9b")||x&&Mb("8")||Bb&&Mb("9.5")||Fb&&Mb("528");Eb&&!Mb("8")||x&&Mb("9");var ie=Fb?"webkitTransitionEnd":Bb?"otransitionend":"transitionend";var je=function(a,b){fe.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.u=this.state=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Eb){var e;a:{try{yb(b.nodeName);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.offsetX=Fb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Fb||void 0!==a.offsetY?a.offsetY:a.layerY,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.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.u=a;a.defaultPrevented&&this.preventDefault()}};r(je,fe);je.prototype.stopPropagation=function(){je.a.stopPropagation.call(this);this.u.stopPropagation?this.u.stopPropagation():this.u.cancelBubble=!0};
je.prototype.preventDefault=function(){je.a.preventDefault.call(this);var a=this.u;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,he)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var ke="closure_listenable_"+(1E6*Math.random()|0),le=function(a){return!(!a||!a[ke])},me=0;var ne=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Tc=e;this.key=++me;this.removed=this.Nc=!1},oe=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Tc=null};var pe=function(a){this.src=a;this.fa={};this.Bc=0};pe.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.fa[f];a||(a=this.fa[f]=[],this.Bc++);var h=qe(a,b,d,e);-1<h?(b=a[h],c||(b.Nc=!1)):(b=new ne(b,this.src,f,!!d,e),b.Nc=c,a.push(b));return b};pe.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.fa))return!1;var e=this.fa[a];b=qe(e,b,c,d);return-1<b?(oe(e[b]),u(null!=e.length),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.fa[a],this.Bc--),!0):!1};
var re=function(a,b){var c=b.type;c in a.fa&&Wa(a.fa[c],b)&&(oe(b),0==a.fa[c].length&&(delete a.fa[c],a.Bc--))};pe.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.fa)if(!a||c==a){for(var d=this.fa[c],e=0;e<d.length;e++)++b,oe(d[e]);delete this.fa[c];this.Bc--}return b};pe.prototype.fc=function(a,b,c,d){a=this.fa[a.toString()];var e=-1;a&&(e=qe(a,b,c,d));return-1<e?a[e]:null};
var qe=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.Tc==d)return e}return-1};var se="closure_lm_"+(1E6*Math.random()|0),te={},ue=0,B=function(a,b,c,d,e){if(da(b)){for(var f=0;f<b.length;f++)B(a,b[f],c,d,e);return null}c=ve(c);return le(a)?a.listen(b,c,d,e):we(a,b,c,!1,d,e)},we=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=!!e,l=xe(a);l||(a[se]=l=new pe(a));c=l.add(b,c,d,e,f);if(c.proxy)return c;d=ye();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(ze(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
ue++;return c},ye=function(){var a=Ae,b=ge?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},Be=function(a,b,c,d,e){if(da(b)){for(var f=0;f<b.length;f++)Be(a,b[f],c,d,e);return null}c=ve(c);return le(a)?a.lf(b,c,d,e):we(a,b,c,!0,d,e)},Ce=function(a,b,c,d,e){if(da(b))for(var f=0;f<b.length;f++)Ce(a,b[f],c,d,e);else c=ve(c),le(a)?a.sd(b,c,d,e):a&&(a=xe(a))&&(b=a.fc(b,c,!!d,e))&&De(b)},De=function(a){if(!fa(a)&&a&&!a.removed){var b=a.src;
if(le(b))re(b.Na,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(ze(c),d);ue--;(c=xe(b))?(re(c,a),0==c.Bc&&(c.src=null,b[se]=null)):oe(a)}}},ze=function(a){return a in te?te[a]:te[a]="on"+a},Fe=function(a,b,c,d){var e=!0;if(a=xe(a))if(b=a.fa[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.removed&&(f=Ee(f,d),e=e&&!1!==f)}return e},Ee=function(a,b){var c=a.listener,d=a.Tc||a.src;a.Nc&&De(a);return c.call(d,
b)},Ae=function(a,b){if(a.removed)return!0;if(!ge){var c=b||ba("window.event");b=new je(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(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.yb&&0<=e;e--){b.currentTarget=c[e];var f=Fe(c[e],a,!0,b),d=d&&f}for(e=0;!b.yb&&e<c.length;e++)b.currentTarget=c[e],f=Fe(c[e],a,!1,b),d=d&&f}return d}return Ee(a,
new je(b,this))},xe=function(a){a=a[se];return a instanceof pe?a:null},Ge="__closure_events_fn_"+(1E9*Math.random()>>>0),ve=function(a){u(a,"Listener can not be null.");if(ga(a))return a;u(a.handleEvent,"An object listener must have handleEvent method.");a[Ge]||(a[Ge]=function(b){return a.handleEvent(b)});return a[Ge]};var C=function(){ce.call(this);this.Na=new pe(this);this.ug=this;this.fd=null};r(C,ce);C.prototype[ke]=!0;g=C.prototype;g.ne=function(a){this.fd=a};g.addEventListener=function(a,b,c,d){B(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Ce(this,a,b,c,d)};
g.dispatchEvent=function(a){He(this);var b,c=this.fd;if(c){b=[];for(var d=1;c;c=c.fd)b.push(c),u(1E3>++d,"infinite loop")}c=this.ug;d=a.type||a;if(n(a))a=new fe(a,c);else if(a instanceof fe)a.target=a.target||c;else{var e=a;a=new fe(d,c);ib(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.yb&&0<=h;h--)f=a.currentTarget=b[h],e=Ie(f,d,!0,a)&&e;a.yb||(f=a.currentTarget=c,e=Ie(f,d,!0,a)&&e,a.yb||(e=Ie(f,d,!1,a)&&e));if(b)for(h=0;!a.yb&&h<b.length;h++)f=a.currentTarget=b[h],e=Ie(f,d,!1,a)&&e;return e};
g.S=function(){C.a.S.call(this);this.Na&&this.Na.removeAll(void 0);this.fd=null};g.listen=function(a,b,c,d){He(this);return this.Na.add(String(a),b,!1,c,d)};g.lf=function(a,b,c,d){return this.Na.add(String(a),b,!0,c,d)};g.sd=function(a,b,c,d){return this.Na.remove(String(a),b,c,d)};
var Ie=function(a,b,c,d){b=a.Na.fa[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.removed&&h.capture==c){var l=h.listener,G=h.Tc||h.src;h.Nc&&re(a.Na,h);e=!1!==l.call(G,d)&&e}}return e&&0!=d.xf};C.prototype.fc=function(a,b,c,d){return this.Na.fc(String(a),b,c,d)};var He=function(a){u(a.Na,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Je=function(a,b){C.call(this);this.Nb=a||1;this.Xb=b||k;this.Fd=p(this.Ah,this);this.Xd=na()};r(Je,C);g=Je.prototype;g.enabled=!1;g.Ta=null;g.Ah=function(){if(this.enabled){var a=na()-this.Xd;0<a&&a<.8*this.Nb?this.Ta=this.Xb.setTimeout(this.Fd,this.Nb-a):(this.Ta&&(this.Xb.clearTimeout(this.Ta),this.Ta=null),this.dispatchEvent("tick"),this.enabled&&(this.Ta=this.Xb.setTimeout(this.Fd,this.Nb),this.Xd=na()))}};
g.start=function(){this.enabled=!0;this.Ta||(this.Ta=this.Xb.setTimeout(this.Fd,this.Nb),this.Xd=na())};g.stop=function(){this.enabled=!1;this.Ta&&(this.Xb.clearTimeout(this.Ta),this.Ta=null)};g.S=function(){Je.a.S.call(this);this.stop();delete this.Xb};var E=function(a,b,c){if(ga(a))c&&(a=p(a,c));else if(a&&"function"==typeof a.handleEvent)a=p(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:k.setTimeout(a,b||0)};var Ke=function(){C.call(this);this.Lf=75;this.Nf=-1};r(Ke,C);Ke.prototype.start=function(){this.stop();this.We()};Ke.prototype.stop=function(){k.clearTimeout(this.Nf)};Ke.prototype.We=function(){this.dispatchEvent("tick");this.Nf=E(p(this.We,this),this.Lf*=1.25)};Ke.prototype.S=function(){Ke.a.S.call(this);this.stop()};var Le=function(a){if(a.classList)return a.classList;a=a.className;return n(a)&&a.match(/\S+/g)||[]},Me=function(a,b){return a.classList?a.classList.contains(b):Va(Le(a),b)},F=function(a,b){a.classList?a.classList.add(b):Me(a,b)||(a.className+=0<a.className.length?" "+b:b)},Ne=function(a,b){if(a.classList)v(b,function(b){F(a,b)});else{var c={};v(Le(a),function(a){c[a]=!0});v(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}},I=function(a,b){a.classList?
a.classList.remove(b):Me(a,b)&&(a.className=Sa(Le(a),function(a){return a!=b}).join(" "))},Oe=function(a,b){a.classList?v(b,function(b){I(a,b)}):a.className=Sa(Le(a),function(a){return!Va(b,a)}).join(" ")},J=function(a,b,c){c?F(a,b):I(a,b)},Pe=function(a,b,c){Me(a,b)&&(I(a,b),F(a,c))},Qe=function(a,b,c){I(a,b);F(a,c)};var Re=function(a){this.sa=[];this.Cb=a;this.Ub=this.Vb=0;this.Ab=-1;this.Ea=this.Ca=null;this.ld=!0};Re.prototype.reset=function(){this.ld=!0;this.Ub=0;2==this.Cb&&1<this.sa.length?this.Vb=this.Ab=1:(this.Ab=-1,this.Vb=0);Se(this)};Re.prototype.addElement=function(a){this.sa.push(a);this.reset()};Re.prototype.transition=function(){this.sa.length<=this.Cb||(this.Vb=(this.Vb+1)%this.sa.length,this.ld?this.Ub=this.Vb:this.Ab=this.Vb,2==this.Cb&&(this.ld=!this.ld),Se(this))};
var Se=function(a){if(!(0>=a.sa.length)){var b=!(a.Ca&&0<=a.Ub&&a.Ca==a.sa[a.Ub]),c=!(a.Ea&&0<=a.Ab&&a.Ea==a.sa[a.Ab]);b&&a.Ca&&(Pe(a.Ca,"active","deactivating"),a.Ca=null);c&&a.Ea&&(Pe(a.Ea,"active","deactivating"),a.Ea=null);b&&0<=a.Ub&&(a.Ca=a.sa[a.Ub],Qe(a.Ca,"deactivating","active"),Qe(a.Ca,"secondary","primary"));c&&0<=a.Ab&&(a.Ea=a.sa[a.Ab],Qe(a.Ea,"deactivating","active"),Qe(a.Ea,"primary","secondary"));E(function(){for(var a=0;a<this.sa.length;++a)Me(this.sa[a],"deactivating")&&Oe(this.sa[a],
["deactivating","primary","secondary"])},600,a)}};q("tetris.config.BrowserClass",{DESKTOP:0,MOBILE_WEB:1,IN_APP:2});
q("tetris.config.Experiment",{LOG_IDLE_IN_TETRIS:"log_idle_in_tetris",VIEWABLE_THRESHOLD_1_PERCENT:"viewable_threshold_1_percent",VIEWABLE_THRESHOLD_25_PERCENT:"viewable_threshold_25_percent",VIEWABLE_THRESHOLD_50_PERCENT:"viewable_threshold_50_percent",VIEWABLE_THRESHOLD_75_PERCENT:"viewable_threshold_75_percent",ACTIVATE_WHEN_VIEWABLE:"activate_when_viewable",DEACTIVATE_WHEN_UNVIEWABLE:"deactivate_when_unviewable",DISABLE_EXPANSION_WHEN_UNVIEWABLE:"disable_expansion_when_unviewable",HIDE_INVITE_ON_DEACTIVATE:"hide_invite_on_deactivate",
OSD_BUFFER_ON_LOAD:"osd_buffer_on_Load",LOG_AUTO_PREVIEW_EVENTS:"log_auto_preview_events",USE_EXIT_OVERRIDE:"use_exit_override"});q("tetris.config.Field",{ACTIVE_EXPERIMENTS:"activeExperiments",BROWSER_CLASS:"browserClass",LOCALE:"locale"});var Te={};q("tetris.config.set",function(a){Te=a});q("tetris.config.setFromUrl",function(a){Te=JSON.parse(Pd(new A(window.location.href),"config")||"{}");ib(Te,a||{})});var Ue=function(a){var b=Te.activeExperiments;return da(b)&&Va(b,a)};
q("tetris.config.isEnabled",Ue);q("tetris.config.getBoolean",function(a,b){return"boolean"==typeof Te[a]?Te[a]:b});var Ve=function(a,b){return fa(Te[a])?Te[a]:b};q("tetris.config.getNumber",Ve);q("tetris.config.getObject",function(a,b){return ha(Te[a])?Te[a]:b});var We=function(a,b){return n(Te[a])?Te[a]:b};q("tetris.config.getString",We);var Ye=function(){return!Xe()&&(w("iPod")||w("iPhone")||w("Android")||w("IEMobile"))},Xe=function(){return w("iPad")||w("Android")&&!w("Mobile")||w("Silk")},Ze=function(){return!Ye()&&!Xe()};var $e=!1,af=!1,bf=[],cf={DARK:"dark",LIGHT:"light"};q("tetris.themer.Theme",cf);var df={DESKTOP:"desktop",gi:"mobile",Ai:"tablet",Ci:"touch",Mh:"chrome",Th:"edge",Yh:"firefox",ai:"ie",ni:"safari",Kh:"android",Nh:"chrome-os",ci:"ios",di:"linux",ei:"mac",Ii:"windows",IN_APP:"in-app",Ei:"web",Zh:"fullscreen"};
q("tetris.themer.install",function(a,b,c,d,e){eb(cf,a)||(a="dark");ef();$e=!0;F(document.body,a);ff();var f=[];f.push({family:"Roboto",Cc:"300,400,700",md:"latin"});b&&f.push({family:b,Cc:((c||"").match(/italic/i)?"i":"")+(d||"300,400,700"),md:"latin"});e&&f.push(gf(e));be("//ajax.googleapis.com/ajax/libs/webfont/1.5.10/webfont.js",function(){}).then(function(){hf(f)},function(){})});
var hf=function(a){if(a.length){var b=a.pop();WebFont.load({custom:{families:[[b.family,b.Cc,b.md].join(":")],urls:["//fonts.googleapis.com/css?family="+encodeURIComponent(String(b.family+":"+b.Cc))+"&subset="+encodeURIComponent(String(b.md))+"&key=7gw5RZn4zm8X2MRJ"]},active:ma(jf,b),fontinactive:ma(hf,a)})}},gf=function(a){a=a.split(":");var b=(a[1]||"").match(/^i?\d00(,i?\d00)*$/);return{family:a[0],Cc:b?a[1]:"300,400,700",md:a[2]||(b?"":a[1])||"latin"}},jf=function(a){a=z("STYLE","themer-font",
".font-themed {\n  font-family: '"+a.family+"', 'HelveticaNeue-Light', 'HelveticaNeue', 'Roboto', 'Open Sans', 'Arial', sans-serif !important;\n"+("i"==a.Cc[0]?"  font-style: italic;":"")+"}");document.head.appendChild(a);for(af=!0;0<bf.length;)bf.shift()()},ff=function(){var a=[];Ze()?a.push("desktop"):Ye()?a.push("mobile","touch"):Xe()&&a.push("tablet","touch");nb()?a.push("chrome"):w("Edge")?a.push("edge"):w("Firefox")?a.push("firefox"):mb()?a.push("ie"):w("Safari")&&!(nb()||w("Coast")||w("Opera")||
w("Edge")||w("Silk")||w("Android"))&&a.push("safari");w("Android")?a.push("android"):w("CrOS")?a.push("chrome-os"):w("iPhone")&&!w("iPod")&&!w("iPad")||w("iPad")||w("iPod")?a.push("ios"):w("Linux")?a.push("linux"):w("Macintosh")?a.push("mac"):w("Windows")&&a.push("windows");2==Ve("browserClass",0)?a.push("in-app","fullscreen"):a.push("web");Ne(document.body,a)},kf=function(a){af?a():bf.push(a)};q("tetris.themer.listenForFontLoaded",kf);
var ef=function(){if($e){af=$e=!1;Oe(document.body,cb(cf).concat(cb(df)));var a;a=jc("STYLE","themer-font",void 0);for(var b=0;b<a.length;++b)xc(a[b])}};q("tetris.themer.uninstall",ef);var lf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var qf=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(mf.test(c))return b.nc=nf(c),b.type="hex",b;a:{var d=a.match(of);if(d){var c=Number(d[1]),e=Number(d[2]),d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.nc=pf(c),b.type="rgb",b;if(lf&&(c=lf[a.toLowerCase()]))return b.nc=c,b.type="named",b;throw Error(a+" is not a valid color string");},rf=/#(.)(.)(.)/,nf=function(a){if(!mf.test(a))throw Error("'"+a+"' is not a valid hex color");
4==a.length&&(a=a.replace(rf,"#$1$1$2$2$3$3"));return a.toLowerCase()},sf=function(a){a=nf(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]},pf=function(a){var b=a[0],c=a[1];a=a[2];b=Number(b);c=Number(c);a=Number(a);if(b!=(b&255)||c!=(c&255)||a!=(a&255))throw Error('"('+b+","+c+","+a+'") is not a valid RGB color');b=tf(b.toString(16));c=tf(c.toString(16));a=tf(a.toString(16));return"#"+b+c+a},mf=/^#(?:[0-9a-f]{3}){1,2}$/i,of=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,
tf=function(a){return 1==a.length?"0"+a:a},uf=function(a,b,c){c=Math.min(Math.max(c,0),1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]};var vf=function(a){C.call(this);this.wd=a||window;this.Zd=B(this.wd,"resize",this.$g,!1,this);this.yc=pc(this.wd||window)};r(vf,C);vf.prototype.P=function(){return this.yc?this.yc.clone():null};vf.prototype.S=function(){vf.a.S.call(this);this.Zd&&(De(this.Zd),this.Zd=null);this.yc=this.wd=null};vf.prototype.$g=function(){var a=pc(this.wd||window),b=this.yc;a==b||a&&b&&a.width==b.width&&a.height==b.height||(this.yc=a,this.dispatchEvent("resize"))};var wf=function(a){ce.call(this);this.Oa=a;this.D={}};r(wf,ce);var xf=[];wf.prototype.listen=function(a,b,c,d){da(b)||(b&&(xf[0]=b.toString()),b=xf);for(var e=0;e<b.length;e++){var f=B(a,b[e],c||this.handleEvent,d||!1,this.Oa||this);if(!f)break;this.D[f.key]=f}return this};wf.prototype.lf=function(a,b,c,d){return yf(this,a,b,c,d)};var yf=function(a,b,c,d,e,f){if(da(c))for(var h=0;h<c.length;h++)yf(a,b,c[h],d,e,f);else{b=Be(b,c,d||a.handleEvent,e,f||a.Oa||a);if(!b)return a;a.D[b.key]=b}return a};
wf.prototype.sd=function(a,b,c,d,e){if(da(b))for(var f=0;f<b.length;f++)this.sd(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.Oa||this,c=ve(c),d=!!d,b=le(a)?a.fc(b,c,d,e):a?(a=xe(a))?a.fc(b,c,d,e):null:null,b&&(De(b),delete this.D[b.key]);return this};wf.prototype.removeAll=function(){bb(this.D,function(a,b){this.D.hasOwnProperty(b)&&De(a)},this);this.D={}};wf.prototype.S=function(){wf.a.S.call(this);this.removeAll()};
wf.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var zf=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=zf.prototype;g.clone=function(){return new zf(this.top,this.right,this.bottom,this.left)};g.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};g.contains=function(a){return this&&a?a instanceof zf?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.scale=function(a,b){b=fa(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Bf=function(a,b,c){if(n(b))(b=Af(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Af(c,d);f&&(c.style[f]=e)}},Cf={},Af=function(a,b){var c=Cf[b];if(!c){var d=Ja(b),c=d;void 0===a.style[d]&&(d=(Fb?"Webkit":Eb?"Moz":x?"ms":Bb?"O":null)+Ka(d),void 0!==a.style[d]&&(c=d));Cf[b]=c}return c},Df=function(a,b){var c=hc(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Ef=function(a,b){return Df(a,b)||(a.currentStyle?
a.currentStyle[b]:null)||a.style&&a.style[b]},Ff=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}x&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},Gf=function(a){var b=hc(a);Qa(a,"Parameter is required");var c=new cc(0,0),d;d=b?hc(b):document;d=!x||9<=Number(Nb)||"CSS1Compat"==ic(d).ya.compatMode?d.documentElement:d.body;if(a==d)return c;
a=Ff(a);d=ic(b).ya;b=qc(d);d=d.parentWindow||d.defaultView;b=x&&Mb("10")&&d.pageYOffset!=b.scrollTop?new cc(b.scrollLeft,b.scrollTop):new cc(d.pageXOffset||b.scrollLeft,d.pageYOffset||b.scrollTop);c.x=a.left+b.x;c.y=a.top+b.y;return c},Hf=function(a){"number"==typeof a&&(a=Math.round(a)+"px");return a},K=function(a){var b=If;if("none"!=Ef(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;
c.position=f;c.visibility=e;return a},If=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Fb&&!b&&!c;return aa(b)&&!d||!a.getBoundingClientRect?new dc(b,c):(a=Ff(a),new dc(a.right-a.left,a.bottom-a.top))},Jf={thin:2,medium:4,thick:6},Kf=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;if(c in Jf)a=Jf[c];else if(/^\d+px?$/.test(c))a=parseInt(c,10);else{b=a.style.left;var d=a.runtimeStyle.left;a.runtimeStyle.left=
a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style.left=b;a.runtimeStyle.left=d;a=+c}return a};var Lf=function(){};Lf.getInstance=function(){return Lf.cf?Lf.cf:Lf.cf=new Lf};Lf.prototype.ph=0;var L=function(a){C.call(this);this.aa=a||ic();this.T=null;this.ka=!1;this.A=null;this.eb=void 0;this.Ka=this.V=this.i=null;this.Qf=!1};r(L,C);L.prototype.ih=Lf.getInstance();L.prototype.getId=function(){return this.T||(this.T=":"+(this.ih.ph++).toString(36))};L.prototype.ec=function(){return this.A};var M=function(a){a=a.A;u(a,"Can not call getElementStrict before rendering/decorating.");return a};L.prototype.Nd=function(a){return this.A?this.aa.Nd(a,this.A):null};
L.prototype.rb=function(a){var b=this.Nd(a);u(b,"Expected element in component with class: %s",a);return b};var Mf=function(a){a.eb||(a.eb=new wf(a));return a.eb},Nf=function(a,b){if(a==b)throw Error("Unable to set parent component");var c;if(c=b&&a.i&&a.T){c=a.i;var d=a.T;c=c.Ka&&d?gb(c.Ka,d)||null:null}if(c&&a.i!=b)throw Error("Unable to set parent component");a.i=b;L.a.ne.call(a,b)};g=L.prototype;g.getParent=function(){return this.i};
g.ne=function(a){if(this.i&&this.i!=a)throw Error("Method not supported");L.a.ne.call(this,a)};g.ba=function(){return this.aa};g.c=function(){this.A=this.aa.createElement("DIV")};g.Ra=function(a){if(this.ka)throw Error("Component already rendered");this.A||this.c();a?a.insertBefore(this.A,null):this.aa.ya.body.appendChild(this.A);this.i&&!this.i.ka||this.Y()};
g.Eg=function(a){if(this.ka)throw Error("Component already rendered");if(a){this.Qf=!0;var b=hc(a);this.aa&&this.aa.ya==b||(this.aa=ic(a));this.oa(a);this.Y()}else throw Error("Invalid element to decorate");};g.oa=function(a){this.A=a};g.Y=function(){this.ka=!0;Of(this,function(a){!a.ka&&a.ec()&&a.Y()})};var Pf=function(a){Of(a,function(a){a.ka&&Pf(a)});a.eb&&a.eb.removeAll();a.ka=!1};
L.prototype.S=function(){this.ka&&Pf(this);this.eb&&(this.eb.ob(),delete this.eb);Of(this,function(a){a.ob()});!this.Qf&&this.A&&xc(this.A);this.i=this.A=this.Ka=this.V=null;L.a.S.call(this)};
var Qf=function(a,b,c){u(!!b,"Provided element must not be null.");if(b.ka&&!a.ka)throw Error("Component already rendered");if(0>c||c>(a.V?a.V.length:0))throw Error("Child component index out of bounds");a.Ka&&a.V||(a.Ka={},a.V=[]);if(b.getParent()==a){var d=b.getId();a.Ka[d]=b;Wa(a.V,b)}else{var d=a.Ka,e=b.getId();if(null!==d&&e in d)throw Error('The object already contains the key "'+e+'"');d[e]=b}Nf(b,a);ab(a.V,c,0,b);b.ka&&a.ka&&b.getParent()==a?(a=a.A,c=a.childNodes[c]||null,c!=b.ec()&&a.insertBefore(b.ec(),
c)):a.ka&&!b.ka&&b.A&&b.A.parentNode&&1==b.A.parentNode.nodeType&&b.Y()},Of=function(a,b){a.V&&v(a.V,b,void 0)};L.prototype.removeChild=function(a,b){if(a){var c=n(a)?a:a.getId();a=this.Ka&&c?gb(this.Ka,c)||null:null;if(c&&a){var d=this.Ka;c in d&&delete d[c];Wa(this.V,a);b&&(Pf(a),a.A&&xc(a.A));Nf(a,null)}}if(!a)throw Error("Child is not in parent component");return a};var Rf={VIDEO_THUMB_INITIALIZED:"video_thumb_initialized",VIDEO_THUMB_INITIALIZED_1S:"video_thumb_initialized_1s",VIDEO_THUMB_INITIALIZED_3S:"video_thumb_initialized_3s",VIDEO_THUMB_INITIALIZED_5S:"video_thumb_initialized_5s",VIDEO_THUMB_INITIALIZED_10S:"video_thumb_initialized_10s",VIDEO_THUMB_INITIALIZED_20S:"video_thumb_initialized_20s",AUTO_PREVIEW_STARTED_PLAYING:"autopreview_started_playing",AUTO_PREVIEW_PLAYING_2S:"autopreview_playing_2s",TETRIS_BECAME_ACTIVE:"tetris_became_active",TETRIS_BECAME_IDLE:"tetris_became_idle"},
Sf={GOOGLE_MAPS_API_FAILURE:"google_maps_api_failure",ENGAGEMENT_STATE_FAILURE:"engagement_state_failure",WEB_FONT_API_FAILURE:"web_font_api_failure",YOUTUBE_IFRAME_API_FAILURE:"youtube_iframe_api_failure",OSD_TIMED_OUT:"osd_timed_out"};var Tf=function(){this.vf=na()},Uf=new Tf;Tf.prototype.set=function(a){this.vf=a};Tf.prototype.reset=function(){this.set(na())};Tf.prototype.get=function(){return this.vf};var Vf=function(a){this.rh=a||"";this.yh=Uf};g=Vf.prototype;g.De=!0;g.Ff=!0;g.wh=!0;g.vh=!0;g.Gf=!1;g.xh=!1;var Wf=function(a){return 10>a?"0"+a:String(a)},Yf=function(a,b){a=(a.Mf-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},Zf=function(a){Vf.call(this,a)};r(Zf,Vf);var $f=function(){this.sh=p(this.vg,this);this.Rc=new Zf;this.Rc.Ff=!1;this.Rc.Gf=!1;this.ef=this.Rc.De=!1;this.Jg={}};
$f.prototype.vg=function(a){if(!this.Jg[a.nf]){var b;b=this.Rc;var c=[];c.push(b.rh," ");if(b.Ff){var d=new Date(a.Mf);c.push("[",Wf(d.getFullYear()-2E3)+Wf(d.getMonth()+1)+Wf(d.getDate())+" "+Wf(d.getHours())+":"+Wf(d.getMinutes())+":"+Wf(d.getSeconds())+"."+Wf(Math.floor(d.getMilliseconds()/10)),"] ")}b.wh&&c.push("[",Yf(a,b.yh.get()),"s] ");b.vh&&c.push("[",a.nf,"] ");b.xh&&c.push("[",a.ub.name,"] ");c.push(a.getMessage());b.Gf&&(d=a.Jd)&&c.push("\n",d instanceof Error?d.message:d.toString());
b.De&&c.push("\n");b=c.join("");if(c=ag)switch(a.ub){case Tb:bg(c,"info",b);break;case Ub:bg(c,"error",b);break;case Vb:bg(c,"warn",b);break;default:bg(c,"debug",b)}}};var ag=k.console,bg=function(a,b,c){if(a[b])a[b](c);else a.log(c)};var cg=function(a,b,c){var d;c?(d=document.createEvent("CustomEvent"),d.initCustomEvent(b,!0,!0,c)):(d=document.createEvent("Event"),d.initEvent(b,!0,!0));a.dispatchEvent(d)},dg=function(a,b,c){if(da(b))for(var d=0,e=b.length;d<e;d++)a.addEventListener(b[d],c,!1);else a.addEventListener(b,c,!1)};var eg={fr:{"125950693774553467":"Appeler","433852185421632107":"Itin\u00e9raire","5465850501066676848":"Site Web","3195121480832280192":"ma position","1769669672311356121":"Appeler","6673401913319860140":"E-mail","3851105669942087376":"Rechercher l'adresse, la ville, le code postal","945370244645377154":"p.m.","3930646348588273646":"a.m.","8833347210898379151":"Prendre contact avec nous","1920302739661836910":""},ja:{"125950693774553467":"\u901a\u8a71","433852185421632107":"\u30eb\u30fc\u30c8","5465850501066676848":"\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8",
"3195121480832280192":"\u73fe\u5728\u5730","1769669672311356121":"\u901a\u8a71","6673401913319860140":"\u30e1\u30fc\u30eb","3851105669942087376":"\u4f4f\u6240\u3001\u90fd\u5e02\u540d\u3001\u90f5\u4fbf\u756a\u53f7\u3092\u691c\u7d22","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"\u304a\u554f\u3044\u5408\u308f\u305b","1920302739661836910":""},nl:{"125950693774553467":"Bellen","433852185421632107":"Route","5465850501066676848":"Website","1769669672311356121":"Bellen","6673401913319860140":"E-mail",
"3851105669942087376":"Zoeken naar adres, plaats, postcode","945370244645377154":"p.m.","3930646348588273646":"a.m.","8833347210898379151":"Maak verbinding met ons","1920302739661836910":""},no:{"125950693774553467":"Ring","433852185421632107":"Kj\u00f8reanvisninger","5465850501066676848":"Nettsted","1769669672311356121":"Ring","6673401913319860140":"E-post","3851105669942087376":"S\u00f8k etter adresse, postnummer, sted","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Kom i kontakt med oss",
"1920302739661836910":""},"sr-Latn":{"125950693774553467":"Pozovi","433852185421632107":"Putanja","5465850501066676848":"Veb-sajt","1769669672311356121":"Pozovi","6673401913319860140":"Po\u0161alji imejl","3851105669942087376":"Pretra\u017eite adresu, grad, po\u0161tanski broj","945370244645377154":"posle podne","3930646348588273646":"pre podne","8833347210898379151":"Pove\u017eite se sa nama","1920302739661836910":""},sv:{"125950693774553467":"Ring","433852185421632107":"V\u00e4gbeskrivning","5465850501066676848":"Webbplats",
"1769669672311356121":"Ring","6673401913319860140":"E-post","3851105669942087376":"S\u00f6k efter adress: postnummer, ort","945370244645377154":"em.","3930646348588273646":"fm.","8833347210898379151":"V\u00e5ra kontaktytor","1920302739661836910":""},hu:{"125950693774553467":"H\u00edv\u00e1s","433852185421632107":"\u00datvonalterv","5465850501066676848":"Webhely","1769669672311356121":"H\u00edv\u00e1s","6673401913319860140":"E-mail","3851105669942087376":"C\u00edm, v\u00e1ros, ir\u00e1ny\u00edt\u00f3sz\u00e1m keres\u00e9se",
"945370244645377154":"du.","3930646348588273646":"de.","8833347210898379151":"Vegye fel vel\u00fcnk a kapcsolatot","1920302739661836910":""},nb:{"125950693774553467":"Ring","433852185421632107":"Kj\u00f8reanvisninger","5465850501066676848":"Nettsted","1769669672311356121":"Ring","6673401913319860140":"E-post","3851105669942087376":"S\u00f8k etter adresse, postnummer, sted","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Kom i kontakt med oss","1920302739661836910":""},
sr:{"125950693774553467":"\u041f\u043e\u0437\u043e\u0432\u0438","433852185421632107":"\u041f\u0443\u0442\u0430\u045a\u0430","5465850501066676848":"\u0412\u0435\u0431-\u0441\u0430\u0458\u0442","1769669672311356121":"\u041f\u043e\u0437\u043e\u0432\u0438","6673401913319860140":"\u041f\u043e\u0448\u0430\u0459\u0438 \u0438\u043c\u0435\u0458\u043b","3851105669942087376":"\u041f\u0440\u0435\u0442\u0440\u0430\u0436\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441\u0443, \u0433\u0440\u0430\u0434, \u043f\u043e\u0448\u0442\u0430\u043d\u0441\u043a\u0438 \u0431\u0440\u043e\u0458",
"945370244645377154":"\u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043d\u0435","3930646348588273646":"\u043f\u0440\u0435 \u043f\u043e\u0434\u043d\u0435","8833347210898379151":"\u041f\u043e\u0432\u0435\u0436\u0438\u0442\u0435 \u0441\u0435 \u0441\u0430 \u043d\u0430\u043c\u0430","1920302739661836910":""},hr:{"125950693774553467":"Nazovite","433852185421632107":"Upute","5465850501066676848":"Web-lokacija","1769669672311356121":"Nazovi","6673401913319860140":"E-po\u0161ta","3851105669942087376":"Potra\u017eite adresu, grad, po\u0161tanski broj",
"945370244645377154":"popodne","3930646348588273646":"prijepodne","8833347210898379151":"Pove\u017eite se s nama","1920302739661836910":""},"pt-PT":{"125950693774553467":"Telefonar","433852185421632107":"Dire\u00e7\u00f5es","5465850501066676848":"Website","1769669672311356121":"Telefonar","6673401913319860140":"Email","3851105669942087376":"Pesquisar endere\u00e7o, cidade, c\u00f3digo postal","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Entrar em contacto connosco",
"1920302739661836910":""},sl:{"125950693774553467":"Klic","433852185421632107":"Navodila","5465850501066676848":"Spletno mesto","1769669672311356121":"Klic","6673401913319860140":"E-po\u0161ta","3851105669942087376":"Iskanje naslova, kraja, po\u0161tne \u0161tevilke","945370244645377154":"popoldne","3930646348588273646":"dopoldne","8833347210898379151":"Pove\u017eite se z nami","1920302739661836910":""},lv:{"125950693774553467":"Zvan\u012bt","433852185421632107":"Nor\u0101des","5465850501066676848":"Vietne",
"1769669672311356121":"Zvan\u012bt","6673401913319860140":"S\u016bt\u012bt e-pasta zi\u0146ojumu","3851105669942087376":"Mekl\u0113jiet adresi, pils\u0113tu, pasta indeksu","945370244645377154":"p\u0113cpusdien\u0101","3930646348588273646":"priek\u0161pusdien\u0101","8833347210898379151":"Sazinieties ar mums","1920302739661836910":""},hi:{"125950693774553467":"\u0915\u0949\u0932 \u0915\u0930\u0947\u0902","433852185421632107":"\u0926\u093f\u0936\u093e \u0928\u093f\u0930\u094d\u0926\u0947\u0936","5465850501066676848":"\u0935\u0947\u092c\u0938\u093e\u0907\u091f",
"1769669672311356121":"\u0915\u0949\u0932 \u0915\u0930\u0947\u0902","6673401913319860140":"\u0908\u092e\u0947\u0932 \u0915\u0930\u0947\u0902","3851105669942087376":"\u092a\u0924\u093e, \u0936\u0939\u0930, \u092a\u093f\u0928 \u0915\u094b\u0921 \u0916\u094b\u091c\u0947\u0902","945370244645377154":"\u0905\u092a\u0930\u093e\u0939\u094d\u0928","3930646348588273646":"\u092a\u0942\u0930\u094d\u0935\u093e\u0939\u094d\u0928","8833347210898379151":"\u0939\u092e\u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902",
"1920302739661836910":""},lt:{"125950693774553467":"Skambinti","433852185421632107":"Nuorodos","5465850501066676848":"\u017diniatinklis","1769669672311356121":"Skambinti","6673401913319860140":"El. pa\u0161tas","3851105669942087376":"Adreso, miesto, pa\u0161to kodo paie\u0161ka","945370244645377154":"popiet","3930646348588273646":"prie\u0161piet","8833347210898379151":"Susisiekite su mumis","1920302739661836910":""},fi:{"125950693774553467":"Soita","433852185421632107":"Reittiohjeet","5465850501066676848":"Verkkosivusto",
"3195121480832280192":"nykyinen sijainti","1769669672311356121":"Soita","6673401913319860140":"L\u00e4het\u00e4 s\u00e4hk\u00f6postia","3851105669942087376":"Hae osoitetta, kaupunkia, postinumeroa","945370244645377154":"ip","3930646348588273646":"ap","8833347210898379151":"Ota yhteytt\u00e4","1920302739661836910":""},"en-AU":{"125950693774553467":"Call","433852185421632107":"Directions","5465850501066676848":"Website","3195121480832280192":"Current Location","1769669672311356121":"Call","6673401913319860140":"Email",
"3851105669942087376":"Search address, city, postcode","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Connect With Us","1920302739661836910":""},uk:{"125950693774553467":"\u0417\u0430\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443\u0432\u0430\u0442\u0438","433852185421632107":"\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438","5465850501066676848":"\u0412\u0435\u0431-\u0441\u0430\u0439\u0442","1769669672311356121":"\u0417\u0430\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443\u0432\u0430\u0442\u0438",
"6673401913319860140":"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0438\u0439 \u043b\u0438\u0441\u0442","3851105669942087376":"\u041f\u043e\u0448\u0443\u043a \u0430\u0434\u0440\u0435\u0441\u0438, \u043c\u0456\u0441\u0442\u0430, \u043f\u043e\u0448\u0442\u043e\u0432\u043e\u0433\u043e \u0456\u043d\u0434\u0435\u043a\u0441\u0443","945370244645377154":"\u043f\u043f","3930646348588273646":"\u0434\u043f","8833347210898379151":"\u0417\u0432\u2019\u044f\u0437\u043e\u043a \u0456\u0437 \u043d\u0430\u043c\u0438",
"1920302739661836910":""},"es-419":{"125950693774553467":"Llamar","433852185421632107":"Instrucciones","5465850501066676848":"Sitio web","1769669672311356121":"Llamar","6673401913319860140":"Correo electr\u00f3nico","3851105669942087376":"Buscar direcci\u00f3n, ciudad, c\u00f3digo postal","945370244645377154":"p.m.","3930646348588273646":"a.m.","8833347210898379151":"Conectarse con nosotros","1920302739661836910":""},da:{"125950693774553467":"Ring op","433852185421632107":"Rutevejledning","5465850501066676848":"Website",
"1769669672311356121":"Ring op","6673401913319860140":"Send e-mail","3851105669942087376":"S\u00f8g efter adresse, by, postnummer","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Kom i kontakt med os","1920302739661836910":""},bg:{"125950693774553467":"\u041e\u0431\u0430\u0436\u0434\u0430\u043d\u0435","433852185421632107":"\u0423\u043f\u044a\u0442\u0432\u0430\u043d\u0438\u044f","5465850501066676848":"\u0423\u0435\u0431\u0441\u0430\u0439\u0442","1769669672311356121":"\u041e\u0431\u0430\u0436\u0434\u0430\u043d\u0435",
"6673401913319860140":"\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435 \u043d\u0430 \u0438\u043c\u0435\u0439\u043b","3851105669942087376":"\u041f\u043e\u0442\u044a\u0440\u0441\u0435\u0442\u0435 \u0430\u0434\u0440\u0435\u0441, \u0433\u0440\u0430\u0434, \u043f\u043e\u0449\u0435\u043d\u0441\u043a\u0438 \u043a\u043e\u0434","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"\u0421\u0432\u044a\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u043d\u0430\u0441","1920302739661836910":""},
de:{"125950693774553467":"Anrufen","433852185421632107":"Route","5465850501066676848":"Website","3195121480832280192":"aktueller Standort","1769669672311356121":"Anrufen","6673401913319860140":"E-Mail","3851105669942087376":"Anhand von Adresse, Stadt, Postleitzahl suchen","945370244645377154":"p. m.","3930646348588273646":"a. m.","8833347210898379151":"So erreichen Sie uns","1920302739661836910":""},ru:{"125950693774553467":"\u041f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c","433852185421632107":"\u041a\u0430\u043a \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f",
"5465850501066676848":"\u0421\u0430\u0439\u0442","3195121480832280192":"\u0422\u0435\u043a\u0443\u0449\u0435\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435","1769669672311356121":"\u0412\u044b\u0437\u043e\u0432","6673401913319860140":"\u042d\u043b. \u043f\u043e\u0447\u0442\u0430","3851105669942087376":"\u0410\u0434\u0440\u0435\u0441, \u0433\u043e\u0440\u043e\u0434 \u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441",
"945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"\u041a\u0430\u043a \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0430\u043c\u0438","1920302739661836910":""},ko:{"125950693774553467":"\ud1b5\ud654","433852185421632107":"\uae38\ucc3e\uae30","5465850501066676848":"\uc6f9\uc0ac\uc774\ud2b8","3195121480832280192":"\ud604\uc7ac \uc704\uce58","1769669672311356121":"\ud1b5\ud654","6673401913319860140":"\uc774\uba54\uc77c","3851105669942087376":"\uc8fc\uc18c, \ub3c4\uc2dc, \uc6b0\ud3b8\ubc88\ud638 \uac80\uc0c9",
"945370244645377154":"PM","3930646348588273646":"AM","8833347210898379151":"\ub274\uc2a4\ub808\ud130 \uc218\uc2e0","1920302739661836910":""},"en-GB":{"125950693774553467":"Call","433852185421632107":"Directions","5465850501066676848":"Website","3195121480832280192":"Current Location","1769669672311356121":"Call","6673401913319860140":"Email","3851105669942087376":"Search address, city, post code","945370244645377154":"p.m.","3930646348588273646":"a.m.","8833347210898379151":"Connect With Us","1920302739661836910":""},
et:{"125950693774553467":"Helista","433852185421632107":"Juhised","5465850501066676848":"Veebisait","1769669672311356121":"Helista","6673401913319860140":"E-post","3851105669942087376":"Aadressi, linna, sihtnumbri otsimine","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"V\u00f5tke meiega \u00fchendust","1920302739661836910":""},"de-CH":{"125950693774553467":"Anrufen","433852185421632107":"Route","5465850501066676848":"Website","3195121480832280192":"aktueller Standort",
"1769669672311356121":"Anrufen","6673401913319860140":"E-Mail","3851105669942087376":"Anhand von Adresse, Stadt, Postleitzahl suchen","945370244645377154":"p. m.","3930646348588273646":"a. m.","8833347210898379151":"So erreichen Sie uns","1920302739661836910":""},es:{"125950693774553467":"Llamar","433852185421632107":"Indicaciones","5465850501066676848":"Sitio web","3195121480832280192":"Ubicaci\u00f3n actual","1769669672311356121":"Llamar","6673401913319860140":"Correo electr\u00f3nico","3851105669942087376":"Buscar direcci\u00f3n, ciudad o c\u00f3digo postal",
"945370244645377154":"p.m.","3930646348588273646":"a.m.","8833347210898379151":"Conecte con nosotros","1920302739661836910":""},vi:{"125950693774553467":"Go\u0323i","433852185421632107":"Ch\u1ec9 \u0111\u01b0\u1eddng","5465850501066676848":"Trang web","1769669672311356121":"Go\u0323i","6673401913319860140":"Email","3851105669942087376":"T\u00ecm ki\u1ebfm \u0111\u1ecba ch\u1ec9, th\u00e0nh ph\u1ed1, m\u00e3 zip","945370244645377154":"chi\u1ec1u","3930646348588273646":"s\u00e1ng","8833347210898379151":"K\u1ebft n\u1ed1i v\u1edbi ch\u00fang t\u00f4i",
"1920302739661836910":""},tr:{"125950693774553467":"Telefon Et","433852185421632107":"Yol Tarifi","5465850501066676848":"Web Sitesi","3195121480832280192":"bulundu\u011fum konum","1769669672311356121":"Telefon Et","6673401913319860140":"E-Posta G\u00f6nder","3851105669942087376":"Adres, \u015fehir, posta kutusu ara","945370244645377154":"\u00f6s","3930646348588273646":"\u00f6\u00f6","8833347210898379151":"Bize Ula\u015f\u0131n","1920302739661836910":""},"ar-XB":{"125950693774553467":"\u200f\u202eCall\u202c\u200f",
"433852185421632107":"\u200f\u202eDirections\u202c\u200f","5465850501066676848":"\u200f\u202eWebsite\u202c\u200f","3195121480832280192":"\u200f\u202eCurrent\u202c\u200f \u200f\u202eLocation\u202c\u200f","1769669672311356121":"\u200f\u202eCall\u202c\u200f","6673401913319860140":"\u200f\u202eEmail\u202c\u200f","3851105669942087376":"\u200f\u202eSearch\u202c\u200f \u200f\u202eaddress\u202c\u200f, \u200f\u202ecity\u202c\u200f, \u200f\u202ezip\u202c\u200f \u200f\u202ecode\u202c\u200f","945370244645377154":"\u200f\u202epm\u202c\u200f",
"3930646348588273646":"\u200f\u202eam\u202c\u200f","8833347210898379151":"\u200f\u202eConnect\u202c\u200f \u200f\u202eWith\u202c\u200f \u200f\u202eUs\u202c\u200f","1920302739661836910":""},it:{"125950693774553467":"Chiama","433852185421632107":"Indicazioni","5465850501066676848":"Sito web","3195121480832280192":"Posizione attuale","1769669672311356121":"Chiama","6673401913319860140":"Email","3851105669942087376":"Cerca indirizzo, citt\u00e0, codice postale","945370244645377154":"PM","3930646348588273646":"AM",
"8833347210898379151":"Connettiti con noi","1920302739661836910":""},iw:{"125950693774553467":"\u05d4\u05ea\u05e7\u05e9\u05e8","433852185421632107":"\u05de\u05e1\u05dc\u05d5\u05dc","5465850501066676848":"\u05d0\u05ea\u05e8 \u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8","1769669672311356121":"\u05d4\u05ea\u05e7\u05e9\u05e8","6673401913319860140":"\u05d0\u05d9\u05de\u05d9\u05d9\u05dc","3851105669942087376":"\u05d7\u05e4\u05e9 \u05db\u05ea\u05d5\u05d1\u05ea, \u05e2\u05d9\u05e8 \u05d0\u05d5 \u05de\u05d9\u05e7\u05d5\u05d3",
"945370244645377154":"PM","3930646348588273646":"AM","8833347210898379151":"\u05d4\u05ea\u05d7\u05d1\u05e8 \u05d0\u05dc\u05d9\u05e0\u05d5","1920302739661836910":""},fil:{"125950693774553467":"Tawagan","433852185421632107":"Mga Direksyon","5465850501066676848":"Website","1769669672311356121":"Tawagan","6673401913319860140":"I-email","3851105669942087376":"Maghanap ng address, lungsod, zip code","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Kumonekta Sa Amin","1920302739661836910":""},
ro:{"125950693774553467":"Apela\u021bi","433852185421632107":"Indica\u021bii de orientare","5465850501066676848":"Site","1769669672311356121":"Apela\u021bi","6673401913319860140":"E-mail","3851105669942087376":"C\u0103uta\u021bi adresa, ora\u0219ul, codul po\u0219tal","945370244645377154":"p.m.","3930646348588273646":"a.m.","8833347210898379151":"Lua\u021bi leg\u0103tura cu noi","1920302739661836910":""},th:{"125950693774553467":"\u0e42\u0e17\u0e23","433852185421632107":"\u0e40\u0e2a\u0e49\u0e19\u0e17\u0e32\u0e07",
"5465850501066676848":"\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c","1769669672311356121":"\u0e42\u0e17\u0e23","6673401913319860140":"\u0e2d\u0e35\u0e40\u0e21\u0e25","3851105669942087376":"\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48 \u0e40\u0e21\u0e37\u0e2d\u0e07 \u0e23\u0e2b\u0e31\u0e2a\u0e44\u0e1b\u0e23\u0e29\u0e13\u0e35\u0e22\u0e4c","945370244645377154":"PM","3930646348588273646":"AM","8833347210898379151":"\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a\u0e40\u0e23\u0e32",
"1920302739661836910":""},"in":{"125950693774553467":"Telepon","433852185421632107":"Petunjuk Arah","5465850501066676848":"Situs web","1769669672311356121":"Telepon","6673401913319860140":"Email","3851105669942087376":"Telusuri alamat, kota, kode pos","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Hubungi Kami","1920302739661836910":""},tl:{"125950693774553467":"Tawagan","433852185421632107":"Mga Direksyon","5465850501066676848":"Website","1769669672311356121":"Tawagan",
"6673401913319860140":"I-email","3851105669942087376":"Maghanap ng address, lungsod, zip code","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Kumonekta Sa Amin","1920302739661836910":""},el:{"125950693774553467":"\u039a\u03bb\u03ae\u03c3\u03b7","433852185421632107":"\u039f\u03b4\u03b7\u03b3\u03af\u03b5\u03c2","5465850501066676848":"\u0399\u03c3\u03c4\u03cc\u03c4\u03bf\u03c0\u03bf\u03c2","1769669672311356121":"\u039a\u03bb\u03ae\u03c3\u03b7","6673401913319860140":"\u0397\u03bb\u03b5\u03ba\u03c4\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03c4\u03b1\u03c7\u03c5\u03b4\u03c1\u03bf\u03bc\u03b5\u03af\u03bf",
"3851105669942087376":"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7 \u03b4\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7\u03c2, \u03c0\u03cc\u03bb\u03b7\u03c2, \u03c4\u03b1\u03c7\u03c5\u03b4\u03c1\u03bf\u03bc\u03b9\u03ba\u03bf\u03cd \u03ba\u03ce\u03b4\u03b9\u03ba\u03b1","945370244645377154":"\u03bc.\u03bc.","3930646348588273646":"\u03c0.\u03bc.","8833347210898379151":"\u03a3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af\u03c4\u03b5 \u03bc\u03b1\u03b6\u03af \u03bc\u03b1\u03c2","1920302739661836910":""},
he:{"125950693774553467":"\u05d4\u05ea\u05e7\u05e9\u05e8","433852185421632107":"\u05de\u05e1\u05dc\u05d5\u05dc","5465850501066676848":"\u05d0\u05ea\u05e8 \u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8","1769669672311356121":"\u05d4\u05ea\u05e7\u05e9\u05e8","6673401913319860140":"\u05d0\u05d9\u05de\u05d9\u05d9\u05dc","3851105669942087376":"\u05d7\u05e4\u05e9 \u05db\u05ea\u05d5\u05d1\u05ea, \u05e2\u05d9\u05e8 \u05d0\u05d5 \u05de\u05d9\u05e7\u05d5\u05d3","945370244645377154":"PM","3930646348588273646":"AM",
"8833347210898379151":"\u05d4\u05ea\u05d7\u05d1\u05e8 \u05d0\u05dc\u05d9\u05e0\u05d5","1920302739661836910":""},pl:{"125950693774553467":"Zadzwo\u0144","433852185421632107":"Wyznacz tras\u0119","5465850501066676848":"Witryna","3195121480832280192":"Bie\u017c\u0105ca lokalizacja","1769669672311356121":"Zadzwo\u0144","6673401913319860140":"E-mail","3851105669942087376":"Szukaj adresu, miasta i kodu pocztowego","945370244645377154":"po po\u0142udniu","3930646348588273646":"rano","8833347210898379151":"Skontaktuj si\u0119 z nami",
"1920302739661836910":""},id:{"125950693774553467":"Telepon","433852185421632107":"Petunjuk Arah","5465850501066676848":"Situs web","1769669672311356121":"Telepon","6673401913319860140":"Email","3851105669942087376":"Telusuri alamat, kota, kode pos","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Hubungi Kami","1920302739661836910":""},ms:{"125950693774553467":"Panggil","433852185421632107":"Arah","5465850501066676848":"Tapak web","1769669672311356121":"Panggil","6673401913319860140":"E-mel",
"3851105669942087376":"Cari alamat, bandar, poskod","945370244645377154":"p/m","3930646348588273646":"pg","8833347210898379151":"Berhubung Dengan Kami","1920302739661836910":""},"en-XA":{"125950693774553467":"[\u00c7\u00e5\u013c\u013c one]","433852185421632107":"[\u00d0\u00ee\u0155\u00e9\u00e7\u0163\u00ee\u00f6\u00f1\u0161 one two]","5465850501066676848":"[\u0174\u00e9\u0431\u0161\u00ee\u0163\u00e9 one]","3195121480832280192":"[\u00c7\u00fb\u0155\u0155\u00e9\u00f1\u0163 \u013b\u00f6\u00e7\u00e5\u0163\u00ee\u00f6\u00f1 one two]",
"1769669672311356121":"[\u00c7\u00e5\u013c\u013c one]","6673401913319860140":"[\u00c9m\u00e5\u00ee\u013c one]","3851105669942087376":"[\u0160\u00e9\u00e5\u0155\u00e7\u0125 \u00e5\u00f0\u00f0\u0155\u00e9\u0161\u0161, \u00e7\u00ee\u0163\u00fd, \u017e\u00ee\u00fe \u00e7\u00f6\u00f0\u00e9 one two three four five six seven]","945370244645377154":"[\u00fem one]","3930646348588273646":"[\u00e5m one]","8833347210898379151":"[\u00c7\u00f6\u00f1\u00f1\u00e9\u00e7\u0163 \u0174\u00ee\u0163\u0125 \u00db\u0161 one two]",
"1920302739661836910":"[\u1405"},"en-XC":{"125950693774553467":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200eCall\u200e\u200f\u200e\u200e\u200f\u200e",
"433852185421632107":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200e\u200e\u200f\u200f\u200f\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200eDirections\u200e\u200f\u200e\u200e\u200f\u200e",
"5465850501066676848":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200e\u200eWebsite\u200e\u200f\u200e\u200e\u200f\u200e",
"3195121480832280192":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200e\u200e\u200eCurrent Location\u200e\u200f\u200e\u200e\u200f\u200e",
"1769669672311356121":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200f\u200f\u200e\u200e\u200f\u200e\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200e\u200e\u200e\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200e\u200f\u200f\u200e\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200e\u200f\u200f\u200e\u200e\u200f\u200eCall\u200e\u200f\u200e\u200e\u200f\u200e",
"6673401913319860140":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200f\u200e\u200e\u200eEmail\u200e\u200f\u200e\u200e\u200f\u200e",
"3851105669942087376":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200f\u200f\u200f\u200e\u200e\u200e\u200e\u200e\u200e\u200e\u200f\u200f\u200e\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200e\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200e\u200eSearch address, city, zip code\u200e\u200f\u200e\u200e\u200f\u200e",
"945370244645377154":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200epm\u200e\u200f\u200e\u200e\u200f\u200e",
"3930646348588273646":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200e\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200e\u200e\u200e\u200e\u200e\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200eam\u200e\u200f\u200e\u200e\u200f\u200e",
"8833347210898379151":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200f\u200f\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200e\u200f\u200f\u200e\u200e\u200e\u200f\u200f\u200f\u200f\u200eConnect With Us\u200e\u200f\u200e\u200e\u200f\u200e",
"1920302739661836910":"\u200e\u200f\u200e\u200e\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200f\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200e\u200f\u200e\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200f\u200f\u200e\u200e\u200e\u200e\u200e\u200e\u200f\u200f\u200e\u200f\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e\u200f\u200f\u200f\u200e\u200e\u200e\u200f\u200e\u200e\u200f\u200f\u200e"},
"zh-CN":{"125950693774553467":"\u81f4\u7535","433852185421632107":"\u8def\u7ebf","5465850501066676848":"\u7f51\u7ad9","3195121480832280192":"\u5f53\u524d\u4f4d\u7f6e","1769669672311356121":"\u81f4\u7535","6673401913319860140":"\u53d1\u7535\u5b50\u90ae\u4ef6","3851105669942087376":"\u641c\u7d22\u5730\u5740\u3001\u57ce\u5e02\u3001\u90ae\u653f\u7f16\u7801","945370244645377154":"\u4e0b\u5348","3930646348588273646":"\u4e0a\u5348","8833347210898379151":"\u4e0e\u6211\u4eec\u8054\u7cfb","1920302739661836910":""},
ca:{"125950693774553467":"Truca","433852185421632107":"Indicacions","5465850501066676848":"Lloc web","3195121480832280192":"ubicaci\u00f3 actual","1769669672311356121":"Truca","6673401913319860140":"Correu electr\u00f2nic","3851105669942087376":"Cerqueu adreces, ciutats o codis postals.","945370244645377154":"p. m.","3930646348588273646":"a. m.","8833347210898379151":"Connecteu amb nosaltres","1920302739661836910":""},ar:{"125950693774553467":"\u0627\u062a\u0635\u0627\u0644","433852185421632107":"\u0627\u0644\u0627\u062a\u062c\u0627\u0647\u0627\u062a",
"5465850501066676848":"\u0645\u0648\u0642\u0639 \u0627\u0644\u0648\u064a\u0628","1769669672311356121":"\u0627\u062a\u0635\u0627\u0644","6673401913319860140":"\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a","3851105669942087376":"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u062d\u062b\u060c \u0627\u0644\u0645\u062f\u064a\u0646\u0629\u060c \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064a\u062f\u064a","945370244645377154":"\u0645\u0633\u0627\u0621\u064b",
"3930646348588273646":"\u0635\u0628\u0627\u062d\u064b\u0627","8833347210898379151":"\u062a\u0648\u0627\u0635\u0644 \u0645\u0639\u0646\u0627","1920302739661836910":""},"zh-HK":{"125950693774553467":"\u81f4\u96fb","433852185421632107":"\u8def\u7dda","5465850501066676848":"\u7db2\u7ad9","3195121480832280192":"\u76ee\u524d\u4f4d\u7f6e","1769669672311356121":"\u81f4\u96fb","6673401913319860140":"\u96fb\u90f5","3851105669942087376":"\u641c\u5c0b\u5730\u5740\u3001\u57ce\u5e02\u3001\u90f5\u905e\u5340\u865f",
"945370244645377154":"\u4e0b\u5348","3930646348588273646":"\u4e0a\u5348","8833347210898379151":"\u8207\u6211\u5011\u806f\u7e6b","1920302739661836910":""},"pt-BR":{"125950693774553467":"Ligar","433852185421632107":"Rotas","5465850501066676848":"Site","3195121480832280192":"Localiza\u00e7\u00e3o atual","1769669672311356121":"Ligar","6673401913319860140":"E-mail","3851105669942087376":"Pesquisar endere\u00e7o, cidade e CEP","945370244645377154":"da tarde/noite","3930646348588273646":"da manh\u00e3",
"8833347210898379151":"Entrar em contato conosco","1920302739661836910":""},cs:{"125950693774553467":"Volat","433852185421632107":"Trasa","5465850501066676848":"Webov\u00e1 str\u00e1nka","1769669672311356121":"Volat","6673401913319860140":"E-mail","3851105669942087376":"Hledan\u00e1 adresa, m\u011bsto, PS\u010c","945370244645377154":"PM","3930646348588273646":"AM","8833347210898379151":"Spojte se s n\u00e1mi","1920302739661836910":""},"zh-TW":{"125950693774553467":"\u6253\u96fb\u8a71","433852185421632107":"\u67e5\u770b\u8def\u7dda",
"5465850501066676848":"\u7db2\u7ad9","3195121480832280192":"\u76ee\u524d\u4f4d\u7f6e","1769669672311356121":"\u6253\u96fb\u8a71","6673401913319860140":"\u5bc4\u96fb\u5b50\u90f5\u4ef6","3851105669942087376":"\u641c\u5c0b\u5730\u5740\u3001\u57ce\u5e02\u3001\u90f5\u905e\u5340\u865f","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"\u638c\u63e1\u6211\u5011\u7684\u6700\u65b0\u52d5\u614b","1920302739661836910":""},sk:{"125950693774553467":"Vola\u0165","433852185421632107":"Trasa",
"5465850501066676848":"Webov\u00e9 str\u00e1nky","1769669672311356121":"Vola\u0165","6673401913319860140":"E-mail","3851105669942087376":"H\u013eadan\u00e1 adresa, mesto, PS\u010c","945370244645377154":"pm","3930646348588273646":"am","8833347210898379151":"Spojte sa s nami","1920302739661836910":""}};var fg=null!=Pd(new A(decodeURIComponent(k.location.href)),"google_debug");q("tetris.utils.IS_DEBUG",fg);var gg=null!=Pd(new A(decodeURIComponent(k.location.href)),"tetris_test");q("tetris.utils.IS_TEST",gg);var hg=/^data:image\/gif;base64,[a-zA-Z0-9+\/=]+$/,ig=bc("tetris.utils"),jg=0;if(fg){var kg=new $f;if(1!=kg.ef){ac();var lg=$b,mg=kg.sh;lg.lc||(lg.lc=[]);lg.lc.push(mg);kg.ef=!0}}
var ng=function(a,b,c,d){if(eb(Sf,b)||eb(Rf,b))throw Error('"'+b+'" should not use this function to gen204.');var e={};e.type=b;e.userInitiated=c;e.deDupe=!!d;e.handled=!1;cg(a,"pingback",e);y(ig,"Sent pingback event of type "+b+".")};q("tetris.utils.sendPingbackEvent",ng);var og=function(a,b,c){var d={};d.type=b;d.gen204_params=c;cg(a,"pingback",d);y(ig,"Sent pingback event of type "+b+".")};q("tetris.utils.sendGen204PingbackEvent",og);
var pg=function(a,b,c){ng(a,b,!0,!1);var d={};d.type=b;d.href=c;d.handled=!1;cg(a,"clickthrough",d);y(ig,"Sent clickthrough event of type "+b+" to "+c+".")};q("tetris.utils.sendClickThroughEvent",pg);var qg=function(a,b){var c={};c.type=b;c.handled=!1;cg(a,"latency",c);y(ig,"Sent latency event of type "+b+".")};q("tetris.utils.sendLatencyEvent",qg);var rg=function(a,b){var c={};c.id="video_"+jg++;c.video=b;c.handled=!1;cg(a,"videocreated",c);y(ig,"Sent video created event.")};
q("tetris.utils.sendVideoCreatedEvent",rg);
var sg=function(a){if(!n(a))throw Error('"'+a+'" is not a valid URL!');if(!hg.test(a)){var b=new A(a);b.wa||(b=new A(a.replace(/^(\/\/)?/,"http://")));if("http"!=b.wa&&"https"!=b.wa||!b.bb)throw Error('"'+a+'" is not a valid URL!');}if(hg.test(a))return a;b=new A(a);b.wa||(b=new A(a.replace(/^(\/\/)?/,"http://")));return b.toString()},ug=function(a,b){var c=b;v(a,function(a){c=Math.min(c,tg(a,b))});v(a,function(a){a.children[0].style.fontSize=c+"px";a.style.lineHeight=K(a).height+"px"})},tg=function(a,
b){if(!a.children[0])return b;a.style.lineHeight=K(a).height+"px";var c=a.children[0];for(c.style.fontSize=b+"px";(c.offsetWidth>a.clientWidth+1||c.offsetHeight>a.clientHeight)&&10<b;)--b,c.style.fontSize=b+"px";return b};q("chrome.i18n.getMessage",function(a){var b=We("locale",window.navigator.language||window.navigator.browserLanguage||"en-US"),c=b.substr(0,2),d="";ha(eg[b])&&(d=eg[b][a]);!d&&ha(eg[c])&&(d=eg[c][a]);d||(d=eg["en-XC"][a]);return d});var N=function(){L.call(this);this.h=[];this.J=[];this.lh=[];this.m=this.C=this.Z=!1;this.bd=null;this.Jf="dark";this.backgroundColor="#000";this.Ee=.15;this.kb="#555";this.Pf=new vf;ee(this,this.Pf)};r(N,L);q("tetris.Presenter",N);var vg=bc("tetris.Presenter");N.prototype.Y=function(){N.a.Y.call(this);var a=Mf(this);a.listen(this.Pf,"resize",this.b);a.listen(M(this),"pingback",this.Wg)};N.prototype.Ef=function(a,b){a&&(this.bd=b?sg(b):null,this.xc(sg(a),this.bd),y(vg,"Added logo at "+a+"."))};
N.prototype.setLogo=N.prototype.Ef;N.prototype.xc=m;N.prototype.Kc=function(a){a&&(this.lh.push(a),this.$b(a),y(vg,'Added message "'+a+'".'))};N.prototype.addMessage=N.prototype.Kc;N.prototype.$b=m;N.prototype.Jc=function(a,b){a&&b&&(this.Bd(sg(a),b),y(vg,'Added call-to-action "'+b+'" for '+a+"."))};N.prototype.addCta=N.prototype.Jc;N.prototype.Bd=m;
N.prototype.Ad=function(a,b){if(null!=a||null!=b){var c=Mf(this);null!=a&&(this.h.push(a),a.ha(this.kb),c.listen(a,"pingback",p(this.Re,this,a)),this.Z&&a.pa(),y(vg,"Adding card <"+a.tagName.toLowerCase()+">"));null!=b&&(this.J.push(b),this.Z&&b.pa(),null!=a&&(b.bc=a,c.listen(b,"pingback",p(this.Re,this,a))),y(vg,"Adding thumb <"+b.tagName.toLowerCase()+">"));this.Zb(a,b)}};N.prototype.addAsset=N.prototype.Ad;N.prototype.Zb=m;
N.prototype.pa=function(){if(!this.Z){this.Z=!0;for(var a=0;a<this.h.length;++a)this.h[a].pa();for(a=0;a<this.J.length;++a)this.J[a].pa();this.I();y(vg,"Prepared all cards and/or thumbs.")}};N.prototype.prepare=N.prototype.pa;N.prototype.I=m;N.prototype.Ia=function(){this.m||(this.m=!0,this.pa(),this.R(),this.Sa(),y(vg,"Activated presenter."))};N.prototype.activate=N.prototype.Ia;N.prototype.R=m;
N.prototype.La=function(){if(this.m){this.m=!1;for(var a=0;a<this.h.length;++a)this.h[a].La();for(a=0;a<this.J.length;++a)this.J[a].La();this.xa();this.na();y(vg,"Deactivated presenter and cards/thumbs.")}};N.prototype.deactivate=N.prototype.La;N.prototype.na=m;N.prototype.b=function(){y(vg,"Invalidated presenter size.")};N.prototype.invalidateSize=N.prototype.b;
N.prototype.ha=function(a){if(a){this.kb=qf(a).nc;for(a=0;a<this.h.length;++a)this.h[a].ha(this.kb);this.je(this.kb);y(vg,"Set accent color to "+this.kb+".")}};N.prototype.setAccentColor=N.prototype.ha;N.prototype.je=m;N.prototype.setBackgroundColor=function(a,b,c){eb(cf,a)&&b&&0<=c&&100>=c&&(this.Jf=a,this.backgroundColor=qf(b).nc,this.Ee=c,this.wc(this.Jf,this.backgroundColor,this.Ee),y(vg,"Set background color to "+b+" fading to "+c+"%."))};N.prototype.setBackgroundColor=N.prototype.setBackgroundColor;
N.prototype.wc=m;N.prototype.Sa=function(){this.m&&!this.C&&(this.C=!0,this.qa())};N.prototype.startAnimation=N.prototype.Sa;N.prototype.qa=m;N.prototype.xa=function(){if(this.C){this.C=!1;for(var a=0;a<this.h.length;a++)this.h[a].xa();for(a=0;a<this.J.length;++a)this.J[a].xa();this.ra()}};N.prototype.stopAnimation=N.prototype.xa;N.prototype.ra=m;N.prototype.Wg=function(a){a.u.detail.userInitiated&&ng(M(this),"Element interacted",!1)};
N.prototype.Re=function(a,b){b.u.detail.userInitiated&&(a=a.tagName.replace(/-/g," ").toLowerCase(),a=/^tetris (.*) card$/.exec(a)[1],ng(b.target,String(a.charAt(0)).toUpperCase()+String(a.substr(1)).toLowerCase()+" card interacted",!1,!0))};N.prototype.Pd=function(){return this.C};N.prototype.getIsAnimating=N.prototype.Pd;N.prototype.Od=function(){return this.m};N.prototype.getIsActive=N.prototype.Od;q("tetris.Presenter.prototype.decorate",N.prototype.Eg);q("tetris.Presenter.prototype.render",N.prototype.Ra);
q("tetris.Presenter.prototype.dispose",N.prototype.ob);q("tetris.Presenter.prototype.getElement",N.prototype.ec);var wg=function(){return function(){if(!ga(this.ye))throw"Custom element must be registered with tetris.CustomElement.register.";return new this.ye}},xg=function(a,b){da(b)||(b=cb(b));for(var c=b.length,d=0;d<c;d++)(function(a,b){Object.defineProperty(a,b,{get:function(){return this.getAttribute(b)},set:function(a){return this.setAttribute(b,a)},enumerable:!0})})(a,b[d])},yg=function(a,b,c){c&&xg(b.prototype,c);b.prototype.setAttribute=HTMLElement.prototype.setAttribute;b.prototype.getAttribute=HTMLElement.prototype.getAttribute;
b.prototype.removeAttribute=HTMLElement.prototype.removeAttribute;c={prototype:b.prototype};b.prototype.tg&&(c["extends"]=b.prototype.tg);b.prototype.ye="registerElement"in document?document.registerElement(a,c):document.register(a,c)};(function(){var a=ba("CustomEvent");a||(a=function(a,c){c=c||{};var b=document.createEvent("CustomEvent");b.initCustomEvent(a,!!c.bubbles,!!c.cancelable,c.detail||null);return b},a.prototype=window.Event.prototype,k.CustomEvent=a)})();var O=wg();r(O,HTMLElement);q("tetris.Thumb",O);O.s="tetris-thumb";O.Tf=new dc(336,280);O.si=60;O.prototype.createdCallback=function(){this.Z=this.m=this.C=this.qc=!1;this.$e=this.bc=null;this.Id()};O.prototype.createdCallback=O.prototype.createdCallback;O.prototype.detachedCallback=m;O.prototype.detachedCallback=O.prototype.detachedCallback;O.prototype.Cd=m;O.prototype.attributeChangedCallback=O.prototype.Cd;O.prototype.ob=m;O.prototype.Id=function(){F(this,"thumb");this.$e=z("DIV","icon");this.appendChild(this.$e)};
O.prototype.setData=function(a,b){if(this.qc)throw Error("setData() must not be called more than once.");if(this.Z)throw Error("setData() must not be called after the thumb is already prepared.");this.U(a,function(a){return sg(b(a))});this.qc=!0};O.prototype.setData=O.prototype.setData;O.prototype.U=m;O.prototype.pa=function(){this.Z||(this.I(),this.Z=!0,this.b())};O.prototype.prepare=O.prototype.pa;O.prototype.I=m;O.prototype.Ia=function(){this.m||(this.pa(),this.m=!0,this.b(),this.R())};
O.prototype.activate=O.prototype.Ia;O.prototype.R=m;O.prototype.La=function(){this.m&&(this.m=!1,this.xa(),this.na())};O.prototype.deactivate=O.prototype.La;O.prototype.na=m;O.prototype.Sa=function(){this.m&&!this.C&&(this.C=!0,this.qa())};O.prototype.startAnimation=O.prototype.Sa;O.prototype.qa=m;O.prototype.xa=function(){this.C&&(this.C=!1,this.ra())};O.prototype.stopAnimation=O.prototype.xa;O.prototype.ra=m;O.prototype.b=m;O.prototype.invalidateSize=O.prototype.b;O.prototype.P=function(){return K(this)};
O.prototype.Pd=function(){return this.C};O.prototype.Od=function(){return this.m};yg(O.s,O);var zg=function(a){C.call(this);this.pc={};this.oc={};this.Oa=new wf(this);this.i=a};r(zg,C);var Ag=[x&&!Mb("11")?"readystatechange":"load","abort","error"];zg.prototype.Za=function(a,b,c){(b=n(b)?b:b.src)&&(this.pc[a]={src:b,Je:aa(c)?c:null})};var Bg=function(a,b){delete a.pc[b];var c=a.oc[b];c&&(delete a.oc[b],a.Oa.sd(c,Ag,a.sf),fb(a.oc)&&fb(a.pc)&&a.dispatchEvent("complete"))};
zg.prototype.start=function(){var a=this.pc;v(db(a),function(b){var c=a[b];if(c&&(delete a[b],!this.pb)){var d;d=this.i?ic(this.i).c("IMG"):new Image;c.Je&&(d.crossOrigin=c.Je);this.Oa.listen(d,Ag,this.sf);this.oc[b]=d;d.id=b;d.src=c.src}},this)};
zg.prototype.sf=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.pb||Bg(this,b.id)}};zg.prototype.S=function(){delete this.pc;delete this.oc;de(this.Oa);zg.a.S.call(this)};var Cg=function(){L.call(this);this.Wc=this.l=this.jd=null;this.w=[];this.N=0;this.Fa=this.Ga=-1;this.Ob=this.Yc=!1;this.zb=new Ke;ee(this,this.zb);this.hd=new Je(5E3);ee(this,this.hd)};r(Cg,L);g=Cg.prototype;g.c=function(){this.oa(this.aa.c("DIV"))};
g.oa=function(a){this.A=a;F(a,"rotator");var b=this.ba();this.l=b.c("IMG");var c=b.c("DIV","logo");b.appendChild(c,this.l);b.appendChild(a,c);this.w.push(c);c=b.c("DIV","text-cta-container");this.jd=b.c("DIV","text-cta-rotator");b.appendChild(c,this.jd);b.appendChild(a,c);kf(p(this.b,this))};g.Y=function(){Cg.a.Y.call(this);var a=Mf(this);a.listen(this.l,"click",this.Rg);gg||a.listen(this.hd,"tick",this.ah);a.listen(this.zb,"tick",this.b);this.zb.start()};
g.hb=function(a,b){this.l.src=sg(a);this.Wc=null;null!=b&&(this.Wc=sg(b))};g.Rg=function(){null!=this.Wc&&pg(this.l,"Logo clicked",this.Wc)};g.Kc=function(a){a=this.ba().c("DIV","font-themed",a);Dg(this,a,"text")};g.Jc=function(a,b){b=this.ba().c("BUTTON","font-themed",b);Mf(this).listen(b,"click",p(pg,this,this.jd,"Header CTA clicked",sg(a)));Dg(this,b,"cta")};
var Dg=function(a,b,c){var d=a.ba();b=d.c("DIV",["message",c],b);a.w.push(b);d.appendChild(a.jd,b);0>a.Ga&&"text"==c&&(a.Ga=a.w.length-1);"cta"==c&&(Eg(a),0>a.Fa&&(a.Fa=a.w.length-1));a.Ob||0!=a.N||++a.N},Eg=function(a){var b=Sa(a.w,function(a){return Me(a,"text")});a=Sa(a.w,function(a){return Me(a,"cta")});for(var c=0,d=0;d<a.length;d++)var e=K(a[d].children[0]).width,c=e>c?e:c;for(d=0;d<b.length;d++)b[d].style.right=c+20+"px";for(d=0;d<a.length;d++)a[d].style.width=c+"px"};
Cg.prototype.b=function(){var a=K(M(this));this.Yc=-1<this.Ga&&-1<this.Fa&&500<=a.width;J(M(this),"wide",this.Yc);this.Ob=400>=a.width;J(M(this),"narrow",this.Ob);!this.Ob&&0==this.N&&1<this.w.length&&++this.N;F(M(this),"reset");E(p(function(){I(M(this),"reset")},this),0);a=Sa(this.w,function(a){return Me(a,"text")});Eg(this);ug(a,64);Fg(this)};Cg.prototype.start=function(){this.hd.start()};
Cg.prototype.stop=function(){this.hd.stop();1>=this.w.length||(-1<this.N&&I(this.w[this.N],"shown"),this.N=this.Ob?0:1,F(this.w[this.N],"shown"))};
Cg.prototype.ah=function(){if(!(1>=this.w.length)){if(this.Yc){do++this.Fa,this.N=this.Fa%=this.w.length;while(!Me(this.w[this.Fa],"cta"));do++this.Ga,this.N=this.Ga%=this.w.length;while(!Me(this.w[this.Ga],"text"))}else++this.N,this.N%=this.w.length,!this.Ob&&0==this.N&&1<this.w.length&&++this.N,Me(this.w[this.N],"text")?this.Ga=this.N:Me(this.w[this.N],"cta")&&(this.Fa=this.N);Fg(this)}};
var Fg=function(a){1>a.w.length||(v(a.w,function(a){I(a,"shown")},a),a.Yc?(-1<a.Ga&&F(a.w[a.Ga],"shown"),-1<a.Fa&&F(a.w[a.Fa],"shown")):-1<a.N&&F(a.w[a.N],"shown"))};var Gg=function(){L.call(this);this.eg=chrome.i18n.getMessage("8833347210898379151");this.Zf=chrome.i18n.getMessage("125950693774553467");this.$f=chrome.i18n.getMessage("6673401913319860140");this.ag=chrome.i18n.getMessage("5465850501066676848");this.Qa={};this.Qa.call=this.Zf;this.Qa.email=this.$f;this.Qa.facebook="Facebook";this.Qa.gplus="Google+";this.Qa.instagram="Instagram";this.Qa.pinterest="Pinterest";this.Qa.twitter="Twitter";this.Qa.website=this.ag;this.Qa.youtube="YouTube"};r(Gg,L);
q("tetris.filmstripPresenter.SocialOverlay.LinkType",{Lh:"call",Uh:"email",Xh:"facebook",$h:"gplus",bi:"instagram",li:"pinterest",Di:"twitter",Fi:"website",Ji:"youtube"});Gg.prototype.c=function(){this.oa(this.aa.c("DIV"))};Gg.prototype.oa=function(a){this.A=a;F(a,"social-container");var b=this.ba(),c=b.c("DIV","social-button"),d=b.c("DIV",null,this.eg),d=b.c("DIV","social-header",d),d=b.c("DIV","social-overlay",d),d=b.c("DIV","social-overlay-container",d);b.appendChild(a,d);b.appendChild(a,c)};
Gg.prototype.Y=function(){Gg.a.Y.call(this);var a=Mf(this),b=this.ba();a.listen(b.rb("social-button"),"click",this.Of);a.listen(b.rb("social-overlay-container"),"click",this.Of)};Gg.prototype.Of=function(){var a=mc("social-overlay-container"),b=!Me(a,"shown");J(a,"shown",b);a=Me(a,"shown")?"open":"close";this.dispatchEvent(a)};var Hg=function(a,b,c){ce.call(this);this.$d=a;this.Nb=b||0;this.Oa=c;this.zg=p(this.Fg,this)};r(Hg,ce);g=Hg.prototype;g.T=0;g.S=function(){Hg.a.S.call(this);this.stop();delete this.$d;delete this.Oa};g.start=function(a){this.stop();this.T=E(this.zg,aa(a)?a:this.Nb)};g.stop=function(){this.m()&&k.clearTimeout(this.T);this.T=0};g.m=function(){return 0!=this.T};g.Fg=function(){this.T=0;this.$d&&this.$d.call(this.Oa)};var Ig={},Jg=null,Kg=function(a){a=a[ia]||(a[ia]=++ja);delete Ig[a];fb(Ig)&&Jg&&Jg.stop()},Mg=function(){Jg||(Jg=new Hg(function(){Lg()},20));var a=Jg;a.m()||a.start()},Lg=function(){var a=na();bb(Ig,function(b){Ng(b,a)});fb(Ig)||Mg()};var Og=function(){C.call(this);this.j=0;this.endTime=this.startTime=null};r(Og,C);Og.prototype.ee=function(){this.Ma("begin")};Og.prototype.ed=function(){this.Ma("end")};Og.prototype.onStop=function(){this.Ma("stop")};Og.prototype.Ma=function(a){this.dispatchEvent(a)};var Pg=function(a,b,c,d){Og.call(this);if(!da(a)||!da(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.zc=a;this.Gg=b;this.duration=c;this.ze=d;this.coords=[];this.Hh=!1;this.progress=0;this.Vd=null};r(Pg,Og);
Pg.prototype.play=function(a){if(a||0==this.j)this.progress=0,this.coords=this.zc;else if(1==this.j)return!1;Kg(this);this.startTime=a=na();-1==this.j&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.Vd=this.startTime;this.progress||this.ee();this.Ma("play");-1==this.j&&this.Ma("resume");this.j=1;var b=this[ia]||(this[ia]=++ja);b in Ig||(Ig[b]=this);Mg();Ng(this,a);return!0};
Pg.prototype.stop=function(a){Kg(this);this.j=0;a&&(this.progress=1);Qg(this,this.progress);this.onStop();this.ed()};Pg.prototype.pause=function(){1==this.j&&(Kg(this),this.j=-1,this.Ma("pause"))};Pg.prototype.S=function(){0==this.j||this.stop(!1);this.Ma("destroy");Pg.a.S.call(this)};
var Ng=function(a,b){Oa(a.startTime);Oa(a.endTime);Oa(a.Vd);b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.progress=(b-a.startTime)/(a.endTime-a.startTime);1<a.progress&&(a.progress=1);a.Vd=b;Qg(a,a.progress);1==a.progress?(a.j=0,Kg(a),a.Ma("finish"),a.ed()):1==a.j&&a.ce()},Qg=function(a,b){ga(a.ze)&&(b=a.ze(b));a.coords=Array(a.zc.length);for(var c=0;c<a.zc.length;c++)a.coords[c]=(a.Gg[c]-a.zc[c])*b+a.zc[c]};Pg.prototype.ce=function(){this.Ma("animate")};
Pg.prototype.Ma=function(a){this.dispatchEvent(new Rg(a,this))};var Rg=function(a,b){fe.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.j};r(Rg,fe);var Sg=function(a,b,c,d,e){Pg.call(this,b,c,d,e);this.element=a};r(Sg,Pg);Sg.prototype.ud=m;Sg.prototype.ce=function(){this.ud();Sg.a.ce.call(this)};Sg.prototype.ed=function(){this.ud();Sg.a.ed.call(this)};Sg.prototype.ee=function(){this.ud();Sg.a.ee.call(this)};var Tg=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Sg.apply(this,arguments)};r(Tg,Sg);
Tg.prototype.ud=function(){if(this.Hh){var a=this.element,b=Math.round(this.coords[0]),b=Math.max(b,0);"rtl"==Ef(a,"direction")?Eb?a.scrollLeft=-b:Db&&Mb("8")?a.scrollLeft=b:a.scrollLeft=a.scrollWidth-b-a.clientWidth:a.scrollLeft=b}else this.element.scrollLeft=Math.round(this.coords[0]);this.element.scrollTop=Math.round(this.coords[1])};var Ug=function(a){return 1-Math.pow(1-a,3)};var Vg=function(){L.call(this);this.ib=[];this.ga="landscape";this.gb=new Je(30);ee(this,this.gb);this.zf="right";this.ac=this.vc=this.F=this.rc=this.Ac=this.Bf=this.uf=null};r(Vg,L);Vg.prototype.c=function(){this.oa(this.aa.c("DIV"))};
Vg.prototype.oa=function(a){this.A=a;F(a,"thumb-scroller");var b=this.ba();this.Ac=b.c("DIV",["top-arrow","hidden"],b.c("DIV"));b.appendChild(a,this.Ac);this.rc=b.c("DIV",["left-arrow","hidden"],b.c("DIV"));b.appendChild(a,this.rc);this.F=b.c("DIV","thumb-container");b.appendChild(a,this.F);this.vc=b.c("DIV",["right-arrow","hidden"],b.c("DIV"));b.appendChild(a,this.vc);this.ac=b.c("DIV",["bottom-arrow","hidden"],b.c("DIV"));b.appendChild(a,this.ac)};
Vg.prototype.Y=function(){Vg.a.Y.call(this);var a=Mf(this);a.listen(this.gb,"tick",this.Rd);a.listen(this.rc,"mouseenter",p(this.sb,this,"left")).listen(this.rc,"mouseleave",p(this.tb,this)).listen(this.vc,"mouseenter",p(this.sb,this,"right")).listen(this.vc,"mouseleave",p(this.tb,this)).listen(this.Ac,"mouseenter",p(this.sb,this,"up")).listen(this.Ac,"mouseleave",p(this.tb,this)).listen(this.ac,"mouseenter",p(this.sb,this,"down")).listen(this.ac,"mouseleave",p(this.tb,this));a.listen(this.F,"scroll",
this.fb);this.b()};
var Wg=function(a,b){a.ib.push(b);a.ba().appendChild(a.F,b);Mf(a).listen(b,"click",p(a.Ng,a,b));a.b()},Xg=function(a,b,c){if(b!=a.uf||(c||null)!=a.Bf){a.uf=b;a.Bf=c||null;for(var d=0;d<a.ib.length;++d)J(a.ib[d],"selected",a.ib[d]==b||a.ib[d]==c);c=a.F||qc(document);var e=Gf(b),f=Gf(c),h;if(!x||9<=Number(Nb))d=Df(c,"borderLeftWidth"),h=Df(c,"borderRightWidth"),l=Df(c,"borderTopWidth"),G=Df(c,"borderBottomWidth"),h=new zf(parseFloat(l),parseFloat(h),parseFloat(G),parseFloat(d));else{d=Kf(c,"borderLeft");
h=Kf(c,"borderRight");var l=Kf(c,"borderTop"),G=Kf(c,"borderBottom");h=new zf(l,h,G,d)}c==qc(document)?(d=e.x-c.scrollLeft,e=e.y-c.scrollTop,!x||10<=Number(Nb)||(d+=h.left,e+=h.top)):(d=e.x-f.x-h.left,e=e.y-f.y-h.top);b=If(b);f=c.clientHeight-b.height;h=c.scrollLeft;l=c.scrollTop;h+=d-(c.clientWidth-b.width)/2;c=new cc(h,l+(e-f/2));(new Tg(a.F,[a.F.scrollLeft,a.F.scrollTop],[c.x,c.y],300,Ug)).play()}};g=Vg.prototype;
g.b=function(){var a=K(this.F);if("landscape"==this.ga)var a=a.height-10,b=Math.floor(1.5*a);else b=a.width-10,a=Math.floor(b/1.5);for(var c=0;c<this.ib.length;++c){var d,e=this.ib[c],f=b;if(f instanceof dc)d=f.height,f=f.width;else{if(void 0==a)throw Error("missing height argument");d=a}e.style.width=Hf(f);e.style.height=Hf(d);this.ib[c].b()}this.fb()};
g.setOrientation=function(a){a!=this.ga&&(Qe(M(this),this.ga,this.ga=a),F(M(this),"orientation-changing"),E(p(function(){I(M(this),"orientation-changing")},this),0))};g.fb=function(){var a=K(this.F);J(this.Ac,"hidden","landscape"==this.ga||0>=this.F.scrollTop);J(this.rc,"hidden","portrait"==this.ga||0>=this.F.scrollLeft);J(this.vc,"hidden","portrait"==this.ga||this.F.scrollLeft+a.width>=this.F.scrollWidth);J(this.ac,"hidden","landscape"==this.ga||this.F.scrollTop+a.height>=this.F.scrollHeight)};
g.sb=function(a){this.zf=a;this.gb.start()};g.tb=function(){this.gb.stop()};g.Ng=function(a){cg(a,"thumbselect",{If:a.bc});ng(a,"Thumb selected",!0)};g.Rd=function(){switch(this.zf){case "up":this.F.scrollTop-=8;break;case "left":this.F.scrollLeft-=8;break;case "right":this.F.scrollLeft+=8;break;case "down":this.F.scrollTop+=8}};var P=function(){N.call(this);this.Ye=!1;this.ga="landscape";this.qe=!1;this.v="none";this.Db=this.la=this.ma=this.Jb=this.Kb=this.Va=this.mc=this.Yd=null;this.Qc=[];this.Hb=0};r(P,N);q("tetris.filmstripPresenter.FilmstripPresenter",P);var Yg=bc("tetris.filmstripPresenter.FilmstripPresenter");P.prototype.c=function(){this.oa(this.aa.c("DIV"))};
P.prototype.oa=function(a){this.A=a;F(a,"filmstrip-presenter");var b=this.ba();this.Kb=b.c("HEADER","custom-header");b.appendChild(a,this.Kb);this.mc=b.c("HEADER","generated-header");var c=b.c("DIV");b.appendChild(this.mc,c);this.Db=new Gg;Qf(this,this.Db,this.V?this.V.length:0);this.Db.Ra(c);ee(this,this.Db);c=b.c("DIV");b.appendChild(this.mc,c);this.Va=new Cg;this.Va.Ra(c);ee(this,this.Va);b.appendChild(a,this.mc);this.Jb=b.c("DIV","content");this.ma=b.c("DIV",["card-container",this.v]);b.appendChild(this.Jb,
this.ma);this.la=new Vg;Qf(this,this.la,this.V?this.V.length:0);this.la.Ra(this.Jb);ee(this,this.la);b.appendChild(a,this.Jb)};P.prototype.Y=function(){P.a.Y.call(this);var a=Mf(this);a.listen(this.Kb,"click",this.Pg);Ze()||a.listen(this.ma,"click",this.Lg,!0);a.listen(this.ma,ie,this.Mg);a.listen(M(this.la),"thumbselect",this.dh);a.listen(this.Db,"open",this.La);a.listen(this.Db,"close",this.Ia);this.b()};P.prototype.me=function(a){this.Yd=a;this.b();y(Yg,"Set layout strategy.")};
P.prototype.setLayoutStrategy=P.prototype.me;P.prototype.xc=function(a,b){P.a.xc.call(this,a,b);this.Va.hb(a,b)};P.prototype.$b=function(a){P.a.$b.call(this,a);this.Va.Kc(a)};P.prototype.Bd=function(a,b){P.a.Bd.call(this,a,b);this.Va.Jc(a,b)};P.prototype.Ae=function(a,b,c){this.Qc.push({size:new dc(b,c),url:sg(a)});this.Ye=!0;F(M(this),"custom");this.b();Yg.info("Added custom "+b+"x"+c+" header image asset : "+a)};P.prototype.addCustomHeader=P.prototype.Ae;
P.prototype.qa=function(){P.a.qa.call(this);for(var a=0;a<this.h.length;++a)this.h[a].Sa();this.Va.start()};P.prototype.ra=function(){P.a.ra.call(this);for(var a=0;a<this.h.length;++a)this.h[a].xa();this.Va.stop()};
P.prototype.wg=function(a,b){var c=this.Db,d=b,d="call"==a?"tel:"+d.replace(/\D/g,""):"email"==a?"mailto:"+d:sg(d),e=c.ba(),f=e.c("BUTTON",a+"-button",c.Qa[a]);e.appendChild(e.rb("social-overlay"),f);Mf(c).listen(f,"click",p(pg,c,M(c),"Social link clicked",d));J(mc("social-container"),"shown",!0);y(Yg,'Added social link of type "'+a+'" for "'+b+'".')};P.prototype.addSocialLink=P.prototype.wg;
P.prototype.Zb=function(a,b){P.a.Zb.call(this,a,b);if(!a||!b)throw Error("addAsset() requires both a card and a thumb!");this.ba().appendChild(this.ma,a);Wg(this.la,b);Mf(this).listen(a,ie,function(b){b.target!=a||"top"!=b.u.propertyName&&"bottom"!=b.u.propertyName||a.b()});1==this.h.length?(F(a,"primary"),Zg(this)):2==this.h.length&&(F(a,"secondary"),Zg(this));++this.Hb;Mf(this).listen(b,"initial_images_loaded",p(this.hc,this));this.b()};
P.prototype.I=function(){P.a.I.call(this);for(var a=new zg,b=0;b<this.Qc.length;++b)a.Za("preloadedHeaderImages_image"+b,this.Qc[b].url);a.start()};P.prototype.R=function(){P.a.R.call(this);for(var a=0;a<this.J.length;++a)this.J[a].Ia();$g(this)};
var $g=function(a){a.m&&(0<a.h.length&&(a.h[0].Ia(),a.C&&a.h[0].Sa(),Qe(a.h[0],"secondary","primary")),1<a.h.length&&("two-cards"==a.v||"two-cards-and-thumbs"==a.v?(a.h[1].Ia(),a.C&&a.h[1].Sa()):a.h[1].La(),Qe(a.h[1],"primary","secondary")),2<a.h.length&&(I(a.h[2],"secondary"),a.h[2].La()),Zg(a),y(Yg,"Activated selected cards/thumbs."))},ah=function(a){if(Ye())return"mobile";if(Xe())return 500>=a.height?"small-tablet":"large-tablet";if(Ze())return 500>=a.height?"small-desktop":"large-desktop";throw Error("Unexpected form factor!");
};
P.prototype.b=function(){P.a.b.call(this);var a=K(M(this));this.ga=a.width>=a.height?"landscape":"portrait";if(this.Yd){a=this.Yd(this.h.length,this.ga,ah(a));"landscape"==this.ga?(Qe(M(this),"portrait","landscape"),this.la.setOrientation("portrait")):(Qe(M(this),"landscape","portrait"),this.la.setOrientation("landscape"));if(this.Ye)bh(this);else{var b=K(M(this));J(M(this),"hide-header",250>=b.height);this.Va.b()}switch(a){case "none":ch(this,!1);break;case "one-card":ch(this,!1);break;case "one-card-and-thumbs":ch(this,!0);
break;case "two-cards":ch(this,!1);break;case "two-cards-and-thumbs":ch(this,!0)}Pe(this.ma,this.v,a);this.v=a;$g(this);dh(this)}else Yg&&Yg.warning("Invalidated size with no layout specified.",void 0)};P.prototype.invalidateSize=P.prototype.b;
var bh=function(a){var b=K(M(a));I(M(a),"hide-header");for(var c=a.Qc.sort(function(a,b){return b.size.width-a.size.width}),d=0,e=1;e<c.length;++e)c[e].size.width>=b.width&&(d=e);a.Kb.style.backgroundImage="url("+c[d].url+")";b=b.width/c[d].size.width*c[d].size.height+"px";a.Kb.style.height=b;a.Jb.style.top=b},dh=function(a){1>a.h.length||(a.h[0].b(),1<a.h.length&&("two-cards"==a.v||"two-cards-and-thumbs"==a.v)&&a.h[1].b())},ch=function(a,b){var c=K(a.Jb),d=K(M(a)),e=M(a.la);"portrait"==a.ga?(c=Math.max(Math.min(Math.floor(Math.floor((c.width-
40)/3)/1.5+10),.2*d.height,150),50),e.style.width="",e.style.height=c+"px",a.ma.style.bottom=b?c+"px":"0",a.ma.style.right=""):(c=Math.max(Math.min(Math.floor(1.5*Math.floor((c.height-40)/3)+10),.3*d.width,200),50),e.style.width=c+"px",e.style.height="",a.ma.style.bottom="",a.ma.style.right=b?c+"px":"0");a.qe=b;J(M(a.la),"shown",b);a.la.b()},Zg=function(a){1>a.h.length||(1<a.h.length&&("two-cards"==a.v||"two-cards-and-thumbs"==a.v)?Xg(a.la,a.J[0],a.J[1]):Xg(a.la,a.J[0]))};g=P.prototype;
g.wc=function(a,b,c){P.a.wc.call(this,a,b,c);a=sf("dark"==a?"#000":"#f1f1f1");var d=sf(b);c=uf(d,a,c/100);M(this).style.backgroundColor=pf(c);this.mc.style.backgroundImage="linear-gradient(to bottom, "+b+" 30%, "+pf(c)+" 100%)";M(this.la).style.backgroundImage="linear-gradient(to top, "+b+" 30%, "+pf(c)+" 100%)"};g.Pg=function(){null!=this.bd&&pg(this.Kb,"Logo clicked",this.bd)};
g.dh=function(a){a=a.u.detail;null!=a.If&&(a=this.h.indexOf(a.If),0>a?Yg&&Yg.severe("The card to select is not in the presenter.",void 0):(this.h.unshift(this.h.splice(a,1)[0]),this.J.unshift(this.J.splice(a,1)[0]),$g(this)));Zg(this)};g.Lg=function(a){var b=!this.qe||"portrait"==this.ga,c=!this.qe||"landscape"==this.ga;if(20>a.clientX||b&&a.clientX>K(this.ma).width-20||c&&a.clientY>K(this.ma).height-20)a.stopPropagation(),a.preventDefault()};
g.Mg=function(a){a.target!=this.ma||"bottom"!=a.u.propertyName&&"right"!=a.u.propertyName||dh(this)};g.hc=function(){0==--this.Hb&&qg(M(this),"creativerendered")};q("tetris.filmstripPresenter.strategies.defaultStrategy",function(a,b,c){switch(a){case 0:return"none";case 1:return"one-card";case 2:return"landscape"!=b||"mobile"!=c&&"small-tablet"!=c&&"small-desktop"!=c?"two-cards":"one-card-and-thumbs";default:return"portrait"!=b||"large-tablet"!=c&&"large-desktop"!=c?"one-card-and-thumbs":"two-cards-and-thumbs"}});q("tetris.filmstripPresenter.strategies.noneStrategy",function(){return"none"});q("tetris.filmstripPresenter.strategies.oneCardStrategy",function(){return"one-card"});
q("tetris.filmstripPresenter.strategies.oneCardAndThumbsStrategy",function(){return"one-card-and-thumbs"});q("tetris.filmstripPresenter.strategies.twoCardsStrategy",function(){return"two-cards"});q("tetris.filmstripPresenter.strategies.twoCardsAndThumbsStrategy",function(){return"two-cards-and-thumbs"});var eh=function(a){switch(a){case 0:return"none";case 1:return"one-card";default:return"one-card-and-thumbs"}};q("tetris.filmstripPresenter.strategies.noTwoCardsStrategy",eh);
var fh=function(a,b,c){switch(a){case 0:return"none";case 1:return"one-card";case 2:return"landscape"!=b||"mobile"!=c&&"small-tablet"!=c&&"small-desktop"!=c?"two-cards":"one-card-and-thumbs";default:return"one-card-and-thumbs"}};q("tetris.filmstripPresenter.strategies.noTwoCardsAndThumbsStrategy",fh);var gh=function(){L.call(this);this.$a=this.l=null;this.j="image_unloaded";this.hf=this.kf=-1};r(gh,L);gh.prototype.c=function(){this.oa(this.aa.c("CANVAS"))};gh.prototype.oa=function(a){this.A=a;F(a,"image-blurrer");this.l=this.aa.c("IMG");B(this.l,"load",p(this.qh,this));this.$a=this.aa.c("CANVAS")};gh.prototype.qh=function(){this.j="image_loaded";hh(this)};
var hh=function(a){var b=M(a),c=K(b);if(!(0>=c.width||0>=c.height||0>=a.l.width||0>=a.l.height)){if("blur_cached"!=a.j){var d=a.l.width,e=a.l.height;if(1E3<Math.max(d,e)){var f=d/e;1<f?(d=1E3,e=1E3/f):(d=1E3*f,e=1E3)}a.$a.width=d+136;a.$a.height=e+136;f=a.$a.getContext("2d");f.drawImage(a.l,68,68,d,e);e=d=0;f.globalAlpha=.5;for(var h=0;17>h;++h){var l=2*h+1;switch(h%4){case 0:e-=l;break;case 1:d+=l;break;case 2:e+=l;break;case 3:d-=l}f.drawImage(a.$a,d,e)}a.j="blur_cached"}a.kf=c.width;a.hf=c.height;
b.width=c.width;b.height=c.height;var d=f=68,l=a.$a.width-2*f,G=a.$a.height-2*d,e=l,h=G;c.width/c.height>l/G?(h=l/c.width*c.height,d+=(G-h)/2):(e=G/c.height*c.width,f+=(l-e)/2);b=b.getContext("2d");b.clearRect(0,0,c.width,c.height);b.drawImage(a.$a,f,d,e,h,0,0,c.width,c.height)}};gh.prototype.hb=function(a){this.l&&a&&this.l.src!=a&&(this.l.src=a,this.j="image_unloaded")};gh.prototype.b=function(){if("image_unloaded"!=this.j){var a=M(this),a=K(a);this.kf==a.width&&this.hf==a.height||hh(this)}};var Q=wg();r(Q,HTMLElement);q("tetris.Card",Q);Q.s="tetris-card";Q.prototype.createdCallback=function(){this.m=this.Z=this.C=this.qc=!1;this.Id()};Q.prototype.createdCallback=Q.prototype.createdCallback;Q.prototype.attachedCallback=m;Q.prototype.attachedCallback=Q.prototype.attachedCallback;Q.prototype.detachedCallback=m;Q.prototype.detachedCallback=Q.prototype.detachedCallback;Q.prototype.Cd=m;Q.prototype.attributeChangedCallback=Q.prototype.Cd;Q.prototype.ob=m;Q.prototype.Id=function(){F(this,"card")};
Q.prototype.setData=function(a,b){if(this.qc)throw Error("setData() must not be called more than once.");if(this.Z)throw Error("setData() must not be called after the card is already prepared.");this.U(a,function(a){return sg(b(a))});this.qc=!0};Q.prototype.setData=Q.prototype.setData;Q.prototype.U=m;Q.prototype.pa=function(){this.Z||(this.I(),this.Z=!0,this.b())};Q.prototype.prepare=Q.prototype.pa;Q.prototype.I=m;Q.prototype.Ia=function(){this.m||(this.pa(),this.m=!0,F(this,"active"),this.b(),this.R())};
Q.prototype.activate=Q.prototype.Ia;Q.prototype.R=m;Q.prototype.La=function(){this.m&&(this.m=!1,I(this,"active"),this.xa(),this.na())};Q.prototype.deactivate=Q.prototype.La;Q.prototype.na=m;Q.prototype.Sa=function(){this.m&&!this.C&&(this.C=!0,this.qa())};Q.prototype.startAnimation=Q.prototype.Sa;Q.prototype.qa=m;Q.prototype.xa=function(){this.C&&(this.C=!1,this.ra())};Q.prototype.stopAnimation=Q.prototype.xa;Q.prototype.ra=m;Q.prototype.b=m;Q.prototype.invalidateSize=Q.prototype.b;
Q.prototype.Pd=function(){return this.C};Q.prototype.Od=function(){return this.m};Q.prototype.P=function(){return K(this)};Q.prototype.ha=m;Q.prototype.setAccentColor=Q.prototype.ha;yg(Q.s,Q);var R=wg();r(R,Q);q("tetris.imageGallery.ImageGalleryCard",R);R.pf=bc("tetris.imageGallery.ImageGalleryCard");R.s="tetris-image-gallery-card";R.jg=50;R.mg=4;R.zd=300;R.lg=600;R.Rf=6E3;R.fg=500;R.prototype.createdCallback=function(){R.a.createdCallback.call(this);this.K=[];this.Mb=[];this.B=[];this.H=0;this.Hc="#555555";this.dc=this.Aa=this.Pa=this.Ba=null;this.Wd=this.jb=0;this.Ud=this.Pb=this.Wa=!1;this.Mc=new Je(R.Rf);this.Dd=!gg};R.prototype.createdCallback=R.prototype.createdCallback;g=R.prototype;
g.$=function(){this.Ba=z("DIV",["previous-arrow","hidden"],z("DIV"));this.appendChild(this.Ba);this.Pa=z("DIV",["image-container","animate-move"]);this.appendChild(this.Pa);this.Pa.style.width=101*this.K.length+"%";for(var a=0;a<this.K.length;++a){var b=z("DIV","image");b.style.backgroundImage='url("'+this.K[a].image+'")';var c=z("DIV","image-slide"),d=z("DIV","image-clip",c);d.style.width=100/this.K.length+"%";this.Pa.appendChild(d);this.B[a]=d;var e=new gh;e.Ra(c);e.hb(this.K[a].image);this.Mb.push(e);
c.appendChild(b);var f=this.K[a].title;if(f){var h=z("DIV","title"),b=z("DIV","text"),c=z("DIV","overlay",h,b),e=this.K[a].text,l=this.K[a].cta,G=this.K[a].href;e||F(c,"active");if(G){var V=z("DIV","fab"),T=z("DIV","cta-container",V);if(l){var D=z("DIV","cta",l);T.appendChild(D)}c.appendChild(T);B(V,["click","touchstart"],p(this.Og,this,a))}J(c,"has-text",e);J(c,"has-cta",G);J(c,"has-cta-text",G&&l);l=z("DIV","title-collapsed",f);h.appendChild(l);f=z("DIV","title-expanded",f);h.appendChild(f);for(h=
0;h<R.mg+1;++h)f=z("DIV",null,e),b.appendChild(f);d.appendChild(c);B(c,ie,p(this.bh,this,a));e&&B(c,["click","touchstart"],p(this.Ug,this,a))}}this.Aa=z("DIV",["next-arrow","hidden"],z("DIV"));this.appendChild(this.Aa);B(this.Ba,"click",p(this.Qe,this,!1));B(this.Aa,"click",p(this.Qe,this,!0));B(this,"touchstart",p(this.kc,this));B(this,"touchmove",p(this.fh,this));B(this,"touchend",p(this.jc,this));B(this.Mc,"tick",p(this.Bh,this));J(this,"single-image",2>this.B.length);this.ha(this.Hc);this.dc=
z("DIV","dot-bar");this.appendChild(this.dc);for(a=0;a<this.B.length;++a)d=z("DIV"),this.dc.appendChild(d);this.fb()};g.kc=function(a){var b=a.u;ea(b.touches)&&1==b.touches.length?(ih(this),I(this.Pa,"animate-move"),this.Wd=this.jb=a.clientX,this.Wa=!0):this.jc()};
g.fh=function(a){if(this.Wa){a.preventDefault();this.Wd=a.clientX;var b=Math.ceil(this.P().width);a=Math.min(Math.max(Math.ceil(b*(101*this.H+.5)/100+this.jb-a.clientX),b/200),b*(101*(this.B.length-1)+.5)/100);Bf(this.Pa,"transform","translateX(-"+a+"px) translateZ(0)");for(var c=0;c<this.B.length;++c)Bf(this.B[c].children[0],"transform","translateX("+(a-b*(101*c+.5)/100)/2+"px) translateZ(0)")}};
g.jc=function(){if(this.Wa){this.Wa=!1;F(this.Pa,"animate-move");var a=this.jb-this.Wd;Math.abs(a)>R.jg?jh(this,this.H+(0<a?1:-1),!0):kh(this)}};g.b=function(){R.a.b.call(this);this.jc();var a=this.P();!this.Z||1>this.B.length||1>a.height||(J(this,"small",a.height<=R.zd),J(this.Pa,"landscape",a.width>a.height),(this.Ud=a.height>=R.lg)&&lh(this,this.H),a=a.height/2+"px",this.Ba.style.top=a,this.Aa.style.top=a,kh(this),v(this.Mb,function(a){a.b()}))};R.prototype.invalidateSize=R.prototype.b;
R.prototype.fb=function(){J(this.Ba,"hidden",0==this.H);J(this.Aa,"hidden",this.H==this.B.length-1)};R.prototype.Qe=function(a){ih(this);jh(this,this.H+(a?1:-1),!0)};var lh=function(a,b){a.K[b].title&&Qe(a.B[b].children[1],"closing","active");a.Pb=!0},mh=function(a,b){a.B[b].children[1]&&Qe(a.B[b].children[1],"active","closing");a.Pb=!1};R.prototype.Ug=function(a,b){b.stopPropagation();b.preventDefault();ih(this);this.Pb?mh(this,a):lh(this,a)};
R.prototype.Og=function(a,b){b.stopPropagation();b.preventDefault();(a=this.K[this.H].href)&&pg(this.B[this.H],"Image gallery CTA clicked",a)};R.prototype.Bh=function(){2>this.B.length||(this.Pb?mh(this,this.H):jh(this,(this.H+1)%this.K.length,!1))};R.prototype.bh=function(a,b){b.target.classList.contains("overlay")&&-1!=b.u.propertyName.indexOf("transform")&&!this.Pb&&Me(this.B[a].children[1],"closing")&&(I(this.B[a].children[1],"closing"),this.Dd&&jh(this,(a+1)%this.K.length,!1))};
var jh=function(a,b,c){1>a.B.length||(b=Math.min(Math.max(b,0),a.B.length-1),b!=a.H&&(I(a.B[a.H],"active"),I(a.dc.children[a.H],"active"),a.B[a.H].children[1]&&I(a.B[a.H].children[1],"active"),ng(a,"Image gallery image selected",c)),a.H=b,F(a.B[a.H],"active"),F(a.dc.children[a.H],"active"),J(a,"has-overlay",a.K[a.H].title),kh(a),a.fb(),a.Pb=!1,a.Ud&&E(p(function(){lh(this,this.H)},a),R.fg))},kh=function(a){Bf(a.Pa,"transform","translateX(-"+(100*a.H+.5)/a.B.length+"%) translateZ(0)");for(var b=0;b<
a.B.length;++b)Bf(a.B[b].children[0],"transform","translateX("+50*(a.H-b)+"%) translateZ(0)")},ih=function(a){a.Dd=!1;a.Mc.stop()};R.prototype.U=function(a,b){R.a.U.call(this,a,b);R.Ha(a,b);for(var c=0;c<a.images.length;++c){var d=a.images[c];if(null!=d){var e=d.image;if(e){var f={};f.image=b(e);f.title="";f.text="";f.cta="";f.href="";if(e=d.title){var h=d.text,l=d.cta,d=d.href;f.title=e;f.text=h;d&&(f.href=sg(d),f.cta=l)}this.K.push(f)}}}};
R.Ha=function(a,b){for(var c=0,d=0;d<a.images.length;++d){var e=a.images[d];null!=e&&(e=e.image)&&(b(e),++c)}if(0>=c)throw Error("No images specified for ImageGalleryCard.");};g=R.prototype;g.I=function(){R.a.I.call(this);this.$()};g.R=function(){R.a.R.call(this);jh(this,this.H,!1)};g.qa=function(){R.a.qa.call(this);this.Dd&&this.Mc.start()};g.ra=function(){R.a.ra.call(this);this.Mc.stop()};
g.ha=function(a){R.a.ha.call(this,a);if(a){this.Hc=a;var b=kc(this.Pa);v(b,function(b){b.style.backgroundColor=a})}};R.prototype.setAccentColor=R.prototype.ha;yg(R.s,R);var S=wg();r(S,O);q("tetris.imageThumb.ImageThumb",S);S.s="tetris-image-thumb";S.ve=2;S.kg=4/6;S.qg=8/3;S.prototype.createdCallback=function(){S.a.createdCallback.call(this);this.K=[];this.Xc=new zg;this.Mb=[];this.v="square";this.Ea=this.Ca=null;this.$()};S.prototype.createdCallback=S.prototype.createdCallback;g=S.prototype;
g.$=function(){for(var a=0;2>a;++a){var b=z("DIV","image");this.appendChild(b);var c=new gh;c.Ra(b);this.Mb.push(c);0==a?(F(b,"primary"),this.Ca=b):(F(b,"secondary"),this.Ea=b)}Be(this.Xc,"complete",p(this.hc,this))};g.hc=function(){cg(this,"initial_images_loaded")};g.Za=function(a){this.K.length>=S.ve||(this.K.push(a),1==this.K.length?this.Ca.style.backgroundImage='url("'+a+'")':this.Ea.style.backgroundImage='url("'+a+'")',this.Xc.Za(this.K.length.toString(),a),this.Mb[this.K.length-1].hb(a))};
g.I=function(){S.a.I.call(this);if("square"==this.v)for(var a=2;a<=S.ve;++a)Bg(this.Xc,a.toString());this.Xc.start();F(this,this.v);J(this,"single-image",1==this.K.length)};g.b=function(){S.a.b.call(this);var a=K(this),b="square";a.width/a.height<=S.kg?b="tall":a.width/a.height>S.qg&&(b="wide");b!=this.v&&(Pe(this,this.v,b),this.v=b);v(this.Mb,function(a){a.b()})};S.prototype.invalidateSize=S.prototype.b;yg(S.s,S);var nh=wg();r(nh,S);q("tetris.imageGallery.ImageGalleryThumb",nh);nh.s="tetris-image-gallery-thumb";nh.prototype.U=function(a,b){nh.a.U.call(this,a,b);R.Ha(a,b);for(var c=a.images.length,d=0;d<c;++d){var e=a.images[d];null!=e&&(e=e.image)&&this.Za(b(e))}};yg(nh.s,nh);var U=function(){N.call(this);this.v="square";this.Ge=[];this.fe=this.ea=this.mb=this.ae=null;this.Hd=[];this.ff=!1;this.Hb=0;this.Kf=new Re(oh(this.v));this.Oc=new Re(1<this.J.length&&"tall"==this.v?2:1);this.qd=new Je(8E3);ee(this,this.qd);this.zb=new Ke;ee(this,this.zb);this.Ze=-1};r(U,N);q("tetris.invitationPresenter.InvitationPresenter",U);var ph=bc("tetris.invitationPresenter.InvitationPresenter"),qh={Oh:"contain",Ph:"cover"},oh=function(a){return"tall"==a||"wide-large"==a?2:1};g=U.prototype;
g.c=function(){this.oa(this.aa.c("DIV"))};
g.oa=function(a){this.A=a;Ne(a,["invitation-presenter","animation-ready",this.v]);var b=this.ba();b.appendChild(a,b.c("DIV","generated-background"));b.appendChild(a,b.c("DIV","caption-background"));this.ae=b.c("DIV","logo");b.appendChild(a,this.ae);var c=b.c("DIV","overlay");b.appendChild(a,c);c=b.c("DIV","accent");b.appendChild(a,c);c=b.c("DIV","expand-icon");b.appendChild(a,c);var c=b.c("DIV","custom-background"),d=b.c("DIV","foreground",c);this.mb=b.c("DIV","custom-invite",d);b.appendChild(this.mb,
c);b.appendChild(a,this.mb);this.ea=new gh;this.ea.Ra(c)};g.Y=function(){U.a.Y.call(this);var a=Mf(this);Ze()&&!gg&&(a.listen(M(this),"mouseenter",function(){this.Ze=E(this.xa,500,this)}),a.listen(M(this),"mouseleave",function(){k.clearTimeout(this.Ze)}));a.listen(M(this),"touchstart",this.kc);a.listen(this.zb,"tick",this.Oe);this.zb.start();this.pa()};g.R=function(){U.a.R.call(this);for(var a=0;a<this.J.length;++a)this.J[a].Ia()};
g.qa=function(){U.a.qa.call(this);for(var a=0;a<this.J.length;++a)this.J[a].Sa();E(function(){Pe(M(this),"animation-ready","animating-in")},0,this);E(function(){I(M(this),"animating-in")},1200,this);gg||(Mf(this).listen(this.qd,"tick",this.transition),this.qd.start())};g.na=function(){U.a.na.call(this);Ue("hide_invite_on_deactivate")&&Qe(M(this),"animating-in","animation-ready")};g.ra=function(){U.a.ra.call(this);this.qd.stop();this.Oc.reset()};
g.kc=function(){k.clearTimeout(this.fe);Oe(M(this),["touch-active","touch-deactivating"]);E(p(function(){F(M(this),"touch-active")},this),0);this.fe=E(p(function(){Pe(M(this),"touch-active","touch-deactivating");this.fe=E(p(function(){I(M(this),"touch-deactivating")},this),600)},this),600)};
g.je=function(a){U.a.je.call(this,a);this.rb("accent").style.background=a;a=this.rb("expand-icon");a.style.backgroundColor=this.kb;var b;try{var c=sf(qf(this.kb).nc);b=180<Math.round((299*c[0]+587*c[1]+114*c[2])/1E3)}catch(d){b=!1}J(a,"high-contrast",b)};g.wc=function(a,b,c){U.a.wc.call(this,a,b,c);a=sf("dark"==a?"#000":"#f1f1f1");var d=sf(b);c=uf(d,a,c/100);this.rb("generated-background").style.backgroundImage="linear-gradient(to bottom, "+b+" 30%, "+pf(c)+" 100%)"};
g.xc=function(a,b){U.a.xc.call(this,a,b);this.ae.style.backgroundImage='url("'+a+'")'};g.Zb=function(a,b){U.a.Zb.call(this,a,b);if(!b)throw Error("addAsset() requires a thumb!");a=this.ba();this.Kf.addElement(b);a.appendChild(M(this),b);this.Hb<oh(this.v)&&(++this.Hb,Mf(this).listen(b,"initial_images_loaded",p(this.hc,this)));this.b()};
g.$b=function(a){U.a.$b.call(this,a);var b=this.ba();a=b.c("DIV",["caption","font-themed"],b.c("DIV",null,a));this.Ge.push(a);this.Oc.addElement(a);b.appendChild(M(this),a);this.b()};g.Be=function(a,b,c){this.Hd.push({size:new dc(b,c),url:sg(a)});this.ff=!0;F(M(this),"custom");this.b();ph.info("Added custom "+b+"x"+c+" image asset : "+a)};U.prototype.addCustomInvite=U.prototype.Be;U.prototype.transition=function(){E(p(function(){this.Oc.transition()},this),300)};U.prototype.transition=U.prototype.transition;
U.prototype.b=function(){U.a.b.call(this);if(this.ff){var a=K(M(this));if(!a.isEmpty()){for(var b=null,c="contain",d=null,e=9E9,f=0;f<this.Hd.length;++f)for(var h in qh){var l=this.Hd[f],G=qh[h],V;a:{V=G;var T=a,D=l.size.clone();switch(V){case "contain":V=D.scale(D.width/D.height>T.width/T.height?T.width/D.width:T.height/D.height);break a;case "cover":V=D.scale(D.width/D.height<=T.width/T.height?T.width/D.width:T.height/D.height);break a;default:throw Error("Unexpected asset sizing strategy!");}}var H=
l.size,T=-.5*Math.pow(Math.max(H.width,H.height)/Math.min(H.width,H.height),-.2)+1,D=(a.width-V.width)/Math.max(a.width,V.width),Ya=(a.height-V.height)/Math.max(a.height,V.height),Ba=H.width>=H.height,Xf=a.width>=a.height,H=V.width/H.width,T=1.75*(T*Math.max(0,-(Ba?D:Ya))+(1-T)*Math.max(0,-(Ba?Ya:D)))+1*(.52*Math.max(0,Xf?D:Ya)+.48*Math.max(0,Xf?Ya:D))+.3*(Math.max(1,H)-1)+.1*(1/Math.min(1,H)-1)+.05*(Math.max(.75,Math.min(1,H))-1);T<e&&(b=l,c=G,d=V,e=T)}d=.3<Math.max(0,(a.width-d.width)/a.width,(a.height-
d.height)/a.height);Oe(this.mb,cb(qh));F(this.mb,c);J(this.mb,"large-letterboxing",d);this.mb.children[0].style.backgroundImage="url("+b.url+")";d||"cover"==c||(this.ea.hb(b.url),this.ea.b());ph.info("Resizing "+b.size+" asset using "+c+" in "+a+" slot. Score: "+e)}}else{b=K(M(this));a="square";c=b.width/b.height;.5>=c?a="tall":5<c?a=700<=b.width?"wide-large":400>=b.width?"wide-small":"wide-medium":3<c&&(a="wide-tall");a!=this.v&&(ph.info("Layout technique switched from "+this.v+" to "+a+"."),Pe(M(this),
this.v,a),this.v=a);b=this.Kf;c=oh(a);c!=b.Cb&&(b.Cb=c,b.reset());b=this.Oc;a=1<this.J.length&&"tall"==a?2:1;a!=b.Cb&&(b.Cb=a,b.reset());for(a=0;a<this.J.length;a++)this.J[a].b();J(M(this),"single-thumb",1==this.J.length);this.Oe()}};U.prototype.invalidateSize=U.prototype.b;U.prototype.Oe=function(){ug(this.Ge,"wide-tall"==this.v?24:20)};U.prototype.hc=function(){0==--this.Hb&&qg(M(this),"creativerendered")};q("tetris.invitationPresenter.InvitationPresenter.prototype.transition",U.prototype.transition);var rh={Wh:["BC","AD"],Vh:["Before Christ","Anno Domini"],ji:"JFMAMJJASOND".split(""),ui:"JFMAMJJASOND".split(""),ii:"January February March April May June July August September October November December".split(" "),ti:"January February March April May June July August September October November December".split(" "),oi:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),xi:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Gi:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
zi:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ri:"Sun Mon Tue Wed Thu Fri Sat".split(" "),yi:"Sun Mon Tue Wed Thu Fri Sat".split(" "),ki:"SMTWTFS".split(""),wi:"SMTWTFS".split(""),pi:["Q1","Q2","Q3","Q4"],mi:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Jh:["AM","PM"],Qh:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Bi:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Rh:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Uf:6,Hi:[5,6],Vf:5},sh=rh,
sh=rh;var vh=function(a,b,c){fa(a)?(this.O=th(a,b||0,c||1),uh(this,c||1)):ha(a)?(this.O=th(a.getFullYear(),a.getMonth(),a.getDate()),uh(this,a.getDate())):(this.O=new Date(na()),a=this.O.getDate(),this.O.setHours(0),this.O.setMinutes(0),this.O.setSeconds(0),this.O.setMilliseconds(0),uh(this,a))},th=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=vh.prototype;g.Me=sh.Uf;g.Ne=sh.Vf;g.clone=function(){var a=new vh(this.O);a.Me=this.Me;a.Ne=this.Ne;return a};
g.getFullYear=function(){return this.O.getFullYear()};g.getYear=function(){return this.getFullYear()};g.getMonth=function(){return this.O.getMonth()};g.getDate=function(){return this.O.getDate()};g.getTime=function(){return this.O.getTime()};g.getUTCHours=function(){return this.O.getUTCHours()};g.set=function(a){this.O=new Date(a.getFullYear(),a.getMonth(),a.getDate())};g.setFullYear=function(a){this.O.setFullYear(a)};g.setMonth=function(a){this.O.setMonth(a)};g.setDate=function(a){this.O.setDate(a)};
g.add=function(a){if(a.Ih||a.mh){var b=this.getMonth()+a.mh+12*a.Ih,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d;a:{switch(b){case 1:d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.Dg&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.Dg),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),
this.setDate(a.getDate()),uh(this,a.getDate()))};g.toString=function(){return[this.getFullYear(),Ga(this.getMonth()+1),Ga(this.getDate())].join("")+""};var uh=function(a,b){a.getDate()!=b&&a.O.setUTCHours(a.O.getUTCHours()+(a.getDate()<b?1:-1))};vh.prototype.valueOf=function(){return this.O.valueOf()};var W=wg();r(W,Q);q("tetris.map.MapCard",W);W.s="tetris-map-card";W.Sh="//www.google.com/maps/dir/";W.pg=.1;W.rg=13;W.ue=12;W.xe=500;
W.prototype.createdCallback=function(){W.a.createdCallback.call(this);this.be=this.o=null;this.Xa=[];this.Ld=m;this.ad=null;this.va=this.Qb=0;this.Wa=!1;this.Zc=this.$c=null;this.Vc=0;this.X=null;this.Rb=[];this.sc={path:"M30,15c0,8.28-6.72,15-15,15-8.284,0-15-6.72-15-15,0-8.284,6.716-15,15-15,8.28,0,15,6.716,15,15z",fillColor:"#b22a41",fillOpacity:1,scale:.4,strokeColor:"rgb(0, 0, 0)",strokeOpacity:.8,strokeWeight:.6};this.cd={path:"M12,2C8.1,2,5,5.1,5,9c0,5.2,7,13,7,13s7-7.8,7-13C19,5.1,15.9,2,12,2zM12,11.5c-1.4,0-2.5-1.1-2.5-2.5s1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5S13.4,11.5,12,11.5z",
fillColor:"#b22a41",fillOpacity:1,scale:1.8,strokeColor:"rgb(0, 0, 0)",strokeOpacity:.8,strokeWeight:.6};this.cg=chrome.i18n.getMessage("1769669672311356121");this.dg=chrome.i18n.getMessage("433852185421632107")};W.prototype.createdCallback=W.prototype.createdCallback;
W.prototype.b=function(){W.a.b.call(this);var a=this.P();0>=a.height||("landscape"==(a.width>=a.height?"landscape":"portrait")?Qe(this,"portrait","landscape"):Qe(this,"landscape","portrait"),J(this,"wide",a.width>=W.xe),this.o&&(a=this.o.getCenter())&&(google.maps.event.trigger(this.o,"resize"),this.o.setCenter(a)),this.va=this.Qb*this.P().width)};W.prototype.invalidateSize=W.prototype.b;
W.prototype.I=function(){W.a.I.call(this);this.$();be("//maps.googleapis.com/maps/api/js?client=google-dclk-studio&sensor=true&v=3.16",p(function(){og(this,"google_maps_api_failure",{})},this),void 0,!0).then(p(this.Qg,this),function(){})};W.prototype.R=function(){W.a.R.call(this);E(p(this.Ld,this),600)};W.prototype.U=function(a,b){W.a.U.call(this,a,b);this.Xa=W.Ha(a,b)};
W.Ha=function(a){var b=[];if(a.locations)for(var c=0;c<a.locations.length;++c){var d=a.locations[c];fa(d.latitude)&&fa(d.longitude)&&d.address&&d.name&&b.push(d)}if(0==b.length)throw Error("Did not supply any valid locations for MapCard.");return b};g=W.prototype;
g.$=function(){this.be=z("DIV","map-field");this.appendChild(this.be);this.ad=z("DIV","legal-notices");this.appendChild(this.ad);this.X=z("DIV",["location-row","hidden"]);this.appendChild(this.X);B(this.X,["mousedown","touchstart"],p(this.Xg,this));B(this.X,["mousemove","touchmove"],p(this.Tg,this));B(this.X,["mouseup","touchend","mouseout"],p(this.Zg,this))};g.Xg=function(){this.P().width>=W.xe||(this.va=this.Qb*this.P().width,I(this.X,"animate-move"),this.Wa=!0)};
g.Tg=function(a){if(this.Wa&&(a.preventDefault(),"touchmove"!=a.type||ea(a.u.touches)&&1==a.u.touches.length)){a=a.clientX;var b=(new vh).getTime();if(null!=this.$c&&null!=this.Zc){var c=a-this.$c;this.Vc=c/(b-this.Zc);this.va-=c;wh(this);Bf(this.X,"transform","translateX(-"+this.va+"px)")}this.$c=a;this.Zc=b}};
g.Zg=function(a){this.Wa&&("mouseout"!=a.type||Me(a.target,"location-info-box"))&&(F(this.X,"animate-move"),Math.abs(this.Vc)>W.pg&&(this.va=0<this.Vc?this.va-this.P().width/2:this.va+this.P().width/2),wh(this),this.le(Math.floor(this.va/this.P().width+.5),!0),this.Zc=this.$c=null,this.Vc=0,this.Wa=!1)};
g.Qg=function(){this.o=new google.maps.Map(this.be,{zoom:W.rg,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1,panControl:!1,streetViewControl:!1,zoomControl:!1});this.o.set("hideLegalNotices",!0);google.maps.event.addListener(this.o,"mapdataproviders_changed",p(this.Fh,this));this.sc.size=new google.maps.Size(16,16);this.sc.anchor=new google.maps.Point(8,8);this.cd.size=new google.maps.Size(62,62);this.cd.anchor=new google.maps.Point(11,20);this.X.style.width=100*this.Xa.length+"%";this.X.style.paddingRight=
this.Xa.length*W.ue+"px";for(var a=new google.maps.LatLngBounds,b=0;b<this.Xa.length;++b){var c=this.Xa[b],d=new google.maps.LatLng(c.latitude,c.longitude),e=b,f=new google.maps.Marker({icon:this.sc,map:this.o,position:d});google.maps.event.addListener(f,"click",p(this.le,this,e,!0));this.Rb.push(f);for(var e=c,c=z("DIV","location-name",e.name),c=z("DIV","location-info-box",c),f=z("DIV","location-address"),h=e.address.split("\n"),l=0;l<h.length;++l)f.appendChild(document.createTextNode(String(h[l]+
" "))),f.appendChild(document.createElement("BR"));c.appendChild(f);f=z("DIV",{"class":"icon",textContent:this.cg});f=z("A",{"class":"location-call",href:"tel:"+e.phoneNumber.replace(/\D/g,""),target:"_blank"},f);h=z("DIV",{"class":"icon",textContent:this.dg});e=z("A",{"class":"location-directions",href:e.exitUrlDirections,target:"_blank"},h);e=z("DIV","location-action-box",[f,e]);c=z("DIV","location-box",[e,c]);c=z("DIV","location-container",c);c.style.width=100/this.Xa.length+"%";this.X.appendChild(c);
a.extend(d)}this.o&&!a.isEmpty()&&(this.Ld=1==this.Xa.length?p(this.o.panTo,this.o,this.Rb[0].getPosition()):p(this.o.fitBounds,this.o,a),this.Ld());I(this.X,"hidden");this.le(0)};g.Fh=function(){var a=this.o.get("mapDataProviders");null!=a&&(wc(this.ad),this.ad.appendChild(document.createTextNode(String(a))))};
g.le=function(a,b){var c=this.Qb;I(this.X.children[this.Qb],"active");Bf(this.X,"transform","translateX(-"+100/this.Xa.length*a+"%)");this.X.style.left=a*W.ue+8+"px";this.Qb=a;this.va=a*this.P().width;F(this.X,"animate-move");F(this.X.children[a],"active");xh(this,b);b&&a!=c&&ng(this,"Map location selected",!0)};
var xh=function(a,b){for(var c=0;c<a.Rb.length;++c)c==a.Qb?(a.Rb[c].setIcon(a.cd),b&&a.o.panTo(a.Rb[c].getPosition())):a.Rb[c].setIcon(a.sc)},wh=function(a){var b=a.P().width*(a.Xa.length-1);a.va=Math.min(Math.max(a.va,0),b)};W.prototype.ha=function(a){a&&(this.sc.fillColor=a,this.cd.fillColor=a,xh(this))};W.prototype.setAccentColor=W.prototype.ha;yg(W.s,W,[]);var yh=wg();r(yh,S);q("tetris.map.MapThumb",yh);yh.s="tetris-map-thumb";yh.Wf="maps.googleapis.com";yh.Xf="/maps/api/staticmap";yh.Yf="11";yh.prototype.U=function(a,b){yh.a.U.call(this,a,b);a=W.Ha(a,b);b=O.Tf;this.Za(Qd(yh.Wf,yh.Xf,Td({center:a[0].latitude+","+a[0].longitude,size:b.width+"x"+b.height,zoom:yh.Yf})).toString())};yg(yh.s,yh,[]);var t=wg();r(t,Q);q("tetris.productGallery.ProductGalleryCard",t);t.pf=bc("tetris.productGallery.ProductGalleryCard");t.s="tetris-product-gallery-card";t.ig=8;t.hg=50;t.gg=300;t.te=500;t.prototype.createdCallback=function(){t.a.createdCallback.call(this);this.tc=[];this.Ja=[];this.gb=new Je(30);this.pe=new Je(6E3);this.Af=!1;this.jb=0;this.ia=this.Aa=this.Ba=null;this.Wb=0;this.ie=pa(this.ie,this)};t.prototype.createdCallback=t.prototype.createdCallback;
t.prototype.$=function(){this.Ba=z("DIV",["previous-arrow","hidden"],z("DIV"));this.appendChild(this.Ba);this.ia=z("DIV","block-container");this.appendChild(this.ia);for(var a=t.te/this.tc.length,b=0;b<this.tc.length;b++){var c=this.tc[b],d=z("DIV","image"),e=z("DIV","title",c.title),f=z("DIV","price",c.price),e=z("DIV","overlay",[e,f]),f=z("DIV",null,[d,e]),f=z("DIV","block",f);Bf(d,"background-image",'url("'+c.image+'")');Bf(f,"transition-delay",b*a+"ms");Bf(e,"transition-delay",b*a+"ms");4==b%
5&&F(f,"large");B(f,"click",p(this.Yg,this,b));this.ia.appendChild(f);this.Ja[b]=f}this.Aa=z("DIV",["next-arrow","hidden"],z("DIV"));this.appendChild(this.Aa);B(this.gb,"tick",p(this.Rd,this));B(this.pe,"tick",p(this.re,this));B(this.Ba,"mouseenter",p(this.sb,this,!1));B(this.Ba,"mouseleave",p(this.tb,this));B(this.Aa,"mouseenter",p(this.sb,this,!0));B(this.Aa,"mouseleave",p(this.tb,this));B(this.ia,"touchstart",p(this.kc,this));B(this.ia,"touchend",p(this.jc,this));B(this.ia,"scroll",p(this.fb,this))};
t.prototype.b=function(){t.a.b.call(this);this.ie()};t.prototype.invalidateSize=t.prototype.b;g=t.prototype;
g.ie=function(){var a=this.P();if(!(!this.Z||1>this.Ja.length||1>a.height)){this.Wb=700<a.height&&(15<this.Ja.length||a.height>=a.width)?4:400<a.height?3:200<a.height?2:1;J(this.ia,"single-row",1==this.Wb);for(var a=Math.floor(a.height/this.Wb),b=this.Wb,c=[],d=0;d<b;d++)c[d]=0;for(b=0;b<this.Ja.length;b++){for(var d=1<this.Wb&&Me(this.Ja[b],"large")?2:1,e=0,f=c[e],h=1;h<=this.Wb-d;++h){var l=Math.max.apply(Math,c.slice(h,h+d));l<f&&(e=h,f=l)}for(h=0;h<d;++h)c[e+h]=f+d;this.Ja[b].style.width=d*a+
"px";this.Ja[b].style.height=d*a+"px";this.Ja[b].style.left=f*a+"px";this.Ja[b].style.top=e*a+"px"}E(this.fb,t.te,this)}};g.fb=function(){var a=K(this.ia);J(this.Ba,"hidden",0>=this.ia.scrollLeft);J(this.Aa,"hidden",this.ia.scrollLeft+a.width>=this.ia.scrollWidth)};g.sb=function(a){this.Af=a;this.gb.start();ng(this,"Product gallery scrolled",!0)};g.tb=function(){this.gb.stop()};g.kc=function(a){this.jb=a.clientX};
g.jc=function(a){null!=this.jb&&Math.abs(this.jb-a.clientX)>t.hg&&ng(this,"Product gallery scrolled",!0)};g.Rd=function(){this.ia.scrollLeft+=(this.Af?1:-1)*t.ig};g.re=function(){var a=this.ia,b=!Me(a,"overlay-shown");J(a,"overlay-shown",b)};t.prototype.toggleOverlay=t.prototype.re;t.prototype.Yg=function(a){var b=this.tc[a].href;b&&pg(this.Ja[a],"Product gallery product clicked",b)};
t.prototype.U=function(a,b){t.a.U.call(this,a,b);t.Ha(a,b);for(var c=0;c<a.products.length;++c){var d=a.products[c],e=d.href,f={};f.image=b(d.image);f.title=d.title;f.text=d.text;f.price=d.price;f.href=sg(e);this.tc.push(f)}};
t.Ha=function(a,b){a.products=a.products.filter(function(a){try{if(null==a)return!1;var c=a.image,e=a.href;if(!c||!e)return!1;b(c);b(e);return!0}catch(f){return y(t.pf,"Invalid product. "+f),!1}});if(0>=a.products.length)throw Error("No products specified for ProductGalleryCard.");};t.prototype.I=function(){t.a.I.call(this);this.$()};t.prototype.R=function(){t.a.R.call(this);gg||E(function(){this.re();this.pe.start()},3E3,this)};t.prototype.na=function(){t.a.na.call(this);this.pe.stop()};yg(t.s,t);var zh=wg();r(zh,S);q("tetris.productGallery.ProductGalleryThumb",zh);zh.s="tetris-product-gallery-thumb";zh.prototype.U=function(a,b){zh.a.U.call(this,a,b);t.Ha(a,b);for(var c=a.products.length,d=0;d<c;++d)this.Za(b(a.products[d].image))};yg(zh.s,zh);var X=wg();r(X,Q);q("tetris.simple.SimpleCard",X);X.s="tetris-simple-card";X.prototype.createdCallback=function(){X.a.createdCallback.call(this);this.Hc=this.Bb=this.xb=this.Ic=null;this.$()};X.prototype.createdCallback=X.prototype.createdCallback;g=X.prototype;
g.$=function(){this.Ic=z("DIV","active-field","inactive");this.appendChild(this.Ic);this.xb=z("DIV","prepared-field","unprepared");this.appendChild(this.xb);this.Bb=z("DIV","size-field");this.appendChild(this.Bb);var a=z("BUTTON","pingback","Pingback");this.appendChild(a);B(a,"click",p(ng,this,a,"Test pingback",!1,!1));a=z("BUTTON","click-through","Click-through");this.appendChild(a);B(a,"click",p(pg,this,a,"Test click-through","http://test.com/click-through"))};
g.I=function(){X.a.I.call(this);yc(this.xb,"prepared")};g.R=function(){X.a.R.call(this);yc(this.Ic,"active")};g.na=function(){X.a.na.call(this);yc(this.Ic,"inactive")};g.b=function(){X.a.b.call(this);var a=this.P();yc(this.Bb,a.width+"px x "+a.height+"px")};X.prototype.invalidateSize=X.prototype.b;X.prototype.ha=function(a){X.a.ha.call(this,a);this.Hc=a};X.prototype.setAccentColor=X.prototype.ha;yg(X.s,X);var Ah=wg();r(Ah,O);q("tetris.simple.SimpleThumb",Ah);Ah.s="tetris-simple-thumb";Ah.prototype.createdCallback=function(){Ah.a.createdCallback.call(this);this.Bb=this.xb=null;this.$()};Ah.prototype.createdCallback=Ah.prototype.createdCallback;Ah.prototype.$=function(){this.xb=z("DIV","prepared-field","unprepared");this.appendChild(this.xb);this.Bb=z("DIV","size-field");this.appendChild(this.Bb)};Ah.prototype.I=function(){Ah.a.I.call(this);yc(this.xb,"prepared")};
Ah.prototype.b=function(){Ah.a.b.call(this);var a=this.P();yc(this.Bb,a.width+"px x "+a.height+"px")};Ah.prototype.invalidateSize=Ah.prototype.b;yg(Ah.s,Ah);var Y=wg();r(Y,Q);q("tetris.video.VideoCard",Y);Y.s="tetris-video-card";Y.Gb=.5625;Y.zd=300;Y.og=1E3;Y.Sf=100;Y.yd=null;Y.we=["maxres","sd","hq","mq",""];Y.Yb=["Video played 0%","Video played 25%","Video played 50%","Video played 75%","Video played 100%"];Y.prototype.createdCallback=function(){Y.a.createdCallback.call(this);this.W=null;this.Pc=new Je(Y.Sf);this.ab=this.Fc=this.G="";this.g=this.Gc=this.f=this.af=this.l=this.ea=null;this.Dc=this.Ec=!1;this.jf=-1;this.se=Vc();this.td=new Je(Y.og)};
Y.prototype.createdCallback=Y.prototype.createdCallback;Y.mf=function(a,b,c,d){c=c||0;if(null!=d&&(120!=d.target.width||90!=d.target.height||c>=Y.we.length))b(d.target.src);else{d=new zg;var e="//img.youtube.com/vi/"+a+"/"+Y.we[c]+"default.jpg";d.Za(e,e);B(d,"load",ma(Y.mf,a,b,++c));d.start()}};Y.Pe=function(a,b){b("//img.youtube.com/vi/"+a+"/default.jpg");Y.mf(a,b)};g=Y.prototype;
g.I=function(){Y.a.I.call(this);this.$();this.G&&be("https://www.youtube.com/iframe_api",p(function(){og(this,"youtube_iframe_api_failure",{})},this),function(a){YT.ready(a)}).then(p(this.Sd,this),function(){})};
g.$=function(){this.l=z("DIV","image");this.appendChild(this.l);this.ea=new gh;this.ea.Ra(this.l);uc(this,z("DIV","dimmer"));var a=z("DIV","unmute");this.appendChild(a);this.ab?(F(this,"has-cover"),this.l.style.backgroundImage='url("'+this.ab+'")',this.ea.hb(this.ab)):this.G?Y.Pe(this.G,p(function(a){this.l.style.backgroundImage='url("'+a+'")';this.ea.hb(a)},this)):(this.Ec=!0,F(this,"video-shown"));this.af=z("DIV","icon");this.l.appendChild(this.af);this.G?(this.f=z("DIV","player"),this.appendChild(this.f),
this.Gc=z("DIV","youtube-title"),this.appendChild(this.Gc)):(this.f=z("VIDEO",{"class":"player",autoplay:!1,controls:!0}),this.appendChild(this.f),this.f.src=this.Fc,B(this.f,"play",p(this.ic,this)),B(this.f,"pause",p(this.Ve,this)),B(this.f,"ended",p(this.Ue,this)),B(this.f,"waiting",p(this.Se,this)),B(this.f,"timeupdate",p(this.eh,this)),B(this.f,"canplay",p(this.Hf,this)),B(this.l,"click",p(this.f.play,this.f)),rg(this,this.f));B(a,"click",p(this.Eh,this));B(this.td,"tick",p(this.Ag,this))};
g.ic=function(){this.m&&ng(this,"Video playing",!(!this.Dc&&Ze()&&!gg));Bh(this);F(this,"video-playing");this.Dc=!0;this.W&&this.W.dispatchEvent(new Event("playing"))};g.Ve=function(){this.m&&ng(this,"Video paused",!0);I(this,"video-playing");this.W&&this.W.dispatchEvent(new Event("pause"))};g.Ue=function(){I(this,"video-playing");this.W&&this.W.dispatchEvent(new Event("ended"))};g.Se=function(){this.m&&ng(this,"Video buffering",!1);Bh(this)};
g.eh=function(){for(var a=this.jf+1;a<Y.Yb.length;++a)0<this.f.currentTime&&this.f.currentTime>=this.f.duration*a/4&&(ng(this,Y.Yb[a],!1),this.jf=a)};g.Hf=function(){F(this,"player-ready")};var Bh=function(a){a.Ec||(a.Ec=!0,F(a,"video-shown"),a.b())};g=Y.prototype;
g.Sd=function(){var a=this.P();this.g=new YT.Player(this.f,{videoId:this.G,width:a.width,height:a.height,playerVars:{adformat:this.Dc||!Ze()||gg?"2_11":"2_9",autohide:1,controls:1,iv_load_policy:1,rel:0,showinfo:0,wmode:"transparent"},events:{onReady:p(this.Td,this),onStateChange:p(this.Qd,this),onCueRangeEnter:p(this.Vg,this),onError:p(this.gh,this)}})};
g.Td=function(){this.f=this.g.getIframe();for(var a=this.g.getDuration(),b=a/4,c=0;c<Y.Yb.length;++c){var d=b*c,e=a;0==c?d+=.1:c==Y.Yb.length-1&&--d;this.g.addCueRange(Y.Yb[c],d,e)}a=this.g.getVideoData().title;b=Y.Kg(this.g.getDuration());null!=this.Gc&&(a?vc(this.Gc,a,z("BR"),z("DIV","icon"),z("SPAN",{},b)):F(this.Gc,"hidden"));this.Hf();this.b();this.se.resolve();this.W=z("VIDEO");Ch(this);rg(this,this.W)};
g.Qd=function(a){switch(a.data){case YT.PlayerState.PLAYING:this.ic();this.Pc.listen("tick",p(this.hh,this));this.Pc.start();break;case YT.PlayerState.PAUSED:this.Ve();this.Pc.stop();break;case YT.PlayerState.BUFFERING:this.Se();break;case YT.PlayerState.ENDED:this.Ue(),this.Pc.stop()}};g.Vg=function(a){ng(this,a.data,!1);this.g.removeCueRange(a.data)};g.gh=function(){this.W.dispatchEvent(new Event("error"))};g.gf=function(){return this.G?!!this.g&&this.g.isMuted():!!this.f&&this.f.muted};
g.Ag=function(){this.gf()||Dh(this)};g.Eh=function(){Dh(this);this.G?this.g&&this.g.unMute&&this.g.unMute():this.f&&(this.f.muted=!1)};var Dh=function(a){I(a,"muted");ng(a,"Video unmuted",!0);a.td.stop()};Y.prototype.b=function(){Y.a.b.call(this);var a=this.P();0>=a.height||!this.Z||(this.Ec&&(a.width*Y.Gb<=a.height?a.height=Math.round(a.width*Y.Gb):a.width=Math.round(a.height/Y.Gb)),this.f&&(this.f.style.width=a.width+"px",this.f.style.height=a.height+"px"),J(this,"small",a.height<=Y.zd),this.ea.b())};
Y.prototype.invalidateSize=Y.prototype.b;Y.prototype.U=function(a,b){Y.a.U.call(this,a,b);Y.Ha(a,b);this.G=a.videoId;this.Fc=a.videoUrl;if(a=a.image)this.ab=b(a)};Y.Ha=function(a){var b=/^[a-zA-Z0-9_-]{11}$/.test(Ha(a.videoId));a=!/^[\s\xa0]*$/.test(Ha(a.videoUrl));if(!b&&!a)throw Error("Did not supply a valid video ID or video URL field.");};
Y.prototype.R=function(){Y.a.R.call(this);var a=!this.Dc&&Ze()&&!gg;a&&(Bh(this),F(this,"muted"));this.G?this.se.uc.then(function(){Eh(this);a&&(this.td.start(),this.g.playVideo())},null,this):this.f&&(Eh(this),a&&(this.td.start(),this.f.play()))};var Eh=function(a){var b=null!=Y.yd?Y.yd():!a.Dc&&Ze()&&!gg;a.G?b?a.g.mute():a.g.unMute():a.f&&(a.f.muted=b);Y.yd=p(a.gf,a)};Y.prototype.na=function(){Y.a.na.call(this);this.Ec&&(this.G?this.se.uc.then(function(){this.g.pauseVideo()},null,this):this.f.pause())};
var Ch=function(a){a.W&&(Object.defineProperty(a.W,"duration",{get:p(function(){return this.g.getDuration()},a)}),Object.defineProperty(a.W,"ended",{get:p(function(){return 0==this.g.getPlayerState()},a)}),Object.defineProperty(a.W,"muted",{get:p(function(){return this.g.isMuted()},a)}))};Y.prototype.hh=function(){this.W.currentTime=this.g.getCurrentTime();this.W.dispatchEvent(new Event("timeupdate"));var a=Math.round(this.g.getVolume())/100;this.W.volume!=a&&(this.W.volume=a,this.W.dispatchEvent(new Event("volumeChange")))};
Y.Kg=function(a){var b=Math.floor(a/3600),c=Math.floor(a%3600/60);a%=60;b=(b?b+":":"")+(10>c?"0"+c:c)+":";return b+=10>a?"0"+a:a};yg(Y.s,Y);var Z=wg();r(Z,O);q("tetris.video.VideoThumb",Z);Z.s="tetris-video-thumb";Z.prototype.U=function(a,b){Z.a.U.call(this,a,b);Y.Ha(a,b);this.G=a.videoId;this.Fc=a.videoUrl;if(a=a.image)this.ab=b(a)};Z.prototype.createdCallback=function(){Z.a.createdCallback.call(this);this.ab=this.Fc=this.G="";this.g=this.f=this.l=this.ea=null;this.df=this.Xe=!1;this.Cf=this.tf=this.Ce=-1;this.od=2E3};Z.prototype.createdCallback=Z.prototype.createdCallback;g=Z.prototype;g.I=function(){Z.a.I.call(this);this.$()};
g.$=function(){this.l=z("DIV","image");this.appendChild(this.l);this.ea=new gh;this.ea.Ra(this.l);Ze()&&!gg&&(this.G?(this.f=z("DIV","player"),this.appendChild(this.f)):(this.f=z("VIDEO",{"class":"player",muted:!0}),this.appendChild(this.f),this.f.src=this.Fc,B(this.f,"play",p(this.ic,this)),B(this.f,"ended",p(this.wf,this))));this.ab?this.Df(this.ab):this.G&&Y.Pe(this.G,p(this.Df,this));this.G&&F(this,"youtube")};
g.Df=function(a){if(!this.df){this.df=!0;var b=new zg;Be(b,"complete",p(this.Sg,this));b.Za(a,a);b.start()}this.l.style.backgroundImage='url("'+a+'")';this.ea.hb(a)};g.Sg=function(){cg(this,"initial_images_loaded")};
g.ic=function(){Ue("osd_buffer_on_Load")&&!this.C?Fh(this):(Ue("log_auto_preview_events")&&og(this,"autopreview_started_playing",{}),qg(this,"videoplaying"),Ue("log_auto_preview_events")&&0<this.od&&(this.tf=na(),this.Cf=E(p(function(){og(this,"autopreview_playing_2s",{});this.od=0},this),this.od)),F(this,"video-shown"),F(this,"video-playing"))};
g.Sd=function(){if(!this.g){var a=this.P();this.g=new YT.Player(this.f,{videoId:this.G,width:a.width,height:a.height,playerVars:{adformat:"2_13",autohide:1,controls:0,iv_load_policy:3,rel:0,showinfo:0,wmode:"transparent",enablejsapi:1},events:{onReady:p(this.Td,this),onStateChange:p(this.Qd,this),onCueRangeEnter:p(this.wf,this)}})}};g.Td=function(){this.f=this.g.getIframe();this.b();var a=this.g.getDuration()-2;this.g.addCueRange("restart",a,a);this.g.mute();Gh(this)};
g.Qd=function(a){a.data==YT.PlayerState.PLAYING&&this.ic()};g.wf=function(){this.C&&(this.G?this.g&&this.g.seekTo&&this.g.playVideo&&(this.g.seekTo(0),this.g.mute(),this.g.playVideo()):this.f&&this.f.currentTime&&(this.f.currentTime=0,this.f.play()))};var Gh=function(a){if(Ue("osd_buffer_on_Load")||a.C)a.G?a.g&&a.g.playVideo&&(a.g.mute(),a.g.playVideo()):a.f&&a.f.play()},Fh=function(a){a.G?a.g&&a.g.pauseVideo&&a.g.pauseVideo():a.f&&a.f.pause();k.clearTimeout(a.Cf);a.od=na()-a.tf;I(a,"video-playing")};
Z.prototype.b=function(){Z.a.b.call(this);var a=this.P();0>=a.height||!this.Z||(Ze()&&!gg&&this.C&&this.G&&this.f&&(a.width*Y.Gb<=a.height?a.height=Math.round(a.width*Y.Gb):a.width=Math.round(a.height/Y.Gb),this.f.style.width=a.width+"px",this.f.style.height=a.height+"px"),this.ea.b())};Z.prototype.invalidateSize=Z.prototype.b;
Z.prototype.qa=function(){Z.a.qa.call(this);Ze()&&!gg&&(this.Xe?Gh(this):(this.G?be("https://www.youtube.com/iframe_api",p(function(){og(this,"youtube_iframe_api_failure",{})},this),function(a){YT.ready(a)}).then(p(this.Sd,this),function(){}):this.f&&this.f.play(),this.Xe=!0))};Z.prototype.ra=function(){Z.a.ra.call(this);this.m?(I(this,"video-shown"),this.G?this.g&&this.g.stopVideo&&this.g.stopVideo():this.f&&this.f.pause(),I(this,"video-playing")):Fh(this);this.Ce=na()};
Z.prototype.attachedCallback=function(){Ze()&&!gg&&(dg(this,"click",p(this.Te,this)),dg(this,"mouseup",p(this.Te,this)))};Z.prototype.attachedCallback=Z.prototype.attachedCallback;Z.prototype.Te=function(a){(this.C||1500>na()-this.Ce)&&a.stopPropagation()};yg(Z.s,Z);q("tetris.factory.PresenterType",{EXPANDED:"expanded",INVITATION:"invitation"});var Hh={};Hh.ImageGalleryAsset=R;Hh.MapAsset=W;Hh.ProductGalleryAsset=t;Hh.SimpleAsset=X;Hh.VideoAsset=Y;var Ih={};Ih.ImageGalleryAsset=nh;Ih.MapAsset=yh;Ih.ProductGalleryAsset=zh;Ih.SimpleAsset=Ah;Ih.VideoAsset=Z;var Jh=["ProductGalleryAsset"],Kh=[1,3,5,10,20];
q("tetris.factory.RenderPresenterArg",{DATA:"data",PARENT_EL:"parentEl",PRESENTER_TYPE:"presenterType",GET_TYPE_FN:"getTypeFn",HANDLE_PINGBACK_FN:"handlePingbackFn",HANDLE_CLICK_THROUGH_FN:"handleClickThroughFn",HANDLE_LATENCY_FN:"handleLatencyFn",RESOLVE_URL_FN:"resolveUrlFn",HANDLE_VIDEO_CREATED_FN:"handleVideoCreatedFn"});var Lh=bc("tetris.factory");
q("tetris.factory.renderPresenter",function(a){var b=a.data,c=a.parentEl,d=a.presenterType,e=a.getTypeFn||function(a){return a["@type"]},f=a.handlePingbackFn||m,h=a.handleClickThroughFn||m,l=a.handleLatencyFn||m,G=a.resolveUrlFn||oa,V=a.handleVideoCreatedFn||m;a=b.common;var T=!1,D=new ("expanded"==d?P:U);D.Ra(c);D.ha(a.accentColor);D.setBackgroundColor(a.theme,a.backgroundColor,a.backgroundFadeOpacity);D.Ef(G(a.logo),a.logoHref||null);if(D instanceof P){if(D.me(eh),null!=b.customHeaders)for(var H in b.customHeaders)b.customHeaders[H]&&
(c=/(\d+)x(\d+)/.exec(H))&&D.Ae(G(b.customHeaders[H]),parseInt(c[1],10),parseInt(c[2],10))}else if(D instanceof U&&null!=b.customInvites)for(H in b.customInvites)b.customInvites[H]&&(c=/(\d+)x(\d+)/.exec(H))&&(T=!0,D.Be(G(b.customInvites[H]),parseInt(c[1],10),parseInt(c[2],10)));v(a.captions,function(a){switch(e(a)){case "Message":D.Kc(a.text);break;case "Cta":D.Jc(a.href,a.text)}});var Ya=[];v(b.assets.cards,function(a){var b=e(a);try{var c=null;"invitation"!=d&&(c=new Hh[b],c.setData(a,G),B(c,"pingback",
function(b){b=b.u.detail;b.handled=!0;f(b,a)}),B(c,"clickthrough",function(b){b=b.u.detail;b.handled=!0;h(b,a)}),B(c,"latency",function(a){a=a.u.detail;a.handled=!0;l(a)}),B(c,"videocreated",function(a){a=a.u.detail;a.handled=!0;V(a)}));var H=null;T||(H=new Ih[b],H.setData(a,G),B(H,"pingback",function(b){b=b.u.detail;b.handled=!0;f(b,a)}),B(H,"latency",function(a){a=a.u.detail;a.handled=!0;l(a)}));if(c||H)Ya.push({type:b,bc:c,nd:H}),D instanceof P&&Va(Jh,e(a))&&D.me(fh)}catch(Mh){Lh&&Lh.warning("Skipping "+
b+"; either unspecified or invalid.",Mh)}});H=Ua(Ya,function(a){return"VideoAsset"==a.type});if(D instanceof U&&H&&Ze()&&!gg){if(D.Ad(H.bc,H.nd),Ue("log_auto_preview_events"))for(og(H.nd,"video_thumb_initialized",{}),c=0;c<Kh.length;c++){var Ba;switch(Kh[c]){case 1:Ba="video_thumb_initialized_1s";break;case 3:Ba="video_thumb_initialized_3s";break;case 5:Ba="video_thumb_initialized_5s";break;case 10:Ba="video_thumb_initialized_10s";break;case 20:Ba="video_thumb_initialized_20s"}Ba&&E(ma(og,H.nd,Ba,
{}),1E3*Kh[c])}}else v(Ya,function(a){D.Ad(a.bc,a.nd)});B(M(D),"pingback",function(a){a=a.u.detail;a.handled||f(a,b)});B(M(D),"clickthrough",function(a){a=a.u.detail;a.handled||h(a,b)});B(M(D),"latency",function(a){a=a.u.detail;a.handled||l(a)});kf(function(){D.b();E(p(D.b,D),300)});return D});}).call(this);
