qma);a=c.Xb(pgg,a);this.Tq.Sb(a);c=new Tvi;c.Sb(a);this.xa(c)}; D.Sp=function(a){var c=this.Ma(),e=c.Xb(ogg,a),f=c.Xb(pgg,a);return c.Xb(mgg,a)!=null&&e!=null&&f!=null&&oJ.prototype.Sp.call(this,a)};D.Wa=function(){oJ.prototype.Wa.call(this);var a=this.Tq.Ba();this.bb().listen(a,ph,this.tsc).listen(a,Tc,this.ssc).listen(this.D,yd,this.t$c)};D.getValue=function(){return this.Tq.getValue()};D.setValue=function(a){this.Tq.setValue(a)};D.jo=function(){return this.Tq.Ba()};D.tsc=function(){eJ(this.F,ngg)};D.ssc=function(){gJ(this.F,ngg)};D.t$c=function(){Zvi(this.Tq)}; D.fb=function(){delete this.F;delete this.D;delete this.Tq;oJ.prototype.fb.call(this)};function awi(a,c,e){e=e||bwi.Cb();NU.call(this,null,e,c);this.D7=a!==void 0?a:!1}Nm(awi,NU);var cwi={DUd:!0,mve:!1,pve:null};D=awi.prototype;D.VS=null;D.If=x(LO);D.Yg=function(){return this.D7==1};D.Ke=function(a){a!=this.D7&&(this.D7=a,this.Ue().jUa(this.Ba(),this.D7))};D.pb=function(a){if(this.wc()){var c=this.Ah();this.Ef();this.VS=a;this.Wa();c&&this.La().focus()}else this.VS=a};D.toggle=function(){this.Ke(this.D7?!1:!0)}; D.Wa=function(){awi.Sc.Wa.call(this);if(this.PAb()){var a=this.bb();this.VS&&a.listen(this.VS,yd,this.fyb).listen(this.VS,jj,this.kw).listen(this.VS,ij,this.IM).listen(this.VS,ej,this.Ui).listen(this.VS,kj,this.Ap);a.listen(this.Ba(),yd,this.fyb)}a=this.La();this.VS&&a!=this.VS&&Xo(yT(a))&&(this.VS.id||(this.VS.id=VR(this,"lbl")),fK(a,aQ,this.VS.id))}; D.fyb=function(a){a.stopPropagation();var c=this.D7?qTg:Zag;this.isEnabled()&&!a.target.href&&this.dispatchEvent(c)&&(a.preventDefault(),this.toggle(),this.dispatchEvent(sd))};D.Ai=function(a){a.keyCode==32&&(this.Qp(a),this.fyb(a));return!1};function bwi(){}Nm(bwi,JU);Dm(bwi);D=bwi.prototype;D.Oa=function(a){var c=a.Ma().Oa(Qb,this.sC(a).join(" "));a=a.If();this.jUa(c,a);return c}; D.Sb=function(a,c){c=bwi.Sc.Sb.call(this,a,c);var e=Kfe(c),f=!1;jp(e,dwi(this,null))?f=null:jp(e,dwi(this,!0))?f=!0:jp(e,dwi(this,!1))&&(f=!1);a.D7=f;fK(c,ud,f==null?X4a:f==1?Dl:hh);return c};D.BJ=B(td);D.jUa=function(a,c){if(a){var e=dwi(this,c);dJ(a,e)||(Nr(cwi,function(f){f=dwi(this,f);hJ(a,f,f==e)},this),fK(a,ud,c==null?X4a:c==1?Dl:hh))}};D.Yd=B("goog-checkbox"); function dwi(a,c){a=a.rK();if(c==1)return a+"-checked";if(c==0)return a+"-unchecked";if(c==null)return a+"-undetermined";throw Error("tR`"+c);}MU("goog-checkbox",function(){return new awi});function ewi(){}H(ewi,bwi);ewi.prototype.Yd=B(sjg);ewi.prototype.Oa=function(a){a=bwi.prototype.Oa.call(this,a);xL(a,sjg);return a};ewi.prototype.Sb=function(a,c){bwi.prototype.Sb.call(this,a,c);xL(c,sjg);return c};ewi.Cb=function(){return HF(ewi)};function fwi(a,c,e){e=e===void 0?ewi.Cb():e;awi.call(this,c,a,e)}H(fwi,awi);fwi.prototype.Bz=function(a,c){var e=this;c||(c=new aV,this.xa(c));cV(c,this,a,this.afa(),function(){return!e.Yg()});a.jd(qy,function(f){e.Ke(f.newValue)})};fwi.prototype.afa=function(){return gwi};var gwi={enabled:!0,selected:!0,visible:!0};function hwi(a,c){return U(Ha+V(a)+'"'+(VJ(c)?yN+V(c)+'"':"")+' role="region" aria-live="polite" aria-atomic="true">')};function iwi(a,c){var e=a.f_c,f=a.vId,g=a.HId;a=a.eSa;var h='"+(g?'':"")+'
');f&&(h+='
"))};function jwi(a,c){kwi(a)&&(a.selectionStart=c)}function lwi(a,c){var e=0,f=0;kwi(a)&&(e=a.selectionStart,f=c?-1:a.selectionEnd);return[e,f]}function mwi(a,c){kwi(a)&&(a.selectionEnd=c)}function kwi(a){try{return typeof a.selectionStart==zj}catch(c){return!1}};function nwi(a){if(a){a.focus();var c=a.value.length;kwi(a)&&(a.selectionStart=c,a.selectionEnd=c)}};var owi=rm([Vl]);function aW(a,c,e,f){QU.call(this,a,pwi.Cb(),c);this.D=e||0;this.F=f||0;this.AS=!1}Nm(aW,QU);D=aW.prototype;D.getStyle=x("D");D.Jb=x("F");D.Fg=function(a){this.D!=a&&(this.D=a,qwi(this))};function rwi(a,c){a.F!=c&&(a.F=c,qwi(a))}D.Mi=function(a){this.yia(a);var c=this.Ba();c&&(this.AS?vU(c,a):a?c.title=a:c.removeAttribute(tl))};D.Ab=function(a){this.isEnabled()!=a&&(aW.Sc.Ab.call(this,a),qwi(this))};D.focus=function(){var a=this.La();try{a.focus()}catch(c){}}; D.hV=function(a){aW.Sc.hV.call(this,a);swi(this,!1)};D.Ui=function(a){aW.Sc.Ui.call(this,a);this.isEnabled()&&swi(this,!0)};D.Ap=function(a){aW.Sc.Ap.call(this,a);this.isEnabled()&&swi(this,!0)};function swi(a,c){a.Ba()&&hJ(a.Ba(),"jfk-button-clear-outline",c)}function qwi(a){a.Ba()&&twi(a.Ue(),a)} function pwi(){this.wa=this.Yd()+"-standard";this.J=this.Yd()+"-action";this.va=this.Yd()+"-primary";this.V=this.Yd()+oUf;this.W=this.Yd()+"-flat";this.ma=this.Yd()+"-narrow";this.ea=this.Yd()+"-mini";this.R=this.Yd()+"-contrast"}Nm(pwi,LU);pwi.Cb=function(){return HF(pwi)};pwi.prototype.D=function(a,c,e){a&&e.Fg(a);c&&rwi(e,c)};pwi.prototype.Yd=B(iAg); pwi.prototype.Oa=function(a){var c=a.Ma(),e=cK(gV,{disabled:!a.isEnabled(),checked:a.Yg(),style:a.getStyle(),title:a.Ws(),Y6:a.AS,value:a.getValue(),width:a.Jb()},void 0,c);c.append(e,a.He());this.Sb(a,e);return e}; pwi.prototype.Sb=function(a,c){pwi.Sc.Sb.call(this,a,c);this.O||(this.O=Kjh(this.wa,Lm(this.D,0,null),this.J,Lm(this.D,2,null),this.va,Lm(this.D,3,null),this.V,Lm(this.D,1,null),this.W,Lm(this.D,4,null),this.ea,Lm(this.D,5,null),this.R,Lm(this.D,6,null),this.ma,Lm(this.D,null,1)));for(var e=Kfe(c),f=0;f=0?Mwi(e.slice(0,a+1)):0))}}function Mwi(a){return a.filter(function(c){return c instanceof qV}).length}function Jwi(a){a.mC(a instanceof qV?Fj:tQg)}D.uf=function(a,c){cW.Sc.uf.call(this,a,c);this.isOpen()?this.Hd().Lo(this.xi()):Lwi(this)};MU("goog-select",function(){return new cW(null)});function Nwi(a,c,e){cW.call(this,a,c,bW.Cb(),e);this.F=new Owi(1E3);this.xa(this.F)}Nm(Nwi,cW);Nwi.prototype.Oa=function(){Nwi.Sc.Oa.call(this);eJ(this.Ba(),"jfk-select")}; Nwi.prototype.RK=function(){if(this.Hd().wc()){var a=this.Tna(),c=Jji(this)?8:12,e=this.Hd().Ba(),f=!1;this.Hd().isVisible()||(f=!0,e.style.visibility=Eh,lt(e,!0));var g=Math.max(this.xi(),0);g=this.Hd().Hc(g);var h=0;if(Lji(this)){var k=e.scrollTop;e.style.overflowY=am;e.style.height=Lc;f||(h=0,g&&(h=ft(g.Ba()).y-ft(a).y),h=k-h)}f=g?g.Ba().offsetTop:0;k=X3g(a);var l=0;k&&(l=X3g(e),l=Hr(k.top,l.top+2,l.bottom-2)-k.top);HS(a,c,e,Jji(this)?8:12,new Kr(0,l-f),null,65|(Lji(this)?32:132),null);Lji(this)&& (c=0,g&&(c=ft(g.Ba()).y-ft(a).y),e.style.overflowY=Lc,e.scrollTop=h+c);this.Hd().isVisible()||(lt(e,!1),e.style.visibility=am)}};Nwi.prototype.Tna=function(){return this.La()}; Nwi.prototype.Ai=function(a){var c=Nwi.Sc.Ai.call(this,a);return a.type!=pi||!this.Hd()||a.altKey||a.ctrlKey||a.metaKey||a.vP?c:this.isOpen()||a.keyCode!=32?c?(!this.isOpen()||a.keyCode!=38&&a.keyCode!=40||Pwi(this),!0):pCh(a.keyCode)?(a=a.charCode?String.fromCharCode(a.charCode):" ",this.F.add(a),c=this.F.D,this.F.F?Qwi(this,a,!1):Qwi(this,c,c.length>1),!0):!1:(this.F.J(),c)};function Pwi(a){var c=pV(a.Hd());c&&jkh(c.Ba(),a.Hd().Pc())} function Qwi(a,c,e){var f=a.isOpen()?a.Hd().Qr:a.xi();c=new RegExp("^"+P3g(c),"i");e||++f;f=f<0?0:f;for(var g=a.Hd(),h=g.Qc(),k=0;k0)}function Zwi(a){a.O&&Os(a.O.D);a.H&&Lvi(a.H);Xwi(a,!1)}D.usc=function(){this.Za||Twi(this,!1,!0)}; D.ecd=function(){var a=new Kuh(this.F.value,!1,!1,this.J.Yg(),void 0,this.V.Yg(),this.R.Yg(),this.D.Bl().Aa()),c=(new RC).Mb(1).oa();this.Ca.qa(eCa).xb(a,c)};D.QKa=function(a){if(this.Ra){var c=this.Ma();a?c.appendChild(this.Ra,c.Oa("B",null,c.createTextNode(a))):c.dh(this.Ra)}};D.dyb=function(){Twi(this,!1)};D.Ka=function(a){FU.prototype.Ka.call(this,a);a&&nwi(this.F)};function $wi(a,c){a.wc()||a.render();if(c!=null){if(!a.F)throw Error("uR");a.Ua.setValue(c)}a.Ka(!0)} function Swi(a,c){a.D&&(c||dW(a.D,0),lt(a.Na,c))}D.fb=function(){delete this.O;delete this.F;delete this.J;delete this.W;delete this.ea;FU.prototype.fb.call(this)};function axi(a,c,e,f,g,h,k){Rwi.call(this,a,c,e,f,g,h,k);this.ob=!1}H(axi,Rwi);axi.prototype.c8a=function(a){var c=this;this.D&&qt(this.Na)&&this.D.Bl().Aa()===1&&!this.ob?(zwi("Replace across all tabs?","This will replace values across all tabs. Are you sure?",function(){return void Rwi.prototype.c8a.call(c,a)},null),this.ob=!0):Rwi.prototype.c8a.call(this,a)};axi.prototype.Xxb=function(a){this.ob=!1;Rwi.prototype.Xxb.call(this,a)};function bxi(a,c){oJ.call(this,c);this.W=new QU(null,RU.Cb(),c);this.eb(this.W);this.Ua=null;Pei(this);this.V=this.Da=this.Kb=this.R=null;this.Qf=!1;this.jc=a}H(bxi,oJ);D=bxi.prototype;D.Oa=function(){var a=this.Ma();this.R=a.Oa(Wa,Ckg);aK(this.R,this.Ovb());this.R.setAttribute(xk,Te);this.Uh()&&(this.R.dir=Ak);xL(this.R);var c=a.Oa(Wa,"docs-slidingdialog-holder",this.R);this.Kb=a.Oa(Wa,"docs-slidingdialog-wrapper",c);this.Zb(this.Kb)}; D.Wa=function(){oJ.prototype.Wa.call(this);var a=this.Ma(),c=a.Xb(Dkg,this.Ba());this.W.Sb(c);this.W.Ab(!0);c=a.Xb(Ckg,this.Ba());if(!c)throw Error("vR");this.Ua=new lV(c,a);this.xa(this.Ua);mV(this.Ua);this.bb().listen(this.W,mc,this.xsc).listen(this.Ba(),qi,this.ysc).listen(this.Ba(),ti,this.zsc);this.jc.qa(bKa).subscribe(mc,this.UF,this);this.jc.qa(Uf).subscribe(mc,this.UF,this)};D.xsc=function(){this.UF()};D.UF=function(){this.Ka(!1)};D.d9b=function(){this.R.style.display=tj}; D.ysc=function(a){this.Qf&&a.keyCode==27&&(this.UF(),a.preventDefault())};D.zsc=function(a){this.Qf&&a.keyCode==27&&a.stopPropagation()};D.wL=x(Jb); D.Ka=function(a){if(this.Ba()&&a!=this.Qf){if(this.Qf=a)this.R.style.display="",this.dispatchEvent(uP),this.Da||(this.Da=new mEh(this.R,.1,{"margin-top":"-40px"},{"margin-top":"0"},{property:xMg,duration:.1,timing:Fpg,delay:0})),this.Da.play();else{if(!this.V){var c=new mEh(this.R,.1,{"margin-top":Aa},{"margin-top":"-40px"},{property:xMg,duration:.1,timing:Fpg,delay:0});this.V&&this.bb().De(this.V,$g,this.d9b);this.V=c;this.bb().listen(this.V,$g,this.d9b)}this.V.play()}this.dispatchEvent(a?Ej:zd)}}; D.rHa=x(Jb);D.fb=function(){Iw(this.Da);delete this.Da;Iw(this.V);delete this.V;Iw(this.W);delete this.W;delete this.R;delete this.Kb;oJ.prototype.fb.call(this)};function cxi(){return U(Ha+V("docs-loading-animation")+ia+V("docs-loading-animation-dot-1")+QN+V("docs-loading-animation-dot-2")+QN+V("docs-loading-animation-dot-3")+PN)};function dxi(a,c){return U('
"+(VJ(a)?sT(a):"")+iO+V("docs-slidingdialog-close-container")+" "+V(SP)+" "+V(JP)+n+Bgi({fn:Dkg})+fO)};function exi(a,c,e,f,g,h){f=f===void 0?!1:f;g=g===void 0?e_f:g;bxi.call(this,c,e);this.ea=null;this.wa=(new RC).Mb(4).oa();this.za=a;this.F=new aW(null,e);this.F.Bu(1);this.F.Oi(32,!1);this.eb(this.F);this.H=new aW(null,e);this.H.Bu(3);this.H.Oi(32,!1);this.eb(this.H);this.O=new aW(null,e);this.O.Ka(f);this.eb(this.O);this.va=this.ma=null;this.D=new $vi(g,this.Ma());this.eb(this.D);(this.J=h?new Jvi(h):null)&&this.eb(this.J)}H(exi,bxi);D=exi.prototype; D.Ovb=function(){var a=!!this.J,c=rgf();a=Ha+V("docs-findbar-content")+" "+V(JP)+'">
'+cxi()+'
1;a.F||(a.F=new axi(a.Ua,a.Da,vxi,f,e,a.fe,new Xed(a.ib,a.za,new Xrf)),e&&a.ob.Pa(a.ma.Pn(),function(h){Qu(h.D).includes(nda)&&Swi(a.F,a.Fa.Aa().Do()>1)}),a.Ja.Bo(a.F));var g;a.F.isVisible()||(g=!0);$wi(a.F,c);g&&(a.H?a.J.Pa(BOe(a.R.O),function(){return void pxi(a)}):a.J.Pa(a.R.Qfa(),function(){return void pxi(a)}),a.W.listen(a.F,zd,function(){lJ(a.W);kx(a.J);rxi(a)}),sxi(a),c&&kxi(a,c,Wwi(a.F),function(h,k,l,p,q){return void Ywi(a.F, h,k,l,p,q)}))}function wxi(a,c){a.D&&a.D.wL()?a.D.D.getValue()!=""?nxi(a,new Kuh(a.D.D.getValue(),c,!1,!1,null,!1,!0,a.Ca?1:0,!0)):ixi(a.D):qxi(a)}function xxi(a,c){yxi(a.O,c);Vwi(a.F)?kxi(a,c.DC,c.JG,function(e,f,g,h,k){return void Ywi(a.F,e,f,g,h,k)}):Zwi(a.F)}jxi.prototype.Eb=function(){var a=this.D.D.getValue();uxi(this,a)};function zxi(a,c,e){a.F&&(kxi(a,c.DC,c.JG,function(f,g,h,k,l){return void Ywi(a.F,f,g,h,k,l)},e<=0),a.H?a.O.oq():a.V.oq(),nxi(a,c))} function rxi(a){Rei(Oei.Cb())||a.Sa.Ld(2);var c=a.R.Dta();c&&a.ea.Mh(CC(c.start,c.end+1),!0,!1);a.H?a.O.reset(!0):a.V.reset(!0)}jxi.prototype.Za=function(a){this.va.D=a.F;this.H?oxi(this.O,new Kuh(this.va.D,a.D,a.H,!1,null,!1,!0,this.Ca?1:0,a.J)):X_h(this.V,this.va.D,a.D,!1,a.H,!1,!0,void 0,!0)};function sxi(a){a.Ra.Ha(Zeg)&&a.J.Pa(a.wb,function(c){c&&a.F&&a.F.isVisible()&&a.F.Ka(!1)})}jxi.prototype.fb=function(){Jw([this.D,this.F]);T.prototype.fb.call(this)};var vxi=[{C3b:1,QKa:rca},{C3b:0,QKa:Yda}];function Axi(a,c,e,f,g,h,k,l,p,q,u){fT.call(this,a);this.Da=!1;this.Na=c;this.Ja=e;this.Ca=p;this.xa(this.Ca);this.Fa=l;this.Sa=g;this.W=f;this.wa=h;this.J=q;this.za=new hx;this.xa(this.za);this.Da=!0===u;a=new R_h(k,BOe(g.O));this.xa(a)}H(Axi,fT); Axi.prototype.ye=function(a,c,e){var f=this,g=this.Da?[DE(2,0),BLg]:[DE(2,0)];EE(EE(a,KE(LE(JR(e,function(h){var k=Juh(f.Ca,h),l=k.D.length;Bxi(f,f.R,(h0h(),i0h),k,h,l)}).D($f),[DE(2,0),BLg]))),KE(LE(JR(e,function(h){var k=f.V.ir(new wG(Td,"findAndReplaceAll")),l=f.lb().Ha("kix-esldfara");l&&Cxi(f.Fa);var p=h.Ptb||"",q=new d0h(f.W,h.DC,p,h.JG,h.aM,h.ZL);if(h.J===1){p=f.Na.Aa();p=Dxi(p,q);var u=0;for(w in p)u=u+p[w].length|0;var w=u;Bxi(f,f.qc,(Exi(),Fxi),q,h,w)}else q=Gxi(f.Ja.Aa(),q),q=new Huh(q, p,!1),w=q.D.length,Bxi(f,f.R,(h0h(),i0h),q,h,w);if(l)for(h=f.Fa.D.getValues(),l=0;l0:c<0):f?g>e:g0){e=!0;break}c.put(BLg,e);return c};function Vxi(){}H(Vxi,EI);Vxi.prototype.sH=function(a){return new Wxi(a)};function Wxi(a){Exi();nF.call(this,zlg,a)}var Fxi;H(Wxi,kV);Wxi.prototype.Vc=function(a){var c=Dxi(this.getContext().ub().Aa(),a),e=0,f;for(f in c){var g=c[f];if(g.length>0){var h=CZb(a.O||"");qF(this,new nXh(Tii(this,f),g,h,null,null))}e=e+g.length|0}this.D=new e0h(e)};function Exi(){Exi=r();Fxi=new Vxi};function Xxi(a,c,e,f,g,h,k,l,p,q){Axi.call(this,a,c,e,f,g,h,k,l,p,q)}H(Xxi,Axi);Xxi.prototype.Td=function(a){Axi.prototype.Td.call(this,a);this.D.qa(cg).subscribe(mc,this.ea,this);this.D.qa(bKa).subscribe(mc,this.ea,this);this.lb().Ha(Zeg)&&this.D.qa(kf).subscribe(mc,this.ea,this);this.lb().Ha(Hxa)&&this.D.qa(df).subscribe(mc,this.ea,this);a instanceof Mdi&&(a=a.O)&&a.Xj(this.D.qa(fCa));this.J.Sa=this.va};Xxi.prototype.ea=function(){var a=this.J;a.D&&a.D.UF()}; Xxi.prototype.fb=function(){Iw(this.J);Axi.prototype.fb.call(this)};function Yxi(a,c,e,f){fT.call(this,a);this.W=c;this.ea=e;this.wa=f}H(Yxi,fT); Yxi.prototype.ye=function(a,c,e){var f=this,g=[nQg,AQ,jd,fQ];IE(IE(IE(IE(a,LE(ME(UE(e,($Yh(),aZh)),oCa,function(h){return new WYh(Hl,h,new PH,null)}),g)),LE(UE(e,(p0h(),q0h)).F(qCa,new j0h(1)),g)),LE(UE(e,q0h).F(pCa,new j0h(-1)),g)),LE(ME(UE(e,(A0h(),B0h)),mCa,function(h){h=rph(h);v8g(f.W,h.D);var k=f.ea,l=h.F;if(l){var p=new by;Mq(p,64,l.yb());l=vD((new RC).Mb(4),p).oa();k.Db(29341,l)}k=f.wa.lta(h.D);return new t0h(h.D,k,h.F)}),g));a=d8g(e).concat(g);HE(c,this.D.qa(rCa),OE(a))}; Yxi.prototype.bz=function(a){var c=this.D;aT(a,c,[qCa,pCa]);Wxh(a,c.qa(oCa),function(e){return bNh([],e.yb())},zj)};function Zxi(a){this.action=a;this.wfv=!1};function $xi(){Zxi.call(this,"select-fonts");this.fonts=[];this.wfv=!0}Nm($xi,Zxi);function ayi(a){this.fontName=a};function eW(a){this.ah=a;this.D={}}D=eW.prototype;D.pb=function(a){this.F=a||void 0;return this};D.Qs=G(1607);D.kv=G(1616);D.Dl=function(a){this.D.parent=a};function byi(a){var c=Ejh(a.D,function(e){return e!==null});c=Sr(c)?null:c;a=[a.ah,a.F,c];c=gih(a,AGb);return a=a.slice(0,c+1)}D.toString=function(){var a=byi(this);return"("+gp(a,function(c){return JSON.stringify(c)}).join(",")+")"};D.getId=x(pc);D.ac=x("F");D.getOptions=function(){return Ur(this.D)};function cyi(){eW.call(this,"fonts")}H(cyi,eW);cyi.prototype.pb=function(a){eW.prototype.pb.call(this,a);return this};cyi.prototype.Qs=G(1606);cyi.prototype.kv=G(1615);cyi.prototype.Dl=function(a){eW.prototype.Dl.call(this,a)};function dyi(a,c){a.D.efsp=c};var eyi=new Map;eyi.set(L8f,S8f);eyi.set(R8f,U8f);eyi.set(O8f,T8f);var fyi=new Set;fyi.add(N8f);fyi.add(Q8f);fyi.add(P8f);function gyi(a,c,e){var f=e&&Aq(e,1);e=hyi(e);switch(vR(a[0].getId())){case 13:return iyi(a,c,f,e);case 3:return jyi(a,c,f,e);case 10:return kyi(a,c,f,e);case 27:return kyi(a,c,f,e);case 12:return lyi(a,c);case 2:return myi(a,c,f,e);case 5:return nyi(a,c,f,e);case 9:return oyi(a,c,f,e);case 6:return pyi(a,c,f,e);case 25:return qyi(a,c,f,e);case 1:return Wp(a[0],MFh,26)?ryi(a,c,f,e):kyi(a,c,f,e);default:return{}}} function pyi(a,c,e,f){a=a.map(function(g){return{id:g.getId().getId(),serviceId:Pfb,name:g.getName(),description:g.Ie(),type:syi(g),lastEditedUtc:Nvb(R(g,Cr,16)).getTime(),iconUrl:Msg,url:g.getUrl(),embedUrl:Aq(g,13),thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Pfb,v2Translated:!0}} function myi(a,c,e,f){var g=a.map(function(h){var k={id:h.getId().getId(),serviceId:ff,mimeType:h.getMimeType(),name:h.getName(),type:syi(h),lastEditedUtc:Nvb(R(h,Cr,12)).getTime(),url:h.getUrl(),sizeBytes:Etb(h,23),description:h.Ie(),iconUrl:h.Yp(),thumbnails:tyi(YFh(h)),isShared:vq(QT(h),1),downloadUrl:Aq(QT(h),10),embedUrl:Aq(h,13),copyable:vq(QT(h),9),resourceKey:Aq(QT(h),11)};vq(QT(h),12)&&(k.uploadState=Pab,k.isNew=!0);if(Wp(QT(h),LFh,3)){h=R(QT(h),LFh,3);if(Wp(h,ZQ,2)){var l=xq(h.getDuration(), 1)+wq(h.getDuration(),2)/1E9;k.duration=l}k.aspectRatio=zq(h,1)}return k});return{action:c,docs:g,viewToken:f,view:e||tc,extraUserInputs:uyi(a),v2Translated:!0}}function nyi(a,c,e,f){a=a.map(function(g){var h=R(R(g,XFh,15),KFh,1);mq(g,10,KFh,h,void 0);return{id:g.getId().getId(),serviceId:UTg,mimeType:g.getMimeType(),name:g.getName(),type:syi(g),url:g.getUrl(),description:g.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Zsg,v2Translated:!0}} function oyi(a,c,e,f){a=a.map(function(g){return{serviceId:Rl,name:YFh(g)[0].getUrl().split("/").pop(),type:syi(g),mimeType:g.getMimeType(),url:g.getUrl(),description:g.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Rl,v2Translated:!0}} function ryi(a,c,e,f){a=a.map(function(g){return{id:g.getId().getId(),serviceId:zOg,name:g.getName(),type:syi(g),description:g.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||"webcam",v2Translated:!0}}function kyi(a,c,e,f){return{action:c,docs:a.map(vyi),viewToken:f,view:wyi(e||xTg,a),extraUserInputs:uyi(a),v2Translated:!0}}function wyi(a,c){return c.some(function(e){var f;return((f=R(e,VFh,30))==null?void 0:Bq(f,3))===9})?a+"/gmailphotos":a} function jyi(a,c,e,f){var g=a.map(function(h){var k={id:h.getId().getId(),serviceId:zOg,mimeType:h.getMimeType(),name:h.getName(),type:syi(h),lastEditedUtc:Nvb(R(h,Cr,12)).getTime(),url:h.getUrl(),sizeBytes:Etb(h,23),description:h.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(h)),mediaKey:h.getId().getId(),parentId:Aq(h,4)},l,p=(l=R(h,PFh,18))==null?void 0:R(l,OFh,3);p&&(k.latitude=zq(p,1),k.longitude=zq(p,2));var q;(h=(q=R(h,PFh,18))==null?void 0:xq(q,6))&&(k.version=h);return k});return{action:c,docs:g,viewToken:f, view:e||Z6a,extraUserInputs:uyi(a),v2Translated:!0}}function iyi(a,c,e,f){a=a.map(function(g){return{id:g.getId().getId(),serviceId:eh,name:YFh(g)[0].getUrl().split("/").pop(),description:g.Ie(),type:eh,iconUrl:Msg,thumbnails:tyi(YFh(g),"etjpg")}});return{action:c,docs:a,viewToken:f,view:e||eh,v2Translated:!0}} function qyi(a,c,e,f){a=a.map(function(g){var h=g.getId().getId(),k=f["2"];return{id:h,serviceId:k.type!=="gmail_themes"&&k.parent==="6226252643674576769"?zOg:"static_themes",name:g.getName(),mimeType:g.getMimeType(),type:syi(g),description:g.Ie(),iconUrl:Msg,url:g.getUrl(),embedUrl:g.getUrl(),thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Z6a,v2Translated:!0}} function lyi(a,c){a=a.map(function(e){var f=R(e,NFh,27);f=Cq(f,1,cq())[0];return{id:e.getId().getId(),serviceId:"contacts",mimeType:e.getMimeType(),name:e.getName(),description:e.Ie(),url:t4a+f,thumbnail:[{url:e.Yp()}],email:f}});return{action:c,docs:a,view:"contacts",v2Translated:!0}}function hyi(a){if(!a)return{};var c=Aq(a,3);c=c&&JSON.parse(c)||{};return{0:Aq(a,1),1:a.ac(),2:c}} function tyi(a,c){c=c===void 0?"":c;if(!a.length)return null;c=="etjpg"&&(a=a.filter(function(e){return e.getUrl().includes("w1200-h300")}));return a.map(function(e){return{url:e.getUrl(),height:e.getHeight(),width:e.Jb(),type:c}})}function uyi(a){return{isAttachment:a.some(function(c){return vq(c,31)})}} function vyi(a){var c,e={id:(c=a.getId())==null?void 0:c.getId(),serviceId:xyi(a),mimeType:a.getMimeType(),name:a.getName(),type:syi(a),sizeBytes:Etb(a,23),description:a.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(a)),isNew:!0};if(c=R(a,VFh,30)){e.dataUrl=Aq(c,1)||null;a:{var f=R(a,VFh,30);switch(Bq(f,3)){case 9:f=Fq(f,TFh,2,WFh);f={remoteRefs:f&&Aq(f,1)};break a;case 10:case 15:f=Fq(f,SFh,4,WFh);var g=YFh(a);f={photo_id:f&&Aq(f,1),media_key:a.getId().getId(),media_type:a.getType()===1?1:2,image_url:g&&g[0].getUrl(), width:g&&String(g[0].Jb()),height:g&&String(g[0].getHeight())};break a}f=null}e.uploadMetadata=f;e.uploadId=Aq(c,9)||null;e.uploadState=yyi(c)||null}(f=c&&Fq(c,SFh,4,WFh))&&(e.id=Aq(f,1));(f=c&&Fq(c,UFh,5,WFh))&&(e.contentId=Aq(f,1));(f=c&&Fq(c,QFh,7,WFh))&&(e.contentId=Aq(f,1));(f=c&&Fq(c,RFh,6,WFh))&&(e.contentId=f.Ej());(c==null?void 0:Bq(c,3))===1&&(e.mediaKey=a.getId().getId());return e} function xyi(a){var c;switch(((c=R(a,VFh,30))==null?void 0:Bq(c,3))||0){case 1:return zOg;case 2:case 3:case 4:case 8:case 12:return W6a;case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null} function syi(a){switch(a.getType()){case 1:case 21:return W6a;case 2:return Zl;case 6:return Oqg;case 13:return Dpa;case 14:return"album";case 19:return"contact";case 3:case 4:case 5:case 7:case 12:return a.getMimeType().startsWith("application/vnd.google-apps.")?Dg:lh;default:return lh}}function yyi(a){switch(a==null?void 0:Bq(a,8)){case 0:return Qe;case 1:return"canceled";case 2:return ch;case 3:return"running";case 4:return"scheduled";case 5:return Pab}return null};function zyi(a){this.D=a}D=zyi.prototype;D.value=x("D");D.Jb=function(){return this.D.width};D.getHeight=function(){return this.D.height};D.Fg=function(a){this.D.style=a;return this};D.getStyle=function(){return this.D.style};function Ayi(a){this.D=a||{}}D=Ayi.prototype;D.value=x("D");D.getUrl=function(){return this.D.url};D.Fg=function(a){this.D.style=a;return this};D.getStyle=function(){return this.D.style};D.fd=function(a){this.D.id=a;return this};D.getId=function(){return this.D.id};function Byi(a,c){a.D.queryParams=c;return a}function Cyi(a,c){a.D.messageHandlers=c;return a}function Dyi(a,c){a.D.messageHandlersFilter=c;return a}D.getContext=function(){return this.D.context}; function Eyi(a){a.D.attributes=a.D.attributes||{};return new zyi(a.D.attributes)}D.x4=function(){return this.D.controller};function Fyi(){Ayi.apply(this,arguments)}H(Fyi,Ayi);var Gyi=rm([MXa]),Hyi=As(Gyi);function Iyi(a,c){var e=!1,f=Jyi(a,c).then(function(h){e=!0;return h}),g=DI(5E3).then(function(){return e?Jyi(a,c):Kyi(c).then(function(h){return Lyi(h,a)})});return mlh([f,g])}function Jyi(a,c){return Myi(c).then(function(e){return Lyi(e,a)})}function Lyi(a,c){var e=Vo(c,"gapi.")?c.slice(5):c;return a[e]?Qw(a[e]):new Nw(function(f,g){var h=wI(function(){g(Error("wR"))},3E4);a.load(c,{callback:function(){CI(h);f(a[e])},onerror:function(k){CI(h);g(k)}})})} function Myi(a){return a.gapi&&a.gapi.load?Qw(a.gapi):Kyi(a)}function Kyi(a){return T6e(Hyi,{document:a.document}).then(function(){return a.gapi})}function Nyi(){this.ag=null}Nyi.prototype.load=function(a,c){c=c===void 0?window:c;var e=Date.now();return Iyi(a,c).then(function(f){var g=Date.now();return{ccc:f,kCb:e,dCb:g}},function(f){throw f instanceof Error?f:Error(String(f));})};function Oyi(){T.call(this);this.R=new Nyi;this.ag=this.F=null;this.D=Tw();this.H=Tw();this.H.promise.then(null,r());this.D.promise.then(null,r());this.O={}}H(Oyi,T);Oyi.prototype.sx=x("ag");function Pyi(a,c){var e=Cm(irg,c);return e?(a=Date.now(),Qw({ccc:e,kCb:a,dCb:a})):a.R.load(irg,c)} function Qyi(a,c,e,f,g,h,k,l){k=k===void 0?!1:k;Pyi(a,Ls(c.ownerDocument)).then(function(p){var q=p.ccc;a.H.resolve(q);p=a.D;var u=p.resolve,w=k;w=w===void 0?!1:w;var y={};y[Asg]=e;a.O=y;var z=MF(f);z=MF(z);z=y8c(x8c(JF(new IF,z.F),z.ao()),z.H).toString();a.F=z;z=new Fyi;z.D.url=f;z.D.where=c;z.D.allowPost=w;w=Dyi(Cyi(z,y),Cm(pMg,q)([a.F]));g!=null&&Byi(w,g);h!=null&&w.fd(h);l!=null&&(w.D.rpctoken=l);Eyi(w).Fg({display:Rc,"min-width":Ca,width:Oba}).D.height=Ca;Eyi(w).value().allow="camera 'src' "+ a.F;q=q.getContext().openChild(w.value());u.call(p,q)},function(p){a.H.reject(p);a.D.reject(p)});return a.D.promise}function Ryi(a,c){return Sw([a.H.promise,a.D.promise]).then(function(e){var f=pm(e);e=f.next().value;return(f=f.next().value)?f.send("picker-message-handler",c,void 0,Cm(pMg,e)([a.F])):Rw(Error("xR"))})}Oyi.prototype.fb=function(){Syi(this);T.prototype.fb.call(this)};function Syi(a){a.D.promise.then(function(c){c&&(c.unregister(Asg),delete a.O[Asg])})};function Tyi(){this.D=0}function Uyi(a){return":"+(a.D++).toString(36)};function Vyi(a,c){switch(a.action){case "select-contacts":a=Wyi(a.contacts);break;case $l:a=a.visible;var e=new aGh;a=rR(e,1,7).Ka(a);e={};e[Ysg]=a.Hb();a=e;break;default:a=null}return a?Ryi(c,a):Qw()} function Wyi(a){if(!a||a.length==0)return null;var c=new aGh;rR(c,1,11);var e=new Tyi;a.forEach(function(f){if(f.email){var g=(new PT).We(f.name?f.name:f.email);var h=new NFh;f=Uq(h,1,f.email);g=kq(g,NFh,27,f);f=g.fd;h=(new t3g).fd(Uyi(e));h=rR(h,2,12);g=f.call(g,h)}else g=null;g&&mq(c,7,PT,g,void 0)});a={};a[Ysg]=c.Hb();return a};function Xyi(a,c){Zxi.call(this,"set-drive-options");this.appId=a;this.appOrigin=c}Nm(Xyi,Zxi);function Yyi(a){Zxi.call(this,$l);this.visible=a}Nm(Yyi,Zxi);function Zyi(a,c,e){yU.call(this,a,c,e)}Nm(Zyi,yU);var $yi=rm(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),azi=rm(["//apis.google.com/js/rpc.js"]),bzi=As($yi),czi=As(azi);function dzi(a,c){if(!ezi(c)){c=c||Bs(document);var e=c.createElement(Pb);mxb(e,a);e.type=Qcb;c.hd().body.appendChild(e)}}function ezi(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc}var fzi=null; function gzi(a,c){var e=c&&c.getWindow()||window;if(ezi(c))a();else if(fzi)fzi.push(a);else var f=fzi=[a],g=e.setInterval(function(){if(ezi(c)){e.clearInterval(g);for(var h=0;h100?a=3:a<-100&&(a=-3),f.axis!==void 0&&f.axis===f.HORIZONTAL_AXIS?c=a:e=a);typeof this.F===zj&&(c=Hr(c,-this.F,this.F));typeof this.H===zj&&(e=Hr(e,-this.H,this.H));this.J&&(c=-c);c=new jzi(a,f,c,e);this.dispatchEvent(c)};function izi(a){return Bp&&(Dp||jpb)&&a%40!=0?a:a/40} hzi.prototype.fb=function(){hzi.Sc.fb.call(this);tI(this.D);this.D=null};function jzi(a,c,e,f){pI.call(this,c);this.type=mNg;this.detail=a;this.deltaX=e;this.deltaY=f}Nm(jzi,pI);function kzi(a,c){var e=new hzi(a);c.xa(e);var f={passive:!1};c.listen(e,mNg,function(g){return void lzi(a,g)},f).listen(a,Bk,function(g){return void lzi(a,g)},f)}function lzi(a,c){var e;a:{for(e=c.target;e;){if(e.nodeType==1){var f=hkh(e);if(f==Lc||f==Bk)break a}e=e.parentNode}e=null}if(!e||!Rs(a,e)||e.scrollHeight==e.clientHeight||c.deltaY>0&&Math.abs(e.scrollTop-(e.scrollHeight-e.clientHeight))<=1||c.deltaY<0&&e.scrollTop==0)c.preventDefault(),c.stopPropagation()};function mzi(a,c,e){c?(c=Math.max(320,Math.min(1051,c)),e||(e=Ks(a).height*.85),e=Math.max(480,Math.min(650,e))):(c=Ks(a),e=c.width*.618,e=e-1?k=c.substring(0,a+8-1):Wo(c,"/picker")&&(k=c);k&&this.setRelayUrl(k+$Uf);this.s_=!1;BU(this,null);this.ag= null}Nm(rzi,Zyi);D=rzi.prototype;D.i2="";D.WS=null;D.PYa=!1;D.ajb=!1;D.Kj=r();D.Wa=function(){rzi.Sc.Wa.call(this);kzi(this.UA(),this.bb())};D.render=function(a){var c=this;rzi.Sc.render.call(this,a);this.W?Pyi(this.H,window).then(function(){return szi(c)}).then(null,function(){c.Kj({action:ch})}):tzi(this)}; function szi(a){var c=a.Ma().Oa(Ze,["picker-dialog-content",BOg]);lt(c,!1);a.Pc().appendChild(c);return Qyi(a.H,c,function(e){var f=cGh(e[Ysg]);switch(Bq(f,1)){case 1:e=a.Kj;f=R(f,RT,2);var g="";switch(f.getStatus()){case 2:g=fd;break;case 1:g=AOg;break;case 3:g=ch}var h=f.Tl(Ip);f=h.length===0?{action:g}:gyi(h,g,R(f,$Fh,7));e.call(a,f);a.Ka(!1);break;case 4:AU(a,!1);a.Kj({action:q3a});break;case 7:case 8:e=a.Kj;a:{g=Bq(f,1);h=R(f,RT,2);switch(g){case 7:g="uploadScheduled";break;case 8:g="uploadStateChange"; break;default:f={};break a}f=h.Tl(Ip);if(f.length===0)f={action:g};else{var k=R(h,$Fh,7);h=k&&Aq(k,1);k=hyi(k);f=kyi(f,g,h,k)}}e.call(a,f)}},a.i2,void 0,a.D,!0,a.F).then(function(e){a.WS=e.getIframeEl();uzi(a);lt(a.WS.parentElement,!0);eJ(a.Ba(),"picker-dialog");vzi(a);return e})} function tzi(a){a.WS=a.fe.Oa(mb,{id:a.D,name:a.D,"class":BOg,frameBorder:"0",allow:Iag});hs(a.WS,wzi(a));eJ(a.Ba(),"picker-dialog");a.Pc().appendChild(a.WS);a.bb().listen(a.WS,Pi,function(){return void uzi(a)});a.WS.src=a.i2;vzi(a)}function xzi(a){yzi(a,Km(function(c){c.setAuthToken(this.D,this.F)},a))}function vzi(a){var c=LF(MF(a.i2),tl);c&&a.setTitle(c)}function wzi(a){return ap(tb)>=7&&Vo(a.i2,Nh)?As(ozi):zp?As(pzi):As(qzi)} function uzi(a){xzi(a);a.PYa=!0;Ts(a.WS,!0);a.isVisible()&&a.focus()}D.Zib=function(a){a.keyCode==27&&(this.Ka(!1),this.Kj({action:fd}),a.stopPropagation(),a.preventDefault())};function yzi(a,c){var e=a.O;gzi(function(){c(e.getWindow().gadgets.rpc)},e)}function zzi(a,c){a.Kj=c;yzi(a,Km(function(e){e.register(this.D,Km(this.Dsc,this))},a))} D.Dsc=function(a){var c=a.action;c==q3a&&(this.ajb=!0,this.kC(new Yyi(this.isVisible())),Azi(this),AU(this,!1),this.bb().De(this.Ma().getWindow(),qi,this.Zib),Ts(this.WS,!0));c!=AOg&&c!=fd||this.Ka(!1);this.Kj(a)};function Azi(a){a.J&&a.kC(new Xyi(a.J,window.location.protocol+ya+window.location.host))}D.setRelayUrl=function(a){yzi(this,Km(function(c){c.setRelayUrl(this.D,a)},this))}; D.kC=function(a){var c=this;this.W&&Vyi(a,this.H).then(null,function(){c.Kj({action:ch})});yzi(this,Km(function(e){e.call(this.D,"picker",null,a)},this))}; D.mHb=function(){var a=this.Ma().hd(),c=Ls(a)||window;if(LF(MF(this.i2),"ignoreLimits")==Dl)a=new Lr(this.V,this.R);else if(LF(MF(this.i2),"shadeDialog")==Dl){a=GS(this.FI());var e=Ks(c);c=e.width-80;e=e.height-40;a&&(c-=a.left?a.left:0,c-=a.right?a.right:0,e-=a.top?a.top:0,e-=a.bottom?a.bottom:0);a=new Lr(c>0?c:0,e>0?e:0)}else a=mzi(c,this.V,this.R);ES(this.Pc(),a);this.wd()}; D.wd=function(){if(LF(MF(this.i2),"shadeDialog")==Dl){var a=it(this.Ba()),c=Ks(this.Ma().getWindow());a=Math.floor(c.width/2-a.width/2);if(c=GS(this.FI())){var e=c.left?c.left:0;e+=c.right?c.right:0;a=Math.floor(a-e/2)}a=a>0?a:0;c=izb(this.Ma()).y;ct(this.Ba(),a,c)}else rzi.Sc.wd.call(this)}; D.Ka=function(a){if(a!=this.isVisible()&&this.ea){var c=this.Ma().getWindow();a?(this.mHb(),this.bb().listen(c,rk,this.mHb),this.PYa||this.bb().listen(c,qi,this.Zib)):(this.bb().De(c,rk,this.mHb),this.PYa||this.bb().De(c,qi,this.Zib))}rzi.Sc.Ka.call(this,a);this.kC(new Yyi(a))};D.focus=function(){rzi.Sc.focus.call(this);if(this.WS&&this.PYa&&this.ajb)try{this.WS.focus()}catch(a){}};function Bzi(){eW.call(this,Zsg)}H(Bzi,eW);D=Bzi.prototype;D.Ac=function(a){this.D.type=a;return this};D.setSize=function(a){this.D.imgsz=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1605);D.kv=G(1614);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Czi(){eW.call(this,"maps")}H(Czi,eW);D=Czi.prototype;D.setZoom=function(a){this.D.zoom=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1604);D.kv=G(1613);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Dzi(){eW.call(this,Z6a)}H(Dzi,eW);D=Dzi.prototype;D.Ac=function(a){this.D.type=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1603);D.kv=G(1612);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Ezi(){eW.call(this,Rl)}H(Ezi,eW);D=Ezi.prototype;D.Ac=function(a){this.D.type=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1602);D.kv=G(1611);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Fzi(){eW.call(this,"video-search")}H(Fzi,eW);Fzi.prototype.pb=function(a){eW.prototype.pb.call(this,a);return this};Fzi.prototype.Qs=G(1601);Fzi.prototype.kv=G(1610);Fzi.prototype.Dl=function(a){eW.prototype.Dl.call(this,a)};function Gzi(){eW.call(this,UTg)}H(Gzi,eW);Gzi.prototype.pb=function(a){eW.prototype.pb.call(this,a);return this};Gzi.prototype.Qs=G(1600);Gzi.prototype.kv=G(1609);Gzi.prototype.Dl=function(a){eW.prototype.Dl.call(this,a)};function Hzi(a){this.H=typeof a===Wk?new eW(a):a;this.D=[];this.F={}}function Izi(a){switch(a){case Zsg:return new Bzi;case "maps":return new Czi;case Z6a:return new Dzi;case Rl:return new Ezi;case "video-search":return new Fzi;case UTg:return new Gzi}return new eW(a)}Hzi.prototype.cA=function(a){this.D.push(typeof a===Wk?Izi(a):a);return this};function Jzi(a){return"("+gp(a.D,function(c){return c.toString()}).join(",")+")"} function Kzi(a){a=Ejh(a.F,function(c){return c!==null});return(a=Sr(a)?null:a)?JSON.stringify(Or(a,function(c){return c.toString()})):""}Hzi.prototype.toString=function(){if(this.H){var a=["{root:",this.H.toString(),",items:",Jzi(this)],c=Kzi(this);c&&(a.push(",options:"),a.push(c));a.push("}");return a.join("")}return Jzi(this)};Hzi.prototype.getOptions=function(){return Ur(this.F)};Hzi.prototype.oia=G(1617);function Lzi(a){this.W=a||"https://docs.google.com/picker";this.Iab=new Hzi}D=Lzi.prototype;D.Iab=null;D.oPb=null;D.cA=function(a){this.Iab.cA(a);return this};D.Ma=x("oPb");function Mzi(a,c){a.Kj=c;return a}D.lS=function(a){this.oPb=new Cs(a);return this};function Nzi(a){Lzi.call(this,a)}Nm(Nzi,Lzi);function Ozi(a){oJ.call(this,a)}Nm(Ozi,oJ);Ozi.prototype.Oa=function(){var a=this.Ma(),c=a.Oa(Wa);this.Zb(c);var e=a.Oa(Wa,"picker-min-arrow-inner"),f=a.Oa(Wa,"picker-min-arrow-border");a.appendChild(c,e);a.appendChild(c,f)};function Pzi(a,c,e){a=a.Ba();$s(a,Hi,"");$s(a,vk,"");gJ(c,DOg);gJ(c,COg);e=b4g(c,e);e&1?(cJ(a,"picker-min-arrow-down"),eJ(c,COg)):(cJ(a,"picker-min-arrow-up"),eJ(c,DOg))} Ozi.prototype.update=function(a,c,e){this.wc()&&(e||(e=new Xs(0,0,0,0)),Pzi(this,a,c),a=this.Ba(),c&4?$s(a,vk,-e.right+jk):$s(a,Hi,-e.left+jk))};function Qzi(a,c){yEh.call(this,a);Ts(a,!0);eK(a,Te);this.R=c||Bs();this.Op=!1;this.F=this.R.createElement(Nk);Ts(this.F,!0);this.F.style.position=kc;fK(this.F,Eh,!0);this.O=!1}Nm(Qzi,yEh);D=Qzi.prototype;D.bjb=null;D.Ma=x("R");D.pPb=function(){this.O=!1};D.Fsc=function(a){a.keyCode==9&&a.shiftKey&&a.target==this.Ba()&&(this.O=!0,this.focus(this.F),wI(this.pPb,0,this))};D.Esc=function(a){this.O?this.pPb():a.target==this.F&&wI(Km(this.focus,this,this.Ba()),0)};D.focus=function(a){try{a&&a.focus()}catch(c){}}; D.wd=function(){Qzi.Sc.wd.call(this);var a=this.hf();a&&a.wd(this.F,this.ma,this.UX||null)};var Rzi=rm([Dsg]),Szi=rm([TYa]),Tzi=rm([bma]); function Uzi(a,c,e,f,g,h){var k=e||Bs(),l=k.Oa(Wa,"picker-iframe picker-min goog-menu"),p=LF(new IF(a),"minew")==Dl;p&&eJ(l,"picker-minew");eJ(l,EOg);k.appendChild(k.hd().body,l);Qzi.call(this,l,k);this.Op=p;this.isVisible()?uEh(this):this.g$b();this.fe=k;this.H=ts();this.V=ts();k=QR(QR(new IF(a),"rpctoken",this.V),"rpcService",this.H);JF(k,Nh);this.OFa=k.toString();this.mF&&hs(this.mF,S7e(this.OFa));this.Fa=f||350;this.Da=g||p?311:300;this.Ca=!!h;c&&(LF(MF(a),Bsg),c=this.Ma(),dzi(bzi,c));c=null; f=a.indexOf("/picker?");f>-1?c=a.substring(0,f+8-1):Wo(a,"/picker")&&(c=a);c&&this.setRelayUrl(c+$Uf);sEh(this,!1);rEh(this,!1);this.J=new Ozi(e);this.xa(this.J);this.J.render(l)}Nm(Uzi,Qzi);D=Uzi.prototype;D.OFa="";D.mF=null;D.IZb=!1;D.sPb=!1;D.tPb=!1;D.Kj=r(); function Vzi(a){if(!a.mF){a.bb().listen(a.Ma().getWindow(),qi,a.rPb);a.mF=a.fe.Oa(mb,{id:a.H,name:a.H,"class":BOg,frameBorder:"0"});hs(a.mF,Wzi(a));a.Ba().appendChild(a.mF);eK(a.mF,Te);var c=LF(MF(a.OFa),tl);c&&hK(a.mF,c);eJ(a.Ba(),"picker-min-popup");ES(a.mF,a.Fa,a.Da);a.bb().listen(a.mF,Pi,function(){return void Xzi(a)});hs(a.mF,S7e(a.OFa))}} D.wd=function(){if(this.mF){Uzi.Sc.wd.call(this);var a=this.hf(),c=this.ma;if(a instanceof cji){var e=this.J;a=a.element;var f=this.Ba();if(e.wc()){Pzi(e,f,c);e=e.Ba();var g=DS(a,f),h=okh(e).width;g=g.x+okh(a).width/2-h/2;g=Math.max(0,g);var k=okh(f).width;k-h&&(h=k-h,g>h&&(g=h,f.getBoundingClientRect().left+h/2>a.getBoundingClientRect().left&&(g=Math.min(g,h/2))));$s(e,Hi,g+jk)}}else this.J.update(this.Ba(),c,this.UX||null);b4g(this.Ba(),c)&1?cJ(this.mF,"picker-min-frame-down"):cJ(this.mF,"picker-min-frame-up")}}; function Wzi(a){return ap(tb)>=7&&Vo(a.OFa,Nh)?As(Rzi):zp?As(Szi):As(Tzi)}function Xzi(a){Yzi(a,Km(function(c){c.setAuthToken(this.H,this.V)},a));a.sPb=!0;a.bb().De(a.Ma().getWindow(),qi,a.rPb);Ts(a.mF,!0);a.isVisible()&&wI(Km(a.focus,a,a.mF),0)}D.rPb=function(a){a.keyCode==27&&(Zzi(this),a.stopPropagation(),a.preventDefault())};function Yzi(a,c){var e=a.Ma();gzi(function(){c(e.getWindow().gadgets.rpc)},e)}function $zi(a,c){a.Kj=c;Yzi(a,Km(function(e){e.register(this.H,Km(this.Gsc,this))},a))} D.Gsc=function(a){switch(a.action){case "viewUpdated":case "viewChanged":this.wd();return;case "enableWhiteCallout":a=a.extraUserInputs;hJ(this.Ba(),EOg,a&&a.ewc);return;case q3a:this.tPb=!0;this.kC(new Yyi(this.isVisible()));aAi(this);break;case "blurred":this.Ba()!=mXg(this.Ma().hd())&&this.isVisible()&&(this.Ka(!1),this.Kj({action:fd}));return;case AOg:case fd:this.Ka(!1)}this.Kj(a)};function aAi(a){a.wa&&a.kC(new Xyi(a.wa,window.location.protocol+ya+window.location.host))} D.setRelayUrl=function(a){Yzi(this,Km(function(c){c.setRelayUrl(this.H,a)},this))};D.kC=function(a){a.action==EPg?(this.mF&&!this.isVisible()&&(this.Ba().removeChild(this.mF),this.mF=null),Vzi(this)):Yzi(this,Km(function(c){c.call(this.H,"picker",null,a)},this))}; D.jB=function(){Uzi.Sc.jB.call(this);Lyb(this.F,this.Ba());this.bjb=new wU(this.Ma().hd());this.bb().listen(this.bjb,qh,this.Esc).listen(this.Ba(),qi,this.Fsc);Vzi(this);if(!this.Ca){var a=this.Ma().hd();this.bb().listen(a,ej,this.qPb,!0);if(zp){for(var c=mXg(a);c&&c.nodeName==mb;){var e=void 0;try{e=Zyb(c)}catch(u){break}a=e;c=mXg(a)}this.bb().listen(a,ej,this.qPb,!0)}}this.kC(new Yyi(!0));d4g(new Kr(0,0),this.Ba(),0,this.UX||null);this.wd();if(this.Op&&(a=this.hf(),a instanceof cji&&typeof this.Ba().getBoundingClientRect=== vh)){c=this.ma;var f=this.Ma().Eo().height,g=this.Ma().Eo().width;e=null;var h=a.FG,k=this.za?this.za.getBoundingClientRect():void 0,l=k?k.top:0;f=k?Math.min(k.bottom,f):f;g=k?Math.min(k.right,g):g;k=k?k.left:0;var p=a.element.getBoundingClientRect(),q=this.Ba().getBoundingClientRect();if(!(h&1)&&q.topf&&p.top>l+(q.bottom-q.top))h^=1,e=new cji(a.element,h),c^=1;if(h&4&&q.leftg&&p.right>k+(q.right-q.left))e=new cji(a.element,h^4),c^=4;e&&(AEh(this,e),zEh(this, c),this.wd())}this.sPb?this.focus(this.mF):this.focus(this.Ba())};D.Au=function(a){Uzi.Sc.Au.call(this,a);Iw(this.bjb);Ps(this.F);this.kC(new Yyi(!1))};D.qPb=function(a){a=a.target;Rs(this.Ba(),a)||wEh(this,a)||this.RIa&&!Rs(this.RIa,a)||Date.now()-this.f$a<150||Zzi(this)};function Zzi(a){a.isVisible()&&(a.Ka(!1),a.Kj({action:fd}))}D.fb=function(){this.IZb?(Ps(this.Ba()),Uzi.Sc.fb.call(this)):wI(function(){this.IZb=!0;this.fb()},0,this)};function bAi(a,c){c=c===void 0?rzi:c;Lzi.call(this,a);this.V=c;this.D=new Map;cAi(this);(a=window.location