var e,aa=aa||{},l=this;function n(a){return void 0!==a}function ba(a,b,c){a=a.split(".");c=c||l;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&n(b)?c[d]=b:c=c[d]?c[d]:c[d]={}}function ca(a,b){for(var c=a.split("."),d=b||l,f;f=c.shift();)if(null!=d[f])d=d[f];else return null;return d}function p(){}function da(a){a.Ra=function(){return a.a1?a.a1:a.a1=new a}}
function ea(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}function fa(a){return"array"==ea(a)}function ga(a){var b=ea(a);return"array"==b||"object"==b&&"number"==typeof a.length}function r(a){return"string"==typeof a}function ha(a){return"boolean"==typeof a}function ia(a){return"number"==typeof a}function ja(a){return"function"==ea(a)}function ka(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function la(a){return a[ma]||(a[ma]=++na)}
var ma="closure_uid_"+(1E9*Math.random()>>>0),na=0;function oa(a,b,c){return a.call.apply(a.bind,arguments)}function pa(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)}}
function t(a,b,c){t=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return t.apply(null,arguments)}function qa(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)}}var u=Date.now||function(){return+new Date};function ra(a,b,c){ba(a,b,c)}
function w(a,b){function c(){}c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ura=function(a,c,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};function sa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,sa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}w(sa,Error);sa.prototype.name="CustomError";var ta;function ua(a,b){return 0==a.lastIndexOf(b,0)}function va(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}function wa(a,b){for(var c=a.split("%s"),d="",f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)d+=c.shift()+f.shift();return d+c.join("%s")}function xa(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}function x(a){return/^[\s\xa0]*$/.test(a)}function ya(a){return x(za(a))}
function Aa(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}var Ba=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function Ca(a){return a.replace(/^[\s\xa0]+/,"")}function Da(a,b){var c=String(a).toLowerCase(),d=String(b).toLowerCase();return c<d?-1:c==d?0:1}function Ea(a){return encodeURIComponent(String(a))}function Fa(a){return decodeURIComponent(a.replace(/\+/g," "))}
function Ga(a){if(!Ha.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ia,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ja,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ka,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(La,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ma,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Na,"&#0;"));return a}var Ia=/&/g,Ja=/</g,Ka=/>/g,La=/"/g,Ma=/'/g,Na=/\x00/g,Ha=/[\x00&<>"']/;function Oa(a){return-1!=a.indexOf("&")?"document"in l?Pa(a):Qa(a):a}
function Pa(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},c;c=l.document.createElement("div");return a.replace(Ra,function(a,f){var g=b[a];if(g)return g;if("#"==f.charAt(0)){var h=Number("0"+f.substr(1));isNaN(h)||(g=String.fromCharCode(h))}g||(c.innerHTML=a+" ",g=c.firstChild.nodeValue.slice(0,-1));return b[a]=g})}
function Qa(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return a}})}var Ra=/&([^;\s<&]+);?/g,Sa={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Ta={"'":"\\'"};
function Ua(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}var Va=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function Wa(a,b){var c=n(void 0)?a.toFixed(void 0):String(a),d=c.indexOf(".");-1==d&&(d=c.length);return Va("0",Math.max(0,b-d))+c}function za(a){return null==a?"":String(a)}function Xa(a){return Array.prototype.join.call(arguments,"")}
function Za(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^u()).toString(36)}
function $a(a,b){for(var c=0,d=Ba(String(a)).split("."),f=Ba(String(b)).split("."),g=Math.max(d.length,f.length),h=0;0==c&&h<g;h++){var k=d[h]||"",m=f[h]||"",q=RegExp("(\\d*)(\\D*)","g"),v=RegExp("(\\d*)(\\D*)","g");do{var B=q.exec(k)||["","",""],F=v.exec(m)||["","",""];if(0==B[0].length&&0==F[0].length)break;c=ab(0==B[1].length?0:parseInt(B[1],10),0==F[1].length?0:parseInt(F[1],10))||ab(0==B[2].length,0==F[2].length)||ab(B[2],F[2])}while(0==c)}return c}function ab(a,b){return a<b?-1:a>b?1:0}
var bb=2147483648*Math.random()|0;function cb(){return"goog_"+bb++}function db(a){var b=Number(a);return 0==b&&x(a)?NaN:b}function eb(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function fb(a){var b=r(void 0)?Ua(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,f){return b+f.toUpperCase()})}function gb(a){isFinite(a)&&(a=String(a));return r(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN}
function hb(a,b){var c=[],d=[];if(a==b)return 0;if(!a.length||!b.length)return Math.max(a.length,b.length);for(var f=0;f<b.length+1;f++)c[f]=f;for(f=0;f<a.length;f++){d[0]=f+1;for(var g=0;g<b.length;g++)d[g+1]=Math.min(d[g]+1,c[g+1]+1,c[g]+Number(a[f]!=b[g]));for(g=0;g<c.length;g++)c[g]=d[g]}return d[b.length]};var ib=Array.prototype.indexOf?function(a,b,c){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(r(a))return r(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},jb=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(r(a))return r(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=
c;c--)if(c in a&&a[c]===b)return c;return-1},y=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=r(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)};function kb(a,b,c){for(var d=r(a)?a.split(""):a,f=a.length-1;0<=f;--f)f in d&&b.call(c,d[f],f,a)}
var lb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],g=0,h=r(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var m=h[k];b.call(c,m,k,a)&&(f[g++]=m)}return f},mb=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=Array(d),g=r(a)?a.split(""):a,h=0;h<d;h++)h in g&&(f[h]=b.call(c,g[h],h,a));return f},nb=Array.prototype.reduce?function(a,b,c,d){d&&(b=t(b,d));return Array.prototype.reduce.call(a,
b,c)}:function(a,b,c,d){var f=c;y(a,function(c,h){f=b.call(d,f,c,h,a)});return f},ob=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=r(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},pb=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=r(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&!b.call(c,f[g],g,a))return!1;return!0};
function qb(a,b,c){b=rb(a,b,c);return 0>b?null:r(a)?a.charAt(b):a[b]}function rb(a,b,c){for(var d=a.length,f=r(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return g;return-1}function sb(a,b,c){for(var d=r(a)?a.split(""):a,f=a.length-1;0<=f;f--)if(f in d&&b.call(c,d[f],f,a))return f;return-1}function tb(a,b){return 0<=ib(a,b)}function ub(a){if(!fa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function vb(a,b){tb(a,b)||a.push(b)}
function wb(a,b){var c=ib(a,b),d;(d=0<=c)&&xb(a,c);return d}function xb(a,b){Array.prototype.splice.call(a,b,1)}function yb(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function zb(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[]}function Ab(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ga(d)){var f=a.length||0,g=d.length||0;a.length=f+g;for(var h=0;h<g;h++)a[f+h]=d[h]}else a.push(d)}}
function Bb(a,b,c,d){Array.prototype.splice.apply(a,Cb(arguments,1))}function Cb(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Db(a,b,c){function d(a){return ka(a)?"o"+la(a):(typeof a).charAt(0)+a}b=b||a;c=c||d;for(var f={},g=0,h=0;h<a.length;){var k=a[h++],m=c(k);Object.prototype.hasOwnProperty.call(f,m)||(f[m]=!0,b[g++]=k)}b.length=g}
function Eb(a,b){for(var c=Fb,d=0,f=a.length,g;d<f;){var h=d+f>>1,k;k=c(b,a[h]);0<k?d=h+1:(f=h,g=!k)}return g?d:~d}function Gb(a,b){a.sort(b||Fb)}function Hb(a){for(var b=Ib,c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var f=b||Fb;Gb(c,function(a,b){return f(a.value,b.value)||a.index-b.index});for(d=0;d<a.length;d++)a[d]=c[d].value}function Fb(a,b){return a>b?1:a<b?-1:0}
function Jb(a,b,c){for(var d={},f=0;f<a.length;f++){var g=a[f],h=b.call(c,g,f,a);n(h)&&(d[h]||(d[h]=[])).push(g)}return d}function Kb(a,b){var c=[],d=0,f=a;void 0!==b&&(d=a,f=b);if(0>1*(f-d))return[];for(;d<f;d+=1)c.push(d);return c}function Lb(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(fa(d))for(var f=0;f<d.length;f+=8192)for(var g=Lb.apply(null,Cb(d,f,f+8192)),h=0;h<g.length;h++)b.push(g[h]);else b.push(d)}return b};function Mb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Nb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Ob(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function Pb(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}function Qb(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return!1;return!0}function Rb(a){var b=0,c;for(c in a)b++;return b}function Sb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}
function Tb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Ub(a,b){var c;a:{for(c in a)if(b.call(void 0,a[c],c,a))break a;c=void 0}return c&&a[c]}function Vb(a){for(var b in a)return!1;return!0}function Wb(a){for(var b in a)delete a[b]}function Xb(a,b){b in a&&delete a[b]}function Yb(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}function Zb(a,b){return null!==a&&b in a?a[b]:void 0}function $b(a){var b={},c;for(c in a)b[c]=a[c];return b}
function ac(a){var b={},c;for(c in a)b[a[c]]=c;return b}var bc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function cc(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var g=0;g<bc.length;g++)c=bc[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
function dc(a){var b=arguments.length;if(1==b&&fa(arguments[0]))return dc.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c}function ec(a){var b=arguments.length;if(1==b&&fa(arguments[0]))return ec.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};function fc(a,b,c){this.e2=a;this.Lb=b.name||null;this.to={};for(a=0;a<c.length;a++)b=c[a],this.to[b.qj]=b}fc.prototype.getName=function(){return this.Lb};function gc(a){a=Sb(a.to);Gb(a,function(a,c){return a.qj-c.qj});return a};function hc(a,b,c){this.Cb=a;this.qj=b;this.Lb=c.name;this.mA=!!c.Yra;this.Xk=c.FE;this.z2=c.type;this.hY=!1;switch(this.Xk){case 3:case 4:case 6:case 16:case 18:case 2:case 1:this.hY=!0}this.fE=c.defaultValue}hc.prototype.getName=function(){return this.Lb};function ic(){this.Tc={};this.to=this.getDescriptor().to;this.dg=this.DG=null}function jc(a,b){for(var c in a.Tc){var d=Number(c);a.to[d]||b.call(a,d,a.Tc[c])}}e=ic.prototype;e.has=function(a){return null!=this.Tc[a.qj]};e.get=function(a,b){return kc(this,a.qj,b)};e.set=function(a,b){lc(this,a.qj,b)};e.add=function(a,b){mc(this,a.qj,b)};e.clear=function(a){a=a.qj;delete this.Tc[a];this.dg&&delete this.dg[a]};e.Nk=function(a){this!=a&&(this.Tc={},this.dg&&(this.dg={}),nc(this,a))};
function nc(a,b){for(var c=gc(a.getDescriptor()),d=0;d<c.length;d++){var f=c[d],g=f.qj;if(null!=b.Tc[g]){a.dg&&delete a.dg[f.qj];var h=11==f.Xk||10==f.Xk;if(f.mA)for(var f=oc(b,g)||[],k=0;k<f.length;k++)mc(a,g,h?f[k].clone():f[k]);else f=oc(b,g),h?(h=oc(a,g))?nc(h,f):lc(a,g,f.clone()):lc(a,g,f)}}}e.clone=function(){var a=new this.constructor;a.Nk(this);return a};
function oc(a,b){var c=a.Tc[b];if(null==c)return null;if(a.DG){if(!(b in a.dg)){var d=a.DG,f=a.to[b];if(null!=c)if(f.mA){for(var g=[],h=0;h<c.length;h++)g[h]=d.WE(f,c[h]);c=g}else c=d.WE(f,c);return a.dg[b]=c}return a.dg[b]}return c}function kc(a,b,c){var d=oc(a,b);return a.to[b].mA?d[c||0]:d}function pc(a,b){return a.to[b].mA?null!=a.Tc[b]?a.Tc[b].length:0:null!=a.Tc[b]?1:0}function lc(a,b,c){a.Tc[b]=c;a.dg&&(a.dg[b]=c)}
function mc(a,b,c){a.Tc[b]||(a.Tc[b]=[]);a.Tc[b].push(c);a.dg&&delete a.dg[b]};function z(){this.Rk=this.Rk;this.cs=this.cs}z.prototype.Rk=!1;z.prototype.isDisposed=function(){return this.Rk};z.prototype.dispose=function(){this.Rk||(this.Rk=!0,this.ma())};function A(a,b){qc(a,qa(rc,b))}function qc(a,b,c){a.Rk?b.call(c):(a.cs||(a.cs=[]),a.cs.push(n(c)?t(b,c):b))}z.prototype.ma=function(){if(this.cs)for(;this.cs.length;)this.cs.shift()()};function rc(a){a&&"function"==typeof a.dispose&&a.dispose()}
function sc(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ga(d)?sc.apply(null,d):rc(d)}};var tc={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function uc(a,b){return"number"==typeof a?0<a?1:0>a?-1:b?null:0:null==a?null:a?-1:1}var vc=/<[^>]*>|&[^;]+;/g;function wc(a,b){return b?a.replace(vc,""):a}
var xc=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),yc=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),zc=/^http:\/\/.*/,Ac=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*$"),
Bc=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$"),Cc=/\s+/,Dc=/[\d\u06f0-\u06f9]/;function Ec(a,b){for(var c=0,d=0,f=!1,g=wc(a,b).split(Cc),h=0;h<g.length;h++){var k=g[h];yc.test(wc(k,void 0))?(c++,d++):zc.test(k)?f=!0:xc.test(wc(k,void 0))?d++:Dc.test(k)&&(f=!0)}return 0==d?f?1:0:.4<c/d?-1:1};var Fc;a:{var Gc=l.navigator;if(Gc){var Hc=Gc.userAgent;if(Hc){Fc=Hc;break a}}Fc=""}function Ic(a){return-1!=Fc.indexOf(a)};function Jc(){return(Ic("Chrome")||Ic("CriOS"))&&!Ic("Edge")};function Kc(){this.bJ="";this.E8=Lc}Kc.prototype.Hr=!0;Kc.prototype.Jo=function(){return this.bJ};Kc.prototype.toString=function(){return"Const{"+this.bJ+"}"};function Mc(a){return a instanceof Kc&&a.constructor===Kc&&a.E8===Lc?a.bJ:"type_error:Const"}var Lc={};function Nc(a){var b=new Kc;b.bJ=a;return b};function Oc(){this.qR="";this.p8=Pc}Oc.prototype.Hr=!0;var Pc={};function Qc(){var a=Nc("position:absolute; width:0; height:0; z-index: -1;"),a=Mc(a);return 0===a.length?Rc:(new Oc).cA(a)}Oc.prototype.Jo=function(){return this.qR};function Sc(a){if(a instanceof Oc&&a.constructor===Oc&&a.p8===Pc)return a.qR;ea(a);return"type_error:SafeStyle"}Oc.prototype.cA=function(a){this.qR=a;return this};var Rc=(new Oc).cA(""),Tc=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;function Uc(a){return Vc().createObjectURL(a)}function Vc(){var a=Wc();if(null!=a)return a;throw Error("This browser doesn't seem to support blob URLs");}function Wc(){return n(l.URL)&&n(l.URL.createObjectURL)?l.URL:n(l.webkitURL)&&n(l.webkitURL.createObjectURL)?l.webkitURL:n(l.createObjectURL)?l:null};function Xc(){this.ws="";this.q8=Yc}Xc.prototype.Hr=!0;Xc.prototype.Jo=function(){return this.ws};Xc.prototype.DO=!0;Xc.prototype.Ao=function(){return 1};function Zc(a){if(a instanceof Xc&&a.constructor===Xc&&a.q8===Yc)return a.ws;ea(a);return"type_error:SafeUrl"}var $c=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i;function ad(a){if(a instanceof Xc)return a;a=a.Hr?a.Jo():String(a);$c.test(a)||(a="about:invalid#zClosurez");return bd(a)}var Yc={};function bd(a){var b=new Xc;b.ws=a;return b}bd("about:blank");function cd(){this.rR="";this.N8=dd}cd.prototype.Hr=!0;cd.prototype.Jo=function(){return this.rR};cd.prototype.DO=!0;cd.prototype.Ao=function(){return 1};function ed(a){if(a instanceof cd&&a.constructor===cd&&a.N8===dd)return a.rR;ea(a);return"type_error:TrustedResourceUrl"}var dd={};function fd(a){var b=new cd;b.rR=a;return b};function gd(){this.ws="";this.o8=hd;this.JL=null}gd.prototype.DO=!0;gd.prototype.Ao=function(){return this.JL};gd.prototype.Hr=!0;gd.prototype.Jo=function(){return this.ws};function id(a){if(a instanceof gd&&a.constructor===gd&&a.o8===hd)return a.ws;ea(a);return"type_error:SafeHtml"}function jd(a){if(a instanceof gd)return a;var b=null;a.DO&&(b=a.Ao());return kd(Ga(a.Hr?a.Jo():String(a)),b)}
function ld(a){if(a instanceof gd)return a;a=jd(a);var b;b=id(a).replace(/(\r\n|\r|\n)/g,"<br>");return kd(b,a.Ao())}var md=/^[a-zA-Z0-9-]+$/,nd={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},od={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
function pd(a,b,c){if(!md.test(a))throw Error("Invalid tag name <"+a+">.");if(a.toUpperCase()in od)throw Error("Tag name <"+a+"> is not allowed for SafeHtml.");return qd(a,b,c)}function rd(a,b){a&&ed(a);var c={};c.src=a||null;c.srcdoc=null;var d={sandbox:""},f={},g;for(g in c)f[g]=c[g];for(g in d)f[g]=d[g];for(g in b){var h=g.toLowerCase();if(h in c)throw Error('Cannot override "'+h+'" attribute, got "'+g+'" with value "'+b[g]+'"');h in d&&delete f[h];f[g]=b[g]}return qd("iframe",f,void 0)}
function sd(a){function b(a){fa(a)?y(a,b):(a=jd(a),d+=id(a),a=a.Ao(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";y(arguments,b);return kd(d,c)}function td(a,b){var c=sd(Cb(arguments,1));c.JL=a;return c}var hd={};function kd(a,b){return(new gd).cA(a,b)}gd.prototype.cA=function(a,b){this.ws=a;this.JL=b;return this};
function qd(a,b,c){var d=null,f,g="";if(b)for(f in b){if(!md.test(f))throw Error('Invalid attribute name "'+f+'".');var h=b[f];if(null!=h){var k,m=a;k=f;if(h instanceof Kc)h=Mc(h);else if("style"==k.toLowerCase()){if(!ka(h))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof h+" given: "+h);if(!(h instanceof Oc)){var m="",q=void 0;for(q in h){if(!/^[-_a-zA-Z0-9]+$/.test(q))throw Error("Name allows only [-_a-zA-Z0-9], got: "+q);var v=h[q];if(null!=v){if(v instanceof
Kc)v=Mc(v);else if(Tc.test(v)){for(var B=!0,F=!0,M=0;M<v.length;M++){var O=v.charAt(M);"'"==O&&F?B=!B:'"'==O&&B&&(F=!F)}B&&F||(v="zClosurez")}else v="zClosurez";m+=q+":"+v+";"}}h=m?(new Oc).cA(m):Rc}h=Sc(h)}else{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+h+'" given.');if(k.toLowerCase()in nd)if(h instanceof cd)h=ed(h);else if(h instanceof Xc)h=Zc(h);else if(r(h))h=ad(h).Jo();else throw Error('Attribute "'+k+'" on tag "'+m+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
h+'" given.');}h.Hr&&(h=h.Jo());k=k+'="'+Ga(String(h))+'"';g+=" "+k}}f="<"+a+g;null!=c?fa(c)||(c=[c]):c=[];!0===tc[a.toLowerCase()]?f+=">":(d=sd(c),f+=">"+id(d)+"</"+a+">",d=d.Ao());(a=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(a)?0:null);return kd(f,d)}kd("<!DOCTYPE html>",0);var ud=kd("",0),vd=kd("<br>",0);function wd(a,b,c){return Math.min(Math.max(a,b),c)}function xd(a,b){var c=a%b;return 0>c*b?c+b:c}var yd=Math.sign||function(a){return 0<a?1:0>a?-1:a};function C(a,b){this.x=n(a)?a:0;this.y=n(b)?b:0}e=C.prototype;e.clone=function(){return new C(this.x,this.y)};function zd(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Ad(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function Bd(a,b){return new C(a.x-b.x,a.y-b.y)}e.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};e.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
e.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};e.translate=function(a,b){a instanceof C?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),ia(b)&&(this.y+=b));return this};e.scale=function(a,b){var c=ia(b)?b:a;this.x*=a;this.y*=c;return this};function D(a,b){this.width=a;this.height=b}function Cd(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}e=D.prototype;e.clone=function(){return new D(this.width,this.height)};e.o9=function(){return this.width*this.height};e.isEmpty=function(){return!this.o9()};e.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};function Dd(a,b){return a.width<=b.width&&a.height<=b.height}
e.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};e.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};e.scale=function(a,b){var c=ia(b)?b:a;this.width*=a;this.height*=c;return this};function Ed(a,b){a.scale(a.width/a.height>b.width/b.height?b.width/a.width:b.height/a.height)};function Fd(){return Ic("iPhone")&&!Ic("iPod")&&!Ic("iPad")}function Gd(){return Fd()||Ic("iPad")||Ic("iPod")};var Hd=Ic("Opera"),E=Ic("Trident")||Ic("MSIE"),Id=Ic("Edge"),Jd=Id||E,Kd=Ic("Gecko")&&!(-1!=Fc.toLowerCase().indexOf("webkit")&&!Ic("Edge"))&&!(Ic("Trident")||Ic("MSIE"))&&!Ic("Edge"),Ld=-1!=Fc.toLowerCase().indexOf("webkit")&&!Ic("Edge"),Md=Ld&&Ic("Mobile"),Nd=Ic("Macintosh"),Od=Ic("Windows"),Pd=Ic("Linux")||Ic("CrOS");function Qd(){var a=l.document;return a?a.documentMode:void 0}var Rd;
a:{var Sd="",Td=function(){var a=Fc;if(Kd)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Id)return/Edge\/([\d\.]+)/.exec(a);if(E)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ld)return/WebKit\/(\S+)/.exec(a);if(Hd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Td&&(Sd=Td?Td[1]:"");if(E){var Ud=Qd();if(null!=Ud&&Ud>parseFloat(Sd)){Rd=String(Ud);break a}}Rd=Sd}var Vd=Rd,Xd={};function Yd(a){return Xd[a]||(Xd[a]=0<=$a(Vd,a))}function Zd(a){return Number($d)>=a}
var ae=l.document,$d=ae&&E?Qd()||("CSS1Compat"==ae.compatMode?parseInt(Vd,10):5):void 0;var be=!E||Zd(9),ce=!Kd&&!E||E&&Zd(9)||Kd&&Yd("1.9.1"),de=E&&!Yd("9"),ee=E||Hd||Ld;function fe(a,b){a.innerHTML=id(b)}function ge(a,b){var c;c=b instanceof Xc?b:ad(b);a.href=Zc(c)};function he(a){return a?new ie(je(a)):ta||(ta=new ie)}function ke(a,b){return r(b)?a.getElementById(b):b}function le(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):me(document,"*",a,b)}function ne(a,b){var c=b||document;return(c.getElementsByClassName?c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?c.querySelector("."+a):me(document,"*",a,b)[0])||null}
function me(a,b,c,d){a=d||a;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var f=0,g=0,h;h=a[g];g++)b==h.nodeName&&(d[f++]=h);d.length=f;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(g=f=0;h=a[g];g++)b=h.className,"function"==typeof b.split&&tb(b.split(/\s+/),c)&&(d[f++]=h);d.length=f;return d}return a}
function pe(a,b){Mb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:qe.hasOwnProperty(d)?a.setAttribute(qe[d],b):ua(d,"aria-")||ua(d,"data-")?a.setAttribute(d,b):a[d]=b})}var qe={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"};
function re(a){a=(a||window).document;a=se(a)?a.documentElement:a.body;return new D(a.clientWidth,a.clientHeight)}function te(a){var b=ue(a);a=a.parentWindow||a.defaultView;return E&&Yd("10")&&a.pageYOffset!=b.scrollTop?new C(b.scrollLeft,b.scrollTop):new C(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ue(a){return a.scrollingElement?a.scrollingElement:!Ld&&se(a)?a.documentElement:a.body||a.documentElement}function ve(a){return a?a.parentWindow||a.defaultView:window}
function we(a,b,c){return xe(document,arguments)}function xe(a,b){var c=b[0],d=b[1];if(!be&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ga(d.name),'"');if(d.type){c.push(' type="',Ga(d.type),'"');var f={};cc(f,d);delete f.type;d=f}c.push(">");c=c.join("")}c=a.createElement(c);d&&(r(d)?c.className=d:fa(d)?c.className=d.join(" "):pe(c,d));2<b.length&&ye(a,c,b,2);return c}
function ye(a,b,c,d){function f(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];!ga(g)||ka(g)&&0<g.nodeType?f(g):y(ze(g)?zb(g):g,f)}}function se(a){return"CSS1Compat"==a.compatMode}function Ae(a,b){ye(je(a),a,arguments,1)}function Be(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Ce(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}function De(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}
function Ee(a){return n(a.firstElementChild)?a.firstElementChild:Fe(a.firstChild,!0)}function Ge(a){return n(a.nextElementSibling)?a.nextElementSibling:Fe(a.nextSibling,!0)}function Fe(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}function He(a){return ka(a)&&1==a.nodeType}function Ie(a){var b;if(ee&&!(E&&Yd("9")&&!Yd("10")&&l.SVGElement&&a instanceof l.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return He(b)?b:null}
function Je(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}function je(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Ke(a){return a.contentDocument||a.contentWindow.document}
function Le(a,b){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 Be(a),a.appendChild(je(a).createTextNode(String(b)))}function Me(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Me(a,b,c,d))return!0;a=a.nextSibling}return!1}var Ne={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Oe={IMG:" ",BR:"\n"};
function Pe(a){return Qe(a)&&Re(a)}function Se(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))}function Qe(a){a=a.getAttributeNode("tabindex");return null!=a&&a.specified}function Re(a){a=a.tabIndex;return ia(a)&&0<=a&&32768>a}
function Te(a){if(de&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ue(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");de||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}function Ve(a){var b=[];Ue(a,b,!1);return b.join("")}
function Ue(a,b,c){if(!(a.nodeName in Ne))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Oe)b.push(Oe[a.nodeName]);else for(a=a.firstChild;a;)Ue(a,b,c),a=a.nextSibling}function ze(a){if(a&&"number"==typeof a.length){if(ka(a))return"function"==typeof a.item||"string"==typeof a.item;if(ja(a))return"function"==typeof a.item}return!1}
function We(a){return Xe(a,function(a){return r(a.className)&&tb(a.className.split(/\s+/),"flip-entry-hover-card")},void 0)}function Xe(a,b,c){for(var d=0;a&&(null==c||d<=c);){if(b(a))return a;a=a.parentNode;d++}return null}function Ye(a){try{return a&&a.activeElement}catch(b){}return null}function Ze(a){return ve().matchMedia("(-webkit-min-device-pixel-ratio: "+a+"),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a+"dppx)").matches?a:0}function ie(a){this.Ba=a||l.document||document}e=ie.prototype;
e.U=he;e.H=function(a){return ke(this.Ba,a)};e.Ni=function(a,b){return le(a,b||this.Ba)};e.ua=function(a,b){return ne(a,b||this.Ba)};e.yd=function(a,b){return ne(a,b||this.Ba)};e.setProperties=pe;e.zd=function(a){return re(a||this.getWindow())};e.ra=function(a,b,c){return xe(this.Ba,arguments)};e.createElement=function(a){return this.Ba.createElement(a)};e.createTextNode=function(a){return this.Ba.createTextNode(String(a))};e.getWindow=function(){var a=this.Ba;return a.parentWindow||a.defaultView};
e.$c=function(a){return Ye(a||this.Ba)};e.appendChild=function(a,b){a.appendChild(b)};e.append=Ae;e.fe=Be;e.MO=Ce;function $e(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}e.removeNode=De;e.getChildren=function(a){return ce&&void 0!=a.children?a.children:lb(a.childNodes,function(a){return 1==a.nodeType})};e.OM=Ee;e.VM=Ge;function af(a,b){return n(b.previousElementSibling)?b.previousElementSibling:Fe(b.previousSibling,!1)}e.Waa=Ie;e.contains=Je;e.Vaa=je;e.Uf=Le;
function bf(a,b){var c=[];return Me(a,b,c,!0)?c[0]:void 0}e.pe=Se;e.Xm=function(a){var b;(b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Qe(a)||Re(a)):Pe(a))&&E?(a=!ja(a.getBoundingClientRect)||E&&null==a.parentElement?{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect(),a=null!=a&&0<a.height&&0<a.width):a=b;return a};e.F_=Te;function cf(a){return function(){return a}}var df=cf(!0),ef=cf(null);function ff(a){return a}function gf(a){var b=arguments,c=b.length;return function(){for(var a,f=0;f<c;f++)a=b[f].apply(this,arguments);return a}}function hf(){return function(){return!x.apply(this,arguments)}};function jf(a){l.setTimeout(function(){throw a;},0)}function kf(a,b){var c=a;b&&(c=t(a,b));c=lf(c);!ja(l.setImmediate)||l.Window&&l.Window.prototype&&!Ic("Edge")&&l.Window.prototype.setImmediate==l.setImmediate?(mf||(mf=nf()),mf(c)):l.setImmediate(c)}var mf;
function nf(){var a=l.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ic("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=t(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&&!Ic("Trident")&&!Ic("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(n(c.next)){c=c.next;var a=c.cb;c.cb=null;a()}};return function(a){d.next={cb: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){l.setTimeout(a,0)}}var lf=ff;function of(a,b,c){this.EG=c;this.Oq=a;this.JR=b;this.eH=0;this.Wc=null}of.prototype.get=function(){var a;0<this.eH?(this.eH--,a=this.Wc,this.Wc=a.next,a.next=null):a=this.Oq();return a};of.prototype.put=function(a){this.JR(a);this.eH<this.EG&&(this.eH++,a.next=this.Wc,this.Wc=a)};function pf(){this.GJ=this.ox=null}var rf=new of(function(){return new qf},function(a){a.reset()},100);pf.prototype.add=function(a,b){var c=rf.get();c.set(a,b);this.GJ?this.GJ.next=c:this.ox=c;this.GJ=c};pf.prototype.remove=function(){var a=null;this.ox&&(a=this.ox,this.ox=this.ox.next,this.ox||(this.GJ=null),a.next=null);return a};function qf(){this.next=this.scope=this.uo=null}qf.prototype.set=function(a,b){this.uo=a;this.scope=b;this.next=null};
qf.prototype.reset=function(){this.next=this.scope=this.uo=null};function sf(a,b){tf||uf();vf||(tf(),vf=!0);wf.add(a,b)}var tf;function uf(){if(l.Promise&&l.Promise.resolve){var a=l.Promise.resolve(void 0);tf=function(){a.then(xf)}}else tf=function(){kf(xf)}}var vf=!1,wf=new pf;function xf(){for(var a;a=wf.remove();){try{a.uo.call(a.scope)}catch(b){jf(b)}rf.put(a)}vf=!1};function yf(a){z.call(this);this.Wj=1;this.BH=[];this.UH=0;this.Be=[];this.In={};this.u9=!!a}w(yf,z);e=yf.prototype;e.subscribe=function(a,b,c){var d=this.In[a];d||(d=this.In[a]=[]);var f=this.Wj;this.Be[f]=a;this.Be[f+1]=b;this.Be[f+2]=c;this.Wj=f+3;d.push(f);return f};e.jq=function(a){var b=this.Be[a];if(b){var c=this.In[b];0!=this.UH?(this.BH.push(a),this.Be[a+1]=p):(c&&wb(c,a),delete this.Be[a],delete this.Be[a+1],delete this.Be[a+2])}return!!b};
e.publish=function(a,b){var c=this.In[a];if(c){for(var d=Array(arguments.length-1),f=1,g=arguments.length;f<g;f++)d[f-1]=arguments[f];if(this.u9)for(f=0;f<c.length;f++){var h=c[f];zf(this.Be[h+1],this.Be[h+2],d)}else{this.UH++;try{for(f=0,g=c.length;f<g;f++)h=c[f],this.Be[h+1].apply(this.Be[h+2],d)}finally{if(this.UH--,0<this.BH.length&&0==this.UH)for(;c=this.BH.pop();)this.jq(c)}}return 0!=f}return!1};function zf(a,b,c){sf(function(){a.apply(b,c)})}
e.clear=function(a){if(a){var b=this.In[a];b&&(y(b,this.jq,this),delete this.In[a])}else this.Be.length=0,this.In={}};e.Nb=function(a){if(a){var b=this.In[a];return b?b.length:0}a=0;for(b in this.In)a+=this.Nb(b);return a};e.ma=function(){yf.R.ma.call(this);this.clear();this.BH.length=0};function Af(a){this.Xla=a}Af.prototype.toString=function(){return this.Xla};function Bf(a){z.call(this);this.jw=new yf(a);A(this,this.jw)}w(Bf,z);e=Bf.prototype;e.subscribe=function(a,b,c){return this.jw.subscribe(a.toString(),b,c)};e.jq=function(a){return this.jw.jq(a)};e.publish=function(a,b){return this.jw.publish(a.toString(),b)};e.clear=function(a){this.jw.clear(n(a)?a.toString():void 0)};e.Nb=function(a){return this.jw.Nb(n(a)?a.toString():void 0)};var Cf=new Af("visibility"),Df=new Af("selection"),Ef=new Af("value"),Ff=new Af("enabled"),Gf=new Af("change"),Hf=new Af("action");function If(a,b){this.data=a;this.B$=b||null};function Jf(a,b,c){this.TH=a;this.newValue=b;this.oldValue=c};function Kf(a,b){z.call(this);this.Sa=a;this.uy={};this.Tc=b?$b(b):{};this.cga=$b(this.Tc);Lf(this);this.vf=new yf;this.iq=new Bf;this.$J=1E6}w(Kf,z);function Lf(a){n(a.Tc["keys-enabled"])||(a.Tc["keys-enabled"]=!0);a.isEnabled()||(a.uy["default"]=!0)}e=Kf.prototype;e.ma=function(){Kf.R.ma.call(this);this.vf.dispose();this.iq.dispose();delete this.vf;delete this.iq;delete this.Tc};e.getId=function(){return this.Sa};e.isEnabled=function(){return!!this.getProperty("enabled")};
e.setEnabled=function(a,b){var c=b||"default",d=!0;if(a){delete this.uy[c];for(var f in this.uy){d=!1;break}}else this.uy[c]=!0,d=!1;this.setProperty("enabled",d)};e.Ca=function(){return!!this.getProperty("visible")};e.setVisible=function(a){this.setProperty("visible",a)};e.Zo=function(){return!!this.getProperty("selected")};e.sk=function(a){this.setProperty("selected",a)};e.getLabel=function(){return this.getProperty("label")||""};
function Mf(a){var b=a.getProperty("long-label")||"";return b?b:(b=a.getProperty("node-label")||null)?Te(b):a.getLabel()}e.getIcon=function(){return this.getProperty("icon")};e.Zd=function(){return this.getProperty("keys")};e.Ga=function(){return this.getProperty("value")};e.qb=function(a){this.setProperty("value",a)};e.getProperty=function(a){return this.Tc[a]};
e.setProperty=function(a,b){var c=this.Tc[a];if(b!==c){this.Tc[a]=b;this.iq.publish(Gf,new Jf(a,b,c));var d=Nf(a);d&&this.iq.publish(d,new Jf(a,b,c))}};function Of(a){if(a=a.getProperty("synonyms")){a=a.split("|");for(var b=a.length-1;0<=b;b--)a[b]&&(a[b]=Ba(a[b])),a[b]||xb(a,b);return a}return[]}function Pf(a,b,c){if(a.isEnabled()){var d=a.Tc.selected;null!=d&&a.sk(!d);a.vf.publish("action",b,c);a.iq.publish(Hf,new If(b,c))}}e.subscribe=function(a,b,c){return this.vf.subscribe(a,b,c)};
e.xk=function(a,b,c){return this.iq.subscribe(a,b,c)+this.$J};e.jq=function(a){return a>this.$J?this.iq.jq(a-this.$J):this.vf.jq(a)};e.reset=function(){this.vf.clear();this.iq.clear();this.Tc=$b(this.cga);this.uy={};Lf(this)};function Nf(a){switch(a){case "visible":return Cf;case "selected":return Df;case "value":return Ef;case "enabled":return Ff;default:return null}};function Qf(a){z.call(this);this.WX=a}w(Qf,z);Qf.prototype.ag=function(a,b,c,d){this.WX.ag(a,b,c,d)};Qf.prototype.cS=function(a,b){this.WX.cS(a,b)};var Rf=new Kf("FLIP_PROJECTOR_DOWNLOAD",{visible:!0,enabled:!0,label:"Download",hint:"Download",icon:"drive-viewer-download-icon"});function Sf(a){z.call(this);this.S=a;this.Be=[]}w(Sf,z);Sf.prototype.subscribe=function(a,b,c,d){b=a.subscribe(b,c,d||this.S);this.Be.push(a,b);return this};Sf.prototype.xk=function(a,b,c,d){b=a.xk(b,c,d||this.S);this.Be.push(a,b);return this};Sf.prototype.removeAll=function(){for(var a,b;b=this.Be.pop();)(a=this.Be.pop())&&!a.isDisposed()&&a.jq(b)};Sf.prototype.ma=function(){Sf.R.ma.call(this);this.removeAll();delete this.S;delete this.Be};function G(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ys=!1;this.B4=!0}G.prototype.stopPropagation=function(){this.ys=!0};G.prototype.preventDefault=function(){this.defaultPrevented=!0;this.B4=!1};function Tf(a){a.preventDefault()};function Uf(a){Uf[" "](a);return a}Uf[" "]=p;function Vf(a,b){try{return Uf(a[b]),!0}catch(c){}return!1};var Wf=!E||Zd(9),Xf=!E||Zd(9),Yf=E&&!Yd("9");!Ld||Yd("528");Kd&&Yd("1.9b")||E&&Yd("8")||Hd&&Yd("9.5")||Ld&&Yd("528");Kd&&!Yd("8")||E&&Yd("9");var Zf="ontouchstart"in l||!!(l.document&&document.documentElement&&"ontouchstart"in document.documentElement)||!(!l.navigator||!l.navigator.msMaxTouchPoints);var $f=E?"focusin":"DOMFocusIn",ag=E?"focusout":"DOMFocusOut";function bg(a,b){G.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.state=null;this.GH=!1;this.Qb=null;a&&this.init(a,b)}w(bg,G);var cg=[1,4,2];
bg.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var f=a.relatedTarget;f?Kd&&(Vf(f,"nodeName")||(f=null)):"mouseover"==c?f=a.fromElement:"mouseout"==c&&(f=a.toElement);this.relatedTarget=f;null===d?(this.offsetX=Ld||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Ld||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.GH=Nd?a.metaKey:a.ctrlKey;this.state=a.state;this.Qb=a;a.defaultPrevented&&this.preventDefault()};
function dg(a){return Wf?0==a.Qb.button:"click"==a.type?!0:!!(a.Qb.button&cg[0])}function eg(a){return dg(a)&&!(Ld&&Nd&&a.ctrlKey)}bg.prototype.stopPropagation=function(){bg.R.stopPropagation.call(this);this.Qb.stopPropagation?this.Qb.stopPropagation():this.Qb.cancelBubble=!0};bg.prototype.preventDefault=function(){bg.R.preventDefault.call(this);var a=this.Qb;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Yf)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var fg="closure_listenable_"+(1E6*Math.random()|0);function gg(a){return!(!a||!a[fg])}var hg=0;function ig(a,b,c,d,f){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.Rx=!!d;this.Rc=f;this.key=++hg;this.removed=this.AD=!1}function jg(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Rc=null};function kg(a){this.src=a;this.Oe={};this.CC=0}e=kg.prototype;e.add=function(a,b,c,d,f){var g=a.toString();a=this.Oe[g];a||(a=this.Oe[g]=[],this.CC++);var h=lg(a,b,d,f);-1<h?(b=a[h],c||(b.AD=!1)):(b=new ig(b,this.src,g,!!d,f),b.AD=c,a.push(b));return b};e.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Oe))return!1;var f=this.Oe[a];b=lg(f,b,c,d);return-1<b?(jg(f[b]),xb(f,b),0==f.length&&(delete this.Oe[a],this.CC--),!0):!1};
function mg(a,b){var c=b.type;if(!(c in a.Oe))return!1;var d=wb(a.Oe[c],b);d&&(jg(b),0==a.Oe[c].length&&(delete a.Oe[c],a.CC--));return d}e.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Oe)if(!a||c==a){for(var d=this.Oe[c],f=0;f<d.length;f++)++b,jg(d[f]);delete this.Oe[c];this.CC--}return b};e.cF=function(a,b){var c=this.Oe[a.toString()],d=[];if(c)for(var f=0;f<c.length;++f){var g=c[f];g.Rx==b&&d.push(g)}return d};
e.ez=function(a,b,c,d){a=this.Oe[a.toString()];var f=-1;a&&(f=lg(a,b,c,d));return-1<f?a[f]:null};function lg(a,b,c,d){for(var f=0;f<a.length;++f){var g=a[f];if(!g.removed&&g.listener==b&&g.Rx==!!c&&g.Rc==d)return f}return-1};var ng="closure_lm_"+(1E6*Math.random()|0),og={},pg=0;function qg(a,b,c,d,f){if(fa(b)){for(var g=0;g<b.length;g++)qg(a,b[g],c,d,f);return null}c=rg(c);return gg(a)?a.listen(b,c,d,f):sg(a,b,c,!1,d,f)}
function sg(a,b,c,d,f,g){if(!b)throw Error("Invalid event type");var h=!!f,k=tg(a);k||(a[ng]=k=new kg(a));c=k.add(b,c,d,f,g);if(c.proxy)return c;d=ug();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(vg(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");pg++;return c}
function ug(){var a=wg,b=Xf?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}function xg(a,b,c,d,f){if(fa(b)){for(var g=0;g<b.length;g++)xg(a,b[g],c,d,f);return null}c=rg(c);return gg(a)?a.Fb(b,c,d,f):sg(a,b,c,!0,d,f)}function yg(a,b,c,d,f){if(fa(b))for(var g=0;g<b.length;g++)yg(a,b[g],c,d,f);else c=rg(c),gg(a)?a.ab(b,c,d,f):a&&(a=tg(a))&&(b=a.ez(b,c,!!d,f))&&zg(b)}
function zg(a){if(ia(a)||!a||a.removed)return!1;var b=a.src;if(gg(b))return mg(b.Li,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.Rx):b.detachEvent&&b.detachEvent(vg(c),d);pg--;(c=tg(b))?(mg(c,a),0==c.CC&&(c.src=null,b[ng]=null)):jg(a);return!0}function Ag(a){if(a)if(gg(a))a.Li&&a.Li.removeAll(void 0);else if(a=tg(a)){var b=0,c;for(c in a.Oe)for(var d=a.Oe[c].concat(),f=0;f<d.length;++f)zg(d[f])&&++b}}
function Bg(a,b,c,d,f){c=rg(c);d=!!d;return gg(a)?a.ez(b,c,d,f):a?(a=tg(a))?a.ez(b,c,d,f):null:null}function vg(a){return a in og?og[a]:og[a]="on"+a}function Cg(a,b,c,d){var f=!0;if(a=tg(a))if(b=a.Oe[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.Rx==c&&!g.removed&&(g=Dg(g,d),f=f&&!1!==g)}return f}function Dg(a,b){var c=a.listener,d=a.Rc||a.src;a.AD&&zg(a);return c.call(d,b)}
function wg(a,b){if(a.removed)return!0;if(!Xf){var c=b||ca("window.event"),d=new bg(c,this),f=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var g=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){g=!0}if(g||void 0==c.returnValue)c.returnValue=!0}c=[];for(g=d.currentTarget;g;g=g.parentNode)c.push(g);for(var g=a.type,h=c.length-1;!d.ys&&0<=h;h--){d.currentTarget=c[h];var k=Cg(c[h],g,!0,d),f=f&&k}for(h=0;!d.ys&&h<c.length;h++)d.currentTarget=c[h],k=Cg(c[h],g,!1,d),f=f&&k}return f}return Dg(a,new bg(b,
this))}function tg(a){a=a[ng];return a instanceof kg?a:null}var Eg="__closure_events_fn_"+(1E9*Math.random()>>>0);function rg(a){if(ja(a))return a;a[Eg]||(a[Eg]=function(b){return a.handleEvent(b)});return a[Eg]};function H(){z.call(this);this.Li=new kg(this);this.W8=this;this.aR=null}w(H,z);H.prototype[fg]=!0;e=H.prototype;e.bh=function(){return this.aR};e.Fg=function(a){this.aR=a};e.addEventListener=function(a,b,c,d){qg(this,a,b,c,d)};e.removeEventListener=function(a,b,c,d){yg(this,a,b,c,d)};
e.dispatchEvent=function(a){var b,c=this.bh();if(c)for(b=[];c;c=c.bh())b.push(c);var c=this.W8,d=a.type||a;if(r(a))a=new G(a,c);else if(a instanceof G)a.target=a.target||c;else{var f=a;a=new G(d,c);cc(a,f)}var f=!0,g;if(b)for(var h=b.length-1;!a.ys&&0<=h;h--)g=a.currentTarget=b[h],f=Fg(g,d,!0,a)&&f;a.ys||(g=a.currentTarget=c,f=Fg(g,d,!0,a)&&f,a.ys||(f=Fg(g,d,!1,a)&&f));if(b)for(h=0;!a.ys&&h<b.length;h++)g=a.currentTarget=b[h],f=Fg(g,d,!1,a)&&f;return f};
e.ma=function(){H.R.ma.call(this);this.Li&&this.Li.removeAll(void 0);this.aR=null};e.listen=function(a,b,c,d){return this.Li.add(String(a),b,!1,c,d)};e.Fb=function(a,b,c,d){return this.Li.add(String(a),b,!0,c,d)};e.ab=function(a,b,c,d){return this.Li.remove(String(a),b,c,d)};
function Fg(a,b,c,d){b=a.Li.Oe[String(b)];if(!b)return!0;b=b.concat();for(var f=!0,g=0;g<b.length;++g){var h=b[g];if(h&&!h.removed&&h.Rx==c){var k=h.listener,m=h.Rc||h.src;h.AD&&mg(a.Li,h);f=!1!==k.call(m,d)&&f}}return f&&0!=d.B4}e.cF=function(a,b){return this.Li.cF(String(a),b)};e.ez=function(a,b,c,d){return this.Li.ez(String(a),b,c,d)};function Gg(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}function Hg(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Ig(a,b){this.va=0;this.Eg=void 0;this.Tt=this.Zn=this.Cb=null;this.pF=this.kM=!1;if(a!=p)try{var c=this;a.call(b,function(a){Jg(c,2,a)},function(a){Jg(c,3,a)})}catch(d){Jg(this,3,d)}}function Kg(){this.next=this.context=this.Vv=this.YA=this.Kq=null;this.Fx=!1}Kg.prototype.reset=function(){this.context=this.Vv=this.YA=this.Kq=null;this.Fx=!1};var Lg=new of(function(){return new Kg},function(a){a.reset()},100);function Mg(a,b,c){var d=Lg.get();d.YA=a;d.Vv=b;d.context=c;return d}
function Ng(a){if(a instanceof Ig)return a;var b=new Ig(p);Jg(b,2,a);return b}function Og(a){return new Ig(function(b,c){c(a)})}function Pg(a,b,c){Qg(a,b,c,null)||sf(qa(b,a))}function Rg(a){return new Ig(function(b,c){var d=a.length,f=[];if(d)for(var g=function(a,c){d--;f[a]=c;0==d&&b(f)},h=function(a){c(a)},k=0,m;k<a.length;k++)m=a[k],Pg(m,qa(g,k),h);else b(f)})}function Sg(){var a,b,c=new Ig(function(c,f){a=c;b=f});return new Tg(c,a,b)}
Ig.prototype.then=function(a,b,c){return Ug(this,ja(a)?a:null,ja(b)?b:null,c)};Gg(Ig);function Vg(a,b,c){b=Mg(b,b,c);b.Fx=!0;Wg(a,b);return a}function Xg(a,b,c){Ug(a,null,b,c)}Ig.prototype.cancel=function(a){0==this.va&&sf(function(){var b=new Yg(a);Zg(this,b)},this)};
function Zg(a,b){if(0==a.va)if(a.Cb){var c=a.Cb;if(c.Zn){for(var d=0,f=null,g=null,h=c.Zn;h&&(h.Fx||(d++,h.Kq==a&&(f=h),!(f&&1<d)));h=h.next)f||(g=h);f&&(0==c.va&&1==d?Zg(c,b):(g?(d=g,d.next==c.Tt&&(c.Tt=d),d.next=d.next.next):$g(c),ah(c,f,3,b)))}a.Cb=null}else Jg(a,3,b)}function Wg(a,b){a.Zn||2!=a.va&&3!=a.va||bh(a);a.Tt?a.Tt.next=b:a.Zn=b;a.Tt=b}
function Ug(a,b,c,d){var f=Mg(null,null,null);f.Kq=new Ig(function(a,h){f.YA=b?function(c){try{var f=b.call(d,c);a(f)}catch(q){h(q)}}:a;f.Vv=c?function(b){try{var f=c.call(d,b);!n(f)&&b instanceof Yg?h(b):a(f)}catch(q){h(q)}}:h});f.Kq.Cb=a;Wg(a,f);return f.Kq}Ig.prototype.cma=function(a){this.va=0;Jg(this,2,a)};Ig.prototype.dma=function(a){this.va=0;Jg(this,3,a)};
function Jg(a,b,c){0==a.va&&(a==c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.va=1,Qg(c,a.cma,a.dma,a)||(a.Eg=c,a.va=b,a.Cb=null,bh(a),3!=b||c instanceof Yg||ch(a,c)))}function Qg(a,b,c,d){if(a instanceof Ig)return Wg(a,Mg(b||p,c||null,d)),!0;if(Hg(a))return a.then(b,c,d),!0;if(ka(a))try{var f=a.then;if(ja(f))return dh(a,f,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1}
function dh(a,b,c,d,f){function g(a){k||(k=!0,d.call(f,a))}function h(a){k||(k=!0,c.call(f,a))}var k=!1;try{b.call(a,h,g)}catch(m){g(m)}}function bh(a){a.kM||(a.kM=!0,sf(a.kaa,a))}function $g(a){var b=null;a.Zn&&(b=a.Zn,a.Zn=b.next,b.next=null);a.Zn||(a.Tt=null);return b}Ig.prototype.kaa=function(){for(var a;a=$g(this);)ah(this,a,this.va,this.Eg);this.kM=!1};
function ah(a,b,c,d){if(3==c&&b.Vv&&!b.Fx)for(;a&&a.pF;a=a.Cb)a.pF=!1;if(b.Kq)b.Kq.Cb=null,eh(b,c,d);else try{b.Fx?b.YA.call(b.context):eh(b,c,d)}catch(f){fh.call(null,f)}Lg.put(b)}function eh(a,b,c){2==b?a.YA.call(a.context,c):a.Vv&&a.Vv.call(a.context,c)}function ch(a,b){a.pF=!0;sf(function(){a.pF&&fh.call(null,b)})}var fh=jf;function Yg(a){sa.call(this,a)}w(Yg,sa);Yg.prototype.name="cancel";function Tg(a,b,c){this.uf=a;this.resolve=b;this.reject=c};function gh(a,b){H.call(this);this.Le=a||1;this.Zw=b||l;this.CK=t(this.Qla,this);this.xv=u()}w(gh,H);e=gh.prototype;e.enabled=!1;e.Ta=null;e.aF=function(){return this.Le};e.setInterval=function(a){this.Le=a;this.Ta&&this.enabled?(this.stop(),this.start()):this.Ta&&this.stop()};
e.Qla=function(){if(this.enabled){var a=u()-this.xv;0<a&&a<.8*this.Le?this.Ta=this.Zw.setTimeout(this.CK,this.Le-a):(this.Ta&&(this.Zw.clearTimeout(this.Ta),this.Ta=null),this.dispatchEvent("tick"),this.enabled&&(this.Ta=this.Zw.setTimeout(this.CK,this.Le),this.xv=u()))}};e.start=function(){this.enabled=!0;this.Ta||(this.Ta=this.Zw.setTimeout(this.CK,this.Le),this.xv=u())};e.stop=function(){this.enabled=!1;this.Ta&&(this.Zw.clearTimeout(this.Ta),this.Ta=null)};
e.ma=function(){gh.R.ma.call(this);this.stop();delete this.Zw};function I(a,b,c){if(ja(a))c&&(a=t(a,c));else if(a&&"function"==typeof a.handleEvent)a=t(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:l.setTimeout(a,b||0)}function J(a){l.clearTimeout(a)};var hh;var ih="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" ");function jh(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}
function kh(a,b,c){fa(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(hh||(hh={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=hh,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)}function lh(a,b){var c=a.getAttribute("aria-"+b);return null==c||void 0==c?"":String(c)}
function mh(a){var b=lh(a,"activedescendant");return je(a).getElementById(b)}function nh(a,b){var c="";b&&(c=b.id);kh(a,"activedescendant",c)}function oh(a,b){kh(a,"label",b)};function ph(a){z.call(this);this.nb=a||he();this.IG={}}w(ph,z);ph.prototype.ma=function(){Mb(this.IG,this.nb.removeNode,this.nb);this.nb=this.IG=null;ph.R.ma.call(this)};ph.prototype.Pp=function(a,b){var c=qh(this,b||"polite");Le(c,"");I(function(){Le(c,a)},1)};
function qh(a,b){var c=a.IG[b];if(c)return c.removeAttribute("aria-hidden"),c;c=a.nb.createElement("DIV");c.style.position="absolute";c.style.top="-1000px";c.style.height="1px";c.style.overflow="hidden";kh(c,"live",b);kh(c,"atomic","true");a.nb.Ba.body.appendChild(c);return a.IG[b]=c};function rh(a){z.call(this);this.oW=new ph(a);this.lp="";this.Ec=null}w(rh,z);rh.prototype.Pp=function(a,b,c){var d=b?b:"polite";"polite"==d?c&&this.Ec?this.lp=this.lp+" "+a:(this.lp=a,J(this.Ec),this.Ec=I(function(){this.oW.Pp(this.lp,d);this.Ec=null},500,this)):this.oW.Pp(a,d)};rh.prototype.ma=function(){J(this.Ec)};function sh(a,b){b?kh(a,"hidden",b):a.removeAttribute("aria-hidden")}function th(a,b){a&&pe(a,{alt:b})}function uh(a,b){for(var c=a.Ba.body.firstChild;c;c=c.nextSibling)1==c.nodeType&&sh(c,b);c=a.ua("drive-viewer");sh(c,!b)};function vh(){}w(vh,Error);function wh(){this.va="pending";this.Uu=[];this.kg=this.Pb=void 0}Gg(wh);function xh(){sa.call(this,"Multiple attempts to set the state of this Result")}w(xh,sa);e=wh.prototype;e.getState=function(){return this.va};e.Ga=function(){return this.Pb};e.getError=function(){return this.kg};function yh(a,b,c){"pending"==a.va?a.Uu.push({Jb:b,scope:c||null}):b.call(c,a)}e.qb=function(a){if("pending"==this.va)this.Pb=a,this.va="success",zh(this);else if(!this.hi())throw new xh;};
e.kc=function(a){if("pending"==this.va)this.kg=a,this.va="error",zh(this);else if(!this.hi())throw new xh;};function zh(a){var b=a.Uu;a.Uu=[];for(var c=0;c<b.length;c++){var d=b[c];d.Jb.call(d.scope,a)}}e.cancel=function(){return"pending"==this.va?(this.kc(new vh),!0):!1};e.hi=function(){return"error"==this.va&&this.kg instanceof vh};
e.then=function(a,b,c){var d,f,g=new Ig(function(a,b){d=a;f=b});yh(this,function(a){a.hi()?g.cancel():"success"==a.getState()?d(a.Ga()):"error"==a.getState()&&f(a.getError())});return g.then(a,b,c)};function Ah(a){this.mL=2E3;this.mP=n(a)?a:.15};function Bh(a,b,c,d,f){function g(){var d=a();yh(d,function(){q++;if(!h.hi())if("success"!=d.getState())if(q>=v)h.kc(d.getError());else{if(m?(Ch(h,d,b),m=!1):Ch(h,d,c),!h.hi()){var a=g,f=k.mL;k.mL*=2;I(a,Math.round(f*(1-k.mP+Math.random()*k.mP*2)))}}else h.qb(d.Ga())})}var h=new wh,k=new Ah(d),m=!0,q=0,v=f||8;g();return h}function Ch(a,b,c){c&&((b=b.getError())?c(a,b.statusCode):c(a))};function Dh(a){var b=new wh;b.qb(a);return b}function Eh(){var a=new wh;a.kc(void 0);return a}function Fh(a,b,c){yh(a,b,c)}function Gh(a,b,c){Fh(a,function(a){"success"==a.getState()&&b.call(this,a.Ga(),a)},c)}function Hh(a,b,c){Fh(a,function(a){"error"==a.getState()&&b.call(this,a.getError(),a)},c)}function Ih(a,b){var c=new Jh([a]);Fh(a,function(a){"success"==a.getState()?c.qb(b(a.Ga())):c.kc(a.getError())});return c}
function Kh(a,b){var c=new Jh([a]);Fh(a,function(a){"success"==a.getState()?(a=b.call(void 0,a),c.wja.push(a),Fh(a,function(a){"success"==a.getState()?c.qb(a.Ga()):c.kc(a.getError())})):c.kc(a.getError())});return c}function Lh(a){function b(){"pending"==f.getState()&&pb(d,c)&&f.qb(d)}function c(a){return"pending"!=a.getState()}var d=zb(arguments),f=new Jh(d);y(d,function(a){yh(a,b,void 0)});return f}function Jh(a){wh.call(this);this.wja=a}w(Jh,wh);function Mh(a,b,c){this.Jc=a;this.Qd=b;this.AE=c;this.VG="GET";this.l1=Nh}function Nh(a){return 404==a.code||401==a.code}function Oh(a){return 403==a.code?(a=a.errors)&&0<a.length&&(a=a[0].reason,"rateLimitExceeded"==a||"userRateLimitExceeded"==a)?!1:!0:Nh(a)}function Ph(a,b){a.WP=b;return a}function Qh(a,b){a.VG=b;return a}function Rh(a,b){a.H9=b;return a}function Sh(a){a.l1=Oh;return a}
Mh.prototype.start=function(){var a=new wh,b=Bh(t(this.Mga,this),this.aga,this.$ra,this.mP,this.WP);Gh(b,t(this.kba,this,a));Hh(b,a.kc,a);Hh(a,function(){a.hi()&&b.cancel()});return a};Mh.prototype.Mga=function(){var a=new wh,b=t(function(b){if("pending"==a.getState())if(b?b.kind!=this.AE||b.error:this.AE){var d=b.error;d&&this.l1(d)?a.qb(b):a.kc(b)}else a.qb(b)},this);Xg(this.Jc.sendRequest({path:this.Qd,method:this.VG,body:this.H9,Jb:b}),p);return a};
Mh.prototype.kba=function(a,b){(b?b.kind!=this.AE||b.error:this.AE)?a.kc(b):a.qb(b)};function Th(a,b,c,d,f,g){var h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=c,d&&(h+=":"+d));f&&(h+=f);g&&(h+="?"+g);return h}var Uh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Vh(a){return a.match(Uh)}function Wh(a){return a?decodeURI(a):a}function Xh(a){a=Vh(a);return Th(a[1],a[2],a[3],a[4])}function Yh(a){var b=a.indexOf("#");return 0>b?a:a.substr(0,b)}
function Zh(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var f=c[d].indexOf("="),g,h=null;0<=f?(g=c[d].substring(0,f),h=c[d].substring(f+1)):g=c[d];b(g,h?Fa(h):"")}}function $h(a){if(a[1]){var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")}function ai(a,b,c){if(fa(b))for(var d=0;d<b.length;d++)ai(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",Ea(b))}
function bi(a,b,c){for(c=c||0;c<b.length;c+=2)ai(b[c],b[c+1],a);return a}function ci(a,b){for(var c in b)ai(c,b[c],a);return a}function di(a){a=ci([],a);a[0]="";return a.join("")}function ei(a,b){return $h(2==arguments.length?bi([a],arguments[1],0):bi([a],arguments,1))}function fi(a,b,c){a=[a,"&",b];null!=c&&a.push("=",Ea(c));return $h(a)}
function gi(a,b,c,d){for(var f=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+f),!g||61==g||38==g||35==g)return b;b+=f+1}return-1}var hi=/#|$/;function ii(a,b){return 0<=gi(a,0,b,a.search(hi))}function ji(a,b){var c=a.search(hi),d=gi(a,0,b,c);if(0>d)return null;var f=a.indexOf("&",d);if(0>f||f>c)f=c;d+=b.length+1;return Fa(a.substr(d,f-d))}var ki=/[?&]($|#)/;
function li(a,b,c){for(var d=a.search(hi),f=0,g,h=[];0<=(g=gi(a,f,b,d));)h.push(a.substring(f,g)),f=Math.min(a.indexOf("&",g)+1||d,d);h.push(a.substr(f));a=h.join("").replace(ki,"$1");return fi(a,b,c)}function mi(a,b){va(a,"/")&&(a=a.substr(0,a.length-1));ua(b,"/")&&(b=b.substr(1));return Xa(a,"/",b)};function ni(a){this.mg=oi(pi(a.qa()));this.Jc=qi(a,ri)}w(ni,z);var si="description;editable;createdDate;fileSize;id;lastViewedByMeDate;modifiedDate;primarySyncParentId;labels(starred, restricted);alternateLink;shared;iconLink".split(";"),ti=Ea(Xa("items(","author,content,createdDate,status",",replies(","author,content,createdDate,modifiedDate,verb",")),kind")),ui=Ea("id,kind"),vi=Ea("preview,kind");
ni.prototype.getDetails=function(a,b,c,d){a=Sh(new Mh(this.Jc,this.mg+"/files/"+a+"?fields="+Ea(Xa(si.concat(b).join(","),",userPermission(","id,name,emailAddress,domain,role,additionalRoles,photoLink,type,withLink","),","permissions(","id,name,emailAddress,domain,role,additionalRoles,photoLink,type,withLink","), parents(","id",")",",kind")),"drive#file")).start();this.wf(a);Gh(a,c);Hh(a,d)};
ni.prototype.TE=function(a,b,c){a=Sh(new Mh(this.Jc,this.mg+"/files/"+a+"/comments?fields="+ti,"drive#commentList")).start();this.wf(a);Gh(a,b);Hh(a,c)};function wi(a,b,c,d){a.Jc.sendRequest({path:a.mg+"/extractionJobs/"+b,method:"GET",Jb:function(a){"drive#archiveExtractionJob"!=a.kind||null!=a.error?d(a):c(a)}})}function xi(a,b,c){return a.mg+"/files/"+b+"?fields="+ui+","+c}ni.prototype.wf=function(a){qc(this,function(){a.cancel()})};function K(a){z.call(this);this.ha=a;this.qd={}}w(K,z);var yi=[];e=K.prototype;e.listen=function(a,b,c,d){fa(b)||(b&&(yi[0]=b.toString()),b=yi);for(var f=0;f<b.length;f++){var g=qg(a,b[f],c||this.handleEvent,d||!1,this.ha||this);if(!g)break;this.qd[g.key]=g}return this};e.Fb=function(a,b,c,d){return zi(this,a,b,c,d)};function Ai(a,b,c,d){zi(a,b,"$",c,void 0,d)}
function zi(a,b,c,d,f,g){if(fa(c))for(var h=0;h<c.length;h++)zi(a,b,c[h],d,f,g);else{b=xg(b,c,d||a.handleEvent,f,g||a.ha||a);if(!b)return a;a.qd[b.key]=b}return a}function Bi(a,b,c){Ci.listen(b,c,void 0,a.ha||a,a)}e.ab=function(a,b,c,d,f){if(fa(b))for(var g=0;g<b.length;g++)this.ab(a,b[g],c,d,f);else if(a=Bg(a,b,c||this.handleEvent,d,f||this.ha||this))zg(a),delete this.qd[a.key];return this};e.removeAll=function(){Mb(this.qd,function(a,b){this.qd.hasOwnProperty(b)&&zg(a)},this);this.qd={}};
e.ma=function(){K.R.ma.call(this);this.removeAll()};e.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Di=Ic("Firefox"),Ei=Fd()||Ic("iPod"),Fi=Ic("iPad"),Gi=Ic("Android")&&!(Jc()||Ic("Firefox")||Ic("Opera")||Ic("Silk")),Hi=Jc(),Ii=Ic("Safari")&&!(Jc()||Ic("Coast")||Ic("Opera")||Ic("Edge")||Ic("Silk")||Ic("Android"))&&!Gd();function Ji(a){for(var b=[],c=0,d=0;d<a.length;d++){for(var f=a.charCodeAt(d);255<f;)b[c++]=f&255,f>>=8;b[c++]=f}return b};var Ki=null,Li=null;function Mi(a,b){if(!Ki){Ki={};Li={};for(var c=0;65>c;c++)Ki[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c),Li[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c)}for(var c=b?Li:Ki,d=[],f=0;f<a.length;f+=3){var g=a[f],h=f+1<a.length,k=h?a[f+1]:0,m=f+2<a.length,q=m?a[f+2]:0,v=g>>2,g=(g&3)<<4|k>>4,k=(k&15)<<2|q>>6,q=q&63;m||(q=64,h||(k=64));d.push(c[v],c[g],c[k],c[q])}return d.join("")};function Ni(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Oi(a){return eval("("+a+")")}function Pi(a,b){return(new Qi(b)).pj(a)}function Qi(a){this.gI=a}
Qi.prototype.pj=function(a){var b=[];Ri(this,a,b);return b.join("")};
function Ri(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(fa(b)){var d=b;b=d.length;c.push("[");for(var f="",g=0;g<b;g++)c.push(f),f=d[g],Ri(a,a.gI?a.gI.call(d,String(g),f):f,c),f=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(g),Si(d,c),c.push(":"),Ri(a,a.gI?a.gI.call(b,d,f):f,c),g=","));c.push("}");return}}switch(typeof b){case "string":Si(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var Ti={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Ui=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
function Si(a,b){b.push('"',a.replace(Ui,function(a){var b=Ti[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Ti[a]=b);return b}),'"')};function Vi(){}var Wi="function"==typeof Uint8Array;function Xi(a,b,c){a.Ee=null;b||(b=[]);a.Ora=void 0;a.qD=-1;a.Ik=b;a:{if(a.Ik.length){b=a.Ik.length-1;var d=a.Ik[b];if(d&&"object"==typeof d&&!fa(d)){a.FH=b-a.qD;a.Zq=d;break a}}a.FH=Number.MAX_VALUE}a.WD={};if(c)for(b=0;b<c.length;b++)d=c[b],d<a.FH?(d+=a.qD,a.Ik[d]=a.Ik[d]||Yi):a.Zq[d]=a.Zq[d]||Yi}var Yi=[];function L(a,b){if(b<a.FH){var c=b+a.qD,d=a.Ik[c];return d===Yi?a.Ik[c]=[]:d}d=a.Zq[b];return d===Yi?a.Zq[b]=[]:d}
function Zi(a,b){var c=L(a,b);return null==c?c:+c}function $i(a,b){var c=L(a,b);a.WD||(a.WD={});if(!a.WD[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.WD[b]=!0}return c}function N(a,b,c){b<a.FH?a.Ik[b+a.qD]=c:a.Zq[b]=c}function aj(a,b,c){a.Ee||(a.Ee={});if(!a.Ee[c]){var d=L(a,c);d&&(a.Ee[c]=new b(d))}return a.Ee[c]}function bj(a,b,c){a.Ee||(a.Ee={});if(!a.Ee[c]){for(var d=L(a,c),f=[],g=0;g<d.length;g++)f[g]=new b(d[g]);a.Ee[c]=f}b=a.Ee[c];b==Yi&&(b=a.Ee[c]=[]);return b}
function cj(a,b,c){a.Ee||(a.Ee={});var d=c?c.Sc():c;a.Ee[b]=c;N(a,b,d)}function dj(a,b,c){a.Ee||(a.Ee={});c=c||[];for(var d=[],f=0;f<c.length;f++)d[f]=c[f].Sc();a.Ee[b]=c;N(a,b,d)}Vi.prototype.Sc=function(){return this.Ik};var ej=l.JSON&&l.JSON.stringify||"object"===typeof JSON&&JSON.stringify;
Vi.prototype.pj=Wi?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return Mi(this)};try{var b=ej.call(null,this.Sc(),fj)}finally{Uint8Array.prototype.toJSON=a}return b}:ej?function(){return ej.call(null,this.Sc(),fj)}:function(){return Pi(this.Sc(),fj)};function fj(a,b){if(ia(b)){if(isNaN(b))return"NaN";if(Infinity===b)return"Infinity";if(-Infinity===b)return"-Infinity"}return b}Vi.prototype.toString=function(){return this.Ik.toString()};
function gj(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!hj(a[d],b[d]))return!1;return!0}
function hj(a,b){if(a==b)return!0;if(!ka(a)||!ka(b)||a.constructor!=b.constructor)return!1;if(Wi&&a.constructor===Uint8Array){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return!1;return!0}if(a.constructor===Array){for(var d=void 0,f=void 0,g=Math.max(a.length,b.length),c=0;c<g;c++){var h=a[c],k=b[c];h&&h.constructor==Object&&(d=h,h=void 0);k&&k.constructor==Object&&(f=k,k=void 0);if(!hj(h,k))return!1}return d||f?(d=d||{},f=f||{},gj(d,f)):!0}if(a.constructor===Object)return gj(a,
b);throw Error("Invalid type in JSPB array");}function ij(a){return new a.constructor(jj(a.Sc()))}function jj(a){var b;if(fa(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?jj(b):b);return c}if(Wi&&a instanceof Uint8Array)return new Uint8Array(a);c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?jj(b):b);return c};function kj(a){Xi(this,a,null)}w(kj,Vi);e=kj.prototype;e.Ya=function(){return ij(this)};e.Kb=function(){return L(this,1)};e.Ed=function(a){N(this,1,a)};e.getHeight=function(){return L(this,2)};e.Sd=function(a){N(this,2,a)};e.Rb=function(){return L(this,3)};e.Gw=function(a){N(this,3,a)};e.ZE=function(){return L(this,4)};e.WB=function(a){N(this,4,a)};function lj(a){Xi(this,a,null)}w(lj,Vi);e=lj.prototype;e.Ya=function(){return ij(this)};e.Oi=function(){return L(this,3)};e.h5=function(a){N(this,3,a)};e.Qj=function(){return L(this,4)};e.Cn=function(a){N(this,4,a)};e.Rb=function(){return L(this,10)};e.Gw=function(a){N(this,10,a)};e.getState=function(){return L(this,12)};e.lb=function(a){N(this,12,a)};e.xo=function(){return L(this,13)};e.Rd=function(a){N(this,13,a)};e.cl=function(){return L(this,14)};e.d5=function(a){N(this,14,a)};
e.ZE=function(){return L(this,16)};e.WB=function(a){N(this,16,a)};function mj(a,b,c,d){this.Qa=a;this.Kv=b;this.zm=c;this.Iq=d}w(mj,z);e=mj.prototype;e.getData=function(){return this.Qa};e.Rb=function(){return this.Kv};e.ZE=function(){return this.zm};e.Gw=function(a){this.Kv=a};e.WB=function(a){0<a&&(this.zm=a)};e.ma=function(){if(this.Iq){var a=this.Iq;Vc().revokeObjectURL(a)}};function nj(a,b,c){return kd(b,c||null)};var oj="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""};function pj(){}pj.prototype.next=function(){throw oj;};pj.prototype.cK=function(){return this};function qj(a,b){this.V={};this.qd=[];this.Ei=this.Vc=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)}e=qj.prototype;e.Nb=function(){return this.Vc};e.wc=function(){rj(this);for(var a=[],b=0;b<this.qd.length;b++)a.push(this.V[this.qd[b]]);return a};e.Zd=function(){rj(this);return this.qd.concat()};e.Wd=function(a){return sj(this.V,a)};e.isEmpty=function(){return 0==this.Vc};
e.clear=function(){this.V={};this.Ei=this.Vc=this.qd.length=0};e.remove=function(a){return sj(this.V,a)?(delete this.V[a],this.Vc--,this.Ei++,this.qd.length>2*this.Vc&&rj(this),!0):!1};function rj(a){if(a.Vc!=a.qd.length){for(var b=0,c=0;b<a.qd.length;){var d=a.qd[b];sj(a.V,d)&&(a.qd[c++]=d);b++}a.qd.length=c}if(a.Vc!=a.qd.length){for(var f={},c=b=0;b<a.qd.length;)d=a.qd[b],sj(f,d)||(a.qd[c++]=d,f[d]=1),b++;a.qd.length=c}}e.get=function(a,b){return sj(this.V,a)?this.V[a]:b};
e.set=function(a,b){sj(this.V,a)||(this.Vc++,this.qd.push(a),this.Ei++);this.V[a]=b};e.addAll=function(a){var b;a instanceof qj?(b=a.Zd(),a=a.wc()):(b=Tb(a),a=Sb(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};e.forEach=function(a,b){for(var c=this.Zd(),d=0;d<c.length;d++){var f=c[d],g=this.get(f);a.call(b,g,f,this)}};e.clone=function(){return new qj(this)};
e.cK=function(a){rj(this);var b=0,c=this.Ei,d=this,f=new pj;f.next=function(){if(c!=d.Ei)throw Error("The map has changed since the iterator was created");if(b>=d.qd.length)throw oj;var f=d.qd[b++];return a?f:d.V[f]};return f};function sj(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function tj(a){if(a.wc&&"function"==typeof a.wc)return a.wc();if(r(a))return a.split("");if(ga(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Sb(a)}function uj(a){if(a.Zd&&"function"==typeof a.Zd)return a.Zd();if(!a.wc||"function"!=typeof a.wc){if(ga(a)||r(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Tb(a)}}
function vj(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ga(a)||r(a))y(a,b,c);else for(var d=uj(a),f=tj(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],d&&d[h],a)}function wj(a,b){if("function"==typeof a.map)return a.map(b,void 0);if(ga(a)||r(a))return mb(a,b,void 0);var c,d=uj(a),f=tj(a),g=f.length;if(d){c={};for(var h=0;h<g;h++)c[d[h]]=b.call(void 0,f[h],d[h],a)}else for(c=[],h=0;h<g;h++)c[h]=b.call(void 0,f[h],void 0,a);return c};function xj(a){this.V=new qj;a&&this.addAll(a)}function yj(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+la(a):b.substr(0,1)+a}e=xj.prototype;e.Nb=function(){return this.V.Nb()};e.add=function(a){this.V.set(yj(a),a)};e.addAll=function(a){a=tj(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};e.removeAll=function(a){a=tj(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};e.remove=function(a){return this.V.remove(yj(a))};e.clear=function(){this.V.clear()};e.isEmpty=function(){return this.V.isEmpty()};
e.contains=function(a){return this.V.Wd(yj(a))};e.VF=function(a){var b=new xj;a=tj(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};e.iY=function(a){var b=this.clone();b.removeAll(a);return b};e.wc=function(){return this.V.wc()};e.clone=function(){return new xj(this)};e.cK=function(){return this.V.cK(!1)};function zj(a,b){null!=a&&this.append.apply(this,arguments)}e=zj.prototype;e.Xn="";e.set=function(a){this.Xn=""+a};e.append=function(a,b,c){this.Xn+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.Xn+=arguments[d];return this};e.clear=function(){this.Xn=""};e.getLength=function(){return this.Xn.length};e.toString=function(){return this.Xn};function Aj(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\-\ \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,k,m,q,v,B){if("%"==q)return"%";var F=c.shift();if("undefined"==typeof F)throw Error("[goog.string.format] Not enough arguments");arguments[0]=F;return Bj[q].apply(null,arguments)})}
var Bj={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+Va(" ",Number(c)-a.length):Va(" ",Number(c)-a.length)+a},f:function(a,b,c,d,f){d=a.toString();isNaN(f)||""==f||(d=parseFloat(a).toFixed(f));var g;g=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=g+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(f)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(f);a=Number(c)-d.length-g.length;return d=0<=b.indexOf("-",0)?
g+d+Va(" ",a):g+Va(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c,d,f,g,h,k){return Bj.f(parseInt(a,10),b,c,d,0,g,h,k)}};Bj.i=Bj.d;Bj.u=Bj.d;function Cj(a){this.Pb=void 0;this.Ff={};if(a){var b=uj(a);a=tj(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])}}e=Cj.prototype;e.set=function(a,b){Dj(this,a,b,!1)};e.add=function(a,b){Dj(this,a,b,!0)};function Dj(a,b,c,d){for(var f=0;f<b.length;f++){var g=b.charAt(f);a.Ff[g]||(a.Ff[g]=new Cj);a=a.Ff[g]}if(d&&void 0!==a.Pb)throw Error('The collection already contains the key "'+b+'"');a.Pb=c}function Ej(a,b){for(var c=a,d=0;d<b.length;d++)if(c=c.Ff[b.charAt(d)],!c)return;return c}
e.get=function(a){return(a=Ej(this,a))?a.Pb:void 0};e.wc=function(){var a=[];Fj(this,a);return a};function Fj(a,b){void 0!==a.Pb&&b.push(a.Pb);for(var c in a.Ff)Fj(a.Ff[c],b)}e.Zd=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var f=a.charAt(d);if(!c.Ff[f])return[];c=c.Ff[f]}Gj(c,a,b)}else Gj(this,"",b);return b};function Gj(a,b,c){void 0!==a.Pb&&c.push(b);for(var d in a.Ff)Gj(a.Ff[d],b+d,c)}e.Wd=function(a){return void 0!==this.get(a)};e.clear=function(){this.Ff={};this.Pb=void 0};
e.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var f=a.charAt(d);if(!b.Ff[f])throw Error('The collection does not have the key "'+a+'"');c.push([b,f]);b=b.Ff[f]}a=b.Pb;for(delete b.Pb;0<c.length;)if(f=c.pop(),b=f[0],f=f[1],b.Ff[f].isEmpty())delete b.Ff[f];else break;return a};e.clone=function(){return new Cj(this)};e.Nb=function(){var a=this.wc();return a.Nb&&"function"==typeof a.Nb?a.Nb():ga(a)||r(a)?a.length:Rb(a)};e.isEmpty=function(){return void 0===this.Pb&&Vb(this.Ff)};function Hj(a){Xi(this,a,null)}w(Hj,Vi);e=Hj.prototype;e.Ya=function(){return ij(this)};e.Pc=function(){return L(this,1)};e.setSize=function(a){N(this,1,a)};e.Kb=function(){return L(this,12)};e.Ed=function(a){N(this,12,a)};e.getHeight=function(){return L(this,13)};e.Sd=function(a){N(this,13,a)};e.E_=function(){return L(this,33)};e.dC=function(a){N(this,33,a)};e.rZ=function(){return null==L(this,2)?!1:L(this,2)};e.Bw=function(a){N(this,2,a)};e.pZ=function(){return L(this,51)};
e.Aw=function(a){N(this,51,a)};e.JZ=function(){return L(this,32)};e.Fw=function(a){N(this,32,a)};e.B_=function(){return null==L(this,19)?!1:L(this,19)};e.Jw=function(a){N(this,19,a)};e.C_=function(){return null==L(this,52)?!1:L(this,52)};e.Kw=function(a){N(this,52,a)};e.D_=function(){return null==L(this,67)?!1:L(this,67)};e.Lw=function(a){N(this,67,a)};e.sZ=function(){return L(this,80)};e.kS=function(a){N(this,80,a)};e.nZ=function(){return null==L(this,20)?!1:L(this,20)};
e.Ms=function(a){N(this,20,a)};e.h_=function(){return L(this,60)};e.Hw=function(a){N(this,60,a)};e.tZ=function(){return null==L(this,3)?!1:L(this,3)};e.mS=function(a){N(this,3,a)};e.cz=function(){return null==L(this,4)?!1:L(this,4)};e.AS=function(a){N(this,4,a)};e.UZ=function(){return L(this,65)};e.MS=function(a){N(this,65,a)};e.I_=function(){return L(this,9)};e.wT=function(a){N(this,9,a)};e.J_=function(){return L(this,10)};e.xT=function(a){N(this,10,a)};e.K_=function(){return L(this,11)};
e.yT=function(a){N(this,11,a)};e.G_=function(){return null==L(this,14)?!1:L(this,14)};e.uT=function(a){N(this,14,a)};e.EZ=function(){return null==L(this,34)?!1:L(this,34)};e.vS=function(a){N(this,34,a)};e.H_=function(){return null==L(this,72)?!1:L(this,72)};e.vT=function(a){N(this,72,a)};e.yZ=function(){return L(this,15)};e.rS=function(a){N(this,15,a)};e.LZ=function(){return L(this,16)};e.ZB=function(a){N(this,16,a)};e.SZ=function(){return L(this,17)};e.EI=function(a){N(this,17,a)};
e.dN=function(){return L(this,18)};e.AT=function(a){N(this,18,a)};e.eN=function(){return L(this,45)};e.BT=function(a){N(this,45,a)};e.NZ=function(){return L(this,22)};e.ES=function(a){N(this,22,a)};e.OZ=function(){return L(this,54)};e.FS=function(a){N(this,54,a)};e.wZ=function(){return L(this,21)};e.qS=function(a){N(this,21,a)};e.mZ=function(){return null==L(this,23)?!1:L(this,23)};e.gS=function(a){N(this,23,a)};e.getToken=function(){return L(this,24)};e.Rs=function(a){N(this,24,a)};
e.L_=function(){return L(this,36)};e.DT=function(a){N(this,36,a)};e.A_=function(){return null==L(this,6)?!1:L(this,6)};e.qT=function(a){N(this,6,a)};e.y_=function(){return L(this,26)};e.oT=function(a){N(this,26,a)};e.IZ=function(){return L(this,30)};e.zS=function(a){N(this,30,a)};e.M_=function(){return L(this,31)};e.ET=function(a){N(this,31,a)};e.g_=function(){return L(this,27)};e.YS=function(a){N(this,27,a)};e.p_=function(){return L(this,28)};e.dT=function(a){N(this,28,a)};
e.t_=function(){return L(this,57)};e.iT=function(a){N(this,57,a)};e.u_=function(){return L(this,58)};e.jT=function(a){N(this,58,a)};e.r_=function(){return L(this,59)};e.gT=function(a){N(this,59,a)};e.v_=function(){return null==L(this,35)?!1:L(this,35)};e.II=function(a){N(this,35,a)};e.w_=function(){return null==L(this,41)?!1:L(this,41)};e.kT=function(a){N(this,41,a)};e.q_=function(){return null==L(this,64)?!1:L(this,64)};e.fT=function(a){N(this,64,a)};
e.c_=function(){return null==L(this,48)?!1:L(this,48)};e.WS=function(a){N(this,48,a)};e.s_=function(){return null==L(this,49)?!1:L(this,49)};e.hT=function(a){N(this,49,a)};e.$Z=function(){return null==L(this,37)?!1:L(this,37)};e.TS=function(a){N(this,37,a)};e.lZ=function(){return L(this,38)};e.fS=function(a){N(this,38,a)};e.getBorderColor=function(){return L(this,39)};e.setBorderColor=function(a){N(this,39,a)};e.a_=function(){return L(this,40)};e.US=function(a){N(this,40,a)};
e.DZ=function(){return L(this,42)};e.tS=function(a){N(this,42,a)};e.CZ=function(){return L(this,43)};e.sS=function(a){N(this,43,a)};e.o_=function(){return L(this,44)};e.bC=function(a){N(this,44,a)};e.n_=function(){return L(this,62)};e.cT=function(a){N(this,62,a)};e.b_=function(){return L(this,46)};e.VS=function(a){N(this,46,a)};e.l_=function(){return L(this,61)};e.bT=function(a){N(this,61,a)};e.FZ=function(){return L(this,50)};e.wS=function(a){N(this,50,a)};e.ZZ=function(){return L(this,53)};
e.SS=function(a){N(this,53,a)};e.YZ=function(){return L(this,55)};e.RS=function(a){N(this,55,a)};e.z_=function(){return L(this,56)};e.pT=function(a){N(this,56,a)};e.O_=function(){return L(this,63)};e.GT=function(a){N(this,63,a)};e.Q_=function(){return L(this,81)};e.IT=function(a){N(this,81,a)};e.N_=function(){return L(this,68)};e.FT=function(a){N(this,68,a)};e.P_=function(){return L(this,69)};e.HT=function(a){N(this,69,a)};e.VZ=function(){return L(this,66)};e.NS=function(a){N(this,66,a)};
e.KZ=function(){return L(this,70)};e.CS=function(a){N(this,70,a)};e.PZ=function(){return L(this,71)};e.IS=function(a){N(this,71,a)};e.WZ=function(){return L(this,73)};e.PS=function(a){N(this,73,a)};e.jZ=function(){return L(this,74)};e.eS=function(a){N(this,74,a)};e.$E=function(){return L(this,75)};e.DS=function(a){N(this,75,a)};e.k_=function(){return Zi(this,76)};e.ZS=function(a){N(this,76,a)};e.S_=function(){return Zi(this,77)};e.LT=function(a){N(this,77,a)};e.x_=function(){return Zi(this,78)};
e.mT=function(a){N(this,78,a)};e.GZ=function(){return Zi(this,79)};e.xS=function(a){N(this,79,a)};function P(){Xi(this,void 0,null)}w(P,Hj);P.prototype.jla=function(a){this.Y$=a};P.prototype.Qaa=function(){return this.Y$};P.prototype.kla=function(a){this.Z$=a};P.prototype.Raa=function(){return this.Z$};function Ij(){if(!Jj){var a=Jj=new Cj,b;for(b in Kj)a.add(b,Kj[b])}}var Jj;function Q(a,b){this.types=a;this.nla=b}
var Kj={a:new Q([3,0],[P.prototype.qS,P.prototype.pT]),al:new Q([3],[P.prototype.eS]),b:new Q([3,0],[P.prototype.gS,P.prototype.fS]),c:new Q([3,0],[P.prototype.Bw,P.prototype.setBorderColor]),cc:new Q([3],[P.prototype.Aw]),ci:new Q([3],[P.prototype.Fw]),d:new Q([3],[P.prototype.mS]),df:new Q([3],[P.prototype.kS]),e:new Q([0],[P.prototype.rS]),f:new Q([4],[P.prototype.ZB]),fg:new Q([3],[P.prototype.vS]),fh:new Q([3],[P.prototype.zS]),fo:new Q([2],[P.prototype.xS]),ft:new Q([3],[P.prototype.wS]),fv:new Q([3],
[P.prototype.ET]),g:new Q([3],[P.prototype.uT]),h:new Q([3,0],[P.prototype.AS,P.prototype.Sd]),i:new Q([3],[P.prototype.ES]),ic:new Q([0],[P.prototype.IS]),id:new Q([3],[P.prototype.CS]),ip:new Q([3],[P.prototype.FS]),iv:new Q([0],[P.prototype.DS]),j:new Q([1],[P.prototype.jla]),k:new Q([3,0],[P.prototype.EI,P.prototype.tS]),l:new Q([0],[P.prototype.bC]),lf:new Q([3],[P.prototype.MS]),m:new Q([0],[P.prototype.GT]),mm:new Q([4],[P.prototype.IT]),mo:new Q([3],[P.prototype.PS]),mv:new Q([3],[P.prototype.NS]),
n:new Q([3],[P.prototype.Ms]),nc:new Q([3],[P.prototype.RS]),nd:new Q([3],[P.prototype.SS]),no:new Q([3],[P.prototype.TS]),ns:new Q([3],[P.prototype.US]),nt0:new Q([4],[P.prototype.DT]),nu:new Q([3],[P.prototype.VS]),nw:new Q([3],[P.prototype.WS]),o:new Q([1,3],[P.prototype.kla,P.prototype.YS]),p:new Q([3,0],[P.prototype.Jw,P.prototype.sS]),pa:new Q([3],[P.prototype.bT]),pd:new Q([3],[P.prototype.Hw]),pf:new Q([3],[P.prototype.Lw]),pg:new Q([3],[P.prototype.vT]),pi:new Q([2],[P.prototype.ZS]),pp:new Q([3],
[P.prototype.Kw]),q:new Q([4],[P.prototype.dT]),r:new Q([3,0],[P.prototype.qT,P.prototype.oT]),rg:new Q([3],[P.prototype.gT]),rh:new Q([3],[P.prototype.hT]),rj:new Q([3],[P.prototype.iT]),ro:new Q([2],[P.prototype.mT]),rp:new Q([3],[P.prototype.jT]),rw:new Q([3],[P.prototype.II]),rwa:new Q([3],[P.prototype.fT]),rwu:new Q([3],[P.prototype.kT]),s:new Q([3,0],[P.prototype.dC,P.prototype.setSize]),t:new Q([4],[P.prototype.Rs]),u:new Q([3],[P.prototype.AT]),ut:new Q([3],[P.prototype.BT]),v:new Q([0],[P.prototype.cT]),
vb:new Q([0],[P.prototype.FT]),vl:new Q([0],[P.prototype.HT]),w:new Q([0],[P.prototype.Ed]),x:new Q([0],[P.prototype.wT]),y:new Q([0],[P.prototype.xT]),ya:new Q([2],[P.prototype.LT]),z:new Q([0],[P.prototype.yT])};e=Ij.prototype;
e.parse=function(a){var b=new P,c=new P;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,f=0;f<a.length;f++){var g=a[f];if(0==g.length)d=!1;else{var h;var k=g,m=!1,q=k;h=k.substring(0,1);h!=h.toLowerCase()&&(m=!0,q=k.substring(0,1).toLowerCase()+k.substring(1));var v=Jj;for(h=1;h<=q.length;++h){var B=v,F=q.substring(0,h);if(0==F.length?B.isEmpty():!Ej(B,F))break}h=1==h?null:(q=v.get(q.substring(0,h-1)))?{mja:k.substring(0,h-1),value:k.substring(h-1),vla:m,attributes:q}:null;if(h){k=[];m=[];q=!1;for(v=
0;v<h.attributes.types.length;v++){var B=h.attributes.types[v],M=h.value,F=f;if(h.vla&&1==B)for(var O=M.length;12>O&&F<a.length-1;)M+="-"+a[F+1],O=M.length,++F;else if(2==B)for(;F<a.length-1&&a[F+1].match(/^[\d\.]/);)M+="-"+a[F+1],++F;O=h.attributes.nla[v];M=Lj(this,B)(h.mja,M,b,c,O);if(null===M){q=!0;f=F;break}else k.push(B),m.push(M)}if(!q)for(h=0;h<m.length;h++)v=k[h],M=m[h],Mj(this,v)(g,M);d=d&&q}else d=!1}}a=d}return new Nj(b,c,a)};
function Oj(a,b,c,d,f){f.apply(c,[b]);a=a.substring(0,1);f.apply(d,[a==a.toUpperCase()])}e.Aja=function(a,b,c,d,f){if(""==b)return 0;b=gb(b);if(isNaN(b))return 1;Oj(a,b,c,d,f);return null};e.Wga=function(){};e.zja=function(a,b,c,d,f){if(""==b)return 0;b=db(b);if(isNaN(b))return 1;Oj(a,b,c,d,f);return null};e.Vga=function(){};e.yja=function(a,b,c,d,f){if(""!=b)return 2;Oj(a,!0,c,d,f);return null};e.Uga=function(){};e.Bja=function(a,b,c,d,f){if(""==b)return 0;Oj(a,b,c,d,f);return null};e.Yga=function(){};
function Lj(a,b){switch(b){case 0:return t(a.Aja,a);case 2:return t(a.zja,a);case 3:return t(a.yja,a);case 4:case 1:return t(a.Bja,a);default:return function(){}}}function Mj(a,b){switch(b){case 0:return t(a.Wga,a);case 2:return t(a.Vga,a);case 3:return t(a.Uga,a);case 4:case 1:return t(a.Yga,a);default:return function(){}}}function Nj(a,b,c){this.hx=a;this.L5=b;this.MC=c}Nj.prototype.Ym=function(){return this.MC};function Pj(a){this.ti=null;this.cf=[];this.ik=null;Qj(this,a)}e=Pj.prototype;e.hF=function(){return this.ik};function Rj(a){null==a.ti&&(a.ti=new Ij);return a.ti}function Qj(a,b){a.ik=b?r(b)?Rj(a).parse(b):b:Rj(a).parse("")}function R(a,b,c,d){b||"number"==typeof b&&0==b||(b=void 0);var f=a.ik.hx;a=a.ik.L5;var g=c.call(f);b!=g&&(void 0!=g&&c.call(a),d.call(f,b))}e.qS=function(a){R(this,a,P.prototype.wZ,P.prototype.qS);return this};e.pT=function(a){R(this,a,P.prototype.z_,P.prototype.pT);return this};
e.eS=function(a){R(this,a,P.prototype.jZ,P.prototype.eS);return this};e.gS=function(a){R(this,a,P.prototype.mZ,P.prototype.gS);return this};e.fS=function(a){R(this,a,P.prototype.lZ,P.prototype.fS);return this};e.Bw=function(a){R(this,a,P.prototype.rZ,P.prototype.Bw);return this};e.setBorderColor=function(a){R(this,a,P.prototype.getBorderColor,P.prototype.setBorderColor);return this};e.Aw=function(a){R(this,a,P.prototype.pZ,P.prototype.Aw);return this};
e.Fw=function(a){R(this,a,P.prototype.JZ,P.prototype.Fw);return this};e.mS=function(a){R(this,a,P.prototype.tZ,P.prototype.mS);return this};e.kS=function(a){R(this,a,P.prototype.sZ,P.prototype.kS);return this};e.rS=function(a){R(this,a,P.prototype.yZ,P.prototype.rS);return this};e.ZB=function(a){R(this,a,P.prototype.LZ,P.prototype.ZB);return this};e.vS=function(a){R(this,a,P.prototype.EZ,P.prototype.vS);return this};e.zS=function(a){R(this,a,P.prototype.IZ,P.prototype.zS);return this};
e.xS=function(a){R(this,a,P.prototype.GZ,P.prototype.xS);return this};e.wS=function(a){R(this,a,P.prototype.FZ,P.prototype.wS);return this};e.ET=function(a){R(this,a,P.prototype.M_,P.prototype.ET);return this};e.uT=function(a){R(this,a,P.prototype.G_,P.prototype.uT);return this};e.AS=function(a){R(this,a,P.prototype.cz,P.prototype.AS);return this};e.Sd=function(a){R(this,a,P.prototype.getHeight,P.prototype.Sd);return this};e.ES=function(a){R(this,a,P.prototype.NZ,P.prototype.ES);return this};
e.IS=function(a){R(this,a,P.prototype.PZ,P.prototype.IS);return this};e.CS=function(a){R(this,a,P.prototype.KZ,P.prototype.CS);return this};e.FS=function(a){R(this,a,P.prototype.OZ,P.prototype.FS);return this};e.DS=function(a){R(this,a,P.prototype.$E,P.prototype.DS);return this};e.EI=function(a){R(this,a,P.prototype.SZ,P.prototype.EI);return this};e.tS=function(a){R(this,a,P.prototype.DZ,P.prototype.tS);return this};e.bC=function(a){R(this,a,P.prototype.o_,P.prototype.bC);return this};
e.MS=function(a){R(this,a,P.prototype.UZ,P.prototype.MS);return this};e.GT=function(a){R(this,a,P.prototype.O_,P.prototype.GT);return this};e.IT=function(a){R(this,a,P.prototype.Q_,P.prototype.IT);return this};e.PS=function(a){R(this,a,P.prototype.WZ,P.prototype.PS);return this};e.NS=function(a){R(this,a,P.prototype.VZ,P.prototype.NS);return this};e.Ms=function(a){R(this,a,P.prototype.nZ,P.prototype.Ms);return this};e.RS=function(a){R(this,a,P.prototype.YZ,P.prototype.RS);return this};
e.SS=function(a){R(this,a,P.prototype.ZZ,P.prototype.SS);return this};e.TS=function(a){R(this,a,P.prototype.$Z,P.prototype.TS);return this};e.US=function(a){R(this,a,P.prototype.a_,P.prototype.US);return this};e.DT=function(a){R(this,a,P.prototype.L_,P.prototype.DT);return this};e.VS=function(a){R(this,a,P.prototype.b_,P.prototype.VS);return this};e.WS=function(a){R(this,a,P.prototype.c_,P.prototype.WS);return this};e.YS=function(a){R(this,a,P.prototype.g_,P.prototype.YS);return this};
e.Jw=function(a){R(this,a,P.prototype.B_,P.prototype.Jw);return this};e.sS=function(a){R(this,a,P.prototype.CZ,P.prototype.sS);return this};e.bT=function(a){R(this,a,P.prototype.l_,P.prototype.bT);return this};e.Hw=function(a){R(this,a,P.prototype.h_,P.prototype.Hw);return this};e.Lw=function(a){R(this,a,P.prototype.D_,P.prototype.Lw);return this};e.vT=function(a){R(this,a,P.prototype.H_,P.prototype.vT);return this};e.ZS=function(a){R(this,a,P.prototype.k_,P.prototype.ZS);return this};
e.Kw=function(a){R(this,a,P.prototype.C_,P.prototype.Kw);return this};e.dT=function(a){R(this,a,P.prototype.p_,P.prototype.dT);return this};e.qT=function(a){R(this,a,P.prototype.A_,P.prototype.qT);return this};e.oT=function(a){R(this,a,P.prototype.y_,P.prototype.oT);return this};e.gT=function(a){R(this,a,P.prototype.r_,P.prototype.gT);return this};e.hT=function(a){R(this,a,P.prototype.s_,P.prototype.hT);return this};e.iT=function(a){R(this,a,P.prototype.t_,P.prototype.iT);return this};
e.mT=function(a){R(this,a,P.prototype.x_,P.prototype.mT);return this};e.jT=function(a){R(this,a,P.prototype.u_,P.prototype.jT);return this};e.II=function(a){R(this,a,P.prototype.v_,P.prototype.II);return this};e.fT=function(a){R(this,a,P.prototype.q_,P.prototype.fT);return this};e.kT=function(a){R(this,a,P.prototype.w_,P.prototype.kT);return this};e.dC=function(a){R(this,a,P.prototype.E_,P.prototype.dC);return this};e.setSize=function(a){R(this,a,P.prototype.Pc,P.prototype.setSize);return this};
e.Rs=function(a){R(this,a,P.prototype.getToken,P.prototype.Rs);return this};e.AT=function(a){R(this,a,P.prototype.dN,P.prototype.AT);return this};e.BT=function(a){R(this,a,P.prototype.eN,P.prototype.BT);return this};e.cT=function(a){R(this,a,P.prototype.n_,P.prototype.cT);return this};e.FT=function(a){R(this,a,P.prototype.N_,P.prototype.FT);return this};e.HT=function(a){R(this,a,P.prototype.P_,P.prototype.HT);return this};e.Ed=function(a){R(this,a,P.prototype.Kb,P.prototype.Ed);return this};
e.wT=function(a){R(this,a,P.prototype.I_,P.prototype.wT);return this};e.xT=function(a){R(this,a,P.prototype.J_,P.prototype.xT);return this};e.LT=function(a){R(this,a,P.prototype.S_,P.prototype.LT);return this};e.yT=function(a){R(this,a,P.prototype.K_,P.prototype.yT);return this};e.setOptions=function(a){Qj(this,a);return this};
e.Hd=function(){this.cf.length=0;Sj(this,"s",P.prototype.Pc);Sj(this,"w",P.prototype.Kb);Tj(this,"c",P.prototype.rZ);Sj(this,"c",P.prototype.getBorderColor,16,6);Tj(this,"d",P.prototype.tZ);Sj(this,"h",P.prototype.getHeight);Tj(this,"s",P.prototype.E_);Tj(this,"h",P.prototype.cz);Tj(this,"p",P.prototype.B_);Tj(this,"pa",P.prototype.l_);Tj(this,"pd",P.prototype.h_);Tj(this,"pp",P.prototype.C_);Tj(this,"pf",P.prototype.D_);Sj(this,"p",P.prototype.CZ);Tj(this,"n",P.prototype.nZ);Sj(this,"r",P.prototype.y_);
Tj(this,"r",P.prototype.A_);Tj(this,"fh",P.prototype.IZ);Tj(this,"fv",P.prototype.M_);Tj(this,"cc",P.prototype.pZ);Tj(this,"ci",P.prototype.JZ);Tj(this,"o",P.prototype.g_);Uj(this,"o",P.prototype.Raa);Uj(this,"j",P.prototype.Qaa);Sj(this,"x",P.prototype.I_);Sj(this,"y",P.prototype.J_);Sj(this,"z",P.prototype.K_);Tj(this,"g",P.prototype.G_);Tj(this,"fg",P.prototype.EZ);Tj(this,"ft",P.prototype.FZ);Sj(this,"e",P.prototype.yZ);Uj(this,"f",P.prototype.LZ);Tj(this,"k",P.prototype.SZ);Sj(this,"k",P.prototype.DZ);
Tj(this,"u",P.prototype.dN);Tj(this,"ut",P.prototype.eN);Tj(this,"i",P.prototype.NZ);Tj(this,"ip",P.prototype.OZ);Tj(this,"a",P.prototype.wZ);Sj(this,"a",P.prototype.z_);Sj(this,"m",P.prototype.O_);Sj(this,"vb",P.prototype.N_);Sj(this,"vl",P.prototype.P_);Tj(this,"lf",P.prototype.UZ);Tj(this,"mv",P.prototype.VZ);Tj(this,"id",P.prototype.KZ);Sj(this,"ic",P.prototype.PZ);Tj(this,"b",P.prototype.mZ);Sj(this,"b",P.prototype.lZ);Uj(this,"t",P.prototype.getToken);Uj(this,"nt0",P.prototype.L_);Tj(this,"rw",
P.prototype.v_);Tj(this,"rwu",P.prototype.w_);Tj(this,"rwa",P.prototype.q_);Tj(this,"nw",P.prototype.c_);Tj(this,"rh",P.prototype.s_);Tj(this,"nc",P.prototype.YZ);Tj(this,"nd",P.prototype.ZZ);Tj(this,"no",P.prototype.$Z);Uj(this,"q",P.prototype.p_);Tj(this,"ns",P.prototype.a_);Sj(this,"l",P.prototype.o_);Sj(this,"v",P.prototype.n_);Tj(this,"nu",P.prototype.b_);Tj(this,"rj",P.prototype.t_);Tj(this,"rp",P.prototype.u_);Tj(this,"rg",P.prototype.r_);Tj(this,"pg",P.prototype.H_);Tj(this,"mo",P.prototype.WZ);
Tj(this,"al",P.prototype.jZ);Sj(this,"iv",P.prototype.$E);Sj(this,"pi",P.prototype.k_);Sj(this,"ya",P.prototype.S_);Sj(this,"ro",P.prototype.x_);Sj(this,"fo",P.prototype.GZ);Tj(this,"df",P.prototype.sZ);Uj(this,"mm",P.prototype.Q_);return this.cf.join("-")};function Vj(a,b){if(void 0==b)return"";var c=b-a.length;return 0>=c?"":Va("0",c)}
function Sj(a,b,c,d,f){var g=c.call(a.ik.hx);if(void 0!=g&&null!=g){d=void 0==d||10!=d&&16!=d?10:d;var g=g.toString(d),h=new zj;h.append(16==d?"0x":"");h.append(Vj(g,f));h.append(g);Wj(a,b,h.toString(),c)}}function Tj(a,b,c){c.call(a.ik.hx)&&Wj(a,b,"",c)}function Uj(a,b,c){var d=c.call(a.ik.hx);d&&Wj(a,b,d,c)}function Wj(a,b,c,d){d.call(a.ik.L5)&&(b=b.substring(0,1).toUpperCase()+b.substring(1));a.cf.push(b+c)};function Xj(a){Pj.call(this,a)}w(Xj,Pj);e=Xj.prototype;e.Bw=function(a){a&&Yj(this);return Xj.R.Bw.call(this,a)};e.Sd=function(a){null!=a&&this.setSize();return Xj.R.Sd.call(this,a)};e.dC=function(a){a&&Yj(this);return Xj.R.dC.call(this,a)};e.bC=function(a){return Xj.R.bC.call(this,a)};e.ZB=function(a){a&&(a=a.replace(";",":"));return Xj.R.ZB.call(this,a)};e.Fw=function(a){a&&Yj(this);return Xj.R.Fw.call(this,a)};e.Aw=function(a){a&&Yj(this);return Xj.R.Aw.call(this,a)};
e.setSize=function(a){ka(a)&&(a=Math.max(a.width,a.height));null!=a&&(this.Ed(),this.Sd());return Xj.R.setSize.call(this,a)};e.Jw=function(a){a&&Yj(this);return Xj.R.Jw.call(this,a)};e.Kw=function(a){a&&Yj(this);return Xj.R.Kw.call(this,a)};e.Lw=function(a){a&&Yj(this);return Xj.R.Lw.call(this,a)};e.Ms=function(a){a&&Yj(this);return Xj.R.Ms.call(this,a)};e.Hw=function(a){a&&Yj(this);return Xj.R.Hw.call(this,a)};e.Ed=function(a){null!=a&&this.setSize();return Xj.R.Ed.call(this,a)};
function Yj(a){a.Ms();a.Aw();a.Bw();a.Fw();a.Hw();a.Jw();a.Kw();a.Lw()}e.Hd=function(){var a=this.hF().hx;a.dN()||a.eN()?a.Pc()||this.setSize(0):(a=this.hF().hx,a.Pc()||a.Kb()||a.getHeight()||(this.setSize(),this.Sd(),this.Ed(),Yj(this)));return Xj.R.Hd.call(this)};function Zj(a,b){this.Ug=this.nt=this.kj="";this.Hp=null;this.yu=this.Qd="";this.Xi=this.sga=!1;var c;if(a instanceof Zj)this.Xi=n(b)?b:a.Xi,ak(this,a.kj),c=a.nt,bk(this),this.nt=c,this.zn(a.$g()),ck(this,a.Hp),this.setPath(a.getPath()),dk(this,a.ZM().clone()),ek(this,a.yu);else if(a&&(c=Vh(String(a)))){this.Xi=!!b;ak(this,c[1]||"",!0);var d=c[2]||"";bk(this);this.nt=fk(d);this.zn(c[3]||"",!0);ck(this,c[4]);this.setPath(c[5]||"",!0);dk(this,c[6]||"",!0);ek(this,c[7]||"",!0)}else this.Xi=!!b,this.Cg=
new gk(null,0,this.Xi)}e=Zj.prototype;e.toString=function(){var a=[],b=this.kj;b&&a.push(hk(b,ik,!0),":");var c=this.$g();if(c||"file"==b)a.push("//"),(b=this.nt)&&a.push(hk(b,ik,!0),"@"),a.push(Ea(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Hp,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Ug&&"/"!=c.charAt(0)&&a.push("/"),a.push(hk(c,"/"==c.charAt(0)?jk:kk,!0));(c=this.Cg.toString())&&a.push("?",c);(c=this.yu)&&a.push("#",hk(c,lk));return a.join("")};
e.resolve=function(a){var b=this.clone(),c=!!a.kj;c?ak(b,a.kj):c=!!a.nt;if(c){var d=a.nt;bk(b);b.nt=d}else c=!!a.Ug;c?b.zn(a.$g()):c=null!=a.Hp;d=a.getPath();if(c)ck(b,a.Hp);else if(c=!!a.Qd){if("/"!=d.charAt(0))if(this.Ug&&!this.Qd)d="/"+d;else{var f=b.getPath().lastIndexOf("/");-1!=f&&(d=b.getPath().substr(0,f+1)+d)}f=d;if(".."==f||"."==f)d="";else if(-1!=f.indexOf("./")||-1!=f.indexOf("/.")){for(var d=ua(f,"/"),f=f.split("/"),g=[],h=0;h<f.length;){var k=f[h++];"."==k?d&&h==f.length&&g.push(""):
".."==k?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&h==f.length&&g.push("")):(g.push(k),d=!0)}d=g.join("/")}else d=f}c?b.setPath(d):c=""!==a.Cg.toString();c?dk(b,fk(a.Cg.toString())):c=!!a.yu;c&&ek(b,a.yu);return b};e.clone=function(){return new Zj(this)};function ak(a,b,c){bk(a);a.kj=c?fk(b,!0):b;a.kj&&(a.kj=a.kj.replace(/:$/,""));return a}e.$g=function(){return this.Ug};e.zn=function(a,b){bk(this);this.Ug=b?fk(a,!0):a;return this};
function ck(a,b){bk(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Hp=b}else a.Hp=null}e.getPath=function(){return this.Qd};e.setPath=function(a,b){bk(this);this.Qd=b?fk(a,!0):a;return this};function dk(a,b,c){bk(a);b instanceof gk?(a.Cg=b,a.Cg.BS(a.Xi)):(c||(b=hk(b,mk)),a.Cg=new gk(b,0,a.Xi));return a}e.Tf=function(a,b){return dk(this,a,b)};e.ZM=function(){return this.Cg};e.Io=function(){return this.Cg.toString()};function nk(a,b,c){bk(a);a.Cg.set(b,c);return a}
function ok(a,b,c){bk(a);fa(c)||(c=[String(c)]);a.Cg.setValues(b,c)}e.Eo=function(a){return this.Cg.wc(a)};function pk(a,b){return a.Cg.get(b)}function ek(a,b,c){bk(a);a.yu=c?fk(b):b;return a}function qk(a){bk(a);nk(a,"zx",Za());return a}function bk(a){if(a.sga)throw Error("Tried to modify a read-only Uri");}e.BS=function(a){this.Xi=a;this.Cg&&this.Cg.BS(a);return this};function rk(a,b){return a instanceof Zj?a.clone():new Zj(a,b)}
function sk(a,b,c,d){var f=new Zj(null,void 0);a&&ak(f,a);b&&f.zn(b);c&&ck(f,c);d&&f.setPath(d);return f}function tk(a,b){a instanceof Zj||(a=rk(a));b instanceof Zj||(b=rk(b));return a.resolve(b)}function fk(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function hk(a,b,c){return r(a)?(a=encodeURI(a).replace(b,uk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function uk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
var ik=/[#\/\?@]/g,kk=/[\#\?:]/g,jk=/[\#\?]/g,mk=/[\#\?@]/g,lk=/#/g;function vk(a,b){var c=Vh(a),d=Vh(b);return c[3]==d[3]&&c[4]==d[4]}function gk(a,b,c){this.Vc=this.Pd=null;this.Th=a||null;this.Xi=!!c}function wk(a){a.Pd||(a.Pd=new qj,a.Vc=0,a.Th&&Zh(a.Th,function(b,c){a.add(Fa(b),c)}))}e=gk.prototype;e.Nb=function(){wk(this);return this.Vc};e.add=function(a,b){wk(this);this.Th=null;a=xk(this,a);var c=this.Pd.get(a);c||this.Pd.set(a,c=[]);c.push(b);this.Vc+=1;return this};
e.remove=function(a){wk(this);a=xk(this,a);return this.Pd.Wd(a)?(this.Th=null,this.Vc-=this.Pd.get(a).length,this.Pd.remove(a)):!1};e.clear=function(){this.Pd=this.Th=null;this.Vc=0};e.isEmpty=function(){wk(this);return 0==this.Vc};e.Wd=function(a){wk(this);a=xk(this,a);return this.Pd.Wd(a)};e.Zd=function(){wk(this);for(var a=this.Pd.wc(),b=this.Pd.Zd(),c=[],d=0;d<b.length;d++)for(var f=a[d],g=0;g<f.length;g++)c.push(b[d]);return c};
e.wc=function(a){wk(this);var b=[];if(r(a))this.Wd(a)&&(b=yb(b,this.Pd.get(xk(this,a))));else{a=this.Pd.wc();for(var c=0;c<a.length;c++)b=yb(b,a[c])}return b};e.set=function(a,b){wk(this);this.Th=null;a=xk(this,a);this.Wd(a)&&(this.Vc-=this.Pd.get(a).length);this.Pd.set(a,[b]);this.Vc+=1;return this};e.get=function(a,b){var c=a?this.wc(a):[];return 0<c.length?String(c[0]):b};e.setValues=function(a,b){this.remove(a);0<b.length&&(this.Th=null,this.Pd.set(xk(this,a),zb(b)),this.Vc+=b.length)};
e.toString=function(){if(this.Th)return this.Th;if(!this.Pd)return"";for(var a=[],b=this.Pd.Zd(),c=0;c<b.length;c++)for(var d=b[c],f=Ea(d),d=this.wc(d),g=0;g<d.length;g++){var h=f;""!==d[g]&&(h+="="+Ea(d[g]));a.push(h)}return this.Th=a.join("&")};e.clone=function(){var a=new gk;a.Th=this.Th;this.Pd&&(a.Pd=this.Pd.clone(),a.Vc=this.Vc);return a};function xk(a,b){var c=String(b);a.Xi&&(c=c.toLowerCase());return c}
e.BS=function(a){a&&!this.Xi&&(wk(this),this.Th=null,this.Pd.forEach(function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,a))},this));this.Xi=a};var yk=/^[^\/]*\/\//;function zk(){}zk.prototype.parse=function(a){return new Ak(a)};function Ak(a){this.dB=a;this.tH="";(a=this.dB.match(yk))&&a[0]?(this.tH=a[0],a=this.tH.match(/\w+/)?this.dB:"http://"+this.dB.substring(this.tH.length)):a="http://"+this.dB;this.kd=rk(a,!0);this.MC=!0;this.L2=!1}
function Bk(a){if(void 0==a.cf){a.hs=null;a.cf=a.kd.getPath().substring(1).split("/");var b=a.cf.length;if(0==b||4==b||7<b)return a.MC=!1,a.cf;if(2==b)a.hs=a.cf[0];else if("image"==a.cf[0])a.hs=a.cf[0];else if(7==b||3==b)return a.MC=!1,a.cf;if(3>=b){a.L2=!0;3==b&&(a.hs+="/"+a.cf[1],a.cf.shift(),--b);var b=b-1,c=a.cf[b],d=c.indexOf("=");-1!=d&&(a.cf[b]=c.substr(0,d),a.cf.push(c.substr(d+1)))}}return a.cf}e=Ak.prototype;e.Ym=function(){Bk(this);return this.MC};function Ck(a){Bk(a);return a.L2}
e.$g=function(){var a=this.kd.Hp;return this.kd.$g()+(a?":"+a:"")};e.Io=function(){return this.kd.Cg.toString()};function Dk(a){Bk(a);void 0==a.hs&&(a.hs=null);return a.hs}function Ek(a){switch(Bk(a).length){case 7:return!0;case 6:return null==Dk(a);case 5:return!1;case 3:return!0;case 2:return null==Dk(a);case 1:return!1;default:return!1}}
function Fk(a,b){var c;if(Ck(a))a:{c=null!=Dk(a)?1:0;switch(b){case 6:c=0+c;break;case 4:if(!Ek(a)){c=null;break a}c=1+c;break;default:c=null;break a}c=Bk(a)[c]}else a:{c=null!=Dk(a)?1:0;switch(b){case 0:c=0+c;break;case 1:c=1+c;break;case 2:c=2+c;break;case 3:c=3+c;break;case 4:if(!Ek(a)){c=null;break a}c=4+c;break;case 5:var d=Ek(a)?1:0;c=4+c+d;break;default:c=null;break a}c=Bk(a)[c]}return c}function Gk(a){void 0==a.K2&&(a.K2=Fk(a,0));return a.K2}
function Hk(a){void 0==a.O3&&(a.O3=Fk(a,1));return a.O3}e.$E=function(){void 0==this.M0&&(this.M0=Fk(this,2));return this.M0};function Ik(a){void 0==a.M5&&(a.M5=Fk(a,3));return a.M5}e.getOptions=function(){void 0==this.y3&&(this.y3=Fk(this,4));return this.y3};e.hF=function(){if(void 0==this.ik){var a=this.getOptions();a||(a="");this.ik=(new Ij).parse(a)}return this.ik};e.BZ=function(){void 0==this.GE&&(this.GE=Fk(this,5));return this.GE};function Jk(a){this.sf=null;a instanceof Ak||(void 0==Kk&&(Kk=new zk),a=Kk.parse(a.toString()));this.sf=a;a=this.sf.hF();Pj.call(this,a);this.aka=this.sf.tH;this.Ug=this.sf.$g();this.Gl=this.sf.Io()}var Kk;w(Jk,Xj);Jk.prototype.Ym=function(){return this.sf.Ym()};
Jk.prototype.Hd=function(){if(!this.sf.Ym())return this.sf.dB;var a=Jk.R.Hd.call(this),b=[];null!=Dk(this.sf)&&b.push(Dk(this.sf));if(Ck(this.sf)){var c=this.sf;void 0==c.J2&&(c.J2=Fk(c,6));b.push(c.J2+(a?"="+a:""))}else b.push(Gk(this.sf)),b.push(Hk(this.sf)),b.push(this.sf.$E()),b.push(Ik(this.sf)),a&&b.push(a),b.push(this.sf.BZ());return this.aka+this.Ug+"/"+b.join("/")+(this.Gl?"?"+this.Gl:"")};var Lk=new zk;function Mk(a,b){return(new Jk(a)).setOptions(b).Hd()}
var Nk=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(lh[3-6]\.(googleadsserving\.cn|xn--9kr7l\.com))|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-dev\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\//i,Ok=
/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,Pk=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,Qk=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;function Rk(a){return Nk.test(a)||Ok.test(a)||Pk.test(a)||Qk.test(a)};var Sk={},Tk={},Uk={},Vk={},Wk={};function Xk(){throw Error("Do not instantiate directly");}Xk.prototype.ay=null;Xk.prototype.getContent=function(){return this.content};Xk.prototype.toString=function(){return this.content};function Yk(a){if(a.Mq===Wk)return jd(a.toString());if(a.Mq!==Sk)throw Error("Sanitized content was not of kind TEXT or HTML.");return nj(Nc("Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value."),a.toString(),a.ay)}function Zk(){Xk.call(this)}w(Zk,Xk);function $k(a,b,c){a.innerHTML=al(b(c||bl,void 0,void 0))}function S(a,b,c,d){a:if(a=a(b||bl,void 0,c),d=(d||he()).createElement("DIV"),a=al(a),d.innerHTML=a,1==d.childNodes.length&&(a=d.firstChild,1==a.nodeType)){d=a;break a}return d}function al(a){if(!ka(a))return String(a);if(a instanceof Xk){if(a.Mq===Sk)return a.getContent();if(a.Mq===Wk)return Ga(a.getContent())}return"zSoyz"}var bl={};var cl="P T G M K  m u n".split(" "),dl={"":1,n:Math.pow(1024,-3),u:Math.pow(1024,-2),m:1/1024,k:1024,K:1024,M:Math.pow(1024,2),G:Math.pow(1024,3),T:Math.pow(1024,4),P:Math.pow(1024,5)};E&&Yd(8);function el(a,b){this.Nq=uc(a,!0);this.h9=!!b}el.prototype.DY=Ec;function fl(a,b,c,d,f){return f&&(0>Number(c)*Number(a.Nq)||1==a.Nq&&Bc.test(wc(b,d))||-1==a.Nq&&Ac.test(wc(b,d)))?1==a.Nq?"\u200e":"\u200f":""};function gl(a,b){return null!=a&&a.Mq===b}function hl(a){if(null!=a)switch(a.ay){case 1:return 1;case -1:return-1;case 0:return 0}return null}function il(){Xk.call(this)}w(il,Xk);il.prototype.Mq=Sk;function T(a){return null!=a&&a.Mq===Sk?a:a instanceof gd?U(id(a),a.Ao()):U(Ga(String(String(a))),hl(a))}function jl(a,b){this.content=String(a);this.ay=null!=b?b:null}w(jl,Zk);jl.prototype.Mq=Wk;function kl(a){return new jl(a,void 0)}
var U=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var f=new b(String(a));void 0!==d&&(f.ay=d);return f}}(il),ll={};function ml(a){var b="key_a:"+a,c=ll[b];if(void 0===c||0>c)ll[b]=0;else if(0==c)throw Error('Encountered two active delegates with the same priority ("a:'+a+'").');}function nl(a){return(a=String(a))?new jl(a,void 0):""}
var ol=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var f=String(a);if(!f)return"";f=new b(f);void 0!==d&&(f.ay=d);return f}}(il),pl=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/;
function ql(a,b){if(!b)return String(a).replace(rl,"").replace(sl,"&lt;");var c=String(a).replace(/\[/g,"&#91;"),d=[],f=[],c=c.replace(rl,function(a,c){if(c&&(c=c.toLowerCase(),b.hasOwnProperty(c)&&b[c])){var g=d.length,q="</",v="";if("/"!=a.charAt(1)){for(var q="<",B;B=tl.exec(a);)if(B[1]&&"dir"==B[1].toLowerCase()){if(B=B[2]){if("'"==B.charAt(0)||'"'==B.charAt(0))B=B.substr(1,B.length-2);B=B.toLowerCase();if("ltr"==B||"rtl"==B||"auto"==B)v=' dir="'+B+'"'}break}tl.lastIndex=0}d[g]=q+c+">";f[g]=v;
return"["+g+"]"}return""}),c=ul(c),g=vl(d),c=c.replace(/\[(\d+)\]/g,function(a,b){return f[b]&&d[b]?d[b].substr(0,d[b].length-1)+f[b]+">":d[b]});return c+g}function vl(a){for(var b=[],c=0,d=a.length;c<d;++c){var f=a[c];"/"==f.charAt(1)?(f=jb(b,f),0>f?a[c]="":(a[c]=b.slice(f).reverse().join(""),b.length=f)):"<li>"==f&&0>jb(b,"</ol>")&&0>jb(b,"</ul>")?a[c]="":pl.test(f)||b.push("</"+f.substring(1))}return b.reverse().join("")}function wl(a){return gl(a,Sk)?ul(ql(a.getContent())):Ga(String(a))}
function xl(a){gl(a,Tk)||gl(a,Uk)?a=yl(a):a instanceof Xc?a=yl(Zc(a)):a instanceof cd?a=yl(ed(a)):(a=String(a),a=zl.test(a)?a.replace(Al,Bl):"#zSoyz");return a}function Cl(a){gl(a,Tk)||gl(a,Uk)?a=yl(a):a instanceof Xc?a=yl(Zc(a)):a instanceof cd?a=yl(ed(a)):(a=String(a),a=Dl.test(a)?a.replace(Al,Bl):"about:invalid#zSoyz");return a}var El={};
function Fl(a){var b=El[1]||(El[1]=new el(1)),c=nj(Nc("Soy |bidiSpanWrap is applied on an autoescaped text."),String(a));a=hl(a);null==a&&(a=b.DY(id(c),!0));var d=void 0,d=d||void 0==d,f,g=0!=a&&a!=b.Nq;b.h9||g?(g&&(f=-1==a?"rtl":"ltr"),f=pd("span",{dir:f},c)):f=c;c=id(c);f=td(0,f,fl(b,c,a,!0,d));return id(f)}
function Gl(a){var b=El[1]||(El[1]=new el(1)),c=gl(a,Sk),d,f=hl(a);d=a+"";null==f&&(f=b.DY(d,c));var g=void 0,g=g||void 0==g,h=[];0!=f&&f!=b.Nq?(h.push(-1==f?"\u202b":"\u202a"),h.push(d),h.push("\u202c")):h.push(d);h.push(fl(b,d,f,c,g));d=h.join("");b=b.Nq;return gl(a,Wk)?new jl(d,b):c?U(d,b):d}
var Hl={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"};function Il(a){return Hl[a]}
var Jl={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",
")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB",
"\uff3d":"%EF%BC%BD"};function Bl(a){return Jl[a]}
var Kl=/[\x00\x22\x27\x3c\x3e]/g,Ll=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Ml=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Al=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,zl=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Dl=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Nl=
/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i;function ul(a){return String(a).replace(Kl,Il)}function yl(a){return String(a).replace(Al,Bl)}var rl=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,sl=/</g,Ol={b:!0,br:!0,em:!0,i:!0,s:!0,sub:!0,sup:!0,u:!0},tl=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;function Pl(a){var b=U;a=a.title;a=gl(a,Sk)?ul(a.getContent()):Ga(String(a));return b("<title>"+a+"</title>")}function Ql(a){return U('<div><a href="'+wl(xl(a.uri))+'"></a></div>')};function Rl(a,b,c){if(!b)return ua(a,"/")?a:"/"+a;ua(a,"/")&&(a=a.substring(1));0>b.indexOf("//")&&(b="//"+b);va(b,"/")||(b+="/");b=new Zj(b);b.kj||ak(b,"https");c&&!ua(b.getPath(),"/a/")&&(va(c,"/")||(c+="/"),b=tk(b,"/a/"+c));b=tk(b,a);return b.toString()}
function Sl(a){var b="";2E3<a.length&&(b=a.substring(2E3),a=a.substring(0,2E3));var c=S(Ql,{uri:a});a=String(c.firstChild.href);c.parentNode&&c.parentNode.removeChild(c);a+=b;0!=a.indexOf("http://")&&0!=a.indexOf("https://")&&(a="https://"+a);return a.replace(/^http:/i,"https:")}function Tl(a){return a.location.origin||a.location.protocol+"//"+a.location.host}function Ul(a,b){var c=tk(a,b),d=rk(b);c.Tf(d.Io(),!0);return c}
function Vl(a){return"iprev_accept_invite"==za(ji(a,"utm_source")).toLowerCase()&&ii(a,"invite")&&ii(a,"token")}function Wl(a,b){var c=Tb(b);c.sort();for(var d=0;d<c.length;d++){var f=c[d];a=fi(a,f,b[f])}return a};var Xl=/^google3\/javascript\/apps\/drive\/viewer\/demo\/data\//i,Yl=[new D(148,111),new D(400,400),new D(800,800),new D(1200,1200),new D(1600,1600),new D(2560,2560)];
function Zl(a,b,c,d,f,g){if(a&&(b||c))if($l(a))b&&(a=li(a,"w",b)),c&&(a=li(a,"h",c));else if(Rk(a))f=Lk.parse(a).getOptions()||void 0,b=am(f,b,c,d,void 0,g),a=Mk(a,b);else if(a&&ii(a,"sz")){var h=Lk.parse(a).getOptions()||void 0;b=am(h,b,c,d,f,g);a=li(a,"sz",b)}else if(Xl.test(a)){d=null;for(g=0;g<Yl.length;g++)if(b&&b<=Yl[g].width||c&&c<=Yl[g].height){d=Yl[g];break}d||(d=Yl[Yl.length-1]);b=am(void 0,b?d.width:void 0,c?d.height:void 0);c=a.lastIndexOf(".");a=a.slice(0,c)+"="+b+a.slice(c)}return a}
function am(a,b,c,d,f,g){a=new Xj(a);b&&a.Ed(b);c&&a.Sd(c);d&&a.Ms(!0);f&&a.II(!0);g&&a.EI(!0);return a.Hd()}function $l(a){var b=Wh(Vh(a)[5]||null);return b?0==Da("/thumb",b.substr(b.length-6,6))&&ii(a,"ds")&&ii(a,"ck"):!1};function bm(a){return(a=a.exec(Fc))?a[1]:""}var cm=function(){if(Di)return bm(/Firefox\/([0-9.]+)/);if(E||Id||Hd)return Vd;if(Hi)return bm(/Chrome\/([0-9.]+)/);if(Ii&&!Gd())return bm(/Version\/([0-9.]+)/);if(Ei||Fi){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Fc);if(a)return a[1]+"."+a[2]}else if(Gi)return(a=bm(/Android\s+([0-9.]+)/))?a:bm(/Version\/([0-9.]+)/);return""}();function dm(a){return 0<=$a(cm,a)};function em(a,b,c){H.call(this);this.pb=a;this.id=b;this.va=c||0;this.ct=this.Mk=0;this.CY=this.yE=null;this.JY="Whoops!";(b=a.Oi())||(b=this.getName(),c=b.lastIndexOf("."),b=0<c?b.substring(c+1).toLowerCase():"");this.oM=b;b=new lj;b.Gw(a.Rb());b.d5(a.cl());c=4==a.ud();N(b,11,c);a.Oi()&&b.h5(a.Oi());a.getDetails()&&a.getDetails().Pc()&&b.WB(Number(a.getDetails().Pc()));this.ou=b;this.kB=!1;this.hb=this.Mb=this.Dt=this.tt=this.RY=this.xD=this.r1=null;this.tv=!1;this.dA=a.ud();this.aP=!1;this.OH=[];
this.hA=!1;this.pE=null}w(em,H);var V={vq:0,LOADED:1,LOADING:2,Rn:3,ERROR:4,vt:5},fm={0:1,1:2,2:3,3:4,4:5,5:6},gm={nV:"a",Zna:"b",WC:"c",zV:"d",SJ:"e",BV:"f",apa:"g",ZJ:"h",yqa:"i"};e=em.prototype;e.Nk=function(a){var b=a.ud();this.dA=b;N(this.ou,11,4==b);this.kB=!1;b=this.pb;a=ij(a);for(var c=b.Sc(),d=a.Sc(),f=c.length=0;f<d.length;f++)c[f]=d[f];b.Ee=a.Ee;b.Zq=a.Zq};
e.update=function(a){a.getName()&&a.getName()!=this.getName()&&this.Bn(a.getName());hm(a)&&this.DI(hm(a));im(a)&&im(a)!=im(this.pb)&&this.JS(im(a));a.Oa()&&a.Oa()!=this.pb.Oa()&&this.pb.hS(a.Oa());a.dl()&&a.dl()!=this.pb.dl()&&this.pb.n5(a.dl());a.ud()&&a.ud()!=this.ud()&&this.rk(a.ud())};e.getName=function(){return this.pb.getName()};e.Rb=function(){return this.pb.Rb()};e.Oi=function(){return this.oM};
e.Nd=function(a,b,c){var d=Hi&&!Gi&&dm("23")||Hi&&Gi&&dm("25")||!Hi&&Gi&&dm("4.2")||Hd&&dm("12.10"),f=this.pb.Nd();return Zl(f,a,b,void 0,d&&!!c)};e.getId=function(){return this.id};e.iF=function(){return this.pb.iF()};e.ud=function(){return this.pb.ud()};e.lb=function(a,b,c,d,f){this.va==a||this.isDisposed()||(this.va=a,1==a&&(this.kB=!1),this.yE=b||null,this.CY=c||null,n(d)&&(this.JY=d),this.dispatchEvent(new jm(f)))};e.Dg=function(){this.Mk=this.va=0;this.yE=null;this.kB=!1};e.getState=function(){return this.va};
e.xg=function(){return 1==this.va};e.Rd=function(a,b){this.Mk==a||this.isDisposed()||(this.Mk=a,this.dispatchEvent(new km(b)))};e.xo=function(){return this.Mk};function lm(a,b,c){a.ct==b||a.isDisposed()||(a.ct=b,a.dispatchEvent(new mm(c)))}e.bz=function(){this.ou.lb(fm[this.va]);this.ou.Rd(fm[this.Mk]);return this.ou.Ya()};e.Bn=function(a){this.pb.Bn(a);this.dispatchEvent("f")};e.DI=function(a){a!=hm(this.pb)&&(this.pb.DI(a),this.dispatchEvent("c"))};e.JS=function(a){this.pb.JS(a);this.dispatchEvent("d")};
e.rk=function(a){var b=this.ud();b!=a&&(this.pb.rk(a),5==this.dA&&(this.dA=a),N(this.ou,11,4==a),this.dispatchEvent(new nm(b)))};e.getFeature=function(){return this.RY};e.JT=function(a){this.tv=a};e.eF=function(){return 0};function om(a,b){var c;a:{for(c=0;c<a.OH.length;c++){var d=a.OH[c];if(b==d||b&&d&&b instanceof d.constructor&&hj(b.Sc(),d.Sc())){c=!0;break a}}c=!1}if(c)return!1;a.OH.push(b);return!0}function pm(a){var b=a.hA;a.hA=!0;!b&&a.dispatchEvent("b")}
function jm(a){G.call(this,"h");this.time=a}w(jm,G);function km(a){G.call(this,"a");this.error=a}w(km,G);function qm(a){G.call(this,"g");this.password=a}w(qm,G);function nm(a){G.call(this,"e");this.V3=a}w(nm,G);function mm(a){G.call(this,"i");this.info=a}w(mm,G);function rm(a){H.call(this);this.W=a;this.xR=null;this.dR=[];this.YK=[];this.rf={};this.pn={};this.Hf=null;this.zJ=this.$L=!1;this.JC=this.vA=this.uP=this.kL=null;this.By=0;sm(this);this.Yx=this.vm=this.zi=0;this.ha=new K(this);A(this,this.ha);this.ha.listen(this.W,gm.WC,this.zr)}w(rm,H);e=rm.prototype;e.TE=function(){return this.YK};
e.jK=function(a){this.rf[a]={id:a,title:void 0,userPermission:{role:void 0},alternateLink:void 0,shared:void 0,primarySyncParentId:void 0,iconLink:void 0};tm(this,a,0)};e.getParent=function(a){return this.rf[a]};e.Fo=function(){return Sb(this.rf)};e.setEditable=function(a){this.$L=a};e.jS=function(a){this.Hf=a};function um(a,b){a.uP=b}function vm(a,b){a.kL=b}function wm(a,b){if(null===a.vA||a.vA<b)a.vA=b}function xm(a,b){a.By=b?1:2;a.JC&&"reader"==a.JC.role&&a.W.DI(b)}
function sm(a){hm(a.W.pb)&&(a.By=1)}e.zr=function(){sm(this)};e.JI=function(a){this.zi=a?1:2};e.eP=function(){return 1==this.zi};function tm(a,b,c){!a.rf[b]||a.pn[b]&&a.pn[b]==c||(a.pn[b]=c,a.dispatchEvent("k"))}function ym(a){return Pb(a.rf,function(a,c){return 0!=this.pn[c]},a)}function zm(a){return Qb(a.rf,function(a,c){return 1==this.pn[c]},a)}function Am(a){return Pb(a.rf,function(a,c){return 3==this.pn[c]},a)}
e.Kn=function(a,b){if(b&&0<b.length){for(var c=0;c<b.length;c++)delete this.rf[b[c]],delete this.pn[b[c]];this.dispatchEvent("k")}if(a&&0<a.length){for(c=0;c<a.length;c++)this.jK(a[c]);this.dispatchEvent("l")}};function Bm(a,b){b!=a.vm&&(a.vm=b,a.dispatchEvent("j"))}function Cm(a,b){b!=a.Yx&&(a.Yx=b,a.dispatchEvent("j"))}
e.Dg=function(){this.vm=this.Yx=0;ub(this.dR);ub(this.YK);Wb(this.rf);Wb(this.pn);this.Hf=null;this.zJ=this.$L=!1;this.JC=this.vA=this.uP=this.kL=null;this.By=0;sm(this);this.zi=0};function Dm(a,b){z.call(this);this.item=a;this.S=b;this.ha=new K(this);A(this,this.ha)}w(Dm,z);var Em={TJ:1,QJ:2,YJ:4};e=Dm.prototype;e.zZ=function(){return[]};
e.fetch=function(a){var b=this.item.Mb.Wa,c=this.item.pb.Oa(),d=qi(this.S,Fm);a&Em.TJ&&0==b.vm&&(Bm(b,2),d.getDetails(c,this.zZ(),t(this.sN,this),t(this.BY,this,"drive#file")),this.ha.listen(b,"l",this.iea));a&Em.QJ&&0==b.Yx&&(Cm(b,2),d.TE(c,t(this.Lba,this),t(this.BY,this,"drive#commentList")));a&Em.YJ&&1==b.vm&&!ym(b)&&y(b.Fo(),function(a){this.gz(a.id)},this)};e.Dg=function(){this.item.Mb.Wa.Dg()};e.BY=function(a){var b=this.item.Mb.Wa;"drive#file"==a?Bm(b,3):"drive#commentList"==a&&Cm(b,3)};
e.sN=function(a){var b=this.item.Mb;b.setSize(a.fileSize);var c=b.Wa;c.xR=a;c.jS(za(a.description));c.setEditable(!!a.editable);(b=a.createdDate)&&vm(c,new Date(b));(b=a.modifiedDate)&&um(c,new Date(b));(b=a.lastViewedByMeDate)&&wm(c,new Date(b));if(b=a.userPermission)c.JC=b;(b=a.permissions)&&y(b,function(a){vb(c.dR,a)});if(b=a.labels)ha(b.starred)&&c.JI(b.starred),ha(b.restricted)&&xm(c,b.restricted);b=a.primarySyncParentId;5==this.item.ud()&&this.item.rk(ya(b)?3:4);(a=a.parents)&&y(a,function(a){c.jK(a.id);
this.gz(a.id)},this);Bm(c,1)};e.Lba=function(a){for(var b=this.item.Mb.Wa,c=0;c<a.items.length;c++)vb(b.YK,a.items[c]);Cm(b,1)};e.iea=function(){for(var a=this.item.Mb.Wa,b=a.Fo(),c=0;c<b.length;c++){var d=b[c].id;0==a.pn[d]&&this.gz(d)}};e.gz=function(a){tm(this.item.Mb.Wa,a,2);var b=this.S.get(Gm).getParent(a);Gh(b,t(this.fea,this,a));Hh(b,t(this.eea,this,a))};e.fea=function(a,b){var c=this.item.Mb.Wa;c.rf[a]&&cc(c.rf[a],b);tm(c,a,1)};e.eea=function(a,b,c){c.hi()||tm(this.item.Mb.Wa,a,3)};function Hm(a,b){z.call(this);this.mM=a;this.S=b}w(Hm,z);e=Hm.prototype;e.getContext=function(){return this.S};e.Kf=function(){return[]};e.Zh=function(){return null};e.uZ=function(){return Dm};e.hN=function(){return null};e.cP=function(){return!1};e.isSupported=function(){return!0};e.rv=function(){return!1};e.hP=function(){return!1};function Im(a,b){em.call(this,a,b);this.BE=this.Ai=null}w(Im,em);var Jm={t7:"m",xna:"n"};e=Im.prototype;e.Oa=function(){return this.pb.Oa()};e.Cu=function(){return this.pb.Cu()};e.Pc=function(){return this.pb.getDetails()&&this.pb.getDetails().Pc()?Number(this.pb.getDetails().Pc()):null};e.eF=function(){return this.Ai?this.Ai.qg():0};e.Bn=function(a){this.Ai&&this.Ai.Ga().name&&(this.Ai.Ga().name=a);Im.R.Bn.call(this,a)};ml("document");ml("archive");ml("");ml("generic");ml("youtube");ml("audio");ml("drawing");ml("earth");ml("form");ml("fusion");ml("map");ml("script");ml("spreadsheet");ml("presentation");ml("image");ml("excel");ml("powerpoint");ml("word");ml("pdf");ml("text");ml("video");function Km(a,b){this.start=a<b?a:b;this.end=a<b?b:a}Km.prototype.clone=function(){return new Km(this.start,this.end)};Km.prototype.getLength=function(){return this.end-this.start};function Lm(a,b){return a.start<=b&&a.end>=b};var Mm=new Km(1,100),Nm=new Km(101,200),Om=new Km(301,400),Pm=new Km(1001,1100),Qm=new Km(501,600),Rm=new Km(601,700);function Sm(){}da(Sm);Sm.prototype.decode=function(a){var b=-1==a.indexOf(";")?a.split("/",2):a.substring(0,a.indexOf(";")).split("/",2);if(2!=b.length)return 1;var c=b[1].toLowerCase();switch(b[0].toLowerCase()){case "application":return Tm[c]?Tm[c]:2;case "audio":return Um[c]?Um[c]:3;case "image":return Vm[c]?Vm[c]:4;case "multipart":return Wm[c]?Wm[c]:7;case "text":return Xm[c]?Xm[c]:5;case "video":return Ym[c]?Ym[c]:6;default:return Zm[a]?Zm[a]:1}};
var Tm={acad:701,bzip2:781,dxf:702,"epub+zip":703,gzip:771,"gzip-compressed":782,gzipped:783,illustrator:762,javascript:741,msexcel:768,mspowerpoint:767,msword:704,"octet-stream":705,pdf:706,photoshop:744,"pkcs7-signature":707,postscript:708,rar:772,rtf:709,tar:773,"vnd.android.package-archive":710,"vnd.google-apps.document":711,"vnd.google-apps.drawing":712,"vnd.google-apps.drive-sdk.796396377186":788,"vnd.google-apps.folder":745,"vnd.google-apps.form":713,"vnd.google-apps.freebird":746,"vnd.google-apps.fusiontable":764,
"vnd.google-apps.kix":747,"vnd.google-apps.map":789,"vnd.google-apps.presentation":714,"vnd.google-apps.punch":748,"vnd.google-apps.ritz":765,"vnd.google-apps.script":766,"vnd.google-apps.drive-sdk.897606708560":763,"vnd.google-apps.site":797,"vnd.google-apps.spreadsheet":715,"vnd.google-apps.video":742,"vnd.google-earth.kmz":716,"vnd.ms-excel":717,"vnd.ms-excel.sheet.binary.macroenabled.12":749,"vnd.ms-excel.sheet.macroenabled.12":750,"vnd.ms-excel.template.macroenabled.12":791,"vnd.ms-powerpoint":718,
"vnd.ms-powerpoint.presentation.macroenabled.12":751,"vnd.ms-powerpoint.slideshow.macroenabled.12":752,"vnd.ms-powerpoint.template.macroenabled.12":753,"vnd.ms-project":719,"vnd.ms-word":769,"vnd.ms-word.document.macroenabled.12":758,"vnd.ms-word.template.macroenabled.12":790,"vnd.ms-works":720,"vnd.ms-xpsdocument":721,"vnd.oasis.opendocument.graphics":761,"vnd.oasis.opendocument.presentation":760,"vnd.oasis.opendocument.spreadsheet":722,"vnd.oasis.opendocument.text":757,"vnd.openxmlformats-officedocument.presentationml.presentation":724,
"vnd.openxmlformats-officedocument.presentationml.slideshow":754,"vnd.openxmlformats-officedocument.presentationml.template":755,"vnd.openxmlformats-officedocument.spreadsheetml.sheet":759,"vnd.openxmlformats-officedocument.spreadsheetml.template":792,"vnd.openxmlformats-officedocument.wordprocessingml.document":723,"vnd.openxmlformats-officedocument.wordprocessingml.template":756,"vnd.visio":725,"x-7z-compressed":726,"x-bzip":774,"x-bzip-compressed-tar":775,"x-bzip2":776,"x-dosexec":795,"x-gtar":784,
"x-gtar-compressed":785,"x-gunzip":786,"x-font-ttf":727,"x-gzip":728,"x-gzip-compressed":777,"x-httpd-php":729,"x-iwork-keynote-sffkey":730,"x-iwork-numbers-sffnumbers":731,"x-iwork-pages-sffpages":732,"x-javascript":743,"x-lzh":733,"x-ms-publisher":734,"x-ms-shortcut":735,"x-ms-wmz":736,"x-msdos-program":793,"x-msi":796,"x-rar":770,"x-rar-compressed":737,"x-shockwave-flash":738,"x-tar":778,"x-tgz":787,"x-tex":739,"x-zip":779,"x-zip-compressed":780,xml:794,zip:740},Um={"3gp":107,midi:101,"mp4a-latm":102,
mpeg:103,mpeg3:104,ogg:108,"x-ms-wma":105,"x-wav":106,wav:109},Zm={"chemical/x-gamess-input":201,"gzip/document":1101,"message/rfc822":401,"link/article":8},Vm={bmp:301,gif:302,jpeg:303,png:304,"svg+xml":309,tiff:305,"vnd.adobe.photoshop":326,"vnd.dwg":306,"vnd.microsoft.icon":327,"x-adobe-dng":310,"x-canon-cr2":311,"x-canon-crw":312,"x-coreldraw":307,"x-fuji-raf":313,"x-icon":328,"x-kodak-kdc":314,"x-minolta-mrw":315,"x-nikon-nef":317,"x-nikon-nrw":318,"x-olympus-orf":319,"x-panasonic-rw2":320,"x-pentax-pef":321,
"x-photoshop":308,"x-ms-bmp":316,"x-sony-sr2":323,"x-sony-srf":324,"x-raw":322,webp:325},Wm={"x-gzip":1001,"x-rar":1002,"x-tar":1005,"x-zip":1003,zip:1004},Xm={calendar:501,css:502,csv:503,ecmascript:515,html:504,javascript:516,plain:505,"x-c++hdr":518,"x-c++src":507,"x-chdr":517,"x-csrc":506,"x-hwp":508,"x-java":509,"x-java-source":510,"x-objcsrc":511,"x-sql":512,"x-url":519,"x-vcard":513,xml:514},Ym={"3gpp":601,avi:602,dv:619,flv:603,mp2p:618,mp2t:617,mp4:604,mpeg:605,mpv:616,ogg:615,quicktime:606,
webm:614,"x-dv":613,"x-flv":607,"x-m4v":610,"x-matroska":612,"x-ms-asf":611,"x-ms-wmv":608,"x-msvideo":609,"x-shockwave-flash":620,"x-youtube":621};function $m(){this.V=[];this.V[8]=23;this.V[3]=2;this.V[4]=8;this.V[7]=18;this.V[5]=13;this.V[6]=14;this.V[781]=18;this.V[771]=18;this.V[782]=18;this.V[783]=18;this.V[768]=9;this.V[767]=10;this.V[704]=11;this.V[758]=11;this.V[790]=11;this.V[741]=13;this.V[706]=12;this.V[744]=8;this.V[772]=18;this.V[709]=13;this.V[773]=18;this.V[711]=3;this.V[712]=4;this.V[716]=20;this.V[745]=15;this.V[713]=5;this.V[746]=5;this.V[764]=21;this.V[747]=3;this.V[788]=22;this.V[789]=22;this.V[714]=6;this.V[748]=6;this.V[766]=
19;this.V[763]=24;this.V[797]=24;this.V[715]=7;this.V[765]=16;this.V[742]=14;this.V[717]=9;this.V[749]=9;this.V[750]=9;this.V[791]=9;this.V[718]=10;this.V[751]=10;this.V[752]=10;this.V[753]=10;this.V[759]=9;this.V[792]=9;this.V[723]=11;this.V[756]=11;this.V[724]=10;this.V[754]=10;this.V[755]=10;this.V[757]=11;this.V[722]=9;this.V[760]=10;this.V[774]=18;this.V[775]=18;this.V[776]=18;this.V[784]=18;this.V[785]=18;this.V[786]=18;this.V[728]=18;this.V[777]=18;this.V[743]=13;this.V[770]=18;this.V[778]=
18;this.V[787]=18;this.V[779]=18;this.V[780]=18;this.V[740]=18;this.V[1101]=18;this.V[621]=17}da($m);$m.prototype.decode=function(a){return this.V[a]?this.V[a]:Lm(Nm,a)?2:Lm(Om,a)?8:Lm(Pm,a)?18:Lm(Qm,a)?13:Lm(Rm,a)?14:1};function an(){this.xc=[];this.xc[18]="archive";this.xc[2]="audio";this.xc[1]="generic";this.xc[3]="document";this.xc[4]="drawing";this.xc[20]="earth";this.xc[15]="folder";this.xc[5]="form";this.xc[21]="fusion";this.xc[22]="map";this.xc[19]="script";this.xc[24]="site";this.xc[7]="spreadsheet";this.xc[6]="presentation";this.xc[16]="spreadsheet";this.xc[8]="image";this.xc[9]="excel";this.xc[10]="powerpoint";this.xc[11]="word";this.xc[12]="pdf";this.xc[13]="text";this.xc[14]="video";this.xc[17]="youtube";
this.Ei=[];this.Ei[1]=2;this.Ei[5]=2;this.Ei[12]=3;this.Ei[17]=2;this.mC=[];this.mC[17]="_x16.ico";this.mC[16]="_x16.png";this.mC[32]="_x32.png";this.mC[128]="_x128.png"}da(an);
an.prototype.get=function(a,b){var c=Sm.Ra().decode(a);if(Lm(Mm,c)){for(var c=1,d=a.split("/"),f=[];0<c&&d.length;)f.push(d.shift()),c--;d.length&&f.push(d.join("/"));c="https://drive-thirdparty.googleusercontent.com/"+(17==b?16:b)+"/type/"+Ea(f[0])+"/"+Ea(f[1]);return 17==b?c+".ico":c}c=$m.Ra().decode(c);d=this.mC[b];this.xc[c]||(c=1);return"//ssl.gstatic.com/docs/doclist/images/mediatype/icon_"+(this.Ei[c]?this.Ei[c]:1)+"_"+this.xc[c]+d};function bn(){this.V=[];this.V[8]="Article";this.V[3]="Audio";this.V[4]="Image";this.V[7]="Compressed Archive";this.V[5]="Text";this.V[6]="Video";this.V[701]="AutoCAD";this.V[781]="Compressed Archive";this.V[702]="AutoCAD";this.V[703]="Electronic Publication";this.V[771]="Compressed Archive";this.V[782]="Compressed Archive";this.V[783]="Compressed Archive";this.V[762]="Illustrator";this.V[741]="Javascript";this.V[768]="Excel";this.V[767]="PowerPoint";this.V[704]="Word";this.V[758]="Word";this.V[790]=
"Word";this.V[706]="PDF";this.V[744]="Photoshop";this.V[707]="PKCS7 Signature";this.V[708]="Postscript";this.V[705]="Binary File";this.V[772]="Compressed Archive";this.V[709]="Rich Text";this.V[773]="Compressed Archive";this.V[710]="Android Package";this.V[711]="Google Docs";this.V[747]="Google Docs";this.V[712]="Google Drawings";this.V[745]="Google Drive Folder";this.V[713]="Google Forms";this.V[746]="Google Forms";this.V[764]="Google Fusion Tables";this.V[788]="Google My Maps";this.V[789]="Google My Maps";
this.V[714]="Google Slides";this.V[748]="Google Slides";this.V[765]="Google Sheets";this.V[766]="Google Apps Script";this.V[763]="Google Sites";this.V[797]="Google Sites";this.V[715]="Google Sheets";this.V[742]="Google Video";this.V[716]="Google Earth";this.V[717]="Excel";this.V[749]="Excel";this.V[750]="Excel";this.V[791]="Excel";this.V[718]="PowerPoint";this.V[751]="PowerPoint";this.V[752]="PowerPoint";this.V[753]="PowerPoint";this.V[719]="Project";this.V[769]="Word";this.V[720]="Works";this.V[721]=
"XPS";this.V[757]="OpenOffice Writer";this.V[761]="OpenOffice Draw";this.V[760]="OpenOffice Impress";this.V[722]="OpenOffice Calc";this.V[759]="Excel";this.V[792]="Excel";this.V[723]="Word";this.V[756]="Word";this.V[724]="PowerPoint";this.V[754]="PowerPoint";this.V[755]="PowerPoint";this.V[725]="Visio";this.V[726]="Compressed Archive";this.V[774]="Compressed Archive";this.V[775]="Compressed Archive";this.V[776]="Compressed Archive";this.V[784]="Compressed Archive";this.V[785]="Compressed Archive";
this.V[786]="Compressed Archive";this.V[727]="TrueType Font";this.V[728]="Compressed Archive";this.V[777]="Compressed Archive";this.V[729]="PHP";this.V[730]="Keynote";this.V[731]="Numbers";this.V[732]="Pages";this.V[743]="Javascript";this.V[733]="Compressed Archive";this.V[734]="Publisher";this.V[735]="Windows Shortcut";this.V[736]="Windows Media Player";this.V[770]="Compressed Archive";this.V[737]="Compressed Archive";this.V[738]="Flash";this.V[778]="Compressed Archive";this.V[787]="Compressed Archive";
this.V[739]="LaTeX";this.V[779]="Compressed Archive";this.V[780]="Compressed Archive";this.V[740]="Compressed Archive";this.V[107]="Audio";this.V[101]="Audio";this.V[102]="Audio";this.V[103]="Audio";this.V[104]="Audio";this.V[108]="Audio";this.V[105]="Audio";this.V[106]="Audio";this.V[109]="Audio";this.V[301]="Image";this.V[302]="Image";this.V[303]="Image";this.V[304]="Image";this.V[309]="Image";this.V[305]="Image";this.V[326]="Image";this.V[306]="Image";this.V[327]="Image";this.V[310]="Image";this.V[311]=
"Raw Image";this.V[312]="Raw Image";this.V[307]="Image";this.V[313]="Raw Image";this.V[328]="Image";this.V[314]="Raw Image";this.V[315]="Raw Image";this.V[316]="Image";this.V[317]="Raw Image";this.V[318]="Raw Image";this.V[319]="Raw Image";this.V[320]="Raw Image";this.V[321]="Raw Image";this.V[308]="Photoshop";this.V[322]="Raw Image";this.V[323]="Raw Image";this.V[324]="Raw Image";this.V[325]="Image";this.V[201]="Chemical Model";this.V[1101]="Compressed Archive";this.V[401]="Message";this.V[1001]=
"Compressed Archive";this.V[1002]="Compressed Archive";this.V[1005]="Compressed Archive";this.V[1003]="Compressed Archive";this.V[1004]="Compressed Archive";this.V[501]="Calendar";this.V[502]="Style Sheet";this.V[503]="Comma Separated Data";this.V[515]="ECMAScript";this.V[504]="HTML";this.V[505]="Text";this.V[506]="C";this.V[517]="C";this.V[518]="C++";this.V[507]="C++";this.V[508]="Hangul Word Processor";this.V[509]="Java";this.V[510]="Java";this.V[516]="Javascript";this.V[511]="Objective C";this.V[512]=
"SQL";this.V[519]="Text";this.V[513]="vCard";this.V[514]="XML";this.V[601]="Video";this.V[602]="Video";this.V[619]="Video";this.V[603]="Video";this.V[618]="Video";this.V[617]="Video";this.V[604]="Video";this.V[616]="Video";this.V[605]="Video";this.V[615]="Video";this.V[606]="Video";this.V[614]="Video";this.V[613]="Video";this.V[607]="Flash";this.V[610]="Video";this.V[612]="Video";this.V[611]="Video";this.V[608]="Windows Media Player";this.V[609]="Video";this.V[620]="Flash";this.V[621]="YouTube"}da(bn);
bn.prototype.get=function(a){return this.V[a]?this.V[a]:"Unknown File"};function cn(a){return an.Ra().get(a,1<l.devicePixelRatio?32:16)}function dn(a){return bn.Ra().get(Sm.Ra().decode(a))};function en(a){H.call(this);this.$=a;this.ha=new K(this);A(this,this.ha);this.U5=this.T5=0;this.fP=!1;this.ha.listen(this.$,"touchstart",this.LQ);this.ha.listen(this.$,"touchend",this.JQ)}w(en,H);var fn={nqa:"swipe_right",mqa:"swipe_left"};en.prototype.LQ=function(a){1!=a.Qb.touches.length?this.fP=!1:(this.fP=!0,this.T5=a.Qb.touches[0].pageX,this.U5=a.Qb.touches[0].pageY)};
en.prototype.JQ=function(a){if(this.fP){var b=this.T5-a.Qb.changedTouches[0].pageX,c=this.U5-a.Qb.changedTouches[0].pageY;100<=Math.abs(b)&&Math.abs(b)>Math.abs(c)&&(this.dispatchEvent(0>b?"swipe_right":"swipe_left"),a.stopPropagation())}};function gn(a,b){G.call(this,a);this.$a=b}w(gn,G);function hn(a,b){gn.call(this,"u",b);this.item=a}w(hn,gn);function jn(a,b,c){gn.call(this,"r",c);this.xM=a;this.My=b}w(jn,gn);function kn(a,b){gn.call(this,"s",b);this.app=a}w(kn,gn);function ln(a){G.call(this,"y");this.Bga=a}w(ln,G);function mn(a){if(a.classList)return a.classList;a=a.className;return r(a)&&a.match(/\S+/g)||[]}function nn(a,b){return a.classList?a.classList.contains(b):tb(mn(a),b)}function W(a,b){a.classList?a.classList.add(b):nn(a,b)||(a.className+=0<a.className.length?" "+b:b)}function on(a,b){if(a.classList)y(b,function(b){W(a,b)});else{var c={};y(mn(a),function(a){c[a]=!0});y(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}
function pn(a,b){a.classList?a.classList.remove(b):nn(a,b)&&(a.className=lb(mn(a),function(a){return a!=b}).join(" "))}function qn(a,b){a.classList?y(b,function(b){pn(a,b)}):a.className=lb(mn(a),function(a){return!tb(b,a)}).join(" ")}function rn(a,b,c){c?W(a,b):pn(a,b)}function sn(a,b,c){nn(a,b)&&(pn(a,b),W(a,c))}function tn(a,b,c){pn(a,b);W(a,c)};function un(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}function vn(a){for(var b=new un(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++){var d=b,f=arguments[c];d.top=Math.min(d.top,f.y);d.right=Math.max(d.right,f.x);d.bottom=Math.max(d.bottom,f.y);d.left=Math.min(d.left,f.x)}return b}e=un.prototype;e.Kb=function(){return this.right-this.left};e.getHeight=function(){return this.bottom-this.top};
e.clone=function(){return new un(this.top,this.right,this.bottom,this.left)};e.contains=function(a){return this&&a?a instanceof un?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};e.expand=function(a,b,c,d){ka(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
e.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};e.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};e.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};
e.translate=function(a,b){a instanceof C?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,ia(b)&&(this.top+=b,this.bottom+=b));return this};e.scale=function(a,b){var c=ia(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function wn(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}e=wn.prototype;e.clone=function(){return new wn(this.left,this.top,this.width,this.height)};function xn(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1}
e.VF=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};function yn(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var f=Math.max(a.top,b.top),g=Math.min(a.top+a.height,b.top+b.height);if(f<=g)return new wn(c,f,d-c,g-f)}return null}
function zn(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height}e.intersects=function(a){return zn(this,a)};
e.iY=function(a){var b=yn(this,a);if(b&&b.height&&b.width){var b=[],c=this.top,d=this.height,f=this.left+this.width,g=this.top+this.height,h=a.left+a.width,k=a.top+a.height;a.top>this.top&&(b.push(new wn(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);k<g&&(b.push(new wn(this.left,k,this.width,g-k)),d=k-c);a.left>this.left&&b.push(new wn(this.left,c,a.left-this.left,d));h<f&&b.push(new wn(h,c,f-h,d));a=b}else a=[this.clone()];return a};
function An(a,b){var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top}e.contains=function(a){return a instanceof wn?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};e.Pc=function(){return new D(this.width,this.height)};
e.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};e.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};e.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
e.translate=function(a,b){a instanceof C?(this.left+=a.x,this.top+=a.y):(this.left+=a,ia(b)&&(this.top+=b));return this};e.scale=function(a,b){var c=ia(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function Bn(a,b,c){if(r(b))(b=Cn(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var f=b[d],g=Cn(c,d);g&&(c.style[g]=f)}}var Dn={};function Cn(a,b){var c=Dn[b];if(!c){var d=eb(b),c=d;void 0===a.style[d]&&(d=(Ld?"Webkit":Kd?"Moz":E?"ms":Hd?"O":null)+fb(d),void 0!==a.style[d]&&(c=d));Dn[b]=c}return c}function En(a,b){var c=a.style[eb(b)];return"undefined"!==typeof c?c:a.style[Cn(a,b)]||""}
function Fn(a,b){var c=je(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function Gn(a,b){return Fn(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function Hn(a){return Gn(a,"position")}function In(a,b,c){var d;b instanceof C?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Jn(d,!1);a.style.top=Jn(b,!1)}function Kn(a){return new C(a.offsetLeft,a.offsetTop)}
function Ln(a){a=a?je(a):document;return!E||Zd(9)||se(he(a).Ba)?a.documentElement:a.body}function Mn(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}E&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
function Nn(a){if(E&&!Zd(8))return a.offsetParent;var b=je(a),c=Gn(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=Gn(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}
function On(a){for(var b=new un(0,Infinity,Infinity,0),c=he(a),d=c.Ba.body,f=c.Ba.documentElement,g=ue(c.Ba);a=Nn(a);)if(!(E&&0==a.clientWidth||Ld&&0==a.clientHeight&&a==d)&&a!=d&&a!=f&&"visible"!=Gn(a,"overflow")){var h=Pn(a),k=new C(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);
c=c.zd();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null}
function Qn(a,b,c){var d=b||ue(document),f=Pn(a),g=Pn(d),h=Rn(d);d==ue(document)?(b=f.x-d.scrollLeft,f=f.y-d.scrollTop,E&&!Zd(10)&&(b+=h.left,f+=h.top)):(b=f.x-g.x-h.left,f=f.y-g.y-h.top);h=d.clientWidth-a.offsetWidth;a=d.clientHeight-a.offsetHeight;g=d.scrollLeft;d=d.scrollTop;c?(g+=b-h/2,d+=f-a/2):(g+=Math.min(b,Math.max(b-h,0)),d+=Math.min(f,Math.max(f-a,0)));return new C(g,d)}function Sn(a,b){var c=b||ue(document),d=Qn(a,c,void 0);c.scrollLeft=d.x;c.scrollTop=d.y}
function Pn(a){var b=je(a),c=new C(0,0),d=Ln(b);if(a==d)return c;a=Mn(a);b=te(he(b).Ba);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Tn(a,b){var c=Un(a),d=Un(b);return new C(c.x-d.x,c.y-d.y)}function Vn(a){a=Mn(a);return new C(a.left,a.top)}function Un(a){if(1==a.nodeType)return Vn(a);a=a.changedTouches?a.changedTouches[0]:a;return new C(a.clientX,a.clientY)}function Wn(a,b,c){if(b instanceof D)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Xn(a,b);Yn(a,c)}
function Jn(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Yn(a,b){a.style.height=Jn(b,!0)}function Xn(a,b){a.style.width=Jn(b,!0)}function Zn(a){var b=$n;if("none"!=Gn(a,"display"))return b(a);var c=a.style,d=c.display,f=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=f;return a}
function $n(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ld&&!b&&!c;return n(b)&&!d||!a.getBoundingClientRect?new D(b,c):(a=Mn(a),new D(a.right-a.left,a.bottom-a.top))}function ao(a){var b=Pn(a);a=Zn(a);return new wn(b.x,b.y,a.width,a.height)}function bo(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}
function co(a,b){var c=a.style;E&&!Yd("8")?c.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="crop")':(c.backgroundImage="url("+b+")",c.backgroundPosition="top left",c.backgroundRepeat="no-repeat")}function X(a,b){a.style.display=b?"":"none"}function eo(a){return"none"!=a.style.display}function fo(a){return"rtl"==Gn(a,"direction")}var go=Kd?"MozUserSelect":Ld||Id?"WebkitUserSelect":null;
function ho(a,b,c){c=c?null:a.getElementsByTagName("*");if(go){if(b=b?"none":"",a.style&&(a.style[go]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[go]=b)}}else if(E||Hd)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}function io(a){return new D(a.offsetWidth,a.offsetHeight)}
function jo(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var f=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return f}function ko(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?jo(a,c):0}
function lo(a,b){if(E){var c=ko(a,b+"Left"),d=ko(a,b+"Right"),f=ko(a,b+"Top"),g=ko(a,b+"Bottom");return new un(f,d,g,c)}c=Fn(a,b+"Left");d=Fn(a,b+"Right");f=Fn(a,b+"Top");g=Fn(a,b+"Bottom");return new un(parseFloat(f),parseFloat(d),parseFloat(g),parseFloat(c))}function mo(a){return lo(a,"margin")}var no={thin:2,medium:4,thick:6};function oo(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in no?no[c]:jo(a,c)}
function Rn(a){if(E&&!Zd(9)){var b=oo(a,"borderLeft"),c=oo(a,"borderRight"),d=oo(a,"borderTop");a=oo(a,"borderBottom");return new un(d,c,a,b)}b=Fn(a,"borderLeftWidth");c=Fn(a,"borderRightWidth");d=Fn(a,"borderTopWidth");a=Fn(a,"borderBottomWidth");return new un(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function po(a,b){H.call(this);this.$=a;var c=He(this.$)?this.$:this.$?this.$.body:null;this.hG=!!c&&fo(c);this.N1=qg(this.$,Kd?"DOMMouseScroll":"mousewheel",this,b)}w(po,H);
po.prototype.handleEvent=function(a){var b=0,c=0,d=a.Qb;"mousewheel"==d.type?(a=qo(-d.wheelDelta),n(d.wheelDeltaX)?(b=qo(-d.wheelDeltaX),c=qo(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),n(d.axis)&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);ia(this.Z1)&&(b=wd(b,-this.Z1,this.Z1));ia(this.a2)&&(c=wd(c,-this.a2,this.a2));this.hG&&(b=-b);b=new ro(a,d,b,c);this.dispatchEvent(b)};function qo(a){return Ld&&(Nd||Pd)&&0!=a%40?a:a/40}
po.prototype.ma=function(){po.R.ma.call(this);zg(this.N1);this.N1=null};function ro(a,b,c,d){bg.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d}w(ro,bg);function so(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!Kd;default:return 166>a.keyCode||183<a.keyCode}}
function to(a,b,c,d,f){if(!(E||Id||Ld&&Yd("525")))return!0;if(Nd&&f)return uo(a);if(f&&!d)return!1;ia(b)&&(b=vo(b));if(!c&&(17==b||18==b||Nd&&91==b))return!1;if((Ld||Id)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(E&&d&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(Ld||Id)}return uo(a)}
function uo(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Ld||Id)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function vo(a){if(Kd)a=wo(a);else if(Nd&&Ld)a:switch(a){case 93:a=91;break a}return a}
function wo(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var xo={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:"semicolon",61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",
93:"context",96:"num-0",97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:"semicolon",187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};function yo(a){H.call(this);this.gy=this.Us={};this.CG=0;this.bba=ec(zo);this.Nla=ec(Ao);this.sK=!0;this.b9=this.mW=!1;this.nha=!0;this.f9=!1;this.gK=null;this.Zm=a;qg(this.Zm,"keydown",this.Tj,!1,this);Kd&&qg(this.Zm,"keyup",this.d0,!1,this);Od&&!Kd&&(qg(this.Zm,"keypress",this.C0,!1,this),qg(this.Zm,"keyup",this.D0,!1,this))}var Bo;w(yo,H);function Co(a){this.MI=a||null;this.next=a?null:{}}var Do={NONE:0,wq:1,Pn:2,lV:4,Qn:8},zo=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],Ao="color date datetime datetime-local email month number password search tel text time url week".split(" ");
function Eo(a){if(!Bo){var b={},c;for(c in xo)b[xo[c]]=vo(parseInt(c,10));Bo=b}return Bo[a]}e=yo.prototype;e.BB=function(a,b){Fo(this.Us,Go(1,arguments),a)};e.gma=function(a){Ho(this.Us,Go(0,arguments))};e.dP=function(a){var b;a:{b=Go(0,arguments);for(var c=this.Us;0<b.length&&c;){c=c[b.shift()];if(!c)break;if(0==b.length&&c.MI){b=!0;break a}c=c.next}b=!1}return b};
function Go(a,b){var c;if(r(b[a]))c=mb(Io(b[a]),function(a){return a.keyCode&255|a.gn<<8});else{var d=b,f=a;fa(b[a])&&(d=b[a],f=0);for(c=[];f<d.length;f+=2)c.push(d[f]&255|d[f+1]<<8)}return c}e.ma=function(){yo.R.ma.call(this);this.Us={};yg(this.Zm,"keydown",this.Tj,!1,this);Kd&&yg(this.Zm,"keyup",this.d0,!1,this);Od&&!Kd&&(yg(this.Zm,"keypress",this.C0,!1,this),yg(this.Zm,"keyup",this.D0,!1,this));this.Zm=null};
function Io(a){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();a=a.split(" ");for(var b=[],c,d=0;c=a[d];d++){c=c.split("+");for(var f=null,g=0,h,k=0;h=c[k];k++){switch(h){case "shift":g|=1;continue;case "ctrl":g|=2;continue;case "alt":g|=4;continue;case "meta":g|=8;continue}f=Eo(h);break}b.push({keyCode:f,gn:g})}return b}
e.d0=function(a){if(Nd){if(224==a.keyCode){this.f2=!0;I(function(){this.f2=!1},400,this);return}var b=a.metaKey||this.f2;67!=a.keyCode&&88!=a.keyCode&&86!=a.keyCode||!b||(a.metaKey=b,this.Tj(a))}32==this.gK&&32==a.keyCode&&a.preventDefault();this.gK=null};e.C0=function(a){32<a.keyCode&&Od&&!Kd&&a.ctrlKey&&a.altKey&&(this.m1=!0)};e.D0=function(a){!this.m1&&Od&&!Kd&&a.ctrlKey&&a.altKey&&this.Tj(a)};
function Fo(a,b,c){var d=b.shift(),f=a[d];if(f&&(0==b.length||f.MI))throw Error("Keyboard shortcut conflicts with existing shortcut");b.length?(d=d.toString(),f=new Co,f=d in a?a[d]:a[d]=f,Fo(f.next,b,c)):a[d]=new Co(c)}function Ho(a,b){var c=b.shift(),d=a[c];d&&(0==b.length?d.MI&&delete a[c]:d.next&&(Ho(d.next,b),Vb(d.next)&&delete a[c]))}
e.Tj=function(a){var b;b=a.keyCode;if(16==b||17==b||18==b)b=!1;else{var c=a.target,d="TEXTAREA"==c.tagName||"INPUT"==c.tagName||"BUTTON"==c.tagName||"SELECT"==c.tagName,f=!d&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);b=!d&&!f||this.bba[b]||this.b9?!0:f?!1:this.nha&&(a.altKey||a.ctrlKey||a.metaKey)?!0:"INPUT"==c.tagName&&this.Nla[c.type]?13==b:"INPUT"==c.tagName||"BUTTON"==c.tagName?this.f9?!0:32!=b:!1}if(b)if("keydown"==a.type&&Od&&!Kd&&a.ctrlKey&&a.altKey)this.m1=!1;
else{b=vo(a.keyCode);c=b&255|((a.shiftKey?1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0))<<8;if(!this.gy[c]||1500<=u()-this.CG)this.gy=this.Us,this.CG=u();if(c=this.gy[c])c.next?(this.gy=c.next,this.CG=u(),a.preventDefault()):(this.gy=this.Us,this.CG=u(),this.sK&&a.preventDefault(),this.mW&&a.stopPropagation(),c=c.MI,d=a.target,f=this.dispatchEvent(new Jo("shortcut",c,d)),(f&=this.dispatchEvent(new Jo("shortcut_"+c,c,d)))||a.preventDefault(),Kd&&(this.gK=b))}};
function Jo(a,b,c){G.call(this,a,c);this.identifier=b}w(Jo,G);var Ko={"drive-viewer-appupsell":12,"drive-viewer-audio-progressbar":21,"drive-viewer-audio-volumecontrol":22,"drive-viewer-close-enabled":3,"drive-viewer-details-panel":14,"drive-viewer-content-download-button":2,"drive-viewer-next-button":2,"drive-viewer-prev-button":2,"drive-viewer-filmstrip-viewall":2,"drive-viewer-itemview":10,"drive-viewer-more-menu":11,"drive-viewer-thumbnail":5,"drive-viewer-ui-text-searchbar":23,"drive-viewer-toolchest":24,"drive-viewer-toolstrip":4,"drive-viewer-toolstrip-name":13};
function Lo(a){if(null!=a)if(a instanceof gn)a=a.$a;else if(a instanceof Jo)a=1;else if(a instanceof ro)a=9;else{var b;a:{for(b in fn)if(fn[b]==a.type){b=!0;break a}b=!1}b?a=20:(b=null,He(a.target)?b=a.target:a.target&&a.target.H&&He(a.target.H())&&(b=a.target.H()),a=Mo(b))}else a=void 0;return a}function Mo(a){for(;a;){for(var b=mn(a),c=0;c<b.length;c++){var d=Ko[b[c]];if(d)return d}a=Ie(a)}};function No(a,b,c){z.call(this);this.xl=a;this.Le=b||0;this.ha=c;this.Id=t(this.wy,this)}w(No,z);e=No.prototype;e.Sa=0;e.ma=function(){No.R.ma.call(this);this.stop();delete this.xl;delete this.ha};e.start=function(a){this.stop();this.Sa=I(this.Id,n(a)?a:this.Le)};e.stop=function(){this.uc()&&J(this.Sa);this.Sa=0};e.WY=function(){this.stop();this.wy()};e.uc=function(){return 0!=this.Sa};e.wy=function(){this.Sa=0;this.xl&&this.xl.call(this.ha)};function Oo(a){return Oa(Ba(a.replace(Po,function(a,c){return Qo.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Qo=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Po=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function Ro(a){var b=fo(a);return b&&Kd?-a.scrollLeft:!b||Jd&&Yd("8")||"visible"==Gn(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}function So(a){var b=a.offsetLeft,c=a.offsetParent;c||"fixed"!=Hn(a)||(c=je(a).documentElement);if(!c)return b;if(Kd)var d=Rn(c),b=b+d.left;else Zd(8)&&!Zd(9)&&(d=Rn(c),b-=d.left);return fo(c)?c.clientWidth-(b+a.offsetWidth):b}
function To(a,b){b=Math.max(b,0);fo(a)?Kd?a.scrollLeft=-b:Jd&&Yd("8")?a.scrollLeft=b:a.scrollLeft=a.scrollWidth-b-a.clientWidth:a.scrollLeft=b}function Uo(a,b,c,d){null!==c&&(a.style.top=c+"px");d?(a.style.right=b+"px",a.style.left=""):(a.style.left=b+"px",a.style.right="")};function Vo(a,b,c,d,f,g,h,k,m){var q=Wo(c),v=ao(a),B=On(a);B&&v.VF(new wn(B.left,B.top,B.right-B.left,B.bottom-B.top));var B=he(a),F=he(c);if(B.Ba!=F.Ba){var M=B.Ba.body;var F=F.getWindow(),O=new C(0,0),Ya=ve(je(M));if(Vf(Ya,"parent")){var Wd=M;do{var vs=Ya==F?Pn(Wd):Vn(Wd);O.x+=vs.x;O.y+=vs.y}while(Ya&&Ya!=F&&Ya!=Ya.parent&&(Wd=Ya.frameElement)&&(Ya=Ya.parent))}M=Bd(O,Pn(M));!E||Zd(9)||se(B.Ba)||(M=Bd(M,te(B.Ba)));v.left+=M.x;v.top+=M.y}a=Xo(a,b);b=v.left;a&4?b+=v.width:a&2&&(b+=v.width/2);v=new C(b,
v.top+(a&1?v.height:0));v=Bd(v,q);f&&(v.x+=(a&4?-1:1)*f.x,v.y+=(a&1?-1:1)*f.y);var oe;if(h)if(m)oe=m;else if(oe=On(c))oe.top-=q.y,oe.right-=q.x,oe.bottom-=q.y,oe.left-=q.x;return Yo(v,c,d,g,oe,h,k)}function Wo(a){var b;if(a=a.offsetParent){var c="HTML"==a.tagName||"BODY"==a.tagName;c&&"static"==Hn(a)||(b=Pn(a),c||(b=Bd(b,new C(Ro(a),a.scrollTop))))}return b||new C}
function Yo(a,b,c,d,f,g,h){a=a.clone();var k=Xo(b,c);c=Zn(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var m=0;if(d||0!=k)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(g){if(f){d=a;k=h;m=0;65==(g&65)&&(d.x<f.left||d.x>=f.right)&&(g&=-2);132==(g&132)&&(d.y<f.top||d.y>=f.bottom)&&(g&=-5);d.x<f.left&&g&1&&(d.x=f.left,m|=1);if(g&16){var q=d.x;d.x<f.left&&(d.x=f.left,m|=4);d.x+k.width>f.right&&(k.width=Math.min(f.right-d.x,
q+k.width-f.left),k.width=Math.max(k.width,0),m|=4)}d.x+k.width>f.right&&g&1&&(d.x=Math.max(f.right-k.width,f.left),m|=1);g&2&&(m|=(d.x<f.left?16:0)|(d.x+k.width>f.right?32:0));d.y<f.top&&g&4&&(d.y=f.top,m|=2);g&32&&(q=d.y,d.y<f.top&&(d.y=f.top,m|=8),d.y+k.height>f.bottom&&(k.height=Math.min(f.bottom-d.y,q+k.height-f.top),k.height=Math.max(k.height,0),m|=8));d.y+k.height>f.bottom&&g&4&&(d.y=Math.max(f.bottom-k.height,f.top),m|=2);g&8&&(m|=(d.y<f.top?64:0)|(d.y+k.height>f.bottom?128:0));f=m}else f=
256;m=f}g=new wn(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;f=m;if(f&496)return f;In(b,new C(g.left,g.top));h=g.Pc();Cd(c,h)||(c=h,a=se(he(je(b)).Ba),!E||Yd("10")||a&&Yd("8")?(b=b.style,Kd?b.MozBoxSizing="border-box":Ld?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+"px"):(h=b.style,a?(a=lo(b,"padding"),b=Rn(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-
b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return f}function Xo(a,b){return(b&8&&fo(a)?b^4:b)&-9};function Zo(){}Zo.prototype.jc=function(){};function $o(a,b){this.Ii=a;this.C$=!!b;this.wW={0:this.Ii+"-arrowright",1:this.Ii+"-arrowup",2:this.Ii+"-arrowdown",3:this.Ii+"-arrowleft"}}w($o,Zo);e=$o.prototype;e.RO=!1;e.zK=2;e.xW=20;e.DK=3;e.$U=null;e.zQ=-5;e.qK=!1;e.xI=function(a){this.cm=a};e.t5=function(a){this.$U=a};e.setPosition=function(a,b,c,d){null!=a&&(this.DK=a);null!=b&&(this.zK=b);ia(c)&&(this.xW=Math.max(c,15));ia(d)&&(this.zQ=d)};
e.jc=function(a,b,c){a=this.zK;2==a&&(a=0);this.qw(this.DK,a,2==this.zK?ap(this.DK)?this.Aj.offsetHeight/2:this.Aj.offsetWidth/2:this.xW,0,c)};
e.qw=function(a,b,c,d,f){if(this.cm){var g=bp(a,b),h,k=this.cm,m=this.Aj,q=this.$U;h=Zn(k);a:{h=(ap(a)?h.height/2:h.width/2)-c;var v=Xo(k,g);if(q)q=q.clone(),m&&(m=Wo(m),q.left+=m.x,q.right+=m.x,q.top+=m.y,q.bottom+=m.y);else if(q=On(k),!q)break a;k=ao(k);k=new un(k.top,k.left+k.width,k.top+k.height,k.left);ap(a)?k.top<q.top&&!(v&1)?h-=q.top-k.top:k.bottom>q.bottom&&v&1&&(h-=k.bottom-q.bottom):k.left<q.left&&!(v&4)?h-=q.left-k.left:k.right>q.right&&v&4&&(h-=k.right-q.right)}h=ap(a)?new C(this.zQ,
h):new C(h,this.zQ);v=ap(a)?6:9;this.qK&&2==d&&(v=ap(a)?4:1);k=a^3;ap(a)&&"rtl"==this.cm.dir&&(k=a);g=Vo(this.cm,bp(k,b),this.Aj,g,h,f,this.RO?v:0,void 0,this.$U);if(2!=d&&g&496){this.qw(a^3,b,c,this.qK&&0==d?1:2,f);return}!this.C$||g&496||(d=parseFloat(this.Aj.style.left),f=parseFloat(this.Aj.style.top),isFinite(d)&&0==d%1&&isFinite(f)&&0==f%1||In(this.Aj,Math.round(d),Math.round(f)))}this.KH(a,b,c)};
e.KH=function(a,b,c){var d=this.Fq;Mb(this.wW,function(a){rn(d,a,!1)},this);W(d,this.wW[a]);d.style.top=d.style.left=d.style.right=d.style.bottom="";this.cm?(b=Tn(this.cm,this.Aj),c=cp(this.cm,a),ap(a)?d.style.top=dp(b.y+c.y,this.Aj.offsetHeight-15)+"px":d.style.left=dp(b.x+c.x,this.Aj.offsetWidth-15)+"px"):d.style[0==b?ap(a)?"top":"left":ap(a)?"bottom":"right"]=c+"px"};function dp(a,b){return 15>b?15:wd(a,15,b)}
function bp(a,b){switch(a){case 2:return 0==b?1:5;case 1:return 0==b?0:4;case 0:return 0==b?12:13;default:return 0==b?8:9}}function cp(a,b){var c=0,d=0,f=Zn(a);switch(b){case 2:c=f.width/2;break;case 1:c=f.width/2;d=f.height;break;case 0:d=f.height/2;break;case 3:c=f.width,d=f.height/2}return new C(c,d)}function ap(a){return 0==a||3==a};function ep(a){z.call(this);this.zy=a||he()}w(ep,z);ep.prototype.U0=function(){jh(this.H(),this.ng());kh(this.H(),"live","polite")};ep.prototype.ng=function(){return"tooltip"};function fp(a){ep.call(this,a);this.Bb=this.zy.ra("div",gp()+"-contentId");this.Eq=this.zy.ra("div",gp()+"-arrow",this.zy.ra("div",gp()+"-arrowimplbefore"),this.zy.ra("div",gp()+"-arrowimplafter"));this.Di=this.zy.ra("div",{"class":gp(),role:"tooltip"},this.Bb,this.Eq);this.U0()}w(fp,ep);function gp(){return"jfk-tooltip"}fp.prototype.H=function(){return this.Di};fp.prototype.Vb=function(){return this.Bb};fp.prototype.ma=function(){this.Di&&De(this.Di)};function hp(a){fp.call(this,a)}w(hp,fp);hp.prototype.U0=function(){jh(this.H(),this.ng())};function ip(a){a=a||he();var b=la(a.Ba);jp[b]||(jp[b]=new kp(a))}function lp(a){var b=a.getAttribute("title");b&&mp(a,b)}function mp(a,b,c){c||(c=b instanceof gd?Oo(id(b)):b);a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof gd?a.qA=b:(a.setAttribute("data-tooltip",b),a.qA=null),a.setAttribute("aria-label",c)):(a.qA=null,a.removeAttribute("aria-label"));ip(he(a))}var jp={};
function kp(a){K.call(this);this.nb=a;this.oy=new No(this.Ola,0,this);A(this,this.oy);var b=ve();this.ZG=ja(b.MutationObserver)?new b.MutationObserver(t(this.rba,this)):null;a=a.Ba;this.listen(a,["mouseout","mousedown","click","blur",ag,"keydown"],this.X9,!0);this.listen(a,["mouseover","focus",$f],this.hla,!0)}w(kp,K);e=kp.prototype;e.ma=function(){np(this);kp.R.ma.call(this)};
function op(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.j1=!1;break;case "keydown":a.j1=!0}}e.hla=function(a){this.ZG&&this.ZG.disconnect();op(this,a);var b=a.target;a="focus"==a.type||a.type==$f;var c=this.jd&&Je(this.jd.Vb(),b);if(this.j1||!a||c){this.mga=a;if(a=b&&b.getAttribute&&this.ZG)a=b.getAttribute("role")||null,a=tb(ih,a);a&&(this.ZG.observe(b,{attributes:!0}),(a=mh(b))&&(b=a));this.Gd=b}else this.Gd=null;pp(this)};
e.X9=function(a){op(this,a);var b=a.target;a="mousedown"==a.type||"click"==a.type;b=this.jd&&Je(this.jd.Vb(),b);a&&b||(this.Gd=null,pp(this))};e.rba=function(a){y(a,t(function(a){var c=mh(a.target);c&&"aria-activedescendant"==a.attributeName&&(this.Gd=c,pp(this))},this))};function pp(a){np(a);a.oy.start(a.Vj?50:300)}function np(a){a.pI&&(J(a.pI),a.pI=0,a.Vj=null)}
e.Ola=function(){if(!this.Gd)qp(this),this.Vj=null;else if(!(this.Vj&&this.jd&&Je(this.jd.H(),this.Gd))||this.Vj.getAttribute("data-tooltip-unhoverable")){var a=Xe(this.Gd,function(a){return a.getAttribute&&(a.getAttribute("data-tooltip-contained")||a.getAttribute("data-tooltip")||a.qA)&&!a.getAttribute("data-tooltip-suspended")}),b=!1;this.Vj&&this.Vj!=a&&(qp(this),this.Vj=null,b=!0);if(!this.Vj&&a&&(this.Vj=a,rp(this,a))){var c=ud;if(a.getAttribute("data-tooltip-contained"))for(var d=le("jfk-tooltip-data",
a),f=0;f<d.length;f++){if(d[f].parentNode==a){c=d[f].cloneNode(!0);break}}else c=a.qA?a.qA:ld(a.getAttribute("data-tooltip"));var d=a.getAttribute("data-tooltip-align"),f=a.getAttribute("data-tooltip-class"),g=a.getAttribute("data-tooltip-offset"),g=x(za(g))?-1:Number(g);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.pI=I(qa(this.I5,this.Vj,c,d,g,f),a,this);return}this.I5(this.Vj,c,d,g,f)}}};
function rp(a,b){return b.getAttribute("data-tooltip-only-on-overflow")&&b.offsetWidth>=b.scrollWidth&&b.offsetHeight>=b.scrollHeight||a.mga&&"mouse"==b.getAttribute("data-tooltip-trigger")?!1:!0}function sp(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1}
e.I5=function(a,b,c,d,f){this.pI=0;if(!this.jd){this.jd=new hp(this.nb);qp(this);this.nb.Ba.body.appendChild(this.jd.H());A(this,this.jd);this.ax=new $o(gp(),!0);this.ax.RO=!0;this.ax.qK=!0;var g=this.ax,h=this.jd.Eq;g.Aj=this.jd.H();g.Fq=h}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.ax.setPosition(sp(c),g,void 0,d);pn(this.jd.H(),"jfk-tooltip-hide");this.lJ!=f&&(this.lJ&&!x(za(this.lJ))&&pn(this.jd.H(),this.lJ),x(za(f))||W(this.jd.H(),f),this.lJ=
f);In(this.jd.H(),0,0);if(b instanceof gd)fe(this.jd.Vb(),b);else for(Be(this.jd.Vb());c=b.firstChild;)this.jd.Vb().appendChild(c);this.ax.xI(a);this.ax.jc(null,0)};function qp(a){a.jd&&W(a.jd.H(),"jfk-tooltip-hide")};function tp(a,b,c,d,f){if(a){mp(a,b||"",d);a.setAttribute("data-tooltip-unhoverable","true");a.setAttribute("data-tooltip-delay",500);x(za("drive-viewer-jfk-tooltip"))||a.setAttribute("data-tooltip-class","drive-viewer-jfk-tooltip");if(a){b="";switch(n(c)?c:1){case 0:b+="l";break;case 2:b+="t";break;case 3:b+="r";break;default:b+="b"}a.setAttribute("data-tooltip-align",b+",c");a.setAttribute("data-tooltip-offset",-6)}f&&(f?a.setAttribute("data-tooltip-only-on-overflow","true"):a.removeAttribute("data-tooltip-only-on-overflow"));
n(d)&&x(d)&&a.removeAttribute("aria-label")}};function up(a,b){H.call(this);a&&this.Gq(a,b)}w(up,H);e=up.prototype;e.$=null;e.pG=null;e.nP=null;e.qG=null;e.$i=-1;e.Or=-1;e.rK=!1;
var vp={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},wp={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},xp=E||Id||Ld&&Yd("525"),yp=Nd&&Kd;e=up.prototype;
e.Tj=function(a){(Ld||Id)&&(17==this.$i&&!a.ctrlKey||18==this.$i&&!a.altKey||Nd&&91==this.$i&&!a.metaKey)&&this.Dg();-1==this.$i&&(a.ctrlKey&&17!=a.keyCode?this.$i=17:a.altKey&&18!=a.keyCode?this.$i=18:a.metaKey&&91!=a.keyCode&&(this.$i=91));xp&&!to(a.keyCode,this.$i,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.Or=vo(a.keyCode),yp&&(this.rK=a.altKey))};e.Dg=function(){this.Or=this.$i=-1};e.mda=function(a){this.Dg();this.rK=a.altKey};
e.handleEvent=function(a){var b=a.Qb,c,d,f=b.altKey;E&&"keypress"==a.type?(c=this.Or,d=13!=c&&27!=c?b.keyCode:0):(Ld||Id)&&"keypress"==a.type?(c=this.Or,d=0<=b.charCode&&63232>b.charCode&&uo(c)?b.charCode:0):Hd&&!Ld?(c=this.Or,d=uo(c)?b.keyCode:0):(c=b.keyCode||this.Or,d=b.charCode||0,yp&&(f=this.rK),Nd&&63==d&&224==c&&(c=191));var g=c=vo(c),h=b.keyIdentifier;c?63232<=c&&c in vp?g=vp[c]:25==c&&a.shiftKey&&(g=9):h&&h in wp&&(g=wp[h]);a=g==this.$i;this.$i=g;b=new zp(g,d,a,b);b.altKey=f;this.dispatchEvent(b)};
e.H=function(){return this.$};e.Gq=function(a,b){this.qG&&this.detach();this.$=a;this.pG=qg(this.$,"keypress",this,b);this.nP=qg(this.$,"keydown",this.Tj,b,this);this.qG=qg(this.$,"keyup",this.mda,b,this)};e.detach=function(){this.pG&&(zg(this.pG),zg(this.nP),zg(this.qG),this.qG=this.nP=this.pG=null);this.$=null;this.Or=this.$i=-1};e.ma=function(){up.R.ma.call(this);this.detach()};function zp(a,b,c,d){bg.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}w(zp,bg);function Ap(){}da(Ap);Ap.prototype.uha=0;function Bp(a){return":"+(a.uha++).toString(36)};function Cp(a){H.call(this);this.Ha=a||he();this.Jl=Dp;this.Sa=null;this.Xa=!1;this.$=null;this.Lo=void 0;this.Cj=this.Zb=this.Cb=this.Xc=null;this.dV=!1}w(Cp,H);Cp.prototype.Tfa=Ap.Ra();var Dp=null;
function Ep(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");}e=Cp.prototype;e.getId=function(){return this.Sa||(this.Sa=Bp(this.Tfa))};e.Wp=function(a){this.Cb&&this.Cb.Cj&&(Xb(this.Cb.Cj,this.Sa),Yb(this.Cb.Cj,a,this));this.Sa=a};e.H=function(){return this.$};
e.Ni=function(a){return this.$?this.Ha.Ni(a,this.$):[]};e.ua=function(a){return this.$?this.Ha.ua(a,this.$):null};e.yd=function(a){return this.ua(a)};e.ka=function(){this.Lo||(this.Lo=new K(this));return this.Lo};e.hd=function(a){if(this==a)throw Error("Unable to set parent component");if(a&&this.Cb&&this.Sa&&Fp(this.Cb,this.Sa)&&this.Cb!=a)throw Error("Unable to set parent component");this.Cb=a;Cp.R.Fg.call(this,a)};e.getParent=function(){return this.Cb};
e.Fg=function(a){if(this.Cb&&this.Cb!=a)throw Error("Method not supported");Cp.R.Fg.call(this,a)};e.U=function(){return this.Ha};e.ra=function(){this.$=this.Ha.createElement("DIV")};e.Ka=function(a){this.mw(a)};function Gp(a,b){a.mw(b.parentNode,b)}e.mw=function(a,b){if(this.Xa)throw Error("Component already rendered");this.$||this.ra();a?a.insertBefore(this.$,b||null):this.Ha.Ba.body.appendChild(this.$);this.Cb&&!this.Cb.Xa||this.ta()};
e.Na=function(a){if(this.Xa)throw Error("Component already rendered");if(a&&this.Ef(a)){this.dV=!0;var b=je(a);this.Ha&&this.Ha.Ba==b||(this.Ha=he(a));this.dc(a);this.ta()}else throw Error("Invalid element to decorate");};e.Ef=function(){return!0};e.dc=function(a){this.$=a};e.ta=function(){this.Xa=!0;this.Lj(function(a){!a.Xa&&a.H()&&a.ta()})};e.Db=function(){this.Lj(function(a){a.Xa&&a.Db()});this.Lo&&this.Lo.removeAll();this.Xa=!1};
e.ma=function(){this.Xa&&this.Db();this.Lo&&(this.Lo.dispose(),delete this.Lo);this.Lj(function(a){a.dispose()});!this.dV&&this.$&&De(this.$);this.Cb=this.Xc=this.$=this.Cj=this.Zb=null;Cp.R.ma.call(this)};e.Aa=function(a,b){this.Hi(a,this.qg(),b)};
e.Hi=function(a,b,c){if(a.Xa&&(c||!this.Xa))throw Error("Component already rendered");if(0>b||b>this.qg())throw Error("Child component index out of bounds");this.Cj&&this.Zb||(this.Cj={},this.Zb=[]);if(a.getParent()==this){var d=a.getId();this.Cj[d]=a;wb(this.Zb,a)}else Yb(this.Cj,a.getId(),a);a.hd(this);Bb(this.Zb,b,0,a);a.Xa&&this.Xa&&a.getParent()==this?(c=this.Vb(),b=c.childNodes[b]||null,b!=a.H()&&c.insertBefore(a.H(),b)):c?(this.$||this.ra(),b=this.og(b+1),a.mw(this.Vb(),b?b.$:null)):this.Xa&&
!a.Xa&&a.$&&a.$.parentNode&&1==a.$.parentNode.nodeType&&a.ta()};e.Vb=function(){return this.$};e.nf=function(){null==this.Jl&&(this.Jl=fo(this.Xa?this.$:this.Ha.Ba.body));return this.Jl};e.Xp=function(a){if(this.Xa)throw Error("Component already rendered");this.Jl=a};e.qg=function(){return this.Zb?this.Zb.length:0};function Fp(a,b){return a.Cj&&b?Zb(a.Cj,b)||null:null}e.og=function(a){return this.Zb?this.Zb[a]||null:null};e.Lj=function(a,b){this.Zb&&y(this.Zb,a,b)};
function Hp(a,b){return a.Zb&&b?ib(a.Zb,b):-1}e.removeChild=function(a,b){if(a){var c=r(a)?a:a.getId();a=Fp(this,c);c&&a&&(Xb(this.Cj,c),wb(this.Zb,a),b&&(a.Db(),a.$&&De(a.$)),a.hd(null))}if(!a)throw Error("Child is not in parent component");return a};e.CB=function(a,b){return this.removeChild(this.og(a),b)};e.fe=function(a){for(var b=[];this.Zb&&0!=this.Zb.length;)b.push(this.CB(0,a));return b};function Ip(){}var Jp;da(Ip);var Kp={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};e=Ip.prototype;e.ng=function(){};e.ra=function(a){return a.U().ra("DIV",this.Dm(a).join(" "),a.getContent())};e.Vb=function(a){return a};e.Hy=function(a,b,c){if(a=a.H?a.H():a){var d=[b];E&&!Yd("7")&&(d=Lp(mn(a),b),d.push(b));(c?on:qn)(a,d)}};e.Ef=function(){return!0};
e.Na=function(a,b){b.id&&a.Wp(b.id);var c=this.Vb(b);c&&c.firstChild?Mp(a,c.firstChild.nextSibling?zb(c.childNodes):c.firstChild):a.mc=null;var d=0,f=this.Ma(),g=this.Ma(),h=!1,k=!1,m=!1,q=zb(mn(b));y(q,function(a){h||a!=f?k||a!=g?d|=this.nF(a):k=!0:(h=!0,g==f&&(k=!0));1==this.nF(a)&&Pe(c)&&Se(c,!1)},this);a.va=d;h||(q.push(f),g==f&&(k=!0));k||q.push(g);var v=a.Jj;v&&q.push.apply(q,v);if(E&&!Yd("7")){var B=Lp(q);0<B.length&&(q.push.apply(q,B),m=!0)}if(!h||!k||v||m)b.className=q.join(" ");return b};
e.ev=function(a){a.nf()&&this.Xp(a.H(),!0);a.isEnabled()&&this.Nl(a,a.Ca())};function Np(a,b,c){if(a=c||a.ng())c=b.getAttribute("role")||null,a!=c&&jh(b,a)}function Op(a,b,c){var d=b.Dq;null!=d&&a.Tp(c,d);b.Ca()||kh(c,"hidden",!b.Ca());b.isEnabled()||a.Ul(c,1,!b.isEnabled());Pp(b,8)&&a.Ul(c,8,b.Zo());Pp(b,16)&&a.Ul(c,16,Qp(b,16));Pp(b,64)&&a.Ul(c,64,b.Zi())}e.Tp=function(a,b){oh(a,b)};e.SB=function(a,b){ho(a,!b,!E&&!Hd)};e.Xp=function(a,b){this.Hy(a,this.Ma()+"-rtl",b)};
e.Xm=function(a){var b;return Pp(a,32)&&(b=a.ke())?Pe(b):!1};e.Nl=function(a,b){var c;if(Pp(a,32)&&(c=a.ke())){if(!b&&Qp(a,32)){try{c.blur()}catch(d){}Qp(a,32)&&a.Im(null)}Pe(c)!=b&&Se(c,b)}};e.setVisible=function(a,b){X(a,b);a&&kh(a,"hidden",!b)};e.lb=function(a,b,c){var d=a.H();if(d){var f=this.Yy(b);f&&this.Hy(a,f,c);this.Ul(d,b,c)}};
e.Ul=function(a,b,c){Jp||(Jp={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Jp[b];var d=a.getAttribute("role")||null;d&&(d=Kp[d]||b,b="checked"==b||"selected"==b?d:b);b&&kh(a,b,c)};e.setContent=function(a,b){var c=this.Vb(a);if(c&&(Be(c),b))if(r(b))Le(c,b);else{var d=function(a){if(a){var b=je(c);c.appendChild(r(a)?b.createTextNode(a):a)}};fa(b)?y(b,d):!ga(b)||"nodeType"in b?d(b):y(zb(b),d)}};e.ke=function(a){return a.H()};e.Ma=function(){return"goog-control"};
e.Dm=function(a){var b=this.Ma(),c=[b],d=this.Ma();d!=b&&c.push(d);b=a.getState();for(d=[];b;){var f=b&-b;d.push(this.Yy(f));b&=~f}c.push.apply(c,d);(a=a.Jj)&&c.push.apply(c,a);E&&!Yd("7")&&c.push.apply(c,Lp(c));return c};function Lp(a,b){var c=[];b&&(a=yb(a,[b]));y([],function(d){!pb(d,qa(tb,a))||b&&!tb(d,b)||c.push(d.join("_"))});return c}e.Yy=function(a){this.JD||Rp(this);return this.JD[a]};
e.nF=function(a){this.Z5||(this.JD||Rp(this),this.Z5=ac(this.JD));a=parseInt(this.Z5[a],10);return isNaN(a)?0:a};function Rp(a){var b=a.Ma();b.replace(/\xa0|\s/g," ");a.JD={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};function Sp(){}w(Sp,Ip);da(Sp);e=Sp.prototype;e.ng=function(){return"button"};e.Ul=function(a,b,c){switch(b){case 8:case 16:kh(a,"pressed",c);break;default:case 64:case 1:Sp.R.Ul.call(this,a,b,c)}};e.ra=function(a){var b=Sp.R.ra.call(this,a);this.mb(b,a.Lf());var c=a.Ga();c&&this.qb(b,c);Pp(a,16)&&this.Ul(b,16,Qp(a,16));return b};e.Na=function(a,b){b=Sp.R.Na.call(this,a,b);var c=this.Ga(b);a.Pb=c;a.Zp(this.Lf(b));Pp(a,16)&&this.Ul(b,16,Qp(a,16));return b};e.Ga=p;e.qb=p;e.Lf=function(a){return a.title};
e.mb=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};e.Ma=function(){return"goog-button"};function Tp(a,b){if(!a)throw Error("Invalid class name "+a);if(!ja(b))throw Error("Invalid decorator function "+b);Up[a]=b}var Vp={},Up={};function Wp(a,b,c){Cp.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=la(b);if(d=Vp[d])break;b=b.R?b.R.constructor:null}b=d?ja(d.Ra)?d.Ra():new d:null}this.Za=b;this.mc=n(a)?a:null;this.Dq=null}w(Wp,Cp);e=Wp.prototype;e.mc=null;e.va=0;e.oC=39;e.yj=255;e.Ys=0;e.ld=!0;e.Jj=null;e.MN=!0;e.iD=!1;e.nR=null;function Xp(a,b){a.Xa&&b!=a.MN&&Yp(a,b);a.MN=b}e.ke=function(){return this.Za.ke(this)};e.bF=function(){return this.Gc||(this.Gc=new up)};
function Zp(a,b){b&&(a.Jj?tb(a.Jj,b)||a.Jj.push(b):a.Jj=[b],a.Za.Hy(a,b,!0))}e.Hy=function(a,b){b?Zp(this,a):a&&this.Jj&&wb(this.Jj,a)&&(0==this.Jj.length&&(this.Jj=null),this.Za.Hy(this,a,!1))};e.ra=function(){var a=this.Za.ra(this);this.$=a;Np(this.Za,a,this.Go());this.iD||this.Za.SB(a,!1);this.Ca()||this.Za.setVisible(a,!1)};e.Go=function(){return this.nR};e.Tp=function(a){this.Dq=a;var b=this.H();b&&this.Za.Tp(b,a)};e.Vb=function(){return this.Za.Vb(this.H())};e.Ef=function(a){return this.Za.Ef(a)};
e.dc=function(a){this.$=a=this.Za.Na(this,a);Np(this.Za,a,this.Go());this.iD||this.Za.SB(a,!1);this.ld="none"!=a.style.display};e.ta=function(){Wp.R.ta.call(this);Op(this.Za,this,this.$);this.Za.ev(this);if(this.oC&-2&&(this.MN&&Yp(this,!0),Pp(this,32))){var a=this.ke();if(a){var b=this.bF();b.Gq(a);this.ka().listen(b,"key",this.Mf).listen(a,"focus",this.$h).listen(a,"blur",this.Im)}}};
function Yp(a,b){var c=a.ka(),d=a.H();b?(c.listen(d,"mouseover",a.Pu).listen(d,"mousedown",a.hh).listen(d,"mouseup",a.gl).listen(d,"mouseout",a.NN),a.Az!=p&&c.listen(d,"contextmenu",a.Az),E&&(Yd(9)||c.listen(d,"dblclick",a.a0),a.Yz||(a.Yz=new $p(a),A(a,a.Yz)))):(c.ab(d,"mouseover",a.Pu).ab(d,"mousedown",a.hh).ab(d,"mouseup",a.gl).ab(d,"mouseout",a.NN),a.Az!=p&&c.ab(d,"contextmenu",a.Az),E&&(Yd(9)||c.ab(d,"dblclick",a.a0),rc(a.Yz),a.Yz=null))}
e.Db=function(){Wp.R.Db.call(this);this.Gc&&this.Gc.detach();this.Ca()&&this.isEnabled()&&this.Za.Nl(this,!1)};e.ma=function(){Wp.R.ma.call(this);this.Gc&&(this.Gc.dispose(),delete this.Gc);delete this.Za;this.Yz=this.Jj=this.mc=null};e.getContent=function(){return this.mc};e.setContent=function(a){this.Za.setContent(this.H(),a);this.mc=a};function Mp(a,b){a.mc=b}e.SE=function(){var a=this.getContent();if(!a)return"";a=r(a)?a:fa(a)?mb(a,Ve).join(""):Te(a);return Aa(a)};
e.Xp=function(a){Wp.R.Xp.call(this,a);var b=this.H();b&&this.Za.Xp(b,a)};e.SB=function(a){this.iD=a;var b=this.H();b&&this.Za.SB(b,a)};e.Ca=function(){return this.ld};e.setVisible=function(a,b){if(b||this.ld!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.H();c&&this.Za.setVisible(c,a);this.isEnabled()&&this.Za.Nl(this,a);this.ld=a;return!0}return!1};e.isEnabled=function(){return!Qp(this,1)};
e.setEnabled=function(a){var b=this.getParent();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!aq(this,1,!a)||(a||(this.setActive(!1),this.yi(!1)),this.Ca()&&this.Za.Nl(this,a),this.lb(1,!a,!0))};e.yi=function(a){aq(this,2,a)&&this.lb(2,a)};e.uc=function(){return Qp(this,4)};e.setActive=function(a){aq(this,4,a)&&this.lb(4,a)};e.Zo=function(){return Qp(this,8)};e.sk=function(a){aq(this,8,a)&&this.lb(8,a)};function bq(a,b){aq(a,16,b)&&a.lb(16,b)}e.Dw=function(a){aq(this,32,a)&&this.lb(32,a)};
e.Zi=function(){return Qp(this,64)};e.ye=function(a){aq(this,64,a)&&this.lb(64,a)};e.getState=function(){return this.va};function Qp(a,b){return!!(a.va&b)}e.lb=function(a,b,c){c||1!=a?Pp(this,a)&&b!=Qp(this,a)&&(this.Za.lb(this,a,b),this.va=b?this.va|a:this.va&~a):this.setEnabled(!b)};function Pp(a,b){return!!(a.oC&b)}e.ze=function(a,b){if(this.Xa&&Qp(this,a)&&!b)throw Error("Component already rendered");!b&&Qp(this,a)&&this.lb(a,!1);this.oC=b?this.oC|a:this.oC&~a};
function cq(a,b){return!!(a.yj&b)&&Pp(a,b)}function aq(a,b,c){return Pp(a,b)&&Qp(a,b)!=c&&(!(a.Ys&b)||a.dispatchEvent(Ep(b,c)))&&!a.isDisposed()}e.Pu=function(a){(!a.relatedTarget||!Je(this.H(),a.relatedTarget))&&this.dispatchEvent("enter")&&this.isEnabled()&&cq(this,2)&&this.yi(!0)};e.NN=function(a){a.relatedTarget&&Je(this.H(),a.relatedTarget)||!this.dispatchEvent("leave")||(cq(this,4)&&this.setActive(!1),cq(this,2)&&this.yi(!1))};e.Az=p;
e.hh=function(a){this.isEnabled()&&(cq(this,2)&&this.yi(!0),eg(a)&&(cq(this,4)&&this.setActive(!0),this.Za&&this.Za.Xm(this)&&this.ke().focus()));!this.iD&&eg(a)&&a.preventDefault()};e.gl=function(a){this.isEnabled()&&(cq(this,2)&&this.yi(!0),this.uc()&&this.Fp(a)&&cq(this,4)&&this.setActive(!1))};e.a0=function(a){this.isEnabled()&&this.Fp(a)};
e.Fp=function(a){cq(this,16)&&bq(this,!Qp(this,16));cq(this,8)&&this.sk(!0);cq(this,64)&&this.ye(!this.Zi());var b=new G("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.GH=a.GH);return this.dispatchEvent(b)};e.$h=function(){cq(this,32)&&this.Dw(!0)};e.Im=function(){cq(this,4)&&this.setActive(!1);cq(this,32)&&this.Dw(!1)};e.Mf=function(a){return this.Ca()&&this.isEnabled()&&this.Nf(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
e.Nf=function(a){return 13==a.keyCode&&this.Fp(a)};if(!ja(Wp))throw Error("Invalid component class "+Wp);if(!ja(Ip))throw Error("Invalid renderer class "+Ip);var dq=la(Wp);Vp[dq]=Ip;Tp("goog-control",function(){return new Wp(null)});function $p(a){z.call(this);this.Xt=a;this.OD=!1;this.ha=new K(this);A(this,this.ha);a=this.Xt.$;this.ha.listen(a,"mousedown",this.Po).listen(a,"mouseup",this.il).listen(a,"click",this.fl)}w($p,z);var eq=!E||Zd(9);$p.prototype.Po=function(){this.OD=!1};
$p.prototype.il=function(){this.OD=!0};function fq(a,b){if(!eq)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c}
$p.prototype.fl=function(a){if(this.OD)this.OD=!1;else{var b=a.Qb,c=b.button,d=b.type,f=fq(b,"mousedown");this.Xt.hh(new bg(f,a.currentTarget));f=fq(b,"mouseup");this.Xt.gl(new bg(f,a.currentTarget));eq||(b.button=c,b.type=d)}};$p.prototype.ma=function(){this.Xt=null;$p.R.ma.call(this)};function gq(){}w(gq,Sp);da(gq);e=gq.prototype;e.ng=function(){};e.ra=function(a){Xp(a,!1);a.yj&=-256;a.ze(32,!1);return a.U().ra("BUTTON",{"class":this.Dm(a).join(" "),disabled:!a.isEnabled(),title:a.Lf()||"",value:a.Ga()||""},a.SE()||"")};e.Ef=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};e.Na=function(a,b){Xp(a,!1);a.yj&=-256;a.ze(32,!1);if(b.disabled){var c=this.Yy(1);W(b,c)}return gq.R.Na.call(this,a,b)};
e.ev=function(a){a.ka().listen(a.H(),"click",a.Fp)};e.SB=p;e.Xp=p;e.Xm=function(a){return a.isEnabled()};e.Nl=p;e.lb=function(a,b,c){gq.R.lb.call(this,a,b,c);(a=a.H())&&1==b&&(a.disabled=c)};e.Ga=function(a){return a.value};e.qb=function(a,b){a&&(a.value=b)};e.Ul=p;function hq(a,b,c){Wp.call(this,a,b||gq.Ra(),c)}w(hq,Wp);e=hq.prototype;e.Ga=function(){return this.Pb};e.qb=function(a){this.Pb=a;this.Za.qb(this.H(),a)};e.Lf=function(){return this.jd};e.mb=function(a){this.jd=a;this.Za.mb(this.H(),a)};e.Zp=function(a){this.jd=a};e.ma=function(){hq.R.ma.call(this);delete this.Pb;delete this.jd};e.ta=function(){hq.R.ta.call(this);if(Pp(this,32)){var a=this.ke();a&&this.ka().listen(a,"keyup",this.Nf)}};
e.Nf=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Fp(a):32==a.keyCode};Tp("goog-button",function(){return new hq(null)});function iq(){}w(iq,Sp);da(iq);iq.prototype.Ma=function(){return"drive-viewer-button"};function jq(a,b){hq.call(this,null,b||iq.Ra(),a);this.se=!1;this.nk=null;this.AC=1;this.Sw=null}w(jq,hq);jq.prototype.ta=function(){jq.R.ta.call(this);tp(this.H(),this.Lf(),this.AC,this.Dq||void 0);this.ka().listen(this.H(),"keydown",this.Nf)};jq.prototype.Nf=function(a){if(32==a.keyCode){if("keydown"==a.type)this.Sw=a.target;else if("keyup"==a.type){var b=!0;this.Sw&&this.Sw==a.target&&(b=this.Fp(a));this.Sw=null;return b}return!0}this.Sw&&(this.Sw=null);return jq.R.Nf.call(this,a)};
jq.prototype.mb=function(a,b,c){n(b)?this.Tp(b):this.Tp(a);this.Zp(a);this.se||tp(this.H(),a,this.AC,b,c)};function kq(a,b){a.AC=b;a.se||tp(a.H(),a.Lf(),a.AC,a.Dq||void 0)}jq.prototype.Vp=function(a,b){a?x(za(this.nk))&&(this.nk=this.Lf()||null,this.mb(""),this.H()&&!x(za(b))&&oh(this.H(),b),this.se=!0):x(za(this.nk))||(this.se=!1,this.mb(this.nk||"",this.Dq||void 0),kq(this,this.AC),this.nk=null)};function lq(a){Xi(this,a,null)}w(lq,Vi);lq.prototype.Ya=function(){return ij(this)};lq.prototype.getStatus=function(){return L(this,2)};lq.prototype.getError=function(){return L(this,5)};lq.prototype.kc=function(a){N(this,5,a)};var mq={wt:1,uq:2,sx:3};function nq(a){z.call(this);this.Sb={};this.le=oq(a);this.ema=0}w(nq,z);function pq(a,b,c){var d=qq(a.le,c),f=new lq;N(f,1,1);n(c.vQ)&&N(f,4,c.vQ);cj(d,8,f);rq(a,b);a.Sb[b]=d}function sq(a,b,c){b+=a.ema++;pq(a,b,c);return b}function tq(a,b,c,d){var f=uq(b);N(f,2,c);c=L(b,4);d=d||u();f=uq(b);N(f,3,d-c);vq(a.le,b)}function wq(a,b,c,d){var f=a.Sb[b];c=n(c)?c:1;f&&(tq(a,f,c,d),rq(a,b))}function rq(a,b){a.Sb[b]&&delete a.Sb[b]};function xq(a,b,c){H.call(this);this.fu=null;this.S=a;this.W=b;this.Fg(this.W);this.mO=!1;this.nY=c;this.wa=yq(this.S);this.ha=new K(this);A(this,this.ha)}w(xq,H);
function zq(a,b){var c={};c[Docos.EventType.SELECTED]=t(a.Mu,a,"G");c[Docos.EventType.CREATED]=t(a.Mu,a,"B");c[Docos.EventType.RESOLVED]=t(a.Mu,a,"F");c[Docos.EventType.UNRESOLVED]=t(a.Mu,a,"H");c[Docos.EventType.DELETED]=t(a.Mu,a,"C");c[Docos.EventType.POSTED]=t(a.Mu,a,"E");c[Docos.EventType.INITIAL_SYNC_ERROR]=t(a.Yca,a);c[Docos.EventType.INITIAL_SYNC_SUCCESS]=t(a.Zca,a);c[Docos.EventType.NETWORK_ERROR]=function(){};a.nY[Docos.OptionName.LISTENERS]=c;c="bdc_"+a.W.getId();pq(a.wa,c,{La:95,item:a.W});
a.fu=new b(a.nY);a.fu.renderAnchorSurface()}xq.prototype.Mu=function(a){this.dispatchEvent(new Aq(a));Bq(this)};xq.prototype.Zca=function(){var a="bdc_"+this.W.getId();wq(this.wa,a,1);Bq(this)};xq.prototype.Yca=function(){var a="bdc_"+this.W.getId();wq(this.wa,a,2)};function Bq(a){var b=a.fu.hasVisibleAnchoredDocos();b!=a.mO&&(a.mO=b,a.dispatchEvent("D"))}xq.prototype.ma=function(){rc(this.fu)};function Aq(a){G.call(this,a)}w(Aq,G);var Cq={mV:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},z7:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},
1E14:{other:"000 trillion"}}},Dq=Cq,Dq=Cq;function Eq(a){var b=Fq.B7,c=["0"];a=Gq[a][0]&7;if(0<a){c.push(".");for(var d=0;d<a;d++)c.push("0")}return b.replace(/0.00/g,c.join(""))}
var Gq={AED:[2,"dh","\u062f.\u0625.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,
"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","Php"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var Hq={qV:".",UJ:",",DV:"%",bK:"0",k8:"+",Z7:"-",tV:"E",EV:"\u2030",WJ:"\u221e",c8:"NaN",pV:"#,##0.###",r8:"#E0",h8:"#,##0%",B7:"\u00a4#,##0.00",G7:"USD"},Fq=Hq,Fq=Hq;function Iq(a,b,c){this.eA=b||Fq.G7;this.o$=c||0;this.PG=40;this.Zj=1;this.Pw=0;this.Tr=3;this.WG=this.fn=0;this.J5=this.R6=!1;this.sB=this.ss="";this.qp="-";this.Rv="";this.ej=1;this.Yr=!1;this.ur=[];this.BJ=this.YX=!1;this.Zx=0;this.NW=null;"number"==typeof a?this.nD(a):this.dm(a)}
Iq.prototype.dm=function(a){a.replace(/ /g,"\u00a0");var b=[0];this.ss=Jq(this,a,b);for(var c=b[0],d=-1,f=0,g=0,h=0,k=-1,m=a.length,q=!0;b[0]<m&&q;b[0]++)switch(a.charAt(b[0])){case "#":0<g?h++:f++;0<=k&&0>d&&k++;break;case "0":if(0<h)throw Error('Unexpected "0" in pattern "'+a+'"');g++;0<=k&&0>d&&k++;break;case ",":0<k&&this.ur.push(k);k=0;break;case ".":if(0<=d)throw Error('Multiple decimal separators in pattern "'+a+'"');d=f+g+h;break;case "E":if(this.BJ)throw Error('Multiple exponential symbols in pattern "'+
a+'"');this.BJ=!0;this.WG=0;b[0]+1<m&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.R6=!0);for(;b[0]+1<m&&"0"==a.charAt(b[0]+1);)b[0]++,this.WG++;if(1>f+g||1>this.WG)throw Error('Malformed exponential pattern "'+a+'"');q=!1;break;default:b[0]--,q=!1}0==g&&0<f&&0<=d&&(g=d,0==g&&g++,h=f-g,f=g-1,g=1);if(0>d&&0<h||0<=d&&(d<f||d>f+g)||0==k)throw Error('Malformed pattern "'+a+'"');h=f+g+h;this.Tr=0<=d?h-d:0;0<=d&&(this.fn=f+g-d,0>this.fn&&(this.fn=0));this.Zj=(0<=d?d:h)-f;this.BJ&&(this.PG=f+this.Zj,0==this.Tr&&
0==this.Zj&&(this.Zj=1));this.ur.push(Math.max(0,k));this.YX=0==d||d==h;c=b[0]-c;this.sB=Jq(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.ej&&(this.Yr=!0),this.qp=Jq(this,a,b),b[0]+=c,this.Rv=Jq(this,a,b)):(this.qp=this.ss+this.qp,this.Rv+=this.sB)};
Iq.prototype.nD=function(a){switch(a){case 1:this.dm(Fq.pV);break;case 2:this.dm(Fq.r8);break;case 3:this.dm(Fq.h8);break;case 4:this.dm(Eq(this.eA));break;case 5:Kq(this,1);break;case 6:Kq(this,2);break;default:throw Error("Unsupported pattern type.");}};function Kq(a,b){a.Zx=b;a.dm(Fq.pV);a.fn=0;a.Tr=2;if(0<a.fn)throw Error("Can't combine significant digits and minimum fraction digits");a.Pw=2}
Iq.prototype.parse=function(a,b){var c=b||[0];if(0!=this.Zx)throw Error("Parsing of compact numbers is unimplemented");var d;a=a.replace(/ /g,"\u00a0");var f=a.indexOf(this.ss,c[0])==c[0],g=a.indexOf(this.qp,c[0])==c[0];f&&g&&(this.ss.length>this.qp.length?g=!1:this.ss.length<this.qp.length&&(f=!1));f?c[0]+=this.ss.length:g&&(c[0]+=this.qp.length);if(a.indexOf(Fq.WJ,c[0])==c[0])c[0]+=Fq.WJ.length,d=Infinity;else{d=a;var h=!1,k=!1,m=!1,q=1,v=Fq.qV,B=Fq.UJ,F=Fq.tV;if(0!=this.Zx)throw Error("Parsing of compact style numbers is not implemented");
for(var M="";c[0]<d.length;c[0]++){var O=d.charAt(c[0]),Ya=Lq(O);if(0<=Ya&&9>=Ya)M+=Ya,m=!0;else if(O==v.charAt(0)){if(h||k)break;M+=".";h=!0}else if(O==B.charAt(0)&&("\u00a0"!=B.charAt(0)||c[0]+1<d.length&&0<=Lq(d.charAt(c[0]+1)))){if(h||k)break}else if(O==F.charAt(0)){if(k)break;M+="E";k=!0}else if("+"==O||"-"==O)M+=O;else if(1==this.ej&&O==Fq.DV.charAt(0)){if(1!=q)break;q=100;if(m){c[0]++;break}}else if(1==this.ej&&O==Fq.EV.charAt(0)){if(1!=q)break;q=1E3;if(m){c[0]++;break}}else break}1!=this.ej&&
(q=this.ej);d=parseFloat(M)/q}if(f){if(a.indexOf(this.sB,c[0])!=c[0])return NaN;c[0]+=this.sB.length}else if(g){if(a.indexOf(this.Rv,c[0])!=c[0])return NaN;c[0]+=this.Rv.length}return g?-d:d};
Iq.prototype.format=function(a){if(isNaN(a))return Fq.c8;var b=[],c;c=null===this.NW?a:this.NW;if(0==this.Zx)c=Mq;else{c=Math.abs(c);var d=Nq(this,1>=c?0:Oq(c)).PL;c=Nq(this,d+Oq(Pq(this,c/Math.pow(10,d)).b1))}a/=Math.pow(10,c.PL);b.push(c.prefix);d=0>a||0==a&&0>1/a;b.push(d?this.qp:this.ss);if(isFinite(a))if(a=a*(d?-1:1)*this.ej,this.BJ)if(0==a)Qq(this,a,this.Zj,b),Rq(this,0,b);else{var f=Math.floor(Math.log(a)/Math.log(10)+2E-15);a/=Math.pow(10,f);var g=this.Zj;if(1<this.PG&&this.PG>this.Zj){for(;0!=
f%this.PG;)a*=10,f--;g=1}else 1>this.Zj?(f++,a/=10):(f-=this.Zj-1,a*=Math.pow(10,this.Zj-1));Qq(this,a,g,b);Rq(this,f,b)}else Qq(this,a,this.Zj,b);else b.push(Fq.WJ);b.push(d?this.Rv:this.sB);b.push(c.b6);return b.join("")};
function Pq(a,b){var c=Math.pow(10,a.Tr),d;if(0>=a.Pw)d=Math.round(b*c);else{d=b*c;var f=a.Tr;if(d){var g=a.Pw-Oq(d)-1;g<-f?(f=Math.pow(10,f),d=Math.round(d/f)*f):(f=Math.pow(10,g),d=Math.round(d*f)/f)}d=Math.round(d)}f=d;isFinite(f)?(d=Math.floor(f/c),c=Math.floor(f-d*c)):(d=b,c=0);return{b1:d,Kaa:c}}
function Qq(a,b,c,d){if(a.fn>a.Tr)throw Error("Min value must be less than max value");d||(d=[]);b=Pq(a,b);var f=Math.pow(10,a.Tr),g=b.b1,h=b.Kaa,k=0==g?0:Oq(g)+1,m=0<a.fn||0<h||a.J5&&k<a.Pw;b=a.fn;m&&(b=a.J5&&0<a.Pw?a.Pw-k:a.fn);for(var q="",k=g;1E20<k;)q="0"+q,k=Math.round(k/10);var q=k+q,v=Fq.qV,k=Fq.bK.charCodeAt(0),B=q.length,F=0;if(0<g||0<c){for(g=B;g<c;g++)d.push(String.fromCharCode(k));if(2<=a.ur.length)for(c=1;c<a.ur.length;c++)F+=a.ur[c];c=B-F;if(0<c)for(var g=a.ur,F=B=0,M,O=Fq.UJ,Ya=q.length,
Wd=0;Wd<Ya;Wd++){if(d.push(String.fromCharCode(k+1*Number(q.charAt(Wd)))),1<Ya-Wd)if(M=g[F],Wd<c){var vs=c-Wd;(1===M||0<M&&1===vs%M)&&d.push(O)}else F<g.length&&(Wd===c?F+=1:M===Wd-c-B+1&&(d.push(O),B+=M,F+=1))}else{c=q;q=a.ur;g=Fq.UJ;M=c.length;O=[];for(B=q.length-1;0<=B&&0<M;B--){F=q[B];for(Ya=0;Ya<F&&0<=M-Ya-1;Ya++)O.push(String.fromCharCode(k+1*Number(c.charAt(M-Ya-1))));M-=F;0<M&&O.push(g)}d.push.apply(d,O.reverse())}}else m||d.push(String.fromCharCode(k));(a.YX||m)&&d.push(v);a=""+(h+f);for(f=
a.length;"0"==a.charAt(f-1)&&f>b+1;)f--;for(g=1;g<f;g++)d.push(String.fromCharCode(k+1*Number(a.charAt(g))))}function Rq(a,b,c){c.push(Fq.tV);0>b?(b=-b,c.push(Fq.Z7)):a.R6&&c.push(Fq.k8);b=""+b;for(var d=Fq.bK,f=b.length;f<a.WG;f++)c.push(d);c.push(b)}function Lq(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=Fq.bK.charCodeAt(0);return b<=a&&a<b+10?a-b:-1}
function Jq(a,b,c){for(var d="",f=!1,g=b.length;c[0]<g;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<g&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):f=!f;else if(f)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":if(c[0]+1<g&&"\u00a4"==b.charAt(c[0]+1))c[0]++,d+=a.eA;else switch(a.o$){case 0:d+=Gq[a.eA][1];break;case 2:var h=a.eA,k=Gq[h],d=d+(h==k[1]?h:h+" "+k[1]);break;case 1:d+=Gq[a.eA][2]}break;case "%":if(!a.Yr&&1!=a.ej)throw Error("Too many percent/permill");if(a.Yr&&
100!=a.ej)throw Error("Inconsistent use of percent/permill characters");a.ej=100;a.Yr=!1;d+=Fq.DV;break;case "\u2030":if(!a.Yr&&1!=a.ej)throw Error("Too many percent/permill");if(a.Yr&&1E3!=a.ej)throw Error("Inconsistent use of percent/permill characters");a.ej=1E3;a.Yr=!1;d+=Fq.EV;break;default:d+=h}}return d}var Mq={prefix:"",b6:"",PL:0};
function Nq(a,b){var c=1==a.Zx?Dq.mV:Dq.z7;null==c&&(c=Dq.mV);if(3>b)return Mq;b=Math.min(14,b);for(var d=c[Math.pow(10,b)],f=b-1;!d&&3<=f;)d=c[Math.pow(10,f)],f--;if(!d)return Mq;c=d.other;return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],b6:c[3],PL:f+1-(c[2].length-1)}:Mq:Mq}function Oq(a){for(var b=0;1<=(a/=10);)b++;return b};function Sq(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"}var Tq=Sq,Tq=Sq;function Uq(a,b){var c;if(void 0===b){c=a+"";var d=c.indexOf(".");c=Math.min(-1==d?0:c.length-d-1,3)}else c=b;return 1==(a|0)&&0==c?"one":"other"}var Vq=Uq,Vq=Uq;function Wq(a){this.bn=[];this.bR=[];this.xQ=new Iq(1);a&&(a=Xq(this,a),this.bR=Yq(this,a))}var Zq=RegExp("'([{}#].*?)'","g"),$q=RegExp("''","g");Wq.prototype.format=function(a){return ar(this,a,!1)};function br(a,b){return ar(a,b,!0)}function ar(a,b,c){if(0==a.bR.length)return"";var d=[];cr(a,a.bR,b,c,d);for(b=d.join("");0<a.bn.length;)b=b.replace(a.FK(a.bn),a.bn.pop());return b}
function cr(a,b,c,d,f){for(var g=0;g<b.length;g++)switch(b[g].type){case 4:f.push(b[g].value);break;case 3:var h=b[g].value,k=a,m=f,q=c[h];n(q)?(k.bn.push(q),m.push(k.FK(k.bn))):m.push("Undefined parameter - "+h);break;case 2:h=b[g].value;k=f;m=h.oD;n(c[m])?(m=h[c[m]],n(m)||(m=h.other),cr(a,m,c,d,k)):k.push("Undefined parameter - "+m);break;case 0:h=b[g].value;dr(a,h,c,Vq,d,f);break;case 1:h=b[g].value,dr(a,h,c,Tq,d,f)}}
function dr(a,b,c,d,f,g){var h=b.oD,k=b.vW,m=+c[h];isNaN(m)?g.push("Undefined or invalid parameter - "+h):(k=m-k,h=b[c[h]],n(h)||(d=a.xQ.Taa?d(k,a.xQ.Taa()):d(k),h=b[d],n(h)||(h=b.other)),b=[],cr(a,h,c,f,b),c=b.join(""),f?g.push(c):(a=a.xQ.format(k),g.push(c.replace(/#/g,a))))}function Xq(a,b){var c=a.bn,d=t(a.FK,a);b=b.replace($q,function(){c.push("'");return d(c)});return b=b.replace(Zq,function(a,b){c.push(b);return d(c)})}
function er(a){var b=0,c=[],d=[],f=/[{}]/g;f.lastIndex=0;for(var g;g=f.exec(a);){var h=g.index;"}"==g[0]?(c.pop(),0==c.length&&(g={type:1},g.value=a.substring(b,h),d.push(g),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d}var fr=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,gr=/^\s*(\w+)\s*,\s*selectordinal\s*,/,hr=/^\s*(\w+)\s*,\s*select\s*,/;
function Yq(a,b){for(var c=[],d=er(b),f=0;f<d.length;f++){var g={};if(0==d[f].type)g.type=4,g.value=d[f].value;else if(1==d[f].type){var h=d[f].value;switch(fr.test(h)?0:gr.test(h)?1:hr.test(h)?2:/^\s*\w+\s*/.test(h)?3:5){case 2:g.type=2;g.value=ir(a,d[f].value);break;case 0:g.type=0;g.value=jr(a,d[f].value);break;case 1:g.type=1;g.value=kr(a,d[f].value);break;case 3:g.type=3,g.value=d[f].value}}c.push(g)}return c}
function ir(a,b){var c="";b=b.replace(hr,function(a,b){c=b;return""});var d={};d.oD=c;for(var f=er(b),g=0;g<f.length;){var h=f[g].value;g++;if(1==f[g].type)var k=Yq(a,f[g].value);d[h.replace(/\s/g,"")]=k;g++}return d}function jr(a,b){var c="",d=0;b=b.replace(fr,function(a,b,f){c=b;f&&(d=parseInt(f,10));return""});var f={};f.oD=c;f.vW=d;for(var g=er(b),h=0;h<g.length;){var k=g[h].value;h++;if(1==g[h].type)var m=Yq(a,g[h].value);f[k.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=m;h++}return f}
function kr(a,b){var c="";b=b.replace(gr,function(a,b){c=b;return""});var d={};d.oD=c;d.vW=0;for(var f=er(b),g=0;g<f.length;){var h=f[g].value;g++;if(1==f[g].type)var k=Yq(a,f[g].value);d[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;g++}return d}Wq.prototype.FK=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var lr=new Iq(1);function mr(a,b){return lr.format(a)+(" of "+lr.format(b))}function nr(a){return(new Wq("{NUM_ITEMS, plural, =0 {No items}=1 {1 item}other {# items}}")).format({NUM_ITEMS:a})}function or(a,b){return lr.format(a)+(" of "+(lr.format(b)+" items"))}function pr(a,b){return a+(" (edited "+(b+")"))}function qr(a,b){return b?"Play YouTube video "+a:"Play "+a}function rr(a,b){return b?"Sign in as "+a:"Sign In"};function sr(a,b,c){var d=a.U().$c();if(nn(d,"drive-viewer-slider"))return 0;var f=c.identifier.split(","),g=gb(Eo(f[0])),f=gb(f[1]);switch(g){case 33:a=-Zn(b).height;break;case 34:a=Zn(b).height;break;case 38:a=-40;break;case 40:a=40;break;case 36:a=-b.scrollTop;break;case 35:a=b.scrollHeight;break;case 32:if(!b.contains(d)&&!tr(ur(a)))return 0;a=Zn(b).height;1==f&&(a=-a);break;default:throw Error("Scroll key registered but behaviour not defined");}b.scrollTop+=a;c.preventDefault();return a}
function vr(a,b,c,d){var f=Zn(b),g=b.getBoundingClientRect(),h=c.clientX-g.left;c=c.clientY-g.top;g=d||0;d=f.width*g;g*=f.height;a=fo(b)?h<=wr(xr(a))+d:h>=b.clientWidth-d;return b.scrollHeight!=f.height&&c>=b.clientHeight-g||a};function yr(a,b){this.faa=a;this.Xfa=b}yr.prototype.vZ=function(){return this.faa};yr.prototype.Yh=function(){return this.Xfa};function Y(a){Cp.call(this,a.U());this.S=a}w(Y,Cp);Y.prototype.getContext=function(){return this.S};function zr(a){Y.call(this,a)}w(zr,Y);zr.prototype.mz=function(){return this.zd().width};zr.prototype.zd=function(){return Ar(this.getContext()).Pc()};function Br(a,b){return a.Pj(new D(b,0)).x}zr.prototype.Pj=function(a){var b=Ar(this.getContext()).Pc(),c=xr(this.getContext()).hf(),d=(b.width-a.width)/2;return new C(c.left+(0>d?0:d),c.top+(b.height-a.height)/2)};function Cr(a,b){Y.call(this,b);this.gm=a;this.QH=this.XO=this.kb=!1;this.Ji=this.km=this.xB=null;this.Ud=new Sf(this);A(this,this.Ud);this.ka().listen(this.gm,gm.WC,this.zr);this.vk=null}w(Cr,zr);e=Cr.prototype;e.Tb=function(){this.kb=!0;Dr(this);Er(this.getContext().get(Fr),2,this.gm);var a;a=this.gm;a.xD?(a.pE||(a.pE=Sg(),a.pE.resolve(a.xD.fetch())),a=a.pE.uf):a=null;a&&!this.Ji&&a.then(this.$fa,void 0,this)};
e.zd=function(){var a=Cr.R.zd.call(this);if(Gr(this.getContext()).zX&&Hr(this)){var b=xr(this.getContext());a.width-=2*b.yX;a.width-=248;a.width=Math.max(0,a.width)}return a};function Hr(a){var b;if(b=!!a.Ji)a=a.Ji,a.fu&&a.fu.hasVisibleAnchoredDocos(),b=a.mO;return b}e.Pj=function(a,b){var c=Cr.R.Pj.call(this,a,b);if(Gr(this.getContext()).zX&&Hr(this)){var d=xr(this.getContext()),d=d.hf().left+d.yX;c.x=Math.max(d,c.x);var f=d+this.zd().width;c.x+a.width>f&&(c.x=Math.max(d,f-a.width))}return c};
function Ir(a){a.XO||(a.XO=!0,Er(a.getContext().get(Fr),3,a.gm))}
function Dr(a){var b=Z(a.getContext());if(Jr(b)&&a.gm.getId()==b.Ea().getId()&&Kr(a.getContext().qa())){var c=a.gG(),d=hm(a.gm.pb),b=c&&a.kb&&a.QH&&!d,f=Lr(a.getContext()).us;f.setEnabled(b);f.setVisible(c);c&&(c="Print",b||(c=a.gm.getState(),c=d?"Printing is disabled for this file":c==V.ERROR?"Printing unavailable":"Printing not yet available"),f.setProperty("hint",c));d=Mr(a.getContext());b?null===a.xB&&(a.Ud.xk(f,Hf,a.xea),a.xB=Nr(d,[80,Nd?Do.Qn:Do.Pn],a.yea,a)):(a.Ud.removeAll(),null!==a.xB&&
(Or(d,a.xB),a.xB=null))}}e.yea=function(a){this.QH&&this.kb&&Kr(this.getContext().qa())&&!hm(this.gm.pb)&&(a.preventDefault(),Pf(Lr(this.getContext()).us,void 0,new yr(1)))};e.Oc=function(){this.kb=!1;this.Ud.removeAll()};e.layout=p;e.uc=function(){return this.kb};e.Ps=function(a){this.QH!=a&&(this.QH=a,Dr(this))};e.gG=function(){return!1};e.zr=function(){Dr(this)};e.xea=function(){this.kb&&Kr(this.getContext().qa())&&this.DH()};e.DH=p;
function Pr(a,b){var c=Mr(a.getContext());Nr(c,34,t(a.jl,a,b),a);Nr(c,33,t(a.jl,a,b),a);Nr(c,40,t(a.jl,a,b),a);Nr(c,38,t(a.jl,a,b),a);Nr(c,36,t(a.jl,a,b),a);Nr(c,35,t(a.jl,a,b),a);Nr(c,32,t(a.jl,a,b),a);Nr(c,[32,Do.wq],t(a.jl,a,b),a);3==a.getContext().qa().vc()&&a.ka().listen(b,"mousemove",t(a.Qo,a,b))}e.jl=function(a,b){var c=sr(this.getContext(),a,b);0!=c&&this.n3(c)};e.n3=p;e.Qo=function(a,b){var c=vr(this.getContext(),a,b,.15);rn(a,"drive-viewer-scrollable-highlight",c)};e.oF=function(){return this.H()};
function Qr(a,b){J(a.km);a.km=I(function(){this.uc()&&this.Xa&&(W(this.oF(),"drive-viewer-layout-transition"),b&&this.layout())},100,a)}function Rr(a){J(a.km);pn(a.oF(),"drive-viewer-layout-transition")}e.Db=function(){Cr.R.Db.call(this);J(this.km)};
e.$fa=function(a){var b=this.U(),c=b.ra("DIV","drive-viewer-docos-stream");b.appendChild(this.H(),c);b={};b[Docos.OptionName.ANCHOR_DIV]=c;b[Docos.OptionName.QUOTE_FN]=t(this.bka,this);this.Ji=new xq(this.getContext(),this.gm,b);this.ka().listen(this.Ji,"B",this.$ba).listen(this.Ji,"G",this.dca).listen(this.Ji,"E",this.bca).listen(this.Ji,"F",this.cca).listen(this.Ji,"H",this.eca).listen(this.Ji,"C",this.aca).listen(this.Ji,"D",this.Tca);zq(this.Ji,a)};e.Tca=function(){this.uc()&&this.layout()};
e.bka=function(){return null};e.$ba=p;e.bca=p;e.dca=p;e.cca=p;e.eca=p;e.aca=p;function Sr(a){this.pD=a}da(Sr);e=Sr.prototype;e.ng=function(){return this.pD};function Tr(a,b){a&&(a.tabIndex=b?0:-1)}e.ra=function(a){return a.U().ra("DIV",this.Dm(a).join(" "))};e.Vb=function(a){return a};e.Ef=function(a){return"DIV"==a.tagName};e.Na=function(a,b){b.id&&a.Wp(b.id);var c=this.Ma(),d=!1,f=mn(b);f&&y(f,function(b){b==c?d=!0:b&&this.sT(a,b,c)},this);d||W(b,c);Ur(this,a,this.Vb(b));return b};
e.sT=function(a,b,c){b==c+"-disabled"?a.setEnabled(!1):b==c+"-horizontal"?a.setOrientation("horizontal"):b==c+"-vertical"&&a.setOrientation("vertical")};function Ur(a,b,c){if(c)for(var d=c.firstChild,f;d&&d.parentNode==c;){f=d.nextSibling;if(1==d.nodeType){var g=a.NM(d);g&&(g.$=d,b.isEnabled()||g.setEnabled(!1),b.Aa(g),g.Na(d))}else d.nodeValue&&""!=Ba(d.nodeValue)||c.removeChild(d);d=f}}
e.NM=function(a){a:{var b;a=mn(a);for(var c=0,d=a.length;c<d;c++)if(b=a[c],b=b in Up?Up[b]():null){a=b;break a}a=null}return a};e.ev=function(a){a=a.H();ho(a,!0,Kd);E&&(a.hideFocus=!0);var b=this.ng();b&&jh(a,b)};e.ke=function(a){return a.H()};e.Ma=function(){return"goog-container"};e.Dm=function(a){var b=this.Ma(),c=[b,"horizontal"==a.Cd?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return c};function Vr(a,b,c){Cp.call(this,c);this.Za=b||Sr.Ra();this.Cd=a||"vertical"}w(Vr,Cp);e=Vr.prototype;e.oP=null;e.Gc=null;e.Za=null;e.Cd=null;e.ld=!0;e.Yb=!0;e.vM=!0;e.ue=-1;e.we=null;e.hn=!1;e.d9=!1;e.gja=!0;e.jm=null;e.ke=function(){return this.oP||this.Za.ke(this)};e.bF=function(){return this.Gc||(this.Gc=new up(this.ke()))};e.ra=function(){this.$=this.Za.ra(this)};e.Vb=function(){return this.Za.Vb(this.H())};e.Ef=function(a){return this.Za.Ef(a)};
e.dc=function(a){this.$=this.Za.Na(this,a);"none"==a.style.display&&(this.ld=!1)};
e.ta=function(){Vr.R.ta.call(this);this.Lj(function(a){a.Xa&&Wr(this,a)},this);var a=this.H();this.Za.ev(this);this.setVisible(this.ld,!0);this.ka().listen(this,"enter",this.wN).listen(this,"highlight",this.EN).listen(this,"unhighlight",this.dO).listen(this,"open",this.Sda).listen(this,"close",this.pN).listen(a,"mousedown",this.hh).listen(je(a),"mouseup",this.ica).listen(a,["mousedown","mouseup","mouseover","mouseout","contextmenu"],this.Bba);this.Xm()&&Xr(this,!0)};
function Xr(a,b){var c=a.ka(),d=a.ke();b?c.listen(d,"focus",a.$h).listen(d,"blur",a.Im).listen(a.bF(),"key",a.Mf):c.ab(d,"focus",a.$h).ab(d,"blur",a.Im).ab(a.bF(),"key",a.Mf)}e.Db=function(){this.Os(-1);this.we&&this.we.ye(!1);this.hn=!1;Vr.R.Db.call(this)};e.ma=function(){Vr.R.ma.call(this);this.Gc&&(this.Gc.dispose(),this.Gc=null);this.Za=this.we=this.jm=this.oP=null};e.wN=function(){return!0};
e.EN=function(a){var b=Hp(this,a.target);if(-1<b&&b!=this.ue){var c=Yr(this);c&&c.yi(!1);this.ue=b;c=Yr(this);this.hn&&c.setActive(!0);this.gja&&this.we&&c!=this.we&&(Pp(c,64)?c.ye(!0):this.we.ye(!1))}b=this.H();null!=a.target.H()&&kh(b,"activedescendant",a.target.H().id)};e.dO=function(a){a.target==Yr(this)&&(this.ue=-1);this.H().removeAttribute("aria-activedescendant")};e.Sda=function(a){(a=a.target)&&a!=this.we&&a.getParent()==this&&(this.we&&this.we.ye(!1),this.we=a)};
e.pN=function(a){a.target==this.we&&(this.we=null);var b=this.H(),c=a.target.H();b&&Qp(a.target,2)&&c&&nh(b,c)};e.hh=function(a){this.Yb&&(this.hn=!0);var b=this.ke();b&&Pe(b)?b.focus():a.preventDefault()};e.ica=function(){this.hn=!1};
e.Bba=function(a){var b;a:{b=a.target;if(this.jm)for(var c=this.H();b&&b!==c;){var d=b.id;if(d in this.jm){b=this.jm[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.hh(a);break;case "mouseup":b.gl(a);break;case "mouseover":b.Pu(a);break;case "mouseout":b.NN(a);break;case "contextmenu":b.Az(a)}};e.$h=function(){};e.Im=function(){this.Os(-1);this.hn=!1;this.we&&this.we.ye(!1)};
e.Mf=function(a){return this.isEnabled()&&this.Ca()&&(0!=this.qg()||this.oP)&&this.Nf(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
e.Nf=function(a){var b=Yr(this);if(b&&"function"==typeof b.Mf&&b.Mf(a)||this.we&&this.we!=b&&"function"==typeof this.we.Mf&&this.we.Mf(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.Xm())this.ke().blur();else return!1;break;case 36:Zr(this);break;case 35:$r(this);break;case 38:if("vertical"==this.Cd)as(this);else return!1;break;case 37:if("horizontal"==this.Cd)this.nf()?bs(this):as(this);else return!1;break;case 40:if("vertical"==this.Cd)bs(this);
else return!1;break;case 39:if("horizontal"==this.Cd)this.nf()?as(this):bs(this);else return!1;break;default:return!1}return!0};function Wr(a,b){var c=b.H(),c=c.id||(c.id=b.getId());a.jm||(a.jm={});a.jm[c]=b}e.Aa=function(a,b){Vr.R.Aa.call(this,a,b)};
e.Hi=function(a,b,c){a.Ys|=2;a.Ys|=64;!this.Xm()&&this.d9||a.ze(32,!1);Xp(a,!1);var d=a.getParent()==this?Hp(this,a):-1;Vr.R.Hi.call(this,a,b,c);a.Xa&&this.Xa&&Wr(this,a);a=d;-1==a&&(a=this.qg());a==this.ue?this.ue=Math.min(this.qg()-1,b):a>this.ue&&b<=this.ue?this.ue++:a<this.ue&&b>this.ue&&this.ue--};
e.removeChild=function(a,b){if(a=r(a)?Fp(this,a):a){var c=Hp(this,a);-1!=c&&(c==this.ue?(a.yi(!1),this.ue=-1):c<this.ue&&this.ue--);(c=a.H())&&c.id&&this.jm&&Xb(this.jm,c.id)}a=Vr.R.removeChild.call(this,a,b);Xp(a,!0);return a};e.setOrientation=function(a){if(this.H())throw Error("Component already rendered");this.Cd=a};e.Ca=function(){return this.ld};
e.setVisible=function(a,b){if(b||this.ld!=a&&this.dispatchEvent(a?"show":"hide")){this.ld=a;var c=this.H();c&&(X(c,a),this.Xm()&&Tr(this.ke(),this.Yb&&this.ld),b||this.dispatchEvent(this.ld?"aftershow":"afterhide"));return!0}return!1};e.isEnabled=function(){return this.Yb};
e.setEnabled=function(a){this.Yb!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.Yb=!0,this.Lj(function(a){a.h7?delete a.h7:a.setEnabled(!0)})):(this.Lj(function(a){a.isEnabled()?a.setEnabled(!1):a.h7=!0}),this.hn=this.Yb=!1),this.Xm()&&Tr(this.ke(),a&&this.ld))};e.Xm=function(){return this.vM};e.Nl=function(a){a!=this.vM&&this.Xa&&Xr(this,a);this.vM=a;this.Yb&&this.ld&&Tr(this.ke(),a)};e.Os=function(a){(a=this.og(a))?a.yi(!0):-1<this.ue&&Yr(this).yi(!1)};e.yi=function(a){this.Os(Hp(this,a))};
function Yr(a){return a.og(a.ue)}function Zr(a){cs(a,function(a,c){return(a+1)%c},a.qg()-1)}function $r(a){cs(a,function(a,c){a--;return 0>a?c-1:a},0)}function bs(a){cs(a,function(a,c){return(a+1)%c},a.ue)}function as(a){cs(a,function(a,c){a--;return 0>a?c-1:a},a.ue)}function cs(a,b,c){c=0>c?Hp(a,a.we):c;var d=a.qg();c=b.call(a,c,d);for(var f=0;f<=d;){var g=a.og(c);if(g&&a.ZW(g)){a.yS(c);break}f++;c=b.call(a,c,d)}}e.ZW=function(a){return a.Ca()&&a.isEnabled()&&Pp(a,2)};e.yS=function(a){this.Os(a)};function ds(a){Vr.call(this,void 0,es.Ra(),a.U());this.S=a;this.kb=!1}w(ds,Vr);var fs=[34,33,40,38,36,35,32,[32,1]];e=ds.prototype;e.ta=function(){ds.R.ta.call(this);W(this.H(),"drive-viewer-scrollable")};e.Tb=function(){if(!this.kb){this.kb=!0;var a=Mr(this.S);y(fs,function(b){Nr(a,b,this.jl,this)},this)}};e.Oc=function(){this.kb=!1;gs(Mr(this.S))};e.Mf=function(a){return tb(fs,a.keyCode)||27==a.keyCode?!1:ds.R.Mf.call(this,a)};e.$h=function(){Zr(this)};
e.jl=function(a){var b=!1,c=this.H(),d;if((d=Io(a.identifier))&&0<d.length){var f=d[0];d={ctrlKey:f.gn&Do.Pn,altKey:f.gn&Do.lV,shiftKey:f.gn&Do.wq,metaKey:f.gn&Do.Qn};f=new zp(gb(f.keyCode),0,!1,new Event(a.type));cc(f,d);d=f}else d=null;d&&32!=d.keyCode&&(b=this.Nf(d))&&(Sn(Yr(this).H(),c),a.preventDefault(),a.stopPropagation(),ur(this.S).focus(this.H()));b||sr(this.S,c,a)};function hs(){}w(hs,iq);da(hs);hs.prototype.ng=function(){return"option"};function is(){}w(is,Ip);da(is);is.prototype.Ma=function(){return"drive-viewer-control"};
is.prototype.ng=function(){return"option"};function es(){this.pD="listbox"}w(es,Sr);da(es);es.prototype.Ma=function(){return"drive-viewer-listbox-container"};var js={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"};function ks(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(ls.test(c)){a=c;if(!ls.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(ms,"#$1$1$2$2$3$3"));b.EF=a.toLowerCase();b.type="hex";return b}c=ns(a);if(c.length){var d=c[0];a=c[1];c=c[2];d=Number(d);a=Number(a);c=Number(c);if(d!=(d&255)||a!=(a&255)||c!=(c&255))throw Error('"('+d+","+a+","+c+'") is not a valid RGB color');d=os(d.toString(16));a=os(a.toString(16));c=os(c.toString(16));b.EF="#"+d+a+c;b.type=
"rgb";return b}if(js&&(c=js[a.toLowerCase()]))return b.EF=c,b.type="named",b;throw Error(a+" is not a valid color string");}function ps(a){return!!(ls.test("#"==a.charAt(0)?a:"#"+a)||ns(a).length||js&&js[a.toLowerCase()])}var ms=/#(.)(.)(.)/,ls=/^#(?:[0-9a-f]{3}){1,2}$/i,qs=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;
function ns(a){var b=a.match(qs);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]}function os(a){return 1==a.length?"0"+a:a};function rs(a,b){var c;if(E||Di){var d=b.createElement("DIV");Bn(d,"color","rgb(30, 40, 50)");b.Ba.body.appendChild(d);c=Fn(d,"color");b.Ba.body.removeChild(d);ps("rgb(30, 40, 50)")&&ps(c)?(d=ks("rgb(30, 40, 50)"),c=ks(c),c=d.EF==c.EF):c=!1;c=!c}else c=!1;if(c)for(c=fa(a)?a:[a],d=0;d<c.length;d++)c[d]&&W(c[d],"drive-viewer-hcmode")};function ss(){var a;a=""+('<div class="drive-viewer-archive drive-viewer-itemview"><div class="drive-viewer-archive-header"><div class="drive-viewer-archive-back-icon drive-viewer-icon"></div><div class="drive-viewer-archive-gradient"></div></div><div class="drive-viewer-archive-content drive-viewer-archive-scrollable drive-viewer-scrollable drive-viewer-scrollable-dark drive-viewer-focus-to-default" aria-label="'+ul("Archived content list")+'"></div></div>');return U(a)}
function ts(a){return U('<div class="drive-viewer-archive-row"><div class="drive-viewer-archive-title">'+T(a.title)+'</div><div class="drive-viewer-archive-count"></div></div>')}function us(a){return U('<div class="drive-viewer-archive-row" tabindex="-1"><div class="drive-viewer-archive-row-icon"></div><div class="drive-viewer-archive-row-name" tabindex="-1">'+T(a.name)+"</div></div>")};function ws(a,b){Cr.call(this,a,b);var c=this.U();this.W=a;this.nO=this.Bb=null;this.Lt=new jq(c);this.Aa(this.Lt);this.fy=null;this.Av=new ds(b);this.Aa(this.Av);this.aU=30;this.ka().listen(this.W,gm.BV,this.PN)}w(ws,Cr);var xs={v7:"drive-viewer-archive-back-icon",RJ:"drive-viewer-archive-content",A7:"drive-viewer-archive-count",Rna:"drive-viewer-archive-gradient",P7:"drive-viewer-archive-header",n8:"drive-viewer-archive-row",Jpa:"drive-viewer-archive-row-icon",M8:"drive-viewer-archive-title"};
e=ws.prototype;e.ra=function(){this.$=S(ss,void 0,void 0,this.U())};e.ta=function(){ws.R.ta.call(this);this.Bb=this.ua(xs.RJ);this.nO=this.ua(xs.P7);this.Lt.Na(this.ua(xs.v7));this.Av.Na(this.Bb);rs(this.Lt.H(),this.U());this.ka().listen(this.Bb,"scroll",this.Lz).listen(this.Lt,"action",this.Y_);this.W.Ai?ys(this,this.W.Ai):this.ka().listen(this.W,Jm.t7,this.qba)};e.Tb=function(){ws.R.Tb.call(this);this.Av.Tb();this.W.Ai&&Qr(this);Nr(Mr(this.getContext()),8,this.Y_,this)};
e.Oc=function(){ws.R.Oc.call(this);this.Av.Oc();Rr(this)};e.layout=function(){var a=xr(this.getContext()),b=this.zd(),c=this.H(),d=b.width;2!=zs(this.getContext().qa())&&(d*=.5);var f=Rn(c);Wn(c,d,b.height-f.top-f.bottom);b=20;this.Bb.scrollHeight>this.Bb.clientHeight&&(b-=wr(a));var g=fo(this.Bb)?"margin-left":"margin-right";Bn(this.Bb,g,b+"px");As(this);b=Zn(c.firstChild).height;In(this.Bb,0,b);this.ua("drive-viewer-archive-gradient").style.top=b+"px";d=Br(this,d+f.left+f.right);In(c,d,a.hf().top)};
e.Lz=function(){As(this)};function As(a){var b=a.ua("drive-viewer-archive-gradient");bo(b,Math.min(a.Bb.scrollTop/12,1))}e.PN=function(){this.Xa&&this.W.Ai&&Bs(this,this.fy||this.W.Ai)};e.qba=function(){ys(this,this.W.Ai);Qr(this)};
function ys(a,b){var c=a.U();sc(a.Av.fe(!0));Bs(a,b);for(var d=Cs(a,b,a.aU+1),f=0;f<d.length;f++){var g=d[f].Ga(),h=f==a.aU?"...":g.name||"Unknown",k=f!=a.aU;g.ZF?(g=new Ds(c,h,k?cn("application/vnd.google-apps.folder"):void 0),a.ka().listen(g,"action",t(a.Oca,a,d[f]))):g=new Es(c,h,k?cn(g.LA||"Unknown"):void 0);h=S(us,{name:h},void 0,c);g.dc(h);a.Av.Aa(g,!0)}a.layout()}
function Bs(a,b){var c=a.U();c.removeNode(c.ua(xs.n8,a.nO));var d=b.Ga().name||a.W.getName(),f=S(ts,{title:d},void 0,c);$e(a.nO,f,0);f=a.ua(xs.M8);tp(f,d,void 0,void 0,!0);a.Lt.setVisible(!!b.getParent());(d=b.getParent())&&a.Lt.mb("Go back to "+(d.Ga().name+" Folder."));d=b.qg();f=a.ua(xs.A7);c.Uf(f,nr(d))}e.Y_=function(a){this.fy&&this.fy.getParent()&&(Fs(oq(this.getContext()),{La:74,$a:Lo(a),item:this.W}),Gs(this,this.fy.getParent()))};
e.Oca=function(a,b){Ir(this);Fs(oq(this.getContext()),{La:73,$a:Lo(b),item:this.W});Gs(this,a)};function Gs(a,b){ys(a,b);a.fy=b;a.Bb.scrollTop=0;ur(a.getContext()).focus(a.Bb)}function Cs(a,b,c){var d=[];b.Lj(function(a){d.push(a)});Gb(d,t(ws.prototype.a$,a));c=Math.min(c,d.length);return Cb(d,0,c)}e.a$=function(a,b){var c=a.Ga(),d=b.Ga();if(c.ZF){if(!d.ZF)return-1}else if(d.ZF)return 1;return Da(c.name||"Unknown",d.name||"Unknown")};
function Ds(a,b,c){jq.call(this,a,hs.Ra());this.Lb=b;this.vg=c}w(Ds,jq);Ds.prototype.ta=function(){Ds.R.ta.call(this);tp(this.H(),this.Lb,void 0,this.Lb+" Folder Button",!0);this.vg&&co(this.ua("drive-viewer-archive-row-icon"),this.vg)};function Es(a,b,c){Wp.call(this,null,is.Ra(),a);this.Lb=b;this.vg=c}w(Es,Wp);Es.prototype.ta=function(){Es.R.ta.call(this);tp(this.H(),this.Lb,void 0,this.Lb+" File",!0);this.vg&&co(this.ua("drive-viewer-archive-row-icon"),this.vg)};function Hs(a,b){Hm.call(this,a,b)}w(Hs,Hm);Hs.prototype.If=function(){return Im};Hs.prototype.Qi=function(){return ws};Hs.prototype.rv=function(){return 2!=zs(this.getContext().qa())};function Is(a,b,c){this.name=a||null;this.LA=b||null;this.ZF=!!c};function Js(a){Xi(this,a,null)}w(Js,Vi);e=Js.prototype;e.Ya=function(){return ij(this)};e.getId=function(){return L(this,1)};e.Wp=function(a){N(this,1,a)};e.getName=function(){return L(this,2)};e.Bn=function(a){N(this,2,a)};function Ks(a){Xi(this,a,null)}w(Ks,Vi);Ks.prototype.Ya=function(){return ij(this)};Ks.prototype.getType=function(){return null==L(this,1)?1:L(this,1)};Ks.prototype.Dn=function(a){N(this,1,a)};function Ls(a){Xi(this,a,null)}w(Ls,Vi);Ls.prototype.Ya=function(){return ij(this)};Ls.prototype.getData=function(){return null==L(this,1)?0:L(this,1)};Ls.prototype.setData=function(a){N(this,1,a)};function Ms(a){Xi(this,a,Ns)}w(Ms,Vi);var Ns=[7];Ms.prototype.Ya=function(){return ij(this)};Ms.prototype.Y4=function(a){cj(this,2,a)};Ms.prototype.c5=function(a){N(this,3,a)};function Os(a,b){z.call(this);this.item=a;this.S=b;this.Rc=new K(this);A(this,this.Rc)}w(Os,z);e=Os.prototype;e.fetch=function(a){if(a){if(!this.item.tv&&om(this.item,a)){var b=new Ms;cj(b,6,a);Fs(oq(this.S),{La:61,item:this.item,lu:b})}this.item.aP=!0;2==a.getData()?Ps(this):Qs(this)}else Qs(this)};e.getContext=function(){return this.S};e.wf=function(a){qc(this,function(){a.cancel()})};
function Qs(a){if(a.item.getState()==V.vq){a.item.lb(V.LOADING);var b=a.item.ct;b==V.LOADED?a.item.lb(V.LOADED):b!=V.ERROR&&a.gA()&&a.Rc.listen(a.item,"i",a.mfa);a.er()}}e.mfa=function(a){this.item.ct==V.LOADED&&this.item.lb(V.LOADED,void 0,void 0,void 0,a.info&&a.info.time)};function Ps(a){a.gA()&&a.item.ct==V.vq&&(lm(a.item,V.LOADING),a.nM())}e.nM=p;e.gA=function(){return!1};function Rs(a,b){this.Wj=a;this.Pb=b}Rs.prototype.getKey=function(){return this.Wj};Rs.prototype.Ga=function(){return this.Pb};Rs.prototype.clone=function(){return new Rs(this.Wj,this.Pb)};function Ss(a,b){Rs.call(this,a,b);this.Zb=this.Cb=null}w(Ss,Rs);var Ts=[];e=Ss.prototype;e.clone=function(){return new Ss(this.getKey(),this.Ga())};e.getParent=function(){return this.Cb};e.getChildren=function(){return this.Zb||Ts};e.og=function(a){return this.getChildren()[a]||null};e.qg=function(){return this.getChildren().length};e.Hu=function(){for(var a=this;a.getParent();)a=a.getParent();return a};e.contains=function(a){do a=a.getParent();while(a&&a!=this);return!!a};
e.Lj=function(a,b){y(this.getChildren(),a,b)};e.hd=function(a){this.Cb=a};e.Aa=function(a){this.Hi(a,this.Zb?this.Zb.length:0)};e.Hi=function(a,b){a.hd(this);this.Zb=this.Zb||[];Bb(this.Zb,b,0,a)};e.replaceChild=function(a,b){var c=ib(this.getChildren(),b),d=this.getChildren(),f=d[c];f.hd(null);d[c]=a;a.hd(this);return f};e.CB=function(a){var b=this.Zb&&this.Zb[a];return b?(b.hd(null),xb(this.Zb,a),0==this.Zb.length&&(this.Zb=null),b):null};
e.removeChild=function(a){return a&&this.CB(ib(this.getChildren(),a))};e.fe=function(){if(this.Zb){for(var a=0;a<this.Zb.length;a++)this.Zb[a].hd(null);this.Zb=null}};function Us(a,b){Os.call(this,a,b);this.item=a}w(Us,Os);
Us.prototype.er=function(){if(!this.item.Ai){var a,b=ei("","fileName",this.item.getName(),"mimeType",this.item.Rb(),"fileSize",this.item.Pc());2==this.item.pb.cl()?(a=this.item.Cu(),b=ei(b,"origin","GMAIL")):a=this.item.Oa();var c=pi(this.getContext().qa()),d=oi(c);aj(c,Vs,16)&&(c=aj(c,Vs,16),ya(Ws(c))||ya(Xs(c))||(b=ei(b,"ck",Xs(c),"c",Ws(c))));a=d+"/files/"+a+"/preview"+b;(b=qi(this.getContext(),ri))?(a=Sh(new Mh(b,a,"drive#filePreview")),b=t(this.qia,this),a.aga=b,a=a.start(),Gh(a,t(this.yp,this)),
Hh(a,t(this.h3,this)),this.wf(a)):this.item.lb(4)}};Us.prototype.yp=function(a){if("drive#filePreview"==a.kind){var b=a.archivePreview;0==b.length?this.item.lb(4):(a=new Ss(null,new Is(this.item.getName(),this.item.Rb(),!0)),Ys(this,a,b),b=this.item,b.Ai=a,b.dispatchEvent("m"),this.item.lb(1))}else this.h3()};Us.prototype.qia=function(){this.item.lb(3)};Us.prototype.h3=function(){this.item.lb(4)};
function Ys(a,b,c){for(var d=0;d<c.length;d++){var f=c[d],g=f.path,h=!!f.children||va(g,"/");va(g,"/")&&(g=g.substring(0,g.length-1));g=new Ss(f.path,new Is(g.slice(g.lastIndexOf("/")+1),f.mimeType,h));b.Aa(g);(f=f.children)&&Ys(a,g,f)}};var Zs="application/7z application/x-7z application/x-7z-compressed application/x-7zip-compressed application/bzip2 application/gzip application/gzip-compressed application/gzipped application/rar application/tar application/x-bzip application/x-bzip-compressed-tar application/x-bzip2 application/x-gtar application/x-gtar-compressed application/x-gunzip application/x-gzip application/x-gzip-compressed application/x-rar application/x-rar-compressed application/x-tar application/x-tgz application/x-zip application/x-zip-compressed application/zip gzip/document multipart/x-gzip multipart/x-rar multipart/x-tar multipart/x-zip multipart/zip".split(" "),
$s=["text/calendar"],at=["application/mbox","application/vnd.ms-outlook"];function bt(a){return tb(at,a)?"Extract into your mail account":"Extract into your Drive account"};function ct(a,b){Hm.call(this,a,b);var c=pi(b.qa()),d;if(d=!!c&&!!aj(c,Vs,16))c=aj(c,Vs,16),d=null==L(c,1)?!1:L(c,1);this.S$=d}w(ct,Hs);ct.prototype.kf=function(){var a=Zs;this.S$&&(a=yb(a,$s,at));return a};ct.prototype.Zh=function(){return Us};function dt(a){ct.call(this,"ar_d",a)}w(dt,ct);dt.prototype.Yd=function(a){return et(a)+a.Oa()};dt.prototype.qe=function(a){return!!a.getName()&&!!a.Oa()};dt.prototype.Kf=function(){return[0]};dt.prototype.isSupported=function(){return!ft(this.getContext().qa())};function gt(a){ct.call(this,"ar_g",a)}w(gt,ct);gt.prototype.Yd=function(a){return et(a)+a.Cu()};gt.prototype.qe=function(a){return!!a.getName()&&!!a.Cu()};gt.prototype.Kf=function(){return[2]};function ht(a,b){em.call(this,a,b,1);this.md=null}w(ht,em);ht.prototype.zu=function(){return this.pb.zu()};function it(a,b){ht.call(this,a,b)}w(it,ht);it.prototype.Oa=function(){return this.pb.Oa()};it.prototype.zu=function(a,b){var c=Rl("/uc",a);return ei(c,"id",this.Oa(),"authuser",b||"0","export","download")};var jt={},kt=null;function lt(a){var b=la(a);b in jt||(jt[b]=a);mt()}function nt(a){a=la(a);delete jt[a];Vb(jt)&&kt&&kt.stop()}function mt(){kt||(kt=new No(function(){ot()},20));var a=kt;a.uc()||a.start()}function ot(){var a=u();Mb(jt,function(b){b.T2(a)});Vb(jt)||mt()};function pt(){H.call(this);this.va=0;this.endTime=this.startTime=null}w(pt,H);e=pt.prototype;e.ne=function(){return 1==this.va};e.ek=function(){this.ig("begin")};e.mi=function(){this.ig("end")};function qt(a){a.ig("finish")}e.onStop=function(){this.ig("stop")};e.ig=function(a){this.dispatchEvent(a)};function rt(a,b,c,d){pt.call(this);if(!fa(a)||!fa(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.iC=a;this.aaa=b;this.duration=c;this.xq=d;this.coords=[];this.oq=!1;this.progress=0}w(rt,pt);e=rt.prototype;e.wm=function(a){this.oq=a};
e.play=function(a){if(a||0==this.va)this.progress=0,this.coords=this.iC;else if(this.ne())return!1;nt(this);this.startTime=a=u();-1==this.va&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.ek();this.ig("play");-1==this.va&&this.ig("resume");this.va=1;lt(this);st(this,a);return!0};e.stop=function(a){nt(this);this.va=0;a&&(this.progress=1);tt(this,this.progress);this.onStop();this.mi()};e.pause=function(){this.ne()&&(nt(this),this.va=-1,this.ig("pause"))};
e.m_=function(){return this.progress};e.ma=function(){0==this.va||this.stop(!1);this.ig("destroy");rt.R.ma.call(this)};e.T2=function(a){st(this,a)};function st(a,b){a.progress=(b-a.startTime)/(a.endTime-a.startTime);1<=a.progress&&(a.progress=1);tt(a,a.progress);1==a.progress?(a.va=0,nt(a),qt(a),a.mi()):a.ne()&&a.BQ()}function tt(a,b){ja(a.xq)&&(b=a.xq(b));a.coords=Array(a.iC.length);for(var c=0;c<a.iC.length;c++)a.coords[c]=(a.aaa[c]-a.iC[c])*b+a.iC[c]}e.BQ=function(){this.ig("animate")};
e.ig=function(a){this.dispatchEvent(new ut(a,this))};function ut(a,b){G.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.m_();this.state=b.va}w(ut,G);function vt(a,b,c,d,f){rt.call(this,b,c,d,f);this.element=a}w(vt,rt);e=vt.prototype;e.lq=p;e.nf=function(){n(this.Jl)||(this.Jl=fo(this.element));return this.Jl};e.BQ=function(){this.lq();vt.R.BQ.call(this)};e.mi=function(){this.lq();vt.R.mi.call(this)};e.ek=function(){this.lq();vt.R.ek.call(this)};function wt(a,b,c,d,f){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");vt.apply(this,arguments)}w(wt,vt);
wt.prototype.lq=function(){var a=this.oq&&this.nf()?"right":"left";this.element.style[a]=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};function xt(a,b,c,d,f){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");vt.apply(this,arguments)}w(xt,vt);xt.prototype.lq=function(){this.oq?To(this.element,Math.round(this.coords[0])):this.element.scrollLeft=Math.round(this.coords[0]);this.element.scrollTop=Math.round(this.coords[1])};
function yt(a,b,c,d,f){vt.call(this,a,[b],[c],d,f)}w(yt,vt);yt.prototype.lq=function(){this.element.style.width=Math.round(this.coords[0])+"px"};function zt(a,b,c,d,f){vt.call(this,a,[b],[c],d,f)}w(zt,vt);zt.prototype.lq=function(){this.element.style.height=Math.round(this.coords[0])+"px"};function At(a,b,c,d,f){ia(b)&&(b=[b]);ia(c)&&(c=[c]);vt.call(this,a,b,c,d,f);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.yG=-1}w(At,vt);var Bt=1/1024;e=At.prototype;
e.lq=function(){var a=this.coords[0];Math.abs(a-this.yG)>=Bt&&(bo(this.element,a),this.yG=a)};e.ek=function(){this.yG=-1;At.R.ek.call(this)};e.mi=function(){this.yG=-1;At.R.mi.call(this)};e.show=function(){this.element.style.display=""};e.hide=function(){this.element.style.display="none"};function Ct(a,b,c){At.call(this,a,1,0,b,c)}w(Ct,At);function Dt(a,b,c){At.call(this,a,1,0,b,c)}w(Dt,At);Dt.prototype.ek=function(){this.show();Dt.R.ek.call(this)};Dt.prototype.mi=function(){this.hide();Dt.R.mi.call(this)};
function Et(a,b,c){At.call(this,a,0,1,b,c)}w(Et,At);Et.prototype.ek=function(){this.show();Et.R.ek.call(this)};function Ft(){pt.call(this);this.Hl=[]}w(Ft,pt);Ft.prototype.add=function(a){tb(this.Hl,a)||(this.Hl.push(a),qg(a,"finish",this.S2,!1,this))};Ft.prototype.remove=function(a){wb(this.Hl,a)&&yg(a,"finish",this.S2,!1,this)};Ft.prototype.ma=function(){y(this.Hl,function(a){a.dispose()});this.Hl.length=0;Ft.R.ma.call(this)};function Gt(){Ft.call(this);this.qM=0}w(Gt,Ft);
Gt.prototype.play=function(a){if(0==this.Hl.length)return!1;if(a||0==this.va)this.qM=0,this.ek();else if(this.ne())return!1;this.ig("play");-1==this.va&&this.ig("resume");var b=-1==this.va&&!a;this.startTime=u();this.endTime=null;this.va=1;y(this.Hl,function(c){b&&-1!=c.va||c.play(a)});return!0};Gt.prototype.pause=function(){this.ne()&&(y(this.Hl,function(a){a.ne()&&a.pause()}),this.va=-1,this.ig("pause"))};
Gt.prototype.stop=function(a){y(this.Hl,function(b){0==b.va||b.stop(a)});this.va=0;this.endTime=u();this.onStop();this.mi()};Gt.prototype.S2=function(){this.qM++;this.qM==this.Hl.length&&(this.endTime=u(),this.va=0,qt(this),this.mi())};function Ht(a,b,c){H.call(this);this.target=a;this.handle=b||a;this.GP=c||new wn(NaN,NaN,NaN,NaN);this.Ba=je(a);this.Fa=new K(this);A(this,this.Fa);this.deltaY=this.deltaX=this.X5=this.W5=this.screenY=this.screenX=this.clientY=this.clientX=0;this.Yb=!0;this.Tk=!1;this.W3=!0;this.J0=0;this.oq=this.Ufa=!1;qg(this.handle,["touchstart","mousedown"],this.S5,!1,this)}w(Ht,H);var It=l.document&&l.document.documentElement&&!!l.document.documentElement.setCapture;e=Ht.prototype;e.wm=function(a){this.oq=a};
e.ka=function(){return this.Fa};function Jt(a,b){a.GP=b||new wn(NaN,NaN,NaN,NaN)}e.setEnabled=function(a){this.Yb=a};e.ma=function(){Ht.R.ma.call(this);yg(this.handle,["touchstart","mousedown"],this.S5,!1,this);this.Fa.removeAll();It&&this.Ba.releaseCapture();this.handle=this.target=null};e.nA=function(){n(this.Jl)||(this.Jl=fo(this.target));return this.Jl};
e.S5=function(a){var b="mousedown"==a.type;if(!this.Yb||this.Tk||b&&!eg(a))this.dispatchEvent("earlycancel");else{if(0==this.J0)if(this.dispatchEvent(new Kt("start",this,a.clientX,a.clientY,a)))this.Tk=!0,this.W3&&b&&a.preventDefault();else return;else this.W3&&b&&a.preventDefault();var b=this.Ba,c=b.documentElement,d=!It;this.Fa.listen(b,["touchmove","mousemove"],this.Fda,d);this.Fa.listen(b,["touchend","mouseup"],this.vE,d);It?(c.setCapture(!1),this.Fa.listen(c,"losecapture",this.vE)):this.Fa.listen(ve(b),
"blur",this.vE);E&&this.Ufa&&this.Fa.listen(b,"dragstart",Tf);this.Vka&&this.Fa.listen(this.Vka,"scroll",this.Gia,d);this.clientX=this.W5=a.clientX;this.clientY=this.X5=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.oq?So(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.YQ=te(he(this.Ba).Ba)}};
e.vE=function(a){this.Fa.removeAll();It&&this.Ba.releaseCapture();this.Tk?(this.Tk=!1,this.dispatchEvent(new Kt("end",this,a.clientX,a.clientY,a,Lt(this,this.deltaX),Mt(this,this.deltaY)))):this.dispatchEvent("earlycancel")};
e.Fda=function(a){if(this.Yb){var b=(this.oq&&this.nA()?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.Tk){var d=this.W5-this.clientX,f=this.X5-this.clientY;if(d*d+f*f>this.J0)if(this.dispatchEvent(new Kt("start",this,a.clientX,a.clientY,a)))this.Tk=!0;else{this.isDisposed()||this.vE(a);return}}c=Nt(this,b,c);b=c.x;c=c.y;this.Tk&&this.dispatchEvent(new Kt("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(Ot(this,a,b,c),a.preventDefault())}};function Nt(a,b,c){var d=te(he(a.Ba).Ba);b+=d.x-a.YQ.x;c+=d.y-a.YQ.y;a.YQ=d;a.deltaX+=b;a.deltaY+=c;return new C(Lt(a,a.deltaX),Mt(a,a.deltaY))}e.Gia=function(a){var b=Nt(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Ot(this,a,b.x,b.y)};function Ot(a,b,c,d){a.uL(c,d);a.dispatchEvent(new Kt("drag",a,b.clientX,b.clientY,b,c,d))}
function Lt(a,b){var c=a.GP,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function Mt(a,b){var c=a.GP,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}e.uL=function(a,b){this.oq&&this.nA()?this.target.style.right=a+"px":this.target.style.left=a+"px";this.target.style.top=b+"px"};e.ov=function(){return this.Tk};
function Kt(a,b,c,d,f,g,h){G.call(this,a);this.clientX=c;this.clientY=d;this.I9=f;this.left=n(g)?g:b.deltaX;this.top=n(h)?h:b.deltaY;this.XL=b}w(Kt,G);function Pt(){H.call(this)}w(Pt,H);e=Pt.prototype;e.Pb=0;e.$j=0;e.aj=100;e.Uh=0;e.Zs=1;e.ql=!1;e.Pv=!1;e.qb=function(a){a=Qt(this,a);this.Pb!=a&&(this.Pb=a+this.Uh>this.aj?this.aj-this.Uh:a<this.$j?this.$j:a,this.ql||this.Pv||this.dispatchEvent("change"))};e.Ga=function(){return Qt(this,this.Pb)};e.BI=function(a){a=Qt(this,a);this.Uh!=a&&(this.Uh=0>a?0:this.Pb+a>this.aj?this.aj-this.Pb:a,this.ql||this.Pv||this.dispatchEvent("change"))};
e.Bo=function(){var a=this.Uh;return null==this.Zs?a:Math.round(a/this.Zs)*this.Zs};e.OS=function(a){if(this.$j!=a){var b=this.ql;this.ql=!0;this.$j=a;a+this.Uh>this.aj&&(this.Uh=this.aj-this.$j);a>this.Pb&&this.qb(a);a>this.aj&&(this.Uh=0,this.FI(a),this.qb(a));(this.ql=b)||this.Pv||this.dispatchEvent("change")}};e.te=function(){return Qt(this,this.$j)};
e.FI=function(a){a=Qt(this,a);if(this.aj!=a){var b=this.ql;this.ql=!0;this.aj=a;a<this.Pb+this.Uh&&this.qb(a-this.Uh);a<this.$j&&(this.Uh=0,this.OS(a),this.qb(this.aj));a<this.$j+this.Uh&&(this.Uh=this.aj-this.$j);(this.ql=b)||this.Pv||this.dispatchEvent("change")}};e.Md=function(){return Qt(this,this.aj)};e.jz=function(){return this.Zs};function Qt(a,b){return null==a.Zs?b:a.$j+Math.round((b-a.$j)/a.Zs)*a.Zs};function Rt(a,b){Cp.call(this,a);this.cW=null;this.ad=new Pt;this.Dga=b||ef;qg(this.ad,"change",this.q0,!1,this)}w(Rt,Cp);e=Rt.prototype;e.Cd="horizontal";e.jv=!1;e.r2=!1;e.Lk=10;e.XG=0;e.$F=!0;e.q2=0;e.b8=1E3;e.Yb=!0;e.Zg=!1;e.ra=function(){Rt.R.ra.call(this);var a=this.U().ra("DIV",this.Ma(this.Cd));this.dc(a)};
e.dc=function(a){Rt.R.dc.call(this,a);W(a,this.Ma(this.Cd));a=this.H();var b=this.U(),b=me(b.Ba,null,"drive-viewer-slider-thumb",a)[0];b||(b=this.U().ra("div","drive-viewer-slider-thumb"),jh(b,"button"),a.appendChild(b));this.lc=this.Wg=b;jh(this.H(),"slider");St(this)};e.ta=function(){Rt.R.ta.call(this);this.Jh=new Ht(this.lc);this.Ij=new Ht(this.Wg);this.Jh.wm(this.Zg);this.Ij.wm(this.Zg);this.Jh.uL=this.Ij.uL=p;this.Gc=new up(this.H());Tt(this,!0);this.H().tabIndex=0;this.Vl()};
function Tt(a,b){b?(a.ka().listen(a.Jh,"beforedrag",a.sF).listen(a.Ij,"beforedrag",a.sF).listen(a.Jh,["start","end"],a.AF).listen(a.Ij,["start","end"],a.AF).listen(a.Gc,"key",a.Tj).listen(a.H(),"click",a.xF).listen(a.H(),"mousedown",a.xF),a.$F&&Ut(a,!0)):(a.ka().ab(a.Jh,"beforedrag",a.sF).ab(a.Ij,"beforedrag",a.sF).ab(a.Jh,["start","end"],a.AF).ab(a.Ij,["start","end"],a.AF).ab(a.Gc,"key",a.Tj).ab(a.H(),"click",a.xF).ab(a.H(),"mousedown",a.xF),a.$F&&Ut(a,!1))}
e.Db=function(){Rt.R.Db.call(this);sc(this.Jh,this.Ij,this.Gc,this.Bg)};e.sF=function(a){var b=a.XL==this.Jh?this.lc:this.Wg,c;"vertical"==this.Cd?(c=this.H().clientHeight-b.offsetHeight,c=(c-a.top)/c*(this.Md()-this.te())+this.te()):c=a.left/(this.H().clientWidth-b.offsetWidth)*(this.Md()-this.te())+this.te();c=a.XL==this.Jh?Math.min(Math.max(c,this.te()),this.Ga()+this.Bo()):Math.min(Math.max(c,this.Ga()),this.Md());Vt(this,b,c)};
e.AF=function(a){var b="start"==a.type;rn(this.H(),"goog-slider-dragging",b);rn(a.target.handle,"goog-slider-thumb-dragging",b);a=a.XL==this.Jh;b?(this.dispatchEvent("M"),this.dispatchEvent(a?"I":"K")):(this.dispatchEvent("N"),this.dispatchEvent(a?"J":"L"))};
e.Tj=function(a){var b=!0;switch(a.keyCode){case 36:Wt(this,this.te());break;case 35:Wt(this,this.Md());break;case 33:Xt(this,this.Lk);break;case 34:Xt(this,-this.Lk);break;case 37:var c=this.Zg&&this.nf()?1:-1;Xt(this,a.shiftKey?c*this.Lk:c*this.EC);break;case 40:Xt(this,a.shiftKey?-this.Lk:-this.EC);break;case 39:c=this.Zg&&this.nf()?-1:1;Xt(this,a.shiftKey?c*this.Lk:c*this.EC);break;case 38:Xt(this,a.shiftKey?this.Lk:this.EC);break;default:b=!1}b&&a.preventDefault()};
e.xF=function(a){this.H().focus&&this.H().focus();var b=a.target;Je(this.lc,b)||Je(this.Wg,b)||(b="click"==a.type,b&&u()<this.q2+this.b8||(b||(this.q2=u()),this.r2?Wt(this,Yt(this,a)):(this.qU(a),this.sj=Zt(this,Yt(this,a)),this.S0="vertical"==this.Cd?this.wG<this.sj.offsetTop:this.wG>$t(this,this.sj)+this.sj.offsetWidth,a=je(this.H()),this.ka().listen(a,"mouseup",this.nU,!0).listen(this.H(),"mousemove",this.qU),this.Vo||(this.Vo=new gh(200),this.ka().listen(this.Vo,"tick",this.BF)),this.BF(),this.Vo.start())))};
e.yF=function(a){Xt(this,(0<a.detail?-1:1)*this.EC);a.preventDefault()};e.BF=function(){var a;if("vertical"==this.Cd){var b=this.wG,c=this.sj.offsetTop;this.S0?b<c&&(a=au(this,this.sj)+this.Lk):b>c+this.sj.offsetHeight&&(a=au(this,this.sj)-this.Lk)}else b=this.wG,c=$t(this,this.sj),this.S0?b>c+this.sj.offsetWidth&&(a=au(this,this.sj)+this.Lk):b<c&&(a=au(this,this.sj)-this.Lk);n(a)&&Vt(this,this.sj,a)};
e.nU=function(){this.Vo&&this.Vo.stop();var a=je(this.H());this.ka().ab(a,"mouseup",this.nU,!0).ab(this.H(),"mousemove",this.qU)};function bu(a,b){var c=Tn(b,a.H());return"vertical"==a.Cd?c.y:a.Zg&&a.nf()?a.H().clientWidth-c.x:c.x}e.qU=function(a){this.wG=bu(this,a)};function Yt(a,b){var c=a.te(),d=a.Md();if("vertical"==a.Cd){var f=a.lc.offsetHeight,g=a.H().clientHeight-f,f=bu(a,b)-f/2;return(d-c)*(g-f)/g+c}f=a.lc.offsetWidth;g=a.H().clientWidth-f;f=bu(a,b)-f/2;return(d-c)*f/g+c}
function au(a,b){if(b==a.lc)return a.ad.Ga();if(b==a.Wg)return a.ad.Ga()+a.ad.Bo();throw Error("Illegal thumb element. Neither minThumb nor maxThumb");}e.ov=function(){return this.Jh.ov()||this.Ij.ov()};function Xt(a,b){Math.abs(b)<a.jz()&&(b=yd(b)*a.jz());var c=au(a,a.lc)+b,d=au(a,a.Wg)+b,c=wd(c,a.te(),a.Md()-a.XG),d=wd(d,a.te()+a.XG,a.Md());cu(a,c,d-c)}function Vt(a,b,c){var d=Qt(a.ad,c);c=b==a.lc?d:a.ad.Ga();b=b==a.Wg?d:a.ad.Ga()+a.ad.Bo();c>=a.te()&&b>=c+a.XG&&a.Md()>=b&&cu(a,c,b-c)}
function cu(a,b,c){a.te()<=b&&b<=a.Md()-c&&a.XG<=c&&c<=a.Md()-b&&(b!=a.Ga()||c!=a.Bo())&&(a.ad.Pv=!0,a.ad.BI(0),a.ad.qb(b),a.ad.BI(c),a.ad.Pv=!1,a.q0())}e.te=function(){return this.ad.te()};e.OS=function(a){this.ad.OS(a)};e.Md=function(){return this.ad.Md()};e.FI=function(a){this.ad.FI(a)};function Zt(a,b){return b<=a.ad.Ga()+a.ad.Bo()/2?a.lc:a.Wg}e.q0=function(){this.Vl();St(this);this.dispatchEvent("change")};
e.Vl=function(){if(this.lc&&!this.jv){var a=du(this,au(this,this.lc)),b=du(this,au(this,this.Wg));if("vertical"==this.Cd)this.lc.style.top=a.y+"px",this.Wg.style.top=b.y+"px",this.ee&&(a=eu(b.y,a.y,this.lc.offsetHeight),this.ee.style.top=a.offset+"px",this.ee.style.height=a.size+"px");else{var c=this.Zg&&this.nf()?"right":"left";this.lc.style[c]=a.x+"px";this.Wg.style[c]=b.x+"px";this.ee&&(a=eu(a.x,b.x,this.lc.offsetWidth),this.ee.style[c]=a.offset+"px",this.ee.style.width=a.size+"px")}}};
function eu(a,b,c){var d=Math.ceil(c/2);return{offset:a+d,size:Math.max(b-a+c-2*d,0)}}function du(a,b){var c=new C;if(a.lc){var d=a.te(),f=a.Md(),f=b==d&&d==f?0:(b-d)/(f-d);"vertical"==a.Cd?(d=a.H().clientHeight-a.lc.offsetHeight,f=Math.round(f*d),c.x=$t(a,a.lc),c.y=d-f):(c.x=Math.round(f*(a.H().clientWidth-a.lc.offsetWidth)),c.y=a.lc.offsetTop)}return c}
function Wt(a,b){b=wd(b,a.te(),a.Md());a.jv&&(a.dy.stop(!0),a.dy.dispose());var c=new Gt,d,f=Zt(a,b),g=a.Ga(),h=a.Bo(),k=au(a,f),m=du(a,k);d=a.jz();Math.abs(b-k)<d&&(b=wd(k+(b>k?d:-d),a.te(),a.Md()));Vt(a,f,b);k=du(a,au(a,f));d="vertical"==a.Cd?[$t(a,f),k.y]:[k.x,f.offsetTop];m=new wt(f,[m.x,m.y],d,100);m.wm(a.Zg);c.add(m);a.ee&&fu(a,f,g,h,k,c);a.cW&&(f=a.cW.wra(g,b,100),y(f,function(a){c.add(a)}));a.dy=c;a.ka().listen(c,"end",a.$$);a.jv=!0;c.play(!1)}
function fu(a,b,c,d,f,g){var h=du(a,c),k=du(a,c+d);c=h;d=k;b==a.lc?c=f:d=f;"vertical"==a.Cd?(b=eu(k.y,h.y,a.lc.offsetHeight),h=eu(d.y,c.y,a.lc.offsetHeight),f=new wt(a.ee,[$t(a,a.ee),b.offset],[$t(a,a.ee),h.offset],100),b=new zt(a.ee,b.size,h.size,100)):(b=eu(h.x,k.x,a.lc.offsetWidth),h=eu(c.x,d.x,a.lc.offsetWidth),f=new wt(a.ee,[b.offset,a.ee.offsetTop],[h.offset,a.ee.offsetTop],100),b=new yt(a.ee,b.size,h.size,100));f.wm(a.Zg);b.wm(a.Zg);g.add(f);g.add(b)}e.$$=function(){this.jv=!1};
e.setOrientation=function(a){if(this.Cd!=a){var b=this.Ma(this.Cd),c=this.Ma(a);this.Cd=a;this.H()&&(sn(this.H(),b,c),a=this.Zg&&this.nf()?"right":"left",this.lc.style[a]=this.lc.style.top="",this.Wg.style[a]=this.Wg.style.top="",this.ee&&(this.ee.style[a]=this.ee.style.top="",this.ee.style.width=this.ee.style.height=""),this.Vl())}};
e.ma=function(){Rt.R.ma.call(this);this.Vo&&this.Vo.dispose();delete this.Vo;this.dy&&this.dy.dispose();delete this.dy;delete this.lc;delete this.Wg;this.ee&&delete this.ee;this.ad.dispose();delete this.ad;this.Gc&&(this.Gc.dispose(),delete this.Gc);this.Bg&&(this.Bg.dispose(),delete this.Bg);this.Jh&&(this.Jh.dispose(),delete this.Jh);this.Ij&&(this.Ij.dispose(),delete this.Ij)};e.EC=1;e.jz=function(){return this.ad.jz()};e.Ga=function(){return this.ad.Ga()};e.qb=function(a){Vt(this,this.lc,a)};
e.Bo=function(){return this.ad.Bo()};e.BI=function(a){Vt(this,this.Wg,this.ad.Ga()+a)};e.setVisible=function(a){X(this.H(),a);a&&this.Vl()};function St(a){var b=a.H();b&&(kh(b,"valuemin",a.te()),kh(b,"valuemax",a.Md()),kh(b,"valuenow",a.Ga()),kh(b,"valuetext",a.Dga(a.Ga())||""))}function Ut(a,b){b?(a.Bg||(a.Bg=new po(a.H())),a.ka().listen(a.Bg,"mousewheel",a.yF)):a.ka().ab(a.Bg,"mousewheel",a.yF)}
e.setEnabled=function(a){this.Yb!=a&&this.dispatchEvent(a?"enable":"disable")&&(this.Yb=a,Tt(this,a),a||this.nU(),rn(this.H(),"goog-slider-disabled",!a))};e.isEnabled=function(){return this.Yb};function $t(a,b){return a.Zg?So(b):b.offsetLeft};function gu(){var a={ula:!1},b,a=a||{};return U('<div class="drive-spinner">'+(null==(b=a.ula)||b?'<div class="drive-white-circle"></div>':"")+'<div class="drive-quantum-spinner active">'+hu({QD:nl("spinner-blue")})+hu({QD:nl("spinner-red")})+hu({QD:nl("spinner-yellow")})+hu({QD:nl("spinner-green")})+"</div></div>")}
function hu(a){return U('<div class="spinner-layer '+wl(a.QD)+'"><div class="spinner-circle-clipper spinner-left"><div class="spinner-circle spinner-fit"></div></div><div class="spinner-gap-patch"><div class="spinner-circle spinner-fit"></div></div><div class="spinner-circle-clipper spinner-right"><div class="spinner-circle spinner-fit"></div></div></div>')};function iu(){return U('<div class="drive-viewer-slider"><div class="drive-viewer-slider-scale drive-viewer-slider-buffer"></div><div class="drive-viewer-slider-scale drive-viewer-slider-scale-filled"></div><div class="drive-viewer-slider-scale drive-viewer-slider-scale-total"></div><div class="drive-viewer-slider-thumb"></div></div>')}
function ju(a){var b=a.error;return U('<div class="drive-viewer-content-error-container" tabindex="-1"><div class="drive-viewer-icon drive-viewer-msg-error-img"></div><div class="drive-viewer-content-error-text" tabindex="-1">'+T(a.ku)+" <br> "+T(b)+"</div></div>")}
function ku(a){a=a||{};a=a.KD;a=""+('<div class="drive-viewer-msg-loading '+(a?wl(a):"")+'" role="status" tabindex="-1" aria-label="'+ul("Loading")+'"><div class="drive-viewer-msg-loading-img drive-viewer-focus-to-default">'+T(gu())+'</div><span class="drive-viewer-msg-loading-text drive-viewer-focus-to-default" aria-hidden="true">Loading&hellip;</span></div>');return U(a)}
function lu(a){return U('<div id="'+wl(a.id)+'" class="drive-viewer-thumbnail"><div class="drive-viewer-thumbnail-inner"><img class="drive-viewer-thumbnail-img" /></div></div>')}function mu(){return U('<div class="drive-viewer-icon drive-viewer-menuitem-icon"></div>')}function nu(a){a=a.url;return U('<a href="'+wl(xl(a))+'" target="_blank" class="drive-viewer-paginated-page-link" tabindex="0" rel="noreferrer" role="link" aria-label="'+wl(a)+'"></a>')};function ou(a,b,c){Rt.call(this,a.U());this.S=a;this.ad.BI(0);this.FI(c||100);this.pM=!1;this.rE=this.QW=this.p6=this.Ly=null;this.Qr=this.te();this.Ac=null;this.r2=!0;this.Xa&&0!=this.$F&&Ut(this,!1);this.$F=!1;this.setOrientation("horizontal");this.Zg=b;this.Xp(b&&fo(this.U().Ba.body))}w(ou,Rt);e=ou.prototype;
e.ra=function(){var a=S(iu,void 0,void 0,this.U());this.dc(a);this.Ly=this.U().ua("drive-viewer-slider-scale-filled",this.H());this.p6=this.lc;this.QW=this.U().ua("drive-viewer-slider-buffer",this.H())};e.ta=function(){ou.R.ta.call(this);this.ka().listen(this,"change",this.Nz).listen(this,"I",this.qca).listen(this,"J",this.oca).listen(this.H(),"click",this.fl)};function pu(a,b){var c=du(a,b);qu(a,c.x,!1);a.qb(b)}
function qu(a,b,c){if(a.pM){var d=Zn(a.Ly).width;c?(a.Ac&&a.Ac.dispose(),a.Ac=new yt(a.Ly,d,b,100),a.Ac.play()):Xn(a.Ly,b)}}function ru(a){a.pM=!0;if(a.Xa&&a.pM){var b=du(a,a.Ga());qu(a,b.x,!1)}}e.Nz=function(){var a=Zn(this.Ly).width,b=So(this.p6);a!=b&&(this.ov()?qu(this,b,!1):qu(this,b,!0));a=this.Ga()-this.Qr;this.Qr=this.Ga();0!=a&&this.dispatchEvent(new su(a))};e.qca=function(a){this.rE=sq(yq(this.S),"sd_",{La:63,$a:Lo(a)})};e.oca=function(){this.rE&&(wq(yq(this.S),this.rE),this.rE=null)};
e.fl=function(a){Fs(oq(this.S),{La:62,$a:Lo(a)})};e.Ma=function(){return"drive-viewer-slider-horizontal"};e.reset=function(a){var b=this.te();a||(this.Qr=b);this.qb(b)};e.ma=function(){ou.R.ma.call(this);this.Ac&&this.Ac.dispose()};function su(a){G.call(this,"O");this.CL=a}w(su,G);function tu(){return U('<div class="drive-viewer-audio drive-viewer-itemview"><audio></audio></div>')}function uu(){return U('<div class="drive-viewer-audio-controls"><div class="drive-viewer-audio-play-button drive-viewer-icon drive-viewer-audio-play-icon"></div><div class="drive-viewer-audio-progressbar-container"></div><div class="drive-viewer-audio-volumecontrol-container"></div></div>')}
function vu(){return U('<div class="drive-viewer-audio-progressbar"><div class="drive-viewer-audio-progressbar-time" tabindex="-1"></div></div>')}function wu(){return U('<div class="drive-viewer-audio-volumecontrol"><div class="drive-viewer-icon drive-viewer-audio-volumecontrol-volume-button"></div></div>')};function xu(a){Y.call(this,a);this.Sh=0;this.ub=new ou(a,!1,1E3);this.Aa(this.ub);ru(this.ub);this.BG=0;this.oL=null;this.Ta=new gh(100)}w(xu,Y);e=xu.prototype;e.ra=function(){var a=this.U(),b=S(vu,void 0,void 0,a);this.$=b;this.ub.Ka(b);W(this.ub.H(),"drive-viewer-audio-progressbar-slider");W(this.ub.lc,"drive-viewer-audio-progressbar-slider-thumb");this.oL=a.ua("drive-viewer-audio-progressbar-time",b);rs(this.ub.lc,a);Bn(this.H(),"direction","ltr")};
e.ta=function(){xu.R.ta.call(this);yu(this);this.ka().listen(this.ub,"O",this.Nz).listen(this.Ta,"tick",this.E$)};e.oS=function(a){this.Sh=a;yu(this,0)};e.E$=function(){this.ub.ov()||(this.Ta.stop(),this.dispatchEvent("P"))};e.MU=function(a){Xn(this.ub.QW,a/this.Sh*100+"%")};
function yu(a,b){var c,d;n(b)&&0!=a.Sh?(c=Math.round(b),0>=c||!isFinite(c)?d=[0,0]:(d=0,60<=c&&(d=Math.floor(c/60),c%=60),d=[d,c]),c=Xa(d[0],10>d[1]?":0":":",d[1]),d=(new Wq("{MINUTES, plural, =0 {0 minutes }=1 {1 minute }other {# minutes }}{SECONDS, plural, =0 {0 seconds.}=1 {1 second.}other {# seconds.}}")).format({MINUTES:d[0],SECONDS:d[1]})):(c="\u2013:\u2013\u2013",d="Not started.");Le(a.oL,c);oh(a.oL,d)}
e.Nz=function(){var a=this.ub.Ga();this.BG!=a&&(this.Ta.stop(),this.BG=a,yu(this,this.getCurrentTime()),this.Ta.start())};e.getCurrentTime=function(){return this.ub.Ga()/this.ub.Md()*this.Sh};function zu(a){Y.call(this,a);this.kx=new jq(this.U());this.Aa(this.kx);this.ub=new ou(a,!1);this.Aa(this.ub);ru(this.ub);this.I1=0;this.jA=!1;this.f7=!0}w(zu,Y);var Au={0:"drive-viewer-audio-volumecontrol-volume-level-0-icon",33:"drive-viewer-audio-volumecontrol-volume-level-1-icon",66:"drive-viewer-audio-volumecontrol-volume-level-2-icon",100:"drive-viewer-audio-volumecontrol-volume-level-3-icon"};e=zu.prototype;
e.ra=function(){var a=this.U(),b=S(wu,void 0,void 0,a);this.$=b;var c=a.ua("drive-viewer-audio-volumecontrol-volume-button",this.H());this.kx.Na(c);this.ub.Ka(b);W(this.ub.H(),"drive-viewer-audio-volumecontrol-slider");W(this.ub.lc,"drive-viewer-audio-volumecontrol-slider-thumb");rs([this.ub.lc,this.kx.H()],a);Bn(this.H(),"direction","ltr")};e.ta=function(){zu.R.ta.call(this);this.ka().listen(this.ub,"O",this.Nz).listen(this.kx,"action",this.zfa);this.lt()};
e.init=function(){this.f7&&(this.f7=!1,Bu(this,100))};function Bu(a,b){pu(a.ub,Math.floor(b/100*a.ub.Md()))}e.zfa=function(){this.jA?(Bu(this,this.I1),this.jA=!1):(this.I1=this.yo(),Bu(this,0),this.jA=!0);this.lt()};e.Nz=function(){var a=this.yo();a:{for(var b in Au)if(a<=b){a=Au[Number(b)];break a}a=null}b=this.kx.H();qn(b,Sb(Au));W(b,a);this.jA=!1;this.lt();this.dispatchEvent("Q")};e.lt=function(){this.kx.mb(this.jA?"Unmute":"Mute")};
e.yo=function(){var a=this.ub.Ga()/this.ub.Md();return Math.round(100*a)};function Cu(a){Y.call(this,a);this.Ue=new jq(this.U());this.Aa(this.Ue);this.HH=null;this.xs=new xu(a);this.Aa(this.xs);this.Nn=new zu(a);this.Aa(this.Nn);this.pv=!1;this.Ok=this.Sh=0}w(Cu,Y);e=Cu.prototype;e.ra=function(){this.$=S(uu,void 0,void 0,this.U())};
e.ta=function(){Cu.R.ta.call(this);this.HH=this.ua("drive-viewer-audio-play-button");this.Ue.Na(this.HH);rs([this.Ue.H(),this.H()],this.U());var a=this.ua("drive-viewer-audio-progressbar-container");this.xs.Ka(a);a=this.ua("drive-viewer-audio-volumecontrol-container");this.Nn.Ka(a);this.ka().listen(this.Ue,"action",this.nea).listen(this.xs,"P",this.Cea).listen(this.Nn,"Q",this.Bfa);this.lt()};e.onDeactivated=function(){this.pause()};e.oS=function(a){this.Sh!=a&&(this.Sh=a,this.xs.oS(a))};
function Du(a,b){if(a.Ok!=b){a.Ok=b;var c=a.xs,d=a.Ok;c.Ta.enabled||(c.BG=Math.round(a.Ok/a.Sh*c.ub.Md()),yu(c,d),pu(c.ub,c.BG))}}e.MU=function(a){this.xs.MU(a)};e.nea=function(){this.pv?this.pause():this.play()};e.Cea=function(){this.dispatchEvent("T")};e.Bfa=function(){this.dispatchEvent("U")};e.play=function(){tn(this.HH,"drive-viewer-audio-play-icon","drive-viewer-audio-pause-icon");this.pv=!0;this.lt();this.dispatchEvent("S")};
e.pause=function(){tn(this.HH,"drive-viewer-audio-pause-icon","drive-viewer-audio-play-icon");this.pv=!1;this.lt();this.dispatchEvent("R")};e.lt=function(){this.Ue.mb(this.pv?"Pause":"Play")};e.cV=function(){var a=this.Nn.yo();Bu(this.Nn,Math.min(100,a+10))};e.bV=function(){var a=this.Nn.yo();Bu(this.Nn,Math.max(0,a-10))};e.getCurrentTime=function(){return this.xs.getCurrentTime()};e.yo=function(){return this.Nn.yo()};e.ne=function(){return this.pv};function Eu(a,b){Cr.call(this,a,b);this.W=a;this.md=null;this.Jd=new Cu(b);this.Aa(this.Jd);this.ho=new gh(100);A(this,this.ho)}w(Eu,Cr);var Fu=new D(325,32);e=Eu.prototype;e.ra=function(){this.$=S(tu,null,void 0,this.U())};
e.ta=function(){Eu.R.ta.call(this);var a;a=this.W;a.md||(a.md=we("audio"));a.md.canPlayType?(a=a.md.canPlayType(a.Rb()),a=""!=a&&"no"!=a):a=!1;a?(a=this.U(),this.md=me(a.Ba,"audio",null,this.H())[0],this.ka().listen(this.md,"ended",this.xca),this.Jd.Ka(this.H()),this.ka().listen(this.Jd,"S",this.oea).listen(this.Jd,"R",this.kea).listen(this.Jd,"T",this.Dea).listen(this.Jd,"U",this.Afa),this.ka().listen(Gr(this.getContext()),"o",this.Jz),this.ka().listen(this.ho,"tick",this.NU)):this.AI("Your browser is unable to play this audio file.")};
e.oea=function(){this.jR()};e.NU=function(){Du(this.Jd,this.md.currentTime)};e.kea=function(){this.md&&this.md.pause();this.ho.stop()};e.Dea=function(){1==this.W.Mk&&(this.ho.stop(),Gu(this,this.Jd.getCurrentTime()),this.ho.start())};function Gu(a,b){try{a.md.currentTime=b}catch(c){a.md.currentTime=Hu(a)}}e.Afa=function(){if(1==this.W.Mk){var a=this.Jd.yo()/100;this.md.volume=a}};
e.Tb=function(){Eu.R.Tb.call(this);this.layout();this.Jd.Nn.init();Qr(this);var a=0==zs(this.getContext().qa());Z(this.getContext()).At&&a&&this.Jd.play();a=Mr(this.getContext());Nr(a,13,this.Dz,this);Nr(a,32,this.Dz,this);Nr(a,187,this.Ro,this);Nr(a,107,this.Ro,this);Nr(a,189,this.Oo,this);Nr(a,109,this.Oo,this)};e.Oc=function(){Eu.R.Oc.call(this);Rr(this);this.ho.stop();this.md&&this.md.pause();this.Jd.onDeactivated()};
e.layout=function(){var a=this.H(),b=Fu.clone(),c=this.zd();b.width=Math.min(b.width,c.width);b.height=Math.min(b.height,c.height);c=this.Pj(b);Wn(a,b);In(a,c)};e.Nu=function(){this.W.Rd(4);this.AI()};e.AI=function(a){a?this.W.lb(V.ERROR,a,a,null):this.W.lb(V.ERROR,"There was a problem playing this audio file.")};e.Kz=function(){this.W.Rd(1);this.Jd.oS(this.md.duration);var a=this.Jd.yo()/100,b=this.Jd.getCurrentTime();Gu(this,b);this.md.volume=a;this.uc()&&this.Jd.ne()&&(this.NU(),this.ho.start())};
e.p0=function(){this.Jd.MU(Hu(this))};e.Dz=function(a){var b=this.getContext(),c=b.U().$c();!this.H().contains(c)&&!tr(ur(b))||nn(c,iq.Ra().Ma())||(a.preventDefault(),a.stopPropagation(),a=this.Jd,a.pv?a.pause():a.play())};e.Ro=function(){this.Jd.cV()};e.Oo=function(){this.Jd.bV()};function Hu(a){a=a.md.buffered;return 0==a.length?0:a.end(a.length-1)}e.xca=function(){var a=this.Jd;Du(a,a.Sh);a.pause()};
e.jR=function(){if(1==this.W.Mk)this.NU(),this.md.play(),this.ho.start();else if(0==this.W.xo()){this.W.Rd(2);var a=this.U(),b=Iu(this.getContext().qa()),c=this.getContext().qa().sg();this.QI=a.createElement("SOURCE");this.QI.src=this.W.zu(b,c);this.QI.type=this.W.Rb();a.appendChild(this.md,this.QI);this.ka().Fb(this.QI,"error",this.Nu);this.md.play();this.p0();this.ka().listen(this.md,"progress",this.p0);this.md.readyState>=this.md.HAVE_CURRENT_DATA?this.Kz():this.ka().Fb(this.md,"canplay",this.Kz);
Fs(oq(this.getContext()),{La:24,item:this.W});Ir(this)}};e.Jz=function(){Ju(Z(this.getContext()),this.W)&&this.Jd.pause()};e.Db=function(){Eu.R.Db.call(this);this.W.Rd(0)};function Ku(a,b){Hm.call(this,b||"au",a)}w(Ku,Hm);e=Ku.prototype;e.Yd=function(a){return et(a)+a.zu()};e.qe=function(a){return!!a.getName()&&!!a.zu()};e.Kf=function(){return[2,5]};e.kf=function(){return["application/ogg","application/x-flac","audio/"]};e.If=function(){return ht};e.Qi=function(){return Eu};e.rv=function(){return 2!=zs(this.getContext().qa())};function Lu(a){Ku.call(this,a,"au_d")}w(Lu,Ku);e=Lu.prototype;e.Yd=function(a){return et(a)+a.Oa()};e.qe=function(a){return!!a.getName()&&!!a.Oa()};e.If=function(){return it};e.Kf=function(){return[0]};e.isSupported=function(){return ft(this.getContext().qa())?!1:!0};function Mu(a){return Mu.c1(a)}Mu.c1=function(a){return a+"_"};Mu.Mra=function(){throw Error("xid.literal must not be used in COMPILED mode.");};Mu.object=function(a){if(a&&a.constructor&&a.constructor.toString()===Object.toString()){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[Mu.c1(c)]=a[c]);return b}throw Error("xid.object must be called with an object literal.");};Mu.tna=!0;Mu.tra=function(a){return a};Mu.Lra=function(){return"a_"!=Mu("a")};function Nu(a,b){this.qha=a;this.zc=b;this.constructor.gW||(this.constructor.gW={});this.constructor.gW[this.toString()]=this}Nu.prototype.pj=function(){return this.toString()};Nu.prototype.toString=function(){this.t6||(this.t6=this.qha.TM()+":"+this.zc);return this.t6};Nu.prototype.getType=function(){return this.zc};function Ou(a,b){Nu.call(this,a,b)}w(Ou,Nu);function Pu(a){this.Lb=a}Pu.prototype.TM=function(){return this.Lb};new Pu("lib");function Qu(a){this.wI=a}Qu.prototype.toString=function(){return this.wI};/*
 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.
*/
function Ru(a,b){this.Sp=[];this.V2=a;this.cY=b||null;this.wz=this.Yg=!1;this.Eg=void 0;this.cU=this.G9=this.BK=!1;this.sJ=0;this.Cb=null;this.yD=0}e=Ru.prototype;e.cancel=function(a){if(this.Yg)this.Eg instanceof Ru&&this.Eg.cancel();else{if(this.Cb){var b=this.Cb;delete this.Cb;a?b.cancel(a):(b.yD--,0>=b.yD&&b.cancel())}this.V2?this.V2.call(this.cY,this):this.cU=!0;this.Yg||this.od(new Su(this))}};e.IX=function(a,b){this.BK=!1;Tu(this,a,b)};function Tu(a,b,c){a.Yg=!0;a.Eg=c;a.wz=!b;Uu(a)}
e.Bj=function(){if(this.Yg){if(!this.cU)throw new Vu(this);this.cU=!1}};e.Jb=function(a){this.Bj();Tu(this,!0,a)};e.od=function(a){this.Bj();Tu(this,!1,a)};function Wu(a,b,c){return Xu(a,b,null,c)}function Yu(a,b){return Xu(a,null,b,void 0)}function Zu(a,b,c){return Xu(a,b,b,c)}function Xu(a,b,c,d){a.Sp.push([b,c,d]);a.Yg&&Uu(a);return a}e.then=function(a,b,c){var d,f,g=new Ig(function(a,b){d=a;f=b});Xu(this,d,function(a){a instanceof Su?g.cancel():f(a)});return g.then(a,b,c)};Gg(Ru);
function $u(a,b){Xu(a,b.Jb,b.od,b)}function av(a,b){b instanceof Ru?Wu(a,t(b.Rt,b)):Wu(a,function(){return b})}Ru.prototype.Rt=function(a){var b=new Ru;$u(this,b);a&&(b.Cb=this,this.yD++);return b};function bv(a){return ob(a.Sp,function(a){return ja(a[1])})}
function Uu(a){if(a.sJ&&a.Yg&&bv(a)){var b=a.sJ,c=cv[b];c&&(l.clearTimeout(c.Sa),delete cv[b]);a.sJ=0}a.Cb&&(a.Cb.yD--,delete a.Cb);for(var b=a.Eg,d=c=!1;a.Sp.length&&!a.BK;){var f=a.Sp.shift(),g=f[0],h=f[1],f=f[2];if(g=a.wz?h:g)try{var k=g.call(f||a.cY,b);n(k)&&(a.wz=a.wz&&(k==b||k instanceof Error),a.Eg=b=k);if(Hg(b)||"function"===typeof l.Promise&&b instanceof l.Promise)d=!0,a.BK=!0}catch(m){b=m,a.wz=!0,bv(a)||(c=!0)}}a.Eg=b;d&&(k=t(a.IX,a,!0),d=t(a.IX,a,!1),b instanceof Ru?(Xu(b,k,d),b.G9=!0):
b.then(k,d));c&&(b=new dv(b),cv[b.Sa]=b,a.sJ=b.Sa)}function ev(a){var b=new Ru;b.Jb(a);return b}function fv(a){var b=new Ru;b.od(a);return b}function Vu(a){sa.call(this);this.Rq=a}w(Vu,sa);Vu.prototype.message="Deferred has already fired";Vu.prototype.name="AlreadyCalledError";function Su(a){sa.call(this);this.Rq=a}w(Su,sa);Su.prototype.message="Deferred was canceled";Su.prototype.name="CanceledError";function dv(a){this.Sa=l.setTimeout(t(this.Pla,this),0);this.kg=a}
dv.prototype.Pla=function(){delete cv[this.Sa];throw this.kg;};var cv={};function gv(a){z.call(this);this.xf={};this.EP={};this.vI={};this.yn={};this.yW={};this.B2={};this.Xq=a?a.Xq:new H;this.rla=!a;this.hB=null;a?(this.hB=a,this.vI=a.vI,this.yn=a.yn,this.EP=a.EP,this.yW=a.yW):u();a=hv(this);this!=a&&(a.HD?a.HD.push(this):a.HD=[this])}w(gv,z);function hv(a){for(;a.hB;)a=a.hB;return a}function iv(a,b){for(var c=a;c;){if(c==b)return!0;c=c.hB}return!1}gv.prototype.get=function(a){var b=qi(this,a);if(null==b)throw new jv(a);return b};
function qi(a,b){for(var c=a;c;c=c.hB){if(c.isDisposed())throw Error("AppContext is disposed.");if(c.xf[b])return c.xf[b][0];if(c.B2[b])break}if(c=a.vI[b]){c=c(a);if(null==c)throw Error("Factory method for service "+b+" returned null or undefined.");a.Wb(b,c);return c}return null}gv.prototype.Wb=function(a,b,c){if(this.isDisposed())c||rc(b);else{this.xf[a]=[b,!c];c=kv(this,this,a);for(var d=0;d<c.length;d++)c[d].Jb(null);delete this.EP[a];return b}};
function lv(a,b,c){a.vI[b]=c;if(c=a.yn[b]){if(1<c.length){for(var d=0;d<c.length;++d)c[d].index=d;c.sort(mv)}for(;c.length;)c.shift().d.Jb(null);delete a.yn[b]}}function mv(a,b){if(a.Bq!=b.Bq){if(iv(a.Bq,b.Bq))return 1;if(iv(b.Bq,a.Bq))return-1}return a.index<b.index?-1:a.index==b.index?0:1}function kv(a,b,c){var d=[],f=a.yn[c];f&&(kb(f,function(a){iv(a.Bq,b)&&(d.push(a.d),wb(f,a))}),0==f.length&&delete a.yn[c]);return d}
function nv(a,b){a.yn&&vj(a.yn,function(a,d,f){kb(a,function(d){d.Bq==b&&wb(a,d)});0==a.length&&delete f[d]})}gv.prototype.ma=function(){if(hv(this)==this){var a=this.HD;if(a)for(;a.length;)a[0].dispose()}else for(var a=hv(this).HD,b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}for(var c in this.xf)a=this.xf[c],a[1]&&a[0].dispose&&a[0].dispose();this.xf=null;this.rla&&this.Xq.dispose();nv(this,this);this.yn=null;rc(this.sja);this.B2=this.sja=null;gv.R.ma.call(this)};
function jv(a){sa.call(this);this.id=a;this.message='Service for "'+a+'" is not registered'}w(jv,sa);var ov=new Pu("fva");new Ou(ov,1);var Fr=new Qu(Mu("drive.viewer.diagnostics.ActivityActionManager")),pv=new Qu(Mu("drive.viewer.a11y.Announcer")),ri=new Qu(Mu("apps.apiary.ApiaryClient")),qv=new Qu(Mu("apps.devapps.AppDatastore")),rv=new Qu(Mu("drive.viewer.control.ChromeVisibilityManager")),sv=new Qu(Mu("drive.viewer.proto.Config")),tv=new Qu(Mu("drive.viewer.ui.CustomButtonsProvider")),uv=new Qu(Mu("drive.viewer.model.Deck")),vv=new Qu(Mu("drive.viewer.docos.DocosJsLoader")),wv=new Qu(Mu("goog.dom.DomHelper")),xv=new Qu(Mu("drive.gmail.organize.DriveFolderPicker")),
yv=new Qu(Mu("drive.viewer.ui.core.DriveFolderPicker")),Fm=new Qu(Mu("drive.viewer.net.DriveService")),zv=new Qu(Mu("drive.viewer.control.ApiaryExtractManager")),Av=new Qu(Mu("drive.viewer.a11y.FocusManager")),Bv=new Qu(Mu("drive.viewer.ui.HatsManager")),Cv=new Qu(Mu("drive.viewer.diagnostics.ImpressionManager")),Dv=new Qu(Mu("drive.viewer.model.ItemFactory")),Ev=new Qu(Mu("drive.viewer.diagnostics.ItemLoadLatencyTracker")),Fv=new Qu(Mu("drive.viewer.keyboard.KeyboardService")),Gv=new Qu(Mu("drive.viewer.layout.LayoutMetrics")),
Hv=new Qu(Mu("drive.viewer.net.LoaderService")),Iv=new Qu(Mu("drive.viewer.maps.MapsApiLoader")),Jv=new Qu(Mu("drive.viewer.ui.NotificationManager")),Kv=new Qu(Mu("drive.viewer.control.OpenManager")),Lv=new Qu(Mu("drive.organize.OrganizeService")),Gm=new Qu(Mu("drive.viewer.details.ParentDetailsCache")),Mv=new Qu(Mu("drive.organize.ParentUpdateService")),Nv=new Qu(Mu("drive.viewer.diagnostics.PerformanceManager")),Ov=new Qu(Mu("drive.viewer.prefs.PrefsManager")),Pv=new Qu(Mu("drive.viewer.proto.PreviewConfig")),
Qv=new Qu(Mu("drive.viewer.ui.PromoProvider")),Rv=new Qu(Mu("drive.viewer.promo.PromoTooltipManager")),Sv=new Qu(Mu("drive.viewer.diagnostics.StatSender")),Tv=new Qu(Mu("drive.viewer.model.Store")),Uv=new Qu(Mu("drive.viewer.model.Filmstrip")),Vv=new Qu(Mu("drive.viewer.ui.base.ThumbnailRenderer")),Wv=new Qu(Mu("drive.viewer.model.UiState")),Xv=new Qu(Mu("drive.viewer.model.Viewport")),Yv=new Qu(Mu("drive.viewer.video.YoutubeApiLoader"));function Zv(){gv.call(this,null)}w(Zv,gv);Zv.prototype.qa=function(){return this.get(sv)};function $v(a){return qi(a,qv)}function aw(a){return a.get(Jv)}function Lr(a){return a.get(tv)}function Z(a){return a.get(uv)}Zv.prototype.U=function(){return this.get(wv)};function ur(a){return a.get(Av)}function xr(a){return a.get(Gv)}function Mr(a){return a.get(Fv)}function bw(a){return qi(a,Uv)}function Gr(a){return a.get(Wv)}function cw(a){return a.get(rv)}function oq(a){return a.get(Cv)}
function yq(a){return a.get(Nv)}function Ar(a){return a.get(Xv)}Zv.prototype.Fu=function(){return this.get(Rv)};Zv.prototype.Od=function(){var a=aj(this.qa(),dw,47);return!!a&&a.QZ()};function ew(a){z.call(this);this.S=a;this.wa=yq(a);this.ha=new K(this);A(this,this.ha);this.un={}}w(ew,z);function fw(a,b){var c=pi(a.S.qa()),d=b.getFeature().mM,f=b.Rb(),g=tb(Zs,f),h=tb($s,f),f=tb(at,f),k=aj(c,Vs,16),d="ar_d"==d||"ar_g"==d,m=hm(b.pb)||im(b.pb);return d&&!m&&!!c&&gw(c)&&(g&&hw(c)||h&&iw(k)||f&&jw(k))}
function kw(a,b){var c=b.item,d=new gh(5E3);Yb(a.un,c.getId(),d);qc(c,function(){wq(this.wa,b.Um,mq.sx);var a=Zb(this.un,c.getId());a&&(Xb(this.un,c.getId()),a.stop())},a);a.ha.listen(d,"tick",t(a.vaa,a,b));d.start()}e=ew.prototype;e.vaa=function(a){var b=Zb(this.un,a.item.getId());b&&b.stop();wi(qi(this.getContext(),Fm),a.item.BE,t(this.$ha,this,a),t(this.Zha,this,a))};
e.$ha=function(a,b){var c=a.item;if("FAILED"==b.status)wq(this.wa,a.Um,mq.uq),lw(this,c.getName()),mw(this,c);else if("SUCCEEDED"==b.status){wq(this.wa,a.Um,mq.wt);if(!this.getContext().isDisposed()&&Jr(Z(this.getContext()))){var d=a.item,f=aw(this.getContext()),g=tb(at,d.Rb()),d=d.getName(),h=a.A$;f.showNotification(g?"Messages from "+(d+(' were extracted to your mail account under the "Import: '+(h+'" label.'))):'Successfully extracted "'+(d+('" to '+(x(za(h))?"My Drive":h))),!0,1E4)}mw(this,c)}else a.IH=
0,nw(this,c)};e.Zha=function(a){var b=a.item;12<=a.IH?(wq(this.wa,a.Um,mq.uq),lw(this,b.getName()),mw(this,b)):(a.IH+=1,nw(this,b))};function mw(a,b){var c=Zb(a.un,b.getId());c&&(c.stop(),Xb(a.un,b.getId()),c.dispose());b.BE=null;b.dispatchEvent("n")}function nw(a,b){var c=Zb(a.un,b.getId());c&&!c.enabled&&c.start()}e.ma=function(){Mb(this.un,function(a,b){wq(this.wa,"e_"+b,mq.sx);a.dispose()},this);this.un={};ew.R.ma.call(this)};e.Yha=function(a,b,c,d){a.BE=d.id;kw(this,{item:a,Um:b,A$:c,IH:0})};
function lw(a,b){!a.getContext().isDisposed()&&Jr(Z(a.getContext()))&&aw(a.getContext()).showNotification('There was a problem extracting "'+(b+'".'),!0,1E4)}e.Xha=function(a,b){wq(this.wa,b,mq.uq);!this.getContext().isDisposed()&&Jr(Z(this.getContext()))&&(aw(this.getContext()).showNotification("Failed to start extract job.",!0,1E4),mw(this,a))};e.getContext=function(){return this.S};function ow(a){this.tc=a.u||null;this.n$=a.cc||null}function pw(a){var b={};b.u=null!=a?a:null;return new ow(b)}ow.prototype.getUrl=function(){return this.tc};ow.prototype.Ma=function(){return this.n$};function qw(a){var b={},c;for(c in a.To){var d=zb(a.To[c]);d.sort(rw);b[c]=d}this.To=b;this.xK=a.xK}var sw={10:32,16:32,32:64,48:128,64:128,128:256};qw.prototype.getIcon=function(a,b){var c=tw(this,a);if(!c)return null;b=!this.xK&&1<window.devicePixelRatio?sw[b]||b:b;return uw(c,b)};function tw(a,b){var c;if(a.To[b])c=a.To[b];else if("doc_sh"==b)c=tw(a,"doc");else{a:{c=a.To;for(var d in c){c=c[d];break a}c=void 0}c=c||null}return c}
function uw(a,b){var c=qb(a,function(a){return a.size>=b});return c?c.icon:a[a.length-1].icon}function vw(a,b){this.icon=a;this.size=b}function rw(a,b){return a.size-b.size}function ww(a){this.To={};this.xK=!!a}function xw(a,b,c,d){if(null!=d&&0<d.length){d=pw(d);var f=a.To[b];f||(f=[],a.To[b]=f);f.push(new vw(d,c))}return a}ww.prototype.Hd=function(){return new qw(this)};function yw(a){this.f6=a.supportsCreate||!1;this.Gla=a.supportsImport||!1;this.nma=a.useByDefault||!1;this.wB=a.primaryMimeTypes||[];this.N4=a.secondaryMimeTypes||[];this.PH=a.primaryFileExtensions||[];this.UR=a.secondaryFileExtensions||[];this.lH=a.openUrlTemplate||"";this.RX=a.createUrl||"";this.hL=a.createInFolderTemplate||"";this.Dka=n(a.requiresAuthorizationBeforeOpenWith)?a.requiresAuthorizationBeforeOpenWith:!0}var zw=/\{folderId\}/g;
yw.prototype.qZ=function(a){return a?this.hL.replace(zw,a):this.RX};function Aw(a){this.QV=a.absoluteScore||0;this.g2=Bw(a.mimeTypeScores||[]);this.SY=Bw(a.fileExtensionScores||[])}function Bw(a){var b={};y(a,function(a){var d=a.type;a=a.score;null!=d&&null!=a&&(b[d]=a)});return b}function Cw(a,b){return b in a.g2?a.g2[b]:0}function Dw(a,b){return b in a.SY?a.SY[b]:0};function Ew(a){this.Sa=a.id;this.Lb=a.name;this.zc=a.type||"WEB_ONLY";this.fga=a.installed||!1;this.v9=a.authorized||!1;this.sR=a.productId||null;this.wO=Fw(a.icons);this.z5=a.shortDescription||"";this.Wa=new yw(a);this.Kp=new Aw(a.rankingInfo||{});this.W9=a.chromeExtensionIds||[];this.TF=!1}function Fw(a){var b=new ww;null!=a&&y(a,function(a){xw(b,a.category,a.size,a.iconUrl)});return b.Hd()}e=Ew.prototype;e.getId=function(){return this.Sa};e.getName=function(){return this.Lb};e.getType=function(){return this.zc};
e.Co=function(a,b){var c=this.wO.getIcon(b,a);return c?c.getUrl():null};e.Ty=function(a){return this.Co(a,"app")};e.isInstalled=function(){return this.fga};e.QO=function(){return this.v9};e.AX=function(a){return Da(this.getName(),a.getName())};e.clone=function(){return this.PD(this)};
e.PD=function(a){if(null==a||"object"!=typeof a)return a;if(a instanceof Date){var b=new Date;b.setTime(a.getTime());return b}if(a instanceof Array){for(var b=[],c=0,d=a.length;c<d;c++)b[c]=this.PD(a[c]);return b}if(a instanceof Object){b=Object.create(a.constructor.prototype);for(c in a)a.hasOwnProperty(c)&&(b[c]=this.PD(a[c]));return b}throw Error("Unsupported type for cloning");};function Gw(){Ew.call(this,{id:"",name:"Default native app"})}w(Gw,Ew);function Hw(a,b,c){var d={};d.id=a;d.name=b;Ew.call(this,d);this.tW=c||""}w(Hw,Ew);Hw.prototype.Ty=function(){return this.tW};function Iw(a,b){b||(b={});var c=window,d;d=a instanceof Xc?a:ad("undefined"!=typeof a.href?a.href:String(a));var f=b.target||a.target,g=[],h;for(h in b)switch(h){case "width":case "height":case "top":case "left":g.push(h+"="+b[h]);break;case "target":case "noreferrer":break;default:g.push(h+"="+(b[h]?1:0))}g=g.join(",");Gd()&&c.navigator&&c.navigator.standalone&&f&&"_self"!=f?(g=c.document.createElement("A"),d=d instanceof Xc?d:ad(d),g.href=Zc(d),g.setAttribute("target",f),b.noreferrer&&g.setAttribute("rel",
"noreferrer"),d=document.createEvent("MouseEvent"),d.initMouseEvent("click",!0,!0,c,1),g.dispatchEvent(d),c={}):b.noreferrer?(c=c.open("",f,g),d=Zc(d),c&&(Jd&&-1!=d.indexOf(";")&&(d="'"+d.replace(/'/g,"%27")+"'"),c.opener=null,d=nj(Nc("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Ga(d)+'">'),c.document.write(id(d)),c.document.close())):c=c.open(Zc(d),f,g);return c};function Jw(){return U('Unable to convert document. <a target="_blank" href="https://docs.google.com/a/google.com/forms/d/1RxuCHrRnISjAnf8Zl65sIPVgq2rV6kFVLZWkNVrY2HQ/viewform">Report an issue</a>')}function Kw(){return U('File version too old. Please make sure the file is in the latest format. <a target="_blank" href="https://support.google.com/drive/answer/2407404?hl=en">Learn More</a>')}function Lw(){return U("Corrupted document. Please make sure the file is in the latest format.")}
function Mw(){return U("Password protected files are not supported.")}function Nw(){return U('File is too large. <a target="_blank" href="https://support.google.com/docs/answer/37603">Learn more</a>')}function Ow(){return U("File could not be converted: conversion timed out. Please try again later.")}function Pw(){return U("File content doesn't match expected file format.")}function Qw(){return U("File has too many shapes, textboxes, or drawings.")}
function Rw(){return U("File has too many images.")}function Sw(){return U("File has too many charts.")}function Tw(){return U("Sorry, an error occurred when opening this file. Please try again.")}function Uw(){return U("Sorry, we were unable to authorize this app for all of the files you attempted to open. Please try again.")}function Vw(){return U("Sorry, opening multiple files with this app is not supported.")};function Ww(a){return Xw(a)||Yw(a)&&"application/vnd.google-apps.folder"!=a}function Xw(a){return ua(a,"application/vnd.google-apps.drive-sdk")}function Yw(a){return!Xw(a)&&ua(a,"application/vnd.google-apps")};function Zw(){}var $w=/{ids}/g,ax=/{exportIds}/g,bx=/%22ids%22:%5B%22{ids}%22%5D,?/,cx=/%22exportIds%22:%5B%22{exportIds}%22%5D,?/,dx=/state=%7B/;
Zw.prototype.resolve=function(a,b){var c=[],d=[],f;for(f in b)if(b.hasOwnProperty(f)){var g=b[f];1==g||2==g?c.push(f):3==g&&d.push(f)}dx.test(a)?(a=0<c.length?a.replace($w,c.join(encodeURI('","'))):a.replace(bx,""),a=0<d.length?a.replace(ax,d.join(encodeURI('","'))):a.replace(cx,"")):(a=0<c.length?a.replace($w,c.join(",")):a.replace($w,""),a=0<d.length?a.replace(ax,d.join(",")):a.replace(ax,""));return a};function ex(a,b){z.call(this);this.Fj=a;this.bA=b;this.UQ=new Zw}w(ex,z);function fx(a,b,c){if(c.Wa){c=c.Wa.wB;a=a.bA.gU.get(b,null)||[];var d={};for(b=0;b<a.length;b++)d[a[b]]=!0;return qb(c,function(a){return d[a]})}return null}function gx(a,b,c,d,f){var g=null,h=d.Wa.lH;x(h)||(g={},g[b]=f,g=a.UQ.resolve(h,g));return g&&hx(d,c,f)?ev(g):Yu(ix(a.Fj,b,d,f),function(){return fv("Y")})}function hx(a,b,c){return Ww(b)&&1==c?!0:(a=a.Wa)&&!a.Dka?!0:!1}
ex.prototype.Paa=function(a,b){return gx(this,b.waa,b.mimeType,a,2)};function jx(a){switch(a){case "conversionCorruptedInput":return Lw;case "conversionInputDoesNotMatchSpecifiedMimeType":return Pw;case "conversionInputTooLarge":case "conversionOutputTooLarge":return Nw;case "badRequest":case "conversionMissingCredentials":return Mw;case "conversionTimeout":return Ow;case "conversionTooManyCharts":return Sw;case "conversionTooManyDrawings":return Qw;case "conversionTooManyImages":return Rw;case "conversionUnsupportedFormat":return Kw;case "X":return Tw;case "Y":return Uw;
case "Z":return Vw;default:return Jw}};function kx(){z.call(this);this.RP="//ssl.gstatic.com/ui/v1/activityindicator/loading.gif";this.nx={};this.wha=0}w(kx,z);e=kx.prototype;e.hja=function(a,b){var c=document;if(c.createEvent){var d=!!b&&!Kd,f=d&&!Nd,d=d&&Nd,g=we("a",{href:a,target:"_blank",rel:"noreferrer",style:"display: none"}),h=c.createEvent("MouseEvent");h.initMouseEvent("click",!0,!0,window,0,0,0,0,0,f,!1,!1,d,0,null);Ae(c.body,g);g.dispatchEvent(h);De(g)}else c=lx("","",this.RP),I(t(this.v5,this,c,a),0)};
e.mla=function(a,b){var c=mx(this,a);c&&(Xb(this.nx,a),this.v5(c,b))};e.lla=function(a,b){var c=mx(this,a);if(c){var d=c.document.getElementById("message");d&&($k(d,jx(b)),(c=c.document.getElementById("loading"))&&X(c,!1),Xb(this.nx,a))}};function mx(a,b){var c=Zb(a.nx,b);if(c){if(!c.closed)return c;Xb(a.nx,b)}return null}e.v5=function(a,b){a.location.replace(b)};
function lx(a,b,c){var d=Iw("",{target:"_blank",noreferrer:!0}),f;f=f||{};b=""+('<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>'+ul("Loading...")+'</title></head><body style="'+(f.bc?"/*"+f.bc+"*/":"")+'border: 0; margin: 0; padding: 0; font-family: arial,sans-serif;"><table id="contents" style="'+(f.bc?"/*"+f.bc+"*/":"")+'width: 100%; height: 90%;"><tbody><tr valign="middle" style="'+(f.bc?"/*"+f.bc+"*/":"")+'text-align: center;"><td><div id="logo"><img src="'+
wl(Cl(b))+'" /></div><div style="'+(f.bc?"/*"+f.bc+"*/":"")+'color: #990000" id="message"><div style="'+(f.bc?"/*"+f.bc+"*/":"")+'display: inline; margin-left: 4px;"></div></div><div id="loading"><img src="'+wl(Cl(c))+'" style="'+(f.bc?"/*"+f.bc+"*/":"")+'padding-top:30px;"/></div></td></tr></tbody></table></body></html>');b=U(b);b=Yk(b);d.document.open();d.document.write(id(b));d.document.title=a;d.document.close();return d}e.ma=function(){Wb(this.nx);kx.R.ma.call(this)};function nx(a,b){G.call(this,a,b)}w(nx,G);function ox(a){var b=new kj;n(a.Kv)&&!x(a.Kv)&&b.Gw(a.Rb());n(a.zm)&&0<a.zm&&b.WB(a.ZE());a=a.getData();b.Ed(a.naturalWidth);b.Sd(a.naturalHeight);return b}function px(a,b,c,d){var f=new Js;f.Wp(a.getId());f.Bn(a.getName());n(b)&&N(f,3,b);n(c)&&N(f,4,c);n(d)&&N(f,5,d);a=new Ms;a.Y4(f);return a}function qx(a){var b=aj(a,Ms,11);b||(b=new Ms,cj(a,11,b));return b};var rx=["dv_atd",3],sx=["dv_c",18],tx=["dv_d",14],ux=["dv_do",12],vx=["dv_po",4],wx=["dv_rn",11],xx=["dv_ra",15],yx=["dv_s",8],zx=["dv_ud",16];function Ax(a,b,c){this.W=a;this.Ml=c||[];this.J9=b}Ax.prototype.getItem=function(){return this.W};Ax.prototype.Au=function(){return this.J9};Ax.prototype.getSelected=function(){return this.Ml};function Bx(a,b,c){Ax.call(this,a,b);this.wga=!!c}w(Bx,Ax);function Cx(a,b){Kf.call(this,a,b)}w(Cx,Kf);function Dx(a,b,c){H.call(this);this.S=a;(c||{}).dv_br=b[1];this.action=new Cx(b[0],c);A(this,this.action);this.ha=new K(this);A(this,this.ha);this.Ud=new Sf(this);A(this,this.Ud);this.Ud.xk(this.action,Hf,this.Hm)}w(Dx,H);Dx.prototype.getContext=function(){return this.S};Dx.prototype.ka=function(){return this.ha};Dx.prototype.wd=function(){return this.action};function Ex(a){H.call(this);this.S=a;this.Fe=null;this.At=!1;this.Ml=[];this.lC=a.get(Tv)}w(Ex,H);e=Ex.prototype;e.wg=function(){return 0<this.dz().length&&null!=this.Fe};function Fx(a,b,c){var d=-1;if(b=Gx(a.lC,b))var f=b.getId(),d=rb(a.lC.cu,function(a){return a.getId()==f});0>d&&(d=0);a.setActive(d,void 0,c)}
e.iK=function(a){for(var b=Hx(this),c=this.lC,d=[],f=0;f<a.length;f++){var g=a[f],h=Ix(c.mG,g);if(c.Yn.Wd(h)){var k=c.Yn.get(h);k.Nk(g);d[f]=k}}for(f=a.length-1;0<=f;f--){var g=a[f],h=Ix(c.mG,g),k=f,m;if(!(m=d[f])){m=c.mG;var q=Jx(m,g),v=q.Yd(g),g=new (q.If())(g.Ya(),v);g.RY=q;if(v=q.hN())q=g,v=new v,q.hb=v,A(q,q.hb),q.hb.Fg(q),q=g,v=new Kx(g,m.S),q.tt=v,A(q,v);if(Lx(m.S.qa())){var q=new Mx(g),v=g,B=q;v.Mb=B;A(v,B);if(Nx(g)||Lr(m.S).Fk)v=new rm(g),q.Wa=v,v.Fg(q),A(q,v)}g.Fg(Z(m.S));m=g}d[k]=m;c.Yn.set(h,
d[f])}for(f=0;f<d.length;f++)k=d[f],h=k.getId(),c.ky[h]||(c.cu.push(k),c.ky[h]=k);Ox(c);a=Hx(this);b<a&&this.dispatchEvent("fa")};function Hx(a){return a.dz().length}e.getItem=function(a){return this.dz()[a]};e.dz=function(){return this.lC.cu};function Jr(a){return null!==a.Fe&&!!a.Ea()}e.Ea=function(){return this.getItem(this.Fe)};e.getSelected=function(){return this.Ml};function Px(a){return 0<a.Ml.length}e.LD=function(){ub(this.Ml);this.dispatchEvent("ia")};
e.setActive=function(a,b,c){if(a!=this.Fe){Jr(this)?this.At=!1:this.At=!0;b=new Qx(b||null,c);this.Fe=a;a=xr(this.S);if(2==zs(a.S.qa())){switch(Z(a.S).Ea().getFeature().mM){case "ar_d":case "ar_g":case "ar_t":case "i":case "i_d":case "pu":case "si":case "sn":case "snt":case "v_d":case "v_t":case "v_y":a.DJ=0;a.IF=0;break;default:a.DJ=a.IF}a.dispatchEvent("Aa")}this.dispatchEvent(b)}};e.Zo=function(a){return tb(this.Ml,a)};function Ju(a,b){return Jr(a)&&b.getId()==a.Ea().getId()}
function Qx(a,b){G.call(this,"ea");this.cause=a;this.pX=b}w(Qx,G);function Rx(a,b,c){G.call(this,"ja");this.item=a;this.success=b;this.payload=c}w(Rx,G);function Sx(a,b){Dx.call(this,a,b,{visible:!1,enabled:!1,dv_efs:!1,dv_vfs:!1,dv_us:!1});this.bE={};this.wa=yq(a);var c=Z(a);this.ka().listen(c,"ea",this.h0);this.Lu!==p&&this.ka().listen(c,"j",this.Lu)}w(Sx,Dx);e=Sx.prototype;e.h0=function(){var a=this.Fh();this.action.setVisible(a);this.action.setEnabled(a)};e.Lu=p;function Tx(a,b){var c=b.target.bh().bh(),d=Z(a.getContext());return Jr(d)&&c.getId()==d.Ea().getId()}
e.Fh=function(){if(this.getContext().isDisposed())return!1;var a=Z(this.getContext());return Jr(a)&&!!a.Ea().pb.Oa()};function Ux(a,b,c,d){var f=b.getId();a.bE[f]&&a.bE[f].cancel();a.bE[f]=c;var g=d?a.cN():a.Yh();Vx(a,g,b,c);Gh(c,t(a.qF,a,b,!!d));Hh(c,function(a){a instanceof vh||this.Ku(b)},a);qc(a,function(){this.bE[f].cancel()},a)}e.qF=p;e.Ku=p;function Vx(a,b,c,d){null!=b&&(b=sq(a.wa,"da_",{La:b,item:c}),a=t(a.Pea,a,b),yh(d,a,void 0))}
e.Pea=function(a,b){var c;c="success"==b.getState()?mq.wt:b.hi()?mq.sx:mq.uq;wq(this.wa,a,c)};e.Yh=function(){return null};e.cN=function(){return null};function Wx(a){Sx.call(this,a,rx);this.action.setProperty("dv_us",!0)}w(Wx,Sx);e=Wx.prototype;e.Fh=function(){var a=Z(this.getContext()).Ea();return!!a.pb.Oa()&&3==a.dA};e.Lu=function(a){Tx(this,a)&&(a=this.Fh(),this.action.setVisible(a),this.action.setEnabled(a))};
e.Hm=function(a){var b=Z(this.getContext()).Ea(),c=b.ud(),d=qi(this.getContext(),Mv);a.data instanceof Bx&&a.data.wga?(a=d.Kn(b.pb.Oa(),void 0,["root"]),a.then(t(this.qfa,this,b),t(this.pfa,this,b)),Ux(this,b,a,!0)):3==c&&(b.rk(2),a=d.Kn(b.pb.Oa(),["root"]),a.then(t(this.mN,this,b),t(this.lN,this,b)),Ux(this,b,a,!1))};e.mN=function(a){a.rk(4);a.Mb.Wa.Kn(["root"])};e.lN=function(a){a.rk(3)};
e.qfa=function(a){a.rk(3);a.Mb.Wa.Kn(void 0,["root"]);this.getContext().isDisposed()||aw(this.getContext()).showNotification("Action undone.",!1,5E3)};e.pfa=function(a){a.rk(4);this.getContext().isDisposed()||aw(this.getContext()).showNotification("Action could not be undone.",!1,5E3)};e.Yh=function(){return null};e.cN=function(){return 55};function Xx(a){Sx.call(this,a,sx);this.action.setProperty("visible",!1);this.action.setProperty("enabled",!1);this.action.setProperty("label","Add comment");this.action.setProperty("hint","Add comment");this.action.setProperty("icon","drive-viewer-add-comment-icon");this.action.setProperty("dv_br",18)}w(Xx,Sx);Xx.prototype.Fh=function(){return!!Z(this.getContext()).Ea()};Xx.prototype.Hm=function(){Z(this.getContext()).Ea()};function Yx(a){a=(a=Zx(a.qa()))&&a.Do();return 1==a||10==a}function Nx(a){var b=a.pb;a=b.Oa();b=b.cl();return!x(za(a))&&(0==b||6==b)};function $x(a){Sx.call(this,a,ux);this.UO=Yx(a);this.action.setProperty("icon",this.UO?"drive-viewer-organize-icon":"drive-viewer-drive-organize-icon");a=this.UO?"Move to...":"Organize";this.action.setProperty("label",a);this.action.setProperty("hint",a)}w($x,Sx);$x.prototype.Fh=function(){var a=this.getContext(),b=Z(a).Ea(),a=(a=Lr(a).Fk)&&a.isEnabled()&&a.Ca();if(!b.pb.Oa()||a||4!=b.dA)return!1;b=b.Mb.Wa;return!!b&&(!this.UO||1==b.vm)};
$x.prototype.Lu=function(a){Tx(this,a)&&(a=this.Fh(),this.action.setVisible(a),this.action.setEnabled(a))};$x.prototype.Hm=p;function ay(a){H.call(this);this.Ta=null;this.$=a;a=E||Id||Ld&&!Yd("531")&&"TEXTAREA"==a.tagName;this.Fa=new K(this);this.Fa.listen(this.$,a?["keydown","paste","cut","drop","input"]:"input",this)}w(ay,H);
ay.prototype.handleEvent=function(a){if("input"==a.type)E&&Yd(10)&&0==a.keyCode&&0==a.charCode||(by(this),this.dispatchEvent(cy(a)));else if("keydown"!=a.type||so(a)){var b="keydown"==a.type?this.$.value:null;E&&229==a.keyCode&&(b=null);var c=cy(a);by(this);this.Ta=I(function(){this.Ta=null;this.$.value!=b&&this.dispatchEvent(c)},0,this)}};function by(a){null!=a.Ta&&(J(a.Ta),a.Ta=null)}function cy(a){a=new bg(a.Qb);a.type="input";return a}
ay.prototype.ma=function(){ay.R.ma.call(this);this.Fa.dispose();by(this);delete this.$};function dy(a){Cp.call(this,a)}w(dy,Cp);e=dy.prototype;e.pl=null;e.dc=function(a){dy.R.dc.call(this,a);this.kh()};e.ra=function(){this.$=this.U().ra("INPUT",{type:"text"});this.kh()};e.kh=function(){this.lS();this.pl=new ay(this.H());qg(this.pl,"input",this.lS,!1,this)};e.lS=function(){var a=this.H();if(a){var b=this.Ga();switch(Ec(b)){case 1:a.dir="ltr";break;case -1:a.dir="rtl";break;default:a.removeAttribute("dir")}}};e.Ao=function(){var a=this.H().dir;""==a&&(a=null);return a};
e.qb=function(a){var b=this.H();null!=b.value?b.value=a:Le(b,a);this.lS()};e.Ga=function(){var a=this.H();return null!=a.value?a.value:Ve(a)};e.ma=function(){this.pl&&(Ag(this.pl),this.pl.dispose(),this.pl=null,dy.R.ma.call(this))};var ey=E?'javascript:""':"about:blank";function fy(a,b){var c;c=b?Sc(b):"";return a.ra("iframe",{frameborder:0,style:"border:0;vertical-align:bottom;"+c,src:ey})}function gy(a,b,c,d){var f=he(a);b=pd("html",{},sd(pd("head",{},b),pd("body",{},c)));d=fy(f,d);a.appendChild(d);a=Ke(d);a.open();a.write(id(b));a.close();return d};function hy(a){H.call(this);this.$=a;a=E?"focusout":"blur";this.Iga=qg(this.$,E?"focusin":"focus",this,!E);this.Jga=qg(this.$,a,this,!E)}w(hy,H);hy.prototype.handleEvent=function(a){var b=new bg(a.Qb);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};hy.prototype.ma=function(){hy.R.ma.call(this);zg(this.Iga);zg(this.Jga);delete this.$};function iy(a,b){this.$=a;this.Ha=b};function jy(a,b){H.call(this);this.ha=new K(this);this.UB(a||null);b&&this.Dn(b)}w(jy,H);e=jy.prototype;e.$=null;e.IW=!0;e.HW=null;e.tD=null;e.yg=!1;e.tla=!1;e.AG=-1;e.qO=!1;e.P$=!0;e.zc="toggle_display";e.getType=function(){return this.zc};e.Dn=function(a){this.zc=a};e.H=function(){return this.$};e.UB=function(a){ky(this);this.$=a};e.zT=function(a,b){this.Nw=a;this.Xu=b};e.ka=function(){return this.ha};function ky(a){if(a.yg)throw Error("Can not change this state of the popup while showing.");}
e.Ca=function(){return this.yg};e.setVisible=function(a){this.Nw&&this.Nw.stop();this.Xu&&this.Xu.stop();a?this.Ow():this.Nm()};e.jc=p;
e.Ow=function(){if(!this.yg&&this.XA()){if(!this.$)throw Error("Caller must call setElement before trying to show the popup");this.jc();var a=je(this.$);this.qO&&this.ha.listen(a,"keydown",this.Qha,!0);if(this.IW)if(this.ha.listen(a,"mousedown",this.fH,!0),E){var b;try{b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Ke(b)}catch(d){break}a=c;b=a.activeElement}this.ha.listen(a,"mousedown",this.fH,!0);this.ha.listen(a,"deactivate",this.X2)}else this.ha.listen(a,"blur",this.X2);"toggle_display"==
this.zc?ly(this):"move_offscreen"==this.zc&&this.jc();this.yg=!0;this.AG=u();this.Nw?(xg(this.Nw,"end",this.ln,!1,this),this.Nw.play()):this.ln()}};e.Nm=function(a){if(!this.yg||!this.dispatchEvent({type:"beforehide",target:a}))return!1;this.ha&&this.ha.removeAll();this.yg=!1;u();this.Xu?(xg(this.Xu,"end",qa(this.HX,a),!1,this),this.Xu.play()):this.HX(a);return!0};
e.HX=function(a){"toggle_display"==this.zc?this.tla?I(this.sO,0,this):this.sO():"move_offscreen"==this.zc&&(this.$.style.top="-10000px");this.Bl(a)};function ly(a){a.$.style.visibility="visible";X(a.$,!0)}e.sO=function(){this.$.style.visibility="hidden";X(this.$,!1)};e.XA=function(){return this.dispatchEvent("beforeshow")};e.ln=function(){this.dispatchEvent("show")};e.Bl=function(a){this.dispatchEvent({type:"hide",target:a})};
e.fH=function(a){a=a.target;Je(this.$,a)||my(this,a)||this.tD&&!Je(this.tD,a)||150>u()-this.AG||this.Nm(a)};e.Qha=function(a){27==a.keyCode&&this.Nm(a.target)&&(a.preventDefault(),a.stopPropagation())};e.X2=function(a){if(this.P$){var b=je(this.$);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Je(this.$,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;150>u()-this.AG||this.Nm()}};function my(a,b){return ob(a.HW||[],function(a){return b===a||Je(a,b)})}
e.ma=function(){jy.R.ma.call(this);this.ha.dispose();rc(this.Nw);rc(this.Xu);delete this.$;delete this.ha;delete this.HW};function ny(a,b){Cp.call(this,b);this.pma=!!a;this.vv=null}w(ny,Cp);e=ny.prototype;e.Kc=null;e.ld=!1;e.Ph=null;e.Cf=null;e.Ic=null;e.zj=!1;e.Ma=function(){return"goog-modalpopup"};e.nr=function(){return this.Ph};e.ra=function(){ny.R.ra.call(this);var a=this.H(),b=Ba(this.Ma()).split(" ");on(a,b);Se(a,!0);X(a,!1);oy(this);this.$D()};function oy(a){a.pma&&!a.Cf&&(a.Cf=fy(a.U()),a.Cf.className=a.Ma()+"-bg",X(a.Cf,!1),bo(a.Cf,0));a.Ph||(a.Ph=a.U().ra("DIV",a.Ma()+"-bg"),X(a.Ph,!1))}
e.$D=function(){this.Ic||(this.Ic=this.U().createElement("SPAN"),X(this.Ic,!1),Se(this.Ic,!0),this.Ic.style.position="absolute")};function py(a){a.zj=!0;try{a.Ic.focus()}catch(b){}I(a.Np,0,a)}e.Np=function(){this.zj=!1};e.Ef=function(a){return!!a&&"DIV"==a.tagName};e.dc=function(a){ny.R.dc.call(this,a);a=Ba(this.Ma()).split(" ");on(this.H(),a);oy(this);this.$D();Se(this.H(),!0);X(this.H(),!1)};
e.ta=function(){if(this.Cf){var a=this.H();a.parentNode&&a.parentNode.insertBefore(this.Cf,a)}a=this.H();a.parentNode&&a.parentNode.insertBefore(this.Ph,a);ny.R.ta.call(this);Ce(this.Ic,this.H());this.Kc=new hy(this.U().Ba);this.ka().listen(this.Kc,"focusin",this.onFocus);qy(this,!1)};e.Db=function(){this.Ca()&&this.setVisible(!1);rc(this.Kc);ny.R.Db.call(this);De(this.Cf);De(this.Ph);De(this.Ic)};
e.setVisible=function(a){a!=this.ld&&(this.rs&&this.rs.stop(),this.Ot&&this.Ot.stop(),this.ms&&this.ms.stop(),this.Nt&&this.Nt.stop(),this.Xa&&qy(this,a),a?this.Ow():this.Nm())};function qy(a,b){a.k2||(a.k2=new iy(a.$,a.Ha));var c=a.k2;if(b){c.Wu||(c.Wu=[]);for(var d=c.Ha.getChildren(c.Ha.Ba.body),f=0;f<d.length;f++){var g=d[f];g==c.$||lh(g,"hidden")||(kh(g,"hidden",!0),c.Wu.push(g))}}else if(c.Wu){for(f=0;f<c.Wu.length;f++)c.Wu[f].removeAttribute("aria-hidden");c.Wu=null}}
e.zT=function(a,b,c,d){this.rs=a;this.ms=b;this.Ot=c;this.Nt=d};e.Ow=function(){if(this.dispatchEvent("beforeshow")){try{this.vv=this.U().Ba.activeElement}catch(a){}this.KR();this.jc();this.ka().listen(this.U().getWindow(),"resize",this.KR);ry(this,!0);this.focus();this.ld=!0;this.rs&&this.Ot?(xg(this.rs,"end",this.ln,!1,this),this.Ot.play(),this.rs.play()):this.ln()}};
e.Nm=function(){if(this.dispatchEvent("beforehide")){this.ka().ab(this.U().getWindow(),"resize",this.KR);this.ld=!1;this.ms&&this.Nt?(xg(this.ms,"end",this.Bl,!1,this),this.Nt.play(),this.ms.play()):this.Bl();a:{try{var a=this.U(),b=a.Ba.body,c=a.Ba.activeElement||b;if(!this.vv||this.vv==b){this.vv=null;break a}(c==b||a.contains(this.H(),c))&&this.vv.focus()}catch(d){}this.vv=null}}};function ry(a,b){a.Cf&&X(a.Cf,b);a.Ph&&X(a.Ph,b);X(a.H(),b);X(a.Ic,b)}e.ln=function(){this.dispatchEvent("show")};
e.Bl=function(){ry(this,!1);this.dispatchEvent("hide")};e.Ca=function(){return this.ld};e.focus=function(){this.LE()};e.KR=function(){this.Cf&&X(this.Cf,!1);this.Ph&&X(this.Ph,!1);var a=this.U().Ba,b=re(ve(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth)),a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.Cf&&(X(this.Cf,!0),Wn(this.Cf,c,a));this.Ph&&(X(this.Ph,!0),Wn(this.Ph,c,a))};
e.jc=function(){var a=this.U().Ba,b=ve(a)||window;if("fixed"==Hn(this.H()))var c=a=0;else c=te(this.U().Ba),a=c.x,c=c.y;var d=Zn(this.H()),b=re(b),a=Math.max(a+b.width/2-d.width/2,0),c=Math.max(c+b.height/2-d.height/2,0);In(this.H(),a,c);In(this.Ic,a,c)};e.onFocus=function(a){this.zj?this.Np():a.target==this.Ic&&I(this.LE,0,this)};e.LE=function(){try{E&&this.U().Ba.body.focus(),this.H().focus()}catch(a){}};
e.ma=function(){rc(this.rs);this.rs=null;rc(this.ms);this.ms=null;rc(this.Ot);this.Ot=null;rc(this.Nt);this.Nt=null;ny.R.ma.call(this)};function sy(a,b,c){ny.call(this,b,c);this.cg=a||"modal-dialog";this.Ub=ty(ty(new uy,vy,!0),wy,!1,!0)}w(sy,ny);e=sy.prototype;e.hM=!0;e.Sz=!0;e.l2=!0;e.sY=!0;e.uD=.5;e.Ih="";e.mc=null;e.Vg=null;e.vy=!1;e.Kg=null;e.Lg=null;e.jJ=null;e.Zf=null;e.Bb=null;e.Ge=null;e.nR="dialog";e.Ma=function(){return this.cg};e.setTitle=function(a){this.Ih=a;this.Lg&&Le(this.Lg,a)};e.getTitle=function(){return this.Ih};e.Uf=function(a){xy(this,ld(a))};function xy(a,b){a.mc=b;a.Bb&&fe(a.Bb,b)}
e.getContent=function(){return null!=this.mc?id(this.mc):""};e.Go=function(){return this.nR};function yy(a){a.H()||a.Ka()}e.Vb=function(){yy(this);return this.Bb};function zy(a){yy(a);return a.Kg}function Ay(a){yy(a);return a.H()}e.nr=function(){yy(this);return sy.R.nr.call(this)};function By(a,b){a.uD=b;if(a.H()){var c=a.nr();c&&bo(c,a.uD)}}e.getDraggable=function(){return this.sY};
function Cy(a,b){var c=Ba(a.cg+"-title-draggable").split(" ");a.H()&&(b?on(a.Kg,c):qn(a.Kg,c));b&&!a.Vg?(a.Vg=new Ht(a.H(),a.Kg),on(a.Kg,c),qg(a.Vg,"start",a.nS,!1,a)):!b&&a.Vg&&(a.Vg.dispose(),a.Vg=null)}
e.ra=function(){sy.R.ra.call(this);var a=this.H(),b=this.U();this.Kg=b.ra("DIV",this.cg+"-title",this.Lg=b.ra("SPAN",{className:this.cg+"-title-text",id:this.getId()},this.Ih),this.Zf=b.ra("SPAN",this.cg+"-title-close"));Ae(a,this.Kg,this.Bb=b.ra("DIV",this.cg+"-content"),this.Ge=b.ra("DIV",this.cg+"-buttons"));jh(this.Lg,"heading");jh(this.Zf,"button");Se(this.Zf,!0);oh(this.Zf,"Close");this.jJ=this.Lg.id;jh(a,this.Go());kh(a,"labelledby",this.jJ||"");this.mc&&fe(this.Bb,this.mc);X(this.Zf,this.Sz);
this.Ub&&(a=this.Ub,a.$=this.Ge,a.Ka());X(this.Ge,!!this.Ub);By(this,this.uD)};
e.dc=function(a){sy.R.dc.call(this,a);a=this.H();var b=this.cg+"-content";this.Bb=me(document,null,b,a)[0];this.Bb||(this.Bb=this.U().ra("DIV",b),this.mc&&fe(this.Bb,this.mc),a.appendChild(this.Bb));var b=this.cg+"-title",c=this.cg+"-title-text",d=this.cg+"-title-close";(this.Kg=me(document,null,b,a)[0])?(this.Lg=me(document,null,c,this.Kg)[0],this.Zf=me(document,null,d,this.Kg)[0]):(this.Kg=this.U().ra("DIV",b),a.insertBefore(this.Kg,this.Bb));this.Lg?(this.Ih=Te(this.Lg),this.Lg.id||(this.Lg.id=
this.getId())):(this.Lg=we("SPAN",{className:c,id:this.getId()}),this.Kg.appendChild(this.Lg));this.jJ=this.Lg.id;kh(a,"labelledby",this.jJ||"");this.Zf||(this.Zf=this.U().ra("SPAN",d),this.Kg.appendChild(this.Zf));X(this.Zf,this.Sz);b=this.cg+"-buttons";(this.Ge=me(document,null,b,a)[0])?(this.Ub=new uy(this.U()),this.Ub.Na(this.Ge)):(this.Ge=this.U().ra("DIV",b),a.appendChild(this.Ge),this.Ub&&(a=this.Ub,a.$=this.Ge,a.Ka()),X(this.Ge,!!this.Ub));By(this,this.uD)};
e.ta=function(){sy.R.ta.call(this);this.ka().listen(this.H(),"keydown",this.$A).listen(this.H(),"keypress",this.$A);this.ka().listen(this.Ge,"click",this.Nha);Cy(this,this.sY);this.ka().listen(this.Zf,"click",this.Via);var a=this.H();jh(a,this.Go());""!==this.Lg.id&&kh(a,"labelledby",this.Lg.id);if(!this.l2){this.l2=!1;if(this.Xa){var a=this.U(),b=this.nr();a.removeNode(this.Cf);a.removeNode(b)}this.Ca()&&qy(this,!1)}};e.Db=function(){this.Ca()&&this.setVisible(!1);Cy(this,!1);sy.R.Db.call(this)};
e.setVisible=function(a){a!=this.Ca()&&(this.Xa||this.Ka(),sy.R.setVisible.call(this,a))};e.ln=function(){sy.R.ln.call(this);this.dispatchEvent("aftershow")};e.Bl=function(){sy.R.Bl.call(this);this.dispatchEvent("afterhide");this.vy&&this.dispose()};
e.nS=function(){var a=this.U().Ba,b=re(ve(a)||window),c=Math.max(a.body.scrollWidth,b.width),a=Math.max(a.body.scrollHeight,b.height),d=Zn(this.H());"fixed"==Hn(this.H())?Jt(this.Vg,new wn(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))):Jt(this.Vg,new wn(0,0,c-d.width,a-d.height))};e.Via=function(){Dy(this)};function Dy(a){if(a.Sz){var b=a.Ub,c=b&&b.IK;c?(b=b.get(c),a.dispatchEvent(new Ey(c,b))&&a.setVisible(!1)):a.setVisible(!1)}}function Fy(a){a.Sz=!1;a.Zf&&X(a.Zf,a.Sz)}
e.Cw=function(a){this.vy=a};e.ma=function(){this.Ge=this.Zf=null;sy.R.ma.call(this)};function Gy(a,b){a.Ub=b;if(a.Ge){if(a.Ub){var c=a.Ub;c.$=a.Ge;c.Ka()}else fe(a.Ge,ud);X(a.Ge,!!a.Ub)}}e.Nha=function(a){a:{for(a=a.target;null!=a&&a!=this.Ge;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.Ub.get(a);this.dispatchEvent(new Ey(a,b))&&this.setVisible(!1)}};
e.$A=function(a){var b=!1,c=!1,d=this.Ub,f=a.target;if("keydown"==a.type)if(this.hM&&27==a.keyCode){var g=d&&d.IK,f="SELECT"==f.tagName&&!f.disabled;g&&!f?(c=!0,b=d.get(g),b=this.dispatchEvent(new Ey(g,b))):f||(b=!0)}else 9==a.keyCode&&a.shiftKey&&f==this.H()&&py(this);else if(13==a.keyCode){if("BUTTON"==f.tagName&&!f.disabled)g=f.name;else if(f==this.Zf)Dy(this);else if(d){var h=d.my,k=h&&d.Au(h),f=("TEXTAREA"==f.tagName||"SELECT"==f.tagName||"A"==f.tagName)&&!f.disabled;!k||k.disabled||f||(g=h)}g&&
d&&(c=!0,b=this.dispatchEvent(new Ey(g,String(d.get(g)))))}else f==this.Zf&&32==a.keyCode&&Dy(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};function Ey(a,b){this.type="dialogselect";this.key=a;this.caption=b}w(Ey,G);function uy(a){this.Ha=a||he();qj.call(this)}w(uy,qj);e=uy.prototype;e.cg="goog-buttonset";e.my=null;e.$=null;e.IK=null;e.set=function(a,b,c,d){qj.prototype.set.call(this,a,b);c&&(this.my=a);d&&(this.IK=a);return this};
function ty(a,b,c,d){return a.set(b.key,b.caption,c,d)}e.Ka=function(){if(this.$){fe(this.$,ud);var a=he(this.$);this.forEach(function(b,c){var d=a.ra("BUTTON",{name:c},b);c==this.my&&(d.className=this.cg+"-default");this.$.appendChild(d)},this)}};e.Na=function(a){if(a&&1==a.nodeType){this.$=a;a=this.$.getElementsByTagName("BUTTON");for(var b=0,c,d,f;c=a[b];b++)if(d=c.name||c.id,f=Te(c)||c.value,d){var g=0==b;this.set(d,f,g,"cancel"==c.name);g&&W(c,this.cg+"-default")}}};e.H=function(){return this.$};
e.U=function(){return this.Ha};e.Au=function(a){for(var b=this.$.getElementsByTagName("BUTTON"),c=0,d;d=b[c];c++)if(d.name==a||d.id==a)return d;return null};function Hy(a,b){var c=a.Au("ok");c&&(c.disabled=!b)}var vy={key:"ok",caption:"OK"},wy={key:"cancel",caption:"Cancel"},Iy={key:"yes",caption:"Yes"},Jy={key:"no",caption:"No"},Ky={key:"save",caption:"Save"},Ly={key:"continue",caption:"Continue"};
"undefined"!=typeof document&&(ty(new uy,vy,!0,!0),ty(ty(new uy,vy,!0),wy,!1,!0),ty(ty(new uy,Iy,!0),Jy,!1,!0),ty(ty(ty(new uy,Iy),Jy,!0),wy,!1,!0),ty(ty(ty(new uy,Ly),Ky),wy,!0,!0));function My(a,b,c,d,f,g,h){sy.call(this,f,g,h);this.Y0=this.getId()+".ie";this.setTitle(a);a=pd("label",{"for":this.Y0},ld(b));xy(this,sd(a,vd,vd));this.Id=c;this.fE=n(d)?d:"";c=new uy(h);c.set("ok","OK",!0);c.set("cancel","Cancel",!1,!0);Gy(this,c)}w(My,sy);e=My.prototype;e.Id=p;e.fE="";e.ie=null;e.SO=!1;e.dd=1;e.RD=0;e.X0=null;e.X6=df;e.ta=function(){this.X0&&this.X0(this.ie);My.R.ta.call(this);this.ka().listen(this,"dialogselect",this.j3);this.ka().listen(this.ie,["keyup","change"],this.$ca)};
e.ra=function(){My.R.ra.call(this);var a={className:this.Ma()+"-userInput",value:this.fE};1==this.dd?(this.ie=this.U().ra("INPUT",a),this.ie.type="text",this.RD&&(this.ie.size=this.RD)):(this.ie=this.U().ra("TEXTAREA",a),this.ie.rows=this.dd,this.RD&&(this.ie.cols=this.RD));this.ie.id=this.Y0;this.Vb().appendChild(this.U().ra("DIV",{style:"overflow: auto"},this.ie))};e.$ca=function(){Ny(this)};function Ny(a){var b=a.X6(a.ie.value);Hy(a.Ub,b)}
e.setVisible=function(a){My.R.setVisible.call(this,a);a&&(this.SO=!1,this.ie.value=this.fE,this.focus(),Ny(this))};e.focus=function(){My.R.focus.call(this);Hd&&this.ie.focus();this.ie.select()};e.j3=function(a){this.SO||(this.SO=!0,"ok"==a.key?I(t(this.Id,this,this.ie.value),1):I(t(this.Id,this,null),1))};e.ma=function(){De(this.ie);yg(this,"dialogselect",this.j3,!0,this);My.R.ma.call(this);this.ie=null};function Oy(a,b,c,d,f,g,h,k){My.call(this,b,jd(c),d,f,g,h,k);this.S=a;this.ha=new K(this);A(this,this.ha)}w(Oy,My);e=Oy.prototype;
e.ta=function(){Oy.R.ta.call(this);var a;yy(this);a=this.Ge;var b=this.ie,c=zy(this);W(this.H(),"drive-viewer-rename-dialog");W(c,"drive-viewer-rename-dialog-title");W(b,"drive-viewer-rename-dialog-userInput");W(a,"drive-viewer-rename-dialog-buttons");if(a=this.Ub)if(a=a.Au("ok"))pn(a,"goog-buttonset-default"),W(a,"drive-viewer-buttonset-action");a=this.getId()+".msg";this.Vb().id=a;b=this.H();jh(b,"dialog");kh(b,"describedby",a);this.ha.listen(this.H(),"focus",this.yr).listen(this.ie,"focus",this.ada)};
e.yr=function(){this.i5()};e.ada=function(){I(this.i5,0,this)};e.i5=function(){var a=this.ie,b=Z(this.S).Ea().Rb();a&&!Ww(b)&&(b=a.value.lastIndexOf("."),-1<b&&a.setSelectionRange(0,b))};e.setVisible=function(a){var b=ur(this.S);a?Py(b):Qy(b);Oy.R.setVisible.call(this,a);a||uh(this.U(),!0)};function Ry(a){Sx.call(this,a,wx);this.action.setProperty("label","Rename...");this.action.setProperty("dv_us",!0);3==a.qa().vc()&&this.action.setProperty("icon","drive-viewer-rename-icon");this.nL="";this.Bs=null}w(Ry,Sx);e=Ry.prototype;
e.Hm=function(){this.nL=Z(this.getContext()).Ea().getName();this.Bs=new Oy(this.getContext(),"Rename document","Enter a new document name:",t(this.yka,this),this.nL,"drive-viewer-dialog");this.Bs.Cw(!0);this.Bs.Ka();var a=new dy;a.Na(this.Bs.ie);A(this.Bs,a);this.Bs.X6=hf();this.Bs.setVisible(!0)};e.yka=function(a){if(a&&a!=this.nL){var b=Z(this.getContext()).Ea();Sy(this,b,a,!1)}};
function Sy(a,b,c,d){var f=a.getContext(),g=b.pb.Oa(),f=qi(f,Fm);c=Rh(Qh(Sh(new Mh(f.Jc,xi(f,g,"title"),"drive#file")),"PUT"),{title:c}).start();f.wf(c);Ux(a,b,c,d)}e.qF=function(a,b,c){var d=a.getName();c&&c.id==a.pb.Oa()&&c.title?(a.Bn(c.title),b?aw(this.getContext()).showNotification("Action undone.",!1,5E3):Ty(this,a,d,c.title)):this.Ku(a)};e.Ku=function(a){a=a.getName();aw(this.getContext()).showNotification('There was a problem renaming "'+(a+'".'),!0,1E4)};
function Ty(a,b,c,d){Uy(aw(a.getContext()),'"'+(c+('" renamed to "'+(d+'".'))),t(function(){Sy(this,b,c,!0)},a))}e.Yh=function(){return 38};e.cN=function(){return 49};function Vy(a){Sx.call(this,a,xx);this.action.setProperty("label","Report abuse");this.action.setProperty("hint","Report abuse");this.action.setProperty("icon","drive-viewer-report-abuse-icon")}w(Vy,Sx);Vy.prototype.Hm=function(){var a=this.getContext(),b=Z(a).Ea().pb.Oa(),a=a.qa(),c=Iu(a)||Xh(l.location.href),c=Rl("/abuse",c,a.zo()),b=ei(c,"id",b,"authuser",a.sg()||0);Iw(b,{target:"_blank"})};function Wy(a){Sx.call(this,a,yx);this.zi=!1}w(Wy,Sx);e=Wy.prototype;e.h0=function(){Xy(this)};e.Fh=function(){var a=Z(this.getContext()).Ea().Mb.Wa;return!!a&&0!=a.zi};e.Lu=function(a){Tx(this,a)&&Xy(this)};function Xy(a){var b=Z(a.getContext()).Ea().Mb.Wa;a.mq();a.Fh()&&(a.zi=!!b&&b.eP(),Yy(a))}e.mq=function(){var a=this.Fh();this.action.setVisible(a);this.action.setEnabled(a)};
function Yy(a){var b="Add star",c="drive-viewer-full-star-icon";a.zi&&(b="Remove star",c="drive-viewer-blank-star-icon");a.action.setProperty("label",b);a.action.setProperty("hint",b);a.action.setProperty("icon",c)}
e.Hm=function(){var a=this.getContext(),b=Z(a).Ea();this.zi=!this.zi;var c=b.getName(),c=this.zi?'Star added to "'+(c+'".'):'Star removed from "'+(c+'".');aw(a).showNotification(c,!0,1E4);b.Mb.Wa.JI(this.zi);Yy(this);var c=this.getContext(),a=Z(c).Ea(),b=a.pb.Oa(),c=qi(c,Fm),d=this.zi,b=Rh(Qh(Sh(new Mh(c.Jc,xi(c,b,"labels(starred)"),"drive#file")),"PUT"),{labels:{starred:d}}).start();c.wf(b);Ux(this,a,b)};e.qF=function(a,b,c){b=c.labels;c.id==a.pb.Oa()&&b&&ha(b.starred)||this.Ku(a)};
e.Ku=function(a){var b=this.getContext(),c=a.Mb.Wa,d=c.eP(),f=a.getName(),f=d?'There was a problem adding star to "'+(f+'".'):'There was a problem removing star from "'+(f+'".');aw(b).showNotification(f,!0,1E4);b=Z(b);Jr(b)&&b.Ea().getId()==a.getId()&&(this.zi=!d,Yy(this));c.JI(!d)};e.Yh=function(){return 47};function Zy(a){Dx.call(this,a,tx,{visible:!0,enabled:!0,label:"Details",hint:"Details",icon:"drive-viewer-details-icon"})}w(Zy,Dx);Zy.prototype.Hm=function(){var a=Gr(this.getContext());$y(a,!a.eg)};function az(a){var b=3==a.qa().vc()?"Open in new window":"Pop-out";Dx.call(this,a,vx,{visible:!0,enabled:!0,label:b,hint:b,icon:"drive-viewer-popout-button"});1==bz(a.qa())&&(a=Z(a),this.ka().listen(a,"ea",this.Ib))}w(az,Dx);az.prototype.Ib=function(){this.action.setVisible(!!Z(this.getContext()).Ea().iF())};az.prototype.Hm=function(a){a=a.data.Au().H();Fs(oq(this.getContext()),{La:23,$a:Mo(a)});Gr(this.getContext()).dispatchEvent("o")};function cz(a,b){G.call(this,"ka");this.item=a;this.state=b}w(cz,G);function dz(a){G.call(this,"la");this.item=a}w(dz,G);function ez(){G.call(this,"ma")}w(ez,G);function fz(){G.call(this,"na")}w(fz,G);function gz(a,b){fa(b)||(b=[b]);var c=mb(b,function(a){return r(a)?a:a.TH+" "+a.duration+"s "+a.timing+" "+a.ny+"s"});Bn(a,"transition",c.join(","))}var hz=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(E)return Yd("10.0");var a=document.createElement("DIV"),b=Ld?"-webkit":Kd?"-moz":E?"-ms":Hd?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");fe(a,pd("div",{style:c}));return""!=En(a.firstChild,"transition")});function iz(a,b,c,d,f){pt.call(this);this.$=a;this.Sh=b;this.bga=c;this.VY=d;this.ex=fa(f)?f:[f]}w(iz,pt);e=iz.prototype;e.play=function(){if(this.ne())return!1;this.ek();this.ig("play");this.startTime=u();this.va=1;if(hz())return Bn(this.$,this.bga),this.Ec=I(this.jR,void 0,this),!0;this.pU(!1);return!1};e.jR=function(){Zn(this.$);gz(this.$,this.ex);Bn(this.$,this.VY);this.Ec=I(t(this.pU,this,!1),1E3*this.Sh)};e.stop=function(){this.ne()&&this.pU(!0)};
e.pU=function(a){Bn(this.$,"transition","");J(this.Ec);Bn(this.$,this.VY);this.endTime=u();this.va=0;if(a)this.onStop();else qt(this);this.mi()};e.ma=function(){this.stop();iz.R.ma.call(this)};e.pause=function(){};function jz(a,b,c,d,f){return new iz(a,b,{opacity:d},{opacity:f},{TH:"opacity",duration:b,timing:c,ny:0})}function kz(a,b){return jz(a,b,"ease-out",0,1)};function lz(a,b,c){this.element=a;this.nm=b;this.rja=c}w(lz,Zo);lz.prototype.jc=function(a,b,c){Vo(this.element,this.nm,a,b,void 0,c,this.rja)};function mz(a,b){this.by=a instanceof C?a:new C(a,b)}w(mz,Zo);mz.prototype.jc=function(a,b,c,d){Vo(Ln(a),0,a,b,this.by,c,null,d)};function nz(a,b){this.rB=8;this.qc=b||void 0;jy.call(this,a)}w(nz,jy);function oz(a,b){a.rB=b;a.Ca()&&a.jc()}nz.prototype.getPosition=function(){return this.qc||null};nz.prototype.setPosition=function(a){this.qc=a||void 0;this.Ca()&&this.jc()};nz.prototype.hf=function(){return this.V1||null};function pz(a,b){a.V1=null==b||b instanceof un?b:new un(b,void 0,void 0,void 0);a.Ca()&&a.jc()}
nz.prototype.jc=function(){if(this.qc){var a=!this.Ca()&&"move_offscreen"!=this.getType(),b=this.H();a&&(b.style.visibility="hidden",X(b,!0));this.qc.jc(b,this.rB,this.V1);a&&X(b,!1)}};function qz(a,b,c){this.Ha=c||(a?he(ke(document,a)):he());nz.call(this,this.Ha.ra("DIV",{style:"position:absolute;display:none;"}));this.pL=new C(1,1);this.Kd=new xj;this.gt=null;a&&this.Gq(a);null!=b&&this.tT(b)}w(qz,nz);var rz=[];e=qz.prototype;e.Gd=null;e.className="goog-tooltip";e.XT=500;e.G0=0;e.U=function(){return this.Ha};
e.Gq=function(a){a=ke(document,a);this.Kd.add(a);qg(a,"mouseover",this.Pu,!1,this);qg(a,"mouseout",this.Hz,!1,this);qg(a,"mousemove",this.k0,!1,this);qg(a,"focus",this.$h,!1,this);qg(a,"blur",this.Hz,!1,this)};e.detach=function(a){if(a)a=ke(document,a),sz(this,a),this.Kd.remove(a);else{for(var b=this.Kd.wc(),c=0;a=b[c];c++)sz(this,a);this.Kd.clear()}};
function sz(a,b){yg(b,"mouseover",a.Pu,!1,a);yg(b,"mouseout",a.Hz,!1,a);yg(b,"mousemove",a.k0,!1,a);yg(b,"focus",a.$h,!1,a);yg(b,"blur",a.Hz,!1,a)}e.tT=function(a){Le(this.H(),a)};e.r5=function(a){var b=this.H();b&&fe(b,a)};e.UB=function(a){var b=this.H();b&&De(b);qz.R.UB.call(this,a);a?(b=this.Ha.Ba.body,b.insertBefore(a,b.lastChild),rc(this.gt),this.gt=new hy(this.H()),A(this,this.gt),qg(this.gt,"focusin",this.Ux,void 0,this),qg(this.gt,"focusout",this.YI,void 0,this)):(rc(this.gt),this.gt=null)};
e.getText=function(){return Te(this.H())};e.cz=function(){return this.H().innerHTML};e.getState=function(){return this.bq?this.Ca()?4:1:this.Uz?3:this.Ca()?2:0};e.XA=function(){if(!jy.prototype.XA.call(this))return!1;if(this.anchor)for(var a,b=0;a=rz[b];b++)Je(a.H(),this.anchor)||a.setVisible(!1);vb(rz,this);a=this.H();a.className=this.className;this.Ux();qg(a,"mouseover",this.z0,!1,this);qg(a,"mouseout",this.y0,!1,this);tz(this);return!0};
e.Bl=function(){wb(rz,this);for(var a=this.H(),b,c=0;b=rz[c];c++)b.anchor&&Je(a,b.anchor)&&b.setVisible(!1);this.L3&&this.L3.YI();yg(a,"mouseover",this.z0,!1,this);yg(a,"mouseout",this.y0,!1,this);this.anchor=void 0;0==this.getState()&&(this.qI=!1);jy.prototype.Bl.call(this)};e.RG=function(a,b){this.anchor==a&&this.Kd.contains(this.anchor)&&(this.qI||!this.Zra?(this.setVisible(!1),this.Ca()||(this.anchor=a,this.setPosition(b||this.XM(0)),this.setVisible(!0))):this.anchor=void 0);this.bq=void 0};
e.$c=function(){return this.Gd};e.fha=function(a){this.Uz=void 0;if(a==this.anchor){a=this.U();var b=a.$c();a=b&&this.H()&&a.contains(this.H(),b);null!=this.Gd&&(this.Gd==this.H()||this.Kd.contains(this.Gd))||a||this.mX&&this.mX.Gd||this.setVisible(!1)}};function uz(a,b){var c=te(a.Ha.Ba);a.pL.x=b.clientX+c.x;a.pL.y=b.clientY+c.y}e.Pu=function(a){var b=vz(this,a.target);this.Gd=b;this.Ux();b!=this.anchor&&(this.anchor=b,this.bq||(this.bq=I(t(this.RG,this,b,void 0),this.XT)),wz(this),uz(this,a))};
function vz(a,b){try{for(;b&&!a.Kd.contains(b);)b=b.parentNode;return b}catch(c){return null}}e.k0=function(a){uz(this,a);this.qI=!0};e.$h=function(a){this.Gd=a=vz(this,a.target);this.qI=!0;if(this.anchor!=a){this.anchor=a;var b=this.XM(1);this.Ux();this.bq||(this.bq=I(t(this.RG,this,a,b),this.XT));wz(this)}};e.XM=function(a){return 0==a?(a=this.pL.clone(),new xz(a)):new yz(this.Gd)};function wz(a){if(a.anchor)for(var b,c=0;b=rz[c];c++)Je(b.H(),a.anchor)&&(b.mX=a,a.L3=b)}
e.Hz=function(a){var b=vz(this,a.target),c=vz(this,a.relatedTarget);b!=c&&(b==this.Gd&&(this.Gd=null),tz(this),this.qI=!1,!this.Ca()||a.relatedTarget&&Je(this.H(),a.relatedTarget)?this.anchor=void 0:this.YI())};e.z0=function(){var a=this.H();this.Gd!=a&&(this.Ux(),this.Gd=a)};e.y0=function(a){var b=this.H();this.Gd!=b||a.relatedTarget&&Je(b,a.relatedTarget)||(this.Gd=null,this.YI())};function tz(a){a.bq&&(J(a.bq),a.bq=void 0)}
e.YI=function(){2==this.getState()&&(this.Uz=I(t(this.fha,this,this.anchor),this.G0))};e.Ux=function(){this.Uz&&(J(this.Uz),this.Uz=void 0)};e.ma=function(){this.setVisible(!1);tz(this);this.detach();this.H()&&De(this.H());this.Gd=null;delete this.Ha;qz.R.ma.call(this)};function xz(a,b){mz.call(this,a,b)}w(xz,mz);xz.prototype.jc=function(a,b,c){b=Ln(a);b=On(b);c=c?new un(c.top+10,c.right,c.bottom,c.left+10):new un(10,0,0,10);Yo(this.by,a,8,c,b,9)&496&&Yo(this.by,a,8,c,b,5)};
function yz(a){lz.call(this,a,5)}w(yz,lz);yz.prototype.jc=function(a,b,c){var d=new C(10,0);Vo(this.element,this.nm,a,b,d,c,9)&496&&Vo(this.element,4,a,1,d,c,5)};function zz(){this.Jja=n(void 0)?void 0:1;this.p9=n(void 0)?void 0:2;this.r9=n(void 0)?void 0:20;this.Dha=n(void 0)?void 0:-20};function Az(){return U('<div class="drive-viewer-promotooltip" role="tooltip" aria-live="polite"><div class="drive-viewer-promotooltip-content"></div><div class="drive-viewer-promotooltip-arrow"><div class="drive-viewer-promotooltip-triangle-before"></div><div class="drive-viewer-promotooltip-triangle-after"></div></div></div>')};function Bz(a,b){qz.call(this,void 0,void 0,a.U());this.className="drive-viewer-promotooltip";this.Di=S(Az,void 0,void 0,a.U());this.UB(this.Di);X(this.Di,!1);this.Bb=ne("drive-viewer-promotooltip-content",this.Di);this.FX=null;this.Eq=ne("drive-viewer-promotooltip-arrow",this.Di);var c=b||new zz;this.Jx=new $o("drive-viewer-promotooltip",!0);this.Jx.setPosition(c.Jja,c.p9,c.r9,c.Dha);var c=this.Jx,d=this.Eq;c.Aj=this.Di;c.Fq=d;this.Jx.RO=!0;c=kz(this.Di,.13);d=jz(this.Di,.13,"ease-in",1,0);this.zT(c,
d);this.XT=300;this.G0=100;this.se=!1}w(Bz,qz);e=Bz.prototype;e.XM=function(){this.Jx.xI(this.$c());return this.Jx};e.XA=function(){if(this.se)return!1;Bn(this.Di,"top","auto");Bn(this.Di,"left","auto");return Bz.R.XA.call(this)};e.Vb=function(){return this.Bb};e.tT=function(a){Le(this.Bb,a)};e.r5=function(a){fe(this.Bb,a)};function Cz(a,b){Be(a.Bb);rc(a.FX);a.FX=b;A(a,b);b.Ka(a.Bb)}e.getText=function(){return Te(this.Bb)};e.cz=function(){return this.Bb.innerHTML};e.uS=function(a){this.se=a};function Dz(a){H.call(this);this.S=a;this.$G={};this.v2={};this.Qv={};this.w2={};this.PA={};this.jQ={}}w(Dz,H);Dz.prototype.register=function(a,b,c){this.$G[a]=b;c&&(this.w2[a]=c);(b=this.v2[a])&&Ez(this,a,b)};function Fz(a,b){a.PA[b]||(a.PA[b]=new K(a),A(a,a.PA[b]));var c=a.PA[b];c.listen(a.Qv[b],"show",t(a.Gea,a,b));if("add_to_drive"==b){var d=Z(a.S);c.listen(d,"ea",a.Ib).listen(d,gm.SJ,a.Cz)}}
function Ez(a,b,c){var d=a.$G[b],f;a.Qv[b]?f=a.Qv[b]:(f=new Bz(a.S,a.w2[b]),a.Qv[b]=f,A(a,f));c instanceof Cp?Cz(f,c):f.r5(c);f.Gq(d.H());"open-and-openwith"==b&&d.Lj(function(a){var b=f;a=a.H();qg(a,"focus",b.$h,!1,b);qg(a,"blur",b.Hz,!1,b)});Gz(a,b,!0);Fz(a,b)}function Hz(a){Mb(a.jQ,function(a,c){var d=this.$G[c];if(d){var f=this.Qv[c];Gz(this,c,!1);f.detach(d.H());this.PA[c].removeAll()}delete this.v2[c];delete this.jQ[c];this.dispatchEvent(new ez)},a)}Dz.prototype.Gea=function(a){this.jQ[a]=!0};
Dz.prototype.Ib=function(){Iz(this)};Dz.prototype.Cz=function(a){var b=Z(this.S);a=a.target;Jr(b)&&a.getId()==b.Ea().getId()&&Iz(this)};function Iz(a){var b=Z(a.S).Ea().ud();Gz(a,"add_to_drive",1==b||3==b)}function Gz(a,b,c){var d=a.Qv[b];d.uS(!c);a=a.$G[b];a.Vp&&a.Vp(c,d.getText());!c&&d.Ca()&&d.setVisible(!1)};function Jz(a){H.call(this);this.S=a;this.tm={};this.qL={};this.Fk=null;this.m4=!1;this.VK=this.ls=this.DL=this.XI=this.FB=this.Ey=this.Cs=this.us=this.PT=this.jg=null;this.Ud=new Sf(this);A(this,this.Ud);a=this.S.qa();Kz(a)&&3==a.vc()&&(this.VK=new Xx(this.S),A(this,this.VK),this.ag(this.VK.wd(),"toolstrip"));Kr(a)&&(this.us=new Kf("DRIVE_VIEWER_PRINT",{visible:!1,enabled:!1,label:"Print",hint:"Print",icon:"drive-viewer-print-icon",dv_br:17}),A(this,this.us),this.ag(this.us,"toolstrip"));if(pi(a)){var b=
pi(a);if(null==L(b,5)?0:L(b,5))this.FB=new Ry(this.S),A(this,this.FB);if(null==L(b,13)?0:L(b,13))this.XI=new Wy(this.S),A(this,this.XI)}if(null==L(a,35)?0:L(a,35))this.Cs=new Vy(this.S),A(this,this.Cs);1!=zs(a)&&0==!bz(a)&&(this.ls=new az(this.S),A(this,this.ls));3==a.vc()?(a=this.S.qa(),this.Cs&&(this.Cs.wd().setProperty("dv_ms",2),this.ag(this.Cs.wd(),"moremenu_only")),this.ls&&(this.ls.wd().setProperty("dv_ms",2),this.ag(this.ls.wd(),"moremenu_only")),Lx(a)&&(this.DL=new Zy(this.S),A(this,this.DL),
this.ag(this.DL.wd(),"moremenu_only"))):this.Cs&&this.ag(this.Cs.wd(),"moremenu_only");this.FB&&this.ag(this.FB.wd(),"moremenu_only");this.XI&&this.ag(this.XI.wd(),"moremenu_only");qi(this.S,Lv)&&(a=new Wx(this.S),A(this,a),this.cS(a.wd()),this.Ey=new $x(this.S),A(this,this.Ey),this.ag(this.Ey.wd(),"moremenu_only"))}w(Jz,H);function Lz(a,b,c){return c?b instanceof Cx&&!!b.getProperty("dv_efs")&&!!b.getProperty("dv_vfs"):b==a.us?b.Ca():b.Ca()&&b.isEnabled()}
Jz.prototype.ag=function(a,b,c,d){0==c?(this.jg=a,this.dispatchEvent("pa"),a.setProperty("dv_br",1)):1==c&&(this.PT=a,this.dispatchEvent("ra"),a.setProperty("dv_br",2));c=a.getProperty("dv_br");b||(b=3==this.S.qa().vc()?a==this.jg?"toolstrip":"moremenu_only":"toolstrip");this.tm[b]||(this.tm[b]=[]);this.tm[b].push(a);if(d){d=this.qL;var f=a.getId();if(1!=c)throw Error("Could not find anchor name for button role: "+c);d[f]="download"}switch(b){case "moremenu_only":this.dispatchEvent(new Mz(this,a));
case "toolstrip":this.dispatchEvent(new Nz(this,a))}this.Ud.xk(a,Hf,t(this.No,this,a))};Jz.prototype.cS=function(a,b){this.Fk=a;this.m4=!!b;this.dispatchEvent("oa");this.Ud.xk(a,Hf,t(this.No,this,a))};
Jz.prototype.No=function(a,b){var c=b.B$;if(!this.S.isDisposed()&&Jr(Z(this.S))&&n(c)&&c instanceof yr){var d={$a:c.vZ()},c=c.Yh();if(n(c))d.La=c;else{d.La=26;c=new Ms;c.c5(a.getId());var f=a.getProperty("dv_br");N(c,10,f);d.lu=c}Fs(oq(this.S),d);d=Z(this.S).Ea();a==this.us?Er(this.S.get(Fr),5,d):a==this.jg&&Er(this.S.get(Fr),4,d)}};function Oz(a,b){return a.tm[b]?a.tm[b].length:0}function Pz(a,b,c){G.call(this,a,b);this.Wn=c}w(Pz,G);function Nz(a,b){Pz.call(this,"sa",a,b)}w(Nz,Pz);
function Mz(a,b){Pz.call(this,"ta",a,b)}w(Mz,Pz);function Qz(a,b,c,d,f,g){Ru.call(this,f,g);this.an=a;this.BL=[];this.XY=!!b;this.Aaa=!!c;this.d$=!!d;for(b=this.D2=0;b<a.length;b++)Xu(a[b],t(this.Z_,this,b,!0),t(this.Z_,this,b,!1));0!=a.length||this.XY||this.Jb(this.BL)}w(Qz,Ru);Qz.prototype.Z_=function(a,b,c){this.D2++;this.BL[a]=[b,c];this.Yg||(this.XY&&b?this.Jb([a,c]):this.Aaa&&!b?this.od(c):this.D2==this.an.length&&this.Jb(this.BL));this.d$&&!b&&(c=null);return c};Qz.prototype.od=function(a){Qz.R.od.call(this,a);for(a=0;a<this.an.length;a++)this.an[a].cancel()};
function Rz(a){return Wu(new Qz(a,!1,!0),function(a){for(var c=[],d=0;d<a.length;d++)c[d]=a[d][1];return c})};function Sz(a){this.S=a}w(Sz,z);e=Sz.prototype;e.getContext=function(){return this.S};e.ZO=function(a){return Dh(!Tz(0,a)&&!!a.pb.dl())};e.VE=function(){return Dh(null)};e.$O=function(){return Dh(!1)};function Tz(a,b){var c;(c=hm(b.pb)||im(b.pb))||(c=b.pb,c=null==L(c,32)?!1:L(c,32));return c}e.Zk=function(){return Dh([])};e.bN=function(){return Dh([])};e.Eu=function(){return ev([])};e.l0=function(a){Iw(a.pb.dl(),{target:"_blank"})};function Uz(a){this.S=a;this.w3=new kx;A(this,this.w3);this.P0=0;this.rn=null;this.ha=new K(this);A(this,this.ha);this.lK=!1;var b=Lr(a);b.Fk?Vz(this):this.ha.listen(b,"oa",this.gba);this.$v={};this.Sb=[];this.wa=yq(a);if(a=aj(this.getContext().qa(),Wz,57))var c=Xz(a),d=Yz(a)&&Nd,f=Zz(a)&&Od;this.xY=!(!a||!c||!d&&!f)}w(Uz,Sz);e=Uz.prototype;e.gba=function(){Vz(this)};function Vz(a){a.lK=!0;a.ha.listen(Z(a.getContext()),"e",a.Cz)}
e.Cz=function(a){var b=a.target,c=a.V3;if((a=this.$v[b.getId()])&&0!=a.length&&2==c){switch(b.ud()){case 2:return;case 4:for(var c=b.pb.Oa(),d=0;d<a.length;d++){var f=a[d];f.app instanceof Gw?$z(this,b,f.Um,f.Q0):$u(aA(this,c,b.Rb(),b.Oi(),f.app,f.Um,f.Q0),f.AL)}break;case 1:case 3:for(d=0;d<a.length;d++)f=a[d],f.AL&&f.AL.od("There was a problem adding this item to Drive."),wq(this.wa,f.Um,2),wb(this.Sb,f.Um)}this.$v[b.getId()]=[]}};
e.ZO=function(a){if(Tz(0,a))return Dh(!1);if(0==a.ud())return Dh(!!a.pb.dl());if(!a.pb.Oa()&&!this.lK)return Dh(!1);a=this.VE(a);return Ih(a,t(function(a){return null!==a},this))};e.VE=function(a){var b=bA(this,a);if(b)return Dh(b);var c=Rz([cA(this,a),dA(this,a)]),d=new wh;a=this.Zk(a);Gh(a,function(a){Xu(c,function(b){var c=b[0];c?d.qb(c):(c=1==a.length?a[0]:null)?d.qb(c):(b=1==b[1].length?b[1][0]:void 0)?d.qb(b):d.qb(null)},function(){d.qb(1==a.length?a[0]:null)},this)},this);return d};
e.$O=function(a){if(!a)return a=this.getContext().qa().vc(),Dh(2==a);if(Tz(0,a)||0==a.ud()||!this.lK&&!a.pb.Oa())return Dh(!1);var b=new wh,c=this.Eu(a);a=Lh(this.Zk(a),this.bN(a));Gh(a,function(a){var f=this.Uy(a[0]);a=this.Uy(a[1]);0<f.length+a.length?b.qb(!0):Xu(c,function(a){b.qb(0<a.length)},function(){b.qb(!1)},this)},this);return b};e.Uy=function(a){return"success"==a.getState()?a.Ga():[]};
e.Zk=function(a){if($v(this.getContext()).wg())return Dh(eA(this,a));var b=new wh,c=a.getId();this.rn||(this.rn={},this.ha.Fb($v(this.getContext()),"$",this.mba));this.rn[c]||(this.rn[c]=new fA(a),qc(a,function(){delete this.rn[c]},this));this.rn[c].results.push(b);return b};e.Eu=function(a){var b=dA(this,a);a=gA(this,a);return Wu(new Qz([b,a]),function(a){var b=a[0];a=a[1];return yb(b[0]?b[1]:[],a[0]?a[1]:[])})};
function dA(a,b){if(!a.xY)return ev([]);if($v(a.getContext()).wg())return hA(a,b);var c=new Ru;Ai(a.ha,$v(a.getContext()),function(){$u(hA(this,b),c)},a);return c}function gA(a,b){var c=$v(a.getContext());if(c.wg())return c.PE(b.Rb());var d=new Ru;Ai(a.ha,c,function(){$u(c.PE(b.Rb()),d)},a);return d}function cA(a,b){if(!a.xY)return ev(void 0);if($v(a.getContext()).wg())return iA(a,b);var c=new Ru;Ai(a.ha,$v(a.getContext()),function(){$u(iA(this,b),c)},a);return c}
function eA(a,b){var c=jA($v(a.getContext()),b.Rb(),b.Oi());return lb(c,function(a){var c;if(c="818456250572"!=a.getId())c="619683526622"!=a.getId()||"application/pdf"!=b.Rb()&&!ua(b.Rb(),"image/")?!0:!1;return c})}function hA(a,b){return Wu(kA($v(a.getContext()),b.pb.Oa(),b.Rb()),function(a){return yb(a.$X||[],a.A3)})}function iA(a,b){var c=$v(a.getContext()),d=new Ru;Wu(kA(c,b.pb.Oa(),b.Rb()),function(a){d.Jb(a.$X)});return d}
e.mba=function(){Mb(this.rn,function(a){for(var b=eA(this,a.item),c=0;c<a.results.length;c++)a.results[c].qb(b)},this);Wb(this.rn)};e.bN=function(a){var b=this.getContext().qa();if(null==L(b,11)||!L(b,11))return Dh([]);b=$v(this.getContext());if(b.Lr.wg()&&b.Vm.wg()){var c=new wh;b.GM(a.Rb(),a.Oi(),t(this.pba,this,c));return c}return Dh([])};e.pba=function(a,b){a.qb(b)};
e.l0=function(a,b,c){var d=a.ud();if(0==d)(b=a.pb.dl())&&Iw(b,{target:"_blank",noreferrer:!0});else{Er(this.getContext().get(Fr),6,a);var f=lA(this,a,c);b?mA(this,a,b,d,f):(b=this.VE(a),Gh(b,function(b){mA(this,a,b,d,f)},this))}};function lA(a,b,c){var d="owa_"+b.getId()+"_"+a.P0++;pq(a.wa,d,{La:20,$a:c,item:b});vb(a.Sb,d);return d}
function nA(a,b,c,d){var f=d.isInstalled(),g=a.wa.Sb[c];N(g,2,d instanceof Hw?60:d instanceof Gw?89:f?20:21);var h=new wh;c=dA(a,b);var f=gA(a,b),k=new Qz([c,f]);a=a.Zk(b);Gh(a,function(a){Wu(k,function(b){var c=b[0];b=b[1];c=px(d,!!a.length,c[0]?!!c[1].length:!1,b[0]?!!b[1].length:!1);cj(g,11,c);h.qb(!0)});Yu(k,function(){var b=px(d,!!a.length,!1,!1);cj(g,11,b);h.qb(!0)})});return h}
function mA(a,b,c,d,f){var g=nA(a,b,f,c);if(c instanceof Hw)oA(a,b,c,f,g);else if(c instanceof Gw)b.pb.Oa()?$z(a,b,f,g):pA(a,b,c,2!=d,f,g);else{var h;(h=b.pb.Oa())?h=aA(a,h,b.Rb(),b.Oi(),c,f,g):(h=new Ru,pA(a,b,c,2!=d,f,g,h));a=a.w3;b=c.getName();c=c.Ty(128)||"";h.Yg?Wu(h,a.hja,a):(d=(a.wha++).toString(),c=lx(b,c,a.RP),a.nx[d]=c,Wu(h,t(a.mla,a,d)),Yu(h,t(a.lla,a,d)))}}
function oA(a,b,c,d,f){Wu(qA($v(a.getContext()),b.pb.Oa(),c.getId()),function(){Gh(f,function(){wq(this.wa,d,1);wb(this.Sb,d)},this)},a)}function $z(a,b,c,d){var f=t(a.hia,a,b),f=$v(a.getContext()).SQ(b.pb.Oa(),b.getName(),b.Rb(),f),g=b.getName();aw(a.getContext()).showNotification('Opening "'+(g+'"...'),!1,5E3);f.then(t(a.ija,a,c,d),t(a.jja,a,c,d,b),a)}
e.hia=function(a,b){var c=rA(this,a);b.then(function(){wq(this.wa,c,1);wb(this.Sb,c)},function(){wq(this.wa,c,2);wb(this.Sb,c);var b=a.getName();aw(this.getContext()).showNotification('Failed to update "'+(b+'" in Drive.'),!1,1E4)},this)};e.ija=function(a,b){Gh(b,function(){wq(this.wa,a,1);wb(this.Sb,a)},this)};e.jja=function(a,b,c){Gh(b,function(){wq(this.wa,a,2);wb(this.Sb,a)},this);sA(this,c)};function rA(a,b){var c="uiwb_"+b.getId()+"_"+a.P0++;pq(a.wa,c,{La:90,item:b});vb(a.Sb,c);return c}
function aA(a,b,c,d,f,g,h){var k=$v(a.getContext()),m;null==k.mH&&(k.mH=new ex(k.Fj,k.bA),A(k,k.mH));m=k.mH;f.isInstalled()||k.install(f.getId());var q=f.Wa,k=tb(q.wB,c)||tb(q.PH,d);d=tb(q.N4,c)||tb(q.UR,d);d=k||d?1:Ww(c)?3:2;2==d?(d=m.Fj,c=fx(m,c,f)||void 0,b=Aj("%s/%s/copy?convert=true&fields=id,kind,mimeType",d.Ft+"/files",b),k={},d.Q$&&c&&(k.mimeType=c),c=new Ru,Wu(c,d.Oba,d),d.Jc.sendRequest({path:b,method:"POST",body:JSON.stringify(k),Jb:t(c.Jb,c)}),f=Wu(c,m.Paa.bind(m,f))):f=gx(m,b,c,f,d);
tA(a,f,g,h);return f}function pA(a,b,c,d,f,g,h){a.$v[b.getId()]||(a.$v[b.getId()]=[]);c=new uA(c,f,g,h);a.$v[b.getId()].push(c);d&&(b.rk(2),Pf(Lr(a.getContext()).Fk,new Ax(b.pb.Ya(),null)))}function bA(a,b){return vA($v(a.getContext()),b.Rb(),b.Oi())}function tA(a,b,c,d){Gh(d,function(){Xu(b,function(){wq(this.wa,c,mq.wt)},function(){wq(this.wa,c,mq.uq)},this)},a)}
function sA(a,b){var c=b.getName(),d=Lr(a.getContext()).jg||void 0;aw(a.getContext()).showNotification("Couldn't open \""+(c+'".'),!1,1E4,d,b)}e.ma=function(){Wb(this.rn);Wb(this.$v);y(this.Sb,function(a){rq(this.wa,a)},this);Uz.R.ma.call(this)};function uA(a,b,c,d){this.AL=d;this.app=a;this.Um=b;this.Q0=c}function fA(a){this.item=a;this.results=[]};function wA(a,b){var c=b||{},d=c.document||document,f=document.createElement("SCRIPT"),g={J4:f,Yf:void 0},h=new Ru(xA,g),k=null,m=null!=c.timeout?c.timeout:5E3;0<m&&(k=window.setTimeout(function(){yA(f,!0);h.od(new zA(1,"Timeout reached for loading script "+a))},m),g.Yf=k);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||(yA(f,c.vra||!1,k),h.Jb(null))};f.onerror=function(){yA(f,!0,k);h.od(new zA(0,"Error while loading script "+a))};g=c.attributes||
{};cc(g,{type:"text/javascript",charset:"UTF-8",src:a});pe(f,g);AA(d).appendChild(f);return h}function AA(a){var b=a.getElementsByTagName("HEAD");return b&&0!=b.length?b[0]:a.documentElement}function xA(){if(this&&this.J4){var a=this.J4;a&&"SCRIPT"==a.tagName&&yA(a,!0,this.Yf)}}function yA(a,b,c){null!=c&&l.clearTimeout(c);a.onload=p;a.onerror=p;a.onreadystatechange=p;b&&window.setTimeout(function(){De(a)},0)}
function zA(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);sa.call(this,c);this.code=a}w(zA,sa);function BA(a,b,c,d,f,g,h){this.lr=null;this.rX=!1;this.qX=Sg();this.Sf=[];this.qW=a?Ea(a):null;this.Cm=null;!d&&b&&(this.Cm=b);this.tK=c||null;this.sD=!d;this.Uk=null!=f?f:null;this.dH=g||null;this.sma=!!h}w(BA,z);BA.prototype.init=function(){var a=t(function(a){this.lr=a;var b=ca("client.request",a),f=ca("auth",a);b&&f?this.$_():a.load("client",t(this.$_,this))},this),b=CA("gapi");b?a(b.gapi):DA(a);return this.qX.uf};
function CA(a){for(var b=window,c=ca(a,b);!c&&b!=window.top&&EA(b.parent,a);)b=b.parent,c=ca(a,b);return c?b:null}function EA(a,b){try{return!!a&&null!=a.location.href&&Vf(a,b)}catch(c){return!1}}function DA(a){var b=CA("gapi_onload");if(b){var c=b.gapi_onload;b.gapi_onload=function(){c();a(b.gapi)}}else window.gapi_onload=function(){a(window.gapi)},wA("https://apis.google.com/js/client.js")}
BA.prototype.$_=function(){for(var a=0;a<this.Sf.length;a++)this.Sf[a].Ika.resolve(FA(this,this.Sf[a].Cka));this.rX=!0;this.qX.resolve(this.lr)};BA.prototype.sendRequest=function(a){if(this.rX)return FA(this,a);var b=Sg();this.Sf.push({Cka:a,Ika:b});return b.uf};
function FA(a,b){var c,d,f,g=ca("config.get",a.lr);a.sD||(c=g("googleapis.config/auth/useFirstPartyAuth"),d=g("googleapis.config/auth/useOriginToken"));null!=a.Uk&&(f=g("client/cors"));try{var h=ca("config.update",a.lr);a.sD||(h("googleapis.config/auth/useFirstPartyAuth",!1),h("googleapis.config/auth/useOriginToken",!1));null!=a.Uk&&h("client/cors",a.Uk);var k=ca("client.request",a.lr),m=GA(a);b.headers&&cc(m,b.headers);var q={headers:m,root:a.tK,path:b.path,method:b.method,body:b.body},v=b.wH||{};
a.qW&&!a.dH?cc(v,{key:a.qW}):a.dH&&cc(v,{key:null});Vb(v)||(q.params=v);var B=Ng(k(q));b.Jb&&B.then(function(a){b.Jb.apply(null,[a.result,a])},function(a){b.Jb.apply(null,[a.result,a])});return B}finally{h=ca("config.update",a.lr),a.sD||(h("googleapis.config/auth/useFirstPartyAuth",c),h("googleapis.config/auth/useOriginToken",d)),null!=a.Uk&&h("client/cors",f)}}
function GA(a){if(a.sD){if(a.dH)return{Authorization:"Bearer "+a.dH};var b=ca("auth.getAuthHeaderValueForFirstParty",a.lr);return{Authorization:a.sma?b([]):b(),"X-Goog-AuthUser":a.Cm}}return{}};function HA(a,b,c){H.call(this);this.Jc=a;(a=b)||(a=new BA("AIzaSyBc1bLOZpOtg3-qgMjSQ6pmn6HbE2zjzJg",void 0,this.Jc.tK||void 0,!0),A(this,a),a.init());this.E6=a;this.Ft="/drive/v2internal";this.UQ=new Zw;this.dx=c||"";this.Q$=!1}w(HA,H);
var IA="icons[category='application'] id name openUrlTemplate primaryFileExtensions primaryMimeTypes productId rankingInfo secondaryFileExtensions secondaryMimeTypes".split(" "),JA="authorized chromeExtensionIds createInFolderTemplate createUrl icons(iconUrl,size,category) id installed kind longDescription name objectType openUrlTemplate origins primaryFileExtensions primaryMimeTypes productId productUrl rankingInfo removable requiresAuthorizationBeforeOpenWith secondaryFileExtensions secondaryMimeTypes shortDescription supportsCreate supportsImport supportsMultiOpen type useByDefault".split(" "),KA=
["hasAppData"],LA=["appDataQuotaBytesUsed"];function MA(a,b,c){var d="%s?appQueryScope=ALL_WEBSTORE&fields=items(%s),kind&languageCode=%s",f=["drive/v2beta/apps",IA.join(","),"en"];b&&(d+="&appFilterMimeTypes=%s",f.push(mb(b,Ea).join(",")));c&&(d+="&appFilterExtensions=%s",f.push(mb(c,Ea).join(",")));a.dx&&(d+="&trace=token:%s",f.push(a.dx));f.unshift(d);return Aj.apply(null,f)}
function NA(a,b,c){var d=Sh(new Mh(b,c,"drive#appList")).start();b=new Ru;Gh(d,t(a.rda,a,b));Hh(d,t(a.qda,a,b));qc(a,function(){d.cancel()});return b}e=HA.prototype;e.rda=function(a,b){var c=mb(b.items,function(a){return new Ew(a)});a.Jb(c)};e.qda=function(a,b){a.od(Error(OA(b,"")))};function OA(a,b){if(!1===a)return b;if(!n(a))return null;var c=a.error;return c?(c.errors&&0<c.errors.length?c.errors[0].debugInfo:c.message)||"":null}e.wca=function(a,b,c){b=OA(b,c);null!=b?a.od(Error(b)):a.Jb()};
function ix(a,b,c,d){b=Aj("%s/%s/authorize?&appId=%s",a.Ft+"/files",b,c.getId());var f=new Ru;Wu(f,t(a.sba,a,c,d));a.Jc.sendRequest({path:b,method:"POST",Jb:t(f.Jb,f)});return f}e.sba=function(a,b,c){if("drive#file"!=c.kind)throw Error("Did not receive drive#file response when authorizing: "+c);var d=a.Wa.lH;x(d)?b=c.openWithLinks[a.getId()]:(a={},a[c.id]=b,b=this.UQ.resolve(d,a));if(x(za(b)))throw Error("openWithUrl missing from authorization response: "+c);return b};
e.HN=function(a){var b=new qj;if("drive#about"!=a.kind)throw Error("Did not receive drive#about response when fetching import map: "+a);(a=a.importFormats)&&y(a,function(a){b.set(a.source,a.targets)});return b};e.Oba=function(a){if(a.error&&a.error.errors&&0<a.error.errors.length)throw a.error.errors[0].reason;if("drive#file"!=a.kind)throw Error("Did not receive drive#file response when converting file: "+a);return{waa:a.id,mimeType:a.mimeType}};
e.install=function(a){a=Aj("%s?appId=%s",this.Ft+"/apps",a);var b=new Ru;this.Jc.sendRequest({path:a,method:"POST",Jb:t(this.wca,this,b)});return b};function PA(){z.call(this);this.yq={};navigator.actions.addEventListener("update",t(this.t3,this))}w(PA,z);PA.prototype.t3=function(a){this.yq[a.id]&&(this.yq[a.id].postMessage({type:a.type,openState:!a.done,file:a.data.file}),a.done&&(this.yq[a.id].close(),delete this.yq[a.id]))};
function QA(a,b,c){var d=new MessageChannel;d.port1.onmessage=t(function(a){a=a.data;"update"==a.type&&n(a.file)&&c(a.file)},a);var f=d.port2;return Ng(navigator.actions.performAction({verb:"open",bidirectional:!0,type:b.type},{file:b})).then(function(a){this.yq[a.id]=f},void 0,a)}PA.prototype.ma=function(){for(var a in this.yq)this.yq[a].close();navigator.actions.removeEventListener("update",this.t3)};function RA(a){z.call(this);this.t$=new Gw;this.OW=a;this.wD=null}w(RA,z);RA.prototype.PE=function(a){return a&&Ww(a)||!Hi||null==navigator.actions?[]:[this.t$]};RA.prototype.SQ=function(a,b,c,d){return SA(this.OW,a).then(function(f){null===this.wD&&(this.wD=new PA,A(this,this.wD));for(var g=new Uint8Array(f.length),h=0;h<f.length;++h)g[h]=f.charCodeAt(h);f=new File([g],b,{type:c});return QA(this.wD,f,t(this.jma,this,a,c,d))},void 0,this)};RA.prototype.jma=function(a,b,c,d){a=TA(this.OW,a,b,d);c(a)};function UA(a,b){this.Jc=a;this.mg=b||"/drive/v2internal"}var VA={"Content-Type":'multipart/mixed; boundary="-------314159265358979323846"'};function SA(a,b){return a.Jc.sendRequest({path:a.mg+"/files/"+b+"?alt=media",method:"GET"}).then(function(a){return WA(a,void 0)},void 0,a)}
function TA(a,b,c,d){var f="/upload"+(a.mg+"/files/"+b)+"?uploadType=multipart&fields=kind",g=Sg(),h=new FileReader,k=!1;h.onload=t(function(){k=!0;var a=wa("\r\n---------314159265358979323846\r\nContent-Type: application/json\r\n\r\n\r\n---------314159265358979323846\r\nContent-Type: %s\r\nContent-Transfer-Encoding: base64\r\n\r\n%s\r\n---------314159265358979323846--",c,h.result.replace(/(data:[\w\/]*;base64,)/i,""));g.resolve(this.Jc.sendRequest({path:f,method:"PUT",headers:VA,body:a,Jb:p}).then(function(a){WA(a,
"drive#file")},void 0,this))},a);h.onerror=function(){k=!0;g.reject(h.error)};h.readAsDataURL(d);Xg(g.uf,function(a){a instanceof Yg&&!k&&h.abort()},a);return g.uf}function WA(a,b){if(0==a.result)return a.body;if(a.result.kind==b&&!a.result.error)return a.result;throw Error(a);};function Wz(a){Xi(this,a,null)}w(Wz,Vi);Wz.prototype.Ya=function(){return ij(this)};function Xz(a){return null==L(a,1)?!1:L(a,1)}function Yz(a){return null==L(a,6)?!1:L(a,6)}function Zz(a){return null==L(a,7)?!1:L(a,7)};function XA(a,b,c){this.wU=b;this.i6=a;this.UU=!!Xz(a);if(YA(this)){a=this.wU;if(a.Te.get("version"))a=a.Te.get("version").Rq.Rt();else{b=new ZA;var d=new Ru;$A(a,"version",d,!0,b);a.xh("version",d,"native_opener/version");a=d.Rt()}a=Zu(a,t(this.sfa,this))}else a=fv(Error());this.Y6=a;this.bH=c||null;this.N2=new Ru;this.bH&&(this.L6(),this.bH.listen(t(this.L6,this)))}function ZA(){sa.call(this)}w(ZA,sa);function aB(){sa.call(this)}w(aB,sa);e=XA.prototype;
e.L6=function(){this.bH&&(this.bH.get()?this.N2=new Ru:$u(bB(this),this.N2))};function bB(a){return Yu(a.EE("undefined"),function(a){return a instanceof aB?ev():fv(a)})}function YA(a){var b;if(b=a.UU&&Hi&&dm(35))b=!!Yz(a.i6)&&Nd,a=!!Zz(a.i6)&&Od,b=b||a;return b}e.sfa=function(a){return a instanceof Error?fv(a):0>Da(a.data.full,"1.18")?fv(Error()):ev()};e.EE=function(a){if(!YA(this))return fv(Error());var b=new Ru;Xu(this.Y6,t(this.Nca,this,a,b),t(this.Mca,this,b));return b};
e.Nca=function(a,b){Xu(this.wU.EE(a),t(this.Lca,this,b),t(this.Kca,this,b))};e.Mca=function(a,b){a.od(b)};e.Lca=function(a,b){if(b.success&&b.data)if(b.data.applications)if(0==b.data.applications.length)a.od(new aB);else{var c=[],d=[];y(b.data.applications,function(a){vb(a["default"]?c:d,a)});var f=cB(this,c),f={A3:cB(this,d),$X:0==f.length?void 0:f[0]};a.Jb(f)}else a.od(Error());else 0==b.reason_code&&(this.UU=!1),a.od(Error())};
function cB(a,b){var c=[];y(b,function(a){a.application_id&&(a=new Hw(a.application_id,a.name,x(za(a.icon))?void 0:"data:image/png;base64,"+a.icon),vb(c,a))},a);return c}e.Kca=function(a){a.od(Error())};e.OQ=function(a,b){if(!YA(this))return fv(Error());var c=new Ru;Wu(this.Y6,t(this.Oda,this,a,b,c));return c};e.Oda=function(a,b,c){Wu(this.wU.OQ(a,b),t(this.Nda,this,c))};e.Nda=function(a,b){b.success?a.Jb():a.od(Error())};function dB(a){this.Te=new qj;this.Eja=(null==L(a,8)?0:L(a,8))||0;this.S6=(null==L(a,9)?"":L(a,9))||"";this.raa=(null==L(a,5)?"lmjegmlicamnimmfhcmpkclmigmmcbeh":L(a,5))||"";this.UU=!0}function $A(a,b,c,d,f){a.Te.set(b,{Rq:c,Vla:d?I(t(a.cO,a,b,f),a.Eja):void 0})}function eB(a,b,c){var d=a.Te.get(b);if(d){var f=d.Vla;null!=f&&J(f);a.Te.remove(b);c&&d.Rq.od(c)}}e=dB.prototype;e.cO=function(a,b){eB(this,a,b||Error())};
e.xh=function(a,b,c){if(chrome&&chrome.runtime)try{var d=chrome.runtime.connect(this.raa,{name:"com.google.drive.nativeproxy"});d&&(d.onMessage.addListener(t(this.oia,this)),d.postMessage(c),Zu(b,function(){try{d.postMessage("quit"),d.disconnect()}catch(a){}},this))}catch(f){eB(this,a),b.od(Error(f))}else eB(this,a),b.od(Error())};
e.EE=function(a){var b=a+",applications_for_file";if(this.Te.get(b))return this.Te.get(b).Rq.Rt();var c=new Ru;$A(this,b,c,!0);this.xh(b,c,"native_opener/list_apps/"+this.S6+"/"+a);return c.Rt()};e.OQ=function(a,b){var c=a+",open_file";if(this.Te.get(c))return this.Te.get(c).Rq.Rt();var d=new Ru;$A(this,c,d,!1);this.xh(c,d,"native_opener/open_file/"+this.S6+"/"+a+"/"+b);return d};
e.oia=function(a){var b="";switch(a.type){case "version":b=a.type;break;case "applications_for_file":case "open_file":b=a.data?Ba(a.data.doc_id)+","+a.type:""}var c=this.Te.get(b).Rq;eB(this,b);c.Jb(a)};function fB(){this.jga="undefined"!=typeof chrome&&!!chrome.runtime&&!!chrome.runtime.connect}
function gB(a,b){var c={msg:"driveEnabled"},d={name:"drive"},f=new Ru;if(a.jga){var g=null;try{g=chrome.runtime.connect(b,d)}catch(h){return f.od("connectError"),f}if(g){g.onMessage.addListener(function k(a){g.onMessage.removeListener(k);g.disconnect();chrome.runtime.lastError?f.od("chromeRuntimeError"):f.Jb(a)});try{g.postMessage(c)}catch(k){f.od("portPostMessage")}}else f.od("portInitialization")}else f.od("chromeRuntimeUnavailable");return f};function hB(){this.qaa={"application/vnd.google-apps.document":"text/html application/vnd.oasis.opendocument.text application/pdf application/rtf text/plain application/vnd.openxmlformats-officedocument.wordprocessingml.document".split(" "),"application/vnd.google-apps.drawing":["application/pdf","image/jpeg","image/png","image/svg+xml"],"application/vnd.google-apps.presentation":["application/pdf","application/vnd.openxmlformats-officedocument.presentationml.presentation","text/plain"],"application/vnd.google-apps.spreadsheet":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/pdf","application/x-vnd.oasis.opendocument.spreadsheet","text/csv"]}};function iB(a){this.Fj=a;this.gU=new qj;this.kh()}w(iB,H);iB.prototype.kh=function(){var a=this.Fj,b="%s?fields=importFormats,kind";a.dx&&(b+="&trace=token:%s");var b=Aj(b,a.Ft+"/about",a.dx),c=new Ru;Wu(c,a.HN,a);a.Jc.sendRequest({path:b,method:"GET",Jb:t(c.Jb,c)});Wu(c,this.HN,this)};iB.prototype.HN=function(a){this.gU=a};function jB(a,b,c,d,f){H.call(this);this.Ix=[];this.Xo=!1;this.Lr=new kB;A(this,this.Lr);this.Vm=new kB;A(this,this.Vm);this.NO=0;this.$0=new xj;this.JA=new qj;this.Ky=new qj;this.eE=new xj;this.Cq=new qj;this.QA=new qj;this.lQ=[];this.OX=[];this.k4=[];this.Fj=a;this.mH=null;this.bA=new iB(a);A(this,this.bA);this.oaa=new hB;this.vY=!!b;this.yY=!0;this.R$=!1;this.saa=this.vY?new fB:null;this.U$=!0;this.Ww=null;c&&Xz(c)&&(a=new dB(c),this.Ww=new XA(c,a,f));this.vD=d||null;this.Fa=new K(this);A(this,
this.Fa);this.Fa.listen(this.Fj,"ua",this.Sba)}w(jB,H);var lB={0xfe66319858:"619683526622",133678810058:"1083656409722",973666970040:"889782162350"};e=jB.prototype;e.Ke=function(){if(this.yY)switch(this.NO){case 0:var a;a=this.Fj;a=NA(a,a.E6,MA(a));Wu(a,this.g0,this);break;case 1:if(!this.$0.isEmpty()){a=this.Fj;var b=this.$0.wc();a=NA(a,a.E6,MA(a,b,void 0));Wu(a,this.g0,this)}this.NO=2;break;default:throw Error("Unexpected state "+this.NO);}return this.aI()};e.Sba=function(){this.aI()};
e.g0=function(a){var b;this.Vm.wg()?(b="da",this.Vm.LU(a)):(b="ca",mB(this.Vm,a));a=new nx(b,this);this.Xo?this.dispatchEvent(a):this.Fa.Fb(this,"$",t(this.dispatchEvent,this,a))};e.aI=function(a,b){var c;c=this.Fj;var d=b||0||0,f=[];Ab(f,JA);1==d?Ab(f,KA):2==d&&(Ab(f,KA),Ab(f,LA));d="%s?fields=items(%s),kind&languageCode=%s";c.dx&&(d+="&trace=token:%s");f=Aj(d,c.Ft+"/apps",f.join(","),"en",c.dx);c=NA(c,c.Jc,f);Wu(c,t(this.ila,this));return c};
e.ila=function(a){a=Jb(a,function(a){return a.getType()},this);var b=a.WEB_AND_CHROME_EXTENSION||[],c=a.CHROME_EXTENSION_ONLY||[];this.Ix=yb(a.WEB_ONLY||[],b);if(this.vY){a=yb(b,c);var d=new xj,f=new qj;y(a,function(a){var b=a.W9;d.addAll(b);y(b,function(b){f.Wd(b)?f.get(b).push(a):f.set(b,[a])},this)},this);y(d.wc(),function(a){Yu(Wu(gB(this.saa,a),t(this.Iea,this,a,f.get(a))),t(this.Hea,this,a,f.get(a)))},this)}nB(this)};e.Hea=function(){};
e.Iea=function(a,b,c){var d=[],f=[];c&&(c.driveEnabled||c.qo_version)&&(y(b,function(b){b.TF=!0;var c=b.Wa,k=ak(new Zj(c.lH),"chrome-extension").zn(a);c.lH=k.toString();c.f6&&(k=ak(new Zj(c.qZ()),"chrome-extension").zn(a),c.RX=k.toString(),k=ak(new Zj(c.hL),"chrome-extension").zn(a),c.hL=k.toString());"CHROME_EXTENSION_ONLY"==b.getType()?(this.Ix.push(b),f.push(b)):d.push(b)},this),0==d.length&&0==f.length||nB(this,new nx("aa",this)))};e.wg=function(){return this.Xo};
function nB(a,b){var c=new qj(a.Cq);oB(a);var d=lb(a.Ix,function(a){return a.isInstalled()||a.TF});mB(a.Lr,d);pB(a);d=a.Xo;a.Xo=!0;a.dispatchEvent(b?b:qB(a,d,a.Cq,c))}function qB(a,b,c,d){return new nx(b?"aa":"$",a,rB(c,d),rB(d,c))}function rB(a,b){return lb(a.wc(),function(a){var d=b.get(a.getId());return(a.isInstalled()||a.QO())&&(!d||!(d.isInstalled()||d.QO()))})}
function oB(a){a.Cq.clear();a.OX=[];a.k4=[];y(a.Ix,function(a){this.Cq.set(a.getId(),a);if((a.isInstalled()||a.TF)&&null!=a.Wa){a.Wa.f6&&this.OX.push(a);var c;if(null!=a.Wa){c=a.Wa.wB;var d=a.Wa.PH,d=d&&0<d.length;c=c&&1==c.length&&Ww(c[0])&&!d}else c=!1;c&&this.k4.push(a.getId())}},a)}
function pB(a){a.eE.clear();a.JA.clear();a.Ky.clear();y(a.Ix,function(a){(a.isInstalled()||a.TF)&&null!=a.Wa&&a.Wa.nma&&(this.eE.add(a),y(a.Wa.wB,function(c){this.JA.set(c,a)},this),y(a.Wa.PH,function(c){this.Ky.set(c,a)},this))},a)}
function jA(a,b,c){var d=sB(a,b,c);if(a.R$){var f=a.oaa.qaa[b]||null;f&&y(f,function(a){a=tB(this,a,!0);Ab(d,a)},a)}(f=a.bA.gU.get(b,null))&&y(f,function(a){a=tB(this,a,!0);Ab(d,a)},a);b=(b=vA(a,b,c))?b.getId():"";Gb(d,qa(uB,b));a.U$&&(d=vB(d));Db(d,null,wB);return d}function vB(a){for(var b={},c=0;c<a.length;c++){var d=a[c].getId();d in lB&&(b[lB[d]]=!0)}return lb(a,function(a){return!(a.getId()in b)})}
function tB(a,b,c){(a=a.Lr.Iv.get(b)||[],c)&&(a=lb(a,function(a){return a.Wa.Gla||Yw(b)}));return a?zb(a):[]}function sB(a,b,c){b=tB(a,b);a=(a=a.Lr.mu.get(c)||[],zb(a));return yb(b,a)}function vA(a,b,c){return(c=a.Ky.get(c))?c:a.JA.get(b)}
e.GM=function(a,b,c){if(this.yY){var d=t(this.GM,this,a,b,c);this.Lr.wg()?this.Vm.wg()?(d=[],Ab(d,this.Vm.Iv.get(a)||[],this.Vm.mu.get(b)||[]),Db(d,null,wB),d=lb(d,function(a){a=this.Cq.get(a.getId());return!(a&&a.isInstalled())},this),Gb(d,function(c,d){var h=Cw(d.Kp,a)+Dw(d.Kp,b)-(Cw(c.Kp,a)+Dw(c.Kp,b));return 0!=h?h:d.Kp.QV-c.Kp.QV}),y(d,function(c){c.vga=Ww(a)||450<Cw(c.Kp,a)||450<Dw(c.Kp,b)}),c(d)):this.Fa.Fb(this.Vm,"$",d):this.Fa.Fb(this.Lr,"$",d)}else c([])};
e.install=function(a){return Wu(this.Fj.install(a),t(this.aI,this,!0,void 0))};e.ma=function(){y(this.lQ,function(a){J(a)});this.Cq.clear();this.Cq=null;this.QA.clear();this.QA=null;this.JA.clear();this.JA=null;this.Ky.clear();this.Ky=null;this.eE.clear();this.eE=null;jB.R.ma.call(this)};function kB(){H.call(this);this.Iv=new qj;this.mu=new qj;this.Xo=!1}w(kB,H);kB.prototype.wg=function(){return this.Xo};
function mB(a,b){a.clear();y(b,function(a){null!=a.Wa&&(y(yb(a.Wa.wB,a.Wa.N4),function(b){var f=this.Iv.get(b);f||(f=[],this.Iv.set(b,f));f.push(a)},this),y(yb(a.Wa.PH,a.Wa.UR),function(b){var f=this.mu.get(b);f||(f=[],this.mu.set(b,f));f.push(a)},this))},a);a.Xo||(a.Xo=!0,a.dispatchEvent(new nx("$",a)))}kB.prototype.LU=function(a){a=Lb(this.Iv.wc(),this.mu.wc(),a);Db(a,null,wB);mB(this,a)};kB.prototype.clear=function(){this.Iv.clear();this.mu.clear()};kB.prototype.ma=function(){this.clear();kB.R.ma.call(this)};
function wB(a){return a.getId()}function kA(a,b,c){return a.Ww?c&&Ww(c)?ev({A3:[]}):(c=a.QA.get(b))?ev(c):Wu(a.Ww.EE(b),function(a){this.QA.set(b,a);var c=I(function(){this.QA.remove(b);wb(this.lQ,c)},36E5,this);this.lQ.push(c)},a):fv("Application launching is not enabled.")}jB.prototype.PE=function(a){if(this.Ww||!this.vD)return ev([]);a=this.vD.PE(a);return ev(a)};function qA(a,b,c){return a.Ww?a.Ww.OQ(b,c):fv("Application launching is not enabled.")}
jB.prototype.SQ=function(a,b,c,d){return this.vD?this.vD.SQ(a,b,c,d):Og(Error("BallistaAppService not enabled."))};function uB(a,b,c){if(b.getId()!=c.getId()){if(b.getId()==a)return-1;if(c.getId()==a)return 1}return b.AX(c)};function xB(a){var b=qi(a,ri),c;a=a.qa();var d=pi(a);yB(d)&&(c=new BA(yB(d),void 0,b.tK||void 0,!0),c.init());c=new HA(b,c);var f=oi(d);c.Ft=f;var f=null==L(a,34)?!1:L(a,34),g;if(null==L(a,66)?0:L(a,66))g=new UA(b,oi(d)),g=new RA(g);a=new jB(c,f,aj(a,Wz,57),g);a.Ke();A(a,b);A(a,c);return a};function zB(a){z.call(this);this.S=a;this.ha=new K(this);A(this,this.ha);a=Z(a);this.ha.listen(a,gm.ZJ,t(this.Dr,this)).listen(a,"ea",t(this.Ib,this))}w(zB,z);zB.prototype.Dr=function(a){a=a.target;1==a.getState()&&this.S.get(Tv).Yn.set(a.getId(),a)};zB.prototype.Ib=function(){var a=Z(this.S).Ea();this.S.get(Tv).Yn.set(a.getId(),a)};function AB(){H.call(this);this.ug=0;this.kO=!1}w(AB,H);AB.prototype.getHeight=function(){return this.ug};AB.prototype.Sd=function(a){a!=this.ug&&(this.ug=a,this.dispatchEvent("ya"))};AB.prototype.CF=function(){return this.kO};function BB(a){H.call(this);this.Lh=a||window;this.Rr=qg(this.Lh,"resize",this.tg,!1,this);this.sd=re(this.Lh)}w(BB,H);function CB(a){a=a||window;var b=la(a);return DB[b]=DB[b]||new BB(a)}var DB={};BB.prototype.Pc=function(){return this.sd?this.sd.clone():null};BB.prototype.ma=function(){BB.R.ma.call(this);this.Rr&&(zg(this.Rr),this.Rr=null);this.sd=this.Lh=null};BB.prototype.tg=function(){var a=re(this.Lh);Cd(a,this.sd)||(this.sd=a,this.dispatchEvent("resize"))};function EB(a,b){z.call(this);this.S=a;this.Bd=b;this.ha=new K(this);A(this,this.ha);this.fC=CB(a.U().getWindow());var c=Z(this.S);this.ha.listen(this.Bd,"p",this.Sj).listen(this.Bd,"r",this.Ica).listen(this.Bd,"q",this.Br).listen(this.Bd,"s",this.QN).listen(this.Bd,"t",this.Cr).listen(this.Bd,"u",this.YN).listen(this.Bd,"x",this.Jba);bw(this.S)&&this.ha.listen(this.Bd,"v",this.Pda).listen(this.Bd,"w",this.Iba).listen(c,"fa",this.Ti).listen(this.fC,"resize",this.tg)}w(EB,z);e=EB.prototype;
e.YN=function(a){Fx(Z(this.S),a.item.pb,u())};e.Jba=function(a){this.Bd.Ur(a)};e.Cr=function(a){var b=u(),c=Z(this.S),d=c.Fe;0<d?c.setActive(d-1,a,b):bw(this.S)&&1<Hx(c)&&(Fs(oq(this.S),{La:4,$a:7}),FB(this,!0))};
e.Ica=function(a){var b=Z(this.S).Ea();this.S.get(Kv);var c=qi(this.S,zv);if(!Tz(0,b)){var d=a.xM,f=a.My,g=a.$a;aw(c.getContext()).showNotification("Extracting...",!0,5E3);a=qi(c.getContext(),Fm);var h=b.pb.cl(),k=2==h?b.Cu():b.Oa(),h=2==h?"GMAIL":"DRIVE",m="e_"+b.getId();pq(c.wa,m,{La:45,$a:g,item:b});f=t(c.Yha,c,b,m,f||null);c=t(c.Xha,c,b,m);g=b.Rb();m=b.getName();b=b.Pc();k=a.mg+"/files/"+k+"/extract";k=ei(k,"origin",h,"mimeType",g);x(za(m))||(k=fi(k,"fileName",m));null!=b&&(k=fi(k,"fileSize",
b));x(za(d))||"root"==d||(k=fi(k,"destinationLocationId",d));d=Sh(Qh(Ph(new Mh(a.Jc,k,"drive#archiveExtractionJob"),4),"POST")).start();a.wf(d);Gh(d,f);Hh(d,c)}};e.QN=function(a){var b=Z(this.S).Ea(),c=this.S.get(Kv);Tz(0,b)||c.l0(b,a.app,a.$a)};e.Br=function(a){var b=u(),c=Z(this.S),d=c.Fe,f=Hx(c);d<f-1?c.setActive(d+1,a,b):bw(this.S)&&1<f&&(Fs(oq(this.S),{La:4,$a:7}),FB(this,!0))};e.Pda=function(){FB(this,!0)};e.Iba=function(){FB(this,!1)};
e.Ti=function(){I(function(){this.isDisposed()||FB(this,0!=bw(this.S).ug)},0,this)};e.Sj=function(){FB(this,!1);$y(Gr(this.S),!1);GB(Gr(this.S),!1)};e.tg=function(){FB(this,0!=bw(this.S).ug)};function FB(a,b){if(bw(a.S)){var c=0,d;d=a.Bd;d=d.fr?d.fr.CF():!1;b&&(c=d?87:75);var f=bw(a.S);d!=f.kO&&(f.kO=d,f.dispatchEvent("za"));f.Sd(c)}};function HB(a){H.call(this);this.S=a;this.DJ=3==a.qa().vc()?56:60;var b=wr(this);a=3==a.qa().vc()?8:12;this.IF=0<b?b:a;this.yX=52}w(HB,H);var IB=null;
function wr(a){if(null===IB){var b=a.S.U(),c=b.ra("div",{style:"width:200px;height:200px"}),d=b.ra("div",{style:"overflow:auto;position:absolute;top:0;width:100px;height:100px","class":"drive-viewer-scrollable"},c),c=d;3==a.S.qa().vc()&&(c=b.ra("div",{"class":"drive-viewer-v3"},d));b.appendChild(b.Ba.body,c);d=d.offsetWidth-d.clientWidth;b.removeNode(c);IB=d}b=IB;return 0!=zs(a.S.qa())&&Z(a.S).wg()?Z(a.S).Ea().getFeature().cP()?b:0:b}
HB.prototype.hf=function(){return new un(this.DJ,this.IF,this.DJ,this.IF)};function JB(a){a=a.hf();return a.left+a.right}function KB(a){a=a.hf();return a.top+a.bottom};function LB(a){H.call(this);this.S=a;this.eg=!1;this.sy=null;this.tw=!1;this.zX=!!Kz(a.qa());this.YR=this.TQ=this.eQ=null}w(LB,H);function $y(a,b,c){if(a.eg!=b){if(b&&null==a.sy)if(a.S.Od())a.sy=0;else{var d=a.S.U().ua("drive-viewer-details-panel");a.sy=d?Zn(d).width:0}a.eg=b;a.dispatchEvent(new MB(c))}}function NB(a){return a.eg&&a.sy?a.sy:0}function GB(a,b){a.tw!=b&&(a.tw=b,a.dispatchEvent("Ga"))}function OB(a,b){A(a,b);b.Fg(a);return b}function PB(a){return!!a.eQ&&a.eQ.Ca()}
function QB(a){return!!a.TQ&&a.TQ.Ca()}function RB(a){return!!a.YR&&a.YR.Ca()}function MB(a){G.call(this,"Ca");this.cq=a}w(MB,G);function SB(a,b){H.call(this);this.yb=a;this.jaa=b}w(SB,H);SB.prototype.setVisible=function(a){this.yb.setVisible(a)};SB.prototype.Ca=function(){return this.yb.Ca()};SB.prototype.ma=function(){this.yb=null};function TB(a){z.call(this);this.S=a;this.fC=new BB(this.S.U().getWindow());A(this,this.fC);this.ha=new K(this);A(this,this.ha);this.ha.listen(this.fC,"resize",this.tg).listen(Gr(this.S),"Ca",this.Jm).listen(xr(this.S),"Aa",this.yda);(a=bw(this.S))&&this.ha.listen(a,"ya",this.Er);UB(this)}w(TB,z);TB.prototype.tg=function(a){UB(this,a)};TB.prototype.Er=function(a){UB(this,a)};TB.prototype.Jm=function(a){UB(this,a)};TB.prototype.yda=function(a){UB(this,a)};
function UB(a,b){var c=xr(a.S),d=a.fC.Pc(),f=NB(Gr(a.S)),f=d.width-f,g=bw(a.S)?bw(a.S).getHeight():0,c=new D(f-JB(c),d.height-g-KB(c));Ar(a.S).setSize(c,d,b)};function VB(a){H.call(this);this.S=a;this.xH={};this.ha=new K(this);A(this,this.ha);this.ha.listen(Z(a),"ha",this.Ar)}w(VB,H);VB.prototype.getParent=function(a){var b=this.xH[a];if(!b||b.hi()){var b=qi(this.S,Fm),c=t(this.Bca,this,a),d=Sh(new Mh(b.Jc,b.mg+"/files/"+a+"?fields=title,alternateLink,kind,primarySyncParentId,userPermission(role),shared,iconLink","drive#file")).start();b.wf(d);Gh(d,p);Hh(d,c);b=d;this.xH[a]=b}return b};VB.prototype.Bca=function(a){delete this.xH[a]};
VB.prototype.Ar=function(){this.xH={}};function WB(a){Xi(this,a,null)}w(WB,Vi);WB.prototype.Ya=function(){return ij(this)};WB.prototype.Oa=function(){return L(this,2)};WB.prototype.hS=function(a){N(this,2,a)};function XB(a){Xi(this,a,YB)}w(XB,Vi);var YB=[1];XB.prototype.Ya=function(){return ij(this)};XB.prototype.iz=function(){return L(this,5)};XB.prototype.rT=function(a){N(this,5,a)};function ZB(a){Xi(this,a,null)}w(ZB,Vi);e=ZB.prototype;e.Ya=function(){return ij(this)};e.Kb=function(){return L(this,1)};e.Ed=function(a){N(this,1,a)};e.getHeight=function(){return L(this,2)};e.Sd=function(a){N(this,2,a)};function $B(a){Xi(this,a,null)}w($B,Vi);e=$B.prototype;e.Ya=function(){return ij(this)};e.Jf=function(){return L(this,1)};e.LS=function(a){N(this,1,a)};e.eh=function(){return L(this,2)};e.LI=function(a){N(this,2,a)};function aC(a){Xi(this,a,null)}w(aC,Vi);e=aC.prototype;e.Ya=function(){return ij(this)};
e.Jf=function(){return L(this,1)};e.LS=function(a){N(this,1,a)};e.eh=function(){return L(this,2)};e.LI=function(a){N(this,2,a)};e.Kb=function(){return L(this,3)};e.Ed=function(a){N(this,3,a)};e.getHeight=function(){return L(this,4)};e.Sd=function(a){N(this,4,a)};function bC(a){Xi(this,a,null)}w(bC,Vi);e=bC.prototype;e.Ya=function(){return ij(this)};e.Iu=function(){return L(this,1)};e.xd=function(){return aj(this,$B,2)};e.XS=function(a){cj(this,2,a)};e.Pc=function(){return aj(this,ZB,3)};
e.setSize=function(a){cj(this,3,a)};function cC(a){Xi(this,a,dC)}w(cC,Vi);var dC=[2,3,4,5];cC.prototype.Ya=function(){return ij(this)};cC.prototype.Gm=function(){return L(this,1)};function eC(a){Xi(this,a,null)}w(eC,Vi);e=eC.prototype;e.Ya=function(){return ij(this)};e.xd=function(){return aj(this,$B,1)};e.XS=function(a){cj(this,1,a)};e.getUrl=function(){return L(this,2)};e.setUrl=function(a){N(this,2,a)};function fC(a){Xi(this,a,gC)}w(fC,Vi);var gC=[1,2,3,6,7];fC.prototype.Ya=function(){return ij(this)};function hC(a,b){var c=new Ls;c.setData(a);N(c,2,b);return c};function iC(a,b){em.call(this,a,b);this.T3=this.hw=this.li=null}w(iC,em);e=iC.prototype;e.jf=function(){return this.pb.jf()};function jC(a){a=kC(a.pb);return!x(za(a))}function lC(a){var b=kC(a.pb);return jC(a)?b:a.pb.jf()}e.gN=function(){return{}};e.Qj=function(){return this.li};e.Cn=function(a){this.li=a;this.ou.Cn(a);this.dispatchEvent("Ha")};e.jF=function(){return this.hw};e.Uv=p;function mC(a,b){iC.call(this,a,b);this.tk=[]}w(mC,iC);e=mC.prototype;e.Ax=function(a){this.tk.push(a);a.Fg(this);A(this,a)};function nC(a,b){return a.tk[b]}e.Gm=function(){return this.tk.length};e.gN=function(){return{r:"gb"}};e.Nd=function(a,b,c){a=mC.R.Nd.call(this,a,b,c);return $l(a)?li(a,"r","gb"):a};e.Uv=function(a,b,c){b||(a=new bC(Oi(c.sheets)),b=a.Iu(),b=this.tk[b],c=a.xd().eh(),a=a.xd().Jf(),oC(b,pC(b.LC,c),pC(b.vz,a)).CE=!0,b.dispatchEvent("Lb"))};function qC(a){Xi(this,a,null)}w(qC,Vi);e=qC.prototype;e.Ya=function(){return ij(this)};e.JM=function(){return L(this,1)};e.b5=function(a){N(this,1,a)};e.aN=function(){return L(this,2)};e.q5=function(a){N(this,2,a)};function rC(a){Xi(this,a,null)}w(rC,Vi);rC.prototype.Ya=function(){return ij(this)};rC.prototype.mz=function(){return Zi(this,5)};rC.prototype.KT=function(a){N(this,5,a)};var sC={UNKNOWN:0,J7:1,H7:2};function tC(a){Xi(this,a,null)}w(tC,Vi);tC.prototype.Ya=function(){return ij(this)};function uC(a){Xi(this,a,null)}w(uC,Vi);e=uC.prototype;e.Ya=function(){return ij(this)};e.vZ=function(){return L(this,1)};e.Yh=function(){return L(this,2)};e.bz=function(){return aj(this,lj,5)};e.Y4=function(a){cj(this,6,a)};e.c5=function(a){N(this,7,a)};function uq(a){return aj(a,lq,8)};function vC(a){Xi(this,a,null)}w(vC,Vi);vC.prototype.Ya=function(){return ij(this)};vC.prototype.hz=function(){return L(this,1)};function wC(a){Xi(this,a,xC)}w(wC,Vi);var xC=[1];e=wC.prototype;e.Ya=function(){return ij(this)};e.iz=function(){return L(this,4)};e.rT=function(a){N(this,4,a)};e.CT=function(a){N(this,5,a)};e.RE=function(){return aj(this,qC,6)};e.a5=function(a){cj(this,6,a)};e.QZ=function(){return L(this,8)};e.k5=function(a){N(this,8,a)};function yC(a,b){if(a){var c=L(a,10)||0;N(a,10,c|1<<b)}};var zC=Math.floor(36E5*(23+Math.random()));function AC(){var a=new vC,b;window.crypto&&window.crypto.getRandomValues?(b=new Uint32Array(2),window.crypto.getRandomValues(b),b=b[0].toString(36)+b[1].toString(36)):b=Za();N(a,1,b);b=u();N(a,2,b);return a}var BC=AC();function CC(a){z.call(this);this.ac=a.qa();this.MF=[];this.cB=null;this.S=a}w(CC,z);var DC={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,10:10,11:11,12:12,13:13},EC={ND:1,basic:2,education:3,premium:4,isp:5,ispPremier:6,basicPlus:7,mailOEM:8,placeholder:9,government:10,appsless:11};function Fs(a,b){var c=qq(a,b);vq(a,c)}function vq(a,b){if(null!==a.cB){var c=u()-a.cB;N(b,12,c)}a.MF.push(b)}
function qq(a,b){var c=new uC;N(c,2,b.La);n(b.$a)&&N(c,1,b.$a);var d=b.item;if(!n(d)){var f=Z(a.S);Jr(f)&&(d=f.Ea())}n(d)&&(f=d.bz(),cj(c,5,f),d instanceof mC&&yC(c,2));n(b.lu)&&cj(c,11,b.lu);n(b.oj)&&N(c,3,b.oj);d=n(b.Vt)?b.Vt:u();N(c,4,d);return c}
CC.prototype.MZ=function(){var a=new wC,b=BC;u()-L(b,2)>zC&&(BC=b=AC());cj(a,2,b);dj(a,1,this.MF);a.CT(!0);for(var b=aj(a,vC,2).hz(),c=bj(a,uC,1),d=0;d<c.length;d++){var f=c[d].bz();if(f){var g=L(f,1);g&&ua(g,b)||(g=b+"."+Za(),N(f,1,g))}}(b=Zx(this.ac))&&b.RE()&&(c=b.RE().JM(),d=b.RE().aN(),f=new qC,c&&f.b5(c),d&&f.q5(d),a.a5(f));var h;b&&b.Do()&&(h=b.Do(),h=DC[h],a.rT(h));b=h;h=new rC;c=new tC;N(c,1,l.innerWidth);N(c,2,l.innerHeight);N(c,3,l.outerWidth);N(c,4,l.outerHeight);cj(h,1,c);N(h,2,"en");
N(h,3,Fc);c=Ar(this.S);h.KT(c.Pc().width);c=c.Pc().height;N(h,6,c);c=FC();N(h,7,c);6==b&&("drive.google.com"==window.location.hostname?N(h,8,sC.J7):"docs.google.com"==window.location.hostname&&N(h,8,sC.H7));b=(b=Zx(this.ac))?GC(b)||HC(b)||"ND":"ND";N(h,9,EC[b]);cj(a,3,h);h=2==zs(this.ac);N(a,7,h);a.k5(this.S.Od());this.MF=[];return a};function IC(a){z.call(this);this.S=a;this.Oh=[];this.Yb=!1}w(IC,z);IC.prototype.setEnabled=function(a){this.Yb=a};function Er(a,b,c){if(a.Yb&&Nx(c)){var d=new WB;N(d,1,b);d.hS(c.pb.Oa());a.Oh.push(d)}};function JC(a){z.call(this);this.S=a;this.ha=new K(this);A(this,this.ha);this.wa=yq(a);this.iP=0;a=Z(this.S);this.ha.listen(a,"i",this.vda).listen(a,"h",this.ida).listen(a,"a",this.hda).listen(a,"ea",this.Gba)}w(JC,z);e=JC.prototype;
e.vda=function(a){var b=a.target,c=b.ct,d="lt_"+b.getId(),f=this.wa.Sb[d];2==c?(a=a.info&&a.info.time||u(),pq(this.wa,d,{La:53,item:b,Vt:a})):1==c&&f?(b=ox(a.info.Wfa),f=f.bz(),cj(f,15,b),wq(this.wa,d,1,a.info&&a.info.time)):4==c&&a.info.hi&&f?wq(this.wa,d,3):(a.info&&a.info.error&&f&&uq(f).kc(a.info.error),KC(this,b,d,c))};e.ida=function(a){var b=a.target;a=b.getState();var c="lp_"+b.getId();KC(this,b,c,a,28);2==a&&LC(this,c,b);b=Zx(this.S.qa());if(a=0!=a&&2!=a&&b)a=null==L(b,3)?!1:L(b,3);a&&this.S.get(Sv).flush()};
e.hda=function(a){var b=a.target,c=b.xo(),d="lc_"+b.getId(),f=this.wa.Sb[d];null!=a.error&&f&&uq(f).kc(a.error);KC(this,b,d,c,29)};e.Gba=function(a){if(ia(a.pX)){var b=Z(this.S),c=b.Ea();if(!c.tv){var d="ctv_"+c.getId(),f=null===a.cause?16:Lo(a.cause);pq(this.wa,d,{La:46,$a:f,item:c,oj:this.iP,Vt:a.pX,vQ:Hx(b)});LC(this,d,c);KC(this,c,d,c.getState());this.ha.listen(c,"h",t(this.Fba,this,d,c));qc(c,t(this.Eba,this,d));a=t(this.vfa,this,c,this.iP,f);a(new jm);this.ha.listen(c,"h",a);this.iP++}}};
function KC(a,b,c,d,f,g){switch(d){case 0:n(f)&&rq(a.wa,c);break;case 2:n(f)&&pq(a.wa,c,{La:f,item:b,lu:g});break;case 1:wq(a.wa,c,1);break;case 3:a=a.wa;if(d=a.Sb[c])tq(a,d,2),b=d.Ya(),f=u(),N(b,4,f),f=new lq,N(f,1,2),d=L(uq(d),4),N(f,4,d),cj(b,8,f),a.Sb[c]=b;break;case 4:wq(a.wa,c,2)}}e.Fba=function(a,b,c){var d=b.getState();1==d?wq(this.wa,a,1,c.time):KC(this,b,a,d)};e.Eba=function(a){this.wa.Sb[a]&&wq(this.wa,a,3)};
e.vfa=function(a,b,c,d){1==a.getState()&&(d=d.time||u(),b=t(this.gda,this,a,d,b,c),a.hA?b():this.ha.Fb(a,"b",b))};e.gda=function(a,b,c,d){var f="vti_"+a.getId();pq(this.wa,f,{Vt:b,La:50,item:a,oj:c,$a:d});wq(this.wa,f)};function LC(a,b,c){(a=a.wa.Sb[b])&&c.aP&&(a=qx(a),N(a,4,!0),dj(a,7,c.OH))};function MC(a){Xi(this,a,null)}w(MC,Vi);MC.prototype.Ya=function(){return ij(this)};MC.prototype.MZ=function(){return aj(this,wC,1)};function NC(a){z.call(this);this.S=a;this.tY=this.le=null;this.Fa=new K(this);A(this,this.Fa);this.Ta=new gh(3E4);A(this,this.Ta);this.Yb=!1}w(NC,z);NC.prototype.start=function(){this.Fa.listen(this.Ta,"tick",this.BF);this.Ta.start();this.Yb=!0;this.tY=qi(this.S,Fm);this.le=oq(this.S);this.YV=this.S.get(Fr)};NC.prototype.flush=function(){this.Yb&&OC(this)};NC.prototype.BF=function(){OC(this)};
function OC(a){if(0<a.le.MF.length){var b=new MC,c=a.le.MZ();cj(b,1,c);if(0<a.YV.Oh.length){var c=a.YV,d=new XB;dj(d,1,c.Oh);var f=Zx(c.S.qa());f&&(f=f.Do(),f=DC[f],d.rT(f));c.Oh=[];cj(b,2,d)}a=a.tY;b=b.pj();a.Jc.sendRequest({path:a.mg+"/viewerimpressions",method:"POST",body:{kind:"viewer#impression",impression:b},Jb:p})}};function PC(a){z.call(this);this.S=a;this.wa=yq(a);this.zga=0;this.mY={};this.FP=null}w(PC,z);PC.prototype.load=function(a){var b=this.mY[a];b||(pq(this.wa,"bdjl_"+a,{La:93,oj:this.zga++}),this.FP=this.mY[a]=b=this.FP?this.FP.then(t(this.MP,this,a),t(this.MP,this,a)):this.MP(a));return b};
PC.prototype.MP=function(a){var b=wA(a,{document:this.S.U().Ba});qc(this,function(){b.cancel()});var c="bdjl_"+a;return b.then(function(){wq(this.wa,c,1);return Docos},function(a){wq(this.wa,c,a instanceof Yg?3:2);throw a;},this)};function QC(a){this.Sa=a;this.Lc={}}e=QC.prototype;e.Tf=function(a){this.Lc.query=a;return this};e.hd=function(a){this.Lc.parent=a;return this};e.Sc=function(){var a=Nb(this.Lc,function(a){return null!==a}),a=Vb(a)?null:a,a=[this.Sa,this.nh,a],b=sb(a,ff);return a=a.slice(0,b+1)};e.toString=function(){var a=this.Sc();return"("+mb(a,function(a){return Pi(a)}).join(",")+")"};e.getId=function(){return this.Sa};e.getLabel=function(){return this.nh};e.getOptions=function(){return $b(this.Lc)};e.Io=function(){return this.Lc.query};function RC(a){QC.call(this,a||"all")}w(RC,QC);function SC(a,b){a.Lc.sortKey=7;b&&(a.Lc.ff=b);return a}function TC(){var a=UC(SC(VC(WC(new RC("folders")))));n(!0)?a.Lc.ownedByMe=!0:delete a.Lc.ownedByMe;return a}RC.prototype.JI=function(a){this.Lc.starred=a;return this};function WC(a){a.Lc.includeFolders=!0;return a}function VC(a){a.Lc.selectFolder=!0;return a}function XC(a){a.Lc.ers=!0;return a}function UC(a){a.Lc.createFolder=!0;return a}RC.prototype.Tf=function(a){RC.R.Tf.call(this,a);return this};
RC.prototype.hd=function(a){RC.R.hd.call(this,a);return this};function YC(){var a=VC(WC(new RC));a.Lc.drois=!0;a=UC(XC(SC(a,!0)));a.Lc.sdv=!0;a.Lc.sblois="Move";a.Lc.sblovs="Move here";return a};function ZC(){QC.call(this,"image-search")}w(ZC,QC);ZC.prototype.Dn=function(a){this.Lc.type=a;return this};ZC.prototype.setSize=function(a){this.Lc.imgsz=a;return this};ZC.prototype.Tf=function(a){ZC.R.Tf.call(this,a);return this};ZC.prototype.hd=function(a){ZC.R.hd.call(this,a);return this};function $C(){QC.call(this,"maps")}w($C,QC);$C.prototype.Tf=function(a){$C.R.Tf.call(this,a);return this};$C.prototype.hd=function(a){$C.R.hd.call(this,a);return this};function aD(){QC.call(this,"photos")}w(aD,QC);aD.prototype.Dn=function(a){this.Lc.type=a;return this};aD.prototype.Tf=function(a){aD.R.Tf.call(this,a);return this};aD.prototype.hd=function(a){aD.R.hd.call(this,a);return this};function bD(){QC.call(this,"url")}w(bD,QC);bD.prototype.Dn=function(a){this.Lc.type=a;return this};bD.prototype.Tf=function(a){bD.R.Tf.call(this,a);return this};bD.prototype.hd=function(a){bD.R.hd.call(this,a);return this};function cD(){QC.call(this,"video-search")}w(cD,QC);cD.prototype.Tf=function(a){cD.R.Tf.call(this,a);return this};cD.prototype.hd=function(a){cD.R.hd.call(this,a);return this};function dD(){QC.call(this,"web")}w(dD,QC);dD.prototype.Tf=function(a){dD.R.Tf.call(this,a);return this};dD.prototype.hd=function(a){dD.R.hd.call(this,a);return this};function eD(a){this.Pa=r(a)?new QC(a):a;this.s1=[];this.Lc={}}function fD(a){switch(a){case "image-search":return new ZC;case "maps":return new $C;case "photos":return new aD;case "url":return new bD;case "video-search":return new cD;case "web":return new dD}return new QC(a)}eD.prototype.eD=function(a){this.s1.push(r(a)?fD(a):a);return this};function gD(a){return"("+mb(a.s1,function(a){return a.toString()}).join(",")+")"}
function hD(a){a=Nb(a.Lc,function(a){return null!==a});return(a=Vb(a)?null:a)?Pi(Ob(a,function(a){return a.toString()})):""}eD.prototype.toString=function(){if(this.Pa){var a=["{root:",this.Pa.toString(),",items:",gD(this)],b=hD(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return gD(this)};eD.prototype.getOptions=function(){return $b(this.Lc)};function iD(a){this.B9=a||"https://docs.google.com/picker";this.mQ=new eD}e=iD.prototype;e.mQ=null;e.nb=null;e.eD=function(a){this.mQ.eD(a);return this};e.Wy=function(){return this.B9};e.U=function(){return this.nb};e.yI=function(a){this.Sn=a;return this};e.zw=function(a){this.Id=a;return this};e.zI=function(a){this.nb=a;return this};function jD(a){iD.call(this,a)}w(jD,iD);function kD(a){this.action=a;this.wfv=!1};function lD(a,b){kD.call(this,"set-drive-options");this.appId=a;this.appOrigin=b}w(lD,kD);function mD(a){kD.call(this,"visibility");this.visible=a}w(mD,kD);function nD(a){Cp.call(this,a)}w(nD,Cp);nD.prototype.ra=function(){var a=this.U(),b=a.ra("div");this.$=b;var c=a.ra("div","picker-min-arrow-inner"),d=a.ra("div","picker-min-arrow-border");a.appendChild(b,c);a.appendChild(b,d)};function oD(a,b,c){a=a.H();Bn(a,"left","");Bn(a,"right","");pn(b,"picker-min-top");pn(b,"picker-min-bottom");c=Xo(b,c);c&1?(a.className="picker-min-arrow-down",W(b,"picker-min-bottom")):(a.className="picker-min-arrow-up",W(b,"picker-min-top"))}
nD.prototype.update=function(a,b,c){this.Xa&&(c||(c=new un(0,0,0,0)),oD(this,a,b),a=this.H(),b&4?Bn(a,"right",-c.right+"px"):Bn(a,"left",-c.left+"px"))};var pD=fd(Mc(Nc("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"))),qD=fd(Mc(Nc("//apis.google.com/js/rpc.js")));function rD(a,b){if(!sD(b)){var c=b||he(document),d=c.createElement("script");d.src=ed(a);d.type="text/javascript";c.Ba.body.appendChild(d)}}function sD(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc}var tD=null;
function uD(a,b){var c=b&&b.getWindow()||window;if(sD(b))a();else if(tD)tD.push(a);else var d=tD=[a],f=c.setInterval(function(){if(sD(b)){c.clearInterval(f);for(var a=0;a<d.length;a++)d[a]();tD=null}},100)};function vD(a,b){nz.call(this,a);Se(a,!0);jh(a,"dialog");this.nb=b||he();this.YO=!1;this.Ic=this.nb.createElement("span");Se(this.Ic,!0);this.Ic.style.position="absolute";kh(this.Ic,"hidden",!0);this.zj=!1}w(vD,nz);e=vD.prototype;e.Kc=null;e.U=function(){return this.nb};e.MT=function(){this.zj=!0;this.focus(this.Ic);I(this.Np,0,this)};e.Np=function(){this.zj=!1};e.ZA=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.H()&&this.MT()};
e.CQ=function(a){this.zj?this.Np():a.target==this.Ic&&I(t(this.focus,this,this.H()),0)};e.focus=function(a){try{a&&a.focus()}catch(b){}};e.jc=function(){vD.R.jc.call(this);var a=this.getPosition();a&&a.jc(this.Ic,this.rB,this.hf())};function wD(a,b,c,d,f,g){var h=c||he(),k=h.ra("div","picker-iframe picker-min goog-menu"),m=new Zj(a),q="true"==pk(m,"minew");q&&W(k,"picker-minew");W(k,"picker-white-callout");h.appendChild(h.Ba.body,k);vD.call(this,k,h);this.YO=q;this.Ca()?ly(this):this.sO();this.Ha=h;this.Jg=Za();this.MB=Za();this.setUrl(a);this.Sja=d||248;this.Rja=f||q?311:300;this.LL=!!g;b&&(pk(rk(a),"hostId"),b=this.U(),rD(pD,b));this.iS(a);ky(this);this.qO=!1;ky(this);this.IW=!1;pk(m,"hl");this.CD=new nD(c);A(this,this.CD);
this.CD.Ka(k)}w(wD,vD);e=wD.prototype;e.tc="";e.rb=null;e.WW=!1;e.jh=!1;e.CA=!1;e.Id=p;
e.Oq=function(){if(!this.rb){this.ka().listen(this.U().getWindow(),"keydown",this.Ou);this.rb=this.Ha.ra("iframe",{id:this.Jg,name:this.Jg,"class":"picker-frame",src:this.Xy(),onload:t(this.GN,this),frameBorder:"0"});this.H().appendChild(this.rb);jh(this.rb,"dialog");var a=pk(rk(this.tc),"title");a&&oh(this.rb,a);W(this.H(),"picker-min-popup");Wn(this.rb,this.Sja,this.Rja);this.rb.src=this.tc;this.xm(t(function(a){a.setAuthToken(this.Jg,this.MB)},this))}};
e.jc=function(){if(this.rb){wD.R.jc.call(this);var a=this.getPosition(),b=this.rB;if(a instanceof lz){var c=this.CD,a=a.element,d=this.H();if(c.Xa){oD(c,d,b);var c=c.H(),f=Tn(a,d),g=io(c).width,f=f.x+io(a).width/2-g/2,f=Math.max(0,f),h=io(d).width;h-g&&(g=h-g,f>g&&(f=g,d.getBoundingClientRect().left+g/2>a.getBoundingClientRect().left&&(f=Math.min(f,g/2))));Bn(c,"left",f+"px")}}else this.CD.update(this.H(),b,this.hf());Xo(this.H(),b)&1?this.rb.className="picker-min-frame-down":this.rb.className="picker-min-frame-up"}};
e.Xy=function(){return E&&Yd("7")&&ua(this.tc,"https")?"https://about:blank":ey};e.GN=function(){this.rb.src!=this.Xy()&&(this.jh=!0,this.ka().ab(this.U().getWindow(),"keydown",this.Ou),Se(this.rb,!0),this.Ca()&&I(t(this.focus,this,this.rb),0))};e.Ou=function(a){27==a.keyCode&&(xD(this),a.stopPropagation(),a.preventDefault())};e.xm=function(a){var b=this.U();uD(function(){a(b.getWindow().gadgets.rpc)},b)};
e.setUrl=function(a){a=nk(nk(new Zj(a),"rpctoken",this.MB),"rpcService",this.Jg);ak(a,"https");this.tc=a.toString();this.rb&&(this.rb.src=this.tc)};e.yI=function(a){this.Sn=a;this.CA&&this.TB()};e.zw=function(a){this.Id=a;this.xm(t(function(a){a.register(this.Jg,t(this.Iz,this))},this))};
e.Iz=function(a){switch(a.action){case "viewUpdated":case "viewChanged":this.jc();return;case "enableWhiteCallout":a=a.extraUserInputs;rn(this.H(),"picker-white-callout",a&&a.ewc);return;case "loaded":this.CA=!0;this.xn(new mD(this.Ca()));this.TB();break;case "blurred":this.H()!=this.U().Ba.activeElement&&this.Ca()&&(this.setVisible(!1),this.Id({action:"cancel"}));return;case "picked":case "cancel":this.setVisible(!1)}this.Id(a)};
e.TB=function(){this.Sn&&this.xn(new lD(this.Sn,window.location.protocol+"//"+window.location.host))};e.setRelayUrl=function(a){this.xm(t(function(b){b.setRelayUrl(this.Jg,a)},this))};e.iS=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):va(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+"/resources/rpc_relay.html")};
e.xn=function(a){"refresh"==a.action?(this.rb&&!this.Ca()&&(this.H().removeChild(this.rb),this.rb=null),this.Oq()):this.xm(t(function(b){b.call(this.Jg,"picker",null,a)},this))};
e.ln=function(){wD.R.ln.call(this);Ce(this.Ic,this.H());this.Kc=new hy(this.U().Ba);this.ka().listen(this.Kc,"focusin",this.CQ).listen(this.H(),"keydown",this.ZA);this.Oq();if(!this.LL){var a=this.U().Ba;this.ka().listen(a,"mousedown",this.uF,!0);if(E){var b;try{b=a.activeElement}catch(v){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Ke(b)}catch(v){break}a=c;b=a.activeElement}this.ka().listen(a,"mousedown",this.uF,!0)}}this.xn(new mD(!0));Yo(new C(0,0),this.H(),0,this.hf());this.jc();if(this.YO&&(a=this.getPosition(),
a instanceof lz&&ja(this.H().getBoundingClientRect))){b=this.rB;var d=re().height,f=re().width,c=null,g=a.nm,h=this.d7?this.d7.getBoundingClientRect():void 0,k=h?h.top:0,d=h?Math.min(h.bottom,d):d,f=h?Math.min(h.right,f):f,h=h?h.left:0,m=a.element.getBoundingClientRect(),q=this.H().getBoundingClientRect();if(!(g&1)&&q.top<k||g&1&&q.bottom>d&&m.top>k+(q.bottom-q.top))g^=1,c=new lz(a.element,g),b^=1;if(g&4&&q.left<h||!(g&4)&&q.right>f&&m.right>h+(q.right-q.left))c=new lz(a.element,g^4),b^=4;c&&(this.setPosition(c),
oz(this,b),this.jc())}this.jh?this.focus(this.rb):this.focus(this.H())};e.Bl=function(a){wD.R.Bl.call(this,a);rc(this.Kc);De(this.Ic);this.xn(new mD(!1))};e.uF=function(a){a=a.target;Je(this.H(),a)||my(this,a)||this.tD&&!Je(this.tD,a)||150>u()-this.AG||xD(this)};function xD(a){a.Ca()&&(a.setVisible(!1),a.Id({action:"cancel"}))}e.ma=function(){this.WW?(De(this.H()),wD.R.ma.call(this)):I(function(){this.WW=!0;this.ma()},0,this)};function yD(a,b,c){sy.call(this,a,b,c)}w(yD,sy);function zD(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=Gn(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}if(!c||!Je(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)b.preventDefault(),b.stopPropagation()};var AD;function BD(a,b,c,d,f,g){sy.call(this,g?g+" "+this.Ii:this.Ii,!0,c);ji(a,"protocol");this.Jg=Za();this.MB=Za();this.setUrl(a);this.Qja=d;this.Pja=f;n(void 0)?c=void 0:n(d)||n(f)?c=!0:(c=pk(rk(a),"hostId"),AD||(AD=new xj("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),c=!AD.contains(c));this.x9=c;b&&(pk(rk(a),"hostId"),b=this.U(),c="true"==pk(rk(this.tc),"grugl"),rD(c?qD:pD,b));this.iS(a);this.hM=!1;
Gy(this,null)}w(BD,yD);e=BD.prototype;e.Ii="picker modal-dialog";e.tc="";e.rb=null;e.jh=!1;e.CA=!1;e.Id=p;e.ta=function(){BD.R.ta.call(this);var a=this.nr(),b=this.ka(),c=new po(a);A(b,c);b.listen(c,"mousewheel",t(zD,void 0,a)).listen(a,"scroll",t(zD,void 0,a))};
e.Ka=function(a){BD.R.Ka.call(this,a);this.rb=this.Ha.ra("iframe",{id:this.Jg,name:this.Jg,"class":"picker-frame",src:this.Xy(),onload:t(this.GN,this),frameBorder:"0"});this.Vb().appendChild(this.rb);W(this.H(),"picker-dialog");this.rb.src=this.tc;this.xm(t(function(a){a.setAuthToken(this.Jg,this.MB)},this));(a=pk(rk(this.tc),"title"))&&this.setTitle(a)};e.Xy=function(){return E&&Yd("7")&&ua(this.tc,"https")?"https://about:blank":ey};
e.GN=function(){this.rb.src!=this.Xy()&&(this.jh=!0,this.ka().ab(this.U().getWindow(),"keydown",this.Ou),Se(this.rb,!0),this.Ca()&&this.focus())};e.Ou=function(a){27==a.keyCode&&(this.setVisible(!1),this.Id({action:"cancel"}),a.stopPropagation(),a.preventDefault())};e.xm=function(a){var b=this.U();uD(function(){a(b.getWindow().gadgets.rpc)},b)};e.setUrl=function(a){a=nk(nk(new Zj(a),"rpctoken",this.MB),"rpcService",this.Jg);ak(a,"https");this.tc=a.toString();this.rb&&(this.rb.src=this.tc)};
e.yI=function(a){this.Sn=a;this.CA&&this.TB()};e.zw=function(a){this.Id=a;this.xm(t(function(a){a.register(this.Jg,t(this.Iz,this))},this))};e.Iz=function(a){var b=a.action;"loaded"==b&&(this.CA=!0,this.xn(new mD(this.Ca())),this.TB(),Fy(this));"picked"!=b&&"cancel"!=b||this.setVisible(!1);this.Id(a)};e.TB=function(){this.Sn&&this.xn(new lD(this.Sn,window.location.protocol+"//"+window.location.host))};e.setRelayUrl=function(a){this.xm(t(function(b){b.setRelayUrl(this.Jg,a)},this))};
e.iS=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):va(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+"/resources/rpc_relay.html")};e.xn=function(a){this.xm(t(function(b){b.call(this.Jg,"picker",null,a)},this))};
e.LR=function(){var a=this.U().Ba,a=ve(a)||window;if("true"==pk(rk(this.tc),"shadeDialog")){var b=mo(Ay(this)),c=re(a),a=c.width-80,c=c.height-40;b&&(a-=b.left?b.left:0,a-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);a=new D(0<a?a:0,0<c?c:0)}else{var b=this.Qja,d;b?(b=Math.max(320,Math.min(1051,b)),c=this.Pja,c||(c=re(a),c=.85*c.height),d=Math.max(320,Math.min(650,c))):(c=re(a),b=.618*c.width,d=b<c.height?Math.round(Math.max(320,Math.min(650,.85*b))):Math.round(Math.max(320,Math.min(650,
.85*c.height))),b=Math.round(d/.618));c=re(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,320));a=new D(b,d)}Wn(this.Vb(),a);this.jc()};e.jc=function(){if("true"==pk(rk(this.tc),"shadeDialog")){var a=Zn(this.H()),b=re(this.U().getWindow()),a=Math.floor(b.width/2-a.width/2);if(b=mo(Ay(this))){var c;c=0+(b.left?b.left:0);c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=te(this.U().Ba).y;In(this.H(),a,b)}else BD.R.jc.call(this)};
e.setVisible=function(a){if(a!=this.Ca()&&this.x9){var b=this.U().getWindow();a?(this.LR(),this.ka().listen(b,"resize",this.LR),this.jh||this.ka().listen(b,"keydown",this.Ou)):(this.ka().ab(b,"resize",this.LR),this.jh||this.ka().ab(b,"keydown",this.Ou))}BD.R.setVisible.call(this,a);this.xn(new mD(a))};e.focus=function(){BD.R.focus.call(this);if(this.rb&&this.jh)try{this.rb.focus()}catch(a){}};function CD(a){iD.call(this,a);this.kd=new Zj(this.Wy());nk(this.kd,"protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);DD(this,a);this.lR=[];this.X8=""}w(CD,jD);e=CD.prototype;e.P1=!0;e.vy=!1;function ED(a,b,c){a.lR.push([b,c||{}]);return a}function FD(a){a.getRelayUrl()||a.setRelayUrl(ek(dk(rk(window.location.href),void 0),"").setPath("/favicon.ico").toString())}
e.Hd=function(){FD(this);if(pk(this.kd,"minimal"))throw Error("use buildMinimal to build minimal picker");var a=new BD(this.u6().toString(),this.P1,this.U(),this.IL,this.FL,this.X8);a.Cw(this.vy);a.yI(this.Sn);a.zw(this.Id);return a};function GD(a){HD(a,"minimal");FD(a);var b=new wD(a.u6().toString(),a.P1,a.U(),a.IL,a.FL,a.LL);b.yI(a.Sn);b.zw(a.Id);return b}e.ty=function(a){this.LL=a;return this};function HD(a,b){nk(a.kd,b,"true");return a}e.getHeight=function(){return this.FL};
e.getRelayUrl=function(){return pk(this.kd,"relayUrl")};e.getTitle=function(){return pk(this.kd,"title")};e.Kb=function(){return this.IL};e.vc=function(){var a=pk(this.kd,"ui");return n(a)?Number(a):void 0};function ID(a){nk(a.kd,"actions","viewContentRendered");return a}function JD(a,b){nk(a.kd,"authuser",b);return a}e.Cw=function(a){this.vy=a;return this};e.Ew=function(a){nk(this.kd,"hostId",a);return this};function DD(a,b){b&&nk(a.kd,"origin",b);return a}
function KD(a){nk(a.kd,"hl","en");return a}e.setRelayUrl=function(a){nk(this.kd,"relayUrl",a);return this};function LD(a,b){nk(a.kd,"selectButtonLabel",b);return a}function MD(a){nk(a.kd,"selectableMimeTypes","application/vnd.google-apps.folder");return a}e.setSize=function(a,b){this.IL=a;this.FL=b;return this};e.setTitle=function(a){nk(this.kd,"title",a);return this};e.u6=function(){this.lR.length&&nk(this.kd,"pp",Pi(this.lR));return nk(this.kd,"nav",gD(this.mQ)).clone()};function ND(a,b){this.xM=a;this.My=b};function OD(a,b,c,d,f){H.call(this);this.Tn=b;this.nb=c;this.eR=d;this.nB=f||null;this.Fa=new K(this);A(this,this.Fa);this.$Y=this.Hc=null;this.DR=!1;this.IB=0;this.Yu=this.O4=""}w(OD,H);e=OD.prototype;
e.eC=function(a,b){var c=!!b.ty;!this.Hc||this.DR?(c=ID(JD(LD(KD(MD(HD(HD(DD(new CD(this.eR),Xh(this.nb.getWindow().location.href)),"newDriveView"),"minew")).Ew(this.Yu)),this.O4).eD(XC(TC())).zw(t(this.Iz,this)),this.Tn).zI(this.nb).ty(!!c).setTitle("Select a Drive folder to extract to")),x(za(this.nB))||nk(c.kd,"st",this.nB),this.Hc=GD(c),A(this,this.Hc),this.DR=!1,this.Fa.listen(this.Hc,"hide",this.Yba)):this.Uj();this.Eg=new wh;this.$Y=a;var c=b.parentElement,d=b.Gx||9,f=b.oB||8,g=b.margin;c&&
c.appendChild(this.Hc.H());this.Hc.setPosition(new lz(a,d));oz(this.Hc,f);g&&pz(this.Hc,g);this.Hc.setVisible(!0);return this.Eg};e.Uj=function(){return this.Hc&&this.Hc.Ca()?(this.Hc.setVisible(!1),!0):!1};e.Ca=function(){return!!this.Hc&&this.Hc.Ca()};e.Ew=function(a){this.Yu=a};
e.Iz=function(a){switch(a.action){case "picked":this.DR=!0;(a=(a=a.docs)&&0<a.length?a[0]:null)&&a.id?(this.Eg.qb(new ND(a.id,a.name)),this.JB()):this.Eg.kc("folder picked but no document.");break;case "cancel":this.JB();this.Eg.cancel();this.Eg=null;break;case "viewContentRendered":this.dispatchEvent("La")}};e.JB=function(){this.IB&&J(this.IB);this.IB=I(function(){this.$Y.focus()},0,this)};e.Yba=function(){this.dispatchEvent("Ka")};e.ma=function(){this.IB&&J(this.IB);OD.R.ma.call(this)};function PD(a,b,c){z.call(this);this.Jc=a;this.WP=b;this.mg=c||"/drive/v2internal"}w(PD,z);function QD(a,b){return Ph(Sh(new Mh(a.Jc,b,"drive#file")),a.WP)};function RD(a,b,c){PD.call(this,a,b,c)}w(RD,PD);RD.prototype.Kn=function(a,b,c){a=this.mg+"/files/"+a;a=fi(a,"updateViewedDate",!1);b&&0<b.length&&(a=fi(a,"addParents",b.join(",")));c&&0<c.length&&(a=fi(a,"removeParents",c.join(",")));a=fi(a,"fields","kind,id");return Qh(QD(this,a),"PUT").start()};function SD(a){kD.call(this,"set-view-options");this.viewOptions=a}w(SD,kD);function TD(a,b,c){return(new Wq((1==c?{onlyfiles:"{NUM_ITEMS, plural, =1 {You are moving a file located in one folder}other {You are moving files located in one folder}}",onlyfolders:"{NUM_ITEMS, plural, =1 {You are moving a folder located in one folder}other {You are moving folders located in one folder}}",mixed:"{NUM_ITEMS, plural, =1 {You are moving an item located in one folder}other {You are moving items located in one folder}}"}:{onlyfiles:"{NUM_ITEMS, plural, =1 {You are moving a file located in {NUM_PARENTS} folders}other {You are moving files located in {NUM_PARENTS} folders}}",
onlyfolders:"{NUM_ITEMS, plural, =1 {You are moving a folder located in {NUM_PARENTS} folders}other {You are moving folders located in {NUM_PARENTS} folders}}",mixed:"{NUM_ITEMS, plural, =1 {You are moving an item located in {NUM_PARENTS} folders}other {You are moving items located in {NUM_PARENTS} folders}}"})[b])).format({NUM_ITEMS:a,NUM_PARENTS:c})}
function UD(a){return(new Wq("{NUM_FOLDERS, plural, =1 {Move from one folder}=2 {Move from both folders}other {Move from all # folders}}")).format({NUM_FOLDERS:a})};function VD(){this.zU=this.XW=this.Kla=!0}var WD=new VD;WD.id="root";WD.name="My Drive";WD.Ln="owner";WD.Ss=!1;WD.bB="https://drive.google.com/drive/my-drive";WD.Xz="//ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png";WD.gw="";function XD(){VD.call(this)}w(XD,VD);function YD(a){return pb(a,ZD)?"onlyfolders":ob(a,ZD)?"mixed":"onlyfiles"}function ZD(a){return"application/vnd.google-apps.folder"==a.LA};function $D(a,b,c){b&&I(function(){var d=c.$c(),f=a?a.H():null;(f&&f.contains(d)||d==c.Ba.body)&&b.focus()},0)};function aE(a,b){H.call(this);this.I2=this.Tn=this.Yu=null;this.nb=a;this.Hx=this.Hc=null;this.ha=new K(this);A(this,this.ha);this.Gp=null;this.hO=!1;this.th=b;this.E5=!0;this.V$=!1}w(aE,H);e=aE.prototype;
e.eC=function(a,b,c,d,f,g,h){bE(this,a,!!d,f,g,h);this.Hx=b;c.parentElement&&c.parentElement.appendChild(this.Hc.H());this.Hc.setPosition(new lz(b,c.Gx||9));oz(this.Hc,c.oB||8);c.c7&&(this.Hc.d7=c.c7);c.margin&&pz(this.Hc,c.margin);this.ha.Fb(this.Hc,"hide",this.DN);this.dispatchEvent("Na");this.Hc.setVisible(!0);this.Gp=Sg();return this.Gp.uf};e.Uj=function(){return this.Ca()?(this.Hc.setVisible(!1),!0):!1};e.Ca=function(){return!!this.Hc&&this.Hc.Ca()};e.Ew=function(a,b){this.Yu=a;this.Tn=b};
function bE(a,b,c,d,f,g){rc(a.Hc);a.hO=!1;var h=YC();c||(h.Lc.emak=!0);d&&(h.Lc.sodc=!0);ya(g)||h.hd(g);a.V$&&(h.Lc.tdv=!0);a.E5&&ya(g)&&(h.Lc.lv=!0);var k;f&&f.then(function(a){k=a},function(){});f=ED(ID(KD(DD(MD(HD(cE(a).eD(h),"minew")),a.th||Xh(a.nb.getWindow().top.location.href)).zI(a.nb)).setTitle("Organize in Drive").ty(!1)).zw(t(function(a){dE(this,d,k,g,a)},a)),"mdisamb");h={};h.ni=b;ED(f,"dow",h);a.Yu&&a.Tn?JD(f.Ew(a.Yu),a.Tn):a.I2&&nk(f.kd,"oauth_token",a.I2);c&&nk(f.kd,"addMode",!0);a.Hc=
GD(f);A(a,a.Hc)}
function dE(a,b,c,d,f){switch(f.action){case "picked":if((b=(b=f.docs)&&0<b.length?b[0]:null)&&b.id){f=!1;var g=b.id,h=b.name,k,m=b.rpt;if(null!=m)x(m)?d=void 0:-1<m.indexOf(",")?f=!0:(d=m,k=b.rptn);else if(d&&c)for(m=0;m<c.length;m++)if(d==c[m].id){k=c[m].name;break}a.Gp.resolve({um:g,jE:h,uk:d,RI:k,ji:f,SI:b.sourceTeamDriveId,TI:b.sourceTeamDriveName,ry:b.teamDriveId,kE:b.organizeIntoTeamDrive?b.teamDriveName:void 0,kt:b.undoable})}break;case "cancel":a.Gp&&(a.Gp.reject("cp"),a.Gp=null);break;case "viewContentRendered":a.hO||
(b&&b.then(function(a){sf(function(){var b={};b.dto=mb(a,this.KX,this);c&&(b.items=mb(c,this.KX,this));this.Hc.xn(new SD(b))},this)},a.Qba,a),a.dispatchEvent("Ma"),a.hO=!0)}}
e.KX=function(a){var b="application/vnd.google-apps.folder",c="";a instanceof XD&&(b=a.LA||b,c=a.wh?a.wh.join(","):c);return{id:a.id,name:a.name,mimeType:b,url:a.bB,iconUrl:a.Xz,isShared:a.Ss,readOnly:"reader"==a.Ln,isRoot:"application/vnd.google-apps.folder"==b&&"owner"==a.Ln&&x(za(a.gw)),parent:a.gw,ops:c,ownedByMe:"owner"==a.Ln,teamDriveId:a.Hh,teamDriveName:a.Bi,teamDriveCanAddChildren:a.Kla,canEdit:a.XW,teamDriveCanRemoveChildren:a.zU}};
e.Qba=function(a){var b=this.Gp;this.Gp=null;this.Uj();b.reject(a)};e.DN=function(){$D(this.Hc,this.Hx,this.nb)};function eE(a,b,c,d){aE.call(this,b,d);this.eR=a;this.nB=c||null}w(eE,aE);function cE(a){var b=new CD(a.eR);x(za(a.nB))||nk(b.kd,"st",a.nB);return b};function fE(a){a=a||{};a=a.D$;var b='<div class="drive-organize-atd-popup"><div class="drive-organize-popup-message drive-organize-atd-adding-msg">'+U("<span>Adding to <b>My Drive</b>...</span>")+'</div><div class="drive-organize-popup-message drive-organize-atd-added-msg">'+U("<span>Added to <b>My Drive</b></span>")+"</div>";a||(b+='<div class="drive-organize-atd-popup-undo-btn drive-organize-popup-link-btn">Undo</div>');b+='<div class="drive-organize-popup-message drive-organize-atd-error-msg">'+
U("<span>Unable to add to <b>My Drive</b></span>")+"</div></div>";return U(b)};function gE(a,b){z.call(this);this.Uq=a;this.Ha=b||he();this.ha=new K(this);A(this,this.ha);this.Ic=this.Kc=null;this.aM=this.zj=!1}w(gE,z);e=gE.prototype;e.$D=function(){this.Ic||(this.Ic=this.Ha.createElement("span"),Se(this.Ic,!0),this.Ic.style.position="absolute")};e.MT=function(){this.zj=!0;try{this.Ic.focus()}catch(a){}I(this.Np,0,this)};e.Np=function(){this.zj=!1};e.ma=function(){De(this.Ic);rc(this.Kc);this.aM||Se(this.Uq,!1);gE.R.ma.call(this)};
e.CQ=function(a){this.zj&&a.target==this.Ic?this.Np():a.target==this.Ic&&I(this.LE,0,this)};e.ZA=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.Uq&&this.MT()};e.LE=function(){try{E&&this.Ha.Ba.body.focus(),this.Uq.focus()}catch(a){}};var hE=null;function iE(){if(null==hE){var a=he(),b=a.Ba,c=a.createElement("div");c.style.backgroundColor="rgb(1, 2, 3)";a.appendChild(b.body,c);b=Fn(c,"backgroundColor");b=b.replace(/ /g,"");b="rgb(0,0,0)"===b?"black":"rgb(255,255,255)"===b?"white":"none";a.removeNode(c);hE=b}return hE};function jE(){}w(jE,Sp);da(jE);e=jE.prototype;e.ra=function(a){var b={"class":"goog-inline-block "+this.Dm(a).join(" ")},b=a.U().ra("DIV",b,a.getContent());this.mb(b,a.Lf());return b};e.ng=function(){return"button"};e.Ef=function(a){return"DIV"==a.tagName};e.Na=function(a,b){W(b,"goog-inline-block");return jE.R.Na.call(this,a,b)};e.Ga=function(){return""};e.Ma=function(){return"goog-flat-button"};Tp("goog-flat-button",function(){return new hq(null,jE.Ra())});function kE(a,b,c,d){lz.call(this,a,b);this.tA=c?5:0;this.Xv=d||void 0}w(kE,lz);kE.prototype.Saa=function(){return this.tA};kE.prototype.$B=function(a){this.tA=a};kE.prototype.jc=function(a,b,c,d){var f=Vo(this.element,this.nm,a,b,null,c,10,d,this.Xv);if(f&496){var g=lE(f,this.nm);b=lE(f,b);f=Vo(this.element,g,a,b,null,c,10,d,this.Xv);f&496&&(g=lE(f,g),b=lE(f,b),Vo(this.element,g,a,b,null,c,this.tA,d,this.Xv))}};function lE(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function mE(a,b,c,d){kE.call(this,a,b,!0);this.Ii=d;this.Fq=c;this.q9=this.Ii+"-arrowdown";this.s9=this.Ii+"-arrowup"}w(mE,kE);mE.prototype.jc=function(a,b,c,d){var f=Vo(this.element,this.nm,a,b,null,c,10,d,this.Xv);if(f&496){var g=lE(f,this.nm);b=lE(f,b);f=Vo(this.element,g,a,b,null,c,10,d,this.Xv);f&496&&(g=lE(f,g),b=lE(f,b),Vo(this.element,g,a,b,null,c,this.tA,d,this.Xv));this.KH(a,g)}else this.KH(a,this.nm)};
mE.prototype.KH=function(a,b){var c=0==(b&1);rn(this.Fq,this.q9,c);rn(this.Fq,this.s9,!c);var d=Tn(this.element,a),c=io(a).width,f=io(this.Fq).width,d=Math.max(0,d.x)+Math.min(io(this.element).width,c)/2-f/2,d=Math.min(d,c-f),d=Math.max(0,d);Bn(this.Fq,"left",d+"px")};function nE(a,b,c){b=U;var d='<div class="drive-organize-popup"><div class="drive-organize-popup-content" tabIndex="0"><div class="drive-organize-popup-organize-btn drive-organize-popup-link-btn">'+T(a.nja)+'</div><div class="drive-organize-popup-close-btn">',f;f=a||{};c=c||{};a=U;f=f||{};f=U("black"==f.DF?"#FFFFFF":"#000000");c=a('<svg  x="0px" y="0px" width="15" height="15" viewBox="0 0 15 15"><polygon points="10.5,11.914 13.5,14.914 14.914,13.5 11.914,10.5 14.914,7.5 13.5,6.086 10.5,9.086 7.5,6.086 6.085,7.5 9.085,10.5 6.085,13.5 7.5,14.914 " fill="'+
wl(f)+'" style="'+(c.bc?"/*"+c.bc+"*/":"")+'opacity:0.5" transform="translate(-2.9561186,-2.5084746)" /></svg>');return b(d+c+'</div></div><div class="drive-organize-popup-arrow"><div class="drive-organize-popup-triangle-before"></div><div class="drive-organize-popup-triangle-after"></div></div></div>')};function oE(a,b){Cp.call(this,b);this.oja=a;this.popup=new nz;A(this,this.popup);var c=pE.Ra();this.nH=new hq(null,c,b);this.Aa(this.nH);this.Bc=new hq(null,c,b);this.Aa(this.Bc);this.Fd=this.Eq=this.Dj=this.Hx=null;this.uU=!1}w(oE,Cp);e=oE.prototype;e.ra=function(){this.$=S(nE,{nja:this.oja,DF:iE()},void 0,this.U());this.Dj=this.ua("drive-organize-popup-content")};
e.ta=function(){oE.R.ta.call(this);var a=this.U(),b=this.H();X(b,!1);this.popup.UB(b);this.Eq=this.ua("drive-organize-popup-arrow");this.nH.Na(this.ua("drive-organize-popup-organize-btn"));this.Bc.Na(this.ua("drive-organize-popup-close-btn"));this.Bc.mb("Close");this.Bc.Tp("Close");jh(b,"alertdialog");var c=this.popup;ky(c);c.qO=!0;a=new gE(this.Dj,a);A(this,a);a.$D();Ce(a.Ic,a.Uq);var c=a.Uq,d=c.getAttributeNode("tabindex");null!=d&&d.specified?(c=c.tabIndex,c=ia(c)&&-1<=c&&32768>c):c=!1;a.aM=c;
a.aM||Se(a.Uq,!0);a.Kc=new hy(a.Ha.Ba);a.ha.listen(a.Kc,"focusin",a.CQ).listen(a.Uq,"keydown",a.ZA);this.ka().listen(this.popup,"hide",this.DN).listen(this.Bc,"action",this.Sj).listen(this.nH,"action",this.Zda);this.ka().listen(b,"keydown",t(this.rO,this,!1),!0).listen(b,"mousedown",t(this.rO,this,!0),!0);this.ka().listen(b,"blur",this.oN,!0);this.ka().listen(b,"dblclick",this.aJ).listen(b,"click",this.aJ).listen(b,"mousedown",this.aJ).listen(b,"mouseup",this.aJ)};
function qE(a,b){a.Hx=b;a.popup.setPosition(new mE(b,a.k9||9,a.Eq,"drive-organize-popup"))}e.hide=function(){this.popup.setVisible(!1)};e.Ca=function(){return this.popup.Ca()};e.tM=function(a){try{a.focus()}catch(b){}};e.DN=function(){this.Fd&&(this.Fd.resolve(0),this.Fd=null);this.uU?this.uU=!1:$D(this.popup,this.Hx,this.U())};
e.oN=function(){var a=this.U(),b=a.Ba;I(function(){if(!this.isDisposed()&&this.Ca())if(ja(b.hasFocus)&&!b.hasFocus())this.hide();else{var c=a.$c();c&&!Je(this.H(),c)&&this.hide()}},0,this)};e.Sj=function(){rE(this,0)};e.Zda=function(){this.uU=!0;rE(this,1)};function rE(a,b){a.Fd&&(a.Fd.resolve(b),a.Fd=null);a.popup.setVisible(!1)}e.rO=function(a){rn(this.$,"drive-organize-popup-outline-hidden",a)};e.aJ=function(a){a.stopPropagation()};function pE(){}w(pE,jE);da(pE);pE.prototype.Ma=function(){return"drive-organize-button"};function sE(a,b){oE.call(this,"Organize",a);var c=pE.Ra();this.Jn=null;b||(this.Jn=new hq(null,c,a),this.Aa(this.Jn));this.qo=this.aW=this.bW=this.Jt=null;this.Vq=this.WO=!1}w(sE,oE);e=sE.prototype;e.ra=function(){sE.R.ra.call(this);var a=this.U(),b;this.Jn||(b={D$:!0});this.Jt=S(fE,b,void 0,a);$e(this.Dj,this.Jt,0)};
e.ta=function(){sE.R.ta.call(this);this.aW=this.ua("drive-organize-atd-added-msg");this.bW=this.ua("drive-organize-atd-adding-msg");this.qo=this.ua("drive-organize-atd-error-msg");X(this.qo,!1);this.Jn&&this.Jn.Na(this.ua("drive-organize-atd-popup-undo-btn"));var a=this.H();X(a,!0);tE(this,!0);var b=Zn(this.Jt).width;tE(this,!1);b=Math.max(b,Zn(this.Jt).width);++b;Xn(this.Jt,b);Bn(this.Jt,"white-space","normal");X(a,!1);this.Jn&&this.ka().listen(this.Jn,"action",this.rfa)};
e.show=function(a,b){this.Vq=this.WO=!1;this.k9=b.Gx;if(this.Xa){var c=this.U(),d=this.$,f=c.Ba.body,g=c.Waa(d),f=b.parentElement||f;g!=f&&c.appendChild(f,d)}else this.Ka(b.parentElement);qE(this,a);oz(this.popup,b.oB||8);pz(this.popup,b.margin||new un(10,0,10,0));this.rO(!0);uE(this);this.popup.setVisible(!0);I(qa(this.tM,this.Dj),0);this.Fd=Sg();return this.Fd.uf};e.kc=function(a){a&&qE(this,a);this.Vq=!0;uE(this)};function uE(a){tE(a,a.WO);a.popup.jc()}
function tE(a,b){X(a.aW,!a.Vq&&b);X(a.bW,!a.Vq&&!b);X(a.qo,a.Vq);a.Jn&&a.Jn.setVisible(!a.Vq&&b);a.nH.setVisible(!a.Vq)}e.rfa=function(){rE(this,2)};function vE(){}w(vE,Ip);da(vE);vE.prototype.Ma=function(){return"goog-menuheader"};function wE(a,b,c){Wp.call(this,a,c||vE.Ra(),b);this.ze(1,!1);this.ze(2,!1);this.ze(4,!1);this.ze(32,!1);this.va=1}w(wE,Wp);Tp("goog-menuheader",function(){return new wE(null)});function xE(){this.RK=[]}w(xE,Ip);da(xE);function yE(a,b){var c=a.RK[b];if(!c){switch(b){case 0:c=a.Ma()+"-highlight";break;case 1:c=a.Ma()+"-checkbox";break;case 2:c=a.Ma()+"-content"}a.RK[b]=c}return c}e=xE.prototype;e.ng=function(){return"menuitem"};e.ra=function(a){var b=a.U().ra("DIV",this.Dm(a).join(" "),zE(this,a.getContent(),a.U()));AE(this,a,b,Pp(a,8)||Pp(a,16));return b};e.Vb=function(a){return a&&a.firstChild};
e.Na=function(a,b){var c=Ee(b),d=yE(this,2);c&&nn(c,d)||b.appendChild(zE(this,b.childNodes,a.U()));nn(b,"goog-option")&&(a.Ns(!0),this.Ns(a,b,!0));return xE.R.Na.call(this,a,b)};e.setContent=function(a,b){var c=this.Vb(a),d=BE(this,a)?c.firstChild:null;xE.R.setContent.call(this,a,b);d&&!BE(this,a)&&c.insertBefore(d,c.firstChild||null)};function zE(a,b,c){a=yE(a,2);return c.ra("DIV",a,b)}e.cC=function(a,b,c){a&&b&&AE(this,a,b,c)};e.Ns=function(a,b,c){a&&b&&AE(this,a,b,c)};
function BE(a,b){var c=a.Vb(b);if(c){var c=c.firstChild,d=yE(a,1);return!!c&&He(c)&&nn(c,d)}return!1}function AE(a,b,c,d){Np(a,c,b.Go());Op(a,b,c);d!=BE(a,c)&&(rn(c,"goog-option",d),c=a.Vb(c),d?(a=yE(a,1),c.insertBefore(b.U().ra("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}e.Yy=function(a){switch(a){case 2:return yE(this,0);case 16:case 8:return"goog-option-selected";default:return xE.R.Yy.call(this,a)}};
e.nF=function(a){var b=yE(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return xE.R.nF.call(this,a)}};e.Ma=function(){return"goog-menuitem"};function CE(a,b,c,d){Wp.call(this,a,d||xE.Ra(),c);this.qb(b)}w(CE,Wp);e=CE.prototype;e.Ga=function(){var a=this.Xc;return null!=a?a:this.SE()};e.qb=function(a){this.Xc=a};e.ze=function(a,b){CE.R.ze.call(this,a,b);switch(a){case 8:Qp(this,16)&&!b&&bq(this,!1);var c=this.H();c&&this.Za.cC(this,c,b);break;case 16:(c=this.H())&&this.Za.Ns(this,c,b)}};e.cC=function(a){this.ze(8,a)};e.Ns=function(a){this.ze(16,a)};
e.SE=function(){var a=this.getContent();return fa(a)?(a=mb(a,function(a){return He(a)&&(nn(a,"goog-menuitem-accel")||nn(a,"goog-menuitem-mnemonic-separator"))?"":Ve(a)}).join(""),Aa(a)):CE.R.SE.call(this)};e.gl=function(a){var b=this.getParent();if(b){var c=b.x3;b.x3=null;if(c&&ia(a.clientX)&&zd(c,new C(a.clientX,a.clientY)))return}CE.R.gl.call(this,a)};e.Nf=function(a){return a.keyCode==this.dQ&&this.Fp(a)?!0:CE.R.Nf.call(this,a)};e.GI=function(a){this.dQ=a};e.Uaa=function(){return this.dQ};
Tp("goog-menuitem",function(){return new CE(null)});CE.prototype.Go=function(){return Pp(this,16)?"menuitemcheckbox":Pp(this,8)?"menuitemradio":CE.R.Go.call(this)};CE.prototype.getParent=function(){return Wp.prototype.getParent.call(this)};CE.prototype.bh=function(){return Wp.prototype.bh.call(this)};function DE(){}w(DE,Ip);da(DE);DE.prototype.ra=function(a){return a.U().ra("DIV",this.Ma())};DE.prototype.Na=function(a,b){b.id&&a.Wp(b.id);if("HR"==b.tagName){var c=b;b=this.ra(a);c.parentNode&&c.parentNode.insertBefore(b,c);De(c)}else W(b,this.Ma());return b};DE.prototype.setContent=function(){};DE.prototype.Ma=function(){return"goog-menuseparator"};function EE(a,b){Wp.call(this,null,a||DE.Ra(),b);this.ze(1,!1);this.ze(2,!1);this.ze(4,!1);this.ze(32,!1);this.va=1}w(EE,Wp);EE.prototype.ta=function(){EE.R.ta.call(this);jh(this.H(),"separator")};Tp("goog-menuseparator",function(){return new EE});function FE(a){this.pD=a||"menu"}w(FE,Sr);da(FE);e=FE.prototype;e.Ef=function(a){return"UL"==a.tagName||FE.R.Ef.call(this,a)};e.NM=function(a){return"HR"==a.tagName?new EE:FE.R.NM.call(this,a)};e.Lq=function(a,b){return Je(a.H(),b)};e.Ma=function(){return"goog-menu"};e.ev=function(a){FE.R.ev.call(this,a);kh(a.H(),"haspopup","true")};Tp("goog-menuseparator",function(){return new EE});function GE(a,b){Vr.call(this,"vertical",b||FE.Ra(),a);this.Nl(!1)}w(GE,Vr);e=GE.prototype;e.pK=!0;e.e9=!1;e.Ma=function(){return this.Za.Ma()};e.Lq=function(a){if(this.Za.Lq(this,a))return!0;for(var b=0,c=this.qg();b<c;b++){var d=this.og(b);if("function"==typeof d.Lq&&d.Lq(a))return!0}return!1};e.dz=function(){var a=[];this.Lj(function(b){a.push(b)});return a};
e.setPosition=function(a,b){var c=this.Ca();c||X(this.H(),!0);var d=this.H(),f=a,g=b,h=Pn(d);f instanceof C&&(g=f.y,f=f.x);In(d,d.offsetLeft+(f-h.x),d.offsetTop+(Number(g)-h.y));c||X(this.H(),!1)};e.getPosition=function(){return this.Ca()?Pn(this.H()):null};e.setVisible=function(a,b,c){(b=GE.R.setVisible.call(this,a,b))&&a&&this.Xa&&this.pK&&this.ke().focus();this.x3=a&&c&&ia(c.clientX)?new C(c.clientX,c.clientY):null;return b};
e.wN=function(a){this.pK&&this.ke().focus();return GE.R.wN.call(this,a)};e.ZW=function(a){return(this.e9||a.isEnabled())&&a.Ca()&&Pp(a,2)};e.dc=function(a){var b=this.Za,c;c=this.U();var d=b.Ma()+"-content";c=me(c.Ba,"DIV",d,a);for(var d=c.length,f=0;f<d;f++)Ur(b,this,c[f]);GE.R.dc.call(this,a)};e.Nf=function(a){var b=GE.R.Nf.call(this,a);b||this.Lj(function(c){!b&&c.Uaa&&c.dQ==a.keyCode&&(this.isEnabled()&&this.yi(c),b=c.Mf(a))},this);return b};
e.Os=function(a){GE.R.Os.call(this,a);(a=this.og(a))&&Sn(a.H(),this.H())};function HE(a,b){var c=qa(IE,a,b);a.Xa?c():E?xg(a,"show",c):xg(a,"beforeshow",c);var d=null;qg(a,"show",function(){a.getDraggable()&&(d=new JE(a))});qg(a,"hide",function(){rc(d)})}function IE(a,b){By(a,.75);var c=a.Ub;c&&b&&(c=c.Au(b))&&W(c,"goog-buttonset-action");var c=kz(a.H(),.13),d=jz(a.H(),.13,"ease-in",1,0),f=jz(a.nr(),.13,"ease-out",0,.75),g=jz(a.nr(),.13,"ease-in",.75,0);a.zT(c,d,f,g)}function JE(a){Ht.call(this,a.H());this.Sq=a;qg(this,"start",this.sla,!1,this)}w(JE,Ht);
JE.prototype.sla=function(a){a=a.I9;if(this.Sq.getDraggable()&&nn(a.target,this.Sq.Ma())){var b=Zn(this.Sq.H()),b=new un(0,b.width,b.height,0),c=lo(this.Sq.H(),"padding");b.expand(-1*c.top,-1*c.right,-1*c.bottom,-1*c.left);if(!b.contains(new C(a.offsetX,a.offsetY)))return this.nS(),!0}return!1};
JE.prototype.nS=function(){var a=this.Sq.U().Ba,b=re(ve(a)),c=Zn(this.Sq.H());if("fixed"==Hn(this.Sq.H()))a=b.width-c.width,b=b.height-c.height;else var d=Math.max(a.body.scrollHeight,b.height),a=Math.max(a.body.scrollWidth,b.width)-c.width,b=d-c.height;Jt(this,new wn(0,0,Math.max(0,a),Math.max(0,b)))};function KE(a){var b=a.Fla,c=a.Ne;a=U;if((1==b.oi.length&&(null==b.oi[0]?0:b.oi[0].name)||1<b.oi.length)&&(null==b?0:b.nQ)&&(null==b?0:b.oQ))if((null==b?0:b.Lp)||(null==b?0:b.DB)){var d=b.oi.length,f=null==b.oi[0]?null:b.oi[0].name,g=null==b?null:b.oQ,h=null==b?null:b.nQ,k=null==b?null:b.xka,m=null==b?null:b.wka,q=b.zg,b=U;1==d?(d="",c=k&&m?'"'+(T(f)+('" has been moved from '+(LE({Se:k,Qf:m,Ne:c})+(" to "+(LE({Se:g,Qf:h,Ne:c})+"."))))):'"'+(T(f)+('" has been moved to '+(LE({Se:g,Qf:h,Ne:c})+"."))),
d+=c,c=U(d)):("onlyfiles"==q?(f="",c=k&&m?T(d)+(" files have been moved from "+(LE({Se:k,Qf:m,Ne:c})+(" to "+(LE({Se:g,Qf:h,Ne:c})+".")))):T(d)+(" files have been moved to "+(LE({Se:g,Qf:h,Ne:c})+"."))):"onlyfolders"==q?(f="",c=k&&m?T(d)+(" folders have been moved from "+(LE({Se:k,Qf:m,Ne:c})+(" to "+(LE({Se:g,Qf:h,Ne:c})+".")))):T(d)+(" folders have been moved to "+(LE({Se:g,Qf:h,Ne:c})+"."))):(f="",c=k&&m?T(d)+(" items have been moved from "+(LE({Se:k,Qf:m,Ne:c})+(" to "+(LE({Se:g,Qf:h,Ne:c})+".")))):
T(d)+(" items have been moved to "+(LE({Se:g,Qf:h,Ne:c})+"."))),f+=c,c=U(f));b=b("<span>"+c+"</span>")}else g=b.oi.length,h=b.zg,k=null==b.oi[0]?null:b.oi[0].name,m=null==b?null:b.oQ,d=null==b?null:b.nQ,b="<span>",c=1==g?'"'+(T(k)+('" has been added to '+(LE({Se:m,Qf:d,Ne:c})+"."))):"onlyfiles"==h?T(g)+(" files have been added to "+(LE({Se:m,Qf:d,Ne:c})+".")):"onlyfolders"==h?T(g)+(" folders have been added to "+(LE({Se:m,Qf:d,Ne:c})+".")):T(g)+(" items have been added to "+(LE({Se:m,Qf:d,Ne:c})+
".")),b+=c,b=U(b+"</span>");else b="";return a(b)}function LE(a){var b=a.Se,c=a.Ne;return U('<a href="'+wl(xl(a.Qf))+'" target="_blank" '+(c?'class="'+wl(c)+'"':"")+">"+T(b)+"</a>")}function ME(){return U("<span>Loading\u2026</span>")};function NE(a){a='Move from <span class="drive-organize-dialog-parent-name">'+(T(a.Se)+"</span>");return U(""+('<span class="drive-organize-dialog-list-item">'+a+"</span>"))}function OE(a){a='Do not move from any folder, just add to <span class="drive-organize-dialog-parent-name">'+(T(a.name)+"</span>");return U(""+('<span class="drive-organize-dialog-list-item">'+a+"</span>"))}
function PE(a){var b=a.name,c=a.dk,d=a.zg;a='<span class="drive-organize-dialog-list-item">';b="onlyfiles"==d?br(new Wq("{NUM_ITEMS,plural,=1{You do not have permission to move this file from its current folders. Add file to {START_SPAN_1}{NAME}{END_SPAN} instead.}other{You do not have permission to move these files from their current folders. Add files to {START_SPAN_2}{NAME}{END_SPAN} instead.}}"),{NUM_ITEMS:c,START_SPAN_1:'<span class="drive-organize-dialog-parent-name">',NAME:T(b),END_SPAN:"</span>",
START_SPAN_2:'<span class="drive-organize-dialog-parent-name">'}):"onlyfolders"==d?br(new Wq("{NUM_ITEMS,plural,=1{You do not have permission to move this folder from its current folders. Add folder to {START_SPAN_1}{NAME}{END_SPAN} instead.}other{You do not have permission to move these folders from their current folders. Add folders to {START_SPAN_2}{NAME}{END_SPAN} instead.}}"),{NUM_ITEMS:c,START_SPAN_1:'<span class="drive-organize-dialog-parent-name">',NAME:T(b),END_SPAN:"</span>",START_SPAN_2:'<span class="drive-organize-dialog-parent-name">'}):
br(new Wq("{NUM_ITEMS,plural,=1{You do not have permission to move this item from its current folders. Add item to {START_SPAN_1}{NAME}{END_SPAN} instead.}other{You do not have permission to move these items from their current folders. Add items to {START_SPAN_2}{NAME}{END_SPAN} instead.}}"),{NUM_ITEMS:c,START_SPAN_1:'<span class="drive-organize-dialog-parent-name">',NAME:T(b),END_SPAN:"</span>",START_SPAN_2:'<span class="drive-organize-dialog-parent-name">'});a+=b;return U(a+"</span>")};function QE(a,b,c,d){sy.call(this,"drive-organize-dialog",void 0,d);this.xga=a;this.xja=b;this.z$=c;this.xw=this.Fd=null;this.v3=!1}w(QE,sy);e=QE.prototype;e.ra=function(){QE.R.ra.call(this);Gy(this,ty(ty(new uy,wy,!1,!0),vy,!0));this.Cw(!0);$k(this.Vb(),ME)};
e.ta=function(){QE.R.ta.call(this);HE(this,"ok");var a=this.Ub;Hy(a,!1);for(var a=a.$.getElementsByTagName("BUTTON"),b=0;b<a.length;b++)W(a.item(b),"drive-organize-button");this.ka().listen(this,"dialogselect",function(a){switch(a.key){case "cancel":this.Fd.reject("cp");break;case this.Ub.my:this.v3?this.Fd.resolve({id:void 0,name:void 0,ji:!1}):this.xw&&this.Fd.resolve(this.xw.Ga())}})};e.show=function(){this.Fd=Sg();Rg([this.xga,this.xja,this.z$]).then(this.Tba,this.Rba,this);return this.Fd.uf};
e.Tba=function(a){var b=a[0],c=a[1];a=a[2];for(var d={},f=0;f<b.length;f++)for(var g=0;g<b[f].wh.length;g++){var h=b[f].wh[g];d[h]=(d[h]||0)+1}d[a.id]==b.length?this.Fd.reject("iid"):(f=RE(this,c,a.id),0==f.length&&pb(c,this.K3,this)?this.Fd.resolve({id:void 0,name:void 0,ji:!1}):(d=SE(b.length,d,f),1==f.length&&d?(b=f[0],this.Fd.resolve({id:b.id,name:b.name,ji:!1})):(this.setVisible(!0),TE(this,b,c.length,f,d,a))))};
function TE(a,b,c,d,f,g){var h=b.length,k=d.length,m=YD(b);b=new GE;var q;if(0==k)a.v3=!0,$k(a.Vb(),PE,{name:g.name,dk:h,zg:m}),Hy(a.Ub,!0);else{if(1==k||3>k&&f)for(f=0;f<k;f++){var v=d[f];q=S(NE,{Se:v.name},null,a.U());q=new CE(q,{id:v.id,name:v.name,ji:!1});q.cC(!0);b.Aa(q,!0)}1<k&&(q=new CE(UD(k),{id:void 0,name:void 0,ji:!0}),q.cC(!0),b.Aa(q,!0));q=S(OE,{name:g.name},null,a.U());q=new CE(q,{id:void 0,name:void 0,ji:!1});q.cC(!0);b.Aa(q,!0);a.setTitle(TD(h,m,c));c=a.Vb();a.U().fe(c);b.Ka(a.Vb());
A(a,b);a.ka().listen(b,"action",function(a){a=a.target;this.xw&&this.xw.Ga()!==a.Ga()&&this.xw.sk(!1);this.xw=a;Hy(this.Ub,!0)})}a.jc()}e.Rba=function(a){this.Fd.reject(a)};function RE(a,b,c){return lb(b,function(a){return a.id!=c&&this.K3(a)},a)}function SE(a,b,c){return pb(c,function(c){return b[c.id]==a})}e.K3=function(a){return"owner"==a.Ln||"writer"==a.Ln};function UE(a){var b=!!a.gr,c=a.dk,d=!!a.mn,f=!!a.nn;a="";1<c&&(b=b?d?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files out of Team Drives and shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):f?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} folders out of Team Drives and shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files and folders out of Team Drives and shared folders, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):d?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files out of Team Drives and shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):f?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} folders out of Team Drives and shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files and folders out of Team Drives and shared folders, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}),a+=""+b);return kl(a)}
function VE(a){var b=!!a.gr,c=a.dk,d=!!a.mn,f=!!a.nn,g=a.Bha,h=a.TT;a="";1<=c&&(b?1==g?d?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You are moving a file out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}other{You are moving {NUM_ITEMS_2} files out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,SHARED_FOLDER_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):f?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You are moving a folder out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}other{You are moving {NUM_ITEMS_2} folders out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,
SHARED_FOLDER_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):1<c&&(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files and folders out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c,SHARED_FOLDER_NAME:""+Gl(h)}),a+=""+b):1<c&&(b=d?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files out of shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+
c}):f?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} folders out of shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files and folders out of shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}),a+=""+b):1==g?d?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You also are moving a file out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}other{You also are moving {NUM_ITEMS_2} files out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}}"),
{NUM_ITEMS_1:c,SHARED_FOLDER_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):f?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You also are moving a folder out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}other{You also are moving {NUM_ITEMS_2} folders out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,SHARED_FOLDER_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):1<c&&(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files and folders out of shared folder {SHARED_FOLDER_NAME}, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c,SHARED_FOLDER_NAME:""+Gl(h)}),a+=""+b):1<c&&(b=d?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files out of shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):f?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} folders out of shared folders, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files and folders out of shared folders, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}),a+=""+b));return kl(a)}
function WE(a){var b=!!a.gr,c=a.dk,d=!!a.mn,f=!!a.nn,g=a.Cha,h=a.Bi;a="";1<=c&&(b?1==g?d?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You are moving a file out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}other{You are moving {NUM_ITEMS_2} files out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,TEAM_DRIVE_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):f?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You are moving a folder out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}other{You are moving {NUM_ITEMS_2} folders out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,
TEAM_DRIVE_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):1<c&&(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files and folders out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c,TEAM_DRIVE_NAME:""+Gl(h)}),a+=""+b):1<c&&(b=d?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files out of team drives, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):f?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} folders out of team drives, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You are moving {NUM_ITEMS_2} files and folders out of team drives, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}),a+=""+b):1==g?d?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You also are moving a file out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}other{You also are moving {NUM_ITEMS_2} files out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,
TEAM_DRIVE_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):f?(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{You also are moving a folder out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}other{You also are moving {NUM_ITEMS_2} folders out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}}"),{NUM_ITEMS_1:c,TEAM_DRIVE_NAME:""+Gl(h),NUM_ITEMS_2:""+c}),a+=""+b):1<c&&(b=br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files and folders out of team drive {TEAM_DRIVE_NAME}, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c,TEAM_DRIVE_NAME:""+Gl(h)}),a+=""+b):1<c&&(b=d?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files out of team drives, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):f?br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} folders out of team drives, so people will lose access.}}"),{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}):br(new Wq("{NUM_ITEMS_1,plural,=0{Unused}=1{Unused}other{You also are moving {NUM_ITEMS_2} files and folders out of team drives, so people will lose access.}}"),
{NUM_ITEMS_1:c,NUM_ITEMS_2:""+c}),a+=""+b));return kl(a)}function XE(a){a=a||{};var b=a.Bi;a="";b?(b="Everyone on "+(""+Gl(b)+" will lose access"),a+=""+b):a+="Some people may lose access";return kl(a)}function YE(a){var b=a.Bi,c="";a=a.gr?"You only have permission to add and edit files in "+(""+Gl(b)+", so you won't be able to undo this action."):"You also only have permission to add and edit files in "+(""+Gl(b)+", so you won't be able to undo this action.");c+=""+a;return kl(c)}
function ZE(){return kl("You can't undo this action")}
function $E(a){var b=a.dk,c=!!a.mn,d=!!a.nn,f=a.TT;a="";1<=b&&(c?(b=br(new Wq("{NUM_ITEMS,plural,=0{Unused}=1{Moving this file will share it with everyone who can see the shared folder {SHARED_FOLDER_NAME}.}other{Moving these files will share them with everyone who can see the shared folder {SHARED_FOLDER_NAME}.}}"),{NUM_ITEMS:b,SHARED_FOLDER_NAME:""+Gl(f)}),a+=""+b):d?(b=br(new Wq("{NUM_ITEMS,plural,=0{Unused}=1{Moving this folder will share it with everyone who can see the shared folder {SHARED_FOLDER_NAME}.}other{Moving these folders will share them with everyone who can see the shared folder {SHARED_FOLDER_NAME}.}}"),{NUM_ITEMS:b,
SHARED_FOLDER_NAME:""+Gl(f)}),a+=""+b):1<b&&(b=br(new Wq("{NUM_ITEMS,plural,=0{Unused}=1{Unused}other{Moving these files and folders will share them with everyone who can see the shared folder {SHARED_FOLDER_NAME}.}}"),{NUM_ITEMS:b,SHARED_FOLDER_NAME:""+Gl(f)}),a+=""+b));return kl(a)}
function aF(a){var b=a.dk,c=!!a.mn,d=!!a.nn;a="";1<=b&&(c?(b=br(new Wq("{NUM_ITEMS,plural,=0{Unused}=1{Share this file?}other{Share these files?}}"),{NUM_ITEMS:b}),a+=""+b):d?(b=br(new Wq("{NUM_ITEMS,plural,=0{Unused}=1{Share this folder?}other{Share these folders?}}"),{NUM_ITEMS:b}),a+=""+b):1<b&&(b=br(new Wq("{NUM_ITEMS,plural,=0{Unused}=1{Unused}other{Share these files and folders?}}"),{NUM_ITEMS:b}),a+=""+b));return kl(a)};function bF(a,b){this.Ha=b||he();this.cJ=a||null}bF.prototype.Ka=function(a,b){var c=a(b||{},void 0,this.cJ?this.cJ.getData():{});this.s0();return String(c)};function cF(a,b,c){b=b(c||{},void 0,a.cJ?a.cJ.getData():{});a.s0();return String(b)}bF.prototype.s0=p;function dF(a,b,c,d){sy.call(this,"drive-organize-dialog",void 0,d);this.c$=a;this.b$=b;this.P9=c;this.Fd=null}w(dF,sy);dF.prototype.ra=function(){dF.R.ra.call(this);Gy(this,ty(ty(new uy,wy,!1,!0),vy,!0));this.Cw(!0);Fy(this);this.setTitle(this.c$);xy(this,this.b$)};
dF.prototype.ta=function(){dF.R.ta.call(this);HE(this,"ok");for(var a=this.Ub.$.getElementsByTagName("BUTTON"),b=0;b<a.length;b++)W(a.item(b),"drive-organize-button");this.ka().listen(this,"dialogselect",function(a){switch(a.key){case "cancel":this.Fd.reject(this.P9);break;case this.Ub.my:this.Fd.resolve()}})};dF.prototype.show=function(){this.Fd=Sg();this.setVisible(!0);return this.Fd.uf};function eF(a,b,c,d){var f=[];a.uk?f=[qb(c,function(b){return b.id==a.uk})]:a.ji&&(f=c);c=fF(b,f);f=gF(b,f,d);return{items:b,zg:YD(b),gD:d,cI:c,bt:f}}function fF(a,b){var c=hF(a);return iF(c,b)}function hF(a){var b={};y(a,function(a){for(var d=a.wh,f=0;f<d.length;f++)b[d[f]]||(b[d[f]]=[]),b[d[f]].push(a)});return b}function iF(a,b){var c={},d=[];y(b,function(b){if(b.Ss){for(var g=a[b.id]||[],h=0;h<g.length;h++)c[g[h].id]=!0;d.push({My:b.name,Sra:g.length})}});return{UT:d,Aha:Rb(c),Wra:b}}
function gF(a,b,c){var d={},f=0,g=!1;a=hF(a);for(var h=0;h<b.length;h++){var k=b[h],m=k.Hh?{id:k.Hh,name:k.Bi}:null,g=m?g:!0,f=f+a[k.id].length;m&&m.id!=c.Hh&&(d[m.id]=m)}b="Va";1<Rb(d)?b="Sa":1==Rb(d)?b="Ta":g&&c.Hh&&(b="Ua");return{EB:Sb(d),type:b,Rra:f}};function jF(){z.call(this);this.FJ=null;this.eq=new bF}w(jF,z);function kF(a,b,c,d,f){return Rg([b,c,f,d]).then(function(a){var b=a[0];a=eF(b,a[1],a[3],a[2]);var c=lF(b.kt,a);return 0<c.length?(a=mF(this,c,a),nF(this,a).then(function(){return b})):b},void 0,a)}function lF(a,b){var c=[],d="Sa"==b.bt.type||"Ta"==b.bt.type,f=0<b.cI.Aha,g=b.gD.Ss;!a&&b.gD.Bi&&c.push("Za");d&&c.push("Ya");f&&c.push("Xa");g&&c.push("Wa");return c}
function mF(a,b,c){var d;d="";tb(b,"Za")?d=cF(a.eq,ZE):tb(b,"Xa")||tb(b,"Ya")?(d=void 0,tb(b,"Xa")||1!=c.bt.EB.length||(d=c.bt.EB[0].name),d=cF(a.eq,XE,{Bi:d})):tb(b,"Wa")&&(d=cF(a.eq,aF,{dk:c.items.length,mn:"onlyfiles"==c.zg,nn:"onlyfolders"==c.zg}));var f=[];if(tb(b,"Wa")){var g=cF(a.eq,$E,{dk:c.items.length,mn:"onlyfiles"==c.zg,nn:"onlyfolders"==c.zg,TT:c.gD.name});f.push(g)}if(tb(b,"Xa")||tb(b,"Ya")){var g=0==f.length,h=c.bt.EB.length,k=c.cI.UT.length,g=0<h&&0==k?cF(a.eq,WE,{gr:g,dk:c.items.length,
mn:"onlyfiles"==c.zg,nn:"onlyfolders"==c.zg,Cha:c.bt.EB.length,Bi:c.bt.EB[0].name}):0==h&&0<k?cF(a.eq,VE,{gr:g,dk:c.items.length,mn:"onlyfiles"==c.zg,nn:"onlyfolders"==c.zg,Bha:c.cI.UT.length,TT:c.cI.UT[0].My}):0<h&&0<k?cF(a.eq,UE,{gr:g,dk:c.items.length,mn:"onlyfiles"==c.zg,nn:"onlyfolders"==c.zg}):"";f.push(g)}tb(b,"Za")&&(a=cF(a.eq,YE,{gr:0==f.length,Bi:c.gD.name}),f.push(a));a=jd(f.join(" "));return new dF(d,a,"csc")}function nF(a,b){rc(a.FJ);a.FJ=b;A(a,a.FJ);return a.FJ.show()};function oF(a,b,c,d){H.call(this);this.wu=a;this.M3=b;this.Tn=c;this.FA=null;this.ZL=Xh(l.location.href);this.ha=new K(this);A(this,this.ha);this.nb=d;this.UI=this.Jk=null;this.yma=new jF;this.cw=!1;this.ha.listen(this.wu,"Ma",this.lea).listen(this.wu,"Na",this.UN)}w(oF,H);e=oF.prototype;e.f5=function(a){this.ZL=a};e.Cl=function(a,b,c,d,f,g,h,k){b=Vg(pF(this,a,b,c,d,f,!!g,h,k),this.aB,this);return Rg([a,b]).then(function(a){return qF(this,a[0],a[1])},void 0,this)};
function pF(a,b,c,d,f,g,h,k,m){a.cw=!0;return m?(d=k&&!h?Rg([c,m]).then(function(a){var b=qb(a[0],function(a){return a.id==k});a=a[1];return Ng({um:a.id,jE:a.name,ry:a.Hh,kE:a.Bi,uk:b.id,RI:b.name,SI:b.Hh,TI:b.Bi,ji:!!a.Hh||!!b.Hh,kt:a.Hh&&!a.zU?!1:!0})},void 0,a):h?m.then(function(a){return Ng({um:a.id,jE:a.name,ry:a.Hh,kE:a.Bi,uk:void 0,RI:void 0,SI:void 0,TI:void 0,ji:!1,kt:!0})}):rF(a,b,c,m),d=sF(a,c,d),kF(a.yma,d,b,c,m)):sF(a,c,a.wu.eC(d,tF(f),g,h,b,c,k))}
function sF(a,b,c){var d=Sg();Rg([b,c]).then(function(a){var b=a[0];a=a[1];for(var c,k=0;k<b.length;k++)b[k].id==a.uk&&(c=b[k]);c&&!c.XW?d.reject("sfiro"):d.resolve(a)},function(a){d.reject(a)},a);return d.uf}
function rF(a,b,c,d){rc(a.UI);a.UI=new QE(b,c,d);A(a,a.UI);a.dispatchEvent("Na");var f=Sg();b=a.UI.show();Rg([b,d]).then(function(a){var b=a[0];a=a[1];f.resolve({um:a.id,jE:a.name,ry:a.Hh,kE:a.Bi,uk:b.id,RI:b.name,SI:b.Hh,TI:b.Bi,ji:b.ji,kt:a.Hh&&!a.zU?!1:!0})},function(a){f.reject(a)},a);return f.uf}
function qF(a,b,c){function d(a){k--;0==k&&(0<g.length?m.resolve(h()):m.reject(a))}function f(a){k--;g.push(a);0==k&&m.resolve(h())}var g=[],h=t(function(){var a=YD(g),d=c.um,f=c.jE,h;h=(h=c.um)?1==b.length?this.SM(b[0].id,h):uF(this,h):void 0;return{oi:g,zg:a,cH:d,oQ:f,nQ:h,Pra:c.ry,Qra:c.kE,Lp:c.uk,xka:c.RI,wka:uF(this,c.uk),Ura:c.SI,Vra:c.TI,DB:c.ji,kt:n(c.kt)?c.kt:!0}},a),k=b.length;if(0>=k)return Ng(h());a.dispatchEvent("Oa");for(var m=Sg(),q=c.um?[c.um]:void 0,v=c.uk&&c.uk!=c.um?[c.uk]:void 0,
B=0;B<b.length;B++){var F=b[B];c.ji&&(v=lb(F.wh,function(a){return a!=c.um}));a.M3.Kn(F.id,q,v,c.ry).then(t(f,a,F),d)}return m.uf}e.SM=function(a,b){var c=nk(nk(nk((new Zj).setPath("my-drive"),"action","locate"),"id",a),"parent",b),c=ek(nk(new Zj(this.ZL),"authuser",this.Tn),c.toString());x(za(this.FA))||nk(c,"usp",this.FA);return c.toString()};
function uF(a,b){if(b){var c=nk(new Zj(a.ZL),"authuser",a.Tn);"root"==b?c.setPath("drive/my-drive"):c.setPath("drive/folders/"+b);x(za(a.FA))||nk(c,"usp",a.FA);return c.toString()}}function vF(a,b){for(var c=b.oi,d=[],f=0;f<c.length;f++){var g=c[f],h=qb(g.wh,function(a){return a==b.cH})?void 0:b.cH;if(h||b.Lp||b.DB){var k;b.Lp?k=qb(g.wh,function(a){return a==b.Lp})?[b.Lp]:void 0:b.DB&&(k=zb(g.wh));g=a.M3.Kn(g.id,k,h?[h]:void 0,g.Hh);d.push(g)}}return Rg(d).then(function(){return!0})}
function tF(a){return ja(a)?a():a}
function wF(a,b,c,d,f){var g;a.Jk||(a.Jk=new sE(a.nb,f),A(a,a.Jk));var h=!0;b.then(function(){if(h){var a=this.Jk,b=tF(c);b&&qE(a,b);a.WO=!0;uE(a)}},function(a){g=a;h&&this.Jk.kc(tF(c))},a);a.cw=!0;return a.Jk.show(tF(c),d).then(function(a){h=!1;switch(a){case 0:return this.aB(),Og(g||"catd");case 2:return this.aB(),Og("uatd");case 1:return a=this.wu.eC(1,tF(c),d,!1,void 0,void 0,WD.id),Vg(Rg([b,a]).then(void 0,function(a){if(this.wu.Uj())return a=this.Jk.show(tF(c),d),this.Jk.kc(),a.then(function(){throw g||
"catd";},void 0,this);throw a;},this),this.aB,this).then(function(a){var b=a[0];a=a[1];for(var c=[],d=0;d<b.length;d++){var f=new XD;f.id=b[d];f.wh=[WD.id];c.push(f)}return qF(this,c,a)},void 0,this)}},void 0,a)}e.aB=function(){this.cw&&(this.cw=!1,this.dispatchEvent("Ra"))};e.lea=function(){this.dispatchEvent("Pa")};e.UN=function(){this.dispatchEvent("Qa")};function xF(a){var b=qi(a,ri);return new RD(b,3,oi(pi(a.qa())))}function yF(a){var b=a.qa(),c=b.sg()||"0",d=a.U(),f=zF(a),g=Yx(a),h=AF(b)||void 0,f=new eE(f,d,h);f.Ew("drive-viewer",c);f.E5=!g;A(a,f);a=new oF(f,qi(a,Mv),c,d);a.FA="drive-viewer";Iu(b)&&a.f5(Iu(b));return a}function zF(a){var b=a.qa(),c;c=null==L(b,51)?"":L(b,51);c||(a=Iu(b)||Tl(a.U().getWindow()),a=new Zj(a),a.setPath("picker"),c=a.toString());return c};function BF(a){qi(a,ri);var b=a.qa().sg()||"0",c=zF(a),d=AF(a.qa())||void 0;return new OD(0,b,a.U(),c,d)};function CF(){z.call(this);this.WI={};this.Jv={}}w(CF,z);function DF(a,b){a.WI[b.mM]=b;for(var c=b.kf(),d=b.Kf(),f=0;f<c.length;f++){var g=c[f];a.Jv[g]||(a.Jv[g]={});if(0<d.length)for(var h=0;h<d.length;h++)a.Jv[g][d[h]]=b;else a.Jv[g][null]=b}}CF.prototype.getFeature=function(a,b){var c=this.Jv[a],c=c?c[b]||c[null]:null;if(!c){c=this.Jv[a.substring(0,a.indexOf("/")+1)];if(!c)return null;c=c?c[b]||c[null]:null}return c};var EF=["application/illustrator"],FF=["text/csv","text/comma-separated-values"],GF=["application/msword","text/msword"],HF="application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.wordprocessingml.template application/vnd.ms-word.document.macroenabled.12 application/vnd.ms-word.document.macroEnabled.12 application/vnd.ms-word.template.macroenabled.12 application/vnd.ms-word.template.macroEnabled.12 text/vnd.openxmlformats-officedocument.wordprocessingml.document".split(" "),
IF=["application/dxf"],JF=["application/x-eps","application/eps","image/eps","image/x-eps"],KF=["application/octet-stream+fon"],LF=["application/vnd.google-apps.form"],MF=["application/vnd.google-apps.freebird"],NF=["application/x-hwp"],OF=["application/vnd.google-apps.kix","application/vnd.google-apps.document"],PF=["application/vnd.google-earth.kml+xml"],QF=["application/vnd.google-earth.kmz"],RF=["application/vnd.oasis.opendocument.presentation","application/x-vnd.oasis.opendocument.presentation"],
SF=["application/vnd.oasis.opendocument.spreadsheet","application/x-vnd.oasis.opendocument.spreadsheet"],TF=["application/vnd.oasis.opendocument.text","application/x-vnd.oasis.opendocument.text"],UF=["font/opentype","application/x-font-otf","application/vnd.ms-opentype"],VF=["application/x-iwork-pages-sffpages"],WF=["application/pdf","application/x-pdf","text/pdf","text/x-pdf","application/x-pdf-compressed"],XF=["application/vnd.ms-powerpoint","text/vnd.ms-powerpoint"],YF=["application/vnd.openxmlformats-officedocument.presentationml.presentation",
"text/vnd.openxmlformats-officedocument.presentationml.presentation"],ZF=["application/vnd.google-apps.presentation"],$F="application/postscript application/ps application/x-postscript application/x-postscript-not-eps application/x-ps text/postscript".split(" "),aG="image/photoshop image/vnd.adobe.photoshop image/x-photoshop image/psd application/photoshop application/psd application/x-photoshop".split(" "),bG=["application/vnd.google-apps.punch"],cG=["application/vnd.google-apps.ritz"],dG=["application/rtf",
"text/rtf","text/richtext"],eG=["application/vnd.stardivision.calc"],fG=["application/vnd.stardivision.impress"],gG=["application/vnd.stardivision.writer"],hG=["application/vnd.google-apps.drawing"],iG=["image/svg+xml"],jG=["application/vnd.sun.xml.calc"],kG=["application/vnd.sun.xml.impress"],lG=["application/vnd.sun.xml.writer"],mG=["image/tiff"],nG=["application/vnd.google-apps.spreadsheet"],oG=["text/tsv","text/tab-separated-values"],pG=["application/x-font-ttf"],qG=["application/octet-stream",
"application/octetstream","application/octet"],rG=["application/wordperfect","application/vnd.wordperfect"],sG=["application/vnd.ms-excel","text/vnd.ms-excel"],tG="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet text/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template application/vnd.ms-excel.sheet.macroenabled.12 application/vnd.ms-excel.sheet.macroEnabled.12 application/vnd.ms-excel.template.macroenabled.12 application/vnd.ms-excel.template.macroEnabled.12".split(" "),
uG=["application/vnd.ms-xpsdocument"],vG={Fma:["audio/aac","audio/x-aac"],Gma:["application/x-ace-compressed","application/x-ace"],Ima:EF,Jma:["audio/x-aiff","audio/aiff"],Kma:["application/vnd.android.package-archive"],Mma:["application/x-troff-msvideo","video/avi","video/msvideo","video/x-msvideo"],Qma:["image/bmp","image/x-bmp"],Rma:["application/bzip2","application/x-bzip","application/x-bzip2"],C:"text/x-c-code text/x-csrc text/x-c++-cod text/x-c++src text/x-c-header text/x-chdr text/x-c++hdr".split(" "),
Sma:["application/vnd.ms-cab-compressed","application/x-cab-compressed"],Tma:["application/ics","text/calendar"],Uma:["application/x-caseware-compressed"],Vma:"application/cdr application/coreldraw application/x-cdr application/x-coreldraw image/cdr image/x-cdr zz-application/zz-winassoc-cdr".split(" "),Wma:["application/x-cfs-compressed"],Zma:["application/vnd.coffeescript","text/x-coffeescript","text/coffeescript"],dna:["application/x-cpio"],ena:["image/x-canon-cr2"],fna:["image/x-canon-crw"],gna:["text/x-csharp"],
hna:["text/x-csh","application/x-csh"],CSS:["text/css"],ina:FF,jna:["application/vnd.dart","application/dart"],lna:["application/x-dgc-compressed","application/dgc"],mna:["application/x-apple-diskimage"],nna:["image/x-adobe-dng"],ona:GF,pna:HF,rna:"application/acad application/x-acad application/autocad_dwg image/x-dwg application/dwg application/x-dwg application/x-autocad image/vnd.dwg drawing/dwg".split(" "),sna:IF,una:JF,vna:["application/epub","application/epub+zip"],Bna:["application/x-flac",
"audio/flac","audio/x-flac"],Dna:["video/x-flv","application/x-flash-video","video/flv"],Ena:["application/octet-stream+fnt"],Fna:KF,Gna:LF,Hna:MF,Ina:["application/vnd.google-apps.fusiontable"],Mna:["image/gif"],Nna:["text/x-go"],Ona:["application/vnd.google-ocean.goodoc"],Pna:["application/vnd.google-apps.gpaper"],Qna:["video/3gpp"],Sna:"application/gzip application/gzip-compressed application/gzipped application/x-gzip application/x-gzip-compressed application/x-gunzip application/x-compressed gzip/document multipart/x-gzip".split(" "),
Tna:["text/x-haskell","text/x-literate-haskell"],Una:["text/html"],Vna:["application/vnd.google-internal.slide-summary","text/html+fragment","text/html+pretty","text/html+pretty+fragment"],Wna:NF,Xna:["image/jpeg+ocr","image/gif+ocr","image/png+ocr","image/bmp+ocr"],Yna:["application/x-ini","application/ini","text/x-ini","text/ini"],$na:["application/x-iso9660-image","application/x-iso-image","application/x-cd-image"],boa:["application/ms-java","text/java","text/x-java","text/x-java-source"],coa:["image/jpeg",
"image/jpg","image/pjpeg"],doa:["text/javascript","application/x-javascript","text/ecmascript","application/javascript","application/ecmascript"],JSON:["application/json","text/json"],eoa:OF,foa:PF,goa:QF,hoa:["application/x-lzh-compressed","application/x-lha-compressed","application/x-lzh","application/lzh"],ioa:["application/x-lisp","text/x-lisp","text/x-emacs-lisp"],joa:["application/x-ms-shortcut"],moa:["application/x-lzma"],noa:["application/x-lzop"],ooa:["application/x-lzx"],poa:["video/x-m4v"],
qoa:["text/markdown","text/x-markdown","text/x-web-markdown"],toa:["application/mbox"],uoa:["multipart/related","message/rfc822","application/x-mimearchive"],MIDI:"application/x-midi audio/midi audio/x-mid audio/x-midi music/crescendo x-music/x-midi".split(" "),woa:["video/x-matroska"],Coa:["audio/mp3"],Doa:["audio/mp4"],Eoa:["video/mp4"],Foa:["video/mpeg"],Goa:["audio/mpeg"],Hoa:["application/vnd.ms-project"],Ioa:["application/vnd.google-apps.map"],Koa:["image/x-nikon-nef"],Loa:["image/x-nikon-nrw"],
Moa:["text/x-objcsrc"],Noa:["text/x-ocaml"],Ooa:["ocr-result"],Poa:RF,Qoa:SF,Roa:TF,Soa:["audio/ogg","application/ogg","audio/x-ogg","audio/x-vorbis+ogg","audio/opus"],Toa:["video/ogg","video/x-theora+ogg","video/x-ogg"],Voa:UF,Woa:["application/vnd.oasis.opendocument.presentation-template","application/x-vnd.oasis.opendocument.presentation-template"],Xoa:["application/vnd.oasis.opendocument.text-template","application/x-vnd.oasis.opendocument.text-template"],Yoa:["application/vnd.ms-outlook"],$oa:VF,
bpa:WF,cpa:["application/pdf+ocr"],epa:["image/x-pentax-pef"],fpa:["text/x-perl","application/x-perl","text/x-perl-script"],gpa:["application/x-php","application/x-httpd-php"],hpa:["application/pkcs7-signature"],ipa:["application/vnd.apple.pkpass"],jpa:["image/png","image/x-png"],kpa:["application/vnd.openxmlformats-officedocument.presentationml.slideshow"],lpa:XF,mpa:YF,npa:ZF,qpa:$F,rpa:aG,spa:["application/x-mspublisher"],upa:bG,vpa:["image/pwg-raster"],wpa:["text/x-python","text/x-python-script",
"application/x-python"],xpa:["application/vnd.google-apps.qjs"],ypa:["video/quicktime"],Apa:["audio/vnd.rn-realaudio","audio/x-pn-realaudio"],Bpa:["application/rar","application/x-rar","application/x-rar-compressed","multipart/x-rar"],Dpa:["image/x-raw"],Ipa:cG,Kpa:["text/x-rst"],Lpa:dG,Mpa:["text/x-ruby-script","application/x-ruby","text/x-ruby"],Npa:["text/x-rust"],Opa:["text/x-scala"],Qpa:eG,Rpa:fG,Spa:gG,Vpa:["application/x-shar"],Zpa:["application/x-sh","text/x-sh"],$pa:["application/stuffit",
"application/x-stuffit","application/x-stuffitx"],aqa:["application/vnd.google-apps.site"],bqa:hG,dqa:["application/x-snb-compressed"],fqa:["application/sql","text/x-sql","application/x-sql","text/sql"],kqa:iG,lqa:["application/x-shockwave-flash"],oqa:jG,pqa:["application/vnd.sun.xml.draw"],qqa:kG,rqa:lG,tqa:["application/tar","application/x-gtar","application/x-gtar-compressed","application/x-tar","multipart/x-tar"],vqa:["application/x-bzip-compressed-tar"],wqa:["application/x-tex"],TEXT:["text/plain"],
xqa:["application/x-tgz","application/x-compressed-tar"],zqa:mG,Cqa:nG,Dqa:oG,Eqa:pG,UNKNOWN:qG,Iqa:["text/vcard"],Kqa:["application/vnd.google-apps.video"],Lqa:"application/visio application/x-visio application/vnd.visio application/visio.drawing application/vsd application/x-vsd image/x-vsd zz-application/zz-winassoc-vsd".split(" "),Mqa:["audio/vnd.wave","audio/wav","audio/wave","audio/x-wav"],Nqa:["application/x-webarchive","application/webarchive"],Oqa:["video/webm"],Pqa:["image/webp"],Tqa:["audio/x-ms-wma"],
Uqa:["image/x-wmf","image/x-emf","application/x-ms-wmz"],Vqa:["text/vnd.wap.wml"],Wqa:["video/x-ms-wmv"],Xqa:rG,Yqa:["application/x-msworks-wp","application/vnd.ms-works"],Zqa:["application/x-mswrite","application/mswrite"],cra:sG,dra:tG,fra:["text/xml","application/xml"],gra:["xpdf-sml"],hra:uG,ira:["application/x-yaml","application/yaml","text/x-yaml","text/yaml"],nra:["video/x-youtube"],Z:["application/x-compress"],ora:["application/7z","application/x-7z","application/x-7z-compressed","application/x-7zip-compressed"],
pra:["application/zip","application/x-zip","application/x-zip-compressed","multipart/x-zip","multipart/zip"]},wG=null;function xG(){if(!wG){wG={};for(var a in vG){for(var b=vG[a],c=0;c<b.length;c++)wG["mime-"+b[c]]=b;b.toString=cf(a)}}}function yG(a){xG();for(var b=[],c=0;c<a.length;c++)Ab(b,a[c]);return b};function zG(a){this.Am=a}var AG=new zG([WF,$F,uG,VF,NF,rG,TF,gG,lG,dG,OF,XF,YF,RF,fG,kG,eG,jG,EF,JF,IF,mG,iG,UF,pG,KF]),BG=new zG([HF,GF]),CG=new zG([sG,tG,SF,FF,oG]),DG=new zG([ZF,bG]),EG=new zG([aG]),FG=new zG([PF,QF]);function GG(){H.call(this);this.level=this.vL=0;this.uu=1;this.Qg=null;this.dw=this.Yb=!1;this.Bf=0;this.eU=!1}w(GG,H);var HG={MJ:"$a",L7:"ab",yV:"bb",x8:"cb",aK:"db",YC:"eb"},IG={tq:0,ACTIVATING:1,$l:2};e=GG.prototype;e.g1=function(){return!1};e.isEnabled=function(){return this.Yb};e.setEnabled=function(a){this.Yb!=a&&((this.Yb=a)||JG(this,0),this.dispatchEvent("ab"))};function JG(a,b,c){a.Bf!=b&&(a.Bf=b,0==a.Bf&&(a.uu=1,a.level=a.Qg?a.Qg.start:a.vL),a.dispatchEvent(new KG(c)))}
function LG(a,b){a.Qg=b;a.level=wd(a.level,b.start,b.end)}function MG(a,b,c){a.level=a.Qg?wd(b,a.Qg.start,a.Qg.end):b;a.uu=0;a.dispatchEvent(new NG(c))}e.v6=p;function OG(a,b,c){b=a.Qg?a.Qg.start+a.Qg.getLength()*wd(b,0,100)/100:null;null===b||MG(a,b,c)}function PG(a){return a.Qg?Math.floor((a.oz()-a.Qg.start)/a.Qg.getLength()*100):0}e.oz=function(){return this.level};function KG(a){gn.call(this,"$a",a)}w(KG,gn);function NG(a){G.call(this,"eb");this.source=a}w(NG,G);function QG(a,b){Dm.call(this,a,b)}w(QG,Dm);QG.prototype.zZ=function(){return["imageMediaMetadata(height, width),thumbnailLink"]};QG.prototype.sN=function(a){var b=this.item.Mb,c=a.imageMediaMetadata;c&&b.e5(new D(c.width,c.height));QG.R.sN.call(this,a)};function RG(a,b){em.call(this,a,b);this.hk=this.Ad=null;this.sH=new D(Infinity,Infinity);this.kG=!1}w(RG,em);var SG={LOADED:"fb",koa:"gb",f8:"hb"},TG=new D(1E4,1E4);RG.prototype.getFeature=function(){return RG.R.getFeature.call(this)};RG.prototype.Xh=function(a,b){if(UG(this))return this.pb.Em();if(this.pb.Xh()){var c=this.pb.Xh();return Zl(c,a,b)}return this.Nd(a,b)};RG.prototype.Em=function(){var a=this.pb.Em();return a?Zl(a,TG.width,TG.height):this.Xh(TG.width,TG.height)};
function UG(a){var b=a.pb;return(null==L(b,30)?!1:L(b,30))&&!!a.pb.Em()}RG.prototype.Pi=function(){return this.Ad&&this.Ad.getData()};function VG(a){return a.Ad?(a=a.Pi(),new D(a.naturalWidth,a.naturalHeight)):new D(0,0)}function WG(a){return a.Ad&&a.Ad.Iq||null}function XG(a){return!a.pb.Xh()&&!a.pb.Em()}function YG(a){return a.hk&&a.hk.getData()}function ZG(a){return a.hk&&a.hk.Iq||null}
function $G(a,b){a.hk=b;A(a,b);var c=b.getData();a.sH=(new D(c.naturalWidth,c.naturalHeight)).clone();a.dispatchEvent("hb")};function aH(a){H.call(this);this.NE=this.sd=re(a.U().getWindow())}w(aH,H);aH.prototype.Pc=function(){return this.sd.clone()};aH.prototype.setSize=function(a,b,c){(!Cd(a,this.sd)||!Cd(b,this.NE))&&0<=a.height&&0<=a.width&&(this.sd=a,this.NE=b,this.dispatchEvent(new bH(c)))};function FC(){var a=ve(),b=Kd&&Md;n(a.devicePixelRatio)&&!b?a=a.devicePixelRatio:(a=ve(),a=n(a.devicePixelRatio)?a.devicePixelRatio:a.matchMedia?Ze(.75)||Ze(1.5)||Ze(2)||Ze(3)||1:1);return a}function cH(){return FC()||1}
function bH(a){G.call(this,"ib");this.cq=a}w(bH,G);function dH(){}dH.prototype.VW=null;dH.prototype.getOptions=function(){var a;(a=this.VW)||(a={},eH(this)&&(a[0]=!0,a[1]=!0),a=this.VW=a);return a};var fH;function gH(){}w(gH,dH);function hH(a){return(a=eH(a))?new ActiveXObject(a):new XMLHttpRequest}function eH(a){if(!a.K0&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.K0=d}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.K0}fH=new gH;function iH(a){H.call(this);this.headers=new qj;this.KJ=a||null;this.kb=!1;this.JJ=this.Ab=null;this.AP="";this.ap=0;this.Of="";this.Jr=this.FO=this.NF=this.dM=!1;this.gq=0;this.iJ=null;this.Fs="";this.VU=this.Yja=this.Xl=!1}w(iH,H);var jH=/^https?$/i,kH=["POST","PUT"];e=iH.prototype;e.KI=function(a){this.gq=Math.max(0,a)};
e.send=function(a,b,c,d){if(this.Ab)throw Error("[goog.net.XhrIo] Object is active with another request="+this.AP+"; newUri="+a);b=b?b.toUpperCase():"GET";this.AP=a;this.Of="";this.ap=0;this.dM=!1;this.kb=!0;this.Ab=this.KJ?hH(this.KJ):hH(fH);this.JJ=this.KJ?this.KJ.getOptions():fH.getOptions();this.Ab.onreadystatechange=t(this.k3,this);this.Yja&&"onprogress"in this.Ab&&(this.Ab.onprogress=t(function(a){this.i3(a,!0)},this),this.Ab.upload&&(this.Ab.upload.onprogress=t(this.i3,this)));try{this.FO=
!0,this.Ab.open(b,String(a),!0),this.FO=!1}catch(g){this.kg(5,g);return}a=c||"";var f=this.headers.clone();d&&vj(d,function(a,b){f.set(b,a)});d=qb(f.Zd(),lH);c=l.FormData&&a instanceof l.FormData;!tb(kH,b)||d||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.Ab.setRequestHeader(b,a)},this);this.Fs&&(this.Ab.responseType=this.Fs);"withCredentials"in this.Ab&&this.Ab.withCredentials!==this.Xl&&(this.Ab.withCredentials=this.Xl);try{mH(this),0<this.gq&&
((this.VU=nH(this.Ab))?(this.Ab.timeout=this.gq,this.Ab.ontimeout=t(this.Yf,this)):this.iJ=I(this.Yf,this.gq,this)),this.NF=!0,this.Ab.send(a),this.NF=!1}catch(g){this.kg(5,g)}};function nH(a){return E&&Yd(9)&&ia(a.timeout)&&n(a.ontimeout)}function lH(a){return"content-type"==a.toLowerCase()}e.Yf=function(){"undefined"!=typeof aa&&this.Ab&&(this.Of="Timed out after "+this.gq+"ms, aborting",this.ap=8,this.dispatchEvent("timeout"),this.abort(8))};
e.kg=function(a,b){this.kb=!1;this.Ab&&(this.Jr=!0,this.Ab.abort(),this.Jr=!1);this.Of=b;this.ap=a;oH(this);pH(this)};function oH(a){a.dM||(a.dM=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}e.abort=function(a){this.Ab&&this.kb&&(this.kb=!1,this.Jr=!0,this.Ab.abort(),this.Jr=!1,this.ap=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),pH(this))};e.ma=function(){this.Ab&&(this.kb&&(this.kb=!1,this.Jr=!0,this.Ab.abort(),this.Jr=!1),pH(this,!0));iH.R.ma.call(this)};
e.k3=function(){this.isDisposed()||(this.FO||this.NF||this.Jr?qH(this):this.zia())};e.zia=function(){qH(this)};function qH(a){if(a.kb&&"undefined"!=typeof aa&&(!a.JJ[1]||4!=rH(a)||2!=a.getStatus()))if(a.NF&&4==rH(a))I(a.k3,0,a);else if(a.dispatchEvent("readystatechange"),4==rH(a)){a.kb=!1;try{if(sH(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.ap=6;var b;try{b=2<rH(a)?a.Ab.statusText:""}catch(c){b=""}a.Of=b+" ["+a.getStatus()+"]";oH(a)}}finally{pH(a)}}}
e.i3=function(a,b){this.dispatchEvent(tH(a,"progress"));this.dispatchEvent(tH(a,b?"downloadprogress":"uploadprogress"))};function tH(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}}function pH(a,b){if(a.Ab){mH(a);var c=a.Ab,d=a.JJ[0]?p:null;a.Ab=null;a.JJ=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(f){}}}function mH(a){a.Ab&&a.VU&&(a.Ab.ontimeout=null);ia(a.iJ)&&(J(a.iJ),a.iJ=null)}e.uc=function(){return!!this.Ab};
function sH(a){var b=a.getStatus(),c;a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=Vh(String(a.AP))[1]||null,!a&&l.self&&l.self.location&&(a=l.self.location.protocol,a=a.substr(0,a.length-1)),b=!jH.test(a?a.toLowerCase():"");c=b}return c}function rH(a){return a.Ab?a.Ab.readyState:0}e.getStatus=function(){try{return 2<rH(this)?this.Ab.status:-1}catch(a){return-1}};
function uH(a){try{return a.Ab?a.Ab.responseText:""}catch(b){return""}}function vH(a){try{return a.Ab?a.Ab.responseXML:null}catch(b){return null}}function wH(a){try{if(!a.Ab)return null;if("response"in a.Ab)return a.Ab.response;switch(a.Fs){case "":case "text":return a.Ab.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ab)return a.Ab.mozResponseArrayBuffer}return null}catch(b){return null}}e.getResponseHeader=function(a){return this.Ab&&4==rH(this)?this.Ab.getResponseHeader(a):void 0};
e.TZ=function(){return r(this.Of)?this.Of:String(this.Of)};var xH=[E&&!Yd("11")?"readystatechange":"load","abort","error"];function yH(a){function b(d){if("readystatechange"!=d.type||"complete"==a.readyState)yg(a,xH,b),"error"!=d.type&&"abort"!=d.type&&0<a.naturalWidth?c.qb(new mj(a)):c.kc()}var c=new wh;qg(a,xH,b);return c};function zH(a,b){var c=b.createElement("IMG"),d=yH(c);c.src=a;return d}function AH(a,b,c,d){if(null==Wc()||E&&!Yd("10")||Ld&&!Yd("536"))return zH(a,b);a=BH(a,void 0,void 0,void 0,"blob",c);return Kh(a,function(a){var c=new wh,h=wH(a.Ga()),k=Uc(h);a=zH(k,b);Gh(a,function(a){a.Gw(h.type);a.WB(h.size);d?a.Iq=k:Vc().revokeObjectURL(k);c.qb(a)});Hh(a,function(){c.kc({zra:4})});return c})}
function BH(a,b,c,d,f,g){var h=new iH;h.Xl=n(g)?g:!0;n(f)&&(h.Fs=f);var k=new wh;h.listen("complete",function(a){a=a.target;a.ap?k.kc({statusCode:a.getStatus()}):k.qb(a)});h.send(a,b,c,d);return k}function CH(a,b){var c,d;b&&(c="POST",d="pw="+b,a=Sl(a));return Ih(BH(a,c,d),function(a){a.Ab?(a=a.Ab.responseText,0==a.indexOf(")]}'\n")&&(a=a.substring(5)),a=Ni(a)):a=void 0;return a})}function DH(a){return Kh(BH(a),function(a){return(a=vH(a.Ga()))?Dh(a):Eh()})};function EH(a,b){Os.call(this,a,b);this.item=a;this.Ec=this.av=null;var c=Ar(this.getContext());this.Rc.listen(this.item,"gb",this.uda).listen(c,"ib",this.tg)}w(EH,Os);var FH=[LF,MF,OF,nG,cG,ZF,bG,hG];e=EH.prototype;e.er=function(){this.Q1()};e.tg=function(){var a=this.item.getState();0!=a&&4!=a&&(3==a&&this.av.cancel(),J(this.Ec),this.Ec=I(this.Q1,400,this))};
e.Q1=function(){if(!this.item.kG){var a,b;if(UG(this.item))a=this.item.Xh();else{b=3==this.getContext().qa().vc()?Ar(this.getContext()).NE.clone():Ar(this.getContext()).Pc();b.scale(cH(Ar(this.getContext())));b=GH(b,TG);b=GH(b,this.item.sH);a=VG(this.item);if(b.width<a.width||b.height<a.height||Cd(b,a))return;b.floor();a=this.item.Xh(b.width,b.height)}this.av=Bh(HH(this,a),t(this.fia,this),void 0,void 0,XG(this.item)?2:void 0);Gh(this.av,t(this.gia,this,b),this);Hh(this.av,this.eia,this);this.wf(this.av)}};
function HH(a,b){var c=a.getContext().U(),d;d=a.getContext().qa();if(IH(a.item.getFeature()))d=!1;else{var f;f=a.item.Rb();xG();if(null==f)f=qG;else{var g=wG["mime-"+f];g||(f="mime-"+f.split(";",2)[0].toLowerCase().trim(),g=wG[f]);f=g||qG}if(d=null==L(d,63)?!1:L(d,63))d=window.location,d=!Wh(Vh(b)[3]||null)||vk(b,d.href)||Rk(b)?!0:!1;d=d&&!tb(FH,f)}return d?(d=!Rk(b)&&!(b&&ii(b,"sz")),qa(AH,b,c,d,!0)):qa(zH,b,c)}
function GH(a,b){return new D(Math.min(a.width,b.width),Math.min(a.height,b.height))}e.uda=function(){if(!this.item.hk){var a=this.getContext().U(),b=this.item.Em();this.item.Rd(2);a=Bh(qa(HH(this,b),b,a),t(this.uia,this),void 0,void 0,XG(this.item)?2:void 0);Gh(a,this.via,this);Hh(a,this.tia,this);this.wf(a)}};
e.gia=function(a,b){var c=b.getData();a&&c.naturalWidth<a.width&&c.naturalHeight<a.height&&(this.item.sH=(new D(c.naturalWidth,c.naturalHeight)).clone());var d=VG(this.item);c.naturalWidth<=d.width&&c.naturalHeight<=d.height?b.Iq&&(c=b.Iq,Vc().revokeObjectURL(c)):(this.item.lb(1),c=this.item,c.Ad=b,A(c,b),c.dispatchEvent("fb"),UG(this.item)&&$G(this.item,b))};e.fia=function(){this.item.Ad||this.item.lb(3,"There was a problem displaying this image.")};
e.eia=function(){this.item.Ad||this.av.hi()||this.item.lb(4,"There was a problem displaying this image.")};e.via=function(a){$G(this.item,a);this.item.Rd(1)};e.uia=function(){this.item.Rd(3)};e.tia=function(){this.item.Rd(4)};e.ma=function(){J(this.Ec);EH.R.ma.call(this)};function JH(a){function b(b){b=ji(a.toLowerCase(),b);null!=b&&b.match(/^\d+$/)}b("gpano:fullpanowidthpixels");b("gpano:fullpanoheightpixels");b("gpano:croppedareaimagewidthpixels");b("gpano:croppedareaimageheightpixels");b("gpano:croppedarealeftpixels");b("gpano:croppedareatoppixels")};function KH(a,b){this.x=a;this.y=b}w(KH,C);e=KH.prototype;e.clone=function(){return new KH(this.x,this.y)};function LH(a){return Math.sqrt(a.x*a.x+a.y*a.y)}e.scale=C.prototype.scale;e.normalize=function(){return this.scale(1/LH(this))};e.add=function(a){this.x+=a.x;this.y+=a.y;return this};e.rotate=function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function MH(a,b){this.Ba=a;this.tb=[];this.parse(b)}
MH.prototype.parse=function(a){if(n(this.Ba)){if(null===this.Ba)throw Error("Not parsing TileInfo XML as document_ is null.");var b=this.Ba.documentElement;this.Sl=NH(b,"tile_width");this.Rl=NH(b,"tile_height");this.origin=OH(b,"origin","TOP_LEFT");if(!(this.origin in PH))throw Error("Invalid image origin: "+this.origin);this.timestamp=NH(b,"timestamp");var c=b.childNodes,d=0;this.tb=[];for(var f=0;f<c.length;++f)He(c[f])&&this.tb.push(new QH(d++,c[f],this.Sl,this.Rl,this.origin));if(2>NH(b,"tiler_version_number")&&
n(a)&&a&&0<this.tb.length)for(a=this.tb[this.tb.length-1],b=RH(a),d=SH(a),f=0;f<c.length;++f){var g=Math.pow(2,c.length-f-1),h=Math.floor(b/g),g=Math.floor(d/g),k=b/h,m=d/g;k>m?g=SH(a)/k:h=RH(a)/m;this.tb[f].vp=Math.ceil(h/this.Sl);this.tb[f].Fy=this.tb[f].vp*this.Sl-h;this.tb[f].wp=Math.ceil(g/this.Rl);this.tb[f].Gy=this.tb[f].wp*this.Rl-g}this.Bm=this.tb.length}};
function OH(a,b,c){c=null!=c?c:"";if(null==a)return c;var d=c;null!=a.attributes&&null!=a.attributes.getNamedItem(b)?d=a.attributes.getNamedItem(b).value:null!=a.$k&&null!=a.$k("@"+b)&&(d=a.$k("@"+b).get());return null!=d?d:c}function NH(a,b){var c=OH(a,b,""),c=parseInt(c,10);return isNaN(c)?0:c}
function TH(a,b){if(2>a.tb.length)return 0;for(var c=0,d=1;d<a.tb.length;++d)if(RH(a.tb[d])>b.width||SH(a.tb[d])>b.height){c=d-1;break}var d=a.tb[c],f=a.tb[c+1];return wd(c+Math.min(Math.log(b.width/RH(d))/Math.log(RH(f)/RH(d)),Math.log(b.height/SH(d))/Math.log(SH(f)/SH(d))),0,a.tb.length-1)}
function UH(a,b){var c=wd(Math.ceil(b),0,a.tb.length-1),d=wd(Math.floor(b),0,a.tb.length-1),f=b-Math.floor(b);return new D(RH(a.tb[d])*Math.pow(RH(a.tb[c])/RH(a.tb[d]),f),SH(a.tb[d])*Math.pow(SH(a.tb[c])/SH(a.tb[d]),f))}function QH(a,b,c,d,f){this.bp=a;this.Sl=c;this.Rl=d;this.$=b;this.rotation=null;this.th=f;this.as=new KH(0,0);this.parse()}QH.prototype.H=function(){return this.$};
QH.prototype.Ke=function(a,b,c,d,f){this.vp=a;this.wp=b;this.Fy=c;this.Gy=d;b=a=this.th=f||this.th;this.as=new KH("TOP_LEFT"==a||"BOTTOM_LEFT"==a?0:-this.Fy,"TOP_LEFT"==b||"TOP_RIGHT"==b?0:-this.Gy)};QH.prototype.parse=function(){null!=this.$&&this.Ke(NH(this.$,"num_tiles_x"),NH(this.$,"num_tiles_y"),NH(this.$,"empty_pels_x"),NH(this.$,"empty_pels_y"))};function RH(a){return a.vp*a.Sl-a.Fy}function SH(a){return a.wp*a.Rl-a.Gy}
function VH(a,b,c){b instanceof C&&(c=b.y,b=b.x);return new C(Math.floor((b*RH(a)-a.as.x)/a.Sl),Math.floor((c*SH(a)-a.as.y)/a.Rl))}function WH(a,b,c){b instanceof C&&(c=b.y,b=b.x);return new C((b*a.Sl+a.as.x)/RH(a),(c*a.Rl+a.as.y)/SH(a))}var PH={BOTTOM_LEFT:"BOTTOM_LEFT",BOTTOM_RIGHT:"BOTTOM_RIGHT",TOP_LEFT:"TOP_LEFT",TOP_RIGHT:"TOP_RIGHT"};function XH(a){this.Vn=a}XH.prototype.Ym=function(a){return 0<a.Bm};XH.prototype.DD=function(){return!1};XH.prototype.Fv=function(){return!1};XH.prototype.Wy=function(){return this.Vn};function YH(a){this.Vn=Mk(a,"");this.url=a;this.RU={}}w(YH,XH);function ZH(a,b){a.RU[b]||(a.RU[b]=Mk(a.url,b));return a.RU[b]}e=YH.prototype;e.nz=function(){return ZH(this,"g")};e.Ko=function(a){return new MH(a,!0)};e.getTileUrl=function(a,b,c){return ZH(this,"x"+a+"-y"+b+"-z"+c)};e.Ho=function(a,b,c){return this.getTileUrl(a,b,c)};e.DD=function(a){return!a};function $H(a){this.Vn="";this.url=a}w($H,XH);e=$H.prototype;e.nz=function(){return this.url.nz()};e.Ko=function(a){return this.url.Ko(a)};e.getTileUrl=function(a,b,c){return this.url.getTileUrl(a,b,c)};e.Ho=function(a,b,c,d,f){return this.url.Ho(a,b,c,d,f)};e.Ym=function(a){return this.url.Ym(a)};e.DD=function(a){return this.url.DD(a)};e.Fv=function(a){return this.url.Fv(a)};e.Wy=function(){return this.url.Wy()};function aI(a){$H.call(this,a);this.UA=0}w(aI,$H);function bI(a,b){if(b&&b.tb&&b.tb.length){var c=b.tb[0],d=b.tb[b.tb.length-1],f=Math.max(RH(d),SH(d));a.UA=0;for(var g=2;g<=f;g*=2){var h=RH(c)/(RH(d)/g),k=SH(c)/(SH(d)/g);if(!(1>=h&&1>=k)){var m=new QH(0,null,c.Sl/h,c.Rl/k,b.origin);m.Ke(1,1,c.Fy/h,c.Gy/k);b.tb.unshift(m);a.UA+=1}}for(c=0;c<b.tb.length;++c)b.tb[c].bp=c;b.Bm=b.tb.length}}aI.prototype.Fv=function(a){return this.url.Fv(t(function(b){bI(this,b);a&&a(b)},this))};
aI.prototype.Ko=function(a){a=this.url.Ko(a);bI(this,a);return a};aI.prototype.getTileUrl=function(a,b,c){return this.url.getTileUrl(a,b,Math.max(0,c-this.UA))};aI.prototype.Ho=function(a,b,c,d,f){return this.url.Ho(a,b,Math.max(0,c-this.UA),d,f)};function cI(a,b,c,d,f,g){this.imageUrl=a;this.size=new D(b,c);this.s6=d||"";a=null;f&&g&&(a=new D(f,g));this.r6=a;this.c2=-1;this.zla=Math.min(512,f||b,g||c)}w(cI,XH);e=cI.prototype;e.nz=function(){return""};
e.Ko=function(){var a=new MH;a.Sl=this.size.width;a.Rl=this.size.height;a.Bm=Math.ceil(Math.log(Math.max(this.size.width+1,this.size.height+1)/this.zla)/Math.log(2))+1;a.origin="TOP_LEFT";for(var b=0;b<a.Bm;++b){var c=1/Math.pow(2,a.Bm-1-b),d=this.size.width*c,c=this.size.height*c;this.s6&&this.r6.height>=c&&this.r6.width>=d&&(this.c2=b);d=new QH(b,null,d,c,a.origin);d.vp=1;d.wp=1;d.Fy=0;d.Gy=0;a.tb.push(d)}return a};e.getTileUrl=function(a,b,c){return c<=this.c2?this.s6:this.imageUrl};
e.Ho=function(a,b,c){return this.getTileUrl(a,b,c)};e.Fv=function(a){null!=a&&a(this.Ko(null));return!0};function dI(){this.Df=-1};function eI(a,b,c){this.Df=-1;this.Ui=a;this.Df=c||a.Df||16;this.u1=Array(this.Df);this.pP=Array(this.Df);this.KO(b)}w(eI,dI);eI.prototype.KO=function(a){a.length>this.Df&&(this.Ui.update(a),a=this.Ui.digest(),this.Ui.reset());for(var b,c=0;c<this.Df;c++)b=c<a.length?a[c]:0,this.u1[c]=b^92,this.pP[c]=b^54;this.Ui.update(this.pP)};eI.prototype.reset=function(){this.Ui.reset();this.Ui.update(this.pP)};eI.prototype.update=function(a,b){this.Ui.update(a,b)};
eI.prototype.digest=function(){var a=this.Ui.digest();this.Ui.reset();this.Ui.update(this.u1);this.Ui.update(a);return this.Ui.digest()};function fI(){this.Df=-1;this.Df=64;this.Vd=[];this.EK=[];this.Q8=[];this.uH=[];this.uH[0]=128;for(var a=1;a<this.Df;++a)this.uH[a]=0;this.nJ=this.cv=0;this.reset()}w(fI,dI);fI.prototype.reset=function(){this.Vd[0]=1732584193;this.Vd[1]=4023233417;this.Vd[2]=2562383102;this.Vd[3]=271733878;this.Vd[4]=3285377520;this.nJ=this.cv=0};
function gI(a,b,c){c||(c=0);var d=a.Q8;if(r(b))for(var f=0;16>f;f++)d[f]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(f=0;16>f;f++)d[f]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(f=16;80>f;f++){var g=d[f-3]^d[f-8]^d[f-14]^d[f-16];d[f]=(g<<1|g>>>31)&4294967295}b=a.Vd[0];c=a.Vd[1];for(var h=a.Vd[2],k=a.Vd[3],m=a.Vd[4],q,f=0;80>f;f++)40>f?20>f?(g=k^c&(h^k),q=1518500249):(g=c^h^k,q=1859775393):60>f?(g=c&h|k&(c|h),q=2400959708):(g=c^h^k,q=3395469782),
g=(b<<5|b>>>27)+g+m+q+d[f]&4294967295,m=k,k=h,h=(c<<30|c>>>2)&4294967295,c=b,b=g;a.Vd[0]=a.Vd[0]+b&4294967295;a.Vd[1]=a.Vd[1]+c&4294967295;a.Vd[2]=a.Vd[2]+h&4294967295;a.Vd[3]=a.Vd[3]+k&4294967295;a.Vd[4]=a.Vd[4]+m&4294967295}
fI.prototype.update=function(a,b){if(null!=a){n(b)||(b=a.length);for(var c=b-this.Df,d=0,f=this.EK,g=this.cv;d<b;){if(0==g)for(;d<=c;)gI(this,a,d),d+=this.Df;if(r(a))for(;d<b;){if(f[g]=a.charCodeAt(d),++g,++d,g==this.Df){gI(this,f);g=0;break}}else for(;d<b;)if(f[g]=a[d],++g,++d,g==this.Df){gI(this,f);g=0;break}}this.cv=g;this.nJ+=b}};
fI.prototype.digest=function(){var a=[],b=8*this.nJ;56>this.cv?this.update(this.uH,56-this.cv):this.update(this.uH,this.Df-(this.cv-56));for(var c=this.Df-1;56<=c;c--)this.EK[c]=b&255,b/=256;gI(this,this.EK);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.Vd[c]>>d&255,++b;return a};function hI(a,b){this.Vn=a;this.rV="http://lh3.ggpht.com";this.FV=b||"nt0";this.tR={};this.U7="location";this.Q7="hostname"}w(hI,XH);hI.prototype.nz=function(){return this.Vn+"=g"};hI.prototype.Ko=function(a){return new MH(a,!0)};hI.prototype.getTileUrl=function(a,b,c){return this.Vn+"="+("x"+a+"-y"+b+"-z"+c)};
hI.prototype.Ho=function(a,b,c,d,f){var g=a+"-"+b+"-"+c;g in this.tR||(f=(new Zj(this.Vn)).getPath().substr(1)+"="+("x"+a+"-y"+b+"-z"+c)+"-"+this.FV+(Math.floor(d/86400)+"-d"+f[this.U7][this.Q7].split(".").slice(-3).join(".")),d=new eI(new fI,[123,43,78,35,222,44,197,197],64),f=Ji(f),d.reset(),d.update(f),d=d.digest(),d=Mi(d),d=d.substring(0,d.length-1),d=d.replace(/\+/g,"_").replace(/\//g,"_"),f=this.Vn,0==f.indexOf(this.rV)&&(f=f.replace(this.rV,iI[(a+b+1)%iI.length])),this.tR[g]=f+"="+("x"+a+"-y"+
b+"-z"+c)+"-"+this.FV+d);return this.tR[g]};var iI=["http://lh3.ggpht.com","http://lh4.ggpht.com","http://lh5.ggpht.com","http://lh6.ggpht.com"];function jI(a,b){var c=a.tb[a.tb.length-1];this.size=this.size=new D(RH(c),SH(c));this.maxZoomLevel=this.XP=a.Bm-1;this.minZoomLevel=this.YG=b}ba("MicroscopeImageMetadata",jI,void 0);ba("MicroscopeMaximizeMode",{zna:"fit",yna:"fill"},void 0);function kI(a){var b=a;"function"==typeof a.H&&(b=b.H());if(null==b)throw Error("Element must be set.");return b}function lI(a){var b=a.Qb,c=null;b.targetTouches&&0<b.targetTouches.length?c=b.targetTouches:b.changedTouches&&0<b.changedTouches.length&&(c=b.changedTouches);return c?(a=Pn(a.target),new C(c[0].pageX-a.x,c[0].pageY-a.y)):new C(a.offsetX,a.offsetY)};function mI(a){G.call(this,"drag_end");this.position=a}w(mI,G);function nI(a){G.call(this,"drag_hover");this.position=a}w(nI,G);function oI(a,b){G.call(this,"drag_move");this.position=a;this.fY=b}w(oI,G);function pI(a){G.call(this,"drag_start");this.position=a}w(pI,G);function qI(a,b){H.call(this);this.element=kI(a);this.Lv=!1;this.CP=this.BP=0;this.ha=new K(this);A(this,this.ha);this.WL=!1;this.yv=null;this.t9=!n(b)||b;this.kh()}w(qI,H);e=qI.prototype;e.kh=function(){this.ha.listen(this.element,["mousedown","touchstart"],this.gH);this.ha.listen(this.element,["mouseup","touchend"],this.FQ);this.ha.listen(this.element,["mousemove","touchmove"],this.ria);this.ha.listen(document,["mouseup","touchend"],this.FQ)};
e.gH=function(a){"touchstart"!=a.type&&a.preventDefault();if(rI(a))if(a.button&&!dg(a))this.Lv&&this.FQ(a);else{this.Lv=!0;var b=lI(a);this.BP=b.x;this.CP=b.y;this.dispatchEvent(new pI(lI(a)))}};e.FQ=function(a){a.currentTarget!=document&&"touchend"!=a.type&&a.preventDefault();this.Lv&&(this.Lv=!1,this.yv=null,this.dispatchEvent(new mI(lI(a))))};
e.ria=function(a){a.preventDefault();this.yv=a;this.WL||(this.dispatchEvent(new nI(lI(a))),rI(a)&&this.Lv&&(this.WL=!0,this.t9?setTimeout(t(this.Z3,this),1):this.Z3()))};function rI(a){a=a.Qb.targetTouches;return null!=a&&1<a.length?!1:!0}e.ka=function(){return this.ha};e.Z3=function(){this.WL=!1;if(this.Lv&&this.yv){var a=lI(this.yv),b=new KH(a.x-this.BP,a.y-this.CP);this.dispatchEvent(new oI(lI(this.yv),b));this.yv=null;this.BP=a.x;this.CP=a.y}};function sI(){H.call(this);this.Ng=new KH(0,0);this.RV=.2;this.tl=null;this.Me={};this.Me[40]=!1;this.Me[37]=!1;this.Me[39]=!1;this.Me[38]=!1;this.Laa=60;this.s2=1E3;this.R3=1500;this.sP=0;this.Ta=new gh(1/this.Laa*this.s2);A(this,this.Ta);this.ha=new K(this);A(this,this.ha);this.kh()}w(sI,H);e=sI.prototype;
e.VB=function(a,b){var c=b||document;if(!a||this.tl&&c!=this.tl)this.ha.ab(this.tl,"keydown",this.c3),this.ha.ab(this.tl,"keyup",this.e3);a?(this.tl=c,this.ha.listen(this.tl,"keydown",this.c3),this.ha.listen(this.tl,"keyup",this.e3)):(this.tl=null,this.Ta.stop())};e.stop=function(){this.Me[40]=!1;this.Me[37]=!1;this.Me[39]=!1;this.Me[38]=!1;this.Ta.stop();this.Ng=new KH(0,0)};e.kh=function(){this.ha.listen(this.Ta,"tick",this.IQ)};
e.IQ=function(){var a;if(!(a=0!=LH(this.Ng)))a:{for(var b in this.Me)if(this.Me[Number(b)]){a=!0;break a}a=!1}if(a){b=new KH((this.Me[37]?1:0)-(this.Me[39]?1:0),(this.Me[38]?1:0)-(this.Me[40]?1:0));0<LH(b)&&b.normalize();var c=u();a=(c-this.sP)/this.s2;this.sP=c;yd(b.x)!=yd(this.Ng.x)&&(this.Ng.x=0);0!=b.x&&(this.Ng.x+=b.x/this.RV*a);yd(b.y)!=yd(this.Ng.y)&&(this.Ng.y=0);0!=b.y&&(this.Ng.y+=b.y/this.RV*a);this.Ng.x=wd(this.Ng.x,-1,1);this.Ng.y=wd(this.Ng.y,-1,1);c=this.Ng.clone();1<LH(c)&&c.normalize();
b=new C(0,0);a=new KH(a*c.x*this.R3,a*c.y*this.R3);this.dispatchEvent(new pI(b));this.dispatchEvent(new oI(b,a));this.dispatchEvent(new mI(a))}else this.Ta.stop()};e.c3=function(a){this.tl&&a.keyCode in this.Me&&(this.Me[a.keyCode]=!0,this.Ta.enabled||(this.sP=u(),this.Ta.start()))};e.e3=function(a){this.tl&&a.keyCode in this.Me&&(this.Me[a.keyCode]=!1)};function tI(a,b,c){G.call(this,"zoom");this.i9=a;this.kV=n(c)?c:null;this.Ema=n(b)?b:null}w(tI,G);function uI(a,b){H.call(this);var c=kI(a);if(null==c)throw Error("Glass element not found.");this.Qc=c;this.Hja=1/(.25*(b||Math.max(window.innerWidth,window.innerHeight)));this.oR=0;this.hU=new KH(0,0);this.ha=new K(this);A(this,this.ha);this.kh()}w(uI,H);uI.prototype.kh=function(){Zf&&this.ha.listen(this.Qc,["touchstart","touchmove"],this.KQ)};
uI.prototype.KQ=function(a){var b=a.Qb.touches;if(2==b.length){var c,d=b[0],f=b[1];c=d.clientX-f.clientX;d=d.clientY-f.clientY;c=Math.sqrt(c*c+d*d);"touchstart"==a.type?(a=b[0],b=b[1],this.hU.x=(a.pageX+b.pageX)/2-this.Qc.offsetParent.offsetLeft,this.hU.y=(a.pageY+b.pageY)/2-this.Qc.offsetParent.offsetTop,this.oR=c):"touchmove"==a.type&&(b=(c-this.oR)*this.Hja,this.oR=c,this.dispatchEvent(new tI(b,4,this.hU)))}};function vI(a){G.call(this,"throw");this.XU=a}w(vI,G);function wI(a){H.call(this);this.ha=new K(this);A(this,this.ha);this.ha.listen(a,"drag_start",this.Uha);this.ha.listen(a,"drag_end",this.Sha);this.ha.listen(a,"drag_move",this.Tha);this.o6=50;this.kha=10;this.n6=1E3;this.xP=this.Pr=0;this.sA=new KH(0,0);this.Sk=new KH(0,0)}w(wI,H);wI.prototype.Uha=function(a){this.Pr=u();this.sA=new KH(a.position.x,a.position.y);300<this.Pr-this.xP&&this.dispatchEvent(new vI(null));this.xP=this.Pr};
wI.prototype.Sha=function(){if(u()-this.Pr<4*this.o6){this.Sk.scale(.2);var a=LH(this.Sk);a>this.n6&&this.Sk.scale(this.n6/a);LH(this.Sk)>=this.kha&&this.dispatchEvent(new vI(this.Sk))}this.Pr=0;this.sA=new KH(0,0);this.Sk=new KH(0,0)};wI.prototype.Tha=function(a){var b=u(),c=b-this.Pr;if(!(c<this.o6)){this.xP=0;this.Sk.x=a.position.x;this.Sk.y=a.position.y;var d=this.Sk,f=this.sA;d.x-=f.x;d.y-=f.y;this.Sk.scale(1E3/c);this.Pr=b;this.sA.x=a.position.x;this.sA.y=a.position.y}};function xI(a){G.call(this,"double_tap");this.position=a}w(xI,G);function yI(a){H.call(this);this.Qc=kI(a);this.D1=0;this.BC=!1;this.ha=new K(this);A(this,this.ha);this.kh()}w(yI,H);yI.prototype.kh=function(){Zf&&this.ha.listen(this.Qc,["touchstart","touchmove","touchend"],this.KQ)};
yI.prototype.KQ=function(a){if(1==a.Qb.changedTouches.length&&this.Qc.offsetParent){var b=a.Qb.changedTouches[0];"touchend"==a.type?(a=new C(b.pageX-this.Qc.offsetParent.offsetLeft,b.pageY-this.Qc.offsetParent.offsetTop),b=u(),300>=b-this.D1&&this.BC&&this.dispatchEvent(new xI(a)),this.BC&&(this.D1=b,this.BC=!1)):"touchstart"==a.type?this.BC=!0:"touchmove"==a.type&&(this.BC=!1)}};function zI(a){H.call(this);this.Lja=43;this.xha=61;this.mha=45;this.qla=95;this.ha=new K(this);A(this,this.ha);this.Qc=kI(a);this.Bg=new po(this.Qc);A(this,this.Bg);this.rY=new yI(this.Qc);A(this,this.rY);this.Gc=new up;A(this,this.Gc);this.L4=!0;this.B1=0;this.Gga=.5;this.hha=100;this.kh()}w(zI,H);e=zI.prototype;e.VB=function(a,b){a?this.Gc.Gq(b||document):this.Gc.detach()};e.pS=function(a){this.L4=a};
e.kh=function(){this.ha.listen(this.rY,"double_tap",this.Pha);this.ha.listen(this.Qc,"dblclick",this.W2);this.ha.listen(this.Bg,"mousewheel",this.sia);this.ha.listen(this.Gc,"key",this.jia)};e.Pha=function(a){this.W2({offsetX:a.position.x,offsetY:a.position.y})};e.W2=function(a){this.dispatchEvent(new tI(1,2,new KH(a.offsetX,a.offsetY)))};
e.sia=function(a){if(this.L4){var b=u();if(Math.abs(a.deltaY)>=Math.abs(a.deltaX)&&b-this.B1>=this.hha){a.preventDefault();var c=new KH(a.offsetX,a.offsetY);a=-yd(a.deltaY)*this.Gga;this.dispatchEvent(new tI(a,1,c));this.B1=b}}};e.jia=function(a){switch(a.charCode){case this.Lja:case this.xha:this.dispatchEvent(new tI(1,3,void 0));break;case this.mha:case this.qla:this.dispatchEvent(new tI(-1,3,void 0))}};function AI(a,b,c,d){H.call(this);for(var f=0;f<b.length;++f)b[f].Fg(this);for(f=0;f<a.length;++f)a[f].Fg(this),A(this,a[f]);this.LJ=c;this.I3=d}w(AI,H);AI.prototype.pS=function(a){this.LJ&&this.LJ.pS(a)};AI.prototype.VB=function(a,b){this.LJ&&this.LJ.VB(a,b);this.I3&&this.I3.VB(a,b)};AI.prototype.listen=function(a,b,c,d){return AI.R.listen.call(this,a,b,!0,d)};function BI(a){this.Qc=kI(a);this.m7=this.l7=this.k7=this.j7=this.gV=!1;this.EY=[]}BI.prototype.add=function(a){this.EY.push(a);return this};
BI.prototype.Hd=function(){var a=[],b=null;this.m7&&(b=new zI(this.Qc),a.push(b));var c=null;this.j7&&(c=new sI,a.push(c));this.k7&&a.push(new uI(this.Qc));if(this.gV){var d=new qI(this.Qc);a.push(d);this.l7&&(d=new wI(d),a.push(d))}return new AI(a,this.EY,b,c)};function CI(a){G.call(this,"resize");this.size=a}w(CI,G);function DI(a){H.call(this);this.jx=kI(a);this.lk=EI(this);this.ha=new K(this);A(this,this.ha);this.ha.listen(window,"resize",this.iH)}w(DI,H);
function EI(a){var b;var c=a.jx;if("none"!=En(c,"display"))b=new D(c.clientWidth,c.clientHeight);else{b=c.style;var d=b.display,f=b.visibility,g=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";c=new D(c.clientWidth,c.clientHeight);b.display=d;b.position=g;b.visibility=f;b=c}return 0==b.width||0==b.height?a.lk||new D(0,0):b.clone()}DI.prototype.trigger=function(){this.iH(null)};DI.prototype.iH=function(){var a=EI(this);Cd(this.lk,a)&&0!=a.width&&0!=a.height||(this.lk=a,this.dispatchEvent(new CI(a)))};function FI(){this.Nj=[];this.Kk=[]}e=FI.prototype;e.enqueue=function(a){this.Kk.push(a)};e.lo=function(){0==this.Nj.length&&(this.Nj=this.Kk,this.Nj.reverse(),this.Kk=[]);return this.Nj.pop()};e.Nb=function(){return this.Nj.length+this.Kk.length};e.isEmpty=function(){return 0==this.Nj.length&&0==this.Kk.length};e.clear=function(){this.Nj=[];this.Kk=[]};e.contains=function(a){return tb(this.Nj,a)||tb(this.Kk,a)};
e.remove=function(a){var b;b=this.Nj;var c=jb(b,a);0<=c?(xb(b,c),b=!0):b=!1;return b||wb(this.Kk,a)};e.wc=function(){for(var a=[],b=this.Nj.length-1;0<=b;--b)a.push(this.Nj[b]);for(var c=this.Kk.length,b=0;b<c;++b)a.push(this.Kk[b]);return a};function GI(){z.call(this)}w(GI,z);GI.prototype.cancel=function(){return!1};function HI(a,b){z.call(this);this.yl=a;this.cha=b;this.bx=0;this.Py=new FI;this.re={};this.ha=new K(this);A(this,this.ha)}w(HI,z);e=HI.prototype;e.clearAll=function(){this.ha.removeAll();II(this,!0);for(var a in this.re)this.re[a].dispose();this.re={};this.bx=0;this.Py=new FI};
e.load=function(a,b,c){var d=null;a in this.re?(d=this.re[a],d.vn+=1,1==d.vn&&this.Py.remove(d)):(d=this.Oq(a,void 0,b),II(this,!1));n(c)&&(d.xg()?c(d):this.ha.listen(d,"resource_loaded",function(a){c(a.Jka)}));return d};e.Oq=function(a,b,c){var d=this.re[a];if(this.xg(a)&&d)return d.vn+=1,d;c=n(c)?c:1;d=new JI(a,c,t(this.uka,this));this.re[a]=d;this.bx+=c;n(b)?this.xp(a,b):this.yl.load(a,t(this.xp,this));d.vn+=1;return d};e.put=function(a,b,c){return this.Oq(a,b,c)};
e.xp=function(a,b){a in this.re&&this.re[a].xp(b)};e.xg=function(a){return a in this.re&&this.re[a].xg()};e.clear=function(){II(this,!0)};e.uka=function(a){this.Py.enqueue(a);II(this,!1)};function II(a,b){for(;(b||a.bx>a.cha)&&!a.Py.isEmpty();){var c=a.Py.lo();delete a.re[c.key];c.xg()||a.yl.cancel(c.key);a.bx-=c.h$;c.dispose()}}e.ma=function(){this.clearAll();HI.R.ma.call(this)};function JI(a,b,c){H.call(this);this.key=a;this.h$=b;this.data=null;this.vn=0;this.tka=c}w(JI,H);
JI.prototype.release=function(){--this.vn;0==this.vn&&this.tka(this)};JI.prototype.xp=function(a){this.data=a;this.dispatchEvent(new KI(this))};JI.prototype.xg=function(){return null!=this.data};function KI(a){G.call(this,"resource_loaded");this.Jka=a}w(KI,G);function LI(a){this.Wj=a;this.mh=this.Wj.length/4;this.WA=this.mh+6;this.va=[[],[],[],[]];this.AU=[[],[],[],[]];this.Ag=Array(MI*(this.WA+1));for(a=0;a<this.mh;a++)this.Ag[a]=[this.Wj[4*a],this.Wj[4*a+1],this.Wj[4*a+2],this.Wj[4*a+3]];var b=Array(4);for(a=this.mh;a<MI*(this.WA+1);a++){b[0]=this.Ag[a-1][0];b[1]=this.Ag[a-1][1];b[2]=this.Ag[a-1][2];b[3]=this.Ag[a-1][3];if(0==a%this.mh){var c=b,d=c[0];c[0]=c[1];c[1]=c[2];c[2]=c[3];c[3]=d;NI(b);b[0]^=OI[a/this.mh][0];b[1]^=OI[a/this.mh][1];b[2]^=OI[a/
this.mh][2];b[3]^=OI[a/this.mh][3]}else 6<this.mh&&4==a%this.mh&&NI(b);this.Ag[a]=Array(4);this.Ag[a][0]=this.Ag[a-this.mh][0]^b[0];this.Ag[a][1]=this.Ag[a-this.mh][1]^b[1];this.Ag[a][2]=this.Ag[a-this.mh][2]^b[2];this.Ag[a][3]=this.Ag[a-this.mh][3]^b[3]}}LI.prototype.PJ=16;var MI=LI.prototype.PJ/4;
LI.prototype.decrypt=function(a){for(var b,c=0;c<MI;c++)for(var d=0;4>d;d++)b=4*d+c,b=a[b],this.va[c][d]=b;PI(this,this.WA);for(a=1;a<this.WA;++a)for(QI(this),RI(this),PI(this,this.WA-a),c=this.va,d=this.AU[0],b=0;4>b;b++)d[0]=c[0][b],d[1]=c[1][b],d[2]=c[2][b],d[3]=c[3][b],c[0][b]=SI[d[0]]^TI[d[1]]^UI[d[2]]^VI[d[3]],c[1][b]=VI[d[0]]^SI[d[1]]^TI[d[2]]^UI[d[3]],c[2][b]=UI[d[0]]^VI[d[1]]^SI[d[2]]^TI[d[3]],c[3][b]=TI[d[0]]^UI[d[1]]^VI[d[2]]^SI[d[3]];QI(this);RI(this);PI(this,0);a=[];for(c=0;c<MI;c++)for(d=
0;4>d;d++)a[4*d+c]=this.va[c][d];return a};function PI(a,b){for(var c=0;4>c;c++)for(var d=0;4>d;d++)a.va[c][d]^=a.Ag[4*b+d][c]}function RI(a){for(var b=WI,c=0;4>c;c++)for(var d=0;4>d;d++)a.va[c][d]=b[a.va[c][d]]}function QI(a){for(var b=1;4>b;b++)for(var c=0;4>c;c++)a.AU[b][(c+b)%MI]=a.va[b][c];for(b=1;4>b;b++)for(c=0;4>c;c++)a.va[b][c]=a.AU[b][c]}function NI(a){a[0]=XI[a[0]];a[1]=XI[a[1]];a[2]=XI[a[2]];a[3]=XI[a[3]]}
var XI=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,
61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],WI=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,
255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,
26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],OI=[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]],VI=[0,9,18,27,36,45,54,63,72,65,90,83,108,101,
126,119,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,59,50,41,32,31,22,13,4,115,122,97,104,87,94,69,76,171,162,185,176,143,134,157,148,227,234,241,248,199,206,213,220,118,127,100,109,82,91,64,73,62,55,44,37,26,19,8,1,230,239,244,253,194,203,208,217,174,167,188,181,138,131,152,145,77,68,95,86,105,96,123,114,5,12,23,30,33,40,51,58,221,212,207,198,249,240,235,226,149,156,135,142,177,184,163,170,236,229,254,247,200,193,218,211,164,173,182,191,128,137,146,155,124,117,110,103,88,81,74,
67,52,61,38,47,16,25,2,11,215,222,197,204,243,250,225,232,159,150,141,132,187,178,169,160,71,78,85,92,99,106,113,120,15,6,29,20,43,34,57,48,154,147,136,129,190,183,172,165,210,219,192,201,246,255,228,237,10,3,24,17,46,39,60,53,66,75,80,89,102,111,116,125,161,168,179,186,133,140,151,158,233,224,251,242,205,196,223,214,49,56,35,42,21,28,7,14,121,112,107,98,93,84,79,70],TI=[0,11,22,29,44,39,58,49,88,83,78,69,116,127,98,105,176,187,166,173,156,151,138,129,232,227,254,245,196,207,210,217,123,112,109,102,
87,92,65,74,35,40,53,62,15,4,25,18,203,192,221,214,231,236,241,250,147,152,133,142,191,180,169,162,246,253,224,235,218,209,204,199,174,165,184,179,130,137,148,159,70,77,80,91,106,97,124,119,30,21,8,3,50,57,36,47,141,134,155,144,161,170,183,188,213,222,195,200,249,242,239,228,61,54,43,32,17,26,7,12,101,110,115,120,73,66,95,84,247,252,225,234,219,208,205,198,175,164,185,178,131,136,149,158,71,76,81,90,107,96,125,118,31,20,9,2,51,56,37,46,140,135,154,145,160,171,182,189,212,223,194,201,248,243,238,229,
60,55,42,33,16,27,6,13,100,111,114,121,72,67,94,85,1,10,23,28,45,38,59,48,89,82,79,68,117,126,99,104,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,122,113,108,103,86,93,64,75,34,41,52,63,14,5,24,19,202,193,220,215,230,237,240,251,146,153,132,143,190,181,168,163],UI=[0,13,26,23,52,57,46,35,104,101,114,127,92,81,70,75,208,221,202,199,228,233,254,243,184,181,162,175,140,129,150,155,187,182,161,172,143,130,149,152,211,222,201,196,231,234,253,240,107,102,113,124,95,82,69,72,3,14,25,20,
55,58,45,32,109,96,119,122,89,84,67,78,5,8,31,18,49,60,43,38,189,176,167,170,137,132,147,158,213,216,207,194,225,236,251,246,214,219,204,193,226,239,248,245,190,179,164,169,138,135,144,157,6,11,28,17,50,63,40,37,110,99,116,121,90,87,64,77,218,215,192,205,238,227,244,249,178,191,168,165,134,139,156,145,10,7,16,29,62,51,36,41,98,111,120,117,86,91,76,65,97,108,123,118,85,88,79,66,9,4,19,30,61,48,39,42,177,188,171,166,133,136,159,146,217,212,195,206,237,224,247,250,183,186,173,160,131,142,153,148,223,
210,197,200,235,230,241,252,103,106,125,112,83,94,73,68,15,2,21,24,59,54,33,44,12,1,22,27,56,53,34,47,100,105,126,115,80,93,74,71,220,209,198,203,232,229,242,255,180,185,174,163,128,141,154,151],SI=[0,14,28,18,56,54,36,42,112,126,108,98,72,70,84,90,224,238,252,242,216,214,196,202,144,158,140,130,168,166,180,186,219,213,199,201,227,237,255,241,171,165,183,185,147,157,143,129,59,53,39,41,3,13,31,17,75,69,87,89,115,125,111,97,173,163,177,191,149,155,137,135,221,211,193,207,229,235,249,247,77,67,81,95,
117,123,105,103,61,51,33,47,5,11,25,23,118,120,106,100,78,64,82,92,6,8,26,20,62,48,34,44,150,152,138,132,174,160,178,188,230,232,250,244,222,208,194,204,65,79,93,83,121,119,101,107,49,63,45,35,9,7,21,27,161,175,189,179,153,151,133,139,209,223,205,195,233,231,245,251,154,148,134,136,162,172,190,176,234,228,246,248,210,220,206,192,122,116,102,104,66,76,94,80,10,4,22,24,50,60,46,32,236,226,240,254,212,218,200,198,156,146,128,142,164,170,184,182,12,2,16,30,52,58,40,38,124,114,96,110,68,74,88,86,55,57,
43,37,15,1,19,29,71,73,91,85,127,113,99,109,215,217,203,197,239,225,243,253,167,169,187,181,159,145,131,141];function YI(a){this.QK=a}YI.prototype.decrypt=function(a,b){for(var c=[],d=0,f=b;d<a.length;){for(var g=Cb(a,d,d+this.QK.PJ),h=this.QK.decrypt(g),k=[],m=0;m<f.length;m++)k.push(f[m]^h[m]);Ab(c,k);f=g;d+=this.QK.PJ}return c};function ZI(){this.w7=this.e8=this.X7=4;this.S7=[7,49,57,70,73,113,231,4,5,53,58,119,139,250,111,188,48,50,27,149,146,18,19,23,49,80,23];var a=[40,55,67,80,83,91,99,219,17,59,122,243,224,177,67,85,86,200,249,83,12,4,50,72,73,85,39],a=new LI(null==a?[]:a.slice(5,21));this.E7=new YI(a)}function $I(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)}function aJ(a){return"undefined"!=typeof Uint8Array&&a instanceof Uint8Array};function bJ(a,b){this.tc=a;this.Ad=b||null}bJ.prototype.getTileUrl=function(){return this.tc};var cJ=null;function dJ(a){z.call(this);this.r$=new ZI;this.bma="undefined"!=typeof Uint8Array;this.E9=null!=Wc();this.Lga=t(a?this.bma?this.Oga:E?this.Rga:this.Qga:this.Pga,this);this.Kga=E&&!Yd("11")?"readystatechange":"load";this.A9="data:image/jpeg;base64,";this.du=new FI;this.ly=!0;this.ha=new K(this);A(this,this.ha)}w(dJ,GI);e=dJ.prototype;
e.load=function(a,b){this.Lga(a,function(c){setTimeout(function(){b(a,new bJ(c))},1)})};function eJ(a,b){a.ly&&a.du.isEmpty()&&fJ(a);a.du.enqueue(b)}function fJ(a){setTimeout(t(function(){this.ly&&!this.du.isEmpty()&&(this.du.lo()(),this.du.isEmpty()||fJ(this))},a),0)}
e.Pga=function(a,b,c){var d=new Image;n(c)&&c&&(d.crossOrigin="anonymous");this.ha.listen(d,this.Kga,function(c){("readystatechange"==c.type&&"complete"==d.readyState||"load"==c.type||d.complete)&&setTimeout(function(){b(a)},1)});d.src=a};e.Oga=function(a,b){var c=new XMLHttpRequest;c.open("GET",a,!0);c.responseType="arraybuffer";this.ha.listen(c,"load",function(){200==c.status&&eJ(this,t(function(){var a=new Uint8Array(c.response);gJ(this,a,b)},this))});c.send()};
e.Qga=function(a,b){var c=new XMLHttpRequest;c.open("GET",a,!0);c.overrideMimeType("text/plain; charset=x-user-defined");this.ha.listen(c,"readystatechange",function(){4==c.readyState&&200==c.status&&eJ(this,t(function(){for(var a=[],f=0,g=c.responseText.length;f<g;++f)a.push(c.responseText.charCodeAt(f)&255);gJ(this,a,b)},this))});c.send()};
function gJ(a,b,c){var d=a.r$,f=b;if(10==f[0]&&10==f[1]&&10==f[2]&&10==f[3]){b=$I(f,f.length-4);var g=d.X7,h=f.length-d.e8,f=aJ(f)?f.subarray(g,h):f.slice(g,h),g=$I(f,b);h=d.w7;if(aJ(f)){var k=new Uint8Array(f.length-h);k.set(f.subarray(0,b));k.set(f.subarray(b+h),b);f=k}else f.splice(b,h);g=b+g;g=aJ(f)?f.subarray(b,g):f.slice(b,g);try{var m=d.E7.decrypt(g,d.S7.slice(5,21))}catch(q){throw Error("Error while decrypting file: "+q.toString());}for(d=0;d<m.length;++d)f[d+b]=m[d]}b=f;a.E9?c(Uc(new Blob([b],
{type:"image/jpg"}))):(a=a.A9+Mi(b),c(a))}e.Rga=function(a){(new XDomainRequest).open("GET",a);eJ(this,function(){throw Error("Not implemented yet.");})};function hJ(){if(!E)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}var iJ=E&&hJ();function jJ(a,b){return kJ(a,function(a){b(a)})}
function kJ(a,b){var c=window.XDomainRequest;if(c){var d=new c;d.open("GET",a);d.onload=function(){var a;a=d.responseText;if("undefined"!=typeof DOMParser)a=(new DOMParser).parseFromString(a,"application/xml");else if(iJ){var c=new ActiveXObject("MSXML2.DOMDocument");c.resolveExternals=!1;c.validateOnParse=!1;try{c.setProperty("ProhibitDTD",!0),c.setProperty("MaxXMLSize",2048),c.setProperty("MaxElementDepth",256)}catch(h){}c.loadXML(a);a=c}else throw Error("Your browser does not support loading xml documents");b(a)};
d.onerror=function(){b(null)};d.onprogress=p;d.send();c=new z;qc(c,function(){d.onload=p;d.onerror=p;d.abort()});return c}d=new iH;qg(d,"complete",function(){b(vH(this))});d.send(a);return d};function lJ(a,b,c,d,f){z.call(this);this.OR=2E3;this.bha=5;this.C2=0;this.oy=new No(this.load,0,this);A(this,this.oy);this.tc=a;this.Id=b;this.AY=c||p;this.lI=d||p;this.ha=f||null}w(lJ,z);lJ.prototype.load=function(){if(!this.tc.Fv(t(this.Id,this.ha))){var a=jJ(this.tc.nz(),t(this.lia,this));A(this,a)}};
lJ.prototype.lia=function(a){var b=null;if(a)try{b=this.tc.Ko(a)}catch(c){}(a=b)&&this.tc.Ym(a)?this.Id.call(this.ha,a):this.tc.DD(a)?(++this.C2,this.C2<this.bha?(this.lI.call(this.ha),this.oy.start(this.OR),this.OR*=2):this.AY.call(this.ha)):this.AY.call(this.ha)};function mJ(a,b,c){G.call(this,"level_change");this.level=a;this.l9=b;this.kV=n(c)?c:null}w(mJ,G);function nJ(a,b,c,d,f){G.call(this,"viewport_update");this.left=a;this.top=b;this.right=c;this.bottom=d;this.rga=f}w(nJ,G);function oJ(a){G.call(this,"view_move");this.position=a}w(oJ,G);ba("MicroscopeZoomWidgetMode",{VISIBLE:0,ppa:1,cqa:2,HIDDEN:3},void 0);function pJ(a){Cp.call(this);this.Pa=document.createElement("div");W(this.Pa,"m2-glassLayer");null!=a&&this.ka().listen(a,"resize",this.iH)}w(pJ,Cp);pJ.prototype.ra=function(){this.dc(this.Pa)};pJ.prototype.iH=function(a){Wn(this.Pa,a.size.width,a.size.height)};pJ.prototype.m5=function(a){Bn(this.Pa,"cursor",a?"move":"auto")};function qJ(a,b,c,d){H.call(this);this.y=this.x=0;this.visible=!1;this.size=new D(0,0);this.url=a;this.Sla=b;this.wl=c;this.Rla=d;this.NY=!0}w(qJ,H);qJ.prototype.setVisible=function(a){(this.visible=a)||rJ(this,[])};qJ.prototype.Ca=function(){return this.visible};function sJ(a,b){Cd(b,a.size)||(a.size=b,a.resize(a.size))};function tJ(a,b){G.call(this,"tile_loaded");this.level=a;this.by=b}w(tJ,G);function uJ(a,b,c,d){z.call(this);this.root=c;this.Je=d;this.LX=new C(a,b)}w(uJ,z);var vJ={90:"m2-tileRotation90",180:"m2-tileRotation180",270:"m2-tileRotation270"};uJ.prototype.setVisible=function(a){if(a!=!(!this.Je||!this.Je.parentNode))if(a)this.W0(),this.root.appendChild(this.Je);else try{this.hg(),this.root.removeChild(this.Je)}catch(b){}};
uJ.prototype.IC=function(a,b,c,d){var f=vJ[c];d&&!f?this.Je.style.webkitTransform="translate3d("+a.x+"px, "+a.y+"px, 0)":(rn(this.Je,f,!!f),this.Je.style.left=a.x+"px",this.Je.style.top=a.y+"px");90==c||270==c?Wn(this.Je,b.height,b.width):Wn(this.Je,b.width,b.height)};function wJ(a,b,c,d,f,g,h){var k=g.xg(a)?g.re[a].data:null,m;if(m=k)null==cJ&&(m=document.createElement("canvas"),cJ=!(!m||!m.getContext)),cJ&&k.Ad?(m=document.createElement("canvas"),m.width=k.Ad.naturalWidth,m.height=k.Ad.naturalHeight,m.getContext("2d").drawImage(k.Ad,0,0)):m=null;return(k=m)?new xJ(b,c,f,k,h):new yJ(a,b,c,d,f,g,h)}function zJ(a,b,c,d,f,g){uJ.call(this,a,b,d,f);on(f,["hidden","m2-tileLayerImg"]);this.PY=c;this.OP=null!=g?g:null;this.Qx=null}w(zJ,uJ);
zJ.prototype.hg=function(){null!=this.Qx&&(clearTimeout(this.Qx),this.Qx=null)};function AJ(a){a.PY||W(a.Je,"m2-noTransition");a.Ow(!0);if(null!=a.OP){var b=a.PY?500:0;a.Qx=setTimeout(t(a.ama,a,a.OP),b);a.OP=null}}zJ.prototype.ama=function(a){a();this.Qx=null};zJ.prototype.Ow=function(a){rn(this.Je,"hidden",!a)};zJ.prototype.ma=function(){this.hg();zJ.R.ma.call(this)};
function yJ(a,b,c,d,f,g,h){zJ.call(this,b,c,d&&!g.xg(a),f,document.createElement("img"),h);this.tc=a;this.re=g;this.xc=null;this.O1=E&&!Yd("11")?"readystatechange":"load";this.Fa=new K(this);A(this,this.Fa)}w(yJ,zJ);yJ.prototype.W0=function(){this.Ow(!1);this.xc=this.re.load(this.tc,1);this.xc.xg()?this.q4():this.Fa.Fb(this.xc,"resource_loaded",this.q4)};yJ.prototype.hg=function(){this.Je.removeAttribute("src");this.Fa.removeAll();this.xc&&(this.xc.release(),this.xc=null);yJ.R.hg.call(this)};
yJ.prototype.q4=function(){this.Fa.listen(this.Je,this.O1,this.g3);this.Je.src=this.xc.data.getTileUrl()};yJ.prototype.g3=function(){if(this.Je.complete||"complete"==this.Je.readyState)this.Fa.ab(this.Je,this.O1,this.g3),AJ(this)};function xJ(a,b,c,d,f){zJ.call(this,a,b,!1,c,d,f)}w(xJ,zJ);xJ.prototype.W0=function(){AJ(this)};function BJ(a,b,c,d,f,g){qJ.call(this,b,c,d,f);this.Pa=document.createElement("div");this.Pa.style.direction="ltr";Bn(this.Pa,"zIndex",Math.floor(Math.log(RH(d))/Math.log(2)*10));this.Kh=[];this.gx=g;W(this.Pa,"m2-tileLayer");a.appendChild(this.Pa)}w(BJ,qJ);BJ.prototype.remove=function(){rJ(this,[]);this.visible=!1;this.Pa.parentNode.removeChild(this.Pa)};BJ.prototype.setPosition=function(a,b){this.x=a;this.y=b};
function rJ(a,b){for(var c={},d=0;d<a.Kh.length;++d){var f=a.Kh[d],g=f.LX;c["("+g.x+", "+g.y+")"]=f}a.Kh=[];for(d=0;d<b.length;++d){var g=new KH(b[d].x,b[d].y),h="("+g.x+", "+g.y+")",f=c[h];if(null!=f)delete c[h];else{f=CJ(a,g.x,g.y);A(a,f);if(null==f)continue;f.setVisible(!0)}a.N6(f);a.Kh.push(f)}for(var k in c)c[k].setVisible(!1)}
BJ.prototype.N6=function(a){var b=new KH(this.size.width/RH(this.wl),this.size.height/SH(this.wl)),c=this.wl.Sl*b.x,d=this.wl.Rl*b.y,f=a.LX,g=f.x*c+this.wl.as.x*b.x-(Math.round(this.x)-this.x),b=f.y*d+this.wl.as.y*b.y-(Math.round(this.y)-this.y),f=Math.round(g),h=Math.round(b);a.IC(new KH(f,h),new D(Math.round(g+c)-f,Math.round(b+d)-h),this.wl.rotation||0,this.gx)};BJ.prototype.resize=function(a){Wn(this.Pa,a.width,a.height);y(this.Kh,this.N6,this)};
function CJ(a,b,c){var d=a.url.Ho(b,c,a.wl.bp,a.Sla.timestamp,window),f=t(function(){this.dispatchEvent(new tJ(this.wl.bp,new C(b,c)))},a);return wJ(d,b,c,0<a.wl.bp&&a.NY,a.Pa,a.Rla,f)};function DJ(a,b,c){this.Pa=a;this.Pa.style.overflow="hidden";this.Cy=document.createElement("div");this.Cy.style.direction="ltr";this.tC=[];this.Rr=this.Mc=null;this.Ql=b;this.gx=c}w(DJ,z);function EJ(a){a.Pa.appendChild(a.Cy)}DJ.prototype.ma=function(){zg(this.Rr);FJ(this);DJ.R.ma.call(this)};DJ.prototype.Cia=function(){};DJ.prototype.Hu=function(){return this.Pa};function FJ(a,b){for(var c=a.tC.length-1;0<=c;--c)c!=b&&GJ(a,a.tC[c])}function GJ(a,b){wb(a.tC,b)&&(b.remove(),b.dispose())}
DJ.prototype.setPosition=function(a,b){y(this.tC,function(c){c.setPosition(a,b)},this);var c=Math.round(a),d=Math.round(b);this.gx?this.Cy.style.webkitTransform="translate3d("+c+"px, "+d+"px, 0)":this.Cy.style.margin=d+"px 0 0 "+c+"px"};function HJ(a,b,c,d){H.call(this);this.Mc=a;this.yf=b;this.$m=[];this.fj=null;this.Ci=c;this.OY=!0;this.uC=null;this.hJ=new xj;this.fI=d||function(){};this.sd=new D(0,0);this.Eb=0;this.ha=new K(this);A(this,this.ha)}w(HJ,H);e=HJ.prototype;
e.load=function(a,b,c,d){this.fj&&(GJ(c,this.fj),this.fj=null);var f=void 0;d&&(f=Math.ceil(this.Eb),this.fj=this.$m[f]);FJ(c,f);this.$m=[];d=0;for(f=b.Bm;d<f;++d){var g=b.tb[d];if(!g)throw Error("TileInfo did not contain level info for level "+d);var h;h=c;g=new BJ(h.Cy,a,b,g,h.Ql,h.gx);h.tC.push(g);h=g;this.ha.listen(h,"tile_loaded",this.HQ);this.$m.push(h)}this.uE(this.OY)};
e.lb=function(a,b,c,d){this.yf.setPosition(a,b);var f=this.Mc.lk;a=new un(-(b/c.height),(f.width-a+c.width)/c.width-1,(f.height-b+c.height)/c.height-1,-a/c.width);b=this.Ci;b.Eb=b.Gb.tb[Math.ceil(d)];b.kv=!0;this.Ci.t5(a);this.Eb=d;this.sd=c;this.mw()};
e.mw=function(){for(var a=Math.ceil(this.Eb),b=IJ(this.Ci,a),c=new xj,d=0;d<b.length;++d)c.add(this.Yt(a,b[d]));this.hJ=this.hJ.VF(c);this.uC=c.iY(this.hJ);for(d=0;d<this.$m.length;++d)a=this.$m[d],b=IJ(this.Ci,d),c=0<b.length,a.setVisible(c),c&&rJ(a,b);for(d=0;d<this.$m.length;++d)a=this.$m[d],sJ(a,this.sd);this.fj&&sJ(this.fj,this.sd)};e.KS=function(a){this.Ci.KS(a)};e.uE=function(a){this.OY=a;for(var b=0;b<this.$m.length;++b)this.$m[b].NY=a};
e.HQ=function(a){var b=this.Yt(a.level,a.by);this.uC&&this.uC.contains(b)&&(this.uC.remove(b),this.hJ.add(b),0==this.uC.Nb()&&(this.Ci.kv=!0,this.mw(),this.fI(),this.fj&&(GJ(this.yf,this.fj),this.fj=null)));this.dispatchEvent(a)};e.Yt=function(a,b){return b.x+","+b.y+","+a};e.ma=function(){this.fj&&(GJ(this.yf,this.fj),this.fj=null);HJ.R.ma.call(this)};function JJ(a){this.Eb=null;this.NC=new un(0,1,1,0);this.Ql=a;this.tc=this.Gb=null;this.Kh={};this.Yo=!1;this.kv=!0;this.np={}}e=JJ.prototype;e.t5=function(a){this.NC=a.clone();this.kv=!0};e.Iw=function(a,b){this.Gb=a;this.tc=b;this.kv=!0};e.KS=function(a){this.Yo=a};function IJ(a,b){a.kv&&a.Bk();return a.Kh[b]||[]}
e.Bk=function(){this.np={};for(var a=this.Eb.bp,b=0;b<=this.Gb.tb.length;++b)if(0==b){for(var c=this.Kh,d=this.Gb.tb[0],f=[],g=0;g<d.vp;++g)for(var h=0;h<d.wp;++h)f.push(new C(g,h));c[0]=f}else if(b==a)for(this.Kh[a]=[],c=KJ(this,this.Eb),d=0;d<c.length;++d)f=c[d],LJ(this,a,f)?this.Kh[a].push(f):(this.np[this.Yt(f)]=f,this.Yo||this.Kh[a].push(f));else this.Kh[b]=[];MJ(this);for(a=this.Eb.bp-1;1<=a&&!Vb(this.np);--a)for(b=this.Gb.tb[a],c=KJ(this,this.Gb.tb[a],!0),d=0;d<c.length;++d){for(var f=c[d],
g=VH(this.Eb,WH(b,f)),h=VH(this.Eb,WH(b,new C(f.x+1,f.y+1))),k=!1,m=g.x;m<h.x;++m)for(var q=g.y;q<h.y;++q){var v=m+","+q;v in this.np&&(k=!0,delete this.np[v])}k&&this.Kh[a].push(f)}this.kv=!1};
function MJ(a){var b=a.Eb.bp+1;if(!(b>=a.Gb.tb.length)){var c=KJ(a,a.Gb.tb[b],!0);if(0!=c.length){var d={};y(c,function(a){d[this.Yt(a)]=a},a);for(var f in a.np){for(var c=a.np[f],c=vn(WH(a.Eb,c),WH(a.Eb,c.x+1,c.y+1)),g=a.Gb.tb[b],h=!0,k=VH(g,c.left,c.top),m=new C(k.x,k.y);m.x<g.vp;++m.x){var q;for(m.y=k.y;m.y<g.wp;++m.y){q=WH(g,m);if(q.x>=c.right||q.y>=c.bottom)break;var v=a.Yt(m);v in d?null!=d[v]&&(a.Kh[b].push(new C(m.x,m.y)),d[v]=null):h=!1}if(q.x>=c.right)break}h&&delete a.np[f]}}}}
function KJ(a,b,c){var d=VH(b,new C(a.NC.left,a.NC.top)),f=VH(b,new C(a.NC.right,a.NC.bottom));d.x=wd(d.x,0,b.vp-1);d.y=wd(d.y,0,b.wp-1);f.x=wd(f.x,0,b.vp-1);f.y=wd(f.y,0,b.wp-1);for(var g=[],h=d.x;h<=f.x;++h)for(var k=d.y;k<=f.y;++k)c&&!LJ(a,b.bp,h,k)||g.push(new C(h,k));return g}function LJ(a,b,c,d){c instanceof C?(d=c.y,c=c.x):n(d)||(d=0);return a.Ql.xg(a.tc.Ho(c,d,b,a.Gb.timestamp,window))}e.Yt=function(a){return a.x+","+a.y};function NJ(){Cp.call(this);this.h1=E&&Yd("8");this.gC=0;this.dU=null;this.Pa=this.Ha.createElement("div");on(this.Pa,["m2-zoomSlider","m2-transition"]);this.UC=this.Ha.createElement("div");on(this.UC,["m2-zoomInButton","m2-transition"]);this.Pa.appendChild(this.UC);this.qx=this.Ha.createElement("div");Le(this.qx,"+");on(this.qx,["m2-zoomButtonLabel","m2-transition"]);this.UC.appendChild(this.qx);this.VC=this.Ha.createElement("div");on(this.VC,["m2-zoomOutButton","m2-transition"]);this.Pa.appendChild(this.VC);
this.rx=this.Ha.createElement("div");Le(this.rx,"\u2013");on(this.rx,["m2-zoomButtonLabel","m2-transition"]);this.VC.appendChild(this.rx);this.rG=this.Ha.createElement("div");on(this.rG,["m2-zoomSliderKnobSurface","m2-transition"]);this.Pa.appendChild(this.rG);this.uv=this.Ha.createElement("div");on(this.uv,["m2-zoomSliderKnob","m2-transition"]);this.rG.appendChild(this.uv);this.Ws=new gh(1E3);A(this,this.Ws);this.ka().listen(this.Ws,"tick",function(){OJ(this,!1)});this.Wr=!1;this.ka().listen(this.Pa,
"mouseover",function(){this.Ws.stop();this.Wr=!0;OJ(this,!0)});this.ka().listen(this.Pa,"mouseout",function(){this.Wr=!1;this.Ws.stop();this.Ws.start()});this.KO();OJ(this,!1)}w(NJ,Cp);e=NJ.prototype;e.ra=function(){this.dc(this.Pa)};e.bs=function(){this.Wr||(OJ(this,!0),this.Ws.stop(),this.Ws.start())};function PJ(a,b){a.dU=b}
e.Ed=function(a){this.Vg||(this.Vg=new Ht(this.uv,null),this.Vg.wm(!0),A(this,this.Vg),this.ka().listen(this.Vg,["start","drag","end"],this.Tk));this.gC=a-60;Jt(this.Vg,new wn(0,0,this.gC,0))};e.Tk=function(a){"start"!=a.type&&(a=a.left/this.gC,null!=this.dU&&this.dU(a))};
function OJ(a,b){var c=a.getHeight(b)+"px",d=b?"30px":"0";Yn(a.Pa,c);a.Pa.style.backgroundColor=a.h1?"rgb(0, 0, 0)":"rgba(0, 0, 0, "+(b?"1":"0.5")+")";Yn(a.uv,c);a.rG.style.height=c;a.UC.style.height=c;a.VC.style.height=c;a.rx.style.height=d;a.qx.style.height=d;a.h1?(c=b?"visible":"hidden",a.rx.style.visibility=c,a.qx.style.visibility=c):(c=b?"1":"0",a.rx.style.opacity=c,a.qx.style.opacity=c)}e.getHeight=function(a){return a?30:8};
e.KO=function(){this.ka().listen(this.UC,"click",function(){this.bs();this.dispatchEvent(new tI(1))});this.ka().listen(this.VC,"click",function(){this.bs();this.dispatchEvent(new tI(-1))})};function QJ(a,b){Cp.call(this);this.Xe=150;this.jha=100;this.wL=new C(10,10);this.Qt=1;this.Pa=this.Ha.createElement("div");W(this.Pa,"m2-zoomWidget");In(this.Pa,this.wL);this.yf=this.Ha.createElement("div");W(this.yf,"m2-wrapper");this.Pa.appendChild(this.yf);this.Xw=this.Ha.createElement("div");W(this.Xw,"m2-thumbView");this.yf.appendChild(this.Xw);this.Qc=new pJ;this.Qc.Ka(this.Xw);A(this,this.Qc);this.VL=new qI(this.Qc);A(this,this.VL);this.ka().listen(this.VL,"drag_hover",this.fja);this.ka().listen(this.VL,
["drag_start","drag_move"],this.Qia);this.ot=new D(this.Xe,this.Xe);this.UP=this.Ha.createElement("div");W(this.UP,"m2-visibleAreaMarker");this.Xw.appendChild(this.UP);this.Pq=[];for(var c=0;4>c;++c)this.Pq[c]=this.Ha.createElement("div"),W(this.Pq[c],"m2-darkAreaMarker"),this.Xw.appendChild(this.Pq[c]);this.ub=new NJ;A(this,this.ub);this.ka().listen(this.ub,"zoom",function(a){this.dispatchEvent(a);this.bs()});this.ub.Ka(this.Pa);PJ(this.ub,t(this.Lia,this));this.dt=this.Ha.createElement("div");W(this.dt,
"m2-thumbnailWrapper");this.Xw.appendChild(this.dt);this.VH=a(this.dt);EJ(this.VH);A(this,this.VH);this.Mc=new DI(this.dt);A(this,this.Mc);this.Ci=new JJ(b);this.Ah=new HJ(this.Mc,this.VH,this.Ci);A(this,this.Ah);this.r7=0;this.jp=1;this.Al=0;this.kk=1;this.iha=20;this.zk=new D(0,0);this.Yw=new KH(0,0);this.rC=new KH(0,0);this.Gb=null;this.So=new gh(1E3);A(this,this.So);this.ka().listen(this.So,"tick",function(){this.setVisible(!1)});this.Wr=!1;this.ka().listen(this.Pa,"mouseover",function(){this.So.stop();
this.Wr=!0;this.setVisible(this.jp>this.Al)});this.ka().listen(this.Pa,"mouseout",function(){this.Wr=!1;this.So.stop();this.So.start()});this.Bx=this.Ha.createElement("div");W(this.Bx,"m2-addToCollectionButton");X(this.Bx,!1);this.Pa.appendChild(this.Bx);this.ka().listen(this.Bx,"click",function(){null!=this.kK&&this.kK()});this.kK=null}w(QJ,Cp);e=QJ.prototype;e.ra=function(){this.dc(this.Pa)};e.bs=function(){this.Wr||(this.setVisible(this.jp>this.Al),this.So.stop(),this.So.start())};
e.Qia=function(a){var b=new KH(a.position.x-this.Yw.x,a.position.y-this.Yw.y);a=b.x-this.rC.x;b=b.y-this.rC.y;a/=this.zk.width*this.Xe*this.kk;b/=this.zk.height*this.Xe*this.kk;this.dispatchEvent(new oJ(new KH(a,b)))};e.bS=function(a){X(this.Bx,null!=a);this.kK=a};e.Lia=function(a){this.dispatchEvent(new mJ(this.Al+a*(this.jp-this.Al),!1))};e.fja=function(){this.bs();this.ub.bs()};
e.setVisible=function(a){rn(this.Pa,"m2-transition",!a);E&&Yd("8")?this.Pa.style.visibility=a?"visible":"hidden":bo(this.Pa,a?1:0)};e.Iw=function(a,b,c){this.Gb=a;this.jp=a.Bm-1;this.So.start();this.GC();this.Ah.load(b,a,this.VH,c);this.Ci.Iw(a,b)};
e.GC=function(){if(null==this.Gb)throw Error("setPhoto must be called before updateDom_.");Wn(this.Pa,this.Xe,this.Xe);var a=this.Gb.tb[this.jp],a=RH(a)/SH(a);this.zk=new D(Math.min(1,a),Math.min(1,1/a));var a=this.Xe*this.zk.width,b=this.Xe*this.zk.height;Wn(this.dt,a,b);this.Mc.trigger();b=(this.Xe-b)/2;this.dt.style.marginTop=b+"px";a=(this.Xe-a)/2;this.dt.style.marginLeft=a+"px";this.Yw=new KH(Math.round(a),Math.round(b));this.ub.Ed(this.Xe)};
e.l5=function(a,b){this.Xe=Math.max(this.jha,b);this.ot=new D(this.Xe,this.Xe);var c={bottom:"",left:"",right:"",top:""};a.left||a.right||(a.left=this.wL.x);a.left?c.left=a.left+"px":a.right&&(c.right=a.right+"px");a.top||a.bottom||(a.top=this.wL.y);a.top?c.top=a.top+"px":a.bottom&&(c.bottom=a.bottom+this.ub.getHeight(!0)+"px");Bn(this.Pa,c);null!=this.Gb&&this.GC()};function RJ(a,b,c,d,f){null!=a&&(a.style.margin=c+"px 0 0 "+b+"px",a.style.width=d+"px",a.style.height=f+"px")};ba("MicroscopeResizeMode",{Ana:"fixed",Ppa:"scale"},void 0);function SJ(a,b,c,d){this.x=this.x=a;this.y=this.y=b;this.z=this.z=c;this.size=this.size=n(d)?d:null}ba("MicroscopeState",SJ,void 0);ba("MicroscopeSize",D,void 0);function TJ(a){return 1-Math.pow(1-a,3)};function UJ(a){this.Gb=null;this.Mc=a;this.j2=ff;this.gB=0}function VJ(a){a=a.j2(a.Mc.lk);return new D(a.width,a.height)}UJ.prototype.or=function(){return TH(this.Gb,VJ(this))};UJ.prototype.aC=function(a){this.j2=a};function WJ(a,b,c,d){d=Math.max(0,(1-d)/2,a.gB);a=.5-d;d=.5+d;return c>b&&b<a?Math.min(c,a):c<b&&b>d?Math.max(c,d):b};function XJ(a,b,c,d,f){H.call(this);this.lh=a;this.Nh=b;this.Mc=c;this.Ah=d;this.M$=n(f)?f:!0;this.Gb=null;this.Eb=0;this.qc=new KH(.5,.5);this.Ze=this.Ac=null;this.TC=this.Fn=0;this.Cma=600;this.cE=EI(this.Mc);this.x4="fixed";this.Yo=!1;this.C1=null;this.ha=new K(this);A(this,this.ha);this.PK=new gh(100);A(this,this.PK);this.lm=new UJ(c);this.ha.listen(this.lh,"zoom",this.Kfa);this.ha.listen(this.lh,"level_change",this.oda);this.ha.listen(this.lh,"view_move",this.ufa);this.ha.listen(this.lh,"drag_move",
this.nca);this.ha.listen(this.lh,"throw",this.lfa);this.ha.listen(this.Mc,"resize",this.tg);this.ha.listen(this.PK,"tick",this.V9)}w(XJ,H);e=XJ.prototype;e.Iw=function(a,b,c){this.lm.Gb=a;c?(b=this.Eb,this.Eb=TH(a,UH(this.Gb,this.Eb)),b=this.Eb-b,this.TC+=b,this.Fn+=b):(this.qc.x=.5,this.qc.y=.5,this.Eb=0,this.Ac=null,this.PK.start());this.Gb=a;a=this.Nh;b=this.lm.or();a.Al=b;a.jp>a.Al||a.setVisible(!1);c?this.Ac?YJ(this,this.Eb):ZJ(this,this.Eb,0):(this.Eb=0,ZJ(this,this.lm.or(),0))};e.aC=function(a){this.lm.aC(a)};
e.maximize=function(a,b){var c=VJ(this.lm);if("fill"==b)var d=this.Gb,f=d.tb[d.tb.length-1],f=RH(f)/SH(f),g=c.width/c.height,c=TH(d,new D(f<=g?c.width:Number.MAX_VALUE,f>g?c.height:Number.MAX_VALUE));else c=TH(this.Gb,c);ZJ(this,c,a?void 0:0)};e.lT=function(a){this.x4=a};
e.kD=function(a,b,c){var d=this.Mc.lk,f=a.z;a.size&&(f=TH(this.Gb,new D(d.width/a.size.width,d.height/a.size.height)));f=$J(this,f);c?ZJ(this,f,b,c):0>=b?(aK(this),this.Eb=f,bK(this,a.x,a.y),ZJ(this,this.Eb,0)):cK(this,new KH(a.x,a.y),f,b)};e.getState=function(){var a=UH(this.Gb,this.Eb),b=this.Mc.lk;return new SJ(this.qc.x,this.qc.y,this.Eb,new D(b.width/a.width,b.height/a.height))};e.setPosition=function(a,b){b?bK(this,a.x,a.y):(this.qc.x=a.x,this.qc.y=a.y);dK(this,!0);eK(this)};
function fK(a,b,c,d){var f=a.Fn+b;1==Math.abs(b)&&(f=Math.round(f));f=$J(a,f);aK(a);f!=a.Eb&&ZJ(a,f,c?void 0:0,d)}function ZJ(a,b,c,d){a.Ze=n(d)?d:null;aK(a);!a.M$||n(c)&&0>=c?(a.Fn=b,YJ(a,b,a.Ze)):(a.Fn=b,a.TC=a.Eb,a.Ac=new rt([void 0,void 0,0],[void 0,void 0,1],c||a.Cma,TJ),A(a,a.Ac),a.ha.listen(a.Ac,"animate",a.R2),a.ha.Fb(a.Ac,"end",a.Q2),a.Ac.play())}
function cK(a,b,c,d){aK(a);a.TC=a.Eb;a.Fn=null!=c?c:a.Eb;c=a.Eb!=a.Fn;a.Ac=new rt([a.qc.x,a.qc.y,c?0:void 0],[b.x,b.y,c?1:void 0],d||500,TJ);A(a,a.Ac);a.ha.listen(a.Ac,"animate",a.R2);a.ha.Fb(a.Ac,"end",a.Q2);a.Ac.play()}
e.tg=function(){if(this.Gb){var a=0;if(this.cE&&"scale"==this.x4)var a=EI(this.Mc),b=UH(this.Gb,this.Eb),a=TH(this.Gb,new D(a.width/this.cE.width*b.width,a.height/this.cE.height*b.height))-this.Eb;this.cE=EI(this.Mc);var b=this.Nh,c=this.lm.or();b.Al=c;b.jp>b.Al||b.setVisible(!1);fK(this,a,!1);gK(this);eK(this)}};e.ufa=function(a){this.setPosition(a.position,!0)};e.lfa=function(a){if(null!=a.XU){var b=UH(this.Gb,this.Eb);cK(this,new KH(this.qc.x-a.XU.x/b.width,this.qc.y-a.XU.y/b.height))}else aK(this)};
e.Kfa=function(a){fK(this,a.i9,4!=a.Ema,a.kV)};e.oda=function(a){var b=$J(this,a.level);ZJ(this,b,a.l9?void 0:0,a.kV)};e.nca=function(a){if(null==this.Gb)throw Error("Cannot change offset. No tileInfo present.");if(!this.jv()){var b=UH(this.Gb,this.Eb);this.setPosition(new KH(this.qc.x-a.fY.x/b.width,this.qc.y-a.fY.y/b.height),!0)}};
e.R2=function(a){var b=this.Eb;null==a.z||isNaN(a.z)||(b=this.TC,b=$J(this,b+a.z*(this.Fn-b)));YJ(this,b,this.Ze);null==a.x||isNaN(a.x)||null==a.y||isNaN(a.y)||this.setPosition(new KH(a.x,a.y),!0)};e.Q2=function(){this.Fn=this.Eb;this.Ze=this.Ac=null};function $J(a,b){return wd(b,a.lm.or(),a.Gb.Bm-1)}e.V9=function(){var a=this.getState(),b=this.C1,b=!(null!=b!=(null!=a)?0:b==a||b.x==a.x&&b.y==a.y&&b.z==a.z&&Cd(b.size,a.size));this.C1=a;dK(this,b)};
function dK(a,b){var c=a.Yo;a.Yo=b;c!=a.Yo&&eK(a)}function YJ(a,b,c){if(null!=c){var d=a.Mc.lk,f=UH(a.Gb,b),g=(c.x-d.width/2)/f.width,d=(c.y-d.height/2)/f.height,f=hK(a,a.Eb),h=UH(a.Gb,a.Eb),k=(c.y-f.y)/h.height;a.qc.x=(c.x-f.x)/h.width-g;a.qc.y=k-d}a.Eb=$J(a,b);c=a.Nh;c.r7=a.Eb;b=c.ub;c=(c.r7-c.Al)/(c.jp-c.Al);c=Math.max(Math.min(c,1),0);null==b.nA&&(b.nA=fo(b.Pa));b.nA?b.uv.style.marginRight=b.gC*c+"px":b.uv.style.marginLeft=b.gC*c+"px";gK(a);dK(a,!0);eK(a)}e.jv=function(){return null!=this.Ac};
function eK(a){var b=UH(a.Gb,a.Eb),c=hK(a,a.Eb),d=a.Mc.lk;a.dispatchEvent(new nJ(-(c.x/b.width),-(c.y/b.height),(d.width-c.x+b.width)/b.width-1,(d.height-c.y+b.height)/b.height-1,a.Yo));b=hK(a,0);c=UH(a.Gb,a.Eb);a.Ah.KS(a.Yo);a.Ah.lb(b.x,b.y,c,a.Eb)}function aK(a){null!=a.Ac&&(a.Ac.stop(!1),a.Ac=null)}function hK(a,b){var c=UH(a.Gb,b),d=a.Mc.lk,d=new KH(d.width/2-c.width*a.qc.x,d.height/2-c.height*a.qc.y),f=UH(a.Gb,a.Eb);d.x+=a.qc.x*(c.width-f.width);d.y+=a.qc.y*(c.height-f.height);return d}
function bK(a,b,c){var d=a.qc.x,f=a.qc.y;a.qc.x=b;a.qc.y=c;gK(a,d,f)}
function gK(a,b,c){var d,f=a.lm;d=a.getState();var g=d.x,h=d.y,k=UH(f.Gb,d.z),m=f.Mc.lk,g=WJ(f,g,null!=b?b:g,m.width/k.width),h=WJ(f,h,null!=c?c:h,m.height/k.height);c=VJ(f);b=c.width/k.width;var m=c.height/k.height,q=k=f.gB;b>m?k=Math.max((b-m)/2,f.gB):q=Math.max((m-b)/2,f.gB);f=h+Math.max(-.5,-m/2+q);c=g+Math.min(.5,b/2-k);m=h+Math.min(.5,m/2-q);b=g+Math.max(-.5,-b/2+k);0>b?g-=b:1<c&&(g+=1-c);0>f?h-=f:1<m&&(h+=1-m);d=new SJ(g,h,d.z);a.qc.x=d.x;a.qc.y=d.y}e.or=function(){return this.lm.or()};function iK(a,b,c){z.call(this);this.gx="WebKitCSSMatrix"in window&&b.W$;this.taa=c||null;this.CO=new dJ(b.wY);A(this,this.CO);this.Ql=new HI(this.CO,100);A(this,this.Ql);this.yf=this.SX(a);A(this,this.yf);this.ow=this.lU=this.BA=this.yl=null;this.GR=!1;this.ha=new K(this);A(this,this.ha);this.Mc=new DI(this.yf.Hu());a=this.yf;b=this.Mc;null===a.Mc||zg(a.Rr);a.Rr=qg(b,"resize",t(a.Cia,a));a.Mc=b;A(this,this.Mc);this.Qc=new pJ(this.Mc);A(this,this.Qc);this.Nh=new QJ(t(this.SX,this),this.Ql);A(this,
this.Nh);this.Gb=this.Ci=this.Ah=this.lh=this.Og=null;this.fJ=[];this.init()}w(iK,z);e=iK.prototype;
e.init=function(){this.Nh.Ka(this.yf.Hu());this.Qc.Ka(this.yf.Hu());this.Ci=new JJ(this.Ql);this.Ah=new HJ(this.Mc,this.yf,this.Ci,t(this.GQ,this));A(this,this.Ah);var a=new BI(this.taa||this.Qc);a.gV=!0;a.gV=!0;a.l7=!0;a.m7=!0;a.k7=!0;a.j7=!0;this.lh=a.add(this.Nh).Hd();A(this,this.lh);this.Og=new XJ(this.lh,this.Nh,this.Mc,this.Ah);A(this,this.Og);this.ha.listen(this.Og,"viewport_update",this.bja);this.ha.listen(this.Ah,"tile_loaded",this.HQ);this.ha.listen(this.lh,"drag_start",t(this.Qc.m5,this.Qc,
!0));this.ha.listen(this.lh,"drag_end",t(this.Qc.m5,this.Qc,!1));this.ha.listen(this.lh,["drag_start","drag_hover","zoom"],this.Tb);EJ(this.yf)};e.kD=function(a,b,c){this.Og.kD(a,b,c)};function jK(a,b,c,d){a.yl&&a.yl.dispose();a.yl=new lJ(b,function(a){kK(this,a,b,c,d);this.BA&&this.BA(!0)},function(){this.BA&&this.BA(!1)},function(){},a);a.yl.load()}e.bS=function(a){this.Nh.bS(t(function(){a(this.Og.getState())},this))};e.aC=function(a){this.Og.aC(a)};
e.maximize=function(a,b){this.Og.maximize(a||null==a,b)};e.center=function(){this.Og.setPosition(new KH(.5,.5))};e.lT=function(a){this.Og.lT(a)};e.uE=function(a){this.Ah.uE(a)};
function kK(a,b,c,d,f){if(null==a.Ah)throw Error("Internal error: this.pyramid_ is null.");if(null==a.Og)throw Error("Internal error: this.viewportController_ is null.");f=!!f&&null!=a.Gb;a.Gb=b;a.Ql.clearAll();y(a.fJ,function(a){this.Ql.put(a.getTileUrl(),a,0)},a);a.fJ=[];a.GR=!1;a.Mc.trigger();a.Ah.load(c,b,a.yf,f);a.Ci.Iw(b,c);a.Nh.Iw(b,c,f);a.Og.Iw(b,c,f);f||(null!=d?a.Og.kD(d,0):a.maximize(!1))}e.SX=function(a){return new DJ(a,this.Ql,this.gx)};e.GQ=function(){this.fI&&this.fI()};
e.bja=function(a){var b=this.CO,c=!a.rga;c!=b.ly&&(c?(b.ly=c,b.du.isEmpty()||fJ(b)):b.ly=c);b=this.Nh;if(null==b.Gb)throw Error("setPhoto must be called before onViewportUpdated.");var d=b.ot.width*b.zk.width,f=b.ot.height*b.zk.height,g=d-2*b.Qt,h=f-2*b.Qt,c=Math.min((a.right-a.left)*d,(a.bottom-a.top)*f);b.kk=0<c?Math.max(1,b.iha/c):1;var c=wd(a.left*d,0,g),k=wd(a.top*f,0,h),m=wd(a.right*d,0,g),q=wd(a.bottom*f,0,h);a=m-c;var v=q-k,B=(b.kk-1)*a,F=(b.kk-1)*v,d=c/(c+d-m),f=k/(k+f-q),M,O;M=c-B*d-2*b.Qt;
O=k-F*f-2*b.Qt;q=q+F*(1-f)-b.Qt;m=m+B*(1-d)-b.Qt;M=Math.floor(wd(M,0,g));O=Math.floor(wd(O,0,h));m=Math.ceil(wd(m,0,g));q=Math.ceil(wd(q,0,h));g=m-M;h=q-O;B=TH(b.Gb,new D(b.kk*b.zk.width*b.Xe,b.kk*b.zk.height*b.Xe));b.rC=new KH(-(c+a*d)*(b.kk-1),-(k+v*f)*(b.kk-1));b.Ah.lb(Math.round(b.rC.x),Math.round(b.rC.y),new D(b.Xe*b.zk.width*b.kk,b.Xe*b.zk.height*b.kk),B);M+=b.Yw.x;m+=b.Yw.x;O+=b.Yw.y;RJ(b.UP,M,O,g,h);RJ(b.Pq[0],0,0,b.ot.width,O);RJ(b.Pq[1],0,O,M,h+2);RJ(b.Pq[2],m+2,O,b.ot.width-(M+g)-2,h+2);
RJ(b.Pq[3],0,O+h+2,b.ot.width,b.ot.height-(O+h)-2);this.lU&&this.lU(this.Og.getState())};e.HQ=function(a){null!=this.ow&&0==a.level&&this.ow&&!this.GR&&(setTimeout(this.ow,0),this.GR=!0)};e.Tb=function(){this.Nh.bs()};e.ma=function(){this.yl&&(this.yl.dispose(),this.yl=null);iK.R.ma.call(this)};function lK(a,b,c){this.s$=500;var d={wY:!1,W$:!1};ka(b)?d=b:n(b)&&(d.wY=b);this.Fc=new iK(a,d,c)}ba("Microscope",lK,void 0);lK.prototype.V7=function(a,b,c){jK(this.Fc,new hI(a),b,c)};ba("Microscope.prototype.LoadImage",lK.prototype.V7,void 0);lK.prototype.W7=function(a,b,c){jK(this.Fc,new cI(a,b,c))};ba("Microscope.prototype.LoadSingleImage",lK.prototype.W7,void 0);lK.prototype.OJ=function(a,b,c){this.Fc.kD(a,null!=b?b:this.s$,c)};ba("Microscope.prototype.AnimateTo",lK.prototype.OJ,void 0);
lK.prototype.tx=function(){return this.Fc.Og.getState()};ba("Microscope.prototype.GetState",lK.prototype.tx,void 0);lK.prototype.VJ=function(){var a=this.Fc;if(null==a.Gb)throw Error("Cannot get image metadata before image has been loaded.");return new jI(a.Gb,a.Og.or())};ba("Microscope.prototype.GetImageMetadata",lK.prototype.VJ,void 0);lK.prototype.G8=function(a){this.Fc.bS(a)};ba("Microscope.prototype.SetAddToCollectionCallback",lK.prototype.G8,void 0);lK.prototype.H8=function(a){this.Fc.BA=a};
ba("Microscope.prototype.SetLoadCallback",lK.prototype.H8,void 0);lK.prototype.LV=function(a){this.Fc.lU=a};ba("Microscope.prototype.SetStateChangeCallback",lK.prototype.LV,void 0);lK.prototype.KV=function(a){this.Fc.ow=a};ba("Microscope.prototype.SetRenderableCallback",lK.prototype.KV,void 0);lK.prototype.I8=function(a){this.Fc.fI=a};ba("Microscope.prototype.SetRenderedCallback",lK.prototype.I8,void 0);lK.prototype.JV=function(a){this.Fc.aC(a)};
ba("Microscope.prototype.SetMinimumSizeCallback",lK.prototype.JV,void 0);lK.prototype.NV=function(a){var b=this.Fc.Nh;b.ub.Vb().style.display=1==a?"none":"";b.ub.Vb().style.borderWidth=2==a?"1px":"";b.yf.style.display=2==a?"none":"";b.Pa.style.display=3==a?"none":""};ba("Microscope.prototype.SetZoomWidgetVisibility",lK.prototype.NV,void 0);lK.prototype.MV=function(a,b){this.Fc.Nh.l5(a,b)};ba("Microscope.prototype.SetZoomWidgetLayout",lK.prototype.MV,void 0);
lK.prototype.AV=function(a,b){this.Fc.maximize(a,b)};ba("Microscope.prototype.Maximize",lK.prototype.AV,void 0);lK.prototype.C7=function(){this.Fc.center()};ba("Microscope.prototype.Center",lK.prototype.C7,void 0);lK.prototype.GV=function(){this.Fc.Mc.trigger()};ba("Microscope.prototype.ResizeViewport",lK.prototype.GV,void 0);lK.prototype.J8=function(a){this.Fc.lT(a)};ba("Microscope.prototype.SetResizeMode",lK.prototype.J8,void 0);lK.prototype.IV=function(a,b){this.Fc.lh.VB(a,b)};
ba("Microscope.prototype.SetGlobalKeyEventsActive",lK.prototype.IV,void 0);lK.prototype.K8=function(a){this.Fc.lh.pS(a)};ba("Microscope.prototype.SetScrollEventsActive",lK.prototype.K8,void 0);lK.prototype.O7=function(a){this.Fc.uE(a)};ba("Microscope.prototype.EnableFadeInTiles",lK.prototype.O7,void 0);lK.prototype.NJ=function(){this.Fc.Tb()};ba("Microscope.prototype.Activate",lK.prototype.NJ,void 0);lK.prototype.sV=function(){rc(this.Fc)};ba("Microscope.prototype.Dispose",lK.prototype.sV,void 0);function mK(a){H.call(this);this.$=a;this.rP=this.tG=this.oX=this.E1=this.G1=this.pJ=null;this.ha=new K(this);A(this,this.ha);this.ha.listen(a,"touchstart",this.Mz).listen(a,"touchend",this.Ru)}w(mK,H);mK.prototype.H=function(){return this.$};mK.prototype.Mz=function(a){var b=a.Qb.touches;1==b.length?(this.pJ=a.target,this.G1=u(),this.E1=new C(b[0].pageX,b[0].pageY)):this.pJ=null};
mK.prototype.Ru=function(a){var b=a.Qb.touches;a=a.Qb.changedTouches;null!=this.pJ&&0==b.length&&1==a.length&&(b=new C(a[0].pageX,a[0].pageY),a=u()-this.G1,20>=Ad(b,this.E1)&&300>=a&&this.fl(this.pJ,b))};mK.prototype.fl=function(a,b){if(null!=this.tG&&this.oX==a){var c=u()-this.tG;if(50>=Ad(b,this.rP)&&300>=c){this.rP=this.tG=null;this.dispatchEvent(new nK(a,b.x,b.y));return}}this.oX=a;this.tG=u();this.rP=b;this.dispatchEvent(new oK(a,b.x,b.y))};
function pK(a,b,c,d){G.call(this,a);this.Ila=b;this.clientX=c;this.clientY=d}w(pK,G);function oK(a,b,c){pK.call(this,"jb",a,b,c)}w(oK,pK);function nK(a,b,c){pK.call(this,"kb",a,b,c)}w(nK,pK);function qK(){this.Ju=this.th=null;this.zC=0}function rK(a,b,c){a.th=b;a.Ju=c;a.zC=.001*Math.abs(a.Ju-a.th)}function sK(a,b){if(null===a.Ju)return!1;var c;c=a.th;var d=a.Ju;Lm(d>c?new Km(d,d+a.zC):new Km(d,d-a.zC),b)?(a.th=b,c=1):Lm(new Km(c,d),b)?(a.th=b,c=0):c=2;switch(c){case 2:return a.th=null,a.Ju=null,a.zC=0,!1;case 1:return a.th=null,a.Ju=null,a.zC=0,!0;default:return!0}};function tK(){H.call(this);this.Vr=0;this.wk=new C(0,0);this.om=new C(0,0)}w(tK,H);tK.prototype.update=function(a,b,c){b=new C(b,c);c=!1;0==this.Vr&&0!=a&&(this.wk=b,c=!0);zd(this.om,b)||(this.om=b,c=!0);this.Vr=a;c&&this.dispatchEvent("lb")};function uK(a,b,c,d,f){a.wk=new C(c-f,d-f);a.om=new C(c+f,d+f);a.Vr=b;a.dispatchEvent("lb")}tK.prototype.getSelection=function(){var a=new wn(this.wk.x,this.wk.y,0,0);An(a,new wn(this.om.x,this.om.y,0,0));return a};function vK(){return!wK()&&(Ic("iPod")||Ic("iPhone")||Ic("Android")||Ic("IEMobile"))}function wK(){return Ic("iPad")||Ic("Android")&&!Ic("Mobile")||Ic("Silk")};function xK(a,b,c){z.call(this);this.$=a;this.S=b;this.Ki=new C;this.va=new tK;A(this,this.va);this.sw=new gh(15);A(this,this.sw);this.ha=new K(this);A(this,this.ha);this.HU=0;this.ha.listen(a,"mousedown",this.Po).listen(this.sw,"tick",this.Sea);c||this.ha.listen(a,"dblclick",this.kca);vK()||wK()||this.ha.listen(a,"touchstart",this.Mz).listen(a,"touchend",this.Ru);this.Ch=new un(20,20,20,20)}w(xK,z);e=xK.prototype;
e.Po=function(a){if(dg(a)&&this.ED(a)){var b=this.S.U().Ba;this.ha.listen(this.$,"mousemove",this.Qo).listen(this.$,"mouseup",this.il).listen(b,"mousemove",this.Qo).listen(b,"mouseup",this.il);a.preventDefault();this.sw.start();this.Bk(1,a)}};e.il=function(a){if(dg(a)){var b=this.S.U().Ba;this.ha.ab(this.$,"mousemove",this.Qo).ab(this.$,"mouseup",this.il).ab(b,"mousemove",this.Qo).ab(b,"mouseup",this.il);this.sw.stop();this.Bk(0,a)}};
e.kca=function(a){if(dg(a)&&this.ED(a)){var b=this.Zy();uK(this.va,0,b.x,b.y,1);Fs(oq(this.S),{La:77,$a:Lo(a)})}};e.Qo=function(a){1==this.va.Vr&&(a.preventDefault(),this.Bk(1,a))};
e.Mz=function(a){if(this.ED(a))if(a.Qb.touches&&1==a.Qb.touches.length){this.HU=I(t(this.xda,this,a),500,this);this.Zla=new C(a.Qb.changedTouches[0].clientX,a.Qb.changedTouches[0].clientY);var b=this.S.U().Ba;this.ha.listen(this.$,"touchmove",this.Su).listen(b,"touchmove",this.Su);yK(this,a);a=this.Zy();uK(this.va,0,a.x,a.y,0)}else zK(this)};e.xda=function(a){this.sw.start();yK(this,a);a=this.Zy();uK(this.va,1,a.x,a.y,1)};
e.Su=function(a){1==this.va.Vr&&a.preventDefault();20<Ad(new C(a.Qb.changedTouches[0].clientX,a.Qb.changedTouches[0].clientY),this.Zla)&&(J(this.HU),1==this.va.Vr&&this.Bk(1,a))};e.Ru=function(a){var b=a.Qb.touches.length;1==this.va.Vr&&(a.preventDefault(),0==b&&a.stopPropagation());0==b&&(this.Bk(0,a),zK(this))};function zK(a){J(a.HU);var b=a.S.U().Ba;a.ha.ab(a.$,"touchmove",a.Su).ab(b,"touchmove",a.Su);a.sw.stop()}
e.Bk=function(a,b){var c=b.Qb.changedTouches;if(!(c&&1<c.length)){yK(this,b);var d=this.Zy();0!=a||zd(d,this.va.wk.clone())||Fs(oq(this.S),{La:69,$a:Lo(b)});this.va.update(a,d.x,d.y,!!c)}};e.Sea=function(){var a=this.Ki.y,b=this.$.clientHeight-this.Ki.y,c=0;a<this.Ch.top?c=-AK(a,this.Ch.top):b<this.Ch.bottom&&(c=AK(b,this.Ch.bottom));a=this.$.clientWidth-this.Ki.x;b=0;this.Ch.left>this.Ki.x?b=-AK(this.Ki.x,this.Ch.left):this.Ch.right>a&&(b=AK(a,this.Ch.right));this.scrollBy(b,c)};
function AK(a,b){return 2+1/(1+Math.exp(-10*(wd((b-a)/(100+b),0,1)-.5)))*98}e.getState=function(){return this.va};e.scrollBy=function(a,b){0!=b&&(this.$.scrollTop+=b);if(0!=a){var c=Ro(this.$);To(this.$,c+a)}};function yK(a,b){var c=b.Qb.changedTouches,d=c?c[0].clientX:b.clientX,c=c?c[0].clientY:b.clientY,f=a.$.getBoundingClientRect();fo(a.$)?a.Ki.x=f.right-d:a.Ki.x=d-f.left;a.Ki.y=c-f.top}
e.Zy=function(){var a=Ro(this.$),a=this.Ki.x+a;fo(this.$)&&(a=this.$.scrollWidth-a);return new C(a,this.Ki.y+this.$.scrollTop)};e.ED=function(a){var b=He(a.target)&&nn(a.target,iq.Ra().Ma());return"A"!=a.target.tagName&&!b&&!vr(this.S,this.$,a)};var BK=!1;function CK(a,b){var c=Iw("",{target:"_blank",noreferrer:!0});if(c){var d=Yk(U("<html><head>"+Pl({title:a})+"</head><body></body></html>"));c.document.open();c.document.write(id(d));d=c.document.createElement("DIV");fe(d,b);c.document.body.appendChild(d);c.document.close();c.focus();c.print();I(function(){c.close();c.closed||c.close()},100)}}
function DK(a,b,c){if(!BK){BK=!0;var d=Yk(Pl({title:b})),f=Qc(),g=gy(a,d,c,f);(c=me(document,"img",void 0,g.contentDocument.body)[0])&&!c.complete?qg(c,"load",function(){EK(a,g,b)}):EK(a,g,b)}}function EK(a,b,c){var d=he(a).Ba,f=d.title;d.title=c;I(function(){b.contentWindow.print();De(b);d.title=f;BK=!1})}function FK(a){Iw(a,{target:"_blank",noreferrer:!0})};function GK(){return U('<div class="drive-viewer-itemview"><div class="drive-viewer-image drive-viewer-focus-to-default"><div class="drive-viewer-image-selection"><div class="drive-viewer-image-spotlight"></div><div class="drive-viewer-image-selection-inner"></div><div class="drive-viewer-image-selection-outer"></div></div></div><div class="drive-viewer-microscope"></div></div>')};function HK(a,b){Cr.call(this,a,b);this.W=a;this.Ls=this.en=this.mf=this.Dc=this.Bg=null;this.cj=!1;this.Xg=null;this.sq=new qK;this.DP=0;this.Pe=null;var c=bw(this.getContext());c&&this.ka().listen(c,"ya",this.Er);(c=this.W.hb)&&this.ka().listen(c,HG.MJ,this.Oz).listen(c,HG.YC,this.Tu).listen(c,HG.x8,this.Jfa)}w(HK,Cr);
var IK={IMAGE:"drive-viewer-image",xV:"drive-viewer-image-img",Y7:"drive-viewer-microscope",t8:"drive-viewer-image-selection",Tpa:"drive-viewer-image-selection-enabled",eqa:"drive-viewer-image-spotlight",qra:"drive-viewer-image-zoom-in"};e=HK.prototype;e.ra=function(){var a=this.U();this.$=S(GK,void 0,void 0,a);this.mf=this.ua(IK.IMAGE);this.en=this.ua(IK.Y7);X(this.en,!1);this.Ls=this.ua(IK.t8);X(this.Ls,!1);a.pe(this.mf,!0)};
e.ta=function(){HK.R.ta.call(this);var a=new mK(this.H());A(this,a);cw(this.getContext()).ER(a);this.W.Ad&&JK(this);this.ka().listen(this.W,SG.LOADED,this.Xca);this.W.hk||this.ka().Fb(this.W,SG.f8,this.$da);Kz(this.getContext().qa())&&(W(this.mf,"drive-viewer-image-selection-enabled"),this.Pe=new xK(this.mf,this.getContext()),A(this,this.Pe),this.ka().listen(this.Pe.getState(),"lb",this.ZN))};e.oF=function(){return this.mf};
e.Tb=function(){if(!this.uc()){HK.R.Tb.call(this);this.layout();this.W.Ad&&!this.cj&&Qr(this);var a=Mr(this.getContext()),b=Nd?Do.Qn:Do.Pn;Nr(a,[70,b],this.Ez,this);Nr(a,[37,b],t(this.rF,this,37),this);Nr(a,[39,b],t(this.rF,this,39),this);Nr(a,[38,b],t(this.rF,this,38),this);Nr(a,[40,b],t(this.rF,this,40),this)}};e.Oc=function(){HK.R.Oc.call(this);KK(this);Rr(this)};
e.layout=function(){if(this.W.Ad)if(this.cj)this.Dc.GV(),LK(this),MK(this);else{var a=this.W.Pi();a.complete?this.w4():this.ka().Fb(a,"load",this.w4);(a=NK(this))&&!OK(this)&&PK(this);!a&&OK(this)&&this.W.hb.setEnabled(!1)}};e.w4=function(){var a=this.W.Pi(),a=new D(a.naturalWidth,a.naturalHeight),b=this.zd();Dd(a,b)||Ed(a,b);Wn(this.mf,a);In(this.mf,this.Pj(a))};e.Xca=function(){JK(this)};
function JK(a){if(!a.Dc){a.Ps(!0);if(NK(a)&&(PK(a),a.W.hb.dw))return;var b=a.U(),c=b.Ni(IK.xV,a.mf),d=0<c.length,f=a.W.Pi();W(f,IK.xV);W(f,"drive-viewer-focus-to-default");var g="Displaying "+a.W.getName();th(f,g);sh(f,!0);oh(a.mf,g);jh(a.mf,"img");d?(Rr(a),b.MO(f,c[c.length-1]),a.Xg=kz(f,.218),a.ka().Fb(a.Xg,"end",a.yN),a.Xg.play()):(a.layout(),$e(a.mf,f,0),Qr(a))}}function QK(a){a.W.hk||a.W.dispatchEvent("gb")}
e.HZ=function(){var a=this.W.Mb;IH(this.W.getFeature())&&a&&a.Wa&&Nx(this.W)?this.AZ():QK(this)};e.AZ=function(){var a=this.W.Mb.Wa,b=a.vm;if(1==b){var a=a.xR.thumbnailLink,b=this.W.Mb.XE(),c=VG(this.W).scale(2);Rk(a)&&b&&Dd(c,b)?this.Dc&&(RK(this),b=Xh(a)+Wh(Vh(a)[5]||null),JH(a),a=new YH(b),jK(this.Dc.Fc,new aI(a),void 0,!0)):QK(this)}else 3==b?QK(this):this.ka().Fb(this.W,"j",this.AZ)};
e.yN=function(){for(var a=this.U(),b=a.Ni("drive-viewer-image-img",this.mf),c=0;c<b.length-1;c++)a.removeNode(b[c]);rc(this.Xg);this.Xg=null;Qr(this,!0)};function NK(a){if(!SK(a.getContext().qa()))return!1;var b=VG(a.W),c=a.zd();if(IH(a.W.getFeature()))return a=2*b.width,b=2*b.height,(512<=a||512<=b)&&(a>=c.width||b>=c.height);a=a.W.sH;return(512<=a.width||512<=a.height)&&(b.width>=c.width||b.height>=c.height)}
function PK(a){if(!a.Bg&&(a.Bg=new po(a.H()),A(a,a.Bg),a.ka().listen(a.Bg,"mousewheel",a.yF).listen(a.mf,"dblclick",a.gO),a.getContext().Od()))if(WG(a.W)||IH(a.W.getFeature()))a.W.hb.dw=!0,TK(a),a.ka().Fb(a.W.hb,"eb",a.HZ);else{var b=new mK(a.mf);A(a,b);a.ka().listen(b,"kb",a.gO)}a.W.hb.setEnabled(!0)}e.yF=function(a){0>=a.deltaY&&!this.cj&&OK(this)&&(a.preventDefault(),a.stopPropagation(),this.gO(a))};
e.Bda=function(a){var b=0==zs(this.getContext().qa()),c=nn(Ie(a.target),"drive-viewer-microscope");if(b&&!this.getContext().Od()&&this.cj&&c){var c=this.Dc.tx(),d=Zn(this.en),b=((a.clientX-this.en.offsetLeft)/d.width-.5)*c.size.width+c.x,c=((a.clientY-this.en.offsetTop)/d.height-.5)*c.size.height+c.y;(0>b||1<b||0>c||1<c)&&this.dispatchEvent(new G("x",a.target))}UK(ur(this.getContext()))};
e.Tu=function(a){if(a.source!=this){a=this.W.hb.oz();var b=this.Dc.tx();rK(this.sq,b.z,a);a=new SJ(b.x,b.y,a);this.Dc.NJ();this.Dc.OJ(a)}};e.Oz=function(){var a=this.W.hb,b=a.Bf;b==IG.ACTIVATING?this.cj||a.dw||OK(this)&&(this.Dc?VK(this):TK(this)):b==IG.tq&&KK(this)};e.Jfa=function(){this.cj&&MK(this)};e.rF=function(a){if(this.cj){var b=0,c=0;switch(a){case 37:b=-.02;break;case 39:b=.02;break;case 38:c=-.02;break;case 40:c=.02}a=this.Dc.tx();this.Dc.OJ(new SJ(wd(a.x+b,0,1),wd(a.y+c,0,1),a.z))}};
e.gO=function(a){var b=this.W.hb.Bf;OK(this)&&b==IG.tq&&JG(this.W.hb,1,Lo(a))};function OK(a){return!!a.W.hb&&a.W.hb.isEnabled()}
function TK(a){var b=a.en,c=xr(a.getContext());a.U().pe(b,!0);oh(b,"Displaying higher resolution of "+a.W.getName());a.Dc=new lK(b);a.Dc.IV(!0);a.Dc.JV(function(a){return new D(Math.max(a.width-JB(c),0),Math.max(a.height-KB(c),0))});b=fo(a.H());a.Dc.MV(b?{top:60,left:60}:{top:60,right:60},150);MK(a);a.Dc.LV(t(a.Cda,a));JG(a.W.hb,1);a.ka().listen(a.en,"click",a.Bda);a.Dc.KV(t(a.ow,a));WK(a);a.W.hb.dw||a.HZ();a.W.kG=!0;Ir(a)}
function MK(a){var b=1;if(a.W.hb.eU||450>a.U().zd().height)b=3;a.Dc.NV(b)}function VK(a){a.Xa&&!a.cj&&XK(a,!0);a.layout()}function KK(a){!a.cj||a.W.hb&&a.W.hb.dw||(rK(a.sq,a.Dc.tx().z,a.Dc.VJ().YG),a.Dc.AV(!1),XK(a,!1),a.W.kG=!1,a.layout())}e.Cda=function(a){if(a.z!=this.DP){var b=a.z>this.DP;this.DP=a.z;LK(this);sK(this.sq,a.z)||(MG(this.W.hb,a.z,this),YK(this.W.tt,b,10,!0))}};e.ow=function(){VK(this)};
function XK(a,b){var c=b?a.en:a.mf,d=b?a.mf:a.en;X(c,!0);X(d,!1);a.U().$c()==d&&ur(a.getContext()).focus(c);b&&(a.Dc.NJ(),LK(a));a.cj=b;JG(a.W.hb,b?2:0)}e.$da=function(){this.Xa&&WK(this)};function RK(a){if(IH(a.W.getFeature())){if(a.W.Ad){var b=WG(a.W)||a.W.Xh(),c=a.W.Pi();a.Dc.Fc.fJ.push(new bJ(b,c))}a.W.hk&&(b=ZG(a.W)||a.W.Em(),c=YG(a.W),a.Dc.Fc.fJ.push(new bJ(b,c)))}}
function WK(a){if(a.Dc){var b=WG(a.W)||a.W.Xh(),c=VG(a.W);(WG(a.W)||IH(a.W.getFeature()))&&c.scale(2);RK(a);var d=a.W;if(d.Ad&&!d.hk)b=new aI(new cI(b,c.width,c.height)),jK(a.Dc.Fc,b,void 0,void 0);else if(d=a.W,d.Ad&&d.hk){var d=ZG(a.W)||a.W.Em(),f=YG(a.W),g=f.naturalWidth,h=f.naturalHeight,f=new D(g,h),g=new D(Math.max(g,c.width),Math.max(h,c.height));f.scale(f.width/f.height<=g.width/g.height?g.width/f.width:g.height/f.height).ceil();b=new aI(new cI(d,f.width,f.height,b,c.width,c.height));jK(a.Dc.Fc,
b,void 0,a.cj)}LK(a)}}function LK(a){var b=a.Dc.VJ();b.YG>=b.XP?KK(a):LG(a.W.hb,new Km(b.YG,b.XP))}e.Er=function(){this.cj&&I(function(){this.layout()},200,this)};e.gG=function(){return!0};
e.DH=function(){var a,b=tk(window.top.location.href,this.W.Em()).toString();a=a||{};var c=U,d='<div style="'+(a.bc?"/*"+a.bc+"*/":"")+'width:100%; height:99%; position:absolute"><img src=',b=Cl(b),b=gl(b,Sk)?String(ql(b.getContent())).replace(Ml,Il):String(b).replace(Ll,Il);a=c(d+b+' style="'+(a.bc?"/*"+a.bc+"*/":"")+'max-width:100%; max-height:99%" /></div>');a=Yk(a);c=this.H();d=this.W.getName();Hd||E||Di?CK(d,a):DK(c,d,a);ur(this.getContext()).focus(this.H())};e.Ez=function(a){a.preventDefault()};
e.ZN=function(){var a=this.Pe.getState().getSelection();if(!a||0==a.width&&0==a.height)Wn(this.Ls,0,0),X(this.Ls,!1);else{X(this.Ls,!0);var b=Zn(this.mf),a=yn(a,new wn(0,0,b.width,b.height));In(this.Ls,new C(a.left,a.top));Wn(this.Ls,Math.max(10,a.width),Math.max(10,a.height))}};e.ma=function(){this.Dc&&(this.Dc.sV(),this.Dc=null,this.W.kG=!1);this.W.hb&&JG(this.W.hb,0);HK.R.ma.call(this)};function ZK(a,b){Hm.call(this,b||"i",a)}w(ZK,Hm);e=ZK.prototype;e.Yd=function(a){return et(a)+a.getName()+(a.Xh()?a.Xh():a.Nd())};e.qe=function(a){return!!a.getName()&&(!!a.Xh()||!!a.Nd())};e.kf=function(){var a=["application/vnd.google-apps.form","application/vnd.google-apps.freebird","application/vnd.google-apps.drawing","image/"],b=zb(EG.Am);Ab(a,yG(b));$K(this.getContext().qa())||a.push("application/vnd.google-apps.spreadsheet");return a};e.If=function(){return RG};e.Qi=function(){return HK};
e.Zh=function(){return EH};e.uZ=function(){return QG};e.hN=function(){return SK(this.getContext().qa())?GG:null};function IH(a){a=a.getContext().qa();var b;if(b=3==a.vc())b=null==L(a,67)?!0:L(a,67);return b};function aL(a){ZK.call(this,a,"i_d")}w(aL,ZK);aL.prototype.Yd=function(a){return et(a)+a.Oa()};aL.prototype.qe=function(a){return!!a.getName()&&(!!a.Xh()||!!a.Nd())&&!!a.Oa()};aL.prototype.Kf=function(){return[0]};function bL(a,b){em.call(this,a,b,0);this.TP=!1}w(bL,em);bL.prototype.Oa=function(){return this.pb.Oa()};bL.prototype.UM=function(){return this.pb.UM()||null};function cL(a,b){Os.call(this,a,b);this.item=a}w(cL,Os);cL.prototype.er=function(){this.item.lb(2);this.getContext().get(Iv).JG().then(t(this.Iha,this),t(this.AI,this))};cL.prototype.AI=function(){this.item.lb(4,"There was a problem displaying this maps file.")};cL.prototype.Iha=function(){var a=this.item;a.TP||(a.TP=!0,a.dispatchEvent("mb"))};function dL(){return U('<div class="drive-viewer-maps drive-viewer-itemview"></div>')};function eL(a,b){Cr.call(this,a,b);this.W=a;this.wA=this.V=this.NG=this.hp=null;this.config=this.getContext().qa()}w(eL,Cr);e=eL.prototype;e.ra=function(){var a=this.U();this.$=S(dL,null,void 0,a)};e.ta=function(){eL.R.ta.call(this);this.NG=this.H();this.W.TP?(this.W.lb(2),this.lY()):this.ka().listen(this.W,"mb",this.lY)};
e.lY=function(){this.hp=this.getContext().get(Iv).Sy();var a={zoom:2,center:new this.hp.LatLng(0,0),mapTypeId:this.hp.MapTypeId.ROADMAP};this.V=new this.hp.Map(this.NG,a);a={};a.layer="docs://"+encodeURIComponent(this.W.Oa());this.wA=new this.hp.KmlLayer(a.layer);(a=this.W.UM())&&this.wA.set("token",a);this.hp.event.addListener(this.wA,"status_changed",t(this.nda,this));this.wA.setMap(this.V);Ar(this.getContext()).listen("resize",t(this.layout,this))};e.Tb=function(){this.layout()};
e.layout=function(){var a=this.zd();Wn(this.NG,a);In(this.NG,this.Pj(a));this.hp.event.trigger(this.V,"resize")};e.nda=function(){this.wA.getStatus()!=this.hp.KmlLayerStatus.OK?(Ar(this.getContext()).ab("resize",t(this.layout,this)),this.W.lb(4,"There was a problem displaying this maps file.")):2==this.W.getState()&&this.W.lb(1)};e.Db=function(){eL.R.Db.call(this);this.W.lb(0)};function fL(a){Hm.call(this,"m",a)}w(fL,Hm);e=fL.prototype;e.Yd=function(a){return et(a)+a.Oa()};e.qe=function(a){return!!a.getName()&&!!a.Oa()};e.kf=function(){return yG(zb(FG.Am))};e.Kf=function(){return[0,3]};e.If=function(){return bL};e.Qi=function(){return eL};e.Zh=function(){return cL};function gL(a){this.S=a;this.nb=a.U();this.MR=Sg();this.LG=!1;null!=this.Sy()&&(this.LG=!0,this.U2())}w(gL,z);gL.prototype.JG=function(){if(!this.LG){this.LG=!0;var a=this.getContext().U();ra(this.$M(),t(this.U2,this),a.getWindow());wA(this.FM(),{timeout:3E4,document:a.Ba}).then(void 0,function(){this.MR.reject()},this)}return this.MR.uf};gL.prototype.U2=function(){this.MR.resolve(this.Sy())};gL.prototype.getContext=function(){return this.S};
gL.prototype.ma=function(){if(this.LG){var a=this.nb.getWindow();ba(this.$M(),null,a)}};function hL(a){gL.call(this,a)}w(hL,gL);hL.prototype.$M=function(){return"onMapsApiReady"};hL.prototype.FM=function(){var a=aj(this.getContext().qa(),iL,68);return(null==L(a,2)?"":L(a,2))+"&callback=onMapsApiReady"};hL.prototype.Sy=function(){return ca("google.maps",this.getContext().U().getWindow())};hL.prototype.JG=function(){return ua(this.FM(),"https://maps.googleapis.com/")?hL.R.JG.call(this):Og()};function Mx(a){H.call(this);this.W=a;this.jY=(a=(this.eu=a.pb.getDetails())?this.eu.XE():null)?new D(a.Kb(),a.getHeight()):null;this.zm=this.eu?Number(this.eu.Pc()):null;this.G2=this.eu?this.eu.pr():null;this.Wa=null}w(Mx,H);e=Mx.prototype;e.bh=function(){return this.W};e.XE=function(){return this.jY};e.e5=function(a){this.jY=a};e.Pc=function(){return this.zm};e.setSize=function(a){this.zm=a};e.Qj=function(){return this.G2};e.Cn=function(a){this.G2=a};function Kx(a,b){z.call(this);this.W=a;this.va=this.$C=0;this.yO=this.w1=null;this.le=oq(b);this.wa=yq(b);this.ha=new K(this);A(this,this.ha);this.ha.listen(this.W,"$a",this.kN)}w(Kx,z);
Kx.prototype.kN=function(a){var b=this.W.hb.Bf,c="za_"+this.W.getId();a=a.$a;switch(b){case 1:a&&pq(this.wa,c,{La:70,$a:a,item:this.W,oj:this.$C});this.$C++;break;case 2:this.wa.Sb[c]?wq(this.wa,c,1):n(a)&&(Fs(this.le,{La:70,$a:a,item:this.W,oj:this.$C}),this.$C++);break;case 0:this.wa.Sb[c]&&wq(this.wa,c,3),n(a)&&Fs(this.le,{La:71,$a:a,item:this.W})}};
function YK(a,b,c,d){J(a.yO);var f=b?1:2;if(d){if(a.yO=I(function(){this.va=0},500,a),a.va==f&&a.w1==c)return}else f=0;a.va=f;a.w1=c;Fs(a.le,{La:b?12:13,$a:c,item:a.W})}Kx.prototype.ma=function(){J(this.yO);var a="za_"+this.W.getId();this.wa.Sb[a]&&wq(this.wa,a,3)};function jL(a,b){this.S=a;this.DE=b}w(jL,z);function kL(a,b){var c=b.Rb(),d=b.cl();return(c=a.DE.getFeature(c,d))&&c.isSupported()?c:null}function Jx(a,b){var c=kL(a,b);return c&&c.qe(b)?c:b.Nd()?0==b.cl()?a.DE.WI.i_d:a.DE.WI.i:a.DE.WI.u}function Ix(a,b){return Jx(a,b).Yd(b)};function lL(a,b,c){this.Sr=a||null;this.re=!!b;this.FY=c;this.V=new qj;this.Wc=new mL("",void 0);this.Wc.next=this.Wc.ij=this.Wc}function nL(a,b){var c=a.V.get(b);c&&a.re&&(c.remove(),oL(a,c));return c}e=lL.prototype;e.get=function(a,b){var c=nL(this,a);return c?c.value:b};e.set=function(a,b){var c=nL(this,a);c?c.value=b:(c=new mL(a,b),this.V.set(a,c),oL(this,c))};e.shift=function(){return pL(this,this.Wc.next)};e.pop=function(){return pL(this,this.Wc.ij)};
e.remove=function(a){return(a=this.V.get(a))?(this.removeNode(a),!0):!1};e.removeNode=function(a){a.remove();this.V.remove(a.key)};e.Nb=function(){return this.V.Nb()};e.isEmpty=function(){return this.V.isEmpty()};e.Zd=function(){return this.map(function(a,b){return b})};e.wc=function(){return this.map(function(a){return a})};e.contains=function(a){return this.some(function(b){return b==a})};e.Wd=function(a){return this.V.Wd(a)};e.clear=function(){qL(this,0)};
e.forEach=function(a,b){for(var c=this.Wc.next;c!=this.Wc;c=c.next)a.call(b,c.value,c.key,this)};e.map=function(a,b){for(var c=[],d=this.Wc.next;d!=this.Wc;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};e.some=function(a,b){for(var c=this.Wc.next;c!=this.Wc;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};e.every=function(a,b){for(var c=this.Wc.next;c!=this.Wc;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
function oL(a,b){a.re?(b.next=a.Wc.next,b.ij=a.Wc,a.Wc.next=b,b.next.ij=b):(b.ij=a.Wc.ij,b.next=a.Wc,a.Wc.ij=b,b.ij.next=b);null!=a.Sr&&qL(a,a.Sr)}function qL(a,b){for(;a.Nb()>b;){var c=a.re?a.Wc.ij:a.Wc.next;a.removeNode(c);a.FY&&a.FY(c.key,c.value)}}function pL(a,b){a.Wc!=b&&a.removeNode(b);return b.value}function mL(a,b){this.key=a;this.value=b}mL.prototype.remove=function(){this.ij.next=this.next;this.next.ij=this.ij;delete this.ij;delete this.next};function rL(a,b){z.call(this);this.mG=a.get(Dv);this.Yn=new sL(b);this.cu=[];this.ky={}}w(rL,z);function Gx(a,b){var c=Ix(a.mG,b);return a.ky[c]||null}function tL(a){for(var b=0;b<a.cu.length;b++){var c=a.cu[b];a.Yn.Wd(c.getId())||c.dispose()}a.cu=[];a.ky={}}function Ox(a){var b=uL(a.Yn);Mb(b,function(a,b){this.ky[b]||a.dispose()},a)}rL.prototype.ma=function(){rL.R.ma.call(this);this.Yn.clear();tL(this);Ox(this)};function sL(a){lL.call(this,a,!0);this.eB={}}w(sL,lL);
sL.prototype.set=function(a,b){sL.R.set.call(this,a,b);this.eB[a]&&delete this.eB[a]};sL.prototype.removeNode=function(a){sL.R.removeNode.call(this,a);a=a.value;this.eB[a.getId()]=a};function uL(a){var b=a.eB;a.eB={};return b};function vL(a){a=a.qa();a=new BA(pi(a).EM(),a.sg()||"0",pi(a).Hu());a.init();return a};function wL(a){return new ni(a)};function xL(a,b){z.call(this);this.W=a;this.S=b;this.wa=yq(b);var c=this.S.qa(),d=aj(c,yL,71),f=d.EM(),c=c.sg()||"0",d=null==L(d,2)?"":L(d,2);this.Jc=new BA(f,c,d,void 0,!0,void 0,!0);this.Jc.init();A(this,this.Jc);this.Hv=null}w(xL,z);
xL.prototype.fetch=function(){if(this.Hv)return this.Hv;var a=this.W.pb,b=aj(a,zL,35)&&aj(aj(a,zL,35),AL,1)&&aj(aj(a,zL,35),AL,1).Zaa()||'""',c=aj(this.S.qa(),yL,71),a=ei(BL(c)+"/metadata","docId",a.Oa(),"revisionId",b,"docosJsUrl",!0,"anchorMap",!1),d="bml_"+this.W.getId();pq(this.wa,d,{La:94});this.Hv=Ph(new Mh(this.Jc,a,void 0),3).start().then(function(a){wq(this.wa,d,1);a=a.docosJsUrl;return qi(this.S,vv).load(a)},function(a){wq(this.wa,d,a instanceof Yg?3:2);throw a;},this);Xg(this.Hv,p);qc(this,
function(){this.Hv.cancel()},this);return this.Hv};function CL(a){z.call(this);this.S=a;this.zq=[];this.am=[];this.aD=[];this.ha=new K(this);A(this,this.ha);a=Z(this.S);this.ha.listen(a,"ea",this.Ib).listen(a,"ga",this.Km).listen(a,"fa",this.Ti).listen(a,"ha",this.Ar);Lx(this.S.qa())&&this.ha.listen(Gr(this.S),"Ca",this.Jm)}w(CL,z);e=CL.prototype;
e.Ib=function(){for(var a=Z(this.S).Fe,b=Math.min(a+1,this.zq.length-1),c=this.S.qa(),d=Gr(this.S).eg,f=a;f<=b;f++){var g=this.zq[f],h=this.am[f];if(g)if(f==a)g.fetch();else{var k=hC(1,2);g.fetch(k)}if(h&&Lx(c)&&(f==a||d)){g=Em.TJ|Em.YJ;k=c;if((null==L(k,41)?0:L(k,41))||d)g|=Em.QJ;h.fetch(g)}(h=this.aD[f])&&h.fetch()}};e.Km=function(a){a=a.p4;this.am[a]&&this.am[a].Dg();xb(this.aD,a);xb(this.am,a);xb(this.zq,a)};
e.Ti=function(){for(var a=this.zq.length,a=Cb(Z(this.S).dz(),a),b=this.zq,c=[],d=0;d<a.length;d++){var f=a[d],g=f.r1,h=f.getFeature().Zh();!g&&h&&(h=g=new h(f,this.S),f.r1=h,A(f,h));c[d]=g}Ab(b,c);b=this.am;c=[];for(d=0;d<a.length;d++)g=a[d],f=null,(h=g.Mb)&&Nx(g)&&(f=new (g.getFeature().uZ())(g,this.S),A(h.Wa,f)),c[d]=f;Ab(b,c);if(Kz(this.S.qa())){b=this.aD;c=[];for(d=0;d<a.length;d++)f=a[d],g=f.xD,g||Yw(f.Rb())||!Nx(f)||(h=g=new xL(f,this.S),f.xD=h,A(f,h)),c[d]=g;Ab(b,c)}};
e.Ar=function(){this.zq=[];this.aD=[];for(var a=0;a<this.am.length;a++){var b=this.am[a];b&&b.Dg()}this.am=[]};e.Jm=function(){if(Gr(this.S).eg)for(var a=Z(this.S).Fe,b=Math.min(a+1,this.zq.length-1);a<=b;a++){var c=this.am[a];c&&c.fetch(Em.TJ|Em.QJ|Em.YJ)}};function DL(){var a=we("CANVAS");this.Va=a&&a.getContext&&a.getContext("2d");this.Faa=!1}function EL(a){a.Va.beginPath();a.Va.moveTo(10,10);a.Va.lineTo(20,30);a.Va.bezierCurveTo(70,80,0,60,25,15);a.Va.closePath();a.Va.fill()}function FL(a,b){var c=u(),d;for(d=0;d<b&&!(8<u()-c);d++)EL(a);return(u()-c)/d};function GL(){H.call(this);this.Qm={};this.xx=[]}w(GL,H);function HL(a,b){var c=a.Qm;a.Qm={};for(var d=[],f=[],g=0;g<b.length;g++){var h=b[g],k=h.getId();c[k]||d.push(k);h.bi()&&f.push(k);delete c[k];a.Qm[k]=h}c=Tb(c);(0<d.length||0<f.length||0<c.length)&&a.dispatchEvent(new IL(d,f,c))}function JL(a,b){a.xx=b;a.dispatchEvent("nb")}function IL(a,b,c){G.call(this,"ob");this.$V=a;this.changed=b;this.removed=c}w(IL,G);function KL(){}w(KL,jE);da(KL);KL.prototype.Ma=function(){return iq.Ra().Ma()};function LL(a,b){Cp.call(this,b);this.nh=a||""}var ML;w(LL,Cp);e=LL.prototype;e.Wk=null;e.Fga=10;function NL(){null!=ML||(ML="placeholder"in document.createElement("INPUT"));return ML}e.Vu=!1;e.ra=function(){this.$=this.U().ra("INPUT",{type:"text"})};e.dc=function(a){LL.R.dc.call(this,a);this.nh||(this.nh=a.getAttribute("label")||"");Ye(je(a))==a&&(this.Vu=!0,pn(this.H(),this.rA));NL()&&(this.H().placeholder=this.nh);kh(this.H(),"label",this.nh)};
e.ta=function(){LL.R.ta.call(this);var a=new K(this);a.listen(this.H(),"focus",this.yr);a.listen(this.H(),"blur",this.oN);NL()?this.Fa=a:(Kd&&a.listen(this.H(),["keypress","keydown","keyup"],this.Dca),a.listen(ve(je(this.H())),"load",this.Cfa),this.Fa=a,OL(this));this.Bj();this.H().Ega=this};e.Db=function(){LL.R.Db.call(this);this.Fa&&(this.Fa.dispose(),this.Fa=null);this.H().Ega=null};function OL(a){!a.Haa&&a.Fa&&a.H().form&&(a.Fa.listen(a.H().form,"submit",a.Pca),a.Haa=!0)}
e.ma=function(){LL.R.ma.call(this);this.Fa&&(this.Fa.dispose(),this.Fa=null)};e.rA="label-input-label";e.yr=function(){this.Vu=!0;pn(this.H(),this.rA);if(!NL()&&!this.bi()&&!this.EO){var a=this,b=function(){a.H()&&(a.H().value="")};E?I(b,10):b()}};e.oN=function(){NL()||(this.Fa.ab(this.H(),"click",this.yr),this.Wk=null);this.Vu=!1;this.Bj()};e.Dca=function(a){27==a.keyCode&&("keydown"==a.type?this.Wk=this.H().value:"keypress"==a.type?this.H().value=this.Wk:"keyup"==a.type&&(this.Wk=null),a.preventDefault())};
e.Pca=function(){this.bi()||(this.H().value="",I(this.jba,10,this))};e.jba=function(){this.bi()||(this.H().value=this.nh)};e.Cfa=function(){this.Bj()};e.hasFocus=function(){return this.Vu};e.bi=function(){return!!this.H()&&""!=this.H().value&&this.H().value!=this.nh};e.clear=function(){this.H().value="";null!=this.Wk&&(this.Wk="")};e.reset=function(){this.bi()&&(this.clear(),this.Bj())};e.qb=function(a){null!=this.Wk&&(this.Wk=a);this.H().value=a;this.Bj()};
e.Ga=function(){return null!=this.Wk?this.Wk:this.bi()?this.H().value:""};e.getLabel=function(){return this.nh};e.Bj=function(){var a=this.H();NL()?this.H().placeholder!=this.nh&&(this.H().placeholder=this.nh):OL(this);kh(a,"label",this.nh);this.bi()?(a=this.H(),pn(a,this.rA)):(this.EO||this.Vu||(a=this.H(),W(a,this.rA)),NL()||I(this.Kka,this.Fga,this))};e.setEnabled=function(a){this.H().disabled=!a;rn(this.H(),this.rA+"-disabled",!a)};e.isEnabled=function(){return!this.H().disabled};
e.Caa=function(){this.EO=!1};e.Kka=function(){!this.H()||this.bi()||this.Vu||(this.H().value=this.nh)};function PL(){return U('<div class="drive-viewer-ui-text-highlightset"></div>')}function QL(){return U('<div class="drive-viewer-ui-text-highlight"></div>')}
function RL(){return U('<div class="drive-viewer-ui-text-searchbar"><div class="drive-viewer-ui-text-searchbar-container"><div class="drive-viewer-ui-text-searchbar-input-container"><input class="drive-viewer-ui-text-searchbar-input"></input></div><div class="drive-viewer-ui-text-searchbar-count-container"><span class="drive-viewer-ui-text-searchbar-count"></span></div></div><div class="drive-viewer-ui-text-searchbar-prev drive-viewer-icon drive-viewer-ui-text-searchbar-btn"></div><div class="drive-viewer-ui-text-searchbar-next drive-viewer-icon drive-viewer-ui-text-searchbar-btn"></div><div class="drive-viewer-ui-text-searchbar-close drive-viewer-icon drive-viewer-ui-text-searchbar-btn"></div></div>')};function SL(a){Y.call(this,a);a=this.U();this.Bc=new jq(a,KL.Ra());this.Aa(this.Bc);this.sh=new jq(a,KL.Ra());this.Aa(this.sh);this.yh=new jq(a,KL.Ra());this.Aa(this.yh);this.Ks=new LL("Find in document",a);this.Aa(this.Ks);this.$o=this.cy=null}w(SL,Y);e=SL.prototype;e.ra=function(){this.$=S(RL,void 0,void 0,this.U())};
e.ta=function(){SL.R.ta.call(this);this.cy=this.ua("drive-viewer-ui-text-searchbar-count");this.Bc.Na(this.ua("drive-viewer-ui-text-searchbar-close"));this.sh.Na(this.ua("drive-viewer-ui-text-searchbar-next"));this.yh.Na(this.ua("drive-viewer-ui-text-searchbar-prev"));this.Ks.Na(this.ua("drive-viewer-ui-text-searchbar-input"));this.sh.mb("Find next");this.yh.mb("Find previous");this.Bc.mb("Close find bar");rs(this.Bc.H(),this.U());TL(this,!1);sh(this.$,!0);this.ka().listen(this.Bc,"action",this.Hba).listen(this.sh,
"action",this.Ida).listen(this.yh,"action",this.uea);this.OT()};function TL(a,b){var c=a.U();c.pe(a.Bc.H(),b);c.pe(a.sh.H(),b);c.pe(a.yh.H(),b);a.Ks.H().tabIndex=b?0:-1}e.OT=function(){this.$o=new yo(this.H());this.$o.mW=!0;this.$o.sK=!1;this.$o.BB("esc",27);this.$o.BB("next",13);this.$o.BB("prev",[13,Do.wq]);this.$o.BB("fake",[67,Nd?Do.Qn:Do.Pn]);this.ka().listen(this.$o,"shortcut",this.Yea)};e.Ca=function(){return nn(this.$,"drive-viewer-ui-text-searchbar-show")};
e.show=function(a){var b=this.$;W(b,"drive-viewer-ui-text-searchbar-show");sh(b,!1);TL(this,!0);var b=this.Ks,c=b.bi();b.EO=!0;b.H().focus();c||NL()||(b.H().value=b.nh);b.H().select();NL()||(b.Fa&&b.Fa.Fb(b.H(),"click",b.yr),I(b.Caa,10,b));b=this.getContext();GB(Gr(b),!0);Fs(oq(b),{La:64,$a:Lo(a)})};function UL(a,b){Fs(oq(a.getContext()),{La:66,$a:Lo(b)});VL(a,!1)}function WL(a,b){Fs(oq(a.getContext()),{La:67,$a:Lo(b)});VL(a,!0)}
e.Yea=function(a){var b=a.target==this.Ks.H();switch(a.identifier){case "esc":this.hide(a);break;case "next":b&&UL(this,a);break;case "prev":b&&WL(this,a)}};e.Hba=function(a){this.hide(a)};e.Ida=function(a){UL(this,a)};e.uea=function(a){WL(this,a)};function XL(a,b,c){a.U().Uf(a.cy,mr(b,c));rn(a.cy,"drive-viewer-ui-text-searchbar-count-zero",!c)}function VL(a,b){var c=a.Ks.Ga();c&&a.dispatchEvent(new YL(c,b))}
e.hide=function(a){var b=this.$;this.Ks.reset();this.U().Uf(this.cy,"");pn(this.cy,"drive-viewer-ui-text-searchbar-count-zero");pn(b,"drive-viewer-ui-text-searchbar-show");sh(b,!0);TL(this,!1);b=this.getContext();GB(Gr(b),!1);Fs(oq(b),{La:65,$a:Lo(a)});this.dispatchEvent("pb")};function YL(a,b){G.call(this,"qb");this.value=a;this.MW=b}w(YL,G);function ZL(){this.gv=[]}ZL.prototype.setInterval=function(a,b,c){this.gv[2*a]=b;this.gv[2*a+1]=c};ZL.prototype.findIndex=function(a,b){var c=b,d;do{d=c;var f=this.gv[2*c-1],g=this.gv[2*c+2],c=c+(n(f)&&f>a?-1:n(g)&&a>g?1:0)}while(c!=d);return c};function $L(a){this.Ad=a}$L.prototype.Kb=function(){return this.Ad.naturalWidth};$L.prototype.getHeight=function(){return this.Ad.naturalHeight};$L.prototype.Pi=function(){return this.Ad};function aM(a,b){this.tc=a;this.zR=b}aM.prototype.getUrl=function(){return this.tc};aM.prototype.Fm=function(){return this.zR};function bM(a){var b=a;if(a instanceof Array)b=Array(a.length),cM(b,a);else if(a instanceof Object){var c=b={},d;for(d in a)a.hasOwnProperty(d)&&(c[d]=bM(a[d]))}return b}function cM(a,b){for(var c=0;c<b.length;++c)b.hasOwnProperty(c)&&(a[c]=bM(b[c]))}function dM(a,b){a!==b&&(a.length=0,b&&(a.length=b.length,cM(a,b)))}function eM(a,b){a[b]||(a[b]=[]);return a[b]}function fM(a,b){return a[b]?a[b].length:0};function gM(a){this.Qa=a||[]}function hM(a){this.Qa=a||[]}function iM(a){this.Qa=a||[]}function jM(a){this.Qa=a||[]}function kM(a){this.Qa=a||[]}function lM(a){this.Qa=a||[]}function mM(a){this.Qa=a||[]}e=gM.prototype;e.Nk=function(a){dM(this.Qa,a?a.Sc():null)};e.Sc=function(){return this.Qa};e.eh=function(){var a=this.Qa[0];return null!=a?a:0};e.LI=function(a){this.Qa[0]=a};e.Jf=function(){var a=this.Qa[1];return null!=a?a:0};e.LS=function(a){this.Qa[1]=a};
e.getHeight=function(){var a=this.Qa[2];return null!=a?a:0};e.Sd=function(a){this.Qa[2]=a};e.Kb=function(){var a=this.Qa[3];return null!=a?a:0};e.Ed=function(a){this.Qa[3]=a};e=hM.prototype;e.Nk=function(a){dM(this.Qa,a?a.Sc():null)};e.Sc=function(){return this.Qa};e.getUrl=function(){var a=this.Qa[0];return null!=a?a:""};e.setUrl=function(a){this.Qa[0]=a};e.getType=function(){var a=this.Qa[2];return null!=a?a:1};e.Dn=function(a){this.Qa[2]=a};var nM=new gM;
hM.prototype.Oj=function(){var a=this.Qa[1];return a?new gM(a):nM};e=iM.prototype;e.Nk=function(a){dM(this.Qa,a?a.Sc():null)};e.Sc=function(){return this.Qa};e.lO=function(){return null!=this.Qa[1]};e.getText=function(){var a=this.Qa[1];return null!=a?a:""};e.tT=function(a){this.Qa[1]=a};var oM=new gM;iM.prototype.Oj=function(){var a=this.Qa[0];return a?new gM(a):oM};jM.prototype.Nk=function(a){dM(this.Qa,a?a.Sc():null)};jM.prototype.Sc=function(){return this.Qa};var pM=new gM;
jM.prototype.Oj=function(){var a=this.Qa[0];return a?new gM(a):pM};function qM(a,b){return new iM(eM(a.Qa,1)[b])}kM.prototype.Nk=function(a){dM(this.Qa,a?a.Sc():null)};kM.prototype.Sc=function(){return this.Qa};var rM=new gM;kM.prototype.Oj=function(){var a=this.Qa[0];return a?new gM(a):rM};function sM(a,b){return new jM(eM(a.Qa,1)[b])}lM.prototype.Nk=function(a){dM(this.Qa,a?a.Sc():null)};lM.prototype.Sc=function(){return this.Qa};lM.prototype.$Q=function(){return fM(this.Qa,2)};
lM.prototype.fz=function(a){return new kM(eM(this.Qa,2)[a])};e=mM.prototype;e.Nk=function(a){dM(this.Qa,a?a.Sc():null)};e.Sc=function(){return this.Qa};e.Kb=function(){var a=this.Qa[1];return null!=a?a:0};e.Ed=function(a){this.Qa[1]=a};e.getHeight=function(){var a=this.Qa[2];return null!=a?a:0};e.Sd=function(a){this.Qa[2]=a};e.$Q=function(){return fM(this.Qa,3)};e.fz=function(a){return new kM(eM(this.Qa,3)[a])};e.d_=function(a){return new lM(eM(this.Qa,4)[a])};
e.getLinks=function(a){return new hM(eM(this.Qa,5)[a])};function tM(a){z.call(this);this.G4=a?uM(a.concat(),0):null}w(tM,z);var vM=[function(a,b){return Fb(a.left,b.left)},function(a,b){return Fb(a.top,b.top)},function(a,b){return Fb(a.left+a.width,b.left+b.width)},function(a,b){return Fb(a.top+a.height,b.top+b.height)}];tM.prototype.qu=function(a){var b=[];this.G4&&this.G4.qu(a,b);return b};
function uM(a,b){if(5<a.length){Gb(a,vM[b]);var c=Math.floor(a.length/2),d=a.splice(c,a.length-c),f=(b+1)%vM.length,c=uM(a,f),d=uM(d,f);return new wM([c,d],!1)}return new wM(a,!0)}
function wM(a,b){if(0==a.length)throw Error("children must not be empty");if(5<a.length)throw Error("children must be shorter than MAX_LEAVES_");if(!b&&2!=a.length)throw Error("non-leaf node must have two children");wn.call(this,a[0].left,a[0].top,a[0].width,a[0].height);for(var c=1;c<a.length;c++)An(this,a[c]);this.Zb=a;this.oga=b}w(wM,wn);
wM.prototype.qu=function(a,b){var c=this.Zb.length;if(this.oga)for(var d=0;d<c;d++)a.intersects(this.Zb[d])&&b.push(this.Zb[d]);else for(d=0;d<c;d++)a.intersects(this.Zb[d])&&this.Zb[d].qu(a,b)};function xM(a,b,c,d,f){wn.call(this,a,b,c,d);this.Pf=f}w(xM,wn);function yM(a){if(0==a.length)return null;for(var b=new zj("(?:"),c=0;c<a.length;c++)b.append(Ua(a.charAt(c)));b.append("|");for(c=0;c<a.length;c++)b.append("(?:").append(Ua(a.charAt(c)));for(c=0;c<a.length-1;c++)b.append(")?");b.append(")(-?)$)");return new RegExp(b.toString(),"g")}
xM.prototype.search=function(a,b){var c=[];if(0==a.length)return c;b||(b=yM(a));for(var d=0;d<this.Pf.length;d++)for(var f=this.Pf[d],g;g=b.exec(f.text);){var h=g[0].length-(g[1]?g[1].length:0),k=Ca(a.slice(h));g=[zM(this,d,g.index,h)];for(var m=d+1;m<this.Pf.length&&k;m++){var q=this.Pf[m].text,h=Math.min(q.length-(va(q,"-")?1:0),k.length);if(q.slice(0,h)==k.slice(0,h))g.push(zM(this,m,0,h)),k=Ca(k.slice(h));else break}""==k&&c.push(g)}return c};
function zM(a,b,c,d){a=a.Pf[b];if(!a)return null;b=a.text;var f=a.hV.split(","),f=mb(f,function(a){return parseInt(a,10)}),g=AM(c,b,f);return new wn(g,a.top,AM(c+d,b,f)-g,a.height)}function AM(a,b,c){var d=b.lastIndexOf(" ",a-1)+1,f=b.substring(0,d).split(" ").length-1,g=2*f;return parseInt(c[g],10)+parseInt(c[g+1],10)*(a-d)/b.split(" ")[f].length};function BM(a,b,c,d,f,g){wn.call(this,a,b,c,d);this.hV=f;this.zp=g;this.text=xa(g.toLowerCase())}w(BM,wn);function CM(a,b){var c=a.Du(),d=b.Du(),f=Fb(c.top,d.top);return f?f:Fb(c.left,d.left)};function DM(a,b,c){this.rq=[];this.PC=fM(b.Qa,1);for(var d=0;d<this.PC;d++)this.rq.push(qM(b,d));b=b.Oj();for(var d="",f=0;f<this.PC;f++)0!=f&&(d+=" "),d+=this.rq[f].getText();BM.call(this,b.Jf(),b.eh(),b.Kb(),b.getHeight(),"",d);this.vd=a;this.Sa=cb();this.Qz=!1;this.Om=this.left;this.Pm=this.width;this.selectionText=this.zp;this.BU=c}w(DM,BM);e=DM.prototype;e.getId=function(){return this.Sa};e.XB=function(a){this.Qz=a};e.bi=function(){return this.Qz};
e.Fm=function(){return new wn(this.Om/this.vd.width,this.top/this.vd.height,this.Pm/this.vd.width,this.height/this.vd.height)};e.getData=p;
e.HI=function(a,b,c){for(var d=-1,f=-1,g=0;g<this.PC;g++){var h=this.rq[g].Oj();h.Jf()+h.Kb()>=a.left&&-1==d&&(d=g);h.Jf()<=a.left+a.width&&(f=g)}if(!b||a.top<this.top)d=0;if(!c||a.top+a.height>this.top+this.height)f=this.PC-1;0>d&&(d=0);0>f&&(f=this.PC-1);a=this.rq[d].Oj().Jf();b=this.rq[f].Oj().Jf()+this.rq[f].Oj().Kb();this.Om=a;this.Pm=Math.max(0,b-a);if(f<d)this.selectionText="";else for(this.selectionText=this.rq[d].getText(),g=d+1;g<=f;g++)this.selectionText+=" ",this.selectionText+=this.rq[g].getText()};
e.v4=function(){if(this.Om==this.left&&this.Pm==this.width)return!1;this.Om=this.left;this.Pm=this.width;this.selectionText=this.zp;return!0};e.Du=function(){return this};function EM(a){this.ew=a}EM.prototype.f_=function(){return this.ew.$Q()};EM.prototype.e_=function(a){return fM(this.ew.fz(a).Qa,1)};EM.prototype.getText=function(a,b){for(var c=sM(this.ew.fz(a),b),d=new zj,f=fM(c.Qa,1),g=0;g<f;g++)0!=g&&d.append(" "),d.append(qM(c,g).getText());return d.toString()};EM.prototype.j_=function(a){var b=this.ew.Kb(),c=this.ew.getHeight();a=this.ew.fz(a).Oj();return new wn(Math.max(a.Jf()/b,0),Math.max(a.eh()/c,0),a.Kb()/b,a.getHeight()/c)};function FM(a,b,c){BM.call(this,b.left,b.top,b.width,b.height,b.hV,b.zp);this.vd=a;this.Sa=cb();this.Qz=!1;this.Om=b.left;this.Pm=b.width;this.selectionText=b.zp;this.BU=c}w(FM,BM);e=FM.prototype;e.getId=function(){return this.Sa};e.XB=function(a){this.Qz=a};e.bi=function(){return this.Qz};e.Fm=function(){return new wn(this.Om/this.vd.width,this.top/this.vd.height,this.Pm/this.vd.width,this.height/this.vd.height)};e.getData=p;
e.HI=function(a,b,c){var d=nb(this.hV.split(","),function(a,b,c){b=parseInt(b,10);0==c%2?a.push({left:b}):(c=a[(c-1)/2],c.right=c.left+b);return a},[]);b=b&&a.top>=this.top?rb(d,function(b){return b.right>=a.left}):0;0>b&&(b=0);var f=a.left+a.width,g=a.top+a.height,h=this.top+this.height;c=c&&g<=h?sb(d,function(a){return a.left<=f}):d.length-1;0>c&&(c=d.length-1);g=d[b].left;d=d[c].right;this.Om=g;this.Pm=Math.max(0,d-g);this.selectionText=c<b?"":(d=(new RegExp("^(?:\\S+\\s+){"+b+"}((?:\\S+\\s+){"+
(c-b)+"}\\S+)")).exec(this.zp))?d[1]:this.zp};e.v4=function(){if(this.Om==this.left&&this.Pm==this.width)return!1;this.Om=this.left;this.Pm=this.width;this.selectionText=this.zp;return!0};e.Du=function(){return this};function GM(a,b){this.vH=a;this.Ap=b}GM.prototype.f_=function(){return this.Ap.length};GM.prototype.e_=function(a){return this.Ap[a]&&this.Ap[a].Pf?this.Ap[a].Pf.length:0};GM.prototype.getText=function(a,b){return this.Ap[a].Pf[b]?this.Ap[a].Pf[b].zp:""};GM.prototype.j_=function(a){if(!this.Ap[a])return new wn(0,0,0,0);a=this.Ap[a];return new wn(Math.max(a.left/this.vH.width,0),Math.max(a.top/this.vH.height,0),a.width/this.vH.width,a.height/this.vH.height)};function HM(a,b){H.call(this);this.D3=b;this.W=a;this.NB=new GL;A(this,this.NB);this.lj=new GL;A(this,this.lj);this.jj=this.He=this.vd=this.fp=null;this.XQ=0;this.Pk=this.eJ=this.nj=this.uB=null;this.gP=this.dE=!1}w(HM,H);function IM(a){var b=a.D3+1;return a.W.li?(a=a.W.Qj(),"Page "+(lr.format(b)+(" of "+lr.format(a)))):"Page "+lr.format(b)}function JM(a,b){return new wn(b.Jf()/a.vd.width,b.eh()/a.vd.height,b.Kb()/a.vd.width,b.getHeight()/a.vd.height)}e=HM.prototype;
e.qu=function(a){return this.nj?this.nj.qu(a):[]};function KM(a,b,c){a.dE=!1;a.He=b;a.XQ=0;a.gP=c;LM(a);a.dispatchEvent("sb")}e.Rz=function(){return!!this.Pk};function LM(a){var b=a.Pk;if(a.He){var c=a.He;a.Pk=new D(c.Kb(),c.getHeight())}else a.vd?a.Pk=a.vd.Pc():a.eJ&&(a.Pk=a.eJ);a.Pk&&!Cd(a.Pk,b)&&a.dispatchEvent("rb")}e.setLinks=function(a){this.fp=a;this.dispatchEvent("tb")};e.getLinks=function(){return this.fp};e.getItem=function(){return this.W};function MM(){GG.call(this);this.OC=this.level=this.vL=800;LG(this,new Km(800,2E3))}w(MM,GG);var NM={aK:"xb"},OM={S8:800,ara:1200,bra:1600,R8:2E3};e=MM.prototype;e.g1=function(){return!0};e.mz=function(){return this.OC};e.KT=function(a){this.OC!=a&&(this.OC=a,LG(this,new Km(Math.min(OM.S8,a),Math.max(OM.R8,a))),this.dispatchEvent("xb"))};e.v6=function(){this.uu=2==this.uu?0:2;this.dispatchEvent(new NG(void 0))};
function PM(a){switch(a.uu){case 1:return Math.min(a.level,a.OC);case 2:return a.OC;default:return a.level}}e.oz=function(){return PM(this)};function QM(a,b){iC.call(this,a,b);this.$b=[];RM(this);this.po=null;this.Bt=0;this.pt=new Km(0,0);this.hb=new MM;A(this,this.hb);this.hb.Fg(this);qg(this.Ri(0),"sb",this.lma,!1,this)}w(QM,iC);var SM={I7:"yb",CV:"zb",L8:"Ab",O8:"Bb"};function TM(a){return 0<a.$b.length&&(a=a.Ri(0),a.Rz())?a.Pk.clone():null}e=QM.prototype;e.lma=function(){var a=TM(this);if(a)for(var b=0;b<this.$b.length;b++){var c=this.$b[b];c.eJ=a;LM(c)}};
e.Cn=function(a){for(var b=TM(this);this.$b.length<a;)RM(this,b);for(;this.$b.length>a;)b=this.$b.pop(),rc(b);for(b=0;b<this.$b.length;b++){var c=this.$b[b];c.dE=!0;c.fp=null;c.jj=null}QM.R.Cn.call(this,a)};function RM(a,b){var c=new HM(a,a.$b.length);c.Fg(a);null!=b&&(c.eJ=b,LM(c));A(a,c);a.$b.push(c)}e.Ri=function(a){return this.$b[a]};e.pr=function(){return this.$b};e.Uv=function(a,b){var c=this.Ri(a);c.XQ=b?1:2;c.dispatchEvent("ub")};e.eF=function(){return this.$b.length};
function UM(a){return a.li?ob(a.$b,function(a){return!!a.nj}):!1};function VM(a,b,c){a=a||{};c=c||{};null==a.C3||fa(a.C3);a=a.C3;b='<div class="drive-viewer-paginated drive-viewer-itemview"><textarea class="drive-viewer-paginated-textarea" aria-hidden="true" tabindex="-1"></textarea><div class="drive-viewer-paginated-scrollable drive-viewer-scrollable" tabindex="-1"><div class="drive-viewer-paginated-pages" role="document">';if(a)for(var d=a.length,f=0;f<d;f++)b+=WM({imageUrl:a[f]},0,c);b+='</div><span class="drive-viewer-paginated-tab-sentinel" tabindex="0"></span></div><div class="drive-viewer-gradient-top" style="'+
(c.bc?"/*"+c.bc+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-rgt" style="'+(c.bc?"/*"+c.bc+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-bottom" style="'+(c.bc?"/*"+c.bc+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-lft" style="'+(c.bc?"/*"+c.bc+"*/":"")+'display: none;"></div></div>';return U(b)}
function WM(a,b,c){a=a||{};b=U;var d;if(a.imageUrl){d=U;a=a.imageUrl;var f=nl("drive-viewer-paginated-page-img");c=c||{};c=U('<img class="'+wl(f)+'" src="'+wl(Cl(a))+'" onerror="'+(c.bc?"/*"+c.bc+"*/":"")+"this['_preloadFailed']=true\"></img>");d=d(T(c))}else d="";return b('<div class="drive-viewer-paginated-page"><div class="drive-viewer-paginated-page-links drive-viewer-focus-to-default"></div><div class="drive-viewer-paginated-page-reader-content-container"></div>'+d+"</div>")}
function XM(a){return U('<div class="drive-viewer-paginated-page-error-page drive-viewer-focus-to-default"><div class="drive-viewer-paginated-page-error-msg">'+T(ju(a))+"</div></div>")}function YM(){return U('<div class="drive-viewer-page-count drive-viewer-page-count-hidden"><div class="drive-viewer-page-count-text"></div></div>')};function ZM(a,b){Y.call(this,b);this.W=a;this.B3=null}w(ZM,Y);e=ZM.prototype;e.ra=function(){this.$=S(YM,void 0,void 0,this.U())};e.ta=function(){ZM.R.ta.call(this);this.B3=this.ua("drive-viewer-page-count-text");var a=Z(this.getContext());this.W.li?$M(this):this.ka().listen(this.W,"Ha",this.cea);this.ka().listen(this.W,SM.CV,this.SN).listen(a,"ea",this.Ib)};e.SN=function(){$M(this)};e.cea=function(){$M(this)};e.Ib=function(){Z(this.getContext()).Ea()==this.W&&this.W.li&&$M(this)};
function $M(a){var b=a.H(),c=a.W.Bt+1,d=a.W.Qj();a.U().Uf(a.B3,mr(c,d));tn(b,"drive-viewer-page-count-hidden","drive-viewer-page-count-active");J(a.Ec);a.Ec=I(function(){tn(b,"drive-viewer-page-count-active","drive-viewer-page-count-hidden")},2500,a)};function aN(a,b,c){Y.call(this,c);this.Wz=a;this.Ii=b;this.Vz={};this.bD=[]}w(aN,Y);aN.prototype.ra=function(){this.$=S(PL,void 0,void 0,this.U());W(this.H(),this.Ii)};aN.prototype.ta=function(){aN.R.ta.call(this);this.ka().listen(this.Wz,"nb",this.kN).listen(this.Wz,"ob",this.xba)};
aN.prototype.xba=function(a){for(var b=this.U(),c=0;c<a.$V.length;c++){var d=a.$V[c],f=S(QL,void 0,void 0,this.U()),g=this.Wz.Qm[d].Fm();In(f,100*g.left+"%",100*g.top+"%");Wn(f,100*g.width+"%",100*g.height+"%");b.appendChild(this.H(),f);this.Vz[d]=f}for(c=0;c<a.changed.length;c++)d=a.changed[c],f=this.Vz[d],g=this.Wz.Qm[d].Fm(),In(f,100*g.left+"%",100*g.top+"%"),Wn(f,100*g.width+"%",100*g.height+"%");for(c=0;c<a.removed.length;c++)d=a.removed[c],b.removeNode(this.Vz[d]),delete this.Vz[d]};
aN.prototype.kN=function(){for(var a=0;a<this.bD.length;a++){var b=this.bD[a];pn(b,"drive-viewer-ui-text-highlight-active")}this.bD=[];for(var c=this.Wz.xx,a=0;a<c.length;a++)b=this.Vz[c[a].getId()],W(b,"drive-viewer-ui-text-highlight-active"),this.bD.push(b)};function bN(a,b){Y.call(this,b);this.page=a;this.Q4=new aN(this.page.NB,"drive-viewer-ui-text-selection",b);this.Aa(this.Q4);this.M4=new aN(this.page.lj,"drive-viewer-ui-text-search",b);this.Aa(this.M4);this.Vk=this.ep=this.Xg=null;this.AQ=new xj;this.YH=this.Il=this.pm=null}w(bN,Y);e=bN.prototype;e.ra=function(){this.$=S(WM,void 0,void 0,this.U());this.Mp()};e.dc=function(a){bN.R.dc.call(this,a);this.Mp()};e.Mp=function(){this.Q4.Ka(this.H());this.M4.Ka(this.H())};
e.ta=function(){bN.R.ta.call(this);this.ep=this.ua("drive-viewer-paginated-page-links");this.YH=this.ua("drive-viewer-paginated-page-reader-content-container");this.page.He?this.V0():cN(this);this.page.Rz()&&this.b0();this.ka().listen(this.page,"sb",this.tF).listen(this.page,"rb",this.b0).listen(this.page,"ub",this.tda);this.page.fp&&this.zx();this.ka().listen(this.page,"tb",this.zx)};e.V0=function(){dN(this)};e.tda=function(){cN(this)};e.tF=function(){dN(this)};
e.iI=function(){null!=this.pm&&(this.Xg&&this.Xg.stop(),this.H().removeChild(this.pm),this.pm=null)};function dN(a,b){a.Xg&&a.Xg.stop();var c=a.H(),d=null!=a.pm;d&&a.AQ.add(a.pm);eN(a);var f;(f=b)||(f=a.page.He.Pi(),W(f,"drive-viewer-paginated-page-img"),th(f,IM(a.page)),sh(f,!0));a.pm=f;c.appendChild(a.pm);d&&(a.Xg=kz(a.pm,.218),a.ka().Fb(a.Xg,"end",a.yN),a.Xg.play())}e.Rz=function(){return this.page.Rz()};
e.b0=function(){var a=this.page.Pk.clone();this.H().style.paddingBottom=0<a.width?100/(a.width/a.height)+"%":"0px"};function cN(a){var b=a.page.XQ;if(!a.page.He&&0!=b){var c=a.U();eN(a);a.Vk=S(XM,{ku:"Whoops!",error:1==b?"There was a problem loading this page. Retrying...":"There was a problem loading this page."},void 0,c);c.appendChild(a.H(),a.Vk)}}function eN(a){var b=a.ua("drive-viewer-paginated-page-error-page");b&&a.U().removeNode(b)}
e.zx=function(){var a=this.U(),b=this.page.getLinks();a.fe(this.ep);for(var c=!1,d=0;d<b.length;d++){var f=b[d].getUrl(),g=null;try{g=S(nu,{url:f},void 0,a)}catch(h){continue}c=b[d].Fm();In(g,100*c.left+"%",100*c.top+"%");Wn(g,100*c.width+"%",100*c.height+"%");a.appendChild(this.ep,g);this.ka().listen(g,"click",this.JN);c=!0}c&&this.dispatchEvent("Cb")};function fN(a){a.U();a=a.ep;return n(a.lastElementChild)?a.lastElementChild:Fe(a.lastChild,!1)}
e.yN=function(){for(var a=this.U(),b=this.AQ.wc(),c=0;c<b.length;c++){var d=b[c];a.removeNode(d);this.kY(d)}this.AQ.clear();this.Xg=null};e.JN=function(a){Fs(oq(this.getContext()),{La:86,$a:Lo(a),item:this.page.getItem()})};e.kY=p;function gN(a,b,c){this.Sa=b||cb();this.zR=a;this.Qa=c||null}gN.prototype.getId=function(){return this.Sa};gN.prototype.bi=function(){return!1};gN.prototype.Fm=function(){return this.zR};gN.prototype.getData=function(){return this.Qa};function hN(a,b){z.call(this);this.po=a.po;this.$b=a.pr();this.yc=b;this.ha=new K(this);A(this,this.ha);this.Op=[];this.Rp=this.au=null;this.ha.listen(this.yc,"pb",this.Wx).listen(this.yc,"qb",this.XN)}w(hN,z);hN.prototype.Wx=function(){this.Op=[];this.Rp=this.au=null;for(var a=0;a<this.$b.length;a++)HL(this.$b[a].lj,[])};hN.prototype.XN=function(a){var b=a.value;this.Rp!=b&&this.nE(b);this.tJ(a.MW)};
hN.prototype.nE=function(a){var b=this.po.search(a);XL(this.yc,0,0);this.Wx();this.Rp=a;for(a=0;a<this.$b.length;a++){var c=b.jI[a];if(c)for(var d=a,f=this.$b[d].vd,g=0;g<c.length;g++){for(var h=c[g],k=[],m=0;m<h.length;m++){var q=h[m];k.push(new gN(new wn(q.left/f.width,q.top/f.height,q.width/f.width,q.height/f.height)))}this.Op.push({page:d,I0:k})}}for(a=0;a<this.Op.length;a++){c=this.Op[a];b=this.$b[c.page].lj;c=c.I0;d=[];f=[];for(g=0;g<c.length;g++)h=c[g],k=h.getId(),b.Qm[k]||d.push(k),h.bi()&&
f.push(k),b.Qm[k]=h;(0<d.length||0<f.length)&&b.dispatchEvent(new IL(d,f,[]))}};hN.prototype.tJ=function(a){var b=this.Op.length;if(0!=b){var c=null;null===this.au||(c=this.Op[this.au]);if(c){var d=this.$b[c.page].lj;JL(d,[])}c=this.au;this.au=c=xd(null===c?a?-1:0:c+(a?-1:1),b);XL(this.yc,c+1,this.Op.length);if(c=this.Op[this.au])d=this.$b[c.page].lj,JL(d,c.I0)}};function iN(a,b){Gb(b,CM);for(var c={},d=[],f=0;f<b.length;f++){var g=b[f];c[g.getId()]=!0;tb(d,g.BU)||d.unshift(g.BU)}g=jN(d);d=[];for(f=0;f<g.length;f++){var h=g[f];Gb(h,function(a,b){return Fb(a.top,b.top)});kN(h,d)}Gb(d,lN);for(f=0;f<d.length;f++)for(g=d[f],h=0;h<g.length;h++){for(var k=g[h].Pf,m=0;m<k.length;m++)c[k[m].getId()]&&a.append(k[m].selectionText,"\n");a.append("\n")}}
function jN(a){if(0==a.length)return[a];Gb(a,function(a,b){return a.left-b.left});for(var b=a[0].left,c=[a[0]],d=[],f=1;f<a.length;f++){var g=a[f].left;g<b+50?c.push(a[f]):(d.push(c),c=[a[f]],b=g)}d.push(c);return d}function kN(a,b){for(var c=a.length,d=0,f=1;f<c;f++)25<a[f].top-(a[f-1].top+a[f-1].height)&&(b.push(a.slice(d,f)),d=f);b.push(a.slice(d,c))}
function lN(a,b){if(0==a.length||0==b.length)return Fb(a.length,b.length);var c=a[0].top,d=b[0].top,f=a[a.length-1].top+a[a.length-1].height,g=b[b.length-1].top+b[b.length-1].height;return.5<(Math.min(f,g)-Math.max(c,d))/Math.min(f-c,g-d)?Fb(a[0].left,b[0].left):Fb(c,d)};function mN(a,b,c){z.call(this);this.W=a;this.$b=a.pr();this.ul=b;this.OG=c;this.ha=new K(this);A(this,this.ha);this.ha.listen(this.OG,"lb",this.ZN)}w(mN,z);
mN.prototype.ZN=function(){var a=this.OG.getSelection();if(!a||0==a.width&&0==a.height)this.LD();else{var b=new zj,c,d=this.ul;c=a.top+a.height;var f=d.$d.Yv,g=d.$d.xe.length-1,d=Math.min(f.findIndex(a.top,0),g);c=Math.min(f.findIndex(c,d),g);c=new Km(d,c);for(f=c.start;f<=c.end;f++)if(this.$b[f].nj){var h=nN(this.ul,f);if(zn(a,h)){d=yn(a,h);d.left-=h.left;d.top-=h.top;g=this.OG;g=(g.wk.y<g.om.y?g.wk.clone():g.om.clone()).clone();g.x-=h.left;g.y-=h.top;var k=this.OG,k=(k.wk.y>k.om.y?k.wk.clone():
k.om.clone()).clone();k.x-=h.left;k.y-=h.top;var m=this.$b[f].vd,q=d,v=m.width/h.width;q.left*=v;q.top*=v;q.width*=v;q.height*=v;q=g;v=m.width/h.width;q.x*=v;q.y*=v;q=k;h=m.width/h.width;q.x*=h;q.y*=h;for(var B,F,h=this.$b[f].qu(d),m=[],q=0;q<h.length;q++)for(var v=h[q],M=0;M<v.Pf.length;M++){var O=v.Pf[M];if(zn(d,O.Du())){m.push(O);var Ya=O.v4();O.XB(Ya);O.Du().contains(g)&&(!B||0>CM(B,O))&&(B=O);O.Du().contains(k)&&(!F||0<CM(F,O))&&(F=O)}}B&&F&&B==F?(B.HI(d,!0,!0),B.XB(!0)):(B&&(B.HI(new wn(g.x,
g.y,0,0),!0,!1),B.XB(!0)),F&&(F.HI(new wn(k.x,k.y,0,0),!1,!0),F.XB(!0)));iN(b,m);HL(this.$b[f].NB,m)}else HL(this.$b[f].NB,[])}a=this.W;a.P4=Ba(b.toString());a.dispatchEvent("Ab")}};mN.prototype.LD=function(){for(var a=0;a<this.$b.length;a++)HL(this.$b[a].NB,[]);a=this.W;a.P4=Ba("");a.dispatchEvent("Ab")};function oN(a,b,c){pt.call(this);this.gZ=a;this.Sh=b;this.xq=c}w(oN,pt);oN.prototype.play=function(){if(this.ne())return!1;this.va=1;this.startTime=u();this.ig("play");lt(this);pN(this,this.startTime);return!0};oN.prototype.stop=function(a){this.ne()&&(a&&(a=1,this.xq&&(a=this.xq(a)),this.gZ(a)),this.va=0,nt(this),this.onStop(),this.mi())};oN.prototype.T2=function(a){pN(this,a)};
function pN(a,b){var c=Math.min((b-a.startTime)/a.Sh,1),d=c;a.xq&&(d=a.xq(d));a.gZ(d);1==c&&(a.va=0,nt(a),qt(a),a.mi())};function qN(a,b){Cr.call(this,a,b);this.item=a;this.xe=[];this.ul=this.oe=this.tr=this.qz=this.pz=this.Mo=this.wb=this.de=null;this.WQ=new ZM(a,b);this.Aa(this.WQ);this.XR=this.Qp=this.Pe=null;this.yc=new SL(b);this.Aa(this.yc);this.st=this.IU=this.Xj=this.Rj=this.Mh=this.Gk=null;this.Yv=new ZL;this.yU=this.Kc=null;this.uM=!0;this.zG=-1;this.Ze=this.Zl=null;this.Q3=this.P3=0;this.Pz=!1;var c=bw(this.getContext());c&&this.ka().listen(c,"za",this.RN);this.JU=!1;this.E2=0}w(qN,Cr);e=qN.prototype;
e.ra=function(){this.$=S(VM,void 0,void 0,this.U());this.Mp()};e.dc=function(a){qN.R.dc.call(this,a);a=this.Ni("drive-viewer-paginated-page");if(0<a.length){var b=ne("drive-viewer-paginated-page-img",a[0]);a=this.item;a.T3=b;b=hC(2,4);om(a,b);a.aP=!0}this.Mp()};e.Mp=function(){var a=this.U(),b=this.H();this.yc.Ka(b);this.WQ.Ka(b);a.pe(this.ua("drive-viewer-paginated-pages"),!0)};
e.ta=function(){qN.R.ta.call(this);var a=this.H();this.de=this.ua("drive-viewer-paginated-pages");this.wb=this.ua("drive-viewer-paginated-scrollable");this.l6=this.ua("drive-viewer-paginated-textarea");this.Vf=this.ua("drive-viewer-paginated-tab-sentinel");this.Mo=this.ua("drive-viewer-gradient-bottom");this.pz=this.ua("drive-viewer-gradient-lft");this.qz=this.ua("drive-viewer-gradient-rgt");this.tr=this.ua("drive-viewer-gradient-top");this.ul=new rN(this);var b=this.item.hb;this.ka().listen(this.wb,
"scroll",this.Lz).listen(this.wb,"click",this.Rea).listen(this.yc,"pb",this.Tea).listen(this.item,"rb",this.Uba).listen(this.item,"sb",this.tF).listen(this.item,gm.nV,this.qN).listen(this.item,SM.CV,this.SN).listen(this.item,"Ha",this.dea).listen(this.item,SM.L8,this.kfa).listen(b,HG.YC,this.Ifa).listen(b,HG.yV,this.cda).listen(b,HG.MJ,this.Oz);1==this.item.Mk&&this.item.hb.setEnabled(!0);this.Pe=new xK(this.wb,this.getContext());A(this,this.Pe);this.item.po?this.QX():this.ka().listen(this.item,SM.I7,
this.QX);UM(this.item)?this.u0():this.ka().listen(this.item,"wb",this.u0);Kr(this.getContext().qa())&&(this.item.hw&&this.Ps(!0),this.ka().listen(this.item,"Ja",this.Aea).listen(this.item,"Ia",this.zea));sN(this);this.item.li&&tN(this);cw(this.getContext()).bI(this.item.getId(),this.wb);this.Kc=new hy(a);this.yU=new hy(this.Vf);A(this,this.Kc);A(this,this.yU);this.ka().listen(this.de,"keydown",this.xz).listen(this.Kc,"focusin",this.xr).listen(this.Kc,"focusout",this.Fz).listen(this.yU,"focusin",this.hfa);
this.HC()};e.Tb=function(){qN.R.Tb.call(this);GB(Gr(this.getContext()),this.yc.Ca());var a=Mr(this.getContext());Nr(a,74,this.aea,this);Nr(a,75,this.bea,this);Pr(this,this.wb);var b=Nd?Do.Qn:Do.Pn;Nr(a,[67,b],this.Bz,this);Nr(a,[45,b],this.Bz,this);Nr(a,[70,b],this.Ez,this);Nr(a,[71,b],this.zN,this);Nr(a,[71,b|Do.wq],this.AN,this);this.layout();this.As()};e.Oc=function(){qN.R.Oc.call(this);GB(Gr(this.getContext()),!1);J(this.st);this.st=null;J(this.Rj);J(this.Xj);this.Xj=null;uN(this)};
e.layout=function(){if(this.uc()){var a=xr(this.getContext()).hf();fo(this.H())?this.wb.style.marginRight=a.right+"px":this.wb.style.marginLeft=a.left+"px";this.de.style.marginTop=a.top+"px";this.de.style.marginBottom=a.bottom+"px";var a=this.mz(),b=this.item.hb;b.KT(a);vN(this,PM(b));wN(this)}};function vN(a,b){var c=xr(a.getContext()).hf();Xn(a.de,b);var d=fo(a.H()),c=Math.max(Br(a,b)-(d?c.right:c.left),0)+"px";d?a.de.style.right=c:a.de.style.left=c}
function xN(a,b){if(a.Zl){var c=a.wb.clientWidth,d=a.wb.clientHeight,c=a.Ze?a.Ze.x:c/2,d=a.Ze?a.Ze.y:d/2;vN(a,b);a.wb.scrollLeft=a.Zl.x*a.wb.scrollWidth-c;a.wb.scrollTop=a.Zl.y*a.wb.scrollHeight-d}}
e.nW=function(){J(this.st);this.st=null;var a=this.item.hb;this.Mh&&this.Mh.ne()&&(this.ka().ab(this.Mh,"end",this.As),this.Mh.stop());var b=this.wb;this.Zl||(this.Zl=new C((b.scrollLeft+b.clientWidth/2)/b.scrollWidth,(b.scrollTop+b.clientHeight/2)/b.scrollHeight));b=this.de.offsetWidth;a=PM(a);a!=b?(this.Mh=new oN(t(this.Dma,this,b,a),218,TJ),a=this.ka(),zi(a,this.Mh,"end",this.As,!1,this),uN(this),this.Mh.play()):this.As()};
e.As=function(){J(this.Xj);this.Xj=null;for(var a=this.de.offsetTop,b=0;b<this.xe.length;b++){var c=this.xe[b];if(c.Rz()){var d=a+c.H().offsetTop;this.Yv.setInterval(b,d,d+c.H().offsetHeight)}}yN(this);zN(this);this.fx();this.zL();AN(this);this.Zl=this.Ze=null};
e.lca=function(a){var b=this.item.hb,c;this.Ze=new C(a.clientX,a.clientY);c=this.wb;this.Zl=new C((c.scrollLeft+this.Ze.x)/c.scrollWidth,(c.scrollTop+this.Ze.y)/c.scrollHeight);0==PG(b)?(c=!0,JG(b,2),OG(b,50)):(c=!1,OG(b,0));YK(this.item.tt,c,Lo(a),!1)};e.Mz=function(a){a=a.Qb.touches;if(2==a.length){this.Pz=!0;uN(this);var b=this.wb;this.Ze=BN(a[0],a[1]);this.Zl=new C((b.scrollLeft+this.Ze.x)/b.scrollWidth,(b.scrollTop+this.Ze.y)/b.scrollHeight);this.P3=CN(a[0],a[1]);this.Q3=PM(this.item.hb)}};
e.Su=function(a){var b=a.Qb.touches;if(2==b.length&&this.Pz){a.preventDefault();var c=this.item.hb;this.Ze=BN(b[0],b[1]);var d=c.oz(),b=CN(b[0],b[1])/this.P3*this.Q3;d!=b&&(JG(c,2),c.level=c.Qg?wd(b,c.Qg.start,c.Qg.end):b,c.uu=0,c.dispatchEvent("bb"),YK(this.item.tt,b>d,Lo(a),!0))}};e.Ru=function(){this.Pz&&(this.Pz=!1,this.Ze=null,MG(this.item.hb,this.de.offsetWidth),wN(this))};function CN(a,b){var c=a.clientX-b.clientX,d=a.clientY-b.clientY;return Math.sqrt(c*c+d*d)}
function BN(a,b){return new C((a.pageX+b.pageX)/2,(a.pageY+b.pageY)/2)}e.Dma=function(a,b,c){this.Gk&&this.Gk.ne()&&(c=1,this.Mh.stop(!1));xN(this,a+(b-a)*c)};function AN(a){a.JU||(a.JU=!0,a.IU=I(function(){this.Xa&&W(this.de,"drive-viewer-layout-transition")},100,a))}function uN(a){a.JU=!1;J(a.IU);pn(a.de,"drive-viewer-layout-transition")}function wN(a){!a.Xj&&a.uc()&&(a.Xj=I(t(a.As,a),100,a))}e.zL=function(){J(this.Rj);this.Rj=I(this.fx,250,this)};
e.Lz=function(){this.Pz||this.Mh&&this.Mh.ne()||yN(this);this.fx();Ir(this)};e.aea=function(){DN(this,this.item.Bt+1)};e.bea=function(){DN(this,this.item.Bt-1)};e.Bz=function(a){Fs(oq(this.getContext()),{La:68,$a:Lo(a),item:this.item});this.l6.select();EN(this,100)};e.Ez=function(a){a.preventDefault();this.yc.show(a)};e.zN=function(a){a.preventDefault();this.yc.show(a);UL(this.yc,a)};e.AN=function(a){a.preventDefault();this.yc.show(a);WL(this.yc,a)};
e.Rea=function(a){var b=0==zs(this.getContext().qa()),c=a.target;b&&!this.getContext().Od()&&c==this.wb&&this.dispatchEvent(new G("x",a.target))};e.u0=function(){this.XR||(this.XR=new mN(this.item,this.ul,this.Pe.getState()),A(this,this.XR),W(this.de,"drive-viewer-paginated-page-cursor"))};e.Tea=function(){EN(this)};e.tF=function(a){this.item.hA||(a=a.target,a.He&&!a.gP&&this.item.li&&pm(this.item));wN(this)};
function tN(a){if(!a.item.hA)for(var b=0;b<a.item.Qj();b++){var c=a.item.Ri(b);c.He&&!c.gP&&pm(a.item)}}
e.qN=function(){this.HC();if(1==this.item.Mk){this.item.hb.setEnabled(!0);var a=aj(this.getContext().qa(),dw,47),b;if(b=Zf&&a)b=null==L(a,3)?!1:L(a,3);b&&this.ka().listen(this.de,"touchstart",this.Mz).listen(this.de,"touchmove",this.Su).listen(this.de,"touchend",this.Ru).listen(this.de,"touchcancel",this.Ru);this.getContext().Od()&&(a=new mK(this.de),A(this,a),this.ka().listen(a,"kb",this.lca),cw(this.getContext()).ER(a))}};e.Uba=function(){wN(this)};e.SN=function(){zN(this)};
e.dea=function(){for(var a=this.item.pr();this.xe.length>a.length;){var b=this.xe.pop();rc(b);b=this.Yv;b.gv.pop();b.gv.pop()}sN(this);tN(this);wN(this)};
e.r0=function(a){if(!this.xe[a].Il){if(E&&!Yd(10)&&100<=this.E2)return;this.E2++}var b=this.xe[a],c=b.page.jj;if(null!=c){var d=b.U();d.fe(b.YH);b.Il=null;b.Il=d.ra("h2");W(b.Il,"drive-viewer-paginated-page-reader-header");d.Uf(b.Il,IM(b.page));d.appendChild(b.YH,b.Il);for(var f=d.Ba.createDocumentFragment(),g=c.f_(),h=0;h<g;h++){for(var k=d.ra("P"),m=[],q=c.e_(h),v=0;v<q;v++)m.push(c.getText(h,v)),m.push("\n");d.Uf(k,m.join(""));W(k,"drive-viewer-paginated-page-reader-block");m=c.j_(h);Bn(k,{left:100*
m.left+"%",top:100*m.top+"%",width:100*m.width+"%",height:100*m.height+"%"});d.appendChild(f,k)}d.appendChild(b.YH,f)}a=this.xe[a];b=this.uM;a.Il&&a.U().pe(a.Il,b)};e.gG=function(){return!0};e.DH=function(){FK(this.item.jF())};e.Aea=function(){this.Ps(!0)};e.zea=function(){this.Ps(!1)};e.kfa=function(){this.l6.value=this.item.P4};e.Ifa=function(a){this.Xa&&a.source!=this&&!this.st&&(this.st=I(t(this.nW,this),40,this))};e.cda=function(){this.Xa&&xN(this,PM(this.item.hb))};
e.Oz=function(){if(this.Xa){var a=this.item.hb.Bf;a==IG.tq?this.nW():a==IG.ACTIVATING&&JG(this.item.hb,IG.$l)}};
e.Uca=function(a){var b=this.item.pr()[a].lj.xx;if(0!=b.length){for(var c=b[0].Fm().clone(),d=1;d<b.length;d++)An(c,b[d].Fm());if(this.xe[a]){this.Mh&&this.Mh.stop(!0);var f=xr(this.getContext()),g=f.hf(),b=this.mz(),d=this.wb.clientHeight,f=new wn(this.wb.scrollLeft+JB(f),this.wb.scrollTop+g.top,b-JB(f),d-KB(f));a=nN(this.ul,a);c.scale(a.width,a.height);c.translate(a.left,a.top);f.contains(c)||(this.wb.scrollTop=c.top+c.height/2-d/2,this.wb.scrollLeft=c.left+c.width/2-b/2)}}};
e.xz=function(a){FN(this,9!=a.keyCode)};e.xr=function(){FN(this,!0)};e.Fz=function(){FN(this,!0)};e.hfa=function(){if(0<=this.zG){var a=fN(this.xe[this.zG]);ur(this.getContext()).focus(a,0)}else FN(this,!1),EN(this,0)};function FN(a,b){if(a.uM!=b){a.uM=b;for(var c=0;c<a.xe.length;c++){var d=a.xe[c],f=b;d.Il&&d.U().pe(d.Il,f)}a.U().pe(a.Vf,b)}}e.i0=function(a){a>this.zG&&(this.zG=a)};e.QX=function(){this.Qp=new hN(this.item,this.yc);A(this,this.Qp)};
function sN(a){for(var b=a.item.pr(),c=a.Ni("drive-viewer-paginated-page"),d=a.xe.length;d<b.length;d++){var f=b[d],g=new (a.i_())(f,a.getContext());a.Aa(g);c[d]?g.Na(c[d]):g.Ka(a.de);a.xe[d]=g;f.jj&&a.r0(d);fN(g)&&a.i0(d);a.ka().listen(f.lj,"nb",t(a.Uca,a,d)).listen(f,"vb",t(a.r0,a,d)).listen(g,"Cb",t(a.i0,a,d))}}
function yN(a){var b=a.item.pt,c=a.item.Bt,d=Zn(a.wb),f=a.wb.scrollTop+d.height/2,g=a.wb.scrollTop+d.height,d=a.Yv.findIndex(a.wb.scrollTop,b.start),c=a.Yv.findIndex(f,c),f=a.Yv.findIndex(g,b.end),b=a.item,d=new Km(d,f),f=b.pt;f==d||f&&d&&f.start==d.start&&f.end==d.end||(b.pt=d,b.dispatchEvent("Bb"));a=a.item;a.Bt!=c&&(a.Bt=c,a.dispatchEvent("zb"))}
e.fx=function(){if(3!=this.getContext().qa().vc()){J(this.Rj);var a=this.wb,b=xr(this.getContext()),c=b.hf(),d=fo(this.H()),f=wr(b),g=a.scrollHeight!=a.clientHeight,f=(b=1<Math.abs(a.scrollWidth-a.clientWidth))?f:0,h=f+Math.max(0,a.scrollTop-a.scrollHeight+a.clientHeight+c.bottom),k=b?d?c.right:c.left:0,d=b?d?c.right:c.left:0,m=Math.max(0,c.top-a.scrollTop);b&&!g&&(h=this.xe[this.xe.length-1].H(),g=Kn(h),h=Zn(h),h=f+a.scrollHeight-(g.x+h.height)+c.bottom);Bn(this.Mo,"bottom",f+"px");Bn(this.pz,"bottom",
h+"px");Bn(this.qz,"bottom",h+"px");Bn(this.pz,"left",k+"px");Bn(this.tr,"left",k+"px");Bn(this.Mo,"left",k+"px");Bn(this.qz,"right",d+"px");Bn(this.tr,"right",d+"px");Bn(this.Mo,"right",d+"px");Bn(this.pz,"top",m+"px");Bn(this.qz,"top",m+"px");X(this.tr,0==m);X(this.Mo,h==f);X(this.pz,b);X(this.qz,b)}};e.RN=function(){zN(this)};
function zN(a){var b=bw(a.getContext())&&bw(a.getContext()).CF(),c=a.WQ.H(),d=Zn(c),f=(75-d.height)/2;b&&(f+=wr(xr(a.getContext())));Bn(c,"bottom",f+"px");a=Br(a,d.width);Bn(c,"left",a+"px")}
e.HC=function(){var a=this.U(),b=this.item.xo();switch(b){case V.vq:case V.LOADING:this.oe||(this.oe=S(ku,void 0,void 0,a),a.appendChild(this.wb,this.oe));break;case V.LOADED:a.removeNode(this.oe);break;case V.Rn:case V.ERROR:a.removeNode(this.oe),this.oe=S(ju,{ku:"Whoops!",error:b==V.ERROR?"There was a problem loading more pages.":"There was a problem loading more pages. Retrying..."},void 0,a),W(this.oe,"drive-viewer-msg-error"),a.appendChild(this.wb,this.oe)}};
function DN(a,b){var c=a.xe[b];if(c){a.Gk&&(Ag(a.Gk),a.Gk.stop(!1));var d=xr(a.getContext()).hf(),f=Zn(a.wb),g=nN(a.ul,b).Pc(),f=f.height-g.height,g=0<f,h=Qn(c.H(),a.wb,g),c=a.wb.scrollTop,k=a.wb.scrollLeft,h=h.y;f<d.top&&(h-=d.top/2,g&&(h+=f/2));a.Gk=new xt(a.wb,[k,c],[k,h],430,TJ);qg(a.Gk,"end",t(function(){Ag(this.Gk);this.Gk=null},a));a.Gk.play(!1)}}function EN(a,b){a.uc()&&a.item.Ri(0).He&&ur(a.getContext()).focus(a.de,b)}
e.n3=function(a){this.Mh&&this.Mh.ne()&&(this.Zl.y+=a/(this.wb.scrollHeight-Zn(this.wb).height))};e.Db=function(){qN.R.Db.call(this);JG(this.item.hb,0);J(this.Rj);J(this.Xj);J(this.IU);J(this.st)};function rN(a){this.$d=a}function nN(a,b){var c=a.$d.de,d;fo(a.$d.H())?(d=a.$d.wb,d=d.scrollWidth-d.offsetWidth+c.offsetLeft):d=c.offsetLeft;var f=a.$d.xe[b].H();return new wn(d+f.offsetLeft,c.offsetTop+f.offsetTop,f.offsetWidth,f.offsetHeight)};function GN(a,b){bN.call(this,a,b)}w(GN,bN);function HN(a,b){qN.call(this,a,b)}w(HN,qN);HN.prototype.i_=function(){return GN};function IN(a,b){Hm.call(this,a,b)}w(IN,Hm);IN.prototype.hN=function(){return MM};IN.prototype.cP=function(){return!0};function JN(a){z.call(this);this.Gl=a;this.jI=[]}w(JN,z);JN.prototype.Io=function(){return this.Gl};JN.prototype.ma=function(){JN.R.ma.call(this)};function KN(){z.call(this);this.Pt=[];this.vO=[]}w(KN,z);e=KN.prototype;e.h4=!1;e.ve=function(){return this.h4};e.getTitle=function(){return this.Ih};
e.parse=function(a,b){var c=a.getElementsByTagName("page"),d=a.getElementsByTagName("title");if(d&&0<d.length){for(d=d[0];d.hasChildNodes();)d=d.childNodes[0];if(d=d.nodeValue)this.Ih=Ba(d)}if(c&&0!=c.length){for(var d=0,f;f=c[d];d++){var g=LN(f);b.push(g);var h=f.getElementsByTagName("block"),g=[];if(0<h.length){f=0;for(var k;k=h[f];f++){var m=MN(k.getElementsByTagName("text")),m=new xM(0,0,0,0,m);LN(k,m);g.push(m)}}else for(m=MN(f.getElementsByTagName("text")),f=0;h=m[f];f++)g.push(new xM(h.left,
h.top,h.width,h.height,[h]));this.Pt.push(g)}this.h4=!0}if(c&&0!=c.length)for(d=0;g=c[d];d++)for(g=g.getElementsByTagName("link"),h=0;f=g[h];h++)if(k=f.childNodes,k=0<k.length&&k[0].nodeValue?k[0].nodeValue:null)try{var m=d,q=Ba(k),v=new Zj(q);if(!v.kj){var B=v.$g();if(x(za(B))){if(ua(q,"/"))throw new URIError("URI malformed");v=new Zj("//"+q)}}var F=v.kj;if("http"!=F&&"https"!=F&&"ftp"!=F&&"mailto"!=F){var M=(new Zj(l.location.href)).kj;ak(v,M||"http")}var O=new NN(m,v.toString());LN(f,O);this.vO.push(O)}catch(Ya){}};
function LN(a,b){var c=a.getAttribute("dim"),c=c?c.split(","):[a.getAttribute("l"),a.getAttribute("t"),a.getAttribute("w"),a.getAttribute("h")],c=mb(c,function(a){return parseInt(a,10)});b?(b.left=c[0],b.top=c[1],b.width=c[2],b.height=c[3]):b=new wn(c[0],c[1],c[2],c[3]);return b}function MN(a){for(var b=[],c=0,d;d=a[c];c++){for(var f=d.getAttribute("p"),g=d;g.hasChildNodes();)g=g.childNodes[0];f=new BM(0,0,0,0,f,g.nodeValue||"");LN(d,f);b.push(f)}return b}
e.search=function(a){a=xa(a.toLowerCase());var b=new JN(a);if(0==a.length)return b;for(var c=yM(a),d=0;d<this.Pt.length;d++)for(var f=this.Pt[d],g=0;g<f.length;g++)for(var h=f[g].search(a,c),k=0;k<h.length;k++){var m=b,q=d,v=h[k];m.jI[q]||(m.jI[q]=[]);m.jI[q].push(v)}return b};e.ma=function(){KN.R.ma.call(this);this.Pt=this.vO=null};function NN(a,b){wn.call(this,0,0,0,0);this.E3=a;this.url=b}w(NN,wn);function ON(){this.p7=this.iy="";this.uY="https://drive.google.com/";this.W6=this.dZ=this.Cm=""}da(ON);ON.prototype.zo=function(){return this.iy};ON.prototype.CI=function(a){this.Cm=a};ON.prototype.sg=function(){return this.Cm};function PN(a){var b=new Zj("https://"+window.location.host+(a.iy?"/a/e/"+a.iy:"/e")+"/dr");a.Cm&&nk(b,"authuser",a.Cm);a.dZ&&nk(b,"foreignService",a.dZ);a.W6&&nk(b,"usp",a.W6);return b};function QN(){H.call(this);this.Es=new FI;this.On=new iH;this.Ve=null;this.PR="";this.Fa=new K(this);A(this,this.Fa);this.Fa.listen(this.On,"complete",this.Dfa);this.Fa.listen(this.On,"ready",this.T4)}w(QN,H);
QN.prototype.Dfa=function(){if(sH(this.On)){var a=uH(this.On);if(a){this.PR="";var b;0==a.indexOf("&&&START&&&")?a=a.substring(11):0==a.indexOf(")]}'")&&(a=a.substring(4));try{b=Ni(a)}catch(c){b={error:!0,errorMessage:"Parse error (exception: "+c+")"}}this.dispatchEvent(new G(b.error?"Db":"Eb",b))}}else a=403==this.On.getStatus(),b=this.On.getResponseHeader("X-Explorer-Token"),a&&null!=b&&!x(b)&&this.PR!=b?(ON.Ra().p7=b,a=this.Ve,nk(a.uri,"token",b),this.send(a.uri,a.headers,a.wH),this.PR=b):(b={error:!0},
b.errorMessage=this.On.getStatus(),this.dispatchEvent(new G("Db",b)));this.Ve=null};QN.prototype.send=function(a,b,c){var d;d=ON.Ra().p7;x(d)||nk(a,"token",d);this.Es.enqueue({uri:a,headers:b,wH:c});this.T4()};
QN.prototype.T4=function(){if(!this.Ve&&!this.On.uc()){var a=this.Es.lo();if(a){this.Ve=a;var b="";if(a.wH){var c=a.wH,b=uj(c);if("undefined"==typeof b)throw Error("Keys are undefined");for(var d=new gk(null,0,void 0),c=tj(c),f=0;f<b.length;f++){var g=b[f],h=c[f];fa(h)?d.setValues(g,h):d.add(g,h)}b=d.toString()}this.On.send(a.uri,"POST",b,a.headers)}}};function RN(a,b){Os.call(this,a,b);this.item=a;this.El=this.TL=this.kP=this.yy=this.AK=this.aQ=this.nq=null;this.fA=this.qv=this.aG=!1;this.Uw=this.RL=this.Gn=this.$P=null;this.nG=b.get(Ev);this.wa=yq(b);this.uh={};this.ts={};var c=b.qa();this.U3=null==L(c,69)?!1:L(c,69)}w(RN,Os);var SN=[503,504];RN.prototype.er=function(){TN(this)||(Ps(this),this.upload(this.item.jf()))};RN.prototype.gA=function(){return!0};
RN.prototype.nM=function(){var a=this.Nd();if(x(za(a)))lm(this.item,4,{error:2});else{var b=this.getContext().U(),c=this.getContext().qa();(null==L(c,55)?0:L(c,55))&&(Rk(a)||$l(a))?(c=!Rk(a),a=qa(AH,a,b,c)):a=qa(zH,a,b);a=Bh(a,t(this.Sia,this));Gh(a,this.r3,this);Hh(a,this.Ria,this);this.wf(a);this.Gn=a}};
function TN(a){var b=a.item.T3;b&&a.TU(b);if(!aj(a.item.pb,UN,29))return!1;b=aj(a.item.pb,UN,29);if(x(za(b.dF())))return!1;a.item.Rd(2);var c=a.item.jf();a.aQ=Ul(c,b.dF()).toString();var d=a.kZ(b);a.AK=Ul(c,d).toString();x(za(b.YE()))||(a.yy=Ul(c,b.YE()).toString());a.U3&&!x(za(VN(b)))&&(a.El=Ul(c,VN(b)).toString());x(za(WN(b)))||(c=fi(WN(b),"print","true"),d=a.item,d.hw=c,d.dispatchEvent("Ja"));if(0>=b.Qj()){b=null==L(b,1)?0:L(b,1);if(0<b)return XN(a,b);YN(a);return!0}a.item.Cn(b.Qj());a.item.Rd(1);
a.KG();return!0}Os.prototype.TU=function(a){return this.item.ct==V.vq?(lm(this.item,V.LOADING,{time:a._preloadStartTime}),a=a.src&&(a.complete||a._preloadFailed)?0<a.naturalWidth?Dh(new mj(a)):Eh():yH(a),Gh(a,this.r3,this),Hh(a,this.Tia,this),a):null};Os.prototype.Tia=function(){lm(this.item,3,{error:16});this.nM()};e=RN.prototype;
e.upload=function(a,b){this.item.Rd(2);this.nq=a;if(this.qv){var c;c="lc_"+this.item.getId();(c=this.wa.Sb[c])&&N(qx(c),8,!0)}x(za(this.nq))?this.kc(4,void 0,17):(c=ON.Ra(),0==this.nq.indexOf(PN(c).toString())?(c=this.nq,this.Uw||(this.Uw=new QN,A(this,this.Uw)),this.Rc.Fb(this.Uw,"Eb",t(this.Eca,this,c,b)),this.Rc.Fb(this.Uw,"Db",t(this.u3,this)),this.Uw.send(rk(c))):ZN(this,this.nq,b))};
e.Eca=function(a,b,c){c.target&&c.target.response&&c.target.response.docs&&1==Rb(c.target.response.docs)&&(c=c.target.response.docs[0],c.su?(c=c.su,E&&!Yd("10")&&(ua(c,"https://drive.google.com/viewer")?(c=c.substr(24),c=ua(c,"/viewerng/")?"/viewer/"+c.substr(10):c):c=void 0)):c=void 0,c&&c!=a&&ZN(this,c,b))};
function ZN(a,b,c){var d=$h(ci([b],a.item.gN()));if(a.oA()&&!ii(d,"sp")){var f=a.lF();0!=f.length&&(f=Pi(f),f=Mi(Ji(f),!0),d=fi(d,"sp",f))}d=qa(CH,d,c,a.getContext().U().Ba);b=t(a.$ia,a,b,c);$N(a,d,b,t(a.u3,a),t(a.g5,a,18))}e.dF=function(){return this.aQ};function aO(a,b){var c=$b(b||null);c.page=a;return c}e.Nd=function(){var a=aj(this.getContext().qa(),bO,58),b;if(b=!!a)b=null==L(a,1)?!1:L(a,1);return this.item.Nd(800,void 0,b)};
e.wF=function(a,b){if(!n(b)||0>=b){if(this.TL&&!this.qv){var c=CH(this.TL);Gh(c,t(this.Nia,this,a));Hh(c,t(this.Mia,this,a));this.wf(c)}}else{if(410==b){if(this.qv)return;this.fA=!0}tb(SN,b)||(a.cancel(),this.Gn&&$l(this.Nd())&&this.Gn.cancel());if(410==b)if(this.aG=this.qv=!0,cO(this),this.uh={},this.ts={},jC(this.item)||!Nx(this.item))this.upload(lC(this.item));else{var c=qi(this.getContext(),Fm),d=this.item.pb.Oa(),f=t(this.cia,this),d=Sh(new Mh(c.Jc,c.mg+"/files/"+d+"?fields="+vi,"drive#file")).start();
c.wf(d);Gh(d,f);Hh(d,p)}}};function $N(a,b,c,d,f){b=Bh(b,t(function(a,b){f&&f(a,b);this.wF(a,b)},a),t(a.wF,a));Gh(b,c);Hh(b,d);a.wf(b);return b}e.g5=function(a){this.kc(3,void 0,a)};e.Nia=function(a,b){if(!ia(b.bcode)||!XN(this,b.bcode)){var c=b.status;c&&this.wF(a,c)}};e.Mia=function(a,b){var c=b.statusCode;c&&this.wF(a,c)};
e.$ia=function(a,b,c){if(!ia(c.bcode)||!XN(this,c.bcode)){var d=c.rd;1==Rb(c)&&d&&a!=d?(this.nq=d,ZN(this,d,b)):(this.aQ=Ul(a,c.meta).toString(),this.AK=Ul(a,c[this.QE()]).toString(),this.yy=c.press?Ul(a,c.press).toString():null,this.El=this.U3&&c.presspage?Ul(a,c.presspage).toString():null,c.pdf?this.kP=fi(c.pdf,"print","true"):(this.kP=null,b=this.item,b.hw=null,b.dispatchEvent("Ia")),c.status&&(this.TL=Ul(a,c.status).toString()),YN(this))}};e.QE=function(){return"page"};
e.kZ=function(a){return null==L(a,4)?"":L(a,4)};function YN(a){a.$P=$N(a,qa(CH,a.dF()),t(a.yp,a),t(a.pia,a),t(a.g5,a,19))}e.cia=function(a){a.preview&&a.preview.link&&this.upload(a.preview.link)};e.u3=function(){this.kc(4,void 0,18)};
e.yp=function(a){this.qv&&(this.aG=this.fA=this.qv=!1);if(!ia(a.bcode)||!XN(this,a.bcode)){var b=a.pages||0;if(0>=b&&null==a.sheets)this.kc(4,void 0,20);else{0<b&&this.item.Cn(b);if(b=this.jF()){var c=this.item;c.hw=b;c.dispatchEvent("Ja")}this.g4(a);this.item.Rd(1);this.KG()}}};e.g4=p;e.pia=function(){this.kc(this.fA?V.Rn:V.ERROR,void 0,19)};
e.r3=function(a){var b={},c;c=a.getData();var d;if(!(d=800>c.naturalWidth)){d=this.item.Rb();var f=yG(zb(CG.Am)),g=Zx(this.getContext().qa()),g=g&&g.Do();d=tb(f,d)&&11==g}d?c=!1:(d=this.item.Ri(0),d.He||KM(d,new $L(c),!0),c=!0);c?(b.Wfa=a,b.time=a.getData()._preloadEndTime,lm(this.item,1,b)):(b.error=3,lm(this.item,4,b))};e.Sia=function(){lm(this.item,3)};e.Ria=function(a){var b={};a instanceof vh?b.hi=!0:b.error=ka(a)&&a.errorReason?a.errorReason:1;lm(this.item,4,b)};
function dO(a,b,c){c=c||{};var d=eO(c);if(!(a.uh[b]&&a.uh[b][d]&&a.uh[b][d])){d=new Ms;N(d,5,b);KC(a.nG,a.item,fO(a,b,c),2,30,d);var d=$N,f=a.gF(),g;g=a.AK;var h=aO(b,c);g=Wl(g,h);d=d(a,qa(f,g),t(a.xia,a,b,c),t(a.Uv,a,b,c),t(a.wia,a,b,c));c=eO(c);a.uh[b]||(a.uh[b]={});a.uh[b][c]=d}}e.xia=function(a,b,c){var d=fO(this,a,b);this.U1(this.wa.Sb[d],c);KC(this.nG,this.item,fO(this,a,b),1);0==a&&this.Gn&&this.Gn.cancel();this.item.lb(1);this.mD(a,b,c)};e.U1=p;
e.wia=function(a,b){this.item.Uv(a,!0,b);KC(this.nG,this.item,fO(this,a,b),3);0==a&&this.kc(3)};e.Uv=function(a,b){this.item.Uv(a,this.fA,b);var c=this.fA?V.Rn:V.ERROR;KC(this.nG,this.item,fO(this,a,b),c);0==a&&(c==V.ERROR&&this.item.li&&1<this.item.Qj()?this.item.lb(1):this.kc(c))};e.YE=function(a){return this.yy&&a?$h(ci([this.yy],a)):this.yy};e.jF=function(){return this.kP};
function gO(a,b,c){b=b||DH;var d=a.YE(c);d&&(pq(a.wa,"ldi_"+a.item.getId(),{La:87,item:a.item}),a.RL=$N(a,qa(b,d),t(a.gca,a,c),t(a.fca,a,c)))}e.gca=function(a,b){wq(this.wa,"ldi_"+this.item.getId(),1);this.Z2(a,b)};e.fca=function(a){wq(this.wa,"ldi_"+this.item.getId(),2);this.Y2(a)};e.Y2=p;
e.tea=function(a,b,c){wq(this.wa,hO(this,a,b),1);if(c){a=this.item.Ri(a);c=new mM(c);a.uB=c;b=new wn(0,0,c.Kb(),c.getHeight());a.vd=b;LM(a);a.jj||(a.jj=new EM(c),a.dispatchEvent("vb"));c=[];b=fM(a.uB.Qa,5);for(var d=0;d<b;d++){var f=a.uB.getLinks(d),g;1==f.getType()&&(g=f.getUrl(),c.push(new aM(g,JM(a,f.Oj()))))}a.setLinks(c);c=a.vd;b=[];d=a.uB.$Q();for(f=0;f<d;f++){g=a.uB.fz(f);for(var h=g.Oj(),h=new xM(h.Jf(),h.eh(),h.Kb(),h.getHeight(),[]),k=fM(g.Qa,1),m=0;m<k;m++){var q=new DM(c,sM(g,m),h);h.Pf.push(q)}b.push(h)}a.nj&&
rc(a.nj);a.nj=new tM(0<b.length?b:null);A(a,a.nj);a.dispatchEvent("wb")}};e.sea=function(a,b){wq(this.wa,hO(this,a,b),2);this.yia(a,b)};e.yia=p;function XN(a,b){var c=!1;5==b?(a.item.getState()!=V.vt&&(a.Rc.Fb(a.item,"g",a.jea),a.item.lb(V.vt)),c=!0):20==b&&(a.kc(4,"This file is password protected and can not be previewed."),c=!0);c&&a.Gn&&a.Gn.cancel();return c}e.jea=function(a){this.item.lb(2);this.upload(this.nq,a.password)};
e.kc=function(a,b,c){1!=this.item.getState()&&(a==V.ERROR?this.item.lb(a,b||"There was a problem previewing this document."):this.item.lb(a,"There was a problem previewing this document."));1!=this.item.xo()&&this.item.Rd(a,c)};function cO(a){a.$P&&a.$P.cancel();a.Gn&&a.Gn.cancel();a.RL&&a.RL.cancel();iO(a,function(a,c,d){a.cancel();this.uh[c][d]=null})}function iO(a,b){for(var c in a.uh){c=gb(c);for(var d in a.uh[c]){var f=a.uh[c][d];f&&"pending"==f.getState()&&b.call(a,f,c,d)}}}
function fO(a,b,c){return"lac_"+a.item.getId()+"_"+b+eO(c)}function hO(a,b,c){c=c||{};return"lpp_"+a.item.getId()+"_"+b+eO(c)}function eO(a){var b="",c=Tb(a);Gb(c);for(var d=0;d<c.length;++d)b=Xa(b,c[d],a[c[d]]);return b}e.oA=function(){return!1};e.lF=function(){return[]};function jO(a,b){RN.call(this,a,b);this.item=a;var c=this.item.hb;this.Rc.listen(this.item,SM.O8,this.fO).listen(c,NM.aK,this.eO).listen(c,HG.YC,this.Tu)}w(jO,RN);e=jO.prototype;e.KG=function(){kO(this,0,2);this.El?lO(this):gO(this)};function lO(a){var b=Gr(a.getContext()),c=Z(a.getContext());b.tw&&Ju(c,a.item)?gO(a):a.Rc.Fb(b,"Ga",function(){lO(this)})}function mO(a,b,c){a=a.item.Qj()-1;return new Km(wd(b,0,a),wd(c,0,a))}
function kO(a,b,c){b=mO(a,b,c);for(c=b.start;c<=b.end;c++){var d=a.Ry(c);dO(a,c,d);if(a.El){var f=a,g=c,d={},h=f,k=g,m=eO(d);h.ts[k]&&h.ts[k][m]&&h.ts[k][m]||(h=f,h.El?(k=aO(g,d),h=Wl(h.El,k)):h=h.El,h&&(k=new Ms,N(k,5,g),pq(f.wa,hO(f,g,d),{La:88,item:f.item,lu:k}),h=$N(f,qa(CH,h),t(f.tea,f,g,d),t(f.sea,f,g,d)),d=eO(d),f.ts[g]||(f.ts[g]={}),f.ts[g][d]=h))}}}e.Ry=function(){return{}};
function nO(a,b,c){b=mO(a,b,c);for(c=b.start;c<=b.end;c++)if(a.item.po){var d=a.item.Ri(c),f=a.item.po.Pt[c];null==f||d.jj||(d.jj=new GM(d.vd,f),d.dispatchEvent("vb"))}}
e.Z2=function(a,b){var c=new KN,d=[];c.parse(b,d);var f=this.item,g=!!this.El;f.po=c;for(var h=f.$b.length,k=0;k<h;k++){var m=f.$b[k];m.vd=d[k];LM(m)}if(!g){for(k=0;k<h;k++){for(var g=c.Pt[k],d=f.$b[k],g=g?g:[],m=[],q=g.length,v=0;v<q;v++){for(var B=new xM(g[v].left,g[v].top,g[v].width,g[v].height,[]),F=g[v].Pf.length,M=0;M<F;M++){var O=new FM(d.vd,g[v].Pf[M],B);B.Pf.push(O)}m.push(B)}d.nj&&rc(d.nj);d.nj=new tM(0<m.length?m:null);A(d,d.nj);d.dispatchEvent("wb")}c=[];for(h=0;h<f.$b.length;h++)c[h]=
[];k=f.po.vO;for(h=0;h<k.length;h++)d=k[h],g=f.$b[d.E3].vd,c[d.E3].push(new aM(d.url,new wn(d.left/g.width,d.top/g.height,d.width/g.width,d.height/g.height)));for(h=0;h<f.$b.length;h++)f.$b[h].setLinks(c[h])}f.dispatchEvent("yb");this.El||(f=this.item.pt,nO(this,f.start,f.end+2))};e.lF=function(){var a={};a[this.QE()]=aO(0,this.Ry(0));return[{meta:{}},a]};e.fO=function(){oO(this)};e.Tu=function(){oO(this)};e.eO=function(){oO(this)};
function oO(a){if(a.item.li&&!a.aG){var b=a.item.pt;kO(a,b.start,b.end+2);a.El||nO(a,b.start,b.end+2)}};function pO(a,b){jO.call(this,a,b);this.item=a}w(pO,jO);var qO=[800,1600,2E3];e=pO.prototype;e.mD=function(a,b,c){a=this.item.Ri(a);c=new $L(c.getData());!a.He||a.dE?KM(a,c,!1):(b=c.Kb(),a.He.Kb()<=b&&KM(a,c,!1))};e.gF=function(){var a=zH;rO(this.getContext().qa())&&(a=AH);return t(function(b){return a(b,this.getContext().U())},this)};
e.Ry=function(a){var b={},c=PM(this.item.hb)*cH(Ar(this.getContext()));a=this.item.Ri(a);var d=0;a.He&&!a.dE&&(d=a.He.Kb());(a=qb(qO,function(a){return a>=c&&a>=d}))||(a=qO[qO.length-1]);b.w=a;sO(this.getContext().qa())&&(Hi&&!Gi&&dm("23")||Hi&&Gi&&dm("25")||!Hi&&Gi&&dm("4.2")||Hd&&dm("12.10"))&&(b.webp=!0);return b};e.U1=function(a,b){if(a){var c=qx(a),d=ox(b);cj(c,1,d)}};e.oA=function(){var a=aj(this.getContext().qa(),tO,61),b;if(b=!!a)b=null==L(a,1)?!1:L(a,1);return b};
e.TU=function(a){a=pO.R.TU.call(this,a);var b;if(b=a)b=this.getContext().qa(),b=null==L(b,64)?!1:L(b,64);b&&(b=this.Ry(0),b.w=800,b=eO(b),this.uh[0]||(this.uh[0]={}),this.uh[0][b]=a);return a};function uO(a,b){pO.call(this,a,b)}w(uO,pO);uO.prototype.QE=function(){return"img"};uO.prototype.kZ=function(a){return null==L(a,8)?"":L(a,8)};function vO(a,b){QM.call(this,a,b)}w(vO,QM);vO.prototype.gN=function(){return{r:"gp"}};vO.prototype.Nd=function(a,b,c){a=vO.R.Nd.call(this,a,b,c);return $l(a)?li(a,"r","gp"):a};function wO(a){this.Qa=a}wO.prototype.Kb=function(){return this.Qa.w};wO.prototype.getHeight=function(){return this.Qa.h};wO.prototype.getData=function(){return this.Qa};function xO(a,b){jO.call(this,a,b);this.item=a}w(xO,jO);xO.prototype.Ry=function(){return{}};xO.prototype.mD=function(a,b,c){KM(this.item.Ri(a),new wO(c),!1)};xO.prototype.gF=function(){return CH};xO.prototype.oA=function(){var a=aj(this.getContext().qa(),tO,61),b;if(b=!!a)b=null==L(a,2)?!1:L(a,2);return b};function yO(a,b,c,d,f){this.commands=a;this.width=d;this.height=f;this.d2=b;this.images=c||null}function zO(a){return new yO(a.dr,a.mem,a.i,a.w,a.h)};function AO(a){this.gp=0;this.QP={};this.R1={};this.nb=a||he();this.QY={};var b=this;this.KP=function(){b.BO(this)};this.eM=function(){b.AO(this)};this.Et=null}e=AO.prototype;e.Pi=function(a){var b=this.R1[a];if(b)return b;if(this.QY[a])return null;this.QP[a]||(b=this.nb.createElement("IMG"),this.QP[a]=b,this.gp++,b.onload=this.KP,b.onerror=this.eM,b.src=a);return null};e.BO=function(a){this.R1[a.src]=a;this.Ay(a)};e.AO=function(a){this.QY[a.src]=a;this.Ay(a)};e.xp=function(a){this.Et=a};
e.Ay=function(a){delete this.QP[a.src];this.gp--;0==this.gp&&this.Et()};function BO(a,b){this.gp=0;this.aA=[];this.nb=b||he();var c=this;this.KP=function(){c.BO(this)};this.eM=function(){c.AO(this)};this.Et=null;for(var d=0;d<a.length;d++){var f="data:"+a[d][0]+";base64,"+a[d][1],g=this.nb.createElement("IMG");this.gp++;g.onload=this.KP;g.onerror=this.eM;g.src=f;this.aA[d]=g}}e=BO.prototype;e.xp=function(a){this.Et=a};e.BO=function(a){this.Ay(a)};e.AO=function(a){this.Ay(a)};e.Ay=function(a){a.onload=null;a.onerror=null;this.gp--;0<this.gp||!this.Et||this.Et()};
e.dispose=function(){for(var a=0;a<this.aA.length;a++)this.aA[a].onload=null,this.aA[a].onerror=null};e.Pi=function(a){return this.aA[a]};var CO=["butt","round","square"];var DO=["miter","round","bevel"];function EO(a,b,c){this.fs=a;this.Va=b.getContext("2d");this.YL=!1;this.JF=new AO(c);this.w6=this.K1=this.Bh=0;this.MA=!0;this.Uo=null;a.images&&(this.Uo=new BO(a.images,c))}EO.prototype.Ri=function(){return this.fs};function FO(a,b){this.uQ=a;this.uo=b}var GO=[];GO[1]=new FO(0,function(){this.Va.save()});GO[2]=new FO(0,function(){this.Va.restore()});GO[3]=new FO(2,function(a,b){this.Va.scale(a,b)});GO[4]=new FO(1,function(a){this.Va.rotate(a)});GO[5]=new FO(2,function(a,b){this.Va.translate(a,b)});
GO[52]=new FO(2,function(a,b){this.Va.transform(1,b,a,1,0,0)});GO[6]=new FO(6,function(a,b,c,d,f,g){this.Va.transform(a,b,c,d,f,g)});GO[7]=new FO(6,function(a,b,c,d,f,g){this.Va.setTransform(a,c,b,d,f,g)});GO[8]=new FO(4,function(a,b,c,d){this.Va.clearRect(a,b,c,d)});GO[41]=new FO(4,function(a,b,c,d){this.Va.rect(a,b,c,d)});GO[9]=new FO(4,function(a,b,c,d){this.Va.fillRect(a,b,c,d)});GO[10]=new FO(4,function(a,b,c,d){this.Va.strokeRect(a,b,c,d)});
GO[45]=new FO(4,function(a,b,c,d){this.Va.fillStyle=HO(a,b,c,d)});GO[46]=new FO(4,function(a,b,c,d){this.Va.strokeStyle=HO(a,b,c,d)});GO[16]=new FO(1,function(a){this.Va.lineWidth=a});GO[17]=new FO(0,function(){this.Va.beginPath()});GO[18]=new FO(0,function(){this.Va.closePath()});GO[19]=new FO(6,function(a,b,c,d,f,g){this.Va.bezierCurveTo(a,b,c,d,f,g)});GO[20]=new FO(2,function(a,b){this.Va.lineTo(a,b)});GO[21]=new FO(2,function(a,b){this.Va.moveTo(a,b)});
GO[22]=new FO(4,function(a,b,c,d){this.Va.quadraticCurveTo(a,b,c,d)});GO[23]=new FO(5,function(a,b,c,d,f){this.Va.arcTo(a,b,c,d,f)});GO[24]=new FO(6,function(a,b,c,d,f,g){this.Va.arc(a,b,c,d,f,g)});GO[25]=new FO(0,function(){this.Va.fill()});GO[26]=new FO(0,function(){this.Va.stroke()});GO[27]=new FO(5,function(a,b,c,d,f){(a=this.JF.Pi(a))?d&&f?this.Va.drawImage(a,b,c,d,f):this.Va.drawImage(a,b,c):this.MA=!0});
GO[49]=new FO(6,function(a,b,c,d,f,g){(a=this.JF.Pi("data:"+a+";base64,"+b))?f&&g?this.Va.drawImage(a,c,d,f,g):this.Va.drawImage(a,c,d):this.MA=!0});GO[56]=new FO(5,function(a,b,c,d,f){(a=this.Uo.Pi(a))&&(d&&f?this.Va.drawImage(a,b,c,d,f):this.Va.drawImage(a,b,c))});GO[47]=new FO(5,function(a,b,c,d,f){a=this.Va.createLinearGradient(a,b,c,d);for(b=0;b<f.length;b+=5)a.addColorStop(f[b],HO(f[b+1],f[b+2],f[b+3],f[b+4]));this.Va.fillStyle=a});GO[31]=new FO(1,function(a){this.Va.lineCap=CO[a]});
GO[32]=new FO(1,function(a){this.Va.lineJoin=DO[a]});GO[33]=new FO(1,function(a){this.Va.setLineDash&&this.Va.setLineDash(a)});GO[48]=new FO(4,function(a,b,c,d){a=this.Va.createRadialGradient(a,b,0,a,b,c);for(b=0;b<d.length;b+=5)a.addColorStop(d[b],HO(d[b+1],d[b+2],d[b+3],d[b+4]));this.Va.fillStyle=a});GO[36]=new FO(0,function(){this.Va.clip()});GO[37]=new FO(1,function(a){this.Va.globalAlpha=a});GO[28]=new FO(1,function(a){IO(this,this.Va,this.fs.d2[a])});
GO[35]=new FO(3,function(a,b,c){this.Va.fillStyle=this.createPattern(a,b,c)});GO[38]=new FO(3,function(a,b,c){this.Va.strokeStyle=this.createPattern(a,b,c)});GO[42]=new FO(6,function(){});GO[43]=new FO(0,function(){this.Va.beginPath()});GO[44]=new FO(1,function(a){for(var b=0;b<a.length;b++){var c=a[b],d=c[0],c=c[1];GO[d]||(GO[d]=new FO(c,p))}});GO[50]=new FO(1,function(){throw Error("Unsupported operation");});GO[57]=new FO(3,function(){throw Error("Unsupported operation");});
GO[51]=new FO(0,function(){throw Error("Unsupported operation");});GO[53]=new FO(1,function(){});GO[54]=new FO(11,function(){throw Error("Unsupported operation");});GO[55]=new FO(2,function(){throw Error("Unsupported operation");});GO[58]=new FO(5,function(){throw Error("Unsupported operation");});GO[59]=new FO(4,function(){throw Error("Unsupported operation");});GO[60]=new FO(0,function(){throw Error("Unsupported operation");});e=EO.prototype;
e.createPattern=function(a,b,c){a=we("canvas",{width:a,height:b});b=a.getContext("2d");IO(this,b,this.fs.d2[c]);return this.Va.createPattern(a,"repeat")};e.dispose=function(){this.Bh=0;this.YL=!0;this.Uo&&this.Uo.dispose();this.Va=null};e.a9=function(a){0!=this.Bh&&this.MA&&this.CR(a)};e.draw=function(a,b,c,d){this.Bh=a;this.w6=c;this.K1=b;this.Uo&&0<this.Uo.gp?this.Uo.xp(t(this.CR,this,d)):(this.JF&&this.JF.xp(t(this.a9,this,d)),this.CR(d))};
function JO(a,b,c){if(!a.YL){var d=!1;try{b=IO(a,a.Va,a.fs.commands,b,!!c),b<a.fs.commands.length?kf(function(){JO(this,b,c)},a):KO(a,c),d=!0}finally{d||KO(a,c)}}}function KO(a,b){a.Va.restore();a.MA||b&&b()}e.CR=function(a){this.MA=this.YL=!1;if(this.Va){var b=!1;this.Va.save();try{this.Va.setTransform(this.Bh,0,0,this.Bh,this.K1,this.w6),this.Va.clearRect(0,0,this.fs.width,this.fs.height),b=!0}finally{if(!b){KO(this,a);return}}JO(this,0,a)}};
function IO(a,b,c,d,f){var g=a.Va;a.Va=b;try{b=d||0;for(var h=f&&a.Uo?b+500:c.length;b<h&&b<c.length;){var k=c[b];b++;var m=GO[k];if(!m)throw Error("Unrecognized Gpaper command ID "+k);0==m.uQ?m.uo.call(a):(m.uo.apply(a,c.slice(b,b+m.uQ)),b+=m.uQ)}}finally{a.Va=g}return b}function HO(a,b,c,d){return"rgba("+a+","+b+","+c+","+d/255+")"};function LO(){return U('<canvas class="drive-viewer-paginated-page-gpaper-canvas"></canvas>')};function MO(a,b){bN.call(this,a,b);this.jn=this.FD=this.Si=null;this.vP=0;this.Ir=null}w(MO,GN);e=MO.prototype;e.V0=function(){};function NO(a,b,c){pe(a,{width:b,height:c})}e.I$=function(a){sh(this.jn,!0);dN(this,this.jn);this.FD=this.jn;this.jn=null;this.Ir&&(wq(yq(this.getContext()),this.Ir),this.Ir=null);this.Si=null;a()};
e.iI=function(){this.FD&&MO.R.iI.call(this);OO(this);var a=this.FD;a&&NO(a,0,0);this.FD=null;(a=this.jn)&&NO(a,0,0);this.jn=null;this.vP=0;this.Si&&(this.Si.dispose(),this.Si=null)};
function PO(a,b){var c=PM(a.page.getItem().hb),d=cH(Ar(a.getContext())),f=c*d;if(a.vP==f)null!=a.Si||b();else{OO(a);a.Ir=a.jU();var g=a.page.Pk.clone(),c=g.height/g.width*c;a.Si&&(a.Si.dispose(),a.Si=null);var g=a.page.He,h=g.getData(),h=zO(h);a.jn=S(LO,void 0,void 0,a.U());NO(a.jn,f,d*c);a.Si=new EO(h,a.jn,a.U());var d=g.Kb(),k=f/d,m=a.Si;kf(function(){this.Si==m&&this.Si.draw(k,0,0,t(this.I$,this,b))},a);a.vP=f}}e.kY=function(a){"CANVAS"==a.tagName&&a&&NO(a,0,0)};
e.jU=function(){var a=this.page.getItem(),b=this.page.D3,b="rc_"+a.getId()+"_"+b;pq(yq(this.getContext()),b,{La:35,item:a});return b};function OO(a){a.Ir&&(rq(yq(a.getContext()),a.Ir),a.Ir=null)}e.tF=function(){};e.ma=function(){this.iI();MO.R.ma.call(this)};function QO(a){this.H3=a;this.aE=null;this.Zv=[]}function RO(a,b){ub(a.Zv);for(var c=b.start;c<=b.end;c++)a.Zv.push(c);for(var c=b.clone(),d=0;2>d;d++)c.start--,c.end++,a.Zv.push(c.end),a.Zv.push(c.start);if(a.aE)for(var d=a.aE.end,f=a.aE.start;f<=d;f++){var g=a.H3[f];g&&!Lm(c,f)&&g.iI()}a.aE=c;SO(a)}function SO(a){for(var b;!b&&0<a.Zv.length;)b=a.H3[a.Zv.shift()];b&&(a=t(a.tja,a),b.page.He?b.page.He&&b.page.He instanceof $L?(null!=b.pm||dN(b),a()):PO(b,a):a())}QO.prototype.tja=function(){SO(this)};function TO(a,b){qN.call(this,a,b);this.G3=new QO(this.xe)}w(TO,qN);TO.prototype.ta=function(){TO.R.ta.call(this);this.ka().listen(this.item,"Bb",this.fO)};TO.prototype.i_=function(){return MO};TO.prototype.As=function(){TO.R.As.call(this);RO(this.G3,this.item.pt)};TO.prototype.fO=function(){RO(this.G3,this.item.pt)};function UO(a,b){Hm.call(this,b||"p_gp",a);this.iM=null;I(this.xZ,200,this)}w(UO,IN);e=UO.prototype;e.kf=function(){var a=zb(BG.Am);return yG(a)};e.Yd=function(a){return et(a)?et(a):a.jf()};e.qe=function(a){return!!a.getName()&&!!a.jf()};e.Kf=function(){return[1]};e.If=function(){return vO};e.Zh=function(){return VO(this)?uO:xO};e.Qi=function(){return VO(this)?HN:TO};function VO(a){var b=a.getContext().qa(),c=Zx(b),c=4==(c&&c.Do()),b=1==zs(b);return c&&b&&E||250<a.xZ()}
e.xZ=function(){if(null===this.iM){var a;a=new DL;if(a.Va){if(!a.Faa&&window.performance&&window.performance.now){for(var b=Infinity,c=window.performance.now(),d=0;100>d;d++){var f=window.performance.now();if(8<f-c)break;EL(a);b=Math.min(b,window.performance.now()-f)}a=b}else FL(a,5),a=FL(a,100);a*=5E3}else a=Infinity;this.iM=a}return this.iM};function WO(a){UO.call(this,a,"p_gp_d")}w(WO,UO);WO.prototype.Yd=function(a){return et(a)+a.Oa()};WO.prototype.qe=function(a){return!!a.getName()&&!!a.Oa()&&!!a.jf()};WO.prototype.Kf=function(){return[6]};function XO(a,b){Hm.call(this,a,b)}w(XO,IN);
XO.prototype.kf=function(){var a="application/msword application/vnd.ms-word.document.macroEnabled.12 application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.google-apps.document application/vnd.google-apps.kix application/pdf application/vnd.ms-powerpoint application/vnd.ms-powerpoint.slideshow.macroEnabled.12 application/vnd.ms-powerpoint.template.macroEnabled.12 application/vnd.openxmlformats-officedocument.presentationml.presentation image/tiff application/octet-stream+fnt".split(" ");YO(this.getContext().qa())||
(a.push("application/vnd.google-apps.presentation"),a.push("application/vnd.google-apps.punch"));ZO(this.getContext().qa())||(a.push("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),a.push("application/vnd.ms-excel"));return a};XO.prototype.If=function(){return QM};XO.prototype.Qi=function(){return HN};function $O(a,b){Hm.call(this,b||"p_s",a)}w($O,XO);e=$O.prototype;e.kf=function(){var a=zb(AG.Am);Ab(a,zb(EG.Am));ZO(this.getContext().qa())||Ab(a,zb(CG.Am));YO(this.getContext().qa())||Ab(a,zb(DG.Am));return yG(a)};e.Yd=function(a){return et(a)?et(a):a.jf()};e.qe=function(a){return!!a.getName()&&!!a.jf()};e.Kf=function(){return[1]};e.If=function(){return QM};e.Zh=function(){return pO};function aP(a){$O.call(this,a,"p_d")}w(aP,$O);aP.prototype.Yd=function(a){return et(a)+a.Oa()};aP.prototype.qe=function(a){return!!a.getName()&&!!a.Oa()&&!!a.jf()};aP.prototype.Kf=function(){return[6]};function bP(a){this.S=a;this.Te=[];this.kg=!1};function Vs(a){Xi(this,a,null)}w(Vs,Vi);Vs.prototype.Ya=function(){return ij(this)};function jw(a){return null==L(a,2)?!1:L(a,2)}function iw(a){return null==L(a,3)?!1:L(a,3)}function Ws(a){return null==L(a,4)?"":L(a,4)}function Xs(a){return null==L(a,5)?"":L(a,5)};function cP(a){Xi(this,a,null)}w(cP,Vi);e=cP.prototype;e.Ya=function(){return ij(this)};e.Hu=function(){return null==L(this,2)?"":L(this,2)};e.nT=function(a){N(this,2,a)};e.EM=function(){return null==L(this,4)?"AIzaSyDVQw45DwoYh632gvsP5vPDqEKvb-Ywnb8":L(this,4)};e.X4=function(a){N(this,4,a)};function gw(a){return null==L(a,7)?!1:L(a,7)}function yB(a){return null==L(a,10)?"":L(a,10)}function hw(a){return null==L(a,11)?!1:L(a,11)}function oi(a){return null==L(a,12)?"/drive/v2internal":L(a,12)}
function dP(a){return null==L(a,18)?!1:L(a,18)};function yL(a){Xi(this,a,null)}w(yL,Vi);yL.prototype.Ya=function(){return ij(this)};yL.prototype.EM=function(){return null==L(this,1)?"AIzaSyCMp6sr4oTC18AWkE2Ii4UBZHTHEpGZWZM":L(this,1)};yL.prototype.X4=function(a){N(this,1,a)};function BL(a){return null==L(a,3)?"/v1":L(a,3)};function eP(a){Xi(this,a,null)}w(eP,Vi);eP.prototype.Ya=function(){return ij(this)};function fP(a){Xi(this,a,null)}w(fP,Vi);e=fP.prototype;e.Ya=function(){return ij(this)};e.RE=function(){return aj(this,gP,1)};e.a5=function(a){cj(this,1,a)};e.Do=function(){return null==L(this,2)?0:L(this,2)};e.j5=function(a){N(this,2,a)};function GC(a){return null==L(a,5)?"":L(a,5)}function HC(a){return null==L(a,6)?"":L(a,6)}function gP(a){Xi(this,a,null)}w(gP,Vi);e=gP.prototype;e.Ya=function(){return ij(this)};e.JM=function(){return null==L(this,1)?"":L(this,1)};e.b5=function(a){N(this,1,a)};
e.aN=function(){return null==L(this,2)?"":L(this,2)};e.q5=function(a){N(this,2,a)};function iL(a){Xi(this,a,null)}w(iL,Vi);iL.prototype.Ya=function(){return ij(this)};function hP(a){Xi(this,a,null)}w(hP,Vi);hP.prototype.Ya=function(){return ij(this)};function dw(a){Xi(this,a,null)}w(dw,Vi);dw.prototype.Ya=function(){return ij(this)};dw.prototype.QZ=function(){return null==L(this,2)?!1:L(this,2)};dw.prototype.k5=function(a){N(this,2,a)};function iP(a){Xi(this,a,null)}w(iP,Vi);iP.prototype.Ya=function(){return ij(this)};iP.prototype.$y=function(){return null==L(this,2)?"":L(this,2)};function jP(a){return null==L(a,5)?"":L(a,5)}function kP(a){return null==L(a,6)?"":L(a,6)}function lP(a){return null==L(a,7)?"":L(a,7)}function mP(a){return null==L(a,8)?"":L(a,8)};function nP(a){Xi(this,a,null)}w(nP,Vi);nP.prototype.Ya=function(){return ij(this)};function tO(a){Xi(this,a,null)}w(tO,Vi);tO.prototype.Ya=function(){return ij(this)};function oP(a){Xi(this,a,null)}w(oP,Vi);oP.prototype.Ya=function(){return ij(this)};function pP(a){Xi(this,a,null)}w(pP,Vi);pP.prototype.Ya=function(){return ij(this)};function qP(a){return null==L(a,1)?"https://www.youtube.com":L(a,1)};function bO(a){Xi(this,a,null)}w(bO,Vi);bO.prototype.Ya=function(){return ij(this)};function rP(a){Xi(this,a,null)}w(rP,Vi);e=rP.prototype;e.Ya=function(){return ij(this)};e.sg=function(){return null==L(this,1)?"0":L(this,1)};e.CI=function(a){N(this,1,a)};function Kr(a){return null==L(a,2)?!0:L(a,2)}function sP(a){return null==L(a,3)?"":L(a,3)}function SK(a){return null==L(a,4)?!0:L(a,4)}function zs(a){return null==L(a,6)?0:L(a,6)}e.l5=function(a){N(this,6,a)};e.zo=function(){return null==L(this,8)?"":L(this,8)};function pi(a){return aj(a,cP,12)}
function Iu(a){return null==L(a,16)?"":L(a,16)}e.f5=function(a){N(this,16,a)};function ft(a){return null==L(a,17)?!1:L(a,17)}function $K(a){return null==L(a,18)?!0:L(a,18)}function tP(a){return null==L(a,19)?"":L(a,19)}function bz(a){return null==L(a,21)?1:L(a,21)}function uP(a){return null==L(a,23)?!0:L(a,23)}function YO(a){return null==L(a,24)?!0:L(a,24)}e.Do=function(){return L(this,25)};e.j5=function(a){N(this,25,a)};function vP(a){return null==L(a,26)?!0:L(a,26)}
function Lx(a){return null==L(a,30)?!1:L(a,30)}e.CT=function(a){N(this,31,a)};function Zx(a){return aj(a,fP,33)}function rO(a){return null==L(a,36)?!0:L(a,36)}function wP(a){return aj(a,iP,38)}e.YM=function(){return aj(this,nP,43)};function xP(a){return null==L(a,44)?"":L(a,44)}function yP(a){return null==L(a,45)?!1:L(a,45)}function zP(a){return null==L(a,46)?!1:L(a,46)}function sO(a){return null==L(a,49)?!0:L(a,49)}function AP(a){return null==L(a,52)?!1:L(a,52)}
function ZO(a){return null==L(a,54)?!0:L(a,54)}function AF(a){return null==L(a,59)?"":L(a,59)}e.vc=function(){return null==L(this,65)?2:L(this,65)};function Kz(a){return null==L(a,70)?!1:L(a,70)};function BP(a,b){em.call(this,a,b);this.rb=null;this.jh=!1}w(BP,em);var CP={wV:"Fb",R7:"Gb"};e=BP.prototype;e.Oa=function(){return this.pb.Oa()};e.wo=function(){return this.pb.wo()};e.OE=function(){return this.pb.OE()};e.Gu=function(){return this.pb.Gu()};e.YB=function(a){this.rb=a;this.dispatchEvent("Gb")};function DP(a,b){Os.call(this,a,b);this.item=a;this.rb=null}w(DP,Os);DP.prototype.er=function(){this.LP()};DP.prototype.LP=function(){if(!this.item.rb){var a=this.QM();this.rb=this.getContext().U().ra("IFRAME",{style:"border:none; display:none; height:100%; width:100%; z-index:1; position:absolute;",src:a,onload:t(this.FN,this)});this.rb.setAttribute("allowfullscreen","true");this.rb.setAttribute("mozallowfullscreen","true");this.rb.setAttribute("webkitallowfullscreen","true");this.item.YB(this.rb)}};
DP.prototype.QM=p;DP.prototype.FN=function(){this.item.lb(1);var a=this.item;a.jh=!0;a.dispatchEvent("Fb")};function EP(a,b){DP.call(this,a,b);this.item=a}w(EP,DP);EP.prototype.LP=function(){EP.R.LP.call(this);this.item.lb(1);this.item.Rd(2)};EP.prototype.QM=function(){var a=this.getContext().qa(),b=this.item.pb.wo()?"/presentation/adminpreview":"/presentation/preview",b=Rl(b,xP(a)||Iu(a),a.zo()),a=ei(b,"authuser",a.sg(),"id",this.item.Oa());this.item.pb.wo()&&(a=ei(a,"auth_hint",this.item.wo(),"auth_hint_timestamp",this.item.OE()));this.item.pb.Gu()&&(a=ei(a,"revision_timestamp",this.item.Gu()));return a};
EP.prototype.FN=function(){EP.R.FN.call(this);this.item.Rd(1)};function FP(){return U('<div class="drive-viewer-iframe-view drive-viewer-itemview"></div>')};function GP(a,b){Cr.call(this,a,b);this.item=a}w(GP,Cr);e=GP.prototype;e.ra=function(){this.$=S(FP,void 0,void 0,this.U())};e.ta=function(){GP.R.ta.call(this);this.item.rb?this.YB():this.ka().Fb(this.item,CP.R7,this.Vca)};e.Tb=function(){this.uc()||(GP.R.Tb.call(this),Qr(this),this.layout())};e.Oc=function(){GP.R.Oc.call(this);Rr(this)};e.layout=function(){if(this.item.jh){var a=this.zd();HP(this,a)}};function HP(a,b){var c=a.H();Wn(c,b);In(c,a.Pj(b))}e.Vca=function(){this.YB()};e.f0=function(){IP(this)};
e.YB=function(){this.H().appendChild(this.item.rb);this.item.jh?IP(this):(this.item.getState()==V.vq&&this.item.lb(V.LOADING),this.ka().Fb(this.item,CP.wV,this.f0))};e.RZ=function(){return"SendKeyboardEvents"};function IP(a){var b=Tl(a.U().getWindow()),c=a.getContext().qa(),b=xP(c)||Iu(c)||b,c=a.item.rb;c.contentWindow&&c.contentWindow.postMessage&&c.contentWindow.postMessage(a.RZ(),b);X(c,!0);a.layout()}e.Db=function(){GP.R.Db.call(this);var a=this.item;a.jh=!1;a.Dg()};function JP(a,b){GP.call(this,a,b);this.oe=null}w(JP,GP);var KP=16/9,LP=[xo[27],xo[72],xo[76],xo[37],xo[39],xo[79]];e=JP.prototype;e.ta=function(){JP.R.ta.call(this);this.ka().listen(this.item,gm.nV,this.qN);this.HC()};e.layout=function(){var a=this.zd();if(29<a.height)var a=new D(a.width,a.height-29),b=a.width/a.height/KP,a=1>b?new D(a.width,a.height*b):new D(a.width/b,a.height),a=new D(a.width,a.height+29);else a=new D(0,0);b=this.H();Wn(b,a);In(b,this.Pj(a));MP(this)};
e.RZ=function(){return"SendKeyboardEvents"+Pi({wantedKeys:LP})};e.YB=function(){var a=this.item.rb;this.H().appendChild(a);this.item.jh?IP(this):(this.item.xo()==V.vq&&this.item.Rd(V.LOADING),this.ka().Fb(this.item,CP.wV,this.f0),X(a,!0),this.layout())};e.qN=function(){this.HC()};e.HC=function(){var a=this.U();switch(this.item.xo()){case V.vq:case V.LOADING:this.oe||(this.oe=S(ku,void 0,void 0,a),a.appendChild(this.H(),this.oe));MP(this);break;case V.LOADED:a.removeNode(this.oe),this.oe=null}};
function MP(a){if(a.oe){var b=Zn(a.H()),c=Zn(a.oe);In(a.oe,(b.width-c.width)/2,(b.height-c.height)/2)}};function NP(a){Hm.call(this,"pu",a)}w(NP,Hm);e=NP.prototype;e.Yd=function(a){return et(a)+a.Oa()};e.qe=function(a){return!!a.getName()&&!!a.Oa()};e.kf=function(){return["application/vnd.google-apps.presentation","application/vnd.google-apps.punch"]};e.If=function(){return BP};e.Qi=function(){return JP};e.Zh=function(){return EP};function OP(a,b){DP.call(this,a,b);this.item=a}w(OP,DP);OP.prototype.QM=function(){var a=this.getContext().qa(),b=this.item.pb.wo()?"/spreadsheet/adminpreview":"/spreadsheet/preview",b=Rl(b,xP(a)||Iu(a),a.zo()),a=ei(b,"authuser",a.sg(),"key",this.item.Oa());this.item.pb.wo()&&(a=ei(a,"auth_hint",this.item.wo(),"auth_hint_timestamp",this.item.OE()));this.item.pb.Gu()&&(a=ei(a,"revision_timestamp",this.item.Gu()));return a};function PP(a,b){GP.call(this,a,b);this.Xj=null}w(PP,GP);e=PP.prototype;e.Tb=function(){PP.R.Tb.call(this);X(this.H(),!0)};e.Oc=function(){PP.R.Oc.call(this);J(this.Xj)};e.layout=function(){if(this.item.jh){var a=this.zd();if(E&&!Zd(10)){var b=this.H(),c=Zn(b);if(0==c.width&&0==c.height&&0<a.width&&0<a.height){X(b,!1);HP(this,new D(a.width-1,a.height-1));this.Qk();return}}HP(this,a)}};e.Qk=function(){!this.Xj&&this.uc()&&I(function(){X(this.H(),!0);this.layout()},100,this)};
e.Db=function(){PP.R.Db.call(this);J(this.Xj)};function QP(a){Hm.call(this,"si",a)}w(QP,Hm);e=QP.prototype;e.Yd=function(a){return et(a)+a.Oa()};e.qe=function(a){return!!a.getName()&&!!a.Oa()};e.kf=function(){return["application/vnd.google-apps.ritz","application/vnd.google-apps.spreadsheet"]};e.If=function(){return BP};e.Qi=function(){return PP};e.Zh=function(){return OP};function RP(a,b){this.Qe=[0];this.CH=[];this.Gi=0;this.Yla=a;this.wE=b||null;null!=this.wE&&(this.Qe[1]=this.wE)}RP.prototype.bm=function(a,b){if(a==this.Gi)for(this.Qe[this.Gi+1]=this.Qe[this.Gi]+b,this.Gi++;null!=this.CH[++a];)this.Qe[this.Gi+1]=this.Qe[this.Gi]+this.CH[a],this.Gi++,delete this.CH[a];else a<this.Gi||(this.CH[a]=b);this.Gi<this.Yla&&null!=this.wE&&(this.Qe[this.Gi+1]=this.Qe[this.Gi]+this.wE)};
RP.prototype.resolve=function(a,b){var c=SP(this);if(a>c||0>a+b||1==this.Qe.length)return null;0>a&&(b+=a,a=0);a+b>c&&(b=c-a);c=Eb(this.Qe,a);0>c?c=-c-2:0<c&&c--;var d=Eb(this.Qe,a+b);0>d?d=-d-2:d==this.Qe.length-1&&d--;return new Km(c,d)};RP.prototype.xd=function(a){return this.Qe[a]};function SP(a){return a.Qe[a.Qe.length-1]}RP.prototype.isEmpty=function(){return 0==this.Gi};function TP(a,b,c){this.wj=new RP(a,c);this.Vi=new RP(b,c)}TP.prototype.resolve=function(a){var b=this.wj.resolve(a.top,a.height);a=this.Vi.resolve(a.left,a.width);return b&&a?new wn(a.start,b.start,a.end-a.start+1,b.end-b.start+1):null};function UP(a,b){var c=new wn(0,0,0,0);c.left=a.Vi.xd(b.left);c.top=a.wj.xd(b.top);c.width=a.Vi.xd(b.left+b.width)-c.left;c.height=a.wj.xd(b.top+b.height)-c.top;return c};function VP(a,b){aM.call(this,a,b);this.nK=!1}w(VP,aM);function WP(a,b,c){this.GU=a;this.ht=b;this.Rh=4*c;50<this.ht&&(this.Rh=2*c);100<this.ht&&(this.Rh=c);this.Qa=[];this.xt=0;this.ru=Number.POSITIVE_INFINITY;this.x6=Math.ceil(a/this.Rh)}e=WP.prototype;e.bm=function(a,b){var c=XP(this,a);for(this.Qa[c]=b;this.Qa[this.xt];)this.xt++};
e.getText=function(a){for(var b=[],c=a.top;c<a.top+a.height;++c){for(var d=Math.floor(c/this.Rh),f=L(this.Qa[d],3),d=(c-d*this.Rh)*this.ht,g=a.left;g<a.left+a.width;++g)g>a.left&&b.push("\t"),b.push(f[g+d]);c+1<a.top+a.height&&b.push("\n")}return b.join("")};e.isEmpty=function(){return 0==this.xt};e.XF=function(){return 0==this.ru};e.xg=function(){return this.xt==this.x6};function XP(a,b){var c=b.xd().eh();return Math.floor(c/a.Rh)};function YP(a,b,c,d){H.call(this);this.Ia=a;this.KC=b;this.uz=c;this.mc=null;this.T_=d;this.L0=this.KF=null;this.CE=!1;this.jM=this.sr=null}w(YP,H);e=YP.prototype;e.getContent=function(){return this.mc};e.setContent=function(a){this.mc=a};
e.getImageData=function(a,b){if(this.L0!=a||!this.KF&&!this.sr){var c=b.createElement("CANVAS");c.style.visibility="hidden";pe(c,{width:this.mc.width*a,height:this.mc.height*a});this.sr&&this.sr.dispose();J(this.jM);this.sr=new EO(this.mc,c,b);this.L0=a;this.KF=null;this.sr.draw(a,0,0,t(this.Vha,this,c))}return this.KF};e.Iu=function(){return this.Ia.QF};
e.Vha=function(a){this.KF=a.getContext("2d").getImageData(0,0,a.width,a.height);this.sr.dispose();this.sr=null;a=t(this.dispatchEvent,this,"Lb");this.jM=I(a,0)};e.ma=function(){J(this.jM);YP.R.ma.call(this)};function ZP(a,b,c){this.cX=a;this.gJ=b;this.kr=c;this.sC=Math.ceil((this.cX-this.kr)/this.gJ);0<this.kr&&++this.sC}function pC(a,b){if(b<a.kr)return 0;var c=Math.floor((b-a.kr)/a.gJ);0<a.kr&&++c;return c}function $P(a,b){if(b==a.sC)return a.cX;var c=b*a.gJ;0<a.kr&&0<b&&(c+=a.kr-a.gJ);return c}function aQ(a,b){return new Km($P(a,b),$P(a,b+1))};function bQ(a,b,c,d,f,g,h){H.call(this);this.Lb=a;this.SR=b;this.UK=c;this.QF=d;this.jr=g;this.ir=h;this.vC=[];this.bj=new WP(this.SR,this.UK,50);this.LC=new ZP(this.SR,50,g);this.vz=new ZP(this.UK,20,h);this.im=new TP(this.SR,this.UK);this.Xf=new TP(this.LC.sC,this.vz.sC,1E4);this.Kl=f;this.tv=!1;this.fp=[];this.AM=[];this.BM=[];this.rM=[]}w(bQ,H);e=bQ.prototype;e.getName=function(){return this.Lb};e.Kb=function(){return SP(this.Xf.Vi)};e.getHeight=function(){return SP(this.Xf.wj)};
function cQ(a){return!a.Xf.Vi.isEmpty()&&!a.Xf.wj.isEmpty()}e.JT=function(a){this.tv=a};e.XF=function(){return!!oC(this,0,0).CE&&this.bj.XF()};function dQ(a,b,c){var d=b.xd().eh();b=b.xd().Jf();d=oC(a,pC(a.LC,d),pC(a.vz,b));d.setContent(c);a.Xf.wj.bm(d.KC,d.getContent().height);a.Xf.Vi.bm(d.uz,d.getContent().width);a.dispatchEvent("Lb")}function eQ(a,b){return UP(a.im,b)}function fQ(a,b,c){a=oC(a,b,c);a.getContent()||a.CE||a.dispatchEvent("Kb");return a}
function oC(a,b,c){var d=a.vC[b]&&a.vC[b][c];d||(d=new YP(a,b,c,a.Xf),d.Fg(a),A(a,d),a.vC[b]||(a.vC[b]=[]),a.vC[b][c]=d);return d}function gQ(a,b){var c=aQ(a.LC,b.KC),d=aQ(a.vz,b.uz),f=new bC;N(f,1,a.QF);var g=new $B;g.LS(d.start);g.LI(c.start);f.XS(g);g=new ZB;g.Ed(d.getLength());g.Sd(c.getLength());f.setSize(g);return f}function hQ(a){for(var b=0;b<a.length;b++)a[b].nK=!1}e.getMetadata=function(){return this.bj};function iQ(a){return 0==a.jr||a.Xf.wj.isEmpty()?0:a.Xf.wj.xd(1)}
function jQ(a){return 0==a.ir||a.Xf.Vi.isEmpty()?0:a.Xf.Vi.xd(1)}e.getLinks=function(){return this.fp};function kQ(a,b,c,d,f){for(var g=a.Qe.length-1,h=0;h<c.length;++h)a.bm(d+h,c[h]);c=a.Qe.length-1;for(g=pC(f,g);g<f.sC;){d=aQ(f,g);if(d.end>c)break;d=a.xd(d.end)-a.xd(d.start);b.bm(g,d);g++}};function lQ(a,b){RN.call(this,a,b);this.item=a;this.Rc.listen(this.item,"Kb",this.Uia);this.Rc.listen(this.item,"Ib",this.Jia);this.y5={};this.bj=null}w(lQ,RN);e=lQ.prototype;e.g4=function(a){a=new cC(a.sheets);for(var b=0;b<a.Gm();++b);for(b=0;b<a.Gm();++b){var c=L(a,3)[b],d=bj(a,ZB,2)[b].getHeight(),f=bj(a,ZB,2)[b].Kb(),g=2==L(a,5)[b],h=bj(a,ZB,4)[b],k=h.getHeight(),h=h.Kb(),c=new bQ(c,d,f,b,g,k,h);this.item.Ax(c)}this.bj=a;this.item.dispatchEvent("Hb");this.item.lb(1)};e.KG=function(){};
e.Uia=function(a){var b=a.target;a=L(this.bj,6);var c=aj(this.bj,ZB,7);a&&0==b.Iu()&&0==b.uz&&0==b.KC&&50==c.getHeight()&&20==c.Kb()?(b=gQ(b.Ia,b),c=this.item.tk[0],a=Ni(a),dQ(c,b,zO(a))):(a={},a.sheets=gQ(b.Ia,b).pj(),dO(this,0,a))};
e.Jia=function(a){a=a.target;for(var b=a.getMetadata(),c=[],d=b.xt;d<b.x6&&3>c.length&&!(d>=b.ru);++d)if(!b.Qa[d]){var f=d*b.Rh,g=Math.min(b.GU-f,b.Rh),h=new bC,k=new $B;k.LI(f);h.XS(k);f=new ZB;f.Sd(g);h.setSize(f);c.push(h)}for(b=0;b<c.length;++b)d=c[b],N(d,1,a.QF),d=d.pj(),this.y5[d]||(this.y5[d]=!0,g={},g.sheets=d,gO(this,CH,g))};e.mD=function(a,b,c){a=new bC(Oi(b.sheets));b=a.Iu();dQ(this.item.tk[b],a,zO(c))};e.gF=function(){return CH};e.gA=function(){return!1};
e.Z2=function(a,b){var c=new bC(Oi(a.sheets)),d=c.Iu(),f=new fC(b),d=this.item.tk[d];d.bj.bm(c,f);var g=$i(f,2);kQ(d.im.Vi,d.Xf.Vi,g,0,d.vz);c=c.xd().eh();g=$i(f,1);kQ(d.im.wj,d.Xf.wj,g,c,d.LC);f=bj(f,eC,7);for(c=0;c<f.length;c++){var h=f[c].xd(),g=h.Jf(),k=h.eh(),h=f[c].getUrl();null!=g&&null!=k&&null!=h&&(g=new wn(g,k,1,1),h=new VP(h,g),g.left<d.ir&&g.top<d.jr?d.rM.push(h):g.left<d.ir?d.AM.push(h):g.top<d.jr?d.BM.push(h):d.fp.push(h))}d.dispatchEvent("Jb")};
e.Y2=function(a){a=new bC(Oi(a.sheets));var b=a.Iu(),b=this.item.tk[b],c=b.getMetadata();a=XP(c,a);c.ru=Math.min(c.ru,a);b.dispatchEvent("Lb")};e.oA=function(){var a=aj(this.getContext().qa(),tO,61),b;if(b=!!a)b=null==L(a,4)?!1:L(a,4);return b};e.lF=function(){return[{meta:{}}]};function mQ(a,b,c){z.call(this);this.yc=b;this.Gs=[];this.MH=[];this.Fr=[];this.Rp="";this.W=a;for(b=0;b<a.Gm();++b){var d=new GL;this.Fr.push(d);A(this,d)}this.ha=new K(this);A(this,this.ha);this.ha.listen(this.yc,"pb",this.Sj).listen(this.yc,"qb",this.XN);this.Af=0;this.S=c}w(mQ,z);mQ.prototype.Sj=function(){this.Gs=[];this.MH=[];this.Rp="";for(var a=0;a<this.Fr.length;++a)HL(this.Fr[a],[]),JL(this.Fr[a],[])};
mQ.prototype.XN=function(a){var b=a.value;a=a.MW?-1:1;this.Rp!=b&&(this.Gs=[],this.MH=[],a=0,this.nE(b));this.tJ(a)};
mQ.prototype.nE=function(a){var b=this.W.tk[this.Af];if(!this.Gs[this.Af]){var c=this.Gs,d=this.Af,f;if(a){f=b.getMetadata();var g;g=a.toLocaleLowerCase();for(var h=[],k=0;k<f.xt;++k)for(var m=L(f.Qa[k],3),q=k*f.Rh,v=Math.min(f.GU-q,f.Rh),B=0;B<v;++B)for(var F=B*f.ht,M=0;M<f.ht;++M){var O=m[F+M];O&&0<=O.toLocaleLowerCase().indexOf(g)&&h.push(new C(M,B+q))}f=h}else f=[];c[d]=f}c=this.Gs[this.Af];d=[];for(f=0;f<c.length;++f)g=c[f],h=g.x+" "+g.y,k=eQ(b,new wn(g.x,g.y,1,1)),k.scale(1/b.Kb(),1/b.getHeight()),
d.push(new gN(k,h,g));HL(this.Fr[this.Af],d);this.Rp=a;XL(this.yc,0,0)};mQ.prototype.tJ=function(a){var b=this.MH[this.Af];null!=b||(b=0);var c=this.Gs[this.Af].length,b=0<c?xd(b+a,c):0;this.MH[this.Af]=b;a=this.Fr[this.Af];0<c?(XL(this.yc,b+1,c),b=this.Gs[this.Af][b],JL(a,[a.Qm[b.x+" "+b.y]])):JL(a,[])};function nQ(a,b,c,d){kE.call(this,a,b,c||d);(c||d)&&this.$B(65|(d?32:132))}w(nQ,kE);function oQ(){}w(oQ,Sp);da(oQ);e=oQ.prototype;e.ra=function(a){var b={"class":"goog-inline-block "+this.Dm(a).join(" ")},b=a.U().ra("DIV",b,this.XD(a.getContent(),a.U()));this.mb(b,a.Lf());return b};e.ng=function(){return"button"};e.Vb=function(a){return a&&a.firstChild&&a.firstChild.firstChild};e.XD=function(a,b){return b.ra("DIV","goog-inline-block "+(this.Ma()+"-outer-box"),b.ra("DIV","goog-inline-block "+(this.Ma()+"-inner-box"),a))};e.Ef=function(a){return"DIV"==a.tagName};
e.Na=function(a,b){pQ(b,!0);pQ(b,!1);var c;a:{c=a.U().OM(b);var d=this.Ma()+"-outer-box";if(c&&nn(c,d)&&(c=a.U().OM(c),d=this.Ma()+"-inner-box",c&&nn(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.XD(b.childNodes,a.U()));on(b,["goog-inline-block",this.Ma()]);return oQ.R.Na.call(this,a,b)};e.Ma=function(){return"goog-custom-button"};
function pQ(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var f=c.nodeValue;if(""==Ba(f))a.removeChild(c);else{c.nodeValue=b?Ca(f):f.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function qQ(){}w(qQ,oQ);da(qQ);e=qQ.prototype;e.Vb=function(a){return qQ.R.Vb.call(this,a&&a.firstChild)};e.Na=function(a,b){var c=me(document,"*","goog-menu",b)[0];if(c){X(c,!1);je(c).body.appendChild(c);var d=new GE;d.Na(c);rQ(a,d)}return qQ.R.Na.call(this,a,b)};e.XD=function(a,b){return qQ.R.XD.call(this,[this.createCaption(a,b),b.ra("DIV","goog-inline-block "+(this.Ma()+"-dropdown"),"\u00a0")],b)};
e.createCaption=function(a,b){var c=this.Ma();return b.ra("DIV","goog-inline-block "+(c+"-caption"),a)};e.Ma=function(){return"goog-menu-button"};function sQ(a,b,c,d,f){hq.call(this,a,c||qQ.Ra(),d);this.ze(64,!0);this.kp=new nQ(null,9);b&&rQ(this,b);this.gha=null;this.Ta=new gh(500);!Ei&&!Fi||Yd("533.17.9")||(this.YF=!0);f||FE.Ra()}w(sQ,hq);e=sQ.prototype;e.YF=!1;e.Aka=!1;e.Xka=!1;e.ta=function(){sQ.R.ta.call(this);tQ(this,!0);this.yb&&uQ(this,this.yb,!0);kh(this.$,"haspopup",!!this.yb)};e.Db=function(){sQ.R.Db.call(this);tQ(this,!1);if(this.yb){this.ye(!1);this.yb.Db();uQ(this,this.yb,!1);var a=this.yb.H();a&&De(a)}};
e.ma=function(){sQ.R.ma.call(this);this.yb&&(this.yb.dispose(),delete this.yb);delete this.Oja;this.Ta.dispose()};e.hh=function(a){sQ.R.hh.call(this,a);this.uc()&&(this.ye(!this.Zi(),a),this.yb&&(a=this.Zi(),this.yb.hn=a))};e.gl=function(a){sQ.R.gl.call(this,a);this.yb&&!this.uc()&&(this.yb.hn=!1)};e.Fp=function(){this.setActive(!1);return!0};e.hca=function(a){this.yb&&this.yb.Ca()&&!this.Lq(a.target)&&this.ye(!1)};e.Lq=function(a){return a&&Je(this.H(),a)||this.yb&&this.yb.Lq(a)||!1};
e.Nf=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.yb&&this.yb.Ca()){var b=13==a.keyCode||32==a.keyCode,c=this.yb.Mf(a);return 27==a.keyCode||b?(this.ye(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.ye(!0,a),!0):!1};e.KN=function(){this.ye(!1)};e.zda=function(){this.uc()||this.ye(!1)};e.Im=function(a){this.YF||this.ye(!1);sQ.R.Im.call(this,a)};
function rQ(a,b){var c=a.yb;b!=c&&(c&&(a.ye(!1),a.Xa&&uQ(a,c,!1),delete a.yb),a.Xa&&kh(a.$,"haspopup",!!b),b&&(a.yb=b,b.hd(a),b.setVisible(!1),c=a.YF,(b.pK=c)&&b.Nl(!0),a.Xa&&uQ(a,b,!0)))}e.setVisible=function(a,b){var c=sQ.R.setVisible.call(this,a,b);c&&!this.Ca()&&this.ye(!1);return c};e.setEnabled=function(a){sQ.R.setEnabled.call(this,a);this.isEnabled()||this.ye(!1)};
e.ye=function(a,b){sQ.R.ye.call(this,a);if(this.yb&&Qp(this,64)==a){if(a){if(!this.yb.Xa)if(this.Aka){var c=Ge(this.H());c?Gp(this.yb,c):this.yb.Ka(this.H().parentNode)}else this.yb.Ka();this.b7=On(this.H());this.SW=ao(this.H());vQ(this);c=!!b&&(13==b.keyCode||32==b.keyCode);b&&(40==b.keyCode||38==b.keyCode)||c&&this.Xka?Zr(this.yb):this.yb.Os(-1)}else{this.setActive(!1);this.yb.hn=!1;if(c=this.H())kh(c,"activedescendant",""),kh(c,"owns","");null!=this.Wv&&(this.Wv=void 0,(c=this.yb.H())&&Wn(c,"",
""))}this.yb.setVisible(a,!1,b);if(!this.isDisposed()){var c=this.ka(),d=a?c.listen:c.ab;d.call(c,this.U().Ba,"mousedown",this.hca,!0);this.YF&&d.call(c,this.yb,"blur",this.zda);d.call(c,this.Ta,"tick",this.kH);a?this.Ta.start():this.Ta.stop()}}this.yb&&this.yb.H()&&this.yb.$.removeAttribute("aria-hidden")};
function vQ(a){if(a.yb.Xa){var b=a.kp;a.kp.element=a.Oja||a.H();var c=a.yb.H();a.yb.Ca()||(c.style.visibility="hidden",X(c,!0));!a.Wv&&a.kp.Saa&&a.kp.tA&32&&(a.Wv=Zn(c));b.jc(c,b.nm^1,a.gha,a.Wv);a.yb.Ca()||(X(c,!1),c.style.visibility="visible")}}e.kH=function(){var a=ao(this.H()),b=On(this.H()),c;(c=!xn(this.SW,a))||(c=this.b7,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.SW=a,this.b7=b,vQ(this))};
function uQ(a,b,c){var d=a.ka();c=c?d.listen:d.ab;c.call(d,b,"action",a.KN);c.call(d,b,"close",a.pN);c.call(d,b,"highlight",a.EN);c.call(d,b,"unhighlight",a.dO)}function tQ(a,b){var c=a.ka();(b?c.listen:c.ab).call(c,a.H(),"keydown",a.kda)}e.EN=function(a){(a=a.target.H())&&wQ(this,a)};e.kda=function(a){Pp(this,32)&&this.ke()&&this.yb&&this.yb.Ca()&&a.stopPropagation()};e.dO=function(){if(!Yr(this.yb)){var a=this.H();kh(a,"activedescendant","");kh(a,"owns","")}};
e.pN=function(a){if(this.Zi()&&a.target instanceof CE){a=a.target;var b=a.H();a.Ca()&&Qp(a,2)&&null!=b&&wQ(this,b)}};function wQ(a,b){var c=a.H(),d=mh(b)||b;if(!d.id){var f=Ap.Ra();d.id=Bp(f)}nh(c,d);kh(c,"owns",d.id)}Tp("goog-menu-button",function(){return new sQ(null)});function xQ(a,b){sQ.call(this,null,null,b||KL.Ra(),a);this.t1=this.se=!1;this.nk=null}w(xQ,sQ);e=xQ.prototype;e.KN=function(a){this.t1||xQ.R.KN.call(this,a)};e.ta=function(){xQ.R.ta.call(this);this.kp.$B&&this.kp.$B(33);tp(this.H(),this.Lf(),void 0,this.Dq||void 0)};e.mb=function(a,b,c){n(b)?this.Tp(b):this.Tp(a);this.Zp(a);this.se&&!x(za(a))||tp(this.H(),a,void 0,b,c)};
e.Vp=function(a,b){a?x(za(this.nk))&&(this.nk=this.Lf()||null,this.mb(""),this.H()&&!x(za(b))&&oh(this.H(),b),this.se=!0):x(za(this.nk))||(this.se=!1,this.mb(this.nk||"",this.Dq||void 0),this.nk=null)};e.Dw=function(a){xQ.R.Dw.call(this,a);yQ(this,!1)};e.hh=function(a){xQ.R.hh.call(this,a);this.isEnabled()&&yQ(this,!0)};function yQ(a,b){a.H()&&rn(a.H(),"drive-viewer-button-clear-border",b)};function zQ(a){GE.call(this,a.U(),AQ.Ra());this.S=a;this.Yj=null;this.ZD()}w(zQ,GE);zQ.prototype.ta=function(){zQ.R.ta.call(this);W(this.H(),"drive-viewer-scrollable");3==this.S.qa().vc()&&W(this.H(),"drive-viewer-v3")};zQ.prototype.getContext=function(){return this.S};function BQ(a,b){return new wE(b,a.S.U(),CQ.Ra())}function DQ(a,b,c){return new CE(b,c,a.S.U(),EQ.Ra())}
zQ.prototype.setVisible=function(a,b,c){var d=this.getContext();if(d.isDisposed())return!1;if(a){var f=qi(d,xv);f&&f.Uj();(f=qi(d,yv))&&f.Uj();FQ(aw(d));f=this.Yh();c&&null!==f&&Fs(oq(d),{La:f,$a:Lo(c)})}(a=zQ.R.setVisible.call(this,a,b,c))&&this.Yj&&(b=this.Yj,b.dispatchEvent(b.jaa));return a};function AQ(){FE.call(this)}w(AQ,FE);da(AQ);AQ.prototype.Ma=function(){return"drive-viewer-menu"};function EQ(){this.RK=[]}w(EQ,xE);da(EQ);EQ.prototype.Ma=function(){return"drive-viewer-menuitem"};
function CQ(){}w(CQ,vE);da(CQ);CQ.prototype.Ma=function(){return"drive-viewer-menu-header"};function GQ(){}w(GQ,DE);da(GQ);GQ.prototype.Ma=function(){return"drive-viewer-menu-separator"};function HQ(a){zQ.call(this,a);this.Ub=[]}w(HQ,zQ);e=HQ.prototype;e.ta=function(){HQ.R.ta.call(this);this.ka().listen(this,"aftershow",this.Z8);W(this.H(),"drive-viewer-spreadsheet-picker-more-menu")};e.Z8=function(){this.H().scrollTop=this.H().scrollHeight-this.H().clientHeight};e.ZD=function(){};e.Yh=function(){return null};e.Ax=function(a){var b=this.qg();a=DQ(this,a,b);this.Hi(a,0,!0);this.Ub.push(a)};e.setActive=function(a,b){rn(this.Ub[a].H(),"drive-viewer-button-toggled",b)};function IQ(){return U('<div class="drive-viewer-spreadsheet drive-viewer-itemview"><textarea class="drive-viewer-spreadsheet-clipboard" tabindex="-1"></textarea><div class="drive-viewer-spreadsheet-inner"> </div></div>')}
function JQ(){return U('<div class="drive-viewer-spreadsheet-tab"><div class="drive-viewer-spreadsheet-frozen-fixed-links drive-viewer-paginated-page-links drive-viewer-focus-to-default"> </div><div class="drive-viewer-spreadsheet-frozen-horizontal-container"><div class="drive-viewer-paginated-page-links drive-viewer-focus-to-default"> </div></div><div class="drive-viewer-spreadsheet-frozen-vertical-container"><div class="drive-viewer-paginated-page-links drive-viewer-focus-to-default"> </div></div><div class="drive-viewer-spreadsheet-scroll-container drive-viewer-scrollable drive-viewer-scrollable-dark" tabIndex="-1"><div class="drive-viewer-spreadsheet-scroll-body"><div class="drive-viewer-spreadsheet-scroll-link-container drive-viewer-paginated-page-links drive-viewer-focus-to-default"></div></div></div><canvas class="drive-viewer-spreadsheet-content" tabIndex="-1"></canvas></div>')}
function KQ(){return U('<div class="drive-viewer-spreadsheet-picker"><div class="drive-viewer-spreadsheet-picker-more-button drive-viewer-dark-button"><div class="drive-viewer-icon drive-viewer-spreadsheet-more-icon" /></div></div>')}function LQ(a){return U('<div class="drive-viewer-dark-button drive-viewer-spreadsheet-picker-button">'+T(a.name)+"</div>")};function MQ(a){Y.call(this,a);this.Ub=[];this.Af=0;this.mp=new xQ(this.getContext().U());this.Aa(this.mp);this.mp.setVisible(!1);this.qf=new HQ(a);A(this,this.qf)}w(MQ,Y);e=MQ.prototype;e.ra=function(){this.$=S(KQ,void 0,void 0,this.getContext().U())};e.ta=function(){MQ.R.ta.call(this);this.mp.Na(this.ua("drive-viewer-spreadsheet-picker-more-button"));this.mp.mb("More sheets");rQ(this.mp,this.qf);var a=this.mp;a.kp.$B&&a.kp.$B(5)};
e.Ax=function(a){var b=this.Ub.length,c=this.U(),d=new jq(c,KL.Ra());d.Xc=b;this.Hi(d,b);c=S(LQ,{name:a},void 0,c);$e(this.H(),c,b);d.Na(c);d.mb(a,void 0,!0);this.Ub.push(d);this.qf.Ax(a);this.layout()};e.setActive=function(a){var b=this.Ub[a];pn(this.Ub[this.Af].H(),"drive-viewer-button-toggled");W(b.H(),"drive-viewer-button-toggled");this.qf.setActive(this.Af,!1);this.qf.setActive(a,!0);this.Af=a};e.Ea=function(){return this.Af};e.hide=function(){X(this.H(),!1)};
e.layout=function(){var a;a=this.$;var b=Zn(a);a=lo(a,"padding");a=b.width-a.left-a.right;for(var c=0;c<this.Ub.length;++c){b=NQ(this.Ub[c].$);if(a<b)break;a-=b}b=c;b<this.Ub.length&&0<b&&(c=NQ(this.mp.$),a<c&&--b);for(c=0;c<this.Ub.length;++c)this.Ub[c].setVisible(c<b);a=this.qf;for(var c=b,d=0;d<a.Ub.length;++d)a.Ub[d].setVisible(d>=c);this.mp.setVisible(b<this.Ub.length)};function NQ(a){var b=Zn(a);a=mo(a);return a.left+b.width+a.right};function OQ(a,b,c){xK.call(this,a,c);this.he=b}w(OQ,xK);OQ.prototype.ED=function(a){return a.target!=this.he};OQ.prototype.Zy=function(){var a=this.Ki.x-this.Ch.left;0<=a&&(a+=Ro(this.he));var b=this.Ki.y-this.Ch.top;0<=b&&(b+=this.he.scrollTop);return new C(a,b)};OQ.prototype.scrollBy=function(a,b){var c=this.getState().wk.clone();0>c.x&&(a=0);0>c.y&&(b=0);0!=b&&(this.he.scrollTop+=b);0!=a&&(c=Ro(this.he),To(this.he,c+a))};function PQ(a,b,c,d,f){Y.call(this,c);this.W=b;this.M1=a;this.FG=d;this.hG=f}w(PQ,Y);PQ.prototype.ra=function(){var a=this.M1.getUrl(),a=S(nu,{url:a},void 0,this.U());Uo(a,this.FG.left,this.FG.top,this.hG);Wn(a,this.FG.width+"px",this.FG.height+"px");this.M1.nK=!0;this.ka().listen(a,"click",this.JN);this.$=a};PQ.prototype.Ka=function(a){try{PQ.R.Ka.call(this,a)}catch(b){}};PQ.prototype.JN=function(a){Fs(oq(this.getContext()),{La:86,$a:Lo(a),item:this.W})};function QQ(a,b){this.Ia=a;this.Ja=this.Qh=null;this.nb=b;this.Ll=this.oI=this.Pg=null;this.Bh=1;this.PO=!1}function RQ(a,b){var c=he().createElement("CANVAS");c.style.visibility="hidden";var d=2*a;c.width=d;c.height=d;d=c.getContext("2d");d.clearRect(0,0,c.width,c.height);d.save();try{d.fillStyle="#303030",d.fillRect(0,0,c.width,c.height),b(d),d.translate(a,a),b(d)}finally{d.restore()}return c}
var SQ=RQ(480,function(a){a.save();try{a.scale(20,20),a.fillStyle="#404040",a.beginPath(),a.moveTo(1,21),a.lineTo(23,21),a.lineTo(12,2),a.closePath(),a.moveTo(13,18),a.lineTo(11,18),a.lineTo(11,16),a.lineTo(13,16),a.moveTo(13,14),a.lineTo(11,14),a.lineTo(11,10),a.lineTo(13,10),a.closePath(),a.fill()}finally{a.restore()}}),TQ=RQ(160,function(a){a.save();a.fillStyle="#3c3c3c";a.fillRect(0,0,160,160);a.restore()});
QQ.prototype.draw=function(){this.Ja.save();try{this.PO=!1;this.Ia.Kl&&(this.Ja.translate(this.Qh.width,0),this.Ja.scale(-1,1));this.Ja.scale(this.Bh,this.Bh);UQ(this,this.H$);this.oI&&UQ(this,this.J$);var a=VQ(this),b=WQ(this);this.Ja.save();try{this.Ja.fillStyle="#303030";this.Ja.fillRect(0,480,920,b);this.Ja.fillRect(920,0,a,480);this.Ja.strokeStyle="#646464";this.Ja.lineWidth=20;this.Ia.bj.isEmpty()||(this.Ja.fillStyle="#AAA",this.Ja.textAlign="center",this.Ja.font="240px Arial",this.Ja.textBaseline=
"middle",XQ(this,0,jQ(this.Ia),920),XQ(this,this.Pg.left,this.Pg.width,920-this.Pg.left+YQ(this)),ZQ(this,0,iQ(this.Ia),480),ZQ(this,this.Pg.top,this.Pg.height,480-this.Pg.top+$Q(this)));this.Ja.fillStyle="#303030";this.Ja.fillRect(0,0,920,480);aR(this,0,470,920+a,470);aR(this,910,0,910,480+b);if(0<jQ(this.Ia)){var c=YQ(this)+920-20,d=WQ(this)+480;aR(this,c,0,c,d,"#AAA",40)}if(0<iQ(this.Ia)){var f=$Q(this)+480-20,g=VQ(this)+920;aR(this,0,f,g,f,"#AAA",40)}}finally{this.Ja.restore()}this.Ll&&UQ(this,
this.K$,20);this.PO&&this.Ia.dispatchEvent("Mb")}finally{this.Ja.restore()}};
function ZQ(a,b,c,d){if(0!=c){a.Ja.save();try{a.Ja.beginPath();a.Ja.rect(0,d+b,920,c);a.Ja.clip();var f;if(f=a.Ia.im.resolve(new wn(0,b,Number.POSITIVE_INFINITY,c))){for(var g=eQ(a.Ia,f).top+d,h=f.top;h<f.top+f.height;++h){var k,m=a.Ia.getMetadata();b=h;var q=Math.floor(b/m.Rh);k=$i(m.Qa[q],1)[b-q*m.Rh];aR(a,0,g-10,920,g-10);a.Ja.save();try{a.Ja.beginPath(),a.Ja.rect(0,g+10,920,k-20),a.Ja.clip(),bR(a,h+1+"",460,g+k/2)}finally{a.Ja.restore()}g+=k}aR(a,0,g-10,920,g-10)}}finally{a.Ja.restore()}}}
function XQ(a,b,c,d){if(0!=c){a.Ja.save();try{a.Ja.beginPath();a.Ja.rect(d+b,0,c,480);a.Ja.clip();var f;if(f=a.Ia.im.resolve(new wn(b,0,c,Number.POSITIVE_INFINITY))){for(var g=eQ(a.Ia,f).left+d,h=f.left;h<f.left+f.width;++h){var k,m=a.Ia.getMetadata();b=h;k=$i(m.Qa[0],2)[b];aR(a,g-10,0,g-10,480);a.Ja.save();try{a.Ja.beginPath();a.Ja.rect(g+10,0,k-20,480);a.Ja.clip();b=h;c="";do c=String.fromCharCode(65+b%26)+c,b/=26,--b;while(0<=b);bR(a,c,g+k/2,240)}finally{a.Ja.restore()}g+=k}aR(a,g-10,0,g-10,480)}}finally{a.Ja.restore()}}}
function bR(a,b,c,d){if(a.Ia.Kl){a.Ja.save();try{a.Ja.translate(2*c,0),a.Ja.scale(-1,1),a.Ja.fillText(b,c,d)}finally{a.Ja.restore()}}else a.Ja.fillText(b,c,d)}function aR(a,b,c,d,f,g,h){a.Ja.save();try{g&&(a.Ja.strokeStyle=g),h&&(a.Ja.lineWidth=h),a.Ja.beginPath(),a.Ja.moveTo(b,c),a.Ja.lineTo(d,f),a.Ja.stroke()}finally{a.Ja.restore()}}
QQ.prototype.H$=function(a,b){for(var c=this.Ia.Xf.resolve(a),d=0;d<c.height;++d)for(var f=0;f<c.width;++f){var g=fQ(this.Ia,c.top+d,c.left+f),h=a,k=b,m;m=UP(this.Ia.Xf,new wn(g.uz,g.KC,1,1));if(m.VF(h))if(h=g.getContent()&&g.getImageData(this.Bh,this.nb)){var q=(g.T_.Vi.xd(g.uz)+k.x)*this.Bh,v=(g.T_.wj.xd(g.KC)+k.y)*this.Bh;m.translate(k);m.scale(this.Bh);var k=m.left-q,B=m.top-v,F=m.width;m=m.height;this.Ia.Kl&&(q=this.Qh.width-q-h.width,k=g.getContent().width*this.Bh-k-F);this.Ja.putImageData(h,
q,v,k,B,F,m);this.PO=!0}else g.CE?cR(this,m,k,SQ):cR(this,m,k,TQ)}};function cR(a,b,c,d){var f=b.left+c.x,g=b.top+c.y,h=d.width;a.Ja.save();try{var k=xd(-c.x,h),m=xd(-c.y,h);a.Ja.translate(-k,-m);a.Ja.fillStyle=a.Ja.createPattern(d,"repeat");a.Ja.fillRect(f+k,g+m,b.width,b.height)}finally{a.Ja.restore()}}
QQ.prototype.J$=function(a,b){var c=this.oI.Qm,d=this.oI.xx;if(0!=Rb(c)){this.Ja.save();try{this.Ja.fillStyle="#ff5";this.Ja.globalAlpha=.5;var f=this.Ia.im.resolve(a);if(f){for(var g in c)dR(this,c[g],f,b);this.Ja.fillStyle="#ff9632";for(c=0;c<d.length;++c)dR(this,d[c],f,b)}}finally{this.Ja.restore()}}};
function dR(a,b,c,d){b=b.getData();b.x<c.left||b.x>=c.left+c.width||b.y<c.top||b.y>=c.top+c.height||(c=eQ(a.Ia,new wn(b.x,b.y,1,1)),c.left+=d.x,c.top+=d.y,c.width-=20,c.height-=20,a.Ja.fillRect(c.left,c.top,c.width,c.height))}
QQ.prototype.K$=function(a,b){var c=eQ(this.Ia,this.Ll);a.left++;a.top++;a.width-=2;a.height-=2;if(a.intersects(c)){this.Ja.save();try{this.Ja.fillStyle="#2288ee",this.Ja.strokeStyle="#4285f4",this.Ja.lineWidth=20,this.Ja.globalAlpha=.2,c.left+=b.x,c.top+=b.y,this.Ja.fillRect(c.left,c.top,c.width-20,c.height-20),this.Ja.globalAlpha=1,this.Ja.strokeRect(c.left-10,c.top-10,c.width,c.height)}finally{this.Ja.restore()}}};
function UQ(a,b,c){var d=jQ(a.Ia)-20,f=iQ(a.Ia)-20,g=a.Pg.left,h=a.Pg.top,k=VQ(a)-YQ(a),m=WQ(a)-$Q(a),q=920+YQ(a)-a.Pg.left,v=480+$Q(a)-a.Pg.top,d=[new wn(0,0,d,f),new wn(g,0,k,f),new wn(0,h,d,m),new wn(g,h,k,m)],q=[new C(920,480),new C(q,480),new C(920,v),new C(q,v)];c=c||0;for(v=0;4>v;++v)if(f=d[v],g=q[v],0<f.width&&0<f.height){a.Ja.save();try{a.Ja.beginPath(),a.Ja.rect(f.left+g.x-c,f.top+g.y-c,f.width+2*c,f.height+2*c),a.Ja.clip(),b.call(a,f,g)}finally{a.Ja.restore()}}}
function VQ(a){return Math.min(a.Pg.width,a.Ia.Kb()-a.Pg.left)+YQ(a)}function WQ(a){return Math.min(a.Pg.height,a.Ia.getHeight()-a.Pg.top)+$Q(a)}function YQ(a){return 0==jQ(a.Ia)?0:jQ(a.Ia)+40-20}function $Q(a){return 0==iQ(a.Ia)?0:iQ(a.Ia)+40-20};function eR(a,b,c,d){Y.call(this,c);this.W=a;this.Ia=b;this.K4=this.he=this.Ja=this.Qh=this.lj=this.Ll=this.Pe=null;this.We=new QQ(this.Ia,this.getContext().U());this.h6=d;this.oJ=this.jj=this.Vk=this.P6=null;this.kb=!1;this.CJ=this.HF=this.GG=this.zv=this.yA=this.ep=null;this.Xp(b.Kl);this.Kt=null;this.wa=yq(c)}w(eR,Y);e=eR.prototype;e.ra=function(){this.$=S(JQ,void 0,void 0,this.U());X(this.H(),!1);Bn(this.H(),"direction",this.Ia.Kl?"rtl":"ltr")};
e.ta=function(){eR.R.ta.call(this);this.Qh=this.yd("drive-viewer-spreadsheet-content");Bn(this.Qh,"direction","ltr");var a=this.We,b=this.Qh;a.Qh=b;a.Ja=b.getContext("2d");this.Ja=this.Qh.getContext("2d");this.K4=this.yd("drive-viewer-spreadsheet-scroll-body");this.he=this.yd("drive-viewer-spreadsheet-scroll-container");this.Pe=new OQ(this.$,this.he,this.getContext());A(this,this.Pe);this.Pe.Ch.left=(920+YQ(this.We))/20;this.Pe.Ch.top=(480+$Q(this.We))/20;this.ep=this.yd("drive-viewer-spreadsheet-scroll-link-container");
this.yA=this.yd("drive-viewer-spreadsheet-frozen-vertical-container");this.zv=this.yd("drive-viewer-spreadsheet-frozen-horizontal-container");this.GG=this.yd("drive-viewer-spreadsheet-frozen-fixed-links");a=this.U();this.HF=a.yd("drive-viewer-paginated-page-links",this.zv);this.CJ=a.yd("drive-viewer-paginated-page-links",this.yA);a=this.U();a.fe(this.ep);a.fe(this.HF);a.fe(this.CJ);a.fe(this.GG);a=this.Ia;hQ(a.rM);hQ(a.AM);hQ(a.BM);hQ(a.fp);sh(this.Qh,!0);sh(this.he,!0);this.ka().listen(this.Ia,"Lb",
this.vj).listen(this.Ia,"Jb",this.yp).listen(this.he,"scroll",this.vj).listen(this.H(),"touchstart",this.LQ).listen(this.H(),"touchend",this.JQ);this.P6=I(this.vj,0,this);this.Ia.getMetadata().isEmpty()||fR(this);this.zx()};e.JQ=function(a){null!=this.oJ&&(Ro(this.he)!=this.oJ&&a.stopPropagation(),this.oJ=null)};e.LQ=function(){this.oJ=Ro(this.he)};
e.setActive=function(a){if(this.kb=a){if(!this.Ia.tv){if(!this.Kt){this.Kt=sq(this.wa,"satv_",{La:85,item:this.W});var b=qx(this.wa.Sb[this.Kt]);N(b,5,this.Ia.QF);this.ka().Fb(this.Ia,"Mb",t(this.$K,this,1))}this.Ia.JT(!0)}this.h6=!1;this.vj()}X(this.H(),a);this.jj&&this.U().pe(this.jj,a);this.Vk&&this.U().pe(this.Vk,this.kb)};e.$K=function(a){this.Kt&&this.wa.Sb[this.Kt]&&wq(this.wa,this.Kt,a)};e.getContent=function(){return this.Ia};
e.vj=function(){this.Pe.Ch.left=(920+YQ(this.We))/20;this.Pe.Ch.top=(480+$Q(this.We))/20;var a=(this.Ia.Kb()-jQ(this.Ia))/20,b=(this.Ia.getHeight()-iQ(this.Ia))/20;Wn(this.K4,a,b);var c=(920+YQ(this.We))/20,d=(480+$Q(this.We))/20;Xn(this.yA,c);Yn(this.zv,d);Xn(this.HF,a);Yn(this.CJ,b);Wn(this.GG,c,d);Uo(this.he,c,d,this.Ia.Kl);Uo(this.yA,0,d,this.Ia.Kl);Uo(this.zv,c,0,this.Ia.Kl);this.yA.scrollTop=this.he.scrollTop;To(this.zv,Ro(this.he));Bn(this.zv,this.Ia.Kl?"left":"right",0);if(a=gR(this,!1))if(this.Ia.XF()?
this.Vk||(this.$K(2),b=this.U(),this.Vk=S(ju,{ku:"Whoops!",error:"There was a problem previewing this sheet."},void 0,b),b.pe(this.Vk,this.kb),kh(this.Vk,"label","There was a problem previewing this sheet."),b.appendChild(this.H(),this.Vk),this.kb&&this.getContext().get(pv).Pp("There was a problem previewing this sheet.")):cQ(this.Ia)&&(b=hR(this,!1),c=cH(Ar(this.getContext())),pe(this.Qh,{width:b.width*c,height:b.height*c}),Wn(this.Qh,b.width,b.height),b=c/20,this.Ja.clearRect(0,0,this.Qh.width,
this.Qh.height),this.We.Pg=a.clone(),this.We.oI=this.lj,this.We.Ll=this.Ll,this.We.Bh=b,this.We.draw()),!this.h6&&this.kb){a.translate(-a.width/2,-a.height/2);a.width*=2;a.height*=2;c=this.Ia.Xf.resolve(a);a=Kb(c.top,c.top+c.height);0<this.Ia.jr&&0<c.top&&a.push(0);b=Kb(c.left,c.left+c.width);0<this.Ia.ir&&0<c.left&&b.push(0);for(c=0;c<a.length;++c)for(d=0;d<b.length;++d)fQ(this.Ia,a[c],b[d]);this.Ia.getMetadata().xg()||isFinite(this.Ia.getMetadata().ru)||this.Ia.dispatchEvent("Ib")}a=this.Ia.getMetadata();
if(!a.isEmpty()&&!this.jj){for(var b=this.U(),c=Math.min(a.Rh,a.GU,50),d=Math.min(a.ht,20),f=a.Qa[0],g=L(f,3),h=b.ra("TABLE"),k=h.appendChild(b.createElement("TBODY")),m=0;m<c;++m){for(var q=m*a.ht,v=b.createElement("TR"),B=0;B<d;++B){var F;a:{var M=m;F=B;var O=bj(f,aC,6);if(O)for(var Ya=0;Ya<O.length;++Ya)if(F>=O[Ya].Jf()&&M>=O[Ya].eh()&&F<O[Ya].Jf()+O[Ya].Kb()&&M<O[Ya].eh()+O[Ya].getHeight()){F=O[Ya];break a}F=null}O=F&&B==F.Jf()&&m==F.eh();if(!F||O)Ya=g[q+B],M=b.createElement("TD"),Le(M,Ya),O&&
(O=F.getHeight(),m+O>c&&(O=c-m),F=F.Kb(),B+F>d&&(F=d-B),1<O&&M.setAttribute("rowspan",O),1<F&&M.setAttribute("colspan",F)),v.appendChild(M)}k.appendChild(v)}kh(h,"readonly",!0);kh(h,"label",this.Ia.getName());b.appendChild(this.H(),h);W(h,"drive-viewer-spreadsheet-reader-content");b.pe(h,this.kb);this.jj=h}};function fR(a){a.ka().listen(a.Pe.getState(),"lb",a.Iia)}e.yp=function(){fR(this);this.vj();this.zx()};
e.zx=function(){var a=this.Ia.getLinks(),b=this.Ia.rM,c=this.Ia.AM,d=this.Ia.BM;iR(this,this.ep,a);iR(this,this.HF,d);iR(this,this.CJ,c);iR(this,this.GG,b)};
function iR(a,b,c){var d;d=a.Ia;d=new D(d.im.Vi.Qe.length-1,d.im.wj.Qe.length-1);for(var f=0;f<c.length;f++)if(!c[f].nK){var g=c[f].Fm();if(!(g.top>=d.height)){var h,k=a,m=eQ(k.Ia,g);g.left<k.Ia.ir&&g.top<k.Ia.jr?(m.left+=920,m.top+=480):g.left<k.Ia.ir?(m.top-=iQ(k.Ia),m.left+=920):g.top<k.Ia.jr?(m.left-=jQ(k.Ia),m.top+=480):(m.left-=jQ(k.Ia),m.top-=iQ(k.Ia));h=m;k=h.top/20;g=h.left/20;m=h.width/20;h=h.height/20;(new PQ(c[f],a.W,a.getContext(),new wn(g,k,m,h),a.Ia.Kl)).Ka(b)}}}
e.Iia=function(){var a=this.Pe.getState().getSelection(),b=this.Pe.getState().wk.clone();a&&(a.scale(20),a.translate(YQ(this.We),$Q(this.We)),b.scale(20),b.translate(YQ(this.We),$Q(this.We)),0==a.width&&0==a.height&&0<=b.y&&0<=b.x?(this.Ll=null,this.vj()):(0>b.y&&(a.top=0,a.height=Number.POSITIVE_INFINITY),0>b.x&&(a.left=0,a.width=Number.POSITIVE_INFINITY),a=this.Ia.im.resolve(a),null==a?(this.Ll=null,this.vj()):xn(a,this.Ll)||(this.Ll=a,this.vj())))};
e.Hia=function(){var a=this.lj.xx;if(0==a.length)this.vj();else{var a=a[0].getData(),b=eQ(this.Ia,new wn(a.x,a.y,1,1)),c=gR(this,!0);if(c){var d=(b.top-c.height/2)/20,f=(b.left-c.width/2)/20,g=b.top-c.top;a.y>=this.Ia.jr&&(0>g||g+b.height>c.height)&&(this.he.scrollTop=d);d=b.left-c.left;a.x>=this.Ia.ir&&(0>d||d+b.width>c.width)&&To(this.he,f);this.vj()}}};function hR(a,b){var c=b?Zn(a.H()):Ar(a.getContext()).NE.clone();return 0==c.height||0==c.width?null:c}
function gR(a,b){var c=a.he.scrollTop,d=Ro(a.he),f=hR(a,b);if(!f)return null;c=new wn(d,c,f.width,f.height);c.scale(20);c.height-=480+$Q(a.We);c.width-=920+YQ(a.We);c.top+=iQ(a.Ia);c.left+=jQ(a.Ia);0>c.height&&(c.height=0);0>c.width&&(c.width=0);return c}e.Db=function(){this.$K(3)};e.ma=function(){J(this.P6);eR.R.ma.call(this)};function jR(a,b){Cr.call(this,a,b);this.W=a;this.mc=null;this.Ae=new MQ(this.getContext());this.Aa(this.Ae);this.Ol=[];this.TK=null;this.yc=new SL(b);this.Aa(this.yc);this.Qp=null}w(jR,Cr);var kR={T7:"drive-viewer-spreadsheet-inner",y7:"drive-viewer-spreadsheet-clipboard"};e=jR.prototype;e.ra=function(){this.$=S(IQ,void 0,void 0,this.U());this.yc.Ka(this.H());this.Ae.Ka(this.H())};
e.ta=function(){jR.R.ta.call(this);this.mc=this.ua(kR.T7);this.TK=this.ua(kR.y7);cw(this.getContext()).bI(this.W.getId(),this.mc);this.ka().listen(this.Ae,"action",this.Gja);this.ka().listen(this.yc,"pb",this.bZ);this.ka().listen(this.W,"Lb",this.xJ).listen(this.W,"Jb",this.xJ);0==this.W.Gm()?this.ka().listen(this.W,"Hb",this.yp):this.yp();Kr(this.getContext().qa())&&(this.W.hw&&this.Ps(!0),this.ka().listen(this.W,"Ja",t(this.Ps,this,!0)).listen(this.W,"Ia",t(this.Ps,this,!1)))};
e.layout=function(){this.Ol[this.Ae.Ea()].vj();this.Ae.layout()};e.Tb=function(){jR.R.Tb.call(this);GB(Gr(this.getContext()),this.yc.Ca());var a=Mr(this.getContext()),b=Nd?Do.Qn:Do.Pn;Nr(a,[67,b],this.Bz,this);Nr(a,[45,b],this.Bz,this);Nr(a,[70,b],this.Ez,this);Nr(a,[71,b],this.zN,this);Nr(a,[71,b|Do.wq],this.AN,this);0<this.Ol.length&&this.Ol[this.Ae.Ea()].setActive(!0)};e.Oc=function(){jR.R.Oc.call(this);GB(Gr(this.getContext()),!1);0<this.Ol.length&&this.Ol[this.Ae.Ea()].setActive(!1)};e.gG=function(){return!0};
e.DH=function(){FK(this.W.jF())};e.yp=function(){1==this.W.Gm()&&(this.Ae.hide(),Bn(this.mc,"padding-bottom","0"));for(var a=0;a<this.W.Gm();++a){var b=this.W.tk[a],c=new eR(this.W,b,this.getContext(),1<=a);this.Aa(c);c.Ka(this.mc);this.Ol.push(c);this.Ae.Ax(b.getName())}this.Qp=new mQ(this.W,this.yc,this.getContext());A(this,this.Qp);a=this.Qp.Fr;for(b=0;b<a.length;++b){var c=this.Ol[b],d=a[b];c.lj=d;c.ka().listen(d,"nb",c.Hia).listen(d,"ob",c.vj)}lR(this,this.Ae.Ea());this.xJ()};
e.xJ=function(){if(0!=this.W.Gm()){var a=nC(this.W,this.Ae.Ea());cQ(a)||a.XF()?mR(this.vk,this.getId()):nR(this.vk,this.getId())}};function lR(a,b){var c=a.Ol[a.Ae.Ea()],d=a.Ol[b];c.setActive(!1);a.uc()?d.setActive(!0):(fQ(d.Ia,0,0),d.Ia.getMetadata().isEmpty()&&!isFinite(d.Ia.getMetadata().ru)&&d.Ia.dispatchEvent("Ib"));a.Ae.setActive(b);a.Qp&&(c=a.Qp,c.Af=b,Gr(c.S).tw&&(c.W.tk[b].bj.isEmpty()?c.yc.hide():(c.nE(c.Rp),c.tJ(0))))}
e.Gja=function(a){a=a.target.Xc;a!=this.Ae.Ea()&&(lR(this,a),this.xJ(),Ir(this))};e.Bz=function(a){if(0!=this.W.Gm()){Fs(oq(this.getContext()),{La:68,$a:Lo(a),item:this.W});a=nC(this.W,this.Ae.Ea());var b=this.Ol[this.Ae.Ea()].Ll;null!=b&&(this.TK.value=a.getMetadata().getText(b),this.TK.select(),this.bZ(100))}};e.bZ=function(a){this.uc()&&ur(this.getContext()).focus(this.mc,a)};e.Ez=function(a){a.preventDefault();!nC(this.W,this.Ae.Ea()).bj.isEmpty()&&this.yc.show(a)};
e.zN=function(a){a.preventDefault();nC(this.W,this.Ae.Ea()).bj.isEmpty()||(this.yc.show(a),UL(this.yc,a))};e.AN=function(a){a.preventDefault();nC(this.W,this.Ae.Ea()).bj.isEmpty()||(this.yc.show(a),WL(this.yc,a))};function oR(a,b){Hm.call(this,b||"sn",a)}w(oR,Hm);e=oR.prototype;e.kf=function(){return ZO(this.getContext().qa())?yG(zb(CG.Am)):[]};e.If=function(){return mC};e.Qi=function(){return jR};e.Zh=function(){return lQ};e.qe=function(a){return!!a.getName()&&!!a.jf()};e.Yd=function(a){return et(a)?et(a):a.jf()};e.rv=function(){return 2!=zs(this.getContext().qa())};e.hP=function(){return this.rv()};function pR(a){oR.call(this,a,"sn_d")}w(pR,oR);pR.prototype.Yd=function(a){return et(a)+a.Oa()};pR.prototype.qe=function(a){return!!a.getName()&&!!a.Oa()&&!!a.jf()};pR.prototype.Kf=function(){return[6]};function qR(a,b){iC.call(this,a,b);this.it=[];this.SA=0}w(qR,iC);var rR={x7:"Ob",Gpa:"Pb"};qR.prototype.getText=function(a){return this.it.length>a?this.it[a]:""};qR.prototype.lO=function(){return 0<this.it.length};function sR(a){return!!a.li&&a.SA>=a.li}qR.prototype.Cn=function(a){this.it=[];this.li=a;this.SA=0;this.dispatchEvent("Ha")};qR.prototype.eF=function(){return this.it.length};function tR(a,b,c){c=c||{};b="";a="Displaying "+wl(a.name);b+='<div class="drive-viewer-text drive-viewer-itemview"><div class="drive-viewer-text-scrollable drive-viewer-scrollable"><div class="drive-viewer-text-area drive-viewer-close-enabled"><div class="drive-viewer-text-panel"><div class="drive-viewer-text-content drive-viewer-focus-to-default" role="document" aria-label="'+ul(a)+'"></div></div></div></div><div class="drive-viewer-gradient-top" style="'+(c.bc?"/*"+c.bc+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-bottom" style="'+
(c.bc?"/*"+c.bc+"*/":"")+'display: none;"></div></div>';return U(b)}function uR(a){var b=U;a=a.iaa;a=gl(a,Sk)?a:U(ql(a,Ol),hl(a));return b('<pre class="drive-viewer-text-page drive-viewer-focus-to-default">'+T(a)+"</pre>")};function vR(a,b){Cr.call(this,a,b);this.W=a;this.Rj=this.tr=this.Mo=this.wb=this.fB=this.Bb=this.uW=null;this.tP=-1;this.KL=null}w(vR,Cr);var wR={u7:"drive-viewer-text-area",RJ:"drive-viewer-text-content",g8:"drive-viewer-text-panel",s8:"drive-viewer-text-scrollable"};e=vR.prototype;e.Ef=function(){return!1};e.ra=function(){var a=this.U();this.$=S(tR,{name:this.W.getName()},void 0,a);a.pe(this.ua("drive-viewer-text-content"),!0)};
e.ta=function(){vR.R.ta.call(this);this.Bb=this.ua(wR.RJ);this.fB=this.ua(wR.g8);this.wb=this.ua(wR.s8);this.uW=this.ua(wR.u7);this.Mo=this.ua("drive-viewer-gradient-bottom");this.tr=this.ua("drive-viewer-gradient-top");cw(this.getContext()).bI(this.W.getId(),this.wb);this.ka().listen(this.wb,"scroll",this.Lz).listen(this.W,rR.x7,this.Cba);this.W.lO()&&xR(this)};e.oF=function(){return this.fB};e.Tb=function(){vR.R.Tb.call(this);this.layout();Pr(this,this.wb);this.W.lO()&&Qr(this)};
e.Oc=function(){vR.R.Oc.call(this);J(this.Rj);Rr(this)};e.layout=function(){var a=this.getContext(),b=xr(a).hf(),c=this.zd(),d=c.width;2!=zs(a.qa())&&(d*=.8);var f=Rn(this.Bb);Xn(this.Bb,d-f.left-f.right);Yn(this.Bb,"auto");a=Zn(this.Bb);c=c.height-f.top-f.bottom;a.height<c&&Yn(this.Bb,c);d=Br(this,d);In(this.fB,d,b.top);sR(this.W)&&Bn(this.fB,"padding-bottom",b.bottom+"px");b=Zn(this.fB).height+b.top;Yn(this.uW,b);this.zL()};
e.Lz=function(){if(!sR(this.W)&&Zn(this.wb).height+this.wb.scrollTop>=.8*this.wb.scrollHeight){var a=this.W;sR(a)||a.dispatchEvent("Pb")}this.fx();Ir(this)};e.zL=function(){J(this.Rj);this.Rj=I(this.fx,100,this)};e.fx=function(){if(3!=this.getContext().qa().vc()){J(this.Rj);var a=xr(this.getContext()).hf(),b=this.wb.scrollHeight-this.wb.scrollTop-this.wb.clientHeight>a.bottom;X(this.tr,this.wb.scrollTop>=a.top);X(this.Mo,b)}};e.Cba=function(){xR(this);this.layout();Qr(this)};
function xR(a){var b=a.U(),c=a.W.it.length,d=c-a.tP-1;if(!(0>=d)){for(var d=a.jU(d),f=b.Ba.createDocumentFragment(),g=a.tP+1;g<c;g++){var h=Ga(a.W.getText(g)),h=S(uR,{iaa:h},void 0,b);b.appendChild(f,h);a.tP=g}b.appendChild(a.Bb,f);null===a.KL&&(a.KL=Ec(a.W.getText(0)),b=a.Bb,c=a.KL,b&&(c=uc(c)))&&(b.style.textAlign=-1==c?"right":"left",b.dir=-1==c?"rtl":"ltr");wq(yq(a.getContext()),d)}}e.jU=function(a){var b=yq(this.getContext()),c=sq(b,"rc_",{La:35,item:this.W}),b=uq(b.Sb[c]);N(b,4,a);return c};
e.Db=function(){vR.R.Db.call(this);J(this.Rj)};function yR(a,b){RN.call(this,a,b);this.item=a;this.z1=-1;this.Rc.listen(this.item,"Pb",this.Nea)}w(yR,RN);e=yR.prototype;e.KG=function(){zR(this)};function zR(a){var b=a.item.SA;b==a.z1+1&&b<a.item.Qj()&&!a.aG&&(dO(a,b),a.z1=b)}e.gF=function(){return CH};e.Nea=function(){zR(this)};e.mD=function(a,b,c){a=this.item;a.it.push(c.data);a.SA+=1;a.dispatchEvent("Ob")};e.gA=function(){return!1};e.oA=function(){var a=aj(this.getContext().qa(),tO,61),b;if(b=!!a)b=null==L(a,3)?!1:L(a,3);return b};
e.lF=function(){var a={};a[this.QE()]=aO(0);return[{meta:{}},a]};function AR(a,b){Hm.call(this,a,b)}w(AR,Hm);e=AR.prototype;e.kf=function(){var a="application/javascript application/x-httpd-php application/x-javascript text/css text/ecmascript text/javascript text/plain text/x-c++hdr text/x-c++src text/x-chdr text/x-csrc".split(" ");uP(this.getContext().qa())&&a.push("text/html");return a};e.If=function(){return qR};e.Qi=function(){return vR};e.Zh=function(){return yR};e.cP=function(){return!0};function BR(a,b){Hm.call(this,b||"tx_s",a)}w(BR,AR);BR.prototype.kf=function(){var a="application/ecmascript application/javascript application/xml application/x-httpd-php application/x-javascript application/x-php text/css text/ecmascript text/javascript text/plain text/xml text/x-c-code text/x-csrc text/x-c++-cod text/x-c++src text/x-c-header text/x-chdr text/x-c++hdr text/x-markdown".split(" ");uP(this.getContext().qa())&&a.push("text/html");return a};
BR.prototype.Yd=function(a){return et(a)?et(a):a.jf()};BR.prototype.qe=function(a){return!!a.getName()&&!!a.jf()};BR.prototype.Kf=function(){return[1]};function CR(a){BR.call(this,a,"tx_d")}w(CR,BR);CR.prototype.Yd=function(a){return et(a)+a.Oa()};CR.prototype.qe=function(a){return!!a.getName()&&!!a.Oa()&&!!a.jf()};CR.prototype.Kf=function(){return[6]};function DR(a){this.nb=a.U()}w(DR,Sp);DR.prototype.ra=function(a){var b="dvt_"+cb(),b=S(lu,{id:b},void 0,this.nb),c=this.nb.ua("drive-viewer-thumbnail-img",b);a=a.Xc.getName();th(c,a);sh(c,!0);return b};function ER(a,b){var c=b.Xc;if(c&&!c.isDisposed()){var d=c.Nd(84,63),f=a.nb.ua("drive-viewer-thumbnail-img",b.H());f&&(c=c.Rb(),c=an.Ra().get(c,128),d?(xg(f,["abort","error"],t(a.x0,a,f,c)),f.src=d):a.x0(f,c))}}DR.prototype.x0=function(a,b){a.src=b;tn(a,"drive-viewer-thumbnail-img","drive-viewer-thumbnail-icon")};
DR.prototype.Ma=function(){return"drive-viewer-thumbnail"};DR.prototype.ng=function(){return"option"};function FR(a,b){z.call(this);this.S=a;this.SD=b||null;this.vu=this.Ec=null;this.wM=[];this.$I=null}w(FR,z);FR.prototype.focus=function(a,b,c){var d=this.S.U(),f=d.$c();if(!this.$I||null==this.Ec&&!d.contains(this.$I,f))this.$I=c?a:null,this.vu=a,J(this.Ec),this.Ec=I(this.tM,b,this)};function UK(a,b){var c=GR(a);c&&a.focus(c,b)}function HR(a){return a.S.U().$c()==GR(a)}function tr(a){var b=a.S.U().$c();return HR(a)||!!a.SD&&b==a.SD.H()}
function IR(a){var b=a.S.U().$c();a=JR(a,"drive-viewer-filmstrip");return!!a&&a.contains(b)}function GR(a){return JR(a,"drive-viewer-default")}function JR(a,b){return a.S.U().ua(b,a.SD?a.SD.H():void 0)}FR.prototype.tM=function(){this.Ec=null;var a=this.vu;if(a){for(var b=a;b&&b.scrollHeight<=b.clientHeight;)b=Ie(b);var c=b?b.scrollTop:null;a&&a.focus();null!==c&&(b.scrollTop=c)}this.vu=null};function Py(a){var b=a.S.U();a.wM.push(b.$c())}function Qy(a){var b=a.wM.pop();null!=b?a.focus(b):UK(a)}
FR.prototype.ma=function(){J(this.Ec);this.vu=null;this.wM=[];this.$I=null};function KR(a){z.call(this);this.visible=!0;this.context=a;this.Rc=new K(this);A(this,this.Rc);var b=Gr(a);a=Z(a);this.Rc.listen(b,"Ca",this.Jm).listen(b,"Da",this.Eda).listen(b,"Ea",this.Tda).listen(b,"Fa",this.Wea).listen(b,"Ga",this.Uea).listen(a,"ia",this.ai)}w(KR,z);e=KR.prototype;e.ai=function(){Px(Z(this.context))&&this.Td(!0)};e.Jm=function(){Gr(this.context).eg&&this.Td(!0)};e.Eda=function(){PB(Gr(this.context))&&this.Td(!0)};e.Tda=function(){QB(Gr(this.context))&&this.Td(!0)};
e.Wea=function(){RB(Gr(this.context))&&this.Td(!0)};e.Uea=function(){Gr(this.context).tw&&this.Td(!0)};function LR(a){var b=qi(a.context,xv),b=!!b&&b.Ca(),c=qi(a.context,yv),c=!!c&&c.Ca(),d=qi(a.context,Lv),d=!!d&&d.cw,f=bw(a.context)&&0!=bw(a.context).ug,g=Gr(a.context);return g.eg||PB(g)||QB(g)||RB(g)||g.tw||b||c||d||f||Px(Z(a.context))};function MR(a,b){KR.call(this,a);this.Kd=[];this.ym=[];this.$q=[];this.SH=[];this.aZ=[];this.hR=[];this.kA=!1;this.gR=null;this.bG=this.jG=this.iA=this.cG=!1;this.vG=this.rm=null;this.fi=this.Js=this.uA=0;this.Mm=[];this.Mv=this.NA=0;this.q1={};var c=Z(a);this.Rc.listen(b,"mousedown",this.nN).listen(b,"mouseup",this.il).listen(b,"mousemove",this.Qo).listen(b,"keydown",this.jfa,!0).listen(c,"ea",this.Ib);(c=bw(a))&&this.Rc.listen(c,"ya",this.cfa)}w(MR,KR);e=MR.prototype;
e.Dg=function(){J(this.fi);this.fi=0;J(this.gR);J(this.NA);J(this.Mv);J(this.Js);for(var a=0;a<this.Mm[a];a++)J(this.Mm[a]),this.Mm[a]=0;this.bG=this.jG=this.iA=this.cG=this.kA=!1;this.vG=this.rm=null};e.addElement=function(a,b){this.Kd.push(a);this.ym.push(new Et(a,250));this.$q.push(new Ct(a,500));this.SH.push(b);var c=new hy(a);this.aZ.push(c);this.Rc.listen(c,"focusin",this.xr).listen(c,"focusout",this.Fz);2==this.context.qa().vc()&&this.Rc.listen(a,"mouseover",this.Qu).listen(a,"mouseout",this.ON)};
e.uR=function(a){a=ib(this.Kd,a);if(0<=a&&!NR(this,a)){var b=this.$q[a];b.stop(!1);a=this.ym[a];xg(a,"end",t(function(){this.isDisposed()||this.visible||b.play()},this));a.play()}};e.bI=function(a,b){this.Rc.listen(b,"scroll",this.vca);this.q1[a]=b};e.Td=function(a){J(this.fi);this.fi=0;this.mq(!0);if(a)for(a=0;a<this.Kd.length;a++)this.ym[a].stop(!0)};e.ei=function(a){this.visible&&OR(this)&&(a=n(a)?a:2E3,this.fi||(this.fi=I(function(){this.mq(!1);this.fi=0},a,this)))};
function PR(a,b){var c=ib(a.Kd,b);if(0<=c&&NR(a,c)&&QR(a,c)){var d=n(void 0)?void 0:2E3;a.Mm[c]||(a.Mm[c]=I(function(){this.Mm[c]=0;RR(this,c,!1)},d,a))}}e.ER=p;function SR(a){a.kA||(a.kA=!0,a.gR=I(function(){this.kA=!1;this.gR=0;this.ei()},6E3,a))}e.fR=function(a,b){var c=ib(this.Kd,a);0>c||!!this.hR[c]==b||(this.hR[c]=b,this.visible||(b?(this.$q[c].stop(),this.ym[c].play()):(this.ym[c].stop(),this.$q[c].play())))};e.cfa=function(){0!=bw(this.context).ug?this.Td(!0):(J(this.fi),this.fi=0,this.ei())};
e.mq=function(a){if(a!=this.visible&&(a||OR(this)))for(this.visible=a,a=0;a<this.Kd.length;a++)RR(this,a,this.visible)};function RR(a,b,c){c?(J(a.Mm[b]),a.Mm[b]=0,NR(a,b)||(a.$q[b].stop(),a.ym[b].play())):NR(a,b)&&!a.Mm[b]&&QR(a,b)&&(a.ym[b].stop(),a.$q[b].play())}
function OR(a){var b;Jr(Z(a.context))?(b=Z(a.context).Ea().hb,b=2!=zs(a.context.qa())||null==b||0==b.Bf):b=!0;if(b=b&&a.YW()&&!a.kA&&!LR(a)&&!a.cG){if(b=a.jG)a:{b=a.context.U().$c();for(var c=0;c<a.Kd.length;c++)if(a.Kd[c].contains(b)){b=!0;break a}b=!1}b=!b}return b&&!a.iA}function QR(a,b){return!a.visible&&OR(a)&&!TR(a,a.SH[b])&&!a.hR[b]}e.YW=function(){var a;(a=!this.context.Od())||(a=UR(this),a=!!a&&0<a.scrollTop);return a};e.Qu=function(a){VR(this,a)||(this.cG=!0,this.Td(!0))};
e.ON=function(a){VR(this,a)||(this.cG=!1,this.ei())};e.xr=function(){this.Td()};e.Fz=function(){this.ei()};e.jfa=function(a){9==a.keyCode&&(this.Td(),this.jG=!0)};e.nN=function(){this.jG=!1;this.bG=!0};e.il=function(){this.bG=!1};e.Qo=function(a){this.rm=new C(a.clientX,a.clientY);this.Mv&&(J(this.Mv),WR(this));this.NA||(this.NA=I(function(){!this.bG&&!this.visible&&this.vG&&150<Ad(this.vG,this.rm)&&(this.Td(),WR(this));this.vG=this.rm;this.NA=0},100,this));XR(this)};
function WR(a){a.Mv=I(function(){this.ei();this.Mv=0},1E3,a)}e.vca=function(a){if(0<a.target.scrollTop-this.uA)this.ei(1E3),J(this.Js),this.Js=0;else if(0>a.target.scrollTop-this.uA){if(0==a.target.scrollTop){this.Td();this.ei();return}this.fi&&(J(this.fi),this.fi=0,this.ei());if(!this.Js){var b=this.uA;this.Js=I(function(){var c=this.context.U().zd().height;b-a.target.scrollTop>.25*c&&(this.Td(),this.ei());this.Js=0},400,this)}}this.uA=a.target.scrollTop};
e.Ib=function(){var a=UR(this);this.uA=a?a.scrollTop:0;this.context.Od()&&(this.Td(),this.YW&&this.ei(4E3))};function UR(a){if(!Jr(Z(a.context)))return null;var b=Z(a.context).Ea();return a.q1[b.getId()]||null}function VR(a,b){if(!b.relatedTarget)return!1;for(var c=b.relatedTarget,d=0;d<a.Kd.length;d++)if(a.Kd[d].contains(c))return!0;return!1}
function TR(a,b){if(3!=a.context.qa().vc()||!a.rm)return!1;var c=a.context.U().zd(),d=c.width,c=c.height;switch(b.position){case "top":return a.rm.y<.2*c;case "bottom":return a.rm.y>.8*c;case "left":return a.rm.x<.2*d;case "right":return a.rm.x>.8*d;default:return!1}}function XR(a){if(3==a.context.qa().vc()){a.iA=!1;for(var b=0;b<a.SH.length;b++){var c=a.SH[b];if(TR(a,c))if(c.B5){var c=a,d=ib(c.Kd,a.Kd[b]);0<=d&&RR(c,d,!0)}else a.iA=!0;else c.B5&&PR(a,a.Kd[b])}a.iA?a.Td():a.ei()}}
function NR(a,b){var c,d=a.Kd[b].style;c="";"opacity"in d?c=d.opacity:"MozOpacity"in d?c=d.MozOpacity:"filter"in d&&(d=d.filter.match(/alpha\(opacity=([\d.]+)\)/))&&(c=String(d[1]/100));c=""==c?c:Number(c);return""===c||1==c||0<c&&a.ym[b].ne()}e.ma=function(){sc(this.ym);sc(this.$q);sc(this.aZ);J(this.NA);J(this.Mv);J(this.fi);J(this.Js);MR.R.ma.call(this)};function YR(a){var b=!!a.tga,c=!!a.uga,d=a.layout,f=!!a.qga,g=!!a.T$;null==a.oG||fa(a.oG);var h=3==a.D6;a='<div class="drive-viewer drive-viewer-focus-outlines-disabled'+((b?" drive-viewer-shown":"")+(c?" drive-viewer-static":"")+(f?" drive-viewer-mobile":"")+(g||h?" drive-viewer-quantum-spinner":"")+(h?" drive-viewer-v3":"")+(2==d?" drive-viewer-embed":"")+'" aria-label="'+ul("Showing viewer.")+'"><div class="drive-viewer-shadow drive-viewer-default" tabindex="0"></div>'+ZR(a)+"</div>");return U(a)}
function ZR(a){a=a||{};var b=a.D6;null==a.oG||fa(a.oG);a=a.oG;b=""+('<div class="drive-viewer-carousel"><div class="drive-viewer-prev-button drive-viewer-button-disabled" aria-label="'+ul("Previous")+'"><div class="drive-viewer-nav-background"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div></div><div class="drive-viewer-next-button drive-viewer-button-disabled" aria-label="'+ul("Next")+'"><div class="drive-viewer-nav-background"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div></div>'+
(3==b?'<div class="drive-viewer-toolchest"></div>':""));if(a)for(var c=a.length,d=0;d<c;d++)b+=$R({yga:a[d]});return U(b+"</div>")}function aS(){return U('<div class="drive-viewer-select-button"><div class="drive-viewer-icon drive-viewer-select-button-icon"></div></div>')}function $R(a){a=a||{};a=a.yga;return U('<div class="drive-viewer-carousel-slide drive-viewer-close-enabled" role="main">'+T(ku({KD:nl("drive-viewer-carousel-loading-message")}))+(a?T(a):"")+"</div>")}
function bS(a){var b=a.ku;a=a.haa;b=""+('<div class="drive-viewer-msg-error"><div class="drive-viewer-msg-container drive-viewer-focus-to-default" tabindex="-1">'+(b?'<div class="drive-viewer-msg-error-expression" tabindex="-1">'+T(b)+"</div>":"")+'<div class="drive-viewer-msg-error-text drive-viewer-focus-to-default" tabindex="-1">'+T(a)+'</div><div class="drive-viewer-msg-transient-error-text drive-viewer-focus-to-default">Retrying...</div><div class="drive-viewer-msg-button-container"><div class="drive-viewer-button drive-viewer-connect-more-apps-button"><div class="drive-viewer-connect-more-apps-button-icon"></div><div class="drive-viewer-connect-more-apps-button-text">Connect more apps...</div></div></div></div><div class="drive-viewer-appupsell-container"></div></div>');
return U(b)}function cS(){return U('<div class="drive-viewer-toolstrip" role="toolbar"></div>')}function dS(){return U('<div class="drive-viewer-toolstrip" role="toolbar"><div class="drive-viewer-toolstrip-inner"></div></div>')}function eS(){return U('<div class="drive-viewer-toolstrip-lft"><div class="drive-viewer-toolstrip-icon" tabindex="-1" role="img"></div><div class="drive-viewer-toolstrip-metadata" tabindex="-1"><div class="drive-viewer-toolstrip-name"></div></div></div>')}
function fS(){var a;a=""+('<div class="drive-viewer-toolstrip-rgt-panel"><div class="drive-viewer-details-button drive-viewer-dark-button" aria-label="'+ul("Details")+'"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div>'+gS()+"</div>");return U(a)}function hS(){return U('<div class="drive-viewer-toolstrip-rgt-panel">'+gS()+"</div>")}
function iS(){var a;a=""+('<div class="drive-viewer-close-button drive-viewer-dark-button" aria-label="'+ul("Close")+'"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div>');return U(a)}function gS(){var a;a=""+('<div class="drive-viewer-popout-button drive-viewer-dark-button" aria-label="'+ul("Pop out")+'"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div>');return U(a)}
function jS(a){a=a||{};return U('<div class="drive-viewer-toolstrip-actions">'+(a.C5?'<div class="drive-viewer-link-button drive-viewer-toolstrip-feedback">Give Feedback</div>':"")+'<div class="drive-viewer-toolstrip-add-to-drive drive-viewer-dark-button"><div />'+T(gu())+"</div></div></div>")}
function kS(){return U('<div class="drive-viewer-toolstrip-selection-buttons"><div class="drive-viewer-toolstrip-selection-button-clear drive-viewer-dark-button"><div class="drive-viewer-icon"></div></div><div class="drive-viewer-toolstrip-selection-menu-button drive-viewer-dark-button"><div class="drive-viewer-toolstrip-selection-button-label"></div><div class="drive-viewer-toolstrip-menu-button-arrow"><div class="drive-viewer-icon"></div></div></div></div>')}
function lS(a){return U('<div class="drive-viewer-selection-menu-item"><div class="drive-viewer-select-tick"><div class="drive-viewer-icon drive-viewer-select-tick-icon"></div></div><div class="drive-viewer-selection-menu-item-title">'+T(a.title)+"</div></div>")}
function mS(){var a;a=""+('<div class="drive-viewer-toolstrip-open-and-openwith"><div class="drive-viewer-toolstrip-open drive-viewer-dark-button"><div class="drive-viewer-open-app-icon"></div><div class="drive-viewer-open-label"></div></div><div class="drive-viewer-toolstrip-extract drive-viewer-dark-button"><div class="drive-viewer-toolstrip-extract-content">Extract</div><div class="drive-viewer-toolstrip-extracting-icon">'+T(gu())+'</div></div><div class="drive-viewer-toolstrip-openwith drive-viewer-dark-button"><div class="drive-viewer-toolstrip-open-separator"></div><div class="drive-viewer-toolstrip-openwith-inner"><div class="drive-viewer-toolstrip-openwith-text" tabindex="-1">Open with</div><div class="drive-viewer-toolstrip-menu-button-arrow"><div class="drive-viewer-icon"></div></div></div></div></div>');
return U(a)}function nS(){return U('<div class="drive-viewer-toolstrip-custom-panel"><div class="drive-viewer-more-button drive-viewer-dark-button"><div class="drive-viewer-icon"></div></div></div>')}function oS(a){a=a.label;return U('<div class="drive-viewer-dark-button drive-viewer-custom-button" aria-label="'+wl(a)+'">'+T(a)+"</div>")}function pS(a){return U('<div class="drive-viewer-icon drive-viewer-custom-button-icon '+wl(a.icon)+'"></div>')}
function qS(){return U('<div class="drive-viewer-button drive-viewer-content-download-button" role="button" tabindex="0" aria-label="'+wl(kl("Download"))+'"><div class="drive-viewer-download-icon drive-viewer-content-download-button-icon"></div><div class="drive-viewer-content-download-button-text" aria-hidden="true">'+T(kl("Download"))+"</div></div>")}
function rS(){return U('<div class="drive-viewer-filmstrip"><div class="drive-viewer-filmstrip-inner drive-viewer-scrollable" tabindex="-1" role="listbox"><div class="drive-viewer-filmstrip-frame"></div></div></div>')}
function sS(){return U('<div class="drive-viewer-filmstrip-actions drive-viewer-filmstrip-actions-lft"><div class="drive-viewer-filmstrip-viewall"><div class="drive-viewer-filmstrip-viewall-icon drive-viewer-icon"></div><span class="drive-viewer-filmstrip-viewall-text"></span></div></div>')}
function tS(a){var b='<div class="drive-viewer-filmstrip-actions drive-viewer-filmstrip-actions-rgt">';a.C5&&(b+='<div class="drive-viewer-link-button drive-viewer-filmstrip-feedback">Give Feedback</div>');return U(b+"</div>")}
function uS(){var a;a=""+('<div class="drive-viewer-password-dialog"><div class="drive-viewer-icon drive-viewer-password-icon"></div><span class="drive-viewer-password-message">Please enter this document\'s password to view it</span><div class="drive-viewer-password-input-wrapper"><input class="drive-viewer-password-input" type="password"></div><div class="drive-viewer-password-dialog-bottom"><div class="drive-viewer-password-error"><div class="drive-viewer-password-error-text">Password incorrect. Please try again.</div></div><div class="drive-viewer-password-submit" aria-label="'+ul("Submit password")+
'">Submit</div></div></div>');return U(a)}function vS(){return U('<div class="drive-viewer-zoom-controls"><div class="drive-viewer-zoom-panel"></div><div class="drive-viewer-dark-button drive-viewer-zoom-button"><div class="drive-viewer-icon">'+T(gu())+"</div></div></div>")}function wS(){return U('<div class="drive-viewer-sign-in"><div class="drive-viewer-sign-in-button jfk-button jfk-button-action">Sign In</div></div>')}
function xS(a){var b=a.title;a=a.Fja;return U('<div class="drive-viewer-profile-icon" title="'+wl(b)+'"><img src="'+wl(Cl(a))+'" class="drive-viewer-profile-img" alt="'+wl(b)+'" tabindex="0" /></div>')}function yS(a){a=!!a.Od;var b;b='<div class="drive-viewer-invite-sign-in-up"><div class="drive-viewer-invite-sign-in-button jfk-button jfk-button-standard">Sign In</div>';a||(b+='<div class="drive-viewer-invite-sign-up-button jfk-button jfk-button-action">Sign Up</div>');return U(b+"</div>")}
function zS(a){return U('<div class="drive-viewer-accept-invite"><div class="drive-viewer-accept-invite-button jfk-button jfk-button-action">'+T(a.U8)+"</div></div>")};var AS;
AS={N7:["BC","AD"],M7:["Before Christ","Anno Domini"],d8:"JFMAMJJASOND".split(""),z8:"JFMAMJJASOND".split(""),a8:"January February March April May June July August September October November December".split(" "),y8:"January February March April May June July August September October November December".split(" "),u8:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),B8:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),P8:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),D8:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
w8:"Sun Mon Tue Wed Thu Fri Sat".split(" "),C8:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Joa:"SMTWTFS".split(""),A8:"SMTWTFS".split(""),v8:["Q1","Q2","Q3","Q4"],l8:["1st quarter","2nd quarter","3rd quarter","4th quarter"],s7:["AM","PM"],oV:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],OV:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],D7:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],uV:6,Sqa:[5,6],vV:5};function BS(a,b,c,d,f,g){r(a)?(this.Dk="y"==a?b:0,this.ak="m"==a?b:0,this.Gj="d"==a?b:0,this.Wi="h"==a?b:0,this.dj="n"==a?b:0,this.mj="s"==a?b:0):(this.Dk=a||0,this.ak=b||0,this.Gj=c||0,this.Wi=d||0,this.dj=f||0,this.mj=g||0)}
BS.prototype.xC=function(a){var b=Math.min(this.Dk,this.ak,this.Gj,this.Wi,this.dj,this.mj),c=Math.max(this.Dk,this.ak,this.Gj,this.Wi,this.dj,this.mj);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.Dk||a)&&c.push(Math.abs(this.Dk)+"Y");(this.ak||a)&&c.push(Math.abs(this.ak)+"M");(this.Gj||a)&&c.push(Math.abs(this.Gj)+"D");if(this.Wi||this.dj||this.mj||a)c.push("T"),(this.Wi||a)&&c.push(Math.abs(this.Wi)+"H"),(this.dj||a)&&c.push(Math.abs(this.dj)+"M"),
(this.mj||a)&&c.push(Math.abs(this.mj)+"S");return c.join("")};BS.prototype.clone=function(){return new BS(this.Dk,this.ak,this.Gj,this.Wi,this.dj,this.mj)};BS.prototype.add=function(a){this.Dk+=a.Dk;this.ak+=a.ak;this.Gj+=a.Gj;this.Wi+=a.Wi;this.dj+=a.dj;this.mj+=a.mj};
function CS(a,b,c){ia(a)?(this.Hb=DS(a,b||0,c||1),ES(this,c||1)):ka(a)?(this.Hb=DS(a.getFullYear(),a.getMonth(),a.getDate()),ES(this,a.getDate())):(this.Hb=new Date(u()),a=this.Hb.getDate(),this.Hb.setHours(0),this.Hb.setMinutes(0),this.Hb.setSeconds(0),this.Hb.setMilliseconds(0),ES(this,a))}function DS(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}e=CS.prototype;e.HE=AS.uV;e.JE=AS.vV;e.clone=function(){var a=new CS(this.Hb);a.HE=this.HE;a.JE=this.JE;return a};
e.getFullYear=function(){return this.Hb.getFullYear()};e.getYear=function(){return this.getFullYear()};e.getMonth=function(){return this.Hb.getMonth()};e.getDate=function(){return this.Hb.getDate()};e.getTime=function(){return this.Hb.getTime()};e.getDay=function(){return this.Hb.getDay()};e.getUTCFullYear=function(){return this.Hb.getUTCFullYear()};e.getUTCMonth=function(){return this.Hb.getUTCMonth()};e.getUTCDate=function(){return this.Hb.getUTCDate()};e.getUTCHours=function(){return this.Hb.getUTCHours()};
e.getUTCMinutes=function(){return this.Hb.getUTCMinutes()};e.getTimezoneOffset=function(){return this.Hb.getTimezoneOffset()};function FS(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+Wa(c,2)+":"+Wa(b,2)}return a}e.set=function(a){this.Hb=new Date(a.getFullYear(),a.getMonth(),a.getDate())};e.setFullYear=function(a){this.Hb.setFullYear(a)};e.setMonth=function(a){this.Hb.setMonth(a)};e.setDate=function(a){this.Hb.setDate(a)};
e.setTime=function(a){this.Hb.setTime(a)};
e.add=function(a){if(a.Dk||a.ak){var b=this.getMonth()+a.ak+12*a.Dk,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.Gj&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.Gj),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),
this.setDate(a.getDate()),ES(this,a.getDate()))};e.xC=function(a,b){return[this.getFullYear(),Wa(this.getMonth()+1,2),Wa(this.getDate(),2)].join(a?"-":"")+(b?FS(this):"")};e.toString=function(){return this.xC()};function ES(a,b){a.getDate()!=b&&a.Hb.setUTCHours(a.Hb.getUTCHours()+(a.getDate()<b?1:-1))}e.valueOf=function(){return this.Hb.valueOf()};function GS(a,b,c,d,f,g,h){this.Hb=ia(a)?new Date(a,b||0,c||1,d||0,f||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():u())}w(GS,CS);e=GS.prototype;
e.getHours=function(){return this.Hb.getHours()};e.getMinutes=function(){return this.Hb.getMinutes()};e.getSeconds=function(){return this.Hb.getSeconds()};e.getUTCHours=function(){return this.Hb.getUTCHours()};e.getUTCMinutes=function(){return this.Hb.getUTCMinutes()};e.getUTCSeconds=function(){return this.Hb.getUTCSeconds()};e.setHours=function(a){this.Hb.setHours(a)};e.setMinutes=function(a){this.Hb.setMinutes(a)};e.setSeconds=function(a){this.Hb.setSeconds(a)};e.setMilliseconds=function(a){this.Hb.setMilliseconds(a)};
e.setUTCHours=function(a){this.Hb.setUTCHours(a)};e.setUTCMinutes=function(a){this.Hb.setUTCMinutes(a)};e.setUTCSeconds=function(a){this.Hb.setUTCSeconds(a)};e.add=function(a){CS.prototype.add.call(this,a);a.Wi&&this.setUTCHours(this.Hb.getUTCHours()+a.Wi);a.dj&&this.setUTCMinutes(this.Hb.getUTCMinutes()+a.dj);a.mj&&this.setUTCSeconds(this.Hb.getUTCSeconds()+a.mj)};
e.xC=function(a,b){var c=CS.prototype.xC.call(this,a);return a?c+" "+Wa(this.getHours(),2)+":"+Wa(this.getMinutes(),2)+":"+Wa(this.getSeconds(),2)+(b?FS(this):""):c+"T"+Wa(this.getHours(),2)+Wa(this.getMinutes(),2)+Wa(this.getSeconds(),2)+(b?FS(this):"")};e.toString=function(){return this.xC()};e.clone=function(){var a=new GS(this.Hb);a.HE=this.HE;a.JE=this.JE;return a};function HS(){}
function IS(a){if("number"==typeof a){var b=new HS;b.R5=a;var c;c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Wa(c,2));c=d.join("")}b.CU=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=JS(a);b.KU=[c,c];b.jt={hqa:a,HV:a};b.ex=[];return b}b=new HS;b.CU=a.id;b.R5=-a.std_offset;b.KU=a.names;b.jt=a.names_ext;b.ex=a.transitions;return b}
function JS(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Wa(Math.floor(a/60)%100,2),":",Wa(a%60,2));return b.join("")}function KS(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d<a.ex.length&&c>=a.ex[d];)d+=2;return 0==d?0:a.ex[d-1]}HS.prototype.TM=function(a){return this.KU[0<KS(this,a)?3:1]};HS.prototype.xd=function(a){return this.R5-KS(this,a)};function LS(a,b){this.yH=[];this.td=b||AS;"number"==typeof a?this.nD(a):this.dm(a)}var MS=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function NS(a){return a.getHours?a.getHours():0}
LS.prototype.dm=function(a){for(OS&&(a=a.replace(/\u200f/g,""));a;)for(var b=0;b<MS.length;++b){var c=a.match(MS[b]);if(c){c=c[0];a=a.substring(c.length);0==b&&("''"==c?c="'":(c=c.substring(1,c.length-1),c=c.replace(/\'\'/,"'")));this.yH.push({text:c,type:b});break}}};
LS.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.xd(a)):0,d=c?new Date(a.getTime()+c):a,f=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),f=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));for(var c=[],g=0;g<this.yH.length;++g){var h=this.yH[g].text;1==this.yH[g].type?c.push(PS(this,h,a,d,f,b)):c.push(h)}return c.join("")};
LS.prototype.nD=function(a){var b;if(4>a)b=this.td.oV[a];else if(8>a)b=this.td.OV[a-4];else if(12>a)b=this.td.D7[a-8],b=b.replace("{1}",this.td.oV[a-8]),b=b.replace("{0}",this.td.OV[a-8]);else{this.nD(10);return}this.dm(b)};function QS(a,b){var c;c=String(b);var d=a.td||AS;if(void 0!==d.T8){for(var f=[],g=0;g<c.length;g++){var h=c.charCodeAt(g);f.push(48<=h&&57>=h?String.fromCharCode(d.T8+h-48):c.charAt(g))}c=f.join("")}return c}var OS=!1;
function RS(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");}LS.prototype.yM=function(a,b){return QS(this,Wa(b.getDate(),a))};
function PS(a,b,c,d,f,g){var h=b.length;switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?1:0,4<=h?a.td.M7[c]:a.td.N7[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),QS(a,Wa(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.td.d8[c];break a;case 4:h=a.td.a8[c];break a;case 3:h=a.td.u8[c];break a;default:h=QS(a,Wa(c+1,h))}return h;case "k":return RS(f),QS(a,Wa(NS(f)||24,h));case "S":return QS(a,(f.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3<h?Wa(0,h-3):""));case "E":return c=
d.getDay(),4<=h?a.td.P8[c]:a.td.w8[c];case "a":return RS(f),h=NS(f),a.td.s7[12<=h&&24>h?1:0];case "h":return RS(f),QS(a,Wa(NS(f)%12||12,h));case "K":return RS(f),QS(a,Wa(NS(f)%12,h));case "H":return RS(f),QS(a,Wa(NS(f),h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.td.A8[c];break a;case 4:h=a.td.D8[c];break a;case 3:h=a.td.C8[c];break a;default:h=QS(a,Wa(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.td.z8[c];break a;case 4:h=a.td.y8[c];break a;case 3:h=a.td.B8[c];break a;default:h=
QS(a,Wa(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.td.v8[c]:a.td.l8[c];case "d":return a.yM(h,d);case "m":return RS(f),QS(a,Wa(f.getMinutes(),h));case "s":return RS(f),QS(a,Wa(f.getSeconds(),h));case "v":return h=g||IS(c.getTimezoneOffset()),h.CU;case "V":return a=g||IS(c.getTimezoneOffset()),2>=h?a.CU:0<KS(a,c)?n(a.jt.K7)?a.jt.K7:a.jt.DST_GENERIC_LOCATION:n(a.jt.HV)?a.jt.HV:a.jt.STD_GENERIC_LOCATION;case "w":return c=a.td.vV,f=new Date(f.getFullYear(),f.getMonth(),f.getDate()),
b=a.td.uV||0,c=f.valueOf()+864E5*(((n(c)?c:3)-b+7)%7-((f.getDay()+6)%7-b+7)%7),QS(a,Wa(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||IS(c.getTimezoneOffset()),4>h?a.KU[0<KS(a,c)?2:0]:a.TM(c);case "Z":return f=g||IS(c.getTimezoneOffset()),4>h?(h=-f.xd(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Wa(Math.floor(h/60)%100,2),Wa(h%60,2)),h=a.join("")):h=QS(a,JS(f.xd(c))),h;default:return""}};var SS={jra:"y",kra:"y G",lra:"MMM y",mra:"MMMM y",XJ:"MMM d",yoa:"MMMM dd",Aoa:"M/d",zoa:"MMMM d",Boa:"MMM d, y",Qqa:"EEE, MMM d",Rqa:"EEE, MMM d, y",kna:"d"},TS=SS,TS=SS;var US;function VS(a){US||(US=new LS(TS.XJ));return US.format(a)};function WS(){return U('<div class="drive-viewer-details-panel"><div class="drive-viewer-details-header"></div><div class="drive-viewer-details-content drive-viewer-scrollable"></div></div>')}function XS(){return U('<div class="drive-viewer-details-info-view" role="tabpanel"></div>')}function YS(){return U('<div class="drive-viewer-details-comments-view" role="tabpanel"></div>')}
function ZS(a){a=a.F0;return U('<div class="drive-viewer-details-subpane" role="region" aria-label="'+wl(a)+'" tabindex="-1"><div class="drive-viewer-details-subpane-header"><span class="drive-viewer-details-subpane-header-text" role="heading">'+T(a)+'</span><div class="drive-viewer-details-edit-button"><div class="drive-viewer-icon"></div></div><div class="drive-viewer-details-subpane-separator-container"><div class="drive-viewer-details-subpane-separator"></div></div></div><div class="drive-viewer-details-subpane-content"></div></div>')}
function $S(a){a=a.F0;return U('<div class="drive-viewer-details-subpane" role="region" aria-label="'+wl(a)+'" tabindex="-1"><div class="drive-viewer-details-subpane-header"><span class="drive-viewer-details-subpane-header-text" role="heading">'+T(a)+'</span><div class="drive-viewer-details-subpane-separator-container"><div class="drive-viewer-details-subpane-separator"></div></div></div><div class="drive-viewer-dark-button drive-viewer-details-edit-button"><div class="drive-viewer-icon"></div></div><div class="drive-viewer-details-subpane-content"></div></div>')}
function aT(a){var b='<div class="drive-viewer-details-info-subpane">';a=a.labels;for(var c=a.length,d=0;d<c;d++){var f;f=U('<div class="drive-viewer-details-info-row"><div class="drive-viewer-details-subpane-label drive-viewer-details-info-label">'+T(a[d])+'</div><div class="drive-viewer-details-subpane-item"></div></div>');b+=f}return U(b+"</div>")}
function bT(a,b,c){c=c||{};b='<div class="drive-viewer-details-location-items">';a=a.locations;for(var d=a.length,f=0;f<d;f++){var g=a[f];b+='<div><div class="drive-viewer-details-location-icon" style="'+(c.bc?"/*"+c.bc+"*//*"+c.bc+"*/":"")+"background-image: url("+wl(Cl(g.iconLink))+'); background-size:cover"></div>'+(g.title?'<div class="drive-viewer-details-location-link" role="link" tabindex="0" data-id="'+wl(g.id)+'">'+T(g.title)+"</div>":"")+"</div>"}return U(b+"</div>")}
function cT(){return U('<div class="drive-viewer-details-description"></div><textarea class="drive-viewer-details-description-edit drive-viewer-scrollable" role="textbox" aria-multiline="true"></textarea>')}function dT(a){return U('<div class="drive-viewer-details-info-row"><div class="drive-viewer-details-download-permission-message" id="'+wl(a.oha)+'"></div></div>')}
function eT(a){var b=a.FW,c=a.tu,d=a.timestamp,f=a.content,g=a.Mx;a=a.V8;var h="",k="Reply by "+(wl(b)+"."),h=h+('<div class="drive-viewer-details-comment-reply" role="region" tabindex="-1" aria-label="'+ul(k)+'">'+fT({name:b,tu:c,Mx:g})+'<div class="drive-viewer-details-comment-reply-content"><div class="drive-viewer-details-comment-reply-text"><div class="drive-viewer-details-comment-authorname">'+T(b)+"</div>"+(a?'<div class="drive-viewer-details-comment-reply-action">'+T(a)+"</div>":"")+'<div class="drive-viewer-details-comment-reply-body">'+
T(f)+'</div></div><div class="drive-viewer-details-comment-timestamp">'+T(d)+"</div></div></div>");return U(h)}function gT(){return U('<div class="drive-viewer-details-comments-list"></div>')}
function hT(a){var b=a.FW,c=a.tu,d=a.timestamp,f=a.content,g=a.Hka,h=a.Mx;a="";var k="Comment by "+(wl(b)+"."),c='<div class="drive-viewer-details-comment-thread" role="region" tabindex="-1" aria-label="'+ul(k)+'">'+fT({name:b,tu:c,Mx:h})+'<div class="drive-viewer-details-comment-container">',b='<div class="drive-viewer-details-comment'+(g?" drive-viewer-details-comment-resolved":"")+'"><div class="drive-viewer-details-comment-header"><div class="drive-viewer-details-comment-authorname">'+T(b)+'</div><div class="drive-viewer-details-comment-timestamp-container"><div class="drive-viewer-details-comment-timestamp">'+
T(d)+"</div>";g&&(b+='<div class="drive-viewer-details-resolved-comment-message" aria-label="'+ul("Resolved Comment")+'">&bull; '+T(g)+'<div class="drive-viewer-icon drive-viewer-details-resolved-comment-icon"></div></div>');b+='</div></div><div class="drive-viewer-details-comment-content">'+T(f)+"</div></div>";f=U(b);a+=c+f+'<div class="drive-viewer-details-comment-replies" role="region" tabindex="-1" aria-label="'+ul("Replies.")+'"></div></div></div>';return U(a)}
function fT(a){var b=a.Mx;return U('<div role="img" aria-label="'+wl(a.name)+'">'+(b?iT({url:b}):jT(a))+"</div>")}function kT(){return U('<div class="drive-viewer-details-info-subpane"></div>')}
function lT(a){var b=a.Qka;return U('<div class="drive-viewer-details-info-row"><div class="drive-viewer-details-subpane-label drive-viewer-details-permission-label"><div class="drive-viewer-details-permission-avatar"></div><div class="drive-viewer-details-permission-name">'+T(a.name)+'</div></div><div class="drive-viewer-details-permission-role">'+T(b)+"</div></div>")}function mT(){return U('<div><div class="drive-viewer-msg-loading-img">'+T(gu())+"</div></div>")}
function iT(a){return U('<img class="drive-viewer-details-comment-avatar" alt="" src="'+wl(Cl(a.url))+'" role="img"/>')}function jT(a){return U('<div class="drive-viewer-details-default-avatar-thumbnail"><div class="drive-viewer-details-letter-overlay" role="img">'+T(a.tu)+"</div></div>")}function nT(a){return U('<div class="drive-viewer-details-default-avatar-thumbnail"><div class="drive-viewer-icon drive-viewer-details-avatar-icon '+wl(a.className)+'" role="img"></div></div>')};function oT(a,b){Y.call(this,a);this.xX=b;this.wC=[];this.Tla=new LS(7);this.Ec=null}w(oT,Y);oT.prototype.ra=function(){var a=this.YD(this.xX,!1),b=this.U().ua("drive-viewer-details-comment-replies",a),c=this.xX.replies;if(c)for(var d=0;d<c.length;d++){var f=this.YD(c[d],!0);b.appendChild(f)}this.$=a;pT(this);qT(this)};
oT.prototype.YD=function(a,b){var c=this.U(),d=a.createdDate,f=rT(this,d),g=hT,h=a.author,k=h?h.displayName:"",k={FW:k,tu:k.charAt(0).toUpperCase(),timestamp:f,content:a.content||""};h&&h.picture&&h.picture.url&&(k.Mx=a.author.picture.url);h={};h.m$=d;if(b){var g=eT,m=a.modifiedDate;m&&d!=m&&(k.timestamp=pr(f,rT(this,m)),h.m2=m);d=null;switch(a.verb){case "resolve":d="Marked as resolved";break;case "reopen":d="Re-opened"}k.V8=d}else"resolved"==a.status&&(k.Hka="Resolved");this.wC.push(h);return S(g,
k,void 0,c)};function rT(a,b){var c=new GS(new Date(b)),d=a.Tla.format(c),c=c.getTime(),f=t(a.yM,a),g=new Date(u());g.setHours(0);g.setMinutes(0);g.setSeconds(0);g.setMilliseconds(0);var h=new Date(g.getTime()-864E5),k=new Date(g.getTime()+864E5),m=new Date(g.getTime()+1728E5),c=c>=k.getTime()&&c<m.getTime()?"Tomorrow":c>=g.getTime()&&c<k.getTime()?"Today":c>=h.getTime()&&c<g.getTime()?"Yesterday":(f||VS)(new Date(c));return d+(" "+c)}
oT.prototype.yM=function(a){var b=TS,c=new Date(u());return(a.getYear()==c.getYear()?new LS(b.XJ):new LS(2)).format(a)};function pT(a){var b=a.Ni("drive-viewer-details-comment-authorname");y(b,function(a){tp(a,this.U().F_(a),void 0,"",!0)},a)}
function qT(a){var b=new CS;b.add(new BS(0,0,1));a.Ec=I(function(){for(var a=this.U(),b=a.Ni("drive-viewer-details-comment-timestamp",this.H()),f=0;f<this.wC.length;++f){var g=rT(this,this.wC[f].m$);this.wC[f].m2&&(g=pr(g,rT(this,this.wC[f].m2)));a.Uf(b[f],g)}qT(this)},b.getTime()-u(),a)}oT.prototype.Db=function(){oT.R.Db.call(this);J(this.Ec)};function sT(a){Y.call(this,a);this.yJ=!1;a=Z(a);this.ka().listen(a,"j",this.Dr).listen(a,"ea",this.Ib)}w(sT,Y);e=sT.prototype;e.update=function(){tT(this);uT(this)};e.wJ=function(a,b){switch(a){case 1:this.yJ||(this.update(b),this.yJ=!0);break;case 2:this.bU();break;case 3:this.ZT();break;default:this.update(b)}};e.bU=function(){uT(this);this.QG("drive-viewer-msg-loading-img",mT)};function tT(a){var b=a.U();b.removeNode(b.ua("drive-viewer-msg-loading-img",a.kz()))}
e.Dr=function(a){var b=a.target.bh().bh(),c=Z(this.getContext());Jr(c)&&b.getId()==c.Ea().getId()&&this.wJ(this.getState(a.target),b.Mb)};e.ZT=function(){tT(this);this.QG("drive-viewer-content-error-container",ju,{ku:"Whoops!",error:"There was a problem loading the details."})};function uT(a){var b=a.U();b.removeNode(b.ua("drive-viewer-content-error-container",a.kz()))}e.QG=function(a,b,c){var d=this.U(),f=this.kz();a=d.ua(a,f);null==a&&(a=S(b,c,void 0,d),d.appendChild(f,a))};
e.Ib=function(){var a=Z(this.getContext()).Ea().Mb;a&&(this.yJ=!1,this.wJ(this.getState(a.Wa),a))};e.setVisible=function(a){var b=this.H();b&&this.Ca()!=a&&X(b,a)};e.Ca=function(){var a=this.H();return null!=a&&eo(a)};function vT(a){sT.call(this,a)}w(vT,sT);e=vT.prototype;e.ra=function(){this.$=S(YS,void 0,void 0,this.U())};e.update=function(a){vT.R.update.call(this,a);a=(a=a.Wa)?a.TE():[];if(!(0>=a.length)){for(var b=this.U(),c=S(gT,void 0,void 0,b),d=0;d<a.length;d++){var f=new oT(this.getContext(),a[d]);this.Aa(f);f.Ka(c)}b.appendChild(this.H(),c)}};e.wJ=function(a,b){this.yJ||(this.U().fe(this.kz()),sc(this.fe(!0)));vT.R.wJ.call(this,a,b)};e.kz=function(){return this.H()};
e.getState=function(a){return a?a.Yx:null};function wT(a){Sx.call(this,a,zx)}w(wT,Sx);e=wT.prototype;e.Fh=function(){var a=this.getContext(),b=Z(a).Ea().Mb.Wa;return!!b&&b.$L&&!a.Od()};e.Lu=function(a){Tx(this,a)&&(a=this.Fh(),this.action.setVisible(a),this.action.setEnabled(a))};e.Hm=function(a){this.PU(a.data)};e.PU=function(a){var b=this.getContext(),c=Z(b).Ea(),d=c.pb.Oa(),b=qi(b,Fm);a=Rh(Qh(Sh(new Mh(b.Jc,xi(b,d,"description"),"drive#file")),"PUT"),{description:a}).start();b.wf(a);Ux(this,c,a)};
e.qF=function(a,b,c){b=!!c&&c.id==a.pb.Oa();this.dispatchEvent(new Rx(a,b,b?new If(c.description):void 0))};e.Ku=function(a){this.dispatchEvent(new Rx(a,!1,void 0))};e.Yh=function(){return 42};function xT(a,b){Y.call(this,a);this.Mfa=b;this.Dj=null;this.Xd=new jq(this.U());this.Aa(this.Xd)}w(xT,Y);xT.prototype.ra=function(){var a=3==this.getContext().qa().vc()?$S:ZS;this.$=S(a,{F0:this.Mfa},void 0,this.U());this.Dj=this.ua("drive-viewer-details-subpane-content")};xT.prototype.ta=function(){xT.R.ta.call(this);var a=this.ua("drive-viewer-details-edit-button");this.Xd.Na(a);rs(a,this.U());this.Xd.setVisible(!1)};xT.prototype.setVisible=function(a){var b=this.H();b&&this.Ca()!=a&&X(b,a)};
xT.prototype.Ca=function(){var a=this.H();return null!=a&&eo(a)};function yT(a){xT.call(this,a,"Description");this.hE=this.Hj=this.qB=null;this.bM=this.Hf="";this.OU=new wT(a);this.n1=3==a.qa().vc()}w(yT,xT);e=yT.prototype;e.ra=function(){yT.R.ra.call(this);var a=this.U();this.hE=S(cT,void 0,void 0,a);a.appendChild(this.Dj,this.hE)};
e.ta=function(){yT.R.ta.call(this);var a=this.U();this.qB=a.ua("drive-viewer-details-description",this.hE);this.Hj=a.ua("drive-viewer-details-description-edit",this.hE);this.Xd.mb("Edit Description");this.ka().listen(this.Xd,"action",this.vN).listen(this.Hj,"keydown",this.Tj).listen(a.Ba,"mousedown",this.Po).listen(this.OU,"ja",this.dba)};
e.update=function(a){this.Hf="";var b=(a=a.Wa)?a.Hf:null;null===b?this.setVisible(!1):(this.Hf=b,this.setVisible(!0),this.bM=(b=this.OU.Fh())?"Add a description":"No description",a=a.zJ?"Saving...":this.Hf||this.bM,X(this.Hj,!1),X(this.qB,!0),zT(this,a),this.Xd.setVisible(b))};e.vN=function(a){var b=this.getContext();X(this.Hj,!0);X(this.qB,!1);this.n1&&this.Xd.setVisible(!1);this.Hj.value=this.Hf;ur(b).focus(this.Hj);Fs(oq(b),{La:41,$a:Lo(a)})};
e.Tj=function(a){switch(a.keyCode){case 27:a.preventDefault();AT(this,!1);break;case 13:if(a.shiftKey)break;a.preventDefault();AT(this,!0);break;case 9:a.preventDefault(),AT(this,!0)}a.stopPropagation()};e.Po=function(a){this.Hj&&eo(this.Hj)&&this.Hj!=a.target&&AT(this,!0)};function AT(a,b){if(b){var c=a.Hj.value;c!=a.Hf&&a.PU(c)}X(a.Hj,!1);X(a.qB,!0);a.n1&&a.Xd.setVisible(!0);ur(a.getContext()).focus(a.Xd.H())}
e.PU=function(a){Z(this.getContext()).Ea().Mb.Wa.zJ=!0;zT(this,"Saving...");Pf(this.OU.wd(),a)};e.dba=function(a){var b=a.item,c=a.payload,d="";c&&(d=c.data);c=b.Mb.Wa;c.zJ=!1;var f=Z(this.getContext()),f=Jr(f)&&f.Ea().getId()==b.getId();a.success?(c.jS(d),f&&(this.Hf=d)):aw(this.getContext()).showNotification('There was a problem updating description of "'+(b.getName()+'".'),!0,1E4);f&&zT(this,this.Hf||this.bM)};function zT(a,b){var c=ld(b);fe(a.qB,c)};function BT(a){xT.call(this,a,"Download Permission");this.oe=null}w(BT,xT);BT.prototype.ra=function(){BT.R.ra.call(this);var a="dvddp_"+cb(),b=this.U(),a=S(dT,{oha:a},void 0,b);b.appendChild(this.Dj,a)};BT.prototype.ta=function(){BT.R.ta.call(this);this.oe=this.ua("drive-viewer-details-download-permission-message")};
BT.prototype.update=function(a){var b=a.bh().Rb(),b=Xw(b);(a=a.Wa)&&!b&&0!=a.By&&a.JC?(this.setVisible(!0),a=1==a.By?"Viewers cannot download":"Viewers can download",this.U().Uf(this.oe,a)):this.setVisible(!1)};function CT(){this.oma=this.Yfa=!1}CT.prototype.format=function(a){if(this.oma&&0==a)return"\u2014";var b="";n(!1)||(b="B");var c=a,d=c,f="",g=1;0>c&&(c=-c);for(var h=0;h<cl.length;h++){var k=cl[h],g=dl[k];if(c>=g||1>=g&&c>.1*g){f=k;break}}f?b&&(f+=b):g=1;b=Math.pow(10,n(0)?0:2);f=/^(\d+)([KMGTP])?$/.exec(Math.round(d/g*b)/b+""+f);d=new DT(a);f=ET(f?new DT(a,Number(f[1]),f[2]):new DT(a));return 1024>a||!this.Yfa?f:Aj("%s (%s)",f,ET(d))};
function ET(a){var b=(new Iq(1)).format(a.size);switch(a.fma){case "K":return b+" KB";case "M":return b+" MB";case "G":return b+" GB";case "T":return b+" TB";case "P":return b+" PB";default:return(new Wq("{FILE_SIZE, plural, =0 {0 bytes}=1 {1 byte}other {# bytes}}")).format({FILE_SIZE:a.M9})}}function DT(a,b,c){this.M9=a;this.size=b||a;this.fma=c};var FT=!E;function GT(a){xT.call(this,a,"General Info");this.RF=null;this.HO=[];this.GO=[];this.L9=new CT;this.SP=[]}w(GT,xT);var HT="Type;Dimensions;Size;Location;Modified;Created;Opened by me".split(";");e=GT.prototype;e.ra=function(){GT.R.ra.call(this);var a=this.U();this.RF=S(aT,{labels:HT},void 0,a);a.appendChild(this.Dj,this.RF)};
e.ta=function(){GT.R.ta.call(this);var a=this.U();this.HO=a.Ni("drive-viewer-details-info-row",this.RF);this.GO=a.Ni("drive-viewer-details-subpane-item",this.RF);this.ka().listen(Z(this.getContext()),"k",this.hea)};
e.update=function(a){for(var b=a.Wa,c=dn(a.bh().Rb()),d=b?IT(b.kL):null,f=b?IT(b.uP):null,g=b?IT(b.vA):null,h=a.Pc(),h=h?this.L9.format(h):null,k=a.XE(),k=k&&0<k.width&&0<k.height?lr.format(k.width)+(" x "+lr.format(k.height)):null,c=[c,k,h,null,f,d,g],d=0;d<c.length;++d)f=this.HO[d],g=this.GO[d],h=c[d],x(za(h))?X(f,!1):(this.U().Uf(g,h),X(f,!0));c=[];a=a.bh();b&&Nx(a)&&zm(b)&&(c=JT(b));KT(this,c)};
e.hea=function(a){a=a.target.bh().bh();var b=a.Mb.Wa;if(zm(b)){var b=JT(b),c=Z(this.getContext());Jr(c)&&a.getId()==c.Ea().getId()&&KT(this,b)}};function JT(a){a=lb(a.Fo(),function(a){return!x(za(a.alternateLink))});y(a,function(a){x(za(a.iconLink))&&(a.iconLink=a.shared?"//ssl.gstatic.com/docs/doclist/images/icon_11_shared_collection_list.png":"//ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png")});return a}
function IT(a){if(a){var b=TS,c=new LS(7),d=new Date(u()),b=a.getYear()==d.getYear()?new LS(b.XJ):new LS(2),c=c.format(a);a=b.format(a);return c+(" "+a)}return null}function KT(a,b){var c=a.U(),d=ib(HT,"Location"),f=a.HO[d],d=a.GO[d];y(a.SP,function(a){this.removeChild(a,!0)},a);c.fe(d);ub(a.SP);var g=S(bT,{locations:b},void 0,c);d.appendChild(g);c=c.Ni("drive-viewer-details-location-link",g);for(g=d=0;g<b.length;g++){var h=b[g].title;if(!x(za(h))){var k=c[d++];LT(a,k,h)}}X(f,0<c.length)}
function LT(a,b,c){var d=new jq(a.U());a.Aa(d);d.Na(b);a.SP.push(d);tp(b,c,void 0,"",!0);a.ka().listen(d,"action",a.wda)}e.wda=function(a){var b;b=a.target.H();b=FT&&b.dataset?"id"in b.dataset?b.dataset.id:null:b.getAttribute("data-"+"id".replace(/([A-Z])/g,"-$1").toLowerCase());var c=this.getContext(),d=Z(c).Ea();Fs(oq(c),{La:72,$a:Lo(a)});a=d.Mb.Wa;a=c.Od()?a.getParent(b).alternateLink:this.SM(d.pb.Oa(),b);Iw(a,{target:"_blank",noreferrer:!0})};
e.SM=function(a,b){var c=this.getContext().qa(),d=c.sg()||"0",c=Iu(c)||Tl(this.getContext().U().getWindow()),f=nk(nk(nk((new Zj).setPath("my-drive"),"action","locate"),"id",a),"parent",b);return nk(ek(nk(new Zj(c),"authuser",d),f.toString()),"usp","drive_viewer_dp").toString()};var MT=Ic("Macintosh")||Gd();function NT(a,b,c){b=xo[b];var d=a.toLowerCase().indexOf(b),f;if(0<=d){f=a.charAt(d);var g=[],h=a.substr(0,d),d=a.substr(d+1,a.length);0<h.length&&g.push(c.createTextNode(h));g.push(OT(f,c));0<d.length&&g.push(c.createTextNode(d));f=g}else f=c.ra("SPAN","goog-menuitem-mnemonic-separator","(",OT(b.toUpperCase(),c),")"),f=[c.createTextNode(a),f];c=c.ra("SPAN",void 0,f);oh(c,a+", "+b+";");return c}function OT(a,b){return b.ra("SPAN","goog-menuitem-mnemonic-hint",a)};function PT(a,b,c,d){z.call(this);this.ha=new K(this);this.Ud=new Sf(this);this.Rf={};this.Aga=!!c;this.yaa=d||null;this.fL=b||QT;for(var f in this.fL)this.Rf[f]=this.hma;this.Rf.enabled=function(a,b,c,d,f){a.setEnabled(!!f)};this.Rf.hint=this.O6;this.Rf.keys=gf(this.O6,this.Rf.keys||p);this.Rf.value=function(a,b,c,d,f){ja(a.qb)&&a.qb(f)};this.Rf.visible=function(a,b,c,d,f){a.setVisible(!!f)};this.Rf.selected=function(a,b,c,d,f){Pp(a,16)&&bq(a,!!f)};a&&cc(this.Rf,a)}w(PT,z);
PT.prototype.ma=function(){PT.R.ma.call(this);this.ha.dispose();this.Ud.dispose();delete this.ha;delete this.Ud;delete this.Rf;delete this.fL};
PT.prototype.hma=function(a,b,c,d){if(d in b){d=[];var f=c.getIcon();f&&"icon"in b&&d.push(RT(a,f));"mnemonic"in b&&ja(a.GI)&&a.GI(c.getProperty("mnemonic"));var g,h=c.getProperty("node-label")||null,k=c.getLabel(),f="mnemonic"in b?c.getProperty("mnemonic"):null;if(h&&"node-label"in b){g=h.cloneNode(!0);if(f&&ja(a.GI)){h=a.U();if(!(k=ST(g,f,h)))for(k=g;k.lastChild;)k=k.lastChild;var m=Ve(k),h=h||he(),f=NT(m,f,h);k==g?g=f:(h=k.parentNode)&&h.replaceChild(f,k)}g=[g]}else k&&"label"in b&&(f&&ja(a.GI)?
(g=he(),f=NT(k,f,g)):f=a.U().ra("SPAN",void 0,k),He(f)&&W(f,a.Za.Ma()+"-label"),E&&He(f)&&W(f,a.Za.Ma()+"-label-ie"),g=f);g&&Ab(d,g);(f=c.Zd())&&"keys"in b&&d.push(TT(a,c,f));a.setContent(d)}};PT.prototype.O6=function(a,b,c){ja(a.mb)&&(b=UT(c),c=UT(c,!0),a.mb(b),a=a.H(),this.Aga&&a&&mp(a,b,c))};function UT(a,b){var c=a.getProperty("hint")||"";if(c){var d=a.Zd();d&&(d=VT(a,d),b&&(d=WT(d)),c+=" ("+d+")")}return c||""}
function RT(a,b){var c=a.Za.Ma()+"-icon";E&&(c=c+" "+(a.Za.Ma()+"-icon-ie"));var d=a.U(),d=d||he(),f={};f["class"]="docs-icon-img-container "+b;return d.ra("DIV",{"class":"docs-icon goog-inline-block"+(c?" "+c:""),"aria-hidden":!0},d.ra("DIV",f))}function ST(a,b,c){var d=xo[b];return bf(a,function(a){return 3==a.nodeType&&0<=c.F_(a).toLowerCase().indexOf(d)})||null}function TT(a,b,c){b=VT(b,c);return a.U().ra("SPAN",{"class":a.Za.Ma()+"-accel","aria-label":WT(b)},b)}
function WT(a){a=a.replace(/pg-up/i,"page up");a=a.replace(/pg-down/i,"page down");a=a.replace("`","backtick");a=a.replace("~","tilde");a=a.replace("-","hyphen");a=a.replace("_","underscore");a=a.replace("=","equals");a=a.replace("[","left bracket");a=a.replace("]","right bracket");a=a.replace(";","semicolon");a=a.replace(":","colon");a=a.replace(",","comma");a=a.replace(".","period");a=a.replace("/","slash");a=a.replace("\\","backslash");a=a.replace(XT.up,"up");a=a.replace(XT.down,"down");a=a.replace(XT.left,
"left");a=a.replace(XT.right,"right");return"shortcut "+a+"."}
function VT(a,b){fa(b)&&(b=b[0]);for(var c in XT)b.match(new RegExp("-"+c,"gi"))||(b=b.replace(new RegExp(c,"gi"),XT[c]));MT&&(c=!a.getProperty("force-ctrl-key"),b.match(c?/(Meta|Ctrl)\+.(\+.*)?$/:/Meta\+.(\+.*)?$/)?(b=b.replace(/Meta\+/g,"\u2318"),c&&(b=b.replace(/Ctrl\+/g,"\u2318"))):(b=b.replace(/Meta\+/g,"\u2318+"),c&&(b=b.replace(/Ctrl\+/g,"\u2318+"))),b=b.replace(/(?=\w*Alt(?!Gr))(\w+)/g,"Option"));b=b.replace(/Ctrl/g,"Ctrl");b=b.replace(/Shift/g,"Shift");b=b.replace(/Alt/g,"Alt");b=b.replace(/Option/g,
"Option");b=b.replace(/Meta/g,"Meta");b=b.replace(/backspace/gi,"Backspace");b=b.replace(/tab/gi,"Tab");b=b.replace(/enter/gi,"Enter");b=b.replace(/pause/gi,"Pause");b=b.replace(/caps-lock/gi,"Caps-Lock");b=b.replace(/esc/gi,"Esc");b=b.replace(/space/gi,"Space");b=b.replace(/pg-up/gi,"Pg-Up");b=b.replace(/pg-down/gi,"Pg-Down");b=b.replace(/end/gi,"End");b=b.replace(/home/gi,"Home");b=b.replace(/insert/gi,"Insert");return b=b.replace(/delete/gi,"Delete")}
var XT={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};
function ZT(a,b,c,d,f,g){var h=d||$T,k=f||p;aU(a,b,c,h);a.Ud.xk(c,Gf,function(a){var d=a.TH;!b.isDisposed()&&(d in h||"keys"==d)&&this.Rf[d].call(this,b,h,c,d,a.newValue,a.oldValue)});a.ha.listen(b,"action",function(a){if(!c.getProperty("require_direct_target")||a.currentTarget==a.target)if(a=k(a),this.yaa){var d=g;null!=d||(d=new yr(Mo(b.H())));Pf(c,a,d)}else Pf(c,a)})}
function aU(a,b,c,d){ha(c.getProperty("selected"))&&ja(b.Ns)&&b.Ns(!0);E&&Zp(b,b.Za.Ma()+"-ie");var f=b.dV,g;for(g in d)if(g in a.Rf){if(g in a.fL)if(f)continue;else f=!0;a.Rf[g].call(a,b,d,c,g,c.getProperty(g),null)}}var $T={enabled:!0,value:!0,visible:!0},QT={icon:!0,keys:!0,label:!0,"long-label":!0,"node-label":!0,mnemonic:!0},bU={enabled:!0,hint:!0,value:!0,visible:!0};function cU(a){this.Rf={};this.Is=a}function dU(a,b){return eU(eU(a,"enabled",b),"visible",b)}function eU(a,b,c){a.Rf[b]=t(c,a.Is);return a}cU.prototype.Hd=function(){return new PT(this.Rf,void 0,void 0,fU.Ra())};function fU(){}w(fU,z);da(fU);function gU(a){xT.call(this,a,"Sharing");this.Ej=dU(new cU(this),this.vJ).Hd();A(this,this.Ej)}w(gU,xT);e=gU.prototype;e.ta=function(){gU.R.ta.call(this);this.Xd.setVisible(!1);if(!this.getContext().Od()&&3!=this.getContext().qa().vc()){var a=Lr(this.getContext()),b=a.PT;b?hU(this,b):this.ka().Fb(a,"ra",t(this.Xea,this));this.vJ()}};
e.update=function(a){var b=this.U();b.fe(this.Dj);a=(a=a.Wa)?a.dR:[];if(0>=a.length)this.setVisible(!1);else{for(var c=S(kT,void 0,void 0,b),d=0;d<a.length;d++){var f=this.YD(a[d]);f&&c.appendChild(f)}b.appendChild(this.Dj,c);this.setVisible(0<b.getChildren(c).length);this.vJ()}};
e.YD=function(a){var b=this.U(),c=a.additionalRoles,d="";switch(a.role){case "organizer":d="Organizer";break;case "owner":d="Owner";break;case "reader":d=c&&tb(c,"commenter")?"Can Comment":"Can View";break;case "writer":d="Can Edit"}c="anyone"==a.type?a.withLink?"Anyone with the link":"Anyone":a.name||a.emailAddress;if(!c)return null;var d=S(lT,{name:c,Qka:d},void 0,this.U()),f=b.ua("drive-viewer-details-permission-name",d);tp(f,c,void 0,"",!0);var b=b.ua("drive-viewer-details-permission-avatar",
d),g,f=jT,h={tu:c.charAt(0).toUpperCase()};switch(a.type){case "user":a.photoLink&&(f=iT,h={url:a.photoLink});g=a.emailAddress;break;case "group":f=nT;h={className:"drive-viewer-details-group-avatar"};g=a.emailAddress;break;case "domain":h=a.withLink?{className:"drive-viewer-details-domain-avatar-with-link"}:{className:"drive-viewer-details-domain-avatar"};f=nT;g=a.domain||c;g=a.withLink?"Anyone at "+(g+" with the link"):"Anyone at "+g;break;case "anyone":f=nT,a.withLink?(h={className:"drive-viewer-details-anyone-avatar-with-link"},
g="Anyone with the link"):(h={className:"drive-viewer-details-anyone-avatar"},g="Anyone")}a=S(f,h,void 0,this.U());g&&tp(a,g);b.appendChild(a);return d};e.Xea=function(){var a=Lr(this.getContext()).PT;hU(this,a);this.vJ()};function hU(a,b){a.Xd.Xc=b;a.Xd.mb(b.getProperty("hint")||"");a.ka().listen(Lr(a.getContext()),"qa",a.wr).listen(a.Xd,"action",a.vN);ZT(a.Ej,a.Xd,b,bU,t(a.mr,a))}e.wr=function(a){var b=this.Xd.H();a.uG.H()==b&&this.Xd.Xc==a.Wn&&this.Xd.Ca()&&this.Xd.isEnabled()&&ur(this.getContext()).focus(b)};
e.vN=function(){FQ(aw(this.getContext()))};e.mr=function(){return new Ax(Z(this.getContext()).Ea().pb,this.Xd)};e.vJ=function(){var a=this.Xd.Xc;this.Xd.setVisible(this.Ca()&&null!=a&&a.Ca()&&a.isEnabled())};function iU(a){sT.call(this,a);this.SF=new GT(a);this.Aa(this.SF);this.qy=new yT(a);this.Aa(this.qy);this.mB=new gU(a);this.Aa(this.mB);this.qE=new BT(a);this.Aa(this.qE)}w(iU,sT);e=iU.prototype;e.ra=function(){this.$=S(XS,void 0,void 0,this.U());var a=this.H();this.SF.Ka(a);3==this.getContext().qa().vc()?(this.mB.Ka(a),this.qy.Ka(a)):(this.qy.Ka(a),this.mB.Ka(a));this.qE.Ka(a)};e.update=function(a){iU.R.update.call(this,a);jU(this,!0);this.SF.update(a);this.qy.update(a);this.mB.update(a);this.qE.update(a)};
e.bU=function(){jU(this,!1);iU.R.bU.call(this)};e.ZT=function(){jU(this,!1);iU.R.ZT.call(this)};e.kz=function(){return this.H()};e.getState=function(a){return a?a.vm:null};function jU(a,b){a.SF.setVisible(b);a.qy.setVisible(b);a.mB.setVisible(b);a.qE.setVisible(b)};function kU(){}w(kU,Ip);da(kU);e=kU.prototype;e.Ma=function(){return"goog-tab"};e.ng=function(){return"tab"};e.ra=function(a){var b=kU.R.ra.call(this,a);(a=a.Lf())&&this.mb(b,a);return b};e.Na=function(a,b){b=kU.R.Na.call(this,a,b);var c=this.Lf(b);c&&a.Zp(c);a.Zo()&&(c=a.getParent())&&ja(c.Qs)&&(a.lb(8,!1),c.Qs(a));return b};e.Lf=function(a){return a.title||""};e.mb=function(a,b){a&&(a.title=b||"")};function lU(a,b,c){Wp.call(this,a,b||kU.Ra(),c);this.ze(8,!0);this.Ys|=9}w(lU,Wp);lU.prototype.Lf=function(){return this.jd};lU.prototype.mb=function(a){this.Za.mb(this.H(),a);this.Zp(a)};lU.prototype.Zp=function(a){this.jd=a};Tp("goog-tab",function(){return new lU(null)});function mU(){}w(mU,kU);da(mU);mU.prototype.Ma=function(){return"drive-viewer-details-tab"};function nU(a,b,c){lU.call(this,b,mU.Ra(),a.U());this.S=a;this.xU=c;this.yj&=-3}w(nU,lU);nU.prototype.ra=function(){nU.R.ra.call(this);this.Wp("dvdt_"+cb())};nU.prototype.ta=function(){nU.R.ta.call(this);this.xU.setVisible(!1);kh(this.xU.$,"labelledby",this.getId());oU(this,!0)};nU.prototype.sk=function(a){nU.R.sk.call(this,a);var b=this.$;this.xU.setVisible(a);this.S.U().pe(b,a);var c=ur(this.S);a&&(null==c.Ec||c.vu!=GR(c))&&c.focus(b)};
function oU(a,b){rn(a.H(),"drive-viewer-details-tab-indicator",b)};function pU(){this.pD="tablist"}w(pU,Sr);da(pU);pU.prototype.Ma=function(){return"goog-tab-bar"};pU.prototype.sT=function(a,b,c){this.S1||(this.ID||qU(this),this.S1=ac(this.ID));var d=this.S1[b];d?(a.setOrientation(rU(d)),a.T1=d):pU.R.sT.call(this,a,b,c)};pU.prototype.Dm=function(a){var b=pU.R.Dm.call(this,a);this.ID||qU(this);b.push(this.ID[a.getLocation()]);return b};function qU(a){var b=a.Ma();a.ID={top:b+"-top",bottom:b+"-bottom",start:b+"-start",end:b+"-end"}};function sU(a,b,c){a=a||"top";this.setOrientation(rU(a));this.T1=a;Vr.call(this,this.Cd,b||pU.Ra(),c);tU(this)}w(sU,Vr);e=sU.prototype;e.w9=!0;e.Dh=null;e.ta=function(){sU.R.ta.call(this);tU(this)};e.ma=function(){sU.R.ma.call(this);this.Dh=null};e.removeChild=function(a,b){uU(this,a);return sU.R.removeChild.call(this,a,b)};e.getLocation=function(){return this.T1};e.yS=function(a){sU.R.yS.call(this,a);this.w9&&this.Qs(this.og(a))};e.Qs=function(a){a?a.sk(!0):this.Dh&&this.Dh.sk(!1)};
function uU(a,b){if(b&&b==a.Dh){for(var c=Hp(a,b),d=c-1;b=a.og(d);d--)if(vU(b)){a.Qs(b);return}for(c+=1;b=a.og(c);c++)if(vU(b)){a.Qs(b);return}a.Qs(null)}}function vU(a){return a.Ca()&&a.isEnabled()}e.aO=function(a){this.Dh&&this.Dh!=a.target&&this.Dh.sk(!1);this.Dh=a.target};e.ifa=function(a){a.target==this.Dh&&(this.Dh=null)};e.ffa=function(a){uU(this,a.target)};e.gfa=function(a){uU(this,a.target)};e.$h=function(){Yr(this)||this.yi(this.Dh||this.og(0))};
function tU(a){a.ka().listen(a,"select",a.aO).listen(a,"unselect",a.ifa).listen(a,"disable",a.ffa).listen(a,"hide",a.gfa)}function rU(a){return"start"==a||"end"==a?"vertical":"horizontal"}Tp("goog-tab-bar",function(){return new sU});function wU(){pU.call(this)}w(wU,pU);da(wU);wU.prototype.Ma=function(){return"drive-viewer-details-tabbar"};function xU(a,b){sU.call(this,b,wU.Ra(),a.U());this.S=a;this.rI=!1}w(xU,sU);xU.prototype.ta=function(){xU.R.ta.call(this);var a=this.$;oh(a,"Details panel tab bar. Press left and right arrow keys to switch between tabs.");this.ka().listen(a,"keydown",this.efa);this.S.U().pe(a,!1)};xU.prototype.Nf=function(a){return 27==a.keyCode?(a=this.S,$y(Gr(a),!1),UK(ur(a)),!0):xU.R.Nf.call(this,a)};xU.prototype.efa=function(a){37==a.keyCode||39==a.keyCode?(a.stopPropagation(),this.rI=!0):this.rI=!1};
xU.prototype.aO=function(a){xU.R.aO.call(this,a);this.yi(this.Dh);Jr(Z(this.S))&&(Fs(oq(this.S),{La:0==Hp(this,this.Dh)?39:40,$a:this.rI?1:14}),this.rI=!1)};function yU(a){Y.call(this,a);this.$s=new xU(a);this.Aa(this.$s);this.JO=new iU(a);this.Aa(this.JO);this.XK=new vT(a);this.Aa(this.XK);this.EL=new nU(a,"Details",this.JO);this.$s.Aa(this.EL);this.WK=new nU(a,"Comments",this.XK);this.$s.Aa(this.WK);this.Bc=this.Bb=null;3==a.qa().vc()&&(this.Bc=new jq(a.U()),this.Aa(this.Bc));a=Z(a);this.ka().listen(Gr(this.getContext()),"Ca",this.Jm).listen(a,"ea",this.Ib).listen(a,"j",this.Wba)}w(yU,Y);e=yU.prototype;
e.ra=function(){this.$=S(WS,void 0,void 0,this.U());this.Bb=this.ua("drive-viewer-details-content");this.JO.Ka(this.Bb);this.XK.Ka(this.Bb);var a=this.ua("drive-viewer-details-header");this.$s.Ka(a);var b=this.$s.H();this.EL.Ka(b);this.WK.Ka(b);this.Bc&&(b=S(iS),a.appendChild(b),this.Bc.Na(b));this.setVisible(!1)};e.ta=function(){yU.R.ta.call(this);var a=this.$s;a.Qs(a.og(0));this.Bc&&(this.ka().listen(this.Bc,"action",this.Sj),this.Bc.mb("Hide details"),rs(this.Bc.H(),this.U()))};
e.setVisible=function(a){rn(this.H(),"drive-viewer-details-panel-hidden",!a);sh(this.$,!a)};e.Sj=function(a){$y(Gr(this.getContext()),!1,a)};e.Jm=function(a){var b=this.getContext(),c=Gr(b).eg,d=this.U().$c();!c&&Je(this.H(),d)&&UK(ur(b));this.setVisible(c);Fs(oq(this.getContext()),{La:c?33:34,$a:Lo(a.cq)});b.get(pv).Pp(c?"Details panel expanded.":"Details panel collapsed.");c&&a.cq&&"action"==a.cq.type&&ur(b).focus(this.$s.Dh.H())};e.Ib=function(){zU(this)};e.Wba=function(){zU(this)};
function zU(a){var b=Z(a.getContext()),c=!1;Jr(b)&&(b=b.Ea().Mb.Wa,c=!!(b&&0<b.TE().length));a.WK.setVisible(c);oU(a.EL,c)};function AU(a){z.call(this);this.ha=new yo(a);this.ha.sK=!1;A(this,this.ha);this.EA={}}w(AU,z);function Nr(a,b,c,d){c=BU(a,b,c,d);d=ia(c)?c:c.key;a.EA[d]=[c,b];return d}function BU(a,b,c,d){var f;if(ia(b))f=xo[b];else if(fa(b)){f=[];for(var g=0;g<b.length;g++)0==g%2?f.push(xo[b[0]]):f.push(b[g]);f=String(f)}else f=String(b);a.ha.BB(f,b);return qg(a.ha,"shortcut_"+f,c,void 0,d)}function Or(a,b){var c=a.EA[b];null!=c&&(a.ha.gma(c[1]),zg(c[0]),a.EA[b]=null)}
function gs(a){for(var b in a.EA)Or(a,Number(b));a.EA={}}AU.prototype.dP=function(a){return this.ha.dP(a)};AU.prototype.ma=function(){AU.R.ma.call(this);Ag(this.ha)};function CU(a,b){this.$=a;this.qc=String(b);this.z3="";this.pB=!1;DU(this)}w(CU,z);e=CU.prototype;e.H=function(){return this.$};e.show=function(a){a&&this.dI();Bn(this.$,this.qc,this.z3);a&&I(function(){DU(this)},250,this)};e.hide=function(){if(!this.pB){this.z3=En(this.$,this.qc);var a=Zn(this.$),b=mo(this.$);Bn(this.$,this.qc,-("left"==this.qc||"right"==this.qc?a.width+b.right+b.left:a.height+b.top+b.bottom)+"px")}};e.p5=function(a){this.pB=a};
function DU(a){W(a.$,"drive-viewer-mobile-chrome-transition")}e.dI=function(){pn(this.$,"drive-viewer-mobile-chrome-transition")};function EU(a,b){KR.call(this,a);this.sE=[];this.XX=[];this.yC=null;this.gL=!1;var c=new mK(b);A(this,c);this.Rc.listen(a.U().Ba,"touchstart",this.jca,!0).listen(c,"jb",this.xfa)}w(EU,KR);e=EU.prototype;e.addElement=function(a,b){var c=b.position,d=new hy(a);A(this,d);this.Rc.listen(d,"focusin",this.xr);c=new CU(a,c);A(this,c);this.sE.push(c)};e.Td=function(a){this.visible||(this.visible=!0,y(this.sE,function(b){b.show(a)}))};e.ei=function(){this.visible&&(this.visible=!1,y(this.sE,function(a){a.hide()}))};
e.ER=function(a){this.XX.push(a.H());this.Rc.listen(a,"jb",this.tca).listen(a,"kb",this.uca)};e.xr=function(){this.Td()};e.jca=function(){this.gL=LR(this)};e.xfa=function(a){a=a.Ila;FU(this,a)||this.gL||(nn(a,"drive-viewer-close-enabled")||nn(a,"drive-viewer-focus-to-default"))&&GU(this)};function FU(a,b){return ob(a.XX,function(a){return!!a&&a.contains(b)})}e.tca=function(){J(this.yC);this.gL||(this.yC=I(function(){GU(this)},300,this))};e.uca=function(){J(this.yC)};
function GU(a){J(a.yC);a.visible?a.ei():a.Td()}e.ma=function(){J(this.yC);EU.R.ma.call(this)};e.Dg=p;e.uR=p;e.bI=p;e.fR=function(a,b){y(this.sE,function(c){c.H()==a&&c.pB!=b&&(c.p5(b),this.visible||(b?c.show():c.hide()))},this)};function HU(){}var Ci=new HU,IU=["click",Kd?"keypress":"keydown","keyup"];HU.prototype.listen=function(a,b,c,d,f){function g(a){var c=rg(b),f=He(a.target)?a.target.getAttribute("role")||null:null;"click"==a.type&&eg(a)?c.call(d,a):13!=a.keyCode&&3!=a.keyCode||"keyup"==a.type?32!=a.keyCode||"keyup"!=a.type||"button"!=f&&"tab"!=f||(c.call(d,a),a.preventDefault()):(a.type="keypress",c.call(d,a))}g.xl=b;g.Is=d;f?f.listen(a,IU,g,c):qg(a,IU,g,c)};
HU.prototype.ab=function(a,b,c,d,f){for(var g,h=0;g=IU[h];h++){var k;var m=a;k=g;var q=!!c;k=gg(m)?m.cF(k,q):m?(m=tg(m))?m.cF(k,q):[]:[];for(m=0;q=k[m];m++)if(q.listener.xl==b&&q.listener.Is==d){f?f.ab(a,g,q.listener,c,d):yg(a,g,q.listener,c,d);break}}};function JU(a){var b;a=a||{};var c=U,d='<div role="button"'+(a.id?' id="'+wl(a.id)+'"':"")+' class="',f,g;f=a||{};var h="goog-inline-block jfk-button ";switch(ka(g=f.style)?g.toString():g){case 0:h+="jfk-button-standard";break;case 2:h+="jfk-button-action";break;case 3:h+="jfk-button-primary";break;case 1:h+="jfk-button-default";break;case 4:h+="jfk-button-flat";break;case 5:h+="jfk-button-mini";break;case 6:h+="jfk-button-contrast";break;default:h+="jfk-button-standard"}h+=(1==f.width?" jfk-button-narrow":
"")+(f.checked?" jfk-button-checked":"")+(f.KD?" "+f.KD:"")+(f.disabled?" jfk-button-disabled":"");d=d+wl(kl(h))+'"'+(a.disabled?' aria-disabled="true"':' tabindex="'+(a.j6?wl(a.j6):"0")+'"')+(a.title?" "+(a.uma?"data-tooltip":"title")+'="'+wl(a.title)+'"':"")+(a.value?' value="'+wl(a.value)+'"':"");a.attributes?(f=a.attributes,gl(f,Vk)?f=f.getContent().replace(/([^"'\s])$/,"$1 "):(f=String(f),f=Nl.test(f)?f:"zSoyz"),f=" "+f):f="";return c(d+f+">"+T(null==(b=a.content)?"":b)+"</div>")};function KU(a){var b='<div class="apps-shortcutshelppopup-dialog"><div class="apps-shortcutshelppopup-content-wrapper"></div>',b=a.qma?b+('<div class="apps-shortcutshelppopup-close"><span id="'+wl(a.uX)+'" class="modal-dialog-title-close" tabindex="0" role="button"></span></div>'):b+('<div class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_WRAPPER"><span id="'+wl(a.uX)+'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK" tabindex="0" role="button">Close</span></div>');return U(b+"</div>")}
function LU(a){a=""+('<div class="apps-shortcutshelppopup-container'+("black"==a.DF?" apps-shortcutshelppopup-hc-black":"white"==a.DF?" apps-shortcutshelppopup-hc-white":"")+'"><div class="apps-shortcutshelppopup-header" role="presentation"><div><div class="apps-shortcutshelppopup-title-container apps-shortcutshelppopup-header-element"><h2 id="'+wl(a.GL)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</h2><input type="text" class="apps-shortcutshelppopup-input jfk-textinput" role="combobox" aria-autocomplete="list" placeholder="'+
ul("Search all shortcuts")+'"/><div class="apps-shortcutshelppopup-input-button jfk-button-action jfk-button" tabindex="0"><div class="apps-shortcutshelppopup-input-button-img"></div></div></div><div class="apps-shortcutshelppopup-tearoff-link-container apps-shortcutshelppopup-header-element"><a target="keyboard_shortcuts_help_window" href="'+wl(xl(a.WT))+'" class="apps-shortcutshelppopup-tearoff-link apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a></div></div></div><div class="apps-shortcutshelppopup-search-banner">'+
T(JU({KD:nl("apps-shortcutshelppopup-reset-search-button"),style:0,j6:0,content:ol('<div class="apps-shortcutshelppopup-reset-search-button-icon"><div class="apps-shortcutshelppopup-reset-search-button-img"></div></div>')}))+'<h3 class="apps-shortcutshelppopup-search-label"></h3></div></div>');return U(a)}
function MU(a){var b=(a.OF?'<div class="apps-shortcutshelppopup-pref-component"></div>':"")+'<div tabindex="-1" class="apps-shortcutshelppopup-result-container"><table cellpadding="0" tabindex="0" class="apps-shortcutshelppopup-content" aria-label="'+wl(a.Hla)+'"><tbody>';a=a.V_;for(var c=a.length,d=0;d<c;d++)for(var f=a[d],b=b+(f.title?'<tr><th colspan="2"><h3 class="apps-shortcutshelppopup-content-header'+(0==d?" apps-shortcutshelppopup-content-header-first":"")+'">'+T(f.title)+"</h3></th></tr>":
""),f=f.Ig,g=f.length,h=0;h<g;h++)var k=f[h],b=b+('<tr><td class="apps-shortcutshelppopup-shortcut-desc apps-shortcutshelppopup-content-element">'+T(k.description)+'</td><td class="apps-shortcutshelppopup-shortcut-key apps-shortcutshelppopup-content-element">'+T(k.keys)+"</td></tr>");return U(b+"</tbody></table></div>")}
function NU(a){var b;b=""+('<div class="CSS_SHORTCUTS_HELP_POPUP_CONTAINER jfk-scrollbar-dark"><table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_HEADER"><tr><td class="CSS_SHORTCUTS_HELP_POPUP_TITLE CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT" id="'+wl(a.GL)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</td><td class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_CONTAINER CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT"><a target="keyboard_shortcuts_help_window" href="'+
wl(xl(a.WT))+'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a> | <span class="CSS_SHORTCUTS_HELP_CLOSE_PLACEHOLDER"></span></td></tr></table>'+(a.OF?'<div class="apps-shortcutshelppopup-pref-component"></div>':"")+'<table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_CONTENT"><tr>');a=a.Z9;for(var c=a.length,d=0;d<c;d++){var f=a[d];b+='<td class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT"><table cellpadding="0" class="CSS_APP_TABLE"><tbody>';
for(var g=f.length,h=0;h<g;h++){var k=f[h];b+='<tr><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER" /><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER"><h3>'+T(k.title)+"</h3></th></tr>";for(var k=k.Ig,m=k.length,q=0;q<m;q++){var v=k[q];b+='<tr><td class="CSS_SHORTCUTS_HELP_POPUP_KEY CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+T(v.keys)+'</td><td class="CSS_SHORTCUTS_HELP_POPUP_DESCRIPTION CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+T(v.description)+"</td></tr>"}}b+="</tbody></table></td>"}return U(b+
"</tr></table></div>")};function OU(a,b){this.wx=a;this.Tc=b?$b(b):{}}OU.prototype.wd=function(){return this.wx};OU.prototype.getProperty=function(a){return this.Tc[a]};function PU(a){a=a.getProperty("confidence");null!=a||(a=-1);return a}function Ib(a,b){return PU(b)-PU(a)};function QU(a,b,c){H.call(this);this.GA=a;this.sI=c;this.Za=b;qg(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.Ye=null;this.dd=[];this.Sm=-1;this.lg=0;this.Tq=this.Wf=null;this.Z0={}}w(QU,H);e=QU.prototype;e.eha=10;e.JW=!0;e.iW=!1;e.n7=!1;e.A6=!1;e.getToken=function(){return this.Ye};
e.handleEvent=function(a){var b=this.GA;if(a.target==this.Za)switch(a.type){case "hilite":this.Rm(a.row);break;case "select":var c=!1;if(ia(a.row)){a=a.row;var d=this.dd[RU(this,a)],c=!!d&&b.bP&&b.bP(d);d&&!c&&this.Sm!=a&&this.Rm(a)}c||SU(this);break;case "canceldismiss":TU(this);break;case "dismiss":UU(this)}};e.Rs=function(a){this.Ye!=a&&(this.Ye=a,VU(this.GA,this.Ye,this.eha,t(this.$ga,this)),TU(this))};e.Zi=function(){return this.Za.Ca()};
function WU(a){for(var b=a.lg+a.dd.length-1,c=a.Sm,d=0;d<a.dd.length;d++){if(c>=a.lg&&c<b)c++;else if(-1==c)c=a.lg;else if(a.iW&&c==b){a.Rm(-1);break}else if(a.n7&&c==b)c=a.lg;else break;if(a.Rm(c))return!0}return!1}function XU(a){for(var b=a.lg+a.dd.length-1,c=a.Sm,d=0;d<a.dd.length;d++){if(c>a.lg)c--;else if(a.iW&&c==a.lg){a.Rm(-1);break}else if(!a.n7||-1!=c&&c!=a.lg)break;else c=b;if(a.Rm(c))return!0}return!1}
e.Rm=function(a){var b=RU(this,a),c=this.dd[b];return c&&this.GA.bP&&this.GA.bP(c)?!1:(this.Sm=a,this.Za.Rm(a),-1!=b)};function SU(a){var b=RU(a,a.Sm);if(-1!=b){var c=a.dd[b],d=a.sI.WR(c);a.A6?(a.Ye=null,UU(a)):a.hg();d||(a.dispatchEvent({type:"update",row:c,index:b}),a.A6&&a.sI.update(!0));return!0}a.hg();a.dispatchEvent({type:"update",row:null,index:null});return!1}
e.hg=function(){this.Sm=-1;this.Ye=null;this.lg+=this.dd.length;this.dd=[];window.clearTimeout(this.Tq);this.Tq=null;this.Za.hg();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};function UU(a){a.Tq||(a.Tq=window.setTimeout(t(a.hg,a),100))}e.N0=function(){return this.Tq?(window.clearTimeout(this.Tq),this.Tq=null,!0):!1};function TU(a){a.N0()||window.setTimeout(t(a.N0,a),10)}e.ma=function(){QU.R.ma.call(this);delete this.Z0;this.Za.dispose();this.sI.dispose();this.GA=null};
e.$ga=function(a,b,c){this.Ye==a&&this.FR(b,c)};e.FR=function(a,b){var c="object"==ea(b)&&b,d=(c?c.Hra():b)?RU(this,this.Sm):-1;this.lg+=this.dd.length;this.dd=a;for(var f=[],g=0;g<a.length;++g)f.push({id:this.lg+g,data:a[g]});g=null;this.Wf&&(g=this.Z0[la(this.Wf)]||this.Wf);this.Za.xI(g);this.Za.FR(f,this.Ye,this.Wf);g=this.JW;c&&void 0!==c.Oaa()&&(g=c.Oaa());this.Sm=-1;(g||0<=d)&&0!=f.length&&this.Ye&&(0<=d?this.Rm(this.lg+d):WU(this));this.dispatchEvent("suggestionsupdate")};
function RU(a,b){var c=b-a.lg;return 0>c||c>=a.dd.length?-1:c}e.update=function(a){this.sI.update(a)};function YU(a,b,c,d){H.call(this);this.Cb=a||document.body;this.Ha=he(this.Cb);this.qw=!a;this.$=null;this.Ye="";this.dd=[];this.Hs=[];this.V5=this.GF=-1;this.ld=!1;this.className="ac-renderer";this.mI="ac-row";this.L1="active";this.XV="ac-active";this.Qfa="ac-highlighted";this.hy=b||null;this.rma=null!=d?d:!0;this.X1=!0;this.FF=!1;this.Pka=!!c;this.mJ=!1;this.TG=0;this.G5=!1}w(YU,H);e=YU.prototype;e.H=function(){return this.$};e.xI=function(a){this.cm=a};
e.FR=function(a,b,c){this.Ye=b;this.dd=a;this.GF=-1;this.V5=u();this.Wf=c;this.Hs=[];ZU(this)};e.hg=function(){this.ld&&(this.ld=!1,$U(this,!1),0<this.TG?(rc(this.Ac),this.Ac=new Dt(this.$,this.TG),this.Ac.play()):X(this.$,!1))};e.show=function(){this.ld||(this.ld=!0,$U(this,!0),0<this.TG?(rc(this.Ac),this.Ac=new Et(this.$,this.TG),this.Ac.play()):X(this.$,!0))};
function $U(a,b){a.Wf&&(kh(a.Wf,"haspopup",b),kh(a.$,"expanded",b),kh(a.Wf,"expanded",b),b?kh(a.Wf,"owns",a.$.id):(a.Wf.removeAttribute("aria-owns"),nh(a.Wf,null)))}e.Ca=function(){return this.ld};function aV(a,b){var c=0<=b&&b<a.dd.length?a.dd[b]:void 0,d=0<=b&&b<a.Hs.length?a.Hs[b]:void 0;a.dispatchEvent({type:"rowhilite",asa:d,row:c?c.data:null})&&(0<=a.GF&&qn(a.Hs[a.GF],[a.XV,a.L1]),a.GF=b,d&&(on(d,[a.XV,a.L1]),a.Wf&&nh(a.Wf,d),Sn(d,a.$)))}
e.Rm=function(a){if(-1==a)aV(this,-1);else for(var b=0;b<this.dd.length;b++)if(this.dd[b].id==a){aV(this,b);break}};e.QG=function(){if(!this.$){var a=this.Ha.ra("DIV",{style:"display:none"});this.G5&&(a.style.overflowY="auto");this.$=a;on(a,Ba(this.className).split(" "));jh(a,"listbox");a.id=Bp(Ap.Ra());this.Ha.appendChild(this.Cb,a);qg(a,"click",this.fl,!1,this);qg(a,"mousedown",this.Po,!1,this);qg(a,"mouseover",this.Qu,!1,this)}};
function ZU(a){a.QG();a.mJ&&(a.$.style.visibility="hidden");a.Ama&&(a.$.style.minWidth=a.Ama.clientWidth+"px");a.Hs.length=0;a.Ha.fe(a.$);if(a.hy&&a.hy.Ka)a.hy.Ka(a,a.$,a.dd,a.Ye);else{var b=null;y(a.dd,function(a){var d=this.Ye,f=this.Ha.ra("DIV",{className:this.mI,id:Bp(Ap.Ra())});jh(f,"option");this.hy&&this.hy.Xra||Le(f,a.data.toString());d&&this.rma&&(this.i7=!1,bV(this,f,d));W(f,this.mI);this.Hs.push(f);a=f;this.mJ?this.$.insertBefore(a,b):this.Ha.appendChild(this.$,a);b=a},a)}0==a.dd.length?
a.hg():(a.show(),a.jc(),ho(a.$,!0))}e.jc=function(){if(this.Wf&&this.qw){var a=this.cm||this.Wf,b;b=this.Pka?5:1;this.mJ&&(b^=1);var c=65;this.G5&&(this.$.style.height="",c|=32);Vo(a,b,this.$,b^1,null,null,c);this.mJ&&(this.$.style.visibility="visible")}};e.ma=function(){this.$&&(yg(this.$,"click",this.fl,!1,this),yg(this.$,"mousedown",this.Po,!1,this),yg(this.$,"mouseover",this.Qu,!1,this),this.Ha.removeNode(this.$),this.$=null,this.ld=!1);rc(this.Ac);this.Cb=null;YU.R.ma.call(this)};
function bV(a,b,c){if(a.FF||!a.i7)if(3==b.nodeType){var d=null;fa(c)&&1<c.length&&!a.FF&&(d=Cb(c,1));c=cV(a,c);if(0!=c.length){var f=b.nodeValue,g=a.X1?new RegExp("\\b(?:"+c+")","gi"):new RegExp(c,"gi");c=[];for(var h=0,k=g.exec(f),m=0;k;)m++,c.push(f.substring(h,k.index)),c.push(f.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(f);c.push(f.substring(h));if(1<c.length){d=a.FF?m:1;for(f=0;f<d;f++)g=2*f,b.nodeValue=c[g],h=a.Ha.createElement("B"),h.className=a.Qfa,a.Ha.appendChild(h,a.Ha.createTextNode(c[g+
1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.Ha.createTextNode(""),h.nextSibling),b=h.nextSibling;b.nodeValue=Cb(c,2*d).join("");a.i7=!0}else d&&bV(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,bV(a,b,c),b=d}function cV(a,b){var c="";if(!b)return c;fa(b)&&(b=lb(b,function(a){return!x(za(a))}));a.FF?fa(b)?c=mb(b,Ua).join("|"):(c=xa(b),c=Ua(c),c=c.replace(/ /g,"|")):fa(b)?c=0<b.length?Ua(b[0]):"":/^\W/.test(b)||(c=Ua(b));return c}
function dV(a,b){for(;b&&b!=a.$&&!nn(b,a.mI);)b=b.parentNode;return b?ib(a.Hs,b):-1}e.fl=function(a){var b=dV(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.dd[b].id});a.stopPropagation()};e.Po=function(a){a.stopPropagation();a.preventDefault()};e.Qu=function(a){a=dV(this,a.target);0<=a&&!(300>u()-this.V5)&&this.dispatchEvent({type:"hilite",row:this.dd[a].id})};function eV(a,b,c,d){hq.call(this,a,fV.Ra(),b);this.rU=c||0;this.fV=d||0;this.WU=!1}w(eV,hq);e=eV.prototype;e.getStyle=function(){return this.rU};e.Kb=function(){return this.fV};e.setStyle=function(a){this.rU!=a&&(this.rU=a,gV(this))};e.Ed=function(a){this.fV!=a&&(this.fV=a,gV(this))};e.mb=function(a){this.Zp(a);var b=this.H();b&&(this.WU?mp(b,a,void 0):a?b.title=a:b.removeAttribute("title"))};e.setEnabled=function(a){this.isEnabled()!=a&&(eV.R.setEnabled.call(this,a),gV(this))};
e.focus=function(){var a=this.$;try{a.focus()}catch(b){}};e.Dw=function(a){eV.R.Dw.call(this,a);hV(this,!1)};e.hh=function(a){eV.R.hh.call(this,a);this.isEnabled()&&hV(this,!0)};e.gl=function(a){eV.R.gl.call(this,a);this.isEnabled()&&hV(this,!0)};function hV(a,b){a.H()&&rn(a.H(),"jfk-button-clear-outline",b)}function gV(a){a.H()&&iV(a.Za,a)}function jV(a,b){return new eV(a,b,2)}function kV(a){a=new eV(null,a);a.ze(16,!0);return a}
function fV(){this.Q5=this.Ma()+"-standard";this.UV=this.Ma()+"-action";this.X3=this.Ma()+"-primary";this.aY=this.Ma()+"-default";this.ZY=this.Ma()+"-flat";this.x2=this.Ma()+"-narrow";this.i2=this.Ma()+"-mini";this.JX=this.Ma()+"-contrast"}w(fV,Sp);da(fV);e=fV.prototype;e.kq=function(a,b,c){a&&c.setStyle(a);b&&c.Ed(b)};e.Ma=function(){return"jfk-button"};
e.ra=function(a){var b=a.U(),c=S(JU,{disabled:!a.isEnabled(),checked:Qp(a,16),style:a.getStyle(),title:a.Lf(),uma:a.WU,value:a.Ga(),width:a.Kb()},void 0,b);b.append(c,a.getContent());this.Na(a,c);return c};
e.Na=function(a,b){fV.R.Na.call(this,a,b);this.nX||(this.nX=dc(this.Q5,qa(this.kq,0,null),this.UV,qa(this.kq,2,null),this.X3,qa(this.kq,3,null),this.aY,qa(this.kq,1,null),this.ZY,qa(this.kq,4,null),this.i2,qa(this.kq,5,null),this.JX,qa(this.kq,6,null),this.x2,qa(this.kq,null,1)));for(var c=mn(b),d=0;d<c.length;++d){var f=this.nX[c[d]];f&&f(a)}if(c=b.getAttribute("data-tooltip"))a.Zp(c),a.WU=!0;return b};e.Ga=function(a){return a.getAttribute("value")||""};
e.qb=function(a,b){a&&a.setAttribute("value",b)};function iV(a,b){function c(a,b){(a?d:f).push(b)}var d=[],f=[],g=b.getStyle();c(0==g,a.Q5);c(2==g,a.UV);c(3==g,a.X3);c(4==g,a.ZY);c(5==g,a.i2);c(1==g,a.aY);c(6==g,a.JX);c(1==b.Kb(),a.x2);c(!b.isEnabled(),a.Ma()+"-disabled");qn(b.H(),f);on(b.H(),d)};function lV(a){var b=U,c='<div id="'+wl(a.f$)+'" class="CSS_SHORTCUTS_HELP_POPUP_PREF_CONTAINER '+(a.enabled?"CSS_SHORTCUTS_HELP_POPUP_PREF_ENABLED":"")+'"><div class="CSS_SHORTCUTS_HELP_POPUP_PREF_CONTENT"><span id="'+wl(a.Mla)+'">',d;d="";d=a.enabled?d+"Keyboard shortcuts are enabled.":d+"Keyboard shortcuts are disabled.";d=U(d);c=c+d+'</span> <span id="'+wl(a.Hga)+'" role="link" class="CSS_SHORTCUTS_HELP_POPUP_PREF_LINK" tabindex="0">';d="";d=a.enabled?d+"Disable":d+"Enable";a=U(d);return b(c+
a+"</span></div></div>")};function mV(a,b,c){Cp.call(this,c);this.X$=a;this.Wla=b;this.nb=c}w(mV,Cp);mV.prototype.ra=function(){this.dc(this.Ha.createElement("div"))};mV.prototype.dc=function(a){this.$=a;$k(a,lV,{enabled:this.X$(),f$:this.getId()+".spc_cont",Mla:this.getId()+".spc_text",Hga:this.getId()+".spc_link"})};mV.prototype.ta=function(){Bi(this.ka(),this.nb.H(this.getId()+".spc_link"),this.Wla)};function nV(a){var b=0,c=0;if(oV(a))b=a.selectionStart,c=-1;else if(E){var d=pV(a),f=d[0],d=d[1];if(f.inRange(d)){f.setEndPoint("EndToStart",d);if("textarea"==a.type){d.duplicate();b=a=f.text;for(c=!1;!c;)0==f.compareEndPoints("StartToEnd",f)?c=!0:(f.moveEnd("character",-1),f.text==a?b+="\r\n":c=!0);f=[b.length,-1];return f}b=f.text.length;c=-1}}return[b,c]}
function pV(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();"textarea"==a.type?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]}function qV(a,b){"textarea"==a.type&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b}function oV(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function rV(a,b,c,d){z.call(this);d=d||150;this.Ov=null!=c?c:!0;this.RB=a||",;";this.u$=this.RB.substring(0,1);a=this.Ov?"[\\s"+this.RB+"]+":"[\\s]+";this.B6=new RegExp("^"+a+"|"+a+"$","g");this.$ka=new RegExp("\\s*["+this.RB+"]$");this.bn=b||"";this.Uja=!1;this.Tja=this.Ov;this.Ta=0<d?new gh(d):null;this.ef=new K(this);this.eK=new K(this);this.Gc=new up;this.y1=-1}w(rV,z);var sV=(Ei||Fi)&&!Yd("533.17.9");e=rV.prototype;e.zma=!0;e.Naa=!0;e.Q6=!1;e.bla=!0;e.ala=!0;e.hK=null;e.Yc=null;e.Qr="";
e.qq=!1;e.TR=!1;e.ima=!0;e.$c=function(){return this.Yc};e.Ga=function(){return this.Yc.value};e.qb=function(a){this.Yc.value=a};e.setCursorPosition=function(a){var b=this.Yc,c=a;if(oV(b))b.selectionStart=c;else if(E){var d=pV(b),f=d[0];f.inRange(d[1])&&(c=qV(b,c),f.collapse(!0),f.move("character",c),f.select())}b=this.Yc;oV(b)?b.selectionEnd=a:E&&(d=pV(b),c=d[1],d[0].inRange(c)&&(a=qV(b,a),b=qV(b,nV(b)[0]),c.collapse(!0),c.moveEnd("character",a-b),c.select()))};
function tV(a,b){He(b)&&(jh(b,"combobox"),kh(b,"autocomplete","list"));a.ef.listen(b,"focus",a.$h);a.ef.listen(b,"blur",a.Im);a.Yc||(a.eK.listen(b,"keydown",a.iia),He(b)&&Ye(je(b))==b&&uV(a,b))}
e.WR=function(a,b){if(this.Yc){var c=a.toString();if(n(b)?b:this.Ov){var d=vV(this,this.Ga(),nV(this.Yc)[0]),f=wV(this,this.Ga());this.$ka.test(c)||(c=c.replace(/[\s\xa0]+$/,"")+this.u$);this.zma&&(0==d||x(f[d-1])||(c=" "+c),d==f.length-1&&(c+=" "));if(c!=f[d]){f[d]=c;c=this.Yc;(Kd||E&&Yd("9"))&&c.blur();c.value=f.join("");for(var g=0,h=0;h<=d;h++)g+=f[h].length;c.focus();this.setCursorPosition(g)}}else this.qb(c);this.TR=!0}return!1};
e.ma=function(){rV.R.ma.call(this);null!=this.hK&&window.clearTimeout(this.hK);this.ef.dispose();delete this.ef;this.eK.dispose();this.Gc.dispose();rc(this.Ta)};
e.Mf=function(a){switch(a.keyCode){case 40:if(this.Uc.Zi())return this.fQ(),a.preventDefault(),!0;if(!this.Ov)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.Uc.Zi())return this.gQ(),a.preventDefault(),!0;break;case 9:if(!this.Uc.Zi()||a.shiftKey||this.Uja)this.Uc.hg();else if(this.update(),SU(this.Uc)&&this.Tja)return a.preventDefault(),!0;break;case 13:if(this.Uc.Zi()){if(this.update(),SU(this.Uc))return a.preventDefault(),a.stopPropagation(),!0}else this.Uc.hg();break;case 27:if(this.Uc.Zi())return this.Uc.hg(),
a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.qq)return this.qq||(this.ef.listen(this.Yc,"keyup",this.f3),this.ef.listen(this.Yc,"keypress",this.d3),this.qq=!0),!0;break;default:this.Ta&&!this.ima&&(this.Ta.stop(),this.Ta.start())}return xV(this,a)};function xV(a,b){var c=a.Ov&&b.charCode&&-1!=a.RB.indexOf(String.fromCharCode(b.charCode));a.bla&&c&&a.update();return a.ala&&c&&SU(a.Uc)?(b.preventDefault(),!0):!1}e.lda=function(){return!1};e.$h=function(a){uV(this,a.target||null)};
function uV(a,b){a.eK.removeAll();a.Uc&&TU(a.Uc);b!=a.Yc&&(a.Yc=b,a.Ta&&(a.Ta.start(),a.ef.listen(a.Ta,"tick",a.kH)),a.Qr=a.Ga(),a.Gc.Gq(a.Yc),a.ef.listen(a.Gc,"key",a.$A),a.ef.listen(a.Yc,"mousedown",a.gH),E&&a.ef.listen(a.Yc,"keypress",a.b3))}e.Im=function(){sV?this.hK=window.setTimeout(t(this.Y3,this),0):this.Y3()};
e.Y3=function(){this.Yc&&(this.ef.ab(this.Gc,"key",this.$A),this.Gc.detach(),this.ef.ab(this.Yc,"keyup",this.lda),this.ef.ab(this.Yc,"mousedown",this.gH),E&&this.ef.ab(this.Yc,"keypress",this.b3),this.qq&&yV(this),this.Yc=null,this.Ta&&(this.Ta.stop(),this.ef.ab(this.Ta,"tick",this.kH)),this.Uc&&UU(this.Uc))};e.kH=function(){this.update()};e.iia=function(a){this.$h(a)};e.$A=function(a){this.y1=a.keyCode;this.Uc&&this.Mf(a)};e.d3=function(){this.qq&&229!=this.y1&&yV(this)};
e.f3=function(a){this.qq&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&yV(this)};e.gH=function(a){this.Uc&&this.hh(a)};e.hh=function(){};function yV(a){a.qq&&(a.qq=!1,a.ef.ab(a.Yc,"keypress",a.d3),a.ef.ab(a.Yc,"keyup",a.f3))}e.b3=function(a){xV(this,a)};
e.update=function(a){if(this.Yc&&(a||this.Ga()!=this.Qr)){if(a||!this.TR){a=nV(this.Yc)[0];var b=this.Ga();a=wV(this,b)[vV(this,b,a)];a=this.B6?String(a).replace(this.B6,""):a;this.Uc&&(this.Uc.Wf=this.Yc,this.Uc.Rs(a,this.Ga()))}this.Qr=this.Ga()}this.TR=!1};e.gQ=function(){return this.Q6?WU(this.Uc):XU(this.Uc)};e.fQ=function(){return this.Q6?XU(this.Uc):WU(this.Uc)};
function vV(a,b,c){a=wV(a,b);if(c==b.length)return a.length-1;for(var d=b=0,f=0;d<a.length&&f<=c;d++)f+=a[d].length,b=d;return b}function wV(a,b){if(!a.Ov)return[b];for(var c=String(b).split(""),d=[],f=[],g=0,h=!1;g<c.length;g++)a.bn&&-1!=a.bn.indexOf(c[g])?(a.Naa&&!h&&(d.push(f.join("")),f.length=0),f.push(c[g]),h=!h):h||-1==a.RB.indexOf(c[g])?f.push(c[g]):(f.push(c[g]),d.push(f.join("")),f.length=0);d.push(f.join(""));return d};function zV(a,b){rV.call(this,null,null,!1);this.Xq=new H;A(this,this.Xq);a.listen("action",t(function(){var a=b.value;AV(this,a,a)},this));tV(this,b)}w(zV,rV);zV.prototype.WR=function(a,b){zV.R.WR.call(this,a,b);AV(this,a.toString(),this.Ga());return!1};zV.prototype.Mf=function(a){var b;if(b=13==a.keyCode)b=this.Uc,b=!(b.Zi()&&-1!=RU(b,b.Sm));return b?(a=this.Ga(),AV(this,a,a),!0):zV.R.Mf.call(this,a)};function AV(a,b,c){a.Uc.hg();a.Xq.dispatchEvent(new BV(b,c))}
function BV(a,b){G.call(this,"Qb");this.Cga=a;this.ega=b}w(BV,G);function CV(a){return mb(a,function(a){return mb(a,DV)})}function DV(a){var b=a.title;a=mb(a.Ig,function(a){if(fa(a)){var d=Bp(Ap.Ra()),d=new Kf(d);d.setProperty("keys",a[0]);d.setProperty("label",a[1]);a[2]&&d.setProperty("force-ctrl-key",!0);d.setProperty("category",b);a=d}return a});return{title:b,Ig:a}};function EV(a,b,c){for(var d=[],f=0;f<c.length;f++){var g=c[f],h=a.toLowerCase(),k=String(g).toLowerCase(),m=0;if(-1!=k.indexOf(h))m=parseInt((k.indexOf(h)/4).toString(),10);else for(var q=h.split(""),v=-1,B=10,F=0,M;M=q[F];F++)M=k.indexOf(M),M>v?(v=M-v-1,v>B-5&&(v=B-5),m+=v,v=M):(m+=B,B+=5);m<6*h.length&&d.push({Dla:g,I4:m,index:f})}d.sort(function(a,b){var c=a.I4-b.I4;return 0!=c?c:a.index-b.index});a=[];for(F=0;F<b&&F<d.length;F++)a.push(d[F].Dla);return a};function FV(a){this.ux=a}
function VU(a,b,c,d){Wu(Wu(Wu(a.ux.b4(b),function(a){return lb(a,GV)}),function(a){var d=[],h;h=(h="en".match(/^\w{2,3}([-_]|$)/))?h[0].replace(/[_-]/g,""):"";if(-1=="ja ko lo my th zh".split(" ").indexOf(h)){for(h=0;h<a.length;++h){var k=a[h].wd(),m=HV(Mf(k));m&&(d=d.concat(m));k=Of(k);for(m=0;m<k.length;++m){var q=HV(k[m]);q&&(d=d.concat(q))}}Db(d)}a=d;d=[];if(""!=b)for(h=Ua(b),h=new RegExp("(^|\\W+)"+h,"i"),k=0;k<a.length&&d.length<c;k++)m=a[k],String(m).match(h)&&d.push(m);0==d.length&&(d=EV(b,
c,a));return d}),qa(d,b))}function GV(a){a=a.wd();return!!(a&&Mf(a)&&a.Zd())}function HV(a){return a.toLocaleLowerCase().replace(/([\^$.*+?=!:'",\-|\\/()[\]{}])/g," ").replace(/\d+/g," ").match(/\S+/g)};function IV(a,b,c,d,f,g){Cp.call(this,c);this.Qa=CV(a);this.pO=b;this.pl=null;this.HL=Bp(Ap.Ra());this.PF=!(!d||!f);this.yL=null;this.ux=g||null;this.Wl=null!=this.ux;this.RA=null;this.pQ=!0;this.UD=this.VD=null;this.VO=!0;(this.NH=this.PF?new mV(d,f,this.U()):null)&&A(this,this.NH);this.Kr=null;this.Wl&&(a="//ssl.gstatic.com/ui/v1/button/search-white.png",r(a)&&(b=a,a=we("img"),a.src=b,Wn(a,21,21)),W(a,"jfk-button-img"),b=[],b.push(a),this.Kr=jV(b,void 0),this.Aa(this.Kr),this.Kr.Ed(0))}w(IV,Cp);
e=IV.prototype;e.Ef=function(){return!1};e.ra=function(){IV.R.ra.call(this);var a=this.$;this.Wl?(this.UD=S(LU,{GL:this.HL,WT:this.pO,DF:iE()}),this.U().appendChild(a,this.UD),JV(this),this.Kr.Na(this.yd("apps-shortcutshelppopup-input-button"))):$k(a,NU,KV(this))};function KV(a){var b=mb(a.Qa,function(a){return LV(a,!1)});return{GL:a.HL,WT:a.pO,Z9:b,OF:a.PF}}function MV(a){a.yL||(a.yL={V_:nb(a.Qa,function(a,c){return yb(a,LV(c,!0))},[]),OF:a.PF});return a.yL}
function NV(a){for(var b=new lL,c=[],d=0;d<a.length;++d){var f=a[d].wd(),g=OV(f,!0),f=f.getProperty("category")||"";""==f?c.push(g):(b.Wd(f)||b.set(f,[]),b.get(f).push(g))}a=b.map(function(a,b){return{title:b,Ig:a}});c.length&&(a.length?a.push({title:"More shortcuts",Ig:c}):a.push({Ig:c}));return a}function LV(a,b){return mb(a,function(a){var d=mb(a.Ig,function(a){return OV(a,b)});return{title:a.title,Ig:d}})}
function OV(a,b){var c=Mf(a),d=PV(a),f=WT(d);return{keys:b?U('<span aria-label="'+wl(f)+'">'+Fl(T(d))+"</span>"):U('<span aria-label="'+wl(f)+'" class="CSS_SHORTCUTS_HELP_POPUP_KEY_MNEMONIC">'+Fl(T(d))+"</span>"),description:c}}function PV(a){var b=a.Zd();return fa(b)?(b=mb(b,function(b){return VT(a,b)}),b.join(" or ")):VT(a,b)}
e.ta=function(){IV.R.ta.call(this);if(this.Wl){var a=this.yd("apps-shortcutshelppopup-reset-search-button");mp(a,"Clear search",void 0);Bi(this.ka(),a,this.Oea);a=this.yd("apps-shortcutshelppopup-input");oh(a,"Search all shortcuts");this.Kr.setEnabled(!0);mp(this.Kr.$,"Search all shortcuts",void 0);a=new zV(this.Kr,a);a.Xq.listen("Qb",t(this.Vea,this));this.pl=a;var b=new FV(this.ux),c=new YU;c.X1=!1;c.className="apps-shortcutshelppopup-ac-renderer";c.mI="apps-shortcutshelppopup-ac-row";b=new QU(b,
c,a);b.JW=!1;a.Uc=b}this.RA=this.yd("apps-shortcutshelppopup-help-center-link");this.QS(this.pQ);this.NH&&this.NH.Ka(this.yd("apps-shortcutshelppopup-pref-component"));this.ka().listen(this.RA,"click",this.vF)};e.reset=function(){var a=this.yd("apps-shortcutshelppopup-search-label");Le(a,"Popular keyboard shortcuts");QV(this,!1);JV(this);this.yd("apps-shortcutshelppopup-input-button").value=""};e.Db=function(){IV.R.Db.call(this);this.RA=null};e.vF=function(){this.dispatchEvent("close")};
e.Vea=function(a){a.ega?(a=a.Cga,Wu(this.ux.b4(a),t(this.zka,this,a))):this.VO||this.reset()};e.Oea=function(){this.reset();this.yd("apps-shortcutshelppopup-input-button").focus()};function QV(a,b){X(a.yd("apps-shortcutshelppopup-reset-search-button"),b)}e.QS=function(a){this.pQ=a;this.RA&&X(this.RA,this.pQ)};
e.zka=function(a,b){var c='Search results for "'+(a+'"'),d='No search results for "'+(a+'"'),f=lb(b,GV);Hb(f);b=f.slice(0,30);f=this.yd("apps-shortcutshelppopup-search-label");c=0==b.length?d:c;Le(f,c);QV(this,!0);JV(this,NV(b),c);0==b.length?this.yd("apps-shortcutshelppopup-reset-search-button").focus():this.U().ua("apps-shortcutshelppopup-content").focus()};
function JV(a,b,c){var d;b?(d={V_:b,OF:a.PF},a.VO=!1):(d=MV(a),a.VO=!0);d.Hla=c?c:"Popular keyboard shortcuts";a.VD&&a.UD.removeChild(a.VD);a.VD=S(MU,d);a.UD.appendChild(a.VD);(a=a.yd("apps-shortcutshelppopup-reset-search-button"))&&(b&&0==b.length?W(a,"apps-shortcutshelppopup-empty-search"):pn(a,"apps-shortcutshelppopup-empty-search"))};function RV(a,b,c,d,f,g,h){ny.call(this,c,d);this.aq=new IV(a,b,d,f,g,h);this.Aa(this.aq);this.vX=Bp(Ap.Ra());this.Wl=null!=h}w(RV,ny);e=RV.prototype;e.Ma=function(){return this.Wl?"apps-shortcutshelppopup":"shortcuts-modalpopup"};e.Ef=function(){return!1};
e.ra=function(){RV.R.ra.call(this);var a=this.U(),b=this.$;X(b,!1);$k(b,KU,{uX:this.vX,qma:this.Wl});var c=this.yd("apps-shortcutshelppopup-content-wrapper");this.aq.ra();a.appendChild(c,this.aq.$);jh(b,"dialog");kh(b,"labelledby",this.aq.HL);this.Wl||W(b,"CSS_SHORTCUTS_HELP_POPUP")};
e.ta=function(){RV.R.ta.call(this);var a=this.U(),b=a.H(this.vX);this.Wl&&mp(b,"Close",void 0);Bi(this.ka(),b,this.vF);a=a.Vaa(this.H());this.ka().listen(a,"mousedown",this.fH,!0);this.ka().listen(this.H(),"keydown",this.ZA);this.ka().listen(this.aq,"close",this.vF)};e.setVisible=function(a){this.Wl&&this.Xa&&!this.Ca()&&a&&this.aq.reset();RV.R.setVisible.call(this,a)};e.vF=function(){this.setVisible(!1)};e.QS=function(a){this.aq.QS(a)};
e.jc=function(){RV.R.jc.call(this);var a=this.H();if(a&&!this.Wl){var b;this.Ca()?(b=Ln(a),b=On(b),b=.9*(b.bottom-b.top)):(b=this.U().Ba,b=.9*re(ve(b)||window).height);Bn(a,"maxHeight",b+"px");Bn(a,"left","10%");Bn(a,"top","10%")}};e.fH=function(a){var b;b=this.aq;(b=b.pl?b.pl.Uc.Za.H():null)&&Je(b,a.target)||Je(this.H(),a.target)||this.setVisible(!1)};e.ZA=function(a){27==a.keyCode?(this.setVisible(!1),a.stopPropagation(),a.preventDefault()):9==a.keyCode&&a.shiftKey&&a.target==this.H()&&py(this)};function SV(){H.call(this);this.Oh={}}w(SV,H);SV.prototype.wd=function(a){return this.Oh[a]||null};function TV(a,b){var c=a.wd(b);if(!c)throw Error("Action not registered for id "+b);return c}SV.prototype.DM=function(a){for(var b=[],c=0;c<a.length;c++)b.push(TV(this,a[c]));return b};var UV=/\\\|/g,VV=/[\\'\\".,:-]/g,WV=new RegExp("\\b("+Ua("a|an|the").replace(UV,"|")+"|"+Ua("that|this").replace(UV,"|")+"|"+Ua("on|to").replace(UV,"|")+")\\b","gi");function XV(a){return a.toLowerCase().replace(WV,"").replace(VV,"").trim().replace(/\s\s+/g," ")};function YV(a){this.WV=a}YV.prototype.b4=function(a){for(var b=[],c=this.WV.DM(Tb(this.WV.Oh)),d=0;d<c.length;d++){var f;f=c[d];var g=a;f=(g=XV(g))?ZV(f,g):0;.8<=f&&b.push(new OU(c[d],{confidence:f}))}return ev(b)};
function ZV(a,b){var c=yb.apply(null,mb(Of(a),function(a){return XV(a).split(" ")})),d=XV(Mf(a)).split(" "),c=yb(d,c),d=d.length,f=b.split(" ");Db(f);for(var g=1,h=0;h<f.length&&0<g;h++){var k=0,m=f[h];if(m){for(var q=0;q<c.length;q++){var v=c[q],B=q>=d,F=0==v.indexOf(m),M=hb(m,v);m.length<v.length&&(M-=.99*(v.length-m.length));v=(m.length-M)/m.length;B&&(v*=.99);F||(v*=.99);k=Math.max(k,v)}g*=k}}return g};function $V(a){var b=new SV;aW(a,function(a){b.Oh[a.getId()]=a});return b}function aW(a,b){for(var c=0;c<a.length;++c)for(var d=a[c],f=0;f<d.length;++f)for(var g=d[f].Ig,h=0;h<g.length;++h)b(g[h])};function bW(a){this.S=a;this.VT=aj(this.S.qa(),oP,37)||new oP;a=Aj("https://support.google.com/drive/answer/2423485?hl=%s","en");var b;b=[[],[]];var c=b[0],d;0==zs(this.S.qa())?(d=fo(this.S.U().Ba.body),d={title:"Navigation",Ig:[["Esc","Close the viewer"],["Left\th",d?"Go to next item":"Go to previous item"],["Right\tl",d?"Go to previous item":"Go to next item"]]}):d=null;d&&c.push(d);d=this.VT;d=null==L(d,1)?!0:L(d,1);var f;f=this.VT;f=null==L(f,2)?!0:L(f,2);(d=d||f?{title:f?"Video/Audio":"Audio",
Ig:[["Enter\tSpace","Play/Pause"],["Shift + Left","Skip backward"],["Shift + Right","Skip forward"],["+\t=","Increase volume"],["-","Decrease volume"]]}:null)&&c.push(d);c=b[1];d={title:"Actions",Ig:[["+\t=","Zoom in"],["-","Zoom out"],["o","Open item"]]};Lr(this.S).jg&&d.Ig.push(["Ctrl+s","Download item"]);Lx(this.S.qa())&&d.Ig.push(["d","Show/Hide details pane"]);d&&c.push(d);d=this.VT;null==L(d,3)||L(d,3)?(d=[],d.push(["j","Next page"]),d.push(["k","Previous page"]),Kr(this.S.qa())&&d.push(["Ctrl+p",
"Print the document"]),d.push(["Ctrl+f","Open the search bar"]),d.push(["Ctrl+g","Open the search bar / find next"]),d.push(["Ctrl+Shift+g","Open the search bar / find previous"]),d={title:"Document controls",Ig:d}):d=null;d&&c.push(d);b=CV(b);var g,c=this.S.qa();if(null==L(c,56)?0:L(c,56))g=$V(b),g=new YV(g);RV.call(this,b,a,!1,this.S.U(),void 0,void 0,g)}w(bW,RV);function cW(a,b){z.call(this);this.S=a;this.Z6=b;this.Ha=a.U();this.pA=this.iG=this.BD=!1;this.RH=null;var c=aj(a.qa(),eP,62);this.z6=null==L(c,1)?0:+L(c,1);this.g6=(null==L(c,2)?"":L(c,2))||"";this.NT=null;this.VA=0;this.di=this.Jp=this.wn=null;this.wa=yq(a);this.le=oq(a);this.Daa=ur(a)}w(cW,z);e=cW.prototype;
e.RG=function(){if(this.g6&&0<this.z6&&Math.random()<this.z6&&!dW(this)){this.iG=!0;this.VA++;this.wn=sq(this.wa,"h_",{La:79,oj:this.VA-1});this.Jp=sq(this.wa,"h_",{La:80,oj:this.VA-1});this.di=sq(this.wa,"h_",{La:81,oj:this.VA-1});var a=this.Ha.getWindow();a._402=a._402||{};a=this.Ha.createElement("DIV");a.id="contain-402";a.style.visibility="hidden";this.Ha.appendChild(this.Z6,a);a=this.Ha.getWindow();if(!this.BD){this.BD=!0;var b=t(this.Mha,this);ba("d_v_hats_bs",b,a);b=t(this.Gha,this);ba("d_v_hats_as",
b,a);b=t(this.Dia,this);ba("d_v_hats_rd",b,a);b=t(this.Eha,this);ba("d_v_hats_ag",b,a);b=t(this.Pia,this);ba("d_v_hats_tc",b,a)}a=this.Ha.getWindow();this.NT=Z(this.S).Ea();var b=this.NT.Rb(),c=Zx(this.S.qa()),d=c?GC(c)||HC(c)||"ND":"ND",c=c.Do();a._402.sc=di({mt:b,ed:d,s:c});a=wA(this.g6,{timeout:2E4,document:this.Ha.Ba});Wu(a,t(this.Fia,this));Yu(a,t(this.Eia,this))}};
e.Ur=function(){this.pA=this.iG=!1;var a=this.Ha.getWindow();a._402&&ja(a._402.close)&&dW(this)&&a._402.close();this.di&&(wq(this.wa,this.di,3),this.di=null);dW(this)&&(dW(this).style.visibility="hidden")};e.Fia=function(){wq(this.wa,this.wn,1);this.wn=null;this.RH=I(this.q3,2E4,this)};e.Eia=function(){wq(this.wa,this.wn,2);this.wn=null;this.q3()};e.q3=function(){wq(this.wa,this.Jp,2);this.Jp=null;this.di&&(wq(this.wa,this.di,2),this.di=null);this.Ha.removeNode(dW(this))};
function eW(a){a.Jp&&(wq(a.wa,a.Jp,1),a.Jp=null,J(a.RH))}e.Mha=function(){eW(this)};e.Gha=function(){Zu(this.S.get(Qv).YM(),t(function(a){if(this.iG)if(a)this.Ur();else{if(a=dW(this))a.style.visibility="visible",this.pA=!0;this.di&&(wq(this.wa,this.di,1),this.di=null)}},this))};e.Dia=function(a){0<=a.indexOf("t=a")&&Fs(this.le,{La:82,item:this.NT,oj:this.VA-1})};e.Eha=function(a){eW(this);a||(this.di&&(wq(this.wa,this.di,3),this.di=null),this.Ha.removeNode(dW(this)),J(this.RH));this.pA=!1;this.JB()};
e.Pia=function(){this.pA=!1;this.JB()};e.JB=function(){if(this.iG){var a=this.Ha.$c(),b=this.Ha.contains(this.Z6,a),a=dW(this)&&this.Ha.contains(dW(this),a);b&&!a||UK(this.Daa)}};function dW(a){return a.Ha.H("contain-402")}
e.ma=function(){this.Ur();this.Ha.removeNode(dW(this));J(this.RH);if(this.BD){this.BD=!1;var a=this.Ha.getWindow();ba("d_v_hats_bs",null,a);ba("d_v_hats_as",null,a);ba("d_v_hats_rd",null,a);ba("d_v_hats_ag",null,a);ba("d_v_hats_tc",null,a)}this.wn&&(wq(this.wa,this.wn,3),this.wn=null);this.Jp&&(wq(this.wa,this.Jp,3),this.wn=null);cW.R.ma.call(this)};function fW(a,b){z.call(this);this.S=a;this.Fa=new K(this);A(this,this.Fa);Bi(this.Fa,b,this.Oha)}w(fW,z);
fW.prototype.Oha=function(a){var b,c=a.target;if(!a.defaultPrevented){for(;c&&c!=a.currentTarget;){if(c.href){b=c.href;break}c=c.parentNode}var d;if(d=c&&"A"==c.tagName&&b){d=b;var f=this.S.U().getWindow().location.href,g;if(!(g=ua(d,"javascript:")||"#"==d)){g=d.indexOf("#");if(g=""==(0>g?null:d.substr(g+1))){g=Vh(d);var h=Vh(f);g=g[3]==h[3]&&g[1]==h[1]&&g[4]==h[4]}g=g&&Wh(Vh(d)[5]||null)==Wh(Vh(f)[5]||null)}d=!g}d&&(b=Ba(b),Hi&&Yd("532.5")&&c.hasAttribute("rel")&&"noreferrer"==c.getAttribute("rel")||
Kd&&(a.ctrlKey||a.shiftKey)?b=!0:(d=b,Hi&&Yd("532.5")?(b=this.S.U(),c=b.Ba,d=b.ra("a",{href:d,target:"_blank",rel:"noreferrer",style:"display: none"}),f=c.createEvent("MouseEvent"),f.initMouseEvent("click",!0,!0,this.S.U().getWindow(),0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,a.relatedTarget),b.append(c.body,d),d.dispatchEvent(f),b.removeNode(d)):Iw(d,{target:"_blank",noreferrer:!0}),b=!1),b||(a.preventDefault(),a.stopPropagation()))}};function gW(){H.call(this);this.UF=[];this.sX=null;this.ha=new K(this);A(this,this.ha)}w(gW,H);gW.prototype.YM=function(){return!this.sX&&0<this.UF.length?hW(this,0):ev(this.sX)};function hW(a,b){var c=a.UF[b].bsa();Wu(c,t(function(a){return a?this.UF[b]:b+1<this.UF.length?hW(this,b+1):null},a));return c};function iW(a){Y.call(this,a);this.mE={};this.Hn={}}w(iW,Y);iW.prototype.ra=function(){this.$=S(ku,void 0,void 0,this.getContext().U())};iW.prototype.ta=function(){iW.R.ta.call(this);X(this.H(),!Vb(this.mE))};function nR(a,b,c){if(null!=c){if(!a.Hn[b]){var d=t(a.H5,a,b);a.Hn[b]=I(d,c)}}else a.H5(b)}iW.prototype.H5=function(a){this.mE[a]=!0;delete this.Hn[a];this.Xa&&X(this.H(),!0)};function mR(a,b){delete a.mE[b];a.Hn[b]&&(J(a.Hn[b]),delete a.Hn[b]);Vb(a.mE)&&a.Xa&&X(a.H(),!1)}
iW.prototype.Db=function(){iW.R.Db.call(this);for(var a in this.Hn)J(this.Hn[a]);this.Hn={}};function jW(a,b){Y.call(this,b);this.W=a;this.LO=null;this.Vw=new jq(this.U(),KL.Ra());this.Aa(this.Vw)}w(jW,Y);e=jW.prototype;e.ra=function(){this.$=S(uS,void 0,void 0,this.U())};e.ta=function(){jW.R.ta.call(this);this.Vw.Na(this.ua("drive-viewer-password-submit"));this.Vw.mb("Submit password");var a=this.ua("drive-viewer-password-error-text");X(a,this.W.kB);this.LO=this.ua("drive-viewer-password-input");this.ka().listen(this.Vw,"action",this.dfa).listen(this.LO,"keyup",this.bda);kW(this)};
e.Tb=function(a){Nr(Mr(this.getContext()),13,this.yca,this);a&&ur(this.getContext()).focus(this.LO)};e.dfa=function(){lW(this)};e.yca=function(){var a=this.U().$c();(nn(a,"drive-viewer")||nn(a,"drive-viewer-password-input"))&&this.Vw.isEnabled()&&lW(this)};e.bda=function(){kW(this)};function kW(a){var b=a.ua("drive-viewer-password-input");a.Vw.setEnabled(0!=b.value.length)}
function lW(a){gs(Mr(a.getContext()));var b=a.ua("drive-viewer-password-input");a=a.W;b=b.value;a.kB=!0;a.dispatchEvent(new qm(b))};function mW(){z.call(this);this.xf={}}w(mW,z);e=mW.prototype;e.connect=function(a){a&&a()};e.ii=function(){return!0};e.Wb=function(a,b,c){this.xf[a]={Jb:b,M2:!!c}};e.getService=function(a,b){var c=this.xf[a];return c?c:this.xL?{Jb:qa(this.xL,a),M2:ka(b)}:null};function nW(a,b){if(b&&r(a))try{return Ni(a)}catch(c){return null}else if(!b&&!r(a))return Pi(a);return a}e.ma=function(){mW.R.ma.call(this);delete this.Nra;delete this.xf;delete this.xL};var oW={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},pW=["pu","lru","pru","lpu","ppu"],qW={};function rW(a){for(var b=sW,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d}var sW="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function tW(a){z.call(this);this.nb=a||he()}w(tW,z);tW.prototype.hq=0;tW.prototype.getType=function(){return this.hq};tW.prototype.getWindow=function(){return this.nb.getWindow()};tW.prototype.getName=function(){return oW[String(this.hq)]||""};function uW(a,b){tW.call(this,b);this.Da=a;this.Fa=new K(this);A(this,this.Fa);this.zl=new gh(100,this.getWindow());A(this,this.zl);this.Gg=new Ru;this.Hg=new Ru;this.Gf=new Ru;this.cM=rW(10);this.Dp=null;this.It={};this.pja=this.Da.name;var c=this.Da,d=this.Da.dh();vW(c,this.Da.name+"_"+d);this.ol=!1;av(this.Gf,this.Gg);av(this.Gf,this.Hg);Wu(this.Gf,this.sQ,this);this.Gf.Jb(!0);this.Fa.listen(this.zl,"tick",this.IA)}w(uW,tW);var wW={};
function xW(a){var b=new yW(a.channelName,a.service,a.payload);a=b.iX;var c=b.service,b=b.payload,d=qW[a];if(d)return d.Ck(c,b),!0;var d=zW(b)[0],f;for(f in qW){var g=qW[f];if(1==g.dh()&&!g.ii()&&"tp"==c&&"SETUP"==d)return vW(g,a),g.Ck(c,b),!0}return!1}e=uW.prototype;e.hq=7;e.qJ=function(a){a=zW(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.Gg.Yg||this.Gg.Jb(!0);break;case "SETUP":this.uI(),null!=this.Dp&&this.Dp!=b&&this.OB(),this.Dp=b}};e.OB=function(){this.send("tp","SETUP,"+this.cM)};
e.uI=function(){this.send("tp","SETUP_ACK");this.Hg.Yg||this.Hg.Jb(!0)};e.connect=function(){var a=this.getWindow();if(a){var b=la(a);0==(wW[b]||0)&&null==ca("crosswindowmessaging.channel",a)&&ba("crosswindowmessaging.channel",xW,a);wW[b]++;this.ol=!0;this.IA()}};e.IA=function(){this.Da.dh();this.Da.ii()?this.zl.stop():(this.zl.start(),this.OB())};
e.send=function(a,b){if(this.Da.vi){var c=0==this.Da.dh()?1:0,c=new yW(this.pja+"_"+c,a,b);this.Da.qa().directSyncMode?this.GY(c):this.It[la(c)]=I(t(this.GY,this,c),0)}};e.GY=function(a){var b=la(a);this.It[b]&&delete this.It[b];try{var c=ca("crosswindowmessaging.channel",this.Da.vi)}catch(d){return}if(null!==c)try{c({channelName:a.iX,service:a.service,payload:a.payload})}catch(d){}};e.sQ=function(){AW(this.Da,(this.Da.qa(),0))};
e.ma=function(){if(this.ol){var a=this.getWindow(),b=la(a);1==--wW[b]&&ba("crosswindowmessaging.channel",null,a)}this.It&&(Mb(this.It,function(a){J(a)}),this.It=null);this.Gg&&(this.Gg.cancel(),delete this.Gg);this.Hg&&(this.Hg.cancel(),delete this.Hg);this.Gf&&(this.Gf.cancel(),delete this.Gf);uW.R.ma.call(this)};function zW(a){a=a.split(",");a[1]=a[1]||null;return a}function yW(a,b,c){this.iX=a;this.service=b;this.payload=c};function BW(a,b){tW.call(this,b);this.Da=a;this.zB=[];this.w$=t(this.x$,this)}w(BW,tW);e=BW.prototype;e.hq=2;e.AR=!1;e.connect=function(){0==this.Da.dh()?(this.Tm=this.Da.$u,this.Tm.XPC_toOuter=t(this.R0,this)):this.DW()};
e.DW=function(){var a=!0;try{this.Tm||(this.Tm=this.getWindow().frameElement),this.Tm&&this.Tm.XPC_toOuter&&(this.VQ=this.Tm.XPC_toOuter,this.Tm.XPC_toOuter.XPC_toInner=t(this.R0,this),a=!1,this.send("tp","SETUP_ACK"),AW(this.Da))}catch(b){}a&&(this.BW||(this.BW=t(this.DW,this)),this.getWindow().setTimeout(this.BW,100))};e.qJ=function(a){if(0!=this.Da.dh()||this.Da.ii()||"SETUP_ACK"!=a)throw Error("Got unexpected transport message.");this.VQ=this.Tm.XPC_toOuter.XPC_toInner;AW(this.Da)};
e.R0=function(a,b){this.AR||0!=this.zB.length?(this.zB.push({serviceName:a,payload:b}),1==this.zB.length&&this.getWindow().setTimeout(this.w$,1)):this.Da.Ck(a,b)};e.x$=function(){for(;this.zB.length;){var a=this.zB.shift();this.Da.Ck(a.serviceName,a.payload)}};e.send=function(a,b){this.AR=!0;this.VQ(a,b);this.AR=!1};e.ma=function(){BW.R.ma.call(this);this.Tm=this.VQ=null};function CW(a,b){tW.call(this,b);this.Da=a;this.$R=this.Da.qa().ppu;this.mka=this.Da.qa().lpu;this.tI=[]}var DW,EW;w(CW,tW);e=CW.prototype;e.Nja=5;e.hq=4;e.Sp=0;e.lx=!1;e.ol=!1;e.j4=null;function FW(a){return"googlexpc_"+a.Da.name+"_msg"}function GW(a){return"googlexpc_"+a.Da.name+"_ack"}function HW(a){try{if(!a.isDisposed()&&IW(a.Da))return a.Da.vi.frames||{}}catch(b){}return{}}function JW(a,b){return HW(a)[b]}
e.connect=function(){if(!this.isDisposed()&&IW(this.Da)){if(!this.ol){var a=FW(this);this.Nv=KW(this,a);this.hQ=this.getWindow().frames[a];a=GW(this);this.yt=KW(this,a);this.dK=this.getWindow().frames[a];this.ol=!0}if(LW(this,FW(this))&&LW(this,GW(this)))this.t2=new MW(this,JW(this,FW(this)),t(this.Xja,this)),this.SV=new MW(this,JW(this,GW(this)),t(this.Wja,this)),this.lX();else{if(1==this.Da.dh())this.j4||0<this.Nja--||(vW(this.Da,rW(10)),NW(this),this.ol=!1,this.j4=KW(this,"googlexpc_reconnect_"+
this.Da.name));else if(0==this.Da.dh())for(var a=HW(this),b=a.length,c=0;c<b;c++){var d;try{a[c]&&a[c].name&&(d=a[c].name)}catch(g){}if(d){var f=d.split("_");if(3==f.length&&"googlexpc"==f[0]&&"reconnect"==f[1]){this.Da.name=f[2];NW(this);this.ol=!1;break}}}this.getWindow().setTimeout(t(this.connect,this),100)}}};
function KW(a,b){var c=document.createElement("IFRAME"),d=c.style;d.position="absolute";d.top="-10px";d.left="10px";d.width="1px";d.height="1px";c.id=c.name=b;c.src=a.$R+"#INITIAL";a.getWindow().document.body.appendChild(c);return c}function NW(a){a.Nv&&(a.Nv.parentNode.removeChild(a.Nv),a.Nv=null,a.hQ=null);a.yt&&(a.yt.parentNode.removeChild(a.yt),a.yt=null,a.dK=null)}function LW(a,b){try{var c=JW(a,b);if(!c||0!=c.location.href.indexOf(a.mka))return!1}catch(d){return!1}return!0}
e.lX=function(){var a=HW(this);a[GW(this)]&&a[FW(this)]?(this.u2=new OW(this.$R,this.hQ),this.ZC=new OW(this.$R,this.dK),this.getWindow().setTimeout(t(function(){this.u2.send("SETUP");this.lx=!0},this),100)):(this.kX||(this.kX=t(this.lX,this)),this.getWindow().setTimeout(this.kX,100))};function PW(a){if(a.V4&&a.nka&&(AW(a.Da),a.py)){for(var b=0,c;b<a.py.length;b++)c=a.py[b],a.Da.Ck(c.service,c.payload);delete a.py}}
e.Xja=function(a){if("SETUP"==a)this.ZC&&(this.ZC.send("SETUP_ACK"),this.V4=!0,PW(this));else if(this.Da.ii()||this.V4){var b=a.indexOf("|"),c=a.substring(0,b);a=a.substring(b+1);b=c.indexOf(",");if(-1==b){var d;this.ZC.send("ACK:"+c);QW(this,a)}else d=c.substring(0,b),this.ZC.send("ACK:"+d),c=c.substring(b+1).split("/"),b=parseInt(c[0],10),c=parseInt(c[1],10),1==b&&(this.jk=[]),this.jk.push(a),b==c&&(QW(this,this.jk.join("")),delete this.jk)}};
e.Wja=function(a){"SETUP_ACK"==a?(this.lx=!1,this.nka=!0,PW(this)):this.Da.ii()&&this.lx&&parseInt(a.split(":")[1],10)==this.Sp&&(this.lx=!1,RW(this))};function RW(a){if(!a.lx&&a.tI.length){var b=a.tI.shift();++a.Sp;a.u2.send(a.Sp+b);a.lx=!0}}function QW(a,b){var c=b.indexOf(":"),d=b.substr(0,c),c=b.substring(c+1);a.Da.ii()?a.Da.Ck(d,c):(a.py||(a.py=[])).push({service:d,payload:c})}e.XC=3800;
e.send=function(a,b){var c=a+":"+b;if(!E||b.length<=this.XC)this.tI.push("|"+c);else for(var d=b.length,f=Math.ceil(d/this.XC),g=0,h=1;g<d;)this.tI.push(","+h+"/"+f+"|"+c.substr(g,this.XC)),h++,g+=this.XC;RW(this)};e.ma=function(){CW.R.ma.call(this);var a=SW;wb(a,this.t2);wb(a,this.SV);this.t2=this.SV=null;De(this.Nv);De(this.yt);this.hQ=this.dK=this.Nv=this.yt=null};
var SW=[],TW=t(function(){var a=SW,b,c=!1;try{for(var d=0;b=a[d];d++)c=c||b.receive()}catch(f){if(b.Mg.Da.close(),!a.length)return}a=u();c&&(DW=a);EW=window.setTimeout(TW,1E3>a-DW?10:100)},CW);function UW(){DW=u();EW&&window.clearTimeout(EW);EW=window.setTimeout(TW,10)}function OW(a,b){if(!/^https?:\/\//.test(a))throw Error("URL "+a+" is invalid");this.Tka=a;this.S4=b;this.rL=0}
OW.prototype.send=function(a){this.rL=++this.rL%2;a=this.Tka+"#"+this.rL+encodeURIComponent(a);try{Ld?this.S4.location.href=a:this.S4.location.replace(a)}catch(b){}UW()};function MW(a,b,c){this.Mg=a;this.f4=b;this.R9=c;this.UX=this.f4.location.href.split("#")[0]+"#INITIAL";SW.push(this);UW()}MW.prototype.receive=function(){var a=this.f4.location.href;if(a!=this.UX){this.UX=a;if(a=a.split("#")[1])a=a.substr(1),this.R9(decodeURIComponent(a));return!0}return!1};function VW(a,b){tW.call(this,b);this.Da=a;this.Dja=this.Da.qa().pru;this.N3=this.Da.qa().ifrid;Ld&&WW()}w(VW,tW);if(Ld)var XW=[],YW=0,WW=function(){YW||(YW=window.setTimeout(function(){ZW()},1E3))},ZW=function(a){var b=u();for(a=a||3E3;XW.length&&b-XW[0].timestamp>=a;){var c=XW.shift().Vfa;De(c)}YW=window.setTimeout($W,1E3)},$W=function(){ZW()};var aX={};e=VW.prototype;e.hq=3;e.connect=function(){this.getWindow().xpcRelay||(this.getWindow().xpcRelay=bX);this.send("tp","SETUP")};
function bX(a,b){var c=b.indexOf(":"),d=b.substr(0,c),f=b.substr(c+1);if(E&&-1!=(c=d.indexOf("|"))){var g=d.substr(0,c),d=d.substr(c+1),c=d.indexOf("+"),h=d.substr(0,c),c=parseInt(d.substr(c+1),10),k=aX[h];k||(k=aX[h]={fZ:[],i4:0,HY:0});-1!=d.indexOf("++")&&(k.HY=c+1);k.fZ[c]=f;k.i4++;if(k.i4!=k.HY)return;f=k.fZ.join("");delete aX[h]}else var g=d;qW[a].Ck(g,decodeURIComponent(f))}e.qJ=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),AW(this.Da)):"SETUP_ACK"==a&&AW(this.Da)};
e.send=function(a,b){var c=encodeURIComponent(b),d=c.length;if(E&&1800<d)for(var f=Za(),g=0,h=0;g<d;h++){var k=c.substr(g,1800),g=g+1800;cX(this,a,k,f+(g>=d?"++":"+")+h)}else cX(this,a,c)};
function cX(a,b,c,d){if(E){var f=a.getWindow().document.createElement("DIV");fe(f,rd(null,{onload:Nc("this.xpcOnload()"),sandbox:null}));f=f.childNodes[0];f.xpcOnload=dX}else f=a.getWindow().document.createElement("IFRAME"),Ld?XW.push({timestamp:u(),Vfa:f}):qg(f,"load",dX);var g=f.style;g.visibility="hidden";g.width=f.style.height="0px";g.position="absolute";g=a.Dja;g+="#"+a.Da.name;a.N3&&(g+=","+a.N3);g+="|"+b;d&&(g+="|"+d);f.src=g+(":"+c);a.getWindow().document.body.appendChild(f)}
function dX(){De(this)}e.ma=function(){VW.R.ma.call(this);Ld&&ZW(0)};function eX(a,b,c,d,f){tW.call(this,c);this.Da=a;this.zs=f||2;this.Cja=b||"*";this.Fa=new K(this);this.zl=new gh(100,this.getWindow());this.MQ=!!d;this.Gg=new Ru;this.Hg=new Ru;this.Gf=new Ru;this.cM=rW(10);this.Dp=null;this.MQ?1==this.Da.dh()?av(this.Gf,this.Gg):av(this.Gf,this.Hg):(av(this.Gf,this.Gg),2==this.zs&&av(this.Gf,this.Hg));Wu(this.Gf,this.sQ,this);this.Gf.Jb(!0);this.Fa.listen(this.zl,"tick",this.IA)}w(eX,tW);eX.prototype.ui=null;eX.prototype.ol=!1;eX.prototype.hq=1;var fX={};e=eX.prototype;
e.PB=0;function gX(a){var b=a.Qb.data;if(!r(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var f=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);if(d=qW[f])return d.Ck(c,b,a.Qb.origin),!0;a=hX(b)[0];for(var g in qW)if(d=qW[g],1==d.dh()&&!d.ii()&&"tp"==c&&("SETUP"==a||"SETUP_NTPV2"==a))return vW(d,f),d.Ck(c,b),!0;return!1}
e.qJ=function(a){var b=hX(a);a=b[1];switch(b[0]){case "SETUP_ACK":iX(this,1);this.Gg.Yg||this.Gg.Jb(!0);break;case "SETUP_ACK_NTPV2":2==this.zs&&(iX(this,2),this.Gg.Yg||this.Gg.Jb(!0));break;case "SETUP":iX(this,1);this.uI(1);break;case "SETUP_NTPV2":2==this.zs&&(b=this.ui,iX(this,2),this.uI(2),1!=b&&null==this.Dp||this.Dp==a||this.OB(),this.Dp=a)}};e.OB=function(){2!=this.zs||null!=this.ui&&2!=this.ui||this.send("tp","SETUP_NTPV2,"+this.cM);null!=this.ui&&1!=this.ui||this.send("tp","SETUP")};
e.uI=function(a){if(2!=this.zs||null!=this.ui&&2!=this.ui||2!=a){if(null!=this.ui&&1!=this.ui||1!=a)return;this.send("tp","SETUP_ACK")}else this.send("tp","SETUP_ACK_NTPV2");this.Hg.Yg||this.Hg.Jb(!0)};function iX(a,b){b>a.ui&&(a.ui=b);1==a.ui&&(a.Hg.Yg||a.MQ||a.Hg.Jb(!0),a.Dp=null)}e.connect=function(){var a=this.getWindow(),b=la(a),c=fX[b];ia(c)||(c=0);0==c&&qg(a.postMessage?a:a.document,"message",gX,!1,eX);fX[b]=c+1;this.ol=!0;this.IA()};
e.IA=function(){var a=0==this.Da.dh();this.MQ&&a||this.Da.ii()||this.isDisposed()?this.zl.stop():(this.zl.start(),this.OB())};e.send=function(a,b){var c=this.Da.vi;c&&(this.send=function(a,b){var g=this,h=this.Da.name;this.PB=I(function(){g.PB=0;try{var k=c.postMessage?c:c.document;k.postMessage&&k.postMessage(h+"|"+a+":"+b,g.Cja)}catch(m){}},0)},this.send(a,b))};e.sQ=function(){AW(this.Da,1==this.zs||1==this.ui?200:void 0)};
e.ma=function(){if(this.ol){var a=this.getWindow(),b=la(a),c=fX[b];fX[b]=c-1;1==c&&yg(a.postMessage?a:a.document,"message",gX,!1,eX)}this.PB&&(J(this.PB),this.PB=0);rc(this.Fa);delete this.Fa;rc(this.zl);delete this.zl;this.Gg.cancel();delete this.Gg;this.Hg.cancel();delete this.Hg;this.Gf.cancel();delete this.Gf;delete this.send;eX.R.ma.call(this)};function hX(a){a=a.split(",");a[1]=a[1]||null;return a};function jX(a,b){tW.call(this,b);this.Da=a;this.EW=a.at||"";this.o4=a.rat||"";var c=this.getWindow();if(!c.nix_setup_complete)try{c.execScript("Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function",
"vbscript"),c.nix_setup_complete=!0}catch(d){}this.GCXPC____NIXJS_handle_message=this.Ada;this.GCXPC____NIXJS_create_channel=this.j$}w(jX,tW);e=jX.prototype;e.hq=6;e.Cv=!1;e.$r=null;e.connect=function(){0==this.Da.dh()?this.AW():this.zW()};e.AW=function(){if(!this.Cv){var a=this.Da.$u;try{var b=this.getWindow().GCXPC____NIXVBS_get_wrapper;a.contentWindow.opener=b(this,this.EW);this.Cv=!0}catch(c){}this.Cv||this.getWindow().setTimeout(t(this.AW,this),100)}};
e.zW=function(){if(!this.Cv){try{var a=this.getWindow().opener;if(a&&"GCXPC____NIXVBS_container"in a){this.$r=a;if(this.$r.GetAuthToken()!=this.o4)return;var b=this.getWindow().GCXPC____NIXVBS_get_wrapper;this.$r.CreateChannel(b(this,this.EW));this.Cv=!0;AW(this.Da)}}catch(c){return}this.Cv||this.getWindow().setTimeout(t(this.zW,this),100)}};e.j$=function(a){this.$r=a;this.$r.GetAuthToken()==this.o4&&AW(this.Da)};
e.Ada=function(a,b){this.getWindow().setTimeout(t(function(){this.Da.Ck(a,b)},this),1)};e.send=function(a,b){this.$r.SendMessage(a,b)};e.ma=function(){jX.R.ma.call(this);this.$r=null};function kX(a,b){mW.call(this);for(var c=0,d;d=pW[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.Nc=a;this.name=this.Nc.cn||rW(10);this.nb=b||he();this.gE=[];this.AH=new K(this);a.lpu=a.lpu||Xh(this.nb.getWindow().location.href)+"/robots.txt";a.ppu=a.ppu||Xh(a.pu||"")+"/robots.txt";qW[this.name]=this;Bg(window,"unload",lX)||xg(window,"unload",lX)}w(kX,mW);var mX=/^%*tp$/,nX=/^%+tp$/;e=kX.prototype;e.co=null;e.Dl=null;e.Mg=null;e.va=1;
e.ii=function(){return 2==this.va};e.vi=null;e.$u=null;e.qa=function(){return this.Nc};function IW(a){try{return!!a.vi&&!a.vi.closed}catch(b){return!1}}
function oX(a,b,c){var d=a.Nc.ifrid;d||(d=a.Nc.ifrid="xpcpeer"+rW(4));var f=he(b).createElement("IFRAME");f.id=f.name=d;c?c(f):f.style.width=f.style.height="100%";pX(a);a.Dl=new Ru(void 0,a);var g=qX(a);zi(a.AH,f,"load",a.Dl.Jb,!1,a.Dl);Kd||Ld?window.setTimeout(t(function(){b.appendChild(f);f.src=g.toString()},a),1):(f.src=g.toString(),b.appendChild(f))}function pX(a){a.Dl&&(a.Dl.cancel(),a.Dl=null);a.gE.length=0;a.AH.removeAll()}
function qX(a){var b=a.Nc.pu;r(b)&&(b=a.Nc.pu=new Zj(b));var c={};c.cn=a.name;c.tp=a.Nc.tp;c.osh=a.Nc.osh;a.Nc.lru&&(c.pru=a.Nc.lru);a.Nc.lpu&&(c.ppu=a.Nc.lpu);a.Nc.ppu&&(c.lpu=a.Nc.ppu);(a=a.Nc.role)&&(c.role=1==a?0:1);nk(b,"xpc",Pi(c));return b}e.connect=function(a){this.bL=a||p;3==this.va&&(this.va=1);this.Dl?Wu(this.Dl,this.GX):this.GX()};
e.GX=function(){this.Dl=null;this.Nc.ifrid&&(this.$u=this.nb.H(this.Nc.ifrid));if(this.$u){var a=this.$u.contentWindow;a||(a=window.frames[this.Nc.ifrid]);this.vi=a}if(!this.vi){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.vi=window.parent}if(!this.Mg){if(!this.Nc.tp){var a=this.Nc,b;if(ja(document.postMessage)||ja(window.postMessage)||E&&window.postMessage)b=1;else if(Kd)b=2;else if(E&&this.Nc.pru)b=3;else{var c;if(c=E){c=!1;try{b=window.opener,
window.opener={},c=Vf(window,"opener"),window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.Nc.tp){case 1:this.Mg=new eX(this,this.Nc.ph,this.nb,!!this.Nc.osh,this.Nc.nativeProtocolVersion||2);break;case 6:this.Mg=new jX(this,this.nb);break;case 2:this.Mg=new BW(this,this.nb);break;case 3:this.Mg=new VW(this,this.nb);break;case 4:this.Mg=new CW(this,this.nb);break;case 7:if(a=this.vi)try{a=window.document.domain==this.vi.document.domain}catch(d){a=!1}a&&(this.Mg=new uW(this,this.nb))}if(!this.Mg)throw Error("CrossPageChannel: No suitable transport found!");
}for(this.Mg.connect();0<this.gE.length;)this.gE.shift()()};e.close=function(){pX(this);this.va=3;rc(this.Mg);this.bL=this.Mg=null;rc(this.co);this.co=null};function AW(a,b){a.ii()||a.co&&a.co.uc()||(a.va=2,rc(a.co),n(b)?(a.co=new No(a.bL,b),a.co.start()):(a.co=null,a.bL()))}e.send=function(a,b){this.ii()&&(IW(this)?(ka(b)&&(b=Pi(b)),this.Mg.send(rX(a),b)):this.close())};
e.Ck=function(a,b,c){if(this.Dl)this.gE.push(t(this.Ck,this,a,b,c));else{var d=this.Nc.ph;!x(za(c))&&!x(za(d))&&c!=this.Nc.ph||this.isDisposed()||3==this.va||(a&&"tp"!=a?this.ii()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=nX.test(a)?a.substring(1):a,a=this.getService(a,b))&&(b=nW(b,a.M2),null!=b&&a.Jb(b)):this.Mg.qJ(b))}};function rX(a){mX.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)}e.dh=function(){var a=this.Nc.role;return ia(a)?a:window.parent==this.vi?1:0};
function vW(a,b){delete qW[a.name];a.name=b;qW[b]=a}e.ma=function(){this.close();this.$u=this.vi=null;delete qW[this.name];rc(this.AH);delete this.AH;kX.R.ma.call(this)};function lX(){for(var a in qW)rc(qW[a])};function sX(a){Xi(this,a,tX)}w(sX,Vi);var tX=[5,7,16,18];sX.prototype.Ya=function(){return ij(this)};sX.prototype.GS=function(a){N(this,3,a)};sX.prototype.HS=function(a){N(this,4,a)};function uX(a,b){this.e$=a;this.dW=this.country=this.language=null;this.Rfa="https://clients5.google.com";this.DA=null;this.kC=new sX;this.CM=null;this.size=b;this.scrolling="auto"}uX.prototype.clone=function(){return $b(this)};function vX(a){H.call(this);this.Da=a;a=t(this.qka,this);this.Da.xL=a;this.Nx=new Ru;this.HK=new qj;this.Uu=new qj}w(vX,H);e=vX.prototype;e.qQ=0;e.connect=function(){this.Da.connect(t(this.Nx.Jb,this.Nx));Wu(this.Nx,t(this.dispatchEvent,this,"Ub"))};e.Eh=function(a,b){this.Uu.set(a,b)};e.call=function(a,b,c,d){Wu(this.Nx,function(){var f={data:b,messageId:this.qQ};this.HK.set(this.qQ,{bX:c,aX:d});this.qQ++;this.Da.send(a,f)},this)};
function wX(a,b,c,d){Wu(a.Nx,function(){this.Da.send("_response",{data:b,messageId:c,result:d})},a)}e.qka=function(a,b){var c;if(r(b))try{c=Ni(b)||{}}catch(g){return}else c=b;if("_response"==a){var d=this.HK.get(c.messageId);this.HK.remove(c.messageId);var f=c.result;f&&ja(d.bX)&&d.bX(c.data);!f&&ja(d.aX)&&d.aX(Error(c.data.message))}else xX(this,a,c)};
function xX(a,b,c){if(b=a.Uu.get(b)){var d=t(function(a){wX(this,a||{},c.messageId,!0)},a);a=t(function(a){var b={};b.message=a&&a.message||"";wX(this,b,c.messageId,!1)},a);try{b(c.data,d,a)}catch(f){a(f)}}};function yX(a,b,c){Cp.call(this,c);this.Da=a;this.xi=new vX(this.Da);this.ac=b;this.rb=this.Zz=null;this.MG=b.DA}w(yX,Cp);e=yX.prototype;e.Kb=function(){return Zn(this.H()).width};e.Ed=function(a){Xn(this.H(),a+"px");this.rb.width=a;this.ac.size.width=a};e.getHeight=function(){return Zn(this.H()).height};e.Sd=function(a){Yn(this.H(),a+"px");this.rb.height=a;this.ac.size.height=a};e.ra=function(){yX.R.ra.call(this);Wn(this.H(),this.ac.size);zX(this)};
function AX(a,b){X(a.MG,!b);a.Zz.style.visibility=b?"visible":"hidden"}function zX(a){var b=a.U();a.Zz=b.ra("DIV");a.Zz.style.position="absolute";a.MG=a.MG||b.ra("DIV");AX(a,!1);var c=a.H();b.appendChild(c,a.Zz);b.appendChild(c,a.MG);oX(a.Da,a.Zz,t(function(a){b.setProperties(a,{frameborder:0,style:"border: 0; vertical-align: bottom; transform: translateZ(0);",scrolling:this.ac.scrolling,width:this.ac.size.width,height:this.ac.size.height});this.rb=a},a));a.xi.connect()};function BX(a){this.ac=new uX(a,CX);this.nb=void 0}var CX=new D(735,500);e=BX.prototype;e.CI=function(a){this.ac.CM=a;return this};e.GS=function(a){this.ac.kC.GS(a);return this};e.HS=function(a){this.ac.kC.HS(a);return this};e.Sd=function(a){this.ac.size.height=a;return this};e.Ed=function(a){this.ac.size.width=a;return this};e.zI=function(a){this.nb=a;return this};
e.Hd=function(){var a=this.ac.Rfa,b=ei(a+"/webstore/wall/widget","container",this.ac.e$,"utm_source",Wh(Vh(window.location.href)[3]||null),"utm_medium","apps-widget","ref",Xh(window.location.href));L(this.ac.kC,15)&&(b=ei(b,"hdpa","true"));null!=this.ac.language&&(b=ei(b,"hl",this.ac.language));null!=this.ac.country&&(b=ei(b,"gl",this.ac.country));null!=this.ac.CM&&(b=ei(b,"authuser",this.ac.CM));null!=this.ac.dW&&(b=ei(b,this.ac.dW));var c={};Yb(c,"pu",b);Yb(c,"ph",a);Yb(c,"tp",1);Yb(c,"osh",!0);
a=new kX(c,this.nb);return new yX(a,this.ac.clone(),this.nb)};function DX(a){z.call(this);this.jx=a;this.xi=a.xi;this.xi.Eh("beforeInstall",t(this.Kha,this));this.xi.Eh("afterInstall",t(this.Fha,this));this.xi.Eh("launch",t(this.kia,this));this.xi.Eh("getStoreConfig",t(this.aba,this));this.xi.Eh("onRendered",t(this.GQ,this));this.xi.Eh("getPopupUrl",t(this.Yaa,this));this.xi.Eh("onEscape",t(this.Wha,this));this.xi.Eh("onManageMenu",t(this.nia,this));this.xi.Eh("onManageMenuEvent",t(this.mia,this));this.xi.Eh("beforeNavigate",t(this.Lha,this))}w(DX,z);e=DX.prototype;
e.P2=function(){};e.a3=function(){};e.Lha=function(a,b){b({shouldNavigate:!0})};e.GQ=function(){AX(this.jx,!0)};e.Kha=function(a,b){b({shouldInstall:!0})};e.Fha=function(a,b){this.P2(a.itemId,!!a.installResult);b()};e.kia=function(a,b){b()};e.aba=function(a,b){var c={};c.storeConfig=this.jx.ac.kC.Sc();b(c)};e.Yaa=function(a,b){b({installFlowPopupUrl:null})};e.Wha=function(a,b){this.a3();b()};e.nia=function(a,b){var c={};c.manageMenu=null.Sc();b(c)};e.mia=function(){};function EX(){return U('<div class="drive-viewer-app-finder-dialog-loading"><div class="drive-viewer-app-finder-dialog-loading-internal"><div class="drive-viewer-app-finder-loading-img"></div><span class="drive-viewer-msg-loading-text">Loading&hellip;</span></div></div>')}
function FX(a){var b=a.appName;a=a.iconUrl;var c="",d="<b>"+(T(b)+"</b> has been connected."),c=c+('<div class="drive-viewer-installed-app-notification"><img class="drive-viewer-installed-app-icon" src="'+wl(Cl(a))+'" alt="'+wl(b)+'" aria-hidden="true"/><div class="drive-viewer-installed-app-message">'+d+"</div></div>");return U(c)};function GX(a,b,c,d){DX.call(this,a);this.S=d;this.uK=b;this.Gt=c}w(GX,DX);GX.prototype.P2=function(a){this.uK.setVisible(!1);this.Gt&&Wu(HX(this,a),t(this.nba,this,a))};function HX(a,b){var c=new Ru;$u(a.Gt.aI(),c);Wu(c,function(a){return n(b)?qb(a,function(a){return a.sR==b},this):null},a);return c}GX.prototype.a3=function(){this.uK.setVisible(!1)};
GX.prototype.nba=function(a,b){var c;if(!(c=b))a:{c=this.uK;for(var d=0;d<c.wK.length;d++){var f=c.wK[d];if(f.sR==a){c=f;break a}}c=null}b=c;null!=b&&(c=b.getName(),c=S(FX,{appName:c,iconUrl:b.Ty(10)},void 0,this.S.U()),aw(this.S).showNotification(c,!0,1E4),Fs(oq(this.S),{La:19,lu:px(b)}))};function IX(a){sy.call(this,"drive-viewer-dialog",void 0,a.U());this.S=a;this.EJ=this.sW=null;this.Gt=$v(this.S);this.wK=[];Gy(this,new uy);this.setTitle("Connect more apps");this.Cw(!0)}w(IX,sy);
IX.prototype.ra=function(){IX.R.ra.call(this);W(this.H(),"drive-viewer-app-finder-dialog");var a=zy(this);W(a,"drive-viewer-app-finder-dialog-title");var a=this.S.U(),b=Math.min(a.getWindow().innerHeight-300,570),c=S(EX,void 0,void 0,a),d=(new BX("GOOGLE_DRIVE")).GS("Connect").HS("Connected");d.ac.DA=c;b=d.Sd(b);b.ac.language="en";a=b.zI(a);(b=parseInt(this.S.qa().sg(),10))&&a.CI(b);a=this.EJ=a;a.ac.DA&&Wn(a.ac.DA,a.ac.size);a=a.ac.DA;this.Vb().appendChild(a);this.Gt?(a=Z(this.S).Ea(),this.Gt.GM(a.Rb(),
a.Oi(),t(this.RW,this))):this.RW()};IX.prototype.RW=function(a){a&&(this.wK=a,a=mb(a,function(a){return a.sR}),N(this.EJ.ac.kC,7,a||[]));a=this.EJ.Hd();this.sW=new GX(a,this,this.Gt,this.S);A(this,this.sW);Be(this.Vb());a.Ka(this.Vb())};IX.prototype.setVisible=function(a){var b=ur(this.S);a?Py(b):Qy(b);IX.R.setVisible.call(this,a);a||uh(this.U(),!0)};function JX(a){this.S=a}JX.prototype.Zk=function(a,b){var c=this.S.get(Kv),d=c.Zk(a),c=c.bN(a),d=Lh(d,c);Gh(d,t(this.BN,this,b),this)};JX.prototype.Eu=function(a){return this.S.get(Kv).Eu(a)};function KX(a,b){var c={};c.id=b.getId();if(b instanceof Hw)c.iconUrl=b.tW,c.name=b.getName(),c.description=b.z5;else if(b instanceof Gw)c.name=b.getName();else{var d=3==a.S.qa().vc()?32:16;c.iconUrl=b.Ty(d);c.name=b.getName();c.description=b.z5}return c}
JX.prototype.BN=function(a,b){var c=this.Uy(b[0],!0),d=this.Uy(b[1],!1),f=d.length,d=Cb(d,0,Math.max(0,3-c.length)),d=lb(d,function(a){return a.vga});a(c,d,f)};JX.prototype.Uy=function(a){var b=[];"success"==a.getState()&&(b=a.Ga());return b};function LX(a){return 1<cH(Ar(a.S))?"//ssl.gstatic.com/images/icons/product/chrome_web_store-32.png":"//ssl.gstatic.com/images/icons/product/chrome_web_store-16.png"};function MX(){var a;a=""+('<div class="drive-viewer-appupsell" role="region"><div class="drive-viewer-appupsell-title" role="heading">Try one of the apps below to open or edit this item</div><div class="drive-viewer-scrollable drive-viewer-appupsell-content" role="region" aria-label="'+ul("Apps list")+'"></div></div></div>');return U(a)}
function NX(a){var b=a.className;return U('<div class="drive-viewer-appupsell-section"><div class="drive-viewer-appupsell-section-heading" role="heading" tabindex="-1">'+T(a.title)+'</div><div class="'+wl(b)+' drive-viewer-appupsell-apps-list"></div></div>')}
function OX(a,b,c){c=c||{};b=a.appName;a=a.iconUrl;return U('<div class="drive-viewer-appupsell-app-item">'+(a?'<div class="drive-viewer-appupsell-app-icon" style="'+(c.bc?"/*"+c.bc+"*/":"")+"background-image: url("+wl(Cl(a))+'); background-size:cover"></div>':"")+'<div class="drive-viewer-appupsell-app-name" tabindex="-1">'+T(b)+"</div></div>")};function PX(a){Y.call(this,a);this.Rg=new JX(a)}w(PX,Y);PX.prototype.ra=function(){var a=this.U();this.$=S(MX,void 0,void 0,a)};PX.prototype.ta=function(){PX.R.ta.call(this);this.ka().listen(this,"action",this.lba)};
PX.prototype.LU=function(a,b,c){var d=this.ua("drive-viewer-appupsell-content");sc(this.fe(!0));this.getContext().U().fe(d);QX(this,"Apps on your computer",c,"drive-viewer-appupsell-native-apps");QX(this,"Connected apps",a,"drive-viewer-appupsell-connected-apps");QX(this,"Suggested third-party apps",b,"drive-viewer-appupsell-suggested-apps")};
function QX(a,b,c,d){if(0!=c.length){var f=a.U(),g=a.ua("drive-viewer-appupsell-content");b=S(NX,{title:b,className:d},void 0,f);g.appendChild(b);g=f.ua("drive-viewer-appupsell-apps-list",b);for(b=0;b<c.length;b++){d=c[b];var h=KX(a.Rg,d),k=S(OX,{appName:h.name,iconUrl:h.iconUrl?h.iconUrl.toString():void 0},void 0,f);g.appendChild(k);var m=new jq(f);a.Aa(m);m.Na(k);var q=h.name,h=h.description?h.description.toString():"";m.mb(x(h)?q:Xa(q,": ",h));m.Xc=d;rs(k,f)}}}
PX.prototype.lba=function(a){var b=a.target.Xc;a=Lo(a);this.dispatchEvent(new kn(b,a))};function RX(a,b){Y.call(this,b);this.W=a;this.bo=[];this.fq=[];this.cx=0;this.Xr=[];this.lD=null;this.Rg=new JX(b)}w(RX,zr);e=RX.prototype;e.ta=function(){RX.R.ta.call(this);var a=$v(this.getContext());a&&this.ka().listen(a,["aa","ca"],this.yz);this.Rg.Zk(this.W,t(this.W_,this))};e.Tb=function(){Wu(this.Rg.Eu(this.W),this.Hda,this)};e.yz=function(){var a=this.getContext();!a.isDisposed()&&Jr(Z(a))&&this.Rg.Zk(this.W,t(this.W_,this))};e.W_=function(a,b,c){this.bo=a;this.fq=b;this.cx=c;SX(this)};
e.Hda=function(a){this.Xr=a;SX(this)};function SX(a){a.Xa&&(a.lD||(a.lD=new PX(a.getContext()),a.Aa(a.lD,!0)),a.lD.LU(a.bo,a.fq,a.Xr),a.dispatchEvent("Vb"))};function TX(a){jq.call(this,a.U());this.S=a;this.jg=null;this.Ej=dU(new cU(this),this.mq).Hd();A(this,this.Ej)}w(TX,jq);e=TX.prototype;e.ra=function(){this.$=S(qS,void 0,void 0,this.U())};e.ta=function(){TX.R.ta.call(this);var a=Lr(this.S),b=a.jg;b?UX(this,b):this.ka().Fb(a,"pa",t(this.mca,this));this.ka().listen(a,"qa",this.wr);this.mq()};function UX(a,b){a.jg=b;a.ka().listen(a,"action",a.rN);ZT(a.Ej,a,a.jg,bU,t(a.mr,a));a.mb("");oh(a.H(),b.getProperty("hint")||"")}e.rN=function(){FQ(aw(this.S))};
e.mq=function(){X(this.H(),!!this.jg&&this.jg.Ca()&&this.jg.isEnabled())};e.mca=function(){var a=Lr(this.S).jg;UX(this,a);this.mq()};e.wr=function(a){Lr(this.S);var b=this.H();a.uG.H()==b&&this.jg==a.Wn&&this.Ca()&&this.isEnabled()&&ur(this.S).focus(b)};e.mr=function(){return new Ax(Z(this.S).Ea().pb,this)};function VX(a,b){Y.call(this,b);this.W=a;this.kb=!1;this.UL=this.qo=this.km=null;this.Wm=!1;this.y6=this.Wt=this.Hk=this.vK=null;this.Rg=new JX(b)}w(VX,zr);e=VX.prototype;
e.ra=function(){this.$=S(bS,{ku:this.W.JY,haa:this.W.yE||"There was a problem with the preview."},void 0,this.U());this.qo=this.ua("drive-viewer-msg-container");this.y6=this.ua("drive-viewer-msg-transient-error-text");this.Wt=this.ua("drive-viewer-connect-more-apps-button");this.vK=this.ua("drive-viewer-appupsell-container");this.UL=new TX(this.getContext());this.Aa(this.UL);Gp(this.UL,this.Wt)};
e.ta=function(){VX.R.ta.call(this);WX(this);this.ka().listen(this.W,gm.WC,this.zr).listen(this.W,gm.zV,this.IN)};e.Tb=function(){this.kb=!0;XX(this);this.Hk&&this.Hk.Tb()};function XX(a){J(a.km);a.km=I(function(){this.Xa&&W(this.H(),"drive-viewer-layout-transition")},100,a)}e.dI=function(){J(this.km);pn(this.H(),"drive-viewer-layout-transition")};
function WX(a){var b=a.U(),c=a.W.yE||"There was a problem with the preview.",d=b.ua("drive-viewer-msg-error-text",a.qo);b.Uf(d,c);X(a.y6,3==a.W.getState())}e.oba=function(){this.layout()};e.zr=function(){this.layout()};e.IN=function(){this.layout()};e.Nba=function(){Fs(oq(this.getContext()),{La:18,$a:12});(new IX(this.getContext())).setVisible(!0)};
e.layout=function(){var a=this.Wm,b=this.getContext();if(!Tz(b.get(Kv),this.W)&&vP(b.qa()))if(this.Hk)b=this.Hk,0<b.bo.length||0<b.fq.length||0<b.Xr.length?(b=Zn(this.qo),this.Wm=Dd(new D(b.width,b.height+40+55),this.zd())):this.Wm=!1;else{var b=this.getContext().U(),c=new jq(b,KL.Ra());this.Aa(c);c.Na(this.Wt);this.ka().listen(c,"action",this.Nba);c=this.ua("drive-viewer-connect-more-apps-button-icon");co(c,LX(this.Rg));oh(this.Wt,"Connect more apps");rs(this.Wt,b);this.Hk=new RX(this.W,this.getContext());
this.Aa(this.Hk);this.ka().listen(this.Hk,"Vb",this.oba);this.Hk.Na(this.vK);this.kb&&this.Hk.Tb()}else this.Wm=!1;X(this.vK,this.Wm);if(b=this.Wm)b=this.Hk,b=b.cx>b.fq.length;X(this.Wt,b);if(this.Wm){var b=this.ua("drive-viewer-appupsell-content"),c=this.zd().height,d=Zn(this.qo).height,f=KB(xr(this.getContext()));Bn(b,"max-height",Math.max(c-d-40-f,55)+"px")}this.kb&&this.Wm!=a&&this.dI();this.qw();this.kb&&this.Wm!=a&&XX(this)};
e.qw=function(){var a=xr(this.getContext()),b=Zn(this.H()),b=this.Pj(b);In(this.H(),b.x,Math.max(b.y,a.hf().top))};e.Oc=function(){this.kb=!1;this.dI()};e.Db=function(){VX.R.Db.call(this);J(this.km)};function YX(a,b,c){Y.call(this,c);this.W=a;this.$d=b;this.Aa(this.$d);this.zh=null;this.kb=!1;this.wa=yq(c);this.vk=new iW(this.getContext());this.Aa(this.vk);this.$d.vk=this.vk}w(YX,zr);e=YX.prototype;e.ra=function(){var a=S($R,void 0,void 0,this.U());this.$=a;this.$d.Ka(a);X(a,!1);ZX(this,!1)};e.dc=function(a){YX.R.dc.call(this,a);var b=this.ua("drive-viewer-itemview");b?this.$d.Na(b):(this.$d.Ka(a),ZX(this,!1))};
e.ta=function(){YX.R.ta.call(this);this.vk.Na(this.ua("drive-viewer-carousel-loading-message"));this.GC();this.ka().listen(this.W,gm.ZJ,this.Dr)};
e.Tb=function(a){$X(this,"vf_",16,a);$X(this,"av_",36,a);Er(this.getContext().get(Fr),1,this.W);this.kb=!0;X(this.H(),!0);a=this.W.getState();switch(a){case V.LOADED:this.$d.Tb();break;case V.vt:this.Cp.Tb(Z(this.getContext()).At);break;case V.Rn:case V.ERROR:this.zh.Tb()}Kr(this.getContext().qa())&&a!=V.LOADED&&Dr(this.$d);this.layout();aY(this);bY(this,"av_")};
e.Oc=function(a){this.W.JT(!0);$X(this,"dv_",37,a);this.kb=!1;var b=this.W.getState();I(function(){this.Xa&&X(this.H(),!1);bY(this,"dv_")},0,this);b==V.LOADED?this.$d.Oc():b!=V.Rn&&b!=V.ERROR||this.zh.Oc();cY(this,a)};function cY(a,b){var c;switch(a.W.getState()){case V.LOADED:c=mq.wt;break;case V.ERROR:c=mq.uq;break;default:c=mq.sx}bY(a,"vf_",c,b)}function $X(a,b,c,d){b+=a.W.getId();pq(a.wa,b,{La:c,$a:d,item:a.W});c=uq(a.wa.Sb[b]);a=a.W.eF();N(c,4,a)}
function bY(a,b,c,d){b+=a.W.getId();d&&N(a.wa.Sb[b],9,d);wq(a.wa,b,c)}e.layout=function(){switch(this.W.getState()){case V.LOADED:this.$d.layout();break;case V.Rn:case V.ERROR:this.zh.layout();break;case V.vt:dY(this)}};function eY(a,b){var c=a.U().ua("drive-viewer-default");null!=c&&oh(c,b);c=ur(a.getContext());!HR(c)&&null!=c.Ec&&c.vu==GR(c)||a.getContext().get(pv).Pp(b)}
function aY(a){var b=a.W.getName();switch(a.W.getState()){case V.LOADING:eY(a,"Loading "+(b+"."));break;case V.LOADED:eY(a,"Displaying "+(b+"."));break;case V.Rn:eY(a,"Whoops! There was a problem previewing "+(b+". Retrying."));break;case V.ERROR:var c=za(a.W.CY);eY(a,x(c)?"Whoops! There was a problem previewing "+(b+"."):c);break;case V.vt:eY(a,"A password is required to access "+(b+". Please enter the password"))}}e.Dr=function(){this.GC();this.kb&&aY(this)};
e.GC=function(){var a=this.W.getState();switch(a){case V.LOADING:fY(this);nR(this.vk,this.getId(),200);X(this.$d.H(),!1);break;case V.LOADED:mR(this.vk,this.getId());gY(this);fY(this);ZX(this,!0);this.kb&&(this.$d.Tb(),this.$d.layout());break;case V.Rn:case V.ERROR:mR(this.vk,this.getId());ZX(this,!1);this.zh||(this.zh=new VX(this.W,this.getContext()),this.Aa(this.zh),this.zh.Ka(this.H()));WX(this.zh);this.kb&&(this.zh.Tb(),this.zh.layout());break;case V.vt:mR(this.vk,this.getId()),ZX(this,!1),gY(this),
this.Cp=new jW(this.W,this.getContext()),this.Cp.Ka(this.H()),dY(this),this.kb&&this.Cp.Tb(!0)}Kr(this.getContext().qa())&&this.kb&&a!=V.LOADED&&Dr(this.$d)};function ZX(a,b){X(a.$d.H(),b)}function fY(a){if(a.Cp){var b=a.U();b.contains(a.Cp.H(),b.$c())&&UK(ur(a.getContext()));rc(a.Cp);a.Cp=null}}function dY(a){var b=a.Cp.H();a=a.Pj(Zn(b));In(b,a)}function gY(a){a.zh&&(a.removeChild(a.zh,!0),a.zh.dispose(),a.zh=null)};function hY(a){Y.call(this,a);this.xj=null;this.Xs=[];this.Tg=[];this.lG=[];this.yg=!1;this.Fl=null;var b=Z(a);this.ka().listen(b,"ea",this.Ib).listen(b,"ga",this.Km).listen(b,"ha",this.Ar);(a=bw(a))&&this.ka().listen(a,"ya",this.Er)}w(hY,Y);e=hY.prototype;e.ra=function(){this.$=S(ZR,void 0,void 0,this.U())};e.dc=function(a){hY.R.dc.call(this,a);a=this.Ni("drive-viewer-carousel-slide");a.length&&0!=Hx(Z(this.getContext()))&&iY(this,0,a[0])};
e.ta=function(){hY.R.ta.call(this);this.H().style.bottom="0px";var a=Ar(this.getContext());this.ka().listen(a,"ib",this.tg).listen(Gr(this.getContext()),"Ba",this.Kba);jY(this);a=this.getContext().get(Qv);this.ka().listen(a,"Sb",this.Fea).listen(a,"Tb",this.Eea)};e.Ca=function(){return!!this.xj&&this.yg};e.setVisible=function(a){(this.yg=a)?this.xj.Tb(16):this.xj.Oc(16);kY(this,a)};
function jY(a){Wu(a.getContext().get(Qv).YM(),t(function(a){a&&(this.Fl=a,this.Aa(this.Fl),this.Fl.Ka(this.H()),kY(this,this.yg))},a))}e.Fea=function(){jY(this)};e.Eea=function(){this.Fl&&(kY(this,!1),this.Fl.dispose(),this.Fl=null)};function kY(a,b){a.Fl&&(ja(a.Fl.setVisible)?a.Fl.setVisible(b):X(a.Fl.H(),b))}e.Er=function(){var a=bw(this.getContext()).getHeight();this.H().style.bottom=a+"px"};
e.tg=function(a){this.xj&&this.yg&&(a.cq&&"Ca"==a.cq.type&&(a=fo(this.H()),Bn(this.H(),a?"left":"right",NB(Gr(this.getContext()))+"px")),this.xj.layout())};e.Kba=function(){this.xj&&this.yg&&this.xj.layout()};
e.Ib=function(a){var b=Z(this.getContext());a=null===a.cause?16:Lo(a.cause);lY(this);var c=this.xj;this.xj=this.Xs[b.Fe];c&&this.yg&&c.Oc(a);gs(Mr(this.getContext()));b=bw(this.getContext())&&0!=bw(this.getContext()).ug;c=ur(this.getContext());2==zs(this.getContext().qa())||b&&IR(c)||UK(ur(this.getContext()));this.yg&&this.xj.Tb(a)};
e.Km=function(a){a=a.p4;if(tb(this.Tg,a)){var b=ib(this.Tg,a);this.CB(b,!0).dispose();xb(this.Tg,b)}for(b=0;b<this.Tg.length;b++)this.Tg[b]>a&&this.Tg[b]--;xb(this.Xs,a);rc(this.lG[a]);delete this.lG[a]};function lY(a){var b=Z(a.getContext()),c=b.Fe,d=Math.max(c-5,0),f=Math.min(c+5,Hx(b)-1);iY(a,c);I(function(){for(var a=d;a<=f;a++)iY(this,a)},0,a)}
function iY(a,b,c){if(null==a.Xs[b]&&!a.isDisposed()){var d=a.getContext(),f=Z(d);if(!(b>=Hx(f))){var f=f.getItem(b),g=new (f.getFeature().Qi())(f,d),d=new YX(f,g,d);a.Xs[b]=d;f=-Eb(a.Tg,b)-1;Bb(a.Tg,f,0,b);a.Hi(d,f,!c);c&&d.Na(c);50<a.qg()&&(b=Z(a.getContext()).Fe,c=a.Tg.length,b=b-a.Tg[0]>a.Tg[c-1]-b?0:c-1,a.CB(b,!0).dispose(),a.Xs[a.Tg[b]]=null,xb(a.Tg,b))}}}e.Ar=function(){gs(Mr(this.getContext()));this.Vx()};
e.Vx=function(){this.fe(!0);sc(this.lG);sc(this.Xs);this.yg=!1;this.lG=[];this.Xs=[];this.Tg=[];this.xj=null};e.ma=function(){this.Vx();hY.R.ma.call(this)};function mY(a){Y.call(this,a)}w(mY,Y);mY.prototype.ta=function(){mY.R.ta.call(this);var a=bw(this.getContext());this.ka().listen(a,"za",this.RN)};mY.prototype.RN=function(){this.IC()};mY.prototype.IC=function(){if(this.Xa){var a=bw(this.getContext()).CF(),b=this.H(),c=(75-Zn(b).height)/2;a&&(c+=wr(xr(this.getContext())));Bn(b,"bottom",c+"px")}};function nY(a){Y.call(this,a);this.Mn=new jq(this.U());this.Aa(this.Mn);this.k6=null}w(nY,mY);e=nY.prototype;e.ra=function(){this.$=S(sS,void 0,void 0,this.U())};
e.ta=function(){nY.R.ta.call(this);var a=this.ua("drive-viewer-filmstrip-viewall");this.k6=this.ua("drive-viewer-filmstrip-viewall-text");this.Mn.Na(a);kq(this.Mn,2);this.Mn.mb("View all items");kh(a,"pressed",!1);rs(a,this.U());var b=this.getContext(),c=Z(b),b=bw(b);this.ka().listen(c,"ea",this.Ib).listen(c,"ga",this.Km).listen(c,"fa",this.Ti).listen(b,"ya",this.Gz).listen(this.Mn,"action",this.tfa).listen(a,"keydown",this.xz);0<Hx(c)&&this.Ti()};
e.tfa=function(a){var b=0==bw(this.getContext()).ug;Fs(oq(this.getContext()),{La:b?4:5,$a:Lo(a)});this.dispatchEvent(b?"v":"w")};e.Ib=function(){oY(this)};e.Km=function(){oY(this)};e.Ti=function(){var a=1<Hx(Z(this.getContext()));X(this.Mn.H(),a);oY(this);I(this.IC,0,this)};e.Gz=function(){var a=0!=bw(this.getContext()).ug,b=this.Mn.$;kh(b,"pressed",a);rn(b,"drive-viewer-button-toggled",a);a||(a=ur(this.getContext()),IR(a)&&a.focus(b))};
e.xz=function(a){var b=this.Mn.H();0==bw(this.getContext()).ug||9!=a.keyCode||a.shiftKey||a.target!=b||(b=this.getParent(),b.kb&&ur(b.getContext()).focus(b.qk.H()),a.preventDefault())};function oY(a){var b=Z(a.getContext());if(Jr(b)&&a.Mn){var c=b.Fe+1,b=Hx(b);a.U().Uf(a.k6,or(c,b))}};function pY(a){Y.call(this,a);this.cr=null}w(pY,mY);e=pY.prototype;e.ra=function(){var a=this.U(),b=this.getContext();(b=!x(za(sP(b.qa()))))?(this.$=S(tS,{C5:b},void 0,a),this.cr=new jq(a),this.Aa(this.cr)):pY.R.ra.call(this)};e.ta=function(){if(this.cr){pY.R.ta.call(this);var a=this.ua("drive-viewer-filmstrip-feedback");this.cr.Na(a);var b=this.getContext(),a=bw(b),b=Gr(b);this.ka().listen(this.cr,"action",this.Jca).listen(a,"ya",this.Gz).listen(b,"Ca",this.Xba);I(this.IC,0,this)}};e.Gz=function(){qY(this)};
e.Xba=function(){qY(this)};e.Jca=function(){var a=sP(this.getContext().qa());Iw(a,{target:"_blank",noreferrer:!0})};function qY(a){if(a.cr){var b=a.cr.$,c=0!=bw(a.getContext()).ug;a=Gr(a.getContext()).eg;rn(b,"drive-viewer-filmstrip-feedback-overlay",c||a)}};function rY(a){Y.call(this,a);this.Ec=null;this.kb=!1;this.Mj=this.pk=null;this.tj=[];this.Kc=this.zM=this.Yi=this.qk=null;this.TY=new nY(a);this.Aa(this.TY);this.UY=new pY(a);this.Aa(this.UY);this.Bv=[];a=bw(this.getContext());this.ka().listen(a,"ya",this.Er)}w(rY,Y);e=rY.prototype;e.ra=function(){var a=S(rS,void 0,void 0,this.U());this.$=a;Gp(this.UY,a.firstChild);Gp(this.TY,a.firstChild)};
e.ta=function(){rY.R.ta.call(this);var a=this.H();this.Yi=this.ua("drive-viewer-filmstrip-inner");this.zM=this.ua("drive-viewer-filmstrip-frame");this.Kc=new hy(a);A(this,this.Kc);cw(this.getContext()).addElement(a,{position:"bottom"});this.ka().listen(this.Kc,"focusin",this.xr).listen(this.Kc,"focusout",this.Fz);this.ka().listen(this.U().Ba,"mousedown",this.uF,!0);sh(this.Yi,!0);a=Z(this.getContext());this.ka().listen(a,"ea",this.Ib).listen(a,"ga",this.Km).listen(a,"fa",this.Ti).listen(a,"ha",this.Ar);
0<Hx(a)&&this.Ti()};e.Tb=function(){Yn(this.H(),bw(this.getContext()).getHeight());sY(this);this.kb=!0;tY(this,!0);sh(this.Yi,!1)};e.Oc=function(){this.kb=!1;tY(this,!1);sh(this.Yi,!0);Yn(this.H(),"")};function tY(a,b){for(var c=0;c<a.tj.length;c++){var d=a.tj[c].H();a.U().pe(d,b)}}e.Er=function(){0!=bw(this.getContext()).ug?this.Tb():this.Oc()};e.CF=function(){return this.Xa&&this.Yi.scrollWidth>Zn(this.Yi).width};e.Ib=function(){0<this.tj.length&&uY(this)};
function uY(a){var b=Z(a.getContext());a.qk&&a.qk.sk(!1);a.qk=a.tj[b.Fe];a.qk.sk(!0);a.Yi&&kh(a.Yi,"activedescendant",a.qk.H().id);a.kb&&(sY(a),b=a.U(),nn(b.$c(b.Ba),"drive-viewer-thumbnail")&&ur(a.getContext()).focus(a.qk.H()))}e.Km=function(a){a=a.p4;var b=this.tj[a];this.ka().ab(b,"action",this.bO);this.removeChild(b).dispose();xb(this.tj,a);J(this.Bv[a]);xb(this.Bv,a);uY(this)};
e.Ti=function(){var a=this.tj.length,b=Z(this.getContext()),c=this.getContext().get(Vv);if(!(1>=Hx(b))){for(;a<Hx(b);a++){var d=b.getItem(a),f=new jq(this.U(),c);f.ze(8,!0);f.Xc=d;f.mb(d.getName());this.Aa(f);f.Ka(this.Yi);d=I(t(this.Nga,this,f),1E3);this.Bv.push(d);kh(f.H(),"pressed",!1);this.U().pe(f.H(),this.kb);this.ka().listen(f,"action",this.bO);this.tj[a]=f}Jr(b)&&uY(this)}};e.Ar=function(){this.Wx()};
e.bO=function(a){var b=Lo(a);Fs(oq(this.getContext()),{La:8,$a:b});this.dispatchEvent(new hn(a.target.Xc,b))};e.Wx=function(){for(var a=0;a<this.tj.length;a++){var b=this.tj[a];this.ka().ab(b,"action",this.bO);this.removeChild(b)}sc(this.tj);this.tj=[];this.qk=null;for(a=0;a<this.Bv.length;a++)J(this.Bv[a]);this.Bv=[]};
function sY(a){if(a.qk){a.pk&&(Ag(a.pk),a.pk.stop(!1));a.Mj&&(Ag(a.Mj),a.Mj.stop(!1));var b=Kn(a.qk.H());Zn(a.H());var c=Qn(a.qk.H(),a.Yi,!0),d=[Kn(a.zM).x,0],b=[b.x,0];a.pk=new xt(a.Yi,[a.Yi.scrollLeft,0],[c.x,0],150,TJ);a.Mj=new wt(a.zM,d,b,150,TJ);qg(a.pk,"end",t(function(){Ag(this.pk);this.pk=null},a));qg(a.Mj,"end",t(function(){Ag(this.Mj);this.Mj=null},a));a.pk.play(!1);a.Mj.play(!1)}}e.Db=function(){this.pk&&(Ag(this.pk),this.pk.stop(!1));this.Mj&&(Ag(this.Mj),this.Mj.stop(!1))};
e.Nm=function(){this.kb&&(J(this.Ec),this.Ec=I(function(){this.kb&&(Fs(oq(this.getContext()),{La:5,$a:6}),this.dispatchEvent("w"))},1200,this))};e.xr=function(){J(this.Ec)};e.Fz=function(){this.Nm()};e.uF=function(a){this.kb&&(Je(this.H(),a.target)?J(this.Ec):this.Nm())};e.Nga=function(a){ER(a.Za,a)};e.ma=function(){this.Xa&&this.Wx();rY.R.ma.call(this)};function vY(a){jq.call(this,a.U(),KL.Ra());this.S=a;a=Z(a);this.ka().listen(a,"ea",this.Ib).listen(a,"ia",this.ai)}w(vY,jq);e=vY.prototype;e.ra=function(){this.dc(S(aS,void 0,void 0,this.U()))};e.ta=function(){vY.R.ta.call(this);this.ka().listen(this,"action",this.YN)};e.Ib=function(){pn(this.H(),"drive-viewer-select-button-selected-animated");wY(this)};e.ai=function(){wY(this)};
e.YN=function(){var a=Z(this.S),b=a.Ea(),c=a.Zo(b);c?wb(a.Ml,b):a.Ml.push(b);a.dispatchEvent("ia");rn(this.H(),"drive-viewer-select-button-selected-animated",!c);wY(this)};function wY(a){var b=Z(a.S),b=b.Zo(b.Ea());a.mb(b?"Deselect this":"Select this")};function xY(a){Y.call(this,a);var b=this.U();this.Yl=new jq(b,KL.Ra());this.Aa(this.Yl);this.se=!1;this.ub=new ou(a,!0);this.Aa(this.ub);this.Bp=null;this.sq=new qK;this.LH=-1;this.Ts=[];a=Z(this.getContext());this.ka().listen(a,HG.MJ,this.Oz).listen(a,HG.L7,this.Hfa).listen(a,HG.YC,this.Tu).listen(a,HG.yV,this.Tu).listen(a,NM.aK,this.eO).listen(a,"ea",this.Ib)}w(xY,Y);e=xY.prototype;
e.ra=function(){var a=this.U();this.$=S(vS,void 0,void 0,a);this.Bp=this.ua("drive-viewer-zoom-panel");this.ub.Ka(this.Bp);W(this.ub.H(),"drive-viewer-zoom-slider");W(this.ub.lc,"drive-viewer-zoom-slider-thumb")};e.ta=function(){xY.R.ta.call(this);var a=this.U();this.Yl.Na(this.ua("drive-viewer-zoom-button"));this.Yl.mb("Zoom in","Zoom");rs([this.Yl.H(),this.ub.lc],a);this.ka().listen(this.ub,"O",this.bfa).listen(this.Yl,"action",this.Ffa);this.getContext().Od()&&(this.En(!1),this.se=!0)};
e.En=function(a){this.se||X(this.H(),a)};e.aT=function(a){this.LH=a;a=Z(this.getContext());Jr(a)&&(a=a.Ea().hb)&&a.isEnabled()&&yY(this,a.Bf)};function zY(a){y(a.Ts,function(a){Or(Mr(this.getContext()),a)},a);a.Ts=[]}
function AY(a,b){var c=a.Yl.H();rn(c,"drive-viewer-zoom-loading",b==IG.ACTIVATING);rn(c,"drive-viewer-button-toggled",b==IG.$l);var d="Zoom in";b==IG.ACTIVATING?d="Loading higher resolutions":b==IG.$l&&(d="Zoom out");a.Yl.mb(d,"Zoom");kh(c,"pressed",b!=IG.tq);c=a.U().$c();b!=IG.$l&&a.Bp.contains(c)&&UK(ur(a.getContext()));yY(a,b);a.dispatchEvent("Wb")}
function yY(a,b){var c=b==IG.$l&&!a.se;X(a.Bp,c);if(c){var d=a.H(),f;f=fo(a.Bp);f=Pn(a.Bp).x+(f?Zn(a.Bp).width:0);-1<a.LH&&(fo(d)?f>a.LH:f<a.LH)&&(X(a.Bp,!1),c=!1)}d=Z(a.getContext()).Ea().hb;c=!c;d.eU!=c&&(d.eU=c,d.dispatchEvent("cb"))}e.Ffa=function(a){var b=Z(this.getContext()).Ea().hb;a=Lo(a);b&&(b.Bf==IG.tq?JG(b,IG.ACTIVATING,a):b.Bf==IG.$l&&JG(b,IG.tq,a))};
e.bfa=function(a){var b=this.getContext();0<a.CL?b.get(pv).Pp("Zoom in"):0>a.CL&&b.get(pv).Pp("Zoom out");var b=BY(this),c=Z(this.getContext()).Ea(),d=c.hb;sK(this.sq,b)||(OG(d,b,this),YK(c.tt,0<a.CL,Lo(a),this.ub.ov()))};function BY(a){a=a.ub.Ga()/a.ub.Md();return Math.floor(100*a)}function CY(a){var b=BY(a),c=Math.min(b+25,100);rK(a.sq,b,c);OG(Z(a.getContext()).Ea().hb,c)}
e.Ro=function(a){var b=Z(this.getContext()).Ea(),c=b.hb;c&&(c.Bf==IG.$l?(CY(this),YK(b.tt,!0,Lo(a),!1)):c.Bf==IG.tq&&JG(c,1,Lo(a)))};e.Oo=function(a){var b=Z(this.getContext()).Ea(),c=b.hb;if(c&&c.Bf==IG.$l){var d=BY(this);if(0<d){var f=Math.max(d-25,0);rK(this.sq,d,f);OG(c,f);YK(b.tt,!1,Lo(a),!1)}else JG(c,0,Lo(a))}};e.Ib=function(){zY(this);this.Vl()};e.Tu=function(a){a.source!=this&&this.Vl()};e.eO=function(){this.Vl()};
e.Oz=function(a){var b=Z(this.getContext());Jr(b)&&(this.Vl(),(b=b.Ea().hb)&&b==a.target?(this.ub.reset(!0),b.dw||b.Bf==IG.$l&&0==PG(b)&&(b.g1()&&b.mz()!=b.oz()?b.v6():CY(this))):this.ub.reset(!1))};e.Hfa=function(){this.Vl()};
e.Vl=function(){var a=this.getContext(),b=Z(a);Jr(b)&&((b=b.Ea().hb)?b.isEnabled()?(this.Yl.setEnabled(!0),this.En(!0),0<this.Ts.length||(a=Mr(this.getContext()),this.Ts.push(Nr(a,187,this.Ro,this)),this.Ts.push(Nr(a,107,this.Ro,this)),this.Ts.push(Nr(a,189,this.Oo,this)),this.Ts.push(Nr(a,109,this.Oo,this))),AY(this,b.Bf),a=PG(b),rK(this.sq,BY(this),a),this.ub.qb(Math.floor(a/100*this.ub.Md()))):3==a.qa().vc()?(this.En(!0),AY(this,0),this.Yl.setEnabled(!1),this.Yl.mb("Zooming unavailable")):this.En(!1):
this.En(!1),this.dispatchEvent("Wb"))};function DY(a){Y.call(this,a);this.qt=new xY(a);this.Aa(this.qt)}w(DY,Y);DY.prototype.ta=function(){DY.R.ta.call(this);this.qt.Ka(this.H())};function EY(a,b,c){PD.call(this,a,b,c);this.iB=null;this.uja=6E5}w(EY,PD);function FY(a,b){var c=a.mg+"/files/"+b,c=fi(c,"fields","kind,id,title,userPermission(role),shared,alternateLink,iconLink,primarySyncParentId,mimeType,parents(id)");return QD(a,c).start().then(t(a.fda,a,b))}function GY(a,b){var c=mb(b,a.gz,a);return Rg(c)}
EY.prototype.gz=function(a){var b=this.iB?this.iB.get(a):null;if(b&&u()-b.timestamp<this.uja)return b.q$.then(t(this.m0,this,a));b=this.mg+"/files/"+a;b=fi(b,"fields","kind,id,title,userPermission(role),shared,alternateLink,iconLink,primarySyncParentId");b=QD(this,b).start();this.iB&&this.iB.set(a,{q$:b,timestamp:u()});return b.then(t(this.m0,this,a))};
EY.prototype.fda=function(a,b){if(a!==b.id)throw Error("Mismatched item details, wanted "+a+" but got "+b.id);var c=new XD;c.id=b.id;c.name=b.title;c.Ss=b.shared;c.bB=b.alternateLink;c.Xz=b.iconLink;c.gw=b.primarySyncParentId;b.userPermission&&(c.Ln=b.userPermission.role);c.LA=b.mimeType;b.parents&&(c.wh=mb(b.parents,function(a){return a.id}));return c};
EY.prototype.m0=function(a,b){if(a!==b.id)throw Error("Mismatched parent details, wanted "+a+" but got "+b.id);var c=new VD;c.id=b.id;c.name=b.title;c.Ss=b.shared;c.bB=b.alternateLink;c.Xz=b.iconLink;c.gw=b.primarySyncParentId;b.userPermission&&(c.Ln=b.userPermission.role);return c};function HY(a){Cp.call(this,a);this.mc=null}w(HY,Cp);HY.prototype.ra=function(){this.$=this.U().ra("div","drive-viewer-notification");kh(this.H(),"live","assertive");kh(this.H(),"atomic","true")};HY.prototype.setContent=function(a){this.mc=a;if(a=this.H()){var b=this.U();b.fe(a);b.append(a,this.mc)}};HY.prototype.Ca=function(){var a=this.H();return null!=a&&nn(a,"drive-viewer-notification-shown")};HY.prototype.setVisible=function(a){rn(this.H(),"drive-viewer-notification-shown",a)};function IY(a){this.S=a;this.ki=null;a=this.S.qa();var b;if(b=!!aj(a,hP,60))b=aj(a,hP,60),b=null==L(b,1)?!1:L(b,1);this.Rw=b||3==a.vc();this.ao=0;this.ha=new K(this);A(this,this.ha);this.Sg=null;this.Yf=0;this.Tl=null}w(IY,z);e=IY.prototype;e.clear=function(){this.ki&&(this.ki.dispose(),this.ki=null,this.Yf=0);this.ao&&(J(this.ao),this.ao=0)};function FQ(a){a.Rw||a.clear()}
e.showNotification=function(a,b,c,d,f){if(Jr(Z(this.S))){var g=this.S.U(),h=0;this.ki&&this.Rw&&(this.ki.setVisible(!1),h=500);I(function(){this.clear();this.ki=new HY(g);var h=KL.Ra(),m=a;this.Rw&&(m=g.ra("div","drive-viewer-notification-message",a));if(d)var q=JY(this,h,d.getLabel(),d,f),m=yb(m,q);b&&!this.Rw&&(q=JY(this,h,"Dismiss"),m=yb(m,q));!d&&this.Rw&&(h=JY(this,h,""),m=yb(m,h));this.Sg||(h=this.S.U(),this.Sg=h.ra("div","drive-viewer-notification-container"),W(this.Sg,this.Rw?"drive-viewer-snackbar":
"drive-viewer-butterbar"),q=h.ua("drive-viewer",h.Ba.body),h.appendChild(q,this.Sg),this.ha.listen(this.Sg,"mouseover",this.Qu).listen(this.Sg,"mouseout",this.ON));this.ki.Ka(this.Sg);this.ki.setContent(m);this.Yf=ia(c)?c:0;0<this.Yf&&(this.ao=I(this.c0,this.Yf,this));this.ki.setVisible(!0)},h,this)}};function Uy(a,b,c){a.Tl&&a.Tl.dispose();a.Tl=new Kf("dv-ud"+cb(),{visible:!0,enabled:!0,label:"Undo"});A(a,a.Tl);a.Tl.xk(Hf,function(){this.Tl.dispose();c()},a);a.showNotification(b,!1,15E3,a.Tl)}
function JY(a,b,c,d,f){var g=a.S.U();b=new hq(c,b,g);a.ki.Aa(b);b.Ka(a.ki.H());a.ha.Fb(b,"action",qa(a.pda,d,f));a=b.H();W(a,"drive-viewer-notification-action-link");return a}e.pda=function(a,b){this.ki.setVisible(!1);UK(ur(this.S));if(a){var c=new yr(25),d=void 0;n(b)&&(d=new Ax(b.pb.Ya(),null));Pf(a,d,c)}};e.c0=function(){this.ki.setVisible(!1)};e.ON=function(a){!(a.relatedTarget&&this.Sg&&Je(this.Sg,a.relatedTarget))&&0<this.Yf&&(this.ao=I(this.c0,this.Yf/2,this))};
e.Qu=function(a){a.relatedTarget&&this.Sg&&Je(this.Sg,a.relatedTarget)||!this.ao||(J(this.ao),this.ao=0)};e.ma=function(){IY.R.ma.call(this);this.clear();this.Sg&&(De(this.Sg),this.Sg=null)};function KY(a){H.call(this);this.S=a;this.ds=qi(this.S,Lv);this.ha=new K(this);A(this,this.ha);this.wa=yq(a);this.jB=null;a=Z(a);this.ha.listen(a,"ea",this.Ib)}w(KY,H);
function LY(a,b,c){var d=Z(a.S).Ea(),f={$z:void 0,pH:void 0,Cc:{Cl:void 0,qn:void 0,gs:void 0,EH:void 0}};b={parentElement:b,oB:8,Gx:9,margin:void 0,c7:void 0};a.ha.Fb(a.ds,"Oa",t(a.gea,a,d,f)).Fb(a.ds,"Qa",t(a.UN,a,d,f)).Fb(a.ds,"Pa",t(a.TN,a,f));var g=d.Dt,h;if(g){f.pH=17;var k=!1,m=Lr(a.S).Fk;m&&(k=m.getProperty("dv_us"));h=wF(a.ds,g,c,b,!k);g.then(void 0,function(){if(f.$z){var a=aw(this.S);a&&a.showNotification("There was a problem adding the item to Google Drive.",!0,1E4)}},a)}else f.pH=4,h=
MY(a,d,c,b,f);qc(a,function(){h.cancel()});Vg(h.then(t(a.Wda,a,d,f),t(a.Uda,a,d,f)),t(function(){f.$z=!0;NY(this,f)},a));cw(a.S).Td(!0)}function MY(a,b,c,d,f){var g=Sg(),h=Sg();Xg(g.uf,p);Xg(h.uf,p);if(Nx(b))OY(a,b,g,h,f,b.Mb.Wa);else{b=b.pb.Oa();var k=PY(a);FY(k,b).then(function(a){g.resolve([a]);h.resolve(GY(k,a.wh))},function(a){g.reject(a);h.reject(a)},a)}var m;if(b=(b=qi(a.S,Pv))?b.Cra():null)f=b.Dra(),1==f?m="root":2==f&&(m=b.Era()||void 0);return a.ds.Cl(g.uf,h.uf,1,c,d,!1,m)}e=KY.prototype;
e.Vba=function(a,b,c,d,f){OY(this,a,b,c,d,f.target)};function OY(a,b,c,d,f,g){g=g.vm;1==g?(c.resolve(QY(b)),a.M6(b,d,f)):3==g?(c.reject(),d.reject()):a.ha.Fb(b,"j",t(a.Vba,a,b,c,d,f))}e.M6=function(a,b,c){var d=a.Mb.Wa;zm(d)?b.resolve(RY(a)):Am(d)?b.reject():this.ha.Fb(d,"k",t(this.M6,this,a,b,c))};
function RY(a){return mb(a.Mb.Wa.Fo(),function(a){var c=new VD;c.id=a.id;c.name=a.title;c.bB=a.alternateLink;c.Xz=a.iconLink;c.Ss=a.shared;a.userPermission&&(c.Ln=a.userPermission.role);c.gw=a.primarySyncParentId;return c})}function QY(a){var b=a.Mb.Wa,c=b.xR,d=new XD;d.id=a.pb.Oa();d.LA=a.Rb();d.name=a.getName();d.bB=c.alternateLink;d.Xz=c.iconLink;d.Ss=c.shared;c.userPermission&&(d.Ln=c.userPermission.role);d.gw=c.primarySyncParentId;d.wh=Tb(b.rf);return[d]}
e.Wda=function(a,b,c){if(b.Cc.qn){var d=this.wa.Sb[b.Cc.qn];d&&SY(d,c)}TY(this,b.Cc.qn,1);b.Cc.qn=void 0;if(!this.S.isDisposed()&&Jr(Z(this.S))){if(d=aw(this.S))c.oi[0].name=a.getName(),Uy(d,S(KE,{Fla:c,Ne:"drive-viewer-notification-link"}),t(function(){UY(this,a,b,!0);vF(this.ds,c).then(t(this.Yda,this,a,c,b),t(this.Xda,this,b),this)},this));VY(a,c,!1)}};
e.Uda=function(a,b,c){"There was a problem saving the attachment to Google Drive."==c?(TY(this,b.Cc.Cl,2),b.Cc.Cl=void 0):(TY(this,b.Cc.Cl,3),b.Cc.Cl=void 0,c instanceof vh||c instanceof Yg?(TY(this,b.Cc.qn,3),b.Cc.qn=void 0):(TY(this,b.Cc.qn,2),b.Cc.qn=void 0,!this.S.isDisposed()&&Jr(Z(this.S))&&"cp"!=c&&"catd"!=c&&"clid"!=c&&"csc"!=c&&("uatd"==c?Pf(Lr(this.S).Fk,new Bx(a.pb,null,!0)):(b=aw(this.S))&&b.showNotification('There was a problem moving "'+(a.getName()+'" to the selected folder in Drive.'),
!0,1E4))))};e.Yda=function(a,b,c){TY(this,c.Cc.gs,1);c.Cc.gs=void 0;!this.S.isDisposed()&&Jr(Z(this.S))&&(aw(this.S).showNotification("Action undone.",!1,5E3),VY(a,b,!0))};function VY(a,b,c){if(Nx(a)){a=a.Mb.Wa;var d=b.cH?[b.cH]:void 0,f=b.Lp?[b.Lp]:void 0;if(b.DB){b=b.oi;for(var f={},g=0;g<b.length;g++)for(var h=b[g],k=0;k<h.wh.length;k++)f[h.wh[k]]=!0;f=Tb(f)}c?a.Kn(f,d):a.Kn(d,f)}}
e.Xda=function(a,b){b instanceof vh||b instanceof Yg?(TY(this,a.Cc.gs,3),a.Cc.gs=void 0):(TY(this,a.Cc.gs,2),a.Cc.gs=void 0,!this.S.isDisposed()&&Jr(Z(this.S))&&aw(this.S).showNotification("Action could not be undone.",!0,1E4))};e.Ib=function(){var a=this.ds;a.Jk&&a.Jk.hide();a.wu.Uj();a.aB()};e.UN=function(a,b){b.$z||(b.Cc.EH=sq(this.wa,"pr_",{La:54,$a:b.pH,item:a}),yC(this.wa.Sb[b.Cc.EH],1),b.Cc.Cl=sq(this.wa,"o_",{La:58,$a:b.pH,item:a}),yC(this.wa.Sb[b.Cc.Cl],1))};
e.TN=function(a){a.$z||(TY(this,a.Cc.EH,1),a.Cc.EH=void 0)};function NY(a,b){Mb(b.Cc,function(a){TY(this,b.Cc[a],3);b.Cc[a]=void 0},a)}e.gea=function(a,b){b.$z||(aw(this.S).showNotification("Organizing...",!0,5E3),UY(this,a,b,!1),TY(this,b.Cc.Cl,1),b.Cc.Cl=void 0)};function UY(a,b,c,d){b=sq(a.wa,"pu_",{La:d?57:56,item:b});yC(a.wa.Sb[b],1);d?c.Cc.gs=b:c.Cc.qn=b}function TY(a,b,c){b&&wq(a.wa,b,c)}function SY(a,b){var c=qx(a),d=new Ks;d.Dn(b.DB?2:b.Lp?1:3);cj(c,9,d)}
function PY(a){a.jB||(a.jB=new EY(qi(a.S,ri),3,oi(pi(a.S.qa()))),A(a,a.jB),a.jB.iB=new lL(15,!0));return a.jB};function WY(a){jq.call(this,a.U(),KL.Ra());this.S=a;this.Gr={Aq:"drive-viewer-toolstrip-add-to-drive-icon",oK:"drive-viewer-toolstrip-adding-to-drive-icon",Dx:"drive-viewer-toolstrip-added-to-drive-icon"};this.$w={Aq:"Save to Drive",oK:"Saving to Drive",Dx:"Show in Drive"}}w(WY,jq);WY.prototype.getContext=function(){return this.S};
WY.prototype.update=function(a){var b=this.Gr.Aq,c=this.$w.Aq;switch(a){case 3:case 1:b=this.Gr.Aq;c=this.$w.Aq;break;case 2:b=this.Gr.oK;c=this.$w.oK;break;case 4:b=this.Gr.Dx,c=this.$w.Dx}this.mb(c);a=Sb(this.Gr);c=this.U().OM(this.H());qn(c,a);W(c,b)};function XY(a){WY.call(this,a);a=Yx(a);this.Gr.Aq="drive-viewer-toolstrip-add-to-my-drive-icon";this.Gr.Dx=a?"drive-viewer-toolstrip-move-to-icon":"drive-viewer-toolstrip-drive-organize-icon";this.$w.Aq="Add to My Drive";this.$w.Dx="Organize"}w(XY,WY);function YY(a){zQ.call(this,a);this.uw=[new ZY]}w(YY,zQ);e=YY.prototype;e.ZD=function(){this.Yj=new SB(this,"Ea");var a=Gr(this.getContext());a.eQ=OB(a,this.Yj);A(this,this.Yj)};e.ta=function(){YY.R.ta.call(this);W(this.H(),"drive-viewer-more-menu");this.ka().listen(this,"action",this.No)};
e.ag=function(a){var b;b=$Y(this,a);b=DQ(this,b,a);b.setVisible(!1);var c=0,d=3==this.getContext().qa().vc();a instanceof Cx&&d&&(c=a.getProperty("dv_ms")||0);if(!(a=this.uw[c])){var f=c;a=new ZY;this.uw[f]=a;d=new EE(GQ.Ra(),this.S.U());d.setVisible(!1);a.separator=d;for(--f;!this.uw[f];)f--;var f=this.uw[f],g=-1;0<f.UG.length&&(f=f.UG,g=Hp(this,f[f.length-1]));this.Hi(d,g+1,!0)}d=0;0<c&&(d=Hp(this,a.separator)+1);this.Hi(b,d,!0);Bb(a.UG,0,0,b)};
e.No=function(a){a=a.target;var b=a.Ga(),c=Z(this.getContext()).Ea(),d=Z(this.getContext()).getSelected();Pf(b,new Ax(c.pb,a,d),new yr(11))};function aZ(a,b){for(var c=0;c<a.qg();c++){var d=a.og(c);d instanceof CE&&d.Ga()===b&&d.setContent($Y(a,b))}}function $Y(a,b){var c=a.getContext().U(),d=c.createTextNode(b.getLabel()),f=d,g=b.getIcon();g&&(c=S(mu,null,null,c),on(c,[g,"drive-viewer-custom-button-icon"]),f=[c,d]);return f}e.Yh=function(){return 27};
function ZY(){this.separator=null;this.UG=[]};function bZ(a){Y.call(this,a);var b=this.U();this.TW=4;this.oh=new xQ(b);this.Aa(this.oh);this.qf=new YY(a);A(this,this.qf);this.bu=[];this.o2=[];this.Lx=0;this.Ej=eU(eU(eU(eU(dU(new cU(this),this.zz),"dv_efs",this.zz),"dv_vfs",this.zz),"icon",this.vba),"selected",this.wba).Hd();A(this,this.Ej);this.Ud=new Sf(this);A(this,this.Ud);this.qH=null;a=Z(this.getContext());this.ka().listen(a,"ea",this.Ib)}w(bZ,Y);var cZ={enabled:!0,hint:!0,icon:!0,selected:!0,value:!0,visible:!0,dv_vfs:!0,dv_efs:!0};e=bZ.prototype;
e.ra=function(){this.$=S(nS,void 0,void 0,this.U())};
e.ta=function(){bZ.R.ta.call(this);this.oh.Na(this.ua("drive-viewer-more-button"));this.oh.mb("More actions");rQ(this.oh,this.qf);rs(this.oh.H(),this.U());for(var a=Lr(this.getContext()),b=0;b<Oz(a,"toolstrip");b++)dZ(this,a.tm.toolstrip?a.tm.toolstrip[b]||null:null);for(b=0;b<Oz(a,"moremenu_only");b++){var c;(c=a.tm.moremenu_only?a.tm.moremenu_only[b]||null:null)&&eZ(this,c)}(b=a.Ey?a.Ey.wd():null)&&this.Ud.xk(b,Hf,t(this.rca,this));this.ka().listen(a,"ta",this.Dda).listen(a,"sa",this.Pba).listen(a,
"oa",this.eba).listen(a,"qa",this.wr)};e.eba=function(){fZ(this)};function dZ(a,b){if(b){var c=a.U(),d=a.H(),f=new jq(c,KL.Ra());f.Xc=b;a.Hi(f,0);a.bu.push(f);var g;g=S(oS,{label:b.getLabel()},void 0,c);$e(d,g,c.getChildren(d).length-1);f.Na(g);b.getIcon()&&gZ(f,b.getIcon());rs(g,c);a.ka().listen(f,"action",t(a.rN,a,b));ZT(a.Ej,f,b,cZ,t(a.mr,a,f));a.qf.ag(b);c=Lr(a.getContext());c.qL[b.getId()]&&(c=c.qL[b.getId()],a.getContext().Fu().register(c,f))}}
function gZ(a,b){var c=a.$;W(c,"drive-viewer-custom-button-with-icon");$k(c,pS,{icon:b})}function eZ(a,b){a.Ud.xk(b,Gf,function(a){if(this.Xa)switch(a.TH){case "visible":case "enabled":fZ(this);break;case "icon":aZ(this.qf,b);break;case "label":case "hint":aZ(this.qf,b)}},a);a.o2.push(b);a.qf.ag(b)}
e.rca=function(){var a=this.oh.$,b=Yx(this.getContext());W(a,b?"drive-viewer-more-button-folder":"drive-viewer-more-button-drive-folder");this.oh.Vp(!0);b=qi(this.getContext(),Lv);this.ka().Fb(b,"Ra",this.Vda);this.qH||(this.qH=new KY(this.getContext()),A(this,this.qH));LY(this.qH,this.$,a)};e.Vda=function(){qn(this.oh.H(),["drive-viewer-more-button-folder","drive-viewer-more-button-drive-folder"]);this.oh.Vp(!1)};e.rN=function(){FQ(aw(this.getContext()))};e.Pba=function(a){dZ(this,a.Wn);fZ(this)};
e.Dda=function(a){a.Wn&&(eZ(this,a.Wn),fZ(this))};e.zz=function(){fZ(this)};e.vba=function(a,b,c,d,f,g){b=a.$;nn(b,"drive-viewer-custom-button-with-icon")?(a=ne("drive-viewer-custom-button-icon",b),g&&pn(a,g),W(a,f)):gZ(a,f);aZ(this.qf,c)};e.wba=function(a,b,c){rn(a.H(),"drive-viewer-button-toggled",c.Zo())};e.Ib=function(){fZ(this)};
e.wr=function(a){for(var b=0;b<this.bu.length;b++){var c=this.bu[b];if(a.uG.H()==c.H()&&c.Xc==a.Wn){if(c.Ca()&&c.isEnabled()){ur(this.getContext()).focus(c.H());return}break}}if(this.oh.Ca())for(b=0;b<this.qf.qg();b++)if(c=this.qf.og(b),c.Ga()==a.Wn&&a.uG.H()==c.H()){c.Ca()&&ur(this.getContext()).focus(this.oh.H());break}};
function fZ(a){var b=hZ(a),c=iZ(a),d=b.slice(0);0<c.length&&d.push(a.oh);for(var f=a.Lx,g=af(a.U(),a.H()),g=Math.min(d.length,eo(g)?a.TW-1:a.TW),h=0,k=0,m=0;m<g;m++){var q=d[m].H(),v=mo(q),q=Zn(q).width+v.left+v.right,h=h+q;if(h>f)break;k++}d=Math.max(k,1);(b.length>d||0<c.length)&&0<d&&d--;for(f=0;f<b.length;f++)g=b[f],h=g.Xc,k=Px(Z(a.getContext()))&&h instanceof Cx?!!h.getProperty("dv_efs"):h.isEnabled(),0<d?(g.setVisible(!0),g.setEnabled(k),d--):(g.setVisible(!1),g.setEnabled(!1),k&&c.push(h));
if(0<c.length)for(a.oh.setVisible(!0),d=a.qf,f=!0,g=0;g<d.uw.length;g++){if(h=d.uw[g]){k=!1;m=h.UG;for(q=0;q<m.length;q++){var v=m[q],B=v.Ga(),B=tb(c,B);v.setVisible(B);B&&(k=!0)}h.separator&&h.separator.setVisible(k&&!f);k&&(f=!1)}}else a.oh.setVisible(!1);for(f=0;f<a.bu.length;f++)g=a.bu[f],tb(b,g)||(g.setEnabled(!1),g.setVisible(!1))}function hZ(a){var b=a.getContext(),c=Px(Z(b)),d=Lr(b);return lb(a.bu,function(a){return Lz(d,a.Xc,c)})}
function iZ(a){var b=a.getContext(),c=Px(Z(b)),d=Lr(b);return lb(a.o2,function(a){return Lz(d,a,c)})}e.GK=function(a){var b=this.H(),c=jZ(this);this.Lx=fo(b)?c-a:a-c;fZ(this)};function jZ(a){a=a.H();return Pn(a).x+(fo(a)?Zn(a).width:0)}e.mr=function(a){var b=Z(this.getContext());return new Ax(b.Ea().pb,a,b.getSelected())};function kZ(a){zQ.call(this,a);var b;(b=!pi(a.qa()))||(b=pi(a.qa()),b=!(null==L(b,3)?0:L(b,3)));this.JP=b;this.ka().listen(Z(a),"ea",this.Ib);this.Cx=BQ(this,"Opening this item will add it to your Drive");this.PP=BQ(this,"Loading...");this.tU=BQ(this,"Suggested third-party apps");this.eL=BQ(this,"Connected apps");this.kQ=BQ(this,"Apps on your computer");this.fq=[];this.cx=0;this.bo=[];this.Xr=[];this.d6=[];this.EX=[];this.y2=[];this.Rg=new JX(a);this.dL=lZ(this,LX(this.Rg),"Connect more apps","connectMoreApps");
this.Aa(this.PP,!0);this.Aa(this.kQ,!0);this.Aa(this.eL,!0);this.Aa(this.tU,!0);this.Aa(this.dL,!0);this.Aa(this.Cx,!0);W(this.Cx.H(),"drive-viewer-menu-notice-header");this.PP.setVisible(!0);this.Cx.setVisible(!1);this.tU.setVisible(!1);this.eL.setVisible(!1);this.dL.setVisible(!1);this.kQ.setVisible(!1);(b=$v(a))&&this.ka().listen(b,["aa","ca"],this.yz);a=Z(a);this.ka().listen(a,gm.SJ,this.sca)}w(kZ,zQ);e=kZ.prototype;
e.ZD=function(){this.Yj=new SB(this,"Ea");var a=Gr(this.getContext());a.TQ=OB(a,this.Yj);A(this,this.Yj)};e.ta=function(){kZ.R.ta.call(this);this.ka().listen(this,"action",this.No);Bn(this.H(),"padding","0px");this.JP||this.ka().Fb(this,"show",this.$ea)};e.No=function(a){a=a.target.Ga();"connectMoreApps"==a?(Fs(oq(this.getContext()),{La:18,$a:18}),(new IX(this.getContext())).setVisible(!0)):this.dispatchEvent(new kn(a,18))};e.$ea=function(){mZ(this);this.JP=!0;var a=this.getParent();a.Wv=void 0;vQ(a)};
e.Ib=function(){this.JP&&mZ(this)};e.sca=function(a){Ju(Z(this.getContext()),a.target)&&nZ(this)};e.yz=function(){var a=this.getContext();!a.isDisposed()&&Jr(Z(a))&&mZ(this)};function mZ(a){var b=Z(a.getContext()).Ea();a.Rg.Zk(b,t(a.BN,a,b));Wu(a.Rg.Eu(b),t(a.Rca,a,b))}e.BN=function(a,b,c,d){Ju(Z(this.getContext()),a)&&(this.bo=b,this.EX=oZ(this,this.EX,this.eL,this.bo),this.fq=c,this.cx=d,this.d6=oZ(this,this.d6,this.tU,this.fq),this.dL.setVisible(0<this.cx),pZ(this))};
e.Rca=function(a,b){Ju(Z(this.getContext()),a)&&(this.Xr=b,this.y2=oZ(this,this.y2,this.kQ,this.Xr),pZ(this))};function pZ(a){0<a.cx+a.bo.length+a.Xr.length&&a.PP.setVisible(!1);nZ(a);a.Ca()&&(a=a.getParent(),a.Wv=void 0,vQ(a))}function nZ(a){var b=Z(a.getContext()).Ea();a.Cx.setVisible(!1);0<a.bo.length+a.fq.length&&(b=b.ud(),a.Cx.setVisible(1==b))}
function oZ(a,b,c,d){y(b,function(a){this.removeChild(a,!0);a.dispose()},a);b=mb(d,a.i$,a);c.setVisible(0!=b.length);var f=Hp(a,c)+1;kb(b,function(a){this.Hi(a,f,!0)},a);return b}e.i$=function(a){var b=KX(this.Rg,a);return b.iconUrl?lZ(this,b.iconUrl.toString(),b.name,a):DQ(this,b.name,a)};function lZ(a,b,c,d){var f=a.getContext().U(),g=S(mu,null,null,f);co(g,b);return DQ(a,[g,f.createTextNode(c)],d)}e.Yh=function(){return 10};function qZ(a){Y.call(this,a);var b=a.U();this.Kj=new jq(b,KL.Ra());this.Aa(this.Kj);this.fk=new jq(b,KL.Ra());this.Aa(this.fk);this.on=new xQ(b);this.Aa(this.on);this.NQ=this.LY=this.KY=this.RQ=null;this.se=!1;this.Rg=new JX(a);a=Z(this.getContext());this.ka().listen(a,"ea",this.Ib).listen(a,"n",this.Gca).listen(a,gm.WC,this.zr).listen(a,gm.zV,this.IN)}w(qZ,Y);e=qZ.prototype;e.ra=function(){this.$=S(mS,void 0,void 0,this.U())};
e.ta=function(){qZ.R.ta.call(this);this.Kj.Na(this.ua("drive-viewer-toolstrip-extract"));this.KY=this.ua("drive-viewer-toolstrip-extract-content");this.LY=this.ua("drive-viewer-toolstrip-extracting-icon");this.RQ=this.ua("drive-viewer-open-label");this.fk.Na(this.ua("drive-viewer-toolstrip-open"));this.on.Na(this.ua("drive-viewer-toolstrip-openwith"));this.Kj.setVisible(!1);this.fk.setVisible(!1);this.fk.mb("Open");this.on.mb("Open with");rs([this.Kj.H(),this.fk.H(),this.on.H()],this.U());this.NQ=
this.ua("drive-viewer-open-app-icon");this.getContext().Fu().register("open-and-openwith",this);this.ka().listen(this.fk,"action",this.Lda).listen(this.Kj,"action",this.Fca);var a=$v(this.getContext());a&&this.ka().listen(a,["aa","ca"],this.yz);a=new kZ(this.getContext());rQ(this.on,a);A(this,a);this.on.setVisible(!!this.getContext().get(Kv).$O().Ga())};e.Ib=function(){rZ(this)};e.uS=function(a){this.se=a;X(this.H(),!a);a||rZ(this)};e.Gca=function(a){sZ(this,a)};
function rZ(a){if(!a.se){var b=a.getContext(),c=Z(b).Ea(),d=b.get(Kv),b=qi(b,zv),f=!!b&&fw(b,c),b=d.$O(c);f?Gh(b,function(a){tZ(this,c,!1,a,f)},a):(d=d.ZO(c),d=Lh(d,b),Gh(d,function(a){var b=uZ(a[0]);a=uZ(a[1]);tZ(this,c,b,a,f)},a))}}
function tZ(a,b,c,d,f){if(!a.se){a.Kj.setVisible(f);if(f)if(b.BE)vZ(a,!1,"Extracting...");else{var g=bt(b.Rb());vZ(a,!0,g)}a.fk.setVisible(c);Le(a.RQ,"Open");a.on.setVisible(d);rn(a.Kj.H(),"drive-viewer-toolstrip-open-has-openwith",d);rn(a.fk.H(),"drive-viewer-toolstrip-open-has-openwith",c&&d);rn(a.on.H(),"drive-viewer-toolstrip-openwith-mini",c||f);var h=!1;c&&(b=a.getContext().get(Kv).VE(b),Gh(b,function(a){a:{if(null!==a&&(a=KX(this.Rg,a),a.iconUrl)){co(this.NQ,a.iconUrl.toString());a="Open with "+
a.name;3==this.getContext().qa().vc()&&Le(this.RQ,a);this.fk.mb(a);h=!0;break a}h=!1}},a));X(a.NQ,h);h||a.fk.mb("Open");X(a.H(),f||c||d);a.dispatchEvent("Wb")}}function uZ(a){return"success"==a.getState()&&!!a.Ga()}function vZ(a,b,c){X(a.KY,b);X(a.LY,!b);a.Kj.setEnabled(b);iq.Ra().Nl(a.Kj,!0);a.Kj.mb(c)}
e.Fca=function(a){var b=this.getContext(),c=Z(b).Ea();Fs(oq(b),{La:44,$a:Lo(a),item:c});b=qi(b,yv);b.Ew("drive-viewer-extract");b.O4="Extract";c=fo(this.H())?new un(0,-150,0,0):new un(0,0,0,-150);b=b.eC(this.Kj.$,{parentElement:this.H(),ty:!1,oB:8,Gx:9,margin:c});a=t(this.Hca,this,a);yh(b,a,void 0);cw(this.getContext()).Td(!0)};
e.Hca=function(a,b){if(!b.hi())if(b.getError())aw(this.getContext()).showNotification("An error occurred selecting a folder to extract into.",!0,1E4);else{vZ(this,!1,"Extracting...");var c=b.Ga().xM,d=b.Ga().My,f=Lo(a);this.dispatchEvent(new jn(c,d,f))}};e.Lda=function(a){a=Lo(a);Fs(oq(this.getContext()),{La:9,$a:a});this.dispatchEvent(new kn(void 0,a))};e.zr=function(a){sZ(this,a)};e.IN=function(a){sZ(this,a)};e.yz=function(){var a=this.getContext();!a.isDisposed()&&Jr(Z(a))&&rZ(this)};
function sZ(a,b){var c=b.target,d=a.getContext(),f;!d.isDisposed()&&Jr(f=Z(d))&&c.getId()==f.Ea().getId()&&rZ(a)}e.Kb=function(){var a=this.H();if(!eo(a))return 0;var b=Zn(a).width,a=mo(a);return b+a.right+a.left};e.Vp=function(a,b){this.fk.Vp(a,b);this.on.Vp(a,b)};function wZ(a,b){CE.call(this,null,a,b.U());this.q6=b.get(Vv);this.qC=new Wp(void 0,this.q6,b.U());this.qC.Xc=a;this.qC.setEnabled(!1);this.Aa(this.qC);this.Ih=null}w(wZ,CE);wZ.prototype.ra=function(){var a=this.Xc.getName();this.$=S(lS,{title:a},void 0,this.U());this.Ih=this.ua("drive-viewer-selection-menu-item-title");tp(this.Ih,a,void 0,void 0,!0);Gp(this.qC,this.Ih);ER(this.q6,this.qC)};function xZ(a){zQ.call(this,a);this.mK={};a=Z(a);this.ka().listen(a,"ia",this.ai)}w(xZ,zQ);e=xZ.prototype;e.ZD=function(){this.Yj=new SB(this,"Fa");var a=Gr(this.getContext());a.YR=OB(a,this.Yj);A(this,this.Yj)};e.ta=function(){xZ.R.ta.call(this);this.ka().listen(this,"action",this.No);W(this.H(),"drive-viewer-selection-menu")};e.No=function(a){var b=a.target;a=b.Ga();var c=Qp(b,16);rn(b.H(),"drive-viewer-selection-menu-item-animated",c);b=Z(this.getContext());c?b.Ml.push(a):wb(b.Ml,a);b.dispatchEvent("ia")};
e.ai=function(){this.Ca()||yZ(this)};function yZ(a){for(var b=Z(a.getContext()).getSelected(),c={},d=0;d<b.length;d++){var f=b[d],g=f.getId(),h=a.mK[g];h?pn(h.H(),"drive-viewer-selection-menu-item-animated"):(h=new wZ(f,a.getContext()),h.Ns(!0),a.Aa(h,!0),bq(h,!0));c[g]=h}Mb(a.mK,function(a,b){c[b]||(this.removeChild(a),a.dispose())},a);a.mK=c}e.Yh=function(){return 51};function zZ(a){Y.call(this,a);a=a.U();this.Tx=new jq(a,KL.Ra());this.Aa(this.Tx);this.Gv=new xQ(a);this.Aa(this.Gv);this.PW=null;a=Z(this.getContext());this.ka().listen(a,"ia",this.ai)}w(zZ,Y);e=zZ.prototype;e.ra=function(){this.dc(S(kS,void 0,void 0,this.U()))};
e.ta=function(){zZ.R.ta.call(this);this.Gv.t1=!0;this.Gv.Na(this.ua("drive-viewer-toolstrip-selection-menu-button"));this.Tx.Na(this.ua("drive-viewer-toolstrip-selection-button-clear"));this.Tx.mb("Clear Selection");this.Gv.mb("Edit Selection");this.PW=this.ua("drive-viewer-toolstrip-selection-button-label");rs([this.Tx.H(),this.Gv.H()],this.U());this.ka().listen(this.Tx,"action",this.Dba);var a=new xZ(this.getContext());rQ(this.Gv,a);A(this,a);this.setVisible(!1)};e.Dba=function(){Z(this.getContext()).LD()};
e.ai=function(){if(Px(Z(this.getContext()))){var a=Z(this.getContext()).getSelected().length,b=this.PW,a=(new Wq("{count, plural, =1{1 selected}other{# selected}}")).format({count:a});Le(b,a);this.setVisible(!0)}else this.setVisible(!1);this.dispatchEvent("Wb")};e.Kb=function(){var a=this.H();if(!this.Ca())return 0;var b=Zn(a).width,a=mo(a);return b+a.right+a.left};e.setVisible=function(a){return this.Ca()!=a?(X(this.H(),a),!0):!1};e.Ca=function(){return eo(this.H())};function AZ(a){Y.call(this,a);this.Zc=this.sm=this.yw=this.Re=null;this.NX();this.Ej=dU(new cU(this),this.zz).Hd();A(this,this.Ej);this.oH=null;this.wa=yq(a);this.js=null;a=Z(this.getContext());this.ka().listen(a,"ea",this.Ib).listen(a,"ia",this.ai).listen(a,gm.SJ,this.Cz)}w(AZ,Y);e=AZ.prototype;e.ra=function(){this.$=S(jS,void 0,void 0,this.U());var a=this.H(),b=this.ua("drive-viewer-toolstrip-add-to-drive");this.Re&&Gp(this.Re,b);this.yw&&Gp(this.yw,b);this.sm.Ka(a)};
e.ta=function(){AZ.R.ta.call(this);this.T0();var a=Lr(this.getContext());this.ka().listen(a,"oa",this.T0).listen(a,"qa",this.wr);I(this.Qk,100,this)};e.NX=function(){var a=this.getContext();this.Re=new qZ(a);this.Aa(this.Re);AP(a.qa())&&(this.yw=new zZ(a),this.Aa(this.yw));this.sm=new bZ(a);this.Aa(this.sm)};e.Qk=function(){I(function(){this.Xa&&this.dispatchEvent("Wb")},0,this)};
e.layout=function(){var a=(this.U().zd().width-50)/2,b=this.Re?this.Re.Kb():0,a=Math.max(a-b,0);this.yw&&(a=Math.max(a-this.yw.Kb(),0));b=this.H();fo(b)?Bn(b,"right",a+"px"):Bn(b,"left",a+"px")};e.uJ=function(){var a=this.U().VM(this.H()),b=Pn(a).x;fo(this.H())&&(b+=Zn(a).width);this.sm.GK(b)};e.ai=function(){this.Zc&&BZ(this);this.Re.uS(Px(Z(this.getContext())));this.Qk()};
e.T0=function(){var a=this.ua("drive-viewer-toolstrip-add-to-drive"),b=Lr(this.getContext()),c=b.Fk;c?this.Zc||(this.Zc=zP(this.getContext().qa())?new XY(this.getContext()):new WY(this.getContext()),this.Aa(this.Zc),this.Zc.Na(a),X(a,!0),rs(this.Zc.H(),this.U()),a=new yr(Mo(a),17),ZT(this.Ej,this.Zc,c,$T,t(this.mr,this,this.Zc),a),this.ka().listen(this.Zc,"action",this.iba),b.m4&&this.getContext().Fu().register("add_to_drive",this.Zc),this.Qk()):X(a,!1)};
e.Ib=function(){this.Zc&&BZ(this);var a=qi(this.getContext(),xv);a&&a.Uj();(a=qi(this.getContext(),yv))&&a.Uj();this.Qk()};e.wr=function(a){Lr(this.getContext()).Fk==a.Wn&&a.uG.H()==this.Zc.H()&&this.Zc.Ca()&&this.Zc.isEnabled()&&ur(this.getContext()).focus(this.Zc.H())};function BZ(a){var b=Z(a.getContext()).Ea().ud();0==b||5==b?(a.Zc.setVisible(!1),a.Qk()):(a.Zc.setVisible(!0),a.Qk(),2==b?(a.Zc.setEnabled(!1),iq.Ra().Nl(a.Zc,!0)):a.Zc.setEnabled(!0),a.Zc.update(b),CZ(a))}
e.Cz=function(a){if(this.Zc){var b=a.target;a=a.V3;var c=Z(this.getContext());Jr(c)&&(b.getId()==c.Ea().getId()&&(this.Re&&(rZ(this.Re),this.Qk()),BZ(this)),2!=a||1!=b.ud()&&3!=b.ud()||qi(this.getContext(),Lv)||(c=aw(this.getContext()))&&c.showNotification("There was a problem saving the attachment to Google Drive.",!0,1E4));if((c=b.Dt)&&"pending"==c.getState())switch(b.ud()){case 4:c.qb([b.pb.Oa()]);b.Dt=null;break;case 1:case 3:c.kc("There was a problem saving the attachment to Google Drive."),
b.Dt=null}DZ(this,b,a)}};function DZ(a,b,c){var d="atd_"+b.getId();switch(b.ud()){case 1:case 3:2==c&&wq(a.wa,d,mq.uq);break;case 2:if(1==c||3==c)pq(a.wa,d,{La:31,item:b}),qc(b,function(){this.wa.Sb[d]&&wq(this.wa,d,mq.sx)},a);break;case 4:2==c&&wq(a.wa,d,mq.wt)}}e.TN=function(){this.js&&(wq(this.wa,this.js,1),this.js=null)};function EZ(a){a.js&&(wq(a.wa,a.js,3),a.js=null)}
function FZ(a,b){var c=aw(a.getContext());c&&yh(b,function(){EZ(this);if("error"==b.getState()){var a=b.getError();"There was a problem saving the attachment to Google Drive."==a||a instanceof vh||c.showNotification("There was a problem moving the attachment to the selected folder in Google Drive.",!0,1E4)}},a)}e.zz=function(){CZ(this)};function CZ(a){var b=Lr(a.getContext()),c=b.Fk;if(c){var d=Px(Z(a.getContext())),b=Lz(b,c,d);a.Zc.setVisible(b);a.Qk()}}
e.iba=function(){FQ(aw(this.getContext()));var a=Z(this.getContext()).Ea(),b=a.ud();4!=b&&(a.Dt=new wh,a.rk(2));qi(this.getContext(),Lv)?(this.oH||(this.oH=new KY(this.getContext()),A(this,this.oH)),LY(this.oH,this.$,this.Zc.H())):4!=b&&qi(this.getContext(),xv)?(a=Z(this.getContext()).Ea(),b=fo(this.H())?new un(0,-150,0,0):new un(0,0,0,-150),a=qi(this.getContext(),xv).eC(this.Zc.H(),a.Dt,{parentElement:this.H(),ty:!0,oB:8,Gx:9,margin:b}),FZ(this,a),EZ(this),this.js=sq(this.wa,"pr_",{La:54}),a=qi(this.getContext(),
xv),this.ka().Fb(a.Xq,"Yb",this.TN),cw(this.getContext()).Td(!0)):ur(this.getContext()).focus(this.Zc.H())};e.mr=function(a){return new Bx(Z(this.getContext()).Ea().pb.Ya(),a)};function GZ(a){Y.call(this,a);this.OA=this.qh=this.vg=null;this.GB=Lr(a).FB;a=Z(this.getContext());this.ka().listen(a,"ea",this.Ib).listen(a,gm.BV,this.PN)}w(GZ,Y);e=GZ.prototype;e.ra=function(){this.$=S(eS,void 0,void 0,this.U())};
e.ta=function(){GZ.R.ta.call(this);var a=this.U();this.vg=this.ua("drive-viewer-toolstrip-icon");this.qh=this.ua("drive-viewer-toolstrip-name");this.OA=this.qh.cloneNode(!1);W(this.OA,"drive-viewer-toolstrip-name-sizing");a.MO(this.OA,this.qh);this.ka().listen(this.qh,"click",this.Gda)};e.Ib=function(){var a=Z(this.getContext()).Ea();co(this.vg,cn(a.Rb()));var b=dn(a.Rb());oh(this.vg,b+" icon");this.GB&&rn(this.qh,"drive-viewer-rename-enabled",this.GB.Fh());I(t(this.QU,this,a.getName()),100)};
e.PN=function(a){a=a.target;var b=Z(this.getContext());Jr(b)&&b.Ea().getId()==a.getId()&&this.QU(a.getName())};e.Gda=function(a){this.GB&&this.GB.Fh()&&Pf(this.GB.wd(),void 0,new yr(Lo(a)))};e.layout=function(){var a=Z(this.getContext());a.wg()&&(a=a.Ea(),this.QU(a.getName()))};
e.QU=function(a){if(this.Xa){var b=this.U(),c=b.VM(this.H());if(c&&this.qh){var d=b.VM(c);d&&(c=Zn(c).width?c:d);d=ao(this.qh);c=ao(c);c=fo(this.qh)?d.left+d.width-c.left-c.width:c.left-d.left;c=Math.max(c-14,0);d=HZ(this,a);if(d<=c)b.Uf(this.qh,a),Bn(this.qh,"width",d+"px"),tp(this.qh,"");else{for(var d=c,f=Math.ceil(a.length/2),g=0;g<f-1;){var h=Math.floor((f+g)/2);HZ(this,a.substring(0,h)+" ... "+a.substring(a.length-h))>d?f=h:g=h}b.Uf(this.qh,a.substring(0,g)+" ... "+a.substring(a.length-g));
Bn(this.qh,"width",c+"px");tp(this.qh,a)}}}};function HZ(a,b){a.U().Uf(a.OA,b);return Zn(a.OA).width};function IZ(a){jq.call(this,a.U(),KL.Ra());this.S=a}w(IZ,jq);IZ.prototype.ra=function(){this.$=S(iS)};IZ.prototype.ta=function(){IZ.R.ta.call(this);var a=this.H();if(Ld){var b=a.firstChild,c=b.className;b.className="";I(function(){b.className=c})}this.dc(a);this.mb("Close");this.ka().listen(this,"action",this.Sj);rs(a,this.S.U())};IZ.prototype.Sj=function(a){Fs(oq(this.S),{La:3,$a:Lo(a)});this.dispatchEvent("p")};function JZ(a){Y.call(this,a);this.Ek=this.hv=this.Mr=null;a=wP(a.qa());ya(kP(a))||(this.Mr=jV(null,this.U()),this.Aa(this.Mr));ya(lP(a))||this.getContext().Od()||(this.hv=jV(null,this.U()),this.Aa(this.hv));ya(mP(a))||(this.Ek=jV(null,this.U()),this.Aa(this.Ek))}w(JZ,Y);e=JZ.prototype;e.ra=function(){var a=wP(this.getContext().qa());this.Mr?this.$=S(yS,{Od:this.getContext().Od()},void 0,this.U()):this.Ek&&(a=rr(a.$y(),Vl(mP(a))),this.$=S(zS,{U8:a},void 0,this.U()))};
e.ta=function(){JZ.R.ta.call(this);if(this.Mr){var a=this.ua("drive-viewer-invite-sign-in-button");this.Mr.Na(a);this.Mr.setVisible(!0);this.ka().listen(this.Mr,"action",t(this.dda,this));this.hv?(this.hv.Na(this.ua("drive-viewer-invite-sign-up-button")),this.hv.setVisible(!0),this.ka().listen(this.hv,"action",t(this.eda,this))):sn(a,"jfk-button-standard","jfk-button-action")}else if(this.Ek){this.Ek.Na(this.ua("drive-viewer-accept-invite-button"));this.Ek.setVisible(!0);var a=this.Ek.H(),b=wP(this.getContext().qa()),
b=rr(b.$y(),Vl(mP(b)));tp(a,b,void 0,void 0,!0);this.ka().listen(this.Ek,"action",t(this.cba,this))}};e.dda=function(){var a=wP(this.getContext().qa());ge(l.location,kP(a))};e.eda=function(){var a=wP(this.getContext().qa());ge(l.location,lP(a))};e.cba=function(){var a=wP(this.getContext().qa());ge(l.location,mP(a))};function KZ(a){Y.call(this,a);a=wP(this.getContext().qa());this.Vs=null;ya(jP(a))||(this.Vs=jV(null,this.U()),this.Aa(this.Vs))}w(KZ,Y);KZ.prototype.ra=function(){var a=wP(this.getContext().qa());if(this.Vs)this.$=S(wS,void 0,void 0,this.U());else{var b=a.$y()+" \n(",c;c=null==L(a,3)?"":L(a,3);b=b+c+")";a=null==L(a,4)?"":L(a,4);this.$=S(xS,{title:b,Fja:a},void 0,this.U())}};
KZ.prototype.ta=function(){KZ.R.ta.call(this);if(this.Vs)this.Vs.Na(this.ua("drive-viewer-sign-in-button")),this.Vs.setVisible(!0),this.ka().listen(this.Vs,"action",t(this.afa,this));else{var a=wP(this.getContext().qa());(null==L(a,9)||L(a,9))&&this.ka().listen(this.H(),"click",t(this.Bea,this))}};KZ.prototype.afa=function(a){var b=wP(this.getContext().qa());ge(l.location,jP(b));Fs(oq(this.getContext()),{La:91,$a:Lo(a)})};
KZ.prototype.Bea=function(a){var b=this.getContext().qa(),b=Iu(b)||xP(b)||Tl(this.getContext().U().getWindow()),b=Rl("accounts",b),b=li(b,"continueUrl",l.location.href);ge(l.location,b);Fs(oq(this.getContext()),{La:92,$a:Lo(a)})};function LZ(a){Y.call(this,a);var b=this.U(),c=a.qa();this.bw=new jq(b,KL.Ra());this.Aa(this.bw);this.Wo=this.profile=null;1==zs(c)&&wP(c)&&(b=wP(c),ya(kP(b))&&ya(lP(b))&&ya(mP(b))?(this.profile=new KZ(a),this.Aa(this.profile)):(this.Wo=new JZ(a),this.Aa(this.Wo)))}w(LZ,Y);
LZ.prototype.ta=function(){LZ.R.ta.call(this);var a=this.U(),b=this.ua("drive-viewer-popout-button"),c=this.getContext().qa(),d;d=Lr(this.getContext());d=d.ls?d.ls.wd():null;null==d||2!=c.vc()&&2!=zs(c)?X(b,!1):(this.bw.Na(b),this.bw.mb("Pop-out"),rs(b,a),ZT(dU(new cU(this),this.kma).Hd(),this.bw,d,$T,t(this.Xaa,this)))};LZ.prototype.Xaa=function(){return new Ax(Z(this.getContext()).Ea().pb,this.bw)};LZ.prototype.kma=function(a,b,c,d,f){this.bw.setVisible(!!f);this.dispatchEvent("Wb")};function MZ(a){LZ.call(this,a);var b=this.U(),c=a.qa();this.qt=new xY(a);this.Aa(this.qt);this.oo=null;Lx(c)&&(this.oo=new jq(b,KL.Ra()),this.Aa(this.oo));this.Bc=null;0==zs(this.getContext().qa())&&(this.Bc=new IZ(a),this.Aa(this.Bc))}w(MZ,LZ);e=MZ.prototype;e.ra=function(){var a=S(fS,void 0,void 0,this.U());this.$=a;Gp(this.qt,a.firstChild);this.Bc&&this.Bc.Ka(a);this.profile&&this.profile.Ka(a);this.Wo&&this.Wo.Ka(a)};
e.ta=function(){MZ.R.ta.call(this);var a=this.U(),b=this.ua("drive-viewer-details-button");this.oo?(this.oo.Na(b),this.oo.mb("Details"),kh(this.oo.H(),"pressed",!1),this.ka().listen(this.oo,"action",this.tN).listen(Gr(this.getContext()),"Ca",this.Jm),rs(b,a)):X(b,!1);this.ka().listen(this.qt,"Wb",this.Gfa)};
e.layout=function(){if(this.Wo){var a=this.Wo;if(a.Ek){for(var b=a.U(),c=b.ua("drive-viewer-toolstrip-actions"),d=b.ua("drive-viewer-toolstrip-lft"),c=Zn(c).width?c:d,d=Kn(c),f=b.ua("drive-viewer-toolstrip-rgt-panel"),g=Kn(f),b=a.H(),c=fo(b)?d.x-g.x:g.x+Zn(f).width-d.x-Zn(c).width,d=a.getParent().H().childNodes,f=0;f<d.length;f++)if(g=d[f],g!=b&&eo(g))var h=mo(g),c=c-Zn(g).width-h.left-h.right;a=a.Ek.$;b=mo(a);c=c-b.left-b.right;b=Rn(a);c=c-b.left-b.right;b=lo(a,"padding");c=c-b.left-b.right;c=Math.min(c,
125);c=Math.max(c,0);Bn(a,"max-width",c+"px")}}};e.aT=function(a){this.qt.aT(a)};e.tN=function(a){var b=Gr(this.getContext());$y(b,!b.eg,a)};e.Jm=function(){var a=this.oo.H(),b=!nn(a,"drive-viewer-button-toggled");rn(a,"drive-viewer-button-toggled",b);kh(a,"pressed",Gr(this.getContext()).eg)};e.Gfa=function(){this.layout()};function NZ(a){Y.call(this,a);this.Ce=this.$f=null;2!=zs(a.qa())&&(this.$f=new GZ(a),this.Aa(this.$f),this.Ce=new AZ(a),this.Aa(this.Ce));this.uj=new MZ(a);this.Aa(this.uj);this.ka().listen(Z(a),"ea",this.Ib)}w(NZ,Y);e=NZ.prototype;e.ra=function(){this.$=S(cS,void 0,void 0,this.U());var a=this.H();this.$f&&this.$f.Ka(a);this.Ce&&this.Ce.Ka(a);this.uj.Ka(a)};
e.ta=function(){NZ.R.ta.call(this);cw(this.getContext()).addElement(this.H(),{position:"top"});var a=CB(this.getContext().U().getWindow());this.ka().listen(a,"resize",this.J1);this.ka().listen(this.uj,"Wb",this.ofa);this.Ce&&this.ka().listen(this.Ce,"Wb",this.J1);I(this.K6,100,this)};e.Ib=function(){var a=Z(this.getContext()).Ea().getFeature();cw(this.getContext()).fR(this.H(),a.hP())};
e.K6=function(){if(this.Xa&&2==zs(this.getContext().qa())){var a=this.H(),b=Zn(this.uj.H());Bn(a,"width",b.width+"px");b=wr(xr(this.getContext()))+"px";Bn(a,fo(a)?"left":"right",b)}};e.J1=function(){if(this.Ce){this.Ce.layout();var a;var b=this.Ce,c=b.H();a=fo(c);if(eo(c)){var d=b.sm;0<hZ(d).length||0<iZ(d).length?(b=jZ(b.sm),a=a?b-50:b+50):a=Pn(c).x+(a?0:Zn(c).width)}else a=a?0:b.U().zd().width;this.uj.aT(a);this.Ce.uJ()}this.$f&&this.$f.layout();this.uj.layout()};
e.ofa=function(){this.Ce&&this.Ce.uJ();this.K6();this.$f&&this.$f.layout()};function OZ(a){GZ.call(this,a);this.Bc=null;0==zs(this.getContext().qa())&&(this.Bc=new IZ(a),this.Aa(this.Bc))}w(OZ,GZ);OZ.prototype.ra=function(){OZ.R.ra.call(this);this.Bc&&Gp(this.Bc,this.H().firstChild)};function PZ(a){bZ.call(this,a)}w(PZ,bZ);PZ.prototype.GK=function(){var a=this.U().ua("drive-viewer-toolstrip"),a=Zn(a).width,b=this.U().ua("drive-viewer-toolstrip-open-and-openwith");this.Lx=b&&eo(b)?ao(b).left:a/2;(a=af(this.U(),this.H()))&&eo(a)&&(b=mo(a),a=Zn(a).width+b.left+b.right,this.Lx=Math.max(this.Lx-a,0));fZ(this)};function QZ(a){AZ.call(this,a)}w(QZ,AZ);QZ.prototype.ta=function(){QZ.R.ta.call(this);this.ka().listen(this,"Wb",this.layout)};QZ.prototype.NX=function(){var a=this.getContext();this.sm=new PZ(a);this.Aa(this.sm)};QZ.prototype.layout=function(){this.uJ()};QZ.prototype.uJ=function(){this.sm.GK(-1)};function RZ(a){LZ.call(this,a);this.Ce=null;2!=zs(a.qa())&&(this.Ce=new QZ(a),this.Aa(this.Ce))}w(RZ,LZ);RZ.prototype.ra=function(){var a=S(hS,void 0,void 0,this.U());this.$=a;this.Ce&&this.Ce.Ka(a);this.profile&&this.profile.Ka(a);this.Wo&&this.Wo.Ka(a)};RZ.prototype.layout=function(){this.Ce&&this.Ce.layout()};function SZ(a){Y.call(this,a);this.Re=this.$f=null;2!=zs(a.qa())&&(this.$f=new OZ(a),this.Aa(this.$f),this.Re=new qZ(a),this.Aa(this.Re));this.uj=new RZ(a);this.Aa(this.uj);a=Z(a);this.ka().listen(a,"ea",this.Ib).listen(a,"h",this.jda)}w(SZ,Y);e=SZ.prototype;e.ra=function(){var a=this.U();this.$=S(dS,void 0,void 0,a);a=a.ua("drive-viewer-toolstrip-inner",this.H());this.$f&&this.$f.Ka(a);this.Re&&this.Re.Ka(a);this.uj.Ka(a)};
e.ta=function(){SZ.R.ta.call(this);cw(this.getContext()).addElement(this.H(),{position:"top"});var a=Ar(this.getContext());this.ka().listen(a,"ib",this.tg);this.ka().listen(this.uj,"Wb",this.Qea);this.Re&&this.ka().listen(this.Re,"Wb",this.Mda)};e.Ib=function(){TZ(this)};e.jda=function(a){a=a.target;Ju(Z(this.getContext()),a)&&TZ(this)};
function TZ(a){var b=Z(a.getContext()).Ea(),c=b.getFeature(),d=cw(a.getContext()),b=c.rv()||4==b.getState();d.fR(a.H(),b);c=c.hP();rn(a.H(),"drive-viewer-toolstrip-fixed",c)}e.ul=function(){this.uj.layout();this.$f&&this.$f.layout()};e.tg=function(a){a.cq&&"Ca"==a.cq.type&&(a=fo(this.H()),Bn(this.H(),a?"left":"right",NB(Gr(this.getContext()))+"px"));this.ul()};
e.Qea=function(){if(2==zs(this.getContext().qa())){var a=Zn(this.uj.H());Bn(this.H(),"width",a.width+"px")}else this.Re&&eo(this.Re.H())||this.$f.layout()};e.Mda=function(){this.ul()};function UZ(a){Y.call(this,a);var b=this.U(),c=a.qa();this.sh=new jq(b);this.Aa(this.sh);this.yh=new jq(b);this.Aa(this.yh);this.ww=null;AP(a.qa())&&(this.ww=new vY(a),this.Aa(this.ww));this.Sx=new hY(a);this.Aa(this.Sx);this.kJ=null;3==c.vc()?this.kJ=new SZ(a):this.kJ=new NZ(a);this.Aa(this.kJ);this.lE=this.vU=this.EU=null;Lx(c)&&(this.lE=new yU(a),this.Aa(this.lE));this.fr=null;bw(a)&&(this.fr=new rY(a),this.Aa(this.fr));this.Kc=this.Vf=null;this.iO=!1;this.G6=null;this.Xx=!1;this.Lm=this.Pl=this.p2=
this.fw=null}w(UZ,Y);e=UZ.prototype;e.ra=function(){var a=this.getContext().qa(),b=zs(a),c=this.getContext().Od(),d;d=null==L(a,53)?!1:L(a,53);a={tga:!1,uga:!1,layout:b,qga:c,T$:d,D6:a.vc()};this.$=S(YR,a,void 0,this.U());this.Mp()};e.dc=function(a){UZ.R.dc.call(this,a);pn(a,"drive-viewer-static");this.Mp()};
e.Mp=function(){var a=this.$,b=this.getContext(),c=b.qa(),d=new AU(this);b.Wb(Fv,d);d=new FR(b,this);b.Wb(Av,d);d=b.Od()?new EU(b,a):new MR(b,a);b.Wb(rv,d);if(null==L(c,40)||L(c,40))d=new fW(b,a),A(this,d);aj(c,eP,62)&&(this.Lm=new cW(b,a),b.Wb(Bv,this.Lm));this.Fg(Gr(b));a=this.$;this.kJ.Ka(a);this.lE&&this.lE.Ka(a);this.fr&&this.fr.Ka(a);this.ww&&this.ww.Ka(a);0==zs(this.getContext().qa())&&jh(a,"dialog");this.U().pe(a,!0)};
e.ta=function(){UZ.R.ta.call(this);var a=this.getContext().qa(),b=zs(a);if(2!=b&&!this.Vf){var c=this.U();this.Vf=c.createElement("span");this.Vf.className="drive-viewer-tab-sentinel";X(this.Vf,!1);c.pe(this.Vf,!0);c.MO(this.Vf,this.$);this.Kc=new hy(this.Vf);A(this,this.Kc);this.ka().listen(this.Kc,"focusin",this.yr)}var c=this.U(),d=this.$;this.G6=te(c.Ba).y;this.Sx.Na(this.ua("drive-viewer-carousel"));this.sh.Na(this.ua("drive-viewer-next-button"));this.yh.Na(this.ua("drive-viewer-prev-button"));
kq(this.sh,0);kq(this.yh,3);var f=this.sh.H(),g=this.yh.H(),h=cw(this.getContext()),k=this.nf()?"left":"right",m=this.nf()?"right":"left";h.addElement(f,{position:k});h.addElement(g,{position:m});this.ww&&h.addElement(this.ww.H(),{position:"left"});if(E&&!Zd(10)||Ii&&!Yd(536.25))W(f,"drive-viewer-png-glow"),W(g,"drive-viewer-png-glow");rs([f,g],c);if(f=this.ua("drive-viewer-toolchest"))this.EU=new DY(this.getContext()),this.Aa(this.EU),this.EU.Na(f),h.addElement(f,{position:"bottom",B5:!0});uh(this.U(),
!1);this.OT();h=wr(xr(this.getContext()))+"px";f=this.ua("drive-viewer-next-button");g=this.ua("drive-viewer-prev-button");fo(this.H())?(f.style.left=h,g.style.right=h):(f.style.right=h,g.style.left=h);this.ka().listen(this.sh,"action",this.Br).listen(this.yh,"action",this.Cr);0==b&&(this.ka().listen(d,"mouseup",this.il),this.ka().listen(c.Ba,"focus",this.Zba));this.ka().listen(d,"keydown",this.xz).listen(c.Ba,"mousedown",this.nN,!0);this.ka().listen(d,"click",this.fl);this.ka().listen(c.getWindow(),
"message",this.LN);this.ka().listen(this,"y",this.Wca);if(b=a=aj(a,dw,47))b=null==L(a,1)?!1:L(a,1);b&&(this.vU=new en(this.Sx.H()),this.ka().listen(this.vU,"swipe_right",t(this.w0,this,this.nf()?this.Br:this.Cr)).listen(this.vU,"swipe_left",t(this.w0,this,this.nf()?this.Cr:this.Br)));a=Z(this.getContext());this.ka().listen(a,"fa",this.Ti).listen(a,"ea",this.Ib).listen(a,"ga",this.Km).listen(a,"ia",this.ai);0<Hx(a)&&this.Ti()};
e.w0=function(a,b){var c=Z(this.getContext()).Ea().hb;(null==c||0>=PG(c))&&a.call(this,b)};
e.OT=function(){var a=this.getContext(),b=zs(a.qa()),c=this.Fka;0!=b&&Z(a).getItem(0)instanceof bL&&(c=this.Gka);this.ka().listen(this.H(),["keydown","keyup","keypress"],c);var a=Mr(a),b=this.nf()?this.Cr:this.Br,c=this.nf()?this.Br:this.Cr,d=t(this.X_,this,c);BU(a,37,d,this);d=t(this.X_,this,b);BU(a,39,d,this);BU(a,72,c,this);BU(a,76,b,this);BU(a,27,this.Cca,this);Lx(this.getContext().qa())&&BU(a,68,this.tN,this);BU(a,79,this.QN,this);b=Nd?Do.Qn:Do.Pn;BU(a,[83,b],this.uN,this);BU(a,[191,Do.wq],this.v0,
this);BU(a,[191,b],this.v0,this)};e.LN=function(a){var b=this.getContext().qa(),c=Iu(b),b=xP(b),d=this.U().getWindow().location.origin;a=a.Qb;if((a.origin==d||!x(za(c))&&a.origin==c||!x(za(b))&&a.origin==b)&&null!=a.data){var f;try{f=Ni(a.data)}catch(g){return}if(!VZ(f))if(WZ(f,["keyName"])&&(c=Io(f.keyName))&&0<c.length)c=c[0],f={type:"keydown",ctrlKey:c.gn&Do.Pn,altKey:c.gn&Do.lV,shiftKey:c.gn&Do.wq,metaKey:c.gn&Do.Qn,keyCode:c.keyCode};else return;XZ(this,f)}};
e.Wca=function(a){a=a.Bga;VZ(a)&&XZ(this,a)};function XZ(a,b){var c=new G(b.type);cc(c,b);a.dispatchEvent(c)}function VZ(a){return WZ(a,"type ctrlKey altKey shiftKey metaKey keyCode".split(" "))}function WZ(a,b){if(Tb(a).length!=b.length)return!1;for(var c=0;c<b.length;c++)if(!(null!==a&&b[c]in a))return!1;return!0}e.Ti=function(){var a=1<Hx(Z(this.getContext()));X(this.sh.H(),a);X(this.yh.H(),a);Jr(Z(this.getContext()))&&a&&YZ(this)};e.Ib=function(){YZ(this);ZZ(this)};e.Km=function(){YZ(this);ZZ(this)};
e.ai=function(){ZZ(this)};function ZZ(a){var b=Z(a.getContext()),c=Px(b),b=b.Zo(b.Ea());a=a.H();rn(a,"drive-viewer-selection-mode",c);rn(a,"drive-viewer-active-selected",b)}function YZ(a){var b=Z(a.getContext()),c=b.Fe,d=Hx(b),b=a.sh,d=c<d-1;b.setEnabled(d);b.mb(d?"Next":"");a=a.yh;c=0<c;a.setEnabled(c);a.mb(c?"Previous":"")}e.Gka=function(a){this.dispatchEvent(a)};e.Fka=function(a){this.dispatchEvent(a);a.stopPropagation()};e.Ca=function(){return this.Xa?this.Sx.Ca():!1};
e.setVisible=function(a){var b=this.getContext();if(this.Ca()!=a){var c=cw(b);if(a){J(this.fw);this.fw=I(function(){this.fw=null},250,this);c.Td(!0);var d=b.qa();b.Od()||SR(c);2!=zs(d)&&UK(ur(b));this.Lm&&this.Lm.RG()}else c.Dg(),this.Lm&&this.Lm.Ur();rn(this.H(),"drive-viewer-shown",a);this.Sx.setVisible(a);uh(this.U(),a);this.Vf&&X(this.Vf,a)}};
e.QN=function(a){var b=this.getContext(),c=Z(b).Ea(),d=b.get(Kv).ZO(c);Gh(d,function(d){var g=Z(b);Jr(g)&&c.getId()==g.Ea().getId()&&d&&(d=Lo(a),Fs(oq(this.getContext()),{La:9,$a:d}),this.dispatchEvent(new kn(void 0,d)))},this)};e.uN=function(a){var b=Lr(this.getContext()).jg;if(b&&b.isEnabled()&&b.Ca()){var c=Z(this.getContext()).Ea(),c=new Ax(c.pb.Ya(),null);Pf(b,c,new yr(1));a.preventDefault()}};e.tN=function(a){var b=Gr(this.getContext());$y(b,!b.eg,a)};
e.v0=function(){this.Pl||(this.Pl=new bW(this.getContext()),A(this,this.Pl),this.Pl.Ka(this.H()),W(this.Pl.H(),"drive-viewer-shortcuts-help"),this.ka().listen(this.Pl,"hide",this.Zea));var a=this.Pl.Ca();a||Fs(oq(this.getContext()),{La:83});this.Pl.setVisible(!a)};e.Zea=function(){Fs(oq(this.getContext()),{La:84});UK(ur(this.getContext()))};
e.Cca=function(a){var b=bw(this.getContext());b&&0!=b.ug?(J(this.fr.Ec),this.dispatchEvent("w")):null!=this.Lm&&this.Lm.pA?this.Lm.Ur():(this.Xx=!$Z(this),b=Gr(this.getContext()).eg,this.Xx&&b?(b=Gr(this.getContext()),$y(b,!b.eg,a)):this.Ur(a))};e.yr=function(){this.iO||UK(ur(this.getContext()))};e.Ur=function(a){var b=qi(this.getContext(),xv);b&&b.Uj()||"x"==a.type&&this.fw||!this.Xx||0!=zs(this.getContext().qa())||(Fs(oq(this.getContext()),{La:3,$a:Lo(a)}),this.dispatchEvent("p"))};
e.Br=function(a){a.identifier&&cw(this.getContext()).uR(this.sh.H());a=Lo(a);Fs(oq(this.getContext()),{La:6,$a:a});this.dispatchEvent(new gn("q",a))};e.Cr=function(a){a.identifier&&cw(this.getContext()).uR(this.yh.H());a=Lo(a);Fs(oq(this.getContext()),{La:7,$a:a});this.dispatchEvent(new gn("t",a))};e.X_=function(a,b){a.call(this,b);b.preventDefault()};
e.xz=function(a){var b=this.H(),c=this.ua("drive-viewer-default");zs(this.getContext().qa());9==a.keyCode&&a.shiftKey&&a.target==c?a_(this):9==a.keyCode&&sn(b,"drive-viewer-focus-outlines-disabled","drive-viewer-focus-outlines-enabled")};e.nN=function(a){this.Ca()&&(sn(this.H(),"drive-viewer-focus-outlines-enabled","drive-viewer-focus-outlines-disabled"),eg(a)&&(this.Xx=!$Z(this),this.p2=a.target))};
e.il=function(a){var b=a.target,c=nn(b,"drive-viewer-close-enabled");this.p2==b&&c&&!this.getContext().Od()&&(this.dispatchEvent(new G("x",a.target)),this.Xx=!1)};e.fl=function(a){a=a.target;nn(a,"drive-viewer-focus-to-default")&&UK(ur(this.getContext()));var b=0==zs(this.getContext().qa());!nn(a,"drive-viewer-close-enabled")||!this.getContext().Od()&&b||UK(ur(this.getContext()))};e.Zba=function(){this.Ca()&&UK(ur(this.getContext()))};
function $Z(a){var b=qi(a.getContext(),yv);if(b&&b.Uj())return!0;var b=qi(a.getContext(),Lv),b=!!b&&b.cw,c=!!a.Pl&&a.Pl.Ca();a=Gr(a.getContext());return PB(a)||QB(a)||RB(a)||c||b}function a_(a){if(a.Vf){a.iO=!0;try{a.Vf.focus()}catch(b){}I(function(){this.iO=!1},0,a)}}e.Db=function(){UZ.R.Db.call(this);J(this.fw);this.fw=null;this.Vf&&this.U().removeNode(this.Vf)};function b_(a,b){Os.call(this,a,b)}w(b_,Os);b_.prototype.er=function(){this.item.lb(4,"No preview available","No preview available.",null)};function c_(a,b){Cr.call(this,a,b)}w(c_,Cr);function d_(a){Hm.call(this,"u",a)}w(d_,Hm);e=d_.prototype;e.Yd=function(a){return et(a)+a.getName()};e.qe=function(a){return!!a.getName()&&!!et(a)};e.kf=function(){return[]};e.If=function(){return em};e.Qi=function(){return c_};e.Zh=function(){return b_};e.rv=function(){return!0};var e_=/^(\d+h)?(\d+m)?(\d+s)?$/i,f_={small:240,medium:360,large:480,hd720:720,hd1080:1080,highres:8192},g_=["default","medium","high","standard","maxres"],h_={"default":"small",medium:"small",high:"medium",standard:"large",maxres:"hd720"};function i_(a,b){var c=f_[a],d=f_[b];return c<d?-1:c==d?0:1}function j_(a){for(var b=g_.length-1;0<=b;b--){var c=g_[b];if(tb(a,c))return c}return null};function k_(a,b){em.call(this,a,b);this.uri=new Zj(a.getVideoUrl(),!0);this.De=null;if(this.pb.lz()){for(var c={},d=bj(this.pb.lz(),l_,1),f=0;f<d.length;f++){var g=d[f];c[g.getKey()]=g.Ga()}Vb(c)||this.$p(c)}this.Kx=this.IM();this.kR=this.pR=this.mF()||m_;this.NP=!1;this.vB=null}w(k_,em);var m_=new D(640,360),n_=16/9,o_={loa:"Zb",i8:"$b",j8:"ac",opa:"bc",m8:"cc",Jqa:"dc"};e=k_.prototype;e.IM=function(){return[]};e.mF=function(){return null};e.rr=function(){return 2};e.lA=function(){return!1};
e.lz=function(){return this.De};e.$p=function(a){this.De=$b(a);this.Kx=this.IM();this.kR=this.mF()||this.kR;this.dispatchEvent("dc")};e.MD=function(){this.De=null};e.kc=function(){var a=this.De?this.De.reason||null:null;x(za(a))?this.lb(V.ERROR,"There was a problem playing this video."):this.lb(V.ERROR,a,a,null)};function p_(a){a=pk(a.uri,"autoplay");return"1"==a||"true"==a}e.Dg=function(){this.NP=!1;k_.R.Dg.call(this)};function q_(a,b){this.ZU=0;this.YU=Infinity;k_.call(this,a,b)}w(q_,k_);var r_=/(\d+)x(\d+)/;e=q_.prototype;e.rr=function(){return 1};e.lA=function(){return"ok"==(this.De?this.De.status||null:null)};e.Nd=function(a,b){return Zl(this.pb.Nd(),a,b,!0,void 0,!0)};e.qr=function(){return this.pb.Oa()};
e.$p=function(a){this.ZU=u();var b;if(a&&a.timestamp&&a.fmt_stream_map){b=db(a.timestamp);var c=ji(a.fmt_stream_map.split(",")[0].split("|")[1],"expire")||"",c=1E3*db(c);b=isNaN(b)||isNaN(c)?Infinity:c-b}else b=Infinity;this.YU=b;q_.R.$p.call(this,a)};e.mF=function(){if(null==this.Kx||0==this.Kx.length)return null;var a=this.Kx[0].height;return(new D(n_*a,a)).floor()};
e.IM=function(){if(null===this.De||x(za(this.De.fmt_list)))return[];for(var a=[],b=this.De.fmt_list.split(","),c=0;c<b.length;c++){var d=r_.exec(b[c]);if(d&&!x(za(d[0]))){var f=Number(d[1]),d=Number(d[2]);isNaN(f)||a.push(new D(f,d))}}Gb(a,function(a,b){return a.height>b.height?-1:a.height<b.height?1:0});return a};e.p1=function(){return this.lA()?u()-this.ZU+3E5>this.YU:!1};e.MD=function(){q_.R.MD.call(this);this.YU=Infinity;this.ZU=0};function s_(a,b){Os.call(this,a,b);this.eG=this.fG=!1;this.Rc.listen(this.item,o_.m8,this.t0).listen(this.item,o_.j8,this.WN).listen(this.item,o_.i8,this.VN)}w(s_,Os);e=s_.prototype;
e.er=function(){this.eG=this.fG=!1;if(!p_(this.item)||2!=zs(this.getContext().qa())){var a=this.item.pR.clone(),a=this.item.Nd(a.width,a.height);this.item.vB?this.item.lb(1):x(za(a))?this.n0():(a=Bh(qa(zH,a,this.getContext().U()),void 0,void 0,void 0,2),Gh(a,this.vea,this),Hh(a,this.n0,this),this.wf(a))}a=this.item;a.NP=!0;a.dispatchEvent("Zb")};e.vea=function(a){var b=this.item;a=a.getData();b.vB=a;b.dispatchEvent("bc");this.item.getState()==V.LOADING&&this.item.lb(V.LOADED)};
e.n0=function(){this.fG||(this.fG=!0,this.eG&&this.item.kc())};e.WN=function(){this.item.getState()==V.LOADING&&this.item.lb(V.LOADED)};e.VN=function(){this.eG||(this.eG=!0,this.fG&&this.item.kc())};e.t0=function(){this.item.$p({})};function t_(a,b){s_.call(this,a,b);this.item=a}w(t_,s_);
t_.prototype.t0=function(){var a=BH,b;a:switch(b=aj(this.getContext().qa(),pP,48)||new pP,null==L(b,2)?1:L(b,2)){case 1:var c=this.getContext().U();b=this.getContext().qa();c=tP(b)||Xh(c.getWindow().location.href);c=Rl("/get_video_info",c,b.zo());b=c=ei(c,"docid",this.item.qr(),"authuser",b.sg()||0);break a;case 2:c=this.getContext().U();b=this.getContext().qa();var c=tP(b)||Xh(c.getWindow().location.href),d=Xa("/file/d/",this.item.qr(),"/get_video_info");b=Rl(d,c,b.zo());b=ei(b,"rt","r");break a;
default:b=""}a=Bh(qa(a,b),t(this.m3,this),t(this.m3,this));Gh(a,this.Bia,this);Hh(a,this.Aia,this)};t_.prototype.Bia=function(a){var b={};a=xa(uH(a));a=new gk(a);for(var c=a.Zd(),d=0;d<c.length;d++){var f=c[d];b[f]=a.get(f)}this.item.$p(b)};t_.prototype.m3=function(a,b){(!n(b)||500>b)&&a.cancel()};t_.prototype.Aia=function(){this.item.$p({})};function u_(){return U('<div class="drive-viewer-video drive-viewer-itemview"><div class="drive-viewer-video-background"></div></div>')}function v_(){return U('<div class="drive-viewer-video-preview"><div class="drive-viewer-video-play-button"><div class="drive-viewer-video-play-icon"></div></div></div>')}function w_(a){var b=a.id;return U('<div class="drive-viewer-video-player" tabindex="0" title="'+wl(a.title)+'"><div id="'+wl(b)+'"></div></div>')};function x_(a,b,c){Y.call(this,c);this.item=b;this.ready=this.loaded=!1;this.kg=null;this.ks=a;this.Dd={};this.c6=new D(0,0);this.wa=yq(c);this.iw=null}w(x_,Y);function y_(a){switch(zs(a.getContext().qa())){case 0:return"preview";case 1:return"leaf";case 2:return"embed";default:return""}}e=x_.prototype;e.ra=function(){this.$=S(w_,{id:this.ks,title:"Video player"},void 0,this.U())};
e.ta=function(){x_.R.ta.call(this);if(this.item.De)this.A0();else{this.ka().Fb(this.item,"dc",this.A0);var a=this.item;a.De||a.dispatchEvent("cc")}a=Gr(this.getContext());this.ka().listen(a,"o",this.Jz)};e.A0=function(){this.item.lA()?this.s5():Vb(this.item.lz())?this.Tv(14):this.Tv(15)};
function z_(a){var b=a.getContext().qa(),c=a.item.qr(),d=tP(b)||Xh(a.U().getWindow().location.href),d=Rl("/vt",d,b.zo()),d=ei(d,"id",c,"authuser",b.sg()||"0"),b=d.substring(0,d.lastIndexOf("/vt")+1);Mb({ps:"docs",partnerid:"30",BASE_URL:b,BASE_YT_URL:b,docid:c,iurl:d},function(a,b){this.Dd[b]||(this.Dd[b]=a)},a)}e.St=p;function A_(a){return a.U().H(a.ks)}e.play=function(){this.ve()&&this.iR()};e.ne=function(){return this.ve()&&1==this.getPlayerState()};e.pause=function(){this.ve()&&this.zH()};
e.stop=function(){this.ve()&&this.oU()};e.xg=function(){return this.loaded};e.EQ=function(){this.Xa&&(this.loaded=!0,this.U().setProperties(A_(this),{title:"Video player"}),this.dispatchEvent("ec"))};e.ve=function(){return this.ready};e.onReady=function(){this.Xa&&(this.ready=!0,B_(this),this.dispatchEvent("fc"))};e.Tv=function(a){this.kg=a;C_(this,2,a);this.dispatchEvent("gc")};e.getError=function(){return this.kg};
e.jH=function(){switch(this.getPlayerState()){case 1:case 3:B_(this);break;case 2:case 0:C_(this,1)}this.dispatchEvent("hc")};function B_(a){a.iw||(a.iw=sq(a.wa,"vp_",{La:75,item:a.item}))}function C_(a,b,c){a.iw&&(uq(a.wa.Sb[a.iw]).kc(c),wq(a.wa,a.iw,b),a.iw=null)}e.getPlayerState=function(){return this.ve()?this.WM():-1};e.getCurrentTime=function(){return this.ve()?this.KM():0};e.seekTo=function(a){this.ve()&&this.VR(a)};e.setPlaybackQuality=function(a){this.ve()&&this.$S(a)};
e.getVolume=function(){return this.ve()?this.R_():0};e.setVolume=function(a){this.ve()&&this.u5(a)};e.cV=function(){this.setVolume(Math.min(100,this.getVolume()+10))};e.bV=function(){this.setVolume(Math.max(0,this.getVolume()-10))};e.handleGlobalKeyDown=function(a,b){this.ve()&&this.CN(a,b)};e.ma=function(){this.item.lA()||this.item.MD();x_.R.ma.call(this)};e.Jz=function(){this.pause()};function D_(a,b,c,d){x_.call(this,a,b,c);this.E0=!1;this.cZ=d;this.zE={onReady:t(this.onReady,this),onError:t(this.eja,this),onKeyPress:t(this.DQ,this),onStateChange:t(this.jH,this),onTabOrderChange:t(this.Oia,this)}}w(D_,x_);var E_=["fmt_list","fmt_stream_map","url_encoded_fmt_stream_map","ttsurl"],F_=[37,39,72,76,27],G_={0:5,2:9,5:10,100:11,101:12,150:13};function H_(a,b){for(var c=$b(b),d=0;d<E_.length;d++){var f=E_[d];c[f]&&(a.E0=!0,delete c[f])}return c}e=D_.prototype;
e.St=function(){this.Dd.cc3_module=1;n(this.cZ)&&(this.cZ?this.Dd.html5=1:this.Dd.nohtml5=1);this.Dd.wmode="window";var a,b=this.item;a=pk(b.uri,"t");b=b.uri.yu;a=a||(new gk(b)).get("t");a=(b=e_.exec(a))&&b[0]?(parseInt(b[3],10)||0)+60*(parseInt(b[2],10)||0)+3600*(parseInt(b[1],10)||0):parseInt(a,10)||0;0<a&&(this.Dd.start=a);this.Dd.override_hl=1;this.Dd.hl=this.Dd.hl||"en";1==this.item.rr()&&(this.Dd.enablecastapi=0)};
e.s5=function(){var a=this.getContext().qa();this.item.De&&cc(this.Dd,this.item.lz());1==this.item.rr()&&z_(this);this.Dd.el=y_(this);this.Dd.cc_load_policy=1;n(this.Dd.authuser)||(this.Dd.authuser=a.sg()||"0");this.St();this.ready=!1;this.TX(H_(this,this.Dd))};e.onReady=function(){this.ve()||(this.E0&&(1!=zs(this.getContext().qa())||vK()||wK()?this.cueVideoByPlayerVars(this.Dd):(this.loadVideoByPlayerVars(this.Dd),this.zH())),D_.R.onReady.call(this))};e.Oia=function(){this.dispatchEvent("ic")};
e.DQ=function(a){var b=a.data;if(!(null==b||null==b.keyCode||b.fullscreen||b.Kra&&0>F_.indexOf(b.keyCode))){a=a.data;var c=this.getContext();if(0==zs(c.qa())){var b=Hx(Z(c)),c=Z(c).Fe,d=a.keyCode;if(!(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey)){var f=!this.nf(),g=37==d||72==d,d=39==d||76==d;((f?g:d)&&0<c||(f?d:g)&&c<b-1)&&this.seekTo(this.getCurrentTime())}}this.dispatchEvent(new ln({type:"keydown",ctrlKey:a.ctrlKey||!1,altKey:a.altKey||!1,shiftKey:a.shiftKey||!1,metaKey:a.metaKey||!1,keyCode:a.keyCode}))}};
e.eja=function(a){a=G_[this.MY(a)];(5==a||10==a)&&this.item.p1()&&(a=8);this.Tv(a)};function I_(a,b,c,d){D_.call(this,a,b,c,d);this.Fi=null}w(I_,D_);e=I_.prototype;e.St=function(){I_.R.St.call(this);this.Dd.enablejsapi=1};e.TX=function(a){this.getContext().get(Yv).JG().then(t(this.Hha,this,a),t(this.Tv,this,6))};e.Hha=function(a){var b=this.getContext();a={host:qP(aj(b.qa(),pP,48)||new pP),width:"100%",height:"100%",playerVars:a,events:this.zE};0==this.item.rr()&&(a.videoId=this.item.qr());this.Fi=new (b.get(Yv).Sy())(this.ks,a);this.EQ()};
e.MY=function(a){return ia(a.data)?a.data:0};e.cueVideoByPlayerVars=function(a){this.Fi.cueVideoByPlayerVars(a)};e.loadVideoByPlayerVars=function(a){this.Fi.loadVideoByPlayerVars(a)};e.iR=function(){this.Fi.playVideo()};e.zH=function(){this.Fi.pauseVideo()};e.oU=function(){this.Fi.stopVideo()};e.WM=function(){return this.Fi.getPlayerState()};e.KM=function(){return this.Fi.getCurrentTime()};e.VR=function(a){this.Fi.seekTo(a,!0)};e.R_=function(){return this.Fi.getVolume()};e.u5=function(a){this.Fi.setVolume(a)};
e.$S=function(a){this.Fi.setPlaybackQuality(a)};e.CN=function(a,b){this.Fi.handleGlobalKeyDown(a,b)};function J_(a,b,c,d){D_.call(this,a,b,c,d);this.tO=qP(aj(c.qa(),pP,48)||new pP);this.S3=-1;this.g7=this.Ok=0;this.DU=null;cc(this.zE,{onVideoProgress:t(this.aja,this),onVolumeChange:t(this.cja,this)});this.ka().listen(this.U().getWindow(),"message",this.LN)}w(J_,D_);e=J_.prototype;e.St=function(){J_.R.St.call(this);this.Dd.enablepostapi=1;this.Dd.postid=this.ks;this.Dd.origin=Tl(this.U().getWindow())};
e.TX=function(a){var b=mi(this.tO,"embed/");0==this.item.rr()&&(b=mi(b,this.item.qr()));a=b=$h(ci([b],a));a=this.getContext().U().ra("IFRAME",{id:this.ks,src:a,frameborder:0,width:"100%",height:"100%",onload:t(this.Efa,this)});a.setAttribute("allowfullscreen","true");a.setAttribute("mozallowfullscreen","true");a.setAttribute("webkitallowfullscreen","true");var b=this.getContext().U().H(this.ks),c=b.parentNode;c&&c.replaceChild(a,b)};
e.Efa=function(){this.xg()||(this.DU=I(function(){this.xg()||this.Tv(7)},5E3,this))};e.xh=function(a,b){var c=A_(this);if(c&&c.contentWindow&&c.contentWindow.postMessage){var d={};d.command=a;null!=b&&(d.data=b);c.contentWindow.postMessage(Pi(d),this.tO)}else this.Tv(7)};e.LN=function(a){a=a.Qb;if(vk(a.origin,this.tO)){var b;try{b=Ni(a.data)}catch(c){return}(a=b.id)&&a==this.ks&&(a=b.command,"RECEIVING"==a?(this.EQ(),K_(this)):(a=this.zE[a],n(a)&&a.call(this,b)))}};
function K_(a){Mb(a.zE,function(a,c){this.xh("addEventListener",{event:c})},a)}e.MY=function(a){a=a.data.errorCode;return ia(a)?a:0};e.jH=function(a){var b=a.data.playerState;n(b)&&(this.S3=b);J_.R.jH.call(this,a)};e.DQ=function(a){var b=a.data;n(b.value)&&(cc(a.data,b.value),delete a.data.value);J_.R.DQ.call(this,a)};e.aja=function(a){a=a.data.value;n(a)&&(this.Ok=Number(a)||0)};e.cja=function(a){a=a.data.value.volume;n(a)&&(this.g7=Number(a)||0)};
e.cueVideoByPlayerVars=function(a){this.xh("cueVideoByPlayerVars",a)};e.loadVideoByPlayerVars=function(a){this.xh("loadVideoByPlayerVars",a)};e.iR=function(){this.xh("playVideo")};e.zH=function(){this.xh("pauseVideo")};e.oU=function(){this.xh("stopVideo")};e.WM=function(){return this.S3};e.KM=function(){return this.Ok};e.VR=function(a){this.xh("seekTo",{seconds:a,allowSeekAhead:!0})};e.R_=function(){return this.g7};e.u5=function(a){this.xh("setVolume",{volume:a})};
e.$S=function(a){this.xh("setPlaybackQuality",{suggestedQuality:a})};e.CN=function(a,b){this.xh("handleGlobalKeyDown",{keyCode:a,shiftKey:b})};e.ma=function(){J(this.DU);this.DU=null;J_.R.ma.call(this)};function L_(a,b,c){x_.call(this,a,b,c);this.ko=-1;this.Ok=0}w(L_,x_);e=L_.prototype;e.s5=function(){I(t(this.EQ,this),400);I(t(this.onReady,this),600)};e.onReady=function(){this.ko=5;L_.R.onReady.call(this)};e.iR=function(){-1==this.ko&&M_(this,3);M_(this,1)};e.zH=function(){1==this.ko&&(this.ko=2)};e.oU=function(){this.ko=5};e.WM=function(){return this.ko};e.KM=function(){return this.Ok};e.VR=function(a){return this.Ok=a};function M_(a,b){a.ko!=b&&(a.ko=b,a.jH(new G("stateChange",a)))}e.$S=p;
e.CN=p;function N_(){H.call(this);this.vha=0}w(N_,H);da(N_);function O_(a,b,c){var d;d=c.qa();d=null==L(d,14)?5:L(d,14);a="drive-viewer-video-player-object-"+a.vha++;switch(d){case 2:return P_(a,b,c);case 6:return P_(a,b,c,!1);case 5:return P_(a,b,c,!0);case 4:return new L_(a,b,c);default:return null}}function P_(a,b,c,d){var f=aj(c.qa(),pP,48)||new pP;switch(null==L(f,3)?1:L(f,3)){case 1:return new I_(a,b,c,d);case 2:return new J_(a,b,c,d);default:return null}};function Q_(a,b){Cr.call(this,a,b);this.W=a;this.C4=this.Nr=!1;this.Ob=this.tf=this.Mw=this.$t=this.QR=null;this.Kja=N_.Ra();this.Ue=null}w(Q_,Cr);e=Q_.prototype;e.ra=function(){this.$=S(u_,void 0,void 0,this.U())};
e.ta=function(){Q_.R.ta.call(this);var a=this.U();this.tf=S(v_,void 0,void 0,a);a.appendChild(this.H(),this.tf);var b=a.ua("drive-viewer-video-play-button",this.tf);this.Ue=new jq(a);this.Aa(this.Ue);var c=0==this.W.rr();this.Ue.Na(b);this.Ue.mb("Play",qr(this.W.getName(),c));this.Ue.setVisible(!1);rs(b,a);this.W.vB?this.o0():this.ka().Fb(this.W,"bc",this.o0);this.W.NP?this.j0():this.ka().listen(this.W,"Zb",this.j0)};
e.Tb=function(){Q_.R.Tb.call(this);this.layout();Qr(this);var a=Mr(this.getContext());Nr(a,13,this.Dz,this);Nr(a,32,this.Dz,this);Nr(a,187,this.Ro,this);Nr(a,107,this.Ro,this);Nr(a,189,this.Oo,this);Nr(a,109,this.Oo,this);this.ka().listen(this.U().Ba,"keydown",this.e0,!0);R_(this)?S_(this,!0,16):!this.W.vB&&this.tf&&T_(this)};e.Oc=function(){Q_.R.Oc.call(this);Rr(this);this.ka().ab(this.U().Ba,"keydown",this.e0,!0);this.Ob&&this.Ob.ne()&&this.Ob.pause()};
e.layout=function(){var a=this.zd(),b,c,d=2==zs(this.getContext().qa());d?b=a:(b=this.tf?this.W.pR.clone():this.W.kR.clone(),c=Rn(this.H()),b=new D(b.width+c.left+c.right,b.height+c.top+c.bottom),Dd(b,a)||(Ed(b,a),b.floor()));a=this.Pj(b);In(this.H(),a);d||(b=new D(b.width-c.left-c.right,b.height-c.top-c.bottom));Wn(this.H(),b);if(this.Ob&&(c=this.Ob,c.ve()&&!Dd(b,c.c6))){c.c6=b.clone();for(var d=c.item.Kx,a=null,f=0;f<d.length&&Dd(b,d[f]);f++)a=d[f];b=a||b;d="small";if(null!==b)for(a=Tb(f_),f=0;f<
a.length;f++){var g=a[f];f_[g]<=b.height&&0>i_(d,g)&&(d=g)}c.setPlaybackQuality(d)}};e.rea=function(){U_(this)};e.o0=function(){this.LF=this.W.vB;W(this.LF,"drive-viewer-video-preview-img");th(this.LF,"Displaying thumbnail of video "+this.W.getName());this.tf&&(this.U().appendChild(this.tf,this.LF),this.Ue.setVisible(!0),this.ka().Fb(this.LF,"click",this.wea).Fb(this.Ue,"action",this.mea))};e.WN=function(){this.QR=I(function(){V_(this);this.W.dispatchEvent("ac");this.Nr&&T_(this)},5E3,this)};
e.pea=function(){V_(this);this.W.dispatchEvent("ac");this.Nr&&(!this.uc()||vK()||wK()?T_(this):this.Ob.play())};e.VN=function(){V_(this);this.Nr&&T_(this);this.Ob.ve()||this.W.dispatchEvent("$b")};e.qea=function(){var a=this.Ob.getPlayerState();-1<a&&this.Nr&&T_(this);1==a&&(this.uc()?this.XO||(W_(this),X_(this,1)):this.Ob.pause())};e.j0=function(){this.$t=I(this.PX,250,this)};e.wea=function(a){a.target!=this.Ue.H()&&null==this.Mw&&S_(this,!1,10)};e.mea=function(){null==this.Mw&&S_(this,!1,2)};
e.Dz=function(){var a=this.getContext(),b=a.U().$c();!this.H().contains(b)&&!tr(ur(a))||this.Ue&&b==this.Ue.H()||this.Ob&&b==A_(this.Ob)||(this.tf?S_(this,!1,1):this.Ob&&this.Ob.ve()&&(this.Ob.ne()?this.Ob.pause():this.Ob.play()))};e.Ro=function(){Y_(this)&&this.Ob.cV()};e.Oo=function(){Y_(this)&&this.Ob.bV()};function Y_(a){return!a.tf&&!!a.Ob&&a.Ob.ve()}function R_(a){var b=zs(a.getContext().qa()),c=0==b,c=Z(a.getContext()).At&&c,b=2==b;return c||p_(a.W)&&b}
function W_(a,b){var c=a.getContext(),d=oq(c);Fs(d,{La:25,$a:b,item:a.W});var f="ctp"+a.W.getId();yq(c).Sb[f]||pq(yq(c),f,{La:78,$a:b,item:a.W,Vt:R_(a)?d.cB:u()});Ir(a)}function X_(a,b){var c="ctp"+a.W.getId();if(yq(a.getContext()).Sb[c]){var d=yq(a.getContext()),f=d.Sb[c],g=a.Ob.getError();2==b&&null!=g&&uq(f).kc(g);wq(d,c,b)}}function V_(a){a.C4=!0;2==a.W.xo()&&(a.Ob.getError()?a.W.Rd(4,a.Ob.getError()):a.W.Rd(1))}
function S_(a,b,c){null!=a.$t&&a.PX();W_(a,c);b||Z_(a);a.Nr||(a.Nr=!0,a.Ob&&a.Ob.ve()&&!vK()&&!wK()&&a.Ob.play(),a.C4&&T_(a))}function Z_(a){a.Mw=I(function(){this.Mw=null;var a=this.U();if(a.ua("drive-viewer-video-preview-img",this.tf)){a.fe(this.tf);var c=S(ku,void 0,void 0,a);a.appendChild(this.tf,c)}},50,a)}
e.PX=function(){J(this.$t);this.$t=null;this.W.Rd(2);var a=this.getContext();this.Ob=O_(this.Kja,this.W,a);this.Aa(this.Ob);this.ka().Fb(this.Ob,"ec",this.WN).Fb(this.Ob,"fc",this.pea).Fb(this.Ob,"gc",this.VN).listen(this.Ob,"hc",this.qea).listen(this.Ob,"ic",this.rea);this.Ob.Ka(this.H());this.Ob.H().style.visibility="hidden"};
e.e0=function(a){if(Y_(this)){var b=[a.keyCode];a.shiftKey&&b.push(1);Mr(this.getContext()).dP(b)||(tr(ur(this.getContext()))||this.U().$c()==this.Ob.H())&&this.Ob.handleGlobalKeyDown(a.keyCode,a.shiftKey)}};function U_(a){var b=ur(a.getContext());a.Ob?b.focus(a.Ob.H()):UK(b)}
function T_(a){a.Nr=!1;a.Ob.H().style.visibility="visible";if(a.tf){var b=null!=a.Ob.getError();X_(a,b?2:1);b&&!a.Ob.ve()?a.W.kc():(tr(ur(a.getContext()))&&U_(a),a.tf&&(b=a.U(),a.tf.contains(b.$c())&&U_(a),J(a.Mw),a.Mw=null,a.Ue.dispose(),a.Ue=null,b.removeNode(a.tf),a.tf=null),Rr(a),a.layout(),Qr(a))}}e.Db=function(){Q_.R.Db.call(this);J(this.QR);J(this.$t);this.$t=this.QR=null;4==this.W.getState()&&this.W.Dg();this.W.Rd(0);X_(this,3)};function $_(a,b){Hm.call(this,a,b)}w($_,Hm);$_.prototype.If=function(){return k_};$_.prototype.Qi=function(){return Q_};$_.prototype.Zh=function(){return s_};function a0(a){Hm.call(this,"v_d",a)}w(a0,$_);e=a0.prototype;e.If=function(){return q_};e.Zh=function(){return t_};e.kf=function(){return["application/x-flash-video","application/video","application/vnd.google-apps.video","video/"]};e.Yd=function(a){return et(a)+a.Oa()};e.qe=function(a){return!!a.getName()&&!!a.Oa()};e.Kf=function(){return[0]};e.isSupported=function(){return!ft(this.getContext().qa())};function b0(a){gL.call(this,a)}w(b0,gL);b0.prototype.$M=function(){return"onYouTubeIframeAPIReady"};b0.prototype.FM=function(){var a=aj(this.getContext().qa(),pP,48)||new pP;return mi(qP(a),"iframe_api")};b0.prototype.Sy=function(){return ca("YT.Player",this.getContext().U().getWindow())};function c0(a,b){k_.call(this,a,b)}w(c0,k_);e=c0.prototype;e.rr=function(){return 0};e.lA=function(){return!0};e.Nd=function(){var a;this.De&&(a=j_(Tb(this.De)),a=this.De[a]);return a||this.pb.Nd()||window.location.protocol+"//i.ytimg.com/vi/"+this.qr()+"/mqdefault.jpg"};e.qr=function(){return pk(this.uri,"v")};
e.mF=function(){if(null===this.De)return null;var a=j_(Tb(this.De)),b;a&&(b=h_[a]);switch(this.De.definition){case "hd":b="hd720";break;case "sd":b&&(b=0>i_(b,"large")?b:"large")}a=b||"unknown";"unknown"==a?a=null:(a=f_[a],a=(new D(n_*a,a)).round());return a};e.p1=function(){return!1};function d0(a){Hm.call(this,"v_y",a)}w(d0,$_);e=d0.prototype;e.If=function(){return c0};e.kf=function(){return["video/x-youtube"]};e.Yd=function(a){return et(a)+a.getVideoUrl()};e.qe=function(a){return a.getName()&&a.getVideoUrl()?(a=a.getVideoUrl(),!!pk(new Zj(a,!0),"v")):!1};e.Kf=function(){return[4]};function e0(a){z.call(this);this.yha=aw(a)}w(e0,z);e0.prototype.showNotification=function(a,b,c,d){this.yha.showNotification(a,b,c,d)};function f0(a,b){H.call(this);this.S=new Zv;A(this,this.S);this.rH=null;this.I6=!1;this.$T=0;this.SK=null;var c=a||new rP,d=b||he();this.S.Wb(sv,c);this.S.Wb(wv,d);this.Ld=new CF;A(this,this.Ld);this.S.Wb(Dv,new jL(this.S,this.Ld));var f=this.S,g=Number,h;h=null==L(c,27)?"20":L(c,27);f=new rL(f,g(h));this.S.Wb(Tv,f);f=new Ex(this.S);this.S.Wb(uv,f);if(0==zs(c)){f=aj(c,hP,60);if(g=!!f)g=null==L(f,2)?!1:L(f,2);f=g;g=c.vc();!this.S.Od()&&(2==g||3==g&&f)&&(f=new AB,this.S.Wb(Uv,f))}f=new LB(this.S);this.S.Wb(Wv,
f);f=new aH(this.S);this.S.Wb(Xv,f);f=new HB(this.S);this.S.Wb(Gv,f);this.le=new CC(this.S);this.S.Wb(Cv,this.le);this.wa=new nq(this.S);this.S.Wb(Nv,this.wa);f=new JC(this.S);this.S.Wb(Ev,f);f=new IC(this.S);this.S.Wb(Fr,f);f=new NC(this.S);this.S.Wb(Sv,f);if(g=Lx(this.S.qa()))f=new VB(this.S),this.S.Wb(Gm,f);this.Sga=new CL(this.S);this.S.Wb(Hv,this.Sga);f=new IY(this.S);this.S.Wb(Jv,f);f=new gW;this.S.Wb(Qv,f);f=new Dz(this.S);this.S.Wb(Rv,f);this.$ja=new e0(this.S);A(this,this.$ja);f=pi(c);if(h=
!!f)lv(this.S,ri,vL),lv(this.S,Fm,wL),g&&zP(c)&&(lv(this.S,Mv,xF),lv(this.S,Lv,yF)),gw(f)&&hw(f)&&lv(this.S,yv,BF),this.S.Wb(Ov,new bP(this.S));Kz(c)&&(g=new PC(this.S),this.S.Wb(vv,g));g=new Jz(this.S);this.S.Wb(tv,g);this.VX=new Qf(g);A(this,this.VX);if(g=h)g=null==L(f,1)?!1:L(f,1);g&&lv(this.S,qv,xB);if(h&&gw(f)){h=hw(f);var k=aj(f,Vs,16),f=k&&jw(k),k=k&&iw(k);(h||f||k)&&this.S.Wb(zv,new ew(this.S))}f=g?new Uz(this.S):new Sz(this.S);this.S.Wb(Kv,f);f=new DR(this.S);this.S.Wb(Vv,f);f=new rh(d);
this.S.Wb(pv,f);this.S.Wb(Yv,new b0(this.S));f=this.S.qa();pi(f)&&gw(pi(f))&&(DF(this.Ld,new dt(this.S)),DF(this.Ld,new gt(this.S)));if(null==L(f,10)?0:L(f,10))DF(this.Ld,new Lu(this.S)),DF(this.Ld,new Ku(this.S));if(g=aj(f,iL,68))g=aj(f,iL,68),g=null==L(g,1)?!1:L(g,1);g&&(DF(this.Ld,new fL(this.S)),this.S.Wb(Iv,new hL(this.S)));DF(this.Ld,new aL(this.S));DF(this.Ld,new ZK(this.S));DF(this.Ld,new $O(this.S));DF(this.Ld,new aP(this.S));YO(f)&&DF(this.Ld,new NP(this.S));DF(this.Ld,new UO(this.S));DF(this.Ld,
new WO(this.S));$K(f)&&DF(this.Ld,new QP(this.S));DF(this.Ld,new BR(this.S));DF(this.Ld,new CR(this.S));DF(this.Ld,new oR(this.S));DF(this.Ld,new pR(this.S));DF(this.Ld,new d_(this.S));if(null==L(f,13)||L(f,13))DF(this.Ld,new a0(this.S)),DF(this.Ld,new d0(this.S));if(f=pi(c))f=null==L(c,22)?!1:L(c,22);f&&(Fs(this.le,{La:1}),this.S.get(Sv).start(),this.S.get(Fr).setEnabled(!!dP(pi(c))));this.Bd=new UZ(this.S);A(this,this.Bd);this.Xt=new EB(this.S,this.Bd);A(this,this.Xt);c=new zB(this.S);A(this,c);
this.e7=new TB(this.S);A(this,this.e7);this.ha=new K(this);A(this,this.ha);c=Z(this.S);f=Gr(this.S);d=d.getWindow();this.ha.listen(c,"ea",this.Ib).listen(c,"ia",this.ai).listen(c,gm.ZJ,this.Dr).listen(f,"o",this.Jz).listen(this.Bd,"p",this.Sj).listen(d,"beforeunload",this.uba,!0);(d=bw(this.S))&&this.ha.listen(d,"ya",this.Gz)}w(f0,H);e=f0.prototype;e.iK=function(a){Z(this.S).iK(a)};e.Ca=function(){return this.Bd.Ca()};e.Fu=function(){return this.S.Fu()};
e.close=function(){Fs(this.le,{La:3,$a:16});g0(this)};e.isSupported=function(a){var b=this.S.qa();if(kL(this.S.get(Dv),a)||a.Nd())return Dh(!0);if(vP(b)&&yP(b)){var c=new em(a,""),d=new wh;(new JX(this.S)).Zk(c,function(a,b){d.qb(0<a.length+b.length);c.dispose()});return d}return Dh(!1)};e.focus=function(a){this.Ca()&&(UK(ur(this.S),a),uh(this.S.U(),!0))};function h0(a,b){b.getState()==V.LOADED?a.dispatchEvent(new cz(b.pb,1)):b.getState()==V.ERROR&&a.dispatchEvent(new cz(b.pb,2))}
e.Ib=function(){var a=Z(this.S),b=a.Ea();this.dispatchEvent(new i0(b.pb));h0(this,b);2>=Hx(a)-a.Fe&&this.dispatchEvent(new j0)};e.ai=function(){var a=Z(this.S);mb(a.getSelected(),function(a){return a.pb});this.dispatchEvent(new fz(a.Ea().pb))};e.Dr=function(a){var b=Z(this.S);Jr(b)&&(b=b.Ea(),b==a.target&&h0(this,b))};e.Gz=function(){0!=bw(this.S).ug&&this.dispatchEvent(new j0(!0))};
e.Jz=function(){var a=Z(this.S).Ea();2==bz(this.S.qa())?this.dispatchEvent(new dz(a.pb)):Iw(a.iF(),{target:"_blank"});UK(ur(this.S))};e.Sj=function(){g0(this)};e.uba=function(){this.I6=!0;this.Ca()&&(Fs(this.le,{La:3,$a:15}),this.S.get(Sv).flush())};e.En=function(a){this.Bd.setVisible(a);var b=this.Bd,c=b.U().Ba,d=a?c.body:c.documentElement;rn(c.body,"drive-viewer-fixed-frame",a);d.scrollTop=b.G6};function g0(a){a.En(!1);a.S.get(Sv).flush();J(a.SK);a.SK=I(a.Vx,100,a)}
e.Vx=function(){var a=Z(this.S);Px(a)&&a.LD();a.Fe=null;a.At=!1;tL(a.lC);a.dispatchEvent("ha");null!=this.rH&&(ur(this.S).focus(this.rH),this.rH=null);Hz(this.Fu());this.dispatchEvent("lc");this.le.cB=null};e.Zia=function(a,b){b.id==a.pb.Oa()&&b.lastViewedByMeDate&&a.Mb&&a.Mb.Wa&&wm(a.Mb.Wa,new Date(b.lastViewedByMeDate))};e.ma=function(){J(this.SK);this.Ca()&&(this.I6||Fs(this.le,{La:3,$a:15}),this.En(!1),X(this.Bd.H(),!1),this.Vx());this.S.get(Sv).flush();f0.R.ma.call(this)};
function j0(a){G.call(this,"jc");this.all=!!a}w(j0,G);function i0(a){G.call(this,"kc");this.item=a}w(i0,G);function k0(a,b,c,d,f,g,h,k){this.Zr=f;this.mU=g;A(this,this.mU);this.Xc=a;this.bg=b;this.aH=h;this.Ud=new Sf(this);A(this,this.Ud);this.Fc=c;A(this,this.Fc);this.a7=d;this.nl={};this.kl=k;this.ha=new K(this);A(this,this.ha);this.Kc=new hy(document);A(this,this.Kc)}w(k0,z);e=k0.prototype;
e.Ke=function(){y(this.a7,function(a,b){this.nl[a.Oa()]=b},this);this.ha.listen(this.bg,"nc",this.wfa).listen(this.bg,"oc",this.B0).listen(this.bg,"pc",this.B0).listen(this.bg,"qc",this.hba).listen(this.bg,"rc",this.Rda).listen(this.Zr,"sc",this.mN).listen(this.Zr,"tc",this.lN).listen(this.Fc,"kc",this.yfa).listen(ve(),"resize",this.tg);this.ha.listen(this.Kc,"focusin",this.aia);this.ha.listen(this.Kc,"focusout",this.bia);this.Ud.xk(Rf,Hf,this.uN);this.kl.getToken()&&l0(this.bg,this.kl.getToken())};
e.aia=function(a){a=ne("flip-entry-hover-card",a.target);m0(a,!0)};e.bia=function(a){a.target&&nn(a.target,"flip-entry-action-button")?(a=We(a.target),m0(a,!1)):a.relatedTarget&&!nn(a.relatedTarget,"flip-entry-action-button")&&(a=ne("flip-entry-hover-card",a.target),m0(a,!1))};function m0(a,b){null!=a&&Bn(a,"display",b?"block":"")}e.hba=function(){var a=this.Zr,b=new n0(8,[a.Sa],{addedFolders:[a.E4],removedFolders:[]});a.ZK.sendRequest(b);this.bg.Ct.setEnabled(!1)};
e.Rda=function(){var a=this.aH;a.Ba.location=a.uY};e.mN=function(){var a='"'+(this.Xc.getName()+'" has been added to "My Drive"'),b=this.bg;b.Ct.setVisible(!1);o0(b.QQ,"flip-hidden");p0(this.mU,a)};e.lN=function(){var a='Failed to add "'+(this.Xc.getName()+'" to "My Drive". Please try again.');this.bg.Ct.setEnabled(!0);p0(this.mU,a)};e.yfa=function(a){a=a.item.Oa();a=this.Xc.Iy[a]||null;Rf.setVisible(a&&a.az())};
e.uN=function(a){a=a.data.getItem().Oa();a=this.Xc.Iy[a]||null;a.az()&&q0(this.aH,a.az(),!0)};
e.wfa=function(a){var b=u();if(a.rha)a=(this.Xc.Iy[a.jP]||null).dl(),q0(this.aH,a,!0);else{var c=kc(this.Xc.Iy[a.jP]||null,2);if(c)q0(this.aH,c,!1,!0);else{var d;a=this.nl[a.jP];d=ia(a)?a:-1;if(0<=d){a=this.Fc;var f=this.a7;if(!a.Bd.Ca()){a.le.cB=u();a.$T++;if(qi(a.S,Pv)){c=a.S;if(!c.xf[Pv])throw Error('Service for "'+Pv+'" is not registered');var g=c.xf[Pv];delete c.xf[Pv];g[1]&&rc(g[0])}ia(b)&&(c=sq(a.wa,"ctsv_",{La:52,oj:a.$T,Vt:b,vQ:f.length}),wq(a.wa,c));c=sq(a.wa,"ov_",{La:2,oj:a.$T});g=a.S.U();
a.rH=g.$c();g=Z(a.S);g.iK(f);var h=a.S.U();a.Bd.Xa||((h=h.ua("drive-viewer"))?a.Bd.Na(h):a.Bd.Ka());h=0;0<=d&&d<f.length&&(h=d);Fx(Z(a.S),f[h],b);AP(a.S.qa());a.En(!0);a.dispatchEvent("mc");UB(a.e7);b=g.Ea();d=a.wa.Sb[c];f=b.bz();cj(d,5,f);d=uq(d);f=Hx(g);N(d,4,f);wq(a.wa,c);if(d=c=Zx(a.S.qa()))d=null==L(c,4)?!1:L(c,4);d&&a.S.get(Sv).flush();if(d=c=pi(a.S.qa()))d=null==L(c,14)?!1:L(c,14);d&&qi(a.S,Fm)&&Nx(b)&&(c=qi(a.S,Fm),d=b.pb.Oa(),a=t(a.Zia,a,b),b=Ph(Qh(Sh(new Mh(c.Jc,xi(c,d,"lastViewedByMeDate")+
"&modifiedDateBehavior=NO_CHANGE","drive#file")),"PUT"),4).start(),c.wf(b),Gh(b,a),Hh(b,p))}}}}};e.B0=function(a){a="oc"==a.type?"list":"grid";this.kl.Rs(a);l0(this.bg,a)};e.tg=function(){this.bg.resize()};function r0(a){a=a.className;return r(a)&&a.match(/\S+/g)||[]}function o0(a,b){var c=r0(a),c=s0(c,Cb(arguments,1));a.className=c.join(" ")}function s0(a,b){return lb(a,function(a){return!tb(b,a)})}function t0(a,b,c){var d=r0(a);r(b)?wb(d,b):fa(b)&&(d=s0(d,b));if(r(c)&&!tb(d,c))d.push(c);else if(fa(c)){b=d;for(var f=0;f<c.length;f++)tb(b,c[f])||b.push(c[f])}a.className=d.join(" ")}function u0(a,b){return tb(r0(a),b)};function v0(a,b,c){G.call(this,"nc",c);this.jP=a;this.rha=b}w(v0,G);function w0(a,b,c){H.call(this);this.Ha=he();this.ZV=this.Ha.ua("flip-header-add-to-drive-button",a);this.Ct=jV(null,this.Ha);A(this,this.Ct);this.QQ=this.Ha.ua("flip-header-open-in-drive-button",a);this.PQ=jV(null,this.Ha);A(this,this.PQ);this.HP=this.Ha.ua("flip-list-view-button",a);var d=this.zA=kV(this.Ha);d.yj&=-17;A(this,this.zA);this.iN=this.Ha.ua("flip-grid-view-button",a);d=this.sz=kV(this.Ha);d.yj&=-17;A(this,this.sz);this.zY=this.Ha.ua("flip-contents",a);this.xE=this.Ha.ua("flip-entries",
a);this.Eaa=this.Ha.ua("flip-folder-title",a);this.FU=this.Ha.ua("flip-top-folder-link",a);this.rz=b;this.AA=c;this.ha=new K(this);A(this,this.ha)}w(w0,H);e=w0.prototype;
e.Ke=function(){this.ha.listen(this.Ct,"action",this.fba).listen(this.PQ,"action",this.Qda).listen(this.zA,"action",this.sda).listen(this.sz,"action",this.Sca).listen(this.xE,"click",this.zca).listen(this.xE,"keypress",this.Aca);this.ZV&&this.Ct.Na(this.ZV);this.QQ&&this.PQ.Na(this.QQ);this.HP&&(lp(this.HP),this.zA.Na(this.HP));this.iN&&(lp(this.iN),this.sz.Na(this.iN));x0(this);this.resize();try{E&&this.Ha.Ba.body.focus(),this.Eaa.focus()}catch(a){}};e.fba=function(){this.dispatchEvent("qc")};
function l0(a,b){a.FU&&(a.FU.href=Yh(a.FU.href)+(b?"#"+b:""))}e.Qda=function(){this.dispatchEvent("rc")};e.sda=function(){y0(this,!0)};e.Sca=function(){y0(this,!1)};function y0(a,b){a.AA!=b&&((a.AA=b)?t0(a.zY,"flip-grid-view","flip-list-view"):t0(a.zY,"flip-list-view","flip-grid-view"),x0(a),a.resize(),a.dispatchEvent(b?"oc":"pc"))}function x0(a){bq(a.zA,a.AA);bq(a.sz,!a.AA)}e.zca=function(a){z0(this,a.target,a.GH)};e.Aca=function(a){13==a.keyCode&&(a=this.Ha.$c())&&z0(this,a)};
function z0(a,b,c){var d;d=A0(b,"flip-entry-action-button");d||(b=(b=A0(b,"flip-entry"))?b.id.substring(6):null)&&a.dispatchEvent(new v0(b,!!c))}function A0(a,b){for(;a&&!u0(a,b);)a=a.parentNode;return a}
e.resize=function(){var a=this.Ha.getChildren(this.xE);if(this.AA)for(b=0;b<a.length;b++)a[b].style.removeProperty("width"),a[b].style.removeProperty("height");else{var b=this.rz,c=this.xE.clientWidth-18,d=Math.ceil(c/212);b.GD=b.eaa<d?190:Math.floor(c/d)-22;for(var b=0;b<a.length;b++)if(c=a[b],c.style.width=this.rz.GD+"px",c.style.height=this.rz.GD+"px",c=c.getElementsByTagName("img")[0])c.style.maxWidth=this.rz.GD-10+"px",c.style.maxHeight=this.rz.GD-30+"px"}};function B0(a,b){this.Lb=a;this.Iy={};y(b,function(a){this.Iy[a.getId()]=a},this)}B0.prototype.getName=function(){return this.Lb};function C0(a){this.eaa=a};function D0(a,b){this.Ba=document;this.uY=a;this.kl=b}function q0(a,b,c,d){d&&(d=a.kl.getToken(),b=Yh(b)+(d?"#"+d:""));c?ve(a.Ba).open(b):a.Ba.location=b};var E0={gqa:"starred",Aqa:"trashed",Bqa:"explicitlyTrashed",Xpa:"shared",tpa:"published",Pma:"blogged",voa:"mine",DELETED:"deleted",HIDDEN:"hidden",Wpa:"shareable",$ma:"collaboratorsCanInvite",Uoa:"openInvites",READ_ONLY:"readOnly",sqa:"system",Ypa:"sewm",Cna:"abuse",Oma:"blob_versionable",bna:"convertible",Yma:"changeOwner",jqa:"subscribed",iqa:"subscribable",Gqa:"unsubscribable",roa:"marked_for_offline",Hpa:"restrictedDownload",qna:"downloadable",cna:"copyable",Nma:"blobMissing"};function F0(a){this.Lb=a.name||null;this.VV=a.actionCategory;this.pq=!x(za(this.Lb));this.Hq=a.attributes||{}}function G0(a){return null!=a.minimumRole}F0.prototype.getName=function(){return this.Lb};F0.prototype.HM=function(a){return this.Hq[a]};F0.prototype.Z4=function(a,b){this.Hq[a]=b};F0.prototype.Qy=function(){return 0};function H0(a){F0.call(this,a);this.vx=a.actionType}w(H0,F0);H0.prototype.Qy=function(){return 2};var I0={wt:"success",aoa:"item_already_exists",Fqa:"unknown_failure",Upa:"server_error",Cpa:"rate_limit_exceeded",Hqa:"user_error",NOT_FOUND:"not_found",PERMISSION_DENIED:"permission_denied"};function J0(a){return Ub(I0,function(b){return b==a})?a:null};function K0(a){this.Sa=a.id;this.zc=J0(a.status)}K0.prototype.getId=function(){return this.Sa};K0.prototype.getType=function(){return this.zc};function L0(a){this.F$=a.displayName||""}L0.prototype.$y=function(){return this.F$};function M0(a){this.sM={};a=a||l._docs_flag_initialData;var b=l.WIZ_global_data;!a&&b&&(a=b.docsClientConfig_);a&&this.bm(a)}da(M0);M0.prototype.get=function(a){return this.sM[a]};function N0(a,b){var c=a.get(b);return r(c)?"true"==c||"1"==c:!!c}M0.prototype.getString=function(a){a=this.get(a);return null!=a?String(a):""};M0.prototype.bm=function(a){cc(this.sM,a)};function O0(a){Xi(this,a,null)}w(O0,Vi);O0.prototype.Ya=function(){return ij(this)};function P0(a){var b=Oi(a.cfg||"[]")||[];Xi(this,b,null);this.Ye=a.token;this.s4=a.requestTimeout;this.HR=a.rrl;this.Ie=a.email;this.hG=a.rtl;this.zs=a.protocolVersion;this.E4=a.ri;this.Cm=a.gaiaSessionId;this.ZQ=a.ups||50;for(var b=this.fN(),c=0;c<b.length;c++)a[b[c]]=void 0}w(P0,O0);var Q0=null;P0.prototype.fN=function(){return[]};P0.prototype.getToken=function(){return this.Ye};P0.prototype.getEmail=function(){return this.Ie};P0.prototype.sg=function(){return this.Cm};function R0(a){var b=M0.Ra();this.$=a.element;this.nq=a.uploadUrl;this.iy=a.domain||null;this.cla=a;new qj(Oi(a.prm||"{}"));N0(b,"efunct");this.O$=!!a.ebc;this.mma=a.dpfx;this.gla=a.sid||"";this.RP=a.lsiiu||"";b.getString("docs-offline-lsuid");N0(b,"pado");a.xax&&b.bm({xdbcfAllowHostNamePrefix:!0,xdbcfAllowXpc:!0,xdbcmUri:a.xu});if(a.ocrInputLanguages)for(var c=a.ocrInputLanguages,d=[],f=c.length,g=0;g<f;g++)d.push(new L0(c[g]));this.pO=a.hu||"";this.K9=a.bl||"";this.Oka=a.rl||"";b.getString("docs-obsImUrl");
this.N$=!!a.ecbcl;N0(b,"eer");P0.call(this,a)}w(R0,P0);var S0=null;function T0(){if(!S0){var a=new R0({});S0=a;if(Q0)throw Error("BaseConfig object already constructed.");Q0=a}return S0}e=R0.prototype;e.fN=function(){var a=R0.R.fN.call(this);return a=a.concat("element tsb actionStatusElement loadingStatusElement additionalStatusElement cookieFetchElement dw logoutElement surveyLink ssl ghe di spellCorrectionElement".split(" "))};e.H=function(){return this.$};e.zo=function(){return this.iy};e.pj=function(){return Pi(this.cla)};
e.hz=function(){return this.gla};e.JM=function(){return this.K9};e.aN=function(){return this.Oka};function U0(){this.UW=0;this.Iaa=new CT}U0.prototype.Hd=function(){return this.Iaa.format(this.UW)};function V0(a){this.QL=a.docId||"";this.GE=a.filename||"";var b=a.sizeInBytes;this.xla=null!=b?b:-1;this.pB=!!a.pinned;this.pC=a.tags||[];this.G$=a.downloadUrl||"";a=new U0;a.UW=this.xla;a.Hd()}V0.prototype.BZ=function(){return this.GE};V0.prototype.p5=function(a){this.pB=a};V0.prototype.az=function(){return this.G$};function W0(a){return null!=a&&(!r(a)||!x(za(a)))&&(!fa(a)||0!=a.length)&&(!ka(a)||!Vb(a))}function X0(a){return Nb(a,W0)};function Y0(a,b,c,d,f,g){this.Lb=a;this.Sa=String(b);this.Uka=c||"user";this.ZP=!!d;this.Zu=x(za(f))?null:Z0(f);this.Eka=!!g}var $0=new qj,Z0=ff;e=Y0.prototype;e.getName=function(){return this.Lb};e.getId=function(){return this.Sa};e.Co=function(){return this.Zu};e.clone=function(a){var b=this.Xb();a&&cc(b,a);return a1(b)};e.Xb=function(){var a={};a.iconUrl=this.Zu;a.scopeType=this.Uka;a.name=this.Lb;a.id=this.Sa;a.me=this.ZP;a.requiresKey=this.Eka;return X0(a)};
function a1(a){var b=a.scopeType;return $0.Wd(b)?$0.get(b).call(void 0,a):new Y0(a.name,a.id,a.scopeType,a.me,a.iconUrl,a.requiresKey)}function b1(a,b){$0.set(a,b)};function c1(a,b,c,d,f,g){Y0.call(this,a,b,"domain",d,f,g);this.pY=c}w(c1,Y0);c1.prototype.Xb=function(){var a=c1.R.Xb.call(this);a.domainName=this.pY;return X0(a)};function d1(a){return new c1(a.name,a.id,a.domainName,a.me,a.iconUrl,a.requiresKey)}b1("domain",d1);var e1=new c1("","DEFAULT","",!0);function f1(a,b,c,d,f){this.Is=a;this.LB=b;this.o1=void 0==c?null:c;this.jC=d||null;this.baa=f||null}f1.prototype.dh=function(){return this.LB};f1.prototype.Ym=function(){return this.o1};f1.prototype.Xb=function(){var a={};a.scope=this.Is.Xb();a.role=this.LB;a.isValid=this.o1;a.startTime=this.jC;a.endTime=this.baa;return X0(a)};function g1(a){return new f1(a1(a.scope),a.role,a.isValid,a.startTime,a.endTime)};var h1={NONE:0,dpa:10,Epa:20,$qa:30,Zoa:40,Lma:50,ana:60,wna:70,xoa:90};function i1(a){this.TD=0;this.rQ=new xj;this.Ox=j1()[0];if(null!=a){this.TD=0;this.rQ.clear();for(var b=0;b<a.length;b++){var c=a[b],d;a:switch(c){case 0:case 10:case 20:case 30:case 40:d=!0;break a;default:d=!1}d?c>this.TD&&(this.TD=c):this.rQ.add(c)}this.Ox=j1()[this.TD];a=this.rQ.wc();for(b=0;b<a.length;b++)c=a[b],this.Ox|=j1()[c]}}function k1(a){var b=[];Mb(h1,function(c){0!=(j1()[c]&a)&&b.push(c)});return new i1(b)}var l1=null;
function j1(){null!=l1||(l1={0:1,10:2,20:4,30:8,40:16,50:32,60:64,70:128});return l1}function m1(a){return a&&a.roles?k1(a.roles):new i1}i1.prototype.Xb=function(){var a={};a.roles=this.Ox;return a};new i1([0]);new i1([20]);new i1([20,60]);new i1([30]);new i1([40]);function n1(a){Y0.call(this,"Anyone","anyone","anyone",!0,void 0,a)}w(n1,Y0);b1("anyone",function(a){return new n1(a.requiresKey)});function o1(a,b){Y0.call(this,a,b,"event")}w(o1,Y0);o1.prototype.Xb=function(){return X0(o1.R.Xb.call(this))};b1("event",function(a){return new o1(a.name,a.id)});function p1(a,b,c,d,f,g,h){Y0.call(this,a,b,"focusGroup",c,d,f);this.SG=null!=g?g:null;this.jN=h||"c"}w(p1,Y0);p1.prototype.Xb=function(){var a=p1.R.Xb.call(this);this.SG&&(a.membershipCount=this.SG);a.groupType=this.jN;return X0(a)};b1("focusGroup",function(a){return new p1(a.name,a.id,a.me,a.iconUrl,a.requiresKey,a.membershipCount,a.groupType)});function q1(a,b,c,d,f,g,h,k){Y0.call(this,a,b,"group",d,f,g);this.Ie=c;this.SG=null!=h?h:null;this.jN=k||"g"}w(q1,Y0);q1.prototype.getEmail=function(){return this.Ie};q1.prototype.Xb=function(){var a=q1.R.Xb.call(this);a.email=this.Ie;a.membershipCount=this.SG;a.groupType=this.jN;return X0(a)};b1("group",function(a){return new q1(a.name,a.id,a.email,a.me,a.iconUrl,a.requiresKey,a.membershipCount,a.groupType)});function r1(a,b,c,d,f,g,h,k){Y0.call(this,a,b,"invite",g,h);this.m9=!!k;this.Ie=c;this.N5=!!d;this.tma=n(f)?f:null}w(r1,Y0);r1.prototype.getEmail=function(){return this.Ie};r1.prototype.Xb=function(){var a=r1.R.Xb.call(this);a.anonymousUse=this.m9;a.email=this.Ie;a.singleUse=this.N5;a.uses=this.tma;return X0(a)};b1("invite",function(a){return new r1(a.name,a.id,a.email,a.singleUse,a.uses,a.me,a.iconUrl,a.anonymousUse)});function s1(a){a=/sgn:\/\/([a-z]+\.[a-z]+)\/\?pk=([a-z0-9]+)/i.exec(a);this.Ug=decodeURIComponent(a[1]);this.Ija=decodeURIComponent(a[2])}s1.prototype.$g=function(){return this.Ug};function t1(a,b,c){this.Ala=new s1(a);Y0.call(this,this.Ala.Ija,a,"pseudonym",b,c)}w(t1,Y0);t1.prototype.Xb=function(){var a=t1.R.Xb.call(this);return X0(a)};b1("pseudonym",function(a){return new t1(a.id,a.me,a.iconUrl)});function u1(a,b){Y0.call(this,a,b,"sq")}w(u1,Y0);u1.prototype.Xb=function(){return X0(u1.R.Xb.call(this))};b1("sq",function(a){return new u1(a.name,a.id)});function v1(a,b,c){Y0.call(this,a,b,"unresolvedEmail",!1,c);this.Ie=b}w(v1,Y0);v1.prototype.getEmail=function(){return this.Ie};v1.prototype.Xb=function(){var a=v1.R.Xb.call(this);a.email=this.Ie;return X0(a)};b1("unresolvedEmail",function(a){return new v1(a.name,a.email,a.iconUrl)});function w1(a,b,c,d,f,g,h){Y0.call(this,a,b,"user",d,f,h);this.Ie=c||null;this.hga=g||null}w(w1,Y0);w1.prototype.getEmail=function(){return this.Ie};w1.prototype.Xb=function(){var a=w1.R.Xb.call(this);a.email=this.Ie;a.invitedEmail=this.hga;return X0(a)};b1("user",function(a){return new w1(a.name,a.id,a.email,a.me,a.iconUrl,a.invitedEmail,a.requiresKey)});function x1(a,b,c){Y0.call(this,a,b,"zanzibar");this.n9=c}w(x1,Y0);x1.prototype.Xb=function(){var a=x1.R.Xb.call(this);a.applicationId=this.n9;return X0(a)};b1("zanzibar",function(a){return new x1(a.name,a.id,a.applicationId)});function y1(a,b){this.daa=a;this.Bma=b}y1.prototype.getEntries=function(){return this.daa};y1.prototype.Xb=function(){var a={};a.entries=mb(this.getEntries(),function(a){return a.Xb()});a.writersCanEditAcl=this.Bma;return X0(a)};function z1(a){this.O9=a}z1.prototype.Xb=function(){var a={};a.canPublishOut=this.O9;return a};var A1=new z1(!0);function B1(){this.jD={}}B1.prototype.isEmpty=function(){return Vb(this.jD)};function C1(a){var b=new B1;Mb(a,function(a,d){var f=m1(Ni(d)),g=mb(a,function(a){return m1(Ni(a))});b.jD[f.Ox]=g});return b}B1.prototype.Xb=function(){var a={};y(Tb(this.jD),function(b){var c=mb(this.jD[b],function(a){return Pi(a.Xb())});b=k1(parseInt(b,10));a[Pi(b.Xb())]=c},this);return a};function D1(a,b,c,d,f,g,h,k,m){this.va=a;this.e6=b;this.Mb=c;this.LB=d||0;this.Lka=n(f)?f:!0;this.v1=g||null;this.oY=h||null;this.Mka=!!k;this.Lfa=n(m)?m:!1}D1.prototype.getDetails=function(){return this.Mb};D1.prototype.dh=function(){return this.LB};
D1.prototype.Xb=function(){var a={};a.visibilityState=this.va;a.summary=this.e6;a.details=this.Mb;a.role=this.LB;a.restrictedToDomain=this.Lka;this.v1&&(a.key=this.v1);this.oY&&(a.domainDisplayName=this.oY);a.restrictedToSingleUserScope=this.Mka;a.hasInvalidEntries=this.Lfa;return X0(a)};function E1(a){return new D1(a.visibilityState,a.summary,a.details,a.role,a.restrictedToDomain,a.key,a.domainDisplayName,a.restrictedToSingleUserScope,a.hasInvalidEntries)};function F1(a,b){z.call(this);var c=a.title;this.Ih=null!=c?c:b?void 0:"";this.eW=a.advancedOptionValues||(b?void 0:{});this.TV=a.aclEntries||(b?void 0:[]);this.t4=a.requiredScopes||(b?void 0:[]);c=a.domain;this.Ug=null!=c?c:b?void 0:e1;c=a.sharingPolicy;this.x5=null!=c?c:b?void 0:A1;c=a.id;this.Sa=null!=c?c:b?void 0:"";c=a.userRole;this.U6=null!=c?c:b?void 0:0;c=a.sharingDisabled;this.pla=null!=c?c:b?void 0:!1;this.lga=!!b;this.IY=a.exportMimeTypes||(b?void 0:[]);c=a.flaggedForAbuse;this.YY=null!=
c?c:b?void 0:!1;c=a.maxAnyoneRole;this.Y1=null!=c?c:b?void 0:30;c=a.maxDomainRole;this.b2=null!=c?c:b?void 0:30;c=a.visibilitySetting;this.aV=null!=c?c:b?void 0:new D1("private","","");c=a.shareableUrl;this.w5=null!=c?c:b?void 0:"";c=a.changeOwnerAllowed;this.dX=null!=c?c:b?void 0:!1;c=a.allowedVisibilityStates;this.lW=null!=c?c:b?void 0:["public","unlisted","private"];c=a.changeWritersCanEditAclAllowed;this.eX=null!=c?c:b?void 0:!0;c=a.groupAsOwnerAllowed;this.U_=null!=c?c:b?void 0:!1;c=a.invitationAsOwnerAllowed;
this.d1=null!=c?c:b?void 0:!1;c=a.unlistedUsesLegacyKeyOnly;this.H6=null!=c?c:b?void 0:!1;c=a.inviteAllowed;this.e1=null!=c?c:b?void 0:!0;this.z4=a.restrictiveAcl||(b?void 0:null);c=a.restrictiveAclRoleChanges;this.y4=null!=c?c:b?void 0:{};c=a.restrictiveAclScopeRoleSetChanges;this.NR=null!=c?c:b?void 0:null;c=a.rolesForNonConcentricRoles;this.D4=null!=c?c:b?void 0:{};c=a.impliedNonConcentricRoles;this.O0=null!=c?c:b?void 0:{};this.kW=a.allowedRoles||(b?void 0:[0,10,20,30,40,50,60,70,90]);this.g9=
a.allowedFocusGroupTypes||(b?void 0:[]);c=a.gGroupsAllowed;this.Maa=null!=c?c:b?void 0:!1;c=a.showInviteOptionsAllowed;this.D5=null!=c?c:b?void 0:!0;c=a.resetLinkAllowed;this.u4=null!=c?c:b?void 0:!0;c=a.showUnderageWarnings;this.K5=null!=c?c:b?void 0:!1;c=a.viewerAllowedToResharePublicItem;this.wma=null!=c?c:b?void 0:!1;c=a.simplifiedUiAllowed;this.wla=null!=c?c:b?void 0:!1;c=a.allowDownloadOptionAvailable;this.hW=null!=c?c:b?void 0:!0;c=a.serviceNotice;this.W4=x(za(c))?b?void 0:"":c;c=a.anyoneUnlistedAclFixerFixTypeAllowed;
this.pW=null!=c?c:b?void 0:!0;c=a.domainUnlistedAclFixerFixTypeAllowed;this.qY=null!=c?c:b?void 0:!0;c=a.uiLanguageVariant;this.C6=null!=c?c:b?void 0:0}w(F1,z);e=F1.prototype;e.getTitle=function(){return this.Ih};e.$g=function(){return this.Ug};e.getId=function(){return this.Sa};e.setTitle=function(a){this.Ih=a};e.zn=function(a){this.Ug=a};e.Wp=function(a){this.Sa=a};e.TO=function(){return this.lga};
e.isEmpty=function(){if(!this.TO())return!1;var a=[this.Ih,this.eW,this.TV,this.$g(),this.x5,this.getId(),this.pla,this.YY,this.IY,this.Y1,this.b2,this.U6,this.aV,this.w5,this.dX,this.lW,this.eX,this.hW,this.U_,this.d1,this.H6,this.e1,this.z4,this.y4,this.NR,this.D4,this.O0,this.kW,this.D5,this.u4,this.K5,this.t4,this.pW,this.qY,this.C6],a=lb(a,W0);return 0==a.length};
e.Xb=function(){var a={},b=this.TV;null!=b&&(a.aclEntries=mb(b,function(a){return a.Xb()}));b=this.t4;null!=b&&(a.requiredScopes=mb(b,function(a){return a.Xb()}));a.advancedOptionValues=this.eW;a.title=this.getTitle();a.id=this.getId();b=this.$g();null!=b&&(a.domain=b.Xb());b=this.x5;null!=b&&(a.sharingPolicy=b.Xb());a.exportMimeTypes=this.IY;a.flaggedForAbuse=this.YY;a.maxAnyoneRole=this.Y1;a.maxDomainRole=this.b2;a.userRole=this.U6;b=this.aV;null!=b&&(a.visibilitySetting=b.Xb());a.shareableUrl=
this.w5;a.changeOwnerAllowed=this.dX;a.allowedVisibilityStates=this.lW;a.changeWritersCanEditAclAllowed=this.eX;a.groupAsOwnerAllowed=this.U_;a.invitationAsOwnerAllowed=this.d1;a.unlistedUsesLegacyKeyOnly=this.H6;a.inviteAllowed=this.e1;a.allowDownloadOptionAvailable=this.hW;b=this.z4;null!=b&&(a.restrictiveAcl=b.Xb());a.restrictiveAclRoleChanges=this.y4;null!=this.NR&&(a.restrictiveAclScopeRoleSetChanges=this.NR.Xb());a.rolesForNonConcentricRoles=this.D4;a.impliedNonConcentricRoles=this.O0;a.allowedRoles=
this.kW;a.showInviteOptionsAllowed=this.D5;a.resetLinkAllowed=this.u4;a.allowedFocusGroupTypes=this.g9;a.gGroupsAllowed=this.Maa;a.showUnderageWarnings=this.K5;a.viewerAllowedToResharePublicItem=this.wma;a.simplifiedUiAllowed=this.wla;null!=this.W4&&(a.serviceNotice=this.W4);a.anyoneUnlistedAclFixerFixTypeAllowed=this.pW;a.domainUnlistedAclFixerFixTypeAllowed=this.qY;a.uiLanguageVariant=this.C6;return X0(a)};
function G1(a){a=$b(a);var b=a.aclEntries;null!=b&&(a.aclEntries=mb(b,g1));b=a.requiredScopes;null!=b&&(a.requiredScopes=mb(b,a1));b=a.domain;null!=b&&(a.domain=a1(b));b=a.sharingPolicy;null!=b&&(a.sharingPolicy=new z1(!!b.canPublishOut));b=a.visibilitySetting;null!=b&&(a.visibilitySetting=E1(b));b=a.restrictiveAcl;if(null!=b){var c=b.entries,c=null!=c?mb(c,g1):[];a.restrictiveAcl=new y1(c,!!b.writersCanEditAcl)}b=a.restrictiveAclScopeRoleSetChanges;null!=b&&(b=C1(b),a.restrictiveAclScopeRoleSetChanges=
b);return new F1(a,void 0)}e.clone=function(){return G1(this.Xb())};function H1(){}function I1(a){this.V={};this.an=[];this.nl={};if(a)for(var b=0,c;c=a[b];b++)this.add(c)}e=I1.prototype;e.add=function(a){this.an.push(a);var b=a.UE();b&&(this.V[b]=a,this.nl[b]=this.an.length-1)};e.get=function(a){return this.V[a]||null};e.Nb=function(){return this.an.length};e.removeNode=function(a){var b=this.nl[a];if(null!=b){this.an.splice(b,1);delete this.V[a];delete this.nl[a];for(var c in this.nl)this.nl[c]>b&&this.nl[c]--}return null!=b};e.indexOf=function(a){return this.nl[a]};
function J1(){I1.call(this)}w(J1,I1);J1.prototype.add=function(){throw Error("Can't add to EmptyNodeList");};function K1(a){a&&L1(this,a)}function L1(a,b,c,d,f){a.Bla=b;d||f||(va(b,"?")&&(b=b.substring(0,b.length-1)),va(b,"()")&&(va(b,"name()")||va(b,"count()")||va(b,"position()"))&&(d=b.lastIndexOf("/"),-1!=d?(a.lM=b.substring(d+1),b=b.substring(0,d)):(a.lM=b,b="."),"count()"==a.lM&&(a.kga=!0)));a.jk=c||b.split("/");a.sd=a.jk.length;a.xv=a.jk[a.sd-1];a.Pa=a.jk[0];1==a.sd?(a.RR=a,a.WF=ua(b,"$")):(a.RR=M1(a.Pa,null,a,null),a.WF=a.RR.WF,a.Pa=a.RR.Pa)}e=K1.prototype;e.iz=function(){return this.Bla};e.RM=function(){return this.xv};
e.getParent=function(){this.vja||(1<this.sd&&(this.J3=M1(null,this.jk.slice(0,this.jk.length-1),this,null)),this.vja=!0);return this.J3};function N1(a){a.tha||(1<a.sd&&(a.A2=M1(null,a.jk.slice(1),null,a)),a.tha=!0);return a.A2}e.Ga=function(a){null==a?a=O1():this.WF&&(a=a.MM?a.MM():O1());if(this.kga)return this.d_(a).Nb();if(1==this.sd)return a.oZ(this.Pa);if(0==this.sd)return a.get();a=a.$k(this.Pa);return null==a?null:N1(this).Ga(a)};e.d_=function(a,b){return P1(this,a,!1,b)};
function P1(a,b,c,d){null==b?b=O1():a.WF&&(b=b.MM?b.MM():O1());if(0==a.sd&&c)return b;if(0!=a.sd||c){if(1==a.sd)return c?b.$k(a.Pa,d):(c=b.$k(a.Pa))&&c.k1()?c.Bu():b.Bu(a.Pa);b=b.$k(a.Pa,d);return null==b&&c?null:null!=b||c?P1(N1(a),b,c,d):new J1}return new I1([b])}e.jk=[];e.sd=null;e.xv=null;e.lM=null;e.J3=null;e.A2=null;function Q1(a){var b=R1[a];null==b&&(b=new K1(a),R1[a]=b);return b}function M1(a,b,c,d){a=a||b.join("/");var f=R1[a];null==f&&(f=new K1,L1(f,a,b,c,d),R1[a]=f);return f}var R1={};
Q1(".");Q1("*|text()");Q1("*");Q1("@*");Q1("name()");Q1("count()");Q1("position()");function S1(){this.jy=new I1;this.y9=new qj;this.IP={};this.HG={};this.fW={}}var T1=null;w(S1,H1);function O1(){T1||(T1=new S1);return T1}e=S1.prototype;e.cl=function(a){return this.fW[a]?P1(this.fW[a],void 0,!0,void 0):this.jy.get(a)};e.get=function(){return this.jy};e.set=function(){throw Error("Can't set on DataManager");};e.Bu=function(a){return a?new I1([this.$k(a)]):this.jy};e.$k=function(a){return this.cl(a)};e.oZ=function(a){return(a=this.cl(a))?a.get():null};e.UE=function(){return""};
e.LM=function(){return""};e.load=function(){for(var a=this.jy.Nb(),b=0;b<a;b++){var c=this.jy.an[b]||null;this.y9.get(c.UE())&&c.load()}};e.k1=function(){return!1};
e.addListener=function(a,b,c){var d=0;va(b,"/...")?(d=1E3,b=b.substring(0,b.length-4)):va(b,"/*")&&(d=1,b=b.substring(0,b.length-2));c=c||"";var f=b+":"+c+":"+la(a);c={xra:b,id:c,uo:a};b=Q1(b);a=la(a);this.HG[a]||(this.HG[a]={});for(this.HG[a][f]={listener:c,items:[]};b;){var d={listener:c,aha:d},g=this.IP[b.iz()];null==g&&(g={},this.IP[b.iz()]=g);g[f]=d;d=0;b=b.getParent();this.HG[a][f].items.push({key:f,Tra:g})}};function U1(a,b,c){this.Cb=c;this.sL=b;this.nT(a)}e=U1.prototype;e.nT=function(a){this.Pa=a;this.$n=null};e.get=function(){return ka(this.Pa)?this.Bu():this.Pa};e.set=function(a){if(a&&ka(this.Pa))throw Error("Can't set group nodes to new values yet");this.Cb&&(this.Cb.Pa[this.sL]=a);this.Pa=a;this.$n=null;a=O1();var b=this.LM();if(!a.yra)for(var c=Q1(b),d=0;c;){var f=a.IP[c.iz()];if(f)for(var g in f){var h=f[g],k=h.listener;d<=h.aha&&k.uo(b,k.id)}d++;c=c.getParent()}};
e.Bu=function(a){if(!this.Pa)return new J1;if(a&&"*"!=a){if(-1==a.indexOf("*"))return null!=this.Pa[a]?new I1([this.$k(a)]):new J1;throw Error("Selector not supported yet ("+a+")");}if(!this.$n)if(ka(this.Pa)){a=new I1;var b;if(fa(this.Pa))for(var c=this.Pa.length,d=0;d<c;d++){b=this.Pa[d];var f=b.id,f=null!=f?String(f):"["+d+"]";b=new U1(b,f,this);a.add(b)}else for(f in this.Pa)c=this.Pa[f],c.UE?a.add(c):ja(c)||(b=new U1(c,f,this),a.add(b));this.$n=a}else this.$n=new J1;return this.$n};
e.$k=function(a,b){if(!this.Pa)return null;var c=this.Bu().get(a);!c&&b&&(c={},fa(this.Pa)?(c.id=a,this.Pa.push(c)):this.Pa[a]=c,c=new U1(c,a,this),this.$n&&this.$n.add(c));return c};e.oZ=function(a){return this.$n?(a=this.Bu().get(a))?a.get():null:this.Pa?this.Pa[a]:null};e.UE=function(){return this.sL};e.LM=function(){var a="";this.Cb&&(a=this.Cb.LM()+"/");return a+this.sL};e.load=function(){};e.k1=function(){return null!=this.pga?this.pga:fa(this.Pa)};function V1(a,b,c){U1.call(this,a,b,c)}w(V1,U1);function W1(a){this.Sa=a.id;this.Lb=a.name;this.Pb=a.value}var X1=null;function Y1(a){var b,c=a.value;if(ha(c)||r(c)||ia(c)){var d=a.id;X1||(X1=new qj);var f=X1,g=f.get(d);g||(g=new qj);(b=g.get(c))||(b=new W1(a));g.set(c,b);f.set(d,g)}else b=new W1(a);return b}W1.prototype.getId=function(){return this.Sa};W1.prototype.getName=function(){return this.Lb};W1.prototype.Ga=function(){return this.Pb};W1.prototype.dispose=function(){var a=this.Ga();a&&a.dispose&&a.dispose();this.Pb=null};function Z1(a){F0.call(this,a);this.tc=a.url}w(Z1,F0);Z1.prototype.getUrl=function(){return this.tc};Z1.prototype.Qy=function(){return 3};function $1(a){this.zc=a.type;this.Lb=a.name;var b={};b.u=a.iconUrl;this.vg=new ow(a.i||b);tb(a2,this.zc);a=Ea(this.getType());U1.call(this,this,a,void 0)}w($1,V1);var a2=[];e=$1.prototype;e.getType=function(){return this.zc};e.getId=function(){return this.getType()};e.getName=function(){return this.Lb};e.Co=function(){return this.vg.getUrl()};e.getIcon=function(){return this.vg};function b2(a){Z1.call(this,a);this.wI=null;this.Is=a.scope||"owned";a=a.supportedMimeTypes||[];var b=new xj;b.addAll(a);this.nC=b}w(b2,Z1);b2.prototype.kf=function(){return this.nC.wc()};b2.prototype.isSupported=function(a){return this.nC.contains("*")||this.nC.contains(a)};b2.prototype.Qy=function(){return 1};b2.prototype.dispose=function(){this.nC.clear();this.nC=null};function c2(a){if(G0(a)&&null!=a.url&&null!=a.supportedMimeTypes)return new b2(a);if(G0(a)&&null!=a.url)return new Z1(a);if(G0(a)&&null!=a.actionType)return new H0(a);if(G0(a))return new F0(a);throw"Unsupported document action object:"+a;};function d2(a){this.Sa=a.topicId||"";this.Lb=a.topicName||""}function e2(a){for(var b=[],c=a.length,d=0;d<c;d++)b.push(new d2(a[d]))}d2.prototype.getId=function(){return this.Sa};d2.prototype.getName=function(){return this.Lb};function f2(a){var b=a.type||0;this.zc=b;this.Ie=a.email||"";this.Lb=a.name||"";this.Vc=a.count||0;this.uO=!!a.hosted;this.pY=a.domainName||"";this.N5=!!a.singleUse;this.ZP=!!a.me;this.Zu=a.iconUrl||"";var c=null;switch(b){case 2:c="anyoneId";break;case 1:case 3:case 0:c=a.id}this.Sa=c;a=this.getId();U1.call(this,this,a,void 0)}w(f2,V1);function g2(a){for(var b=[],c=a.length,d=0;d<c;d++)b.push(new f2(a[d]))}e=f2.prototype;
e.getId=function(){var a;(a=this.Sa)||(a=this.getEmail(),a=this.Sa=(this.uO?"h@":"")+a);return a};e.getEmail=function(){return this.Ie};e.getName=function(){return 2==this.getType()?"Anyone":this.Lb};e.$y=function(){return 0==this.getType()?2==this.getType()||this.ZP?"me":this.getName():this.getName()};e.Nb=function(){return this.Vc};e.getType=function(){return this.zc};e.Co=function(){return this.Zu};e.toString=function(){return this.getName()+" <"+this.getEmail()+">"};function h2(a){this.wI=a.serviceId;this.gga=a.id;this.Kv=a.mimeType||"";this.oM=a.fileExtension||null;this.zm=a.fileSize||void 0;this.O5=a.sourceClientService||null;this.P5=a.sourceId||null;this.y$=!!a.delta;var b=this.TO();this.Lb=a.name||(b?void 0:"");a.owners&&g2(a.owners);a.collaborators&&g2(a.collaborators);a.collaboratorsNoKey&&g2(a.collaboratorsNoKey);a.collaboratorsKey&&g2(a.collaboratorsKey);a.viewers&&g2(a.viewers);a.viewersNoKey&&g2(a.viewersNoKey);a.viewersKey&&g2(a.viewersKey);if(a.blobRevisions)for(var c=
a.blobRevisions,d=[],f=c.length,g=0;g<f;g++)d.push(new V0(c[g]));a.topicCategories&&e2(a.topicCategories);a.topicDomainConcepts&&e2(a.topicDomainConcepts);a.topicGeneralConcepts&&e2(a.topicGeneralConcepts);a.topicEntities&&e2(a.topicEntities);a.topicKeywords&&e2(a.topicKeywords);if(d=a.inviteUses)for(c=0;c<d.length;c++);if(d=a.invitedEmails)for(c=0;c<d.length;c++);this.Zu=a.iconUrl||(b?void 0:null);this.H1=a.lastViewedByMeUtc||(b?void 0:null);a.lastCollaborator&&new f2(a.lastCollaborator);d={};if(f=
a.actions)for(c=0;c<f.length;c++){var g=c2(f[c]),h=g.VV,k=d[h];k||(k=[]);k.push(g);d[h]=k}this.Oh=d;c={};if(d=a.attributes)for(var m in d)i2(c,m,d[m]);j2(c,a.attributeMask,!0);j2(c,a.removeAttributeMask,!1);this.Hq=c;if(m=a.af)for(c=0;c<m.length;c++){var f=m[c],d=f.serviceId,f=f.afd||{},q;for(q in f)this.Z4(d+"."+q,f[q])}if(!b)for(var v in E0)q=E0[v],this.getAttribute(q)||(m=Y1(k2(q,!1)),this.Hq[q]=m);this.Hf=n(a.description)?a.description:b?void 0:"";this.rf=a.parents||[];this.Y9=a.color||(b?void 0:
0);this.W1=a.mav||0;this.aV=(b=a.vs)?E1(b):null;this.Ug=(b=a.domain)?d1(b):null;(b=a.shareModel)&&G1(b);b=this.getId();U1.call(this,this,b,void 0);this.j9={};if(a=a.ancestors)for(c=0;c<a.length;c++)this.j9[a[c]]=!0}w(h2,V1);function l2(a){var b=[];if(a)for(var c=0;c<a.length;c++){var d=a[c];d instanceof h2?b.push(d):b.push(new h2(d))}return b}h2.prototype.Sa=null;
var m2={1:"starred",2:"trashed",4:"shared",8:"published",16:"blogged",32:"mine",64:"deleted",128:"hidden",512:"shareable",1024:"collaboratorsCanInvite",2048:"openInvites",4096:"readOnly",8192:"system",32768:"sewm",65536:"abuse",131072:"blob_versionable",262144:"convertible",524288:"subscribed",1048576:"subscribable",2097152:"unsubscribable",4194304:"marked_for_offline",8388608:"restrictedDownload",16777216:"downloadable",33554432:"explicitlyTrashed",67108864:"copyable",134217728:"blobMissing"};
e=h2.prototype;e.getId=function(){return this.Sa||(this.Sa=this.gga)};e.Rb=function(){return this.Kv};e.Oi=function(){return this.oM};e.ZE=function(){return this.zm};e.getName=function(){return this.Lb};e.Bn=function(a){this.Lb=a};e.Co=function(){return this.Zu};e.YO=function(){return!this.HM("mine")&&!(n(this.H1)&&this.H1)&&!(0<this.W1)};e.wd=function(a){return this.Oh[a]};e.DM=function(){for(var a=tj(this.Oh),b=[],c=0;c<a.length;c++)b=b.concat(a[c]);return b};e.getAttribute=function(a){return this.Hq[a]};
e.HM=function(a){return(a=this.getAttribute(a))?a.Ga():null};e.Z4=function(a,b){var c=Y1(k2(a,b));this.Hq[a]=c};function k2(a,b){var c={};c.id=a;c.name=a;c.value=b;return c}e.jS=function(a){this.Hf=a};e.jK=function(a){tb(this.Fo(),a)||this.rf.push(a)};e.Fo=function(){return this.rf};e.TO=function(){return this.y$};e.$g=function(){return this.Ug};e.toString=function(){return this.getName()||""};
e.pj=function(){var a={};a.id=this.getId();a.name=this.getName();a.description=this.Hf;a.parents=this.Fo();a.color=this.Y9;a.mav=this.W1;for(var b={},c=tj(this.Hq),d=0;d<c.length;d++){var f=c[d];switch(f.getId()){case "starred":case "trashed":case "explicitlyTrashed":case "deleted":case "hidden":case "shareable":case "blob_versionable":case "blobMissing":case "convertible":case "subscribed":case "subscribable":case "unsubscribable":case "copyable":b[f.getId()]=f.Ga()}}a.attributes=b;return Pi(a)};
function j2(a,b,c){if(b){for(var d=[],f=1;f<=b;f*=2)f&b&&d.push(m2[f]);for(b=0;b<d.length;b++)a[d[b]]||i2(a,d[b],c)}}function i2(a,b,c){var d=c;if(ha(c)||r(c)||ia(c))d=k2(b,c);b=Y1(d);a[b.getId()]=b}e.eP=function(){return!!this.HM("starred")};function n2(){};function o2(a){z.call(this);this.KE=new qj;this.bY=a||null}w(o2,z);o2.prototype.set=function(a,b){this.KE.set(a,b)};o2.prototype.execute=function(a,b){var c=this.KE.get(a)||this.bY;if(c)return c.apply(void 0,Array.prototype.slice.call(arguments,1))};o2.prototype.ma=function(){o2.R.ma.call(this);this.KE.clear();delete this.KE;this.bY=null};function p2(a){z.call(this);this.yB=null!=a&&null!=a.response;this.kg=!!a.error;this.gaa=a.errorCode||0;var b=[];if(a=a.stats)for(var c=0;c<a.length;c++)b.push(new n2);this.Sa=q2++}w(p2,z);var q2=0;e=p2.prototype;e.VI="unknown";e.Mi=function(){return 0};e.getError=function(){return this.kg};e.kc=function(a){this.kg=a};e.getId=function(){return this.Sa};e.Yp=function(a){this.VI=a};var r2=new o2(function(a){return new p2(a)});function s2(a){p2.call(this,a);a=a.response;this.yB&&l2(a.docs);if(a=a?a.statuses:null)for(var b=0;b<a.length;b++){var c=a[b];c&&c.id&&c.status&&new K0(c)}}w(s2,p2);s2.prototype.Mi=function(){return 1};r2.set(1,function(a){return new s2(a)});function t2(){z.call(this);this.Sa=String(u2++);this.OL=!0;this.Ula=null}w(t2,z);var v2=2,u2=0,w2=new Zj(""),x2=null,z2=new o2(y2);e=t2.prototype;e.Vy=function(){return w2};e.getId=function(){return this.Sa};e.Mi=function(){return 0};e.Eo=function(){return new qj};e.getContent=function(){return this.ZM().toString()};e.PM=function(){return null};e.ZM=function(){var a=new gk,b=this.Eo();b&&vj(b,function(b,d){a.set(d,b)});(b=x2)&&a.set("token",b);a.set("version",v2);return a};e.OO=function(){};
function A2(a,b,c,d){null!=c&&c!=d&&a.set(b,c)}function B2(a,b){return null!=a&&n(a[b])?a[b]:void 0}function C2(a,b){return null!=a&&n(a[b])?a[b]:void 0}function D2(a,b){return null!=a&&n(a[b])?a[b]:void 0}function E2(a,b){return null!=a&&n(a[b])?a[b]:void 0}function y2(){return new t2};function n0(a,b,c){t2.call(this);var d=ia(a),f=d?a:2==a.Qy()?a.vx:null;b=b?fa(b)?b:[b]:[];var g;if(0<b.length&&r(b[0]))g=b,b=null;else{g=[];for(var h=0;h<b.length;h++)g.push(b[h].getId())}this.vx=f;this.wx=d?null:a;this.gu=b;this.oE=g;a=c||{};this.QT=a.shareAs;this.zt=a.acls;this.ST=a.shareWith;this.ZR=a.sendEmail;this.sU=a.subject||void 0;this.lp=a.message||void 0;this.JK=a.ccSelf;this.Pb=n(a.value)?a.value:a.v;this.nI=n(a.sValue)?a.sValue:a.sv;this.iQ=n(a.nValue)?a.nValue:a.nv;this.pC=a.tags;c=
a.addedFolders;this.fD=r(c)?[c]:c||[];c=a.removedFolders;this.eI=r(c)?[c]:c||[];c=a.unlink;this.FC=fa(c)?F2(c):c||new qj;c=a.link;this.xA=fa(c)?F2(c):c||new qj;this.aL=!!a.confirm;n(a.displayStatus)&&(this.OL=a.displayStatus);this.Qd=a.path;this.Tl=!1}w(n0,t2);var G2=new Zj("ar");function F2(a){for(var b=new qj,c=0;c<a.length;c++){var d=a[c].split("#");if(2==d.length){var f=b,g=d[0],d=d[1],h;f.Wd(g)?h=f.get(g):(h=new xj,f.set(g,h));h.add(d)}}return b}
function H2(a){var b=[];vj(a,function(a,d){vj(a,function(a){b.push(Xa(d,"#",a))})});return b}e=n0.prototype;e.Vy=function(){return G2};e.Mi=function(){return 1};e.Qy=function(){return this.vx};e.wd=function(){return this.wx};e.Ga=function(){return this.Pb};e.getStringValue=function(){return this.nI};e.getPath=function(){return this.Qd};
e.PD=function(){var a=new n0(this.vx);a.wx=this.wx;this.gu&&(a.gu=zb(this.gu));this.oE&&(a.oE=zb(this.oE));a.QT=this.QT;a.ST=this.ST;this.zt&&(a.zt=$b(this.zt));a.ZR=this.ZR;a.sU=this.sU;a.lp=this.lp;a.JK=this.JK;a.Pb=this.Pb;a.nI=this.nI;a.iQ=this.iQ;this.pC&&(a.pC=zb(this.pC));this.fD&&(a.fD=zb(this.fD));this.eI&&(a.eI=zb(this.eI));this.xA&&(a.xA=this.xA.clone());this.FC&&(a.FC=this.FC.clone());a.aL=this.aL;a.OL=this.OL;this.Qd&&(a.Qd=this.Qd.clone());a.Tl=this.Tl;return a};
e.Eo=function(){var a=new qj;a.set("a",this.vx);A2(a,"docs",this.oE);A2(a,"v",this.Pb);A2(a,"sv",this.nI);A2(a,"nv",this.iQ);A2(a,"tags",this.pC);A2(a,"addedFolders",this.fD);A2(a,"removedFolders",this.eI);A2(a,"link",H2(this.xA));A2(a,"unlink",H2(this.FC));A2(a,"confirm",this.aL);A2(a,"acls",this.zt?Pi(this.zt):this.zt);A2(a,"shareWith",this.ST);A2(a,"shareAs",this.QT);A2(a,"subject",this.sU);A2(a,"message",this.lp);A2(a,"sendEmail",this.ZR);A2(a,"ccSelf",this.JK);A2(a,"data",0);return a};
e.ma=function(){n0.R.ma.call(this);this.xA.clear();this.FC.clear()};z2.set(1,function(a){return new n0(a.a,a.docs,a)});function I2(a,b,c){H.call(this);this.Sa=b;this.E4=c||null;this.ZK=a;this.ha=new K(this);A(this,this.ha)}w(I2,H);I2.prototype.Ke=function(){this.ha.listen(this.ZK,["ready","success","error"],this.Mba);this.ZK.Ke()};I2.prototype.Mba=function(a){switch(a.type){case "success":a.response.getError()?this.dispatchEvent("tc"):this.dispatchEvent("sc");break;case "error":this.dispatchEvent("tc")}};function J2(a){z.call(this);this.zD=a;A(this,this.zD);this.Ofa=t(this.Pfa,this)}w(J2,z);function p0(a,b){a.zD.setContent(b);a.zD.setVisible(!0);a.H0&&window.clearTimeout(a.H0);a.H0=window.setTimeout(a.Ofa,3E3)}J2.prototype.Pfa=function(){this.zD.setVisible(!1)};function K2(){z.call(this);this.ju=[];this.$x=[]}w(K2,z);K2.prototype.iU=function(a,b){var c=n(b)?b:u(),c=new L2(a,c);M2(this.ju,c)};K2.prototype.CX=function(a,b){for(var c=n(b)?b:u(),d=this.ju,f=-1,g=d.length-1;0<=g;g--)if(d[g].code==a){d[g].duration=c-d[g].startTime;M2(this.$x,d[g]);f=g;break}xb(d,f)};function N2(a){var b=a.ju;a=sb(b,function(a){return a.code=10},a);xb(b,a)}function M2(a,b){var c;for(c=a.length-1;0<=c&&!(b.startTime>=a[c].startTime);c--);Bb(a,c+1,0,b)}
K2.prototype.reset=function(){this.ju.length=0;this.$x.length=0};K2.prototype.ma=function(){K2.R.ma.call(this);for(var a=this.ju,b=0;b<a.length;b++)a[b].dispose();delete this.ju;a=this.$x;for(b=0;b<a.length;b++)a[b].dispose();delete this.$x};function L2(a,b){z.call(this);this.code=a;this.startTime=b;this.duration=null}w(L2,z);function O2(){z.call(this);this.r4={};this.Ds={};this.iu={};this.n2={};this.H4=[];var a=t(this.$aa,this);ba("DL_getLatencyStats",a,void 0)}w(O2,z);var P2=null;e=O2.prototype;e.Yb=!1;function Q2(){P2||(P2=new O2);return P2}function R2(a,b,c){var d=a.r4[b];d&&16!=d.Mi()&&(d=a.Ds,a.isEnabled()&&(d[b]||(d[b]=new K2),d[b].iU(c,void 0)))}e.iU=function(a,b,c){var d=this.iu;this.isEnabled()&&(d[a]||(d[a]=new K2),d[a].iU(b,c))};e.CX=function(a,b,c){S2(this,this.iu,a,b,c)};
function S2(a,b,c,d,f){a.isEnabled()&&b[c]&&b[c].CX(d,f)}e.isEnabled=function(){return this.Yb};e.setEnabled=function(a){this.Yb=a};e.$aa=function(){var a={},b=[],b=b.concat(this.H4);this.iu.initialization&&(b=b.concat(this.iu.initialization.$x));for(var c=0;c<b.length;c++)a[b[c].name]=b[c].duration;return Pi(a)};
e.ma=function(){O2.R.ma.call(this);delete this.r4;delete this.H4;Mb(this.Ds,function(a){a.dispose()});delete this.Ds;Mb(this.iu,function(a){a.dispose()});delete this.iu;Mb(this.n2,function(a){a.dispose()});delete this.n2};function T2(a){sy.call(this,void 0,void 0,a);this.ka().listen(this,"dialogselect",this.vka);this.setTitle("Signed Out");this.Uf("You are no longer signed into your Google account. Please reload this page in order to sign in again and continue working.");Gy(this,(new uy).set("reload","Reload",!0));HE(this,"reload");this.hM=!1;Fy(this)}w(T2,sy);T2.prototype.vka=function(){window.location.reload()};var U2=/\/d\/[^\/]+/;function V2(a,b){this.dla=new Qi(a);this.ti=b?Oi:Ni}V2.prototype.stringify=function(a){return this.dla.pj(a)};V2.prototype.parse=function(a){return this.ti(a)};function W2(a){this.Sv=0;this.VP=a||100;this.hm=[]}e=W2.prototype;e.add=function(a){var b=this.hm[this.Sv];this.hm[this.Sv]=a;this.Sv=(this.Sv+1)%this.VP;return b};e.get=function(a){a=X2(this,a);return this.hm[a]};e.set=function(a,b){a=X2(this,a);this.hm[a]=b};e.Nb=function(){return this.hm.length};e.isEmpty=function(){return 0==this.hm.length};e.clear=function(){this.Sv=this.hm.length=0};e.wc=function(){for(var a=this.Nb(),b=this.Nb(),c=[],a=this.Nb()-a;a<b;a++)c.push(this.get(a));return c};
e.Zd=function(){for(var a=[],b=this.Nb(),c=0;c<b;c++)a[c]=c;return a};e.Wd=function(a){return a<this.Nb()};e.RM=function(){return 0==this.Nb()?null:this.get(this.Nb()-1)};function X2(a,b){if(b>=a.hm.length)throw Error("Out of bounds exception");return a.hm.length<a.VP?b:(a.Sv+Number(b))%a.VP};function Y2(a,b,c){z.call(this);this.xl=null!=c?t(a,c):a;this.Le=b;this.Id=t(this.IQ,this);this.yK=[]}w(Y2,z);e=Y2.prototype;e.NI=!1;e.cR=0;e.Ta=null;e.WY=function(a){this.yK=arguments;this.Ta||this.cR?this.NI=!0:this.wy()};e.stop=function(){this.Ta&&(J(this.Ta),this.Ta=null,this.NI=!1,this.yK=[])};e.pause=function(){this.cR++};e.ma=function(){Y2.R.ma.call(this);this.stop()};e.IQ=function(){this.Ta=null;this.NI&&!this.cR&&(this.NI=!1,this.wy())};
e.wy=function(){this.Ta=I(this.Id,this.Le);this.xl.apply(null,this.yK)};function Z2(a,b,c,d,f){this.Da=a;this.Ua=b;this.Gh=c;this.mk=d;this.KB=f||1;this.Yf=45E3;this.Fa=new K(this);this.JH=new gh;this.JH.setInterval(250)}e=Z2.prototype;e.Vh=null;e.yk=!1;e.mx=null;e.eV=null;e.HB=null;e.zc=null;e.Un=null;e.wi=null;e.Ip=null;e.zf=null;e.RC=0;e.Ak=null;e.ix=null;e.Of=null;e.ae=-1;e.R4=!0;e.Jq=!1;e.lw=0;e.ZH=null;
function $2(a,b){switch(a){case 0:return"Non-200 return code ("+b+")";case 1:return"XMLHTTP failure (no data)";case 2:return"HttpConnection timeout";default:return"Unknown error"}}var a3={},b3={};function c3(){return!E||Zd(10)}e=Z2.prototype;e.An=function(a){this.Vh=a};e.setTimeout=function(a){this.Yf=a};e.eT=function(a){this.lw=a};function d3(a,b,c){a.zc=1;a.Un=qk(b.clone());a.Ip=c;a.ZX=!0;e3(a,null)}function f3(a,b,c,d,f){a.zc=1;a.Un=qk(b.clone());a.Ip=null;a.ZX=c;f&&(a.R4=!1);e3(a,d)}
function e3(a,b){a.HB=u();g3(a);a.wi=a.Un.clone();ok(a.wi,"t",a.KB);a.RC=0;a.zf=a.Da.jL(a.Da.OI()?b:null);0<a.lw&&(a.ZH=new Y2(t(a.o7,a,a.zf),a.lw));a.Fa.listen(a.zf,"readystatechange",a.pka);var c=a.Vh?$b(a.Vh):{};a.Ip?(a.ix="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.zf.send(a.wi,a.ix,a.Ip,c)):(a.ix="GET",a.R4&&!Ld&&(c.Connection="close"),a.zf.send(a.wi,a.ix,null,c));a.Da.ck(1);var d=a.Ip;if(d)for(var c="",d=d.split("&"),f=0;f<d.length;f++){var g=d[f].split("=");if(1<g.length)var h=
g[0],g=g[1],k=h.split("_"),c=2<=k.length&&"type"==k[1]?c+(h+"="+g+"&"):c+(h+"=redacted&")}else c=null;a.Ua.info("XMLHTTP REQ ("+a.mk+") [attempt "+a.KB+"]: "+a.ix+"\n"+a.wi+"\n"+c)}e.pka=function(a){a=a.target;var b=this.ZH;b&&3==rH(a)?(this.Ua.debug("Throttling readystatechange."),b.WY()):this.o7(a)};
e.o7=function(a){try{if(a==this.zf)a:{var b=rH(this.zf),c=this.zf.ap,d=this.zf.getStatus();if(!c3()||Ld&&!Yd("420+")){if(4>b)break a}else if(3>b||3==b&&!Hd&&!uH(this.zf))break a;this.Jq||4!=b||7==c||(8==c||0>=d?this.Da.ck(3):this.Da.ck(2));h3(this);var f=this.zf.getStatus();this.ae=f;var g=uH(this.zf);g||this.Ua.debug("No response text for uri "+this.wi+" status "+f);this.yk=200==f;this.Ua.info("XMLHTTP RESP ("+this.mk+") [ attempt "+this.KB+"]: "+this.ix+"\n"+this.wi+"\n"+b+" "+f);this.yk?(4==b&&
i3(this),this.ZX?(j3(this,b,g),Hd&&this.yk&&3==b&&(this.Fa.listen(this.JH,"tick",this.Mja),this.JH.start())):(k3(this.Ua,this.mk,g,null),l3(this,g)),this.yk&&!this.Jq&&(4==b?this.Da.hH(this):(this.yk=!1,g3(this)))):(400==f&&0<g.indexOf("Unknown SID")?(this.Of=3,m3(13)):(this.Of=0,m3(14)),i3(this),n3(this))}}catch(h){this.Ua.debug("Failed call to OnXmlHttpReadyStateChanged_")}finally{}};
function j3(a,b,c){for(var d=!0;!a.Jq&&a.RC<c.length;){var f=o3(a,c);if(f==b3){4==b&&(a.Of=4,m3(15),d=!1);k3(a.Ua,a.mk,null,"[Incomplete Response]");break}else if(f==a3){a.Of=4;m3(16);k3(a.Ua,a.mk,c,"[Invalid Chunk]");d=!1;break}else k3(a.Ua,a.mk,f,null),l3(a,f)}4==b&&0==c.length&&(a.Of=1,m3(17),d=!1);a.yk=a.yk&&d;d||(k3(a.Ua,a.mk,c,"[Invalid Chunked Response]"),i3(a),n3(a))}e.Mja=function(){var a=rH(this.zf),b=uH(this.zf);this.RC<b.length&&(h3(this),j3(this,a,b),this.yk&&4!=a&&g3(this))};
function o3(a,b){var c=a.RC,d=b.indexOf("\n",c);if(-1==d)return b3;c=Number(b.substring(c,d));if(isNaN(c))return a3;d+=1;if(d+c>b.length)return b3;var f=b.substr(d,c);a.RC=d+c;return f}
function p3(a,b){a.HB=u();g3(a);var c=b?window.location.hostname:"";a.wi=a.Un.clone();nk(a.wi,"DOMAIN",c);nk(a.wi,"t",a.KB);try{a.Ak=new ActiveXObject("htmlfile")}catch(q){i3(a);a.Of=7;m3(22);n3(a);return}var d="<html><body>";if(b){for(var f="",g=0;g<c.length;g++){var h=c.charAt(g);if("<"==h)f+="\\x3c";else if(">"==h)f+="\\x3e";else{if(h in Ta)h=Ta[h];else if(h in Sa)h=Ta[h]=Sa[h];else{var k,m=h.charCodeAt(0);if(31<m&&127>m)k=h;else{if(256>m){if(k="\\x",16>m||256<m)k+="0"}else k="\\u",4096>m&&(k+=
"0");k+=m.toString(16).toUpperCase()}h=Ta[h]=k}f+=h}}d+='<script>document.domain="'+f+'"\x3c/script>'}d+="</body></html>";c=nj(Nc("b/12014412"),d);a.Ak.open();a.Ak.write(id(c));a.Ak.close();a.Ak.parentWindow.m=t(a.Yia,a);a.Ak.parentWindow.d=t(a.s3,a,!0);a.Ak.parentWindow.rpcClose=t(a.s3,a,!1);c=a.Ak.createElement("DIV");a.Ak.parentWindow.document.body.appendChild(c);d=ad(a.wi.toString());d=Ga(Zc(d));d=nj(Nc("b/12014412"),'<iframe src="'+d+'"></iframe>');fe(c,d);a.Ua.info("TRIDENT REQ ("+a.mk+") [ attempt "+
a.KB+"]: GET\n"+a.wi);a.Da.ck(1)}e.Yia=function(a){q3(t(this.Xia,this,a),0)};e.Xia=function(a){if(!this.Jq){var b=this.Ua;b.info("TRIDENT TEXT ("+this.mk+"): "+r3(b,a));h3(this);l3(this,a);g3(this)}};e.s3=function(a){q3(t(this.Wia,this,a),0)};e.Wia=function(a){this.Jq||(this.Ua.info("TRIDENT TEXT ("+this.mk+"): "+a?"success":"failure"),i3(this),this.yk=a,this.Da.hH(this),this.Da.ck(4))};e.cancel=function(){this.Jq=!0;i3(this)};function g3(a){a.eV=u()+a.Yf;s3(a,a.Yf)}
function s3(a,b){if(null!=a.mx)throw Error("WatchDog timer not null");a.mx=q3(t(a.dja,a),b)}function h3(a){a.mx&&(l.clearTimeout(a.mx),a.mx=null)}e.dja=function(){this.mx=null;var a=u();0<=a-this.eV?this.cO():s3(this,this.eV-a)};e.cO=function(){this.Ua.info("TIMEOUT: "+this.wi);2!=this.zc&&this.Da.ck(3);i3(this);this.Of=2;m3(18);n3(this)};function n3(a){a.Da.f1()||a.Jq||a.Da.hH(a)}
function i3(a){h3(a);rc(a.ZH);a.ZH=null;a.JH.stop();a.Fa.removeAll();if(a.zf){var b=a.zf;a.zf=null;b.abort();b.dispose()}a.Ak&&(a.Ak=null)}e.TZ=function(){return this.Of};e.ah=function(){return this.ae};e.hz=function(){return this.Gh};function l3(a,b){try{a.Da.l3(a,b),a.Da.ck(4)}catch(c){}};function t3(){}function k3(a,b,c,d){a.info("XMLHTTP TEXT ("+b+"): "+r3(a,c)+(d?" "+d:""))}t3.prototype.debug=function(a){this.info(a)};t3.prototype.info=function(){};
function r3(a,b){if(!b||"y2f%"==b)return b;try{var c=Oi(b);if(c)for(var d=0;d<c.length;d++)if(fa(c[d])){var f=c[d];if(!(2>f.length)){var g=f[1];if(fa(g)&&!(1>g.length)){var h=g[0];if("noop"!=h&&"stop"!=h)for(var k=1;k<g.length;k++)g[k]=""}}}return Pi(c)}catch(m){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};function u3(a,b,c,d,f){(new t3).debug("TestLoadImageWithRetries: "+f);if(0==d)c(!1);else{var g=f||0;d--;v3(a,b,function(f){f?c(!0):l.setTimeout(function(){u3(a,b,c,d,g)},g)})}}
function v3(a,b,c){var d=new t3;d.debug("TestLoadImage: loading "+a);var f=new Image;f.onload=function(){try{d.debug("TestLoadImage: loaded"),w3(f),c(!0)}catch(a){}};f.onerror=function(){try{d.debug("TestLoadImage: error"),w3(f),c(!1)}catch(a){}};f.onabort=function(){try{d.debug("TestLoadImage: abort"),w3(f),c(!1)}catch(a){}};f.ontimeout=function(){try{d.debug("TestLoadImage: timeout"),w3(f),c(!1)}catch(a){}};l.setTimeout(function(){if(f.ontimeout)f.ontimeout()},b);f.src=a}
function w3(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=null};function x3(a,b){this.Da=a;this.Ua=b;this.ti=new V2(null,!0)}e=x3.prototype;e.Vh=null;e.Ve=null;e.$H=!1;e.jC=null;e.IE=null;e.zP=null;e.Qd=null;e.va=null;e.ae=-1;e.ih=null;e.Px=null;e.An=function(a){this.Vh=a};e.o5=function(a){this.ti=a};
e.connect=function(a){this.Qd=a;a=y3(this.Da,this.Qd);m3(3);this.jC=u();var b=this.Da.Baa;null!=b?(this.ih=this.Da.Zt(b[0]),(this.Px=b[1])?(this.va=1,z3(this)):(this.va=2,A3(this))):(ok(a,"MODE","init"),this.Ve=new Z2(this,this.Ua,void 0,void 0,void 0),this.Ve.An(this.Vh),f3(this.Ve,a,!1,null,!0),this.va=0)};function z3(a){var b=B3(a.Da,a.Px,"/mail/images/cleardot.gif");qk(b);u3(b.toString(),5E3,t(a.U9,a),3,2E3);a.ck(1)}
e.U9=function(a){if(a)this.va=2,A3(this);else{m3(4);var b=this.Da;b.Ua.debug("Test Connection Blocked");b.ae=b.eo.ah();C3(b,9)}a&&this.ck(2)};
function A3(a){a.Ua.debug("TestConnection: starting stage 2");var b=a.Da.Wka;if(null!=b)a.Ua.debug("TestConnection: skipping stage 2, precomputed result is "+b?"Buffered":"Unbuffered"),m3(5),b?(m3(11),D3(a.Da,a,!1)):(m3(12),D3(a.Da,a,!0));else if(a.Ve=new Z2(a,a.Ua,void 0,void 0,void 0),a.Ve.An(a.Vh),b=E3(a.Da,a.ih,a.Qd),m3(5),c3())ok(b,"TYPE","xmlhttp"),f3(a.Ve,b,!1,a.ih,!1);else{ok(b,"TYPE","html");var c=a.Ve;a=!!a.ih;c.zc=3;c.Un=qk(b.clone());p3(c,a)}}e.jL=function(a){return this.Da.jL(a)};
e.abort=function(){this.Ve&&(this.Ve.cancel(),this.Ve=null);this.ae=-1};e.f1=function(){return!1};
e.l3=function(a,b){this.ae=a.ah();if(0==this.va)if(this.Ua.debug("TestConnection: Got data for stage 1"),b){try{var c=this.ti.parse(b)}catch(d){F3(this.Da,this);return}this.ih=this.Da.Zt(c[0]);this.Px=c[1]}else this.Ua.debug("TestConnection: Null responseText"),F3(this.Da,this);else if(2==this.va)if(this.$H)m3(7),this.zP=u();else if("11111"==b){if(m3(6),this.$H=!0,this.IE=u(),c=this.IE-this.jC,c3()||500>c)this.ae=200,this.Ve.cancel(),this.Ua.debug("Test connection succeeded; using streaming connection"),
m3(12),D3(this.Da,this,!0)}else m3(8),this.IE=this.zP=u(),this.$H=!1};
e.hH=function(){this.ae=this.Ve.ah();this.Ve.yk?0==this.va?(this.Ua.debug("TestConnection: request complete for initial check"),this.Px?(this.va=1,z3(this)):(this.va=2,A3(this))):2==this.va&&(this.Ua.debug("TestConnection: request complete for stage 2"),(c3()?!this.$H:200>this.zP-this.IE)?(this.Ua.debug("Test connection failed; not using streaming"),m3(11),D3(this.Da,this,!1)):(this.Ua.debug("Test connection succeeded; using streaming connection"),m3(12),D3(this.Da,this,!0))):(this.Ua.debug("TestConnection: request failed, in state "+
this.va),0==this.va?m3(9):2==this.va&&m3(10),F3(this.Da,this))};e.ah=function(){return this.ae};e.OI=function(){return this.Da.OI()};e.uc=function(){return this.Da.uc()};e.ck=function(a){this.Da.ck(a)};function G3(a,b,c){this.tX=a||null;this.va=1;this.hj=[];this.tn=[];this.Ua=new t3;this.ti=new V2(null,!0);this.Baa=b||null;this.Wka=null!=c?c:null}e=G3.prototype;e.Vh=null;e.Jy=null;e.Wh=null;e.je=null;e.Qd=null;e.ME=null;e.LW=null;e.ih=null;e.Ex=!0;e.TA=0;e.uaa=!1;e.ha=null;e.vo=null;e.fm=null;e.Qq=null;e.eo=null;e.SU=null;e.c9=!0;e.sG=-1;e.A1=-1;e.ae=-1;e.Oy=0;e.Mt=0;e.C9=5E3;e.Nka=1E4;e.Jaa=2;e.eZ=2E4;e.lw=0;e.dJ=!1;e.Ut=8;var H3=new H;function I3(a,b){G.call(this,"statevent",a);this.stat=b}
w(I3,G);function J3(a,b){G.call(this,"timingevent",a);this.size=b}w(J3,G);function K3(a,b){G.call(this,"serverreachability",a);this.oka=b}w(K3,G);e=G3.prototype;e.connect=function(a,b,c,d,f){this.Ua.debug("connect()");m3(0);this.Qd=b;this.Jy=c||{};d&&n(f)&&(this.Jy.OSID=d,this.Jy.OAID=f);this.Ua.debug("connectTest_()");L3(this)&&(this.eo=new x3(this,this.Ua),this.eo.An(this.Vh),this.eo.o5(this.ti),this.eo.connect(a))};
e.disconnect=function(){this.Ua.debug("disconnect()");M3(this);if(3==this.va){var a=this.TA++,b=this.ME.clone();nk(b,"SID",this.Gh);nk(b,"RID",a);nk(b,"TYPE","terminate");N3(this,b);a=new Z2(this,this.Ua,this.Gh,a,void 0);a.zc=2;a.Un=qk(b.clone());(new Image).src=a.Un;a.HB=u();g3(a)}O3(this)};e.hz=function(){return this.Gh};
function M3(a){a.eo&&(a.eo.abort(),a.eo=null);a.je&&(a.je.cancel(),a.je=null);a.fm&&(l.clearTimeout(a.fm),a.fm=null);P3(a);a.Wh&&(a.Wh.cancel(),a.Wh=null);a.vo&&(l.clearTimeout(a.vo),a.vo=null)}e.An=function(a){this.Vh=a};e.eT=function(a){this.lw=a};e.ka=function(){return this.ha};e.Eh=function(a){this.ha=a};e.dS=function(a){this.Ex=a};e.f1=function(){return 0==this.va};e.getState=function(){return this.va};e.ah=function(){return this.ae};e.o5=function(a){this.ti=a};
function Q3(a){a.Wh||a.vo||(a.vo=q3(t(a.p3,a),0),a.Oy=0)}
e.p3=function(a){this.vo=null;this.Ua.debug("startForwardChannel_");if(L3(this))if(1==this.va){if(!a){this.Ua.debug("open_()");this.TA=Math.floor(1E5*Math.random());a=this.TA++;var b=new Z2(this,this.Ua,"",a,void 0);b.An(this.Vh);var c=R3(this),d=this.ME.clone();nk(d,"RID",a);this.tX&&nk(d,"CVER",this.tX);N3(this,d);d3(b,d,c);this.Wh=b;this.va=2}}else 3==this.va&&(a?S3(this,a):0==this.hj.length?this.Ua.debug("startForwardChannel_ returned: nothing to send"):this.Wh||(S3(this),this.Ua.debug("startForwardChannel_ finished, sent request")))};
function S3(a,b){var c,d;b?6<a.Ut?(a.hj=a.tn.concat(a.hj),a.tn.length=0,c=a.TA-1,d=R3(a)):(c=b.mk,d=b.Ip):(c=a.TA++,d=R3(a));var f=a.ME.clone();nk(f,"SID",a.Gh);nk(f,"RID",c);nk(f,"AID",a.sG);N3(a,f);c=new Z2(a,a.Ua,a.Gh,c,a.Oy+1);c.An(a.Vh);c.setTimeout(Math.round(.5*a.eZ)+Math.round(.5*a.eZ*Math.random()));a.Wh=c;d3(c,f,d)}function N3(a,b){if(a.ha){var c=a.ha.iZ(a);c&&Mb(c,function(a,c){nk(b,c,a)})}}
function R3(a){var b=Math.min(a.hj.length,1E3),c=["count="+b],d;6<a.Ut&&0<b?(d=a.hj[0].mapId,c.push("ofs="+d)):d=0;for(var f=0;f<b;f++){var g=a.hj[f].mapId,h=a.hj[f].map,g=6>=a.Ut?f:g-d;try{vj(h,function(a,b){c.push("req"+g+"_"+b+"="+encodeURIComponent(a))})}catch(k){c.push("req"+g+"_type="+encodeURIComponent("_badmap"))}}a.tn=a.tn.concat(a.hj.splice(0,b));return c.join("&")}function T3(a){a.je||a.fm||(a.KW=1,a.fm=q3(t(a.o3,a),0),a.Mt=0)}
function U3(a){if(a.je||a.fm||3<=a.Mt)return!1;a.Ua.debug("Going to retry GET");a.KW++;a.fm=q3(t(a.o3,a),V3(a,a.Mt));a.Mt++;return!0}
e.o3=function(){this.fm=null;if(L3(this)){this.Ua.debug("Creating new HttpRequest");this.je=new Z2(this,this.Ua,this.Gh,"rpc",this.KW);this.je.An(this.Vh);this.je.eT(this.lw);var a=this.LW.clone();nk(a,"RID","rpc");nk(a,"SID",this.Gh);nk(a,"CI",this.SU?"0":"1");nk(a,"AID",this.sG);N3(this,a);if(c3())nk(a,"TYPE","xmlhttp"),f3(this.je,a,!0,this.ih,!1);else{nk(a,"TYPE","html");var b=this.je,c=!!this.ih;b.zc=3;b.Un=qk(a.clone());p3(b,c)}this.Ua.debug("New Request created")}};
function L3(a){if(a.ha){var b=a.ha.O2(a);if(0!=b)return a.Ua.debug("Handler returned error code from okToMakeRequest"),C3(a,b),!1}return!0}function D3(a,b,c){a.Ua.debug("Test Connection Finished");a.SU=a.c9&&c;a.ae=b.ah();a.Ua.debug("connectChannel_()");a.caa(1,0);a.ME=y3(a,a.Qd);Q3(a)}function F3(a,b){a.Ua.debug("Test Connection Failed");a.ae=b.ah();C3(a,2)}
e.l3=function(a,b){if(0!=this.va&&(this.je==a||this.Wh==a))if(this.ae=a.ah(),this.Wh==a&&3==this.va)if(7<this.Ut){var c;try{c=this.ti.parse(b)}catch(h){c=null}if(fa(c)&&3==c.length){var d=c;if(0==d[0])a:if(this.Ua.debug("Server claims our backchannel is missing."),this.fm)this.Ua.debug("But we are currently starting the request.");else{if(this.je)if(this.je.HB+3E3<this.Wh.HB)P3(this),this.je.cancel(),this.je=null;else break a;U3(this);m3(19)}else this.A1=d[1],c=this.A1-this.sG,0<c&&(d=d[2],this.Ua.debug(d+
" bytes (in "+c+" arrays) are outstanding on the BackChannel"),37500>d&&this.SU&&0==this.Mt&&!this.Qq&&(this.Qq=q3(t(this.Jha,this),6E3)))}else this.Ua.debug("Bad POST response data returned"),C3(this,11)}else"y2f%"!=b&&(this.Ua.debug("Bad data returned - missing/invald magic cookie"),C3(this,11));else if(this.je==a&&P3(this),!x(b)){c=this.ti.parse(b);for(var d=this.ha&&this.ha.NK?[]:null,f=0;f<c.length;f++){var g=c[f];this.sG=g[0];g=g[1];2==this.va?"c"==g[0]?(this.Gh=g[1],this.ih=this.Zt(g[2]),g=
g[3],this.Ut=null!=g?g:6,this.va=3,this.ha&&this.ha.jX(this),this.LW=E3(this,this.ih,this.Qd),T3(this)):"stop"==g[0]&&C3(this,7):3==this.va&&("stop"==g[0]?(d&&0!=d.length&&(this.ha.NK(this,d),d.length=0),C3(this,7)):"noop"!=g[0]&&(d?d.push(g):this.ha&&this.ha.hX(this,g)),this.Mt=0)}d&&0!=d.length&&this.ha.NK(this,d)}};e.Zt=function(a){return this.Ex?this.ha?this.ha.Zt(a):a:null};e.Jha=function(){null!=this.Qq&&(this.Qq=null,this.je.cancel(),this.je=null,U3(this),m3(20))};
function P3(a){null!=a.Qq&&(l.clearTimeout(a.Qq),a.Qq=null)}
e.hH=function(a){this.Ua.debug("Request complete");var b;if(this.je==a)P3(this),this.je=null,b=2;else if(this.Wh==a)this.Wh=null,b=1;else return;this.ae=a.ah();if(0!=this.va)if(a.yk)1==b?(u(),H3.dispatchEvent(new J3(H3,a.Ip?a.Ip.length:0)),Q3(this),this.tn.length=0):T3(this);else{var c=a.TZ();if(3==c||7==c||0==c&&0<this.ae)this.Ua.debug("Not retrying due to error type");else{this.Ua.debug("Maybe retrying, last error: "+$2(c,this.ae));var d;if(d=1==b)this.Wh||this.vo||1==this.va||this.Oy>=(this.uaa?
0:this.Jaa)?d=!1:(this.Ua.debug("Going to retry POST"),this.vo=q3(t(this.p3,this,a),V3(this,this.Oy)),this.Oy++,d=!0);if(d||2==b&&U3(this))return;this.Ua.debug("Exceeded max number of retries")}this.Ua.debug("Error: HTTP request failed");switch(c){case 1:C3(this,5);break;case 4:C3(this,10);break;case 3:C3(this,6);break;case 7:C3(this,12);break;default:C3(this,2)}}};function V3(a,b){var c=a.C9+Math.floor(Math.random()*a.Nka);a.uc()||(a.Ua.debug("Inactive channel"),c*=2);return c*b}
e.caa=function(a){if(!tb(arguments,this.va))throw Error("Unexpected channel state: "+this.va);};function C3(a,b){a.Ua.info("Error code "+b);if(2==b||9==b){var c=null;a.ha&&(c=a.ha.XZ(a));var d=t(a.Lla,a);c||(c=new Zj("//www.google.com/images/cleardot.gif"),qk(c));v3(c.toString(),1E4,d)}else m3(2);W3(a,b)}e.Lla=function(a){a?(this.Ua.info("Successfully pinged google.com"),m3(2)):(this.Ua.info("Failed to ping google.com"),m3(1),W3(this,8))};
function W3(a,b){a.Ua.debug("HttpChannel: error - "+b);a.va=0;a.ha&&a.ha.fX(a,b);O3(a);M3(a)}function O3(a){a.va=0;a.ae=-1;if(a.ha)if(0==a.tn.length&&0==a.hj.length)a.ha.MK(a);else{a.Ua.debug("Number of undelivered maps, pending: "+a.tn.length+", outgoing: "+a.hj.length);var b=zb(a.tn),c=zb(a.hj);a.tn.length=0;a.hj.length=0;a.ha.MK(a,b,c)}}function y3(a,b){var c=B3(a,null,b);a.Ua.debug("GetForwardChannelUri: "+c);return c}
function E3(a,b,c){b=B3(a,a.OI()?b:null,c);a.Ua.debug("GetBackChannelUri: "+b);return b}function B3(a,b,c){var d=rk(c);if(""!=d.$g())b&&d.zn(b+"."+d.$g()),ck(d,d.Hp);else var f=window.location,d=sk(f.protocol,b?b+"."+f.hostname:f.hostname,f.port,c);a.Jy&&Mb(a.Jy,function(a,b){nk(d,b,a)});nk(d,"VER",a.Ut);N3(a,d);return d}e.jL=function(a){if(a&&!this.dJ)throw Error("Can't create secondary domain capable XhrIo object.");a=new iH;a.Xl=this.dJ;return a};e.uc=function(){return!!this.ha&&this.ha.uc(this)};
function q3(a,b){if(!ja(a))throw Error("Fn must not be null and must be a function");return l.setTimeout(function(){a()},b)}e.ck=function(a){H3.dispatchEvent(new K3(H3,a))};function m3(a){H3.dispatchEvent(new I3(H3,a))}e.OI=function(){return this.dJ||!c3()};function X3(){}e=X3.prototype;e.NK=null;e.O2=function(){return 0};e.jX=function(){};e.hX=function(){};e.fX=function(){};e.MK=function(){};e.iZ=function(){return{}};e.XZ=function(){return null};e.uc=function(){return!0};e.Zt=function(a){return a};function Y3(){}var Z3=function(){}.prototype,$3=Y3.prototype,a4;for(a4 in Z3)$3[a4]=Z3[a4];Y3.prototype.subscribe=function(){};Y3.prototype.clear=function(){};function b4(){z.call(this);this.LK=[]}w(b4,z);b4.prototype.ma=function(){this.LK=[];b4.R.ma.call(this)};function c4(a){b4.call(this);this.Pb=a}w(c4,b4);c4.prototype.getStringValue=function(){return this.Pb};c4.prototype.setStringValue=function(a){if(this.Pb!=a)for(this.Pb=a,a=0;a<this.LK.length;a++)this.LK[a](new G("Changed",this))};function d4(){var a=M0.Ra().getString("gaia_session_id");this.hZ=new c4(a)}da(d4);function e4(a){this.Le=a;this.hC=Math.floor(a/50);this.Qw=new W2(50)}e4.prototype.aF=function(){return this.Le};e4.prototype.get=function(a){return f4(this,a,function(a,c){return a+c.count})};function f4(a,b,c){b=b||u();g4(a,b);var d=0;b=a.hC*(Math.floor(b/a.hC)+1)-a.Le;for(var f=a.Qw.Nb()-1;0<=f;--f){var g=a.Qw.get(f);if(g.end<=b)break;d=c(d,g)}return d}function g4(a,b){var c=a.Qw.RM();c&&b<c.end-a.hC&&a.JR()}e4.prototype.JR=function(){this.Qw.clear()};function h4(a){this.end=a}
h4.prototype.count=0;h4.prototype.min=Number.MAX_VALUE;h4.prototype.max=Number.MIN_VALUE;function i4(a,b,c){this.Lb=a;this.EG=b;this.vR=new e4(1E3*c)}i4.prototype.aF=function(){return this.vR.aF()/1E3};function j4(a){sa.call(this,a)}w(j4,sa);function k4(a,b,c,d){z.call(this);this.lP=null!=d?d:.15;this.xl=a;this.bQ=b;this.dha=c;this.Ht=new No(this.Ska,void 0,this);this.x1=Number.NEGATIVE_INFINITY;this.Le=0}w(k4,z);e=k4.prototype;e.uc=function(){return this.Ht.uc()};e.start=function(){l4(this,!1,!1)};function l4(a,b,c){b&&(a.Ht.stop(),m4(a,a.bQ));a.uc()||(b=u(),b=Math.max(0,a.x1+a.Le-b),0==b&&(c?b=m4(a,a.bQ):a.Le=0),a.Ht.start(b))}e.stop=function(){this.Ht.stop()};
function m4(a,b){0<b&&0!=a.lP&&(b=Math.floor(b*(1-a.lP+Math.random()*a.lP*2)));return a.Le=b}e.Ska=function(){this.x1=u();m4(this,wd(2*this.Le,this.bQ,this.dha));this.xl()};e.ma=function(){this.Ht.dispose();delete this.Ht;delete this.xl;k4.R.ma.call(this)};function n4(a,b,c,d,f,g){z.call(this);this.Yq=new k4(t(this.nfa,this),d||5E3,f||45E3,g);this.Fa=new K(this);this.A4=a;this.yla=b;(this.hc=c||null)&&this.Fa.listen(this.hc,"uc",this.Kda).listen(this.hc,"vc",this.Jda);A(this,this.Yq);A(this,this.Fa)}w(n4,z);e=n4.prototype;e.kb=!1;e.start=function(){this.kb=!0;if(!this.hc||this.hc.dG())this.yla?l4(this.Yq,!1,!0):this.Yq.start()};e.stop=function(){this.Yq.stop();this.kb=!1};e.Kda=function(){this.kb&&l4(this.Yq,!0,!1)};e.Jda=function(){this.Yq.stop()};
e.nfa=function(){!this.kb||this.hc&&!this.hc.dG()||(this.kb=!1,this.A4())};e.ma=function(){delete this.A4;delete this.Fa;delete this.Yq;delete this.hc;n4.R.ma.call(this)};function o4(a,b,c,d,f,g){this.Tga=c||null;this.tE=!!f;this.T9=this.fM=p;this.Fa=new K(this);this.AJ=this.Gh=this.Sa=null;this.$la=a||p4;this.yP=null;this.vf=new yf;this.gX=b;this.DC=!1;this.rJ=null;this.AB=this.yR=this.jO=!1;(this.hc=d||null)&&this.Fa.listen(this.hc,["uc","vc"],qa(this.YP,void 0));this.kI=new n4(t(this.rka,this),!0,this.hc||void 0,7E3,45E3);this.wP=-1;this.ey=null;this.Zfa={};this.Uk=!!g;this.fK=null;this.dD=-1;this.cD=null;this.Yka=N0(M0.Ra(),"docs-ar");this.Rk=!1;this.subscribe("15",
this.Qca,this)}w(o4,X3);e=o4.prototype;e.Ex=!0;e.$e=null;e.T6=null;e.laa=!1;e.maa=!1;e.subscribe=function(a,b,c){this.vf.subscribe(a,b,c)};e.Zt=function(a){return this.Tga||a};e.clear=function(a){return this.vf.clear(a)};function p4(a){if(1==a.length&&r(a[0])){var b=a[0];ua(b,"{this._action=")?(a={},function(){eval(b)}.call(a),a=[0,a._lsq,[b,a],a._tfe]):a=Oi(b)}return{type:a[0],sequence:a[1],data:a[2],m6:a[3]||null}}
e.hX=function(a,b){var c=this.$la(b);if(c.sequence>this.wP){this.wP=c.sequence;if(this.yP!=c.m6){var d=c.m6;this.yP=d;q4(this,"tfe_changed",d)}q4(this,String(c.type),c.data)}};function q4(a,b,c){a.Rka&&a.Rka(b,c);a.vf.publish(b,c)}
e.iZ=function(){var a=$b(this.Zfa);a.lsq=String(this.wP);null!=this.T6&&(a.u=this.T6);this.laa&&(a.c="1");this.maa&&(a.w="1");var b=d4.Ra().hZ.getStringValue();a.gsi=b;this.Yka&&(this.fK&&(b=this.fK.Bra(),this.dD=b.Ira(),this.cD=b.Jra()),-1!=this.dD&&(a.ar=String(this.dD),this.cD&&(a.arat=this.cD.Fra()),this.dD=-1,this.cD=null));return a};
e.O2=function(){if(this.kw)try{var a=this.kw;if(!((a.vR.get()+1)/a.aF()<=a.EG))throw new j4(Xa("Query would cause ",a.Lb," to exceed ",a.EG," qps."));var b=a.vR,c=u();g4(b,c);var d=b.Qw.RM();if(!d||c>=d.end)d=new h4(b.hC*(Math.floor(c/b.hC)+1)),b.Qw.add(d);d.count+=1;d.min=Math.min(1,d.min);d.max=Math.max(1,d.max)}catch(f){if(!(f instanceof j4))throw f;return 8}return 0};e.jX=function(){this.DC=!0;this.AB=!1;this.YP(0);this.T9()};e.MK=function(){this.DC=!1;this.AB||this.kI.start()};
e.cL=function(a,b,c){this.Sa=a||this.Sa;this.Gh=b||this.Gh;this.AJ=c||this.AJ||"";this.DC||this.AB||(this.yR=!0,r4(this))};function r4(a){a.$e&&(a.$e.Eh(null),a.$e.disconnect());var b;b=a.gX?a.gX():new G3("1");b.An({"X-Same-Domain":"1"});b.dS(a.Ex);b.dJ=a.Uk;a.tE&&b.eT(200);b.Eh(a);a.$e=b;b={id:a.Sa};a.Gh&&(b.sid=a.Gh);a.$e.connect(a.AJ+"/test",a.AJ+"/bind",b)}e.ML=function(){this.rJ=this.ey=null;this.DC&&(this.AB=this.yR=!1,this.$e.disconnect())};
e.rka=function(){this.yR&&!this.DC&&(this.AB=!0,r4(this),this.kI.start())};e.fX=function(a,b){this.YP(b)};e.YP=function(a){if(null!=a)if(this.rJ=a,this.jO||6!=a)this.jO=!1,2==a&&409==this.ah()&&(this.yP=null,q4(this,"tfe_changed",null));else{this.jO=!0;this.cL();return}a=this.hc&&!this.hc.dG()?8:null!=this.rJ?this.rJ:0;a!=this.ey&&(this.ey=a,this.fM.call(l,a))};e.ah=function(){return this.$e?this.$e.ah():-1};e.n4=function(a){this.fM=a;null!=this.ey&&this.fM(this.ey)};e.XZ=function(){return qk(new Zj("//www.google.com/images/cleardot.gif"))};
e.dS=function(a){this.Ex=a};e.Qca=function(a){if(a=a.gaiaSessionIdentifier)d4.Ra().hZ.setStringValue(a);else throw Error("GAIA session id should be a valid string. Received - "+a);};e.dispose=function(){this.Rk||(this.Rk=!0,this.$e&&(this.$e.Eh(null),this.$e.disconnect(),delete this.$e),rc(this.Fa),rc(this.kI),rc(this.vf),delete this.Fa,delete this.kI,delete this.hc,delete this.vf)};e.isDisposed=function(){return this.Rk};function s4(a,b){z.call(this);this.Sa=a;this.lL=b;this.vf=new yf;this.fK=null}w(s4,z);e=s4.prototype;e.gM=null;e.a6=p;e.Ela=p;e.ae=0;e.subscribe=function(a,b,c){this.vf.subscribe(a,b,c)};e.clear=function(a){return this.vf.clear(a)};e.cL=function(a,b,c){var d=this.lL;a=Pi({id:this.Sa,did:a,sid:b,up:c});t4(d,"cin",a)};e.ML=function(){var a=this.lL,b=Pi({id:this.Sa});t4(a,"din",b)};e.n4=function(a){this.a6=a;null!=this.gM&&a(this.gM)};e.ah=function(){return this.ae};
e.KK=function(a,b){this.gM=a;this.ae=b;this.a6(a)};e.ma=function(){rc(this.vf);t4(this.lL,"dtor",{id:this.Sa});s4.R.ma.call(this)};function u4(a){this.Ba=a||{cookie:""}}var v4=/\s*;\s*/;e=u4.prototype;e.isEnabled=function(){return navigator.cookieEnabled};e.set=function(a,b,c,d,f,g){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');n(c)||(c=-1);f=f?";domain="+f:"";d=d?";path="+d:"";g=g?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(u()+1E3*c)).toUTCString();this.Ba.cookie=a+"="+b+f+d+c+g};
e.get=function(a,b){for(var c=a+"=",d=(this.Ba.cookie||"").split(v4),f=0,g;g=d[f];f++){if(0==g.lastIndexOf(c,0))return g.substr(c.length);if(g==a)return""}return b};e.remove=function(a,b,c){var d=this.Wd(a);this.set(a,"",0,b,c);return d};e.Zd=function(){return w4(this).keys};e.wc=function(){return w4(this).values};e.isEmpty=function(){return!this.Ba.cookie};e.Nb=function(){return this.Ba.cookie?(this.Ba.cookie||"").split(v4).length:0};e.Wd=function(a){return n(this.get(a))};
e.clear=function(){for(var a=w4(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};function w4(a){a=(a.Ba.cookie||"").split(v4);for(var b=[],c=[],d,f,g=0;f=a[g];g++)d=f.indexOf("="),-1==d?(b.push(""),c.push(f)):(b.push(f.substring(0,d)),c.push(f.substring(d+1)));return{keys:b,values:c}}var x4=new u4("undefined"==typeof document?null:document);x4.soa=3950;var y4=null;function z4(){if(!y4){var a=M0.Ra();if(N0(a,"xdbcfAllowHostNamePrefix")){var b;try{b=!!l.chrome.loadTimes().wasFetchedViaSpdy}catch(c){b=!1}b||N0(a,"docs-spdy")?y4="0":(a=parseInt(x4.get("lbcs","-1"),10),isNaN(a)&&(a=-1),a=((a+1)%1E3).toString(),x4.set("lbcs",a,-1,"/",void 0,!1),y4=a)}else y4=null}return y4};function A4(a,b,c,d,f,g,h,k){z.call(this);var m=M0.Ra();this.jW=N0(m,"xdbcfAllowXpc");this.tE=N0(m,"docs-ebcrsct");this.Uk=N0(m,"docs-corsbc")&&(c3()?n((new XMLHttpRequest).withCredentials):!1);var q;if(q=b)q="docs-corsbc"in m.sM;q&&b.rra("docs-corsbc",this.Uk);this.Fa=new K(this);this.NL=new No(this.Zga,1E4,this);this.QL=a;this.Ha=d||he();this.Wq=b;this.iV=f||m.getString("xdbcmUri");this.xO=c;this.SC=(this.hc=k||null)?!this.hc.dG():!!g;this.HJ=new n4(t(this.ska,this),!1,k,1E4,3E4);this.ZI=[];this.Tw=
{};a=this.jW&&(c3()&&(ja(document.postMessage)||ja(window.postMessage))?!0:!1);this.i1=!1;a&&!this.Uk?(this.a4=h||null,this.V6=!0):h&&(this.kw=new i4(h.n,h.l,h.i));this.Fa.listen(H3,"serverreachability",this.Mea)}w(A4,z);var B4=0;e=A4.prototype;e.ih=null;e.a4=null;e.kw=null;e.V6=!1;e.SC=!1;e.Zka=function(){if(this.hc){var a={os:this.hc.dG()},a=Pi(a);t4(this,"osc",a)}};function t4(a,b,c){a.jo&&a.jo.ii()?a.jo.send(b,c):a.ZI.push({service:b,message:c})}e.Zga=function(){this.SC||(this.SC=!0,C4(this,2))};
function D4(a){a.jo&&(a.jo.dispose(),a.jo=null);var b=a.Ha.H("xdbcm");b&&a.Ha.removeNode(b)}
e.ska=function(){D4(this);var a=Vh(this.iV),b=a[5]||"",c={};if("id"==this.xO){var d=b,b=this.QL,f=Vh(d)[5]||null;if(U2.test(f))b=d;else{d=d.split("/");if(0==d.length)throw Error("Path was empty");d.splice(d.length-1,0,"d",encodeURIComponent(b));b=d.join("/")}}else this.xO&&(c[this.xO]=this.QL);c.internal=!1;c.gcp=Pi({qlc:this.a4,elh:!1,eoo:!!this.hc});c.rt="j";a=Th(a[1],null,E4(this,a[3]),a[4],b,di(c));c=Vh(this.iV);c=Th(c[1],null,E4(this,c[3]),c[4],null);a=this.jo=new kX({cn:"docs",tp:1,pu:a,ifrid:"xdbcm",
ph:c,osh:!0});oX(a,this.Ha.Ba.body,F4);a.Wb("dm",t(this.v$,this));a.Wb("ces",t(this.S9,this));a.Wb("co",t(this.zaa,this));a.Wb("lm",t(this.Xga,this));a.Wb("re",t(this.Lea,this));a.connect(t(this.yba,this));this.HJ.start()};e.v$=function(a){a=Ni(a);this.Tw[a.id].vf.publish(a.rt,a.rd)};e.S9=function(a){a=Ni(a);this.Tw[a.id].KK(a.es,a.lsc)};e.zaa=function(a){a=Ni(a);this.Tw[a.id].Ela()};e.Xga=function(a){Oi(a)};function C4(a,b){for(var c in a.Tw)a.Tw[c].KK(b,-1)}
function E4(a,b){if(n(b))return a.ih?a.ih+"."+b:b;throw Error("Host name for Cross domain BC is undefined.");}e.yba=function(){this.NL.stop();this.SC=!1;this.HJ.stop();C4(this,0);for(var a=0;a<this.ZI.length;++a){var b=this.ZI[a];this.jo.send(b.service,b.message)}this.ZI=[]};e.Mea=function(a){G4(this,a.oka)};e.Lea=function(a){a=Ni(a);G4(this,a.rat)};function G4(a,b){if(a.hc)switch(b){case 1:a.hc.zha();break;case 2:case 4:a.hc.tQ(!0);break;case 3:a.hc.tQ(!1)}}
e.ma=function(){D4(this);sc(this.NL,this.Fa,this.jo,this.HJ);A4.R.ma.call(this)};function F4(a){X(a,!1)};function H4(a,b){z.call(this);this.h2=a||0;this.Sr=b||10;if(this.h2>this.Sr)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Yk=new FI;this.ll=new xj;this.ny=0;this.qP=null;this.hD()}w(H4,z);e=H4.prototype;e.fF=function(){var a=u();if(!(null!=this.qP&&a-this.qP<this.ny)){for(var b;0<this.Yk.Nb()&&(b=this.Yk.lo(),!this.yQ(b));)this.hD();!b&&this.Nb()<this.Sr&&(b=this.iL());b&&(this.qP=a,this.ll.add(b));return b}};
e.yx=function(a){this.ll.remove(a);this.yQ(a)&&this.Nb()<this.Sr?this.Yk.enqueue(a):I4(a)};e.hD=function(){for(var a=this.Yk;this.Nb()<this.h2;)a.enqueue(this.iL());for(;this.Nb()>this.Sr&&0<this.Yk.Nb();)I4(a.lo())};e.iL=function(){return{}};function I4(a){if("function"==typeof a.dispose)a.dispose();else for(var b in a)a[b]=null}e.yQ=function(a){return"function"==typeof a.N9?a.N9():!0};e.contains=function(a){return this.Yk.contains(a)||this.ll.contains(a)};e.Nb=function(){return this.Yk.Nb()+this.ll.Nb()};
e.isEmpty=function(){return this.Yk.isEmpty()&&this.ll.isEmpty()};e.ma=function(){H4.R.ma.call(this);if(0<this.ll.Nb())throw Error("[goog.structs.Pool] Objects not released");delete this.ll;for(var a=this.Yk;!a.isEmpty();)I4(a.lo());delete this.Yk};function J4(a){this.bk=[];if(a)a:{var b;if(a instanceof J4){if(b=a.Zd(),a=a.wc(),0>=this.Nb()){for(var c=this.bk,d=0;d<b.length;d++)c.push(new Rs(b[d],a[d]));break a}}else b=Tb(a),a=Sb(a);for(d=0;d<b.length;d++)K4(this,b[d],a[d])}}function K4(a,b,c){var d=a.bk;d.push(new Rs(b,c));a.gQ(d.length-1)}e=J4.prototype;e.remove=function(){var a=this.bk,b=a.length,c=a[0];if(!(0>=b))return 1==b?ub(a):(a[0]=a.pop(),this.fQ(0)),c.Ga()};
e.fQ=function(a){for(var b=this.bk,c=b.length,d=b[a];a<c>>1;){var f=2*a+1,g=2*a+2,f=g<c&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>d.getKey())break;b[a]=b[f];a=f}b[a]=d};e.gQ=function(a){for(var b=this.bk,c=b[a];0<a;){var d=a-1>>1;if(b[d].getKey()>c.getKey())b[a]=b[d],a=d;else break}b[a]=c};e.wc=function(){for(var a=this.bk,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Ga());return b};e.Zd=function(){for(var a=this.bk,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
e.Wd=function(a){return ob(this.bk,function(b){return b.getKey()==a})};e.clone=function(){return new J4(this)};e.Nb=function(){return this.bk.length};e.isEmpty=function(){return 0==this.bk.length};e.clear=function(){ub(this.bk)};function L4(){J4.call(this)}w(L4,J4);L4.prototype.enqueue=function(a,b){K4(this,a,b)};L4.prototype.lo=function(){return this.remove()};function M4(a,b){this.eY=void 0;this.Es=new L4;H4.call(this,a,b)}w(M4,H4);e=M4.prototype;e.fF=function(a,b){if(!a){var c=M4.R.fF.call(this);c&&this.ny&&(this.eY=l.setTimeout(t(this.zF,this),this.ny));return c}this.Es.enqueue(n(b)?b:100,a);this.zF()};e.zF=function(){for(var a=this.Es;0<a.Nb();){var b=this.fF();if(b)a.lo().apply(this,[b]);else break}};e.yx=function(a){M4.R.yx.call(this,a);this.zF()};e.hD=function(){M4.R.hD.call(this);this.zF()};
e.ma=function(){M4.R.ma.call(this);l.clearTimeout(this.eY);this.Es.clear();this.Es=null};function N4(a,b,c,d){this.oO=a;this.Xl=!!d;M4.call(this,b,c)}w(N4,M4);N4.prototype.iL=function(){var a=new iH,b=this.oO;b&&b.forEach(function(b,d){a.headers.set(d,b)});this.Xl&&(a.Xl=!0);return a};N4.prototype.yQ=function(a){return!a.isDisposed()&&!a.uc()};function O4(a,b,c,d,f,g){H.call(this);this.HA=n(a)?a:1;this.gq=n(f)?Math.max(0,f):0;this.px=new N4(b,c,d,g);this.Sf=new qj;this.Fa=new K(this)}w(O4,H);var P4="ready complete success error abort timeout".split(" ");e=O4.prototype;e.KI=function(a){this.gq=Math.max(0,a)};e.send=function(a,b,c,d,f,g,h,k,m,q){if(this.Sf.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new Q4(b,t(this.xN,this,a),c,d,f,h,n(k)?k:this.HA,m,q);this.Sf.set(a,b);a=t(this.tba,this,a);this.px.fF(a,g);return b};
e.abort=function(a,b){var c=this.Sf.get(a);if(c){var d=c.QC;c.PV=!0;b&&(d&&(this.Fa.ab(d,P4,c.jV),xg(d,"ready",function(){var a=this.px;a.ll.remove(d)&&a.yx(d)},!1,this)),this.Sf.remove(a));d&&d.abort()}};e.tba=function(a,b){var c=this.Sf.get(a);c&&!c.QC?(this.Fa.listen(b,P4,c.jV),b.KI(this.gq),b.Fs=c.Fs,b.Xl=c.Xl,c.QC=b,this.dispatchEvent(new R4("ready",this,a,b)),this.lI(a,b),c.PV&&b.abort()):(c=this.px,c.ll.remove(b)&&c.yx(b))};
e.xN=function(a,b){var c=b.target;switch(b.type){case "ready":this.lI(a,c);break;case "complete":a:{var d=this.Sf.get(a);if(7==c.ap||sH(c)||d.rD>d.HA)if(this.dispatchEvent(new R4("complete",this,a,c)),d&&(d.DX=!0,d.BX)){c=d.BX.call(c,b);break a}c=null}return c;case "success":this.$N(a,c);break;case "timeout":case "error":this.Nu(a,c);break;case "abort":this.dispatchEvent(new R4("abort",this,a,c))}return null};
e.lI=function(a,b){var c=this.Sf.get(a);!c||c.DX||c.rD>c.HA?(c&&(this.Fa.ab(b,P4,c.jV),this.Sf.remove(a)),c=this.px,c.ll.remove(b)&&c.yx(b)):(c.rD++,b.send(c.getUrl(),c.VG,c.getContent(),c.PM()))};e.$N=function(a,b){this.dispatchEvent(new R4("success",this,a,b))};e.Nu=function(a,b){var c=this.Sf.get(a);c.rD>c.HA&&this.dispatchEvent(new R4("error",this,a,b))};e.ma=function(){O4.R.ma.call(this);this.px.dispose();this.px=null;this.Fa.dispose();this.Fa=null;this.Sf.clear();this.Sf=null};
function R4(a,b,c,d){G.call(this,a,b);this.id=c;this.QC=d}w(R4,G);function Q4(a,b,c,d,f,g,h,k,m){this.tc=a;this.VG=c||"GET";this.mc=d;this.oO=f||null;this.HA=n(h)?h:1;this.rD=0;this.PV=this.DX=!1;this.jV=b;this.BX=g;this.Fs=k||"";this.Xl=!!m;this.QC=null}Q4.prototype.getUrl=function(){return this.tc};Q4.prototype.getContent=function(){return this.mc};Q4.prototype.PM=function(){return this.oO};function S4(a,b,c,d,f){G.call(this,a,b);this.request=c;this.response=d||null;this.lka=f||null}w(S4,G);S4.prototype.ma=function(){S4.R.ma.call(this);delete this.request;delete this.response;delete this.lka};function T4(a){this.Sa=a.id;this.Lb=a.name;this.vg=pw(a.iconUrl);this.D9=a.baseUrl||null;var b=new xj;this.KA=b;var c=[],d=new qj,f=new qj,g=this.getId(),h=a.actions;if(h)for(var k=0;k<h.length;k++){var m=c2(h[k]);m.wI=g;b.addAll(m.kf());c.push(m);var q=m.VV,v=d.get(q)||[];v.push(m);d.set(q,v);q=m.Is;v=f.get(q)||[];v.push(m);f.set(q,v)}this.Oh=c;d=a.mtio;b=a.mimeTypeIcons||{};c=new qj;if(d)for(var B in d)c.set(B,new ow(d[B]));else for(B in b)d={},d.u=b[B],c.set(B,new ow(d));(new xj).addAll(a.thumbnailsSupported||
[]);a=this.getId();U1.call(this,this,a,void 0)}w(T4,V1);e=T4.prototype;e.getId=function(){return this.Sa};e.getName=function(){return this.Lb};e.getIcon=function(){return this.vg};e.Co=function(){return this.vg.getUrl()};e.isSupported=function(a){return this.KA.contains(a)};e.DM=function(){return this.Oh};e.Wy=function(){return this.D9};function U4(a){this.Sa=a.id||"";this.Lb=a.name||"";this.e6=a.summary||"";this.Hf=a.description||"";this.wO=xw(xw(xw(xw(xw(xw(xw(xw(xw(xw(xw(xw(new ww,"app",16,a.appIconUrlMedium),"app",32,a.appIconUrlLarge),"app",48,a.appIconUrlExtraLarge48),"app",64,a.appIconUrlExtraLarge64),"app",128,a.appIconUrlExtraLarge128),"app",256,a.appIconUrlExtraLarge256),"doc",16,a.docIconUrlMedium),"doc",32,a.docIconUrlLarge),"doc",48,a.docIconUrlExtraLarge48),"doc",64,a.docIconUrlExtraLarge64),"doc",128,a.docIconUrlExtraLarge128),
"doc",256,a.docIconUrlExtraLarge256).Hd();this.UR=a.secondaryFileExtensions||[];this.l$=a.createUrlWithoutParent||"";this.k$=a.createUrlWithParentPlaceholder||"";this.nga=!!a.isInstalled;this.iga=!!a.isAuthorized}var V4=/\$PARENT_FOLDER_ID\$/g;e=U4.prototype;e.getId=function(){return this.Sa};e.getName=function(){return this.Lb};e.Co=function(a,b){return this.wO.getIcon(b,a).getUrl()};e.Ty=function(a){return this.Co(a,"app")};e.qZ=function(a){return a?this.k$.replace(V4,a):this.l$};
e.isInstalled=function(){return this.nga};e.QO=function(){return this.iga};e.AX=function(a){return Da(this.getName(),a.getName())};function W4(a){p2.call(this,a);this.yB&&(this.kka=a.response)}w(W4,p2);function X4(a){W4.call(this,a);if(a=(a=a.response||null)?a.apps:null)for(var b=[],c=a.length,d=0;d<c;d++)b.push(new U4(a[d]))}w(X4,W4);X4.prototype.Mi=function(){return 37};r2.set(37,function(a){return new X4(a)});function Y4(a){Xi(this,a,Z4)}w(Y4,Vi);var Z4=[4];Y4.prototype.Ya=function(){return ij(this)};function $4(a){this.wR=a.quota||-1;this.ika=a.quotaUsedAggregate||-1;this.eka=a.quotaFormatted||"";this.hka=a.quotaUsedAggregateFormatted||"";this.jka=a.quotaUsedInTrashFormatted||"";this.gka=a.quotaPercentUsedAggregateFormatted||"";this.fka=!!a.quotaNearFull;a.unifiedQuota&&(a=a.unifiedQuota)&&new Y4(Ni(a))}
$4.prototype.clone=function(){var a={};a.quota=this.wR;a.quotaUsedAggregate=this.ika;a.quotaFormatted=this.eka;a.quotaUsedAggregateFormatted=this.hka;a.quotaUsedInTrashFormatted=this.jka;a.quotaPercentUsedAggregateFormatted=this.gka;a.quotaNearFull=this.fka;return new $4(a)};function a5(a){this.Sa=a.id;this.Lb=a.name;this.Pb=a.value;this.getName();a=this.getId();U1.call(this,this,a,void 0)}w(a5,V1);a5.prototype.getId=function(){return this.Sa};a5.prototype.getName=function(){return this.Lb};a5.prototype.Ga=function(){return this.Pb};function b5(a){p2.call(this,a);var b=[];if(this.yB&&(a=a.response)){var c=a.prefs,d;for(d in c){var f={};f.id=d;f.name=d;f.value=c[d];b.push(new a5(f))}a.diskQuota&&new $4(a.diskQuota)}}w(b5,p2);b5.prototype.Mi=function(){return 10};b5.prototype.ma=function(){b5.R.ma.call(this)};r2.set(10,function(a){return new b5(a)});function c5(a){this.Sa=a.expId||null;a=this.getId();U1.call(this,this,a,void 0)}w(c5,V1);c5.prototype.getId=function(){return this.Sa};function d5(a){this.Gl=a.query||null;this.Sfa=a.html||null;a=Ea(this.Io());U1.call(this,this,a,void 0)}w(d5,V1);d5.prototype.Io=function(){return this.Gl};d5.prototype.cz=function(){return this.Sfa};function e5(a){W4.call(this,a);if(this.yB){a=this.kka;l2(a.docs||[]);this.rf=l2(a.parents||[]);var b=a.spellCorrection||{};b&&b.query&&b.correction&&b.html&&new d5(b);(a=a.searchExperiment||{},a.expId)&&a.expTreatId&&a.expDpyId&&new c5(a)}}w(e5,W4);e5.prototype.Mi=function(){return 3};e5.prototype.Fo=function(){return this.rf};r2.set(3,function(a){return new e5(a)});function f5(a){p2.call(this,a);var b=[],c=[],d,f=null,g=null,h=null,k=null;if(this.yB){d=a.response;var m=d.services;if(m)for(var q=0;q<m.length;q++)b.push(new T4(m[q]));if(m=d.mimetypes)for(q=0;q<m.length;q++)c.push(new $1(m[q]));d=d.token;a.vr&&(f=new e5(a.vr));a.folders&&(g=new e5(a.folders));a.prefs&&(h=new b5(a.prefs));a.apps&&(k=new X4(a.apps))}this.xf=b;this.KA=c||[];this.xy=f;this.Ny=g;this.tB=h;this.Dy=k;this.Ye=d}w(f5,p2);f5.prototype.Mi=function(){return 2};f5.prototype.getToken=function(){return this.Ye};
f5.prototype.Yp=function(a){f5.R.Yp.call(this,a);this.xy&&this.xy.Yp(a);this.Ny&&this.Ny.Yp(a);this.tB&&this.tB.Yp(a);this.Dy&&this.Dy.Yp(a)};f5.prototype.ma=function(){f5.R.ma.call(this);this.KA=this.xf=null;this.xy&&(this.xy.dispose(),this.xy=null);this.Ny&&(this.Ny.dispose(),this.Ny=null);this.tB&&(this.tB.dispose(),this.tB=null);this.Dy&&(this.Dy.dispose(),this.Dy=null);this.Ye=null};r2.set(2,function(a){return new f5(a)});function g5(a,b){t2.call(this);this.dga=a;b=b||{};var c=[];a&1&&b.serviceids&&(c=b.serviceids);this.fla=c}w(g5,t2);var h5=new Zj("ir");g5.prototype.Vy=function(){return h5};g5.prototype.Mi=function(){return 2};g5.prototype.Eo=function(){var a=new qj;a.set("init",this.dga);a.set("serviceids",this.fla);return a};z2.set(2,function(a){return new g5(a.init,a)});function i5(a){H.call(this);this.VI=a;this.QB=new qj;this.Te=new qj;this.aw=new qj;this.Ep=new qj;this.IR=new qj;this.hI=new qj;this.Fa=new K(this)}w(i5,H);e=i5.prototype;e.et=null;e.Yb=!0;e.va="uninitialized";e.wQ=0;e.HR=30;e.Yp=function(a){this.VI=a};e.Ke=function(){};e.wg=function(){return"initialized"==this.va};e.getState=function(){return this.va};
e.sendRequest=function(a){this.wg()?(this.Te.set(a.getId(),a),this.Yb?(this.U4(a),this.wQ++):(j5(this,a.getId(),a),k5(this,a.getId()))):"init-failed"==this.va?(j5(this,a.getId(),a),k5(this,a.getId())):this.hI.set(a.getId(),a)};e.$W=function(){};e.U4=function(){};function j5(a,b,c){if(c=null!=c?c:a.Te.get(b))a.dispatchEvent(new S4("ready",a,c)),a.Te.remove(b),a.QB.set(b,c)}
function l5(a,b,c){var d=a.QB,f=d.get(b);f&&(d.remove(b),a.aw.remove(b),d=m5(a,b,f,c),a.dispatchEvent(new S4("success",a,f,d,c)),n5(a,d),a.et&&a.et.getId()==b&&(a.et=null,d.getError()?vj(a.Ep,function(a,b){k5(this,b)},a):(x2=d.getToken(),vj(a.Ep,function(a,b){this.IR.set(b,a);this.sendRequest(a)},a)),a.Ep.clear()))}function m5(a,b,c,d){var f=Q2();R2(f,b,1);c=r2.execute(c.Mi(),d);S2(f,f.Ds,b,1,void 0);c.Yp(a.VI);return c}
function n5(a,b){if(b)switch(b.gaa){case 1:a.Yb=!1;break;case 2:a.Yb=!1,l.location.reload()}}function k5(a,b,c){var d=a.QB,f=d.get(b);f&&(d.remove(b),(d=a.et)&&d.getId()==b?(a.et=null,o5(a,a.Ep.wc()),a.Ep.clear()):409==c?a.aw.Wd(b)?(a.aw.remove(b),o5(a,f)):(a.aw.set(b,f),I(t(a.sendRequest,a,f))):401==c?(new T2).setVisible(!0):403==c?a.IR.Wd(b)?o5(a,f):(a.Ep.set(b,f),d||(d=a.et=new g5(8),a.sendRequest(d))):o5(a,f))}
function o5(a,b){for(var c=fa(b)?b:[b],d=0;d<c.length;d++)a.dispatchEvent(new S4("error",a,c[d]))}function p5(a){return-1==a||0==a}e.ma=function(){y([this.Te,this.aw,this.QB,this.Ep,this.hI,this.IR],function(a){vj(a,function(a){this.$W(a)},this);a.clear()},this);this.et=this.hI=this.QB=this.Ep=this.aw=this.Te=null;this.Fa.dispose();this.Fa=null;i5.R.ma.call(this)};function q5(a,b){G.call(this,a);this.update=b}w(q5,G);function r5(a){q5.call(this,"wc",a)}w(r5,q5);function s5(a){q5.call(this,"xc",a)}w(s5,q5);function t5(a){q5.call(this,"yc",a)}w(t5,q5);function u5(a){q5.call(this,"zc",a)}w(u5,q5);function v5(a){q5.call(this,"Ac",a)}w(v5,q5);function w5(a){q5.call(this,"Bc",a)}w(w5,q5);var x5={Hma:"add",Xma:"change",Jna:"garden_add",Kna:"garden_change",Lna:"garden_remove",Fpa:"remove",uqa:"task_status",zpa:"quota",UNKNOWN:"unknown"};function y5(a){return Ub(x5,function(b){return b==a})?a:"unknown"};function z5(a){z.call(this);this.Ei=a.version;this.zc=a.type||"unknown";this.lB=a.payload||null}w(z5,z);z5.prototype.getType=function(){return this.zc};function A5(a){a=a.lB;r(a)&&(a=Oi(a));return fa(a)?a:null!=a?[a]:[]}z5.prototype.createEvent=function(){return new q5("Cc",this)};z5.prototype.ma=function(){z5.R.ma.call(this);this.lB=null;delete this.lB};var B5=new o2(function(a){return new z5(a)});function C5(a,b){for(var c=fa(a)?a:[a],d=0;d<c.length;d++)B5.set(c[d],b)};function D5(a){z5.call(this,a);a=A5(this);this.gu=l2(a)}w(D5,z5);D5.prototype.createEvent=function(){return new r5(this)};D5.prototype.ma=function(){D5.R.ma.call(this);this.gu=null;delete this.gu};function E5(a){Xi(this,a,null)}w(E5,Vi);E5.prototype.Ya=function(){return ij(this)};function F5(a){z5.call(this,a);a=A5(this);new E5(a)}w(F5,z5);F5.prototype.createEvent=function(){return new s5(this)};function G5(a){Xi(this,a,H5)}w(G5,Vi);var H5=[1];G5.prototype.Ya=function(){return ij(this)};function I5(a){z5.call(this,a);a=A5(this);new G5(a)}w(I5,z5);I5.prototype.createEvent=function(){return new t5(this)};function J5(a){Xi(this,a,K5)}w(J5,Vi);var K5=[1,2];J5.prototype.Ya=function(){return ij(this)};function L5(a){z5.call(this,a);a=A5(this);new J5(a)}w(L5,z5);L5.prototype.createEvent=function(){return new u5(this)};function M5(a){z5.call(this,a);a=this.lB;r(a)&&(a=Oi(a));new $4(a.diskQuota)}w(M5,z5);M5.prototype.createEvent=function(){return new w5(this)};function N5(a){H.call(this);this.wX=a;this.Fa=new K(this);A(this,this.Fa);this.XH=new gh(this.d4);A(this,this.XH)}w(N5,H);e=N5.prototype;e.e4=90;e.d4=6E4;e.xG=0;e.Ke=function(){this.xG=this.wX.wQ;this.Fa.listen(this.XH,"tick",this.Jea);0<this.d4&&this.XH.start()};e.Jea=function(){var a=this.wX.wQ;(a>=this.xG?a-this.xG:a)>this.e4&&this.dispatchEvent("Dc");this.xG=a};e.ma=function(){this.XH.stop();N5.R.ma.call(this)};function O5(a){this.Sa=a.id;this.va=a.state;this.Mb="desc"in a?new P5(a):null;this.Zja="cw"in a?new Q5:null}e=O5.prototype;e.getId=function(){return this.Sa};e.getState=function(){return this.va};e.lb=function(a){this.va=a};e.getDetails=function(){return this.Mb};e.m_=function(){return this.Zja};function P5(a){this.Lb=a.name;this.Hf=a.desc;this.S=a.context;this.jC=new Date(a.start)}P5.prototype.getName=function(){return this.Lb};P5.prototype.getContext=function(){return this.S};function Q5(){};function R5(a){z5.call(this,a);a=this.lB;r(a)&&(a=Oi(a));this.Jla=wj(a,function(a){return new O5(a)})}w(R5,z5);R5.prototype.createEvent=function(){return new v5(this)};R5.prototype.ma=function(){delete this.Jla;R5.R.ma.call(this)};function S5(a,b,c){t2.call(this);this.mR=a.value?Ni(a.value):a;this.Bka=!!c}w(S5,t2);var T5=new Zj("prefs");S5.prototype.Vy=function(){return T5};S5.prototype.Mi=function(){return 10};S5.prototype.Eo=function(){var a=new qj;if(this.mR){var b=this.mR;null!==b&&"removeAttribute"in b&&b.removeAttribute(ma);try{delete b[ma]}catch(c){}a.set("value",Pi(this.mR));this.Bka&&a.set("replace",!0)}return a};z2.set(10,function(a){return new S5(a)});function U5(a){t2.call(this);this.Y5=E2(a,"start")||0;this.kU="";this.H2=E2(a,"num")||E2(a,"numResults");this.dY=this.Ga(a,"defaultSort",3);this.fU=this.Ga(a,"sort",null);var b=B2(a,"desc");this.gY=null!=b?b:!0;this.Gl=D2(a,"query")||D2(a,"q");this.c4=C2(a,"queryNameOnly")||C2(a,"qNameOnly");this.dka=D2(a,"queryCorpus")||D2(a,"corpus");this.l4=C2(a,"refresh");this.ZQ=E2(a,"pageSize")}w(U5,t2);e=U5.prototype;e.Ga=function(a,b,c){a=B2(a,b);return null!=a?a:c};e.Io=function(){return this.Gl};
e.Eo=function(){var a=new qj;this.kU&&A2(a,"startToken",this.kU);A2(a,"start",this.Y5);A2(a,"numResults",this.H2);A2(a,"sort",null!=this.fU?this.fU:this.dY);A2(a,"desc",this.gY);A2(a,"q",this.Gl);A2(a,"qNameOnly",this.c4);A2(a,"corpus",this.dka);A2(a,"refresh",this.l4);A2(a,"pageSize",this.ZQ);return a};e.OO=function(){U5.R.OO.call(this)};
e.clone=function(a){var b={start:this.Y5,startToken:this.kU,num:this.H2,defaultSort:this.dY,sort:this.fU,desc:this.gY,query:this.Gl,queryNameOnly:this.c4,corpus:this.MX,refresh:this.l4,pageSize:this.ZQ};a&&cc(b,a);return new U5(b)};function V5(a,b){U5.call(this,b);this.jx=a;this.xf=B2(b,"services");this.KA=B2(b,"mimeTypes");this.Q9=B2(b,"mimeTypeSets");this.xaa=B2(b,"filter");this.Cla=W5(b,"star");this.Nfa=W5(b,"hidden");this.vma=W5(b,"viewed");this.lha=W5(b,"mine");this.cka=W5(b,"published");this.g$=W5(b,"containers");this.qja=W5(b,"orphans");this.Cb=D2(b,"parent");this.Ie=D2(b,"email");this.pha=D2(b,"named");this.Vja=W5(b,"private");this.ola=W5(b,"sharedWithDomain");this.naa=W5(b,"explicitlyShared");this.xma=W5(b,"visibility");
this.RT=B2(b,"shareFilters");this.tL=B2(b,"dateFilter");this.uO=C2(b,"hosted");this.Y8=C2(b,"advancedSearch");this.MX=B2(b,"corpus");this.Qd=C2(b,"path");this.wR=C2(b,"quota");this.L$=C2(b,"edited");this.z9=C2(b,"availableOffline");this.sha=C2(b,"newlyModified");this.GW=D2(b,"authorizedAppId");this.O5=B2(b,"sourceClientService");this.P5=D2(b,"sourceId");this.kja=B2(b,"opensWithApp");this.p$=this.GW?3:0;var c={};c.view=a;c.opt_opts=b;this.aS=c}w(V5,U5);
function X5(a){switch(a){case "star":case "viewed":case "mine":case "published":case "containers":case "orphans":case "private":case "filter":case "sharedWithDomain":case "explicitlyShared":case "hidden":return 2}}function W5(a,b){var c=B2(a,b);return null!=c?c:X5(b)}function Y5(a,b,c){A2(a,b,c,X5(b))}var Z5=new Zj("vr");e=V5.prototype;e.Vy=function(){return Z5};e.Mi=function(){return 3};
e.clone=function(a,b){var c=this.aS.view;4==c&&null!=b&&(c=b);var d;if(d=this.aS.opt_opts){if(d=$b(d),a)for(var f in a){var g=a[f],h;b:{switch(f){case "star":case "viewed":case "mine":case "published":case "containers":case "orphans":case "private":case "sharedWithDomain":case "explicitlyShared":case "hidden":h=!0;break b}h=!1}h&&2==g&&null!=d[f]||(d[f]=g)}}else d=a;return new V5(c,d)};e.pj=function(){return Pi(this.aS)};e.getParent=function(){return this.Cb};e.hd=function(a){this.Cb=a;this.OO()};
e.getEmail=function(){return this.Ie};e.getPath=function(){return this.Qd};
e.Eo=function(){var a=V5.R.Eo.call(this);a.set("view",this.jx);A2(a,"services",this.xf);A2(a,"mimeTypes",this.KA);A2(a,"mimeTypeSets",this.Q9);A2(a,"parent",this.Cb);A2(a,"email",this.Ie);A2(a,"hosted",this.uO);A2(a,"path",this.Qd);A2(a,"quota",this.wR);A2(a,"edited",this.L$);A2(a,"availableOffline",this.z9);A2(a,"newlyModified",this.sha);Y5(a,"filter",this.xaa);Y5(a,"hidden",this.Nfa);Y5(a,"star",this.Cla);Y5(a,"mine",this.lha);Y5(a,"published",this.cka);Y5(a,"containers",this.g$);Y5(a,"orphans",
this.qja);Y5(a,"viewed",this.vma);A2(a,"named",this.pha);Y5(a,"private",this.Vja);Y5(a,"sharedWithDomain",this.ola);Y5(a,"explicitlyShared",this.naa);Y5(a,"visibility",this.xma);A2(a,"authorizedAppId",this.GW);A2(a,"sourceClientService",this.O5);A2(a,"sourceId",this.P5);A2(a,"opensWithAppId",this.Gra?this.kja.getId():null);A2(a,"shareFilters",this.RT?Pi(this.RT):this.RT);A2(a,"dateFilter",this.tL?Pi(this.tL):this.tL);A2(a,"advancedSearch",this.Y8);A2(a,"corpus",this.MX);A2(a,"data",this.p$);A2(a,
"requestId",this.getId());return a};z2.set(3,function(a){return new V5(a.view,a)});function $5(a,b){i5.call(this,"xhrserver");this.Wq=a||null;this.hc=b||null;this.Gaa=!1;this.$e=null;var c=new qj;c.set("Content-control","no-cache");c.set("X-Same-Domain","explorer");c.set("X-Json-Requested","true");c=new O4(0,c,0,4,2E4);this.Fa.listen(c,["ready","success","error"],this.xN);this.IJ=c;A(this,this.IJ);this.WH=new N5(this);this.Fa.listen(this.WH,"Dc",this.Kea);A(this,this.WH)}w($5,i5);e=$5.prototype;
e.Ke=function(){$5.R.Ke.call(this);var a=T0();n(a.HR)&&(this.WH.e4=a.HR);this.WH.Ke();n(a.s4)&&this.IJ.KI(a.s4);if(a.O$&&this.Wq){var b=a.hz(),a=a.mma,c=this.Wq;this.Wq=c;c=new A4("ignored",c,void 0,void 0,void 0,void 0,void 0,this.hc);if(c.V6){c.i1||(c.ih=z4(),c.Wq&&c.Wq.sra(!x(za(c.iV)),"XDBCM URI was not provided."),c.hc&&c.Fa.listen(c.hc,["uc","vc"],c.Zka),c.NL.start(),c.HJ.start(),c.i1=!0);var d=(B4++).toString(),f=new s4(d,c);c.Tw[d]=f;d=Pi({id:d,erst:c.tE});t4(c,"cc",d);c.SC&&I(t(f.KK,f,2,
-1),0)}else f=c.jW?z4():null,f=new o4(void 0,void 0,f,c.hc||void 0,c.tE,c.Uk),c.kw&&(f.kw=c.kw),f.dS(N0(M0.Ra(),"xdbcfAllowHostNamePrefix"));c=f;c.n4(t(this.Aba,this));c.subscribe("3",this.zba,this);c.cL("ignored",b,a);this.$e=c}this.va="initialized";b=this.hI;a=b.wc();for(c=0;c<a.length;c++)this.sendRequest(a[c]);b.clear()};e.U4=function(a){R2(Q2(),a.getId(),10);this.Gaa?a6(this,a):this.IJ.send(a.getId(),a.Vy().clone().toString(),"POST",a.getContent(),a.PM(),100)};
e.$W=function(a){var b=Q2(),c=a.getId(),d=b.Ds;b.isEnabled()&&d[c]&&N2(d[c]);this.IJ.abort(a.getId())};function a6(a,b){var c=new iH;a.Kz(b.getId(),c);c.getStatus=function(){return 0};c=t(a.Nu,a,b.getId(),c);I(c,0,a)}e.Kea=function(){window.location.reload(!0)};e.xN=function(a){var b=a.id,c=a.QC;switch(a.type){case "ready":this.Kz(b,c);break;case "success":this.$N(b,c);break;case "error":this.Nu(b,c)}};
e.Kz=function(a,b){var c=this.Te.get(a),d=c.Ula;null!=b&&null!=d&&b.KI(d);this.hc&&this.hc.zha();j5(this,a,c)};e.$N=function(a,b){var c=Q2();S2(c,c.Ds,a,10,void 0);this.hc&&this.hc.tQ(!0);var d;try{var f=uH(b);0==f.indexOf("&&&START&&&")?f=f.substring(11):0==f.indexOf(")]}'")&&(f=f.substring(4));d=Oi(f)}catch(g){k5(this,a);return}l5(this,a,d)};e.Nu=function(a,b){var c=Q2();S2(c,c.Ds,a,10,void 0);this.hc&&this.hc.tQ(!p5(b.getStatus()));k5(this,a,b.getStatus())};
e.Aba=function(a){var b=this.$e.ah();!T0().N$||0==a||401==b||2==a&&p5(b)||8==a||this.Wq.log(Error("BrowserChannel error: "+a+", last status code: "+b));if(2==a)switch(b){case 404:this.$e.ML();break;case 401:(new T2).setVisible(!0),this.$e.ML()}};e.zba=function(a){a=fa(a)?a:[a];for(var b=0;b<a.length;b++){var c;c=y5(a[b].type);c=B5.execute(c,a[b]);this.dispatchEvent(c.createEvent())}};C5(["add","change","remove"],function(a){return new D5(a)});C5("garden_add",function(a){return new F5(a)});
C5("garden_change",function(a){return new I5(a)});C5("garden_remove",function(a){return new L5(a)});C5("task_status",function(a){return new R5(a)});C5("quota",function(a){return new M5(a)});function b6(){ic.call(this)}w(b6,ic);var c6=null;e=b6.prototype;e.getId=function(){return kc(this,1)};e.Wp=function(a){lc(this,1,a)};e.az=function(){return kc(this,3)};e.dl=function(){return kc(this,4)};e.n5=function(a){lc(this,4,a)};
e.getDescriptor=function(){var a=c6;if(!a){var a={0:{name:"Entry",Ara:"detroit.flip.proto.Entry"},1:{name:"id",required:!0,FE:9,type:String},2:{name:"folder_url",FE:9,type:String},3:{name:"download_url",FE:9,type:String},4:{name:"open_url",FE:9,type:String}},b=[],c=a[0],d;for(d in a)0!=d&&b.push(new hc(b6,d,a[d]));c6=a=new fc(b6,c,b)}return a};b6.getDescriptor=b6.prototype.getDescriptor;function d6(a){Xi(this,a,null)}w(d6,Vi);e=d6.prototype;e.Ya=function(){return ij(this)};e.XE=function(){return aj(this,e6,1)};e.e5=function(a){cj(this,1,a)};e.pr=function(){return null==L(this,2)?0:L(this,2)};e.Pc=function(){return null==L(this,3)?"0":L(this,3)};e.setSize=function(a){N(this,3,a)};function e6(a){Xi(this,a,null)}w(e6,Vi);e=e6.prototype;e.Ya=function(){return ij(this)};e.getHeight=function(){return L(this,1)};e.Sd=function(a){N(this,1,a)};e.Kb=function(){return L(this,2)};
e.Ed=function(a){N(this,2,a)};function AL(a){Xi(this,a,null)}w(AL,Vi);AL.prototype.Ya=function(){return ij(this)};AL.prototype.Zaa=function(){return null==L(this,1)?"":L(this,1)};function zL(a){Xi(this,a,null)}w(zL,Vi);zL.prototype.Ya=function(){return ij(this)};function UN(a){Xi(this,a,null)}w(UN,Vi);e=UN.prototype;e.Ya=function(){return ij(this)};e.Qj=function(){return null==L(this,2)?0:L(this,2)};e.Cn=function(a){N(this,2,a)};e.dF=function(){return null==L(this,3)?"":L(this,3)};e.YE=function(){return null==L(this,5)?"":L(this,5)};function WN(a){return null==L(a,7)?"":L(a,7)}function VN(a){return null==L(a,9)?"":L(a,9)};function f6(a){Xi(this,a,g6)}w(f6,Vi);var g6=[1];f6.prototype.Ya=function(){return ij(this)};function l_(a){Xi(this,a,null)}w(l_,Vi);l_.prototype.Ya=function(){return ij(this)};l_.prototype.getKey=function(){return null==L(this,1)?"":L(this,1)};l_.prototype.Ga=function(){return null==L(this,2)?"":L(this,2)};l_.prototype.qb=function(a){N(this,2,a)};function h6(a){Xi(this,a,null)}w(h6,Vi);e=h6.prototype;e.Ya=function(){return ij(this)};e.getName=function(){return null==L(this,2)?"":L(this,2)};e.Bn=function(a){N(this,2,a)};e.Nd=function(){return null==L(this,3)?"":L(this,3)};e.Xh=function(){return null==L(this,4)?"":L(this,4)};e.getVideoUrl=function(){return null==L(this,5)?"":L(this,5)};e.zu=function(){return null==L(this,6)?"":L(this,6)};e.Oa=function(){return null==L(this,7)?"":L(this,7)};e.hS=function(a){N(this,7,a)};
function et(a){return null==L(a,9)?"":L(a,9)}e.jf=function(){return null==L(this,10)?"":L(this,10)};e.Em=function(){return null==L(this,11)?"":L(this,11)};e.Rb=function(){return null==L(this,12)?"":L(this,12)};e.Gw=function(a){N(this,12,a)};e.cl=function(){return null==L(this,15)?7:L(this,15)};e.d5=function(a){N(this,15,a)};e.dl=function(){return null==L(this,16)?"":L(this,16)};e.n5=function(a){N(this,16,a)};e.iF=function(){return null==L(this,17)?"":L(this,17)};
e.az=function(){return null==L(this,19)?"":L(this,19)};e.lz=function(){return aj(this,f6,20)};e.$p=function(a){cj(this,20,a)};e.MD=function(){this.$p(void 0)};e.ud=function(){return L(this,21)};e.rk=function(a){N(this,21,a)};function hm(a){return null==L(a,22)?!1:L(a,22)}e.DI=function(a){N(this,22,a)};function im(a){return null==L(a,23)?!1:L(a,23)}e.JS=function(a){N(this,23,a)};e.wo=function(){return null==L(this,24)?"":L(this,24)};e.Cu=function(){return null==L(this,25)?"":L(this,25)};
e.getDetails=function(){return aj(this,d6,26)};e.OE=function(){return null==L(this,27)?"":L(this,27)};function kC(a){return null==L(a,28)?"":L(a,28)}e.Gu=function(){return null==L(this,31)?"":L(this,31)};e.Oi=function(){return null==L(this,33)?"":L(this,33)};e.h5=function(a){N(this,33,a)};e.UM=function(){return null==L(this,34)?"":L(this,34)};function i6(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};function j6(a){G.call(this,"navigate");this.token=a}w(j6,G);function k6(a,b,c,d){H.call(this);if(a&&!b)throw Error("Can't use invisible history without providing a blank page.");var f;if(c)f=c;else{f="history_state"+l6;var g=pd("input",{type:"text",name:f,id:f,style:Nc("display:none")});document.write(id(g));f=ke(document,f)}this.Tz=f;this.Lh=c?ve(je(c)):window;this.zO=b;E&&!b&&(this.zO="https"==window.location.protocol?fd(Mc(Nc("https:///"))):fd(Mc(Nc('javascript:""'))));this.Ta=new gh(150);A(this,this.Ta);this.pq=!a;this.Fa=new K(this);if(a||m6)d?a=d:(a=
"history_iframe"+l6,b=rd(this.zO,{id:a,style:Nc("display:none"),sandbox:void 0}),document.write(id(b)),a=ke(document,a)),this.rb=a,this.J6=!0;m6&&(this.Fa.listen(this.Lh,"load",this.Rha),this.A5=this.SL=!1);this.pq?n6(this,this.getToken(),!0):o6(this,this.Tz.value);l6++}w(k6,H);k6.prototype.Yb=!1;k6.prototype.Ev=!1;k6.prototype.wv=null;
var p6=function(a,b){var c=b||i6;return function(){var b=this||l,b=b.closure_memoize_cache_||(b.closure_memoize_cache_={}),f=c(la(a),arguments);return b.hasOwnProperty(f)?b[f]:b[f]=a.apply(this,arguments)}}(function(){return E?Zd(8):"onhashchange"in l}),m6=E&&!Zd(8);e=k6.prototype;e.Dv=null;e.ma=function(){k6.R.ma.call(this);this.Fa.dispose();this.setEnabled(!1)};
e.setEnabled=function(a){if(a!=this.Yb)if(m6&&!this.SL)this.A5=a;else if(a)if(Hd?this.Fa.listen(this.Lh.document,q6,this.lja):Kd&&this.Fa.listen(this.Lh,"pageshow",this.Kia),p6()&&this.pq)this.Fa.listen(this.Lh,"hashchange",this.dia),this.Yb=!0,this.dispatchEvent(new j6(this.getToken()));else{if(!E||vK()||this.SL)this.Fa.listen(this.Ta,"tick",t(this.Bj,this,!0)),this.Yb=!0,m6||(this.wv=this.getToken(),this.dispatchEvent(new j6(this.getToken()))),this.Ta.start()}else this.Yb=!1,this.Fa.removeAll(),
this.Ta.stop()};e.Rha=function(){this.SL=!0;this.Tz.value&&o6(this,this.Tz.value,!0);this.setEnabled(this.A5)};e.Kia=function(a){a.Qb.persisted&&(this.setEnabled(!1),this.setEnabled(!0))};e.dia=function(){var a=r6(this.Lh);a!=this.wv&&this.Bk(a,!0)};e.getToken=function(){return null!=this.Dv?this.Dv:this.pq?r6(this.Lh):s6(this)||""};e.Rs=function(a,b){this.getToken()!=a&&(this.pq?(n6(this,a,!1),p6()||E&&!vK()&&o6(this,a,!1,b),this.Yb&&this.Bj(!1)):(o6(this,a,!1),this.Dv=this.wv=this.Tz.value=a,this.dispatchEvent(new j6(a))))};
function r6(a){a=a.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)}function n6(a,b,c){a=a.Lh.location;var d=a.href.split("#")[0],f=-1!=a.href.indexOf("#");if(m6||f||b)d+="#"+b;d!=a.href&&(c?a.replace(d):a.href=d)}
function o6(a,b,c,d){if(a.J6||b!=s6(a))if(a.J6=!1,b=Ea(b),E){var f=Ke(a.rb);f.open("text/html",c?"replace":void 0);c=sd(pd("title",{},d||a.Lh.document.title),pd("body",{},b));f.write(id(c));f.close()}else if(f=ed(a.zO)+"#"+b,a=a.rb.contentWindow)c?a.location.replace(f):a.location.href=f}
function s6(a){if(E)return a=Ke(a.rb),a.body?Fa(a.body.innerHTML):null;var b=a.rb.contentWindow;if(b){var c;try{c=Fa(r6(b))}catch(d){return a.Ev||(1!=a.Ev&&a.Ta.setInterval(1E4),a.Ev=!0),null}a.Ev&&(0!=a.Ev&&a.Ta.setInterval(150),a.Ev=!1);return c||null}return null}e.Bj=function(a){if(this.pq){var b=r6(this.Lh);b!=this.wv&&this.Bk(b,a)}if(!this.pq||m6)if(b=s6(this)||"",null==this.Dv||b==this.Dv)this.Dv=null,b!=this.wv&&this.Bk(b,a)};
e.Bk=function(a){this.wv=this.Tz.value=a;this.pq?(m6&&o6(this,a),n6(this,a)):o6(this,a);this.dispatchEvent(new j6(this.getToken()))};e.lja=function(){this.Ta.stop();this.Ta.start()};var q6=["mousedown","keydown","mousemove"],l6=0;function t6(){}t6.prototype.kF=function(a,b){return 11==a.Xk||10==a.Xk?this.pj(b):ia(b)&&!isFinite(b)?b.toString():b};t6.prototype.iE=function(a){new a.e2;throw Error("Unimplemented");};
t6.prototype.WE=function(a,b){if(11==a.Xk||10==a.Xk)return b instanceof ic?b:this.iE(a.z2.prototype.getDescriptor(),b);if(14==a.Xk){if(r(b)&&u6.test(b)){var c=Number(b);if(0<c)return c}return b}if(!a.hY)return b;c=a.z2;if(c===String){if(ia(b))return String(b)}else if(c===Number&&r(b)&&("Infinity"===b||"-Infinity"===b||"NaN"===b||u6.test(b)))return Number(b);return b};var u6=/^-?[0-9]+$/;function v6(){}w(v6,t6);v6.prototype.iE=function(a,b){var c=new a.e2;c.DG=this;c.Tc=b;c.dg={};return c};function w6(){}w(w6,v6);e=w6.prototype;e.q7=!1;e.pj=function(a){for(var b=gc(a.getDescriptor()),c=[],d=this.q7,f=0;f<b.length;f++){var g=b[f];if(a.has(g)){var h=g.qj,h=d?h-1:h;if(g.mA){c[h]=[];for(var k=0;k<pc(a,g.qj);k++)c[h][k]=this.kF(g,a.get(g,k))}else c[h]=this.kF(g,a.get(g))}}jc(a,function(a,b){c[d?a-1:a]=b});return c};e.kF=function(a,b){return 8==a.Xk?b?1:0:t6.prototype.kF.apply(this,arguments)};e.WE=function(a,b){return 8==a.Xk?!!b:t6.prototype.WE.apply(this,arguments)};
e.iE=function(a,b){var c=b;if(this.q7){var c=[],d;for(d in b)c[parseInt(d,10)+1]=b[d]}return w6.R.iE.call(this,a,c)};function x6(a,b){Cp.call(this,b);this.mc=a}w(x6,Cp);x6.prototype.zc="info";x6.prototype.cQ=!1;var y6={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};e=x6.prototype;e.getType=function(){return this.zc};e.Dn=function(a){this.Vb()&&tn(this.H(),y6[this.zc],y6[a]);this.zc=a};e.setContent=function(a){this.mc=a;if(a=this.H()){var b=this.U();b.fe(a);b.append(a,this.mc)}};e.Ca=function(){var a=this.H();return null!=a&&nn(a,"jfk-butterBar-shown")};
e.setVisible=function(a){rn(this.H(),"jfk-butterBar-shown",a)};e.ra=function(){this.$=this.U().ra("div","jfk-butterBar");var a=this.H();a&&(kh(a,"live","assertive"),kh(a,"atomic","true"));this.setContent(this.mc);this.cQ=this.cQ;(a=this.H())&&rn(a,"jfk-butterBar-mini",this.cQ);this.Dn(this.zc)};function z6(a,b){Dp=a.rtl;v2=a.protocolVersion;var c=new $5;A(this,c);var d=b.folderModel,f=new B0(b.folderName,A6(d));this.Zr=new I2(c,a.tid,a.root);A(this,this.Zr);this.kl=new k6;A(this,this.kl);this.bg=new w0(document.body,new C0(d.length),"list"==this.kl.getToken());A(this,this.bg);c=new rP;a.gsid&&c.CI(a.gsid);N(c,10,!!a.vae);N(c,15,!!a.vare);N(c,18,!!a.vsie);N(c,24,!!a.vpie);N(c,29,!!a.vce);c.CT(!!a.v2ue);N(c,32,!!a.vgde);N(c,50,!!a.vgmwbe);N(c,35,!!a.v2ue&&!!a.vrae);N(c,36,!!a.ix2e);N(c,46,
!!a.vdoe);N(c,49,!!a.vwpie);N(c,54,!!a.vnse);N(c,55,!!a.vtx2e);if(a.vte){var d=new Vs,g=B6(c,a);N(g,7,!0);a.vtee&&N(g,11,!0);a.vtece&&N(d,3,!0);a.vtege&&N(d,2,!0);a.vtepe&&N(d,1,!0);cj(g,16,d)}a.vre&&(d=B6(c,a),N(d,5,!0));a.vdpe&&a.v2ue&&(B6(c,a),N(c,30,!0));a.vdpe&&a.vse&&(d=B6(c,a),N(d,13,!0));a.vdpe&&a.vle&&(d=B6(c,a),N(d,15,!0));a.vufivd&&(d=B6(c,a),N(d,14,!0));a.vale&&(d=B6(c,a),N(d,18,!0));a.vase&&(d=new fP,d.j5(7),N(d,5,a.editionName),cj(c,33,d),N(c,22,!0));d=Xh(l.location.href);N(c,19,d);
d=d.replace("drive","docs");N(c,44,d);N(c,14,2);x(za(a.iph))||(d=new pP,N(d,1,a.iph),cj(c,48,d));c=new f0(c);c.VX.ag(Rf,void 0,0);d=new D0(a.driveUrl,this.kl);g=new x6("");g.Ka(document.getElementById("flip-butter"));g=new J2(g);this.rW=new k0(f,this.bg,c,C6(b.viewerItems),this.Zr,g,d,this.kl);A(this,this.rW)}w(z6,z);z6.prototype.Ke=function(){ip();this.Zr.Ke();this.rW.Ke();this.bg.Ke()};function B6(a,b){var c=pi(a);c||(c=new cP,b.aar&&c.nT(b.aar),b.vaak&&c.X4(b.vaak),cj(a,12,c));return c}
function C6(a){var b=[];y(a,function(a){a.shift();b.push(new h6(a))});return b}function A6(a){var b=new w6,c=[];y(a,function(a){var f=new b6;f.DG=b;f.Tc=a;f.dg={};c.push(f)});return c};function _initFolderLandingPageApplication(a,b){var c=new z6(a,b);c.Ke();qg(window,"unload",function(){c.dispose()})};
