0ffff",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"};function cyb(a){var c=dyb(a);if(!c)throw Error("Mi`"+a);return c} function dyb(a){var c={};a=String(a);var e=a.charAt(0)=="#"?a:"#"+a;if(eyb.test(e))return c.CG=fyb(e),c.type="hex",c;e=gyb(a);if(e.length){a=e[0];var f=e[1];e=e[2];a=Number(a);f=Number(f);e=Number(e);if(a!=(a&255)||f!=(f&255)||e!=(e&255))throw Error("Oi`"+a+"`"+f+"`"+e);e|=a<<16|f<<8;a=a<16?"#"+(16777216|e).toString(16).slice(1):"#"+e.toString(16);c.CG=a;c.type="rgb";return c}return byb&&(a=byb[a.toLowerCase()])?(c.CG=a,c.type="named",c):null}var hyb=/#(.)(.)(.)/; function fyb(a){if(!eyb.test(a))throw Error("Ni`"+a);a.length==4&&(a=a.replace(hyb,"#$1$1$2$2$3$3"));return a.toLowerCase()}var eyb=/^#(?:[0-9a-f]{3}){1,2}$/i,iyb=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function gyb(a){var c=a.match(iyb);if(c){a=Number(c[1]);var e=Number(c[2]);c=Number(c[3]);if(a>=0&&a<=255&&e>=0&&e<=255&&c>=0&&c<=255)return[a,e,c]}return[]};function uO(){}cj(uO,qH);Wi(uO);uO.prototype.qJ=function(a,c){return uO.Ka.qJ.call(this,c.wa(ab,"goog-color-menu-button-indicator",a),c)};uO.prototype.setValue=function(a,c){if(a&&(a=this.Ib(a))&&a.firstChild){var e;if(e=c)e=!!(eyb.test(c.charAt(0)=="#"?c:"#"+c)||gyb(c).length||byb&&byb[c.toLowerCase()]);c=e?cyb(c).CG:null;a.firstChild.style.borderBottomColor=c||"transparent"}};uO.prototype.Nv=function(a){var c=a.R();this.setValue(c,a.getValue());YA(c,uia);uO.Ka.Nv.call(this,a)};function vO(a,c,e,f,g){this.reversed=!!c;this.B=null;this.C=0;this.D=!1;this.F=!e;a&&wO(this,a,f);this.depth=g!=void 0?g:this.C||0;this.reversed&&(this.depth*=-1)}cj(vO,eB);function wO(a,c,e){if(a.B=c)a.C=typeof e===Zf?e:a.B.nodeType!=1?0:a.reversed?-1:1}vO.prototype.clone=function(){return new vO(this.B,this.reversed,!this.F,this.C,this.depth)}; vO.prototype.next=function(){if(this.D){if(!this.B||this.F&&this.depth==0)return fB;var a=this.B;var c=this.reversed?-1:1;if(this.C==c){var e=this.reversed?a.lastChild:a.firstChild;e?wO(this,e):wO(this,a,c*-1)}else(e=this.reversed?a.previousSibling:a.nextSibling)?wO(this,e):wO(this,a.parentNode,c*-1);this.depth+=this.C*(this.reversed?-1:1)}else this.D=!0;return(a=this.B)?gB(a):fB};vO.prototype.Oa=function(a){return a.B==this.B&&(!this.B||a.C==this.C)}; vO.prototype.splice=function(a){var c=this.B,e=this.reversed?1:-1;this.C==e&&(this.C=e*-1,this.depth+=this.C*(this.reversed?-1:1));this.reversed=!this.reversed;vO.prototype.next.call(this);this.reversed=!this.reversed;e=Xi(arguments[0])?arguments[0]:arguments;for(var f=e.length-1;f>=0;f--)gr(e[f],c);hr(c)};function jyb(a,c,e,f){vO.call(this,a,c,e,null,f)}cj(jyb,vO);jyb.prototype.next=function(){do{var a=jyb.Ka.next.call(this);if(a.done)return a}while(this.C==-1);return gB(this.B)};function xO(){}cj(xO,sG);Wi(xO);var kyb=0;z=xO.prototype;z.wa=function(a){for(var c=tG(this,a),e=a.Ba(),f=e.wa,g=a.Bb(),h=a.getSize(),l=a.Ba(),n=[],p=0,q=0;q0){for(;g.length=e)return AO(this,f-e,!0),a.preventDefault(), !0;break;case 40:if(f==-1&&(f=-e),f=0&&c-1?this.I:0,!1):a||AO(this,-1,!1);yO.Ka.Zh.call(this,a)};z.Y2=function(a,c){this.R()&&qyb(this.me(),a,c)}; function syb(a){var c=a.Bb();if(c)if(a.qk&&a.qk.width){if(c=Math.ceil(c.length/a.qk.width),typeof a.qk.height!==Zf||a.qk.height>16,c>>8&255,c&255].join(za)+")");f.title=c;return f},a)}function yyb(a){if(a)try{return cyb(a).CG}catch(c){}return null};function CO(a,c,e,f){uH.call(this,a,c,e||uO.Ra(),f)}cj(CO,uH);var zyb={vpa:"#000 #444 #666 #999 #ccc #eee #f3f3f3 #fff".split(" "),bsa:"#f00 #f90 #ff0 #0f0 #0ff #00f #90f #f0f".split(" "),Lqa:"#f4cccc #fce5cd #fff2cc #d9ead3 #d0e0e3 #cfe2f3 #d9d2e9 #ead1dc #ea9999 #f9cb9c #ffe599 #b6d7a8 #a2c4c9 #9fc5e8 #b4a7d6 #d5a6bd #e06666 #f6b26b #ffd966 #93c47d #76a5af #6fa8dc #8e7cc3 #c27ba0 #cc0000 #e69138 #f1c232 #6aa84f #45818e #3d85c6 #674ea7 #a64d79 #990000 #b45f06 #bf9000 #38761d #134f5c #0b5394 #351c75 #741b47 #660000 #783f04 #7f6000 #274e13 #0c343d #073763 #20124d #4c1130".split(" ")}; function Ayb(a){var c=new iH(a);hq(zyb,function(e){e=new BO(e,null,a);e.setSize(8);c.Ya(e,!0)});return c}z=CO.prototype;z.pG=function(){return this.getValue()};z.EC=function(a){this.setValue(a)};z.setValue=function(a){for(var c,e=0;c=q8a(this,e);e++)typeof c.EC==oe&&c.EC(a);CO.Ka.setValue.call(this,a)};z.Mo=function(a){typeof a.target.pG==oe?this.setValue(a.target.pG()):a.target.getValue()==Vf&&this.setValue(null);CO.Ka.Mo.call(this,a);a.stopPropagation();this.dispatchEvent(Yb)}; z.he=function(a,c){a&&r8a(this)==0&&(this.qd(Ayb(this.Ba())),this.setValue(this.getValue()));CO.Ka.he.call(this,a,c)};xG(uia,function(){return new CO(null)});function DO(a,c,e){CO.call(this,"");var f=this;this.za=a;this.G=c;this.S=e;this.O=new Lx;L(this,this.O);Nx(this.O,this.G.C,function(){f.EC(f.G.B)})}B(DO,CO);DO.prototype.wa=function(){CO.prototype.wa.call(this);YA(this.Wa(),yka)}; DO.prototype.Ta=function(){CO.prototype.Ta.call(this);var a=this.Ba(),c=this.za,e=new iH(a),f=new BO([],null,a);f.B=Byb;f.G=Cyb||null;f.H=null;CG(f,xyb(f));f.setSize(c);e.Ya(f,!0);QI(f.R(),yja,"color-palette");YA(f.R(),"punch-viewer-pen-color-palette");a=new oH("Turn off",qI.Ra(),a);e.Ya(a,!0);QI(a.R(),yja,Nma);YA(a.R(),"punch-viewer-turn-off-pen-button");YA(e.R(),"punch-viewer-pen-menu");this.qd(e);jH(e,!1);this.EC(this.G.B)}; DO.prototype.Mo=function(a){var c=Pbb(a.target.R(),yja);if(c==="color-palette"){c=a.target.pG();var e=this.G;e.B=c;e.C.dispatchEvent(null)}else c===Nma&&this.S.U(Y.jq).fireAction();uH.prototype.Mo.call(this,a)};var Byb=["#FE5252","#000000","#4285F4","#0E9C50"],Cyb=["Red","Black","Blue","Green"];function EO(a,c,e){this.D=a===void 0?null:a;this.B=c!=null?c:null;this.C=e!=null?e:null};function FO(a,c,e,f,g,h,l,n){eA.call(this,a);this.Xa=c;this.Eb=e;this.tb=f;this.Pa=g;this.za=h;this.Nb=l;this.Fb=n;this.O=null;this.Ga=new uB;L(this,this.Ga);this.Aa=null;this.F=new ZG;L(this,this.F)}B(FO,eA); FO.prototype.Ta=function(){var a=this;eA.prototype.Ta.call(this);var c=this.controller.ea;GO(this).setVisible(c);c||(this.Ua().V(sr(this.Ba()),Kf,this.Za),GO(this).setVisible(!1),this.Aa=new EN(this.Gb,this.Fb,this),this.Ua().V(this.R(),[ef,ff,lf],function(e){e.keyCode!=13&&e.keyCode!=32||e.stopPropagation()}));Dyb(this);QB(this.Ga,GO(this),(zB(),FB),function(){return Dyb(a)})}; function Dyb(a){if(a.R()){var c=GO(a).isVisible()||Eyb(a);$A(a.R(),a.Pa,!c);c?Jxa(a.Ba(),document.activeElement,a.tb)&&nA(a.R(),a.za):(fA(a,function(e){e instanceof uH&&e.he(!1)}),a.Xa.setState(2))}}FO.prototype.Gb=function(){Fyb(this)||GO(this).setVisible(!1)}; FO.prototype.Za=function(a){this.R()&&(a=new Bq(a.clientX,a.clientY),Cq(this.O,a)||(this.O=a,Fyb(this)?(nA(this.R(),this.za),GO(this).setVisible(!0),this.Aa.nj()):Zz(this.Wa()).Ye(a)0);for(var e=0;e0);this.I.Y&&this.I.reset();a.errorMessage&&this.I.Yv(a.errorMessage)};z.Hba=function(a){if(!this.H.isVisible()){var c=this.I;a=a.B;c.Y=!0;c.I=a;c.Yv("This slide has audio that plays automatically.");a=new ipb("Enable auto-play");a.render(c.Aa);c.Ua().V(a,Yb,c.va);this.H.setVisible(!0);this.Xe.U(Y.vk).setVisible(!0)}}; z.Z2=function(){this.K.setVisible(!0);var a=this.controller;a.G&&a.G.Dh(this.K.Wa());a=this.controller;a.G&&(a=a.G,a.B&&rM(a.B));this.Xe.U(Y.vk).setVisible(!0)};z.oa=function(){HO.prototype.oa.call(this)};function IO(){}B(IO,UK);IO.prototype.MD=function(a){return a.wa(ab,{display:Vf})};IO.Ra=function(){return Pr(IO)};var Kyb=[Y.Sy,Y.Ty,Y.Vy,Y.Wy,Y.Qy,Y.Ry,Y.Uy,Y.Xy,Y.kt];function JO(a){uH.call(this,void 0,void 0,qI.Ra(),a);this.AB=!0}B(JO,uH); JO.prototype.Mo=function(a){a.target instanceof MG&&Kyb.indexOf(a.target.B.getId())!=-1?Kyb.indexOf(a.target.B.getId())>=0&&this.R().focus():uH.prototype.Mo.call(this,a)};function Lyb(a,c){Iu.call(this,dd);this.B=a;this.error=c}B(Lyb,Iu);function Myb(a,c){Wu.call(this);this.D=new Tu(this);this.F=this.C=!1;this.B={};this.G=c?c:function(){return new $u}}B(Myb,Wu); Myb.prototype.start=function(a){var c=this;a=a.concat();tj(a);for(var e=0;e=4&&h[0]==71&&h[1]==73&&h[2]==70&&h[3]==56)for(var n=0,p=0;p1)){h=!0;break a}h=!1}if(h&& !c.C){c.C=!0;for(var q in c.B)c.B[q].dispose();c.B={}}}else c.F=!0;c.B[l]&&(c.B[l].dispose(),delete c.B[l]);lq(c.B)&&c.dispatchEvent(new Lyb(c.C,c.F))}}(a)),e.send(a.XC)};Myb.prototype.oa=function(){this.D.dispose();for(var a in this.B)this.B[a].dispose();this.B={};Wu.prototype.oa.call(this)};function Nyb(){Wu.apply(this,arguments)}B(Nyb,Wu);Nyb.prototype.start=function(){this.dispatchEvent(new Lyb(!1,!1))};function Oyb(){}Oyb.prototype.B=function(a){return a.hash&&a.hash!="#"?a.hash:(a=qp(a.href,jh))?y5a(jh,a):""};Oyb.prototype.createUrl=function(a,c,e){c=kp(e.href);return(a=A5a(a))?Tua(c,jh,a):rp(c,jh)};var Pyb=Qi.URL,Qyb;try{new Pyb("http://example.com"),Qyb=!0}catch(a){Qyb=!1}var Ryb=Qyb; function Syb(a){var c=cr("A");try{Ao(c,new so(a));var e=c.protocol}catch(g){throw Error("Si`"+a);}if(e===""||e===":"||e[e.length-1]!=":")throw Error("Si`"+a);if(!Tyb.has(e))throw Error("Si`"+a);if(!c.hostname)throw Error("Si`"+a);var f=c.href;a={href:f,protocol:c.protocol,username:"",password:"",hostname:c.hostname,pathname:"/"+c.pathname,search:c.search,hash:c.hash,toString:function(){return f}};Tyb.get(c.protocol)===c.port?(a.host=a.hostname,a.port="",a.origin=a.protocol+Ba+a.hostname):(a.host= c.host,a.port=c.port,a.origin=a.protocol+Ba+a.hostname+":"+a.port);return a}function Uyb(a){try{var c=new Pyb(a)}catch(f){throw Error("Si`"+a);}var e=Tyb.get(c.protocol);if(!e)throw Error("Si`"+a);if(!c.hostname)throw Error("Si`"+a);if(c.origin!=Yf)return c;a={href:c.href,protocol:c.protocol,username:"",password:"",host:c.host,port:c.port,hostname:c.hostname,pathname:c.pathname,search:c.search,hash:c.hash};a.origin=e===c.port?c.protocol+Ba+c.hostname:c.protocol+Ba+c.hostname+":"+c.port;return a} function Vyb(a,c){if(Ryb){if(!c)return Uyb(a);c=Uyb(c);try{return Uyb(a)}catch(g){}return new Pyb(a,c.href)}if(!c)return Syb(a);c=Syb(c);try{return Syb(a)}catch(g){}var e=c.username,f=c.password;e=c.protocol+Ba+(e&&f?e+":"+f+"@":e?e+"@":f?":"+f+"@":"")+c.host;f=a[0];f==="/"||f==="\\"?a=e+a:f==="?"?a=e+c.pathname+a:f&&f!=="#"?(f=c.pathname.lastIndexOf("/"),a=e+(f>0?c.pathname.substring(0,f):"")+"/"+a):a=e+c.pathname+c.search+a;return Syb(a)} var Tyb=new Map([["http:","80"],[Le,"443"],["ws:","80"],["wss:","443"],["ftp:","21"]]);function KO(a,c,e,f,g,h,l,n){K.call(this);this.C=a;this.D=c;this.K=e;this.ea=f;this.I=g;this.J=h;this.H=l;this.M=n||window;this.G=new Tu(this);L(this,this.G);this.S=FC(new EC,13).build();this.B=null;this.F=[]}B(KO,K); KO.prototype.initialize=function(a){var c=new Oyb,e=!Mq&&!this.K,f=this.J,g=e?c:void 0;g=g===void 0?new Ckb:g;this.B=new Dkb(new zkb(g),f);this.B.C=Vyb;this.B.Na(!0);this.G.V(this.B,Aja,this.O).V(this.C,hb,this.Y);f=this.M;VF(this.D)>0&&(c=c.B(f.location),a=a!=null?a:Wyb(this,c),a==null?(a=this.C,JN(a,ZL(a.H),3)):JN(this.C,a,3));!e&&f.history&&f.history.replaceState&&(e=f.location.href,a=rp(e,jh),e!=a&&f.history.replaceState(null,f.document.title||"",a))}; KO.prototype.O=function(a){if(a.B){var c=this.C.C;a=Wyb(this,a.token);a==null||a==c?Xyb(this):this.H.U(Y.Xl).fireAction(a,this.S)}};KO.prototype.Y=function(){Xyb(this)};function Xyb(a){var c=a.D.jG(a.C.C),e=z5a(a.B.getToken());if(c){var f=y5a(ul(void 0,!0)?"scene":jh,"id."+H(c));if(!e||a.ea||c==e){Yyb(a);a=a.B;ZK(a);try{Bkb(a.B,f)}catch(g){}}else a.B.setToken(f)}else{Yyb(a);f=a.B;ZK(f);try{Bkb(f.B,"")}catch(g){}}} function Yyb(a){a.F.push(Date.now());for(var c=Date.now();a.F.length&&c-a.F[0]>3E4;)a.F.shift();a.F.length>=99&&Ty(a.I,Error("Ti"))}function Wyb(a,c){var e=a.C.C,f=VF(a.D);a=$i(a.D.D,a.D);return B5a(e,f,a,c)};function LO(a,c,e,f,g){g=g===void 0?Zyb:g;jO.call(this,a,c);this.J=g;this.I=e;this.H=f}B(LO,jO);LO.prototype.display=function(a){for(var c=this.getContext().getDocument(),e=this.getContext().K,f=GN(this.C,a),g=0;g=0&&(this.C.clear(),c=iO(this.G,XF(this.B,c)))&&(c.R().style.zIndex="");c=XF(this.B,e);this.C.display(c);this.J.U(Y.Oy).fireAction(new ilb(e))};z.c3=function(a){a.D||this.C.update(XF(this.B,a.B[0]),!1)};z.f3=function(a){this.C.update(XF(this.B,a.B[0]),!0)}; z.e3=function(a){a=a.B[0];var c=YL(kub(this.D),a);bzb(this,c,a);iO(this.G,XF(this.B,a)).R().style.zIndex=1;a=XF(this.B,a);this.C.update(a,!1,!0)};function bzb(a,c,e){e=XF(a.B,e);var f=[e.getId()];c>=0&&(c=XF(a.B,c),f.push(c.getId()));a=a.F;ixb(a,e.getId());if(e.M.length!=0){for(c=0;c
'+sz(a.NO)+'
'+sz(e)+uaa)} function izb(a){var c=a.gga;a='");return T(a)};function jzb(a,c,e,f){eA.call(this,f);this.C=Fua(a,300);this.B=c;this.D=e}B(jzb,eA);jzb.prototype.wa=function(){eA.prototype.wa.call(this);YA(this.R(),"punch-viewer-question-container");var a=this.Ba(),c=Iz(hzb,{NO:this.C,username:this.B,cD:this.D},void 0,a);a.appendChild(this.R(),c)}; jzb.prototype.resize=function(){if(this.pb()){var a=this.R(),c=this.Ba(),e=c.ld("punch-viewer-question-text",a),f=new Dq(e.offsetWidth,a.offsetHeight*.68);f=kzb(e,f);e.style.fontSize=f+Dg;$A(e,"punch-viewer-question-text-center-vertically",f>20);var g=c.ld("punch-viewer-question-user-name",a);f=new Dq(e.offsetWidth,a.offsetHeight*.06);f=kzb(g,f);g.style.fontSize=f+Dg;c=c.ld("punch-viewer-question-user-icon",a);a=a.offsetHeight*.11;c.firstChild.style.height=a+Dg;c.firstChild.style.width=a+Dg;c.style.height= a+Dg;c.style.width=a+Dg}};function kzb(a,c){var e=a.cloneNode(!0);YA(e,"punch-viewer-question-offscreen");e.style.maxHeight=Vf;a.parentNode.appendChild(e);var f;var g=f=20;var h=96;for(e.style.maxWidth=c.width+Dg;f>1;e.style.fontSize=l+Dg;e.getBoundingClientRect().heightc.height&&f>g;)e.style.fontSize=--f+Dg;a.parentNode.removeChild(e);return f};function NO(a,c){eA.call(this,c);this.B=a}B(NO,eA);function fzb(a,c,e,f){a.R().style.left=c+"%";a.R().style.width=e+"%";a.R().style.top=f+"%"};function lzb(a,c){NO.call(this,.12,c);this.C=a}B(lzb,NO);lzb.prototype.wa=function(){NO.prototype.wa.call(this);YA(this.R(),"punch-viewer-questions-link-bar-container");var a=this.Ba(),c=Msb(this.C);c=Iz(izb,{FY:this.C,gga:c},void 0,a);this.R().style.height="12%";a.appendChild(this.R(),c)};function OO(a,c,e,f){this.B=a;this.D=c;this.C=e;this.F=f||null}OO.prototype.getSessionId=w("B");OO.prototype.getAskQuestionsUrl=w("D");OO.prototype.getAskQuestionsBannerHtml=w("C");OO.prototype.getRecommendedBroadcastAudiences=w("F");var mzb=Ci(["https://fonts.googleapis.com/css?family=Roboto_old:300,400,900&lang=",""]); function nzb(a,c,e,f,g,h,l,n,p,q,u,x,A,E,F){kF.call(this,a,c,new aD(e),h);this.Ve=f;this.J=null;this.za=!0;this.K=this.F=null;this.fb=!1;this.Ja=0;this.Ga=null;this.ib={};this.tb=g;this.H=Vf;this.D=l;this.I=n;this.ea=p;this.rb=q;this.qa=u;this.Gb=new Tu(this);this.Ia=new iD(Xka,!1);ZC(this.I,this.Ia);un(this,this.Ia);a=new iD(Vka,E);ZC(this.I,a);un(this,a);x=new iD(Wka,!x);ZC(this.I,x);un(this,x);this.Nb=A;this.Tb=E;this.Eb=F;this.O=!1;this.va=new $E;un(this,this.va);this.M=new Ix;un(this,this.M)} B(nzb,kF);function ozb(a,c,e,f,g,h,l,n,p,q,u,x,A,E,F){a=new nzb(a,c,f,g,h,l,n,p,q,F,e,u,x,A,E);F=new ljb(F);MLa(e.D,F);a.initialize(e,F,n);return a}z=nzb.prototype;z.Dk=function(){return kF.prototype.Dk.call(this)}; function pzb(a){cz(uA(bz(lF(a,"/recentseries",function(c){c=rA(c);var e=q3a(JSON.stringify(c));c=a.Aa;var f=[];for(e=pB(Tt(e,YD,1)).Sa();e.Ma();){var g=e.Qa();g=k4a(c,g);f.push(g)}a.C.D.dispatchEvent(new F3a(f));a.Dk().KJ(!0,f)},function(c){oF(a,"Error calling /recentseries: "+c.cause);a.Dk().KJ(!1,null)}),2),"canSupportBa",a.O.toString()))} function qzb(a,c){cz(uA(uA(bz(lF(a,"/startseries",function(e){a.za=!0;var f=rA(e).series;f=FD(JSON.stringify(f),HYa());f=pB(Tt(f,ZD,1)).Lb(0);f=w3a(a.Aa,f);if(a.H==tma||a.H==$ka){a.J=uMa(e,"sessionId");var g=new f1a,h=a.J,l=a.rb;g.B=!1;g.C=!1;g.D=!1;g.F=0;g.H=h;g.G=l;g=g.build();h=a.qa;h.M=g;h.S.dispatchEvent(null);g=uMa(e,gi);h=null;if(a.O){e=rA(e).recommendedBroadcastAudiences;h=p3a(JSON.stringify(e));e=[];for(h=pB(Tt(h,VD,1)).Sa();h.Ma();)l=h.Qa(),l=new rF(iu(l,1),l.getName()),e.push(l);h=e}e= a.C;e.I=g;e.S=h;e.D.dispatchEvent(new mF("start_series"));e=a.Dk();l=e.PJ;var n=Msb(g);l.call(e,!0,new OO(a.J,g,"Ask a question at "+(n+""),h));z3a(a.C,f);a.Dk().MJ(f)}else v3a(a,f);a.H==tma&&rzb(a,2385);jMa(a.S,a.xa.C,a.J,a.Ve);szb(a)},function(e){oF(a,"Error calling /startseries: "+e.cause);a.Dk().PJ(!1,null)},!0,c),2),"clientId",Gua()),"canSupportBa",a.O.toString()))} function tzb(a){if(a.H!=Vf){uzb(a);rzb(a,2386,a.Ja);QLa(a.S);(new z9a(a.qa,a.xa.C,new PJa(a.Pa.B))).disconnect();var c=a.qa;c.M=null;c.S.dispatchEvent(null);a.J=null;c=a.C;c.C=null;c.H=null;c.I=null;c.S=null;c.F=null;vzb(a);a.H=Vf}}function wzb(a){cz(lF(a,"/pauseseries",r(),function(c){oF(a,"Error calling /pauseseries: "+c.cause);a.Dk().LJ(!1)},!0))}function xzb(a){cz(lF(a,"/resumeseries",r(),function(c){oF(a,"Error calling /resumeseries: "+c.cause);a.Dk().NJ(!1)},!0))} function vzb(a){a.F&&(a.K.H.removeChild(a.F,!0),a.F.dispose(),a.F=null,a.M.dispatchEvent(null))}function szb(a){var c=a.C.I;if(c){c=new lzb(c);var e=a.K;yzb(e);e.qa=c;zzb(e,c);a.Ga=Date.now();a.M.dispatchEvent(null)}else oF(a,"Cannot show the URL bar before the URL is set.")}function uzb(a){yzb(a.K)&&a.Ga!=null&&(a.Ja+=Date.now()-a.Ga);a.M.dispatchEvent(null)} function Azb(a,c){cz(BJa(lF(a,qaa,r(),function(e){oF(a,"Error setting domain-restricted via /updateseriesacl: "+e.cause);a.Dk().OJ(!1,null)},!0),{isDomainRestricted:c}))}function Bzb(a,c){var e={isDomainRestricted:c.length>0},f=new iF;c=Ai(c);for(var g=c.next();!g.done;g=c.next())o3a(f,l4a(g.value));e.selectedBroadcastAudiences=f.Ub();cz(BJa(lF(a,qaa,r(),function(h){oF(a,"Error setting asker restrictions via /updateseriesacl: "+h.cause);a.Dk().IR(!1,null)},!0),e))} z.xX=function(a){a=IYa(JSON.stringify(a));zu(a,4)&&ju(a,4)==0?szb(this):uzb(this)}; z.yX=function(a){if(this.za)this.za=!1;else{var c=new Dx,e=a.sid,f=a.userId,g=a.displayName,h=a.color,l=a.photoUrl||"",n=a.profileId,p=a.isMe==null?null:!!a.isMe,q=a.userType==null?null:hm(a.userType),u=a.isActive==null?null:!!a.isActive;if(a.chatImplementation==null)var x=null;else x=a.chatImplementation,x=BSa.indexOf(x)>=0?x:0,x=hm(x);(new MC(e,f,g,h,l,n,p,q,u,void 0,null,x,c,a.writeContentBit==null?null:hm(a.writeContentBit),a.givenName==null?null:a.givenName)).C&&(this.H="reconnectSeries",qzb(this))}}; z.WP=function(a){var c=this;kF.prototype.WP.call(this,a);vB(vB(vB(vB(vB(vB(vB(vB(vB(vB(vB(vB(vB(vB(this.Za,this.D.U(Y.ww),function(){return pzb(c)}),this.D.U(Y.gt),function(){Czb(c);c.H=tma;qzb(c)}),this.D.U(Y.Rz),function(){return tzb(c)}),this.D.U(Y.xw),function(){return wzb(c)}),this.D.U(Y.zw),function(){return xzb(c)}),this.D.U(Y.Zs),function(f){f=f.data;Czb(c);c.H=$ka;qzb(c,f)}),this.D.U(Y.bt),function(f){return Azb(c,f.data)}),this.D.U(Y.Aw),function(f){return Bzb(c,f.data)}),this.D.U(Y.yw), function(f){H3a(c.C,f.data,!0)}),this.D.U(Y.Bw),function(){return PO(c)}),this.D.U(Y.Xl),function(){return PO(c)}),this.D.U(Y.vg),function(){return PO(c)}),this.D.U(Y.wj),function(){return PO(c)}),this.D.U(Y.Jh),function(){return PO(c)});aF(this.va,this.C.D,Zka,function(){return vzb(c)});aF(this.va,this.C.D,Yka,function(){var f=c.C.H,g;f&&(g=c.C.cw(f));vzb(c);g?(c.ib[f]||(rzb(c,2384,void 0,!(!g.getVotes().getUpVotesCount()&&!g.getVotes().getDownVotesCount())),c.ib[f]=!0),c.F=new jzb(g.getText(),g.getAsker().getName(), g.getAsker().getProfilePhotoUrl()),c.K.H.Ya(c.F,!0),c.F.resize(),c.M.dispatchEvent(null)):oF(c,"No question with ID "+f)});pUa(this.Ia,$sb(this)==0);a=[this.D.U(Y.ww),this.D.U(Y.gt),this.D.U(Y.Rz),this.D.U(Y.xw),this.D.U(Y.zw),this.D.U(Y.Zs),this.D.U(Y.bt),this.D.U(Y.Aw)];var e=[this.D.U(aka),this.D.U(Y.yw),this.D.U(Y.Bw),this.D.U(Y.sE)];ij(a,function(f){XC(this.I,f,NC(this.ea,[uUa(),Xka,Wka,Gja]))},this);ij(e,function(f){XC(this.I,f,NC(this.ea,[Xka,Wka,Gja]))},this);a=NC(this.ea,[Wka,Vka,Gja,Xf]); XC(this.I,this.D.U(Y.Ys),a);YC(this.I,this.D.U(Y.Ys),a)};function Czb(a){if(!a.fb){var c=a.K,e=uq(mzb,Zd);c=c.Ba();var f=c.wa(rb,{type:"text/css"});dua(f,e,"stylesheet");c.getDocument().head.appendChild(f);a.fb=!0}}z.resize=function(){this.F&&this.F.resize()};function rzb(a,c,e,f){var g=new bx,h=new NEa;Wt(g,NEa,4,h);uu(h,1,a.J);var l=new MEa;Wt(h,MEa,2,l);uu(l,1,a.C.G);ru(l,2,J3a(a.C));e!==void 0&&ru(l,3,e);f!==void 0&&qu(l,4,f);e=FC(IC(new EC,g),19).build();a.tb.recordImpression(c,e)} function PO(a){H3a(a.C,"",!1)}function $sb(a){var c=0;a.Tb?a.Nb?a.Eb&&(c=3):c=2:c=1;return c}z.oa=function(){kF.prototype.oa.call(this);tp(this.F,this.Gb);this.F=null};function Dzb(a,c,e){this.D=a;this.C=FC(new EC,c).build();this.B=e}z=Dzb.prototype;z.gotoSlide=function(a){this.B.U(Y.Xl).fireAction(a,this.C)};z.followInternalLink=function(a){if(a&&VYa(a,window.location.href))a=hp(a),window.location.hash=a||"";else throw Error("Vi");};z.goNext=function(a){a=(a=a===void 0?null:a)?new EO(a):void 0;this.B.U(Y.vg).fireAction(a,this.C)};z.goPrev=function(){this.B.U(Y.Jh).fireAction(void 0,this.C)};z.play=function(){this.B.U(Y.wj).fireAction(void 0,this.C)}; z.setPlayTimerDelay=function(a){var c=this.D;c.O.setInterval(a);Ytb(c,a)};z.pause=function(){this.B.U(Y.PAUSE).fireAction(void 0,this.C)};z.retryLoad=function(){this.B.U(Y.Vn).fireAction(void 0,this.C)};z.bypassAndIgnoreError=function(){this.B.U(Y.hs).fireAction(void 0,this.C);this.B.U(Y.Kv).fireAction(void 0,this.C)};z.playVideo=function(a){this.B.U(Y.Qz).fireAction(a,this.C)};z.pauseVideo=function(a){this.B.U(Y.Oz).fireAction(a,this.C)};z.playAudio=function(a){this.B.U(Y.Pz).fireAction(a,this.C)}; z.pauseAudio=function(a){this.B.U(Y.Nz).fireAction(a,this.C)};z.audioAccessRequestShown=function(){this.B.U(Y.cJ).fireAction(void 0,this.C)};z.audioAccessRequestUsed=function(){this.B.U(Y.dJ).fireAction(void 0,this.C)};z.notifyEnteredSecondScreen=function(){this.D.dispatchEvent("Ka")};z.notifyLeftSecondScreen=function(){this.D.dispatchEvent("La")};z.videoAccessRequestShown=function(){this.B.U(Y.mD).fireAction(void 0,this.C)};z.videoAccessRequestUsed=function(){this.B.U(Y.nD).fireAction(void 0,this.C)};function Ezb(a,c){this.B=a;this.C=c}Ezb.prototype.getMediaId=w("B");Ezb.prototype.getTitle=w("C");function Fzb(a,c,e){this.C=a;this.B=c;this.D=e}Fzb.prototype.isPlaying=w("C");Fzb.prototype.hasError=w("B");Fzb.prototype.requiresAccess=w("D");function Gzb(a,c){this.B=a;this.C=c}Gzb.prototype.getMediaId=w("B");Gzb.prototype.getTitle=w("C");function Hzb(a,c,e){this.C=a;this.B=c;this.D=e}Hzb.prototype.isPlaying=w("C");Hzb.prototype.hasError=w("B");Hzb.prototype.requiresAccess=w("D");var Izb={1:1,2:2,3:3,4:4},Jzb={0:0,1:1,2:2},Kzb={1:1,2:2,3:3,4:4},Lzb={7:1,3:2,1:3,6:4,2:5,8:6,4:7,5:8,9:9,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:7,24:7},Mzb={1:1,2:2},Nzb={1:1,2:2,3:3,4:4,5:5,6:6,7:7};function Ozb(a,c,e,f,g,h,l,n){this.B=a;this.H=c;this.G=e;this.C=f;this.F=g;this.I=h;this.J=l;this.D=n}z=Ozb.prototype;z.getContentType=function(){return xL()?"image/svg+xml":Ema};z.containsNonSupportedTransition=y(!1);z.containsAnimationOrTransition=function(){a:{var a=this.B.Mh;for(var c=0;c0;break a}a=!1}return a}; z.containsExternalHyperlink=function(){a:{var a=this.B.Mh;for(var c=0;c9)this.onVideoLoadError(a,c,1);else this.onVideoLoadError(a,c,e)};z.onAudioLoadSuccess=r();z.onAudioStateChangeForSlide=r();z.onAudioLoadError=r();z.onVideoLoadSuccess=r(); z.onContentAnimationChange=r();z.onUserCameraActionVisibilityStateChange=r();function QO(){eA.apply(this,arguments)}B(QO,eA);function RO(a,c){Iu.call(this,a);this.B=c}B(RO,Iu);function Szb(){QO.apply(this,arguments)}B(Szb,QO);z=Szb.prototype;z.KR=function(){throw Error("Wi");};z.LR=function(){throw Error("Wi");};z.OR=y(!1);z.MR=function(){throw Error("Wi");};z.PR=y(!1);z.NR=function(){throw Error("Wi");};z.QR=y(!1);function SO(a,c,e,f,g,h,l,n,p,q,u,x,A,E){bN.call(this,a,c,e,f,g,h,l,n,p,q,u,x,A,E)}B(SO,bN);SO.prototype.ND=y("");SO.prototype.XF=function(){return this.Xe.U(Y.vg)};SO.prototype.lG=y(3);function Tzb(a,c,e,f,g,h,l,n,p,q,u,x,A,E){bN.call(this,a,c,e,f,g,h,l,n,p,q,u,x,A,E)}B(Tzb,bN);z=Tzb.prototype;z.ND=y("");z.XF=function(){return this.Xe.U(Y.vg)};z.lG=y(2);z.EU=function(){msb(this)};z.hB=y(2);function Uzb(a){this.D=a||null;this.C=new F8a;this.B=new Vzb("");this.B.next=this.B.B=this.B}z=Uzb.prototype;z.get=function(a,c){return(a=this.C.get(a))?a.value:c};z.set=function(a,c){var e=this.C.get(a);e?e.value=c:(e=new Vzb(a,c),this.C.set(a,e),a=e,a.B=this.B.B,a.next=this.B,this.B.B=a,a.B.next=a,this.D!=null&&Wzb(this,this.D))};z.shift=function(){return Xzb(this,this.B.next)};z.pop=function(){return Xzb(this,this.B.B)}; z.remove=function(a){return(a=this.C.get(a))?(a.remove(),this.C.remove(a.key),!0):!1};z.kc=function(){return this.C.kc()};z.isEmpty=function(){return this.C.isEmpty()};z.fd=function(){return this.map(function(a,c){return c})};z.getValues=function(){return this.map(si())};z.contains=function(a){return this.some(function(c){return c==a})};z.clear=function(){Wzb(this,0)};z.forEach=function(a,c){for(var e=this.B.next;e!=this.B;e=e.next)a.call(c,e.value,e.key,this)}; z.map=function(a,c){for(var e=[],f=this.B.next;f!=this.B;f=f.next)e.push(a.call(c,f.value,f.key,this));return e};z.some=function(a,c){for(var e=this.B.next;e!=this.B;e=e.next)if(a.call(c,e.value,e.key,this))return!0;return!1};z.every=function(a,c){for(var e=this.B.next;e!=this.B;e=e.next)if(!a.call(c,e.value,e.key,this))return!1;return!0};function Wzb(a,c){for(;a.kc()>c;){var e=a.B.next,f=a;e.remove();f.C.remove(e.key)}}function Xzb(a,c){a.B!=c&&(c.remove(),a.C.remove(c.key));return c.value} function Vzb(a,c){this.key=a;this.value=c}Vzb.prototype.remove=function(){this.B.next=this.next;this.next.B=this.B;delete this.B;delete this.next};function Yzb(a,c,e,f,g,h,l){QO.call(this);this.I=a;this.K=e;this.O=f;this.M=g;this.G=-1;this.H=1;var n=new Dq(255,255/(a.C/a.B)),p=kub(e),q=eub(e);this.F=new SO(e,f,a,c,n,taa,!0,g,p,q,bM,h,l,this.Ba());this.Ya(this.F);this.C=new dN(e,f,a,c,n,taa,!0,g,p,q,bM,h,l,this.Ba());this.Ya(this.C);this.B=new Tzb(e,f,a,c,n,taa,!0,g,p,q,bM,h,l,this.Ba());this.Ya(this.B);this.D=new eN(e,f,a,c,n,taa,!0,g,p,q,bM,h,l,this.Ba());this.Ya(this.D);this.J=new Uzb(5)}B(Yzb,QO);z=Yzb.prototype; z.wa=function(){QO.prototype.wa.call(this);this.F.render(this.R());this.C.render(this.R());this.B.render(this.R());this.D.render(this.R());$z(this.R(),!1)};z.Ta=function(){QO.prototype.Ta.call(this);this.Ua().V(this.K,hb,this.g3).V(this.O,"Ta",this.i3).V(this.F,Cg,this.eca).V(this.C,Cg,this.mda).V(this.B,Cg,this.kda).V(this.D,Cg,this.Eda)};z.KR=function(){return Zzb(this,this.F)};z.LR=function(){return Zzb(this,this.C)};z.OR=function(){return!!this.C.B};z.MR=function(){return Zzb(this,this.B)}; z.PR=function(){return!!this.B.B};z.NR=function(){return Zzb(this,this.D)};z.QR=function(){return!!this.D.B}; function Zzb(a,c){if(!c.B)throw Error("Wi");if(!a.M)return a=XF(c.G,c.C),c.Y.get(a.getId()).Bb();var e=TO(a,c),f=a.J.get(e);if(f)return f;if(c.I&&(c.I=!1,c.B)){f=XF(c.G,c.C);var g=c.Y.get(f.getId());csb(c.B,esb(g,c.eB()),f.getId());c.B0()}f=c.B&&c.B.B;if(!f)return fsb(c),null;f.style.width="";f.style.height="";if(g=f.xml)f=g;else if(typeof XMLSerializer!="undefined")f=(new XMLSerializer).serializeToString(f);else throw Error("Qg");fsb(c);a.J.set(e,f);return f}z.g3=function(a){this.G=a.Rh;this.H=a.position}; z.i3=function(a){if(a.index==this.G&&aG(XF(this.I,a.index))){a=this.F;var c=this.G;a.tp(c,$M(a,c,this.H));a=this.D;c=this.G;a.tp(c,$M(a,c,this.H));a=this.C;c=this.G;a.tp(c,$M(a,c,this.H));a=this.B;c=this.G;a.tp(c,$M(a,c,this.H))}};z.eca=function(){this.dispatchEvent(new RO(Xja,TO(this,this.F)))};z.mda=function(){this.dispatchEvent(new RO(Yja,TO(this,this.C)))};z.kda=function(){this.dispatchEvent(new RO(Zja,TO(this,this.B)))};z.Eda=function(){this.dispatchEvent(new RO($ja,TO(this,this.D)))}; function TO(a,c){var e=c.C;a=e>=0&&e=c||e.B.push(f)});return e}function FAb(){return new VO(dA(cA.Ra()))};function HAb(a,c){UO.call(this,a,c)}B(HAb,UO);HAb.prototype.D=y(!1);function YO(a,c){this.F=a;this.B=new Map;this.D=[];this.C=null;this.I=c;this.H=[];this.J=IAb(this);this.G=!1}YO.prototype.K=ti("C");YO.prototype.setState=function(a){this.H=a;this.J()};YO.prototype.resize=function(){this.G=!0;this.J()};function IAb(a){return FH({measure:function(c){a.F.pb()&&(c.bP=oAb(a.H,MO(a.F)))},vc:function(c){c=c.bP;a.F.pb()&&(a.G&&(a.G=!1,er(a.C),a.B=new Map,a.D=[]),JAb(a,c),KAb(a),LAb(a,c),MAb(a,c))}},a)} function JAb(a,c){NAb(a,c).forEach(function(e){var f=a.B.get(e);a.C.removeChild(f);a.B.delete(e)})}function KAb(a){a.D.forEach(function(c){a.C.removeChild(c)});a.D=[]}function MAb(a,c){OAb(a,c).forEach(function(e){var f=PAb(e,a.I);f&&(a.B.set(e.getId(),f),a.wn(f))})}function LAb(a,c){c.filter(function(e){return!e.C}).forEach(function(e){if(e=PAb(e,a.I))a.D.push(e),a.wn(e)})}YO.prototype.wn=function(a){this.C.appendChild(a)}; function NAb(a,c){var e=QAb(c),f=[];a.B.forEach(function(g,h){e.has(h)||f.push(h)});return f}function OAb(a,c){return c.filter(function(e){return e.C}).filter(function(e){return!a.B.has(e.getId())})}function QAb(a){var c=new Map;a.forEach(function(e){c.set(e.getId(),e)});return c};function PAb(a,c){if(a.isEmpty())return null;a=WO(a);var e=a.shift(),f=e.color;e=e.point;if(a.length===0)return RAb(e,c,f);var g=new PD;QD(g,e.x,e.y);a.forEach(function(h){h=h.point;g.jw(h.x,h.y)});return SAb(g,f,c)}function SAb(a,c,e){e=fK(e,jg);eK(e,{stroke:c,"stroke-width":8,"stroke-linejoin":"round","stroke-linecap":"round"});e.setAttribute("d",ugb(a));return e}function RAb(a,c,e){c=fK(c,Xc);eK(c,{cx:a.x,cy:a.y,r:4,fill:e});return c};function TAb(a,c,e,f,g,h,l,n,p){eA.call(this,p);this.K=a;this.J=this.C=null;this.S=c;this.O=e;this.D=f;this.M=h;this.H=l;this.B=n;this.I=this.F=!1;this.G=new uB;L(this,this.G);this.B.U(Y.Wn).Na(!0);this.B.U(Y.lq).Na(!0);this.B.U(Y.nq).Na(!0);this.B.U(Y.mq).Na(!0);this.B.U(Y.Tz).Na(!0);this.B.U(Y.mq).subscribe(Yb,this.jV,this)}B(TAb,eA);z=TAb.prototype; z.wa=function(){eA.prototype.wa.call(this);var a=mmb('');a.style.lineHeight=Wf;this.Ha=this.C=a;a=this.Ba();this.J=fK(a,"g");this.C.appendChild(this.J);this.H.K(this.J);this.Ya(this.O,!0);this.C.setAttribute(k,"punch-slide-markup-surface");eK(this.C,{"pointer-events":Vf}); this.TR()};z.Ta=function(){eA.prototype.Ta.call(this);this.Ua().V(this.K,Ng,this.TR);this.Ua().V(this.M,hb,this.n3)};function zAb(a){YA(kr(a.R()),"cursor-none");vB(vB(vB(a.G,a.B.U(Y.Wn),function(){a.I=!0;a.F=!0}),a.B.U(Y.lq),function(c){a:{c=c.data;var e=a.D.HW();if(e){var f=MO(a.S),g=UAb(c,f).point;f=UAb(e,f).point;e=g.x-f.x;g=g.y-f.y;if(Math.sqrt(e*e+g*g)<4)break a}c.D=a.I;a.I=!1;a.F&&(a.D.RR(c),VAb(a))}}),a.B.U(Y.nq),function(){a.F=!1;a.D.UL()})} z.disable=function(){this.R()&&nA(kr(this.R()),"cursor-none");this.F=!1;gQa(this.G)};z.oa=function(){this.B.U(Y.mq).YS(Yb,this.jV,this);eA.prototype.oa.call(this)};function VAb(a){a.H.setState(a.D.HM())}z.n3=function(a){this.D.UL(a.YN);VAb(this)};z.TR=function(){var a=this.K.getSize();if(a&&this.C){var c=a.width;a=a.height;eK(this.C,{width:c+Dg,height:a+Dg,viewBox:"0 0 "+c+" "+a})}this.H.resize()};z.jV=function(){this.D.SR();VAb(this)}; function UAb(a,c){return new kAb(new Bq(a.C*c.width+c.left,a.B*c.height+c.top),a.color)};function WAb(a,c,e,f,g){K.call(this);this.G=new hy(this.Iea,5E3,this);this.F=new Tu(this);L(this,this.F);this.H=this.C=null;this.J=a;this.I=c;this.B=e;this.K=f;this.D=g}B(WAb,K);z=WAb.prototype;z.initialize=ti("C");z.o3=function(a){a.B?this.G.start():this.G.stop()};z.Iea=function(){this.D.U(Y.Tz).fireAction();this.B.B=!1;this.B.setVisible(!1)};function XAb(a){var c;((c=a.J.Mq())==null?0:c.isFullScreen())&&a.G.start()} z.WR=function(){var a;(a=this.H)==null||a.Na(!1);a=this.C.R();this.F.V(a,rG.uw,this.LK).V(a,Jf,this.UR).V(a,rG.vK,this.VR).V(this.C,"H",this.UR).V(this.C,"I",this.VR).V(a,fd,YAb).V(this.J,"Da",this.o3);this.D.U(Y.Wn).fireAction();XAb(this)};z.disable=function(){var a;(a=this.H)==null||a.Na(!0);Vu(this.F);this.G.stop();this.B.B=!1;this.B.setVisible(this.B.D())};z.UR=function(){var a=this.C.R();this.D.U(Y.nq).fireAction();this.F.Cb(a,rG.uw,this.LK);this.B.B=!1}; z.VR=function(){var a=this.C.R();this.D.U(Y.Wn).fireAction();this.F.V(a,rG.uw,this.LK)};z.LK=function(a){XAb(this);var c=MO(this.I);a=new Hxb((a.clientX-c.left)/c.width,(a.clientY-c.top)/c.height,Date.now(),this.K.B);this.D.U(Y.lq).fireAction(a);a=mAb(a,MO(this.I));fAb(this.B,new eAb(a));this.B.B=!0};function YAb(a){a.preventDefault()};function ZAb(a,c,e,f,g,h){K.call(this);this.F=new hy(this.Jea,5E3,this);this.G=new Tu(this);L(this,this.G);this.H=this.D=null;this.I=a;this.J=c;this.C=e;this.K=f;this.M=g;this.B=h}B(ZAb,K);z=ZAb.prototype;z.initialize=ti("D");z.p3=function(a){a.B?this.F.start():this.F.stop()};z.Jea=function(){this.B.U(Y.Tz).fireAction();this.C.setVisible(!1)};function $Ab(a){var c=a.I.Mq();c&&c.isFullScreen()&&a.F.start()} z.WR=function(){var a;(a=this.D)!=null&&(YA(a.G,yea),a.Pa=!1);var c;(c=this.H)==null||c.Na(!1);a=this.D.R();this.G.V(a,rG.Us,this.q3).V(a,rG.uw,this.r3).V(a,rG.Vs,this.dda).V(a,rG.gT,this.bda).V(a,rG.vK,this.ada).V(a,fd,aBb).V(this.I,"Da",this.p3);$Ab(this);this.K.dispatchEvent("jb")};z.disable=function(){var a;(a=this.D)!=null&&(nA(a.G,yea),a.Pa=!0);var c;(c=this.H)==null||c.Na(!0);Vu(this.G);this.F.stop();this.C.setVisible(!1);this.K.dispatchEvent("kb")};z.ada=function(a){(a.Gd.buttons&1)>0&&this.B.U(Y.Wn).fireAction()}; z.bda=function(){this.C.setVisible(!1);this.B.U(Y.nq).fireAction()};z.r3=function(a){$Ab(this);a=bBb(this,a);this.B.U(Y.lq).fireAction(a);a=mAb(a,MO(this.J));fAb(this.C,new eAb(a));this.C.setVisible(!0)};z.q3=function(a){(a.Gd.buttons&1)>0&&this.B.U(Y.Wn).fireAction()};z.dda=function(a){a=bBb(this,a);this.B.U(Y.lq).fireAction(a);this.B.U(Y.nq).fireAction()};function bBb(a,c){var e=MO(a.J);return new Hxb((c.clientX-e.left)/e.width,(c.clientY-e.top)/e.height,Date.now(),a.M.B)}z.oa=function(){this.disable()}; function aBb(a){a.preventDefault()};function ZO(a,c,e,f,g,h,l,n,p,q,u,x,A,E){KN.call(this,a,c,f,g,h,l,p,n,q,u,x,A,E);this.fb=e;this.S=this.J=null}B(ZO,KN);ZO.prototype.wa=function(){KN.prototype.wa.call(this);RM(this.R(),Rka);var a=this.Ba();this.S=a.wa(ab,{"class":"punch-viewer-svgpage-svgcontainer"});uxa(this.R(),this.S,1);if(this.fb){var c=a.wa(ab,{"class":"punch-viewer-svgpage-a11yelement"});VA(c,this.fb);RA(c,Te);nr(c,!0);a.pfa(c,this.S)}MN(this,this.J)}; ZO.prototype.ib=function(a){this.J&&this.bb.uj(this.J);(this.J=a)&&this.S&&(js&&(this.Fb.R().style.width=Ca),this.bb.appendChild(this.S,a))};ZO.prototype.resize=function(a){this.J.style.width=a.width+Dg;this.J.style.height=a.height+Dg;this.zC(0)};function cBb(a,c){this.B=a;this.D=c}cBb.prototype.C=function(){return Array.from(this.B.B.values())};cBb.prototype.Mj=function(){var a=this.B.Eo();if(!a)throw Error("Xi");return a};function dBb(a,c,e,f,g,h,l,n,p,q,u,x,A,E,F,I){var Q=new Ix;this.qa=a;this.H=c;this.K=e;this.M=f;this.S=g;this.G=h;this.F=l;this.xa=n;this.Y=p;this.va=q;this.C=u;this.D=x;this.O=A;this.J=Q;this.I=E;this.B=F;this.ea=I}dBb.prototype.create=function(a,c,e,f,g){g=g===void 0?[]:g;c=eBb(this,a,c,e===void 0?!1:e,f===void 0?null:f,g);e=this.qa;a=a.getId();xxb(e,a,c);return c}; function eBb(a,c,e,f,g,h){h=h===void 0?[]:h;var l=u4a(e&&e.C?e.C:null,c);e=a.xa(l);return axb(a.G,c,function(n){return a.H(n,l)},a.D,a.F,a.K,a.M,a.S,e,a.Y,a.va,a.C,a.J,a.O,a.I,a.B,a.ea,f,g,h)};function fBb(a){wxb.call(this,a)}B(fBb,wxb);function gBb(a,c){Iu.call(this,"mb");this.direction=a;this.B=c}B(gBb,Iu);function hBb(a,c,e,f){Wu.call(this);this.D=!0;this.I=c;this.J=e;this.H=f;this.bb=Rq(a);this.F=new Tu(this);L(this,this.F);this.F.V(a,Lma,this.oea).V(a,Wh,this.s3).V(a,Xh,this.qea).V(a,Yh,this.t3);this.C=this.G=null;this.B=!1}B(hBb,Wu);z=hBb.prototype;z.t3=function(a){iBb(a)&&!jBb(this)&&(this.B=this.D,this.G=this.C=kBb(a))};z.qea=function(a){if(!iBb(a)||jBb(this))this.B=!1;else{var c=!0;this.B&&(this.C=kBb(a),this.H&&lBb(this)==0&&mBb(this)!=0&&(c=!1));c&&a.preventDefault()}}; function jBb(a){var c=a.bb.getDocument().documentElement;a=sr(a.bb);var e=c.offsetHeight/a.innerHeight;return c.offsetWidth/a.innerWidth>1.1||e>1.1}z.s3=function(a){if(this.B){this.B=!1;var c=lBb(this);this.H||(c|=mBb(this));c&&this.dispatchEvent(new gBb(c,a.timeStamp))}};z.oea=function(){this.B=!1};function iBb(a){var c=a.Gd;return a.pointerType==Vh?!!c.isPrimary:c.touches&&c.touches.length==1} function kBb(a){var c=a.Gd;if(a.pointerType==Vh)return new Bq(c.pageX,c.pageY);a=c.touches[0];return new Bq(a.pageX,a.pageY)}function lBb(a){var c=a.C.x-a.G.x;if(Math.abs(c)>=a.I){if(c>0)return 8;if(c<0)return 4}return 0}function mBb(a){var c=a.C.y-a.G.y;if(Math.abs(c)>=a.J){if(c>0)return 2;if(c<0)return 1}return 0}z.oa=function(){this.F.dispose();Wu.prototype.oa.call(this)};z.Na=ti("D");z.isEnabled=w("D");function nBb(a,c,e,f,g,h,l,n,p,q,u,x,A,E,F,I,Q,da,fa,ma,va){va=va===void 0?!1:va;eA.call(this,fa);this.F=a;this.K=c;this.C=e;this.Ja=f;this.Ia=g;this.I=l;this.rc=n;this.B=[];this.za=this.Xa=null;this.fb=p;this.Nb=q;this.Tb=u;this.va=FC(new EC,17).build();this.G=null;this.H=h;this.Aa=this.H.B;this.ea=this.qa=this.xa=null;this.mc=!!ma;this.tb=x;this.ib=I;this.J=Q;this.Fb=da;this.Za=!1;this.S=F;if(this.D=A)L(this,this.D),this.Ua().V(this.D,"qa",this.gZ);this.rb=0;this.Ga=-1;this.Pa=!0;this.M=null;this.Eb= E;this.O=null;this.Y=new Lx;L(this,this.Y);this.Gb=va}B(nBb,eA);z=nBb.prototype;z.wa=function(){var a=this.Ba(),c=a.wa(ab,"punch-viewer-container");$A(c,tha,this.Fb);this.Ha=c;var e=["punch-viewer-content"];this.C.ea&&this.Nb&&e.push("punch-viewer-content-fixed");this.G=a.wa(ab,e);c.appendChild(this.G);if(this.D){a=this.D;a.D=this.G;c=a.D;for(var f in a.J)e=a.B[f],e.pb()||e.render(c),delete a.J[f]}this.Ya(this.H,!0);aq(this.ib,Wja)&&Wz(this.G,Ca,Ca)};z.Ib=w("G"); z.Ta=function(){eA.prototype.Ta.call(this);this.Ua().V(this.R(),Zc,this.XW).V(this.Ia,Zc,this.XW).V(this.C,hb,this.x3).V(this.Ja,"Ta",this.z3).V(this.Ja,"Sa",this.y3).V(this.C,"Ma",this.E3).V(this.C,"Ba",this.v3).V(this.C,"Ca",this.u3).V(this.C,"Ha",this.D3).V(this.C,"Ga",this.B3).V(this.C,"Ja",this.C3).V(this.C,"Ia",this.A3).V(this.C,"Ka",this.rca).V(this.C,"La",this.Tca).V(this.R(),ef,this.w3,!0);this.M&&this.M.dispose();this.fb&&(this.M=new hBb(this.R(),150,50,!0,this.Ia),this.Ua().V(this.M,"mb", this.dea));if(this.C.Nf){this.Xa=new dlb;var a=this.za=new elb(this.Wa(),null,new o4a(new Dx,this.Xa,this.ib),100);a.Jd.V(this