Loading...
The URL can be used to link to this page
Your browser does not support the video tag.
Home
My WebLink
About
3349500569-projector_viewer
var f,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[d]?c=c[d]:c=c[d]={}}function ca(a,b){for(var c=a.split("."),d=b||l,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d}function q(){}function da(a){a.la=function(){return a.Qp?a.Qp:a.Qp=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";i f("[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 ha(a){return"string"==typeof a}function ia(a){return"boolean"==typeof a}function ja(a){return"number"==typeof a}function ka(a){return"function"==ea(a)}function ma(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function na(a){return a[oa]||(a[oa]=++pa)} var oa="closure_uid_"+(1E9*Math.random()>>>0),pa=0;function qa(a,b,c){return a.call.apply(a.bind,arguments)}function ra(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.c all(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")?qa:ra;return t.apply(null,arguments)}function sa(a,b){var c=Array.prototype.slice.call(argum ents,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 ta(a,b,c){ba(a,b,c)} function v(a,b){function c(){}c.prototype=b.prototype;a.O=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.AI=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 ua(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ua);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a)) }v(ua,Error);ua.prototype.name="CustomError";var va;function wa(a,b){return 0==a.lastIndexOf(b,0)}function xa(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}function ya(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")}function za(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$ /g,"")}function Aa(a){return/^[\s\xa0]*$/.test(a)}function Ba(a){return Aa(Ca(a))} function Da(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}var Ea=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$ /g,"")};function Fa(a){return a.replace(/^[\s\xa0]+/,"")}function Ga(a,b){var c=String(a).toLowerCase(),d=String(b).toLowerCase();return c<d?-1:c==d?0:1}function Ha(a){return encodeURIComponent(Strin g(a))} function Ia(a){if(!Ja.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ka,"&"));-1!=a.indexOf("<")&&(a=a.replace(La,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ma,">"));-1!=a.indexOf('"')&&(a=a .replace(Na,"""));-1!=a.indexOf("'")&&(a=a.replace(Oa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Pa,"�"));return a}var Ka=/&/g,La=/</g,Ma=/>/g,Na=/"/g,Oa=/'/g,Pa=/\x00/g,Ja=/[\x00&<>"']/;f unction Qa(a){return-1!=a.indexOf("&")?"document"in l?Ra(a):Sa(a):a} function Ra(a){var b={"&":"&","<":"<",">":">",""":'"'},c;c=l.document.createElement("div");return a.replace(Ta,function(a,e){var g=b[a];if(g)return g;if("#"==e.charAt(0)){var h=Number("0"+e.substr(1));isNaN(h)||(g=String.fromCharCode(h))}g||(c.innerHTML=a+" ",g=c.firstChild.nodeValue.slice(0,-1));return b[a]=g})} function Sa(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 Ta=/&([^;\s<&]+);?/g;function Ua(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x0 8/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 Ca(a){return null==a?"":String(a)}function Xa(a){return Array.prototype.join.call(arguments,"")}function Ya(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^u()).toString(36)} function Za(a,b){for(var c=0,d=Ea(String(a)).split("."),e=Ea(String(b)).split("."),g=Math.max(d.length,e.length),h=0;0==c&&h<g;h++){var k=d[h]||"",m=e[h]||"",p=RegExp("(\\d*)(\\D*)","g"),r=RegExp("(\ \d*)(\\D*)","g");do{var z=p.exec(k)||["","",""],C=r.exec(m)||["","",""];if(0==z[0].length&&0==C[0].length)break;c=$a(0==z[1].length?0:parseInt(z[1],10),0==C[1].length?0:parseInt(C[1],10))||$a(0==z[2] .length,0==C[2].length)||$a(z[2],C[2])}while(0==c)}return c}function $a(a,b){return a<b?-1:a>b?1:0} var ab=2147483648*Math.random()|0;function bb(){return"goog_"+ab++}function cb(a){var b=Number(a);return 0==b&&Aa(a)?NaN:b}function db(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function eb(a){var b=ha(void 0)?Ua(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}function fb(a){isFinite(a)&&(a=String(a));return ha(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN} function gb(a,b){var c=[],d=[];if(a==b)return 0;if(!a.length||!b.length)return Math.max(a.length,b.length);for(var e=0;e<b.length+1;e++)c[e]=e;for(e=0;e<a.length;e++){d[0]=e+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[e]!=b[g]));for(g=0;g<c.length;g++)c[g]=d[g]}return d[b.length]};function hb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function ib(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function jb(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function kb(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}function lb(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return!1;return!0}function mb(a){var b=0,c;for(c in a)b++;return b}function nb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b} function ob(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function pb(a,b){return null!==a&&b in a}function qb(a){for(var b in a)return!1;return!0}function rb(a){for(var b in a)delete a[b]}function sb(a,b){b in a&&delete a[b]}function tb(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}function ub(a,b){return null!==a&&b in a?a[b]:void 0}function vb(a){var b={},c;for(c in a)b[c]=a[c];return b}function wb(a){var b={},c;for(c in a)b[a[c]]=c;return b} var xb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function yb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<xb.length;g++)c=xb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}} function zb(a){var b=arguments.length;if(1==b&&fa(arguments[0]))return zb.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 Ab(a){var b=arguments.length;if(1==b&&fa(arguments[0]))return Ab.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};function Bb(a){this.A={};a=a||l ._docs_flag_initialData;var b=l.WIZ_global_data;!a&&b&&(a=b.docsClientConfig_);a&&yb(this.A,a)}da(Bb);Bb.prototype.get=function(a){return this.A[a]};function Cb(a,b){var c=a.get(b);return null!=c?String(c):""};var Db=Cb(Bb.la(),"docs-csi-reporting-uri-override")||"https://csi.gstatic.com/csi";function w(){this.Aa=this.Aa;this.Lc=this.Lc}w.prototype.Aa=!1;w.prototype.dispose=function( ){this.Aa||(this.Aa=!0,this.Z())};function x(a,b){Eb(a,sa(Fb,b))}function Eb(a,b,c){a.Aa?b.call(c):(a.Lc||(a.Lc=[]),a.Lc.push(n(c)?t(b,c):b))}w.prototype.Z=function(){if(this.Lc)for(;this.Lc.length;) this.Lc.shift()()};function Fb(a){a&&"function"==typeof a.dispose&&a.dispose()}function Gb(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ga(d)?Gb.apply(null,d):Fb(d)}};function y(a,b){this.type=a;this.currentTarget=this.target=b;this.N=this.C=!1;this.Wq=!0}y.prototype.B=function(){this.C=!0};y.prototype.preventDefault=function(){this.N=!0;this.Wq=!1};function Hb(a){Hb[" "](a);return a}Hb[" "]=q;function Ib(a,b){try{return Hb(a[b]),!0}catch(c){}return!1};var Jb=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(ha(a))return ha(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},Kb=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(ha(a))return ha(b)&&1==b.length?a.lastIndexOf(b,c):- 1; for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Lb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=ha(a)?a.split(""):a,g=0;g<d;g ++)g in e&&b.call(c,e[g],g,a)};function Mb(a,b,c){for(var d=ha(a)?a.split(""):a,e=a.length-1;0<=e;--e)e in d&&b.call(c,d[e],e,a)} var Nb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h=ha(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var m=h[k];b.call(c,m,k,a)&&(e[g++]=m)}return e},Pb=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=ha(a)?a.split(""):a,h=0;h< d;h++)h in g&&(e[h]=b.call(c,g[h],h,a));return e},Qb=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 e=c;Lb(a,function(c,h){e=b.call(d,e,c,h,a)});return e},Rb=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=ha(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return!0;return!1},Sb=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(v ar d=a.length,e=ha(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&!b.call(c,e[g],g,a))return!1;return!0}; function Tb(a,b,c){b=Ub(a,b,c);return 0>b?null:ha(a)?a.charAt(b):a[b]}function Ub(a,b,c){for(var d=a.length,e=ha(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return g;return-1}function Vb(a,b){for(var c=ha(a)?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1}function Wb(a,b){return 0<=Jb(a,b)}function Xb(a){if(!fa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function Yb(a,b){Wb(a,b)||a.push(b)} function Zb(a,b){var c=Jb(a,b),d;(d=0<=c)&&$b(a,c);return d}function $b(a,b){Array.prototype.splice.call(a,b,1)}function ac(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function bc(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 cc(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ga(d)){var e=a.length||0,g=d.length ||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}} function dc(a,b,c,d){Array.prototype.splice.apply(a,ec(arguments,1))}function ec(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function fc(a,b,c){function d(a){return ma(a)?"o"+na(a):(typeof a).charAt(0)+a}b=b||a;c=c||d;for(var e={},g=0,h=0;h<a.length;){var k=a[h++],m=c(k);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[g++]=k )}b.length=g} function gc(a,b){for(var c=ic,d=0,e=a.length,g;d<e;){var h=d+e>>1,k;k=c(b,a[h]);0<k?d=h+1:(e=h,g=!k)}return g?d:~d}function jc(a,b){a.sort(b||ic)}function kc(a){for(var b=lc,c=Array(a.length),d=0;d<a .length;d++)c[d]={index:d,value:a[d]};var e=b||ic;jc(c,function(a,b){return e(a.value,b.value)||a.index-b.index});for(d=0;d<a.length;d++)a[d]=c[d].value}function ic(a,b){return a>b?1:a<b?-1:0} function nc(a,b,c){for(var d={},e=0;e<a.length;e++){var g=a[e],h=b.call(c,g,e,a);n(h)&&(d[h]||(d[h]=[])).push(g)}return d}function oc(a,b){var c=[],d=0,e=a;void 0!==b&&(d=a,e=b);if(0>1*(e-d))return[] ;for(;d<e;d+=1)c.push(d);return c}function pc(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(fa(d))for(var e=0;e<d.length;e+=8192)for(var g=pc.apply(null,ec(d,e,e+8192)),h=0;h<g.le ngth;h++)b.push(g[h]);else b.push(d)}return b};var qc;a:{var rc=l.navigator;if(rc){var sc=rc.userAgent;if(sc){qc=sc;break a}}qc=""}function tc(a){return-1!=qc.indexOf(a)};function uc(){return(tc("Chr ome")||tc("CriOS"))&&!tc("Edge")};function vc(){return tc("iPhone")&&!tc("iPod")&&!tc("iPad")}function wc(){return vc()||tc("iPad")||tc("iPod")};var xc=tc("Opera"),A=tc("Trident")||tc("MSIE"),yc=tc(" Edge"),zc=yc||A,Ac=tc("Gecko")&&!(-1!=qc.toLowerCase().indexOf("webkit")&&!tc("Edge"))&&!(tc("Trident")||tc("MSIE"))&&!tc("Edge"),Bc=-1!=qc.toLowerCase().indexOf("webkit")&&!tc("Edge"),Cc=Bc&&tc("Mob ile"),Dc=tc("Macintosh"),Ec=tc("Windows"),Fc=tc("Linux")||tc("CrOS");function Gc(){var a=l.document;return a?a.documentMode:void 0}var Hc; a:{var Ic="",Jc=function(){var a=qc;if(Ac)return/rv\:([^\);]+)(\)|;)/.exec(a);if(yc)return/Edge\/([\d\.]+)/.exec(a);if(A)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Bc)return/WebKit\/(\S+)/.e xec(a);if(xc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Jc&&(Ic=Jc?Jc[1]:"");if(A){var Kc=Gc();if(null!=Kc&&Kc>parseFloat(Ic)){Hc=String(Kc);break a}}Hc=Ic}var Lc=Hc,Mc={};function Nc(a){return Mc[a]||(Mc[a]=0<=Za(Lc,a))}function Oc(a){return Number(Pc)>=a} var Qc=l.document,Pc=Qc&&A?Gc()||("CSS1Compat"==Qc.compatMode?parseInt(Lc,10):5):void 0;var Rc=!A||Oc(9),Sc=!A||Oc(9),Tc=A&&!Nc("9");!Bc||Nc("528");Ac&&Nc("1.9b")||A&&Nc("8")||xc&&Nc("9.5")||Bc&&Nc(" 528");Ac&&!Nc("8")||A&&Nc("9");var Uc="ontouchstart"in l||!!(l.document&&document.documentElement&&"ontouchstart"in document.documentElement)||!(!l.navigator||!l.navigator.msMaxTouchPoints);var Vc=A?"focusin":"DOMFocusIn",Wc=A?"focusout":"DOMFocusOut";function Xc(a,b){y.call(this,a?a.type:"");this.D=this.currentTarget=this.target=null;this.F=this.keyCode=this.I=this.V=this.R=this.clientY=t his.clientX=this.ef=this.cf=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.L=!1;this.A=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;thi s.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?Ac&&(Ib(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement); this.D=e;null===d?(this.cf=Bc||void 0!==a.offsetX?a.offsetX:a.layerX,this.ef=Bc||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.R=a.screenX||0,this.V=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.R=d.screenX||0,this .V=d.screenY||0);this.I=a.button;this.keyCode=a.keyCode||0;this.F=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey= a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.L=Dc?a.metaKey:a.ctrlKey;this.state=a.state;this.A=a;a.defaultPrevented&&this.preventDefault()}}v(Xc,y);var Yc=[1,4,2];function Zc(a){return Rc?0==a.A.button:"click"==a.type?!0:!!(a.A.button&Yc[0])}function $c(a){return Zc(a)&&!(Bc&&Dc&&a.ctrlKey)}Xc.prototype.B=function(){Xc.O.B.call(this);this.A.stopPro pagation?this.A.stopPropagation():this.A.cancelBubble=!0}; Xc.prototype.preventDefault=function(){Xc.O.preventDefault.call(this);var a=this.A;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Tc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode) a.keyCode=-1}catch(b){}};var ad="closure_listenable_"+(1E6*Math.random()|0);function bd(a){return!(!a||!a[ad])}var cd=0;function dd(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;t his.eh=!!d;this.Ka=e;this.key=++cd;this.removed=this.ah=!1}function ed(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Ka=null};function fd(a){this.src=a;this.A={};this.B=0}function gd(a,b,c,d,e,g){var h=b.toString();b=a.A[h];b||(b=a.A[h]=[],a.B++);var k=hd(b,c,e,g);-1<k?(a=b[k],d||(a.ah=!1)):(a=new dd(c,a.src,h,!!e,g),a.ah=d,b.push(a));return a}fd.prototype.remove=function(a,b ,c,d){a=a.toString();if(!(a in this.A))return!1;var e=this.A[a];b=hd(e,b,c,d);return-1<b?(ed(e[b]),$b(e,b),0==e.length&&(delete this.A[a],this.B--),!0):!1}; function id(a,b){var c=b.type;if(!(c in a.A))return!1;var d=Zb(a.A[c],b);d&&(ed(b),0==a.A[c].length&&(delete a.A[c],a.B--));return d}fd.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.A)if(!a||c==a){for(var d=this.A[c],e=0;e<d.length;e++)++b,ed(d[e]);delete this.A[c];this.B--}return b};function jd(a,b,c,d,e){a=a.A[b.toString()];b=-1;a&&(b=hd(a,c,d,e));return-1 <b?a[b]:null} function hd(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.removed&&g.listener==b&&g.eh==!!c&&g.Ka==d)return e}return-1};var kd="closure_lm_"+(1E6*Math.random()|0),ld={},md=0;function nd(a,b,c,d,e){if(fa(b)){for(var g=0;g<b.length;g++)nd(a,b[g],c,d,e);return null}c=od(c);return bd(a)?a.listen(b,c,d,e):pd(a,b,c,!1,d,e)} function pd(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=!!e,k=qd(a);k||(a[kd]=k=new fd(a));c=gd(k,b,c,d,e,g);if(c.proxy)return c;d=rd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventList ener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(sd(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");md++;return c} function rd(){var a=td,b=Sc?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 ud(a,b,c,d,e){if(fa(b)){for(var g=0;g<b.length;g++)ud(a,b[g],c,d,e);return null}c=od(c);return bd(a)?gd(a.qc,String(b),c,!0,d,e):pd(a,b,c,!0,d,e)}function vd(a,b,c,d,e){if(fa(b))for(var g=0;g<b.length;g++)vd(a,b[g],c,d,e);else c=od(c),bd(a)?a.qc.remove(String(b),c,d,e):a&&(a=qd(a))&&(b=jd(a,b,c,!!d,e))&&wd(b)} function wd(a){if(ja(a)||!a||a.removed)return!1;var b=a.src;if(bd(b))return id(b.qc,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.eh):b.detachEvent&&b.detachEvent(sd(c), d);md--;(c=qd(b))?(id(c,a),0==c.B&&(c.src=null,b[kd]=null)):ed(a);return!0}function xd(a){if(a)if(bd(a))a.qc&&a.qc.removeAll(void 0);else if(a=qd(a)){var b=0,c;for(c in a.A)for(var d=a.A[c].concat(), e=0;e<d.length;++e)wd(d[e])&&++b}} function yd(a,b,c,d,e){c=od(c);d=!!d;return bd(a)?jd(a.qc,String(b),c,d,e):a?(a=qd(a))?jd(a,b,c,d,e):null:null}function sd(a){return a in ld?ld[a]:ld[a]="on"+a}function zd(a,b,c,d){var e=!0;if(a=qd(a))if(b=a.A[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.eh==c&&!g.removed&&(g=Ad(g,d),e=e&&!1!==g)}return e}function Ad(a,b){var c=a.listener,d=a.Ka||a.src;a.ah&& wd(a);return c.call(d,b)} function td(a,b){if(a.removed)return!0;if(!Sc){var c=b||ca("window.event"),d=new Xc(c,this),e=!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.C&&0<=h;h--){d.currentTarget=c[h];var k=zd(c[h],g,!0,d),e=e&&k}for(h=0;!d.C&&h<c.length;h++)d.currentTarget=c[h],k=zd(c[h],g,!1,d),e=e&&k}return e}return Ad(a,new Xc(b, this))}function qd(a){a=a[kd];return a instanceof fd?a:null}var Bd="__closure_events_fn_"+(1E9*Math.random()>>>0);function od(a){if(ka(a))return a;a[Bd]||(a[Bd]=function(b){return a.handleEvent(b)}); return a[Bd]};function B(){w.call(this);this.qc=new fd(this);this.um=this;this.Og=null}v(B,w);B.prototype[ad]=!0;f=B.prototype;f.Pb=function(){return this.Og};f.Wb=function(a){this.Og=a};f.removeEven tListener=function(a,b,c,d){vd(this,a,b,c,d)}; f.U=function(a){var b,c=this.Pb();if(c)for(b=[];c;c=c.Pb())b.push(c);var c=this.um,d=a.type||a;if(ha(a))a=new y(a,c);else if(a instanceof y)a.target=a.target||c;else{var e=a;a=new y(d,c);yb(a,e)}var e=!0,g;if(b)for(var h=b.length-1;!a.C&&0<=h;h--)g=a.currentTarget=b[h],e=Cd(g,d,!0,a)&&e;a.C||(g=a.currentTarget=c,e=Cd(g,d,!0,a)&&e,a.C||(e=Cd(g,d,!1,a)&&e));if(b)for(h=0;!a.C&&h<b.length;h++)g=a.c urrentTarget=b[h],e=Cd(g,d,!1,a)&&e;return e}; f.Z=function(){B.O.Z.call(this);this.qc&&this.qc.removeAll(void 0);this.Og=null};f.listen=function(a,b,c,d){return gd(this.qc,String(a),b,!1,c,d)};function Cd(a,b,c,d){b=a.qc.A[String(b)];if(!b)retur n!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var h=b[g];if(h&&!h.removed&&h.eh==c){var k=h.listener,m=h.Ka||h.src;h.ah&&id(a.qc,h);e=!1!==k.call(m,d)&&e}}return e&&0!=d.Wq};function Dd(a,b,c){this.C=c;this.D=a;this.F=b;this.B=0;this.A=null}Dd.prototype.get=function(){var a;0<this.B?(this.B--,a=this.A,this.A=a.next,a.next=null):a=this.D();return a};function Ed(a,b){a.F(b);a.B<a. C&&(a.B++,b.next=a.A,a.A=b)};function Fd(a){return function(){return a}}var Gd=Fd(!0),Hd=Fd(null);function Id(a){return a}function Jd(a){var b=arguments,c=b.length;return function(){for(var a,e=0;e<c;e++)a=b[e].apply(this,arguments);return a}}function Kd(){return function(){return!Aa.apply(this,arguments)}};function Ld(a){l.setTimeout(function(){throw a;},0)}function Md(a,b){var c=a;b&&(c=t(a,b));c=Nd(c);!ka(l.setImmediate)||l.Window&&l.Window.prototype&&!tc("Edge")&&l.Window.prototype.setImmediate==l.setImmediate?(Od||(Od=Pd()),Od(c)):l.setImmediate(c)}var Od; function Pd(){var a=l.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!tc("Presto")&&(a=function(){var a=document.createElement("IFRAM E");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&&!tc("Trident")&&!tc("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(n(c.next)){c=c.next;var a=c.Xm;c.Xm=null;a()}};return function(a){d.next={Xm: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 Nd=Id;function Qd(){this.B=this.A=null}var Sd=new Dd(function(){return new Rd},function(a){a.reset()},100);Qd.prototype.remove=function(){var a=null;this.A&&(a=this.A,this.A=this.A.next,this.A||(this.B=null),a.nex t=null);return a};function Rd(){this.next=this.scope=this.A=null}Rd.prototype.set=function(a,b){this.A=a;this.scope=b;this.next=null};Rd.prototype.reset=function(){this.next=this.scope=this.A=null};f unction Td(a,b){Ud||Vd();Wd||(Ud(),Wd=!0);var c=Xd,d=Sd.get();d.set(a,b);c.B?c.B.next=d:c.A=d;c.B=d}var Ud;function Vd(){if(l.Promise&&l.Promise.resolve){var a=l.Promise.resolve(void 0);Ud=function(){a.then(Yd)}}else Ud=function(){Md(Yd)}}var Wd=!1,Xd=new Qd;function Yd(){for(var a=null;a=Xd.remove();){try{a.A.call(a.scope)}catch(b){Ld(b)}Ed(Sd,a)}Wd=!1};function Zd(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}function $d(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function ae(a,b){this.B=0;this.A=void 0;this.F=this.D=this.C=null;this.H=this.I=!1;if(a!=q)try{var c=this;a.call(b,function(a){be(c,2,a)},function(a){be(c,3,a)})}catch(d){be(this,3,d)}}function ce(){this.next=this.C=this.B=this.F=this.A =null;this.D=!1}ce.prototype.reset=function(){this.C=this.B=this.F=this.A=null;this.D=!1};var de=new Dd(function(){return new ce},function(a){a.reset()},100);function ee(a,b,c){var d=de.get();d.F=a;d .B=b;d.C=c;return d} function fe(a){if(a instanceof ae)return a;var b=new ae(q);be(b,2,a);return b}function ge(a){return new ae(function(b,c){c(a)})}function he(a,b,c){ie(a,b,c,null)||Td(sa(b,a))}function je(a){return new ae(function(b,c){var d=a.length,e=[];if(d)for(var g=function(a,c){d--;e[a]=c;0==d&&b(e)},h=function(a){c(a)},k=0,m;k<a.length;k++)m=a[k],he(m,sa(g,k),h);else b(e)})}function ke(){var a,b,c=new ae(function(c,e){a=c;b=e});return new le(c,a,b)} ae.prototype.then=function(a,b,c){return me(this,ka(a)?a:null,ka(b)?b:null,c)};Zd(ae);function ne(a,b,c){b=ee(b,b,c);b.D=!0;oe(a,b);return a}function pe(a,b,c){me(a,null,b,c)}ae.prototype.cancel=func tion(a){0==this.B&&Td(function(){var b=new qe(a);re(this,b)},this)}; function re(a,b){if(0==a.B)if(a.C){var c=a.C;if(c.D){for(var d=0,e=null,g=null,h=c.D;h&&(h.D||(d++,h.A==a&&(e=h),!(e&&1<d)));h=h.next)e||(g=h);e&&(0==c.B&&1==d?re(c,b):(g?(d=g,d.next==c.F&&(c.F=d),d. next=d.next.next):se(c),te(c,e,3,b)))}a.C=null}else be(a,3,b)}function oe(a,b){a.D||2!=a.B&&3!=a.B||ue(a);a.F?a.F.next=b:a.D=b;a.F=b} function me(a,b,c,d){var e=ee(null,null,null);e.A=new ae(function(a,h){e.F=b?function(c){try{var e=b.call(d,c);a(e)}catch(p){h(p)}}:a;e.B=c?function(b){try{var e=c.call(d,b);!n(e)&&b instanceof qe?h(b):a(e)}catch(p){h(p)}}:h});e.A.C=a;oe(a,e);return e.A}ae.prototype.V=function(a){this.B=0;be(this,2,a)};ae.prototype.L=function(a){this.B=0;be(this,3,a)}; function be(a,b,c){0==a.B&&(a==c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.B=1,ie(c,a.V,a.L,a)||(a.A=c,a.B=b,a.C=null,ue(a),3!=b||c instanceof qe||ve(a,c)))}function ie(a,b,c,d){if(a instanceof ae)return oe(a,ee(b||q,c||null,d)),!0;if($d(a))return a.then(b,c,d),!0;if(ma(a))try{var e=a.then;if(ka(e))return we(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1} function we(a,b,c,d,e){function g(a){k||(k=!0,d.call(e,a))}function h(a){k||(k=!0,c.call(e,a))}var k=!1;try{b.call(a,h,g)}catch(m){g(m)}}function ue(a){a.I||(a.I=!0,Td(a.R,a))}function se(a){var b=null;a.D&&(b=a.D,a.D=b.next,b.next=null);a.D||(a.F=null);return b}ae.prototype.R=function(){for(var a=null;a=se(this);)te(this,a,this.B,this.A);this.I=!1}; function te(a,b,c,d){if(3==c&&b.B&&!b.D)for(;a&&a.H;a=a.C)a.H=!1;if(b.A)b.A.C=null,xe(b,c,d);else try{b.D?b.F.call(b.C):xe(b,c,d)}catch(e){ye.call(null,e)}Ed(de,b)}function xe(a,b,c){2==b?a.F.call(a. C,c):a.B&&a.B.call(a.C,c)}function ve(a,b){a.H=!0;Td(function(){a.H&&ye.call(null,b)})}var ye=Ld;function qe(a){ua.call(this,a)}v(qe,ua);qe.prototype.name="cancel";function le(a,b,c){this.D=a;this.A= b;this.B=c};function ze(a,b){B.call(this);this.B=a||1;this.A=b||l;this.D=t(this.yG,this);this.C=u()}v(ze,B);f=ze.prototype;f.enabled=!1;f.Pc=null;f.yG=function(){if(this.enabled){var a=u()-this.C;0<a&&a<.8*this.B?this.Pc=this.A.setTimeout(this.D,this.B-a):(this.Pc&&(this.A.clearTimeout(this.Pc),this.Pc=null),this.U("tick"),this.enabled&&(this.Pc=this.A.setTimeout(this.D,this.B), this.C=u()))}};f.start=function(){this.enabled=!0;this.Pc||(this.Pc=this.A.setTimeout(this.D,this.B),this.C=u())}; f.stop=function(){this.enabled=!1;this.Pc&&(this.A.clearTimeout(this.Pc),this.Pc=null)};f.Z=function(){ze.O.Z.call(this);this.stop();delete this.A};function D(a,b,c){if(ka(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 E(a){l.clearTimeout(a)};var Ae,Be={};function Ce(a){Ae&&window.jstiming.load.tick(a)};function De(a,b,c,d,e,g,h){var k="";a&&(k+=a+":");c&&(k+="//",b&&(k+=b+"@"),k+=c,d&&(k+=":"+d));e&&(k+=e);g&&(k+="?"+g);h&&(k+="#"+h);return k}var Ee=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Fe(a){return a.match(Ee)}function Ge(a){return a?decodeURI(a):a}fu nction He(a){a=Fe(a);return De(a[1],a[2],a[3],a[4])} function Ie(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),g=null,h=null;0<=e?(g=c[d].substring(0,e),h=c[d].substring(e+1)):g=c[d];b(g,h?decodeURIComponent(h.replace(/\+ /g," ")):"")}}function Je(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 Ke(a,b,c){if(fa(b))for(var d=0;d<b.length;d++)Ke(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",Ha(b))}function Le(a,b,c){for(c=c||0;c<b.length;c+=2)Ke(b[c],b[c+1],a);return a}function Me(a,b){for(var c in b)Ke(c,b[c],a);return a}function Ne(a,b){return Je(2==arguments.length?Le([a],arguments[1],0):Le([a],arguments,1))}function Oe(a,b,c){a=[a,"&",b];null!=c&&a.push("=", Ha(c));return Je(a)} function Pe(a,b,c,d){for(var e=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+e),!g||61==g||38==g||35==g)return b;b+=e+1}return-1}var Qe=/#|$/;function Re(a,b){return 0<=Pe(a,0,b,a.search(Qe))}function Se(a,b){var c=a.search(Qe),d=Pe(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.substr(d,e-d).replace(/\+/g," "))}var Te=/[?&]($|#)/; function Ue(a,b){for(var c=a.search(Qe),d=0,e,g=[];0<=(e=Pe(a,d,b,c));)g.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);g.push(a.substr(d));return g.join("").replace(Te,"$1")}function Ve(a,b,c){return Oe(Ue(a,b),b,c)}function We(a,b){xa(a,"/")&&(a=a.substr(0,a.length-1));wa(b,"/")&&(b=b.substr(1));return Xa(a,"/",b)};var Xe=/\/u\/[0-9]+($|\/)/;var Ye=tc("Firefox"),Ze=vc()||tc("iP od"),$e=tc("iPad"),af=tc("Android")&&!(uc()||tc("Firefox")||tc("Opera")||tc("Silk")),bf=uc(),cf=tc("Safari")&&!(uc()||tc("Coast")||tc("Opera")||tc("Edge")||tc("Silk")||tc("Android"))&&!wc();function df(a){for(var b=[],c=0,d=0;d<a.length;d++){for(var e=a.charCodeAt(d);255<e;)b[c++]=e&255,e>>=8;b[c++]=e}return b};var ef=null,ff=null;function gf(a,b){if(!ef){ef={};ff={};for(var c=0;65>c;c++)ef[c]= "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c),ff[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c)}for(var c=b?ff:ef,d=[],e=0;e<a.length ;e+=3){var g=a[e],h=e+1<a.length,k=h?a[e+1]:0,m=e+2<a.length,p=m?a[e+2]:0,r=g>>2,g=(g&3)<<4|k>>4,k=(k&15)<<2|p>>6,p=p&63;m||(p=64,h||(k=64));d.push(c[r],c[g],c[k],c[p])}return d.join("")};function hf(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*)?(?:[e E][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function jf(a){return eval("("+a+")")}function kf(a,b){var c=[];lf(new mf(b),a,c);return c.join("")} function mf(a){this.A=a} function lf(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 e="",g=0;g<b;g++)c.push(e),e=d[g],lf(a,a.A?a.A.call(d,String(g),e):e,c),e="," ;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)&&(e=b[d],"function"!=typ eof e&&(c.push(g),nf(d,c),c.push(":"),lf(a,a.A?a.A.call(b,d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":nf(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 of={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},pf=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\ x00-\x1f\x7f-\xff]/g; function nf(a,b){b.push('"',a.replace(pf,function(a){var b=of[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),of[a]=b);return b}),'"')};function qf(){}var rf="function"==typeof Uint8Array;function sf(a,b,c){a.A=null;b||(b=[]);a.W=void 0;a.C=-1;a.B=b;a:{if(a.B.length){b=a.B.length-1;var d=a.B[b];if(d&&"object"==typeof d&&!fa(d)){a.H=b-a.C;a.D=d;break a}}a.H=Number.MAX_VALUE }a.F={};if(c)for(b=0;b<c.length;b++)d=c[b],d<a.H?(d+=a.C,a.B[d]=a.B[d]||tf):a.D[d]=a.D[d]||tf}var tf=[];function G(a,b){if(b<a.H){var c=b+a.C,d=a.B[c];return d===tf?a.B[c]=[]:d}d=a.D[b];return d===tf?a.D[b]=[]:d} function uf(a,b){var c=G(a,b);return null==c?c:+c}function vf(a,b){var c=G(a,b);a.F||(a.F={});if(!a.F[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.F[b]=!0}return c}function H(a,b,c){b<a.H?a.B[b+a.C]=c :a.D[b]=c}function wf(a,b,c){a.A||(a.A={});if(!a.A[c]){var d=G(a,c);d&&(a.A[c]=new b(d))}return a.A[c]}function xf(a,b,c){a.A||(a.A={});if(!a.A[c]){for(var d=G(a,c),e=[],g=0;g<d.length;g++)e[g]=new b(d[g]);a.A[c]=e}b=a.A[c];b==tf&&(b=a.A[c]=[]);return b} function yf(a,b,c){a.A||(a.A={});var d=c?c.Qa():c;a.A[b]=c;H(a,b,d)}function zf(a,b,c){a.A||(a.A={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=c[e].Qa();a.A[b]=c;H(a,b,d)}qf.prototype.Qa=function( ){return this.B};var Af=l.JSON&&l.JSON.stringify||"object"===typeof JSON&&JSON.stringify; qf.prototype.I=rf?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return gf(this)};try{var b=Af.call(null,this.Qa(),Bf)}finally{Uint8Array.prototype.toJSON=a}retur n b}:Af?function(){return Af.call(null,this.Qa(),Bf)}:function(){return kf(this.Qa(),Bf)};function Bf(a,b){if(ja(b)){if(isNaN(b))return"NaN";if(Infinity===b)return"Infinity";if(-Infinity===b)return"- Infinity"}return b}qf.prototype.toString=function(){return this.B.toString()}; function Cf(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(!Df(a[d],b[d]))return!1;return!0} function Df(a,b){if(a==b)return!0;if(!ma(a)||!ma(b)||a.constructor!=b.constructor)return!1;if(rf&&a.constructor===Uint8Array){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c])r eturn!1;return!0}if(a.constructor===Array){for(var d=void 0,e=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&&(e =k,k=void 0);if(!Df(h,k))return!1}return d||e?(d=d||{},e=e||{},Cf(d,e)):!0}if(a.constructor===Object)return Cf(a, b);throw Error("Invalid type in JSPB array");}function Ef(a){return new a.constructor(Ff(a.Qa()))}function Ff(a){var b;if(fa(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="ob ject"==typeof b?Ff(b):b);return c}if(rf&&a instanceof Uint8Array)return new Uint8Array(a);c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?Ff(b):b);return c};function Gf(a){sf(this,a,null)}v( Gf,qf);function Hf(a){return null==G(a,1)?!1:G(a,1)}function If(a){return null==G(a,6)?!1:G(a,6)}function Jf(a){return null==G(a,7)?!1:G(a,7)};function Kf(a){sf(this,a,null)}v(Kf,qf);function Lf(a){return null==G(a,2)?!1:G(a,2)}function Mf(a){return null==G(a,3)?!1:G(a,3)}function Nf(a){return null==G(a,4)?"":G(a,4)}function Of(a){return null==G(a,5)?"":G(a,5)};function Pf(a){sf(this,a,null)}v(Pf,qf);function Qf(a){return null==G(a,7)?!1:G(a,7)}function Rf(a){return null==G(a,10)?"":G(a,10)}function Sf(a){return null==G(a,11)?!1:G(a,11)}function Tf(a){return null==G(a,12)?"/drive/v2internal":G(a,12)}function Uf(a){return null==G(a,18)?!1:G(a,18)};function Vf(a){sf(this,a,null)}v(Vf,qf);function Wf(a){sf(this,a,null)}v(Wf,qf);function Xf(a){return null==G(a,2)?0:G(a,2)}function Yf(a){return null==G(a,5)?"":G(a,5)}function Zf(a){return null==G(a,6)?"":G(a,6)}function ag(a){sf(this,a,null)}v(ag,qf);function bg(a){sf(this,a,null)}v(bg,qf);functi on cg(a){sf(this,a,null)}v(cg,qf);function dg(a){sf(this,a,null)}v(dg,qf);function eg(a){sf(this,a,null)}v(eg,qf);function fg(a){return null==G(a,2)?"":G(a,2)}function gg(a){return null==G(a,5)?"":G( a,5)}function hg(a){return null==G(a,6)?"":G(a,6)}function ig(a){return null==G(a,7)?"":G(a,7)}function jg(a){return null==G(a,8)?"":G(a,8)};function kg(a){sf(this,a,null)}v(kg,qf);function lg(a){sf(this,a,null)}v(lg,qf);function mg(a){sf(this,a,null)}v(mg,qf);function ng(a){return null==G(a,1)?"https://www.youtube.com":G(a,1)};function og(a){sf(this,a,null)}v(og,qf);function pg(a){sf(this,a,null)}v(pg,qf);function qg(a){return null==G(a,1)?"0":G(a,1)}function rg(a){return null==G(a,2)?!0:G(a,2)}function sg(a){return null==G(a,3)?"":G(a,3)}function tg(a){return null==G(a,4)?!0:G(a,4)}function ug(a){return null==G(a,6)?0:G(a,6)}function vg(a){return null==G(a,8)?"":G(a,8)}function wg(a){return wf(a,Pf,12)}function xg(a){return null==G(a,16)?"":G(a,16)}funct ion yg(a){return null==G(a,17)?!1:G(a,17)}function zg(a){return null==G(a,18)?!0:G(a,18)} function Ag(a){return null==G(a,19)?"":G(a,19)}function Bg(a){return null==G(a,21)?1:G(a,21)}function Cg(a){return null==G(a,23)?!0:G(a,23)}function Dg(a){return null==G(a,24)?!0:G(a,24)}function Eg(a){return null==G(a,30)?!1:G(a,30)}function Fg(a){return wf(a,Wf,33)}function Gg(a){return null==G(a,36)?!0:G(a,36)}function Hg(a){return wf(a,eg,38)}function Ig(a){return null==G(a,44)?"":G(a,44 )}function Jg(a){return null==G(a,46)?!1:G(a,46)}function Kg(a){return null==G(a,49)?!0:G(a,49)} function Lg(a){return null==G(a,52)?!1:G(a,52)}function Mg(a){return null==G(a,54)?!1:G(a,54)}function Ng(a){return null==G(a,59)?"":G(a,59)}function Og(a){return null==G(a,65)?2:G(a,65)};function Pg(a){sf(this,a,null)}v(Pg,qf);function Qg(a){return null==G(a,3)?"0":G(a,3)}function Rg(a){sf(this,a,null)}v(Rg,qf);function Sg(a){sf(this,a,null)}v(Sg,qf);function Tg(a){return null==G(a,2)?0:G(a, 2)}function Ug(a){return null==G(a,3)?"":G(a,3)}function Vg(a){return null==G(a,5)?"":G(a,5)}function Wg(a){return null==G(a,7)?"":G(a,7)}function Xg(a){return null==G(a,9)?"":G(a,9)};function Yg(a){sf(this,a,Zg)}v(Yg,qf);var Zg=[1];function $g(a){sf(this,a,null)}v($g,qf);$g.prototype.ja=function(){return null==G(this,2)?"":G(this,2)};$g.prototype.ua=function(a){H(this,2,a)};function ah(a){sf(this,a,null)}v(ah,qf);function bh(a){return null==G(a,2)?"":G(a,2)}function ch(a){return null==G(a,3)?"":G(a,3)}function dh(a){return null==G(a,4)?"":G(a,4)}function eh(a){return null==G(a,5)?"":G(a,5)}function fh(a){return null==G(a,6)?"":G(a,6)}function gh(a){return null==G(a,7)?"":G(a,7)}function hh(a){return null==G(a,9)?"":G(a,9)}function ih(a){return null==G(a,10)?"":G (a,10)}function jh(a){return null==G(a,11)?"":G(a,11)}function kh(a){return null==G(a,12)?"":G(a,12)} ah.prototype.Af=function(a){H(this,12,a)};function lh(a){return null==G(a,15)?7:G(a,15)}function mh(a){return null==G(a,16)?"":G(a,16)}function nh(a){return null==G(a,17)?"":G(a,17)}function oh(a){return null==G(a,19)?"":G(a,19)}function ph(a){return null==G(a,21)?0:G(a,21)}function qh(a){return null==G(a,22)?!1:G(a,22)}function rh(a){return null==G(a,23)?!1:G(a,23)}function sh(a){return null==G(a,24)?"":G(a,24)}function th(a){return null==G(a,25)?"":G(a,25)} function uh(a){return null==G(a,27)?"":G(a,27)}function vh(a){return null==G(a,28)?"":G(a,28)}function wh(a){return null==G(a,31)?"":G(a,31)}function xh(a){return null==G(a,33)?"":G(a,33)};var yh={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 zh(a,b){return"number"==typeof a?0<a?1:0>a?-1:b?null :0:null==a?null:a?-1:1}var Ah=/<[^>]*>|&[^;]+;/g;function Bh(a,b){return b?a.replace(Ah,""):a} var Ch=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Dh=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u03 00-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Eh=/^http:\/\/.*/,Fh=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f 8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*$"), Gh=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]*$"),Hh=/ \s+/,Ih=/[\d\u06f0-\u06f9]/;function Jh(a,b){for(var c=0,d=0,e=!1,g=Bh(a,b).split(Hh),h=0;h<g.length;h++){var k=g[h];Dh.test(Bh(k,void 0))?(c++,d++):Eh.test(k)?e=!0:Ch.test(Bh(k,void 0))?d++:Ih.test(k)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};function Kh(){this.A="";this.B=Lh}Kh.prototype.Ce=!0;Kh.prototype.Dd=function(){return this.A};Kh.prototype.toString=function(){return"Const {"+this.A+"}"};function Mh(a){return a instanceof Kh&&a.constructor===Kh&&a.B===Lh?a.A:"type_error:Const"}var Lh={};function Nh(a){var b=new Kh;b.A=a;return b};function Oh(){this.A="";this.B=Ph}Oh.pr ototype.Ce=!0;var Ph={};function Qh(){var a=Nh("position:absolute; width:0; height:0; z-index: -1;"),a=Mh(a);return 0===a.length?Rh:Sh(a)}Oh.prototype.Dd=function(){return this.A};function Th(a){if(a instanceof Oh&&a.constructor===Oh&&a.B===Ph)return a.A;ea(a);return"type_error:SafeStyle"}function Sh(a){var b=new Oh;b.A=a;return b}var Rh=Sh(""),Uh=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl) a?\([0-9.%, ]+\))$/;function Vh(a){return Wh().createObjectURL(a)}function Wh(){var a=Xh();if(null!=a)return a;throw Error("This browser doesn't seem to support blob URLs");}function Xh(){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 Yh(){this.A="";this.B=Zh}Yh.prototype.Ce=!0;Yh.p rototype.Dd=function(){return this.A};Yh.prototype.Vk=!0;Yh.prototype.te=function(){return 1};function $h(a){if(a instanceof Yh&&a.constructor===Yh&&a.B===Zh)return a.A;ea(a);return"type_error:SafeUr l"}var ai=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i;function bi(a){if(a instanceof Yh)return a;a=a.Ce?a.Dd():String(a);ai.test(a)||(a="about:invalid#zClosurez");return ci(a)}var Zh={};function ci(a){var b=new Yh;b.A=a;return b}ci("about:blank");function di(){this.A="";this.B=ei}di.prototype.Ce=!0;di.prototype.Dd=function(){return this.A};di.prototype.Vk=!0;di.prototype.te=f unction(){return 1};function fi(a){if(a instanceof di&&a.constructor===di&&a.B===ei)return a.A;ea(a);return"type_error:TrustedResourceUrl"}var ei={};function gi(a){var b=new di;b.A=a;return b};function hi(){this.B="";this.D=ii;this.A=null}hi.prototype.Vk=!0;hi.prototype.te=function(){return this.A};hi.prototype.Ce=!0;hi.prototype.Dd=function(){return this.B};function ji(a){if(a instanceof hi&&a.constructor===hi&&a.D===ii)return a.B;ea(a);return"type_error:SafeHtml"}function ki(a){if(a instanceof hi)return a;var b=null;a.Vk&&(b=a.te());a=Ia(a.Ce?a.Dd():String(a));return li(a,b)} function mi(a){if(a instanceof hi)return a;a=ki(a);var b;b=ji(a).replace(/(\r\n|\r|\n)/g,"<br>");return li(b,a.te())}var ni=/^[a-zA-Z0-9-]+$/,oi={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manif est:!0,poster:!0,src:!0},pi={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 qi(a,b,c){if(!ni.test(a))throw Error("Invalid tag name <"+a+">.");if(a.toUpperCase()in pi)throw Error("Tag name <"+a+"> is not allowed for SafeHtml.");return ri(a,b,c)}function si(a){function b(a){fa(a)?Lb(a,b):(a=ki(a),d+=ji(a),a=a.te(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";Lb(arguments,b);return li(d,c)}function ti(a,b){var c=si(ec(arguments,1));c.A=a;return c}var ii={};function li(a,b){var c=new hi;c.B=a;c.A=b;return c} function ri(a,b,c){var d=null,e,g="";if(b)for(e in b){if(!ni.test(e))throw Error('Invalid attribute name "'+e+'".');var h=b[e];if(null!=h){var k,m=a;k=e;if(h instanceof Kh)h=Mh(h);else if("style"==k.toLowerCase()){if(!ma(h))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof h+" given: "+h);if(!(h instanceof Oh)){var m="",p=void 0;for(p in h){if(!/^[-_a-zA-Z0-9]+$/.test(p))throw Error("Name allows only [-_a-zA-Z0-9], got: "+p);var r=h[p];if(null!=r){if(r instanceof Kh)r=Mh(r);else if(Uh.test(r)){for(var z=!0,C=!0,F=0;F<r.length;F++){var J=r.charAt(F);"'"==J&&C?z=!z:'"'==J&&z&&(C=!C)}z&&C||(r="zClosurez")}else r="zClosurez";m+=p+":"+r+";"}}h=m?Sh(m):Rh}h=Th(h)}e lse{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+h+'" given.');if(k.toLowerCase()in oi)if(h instanceof di)h=fi(h);else if(h instanceof Yh)h=$h(h);else if(ha(h))h=bi(h).Dd();else throw Error('Attribute "'+k+'" on tag "'+m+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+ h+'" given.');}h.Ce&&(h=h.Dd());k=k+'="'+Ia(String(h))+'"';g+=" "+k}}e="<"+a+g;null!=c?fa(c)||(c=[c]):c=[];!0===yh[a.toLowerCase()]?e+=">":(d=si(c),e+=">"+ji(d)+"</"+a+">",d=d.te());(a=b&&b.dir)&&(/^ (ltr|rtl|auto)$/i.test(a)?d=0:d=null);return li(e,d)}li("<!DOCTYPE html>",0);var ui=li("",0),vi=li("<br>",0);function wi(a,b,c){return Math.min(Math.max(a,b),c)}function xi(a,b){var c=a%b;return 0>c*b?c+b:c}var yi=Math.sign||function(a){return 0<a?1:0>a?-1:a};function I(a,b){this.x=n(a)?a:0;this.y=n(b)?b:0}f=I.prototype;f.clone=function(){return new I(this.x,this.y)};function zi(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Ai(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function Bi(a,b){return new I(a.x-b.x,a.y-b.y)}f.ceil=function(){this.x=Math.ceil (this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.Fd=function(a,b){var c=ja(b)?b:a;this.x*=a;this.y*=c;return this};function K(a,b){this.width=a;this.height=b}func tion Ci(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=K.prototype;f.clone=function(){return new K(this.width,this.height)};f.Os=function(){return this.width*this.height};f.isEmpt y=function(){return!this.Os()};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};function Di(a,b){return a.width<=b.width&&a.height<=b.height} f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Ei(a,b){var c=ja(void 0)?void 0:b;a.width*=b;a.height*=c;return a}function Fi(a,b){Ei(a,a.width/a.height>b.width/b.height?b.width/a.width:b.height/a.height)};var Gi=!A||Oc(9),Hi=!Ac&& !A||A&&Oc(9)||Ac&&Nc("1.9.1"),Ii=A&&!Nc("9"),Ji=A||xc||Bc;function Ki(a,b){a.innerHTML=ji(b)}function Li(a,b){var c;c=b instanceof Yh?b:bi(b);a.href=$h(c)};function Mi(a){return a?new Ni(Oi(a)):va||(va=new Ni)}function Pi(a,b){return ha(b)?a.getElementById(b):b}function Qi(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):Ri(document,"*", a,b)}function Si(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?d=c.querySelector("."+a):d=Ri(document,"*",a,b)[0];return d||null} function Ri(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.getElementsByCl assName(c);if(b){d={};for(var e=0,g=0,h;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(g=e=0;h=a[g];g++)b=h.className,"function"==ty peof b.split&&Wb(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a} function Ti(a,b){hb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Ui.hasOwnProperty(d)?a.setAttribute(Ui[d],b):wa(d,"aria-")||wa(d,"data-")?a.setAttribute (d,b):a[d]=b})}var Ui={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 Vi(a){a=(a||window).document;a=Wi(a)?a.documentElement:a.body;return new K(a.clientWidth,a.clientHeight)}function Xi(a){var b=Yi(a);a=a.parentWindow||a.defaultView;return A&&Nc("10")&&a.page YOffset!=b.scrollTop?new I(b.scrollLeft,b.scrollTop):new I(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function Yi(a){return a.scrollingElement?a.scrollingElement:!Bc&&Wi(a)?a.documentEle ment:a.body||a.documentElement}function Zi(a){return a?a.parentWindow||a.defaultView:window} function $i(a,b,c){return aj(document,arguments)}function aj(a,b){var c=b[0],d=b[1];if(!Gi&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ia(d.name),'"');if(d.type){c.push(' type="',Ia(d.type),'"');var e={};yb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(ha(d)?c.className=d:fa(d)?c.className=d.join(" "):Ti(c,d));2<b.length&&bj(a,c,b,2);return c} function bj(a,b,c,d){function e(c){c&&b.appendChild(ha(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];!ga(g)||ma(g)&&0<g.nodeType?e(g):Lb(cj(g)?bc(g):g,e)}}function Wi(a){return"CSS1Compat "==a.compatMode}function dj(a,b){bj(Oi(a),a,arguments,1)}function ej(a){for(var b;b=a.firstChild;)a.removeChild(b)}function fj(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function gj(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)} function hj(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function ij(a){return n(a.firstElementChild)?a.firstElementChild:jj(a.firstChild,!0)}function jj(a,b){for(;a&&1!=a.nodeType;)a=b ?a.nextSibling:a.previousSibling;return a}function kj(a){return ma(a)&&1==a.nodeType}function lj(a){var b;if(Ji&&!(A&&Nc("9")&&!Nc("10")&&l.SVGElement&&a instanceof l.SVGElement)&&(b=a.parentElement) )return b;b=a.parentNode;return kj(b)?b:null} function mj(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 Oi(a){return 9==a.nodeType?a:a.ownerDocument||a.document} function nj(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.first Child.data=b}else ej(a),a.appendChild(Oi(a).createTextNode(String(b)))}function oj(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||oj(a,b,c,d))return!0;a=a.nextSibling}return!1}var pj={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},qj={IMG:" ",BR:"\n"}; function rj(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))}function sj(a){a=a.getAttributeNode("tabindex");return null!=a&&a.specified}function tj(a){a=a.tabIndex;return ja(a)&&0<=a&&32768>a}function uj(a){if(Ii&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];vj(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,""); a=a.replace(/\u200B/g,"");Ii||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a} function wj(a){var b=[];vj(a,b,!1);return b.join("")}function vj(a,b,c){if(!(a.nodeName in pj))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 qj)b.push(qj[a.nodeName]);else for(a=a.firstChild;a;)vj(a,b,c),a=a.nextSibling}function cj(a){if(a&&"number"==typeof a.length){if(ma(a))return"function"==typeof a.item||"string"==ty peof a.item;if(ka(a))return"function"==typeof a.item}return!1} function xj(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function yj(a){try{return a&&a.activeElement}catch(b){}return null}function zj(a){return Zi().matchMedia("(-webkit-min -device-pixel-ratio: "+a+"),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a+"dppx)").matches?a:0}function Ni(a){this.A=a||l.document||document}f=Ni.prototype;f.J=function(a){return Pi(this.A,a)};function Aj(a,b,c,d){return Ri(a.A,b,c,d)}function Bj(a,b,c){return Si(b,c||a.A)} function Cj(a,b){return Si("drive-viewer-paginated-page-links",b||a.A)}f.setProperties=Ti;f.ma=function(a,b,c){return aj(this.A,arguments)};function Dj(a,b){return a.A.createElement(b)}function Ej(a,b){return a.A.createTextNode(String(b))}function Fj(a){a=a.A;return a.parentWindow||a.defaultView}function Gj(a,b){return yj(b||a.A)}f.Ca=function(a,b){a.appendChild(b)};f.Qc=dj;f.Fb=ej;f.Pp=fj ;f.Wk=gj;function Hj(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}f.Sa=hj; f.getChildren=function(a){return Hi&&void 0!=a.children?a.children:Nb(a.childNodes,function(a){return 1==a.nodeType})};f.ik=ij;function Ij(a){return n(a.lastElementChild)?a.lastElementChild:jj(a.last Child,!1)}f.jk=function(a){return n(a.nextElementSibling)?a.nextElementSibling:jj(a.nextSibling,!0)};function Jj(a){return n(a.previousElementSibling)?a.previousElementSibling:jj(a.previousSibling,!1 )}f.Hx=lj;f.contains=mj;f.Gx=Oi;f.Qb=nj;function Kj(a,b){var c=[];return oj(a,b,c,!0)?c[0]:void 0} f.Ya=rj;f.uo=uj;function Lj(a){w.call(this);this.F=1;this.D=[];this.C=0;this.A=[];this.B={};this.H=!!a}v(Lj,w);f=Lj.prototype;f.subscribe=function(a,b,c){var d=this.B[a];d||(d=this.B[a]=[]);var e=this.F;this.A[e]=a;this.A[e+1]=b;this.A[e+2]=c;this.F=e+3;d.push(e);return e};f.Vd=function(a){var b=this.A[a];if(b){var c=this.B[b];0!=this.C?(this.D.push(a),this.A[a+1]=q):(c&&Zb(c,a),delete this.A[a],delete this.A[a+1],delete this.A[a+2])}return!!b}; f.Oh=function(a,b){var c=this.B[a];if(c){for(var d=Array(arguments.length-1),e=1,g=arguments.length;e<g;e++)d[e-1]=arguments[e];if(this.H)for(e=0;e<c.length;e++){var h=c[e];Mj(this.A[h+1],this.A[h+2] ,d)}else{this.C++;try{for(e=0,g=c.length;e<g;e++)h=c[e],this.A[h+1].apply(this.A[h+2],d)}finally{if(this.C--,0<this.D.length&&0==this.C)for(;c=this.D.pop();)this.Vd(c)}}}};function Mj(a,b,c){Td(funct ion(){a.apply(b,c)})} f.clear=function(a){if(a){var b=this.B[a];b&&(Lb(b,this.Vd,this),delete this.B[a])}else this.A.length=0,this.B={}};f.wb=function(a){if(a){var b=this.B[a];return b?b.length:0}a=0;for(b in this.B)a+=this.wb(b);return a};f.Z=function(){Lj.O.Z.call(this);this.clear();this.D.length=0};function Nj(a){this.A=a}Nj.prototype.toString=function(){return this.A};function Oj(a){w.call(this);t his.A=new Lj(a);x(this,this.A)}v(Oj,w);Oj.prototype.subscribe=function(a,b,c){return this.A.subscribe(a.toString(),b,c)};Oj.prototype.Vd=function(a){return this.A.Vd(a)};Oj.prototype.clear=function(a ){this.A.clear(n(a)?a.toString():void 0)};Oj.prototype.wb=function(a){return this.A.wb(n(a)?a.toString():void 0)};var Pj=new Nj("visibility"),Qj=new Nj("selection"),Rj=new Nj("value"),Sj=new Nj("enabled"),Tj=new Nj("change"),Uj=new Nj("action");function Vj(a,b){this.data=a;this.A=b||null};function Wj(a,b,c){this.Ii=a;this.A=b;this.B=c};function Xj(a,b){w.call(this);this.F=a;this.C={};th is.A=b?vb(b):{};this.H=vb(this.A);Yj(this);this.D=new Lj;this.B=new Oj}v(Xj,w);function Yj(a){n(a.A["keys-enabled"])||(a.A["keys-enabled"]=!0);a.isEnabled()||(a.C["default"]=!0)}f=Xj.prototype;f.Z=fu nction(){Xj.O.Z.call(this);this.D.dispose();this.B.dispose();delete this.D;delete this.B;delete this.A};f.getId=function(){return this.F};f.isEnabled=function(){return!!this.A.enabled}; f.setEnabled=function(a,b){var c=b||"default",d=!0;if(a){delete this.C[c];for(var e in this.C){d=!1;break}}else this.C[c]=!0,d=!1;this.setProperty("enabled",d)};f.da=function(){return!!this.A.visible };f.setVisible=function(a){this.setProperty("visible",a)};function Zj(a){return a.A.label||""}function ak(a){var b=a.A["long-label"]||"";return b?b:(b=a.A["node-label"]||null)?uj(b):Zj(a)}f.ob=functi on(){return this.A.keys};f.ja=function(){return this.A.value}; f.ua=function(a){this.setProperty("value",a)};f.setProperty=function(a,b){var c=this.A[a];if(b!==c){this.A[a]=b;this.B.A.Oh(Tj.toString(),new Wj(a,b,c));var d=bk(a);d&&this.B.A.Oh(d.toString(),new Wj(a,b,c))}};function ck(a){if(a=a.A.synonyms){a=a.split("|");for(var b=a.length-1;0<=b;b--)a[b]&&(a[b]=Ea(a[b])),a[b]||$b(a,b);return a}return[]}function dk(a,b,c){if(a.isEnabled()){var d=a.A.selected;null!=d&&a.setProperty("selected",!d);a.D.Oh("action",b,c);a.B.A.Oh(Uj.toString(),new Vj(b,c))}} f.subscribe=function(a,b,c){return this.D.subscribe(a,b,c)};function ek(a,b,c,d){return a.B.subscribe(b,c,d)+1E6}f.Vd=function(a){return 1E6<a?this.B.Vd(a-1E6):this.D.Vd(a)};f.reset=function(){this.D .clear();this.B.clear();this.A=vb(this.H);this.C={};Yj(this)};function bk(a){switch(a){case "visible":return Pj;case "selected":return Qj;case "value":return Rj;case "enabled":return Sj;default:return null}};function fk(a){w.call(this);this.B=a;this.A=[]}v(fk,w);fk.prototype.subscribe=function(a,b,c,d){b=a.subscribe(b,c,d||this.B);this.A.push(a,b);return this};function gk(a,b,c,d,e){c=ek(b,c,d,e||a.B);a.A.push(b,c)}fk.prototype.removeAll=function(){for(var a,b;b=this.A.pop();)(a=this.A.pop())&&!a.Aa&&a.Vd(b)};fk.prototype.Z=function(){fk.O.Z.call(this);this.remove All();delete this.B;delete this.A};function hk(a){w.call(this);this.A=a}v(hk,w);function ik(a,b){y.call(this,"a");this.item=a;this.state=b}v(ik,y);function jk(a){y.call(this,"b");this.item=a}v(jk,y); function kk(){y.call(this,"c")}v(kk,y);function lk(){y.call(this,"d")}v(lk,y);var mk;var nk="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" ");function ok(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")} function pk(a,b,c){fa(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(mk||(mk={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientatio n:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=mk,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c) }function qk(a,b){var c=a.getAttribute("aria-"+b);return null==c||void 0==c?"":String(c)} function rk(a){var b=qk(a,"activedescendant");return Oi(a).getElementById(b)}function sk(a,b){var c="";b&&(c=b.id);pk(a,"activedescendant",c)}function tk(a,b){pk(a,"label",b)};function uk(a){w.call(this);this.A=a||Mi();this.B={}}v(uk,w);uk.prototype.Z=function(){hb(this.B,this.A.Sa,this.A);this.A=this.B=null;uk.O.Z.call(this)};function vk(a,b){var c=wk(a);nj(c,"");D(function(){nj( c,b)},1)}function wk(a){var b=a.B.polite;if(b)return b.removeAttribute("aria-hidden"),b;b=Dj(a.A,"DIV");b.style.position="absolute";b.style.top="-1000px";b.style.height="1px";b.style.overflow="hidden ";pk(b,"live","polite");pk(b,"atomic","true");a.A.A.body.appendChild(b);return a.B.polite=b};function xk(a){w.call(this);this.B=new uk(a);this.A="";this.C=null}v(xk,w);function yk(a,b){a.A=b;E(a.C);a .C=D(function(){vk(this.B,this.A);this.C=null},500,a)}xk.prototype.Z=function(){E(this.C)};function zk(a,b){b?pk(a,"hidden",b):a.removeAttribute("aria-hidden")}function Ak(a,b){a&&Ti(a,{alt:b})}funct ion Bk(a,b){for(var c=a.A.body.firstChild;c;c=c.nextSibling)1==c.nodeType&&zk(c,b);c=Bj(a,"drive-viewer");zk(c,!b)};function Ck(){}v(Ck,Error);function Dk(){this.A="pending";this.D=[];this.B=this.C=v oid 0}Zd(Dk);function Ek(){ua.call(this,"Multiple attempts to set the state of this Result")}v(Ek,ua);f=Dk.prototype;f.getState=function(){return this.A};f.ja=function(){return this.C};f.getError=fun ction(){return this.B};function Fk(a,b,c){"pending"==a.A?a.D.push({xa:b,scope:c||null}):b.call(c,a)}f.ua=function(a){if("pending"==this.A)this.C=a,this.A="success",Gk(this);else if(!this.fc())throw new Ek;}; f.Ga=function(a){if("pending"==this.A)this.B=a,this.A="error",Gk(this);else if(!this.fc())throw new Ek;};function Gk(a){var b=a.D;a.D=[];for(var c=0;c<b.length;c++){var d=b[c];d.xa.call(d.scope,a)}}f .cancel=function(){return"pending"==this.A?(this.Ga(new Ck),!0):!1};f.fc=function(){return"error"==this.A&&this.B instanceof Ck}; f.then=function(a,b,c){var d,e,g=new ae(function(a,b){d=a;e=b});Fk(this,function(a){a.fc()?g.cancel():"success"==a.getState()?d(a.ja()):"error"==a.getState()&&e(a.getError())});return g.then(a,b,c)};function Hk(a){this.A=2E3;this.B=n(a)?a:.15};function Ik(a,b,c,d,e){function g(){var d=a();Fk(d,function(){p++;if(!h.fc())if("success"!=d.getState())if(p>=r)h.Ga(d.getError());else{if (m?(Jk(h,d,b),m=!1):Jk(h,d,c),!h.fc()){var a=g,e=k.A;k.A*=2;D(a,Math.round(e*(1-k.B+Math.random()*k.B*2)))}}else h.ua(d.ja())})}var h=new Dk,k=new Hk(d),m=!0,p=0,r=e||8;g();return h}function Jk(a,b,c){c&&((b=b.getError())?c(a,b.statusCode):c(a))};function Kk(a){var b=new Dk;b.ua(a);return b}function Lk(){var a=new Dk;a.Ga(void 0);return a}function Mk(a,b,c){Fk(a,b,c)}function Nk(a,b,c){Mk(a,function(a){"success"==a.getState()&&b.call(this,a.ja(),a)},c)}function Ok(a,b,c){Mk(a,function(a){"error"==a.getState()&&b.call(this,a.getError(),a)},c)}function Pk(a,b){var c=new Qk([a]);Mk(a,function(a){"success"==a.getState()?c.ua(b(a.ja())):c.Ga(a.getError())});return c} function Rk(a,b){var c=new Qk([a]);Mk(a,function(a){"success"==a.getState()?(a=b.call(void 0,a),c.F.push(a),Mk(a,function(a){"success"==a.getState()?c.ua(a.ja()):c.Ga(a.getError())})):c.Ga(a.getError ())});return c}function Sk(a){function b(){"pending"==e.getState()&&Sb(d,c)&&e.ua(d)}function c(a){return"pending"!=a.getState()}var d=bc(arguments),e=new Qk(d);Lb(d,function(a){Fk(a,b,void 0)});return e}function Qk(a){Dk.call(this);this.F=a}v(Qk,Dk);function Tk(a,b,c){this.C=a;this.H=b;this.A=c;this.D="GET";this.B=Uk}function Uk(a){return 404==a.code||401==a.code}function Vk(a){return 403==a.code?(a=a.errors)&&0<a.length&&(a=a[0].reason,"rateLimitExceeded"==a||"userRateLimitExceeded"==a)?!1:!0:Uk(a)}function Wk(a,b){a.F=b;return a}function Xk(a,b){a.D=b;return a}function Yk(a,b){a.I=b;return a}function Zk(a){a.B=Vk;return a} Tk.prototype.start=function(){var a=new Dk,b=Ik(t(this.L,this),this.V,this.S,this.N,this.F);Nk(b,t(this.R,this,a));Ok(b,a.Ga,a);Ok(a,function(){a.fc()&&b.cancel()});return a};Tk.prototype.L=function( ){var a=new Dk,b=t(function(b){if("pending"==a.getState())if(b?b.kind!=this.A||b.error:this.A){var d=b.error;d&&this.B(d)?a.ua(b):a.Ga(b)}else a.ua(b)},this);pe(this.C.sendRequest({path:this.H,method :this.D,body:this.I,xa:b}),q);return a}; Tk.prototype.R=function(a,b){(b?b.kind!=this.A||b.error:this.A)?a.Ga(b):a.ua(b)};function $k(a){this.B=Tf(wg(L(a)));this.A=al(a,bl)}v($k,w);var cl="description;editable;createdDate;fileSize;id;lastVi ewedByMeDate;modifiedDate;primarySyncParentId;labels(starred, restricted);alternateLink;shared;iconLink".split(";"),dl=Ha(Xa("items(","author,content,createdDate,status",",replies(","author,content,c reatedDate,modifiedDate,verb",")),kind")),el=Ha("id,kind"),fl=Ha("preview,kind"); function gl(a,b,c,d,e){b=Zk(new Tk(a.A,a.B+"/files/"+b+"?fields="+Ha(Xa(cl.concat(c).join(","),",userPermission(","id,name,emailAddress,domain,role,additionalRoles,photoLink,type,withLink","),","perm issions(","id,name,emailAddress,domain,role,additionalRoles,photoLink,type,withLink","), parents(","id",")",",kind")),"drive#file")).start();hl(a,b);Nk(b,d);Ok(b,e)}function il(a,b,c,d){b=Zk(new Tk(a.A,a.B+"/files/"+b+"/comments?fields="+dl,"drive#commentList")).start();hl(a,b);Nk(b,c);Ok(b,d)} function jl(a,b,c,d){a.A.sendRequest({path:a.B+"/extractionJobs/"+b,method:"GET",xa:function(a){"drive#archiveExtractionJob"!=a.kind||null!=a.error?d(a):c(a)}})}function kl(a,b,c){return a.B+"/files/"+b+"?fields="+el+","+c}function hl(a,b){Eb(a,function(){b.cancel()})};function M(a){w.call(this);this.H=a;this.D={}}v(M,w);var ll=[];f=M.prototype;f.listen=function(a,b,c,d){fa(b)||(b&& (ll[0]=b.toString()),b=ll);for(var e=0;e<b.length;e++){var g=nd(a,b[e],c||this.handleEvent,d||!1,this.H||this);if(!g)break;this.D[g.key]=g}return this};function ml(a,b,c,d){return nl(a,b,c,d,void 0)}function ol(a,b,c,d){nl(a,b,"V",c,void 0,d)} function nl(a,b,c,d,e,g){if(fa(c))for(var h=0;h<c.length;h++)nl(a,b,c[h],d,e,g);else{b=ud(b,c,d||a.handleEvent,e,g||a.H||a);if(!b)return a;a.D[b.key]=b}return a}function pl(a,b,c){ql.listen(b,c,void 0,a.H||a,a)}f.wa=function(a,b,c,d,e){if(fa(b))for(var g=0;g<b.length;g++)this.wa(a,b[g],c,d,e);else if(a=yd(a,b,c||this.handleEvent,d,e||this.H||this))wd(a),delete this.D[a.key];return this};f.removeAll=function(){hb(this.D,function(a,b){this.D.hasOwnProperty(b)&&wd(a)},this);this.D={}}; f.Z=function(){M.O.Z.call(this);this.removeAll()};f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function rl(a){sf(this,a,null)}v(rl,qf);rl.prototype.Af=function(a ){H(this,3,a)};rl.prototype.Hg=function(a){H(this,4,a)};function sl(a){sf(this,a,null)}v(sl,qf);sl.prototype.Af=function(a){H(this,10,a)};sl.prototype.getState=function(){return G(this,12)};sl.protot ype.Hg=function(a){H(this,16,a)};function tl(a,b,c,d){this.D=a;this.B=b;this.A=c;this.fe=d}v(tl,w);tl.prototype.getData=function(){return this.D};tl.prototype.Af=function(a){this.B=a};tl.prototype.Hg =function(a){0<a&&(this.A=a)};tl.prototype.Z=function(){if(this.fe){var a=this.fe;Wh().revokeObjectURL(a)}};var ul="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""};function vl(){}vl.prototype.next=function(){throw ul;};vl.prototype.yj=function(){return this};function wl(a,b){this.B={};this.A=[];this.C=this.D=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof wl?(c=a.ob(),d=a.Pa()):(c=ob(a),d=nb(a));for(var e=0;e<c.length;e++)this.set(c[ e],d[e])}}f=wl.prototype;f.wb=function(){return this.D};f.Pa=function(){xl(this);for(var a=[],b=0;b<this.A.length;b++)a.push(this.B[this.A[b]]);return a};f.ob=function(){xl(this);return this.A.concat()}; f.isEmpty=function(){return 0==this.D};f.clear=function(){this.B={};this.C=this.D=this.A.length=0};f.remove=function(a){return yl(this.B,a)?(delete this.B[a],this.D--,this.C++,this.A.length>2*this.D& &xl(this),!0):!1};function xl(a){if(a.D!=a.A.length){for(var b=0,c=0;b<a.A.length;){var d=a.A[b];yl(a.B,d)&&(a.A[c++]=d);b++}a.A.length=c}if(a.D!=a.A.length){for(var e={},c=b=0;b<a.A.length;)d=a.A[b] ,yl(e,d)||(a.A[c++]=d,e[d]=1),b++;a.A.length=c}}f.get=function(a,b){return yl(this.B,a)?this.B[a]:b}; f.set=function(a,b){yl(this.B,a)||(this.D++,this.A.push(a),this.C++);this.B[a]=b};f.forEach=function(a,b){for(var c=this.ob(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone =function(){return new wl(this)};f.yj=function(a){xl(this);var b=0,c=this.C,d=this,e=new vl;e.next=function(){if(c!=d.C)throw Error("The map has changed since the iterator was created");if(b>=d.A.len gth)throw ul;var e=d.A[b++];return a?e:d.B[e]};return e}; function yl(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function zl(a){if(a.Pa&&"function"==typeof a.Pa)return a.Pa();if(ha(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 nb(a)}function Al(a){if(a.ob&&"function"==typeof a.ob)return a.ob();if(!a.Pa||"function"!=typeof a.Pa){if(ga(a)||ha(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push (c);return b}return ob(a)}} function Bl(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ga(a)||ha(a))Lb(a,b,c);else for(var d=Al(a),e=zl(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)};function Cl(a){this.A=new wl;a&&Dl(this,a)}function El(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+na(a):b.substr(0,1)+a}f=Cl.prototype;f.wb=function(){return this.A.wb()};function Fl(a,b){a.A.set(El(b),b)}function Dl(a,b){for(var c=zl(b),d=c.length,e=0;e<d;e++)Fl(a,c[e])}f.removeAll=function(a){a=zl(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};f.remove=function(a){ret urn this.A.remove(El(a))};f.clear=function(){this.A.clear()};f.isEmpty=function(){return this.A.isEmpty()}; f.contains=function(a){a=El(a);return yl(this.A.B,a)};f.Pa=function(){return this.A.Pa()};f.clone=function(){return new Cl(this)};f.yj=function(){return this.A.yj(!1)};function Gl(a,b){null!=a&&this. Rb.apply(this,arguments)}f=Gl.prototype;f.ge="";f.set=function(a){this.ge=""+a};f.Rb=function(a,b,c){this.ge+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.ge+=arguments[d];return this};f.clear=function(){this.ge=""};f.toString=function(){return this.ge};function Hl(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,p,r,z){if("%"==p)return"%";var C=c.shift();if("undefined"==typeof C)throw Error("[goog.string.format] Not enough arguments");arguments[0]=C;return Il[p].apply(null,arguments)})} var Il={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,e){d=a.toString();isNaN(e)| |""==e||(d=parseFloat(a).toFixed(e));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(e)?Math.abs(Number( a)).toString():Math.abs(Number(a)).toFixed(e);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,e,g,h,k){return Il.f(parseInt(a,10),b,c,d,0,g,h,k)}};Il.i=Il.d;Il.u=Il.d;function Jl(a){this.A=void 0;this.sb={};if(a){var b=Al(a);a=zl(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])}}f=Jl.prototype;f.set=function(a,b){Kl(this,a,b,!1)};function Kl(a,b,c,d){for(var e=0;e<b.length;e++){var g=b.charAt(e);a.sb[g]||(a.sb[ g]=new Jl);a=a.sb[g]}if(d&&void 0!==a.A)throw Error('The collection already contains the key "'+b+'"');a.A=c}function Ll(a,b){for(var c=a,d=0;d<b.length;d++)if(c=c.sb[b.charAt(d)],!c)return;return c}f.get=function(a){return(a=Ll(this,a))?a.A:void 0}; f.Pa=function(){var a=[];Ml(this,a);return a};function Ml(a,b){void 0!==a.A&&b.push(a.A);for(var c in a.sb)Ml(a.sb[c],b)}f.ob=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var e=a.charAt(d);if(!c.sb[e])return[];c=c.sb[e]}Nl(c,a,b)}else Nl(this,"",b);return b};function Nl(a,b,c){void 0!==a.A&&c.push(b);for(var d in a.sb)Nl(a.sb[d],b+d,c)}f.clear=function(){this.sb={};this. A=void 0}; f.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.sb[e])throw Error('The collection does not have the key "'+a+'"');c.push([b,e]);b=b.sb[e]}a=b.A;for(delete b.A;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.sb[e].isEmpty())delete b.sb[e];else break;return a};f.clone=function(){return new Jl(this)};f.wb=function(){var a=this.Pa();return a.wb&&"function"==type of a.wb?a.wb():ga(a)||ha(a)?a.length:mb(a)};f.isEmpty=function(){return void 0===this.A&&qb(this.sb)};function Ol(a){sf(this,a,null)}v(Ol,qf);f=Ol.prototype;f.Ji=function(){return G(this,1)};f.Mq=fun ction(a){H(this,1,a)};f.Bl=function(){return G(this,12)};f.Qq=function(a){H(this,12,a)};f.Al=function(){return G(this,13)};f.Hq=function(a){H(this,13,a)};f.Zx=function(){return G(this,33)};f.DF=funct ion(a){H(this,33,a)};f.ao=function(){return null==G(this,2)?!1:G(this,2)};f.Gq=function(a){H(this,2,a)};f.$n=function(){return G(this,51)};f.Fq=function(a){H(this,51,a)};f.jo=function(){return G(this,32)}; f.Iq=function(a){H(this,32,a)};f.qo=function(){return null==G(this,19)?!1:G(this,19)};f.Nq=function(a){H(this,19,a)};f.so=function(){return null==G(this,52)?!1:G(this,52)};f.Oq=function(a){H(this,52, a)};f.to=function(){return null==G(this,67)?!1:G(this,67)};f.Pq=function(a){H(this,67,a)};f.gx=function(){return G(this,80)};f.OE=function(a){H(this,80,a)};f.Zn=function(){return null==G(this,20)?!1: G(this,20)};f.Eq=function(a){H(this,20,a)};f.oo=function(){return G(this,60)}; f.Kq=function(a){H(this,60,a)};f.hx=function(){return null==G(this,3)?!1:G(this,3)};f.PE=function(a){H(this,3,a)};f.HE=function(){return null==G(this,4)?!1:G(this,4)};f.YE=function(a){H(this,4,a)};f. vx=function(){return G(this,65)};f.eF=function(a){H(this,65,a)};f.by=function(){return G(this,9)};f.GF=function(a){H(this,9,a)};f.cy=function(){return G(this,10)};f.HF=function(a){H(this,10,a)};f.dy= function(){return G(this,11)};f.IF=function(a){H(this,11,a)}; f.$x=function(){return null==G(this,14)?!1:G(this,14)};f.EF=function(a){H(this,14,a)};f.mx=function(){return null==G(this,34)?!1:G(this,34)};f.UE=function(a){H(this,34,a)};f.ay=function(){return null==G(this,72)?!1:G(this,72)};f.FF=function(a){H(this,72,a)};f.jx=function(){return G(this,15)};f.RE=function(a){H(this,15,a)};f.rx=function(){return G(this,16)};f.$E=function(a){H(this,16,a)};f.l o=function(){return G(this,17)};f.Jq=function(a){H(this,17,a)};f.vo=function(){return G(this,18)}; f.KF=function(a){H(this,18,a)};f.wo=function(){return G(this,45)};f.LF=function(a){H(this,45,a)};f.sx=function(){return G(this,22)};f.bF=function(a){H(this,22,a)};f.tx=function(){return G(this,54)};f.cF=function(a){H(this,54,a)};f.ix=function(){return G(this,21)};f.QE=function(a){H(this,21,a)};f.fx=function(){return null==G(this,23)?!1:G(this,23)};f.NE=function(a){H(this,23,a)};f.J E=function(){return G(this,24)};f.JF=function(a){H(this,24,a)};f.fy=function(){return G(this,36)}; f.MF=function(a){H(this,36,a)};f.Xx=function(){return null==G(this,6)?!1:G(this,6)};f.CF=function(a){H(this,6,a)};f.Vx=function(){return G(this,26)};f.AF=function(a){H(this,26,a)};f.px=function(){ret urn G(this,30)};f.XE=function(a){H(this,30,a)};f.gy=function(){return G(this,31)};f.NF=function(a){H(this,31,a)};f.Fx=function(){return G(this,27)};f.nF=function(a){H(this,27,a)};f.Nx=function(){retu rn G(this,28)};f.sF=function(a){H(this,28,a)};f.Rx=function(){return G(this,57)}; f.wF=function(a){H(this,57,a)};f.Sx=function(){return G(this,58)};f.xF=function(a){H(this,58,a)};f.Px=function(){return G(this,59)};f.uF=function(a){H(this,59,a)};f.po=function(){return null==G(this,35)?!1:G(this,35)};f.Lq=function(a){H(this,35,a)};f.Tx=function(){return null==G(this,41)?!1:G(this,41)};f.yF=function(a){H(this,41,a)};f.Ox=function(){return null==G(this,64)?!1:G(this ,64)};f.tF=function(a){H(this,64,a)};f.Ex=function(){return null==G(this,48)?!1:G(this,48)}; f.mF=function(a){H(this,48,a)};f.Qx=function(){return null==G(this,49)?!1:G(this,49)};f.vF=function(a){H(this,49,a)};f.Bx=function(){return null==G(this,37)?!1:G(this,37)};f.jF=function(a){H(this,37, a)};f.ex=function(){return G(this,38)};f.ME=function(a){H(this,38,a)};f.GE=function(){return G(this,39)};f.LE=function(a){H(this,39,a)};f.Cx=function(){return G(this,40)};f.kF=function(a){H(this,40,a )};f.lx=function(){return G(this,42)};f.TE=function(a){H(this,42,a)};f.kx=function(){return G(this,43)}; f.SE=function(a){H(this,43,a)};f.Mx=function(){return G(this,44)};f.rF=function(a){H(this,44,a)};f.Lx=function(){return G(this,62)};f.qF=function(a){H(this,62,a)};f.Dx=function(){return G(this,46)};f.lF=function(a){H(this,46,a)};f.Kx=function(){return G(this,61)};f.pF=function(a){H(this,61,a)};f.nx=function(){return G(this,50)};f.VE=function(a){H(this,50,a)};f.Ax=function(){return G(this,53)};f.iF=function(a){H(this,53,a)};f.zx=function(){return G(this,55)};f.hF=function(a){H(this,55,a)}; f.Wx=function(){return G(this,56)};f.BF=function(a){H(this,56,a)};f.iy=function(){return G(this,63)};f.PF=function(a){H(this,63,a)};f.ky=function(){return G(this,81)};f.RF=function(a){H(this,81,a)};f .hy=function(){return G(this,68)};f.OF=function(a){H(this,68,a)};f.jy=function(){return G(this,69)};f.QF=function(a){H(this,69,a)};f.wx=function(){return G(this,66)};f.fF=function(a){H(this,66,a)};f. qx=function(){return G(this,70)};f.ZE=function(a){H(this,70,a)};f.ux=function(){return G(this,71)}; f.dF=function(a){H(this,71,a)};f.yx=function(){return G(this,73)};f.gF=function(a){H(this,73,a)};f.dx=function(){return G(this,74)};f.KE=function(a){H(this,74,a)};f.IE=function(){return G(this,75)};f.aF=function(a){H(this,75,a)};f.Ix=function(){return uf(this,76)};f.oF=function(a){H(this,76,a)};f.ly=function(){return uf(this,77)};f.SF=function(a){H(this,77,a)};f.Ux=function(){retur n uf(this,78)};f.zF=function(a){H(this,78,a)};f.ox=function(){return uf(this,79)};f.WE=function(a){H(this,79,a)};function N(){sf(this,void 0,null)}v(N,Ol);N.prototype.S=function(a){this.R=a};N.protot ype.L=function(){return this.R};N.prototype.ba=function(a){this.V=a};N.prototype.N=function(){return this.V};function Pl(){if(!Ql){var a=Ql=new Jl,b;for(b in Rl)Kl(a,b,Rl[b],!0)}}var Ql;function O(a,b){this.types=a;this.A=b} var Rl={a:new O([3,0],[N.prototype.QE,N.prototype.BF]),al:new O([3],[N.prototype.KE]),b:new O([3,0],[N.prototype.NE,N.prototype.ME]),c:new O([3,0],[N.prototype.Gq,N.prototype.LE]),cc:new O([3],[N.prototype.Fq]),ci:new O([3],[N.prototype.Iq]),d:new O([3],[N.prototype.PE]),df:new O([3],[N.prototype.OE]),e:new O([0],[N.prototype.RE]),f:new O([4],[N.prototype.$E]),fg:new O([3],[N.prototype.UE]),fh:new O([3],[N.prototype.XE]),fo:new O([2],[N.prototype.WE]),ft:new O([3],[N.prototype.VE]),fv:new O([3],[N.prototype.NF]), g:new O([3],[N.prototype.EF]),h:new O([3,0],[N.prototype.YE,N.prototype.Hq]),i:new O([3],[N.prototype.bF]),ic:new O([0],[N.prototype.dF]),id:new O([3],[N.prototype.ZE]),ip:new O([3],[N.prototype.cF]) ,iv:new O([0],[N.prototype.aF]),j:new O([1],[N.prototype.S]),k:new O([3,0],[N.prototype.Jq,N.prototype.TE]),l:new O([0],[N.prototype.rF]),lf:new O([3],[N.prototype.eF]),m:new O([0],[N.prototype.PF]), mm:new O([4],[N.prototype.RF]),mo:new O([3],[N.prototype.gF]),mv:new O([3],[N.prototype.fF]),n:new O([3], [N.prototype.Eq]),nc:new O([3],[N.prototype.hF]),nd:new O([3],[N.prototype.iF]),no:new O([3],[N.prototype.jF]),ns:new O([3],[N.prototype.kF]),nt0:new O([4],[N.prototype.MF]),nu:new O([3],[N.prototype .lF]),nw:new O([3],[N.prototype.mF]),o:new O([1,3],[N.prototype.ba,N.prototype.nF]),p:new O([3,0],[N.prototype.Nq,N.prototype.SE]),pa:new O([3],[N.prototype.pF]),pd:new O([3],[N.prototype.Kq]),pf:new O([3],[N.prototype.Pq]),pg:new O([3],[N.prototype.FF]),pi:new O([2],[N.prototype.oF]),pp:new O([3],[N.prototype.Oq]), q:new O([4],[N.prototype.sF]),r:new O([3,0],[N.prototype.CF,N.prototype.AF]),rg:new O([3],[N.prototype.uF]),rh:new O([3],[N.prototype.vF]),rj:new O([3],[N.prototype.wF]),ro:new O([2],[N.prototype.zF] ),rp:new O([3],[N.prototype.xF]),rw:new O([3],[N.prototype.Lq]),rwa:new O([3],[N.prototype.tF]),rwu:new O([3],[N.prototype.yF]),s:new O([3,0],[N.prototype.DF,N.prototype.Mq]),t:new O([4],[N.prototype .JF]),u:new O([3],[N.prototype.KF]),ut:new O([3],[N.prototype.LF]),v:new O([0],[N.prototype.qF]),vb:new O([0], [N.prototype.OF]),vl:new O([0],[N.prototype.QF]),w:new O([0],[N.prototype.Qq]),x:new O([0],[N.prototype.GF]),y:new O([0],[N.prototype.HF]),ya:new O([2],[N.prototype.SF]),z:new O([0],[N.prototype.IF]) }; function Sl(a,b){var c=new N,d=new N;if(""!=b)for(var e=b.split("-"),g=0;g<e.length;g++){var h=e[g];if(0!=h.length){var k;var m=h,p=!1;k=m;var r=m.substring(0,1);r!=r.toLowerCase()&&(p=!0,k=m.substri ng(0,1).toLowerCase()+m.substring(1));for(var z=Ql,r=void 0,r=1;r<=k.length;++r){var C=z,F=k.substring(0,r);if(0==F.length?C.isEmpty():!Ll(C,F))break}k=1==r?null:(k=z.get(k.substring(0,r-1)))?{rE:m.s ubstring(0,r-1),value:m.substring(r-1),qG:p,attributes:k}:null;if(k){m=[];p=[];r=!1;for(z=0;z<k.attributes.types.length;z++){var C= k.attributes.types[z],J=k.value,F=g;if(k.qG&&1==C)for(var la=J.length;12>la&&F<e.length-1;)J+="-"+e[F+1],la=J.length,++F;else if(2==C)for(;F<e.length-1&&e[F+1].match(/^[\d\.]/);)J+="-"+e[F+1],++F;la= k.attributes.A[z];J=Tl(a,C)(k.rE,J,c,d,la);if(null===J){r=!0;g=F;break}else m.push(C),p.push(J)}if(!r)for(k=0;k<p.length;k++)r=m[k],J=p[k],Ul(a,r)(h,J)}}}return new Vl(c,d)}function Wl(a,b,c,d,e){e.apply(c,[b]);a=a.substring(0,1);e.apply(d,[a==a.toUpperCase()])}f=Pl.prototype; f.vE=function(a,b,c,d,e){if(""==b)return 0;b=fb(b);if(isNaN(b))return 1;Wl(a,b,c,d,e);return null};f.ZC=function(){};f.uE=function(a,b,c,d,e){if(""==b)return 0;b=cb(b);if(isNaN(b))return 1;Wl(a,b,c,d,e);return null};f.YC=function(){};f.tE=function(a,b,c,d,e){if(""!=b)return 2;Wl(a,!0,c,d,e);return null};f.XC=function(){};f.wE=function(a,b,c,d,e){if(""==b)return 0;Wl(a,b,c,d,e);retur n null};f.$C=function(){}; function Tl(a,b){switch(b){case 0:return t(a.vE,a);case 2:return t(a.uE,a);case 3:return t(a.tE,a);case 4:case 1:return t(a.wE,a);default:return function(){}}}function Ul(a,b){switch(b){case 0:return t(a.ZC,a);case 2:return t(a.YC,a);case 3:return t(a.XC,a);case 4:case 1:return t(a.$C,a);default:return function(){}}}function Vl(a,b){this.A=a;this.B=b};function Xl(a){this.C=null;this.D=[ ];this.B=null;Yl(this,a)}function Zl(a){null==a.C&&(a.C=new Pl);return a.C}function Yl(a,b){a.B=b?ha(b)?Sl(Zl(a),b):b:Sl(Zl(a),"")}function $l(a,b,c,d){b||"number"==typeof b&&0==b||(b=void 0);var e=a.B.A;a=a.B.B;var g=c.call(e);b!=g&&(void 0!=g&&c.call(a),d.call(e,b))}f=Xl.prototype;f.Gj=function(a){$l(this,a,N.prototype.ao,N.prototype.Gq);return this};f.Fj=function(a){$l(this,a,N.pro totype.$n,N.prototype.Fq);return this}; f.Hj=function(a){$l(this,a,N.prototype.jo,N.prototype.Iq);return this};f.Hf=function(a){$l(this,a,N.prototype.Al,N.prototype.Hq);return this};f.Yg=function(a){$l(this,a,N.prototype.Zn,N.prototype.Eq) ;return this};f.Jj=function(a){$l(this,a,N.prototype.qo,N.prototype.Nq);return this};f.Ij=function(a){$l(this,a,N.prototype.oo,N.prototype.Kq);return this};f.Lj=function(a){$l(this,a,N.prototype.to,N .prototype.Pq);return this};f.Kj=function(a){$l(this,a,N.prototype.so,N.prototype.Oq);return this}; f.Oe=function(a){$l(this,a,N.prototype.Ji,N.prototype.Mq);return this};f.If=function(a){$l(this,a,N.prototype.Bl,N.prototype.Qq);return this}; f.Ne=function(){this.D.length=0;am(this,"s",N.prototype.Ji);am(this,"w",N.prototype.Bl);bm(this,"c",N.prototype.ao);am(this,"c",N.prototype.GE,16,6);bm(this,"d",N.prototype.hx);am(this,"h",N.prototyp e.Al);bm(this,"s",N.prototype.Zx);bm(this,"h",N.prototype.HE);bm(this,"p",N.prototype.qo);bm(this,"pa",N.prototype.Kx);bm(this,"pd",N.prototype.oo);bm(this,"pp",N.prototype.so);bm(this,"pf",N.prototy pe.to);am(this,"p",N.prototype.kx);bm(this,"n",N.prototype.Zn);am(this,"r",N.prototype.Vx);bm(this,"r", N.prototype.Xx);bm(this,"fh",N.prototype.px);bm(this,"fv",N.prototype.gy);bm(this,"cc",N.prototype.$n);bm(this,"ci",N.prototype.jo);bm(this,"o",N.prototype.Fx);cm(this,"o",N.prototype.N);cm(this,"j", N.prototype.L);am(this,"x",N.prototype.by);am(this,"y",N.prototype.cy);am(this,"z",N.prototype.dy);bm(this,"g",N.prototype.$x);bm(this,"fg",N.prototype.mx);bm(this,"ft",N.prototype.nx);am(this,"e",N. prototype.jx);cm(this,"f",N.prototype.rx);bm(this,"k",N.prototype.lo);am(this,"k",N.prototype.lx);bm(this, "u",N.prototype.vo);bm(this,"ut",N.prototype.wo);bm(this,"i",N.prototype.sx);bm(this,"ip",N.prototype.tx);bm(this,"a",N.prototype.ix);am(this,"a",N.prototype.Wx);am(this,"m",N.prototype.iy);am(this," vb",N.prototype.hy);am(this,"vl",N.prototype.jy);bm(this,"lf",N.prototype.vx);bm(this,"mv",N.prototype.wx);bm(this,"id",N.prototype.qx);am(this,"ic",N.prototype.ux);bm(this,"b",N.prototype.fx);am(thi s,"b",N.prototype.ex);cm(this,"t",N.prototype.JE);cm(this,"nt0",N.prototype.fy);bm(this,"rw",N.prototype.po); bm(this,"rwu",N.prototype.Tx);bm(this,"rwa",N.prototype.Ox);bm(this,"nw",N.prototype.Ex);bm(this,"rh",N.prototype.Qx);bm(this,"nc",N.prototype.zx);bm(this,"nd",N.prototype.Ax);bm(this,"no",N.prototyp e.Bx);cm(this,"q",N.prototype.Nx);bm(this,"ns",N.prototype.Cx);am(this,"l",N.prototype.Mx);am(this,"v",N.prototype.Lx);bm(this,"nu",N.prototype.Dx);bm(this,"rj",N.prototype.Rx);bm(this,"rp",N.prototy pe.Sx);bm(this,"rg",N.prototype.Px);bm(this,"pg",N.prototype.ay);bm(this,"mo",N.prototype.yx);bm(this,"al", N.prototype.dx);am(this,"iv",N.prototype.IE);am(this,"pi",N.prototype.Ix);am(this,"ya",N.prototype.ly);am(this,"ro",N.prototype.Ux);am(this,"fo",N.prototype.ox);bm(this,"df",N.prototype.gx);cm(this," mm",N.prototype.ky);return this.D.join("-")};function dm(a,b){if(void 0==b)return"";var c=b-a.length;return 0>=c?"":Va("0",c)} function am(a,b,c,d,e){var g=c.call(a.B.A);if(void 0!=g&&null!=g){d=void 0==d||10!=d&&16!=d?10:d;var g=g.toString(d),h=new Gl;h.Rb(16==d?"0x":"");h.Rb(dm(g,e));h.Rb(g);em(a,b,h.toString(),c)}}functio n bm(a,b,c){c.call(a.B.A)&&em(a,b,"",c)}function cm(a,b,c){var d=c.call(a.B.A);d&&em(a,b,d,c)}function em(a,b,c,d){d.call(a.B.B)&&(b=b.substring(0,1).toUpperCase()+b.substring(1));a.D.push(b+c)};func tion fm(a){Xl.call(this,a)}v(fm,Xl);f=fm.prototype;f.Gj=function(a){a&&gm(this);return fm.O.Gj.call(this,a)};f.Hf=function(a){null!=a&&this.Oe();return fm.O.Hf.call(this,a)};f.Hj=function(a){a&&gm(th is);return fm.O.Hj.call(this,a)};f.Fj=function(a){a&&gm(this);return fm.O.Fj.call(this,a)};f.Oe=function(a){ma(a)&&(a=Math.max(a.width,a.height));null!=a&&(this.If(),this.Hf());return fm.O.Oe.call(this,a)};f.Jj=function(a){a&&gm(this);return fm.O.Jj.call(this,a)}; f.Kj=function(a){a&&gm(this);return fm.O.Kj.call(this,a)};f.Lj=function(a){a&&gm(this);return fm.O.Lj.call(this,a)};f.Yg=function(a){a&&gm(this);return fm.O.Yg.call(this,a)};f.Ij=function(a){a&&gm(th is);return fm.O.Ij.call(this,a)};f.If=function(a){null!=a&&this.Oe();return fm.O.If.call(this,a)};function gm(a){a.Yg();a.Fj();a.Gj();a.Hj();a.Ij();a.Jj();a.Kj();a.Lj()} f.Ne=function(){var a=this.B.A;a.vo()||a.wo()?a.Ji()||this.Oe(0):(a=this.B.A,a.Ji()||a.Bl()||a.Al()||(this.Oe(),this.Hf(),this.If(),gm(this)));return fm.O.Ne.call(this)};function hm(a,b){this.C=this. I=this.D="";this.H=null;this.R=this.A="";this.F=!1;var c;a instanceof hm?(this.F=n(b)?b:a.F,im(this,a.D),this.I=a.I,jm(this,a.C),km(this,a.H),lm(this,a.A),mm(this,a.B.clone()),nm(this,a.R)):a&&(c=Fe( String(a)))?(this.F=!!b,im(this,c[1]||"",!0),this.I=om(c[2]||""),jm(this,c[3]||"",!0),km(this,c[4]),lm(this,c[5]||"",!0),mm(this,c[6]||"",!0),nm(this,c[7]||"",!0)):(this.F=!!b,this.B=new pm(null,0,this.F))} hm.prototype.toString=function(){var a=[],b=this.D;b&&a.push(qm(b,rm,!0),":");var c=this.C;if(c||"file"==b)a.push("//"),(b=this.I)&&a.push(qm(b,rm,!0),"@"),a.push(Ha(c).replace(/%25([0-9a-fA-F]{2})/g ,"%$1")),c=this.H,null!=c&&a.push(":",String(c));if(c=this.A)this.C&&"/"!=c.charAt(0)&&a.push("/"),a.push(qm(c,"/"==c.charAt(0)?sm:tm,!0));(c=this.B.toString())&&a.push("?",c);(c=this.R)&&a.push("#", qm(c,um));return a.join("")};hm.prototype.clone=function(){return new hm(this)}; function im(a,b,c){a.D=c?om(b,!0):b;a.D&&(a.D=a.D.replace(/:$/,""));return a}function jm(a,b,c){a.C=c?om(b,!0):b;return a}function km(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.H=b}else a.H=null}function lm(a,b,c){a.A=c?om(b,!0):b;return a}function mm(a,b,c){b instanceof pm?(a.B=b,vm(a.B,a.F)):(c||(b=qm(b,wm)),a.B=new pm(b,0,a.F));return a}function xm(a,b,c){a.B.set(b,c);return a}function ym(a,b){return a.B.get(b)}function nm(a,b,c){a.R=c?om(b):b;return a} function zm(a,b){return a instanceof hm?a.clone():new hm(a,b)} function Am(a,b){a instanceof hm||(a=zm(a));b instanceof hm||(b=zm(b));var c=a,d=b,e=c.clone(),g=!!d.D;g?im(e,d.D):g=!!d.I;g?e.I=d.I:g=!!d.C;g?jm(e,d.C):g=null!=d.H;var h=d.A;if(g)km(e,d.H);else if(g=!!d.A)if("/"!=h.charAt(0)&&(c.C&&!c.A?h="/"+h:(c=e.A.lastIndexOf("/"),-1!=c&&(h=e.A.substr(0,c+1)+h))),c=h,".."==c||"."==c)h="";else if(-1!=c.indexOf("./")||-1!=c.indexOf("/.")){for(var h=wa(c,"/"),c=c.split("/"),k=[],m=0;m<c.length;){var p=c[m++];"."==p?h&&m==c.length&&k.push(""):".."==p?((1<k.length|| 1==k.length&&""!=k[0])&&k.pop(),h&&m==c.length&&k.push("")):(k.push(p),h=!0)}h=k.join("/")}else h=c;g?lm(e,h):g=""!==d.B.toString();g?mm(e,om(d.B.toString())):g=!!d.R;g&&nm(e,d.R);return e}function om(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function qm(a,b,c){return ha(a)?(a=encodeURI(a).replace(b,Bm),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1" )),a):null}function Bm(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var rm=/[#\/\?@]/g,tm=/[\#\?:]/g,sm=/[\#\?]/g,wm=/[\#\?@]/g,um=/#/g;function Cm(a,b){var c=Fe(a),d=Fe(b);return c[3]==d[3]&&c[4]==d[4]}function pm(a,b,c){this.B=this.A=null;this.D=a||null;this.C=!!c} function Dm(a){a.A||(a.A=new wl,a.B=0,a.D&&Ie(a.D,function(b,c){Em(a,decodeURIComponent(b.replace(/\+/g," ")),c)}))}f=pm.prototype;f.wb=function(){Dm(this);return this.B};function Em(a,b,c){Dm(a);a.D =null;b=Fm(a,b);var d=a.A.get(b);d||a.A.set(b,d=[]);d.push(c);a.B=a.B+1} f.remove=function(a){Dm(this);a=Fm(this,a);return yl(this.A.B,a)?(this.D=null,this.B=this.B-this.A.get(a).length,this.A.remove(a)):!1};f.clear=function(){this.A=this.D=null;this.B=0};f.isEmpty=functi on(){Dm(this);return 0==this.B};function Gm(a,b){Dm(a);b=Fm(a,b);return yl(a.A.B,b)}f.ob=function(){Dm(this);for(var a=this.A.Pa(),b=this.A.ob(),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length; g++)c.push(b[d]);return c}; f.Pa=function(a){Dm(this);var b=[];if(ha(a))Gm(this,a)&&(b=ac(b,this.A.get(Fm(this,a))));else{a=this.A.Pa();for(var c=0;c<a.length;c++)b=ac(b,a[c])}return b};f.set=function(a,b){Dm(this);this.D=null; a=Fm(this,a);Gm(this,a)&&(this.B=this.B-this.A.get(a).length);this.A.set(a,[b]);this.B=this.B+1;return this};f.get=function(a,b){var c=a?this.Pa(a):[];return 0<c.length?String(c[0]):b};function Hm(a,b,c){a.remove(b);0<c.length&&(a.D=null,a.A.set(Fm(a,b),bc(c)),a.B=a.B+c.length)} f.toString=function(){if(this.D)return this.D;if(!this.A)return"";for(var a=[],b=this.A.ob(),c=0;c<b.length;c++)for(var d=b[c],e=Ha(d),d=this.Pa(d),g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+Ha(d [g]));a.push(h)}return this.D=a.join("&")};f.clone=function(){var a=new pm;a.D=this.D;this.A&&(a.A=this.A.clone(),a.B=this.B);return a};function Fm(a,b){var c=String(b);a.C&&(c=c.toLowerCase());retur n c} function vm(a,b){b&&!a.C&&(Dm(a),a.D=null,a.A.forEach(function(a,b){var e=b.toLowerCase();b!=e&&(this.remove(b),Hm(this,e,a))},a));a.C=b}f.my=function(a){for(var b=0;b<arguments.length;b++)Bl(argumen ts[b],function(a,b){Em(this,b,a)},this)};var Im=/^[^\/]*\/\//;function Jm(){}function Km(a){this.D=a;this.F="";(a=this.D.match(Im))&&a[0]?(this.F=a[0],a=this.F.match(/\w+/)?this.D:"http://"+this.D.su bstring(this.F.length)):a="http://"+this.D;this.C=zm(a,!0);this.H=!0;this.S=!1} function Lm(a){if(void 0==a.A){a.B=null;a.A=a.C.A.substring(1).split("/");var b=a.A.length;if(0==b||4==b||7<b)return a.H=!1,a.A;if(2==b)a.B=a.A[0];else if("image"==a.A[0])a.B=a.A[0];else if(7==b||3==b)return a.H=!1,a.A;if(3>=b){a.S=!0;3==b&&(a.B+="/"+a.A[1],a.A.shift(),--b);var b=b-1,c=a.A[b],d=c.indexOf("=");-1!=d&&(a.A[b]=c.substr(0,d),a.A.push(c.substr(d+1)))}}return a.A}function Mm(a){Lm(a);return a.S}function Nm(a){Lm(a);void 0==a.B&&(a.B=null);return a.B} function Om(a){switch(Lm(a).length){case 7:return!0;case 6:return null==Nm(a);case 5:return!1;case 3:return!0;case 2:return null==Nm(a);case 1:return!1;default:return!1}} function Pm(a,b){var c;if(Mm(a))a:{c=null!=Nm(a)?1:0;switch(b){case 6:c=0+c;break;case 4:if(!Om(a)){c=null;break a}c=1+c;break;default:c=null;break a}c=Lm(a)[c]}else a:{c=null!=Nm(a)?1:0;switch(b){ca se 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(!Om(a)){c=null;break a}c=4+c;break;case 5:var d=Om(a)?1:0;c=4+c+d;break;default:c=null;break a}c=Lm(a)[c]}return c}function Qm(a){void 0==a.N&&(a.N=Pm(a,0));return a.N} function Rm(a){void 0==a.W&&(a.W=Pm(a,1));return a.W}function Sm(a){void 0==a.V&&(a.V=Pm(a,2));return a.V}function Tm(a){void 0==a.X&&(a.X=Pm(a,3));return a.X}function Um(a){void 0==a.ba&&(a.ba=Pm(a, 4));return a.ba}function Vm(a){void 0==a.R&&(a.R=Pm(a,5));return a.R};function Wm(a){this.A=null;a instanceof Km||(void 0==Xm&&(Xm=new Jm),a=new Km(a.toString()));a=this.A=a;if(void 0==a.I){var b=Um(a);b||(b="");a.I=Sl(new Pl,b)}Xl.call(this,a.I);this.I=this.A.F;a=this.A;b=a.C.H;this.H=a.C.C+(b?":"+b:"");this.F=this.A.C.B.toString()}var Xm;v(Wm,fm); Wm.prototype.Ne=function(){var a=this.A;Lm(a);if(!a.H)return this.A.D;var a=Wm.O.Ne.call(this),b=[];null!=Nm(this.A)&&b.push(Nm(this.A));if(Mm(this.A)){var c=this.A;void 0==c.L&&(c.L=Pm(c,6));b.push( c.L+(a?"="+a:""))}else b.push(Qm(this.A)),b.push(Rm(this.A)),b.push(Sm(this.A)),b.push(Tm(this.A)),a&&b.push(a),b.push(Vm(this.A));return this.I+this.H+"/"+b.join("/")+(this.F?"?"+this.F:"")};functio n Ym(a,b){var c=new Wm(a);Yl(c,b);return c.Ne()} var Zm=/^((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\.goo gle\.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,$m= /^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,an=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,bn=/^(https?:)?\/\/lighthouse-(q a(-red|-blue)?|dev2)\.corp\.google\.com\//i;function cn(a){return Zm.test(a)||$m.test(a)||an.test(a)||bn.test(a)};var dn={},en={},fn={},gn={},hn={};function jn(){throw Error("Do not instantiate directly");}jn.prototype.Nf=null;jn.prototype.getContent=function(){return this.content};jn.prototype.toString=function(){return this.content};function kn(a){if(a.he===hn)return ki(a.toString());if(a.he!==dn)throw Error("Sanitized content was not of kind TEXT or HTML.");Nh("Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value.");return li(a.toString(),a.Nf||null)}function ln(){jn.call(this)} v(ln,jn);function mn(a,b,c){a.innerHTML=nn(b(c||on,void 0,void 0))}function P(a,b,c,d){a:if(a=a(b||on,void 0,c),d=Dj(d||Mi(),"DIV"),a=nn(a),d.innerHTML=a,1==d.childNodes.length&&(a=d.firstChild,1==a. nodeType)){d=a;break a}return d}function nn(a){if(!ma(a))return String(a);if(a instanceof jn){if(a.he===dn)return a.getContent();if(a.he===hn)return Ia(a.getContent())}return"zSoyz"}var on={};var pn="P T G M K m u n".split(" "),qn={"":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)};A&&Nc( 8);function rn(a,b){this.A=zh(a,!0);this.D=!!b}rn.prototype.B=Jh;function sn(a,b,c,d,e){return e&&(0>Number(c)*Number(a.A)||1==a.A&&Gh.test(Bh(b,d))||-1==a.A&&Fh.test(Bh(b,d)))?1==a.A?"\u200e":"\u200 f":""};function tn(a,b){return null!=a&&a.he===b}function un(a){if(null!=a)switch(a.Nf){case 1:return 1;case -1:return-1;case 0:return 0}return null}function vn(){jn.call(this)}v(vn,jn);vn.prototype. he=dn;function Q(a){return null!=a&&a.he===dn?a:a instanceof hi?R(ji(a),a.te()):R(Ia(String(String(a))),un(a))}function wn(a,b){this.content=String(a);this.Nf=null!=b?b:null}v(wn,ln);wn.prototype.he= hn;function xn(a){return new wn(a,void 0)} var R=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var e=new b(String(a));void 0!==d&&(e.Nf=d);return e}}(vn),yn={};function zn(a){var b="key_a:"+a,c=yn[b];if (void 0===c||0>c)yn[b]=0;else if(0==c)throw Error('Encountered two active delegates with the same priority ("a:'+a+'").');}function An(a){return(a=String(a))?new wn(a,void 0):""} var Bn=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var e=String(a);if(!e)return"";e=new b(e);void 0!==d&&(e.Nf=d);return e}}(vn);function Cn(a){return tn(a,dn)?Dn(a.getContent()):Ia(String(a))}var En=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/; function Fn(a,b){if(!b)return String(a).replace(Gn,"").replace(Hn,"<");var c=String(a).replace(/\[/g,"["),d=[],e=[],c=c.replace(Gn,function(a,c){if(c&&(c=c.toLowerCase(),b.hasOwnProperty(c)&&b [c])){var g=d.length,p="</",r="";if("/"!=a.charAt(1)){for(var p="<",z;z=In.exec(a);)if(z[1]&&"dir"==z[1].toLowerCase()){if(z=z[2]){if("'"==z.charAt(0)||'"'==z.charAt(0))z=z.substr(1,z.length-2);z=z.t oLowerCase();if("ltr"==z||"rtl"==z||"auto"==z)r=' dir="'+z+'"'}break}In.lastIndex=0}d[g]=p+c+">";e[g]=r; return"["+g+"]"}return""}),c=Dn(c),g=Jn(d),c=c.replace(/\[(\d+)\]/g,function(a,b){return e[b]&&d[b]?d[b].substr(0,d[b].length-1)+e[b]+">":d[b]});return c+g}function Jn(a){for(var b=[],c=0,d=a.length; c<d;++c){var e=a[c];"/"==e.charAt(1)?(e=Kb(b,e),0>e?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):"<li>"==e&&0>Kb(b,"</ol>")&&0>Kb(b,"</ul>")?a[c]="":En.test(e)||b.push("</"+e.substring(1) )}return b.reverse().join("")}function Kn(a){return tn(a,dn)?Dn(Fn(a.getContent())):Ia(String(a))} function Ln(a){tn(a,en)||tn(a,fn)?a=Mn(a):a instanceof Yh?a=Mn($h(a)):a instanceof di?a=Mn(fi(a)):(a=String(a),a=Nn.test(a)?a.replace(On,Pn):"#zSoyz");return a}function Qn(a){tn(a,en)||tn(a,fn)?a=Mn( a):a instanceof Yh?a=Mn($h(a)):a instanceof di?a=Mn(fi(a)):(a=String(a),a=Rn.test(a)?a.replace(On,Pn):"about:invalid#zSoyz");return a}var Sn={}; function Tn(a){var b=Sn[1]||(Sn[1]=new rn(1)),c;Nh("Soy |bidiSpanWrap is applied on an autoescaped text.");c=li(String(a),null);a=un(a);null==a&&(a=b.B(ji(c),!0));var d=void 0,d=d||void 0==d,e,g=0!=a&&a!=b.A;b.D||g?(g&&(e=-1==a?"rtl":"ltr"),e=qi("span",{dir:e},c)):e=c;c=ji(c);e=ti(0,e,sn(b,c,a,!0,d));return ji(e)} function Un(a){var b=Sn[1]||(Sn[1]=new rn(1)),c=tn(a,dn),d,e=un(a);d=a+"";null==e&&(e=b.B(d,c));var g=void 0,g=g||void 0==g,h=[];0!=e&&e!=b.A?(h.push(-1==e?"\u202b":"\u202a"),h.push(d),h.push("\u202c ")):h.push(d);h.push(sn(b,d,e,c,g));d=h.join("");b=b.A;return tn(a,hn)?new wn(d,b):c?R(d,b):d} var Vn={"\x00":"�","\t":"	","\n":" ","\x0B":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`": "`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function Wn(a){return Vn[a]} var Xn={"\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","\u00 0e":"%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","\u ff04":"%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 Pn(a){return Xn[a]} var Yn=/[\x00\x22\x27\x3c\x3e]/g,Zn=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,$n=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,On=/[\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,Nn=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailt o):|[^&:\/?#]*(?:[\/?#]|$))/i,Rn=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,ao= /^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i;function Dn(a){return String(a).replace(Yn,Wn)}function Mn(a){return String(a).replace(On,Pn)}var Gn=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Hn=/</g,bo={b:!0,br:!0,em:!0,i:!0,s:!0,sub:!0,sup:!0,u:!0},In=/([a-zA-Z][a-zA-Z0-9:\-] *)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;function co(a){return R('<div><a href="'+Kn(Ln(a.uri))+'"></a></div>')};function eo(a,b,c){if(!b)return wa(a,"/")?a:"/"+a;wa(a,"/")&&(a=a.substrin g(1));0>b.indexOf("//")&&(b="//"+b);xa(b,"/")||(b+="/");b=new hm(b);b.D||im(b,"https");c&&!wa(b.A,"/a/")&&(xa(c,"/")||(c+="/"),b=Am(b,"/a/"+c));b=Am(b,a);return b.toString()} function fo(a){var b="";2E3<a.length&&(b=a.substring(2E3),a=a.substring(0,2E3));var c=P(co,{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 go(a){return a.location.origin||a.location.protocol+"//"+a.location.host}function ho(a,b){var c=Am(a,b),d=zm(b);mm(c,d.B.toString(),!0);return c} function io(a){return"iprev_accept_invite"==Ca(Se(a,"utm_source")).toLowerCase()&&Re(a,"invite")&&Re(a,"token")}function jo(a,b){var c=ob(b);c.sort();for(var d=0;d<c.length;d++){var e=c[d];a=Oe(a,e,b[e])}return a};var ko=/^google3\/javascript\/apps\/drive\/viewer\/demo\/data\//i,lo=[new K(148,111),new K(400,400),new K(800,800),new K(1200,1200),new K(1600,1600),new K(2560,2560)]; function mo(a,b,c,d,e,g){if(a&&(b||c))if(no(a))b&&(a=Ve(a,"w",b)),c&&(a=Ve(a,"h",c));else if(cn(a))e=Um(new Km(a))||void 0,b=oo(e,b,c,d,void 0,g),a=Ym(a,b);else if(a&&Re(a,"sz")){var h=Um(new Km(a))||void 0;b=oo(h,b,c,d,e,g);a=Ve(a,"sz",b)}else if(ko.test(a)){d=null;for(g=0;g<lo.length;g++)if(b&&b<=lo[g].width||c&&c<=lo[g].height){d=lo[g];break}d||(d=lo[lo.length-1]);b=oo(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 oo(a,b,c,d,e,g){a=new fm(a);b&&a.If(b);c&&a.Hf(c);d&&a.Yg(!0);e&&$l(a,!0,N.prototype.po,N.prototype.Lq);g&&$l(a,!0,N.prototype.lo,N.prototype.Jq);return a.Ne()}function no(a){var b=Ge(Fe(a)[5]||null);return b?0==Ga("/thumb",b.substr(b.length-6,6))&&Re(a,"ds")&&Re(a,"ck"):!1};function po(a){return(a=a.exec(qc))?a[1]:""}var qo=function(){if(Ye)return po(/Firefox\/([0-9.]+)/);i f(A||yc||xc)return Lc;if(bf)return po(/Chrome\/([0-9.]+)/);if(cf&&!wc())return po(/Version\/([0-9.]+)/);if(Ze||$e){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(qc);if(a)return a[1]+"."+a[2]}else if(af)return(a=po(/Android\s+([0-9.]+)/))?a:po(/Version\/([0-9.]+)/);return""}();function ro(a){return 0<=Za(qo,a)};function so(a,b,c){B.call(this);this.A=a;this.id=b;this.X=c||0;this.I=this.F=0;thi s.eb=this.Ua=null;this.kb="Whoops!";(b=xh(a))||(b=to(this),c=b.lastIndexOf("."),b=0<c?b.substring(c+1).toLowerCase():"");this.ba=b;b=new sl;b.Af(kh(a));c=lh(a);H(b,14,c);c=4==ph(a);H(b,11,c);xh(a)&&( c=xh(a),H(b,3,c));wf(a,Pg,26)&&Qg(wf(a,Pg,26))&&b.Hg(Number(Qg(wf(a,Pg,26))));this.W=b;this.fa=!1;this.B=this.Da=this.N=this.V=this.Ib=this.Jb=null;this.Ha=!1;this.aa=ph(a);this.La=!1;this.za=[];this .sa=!1}v(so,B); var uo={ae:0,LOADED:1,LOADING:2,yd:3,ERROR:4,Me:5},vo={0:1,1:2,2:3,3:4,4:5,5:6},wo={im:"e",dH:"f",Ug:"g",sm:"h",kj:"i",tm:"j",yH:"k",wj:"l",SH:"m"};f=so.prototype;f.ie=function(a){var b=ph(a);this.aa=b;H(this.W,11,4==b);this.fa=!1;b=this.A;a=Ef(a);for(var c=b.Qa(),d=a.Qa(),e=c.length=0;e<d.length;e++)c[e]=d[e];b.A=a.A;b.D=a.D}; f.update=function(a){bh(a)&&bh(a)!=to(this)&&this.uh(bh(a));qh(a)&&xo(this,qh(a));if(rh(a)&&rh(a)!=rh(this.A)){var b=rh(a);H(this.A,23,b);this.U("h")}gh(a)&&gh(a)!=gh(this.A)&&(b=gh(a),H(this.A,7,b)) ;mh(a)&&mh(a)!=mh(this.A)&&(b=mh(a),H(this.A,16,b));ph(a)&&ph(a)!=yo(this)&&zo(this,ph(a))};function to(a){return bh(a.A)}function Ao(a){return kh(a.A)}f.Mc=function(a,b,c){var d=bf&&!af&&ro("23")||b f&&af&&ro("25")||!bf&&af&&ro("4.2")||xc&&ro("12.10"),e=ch(this.A);return mo(e,a,b,void 0,d&&!!c)}; f.getId=function(){return this.id};function yo(a){return ph(a.A)}function Bo(a,b,c,d,e,g){a.X==b||a.Aa||(a.X=b,1==b&&(a.fa=!1),a.Ua=c||null,a.eb=d||null,n(e)&&(a.kb=e),a.U(new Co(g)))}f.th=function() {this.F=this.X=0;this.Ua=null;this.fa=!1};f.getState=function(){return this.X};function Do(a,b,c){a.F==b||a.Aa||(a.F=b,a.U(new Eo(c)))}function Fo(a,b,c){a.I==b||a.Aa||(a.I=b,a.U(new Go(c)))}function Ho(a){H(a.W,12,vo[a.X]);H(a.W,13,vo[a.F]);return Ef(a.W)}f.uh=function(a){H(this.A,2,a);this.U("j")}; function xo(a,b){b!=qh(a.A)&&(H(a.A,22,b),a.U("g"))}function zo(a,b){var c=yo(a);c!=b&&(H(a.A,21,b),5==a.aa&&(a.aa=b),H(a.W,11,4==b),a.U(new Io(c)))}f.ub=function(){return this.Ib};f.Gh=function(){re turn 0};function Jo(a,b){var c;a:{for(c=0;c<a.za.length;c++){var d=a.za[c];if(b==d||b&&d&&b instanceof d.constructor&&Df(b.Qa(),d.Qa())){c=!0;break a}}c=!1}if(c)return!1;a.za.push(b);return!0}functio n Ko(a){var b=a.sa;a.sa=!0;!b&&a.U("f")}function Co(a){y.call(this,"l");this.time=a}v(Co,y); function Eo(a){y.call(this,"e");this.error=a}v(Eo,y);function Lo(a){y.call(this,"k");this.D=a}v(Lo,y);function Io(a){y.call(this,"i");this.D=a}v(Io,y);function Go(a){y.call(this,"m");this.info=a}v(Go ,y);function Mo(a){B.call(this);this.ba=a;this.aa=null;this.$=[];this.V=[];this.A={};this.D={};this.L=null;this.N=this.W=!1;this.R=this.I=this.X=this.S=null;this.H=0;No(this);this.F=this.B=this.C=0;t his.sa=new M(this);x(this,this.sa);this.sa.listen(this.ba,wo.Ug,this.fa)}v(Mo,B);function Oo(a,b){a.A[b]={id:b,title:void 0,userPermission:{role:void 0},alternateLink:void 0,shared:void 0,primarySyncParentId:void 0,iconLink:void 0};Po(a,b,0)}function Qo(a,b){a.X=b}function Ro(a,b){a.S=b} function So(a,b){if(null===a.I||a.I<b)a.I=b}function To(a,b){a.H=b?1:2;a.R&&"reader"==a.R.role&&xo(a.ba,b)}function No(a){qh(a.ba.A)&&(a.H=1)}Mo.prototype.fa=function(){No(this)};function Po(a,b,c){!a.A[b]||a.D[b]&&a.D[b]==c||(a.D[b]=c,a.U("o"))}function Uo(a){return kb(a.A,function(a,c){return 0!=this.D[c]},a)}function Vo(a){return lb(a.A,function(a,c){return 1==this.D[c]},a)}functi on Wo(a){return kb(a.A,function(a,c){return 3==this.D[c]},a)} function Xo(a,b,c){if(c&&0<c.length){for(var d=0;d<c.length;d++)delete a.A[c[d]],delete a.D[c[d]];a.U("o")}if(b&&0<b.length){for(d=0;d<b.length;d++)Oo(a,b[d]);a.U("p")}}function Yo(a,b){b!=a.B&&(a.B= b,a.U("n"))}function Zo(a,b){b!=a.F&&(a.F=b,a.U("n"))}function $o(a){a.F=0;a.B=0;Xb(a.$);Xb(a.V);rb(a.A);rb(a.D);a.L=null;a.W=!1;a.N=!1;a.S=null;a.X=null;a.I=null;a.R=null;a.H=0;No(a);a.C=0};function ap(a,b){w.call(this);this.item=a;this.A=b;this.B=new M(this);x(this,this.B)}v(ap,w);var bp={lj:1,ij:2,vj:4};f=ap.prototype;f.eo=function(){return[]};function cp(a,b){var c=a.item.Da.ra(),d=gh(a.item .A),e=al(a.A,dp);b&bp.lj&&0==c.B&&(Yo(c,2),gl(e,d,a.eo(),t(a.Jk,a),t(a.Qn,a,"drive#file")),a.B.listen(c,"p",a.rB));b&bp.ij&&0==c.F&&(Zo(c,2),il(e,d,t(a.fz,a),t(a.Qn,a,"drive#commentList")));b&bp.vj&& 1==c.B&&!Uo(c)&&Lb(nb(c.A),function(a){ep(this,a.id)},a)} f.Qn=function(a){var b=this.item.Da.ra();"drive#file"==a?Yo(b,3):"drive#commentList"==a&&Zo(b,3)}; f.Jk=function(a){var b=this.item.Da;b.C=a.fileSize;var c=b.ra();c.aa=a;c.L=Ca(a.description);c.W=!!a.editable;(b=a.createdDate)&&Ro(c,new Date(b));(b=a.modifiedDate)&&Qo(c,new Date(b));(b=a.lastViewe dByMeDate)&&So(c,new Date(b));if(b=a.userPermission)c.R=b;(b=a.permissions)&&Lb(b,function(a){Yb(c.$,a)});if(b=a.labels)ia(b.starred)&&(c.C=b.starred?1:2),ia(b.restricted)&&To(c,b.restricted);b=a.pri marySyncParentId;5==yo(this.item)&&zo(this.item,Ba(b)?3:4);(a=a.parents)&&Lb(a,function(a){Oo(c,a.id);ep(this, a.id)},this);Yo(c,1)};f.fz=function(a){for(var b=this.item.Da.ra(),c=0;c<a.items.length;c++)Yb(b.V,a.items[c]);Zo(b,1)};f.rB=function(){for(var a=this.item.Da.ra(),b=nb(a.A),c=0;c<b.length;c++){var d=b[c].id;0==a.D[d]&&ep(this,d)}}; function ep(a,b){Po(a.item.Da.ra(),b,2);var c;c=a.A.get(fp);var d=c.A[b];if(!d||d.fc()){var d=al(c.D,dp),e=t(c.F,c,b),g=Zk(new Tk(d.A,d.B+"/files/"+b+"?fields=title,alternateLink,kind,primarySyncPare ntId,userPermission(role),shared,iconLink","drive#file")).start();hl(d,g);Nk(g,q);Ok(g,e);d=g;c.A[b]=d}c=d;Nk(c,t(a.oB,a,b));Ok(c,t(a.nB,a,b))}f.oB=function(a,b){var c=this.item.Da.ra();c.A[a]&&yb(c. A[a],b);Po(c,a,1)};f.nB=function(a,b,c){c.fc()||Po(this.item.Da.ra(),a,3)};function gp(a,b){w.call(this);this.D=a;this.A=b}v(gp,w);f=gp.prototype;f.tc=function(){return[]};f.$b=function(){return null};f.bo=function(){return ap};f.qk=function(){return null};f.cl=function(){return!1};f.sh=function(){return!0};f.vg=function(){return!1};f.dl=function(){return!1};function hp(a,b){so.call(this,a, b);this.tb=this.D=null}v(hp,so);var ip={zr:"q",RG:"r"};function jp(a){return wf(a.A,Pg,26)&&Qg(wf(a.A,Pg,26))?Number(Qg(wf(a.A,Pg,26))):null}hp.prototype.Gh=function(){return this.D?this.D.getChildre n().length:0};hp.prototype.uh=function(a){this.D&&this.D.ja().name&&(this.D.ja().name=a);hp.O.uh.call(this,a)};zn("document");zn("archive");zn("");zn("generic");zn("youtube");zn("audio");zn("drawing" );zn("earth");zn("form");zn("fusion");zn("map");zn("script");zn("spreadsheet");zn("presentation");zn("image");zn("excel");zn("powerpoint");zn("word");zn("pdf");zn("text");zn("video");function kp(a,b){this.start=a<b?a:b;this.end=a<b?b:a}kp.prototype.clone=function(){return new kp(this.start,this.end)};function lp(a){return a.end-a.start}function mp(a,b){return a.start<=b&&a.end>=b};var np=new kp(1,100),op=new kp(101,200),pp=new kp(301,400),qp=new kp(1001,1100),rp=new kp(501,600),sp=new kp(601,700);function tp(){}da(tp);function up(a,b){var c=-1==b.indexOf(";")?b.split("/",2):b.sub string(0,b.indexOf(";")).split("/",2);if(2!=c.length)return 1;var d=c[1].toLowerCase();switch(c[0].toLowerCase()){case "application":return vp[d]?vp[d]:2;case "audio":return wp[d]?wp[d]:3;case "image":return xp[d]?xp[d]:4;case "multipart":return yp[d]?yp[d]:7;case "text":return zp[d]?zp[d]:5;case "video":return Ap[d]?Ap[d]:6;default:return Bp[b]?Bp[b]:1}} var vp={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,photosho p: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.7963963771 86":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.8 97606708560":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":7 60,"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.openx mlformats-officedocument.spreadsheetml.template":792,"vnd.openxmlformats-officedocument.wordprocessingml.document":723,"vnd.openxmlformats-officedocument.wordprocessingml.template":756,"vnd.visio":72 5,"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":7 32,"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-t gz":787,"x-tex":739,"x-zip":779,"x-zip-compressed":780,xml:794,zip:740},wp={"3gp":107,midi:101,"mp4a-latm":102, mpeg:103,mpeg3:104,ogg:108,"x-ms-wma":105,"x-wav":106,wav:109},Bp={"chemical/x-gamess-input":201,"gzip/document":1101,"message/rfc822":401,"link/article":8},xp={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},yp={"x-gzip":1001,"x-rar":1002,"x-tar":1005,"x-zip":1003,zip:1004},zp={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:5 14},Ap={"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 Cp(){this.A=[];this.A[8]=23;this.A[3]=2;th is.A[4]=8;this.A[7]=18;this.A[5]=13;this.A[6]=14;this.A[781]=18;this.A[771]=18;this.A[782]=18;this.A[783]=18;this.A[768]=9;this.A[767]=10;this.A[704]=11;this.A[758]=11;this.A[790]=11;this.A[741]=13;t his.A[706]=12;this.A[744]=8;this.A[772]=18;this.A[709]=13;this.A[773]=18;this.A[711]=3;this.A[712]=4;this.A[716]=20;this.A[745]=15;this.A[713]=5;this.A[746]=5;this.A[764]=21;this.A[747]=3;this.A[788] =22;this.A[789]=22;this.A[714]=6;this.A[748]=6;this.A[766]= 19;this.A[763]=24;this.A[797]=24;this.A[715]=7;this.A[765]=16;this.A[742]=14;this.A[717]=9;this.A[749]=9;this.A[750]=9;this.A[791]=9;this.A[718]=10;this.A[751]=10;this.A[752]=10;this.A[753]=10;this.A [759]=9;this.A[792]=9;this.A[723]=11;this.A[756]=11;this.A[724]=10;this.A[754]=10;this.A[755]=10;this.A[757]=11;this.A[722]=9;this.A[760]=10;this.A[774]=18;this.A[775]=18;this.A[776]=18;this.A[784]=1 8;this.A[785]=18;this.A[786]=18;this.A[728]=18;this.A[777]=18;this.A[743]=13;this.A[770]=18;this.A[778]= 18;this.A[787]=18;this.A[779]=18;this.A[780]=18;this.A[740]=18;this.A[1101]=18;this.A[621]=17}da(Cp);function Dp(){this.A=[];this.A[18]="archive";this.A[2]="audio";this.A[1]="generic";this.A[3]="docu ment";this.A[4]="drawing";this.A[20]="earth";this.A[15]="folder";this.A[5]="form";this.A[21]="fusion";this.A[22]="map";this.A[19]="script";this.A[24]="site";this.A[7]="spreadsheet";this.A[6]="present ation";this.A[16]="spreadsheet";this.A[8]="image";this.A[9]="excel";this.A[10]="powerpoint";this.A[11]="word";this.A[12]="pdf";this.A[13]="text";this.A[14]="video";this.A[17]="youtube";this.B=[];this .B[1]= 2;this.B[5]=2;this.B[12]=3;this.B[17]=2;this.D=[];this.D[17]="_x16.ico";this.D[16]="_x16.png";this.D[32]="_x32.png";this.D[128]="_x128.png"}da(Dp); Dp.prototype.get=function(a,b){var c=up(tp.la(),a);if(mp(np,c)){for(var c=1,d=a.split("/"),e=[];0<c&&d.length;)e.push(d.shift()),c--;d.length&&e.push(d.join("/"));c="https://drive-thirdparty.googleus ercontent.com/"+(17==b?16:b)+"/type/"+Ha(e[0])+"/"+Ha(e[1]);return 17==b?c+".ico":c}d=Cp.la();c=d.A[c]?d.A[c]:mp(op,c)?2:mp(pp,c)?8:mp(qp,c)?18:mp(rp,c)?13:mp(sp,c)?14:1;d=this.D[b];this.A[c]||(c=1); return"//ssl.gstatic.com/docs/doclist/images/mediatype/icon_"+(this.B[c]?this.B[c]:1)+"_"+this.A[c]+d};function Ep(){this.A=[];this.A[8]="Article";this.A[3]="Audio";this.A[4]="Image";this.A[7]="Compr essed Archive";this.A[5]="Text";this.A[6]="Video";this.A[701]="AutoCAD";this.A[781]="Compressed Archive";this.A[702]="AutoCAD";this.A[703]="Electronic Publication";this.A[771]="Compressed Archive";this.A[782]="Compressed Archive";this.A[783]="Compressed Archive";this.A[762]="Illustrator";this.A[741]="Javascript";this.A[768]="Excel";this.A[767]="PowerPoint";this.A[704]="Word";this.A[7 58]="Word";this.A[790]= "Word";this.A[706]="PDF";this.A[744]="Photoshop";this.A[707]="PKCS7 Signature";this.A[708]="Postscript";this.A[705]="Binary File";this.A[772]="Compressed Archive";this.A[709]="Rich Text";this.A[773]= "Compressed Archive";this.A[710]="Android Package";this.A[711]="Google Docs";this.A[747]="Google Docs";this.A[712]="Google Drawings";this.A[745]="Google Drive Folder";this.A[713]="Google Forms";this.A[746]="Google Forms";this.A[764]="Google Fusion Tables";this.A[788]="Google My Maps";this.A[789]="Google My Maps"; this.A[714]="Google Slides";this.A[748]="Google Slides";this.A[765]="Google Sheets";this.A[766]="Google Apps Script";this.A[763]="Google Sites";this.A[797]="Google Sites";this.A[715]="Google Sheets";this.A[742]="Google Video";this.A[716]="Google Earth";this.A[717]="Excel";this.A[749]="Excel";this.A[750]="Excel";this.A[791]="Excel";this.A[718]="PowerPoint";this.A[751]="PowerPoint";this.A [752]="PowerPoint";this.A[753]="PowerPoint";this.A[719]="Project";this.A[769]="Word";this.A[720]="Works";this.A[721]= "XPS";this.A[757]="OpenOffice Writer";this.A[761]="OpenOffice Draw";this.A[760]="OpenOffice Impress";this.A[722]="OpenOffice Calc";this.A[759]="Excel";this.A[792]="Excel";this.A[723]="Word";this.A[75 6]="Word";this.A[724]="PowerPoint";this.A[754]="PowerPoint";this.A[755]="PowerPoint";this.A[725]="Visio";this.A[726]="Compressed Archive";this.A[774]="Compressed Archive";this.A[775]="Compressed Archive";this.A[776]="Compressed Archive";this.A[784]="Compressed Archive";this.A[785]="Compressed Archive"; this.A[786]="Compressed Archive";this.A[727]="TrueType Font";this.A[728]="Compressed Archive";this.A[777]="Compressed Archive";this.A[729]="PHP";this.A[730]="Keynote";this.A[731]="Numbers";this.A[732 ]="Pages";this.A[743]="Javascript";this.A[733]="Compressed Archive";this.A[734]="Publisher";this.A[735]="Windows Shortcut";this.A[736]="Windows Media Player";this.A[770]="Compressed Archive";this.A[737]="Compressed Archive";this.A[738]="Flash";this.A[778]="Compressed Archive";this.A[787]="Compressed Archive"; this.A[739]="LaTeX";this.A[779]="Compressed Archive";this.A[780]="Compressed Archive";this.A[740]="Compressed Archive";this.A[107]="Audio";this.A[101]="Audio";this.A[102]="Audio";this.A[103]="Audio"; this.A[104]="Audio";this.A[108]="Audio";this.A[105]="Audio";this.A[106]="Audio";this.A[109]="Audio";this.A[301]="Image";this.A[302]="Image";this.A[303]="Image";this.A[304]="Image";this.A[309]="Image" ;this.A[305]="Image";this.A[326]="Image";this.A[306]="Image";this.A[327]="Image";this.A[310]="Image";this.A[311]= "Raw Image";this.A[312]="Raw Image";this.A[307]="Image";this.A[313]="Raw Image";this.A[328]="Image";this.A[314]="Raw Image";this.A[315]="Raw Image";this.A[316]="Image";this.A[317]="Raw Image";this.A[318]="Raw Image";this.A[319]="Raw Image";this.A[320]="Raw Image";this.A[321]="Raw Image";this.A[308]="Photoshop";this.A[322]="Raw Image";this.A[323]="Raw Image";this.A[324]="Raw Image";this.A[325]="Image";this.A[201]="Chemical Model";this.A[1101]="Compressed Archive";this.A[401]="Message";this.A[1001]= "Compressed Archive";this.A[1002]="Compressed Archive";this.A[1005]="Compressed Archive";this.A[1003]="Compressed Archive";this.A[1004]="Compressed Archive";this.A[501]="Calendar";this.A[502]="Style Sheet";this.A[503]="Comma Separated Data";this.A[515]="ECMAScript";this.A[504]="HTML";this.A[505]="Text";this.A[506]="C";this.A[517]="C";this.A[518]="C++";this.A[507]="C++";this.A[508]="Hangul Word Processor";this.A[509]="Java";this.A[510]="Java";this.A[516]="Javascript";this.A[511]="Objective C";this.A[512]= "SQL";this.A[519]="Text";this.A[513]="vCard";this.A[514]="XML";this.A[601]="Video";this.A[602]="Video";this.A[619]="Video";this.A[603]="Video";this.A[618]="Video";this.A[617]="Video";this.A[604]="Vid eo";this.A[616]="Video";this.A[605]="Video";this.A[615]="Video";this.A[606]="Video";this.A[614]="Video";this.A[613]="Video";this.A[607]="Flash";this.A[610]="Video";this.A[612]="Video";this.A[611]="Vi deo";this.A[608]="Windows Media Player";this.A[609]="Video";this.A[620]="Flash";this.A[621]="YouTube"}da(Ep); Ep.prototype.get=function(a){return this.A[a]?this.A[a]:"Unknown File"};function Fp(a){return Dp.la().get(a,1<l.devicePixelRatio?32:16)}function Gp(a){return Ep.la().get(up(tp.la(),a))};function Hp(a){B.call(this);this.D=a;this.A=new M(this);x(this,this.A);this.F=this.C=0;this.B=!1;this.A.listen(this.D,"touchstart",this.I);this.A.listen(this.D,"touchend",this.H)}v(Hp,B);var Ip={OH:"swipe_right",NH:"swipe_left"};Hp.prototype.I=function(a){1!=a.A.touches.length?this.B=!1:(this.B=!0,this.C=a.A.touches[0].pageX,this.F=a.A.touches[0].pageY)}; Hp.prototype.H=function(a){if(this.B){var b=this.C-a.A.changedTouches[0].pageX,c=this.F-a.A.changedTouches[0].pageY;100<=Math.abs(b)&&Math.abs(b)>Math.abs(c)&&(this.U(0>b?"swipe_right":"swipe_left"), a.B())}};function Jp(a,b){y.call(this,a);this.qa=b}v(Jp,y);function Kp(a,b){Jp.call(this,"y",b);this.item=a}v(Kp,Jp);function Lp(a,b,c){Jp.call(this,"v",c);this.dk=a;this.Xf=b}v(Lp,Jp);function Mp(a,b){Jp.call(this,"w",b);this.app=a}v(Mp,Jp);function Np(a){y.call(this,"C");this.D=a}v(Np,y);function Op(a){if(a.classList)return a.classList;a=a.className;return ha(a)&&a.match(/\S+/g)||[]}func tion Pp(a,b){return a.classList?a.classList.contains(b):Wb(Op(a),b)}function S(a,b){a.classList?a.classList.add(b):Pp(a,b)||(a.className+=0<a.className.length?" "+b:b)}function Qp(a,b){if(a.classList )Lb(b,function(b){S(a,b)});else{var c={};Lb(Op(a),function(a){c[a]=!0});Lb(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}} function Rp(a,b){a.classList?a.classList.remove(b):Pp(a,b)&&(a.className=Nb(Op(a),function(a){return a!=b}).join(" "))}function Sp(a,b){a.classList?Lb(b,function(b){Rp(a,b)}):a.className=Nb(Op(a),fun ction(a){return!Wb(b,a)}).join(" ")}function Tp(a,b,c){c?S(a,b):Rp(a,b)}function Up(a,b,c){Pp(a,b)&&(Rp(a,b),S(a,c))}function Vp(a,b,c){Rp(a,b);S(a,c)};function Wp(a,b,c,d){this.top=a;this.right=b;th is.bottom=c;this.left=d}function Xp(a){for(var b=new Wp(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++){var d=b,e=arguments[c];d.top=Math.min(d.top,e.y);d.rig ht=Math.max(d.right,e.x);d.bottom=Math.max(d.bottom,e.y);d.left=Math.min(d.left,e.x)}return b}f=Wp.prototype;f.clone=function(){return new Wp(this.top,this.right,this.bottom,this.left)}; f.contains=function(a){return this&&a?a instanceof Wp?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};f.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}; f.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};f.round=function(){this.top=Math.ro und(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function Yp(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d }f=Yp.prototype;f.clone=function(){return new Yp(this.left,this.top,this.width,this.height)};function Zp(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 } function $p(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 e=Math.max(a.top,b.top),g=Math.min(a.top+a.height,b.top+b.height);if(e<=g)return a.left=c,a.top=e,a.width=d-c,a.height=g-e,!0}return!1}function aq(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} function bq(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}f .contains=function(a){return a instanceof Yp?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};function cq(a){return new K(a.width,a.height)} f.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};f.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};f.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}; function dq(a,b,c){b instanceof I?(a.left+=b.x,a.top+=b.y):(a.left+=b,ja(c)&&(a.top+=c))}function eq(a,b,c){c=ja(c)?c:b;a.left*=b;a.width*=b;a.top*=c;a.height*=c};function fq(a,b,c){if(ha(b))(b=gq(a, b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=gq(c,d);g&&(c.style[g]=e)}}var hq={};function gq(a,b){var c=hq[b];if(!c){var d=db(b),c=d;void 0===a.style[d]&&(d=(Bc?"Webkit":Ac?"Moz":A?"ms" :xc?"O":null)+eb(d),void 0!==a.style[d]&&(c=d));hq[b]=c}return c}function iq(a,b){var c=a.style[db(b)];return"undefined"!==typeof c?c:a.style[gq(a,b)]||""} function jq(a,b){var c=Oi(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function kq(a,b){return jq(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function lq(a){return kq(a,"position")}function mq(a,b,c){var d;b instanceof I?(d=b.x,b=b.y):(d=b,b=c);a.style.left=nq(d,!1);a.s tyle.top=nq(b,!1)}function oq(a){return new I(a.offsetLeft,a.offsetTop)} function pq(a){a=a?Oi(a):document;return!A||Oc(9)||Wi(Mi(a).A)?a.documentElement:a.body}function qq(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}A&&a.ownerD ocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} function rq(a){if(A&&!Oc(8))return a.offsetParent;var b=Oi(a),c=kq(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=kq(a,"po sition"),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 sq(a){for(var b=new Wp(0,Infinity,Infinity,0),c=Mi(a),d=c.A.body,e=c.A.documentElement,g=Yi(c.A);a=rq(a);)if(!(A&&0==a.clientWidth||Bc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=kq(a, "overflow")){var h=tq(a),k=new I(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.lef t=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= Vi(Fj(c));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 uq(a,b,c){var d=b||Yi(document),e=tq(a),g=tq(d),h=vq(d);d==Yi(document)?(b=e.x-d.scrollLeft,e=e.y-d.scrollTop,A&&!Oc(10)&&(b+=h.left,e+=h.top)):(b=e.x-g.x-h.left,e=e.y-g.y-h.top);h=d.clientW idth-a.offsetWidth;a=d.clientHeight-a.offsetHeight;g=d.scrollLeft;d=d.scrollTop;c?(g+=b-h/2,d+=e-a/2):(g+=Math.min(b,Math.max(b-h,0)),d+=Math.min(e,Math.max(e-a,0)));return new I(g,d)}function wq(a,b){var c=b||Yi(document),d=uq(a,c,void 0);c.scrollLeft=d.x;c.scrollTop=d.y} function tq(a){var b=Oi(a),c=new I(0,0),d=pq(b);if(a==d)return c;a=qq(a);b=Xi(Mi(b).A);c.x=a.left+b.x;c.y=a.top+b.y;return c}function xq(a,b){var c=yq(a),d=yq(b);return new I(c.x-d.x,c.y-d.y)}functio n zq(a){a=qq(a);return new I(a.left,a.top)}function yq(a){if(1==a.nodeType)return zq(a);a=a.changedTouches?a.changedTouches[0]:a;return new I(a.clientX,a.clientY)}function Aq(a,b,c){if(b instanceof K)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Bq(a,b);Cq(a,c)} function nq(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Cq(a,b){a.style.height=nq(b,!0)}function Bq(a,b){a.style.width=nq(b,!0)}function Dq(a){var b=Eq;if("none"!=kq(a,"di splay"))return b(a);var c=a.style,d=c.display,e=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=e;return a} function Eq(a){var b=a.offsetWidth,c=a.offsetHeight,d=Bc&&!b&&!c;return n(b)&&!d||!a.getBoundingClientRect?new K(b,c):(a=qq(a),new K(a.right-a.left,a.bottom-a.top))}function Fq(a){var b=tq(a);a=Dq(a);return new Yp(b.x,b.y,a.width,a.height)}function Gq(a){var b=a.style;a="";"opacity"in b?a=b.opacity:"MozOpacity"in b?a=b.MozOpacity:"filter"in b&&(b=b.filter.match(/alpha\(opacity=([ \d.]+)\)/))&&(a=String(b[1]/100));return""==a?a:Number(a)} function Hq(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 Iq(a,b){var c=a.style;A&&!Nc("8 ")?c.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="crop")':(c.backgroundImage="url("+b+")",c.backgroundPosition="top left",c.backgroundRepeat="no-repeat")}func tion T(a,b){a.style.display=b?"":"none"}function Jq(a){return"none"!=a.style.display} function Kq(a){return"rtl"==kq(a,"direction")}var Lq=Ac?"MozUserSelect":Bc||yc?"WebkitUserSelect":null;function Mq(a,b,c){c=c?null:a.getElementsByTagName("*");if(Lq){if(b=b?"none":"",a.style&&(a.styl e[Lq]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Lq]=b)}}else if(A||xc)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}function Nq(a){return new K(a.offsetWidth,a.offsetHeight)} function Oq(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 e=a.style.pixelLeft;a.style.left=c;a.r untimeStyle.left=d;return e}function Pq(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?Oq(a,c):0} function Qq(a,b){if(A){var c=Pq(a,b+"Left"),d=Pq(a,b+"Right"),e=Pq(a,b+"Top"),g=Pq(a,b+"Bottom");return new Wp(e,d,g,c)}c=jq(a,b+"Left");d=jq(a,b+"Right");e=jq(a,b+"Top");g=jq(a,b+"Bottom");return new Wp(parseFloat(e),parseFloat(d),parseFloat(g),parseFloat(c))}function Rq(a){return Qq(a,"margin")}var Sq={thin:2,medium:4,thick:6};function Tq(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"St yle"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Sq?Sq[c]:Oq(a,c)} function vq(a){if(A&&!Oc(9)){var b=Tq(a,"borderLeft"),c=Tq(a,"borderRight"),d=Tq(a,"borderTop");a=Tq(a,"borderBottom");return new Wp(d,c,a,b)}b=jq(a,"borderLeftWidth");c=jq(a,"borderRightWidth");d=jq (a,"borderTopWidth");a=jq(a,"borderBottomWidth");return new Wp(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function Uq(a,b){B.call(this);this.A=a;var c=kj(this.A)?this.A:this.A?this.A.b ody:null;this.F=!!c&&Kq(c);this.B=nd(this.A,Ac?"DOMMouseScroll":"mousewheel",this,b)}v(Uq,B); Uq.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.A;"mousewheel"==a.type?(d=Vq(-a.wheelDelta),n(a.wheelDeltaX)?(b=Vq(-a.wheelDeltaX),c=Vq(-a.wheelDeltaY)):c=d):(d=a.detail,100<d?d=3:-100>d&&(d =-3),n(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d);ja(this.D)&&(b=wi(b,-this.D,this.D));ja(this.C)&&(c=wi(c,-this.C,this.C));this.F&&(b=-b);b=new Wq(d,a,b,c);this.U(b)};function Vq(a){return Bc&&(Dc||Fc)&&0!=a%40?a:a/40}Uq.prototype.Z=function(){Uq.O.Z.call(this);wd(this.B);this.B=null}; function Wq(a,b,c,d){Xc.call(this,b);this.type="mousewheel";this.detail=a;this.S=c;this.deltaY=d}v(Wq,Xc);function Xq(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;sw itch(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!Ac;default:return 166>a.keyCode||183<a.keyCode}} function Yq(a,b,c,d,e){if(!(A||yc||Bc&&Nc("525")))return!0;if(Dc&&e)return Zq(a);if(e&&!d)return!1;ja(b)&&(b=$q(b));if(!c&&(17==b||18==b||Dc&&91==b))return!1;if((Bc||yc)&&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(A&&d&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(Bc||yc)}return Zq(a)} function Zq(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Bc||yc)&&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 $q(a){if(Ac)a=ar(a);else if(Dc&&Bc)a:switch(a){case 93:a=91;break a}return a} function ar(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 br={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",5 3:"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 cr(a){B.call(this);this.D=this.B={};this.C=0;this.L=Ab(dr);this.N=Ab(er);this.H=!0;this.I=!1;this. F=null;this.A=a;nd(this.A,"keydown",this.Vh,!1,this);Ac&&nd(this.A,"keyup",this.cp,!1,this);Ec&&!Ac&&(nd(this.A,"keypress",this.Ep,!1,this),nd(this.A,"keyup",this.Fp,!1,this))}var fr;v(cr,B);function gr(a){this.A=a||null;this.next=a?null:{}}var hr={NONE:0,be:1,wd:2,gm:4,xd:8},dr=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],er="color date datetime datetime-local email month number password search tel text time url week".split(" "); function ir(a){if(!fr){var b={},c;for(c in br)b[br[c]]=$q(parseInt(c,10));fr=b}return fr[a]}f=cr.prototype;f.Cg=function(a,b){jr(this.B,kr(1,arguments),a)};f.AG=function(a){lr(this.B,kr(0,arguments)) };f.zy=function(a){var b;a:{b=kr(0,arguments);for(var c=this.B;0<b.length&&c;){c=c[b.shift()];if(!c)break;if(0==b.length&&c.A){b=!0;break a}c=c.next}b=!1}return b}; function kr(a,b){var c;if(ha(b[a]))c=Pb(mr(b[a]),function(a){return a.keyCode&255|a.ld<<8});else{var d=b,e=a;fa(b[a])&&(d=b[a],e=0);for(c=[];e<d.length;e+=2)c.push(d[e]&255|d[e+1]<<8)}return c}f.Z=function(){cr.O.Z.call(this);this.B={};vd(this.A,"keydown",this.Vh,!1,this);Ac&&vd(this.A,"keyup",this.cp,!1,this);Ec&&!Ac&&(vd(this.A,"keypress",this.Ep,!1,this),vd(this.A,"keyup",this.Fp,!1, this));this.A=null}; function mr(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 e=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}e=ir(h);break}b.push({keyCode:e,ld:g})}return b} f.cp=function(a){if(Dc){if(224==a.keyCode){this.V=!0;D(function(){this.V=!1},400,this);return}var b=a.metaKey||this.V;67!=a.keyCode&&88!=a.keyCode&&86!=a.keyCode||!b||(a.metaKey=b,this.Vh(a))}32==thi s.F&&32==a.keyCode&&a.preventDefault();this.F=null};f.Ep=function(a){32<a.keyCode&&Ec&&!Ac&&a.ctrlKey&&a.altKey&&(this.R=!0)};f.Fp=function(a){!this.R&&Ec&&!Ac&&a.ctrlKey&&a.altKey&&this.Vh(a)}; function jr(a,b,c){var d=b.shift(),e=a[d];if(e&&(0==b.length||e.A))throw Error("Keyboard shortcut conflicts with existing shortcut");b.length?(d=d.toString(),e=new gr,e=d in a?a[d]:a[d]=e,jr(e.next,b ,c)):a[d]=new gr(c)}function lr(a,b){var c=b.shift(),d=a[c];d&&(0==b.length?d.A&&delete a[c]:d.next&&(lr(d.next,b),qb(d.next)&&delete a[c]))} f.Vh=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,e=!d&&(c.isContentEditable||c. ownerDocument&&"on"==c.ownerDocument.designMode);b=!d&&!e||this.L[b]?!0:e?!1:a.altKey||a.ctrlKey||a.metaKey?!0:"INPUT"==c.tagName&&this.N[c.type]?13==b:"INPUT"==c.tagName||"BUTTON"==c.tagName?32!=b:! 1}if(b)if("keydown"==a.type&&Ec&&!Ac&&a.ctrlKey&&a.altKey)this.R=!1;else{b=$q(a.keyCode);c=b&255|((a.shiftKey? 1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0))<<8;if(!this.D[c]||1500<=u()-this.C)this.D=this.B,this.C=u();if(c=this.D[c])c.next?(this.D=c.next,this.C=u(),a.preventDefault()):(this.D=this.B,thi s.C=u(),this.H&&a.preventDefault(),this.I&&a.B(),c=c.A,d=a.target,e=this.U(new nr("shortcut",c,d)),(e&=this.U(new nr("shortcut_"+c,c,d)))||a.preventDefault(),Ac&&(this.F=b))}};function nr(a,b,c){y.call(this,a,c);this.H=b}v(nr,y);var or={"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 pr(a){if(null!=a)if(a instanceof Jp)a=a.qa;else if(a instanceof nr)a=1;else if(a instanceof Wq)a=9;else{var b;a:{for(b in Ip)if(Ip[b]==a.type){b=!0;break a}b=!1}b?a=20:(b=null,kj(a.target)?b =a.target:a.target&&a.target.J&&kj(a.target.J())&&(b=a.target.J()),a=qr(b))}else a=void 0;return a}function qr(a){for(;a;){for(var b=Op(a),c=0;c<b.length;c++){var d=or[b[c]];if(d)return d}a=lj(a)}};function rr(a,b,c){w.call(this);this.A=a;this.D=b||0;this.B=c;this.rb=t(this.ny,this)}v(rr,w);f=rr.prototype;f.se=0;f.Z=function(){rr.O.Z.call(this);this.stop();delete this.A;delete this.B};f.start=function(a){this.stop();this.se=D(this.rb,n(a)?a:this.D)};f.stop=function(){0!=this.se&&E(this.se);this.se=0};f.ny=function(){this.se=0;this.A&&this.A.call(this.B)};function sr(a){return Qa(Ea(a.replace(tr,function(a,c){return ur.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var ur=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,tr=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function vr(a){var b=Kq(a);return b&&Ac?-a.scrollLeft:!b||zc&&Nc("8")||"visible"==kq(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}function wr(a){var b=a.offsetLeft,c=a.offsetParent;c||"fixed"!=lq(a)||(c=Oi(a).documentElement);if(!c)return b;if(Ac)var d=vq(c),b=b+d.left;else Oc(8)&&!Oc(9)&&(d=vq(c),b-=d.left);return Kq(c)?c.clientWidth-(b+a.offse tWidth):b} function xr(a,b){b=Math.max(b,0);Kq(a)?Ac?a.scrollLeft=-b:zc&&Nc("8")?a.scrollLeft=b:a.scrollLeft=a.scrollWidth-b-a.clientWidth:a.scrollLeft=b}function yr(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 zr(a,b,c,d,e,g,h,k,m){var p,r=c.offsetParent;if(r){var z="HTML"==r.tagName||"BODY"==r.tagName;z&&"static"==lq(r)| |(p=tq(r),z||(p=Bi(p,new I(vr(r),r.scrollTop))))}p=p||new I;r=Fq(a);(z=sq(a))&&$p(r,new Yp(z.left,z.top,z.right-z.left,z.bottom-z.top));var z=Mi(a),C=Mi(c);if(z.A!=C.A){var F=z.A.body;var C=Fj(C),J=new I(0,0),la=Zi(Oi(F));if(Ib(la,"parent")){var Ob=F;do{var $f=la==C?tq(Ob):zq(Ob);J.x+=$f.x;J.y+=$f.y}while(la&&la!=C&&la!=la.parent&&(Ob=la.frameElement)&&(la=la.parent))}F=Bi(J,tq(F)); !A||Oc(9)||Wi(z.A)||(F=Bi(F,Xi(z.A)));r.left+=F.x;r.top+=F.y}a=Ar(a,b);b=r.left;a&4?b+=r.width:a&2&&(b+=r.width/2);b=new I(b,r.top+(a&1?r.height:0));b=Bi(b,p);e&&(b.x+=(a&4?-1:1)*e.x,b.y+=(a&1?-1:1)* e.y);var hc;if(h)if(m)hc=m;else if(hc=sq(c))hc.top-=p.y,hc.right-=p.x,hc.bottom-=p.y,hc.left-=p.x;return Br(b,c,d,g,hc,h,k)} function Br(a,b,c,d,e,g,h){a=a.clone();var k=Ar(b,c);c=Dq(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(e){d=a;k=h;m=0;65==(g&65)&&(d.x<e.left||d.x>=e.right)&&(g&=-2);132==(g&132)&&(d.y<e.top||d.y>=e.bottom)&&(g&=-5);d.x<e.left&&g&1&&(d.x=e.left,m|= 1);if(g&16){var p=d.x;d.x<e.left&&(d.x=e.left,m|=4);d.x+k.width>e.right&&(k.width=Math.min(e.right-d.x, p+k.width-e.left),k.width=Math.max(k.width,0),m|=4)}d.x+k.width>e.right&&g&1&&(d.x=Math.max(e.right-k.width,e.left),m|=1);g&2&&(m|=(d.x<e.left?16:0)|(d.x+k.width>e.right?32:0));d.y<e.top&&g&4&&(d.y=e .top,m|=2);g&32&&(p=d.y,d.y<e.top&&(d.y=e.top,m|=8),d.y+k.height>e.bottom&&(k.height=Math.min(e.bottom-d.y,p+k.height-e.top),k.height=Math.max(k.height,0),m|=8));d.y+k.height>e.bottom&&g&4&&(d.y=Math .max(e.bottom-k.height,e.top),m|=2);g&8&&(m|=(d.y<e.top?64:0)|(d.y+k.height>e.bottom?128:0));e=m}else e= 256;m=e}g=new Yp(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;e=m;if(e&496)return e;mq(b,new I(g.left,g.top));h=cq(g);Ci(c,h)||(c=h,a=Wi(Mi(Oi(b)).A),!A||Nc("10")||a&&Nc("8")?(b=b. style,Ac?b.MozBoxSizing="border-box":Bc?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=Qq(b,"padding"),b= vq(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 e}function Ar(a,b){return(b&8&&Kq(a)?b^4:b)&-9};function Cr(){}Cr.prototype.Bc=function(){};function Dr(a,b){this.D=a;this.H=!!b;this.C={0:this. D+"-arrowright",1:this.D+"-arrowup",2:this.D+"-arrowdown",3:this.D+"-arrowleft"}}v(Dr,Cr);f=Dr.prototype;f.Xk=!1;f.Oj=2;f.Km=20;f.Pj=3;f.pl=-5;f.Cj=!1;function Er(a,b,c,d,e){null!=b&&(a.Pj=b);null!=c &&(a.Oj=c);ja(d)&&(a.Km=Math.max(d,15));ja(e)&&(a.pl=e)}f.Bc=function(a,b,c){a=this.Oj;2==a&&(a=0);Fr(this,this.Pj,a,2==this.Oj?Gr(this.Pj)?this.A.offsetHeight/2:this.A.offsetWidth/2:this.Km,0,c)}; function Fr(a,b,c,d,e,g){if(a.B){var h=Hr(b,c),k,m=a.B;k=Dq(m);k=(Gr(b)?k.height/2:k.width/2)-d;var p=Ar(m,h),r;if(r=sq(m))m=Fq(m),m=new Wp(m.top,m.left+m.width,m.top+m.height,m.left),Gr(b)?m.top<r.t op&&!(p&1)?k-=r.top-m.top:m.bottom>r.bottom&&p&1&&(k-=m.bottom-r.bottom):m.left<r.left&&!(p&4)?k-=r.left-m.left:m.right>r.right&&p&4&&(k-=m.right-r.right);k=Gr(b)?new I(a.pl,k):new I(k,a.pl);p=Gr(b)? 6:9;a.Cj&&2==e&&(p=Gr(b)?4:1);r=b^3;Gr(b)&&"rtl"==a.B.dir&&(r=b);h=zr(a.B,Hr(r,c),a.A,h,k,g,a.Xk?p:0,void 0, null);if(2!=e&&h&496){Fr(a,b^3,c,d,a.Cj&&0==e?1:2,g);return}!a.H||h&496||(e=parseFloat(a.A.style.left),g=parseFloat(a.A.style.top),isFinite(e)&&0==e%1&&isFinite(g)&&0==g%1||mq(a.A,Math.round(e),Math. round(g)))}Ir(a,b,c,d)} function Ir(a,b,c,d){var e=a.F;hb(a.C,function(a){Tp(e,a,!1)},a);S(e,a.C[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.B?(c=xq(a.B,a.A),d=Jr(a.B,b),Gr(b)?e.style.top=Kr(c.y+d.y,a.A.o ffsetHeight-15)+"px":e.style.left=Kr(c.x+d.x,a.A.offsetWidth-15)+"px"):e.style[0==c?Gr(b)?"top":"left":Gr(b)?"bottom":"right"]=d+"px"}function Kr(a,b){return 15>b?15:wi(a,15,b)}function Hr(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 Jr(a,b){var c=0,d=0,e=Dq(a);switch(b){case 2:c=e.width/2;break;case 1:c=e.width/2;d=e.height;break;case 0:d=e.height/2;break;case 3:c=e.width,d=e.height/2}return new I(c,d)}function Gr(a){return 0==a||3==a};function Lr(a){w.call(this);this.B=a||Mi()}v(Lr,w);Lr.prototype.C=function(){ok(this.J(),"tooltip");pk(this.J(),"live","polite")};function Mr(a){Lr.call(this,a);this.A=this. B.ma("div",Nr()+"-contentId");this.F=this.B.ma("div",Nr()+"-arrow",this.B.ma("div",Nr()+"-arrowimplbefore"),this.B.ma("div",Nr()+"-arrowimplafter"));this.D=this.B.ma("div",{"class":Nr(),role:"tooltip "},this.A,this.F);this.C()}v(Mr,Lr);function Nr(){return"jfk-tooltip"}Mr.prototype.J=function(){return this.D};Mr.prototype.Z=function(){this.D&&hj(this.D)};function Or(a){Mr.call(this,a)}v(Or,Mr);Or .prototype.C=function(){ok(this.J(),"tooltip")};function Pr(a,b,c){c||(c=b instanceof hi?sr(ji(b)):b);a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-to oltip");b?(b instanceof hi?a.A=b:(a.setAttribute("data-tooltip",b),a.A=null),a.setAttribute("aria-label",c)):(a.A=null,a.removeAttribute("aria-label"));a=Mi(a)||Mi();b=na(a.A);Qr[b]||(Qr[b]=new Rr(a))}var Qr={}; function Rr(a){M.call(this);this.S=a;this.N=new rr(this.xG,0,this);x(this,this.N);var b=Zi();this.I=ka(b.MutationObserver)?new b.MutationObserver(t(this.Sy,this)):null;a=a.A;this.listen(a,["mouseout" ,"mousedown","click","blur",Wc,"keydown"],this.Us,!0);this.listen(a,["mouseover","focus",Vc],this.hG,!0)}v(Rr,M);f=Rr.prototype;f.Z=function(){Sr(this);Rr.O.Z.call(this)}; function Tr(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.L=!1;break;case "keydown":a.L=!0}}f.hG=function(a){this.I&&this.I.disconnect();Tr(this,a);var b=a.target;a="focus"==a.type||a.type==Vc;var c=this.A&&mj(this.A.A,b);if(this.L||!a||c){this.ba=a;if(a=b&&b.getAttribute&&this.I)a=b.getAttribute("role")||null,a=Wb(nk,a);a&&(this.I.observe(b,{attri butes:!0}),(a=rk(b))&&(b=a));this.C=b}else this.C=null;Ur(this)}; f.Us=function(a){Tr(this,a);var b=a.target;a="mousedown"==a.type||"click"==a.type;b=this.A&&mj(this.A.A,b);a&&b||(this.C=null,Ur(this))};f.Sy=function(a){Lb(a,t(function(a){var c=rk(a.target);c&&"ari a-activedescendant"==a.attributeName&&(this.C=c,Ur(this))},this))};function Ur(a){Sr(a);a.N.start(a.B?50:300)}function Sr(a){a.R&&(E(a.R),a.R=0,a.B=null)} f.xG=function(){if(!this.C)Vr(this),this.B=null;else if(!(this.B&&this.A&&mj(this.A.J(),this.C))||this.B.getAttribute("data-tooltip-unhoverable")){var a=xj(this.C,function(a){return a.getAttribute&&(a.getAttribute("data-tooltip-contained")||a.getAttribute("data-tooltip")||a.A)&&!a.getAttribute("data-tooltip-suspended")}),b=!1;this.B&&this.B!=a&&(Vr(this),this.B=null,b=!0);if(!t his.B&&a&&(this.B=a,Wr(this,a))){var c=ui;if(a.getAttribute("data-tooltip-contained"))for(var d=Qi("jfk-tooltip-data",a), e=0;e<d.length;e++){if(d[e].parentNode==a){c=d[e].cloneNode(!0);break}}else c=a.A?a.A:mi(a.getAttribute("data-tooltip"));var d=a.getAttribute("data-tooltip-align"),e=a.getAttribute("data-tooltip-clas s"),g=a.getAttribute("data-tooltip-offset"),g=Aa(Ca(g))?-1:Number(g);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.R=D(sa(this.mr,this.B,c,d,g,e),a,this);return}this.mr(th is.B,c,d,g,e)}}}; function Wr(a,b){return b.getAttribute("data-tooltip-only-on-overflow")&&b.offsetWidth>=b.scrollWidth&&b.offsetHeight>=b.scrollHeight||a.ba&&"mouse"==b.getAttribute("data-tooltip-trigger")?!1:!0}func tion Xr(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1} f.mr=function(a,b,c,d,e){this.R=0;if(!this.A){this.A=new Or(this.S);Vr(this);this.S.A.body.appendChild(this.A.J());x(this,this.A);this.F=new Dr(Nr(),!0);this.F.Xk=!0;this.F.Cj=!0;var g=this.F,h=this.A.F;g.A=this.A.J();g.F=h}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}Er(this.F,Xr(c),g,void 0,d);Rp(this.A.J(),"jfk-tooltip-hide");thi s.V!=e&&(this.V&&!Aa(Ca(this.V))&&Rp(this.A.J(),this.V),Aa(Ca(e))||S(this.A.J(),e),this.V=e);mq(this.A.J(),0,0);if(b instanceof hi)Ki(this.A.A,b);else for(ej(this.A.A);c=b.firstChild;)this.A.A.appendChild(c);this.F.B=a;this.F.Bc(null,0)};function Vr(a){a.A&&S(a.A.J(),"jfk-tooltip-hide")};function Yr(a,b,c,d,e){if(a){Pr(a,b||" ",d);a.setAttribute("data-tooltip-unhoverable","true");a.setAttribute("data-tooltip-delay",500);Aa(Ca("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"}b+=",";switch(2){case 0:b+="l";break;case 1:b+="r";break;default:b+="c"}a.setAttribute("data-toolti p-align",b);a.setAttribute("data-tooltip-offset",-6)}e&&(e?a.setAttribute("data-tooltip-only-on-overflow", "true"):a.removeAttribute("data-tooltip-only-on-overflow"));n(d)&&Aa(d)&&a.removeAttribute("aria-label")}};function Zr(a,b){B.call(this);a&&$r(this,a,b)}v(Zr,B);f=Zr.prototype;f.gf=null;f.vi=null;f.f l=null;f.wi=null;f.gc=-1;f.Ld=-1;f.Dj=!1; var as={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},bs={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},cs=A||yc||Bc&&Nc("525"),ds=Dc&&Ac;f=Zr.prototype; f.oy=function(a){if(Bc||yc)if(17==this.gc&&!a.ctrlKey||18==this.gc&&!a.altKey||Dc&&91==this.gc&&!a.metaKey)this.Ld=this.gc=-1;-1==this.gc&&(a.ctrlKey&&17!=a.keyCode?this.gc=17:a.altKey&&18!=a.keyCode ?this.gc=18:a.metaKey&&91!=a.keyCode&&(this.gc=91));cs&&!Yq(a.keyCode,this.gc,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.Ld=$q(a.keyCode),ds&&(this.Dj=a.altKey))};f.zA=function(a){this. Ld=this.gc=-1;this.Dj=a.altKey}; f.handleEvent=function(a){var b=a.A,c,d,e=b.altKey;A&&"keypress"==a.type?(c=this.Ld,d=13!=c&&27!=c?b.keyCode:0):(Bc||yc)&&"keypress"==a.type?(c=this.Ld,d=0<=b.charCode&&63232>b.charCode&&Zq(c)?b.char Code:0):xc&&!Bc?(c=this.Ld,d=Zq(c)?b.keyCode:0):(c=b.keyCode||this.Ld,d=b.charCode||0,ds&&(e=this.Dj),Dc&&63==d&&224==c&&(c=191));var g=c=$q(c),h=b.keyIdentifier;c?63232<=c&&c in as?g=as[c]:25==c&&a. shiftKey&&(g=9):h&&h in bs&&(g=bs[h]);a=g==this.gc;this.gc=g;b=new es(g,d,a,b);b.altKey=e;this.U(b)}; f.J=function(){return this.gf};function $r(a,b,c){a.wi&&fs(a);a.gf=b;a.vi=nd(a.gf,"keypress",a,c);a.fl=nd(a.gf,"keydown",a.oy,c,a);a.wi=nd(a.gf,"keyup",a.zA,c,a)}function fs(a){a.vi&&(wd(a.vi),wd(a.f l),wd(a.wi),a.vi=null,a.fl=null,a.wi=null);a.gf=null;a.gc=-1;a.Ld=-1}f.Z=function(){Zr.O.Z.call(this);fs(this)};function es(a,b,c,d){Xc.call(this,d);this.type="key";this.keyCode=a;this.F=b;this.repea t=c}v(es,Xc);function gs(){}da(gs);gs.prototype.A=0;function hs(a){return":"+(a.A++).toString(36)};function is(a){B.call(this);this.B=a||Mi();this.Bg=js;this.Ua=null;this.oa=!1;this.D=null;this.sa=vo id 0;this.ba=this.R=this.V=this.Ra=null;this.Tg=!1}v(is,B);is.prototype.ym=gs.la();var js=null; function ks(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");}f=is.prototype;f.getId=function(){return this.Ua||(this.Ua=hs(th is.ym))};function ls(a,b){a.V&&a.V.ba&&(sb(a.V.ba,a.Ua),tb(a.V.ba,b,a));a.Ua=b}f.J=function(){return this.D}; function ms(a,b){return a.D?Qi(b,a.D||a.B.A):[]}function U(a,b){return a.D?Bj(a.B,b,a.D):null}function V(a){a.sa||(a.sa=new M(a));return a.sa}function ns(a,b){if(a==b)throw Error("Unable to set parent component");if(b&&a.V&&a.Ua&&os(a.V,a.Ua)&&a.V!=b)throw Error("Unable to set parent component");a.V=b;is.O.Wb.call(a,b)}f.Sb=function(){return this.V};f.Wb=function(a){if(this.V&&this. V!=a)throw Error("Method not supported");is.O.Wb.call(this,a)};f.ea=function(){this.D=Dj(this.B,"DIV")}; f.ga=function(a){ps(this,a)};function qs(a,b){ps(a,b.parentNode,b)}function ps(a,b,c){if(a.oa)throw Error("Component already rendered");a.D||a.ea();b?b.insertBefore(a.D,c||null):a.B.A.body.appendChil d(a.D);a.V&&!a.V.oa||a.Y()}function rs(a,b){if(a.oa)throw Error("Component already rendered");if(b&&a.ue(b)){a.Tg=!0;var c=Oi(b);a.B&&a.B.A==c||(a.B=Mi(b));a.Fa(b);a.Y()}else throw Error("Invalid element to decorate");}f.ue=function(){return!0};f.Fa=function(a){this.D=a}; f.Y=function(){this.oa=!0;ss(this,function(a){!a.oa&&a.J()&&a.Y()})};f.va=function(){ss(this,function(a){a.oa&&a.va()});this.sa&&this.sa.removeAll();this.oa=!1};f.Z=function(){this.oa&&this.va();this .sa&&(this.sa.dispose(),delete this.sa);ss(this,function(a){a.dispose()});!this.Tg&&this.D&&hj(this.D);this.V=this.Ra=this.D=this.ba=this.R=null;is.O.Z.call(this)};f.ca=function(a,b){this.uc(a,ts(thi s),b)}; f.uc=function(a,b,c){if(a.oa&&(c||!this.oa))throw Error("Component already rendered");if(0>b||b>ts(this))throw Error("Child component index out of bounds");this.ba&&this.R||(this.ba={},this.R=[]);if( a.Sb()==this){var d=a.getId();this.ba[d]=a;Zb(this.R,a)}else tb(this.ba,a.getId(),a);ns(a,this);dc(this.R,b,0,a);a.oa&&this.oa&&a.Sb()==this?(c=this.Va(),b=c.childNodes[b]||null,b!=a.J()&&c.insertBef ore(a.J(),b)):c?(this.D||this.ea(),b=us(this,b+1),ps(a,this.Va(),b?b.D:null)):this.oa&&!a.oa&&a.D&&a.D.parentNode&& 1==a.D.parentNode.nodeType&&a.Y()};f.Va=function(){return this.D};function vs(a){null==a.Bg&&(a.Bg=Kq(a.oa?a.D:a.B.A.body));return a.Bg}f.Ph=function(a){if(this.oa)throw Error("Component already rendered");this.Bg=a};function ts(a){return a.R?a.R.length:0}function ws(a){var b=[];ss(a,function(a){b.push(a.getId())});return b}function os(a,b){return a.ba&&b?ub(a.ba,b)||null:null}funct ion us(a,b){return a.R?a.R[b]||null:null}function ss(a,b,c){a.R&&Lb(a.R,b,c)} function xs(a,b){return a.R&&b?Jb(a.R,b):-1}f.removeChild=function(a,b){if(a){var c=ha(a)?a:a.getId();a=os(this,c);c&&a&&(sb(this.ba,c),Zb(this.R,a),b&&(a.va(),a.D&&hj(a.D)),ns(a,null))}if(!a)throw Error("Child is not in parent component");return a};function ys(a){for(var b=[];a.R&&0!=a.R.length;)b.push(a.removeChild(us(a,0),!0));return b};function zs(){}var As;da(zs);var Bs={button:"pressed", checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=zs.prototype;f.Rc=function(){};f.bc=function(a){return a.B.ma("DIV",Cs(this,a).join(" "),a.getContent())};f.Sc=function(a){return a};function Ds(a,b,c){if(a=a.J?a.J():a){var d=[b];A&&!Nc("7")&&(d=Es(Op(a),b),d.push(b));(c?Qp:Sp)(a,d)}}f.Rh=function(){re turn!0}; f.bb=function(a,b){b.id&&ls(a,b.id);var c=this.Sc(b);c&&c.firstChild?Fs(a,c.firstChild.nextSibling?bc(c.childNodes):c.firstChild):a.ye=null;var d=0,e=this.ia(),g=this.ia(),h=!1,k=!1,m=!1,p=bc(Op(b)); Lb(p,function(a){h||a!=e?k||a!=g?d|=this.Kh(a):k=!0:(h=!0,g==e&&(k=!0));1==this.Kh(a)&&sj(c)&&tj(c)&&rj(c,!1)},this);a.Id=d;h||(p.push(e),g==e&&(k=!0));k||p.push(g);var r=a.ne;r&&p.push.apply(p,r);if (A&&!Nc("7")){var z=Es(p);0<z.length&&(p.push.apply(p,z),m=!0)}if(!h||!k||r||m)b.className=p.join(" "); return b};f.Ao=function(a){vs(a)&&this.xk(a.J(),!0);a.isEnabled()&&this.xe(a,a.da())};function Gs(a,b,c){if(a=c||a.Rc())c=b.getAttribute("role")||null,a!=c&&ok(b,a)}function Hs(a,b,c){var d=b.H;null!=d&&tk(c,d);b.da()||pk(c,"hidden",!b.da());b.isEnabled()||a.Zc(c,1,!b.isEnabled());Is(b,8)&&a.Zc(c,8,Js(b,8));Is(b,16)&&a.Zc(c,16,Js(b,16));Is(b,64)&&a.Zc(c,64,Js(b,64))}f.wk=function(a,b ){Mq(a,!b,!A&&!xc)};f.xk=function(a,b){Ds(a,this.ia()+"-rtl",b)}; f.Bo=function(a){var b;return Is(a,32)&&(b=a.J())?sj(b)&&tj(b):!1};f.xe=function(a,b){var c;if(Is(a,32)&&(c=a.J())){if(!b&&Js(a,32)){try{c.blur()}catch(d){}Js(a,32)&&a.Th(null)}(sj(c)&&tj(c))!=b&&rj( c,b)}};f.setVisible=function(a,b){T(a,b);a&&pk(a,"hidden",!b)};f.yk=function(a,b,c){var d=a.J();if(d){var e=this.Zf(b);e&&Ds(a,e,c);this.Zc(d,b,c)}}; f.Zc=function(a,b,c){As||(As={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=As[b];var d=a.getAttribute("role")||null;d&&(d=Bs[d]||b,b="checked"==b||"selected"==b?d:b);b&&pk(a,b,c)};f.eg=fu nction(a,b){var c=this.Sc(a);if(c&&(ej(c),b))if(ha(b))nj(c,b);else{var d=function(a){if(a){var b=Oi(c);c.appendChild(ha(a)?b.createTextNode(a):a)}};fa(b)?Lb(b,d):!ga(b)||"nodeType"in b?d(b):Lb(bc(b),d)}};f.ia=function(){return"goog-control"}; function Cs(a,b){var c=a.ia(),d=[c],e=a.ia();e!=c&&d.push(e);c=b.getState();for(e=[];c;){var g=c&-c;e.push(a.Zf(g));c&=~g}d.push.apply(d,e);(c=b.ne)&&d.push.apply(d,c);A&&!Nc("7")&&d.push.apply(d,Es( d));return d}function Es(a,b){var c=[];b&&(a=ac(a,[b]));Lb([],function(d){!Sb(d,sa(Wb,a))||b&&!Wb(d,b)||c.push(d.join("_"))});return c}f.Zf=function(a){this.A||Ks(this);return this.A[a]};f.Kh=functio n(a){this.N||(this.A||Ks(this),this.N=wb(this.A));a=parseInt(this.N[a],10);return isNaN(a)?0:a}; function Ks(a){var b=a.ia();b.replace(/\xa0|\s/g," ");a.A={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};function Ls(){}v(Ls,zs);da(Ls);f=L s.prototype;f.Rc=function(){return"button"};f.Zc=function(a,b,c){switch(b){case 8:case 16:pk(a,"pressed",c);break;default:case 64:case 1:Ls.O.Zc.call(this,a,b,c)}};f.bc=function(a){var b=Ls.O.bc.call(this,a);this.ta(b,a.yb());var c=a.ja();c&&this.ua(b,c);Is(a,16)&&this.Zc(b,16,Js(a,16));return b};f.bb=function(a,b){b=Ls.O.bb.call(this,a,b);var c=this.ja(b);a.aa=c;a.Ud(this.yb(b)); Is(a,16)&&this.Zc(b,16,Js(a,16));return b};f.ja=q;f.ua=q;f.yb=function(a){return a.title}; f.ta=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.ia=function(){return"goog-button"};function Ms(a,b){if(!a)throw Error("Invalid class name "+a);if(!ka(b))throw Error("Invalid decorator function "+b);Ns[a]=b}var Os={},Ns={};function Ps(a,b,c){is.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=na(b);if(d=Os[d])break;b=b.O?b.O.constructor:null}b=d?ka(d.la)?d.la():new d:null}this.C=b;this.ye=n(a)?a:null;this.H=null}v(Ps,is);f=Ps.prototype;f.ye=null;f.Id=0;f.Lg=39;f.ee=255;f.Ie=0;f.Uh=!0;f.ne=null;f.Nk=!0;function Qs(a,b){a.oa&&b!=a.Nk&&Rs(a,b);a.Nk=b}f.ea=functio n(){var a=this.C.bc(this);this.D=a;Gs(this.C,a,this.gg());this.C.wk(a,!1);this.da()||this.C.setVisible(a,!1)};f.gg=function(){return null}; function Ss(a,b){a.H=b;var c=a.J();c&&tk(c,b)}f.Va=function(){return this.C.Sc(this.J())};f.ue=function(a){return this.C.Rh(a)};f.Fa=function(a){this.D=a=this.C.bb(this,a);Gs(this.C,a,this.gg());this .C.wk(a,!1);this.Uh="none"!=a.style.display};f.Y=function(){Ps.O.Y.call(this);Hs(this.C,this,this.D);this.C.Ao(this);if(this.Lg&-2&&(this.Nk&&Rs(this,!0),Is(this,32))){var a=this.J();if(a){var b=this.I||(this.I=new Zr);$r(b,a);V(this).listen(b,"key",this.zb).listen(a,"focus",this.xy).listen(a,"blur",this.Th)}}}; function Rs(a,b){var c=V(a),d=a.J();b?(c.listen(d,"mouseover",a.zk).listen(d,"mousedown",a.Tc).listen(d,"mouseup",a.Uc).listen(d,"mouseout",a.Ok),a.kg!=q&&c.listen(d,"contextmenu",a.kg),A&&(Nc(9)||c. listen(d,"dblclick",a.$o),a.S||(a.S=new Ts(a),x(a,a.S)))):(c.wa(d,"mouseover",a.zk).wa(d,"mousedown",a.Tc).wa(d,"mouseup",a.Uc).wa(d,"mouseout",a.Ok),a.kg!=q&&c.wa(d,"contextmenu",a.kg),A&&(Nc(9)||c. wa(d,"dblclick",a.$o),Fb(a.S),a.S=null))} f.va=function(){Ps.O.va.call(this);this.I&&fs(this.I);this.da()&&this.isEnabled()&&this.C.xe(this,!1)};f.Z=function(){Ps.O.Z.call(this);this.I&&(this.I.dispose(),delete this.I);delete this.C;this.S=this.ne=this.ye=null};f.getContent=function(){return this.ye};function Fs(a,b){a.ye=b}f.Sh=function(){var a=this.getContent();if(!a)return"";a=ha(a)?a:fa(a)?Pb(a,wj).join(""):uj(a);ret urn Da(a)};f.Ph=function(a){Ps.O.Ph.call(this,a);var b=this.J();b&&this.C.xk(b,a)};f.da=function(){return this.Uh}; f.setVisible=function(a,b){if(b||this.Uh!=a&&this.U(a?"show":"hide")){var c=this.J();c&&this.C.setVisible(c,a);this.isEnabled()&&this.C.xe(this,a);this.Uh=a;return!0}return!1};f.isEnabled=function(){ return!Js(this,1)};f.setEnabled=function(a){var b=this.Sb();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!Us(this,1,!a)||(a||(Vs(this,!1),Ws(this,!1)),this.da()&&this.C.xe(this,a),Xs(this,1,!a, !0))};function Ws(a,b){Us(a,2,b)&&Xs(a,2,b)}function Vs(a,b){Us(a,4,b)&&Xs(a,4,b)} f.jd=function(a){Us(this,8,a)&&Xs(this,8,a)};function Ys(a,b){Us(a,16,b)&&Xs(a,16,b)}f.zf=function(a){Us(this,32,a)&&Xs(this,32,a)};f.hb=function(a){Us(this,64,a)&&Xs(this,64,a)};f.getState=function( ){return this.Id};function Js(a,b){return!!(a.Id&b)}function Xs(a,b,c,d){d||1!=b?Is(a,b)&&c!=Js(a,b)&&(a.C.yk(a,b,c),a.Id=c?a.Id|b:a.Id&~b):a.setEnabled(!c)}function Is(a,b){return!!(a.Lg&b)} f.Za=function(a,b){if(this.oa&&Js(this,a)&&!b)throw Error("Component already rendered");!b&&Js(this,a)&&Xs(this,a,!1);this.Lg=b?this.Lg|a:this.Lg&~a};function Zs(a,b){return!!(a.ee&b)&&Is(a,b)}functi on Us(a,b,c){return Is(a,b)&&Js(a,b)!=c&&(!(a.Ie&b)||a.U(ks(b,c)))&&!a.Aa}f.zk=function(a){(!a.D||!mj(this.J(),a.D))&&this.U("enter")&&this.isEnabled()&&Zs(this,2)&&Ws(this,!0)};f.Ok=function(a){a.D& &mj(this.J(),a.D)||!this.U("leave")||(Zs(this,4)&&Vs(this,!1),Zs(this,2)&&Ws(this,!1))};f.kg=q; f.Tc=function(a){this.isEnabled()&&(Zs(this,2)&&Ws(this,!0),$c(a)&&(Zs(this,4)&&Vs(this,!0),this.C&&this.C.Bo(this)&&this.J().focus()));$c(a)&&a.preventDefault()};f.Uc=function(a){this.isEnabled()&&( Zs(this,2)&&Ws(this,!0),Js(this,4)&&this.Pd(a)&&Zs(this,4)&&Vs(this,!1))};f.$o=function(a){this.isEnabled()&&this.Pd(a)}; f.Pd=function(a){Zs(this,16)&&Ys(this,!Js(this,16));Zs(this,8)&&this.jd(!0);Zs(this,64)&&this.hb(!Js(this,64));var b=new y("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey ,b.shiftKey=a.shiftKey,b.L=a.L);return this.U(b)};f.xy=function(){Zs(this,32)&&this.zf(!0)};f.Th=function(){Zs(this,4)&&Vs(this,!1);Zs(this,32)&&this.zf(!1)};f.zb=function(a){return this.da()&&this.isEnabled()&&this.hd(a)?(a.preventDefault(),a.B(),!0):!1};f.hd=function(a){return 13==a.keyCode&&this.Pd(a)}; if(!ka(Ps))throw Error("Invalid component class "+Ps);if(!ka(zs))throw Error("Invalid renderer class "+zs);var $s=na(Ps);Os[$s]=zs;Ms("goog-control",function(){return new Ps(null)});function Ts(a){w.call(this);this.B=a;this.A=!1;this.D=new M(this);x(this,this.D);a=this.B.D;this.D.listen(a,"mousedown",this.F).listen(a,"mouseup",this.H).listen(a,"click",this.C)}v(Ts,w);var at=!A||Oc(9);Ts.prototype.F=function(){this.A=!1};Ts.prototype.H=function(){this.A=!0}; function bt(a,b){if(!at)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}Ts.prototype.C=function(a){if(this.A)this.A=!1;else{var b=a.A,c=b.button,d=b.type,e=bt(b,"mousedown");this.B.Tc(new Xc(e,a.currentTarget));e=bt(b,"mouseup");this.B.Uc(new Xc(e,a.currentTarget));at||(b.button=c,b.type=d)}}; Ts.prototype.Z=function(){this.B=null;Ts.O.Z.call(this)};function ct(){}v(ct,Ls);da(ct);f=ct.prototype;f.Rc=function(){};f.bc=function(a){Qs(a,!1);a.ee&=-256;a.Za(32,!1);return a.B.ma("BUTTON",{"clas s":Cs(this,a).join(" "),disabled:!a.isEnabled(),title:a.yb()||"",value:a.ja()||""},a.Sh()||"")};f.Rh=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"r eset"==a.type)};f.bb=function(a,b){Qs(a,!1);a.ee&=-256;a.Za(32,!1);if(b.disabled){var c=this.Zf(1);S(b,c)}return ct.O.bb.call(this,a,b)}; f.Ao=function(a){V(a).listen(a.J(),"click",a.Pd)};f.wk=q;f.xk=q;f.Bo=function(a){return a.isEnabled()};f.xe=q;f.yk=function(a,b,c){ct.O.yk.call(this,a,b,c);(a=a.J())&&1==b&&(a.disabled=c)};f.ja=funct ion(a){return a.value};f.ua=function(a,b){a&&(a.value=b)};f.Zc=q;function dt(a,b,c){Ps.call(this,a,b||ct.la(),c)}v(dt,Ps);f=dt.prototype;f.ja=function(){return this.aa};f.ua=function(a){this.aa=a;thi s.C.ua(this.J(),a)};f.yb=function(){return this.$};f.ta=function(a){this.$=a;this.C.ta(this.J(),a)};f.Ud=function(a){this.$=a};f.Z=function(){dt.O.Z.call(this);delete this.aa;delete this.$};f.Y=function(){dt.O.Y.call(this);if(Is(this,32)){var a=this.J();a&&V(this).listen(a,"keyup",this.hd)}}; f.hd=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Pd(a):32==a.keyCode};Ms("goog-button",function(){return new dt(null)});function et(){}v(et,Ls);da(et);et.prot otype.ia=function(){return"drive-viewer-button"};function ft(a,b){dt.call(this,null,b||et.la(),a);this.X=!1;this.N=null;this.W=1;this.L=null}v(ft,dt);ft.prototype.Y=function(){ft.O.Y.call(this);Yr(th is.J(),this.yb(),this.W,this.H||void 0);V(this).listen(this.J(),"keydown",this.hd)};ft.prototype.hd=function(a){if(32==a.keyCode){if("keydown"==a.type)this.L=a.target;else if("keyup"==a.type){var b=!0;this.L&&this.L==a.target&&(b=this.Pd(a));this.L=null;return b}return!0}this.L&&(this.L=null);return ft.O.hd.call(this,a)}; ft.prototype.ta=function(a,b,c){n(b)?Ss(this,b):Ss(this,a);this.Ud(a);this.X||Yr(this.J(),a,this.W,b,c)};function gt(a,b){a.W=b;a.X||Yr(a.J(),a.yb(),a.W,a.H||void 0)}ft.prototype.Td=function(a,b){a?A a(Ca(this.N))&&(this.N=this.yb()||null,this.ta(""),this.J()&&!Aa(Ca(b))&&tk(this.J(),b),this.X=!0):Aa(Ca(this.N))||(this.X=!1,this.ta(this.N||"",this.H||void 0),gt(this,this.W),this.N=null)};var ht={hm:{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:{ot her:"00T"},1E14:{other:"000T"}},Er:{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"}}},it=ht,it=ht;var jt={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 kt={Ir:".",om:",",cs:"%",Bm:"0",hs:"+",Xr:"-",Rr:"E",es:"\u2030",Ur:"\u221e",Zr:"NaN",km:"#,##0.###",ms:"# E0",ds:"#,##0%",Gr:"\u00a4#,##0.00",Jr:"USD"},lt=kt,lt=kt;function mt(){this.ba=lt.Jr;this.I=40;this.A=1;this.$=0;this.F=3;this.R=this.B=0;this.sa=!1;this.X=this.W="";this.V="-";this.L="";this.D=1;th is.H=!1;this.C=[];this.N=this.aa=!1;this.S=0;switch(1){case 1:nt(this,lt.km);break;case 2:nt(this,lt.ms);break;case 3:nt(this,lt.ds);break;case 4:var a;a=lt.Gr;var b=["0"],c=jt[this.ba][0]&7;if(0<c){ b.push(".");for(var d=0;d<c;d++)b.push("0")}a=a.replace(/0.00/g,b.join(""));nt(this,a);break;case 5:ot(this,1);break;case 6:ot(this,2);break;default:throw Error("Unsupported pattern type."); }} function nt(a,b){b.replace(/ /g,"\u00a0");var c=[0];a.W=pt(a,b,c);for(var d=c[0],e=-1,g=0,h=0,k=0,m=-1,p=b.length,r=!0;c[0]<p&&r;c[0]++)switch(b.charAt(c[0])){case "#":0<h?k++:g++;0<=m&&0>e&&m++;brea k;case "0":if(0<k)throw Error('Unexpected "0" in pattern "'+b+'"');h++;0<=m&&0>e&&m++;break;case ",":0<m&&a.C.push(m);m=0;break;case ".":if(0<=e)throw Error('Multiple decimal separators in pattern "'+b+'"');e=g+h+k;break;case "E":if(a.N)throw Error('Multiple exponential symbols in pattern "'+b+'"');a.N= !0;a.R=0;c[0]+1<p&&"+"==b.charAt(c[0]+1)&&(c[0]++,a.sa=!0);for(;c[0]+1<p&&"0"==b.charAt(c[0]+1);)c[0]++,a.R++;if(1>g+h||1>a.R)throw Error('Malformed exponential pattern "'+b+'"');r=!1;break;default:c [0]--,r=!1}0==h&&0<g&&0<=e&&(h=e,0==h&&h++,k=g-h,g=h-1,h=1);if(0>e&&0<k||0<=e&&(e<g||e>g+h)||0==m)throw Error('Malformed pattern "'+b+'"');k=g+h+k;a.F=0<=e?k-e:0;0<=e&&(a.B=g+h-e,0>a.B&&(a.B=0));a.A= (0<=e?e:k)-g;a.N&&(a.I=g+a.A,0==a.F&&0==a.A&&(a.A=1));a.C.push(Math.max(0,m));a.aa=0==e||e==k;d=c[0]-d; a.X=pt(a,b,c);c[0]<b.length&&";"==b.charAt(c[0])?(c[0]++,1!=a.D&&(a.H=!0),a.V=pt(a,b,c),c[0]+=d,a.L=pt(a,b,c)):(a.V=a.W+a.V,a.L+=a.X)}function ot(a,b){a.S=b;nt(a,lt.km);a.B=0;a.F=2;if(0<a.B)throw Error("Can't combine significant digits and minimum fraction digits");a.$=2} function qt(a,b){if(isNaN(b))return lt.Zr;var c=[],d;d=b;if(0==a.S)d=rt;else{d=Math.abs(d);var e=st(a,1>=d?0:tt(d)).Wj;d=st(a,e+tt(ut(a,d/Math.pow(10,e)).Rp))}b/=Math.pow(10,d.Wj);c.push(d.prefix);e= 0>b||0==b&&0>1/b;c.push(e?a.V:a.W);if(isFinite(b))if(b=b*(e?-1:1)*a.D,a.N){var g=b;if(0==g)vt(a,g,a.A,c),wt(a,0,c);else{var h=Math.floor(Math.log(g)/Math.log(10)+2E-15),g=g/Math.pow(10,h),k=a.A;if(1< a.I&&a.I>a.A){for(;0!=h%a.I;)g*=10,h--;k=1}else 1>a.A?(h++,g/=10):(h-=a.A-1,g*=Math.pow(10,a.A-1));vt(a, g,k,c);wt(a,h,c)}}else vt(a,b,a.A,c);else c.push(lt.Ur);c.push(e?a.L:a.X);c.push(d.or);return c.join("")}function ut(a,b){var c=Math.pow(10,a.F),d;if(0>=a.$)d=Math.round(b*c);else{d=b*c;var e=a.F;if(d){var g=a.$-tt(d)-1;g<-e?(e=Math.pow(10,e),d=Math.round(d/e)*e):(e=Math.pow(10,g),d=Math.round(d*e)/e)}d=Math.round(d)}e=d;isFinite(e)?(d=Math.floor(e/c),c=Math.floor(e-d*c)):(d=b,c=0);ret urn{Rp:d,ax:c}} function vt(a,b,c,d){if(a.B>a.F)throw Error("Min value must be less than max value");d||(d=[]);b=ut(a,b);var e=Math.pow(10,a.F),g=b.Rp,h=b.ax,k=0<a.B||0<h||!1;b=a.B;k&&(b=a.B);for(var m="",p=g;1E20<p;)m="0"+m,p=Math.round(p/10);var m=p+m,r=lt.Ir,p=lt.Bm.charCodeAt(0),z=m.length,C=0;if(0<g||0<c){for(g=z;g<c;g++)d.push(String.fromCharCode(p));if(2<=a.C.length)for(c=1;c<a.C.length;c ++)C+=a.C[c];c=z-C;if(0<c)for(var g=a.C,F=C=z=0,J=lt.om,la=m.length,Ob=0;Ob<la;Ob++){if(d.push(String.fromCharCode(p+1* Number(m.charAt(Ob)))),1<la-Ob)if(F=g[C],Ob<c){var $f=c-Ob;(1===F||0<F&&1===$f%F)&&d.push(J)}else C<g.length&&(Ob===c?C+=1:F===Ob-c-z+1&&(d.push(J),z+=F,C+=1))}else{c=m;m=a.C;g=lt.om;C=0;F=c.length;J =[];for(z=m.length-1;0<=z&&0<F;z--){C=m[z];for(la=0;la<C&&0<=F-la-1;la++)J.push(String.fromCharCode(p+1*Number(c.charAt(F-la-1))));F-=C;0<F&&J.push(g)}d.push.apply(d,J.reverse())}}else k||d.push(String.fromCharCode(p));(a.aa||k)&&d.push(r);a=""+(h+e);for(e=a.length;"0"==a.charAt(e-1)&&e>b+1;)e--;for(g= 1;g<e;g++)d.push(String.fromCharCode(p+1*Number(a.charAt(g))))}function wt(a,b,c){c.push(lt.Rr);0>b?(b=-b,c.push(lt.Xr)):a.sa&&c.push(lt.hs);b=""+b;for(var d=lt.Bm,e=b.length;e<a.R;e++)c.push(d);c.pu sh(b)} function pt(a,b,c){for(var d="",e=!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+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<g&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=a.ba):d+=jt[a.ba][1];break;case "%":if(!a.H&&1!=a.D)throw Error("Too many percent/permill");if(a.H&&100!=a.D)throw Error("Inconsistent use of percent/permill characters");a.D=100;a.H=!1;d+=lt.cs;break;case "\u2030":if(!a.H&& 1!=a.D)throw Error("Too many percent/permill");if(a.H&&1E3!=a.D)throw Error("Inconsistent use of percent/permill characters");a.D=1E3;a.H=!1;d+=lt.es;break;default:d+=h}}return d}var rt={prefix:"",or:"",Wj:0};function st(a,b){var c=1==a.S?it.hm:it.Er;null==c&&(c=it.hm);if(3>b)return rt;b=Math.min(14,b);for(var d=c[Math.pow(10,b)],e=b-1;!d&&3<=e;)d=c[Math.pow(10,e)],e--;if(!d)ret urn rt;c=d.other;return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],or:c[3],Wj:e+1-(c[2].length-1)}:rt:rt} function tt(a){for(var b=0;1<=(a/=10);)b++;return b};function xt(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 yt=xt,yt=xt;function zt(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 At=zt,At=zt;function Bt(a){this.A=[];this.C=[];this.D=new mt;a&&(a=Ct(this,a),this.C=Dt(this,a))}var Et=RegExp("'([{}#].*?)'","g"),Ft=RegExp("''","g");function Gt(a,b){return Ht(a,b,!1)}function It(a,b){return Ht(a,b,!0)}function Ht(a,b,c){if(0==a.C.length )return"";var d=[];Jt(a,a.C,b,c,d);for(b=d.join("");0<a.A.length;)b=b.replace(a.B(a.A),a.A.pop());return b} function Jt(a,b,c,d,e){for(var g=0;g<b.length;g++)switch(b[g].type){case 4:e.push(b[g].value);break;case 3:var h=b[g].value,k=a,m=e,p=c[h];n(p)?(k.A.push(p),m.push(k.B(k.A))):m.push("Undefined parameter - "+h);break;case 2:h=b[g].value;k=e;m=h.Zg;n(c[m])?(m=h[c[m]],n(m)||(m=h.other),Jt(a,m,c,d,k)):k.push("Undefined parameter - "+m);break;case 0:h=b[g].value;Kt(a,h,c,At,d,e);break;case 1:h=b[g].value,Kt(a,h,c,yt,d,e)}} function Kt(a,b,c,d,e,g){var h=b.Zg,k=b.Jm,m=+c[h];isNaN(m)?g.push("Undefined or invalid parameter - "+h):(k=m-k,h=b[c[h]],n(h)||(d=a.D.fa?d(k,a.D.fa()):d(k),h=b[d],n(h)||(h=b.other)),b=[],Jt(a,h,c,e ,b),c=b.join(""),e?g.push(c):(a=qt(a.D,k),g.push(c.replace(/#/g,a))))}function Ct(a,b){var c=a.A,d=t(a.B,a);b=b.replace(Ft,function(){c.push("'");return d(c)});return b=b.replace(Et,function(a,b){c.p ush(b);return d(c)})} function Lt(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var g;g=e.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 Mt=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Nt=/^\s*(\w+)\s* ,\s*selectordinal\s*,/,Ot=/^\s*(\w+)\s*,\s*select\s*,/; function Dt(a,b){for(var c=[],d=Lt(b),e=0;e<d.length;e++){var g={};if(0==d[e].type)g.type=4,g.value=d[e].value;else if(1==d[e].type){var h=d[e].value;switch(Mt.test(h)?0:Nt.test(h)?1:Ot.test(h)?2:/^\ s*\w+\s*/.test(h)?3:5){case 2:g.type=2;g.value=Pt(a,d[e].value);break;case 0:g.type=0;g.value=Qt(a,d[e].value);break;case 1:g.type=1;g.value=Rt(a,d[e].value);break;case 3:g.type=3,g.value=d[e].value} }c.push(g)}return c} function Pt(a,b){var c="";b=b.replace(Ot,function(a,b){c=b;return""});var d={};d.Zg=c;for(var e=Lt(b),g=0;g<e.length;){var h=e[g].value;g++;if(1==e[g].type)var k=Dt(a,e[g].value);d[h.replace(/\s/g,"" )]=k;g++}return d}function Qt(a,b){var c="",d=0;b=b.replace(Mt,function(a,b,e){c=b;e&&(d=parseInt(e,10));return""});var e={};e.Zg=c;e.Jm=d;for(var g=Lt(b),h=0;h<g.length;){var k=g[h].value;h++;if(1== g[h].type)var m=Dt(a,g[h].value);e[k.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=m;h++}return e} function Rt(a,b){var c="";b=b.replace(Nt,function(a,b){c=b;return""});var d={};d.Zg=c;d.Jm=0;for(var e=Lt(b),g=0;g<e.length;){var h=e[g].value;g++;if(1==e[g].type)var k=Dt(a,e[g].value);d[h.replace(/ \s*(?:=)?(\w+)\s*/,"$1")]=k;g++}return d}Bt.prototype.B=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var St=new mt;function Tt(a,b){return qt(St,a)+(" of "+qt(St,b))}function Ut(a){return Gt(new Bt("{NUM_ITEMS, plural, =0 {No items}=1 {1 item}other {# items}}"),{NUM_ITEMS:a})}function Vt(a,b){return qt(St,a)+(" of "+(qt(St,b)+" items"))}function Wt(a,b){return a+(" (edited "+(b+")"))}function Xt(a,b){return b?"Play YouTube video "+a:"Play "+a}function Yt(a,b){return b?"Sign in as "+a:"Sign In"};function Zt(a,b,c){var d=Gj(W(a));if(Pp(d,"drive-viewer-slide r"))return 0;var e=c.H.split(","),g=fb(ir(e[0])),e=fb(e[1]);switch(g){case 33:a=-Dq(b).height;break;case 34:a=Dq(b).height;break;case 38:a=-40;break;case 40:a=40;break;case 36:a=-b.scrollTop;break;ca se 35:a=b.scrollHeight;break;case 32:if(!b.contains(d)&&!$t(au(a)))return 0;a=Dq(b).height;1==e&&(a=-a);break;default:throw Error("Scroll key registered but behaviour not defined");}b.scrollTop+=a;c. preventDefault();return a};function bu(a,b){this.A=a;this.B=b};function X(a){is.call(this,W(a));this.A=a}v(X,is);function cu(a){X.call(this,a)}v(cu,X);function du(a){return eu(a.A).A.clone()}function fu(a,b){var c=du(a),d=gu(hu(a.A)),c=(c.width-b)/2;return d.left+(0>c?0:c)}function iu(a,b){var c=du(a),d=gu(hu(a.A)),e=(c.width-b.width)/2;return new I(d.left+(0>e?0:e),d.top+(c.height-b.height)/2)} ;function ju(a,b){X.call(this,b);this.fa=a;this.Mg=this.fj=this.I=!1;this.zc=this.kb=null;this.Yc=new fk(this);x(this,this.Yc);V(this).listen(this.fa,wo.Ug,this.kv);this.dj=null}v(ju,cu);f=ju.prototy pe;f.Ba=function(){this.I=!0;ku(this);lu(this.A.get(mu),2,this.fa)};function nu(a){a.fj||(a.fj=!0,lu(a.A.get(mu),3,a.fa))} function ku(a){var b=Y(a.A);if(ou(b)&&a.fa.getId()==Z(b).getId()&&rg(L(a.A))){var c=a.ti(),d=qh(a.fa.A),b=c&&a.I&&a.Mg&&!d,e=pu(a.A).F;e.setEnabled(b);e.setVisible(c);c&&(c="Print",b||(c=a.fa.getStat e(),c=d?"Printing is disabled for this file":c==uo.ERROR?"Printing unavailable":"Printing not yet available"),e.setProperty("hint",c));d=qu(a.A);b?null===a.kb&&(gk(a.Yc,e,Uj,a.FB),a.kb=ru(d,[80,Dc?hr .xd:hr.wd],a.GB,a)):(a.Yc.removeAll(),null!==a.kb&&(su(d,a.kb),a.kb=null))}} f.GB=function(a){this.Mg&&this.I&&rg(L(this.A))&&!qh(this.fa.A)&&(a.preventDefault(),dk(pu(this.A).F,void 0,new bu(1)))};f.ab=function(){this.I=!1;this.Yc.removeAll()};f.layout=q;f.Ge=function(a){thi s.Mg!=a&&(this.Mg=a,ku(this))};f.ti=function(){return!1};f.kv=function(){ku(this)};f.FB=function(){this.I&&rg(L(this.A))&&this.Fi()};f.Fi=q; function tu(a,b){var c=qu(a.A);ru(c,34,t(a.Ad,a,b),a);ru(c,33,t(a.Ad,a,b),a);ru(c,40,t(a.Ad,a,b),a);ru(c,38,t(a.Ad,a,b),a);ru(c,36,t(a.Ad,a,b),a);ru(c,35,t(a.Ad,a,b),a);ru(c,32,t(a.Ad,a,b),a);ru(c,[3 2,hr.be],t(a.Ad,a,b),a)}f.Ad=function(a,b){var c=Zt(this.A,a,b);0!=c&&this.rq(c)};f.rq=q;f.Lh=function(){return this.J()};function uu(a,b){E(a.zc);a.zc=D(function(){this.I&&this.oa&&(S(this.Lh(),"dri ve-viewer-layout-transition"),b&&this.layout())},100,a)} function vu(a){E(a.zc);Rp(a.Lh(),"drive-viewer-layout-transition")}f.va=function(){ju.O.va.call(this);E(this.zc)};function wu(a){this.A=a}da(wu);function xu(a,b){a&&(a.tabIndex=b?0:-1)}f=wu.prototype ;f.tk=function(a){return"DIV"==a.tagName};function yu(a,b,c){c.id&&ls(b,c.id);var d=a.ia(),e=!1,g=Op(c);g&&Lb(g,function(a){a==d?e=!0:a&&this.Ol(b,a,d)},a);e||S(c,d);zu(a,b,c);return c}f.Ol=function(a,b,c){b==c+"-disabled"?a.setEnabled(!1):b==c+"-horizontal"?Au(a,"horizontal"):b==c+"-vertical"&&Au(a,"vertical")}; function zu(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var g=a.hk(d);g&&(g.D=d,b.isEnabled()||g.setEnabled(!1),b.ca(g),rs(g,d))}else d.nodeValue&&""!=Ea(d.nodeValue)||c.removeChild(d);d=e}}f.hk=function(a){a:{var b;a=Op(a);for(var c=0,d=a.length;c<d;c++)if(b=a[c],b=b in Ns?Ns[b]():null){a=b;break a}a=null}return a};f.vk=function(a){a=a.J();Mq(a,!0,Ac);A&&(a.hideFocus=!0);var b=this.A;b&&ok(a,b)};f.ia=function(){return"goog-container"}; f.uk=function(a){var b=this.ia(),c=[b,"horizontal"==a.Gd?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return c};function Bu(a,b,c){is.call(this,c);this.Hd=b||wu.la();this.Gd=a| |"vertical"}v(Bu,is);f=Bu.prototype;f.gl=null;f.we=null;f.Hd=null;f.Gd=null;f.gd=!0;f.ve=!0;f.$e=!0;f.cb=-1;f.fb=null;f.md=!1;f.dd=null;function Cu(a){return a.gl||a.J()}f.ea=function(){this.D=this.B .ma("DIV",this.Hd.uk(this).join(" "))};f.Va=function(){return this.J()};f.ue=function(a){return this.Hd.tk(a)};f.Fa=function(a){this.D=yu(this.Hd,this,a);"none"==a.style.display&&(this.gd=!1)}; f.Y=function(){Bu.O.Y.call(this);ss(this,function(a){a.oa&&Du(this,a)},this);var a=this.J();this.Hd.vk(this);this.setVisible(this.gd,!0);V(this).listen(this,"enter",this.Kk).listen(this,"highlight",t his.uy).listen(this,"unhighlight",this.wy).listen(this,"open",this.aB).listen(this,"close",this.ty).listen(a,"mousedown",this.vy).listen(Oi(a),"mouseup",this.Cz).listen(a,["mousedown","mouseup","mous eover","mouseout","contextmenu"],this.Xy);this.$e&&Eu(this,!0)}; function Eu(a,b){var c=V(a),d=Cu(a);b?c.listen(d,"focus",a.Qh).listen(d,"blur",a.zo).listen(a.we||(a.we=new Zr(Cu(a))),"key",a.zb):c.wa(d,"focus",a.Qh).wa(d,"blur",a.zo).wa(a.we||(a.we=new Zr(Cu(a))),"key",a.zb)}f.va=function(){this.ud(-1);this.fb&&this.fb.hb(!1);this.md=!1;Bu.O.va.call(this)};f.Z=function(){Bu.O.Z.call(this);this.we&&(this.we.dispose(),this.we=null);this.Hd=this.fb=t his.dd=this.gl=null};f.Kk=function(){return!0}; f.uy=function(a){var b=xs(this,a.target);if(-1<b&&b!=this.cb){var c=Fu(this);c&&Ws(c,!1);this.cb=b;c=Fu(this);this.md&&Vs(c,!0);this.fb&&c!=this.fb&&(Is(c,64)?c.hb(!0):this.fb.hb(!1))}b=this.J();null !=a.target.J()&&pk(b,"activedescendant",a.target.J().id)};f.wy=function(a){a.target==Fu(this)&&(this.cb=-1);this.J().removeAttribute("aria-activedescendant")};f.aB=function(a){(a=a.target)&&a!=this.f b&&a.Sb()==this&&(this.fb&&this.fb.hb(!1),this.fb=a)}; f.ty=function(a){a.target==this.fb&&(this.fb=null);var b=this.J(),c=a.target.J();b&&Js(a.target,2)&&c&&sk(b,c)};f.vy=function(a){this.ve&&(this.md=!0);var b=Cu(this);b&&sj(b)&&tj(b)?b.focus():a.preve ntDefault()};f.Cz=function(){this.md=!1}; f.Xy=function(a){var b;a:{b=a.target;if(this.dd)for(var c=this.J();b&&b!==c;){var d=b.id;if(d in this.dd){b=this.dd[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.Tc(a);break ;case "mouseup":b.Uc(a);break;case "mouseover":b.zk(a);break;case "mouseout":b.Ok(a);break;case "contextmenu":b.kg(a)}};f.Qh=function(){};f.zo=function(){this.ud(-1);this.md=!1;this.fb&&this.fb.hb(!1 )}; f.zb=function(a){return this.isEnabled()&&this.da()&&(0!=ts(this)||this.gl)&&this.kf(a)?(a.preventDefault(),a.B(),!0):!1}; f.kf=function(a){var b=Fu(this);if(b&&"function"==typeof b.zb&&b.zb(a)||this.fb&&this.fb!=b&&"function"==typeof this.fb.zb&&this.fb.zb(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return !1;switch(a.keyCode){case 27:if(this.$e)Cu(this).blur();else return!1;break;case 36:Gu(this);break;case 35:Hu(this);break;case 38:if("vertical"==this.Gd)Iu(this);else return!1;break;case 37:if("horizontal"==this.Gd)vs(this)?Ju(this):Iu(this);else return!1;break;case 40:if("vertical"==this.Gd)Ju(this); else return!1;break;case 39:if("horizontal"==this.Gd)vs(this)?Iu(this):Ju(this);else return!1;break;default:return!1}return!0};function Du(a,b){var c=b.J(),c=c.id||(c.id=b.getId());a.dd||(a.dd={});a. dd[c]=b}f.ca=function(a,b){Bu.O.ca.call(this,a,b)}; f.uc=function(a,b,c){a.Ie|=2;a.Ie|=64;a.Za(32,!1);Qs(a,!1);var d=a.Sb()==this?xs(this,a):-1;Bu.O.uc.call(this,a,b,c);a.oa&&this.oa&&Du(this,a);a=d;-1==a&&(a=ts(this));a==this.cb?this.cb=Math.min(ts(t his)-1,b):a>this.cb&&b<=this.cb?this.cb++:a<this.cb&&b>this.cb&&this.cb--};f.removeChild=function(a,b){if(a=ha(a)?os(this,a):a){var c=xs(this,a);-1!=c&&(c==this.cb?(Ws(a,!1),this.cb=-1):c<this.cb&&th is.cb--);(c=a.J())&&c.id&&this.dd&&sb(this.dd,c.id)}a=Bu.O.removeChild.call(this,a,b);Qs(a,!0);return a}; function Au(a,b){if(a.J())throw Error("Component already rendered");a.Gd=b}f.da=function(){return this.gd};f.setVisible=function(a,b){if(b||this.gd!=a&&this.U(a?"show":"hide")){this.gd=a;var c=this.J();c&&(T(c,a),this.$e&&xu(Cu(this),this.ve&&this.gd),b||this.U(this.gd?"aftershow":"afterhide"));return!0}return!1};f.isEnabled=function(){return this.ve}; f.setEnabled=function(a){this.ve!=a&&this.U(a?"enable":"disable")&&(a?(this.ve=!0,ss(this,function(a){a.xr?delete a.xr:a.setEnabled(!0)})):(ss(this,function(a){a.isEnabled()?a.setEnabled(!1):a.xr=!0} ),this.md=this.ve=!1),this.$e&&xu(Cu(this),a&&this.gd))};function Ku(a,b){b!=a.$e&&a.oa&&Eu(a,b);a.$e=b;a.ve&&a.gd&&xu(Cu(a),b)}f.ud=function(a){(a=us(this,a))?Ws(a,!0):-1<this.cb&&Ws(Fu(this),!1)};f unction Fu(a){return us(a,a.cb)}function Gu(a){Lu(a,function(a,c){return(a+1)%c},ts(a)-1)} function Hu(a){Lu(a,function(a,c){a--;return 0>a?c-1:a},0)}function Ju(a){Lu(a,function(a,c){return(a+1)%c},a.cb)}function Iu(a){Lu(a,function(a,c){a--;return 0>a?c-1:a},a.cb)}function Lu(a,b,c){c=0>c?xs(a,a.fb):c;var d=ts(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=us(a,c);if(g&&a.Wm(g)){a.Ml(c);break}e++;c=b.call(a,c,d)}}f.Wm=function(a){return a.da()&&a.isEnabled()&&Is(a,2)};f. Ml=function(a){this.ud(a)};function Mu(a){Bu.call(this,void 0,Nu.la(),W(a));this.A=a;this.C=!1}v(Mu,Bu);var Ou=[34,33,40,38,36,35,32,[32,1]];f=Mu.prototype;f.Y=function(){Mu.O.Y.call(this);S(this.J() ,"drive-viewer-scrollable")};f.Ba=function(){if(!this.C){this.C=!0;var a=qu(this.A);Lb(Ou,function(b){ru(a,b,this.nv,this)},this)}};f.zb=function(a){return Wb(Ou,a.keyCode)||27==a.keyCode?!1:Mu.O.zb. call(this,a)};f.Qh=function(){Gu(this)}; f.nv=function(a){var b=!1,c=this.J(),d;if((d=mr(a.H))&&0<d.length){var e=d[0];d={ctrlKey:e.ld&hr.wd,altKey:e.ld&hr.gm,shiftKey:e.ld&hr.be,metaKey:e.ld&hr.xd};e=new es(fb(e.keyCode),0,!1,new Event(a.type));yb(e,d);d=e}else d=null;d&&32!=d.keyCode&&(b=this.kf(d))&&(wq(Fu(this).J(),c),a.preventDefault(),a.B(),Pu(au(this.A),this.J()));b||Zt(this.A,c,a)};function Qu(){}v(Qu,et);da(Qu);Qu.pr ototype.Rc=function(){return"option"};function Ru(){}v(Ru,zs);da(Ru);Ru.prototype.ia=function(){return"drive-viewer-control"}; Ru.prototype.Rc=function(){return"option"};function Nu(){this.A="listbox"}v(Nu,wu);da(Nu);Nu.prototype.ia=function(){return"drive-viewer-listbox-container"};var Su={};function Tu(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Uu.test(c)){a=c;if(!Uu.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Vu,"#$1$1$2$2$3$3"));b.ji=a.toLowerCase(); b.type="hex";return b}c=Wu(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=Xu(d.toString(16));a=Xu(a.toString(16));c=Xu(c.toString(16));b.ji="#"+d+a+c;b.type= "rgb";return b}if(Su.names&&(c=Su.names[a.toLowerCase()]))return b.ji=c,b.type="named",b;throw Error(a+" is not a valid color string");}function Yu(a){return!!(Uu.test("#"==a.charAt(0)?a:"#"+a)||Wu(a ).length||Su.names&&Su.names[a.toLowerCase()])}var Vu=/#(.)(.)(.)/,Uu=/^#(?:[0-9a-f]{3}){1,2}$/i,Zu=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i; function Wu(a){var b=a.match(Zu);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 Xu(a){return 1==a.length?"0"+a:a};f unction $u(a,b){var c;if(A||Ye){var d=Dj(b,"DIV");fq(d,"color","rgb(30, 40, 50)");b.A.body.appendChild(d);c=jq(d,"color");b.A.body.removeChild(d);Yu("rgb(30, 40, 50)")&&Yu(c)?(d=Tu("rgb(30, 40, 50)"),c=Tu(c),c=d.ji==c.ji):c=!1;c=!c}else c=!1;if(c)for(c=fa(a)?a:[a],d=0;d<c.length;d++)c[d]&&S(c[d],"drive-viewer-hcmode")};function av(){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="'+Dn("Archived content list")+'"></div></div>');return R(a)} function bv(a){return R('<div class="drive-viewer-archive-row"><div class="drive-viewer-archive-title">'+Q(a.title)+'</div><div class="drive-viewer-archive-count"></div></div>')}function cv(a){return R('<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">'+Q(a.name)+"</div></div >")};function dv(a,b){ju.call(this,a,b);var c=this.B;this.F=a;this.S=this.C=null;this.H=new ft(c);this.ca(this.H);this.N=null;this.L=new Mu(b);this.ca(this.L);V(this).listen(this.F,wo.tm,this.At)}v(d v,ju);var ev={Br:"drive-viewer-archive-back-icon",jj:"drive-viewer-archive-content",Fr:"drive-viewer-archive-count",ZG:"drive-viewer-archive-gradient",Sr:"drive-viewer-archive-header",ls:"drive-viewe r-archive-row",GH:"drive-viewer-archive-row-icon",Bs:"drive-viewer-archive-title"};f=dv.prototype; f.ea=function(){this.D=P(av,void 0,void 0,this.B)};f.Y=function(){dv.O.Y.call(this);this.C=U(this,ev.jj);this.S=U(this,ev.Sr);rs(this.H,U(this,ev.Br));rs(this.L,this.C);$u(this.H.J(),this.B);V(this). listen(this.C,"scroll",this.Bt).listen(this.H,"action",this.Yo);this.F.D?fv(this,this.F.D):V(this).listen(this.F,ip.zr,this.Ry)};f.Ba=function(){dv.O.Ba.call(this);this.L.Ba();this.F.D&&uu(this);ru(q u(this.A),8,this.Yo,this)};f.ab=function(){dv.O.ab.call(this);var a=this.L;a.C=!1;gv(qu(a.A));vu(this)}; f.layout=function(){var a=hu(this.A),b=du(this),c=this.J(),d=b.width;2!=ug(L(this.A))&&(d*=.5);var e=vq(c);Aq(c,d,b.height-e.top-e.bottom);b=20;this.C.scrollHeight>this.C.clientHeight&&(b-=hv(a));var g=Kq(this.C)?"margin-left":"margin-right";fq(this.C,g,b+"px");iv(this);b=Dq(c.firstChild).height;mq(this.C,0,b);U(this,"drive-viewer-archive-gradient").style.top=b+"px";d=fu(this,d+e.left+e.right);m q(c,d,gu(a).top)};f.Bt=function(){iv(this)}; function iv(a){var b=U(a,"drive-viewer-archive-gradient");Hq(b,Math.min(a.C.scrollTop/12,1))}f.At=function(){this.oa&&this.F.D&&jv(this,this.N||this.F.D)};f.Ry=function(){fv(this,this.F.D);uu(this)}; function fv(a,b){var c=a.B;Gb(ys(a.L));jv(a,b);for(var d=kv(a,b),e=0;e<d.length;e++){var g=d[e].ja(),h=30==e?"...":g.name||"Unknown",k=30!=e;g.ri?(g=new lv(c,h,k?Fp("application/vnd.google-apps.folde r"):void 0),V(a).listen(g,"action",t(a.hA,a,d[e]))):g=new mv(c,h,k?Fp(g.wg||"Unknown"):void 0);h=P(cv,{name:h},void 0,c);g.Fa(h);a.L.ca(g,!0)}a.layout()} function jv(a,b){var c=a.B;c.Sa(Bj(c,ev.ls,a.S));var d=b.ja().name||to(a.F),e=P(bv,{title:d},void 0,c);Hj(a.S,e,0);e=U(a,ev.Bs);Yr(e,d,void 0,void 0,!0);a.H.setVisible(!!b.B);(d=b.B)&&a.H.ta("Go back to "+(d.ja().name+" Folder."));d=b.getChildren().length;e=U(a,ev.Fr);c.Qb(e,Ut(d))}f.Yo=function(a){this.N&&this.N.B&&(nv(ov(this.A),{ka:74,qa:pr(a),item:this.F}),pv(this,this.N.B))};f.hA=funct ion(a,b){nu(this);nv(ov(this.A),{ka:73,qa:pr(b),item:this.F});pv(this,a)}; function pv(a,b){fv(a,b);a.N=b;a.C.scrollTop=0;Pu(au(a.A),a.C)}function kv(a,b){var c=31,d=[];qv(b,function(a){d.push(a)});jc(d,t(dv.prototype.Ws,a));c=Math.min(c,d.length);return ec(d,0,c)}f.Ws=func tion(a,b){var c=a.ja(),d=b.ja();if(c.ri){if(!d.ri)return-1}else if(d.ri)return 1;return Ga(c.name||"Unknown",d.name||"Unknown")};function lv(a,b,c){ft.call(this,a,Qu.la());this.F=b;this.A=c}v(lv,ft); lv.prototype.Y=function(){lv.O.Y.call(this);Yr(this.J(),this.F,void 0,this.F+" Folder Button",!0);this.A&&Iq(U(this,"drive-viewer-archive-row-icon"),this.A)};function mv(a,b,c){Ps.call(this,null,Ru.l a(),a);this.F=b;this.A=c}v(mv,Ps);mv.prototype.Y=function(){mv.O.Y.call(this);Yr(this.J(),this.F,void 0,this.F+" File",!0);this.A&&Iq(U(this,"drive-viewer-archive-row-icon"),this.A)};function rv(a,b){gp.call(this,a,b)}v(rv,gp);rv.prototype.xb=function(){return hp};rv.prototype.rc=function(){return dv};rv.prototype.vg=function(){return!0};function sv(a,b,c){this.name=a||null;this.wg=b||nu ll;this.ri=!!c};function tv(a){sf(this,a,null)}v(tv,qf);tv.prototype.getId=function(){return G(this,1)};function uv(a){sf(this,a,null)}v(uv,qf);function vv(a){sf(this,a,null)}v(vv,qf);vv.prototype.ge tData=function(){return null==G(this,1)?0:G(this,1)};function wv(a){sf(this,a,xv)}v(wv,qf);var xv=[7];function yv(a,b){w.call(this);this.item=a;this.A=b;this.Ka=new M(this);x(this,this.Ka)}v(yv,w);fu nction zv(a,b){Eb(a,function(){b.cancel()})}function Av(a){if(a.item.getState()==uo.ae){Bo(a.item,uo.LOADING);var b=a.item.I;b==uo.LOADED?Bo(a.item,uo.LOADED):b!=uo.ERROR&&a.sg()&&a.Ka.listen(a.item, "m",a.za);a.oe()}}yv.prototype.za=function(a){this.item.I==uo.LOADED&&Bo(this.item,uo.LOADED,void 0,void 0,void 0,a.info&&a.info.time)}; function Bv(a){a.sg()&&a.item.I==uo.ae&&(Fo(a.item,uo.LOADING),a.aa())}yv.prototype.aa=q;yv.prototype.sg=function(){return!1};function Cv(a,b){this.D=a;this.C=b}Cv.prototype.ja=function(){return this.C};Cv.prototype.clone=function(){return new Cv(this.D,this.C)};function Dv(a,b){Cv.call(this,a,b);this.A=this.B=null}v(Dv,Cv);var Ev=[];Dv.prototype.clone=function(){return new Dv(this.D,this.ja())};Dv.prototype.getChildren=function(){return this.A||Ev};Dv.prototype.contains=function(a){do a=a.B;while(a&&a!=this);return!!a};function qv(a,b){Lb(a.getChildren(),b,void 0)}Dv.prototype.removeChild=function(a){var b;if(b=a)a=Jb(this.getChildren(),a),(b=this.A&&this.A[a])?(b.B=null,$b(this.A,a),0==this.A.length&&(this.A=null)):b=null;return b};function Fv(a,b){yv.call(this,a,b);this.item=a}v(Fv,yv); Fv.prototype.oe=function(){if(!this.item.D){var a,b=Ne("","fileName",to(this.item),"mimeType",Ao(this.item),"fileSize",jp(this.item));2==lh(this.item.A)?(a=th(this.item.A),b=Ne(b,"origin","GMAIL")):a =gh(this.item.A);var c=wg(L(this.A)),d=Tf(c);wf(c,Kf,16)&&(c=wf(c,Kf,16),Ba(Nf(c))||Ba(Of(c))||(b=Ne(b,"ck",Of(c),"c",Nf(c))));a=d+"/files/"+a+"/preview"+b;(b=al(this.A,bl))?(a=Zk(new Tk(b,a,"drive#filePreview")),b=t(this.C,this),a.V=b,a=a.start(),Nk(a,t(this.D,this)),Ok(a,t(this.B,this)),zv(this,a)): Bo(this.item,4)}};Fv.prototype.D=function(a){if("drive#filePreview"==a.kind){var b=a.archivePreview;0==b.length?Bo(this.item,4):(a=new Dv(null,new sv(to(this.item),Ao(this.item),!0)),Gv(this,a,b),b=t his.item,b.D=a,b.U("q"),Bo(this.item,1))}else this.B()};Fv.prototype.C=function(){Bo(this.item,3)};Fv.prototype.B=function(){Bo(this.item,4)}; function Gv(a,b,c){for(var d=0;d<c.length;d++){var e=c[d],g=e.path,h=!!e.children||xa(g,"/");xa(g,"/")&&(g=g.substring(0,g.length-1));var g=new Dv(e.path,new sv(g.slice(g.lastIndexOf("/")+1),e.mimeTy pe,h)),h=b,k=g,m=b.A?b.A.length:0;k.B=h;h.A=h.A||[];dc(h.A,m,0,k);(e=e.children)&&Gv(a,g,e)}};var Hv="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(" "), Iv=["text/calendar"],Jv=["application/mbox","application/vnd.ms-outlook"];function Kv(a){return Wb(Jv,a)?"Extract into your mail account":"Extract into your Drive account"};function Lv(a,b){gp.call(this,a,b);var c=wg(L(b)),d;if(d=!!c&&!!wf(c,Kf,16))c=wf(c,Kf,16),d=null==G(c,1)?!1:G(c,1);this.B=d}v(Lv,rv);Lv.prototype.Eb=function(){var a=Hv;this.B&&(a=ac(a,Iv,Jv));return a};Lv.prototype.$b=function(){return Fv};function Mv(a){Lv.call(this,"ar_d",a)}v(Mv,Lv);Mv.prototype.nb=function(a){return hh(a)+gh(a)};Mv.prototype.Cb=function(a){return!!bh(a)&&!!gh(a)};Mv.prototy pe.tc=function(){return[0]};Mv.prototype.sh=function(){return!yg(L(this.A))};function Nv(a){Lv.call(this,"ar_g",a)}v(Nv,Lv);Nv.prototype.nb=function(a){return hh(a)+th(a)};Nv.prototype.Cb=function(a) {return!!bh(a)&&!!th(a)};Nv.prototype.tc=function(){return[2]};function Ov(a,b){so.call(this,a,b,1);this.D=null}v(Ov,so);Ov.prototype.C=function(){return fh(this.A)};function Pv(a,b){Ov.call(this,a,b )}v(Pv,Ov);Pv.prototype.C=function(a,b){var c=eo("/uc",a);return Ne(c,"id",gh(this.A),"authuser",b||"0","export","download")};function Qv(a){sf(this,a,null)}v(Qv,qf);Qv.prototype.getError=function(){ return G(this,5)};Qv.prototype.Ga=function(a){H(this,5,a)};var Rv={Ef:1,$d:2,Df:3};function Sv(a){w.call(this);this.A={};this.B=ov(a);this.D=0}v(Sv,w);function Tv(a,b,c){var d=Uv(a.B,c),e=new Qv;H(e,1,1);n(c.ol)&&H(e,4,c.ol);yf(d,8,e);Vv(a,b);a.A[b]=d}function Wv(a,b,c){b+=a.D++;Tv(a,b,c);return b}function Xv(a,b,c,d){var e=Yv(b);H(e,2,c);c=G(b,4);d=d||u();e=Yv(b);H(e,3,d-c);Zv(a.B,b)}fu nction $v(a,b,c,d){var e=a.A[b];c=n(c)?c:1;e&&(Xv(a,e,c,d),Vv(a,b))}function Vv(a,b){a.A[b]&&delete a.A[b]};var aw={},bw=null;function cw(a){var b=na(a);b in aw||(aw[b]=a);dw()}function ew(a){a=na(a);delete aw[a];qb(aw)&&bw&&bw.stop()}function dw(){bw||(bw=new rr(function(){fw()},20));var a=bw;0!=a.se||a.start()}function fw(){var a=u();hb(aw,function(b){b.hq(a)});qb(aw)||dw()};func tion gw(){B.call(this);this.A=0;this.I=this.F=null}v(gw,B);gw.prototype.od=function(){this.Zb("begin")};gw.prototype.Hc=function(){this.Zb("end")};function hw(a){a.Zb("finish")}gw.prototype.onStop=fu nction(){this.Zb("stop")};gw.prototype.Zb=function(a){this.U(a)};function iw(a,b,c,d){gw.call(this);if(!fa(a)||!fa(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)thro w Error("Start and end points must be the same length");this.R=a;this.N=b;this.duration=c;this.L=d;this.B=[];this.H=!1;this.C=0}v(iw,gw);f=iw.prototype; f.play=function(a){if(a||0==this.A)this.C=0,this.B=this.R;else if(1==this.A)return!1;ew(this);this.F=a=u();-1==this.A&&(this.F-=this.duration*this.C);this.I=this.F+this.duration;this.C||this.od();thi s.Zb("play");-1==this.A&&this.Zb("resume");this.A=1;cw(this);jw(this,a);return!0};f.stop=function(a){ew(this);this.A=0;a&&(this.C=1);kw(this,this.C);this.onStop();this.Hc()};f.Z=function(){0==this.A| |this.stop(!1);this.Zb("destroy");iw.O.Z.call(this)};f.hq=function(a){jw(this,a)}; function jw(a,b){a.C=(b-a.F)/(a.I-a.F);1<=a.C&&(a.C=1);kw(a,a.C);1==a.C?(a.A=0,ew(a),hw(a),a.Hc()):1==a.A&&a.ql()}function kw(a,b){ka(a.L)&&(b=a.L(b));a.B=Array(a.R.length);for(var c=0;c<a.R.length;c ++)a.B[c]=(a.N[c]-a.R[c])*b+a.R[c]}f.ql=function(){this.Zb("animate")};f.Zb=function(a){this.U(new lw(a,this))};function lw(a,b){y.call(this,a);this.x=b.B[0];this.y=b.B[1];this.D=b.B[2];this.duration =b.duration;this.state=b.A}v(lw,y);function mw(a,b,c,d,e){iw.call(this,b,c,d,e);this.D=a}v(mw,iw);mw.prototype.Xd=q;mw.prototype.ql=function(){this.Xd();mw.O.ql.call(this)};mw.prototype.Hc=function() {this.Xd();mw.O.Hc.call(this)};mw.prototype.od=function(){this.Xd();mw.O.od.call(this)};function nw(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");mw.apply(this ,arguments)}v(nw,mw); nw.prototype.Xd=function(){var a;if(a=this.H)n(this.V)||(this.V=Kq(this.D)),a=this.V;this.D.style[a?"right":"left"]=Math.round(this.B[0])+"px";this.D.style.top=Math.round(this.B[1])+"px"};function ow(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");mw.apply(this,arguments)}v(ow,mw);ow.prototype.Xd=function(){this.H?xr(this.D,Math.round(this.B[0])):this.D.s crollLeft=Math.round(this.B[0]);this.D.scrollTop=Math.round(this.B[1])}; function pw(a,b,c,d,e){mw.call(this,a,[b],[c],d,e)}v(pw,mw);pw.prototype.Xd=function(){this.D.style.width=Math.round(this.B[0])+"px"};function qw(a,b,c,d,e){mw.call(this,a,[b],[c],d,e)}v(qw,mw);qw.pr ototype.Xd=function(){this.D.style.height=Math.round(this.B[0])+"px"};function rw(a,b,c,d,e){ja(b)&&(b=[b]);ja(c)&&(c=[c]);mw.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.V=-1}v(rw,mw);var sw=1/1024;f=rw.prototype; f.Xd=function(){var a=this.B[0];Math.abs(a-this.V)>=sw&&(Hq(this.D,a),this.V=a)};f.od=function(){this.V=-1;rw.O.od.call(this)};f.Hc=function(){this.V=-1;rw.O.Hc.call(this)};f.show=function(){this.D.s tyle.display=""};f.hide=function(){this.D.style.display="none"};function tw(a,b,c){rw.call(this,a,1,0,b,c)}v(tw,rw);function uw(a,b,c){rw.call(this,a,0,1,b,c)}v(uw,rw);uw.prototype.od=function(){this .show();uw.O.od.call(this)};function vw(){gw.call(this);this.B=[]}v(vw,gw);function ww(a,b){Wb(a.B,b)||(a.B.push(b),nd(b,"finish",a.C,!1,a))}vw.prototype.remove=function(a){Zb(this.B,a)&&vd(a,"finish ",this.C,!1,this)};vw.prototype.Z=function(){Lb(this.B,function(a){a.dispose()});this.B.length=0;vw.O.Z.call(this)};function xw(){vw.call(this);this.D=0}v(xw,vw); xw.prototype.play=function(a){if(0==this.B.length)return!1;if(a||0==this.A)this.D=0,this.od();else if(1==this.A)return!1;this.Zb("play");-1==this.A&&this.Zb("resume");var b=-1==this.A&&!a;this.F=u(); this.I=null;this.A=1;Lb(this.B,function(c){b&&-1!=c.A||c.play(a)});return!0};xw.prototype.stop=function(a){Lb(this.B,function(b){0==b.A||b.stop(a)});this.A=0;this.I=u();this.onStop();this.Hc()};xw.pr ototype.C=function(){this.D++;this.D==this.B.length&&(this.I=u(),this.A=0,hw(this),this.Hc())};function yw(a,b,c){B.call(this);this.target=a;this.handle=b||a;this.R=c||new Yp(NaN,NaN,NaN,NaN);this.H= Oi(a);this.B=new M(this);x(this,this.B);this.deltaY=this.D=this.S=this.N=this.clientY=this.clientX=0;this.I=!0;this.C=this.A=!1;nd(this.handle,["touchstart","mousedown"],this.nr,!1,this)}v(yw,B);var zw=l.document&&l.document.documentElement&&!!l.document.documentElement.setCapture;function Aw(a,b){a.R=b||new Yp(NaN,NaN,NaN,NaN)}f=yw.prototype;f.setEnabled=function(a){this.I=a}; f.Z=function(){yw.O.Z.call(this);vd(this.handle,["touchstart","mousedown"],this.nr,!1,this);this.B.removeAll();zw&&this.H.releaseCapture();this.handle=this.target=null};function Bw(a){n(a.L)||(a.L=Kq (a.target));return a.L} f.nr=function(a){var b="mousedown"==a.type;if(!this.I||this.A||b&&!$c(a))this.U("earlycancel");else if(this.U(new Cw("start",this,a.clientX,a.clientY,a))){this.A=!0;b&&a.preventDefault();var b=this.H,c=b.documentElement,d=!zw;this.B.listen(b,["touchmove","mousemove"],this.SA,d);this.B.listen(b,["touchend","mouseup"],this.Ah,d);zw?(c.setCapture(!1),this.B.listen(c,"losecapture",this.Ah)) :this.B.listen(Zi(b),"blur",this.Ah);this.ba&&this.B.listen(this.ba,"scroll",this.TD,d);this.clientX=this.N=a.clientX; this.clientY=this.S=a.clientY;this.D=this.C?wr(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.V=Xi(Mi(this.H).A)}};f.Ah=function(a){this.B.removeAll();zw&&this.H.releaseCa pture();this.A?(this.A=!1,this.U(new Cw("end",this,a.clientX,a.clientY,a,Dw(this,this.D),Ew(this,this.deltaY)))):this.U("earlycancel")}; f.SA=function(a){if(this.I){var b=(this.C&&Bw(this)?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;if(!this.A){var d=this.N-this.clientX,e=this. S-this.clientY;if(0<d*d+e*e)if(this.U(new Cw("start",this,a.clientX,a.clientY,a)))this.A=!0;else{this.Aa||this.Ah(a);return}}c=Fw(this,b,c);b=c.x;c=c.y;this.A&&this.U(new Cw("beforedrag",this,a.clien tX,a.clientY,a,b,c))&&(Gw(this,a,b,c),a.preventDefault())}}; function Fw(a,b,c){var d=Xi(Mi(a.H).A);b+=d.x-a.V.x;c+=d.y-a.V.y;a.V=d;a.D+=b;a.deltaY+=c;return new I(Dw(a,a.D),Ew(a,a.deltaY))}f.TD=function(a){var b=Fw(this,0,0);a.clientX=this.clientX;a.clientY=t his.clientY;Gw(this,a,b.x,b.y)};function Gw(a,b,c,d){a.Uj(c,d);a.U(new Cw("drag",a,b.clientX,b.clientY,b,c,d))}function Dw(a,b){var c=a.R,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 Ew(a,b){var c=a.R,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))}f.Uj=function(a,b){this.C&&Bw(this)?this.target .style.right=a+"px":this.target.style.left=a+"px";this.target.style.top=b+"px"};function Cw(a,b,c,d,e,g,h){y.call(this,a);this.clientX=c;this.clientY=d;this.F=e;this.left=n(g)?g:b.D;this.top=n(h)?h:b .deltaY;this.D=b}v(Cw,y);function Hw(){B.call(this)}v(Hw,B);f=Hw.prototype;f.Ae=0;f.Fc=0;f.yc=100;f.jb=0;f.Vc=!1;f.xf=!1;f.ua=function(a){a=Iw(this,a);this.Ae!=a&&(this.Ae=a+this.jb>this.yc?this.yc-t his.jb:a<this.Fc?this.Fc:a,this.Vc||this.xf||this.U("change"))};f.ja=function(){return Iw(this,this.Ae)};function Jw(a,b){b=Iw(a,b);a.jb!=b&&(a.jb=0>b?0:a.Ae+b>a.yc?a.yc-a.Ae:b,a.Vc||a.xf||a.U("chang e"))} function Kw(a,b){b=Iw(a,b);if(a.yc!=b){var c=a.Vc;a.Vc=!0;a.yc=b;b<a.Ae+a.jb&&a.ua(b-a.jb);if(b<a.Fc){a.jb=0;var d=b;if(a.Fc!=d){var e=a.Vc;a.Vc=!0;a.Fc=d;d+a.jb>a.yc&&(a.jb=a.yc-a.Fc);d>a.Ae&&a.ua(d );d>a.yc&&(a.jb=0,Kw(a,d),a.ua(d));a.Vc=e;a.Vc||a.xf||a.U("change")}a.ua(a.yc)}b<a.Fc+a.jb&&(a.jb=a.yc-a.Fc);a.Vc=c;a.Vc||a.xf||a.U("change")}}function Iw(a,b){return a.Fc+1*Math.round((b-a.Fc)/1)}fu nction Lw(a){return 1*Math.round(a/1)};function Mw(a,b){is.call(this,a);this.C=new Hw;this.kb=b||Hd;nd(this.C,"change",this.sp,!1,this)}v(Mw,is);f=Mw.prototype;f.Ub="horizontal";f.ai=!1;f.cq=!1;f.si= !0;f.bq=0;f.Gk=!0;f.Ob=!1;f.ea=function(){Mw.O.ea.call(this);var a=this.B.ma("DIV",this.ia(this.Ub));this.Fa(a)}; f.Fa=function(a){Mw.O.Fa.call(this,a);S(a,this.ia(this.Ub));a=this.J();var b=Aj(this.B,null,"drive-viewer-slider-thumb",a)[0];b||(b=this.B.ma("div","drive-viewer-slider-thumb"),ok(b,"button"),a.appen dChild(b));this.A=this.I=b;ok(this.J(),"slider");Nw(this)};f.Y=function(){Mw.O.Y.call(this);this.H=new yw(this.A);this.N=new yw(this.I);this.H.C=this.Ob;this.N.C=this.Ob;this.H.Uj=this.N.Uj=q;this.$= new Zr(this.J());Ow(this,!0);this.J().tabIndex=0;Pw(this)}; function Ow(a,b){b?(V(a).listen(a.H,"beforedrag",a.ei).listen(a.N,"beforedrag",a.ei).listen(a.H,["start","end"],a.hi).listen(a.N,["start","end"],a.hi).listen(a.$,"key",a.Ho).listen(a.J(),"click",a.gi ).listen(a.J(),"mousedown",a.gi),a.si&&Qw(a,!0)):(V(a).wa(a.H,"beforedrag",a.ei).wa(a.N,"beforedrag",a.ei).wa(a.H,["start","end"],a.hi).wa(a.N,["start","end"],a.hi).wa(a.$,"key",a.Ho).wa(a.J(),"click ",a.gi).wa(a.J(),"mousedown",a.gi),a.si&&Qw(a,!1))} f.va=function(){Mw.O.va.call(this);Gb(this.H,this.N,this.$,this.W)};f.ei=function(a){var b=a.D==this.H?this.A:this.I,c;"vertical"==this.Ub?(c=this.J().clientHeight-b.offsetHeight,c=(c-a.top)/c*(Rw(th is)-Sw(this))+Sw(this)):c=a.left/(this.J().clientWidth-b.offsetWidth)*(Rw(this)-Sw(this))+Sw(this);c=a.D==this.H?Math.min(Math.max(c,Sw(this)),this.ja()+Lw(this.C.jb)):Math.min(Math.max(c,this.ja()), Rw(this));Tw(this,b,c)}; f.hi=function(a){var b="start"==a.type;Tp(this.J(),"goog-slider-dragging",b);Tp(a.target.handle,"goog-slider-thumb-dragging",b);a=a.D==this.H;b?(this.U("H"),this.U(a?"D":"F")):(this.U("I"),this.U(a?" E":"G"))}; f.Ho=function(a){var b=!0;switch(a.keyCode){case 36:Uw(this,Sw(this));break;case 35:Uw(this,Rw(this));break;case 33:Vw(this,10);break;case 34:Vw(this,-10);break;case 37:var c=this.Ob&&vs(this)?1:-1;V w(this,a.shiftKey?10*c:1*c);break;case 40:Vw(this,a.shiftKey?-10:-1);break;case 39:c=this.Ob&&vs(this)?-1:1;Vw(this,a.shiftKey?10*c:1*c);break;case 38:Vw(this,a.shiftKey?10:1);break;default:b=!1}b&&a .preventDefault()}; f.gi=function(a){this.J().focus&&this.J().focus();var b=a.target;mj(this.A,b)||mj(this.I,b)||(b="click"==a.type,b&&u()<this.bq+1E3||(b||(this.bq=u()),this.cq?Uw(this,Ww(this,a)):(this.Zl(a),this.L=Xw (this,Ww(this,a)),this.Wa="vertical"==this.Ub?this.na<this.L.offsetTop:this.na>Yw(this,this.L)+this.L.offsetWidth,a=Oi(this.J()),V(this).listen(a,"mouseup",this.Wl,!0).listen(this.J(),"mousemove",thi s.Zl),this.S||(this.S=new ze(200),V(this).listen(this.S,"tick",this.Jo)),this.Jo(),this.S.start())))}; f.Io=function(a){Vw(this,1*(0<a.detail?-1:1));a.preventDefault()};f.Jo=function(){var a;if("vertical"==this.Ub){var b=this.na,c=this.L.offsetTop;this.Wa?b<c&&(a=Zw(this,this.L)+10):b>c+this.L.offsetH eight&&(a=Zw(this,this.L)-10)}else b=this.na,c=Yw(this,this.L),this.Wa?b>c+this.L.offsetWidth&&(a=Zw(this,this.L)+10):b<c&&(a=Zw(this,this.L)-10);n(a)&&Tw(this,this.L,a)};f.Wl=function(){this.S&&this .S.stop();var a=Oi(this.J());V(this).wa(a,"mouseup",this.Wl,!0).wa(this.J(),"mousemove",this.Zl)}; function $w(a,b){var c=xq(b,a.J());return"vertical"==a.Ub?c.y:a.Ob&&vs(a)?a.J().clientWidth-c.x:c.x}f.Zl=function(a){this.na=$w(this,a)};function Ww(a,b){var c=Sw(a),d=Rw(a);if("vertical"==a.Ub){var e=a.A.offsetHeight,g=a.J().clientHeight-e,e=$w(a,b)-e/2;return(d-c)*(g-e)/g+c}e=a.A.offsetWidth;g=a.J().clientWidth-e;e=$w(a,b)-e/2;return(d-c)*e/g+c}function Zw(a,b){if(b==a.A)return a.C.ja();if(b==a.I)return a.C.ja()+Lw(a.C.jb);throw Error("Illegal thumb element. Neither minThumb nor maxThumb");} function ax(a){return a.H.A||a.N.A}function Vw(a,b){1>Math.abs(b)&&(b=1*yi(b));var c=Zw(a,a.A)+b,d=Zw(a,a.I)+b,c=wi(c,Sw(a),Rw(a)-0),d=wi(d,Sw(a)+0,Rw(a));bx(a,c,d-c)}function Tw(a,b,c){var d=Iw(a.C,c);c=b==a.A?d:a.C.ja();b=b==a.I?d:a.C.ja()+Lw(a.C.jb);c>=Sw(a)&&b>=c+0&&Rw(a)>=b&&bx(a,c,b-c)}function bx(a,b,c){Sw(a)<=b&&b<=Rw(a)-c&&0<=c&&c<=Rw(a)-b&&(b!=a.ja()||c!=Lw(a.C.jb))&&(a.C.xf= !0,Jw(a.C,0),a.C.ua(b),Jw(a.C,c),a.C.xf=!1,a.sp())}function Sw(a){a=a.C;return Iw(a,a.Fc)} function Rw(a){a=a.C;return Iw(a,a.yc)}function Xw(a,b){return b<=a.C.ja()+Lw(a.C.jb)/2?a.A:a.I}f.sp=function(){Pw(this);Nw(this);this.U("change")}; function Pw(a){if(a.A&&!a.ai){var b=cx(a,Zw(a,a.A)),c=cx(a,Zw(a,a.I));if("vertical"==a.Ub)a.A.style.top=b.y+"px",a.I.style.top=c.y+"px",a.F&&(b=dx(c.y,b.y,a.A.offsetHeight),a.F.style.top=b.offset+"px ",a.F.style.height=b.size+"px");else{var d=a.Ob&&vs(a)?"right":"left";a.A.style[d]=b.x+"px";a.I.style[d]=c.x+"px";a.F&&(b=dx(b.x,c.x,a.A.offsetWidth),a.F.style[d]=b.offset+"px",a.F.style.width=b.size +"px")}}}function dx(a,b,c){var d=Math.ceil(c/2);return{offset:a+d,size:Math.max(b-a+c-2*d,0)}} function cx(a,b){var c=new I;if(a.A){var d=Sw(a),e=Rw(a),e=b==d&&d==e?0:(b-d)/(e-d);"vertical"==a.Ub?(d=a.J().clientHeight-a.A.offsetHeight,e=Math.round(e*d),c.x=Yw(a,a.A),c.y=d-e):(c.x=Math.round(e* (a.J().clientWidth-a.A.offsetWidth)),c.y=a.A.offsetTop)}return c} function Uw(a,b){b=wi(b,Sw(a),Rw(a));a.ai&&(a.aa.stop(!0),a.aa.dispose());var c=new xw,d,e=Xw(a,b),g=a.ja(),h=Lw(a.C.jb),k=Zw(a,e),m=cx(a,k);1>Math.abs(b-k)&&(b=wi(k+(b>k?1:-1),Sw(a),Rw(a)));Tw(a,e,b );k=cx(a,Zw(a,e));d="vertical"==a.Ub?[Yw(a,e),k.y]:[k.x,e.offsetTop];m=new nw(e,[m.x,m.y],d,100);m.H=a.Ob;ww(c,m);a.F&&(m=cx(a,g),d=cx(a,g+h),g=m,h=d,e==a.A?g=k:h=k,"vertical"==a.Ub?(e=dx(d.y,m.y,a.A .offsetHeight),g=dx(h.y,g.y,a.A.offsetHeight),k=new nw(a.F,[Yw(a,a.F),e.offset],[Yw(a,a.F),g.offset],100), e=new qw(a.F,e.size,g.size,100),k.H=a.Ob,e.H=a.Ob,ww(c,k),ww(c,e)):(e=dx(m.x,d.x,a.A.offsetWidth),g=dx(g.x,h.x,a.A.offsetWidth),k=new nw(a.F,[e.offset,a.F.offsetTop],[g.offset,a.F.offsetTop],100),e=n ew pw(a.F,e.size,g.size,100),k.H=a.Ob,e.H=a.Ob,ww(c,k),ww(c,e)));a.aa=c;V(a).listen(c,"end",a.Vw);a.ai=!0;c.play(!1)}f.Vw=function(){this.ai=!1}; f.Z=function(){Mw.O.Z.call(this);this.S&&this.S.dispose();delete this.S;this.aa&&this.aa.dispose();delete this.aa;delete this.A;delete this.I;this.F&&delete this.F;this.C.dispose();delete this.C;this.$&&(this.$.dispose(),delete this.$);this.W&&(this.W.dispose(),delete this.W);this.H&&(this.H.dispose(),delete this.H);this.N&&(this.N.dispose(),delete this.N)};f.ja=function(){return this.C.ja()};f.ua=function(a){Tw(this,this.A,a)};f.setVisible=function(a){T(this.J(),a);a&&Pw(this)}; function Nw(a){var b=a.J();b&&(pk(b,"valuemin",Sw(a)),pk(b,"valuemax",Rw(a)),pk(b,"valuenow",a.ja()),pk(b,"valuetext",a.kb(a.ja())||""))}function Qw(a,b){b?(a.W||(a.W=new Uq(a.J())),V(a).listen(a.W," mousewheel",a.Io)):V(a).wa(a.W,"mousewheel",a.Io)}f.setEnabled=function(a){this.Gk!=a&&this.U(a?"enable":"disable")&&(this.Gk=a,Ow(this,a),a||this.Wl(),Tp(this.J(),"goog-slider-disabled",!a))};f.isEn abled=function(){return this.Gk};function Yw(a,b){return a.Ob?wr(b):b.offsetLeft};function ex(){var a={pG:!1},b,a=a||{};return R('<div class="drive-spinner">'+(null==(b=a.pG)||b?'<div class="drive-white-circle"></div>':"")+'<div class="drive-quantum-spinner active">'+fx({hh:An("spinner-blue")})+fx({hh:An("spinner-red")})+fx({hh:An("spinner-yellow")})+fx({hh:An("spinner-green")})+ "</div></div>")} function fx(a){return R('<div class="spinner-layer '+Kn(a.hh)+'"><div class="spinner-circle-clipper spinner-left"><div class="spinner-circle spinner-fit"></div></div><div class="spinner-gap-patch"><d iv class="spinner-circle spinner-fit"></div></div><div class="spinner-circle-clipper spinner-right"><div class="spinner-circle spinner-fit"></div></div></div>')};function gx(){return R('<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 hx(a){var b=a.error;return R('<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">'+Q(a.Xe)+" <br> "+Q(b)+"</div></div>")} function ix(a){a=a||{};a=a.gh;a=""+('<div class="drive-viewer-msg-loading '+(a?Kn(a):"")+'" role="status" tabindex="-1" aria-label="'+Dn("Loading")+'"><div class="drive-viewer-msg-loading-img drive-viewer-focus-to-default">'+Q(ex())+'</div><span class="drive-viewer-msg-loading-text drive-viewer-focus-to-default" aria-hidden="true">Loading…</span></div>');return R(a)} function jx(a){return R('<div id="'+Kn(a.id)+'" class="drive-viewer-thumbnail"><div class="drive-viewer-thumbnail-inner"><img class="drive-viewer-thumbnail-img" /></div></div>')}function kx(){return R('<div class="drive-viewer-icon drive-viewer-menuitem-icon"></div>')}function lx(a){a=a.url;return R('<a href="'+Kn(Ln(a))+'" target="_blank" class="drive-viewer-paginated-page-link" tabindex="0" rel="noreferrer" role="link" aria-label="'+Kn(a)+'"></a>')};function mx(a,b,c){Mw.call(this,W(a));this.za=a;Jw(this.C,0);Kw(this.C,c||100);this.Ja=!1;this.ha=this.La=this.eb=this.fa=nul l;this.Ha=Sw(this);this.X=null;this.cq=!0;this.oa&&0!=this.si&&Qw(this,!1);this.si=!1;"horizontal"!=this.Ub&&(a=this.ia(this.Ub),c=this.ia("horizontal"),this.Ub="horizontal",this.J()&&(Up(this.J(),a, c),a=this.Ob&&vs(this)?"right":"left",this.A.style[a]=this.A.style.top="",this.I.style[a]=this.I.style.top="",this.F&&(this.F.style[a]=this.F.style.top="",this.F.style.width=this.F.style.height= ""),Pw(this)));this.Ob=b;this.Ph(b&&Kq(this.B.A.body))}v(mx,Mw);f=mx.prototype;f.ea=function(){var a=P(gx,void 0,void 0,this.B);this.Fa(a);this.fa=Bj(this.B,"drive-viewer-slider-scale-filled",this.J( ));this.eb=this.A;this.La=Bj(this.B,"drive-viewer-slider-buffer",this.J())};f.Y=function(){mx.O.Y.call(this);V(this).listen(this,"change",this.pv).listen(this,"D",this.Lz).listen(this,"E",this.Kz).li sten(this.J(),"click",this.ov)};function nx(a,b){var c=cx(a,b);ox(a,c.x,!1);a.ua(b)} function ox(a,b,c){if(a.Ja){var d=Dq(a.fa).width;c?(a.X&&a.X.dispose(),a.X=new pw(a.fa,d,b,100),a.X.play()):Bq(a.fa,b)}}function px(a){a.Ja=!0;if(a.oa&&a.Ja){var b=cx(a,a.ja());ox(a,b.x,!1)}}f.pv=fun ction(){var a=Dq(this.fa).width,b=wr(this.eb);a!=b&&(ax(this)?ox(this,b,!1):ox(this,b,!0));a=this.ja()-this.Ha;this.Ha=this.ja();0!=a&&this.U(new qx(a))};f.Lz=function(a){this.ha=Wv(rx(this.za),"sd_" ,{ka:63,qa:pr(a)})};f.Kz=function(){this.ha&&($v(rx(this.za),this.ha),this.ha=null)}; f.ov=function(a){nv(ov(this.za),{ka:62,qa:pr(a)})};f.ia=function(){return"drive-viewer-slider-horizontal"};f.reset=function(a){var b=Sw(this);a||(this.Ha=b);this.ua(b)};f.Z=function(){mx.O.Z.call(thi s);this.X&&this.X.dispose()};function qx(a){y.call(this,"J");this.D=a}v(qx,y);function sx(){return R('<div class="drive-viewer-audio drive-viewer-itemview"><audio></audio></div>')}function tx(){return R('<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-co ntainer"></div><div class="drive-viewer-audio-volumecontrol-container"></div></div>')} function ux(){return R('<div class="drive-viewer-audio-progressbar"><div class="drive-viewer-audio-progressbar-time" tabindex="-1"></div></div>')}function vx(){return R('<div class="drive-viewer-audi o-volumecontrol"><div class="drive-viewer-icon drive-viewer-audio-volumecontrol-volume-button"></div></div>')};function wx(a){X.call(this,a);this.H=0;this.C=new mx(a,!1,1E3);this.ca(this.C);px(this.C );this.I=0;this.L=null;this.F=new ze(100)}v(wx,X);wx.prototype.ea=function(){var a=this.B,b=P(ux,void 0,void 0,a);this.D=b;this.C.ga(b);S(this.C.J(),"drive-viewer-audio-progressbar-slider");S(this.C. A,"drive-viewer-audio-progressbar-slider-thumb");this.L=Bj(a,"drive-viewer-audio-progressbar-time",b);$u(this.C.A,a);fq(this.J(),"direction","ltr")}; wx.prototype.Y=function(){wx.O.Y.call(this);xx(this);V(this).listen(this.C,"J",this.S).listen(this.F,"tick",this.N)};wx.prototype.N=function(){ax(this.C)||(this.F.stop(),this.U("K"))}; function xx(a,b){var c,d;n(b)&&0!=a.H?(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=Gt(new Bt("{MINUTES, plural, =0 {0 minutes }=1 {1 minute }other {# minutes }}{SECONDS, plural, =0 {0 seconds.}=1 {1 second.}other {# seconds.}}"),{MINUTES:d[0],SECONDS:d[1]})):(c="\u2013:\u2013\u2013",d="Not started.");nj(a.L,c);tk(a.L,d)} wx.prototype.S=function(){var a=this.C.ja();this.I!=a&&(this.F.stop(),this.I=a,xx(this,yx(this)),this.F.start())};function yx(a){return a.C.ja()/Rw(a.C)*a.H};function zx(a){X.call(this,a);this.F=new ft(this.B);this.ca(this.F);this.C=new mx(a,!1);this.ca(this.C);px(this.C);this.I=0;this.H=!1;this.L=!0}v(zx,X);var Ax={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"}; zx.prototype.ea=function(){var a=this.B,b=P(vx,void 0,void 0,a);this.D=b;var c=Bj(a,"drive-viewer-audio-volumecontrol-volume-button",this.J());rs(this.F,c);this.C.ga(b);S(this.C.J(),"drive-viewer-aud io-volumecontrol-slider");S(this.C.A,"drive-viewer-audio-volumecontrol-slider-thumb");$u([this.C.A,this.F.J()],a);fq(this.J(),"direction","ltr")};zx.prototype.Y=function(){zx.O.Y.call(this);V(this).l isten(this.C,"J",this.N).listen(this.F,"action",this.S);Bx(this)}; function Cx(a,b){nx(a.C,Math.floor(b/100*Rw(a.C)))}zx.prototype.S=function(){this.H?(Cx(this,this.I),this.H=!1):(this.I=Dx(this),Cx(this,0),this.H=!0);Bx(this)};zx.prototype.N=function(){var a=Dx(this);a:{for(var b in Ax)if(a<=b){a=Ax[Number(b)];break a}a=null}b=this.F.J();Sp(b,nb(Ax));S(b,a);this.H=!1;Bx(this);this.U("L")};function Bx(a){a.F.ta(a.H?"Unmute":"Mute")}function Dx(a){a=a.C.ja()/Rw(a.C);return Math.round(100*a)};function Ex(a){X.call(this,a);this.I=new ft(this.B);this.ca(this.I);this.S=null;this.F=new wx(a);this.ca(this.F);this.C=new zx(a);this.ca(this.C);t his.H=!1;this.L=this.N=0}v(Ex,X);f=Ex.prototype;f.ea=function(){this.D=P(tx,void 0,void 0,this.B)}; f.Y=function(){Ex.O.Y.call(this);this.S=U(this,"drive-viewer-audio-play-button");rs(this.I,this.S);$u([this.I.J(),this.J()],this.B);var a=U(this,"drive-viewer-audio-progressbar-container");this.F.ga( a);a=U(this,"drive-viewer-audio-volumecontrol-container");this.C.ga(a);V(this).listen(this.I,"action",this.vB).listen(this.F,"K",this.JB).listen(this.C,"L",this.BC);Fx(this)};f.onDeactivated=function (){Gx(this)}; function Hx(a,b){if(a.L!=b){a.L=b;var c=a.F,d=a.L;c.F.enabled||(c.I=Math.round(a.L/a.N*Rw(c.C)),xx(c,d),nx(c.C,c.I))}}f.vB=function(){this.H?Gx(this):this.play()};f.JB=function(){this.U("O")};f.BC=fu nction(){this.U("P")};f.play=function(){Vp(this.S,"drive-viewer-audio-play-icon","drive-viewer-audio-pause-icon");this.H=!0;Fx(this);this.U("N")};function Gx(a){Vp(a.S,"drive-viewer-audio-pause-icon" ,"drive-viewer-audio-play-icon");a.H=!1;Fx(a);a.U("M")}function Fx(a){a.I.ta(a.H?"Pause":"Play")};function Ix(a,b){ju.call(this,a,b);this.H=a;this.F=null;this.C=new Ex(b);this.ca(this.C);this.L=new ze(100);x(this,this.L)}v(Ix,ju);var Jx=new K(325,32);f=Ix.prototype;f.ea=function(){this.D=P(sx,null,void 0,this.B)}; f.Y=function(){Ix.O.Y.call(this);var a;a=this.H;a.D||(a.D=$i("audio"));a.D.canPlayType?(a=a.D.canPlayType(Ao(a)),a=""!=a&&"no"!=a):a=!1;a?(this.F=Aj(this.B,"audio",null,this.J())[0],V(this).listen(th is.F,"ended",this.Sz),this.C.ga(this.J()),V(this).listen(this.C,"N",this.wB).listen(this.C,"M",this.tB).listen(this.C,"O",this.KB).listen(this.C,"P",this.AC),V(this).listen(Kx(this.A),"s",this.Dt),V( this).listen(this.L,"tick",this.bm)):Lx(this,"Your browser is unable to play this audio file.")}; f.wB=function(){if(1==this.H.F)this.bm(),this.F.play(),this.L.start();else if(0==this.H.F){Do(this.H,2);var a=this.B,b=xg(L(this.A)),c=qg(L(this.A));this.N=Dj(a,"SOURCE");this.N.src=this.H.C(b,c);thi s.N.type=Ao(this.H);a.Ca(this.F,this.N);ml(V(this),this.N,"error",this.Ct);this.F.play();this.qp();V(this).listen(this.F,"progress",this.qp);this.F.readyState>=this.F.HAVE_CURRENT_DATA?this.wp():ml(V (this),this.F,"canplay",this.wp);nv(ov(this.A),{ka:24,item:this.H});nu(this)}}; f.bm=function(){Hx(this.C,this.F.currentTime)};f.tB=function(){this.F&&this.F.pause();this.L.stop()};f.KB=function(){1==this.H.F&&(this.L.stop(),Mx(this,yx(this.C.F)),this.L.start())};function Mx(a,b){try{a.F.currentTime=b}catch(c){a.F.currentTime=Nx(a)}}f.AC=function(){if(1==this.H.F){var a=Dx(this.C.C)/100;this.F.volume=a}}; f.Ba=function(){Ix.O.Ba.call(this);this.layout();var a=this.C.C;a.L&&(a.L=!1,Cx(a,100));uu(this);a=0==ug(L(this.A));Y(this.A).C&&a&&this.C.play();a=qu(this.A);ru(a,13,this.rn,this);ru(a,32,this.rn,th is);ru(a,187,this.un,this);ru(a,107,this.un,this);ru(a,189,this.tn,this);ru(a,109,this.tn,this)};f.ab=function(){Ix.O.ab.call(this);vu(this);this.L.stop();this.F&&this.F.pause();this.C.onDeactivated( )}; f.layout=function(){var a=this.J(),b=Jx.clone(),c=du(this);b.width=Math.min(b.width,c.width);b.height=Math.min(b.height,c.height);c=iu(this,b);Aq(a,b);mq(a,c)};f.Ct=function(){Do(this.H,4);Lx(this)}; function Lx(a,b){b?Bo(a.H,uo.ERROR,b,b,null):Bo(a.H,uo.ERROR,"There was a problem playing this audio file.")}f.wp=function(){Do(this.H,1);var a=this.C,b=this.F.duration;a.N!=b&&(a.N=b,a=a.F,a.H=b,xx( a,0));b=Dx(this.C.C)/100;a=yx(this.C.F);Mx(this,a);this.F.volume=b;this.I&&this.C.H&&(this.bm(),this.L.start())}; f.qp=function(){var a=Nx(this),b=this.C.F;Bq(b.C.La,a/b.H*100+"%")};f.rn=function(a){var b=this.A,c=Gj(W(b));!this.J().contains(c)&&!$t(au(b))||Pp(c,et.la().ia())||(a.preventDefault(),a.B(),a=this.C, a.H?Gx(a):a.play())};f.un=function(){var a=this.C,b=Dx(a.C);Cx(a.C,Math.min(100,b+10))};f.tn=function(){var a=this.C,b=Dx(a.C);Cx(a.C,Math.max(0,b-10))};function Nx(a){a=a.F.buffered;return 0==a.length?0:a.end(a.length-1)}f.Sz=function(){var a=this.C;Hx(a,a.N);Gx(a)}; f.Dt=function(){Ox(Y(this.A),this.H)&&Gx(this.C)};f.va=function(){Ix.O.va.call(this);Do(this.H,0)};function Px(a,b){gp.call(this,b||"au",a)}v(Px,gp);f=Px.prototype;f.nb=function(a){return hh(a)+fh(a)};f.Cb=function(a){return!!bh(a)&&!!fh(a)};f.tc=function(){return[2,5]};f.Eb=function(){return["application/ogg","application/x-flac","audio/"]};f.xb=function(){return Ov};f.rc=function() {return Ix};f.vg=function(){return!0};function Qx(a){Px.call(this,a,"au_d")}v(Qx,Px);f=Qx.prototype;f.nb=function(a){return hh(a)+gh(a)};f.Cb=function(a){return!!bh(a)&&!!gh(a)};f.xb=function(){retur n Pv};f.tc=function(){return[0]};f.sh=function(){return yg(L(this.A))?!1:!0};function Rx(a){return Rx.A(a)}Rx.A=function(a){return a+"_"};Rx.H=function(){throw Error("xid.literal must not be used in COMPILED mode.");};Rx.C=function(a){if(a&&a.constructor&&a.constructor.toString()===Object.toString()){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[Rx.A(c)]=a[c]);return b}throw Error("xid.object must be called with an object literal.");};Rx.B=!0;Rx.D=function(a){return a};Rx.F=function(){return"a_"!=Rx("a")};function Sx(a,b){this.D=a;this.B=b;this.constructor.Em||( this.constructor.Em={});this.constructor.Em[this.toString()]=this}Sx.prototype.toString=function(){this.A||(this.A=this.D.A+":"+this.B);return this.A};function Tx(a,b){Sx.call(this,a,b)}v(Tx,Sx);func tion Ux(a){this.A=a}new Ux("lib");function Vx(a){this.A=a}Vx.prototype.toString=function(){return this.A};/* 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 Wx(a,b){this.H=[];this.$=a;this.S=b||null;this.C=this.B=!1;this.A=void 0;this.N=this.aa=this.R=!1;this.I=0;this.D=null;this.F=0}f=Wx.prototype;f.cancel=function(a){if(this.B)this.A instanceof Wx&&this.A.cancel();else{if(this.D){var b=this.D;delete this.D;a?b.cancel(a):(b.F--,0>=b.F&&b.cancel())}this.$?this.$.call(this.S,this):this.N=!0;this.B||this.Na(new Xx(this))}};f.en=func tion(a,b){this.R=!1;Yx(this,a,b)};function Yx(a,b,c){a.B=!0;a.A=c;a.C=!b;Zx(a)} function $x(a){if(a.B){if(!a.N)throw new ay(a);a.N=!1}}f.xa=function(a){$x(this);Yx(this,!0,a)};f.Na=function(a){$x(this);Yx(this,!1,a)};function by(a,b,c){return cy(a,b,null,c)}function dy(a,b){return cy(a,null,b,void 0)}function ey(a,b,c){return cy(a,b,b,c)}function cy(a,b,c,d){a.H.push([b,c,d]);a.B&&Zx(a);return a}f.then=function(a,b,c){var d,e,g=new ae(function(a,b){d=a;e=b});cy (this,d,function(a){a instanceof Xx?g.cancel():e(a)});return g.then(a,b,c)};Zd(Wx); function fy(a,b){cy(a,b.xa,b.Na,b)}function gy(a,b){b instanceof Wx?by(a,t(b.Qe,b)):by(a,function(){return b})}Wx.prototype.Qe=function(a){var b=new Wx;fy(this,b);a&&(b.D=this,this.F++);return b};function hy(a){return Rb(a.H,function(a){return ka(a[1])})} function Zx(a){if(a.I&&a.B&&hy(a)){var b=a.I,c=iy[b];c&&(l.clearTimeout(c.A),delete iy[b]);a.I=0}a.D&&(a.D.F--,delete a.D);for(var b=a.A,d=c=!1;a.H.length&&!a.R;){var e=a.H.shift(),g=e[0],h=e[1],e=e[ 2];if(g=a.C?h:g)try{var k=g.call(e||a.S,b);n(k)&&(a.C=a.C&&(k==b||k instanceof Error),a.A=b=k);if($d(b)||"function"===typeof l.Promise&&b instanceof l.Promise)d=!0,a.R=!0}catch(m){b=m,a.C=!0,hy(a)||( c=!0)}}a.A=b;d&&(k=t(a.en,a,!0),d=t(a.en,a,!1),b instanceof Wx?(cy(b,k,d),b.aa=!0):b.then(k,d));c&&(b=new jy(b), iy[b.A]=b,a.I=b.A)}function ky(a){var b=new Wx;b.xa(a);return b}function ly(a){var b=new Wx;b.Na(a);return b}function ay(a){ua.call(this);this.je=a}v(ay,ua);ay.prototype.message="Deferred has already fired";ay.prototype.name="AlreadyCalledError";function Xx(a){ua.call(this);this.je=a}v(Xx,ua);Xx.prototype.message="Deferred was canceled";Xx.prototype.name="CanceledError";function jy(a){this.A=l.setTimeout(t(this.D,this),0);this.B=a}jy.prototype.D=function(){delete iy[this.A];throw this.B;}; var iy={};function my(a){w.call(this);this.B={};this.H={};this.F={};this.A={};this.R={};this.L={};this.V=a?a.I():new B;this.S=!a;this.D=null;a?(this.D=a,this.F=a.F,this.A=a.A,this.H=a.H,this.R=a.R):u ();a=ny(this);this!=a&&(a.C?a.C.push(this):a.C=[this])}v(my,w);function ny(a){for(;a.D;)a=a.D;return a}function oy(a,b){for(var c=a;c;){if(c==b)return!0;c=c.D}return!1}my.prototype.get=function(a){va r b=al(this,a);if(null==b)throw new py(a);return b}; function al(a,b){for(var c=a;c;c=c.D){if(c.Aa)throw Error("AppContext is disposed.");if(c.B[b])return c.B[b][0];if(c.L[b])break}if(c=a.F[b]){c=c(a);if(null==c)throw Error("Factory method for service "+b+" returned null or undefined.");qy(a,b,c);return c}return null}function qy(a,b,c){if(a.Aa)Fb(c);else{a.B[b]=[c,!0];c=ry(a,a,b);for(var d=0;d<c.length;d++)c[d].xa(null);delete a.H[b]}} function sy(a,b,c){a.F[b]=c;if(c=a.A[b]){if(1<c.length){for(var d=0;d<c.length;++d)c[d].index=d;c.sort(ty)}for(;c.length;)c.shift().d.xa(null);delete a.A[b]}}function ty(a,b){if(a.de!=b.de){if(oy(a.d e,b.de))return 1;if(oy(b.de,a.de))return-1}return a.index<b.index?-1:a.index==b.index?0:1}function ry(a,b,c){var d=[],e=a.A[c];e&&(Mb(e,function(a){oy(a.de,b)&&(d.push(a.d),Zb(e,a))}),0==e.length&&de lete a.A[c]);return d} function uy(a,b){a.A&&Bl(a.A,function(a,d,e){Mb(a,function(d){d.de==b&&Zb(a,d)});0==a.length&&delete e[d]})}my.prototype.Z=function(){if(ny(this)==this){var a=this.C;if(a)for(;a.length;)a[0].dispose( )}else for(var a=ny(this).C,b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}for(var c in this.B)a=this.B[c],a[1]&&a[0].dispose&&a[0].dispose();this.B=null;this.S&&this.V.dispose();uy(this,this) ;this.A=null;Fb(this.N);this.L=this.N=null;my.O.Z.call(this)};my.prototype.I=function(){return this.V}; function py(a){ua.call(this);this.id=a;this.message='Service for "'+a+'" is not registered'}v(py,ua);var vy=new Ux("fva");new Tx(vy,1);var mu=new Vx(Rx("drive.viewer.diagnostics.ActivityActionManager ")),wy=new Vx(Rx("drive.viewer.a11y.Announcer")),bl=new Vx(Rx("apps.apiary.ApiaryClient")),xy=new Vx(Rx("apps.devapps.AppDatastore")),yy=new Vx(Rx("drive.viewer.control.ChromeVisibilityManager")),zy= new Vx(Rx("drive.viewer.pb.Config")),Ay=new Vx(Rx("drive.viewer.ui.CustomButtonsProvider")),By=new Vx(Rx("drive.viewer.model.Deck")),Cy=new Vx(Rx("goog.dom.DomHelper")),Dy=new Vx(Rx("drive.gmail.orga nize.DriveFolderPicker")),Ey=new Vx(Rx("drive.viewer.ui.core.DriveFolderPicker")), dp=new Vx(Rx("drive.viewer.net.DriveService")),Fy=new Vx(Rx("drive.viewer.control.ApiaryExtractManager")),Gy=new Vx(Rx("drive.viewer.a11y.FocusManager")),Hy=new Vx(Rx("drive.viewer.ui.HatsManager")), Iy=new Vx(Rx("drive.viewer.diagnostics.ImpressionManager")),Jy=new Vx(Rx("drive.viewer.model.ItemFactory")),Ky=new Vx(Rx("drive.viewer.diagnostics.ItemLoadLatencyTracker")),Ly=new Vx(Rx("drive.viewer .keyboard.KeyboardService")),My=new Vx(Rx("drive.viewer.layout.LayoutMetrics")),Ny=new Vx(Rx("drive.viewer.net.LoaderService")), Oy=new Vx(Rx("drive.viewer.maps.MapsApiLoader")),Py=new Vx(Rx("drive.viewer.ui.NotificationManager")),Qy=new Vx(Rx("drive.viewer.control.OpenManager")),Ry=new Vx(Rx("drive.organize.OrganizeService")) ,fp=new Vx(Rx("drive.viewer.details.ParentDetailsCache")),Sy=new Vx(Rx("drive.organize.ParentUpdateService")),Ty=new Vx(Rx("drive.viewer.diagnostics.PerformanceManager")),Uy=new Vx(Rx("drive.viewer.p refs.PrefsManager")),Vy=new Vx(Rx("drive.viewer.proto.PreviewConfig")),Wy=new Vx(Rx("drive.viewer.ui.PromoProvider")), Xy=new Vx(Rx("drive.viewer.promo.PromoTooltipManager")),Yy=new Vx(Rx("drive.viewer.diagnostics.StatSender")),Zy=new Vx(Rx("drive.viewer.model.Store")),$y=new Vx(Rx("drive.viewer.model.Filmstrip")),az =new Vx(Rx("drive.viewer.ui.base.ThumbnailRenderer")),bz=new Vx(Rx("drive.viewer.model.UiState")),cz=new Vx(Rx("drive.viewer.model.Viewport")),dz=new Vx(Rx("drive.viewer.video.YoutubeApiLoader"));fun ction ez(){my.call(this,null)}v(ez,my);function L(a){return a.get(zy)}function fz(a){return al(a,xy)}function gz(a){return a.get(Py)}function pu(a){return a.get(Ay)}function Y(a){return a.get(By)}function W(a){return a.get(Cy)}function au(a){return a.get(Gy)}function hu(a){return a.get(My)}function qu(a){return a.get(Ly)}function hz(a){return al(a,$y)}function Kx(a){return a.get(bz)}function iz(a){return a.get(yy)}function ov(a){return a.get(Iy)}function rx(a){return a.get(Ty)} function eu(a){return a.get(cz)}ez.prototype.Oa=function(){var a=wf(L(this),dg,47),b;if(b=!!a)b=null==G(a,2)?!1:G(a,2);return b};function jz(a){w.call(this);this.A=a;this.D=rx(a);this.C=new M(this);x(this,this.C);this.B={}}v(jz,w);function kz(a,b){var c=wg(L(a.A)),d=b.ub().D,e=Ao(b),g=Wb(Hv,e),h=Wb(Iv,e),e=Wb(Jv,e),k=wf(c,Kf,16),d="ar_d"==d||"ar_g"==d,m=qh(b.A)||rh(b.A);return d&&!m&&!!c&&Qf(c)&&(g&&Sf(c)||h&&Mf(k)||e&&Lf(k))} function lz(a,b){var c=b.item,d=new ze(5E3);tb(a.B,c.getId(),d);Eb(c,function(){$v(this.D,b.kd,Rv.Df);var a=ub(this.B,c.getId());a&&(sb(this.B,c.getId()),a.stop())},a);a.C.listen(d,"tick",t(a.Yw,a,b) );d.start()}f=jz.prototype;f.Yw=function(a){var b=ub(this.B,a.item.getId());b&&b.stop();jl(al(this.A,dp),a.item.tb,t(this.xD,this,a),t(this.wD,this,a))}; f.xD=function(a,b){var c=a.item;if("FAILED"==b.status)$v(this.D,a.kd,Rv.$d),mz(this,to(c)),nz(this,c);else if("SUCCEEDED"==b.status){$v(this.D,a.kd,Rv.Ef);if(!this.A.Aa&&ou(Y(this.A))){var d=a.item,e=gz(this.A),g=Wb(Jv,Ao(d)),d=to(d),h=a.et;oz(e,g?"Messages from "+(d+(' were extracted to your mail account under the "Import: '+(h+'" label.'))):'Successfully extracted "'+(d+('" to '+(Aa(Ca(h))?"My Drive":h))),!0,1E4)}nz(this,c)}else a.Hi=0,pz(this,c)}; f.wD=function(a){var b=a.item;12<=a.Hi?($v(this.D,a.kd,Rv.$d),mz(this,to(b)),nz(this,b)):(a.Hi+=1,pz(this,b))};function nz(a,b){var c=ub(a.B,b.getId());c&&(c.stop(),sb(a.B,b.getId()),c.dispose());b.t b=null;b.U("r")}function pz(a,b){var c=ub(a.B,b.getId());c&&!c.enabled&&c.start()}f.Z=function(){hb(this.B,function(a,b){$v(this.D,"e_"+b,Rv.Df);a.dispose()},this);this.B={};jz.O.Z.call(this)};f.vD=f unction(a,b,c,d){a.tb=d.id;lz(this,{item:a,kd:b,et:c,Hi:0})}; function mz(a,b){if(!a.A.Aa&&ou(Y(a.A))){var c=gz(a.A);oz(c,'There was a problem extracting "'+(b+'".'),!0,1E4)}}f.uD=function(a,b){$v(this.D,b,Rv.$d);!this.A.Aa&&ou(Y(this.A))&&(oz(gz(this.A),"Faile d to start extract job.",!0,1E4),nz(this,a))};function qz(a){this.A=a.u||null;this.B=a.cc||null}qz.prototype.ia=function(){return this.B};function rz(a){var b={},c;for(c in a.A){var d=bc(a.A[c]);d.sort(sz);b[c]=d}this.A=b;this.B=a.B}var tz={10:32,16:32,32:64,48:128,64:128,128:256};function uz(a,b){var c;if(a.A[b])c=a.A[b];else if("doc_sh"==b)c=uz(a,"doc");else{a:{c=a.A;for(var d in c){c=c[d];break a}c=void 0}c=c||null}return c}function vz(a,b){var c=Tb(a,function(a){return a.size>=b});return c?c.icon:a[a.length-1].icon}function wz(a,b){this.icon=a;this.size=b}function sz(a,b){return a.size-b.size}function xz(){this.A={};this.B=!1};function yz(a){this.R=a.supportsCreate||!1;this.L=a.supportsImport||!1;this.N=a.useByDefault||!1;this.A=a.primaryMimeTypes||[];this.I= a.secondaryMimeTypes||[];this.D=a.primaryFileExtensions||[];this.H=a.secondaryFileExtensions||[];this.B=a.openUrlTemplate||"";this.F=a.createUrl||"";this.C=a.createInFolderTemplate||"";this.V=n(a.req uiresAuthorizationBeforeOpenWith)?a.requiresAuthorizationBeforeOpenWith:!0};function zz(a){this.A=a.absoluteScore||0;this.D=Az(a.mimeTypeScores||[]);this.B=Az(a.fileExtensionScores||[])}function Az(a){var b={};Lb(a,function(a){var d=a.type;a=a.score;null!=d&&null!=a&&(b[d]=a)});return b}function Bz(a,b){return b in a.D?a.D[b]:0}function Cz(a,b){return b in a.B?a.B[b]:0};function Dz(a){this.I=a.id;this.A=a.name;this.F=a.type||"WEB_ONLY";this.V=a.installed||!1;this.Pm=a.authorized||!1;this.zl=a.productId||null;this.R=Ez(a.icons);this.H=a.shortDescription||"";this.B=new yz(a);this.Qd=new zz(a.rankingInfo||{});this.Ts=a.chromeExtensionIds||[];this.D=!1} function Ez(a){var b=new xz;null!=a&&Lb(a,function(a){var d=a.iconUrl;if(null!=d&&0<d.length){var e={};e.u=null!=d?d:null;d=a.category;a=a.size;var e=new qz(e),g=b.A[d];g||(g=[],b.A[d]=g);g.push(new wz(e,a))}});return new rz(b)}f=Dz.prototype;f.getId=function(){return this.I};f.Dh=function(a){var b;b=this.R;var c=uz(b,"app");c?(a=!b.B&&1<window.devicePixelRatio?tz[a]||a:a,b=vz(c,a)):b=null;retu rn b?b.A:null};f.isInstalled=function(){return this.V};f.ra=function(){return this.B}; f.clone=function(){return Fz(this,this)};function Fz(a,b){if(null==b||"object"!=typeof b)return b;if(b instanceof Date){var c=new Date;c.setTime(b.getTime());return c}if(b instanceof Array){for(var c=[],d=0,e=b.length;d<e;d++)c[d]=Fz(a,b[d]);return c}if(b instanceof Object){c=Object.create(b.constructor.prototype);for(d in b)b.hasOwnProperty(d)&&(c[d]=Fz(a,b[d]));return c}throw Error("Unsupported type for cloning");};function Gz(){Dz.call(this,{id:"",name:"Default native app"})}v(Gz,Dz);function Hz(a,b,c){var d={};d.id=a;d.name=b;Dz.call(this,d);this.C=c||""}v(Hz,D z);Hz.prototype.Dh=function(){return this.C};function Iz(a,b){b||(b={});var c=window,d;d=a instanceof Yh?a:bi("undefined"!=typeof a.href?a.href:String(a));var e=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(",");wc()&&c.navigator&&c.na vigator.standalone&&e&&"_self"!=e?(g=c.document.createElement("A"),d=d instanceof Yh?d:bi(d),g.href=$h(d),g.setAttribute("target",e),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("",e,g),d=$h(d),c&&(zc&&-1!=d.indexOf(";")&&(d="'"+d.replace(/'/ g,"%27")+"'"),c.opener=null,Nh("b/12014412, meta tag with sanitized URL"),d='<META HTTP-EQUIV="refresh" content="0; url='+Ia(d)+'">',d=li(d,null),c.document.write(ji(d)),c.document.close())):c=c.open ($h(d),e,g);return c};function Jz(){return R('Unable to convert document. <a target="_blank" href="https://docs.google.com/a/google.com/forms/d/1RxuCHrRnISjAnf8Zl65sIPVgq2rV6kFVLZWkNVrY2HQ/viewform"> Report an issue</a>')}function Kz(){return R('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 Lz(){return R("Corrupted document. Please make sure the file is in the latest format.")} function Mz(){return R("Password protected files are not supported.")}function Nz(){return R('File is too large. <a target="_blank" href="https://support.google.com/docs/answer/37603">Learn more</a>')}function Oz(){return R("File could not be converted: conversion timed out. Please try again later.")}function Pz(){return R("File content doesn't match expected file format.")}function Qz(){return R("File has too many shapes, textboxes, or drawings.")} function Rz(){return R("File has too many images.")}function Sz(){return R("File has too many charts.")}function Tz(){return R("Sorry, an error occurred when opening this file. Please try again.")}function Uz(){return R("Sorry, we were unable to authorize this app for all of the files you attempted to open. Please try again.")}function Vz(){return R("Sorry, opening multiple files with this app is not supported.")};function Wz(a){return Xz(a)||Yz(a)&&"application/vnd.google-apps.folder"!=a}function Xz(a){return wa(a,"application/vnd.google-apps.drive-sdk")}func tion Yz(a){return!Xz(a)&&wa(a,"application/vnd.google-apps")};var Zz=/{ids}/g,$z=/{exportIds}/g,aA=/%22ids%22:%5B%22{ids}%22%5D,?/,bA=/%22exportIds%22:%5B%22{exportIds}%22%5D,?/,cA=/state=%7B/; function dA(a,b){var c=[],d=[],e;for(e in b)if(b.hasOwnProperty(e)){var g=b[e];1==g||2==g?c.push(e):3==g&&d.push(e)}cA.test(a)?(a=0<c.length?a.replace(Zz,c.join(encodeURI('","'))):a.replace(aA,""),a= 0<d.length?a.replace($z,d.join(encodeURI('","'))):a.replace(bA,"")):(a=0<c.length?a.replace(Zz,c.join(",")):a.replace(Zz,""),a=0<d.length?a.replace($z,d.join(",")):a.replace($z,""));return a};function eA(a,b){w.call(this);this.A=a;this.B=b}v(eA,w);function fA(a,b,c){if(c.ra()){c=c.ra().A;a=a.B.A.get(b,null)||[];var d={};for(b=0;b<a.length;b++)d[a[b]]=!0;Tb(c,function(a){return d[a]})}}function gA(a,b,c,d,e){var g=null,h=d.ra().B;Aa(h)||(g={},g[b]=e,g=dA(h,g));return g&&hA(d,c,e)?ky(g):dy(iA(a.A,b,d,e),function(){return ly("T")})}function hA(a,b,c){return Wz(b)&&1==c?!0:(a=a.ra())&&!a.V?!0:!1}eA.prototype.D=function(a,b){return gA(this,b.Zw,b.mimeType,a,2)};function jA(a){switch(a){case "conversionCorruptedInput":return Lz;case "conversionInputDoesNo tMatchSpecifiedMimeType":return Pz;case "conversionInputTooLarge":case "conversionOutputTooLarge":return Nz;case "badRequest":case "conversionMissingCredentials":return Mz;case "conversionTimeout":re turn Oz;case "conversionTooManyCharts":return Sz;case "conversionTooManyDrawings":return Qz;case "conversionTooManyImages":return Rz;case "conversionUnsupportedFormat":return Kz;case "S":return Tz;case "T":return Uz; case "U":return Vz;default:return Jz}};function kA(){w.call(this);this.A={};this.B=0}v(kA,w);f=kA.prototype;f.nE=function(a,b){var c=document;if(c.createEvent){var d=!!b&&!Ac,e=d&&!Dc,d=d&&Dc,g=$i("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,e,!1,!1,d,0,null);dj(c.body,g);g.dispatchEvent(h);hj(g )}else c=lA("",""),D(t(this.kr,this,c,a),0)};f.nG=function(a,b){var c=mA(this,a);c&&(sb(this.A,a),this.kr(c,b))}; f.mG=function(a,b){var c=mA(this,a);if(c){var d=c.document.getElementById("message");d&&(mn(d,jA(b)),(c=c.document.getElementById("loading"))&&T(c,!1),sb(this.A,a))}};function mA(a,b){var c=ub(a.A,b);if(c){if(!c.closed)return c;sb(a.A,b)}return null}f.kr=function(a,b){a.location.replace(b)}; function lA(a,b){var c=Iz("",{target:"_blank",noreferrer:!0}),d;d=d||{};d=""+('<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>'+Dn("Loading...")+'</title></hea d><body style="'+(d.Ea?"/*"+d.Ea+"*/":"")+'border: 0; margin: 0; padding: 0; font-family: arial,sans-serif;"><table id="contents" style="'+(d.Ea?"/*"+d.Ea+"*/":"")+'width: 100%; height: 90%;"><tbody><tr valign="middle" style="'+(d.Ea?"/*"+d.Ea+"*/":"")+'text-align: center;"><td><div id="logo"><img src="'+ Kn(Qn(b))+'" /></div><div style="'+(d.Ea?"/*"+d.Ea+"*/":"")+'color: #990000" id="message"><div style="'+(d.Ea?"/*"+d.Ea+"*/":"")+'display: inline; margin-left: 4px;"></div></div><div id="loading"><img src="'+Kn(Qn("//ssl.gstatic.com/ui/v1/activityindicator/loading.gif"))+'" style="'+(d.Ea?"/*"+d.Ea+"*/":"")+'padding-top:30px;"/></div></td></tr></tbody></table></body></html>');d= R(d);d=kn(d);c.document.open();c.document.write(ji(d));c.document.title=a;c.document.close();return c} f.Z=function(){rb(this.A);kA.O.Z.call(this)};function nA(a,b){y.call(this,a,b)}v(nA,y);function oA(a){var b=new rl;n(a.B)&&!Aa(a.B)&&b.Af(a.B);n(a.A)&&0<a.A&&b.Hg(a.A);a=a.getData();H(b,1,a.naturalWi dth);H(b,2,a.naturalHeight);return b}function pA(a,b,c,d){var e=new tv,g=a.getId();H(e,1,g);H(e,2,a.A);n(b)&&H(e,3,b);n(c)&&H(e,4,c);n(d)&&H(e,5,d);a=new wv;yf(a,2,e);return a}function qA(a){var b=wf(a,wv,11);b||(b=new wv,yf(a,11,b));return b};var rA=["dv_atd",3],sA=["dv_d",14],tA=["dv_do",12],uA=["dv_po",4],vA=["dv_rn",11],wA=["dv_ra",15],xA=["dv_s",8],yA=["dv_ud",16];function zA(a,b,c){this.B=c||[];this.A=b}zA.prototype.getSelected=function(){return this.B};function AA(a,b,c){zA.call(this,0,b);this.D=!!c}v(AA,zA);function BA(a,b){Xj.call(this,a,b)}v(BA,Xj);function CA(a,b,c){B.call(this);this.A=a;(c||{}).dv_br=b[1];this.action=new BA(b[0],c);x(this,this.action);this.C=new M(this);x(this,this.C);this.H=new fk(this);x(this,this.H);gk(this.H,this.action,Uj,this.K d)}v(CA,B);function DA(a){B.call(this);this.F=a;this.A=null;this.C=!1;this.D=[];this.B=a.get(Zy)}v(DA,B);function EA(a,b,c){var d=-1;if(b=FA(a.B,b))var e=b.getId(),d=Ub(a.B.A,function(a){return a.getId()==e});0>d&&(d=0);GA(a,d,void 0,c)}function HA(a){return a.B.A.length}function ou(a){return null!==a.A&&!!Z(a)}function Z(a){return a.B.A[a.A]}DA.prototype.getSelected=function(){return this.D};function IA(a){return 0<a.D.length} function GA(a,b,c,d){if(b!=a.A){a.C=ou(a)?!1:!0;c=new JA(c||null,d);a.A=b;b=hu(a.F);if(2==ug(L(b.A))){switch(Z(Y(b.A)).ub().D){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":b.D=0;b.B=0;break;default:b.D=b.B}b.U("ra")}a.U(c)}}function Ox(a,b){return ou(a)&&b.getId()==Z(a).getId()}function JA(a,b){y.call(this,"$");this.cause=a;this.D=b}v(JA,y);function KA(a,b,c){y.call(this,"ea");this.item=a;this.success=b;this.payload=c}v(KA,y);function LA(a,b){CA.call(this,a,b,{visible:!1,enabled:!1 ,dv_efs:!1,dv_vfs:!1,dv_us:!1});this.D={};this.I=rx(a);var c=Y(a);this.C.listen(c,"$",this.hp);this.sf!==q&&this.C.listen(c,"n",this.sf)}v(LA,CA);f=LA.prototype;f.hp=function(){var a=this.lc();this.a ction.setVisible(a);this.action.setEnabled(a)};f.sf=q;function MA(a,b){var c=b.target.Pb().Pb(),d=Y(a.A);return ou(d)&&c.getId()==Z(d).getId()}f.lc=function(){if(this.A.Aa)return!1;var a=Y(this.A);return ou(a)&&!!gh(Z(a).A)}; function NA(a,b,c,d){var e=b.getId();a.D[e]&&a.D[e].cancel();a.D[e]=c;OA(a,d?a.nk():a.Rf(),b,c);Nk(c,t(a.bi,a,b,!!d));Ok(c,function(a){a instanceof Ck||this.rf(b)},a);Eb(a,function(){this.D[e].cancel ()},a)}f.bi=q;f.rf=q;function OA(a,b,c,d){null!=b&&(b=Wv(a.I,"da_",{ka:b,item:c}),a=t(a.RB,a,b),Fk(d,a,void 0))}f.RB=function(a,b){var c;c="success"==b.getState()?Rv.Ef:b.fc()?Rv.Df:Rv.$d;$v(this.I,a ,c)};f.Rf=function(){return null};f.nk=function(){return null};function PA(a){LA.call(this,a,rA);this.action.setProperty("dv_us",!0)}v(PA,LA);f=PA.prototype;f.lc=function(){var a=Z(Y(this.A));return! !gh(a.A)&&3==a.aa};f.sf=function(a){MA(this,a)&&(a=this.lc(),this.action.setVisible(a),this.action.setEnabled(a))}; f.Kd=function(a){var b=Z(Y(this.A)),c=yo(b),d=al(this.A,Sy);a.data instanceof AA&&a.data.D?(a=QA(d,gh(b.A),void 0,["root"]),a.then(t(this.tC,this,b),t(this.sC,this,b)),NA(this,b,a,!0)):3==c&&(zo(b,2) ,a=QA(d,gh(b.A),["root"]),a.then(t(this.Ly,this,b),t(this.Jy,this,b)),NA(this,b,a,!1))};f.Ly=function(a){zo(a,4);Xo(a.Da.ra(),["root"])};f.Jy=function(a){zo(a,3)};f.tC=function(a){zo(a,3);Xo(a.Da.ra( ),void 0,["root"]);this.A.Aa||oz(gz(this.A),"Action undone.",!1,5E3)}; f.sC=function(a){zo(a,4);this.A.Aa||oz(gz(this.A),"Action could not be undone.",!1,5E3)};f.Rf=function(){return null};f.nk=function(){return 55};function RA(a){a=(a=Fg(L(a)))&&Xf(a);return 1==a||10==a}function SA(a){var b=a.A;a=gh(b);b=lh(b);return!Aa(Ca(a))&&(0==b||6==b)};function TA(a){LA.call(this,a,tA);this.B=RA(a);this.action.setProperty("icon",this.B?"drive-viewer-organize-icon" :"drive-viewer-drive-organize-icon");a=this.B?"Move to...":"Organize";this.action.setProperty("label",a);this.action.setProperty("hint",a)}v(TA,LA);TA.prototype.lc=function(){var a=this.A,b=Z(Y(a)),a =(a=pu(a).B)&&a.isEnabled()&&a.da();if(!gh(b.A)||a||4!=b.aa)return!1;b=b.Da.ra();return!!b&&(!this.B||1==b.B)}; TA.prototype.sf=function(a){MA(this,a)&&(a=this.lc(),this.action.setVisible(a),this.action.setEnabled(a))};TA.prototype.Kd=q;function UA(a){B.call(this);this.A=null;this.B=a;a=A||yc||Bc&&!Nc("531")&& "TEXTAREA"==a.tagName;this.D=new M(this);this.D.listen(this.B,a?["keydown","paste","cut","drop","input"]:"input",this)}v(UA,B); UA.prototype.handleEvent=function(a){if("input"==a.type)A&&Nc(10)&&0==a.keyCode&&0==a.F||(VA(this),this.U(WA(a)));else if("keydown"!=a.type||Xq(a)){var b="keydown"==a.type?this.B.value:null;A&&229==a .keyCode&&(b=null);var c=WA(a);VA(this);this.A=D(function(){this.A=null;this.B.value!=b&&this.U(c)},0,this)}};function VA(a){null!=a.A&&(E(a.A),a.A=null)}function WA(a){a=new Xc(a.A);a.type="input";r eturn a}UA.prototype.Z=function(){UA.O.Z.call(this);this.D.dispose();VA(this);delete this.B};function XA(a){is.call(this,a)}v(XA,is);f=XA.prototype;f.jf=null;f.Fa=function(a){XA.O.Fa.call(this,a);YA( this)};f.ea=function(){this.D=this.B.ma("INPUT",{type:"text"});YA(this)};function YA(a){a.Ll();a.jf=new UA(a.J());nd(a.jf,"input",a.Ll,!1,a)}f.Ll=function(){var a=this.J();if(a){var b=this.ja();switch(Jh(b)){case 1:a.dir="ltr";break;case -1:a.dir="rtl";break;default:a.removeAttribute("dir")}}};f.ua=function(a){var b=this.J();null!=b.value?b.value=a:nj(b,a);this.Ll()}; f.ja=function(){var a=this.J();return null!=a.value?a.value:wj(a)};f.Z=function(){this.jf&&(xd(this.jf),this.jf.dispose(),this.jf=null,XA.O.Z.call(this))};var ZA=A?'javascript:""':"about:blank";funct ion $A(a,b){var c;c=b?Th(b):"";return a.ma("iframe",{frameborder:0,style:"border:0;vertical-align:bottom;"+c,src:ZA})}function aB(a,b,c,d){var e=Mi(a);b=qi("html",{},si(qi("head",{},b),qi("body",{},c )));d=$A(e,d);a.appendChild(d);a=d.contentDocument||d.contentWindow.document;a.open();a.write(ji(b));a.close();return d};function bB(a){B.call(this);this.A=a;a=A?"focusout":"blur";this.B=nd(this.A,A? "focusin":"focus",this,!A);this.D=nd(this.A,a,this,!A)}v(bB,B);bB.prototype.handleEvent=function(a){var b=new Xc(a.A);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.U(b)};bB.prot otype.Z=function(){bB.O.Z.call(this);wd(this.B);wd(this.D);delete this.A};function cB(a,b){this.D=a;this.B=b};function dB(a,b){B.call(this);this.D=new M(this);this.Gg(a||null);b&&(this.qf=b)}v(dB,B); f=dB.prototype;f.ec=null;f.Rm=!0;f.Qm=null;f.nf=!1;f.yi=-1;f.Tk=!1;f.qf="toggle_display";f.J=function(){return this.ec};f.Gg=function(a){eB(this);this.ec=a};function eB(a){if(a.nf)throw Error("Can not change this state of the popup while showing.");}f.da=function(){return this.nf}; f.setVisible=function(a){this.V&&this.V.stop();this.R&&this.R.stop();if(a){if(!this.nf&&this.xg()){if(!this.ec)throw Error("Caller must call setElement before trying to show the popup");this.Tb();a=O i(this.ec);this.Tk&&this.D.listen(a,"keydown",this.sD,!0);if(this.Rm)if(this.D.listen(a,"mousedown",this.Fo,!0),A){var b;try{b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=b.contentDocument||b.contentWindow.document}catch(d){break}a=c;b=a.activeElement}this.D.listen(a,"mousedown", this.Fo,!0);this.D.listen(a,"deactivate",this.iq)}else this.D.listen(a,"blur",this.iq);"toggle_display"==this.qf?fB(this):"move_offscreen"==this.qf&&this.Tb();this.nf=!0;this.yi=u();this.V?(ud(this.V ,"end",this.$h,!1,this),this.V.play()):this.$h()}}else gB(this)};f.Tb=q;function gB(a,b){if(!a.nf||!a.U({type:"beforehide",target:b}))return!1;a.D&&a.D.removeAll();a.nf=!1;u();a.R?(ud(a.R,"end",sa(a. dn,b),!1,a),a.R.play()):a.dn(b);return!0} f.dn=function(a){"toggle_display"==this.qf?this.Ip():"move_offscreen"==this.qf&&(this.ec.style.top="-10000px");this.jg(a)};function fB(a){a.ec.style.visibility="visible";T(a.ec,!0)}f.Ip=function(){th is.ec.style.visibility="hidden";T(this.ec,!1)};f.xg=function(){return this.U("beforeshow")};f.$h=function(){this.U("show")};f.jg=function(a){this.U({type:"hide",target:a})};f.Fo=function(a){a=a.targe t;mj(this.ec,a)||hB(this,a)||150>u()-this.yi||gB(this,a)}; f.sD=function(a){27==a.keyCode&&gB(this,a.target)&&(a.preventDefault(),a.B())};f.iq=function(a){var b=Oi(this.ec);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||mj(this.ec,a) ||"BODY"==a.tagName)return}else if(a.target!=b)return;150>u()-this.yi||gB(this)};function hB(a,b){return Rb(a.Qm||[],function(a){return b===a||mj(a,b)})}f.Z=function(){dB.O.Z.call(this);this.D.dispos e();Fb(this.V);Fb(this.R);delete this.ec;delete this.D;delete this.Qm};function iB(a,b){is.call(this,b);this.na=!!a;this.S=null}v(iB,is);f=iB.prototype;f.Ek=null;f.Zh=!1;f.Yb=null;f.qb=null;f.vc=null ;f.Dk=!1;f.ia=function(){return"goog-modalpopup"};f.af=function(){return this.Yb};f.ea=function(){iB.O.ea.call(this);var a=this.J(),b=Ea(this.ia()).split(" ");Qp(a,b);rj(a,!0);T(a,!1);jB(this);kB(thi s)};function jB(a){a.na&&!a.qb&&(a.qb=$A(a.B),a.qb.className=a.ia()+"-bg",T(a.qb,!1),Hq(a.qb,0));a.Yb||(a.Yb=a.B.ma("DIV",a.ia()+"-bg"),T(a.Yb,!1))} function kB(a){a.vc||(a.vc=Dj(a.B,"SPAN"),T(a.vc,!1),rj(a.vc,!0),a.vc.style.position="absolute")}function lB(a){a.Dk=!0;try{a.vc.focus()}catch(b){}D(a.Eo,0,a)}f.Eo=function(){this.Dk=!1};f.ue=functio n(a){return!!a&&"DIV"==a.tagName};f.Fa=function(a){iB.O.Fa.call(this,a);a=Ea(this.ia()).split(" ");Qp(this.J(),a);jB(this);kB(this);rj(this.J(),!0);T(this.J(),!1)}; f.Y=function(){this.qb&&fj(this.qb,this.J());fj(this.Yb,this.J());iB.O.Y.call(this);gj(this.vc,this.J());this.Ek=new bB(this.B.A);V(this).listen(this.Ek,"focusin",this.onFocus);mB(this,!1)};f.va=func tion(){this.da()&&this.setVisible(!1);Fb(this.Ek);iB.O.va.call(this);hj(this.qb);hj(this.Yb);hj(this.vc)}; f.setVisible=function(a){if(a!=this.Zh)if(this.I&&this.I.stop(),this.N&&this.N.stop(),this.H&&this.H.stop(),this.L&&this.L.stop(),this.oa&&mB(this,a),a){if(this.U("beforeshow")){try{this.S=this.B.A.a ctiveElement}catch(e){}this.Gl();this.ig();V(this).listen(Fj(this.B),"resize",this.Gl);nB(this,!0);this.hg();this.Zh=!0;this.I&&this.N?(ud(this.I,"end",this.Yh,!1,this),this.N.play(),this.I.play()):t his.Yh()}}else if(this.U("beforehide")){V(this).wa(Fj(this.B),"resize",this.Gl);this.Zh=!1;this.H&&this.L? (ud(this.H,"end",this.Xh,!1,this),this.L.play(),this.H.play()):this.Xh();a:{try{var b=this.B,c=b.A.body,d=b.A.activeElement||c;if(!this.S||this.S==c){this.S=null;break a}(d==c||b.contains(this.J(),d) )&&this.S.focus()}catch(e){}this.S=null}}}; function mB(a,b){a.ha||(a.ha=new cB(a.D,a.B));var c=a.ha;if(b){c.A||(c.A=[]);for(var d=c.B.getChildren(c.B.A.body),e=0;e<d.length;e++){var g=d[e];g==c.D||qk(g,"hidden")||(pk(g,"hidden",!0),c.A.push(g ))}}else if(c.A){for(e=0;e<c.A.length;e++)c.A[e].removeAttribute("aria-hidden");c.A=null}}function nB(a,b){a.qb&&T(a.qb,b);a.Yb&&T(a.Yb,b);T(a.J(),b);T(a.vc,b)}f.Yh=function(){this.U("show")};f.Xh=fu nction(){nB(this,!1);this.U("hide")};f.da=function(){return this.Zh};f.hg=function(){this.Do()}; f.Gl=function(){this.qb&&T(this.qb,!1);this.Yb&&T(this.Yb,!1);var a=this.B.A,b=Vi(Zi(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth)),a=Math.max(b.height,Mat h.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.qb&&(T(this.qb,!0),Aq(this.qb,c,a));this.Yb&&(T(this.Yb,!0),Aq(this.Yb,c,a))}; f.ig=function(){var a=Zi(this.B.A)||window;if("fixed"==lq(this.J()))var b=0,c=0;else c=Xi(this.B.A),b=c.x,c=c.y;var d=Dq(this.J()),a=Vi(a),b=Math.max(b+a.width/2-d.width/2,0),c=Math.max(c+a.height/2- d.height/2,0);mq(this.J(),b,c);mq(this.vc,b,c)};f.onFocus=function(a){this.Dk?this.Eo():a.target==this.vc&&D(this.Do,0,this)};f.Do=function(){try{A&&this.B.A.body.focus(),this.J().focus()}catch(a){}} ; f.Z=function(){Fb(this.I);this.I=null;Fb(this.H);this.H=null;Fb(this.N);this.N=null;Fb(this.L);this.L=null;iB.O.Z.call(this)};function oB(a,b,c){iB.call(this,b,c);this.C=a||"modal-dialog";this.A=pB() }v(oB,iB);f=oB.prototype;f.Sn=!0;f.ng=!0;f.ll=!0;f.$g=.5;f.Ak="";f.ze=null;f.Jd=null;f.mf=!1;f.Mb=null;f.Nb=null;f.Vi=null;f.pb=null;f.Cc=null;f.ib=null;f.ia=function(){return this.C};f.setTitle=func tion(a){this.Ak=a;this.Nb&&nj(this.Nb,a)};function qB(a,b){a.ze=b;a.Cc&&Ki(a.Cc,b)}f.getContent=function(){return null!=this.ze?ji(this.ze):""};function rB(a){a.J()||a.ga()}f.Va=function(){rB(this);r eturn this.Cc}; function sB(a){rB(a);return a.Mb}f.af=function(){rB(this);return oB.O.af.call(this)};function tB(a,b){a.$g=b;if(a.J()){var c=a.af();c&&Hq(c,a.$g)}}function uB(a,b){a.ll=b;if(a.oa){var c=a.B,d=a.af(),e=a.qb;b?(e&&c.Pp(e,a.J()),c.Pp(d,a.J())):(c.Sa(e),c.Sa(d))}a.da()&&mB(a,b)}function vB(a,b){var c=Ea(a.C+"-title-draggable").split(" ");a.J()&&(b?Qp(a.Mb,c):Sp(a.Mb,c));b&&!a.Jd?(a.J d=new yw(a.J(),a.Mb),Qp(a.Mb,c),nd(a.Jd,"start",a.yy,!1,a)):!b&&a.Jd&&(a.Jd.dispose(),a.Jd=null)} f.ea=function(){oB.O.ea.call(this);var a=this.J(),b=this.B;this.Mb=b.ma("DIV",this.C+"-title",this.Nb=b.ma("SPAN",{className:this.C+"-title-text",id:this.getId()},this.Ak),this.pb=b.ma("SPAN",this.C+ "-title-close"));dj(a,this.Mb,this.Cc=b.ma("DIV",this.C+"-content"),this.ib=b.ma("DIV",this.C+"-buttons"));ok(this.Nb,"heading");ok(this.pb,"button");rj(this.pb,!0);tk(this.pb,"Close");this.Vi=this.N b.id;ok(a,"dialog");pk(a,"labelledby",this.Vi||"");this.ze&&Ki(this.Cc,this.ze);T(this.pb,this.ng);this.A&& (a=this.A,a.dc=this.ib,a.ga());T(this.ib,!!this.A);tB(this,this.$g)}; f.Fa=function(a){oB.O.Fa.call(this,a);a=this.J();var b=this.C+"-content";this.Cc=Ri(document,null,b,a)[0];this.Cc||(this.Cc=this.B.ma("DIV",b),this.ze&&Ki(this.Cc,this.ze),a.appendChild(this.Cc));var b=this.C+"-title",c=this.C+"-title-text",d=this.C+"-title-close";(this.Mb=Ri(document,null,b,a)[0])?(this.Nb=Ri(document,null,c,this.Mb)[0],this.pb=Ri(document,null,d,this.Mb)[0]):(this.Mb=this.B.ma ("DIV",b),a.insertBefore(this.Mb,this.Cc));this.Nb?(this.Ak=uj(this.Nb),this.Nb.id||(this.Nb.id=this.getId())): (this.Nb=$i("SPAN",{className:c,id:this.getId()}),this.Mb.appendChild(this.Nb));this.Vi=this.Nb.id;pk(a,"labelledby",this.Vi||"");this.pb||(this.pb=this.B.ma("SPAN",d),this.Mb.appendChild(this.pb));T (this.pb,this.ng);b=this.C+"-buttons";if(this.ib=Ri(document,null,b,a)[0]){if(a=this.A=new wB(this.B),(b=this.ib)&&1==b.nodeType){a.dc=b;for(var b=a.dc.getElementsByTagName("BUTTON"),c=0,e,g;d=b[c];c ++)if(e=d.name||d.id,g=uj(d)||d.value,e){var h=0==c;a.set(e,g,h,"cancel"==d.name);h&&S(d,"goog-buttonset-default")}}}else this.ib= this.B.ma("DIV",b),a.appendChild(this.ib),this.A&&(a=this.A,a.dc=this.ib,a.ga()),T(this.ib,!!this.A);tB(this,this.$g)};f.Y=function(){oB.O.Y.call(this);V(this).listen(this.J(),"keydown",this.Co).list en(this.J(),"keypress",this.Co);V(this).listen(this.ib,"click",this.rD);vB(this,!0);V(this).listen(this.pb,"click",this.fE);var a=this.J();ok(a,"dialog");""!==this.Nb.id&&pk(a,"labelledby",this.Nb.id );this.ll||uB(this,!1)};f.va=function(){this.da()&&this.setVisible(!1);vB(this,!1);oB.O.va.call(this)}; f.setVisible=function(a){a!=this.da()&&(this.oa||this.ga(),oB.O.setVisible.call(this,a))};f.Yh=function(){oB.O.Yh.call(this);this.U("aftershow")};f.Xh=function(){oB.O.Xh.call(this);this.U("afterhide" );this.mf&&this.dispose()}; f.yy=function(){var a=this.B.A,b=Vi(Zi(a)||window),c=Math.max(a.body.scrollWidth,b.width),a=Math.max(a.body.scrollHeight,b.height),d=Dq(this.J());"fixed"==lq(this.J())?Aw(this.Jd,new Yp(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))):Aw(this.Jd,new Yp(0,0,c-d.width,a-d.height))};f.fE=function(){xB(this)};function xB(a){if(a.ng){var b=a.A,c=b&&b.Rj;c?(b=b.get(c),a .U(new yB(c,b))&&a.setVisible(!1)):a.setVisible(!1)}}function zB(a){a.ng=!1;a.pb&&T(a.pb,a.ng)} f.Z=function(){this.ib=this.pb=null;oB.O.Z.call(this)};function AB(a,b){a.A=b;if(a.ib){if(a.A){var c=a.A;c.dc=a.ib;c.ga()}else Ki(a.ib,ui);T(a.ib,!!a.A)}}f.rD=function(a){a:{for(a=a.target;null!=a&&a !=this.ib;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.A.get(a);this.U(new yB(a,b))&&this.setVisible(!1)}}; f.Co=function(a){var b=!1,c=!1,d=this.A,e=a.target;if("keydown"==a.type)if(this.Sn&&27==a.keyCode){var g=d&&d.Rj,e="SELECT"==e.tagName&&!e.disabled;g&&!e?(c=!0,b=d.get(g),b=this.U(new yB(g,b))):e||(b=!0)}else 9==a.keyCode&&a.shiftKey&&e==this.J()&&lB(this);else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)g=e.name;else if(e==this.pb)xB(this);else if(d){var h=d.Of,k=h&&BB(d,h),e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!k||k.disabled||e||(g=h)}g&&d&&(c=!0, b=this.U(new yB(g,String(d.get(g)))))}else e==this.pb&&32==a.keyCode&&xB(this);if(b||c)a.B(),a.preventDefault();b&&this.setVisible(!1)};function yB(a,b){this.type="dialogselect";this.key=a;this.capti on=b}v(yB,y);function wB(a){a||Mi();wl.call(this)}v(wB,wl);f=wB.prototype;f.Of=null;f.dc=null;f.Rj=null;f.set=function(a,b,c,d){wl.prototype.set.call(this,a,b);c&&(this.Of=a);d&&(this.Rj=a);return this};function CB(a,b,c,d){return a.set(b.key,b.caption,c,d)} f.ga=function(){if(this.dc){Ki(this.dc,ui);var a=Mi(this.dc);this.forEach(function(b,c){var d=a.ma("BUTTON",{name:c},b);c==this.Of&&(d.className="goog-buttonset-default");this.dc.appendChild(d)},this )}};f.J=function(){return this.dc};function BB(a,b){for(var c=a.dc.getElementsByTagName("BUTTON"),d=0,e;e=c[d];d++)if(e.name==b||e.id==b)return e;return null}function DB(a,b){var c=BB(a,"ok");c&&(c.d isabled=!b)} var EB={key:"ok",caption:"OK"},FB={key:"cancel",caption:"Cancel"},GB={key:"yes",caption:"Yes"},HB={key:"no",caption:"No"},IB={key:"save",caption:"Save"},JB={key:"continue",caption:"Continue"};functio n pB(){return CB(CB(new wB,EB,!0),FB,!1,!0)}"undefined"!=typeof document&&(CB(new wB,EB,!0,!0),pB(),CB(CB(new wB,GB,!0),HB,!1,!0),CB(CB(CB(new wB,GB),HB,!0),FB,!1,!0),CB(CB(CB(new wB,JB),IB),FB,!0,!0 ));function KB(a,b,c,d,e,g,h){oB.call(this,e,g,h);this.X=this.getId()+".ie";this.setTitle(a);a=qi("label",{"for":this.X},mi(b));qB(this,si(a,vi,vi));this.rb=c;this.Fk=n(d)?d:"";c=new wB(h);c.set("ok","OK",!0);c.set("cancel","Cancel",!1,!0);AB(this,c)}v(KB,oB);f=KB.prototype;f.rb=q;f.Fk="";f.$a=null;f.Yk=!1;f.Go=1;f.ih=0;f.vr=Gd;f.Y=function(){KB.O.Y.call(this);V(this).listen(thi s,"dialogselect",this.pq);V(this).listen(this.$a,["keyup","change"],this.oA)}; f.ea=function(){KB.O.ea.call(this);var a={className:this.ia()+"-userInput",value:this.Fk};1==this.Go?(this.$a=this.B.ma("INPUT",a),this.$a.type="text",this.ih&&(this.$a.size=this.ih)):(this.$a=this.B .ma("TEXTAREA",a),this.$a.rows=this.Go,this.ih&&(this.$a.cols=this.ih));this.$a.id=this.X;this.Va().appendChild(this.B.ma("DIV",{style:"overflow: auto"},this.$a))};f.oA=function(){LB(this)};function LB(a){var b=a.vr(a.$a.value);DB(a.A,b)} f.setVisible=function(a){KB.O.setVisible.call(this,a);a&&(this.Yk=!1,this.$a.value=this.Fk,this.hg(),LB(this))};f.hg=function(){KB.O.hg.call(this);xc&&this.$a.focus();this.$a.select()};f.pq=function( a){this.Yk||(this.Yk=!0,"ok"==a.key?D(t(this.rb,this,this.$a.value),1):D(t(this.rb,this,null),1))};f.Z=function(){hj(this.$a);vd(this,"dialogselect",this.pq,!0,this);KB.O.Z.call(this);this.$a=null};f unction MB(a,b,c,d,e,g,h,k){KB.call(this,b,ki(c),d,e,g,h,k);this.F=a;this.W=new M(this);x(this,this.W)}v(MB,KB);f=MB.prototype; f.Y=function(){MB.O.Y.call(this);var a;rB(this);a=this.ib;var b=this.$a,c=sB(this);S(this.J(),"drive-viewer-rename-dialog");S(c,"drive-viewer-rename-dialog-title");S(b,"drive-viewer-rename-dialog-use rInput");S(a,"drive-viewer-rename-dialog-buttons");if(a=this.A)if(a=BB(a,"ok"))Rp(a,"goog-buttonset-default"),S(a,"drive-viewer-buttonset-action");a=this.getId()+".msg";this.Va().id=a;b=this.J();ok(b ,"dialog");pk(b,"describedby",a);this.W.listen(this.J(),"focus",this.gu).listen(this.$a,"focus",this.pA)}; f.gu=function(){this.ar()};f.pA=function(){D(this.ar,0,this)};f.ar=function(){var a=this.$a,b=Ao(Z(Y(this.F)));a&&!Wz(b)&&(b=a.value.lastIndexOf("."),-1<b&&a.setSelectionRange(0,b))};f.setVisible=fun ction(a){var b=au(this.F);a?NB(b):OB(b);MB.O.setVisible.call(this,a);a||Bk(this.B,!0)};function PB(a){LA.call(this,a,vA);this.action.setProperty("label","Rename...");this.action.setProperty("dv_us",! 0);3==Og(L(a))&&this.action.setProperty("icon","drive-viewer-rename-icon");this.F="";this.B=null}v(PB,LA);f=PB.prototype;f.Kd=function(){this.F=to(Z(Y(this.A)));this.B=new MB(this.A,"Rename document","Enter a new document name:",t(this.WF,this),this.F,"drive-viewer-dialog");this.B.mf=!0;this.B.ga();var a=new XA;rs(a,this.B.$a);x(this.B,a);this.B.vr=Kd();this.B.setVisible(!0)}; f.WF=function(a){if(a&&a!=this.F){var b=Z(Y(this.A));QB(this,b,a,!1)}};function QB(a,b,c,d){var e=a.A,g=gh(b.A),e=al(e,dp);c=Yk(Xk(Zk(new Tk(e.A,kl(e,g,"title"),"drive#file")),"PUT"),{title:c}).start ();hl(e,c);NA(a,b,c,d)}f.bi=function(a,b,c){var d=to(a);c&&c.id==gh(a.A)&&c.title?(a.uh(c.title),b?oz(gz(this.A),"Action undone.",!1,5E3):RB(this,a,d,c.title)):this.rf(a)};f.rf=function(a){a=to(a);oz (gz(this.A),'There was a problem renaming "'+(a+'".'),!0,1E4)}; function RB(a,b,c,d){SB(gz(a.A),'"'+(c+('" renamed to "'+(d+'".'))),t(function(){QB(this,b,c,!0)},a))}f.Rf=function(){return 38};f.nk=function(){return 49};function TB(a){LA.call(this,a,wA);this.acti on.setProperty("label","Report abuse");this.action.setProperty("hint","Report abuse");this.action.setProperty("icon","drive-viewer-report-abuse-icon")}v(TB,LA);TB.prototype.Kd=function(){var a=this.A,b=gh(Z(Y(a)).A),a=L(a),c=xg(a)||He(l.location.href),c=eo("/abuse",c,vg(a)),b=Ne(c,"id",b,"authuser",qg(a)||0);Iz(b,{target:"_blank"})};function UB(a){LA.call(this,a,xA);this.B=!1}v(UB,LA);f =UB.prototype;f.hp=function(){VB(this)};f.lc=function(){var a=Z(Y(this.A)).Da.ra();return!!a&&0!=a.C};f.sf=function(a){MA(this,a)&&VB(this)};function VB(a){var b=Z(Y(a.A)).Da.ra(),c=a.lc();a.action.s etVisible(c);a.action.setEnabled(c);a.lc()&&(a.B=!!b&&1==b.C,WB(a))} function WB(a){var b="Add star",c="drive-viewer-full-star-icon";a.B&&(b="Remove star",c="drive-viewer-blank-star-icon");a.action.setProperty("label",b);a.action.setProperty("hint",b);a.action.setProp erty("icon",c)} f.Kd=function(){var a=this.A,b=Z(Y(a));this.B=!this.B;var c=to(b),c=this.B?'Star added to "'+(c+'".'):'Star removed from "'+(c+'".');oz(gz(a),c,!0,1E4);b.Da.ra().C=this.B?1:2;WB(this);var c=this.A,a=Z(Y(c)),b=gh(a.A),c=al(c,dp),d=this.B,b=Yk(Xk(Zk(new Tk(c.A,kl(c,b,"labels(starred)"),"drive#file")),"PUT"),{labels:{starred:d}}).start();hl(c,b);NA(this,a,b)};f.bi=function(a,b,c){b=c.la bels;c.id==gh(a.A)&&b&&ia(b.starred)||this.rf(a)}; f.rf=function(a){var b=this.A,c=a.Da.ra(),d=1==c.C,e=to(a),e=d?'There was a problem adding star to "'+(e+'".'):'There was a problem removing star from "'+(e+'".');oz(gz(b),e,!0,1E4);b=Y(b);ou(b)&&Z(b ).getId()==a.getId()&&(this.B=!d,WB(this));c.C=d?2:1};f.Rf=function(){return 47};function XB(a){CA.call(this,a,sA,{visible:!0,enabled:!0,label:"Details",hint:"Details",icon:"drive-viewer-details-icon "})}v(XB,CA);XB.prototype.Kd=function(){var a=Kx(this.A);YB(a,!a.A)};function ZB(a){var b=3==Og(L(a))?"Open in new window":"Pop-out";CA.call(this,a,uA,{visible:!0,enabled:!0,label:b,hint:b,icon:"driv e-viewer-popout-button"});1==Bg(L(a))&&(a=Y(a),this.C.listen(a,"$",this.B))}v(ZB,CA);ZB.prototype.B=function(){this.action.setVisible(!!nh(Z(Y(this.A)).A))};ZB.prototype.Kd=function(a){a=a.data.A.J() ;nv(ov(this.A),{ka:23,qa:qr(a)});Kx(this.A).U("s")};function $B(a,b){fa(b)||(b=[b]);var c=Pb(b,function(a){return ha(a)?a:a.Ii+" "+a.duration+"s "+a.timing+" "+a.ct+"s"});fq(a,"transition",c.join("," ))}var aC=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(A)return Nc("10.0");var a=document.createElement("DIV"),b=Bc?"-webkit":Ac?"-moz":A?"-ms":xc?"-o":null,c={tr ansition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");Ki(a,qi("div",{style:c}));return""!=iq(a.firstChild,"transition")});function bC(a,b,c,d,e){gw.call(this);this.B=a;this.H=b;th is.V=c;this.D=d;this.R=fa(e)?e:[e]}v(bC,gw);f=bC.prototype;f.play=function(){if(1==this.A)return!1;this.od();this.Zb("play");this.F=u();this.A=1;if(aC())return fq(this.B,this.V),this.C=D(this.py,void 0,this),!0;this.Yl(!1);return!1};f.py=function(){Dq(this.B);$B(this.B,this.R);fq(this.B,this.D);this.C=D(t(this.Yl,this,!1),1E3*this.H)};f.stop=function(){1==this.A&&this.Yl(!0)}; f.Yl=function(a){fq(this.B,"transition","");E(this.C);fq(this.B,this.D);this.I=u();this.A=0;if(a)this.onStop();else hw(this);this.Hc()};f.Z=function(){this.stop();bC.O.Z.call(this)};function cC(a,b,c,d,e){return new bC(a,b,{opacity:d},{opacity:e},{Ii:"opacity",duration:b,timing:c,ct:0})}function dC(a,b){return cC(a,b,"ease-out",0,1)};function eC(a,b,c){this.A=a;this.B=b;this.N=c}v(eC,Cr );eC.prototype.Bc=function(a,b,c){zr(this.A,this.B,a,b,void 0,c,this.N)};function fC(a,b){this.A=a instanceof I?a:new I(a,b)}v(fC,Cr);fC.prototype.Bc=function(a,b,c,d){zr(pq(a),0,a,b,this.A,c,null,d) };function gC(a,b){this.X=8;this.I=b||void 0;dB.call(this,a)}v(gC,dB);function hC(a,b){a.X=b;a.da()&&a.Tb()}function iC(a,b){a.I=b||void 0;a.da()&&a.Tb()}function jC(a,b){null==b||b instanceof Wp?a.W=b:a.W=new Wp(b,void 0,void 0,void 0);a.da()&&a.Tb()}gC.prototype.Tb=function(){if(this.I){var a=!this.da()&&"move_offscreen"!=this.qf,b=this.J();a&&(b.style.visibility="hidden",T(b ,!0));this.I.Bc(b,this.X,this.W);a&&T(b,!1)}};function kC(a,b,c){this.S=c||(a?Mi(Pi(document,a)):Mi());gC.call(this,this.S.ma("DIV",{style:"position:absolute;display:none;"}));this.aa=new I(1,1);this.F=new Cl;this.H=null;a&&lC(this,a);null!=b&&this.No(b)}v(kC,gC);var mC=[];f=kC.prototype;f.Gb=null;f.className="goog-tooltip";f.Ul=500;f.Hp=0;function lC(a,b){b=Pi(document,b);Fl(a.F,b); nd(b,"mouseover",a.Lo,!1,a);nd(b,"mouseout",a.lg,!1,a);nd(b,"mousemove",a.lp,!1,a);nd(b,"focus",a.Hk,!1,a);nd(b,"blur",a.lg,!1,a)} function nC(a,b){if(b){var c=Pi(document,b);oC(a,c);a.F.remove(c)}else{for(var d=a.F.Pa(),e=0;c=d[e];e++)oC(a,c);a.F.clear()}}function oC(a,b){vd(b,"mouseover",a.Lo,!1,a);vd(b,"mouseout",a.lg,!1,a);v d(b,"mousemove",a.lp,!1,a);vd(b,"focus",a.Hk,!1,a);vd(b,"blur",a.lg,!1,a)}f.No=function(a){nj(this.J(),a)};f.er=function(a){var b=this.J();b&&Ki(b,a)}; f.Gg=function(a){var b=this.J();b&&hj(b);kC.O.Gg.call(this,a);a?(b=this.S.A.body,b.insertBefore(a,b.lastChild),Fb(this.H),this.H=new bB(this.J()),x(this,this.H),nd(this.H,"focusin",this.Mf,void 0,this),nd(this.H,"focusout",this.Ti,void 0,this)):(Fb(this.H),this.H=null)};f.Ko=function(){return uj(this.J())};f.getState=function(){return this.C?this.da()?4:1:this.ba?3:this.da()?2:0}; f.xg=function(){if(!dB.prototype.xg.call(this))return!1;if(this.A)for(var a,b=0;a=mC[b];b++)mj(a.J(),this.A)||a.setVisible(!1);Yb(mC,this);a=this.J();a.className=this.className;this.Mf();nd(a,"mouseo ver",this.Cp,!1,this);nd(a,"mouseout",this.Bp,!1,this);pC(this);return!0}; f.jg=function(){Zb(mC,this);for(var a=this.J(),b,c=0;b=mC[c];c++)b.A&&mj(a,b.A)&&b.setVisible(!1);this.na&&this.na.Ti();vd(a,"mouseover",this.Cp,!1,this);vd(a,"mouseout",this.Bp,!1,this);this.A=void 0;0==this.getState()&&(this.$=!1);dB.prototype.jg.call(this)};f.Mo=function(a,b){this.A==a&&this.F.contains(this.A)&&(this.$||!this.tb?(this.setVisible(!1),this.da()||(this.A=a,iC(this,b||this.lk(0) ),this.setVisible(!0))):this.A=void 0);this.C=void 0}; f.eD=function(a){this.ba=void 0;if(a==this.A){a=this.S;var b=Gj(a);a=b&&this.J()&&a.contains(this.J(),b);null!=this.Gb&&(this.Gb==this.J()||this.F.contains(this.Gb))||a||this.sa&&this.sa.Gb||this.set Visible(!1)}};function qC(a,b){var c=Xi(a.S.A);a.aa.x=b.clientX+c.x;a.aa.y=b.clientY+c.y}f.Lo=function(a){var b=rC(this,a.target);this.Gb=b;this.Mf();b!=this.A&&(this.A=b,this.C||(this.C=D(t(this.Mo, this,b,void 0),this.Ul)),sC(this),qC(this,a))}; function rC(a,b){try{for(;b&&!a.F.contains(b);)b=b.parentNode;return b}catch(c){return null}}f.lp=function(a){qC(this,a);this.$=!0};f.Hk=function(a){this.Gb=a=rC(this,a.target);this.$=!0;if(this.A!=a ){this.A=a;var b=this.lk(1);this.Mf();this.C||(this.C=D(t(this.Mo,this,a,b),this.Ul));sC(this)}};f.lk=function(a){return 0==a?(a=this.aa.clone(),new tC(a)):new uC(this.Gb)};function sC(a){if(a.A)for(var b,c=0;b=mC[c];c++)mj(b.J(),a.A)&&(b.sa=a,a.na=b)} f.lg=function(a){var b=rC(this,a.target),c=rC(this,a.D);b!=c&&(b==this.Gb&&(this.Gb=null),pC(this),this.$=!1,!this.da()||a.D&&mj(this.J(),a.D)?this.A=void 0:this.Ti())};f.Cp=function(){var a=this.J();this.Gb!=a&&(this.Mf(),this.Gb=a)};f.Bp=function(a){var b=this.J();this.Gb!=b||a.D&&mj(b,a.D)||(this.Gb=null,this.Ti())};function pC(a){a.C&&(E(a.C),a.C=void 0)}f.Ti=function(){2==this.ge tState()&&(this.ba=D(t(this.eD,this,this.A),this.Hp))};f.Mf=function(){this.ba&&(E(this.ba),this.ba=void 0)}; f.Z=function(){this.setVisible(!1);pC(this);nC(this);this.J()&&hj(this.J());this.Gb=null;delete this.S;kC.O.Z.call(this)};function tC(a,b){fC.call(this,a,b)}v(tC,fC);tC.prototype.Bc=function(a,b,c){b =pq(a);b=sq(b);c=c?new Wp(c.top+10,c.right,c.bottom,c.left+10):new Wp(10,0,0,10);Br(this.A,a,8,c,b,9)&496&&Br(this.A,a,8,c,b,5)};function uC(a){eC.call(this,a,5)}v(uC,eC);uC.prototype.Bc=function(a,b ,c){var d=new I(10,0);zr(this.A,this.B,a,b,d,c,9)&496&&zr(this.A,4,a,1,d,c,5)};function vC(){this.C=n(void 0)?void 0:1;this.A=n(void 0)?void 0:2;this.B=n(void 0)?void 0:20;this.D=n(void 0)?void 0:-20};function wC(){return R('<div class="drive-viewer-promotooltip" role="tooltip" aria-live="polite"><div class="drive-viewer-promotooltip-content"></div><div class="drive-viewer-promotoo ltip-arrow"><div class="drive-viewer-promotooltip-triangle-before"></div><div class="drive-viewer-promotooltip-triangle-after"></div></div></div>')};function xC(a,b){kC.call(this,void 0,void 0,W(a));this.className="drive-viewer-promotooltip";this.B=P(wC,void 0,void 0,W(a));this.Gg(this.B);T(this.B,!1);this.N=Si("drive-viewer-promotooltip-content",this.B);this.fa=null;this.Ua=Si(" drive-viewer-promotooltip-arrow",this.B);var c=b||new vC;this.L=new Dr("drive-viewer-promotooltip",!0);Er(this.L,c.C,c.A,c.B,c.D);var c=this.L,d=this.Ua;c.A=this.B;c.F=d;this.L.Xk=!0;c=dC(this.B,.13) ;d=cC(this.B,.13,"ease-in",1,0);this.V=c;this.R=d;this.Ul=300;this.Hp= 100;this.ha=!1}v(xC,kC);f=xC.prototype;f.lk=function(){this.L.B=this.Gb;return this.L};f.xg=function(){if(this.ha)return!1;fq(this.B,"top","auto");fq(this.B,"left","auto");return xC.O.xg.call(this)}; f.No=function(a){nj(this.N,a)};f.er=function(a){Ki(this.N,a)};function yC(a,b){ej(a.N);Fb(a.fa);a.fa=b;x(a,b);b.ga(a.N)}f.Ko=function(){return uj(this.N)};function zC(a){B.call(this);this.D=a;this.C= {};this.H={};this.A={};this.I={};this.B={};this.F={}}v(zC,B);zC.prototype.register=function(a,b,c){this.C[a]=b;c&&(this.I[a]=c);(b=this.H[a])&&AC(this,a,b)};function BC(a,b){a.B[b]||(a.B[b]=new M(a),x(a,a.B[b]));var c=a.B[b];c.listen(a.A[b],"show",t(a.L,a,b));if("add_to_drive"==b){var d=Y(a.D);c.listen(d,"$",a.V).listen(d,wo.kj,a.R)}} function AC(a,b,c){var d=a.C[b],e;a.A[b]?e=a.A[b]:(e=new xC(a.D,a.I[b]),a.A[b]=e,x(a,e));c instanceof is?yC(e,c):e.er(c);lC(e,d.J());"open-and-openwith"==b&&ss(d,function(a){var b=e;a=a.J();nd(a,"foc us",b.Hk,!1,b);nd(a,"blur",b.lg,!1,b)});CC(a,b,!0);BC(a,b)}function DC(a){hb(a.F,function(a,c){var d=this.C[c];if(d){var e=this.A[c];CC(this,c,!1);nC(e,d.J());this.B[c].removeAll()}delete this.H[c];delete this.F[c];this.U(new kk)},a)}zC.prototype.L=function(a){this.F[a]=!0};zC.prototype.V=function(){EC(this)}; zC.prototype.R=function(a){var b=Y(this.D);a=a.target;ou(b)&&a.getId()==Z(b).getId()&&EC(this)};function EC(a){var b=yo(Z(Y(a.D)));CC(a,"add_to_drive",1==b||3==b)}function CC(a,b,c){var d=a.A[b];d.ha=!c;a=a.C[b];a.Td&&a.Td(c,d.Ko());!c&&d.da()&&d.setVisible(!1)};function FC(a){B.call(this);this.A=a;this.D={};this.S={};this.B=null;this.aa=!1;this.L=this.H=this.ba=this.N=this.V=this. R=this.I=this.F=this.W=this.C=null;this.X=new fk(this);x(this,this.X);a=L(this.A);rg(a)&&(this.F=new Xj("DRIVE_VIEWER_PRINT",{visible:!1,enabled:!1,label:"Print",hint:"Print",icon:"drive-viewer-print -icon",dv_br:17}),x(this,this.F),GC(this,this.F));if(wg(a)){var b=wg(a);if(null==G(b,5)?0:G(b,5))this.V=new PB(this.A),x(this,this.V);if(null==G(b,13)?0:G(b,13))this.N=new UB(this.A), x(this,this.N)}if(null==G(a,35)?0:G(a,35))this.I=new TB(this.A),x(this,this.I);1!=ug(a)&&0==!Bg(a)&&(this.H=new ZB(this.A),x(this,this.H));3==Og(a)?(a=L(this.A),this.I&&(this.I.action.setProperty("dv _ms",2),GC(this,this.I.action,"moremenu_only")),this.H&&(this.H.action.setProperty("dv_ms",2),GC(this,this.H.action,"moremenu_only")),Eg(a)&&(this.ba=new XB(this.A),x(this,this.ba),GC(this,this.ba.ac tion,"moremenu_only"))):this.I&&GC(this,this.I.action,"moremenu_only");this.V&&GC(this,this.V.action,"moremenu_only"); this.N&&GC(this,this.N.action,"moremenu_only");al(this.A,Ry)&&(a=new PA(this.A),x(this,a),this.B=a=a.action,this.aa=!1,this.U("fa"),gk(this.X,a,Uj,t(this.$,this,a)),this.R=new TA(this.A),x(this,this. R),GC(this,this.R.action,"moremenu_only"))}v(FC,B);function HC(a,b,c){return c?b instanceof BA&&!!b.A.dv_efs&&!!b.A.dv_vfs:b==a.F?b.da():b.da()&&b.isEnabled()} function GC(a,b,c,d,e){0==d?(a.C=b,a.U("ga"),b.setProperty("dv_br",1)):1==d&&(a.W=b,a.U("ia"),b.setProperty("dv_br",2));d=b.A.dv_br;c||(c=3==Og(L(a.A))?b==a.C||b==a.F?"toolstrip":"moremenu_only":"too lstrip");a.D[c]||(a.D[c]=[]);a.D[c].push(b);if(e){e=a.S;var g=b.getId();if(1!=d)throw Error("Could not find anchor name for button role: "+d);e[g]="download"}switch(c){case "moremenu_only":a.U(new IC(a,b));case "toolstrip":a.U(new JC(a,b))}gk(a.X,b,Uj,t(a.$,a,b))} FC.prototype.$=function(a,b){n(b.data)&&(this.L=b.data.A);var c=b.A;if(!this.A.Aa&&ou(Y(this.A))&&n(c)&&c instanceof bu){var d={qa:c.A},c=c.B;if(n(c))d.ka=c;else{d.ka=26;var c=new wv,e=a.getId();H(c, 3,e);H(c,10,a.A.dv_br);d.Ye=c}nv(ov(this.A),d);d=Z(Y(this.A));a==this.F?lu(this.A.get(mu),5,d):a==this.C&&lu(this.A.get(mu),4,d)}};function KC(a,b){var c=W(a.A);Bj(c,"drive-viewer").contains(Gj(c))|| (LC(au(a.A),50),a.L&&a.U(new MC(a,b,a.L)),Bk(c,!0),a.L=null)} function NC(a,b){return a.D[b]?a.D[b].length:0}function OC(a,b,c){y.call(this,a,b);this.D=c}v(OC,y);function JC(a,b){OC.call(this,"ja",a,b)}v(JC,OC);function IC(a,b){OC.call(this,"ka",a,b)}v(IC,OC);f unction MC(a,b,c){y.call(this,"ha",a);this.D=b;this.F=c}v(MC,y);function PC(a,b,c,d,e,g){Wx.call(this,e,g);this.L=a;this.V=[];this.ba=!!b;this.fa=!!c;this.sa=!!d;for(b=this.X=0;b<a.length;b++)cy(a[b] ,t(this.W,this,b,!0),t(this.W,this,b,!1));0!=a.length||this.ba||this.xa(this.V)}v(PC,Wx);PC.prototype.W=function(a,b,c){this.X++;this.V[a]=[b,c];this.B||(this.ba&&b?this.xa([a,c]):this.fa&&!b?this.Na (c):this.X==this.L.length&&this.xa(this.V));this.sa&&!b&&(c=null);return c};PC.prototype.Na=function(a){PC.O.Na.call(this,a);for(a=0;a<this.L.length;a++)this.L[a].cancel()}; function QC(a){return by(new PC(a,!1,!0),function(a){for(var c=[],d=0;d<a.length;d++)c[d]=a[d][1];return c})};function RC(a){this.A=a}v(RC,w);f=RC.prototype;f.Zk=function(a){return Kk(!SC(0,a)&&!!mh( a.A))};f.Fh=function(){return Kk(null)};f.$k=function(){return Kk(!1)};function SC(a,b){var c;(c=qh(b.A)||rh(b.A))||(c=b.A,c=null==G(c,32)?!1:G(c,32));return c}f.Qf=function(){return Kk([])};f.mk=function(){return Kk([])};f.oh=function(){return ky([])};f.mp=function(a){Iz(mh(a.A),{target:"_blank"})};function TC(a){this.A=a;this.L=new kA;x(this,this.L);this.V=0;this.C=null;this.F =new M(this);x(this,this.F);this.I=!1;var b=pu(a);b.B?UC(this):this.F.listen(b,"fa",this.Ky);this.H={};this.D=[];this.B=rx(a);if(a=wf(L(this.A),Gf,57))var c=Hf(a),d=If(a)&&Dc,e=Jf(a)&&Ec;this.R=!(!a| |!c||!d&&!e)}v(TC,RC);f=TC.prototype;f.Ky=function(){UC(this)};function UC(a){a.I=!0;a.F.listen(Y(a.A),"i",a.Et)} f.Et=function(a){var b=a.target,c=a.D;if((a=this.H[b.getId()])&&0!=a.length&&2==c){switch(yo(b)){case 2:return;case 4:for(var c=gh(b.A),d=0;d<a.length;d++){var e=a[d];e.app instanceof Gz?VC(this,b,e.kd,e.B):fy(WC(this,c,Ao(b),b.ba,e.app,e.kd,e.B),e.A)}break;case 1:case 3:for(d=0;d<a.length;d++)e=a[d],e.A&&e.A.Na("There was a problem adding this item to Drive."),$v(this.B,e.kd,2), Zb(this.D,e.kd)}this.H[b.getId()]=[]}}; f.Zk=function(a){if(SC(0,a))return Kk(!1);if(0==yo(a))return Kk(!!mh(a.A));if(!gh(a.A)&&!this.I)return Kk(!1);a=this.Fh(a);return Pk(a,t(function(a){return null!==a},this))};f.Fh=function(a){var b=XC(this,a);if(b)return Kk(b);var c=QC([YC(this,a),ZC(this,a)]),d=new Dk;a=this.Qf(a);Nk(a,function(a){cy(c,function(b){var c=b[0];c?d.ua(c):(c=1==a.length?a[0]:null)?d.ua(c):(b=1==b[1].length?b[1] [0]:void 0)?d.ua(b):d.ua(null)},function(){d.ua(1==a.length?a[0]:null)},this)},this);return d}; f.$k=function(a){if(!a)return a=Og(L(this.A)),Kk(2==a);if(SC(0,a)||0==yo(a)||!this.I&&!gh(a.A))return Kk(!1);var b=new Dk,c=this.oh(a);a=Sk(this.Qf(a),this.mk(a));Nk(a,function(a){var e=$C(a[0]);a=$C(a[1]);0<e.length+a.length?b.ua(!0):cy(c,function(a){b.ua(0<a.length)},function(){b.ua(!1)},this)},this);return b};function $C(a){return"success"==a.getState()?a.ja():[]} f.Qf=function(a){if(fz(this.A).D)return Kk(aD(this,a));var b=new Dk,c=a.getId();this.C||(this.C={},ml(this.F,fz(this.A),"V",this.Oy));this.C[c]||(this.C[c]=new bD(a),Eb(a,function(){delete this.C[c]},this));this.C[c].results.push(b);return b};f.oh=function(a){var b=ZC(this,a);a=cD(this,a);return by(new PC([b,a]),function(a){var b=a[0];a=a[1];return ac(b[0]?b[1]:[],a[0]?a[1]:[])})}; function ZC(a,b){if(!a.R)return ky([]);if(fz(a.A).D)return dD(a,b);var c=new Wx;ol(a.F,fz(a.A),function(){fy(dD(this,b),c)},a);return c}function cD(a,b){var c=fz(a.A);if(c.D)return eD(c,Ao(b));var d=new Wx;ol(a.F,c,function(){fy(eD(c,Ao(b)),d)},a);return d}function YC(a,b){if(!a.R)return ky(void 0);if(fz(a.A).D)return fD(a,b);var c=new Wx;ol(a.F,fz(a.A),function(){fy(fD(this,b),c)},a);return c} function aD(a,b){var c=gD(fz(a.A),Ao(b),b.ba);return Nb(c,function(a){var c;if(c="818456250572"!=a.getId())c="619683526622"!=a.getId()||"application/pdf"!=Ao(b)&&!wa(Ao(b),"image/")?!0:!1;return c})}function dD(a,b){return by(hD(fz(a.A),gh(b.A),Ao(b)),function(a){return ac(a.mn||[],a.vq)})}function fD(a,b){var c=fz(a.A),d=new Wx;by(hD(c,gh(b.A),Ao(b)),function(a){d.xa(a.mn)});return d} f.Oy=function(){hb(this.C,function(a){for(var b=aD(this,a.item),c=0;c<a.results.length;c++)a.results[c].ua(b)},this);rb(this.C)};f.mk=function(a){var b=L(this.A);if(null==G(b,11)||!G(b,11))return Kk([]);b=fz(this.A);if(b.C.A&&b.A.A){var c=new Dk;b.ek(Ao(a),a.ba,t(this.Qy,this,c));return c}return Kk([])};f.Qy=function(a,b){a.ua(b)}; f.mp=function(a,b,c){var d=yo(a);if(0==d)(b=mh(a.A))&&Iz(b,{target:"_blank",noreferrer:!0});else{lu(this.A.get(mu),6,a);var e=iD(this,a,c);b?jD(this,a,b,d,e):(b=this.Fh(a),Nk(b,function(b){jD(this,a, b,d,e)},this))}};function iD(a,b,c){var d="owa_"+b.getId()+"_"+a.V++;Tv(a.B,d,{ka:20,qa:c,item:b});Yb(a.D,d);return d} function kD(a,b,c,d){var e=d.isInstalled(),g=a.B.A[c];H(g,2,d instanceof Hz?60:d instanceof Gz?89:e?20:21);var h=new Dk;c=ZC(a,b);var e=cD(a,b),k=new PC([c,e]);a=a.Qf(b);Nk(a,function(a){by(k,functio n(b){var c=b[0];b=b[1];c=pA(d,!!a.length,c[0]?!!c[1].length:!1,b[0]?!!b[1].length:!1);yf(g,11,c);h.ua(!0)});dy(k,function(){var b=pA(d,!!a.length,!1,!1);yf(g,11,b);h.ua(!0)})});return h} function jD(a,b,c,d,e){var g=kD(a,b,e,c);if(c instanceof Hz)lD(a,b,c,e,g);else if(c instanceof Gz)gh(b.A)?VC(a,b,e,g):mD(a,b,c,2!=d,e,g);else{var h;(h=gh(b.A))?h=WC(a,h,Ao(b),b.ba,c,e,g):(h=new Wx,mD(a,b,c,2!=d,e,g,h));a=a.L;b=c.A;c=c.Dh(128)||"";h.B?by(h,a.nE,a):(d=(a.B++).toString(),c=lA(b,c),a.A[d]=c,by(h,t(a.nG,a,d)),dy(h,t(a.mG,a,d)))}}function lD(a,b,c,d,e){by(nD(fz(a.A),gh(b.A),c.ge tId()),function(){Nk(e,function(){$v(this.B,d,1);Zb(this.D,d)},this)},a)} function VC(a,b,c,d){var e=t(a.CD,a,b),g=fz(a.A),h=gh(b.A),k=to(b),m=Ao(b),e=g.S?oD(g.S,h,k,m,e):ge(Error("BallistaAppService not enabled.")),g=to(b);oz(gz(a.A),'Opening "'+(g+'"...'),!1,5E3);e.then( t(a.oE,a,c,d),t(a.pE,a,c,d,b),a)}f.CD=function(a,b){var c=pD(this,a);b.then(function(){$v(this.B,c,1);Zb(this.D,c)},function(){$v(this.B,c,2);Zb(this.D,c);var b=to(a);oz(gz(this.A),'Failed to update "'+(b+'" in Drive.'),!1,1E4)},this)};f.oE=function(a,b){Nk(b,function(){$v(this.B,a,1);Zb(this.D,a)},this)}; f.pE=function(a,b,c){Nk(b,function(){$v(this.B,a,2);Zb(this.D,a)},this);qD(this,c)};function pD(a,b){var c="uiwb_"+b.getId()+"_"+a.V++;Tv(a.B,c,{ka:90,item:b});Yb(a.D,c);return c} function WC(a,b,c,d,e,g,h){var k=fz(a.A),m;null==k.W&&(k.W=new eA(k.F,k.X),x(k,k.W));m=k.W;e.isInstalled()||k.install(e.getId());var p=e.ra(),k=Wb(p.A,c)||Wb(p.D,d);d=Wb(p.I,c)||Wb(p.H,d);d=k||d?1:Wz (c)?3:2;2==d?(d=m.A,fA(m,c,e),b=Hl("%s/%s/copy?convert=true&fields=id,kind,mimeType",d.A+"/files",b),c=new Wx,by(c,d.hz,d),d.B.sendRequest({path:b,method:"POST",body:JSON.stringify({}),xa:t(c.xa,c)}) ,e=by(c,m.D.bind(m,e))):e=gA(m,b,c,e,d);rD(a,e,g,h);return e} function mD(a,b,c,d,e,g,h){a.H[b.getId()]||(a.H[b.getId()]=[]);c=new sD(c,e,g,h);a.H[b.getId()].push(c);d&&(zo(b,2),dk(pu(a.A).B,new zA(Ef(b.A),null)))}function XC(a,b){return tD(fz(a.A),Ao(b),b.ba)} function rD(a,b,c,d){Nk(d,function(){cy(b,function(){$v(this.B,c,Rv.Ef)},function(){$v(this.B,c,Rv.$d)},this)},a)}function qD(a,b){var c=to(b),d=pu(a.A).C||void 0;oz(gz(a.A),"Couldn't open \""+(c+'".'),!1,1E4,d,b)}f.Z=function(){rb(this.C);rb(this.H);Lb(this.D,function(a){Vv(this.B,a)},this);TC.O.Z.call(this)}; function sD(a,b,c,d){this.A=d;this.app=a;this.kd=b;this.B=c}function bD(a){this.item=a;this.results=[]};function uD(a,b){var c=b||{},d=c.document||document,e=document.createElement("SCRIPT"),g={Yq:e, Xb:void 0},h=new Wx(vD,g),k=null,m=null!=c.timeout?c.timeout:5E3;0<m&&(k=window.setTimeout(function(){wD(e,!0);h.Na(new xD(1,"Timeout reached for loading script "+a))},m),g.Xb=k);e.onload=e.onreadyst atechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(wD(e,c.FI||!1,k),h.xa(null))};e.onerror=function(){wD(e,!0,k);h.Na(new xD(0,"Error while loading script "+a))};g=c.attributes|| {};yb(g,{type:"text/javascript",charset:"UTF-8",src:a});Ti(e,g);yD(d).appendChild(e);return h}function yD(a){var b=a.getElementsByTagName("HEAD");return b&&0!=b.length?b[0]:a.documentElement}function vD(){if(this&&this.Yq){var a=this.Yq;a&&"SCRIPT"==a.tagName&&wD(a,!0,this.Xb)}}function wD(a,b,c){null!=c&&l.clearTimeout(c);a.onload=q;a.onerror=q;a.onreadystatechange=q;b&&window.setTimeout(functi on(){hj(a)},0)} function xD(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ua.call(this,c);this.code=a}v(xD,ua);function zD(a,b,c,d,e,g,h){this.A=null;this.R=!1;this.L=ke();this.F=[];this.H=a?Ha(a):null;th is.I=null;!d&&b&&(this.I=b);this.Ej=c||null;this.B=!d;this.D=null!=e?e:null;this.C=g||null;this.N=!!h}v(zD,w);function AD(a){a=t(function(a){this.A=a;var b=ca("client.request",a),e=ca("auth",a);b&&e? this.V():a.load("client",t(this.V,this))},a);var b=BD("gapi");b?a(b.gapi):CD(a)}function BD(a){for(var b=window,c=ca(a,b);!c&&b!=window.top&&DD(b.parent,a);)b=b.parent,c=ca(a,b);return c?b:null} function DD(a,b){try{return!!a&&null!=a.location.href&&Ib(a,b)}catch(c){return!1}}function CD(a){var b=BD("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)},uD("https://apis.google.com/js/client.js")}zD.prototype.V=function(){for(var a=0;a<this.F.length;a++)this.F[a].cG.A(ED(this,this.F[a].ZF));this.R=!0;thi s.L.A(this.A)}; zD.prototype.sendRequest=function(a){if(this.R)return ED(this,a);var b=ke();this.F.push({ZF:a,cG:b});return b.D}; function ED(a,b){var c,d,e,g=ca("config.get",a.A);a.B||(c=g("googleapis.config/auth/useFirstPartyAuth"),d=g("googleapis.config/auth/useOriginToken"));null!=a.D&&(e=g("client/cors"));try{var h=ca("config.update",a.A);a.B||(h("googleapis.config/auth/useFirstPartyAuth",!1),h("googleapis.config/auth/useOriginToken",!1));null!=a.D&&h("client/cors",a.D);var k=ca("client.request",a.A),m=FD(a) ;b.headers&&yb(m,b.headers);var p={headers:m,root:a.Ej,path:b.path,method:b.method,body:b.body};a.H&&!a.C?p.params= {key:a.H}:a.C&&(p.params={key:null});var r=fe(k(p));b.xa&&r.then(function(a){b.xa.apply(null,[a.result,a])},function(a){b.xa.apply(null,[a.result,a])});return r}finally{h=ca("config.update",a.A),a.B| |(h("googleapis.config/auth/useFirstPartyAuth",c),h("googleapis.config/auth/useOriginToken",d)),null!=a.D&&h("client/cors",e)}} function FD(a){if(a.B){if(a.C)return{Authorization:"Bearer "+a.C};var b=ca("auth.getAuthHeaderValueForFirstParty",a.A);return{Authorization:a.N?b([]):b(),"X-Goog-AuthUser":a.I}}return{}};function GD(a,b,c){B.call(this);this.B=a;(a=b)||(a=new zD("AIzaSyBc1bLOZpOtg3-qgMjSQ6pmn6HbE2zjzJg",void 0,this.B.Ej||void 0,!0),x(this,a),AD(a));this.C=a;this.A="/drive/v2internal";this.D=c||""}v(GD,B); var HD="icons[category='application'] id name openUrlTemplate primaryFileExtensions primaryMimeTypes productId rankingInfo secondaryFileExtensions secondaryMimeTypes".split(" "),ID="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(" "),JD= ["hasAppData"],KD=["appDataQuotaBytesUsed"];function LD(a,b,c){var d="%s?appQueryScope=ALL_WEBSTORE&fields=items(%s),kind&languageCode=%s",e=["drive/v2beta/apps",HD.join(","),"en"];b&&(d+="&appFilter MimeTypes=%s",e.push(Pb(b,Ha).join(",")));c&&(d+="&appFilterExtensions=%s",e.push(Pb(c,Ha).join(",")));a.D&&(d+="&trace=token:%s",e.push(a.D));e.unshift(d);return Hl.apply(null,e)} function MD(a,b,c){var d=Zk(new Tk(b,c,"drive#appList")).start();b=new Wx;Nk(d,t(a.EA,a,b));Ok(d,t(a.DA,a,b));Eb(a,function(){d.cancel()});return b}f=GD.prototype;f.EA=function(a,b){var c=Pb(b.items,function(a){return new Dz(a)});a.xa(c)};f.DA=function(a,b){a.Na(Error(ND(b,"")))};function ND(a,b){if(!1===a)return b;if(!n(a))return null;var c=a.error;return c?(c.errors&&0<c.errors.l ength?c.errors[0].debugInfo:c.message)||"":null}f.Rz=function(a,b,c){b=ND(b,c);null!=b?a.Na(Error(b)):a.xa()}; function iA(a,b,c,d){b=Hl("%s/%s/authorize?&appId=%s",a.A+"/files",b,c.getId());var e=new Wx;by(e,t(a.Ty,a,c,d));a.B.sendRequest({path:b,method:"POST",xa:t(e.xa,e)});return e}f.Ty=function(a,b,c){if( "drive#file"!=c.kind)throw Error("Did not receive drive#file response when authorizing: "+c);var d=null,d=a.ra().B;Aa(d)?d=c.openWithLinks[a.getId()]:(a={},a[c.id]=b,d=dA(d,a));if(Aa(Ca(d)))throw Error("openWithUrl missing from authorization response: "+c);return d}; f.Ms=function(a){var b=new wl;if("drive#about"!=a.kind)throw Error("Did not receive drive#about response when fetching import map: "+a);(a=a.importFormats)&&Lb(a,function(a){b.set(a.source,a.targets) });return b};f.hz=function(a){if(a.error&&a.error.Rn&&0<a.error.Rn.length)throw a.error.Rn[0].reason;if("drive#file"!=a.kind)throw Error("Did not receive drive#file response when converting file: "+a);return{Zw:a.id,mimeType:a.mimeType}}; f.install=function(a){a=Hl("%s?appId=%s",this.A+"/apps",a);var b=new Wx;this.B.sendRequest({path:a,method:"POST",xa:t(this.Rz,this,b)});return b};function OD(){w.call(this);this.A={};navigator.action s.addEventListener("update",t(this.B,this))}v(OD,w);OD.prototype.B=function(a){this.A[a.id]&&(this.A[a.id].postMessage({type:a.type,openState:!a.done,file:a.data.file}),a.done&&(this.A[a.id].close(), delete this.A[a.id]))}; function PD(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 e=d.port2;return fe(navigator.actions.performAction({verb:"open",bi directional:!0,type:b.type},{file:b})).then(function(a){this.A[a.id]=e},void 0,a)}OD.prototype.Z=function(){for(var a in this.A)this.A[a].close();navigator.actions.removeEventListener("update",this.B )};function QD(a){w.call(this);this.D=new Gz;this.B=a;this.A=null}v(QD,w);function oD(a,b,c,d,e){return RD(a.B,b).then(function(a){null===this.A&&(this.A=new OD,x(this,this.A));for(var h=new Uint8Array(a.length),k=0;k<a.length;++k)h[k]=a.charCodeAt(k);a=new File([h],c,{type:d});return PD(this.A,a,t(this.C,this,b,d,e))},void 0,a)}QD.prototype.C=function(a,b,c,d){a=SD(this.B,a,b,d); c(a)};function TD(a,b){this.A=a;this.B=b||"/drive/v2internal"}var UD={"Content-Type":'multipart/mixed; boundary="-------314159265358979323846"'};function RD(a,b){return a.A.sendRequest({path:a.B+"/fi les/"+b+"?alt=media",method:"GET"}).then(function(a){return VD(a,void 0)},void 0,a)} function SD(a,b,c,d){var e="/upload"+(a.B+"/files/"+b)+"?uploadType=multipart&fields=kind",g=ke(),h=new FileReader,k=!1;h.onload=t(function(){k=!0;var a=ya("\r\n---------314159265358979323846\r\nCont ent-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.A(this.A.sendRequest({path:e,method:"PUT",headers:UD,body:a,xa:q}).then(function(a){VD(a, "drive#file")},void 0,this))},a);h.onerror=function(){k=!0;g.B(h.error)};h.readAsDataURL(d);pe(g.D,function(a){a instanceof qe&&!k&&h.abort()},a);return g.D}function VD(a,b){if(0==a.result)return a.body;if(a.result.kind==b&&!a.result.error)return a.result;throw Error(a);};function WD(a,b,c){this.B=b;this.F=a;this.D=!!Hf(a);if(XD(this)){a=this.B;if(a.A.get("version"))a=a.A.get("version").je.Q e();else{b=new YD;var d=new Wx;ZD(a,"version",d,!0,b);$D(a,"version",d,"native_opener/version");a=d.Qe()}a=ey(a,t(this.vC,this))}else a=ly(Error());this.H=a;this.A=c||null;this.C=new Wx;this.A&&(this.tr(),this.A.listen(t(this.tr,this)))}function YD(){ua.call(this)}v(YD,ua);function aE(){ua.call(this)}v(aE,ua);f=WD.prototype; f.tr=function(){this.A&&(this.A.get()?this.C=new Wx:fy(bE(this),this.C))};function bE(a){return dy(cE(a,"undefined"),function(a){return a instanceof aE?ky():ly(a)})}function XD(a){var b;if(b=a.D&&bf&&ro(35))b=!!If(a.F)&&Dc,a=!!Jf(a.F)&&Ec,b=b||a;return b}f.vC=function(a){return a instanceof Error?ly(a):0>Ga(a.data.full,"1.18")?ly(Error()):ky()};function cE(a,b){if(!XD(a))return ly(Error());var c=new Wx;cy(a.H,t(a.gA,a,b,c),t(a.fA,a,c));return c} f.gA=function(a,b){var c;c=this.B;var d=a+",applications_for_file";if(c.A.get(d))c=c.A.get(d).je.Qe();else{var e=new Wx;ZD(c,d,e,!0);$D(c,d,e,"native_opener/list_apps/"+c.B+"/"+a);c=e.Qe()}cy(c,t(thi s.eA,this,b),t(this.dA,this,b))};f.fA=function(a,b){a.Na(b)}; f.eA=function(a,b){if(b.success&&b.data)if(b.data.applications)if(0==b.data.applications.length)a.Na(new aE);else{var c=[],d=[];Lb(b.data.applications,function(a){Yb(a["default"]?c:d,a)});var e=dE(this,c),e={vq:dE(this,d),mn:0==e.length?void 0:e[0]};a.xa(e)}else a.Na(Error());else 0==b.reason_code&&(this.D=!1),a.Na(Error())};function dE(a,b){var c=[];Lb(b,function(a){a.application_id&&(a =new Hz(a.application_id,a.name,Aa(Ca(a.icon))?void 0:"data:image/png;base64,"+a.icon),Yb(c,a))},a);return c} f.dA=function(a){a.Na(Error())};f.ZA=function(a,b,c){var d=this.B,e=a+",open_file";if(d.A.get(e))a=d.A.get(e).je.Qe();else{var g=new Wx;ZD(d,e,g,!1);$D(d,e,g,"native_opener/open_file/"+d.B+"/"+a+"/"+ b);a=g}by(a,t(this.YA,this,c))};f.YA=function(a,b){b.success?a.xa():a.Na(Error())};function eE(a){this.A=new wl;this.H=(null==G(a,8)?0:G(a,8))||0;this.B=(null==G(a,9)?"":G(a,9))||"";this.D=(null==G(a ,5)?"lmjegmlicamnimmfhcmpkclmigmmcbeh":G(a,5))||""}function ZD(a,b,c,d,e){a.A.set(b,{je:c,zG:d?D(t(a.C,a,b,e),a.H):void 0})}function fE(a,b,c){var d=a.A.get(b);if(d){var e=d.zG;null!=e&&E(e);a.A.remo ve(b);c&&d.je.Na(c)}}eE.prototype.C=function(a,b){fE(this,a,b||Error())}; function $D(a,b,c,d){if(chrome&&chrome.runtime)try{var e=chrome.runtime.connect(a.D,{name:"com.google.drive.nativeproxy"});e&&(e.onMessage.addListener(t(a.F,a)),e.postMessage(d),ey(c,function(){try{e .postMessage("quit"),e.disconnect()}catch(a){}},a))}catch(g){fE(a,b),c.Na(Error(g))}else fE(a,b),c.Na(Error())} eE.prototype.F=function(a){var b="";switch(a.type){case "version":b=a.type;break;case "applications_for_file":case "open_file":b=a.data?Ea(a.data.doc_id)+","+a.type:""}var c=this.A.get(b).je;fE(this, b);c.xa(a)};function gE(){this.A="undefined"!=typeof chrome&&!!chrome.runtime&&!!chrome.runtime.connect} function hE(a,b){var c={msg:"driveEnabled"},d={name:"drive"},e=new Wx;if(a.A){var g=null;try{g=chrome.runtime.connect(b,d)}catch(h){return e.Na("connectError"),e}if(g){g.onMessage.addListener(functio n k(a){g.onMessage.removeListener(k);g.disconnect();chrome.runtime.lastError?e.Na("chromeRuntimeError"):e.xa(a)});try{g.postMessage(c)}catch(k){e.Na("portPostMessage")}}else e.Na("portInitialization" )}else e.Na("chromeRuntimeUnavailable");return e};function iE(a){this.B=a;this.A=new wl;a=this.B;var b="%s?fields=importFormats,kind";a.D&&(b+="&trace=token:%s");var b=Hl(b,a.A+"/about",a.D),c=new Wx;by(c,a.Ms,a);a.B.sendRequest({path:b,method:"GET",xa:t(c.xa,c)});by(c,this.D,this)}v(iE,B);iE.prototype.D=function(a){this.A=a};function jE(a,b,c,d,e){B.call(this);this.I=[];this.D=!1;this.C=new kE;x(this,this.C);this.A=new kE;x(this,this.A);this.$=0;this.ha=new Cl;this.L=new wl;this.V=new wl;this.ba=new Cl;this.B=new wl;this.N=new wl;this.aa=[];this.sa=[];this.na=[];this.F=a;this.W=null;th is.X=new iE(a);x(this,this.X);this.Ua=(this.fa=!!b)?new gE:null;this.H=null;c&&Hf(c)&&(a=new eE(c),this.H=new WD(c,a,e));this.S=d||null;this.R=new M(this);x(this,this.R);this.R.listen(this.F,"la",thi s.lz)}v(jE,B); var lE={0xfe66319858:"619683526622",133678810058:"1083656409722",973666970040:"889782162350"};f=jE.prototype;f.lz=function(){this.Ki()};f.gp=function(a){var b;if(this.A.A){b="Z";var c=this.A;a=pc(c.D.Pa(),c.B.Pa(),a);fc(a,null,mE);nE(c,a)}else b="Y",nE(this.A,a);b=new nA(b,this);this.D?this.U(b):ml(this.R,this,"V",t(this.U,this,b))}; f.Ki=function(a,b){var c;c=this.F;var d=b||0||0,e=[];cc(e,ID);1==d?cc(e,JD):2==d&&(cc(e,JD),cc(e,KD));d="%s?fields=items(%s),kind&languageCode=%s";c.D&&(d+="&trace=token:%s");e=Hl(d,c.A+"/apps",e.joi n(","),"en",c.D);c=MD(c,c.B,e);by(c,t(this.iG,this));return c}; f.iG=function(a){a=nc(a,function(a){return a.F},this);var b=a.WEB_AND_CHROME_EXTENSION||[],c=a.CHROME_EXTENSION_ONLY||[];this.I=ac(a.WEB_ONLY||[],b);if(this.fa){a=ac(b,c);var d=new Cl,e=new wl;Lb(a,function(a){var b=a.Ts;Dl(d,b);Lb(b,function(b){yl(e.B,b)?e.get(b).push(a):e.set(b,[a])},this)},this);Lb(d.Pa(),function(a){dy(by(hE(this.Ua,a),t(this.OB,this,a,e.get(a))),t(this.NB,this,a,e .get(a)))},this)}oE(this)};f.NB=function(){}; f.OB=function(a,b,c){var d=[],e=[];c&&(c.driveEnabled||c.qo_version)&&(Lb(b,function(b){b.D=!0;var c=b.ra(),k=jm(im(new hm(c.B),"chrome-extension"),a);c.B=k.toString();c.R&&(k=jm(im(new hm(c.F),"chrome-extension"),a),c.F=k.toString(),k=jm(im(new hm(c.C),"chrome-extension"),a),c.C=k.toString());"CHROME_EXTENSION_ONLY"==b.F?(this.I.push(b),e.push(b)):d.push(b)},this),0==d.length&&0== e.length||oE(this,new nA("W",this)))}; function oE(a,b){var c=new wl(a.B);pE(a);var d=Nb(a.I,function(a){return a.isInstalled()||a.D});nE(a.C,d);qE(a);d=a.D;a.D=!0;a.U(b?b:rE(a,d,a.B,c))}function rE(a,b,c,d){return new nA(b?"W":"V",a,sE(c ,d),sE(d,c))}function sE(a,b){return Nb(a.Pa(),function(a){var d=b.get(a.getId());return(a.isInstalled()||a.Pm)&&(!d||!(d.isInstalled()||d.Pm))})} function pE(a){a.B.clear();a.sa=[];a.na=[];Lb(a.I,function(a){this.B.set(a.getId(),a);if((a.isInstalled()||a.D)&&null!=a.B){a.ra().R&&this.sa.push(a);var c;if(null!=a.B){c=a.ra().A;var d=a.ra().D,d=d&&0<d.length;c=c&&1==c.length&&Wz(c[0])&&!d}else c=!1;c&&this.na.push(a.getId())}},a)} function qE(a){a.ba.clear();a.L.clear();a.V.clear();Lb(a.I,function(a){(a.isInstalled()||a.D)&&null!=a.B&&a.ra().N&&(Fl(this.ba,a),Lb(a.ra().A,function(c){this.L.set(c,a)},this),Lb(a.ra().D,function( c){this.V.set(c,a)},this))},a)}function gD(a,b,c){var d=tE(a,b,c),e=a.X.A.get(b,null);e&&Lb(e,function(a){a=uE(this,a,!0);cc(d,a)},a);a=(a=tD(a,b,c))?a.getId():"";jc(d,sa(vE,a));d=wE(d);fc(d,null,mE) ;return d} function wE(a){for(var b={},c=0;c<a.length;c++){var d=a[c].getId();d in lE&&(b[lE[d]]=!0)}return Nb(a,function(a){return!(a.getId()in b)})}function uE(a,b,c){(a=a.C.D.get(b)||[],c)&&(a=Nb(a,function( a){return a.ra().L||Yz(b)}));return a?bc(a):[]}function tE(a,b,c){b=uE(a,b);a=(a=a.C.B.get(c)||[],bc(a));return ac(b,a)}function tD(a,b,c){return(c=a.V.get(c))?c:a.L.get(b)} f.ek=function(a,b,c){var d=t(this.ek,this,a,b,c);this.C.A?this.A.A?(d=[],cc(d,this.A.D.get(a)||[],this.A.B.get(b)||[]),fc(d,null,mE),d=Nb(d,function(a){a=this.B.get(a.getId());return!(a&&a.isInstalle d())},this),jc(d,function(c,d){var h=Bz(d.Qd,a)+Cz(d.Qd,b)-(Bz(c.Qd,a)+Cz(c.Qd,b));return 0!=h?h:d.Qd.A-c.Qd.A}),Lb(d,function(c){c.PC=Wz(a)||450<Bz(c.Qd,a)||450<Cz(c.Qd,b)}),c(d)):ml(this.R,this.A," V",d):ml(this.R,this.C,"V",d)};f.install=function(a){return by(this.F.install(a),t(this.Ki,this,!0,void 0))}; f.Z=function(){Lb(this.aa,function(a){E(a)});this.B.clear();this.B=null;this.N.clear();this.N=null;this.L.clear();this.L=null;this.V.clear();this.V=null;this.ba.clear();this.ba=null;jE.O.Z.call(this) };function kE(){B.call(this);this.D=new wl;this.B=new wl;this.A=!1}v(kE,B); function nE(a,b){a.clear();Lb(b,function(a){null!=a.B&&(Lb(ac(a.ra().A,a.ra().I),function(b){var e=this.D.get(b);e||(e=[],this.D.set(b,e));e.push(a)},this),Lb(ac(a.ra().D,a.ra().H),function(b){var e=this.B.get(b);e||(e=[],this.B.set(b,e));e.push(a)},this))},a);a.A||(a.A=!0,a.U(new nA("V",a)))}kE.prototype.clear=function(){this.D.clear();this.B.clear()};kE.prototype.Z=function(){this.clear();k E.O.Z.call(this)};function mE(a){return a.getId()} function hD(a,b,c){return a.H?c&&Wz(c)?ky({vq:[]}):(c=a.N.get(b))?ky(c):by(cE(a.H,b),function(a){this.N.set(b,a);var c=D(function(){this.N.remove(b);Zb(this.aa,c)},36E5,this);this.aa.push(c)},a):ly(" Application launching is not enabled.")}function eD(a,b){return a.H||!a.S?ky([]):ky(b&&Wz(b)||!bf||null==navigator.actions?[]:[a.S.D])}function nD(a,b,c){if(a.H)if(a=a.H,XD(a)){var d=new Wx;by(a.H,t(a.ZA,a,b,c,d));b=d}else b=ly(Error());else b=ly("Application launching is not enabled.");return b} function vE(a,b,c){if(b.getId()!=c.getId()){if(b.getId()==a)return-1;if(c.getId()==a)return 1}return Ga(b.A,c.A)};function xE(a){var b=al(a,bl),c;a=L(a);var d=wg(a);Rf(d)&&(c=new zD(Rf(d),void 0,b.Ej||void 0,!0),AD(c));c=new GD(b,c);var e=Tf(d);c.A=e;var e=null==G(a,34)?!1:G(a,34),g;if(null==G(a,66)?0:G(a,66))g=new TD(b,Tf(d)),g=new QD(g);a=new jE(c,e,wf(a,Gf,57),g);switch(a.$){case 0:g=a.F;g=MD(g,g.C,LD(g));by(g,a.gp,a);break;case 1:a.ha.isEmpty()||(g=a.F,d=a.ha.Pa(),g=MD(g,g.C,LD(g,d,void 0)),by(g,a.gp,a));a.$=2;break;default:throw Error("Unexpected state "+a.$);}a.Ki();x(a,b );x(a,c);return a};function yE(a){w.call(this);this.A=a;this.B=new M(this);x(this,this.B);a=Y(a);this.B.listen(a,wo.wj,t(this.C,this)).listen(a,"$",t(this.D,this))}v(yE,w);yE.prototype.C=function(a){ a=a.target;1==a.getState()&&this.A.get(Zy).B.set(a.getId(),a)};yE.prototype.D=function(){var a=Z(Y(this.A));this.A.get(Zy).B.set(a.getId(),a)};function zE(){B.call(this);this.A=0;this.B=!1}v(zE,B);fu nction AE(a){B.call(this);this.B=a||window;this.D=nd(this.B,"resize",this.C,!1,this);this.A=Vi(this.B)}v(AE,B);function BE(a){a=a||window;var b=na(a);return CE[b]=CE[b]||new AE(a)}var CE={};AE.prototype.Z=function(){AE.O.Z.call(this);this.D&&(wd(this.D),this.D=null);this.A=this.B=null};AE.prototype.C=function(){var a=Vi(this.B);Ci(a,this.A)||(this.A=a,this.U("resize"))};function DE(a,b){w.call(this);this.A=a;this.B=b;this.D=new M(this);x(this,this.D);this.C=BE(Fj(W(a)));var c=Y(this.A);this.D.listen(this.B,"t",this.Ht).listen(this.B,"v",this.bA).listen(this.B,"u",this.Jt).l isten(this.B,"w",this.Kt).listen(this.B,"x",this.Lt).listen(this.B,"y",this.Nt).listen(this.B,"B",this.ez);hz(this.A)&&this.D.listen(this.B,"z",this.$A).listen(this.B,"A",this.dz).listen(c,"aa",this. It).listen(this.C,"resize",this.Mt)}v(DE,w);f=DE.prototype; f.Nt=function(a){EA(Y(this.A),a.item.A,u())};f.ez=function(a){EE(this.B,a)};f.Lt=function(a){var b=u(),c=Y(this.A),d=c.A;0<d?GA(c,d-1,a,b):hz(this.A)&&1<HA(c)&&(nv(ov(this.A),{ka:4,qa:7}),FE(this,!0) )}; f.bA=function(a){var b=Z(Y(this.A));this.A.get(Qy);var c=al(this.A,Fy);if(!SC(0,b)){var d=a.dk,e=a.Xf,g=a.qa;oz(gz(c.A),"Extracting...",!0,5E3);a=al(c.A,dp);var h=lh(b.A),k=2==h?th(b.A):gh(b.A),h=2== h?"GMAIL":"DRIVE",m="e_"+b.getId();Tv(c.D,m,{ka:45,qa:g,item:b});e=t(c.vD,c,b,m,e||null);c=t(c.uD,c,b,m);g=Ao(b);m=to(b);b=jp(b);k=a.B+"/files/"+k+"/extract";k=Ne(k,"origin",h,"mimeType",g);Aa(Ca(m)) ||(k=Oe(k,"fileName",m));null!=b&&(k=Oe(k,"fileSize",b));Aa(Ca(d))||"root"==d||(k=Oe(k,"destinationLocationId", d));d=Zk(Xk(Wk(new Tk(a.A,k,"drive#archiveExtractionJob"),4),"POST")).start();hl(a,d);Nk(d,e);Ok(d,c)}};f.Kt=function(a){var b=Z(Y(this.A)),c=this.A.get(Qy);SC(0,b)||c.mp(b,a.app,a.qa)};f.Jt=function (a){var b=u(),c=Y(this.A),d=c.A,e=HA(c);d<e-1?GA(c,d+1,a,b):hz(this.A)&&1<e&&(nv(ov(this.A),{ka:4,qa:7}),FE(this,!0))};f.$A=function(){FE(this,!0)};f.dz=function(){FE(this,!1)};f.It=function(){D(func tion(){this.Aa||FE(this,0!=hz(this.A).A)},0,this)}; f.Ht=function(){FE(this,!1);YB(Kx(this.A),!1);GE(Kx(this.A),!1)};f.Mt=function(){FE(this,0!=hz(this.A).A)};function FE(a,b){if(hz(a.A)){var c=0,d;d=a.B;d.L?(d=d.L,d=d.oa&&d.F.scrollWidth>Dq(d.F).widt h):d=!1;b&&(c=d?87:75);var e=hz(a.A);d!=e.B&&(e.B=d,e.U("qa"));c!=e.A&&(e.A=c,e.U("pa"))}};function HE(a){B.call(this);this.A=a;this.D=3==Og(L(a))?56:60;var b=hv(this);a=3==Og(L(a))?8:12;this.B=0<b?b :a}v(HE,B);var IE=null; function hv(a){if(null===IE){var b=W(a.A),c=b.ma("div",{style:"width:200px;height:200px"}),d=b.ma("div",{style:"overflow:auto;position:absolute;top:0;width:100px;height:100px","class":"drive-viewer-s crollable"},c),c=d;3==Og(L(a.A))&&(c=b.ma("div",{"class":"drive-viewer-v3"},d));b.Ca(b.A.body,c);d=d.offsetWidth-d.clientWidth;b.Sa(c);IE=d}b=IE;if(c=0!=ug(L(a.A)))c=Y(a.A),c=0<c.B.A.length&&null!=c. A;return c?Z(Y(a.A)).ub().cl()?b:0:b}function gu(a){return new Wp(a.D,a.B,a.D,a.B)} function JE(a){a=gu(a);return a.left+a.right}function KE(a){a=gu(a);return a.top+a.bottom};function LE(a){B.call(this);this.I=a;this.A=!1;this.D=null;this.B=!1;this.H=this.F=this.C=null}v(LE,B);funct ion YB(a,b,c){if(a.A!=b){if(b&&null==a.D)if(a.I.Oa())a.D=0;else{var d=Bj(W(a.I),"drive-viewer-details-panel");a.D=d?Dq(d).width:0}a.A=b;a.U(new ME(c))}}function NE(a){return a.A&&a.D?a.D:0}function GE(a,b){a.B!=b&&(a.B=b,a.U("wa"))}function OE(a,b){x(a,b);b.Wb(a);return b}function PE(a){return!!a.C&&a.C.da()}function QE(a){return!!a.F&&a.F.da()}function RE(a){return!!a.H&&a.H.da()} function ME(a){y.call(this,"sa");this.D=a}v(ME,y);function SE(a,b){B.call(this);this.A=a;this.B=b}v(SE,B);SE.prototype.setVisible=function(a){this.A.setVisible(a)};SE.prototype.da=function(){return this.A.da()};SE.prototype.Z=function(){this.A=null};function TE(a){w.call(this);this.A=a;this.D=new AE(Fj(W(this.A)));x(this,this.D);this.B=new M(this);x(this,this.B);this.B.listen(this.D,"resize",t his.F).listen(Kx(this.A),"sa",this.C).listen(hu(this.A),"ra",this.I);(a=hz(this.A))&&this.B.listen(a,"pa",this.H);UE(this)}v(TE,w);TE.prototype.F=function(a){UE(this,a)};TE.prototype.H=function(a){UE (this,a)};TE.prototype.C=function(a){UE(this,a)};TE.prototype.I=function(a){UE(this,a)}; function UE(a,b){var c=hu(a.A),d;d=a.D;d=d.A?d.A.clone():null;var e=NE(Kx(a.A)),e=d.width-e,g=hz(a.A)?hz(a.A).A:0,c=new K(e-JE(c),d.height-g-KE(c)),e=eu(a.A);(!Ci(c,e.A)||!Ci(d,e.B))&&0<=c.height&&0< =c.width&&(e.A=c,e.B=d,e.U(new VE(b)))};function WE(a){B.call(this);this.D=a;this.A={};this.B=new M(this);x(this,this.B);this.B.listen(Y(a),"ca",this.C)}v(WE,B);WE.prototype.F=function(a){delete this.A[a]};WE.prototype.C=function(){this.A={}};function XE(a){sf(this,a,null)}v(XE,qf);function YE(a){sf(this,a,ZE)}v(YE,qf);var ZE=[1];function $E(a){sf(this,a,null)}v($E,qf);function aF(a){sf(this,a,null)}v(aF,qf);function bF(a){sf(this,a,null)}v(bF,qf);function cF(a){sf(this,a,null)}v(cF,qf);function dF(a){sf(this,a,eF)}v(dF,qf);var eF=[2,3,4,5];function fF(a){sf(this,a,null)}v (fF,qf);function gF(a){sf(this,a,hF)}v(gF,qf);var hF=[1,2,3,6,7];function iF(a,b){var c=new vv;H(c,1,a);H(c,2,b);return c};function jF(a,b){so.call(this,a,b);this.Kb=this.H=this.C=null}v(jF,so);funct ion kF(a){a=vh(a.A);return!Aa(Ca(a))}jF.prototype.Ja=function(){return{}};jF.prototype.$=function(a){this.C=a;H(this.W,4,a);this.U("xa")};jF.prototype.na=q;function lF(a,b){jF.call(this,a,b);this.D=[ ]}v(lF,jF);lF.prototype.Ja=function(){return{r:"gb"}};lF.prototype.Mc=function(a,b,c){a=lF.O.Mc.call(this,a,b,c);return no(a)?Ve(a,"r","gb"):a};lF.prototype.na=function(a,b,c){b||(a=new cF(jf(c.sheets)),b=G(a,1),b=this.D[b],c=G(wf(a,aF,2),2),a=G(wf(a,aF,2),1),mF(b,nF(b.V,c),nF(b.I,a)).F=!0,b.U("Bb"))};function oF(a){sf(this,a,null)}v(oF,qf);function pF(a){sf(this,a,null)}v(pF,qf);v ar qF={UNKNOWN:0,Mr:1,Kr:2};function rF(a){sf(this,a,null)}v(rF,qf);function sF(a){sf(this,a,null)}v(sF,qf);function Yv(a){return wf(a,Qv,8)};function tF(a){sf(this,a,null)}v(tF,qf);function uF(a){sf(this,a,vF)}v(uF,qf);var vF=[1];function wF(a,b){if(a){var c=G(a,10)||0;H(a,10,c|1<<b)}};var xF=Math.floor(36E5*(23+Math.random()));function yF(){var a=new tF,b;window.crypto&&window.crypto. getRandomValues?(b=new Uint32Array(2),window.crypto.getRandomValues(b),b=b[0].toString(36)+b[1].toString(36)):b=Ya();H(a,1,b);b=u();H(a,2,b);return a}var zF=yF();function AF(a){w.call(this);this.D=L( a);this.B=[];this.A=null;this.C=a}v(AF,w);var BF={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},CF={ND:1,basic:2,education:3,premium:4,isp:5,ispPremier:6,basicPlus:7,mailOEM:8,plac eholder:9,government:10,appsless:11};function nv(a,b){var c=Uv(a,b);Zv(a,c)}function Zv(a,b){if(null!==a.A){var c=u()-a.A;H(b,12,c)}a.B.push(b)} function Uv(a,b){var c=new sF;H(c,2,b.ka);n(b.qa)&&H(c,1,b.qa);var d=b.item;if(!n(d)){var e=Y(a.C);ou(e)&&(d=Z(e))}n(d)&&(e=Ho(d),yf(c,5,e),d instanceof lF&&wF(c,2));n(b.Ye)&&yf(c,11,b.Ye);n(b.Ic)&&H (c,3,b.Ic);d=n(b.Se)?b.Se:u();H(c,4,d);return c};function DF(a){w.call(this);this.B=a;this.qh=[];this.A=!1}v(DF,w);DF.prototype.setEnabled=function(a){this.A=a};function lu(a,b,c){if(a.A&&SA(c)){var d=new XE;H(d,1,b);b=gh(c.A);H(d,2,b);a.qh.push(d)}};function EF(a){w.call(this);this.D=a;this.B=new M(this);x(this,this.B);this.A=rx(a);this.C=0;a=Y(this.D);this.B.listen(a,"m",this.IA).listen(a,"l" ,this.wA).listen(a,"e",this.vA).listen(a,"$",this.bz)}v(EF,w);f=EF.prototype; f.IA=function(a){var b=a.target,c=b.I,d="lt_"+b.getId(),e=this.A.A[d];2==c?(a=a.info&&a.info.time||u(),Tv(this.A,d,{ka:53,item:b,Se:a})):1==c&&e?(b=oA(a.info.LC),e=wf(e,sl,5),yf(e,15,b),$v(this.A,d,1 ,a.info&&a.info.time)):4==c&&a.info.fc&&e?$v(this.A,d,3):(a.info&&a.info.error&&e&&Yv(e).Ga(a.info.error),FF(this,b,d,c))};f.wA=function(a){var b=a.target;a=b.getState();var c="lp_"+b.getId();FF(this ,b,c,a,28);2==a&&GF(this,c,b);b=Fg(L(this.D));if(a=0!=a&&2!=a&&b)a=null==G(b,3)?!1:G(b,3);a&&this.D.get(Yy).flush()}; f.vA=function(a){var b=a.target,c=b.F,d="lc_"+b.getId(),e=this.A.A[d];null!=a.error&&e&&Yv(e).Ga(a.error);FF(this,b,d,c,29)};f.bz=function(a){if(ja(a.D)){var b=Y(this.D),c=Z(b);if(!c.Ha){var d="ctv_"+c.getId(),e=null===a.cause?16:pr(a.cause);Tv(this.A,d,{ka:46,qa:e,item:c,Ic:this.C,Se:a.D,ol:HA(b)});GF(this,d,c);FF(this,c,d,c.getState());this.B.listen(c,"l",t(this.az,this,d,c));Eb(c,t(t his.$y,this,d));a=t(this.yC,this,c,this.C,e);a(new Co);this.B.listen(c,"l",a);this.C++}}}; function FF(a,b,c,d,e,g){switch(d){case 0:n(e)&&Vv(a.A,c);break;case 2:n(e)&&Tv(a.A,c,{ka:e,item:b,Ye:g});break;case 1:$v(a.A,c,1);break;case 3:a=a.A;if(d=a.A[c])Xv(a,d,2),b=Ef(d),e=u(),H(b,4,e),e=ne w Qv,H(e,1,2),d=G(Yv(d),4),H(e,4,d),yf(b,8,e),a.A[c]=b;break;case 4:$v(a.A,c,2)}}f.az=function(a,b,c){var d=b.getState();1==d?$v(this.A,a,1,c.time):FF(this,b,a,d)};f.$y=function(a){this.A.A[a]&&$v(th is.A,a,3)}; f.yC=function(a,b,c,d){1==a.getState()&&(d=d.time||u(),b=t(this.uA,this,a,d,b,c),a.sa?b():ml(this.B,a,"f",b))};f.uA=function(a,b,c,d){var e="vti_"+a.getId();Tv(this.A,e,{Se:b,ka:50,item:a,Ic:c,qa:d}) ;$v(this.A,e)};function GF(a,b,c){(a=a.A.A[b])&&c.La&&(a=qA(a),H(a,4,!0),zf(a,7,c.za))};function HF(a){sf(this,a,null)}v(HF,qf);function IF(a){w.call(this);this.A=a;this.F=this.B=null;this.I=new M(this);x(this,this.I);this.D=new ze(3E4);x(this,this.D);this.H=!1}v(IF,w);IF.prototype.start=function(){this.I.listen(this.D,"tick",this.R);this.D.start();this.H=!0;this.F=al(this.A,dp);this.B=ov(t his.A);this.C=this.A.get(mu)};IF.prototype.flush=function(){this.H&&JF(this)};IF.prototype.R=function(){JF(this)}; function JF(a){if(0<a.B.B.length){var b=new HF,c=a.B,d=new uF,e=zF;u()-G(e,2)>xF&&(zF=e=yF());yf(d,2,e);zf(d,1,c.B);H(d,5,!0);for(var e=G(wf(d,tF,2),1),g=xf(d,sF,1),h=0;h<g.length;h++){var k=wf(g[h],sl,5);if(k){var m=G(k,1);m&&wa(m,e)||(m=e+"."+Ya(),H(k,1,m))}}(e=Fg(c.D))&&wf(e,ag,1)&&(g=wf(e,ag,1),g=null==G(g,1)?"":G(g,1),h=wf(e,ag,1),h=null==G(h,2)?"":G(h,2),k=new oF,g&&H(k,1,g),h&& H(k,2,h),yf(d,6,k));var p;e&&Xf(e)&&(p=Xf(e),p=BF[p],H(d,4,p));e=p;p=new pF;g=new rF;H(g,1,l.innerWidth);H(g,2,l.innerHeight); H(g,3,l.outerWidth);H(g,4,l.outerHeight);yf(p,1,g);H(p,2,"en");H(p,3,qc);g=eu(c.C);h=g.A.clone().width;H(p,5,h);g=g.A.clone().height;H(p,6,g);g=KF();H(p,7,g);6==e&&("drive.google.com"==window.locatio n.hostname?H(p,8,qF.Mr):"docs.google.com"==window.location.hostname&&H(p,8,qF.Kr));e=(e=Fg(c.D))?Yf(e)||Zf(e)||"ND":"ND";H(p,9,CF[e]);yf(d,3,p);p=2==ug(c.D);H(d,7,p);p=c.C.Oa();H(d,8,p);c.B=[];yf(b,1 ,d);if(0<a.C.qh.length){c=a.C;d=new YE;zf(d,1,c.qh);if(p=Fg(L(c.B)))p=Xf(p),p=BF[p],H(d,5,p);c.qh=[];yf(b, 2,d)}a=a.F;b=b.I();a.A.sendRequest({path:a.B+"/viewerimpressions",method:"POST",body:{kind:"viewer#impression",impression:b},xa:q})}};function LF(a){this.D=a;this.A={}}LF.prototype.B=function(a){this .A.parent=a;return this};LF.prototype.Qa=function(){var a=ib(this.A,function(a){return null!==a}),a=qb(a)?null:a,a=[this.D,this.C,a],b=Vb(a,Id);return a=a.slice(0,b+1)};LF.prototype.toString=function (){var a=this.Qa();return"("+Pb(a,function(a){return kf(a)}).join(",")+")"};LF.prototype.getId=function(){return this.D};function MF(a){LF.call(this,a||"all")}v(MF,LF);function NF(a,b){a.A.sortKey=7; b&&(a.A.ff=b);return a}function OF(){var a=PF(NF(QF(RF(new MF("folders")))));n(!0)?a.A.ownedByMe=!0:delete a.A.ownedByMe;return a}function RF(a){a.A.includeFolders=!0;return a}function QF(a){a.A.selectFolder=!0;return a}function SF(a){a.A.ers=!0;return a}function PF(a){a.A.createFolder=!0;return a}MF.prototype.B=function(a){MF.O.B.call(this,a);return this}; function TF(){var a=QF(RF(new MF));a.A.drois=!0;a=PF(SF(NF(a,!0)));a.A.sdv=!0;a.A.sblois="Move";a.A.sblovs="Move here";return a};function UF(){LF.call(this,"image-search")}v(UF,LF);UF.prototype.B=fun ction(a){UF.O.B.call(this,a);return this};function VF(){LF.call(this,"maps")}v(VF,LF);VF.prototype.B=function(a){VF.O.B.call(this,a);return this};function WF(){LF.call(this,"photos")}v(WF,LF);WF.prot otype.B=function(a){WF.O.B.call(this,a);return this};function XF(){LF.call(this,"url")}v(XF,LF);XF.prototype.B=function(a){XF.O.B.call(this,a);return this};function YF(){LF.call(this,"video-search")} v(YF,LF);YF.prototype.B=function(a){YF.O.B.call(this,a);return this};function ZF(){LF.call(this,"web")}v(ZF,LF);ZF.prototype.B=function(a){ZF.O.B.call(this,a);return this};function $F(a){this.B=ha(a) ?new LF(a):a;this.A=[];this.D={}}function aG(a){switch(a){case "image-search":return new UF;case "maps":return new VF;case "photos":return new WF;case "url":return new XF;case "video-search":return new YF;case "web":return new ZF}return new LF(a)}function bG(a){return"("+Pb(a.A,function(a){return a.toString()}).join(",")+")"}function cG(a){a=ib(a.D,function(a){return null!==a});return(a=qb(a)? null:a)?kf(jb(a,function(a){return a.toString()})):""} $F.prototype.toString=function(){if(this.B){var a=["{root:",this.B.toString(),",items:",bG(this)],b=cG(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return bG(this)};function dG(a){this.F=a||"https://docs.google.com/picker";this.B=new $F}dG.prototype.B=null;dG.prototype.C=null;function eG(a,b){a.B.A.push(ha(b)?aG(b):b);return a}function fG(a,b){a.rb=b;return a}function gG(a,b){a.C=b;return a};function hG(a){dG.call(this,a)}v(hG,dG);function iG(a){this.action=a;this.wfv=!1};function jG(a,b){iG.call(this,"set-drive-options");this.appId=a;this.appOrigin=b} v(jG,iG);function kG(a){iG.call(this,"visibility");this.visible=a}v(kG,iG);function lG(a){is.call(this,a)}v(lG,is);lG.prototype.ea=function(){var a=this.B,b=a.ma("div");this.D=b;var c=a.ma("div","picker-min-arrow-inner"),d=a.ma("div","picker-min-arrow-border");a.Ca(b,c);a.Ca(b,d)};function mG(a,b,c){a=a.J();fq(a,"left","");fq(a,"right","");Rp(b,"picker-min-top");Rp(b,"picker-mi n-bottom");c=Ar(b,c);c&1?(a.className="picker-min-arrow-down",S(b,"picker-min-bottom")):(a.className="picker-min-arrow-up",S(b,"picker-min-top"))} lG.prototype.update=function(a,b,c){this.oa&&(c||(c=new Wp(0,0,0,0)),mG(this,a,b),a=this.J(),b&4?fq(a,"right",-c.right+"px"):fq(a,"left",-c.left+"px"))};var nG=gi(Mh(Nh("//www-onepick-opensocial.goog leusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")));gi(Mh(Nh("//apis.google.com/js/rpc.js")));function oG(a){a=a&&Fj(a)||window;return a.gadgets&&a.gadgets.rpc}var pG=null;function qG(a,b){var c=b&&Fj(b)||window;if(oG(b))a();else if(pG)pG.push(a);else var d=pG=[a],e=c.setInterval(function(){if(oG(b)){c.clearInterval(e);for(var a=0;a<d.length;a++)d[a]();pG=null}},100)};function rG(a,b){gC.call(this,a);rj(a,!0);ok(a,"dialog");this.A=b||Mi();this.N=!1;this.C=Dj(this.A,"span");rj(this.C,!0);this.C.style.position="absolute";pk(this.C,"hidden",!0);this.L=!1}v(rG,gC);f=rG.protot ype;f.ul=null;f.yq=function(){this.L=!1};f.AE=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.J()&&(this.L=!0,this.yg(this.C),D(this.yq,0,this))};f.zE=function(a){this.L?this.yq():a.target==this .C&&D(t(this.yg,this,this.J()),0)};f.yg=function(a){try{a&&a.focus()}catch(b){}}; f.Tb=function(){rG.O.Tb.call(this);var a=this.I||null;a&&a.Bc(this.C,this.X,this.W||null)};function sG(a,b,c,d,e,g){var h=c||Mi(),k=h.ma("div","picker-iframe picker-min goog-menu"),m=new hm(a),p="true"==ym(m,"minew");p&&S(k,"picker-minew");S(k,"picker-white-callout");h.Ca(h.A.body,k);rG.call(this,k,h);this.N=p;this.da()?fB(this):this.Ip();this.B=h;this.F=Ya();this.S=Ya();h=xm(xm(new hm(a),"rpctoken",this.S),"rpcService",this.F);im(h,"https");this.zg=h.toString();this.gb&&(this.gb.src=this.zg);this.fa=d||248;this.sa=e||p?311:300;this.aa=!!g;b&&(ym(zm(a),"hostId"),b=this.A,oG(b)| |(b=b||Mi(document), d=Dj(b,"script"),d.src=fi(nG),d.type="text/javascript",b.A.body.appendChild(d)));b=null;d=a.indexOf("/picker?");-1<d?b=a.substring(0,d+8-1):xa(a,"/picker")&&(b=a);b&&tG(this,b+"/resources/rpc_relay.h tml");eB(this);this.Tk=!1;eB(this);this.Rm=!1;ym(m,"hl");this.H=new lG(c);x(this,this.H);this.H.ga(k)}v(sG,rG);f=sG.prototype;f.zg="";f.gb=null;f.Um=!1;f.Bq=!1;f.Cq=!1;f.rb=q; function uG(a){if(!a.gb){a.D.listen(Fj(a.A),"keydown",a.Aq);a.gb=a.B.ma("iframe",{id:a.F,name:a.F,"class":"picker-frame",src:vG(a),onload:t(a.BE,a),frameBorder:"0"});a.J().appendChild(a.gb);ok(a.gb," dialog");var b=ym(zm(a.zg),"title");b&&tk(a.gb,b);S(a.J(),"picker-min-popup");Aq(a.gb,a.fa,a.sa);a.gb.src=a.zg;wG(a,t(function(a){a.setAuthToken(this.F,this.S)},a))}} f.Tb=function(){if(this.gb){sG.O.Tb.call(this);var a=this.I||null,b=this.X;if(a instanceof eC){var c=this.H,a=a.A,d=this.J();if(c.oa){mG(c,d,b);var c=c.J(),e=xq(a,d),g=Nq(c).width,e=e.x+Nq(a).width/2 -g/2,e=Math.max(0,e),h=Nq(d).width;h-g&&(g=h-g,e>g&&(e=g,d.getBoundingClientRect().left+g/2>a.getBoundingClientRect().left&&(e=Math.min(e,g/2))));fq(c,"left",e+"px")}}else this.H.update(this.J(),b,th is.W||null);Ar(this.J(),b)&1?this.gb.className="picker-min-frame-down":this.gb.className="picker-min-frame-up"}}; function vG(a){return A&&Nc("7")&&wa(a.zg,"https")?"https://about:blank":ZA}f.BE=function(){this.gb.src!=vG(this)&&(this.Bq=!0,this.D.wa(Fj(this.A),"keydown",this.Aq),rj(this.gb,!0),this.da()&&D(t(th is.yg,this,this.gb),0))};f.Aq=function(a){27==a.keyCode&&(xG(this),a.stopPropagation(),a.preventDefault())};function wG(a,b){var c=a.A;qG(function(){b(Fj(c).gadgets.rpc)},c)}function yG(a,b){a.rb=b;wG(a,t(function(a){a.register(this.F,t(this.CE,this))},a))} f.CE=function(a){switch(a.action){case "viewUpdated":case "viewChanged":this.Tb();return;case "enableWhiteCallout":a=a.extraUserInputs;Tp(this.J(),"picker-white-callout",a&&a.ewc);return;case "loaded":this.Cq=!0;zG(this,new kG(this.da()));AG(this);break;case "blurred":this.J()!=this.A.A.activeElement&&this.da()&&(this.setVisible(!1),this.rb({action:"cancel"}));return;case "picked":case "cancel":this.setVisible(!1)}this.rb(a)}; function AG(a){a.ba&&zG(a,new jG(a.ba,window.location.protocol+"//"+window.location.host))}function tG(a,b){wG(a,t(function(a){a.setRelayUrl(this.F,b)},a))}function zG(a,b){"refresh"==b.action?(a.gb& &!a.da()&&(a.J().removeChild(a.gb),a.gb=null),uG(a)):wG(a,t(function(a){a.call(this.F,"picker",null,b)},a))} f.$h=function(){sG.O.$h.call(this);gj(this.C,this.J());this.ul=new bB(this.A.A);this.D.listen(this.ul,"focusin",this.zE).listen(this.J(),"keydown",this.AE);uG(this);if(!this.aa){var a=this.A.A;this.D.listen(a,"mousedown",this.zq,!0);if(A){var b;try{b=a.activeElement}catch(r){}for(;b&&"IFRAME"==b.nodeName;){try{var c=b.contentDocument||b.contentWindow.document}catch(r){break}a=c ;b=a.activeElement}this.D.listen(a,"mousedown",this.zq,!0)}}zG(this,new kG(!0));Br(new I(0,0),this.J(),0,this.W||null);this.Tb(); if(this.N&&(a=this.I||null,a instanceof eC&&ka(this.J().getBoundingClientRect))){b=this.X;var d=Vi().height,e=Vi().width,c=null,g=a.B,h=this.$?this.$.getBoundingClientRect():void 0,k=h?h.top:0,d=h?Ma th.min(h.bottom,d):d,e=h?Math.min(h.right,e):e,h=h?h.left:0,m=a.A.getBoundingClientRect(),p=this.J().getBoundingClientRect();if(!(g&1)&&p.top<k||g&1&&p.bottom>d&&m.top>k+(p.bottom-p.top))g^=1,c=new eC(a.A,g),b^=1;if(g&4&&p.left<h||!(g&4)&&p.right>e&&m.right>h+(p.right-p.left))c=new eC(a.A,g^4),b^=4;c&& (iC(this,c),hC(this,b),this.Tb())}this.Bq?this.yg(this.gb):this.yg(this.J())};f.jg=function(a){sG.O.jg.call(this,a);Fb(this.ul);hj(this.C);zG(this,new kG(!1))};f.zq=function(a){a=a.target;mj(this.J() ,a)||hB(this,a)||150>u()-this.yi||xG(this)};function xG(a){a.da()&&(a.setVisible(!1),a.rb({action:"cancel"}))}f.Z=function(){this.Um?(hj(this.J()),sG.O.Z.call(this)):D(function(){this.Um=!0;this.Z()} ,0,this)};function BG(a){dG.call(this,a);this.A=new hm(this.F);xm(this.A,"protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);CG(this,a);this.D=[]} v(BG,hG);function DG(a,b,c){a.D.push([b,c||{}]);return a} function EG(a){FG(a,"minimal");if(!ym(a.A,"relayUrl")){var b=lm(nm(mm(zm(window.location.href),void 0),""),"/favicon.ico").toString();xm(a.A,"relayUrl",b)}a.D.length&&xm(a.A,"pp",kf(a.D));b=xm(a.A,"n av",bG(a.B)).clone();b=new sG(b.toString(),!0,a.C,a.R,a.I,a.H);b.ba=a.V;b.Cq&&AG(b);yG(b,a.rb);return b}BG.prototype.Pf=function(a){this.H=a;return this};function FG(a,b){xm(a.A,b,"true");return a}function GG(a){xm(a.A,"actions","viewContentRendered");return a} function HG(a,b){xm(a.A,"authuser",b);return a}function IG(a,b){xm(a.A,"hostId",b);return a}function CG(a,b){b&&xm(a.A,"origin",b);return a}function JG(a){xm(a.A,"hl","en");return a}function KG(a,b){xm(a.A,"selectButtonLabel",b);return a}function LG(a){xm(a.A,"selectableMimeTypes","application/vnd.google-apps.folder");return a}BG.prototype.setTitle=function(a){xm(this.A,"title",a);retur n this};function MG(a,b){this.dk=a;this.Xf=b};function NG(a,b,c,d,e){B.call(this);this.N=b;this.F=c;this.S=d;this.R=e||null;this.H=new M(this);x(this,this.H);this.V=this.B=null;this.C=!1;this.D=0;thi s.I=this.L=""}v(NG,B);f=NG.prototype; f.Kg=function(a,b){var c=!!b.Pf;!this.B||this.C?(c=GG(gG(HG(fG(eG(KG(JG(IG(LG(FG(FG(CG(new BG(this.S),He(Fj(this.F).location.href)),"newDriveView"),"minew")),this.I)),this.L),SF(OF())),t(this.Dv,this )),this.N),this.F).Pf(!!c).setTitle("Select a Drive folder to extract to")),Aa(Ca(this.R))||xm(c.A,"st",this.R),this.B=EG(c),x(this,this.B),this.C=!1,this.H.listen(this.B,"hide",this.sz)):this.Dc();t his.A=new Dk;this.V=a;var c=b.parentElement,d=b.Gf||9,e=b.Ag||8,g=b.margin;c&&c.appendChild(this.B.J()); iC(this.B,new eC(a,d));hC(this.B,e);g&&jC(this.B,g);this.B.setVisible(!0);return this.A};f.Dc=function(){return this.B&&this.B.da()?(this.B.setVisible(!1),!0):!1};f.da=function(){return!!this.B&&this .B.da()};f.Dv=function(a){switch(a.action){case "picked":this.C=!0;(a=(a=a.docs)&&0<a.length?a[0]:null)&&a.id?(this.A.ua(new MG(a.id,a.name)),OG(this)):this.A.Ga("folder picked but no document.");break;case "cancel":OG(this);this.A.cancel();this.A=null;break;case "viewContentRendered":this.U("Ba")}}; function OG(a){a.D&&E(a.D);a.D=D(function(){this.V.focus()},0,a)}f.sz=function(){this.U("Aa")};f.Z=function(){this.D&&E(this.D);NG.O.Z.call(this)};function PG(a,b,c){w.call(this);this.C=a;this.F=b;th is.B=c||"/drive/v2internal"}v(PG,w);function QG(a,b){return Wk(Zk(new Tk(a.C,b,"drive#file")),a.F)};function RG(a,b,c){PG.call(this,a,b,c)}v(RG,PG);function QA(a,b,c,d){b=a.B+"/files/"+b;b=Oe(b,"upda teViewedDate",!1);c&&0<c.length&&(b=Oe(b,"addParents",c.join(",")));d&&0<d.length&&(b=Oe(b,"removeParents",d.join(",")));b=Oe(b,"fields","kind,id");return Xk(QG(a,b),"PUT").start()};function SG(a){iG.call(this,"set-view-options");this.viewOptions=a}v(SG,iG);function TG(a,b,c){return Gt(new Bt((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]),{NUM_ITEMS:a,NUM_PARENTS:c})} function UG(a){return Gt(new Bt("{NUM_FOLDERS, plural, =1 {Move from one folder}=2 {Move from both folders}other {Move from all # folders}}"),{NUM_FOLDERS:a})};function VG(){this.$l=this.I=this.R=!0} var WG=new VG;WG.id="root";WG.name="My Drive";WG.B="owner";WG.D=!1;WG.H="https://drive.google.com/drive/my-drive";WG.F="//ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png";WG.C="";func tion XG(){VG.call(this)}v(XG,VG);function YG(a){return Sb(a,ZG)?"onlyfolders":Rb(a,ZG)?"mixed":"onlyfiles"}function ZG(a){return"application/vnd.google-apps.folder"==a.wg};function $G(a,b,c){b&&D(fun ction(){var d=Gj(c),e=a?a.J():null;(e&&e.contains(d)||d==c.A.body)&&b.focus()},0)};function aH(a,b){B.call(this);this.D=this.F=null;this.C=a;this.I=this.A=null;this.R=new M(this);x(this,this.R);this. B=null;this.H=!1;this.N=b;this.L=!0}v(aH,B);f=aH.prototype;f.Kg=function(a,b,c,d,e,g,h){bH(this,a,!!d,e,g,h);this.I=b;c.parentElement&&c.parentElement.appendChild(this.A.J());iC(this.A,new eC(b,c.Gf||9));hC(this.A,c.Ag||8);c.wr&&(this.A.$=c.wr);c.margin&&jC(this.A,c.margin);ml(this.R,this.A,"hide",this.lt);this.U("Da");this.A.setVisible(!0);this.B=ke();return this.B.D}; f.Dc=function(){return this.da()?(this.A.setVisible(!1),!0):!1};f.da=function(){return!!this.A&&this.A.da()}; function bH(a,b,c,d,e,g){Fb(a.A);a.H=!1;var h=TF();c||(h.A.emak=!0);d&&(h.A.sodc=!0);Ba(g)||h.B(g);a.L&&Ba(g)&&(h.A.lv=!0);var k;e&&e.then(function(a){k=a},function(){});e=DG(fG(GG(JG(gG(CG(LG(FG(eG( cH(a),h),"minew")),a.N||He(Fj(a.C).top.location.href)),a.C)).setTitle("Organize in Drive").Pf(!1)),t(function(a){dH(this,d,k,g,a)},a)),"mdisamb");h={};h.ni=b;DG(e,"dow",h);a.F&&a.D&&HG(IG(e,a.F),a.D) ;c&&xm(e.A,"addMode",!0);a.A=EG(e);x(a,a.A)} function dH(a,b,c,d,e){switch(e.action){case "picked":if((b=(b=e.docs)&&0<b.length?b[0]:null)&&b.id){e=!1;var g=b.id,h=b.name,k,m=b.rpt;if(null!=m)Aa(m)?d=void 0:-1<m.indexOf(",")?e=!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.B.A({fd:g,lh:h,Jc:d,Qi:k,hc:e,Ri:b.sourceTeamDriveId,Si:b.sourceTeamDriveName,mh:b.teamDriveId,nh:b.organizeIntoTeamDrive?b.tea mDriveName:void 0,Ke:b.undoable})}break;case "cancel":a.B&&(a.B.B("cp"),a.B=null);break;case "viewContentRendered":a.H|| (b&&b.then(function(a){Td(function(){var b={};b.dto=Pb(a,this.fn,this);c&&(b.items=Pb(c,this.fn,this));zG(this.A,new SG(b))},this)},a.jz,a),a.U("Ca"),a.H=!0)}} f.fn=function(a){var b="application/vnd.google-apps.folder",c="";a instanceof XG&&(b=a.wg||b,c=a.A?a.A.join(","):c);return{id:a.id,name:a.name,mimeType:b,url:a.H,iconUrl:a.F,isShared:a.D,readOnly:"re ader"==a.B,isRoot:"application/vnd.google-apps.folder"==b&&"owner"==a.B&&Aa(Ca(a.C)),parent:a.C,ops:c,ownedByMe:"owner"==a.B,teamDriveId:a.mc,teamDriveName:a.oc,teamDriveCanAddChildren:a.R,canEdit:a. I,teamDriveCanRemoveChildren:a.$l}};f.jz=function(a){var b=this.B;this.B=null;this.Dc();b.B(a)}; f.lt=function(){$G(this.A,this.I,this.C)};function eH(a,b,c,d){aH.call(this,b,d);this.S=a;this.V=c||null}v(eH,aH);function cH(a){var b=new BG(a.S);Aa(Ca(a.V))||xm(b.A,"st",a.V);return b};function fH(a){a=a||{};a=a.gt;var b='<div class="drive-organize-atd-popup"><div class="drive-organize-popup-message drive-organize-atd-adding-msg">'+R("<span>Adding to <b>My Drive</b>...</span>") +'</div><div class="drive-organize-popup-message drive-organize-atd-added-msg">'+R("<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">'+ R("<span>Unable to add to <b>My Drive</b></span>")+"</div></div>";return R(b)};function gH(a,b){w.call(this);this.B=a;this.C=b||Mi();this.I=new M(this);x(this,this.I);this.A=this.F=null;this.H=this.D =!1}v(gH,w);f=gH.prototype;f.pn=function(){this.D=!1};f.Z=function(){hj(this.A);Fb(this.F);this.H||rj(this.B,!1);gH.O.Z.call(this)};f.it=function(a){this.D&&a.target==this.A?this.pn():a.target==this. A&&D(this.ht,0,this)};f.jt=function(a){if(9==a.keyCode&&a.shiftKey&&a.target==this.B){this.D=!0;try{this.A.focus()}catch(b){}D(this.pn,0,this)}}; f.ht=function(){try{A&&this.C.A.body.focus(),this.B.focus()}catch(a){}};var hH=null;function iH(){if(null==hH){var a=Mi(),b=a.A,c=Dj(a,"div");c.style.backgroundColor="rgb(1, 2, 3)";a.Ca(b.body,c);b=j q(c,"backgroundColor");b=b.replace(/ /g,"");b="rgb(0,0,0)"===b?"black":"rgb(255,255,255)"===b?"white":"none";a.Sa(c);hH=b}return hH};function jH(){}v(jH,Ls);da(jH);f=jH.prototype;f.bc=function(a){var b=Cs(this,a),b=a.B.ma("DIV",{"class":"goog-inline-block "+b.join(" ")},a.getContent());this.ta(b,a.yb());return b};f.Rc=function(){return"button"};f.Rh=function(a){return"DIV"==a.tagName};f.bb=funct ion(a,b){S(b,"goog-inline-block");return jH.O.bb.call(this,a,b)};f.ja=function(){return""};f.ia=function(){return"goog-flat-button"};Ms("goog-flat-button",function(){return new dt(null,jH.la())});fun ction kH(a,b,c,d){eC.call(this,a,b);this.C=c?5:0;this.D=d||void 0}v(kH,eC);kH.prototype.L=function(){return this.C};kH.prototype.F=function(a){this.C=a};kH.prototype.Bc=function(a,b,c,d){var e=zr(this.A,this.B,a,b,null,c,10,d,this.D);if(e&496){var g=lH(e,this.B);b=lH(e,b);e=zr(this.A,g,a,b,null,c,10,d,this.D);e&496&&(g=lH(e,g),b=lH(e,b),zr(this.A,g,a,b,null,c,this.C,d,this.D))}};functio n lH(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function mH(a,b,c,d){kH.call(this,a,b,!0);this.I=d;this.H=c;this.R=this.I+"-arrowdown";this.V=this.I+"-arrowup"}v(mH,kH);mH.prototype.Bc=function(a,b,c, d){var e=zr(this.A,this.B,a,b,null,c,10,d,this.D);if(e&496){var g=lH(e,this.B);b=lH(e,b);e=zr(this.A,g,a,b,null,c,10,d,this.D);e&496&&(g=lH(e,g),b=lH(e,b),zr(this.A,g,a,b,null,c,this.C,d,this.D));nH( this,a,g)}else nH(this,a,this.B)}; function nH(a,b,c){c=0==(c&1);Tp(a.H,a.R,c);Tp(a.H,a.V,!c);c=xq(a.A,b);b=Nq(b).width;var d=Nq(a.H).width;c=Math.max(0,c.x)+Math.min(Nq(a.A).width,b)/2-d/2;c=Math.min(c,b-d);c=Math.max(0,c);fq(a.H,"le ft",c+"px")};function oH(a,b,c){b=R;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">'+Q(a.sE)+'</div><div class="drive-organize-popup-close-btn">',e;e=a||{};c=c||{};a=R;e=e||{};e=R("black"==e.ii?"#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="'+ Kn(e)+'" style="'+(c.Ea?"/*"+c.Ea+"*/":"")+'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 pH(a,b){is.call(this,b);this.za=a;this.popup=new gC;x(this,this.pop up);var c=qH.la();this.N=new dt(null,c,b);this.ca(this.N);this.I=new dt(null,c,b);this.ca(this.I);this.C=this.ha=this.L=this.fa=null;this.X=!1}v(pH,is);f=pH.prototype;f.ea=function(){this.D=P(oH,{sE: this.za,ii:iH()},void 0,this.B);this.L=U(this,"drive-organize-popup-content")}; f.Y=function(){pH.O.Y.call(this);var a=this.B,b=this.J();T(b,!1);this.popup.Gg(b);this.ha=U(this,"drive-organize-popup-arrow");rs(this.N,U(this,"drive-organize-popup-organize-btn"));rs(this.I,U(this, "drive-organize-popup-close-btn"));this.I.ta("Close");Ss(this.I,"Close");ok(b,"alertdialog");var c=this.popup;eB(c);c.Tk=!0;a=new gH(this.L,a);x(this,a);a.A||(a.A=Dj(a.C,"span"),rj(a.A,!0),a.A.style. position="absolute");gj(a.A,a.B);var c=a.B,d=c.getAttributeNode("tabindex");null!=d&&d.specified?(c=c.tabIndex, c=ja(c)&&-1<=c&&32768>c):c=!1;a.H=c;a.H||rj(a.B,!0);a.F=new bB(a.C.A);a.I.listen(a.F,"focusin",a.it).listen(a.B,"keydown",a.jt);V(this).listen(this.popup,"hide",this.rt).listen(this.I,"action",this.q t).listen(this.N,"action",this.hB);V(this).listen(b,"keydown",t(this.Uk,this,!1),!0).listen(b,"mousedown",t(this.Uk,this,!0),!0);V(this).listen(b,"blur",this.ot,!0);V(this).listen(b,"dblclick",this.U i).listen(b,"click",this.Ui).listen(b,"mousedown",this.Ui).listen(b,"mouseup",this.Ui)}; function rH(a,b){a.fa=b;iC(a.popup,new mH(b,a.na||9,a.ha,"drive-organize-popup"))}f.hide=function(){this.popup.setVisible(!1)};f.da=function(){return this.popup.da()};f.nt=function(a){try{a.focus()}c atch(b){}};f.rt=function(){this.C&&(this.C.A(0),this.C=null);this.X?this.X=!1:$G(this.popup,this.fa,this.B)};f.ot=function(){var a=this.B,b=a.A;D(function(){if(!this.Aa&&this.da())if(ka(b.hasFocus)&& !b.hasFocus())this.hide();else{var c=Gj(a);c&&!mj(this.J(),c)&&this.hide()}},0,this)}; f.qt=function(){sH(this,0)};f.hB=function(){this.X=!0;sH(this,1)};function sH(a,b){a.C&&(a.C.A(b),a.C=null);a.popup.setVisible(!1)}f.Uk=function(a){Tp(this.D,"drive-organize-popup-outline-hidden",a)} ;f.Ui=function(a){a.B()};function qH(){}v(qH,jH);da(qH);qH.prototype.ia=function(){return"drive-organize-button"};function tH(a,b){pH.call(this,"Organize",a);var c=qH.la();this.A=null;b||(this.A=new dt(null,c,a),this.ca(this.A));this.S=this.$=this.aa=this.H=null;this.F=this.W=!1}v(tH,pH);f=tH.prototype;f.ea=function(){tH.O.ea.call(this);var a=this.B,b;this.A||(b={gt:!0});this.H=P(fH,b,void 0,a);Hj(this.L,this.H,0)}; f.Y=function(){tH.O.Y.call(this);this.$=U(this,"drive-organize-atd-added-msg");this.aa=U(this,"drive-organize-atd-adding-msg");this.S=U(this,"drive-organize-atd-error-msg");T(this.S,!1);this.A&&rs(th is.A,U(this,"drive-organize-atd-popup-undo-btn"));var a=this.J();T(a,!0);uH(this,!0);var b=Dq(this.H).width;uH(this,!1);b=Math.max(b,Dq(this.H).width);++b;Bq(this.H,b);fq(this.H,"white-space","normal ");T(a,!1);this.A&&V(this).listen(this.A,"action",this.uC)}; f.show=function(a,b){this.F=this.W=!1;this.na=b.Gf;if(this.oa){var c=this.B,d=this.D,e=c.A.body,g=c.Hx(d),e=b.parentElement||e;g!=e&&c.Ca(e,d)}else this.ga(b.parentElement);rH(this,a);hC(this.popup,b .Ag||8);jC(this.popup,b.margin||new Wp(10,0,10,0));this.Uk(!0);vH(this);this.popup.setVisible(!0);D(sa(this.nt,this.L),0);this.C=ke();return this.C.D};f.Ga=function(a){a&&rH(this,a);this.F=!0;vH(this )};function vH(a){uH(a,a.W);a.popup.Tb()} function uH(a,b){T(a.$,!a.F&&b);T(a.aa,!a.F&&!b);T(a.S,a.F);a.A&&a.A.setVisible(!a.F&&b);a.N.setVisible(!a.F)}f.uC=function(){sH(this,2)};function wH(){}v(wH,zs);da(wH);wH.prototype.ia=function(){ret urn"goog-menuheader"};function xH(a,b,c){Ps.call(this,a,c||wH.la(),b);this.Za(1,!1);this.Za(2,!1);this.Za(4,!1);this.Za(32,!1);this.Id=1}v(xH,Ps);Ms("goog-menuheader",function(){return new xH(null)});function yH(){this.B=[]}v(yH,zs);da(yH);function zH(a,b){var c=a.B[b];if(!c){switch(b){case 0:c=a.ia()+"-highlight";break;case 1:c=a.ia()+"-checkbox";break;case 2:c=a.ia()+"-content"} a.B[b]=c}return c}f=yH.prototype;f.Rc=function(){return"menuitem"};f.bc=function(a){var b=a.B.ma("DIV",Cs(this,a).join(" "),AH(this,a.getContent(),a.B));BH(this,a,b,Is(a,8)||Is(a,16));return b};f.Sc=function(a){return a&&a.firstChild}; f.bb=function(a,b){var c=ij(b),d=zH(this,2);c&&Pp(c,d)||b.appendChild(AH(this,b.childNodes,a.B));Pp(b,"goog-option")&&(a.Wh(!0),a&&b&&BH(this,a,b,!0));return yH.O.bb.call(this,a,b)};f.eg=function(a,b ){var c=this.Sc(a),d=CH(this,a)?c.firstChild:null;yH.O.eg.call(this,a,b);d&&!CH(this,a)&&c.insertBefore(d,c.firstChild||null)};function AH(a,b,c){a=zH(a,2);return c.ma("DIV",a,b)}function CH(a,b){var c=a.Sc(b);if(c){var c=c.firstChild,d=zH(a,1);return!!c&&kj(c)&&Pp(c,d)}return!1} function BH(a,b,c,d){Gs(a,c,b.gg());Hs(a,b,c);d!=CH(a,c)&&(Tp(c,"goog-option",d),c=a.Sc(c),d?(a=zH(a,1),c.insertBefore(b.B.ma("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.Zf=function( a){switch(a){case 2:return zH(this,0);case 16:case 8:return"goog-option-selected";default:return yH.O.Zf.call(this,a)}};f.Kh=function(a){var b=zH(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return yH.O.Kh.call(this,a)}};f.ia=function(){return"goog-menuitem"};function DH(a,b,c,d){Ps.call(this,a,d||yH.la(),c);this.ua(b)}v(DH,Ps);f=DH.prototype;f.ja=function(){v ar a=this.Ra;return null!=a?a:this.Sh()};f.ua=function(a){this.Ra=a};f.Za=function(a,b){DH.O.Za.call(this,a,b);switch(a){case 8:Js(this,16)&&!b&&Ys(this,!1);var c=this.J();c&&this&&c&&BH(this.C,this, c,b);break;case 16:(c=this.J())&&this&&c&&BH(this.C,this,c,b)}};f.Wh=function(a){this.Za(16,a)}; f.Sh=function(){var a=this.getContent();return fa(a)?(a=Pb(a,function(a){return kj(a)&&(Pp(a,"goog-menuitem-accel")||Pp(a,"goog-menuitem-mnemonic-separator"))?"":wj(a)}).join(""),Da(a)):DH.O.Sh.call( this)};f.Uc=function(a){var b=this.Sb();if(b){var c=b.ha;b.ha=null;if(c&&ja(a.clientX)&&zi(c,new I(a.clientX,a.clientY)))return}DH.O.Uc.call(this,a)};f.hd=function(a){return a.keyCode==this.kl&&this. Pd(a)?!0:DH.O.hd.call(this,a)};f.Oi=function(a){this.kl=a};f.xx=function(){return this.kl}; Ms("goog-menuitem",function(){return new DH(null)});DH.prototype.gg=function(){return Is(this,16)?"menuitemcheckbox":Is(this,8)?"menuitemradio":DH.O.gg.call(this)};DH.prototype.Sb=function(){return Ps.prototype.Sb.call(this)};DH.prototype.Pb=function(){return Ps.prototype.Pb.call(this)};function EH(){}v(EH,zs);da(EH);EH.prototype.bc=function(a){return a.B.ma("DIV",this.ia())};EH.prototype.bb=f unction(a,b){b.id&&ls(a,b.id);if("HR"==b.tagName){var c=b;b=this.bc(a);fj(b,c);hj(c)}else S(b,this.ia());return b};EH.prototype.eg=function(){};EH.prototype.ia=function(){return"goog-menuseparator"}; function FH(a,b){Ps.call(this,null,a||EH.la(),b);this.Za(1,!1);this.Za(2,!1);this.Za(4,!1);this.Za(32,!1);this.Id=1}v(FH,Ps);FH.prototype.Y=function(){FH.O.Y.call(this);ok(this.J(),"separator")};Ms(" goog-menuseparator",function(){return new FH});function GH(a){this.A=a||"menu"}v(GH,wu);da(GH);GH.prototype.tk=function(a){return"UL"==a.tagName||GH.O.tk.call(this,a)};GH.prototype.hk=function(a){ret urn"HR"==a.tagName?new FH:GH.O.hk.call(this,a)};GH.prototype.ia=function(){return"goog-menu"};GH.prototype.vk=function(a){GH.O.vk.call(this,a);pk(a.J(),"haspopup","true")};function HH(a){FH.call(this ,EH.la(),a)}v(HH,FH);Ms("goog-menuseparator",function(){return new FH});function IH(a,b){Bu.call(this,"vertical",b||GH.la(),a);Ku(this,!1)}v(IH,Bu);f=IH.prototype;f.Bj=!0;f.ia=function(){return this.Hd.ia()};f.setVisible=function(a,b,c){(b=IH.O.setVisible.call(this,a,b))&&a&&this.oa&&this.Bj&&Cu(this).focus();a&&c&&ja(c.clientX)?this.ha=new I(c.clientX,c.clientY):this.ha=null;return b};f.Kk=function(a){this.Bj&&Cu(this).focus();return IH.O.Kk.call(this,a)};f.Wm=function(a){return a.isEnabled()&&a.da()&&Is(a,2)}; f.Fa=function(a){for(var b=this.Hd,c=Aj(this.B,"DIV",b.ia()+"-content",a),d=c.length,e=0;e<d;e++)zu(b,this,c[e]);IH.O.Fa.call(this,a)};f.kf=function(a){var b=IH.O.kf.call(this,a);b||ss(this,function( c){!b&&c.xx&&c.kl==a.keyCode&&(this.isEnabled()&&this.ud(xs(this,c)),b=c.zb(a))},this);return b};f.ud=function(a){IH.O.ud.call(this,a);(a=us(this,a))&&wq(a.J(),this.J())};function JH(a,b){var c=sa(KH,a,b);a.oa?c():A?ud(a,"show",c):ud(a,"beforeshow",c);var d=null;nd(a,"show",function(){d=new LH(a)});nd(a,"hide",function(){Fb(d)})}function KH(a,b){tB(a,.75);var c=a.A;c&&b&&(c=BB(c,b))&&S(c ,"goog-buttonset-action");var c=dC(a.J(),.13),d=cC(a.J(),.13,"ease-in",1,0),e=cC(a.af(),.13,"ease-out",0,.75),g=cC(a.af(),.13,"ease-in",.75,0);a.I=c;a.H=d;a.N=e;a.L=g} function MH(a,b){var c=new oB(void 0,!0,void 0);c.setTitle("Embed item");qB(c,a);AB(c,b||pB());c.mf=!0;c.ga();var d=c.J();S(d,"jfk-alert");JH(c,"ok");var e=c.getId()+".msg";c.Va().id=e;ok(d,"alertdia log");pk(d,"describedby",e);ud(c,"dialogselect",function(){});c.setVisible(!0);return c}function LH(a){yw.call(this,a.J());this.F=a;nd(this,"start",this.W,!1,this)}v(LH,yw); LH.prototype.W=function(a){a=a.F;if(Pp(a.target,this.F.ia())){var b=Dq(this.F.J()),b=new Wp(0,b.width,b.height,0),c=Qq(this.F.J(),"padding"),d=-1*c.top,e=-1*c.right,g=-1*c.bottom,c=-1*c.left;ma(d)?(b .top-=d.top,b.right+=d.right,b.bottom+=d.bottom,b.left-=d.left):(b.top-=d,b.right+=Number(e),b.bottom+=Number(g),b.left-=Number(c));if(!b.contains(new I(a.cf,a.ef)))return d=this.F.B.A,a=Vi(Zi(d)),b= Dq(this.F.J()),"fixed"==lq(this.F.J())?(d=a.width-b.width,a=a.height-b.height):(e=Math.max(d.body.scrollHeight, a.height),d=Math.max(d.body.scrollWidth,a.width)-b.width,a=e-b.height),Aw(this,new Yp(0,0,Math.max(0,d),Math.max(0,a))),!0}return!1};function NH(a){var b=a.sG,c=a.lb;a=R;if((1==b.jc.length&&(null==b. jc[0]?0:b.jc[0].name)||1<b.jc.length)&&(null==b?0:b.ml)&&(null==b?0:b.nl))if((null==b?0:b.Rd)||(null==b?0:b.Dg)){var d=b.jc.length,e=null==b.jc[0]?null:b.jc[0].name,g=null==b?null:b.nl,h=null==b?null :b.ml,k=null==b?null:b.VF,m=null==b?null:b.UF,p=b.Hb,b=R;1==d?(d="",c=k&&m?'"'+(Q(e)+('" has been moved from '+(OH({mb:k,Bb:m,lb:c})+(" to "+(OH({mb:g,Bb:h,lb:c})+"."))))):'"'+(Q(e)+('" has been moved to '+(OH({mb:g,Bb:h,lb:c})+"."))),d+= c,c=R(d)):("onlyfiles"==p?(e="",c=k&&m?Q(d)+(" files have been moved from "+(OH({mb:k,Bb:m,lb:c})+(" to "+(OH({mb:g,Bb:h,lb:c})+".")))):Q(d)+(" files have been moved to "+(OH({mb:g,Bb:h,lb:c})+"."))) :"onlyfolders"==p?(e="",c=k&&m?Q(d)+(" folders have been moved from "+(OH({mb:k,Bb:m,lb:c})+(" to "+(OH({mb:g,Bb:h,lb:c})+".")))):Q(d)+(" folders have been moved to "+(OH({mb:g,Bb:h,lb:c})+"."))):(e= "",c=k&&m?Q(d)+(" items have been moved from "+(OH({mb:k,Bb:m,lb:c})+(" to "+(OH({mb:g,Bb:h,lb:c})+".")))): Q(d)+(" items have been moved to "+(OH({mb:g,Bb:h,lb:c})+"."))),e+=c,c=R(e));b=b("<span>"+c+"</span>")}else g=b.jc.length,h=b.Hb,k=null==b.jc[0]?null:b.jc[0].name,m=null==b?null:b.nl,d=null==b?null:b .ml,b="<span>",c=1==g?'"'+(Q(k)+('" has been added to '+(OH({mb:m,Bb:d,lb:c})+"."))):"onlyfiles"==h?Q(g)+(" files have been added to "+(OH({mb:m,Bb:d,lb:c})+".")):"onlyfolders"==h?Q(g)+(" folders have been added to "+(OH({mb:m,Bb:d,lb:c})+".")):Q(g)+(" items have been added to "+(OH({mb:m,Bb:d,lb:c})+ ".")),b+=c,b=R(b+"</span>");else b="";return a(b)}function OH(a){var b=a.mb,c=a.lb;return R('<a href="'+Kn(Ln(a.Bb))+'" target="_blank" '+(c?'class="'+Kn(c)+'"':"")+">"+Q(b)+"</a>")}function PH(){return R("<span>Loading\u2026</span>")};function QH(a){a='Move from <span class="drive-organize-dialog-parent-name">'+(Q(a.mb)+"</span>");return R(""+('<span class="drive-organize-dialog-list-i tem">'+a+"</span>"))}function RH(a){a='Do not move from any folder, just add to <span class="drive-organize-dialog-parent-name">'+(Q(a.name)+"</span>");return R(""+('<span class="drive-organize-dialo g-list-item">'+a+"</span>"))} function SH(a){var b=a.name,c=a.Gc,d=a.Hb;a='<span class="drive-organize-dialog-list-item">';b="onlyfiles"==d?It(new Bt("{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:Q(b),END_SPAN:"</span>", START_SPAN_2:'<span class="drive-organize-dialog-parent-name">'}):"onlyfolders"==d?It(new Bt("{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:Q(b),END_SPAN:"</span>",START_SPAN_2:'<span class="drive-organize-dialog-parent-name">'}): It(new Bt("{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:Q(b),END_SP AN:"</span>",START_SPAN_2:'<span class="drive-organize-dialog-parent-name">'});a+=b;return R(a+"</span>")};function TH(a,b,c,d){oB.call(this,"drive-organize-dialog",void 0,d);this.aa=a;this.fa=b;this .$=c;this.W=this.F=null;this.X=!1}v(TH,oB);f=TH.prototype;f.ea=function(){TH.O.ea.call(this);AB(this,CB(CB(new wB,FB,!1,!0),EB,!0));this.mf=!0;mn(this.Va(),PH)}; f.Y=function(){TH.O.Y.call(this);JH(this,"ok");var a=this.A;DB(a,!1);for(var a=a.dc.getElementsByTagName("BUTTON"),b=0;b<a.length;b++)S(a.item(b),"drive-organize-button");V(this).listen(this,"dialogs elect",function(a){switch(a.key){case "cancel":this.F.B("cp");break;case this.A.Of:this.X?this.F.A({id:void 0,name:void 0,hc:!1}):this.W&&this.F.A(this.W.ja())}})};f.show=function(){this.F=ke();je([t his.aa,this.fa,this.$]).then(this.mz,this.kz,this);return this.F.D}; f.mz=function(a){var b=a[0],c=a[1];a=a[2];for(var d={},e=0;e<b.length;e++)for(var g=0;g<b[e].A.length;g++){var h=b[e].A[g];d[h]=(d[h]||0)+1}d[a.id]==b.length?this.F.B("iid"):(e=UH(this,c,a.id),0==e.l ength&&Sb(c,this.xq,this)?this.F.A({id:void 0,name:void 0,hc:!1}):(d=VH(b.length,d,e),1==e.length&&d?(b=e[0],this.F.A({id:b.id,name:b.name,hc:!1})):(this.setVisible(!0),WH(this,b,c.length,e,d,a))))}; function WH(a,b,c,d,e,g){var h=b.length,k=d.length,m=YG(b);b=new IH;var p;if(0==k)a.X=!0,mn(a.Va(),SH,{name:g.name,Gc:h,Hb:m}),DB(a.A,!0);else{if(1==k||3>k&&e)for(e=0;e<k;e++){var r=d[e];p=P(QH,{mb:r .name},null,a.B);p=new DH(p,{id:r.id,name:r.name,hc:!1});p.Za(8,!0);b.ca(p,!0)}1<k&&(p=new DH(UG(k),{id:void 0,name:void 0,hc:!0}),p.Za(8,!0),b.ca(p,!0));p=P(RH,{name:g.name},null,a.B);p=new DH(p,{id:void 0,name:void 0,hc:!1});p.Za(8,!0);b.ca(p,!0);a.setTitle(TG(h,m,c));c=a.Va();a.B.Fb(c);b.ga(a.Va()); x(a,b);V(a).listen(b,"action",function(a){a=a.target;this.W&&this.W.ja()!==a.ja()&&this.W.jd(!1);this.W=a;DB(this.A,!0)})}a.ig()}f.kz=function(a){this.F.B(a)};function UH(a,b,c){return Nb(b,function(a){return a.id!=c&&this.xq(a)},a)}function VH(a,b,c){return Sb(c,function(c){return b[c.id]==a})}f.xq=function(a){return"owner"==a.B||"writer"==a.B};function XH(a){var b=!!a.pe,c=a.Gc,d=!!a.qd,e=!!a.sd;a="";1<c&&(b=b?d?It(new Bt("{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}):e?It(new Bt("{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}):It(new Bt("{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?It(new Bt("{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}):e?It(new Bt("{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}):It(new Bt("{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 xn(a)} function YH(a){var b=!!a.pe,c=a.Gc,d=!!a.qd,e=!!a.sd,g=a.hD,h=a.Rl;a="";1<=c&&(b?1==g?d?(b=It(new Bt("{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:""+Un(h),NUM_ITEMS_2 :""+c}),a+=""+b):e?(b=It(new Bt("{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:""+Un(h),NUM_ITEMS_2:""+c}),a+=""+b):1<c&&(b=It(new Bt("{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:""+Un(h)}),a+=""+b):1<c&&(b=d?It(new Bt("{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}):e?It(new Bt("{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}):It(new Bt("{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=It(new Bt("{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:""+Un(h),NUM_ITEMS_2:""+c}),a+=""+b):e?(b=It(new Bt("{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:""+Un(h),NUM_ ITEMS_2:""+c}),a+=""+b):1<c&&(b=It(new Bt("{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:""+Un(h)}),a+=""+b):1<c&&(b=d?It(new Bt("{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}):e?It(new Bt("{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}):It(new Bt("{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 xn(a)} function ZH(a){var b=!!a.pe,c=a.Gc,d=!!a.qd,e=!!a.sd,g=a.iD,h=a.oc;a="";1<=c&&(b?1==g?d?(b=It(new Bt("{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:""+Un(h),NUM_ITEMS_2:""+c}),a +=""+b):e?(b=It(new Bt("{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:""+Un(h),NUM_ITEMS_2:""+c}),a+=""+b):1<c&&(b=It(new Bt("{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:""+Un(h)}),a+=""+b):1<c&&(b=d?It(new Bt("{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}):e?It(new Bt("{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}):It(new Bt("{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_ITEM S_1:c,NUM_ITEMS_2:""+c}),a+=""+b):1==g?d?(b=It(new Bt("{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:""+Un(h),NUM_ITEMS_2:""+c}),a+=""+b):e?(b=It(new Bt("{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:""+Un(h),NUM_ITEMS_2:""+c}),a+=""+b): 1<c&&(b=It(new Bt("{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:""+Un(h)}),a+=""+b):1<c&&(b=d?It(new Bt("{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}):e?It(new Bt("{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}):It(new Bt("{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 xn(a)}function $H(a){a=a||{};var b=a.oc;a="";b?(b="Everyone on "+(""+Un(b)+" will lose access"),a+=""+b):a+="Some people may lose access";return xn(a)}function aI(a){var b=a.oc,c="";a=a.pe?"You only have permission to add and edit files in "+(""+Un(b)+", so you won't be able to undo this action."):"You also only have permission to add and edit files in "+(""+Un(b)+", so you won't be able to undo this action.");c+=""+a;return xn(c)} function bI(){return xn("You can't undo this action")} function cI(a){var b=a.Gc,c=!!a.qd,d=!!a.sd,e=a.Rl;a="";1<=b&&(c?(b=It(new Bt("{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:""+Un(e)}),a+=""+b):d?(b=It(new Bt("{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:""+Un(e)}),a+=""+b):1<b&&(b=It(new Bt("{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:""+Un(e)}),a+=""+b));return xn(a)} function dI(a){var b=a.Gc,c=!!a.qd,d=!!a.sd;a="";1<=b&&(c?(b=It(new Bt("{NUM_ITEMS,plural,=0{Unused}=1{Share this file?}other{Share these files?}}"),{NUM_ITEMS:b}),a+=""+b):d?(b=It(new Bt("{NUM_ITEMS,plural,=0{Unused}=1{Share this folder?}other{Share these folders?}}"),{NUM_ITEMS:b}),a+=""+b):1<b&&(b=It(new Bt("{NUM_ITEMS,plural,=0{Unused}=1{Unused}other{Share these files and folders?}}"),{NUM_ITEMS:b}),a+=""+b));return xn(a)};function eI(a,b){b||Mi();this.A=a||null}eI.prototype.ga=function(a,b){var c=a(b||{},void 0,this.A?this.A.getData():{});this.B();return String(c)};function fI(a,b,c){b=b(c||{},void 0,a.A?a.A.getData():{});a.B();return String(b)}eI.prototype.B=q;function gI(a,b,c,d){oB.call(this,"drive-organize-dialog",void 0,d);this.$=a;this.X=b;thi s.W=c;this.F=null}v(gI,oB);gI.prototype.ea=function(){gI.O.ea.call(this);AB(this,CB(CB(new wB,FB,!1,!0),EB,!0));this.mf=!0;zB(this);this.setTitle(this.$);qB(this,this.X)}; gI.prototype.Y=function(){gI.O.Y.call(this);JH(this,"ok");for(var a=this.A.dc.getElementsByTagName("BUTTON"),b=0;b<a.length;b++)S(a.item(b),"drive-organize-button");V(this).listen(this,"dialogselect" ,function(a){switch(a.key){case "cancel":this.F.B(this.W);break;case this.A.Of:this.F.A()}})};gI.prototype.show=function(){this.F=ke();this.setVisible(!0);return this.F.D};function hI(a,b,c,d){var e=[];a.Jc?e=[Tb(c,function(b){return b.id==a.Jc})]:a.hc&&(e=c);c=iI(b,e);e=jI(b,e,d);return{items:b,Hb:YG(b),Wg:d,Mi:c,Je:e}}function iI(a,b){var c=kI(a);return lI(c,b)}function kI(a){var b={};Lb(a,function(a){for(var d=a.A,e=0;e<d.length;e++)b[d[e]]||(b[d[e]]=[]),b[d[e]].push(a)});return b}function lI(a,b){var c={},d=[];Lb(b,function(b){if(b.D){for(var g=a[b.id]||[],h=0;h<g.length;h ++)c[g[h].id]=!0;d.push({Xf:b.name,eJ:g.length})}});return{Sl:d,gD:mb(c),NI:b}} function jI(a,b,c){var d={},e=0,g=!1;a=kI(a);for(var h=0;h<b.length;h++){var k=b[h],m=k.mc?{id:k.mc,name:k.oc}:null,g=m?g:!0,e=e+a[k.id].length;m&&m.id!=c.mc&&(d[m.id]=m)}b="La";1<mb(d)?b="Ia":1==mb( d)?b="Ja":g&&c.mc&&(b="Ka");return{Eg:nb(d),type:b,DI:e}};function mI(){w.call(this);this.B=null;this.A=new eI}v(mI,w);function nI(a,b,c,d,e){return je([b,c,e,d]).then(function(a){var b=a[0];a=hI(b,a[1],a[3],a[2]);var c=oI(b.Ke,a);return 0<c.length?(a=pI(this,c,a),qI(this,a).then(function(){return b})):b},void 0,a)}function oI(a,b){var c=[],d="Ia"==b.Je.type||"Ja"==b.Je.type,e=0< b.Mi.gD,g=b.Wg.D;!a&&b.Wg.oc&&c.push("Pa");d&&c.push("Oa");e&&c.push("Na");g&&c.push("Ma");return c} function pI(a,b,c){var d;d="";Wb(b,"Pa")?d=fI(a.A,bI):Wb(b,"Na")||Wb(b,"Oa")?(d=void 0,Wb(b,"Na")||1!=c.Je.Eg.length||(d=c.Je.Eg[0].name),d=fI(a.A,$H,{oc:d})):Wb(b,"Ma")&&(d=fI(a.A,dI,{Gc:c.items.len gth,qd:"onlyfiles"==c.Hb,sd:"onlyfolders"==c.Hb}));var e=[];if(Wb(b,"Ma")){var g=fI(a.A,cI,{Gc:c.items.length,qd:"onlyfiles"==c.Hb,sd:"onlyfolders"==c.Hb,Rl:c.Wg.name});e.push(g)}if(Wb(b,"Na")||Wb(b, "Oa")){var g=0==e.length,h=c.Je.Eg.length,k=c.Mi.Sl.length,g=0<h&&0==k?fI(a.A,ZH,{pe:g,Gc:c.items.length, qd:"onlyfiles"==c.Hb,sd:"onlyfolders"==c.Hb,iD:c.Je.Eg.length,oc:c.Je.Eg[0].name}):0==h&&0<k?fI(a.A,YH,{pe:g,Gc:c.items.length,qd:"onlyfiles"==c.Hb,sd:"onlyfolders"==c.Hb,hD:c.Mi.Sl.length,Rl:c.Mi.Sl [0].Xf}):0<h&&0<k?fI(a.A,XH,{pe:g,Gc:c.items.length,qd:"onlyfiles"==c.Hb,sd:"onlyfolders"==c.Hb}):"";e.push(g)}Wb(b,"Pa")&&(a=fI(a.A,aI,{pe:0==e.length,oc:c.Wg.name}),e.push(a));a=ki(e.join(" "));return new gI(d,a,"csc")}function qI(a,b){Fb(a.B);a.B=b;x(a,a.B);return a.B.show()};function rI(a,b,c,d){B.call(this);this.B=a;this.L=b;this.R=c;this.C=null;this.I=He(l.location.href);this.V=new M(this);x(this,this.V);this.N=d;this.H=this.A=null;this.W=new mI;this.D=!1;this.V.listen(this.B,"Ca",this.ba).listen(this.B,"Da",this.S)}v(rI,B);rI.prototype.Wc=function(a,b,c,d,e,g,h,k){b=ne(sI(thi s,a,b,c,d,e,!!g,h,k),this.F,this);return je([a,b]).then(function(a){return tI(this,a[0],a[1])},void 0,this)}; function sI(a,b,c,d,e,g,h,k,m){a.D=!0;if(m){var p;k&&!h?p=je([c,m]).then(function(a){var b=Tb(a[0],function(a){return a.id==k});a=a[1];return fe({fd:a.id,lh:a.name,mh:a.mc,nh:a.oc,Jc:b.id,Qi:b.name,R i:b.mc,Si:b.oc,hc:!!a.mc||!!b.mc,Ke:a.mc&&!a.$l?!1:!0})},void 0,a):h?p=m.then(function(a){return fe({fd:a.id,lh:a.name,mh:a.mc,nh:a.oc,Jc:void 0,Qi:void 0,Ri:void 0,Si:void 0,hc:!1,Ke:!0})}):p=uI(a,b ,c,m);d=vI(a,c,p);return nI(a.W,d,b,c,m)}return vI(a,c,a.B.Kg(d,wI(e),g,h,b,c,k))} function vI(a,b,c){var d=ke();je([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.Jc&&(c=b[k]);c&&!c.I?d.B("sfiro"):d.A(a)},function(a){d.B(a)},a);return d.D}function uI(a,b,c,d){Fb(a.H);a.H=new TH(b,c,d);x(a,a.H);a.U("Da");var e=ke();b=a.H.show();je([b,d]).then(function(a){var b=a[0];a=a[1];e.A({fd:a.id,lh:a.name,mh:a.mc,nh:a.oc,Jc:b.id,Qi:b.name,Ri :b.mc,Si:b.oc,hc:b.hc,Ke:a.mc&&!a.$l?!1:!0})},function(a){e.B(a)},a);return e.D} function tI(a,b,c){function d(a){k--;0==k&&(0<g.length?m.A(h()):m.B(a))}function e(a){k--;g.push(a);0==k&&m.A(h())}var g=[],h=t(function(){var a=YG(g),d=c.fd,e=c.lh;var h=c.fd;if(h)if(1==b.length){va r k=b[0].id,h=xm(xm(xm(lm(new hm,"my-drive"),"action","locate"),"id",k),"parent",h),h=nm(xm(new hm(this.I),"authuser",this.R),h.toString());Aa(Ca(this.C))||xm(h,"usp",this.C);h=h.toString()}else h=xI(this,h);else h=void 0;return{jc:g,Hb:a,Ai:d,nl:e,ml:h,HG:c.mh,zI:c.nh,Rd:c.Jc,VF:c.Qi,UF:xI(this,c.Jc), EI:c.Ri,HI:c.Si,Dg:c.hc,Ke:n(c.Ke)?c.Ke:!0}},a),k=b.length;if(0>=k)return fe(h());a.U("Ea");for(var m=ke(),p=c.fd?[c.fd]:void 0,r=c.Jc&&c.Jc!=c.fd?[c.Jc]:void 0,z=0;z<b.length;z++){var C=b[z];c.hc&&(r=Nb(C.A,function(a){return a!=c.fd}));QA(a.L,C.id,p,r).then(t(e,a,C),d)}return m.D}function xI(a,b){if(b){var c=xm(new hm(a.I),"authuser",a.R);"root"==b?lm(c,"drive/my-drive"):lm(c,"d rive/folders/"+b);Aa(Ca(a.C))||xm(c,"usp",a.C);return c.toString()}} function yI(a,b){for(var c=b.jc,d=[],e=0;e<c.length;e++){var g=c[e],h=Tb(g.A,function(a){return a==b.Ai})?void 0:b.Ai;if(h||b.Rd||b.Dg){var k;b.Rd?k=Tb(g.A,function(a){return a==b.Rd})?[b.Rd]:void 0:b.Dg&&(k=bc(g.A));g=QA(a.L,g.id,k,h?[h]:void 0);d.push(g)}}return je(d).then(function(){return!0})}function wI(a){return ka(a)?a():a} function zI(a,b,c,d,e,g){var h;a.A||(a.A=new tH(a.N,e),x(a,a.A));var k=!0;b.then(function(){if(k){var a=this.A,b=wI(c);b&&rH(a,b);a.W=!0;vH(a)}},function(a){h=a;k&&this.A.Ga(wI(c))},a);a.D=!0;return a.A.show(wI(c),d).then(function(a){k=!1;switch(a){case 0:return this.F(),ge(h||"catd");case 2:return this.F(),ge("uatd");case 1:return a=this.B.Kg(1,wI(c),d,!1,g,void 0,WG.id),ne(je([b,a]).then(void 0,function(a){if(this.B.Dc())return a=this.A.show(wI(c),d),this.A.Ga(),a.then(function(){throw h||"catd"; },void 0,this);throw a;},this),this.F,this).then(function(a){var b=a[0];a=a[1];for(var c=[],d=0;d<b.length;d++){var e=new XG;e.id=b[d];e.A=[WG.id];c.push(e)}return tI(this,c,a)},void 0,this)}},void 0,a)}rI.prototype.F=function(){this.D&&(this.D=!1,this.U("Ha"))};rI.prototype.ba=function(){this.U("Fa")};rI.prototype.S=function(){this.U("Ga")};function AI(a){var b=al(a,bl);return new RG(b,3,Tf(wg(L(a))))}function BI(a){var b=L(a),c=qg(b)||"0",d=W(a),e=CI(a),g=RA(a),h=Ng(b)||void 0,e=new eH(e,d,h);e.F="drive-viewer";e.D=c;e.L=!g;x(a,e);a=new rI(e,al(a,Sy),c,d);a.C="drive-view er";xg(b)&&(b=xg(b),a.I=b);return a}function CI(a){var b=L(a),c;c=null==G(b,51)?"":G(b,51);c||(a=xg(b)||go(Fj(W(a))),a=new hm(a),lm(a,"picker"),c=a.toString());return c};function DI(a){al(a,bl);var b=qg(L(a))||"0",c=CI(a),d=Ng(L(a))||void 0;return new NG(0,b,W(a),c,d)};function EI(){w.call(this);this.B={};this.A={}}v(EI,w);function FI(a,b){a.B[b.D]=b;for(var c=b.Eb(),d=b.tc(),e=0;e<c.length;e+ +){var g=c[e];a.A[g]||(a.A[g]={});if(0<d.length)for(var h=0;h<d.length;h++)a.A[g][d[h]]=b;else a.A[g][null]=b}};var GI=["application/illustrator"],HI=["text/csv","text/comma-separated-values"],II=["a pplication/msword","text/msword"],JI="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(" "), KI=["application/dxf"],LI=["application/x-eps","application/eps","image/eps","image/x-eps"],MI=["application/octet-stream+fon"],NI=["application/vnd.google-apps.form"],OI=["application/vnd.google-app s.freebird"],PI=["application/x-hwp"],QI=["application/vnd.google-apps.kix","application/vnd.google-apps.document"],RI=["application/vnd.google-earth.kml+xml"],SI=["application/vnd.google-earth.kmz"] ,TI=["application/vnd.oasis.opendocument.presentation","application/x-vnd.oasis.opendocument.presentation"], UI=["application/vnd.oasis.opendocument.spreadsheet","application/x-vnd.oasis.opendocument.spreadsheet"],VI=["application/vnd.oasis.opendocument.text","application/x-vnd.oasis.opendocument.text"],WI= ["font/opentype","application/x-font-otf","application/vnd.ms-opentype"],XI=["application/x-iwork-pages-sffpages"],YI=["application/pdf","application/x-pdf","text/pdf","text/x-pdf","application/x-pdf -compressed"],ZI=["application/vnd.ms-powerpoint","text/vnd.ms-powerpoint"],$I=["application/vnd.openxmlformats-officedocument.presentationml.presentation", "text/vnd.openxmlformats-officedocument.presentationml.presentation"],aJ=["application/vnd.google-apps.presentation"],bJ="application/postscript application/ps application/x-postscript application/x-postscript-not-eps application/x-ps text/postscript".split(" "),cJ="image/photoshop image/vnd.adobe.photoshop image/x-photoshop image/psd application/photoshop application/psd application/x-photoshop".split(" "),dJ=["application/vnd.google-apps.punch"],eJ=["application/vnd.google-apps.ritz"],fJ=["application/rtf", "text/rtf","text/richtext"],gJ=["application/vnd.stardivision.calc"],hJ=["application/vnd.stardivision.impress"],iJ=["application/vnd.stardivision.writer"],jJ=["application/vnd.google-apps.drawing"], kJ=["image/svg+xml"],lJ=["application/vnd.sun.xml.calc"],mJ=["application/vnd.sun.xml.impress"],nJ=["application/vnd.sun.xml.writer"],oJ=["image/tiff"],pJ=["application/vnd.google-apps.spreadsheet"], qJ=["text/tsv","text/tab-separated-values"],rJ=["application/x-font-ttf"],sJ=["application/octet-stream", "application/octetstream","application/octet"],tJ=["application/wordperfect","application/vnd.wordperfect"],uJ=["application/vnd.ms-excel","text/vnd.ms-excel"],vJ="application/vnd.openxmlformats-offi cedocument.spreadsheetml.sheet text/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template application/vnd.ms-excel.sheet.macroenab led.12 application/vnd.ms-excel.sheet.macroEnabled.12 application/vnd.ms-excel.template.macroenabled.12 application/vnd.ms-excel.template.macroEnabled.12".split(" "), wJ=["application/vnd.ms-xpsdocument"],xJ={A:["audio/aac","audio/x-aac"],B:["application/x-ace-compressed","application/x-ace"],D:GI,C:["audio/x-aiff","audio/aiff"],F:["application/vnd.android.package -archive"],H:["application/x-troff-msvideo","video/avi","video/msvideo","video/x-msvideo"],I:["image/bmp","image/x-bmp"],R:["application/bzip2","application/x-bzip","application/x-bzip2"],V:"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(" "),L:["application/vnd.ms-cab-compressed", "application/x-cab-compressed"],N:["application/ics","text/calendar"],S:["application/x-caseware-compressed"],ba:"application/cdr application/coreldraw application/x-cdr application/x-coreldraw image/cdr image/x-cdr zz-application/zz-winassoc-cdr".split(" "),W:["application/x-cfs-compressed"],X:["application/vnd.coffeescript","text/x-coffeescript","text/coffeescript"],$:["application/x-cpi o"],aa:["image/x-canon-cr2"],sa:["image/x-canon-crw"],fa:["text/x-csharp"],ha:["text/x-csh","application/x-csh"], CSS:["text/css"],Lc:HI,na:["application/vnd.dart","application/dart"],Ua:["application/x-dgc-compressed","application/dgc"],tb:["application/x-apple-diskimage"],za:["image/x-adobe-dng"],Ha:II,Ja:JI,L a:"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(" "),Wa:KI,eb:LI,kb:["application/e pub","application/epub+zip"],Ib:["application/x-flac","audio/flac","audio/x-flac"],Jb:["video/x-flv","application/x-flash-video", "video/flv"],Kb:["application/octet-stream+fnt"],zc:MI,Yc:NI,Bg:OI,Sd:["application/vnd.google-apps.fusiontable"],Mg:["image/gif"],Xi:["text/x-go"],dj:["application/vnd.google-ocean.goodoc"],ej:["app lication/vnd.google-apps.gpaper"],fj:["video/3gpp"],gj:"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(" "),Og:["text/x-haskell","text/x-literate-haskell"], Pg:["text/html"],Qg:["application/vnd.google-internal.slide-summary","text/html+fragment","text/html+pretty","text/html+pretty+fragment"],Rg:PI,Sg:["image/jpeg+ocr","image/gif+ocr","image/png+ocr","i mage/bmp+ocr"],Tg:["application/x-ini","application/ini","text/x-ini","text/ini"],mj:["application/x-iso9660-image","application/x-iso-image","application/x-cd-image"],nj:["application/ms-java","text /java","text/x-java","text/x-java-source"],oj:["image/jpeg","image/jpg","image/pjpeg"],pj:["text/javascript", "application/x-javascript","text/ecmascript","application/javascript","application/ecmascript"],JSON:["application/json","text/json"],qj:QI,sj:RI,uj:SI,um:["application/x-lzh-compressed","application /x-lha-compressed","application/x-lzh","application/lzh"],vm:["application/x-lisp","text/x-lisp","text/x-emacs-lisp"],xm:["application/x-ms-shortcut"],ym:["application/x-lzma"],HH:["application/x-lzo p"],PH:["application/x-lzx"],TH:["text/markdown","text/x-markdown","text/x-web-markdown"],WH:["application/mbox"], $H:["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(" "),gI:["video/x-matroska"],j I:["audio/mp3"],qI:["audio/mp4"],uI:["video/mp4"],FG:["video/mpeg"],xI:["audio/mpeg"],BI:["application/vnd.ms-project"],II:["application/vnd.google-apps.map"],OI:["image/x-nikon-nef"],TI:["image/x-ni kon-nrw"],VI:["text/x-objcsrc"],WI:["text/x-ocaml"],YI:["ocr-result"],$I:TI,bJ:UI,dJ:VI,fJ:["audio/ogg", "application/ogg","audio/x-ogg","audio/x-vorbis+ogg","audio/opus"],hJ:["video/ogg","video/x-theora+ogg","video/x-ogg"],kJ:WI,mJ:["application/vnd.oasis.opendocument.presentation-template","applicatio n/x-vnd.oasis.opendocument.presentation-template"],qJ:["application/vnd.oasis.opendocument.text-template","application/x-vnd.oasis.opendocument.text-template"],rJ:["application/vnd.ms-outlook"],tJ:XI ,wJ:YI,yJ:["application/pdf+ocr"],AJ:["image/x-pentax-pef"],CJ:["text/x-perl","application/x-perl","text/x-perl-script"], IG:["application/x-php","application/x-httpd-php"],KG:["application/pkcs7-signature"],MG:["application/vnd.apple.pkpass"],PG:["image/png","image/x-png"],SG:["application/vnd.openxmlformats-officedocu ment.presentationml.slideshow"],XG:ZI,$G:$I,bH:aJ,eH:bJ,gH:cJ,iH:["application/x-mspublisher"],mH:dJ,sH:["image/pwg-raster"],uH:["text/x-python","text/x-python-script","application/x-python"],wH:["ap plication/vnd.google-apps.qjs"],BH:["video/quicktime"],DH:["audio/vnd.rn-realaudio","audio/x-pn-realaudio"], IH:["application/rar","application/x-rar","application/x-rar-compressed","multipart/x-rar"],QH:["image/x-raw"],UH:eJ,XH:["text/x-rst"],aI:fJ,hI:["text/x-ruby-script","application/x-ruby","text/x-ruby "],kI:["text/x-rust"],rI:["text/x-scala"],vI:gJ,GG:hJ,yI:iJ,CI:["application/x-shar"],GI:["application/x-sh","text/x-sh"],JI:["application/stuffit","application/x-stuffit","application/x-stuffitx"],M I:["application/vnd.google-apps.site"],QI:jJ,UI:["application/x-snb-compressed"],XI:["application/sql", "text/x-sql","application/x-sql","text/sql"],ZI:kJ,aJ:["application/x-shockwave-flash"],cJ:lJ,gJ:["application/vnd.sun.xml.draw"],iJ:mJ,lJ:nJ,nJ:["application/tar","application/x-gtar","application/x -gtar-compressed","application/x-tar","multipart/x-tar"],sJ:["application/x-bzip-compressed-tar"],uJ:["application/x-tex"],vJ:["text/plain"],xJ:["application/x-tgz","application/x-compressed-tar"],zJ :oJ,BJ:pJ,DJ:qJ,JG:rJ,UNKNOWN:sJ,LG:["text/vcard"],NG:["application/vnd.google-apps.video"],QG:"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(" "), TG:["audio/vnd.wave","audio/wav","audio/wave","audio/x-wav"],YG:["application/x-webarchive","application/webarchive"],aH:["video/webm"],cH:["image/webp"],hH:["audio/x-ms-wma"],jH:["image/x-wmf","imag e/x-emf","application/x-ms-wmz"],nH:["text/vnd.wap.wml"],tH:["video/x-ms-wmv"],vH:tJ,xH:["application/x-msworks-wp","application/vnd.ms-works"],CH:["application/x-mswrite","application/mswrite"],EH:u J,JH:vJ,RH:["text/xml","application/xml"],VH:["xpdf-sml"],YH:wJ,bI:["application/x-yaml","application/yaml", "text/x-yaml","text/yaml"],iI:["video/x-youtube"],lI:["application/x-compress"],sI:["application/7z","application/x-7z","application/x-7z-compressed","application/x-7zip-compressed"],wI:["application /zip","application/x-zip","application/x-zip-compressed","multipart/x-zip","multipart/zip"]},yJ=null;function zJ(){if(!yJ){yJ={};for(var a in xJ){for(var b=xJ[a],c=0;c<b.length;c++)yJ["mime-"+b[c]]=b ;b.toString=Fd(a)}}}function AJ(a){zJ();for(var b=[],c=0;c<a.length;c++)cc(b,a[c]);return b};function BJ(a){this.A=a}var CJ=new BJ([YI,bJ,wJ,XI,PI,tJ,VI,iJ,nJ,fJ,QI,ZI,$I,TI,hJ,mJ,gJ,lJ,GI,LI,KI,oJ,k J,WI,rJ,MI]),DJ=new BJ([JI,II]),EJ=new BJ([uJ,vJ,UI,HI,qJ]),FJ=new BJ([aJ,dJ]),GJ=new BJ([cJ]),HJ=new BJ([RI,SI]);function IJ(){B.call(this);this.D=this.R=0;this.C=1;this.B=null;this.F=this.I=!1;this .A=0;this.V=!1}v(IJ,B);var JJ={hj:"Qa",Or:"Ra",rm:"Sa",ts:"Ta",xj:"Ua",Vg:"Va"},KJ={Zd:0,ACTIVATING:1,ad:2};f=IJ.prototype;f.Tp=function(){return!1};f.isEnabled=function(){return this.I};f.setEnabled =function(a){this.I!=a&&((this.I=a)||LJ(this,0),this.U("Ra"))};function LJ(a,b,c){a.A!=b&&(a.A=b,0==a.A&&(a.C=1,a.D=a.B?a.B.start:a.R),a.U(new MJ(c)))}function NJ(a,b){a.B=b;a.D=wi(a.D,b.start,b.end) } function OJ(a,b,c){a.D=a.B?wi(b,a.B.start,a.B.end):b;a.C=0;a.U(new PJ(c))}f.qr=q;function QJ(a,b,c){b=a.B?a.B.start+lp(a.B)*wi(b,0,100)/100:null;null===b||OJ(a,b,c)}function RJ(a){return a.B?Math.floor((a.cg()-a.B.start)/lp(a.B)*100):0}f.cg=function(){return this.D};function MJ(a){Jp.call(this,"Qa",a)}v(MJ,Jp);function PJ(a){y.call(this,"Va");this.source=a}v(PJ,y);function SJ(a,b){ap.call(this,a,b)}v(SJ,ap);SJ.prototype.eo=function(){return["imageMediaMetadata(height, width),thumbnailLink"]};SJ.prototype.Jk=function(a){var b=this.item.Da,c=a.imageMediaMetadata;c&&(b.B =new K(c.width,c.height));SJ.O.Jk.call(this,a)};function TJ(a,b){so.call(this,a,b);this.C=this.D=null;this.R=new K(Infinity,Infinity);this.H=!1}v(TJ,so);var UJ={LOADED:"Wa",kH:"Xa",as:"Ya"},VJ=new K(2560,2560);TJ.prototype.ub=function(){return TJ.O.ub.call(this)};function WJ(a,b,c){return XJ(a)?jh(a.A):dh(a.A)?(a=dh(a.A),mo(a,b,c)):a.Mc(b,c)}function YJ(a){return jh(a.A)?jh(a.A):WJ(a,VJ.width ,VJ.height)}function XJ(a){var b=a.A;return(null==G(b,30)?!1:G(b,30))&&!!jh(a.A)}function ZJ(a){return a.D&&a.D.getData()} function $J(a){return a.D?(a=ZJ(a),new K(a.naturalWidth,a.naturalHeight)):new K(0,0)}function aK(a){return a.D&&a.D.fe||null}function bK(a){return!dh(a.A)&&!jh(a.A)}function cK(a){return a.C&&a.C.getData()}function dK(a){return a.C&&a.C.fe||null}function eK(a,b){a.C=b;x(a,b);var c=b.getData();a.R=(new K(c.naturalWidth,c.naturalHeight)).clone();a.U("Ya")};function fK(a){B.call(this); this.B=this.A=Vi(Fj(W(a)))}v(fK,B);function KF(){var a=Zi(),b=Ac&&Cc;n(a.devicePixelRatio)&&!b?a=a.devicePixelRatio:(a=Zi(),a=n(a.devicePixelRatio)?a.devicePixelRatio:a.matchMedia?zj(.75)||zj(1.5)||z j(2)||zj(3)||1:1);return a}function gK(){return KF()||1}function VE(a){y.call(this,"Za");this.D=a}v(VE,y);function hK(){}hK.prototype.A=null;function iK(a){var b;(b=a.A)||(b={},jK(a)&&(b[0]=!0,b[1]=! 0),b=a.A=b);return b};var kK;function lK(){}v(lK,hK);function mK(a){return(a=jK(a))?new ActiveXObject(a):new XMLHttpRequest}function jK(a){if(!a.B&&"undefined"==typeof XMLHttpRequest&&"undefined"!=ty peof 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.B=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.B}kK=new lK;function nK(a){B.call(this);this.headers=new wl;this.V=a||null;this.B=!1;thi s.R=this.A=null;this.S="";this.C=0;this.D=this.N=this.H=this.L=!1;this.ba=0;this.F=null;this.I="";this.W=this.X=!1}v(nK,B);var oK=/^https?$/i,pK=["POST","PUT"];f=nK.prototype; f.send=function(a,b,c,d){if(this.A)throw Error("[goog.net.XhrIo] Object is active with another request="+this.S+"; newUri="+a);b=b?b.toUpperCase():"GET";this.S=a;this.C=0;this.L=!1;this.B=!0;this.A=t his.V?mK(this.V):mK(kK);this.R=this.V?iK(this.V):iK(kK);this.A.onreadystatechange=t(this.qq,this);try{this.N=!0,this.A.open(b,String(a),!0),this.N=!1}catch(g){qK(this);return}a=c||"";var e=this.headers.clone();d&&Bl(d,function(a,b){e.set(b,a)});d=Tb(e.ob(),rK);c=l.FormData&&a instanceof l.FormData;!Wb(pK, b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.A.setRequestHeader(b,a)},this);this.I&&(this.A.responseType=this.I);pb(this.A,"withCrede ntials")&&(this.A.withCredentials=this.X);try{sK(this),0<this.ba&&((this.W=tK(this.A))?(this.A.timeout=this.ba,this.A.ontimeout=t(this.Xb,this)):this.F=D(this.Xb,this.ba,this)),this.H=!0,this.A.send( a),this.H=!1}catch(g){qK(this)}};function tK(a){return A&&Nc(9)&&ja(a.timeout)&&n(a.ontimeout)} function rK(a){return"content-type"==a.toLowerCase()}f.Xb=function(){"undefined"!=typeof aa&&this.A&&(this.C=8,this.U("timeout"),this.abort(8))};function qK(a){a.B=!1;a.A&&(a.D=!0,a.A.abort(),a.D=!1) ;a.C=5;uK(a);vK(a)}function uK(a){a.L||(a.L=!0,a.U("complete"),a.U("error"))}f.abort=function(a){this.A&&this.B&&(this.B=!1,this.D=!0,this.A.abort(),this.D=!1,this.C=a||7,this.U("complete"),this.U("a bort"),vK(this))}; f.Z=function(){this.A&&(this.B&&(this.B=!1,this.D=!0,this.A.abort(),this.D=!1),vK(this,!0));nK.O.Z.call(this)};f.qq=function(){this.Aa||(this.N||this.H||this.D?wK(this):this.PD())};f.PD=function(){wK (this)};function wK(a){if(a.B&&"undefined"!=typeof aa&&(!a.R[1]||4!=xK(a)||2!=yK(a)))if(a.H&&4==xK(a))D(a.qq,0,a);else if(a.U("readystatechange"),4==xK(a)){a.B=!1;try{zK(a)?(a.U("complete"),a.U("succ ess")):(a.C=6,uK(a))}finally{vK(a)}}} function vK(a,b){if(a.A){sK(a);var c=a.A,d=a.R[0]?q:null;a.A=null;a.R=null;b||a.U("ready");try{c.onreadystatechange=d}catch(e){}}}function sK(a){a.A&&a.W&&(a.A.ontimeout=null);ja(a.F)&&(E(a.F),a.F=nu ll)} function zK(a){var b=yK(a),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=Fe(String(a.S))[1]||null,!a&&l.self&&l.self.loca tion&&(a=l.self.location.protocol,a=a.substr(0,a.length-1)),b=!oK.test(a?a.toLowerCase():"");c=b}return c}function xK(a){return a.A?a.A.readyState:0}function yK(a){try{return 2<xK(a)?a.A.status:-1}ca tch(b){return-1}}function AK(a){try{return a.A?a.A.responseText:""}catch(b){return""}} function BK(a){try{return a.A?a.A.responseXML:null}catch(b){return null}}function CK(a){try{if(!a.A)return null;if("response"in a.A)return a.A.response;switch(a.I){case "":case "text":return a.A.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.A)return a.A.mozResponseArrayBuffer}return null}catch(b){return null}};var DK=[A&&!Nc("11")?"readystatechange":"load","abort","err or"];function EK(a){function b(d){if("readystatechange"!=d.type||"complete"==a.readyState)vd(a,DK,b),"error"!=d.type&&"abort"!=d.type&&0<a.naturalWidth?c.ua(new tl(a)):c.Ga()}var c=new Dk;nd(a,DK,b);return c};function FK(a,b){var c=Dj(b,"IMG"),d=EK(c);c.src=a;return d}function GK(a,b,c,d){if(null==Xh()||A&&!Nc("10")||Bc&&!Nc("536"))return FK(a,b);a=HK(a,void 0,void 0,void 0,"blob",c);return Rk(a,function(a){var c=new Dk,h=CK(a.ja()),k=Vh(h);a=FK(k,b);Nk(a,function(a){a.Af(h.type);a.Hg(h.size);d?a.fe=k:Wh().revokeObjectURL(k);c.ua(a)});Ok(a,function(){c.Ga({KI: 4})});return c})} function HK(a,b,c,d,e,g){var h=new nK;h.X=n(g)?g:!0;n(e)&&(h.I=e);var k=new Dk;h.listen("complete",function(a){a=a.target;a.C?k.Ga({statusCode:yK(a)}):k.ua(a)});h.send(a,b,c,d);return k}function IK(a,b){var c,d;b&&(c="POST",d="pw="+b,a=fo(a));return Pk(HK(a,c,d),function(a){a.A?(a=a.A.responseText,0==a.indexOf(")]}'\n")&&(a=a.substring(5)),a=hf(a)):a=void 0;return a})}function JK(a){return Rk(HK(a),function(a){return(a=BK(a.ja()))?Kk(a):Lk()})};function KK(a,b){yv.call(this,a,b);this.item=a;this.C=this.B=null;var c=eu(this.A);this.Ka.listen(this.item,"Xa",thi s.HA).listen(c,"Za",this.hu)}v(KK,yv);var LK=[NI,OI,QI,pJ,eJ,aJ,dJ,jJ];f=KK.prototype;f.oe=function(){this.Xp()};f.hu=function(){var a=this.item.getState();0!=a&&4!=a&&(3==a&&this.B.cancel(),E(this.C ),this.C=D(this.Xp,400,this))}; f.Xp=function(){if(!this.item.H){var a,b;if(XJ(this.item))a=WJ(this.item);else{b=3==Og(L(this.A))?eu(this.A).B.clone():eu(this.A).A.clone();Ei(b,gK(eu(this.A)));b=MK(b,VJ);b=MK(b,this.item.R);a=$J(th is.item);if(b.width<a.width||b.height<a.height||Ci(b,a))return;b.floor();a=WJ(this.item,b.width,b.height)}this.B=Ik(NK(this,a),t(this.AD,this),void 0,void 0,bK(this.item)?2:void 0);Nk(this.B,t(this.B D,this,b),this);Ok(this.B,this.zD,this);zv(this,this.B)}}; function NK(a,b){var c=W(a.A),d;d=L(a.A);if(OK(a.item.ub()))d=!1;else{var e;e=Ao(a.item);zJ();if(null==e)e=sJ;else{var g=yJ["mime-"+e];g||(e="mime-"+e.split(";",2)[0].toLowerCase().trim(),g=yJ[e]);e= g||sJ}if(d=null==G(d,63)?!1:G(d,63))d=window.location,d=!Ge(Fe(b)[3]||null)||Cm(b,d.href)||cn(b)?!0:!1;d=d&&!Wb(LK,e)}return d?(d=!cn(b)&&!(b&&Re(b,"sz")),sa(GK,b,c,d,!0)):sa(FK,b,c)}function MK(a,b){return new K(Math.min(a.width,b.width),Math.min(a.height,b.height))} f.HA=function(){if(!this.item.C){var a=W(this.A),b=YJ(this.item);Do(this.item,2);a=Ik(sa(NK(this,b),b,a),t(this.JD,this),void 0,void 0,bK(this.item)?2:void 0);Nk(a,this.KD,this);Ok(a,this.ID,this);zv (this,a)}}; f.BD=function(a,b){var c=b.getData();a&&c.naturalWidth<a.width&&c.naturalHeight<a.height&&(this.item.R=(new K(c.naturalWidth,c.naturalHeight)).clone());var d=$J(this.item);c.naturalWidth<=d.width&&c. naturalHeight<=d.height?b.fe&&(c=b.fe,Wh().revokeObjectURL(c)):(Bo(this.item,1),c=this.item,c.D=b,x(c,b),c.U("Wa"),XJ(this.item)&&eK(this.item,b))};f.AD=function(){this.item.D||Bo(this.item,3,"There was a problem displaying this image.")};f.zD=function(){this.item.D||this.B.fc()||Bo(this.item,4,"There was a problem displaying this image.")}; f.KD=function(a){eK(this.item,a);Do(this.item,1)};f.JD=function(){Do(this.item,3)};f.ID=function(){Do(this.item,4)};f.Z=function(){E(this.C);KK.O.Z.call(this)};function PK(a){function b(b){b=Se(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 QK(a,b){this.x=a;this.y=b}v(QK,I);QK.prototype.clone=function(){return new QK(this.x,this.y)};function RK(a){return Math.sqrt(a.x*a.x+a.y*a.y)}QK.prototype.Fd=I.prototype.Fd;QK.prototype.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 SK(a,b){this.F=a;this.A=[];if(n(this.F)){if(null===this.F)throw Error("Not parsing TileInfo XML as document_ is null.");var c=this.F.documentElement;this.C=TK(c,"tile_width");this.D=T K(c,"tile_height");this.origin=UK(c,"origin","TOP_LEFT");if(!(this.origin in VK))throw Error("Invalid image origin: "+this.origin);this.timestamp=TK(c,"timestamp");var d=c.childNodes,e=0;this.A=[];fo r(var g=0;g<d.length;++g)kj(d[g])&&this.A.push(new WK(e++,d[g],this.C,this.D,this.origin));if(2>TK(c,"tiler_version_number")&& n(b)&&b&&0<this.A.length)for(var c=this.A[this.A.length-1],e=XK(c),h=YK(c),g=0;g<d.length;++g){var k=Math.pow(2,d.length-g-1),m=Math.floor(e/k),k=Math.floor(h/k),p=e/m,r=h/k;p>r?k=YK(c)/p:m=XK(c)/r;t his.A[g].Nd=Math.ceil(m/this.C);this.A[g].Uf=this.A[g].Nd*this.C-m;this.A[g].Od=Math.ceil(k/this.D);this.A[g].Vf=this.A[g].Od*this.D-k}this.B=this.A.length}} function UK(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.B&&null!=a.B("@"+b)&&(d=a.B("@"+b).ge t());return null!=d?d:c}function TK(a,b){var c=UK(a,b,""),c=parseInt(c,10);return isNaN(c)?0:c} function ZK(a,b){if(2>a.A.length)return 0;for(var c=0,d=1;d<a.A.length;++d)if(XK(a.A[d])>b.width||YK(a.A[d])>b.height){c=d-1;break}var d=a.A[c],e=a.A[c+1];return wi(c+Math.min(Math.log(b.width/XK(d)) /Math.log(XK(e)/XK(d)),Math.log(b.height/YK(d))/Math.log(YK(e)/YK(d))),0,a.A.length-1)}function $K(a,b){var c=wi(Math.ceil(b),0,a.A.length-1),d=wi(Math.floor(b),0,a.A.length-1),e=b-Math.floor(b);retu rn new K(XK(a.A[d])*Math.pow(XK(a.A[c])/XK(a.A[d]),e),YK(a.A[d])*Math.pow(YK(a.A[c])/YK(a.A[d]),e))} function WK(a,b,c,d,e){this.A=a;this.F=c;this.C=d;this.D=b;this.H=e;this.B=new QK(0,0);null!=this.D&&aL(this,TK(this.D,"num_tiles_x"),TK(this.D,"num_tiles_y"),TK(this.D,"empty_pels_x"),TK(this.D,"emp ty_pels_y"))}WK.prototype.J=function(){return this.D};function aL(a,b,c,d,e){a.Nd=b;a.Od=c;a.Uf=d;a.Vf=e;c=b=a.H=a.H;a.B=new QK("TOP_LEFT"==b||"BOTTOM_LEFT"==b?0:-a.Uf,"TOP_LEFT"==c||"TOP_RIGHT"==c?0 :-a.Vf)}function XK(a){return a.Nd*a.F-a.Uf}function YK(a){return a.Od*a.C-a.Vf} function bL(a,b,c){b instanceof I&&(c=b.y,b=b.x);return new I(Math.floor((b*XK(a)-a.B.x)/a.F),Math.floor((c*YK(a)-a.B.y)/a.C))}function cL(a,b,c){b instanceof I&&(c=b.y,b=b.x);return new I((b*a.F+a.B.x)/XK(a),(c*a.C+a.B.y)/YK(a))}var VK={BOTTOM_LEFT:"BOTTOM_LEFT",BOTTOM_RIGHT:"BOTTOM_RIGHT",TOP_LEFT:"TOP_LEFT",TOP_RIGHT:"TOP_RIGHT"};function dL(a){this.A=a}dL.prototype.jl=functi on(a){return 0<a.B};dL.prototype.bh=function(){return!1};dL.prototype.wf=function(){return!1};function eL(a){this.A=Ym(a,"");this.url=a;this.B={}}v(eL,dL);function fL(a,b){a.B[b]||(a.B[b]=Ym(a.url,b) );return a.B[b]}f=eL.prototype;f.bg=function(){return fL(this,"g")};f.Ed=function(a){return new SK(a,!0)};f.Md=function(a,b,c){return fL(this,"x"+a+"-y"+b+"-z"+c)};f.Cd=function(a,b,c){return this.Md(a,b,c)};f.bh=function(a){return!a};function gL(a){this.A="";this.url=a}v(gL,dL);f=gL.prototype;f.bg=function(){return this.url.bg()};f.Ed=function(a){return this.url.Ed(a)};f.Md=function(a,b ,c){return this.url.Md(a,b,c)};f.Cd=function(a,b,c,d,e){return this.url.Cd(a,b,c,d,e)};f.jl=function(a){return this.url.jl(a)};f.bh=function(a){return this.url.bh(a)};f.wf=function(a){return this.url.wf(a)};function hL(a){gL.call(this,a);this.B=0}v(hL,gL);function iL(a,b){if(b&&b.A&&b.A.length){var c=b.A[0],d=b.A[b.A.length-1],e=Math.max(XK(d),YK(d));a.B=0;for(var g=2;g<=e;g*=2){var h=XK(c)/(XK(d)/g),k=YK(c)/(YK(d)/g);if(!(1>=h&&1>=k)){var m=new WK(0,null,c.F/h,c.C/k,b.origin);aL(m,1,1,c.Uf/h,c.Vf/k);b.A.unshift(m);a.B+=1}}for(c=0;c<b.A.length;++c)b.A[c].A=c;b.B=b.A.length}}hL. prototype.wf=function(a){return this.url.wf(t(function(b){iL(this,b);a&&a(b)},this))}; hL.prototype.Ed=function(a){a=this.url.Ed(a);iL(this,a);return a};hL.prototype.Md=function(a,b,c){return this.url.Md(a,b,Math.max(0,c-this.B))};hL.prototype.Cd=function(a,b,c,d,e){return this.url.Cd(a,b,Math.max(0,c-this.B),d,e)};function jL(a,b,c,d,e,g){this.imageUrl=a;this.size=new K(b,c);this.C=d||"";a=null;e&&g&&(a=new K(e,g));this.D=a;this.B=-1;this.F=Math.min(512,e||b,g||c)}v( jL,dL);f=jL.prototype;f.bg=function(){return""}; f.Ed=function(){var a=new SK;a.C=this.size.width;a.D=this.size.height;a.B=Math.ceil(Math.log(Math.max(this.size.width+1,this.size.height+1)/this.F)/Math.log(2))+1;a.origin="TOP_LEFT";for(var b=0;b<a.B;++b){var c=1/Math.pow(2,a.B-1-b),d=this.size.width*c,c=this.size.height*c;this.C&&this.D.height>=c&&this.D.width>=d&&(this.B=b);d=new WK(b,null,d,c,a.origin);d.Nd=1;d.Od=1;d.Uf=0;d.Vf=0;a. A.push(d)}return a};f.Md=function(a,b,c){return c<=this.B?this.C:this.imageUrl}; f.Cd=function(a,b,c){return this.Md(a,b,c)};f.wf=function(a){null!=a&&a(this.Ed(null));return!0};function kL(){this.B=-1};function lL(a,b,c){this.B=-1;this.A=a;this.B=c||a.B||16;this.F=Array(this.B); this.D=Array(this.B);a=b;a.length>this.B&&(this.A.update(a),a=this.A.C(),this.A.reset());for(c=0;c<this.B;c++)b=c<a.length?a[c]:0,this.F[c]=b^92,this.D[c]=b^54;this.A.update(this.D)}v(lL,kL);lL.proto type.reset=function(){this.A.reset();this.A.update(this.D)};lL.prototype.update=function(a,b){this.A.update(a,b)};lL.prototype.C=function(){var a=this.A.C();this.A.reset();this.A.update(this.F);this. A.update(a);return this.A.C()};function mL(){this.B=-1;this.B=64;this.A=[];this.I=[];this.R=[];this.F=[];this.F[0]=128;for(var a=1;a<this.B;++a)this.F[a]=0;this.H=this.D=0;this.reset()}v(mL,kL);mL.pr ototype.reset=function(){this.A[0]=1732584193;this.A[1]=4023233417;this.A[2]=2562383102;this.A[3]=271733878;this.A[4]=3285377520;this.H=this.D=0}; function nL(a,b,c){c||(c=0);var d=a.R;if(ha(b))for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+ 1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var g=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(g<<1|g>>>31)&4294967295}b=a.A[0];c=a.A[1];for(var h=a.A[2],k=a.A[3],m=a.A[4],p,e=0;80>e;e++)40>e?20>e?(g=k^c& (h^k),p=1518500249):(g=c^h^k,p=1859775393):60>e?(g=c&h|k&(c|h),p=2400959708):(g=c^h^k,p=3395469782),g=(b<< 5|b>>>27)+g+m+p+d[e]&4294967295,m=k,k=h,h=(c<<30|c>>>2)&4294967295,c=b,b=g;a.A[0]=a.A[0]+b&4294967295;a.A[1]=a.A[1]+c&4294967295;a.A[2]=a.A[2]+h&4294967295;a.A[3]=a.A[3]+k&4294967295;a.A[4]=a.A[4]+m& 4294967295} mL.prototype.update=function(a,b){if(null!=a){n(b)||(b=a.length);for(var c=b-this.B,d=0,e=this.I,g=this.D;d<b;){if(0==g)for(;d<=c;)nL(this,a,d),d+=this.B;if(ha(a))for(;d<b;){if(e[g]=a.charCodeAt(d),+ +g,++d,g==this.B){nL(this,e);g=0;break}}else for(;d<b;)if(e[g]=a[d],++g,++d,g==this.B){nL(this,e);g=0;break}}this.D=g;this.H+=b}}; mL.prototype.C=function(){var a=[],b=8*this.H;56>this.D?this.update(this.F,56-this.D):this.update(this.F,this.B-(this.D-56));for(var c=this.B-1;56<=c;c--)this.I[c]=b&255,b/=256;nL(this,this.I);for(c= b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.A[c]>>d&255,++b;return a};function oL(a,b){this.A=a;this.D=b||"nt0";this.B={}}v(oL,dL);oL.prototype.bg=function(){return this.A+"=g"};oL.prototype.Ed=func tion(a){return new SK(a,!0)};oL.prototype.Md=function(a,b,c){return this.A+"="+("x"+a+"-y"+b+"-z"+c)}; oL.prototype.Cd=function(a,b,c,d,e){var g=a+"-"+b+"-"+c;g in this.B||(e=(new hm(this.A)).A.substr(1)+"="+("x"+a+"-y"+b+"-z"+c)+"-"+this.D+(Math.floor(d/86400)+"-d"+e.location.hostname.split(".").slic e(-3).join(".")),d=new lL(new mL,[123,43,78,35,222,44,197,197],64),e=df(e),d.reset(),d.update(e),d=d.C(),d=gf(d),d=d.substring(0,d.length-1),d=d.replace(/\+/g,"_").replace(/\//g,"_"),e=this.A,0==e.in dexOf("http://lh3.ggpht.com")&&(e=e.replace("http://lh3.ggpht.com",pL[(a+b+1)%pL.length])),this.B[g]=e+ "="+("x"+a+"-y"+b+"-z"+c)+"-"+this.D+d);return this.B[g]};var pL=["http://lh3.ggpht.com","http://lh4.ggpht.com","http://lh5.ggpht.com","http://lh6.ggpht.com"];function qL(a,b){var c=a.A[a.A.length-1] ;this.size=this.size=new K(XK(c),YK(c));this.maxZoomLevel=this.B=a.B-1;this.minZoomLevel=this.A=b}ba("MicroscopeImageMetadata",qL,void 0);ba("MicroscopeMaximizeMode",{VG:"fit",UG:"fill"},void 0);function rL(a){var b=a;"function"==typeof a.J&&(b=b.J());if(null==b)throw Error("Element must be set.");return b}function sL(a){var b=a.A,c=null;b.targetTouches&&0<b.targetTouches.length?c=b.targ etTouches:b.changedTouches&&0<b.changedTouches.length&&(c=b.changedTouches);return c?(a=tq(a.target),new I(c[0].pageX-a.x,c[0].pageY-a.y)):new I(a.cf,a.ef)};function tL(a){y.call(this,"drag_end");thi s.position=a}v(tL,y);function uL(a){y.call(this,"drag_hover");this.position=a}v(uL,y);function vL(a,b){y.call(this,"drag_move");this.position=a;this.D=b}v(vL,y);function wL(a){y.call(this,"drag_start ");this.position=a}v(wL,y);function xL(a,b){B.call(this);this.I=rL(a);this.B=!1;this.H=this.F=0;this.D=new M(this);x(this,this.D);this.C=!1;this.A=null;this.L=!n(b)||b;this.D.listen(this.I,["mousedow n","touchstart"],this.N);this.D.listen(this.I,["mouseup","touchend"],this.R);this.D.listen(this.I,["mousemove","touchmove"],this.S);this.D.listen(document,["mouseup","touchend"],this.R)}v(xL,B); xL.prototype.N=function(a){"touchstart"!=a.type&&a.preventDefault();if(yL(a))if(a.I&&!Zc(a))this.B&&this.R(a);else{this.B=!0;var b=sL(a);this.F=b.x;this.H=b.y;this.U(new wL(sL(a)))}};xL.prototype.R=f unction(a){a.currentTarget!=document&&"touchend"!=a.type&&a.preventDefault();this.B&&(this.B=!1,this.A=null,this.U(new tL(sL(a))))};xL.prototype.S=function(a){a.preventDefault();this.A=a;this.C||(thi s.U(new uL(sL(a))),yL(a)&&this.B&&(this.C=!0,this.L?setTimeout(t(this.V,this),1):this.V()))}; function yL(a){a=a.A.targetTouches;return null!=a&&1<a.length?!1:!0}xL.prototype.V=function(){this.C=!1;if(this.B&&this.A){var a=sL(this.A),b=new QK(a.x-this.F,a.y-this.H);this.U(new vL(sL(this.A),b));this.A=null;this.F=a.x;this.H=a.y}};function zL(){B.call(this);this.B=new QK(0,0);this.D=null;this.A={};this.A[40]=!1;this.A[37]=!1;this.A[39]=!1;this.A[38]=!1;this.H=0;this.C=new ze(1/60*1E3);x(this,this.C);this.F=new M(this);x(this,this.F);this.F.listen(this.C,"tick",this.V)}v(zL,B);zL.prototype.stop=function(){this.A[40]=!1;this.A[37]=!1;this.A[39]=!1;this.A[38]=!1;this.C. stop();this.B=new QK(0,0)}; zL.prototype.V=function(){var a;if(!(a=0!=RK(this.B)))a:{for(var b in this.A)if(this.A[Number(b)]){a=!0;break a}a=!1}if(a){b=new QK((this.A[37]?1:0)-(this.A[39]?1:0),(this.A[38]?1:0)-(this.A[40]?1:0) );0<RK(b)&&b.Fd(1/RK(b));var c=u();a=(c-this.H)/1E3;this.H=c;yi(b.x)!=yi(this.B.x)&&(this.B.x=0);0!=b.x&&(this.B.x+=b.x/.2*a);yi(b.y)!=yi(this.B.y)&&(this.B.y=0);0!=b.y&&(this.B.y+=b.y/.2*a);this.B.x =wi(this.B.x,-1,1);this.B.y=wi(this.B.y,-1,1);c=this.B.clone();1<RK(c)&&c.Fd(1/RK(c));b=new I(0,0);a=new QK(a* c.x*1500,a*c.y*1500);this.U(new wL(b));this.U(new vL(b,a));this.U(new tL(a))}else this.C.stop()};zL.prototype.I=function(a){this.D&&a.keyCode in this.A&&(this.A[a.keyCode]=!0,this.C.enabled||(this.H= u(),this.C.start()))};zL.prototype.R=function(a){this.D&&a.keyCode in this.A&&(this.A[a.keyCode]=!1)};function AL(a,b,c){y.call(this,"zoom");this.D=a;this.F=n(c)?c:null;this.I=n(b)?b:null}v(AL,y);fun ction BL(a,b){B.call(this);var c=rL(a);if(null==c)throw Error("Glass element not found.");this.A=c;this.H=1/(.25*(b||Math.max(window.innerWidth,window.innerHeight)));this.B=0;this.D=new QK(0,0);this.C=new M(this);x(this,this.C);Uc&&this.C.listen(this.A,["touchstart","touchmove"],this.F)}v(BL,B); BL.prototype.F=function(a){var b=a.A.touches;if(2==b.length){var c,d=b[0],e=b[1];c=d.clientX-e.clientX;d=d.clientY-e.clientY;c=Math.sqrt(c*c+d*d);"touchstart"==a.type?(a=b[0],b=b[1],this.D.x=(a.pageX +b.pageX)/2-this.A.offsetParent.offsetLeft,this.D.y=(a.pageY+b.pageY)/2-this.A.offsetParent.offsetTop,this.B=c):"touchmove"==a.type&&(b=(c-this.B)*this.H,this.B=c,this.U(new AL(b,4,this.D)))}};functi on CL(a){y.call(this,"throw");this.D=a}v(CL,y);function DL(a){B.call(this);this.C=new M(this);x(this,this.C);this.C.listen(a,"drag_start",this.R);this.C.listen(a,"drag_end",this.H);this.C.listen(a,"d rag_move",this.I);this.F=this.B=0;this.D=new QK(0,0);this.A=new QK(0,0)}v(DL,B);DL.prototype.R=function(a){this.B=u();this.D=new QK(a.position.x,a.position.y);300<this.B-this.F&&this.U(new CL(null));this.F=this.B}; DL.prototype.H=function(){if(200>u()-this.B){this.A.Fd(.2);var a=RK(this.A);1E3<a&&this.A.Fd(1E3/a);10<=RK(this.A)&&this.U(new CL(this.A))}this.B=0;this.D=new QK(0,0);this.A=new QK(0,0)};DL.prototype .I=function(a){var b=u(),c=b-this.B;if(!(50>c)){this.F=0;this.A.x=a.position.x;this.A.y=a.position.y;var d=this.A,e=this.D;d.x-=e.x;d.y-=e.y;this.A.Fd(1E3/c);this.B=b;this.D.x=a.position.x;this.D.y=a .position.y}};function EL(a){y.call(this,"double_tap");this.position=a}v(EL,y);function FL(a){B.call(this);this.B=rL(a);this.D=0;this.A=!1;this.C=new M(this);x(this,this.C);Uc&&this.C.listen(this.B,[ "touchstart","touchmove","touchend"],this.F)}v(FL,B); FL.prototype.F=function(a){if(1==a.A.changedTouches.length&&this.B.offsetParent){var b=a.A.changedTouches[0];"touchend"==a.type?(a=new I(b.pageX-this.B.offsetParent.offsetLeft,b.pageY-this.B.offsetPa rent.offsetTop),b=u(),300>=b-this.D&&this.A&&this.U(new EL(a)),this.A&&(this.D=b,this.A=!1)):"touchstart"==a.type?this.A=!0:"touchmove"==a.type&&(this.A=!1)}};function GL(a){B.call(this);this.A=new M(this);x(this,this.A);this.D=rL(a);this.H=new Uq(this.D);x(this,this.H);this.C=new FL(this.D);x(this,this.C);this.B=new Zr;x(this,this.B);this.R=!0;this.F=0;this.A.listen(this.C,"double_tap",this.V );this.A.listen(this.D,"dblclick",this.I);this.A.listen(this.H,"mousewheel",this.N);this.A.listen(this.B,"key",this.L)}v(GL,B);GL.prototype.V=function(a){this.I({cf:a.position.x,ef:a.position.y})};GL .prototype.I=function(a){this.U(new AL(1,2,new QK(a.cf,a.ef)))}; GL.prototype.N=function(a){if(this.R){var b=u();if(Math.abs(a.deltaY)>=Math.abs(a.S)&&100<=b-this.F){a.preventDefault();var c=new QK(a.cf,a.ef);a=.5*-yi(a.deltaY);this.U(new AL(a,1,c));this.F=b}}};GL .prototype.L=function(a){switch(a.F){case 43:case 61:this.U(new AL(1,3,void 0));break;case 45:case 95:this.U(new AL(-1,3,void 0))}};function HL(a,b,c,d){B.call(this);for(var e=0;e<b.length;++e)b[e].W b(this);for(e=0;e<a.length;++e)a[e].Wb(this),x(this,a[e]);this.A=c;this.B=d}v(HL,B);HL.prototype.listen=function(a,b,c,d){return HL.O.listen.call(this,a,b,!0,d)};function IL(a){this.A=rL(a);this.I=th is.H=this.F=this.C=this.B=!1;this.D=[]};function JL(a){y.call(this,"resize");this.size=a}v(JL,y);function KL(a){B.call(this);this.C=rL(a);this.A=LL(this);this.B=new M(this);x(this,this.B);this.B.list en(window,"resize",this.D)}v(KL,B);function LL(a){var b;var c=a.C;if("none"!=iq(c,"display"))b=new K(c.clientWidth,c.clientHeight);else{b=c.style;var d=b.display,e=b.visibility,g=b.position;b.visibil ity="hidden";b.position="absolute";b.display="inline";c=new K(c.clientWidth,c.clientHeight);b.display=d;b.position=g;b.visibility=e;b=c}return 0==b.width||0==b.height?a.A||new K(0,0):b.clone()} KL.prototype.trigger=function(){this.D()};KL.prototype.D=function(){var a=LL(this);Ci(this.A,a)&&0!=a.width&&0!=a.height||(this.A=a,this.U(new JL(a)))};function ML(){this.B=[];this.A=[]}function NL(a){0==a.B.length&&(a.B=a.A,a.B.reverse(),a.A=[]);return a.B.pop()}f=ML.prototype;f.wb=function(){return this.B.length+this.A.length};f.isEmpty=function(){return 0==this.B.length&&0==this.A.length };f.clear=function(){this.B=[];this.A=[]};f.contains=function(a){return Wb(this.B,a)||Wb(this.A,a)};f.remove=function(a){var b;b=this.B;var c=Kb(b,a);0<=c?($b(b,c),b=!0):b=!1;return b||Zb(this.A,a)}; f.Pa=function(){for(var a=[],b=this.B.length-1;0<=b;--b)a.push(this.B[b]);for(var c=this.A.length,b=0;b<c;++b)a.push(this.A[b]);return a};function OL(){w.call(this)}v(OL,w);OL.prototype.cancel=functi on(){return!1};function PL(a,b){w.call(this);this.F=a;this.H=b;this.B=0;this.D=new ML;this.A={};this.C=new M(this);x(this,this.C)}v(PL,w);f=PL.prototype;f.clearAll=function(){this.C.removeAll();QL(th is,!0);for(var a in this.A)this.A[a].dispose();this.A={};this.B=0;this.D=new ML}; f.load=function(a,b,c){var d=null;a in this.A?(d=this.A[a],d.A+=1,1==d.A&&this.D.remove(d)):(d=RL(this,a,void 0,b),QL(this,!1));n(c)&&(null!=d.data?c(d):this.C.listen(d,"resource_loaded",function(a){ c(a.dG)}));return d};function RL(a,b,c,d){var e=a.A[b];if(SL(a,b)&&e)return e.A+=1,e;d=n(d)?d:1;e=new TL(b,d,t(a.TF,a));a.A[b]=e;a.B+=d;n(c)?a.$p(b,c):a.F.load(b,t(a.$p,a));e.A+=1;return e}f.$p=function(a,b){if(a in this.A){var c=this.A[a];c.data=b;c.U(new UL(c))}}; function SL(a,b){return b in a.A&&null!=a.A[b].data}f.clear=function(){QL(this,!0)};f.TF=function(a){this.D.A.push(a);QL(this,!1)};function QL(a,b){for(;(b||a.B>a.H)&&!a.D.isEmpty();){var c=NL(a.D);delete a.A[c.key];null!=c.data||a.F.cancel(c.key);a.B-=c.B;c.dispose()}}f.Z=function(){this.clearAll();PL.O.Z.call(this)};function TL(a,b,c){B.call(this);this.key=a;this.B=b;this.data=null ;this.A=0;this.D=c}v(TL,B);function UL(a){y.call(this,"resource_loaded");this.dG=a}v(UL,y);function VL(a){this.C=a;this.B=this.C.length/4;this.F=this.B+6;this.D=[[],[],[],[]];this.I=[[],[],[],[]];thi s.A=Array(WL*(this.F+1));for(a=0;a<this.B;a++)this.A[a]=[this.C[4*a],this.C[4*a+1],this.C[4*a+2],this.C[4*a+3]];var b=Array(4);for(a=this.B;a<WL*(this.F+1);a++){b[0]=this.A[a-1][0];b[1]=this.A[a-1][1 ];b[2]=this.A[a-1][2];b[3]=this.A[a-1][3];if(0==a%this.B){var c=b,d=c[0];c[0]=c[1];c[1]=c[2];c[2]=c[3];c[3]=d;XL(b);b[0]^=YL[a/this.B][0];b[1]^=YL[a/this.B][1];b[2]^=YL[a/this.B][2];b[3]^=YL[a/this.B ][3]}else 6< this.B&&4==a%this.B&&XL(b);this.A[a]=Array(4);this.A[a][0]=this.A[a-this.B][0]^b[0];this.A[a][1]=this.A[a-this.B][1]^b[1];this.A[a][2]=this.A[a-this.B][2]^b[2];this.A[a][3]=this.A[a-this.B][3]^b[3]}} VL.prototype.H=16;var WL=VL.prototype.H/4;function ZL(a,b){for(var c=0;4>c;c++)for(var d=0;4>d;d++)a.D[c][d]^=a.A[4*b+d][c]}function $L(a){for(var b=aM,c=0;4>c;c++)for(var d=0;4>d;d++)a.D[c][d]=b[a.D [c][d]]} function bM(a){for(var b=1;4>b;b++)for(var c=0;4>c;c++)a.I[b][(c+b)%WL]=a.D[b][c];for(b=1;4>b;b++)for(c=0;4>c;c++)a.D[b][c]=a.I[b][c]}function XL(a){a[0]=cM[a[0]];a[1]=cM[a[1]];a[2]=cM[a[2]];a[3]=cM[ a[3]]} var cM=[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,4 6,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],aM=[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,1 01,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,22 0,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],YL=[[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]],dM=[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,1 09,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],eM=[0,11,22,29,44,39,58,49,8 8,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,8 1,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],fM=[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,15 5,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],gM=[ 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,1 7,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 hM(a){this.A=a};function iM(){this.B=[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 VL(null==a?[]:a.slice(5,21));this.A=new hM(a)}function jM(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)}function kM(a){return"undefined"!=typeof Uint8Array&&a instanceof Uint8Array};function lM(a,b){this.B=a;this.A=b||null}var mM=null;function nM(a){w.call(this);this.F=new iM;this.R="undefined"!=typeof Uint8Array;this.C=null!=Xh();this.I=t(a?this.R?this.TC:A?this.WC:this.VC:this.UC,this);this.H=A&&!Nc("11")?"readystatecha nge":"load";this.A=new ML;this.B=!0;this.D=new M(this);x(this,this.D)}v(nM,OL);f=nM.prototype;f.load=function(a,b){this.I(a,function(c){setTimeout(function(){b(a,new lM(c))},1)})};function oM(a,b){a.B&&a.A.isEmpty()&&pM(a);a.A.A.push(b)} function pM(a){setTimeout(t(function(){this.B&&!this.A.isEmpty()&&(NL(this.A)(),this.A.isEmpty()||pM(this))},a),0)}f.UC=function(a,b,c){var d=new Image;n(c)&&c&&(d.crossOrigin="anonymous");this.D.lis ten(d,this.H,function(c){("readystatechange"==c.type&&"complete"==d.readyState||"load"==c.type||d.complete)&&setTimeout(function(){b(a)},1)});d.src=a}; f.TC=function(a,b){var c=new XMLHttpRequest;c.open("GET",a,!0);c.responseType="arraybuffer";this.D.listen(c,"load",function(){200==c.status&&oM(this,t(function(){var a=new Uint8Array(c.response);qM(t his,a,b)},this))});c.send()}; f.VC=function(a,b){var c=new XMLHttpRequest;c.open("GET",a,!0);c.overrideMimeType("text/plain; charset=x-user-defined");this.D.listen(c,"readystatechange",function(){4==c.readyState&&200==c.status&&o M(this,t(function(){for(var a=[],e=0,g=c.responseText.length;e<g;++e)a.push(c.responseText.charCodeAt(e)&255);qM(this,a,b)},this))});c.send()}; function qM(a,b,c){var d=a.F,e=b;if(10==e[0]&&10==e[1]&&10==e[2]&&10==e[3]){b=jM(e,e.length-4);var g=e.length-4,e=kM(e)?e.subarray(4,g):e.slice(4,g),g=jM(e,b);if(kM(e)){var h=new Uint8Array(e.length- 4);h.set(e.subarray(0,b));h.set(e.subarray(b+4),b);e=h}else e.splice(b,4);g=b+g;g=kM(e)?e.subarray(b,g):e.slice(b,g);try{for(var k,m=d.A,h=[],p=0,r=d.B.slice(5,21);p<g.length;){for(var z=ec(g,p,p+m.A.H),C=m.A,d=C,F=z,J=void 0,la=void 0,Ob=0;Ob<WL;Ob++)for(var $f=0;4>$f;$f++)la=4*$f+Ob,J=F[la],d.D[Ob][$f]= J;ZL(C,C.F);for(d=1;d<C.F;++d){bM(C);$L(C);ZL(C,C.F-d);for(var hc=C.D,mc=C.I[0],F=0;4>F;F++)mc[0]=hc[0][F],mc[1]=hc[1][F],mc[2]=hc[2][F],mc[3]=hc[3][F],hc[0][F]=gM[mc[0]]^eM[mc[1]]^fM[mc[2]]^dM[mc[3] ],hc[1][F]=dM[mc[0]]^gM[mc[1]]^eM[mc[2]]^fM[mc[3]],hc[2][F]=fM[mc[0]]^dM[mc[1]]^gM[mc[2]]^eM[mc[3]],hc[3][F]=eM[mc[0]]^fM[mc[1]]^dM[mc[2]]^gM[mc[3]]}bM(C);$L(C);ZL(C,0);for(var d=r,XO,F=C,J=[],la=0;l a<WL;la++)for(Ob=0;4>Ob;Ob++)J[4*Ob+la]=F.D[la][Ob];XO=J;F=[];for(J=0;J<d.length;J++)F.push(d[J]^XO[J]); cc(h,F);r=z;p+=m.A.H}k=h}catch(n1){throw Error("Error while decrypting file: "+n1.toString());}for(m=0;m<k.length;++m)e[m+b]=k[m]}b=e;a.C?c(Vh(new Blob([b],{type:"image/jpg"}))):(a="data:image/jpeg;b ase64,"+gf(b),c(a))}f.WC=function(a){(new XDomainRequest).open("GET",a);oM(this,function(){throw Error("Not implemented yet.");})};function rM(){if(!A)return!1;try{return new ActiveXObject("MSXML2.DO MDocument"),!0}catch(a){return!1}}var sM=A&&rM();function tM(a,b){return uM(a,function(a){b(a)})} function uM(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,"applica tion/xml");else if(sM){var c=new ActiveXObject("MSXML2.DOMDocument");c.resolveExternals=!1;c.validateOnParse=!1;try{c.setProperty("ProhibitDTD",!0),c.setProperty("MaxXMLSize",2048),c.setProperty("Max ElementDepth",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=q;d.send();c=new w;Eb(c,function(){d.onload=q;d.onerror=q;d.abort()});return c}d=new nK;nd(d,"complete",function(){b(BK(this))});d.send(a);return d};function vM(a,b,c,d,e){w.call(this);this.D=2E3;this.H=0;this.F=new rr(this.load,0,this);x(this,this.F);this.B=a;this.rb=b;this.C=c||q;this.R=d||q;this.A=e||null}v(vM,w);vM.prototype.load=function (){if(!this.B.wf(t(this.rb,this.A))){var a=tM(this.B.bg(),t(this.I,this));x(this,a)}}; vM.prototype.I=function(a){var b=null;if(a)try{b=this.B.Ed(a)}catch(c){}(a=b)&&this.B.jl(a)?this.rb.call(this.A,a):this.B.bh(a)?(++this.H,5>this.H?(this.R.call(this.A),this.F.start(this.D),this.D*=2) :this.C.call(this.A)):this.C.call(this.A)};function wM(a,b,c){y.call(this,"level_change");this.F=a;this.D=b;this.I=n(c)?c:null}v(wM,y);function xM(a,b,c,d,e){y.call(this,"viewport_update");this.left= a;this.top=b;this.right=c;this.bottom=d;this.D=e}v(xM,y);function yM(a){y.call(this,"view_move");this.position=a}v(yM,y);ba("MicroscopeZoomWidgetMode",{VISIBLE:0,AH:1,LH:2,HIDDEN:3},void 0);function zM(a){is.call(this);this.A=document.createElement("div");S(this.A,"m2-glassLayer");null!=a&&V(this).listen(a,"resize",this.F)}v(zM,is);zM.prototype.ea=function(){this.Fa(this.A)};zM.prot otype.F=function(a){Aq(this.A,a.size.width,a.size.height)};zM.prototype.C=function(a){fq(this.A,"cursor",a?"move":"auto")};function AM(a,b,c,d){B.call(this);this.y=this.x=0;this.C=!1;this.size=new K(0,0);this.url=a;this.V=b;this.A=c;this.R=d;this.F=!0}v(AM,B);AM.prototype.setVisible=function(a){(this.C=a)||BM(this,[])};AM.prototype.da=function(){return this.C};function CM(a,b){if(!Ci(b,a.size )){a.size=b;var c=a.size;Aq(a.B,c.width,c.height);Lb(a.D,a.H,a)}};function DM(a,b){y.call(this,"tile_loaded");this.D=a;this.F=b}v(DM,y);function EM(a,b,c,d){w.call(this);this.root=c;this.A=d;this.H=n ew I(a,b)}v(EM,w);var FM={90:"m2-tileRotation90",180:"m2-tileRotation180",270:"m2-tileRotation270"};EM.prototype.setVisible=function(a){if(a!=!(!this.A||!this.A.parentNode))if(a)this.R(),this.root.ap pendChild(this.A);else try{this.Db(),this.root.removeChild(this.A)}catch(b){}};function GM(a,b,c,d,e,g,h){var k=SL(g,a)?g.A[a].data:null,m;if(m=k)null==mM&&(m=document.createElement("canvas"),mM=!(!m ||!m.getContext)),mM&&k.A?(m=document.createElement("canvas"),m.width=k.A.naturalWidth,m.height=k.A.naturalHeight,m.getContext("2d").drawImage(k.A,0,0)):m=null;return(k=m)?new HM(b,c,e,k,h):new IM(a,b,c,d,e,g,h)}function JM(a,b,c,d,e,g){EM.call(this,a,b,d,e);Qp(e,["hidden","m2-tileLayerImg"]);this.I=c;this.F=null!=g?g:null;this.C=null}v(JM,EM); JM.prototype.Db=function(){null!=this.C&&(clearTimeout(this.C),this.C=null)};function KM(a){a.I||S(a.A,"m2-noTransition");Tp(a.A,"hidden",!1);if(null!=a.F){var b=a.I?500:0;a.C=setTimeout(t(a.W,a,a.F) ,b);a.F=null}}JM.prototype.W=function(a){a();this.C=null};JM.prototype.Z=function(){this.Db();JM.O.Z.call(this)}; function IM(a,b,c,d,e,g,h){JM.call(this,b,c,d&&!SL(g,a),e,document.createElement("img"),h);this.ba=a;this.S=g;this.B=null;this.V=A&&!Nc("11")?"readystatechange":"load";this.D=new M(this);x(this,this. D)}v(IM,JM);IM.prototype.R=function(){Tp(this.A,"hidden",!0);this.B=this.S.load(this.ba,1);null!=this.B.data?this.N():ml(this.D,this.B,"resource_loaded",this.N)};IM.prototype.Db=function(){this.A.rem oveAttribute("src");this.D.removeAll();if(this.B){var a=this.B;--a.A;0==a.A&&a.D(a);this.B=null}IM.O.Db.call(this)}; IM.prototype.N=function(){this.D.listen(this.A,this.V,this.L);this.A.src=this.B.data.B};IM.prototype.L=function(){if(this.A.complete||"complete"==this.A.readyState)this.D.wa(this.A,this.V,this.L),KM( this)};function HM(a,b,c,d,e){JM.call(this,a,b,!1,c,d,e)}v(HM,JM);HM.prototype.R=function(){KM(this)};function LM(a,b,c,d,e,g){AM.call(this,b,c,d,e);this.B=document.createElement("div");this.B.style. direction="ltr";fq(this.B,"zIndex",Math.floor(Math.log(XK(d))/Math.log(2)*10));this.D=[];this.I=g;S(this.B,"m2-tileLayer");a.appendChild(this.B)}v(LM,AM);LM.prototype.remove=function(){BM(this,[]);th is.C=!1;this.B.parentNode.removeChild(this.B)}; function BM(a,b){for(var c={},d=0;d<a.D.length;++d){var e=a.D[d],g=e.H;c["("+g.x+", "+g.y+")"]=e}a.D=[];for(d=0;d<b.length;++d){var g=new QK(b[d].x,b[d].y),h="("+g.x+", "+g.y+")",e=c[h];if(null!=e)de lete c[h];else{e=MM(a,g.x,g.y);x(a,e);if(null==e)continue;e.setVisible(!0)}a.H(e);a.D.push(e)}for(var k in c)c[k].setVisible(!1)} LM.prototype.H=function(a){var b=new QK(this.size.width/XK(this.A),this.size.height/YK(this.A)),c=this.A.F*b.x,d=this.A.C*b.y,e=a.H,g=e.x*c+this.A.B.x*b.x-(Math.round(this.x)-this.x),e=e.y*d+this.A.B .y*b.y-(Math.round(this.y)-this.y),h=Math.round(g),k=Math.round(e),b=new QK(h,k),c=new K(Math.round(g+c)-h,Math.round(e+d)-k),d=FM[0];this.I&&!d?a.A.style.webkitTransform="translate3d("+b.x+"px, "+b.y+"px, 0)":(Tp(a.A,d,!!d),a.A.style.left=b.x+"px",a.A.style.top=b.y+"px");Aq(a.A,c.width,c.height)}; function MM(a,b,c){var d=a.url.Cd(b,c,a.A.A,a.V.timestamp,window),e=t(function(){this.U(new DM(this.A.A,new I(b,c)))},a);return GM(d,b,c,0<a.A.A&&a.F,a.B,a.R,e)};function NM(a,b,c){this.B=a;this.B.st yle.overflow="hidden";this.A=document.createElement("div");this.A.style.direction="ltr";this.D=[];this.C=this.F=null;this.I=b;this.H=c}v(NM,w);function OM(a){a.B.appendChild(a.A)}NM.prototype.Z=funct ion(){wd(this.C);PM(this);NM.O.Z.call(this)};NM.prototype.R=function(){};function PM(a,b){for(var c=a.D.length-1;0<=c;--c)c!=b&&QM(a,a.D[c])}function QM(a,b){Zb(a.D,b)&&(b.remove(),b.dispose())} function RM(a,b,c){Lb(a.D,function(a){a.x=b;a.y=c},a);var d=Math.round(b),e=Math.round(c);a.H?a.A.style.webkitTransform="translate3d("+d+"px, "+e+"px, 0)":a.A.style.margin=e+"px 0 0 "+d+"px"};function SM(a,b,c,d){B.call(this);this.S=a;this.R=b;this.B=[];this.A=null;this.D=c;this.V=!0;this.C=null;this.F=new Cl;this.N=d||function(){};this.I=new K(0,0);this.H=0;this.L=new M(this);x(this,this.L)}v(SM,B); SM.prototype.load=function(a,b,c,d){this.A&&(QM(c,this.A),this.A=null);var e=void 0;d&&(e=Math.ceil(this.H),this.A=this.B[e]);PM(c,e);this.B=[];d=0;for(e=b.B;d<e;++d){var g=b.A[d];if(!g)throw Error("TileInfo did not contain level info for level "+d);var h;h=c;g=new LM(h.A,a,b,g,h.I,h.H);h.D.push(g);h=g;this.L.listen(h,"tile_loaded",this.ba);this.B.push(h)}TM(this,this.V)}; function UM(a,b,c,d,e){RM(a.R,b,c);var g=a.S.A;b=new Wp(-(c/d.height),(g.width-b+d.width)/d.width-1,(g.height-c+d.height)/d.height-1,-b/d.width);c=a.D;c.B=c.A.A[Math.ceil(e)];c.F=!0;c=a.D;c.H=b.clone ();c.F=!0;a.H=e;a.I=d;VM(a)} function VM(a){for(var b=Math.ceil(a.H),c=WM(a.D,b),d=new Cl,e=0;e<c.length;++e)Fl(d,XM(b,c[e]));for(var e=a.F,b=new Cl,c=zl(d),g=0;g<c.length;g++){var h=c[g];e.contains(h)&&Fl(b,h)}a.F=b;e=a.F;d=d.c lone();d.removeAll(e);a.C=d;for(e=0;e<a.B.length;++e)d=a.B[e],b=WM(a.D,e),c=0<b.length,d.setVisible(c),c&&BM(d,b);for(e=0;e<a.B.length;++e)d=a.B[e],CM(d,a.I);a.A&&CM(a.A,a.I)}function TM(a,b){a.V=b;for(var c=0;c<a.B.length;++c)a.B[c].F=b} SM.prototype.ba=function(a){var b=XM(a.D,a.F);this.C&&this.C.contains(b)&&(this.C.remove(b),Fl(this.F,b),0==this.C.wb()&&(this.D.F=!0,VM(this),this.N(),this.A&&(QM(this.R,this.A),this.A=null)));this. U(a)};function XM(a,b){return b.x+","+b.y+","+a}SM.prototype.Z=function(){this.A&&(QM(this.R,this.A),this.A=null);SM.O.Z.call(this)};function YM(a){this.B=null;this.H=new Wp(0,1,1,0);this.V=a;this.R= this.A=null;this.D={};this.I=!1;this.F=!0;this.C={}}function ZM(a,b,c){a.A=b;a.R=c;a.F=!0} function WM(a,b){if(a.F){a.C={};for(var c=a.B.A,d=0;d<=a.A.A.length;++d)if(0==d){for(var e=a.D,g=a.A.A[0],h=[],k=0;k<g.Nd;++k)for(var m=0;m<g.Od;++m)h.push(new I(k,m));e[0]=h}else if(d==c)for(a.D[c]= [],e=$M(a,a.B),g=0;g<e.length;++g)h=e[g],aN(a,c,h)?a.D[c].push(h):(a.C[h.x+","+h.y]=h,a.I||a.D[c].push(h));else a.D[d]=[];bN(a);for(c=a.B.A-1;1<=c&&!qb(a.C);--c)for(d=a.A.A[c],e=$M(a,a.A.A[c],!0),g=0 ;g<e.length;++g){for(var h=e[g],k=bL(a.B,cL(d,h)),m=bL(a.B,cL(d,new I(h.x+1,h.y+1))),p=!1,r=k.x;r<m.x;++r)for(var z= k.y;z<m.y;++z){var C=r+","+z;C in a.C&&(p=!0,delete a.C[C])}p&&a.D[c].push(h)}a.F=!1}return a.D[b]||[]} function bN(a){var b=a.B.A+1;if(!(b>=a.A.A.length)){var c=$M(a,a.A.A[b],!0);if(0!=c.length){var d={};Lb(c,function(a){d[a.x+","+a.y]=a},a);for(var e in a.C){for(var c=a.C[e],c=Xp(cL(a.B,c),cL(a.B,c.x +1,c.y+1)),g=a.A.A[b],h=!0,k=bL(g,c.left,c.top),m=new I(k.x,k.y);m.x<g.Nd;++m.x){var p;for(m.y=k.y;m.y<g.Od;++m.y){p=cL(g,m);if(p.x>=c.right||p.y>=c.bottom)break;var r=m.x+","+m.y;r in d?null!=d[r]&&(a.D[b].push(new I(m.x,m.y)),d[r]=null):h=!1}if(p.x>=c.right)break}h&&delete a.C[e]}}}} function $M(a,b,c){var d=bL(b,new I(a.H.left,a.H.top)),e=bL(b,new I(a.H.right,a.H.bottom));d.x=wi(d.x,0,b.Nd-1);d.y=wi(d.y,0,b.Od-1);e.x=wi(e.x,0,b.Nd-1);e.y=wi(e.y,0,b.Od-1);for(var g=[],h=d.x;h<=e.x;++h)for(var k=d.y;k<=e.y;++k)c&&!aN(a,b.A,h,k)||g.push(new I(h,k));return g}function aN(a,b,c,d){c instanceof I?(d=c.y,c=c.x):n(d)||(d=0);return SL(a.V,a.R.Cd(c,d,b,a.A.timestamp,w indow))};function cN(){is.call(this);this.fa=A&&Nc("8");this.N=0;this.aa=null;this.A=Dj(this.B,"div");Qp(this.A,["m2-zoomSlider","m2-transition"]);this.S=Dj(this.B,"div");Qp(this.S,["m2-zoomInButton" ,"m2-transition"]);this.A.appendChild(this.S);this.H=Dj(this.B,"div");nj(this.H,"+");Qp(this.H,["m2-zoomButtonLabel","m2-transition"]);this.S.appendChild(this.H);this.W=Dj(this.B,"div");Qp(this.W,["m 2-zoomOutButton","m2-transition"]);this.A.appendChild(this.W);this.I=Dj(this.B,"div");nj(this.I,"\u2013");Qp(this.I, ["m2-zoomButtonLabel","m2-transition"]);this.W.appendChild(this.I);this.X=Dj(this.B,"div");Qp(this.X,["m2-zoomSliderKnobSurface","m2-transition"]);this.A.appendChild(this.X);this.F=Dj(this.B,"div");Q p(this.F,["m2-zoomSliderKnob","m2-transition"]);this.X.appendChild(this.F);this.C=new ze(1E3);x(this,this.C);V(this).listen(this.C,"tick",function(){dN(this,!1)});this.$=!1;V(this).listen(this.A,"mou seover",function(){this.C.stop();this.$=!0;dN(this,!0)});V(this).listen(this.A,"mouseout",function(){this.$= !1;this.C.stop();this.C.start()});eN(this);dN(this,!1)}v(cN,is);cN.prototype.ea=function(){this.Fa(this.A)};function fN(a){a.$||(dN(a,!0),a.C.stop(),a.C.start())}function gN(a,b){a.aa=b}cN.prototype. na=function(a){"start"!=a.type&&(a=a.left/this.N,null!=this.aa&&this.aa(a))}; function dN(a,b){var c=(b?30:8)+"px",d=b?"30px":"0";Cq(a.A,c);a.A.style.backgroundColor=a.fa?"rgb(0, 0, 0)":"rgba(0, 0, 0, "+(b?"1":"0.5")+")";Cq(a.F,c);a.X.style.height=c;a.S.style.height=c;a.W.styl e.height=c;a.I.style.height=d;a.H.style.height=d;a.fa?(c=b?"visible":"hidden",a.I.style.visibility=c,a.H.style.visibility=c):(c=b?"1":"0",a.I.style.opacity=c,a.H.style.opacity=c)} function eN(a){V(a).listen(a.S,"click",function(){fN(this);this.U(new AL(1))});V(a).listen(a.W,"click",function(){fN(this);this.U(new AL(-1))})};function hN(a,b){is.call(this);this.A=150;this.Wa=new I(10,10);this.C=Dj(this.B,"div");S(this.C,"m2-zoomWidget");mq(this.C,this.Wa);this.Ha=Dj(this.B,"div");S(this.Ha,"m2-wrapper");this.C.appendChild(this.Ha);this.fa=Dj(this.B,"div");S(this.fa,"m2-thum bView");this.Ha.appendChild(this.fa);this.kb=new zM;this.kb.ga(this.fa);x(this,this.kb);this.eb=new xL(this.kb);x(this,this.eb);V(this).listen(this.eb,"drag_hover",this.mE);V(this).listen(this.eb,["d rag_start","drag_move"],this.bE);this.$=new K(this.A, this.A);this.zc=Dj(this.B,"div");S(this.zc,"m2-visibleAreaMarker");this.fa.appendChild(this.zc);this.W=[];for(var c=0;4>c;++c)this.W[c]=Dj(this.B,"div"),S(this.W[c],"m2-darkAreaMarker"),this.fa.appen dChild(this.W[c]);this.L=new cN;x(this,this.L);V(this).listen(this.L,"zoom",function(a){this.U(a);iN(this)});this.L.ga(this.C);gN(this.L,t(this.XD,this));this.X=Dj(this.B,"div");S(this.X,"m2-thumbnai lWrapper");this.fa.appendChild(this.X);this.Ja=a(this.X);OM(this.Ja);x(this,this.Ja);this.Kb=new KL(this.X); x(this,this.Kb);this.Yc=new YM(b);this.Jb=new SM(this.Kb,this.Ja,this.Yc);x(this,this.Jb);this.Sd=0;this.S=1;this.I=0;this.F=1;this.H=new K(0,0);this.ha=new QK(0,0);this.za=new QK(0,0);this.aa=null;t his.N=new ze(1E3);x(this,this.N);V(this).listen(this.N,"tick",function(){this.setVisible(!1)});this.Ib=!1;V(this).listen(this.C,"mouseover",function(){this.N.stop();this.Ib=!0;this.setVisible(this.S> this.I)});V(this).listen(this.C,"mouseout",function(){this.Ib=!1;this.N.stop();this.N.start()});this.na= Dj(this.B,"div");S(this.na,"m2-addToCollectionButton");T(this.na,!1);this.C.appendChild(this.na);V(this).listen(this.na,"click",function(){null!=this.La&&this.La()});this.La=null}v(hN,is);f=hN.protot ype;f.ea=function(){this.Fa(this.C)};function iN(a){a.Ib||(a.setVisible(a.S>a.I),a.N.stop(),a.N.start())}f.bE=function(a){var b=new QK(a.position.x-this.ha.x,a.position.y-this.ha.y);a=b.x-this.za.x;b =b.y-this.za.y;a/=this.H.width*this.A*this.F;b/=this.H.height*this.A*this.F;this.U(new yM(new QK(a,b)))}; function jN(a,b){T(a.na,null!=b);a.La=b}f.XD=function(a){this.U(new wM(this.I+a*(this.S-this.I),!1))};f.mE=function(){iN(this);fN(this.L)};f.setVisible=function(a){Tp(this.C,"m2-transition",!a);A&&Nc ("8")?this.C.style.visibility=a?"visible":"hidden":Hq(this.C,a?1:0)};function kN(a,b,c,d){a.aa=b;a.S=b.B-1;a.N.start();lN(a);a.Jb.load(c,b,a.Ja,d);ZM(a.Yc,b,c)} function lN(a){if(null==a.aa)throw Error("setPhoto must be called before updateDom_.");Aq(a.C,a.A,a.A);var b=a.aa.A[a.S],b=XK(b)/YK(b);a.H=new K(Math.min(1,b),Math.min(1,1/b));var b=a.A*a.H.width,c=a .A*a.H.height;Aq(a.X,b,c);a.Kb.trigger();c=(a.A-c)/2;a.X.style.marginTop=c+"px";b=(a.A-b)/2;a.X.style.marginLeft=b+"px";a.ha=new QK(Math.round(b),Math.round(c));b=a.L;a=a.A;b.L||(b.L=new yw(b.F,null),b.L.C=!0,x(b,b.L),V(b).listen(b.L,["start","drag","end"],b.na));b.N=a-60;Aw(b.L,new Yp(0,0,b.N,0))} function mN(a,b,c,d,e){null!=a&&(a.style.margin=c+"px 0 0 "+b+"px",a.style.width=d+"px",a.style.height=e+"px")};ba("MicroscopeResizeMode",{WG:"fixed",KH:"scale"},void 0);function nN(a,b,c,d){this.x=t his.x=a;this.y=this.y=b;this.z=this.A=c;this.size=this.size=n(d)?d:null}ba("MicroscopeState",nN,void 0);ba("MicroscopeSize",K,void 0);function oN(a){return 1-Math.pow(1-a,3)};function pN(a){this.A=null;this.B=a;this.D=Id}function qN(a){a=a.D(a.B.A);return new K(a.width,a.height)}function rN(a){return ZK(a.A,qN(a))}function sN(a,b,c){var d=Math.max(0,(1-c)/2,0);c=.5-d;d=.5+d;retur n b>a&&a<c?Math.min(b,c):b<a&&a>d?Math.max(b,d):a};function tN(a,b,c,d,e){B.call(this);this.V=a;this.X=b;this.I=c;this.aa=d;this.fa=n(e)?e:!0;this.D=null;this.A=0;this.B=new QK(.5,.5);this.ba=this.C= null;this.N=this.R=0;this.S=LL(this.I);this.sa="fixed";this.L=!1;this.$=null;this.F=new M(this);x(this,this.F);this.W=new ze(100);x(this,this.W);this.H=new pN(c);this.F.listen(this.V,"zoom",this.JC); this.F.listen(this.V,"level_change",this.BA);this.F.listen(this.V,"view_move",this.xC);this.F.listen(this.V,"drag_move",this.Jz);this.F.listen(this.V,"throw", this.oC);this.F.listen(this.I,"resize",this.cD);this.F.listen(this.W,"tick",this.Ss)}v(tN,B);function uN(a,b,c){a.H.A=b;if(c){var d=a.A;a.A=ZK(b,$K(a.D,a.A));d=a.A-d;a.N+=d;a.R+=d}else a.B.x=.5,a.B.y=.5,a.A=0,a.C=null,a.W.start();a.D=b;b=a.X;d=rN(a.H);b.I=d;b.S>b.I||b.setVisible(!1);c?a.C?vN(a,a.A):wN(a,a.A,0):(a.A=0,wN(a,rN(a.H),0))} function xN(a,b,c){var d=qN(a.H);if("fill"==c){c=a.D;var e=c.A[c.A.length-1],e=XK(e)/YK(e),g=d.width/d.height,d=ZK(c,new K(e<=g?d.width:Number.MAX_VALUE,e>g?d.height:Number.MAX_VALUE))}else d=ZK(a.D,d);wN(a,d,b?void 0:0)}function yN(a,b,c,d){var e=a.I.A,g=b.A;b.size&&(g=ZK(a.D,new K(e.width/b.size.width,e.height/b.size.height)));g=zN(a,g);d?wN(a,g,c,d):0>=c?(AN(a),a.A=g,BN(a,b.x,b.y),w N(a,a.A,0)):CN(a,new QK(b.x,b.y),g,c)}f=tN.prototype; f.getState=function(){var a=$K(this.D,this.A),b=this.I.A;return new nN(this.B.x,this.B.y,this.A,new K(b.width/a.width,b.height/a.height))};function DN(a,b,c){c?BN(a,b.x,b.y):(a.B.x=b.x,a.B.y=b.y);EN( a,!0);FN(a)}function GN(a,b,c,d){var e=a.R+b;1==Math.abs(b)&&(e=Math.round(e));e=zN(a,e);AN(a);e!=a.A&&wN(a,e,c?void 0:0,d)} function wN(a,b,c,d){a.ba=n(d)?d:null;AN(a);!a.fa||n(c)&&0>=c?(a.R=b,vN(a,b,a.ba)):(a.R=b,a.N=a.A,a.C=new iw([void 0,void 0,0],[void 0,void 0,1],c||600,oN),x(a,a.C),a.F.listen(a.C,"animate",a.gq),ml( a.F,a.C,"end",a.fq),a.C.play())}function CN(a,b,c,d){AN(a);a.N=a.A;a.R=null!=c?c:a.A;c=a.A!=a.R;a.C=new iw([a.B.x,a.B.y,c?0:void 0],[b.x,b.y,c?1:void 0],d||500,oN);x(a,a.C);a.F.listen(a.C,"animate",a .gq);ml(a.F,a.C,"end",a.fq);a.C.play()} f.cD=function(){if(this.D){var a=0;if(this.S&&"scale"==this.sa)var a=LL(this.I),b=$K(this.D,this.A),a=ZK(this.D,new K(a.width/this.S.width*b.width,a.height/this.S.height*b.height))-this.A;this.S=LL(t his.I);var b=this.X,c=rN(this.H);b.I=c;b.S>b.I||b.setVisible(!1);GN(this,a,!1);HN(this);FN(this)}};f.xC=function(a){DN(this,a.position,!0)};f.oC=function(a){if(null!=a.D){var b=$K(this.D,this.A);CN(t his,new QK(this.B.x-a.D.x/b.width,this.B.y-a.D.y/b.height))}else AN(this)}; f.JC=function(a){GN(this,a.D,4!=a.I,a.F)};f.BA=function(a){var b=zN(this,a.F);wN(this,b,a.D?void 0:0,a.I)};f.Jz=function(a){if(null==this.D)throw Error("Cannot change offset. No tileInfo present.");if(null==this.C){var b=$K(this.D,this.A);DN(this,new QK(this.B.x-a.D.x/b.width,this.B.y-a.D.y/b.height),!0)}};f.gq=function(a){var b=this.A;null==a.D||isNaN(a.D)||(b=this.N,b=zN(this,b+a. D*(this.R-b)));vN(this,b,this.ba);null==a.x||isNaN(a.x)||null==a.y||isNaN(a.y)||DN(this,new QK(a.x,a.y),!0)}; f.fq=function(){this.R=this.A;this.ba=this.C=null};function zN(a,b){return wi(b,rN(a.H),a.D.B-1)}f.Ss=function(){var a=this.getState(),b=this.$,b=!(null!=b!=(null!=a)?0:b==a||b.x==a.x&&b.y==a.y&&b.A= =a.A&&Ci(b.size,a.size));this.$=a;EN(this,b)};function EN(a,b){var c=a.L;a.L=b;c!=a.L&&FN(a)} function vN(a,b,c){if(null!=c){var d=a.I.A,e=$K(a.D,b),g=(c.x-d.width/2)/e.width,d=(c.y-d.height/2)/e.height,e=IN(a,a.A),h=$K(a.D,a.A),k=(c.y-e.y)/h.height;a.B.x=(c.x-e.x)/h.width-g;a.B.y=k-d}a.A=zN( a,b);c=a.X;c.Sd=a.A;b=c.L;c=(c.Sd-c.I)/(c.S-c.I);c=Math.max(Math.min(c,1),0);null==b.ha&&(b.ha=Kq(b.A));b.ha?b.F.style.marginRight=b.N*c+"px":b.F.style.marginLeft=b.N*c+"px";HN(a);EN(a,!0);FN(a)} function FN(a){var b=$K(a.D,a.A),c=IN(a,a.A),d=a.I.A;a.U(new xM(-(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.L));b=IN(a,0);c=$K(a.D,a.A);a.aa.D. I=a.L;UM(a.aa,b.x,b.y,c,a.A)}function AN(a){null!=a.C&&(a.C.stop(!1),a.C=null)}function IN(a,b){var c=$K(a.D,b),d=a.I.A,d=new QK(d.width/2-c.width*a.B.x,d.height/2-c.height*a.B.y),e=$K(a.D,a.A);d.x+= a.B.x*(c.width-e.width);d.y+=a.B.y*(c.height-e.height);return d} function BN(a,b,c){var d=a.B.x,e=a.B.y;a.B.x=b;a.B.y=c;HN(a,d,e)} function HN(a,b,c){var d,e=a.H;d=a.getState();var g=d.x,h=d.y,k=$K(e.A,d.A),m=e.B.A,g=sN(g,null!=b?b:g,m.width/k.width),h=sN(h,null!=c?c:h,m.height/k.height);c=qN(e);b=c.width/k.width;var m=c.height/k.height,p=e=0;b>m?e=Math.max((b-m)/2,0):p=Math.max((m-b)/2,0);k=h+Math.max(-.5,-m/2+p);c=g+Math.min(.5,b/2-e);m=h+Math.min(.5,m/2-p);b=g+Math.max(-.5,-b/2+e);0>b?g-=b:1<c&&(g+=1-c);0>k?h -=k:1<m&&(h+=1-m);d=new nN(g,h,d.A);a.B.x=d.x;a.B.y=d.y};function JN(a,b,c){w.call(this);this.na="WebKitCSSMatrix"in window&&b.Uw;this.ha=c||null;this.X=new nM(b.Pn);x(this,this.X);this.L=new PL(this.X,100);x(this,this.L);this.C=this.kn(a);x(this,this.C);this.S=this.sa=this.N=this.H=null;this.aa=!1;this.V=new M(this);x(this,this.V);this.R=new KL(this.C.B);a=this.C;b=this.R;null===a.F||wd (a.C);a.C=nd(b,"resize",t(a.R,a));a.F=b;x(this,this.R);this.F=new zM(this.R);x(this,this.F);this.B=new hN(t(this.kn,this),this.L);x(this,this.B);this.ba=this.$=this.I=this.D= this.A=null;this.W=[];this.B.ga(this.C.B);this.F.ga(this.C.B);this.$=new YM(this.L);this.I=new SM(this.R,this.C,this.$,t(this.aD,this));x(this,this.I);a=new IL(this.ha||this.F);a.B=!0;a.B=!0;a.H=!0;a .I=!0;a.F=!0;a.C=!0;a.D.push(this.B);b=[];c=null;a.I&&(c=new GL(a.A),b.push(c));var d=null;a.C&&(d=new zL,b.push(d));a.F&&b.push(new BL(a.A));if(a.B){var e=new xL(a.A);b.push(e);a.H&&(e=new DL(e),b.push(e))}this.D=new HL(b,a.D,c,d);x(this,this.D);this.A=new tN(this.D,this.B,this.R,this.I);x(this,this.A); this.V.listen(this.A,"viewport_update",this.jE);this.V.listen(this.I,"tile_loaded",this.bD);this.V.listen(this.D,"drag_start",t(this.F.C,this.F,!0));this.V.listen(this.D,"drag_end",t(this.F.C,this.F, !1));this.V.listen(this.D,["drag_start","drag_hover","zoom"],this.Ba);OM(this.C)}v(JN,w);function KN(a,b,c,d){a.H&&a.H.dispose();a.H=new vM(b,function(a){LN(this,a,b,c,d);this.N&&this.N(!0)},function (){this.N&&this.N(!1)},function(){},a);a.H.load()} function MN(a,b){jN(a.B,t(function(){b(this.A.getState())},a))}function LN(a,b,c,d,e){if(null==a.I)throw Error("Internal error: this.pyramid_ is null.");if(null==a.A)throw Error("Internal error: this.viewportController_ is null.");e=!!e&&null!=a.ba;a.ba=b;a.L.clearAll();Lb(a.W,function(a){RL(this.L,a.B,a,0)},a);a.W=[];a.aa=!1;a.R.trigger();a.I.load(c,b,a.C,e);ZM(a.$,b,c);kN(a.B,b,c,e );uN(a.A,b,e);e||(null!=d?yN(a.A,d,0):xN(a.A,!1,void 0))}f=JN.prototype;f.kn=function(a){return new NM(a,this.L,this.na)}; f.aD=function(){this.fa&&this.fa()}; f.jE=function(a){var b=this.X,c=!a.D;c!=b.B&&(c?(b.B=c,b.A.isEmpty()||pM(b)):b.B=c);b=this.B;if(null==b.aa)throw Error("setPhoto must be called before onViewportUpdated.");var d=b.$.width*b.H.width,e =b.$.height*b.H.height,g=d-2,h=e-2,c=Math.min((a.right-a.left)*d,(a.bottom-a.top)*e);b.F=0<c?Math.max(1,20/c):1;var c=wi(a.left*d,0,g),k=wi(a.top*e,0,h),m=wi(a.right*d,0,g),p=wi(a.bottom*e,0,h);a=m-c ;var r=p-k,z=(b.F-1)*a,C=(b.F-1)*r,d=c/(c+d-m),e=k/(k+e-p),F,J;F=Math.floor(wi(c-z*d-2,0,g));J=Math.floor(wi(k- C*e-2,0,h));g=Math.ceil(wi(m+z*(1-d)-1,0,g));m=Math.ceil(wi(p+C*(1-e)-1,0,h));h=g-F;m-=J;p=ZK(b.aa,new K(b.F*b.H.width*b.A,b.F*b.H.height*b.A));b.za=new QK(-(c+a*d)*(b.F-1),-(k+r*e)*(b.F-1));UM(b.Jb, Math.round(b.za.x),Math.round(b.za.y),new K(b.A*b.H.width*b.F,b.A*b.H.height*b.F),p);F+=b.ha.x;g+=b.ha.x;J+=b.ha.y;mN(b.zc,F,J,h,m);mN(b.W[0],0,0,b.$.width,J);mN(b.W[1],0,J,F,m+2);mN(b.W[2],g+2,J,b.$ .width-(F+h)-2,m+2);mN(b.W[3],0,J+m+2,b.$.width,b.$.height-(J+m)-2);this.sa&&this.sa(this.A.getState())}; f.bD=function(a){null!=this.S&&0==a.D&&this.S&&!this.aa&&(setTimeout(this.S,0),this.aa=!0)};f.Ba=function(){iN(this.B)};f.Z=function(){this.H&&(this.H.dispose(),this.H=null);JN.O.Z.call(this)};functi on NN(a,b,c){var d={Pn:!1,Uw:!1};ma(b)?d=b:n(b)&&(d.Pn=b);this.A=new JN(a,d,c)}ba("Microscope",NN,void 0);NN.prototype.aa=function(a,b,c){KN(this.A,new oL(a),b,c)};ba("Microscope.prototype.LoadImage" ,NN.prototype.aa,void 0);NN.prototype.sa=function(a,b,c){KN(this.A,new jL(a,b,c))};ba("Microscope.prototype.LoadSingleImage",NN.prototype.sa,void 0);NN.prototype.C=function(a,b,c){yN(this.A.A,a,null! =b?b:500,c)};ba("Microscope.prototype.AnimateTo",NN.prototype.C,void 0);NN.prototype.B=function(){return this.A.A.getState()}; ba("Microscope.prototype.GetState",NN.prototype.B,void 0);NN.prototype.F=function(){var a=this.A;if(null==a.ba)throw Error("Cannot get image metadata before image has been loaded.");return new qL(a.ba,rN(a.A.H))};ba("Microscope.prototype.GetImageMetadata",NN.prototype.F,void 0);NN.prototype.fa=function(a){MN(this.A,a)};ba("Microscope.prototype.SetAddToCollectionCallback",NN.prototype. fa,void 0);NN.prototype.ha=function(a){this.A.N=a};ba("Microscope.prototype.SetLoadCallback",NN.prototype.ha,void 0); NN.prototype.S=function(a){this.A.sa=a};ba("Microscope.prototype.SetStateChangeCallback",NN.prototype.S,void 0);NN.prototype.N=function(a){this.A.S=a};ba("Microscope.prototype.SetRenderableCallback", NN.prototype.N,void 0);NN.prototype.Lc=function(a){this.A.fa=a};ba("Microscope.prototype.SetRenderedCallback",NN.prototype.Lc,void 0);NN.prototype.L=function(a){this.A.A.H.D=a};ba("Microscope.prototy pe.SetMinimumSizeCallback",NN.prototype.L,void 0); NN.prototype.W=function(a){var b=this.A.B;b.L.Va().style.display=1==a?"none":"";b.L.Va().style.borderWidth=2==a?"1px":"";b.Ha.style.display=2==a?"none":"";b.C.style.display=3==a?"none":""};ba("Micros cope.prototype.SetZoomWidgetVisibility",NN.prototype.W,void 0); NN.prototype.ba=function(a,b){var c=this.A.B;c.A=Math.max(100,b);c.$=new K(c.A,c.A);var d={bottom:"",left:"",right:"",top:""};a.left||a.right||(a.left=c.Wa.x);a.left?d.left=a.left+"px":a.right&&(d.ri ght=a.right+"px");a.top||a.bottom||(a.top=c.Wa.y);a.top?d.top=a.top+"px":a.bottom&&(d.bottom=a.bottom+30+"px");fq(c.C,d);null!=c.aa&&lN(c)};ba("Microscope.prototype.SetZoomWidgetLayout",NN.prototype. ba,void 0);NN.prototype.I=function(a,b){xN(this.A.A,a||null==a,b)}; ba("Microscope.prototype.Maximize",NN.prototype.I,void 0);NN.prototype.X=function(){DN(this.A.A,new QK(.5,.5))};ba("Microscope.prototype.Center",NN.prototype.X,void 0);NN.prototype.R=function(){this. A.R.trigger()};ba("Microscope.prototype.ResizeViewport",NN.prototype.R,void 0);NN.prototype.na=function(a){this.A.A.sa=a};ba("Microscope.prototype.SetResizeMode",NN.prototype.na,void 0); NN.prototype.V=function(a,b){var c=this.A.D;if(c.A){var d=c.A;a?$r(d.B,b||document):fs(d.B)}if(c.B){c=c.B;d=b||document;if(!a||c.D&&d!=c.D)c.F.wa(c.D,"keydown",c.I),c.F.wa(c.D,"keyup",c.R);a?(c.D=d,c .F.listen(c.D,"keydown",c.I),c.F.listen(c.D,"keyup",c.R)):(c.D=null,c.C.stop())}};ba("Microscope.prototype.SetGlobalKeyEventsActive",NN.prototype.V,void 0);NN.prototype.Ua=function(a){var b=this.A.D;b.A&&(b.A.R=a)};ba("Microscope.prototype.SetScrollEventsActive",NN.prototype.Ua,void 0); NN.prototype.$=function(a){TM(this.A.I,a)};ba("Microscope.prototype.EnableFadeInTiles",NN.prototype.$,void 0);NN.prototype.D=function(){this.A.Ba()};ba("Microscope.prototype.Activate",NN.prototype.D, void 0);NN.prototype.H=function(){Fb(this.A)};ba("Microscope.prototype.Dispose",NN.prototype.H,void 0);function ON(a){B.call(this);this.R=a;this.D=this.A=this.C=this.H=this.I=this.B=null;this.F=new M(this);x(this,this.F);this.F.listen(a,"touchstart",this.L).listen(a,"touchend",this.V)}v(ON,B);ON.prototype.J=function(){return this.R};ON.prototype.L=function(a){var b=a.A.touches;1==b.length?(thi s.B=a.target,this.I=u(),this.H=new I(b[0].pageX,b[0].pageY)):this.B=null}; ON.prototype.V=function(a){var b=a.A.touches;a=a.A.changedTouches;if(null!=this.B&&0==b.length&&1==a.length&&(b=new I(a[0].pageX,a[0].pageY),a=u()-this.I,20>=Ai(b,this.H)&&300>=a))a:{a=this.B;if(null !=this.A&&this.C==a){var c=u()-this.A;if(50>=Ai(b,this.D)&&300>=c){this.D=this.A=null;this.U(new PN(a,b.x,b.y));break a}}this.C=a;this.A=u();this.D=b;this.U(new QN(a,b.x,b.y))}};function RN(a,b,c,d){y.call(this,a);this.D=b;this.clientX=c;this.clientY=d}v(RN,y); function QN(a,b,c){RN.call(this,"$a",a,b,c)}v(QN,RN);function PN(a,b,c){RN.call(this,"ab",a,b,c)}v(PN,RN);function SN(){this.B=this.A=null;this.D=0}function TN(a,b,c){a.A=b;a.B=c;a.D=.001*Math.abs(a. B-a.A)}function UN(a,b){if(null===a.B)return!1;var c;c=a.A;var d=a.B;mp(d>c?new kp(d,d+a.D):new kp(d,d-a.D),b)?(a.A=b,c=1):mp(new kp(c,d),b)?(a.A=b,c=0):c=2;switch(c){case 2:return a.A=null,a.B=null, a.D=0,!1;case 1:return a.A=null,a.B=null,a.D=0,!0;default:return!0}};var VN=!1;function WN(a,b){var c=Iz("",{target:"_blank",noreferrer:!0});if(c){var d=kn(R("<html><head>"+R("<title>"+Cn(a)+"</title >")+"</head><body></body></html>"));c.document.open();c.document.write(ji(d));d=c.document.createElement("DIV");Ki(d,b);c.document.body.appendChild(d);c.document.close();c.focus();c.print();D(functio n(){c.close();c.closed||c.close()},100)}} function XN(a,b,c){if(!VN){VN=!0;var d=kn(R("<title>"+Cn(b)+"</title>")),e=Qh(),g=aB(a,d,c,e);(c=Ri(document,"img",void 0,g.contentDocument.body)[0])&&!c.complete?nd(c,"load",function(){YN(a,g,b)}):Y N(a,g,b)}}function YN(a,b,c){var d=Mi(a).A,e=d.title;d.title=c;D(function(){b.contentWindow.print();hj(b);d.title=e;VN=!1})}function ZN(a){Iz(a,{target:"_blank",noreferrer:!0})};function $N(){return R('<div class="drive-viewer-itemview"><div class="drive-viewer-image drive-viewer-focus-to-default"></div><div class="drive-viewer-microscope"></div></div>')};function aO(a,b){ju.call(th is,a,b);this.C=a;this.N=this.H=this.F=this.W=null;this.L=!1;this.S=null;this.X=new SN;this.$=0;var c=hz(this.A);c&&V(this).listen(c,"pa",this.lu);(c=this.C.B)&&V(this).listen(c,JJ.hj,this.mu).listen( c,JJ.Vg,this.ou).listen(c,JJ.ts,this.IC)}v(aO,ju);var bO={IMAGE:"drive-viewer-image",qm:"drive-viewer-image-img",Wr:"drive-viewer-microscope",tI:"drive-viewer-image-zoom-in"};f=aO.prototype; f.ea=function(){var a=this.B;this.D=P($N,void 0,void 0,a);this.H=U(this,bO.IMAGE);this.N=U(this,bO.Wr);T(this.N,!1);a.Ya(this.H,!0)};f.Y=function(){aO.O.Y.call(this);var a=new ON(this.J());x(this,a); iz(this.A).El(a);this.C.D&&cO(this);V(this).listen(this.C,UJ.LOADED,this.nA);this.C.C||ml(V(this),this.C,UJ.as,this.iB)};f.Lh=function(){return this.H}; f.Ba=function(){if(!this.I){aO.O.Ba.call(this);this.layout();this.C.D&&!this.L&&uu(this);var a=qu(this.A),b=Dc?hr.xd:hr.wd;ru(a,[70,b],this.ju,this);ru(a,[37,b],t(this.di,this,37),this);ru(a,[39,b],t (this.di,this,39),this);ru(a,[38,b],t(this.di,this,38),this);ru(a,[40,b],t(this.di,this,40),this)}};f.ab=function(){aO.O.ab.call(this);dO(this);vu(this)}; f.layout=function(){if(this.C.D)if(this.L)this.F.R(),eO(this),fO(this);else{var a=ZJ(this.C);a.complete?this.Vq():ml(V(this),a,"load",this.Vq);(a=gO(this))&&!hO(this)&&iO(this);!a&&hO(this)&&this.C.B .setEnabled(!1)}};f.Vq=function(){var a=ZJ(this.C),a=new K(a.naturalWidth,a.naturalHeight),b=du(this);Di(a,b)||Fi(a,b);Aq(this.H,a);mq(this.H,iu(this,a))};f.nA=function(){cO(this)}; function cO(a){if(!a.F){a.Ge(!0);if(gO(a)&&(iO(a),a.C.B.F))return;var b=a.B,c=Qi(bO.qm,a.H||b.A),d=0<c.length,e=ZJ(a.C);S(e,bO.qm);S(e,"drive-viewer-focus-to-default");var g="Displaying "+to(a.C);Ak(e,g);zk(e,!0);tk(a.H,g);ok(a.H,"img");d?(vu(a),b.Wk(e,c[c.length-1]),a.S=dC(e,.218),ml(V(a),a.S,"end",a.iu),a.S.play()):(a.layout(),Hj(a.H,e,0),uu(a))}}function jO(a){a.C.C||a.C.U("Xa") }f.io=function(){var a=this.C.Da;OK(this.C.ub())&&a&&a.ra()&&SA(this.C)?this.ho():jO(this)}; f.ho=function(){var a=this.C.Da.ra(),b=a.B;if(1==b){var a=a.aa.thumbnailLink,b=this.C.Da.B,c=Ei($J(this.C),2);cn(a)&&b&&Di(c,b)?this.F&&(kO(this),b=He(a)+Ge(Fe(a)[5]||null),PK(a),a=new eL(b),KN(this.F.A,new hL(a),void 0,!0)):jO(this)}else 3==b?jO(this):ml(V(this),this.C,"n",this.ho)};f.iu=function(){for(var a=this.B,b=Qi("drive-viewer-image-img",this.H||a.A),c=0;c<b.length-1;c++)a .Sa(b[c]);Fb(this.S);this.S=null;uu(this,!0)}; function gO(a){if(!tg(L(a.A)))return!1;var b=$J(a.C),c=du(a);if(OK(a.C.ub()))return a=2*b.width,b=2*b.height,(512<a||512<b)&&(a>=c.width||b>=c.height);a=a.C.R;return(512<a.width||512<a.height)&&(b.wi dth>=c.width||b.height>=c.height)} function iO(a){if(!a.W&&(a.W=new Uq(a.J()),x(a,a.W),V(a).listen(a.W,"mousewheel",a.ku).listen(a.H,"dblclick",a.Sk),a.A.Oa()))if(aK(a.C)||OK(a.C.ub()))a.C.B.F=!0,lO(a),ml(V(a),a.C.B,"Va",a.io);else{va r b=new ON(a.H);x(a,b);V(a).listen(b,"ab",a.Sk)}a.C.B.setEnabled(!0)}f.ku=function(a){0>=a.deltaY&&!this.L&&hO(this)&&(a.preventDefault(),a.B(),this.Sk(a))}; f.OA=function(a){var b=0==ug(L(this.A)),c=Pp(lj(a.target),"drive-viewer-microscope");if(b&&!this.A.Oa()&&this.L&&c){var c=this.F.B(),d=Dq(this.N),b=((a.clientX-this.N.offsetLeft)/d.width-.5)*c.size.w idth+c.x,c=((a.clientY-this.N.offsetTop)/d.height-.5)*c.size.height+c.y;(0>b||1<b||0>c||1<c)&&this.U(new y("B",a.target))}LC(au(this.A))};f.ou=function(a){if(a.source!=this){a=this.C.B.cg();var b=this.F.B();TN(this.X,b.A,a);a=new nN(b.x,b.y,a);this.F.D();this.F.C(a)}}; f.mu=function(){var a=this.C.B,b=a.A;b==KJ.ACTIVATING?this.L||a.F||hO(this)&&(this.F?mO(this):lO(this)):b==KJ.Zd&&dO(this)};f.IC=function(){this.L&&fO(this)};f.di=function(a){if(this.L){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.F.B();this.F.C(new nN(wi(a.x+b,0,1),wi(a.y+c,0,1),a.A))}};f.Sk=function(a){var b=this.C.B.A;hO(th is)&&b==KJ.Zd&&LJ(this.C.B,1,pr(a))};function hO(a){return!!a.C.B&&a.C.B.isEnabled()} function lO(a){var b=a.N,c=hu(a.A);a.B.Ya(b,!0);tk(b,"Displaying higher resolution of "+to(a.C));a.F=new NN(b);a.F.V(!0);a.F.L(function(a){return new K(Math.max(a.width-JE(c),0),Math.max(a.height-KE( c),0))});b=Kq(a.J());a.F.ba(b?{top:60,left:60}:{top:60,right:60},150);fO(a);a.F.S(t(a.PA,a));LJ(a.C.B,1);V(a).listen(a.N,"click",a.OA);a.F.N(t(a.qu,a));nO(a);a.C.B.F||a.io();a.C.H=!0;nu(a)}function fO(a){var b=1;if(a.C.B.V||450>Vi(Fj(a.B)).height)b=3;a.F.W(b)} function mO(a){a.oa&&!a.L&&oO(a,!0);a.layout()}function dO(a){!a.L||a.C.B&&a.C.B.F||(TN(a.X,a.F.B().A,a.F.F().A),a.F.I(!1),oO(a,!1),a.C.H=!1,a.layout())}f.PA=function(a){if(a.A!=this.$){var b=a.A>this.$;this.$=a.A;eO(this);UN(this.X,a.A)||(OJ(this.C.B,a.A,this),pO(this.C.V,b,10,!0))}};f.qu=function(){mO(this)};function oO(a,b){var c=b?a.N:a.H,d=b?a.H:a.N;T(c,!0);T(d,!1);Gj(a.B)==d&&Pu( au(a.A),c);b&&(a.F.D(),eO(a));a.L=b;LJ(a.C.B,b?2:0)}f.iB=function(){this.oa&&nO(this)}; function kO(a){if(OK(a.C.ub())){if(a.C.D){var b=aK(a.C)||WJ(a.C),c=ZJ(a.C);a.F.A.W.push(new lM(b,c))}a.C.C&&(b=dK(a.C)||YJ(a.C),c=cK(a.C),a.F.A.W.push(new lM(b,c)))}} function nO(a){if(a.F){var b=aK(a.C)||WJ(a.C),c=$J(a.C);(aK(a.C)||OK(a.C.ub()))&&Ei(c,2);kO(a);var d=a.C;if(d.D&&!d.C)b=new hL(new jL(b,c.width,c.height)),KN(a.F.A,b,void 0,void 0);else if(d=a.C,d.D&&d.C){var d=dK(a.C)||YJ(a.C),e=cK(a.C),g=e.naturalWidth,h=e.naturalHeight,e=new K(g,h),g=new K(Math.max(g,c.width),Math.max(h,c.height));Ei(e,e.width/e.height<=g.width/g.height?g.width/ e.width:g.height/e.height).ceil();b=new hL(new jL(d,e.width,e.height,b,c.width,c.height));KN(a.F.A,b,void 0,a.L)}eO(a)}} function eO(a){var b=a.F.F();b.A>=b.B?dO(a):NJ(a.C.B,new kp(b.A,b.B))}f.lu=function(){this.L&&D(function(){this.layout()},200,this)};f.ti=function(){return!0}; f.Fi=function(){var a,b=Am(window.top.location.href,YJ(this.C)).toString();a=a||{};var c=R,d='<div style="'+(a.Ea?"/*"+a.Ea+"*/":"")+'width:100%; height:99%; position:absolute"><img src=',b=Qn(b),b=tn(b,dn)?String(Fn(b.getContent())).replace($n,Wn):String(b).replace(Zn,Wn);a=c(d+b+' style="'+(a.Ea?"/*"+a.Ea+"*/":"")+'max-width:100%; max-height:99%" /></div>');a=kn(a);c=this.J() ;d=to(this.C);xc||A||Ye?WN(d,a):XN(c,d,a);Pu(au(this.A),this.J())};f.ju=function(a){a.preventDefault()}; f.Z=function(){this.F&&(this.F.H(),this.F=null,this.C.H=!1);this.C.B&&LJ(this.C.B,0);aO.O.Z.call(this)};function qO(a,b){gp.call(this,b||"i",a)}v(qO,gp);f=qO.prototype;f.nb=function(a){return hh(a)+bh(a)+(dh(a)?dh(a):ch(a))};f.Cb=function(a){return!!bh(a)&&(!!dh(a)||!!ch(a))};f.Eb=function(){var a=["application/vnd.google-apps.form","application/vnd.google-apps.freebird","application/vnd .google-apps.drawing","image/"],b=bc(GJ.A);cc(a,AJ(b));zg(L(this.A))||a.push("application/vnd.google-apps.spreadsheet");return a};f.xb=function(){return TJ};f.rc=function(){return aO};f.$b=function() {return KK}; f.bo=function(){return SJ};f.qk=function(){return tg(L(this.A))?IJ:null};function OK(a){a=L(a.A);var b;if(b=3==Og(a))b=null==G(a,67)?!0:G(a,67);return b};function rO(a){qO.call(this,a,"i_d")}v(rO,qO) ;rO.prototype.nb=function(a){return hh(a)+gh(a)};rO.prototype.Cb=function(a){return!!bh(a)&&(!!dh(a)||!!ch(a))&&!!gh(a)};rO.prototype.tc=function(){return[0]};function sO(a,b){so.call(this,a,b,0);thi s.D=!1}v(sO,so);function tO(a,b){yv.call(this,a,b);this.item=a}v(tO,yv);tO.prototype.oe=function(){Bo(this.item,2);this.A.get(Oy).D().then(t(this.D,this),t(this.B,this))};tO.prototype.B=function(){Bo (this.item,4,"There was a problem displaying this maps file.")};tO.prototype.D=function(){var a=this.item;a.D||(a.D=!0,a.U("bb"))};function uO(){return R('<div class="drive-viewer-maps drive-viewer-itemview"></div>')};function vO(a,b){ju.call(this,a,b);this.C=a;this.H=this.L=this.N=this.F=null;L(this.A)}v(vO,ju);f=vO.prototype;f.ea=function(){this.D=P(uO,null,void 0,this.B)};f.Y=function(){vO.O.Y.call(this);this.N=this.J();this.C.D?(Bo(this.C,2),this.on()):V(this).listen(this.C,"bb",this.on)}; f.on=function(){this.F=this.A.get(Oy).B();var a={zoom:2,center:new this.F.LatLng(0,0),mapTypeId:this.F.MapTypeId.ROADMAP};this.L=new this.F.Map(this.N,a);a={};a.layer="docs://"+encodeURIComponent(gh( this.C.A));this.H=new this.F.KmlLayer(a.layer);a=this.C.A;(a=(null==G(a,34)?"":G(a,34))||null)&&this.H.set("token",a);this.F.event.addListener(this.H,"status_changed",t(this.AA,this));this.H.setMap(t his.L);eu(this.A).listen("resize",t(this.layout,this))};f.Ba=function(){this.layout()}; f.layout=function(){var a=du(this);Aq(this.N,a);mq(this.N,iu(this,a));this.F.event.trigger(this.L,"resize");this.H.setMap(this.L)};f.AA=function(){if(this.H.getStatus()!=this.F.KmlLayerStatus.OK){var a=eu(this.A),b=t(this.layout,this);a.qc.remove("resize",b,void 0,void 0);Bo(this.C,4,"There was a problem displaying this maps file.")}else 2==this.C.getState()&&Bo(this.C,1)};f.va=function(){vO.O.v a.call(this);Bo(this.C,0)};function wO(a){gp.call(this,"m",a)}v(wO,gp);f=wO.prototype;f.nb=function(a){return hh(a)+gh(a)};f.Cb=function(a){return!!bh(a)&&!!gh(a)};f.Eb=function(){return AJ(bc(HJ.A))};f.tc=function(){return[0,3]};f.xb=function(){return sO};f.rc=function(){return vO};f.$b=function(){return tO};function xO(a){this.A=a;this.V=W(a);this.I=ke();this.C=!1;null!=this.B()&& (this.C=!0,this.R())}v(xO,w);xO.prototype.D=function(){if(!this.C){this.C=!0;var a=W(this.A);ta(this.H(),t(this.R,this),Fj(a));uD(this.F(),{timeout:3E4,document:a.A}).then(void 0,function(){this.I.B( )},this)}return this.I.D};xO.prototype.R=function(){this.I.A(this.B())};xO.prototype.Z=function(){this.C&&ba(this.H(),null,Fj(this.V))};function yO(a){xO.call(this,a)}v(yO,xO);yO.prototype.H=function (){return"onMapsApiReady"};yO.prototype.F=function(){var a=wf(L(this.A),bg,68);return(null==G(a,2)?"":G(a,2))+"&callback=onMapsApiReady"};yO.prototype.B=function(){return ca("google.maps",Fj(W(this.A )))};yO.prototype.D=function(){return wa(this.F(),"https://maps.googleapis.com/")?yO.O.D.call(this):ge()};function zO(a){B.call(this);this.F=a;this.B=(a=(this.A=wf(a.A,Pg,26))?wf(this.A,Rg,1):null)?n ew K(G(a,2),G(a,1)):null;this.C=this.A?Number(Qg(this.A)):null;this.A&&(a=this.A,null==G(a,2)||G(a,2));this.D=null}v(zO,B);zO.prototype.Pb=function(){return this.F};zO.prototype.ra=function(){return this.D};function AO(a,b){w.call(this);this.A=a;this.F=this.D=0;this.H=this.R=null;this.C=ov(b);this.B=rx(b);this.I=new M(this);x(this,this.I);this.I.listen(this.A,"Qa",this.V)}v(AO,w);AO.prototype.V =function(a){var b=this.A.B.A,c="za_"+this.A.getId();a=a.qa;switch(b){case 1:a&&Tv(this.B,c,{ka:70,qa:a,item:this.A,Ic:this.D});this.D++;break;case 2:this.B.A[c]?$v(this.B,c,1):n(a)&&(nv(this.C,{ka:7 0,qa:a,item:this.A,Ic:this.D}),this.D++);break;case 0:this.B.A[c]&&$v(this.B,c,3),n(a)&&nv(this.C,{ka:71,qa:a,item:this.A})}}; function pO(a,b,c,d){E(a.H);var e=b?1:2;if(d){if(a.H=D(function(){this.F=0},500,a),a.F==e&&a.R==c)return}else e=0;a.F=e;a.R=c;nv(a.C,{ka:b?12:13,qa:c,item:a.A})}AO.prototype.Z=function(){E(this.H);va r a="za_"+this.A.getId();this.B.A[a]&&$v(this.B,a,3)};function BO(a,b){this.A=a;this.B=b}v(BO,w);function CO(a,b){var c;c=kh(b);var d=lh(b);a:{var e=a.B,g=e.A[c],g=g?g[d]||g[null]:null;if(!g){g=e.A[c .substring(0,c.indexOf("/")+1)];if(!g){c=null;break a}g=g?g[d]||g[null]:null}c=g}return(c=c&&c.sh()?c:null)&&c.Cb(b)?c:ch(b)?0==lh(b)?a.B.B.i_d:a.B.B.i:a.B.B.u}function DO(a,b){return CO(a,b).nb(b)};function EO(a,b,c){this.H=a||null;this.C=!!b;this.F=c;this.B=new wl;this.A=new FO("",void 0);this.A.next=this.A.A=this.A}function GO(a,b){var c=a.B.get(b);c&&a.C&&(c.remove(),HO(a,c)) ;return c}f=EO.prototype;f.get=function(a,b){var c=GO(this,a);return c?c.value:b};f.set=function(a,b){var c=GO(this,a);c?c.value=b:(c=new FO(a,b),this.B.set(a,c),HO(this,c))};f.shift=function(){var a=this.A.next;this.A!=a&&this.dg(a);return a.value};f.remove=function(a){return(a=this.B.get(a))?(this.dg(a),!0):!1}; f.dg=function(a){a.remove();this.B.remove(a.key)};f.wb=function(){return this.B.wb()};f.isEmpty=function(){return this.B.isEmpty()};f.ob=function(){return this.map(function(a,b){return b})};f.Pa=function(){return this.map(function(a){return a})};f.contains=function(a){return this.some(function(b){return b==a})};f.clear=function(){IO(this,0)};f.forEach=function(a,b){for(var c=this.A.next;c!=this.A;c=c.next)a.call(b,c.value,c.key,this)}; f.map=function(a,b){for(var c=[],d=this.A.next;d!=this.A;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};f.some=function(a,b){for(var c=this.A.next;c!=this.A;c=c.next)if(a.call(b,c.value,c.ke y,this))return!0;return!1};f.every=function(a,b){for(var c=this.A.next;c!=this.A;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};function HO(a,b){a.C?(b.next=a.A.next,b.A=a.A,a.A.next=b, b.next.A=b):(b.A=a.A.A,b.next=a.A,a.A.A=b,b.A.next=b);null!=a.H&&IO(a,a.H)} function IO(a,b){for(;a.wb()>b;){var c=a.C?a.A.A:a.A.next;a.dg(c);a.F&&a.F(c.key,c.value)}}function FO(a,b){this.key=a;this.value=b}FO.prototype.remove=function(){this.A.next=this.next;this.next.A=th is.A;delete this.A;delete this.next};function JO(a,b){w.call(this);this.C=a.get(Jy);this.B=new KO(b);this.A=[];this.D={}}v(JO,w);function FA(a,b){var c=DO(a.C,b);return a.D[c]||null}function LO(a){for(var b=0;b<a.A.length;b++){var c=a.A[b],d=c.getId();yl(a.B.B.B,d)||c.dispose()}a.A=[];a.D={}}function MO(a){var b=NO(a.B);hb(b,function(a,b){this.D[b]||a.dispose()},a)}JO.prototype.Z=functi on(){JO.O.Z.call(this);this.B.clear();LO(this);MO(this)};function KO(a){EO.call(this,a,!0);this.D={}}v(KO,EO); KO.prototype.set=function(a,b){KO.O.set.call(this,a,b);this.D[a]&&delete this.D[a]};KO.prototype.dg=function(a){KO.O.dg.call(this,a);a=a.value;this.D[a.getId()]=a};function NO(a){var b=a.D;a.D={};return b};function OO(a){var b=L(a);a=wg(b);a=null==G(a,4)?"AIzaSyDVQw45DwoYh632gvsP5vPDqEKvb-Ywnb8":G(a,4);var c=qg(b)||"0",b=wg(b),b=null==G(b,2)?"":G(b,2);a=new zD(a,c,b);AD(a);retur n a};function PO(a){return new $k(a)};function QO(a){w.call(this);this.A=a;this.D=[];this.B=[];this.C=new M(this);x(this,this.C);a=Y(this.A);this.C.listen(a,"$",this.uu).listen(a,"ba",this.vu).listen (a,"aa",this.wu).listen(a,"ca",this.xu);Eg(L(this.A))&&this.C.listen(Kx(this.A),"sa",this.tu)}v(QO,w);f=QO.prototype; f.uu=function(){for(var a=Y(this.A).A,b=Math.min(a+1,this.D.length-1),c=L(this.A),d=Kx(this.A).A,e=a;e<=b;e++){var g=this.D[e],h=this.B[e];if(g)if(e==a)Av(g);else{var k=iF(1,2);if(k){if(!g.item.Ha&&J o(g.item,k)){var m=new wv;yf(m,6,k);nv(ov(g.A),{ka:61,item:g.item,Ye:m})}g.item.La=!0;2==k.getData()?Bv(g):Av(g)}else Av(g)}if(h&&Eg(c)&&(e==a||d)){k=bp.lj|bp.vj;g=c;if((null==G(g,41)?0:G(g,41))||d)k |=bp.ij;cp(h,k)}}}; f.vu=function(a){a=a.D;this.B[a]&&$o(this.B[a].item.Da.ra());$b(this.B,a);$b(this.D,a)};f.wu=function(){for(var a=this.D.length,a=ec(Y(this.A).B.A,a),b=this.D,c=[],d=0;d<a.length;d++){var e=a[d],g=e.Jb,h=e.ub().$b();!g&&h&&(h=g=new h(e,this.A),e.Jb=h,x(e,h));c[d]=g}cc(b,c);a=this.B.length;a=ec(Y(this.A).B.A,a);b=this.B;c=[];for(d=0;d<a.length;d++)g=a[d],e=null,(h=g.Da)&&SA(g)&&(e=new (g.ub().bo())(g,this.A),x(h.ra(),e)),c[d]=e;cc(b,c)}; f.xu=function(){this.D=[];for(var a=0;a<this.B.length;a++){var b=this.B[a];b&&$o(b.item.Da.ra())}this.B=[]};f.tu=function(){if(Kx(this.A).A)for(var a=Y(this.A).A,b=Math.min(a+1,this.D.length-1);a<=b; a++){var c=this.B[a];c&&cp(c,bp.lj|bp.ij|bp.vj)}};function RO(){var a=$i("CANVAS");this.A=a&&a.getContext&&a.getContext("2d")}function SO(a){a.A.beginPath();a.A.moveTo(10,10);a.A.lineTo(20,30);a.A.be zierCurveTo(70,80,0,60,25,15);a.A.closePath();a.A.fill()}function TO(a,b){var c=u(),d;for(d=0;d<b&&!(8<u()-c);d++)SO(a);return(u()-c)/d};function UO(){B.call(this);this.A={};this.B=[]}v(UO,B);functio n VO(a,b){var c=a.A;a.A={};for(var d=[],e=[],g=0;g<b.length;g++){var h=b[g],k=h.getId();c[k]||d.push(k);h.vh()&&e.push(k);delete c[k];a.A[k]=h}c=ob(c);(0<d.length||0<e.length||0<c.length)&&a.U(new WO(d,e,c))}function YO(a,b){a.B=b;a.U("cb")}function WO(a,b,c){y.call(this,"db");this.D=a;this.changed=b;this.removed=c}v(WO,y);function ZO(){return!$O()&&(tc("iPod")||tc("iPhone")||tc("Android")||t c("IEMobile"))}function $O(){return tc("iPad")||tc("Android")&&!tc("Mobile")||tc("Silk")};function aP(){B.call(this);this.D=0;this.A=new I(0,0);this.B=new I(0,0)}v(aP,B);aP.prototype.update=function( a,b,c){b=new I(b,c);c=!1;0==this.D&&0!=a&&(this.A=b,c=!0);zi(this.B,b)||(this.B=b,c=!0);this.D=a;c&&this.U("eb")};function bP(a,b,c,d,e){a.A=new I(c-e,d-e);a.B=new I(c+e,d+e);a.D=b;a.U("eb")}function cP(a){var b=new Yp(a.A.x,a.A.y,0,0);bq(b,new Yp(a.B.x,a.B.y,0,0));return b};function dP(a,b){w.call(this);this.A=a;this.H=b;this.D=new I;this.C=new aP;x(this,this.C);this.R=new ze(15);x(this,this.R) ;this.I=new M(this);x(this,this.I);this.V=0;this.I.listen(a,"mousedown",this.Kw).listen(a,"dblclick",this.Ez).listen(this.R,"tick",this.UB);ZO()||$O()||this.I.listen(a,"touchstart",this.Mw).listen(a, "touchend",this.Lw);this.B=new Wp(20,20,20,20)}v(dP,w);f=dP.prototype; f.Kw=function(a){if(Zc(a)&&this.dh(a)){var b=W(this.H).A;this.I.listen(this.A,"mousemove",this.xh).listen(this.A,"mouseup",this.yh).listen(b,"mousemove",this.xh).listen(b,"mouseup",this.yh);a.prevent Default();this.R.start();eP(this,1,a)}};f.yh=function(a){if(Zc(a)){var b=W(this.H).A;this.I.wa(this.A,"mousemove",this.xh).wa(this.A,"mouseup",this.yh).wa(b,"mousemove",this.xh).wa(b,"mouseup",this.y h);this.R.stop();eP(this,0,a)}}; f.Ez=function(a){if(Zc(a)&&this.dh(a)){var b=this.$f();bP(this.C,0,b.x,b.y,1);nv(ov(this.H),{ka:77,qa:pr(a)})}};f.xh=function(a){1==this.C.D&&(a.preventDefault(),eP(this,1,a))};f.Mw=function(a){if(th is.dh(a))if(a.A.touches&&1==a.A.touches.length){this.V=D(t(this.LA,this,a),500,this);this.L=new I(a.A.changedTouches[0].clientX,a.A.changedTouches[0].clientY);var b=W(this.H).A;this.I.listen(this.A," touchmove",this.zh).listen(b,"touchmove",this.zh);fP(this,a);a=this.$f();bP(this.C,0,a.x,a.y,0)}else gP(this)}; f.LA=function(a){this.R.start();fP(this,a);a=this.$f();bP(this.C,1,a.x,a.y,1)};f.zh=function(a){1==this.C.D&&a.preventDefault();20<Ai(new I(a.A.changedTouches[0].clientX,a.A.changedTouches[0].clientY ),this.L)&&(E(this.V),1==this.C.D&&eP(this,1,a))};f.Lw=function(a){var b=a.A.touches.length;1==this.C.D&&(a.preventDefault(),0==b&&a.B());0==b&&(eP(this,0,a),gP(this))};function gP(a){E(a.V);var b=W(a.H).A;a.I.wa(a.A,"touchmove",a.zh).wa(b,"touchmove",a.zh);a.R.stop()} function eP(a,b,c){var d=c.A.changedTouches;if(!(d&&1<d.length)){fP(a,c);var e=a.$f();0!=b||zi(e,a.C.A.clone())||nv(ov(a.H),{ka:69,qa:pr(c)});a.C.update(b,e.x,e.y,!!d)}}f.UB=function(){var a=this.D.y,b=this.A.clientHeight-this.D.y,c=0;a<this.B.top?c=-hP(a,this.B.top):b<this.B.bottom&&(c=hP(b,this.B.bottom));a=this.A.clientWidth-this.D.x;b=0;this.B.left>this.D.x?b=-hP(this.D.x,this.B.l eft):this.B.right>a&&(b=hP(a,this.B.right));this.Jn(b,c)}; function hP(a,b){return 2+1/(1+Math.exp(-10*(wi((b-a)/(100+b),0,1)-.5)))*98}f.getState=function(){return this.C};f.Jn=function(a,b){0!=b&&(this.A.scrollTop+=b);if(0!=a){var c=vr(this.A);xr(this.A,c+a )}};function fP(a,b){var c=b.A.changedTouches,d=c?c[0].clientX:b.clientX,c=c?c[0].clientY:b.clientY,e=a.A.getBoundingClientRect();Kq(a.A)?a.D.x=e.right-d:a.D.x=d-e.left;a.D.y=c-e.top}f.$f=function(){ var a=vr(this.A),a=this.D.x+a;Kq(this.A)&&(a=this.A.scrollWidth-a);return new I(a,this.D.y+this.A.scrollTop)}; f.dh=function(a){var b=kj(a.target)&&Pp(a.target,et.la().ia());if(b="A"!=a.target.tagName&&!b){var c=this.A.getBoundingClientRect(),b=a.clientX-c.left;a=a.clientY-c.top;b=Kq(this.A)?b<=hv(hu(this.H)) :b>=this.A.clientWidth;b=!(this.A.scrollHeight!=Dq(this.A).height&&a>=this.A.clientHeight||b)}return b};function iP(){}v(iP,jH);da(iP);iP.prototype.ia=function(){return et.la().ia()};function jP(a,b){is.call(this,b);this.C=a||""}var kP;v(jP,is);f=jP.prototype;f.Oc=null;function lP(){null!=kP||(kP="placeholder"in document.createElement("INPUT"));return kP}f.mg=!1;f.ea=function(){this.D=th is.B.ma("INPUT",{type:"text"})};f.Fa=function(a){jP.O.Fa.call(this,a);this.C||(this.C=a.getAttribute("label")||"");yj(Oi(a))==a&&(this.mg=!0,Rp(this.J(),"label-input-label"));lP()&&(this.J().placehol der=this.C);pk(this.J(),"label",this.C)}; f.Y=function(){jP.O.Y.call(this);var a=new M(this);a.listen(this.J(),"focus",this.Bk);a.listen(this.J(),"blur",this.Ay);lP()?this.A=a:(Ac&&a.listen(this.J(),["keypress","keydown","keyup"],this.Xz),a. listen(Zi(Oi(this.J())),"load",this.CC),this.A=a,mP(this));nP(this);this.J().D=this};f.va=function(){jP.O.va.call(this);this.A&&(this.A.dispose(),this.A=null);this.J().D=null};function mP(a){!a.H&&a.A&&a.J().form&&(a.A.listen(a.J().form,"submit",a.iA),a.H=!0)} f.Z=function(){jP.O.Z.call(this);this.A&&(this.A.dispose(),this.A=null)};f.Bk=function(){this.mg=!0;Rp(this.J(),"label-input-label");if(!lP()&&!oP(this)&&!this.F){var a=this,b=function(){a.J()&&(a.J( ).value="")};A?D(b,10):b()}};f.Ay=function(){lP()||(this.A.wa(this.J(),"click",this.Bk),this.Oc=null);this.mg=!1;nP(this)};f.Xz=function(a){27==a.keyCode&&("keydown"==a.type?this.Oc=this.J().value:"k eypress"==a.type?this.J().value=this.Oc:"keyup"==a.type&&(this.Oc=null),a.preventDefault())}; f.iA=function(){oP(this)||(this.J().value="",D(this.Ny,10,this))};f.Ny=function(){oP(this)||(this.J().value=this.C)};f.CC=function(){nP(this)};function oP(a){return!!a.J()&&""!=a.J().value&&a.J().val ue!=a.C}f.clear=function(){this.J().value="";null!=this.Oc&&(this.Oc="")};f.reset=function(){oP(this)&&(this.clear(),nP(this))};f.ua=function(a){null!=this.Oc&&(this.Oc=a);this.J().value=a;nP(this)}; f.ja=function(){return null!=this.Oc?this.Oc:oP(this)?this.J().value:""}; function nP(a){var b=a.J();lP()?a.J().placeholder!=a.C&&(a.J().placeholder=a.C):mP(a);pk(b,"label",a.C);oP(a)?(b=a.J(),Rp(b,"label-input-label")):(a.F||a.mg||(b=a.J(),S(b,"label-input-label")),lP()|| D(a.eG,10,a))}f.setEnabled=function(a){this.J().disabled=!a;Tp(this.J(),"label-input-label-disabled",!a)};f.isEnabled=function(){return!this.J().disabled};f.$w=function(){this.F=!1};f.eG=function(){! this.J()||oP(this)||this.mg||(this.J().value=this.C)};function pP(){return R('<div class="drive-viewer-ui-text-highlightset"></div>')}function qP(){return R('<div class="drive-viewer-ui-text-highligh t"></div>')} function rP(){return R('<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-searchba r-btn"></div><div class="drive-viewer-ui-text-searchbar-close drive-viewer-icon drive-viewer-ui-text-searchbar-btn"></div></div>')};function sP(a){X.call(this,a);a=this.B;this.H=new ft(a,iP.la());this.ca(this.H);this.L=new ft(a,iP.la());this.ca(this.L);this.N=new ft(a,iP.la());this.ca(this.N);this.F=new jP("Find in document",a);this.ca(this.F);this.C=this.I=null}v(sP,X);f=sP.pr ototype;f.ea=function(){this.D=P(rP,void 0,void 0,this.B)}; f.Y=function(){sP.O.Y.call(this);this.I=U(this,"drive-viewer-ui-text-searchbar-count");rs(this.H,U(this,"drive-viewer-ui-text-searchbar-close"));rs(this.L,U(this,"drive-viewer-ui-text-searchbar-next" ));rs(this.N,U(this,"drive-viewer-ui-text-searchbar-prev"));rs(this.F,U(this,"drive-viewer-ui-text-searchbar-input"));this.L.ta("Find next");this.N.ta("Find previous");this.H.ta("Close find bar");$u(this.H.J(),this.B);tP(this,!1);zk(this.D,!0);V(this).listen(this.H,"action",this.cz).listen(this.L,"action", this.VA).listen(this.N,"action",this.CB);this.C=new cr(this.J());this.C.I=!0;this.C.H=!1;this.C.Cg("esc",27);this.C.Cg("next",13);this.C.Cg("prev",[13,hr.be]);this.C.Cg("fake",[67,Dc?hr.xd:hr.wd]);V( this).listen(this.C,"shortcut",this.cC)};function tP(a,b){var c=a.B;c.Ya(a.H.J(),b);c.Ya(a.L.J(),b);c.Ya(a.N.J(),b);a.F.J().tabIndex=b?0:-1}f.da=function(){return Pp(this.D,"drive-viewer-ui-text-sear chbar-show")}; f.show=function(a){var b=this.D;S(b,"drive-viewer-ui-text-searchbar-show");zk(b,!1);tP(this,!0);var b=this.F,c=oP(b);b.F=!0;b.J().focus();c||lP()||(b.J().value=b.C);b.J().select();lP()||(b.A&&ml(b.A, b.J(),"click",b.Bk),D(b.$w,10,b));b=this.A;GE(Kx(b),!0);nv(ov(b),{ka:64,qa:pr(a)})};function uP(a,b){nv(ov(a.A),{ka:66,qa:pr(b)});vP(a,!1)}function wP(a,b){nv(ov(a.A),{ka:67,qa:pr(b)});vP(a,!0)} f.cC=function(a){var b=a.target==this.F.J();switch(a.H){case "esc":this.hide(a);break;case "next":b&&uP(this,a);break;case "prev":b&&wP(this,a)}};f.cz=function(a){this.hide(a)};f.VA=function(a){uP(th is,a)};f.CB=function(a){wP(this,a)};function xP(a,b,c){a.B.Qb(a.I,Tt(b,c));Tp(a.I,"drive-viewer-ui-text-searchbar-count-zero",!c)}function vP(a,b){var c=a.F.ja();c&&a.U(new yP(c,b))} f.hide=function(a){var b=this.D;this.F.reset();this.B.Qb(this.I,"");Rp(this.I,"drive-viewer-ui-text-searchbar-count-zero");Rp(b,"drive-viewer-ui-text-searchbar-show");zk(b,!0);tP(this,!1);b=this.A;GE (Kx(b),!1);nv(ov(b),{ka:65,qa:pr(a)});this.U("fb")};function yP(a,b){y.call(this,"gb");this.value=a;this.D=b}v(yP,y);function zP(){this.A=[]}function AP(a,b,c){var d;do{d=c;var e=a.A[2*c-1],g=a.A[2*c +2];c+=n(e)&&e>b?-1:n(g)&&b>g?1:0}while(c!=d);return c};function BP(a){this.D=a}BP.prototype.A=function(){return this.D.naturalWidth};BP.prototype.C=function(){return this.D.naturalHeight};function CP(a,b){this.D=a;this.B=b};function DP(a){var b=a;if(a instanceof Array)b=Array(a.length),EP(b,a);else if(a instanceof Object){var c=b={},d;for(d in a)a.hasOwnProperty(d)&&(c[d]=DP(a[d]))}return b}function EP(a,b){for(var c=0;c<b.length;++c)b.hasOwnProperty(c)&&(a[c]=DP(b[c]))}function FP(a,b){a!==b&&(a.length=0,b&&(a.length=b.length,EP(a,b)))}function GP(a,b){a[b]||(a[b]=[]);return a[b]}function HP(a,b){return a[b]?a[b].length:0};function IP(a){this.A=a||[]}function JP(a){this.A=a||[]}function KP(a){this.A=a||[]}function LP(a){this.A=a||[]}function MP(a){this.A=a||[]}function NP(a){this.A=a||[]}IP.prototype.ie=function(a){FP(this.A,a?a.Qa():null)};IP.prototype.Qa=function(){return this.A};function OP(a){a=a.A[0];return null!=a?a:0}function PP(a){a=a.A[1];return null!=a?a:0}function QP(a){a=a.A[2];return null!=a?a:0}function RP(a){a=a.A[3];return null!=a?a:0}JP.prototype.ie=function(a){FP(this.A,a?a.Qa():null)}; JP.prototype.Qa=function(){return this.A};var SP=new IP;KP.prototype.ie=function(a){FP(this.A,a?a.Qa():null)};KP.prototype.Qa=function(){return this.A};function TP(a){a=a.A[1];return null!=a?a:""}var UP=new IP;function VP(a){return(a=a.A[0])?new IP(a):UP}LP.prototype.ie=function(a){FP(this.A,a?a.Qa():null)};LP.prototype.Qa=function(){return this.A};var WP=new IP;function XP(a,b){return new KP(GP(a.A,1)[b])}MP.prototype.ie=function(a){FP(this.A,a?a.Qa():null)};MP.prototype.Qa=function(){return this.A}; var YP=new IP;function ZP(a){return(a=a.A[0])?new IP(a):YP}function $P(a,b){return new LP(GP(a.A,1)[b])}NP.prototype.ie=function(a){FP(this.A,a?a.Qa():null)};NP.prototype.Qa=function(){return this.A};function aQ(a){a=a.A[1];return null!=a?a:0}function bQ(a){a=a.A[2];return null!=a?a:0}function cQ(a,b){return new MP(GP(a.A,3)[b])};function dQ(a){w.call(this);a?this.A=eQ(a.concat(),0):this .A=null}v(dQ,w);var fQ=[function(a,b){return ic(a.left,b.left)},function(a,b){return ic(a.top,b.top)},function(a,b){return ic(a.left+a.width,b.left+b.width)},function(a,b){return ic(a.top+a.height,b. top+b.height)}];function eQ(a,b){if(5<a.length){jc(a,fQ[b]);var c=Math.floor(a.length/2),d=a.splice(c,a.length-c),e=(b+1)%fQ.length,c=eQ(a,e),d=eQ(d,e);return new gQ([c,d],!1)}return new gQ(a,!0)} function gQ(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");Yp.call(this,a[0].left,a[0].top,a[0].width,a[0].height);for(var c=1;c<a.length;c++)bq(this,a[c]);this.A=a;this.B=b}v(gQ,Yp);function hQ(a,b,c){var d=a.A.length;if(a.B)f or(var e=0;e<d;e++)aq(b,a.A[e])&&c.push(a.A[e]);else for(e=0;e<d;e++)aq(b,a.A[e])&&hQ(a.A[e],b,c)};function iQ(a,b,c,d,e){Yp.call(this,a,b,c,d);this.Ab=e}v(iQ,Yp);function jQ(a){if(0==a.length)return null;for(var b=new Gl("(?:"),c=0;c<a.length;c++)b.Rb(Ua(a.charAt(c)));b.Rb("|");for(c=0;c<a.length;c++)b.Rb("(?:").Rb(Ua(a.charAt(c)));for(c=0;c<a.length-1;c++)b.Rb(")?");b.Rb(")(-?)$)");return new RegExp(b.toString(),"g")} iQ.prototype.search=function(a,b){var c=[];if(0==a.length)return c;b||(b=jQ(a));for(var d=0;d<this.Ab.length;d++)for(var e=this.Ab[d],g;g=b.exec(e.text);){var h=g[0].length-(g[1]?g[1].length:0),k=Fa( a.slice(h));g=[kQ(this,d,g.index,h)];for(var m=d+1;m<this.Ab.length&&k;m++){var p=this.Ab[m].text,h=Math.min(p.length-(xa(p,"-")?1:0),k.length);if(p.slice(0,h)==k.slice(0,h))g.push(kQ(this,m,0,h)),k= Fa(k.slice(h));else break}""==k&&c.push(g)}return c}; function kQ(a,b,c,d){a=a.Ab[b];if(!a)return null;b=a.text;var e=a.R.split(","),e=Pb(e,function(a){return parseInt(a,10)}),g=lQ(c,b,e);return new Yp(g,a.top,lQ(c+d,b,e)-g,a.height)}function lQ(a,b,c){var d=b.lastIndexOf(" ",a-1)+1,e=b.substring(0,d).split(" ").length-1,g=2*e;return parseInt(c[g],10)+parseInt(c[g+1],10)*(a-d)/b.split(" ")[e].length};function mQ(a,b,c,d,e,g){Yp.call(this ,a,b,c,d);this.R=e;this.A=g;this.text=za(g.toLowerCase())}v(mQ,Yp);function nQ(a,b){var c=a.bf(),d=b.bf(),e=ic(c.top,d.top);return e?e:ic(c.left,d.left)};function oQ(a,b,c){this.B=[];this.D=HP(b.A,1) ;for(var d=0;d<this.D;d++)this.B.push(XP(b,d));b=(b=b.A[0])?new IP(b):WP;for(var d="",e=0;e<this.D;e++)0!=e&&(d+=" "),d+=TP(this.B[e]);mQ.call(this,PP(b),OP(b),RP(b),QP(b),"",d);this.H=a;this.L=bb(); this.V=!1;this.C=this.left;this.F=this.width;this.selectionText=this.A;this.I=c}v(oQ,mQ);f=oQ.prototype;f.getId=function(){return this.L};f.Ig=function(a){this.V=a};f.vh=function(){return this.V}; f.Ue=function(){return new Yp(this.C/this.H.width,this.top/this.H.height,this.F/this.H.width,this.height/this.H.height)};f.getData=q; f.Pi=function(a,b,c){for(var d=-1,e=-1,g=0;g<this.D;g++){var h=VP(this.B[g]);PP(h)+RP(h)>=a.left&&-1==d&&(d=g);PP(h)<=a.left+a.width&&(e=g)}if(!b||a.top<this.top)d=0;if(!c||a.top+a.height>this.top+th is.height)e=this.D-1;0>d&&(d=0);0>e&&(e=this.D-1);a=PP(VP(this.B[d]));b=PP(VP(this.B[e]))+RP(VP(this.B[e]));this.C=a;this.F=Math.max(0,b-a);if(e<d)this.selectionText="";else for(this.selectionText=TP (this.B[d]),g=d+1;g<=e;g++)this.selectionText+=" ",this.selectionText+=TP(this.B[g])}; f.Uq=function(){if(this.C==this.left&&this.F==this.width)return!1;this.C=this.left;this.F=this.width;this.selectionText=this.A;return!0};f.bf=function(){return this};function pQ(a){this.A=a}pQ.protot ype.F=function(){return HP(this.A.A,3)};pQ.prototype.C=function(a){return HP(cQ(this.A,a).A,1)};pQ.prototype.D=function(a,b){for(var c=$P(cQ(this.A,a),b),d=new Gl,e=HP(c.A,1),g=0;g<e;g++)0!=g&&d.Rb(" "),d.Rb(TP(XP(c,g)));return d.toString()};pQ.prototype.H=function(a){var b=aQ(this.A),c=bQ(this.A);a=ZP(cQ(this.A,a));return new Yp(Math.max(PP(a)/b,0),Math.max(OP(a)/c,0),RP(a)/b,QP(a)/c)};function qQ(a,b,c){mQ.call(this,b.left,b.top,b.width,b.height,b.R,b.A);this.C=a;this.H=bb();this.F=!1;this.B=b.left;this.D=b.width;this.selectionText=b.A;this.I=c}v(qQ,mQ);f=qQ.prototype;f.getId=function(){r eturn this.H};f.Ig=function(a){this.F=a};f.vh=function(){return this.F};f.Ue=function(){return new Yp(this.B/this.C.width,this.top/this.C.height,this.D/this.C.width,this.height/this.C.height)};f.getD ata=q; f.Pi=function(a,b,c){var d=Qb(this.R.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?Ub(d,function(b){return b.right>=a.left}):0;0>b&&(b=0);var e=a.left+a.width,g=a.top+a.height,h=this.top+this.height;c=c&&g<=h?Vb(d,function(a){return a.left<=e}):d.length-1;0>c&&(c=d.length-1);g=d[b].left;d=d[c].right;this .B=g;this.D=Math.max(0,d-g);this.selectionText=c<b?"":(d=(new RegExp("^(?:\\S+\\s+){"+b+"}((?:\\S+\\s+){"+(c- b)+"}\\S+)")).exec(this.A))?d[1]:this.A};f.Uq=function(){if(this.B==this.left&&this.D==this.width)return!1;this.B=this.left;this.D=this.width;this.selectionText=this.A;return!0};f.bf=function(){retur n this};function rQ(a,b){this.B=a;this.A=b}rQ.prototype.F=function(){return this.A.length};rQ.prototype.C=function(a){return this.A[a]&&this.A[a].Ab?this.A[a].Ab.length:0};rQ.prototype.D=function(a,b ){return this.A[a].Ab[b]?this.A[a].Ab[b].A:""};rQ.prototype.H=function(a){if(!this.A[a])return new Yp(0,0,0,0);a=this.A[a];return new Yp(Math.max(a.left/this.B.width,0),Math.max(a.top/this.B.height,0 ),a.width/this.B.width,a.height/this.B.height)};function sQ(a,b){B.call(this);this.X=b;this.I=a;this.L=new UO;x(this,this.L);this.F=new UO;x(this,this.F);this.H=this.A=this.B=this.R=null;this.W=0;thi s.D=this.S=this.C=this.V=null;this.ba=this.N=!1}v(sQ,B);function tQ(a){var b=a.X+1;a.I.C?(a=a.I.C,b="Page "+(qt(St,b)+(" of "+qt(St,a)))):b="Page "+qt(St,b);return b}function uQ(a,b,c){a.N=!1;a.A=b;a .W=0;a.ba=c;vQ(a);a.U("ib")} function vQ(a){var b=a.D;if(a.A){var c=a.A;a.D=new K(c.A(),c.C())}else a.B?a.D=cq(a.B):a.S&&(a.D=a.S);a.D&&!Ci(a.D,b)&&a.U("hb")};function wQ(){IJ.call(this);this.H=this.D=this.R=800;NJ(this,new kp(800,2E3))}v(wQ,IJ);var xQ={xj:"nb"},yQ={Fs:800,eI:1200,fI:1600,Es:2E3};wQ.prototype.Tp=function(){return!0};wQ.prototype.qr=function(){this.C=2==this.C?0:2;this.U(new PJ(void 0))};function zQ(a){switch(a.C){case 1:return Math.min(a.D,a.H);case 2:return a.H;default:return a.D}}wQ.prototype.cg=function(){return zQ(this)};function AQ(a,b){jF.call(this,a,b);this.D=[];BQ(this);this.S=null; this.L=0;this.R=new kp(0,0);this.B=new wQ;x(this,this.B);this.B.Wb(this);nd(this.D[0],"ib",this.Yc,!1,this)}v(AQ,jF);var CQ={Lr:"ob",wm:"pb",As:"qb",Cs:"rb"};function DQ(a){return 0<a.D.length&&(a=a. D[0],a.D)?a.D.clone():null}AQ.prototype.Yc=function(){var a=DQ(this);if(a)for(var b=0;b<this.D.length;b++){var c=this.D[b];c.S=a;vQ(c)}}; AQ.prototype.$=function(a){for(var b=DQ(this);this.D.length<a;)BQ(this,b);for(;this.D.length>a;)b=this.D.pop(),Fb(b);for(b=0;b<this.D.length;b++){var c=this.D[b];c.N=!0;c.R=null;c.H=null}AQ.O.$.call( this,a)};function BQ(a,b){var c=new sQ(a,a.D.length);c.Wb(a);null!=b&&(c.S=b,vQ(c));x(a,c);a.D.push(c)}AQ.prototype.na=function(a,b){var c=this.D[a];c.W=b?1:2;c.U("kb")};AQ.prototype.Gh=function(){re turn this.D.length};function EQ(a){return a.C?Rb(a.D,function(a){return!!a.C}):!1};function FQ(a,b,c){a=a||{};c=c||{};null==a.wq||fa(a.wq);a=a.wq;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,e=0;e<d;e++)b+=GQ({imageUrl:a[e]},0,c);b+='</div><span class="drive-viewer-paginated-tab-sentinel" tabindex="0"></span></div><div class="drive-viewer-gradient-top" style="'+ (c.Ea?"/*"+c.Ea+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-rgt" style="'+(c.Ea?"/*"+c.Ea+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-bottom" style="'+(c.Ea?"/*"+c.Ea+"*/":"")+'display: none;"></div><div class="drive-viewer-gradient-lft" style="'+(c.Ea?"/*"+c.Ea+"*/":"")+'display: none;"></div></div>';return R(b)} function GQ(a,b,c){a=a||{};b=R;var d;if(a.imageUrl){d=R;a=a.imageUrl;var e=An("drive-viewer-paginated-page-img");c=c||{};c=R('<img class="'+Kn(e)+'" src="'+Kn(Qn(a))+'" onerror="'+(c.Ea?"/*"+c.Ea+"*/ ":"")+"this['_preloadFailed']=true\"></img>");d=d(Q(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 HQ(a){return R('<div class="drive-viewer-paginated-page-error-page drive-viewer-focus-to-default"><div class="drive-viewer-paginated-page-error-msg">'+Q(hx(a))+"</div></div>")}function IQ(){return R('<div class="drive-viewer-page-count drive-viewer-page-count-hidden"><div class="drive-viewer-page-count-text"></div></div>')};function JQ(a,b){X.call(this,b);this.F=a;this.H=null}v(JQ ,X);f=JQ.prototype;f.ea=function(){this.D=P(IQ,void 0,void 0,this.B)};f.Y=function(){JQ.O.Y.call(this);this.H=U(this,"drive-viewer-page-count-text");var a=Y(this.A);this.F.C?KQ(this):V(this).listen(t his.F,"xa",this.lB);V(this).listen(this.F,CQ.wm,this.Su).listen(a,"$",this.Ru)};f.Su=function(){KQ(this)};f.lB=function(){KQ(this)};f.Ru=function(){Z(Y(this.A))==this.F&&this.F.C&&KQ(this)}; function KQ(a){var b=a.J();a.B.Qb(a.H,Tt(a.F.L+1,a.F.C));Vp(b,"drive-viewer-page-count-hidden","drive-viewer-page-count-active");E(a.C);a.C=D(function(){Vp(b,"drive-viewer-page-count-active","drive-v iewer-page-count-hidden")},2500,a)};function LQ(a,b,c){X.call(this,c);this.F=a;this.I=b;this.C={};this.H=[]}v(LQ,X);LQ.prototype.ea=function(){this.D=P(pP,void 0,void 0,this.B);S(this.J(),this.I)};LQ .prototype.Y=function(){LQ.O.Y.call(this);V(this).listen(this.F,"cb",this.L).listen(this.F,"db",this.N)}; LQ.prototype.N=function(a){for(var b=this.B,c=0;c<a.D.length;c++){var d=a.D[c],e=P(qP,void 0,void 0,this.B),g=this.F.A[d].Ue();mq(e,100*g.left+"%",100*g.top+"%");Aq(e,100*g.width+"%",100*g.height+"%" );b.Ca(this.J(),e);this.C[d]=e}for(c=0;c<a.changed.length;c++)d=a.changed[c],e=this.C[d],g=this.F.A[d].Ue(),mq(e,100*g.left+"%",100*g.top+"%"),Aq(e,100*g.width+"%",100*g.height+"%");for(c=0;c<a.remov ed.length;c++)d=a.removed[c],b.Sa(this.C[d]),delete this.C[d]}; LQ.prototype.L=function(){for(var a=0;a<this.H.length;a++){var b=this.H[a];Rp(b,"drive-viewer-ui-text-highlight-active")}this.H=[];for(var c=this.F.B,a=0;a<c.length;a++)b=this.C[c[a].getId()],S(b,"dr ive-viewer-ui-text-highlight-active"),this.H.push(b)};function MQ(a,b){X.call(this,b);this.page=a;this.na=new LQ(this.page.L,"drive-viewer-ui-text-selection",b);this.ca(this.na);this.ha=new LQ(this.page.F,"drive-viewer-ui-text-search",b);this.ca(this.ha);this.fa=this.S=this.L=null;this.aa=new Cl;this.X=this.F=this.H=null}v(MQ,X);f=MQ.prototype;f.ea=function(){this.D=P(GQ,void 0,void 0,this.B);NQ(this)};f.Fa=function(a){MQ.O.Fa.call(this,a);NQ(this)};function NQ(a){a.na.ga(a.J());a.ha.ga(a.J())} f.Y=function(){MQ.O.Y.call(this);this.S=U(this,"drive-viewer-paginated-page-links");this.X=U(this,"drive-viewer-paginated-page-reader-content-container");this.page.A?this.Np():OQ(this);this.page.D&&t his.ap();V(this).listen(this.page,"ib",this.zn).listen(this.page,"hb",this.ap).listen(this.page,"kb",this.GA);this.page.R&&this.yn();V(this).listen(this.page,"jb",this.yn)};f.Np=function(){PQ(this)}; f.GA=function(){OQ(this)};f.zn=function(){PQ(this)}; f.Ni=function(){null!=this.H&&(this.L&&this.L.stop(),this.J().removeChild(this.H),this.H=null)};function PQ(a,b){a.L&&a.L.stop();var c=a.J(),d=null!=a.H;d&&Fl(a.aa,a.H);QQ(a);var e;(e=b)||(e=a.page.A .D,S(e,"drive-viewer-paginated-page-img"),Ak(e,tQ(a.page)),zk(e,!0));a.H=e;c.appendChild(a.H);d&&(a.L=dC(a.H,.218),ml(V(a),a.L,"end",a.Tu),a.L.play())}f.ap=function(){var a=this.page.D.clone();this.J ().style.paddingBottom=0<a.width?100/(a.width/a.height)+"%":"0px"}; function OQ(a){var b=a.page.W;if(!a.page.A&&0!=b){var c=a.B;QQ(a);a.fa=P(HQ,{Xe:"Whoops!",error:1==b?"There was a problem loading this page. Retrying...":"There was a problem loading this page."},void 0,c);c.Ca(a.J(),a.fa)}}function QQ(a){var b=U(a,"drive-viewer-paginated-page-error-page");b&&a.B.Sa(b)} f.yn=function(){var a=this.B,b=this.page.R;a.Fb(this.S);for(var c=!1,d=0;d<b.length;d++){var e=b[d].D,g=null;try{g=P(lx,{url:e},void 0,a)}catch(h){continue}c=b[d].B;mq(g,100*c.left+"%",100*c.top+"%") ;Aq(g,100*c.width+"%",100*c.height+"%");a.Ca(this.S,g);V(this).listen(g,"click",this.Uu);c=!0}c&&this.U("sb")};f.Tu=function(){for(var a=this.B,b=this.aa.Pa(),c=0;c<b.length;c++){var d=b[c];a.Sa(d);this.nn(d)}this.aa.clear();this.L=null};f.Uu=function(a){nv(ov(this.A),{ka:86,qa:pr(a),item:this.page.I})}; f.nn=q;function RQ(a,b,c){this.B=b||bb();this.D=a;this.A=c||null}RQ.prototype.getId=function(){return this.B};RQ.prototype.vh=function(){return!1};RQ.prototype.Ue=function(){return this.D};RQ.prototy pe.getData=function(){return this.A};function SQ(a,b){w.call(this);this.R=a.S;this.B=a.D;this.C=b;this.H=new M(this);x(this,this.H);this.A=[];this.F=this.D=null;this.H.listen(this.C,"fb",this.I).list en(this.C,"gb",this.V)}v(SQ,w);SQ.prototype.I=function(){this.A=[];this.F=this.D=null;for(var a=0;a<this.B.length;a++)VO(this.B[a].F,[])}; SQ.prototype.V=function(a){var b=a.value;if(this.F!=b){var c=this.R.search(b);xP(this.C,0,0);this.I();this.F=b;for(b=0;b<this.B.length;b++){var d=c.A[b];if(d)for(var e=b,g=this.B[e].B,h=0;h<d.length; h++){for(var k=d[h],m=[],p=0;p<k.length;p++){var r=k[p];m.push(new RQ(new Yp(r.left/g.width,r.top/g.height,r.width/g.width,r.height/g.height)))}this.A.push({page:e,Jp:m})}}for(b=0;b<this.A.length;b++ ){d=this.A[b];c=this.B[d.page].F;d=d.Jp;e=[];g=[];for(h=0;h<d.length;h++)k=d[h],m=k.getId(),c.A[m]||e.push(m), k.vh()&&g.push(m),c.A[m]=k;(0<e.length||0<g.length)&&c.U(new WO(e,g,[]))}}a=a.D;b=this.A.length;0!=b&&(c=null,null===this.D||(c=this.A[this.D]),c&&(d=this.B[c.page].F,YO(d,[])),c=this.D,this.D=c=xi(n ull===c?a?-1:0:c+(a?-1:1),b),xP(this.C,c+1,this.A.length),c=this.A[this.D])&&(d=this.B[c.page].F,YO(d,c.Jp))};function TQ(a,b){jc(b,nQ);for(var c={},d=[],e=0;e<b.length;e++){var g=b[e];c[g.getId()]=! 0;Wb(d,g.I)||d.unshift(g.I)}g=UQ(d);d=[];for(e=0;e<g.length;e++){var h=g[e];jc(h,function(a,b){return ic(a.top,b.top)});VQ(h,d)}jc(d,WQ);for(e=0;e<d.length;e++)for(g=d[e],h=0;h<g.length;h++){for(var k=g[h].Ab,m=0;m<k.length;m++)c[k[m].getId()]&&a.Rb(k[m].selectionText,"\n");a.Rb("\n")}} function UQ(a){if(0==a.length)return[a];jc(a,function(a,b){return a.left-b.left});for(var b=a[0].left,c=[a[0]],d=[],e=1;e<a.length;e++){var g=a[e].left;g<b+50?c.push(a[e]):(d.push(c),c=[a[e]],b=g)}d. push(c);return d}function VQ(a,b){for(var c=a.length,d=0,e=1;e<c;e++)25<a[e].top-(a[e-1].top+a[e-1].height)&&(b.push(a.slice(d,e)),d=e);b.push(a.slice(d,c))} function WQ(a,b){if(0==a.length||0==b.length)return ic(a.length,b.length);var c=a[0].top,d=b[0].top,e=a[a.length-1].top+a[a.length-1].height,g=b[b.length-1].top+b[b.length-1].height;return.5<(Math.mi n(e,g)-Math.max(c,d))/Math.min(e-c,g-d)?ic(a[0].left,b[0].left):ic(c,d)};function XQ(a,b,c){w.call(this);this.C=a;this.A=a.D;this.F=b;this.B=c;this.D=new M(this);x(this,this.D);this.D.listen(this.B," eb",this.H)}v(XQ,w); XQ.prototype.H=function(){var a=cP(this.B);if(!a||0==a.width&&0==a.height){for(var b=0;b<this.A.length;b++)VO(this.A[b].L,[]);b=this.C;b.zc=Ea("");b.U("qb")}else{var b=new Gl,c,d=this.F;c=d.A.za;var d=d.A.H.length-1,e=Math.min(AP(c,a.top,0),d);c=new kp(e,Math.min(AP(c,a.top+a.height,e),d));for(d=c.start;d<=c.end;d++)if(this.A[d].C){var g=YQ(this.F,d);if(aq(a,g)){a:{var e=Math.max(a.left,g.left) ,h=Math.min(a.left+a.width,g.left+g.width);if(e<=h){var k=Math.max(a.top,g.top),m=Math.min(a.top+a.height, g.top+g.height);if(k<=m){e=new Yp(e,k,h-e,m-k);break a}}e=null}e.left-=g.left;e.top-=g.top;h=this.B;h=(h.A.y<h.B.y?h.A.clone():h.B.clone()).clone();h.x-=g.left;h.y-=g.top;k=this.B;k=(k.A.y>k.B.y?k.A. clone():k.B.clone()).clone();k.x-=g.left;k.y-=g.top;var m=this.A[d].B,p=e,r=m.width/g.width;p.left*=r;p.top*=r;p.width*=r;p.height*=r;p=h;r=m.width/g.width;p.x*=r;p.y*=r;p=k;g=m.width/g.width;p.x*=g; p.y*=g;var z,C,g=this.A[d];g.C?(g=g.C,m=[],g.A&&hQ(g.A,e,m),g=m):g=[];m=[];for(p=0;p<g.length;p++)for(var r= g[p],F=0;F<r.Ab.length;F++){var J=r.Ab[F];if(aq(e,J.bf())){m.push(J);var la=J.Uq();J.Ig(la);J.bf().contains(h)&&(!z||0>nQ(z,J))&&(z=J);J.bf().contains(k)&&(!C||0<nQ(C,J))&&(C=J)}}z&&C&&z==C?(z.Pi(e,! 0,!0),z.Ig(!0)):(z&&(z.Pi(new Yp(h.x,h.y,0,0),!0,!1),z.Ig(!0)),C&&(C.Pi(new Yp(k.x,k.y,0,0),!1,!0),C.Ig(!0)));TQ(b,m);VO(this.A[d].L,m)}else VO(this.A[d].L,[])}a=this.C;a.zc=Ea(b.toString());a.U("qb" )}};function ZQ(a,b,c){gw.call(this);this.D=a;this.C=b;this.B=c}v(ZQ,gw);ZQ.prototype.play=function(){if(1==this.A)return!1;this.A=1;this.F=u();this.Zb("play");cw(this);$Q(this,this.F);return!0};ZQ.p rototype.stop=function(a){1==this.A&&(a&&(a=1,this.B&&(a=this.B(a)),this.D(a)),this.A=0,ew(this),this.onStop(),this.Hc())};ZQ.prototype.hq=function(a){$Q(this,a)};function $Q(a,b){var c=Math.min((b-a.F)/a.C,1),d=c;a.B&&(d=a.B(d));a.D(d);1==c&&(a.A=0,ew(a),hw(a),a.Hc())};function aR(a,b){ju.call(this,a,b);this.item=a;this.H=[];this.Kb=this.aa=this.Jb=this.Wa=this.La=this.Ha=this.C =this.F=null;this.gj=new JQ(a,b);this.ca(this.gj);this.Pg=this.mj=this.Xi=null;this.X=new sP(b);this.ca(this.X);this.na=this.Rg=this.ha=this.Ja=this.L=this.W=null;this.za=new zP;this.Qg=this.Ib=null; this.ej=!0;this.Sd=-1;this.N=this.$=null;this.sj=this.qj=0;this.eb=!1;var c=hz(this.A);c&&V(this).listen(c,"qa",this.Lu);this.Sg=!1;this.oj=0}v(aR,ju);f=aR.prototype; f.ea=function(){this.D=P(FQ,void 0,void 0,this.B);bR(this)};f.Fa=function(a){aR.O.Fa.call(this,a);a=ms(this,"drive-viewer-paginated-page");if(0<a.length){var b=Si("drive-viewer-paginated-page-img",a[ 0]);a=this.item;a.Kb=b;b=iF(2,4);Jo(a,b);a.La=!0}bR(this)};function bR(a){var b=a.B,c=a.J();a.X.ga(c);a.gj.ga(c);b.Ya(U(a,"drive-viewer-paginated-pages"),!0)} f.Y=function(){aR.O.Y.call(this);var a=this.J();this.F=U(this,"drive-viewer-paginated-pages");this.C=U(this,"drive-viewer-paginated-scrollable");this.uj=U(this,"drive-viewer-paginated-textarea");this .S=U(this,"drive-viewer-paginated-tab-sentinel");this.Ha=U(this,"drive-viewer-gradient-bottom");this.La=U(this,"drive-viewer-gradient-lft");this.Wa=U(this,"drive-viewer-gradient-rgt");this.Jb=U(this, "drive-viewer-gradient-top");this.Kb=new cR(this);var b=this.item.B;V(this).listen(this.C,"scroll",this.Nu).listen(this.C, "click",this.TB).listen(this.X,"fb",this.VB).listen(this.item,"hb",this.nz).listen(this.item,"ib",this.Fu).listen(this.item,wo.im,this.Eu).listen(this.item,CQ.wm,this.Mu).listen(this.item,"xa",this.m B).listen(this.item,CQ.As,this.nC).listen(b,JJ.Vg,this.HC).listen(b,JJ.rm,this.rA).listen(b,JJ.hj,this.Qu);1==this.item.F&&this.item.B.setEnabled(!0);this.Xi=new dP(this.C,this.A);x(this,this.Xi);thi s.item.S?this.jn():V(this).listen(this.item,CQ.Lr,this.jn);EQ(this.item)?this.yp():V(this).listen(this.item, "mb",this.yp);rg(L(this.A))&&(this.item.H&&this.Ge(!0),V(this).listen(this.item,"za",this.IB).listen(this.item,"ya",this.HB));dR(this);this.item.C&&eR(this);iz(this.A).Li(this.item.getId(),this.C);th is.Ib=new bB(a);this.Qg=new bB(this.S);x(this,this.Ib);x(this,this.Qg);V(this).listen(this.F,"keydown",this.Du).listen(this.Ib,"focusin",this.Ju).listen(this.Ib,"focusout",this.Ku).listen(this.Qg,"fo cusin",this.kC);fR(this)}; f.Ba=function(){aR.O.Ba.call(this);GE(Kx(this.A),this.X.da());var a=qu(this.A);ru(a,74,this.jB,this);ru(a,75,this.kB,this);tu(this,this.C);var b=Dc?hr.xd:hr.wd;ru(a,[67,b],this.wn,this);ru(a,[45,b],t his.wn,this);ru(a,[70,b],this.Iu,this);ru(a,[71,b],this.Gu,this);ru(a,[71,b|hr.be],this.Hu,this);this.layout();this.Fe()};f.ab=function(){aR.O.ab.call(this);GE(Kx(this.A),!1);E(this.na);this.na=null; E(this.Ja);E(this.ha);this.ha=null;gR(this)}; f.layout=function(){if(this.I){var a=gu(hu(this.A));Kq(this.J())?this.C.style.marginRight=a.right+"px":this.C.style.marginLeft=a.left+"px";this.F.style.marginTop=a.top+"px";this.F.style.marginBottom= a.bottom+"px";var a=du(this).width,b=this.item.B;b.H!=a&&(b.H=a,NJ(b,new kp(Math.min(yQ.Fs,a),Math.max(yQ.Es,a))),b.U("nb"));hR(this,zQ(b));iR(this)}};function hR(a,b){var c=gu(hu(a.A));Bq(a.F,b);var d=Kq(a.J()),c=Math.max(fu(a,b)-(d?c.right:c.left),0)+"px";d?a.F.style.right=c:a.F.style.left=c} function jR(a,b){if(a.$){var c=a.C.clientWidth,d=a.C.clientHeight,c=a.N?a.N.x:c/2,d=a.N?a.N.y:d/2;hR(a,b);a.C.scrollLeft=a.$.x*a.C.scrollWidth-c;a.C.scrollTop=a.$.y*a.C.scrollHeight-d}} f.Fm=function(){E(this.na);this.na=null;var a=this.item.B;this.L&&1==this.L.A&&(V(this).wa(this.L,"end",this.Fe),this.L.stop());var b=this.C;this.$||(this.$=new I((b.scrollLeft+b.clientWidth/2)/b.scr ollWidth,(b.scrollTop+b.clientHeight/2)/b.scrollHeight));b=this.F.offsetWidth;a=zQ(a);a!=b?(this.L=new ZQ(t(this.EG,this,b,a),218,oN),a=V(this),nl(a,this.L,"end",this.Fe,!1,this),gR(this),this.L.play ()):this.Fe()}; f.Fe=function(){E(this.ha);this.ha=null;for(var a=this.F.offsetTop,b=0;b<this.H.length;b++){var c=this.H[b];if(c.page.D){var d=a+c.J().offsetTop,e=this.za,g=b,c=d+c.J().offsetHeight;e.A[2*g]=d;e.A[2* g+1]=c}}kR(this);lR(this);this.Zj();E(this.Ja);this.Ja=D(this.Zj,250,this);mR(this);this.$=this.N=null}; f.Fz=function(a){var b=this.item.B,c=!1;this.N=new I(a.clientX,a.clientY);c=this.C;this.$=new I((c.scrollLeft+this.N.x)/c.scrollWidth,(c.scrollTop+this.N.y)/c.scrollHeight);0==RJ(b)?(c=!0,LJ(b,2),QJ( b,50)):(c=!1,QJ(b,0));pO(this.item.V,c,pr(a),!1)};f.Pu=function(a){a=a.A.touches;if(2==a.length){this.eb=!0;gR(this);var b=this.C;this.N=nR(a[0],a[1]);this.$=new I((b.scrollLeft+this.N.x)/b.scrollWid th,(b.scrollTop+this.N.y)/b.scrollHeight);this.qj=oR(a[0],a[1]);this.sj=zQ(this.item.B)}}; f.Ou=function(a){var b=a.A.touches;if(2==b.length&&this.eb){a.preventDefault();var c=this.item.B;this.N=nR(b[0],b[1]);var d=c.cg(),b=oR(b[0],b[1])/this.qj*this.sj;d!=b&&(LJ(c,2),c.D=c.B?wi(b,c.B.star t,c.B.end):b,c.C=0,c.U("Sa"),pO(this.item.V,b>d,pr(a),!0))}};f.xn=function(){this.eb&&(this.eb=!1,this.N=null,OJ(this.item.B,this.F.offsetWidth),iR(this))};function oR(a,b){var c=a.clientX-b.clientX, d=a.clientY-b.clientY;return Math.sqrt(c*c+d*d)} function nR(a,b){return new I((a.pageX+b.pageX)/2,(a.pageY+b.pageY)/2)}f.EG=function(a,b,c){this.W&&1==this.W.A&&(c=1,this.L.stop(!1));jR(this,a+(b-a)*c)};function mR(a){a.Sg||(a.Sg=!0,a.Rg=D(functio n(){this.oa&&S(this.F,"drive-viewer-layout-transition")},100,a))}function gR(a){a.Sg=!1;E(a.Rg);Rp(a.F,"drive-viewer-layout-transition")}function iR(a){!a.ha&&a.I&&(a.ha=D(t(a.Fe,a),100,a))}f.Nu=func tion(){this.eb||this.L&&1==this.L.A||kR(this);this.Zj();nu(this)};f.jB=function(){pR(this,this.item.L+1)}; f.kB=function(){pR(this,this.item.L-1)};f.wn=function(a){nv(ov(this.A),{ka:68,qa:pr(a),item:this.item});this.uj.select();qR(this,100)};f.Iu=function(a){a.preventDefault();this.X.show(a)};f.Gu=functio n(a){a.preventDefault();this.X.show(a);uP(this.X,a)};f.Hu=function(a){a.preventDefault();this.X.show(a);wP(this.X,a)};f.TB=function(a){var b=0==ug(L(this.A)),c=a.target;b&&!this.A.Oa()&&c==this.C&&th is.U(new y("B",a.target))}; f.yp=function(){this.Pg||(this.Pg=new XQ(this.item,this.Kb,this.Xi.getState()),x(this,this.Pg),S(this.F,"drive-viewer-paginated-page-cursor"))};f.VB=function(){qR(this)};f.Fu=function(a){this.item.sa ||(a=a.target,a.A&&!a.ba&&this.item.C&&Ko(this.item));iR(this)};function eR(a){if(!a.item.sa)for(var b=0;b<a.item.C;b++){var c=a.item.D[b];c.A&&!c.ba&&Ko(a.item)}} f.Eu=function(){fR(this);if(1==this.item.F){this.item.B.setEnabled(!0);var a=wf(L(this.A),dg,47),b;if(b=Uc&&a)b=null==G(a,3)?!1:G(a,3);b&&V(this).listen(this.F,"touchstart",this.Pu).listen(this.F,"to uchmove",this.Ou).listen(this.F,"touchend",this.xn).listen(this.F,"touchcancel",this.xn);this.A.Oa()&&(a=new ON(this.F),x(this,a),V(this).listen(a,"ab",this.Fz),iz(this.A).El(a))}};f.nz=function(){iR (this)};f.Mu=function(){lR(this)}; f.mB=function(){for(var a=this.item.D;this.H.length>a.length;){var b=this.H.pop();Fb(b);b=this.za;b.A.pop();b.A.pop()}dR(this);eR(this);iR(this)}; f.vp=function(a){if(!this.H[a].F){if(A&&!Nc(10)&&100<=this.oj)return;this.oj++}var b=this.H[a],c=b.page.H;if(null!=c){var d=b.B;d.Fb(b.X);b.F=null;b.F=d.ma("h2");S(b.F,"drive-viewer-paginated-page-re ader-header");d.Qb(b.F,tQ(b.page));d.Ca(b.X,b.F);for(var e=d.A.createDocumentFragment(),g=c.F(),h=0;h<g;h++){for(var k=d.ma("P"),m=[],p=c.C(h),r=0;r<p;r++)m.push(c.D(h,r)),m.push("\n");d.Qb(k,m.join( ""));S(k,"drive-viewer-paginated-page-reader-block");m=c.H(h);fq(k,{left:100*m.left+"%",top:100*m.top+"%", width:100*m.width+"%",height:100*m.height+"%"});d.Ca(e,k)}d.Ca(b.X,e)}a=this.H[a];a.F&&a.B.Ya(a.F,this.ej)};f.ti=function(){return!0};f.Fi=function(){ZN(this.item.H)};f.IB=function(){this.Ge(!0)};f.H B=function(){this.Ge(!1)};f.nC=function(){this.uj.value=this.item.zc};f.HC=function(a){this.oa&&a.source!=this&&!this.na&&(this.na=D(t(this.Fm,this),40,this))};f.rA=function(){this.oa&&jR(this,zQ(thi s.item.B))}; f.Qu=function(){if(this.oa){var a=this.item.B.A;a==KJ.Zd?this.Fm():a==KJ.ACTIVATING&&LJ(this.item.B,KJ.ad)}}; f.kA=function(a){var b=this.item.D[a].F.B;if(0!=b.length){for(var c=b[0].Ue().clone(),d=1;d<b.length;d++)bq(c,b[d].Ue());if(this.H[a]){this.L&&this.L.stop(!0);var e=hu(this.A),g=gu(e),b=du(this).widt h,d=this.C.clientHeight,e=new Yp(this.C.scrollLeft+JE(e),this.C.scrollTop+g.top,b-JE(e),d-KE(e));a=YQ(this.Kb,a);eq(c,a.width,a.height);dq(c,a.left,a.top);e.contains(c)||(this.C.scrollTop=c.top+c.hei ght/2-d/2,this.C.scrollLeft=c.left+c.width/2-b/2)}}};f.Du=function(a){rR(this,9!=a.keyCode)}; f.Ju=function(){rR(this,!0)};f.Ku=function(){rR(this,!0)};f.kC=function(){if(0<=this.Sd){var a=Ij(this.H[this.Sd].S);Pu(au(this.A),a,0)}else rR(this,!1),qR(this,0)};function rR(a,b){if(a.ej!=b){a.ej= b;for(var c=0;c<a.H.length;c++){var d=a.H[c];d.F&&d.B.Ya(d.F,b)}a.B.Ya(a.S,b)}}f.jp=function(a){a>this.Sd&&(this.Sd=a)};f.jn=function(){this.mj=new SQ(this.item,this.X);x(this,this.mj)}; function dR(a){for(var b=a.item.D,c=ms(a,"drive-viewer-paginated-page"),d=a.H.length;d<b.length;d++){var e=b[d],g=new (a.nj())(e,a.A);a.ca(g);c[d]?rs(g,c[d]):g.ga(a.F);a.H[d]=g;e.H&&a.vp(d);Ij(g.S)&& a.jp(d);V(a).listen(e.F,"cb",t(a.kA,a,d)).listen(e,"lb",t(a.vp,a,d)).listen(g,"sb",t(a.jp,a,d))}} function kR(a){var b=a.item.R,c=a.item.L,d=Dq(a.C),c=AP(a.za,a.C.scrollTop+d.height/2,c),e=a.item,b=new kp(AP(a.za,a.C.scrollTop,b.start),AP(a.za,a.C.scrollTop+d.height,b.end)),d=e.R;d==b||d&&b&&d.st art==b.start&&d.end==b.end||(e.R=b,e.U("rb"));a=a.item;a.L!=c&&(a.L=c,a.U("pb"))} f.Zj=function(){if(3!=Og(L(this.A))){E(this.Ja);var a=this.C,b=hu(this.A),c=gu(b),d=Kq(this.J()),e=hv(b),g=a.scrollHeight!=a.clientHeight,e=(b=1<Math.abs(a.scrollWidth-a.clientWidth))?e:0,h=e+Math.ma x(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.H[this.H.length-1].J(),g=oq(h),h=Dq(h),h=e+a.scrol lHeight-(g.x+h.height)+c.bottom);fq(this.Ha,"bottom",e+"px");fq(this.La,"bottom",h+"px");fq(this.Wa,"bottom", h+"px");fq(this.La,"left",k+"px");fq(this.Jb,"left",k+"px");fq(this.Ha,"left",k+"px");fq(this.Wa,"right",d+"px");fq(this.Jb,"right",d+"px");fq(this.Ha,"right",d+"px");fq(this.La,"top",m+"px");fq(this .Wa,"top",m+"px");T(this.Jb,0==m);T(this.Ha,h==e);T(this.La,b);T(this.Wa,b)}};f.Lu=function(){lR(this)};function lR(a){var b=hz(a.A)&&hz(a.A).B,c=a.gj.J(),d=Dq(c),e=(75-d.height)/2;b&&(e+=hv(hu(a.A)) );fq(c,"bottom",e+"px");a=fu(a,d.width);fq(c,"left",a+"px")} function fR(a){var b=a.B,c=a.item.F;switch(c){case uo.ae:case uo.LOADING:a.aa||(a.aa=P(ix,void 0,void 0,b),b.Ca(a.C,a.aa));break;case uo.LOADED:b.Sa(a.aa);break;case uo.yd:case uo.ERROR:b.Sa(a.aa),a. aa=P(hx,{Xe:"Whoops!",error:c==uo.ERROR?"There was a problem loading more pages.":"There was a problem loading more pages. Retrying..."},void 0,b),S(a.aa,"drive-viewer-msg-error"),b.Ca(a.C,a.aa)}} function pR(a,b){var c=a.H[b];if(c){a.W&&(xd(a.W),a.W.stop(!1));var d=gu(hu(a.A)),e=Dq(a.C),g=cq(YQ(a.Kb,b)),e=e.height-g.height,g=0<e,h=uq(c.J(),a.C,g),c=a.C.scrollTop,k=a.C.scrollLeft,h=h.y;e<d.top &&(h-=d.top/2,g&&(h+=e/2));a.W=new ow(a.C,[k,c],[k,h],430,oN);nd(a.W,"end",t(function(){xd(this.W);this.W=null},a));a.W.play(!1)}}function qR(a,b){a.I&&a.item.D[0].A&&Pu(au(a.A),a.F,b)}f.rq=function( a){this.L&&1==this.L.A&&(this.$.y+=a/(this.C.scrollHeight-Dq(this.C).height))}; f.va=function(){aR.O.va.call(this);LJ(this.item.B,0);E(this.Ja);E(this.ha);E(this.Rg);E(this.na)};function cR(a){this.A=a}function YQ(a,b){var c=a.A.F,d;Kq(a.A.J())?(d=a.A.C,d=d.scrollWidth-d.offsetW idth+c.offsetLeft):d=c.offsetLeft;var e=a.A.H[b].J();return new Yp(d+e.offsetLeft,c.offsetTop+e.offsetTop,e.offsetWidth,e.offsetHeight)};function sR(a,b){MQ.call(this,a,b)}v(sR,MQ);function tR(a,b){aR.call(this,a,b)}v(tR,aR);tR.prototype.nj=function(){return sR};function uR(a,b){gp.call(this,a,b)}v(uR,gp);uR.prototype.qk=function(){return wQ};uR.prototype.cl=function(){return!0};functi on vR(){w.call(this);this.A=[]}v(vR,w);vR.prototype.Z=function(){vR.O.Z.call(this)};function wR(){w.call(this);this.A=[];this.B=[]}v(wR,w);function xR(a,b){var c=a.getAttribute("dim"),d;c?d=c.split(" ,"):d=[a.getAttribute("l"),a.getAttribute("t"),a.getAttribute("w"),a.getAttribute("h")];d=Pb(d,function(a){return parseInt(a,10)});b?(b.left=d[0],b.top=d[1],b.width=d[2],b.height=d[3]):b=new Yp(d[0],d[1],d[2],d[3]);return b} function yR(a){for(var b=[],c=0,d;d=a[c];c++){for(var e=d.getAttribute("p"),g=d;g.hasChildNodes();)g=g.childNodes[0];e=new mQ(0,0,0,0,e,g.nodeValue||"");xR(d,e);b.push(e)}return b}wR.prototype.search =function(a){a=za(a.toLowerCase());var b=new vR;if(0==a.length)return b;for(var c=jQ(a),d=0;d<this.A.length;d++)for(var e=this.A[d],g=0;g<e.length;g++)for(var h=e[g].search(a,c),k=0;k<h.length;k++){v ar m=b,p=d,r=h[k];m.A[p]||(m.A[p]=[]);m.A[p].push(r)}return b}; wR.prototype.Z=function(){wR.O.Z.call(this);this.A=this.B=null};function zR(a,b){Yp.call(this,0,0,0,0);this.A=a;this.url=b}v(zR,Yp);function AR(){this.A=""}da(AR);function BR(){B.call(this);this.F=ne w ML;this.A=new nK;this.B=null;this.C="";this.D=new M(this);x(this,this.D);this.D.listen(this.A,"complete",this.I);this.D.listen(this.A,"ready",this.H)}v(BR,B); BR.prototype.I=function(){if(zK(this.A)){var a=AK(this.A);if(a){this.C="";var b;0==a.indexOf("&&&START&&&")?a=a.substring(11):0==a.indexOf(")]}'")&&(a=a.substring(4));try{b=hf(a)}catch(c){b={error:!0 ,errorMessage:"Parse error (exception: "+c+")"}}this.U(new y(b.error?"tb":"ub",b))}}else b=403==yK(this.A),a=this.A,a=a.A&&4==xK(a)?a.A.getResponseHeader("X-Explorer-Token"):void 0,b&&null!=a&&!Aa(a) &&this.C!=a?(AR.la().A=a,b=this.B,xm(b.uri,"token",a),this.send(b.uri,b.headers,b.tl),this.C=a):(b={error:!0}, b.errorMessage=yK(this.A),this.U(new y("tb",b)));this.B=null};BR.prototype.send=function(a,b,c){var d;d=AR.la().A;Aa(d)||xm(a,"token",d);this.F.A.push({uri:a,headers:b,tl:c});this.H()}; BR.prototype.H=function(){if(!this.B&&!this.A.A){var a=NL(this.F);if(a){this.B=a;var b="";if(a.tl){var c=a.tl,b=Al(c);if("undefined"==typeof b)throw Error("Keys are undefined");for(var d=new pm(null,0,void 0),c=zl(c),e=0;e<b.length;e++){var g=b[e],h=c[e];fa(h)?Hm(d,g,h):Em(d,g,h)}b=d.toString()}this.A.send(a.uri,"POST",b,a.headers)}}};function CR(a,b){yv.call(this,a,b);this.item=a ;this.D=this.X=this.sa=this.R=this.ba=this.ha=null;this.H=this.N=!1;this.na=null;this.L=!1;this.V=this.W=this.C=this.fa=null;this.S=b.get(Ky);this.F=rx(b);this.B={};this.I={};var c=L(b);this.Ua=null= =G(c,69)?!1:G(c,69)}v(CR,yv);var DR=[503,504];CR.prototype.oe=function(){ER(this)||(Bv(this),FR(this))};CR.prototype.sg=function(){return!0}; CR.prototype.aa=function(){var a=GR(this);if(Aa(Ca(a)))Fo(this.item,4,{error:2});else{var b=W(this.A),c=L(this.A);(null==G(c,55)?0:G(c,55))&&(cn(a)||no(a))?(c=!cn(a),a=sa(GK,a,b,c)):a=sa(FK,a,b);a=Ik (a,t(this.dE,this));Nk(a,this.tq,this);Ok(a,this.cE,this);zv(this,a);this.C=a}}; function ER(a){var b=a.item.Kb;b&&a.dm(b);if(!wf(a.item.A,Sg,29))return!1;b=wf(a.item.A,Sg,29);if(Aa(Ca(Ug(b))))return!1;Do(a.item,2);var c=ih(a.item.A);a.ha=ho(c,Ug(b)).toString();var d=a.Yn(b);a.ba=ho(c,d).toString();Aa(Ca(Vg(b)))||(a.R=ho(c,Vg(b)).toString());a.Ua&&!Aa(Ca(Xg(b)))&&(a.D=ho(c,Xg(b)).toString());Aa(Ca(Wg(b)))||(c=Oe(Wg(b),"print","true"),d=a.item,d.H=c,d.U("za")); if(0>=Tg(b)){b=null==G(b,1)?0:G(b,1);if(0<b)return HR(a,b);IR(a);return!0}a.item.$(Tg(b));Do(a.item,1);a.zi();return!0} yv.prototype.dm=function(a){return this.item.I==uo.ae?(Fo(this.item,uo.LOADING,{time:a._preloadStartTime}),a=a.src&&(a.complete||a._preloadFailed)?0<a.naturalWidth?Kk(new tl(a)):Lk():EK(a),Nk(a,this. tq,this),Ok(a,this.Ha,this),a):null};yv.prototype.Ha=function(){Fo(this.item,3,{error:16});this.aa()}; function FR(a,b){Do(a.item,2);if(a.H){var c;c="lc_"+a.item.getId();(c=a.F.A[c])&&H(qA(c),8,!0)}if(a.H)if(null===a.na){c=a.item;var d=vh(c.A);c=kF(c)?d:ih(c.A)}else c=a.na;else c=ih(a.item.A);Aa(Ca(c) )?a.Ga(4,void 0,17):(AR.la(),0==c.indexOf((new hm("https://"+window.location.host+"/e/dr")).toString())?(a.V||(a.V=new BR,x(a,a.V)),ml(a.Ka,a.V,"ub",t(a.Yz,a,c,b)),ml(a.Ka,a.V,"tb",t(a.uq,a)),a.V.sen d(zm(c))):JR(a,c,b))}f=CR.prototype; f.Yz=function(a,b,c){c.target&&c.target.response&&c.target.response.docs&&1==mb(c.target.response.docs)&&(c=c.target.response.docs[0],c.su?(c=c.su,A&&!Nc("10")&&(wa(c,"https://drive.google.com/viewer ")?(c=c.substr(24),c=wa(c,"/viewerng/")?"/viewer/"+c.substr(10):c):c=void 0)):c=void 0,c&&c!=a&&JR(this,c,b))}; function JR(a,b,c){var d=Je(Me([b],a.item.Ja()));if(a.ug()&&!Re(d,"sp")){var e=a.Ih();0!=e.length&&(e=kf(e),e=gf(df(e),!0),d=Oe(d,"sp",e))}d=sa(IK,d,c,W(a.A).A);b=t(a.hE,a,b,c);KR(a,d,b,t(a.uq,a),t(a .$q,a,18))}function LR(a,b){var c=vb(b||null);c.page=a;return c}function GR(a){var b=wf(L(a.A),og,58),c;if(c=!!b)c=null==G(b,1)?!1:G(b,1);return a.item.Mc(800,void 0,c)} f.fi=function(a,b){if(!n(b)||0>=b){if(this.X&&!this.H){var c=IK(this.X);Nk(c,t(this.ZD,this,a));Ok(c,t(this.YD,this,a));zv(this,c)}}else{if(410==b){if(this.H)return;this.L=!0}Wb(DR,b)||(a.cancel(),th is.C&&no(GR(this))&&this.C.cancel());if(410==b)if(this.N=this.H=!0,MR(this),this.B={},this.I={},kF(this.item)||!SA(this.item))FR(this);else{var c=al(this.A,dp),d=gh(this.item.A),e=t(this.yD,this),d=Z k(new Tk(c.A,c.B+"/files/"+d+"?fields="+fl,"drive#file")).start();hl(c,d);Nk(d,e);Ok(d,q)}}}; function KR(a,b,c,d,e){b=Ik(b,t(function(a,b){e&&e(a,b);this.fi(a,b)},a),t(a.fi,a));Nk(b,c);Ok(b,d);zv(a,b);return b}f.$q=function(a){this.Ga(3,void 0,a)};f.ZD=function(a,b){if(!ja(b.bcode)||!HR(this ,b.bcode)){var c=b.status;c&&this.fi(a,c)}};f.YD=function(a,b){var c=b.statusCode;c&&this.fi(a,c)}; f.hE=function(a,b,c){if(!ja(c.bcode)||!HR(this,c.bcode)){var d=c.rd;1==mb(c)&&d&&a!=d?JR(this,d,b):(this.ha=ho(a,c.meta).toString(),this.ba=ho(a,c[this.Eh()]).toString(),c.press?this.R=ho(a,c.press). toString():this.R=null,this.Ua&&c.presspage?this.D=ho(a,c.presspage).toString():this.D=null,c.pdf?this.sa=Oe(c.pdf,"print","true"):(this.sa=null,b=this.item,b.H=null,b.U("ya")),c.status&&(this.X=ho(a ,c.status).toString()),IR(this))}};f.Eh=function(){return"page"}; f.Yn=function(a){return null==G(a,4)?"":G(a,4)};function IR(a){a.fa=KR(a,sa(IK,a.ha),t(a.yu,a),t(a.HD,a),t(a.$q,a,19))}f.yD=function(a){a.preview&&a.preview.link&&(this.na=a.preview.link,FR(this))};f .uq=function(){this.Ga(4,void 0,18)};f.yu=function(a){this.H&&(this.N=this.L=this.H=!1);if(!ja(a.bcode)||!HR(this,a.bcode)){var b=a.pages||0;if(0>=b&&null==a.sheets)this.Ga(4,void 0,20);else{0<b&&thi s.item.$(b);if(b=this.sa){var c=this.item;c.H=b;c.U("za")}this.Rq(a);Do(this.item,1);this.zi()}}}; f.Rq=q;f.HD=function(){this.Ga(this.L?uo.yd:uo.ERROR,void 0,19)};f.tq=function(a){var b={},c;c=a.getData();var d;if(!(d=800>c.naturalWidth)){d=Ao(this.item);var e=AJ(bc(EJ.A)),g=Fg(L(this.A)),g=g&&Xf (g);d=Wb(e,d)&&11==g}d?c=!1:(d=this.item.D[0],d.A||uQ(d,new BP(c),!0),c=!0);c?(b.LC=a,b.time=a.getData()._preloadEndTime,Fo(this.item,1,b)):(b.error=3,Fo(this.item,4,b))};f.dE=function(){Fo(this.item ,3)}; f.cE=function(a){var b={};a instanceof Ck?b.fc=!0:ma(a)&&a.errorReason?b.error=a.errorReason:b.error=1;Fo(this.item,4,b)};function NR(a,b,c){c=c||{};var d=OR(c);if(!(a.B[b]&&a.B[b][d]&&a.B[b][d])){d= new wv;H(d,5,b);FF(a.S,a.item,PR(a,b,c),2,30,d);var d=KR,e=a.Hh(),g;g=a.ba;var h=LR(b,c);g=jo(g,h);d=d(a,sa(e,g),t(a.MD,a,b,c),t(a.zu,a,b,c),t(a.LD,a,b,c));c=OR(c);a.B[b]||(a.B[b]={});a.B[b][c]=d}} f.MD=function(a,b,c){var d=PR(this,a,b);this.Zp(this.F.A[d],c);FF(this.S,this.item,PR(this,a,b),1);0==a&&this.C&&this.C.cancel();Bo(this.item,1);this.Xg(a,b,c)};f.Zp=q;f.LD=function(a,b){this.item.na (a,!0,b);FF(this.S,this.item,PR(this,a,b),3);0==a&&this.Ga(3)};f.zu=function(a,b){this.item.na(a,this.L,b);var c=this.L?uo.yd:uo.ERROR;FF(this.S,this.item,PR(this,a,b),c);0==a&&(c==uo.ERROR&&this.ite m.C&&1<this.item.C?Bo(this.item,1):this.Ga(c))}; function QR(a,b,c){b=b||JK;var d;if(d=a.R&&c?Je(Me([a.R],c)):a.R)Tv(a.F,"ldi_"+a.item.getId(),{ka:87,item:a.item}),a.W=KR(a,sa(b,d),t(a.Az,a,c),t(a.zz,a,c))}f.Az=function(a,b){$v(this.F,"ldi_"+this.i tem.getId(),1);this.kq(a,b)};f.zz=function(a){$v(this.F,"ldi_"+this.item.getId(),2);this.jq(a)};f.jq=q; f.BB=function(a,b,c){$v(this.F,RR(this,a,b),1);if(c){a=this.item.D[a];c=new NP(c);a.V=c;a.B=new Yp(0,0,aQ(c),bQ(c));vQ(a);a.H||(a.H=new pQ(c),a.U("lb"));c=[];b=HP(a.V.A,5);for(var d=0;d<b;d++){var e;e=d;e=new JP(GP(a.V.A,5)[e]);var g;g=e.A[2];1==(null!=g?g:1)&&(g=e.A[0],g=null!=g?g:"",e=(e=e.A[1])?new IP(e):SP,c.push(new CP(g,new Yp(PP(e)/a.B.width,OP(e)/a.B.height,RP(e)/a.B.width,QP(e)/a.B.h eight))))}a.R=c;a.U("jb");c=a.B;b=[];d=HP(a.V.A,3);for(e=0;e<d;e++){g=cQ(a.V,e);for(var h=ZP(g),h=new iQ(PP(h), OP(h),RP(h),QP(h),[]),k=HP(g.A,1),m=0;m<k;m++){var p=new oQ(c,$P(g,m),h);h.Ab.push(p)}b.push(h)}a.C&&Fb(a.C);a.C=new dQ(0<b.length?b:null);x(a,a.C);a.U("mb")}};f.AB=function(a,b){$v(this.F,RR(this,a, b),2);this.OD(a,b)};f.OD=q;function HR(a,b){var c=!1;5==b?(a.item.getState()!=uo.Me&&(ml(a.Ka,a.item,"k",a.sB),Bo(a.item,uo.Me)),c=!0):20==b&&(a.Ga(4,"This file is password protected and can not be previewed."),c=!0);c&&a.C&&a.C.cancel();return c}f.sB=function(a){Bo(this.item,2);FR(this,a.D)}; f.Ga=function(a,b,c){1!=this.item.getState()&&(a==uo.ERROR?Bo(this.item,a,b||"There was a problem previewing this document."):Bo(this.item,a,"There was a problem previewing this document."));1!=this. item.F&&Do(this.item,a,c)};function MR(a){a.fa&&a.fa.cancel();a.C&&a.C.cancel();a.W&&a.W.cancel();SR(a,function(a,c,d){a.cancel();this.B[c][d]=null})}function SR(a,b){for(var c in a.B){c=fb(c);for(va r d in a.B[c]){var e=a.B[c][d];e&&"pending"==e.getState()&&b.call(a,e,c,d)}}} function PR(a,b,c){return"lac_"+a.item.getId()+"_"+b+OR(c)}function RR(a,b,c){c=c||{};return"lpp_"+a.item.getId()+"_"+b+OR(c)}function OR(a){var b="",c=ob(a);jc(c);for(var d=0;d<c.length;++d)b=Xa(b,c [d],a[c[d]]);return b}f.ug=function(){return!1};f.Ih=function(){return[]};function TR(a,b){CR.call(this,a,b);this.item=a;var c=this.item.B;this.Ka.listen(this.item,CQ.Cs,this.Bu).listen(c,xQ.xj,this. Au).listen(c,JJ.Vg,this.Cu)}v(TR,CR);f=TR.prototype;f.zi=function(){UR(this,0,2);this.D?VR(this):QR(this)};function VR(a){var b=Kx(a.A),c=Y(a.A);b.B&&Ox(c,a.item)?QR(a):ml(a.Ka,b,"wa",function(){VR(t his)})}function WR(a,b,c){a=a.item.C-1;return new kp(wi(b,0,a),wi(c,0,a))} function UR(a,b,c){b=WR(a,b,c);for(c=b.start;c<=b.end;c++){var d=a.Yf(c);NR(a,c,d);if(a.D){var e=a,g=c,d={},h=e,k=g,m=OR(d);h.I[k]&&h.I[k][m]&&h.I[k][m]||(h=e,h.D?(k=LR(g,d),h=jo(h.D,k)):h=h.D,h&&(k= new wv,H(k,5,g),Tv(e.F,RR(e,g,d),{ka:88,item:e.item,Ye:k}),h=KR(e,sa(IK,h),t(e.BB,e,g,d),t(e.AB,e,g,d)),d=OR(d),e.I[g]||(e.I[g]={}),e.I[g][d]=h))}}}f.Yf=function(){return{}}; function XR(a,b,c){b=WR(a,b,c);for(c=b.start;c<=b.end;c++)if(a.item.S){var d=a.item.D[c],e=a.item.S.A[c];null==e||d.H||(d.H=new rQ(d.B,e),d.U("lb"))}} f.kq=function(a,b){var c=new wR,d=[],e=b.getElementsByTagName("page"),g=b.getElementsByTagName("title");if(g&&0<g.length){for(g=g[0];g.hasChildNodes();)g=g.childNodes[0];(g=g.nodeValue)&&Ea(g)}if(e&& 0!=e.length)for(var g=0,h;h=e[g];g++){var k=xR(h);d.push(k);var m=h.getElementsByTagName("block"),k=[];if(0<m.length){h=0;for(var p;p=m[h];h++){var r=yR(p.getElementsByTagName("text")),r=new iQ(0,0,0,0,r);xR(p,r);k.push(r)}}else for(r=yR(h.getElementsByTagName("text")),h=0;m=r[h];h++)k.push(new iQ(m.left, m.top,m.width,m.height,[m]));c.A.push(k)}if(e&&0!=e.length)for(g=0;k=e[g];g++)for(k=k.getElementsByTagName("link"),m=0;h=k[m];m++)if(p=h.childNodes,p=0<p.length&&p[0].nodeValue?p[0].nodeValue:null)tr y{var r=g,z=Ea(p),C=new hm(z);if(!C.D&&Aa(Ca(C.C))){if(wa(z,"/"))throw new URIError("URI malformed");C=new hm("//"+z)}var F=C.D;if("http"!=F&&"https"!=F&&"ftp"!=F&&"mailto"!=F){var J=(new hm(l.location.href)).D;im(C,J||"http")}var la=new zR(r,C.toString());xR(h,la);c.B.push(la)}catch(Ob){}e=this.item; F=!!this.D;e.S=c;z=e.D.length;for(C=0;C<z;C++)J=e.D[C],J.B=d[C],vQ(J);if(!F){for(C=0;C<z;C++){F=c.A[C];d=e.D[C];F=F?F:[];J=[];la=F.length;for(g=0;g<la;g++){k=new iQ(F[g].left,F[g].top,F[g].width,F[g] .height,[]);m=F[g].Ab.length;for(h=0;h<m;h++)p=new qQ(d.B,F[g].Ab[h],k),k.Ab.push(p);J.push(k)}d.C&&Fb(d.C);d.C=new dQ(0<J.length?J:null);x(d,d.C);d.U("mb")}c=[];for(d=0;d<e.D.length;d++)c[d]=[];z=e. S.B;for(d=0;d<z.length;d++)C=z[d],F=e.D[C.A].B,c[C.A].push(new CP(C.url,new Yp(C.left/F.width,C.top/F.height, C.width/F.width,C.height/F.height)));for(d=0;d<e.D.length;d++)z=e.D[d],z.R=c[d],z.U("jb")}e.U("ob");this.D||(c=this.item.R,XR(this,c.start,c.end+2))};f.Ih=function(){var a={};a[this.Eh()]=LR(0,this.Y f(0));return[{meta:{}},a]};f.Bu=function(){YR(this)};f.Cu=function(){YR(this)};f.Au=function(){YR(this)};function YR(a){if(a.item.C&&!a.N){var b=a.item.R;UR(a,b.start,b.end+2);a.D||XR(a,b.start,b.end +2)}};function ZR(a,b){TR.call(this,a,b);this.item=a}v(ZR,TR);var $R=[800,1600,2E3];f=ZR.prototype;f.Xg=function(a,b,c){a=this.item.D[a];c=new BP(c.getData());!a.A||a.N?uQ(a,c,!1):a.A.A()<=c.A()&&uQ( a,c,!1)};f.Hh=function(){var a=FK;Gg(L(this.A))&&(a=GK);return t(function(b){return a(b,W(this.A))},this)}; f.Yf=function(a){var b={},c=zQ(this.item.B)*gK(eu(this.A));a=this.item.D[a];var d=0;a.A&&!a.N&&(d=a.A.A());(a=Tb($R,function(a){return a>=c&&a>=d}))||(a=$R[$R.length-1]);b.w=a;Kg(L(this.A))&&(bf&&!af &&ro("23")||bf&&af&&ro("25")||!bf&&af&&ro("4.2")||xc&&ro("12.10"))&&(b.webp=!0);return b};f.Zp=function(a,b){if(a){var c=qA(a),d=oA(b);yf(c,1,d)}};f.ug=function(){var a=wf(L(this.A),kg,61),b;if(b=!!a )b=null==G(a,1)?!1:G(a,1);return b}; f.dm=function(a){a=ZR.O.dm.call(this,a);var b;if(b=a)b=L(this.A),b=null==G(b,64)?!1:G(b,64);b&&(b=this.Yf(0),b.w=800,b=OR(b),this.B[0]||(this.B[0]={}),this.B[0][b]=a);return a};function aS(a,b){ZR.call(this,a,b)}v(aS,ZR);aS.prototype.Eh=function(){return"img"};aS.prototype.Yn=function(a){return null==G(a,8)?"":G(a,8)};function bS(a,b){AQ.call(this,a,b)}v(bS,AQ);bS.prototype.Ja=func tion(){return{r:"gp"}};bS.prototype.Mc=function(a,b,c){a=bS.O.Mc.call(this,a,b,c);return no(a)?Ve(a,"r","gp"):a};function cS(a){this.B=a}cS.prototype.A=function(){return this.B.w};cS.prototype.C=func tion(){return this.B.h};cS.prototype.getData=function(){return this.B};function dS(a,b){TR.call(this,a,b);this.item=a}v(dS,TR);dS.prototype.Yf=function(){return{}};dS.prototype.Xg=function(a,b,c){uQ( this.item.D[a],new cS(c),!1)};dS.prototype.Hh=function(){return IK};dS.prototype.ug=function(){var a=wf(L(this.A),kg,61),b;if(b=!!a)b=null==G(a,2)?!1:G(a,2);return b};function eS(a,b,c,d,e){this.comm ands=a;this.width=d;this.height=e;this.A=b;this.images=c||null}function fS(a){return new eS(a.dr,a.mem,a.i,a.w,a.h)};function gS(a){this.A=0;this.B={};this.F={};this.H=a||Mi();this.D={};var b=this;this.R=function(){b.F[this.src]=this;hS(b,this)};this.I=function(){b.D[this.src]=this;hS(b,this)};this.C=null}function iS(a,b){var c=a.F[b];if(c)return c;if(a.D[b])return null;a.B[b]||(c=Dj(a .H,"IMG"),a.B[b]=c,a.A++,c.onload=a.R,c.onerror=a.I,c.src=b);return null}function hS(a,b){delete a.B[b.src];a.A--;0==a.A&&a.C()};function jS(a,b){this.B=0;this.A=[];this.C=b||Mi();var c=this;this.H=function(){kS(c,this)};this.F=function(){kS(c,this)};this.D=null;for(var d=0;d<a.length;d++){var e="data:"+a[d][0]+";base64,"+a[d][1],g=Dj(this.C,"IMG");this.B++;g.onload=this.H;g.oner ror=this.F;g.src=e;this.A[d]=g}}function kS(a,b){b.onload=null;b.onerror=null;a.B--;0<a.B||!a.D||a.D()}jS.prototype.dispose=function(){for(var a=0;a<this.A.length;a++)this.A[a].onload=null,this.A[a]. onerror=null};var lS=["butt","round","square"];var mS=["miter","round","bevel"];function nS(a,b,c){this.D=a;this.A=b.getContext("2d");this.I=!1;this.H=new gS(c);this.L=this.V=this.C=0;this.F=!0;this. B=null;a.images&&(this.B=new jS(a.images,c))}function oS(a,b){this.A=a;this.B=b}var pS=[];pS[1]=new oS(0,function(){this.A.save()});pS[2]=new oS(0,function(){this.A.restore()});pS[3]=new oS(2,function(a,b){this.A.scale(a,b)});pS[4]=new oS(1,function(a){this.A.rotate(a)});pS[5]=new oS(2,function(a,b){this.A.translate(a,b)}); pS[52]=new oS(2,function(a,b){this.A.transform(1,b,a,1,0,0)});pS[6]=new oS(6,function(a,b,c,d,e,g){this.A.transform(a,b,c,d,e,g)});pS[7]=new oS(6,function(a,b,c,d,e,g){this.A.setTransform(a,c,b,d,e,g )});pS[8]=new oS(4,function(a,b,c,d){this.A.clearRect(a,b,c,d)});pS[41]=new oS(4,function(a,b,c,d){this.A.rect(a,b,c,d)});pS[9]=new oS(4,function(a,b,c,d){this.A.fillRect(a,b,c,d)});pS[10]=new oS(4,function(a,b,c,d){this.A.strokeRect(a,b,c,d)}); pS[45]=new oS(4,function(a,b,c,d){this.A.fillStyle=qS(a,b,c,d)});pS[46]=new oS(4,function(a,b,c,d){this.A.strokeStyle=qS(a,b,c,d)});pS[16]=new oS(1,function(a){this.A.lineWidth=a});pS[17]=new oS(0,function(){this.A.beginPath()});pS[18]=new oS(0,function(){this.A.closePath()});pS[19]=new oS(6,function(a,b,c,d,e,g){this.A.bezierCurveTo(a,b,c,d,e,g)});pS[20]=new oS(2,function(a,b){this.A.li neTo(a,b)});pS[21]=new oS(2,function(a,b){this.A.moveTo(a,b)}); pS[22]=new oS(4,function(a,b,c,d){this.A.quadraticCurveTo(a,b,c,d)});pS[23]=new oS(5,function(a,b,c,d,e){this.A.arcTo(a,b,c,d,e)});pS[24]=new oS(6,function(a,b,c,d,e,g){this.A.arc(a,b,c,d,e,g)});pS[2 5]=new oS(0,function(){this.A.fill()});pS[26]=new oS(0,function(){this.A.stroke()});pS[27]=new oS(5,function(a,b,c,d,e){(a=iS(this.H,a))?d&&e?this.A.drawImage(a,b,c,d,e):this.A.drawImage(a,b,c):this. F=!0}); pS[49]=new oS(6,function(a,b,c,d,e,g){(a=iS(this.H,"data:"+a+";base64,"+b))?e&&g?this.A.drawImage(a,c,d,e,g):this.A.drawImage(a,c,d):this.F=!0});pS[56]=new oS(5,function(a,b,c,d,e){(a=this.B.A[a])&&( d&&e?this.A.drawImage(a,b,c,d,e):this.A.drawImage(a,b,c))});pS[47]=new oS(5,function(a,b,c,d,e){a=this.A.createLinearGradient(a,b,c,d);for(b=0;b<e.length;b+=5)a.addColorStop(e[b],qS(e[b+1],e[b+2],e[b +3],e[b+4]));this.A.fillStyle=a});pS[31]=new oS(1,function(a){this.A.lineCap=lS[a]}); pS[32]=new oS(1,function(a){this.A.lineJoin=mS[a]});pS[33]=new oS(1,function(a){this.A.setLineDash&&this.A.setLineDash(a)});pS[48]=new oS(4,function(a,b,c,d){a=this.A.createRadialGradient(a,b,0,a,b,c );for(b=0;b<d.length;b+=5)a.addColorStop(d[b],qS(d[b+1],d[b+2],d[b+3],d[b+4]));this.A.fillStyle=a});pS[36]=new oS(0,function(){this.A.clip()});pS[37]=new oS(1,function(a){this.A.globalAlpha=a});pS[28 ]=new oS(1,function(a){rS(this,this.A,this.D.A[a])}); pS[35]=new oS(3,function(a,b,c){this.A.fillStyle=sS(this,a,b,c)});pS[38]=new oS(3,function(a,b,c){this.A.strokeStyle=sS(this,a,b,c)});pS[42]=new oS(6,function(){});pS[43]=new oS(0,function(){this.A.b eginPath()});pS[44]=new oS(1,function(a){for(var b=0;b<a.length;b++){var c=a[b],d=c[0],c=c[1];pS[d]||(pS[d]=new oS(c,q))}});pS[50]=new oS(1,function(){throw Error("Unsupported operation");});pS[57]=n ew oS(3,function(){throw Error("Unsupported operation");}); pS[51]=new oS(0,function(){throw Error("Unsupported operation");});pS[53]=new oS(1,function(){});pS[54]=new oS(11,function(){throw Error("Unsupported operation");});pS[55]=new oS(2,function(){throw Error("Unsupported operation");});pS[58]=new oS(5,function(){throw Error("Unsupported operation");});pS[59]=new oS(4,function(){throw Error("Unsupported operation");});pS[60]=new oS(0,function(){thr ow Error("Unsupported operation");}); function sS(a,b,c,d){b=$i("canvas",{width:b,height:c});c=b.getContext("2d");rS(a,c,a.D.A[d]);return a.A.createPattern(b,"repeat")}nS.prototype.dispose=function(){this.C=0;this.I=!0;this.B&&this.B.dis pose();this.A=null};nS.prototype.N=function(a){0!=this.C&&this.F&&this.R(a)};function tS(a,b,c){a.C=b;a.L=0;a.V=0;a.B&&0<a.B.B?(c=t(a.R,a,c),a.B.D=c):(a.H&&(b=t(a.N,a,c),a.H.C=b),a.R(c))} function uS(a,b,c){if(!a.I){var d=!1;try{b=rS(a,a.A,a.D.commands,b,!!c),b<a.D.commands.length?Md(function(){uS(this,b,c)},a):vS(a,c),d=!0}finally{d||vS(a,c)}}}function vS(a,b){a.A.restore();a.F||b&&b ()}nS.prototype.R=function(a){this.F=this.I=!1;if(this.A){var b=!1;this.A.save();try{this.A.setTransform(this.C,0,0,this.C,this.V,this.L),this.A.clearRect(0,0,this.D.width,this.D.height),b=!0}finally {if(!b){vS(this,a);return}}uS(this,0,a)}}; function rS(a,b,c,d,e){var g=a.A;a.A=b;try{b=d||0;for(var h=e&&a.B?b+500:c.length;b<h&&b<c.length;){var k=c[b];b++;var m=pS[k];if(!m)throw Error("Unrecognized Gpaper command ID "+k);0==m.A?m.B.call(a ):(m.B.apply(a,c.slice(b,b+m.A)),b+=m.A)}}finally{a.A=g}return b}function qS(a,b,c,d){return"rgba("+a+","+b+","+c+","+d/255+")"};function wS(){return R('<canvas class="drive-viewer-paginated-page-gpa per-canvas"></canvas>')};function xS(a,b){MQ.call(this,a,b);this.I=this.W=this.C=null;this.$=0;this.N=null}v(xS,sR);f=xS.prototype;f.Np=function(){};function yS(a,b,c){Ti(a,{width:b,height:c})}f.kt=f unction(a){zk(this.I,!0);PQ(this,this.I);this.W=this.I;this.I=null;this.N&&($v(rx(this.A),this.N),this.N=null);this.C=null;a()};f.Ni=function(){this.W&&xS.O.Ni.call(this);zS(this);var a=this.W;a&&yS(a,0,0);this.W=null;(a=this.I)&&yS(a,0,0);this.I=null;this.$=0;this.C&&(this.C.dispose(),this.C=null)}; function AS(a,b){var c=zQ(a.page.I.B),d=gK(eu(a.A)),e=c*d;if(a.$==e)null!=a.C||b();else{zS(a);a.N=BS(a);var g=a.page.D.clone(),c=g.height/g.width*c;a.C&&(a.C.dispose(),a.C=null);var g=a.page.A,h=g.getData(),h=fS(h);a.I=P(wS,void 0,void 0,a.B);yS(a.I,e,d*c);a.C=new nS(h,a.I,a.B);var k=e/g.A(),m=a.C;Md(function(){this.C==m&&tS(this.C,k,t(this.kt,this,b))},a);a.$=e}}f.nn=function( a){"CANVAS"==a.tagName&&a&&yS(a,0,0)}; function BS(a){var b=a.page.I,c=a.page.X,c="rc_"+b.getId()+"_"+c;Tv(rx(a.A),c,{ka:35,item:b});return c}function zS(a){a.N&&(Vv(rx(a.A),a.N),a.N=null)}f.zn=function(){};f.Z=function(){this.Ni();xS.O.Z .call(this)};function CS(a){this.D=a;this.B=null;this.A=[]}function DS(a,b){Xb(a.A);for(var c=b.start;c<=b.end;c++)a.A.push(c);for(var c=b.clone(),d=0;2>d;d++)c.start--,c.end++,a.A.push(c.end),a.A.pu sh(c.start);if(a.B)for(var d=a.B.end,e=a.B.start;e<=d;e++){var g=a.D[e];g&&!mp(c,e)&&g.Ni()}a.B=c;ES(a)}function ES(a){for(var b;!b&&0<a.A.length;)b=a.D[a.A.shift()];b&&(a=t(a.C,a),b.page.A?b.page.A& &b.page.A instanceof BP?(null!=b.H||PQ(b),a()):AS(b,a):a())}CS.prototype.C=function(){ES(this)};function FS(a,b){aR.call(this,a,b);this.pj=new CS(this.H)}v(FS,aR);FS.prototype.Y=function(){FS.O.Y.cal l(this);V(this).listen(this.item,"rb",this.vm)};FS.prototype.nj=function(){return xS};FS.prototype.Fe=function(){FS.O.Fe.call(this);DS(this.pj,this.item.R)};FS.prototype.vm=function(){DS(this.pj,this .item.R)};function GS(a,b){gp.call(this,b||"p_gp",a);this.B=null;D(this.co,200,this)}v(GS,uR);f=GS.prototype;f.Eb=function(){var a=bc(DJ.A);return AJ(a)};f.nb=function(a){return hh(a)?hh(a):ih(a)};f. Cb=function(a){return!!bh(a)&&!!ih(a)};f.tc=function(){return[1,6]};f.xb=function(){return bS};f.$b=function(){return HS(this)?aS:dS};f.rc=function(){return HS(this)?tR:FS};function HS(a){var b=L(a.A),c=Fg(b),c=4==(c&&Xf(c)),b=1==ug(b);return c&&b&&A||250<a.co()} f.co=function(){if(null===this.B){var a;a=new RO;if(a.A){if(window.performance&&window.performance.now){for(var b=Infinity,c=window.performance.now(),d=0;100>d;d++){var e=window.performance.now();if( 8<e-c)break;SO(a);b=Math.min(b,window.performance.now()-e)}a=b}else TO(a,5),a=TO(a,100);a*=5E3}else a=Infinity;this.B=a}return this.B};function IS(a,b){gp.call(this,a,b)}v(IS,uR); IS.prototype.Eb=function(){var a="application/msword application/vnd.ms-word.document.macroEnabled.12 application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.google-ap ps.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.1 2 application/vnd.openxmlformats-officedocument.presentationml.presentation image/tiff application/octet-stream+fnt".split(" ");Dg(L(this.A))|| (a.push("application/vnd.google-apps.presentation"),a.push("application/vnd.google-apps.punch"));Mg(L(this.A))||(a.push("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),a.push("ap plication/vnd.ms-excel"));return a};IS.prototype.xb=function(){return AQ};IS.prototype.rc=function(){return tR};function JS(a){gp.call(this,"p_s",a)}v(JS,IS);f=JS.prototype;f.Eb=function(){var a=bc(CJ.A);cc(a,bc(GJ.A));Mg(L(this.A))||cc(a,bc(EJ.A));Dg(L(this.A))||cc(a,bc(FJ.A));return AJ(a)};f.nb=function(a){return hh(a)?hh(a):ih(a)};f.Cb=function(a){return!!bh(a)&&!!ih(a)};f.tc=function( ){return[1,6]};f.xb=function(){return AQ};f.$b=function(){return ZR};function KS(){};function LS(a,b){so.call(this,a,b);this.C=null;this.D=!1}v(LS,so);var MS={pm:"vb",Tr:"wb"};function NS(a,b){yv.call(this,a,b);this.item=a;this.B=null}v(NS,yv);NS.prototype.oe=function(){this.F()};NS.prototype.F=function(){if(!this.item.C){var a=this.D();this.B=W(this.A).ma("IFRAME",{style:"border: none; display:none; height:100%; width:100%; z-index:1; position:absolute;",src:a,onload:t(this.C,this)});this.B.setAttribute("allowfullscreen","true");this.B.setAttribute("mozallowfullscreen","true" );this.B.setAttribute("webkitallowfullscreen","true");a=this.item;a.C=this.B;a.U("wb")}}; NS.prototype.D=q;NS.prototype.C=function(){Bo(this.item,1);var a=this.item;a.D=!0;a.U("vb")};function OS(a,b){NS.call(this,a,b);this.item=a}v(OS,NS);OS.prototype.F=function(){OS.O.F.call(this);Bo(thi s.item,1);Do(this.item,2)};OS.prototype.D=function(){var a=L(this.A),b=sh(this.item.A)?"/presentation/adminpreview":"/presentation/preview",b=eo(b,Ig(a)||xg(a),vg(a)),a=Ne(b,"authuser",qg(a),"id",gh( this.item.A));sh(this.item.A)&&(a=Ne(a,"auth_hint",sh(this.item.A),"auth_hint_timestamp",uh(this.item.A)));wh(this.item.A)&&(a=Ne(a,"revision_timestamp",wh(this.item.A)));return a}; OS.prototype.C=function(){OS.O.C.call(this);Do(this.item,1)};function PS(){return R('<div class="drive-viewer-iframe-view drive-viewer-itemview"></div>')};function QS(a,b){ju.call(this,a,b);this.item =a}v(QS,ju);f=QS.prototype;f.ea=function(){this.D=P(PS,void 0,void 0,this.B)};f.Y=function(){QS.O.Y.call(this);this.item.C?this.Yj():ml(V(this),this.item,MS.Tr,this.lA)};f.Ba=function(){this.I||(QS.O .Ba.call(this),uu(this),this.layout())};f.ab=function(){QS.O.ab.call(this);vu(this)};f.layout=function(){if(this.item.D){var a=du(this);RS(this,a)}};function RS(a,b){var c=a.J();Aq(c,b);mq(c,iu(a,b)) }f.lA=function(){this.Yj()};f.fp=function(){SS(this)}; f.Yj=function(){this.J().appendChild(this.item.C);this.item.D?SS(this):(this.item.getState()==uo.ae&&Bo(this.item,uo.LOADING),ml(V(this),this.item,MS.pm,this.fp))};f.ko=function(){return"SendKeyboard Events"};function SS(a){var b=go(Fj(a.B)),c=L(a.A),b=Ig(c)||xg(c)||b,c=a.item.C;c.contentWindow&&c.contentWindow.postMessage&&c.contentWindow.postMessage(a.ko(),b);T(c,!0);a.layout()}f.va=function(){ QS.O.va.call(this);var a=this.item;a.D=!1;a.th()};function TS(a,b){QS.call(this,a,b);this.C=null}v(TS,QS);var US=16/9,VS=[br[27],br[72],br[76],br[37],br[39],br[79]];f=TS.prototype;f.Y=function(){TS.O .Y.call(this);V(this).listen(this.item,wo.im,this.Vu);WS(this)};f.layout=function(){var a=du(this);if(29<a.height)var a=new K(a.width,a.height-29),b=a.width/a.height/US,a=1>b?new K(a.width,a.height*b ):new K(a.width/b,a.height),a=new K(a.width,a.height+29);else a=new K(0,0);b=this.J();Aq(b,a);mq(b,iu(this,a));XS(this)}; f.ko=function(){return"SendKeyboardEvents"+kf({wantedKeys:VS})};f.Yj=function(){var a=this.item.C;this.J().appendChild(a);this.item.D?SS(this):(this.item.F==uo.ae&&Do(this.item,uo.LOADING),ml(V(this) ,this.item,MS.pm,this.fp),T(a,!0),this.layout())};f.Vu=function(){WS(this)};function WS(a){var b=a.B;switch(a.item.F){case uo.ae:case uo.LOADING:a.C||(a.C=P(ix,void 0,void 0,b),b.Ca(a.J(),a.C));XS(a) ;break;case uo.LOADED:b.Sa(a.C),a.C=null}} function XS(a){if(a.C){var b=Dq(a.J()),c=Dq(a.C);mq(a.C,(b.width-c.width)/2,(b.height-c.height)/2)}};function YS(a){gp.call(this,"pu",a)}v(YS,gp);f=YS.prototype;f.nb=function(a){return hh(a)+gh(a)};f.Cb=function(a){return!!bh(a)&&!!gh(a)};f.Eb=function(){return["application/vnd.google-apps.presentation","application/vnd.google-apps.punch"]};f.xb=function(){return LS};f.rc=function(){return TS};f.$b=function(){return OS};function ZS(a,b){NS.call(this,a,b);this.item=a}v(ZS,NS);ZS.prototype.D=function(){var a=L(this.A),b=sh(this.item.A)?"/spreadsheet/adminprevi ew":"/spreadsheet/preview",b=eo(b,Ig(a)||xg(a),vg(a)),a=Ne(b,"authuser",qg(a),"key",gh(this.item.A));sh(this.item.A)&&(a=Ne(a,"auth_hint",sh(this.item.A),"auth_hint_timestamp",uh(this.item.A)));wh(th is.item.A)&&(a=Ne(a,"revision_timestamp",wh(this.item.A)));return a};function $S(a,b){QS.call(this,a,b)}v($S,QS);$S.prototype.Ba=function(){$S.O.Ba.call(this);T(this.J(),!0)};$S.prototype.ab=function (){$S.O.ab.call(this);E(null)};$S.prototype.layout=function(){if(this.item.D){var a=du(this);if(A&&!Oc(10)){var b=this.J(),c=Dq(b);if(0==c.width&&0==c.height&&0<a.width&&0<a.height){T(b,!1);RS(this,n ew K(a.width-1,a.height-1));aT(this);return}}RS(this,a)}};function aT(a){a.I&&D(function(){T(this.J(),!0);this.layout()},100,a)} $S.prototype.va=function(){$S.O.va.call(this);E(null)};function bT(a){gp.call(this,"si",a)}v(bT,gp);f=bT.prototype;f.nb=function(a){return hh(a)+gh(a)};f.Cb=function(a){return!!bh(a)&&!!gh(a)};f.Eb=f unction(){return["application/vnd.google-apps.ritz","application/vnd.google-apps.spreadsheet"]};f.xb=function(){return LS};f.rc=function(){return $S};f.$b=function(){return ZS};function cT(a,b){this.A=[0];this.C=[];this.B=0;this.F=a;this.D=b||null;null!=this.D&&(this.A[1]=this.D)}function dT(a,b,c){if(b==a.B)for(a.A[a.B+1]=a.A[a.B]+c,a.B++;null!=a.C[++b];)c=a,c.A[c.B+1]=c.A[c.B]+a. C[b],c.B++,delete a.C[b];else b<a.B||(a.C[b]=c);a.B<a.F&&null!=a.D&&(a.A[a.B+1]=a.A[a.B]+a.D)} function eT(a,b,c){var d=fT(a);if(b>d||0>b+c||1==a.A.length)return null;0>b&&(c+=b,b=0);b+c>d&&(c=d-b);d=gc(a.A,b);0>d?d=-d-2:0<d&&d--;b=gc(a.A,b+c);0>b?b=-b-2:b==a.A.length-1&&b--;return new kp(d,b)}function fT(a){return a.A[a.A.length-1]}cT.prototype.isEmpty=function(){return 0==this.B};function gT(a,b,c){this.B=new cT(a,c);this.A=new cT(b,c)}function hT(a,b){var c=eT(a.B,b.top,b.h eight),d=eT(a.A,b.left,b.width);return c&&d?new Yp(d.start,c.start,d.end-d.start+1,c.end-c.start+1):null}function iT(a,b){var c=new Yp(0,0,0,0);c.left=a.A.A[b.left];c.top=a.B.A[b.top];c.width=a.A.A[b .left+b.width]-c.left;c.height=a.B.A[b.top+b.height]-c.top;return c};function jT(a,b){CP.call(this,a,b);this.A=!1}v(jT,CP);function kT(a,b,c){this.H=a;this.D=b;this.A=4*c;50<this.D&&(this.A=2*c);100< this.D&&(this.A=c);this.B=[];this.C=0;this.F=Number.POSITIVE_INFINITY;this.I=Math.ceil(a/this.A)}kT.prototype.isEmpty=function(){return 0==this.C};function lT(a,b){var c=G(wf(b,aF,2),2);return Math.floor(c/a.A)};function mT(a,b,c,d){B.call(this);this.I=a;this.C=b;this.D=c;this.B=null;this.V=d;this.L=this.H=null;this.F=!1;this.R=this.A=null}v(mT,B);mT.prototype.getContent=function(){return this.B};mT.prototype.getImageData=function(a,b){if(this.L!=a||!this.H&&!this.A){var c=Dj(b,"CANVAS");c.style.visibility="hidden";Ti(c,{width:this.B.width*a,height:this.B.height*a});this.A&&this.A.di spose();E(this.R);this.A=new nS(this.B,c,b);this.L=a;this.H=null;tS(this.A,a,t(this.N,this,c))}return this.H}; mT.prototype.N=function(a){this.H=a.getContext("2d").getImageData(0,0,a.width,a.height);this.A.dispose();this.A=null;a=t(this.U,this,"Bb");this.R=D(a,0)};mT.prototype.Z=function(){E(this.R);mT.O.Z.ca ll(this)};function nT(a,b,c){this.C=a;this.D=b;this.A=c;this.B=Math.ceil((this.C-this.A)/this.D);0<this.A&&++this.B}function nF(a,b){if(b<a.A)return 0;var c=Math.floor((b-a.A)/a.D);0<a.A&&++c;return c}function oT(a,b){if(b==a.B)return a.C;var c=b*a.D;0<a.A&&0<b&&(c+=a.A-a.D);return c}function pT(a,b){return new kp(oT(a,b),oT(a,b+1))};function qT(a,b,c,d,e,g,h){B.call(this);this.sa=a;this.$=b;th is.N=c;this.L=d;this.H=g;this.F=h;this.R=[];this.C=new kT(this.$,this.N,50);this.V=new nT(this.$,50,g);this.I=new nT(this.N,20,h);this.D=new gT(this.$,this.N);this.A=new gT(this.V.B,this.I.B,1E4);thi s.B=e;this.aa=!1;this.S=[];this.W=[];this.X=[];this.ba=[]}v(qT,B);function rT(a){return!a.A.A.isEmpty()&&!a.A.B.isEmpty()}function sT(a){return!!mF(a,0,0).F&&0==a.C.F} function tT(a,b,c){var d=G(wf(b,aF,2),2);b=G(wf(b,aF,2),1);d=mF(a,nF(a.V,d),nF(a.I,b));d.B=c;dT(a.A.B,d.C,d.getContent().height);dT(a.A.A,d.D,d.getContent().width);a.U("Bb")}function uT(a,b){return iT(a.D,b)}function vT(a,b,c){a=mF(a,b,c);a.getContent()||a.F||a.U("Ab");return a}function mF(a,b,c){var d=a.R[b]&&a.R[b][c];d||(d=new mT(a,b,c,a.A),d.Wb(a),x(a,d),a.R[b]||(a.R[b]=[]), a.R[b][c]=d);return d} function wT(a,b){var c=pT(a.V,b.C),d=pT(a.I,b.D),e=new cF;H(e,1,a.L);var g=new aF;H(g,1,d.start);H(g,2,c.start);yf(e,2,g);g=new $E;H(g,1,lp(d));H(g,2,lp(c));yf(e,3,g);return e}function xT(a){for(var b=0;b<a.length;b++)a[b].A=!1}qT.prototype.getMetadata=function(){return this.C};function yT(a){return 0==a.H||a.A.B.isEmpty()?0:a.A.B.A[1]}function zT(a){return 0==a.F||a.A.A.isEmpty() ?0:a.A.A.A[1]} function AT(a,b,c,d,e){for(var g=a.A.length-1,h=0;h<c.length;++h)dT(a,d+h,c[h]);c=a.A.length-1;for(g=nF(e,g);g<e.B;){d=pT(e,g);if(d.end>c)break;dT(b,g,a.A[d.end]-a.A[d.start]);g++}};function BT(a,b){CR.call(this,a,b);this.item=a;this.Ka.listen(this.item,"Ab",this.eE);this.Ka.listen(this.item,"yb",this.WD);this.tb={};this.$=null}v(BT,CR);f=BT.prototype;f.Rq=function(a){a=new dF(a.sheets);for(var b=0;b<G(a,1);++b);for(b=0;b<G(a,1);++b){var c=G(a,3)[b],d=G(xf(a,$E,2)[b],2),e=G(xf(a,$E,2)[b],1),g=2==G(a,5)[b],h=xf(a,$E,4)[b],k=G(h,2),h=G(h,1),d=new qT(c,d,e,b,g,k,h),c=this .item;c.D.push(d);d.Wb(c);x(c,d)}this.$=a;this.item.U("xb");Bo(this.item,1)};f.zi=function(){}; f.eE=function(a){var b=a.target;a=G(this.$,6);var c=wf(this.$,$E,7);a&&0==b.I.L&&0==b.D&&0==b.C&&50==G(c,2)&&20==G(c,1)?(b=wT(b.I,b),c=this.item.D[0],a=hf(a),tT(c,b,fS(a))):(a={},a.sheets=wT(b.I,b).I (),NR(this,0,a))}; f.WD=function(a){a=a.target;for(var b=a.getMetadata(),c=[],d=b.C;d<b.I&&3>c.length&&!(d>=b.F);++d)if(!b.B[d]){var e=d*b.A,g=Math.min(b.H-e,b.A),h=new cF,k=new aF;H(k,2,e);yf(h,2,k);e=new $E;H(e,2,g);yf(h,3,e);c.push(h)}for(b=0;b<c.length;++b)d=c[b],H(d,1,a.L),d=d.I(),this.tb[d]||(this.tb[d]=!0,g={},g.sheets=d,QR(this,IK,g))};f.Xg=function(a,b,c){a=new cF(jf(b.sheets));b=G(a,1);tT(th is.item.D[b],a,fS(c))};f.Hh=function(){return IK};f.sg=function(){return!1}; f.kq=function(a,b){var c=new cF(jf(a.sheets)),d=G(c,1),e=new gF(b),d=this.item.D[d],g=d.C,h=lT(g,c);for(g.B[h]=e;g.B[g.C];)g.C++;g=vf(e,2);AT(d.D.A,d.A.A,g,0,d.I);c=G(wf(c,aF,2),2);g=vf(e,1);AT(d.D.B ,d.A.B,g,c,d.V);e=xf(e,fF,7);for(c=0;c<e.length;c++){var h=wf(e[c],aF,1),g=G(h,1),k=G(h,2),h=G(e[c],2);null!=g&&null!=k&&null!=h&&(g=new Yp(g,k,1,1),h=new jT(h,g),g.left<d.F&&g.top<d.H?d.ba.push(h):g .left<d.F?d.W.push(h):g.top<d.H?d.X.push(h):d.S.push(h))}d.U("zb")}; f.jq=function(a){a=new cF(jf(a.sheets));var b=G(a,1),b=this.item.D[b],c=b.getMetadata();a=lT(c,a);c.F=Math.min(c.F,a);b.U("Bb")};f.ug=function(){var a=wf(L(this.A),kg,61),b;if(b=!!a)b=null==G(a,4)?!1 :G(a,4);return b};f.Ih=function(){return[{meta:{}}]};function CT(a,b,c){w.call(this);this.C=b;this.D=[];this.H=[];this.B=[];this.F="";this.R=a;for(b=0;b<a.D.length;++b){var d=new UO;this.B.push(d);x( this,d)}this.I=new M(this);x(this,this.I);this.I.listen(this.C,"fb",this.L).listen(this.C,"gb",this.N);this.A=0;this.V=c}v(CT,w);CT.prototype.L=function(){this.D=[];this.H=[];this.F="";for(var a=0;a<this.B.length;++a)VO(this.B[a],[]),YO(this.B[a],[])}; CT.prototype.N=function(a){var b=a.value;a=a.D?-1:1;this.F!=b&&(this.D=[],this.H=[],a=0,DT(this,b));ET(this,a)}; function DT(a,b){var c=a.R.D[a.A];if(!a.D[a.A]){var d=a.D,e=a.A,g;if(b){g=c.getMetadata();var h;h=b.toLocaleLowerCase();for(var k=[],m=0;m<g.C;++m)for(var p=G(g.B[m],3),r=m*g.A,z=Math.min(g.H-r,g.A), C=0;C<z;++C)for(var F=C*g.D,J=0;J<g.D;++J){var la=p[F+J];la&&0<=la.toLocaleLowerCase().indexOf(h)&&k.push(new I(J,C+r))}g=k}else g=[];d[e]=g}d=a.D[a.A];e=[];for(g=0;g<d.length;++g)h=d[g],k=h.x+" "+h.y,m=uT(c,new Yp(h.x,h.y,1,1)),eq(m,1/fT(c.A.A),1/fT(c.A.B)),e.push(new RQ(m,k,h));VO(a.B[a.A],e);a.F=b; xP(a.C,0,0)}function ET(a,b){var c=a.H[a.A];null!=c||(c=0);var d=a.D[a.A].length,c=0<d?xi(c+b,d):0;a.H[a.A]=c;var e=a.B[a.A];0<d?(xP(a.C,c+1,d),c=a.D[a.A][c],YO(e,[e.A[c.x+" "+c.y]])):YO(e,[])};funct ion FT(a,b,c,d){kH.call(this,a,b,c||d);(c||d)&&this.F(65|(d?32:132))}v(FT,kH);function GT(){}v(GT,Ls);da(GT);f=GT.prototype;f.bc=function(a){var b=Cs(this,a),b=a.B.ma("DIV",{"class":"goog-inline-bloc k "+b.join(" ")},this.jh(a.getContent(),a.B));this.ta(b,a.yb());return b};f.Rc=function(){return"button"};f.Sc=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.jh=function(a,b){return b.ma("DIV","goog-inline-block "+(this.ia()+"-outer-box"),b.ma("DIV","goog-inline-block "+(this.ia()+"-inner-box"),a))};f.Rh=function(a){return"DIV"==a.tagName}; f.bb=function(a,b){HT(b,!0);HT(b,!1);var c;a:{c=a.B.ik(b);var d=this.ia()+"-outer-box";if(c&&Pp(c,d)&&(c=a.B.ik(c),d=this.ia()+"-inner-box",c&&Pp(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.jh(b.c hildNodes,a.B));Qp(b,["goog-inline-block",this.ia()]);return GT.O.bb.call(this,a,b)};f.ia=function(){return"goog-custom-button"}; function HT(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 e=c.nodeValue;if(""==Ea(e))a.removeChild(c);else{c.nodeValu e=b?Fa(e):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function IT(){}v(IT,GT);da(IT);IT.prototype.Sc=function(a){return IT.O.Sc.call(this,a&&a.firstChild)};IT.prototype.bb=function(a,b){var c=Ri(document,"*","goog-menu",b)[0];if(c){T(c,!1);Oi(c).body.appendChild(c);var d=new IH;rs(d,c);JT(a,d)}return IT.O.bb.call(this,a,b)};IT.prototype.jh=function(a,b){return IT.O.jh.call(this,[KT(thi s,a,b),b.ma("DIV","goog-inline-block "+(this.ia()+"-dropdown"),"\u00a0")],b)};function KT(a,b,c){a=a.ia();return c.ma("DIV","goog-inline-block "+(a+"-caption"),b)} IT.prototype.ia=function(){return"goog-menu-button"};function LT(a,b,c,d,e){dt.call(this,a,c||IT.la(),d);this.Za(64,!0);this.F=new FT(null,9);b&&JT(this,b);this.N=new ze(500);!Ze&&!$e||Nc("533.17.9") ||(this.oi=!0);e||GH.la()}v(LT,dt);f=LT.prototype;f.oi=!1;f.Y=function(){LT.O.Y.call(this);MT(this,!0);this.A&&NT(this,this.A,!0);pk(this.D,"haspopup",!!this.A)};f.va=function(){LT.O.va.call(this);MT (this,!1);if(this.A){this.hb(!1);this.A.va();NT(this,this.A,!1);var a=this.A.J();a&&hj(a)}}; f.Z=function(){LT.O.Z.call(this);this.A&&(this.A.dispose(),delete this.A);delete this.za;this.N.dispose()};f.Tc=function(a){LT.O.Tc.call(this,a);Js(this,4)&&(this.hb(!Js(this,64),a),this.A&&(this.A.m d=Js(this,64)))};f.Uc=function(a){LT.O.Uc.call(this,a);this.A&&!Js(this,4)&&(this.A.md=!1)};f.Pd=function(){Vs(this,!1);return!0};f.Bz=function(a){this.A&&this.A.da()&&!this.Ck(a.target)&&this.hb(!1) }; f.Ck=function(a){var b;if(!(b=a&&mj(this.J(),a))&&(b=this.A))a:if(b=this.A,mj(b.J(),a))b=!0;else{for(var c=0,d=ts(b);c<d;c++){var e=us(b,c);if("function"==typeof e.Ck&&e.Ck(a)){b=!0;break a}}b=!1}return b||!1}; f.hd=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.A&&this.A.da()){var b=13==a.keyCode||32==a.keyCode,c=this.A.zb(a);return 27==a.keyCode||b?(this.hb(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.hb(!0,a),!0):!1};f.Mk=function(){this.hb(!1)};f.MA=function(){Js(this,4)||this.hb(!1)};f.T h=function(a){this.oi||this.hb(!1);LT.O.Th.call(this,a)}; function JT(a,b){var c=a.A;b!=c&&(c&&(a.hb(!1),a.oa&&NT(a,c,!1),delete a.A),a.oa&&pk(a.D,"haspopup",!!b),b&&(a.A=b,ns(b,a),b.setVisible(!1),c=a.oi,(b.Bj=c)&&Ku(b,!0),a.oa&&NT(a,b,!0)))}f.setVisible=f unction(a,b){var c=LT.O.setVisible.call(this,a,b);c&&!this.da()&&this.hb(!1);return c};f.setEnabled=function(a){LT.O.setEnabled.call(this,a);this.isEnabled()||this.hb(!1)}; f.hb=function(a,b){LT.O.hb.call(this,a);if(this.A&&Js(this,64)==a){if(a)this.A.oa||this.A.ga(),this.na=sq(this.J()),this.X=Fq(this.J()),OT(this),!b||40!=b.keyCode&&38!=b.keyCode?this.A.ud(-1):Gu(this .A);else{Vs(this,!1);this.A.md=!1;var c=this.J();c&&(pk(c,"activedescendant",""),pk(c,"owns",""));null!=this.tb&&(this.tb=void 0,(c=this.A.J())&&Aq(c,"",""))}this.A.setVisible(a,!1,b);if(!this.Aa){va r c=V(this),d=a?c.listen:c.wa;d.call(c,this.B.A,"mousedown",this.Bz,!0);this.oi&&d.call(c,this.A,"blur", this.MA);d.call(c,this.N,"tick",this.Ey);a?this.N.start():this.N.stop()}}this.A&&this.A.J()&&this.A.D.removeAttribute("aria-hidden")};function OT(a){if(a.A.oa){var b=a.F;a.F.A=a.za||a.J();var c=a.A.J();a.A.da()||(c.style.visibility="hidden",T(c,!0));!a.tb&&a.F.L&&a.F.C&32&&(a.tb=Dq(c));b.Bc(c,b.B^1,null,a.tb);a.A.da()||(T(c,!1),c.style.visibility="visible")}} f.Ey=function(){var a=Fq(this.J()),b=sq(this.J()),c;(c=!Zp(this.X,a))||(c=this.na,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.X=a,this.na=b,OT(this)) };function NT(a,b,c){var d=V(a);c=c?d.listen:d.wa;c.call(d,b,"action",a.Mk);c.call(d,b,"close",a.By);c.call(d,b,"highlight",a.Cy);c.call(d,b,"unhighlight",a.Dy)}function MT(a,b){var c=V(a);(b?c.listen:c.wa).call(c,a.J(),"keydown",a.xA)}f.Cy=function(a){(a=a.target.J())&&PT(this,a)}; f.xA=function(a){Is(this,32)&&this.J()&&this.A&&this.A.da()&&a.B()};f.Dy=function(){if(!Fu(this.A)){var a=this.J();pk(a,"activedescendant","");pk(a,"owns","")}};f.By=function(a){if(Js(this,64)&&a.tar get instanceof DH){a=a.target;var b=a.J();a.da()&&Js(a,2)&&null!=b&&PT(this,b)}};function PT(a,b){var c=a.J(),d=rk(b)||b;if(!d.id){var e=gs.la();d.id=hs(e)}sk(c,d);pk(c,"owns",d.id)}Ms("goog-menu-but ton",function(){return new LT(null)});function QT(a,b){LT.call(this,null,null,b||iP.la(),a);this.ha=this.W=!1;this.L=null}v(QT,LT);f=QT.prototype;f.Mk=function(a){this.ha||QT.O.Mk.call(this,a)};f.Y=f unction(){QT.O.Y.call(this);this.F.F&&this.F.F(33);Yr(this.J(),this.yb(),void 0,this.H||void 0)};f.ta=function(a,b,c){n(b)?Ss(this,b):Ss(this,a);this.Ud(a);this.W&&!Aa(Ca(a))||Yr(this.J(),a,void 0,b,c)}; f.Td=function(a,b){a?Aa(Ca(this.L))&&(this.L=this.yb()||null,this.ta(""),this.J()&&!Aa(Ca(b))&&tk(this.J(),b),this.W=!0):Aa(Ca(this.L))||(this.W=!1,this.ta(this.L||"",this.H||void 0),this.L=null)};f. zf=function(a){QT.O.zf.call(this,a);RT(this,!1)};f.Tc=function(a){QT.O.Tc.call(this,a);this.isEnabled()&&RT(this,!0)};function RT(a,b){a.J()&&Tp(a.J(),"drive-viewer-button-clear-border",b)};function ST(a){IH.call(this,W(a),TT.la());this.A=a;this.C=null;this.kh()}v(ST,IH);ST.prototype.Y=function(){ST.O.Y.call(this);S(this.J(),"drive-viewer-scrollable");3==Og(L(this.A))&&S(this.J(),"drive-viewer- v3")};function UT(a,b){return new xH(b,W(a.A),VT.la())}function WT(a,b,c){return new DH(b,c,W(a.A),XT.la())} ST.prototype.setVisible=function(a,b,c){var d=this.A;if(d.Aa)return!1;if(a){var e=al(d,Dy);e&&e.Dc();(e=al(d,Ey))&&e.Dc();ZT(gz(d));e=this.wh();c&&null!==e&&nv(ov(d),{ka:e,qa:pr(c)})}(a=ST.O.setVisib le.call(this,a,b,c))&&this.C&&(b=this.C,b.U(b.B));return a};function TT(){GH.call(this)}v(TT,GH);da(TT);TT.prototype.ia=function(){return"drive-viewer-menu"};function XT(){this.B=[]}v(XT,yH);da(XT);X T.prototype.ia=function(){return"drive-viewer-menuitem"};function VT(){}v(VT,wH);da(VT); VT.prototype.ia=function(){return"drive-viewer-menu-header"};function $T(){}v($T,EH);da($T);$T.prototype.ia=function(){return"drive-viewer-menu-separator"};function aU(a){ST.call(this,a);this.F=[]}v( aU,ST);aU.prototype.Y=function(){aU.O.Y.call(this);V(this).listen(this,"aftershow",this.H);S(this.J(),"drive-viewer-spreadsheet-picker-more-menu")};aU.prototype.H=function(){this.J().scrollTop=this.J ().scrollHeight-this.J().clientHeight};aU.prototype.kh=function(){};aU.prototype.wh=function(){return null};function bU(a,b,c){Tp(a.F[b].J(),"drive-viewer-button-toggled",c)};function cU(){return R('<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 dU(){return R('<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 eU(){return R('<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-sprea dsheet-more-icon" /></div></div>')}function fU(a){return R('<div class="drive-viewer-dark-button drive-viewer-spreadsheet-picker-button">'+Q(a.name)+"</div>")};function gU(a){X.call(this,a);this.F=[] ;this.C=0;this.H=new QT(W(this.A));this.ca(this.H);this.H.setVisible(!1);this.I=new aU(a);x(this,this.I)}v(gU,X);gU.prototype.ea=function(){this.D=P(eU,void 0,void 0,W(this.A))};gU.prototype.Y=functi on(){gU.O.Y.call(this);rs(this.H,U(this,"drive-viewer-spreadsheet-picker-more-button"));this.H.ta("More sheets");JT(this.H,this.I);var a=this.H;a.F.F&&a.F.F(5)};gU.prototype.hide=function(){T(this.J( ),!1)}; gU.prototype.layout=function(){var a;a=this.D;var b=Dq(a);a=Qq(a,"padding");a=b.width-a.left-a.right;for(var c=0;c<this.F.length;++c){b=hU(this.F[c].D);if(a<b)break;a-=b}b=c;b<this.F.length&&0<b&&(c= hU(this.H.D),a<c&&--b);for(c=0;c<this.F.length;++c)this.F[c].setVisible(c<b);a=this.I;for(var c=b,d=0;d<a.F.length;++d)a.F[d].setVisible(d>=c);this.H.setVisible(b<this.F.length)};function hU(a){var b=Dq(a);a=Rq(a);return a.left+b.width+a.right};function iU(a,b,c){dP.call(this,a,c);this.F=b}v(iU,dP);iU.prototype.dh=function(a){return a.target!=this.F};iU.prototype.$f=function(){var a=this.D.x-this.B.left;0<=a&&(a+=vr(this.F));var b=this.D.y-this.B.top;0<=b&&(b+=this.F.scrollTop);return new I(a,b)};iU.prototype.Jn=function(a,b){var c=this.getState().A.clone();0>c.x&&(a=0);0>c.y &&(b=0);0!=b&&(this.F.scrollTop+=b);0!=a&&(c=vr(this.F),xr(this.F,c+a))};function jU(a,b,c,d,e){X.call(this,c);this.I=b;this.F=a;this.C=d;this.H=e}v(jU,X);jU.prototype.ea=function(){var a=P(lx,{url:this.F.D},void 0,this.B);yr(a,this.C.left,this.C.top,this.H);Aq(a,this.C.width+"px",this.C.height+"px");this.F.A=!0;V(this).listen(a,"click",this.L);this.D=a};jU.prototype.ga=function(a) {try{jU.O.ga.call(this,a)}catch(b){}};jU.prototype.L=function(a){nv(ov(this.A),{ka:86,qa:pr(a),item:this.I})};function kU(a,b){this.B=a;this.A=this.H=null;this.S=b;this.I=this.F=this.D=null;this.C=1; this.R=!1}function lU(a,b){var c=Dj(Mi(),"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 mU=lU(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()}}),nU=lU(160,function(a){a.save();a.fillStyle="#3c3c3c";a.fillRect(0,0,160,16 0);a.restore()}); function oU(a,b,c,d){if(0!=c){a.A.save();try{a.A.beginPath();a.A.rect(0,d+b,920,c);a.A.clip();var e;if(e=hT(a.B.D,new Yp(0,b,Number.POSITIVE_INFINITY,c))){for(var g=uT(a.B,e).top+d,h=e.top;h<e.top+e. height;++h){var k,m=a.B.getMetadata();b=h;var p=Math.floor(b/m.A);k=vf(m.B[p],1)[b-p*m.A];pU(a,0,g-10,920,g-10);a.A.save();try{a.A.beginPath(),a.A.rect(0,g+10,920,k-20),a.A.clip(),qU(a,h+1+"",460,g+k /2)}finally{a.A.restore()}g+=k}pU(a,0,g-10,920,g-10)}}finally{a.A.restore()}}} function rU(a,b,c,d){if(0!=c){a.A.save();try{a.A.beginPath();a.A.rect(d+b,0,c,480);a.A.clip();var e;if(e=hT(a.B.D,new Yp(b,0,c,Number.POSITIVE_INFINITY))){for(var g=uT(a.B,e).left+d,h=e.left;h<e.left +e.width;++h){var k,m=a.B.getMetadata();b=h;k=vf(m.B[0],2)[b];pU(a,g-10,0,g-10,480);a.A.save();try{a.A.beginPath();a.A.rect(g+10,0,k-20,480);a.A.clip();b=h;c="";do c=String.fromCharCode(65+b%26)+c,b/ =26,--b;while(0<=b);qU(a,c,g+k/2,240)}finally{a.A.restore()}g+=k}pU(a,g-10,0,g-10,480)}}finally{a.A.restore()}}} function qU(a,b,c,d){if(a.B.B){a.A.save();try{a.A.translate(2*c,0),a.A.scale(-1,1),a.A.fillText(b,c,d)}finally{a.A.restore()}}else a.A.fillText(b,c,d)}function pU(a,b,c,d,e,g,h){a.A.save();try{g&&(a. A.strokeStyle=g),h&&(a.A.lineWidth=h),a.A.beginPath(),a.A.moveTo(b,c),a.A.lineTo(d,e),a.A.stroke()}finally{a.A.restore()}} kU.prototype.V=function(a,b){for(var c=hT(this.B.A,a),d=0;d<c.height;++d)for(var e=0;e<c.width;++e){var g=vT(this.B,c.top+d,c.left+e),h=a,k=b,m;m=iT(this.B.A,new Yp(g.D,g.C,1,1));if($p(m,h))if(h=g.ge tContent()&&g.getImageData(this.C,this.S)){var p=(g.V.A.A[g.D]+k.x)*this.C,r=(g.V.B.A[g.C]+k.y)*this.C;dq(m,k);eq(m,this.C);var k=m.left-p,z=m.top-r,C=m.width;m=m.height;this.B.B&&(p=this.H.width-p-h .width,k=g.getContent().width*this.C-k-C);this.A.putImageData(h,p,r,k,z,C,m);this.R=!0}else g.F?sU(this, m,k,mU):sU(this,m,k,nU)}};function sU(a,b,c,d){var e=b.left+c.x,g=b.top+c.y,h=d.width;a.A.save();try{var k=xi(-c.x,h),m=xi(-c.y,h);a.A.translate(-k,-m);a.A.fillStyle=a.A.createPattern(d,"repeat");a.A .fillRect(e+k,g+m,b.width,b.height)}finally{a.A.restore()}} kU.prototype.L=function(a,b){var c=this.F.A,d=this.F.B;if(0!=mb(c)){this.A.save();try{this.A.fillStyle="#ff5";this.A.globalAlpha=.5;var e=hT(this.B.D,a);if(e){for(var g in c)tU(this,c[g],e,b);this.A. fillStyle="#ff9632";for(c=0;c<d.length;++c)tU(this,d[c],e,b)}}finally{this.A.restore()}}}; function tU(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=uT(a.B,new Yp(b.x,b.y,1,1)),c.left+=d.x,c.top+=d.y,c.width-=20,c.height-=20,a.A.fillRect(c.left, c.top,c.width,c.height))} kU.prototype.N=function(a,b){var c=uT(this.B,this.I);a.left++;a.top++;a.width-=2;a.height-=2;if(aq(a,c)){this.A.save();try{this.A.fillStyle="#2288ee",this.A.strokeStyle="#4285f4",this.A.lineWidth=20, this.A.globalAlpha=.2,c.left+=b.x,c.top+=b.y,this.A.fillRect(c.left,c.top,c.width-20,c.height-20),this.A.globalAlpha=1,this.A.strokeRect(c.left-10,c.top-10,c.width,c.height)}finally{this.A.restore()} }}; function uU(a,b,c){var d=zT(a.B)-20,e=yT(a.B)-20,g=a.D.left,h=a.D.top,k=vU(a)-wU(a),m=xU(a)-yU(a),p=920+wU(a)-a.D.left,r=480+yU(a)-a.D.top,d=[new Yp(0,0,d,e),new Yp(g,0,k,e),new Yp(0,h,d,m),new Yp(g,h,k,m)],p=[new I(920,480),new I(p,480),new I(920,r),new I(p,r)];c=c||0;for(r=0;4>r;++r)if(e=d[r],g=p[r],0<e.width&&0<e.height){a.A.save();try{a.A.beginPath(),a.A.rect(e.left+g.x-c,e.top+g.y-c,e .width+2*c,e.height+2*c),a.A.clip(),b.call(a,e,g)}finally{a.A.restore()}}} function vU(a){return Math.min(a.D.width,fT(a.B.A.A)-a.D.left)+wU(a)}function xU(a){return Math.min(a.D.height,fT(a.B.A.B)-a.D.top)+yU(a)}function wU(a){return 0==zT(a.B)?0:zT(a.B)+40-20}function yU(a){return 0==yT(a.B)?0:yT(a.B)+40-20};function zU(a,b,c,d){X.call(this,c);this.kb=a;this.C=b;this.Ib=this.H=this.eb=this.I=this.Wa=this.X=this.L=null;this.F=new kU(this.C,W(this.A));this.Jb=d;thi s.Ha=this.ha=this.N=this.Kb=null;this.W=!1;this.Ja=this.na=this.za=this.$=this.aa=this.La=null;this.Ph(b.B);this.S=null;this.fa=rx(c)}v(zU,X);f=zU.prototype;f.ea=function(){this.D=P(dU,void 0,void 0,this.B);T(this.J(),!1);fq(this.J(),"direction",this.C.B?"rtl":"ltr")}; f.Y=function(){zU.O.Y.call(this);this.I=U(this,"drive-viewer-spreadsheet-content");fq(this.I,"direction","ltr");var a=this.F,b=this.I;a.H=b;a.A=b.getContext("2d");this.eb=this.I.getContext("2d");this .Ib=U(this,"drive-viewer-spreadsheet-scroll-body");this.H=U(this,"drive-viewer-spreadsheet-scroll-container");this.L=new iU(this.D,this.H,this.A);x(this,this.L);this.L.B.left=(920+wU(this.F))/20;this .L.B.top=(480+yU(this.F))/20;this.La=U(this,"drive-viewer-spreadsheet-scroll-link-container");this.aa=U(this, "drive-viewer-spreadsheet-frozen-vertical-container");this.$=U(this,"drive-viewer-spreadsheet-frozen-horizontal-container");this.za=U(this,"drive-viewer-spreadsheet-frozen-fixed-links");a=this.B;this .na=Cj(a,this.$);this.Ja=Cj(a,this.aa);a=this.B;a.Fb(this.La);a.Fb(this.na);a.Fb(this.Ja);a.Fb(this.za);a=this.C;xT(a.ba);xT(a.W);xT(a.X);xT(a.S);zk(this.I,!0);zk(this.H,!0);V(this).listen(this.C,"Bb ",this.Ac).listen(this.C,"zb",this.Zu).listen(this.H,"scroll",this.Ac).listen(this.J(),"touchstart",this.av).listen(this.J(), "touchend",this.$u);this.Kb=D(this.Ac,0,this);this.C.getMetadata().isEmpty()||AU(this);BU(this)};f.$u=function(a){null!=this.Ha&&(vr(this.H)!=this.Ha&&a.B(),this.Ha=null)};f.av=function(){this.Ha=vr( this.H)};function CU(a,b){if(a.W=b){if(!a.C.aa){if(!a.S){a.S=Wv(a.fa,"satv_",{ka:85,item:a.kb});var c=qA(a.fa.A[a.S]);H(c,5,a.C.L);ml(V(a),a.C,"Cb",t(a.Sj,a,1))}a.C.aa=!0}a.Jb=!1;a.Ac()}T(a.J(),b);a. ha&&a.B.Ya(a.ha,b);a.N&&a.B.Ya(a.N,a.W)}f.Sj=function(a){this.S&&this.fa.A[this.S]&&$v(this.fa,this.S,a)}; f.getContent=function(){return this.C}; f.Ac=function(){this.L.B.left=(920+wU(this.F))/20;this.L.B.top=(480+yU(this.F))/20;var a=(fT(this.C.A.A)-zT(this.C))/20,b=(fT(this.C.A.B)-yT(this.C))/20;Aq(this.Ib,a,b);var c=(920+wU(this.F))/20,d=(4 80+yU(this.F))/20;Bq(this.aa,c);Cq(this.$,d);Bq(this.na,a);Cq(this.Ja,b);Aq(this.za,c,d);yr(this.H,c,d,this.C.B);yr(this.aa,0,d,this.C.B);yr(this.$,c,0,this.C.B);this.aa.scrollTop=this.H.scrollTop;xr (this.$,vr(this.H));fq(this.$,this.C.B?"left":"right",0);if(a=DU(this,!1)){if(sT(this.C)){if(!this.N){this.Sj(2); var e=this.B;this.N=P(hx,{Xe:"Whoops!",error:"There was a problem previewing this sheet."},void 0,e);e.Ya(this.N,this.W);pk(this.N,"label","There was a problem previewing this sheet.");e.Ca(this.J(), this.N);this.W&&yk(this.A.get(wy),"There was a problem previewing this sheet.")}}else if(rT(this.C)){b=EU(this,!1);c=gK(eu(this.A));Ti(this.I,{width:b.width*c,height:b.height*c});Aq(this.I,b.width,b. height);b=c/20;this.eb.clearRect(0,0,this.I.width,this.I.height);this.F.D=a.clone();this.F.F=this.Wa;this.F.I= this.X;this.F.C=b;b=this.F;b.A.save();try{b.R=!1;b.B.B&&(b.A.translate(b.H.width,0),b.A.scale(-1,1));b.A.scale(b.C,b.C);uU(b,b.V);b.F&&uU(b,b.L);var e=vU(b),g=xU(b);b.A.save();try{b.A.fillStyle="#303 030";b.A.fillRect(0,480,920,g);b.A.fillRect(920,0,e,480);b.A.strokeStyle="#646464";b.A.lineWidth=20;b.B.C.isEmpty()||(b.A.fillStyle="#AAA",b.A.textAlign="center",b.A.font="240px Arial",b.A.textBaseli ne="middle",rU(b,0,zT(b.B),920),rU(b,b.D.left,b.D.width,920-b.D.left+wU(b)),oU(b,0,yT(b.B),480),oU(b,b.D.top, b.D.height,480-b.D.top+yU(b)));b.A.fillStyle="#303030";b.A.fillRect(0,0,920,480);pU(b,0,470,920+e,470);pU(b,910,0,910,480+g);if(0<zT(b.B)){var h=wU(b)+920-20,k=xU(b)+480;pU(b,h,0,h,k,"#AAA",40)}if(0< yT(b.B)){var m=yU(b)+480-20,p=vU(b)+920;pU(b,0,m,p,m,"#AAA",40)}}finally{b.A.restore()}b.I&&uU(b,b.N,20);b.R&&b.B.U("Cb")}finally{b.A.restore()}}if(!this.Jb&&this.W){dq(a,-a.width/2,-a.height/2);a.wi dth*=2;a.height*=2;h=hT(this.C.A,a);e=oc(h.top,h.top+h.height);0<this.C.H&&0<h.top&&e.push(0);g=oc(h.left, h.left+h.width);0<this.C.F&&0<h.left&&g.push(0);for(h=0;h<e.length;++h)for(k=0;k<g.length;++k)vT(this.C,e[h],g[k]);e=this.C.getMetadata();e.C==e.I||isFinite(this.C.getMetadata().F)||this.C.U("yb")}}e =this.C.getMetadata();if(!e.isEmpty()&&!this.ha){g=this.B;h=Math.min(e.A,e.H,50);k=Math.min(e.D,20);m=e.B[0];p=G(m,3);a=g.ma("TABLE");b=a.appendChild(Dj(g,"TBODY"));for(c=0;c<h;++c){for(var d=c*e.D,r=Dj(g,"TR"),z=0;z<k;++z){var C;a:{var F=c;C=z;var J=xf(m,bF,6);if(J)for(var la=0;la<J.length;++la)if(C>= G(J[la],1)&&F>=G(J[la],2)&&C<G(J[la],1)+G(J[la],3)&&F<G(J[la],2)+G(J[la],4)){C=J[la];break a}C=null}J=C&&z==G(C,1)&&c==G(C,2);if(!C||J)F=Dj(g,"TD"),nj(F,p[d+z]),J&&(J=G(C,4),c+J>h&&(J=h-c),C=G(C,3),z +C>k&&(C=k-z),1<J&&F.setAttribute("rowspan",J),1<C&&F.setAttribute("colspan",C)),r.appendChild(F)}b.appendChild(r)}pk(a,"readonly",!0);pk(a,"label",this.C.sa);g.Ca(this.J(),a);S(a,"drive-viewer-sprea dsheet-reader-content");g.Ya(a,this.W);this.ha=a}}; function AU(a){V(a).listen(a.L.getState(),"eb",a.VD)}f.Zu=function(){AU(this);this.Ac();BU(this)};function BU(a){var b=a.C.ba,c=a.C.W,d=a.C.X;FU(a,a.La,a.C.S);FU(a,a.na,d);FU(a,a.Ja,c);FU(a,a.za,b)} function FU(a,b,c){var d;d=a.C;d=new K(d.D.A.A.length-1,d.D.B.A.length-1);for(var e=0;e<c.length;e++)if(!c[e].A){var g=c[e].B;if(!(g.top>=d.height)){var h;h=a;var k=uT(h.C,g);g.left<h.C.F&&g.top<h.C. H?(k.left+=920,k.top+=480):g.left<h.C.F?(k.top-=yT(h.C),k.left+=920):g.top<h.C.H?(k.left-=zT(h.C),k.top+=480):(k.left-=zT(h.C),k.top-=yT(h.C));h=k;(new jU(c[e],a.kb,a.A,new Yp(h.left/20,h.top/20,h.wi dth/20,h.height/20),a.C.B)).ga(b)}}} f.VD=function(){var a=cP(this.L.getState()),b=this.L.getState().A.clone();if(a){eq(a,20);dq(a,wU(this.F),yU(this.F));b.Fd(20);var c=wU(this.F),d=yU(this.F);c instanceof I?(b.x+=c.x,b.y+=c.y):(b.x+=Nu mber(c),ja(d)&&(b.y+=d));0==a.width&&0==a.height&&0<=b.y&&0<=b.x?(this.X=null,this.Ac()):(0>b.y&&(a.top=0,a.height=Number.POSITIVE_INFINITY),0>b.x&&(a.left=0,a.width=Number.POSITIVE_INFINITY),a=hT(th is.C.D,a),null==a?(this.X=null,this.Ac()):Zp(a,this.X)||(this.X=a,this.Ac()))}}; f.UD=function(){var a=this.Wa.B;if(0==a.length)this.Ac();else{var a=a[0].getData(),b=uT(this.C,new Yp(a.x,a.y,1,1)),c=DU(this,!0);if(c){var d=(b.top-c.height/2)/20,e=(b.left-c.width/2)/20,g=b.top-c.t op;a.y>=this.C.H&&(0>g||g+b.height>c.height)&&(this.H.scrollTop=d);d=b.left-c.left;a.x>=this.C.F&&(0>d||d+b.width>c.width)&&xr(this.H,e);this.Ac()}}};function EU(a,b){var c=b?Dq(a.J()):eu(a.A).B.clon e();return 0==c.height||0==c.width?null:c} function DU(a,b){var c=a.H.scrollTop,d=vr(a.H),e=EU(a,b);if(!e)return null;c=new Yp(d,c,e.width,e.height);eq(c,20);c.height-=480+yU(a.F);c.width-=920+wU(a.F);c.top+=yT(a.C);c.left+=zT(a.C);0>c.height &&(c.height=0);0>c.width&&(c.width=0);return c}f.va=function(){this.Sj(3)};f.Z=function(){E(this.Kb);zU.O.Z.call(this)};function GU(a,b){ju.call(this,a,b);this.C=a;this.N=null;this.F=new gU(this.A);this.ca(this.F);this.L=[];this.W=null;this.H=new sP(b);this.ca(this.H);this.S=null}v(GU,ju);var HU={Vr:"drive-viewer-spreadsheet-inner",Dr:"drive-viewer-spreadsheet-clipboard"};f=GU.proto type;f.ea=function(){this.D=P(cU,void 0,void 0,this.B);this.H.ga(this.J());this.F.ga(this.J())}; f.Y=function(){GU.O.Y.call(this);this.N=U(this,HU.Vr);this.W=U(this,HU.Dr);iz(this.A).Li(this.C.getId(),this.N);V(this).listen(this.F,"action",this.yE);V(this).listen(this.H,"fb",this.Wn);V(this).lis ten(this.C,"Bb",this.cj).listen(this.C,"zb",this.cj);0==this.C.D.length?V(this).listen(this.C,"xb",this.Bn):this.Bn();rg(L(this.A))&&(this.C.H&&this.Ge(!0),V(this).listen(this.C,"za",t(this.Ge,this,! 0)).listen(this.C,"ya",t(this.Ge,this,!1)))};f.layout=function(){this.L[this.F.C].Ac();this.F.layout()}; f.Ba=function(){GU.O.Ba.call(this);GE(Kx(this.A),this.H.da());var a=qu(this.A),b=Dc?hr.xd:hr.wd;ru(a,[67,b],this.An,this);ru(a,[45,b],this.An,this);ru(a,[70,b],this.Yu,this);ru(a,[71,b],this.Wu,this) ;ru(a,[71,b|hr.be],this.Xu,this);0<this.L.length&&CU(this.L[this.F.C],!0)};f.ab=function(){GU.O.ab.call(this);GE(Kx(this.A),!1);0<this.L.length&&CU(this.L[this.F.C],!1)};f.ti=function(){return!0};f.F i=function(){ZN(this.C.H)}; f.Bn=function(){1==this.C.D.length&&(this.F.hide(),fq(this.N,"padding-bottom","0"));for(var a=0;a<this.C.D.length;++a){var b=this.C.D[a],c=new zU(this.C,b,this.A,1<=a);this.ca(c);c.ga(this.N);this.L. push(c);var c=this.F,b=b.sa,d=c.F.length,e=c.B,g=new ft(e,iP.la());g.Ra=d;c.uc(g,d);e=P(fU,{name:b},void 0,e);Hj(c.J(),e,d);rs(g,e);g.ta(b,void 0,!0);c.F.push(g);d=c.I;b=WT(d,b,ts(d));d.uc(b,0,!0);d. F.push(b);c.layout()}this.S=new CT(this.C,this.H,this.A);x(this,this.S);a=this.S.B;for(c=0;c<a.length;++c)b= this.L[c],d=a[c],b.Wa=d,V(b).listen(d,"cb",b.UD).listen(d,"db",b.Ac);IU(this,this.F.C);this.cj()};f.cj=function(){if(0!=this.C.D.length){var a=this.C.D[this.F.C];rT(a)||sT(a)?JU(this.dj,this.getId()) :KU(this.dj,this.getId())}}; function IU(a,b){var c=a.L[b];CU(a.L[a.F.C],!1);a.I?CU(c,!0):(vT(c.C,0,0),c.C.getMetadata().isEmpty()&&!isFinite(c.C.getMetadata().F)&&c.C.U("yb"));var c=a.F,d=c.F[b];Rp(c.F[c.C].J(),"drive-viewer-bu tton-toggled");S(d.J(),"drive-viewer-button-toggled");bU(c.I,c.C,!1);bU(c.I,b,!0);c.C=b;a.S&&(c=a.S,c.A=b,Kx(c.V).B&&(c.R.D[b].C.isEmpty()?c.C.hide():(DT(c,c.F),ET(c,0))))}f.yE=function(a){a=a.target .Ra;a!=this.F.C&&(IU(this,a),this.cj(),nu(this))}; f.An=function(a){if(0!=this.C.D.length){nv(ov(this.A),{ka:68,qa:pr(a),item:this.C});var b=this.C.D[this.F.C];a=this.L[this.F.C].X;if(null!=a){for(var c=this.W,b=b.getMetadata(),d=[],e=a.top;e<a.top+a .height;++e){for(var g=Math.floor(e/b.A),h=G(b.B[g],3),g=(e-g*b.A)*b.D,k=a.left;k<a.left+a.width;++k)k>a.left&&d.push("\t"),d.push(h[k+g]);e+1<a.top+a.height&&d.push("\n")}c.value=d.join("");this.W.s elect();this.Wn(100)}}};f.Wn=function(a){this.I&&Pu(au(this.A),this.N,a)}; f.Yu=function(a){a.preventDefault();!this.C.D[this.F.C].C.isEmpty()&&this.H.show(a)};f.Wu=function(a){a.preventDefault();this.C.D[this.F.C].C.isEmpty()||(this.H.show(a),uP(this.H,a))};f.Xu=function(a ){a.preventDefault();this.C.D[this.F.C].C.isEmpty()||(this.H.show(a),wP(this.H,a))};function LU(a,b){gp.call(this,b||"sn",a)}v(LU,gp);f=LU.prototype;f.Eb=function(){return Mg(L(this.A))?AJ(bc(EJ.A)): []};f.xb=function(){return lF};f.rc=function(){return GU};f.$b=function(){return BT};f.Cb=function(a){return!!bh(a)&&!!ih(a)};f.nb=function(a){return hh(a)?hh(a):ih(a)};f.vg=function(){return!0};f.dl =function(){return!0};function MU(a,b){jF.call(this,a,b);this.D=[];this.R=0}v(MU,jF);var NU={Cr:"Eb",FH:"Fb"};function OU(a,b){return a.D.length>b?a.D[b]:""}function PU(a){return!!a.C&&a.R>=a.C}MU.pr ototype.$=function(a){this.D=[];this.C=a;this.R=0;this.U("xa")};MU.prototype.Gh=function(){return this.D.length};function QU(a,b,c){c=c||{};b="";a="Displaying "+Kn(a.name);b+='<div class="drive-viewe r-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"><di v class="drive-viewer-text-content drive-viewer-focus-to-default" role="document" aria-label="'+Dn(a)+'"></div></div></div></div><div class="drive-viewer-gradient-top" style="'+(c.Ea?"/*"+c.Ea+"*/":" ")+'display: none;"></div><div class="drive-viewer-gradient-bottom" style="'+ (c.Ea?"/*"+c.Ea+"*/":"")+'display: none;"></div></div>';return R(b)}function RU(a){var b=R;a=a.Xw;a=tn(a,dn)?a:R(Fn(a,bo),un(a));return b('<pre class="drive-viewer-text-page drive-viewer-focus-to-def ault">'+Q(a)+"</pre>")};function SU(a,b){ju.call(this,a,b);this.C=a;this.L=this.aa=this.$=this.F=this.N=this.H=this.X=null;this.W=-1;this.S=null}v(SU,ju);var TU={Ar:"drive-viewer-text-area",jj:"drive -viewer-text-content",bs:"drive-viewer-text-panel",os:"drive-viewer-text-scrollable"};f=SU.prototype;f.ue=function(){return!1};f.ea=function(){var a=this.B;this.D=P(QU,{name:to(this.C)},void 0,a);a.Ya(U(this,"drive-viewer-text-content"),!0)}; f.Y=function(){SU.O.Y.call(this);this.H=U(this,TU.jj);this.N=U(this,TU.bs);this.F=U(this,TU.os);this.X=U(this,TU.Ar);this.$=U(this,"drive-viewer-gradient-bottom");this.aa=U(this,"drive-viewer-gradien t-top");iz(this.A).Li(this.C.getId(),this.F);V(this).listen(this.F,"scroll",this.bv).listen(this.C,NU.Cr,this.Yy);0<this.C.D.length&&UU(this)};f.Lh=function(){return this.N};f.Ba=function(){SU.O.Ba.c all(this);this.layout();tu(this,this.F);0<this.C.D.length&&uu(this)}; f.ab=function(){SU.O.ab.call(this);E(this.L);vu(this)};f.layout=function(){var a=this.A,b=gu(hu(a)),c=du(this),d=c.width;2!=ug(L(a))&&(d*=.8);var e=vq(this.H);Bq(this.H,d-e.left-e.right);Cq(this.H,"a uto");a=Dq(this.H);c=c.height-e.top-e.bottom;a.height<c&&Cq(this.H,c);d=fu(this,d);mq(this.N,d,b.top);PU(this.C)&&fq(this.N,"padding-bottom",b.bottom+"px");b=Dq(this.N).height+b.top;Cq(this.X,b);E(th is.L);this.L=D(this.Cn,100,this)}; f.bv=function(){if(!PU(this.C)&&Dq(this.F).height+this.F.scrollTop>=.8*this.F.scrollHeight){var a=this.C;PU(a)||a.U("Fb")}this.Cn();nu(this)};f.Cn=function(){if(3!=Og(L(this.A))){E(this.L);var a=gu(hu(this.A)),b=this.F.scrollHeight-this.F.scrollTop-this.F.clientHeight>a.bottom;T(this.aa,this.F.scrollTop>=a.top);T(this.$,b)}};f.Yy=function(){UU(this);this.layout();uu(this)}; function UU(a){var b=a.B,c=a.C.D.length,d=c-a.W-1;if(!(0>=d)){var e=rx(a.A),g=Wv(e,"rc_",{ka:35,item:a.C}),e=Yv(e.A[g]);H(e,4,d);d=b.A.createDocumentFragment();for(e=a.W+1;e<c;e++){var h=Ia(OU(a.C,e)),h=P(RU,{Xw:h},void 0,b);b.Ca(d,h);a.W=e}b.Ca(a.H,d);null===a.S&&(a.S=Jh(OU(a.C,0)),b=a.H,c=a.S,b&&(c=zh(c)))&&(b.style.textAlign=-1==c?"right":"left",b.dir=-1==c?"rtl":"ltr");$v(rx(a .A),g)}}f.va=function(){SU.O.va.call(this);E(this.L)};function VU(a,b){CR.call(this,a,b);this.item=a;this.$=-1;this.Ka.listen(this.item,"Fb",this.PB)}v(VU,CR);f=VU.prototype;f.zi=function(){WU(this)} ;function WU(a){var b=a.item.R;b==a.$+1&&b<a.item.C&&!a.N&&(NR(a,b),a.$=b)}f.Hh=function(){return IK};f.PB=function(){WU(this)};f.Xg=function(a,b,c){a=this.item;a.D.push(c.data);a.R+=1;a.U("Eb")};f.s g=function(){return!1};f.ug=function(){var a=wf(L(this.A),kg,61),b;if(b=!!a)b=null==G(a,3)?!1:G(a,3);return b}; f.Ih=function(){var a={};a[this.Eh()]=LR(0);return[{meta:{}},a]};function XU(a,b){gp.call(this,a,b)}v(XU,gp);f=XU.prototype;f.Eb=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(" ");Cg(L(this.A))&&a.push("text/html");return a};f.xb=function(){return MU};f.rc=function(){return SU};f.$b=function(){return VU};f.cl=function(){return!0};function YU(a){gp.call(this,"tx_s",a)}v(YU,XU);YU.prototype.Eb=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(" ");Cg(L(this.A))&&a.push("text/html");return a};YU.prototype.nb=fun ction(a){return hh(a)?hh(a):ih(a)}; YU.prototype.Cb=function(a){return!!bh(a)&&!!ih(a)};YU.prototype.tc=function(){return[1,6]};function ZU(a){this.B=W(a)}v(ZU,Ls);ZU.prototype.bc=function(a){var b="dvt_"+bb(),b=P(jx,{id:b},void 0,this.B),c=Bj(this.B,"drive-viewer-thumbnail-img",b);a=to(a.Ra);Ak(c,a);zk(c,!0);return b};function $U(a,b){var c=b.Ra;if(c&&!c.Aa){var d=c.Mc(84,63),e=Bj(a.B,"drive-viewer-thumbnail-img",b.J());e& &(c=Ao(c),c=Dp.la().get(c,128),d?(ud(e,["abort","error"],t(a.D,a,e,c)),e.src=d):a.D(e,c))}}ZU.prototype.D=function(a,b){a.src=b;Vp(a,"drive-viewer-thumbnail-img","drive-viewer-thumbnail-icon")}; ZU.prototype.ia=function(){return"drive-viewer-thumbnail"};ZU.prototype.Rc=function(){return"option"};function aV(a,b){w.call(this);this.A=a;this.D=b||null;this.B=this.C=null;this.H=[];this.F=null}v( aV,w);function Pu(a,b,c){var d=W(a.A),e=Gj(d);if(!a.F||null==a.C&&!d.contains(a.F,e))a.F=null,a.B=b,E(a.C),a.C=D(a.I,c,a)}function LC(a,b){var c=bV(a);c&&Pu(a,c,b)}function cV(a){return Gj(W(a.A))==bV(a)}function $t(a){var b=Gj(W(a.A));return cV(a)||!!a.D&&b==a.D.J()}function dV(a){var b=Gj(W(a.A));a=eV(a,"drive-viewer-filmstrip");return!!a&&a.contains(b)} function bV(a){return eV(a,"drive-viewer-default")}function eV(a,b){return Bj(W(a.A),b,a.D?a.D.J():void 0)}aV.prototype.I=function(){this.C=null;var a=this.B;if(a){for(var b=a;b&&b.scrollHeight<=b.cl ientHeight;)b=lj(b);var c=b?b.scrollTop:null;a&&a.focus();null!==c&&(b.scrollTop=c)}this.B=null};function NB(a){var b=W(a.A);a.H.push(Gj(b))}function OB(a){var b=a.H.pop();null!=b?Pu(a,b):LC(a)}aV.pr ototype.Z=function(){E(this.C);this.B=null;this.H=[];this.F=null};function fV(a){w.call(this);this.B=!0;this.A=a;this.Ka=new M(this);x(this,this.Ka);var b=Kx(a);a=Y(a);this.Ka.listen(b,"sa",this.Ft). listen(b,"ta",this.RA).listen(b,"ua",this.bB).listen(b,"va",this.YB).listen(b,"wa",this.WB).listen(a,"da",this.Gt)}v(fV,w);f=fV.prototype;f.Gt=function(){IA(Y(this.A))&&this.Xa(!0)};f.Ft=function(){K x(this.A).A&&this.Xa(!0)};f.RA=function(){PE(Kx(this.A))&&this.Xa(!0)};f.bB=function(){QE(Kx(this.A))&&this.Xa(!0)};f.YB=function(){RE(Kx(this.A))&&this.Xa(!0)}; f.WB=function(){Kx(this.A).B&&this.Xa(!0)};function gV(a){var b=al(a.A,Dy),b=!!b&&b.da(),c=al(a.A,Ey),c=!!c&&c.da(),d=al(a.A,Ry),d=!!d&&d.D,e=hz(a.A)&&0!=hz(a.A).A,g=Kx(a.A);return g.A||PE(g)||QE(g)| |RE(g)||g.B||b||c||d||e||IA(Y(a.A))};function hV(a,b){fV.call(this,a);this.F=[];this.C=[];this.H=[];this.aa=[];this.$=[];this.W=this.L=this.V=!1;this.X=this.ba=null;this.R=this.S=this.D=this.I=this.N =0;this.sa={};var c=Y(a);this.Ka.listen(b,"mousedown",this.Ot).listen(b,"mouseup",this.Vt).listen(b,"mousemove",this.St).listen(b,"keydown",this.mC,!0).listen(c,"$",this.Rt);(c=hz(a))&&this.Ka.listen (c,"pa",this.gC)}v(hV,fV);f=hV.prototype;f.vn=function(){E(this.S);E(this.R);E(this.I);this.W=this.L=this.V=!1;this.X=this.ba=null}; f.ke=function(a){this.F.push(a);this.C.push(new uw(a,250));this.H.push(new tw(a,500));var b=new bB(a);this.aa.push(b);this.Ka.listen(b,"focusin",this.Pt).listen(b,"focusout",this.Qt);this.Ka.listen(a ,"mouseover",this.Ut).listen(a,"mouseout",this.Tt)};f.Cl=function(a){if(0<=Jb(this.F,a)){var b=iV(this.H,a);if(1>Gq(a)||1==b.A)b.stop(!1),a=iV(this.C,a),ud(a,"end",t(function(){this.Aa||this.B||b.pla y()},this)),a.play()}};f.Li=function(a,b){this.Ka.listen(b,"scroll",this.Qz);this.sa[a]=b}; f.Xa=function(a){E(this.D);this.D=0;jV(this,!0);a&&kV(this,this.C,function(a){a.stop(!0)})};f.wc=function(a){this.V||this.L&&lV(this)||!this.B||(a=n(a)?a:2E3,this.D||(this.D=D(function(){jV(this,!1); this.D=0},a,this)))};f.El=q;f.wl=function(a,b){var c=Jb(this.F,a);0>c||!!this.$[c]==b||(this.$[c]=b,this.B||(b?(this.H[c].stop(),this.C[c].play()):(this.C[c].stop(),this.H[c].play())))};f.gC=function (){0!=hz(this.A).A?this.Xa(!0):(E(this.D),this.D=0,this.wc())}; function jV(a,b){if(b!=a.B&&(b||mV(a))){a.B=b;var c=function(a){a.stop(!1)},d=function(a){a.play()};a.B?(kV(a,a.H,c),kV(a,a.C,d)):a.V||a.L&&lV(a)||(kV(a,a.C,c),kV(a,a.H,d))}}function kV(a,b,c){for(var d=0;d<b.length;++d)a.$[d]||c.call(a,b[d])}function mV(a){var b;ou(Y(a.A))?(b=Z(Y(a.A)).B,b=2!=ug(L(a.A))||null==b||0==b.A):b=!0;return b&&a.Vm()&&!gV(a)}f.Vm=function(){var a;(a=!this.A.Oa())||(a=nV(this),a=!!a&&0<a.scrollTop);return a};function iV(a,b){return Tb(a,function(a){return a.D==b})} f.Ut=function(a){oV(this,a)||(this.V=!0,this.Xa(!0))};f.Tt=function(a){oV(this,a)||(this.V=!1,this.wc())};f.Pt=function(){this.Xa()};f.Qt=function(){this.wc()};f.mC=function(a){9==a.keyCode&&(this.Xa (),this.L=!0)};f.Ot=function(){this.L=!1;this.W=!0};f.Vt=function(){this.W=!1};f.St=function(a){this.ba=new I(a.clientX,a.clientY);this.R&&(E(this.R),pV(this));this.S||(this.S=D(function(){!this.W&&! this.B&&this.X&&150<Ai(this.X,this.ba)&&(this.Xa(),pV(this));this.X=this.ba;this.S=0},100,this))}; function pV(a){a.R=D(function(){this.wc();this.R=0},1E3,a)}f.Qz=function(a){if(0<a.target.scrollTop-this.N)this.wc(1E3),E(this.I),this.I=0;else if(0>a.target.scrollTop-this.N){if(0==a.target.scrollTo p){this.Xa();this.wc();return}this.D&&(E(this.D),this.D=0,this.wc());if(!this.I){var b=this.N;this.I=D(function(){var c=Vi(Fj(W(this.A))).height;b-a.target.scrollTop>.25*c&&(this.Xa(),this.wc());this .I=0},400,this)}}this.N=a.target.scrollTop}; function lV(a){for(var b=Gj(W(a.A)),c=0;c<a.F.length;c++)if(a.F[c].contains(b))return!0;return!1}f.Rt=function(){var a=nV(this);this.N=a?a.scrollTop:0;this.A.Oa()&&(this.Xa(),this.Vm&&this.wc(4E3))}; function nV(a){if(!ou(Y(a.A)))return null;var b=Z(Y(a.A));return a.sa[b.getId()]||null}function oV(a,b){if(!b.D)return!1;for(var c=b.D,d=0;d<a.F.length;d++)if(a.F[d].contains(c))return!0;return!1}f.Z =function(){Gb(this.C);Gb(this.H);Gb(this.aa);E(this.S);E(this.R);E(this.D);E(this.I);hV.O.Z.call(this)};function qV(a){var b=!!a.NC,c=!!a.OC,d=a.layout,e=!!a.MC,g=!!a.Tw;null==a.ui||fa(a.ui);var h=3==a.rr;a='<div class="drive-viewer drive-viewer-focus-outlines-disabled'+((b?" drive-viewer-shown":"")+(c?" drive-viewer-static":"")+(e?" drive-viewer-mobile":"")+(g||h?" drive-viewer-quantum-spi nner":"")+(h?" drive-viewer-v3":"")+(2==d?" drive-viewer-embed":"")+'" aria-label="'+Dn("Showing viewer.")+'"><div class="drive-viewer-shadow drive-viewer-default" tabindex="0"></div>'+rV(a)+"</div>" );return R(a)} function rV(a){a=a||{};var b=a.rr;null==a.ui||fa(a.ui);a=a.ui;b=""+('<div class="drive-viewer-carousel"><div class="drive-viewer-prev-button drive-viewer-button-disabled" aria-label="'+Dn("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="'+Dn("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+=sV({QC:a[d]});return R(b+"</div>")}function tV(){return R('<div class="drive-viewer-select-button"><div class="drive-viewer-icon drive-viewer-select-button-icon"></div></div>')}function sV(a){a=a||{};a=a.QC;return R('<div class="drive-viewer-carousel-slide drive-viewer-close-enabled" role="main">'+Q(ix({gh:An("drive-viewer-carousel-loading-message")}))+(a?Q(a):"")+"</div>")} function uV(a){var b=a.Xe;a=a.Ww;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-erro r-expression" tabindex="-1">'+Q(b)+"</div>":"")+'<div class="drive-viewer-msg-error-text drive-viewer-focus-to-default" tabindex="-1">'+Q(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 R(b)}function vV(){return R('<div class="drive-viewer-toolstrip" role="toolbar"></div>')}function wV(){return R('<div class="drive-viewer-toolstrip" role="toolbar"><div class="drive-viewer-too lstrip-inner"></div></div>')}function xV(){return R('<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 yV(){var a;a=""+('<div class="drive-viewer-toolstrip-rgt-panel"><div class="drive-viewer-details-button drive-viewer-dark-button" aria-label="'+Dn("Details")+'"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div>'+zV()+"</div>");return R(a)}function AV(){return R('<div class="drive-viewer-toolstrip-rgt-panel">'+zV()+"</div>")} function BV(){var a;a=""+('<div class="drive-viewer-close-button drive-viewer-dark-button" aria-label="'+Dn("Close")+'"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div>');return R(a)}function zV(){var a;a=""+('<div class="drive-viewer-popout-button drive-viewer-dark-button" aria-label="'+Dn("Pop out")+'"><div class="drive-viewer-icon drive-viewer-nav-icon"></div></div>');re turn R(a)} function CV(a){a=a||{};return R('<div class="drive-viewer-toolstrip-actions">'+(a.lr?'<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 />'+Q(ex())+"</div></div></div>")} function DV(){return R('<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-butto n-arrow"><div class="drive-viewer-icon"></div></div></div></div>')} function EV(a){return R('<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">'+Q(a.title)+"</div></div>")} function FV(){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">'+Q(ex())+'</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 R(a)}function GV(){return R('<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 HV(a){a=a.label;return R('<div class="drive-viewer-dark-button drive-viewer-custom-button" aria-label="'+Kn(a)+'">'+Q(a)+"</div>")}function IV(a){return R('<div class="drive-viewer-icon drive-viewer-custom-button-icon '+Kn(a.icon)+'"></div>')} function JV(){return R('<div class="drive-viewer-button drive-viewer-content-download-button" role="button" tabindex="0" aria-label="'+Kn(xn("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">'+Q(xn("Download"))+"</div></div>")} function KV(){return R('<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 LV(){return R('<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 MV(a){var b='<div class="drive-viewer-filmstrip-actions drive-viewer-filmstrip-actions-rgt">';a.lr&&(b+='<div class="drive-viewer-link-button drive-viewer-filmstrip-feedback">Give Feedback</div>');return R(b+"</div>")} function NV(){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-d ialog-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="'+Dn("Submit password")+ '">Submit</div></div></div>');return R(a)}function OV(){return R('<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">'+Q(ex())+"</div></div></div>")}function PV(){return R('<div class="drive-viewer-sign-in"><div class="drive-viewer-sign-in-button jfk-button jfk-button-action">Sign In</div></div>')} function QV(a){var b=a.title;a=a.xE;return R('<div class="drive-viewer-profile-icon" title="'+Kn(b)+'"><img src="'+Kn(Qn(a))+'" class="drive-viewer-profile-img" alt="'+Kn(b)+'" tabindex="0" /></div>')}function RV(a){a=!!a.Oa;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 R(b+"</div>")} function SV(a){return R('<div class="drive-viewer-accept-invite"><div class="drive-viewer-accept-invite-button jfk-button jfk-button-action">'+Q(a.Hs)+"</div></div>")};var TV; TV={Qr:["BC","AD"],Pr:["Before Christ","Anno Domini"],$r:"JFMAMJJASOND".split(""),vs:"JFMAMJJASOND".split(""),Yr:"January February March April May June July August September October November December".split(" "),us:"January February March April May June July August September October November December".split(" "),qs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),xs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Ds:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),zs:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), ss:"Sun Mon Tue Wed Thu Fri Sat".split(" "),ys:"Sun Mon Tue Wed Thu Fri Sat".split(" "),LI:"SMTWTFS".split(""),ws:"SMTWTFS".split(""),rs:["Q1","Q2","Q3","Q4"],js:["1st quarter","2nd quarter","3rd quarter","4th quarter"],yr:["AM","PM"],jm:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Am:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Hr:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],lm:6,fH:[5,6],nm:5};function UV(a,b,c,d,e,g){ha(a)?(this.H="y"==a?b:0,this.C="m"==a?b:0,this.A="d"==a?b:0,this.B="h"==a?b:0,this.D="n"==a?b:0,this.F="s"==a?b:0):(thi s.H=a||0,this.C=b||0,this.A=c||0,this.B=d||0,this.D=e||0,this.F=g||0)}UV.prototype.clone=function(){return new UV(this.H,this.C,this.A,this.B,this.D,this.F)}; function VV(a,b,c){ja(a)?(this.A=WV(a,b||0,c||1),XV(this,c||1)):ma(a)?(this.A=WV(a.getFullYear(),a.getMonth(),a.getDate()),XV(this,a.getDate())):(this.A=new Date(u()),a=this.A.getDate(),this.A.setHou rs(0),this.A.setMinutes(0),this.A.setSeconds(0),this.A.setMilliseconds(0),XV(this,a))}function WV(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}f=VV.prototype;f.B h=TV.lm;f.Ch=TV.nm;f.clone=function(){var a=new VV(this.A);a.Bh=this.Bh;a.Ch=this.Ch;return a}; f.getFullYear=function(){return this.A.getFullYear()};f.getMonth=function(){return this.A.getMonth()};f.getDate=function(){return this.A.getDate()};f.getTime=function(){return this.A.getTime()};f.get Day=function(){return this.A.getDay()};f.getUTCFullYear=function(){return this.A.getUTCFullYear()};f.getUTCMonth=function(){return this.A.getUTCMonth()};f.getUTCDate=function(){return this.A.getUTCDate()};f.getUTCHours=function(){return this.A.getUTCHours()};f.getUTCMinutes=function(){return this.A.getUTCMinutes()}; f.getTimezoneOffset=function(){return this.A.getTimezoneOffset()};function YV(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}f.set=function(a){this.A=new Date(a.getFullYear(),a.getMonth(),a.getDate())}; f.rk=function(a){if(a.H||a.C){var b=this.getMonth()+a.C+12*a.H,c=this.getFullYear()+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.A.setDate(1);this.A.setFullYear(c);this.A.setMonth(b);this.A.setDate(d)}a.A&&(a=new Date((new Date(this.getFullYear (),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.A),this.A.setDate(1),this.A.setFullYear(a.getFullYear()),this.A.setMonth(a.getMonth()), this.A.setDate(a.getDate()),XV(this,a.getDate()))};f.Mh=function(a,b){return[this.getFullYear(),Wa(this.getMonth()+1,2),Wa(this.getDate(),2)].join(a?"-":"")+(b?YV(this):"")};f.toString=function(){ret urn this.Mh()};function XV(a,b){a.getDate()!=b&&a.A.setUTCHours(a.A.getUTCHours()+(a.getDate()<b?1:-1))}f.valueOf=function(){return this.A.valueOf()};function ZV(a,b,c,d,e,g,h){this.A=ja(a)?new Date(a,b||0,c||1,d||0,e||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():u())}v(ZV,VV);f=ZV.prototype; f.getHours=function(){return this.A.getHours()};f.getMinutes=function(){return this.A.getMinutes()};f.getSeconds=function(){return this.A.getSeconds()};f.getUTCHours=function(){return this.A.getUTCHours()};f.getUTCMinutes=function(){return this.A.getUTCMinutes()};f.rk=function(a){VV.prototype.rk.call(this,a);a.B&&this.A.setUTCHours(this.A.getUTCHours()+a.B);a.D&&this.A.setUTCMinu tes(this.A.getUTCMinutes()+a.D);a.F&&this.A.setUTCSeconds(this.A.getUTCSeconds()+a.F)}; f.Mh=function(a,b){var c=VV.prototype.Mh.call(this,a);return a?c+" "+Wa(this.getHours(),2)+":"+Wa(this.getMinutes(),2)+":"+Wa(this.getSeconds(),2)+(b?YV(this):""):c+"T"+Wa(this.getHours(),2)+Wa(this. getMinutes(),2)+Wa(this.getSeconds(),2)+(b?YV(this):"")};f.toString=function(){return this.Mh()};f.clone=function(){var a=new ZV(this.A);a.Bh=this.Bh;a.Ch=this.Ch;return a};function $V(){}function aW(a){if("number"==typeof a){var b=new $V;b.D=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.C=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=bW(a);b.F=[c,c];b.A={MH:a,zm:a};b.B=[];return b}b=new $V;b.C=a.id;b.D=-a.std_offset;b.F=a.names;b.A=a.names_ext;b.B=a.transitions;return b} function bW(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 cW(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMont h(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d<a.B.length&&c>=a.B[d];)d+=2;return 0==d?0:a.B[d-1]};function dW(a){this.B=[];this.A=TV;"number"==typeof a?eW(this,a):fW(this,a)}var gW=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function hW(a){return a.getHours?a.getHours():0} function fW(a,b){for(iW&&(b=b.replace(/\u200f/g,""));b;)for(var c=0;c<gW.length;++c){var d=b.match(gW[c]);if(d){d=d[0];b=b.substring(d.length);0==c&&("''"==d?d="'":(d=d.substring(1,d.length-1),d=d.re place(/\'\'/,"'")));a.B.push({text:d,type:c});break}}}function jW(a,b){if(!b)throw Error("The date to format must be non-null.");for(var c=[],d=0;d<a.B.length;++d){var e=a.B[d].text;1==a.B[d].type?c. push(kW(a,e,b,b,b)):c.push(e)}return c.join("")} function eW(a,b){var c;if(4>b)c=a.A.jm[b];else if(8>b)c=a.A.Am[b-4];else if(12>b)c=a.A.Hr[b-8],c=c.replace("{1}",a.A.jm[b-8]),c=c.replace("{0}",a.A.Am[b-8]);else{eW(a,10);return}fW(a,c)}function lW(a,b){var c;c=String(b);var d=a.A||TV;if(void 0!==d.Gs){for(var e=[],g=0;g<c.length;g++){var h=c.charCodeAt(g);e.push(48<=h&&57>=h?String.fromCharCode(d.Gs+h-48):c.charAt(g))}c=e.join("")}return c}var iW=!1; function mW(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.");} function kW(a,b,c,d,e){var g=b.length;switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?1:0,4<=g?a.A.Pr[c]:a.A.Qr[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==g&&(c%=100),lW(a,Wa(c,g));c ase "M":a:switch(c=d.getMonth(),g){case 5:g=a.A.$r[c];break a;case 4:g=a.A.Yr[c];break a;case 3:g=a.A.qs[c];break a;default:g=lW(a,Wa(c+1,g))}return g;case "k":return mW(e),lW(a,Wa(hW(e)||24,g));case "S":return lW(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,g)).substr(2)+(3<g?Wa(0,g-3):""));case "E":return c= d.getDay(),4<=g?a.A.Ds[c]:a.A.ss[c];case "a":return mW(e),g=hW(e),a.A.yr[12<=g&&24>g?1:0];case "h":return mW(e),lW(a,Wa(hW(e)%12||12,g));case "K":return mW(e),lW(a,Wa(hW(e)%12,g));case "H":return mW(e),lW(a,Wa(hW(e),g));case "c":a:switch(c=d.getDay(),g){case 5:g=a.A.ws[c];break a;case 4:g=a.A.zs[c];break a;case 3:g=a.A.ys[c];break a;default:g=lW(a,Wa(c,1))}return g;case "L":a:switch(c=d.getMonth(),g){case 5:g=a.A.vs[c];break a;case 4:g=a.A.us[c];break a;case 3:g=a.A.xs[c];break a;default:g=lW(a,Wa(c+ 1,g))}return g;case "Q":return c=Math.floor(d.getMonth()/3),4>g?a.A.rs[c]:a.A.js[c];case "d":return lW(a,Wa(d.getDate(),g));case "m":return mW(e),lW(a,Wa(e.getMinutes(),g));case "s":return mW(e),lW(a,Wa(e.getSeconds(),g));case "v":return g=aW(c.getTimezoneOffset()),g.C;case "V":return a=aW(c.getTimezoneOffset()),2>=g?a.C:0<cW(a,c)?n(a.A.Nr)?a.A.Nr:a.A.DST_GENERIC_LOCATION:n(a.A.zm)?a. A.zm:a.A.STD_GENERIC_LOCATION;case "w":return c=a.A.nm,e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),b=a.A.lm|| 0,c=e.valueOf()+864E5*(((n(c)?c:3)-b+7)%7-((e.getDay()+6)%7-b+7)%7),lW(a,Wa(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,g));case "z":return a=aW(c.getTimezoneOffset()),4>g?a.F[0<cW(a,c)?2:0]:a.F[0<cW(a,c)?3:1];case "Z":return e=aW(c.getTimezoneOffset()),4>g?(g=-(e.D-cW(e,c)),a=[0>g?"-":"+"],g=Math.abs(g),a.push(Wa(Math.floor(g/60)%100,2 ),Wa(g%60,2)),g=a.join("")):g=lW(a,bW(e.D-cW(e,c))),g;default:return""}};var nW={mI:"y",nI:"y G",oI:"MMM y",pI:"MMMM y",tj:"MMM d",oH:"MMMM dd",qH:"M/d",pH:"MMMM d",rH:"MMM d, y",cI:"EEE, MMM d",dI:"EEE, MMM d, y",OG:"d"},oW=nW,oW=nW;var pW;function qW(a){pW||(pW=new dW(oW.tj));return jW(pW,a)};function rW(){return R('<div class="drive-viewer-details-panel"><div class="drive-viewer-d etails-header"></div><div class="drive-viewer-details-content drive-viewer-scrollable"></div></div>')}function sW(){return R('<div class="drive-viewer-details-info-view" role="tabpanel"></div>')}func tion tW(){return R('<div class="drive-viewer-details-comments-view" role="tabpanel"></div>')} function uW(a){a=a.Gp;return R('<div class="drive-viewer-details-subpane" role="region" aria-label="'+Kn(a)+'" tabindex="-1"><div class="drive-viewer-details-subpane-header"><span class="drive-viewer -details-subpane-header-text" role="heading">'+Q(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 vW(a){a=a.Gp;return R('<div class="drive-viewer-details-subpane" role="region" aria-label="'+Kn(a)+'" tabindex="-1"><div class="drive-viewer-details-subpane-header"><span class="drive-viewer -details-subpane-header-text" role="heading">'+Q(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 wW(a){var b='<div class="drive-viewer-details-info-subpane">';a=a.labels;for(var c=a.length,d=0;d<c;d++){var e;e=R('<div class="drive-viewer-details-info-row"><div class="drive-viewer-detail s-subpane-label drive-viewer-details-info-label">'+Q(a[d])+'</div><div class="drive-viewer-details-subpane-item"></div></div>');b+=e}return R(b+"</div>")} function xW(a,b,c){c=c||{};b='<div class="drive-viewer-details-location-items">';a=a.locations;for(var d=a.length,e=0;e<d;e++){var g=a[e];b+='<div><div class="drive-viewer-details-location-icon" style="'+(c.Ea?"/*"+c.Ea+"*//*"+c.Ea+"*/":"")+"background-image: url("+Kn(Qn(g.iconLink))+'); background-size:cover"></div>'+(g.title?'<div class="drive-viewer-details-location-link" role="link" tabindex="0" data-id="'+Kn(g.id)+'">'+Q(g.title)+"</div>":"")+"</div>"}return R(b+"</div>")} function yW(){return R('<div class="drive-viewer-details-description"></div><textarea class="drive-viewer-details-description-edit drive-viewer-scrollable" role="textbox" aria-multiline="true"></text area>')}function zW(a){return R('<div class="drive-viewer-details-info-row"><div class="drive-viewer-details-download-permission-message" id="'+Kn(a.fD)+'"></div></div>')} function AW(a){var b=a.Om,c=a.Ze,d=a.timestamp,e=a.content,g=a.Kf;a=a.Is;var h="",k="Reply by "+(Kn(b)+"."),h=h+('<div class="drive-viewer-details-comment-reply" role="region" tabindex="-1" aria-label="'+Dn(k)+'">'+BW({name:b,Ze:c,Kf:g})+'<div class="drive-viewer-details-comment-reply-content"><div class="drive-viewer-details-comment-reply-text"><div class="drive-viewer-details-comment -authorname">'+Q(b)+"</div>"+(a?'<div class="drive-viewer-details-comment-reply-action">'+Q(a)+"</div>":"")+'<div class="drive-viewer-details-comment-reply-body">'+ Q(e)+'</div></div><div class="drive-viewer-details-comment-timestamp">'+Q(d)+"</div></div></div>");return R(h)}function CW(){return R('<div class="drive-viewer-details-comments-list"></div>')} function DW(a){var b=a.Om,c=a.Ze,d=a.timestamp,e=a.content,g=a.bG,h=a.Kf;a="";var k="Comment by "+(Kn(b)+"."),c='<div class="drive-viewer-details-comment-thread" role="region" tabindex="-1" aria-label="'+Dn(k)+'">'+BW({name:b,Ze:c,Kf: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">'+Q(b)+'</div><div class="drive-viewer-details-comment-timestamp-container"><div class="drive-viewer-details-comment-timestamp">'+ Q(d)+"</div>";g&&(b+='<div class="drive-viewer-details-resolved-comment-message" aria-label="'+Dn("Resolved Comment")+'">• '+Q(g)+'<div class="drive-viewer-icon drive-viewer-details-resolved-com ment-icon"></div></div>');b+='</div></div><div class="drive-viewer-details-comment-content">'+Q(e)+"</div></div>";e=R(b);a+=c+e+'<div class="drive-viewer-details-comment-replies" role="region" tabindex="-1" aria-label="'+Dn("Replies.")+'"></div></div></div>';return R(a)} function BW(a){var b=a.Kf;return R('<div role="img" aria-label="'+Kn(a.name)+'">'+(b?EW({url:b}):FW(a))+"</div>")}function GW(){return R('<div class="drive-viewer-details-info-subpane"></div>')} function HW(a){var b=a.gG;return R('<div class="drive-viewer-details-info-row"><div class="drive-viewer-details-subpane-label drive-viewer-details-permission-label"><div class="drive-viewer-details-p ermission-avatar"></div><div class="drive-viewer-details-permission-name">'+Q(a.name)+'</div></div><div class="drive-viewer-details-permission-role">'+Q(b)+"</div></div>")}function IW(){return R('<div><div class="drive-viewer-msg-loading-img">'+Q(ex())+"</div></div>")} function EW(a){return R('<img class="drive-viewer-details-comment-avatar" alt="" src="'+Kn(Qn(a.url))+'" role="img"/>')}function FW(a){return R('<div class="drive-viewer-details-default-avatar-thumbn ail"><div class="drive-viewer-details-letter-overlay" role="img">'+Q(a.Ze)+"</div></div>")}function JW(a){return R('<div class="drive-viewer-details-default-avatar-thumbnail"><div class="drive-viewer -icon drive-viewer-details-avatar-icon '+Kn(a.className)+'" role="img"></div></div>')};function KW(a,b){X.call(this,a);this.H=b;this.F=[];this.L=new dW(7);this.C=null}v(KW,X);KW.prototype.ea=function (){var a=LW(this,this.H,!1),b=Bj(this.B,"drive-viewer-details-comment-replies",a),c=this.H.replies;if(c)for(var d=0;d<c.length;d++){var e=LW(this,c[d],!0);b.appendChild(e)}this.D=a;MW(this);NW(this)} ; function LW(a,b,c){var d=a.B,e=b.createdDate,g=OW(a,e),h=DW,k=b.author,m=k?k.displayName:"",m={Om:m,Ze:m.charAt(0).toUpperCase(),timestamp:g,content:b.content||""};k&&k.picture&&k.picture.url&&(m.Kf= b.author.picture.url);k={};k.$s=e;if(c){h=AW;(c=b.modifiedDate)&&e!=c&&(m.timestamp=Wt(g,OW(a,c)),k.aq=c);e=null;switch(b.verb){case "resolve":e="Marked as resolved";break;case "reopen":e="Re-opened" }m.Is=e}else"resolved"==b.status&&(m.bG="Resolved");a.F.push(k);return P(h,m,void 0,d)} function OW(a,b){var c=new ZV(new Date(b)),d=jW(a.L,c),c=c.getTime(),e=t(a.I,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":(e||qW)(new Date(c));return d+(" "+c)} KW.prototype.I=function(a){var b=oW,c=new Date(u());return jW(a.getYear()==c.getYear()?new dW(b.tj):new dW(2),a)};function MW(a){var b=ms(a,"drive-viewer-details-comment-authorname");Lb(b,function(a) {Yr(a,this.B.uo(a),void 0,"",!0)},a)} function NW(a){var b=new VV;b.rk(new UV(0,0,1));a.C=D(function(){for(var a=this.B,b=Qi("drive-viewer-details-comment-timestamp",this.J()||a.A),e=0;e<this.F.length;++e){var g=OW(this,this.F[e].$s);thi s.F[e].aq&&(g=Wt(g,OW(this,this.F[e].aq)));a.Qb(b[e],g)}NW(this)},b.getTime()-u(),a)}KW.prototype.va=function(){KW.O.va.call(this);E(this.C)};function PW(a){X.call(this,a);this.L=!1;a=Y(a);V(this).li sten(a,"n",this.cu).listen(a,"$",this.bu)}v(PW,X);f=PW.prototype;f.update=function(){QW(this);RW(this)};f.bj=function(a,b){switch(a){case 1:this.L||(this.update(b),this.L=!0);break;case 2:this.Vl();break;case 3:this.Xj();break;default:this.update(b)}};f.Vl=function(){RW(this);SW(this,"drive-viewer-msg-loading-img",IW)};function QW(a){var b=a.B;b.Sa(Bj(b,"drive-viewer-msg-loading-im g",a.ag()))} f.cu=function(a){var b=a.target.Pb().Pb(),c=Y(this.A);ou(c)&&b.getId()==Z(c).getId()&&this.bj(this.getState(a.target),b.Da)};f.Xj=function(){QW(this);SW(this,"drive-viewer-content-error-container",hx ,{Xe:"Whoops!",error:"There was a problem loading the details."})};function RW(a){var b=a.B;b.Sa(Bj(b,"drive-viewer-content-error-container",a.ag()))}function SW(a,b,c,d){var e=a.B;a=a.ag();b=Bj(e,b, a);null==b&&(b=P(c,d,void 0,e),e.Ca(a,b))} f.bu=function(){var a=Z(Y(this.A)).Da;a&&(this.L=!1,this.bj(this.getState(a.ra()),a))};f.setVisible=function(a){var b=this.J();b&&this.da()!=a&&T(b,a)};f.da=function(){var a=this.J();return null!=a&&Jq(a)};function TW(a){PW.call(this,a)}v(TW,PW);f=TW.prototype;f.ea=function(){this.D=P(tW,void 0,void 0,this.B)};f.update=function(a){TW.O.update.call(this,a);a=(a=a.ra())?a.V:[];if(!(0>=a. length)){for(var b=this.B,c=P(CW,void 0,void 0,b),d=0;d<a.length;d++){var e=new KW(this.A,a[d]);this.ca(e);e.ga(c)}b.Ca(this.J(),c)}};f.bj=function(a,b){this.L||(this.B.Fb(this.ag()),Gb(ys(this)));TW .O.bj.call(this,a,b)};f.ag=function(){return this.J()};f.getState=function(a){return a?a.F:null};function UW(a){LA.call(this,a,yA)}v(UW,LA);f=UW.prototype;f.lc=function(){var a=this.A,b=Z(Y(a)).Da.ra ();return!!b&&b.W&&!a.Oa()};f.sf=function(a){MA(this,a)&&(a=this.lc(),this.action.setVisible(a),this.action.setEnabled(a))};f.Kd=function(a){var b=a.data,c=this.A;a=Z(Y(c));var d=gh(a.A),c=al(c,dp),b =Yk(Xk(Zk(new Tk(c.A,kl(c,d,"description"),"drive#file")),"PUT"),{description:b}).start();hl(c,b);NA(this,a,b)};f.bi=function(a,b,c){b=!!c&&c.id==gh(a.A);this.U(new KA(a,b,b?new Vj(c.description):voi d 0))}; f.rf=function(a){this.U(new KA(a,!1,void 0))};f.Rf=function(){return 42};function VW(a,b){X.call(this,a);this.$=b;this.I=null;this.C=new ft(this.B);this.ca(this.C)}v(VW,X);VW.prototype.ea=function(){ var a=3==Og(L(this.A))?vW:uW;this.D=P(a,{Gp:this.$},void 0,this.B);this.I=U(this,"drive-viewer-details-subpane-content")};VW.prototype.Y=function(){VW.O.Y.call(this);var a=U(this,"drive-viewer-detail s-edit-button");rs(this.C,a);$u(a,this.B);this.C.setVisible(!1)};VW.prototype.setVisible=function(a){var b=this.J();b&&this.da()!=a&&T(b,a)}; VW.prototype.da=function(){var a=this.J();return null!=a&&Jq(a)};function WW(a){VW.call(this,a,"Description");this.N=this.F=this.L=null;this.S=this.H="";this.W=new UW(a);this.X=3==Og(L(a))}v(WW,VW);f =WW.prototype;f.ea=function(){WW.O.ea.call(this);var a=this.B;this.N=P(yW,void 0,void 0,a);a.Ca(this.I,this.N)}; f.Y=function(){WW.O.Y.call(this);var a=this.B;this.L=Bj(a,"drive-viewer-details-description",this.N);this.F=Bj(a,"drive-viewer-details-description-edit",this.N);this.C.ta("Edit Description");V(this). listen(this.C,"action",this.Wt).listen(this.F,"keydown",this.Xt).listen(a.A,"mousedown",this.Yt).listen(this.W,"ea",this.Hy)}; f.update=function(a){this.H="";var b=(a=a.ra())?a.L:null;null===b?this.setVisible(!1):(this.H=b,this.setVisible(!0),this.S=(b=this.W.lc())?"Add a description":"No description",a=a.N?"Saving...":this. H||this.S,T(this.F,!1),T(this.L,!0),XW(this,a),this.C.setVisible(b))};f.Wt=function(a){var b=this.A;T(this.F,!0);T(this.L,!1);this.X&&this.C.setVisible(!1);this.F.value=this.H;Pu(au(b),this.F);nv(ov( b),{ka:41,qa:pr(a)})}; f.Xt=function(a){switch(a.keyCode){case 27:a.preventDefault();YW(this,!1);break;case 13:if(a.shiftKey)break;a.preventDefault();YW(this,!0);break;case 9:a.preventDefault(),YW(this,!0)}a.B()};f.Yt=func tion(a){this.F&&Jq(this.F)&&this.F!=a.target&&YW(this,!0)};function YW(a,b){if(b){var c=a.F.value;c!=a.H&&(Z(Y(a.A)).Da.ra().N=!0,XW(a,"Saving..."),dk(a.W.action,c))}T(a.F,!1);T(a.L,!0);a.X&&a.C.setV isible(!0);Pu(au(a.A),a.C.J())} f.Hy=function(a){var b=a.item,c=a.payload,d="";c&&(d=c.data);c=b.Da.ra();c.N=!1;var e=Y(this.A),e=ou(e)&&Z(e).getId()==b.getId();a.success?(c.L=d,e&&(this.H=d)):oz(gz(this.A),'There was a problem updating description of "'+(to(b)+'".'),!0,1E4);e&&XW(this,this.H||this.S)};function XW(a,b){var c=mi(b);Ki(a.L,c)};function ZW(a){VW.call(this,a,"Download Permission");this.F=null}v(Z W,VW);ZW.prototype.ea=function(){ZW.O.ea.call(this);var a="dvddp_"+bb(),b=this.B,a=P(zW,{fD:a},void 0,b);b.Ca(this.I,a)};ZW.prototype.Y=function(){ZW.O.Y.call(this);this.F=U(this,"drive-viewer-detail s-download-permission-message")};ZW.prototype.update=function(a){var b=Ao(a.Pb()),b=Xz(b);(a=a.ra())&&!b&&0!=a.H&&a.R?(this.setVisible(!0),this.B.Qb(this.F,1==a.H?"Viewers cannot download":"Viewers can download")):this.setVisible(!1)};function $W(a){var b=qt(new mt,a.size);switch(a.B){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 Gt(new Bt("{FILE_SIZE, plural, =0 {0 bytes}=1 {1 byte}other {# bytes}}"),{FILE_SIZE:a.A})}}function aX(a,b,c){this.A=a;this.size=b||a;this.B=c};var bX=!A;function cX(a){VW.call(this,a,"General Info");this.F=null;this.L=[];this.H=[];this.N=[]}v(cX,VW);var dX="Type;Dimensions;Size;Location;Modified;Created;Opened by me".split(";");f=cX.prototype; f.ea=function(){cX.O.ea.call(this);var a=this.B;this.F=P(wW,{labels:dX},void 0,a);a.Ca(this.I,this.F)};f.Y=function(){cX.O.Y.call(this);var a=this.B;this.L=Qi("drive-viewer-details-info-row",this.F|| a.A);this.H=Qi("drive-viewer-details-subpane-item",this.F||a.A);V(this).listen(Y(this.A),"o",this.qB)}; f.update=function(a){var b=a.ra(),c=Gp(Ao(a.Pb())),d=b?eX(b.S):null,e=b?eX(b.X):null,g=b?eX(b.I):null,h=a.C;if(h){var k="";n(!1)||(k="B");var m=h,p=m,r="",z=1;0>m&&(m=-m);for(var C=0;C<pn.length;C++) {var F=pn[C],z=qn[F];if(m>=z||1>=z&&m>.1*z){r=F;break}}r?k&&(r+=k):z=1;k=Math.pow(10,n(0)?0:2);p=/^(\d+)([KMGTP])?$/.exec(Math.round(p/z*k)/k+""+r);h=$W(p?new aX(h,Number(p[1]),p[2]):new aX(h))}else h=null;p=(p=a.B)&&0<p.width&&0<p.height?qt(St,p.width)+(" x "+qt(St,p.height)):null;c=[c,p,h,null,e,d,g]; for(d=0;d<c.length;++d)e=this.L[d],g=this.H[d],h=c[d],Aa(Ca(h))?T(e,!1):(this.B.Qb(g,h),T(e,!0));c=[];a=a.Pb();b&&SA(a)&&Vo(b)&&(c=fX(b));gX(this,c)};f.qB=function(a){a=a.target.Pb().Pb();var b=a.Da.ra();if(Vo(b)){var b=fX(b),c=Y(this.A);ou(c)&&a.getId()==Z(c).getId()&&gX(this,b)}}; function fX(a){a=Nb(nb(a.A),function(a){return!Aa(Ca(a.alternateLink))});Lb(a,function(a){Aa(Ca(a.iconLink))&&(a.iconLink=a.shared?"//ssl.gstatic.com/docs/doclist/images/icon_11_shared_collection_lis t.png":"//ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png")});return a}function eX(a){if(a){var b=oW,c=new dW(7),d=new Date(u()),b=a.getYear()==d.getYear()?new dW(b.tj):new dW(2),c=jW(c,a);a=jW(b,a);return c+(" "+a)}return null} function gX(a,b){var c=a.B,d=Jb(dX,"Location"),e=a.L[d],d=a.H[d];Lb(a.N,function(a){this.removeChild(a,!0)},a);c.Fb(d);Xb(a.N);var g=P(xW,{locations:b},void 0,c);d.appendChild(g);c=Qi("drive-viewer-d etails-location-link",g||c.A);for(g=d=0;g<b.length;g++){var h=b[g].title;if(!Aa(Ca(h))){var k=c[d++];hX(a,k,h)}}T(e,0<c.length)}function hX(a,b,c){var d=new ft(a.B);a.ca(d);rs(d,b);a.N.push(d);Yr(b,c ,void 0,"",!0);V(a).listen(d,"action",a.KA)} f.KA=function(a){var b;b=a.target.J();b=bX&&b.dataset?"id"in b.dataset?b.dataset.id:null:b.getAttribute("data-"+"id".replace(/([A-Z])/g,"-$1").toLowerCase());var c=this.A,d=Z(Y(c));nv(ov(c),{ka:72,qa :pr(a)});a=d.Da.ra();c.Oa()?b=a.A[b].alternateLink:(c=gh(d.A),d=L(this.A),a=qg(d)||"0",d=xg(d)||go(Fj(W(this.A))),b=xm(xm(xm(lm(new hm,"my-drive"),"action","locate"),"id",c),"parent",b),b=xm(nm(xm(ne w hm(d),"authuser",a),b.toString()),"usp","drive_viewer_dp").toString());Iz(b,{target:"_blank",noreferrer:!0})};var iX=tc("Macintosh")||wc();function jX(a,b,c){b=br[b];var d=a.toLowerCase().indexOf(b ),e;if(0<=d){e=a.charAt(d);var g=[],h=a.substr(0,d),d=a.substr(d+1,a.length);0<h.length&&g.push(Ej(c,h));g.push(kX(e,c));0<d.length&&g.push(Ej(c,d));e=g}else e=c.ma("SPAN","goog-menuitem-mnemonic-sep arator","(",kX(b.toUpperCase(),c),")"),e=[Ej(c,a),e];c=c.ma("SPAN",void 0,e);tk(c,a+", "+b+";");return c}function kX(a,b){return b.ma("SPAN","goog-menuitem-mnemonic-hint",a)};function lX(a,b,c,d){w.call(this);this.B=new M(this);this.D=new fk(this);this.A={};this.I=!!c;this.H=d||null;this.C=b||mX;for(var e in this.C)this.A[e]=this.R;this.A.enabled=function(a,b,c,d,e){a.setEnabled( !!e)};this.A.hint=this.F;this.A.keys=Jd(this.F,this.A.keys||q);this.A.value=function(a,b,c,d,e){ka(a.ua)&&a.ua(e)};this.A.visible=function(a,b,c,d,e){a.setVisible(!!e)};this.A.selected=function(a,b,c ,d,e){Is(a,16)&&Ys(a,!!e)};a&&yb(this.A,a)}v(lX,w); lX.prototype.Z=function(){lX.O.Z.call(this);this.B.dispose();this.D.dispose();delete this.B;delete this.D;delete this.A;delete this.C}; lX.prototype.R=function(a,b,c,d){if(d in b){d=[];var e=c.A.icon;e&&"icon"in b&&d.push(nX(a,e));"mnemonic"in b&&ka(a.Oi)&&a.Oi(c.A.mnemonic);var g,h=c.A["node-label"]||null,k=Zj(c),e="mnemonic"in b?c.A.mnemonic:null;if(h&&"node-label"in b){g=h.cloneNode(!0);if(e&&ka(a.Oi)){h=a.B;if(!(k=oX(g,e,h)))for(k=g;k.lastChild;)k=k.lastChild;var m=wj(k),h=h||Mi(),e=jX(m,e,h);k==g?g=e:(h=k.parentNode)&& h.replaceChild(e,k)}g=[g]}else k&&"label"in b&&(e&&ka(a.Oi)?(g=Mi(),e=jX(k,e,g)):e=a.B.ma("SPAN",void 0,k),kj(e)&& S(e,a.C.ia()+"-label"),A&&kj(e)&&S(e,a.C.ia()+"-label-ie"),g=e);g&&cc(d,g);(e=c.ob())&&"keys"in b&&d.push(pX(a,c,e));a.C.eg(a.J(),d);a.ye=d}};lX.prototype.F=function(a,b,c){ka(a.ta)&&(b=qX(c),c=qX(c, !0),a.ta(b),a=a.J(),this.I&&a&&Pr(a,b,c))};function qX(a,b){var c=a.A.hint||"";if(c){var d=a.ob();d&&(d=rX(a,d),b&&(d=sX(d)),c+=" ("+d+")")}return c||""} function nX(a,b){var c=a.C.ia()+"-icon";A&&(c=c+" "+(a.C.ia()+"-icon-ie"));var d=a.B,d=d||Mi(),e={};e["class"]="docs-icon-img-container "+b;return d.ma("DIV",{"class":"docs-icon goog-inline-block"+(c ?" "+c:""),"aria-hidden":!0},d.ma("DIV",e))}function oX(a,b,c){var d=br[b];return Kj(a,function(a){return 3==a.nodeType&&0<=c.uo(a).toLowerCase().indexOf(d)})||null}function pX(a,b,c){b=rX(b,c);retur n a.B.ma("SPAN",{"class":a.C.ia()+"-accel","aria-label":sX(b)},b)} function sX(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.rep lace("=","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.replac e("/","slash");a=a.replace("\\","backslash");a=a.replace(tX.up,"up");a=a.replace(tX.down,"down");a=a.replace(tX.left, "left");a=a.replace(tX.right,"right");return"shortcut "+a+"."} function rX(a,b){fa(b)&&(b=b[0]);for(var c in tX)b.match(new RegExp("-"+c,"gi"))||(b=b.replace(new RegExp(c,"gi"),tX[c]));iX&&(c=!a.A["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-L ock");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 tX={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191" }; function uX(a,b,c,d,e,g){var h=d||vX,k=e||q;wX(a,b,c,h);gk(a.D,c,Tj,function(a){var d=a.Ii;!b.Aa&&(d in h||"keys"==d)&&this.A[d].call(this,b,h,c,d,a.A,a.B)});a.B.listen(b,"action",function(a){if(!c.A .require_direct_target||a.currentTarget==a.target)if(a=k(a),this.H){var d=g;null!=d||(d=new bu(qr(b.J())));dk(c,a,d)}else dk(c,a)})} function wX(a,b,c,d){ia(c.A.selected)&&ka(b.Wh)&&b.Wh(!0);if(A){var e=b.C.ia()+"-ie";e&&(b.ne?Wb(b.ne,e)||b.ne.push(e):b.ne=[e],Ds(b,e,!0))}var e=b.Tg,g;for(g in d)if(g in a.A){if(g in a.C)if(e)continue;else e=!0;a.A[g].call(a,b,d,c,g,c.A[g],null)}}var vX={enabled:!0,value:!0,visible:!0},mX={icon:!0,keys:!0,label:!0,"long-label":!0,"node-label":!0,mnemonic:!0},xX={enabled:!0,hi nt:!0,value:!0,visible:!0};function yX(a){this.A={};this.B=a}function zX(a,b){return AX(AX(a,"enabled",b),"visible",b)}function AX(a,b,c){a.A[b]=t(c,a.B);return a}function BX(a){return new lX(a.A,void 0,void 0,CX.la())}function CX(){}v(CX,w);da(CX);function DX(a){VW.call(this,a,"Sharing");this.F=BX(zX(new yX(this),this.aj));x(this,this.F)}v(DX,VW);f=DX.prototype;f.Y=function(){DX. O.Y.call(this);this.C.setVisible(!1);if(!this.A.Oa()&&3!=Og(L(this.A))){var a=pu(this.A),b=a.W;b?EX(this,b):ml(V(this),a,"ia",t(this.ZB,this));this.aj()}}; f.update=function(a){var b=this.B;b.Fb(this.I);a=(a=a.ra())?a.$:[];if(0>=a.length)this.setVisible(!1);else{for(var c=P(GW,void 0,void 0,b),d=0;d<a.length;d++){var e;e=a[d];var g=this.B,h;h=e.addition alRoles;var k="";switch(e.role){case "organizer":k="Organizer";break;case "owner":k="Owner";break;case "reader":k=h&&Wb(h,"commenter")?"Can Comment":"Can View";break;case "writer":k="Can Edit"}h=k;k=void 0;"anyone"==e.type?k=e.withLink?"Anyone with the link":"Anyone":k=e.name||e.emailAddress;if(k){h=P(HW, {name:k,gG:h},void 0,this.B);var m=Bj(g,"drive-viewer-details-permission-name",h);Yr(m,k,void 0,"",!0);var g=Bj(g,"drive-viewer-details-permission-avatar",h),m=void 0,p=FW,r={Ze:k.charAt(0).toUpperCa se()};switch(e.type){case "user":e.photoLink&&(p=EW,r={url:e.photoLink});m=e.emailAddress;break;case "group":p=JW;r={className:"drive-viewer-details-group-avatar"};m=e.emailAddress;break;case "domain":e.withLink?r={className:"drive-viewer-details-domain-avatar-with-link"}:r={className:"drive-viewer-details-domain-avatar"}; p=JW;k=e.domain||k;m=e.withLink?"Anyone at "+(k+" with the link"):"Anyone at "+k;break;case "anyone":p=JW,e.withLink?(r={className:"drive-viewer-details-anyone-avatar-with-link"},m="Anyone with the link"):(r={className:"drive-viewer-details-anyone-avatar"},m="Anyone")}e=P(p,r,void 0,this.B);m&&Yr(e,m);g.appendChild(e);e=h}else e=null;e&&c.appendChild(e)}b.Ca(this.I,c);this.setVisible( 0<b.getChildren(c).length);this.aj()}};f.ZB=function(){var a=pu(this.A).W;EX(this,a);this.aj()}; function EX(a,b){a.C.Ra=b;a.C.ta(b.A.hint||"");V(a).listen(pu(a.A),"ha",a.fu).listen(a.C,"action",a.eu);uX(a.F,a.C,b,xX,t(a.du,a))}f.fu=function(a){var b=this.C.J();a.F.J()==b&&this.C.Ra==a.D&&this.C .da()&&this.C.isEnabled()&&Pu(au(this.A),b)};f.eu=function(){ZT(gz(this.A))};f.du=function(){return new zA(Z(Y(this.A)).A,this.C)};f.aj=function(){var a=this.C.Ra;this.C.setVisible(this.da()&&null!=a &&a.da()&&a.isEnabled())};function FX(a){PW.call(this,a);this.I=new cX(a);this.ca(this.I);this.C=new WW(a);this.ca(this.C);this.F=new DX(a);this.ca(this.F);this.H=new ZW(a);this.ca(this.H)}v(FX,PW);f =FX.prototype;f.ea=function(){this.D=P(sW,void 0,void 0,this.B);var a=this.J();this.I.ga(a);3==Og(L(this.A))?(this.F.ga(a),this.C.ga(a)):(this.C.ga(a),this.F.ga(a));this.H.ga(a)};f.update=function(a) {FX.O.update.call(this,a);GX(this,!0);this.I.update(a);this.C.update(a);this.F.update(a);this.H.update(a)}; f.Vl=function(){GX(this,!1);FX.O.Vl.call(this)};f.Xj=function(){GX(this,!1);FX.O.Xj.call(this)};f.ag=function(){return this.J()};f.getState=function(a){return a?a.B:null};function GX(a,b){a.I.setVisi ble(b);a.C.setVisible(b);a.F.setVisible(b);a.H.setVisible(b)};function HX(){}v(HX,zs);da(HX);f=HX.prototype;f.ia=function(){return"goog-tab"};f.Rc=function(){return"tab"};f.bc=function(a){var b=HX.O.bc.call(this,a);(a=a.yb())&&this.ta(b,a);return b};f.bb=function(a,b){b=HX.O.bb.call(this,a,b);var c=this.yb(b);c&&a.Ud(c);Js(a,8)&&(c=a.Sb())&&ka(c.He)&&(Xs(a,8,!1),c.He(a));return b};f.yb=function(a){return a.title||""};f.ta=function(a,b){a&&(a.title=b||"")};function IX(a,b,c){Ps.call(this,a,b||HX.la(),c);this.Za(8,!0);this.Ie|=9}v(IX,Ps);IX.prototype.yb=function(){return this.L};IX.prototype.ta=function(a){this.C.ta(this.J(),a);this.Ud(a)};IX.prototype.Ud=function(a){this.L=a};Ms("goog-tab",function(){return new IX(null)});function JX(){}v(JX,HX);da(JX);JX.prototype .ia=function(){return"drive-viewer-details-tab"};function KX(a,b,c){IX.call(this,b,JX.la(),W(a));this.F=a;this.A=c;this.ee&=-3}v(KX,IX);KX.prototype.ea=function(){KX.O.ea.call(this);ls(this,"dvdt_"+b b())};KX.prototype.Y=function(){KX.O.Y.call(this);this.A.setVisible(!1);pk(this.A.D,"labelledby",this.getId());LX(this,!0)};KX.prototype.jd=function(a){KX.O.jd.call(this,a);var b=this.D;this.A.setVis ible(a);W(this.F).Ya(b,a);var c=au(this.F);a&&(null==c.C||c.B!=bV(c))&&Pu(c,b)};function LX(a,b){Tp(a.J(),"drive-viewer-details-tab-indicator",b)};function MX(){this.A="tablist"}v(MX,wu);da(MX);MX.pr ototype.ia=function(){return"goog-tab-bar"};MX.prototype.Ol=function(a,b,c){this.D||(this.B||NX(this),this.D=wb(this.B));var d=this.D[b];d?(Au(a,OX(d)),a.Ha=d):MX.O.Ol.call(this,a,b,c)};MX.prototype. uk=function(a){var b=MX.O.uk.call(this,a);this.B||NX(this);b.push(this.B[a.Ha]);return b};function NX(a){var b=a.ia();a.B={top:b+"-top",bottom:b+"-bottom",start:b+"-start",end:b+"-end"}};function PX(a,b,c){a=a||"top";Au(this,OX(a));this.Ha=a;Bu.call(this,this.Gd,b||MX.la(),c);QX(this)}v(PX,Bu);f=PX.prototype;f.Vb=null;f.Y=function(){PX.O.Y.call(this);QX(this)};f.Z=function(){PX.O.Z.call(this );this.Vb=null};f.removeChild=function(a,b){RX(this,a);return PX.O.removeChild.call(this,a,b)};f.Ml=function(a){PX.O.Ml.call(this,a);this.He(us(this,a))};f.He=function(a){a?a.jd(!0):this.Vb&&this.Vb. jd(!1)}; function RX(a,b){if(b&&b==a.Vb){for(var c=xs(a,b),d=c-1;b=us(a,d);d--)if(SX(b)){a.He(b);return}for(c+=1;b=us(a,c);c++)if(SX(b)){a.He(b);return}a.He(null)}}function SX(a){return a.da()&&a.isEnabled()} f.Pk=function(a){this.Vb&&this.Vb!=a.target&&this.Vb.jd(!1);this.Vb=a.target};f.lC=function(a){a.target==this.Vb&&(this.Vb=null)};f.iC=function(a){RX(this,a.target)};f.jC=function(a){RX(this,a.target )};f.Qh=function(){Fu(this)||this.ud(xs(this,this.Vb||us(this,0)))}; function QX(a){V(a).listen(a,"select",a.Pk).listen(a,"unselect",a.lC).listen(a,"disable",a.iC).listen(a,"hide",a.jC)}function OX(a){return"start"==a||"end"==a?"vertical":"horizontal"}Ms("goog-tab-bar ",function(){return new PX});function TX(){MX.call(this)}v(TX,MX);da(TX);TX.prototype.ia=function(){return"drive-viewer-details-tabbar"};function UX(a,b){PX.call(this,b,TX.la(),W(a));this.A=a;this.C= !1}v(UX,PX);UX.prototype.Y=function(){UX.O.Y.call(this);var a=this.D;tk(a,"Details panel tab bar. Press left and right arrow keys to switch between tabs.");V(this).listen(a,"keydown",this.F);W(this.A ).Ya(a,!1)};UX.prototype.kf=function(a){return 27==a.keyCode?(a=this.A,YB(Kx(a),!1),LC(au(a)),!0):UX.O.kf.call(this,a)};UX.prototype.F=function(a){37==a.keyCode||39==a.keyCode?(a.B(),this.C=!0):this. C=!1}; UX.prototype.Pk=function(a){UX.O.Pk.call(this,a);this.ud(xs(this,this.Vb));ou(Y(this.A))&&(nv(ov(this.A),{ka:0==xs(this,this.Vb)?39:40,qa:this.C?1:14}),this.C=!1)};function VX(a){X.call(this,a);this. F=new UX(a);this.ca(this.F);this.S=new FX(a);this.ca(this.S);this.I=new TW(a);this.ca(this.I);this.L=new KX(a,"Details",this.S);this.F.ca(this.L);this.H=new KX(a,"Comments",this.I);this.F.ca(this.H); this.C=this.N=null;3==Og(L(a))&&(this.C=new ft(W(a)),this.ca(this.C));a=Y(a);V(this).listen(Kx(this.A),"sa",this.$t).listen(a,"$",this.au).listen(a,"n",this.pz)}v(VX,X);f=VX.prototype; f.ea=function(){this.D=P(rW,void 0,void 0,this.B);this.N=U(this,"drive-viewer-details-content");this.S.ga(this.N);this.I.ga(this.N);var a=U(this,"drive-viewer-details-header");this.F.ga(a);var b=this.F.J();this.L.ga(b);this.H.ga(b);this.C&&(b=P(BV),a.appendChild(b),rs(this.C,b));this.setVisible(!1)};f.Y=function(){VX.O.Y.call(this);var a=this.F;a.He(us(a,0));this.C&&(V(this).listen(this.C ,"action",this.Zt),this.C.ta("Hide details"),$u(this.C.J(),this.B))}; f.setVisible=function(a){Tp(this.J(),"drive-viewer-details-panel-hidden",!a);zk(this.D,!a)};f.Zt=function(a){YB(Kx(this.A),!1,a)};f.$t=function(a){var b=this.A,c=Kx(b).A,d=Gj(this.B);!c&&mj(this.J(), d)&&LC(au(b));this.setVisible(c);nv(ov(this.A),{ka:c?33:34,qa:pr(a.D)});yk(b.get(wy),c?"Details panel expanded.":"Details panel collapsed.");c&&a.D&&"action"==a.D.type&&Pu(au(b),this.F.Vb.J())};f.au= function(){WX(this)};f.pz=function(){WX(this)}; function WX(a){var b=Y(a.A),c=!1;ou(b)&&(b=Z(b).Da.ra(),c=!!(b&&0<b.V.length));a.H.setVisible(c);LX(a.L,c)};function XX(a){w.call(this);this.A=new cr(a);this.A.H=!1;x(this,this.A);this.B={}}v(XX,w);f unction ru(a,b,c,d){c=YX(a,b,c,d);d=ja(c)?c:c.key;a.B[d]=[c,b];return d}function YX(a,b,c,d){var e;if(ja(b))e=br[b];else if(fa(b)){e=[];for(var g=0;g<b.length;g++)0==g%2?e.push(br[b[0]]):e.push(b[g]) ;e=String(e)}else e=String(b);a.A.Cg(e,b);return nd(a.A,"shortcut_"+e,c,void 0,d)}function su(a,b){var c=a.B[b];null!=c&&(a.A.AG(c[1]),wd(c[0]),a.B[b]=null)} function gv(a){for(var b in a.B)su(a,Number(b));a.B={}}XX.prototype.Z=function(){XX.O.Z.call(this);xd(this.A)};function ZX(a,b){this.A=a;this.B=String(b);this.C="";this.D=!1;$X(this)}v(ZX,w);ZX.proto type.J=function(){return this.A};ZX.prototype.show=function(a){a&&Rp(this.A,"drive-viewer-mobile-chrome-transition");fq(this.A,this.B,this.C);a&&D(function(){$X(this)},250,this)};ZX.prototype.hide=fu nction(){if(!this.D){this.C=iq(this.A,this.B);var a=Dq(this.A),b=Rq(this.A);fq(this.A,this.B,-("left"==this.B||"right"==this.B?a.width+b.right+b.left:a.height+b.top+b.bottom)+"px")}}; function $X(a){S(a.A,"drive-viewer-mobile-chrome-transition")};function aY(a,b){fV.call(this,a);this.C=[];this.H=[];this.D=null;this.F=!1;var c=new ON(b);x(this,c);this.Ka.listen(W(a).A,"touchstart", this.Dz,!0).listen(c,"$a",this.zC)}v(aY,fV);f=aY.prototype;f.ke=function(a,b){var c=new bB(a);x(this,c);this.Ka.listen(c,"focusin",this.ru);c=new ZX(a,b);x(this,c);this.C.push(c)};f.Xa=function(a){th is.B||(this.B=!0,Lb(this.C,function(b){b.show(a)}))};f.wc=function(){this.B&&(this.B=!1,Lb(this.C,function(a){a.hide()}))}; f.El=function(a){this.H.push(a.J());this.Ka.listen(a,"$a",this.Oz).listen(a,"ab",this.Pz)};f.ru=function(){this.Xa()};f.Dz=function(){this.F=gV(this)};f.zC=function(a){a=a.D;bY(this,a)||this.F||(Pp(a ,"drive-viewer-close-enabled")||Pp(a,"drive-viewer-focus-to-default"))&&cY(this)};function bY(a,b){return Rb(a.H,function(a){return!!a&&a.contains(b)})}f.Oz=function(){E(this.D);this.F||(this.D=D(fun ction(){cY(this)},300,this))};f.Pz=function(){E(this.D)};function cY(a){E(a.D);a.B?a.wc():a.Xa()} f.Z=function(){E(this.D);aY.O.Z.call(this)};f.vn=q;f.Cl=q;f.Li=q;f.wl=function(a,b){Lb(this.C,function(c){c.J()==a&&c.D!=b&&(c.D=b,this.B||(b?c.show():c.hide()))},this)};function dY(){}var ql=new dY,eY=["click",Ac?"keypress":"keydown","keyup"];dY.prototype.listen=function(a,b,c,d,e){function g(a){var c=od(b),e=kj(a.target)?a.target.getAttribute("role")||null:null;"click"==a.type&&$c(a )?c.call(d,a):13!=a.keyCode&&3!=a.keyCode||"keyup"==a.type?32!=a.keyCode||"keyup"!=a.type||"button"!=e&&"tab"!=e||(c.call(d,a),a.preventDefault()):(a.type="keypress",c.call(d,a))}g.A=b;g.B=d;e?e.list en(a,eY,g,c):nd(a,eY,g,c)};function fY(a){var b;a=a||{};var c=R,d='<div role="button"'+(a.id?' id="'+Kn(a.id)+'"':"")+' class="',e,g;e=a||{};var h="goog-inline-block jfk-button ";switch(ma(g=e.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==e.width?" jfk-button-narrow": "")+(e.checked?" jfk-button-checked":"")+(e.gh?" "+e.gh:"")+(e.disabled?" jfk-button-disabled":"");d=d+Kn(xn(h))+'"'+(a.disabled?' aria-disabled="true"':' tabindex="'+(a.pr?Kn(a.pr):"0")+'"')+(a.titl e?" "+(a.CG?"data-tooltip":"title")+'="'+Kn(a.title)+'"':"")+(a.value?' value="'+Kn(a.value)+'"':"");a.attributes?(e=a.attributes,tn(e,gn)?e=e.getContent().replace(/([^"'\s])$/,"$1 "):(e=String(e),e= ao.test(e)?e:"zSoyz"),e=" "+e):e="";return c(d+e+">"+Q(null==(b=a.content)?"":b)+"</div>")};function gY(a){var b='<div class="apps-shortcutshelppopup-dialog"><div class="apps-shortcutshelppopup-conte nt-wrapper"></div>',b=a.BG?b+('<div class="apps-shortcutshelppopup-close"><span id="'+Kn(a.an)+'" class="modal-dialog-title-close" tabindex="0" role="button"></span></div>'):b+('<div class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_WRAPPER"><span id="'+Kn(a.an)+'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK" tabindex="0" role="button">Close</span></div>');return R(b+"</div>")} function hY(a){a=""+('<div class="apps-shortcutshelppopup-container'+("black"==a.ii?" apps-shortcutshelppopup-hc-black":"white"==a.ii?" apps-shortcutshelppopup-hc-white":"")+'"><div class="apps-shortcutshelppopup-header" role="presentation"><div><div class="apps-shortcutshelppopup-title-container apps-shortcutshelppopup-header-element"><h2 id="'+Kn(a.Vj)+'" class="apps-shortcut shelppopup-dialog-title">Keyboard shortcuts</h2><input type="text" class="apps-shortcutshelppopup-input jfk-textinput" role="combobox" aria-autocomplete="list" placeholder="'+ Dn("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="'+Kn(Ln(a.Tl))+'" class="apps-shortcutshelppopup-tearof f-link apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a></div></div></div><div class="apps-shortcutshelppopup-search-banner">'+ Q(fY({gh:An("apps-shortcutshelppopup-reset-search-button"),style:0,pr:0,content:Bn('<div class="apps-shortcutshelppopup-reset-search-button-icon"><div class="apps-shortcutshelppopup-reset-search-butt on-img"></div></div>')}))+'<h3 class="apps-shortcutshelppopup-search-label"></h3></div></div>');return R(a)} function iY(a){var b=(a.ki?'<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="'+Kn(a.uG)+'"><tbody>';a=a.Vo;for(var c=a.length,d=0;d<c;d++)for(var e=a[d],b=b+(e.title?'<tr><th colspan="2"><h3 class="apps-shortcu tshelppopup-content-header'+(0==d?" apps-shortcutshelppopup-content-header-first":"")+'">'+Q(e.title)+"</h3></th></tr>": ""),e=e.Lb,g=e.length,h=0;h<g;h++)var k=e[h],b=b+('<tr><td class="apps-shortcutshelppopup-shortcut-desc apps-shortcutshelppopup-content-element">'+Q(k.description)+'</td><td class="apps-shortcutshelp popup-shortcut-key apps-shortcutshelppopup-content-element">'+Q(k.keys)+"</td></tr>");return R(b+"</tbody></table></div>")} function jY(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_SHORTCUT S_HELP_POPUP_TITLE CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT" id="'+Kn(a.Vj)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</td><td class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LIN K_CONTAINER CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT"><a target="keyboard_shortcuts_help_window" href="'+ Kn(Ln(a.Tl))+'" 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"></spa n></td></tr></table>'+(a.ki?'<div class="apps-shortcutshelppopup-pref-component"></div>':"")+'<table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_CONTENT"><tr>');a=a.Vs;for(var c=a.length,d=0;d<c;d++){var e=a[d];b+='<td class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT"><table cellpadding="0" class="CSS_APP_TABLE"><tbody>'; for(var g=e.length,h=0;h<g;h++){var k=e[h];b+='<tr><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER" /><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER"><h3>'+Q(k.title)+"</h3></th></tr>";for(var k=k.Lb,m=k.length,p=0;p<m;p++){var r=k[p];b+='<tr><td class="CSS_SHORTCUTS_HELP_POPUP_KEY CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+Q(r.keys)+'</td><td class="CSS_SHORTCUTS_HELP_POPUP_DESCRIPTION CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+Q(r.description)+"</td></tr>"}}b+="</tbody></table></td>"}return R(b+ "</tr></table></div>")};function kY(a,b){this.A=a;this.B=b?vb(b):{}}function lY(a){a=a.B.confidence;null!=a||(a=-1);return a}function lc(a,b){return lY(b)-lY(a)};function mY(a,b,c){B.call(this);this. R=a;this.V=c;this.A=b;nd(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.H=null;this.D=[];this.C=-1;this.B=0;this.F=this.I=null;this.L={}}v(mY,B);f=mY.prototype;f.Sm=!0 ; f.handleEvent=function(a){var b=this.R;if(a.target==this.A)switch(a.type){case "hilite":this.Be(a.row);break;case "select":var c=!1;if(ja(a.row)){a=a.row;var d=this.D[nY(this,a)],c=!!d&&b.bl&&b.bl(d) ;d&&!c&&this.C!=a&&this.Be(a)}c||oY(this);break;case "canceldismiss":pY(this);break;case "dismiss":qY(this)}};function rY(a){for(var b=a.B+a.D.length-1,c=a.C,d=0;d<a.D.length;d++){if(c>=a.B&&c<b)c++; else if(-1==c)c=a.B;else break;if(a.Be(c))break}} f.Be=function(a){var b=nY(this,a),c=this.D[b];return c&&this.R.bl&&this.R.bl(c)?!1:(this.C=a,this.A.Be(a),-1!=b)};function oY(a){var b=nY(a,a.C);if(-1!=b){var c=a.D[b],d=a.V.Kl(c);a.Db();d||a.U({type :"update",row:c,index:b});return!0}a.Db();a.U({type:"update",row:null,index:null});return!1}f.Db=function(){this.C=-1;this.H=null;this.B+=this.D.length;this.D=[];window.clearTimeout(this.F);this.F=nu ll;this.A.Db();this.U("suggestionsupdate");this.U("dismiss")}; function qY(a){a.F||(a.F=window.setTimeout(t(a.Db,a),100))}f.Kp=function(){return this.F?(window.clearTimeout(this.F),this.F=null,!0):!1};function pY(a){a.Kp()||window.setTimeout(t(a.Kp,a),10)}f.Z=fu nction(){mY.O.Z.call(this);delete this.L;this.A.dispose();this.V.dispose();this.R=null};f.dD=function(a,b,c){this.H==a&&this.Fl(b,c)}; f.Fl=function(a,b){var c="object"==ea(b)&&b,d=(c?c.RI():b)?nY(this,this.C):-1;this.B+=this.D.length;this.D=a;for(var e=[],g=0;g<a.length;++g)e.push({id:this.B+g,data:a[g]});g=null;this.I&&(g=this.L[n a(this.I)]||this.I);this.A.xm=g;this.A.Fl(e,this.H,this.I);g=this.Sm;c&&void 0!==c.cx()&&(g=c.cx());this.C=-1;(g||0<=d)&&0!=e.length&&this.H&&(0<=d?this.Be(this.B+d):rY(this));this.U("suggestionsupda te")};function nY(a,b){var c=b-a.B;return 0>c||c>=a.D.length?-1:c}f.update=function(a){this.V.update(a)};function sY(a,b,c,d){B.call(this);this.L=a||document.body;this.B=Mi(this.L);this.X=!a;this.A=n ull;this.N="";this.D=[];this.F=[];this.ba=this.R=-1;this.H=!1;this.className="ac-renderer";this.V="ac-row";this.$="ac-highlighted";this.I=b||null;this.sa=null!=d?d:!0;this.S=!0;this.aa=!!c}v(sY,B);f= sY.prototype;f.J=function(){return this.A};f.Fl=function(a,b,c){this.N=b;this.D=a;this.R=-1;this.ba=u();this.C=c;this.F=[];tY(this)};f.Db=function(){this.H&&(this.H=!1,uY(this,!1),T(this.A,!1))}; f.show=function(){this.H||(this.H=!0,uY(this,!0),T(this.A,!0))};function uY(a,b){a.C&&(pk(a.C,"haspopup",b),pk(a.A,"expanded",b),pk(a.C,"expanded",b),b?pk(a.C,"owns",a.A.id):(a.C.removeAttribute("ari a-owns"),sk(a.C,null)))}f.da=function(){return this.H}; function vY(a,b){var c=0<=b&&b<a.D.length?a.D[b]:void 0,d=0<=b&&b<a.F.length?a.F[b]:void 0;a.U({type:"rowhilite",pJ:d,row:c?c.data:null})&&(0<=a.R&&Sp(a.F[a.R],["ac-active","active"]),a.R=b,d&&(Qp(d, ["ac-active","active"]),a.C&&sk(a.C,d),wq(d,a.A)))}f.Be=function(a){if(-1==a)vY(this,-1);else for(var b=0;b<this.D.length;b++)if(this.D[b].id==a){vY(this,b);break}}; function wY(a){if(!a.A){var b=a.B.ma("DIV",{style:"display:none"});a.A=b;Qp(b,Ea(a.className).split(" "));ok(b,"listbox");b.id=hs(gs.la());a.B.Ca(a.L,b);nd(b,"click",a.So,!1,a);nd(b,"mousedown",a.To, !1,a);nd(b,"mouseover",a.Uo,!1,a)}} function tY(a){wY(a);a.fa&&(a.A.style.minWidth=a.fa.clientWidth+"px");a.F.length=0;a.B.Fb(a.A);a.I&&a.I.ga?a.I.ga(a,a.A,a.D,a.N):Lb(a.D,function(a){var c=this.N,d=this.B.ma("DIV",{className:this.V,id :hs(gs.la())});ok(d,"option");this.I&&this.I.oJ||nj(d,a.data.toString());c&&this.sa&&(this.W=!1,xY(this,d,c));S(d,this.V);this.F.push(d);this.B.Ca(this.A,d)},a);0==a.D.length?a.Db():(a.show(),yY(a),M q(a.A,!0))}function yY(a){if(a.C&&a.X){var b=a.xm||a.C,c;c=a.aa?5:1;zr(b,c,a.A,c^1,null,null,65)}} f.Z=function(){this.A&&(vd(this.A,"click",this.So,!1,this),vd(this.A,"mousedown",this.To,!1,this),vd(this.A,"mouseover",this.Uo,!1,this),this.B.Sa(this.A),this.A=null,this.H=!1);Fb(this.ha);this.L=nu ll;sY.O.Z.call(this)}; function xY(a,b,c){if(!a.W)if(3==b.nodeType){var d=null;fa(c)&&1<c.length&&(d=ec(c,1));c=zY(c);if(0!=c.length){var e=b.nodeValue,g=a.S?new RegExp("\\b(?:"+c+")","gi"):new RegExp(c,"gi");c=[];for(var h=0,k=g.exec(e),m=0;k;)m++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(e);c.push(e.substring(h));if(1<c.length){for(d=0;1>d;d++)e=2*d,b.nodeValue=c [e],g=Dj(a.B,"B"),g.className=a.$,a.B.Ca(g,Ej(a.B,c[e+1])),g=b.parentNode.insertBefore(g,b.nextSibling), b.parentNode.insertBefore(Ej(a.B,""),g.nextSibling),b=g.nextSibling;b.nodeValue=ec(c,2).join("");a.W=!0}else d&&xY(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,xY(a,b,c),b=d}function zY(a){var b="";if(!a)return b;fa(a)&&(a=Nb(a,function(a){return!Aa(Ca(a))}));fa(a)?b=0<a.length?Ua(a[0]):"":/^\W/.test(a)||(b=Ua(a));return b}function AY(a,b){for(;b&&b!=a.A&&!Pp(b,a.V);)b=b.parentN ode;return b?Jb(a.F,b):-1} f.So=function(a){var b=AY(this,a.target);0<=b&&this.U({type:"select",row:this.D[b].id});a.B()};f.To=function(a){a.B();a.preventDefault()};f.Uo=function(a){a=AY(this,a.target);0<=a&&!(300>u()-this.ba) &&this.U({type:"hilite",row:this.D[a].id})};function BY(a,b,c,d){dt.call(this,a,CY.la(),b);this.F=c||0;this.A=d||0;this.fa=!1}v(BY,dt);f=BY.prototype;f.ta=function(a){this.Ud(a);var b=this.J();b&&(this.fa?Pr(b,a,void 0):a?b.title=a:b.removeAttribute("title"))};f.setEnabled=function(a){this.isEnabled()!=a&&(BY.O.setEnabled.call(this,a),DY(this))};f.zf=function(a){BY.O.zf.call(th is,a);EY(this,!1)};f.Tc=function(a){BY.O.Tc.call(this,a);this.isEnabled()&&EY(this,!0)};f.Uc=function(a){BY.O.Uc.call(this,a);this.isEnabled()&&EY(this,!0)}; function EY(a,b){a.J()&&Tp(a.J(),"jfk-button-clear-outline",b)}function DY(a){a.J()&&FY(a.C,a)}function CY(){this.L=this.ia()+"-standard";this.B=this.ia()+"-action";this.V=this.ia()+"-primary";this.F =this.ia()+"-default";this.H=this.ia()+"-flat";this.R=this.ia()+"-narrow";this.I=this.ia()+"-mini";this.C=this.ia()+"-contrast"}v(CY,Ls);da(CY);f=CY.prototype;f.Wd=function(a,b,c){a&&c.F!=a&&(c.F=a,D Y(c));b&&c.A!=b&&(c.A=b,DY(c))};f.ia=function(){return"jfk-button"}; f.bc=function(a){var b=a.B,c=P(fY,{disabled:!a.isEnabled(),checked:Js(a,16),style:a.F,title:a.yb(),CG:a.fa,value:a.ja(),width:a.A},void 0,b);b.Qc(c,a.getContent());this.bb(a,c);return c}; f.bb=function(a,b){CY.O.bb.call(this,a,b);this.D||(this.D=zb(this.L,sa(this.Wd,0,null),this.B,sa(this.Wd,2,null),this.V,sa(this.Wd,3,null),this.F,sa(this.Wd,1,null),this.H,sa(this.Wd,4,null),this.I,s a(this.Wd,5,null),this.C,sa(this.Wd,6,null),this.R,sa(this.Wd,null,1)));for(var c=Op(b),d=0;d<c.length;++d){var e=this.D[c[d]];e&&e(a)}if(c=b.getAttribute("data-tooltip"))a.Ud(c),a.fa=!0;return b};f.ja=function(a){return a.getAttribute("value")||""};f.ua=function(a,b){a&&a.setAttribute("value",b)}; function FY(a,b){function c(a,b){(a?d:e).push(b)}var d=[],e=[],g=b.F;c(0==g,a.L);c(2==g,a.B);c(3==g,a.V);c(4==g,a.H);c(5==g,a.I);c(1==g,a.F);c(6==g,a.C);c(1==b.A,a.R);c(!b.isEnabled(),a.ia()+"-disabl ed");Sp(b.J(),e);Qp(b.J(),d)};function GY(a){var b=R,c='<div id="'+Kn(a.Xs)+'" 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="'+Kn(a.wG)+'">',d;d="";d=a.enabled?d+"Keyboard shortcuts are enabled.":d+"Keyboard shortcuts are disabled.";d=R(d);c=c+d+'</span> <span id="'+Kn(a.RC)+'" role="link" class="CSS_SHORTCUTS_HELP_POPUP_PREF_LINK" tabindex="0">';d="";d=a.enabled?d+"Disable":d+"Enable";a=R(d);return b(c+a+ "</span></div></div>")};function HY(a,b,c){is.call(this,c);this.C=a;this.F=b;this.A=c}v(HY,is);HY.prototype.ea=function(){this.Fa(Dj(this.B,"div"))};HY.prototype.Fa=function(a){this.D=a;mn(a,GY,{enab led:this.C(),Xs:this.getId()+".spc_cont",wG:this.getId()+".spc_text",RC:this.getId()+".spc_link"})};HY.prototype.Y=function(){pl(V(this),this.A.J(this.getId()+".spc_link"),this.F)};function IY(a){var b=0,c=0;if(JY(a))b=a.selectionStart,c=-1;else if(A){var d=KY(a),e=d[0],d=d[1];if(e.inRange(d)){e.setEndPoint("EndToStart",d);if("textarea"==a.type){d.duplicate();b=a=e.text;for(c=!1;!c;)0= =e.compareEndPoints("StartToEnd",e)?c=!0:(e.moveEnd("character",-1),e.text==a?b+="\r\n":c=!0);e=[b.length,-1];return e}b=e.text.length;c=-1}}return[b,c]} function KY(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 LY(a,b){"textarea"==a.type&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b}function JY(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function MY(a,b,c,d){w.call(this);d=d||150;this.C=null!=c?c:!0;this.H=a||",;";this.ba=this.H.substring(0,1);a=this.C?"[\\s"+this.H+"]+":"[\\s]+";this.S=new RegExp("^"+a+"|"+a+"$","g");this.X=new RegExp("\\s*["+this.H+"]$");this.L=b||"";this.W=this.C;this.D=0<d?new ze(d):null;this.B=new M(this);this.R=new M(this);this.F=new Zr;this.N=-1}v(MY,w);var NY=(Ze||$e)&&!Nc("533.17.9");f=MY.prototype ;f.zj=null;f.Ma=null;f.Ik="";f.Yd=!1;f.Hl=!1;f.ja=function(){return this.Ma.value}; f.ua=function(a){this.Ma.value=a};f.setCursorPosition=function(a){var b=this.Ma,c=a;if(JY(b))b.selectionStart=c;else if(A){var d=KY(b),e=d[0];e.inRange(d[1])&&(c=LY(b,c),e.collapse(!0),e.move("charac ter",c),e.select())}b=this.Ma;JY(b)?b.selectionEnd=a:A&&(d=KY(b),c=d[1],d[0].inRange(c)&&(a=LY(b,a),b=LY(b,IY(b)[0]),c.collapse(!0),c.moveEnd("character",a-b),c.select()))}; function OY(a,b){kj(b)&&(ok(b,"combobox"),pk(b,"autocomplete","list"));a.B.listen(b,"focus",a.Oo);a.B.listen(b,"blur",a.Fy);a.Ma||(a.R.listen(b,"keydown",a.DD),kj(b)&&yj(Oi(b))==b&&PY(a,b))} f.Kl=function(a,b){if(this.Ma){var c=a.toString();if(n(b)?b:this.C){var d=QY(this,this.ja(),IY(this.Ma)[0]),e=RY(this,this.ja());this.X.test(c)||(c=c.replace(/[\s\xa0]+$/,"")+this.ba);0==d||Aa(e[d-1] )||(c=" "+c);d==e.length-1&&(c+=" ");if(c!=e[d]){e[d]=c;c=this.Ma;(Ac||A&&Nc("9"))&&c.blur();c.value=e.join("");for(var g=0,h=0;h<=d;h++)g+=e[h].length;c.focus();this.setCursorPosition(g)}}else this.ua(c);this.Hl=!0}return!1}; f.Z=function(){MY.O.Z.call(this);null!=this.zj&&window.clearTimeout(this.zj);this.B.dispose();delete this.B;this.R.dispose();this.F.dispose();Fb(this.D)}; f.zb=function(a){switch(a.keyCode){case 40:if(this.A.A.da())return rY(this.A),a.preventDefault(),!0;if(!this.C)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.A.A.da()){a:for(var b=this.A,c=b.C,d=0;d<b.D.length;d++){if(c>b.B)c--;else break;if(b.Be(c))break a}a.preventDefault();return!0}break;case 9:if(!this.A.A.da()||a.shiftKey)this.A.Db();else if(this.update(),oY(this.A)&&t his.W)return a.preventDefault(),!0;break;case 13:if(this.A.A.da()){if(this.update(),oY(this.A))return a.preventDefault(), a.B(),!0}else this.A.Db();break;case 27:if(this.A.A.da())return this.A.Db(),a.preventDefault(),a.B(),!0;break;case 229:if(!this.Yd)return this.Yd||(this.B.listen(this.Ma,"keyup",this.oq),this.B.liste n(this.Ma,"keypress",this.nq),this.Yd=!0),!0}return SY(this,a)};function SY(a,b){var c=a.C&&b.F&&-1!=a.H.indexOf(String.fromCharCode(b.F));c&&a.update();return c&&oY(a.A)?(b.preventDefault(),!0):!1}f .yA=function(){return!1};f.Oo=function(a){PY(this,a.target||null)}; function PY(a,b){a.R.removeAll();a.A&&pY(a.A);b!=a.Ma&&(a.Ma=b,a.D&&(a.D.start(),a.B.listen(a.D,"tick",a.Ro)),a.Ik=a.ja(),$r(a.F,a.Ma),a.B.listen(a.F,"key",a.Po),a.B.listen(a.Ma,"mousedown",a.Qo),A&& a.B.listen(a.Ma,"keypress",a.mq))}f.Fy=function(){NY?this.zj=window.setTimeout(t(this.Dq,this),0):this.Dq()}; f.Dq=function(){this.Ma&&(this.B.wa(this.F,"key",this.Po),fs(this.F),this.B.wa(this.Ma,"keyup",this.yA),this.B.wa(this.Ma,"mousedown",this.Qo),A&&this.B.wa(this.Ma,"keypress",this.mq),this.Yd&&TY(thi s),this.Ma=null,this.D&&(this.D.stop(),this.B.wa(this.D,"tick",this.Ro)),this.A&&qY(this.A))};f.Ro=function(){this.update()};f.DD=function(a){this.Oo(a)};f.Po=function(a){this.N=a.keyCode;this.A&&thi s.zb(a)};f.nq=function(){this.Yd&&229!=this.N&&TY(this)}; f.oq=function(a){this.Yd&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&TY(this)};f.Qo=function(){};function TY(a){a.Yd&&(a.Yd=!1,a.B.wa(a.Ma,"keypress",a.nq),a.B.wa(a.Ma,"keyup",a.oq))}f.mq=function(a) {SY(this,a)}; f.update=function(a){if(this.Ma&&(a||this.ja()!=this.Ik)){if(a||!this.Hl){a=IY(this.Ma)[0];var b=this.ja();a=RY(this,b)[QY(this,b,a)];a=this.S?String(a).replace(this.S,""):a;this.A&&(this.A.I=this.Ma ,b=this.A,this.ja(),b.H!=a&&(b.H=a,UY(b.R,b.H,t(b.dD,b)),pY(b)))}this.Ik=this.ja()}this.Hl=!1};function QY(a,b,c){a=RY(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+= a[d].length,b=d;return b} function RY(a,b){if(!a.C)return[b];for(var c=String(b).split(""),d=[],e=[],g=0,h=!1;g<c.length;g++)a.L&&-1!=a.L.indexOf(c[g])?(h||(d.push(e.join("")),e.length=0),e.push(c[g]),h=!h):h||-1==a.H.indexOf (c[g])?e.push(c[g]):(e.push(c[g]),d.push(e.join("")),e.length=0);d.push(e.join(""));return d};function VY(a,b){MY.call(this,null,null,!1);this.V=new B;x(this,this.V);a.listen("action",t(function(){va r a=b.value;WY(this,a,a)},this));OY(this,b)}v(VY,MY);VY.prototype.I=function(){return this.V};VY.prototype.Kl=function(a,b){VY.O.Kl.call(this,a,b);WY(this,a.toString(),this.ja());return!1};VY.prototy pe.zb=function(a){var b;if(b=13==a.keyCode)b=this.A,b=!(b.A.da()&&-1!=nY(b,b.C));return b?(a=this.ja(),WY(this,a,a),!0):VY.O.zb.call(this,a)};function WY(a,b,c){a.A.Db();a.V.U(new XY(b,c))} function XY(a,b){y.call(this,"Gb");this.F=a;this.D=b}v(XY,y);function YY(a){return Pb(a,function(a){return Pb(a,ZY)})}function ZY(a){var b=a.title;a=Pb(a.Lb,function(a){if(fa(a)){var d=hs(gs.la()),d=new Xj(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,Lb:a}};function $Y(a,b){for(var c=[],d=0;d<b.length;d++){var e=b[d],g=a.toLowerCase(),h=String(e).toLowerCase(),k=0;if(-1!=h.indexOf(g))k=parseInt((h.indexOf(g)/4).toString(),10);else for(var m=g.split(""),p=-1,r=1 0,z=0,C;C=m[z];z++)C=h.indexOf(C),C>p?(p=C-p-1,p>r-5&&(p=r-5),k+=p,p=C):(k+=r,r+=5);k<6*g.length&&c.push({rG:e,Xq:k,index:d})}c.sort(function(a,b){var c=a.Xq-b.Xq;return 0!=c?c:a.index-b.index});d=[] ;for(z=0;10>z&&z<c.length;z++)d.push(c[z].rG);return d};function aZ(a){this.A=a} function UY(a,b,c){by(by(by(a.A.B(b),function(a){return Nb(a,bZ)}),function(a){var c=[],g;g=(g="en".match(/^\w{2,3}([-_]|$)/))?g[0].replace(/[_-]/g,""):"";if(-1=="ja ko lo my th zh".split(" ").indexOf(g)){for(g=0;g<a.length;++g){var h=a[g].A,k=cZ(ak(h));k&&(c=c.concat(k));h=ck(h);for(k=0;k<h.length;++k){var m=cZ(h[k]);m&&(c=c.concat(m))}}fc(c)}a=c;c=[];if(""!=b)for(g=Ua(b),g=new RegExp("(^|\\W+)"+g,"i"),h=0;h<a.length&&10>c.length;h++)k=a[h],String(k).match(g)&&c.push(k);0==c.length&&(c=$Y(b,a)); return c}),sa(c,b))}function bZ(a){a=a.A;return!!(a&&ak(a)&&a.ob())}function cZ(a){return a.toLocaleLowerCase().replace(/([\^$.*+?=!:'",\-|\\/()[\]{}])/g," ").replace(/\d+/g," ").match(/\S+/g)};funct ion dZ(a,b,c,d,e,g){is.call(this,c);this.ha=YY(a);this.na=b;this.S=null;this.$=hs(gs.la());this.I=!(!d||!e);this.X=null;this.N=g||null;this.W=null!=this.N;this.C=null;this.fa=!0;this.F=this.H=null;th is.aa=!0;(this.L=this.I?new HY(d,e,this.B):null)&&x(this,this.L);this.A=null;this.W&&(a="//ssl.gstatic.com/ui/v1/button/search-white.png",ha(a)&&(b=a,a=$i("img"),a.src=b,Aq(a,21,21)),S(a,"jfk-button- img"),b=[],b.push(a),this.A=new BY(b,void 0,2),this.ca(this.A),a=this.A,0!=a.A&&(a.A=0,DY(a)))} v(dZ,is);f=dZ.prototype;f.ue=function(){return!1};f.ea=function(){dZ.O.ea.call(this);var a=this.D;this.W?(this.F=P(hY,{Vj:this.$,Tl:this.na,ii:iH()}),this.B.Ca(a,this.F),eZ(this),rs(this.A,U(this,"ap ps-shortcutshelppopup-input-button"))):mn(a,jY,fZ(this))};function fZ(a){var b=Pb(a.ha,function(a){return gZ(a,!1)});return{Vj:a.$,Tl:a.na,Vs:b,ki:a.I}}function hZ(a){a.X||(a.X={Vo:Qb(a.ha,function(a ,c){return ac(a,gZ(c,!0))},[]),ki:a.I});return a.X} function iZ(a){for(var b=new EO,c=[],d=0;d<a.length;++d){var e=a[d].A,g=jZ(e,!0),e=e.A.category||"";""==e?c.push(g):(yl(b.B.B,e)||b.set(e,[]),b.get(e).push(g))}a=b.map(function(a,b){return{title:b,Lb :a}});c.length&&(a.length?a.push({title:"More shortcuts",Lb:c}):a.push({Lb:c}));return a}function gZ(a,b){return Pb(a,function(a){var d=Pb(a.Lb,function(a){return jZ(a,b)});return{title:a.title,Lb:d} })} function jZ(a,b){var c=ak(a),d=kZ(a),e=sX(d);return{keys:b?R('<span aria-label="'+Kn(e)+'">'+Tn(Q(d))+"</span>"):R('<span aria-label="'+Kn(e)+'" class="CSS_SHORTCUTS_HELP_POPUP_KEY_MNEMONIC">'+Tn(Q(d ))+"</span>"),description:c}}function kZ(a){var b=a.ob();return fa(b)?(b=Pb(b,function(b){return rX(a,b)}),b.join(" or ")):rX(a,b)} f.Y=function(){dZ.O.Y.call(this);if(this.W){var a=U(this,"apps-shortcutshelppopup-reset-search-button");Pr(a,"Clear search",void 0);pl(V(this),a,this.QB);a=U(this,"apps-shortcutshelppopup-input");tk( a,"Search all shortcuts");this.A.setEnabled(!0);Pr(this.A.D,"Search all shortcuts",void 0);a=new VY(this.A,a);a.I().listen("Gb",t(this.XB,this));this.S=a;var b=new aZ(this.N),c=new sY;c.S=!1;c.classN ame="apps-shortcutshelppopup-ac-renderer";c.V="apps-shortcutshelppopup-ac-row";b=new mY(b,c,a);b.Sm=!1; a.A=b}this.C=U(this,"apps-shortcutshelppopup-help-center-link");this.fa=this.fa;this.C&&T(this.C,this.fa);this.L&&this.L.ga(U(this,"apps-shortcutshelppopup-pref-component"));V(this).listen(this.C,"cl ick",this.Js)};f.reset=function(){var a=U(this,"apps-shortcutshelppopup-search-label");nj(a,"Popular keyboard shortcuts");lZ(this,!1);eZ(this);U(this,"apps-shortcutshelppopup-input-button").value=""} ;f.va=function(){dZ.O.va.call(this);this.C=null};f.Js=function(){this.U("close")}; f.XB=function(a){a.D?(a=a.F,by(this.N.B(a),t(this.XF,this,a))):this.aa||this.reset()};f.QB=function(){this.reset();U(this,"apps-shortcutshelppopup-input-button").focus()};function lZ(a,b){T(U(a,"apps -shortcutshelppopup-reset-search-button"),b)} f.XF=function(a,b){var c='Search results for "'+(a+'"'),d='No search results for "'+(a+'"'),e=Nb(b,bZ);kc(e);b=e.slice(0,30);e=U(this,"apps-shortcutshelppopup-search-label");c=0==b.length?d:c;nj(e,c) ;lZ(this,!0);eZ(this,iZ(b),c);0==b.length?U(this,"apps-shortcutshelppopup-reset-search-button").focus():Bj(this.B,"apps-shortcutshelppopup-content").focus()}; function eZ(a,b,c){var d;b?(d={Vo:b,ki:a.I},a.aa=!1):(d=hZ(a),a.aa=!0);d.uG=c?c:"Popular keyboard shortcuts";a.H&&a.F.removeChild(a.H);a.H=P(iY,d);a.F.appendChild(a.H);(a=U(a,"apps-shortcutshelppopup -reset-search-button"))&&(b&&0==b.length?S(a,"apps-shortcutshelppopup-empty-search"):Rp(a,"apps-shortcutshelppopup-empty-search"))};function mZ(a,b,c,d,e,g,h){iB.call(this,c,d);this.C=new dZ(a,b,d,e,g,h);this.ca(this.C);this.X=hs(gs.la());this.F=null!=h}v(mZ,iB);f=mZ.prototype;f.ia=function(){return this.F?"apps-shortcutshelppopup":"shortcuts-modalpopup"};f.ue=function(){return!1};f. ea=function(){mZ.O.ea.call(this);var a=this.B,b=this.D;T(b,!1);mn(b,gY,{an:this.X,BG:this.F});var c=U(this,"apps-shortcutshelppopup-content-wrapper");this.C.ea();a.Ca(c,this.C.D);ok(b,"dialog");pk(b, "labelledby",this.C.$);this.F||S(b,"CSS_SHORTCUTS_HELP_POPUP")}; f.Y=function(){mZ.O.Y.call(this);var a=this.B,b=a.J(this.X);this.F&&Pr(b,"Close",void 0);pl(V(this),b,this.Gm);a=a.Gx(this.J());V(this).listen(a,"mousedown",this.Ks,!0);V(this).listen(this.J(),"keydo wn",this.Ls);V(this).listen(this.C,"close",this.Gm)};f.setVisible=function(a){this.F&&this.oa&&!this.da()&&a&&this.C.reset();mZ.O.setVisible.call(this,a)};f.Gm=function(){this.setVisible(!1)}; f.ig=function(){mZ.O.ig.call(this);var a=this.J();if(a&&!this.F){var b;this.da()?(b=pq(a),b=sq(b),b=.9*(b.bottom-b.top)):b=.9*Vi(Zi(this.B.A)||window).height;fq(a,"maxHeight",b+"px");fq(a,"left","10% ");fq(a,"top","10%")}};f.Ks=function(a){var b;b=this.C;(b=b.S?b.S.A.A.J():null)&&mj(b,a.target)||mj(this.J(),a.target)||this.setVisible(!1)};f.Ls=function(a){27==a.keyCode?(this.setVisible(!1),a.B(), a.preventDefault()):9==a.keyCode&&a.shiftKey&&a.target==this.J()&&lB(this)};function nZ(){B.call(this);this.A={}}v(nZ,B);function oZ(a,b){var c=a.A[b]||null;if(!c)throw Error("Action not registered for id "+b);return c};var pZ=/\\\|/g,qZ=/[\\'\\".,:-]/g,rZ=new RegExp("\\b("+Ua("a|an|the").replace(pZ,"|")+"|"+Ua("that|this").replace(pZ,"|")+"|"+Ua("on|to").replace(pZ,"|")+")\\b", "gi");function sZ(a){return a.toLowerCase().replace(rZ,"").replace(qZ,"").trim().replace(/\s\s+/g," ")};function tZ(a){this.A=a}tZ.prototype.B=function(a){for(var b=[],c=this.A,d=ob(this.A.A),e=[],g= 0;g<d.length;g++)e.push(oZ(c,d[g]));for(c=0;c<e.length;c++)d=e[c],g=a,d=(g=sZ(g))?uZ(d,g):0,.8<=d&&b.push(new kY(e[c],{confidence:d}));return ky(b)}; function uZ(a,b){var c=ac.apply(null,Pb(ck(a),function(a){return sZ(a).split(" ")})),d=sZ(ak(a)).split(" "),c=ac(d,c),d=d.length,e=b.split(" ");fc(e);for(var g=1,h=0;h<e.length&&0<g;h++){var k=0,m=e[h];if(m){for(var p=0;p<c.length;p++){var r=c[p],z=p>=d,C=0==r.indexOf(m),F=gb(m,r);m.length<r.length&&(F-=.99*(r.length-m.length));r=(m.length-F)/m.length;z&&(r*=.99);C||(r*=.99);k=Math.max( k,r)}g*=k}}return g};function vZ(a){var b=new nZ;wZ(a,function(a){b.A[a.getId()]=a});return b}function wZ(a,b){for(var c=0;c<a.length;++c)for(var d=a[c],e=0;e<d.length;++e)for(var g=d[e].Lb,h=0;h<g.l ength;++h)b(g[h])};function xZ(a){this.A=a;this.W=wf(L(this.A),lg,37)||new lg;a=Hl("https://support.google.com/drive/answer/2423485?hl=%s","en");var b;b=[[],[]];var c=b[0],d;0==ug(L(this.A))?(d=Kq(W( this.A).A.body),d={title:"Navigation",Lb:[["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.W;d=null==G(d,1)?!0:G(d,1);var e;e=this.W;e=null==G(e,2)?!0:G(e,2);(d=d||e?{title:e?"Video/Audio":"Audio",Lb:[["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",Lb:[["+\t=","Zoom in"],["-","Zoom out"],["o","Open item"]]};pu(this.A).C&&d.Lb.push(["Ctrl+s","Download item"]);Eg(L(this.A))&&d.Lb.push(["d","Show/Hide details pane"]);d&&c.push(d);d=this.W;null==G(d,3)||G(d,3)?(d=[ ],d.push(["j","Next page"]),d.push(["k","Previous page"]),rg(L(this.A))&&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",Lb:d}):d=null ;d&&c.push(d);b=YY(b);var g,c=L(this.A);if(null==G(c,56)?0:G(c,56))g=vZ(b),g=new tZ(g);mZ.call(this,b,a,!1,W(this.A),void 0,void 0,g)}v(xZ,mZ);function yZ(a,b){w.call(this);this.N=a;this.X=b;this.A=W (a);this.H=this.V=this.R=!1;this.L=null;var c=wf(L(a),Vf,62);this.W=null==G(c,1)?0:+G(c,1);this.ba=(null==G(c,2)?"":G(c,2))||"";this.S=null;this.I=0;this.D=this.F=this.C=null;this.B=rx(a);this.$=ov(a );this.aa=au(a)}v(yZ,w); function zZ(a){if(a.ba&&0<a.W&&Math.random()<a.W&&!AZ(a)){a.V=!0;a.I++;a.C=Wv(a.B,"h_",{ka:79,Ic:a.I-1});a.F=Wv(a.B,"h_",{ka:80,Ic:a.I-1});a.D=Wv(a.B,"h_",{ka:81,Ic:a.I-1});var b=Fj(a.A);b._402=b._40 2||{};b=Dj(a.A,"DIV");b.id="contain-402";b.style.visibility="hidden";a.A.Ca(a.X,b);b=Fj(a.A);if(!a.R){a.R=!0;var c=t(a.qD,a);ba("d_v_hats_bs",c,b);c=t(a.mD,a);ba("d_v_hats_as",c,b);c=t(a.QD,a);ba("d_ v_hats_rd",c,b);c=t(a.kD,a);ba("d_v_hats_ag",c,b);c=t(a.aE,a);ba("d_v_hats_tc",c,b)}var d=Fj(a.A);a.S=Z(Y(a.N)); var b=Ao(a.S),e=Fg(L(a.N)),c=e?Yf(e)||Zf(e)||"ND":"ND",e=Xf(e),d=d._402,b=Me([],{mt:b,ed:c,s:e});b[0]="";d.sc=b.join("");b=uD(a.ba,{timeout:2E4,document:a.A.A});by(b,t(a.SD,a));dy(b,t(a.RD,a))}}funct ion BZ(a){a.V=!1;a.H=!1;var b=Fj(a.A);b._402&&ka(b._402.close)&&AZ(a)&&b._402.close();a.D&&($v(a.B,a.D,3),a.D=null);AZ(a)&&(AZ(a).style.visibility="hidden")}f=yZ.prototype;f.SD=function(){$v(this.B,t his.C,1);this.C=null;this.L=D(this.sq,2E4,this)};f.RD=function(){$v(this.B,this.C,2);this.C=null;this.sq()}; f.sq=function(){$v(this.B,this.F,2);this.F=null;this.D&&($v(this.B,this.D,2),this.D=null);this.A.Sa(AZ(this))};function CZ(a){a.F&&($v(a.B,a.F,1),a.F=null,E(a.L))}f.qD=function(){CZ(this)};f.mD=funct ion(){ey(DZ(this.N.get(Wy)),t(function(a){if(this.V)if(a)BZ(this);else{if(a=AZ(this))a.style.visibility="visible",this.H=!0;this.D&&($v(this.B,this.D,1),this.D=null)}},this))};f.QD=function(a){0<=a.i ndexOf("t=a")&&nv(this.$,{ka:82,item:this.S,Ic:this.I-1})}; f.kD=function(a){CZ(this);a||(this.D&&($v(this.B,this.D,3),this.D=null),this.A.Sa(AZ(this)),E(this.L));this.H=!1;EZ(this)};f.aE=function(){this.H=!1;EZ(this)};function EZ(a){if(a.V){var b=Gj(a.A),c=a.A.contains(a.X,b),b=AZ(a)&&a.A.contains(AZ(a),b);c&&!b||LC(a.aa)}}function AZ(a){return a.A.J("contain-402")} f.Z=function(){BZ(this);this.A.Sa(AZ(this));E(this.L);if(this.R){this.R=!1;var a=Fj(this.A);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.C&&($v(this.B,this.C,3),this.C=null);this.F&&($v(this.B,this.F,3),this.C=null);yZ.O.Z.call(this)};function FZ(a,b){w.call(this);this.A=a;this.B=new M(this);x(this,this.B);pl(th is.B,b,this.D)}v(FZ,w); FZ.prototype.D=function(a){var b,c=a.target;if(!a.N){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 e=Fj(W(this.A)).location.href,g;if( !(g=wa(d,"javascript:")||"#"==d)){g=d.indexOf("#");if(g=""==(0>g?null:d.substr(g+1))){g=Fe(d);var h=Fe(e);g=g[3]==h[3]&&g[1]==h[1]&&g[4]==h[4]}g=g&&Ge(Fe(d)[5]||null)==Ge(Fe(e)[5]||null)}d=!g}d&&(b=E a(b),d=!0,bf&&Nc("532.5")&&c.hasAttribute("rel")&&"noreferrer"==c.getAttribute("rel")||Ac&&(a.ctrlKey|| a.shiftKey)?d=!0:(d=b,bf&&Nc("532.5")?(b=W(this.A),c=b.A,d=b.ma("a",{href:d,target:"_blank",rel:"noreferrer",style:"display: none"}),e=c.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,Fj(W( this.A)),0,a.R,a.V,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.I,a.D),b.Qc(c.body,d),d.dispatchEvent(e),b.Sa(d)):Iz(d,{target:"_blank",noreferrer:!0}),d=!1),d||(a.preventDefault(),a .B()))}};function GZ(){B.call(this);this.A=[];this.B=new M(this);x(this,this.B)}v(GZ,B);function DZ(a){return 0<a.A.length?HZ(a,0):ky(null)}function HZ(a,b){var c=a.A[b].A();by(c,t(function(a){return a?this.A[b]:b+1<this.A.length?HZ(this,b+1):null},a));return c};function IZ(a){X.call(this,a);this.F={};this.C={}}v(IZ,X);IZ.prototype.ea=function(){this.D=P(ix,void 0,void 0,W(this.A))};IZ.prototype .Y=function(){IZ.O.Y.call(this);T(this.J(),!qb(this.F))};function KU(a,b,c){if(null!=c){if(!a.C[b]){var d=t(a.H,a,b);a.C[b]=D(d,c)}}else a.H(b)}IZ.prototype.H=function(a){this.F[a]=!0;delete this.C[a];this.oa&&T(this.J(),!0)};function JU(a,b){delete a.F[b];a.C[b]&&(E(a.C[b]),delete a.C[b]);qb(a.F)&&a.oa&&T(a.J(),!1)} IZ.prototype.va=function(){IZ.O.va.call(this);for(var a in this.C)E(this.C[a]);this.C={}};function JZ(a,b){X.call(this,b);this.H=a;this.F=null;this.C=new ft(this.B,iP.la());this.ca(this.C)}v(JZ,X);f= JZ.prototype;f.ea=function(){this.D=P(NV,void 0,void 0,this.B)};f.Y=function(){JZ.O.Y.call(this);rs(this.C,U(this,"drive-viewer-password-submit"));this.C.ta("Submit password");var a=U(this,"drive-vie wer-password-error-text");T(a,this.H.fa);this.F=U(this,"drive-viewer-password-input");V(this).listen(this.C,"action",this.hC).listen(this.F,"keyup",this.qA);KZ(this)}; f.Ba=function(a){ru(qu(this.A),13,this.Tz,this);a&&Pu(au(this.A),this.F)};f.hC=function(){LZ(this)};f.Tz=function(){var a=Gj(this.B);(Pp(a,"drive-viewer")||Pp(a,"drive-viewer-password-input"))&&this. C.isEnabled()&&LZ(this)};f.qA=function(){KZ(this)};function KZ(a){var b=U(a,"drive-viewer-password-input");a.C.setEnabled(0!=b.value.length)}function LZ(a){gv(qu(a.A));var b=U(a,"drive-viewer-passwor d-input");a=a.H;b=b.value;a.fa=!0;a.U(new Lo(b))};function MZ(){w.call(this);this.B={}}v(MZ,w);MZ.prototype.connect=function(a){a&&a()};MZ.prototype.xc=function(){return!0};MZ.prototype.getService=fu nction(a,b){var c=this.B[a];return c?c:this.I?{xa:sa(this.I,a),jD:ma(b)}:null};function NZ(a,b){if(b&&ha(a))try{return hf(a)}catch(c){return null}else if(!b&&!ha(a))return kf(a);return a}MZ.prototype.Z=function(){MZ.O.Z.call(this);delete this.R;delete this.B;delete this.I};var OZ=["pu","lru","pru","lpu","ppu"],PZ={};function QZ(a){for(var b=RZ,c=b.length,d="";0<a--;)d+=b.charAt(Ma th.floor(Math.random()*c));return d}var RZ="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function SZ(a){w.call(this);this.$=a||Mi()}v(SZ,w);function TZ(a){return Fj(a.$)};function UZ(a,b){SZ.call(this,b);this.A=a;this.V=new M(this);x(this,this.V);this.H=new ze(100,TZ(this));x(this,this.H);this.C=new Wx;this.F=new Wx;this.B=new Wx;this.R=QZ(10);this.I=null;this.D={};this.N=thi s.A.name;VZ(this.A,this.A.name+"_"+WZ(this.A));this.L=!1;gy(this.B,this.C);gy(this.B,this.F);by(this.B,this.qy,this);this.B.xa(!0);this.V.listen(this.H,"tick",this.xo)}v(UZ,SZ);var XZ={}; function YZ(a){var b=new ZZ(a.channelName,a.service,a.payload);a=b.A;var c=b.service,b=b.payload,d=PZ[a];if(d)return d.Kc(c,b),!0;var d=$Z(b)[0],e;for(e in PZ){var g=PZ[e];if(1==WZ(g)&&!g.xc()&&"tp"= =c&&"SETUP"==d)return VZ(g,a),g.Kc(c,b),!0}return!1}f=UZ.prototype;f.Wi=function(a){a=$Z(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.C.B||this.C.xa(!0);break;case "SETUP":this.send("tp","SETUP_A CK"),this.F.B||this.F.xa(!0),null!=this.I&&this.I!=b&&this.send("tp","SETUP,"+this.R),this.I=b}}; f.connect=function(){var a=TZ(this);if(a){var b=na(a);0==(XZ[b]||0)&&null==ca("crosswindowmessaging.channel",a)&&ba("crosswindowmessaging.channel",YZ,a);XZ[b]++;this.L=!0;this.xo()}};f.xo=function(){ this.A.xc()?this.H.stop():(this.H.start(),this.send("tp","SETUP,"+this.R))};f.send=function(a,b){if(this.A.kc){var c=new ZZ(this.N+"_"+(0==WZ(this.A)?1:0),a,b);this.A.A.directSyncMode?this.Tn(c):this .D[na(c)]=D(t(this.Tn,this,c),0)}}; f.Tn=function(a){var b=na(a);this.D[b]&&delete this.D[b];try{var c=ca("crosswindowmessaging.channel",this.A.kc)}catch(d){return}if(null!==c)try{c({channelName:a.A,service:a.service,payload:a.payload} )}catch(d){}};f.qy=function(){a_(this.A,0)}; f.Z=function(){if(this.L){var a=TZ(this),b=na(a);1==--XZ[b]&&ba("crosswindowmessaging.channel",null,a)}this.D&&(hb(this.D,function(a){E(a)}),this.D=null);this.C&&(this.C.cancel(),delete this.C);this.F&&(this.F.cancel(),delete this.F);this.B&&(this.B.cancel(),delete this.B);UZ.O.Z.call(this)};function $Z(a){a=a.split(",");a[1]=a[1]||null;return a}function ZZ(a,b,c){this.A=a;this.ser vice=b;this.payload=c};function b_(a,b){SZ.call(this,b);this.B=a;this.D=[];this.H=t(this.dt,this)}v(b_,SZ);f=b_.prototype;f.Dl=!1;f.connect=function(){0==WZ(this.B)?(this.A=this.B.tf,this.A.XPC_toOut er=t(this.Lp,this)):this.Nm()};f.Nm=function(){var a=!0;try{this.A||(this.A=TZ(this).frameElement),this.A&&this.A.XPC_toOuter&&(this.C=this.A.XPC_toOuter,this.A.XPC_toOuter.XPC_toInner=t(this.Lp,this ),a=!1,this.send("tp","SETUP_ACK"),a_(this.B))}catch(b){}a&&(this.F||(this.F=t(this.Nm,this)),TZ(this).setTimeout(this.F,100))}; f.Wi=function(a){if(0!=WZ(this.B)||this.B.xc()||"SETUP_ACK"!=a)throw Error("Got unexpected transport message.");this.C=this.A.XPC_toOuter.XPC_toInner;a_(this.B)};f.Lp=function(a,b){this.Dl||0!=this.D .length?(this.D.push({serviceName:a,payload:b}),1==this.D.length&&TZ(this).setTimeout(this.H,1)):this.B.Kc(a,b)};f.dt=function(){for(;this.D.length;){var a=this.D.shift();this.B.Kc(a.serviceName,a.pa yload)}};f.send=function(a,b){this.Dl=!0;this.C(a,b);this.Dl=!1}; f.Z=function(){b_.O.Z.call(this);this.A=this.C=null};function c_(a,b){SZ.call(this,b);this.A=a;this.L=this.A.A.ppu;this.aa=this.A.A.lpu;this.H=[]}var d_,e_;v(c_,SZ);f=c_.prototype;f.DE=5;f.sk=0;f.Cf= !1;f.Nh=!1;f.Tq=null;function f_(a){return"googlexpc_"+a.A.name+"_msg"}function g_(a){return"googlexpc_"+a.A.name+"_ack"}function h_(a){try{if(!a.Aa&&i_(a.A))return a.A.kc.frames||{}}catch(b){}return {}} f.connect=function(){if(!this.Aa&&i_(this.A)){if(!this.Nh){var a=f_(this);this.D=j_(this,a);this.R=TZ(this).frames[a];a=g_(this);this.B=j_(this,a);this.I=TZ(this).frames[a];this.Nh=!0}if(k_(this,f_(t his))&&k_(this,g_(this)))this.ba=new l_(this,h_(this)[f_(this)],t(this.FE,this)),this.N=new l_(this,h_(this)[g_(this)],t(this.EE,this)),this.$m();else{if(1==WZ(this.A))this.Tq||0<this.DE--||(VZ(this. A,QZ(10)),m_(this),this.Nh=!1,this.Tq=j_(this,"googlexpc_reconnect_"+this.A.name));else if(0==WZ(this.A))for(var a= h_(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 e=d.split("_");if(3==e.length&&"googlexpc"==e[0]&&"reconnect"==e[1]){this.A.name=e[2];m_(this);this.Nh=!1 ;break}}}TZ(this).setTimeout(t(this.connect,this),100)}}};function j_(a,b){var c=document.createElement("IFRAME"),d=c.style;d.position="absolute";d.top="-10px";d.left="10px";d.width="1px";d.height="1 px";c.id=c.name=b;c.src=a.L+"#INITIAL";TZ(a).document.body.appendChild(c);return c} function m_(a){a.D&&(a.D.parentNode.removeChild(a.D),a.D=null,a.R=null);a.B&&(a.B.parentNode.removeChild(a.B),a.B=null,a.I=null)}function k_(a,b){try{var c=h_(a)[b];if(!c||0!=c.location.href.indexOf( a.aa))return!1}catch(d){return!1}return!0}f.$m=function(){var a=h_(this);a[g_(this)]&&a[f_(this)]?(this.W=new n_(this.L,this.R),this.F=new n_(this.L,this.I),TZ(this).setTimeout(t(function(){this.W.se nd("SETUP");this.Cf=!0},this),100)):(this.S||(this.S=t(this.$m,this)),TZ(this).setTimeout(this.S,100))}; function o_(a){if(a.X&&a.sa&&(a_(a.A),a.C)){for(var b=0,c;b<a.C.length;b++)c=a.C[b],a.A.Kc(c.service,c.payload);delete a.C}} f.FE=function(a){if("SETUP"==a)this.F&&(this.F.send("SETUP_ACK"),this.X=!0,o_(this));else if(this.A.xc()||this.X){var b=a.indexOf("|"),c=a.substring(0,b);a=a.substring(b+1);b=c.indexOf(",");if(-1==b) {var d;this.F.send("ACK:"+c);p_(this,a)}else d=c.substring(0,b),this.F.send("ACK:"+d),c=c.substring(b+1).split("/"),b=parseInt(c[0],10),c=parseInt(c[1],10),1==b&&(this.V=[]),this.V.push(a),b==c&&(p_( this,this.V.join("")),delete this.V)}}; f.EE=function(a){"SETUP_ACK"==a?(this.Cf=!1,this.sa=!0,o_(this)):this.A.xc()&&this.Cf&&parseInt(a.split(":")[1],10)==this.sk&&(this.Cf=!1,q_(this))};function q_(a){if(!a.Cf&&a.H.length){var b=a.H.shift();++a.sk;a.W.send(a.sk+b);a.Cf=!0}}function p_(a,b){var c=b.indexOf(":"),d=b.substr(0,c),c=b.substring(c+1);a.A.xc()?a.A.Kc(d,c):(a.C||(a.C=[])).push({service:d,payload:c})} f.send=function(a,b){var c=a+":"+b;if(!A||3800>=b.length)this.H.push("|"+c);else for(var d=b.length,e=Math.ceil(d/3800),g=0,h=1;g<d;)this.H.push(","+h+"/"+e+"|"+c.substr(g,3800)),h++,g+=3800;q_(this) };f.Z=function(){c_.O.Z.call(this);var a=r_;Zb(a,this.ba);Zb(a,this.N);this.ba=this.N=null;hj(this.D);hj(this.B);this.R=this.I=this.D=this.B=null}; var r_=[],s_=t(function(){var a=r_,b,c=!1;try{for(var d=0;b=a[d];d++)c=c||b.receive()}catch(e){if(b.C.A.close(),!a.length)return}a=u();c&&(d_=a);e_=window.setTimeout(s_,1E3>a-d_?10:100)},c_);function t_(){d_=u();e_&&window.clearTimeout(e_);e_=window.setTimeout(s_,10)}function n_(a,b){if(!/^https?:\/\//.test(a))throw Error("URL "+a+" is invalid");this.D=a;this.B=b;this.A=0}n_.prototype.send=funct ion(a){this.A=++this.A%2;a=this.D+"#"+this.A+encodeURIComponent(a);try{Bc?this.B.location.href=a:this.B.location.replace(a)}catch(b){}t_()}; function l_(a,b,c){this.C=a;this.B=b;this.D=c;this.A=this.B.location.href.split("#")[0]+"#INITIAL";r_.push(this);t_()}l_.prototype.receive=function(){var a=this.B.location.href;if(a!=this.A){this.A=a ;if(a=a.split("#")[1])a=a.substr(1),this.D(decodeURIComponent(a));return!0}return!1};function u_(a,b){SZ.call(this,b);this.A=a;this.D=this.A.A.pru;this.B=this.A.A.ifrid;Bc&&v_()}v(u_,SZ);if(Bc)var w_=[],x_=0,v_=function(){x_||(x_=window.setTimeout(function(){y_()},1E3))},y_=function(a){var b=u();for(a=a||3E3;w_.length&&b-w_[0].timestamp>=a;){var c=w_.shift().KC;hj(c)}x_=window.setTimeout(z_,1 E3)},z_=function(){y_()};var A_={};u_.prototype.connect=function(){TZ(this).xpcRelay||(TZ(this).xpcRelay=B_);this.send("tp","SETUP")}; function B_(a,b){var c=b.indexOf(":"),d=b.substr(0,c),e=b.substr(c+1);if(A&&-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 =A_[h];k||(k=A_[h]={Xn:[],Sq:0,Un:0});-1!=d.indexOf("++")&&(k.Un=c+1);k.Xn[c]=e;k.Sq++;if(k.Sq!=k.Un)return;e=k.Xn.join("");delete A_[h]}else var g=d;PZ[a].Kc(g,decodeURIComponent(e))}u_.prototype.Wi =function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),a_(this.A)):"SETUP_ACK"==a&&a_(this.A)}; u_.prototype.send=function(a,b){var c=encodeURIComponent(b),d=c.length;if(A&&1800<d)for(var e=Ya(),g=0,h=0;g<d;h++){var k=c.substr(g,1800),g=g+1800;C_(this,a,k,e+(g>=d?"++":"+")+h)}else C_(this,a,c)}; function C_(a,b,c,d){if(A){var e=TZ(a).document.createElement("DIV"),g;g={onload:Nh("this.xpcOnload()"),sandbox:null};var h={src:null,srcdoc:null},k={sandbox:""},m={},p;for(p in h)m[p]=h[p];for(p in k)m[p]=k[p];for(p in g){var r=p.toLowerCase();if(r in h)throw Error('Cannot override "'+r+'" attribute, got "'+p+'" with value "'+g[p]+'"');r in k&&delete m[r];m[p]=g[p]}g=ri("iframe",m,void 0);Ki(e,g);e=e.childNodes[0];e.xpcOnload=D_}else e=TZ(a).document.createElement("IFRAME"),Bc?w_.push({timestamp:u(), KC:e}):nd(e,"load",D_);g=e.style;g.visibility="hidden";g.width=e.style.height="0px";g.position="absolute";g=a.D;g+="#"+a.A.name;a.B&&(g+=","+a.B);g+="|"+b;d&&(g+="|"+d);e.src=g+(":"+c);TZ(a).document .body.appendChild(e)}function D_(){hj(this)}u_.prototype.Z=function(){u_.O.Z.call(this);Bc&&y_(0)};function E_(a,b,c,d,e){SZ.call(this,c);this.F=a;this.H=e||2;this.ba=b||"*";this.V=new M(this);this.I=new ze(100,TZ(this));this.L=!!d;this.D=new Wx;this.C=new Wx;this.B=new Wx;this.S=QZ(10);this.R=null;this.L?1==WZ(this.F)?gy(this.B,this.D):gy(this.B,this.C):(gy(this.B,this.D),2==this .H&&gy(this.B,this.C));by(this.B,this.ry,this);this.B.xa(!0);this.V.listen(this.I,"tick",this.yo)}v(E_,SZ);E_.prototype.A=null;E_.prototype.N=!1;var F_={};f=E_.prototype;f.Fg=0; function G_(a){var b=a.A.data;if(!ha(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);if(d=PZ[e])return d.Kc(c,b,a.A.origin),!0;a=H_(b)[0];for(var g in PZ)if(d=PZ[g],1==WZ(d)&&!d.xc()&&"tp"==c&&("SETUP"==a||"SETUP_NTPV2"==a))return VZ(d,e),d.Kc(c,b),!0;return!1} f.Wi=function(a){var b=H_(a);a=b[1];switch(b[0]){case "SETUP_ACK":I_(this,1);this.D.B||this.D.xa(!0);break;case "SETUP_ACK_NTPV2":2==this.H&&(I_(this,2),this.D.B||this.D.xa(!0));break;case "SETUP":I_(this,1);J_(this,1);break;case "SETUP_NTPV2":2==this.H&&(b=this.A,I_(this,2),J_(this,2),1!=b&&null==this.R||this.R==a||K_(this),this.R=a)}};function K_(a){2!=a.H||null!=a.A&&2!=a.A||a.send ("tp","SETUP_NTPV2,"+a.S);null!=a.A&&1!=a.A||a.send("tp","SETUP")} function J_(a,b){if(2!=a.H||null!=a.A&&2!=a.A||2!=b){if(null!=a.A&&1!=a.A||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.C.B||a.C.xa(!0)}function I_(a,b){b>a.A&&(a.A=b);1 ==a.A&&(a.C.B||a.L||a.C.xa(!0),a.R=null)}f.connect=function(){var a=TZ(this),b=na(a),c=F_[b];ja(c)||(c=0);0==c&&nd(a.postMessage?a:a.document,"message",G_,!1,E_);F_[b]=c+1;this.N=!0;this.yo()};f.yo=f unction(){var a=0==WZ(this.F);this.L&&a||this.F.xc()||this.Aa?this.I.stop():(this.I.start(),K_(this))}; f.send=function(a,b){var c=this.F.kc;c&&(this.send=function(a,b){var g=this,h=this.F.name;this.Fg=D(function(){g.Fg=0;try{var k=c.postMessage?c:c.document;k.postMessage&&k.postMessage(h+"|"+a+":"+b,g .ba)}catch(m){}},0)},this.send(a,b))};f.ry=function(){a_(this.F,1==this.H||1==this.A?200:void 0)}; f.Z=function(){if(this.N){var a=TZ(this),b=na(a),c=F_[b];F_[b]=c-1;1==c&&vd(a.postMessage?a:a.document,"message",G_,!1,E_)}this.Fg&&(E(this.Fg),this.Fg=0);Fb(this.V);delete this.V;Fb(this.I);delete this.I;this.D.cancel();delete this.D;this.C.cancel();delete this.C;this.B.cancel();delete this.B;delete this.send;E_.O.Z.call(this)};function H_(a){a=a.split(",");a[1]=a[1]||null;return a};function L_(a,b){SZ.call(this,b);this.A=a;this.B=a.at||"";this.D=a.rat||"";var c=TZ(this);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.sy;this.GCXPC____NIXJS_create_channel=this.Zs}v(L_,SZ);f=L_.prototype;f.vf=!1;f.De=null;f.connect=function(){0==W Z(this.A)?this.Mm():this.Lm()};f.Mm=function(){if(!this.vf){var a=this.A.tf;try{a.contentWindow.opener=(0,TZ(this).GCXPC____NIXVBS_get_wrapper)(this,this.B),this.vf=!0}catch(b){}this.vf||TZ(this).set Timeout(t(this.Mm,this),100)}}; f.Lm=function(){if(!this.vf){try{var a=TZ(this).opener;if(a&&"GCXPC____NIXVBS_container"in a){this.De=a;if(this.De.GetAuthToken()!=this.D)return;this.De.CreateChannel((0,TZ(this).GCXPC____NIXVBS_get_ wrapper)(this,this.B));this.vf=!0;a_(this.A)}}catch(b){return}this.vf||TZ(this).setTimeout(t(this.Lm,this),100)}};f.Zs=function(a){this.De=a;this.De.GetAuthToken()==this.D&&a_(this.A)};f.sy=function( a,b){TZ(this).setTimeout(t(function(){this.A.Kc(a,b)},this),1)}; f.send=function(a,b){this.De.SendMessage(a,b)};f.Z=function(){L_.O.Z.call(this);this.De=null};function M_(a,b){MZ.call(this);for(var c=0,d;d=OZ[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.A=a;this.name=this.A.cn||QZ(10);this.D=b||Mi();this.C=[];this.F=new M(this);a.lpu=a.lpu||He(Fj(this.D).location.href)+"/robots.txt";a.ppu=a.ppu||He (a.pu||"")+"/robots.txt";PZ[this.name]=this;yd(window,"unload",N_)||ud(window,"unload",N_)}v(M_,MZ);var O_=/^%*tp$/,P_=/^%+tp$/;f=M_.prototype;f.zd=null;f.Xc=null;f.ac=null;f.hf=1; f.xc=function(){return 2==this.hf};f.kc=null;f.tf=null;function i_(a){try{return!!a.kc&&!a.kc.closed}catch(b){return!1}}function Q_(a,b,c){var d=a.A.ifrid;d||(d=a.A.ifrid="xpcpeer"+QZ(4));var e=Dj(Mi(b),"IFRAME");e.id=e.name=d;c?c(e):e.style.width=e.style.height="100%";R_(a);a.Xc=new Wx(void 0,a);var g=S_(a);nl(a.F,e,"load",a.Xc.xa,!1,a.Xc);Ac||Bc?window.setTimeout(t(function(){b.appendC hild(e);e.src=g.toString()},a),1):(e.src=g.toString(),b.appendChild(e))} function R_(a){a.Xc&&(a.Xc.cancel(),a.Xc=null);a.C.length=0;a.F.removeAll()}function S_(a){var b=a.A.pu;ha(b)&&(b=a.A.pu=new hm(b));var c={};c.cn=a.name;c.tp=a.A.tp;c.osh=a.A.osh;a.A.lru&&(c.pru=a.A. lru);a.A.lpu&&(c.ppu=a.A.lpu);a.A.ppu&&(c.lpu=a.A.ppu);(a=a.A.role)&&(c.role=1==a?0:1);xm(b,"xpc",kf(c));return b}f.connect=function(a){this.H=a||q;3==this.hf&&(this.hf=1);this.Xc?by(this.Xc,this.bn) :this.bn()}; f.bn=function(){this.Xc=null;this.A.ifrid&&(this.tf=this.D.J(this.A.ifrid));if(this.tf){var a=this.tf.contentWindow;a||(a=window.frames[this.A.ifrid]);this.kc=a}if(!this.kc){if(window==window.top)thr ow Error("CrossPageChannel: Can't connect, peer window-object not set.");this.kc=window.parent}if(!this.ac){if(!this.A.tp){var a=this.A,b;if(ka(document.postMessage)||ka(window.postMessage)||A&&windo w.postMessage)b=1;else if(Ac)b=2;else if(A&&this.A.pru)b=3;else{var c;if(c=A){c=!1;try{b=window.opener, window.opener={},c=Ib(window,"opener"),window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.A.tp){case 1:this.ac=new E_(this,this.A.ph,this.D,!!this.A.osh,this.A.nativeProtocolVersion||2);break;case 6:this.ac=new L_(this,this.D);break;case 2:this.ac=new b_(this,this.D);break;case 3:this.ac=new u_(this,this.D);break;case 4:this.ac=new c_(this,this.D);break;case 7:if(a=this.kc)try{a=window.docume nt.domain==this.kc.document.domain}catch(d){a=!1}a&&(this.ac=new UZ(this,this.D))}if(!this.ac)throw Error("CrossPageChannel: No suitable transport found!"); }for(this.ac.connect();0<this.C.length;)this.C.shift()()};f.close=function(){R_(this);this.hf=3;Fb(this.ac);this.H=this.ac=null;Fb(this.zd);this.zd=null};function a_(a,b){a.xc()||a.zd&&0!=a.zd.se||(a .hf=2,Fb(a.zd),n(b)?(a.zd=new rr(a.H,b),a.zd.start()):(a.zd=null,a.H()))}f.send=function(a,b){this.xc()&&(i_(this)?(ma(b)&&(b=kf(b)),this.ac.send(T_(a),b)):this.close())}; f.Kc=function(a,b,c){if(this.Xc)this.C.push(t(this.Kc,this,a,b,c));else{var d=this.A.ph;!Aa(Ca(c))&&!Aa(Ca(d))&&c!=this.A.ph||this.Aa||3==this.hf||(a&&"tp"!=a?this.xc()&&(a=a.replace(/%[0-9a-f]{2}/gi ,decodeURIComponent),a=P_.test(a)?a.substring(1):a,a=this.getService(a,b))&&(b=NZ(b,a.jD),null!=b&&a.xa(b)):this.ac.Wi(b))}};function T_(a){O_.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURICo mponent)}function WZ(a){var b=a.A.role;return ja(b)?b:window.parent==a.kc?1:0} function VZ(a,b){delete PZ[a.name];a.name=b;PZ[b]=a}f.Z=function(){this.close();this.tf=this.kc=null;delete PZ[this.name];Fb(this.F);delete this.F;M_.O.Z.call(this)};function N_(){for(var a in PZ)Fb(PZ[a])};function U_(a){sf(this,a,V_)}v(U_,qf);var V_=[5,7,16,18];function W_(a,b){this.F=a;this.A=this.C=null;this.B=new U_;this.D=null;this.size=b}W_.prototype.clone=function(){return vb(this)};function X_(a){B.call(this);this.D=a;a=t(this.H,this);this.D.I=a;this.B=new Wx;this.C=new wl;this.A=new wl}v(X_,B);X_.prototype.F=0;X_.prototype.connect=function(){this.D.connect(t(this.B. xa,this.B));by(this.B,t(this.U,this,"Kb"))};X_.prototype.call=function(a,b,c,d){by(this.B,function(){var e={data:b,messageId:this.F};this.C.set(this.F,{Zm:c,Ym:d});this.F++;this.D.send(a,e)},this)};f unction Y_(a,b,c,d){by(a.B,function(){this.D.send("_response",{data:b,messageId:c,result:d})},a)} X_.prototype.H=function(a,b){var c;if(ha(b))try{c=hf(b)||{}}catch(g){return}else c=b;if("_response"==a){var d=this.C.get(c.messageId);this.C.remove(c.messageId);var e=c.result;e&&ka(d.Zm)&&d.Zm(c.dat a);!e&&ka(d.Ym)&&d.Ym(Error(c.data.message))}else Z_(this,a,c)};function Z_(a,b,c){if(b=a.A.get(b)){var d=t(function(a){Y_(this,a||{},c.messageId,!0)},a);a=t(function(a){var b={};b.message=a&&a.messa ge||"";Y_(this,b,c.messageId,!1)},a);try{b(c.data,d,a)}catch(e){a(e)}}};function $_(a,b,c){is.call(this,c);this.H=a;this.I=new X_(this.H);this.F=b;this.A=null;this.C=b.A}v($_,is);$_.prototype.ea=func tion(){$_.O.ea.call(this);Aq(this.J(),this.F.size);a0(this)};function b0(a,b){T(a.C,!b);a.A.style.visibility=b?"visible":"hidden"} function a0(a){var b=a.B;a.A=b.ma("DIV");a.A.style.position="absolute";a.C=a.C||b.ma("DIV");b0(a,!1);var c=a.J();b.Ca(c,a.A);b.Ca(c,a.C);Q_(a.H,a.A,t(function(a){b.setProperties(a,{frameborder:0,styl e:"border: 0; vertical-align: bottom; transform: translateZ(0);",scrolling:"auto",width:this.F.size.width,height:this.F.size.height})},a));a.I.connect()};function c0(){this.A=new W_("GOOGLE_DRIVE",d0 );this.B=void 0}var d0=new K(735,500); function e0(a){var b=Ne("https://clients5.google.com/webstore/wall/widget","container",a.A.F,"utm_source",Ge(Fe(window.location.href)[3]||null),"utm_medium","apps-widget","ref",He(window.location.hre f));G(a.A.B,15)&&(b=Ne(b,"hdpa","true"));null!=a.A.C&&(b=Ne(b,"hl",a.A.C));null!=a.A.D&&(b=Ne(b,"authuser",a.A.D));var c={};tb(c,"pu",b);tb(c,"ph","https://clients5.google.com");tb(c,"tp",1);tb(c,"os h",!0);b=new M_(c,a.B);return new $_(b,a.A.clone(),a.B)};function f0(a){w.call(this);this.F=a;this.A=a.I;a=t(this.oD,this);this.A.A.set("beforeInstall",a);a=t(this.lD,this);this.A.A.set("afterInstall ",a);a=t(this.ED,this);this.A.A.set("launch",a);a=t(this.Yx,this);this.A.A.set("getStoreConfig",a);a=t(this.DG,this);this.A.A.set("onRendered",a);a=t(this.Jx,this);this.A.A.set("getPopupUrl",a);a=t(t his.tD,this);this.A.A.set("onEscape",a);a=t(this.GD,this);this.A.A.set("onManageMenu",a);a=t(this.FD,this);this.A.A.set("onManageMenuEvent",a);a=t(this.pD,this); this.A.A.set("beforeNavigate",a)}v(f0,w);f=f0.prototype;f.eq=function(){};f.lq=function(){};f.pD=function(a,b){b({shouldNavigate:!0})};f.DG=function(){b0(this.F,!0)};f.oD=function(a,b){b({shouldInsta ll:!0})};f.lD=function(a,b){this.eq(a.itemId,!!a.installResult);b()};f.ED=function(a,b){b()};f.Yx=function(a,b){var c={};c.storeConfig=Ef(this.F.F.B);b(c)};f.Jx=function(a,b){b({installFlowPopupUrl:n ull})};f.tD=function(a,b){this.lq();b()};f.GD=function(a,b){var c={};c.manageMenu=null.jJ();b(c)}; f.FD=function(){};function g0(){return R('<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…</span></div></div>')} function h0(a){var b=a.appName;a=a.iconUrl;var c="",d="<b>"+(Q(b)+"</b> has been connected."),c=c+('<div class="drive-viewer-installed-app-notification"><img class="drive-viewer-installed-app-icon" src="'+Kn(Qn(a))+'" alt="'+Kn(b)+'" aria-hidden="true"/><div class="drive-viewer-installed-app-message">'+d+"</div></div>");return R(c)};function i0(a,b,c,d){f0.call(this,a);this.D=d;this.B=b;this.C =c}v(i0,f0);i0.prototype.eq=function(a){this.B.setVisible(!1);this.C&&by(j0(this,a),t(this.H,this,a))};function j0(a,b){var c=new Wx;fy(a.C.Ki(),c);by(c,function(a){return n(b)?Tb(a,function(a){retur n a.zl==b},this):null},a);return c}i0.prototype.lq=function(){this.B.setVisible(!1)}; i0.prototype.H=function(a,b){var c;if(!(c=b))a:{c=this.B;for(var d=0;d<c.X.length;d++){var e=c.X[d];if(e.zl==a){c=e;break a}}c=null}b=c;null!=b&&(c=P(h0,{appName:b.A,iconUrl:b.Dh(10)},void 0,W(this.D)),oz(gz(this.D),c,!0,1E4),nv(ov(this.D),{ka:19,Ye:pA(b)}))};function k0(a){oB.call(this,"drive-viewer-dialog",void 0,W(a));this.F=a;this.W=this.aa=null;this.$=fz(this.F);this.X=[];AB(this ,new wB);this.setTitle("Connect more apps");this.mf=!0}v(k0,oB); k0.prototype.ea=function(){k0.O.ea.call(this);S(this.J(),"drive-viewer-app-finder-dialog");var a=sB(this);S(a,"drive-viewer-app-finder-dialog-title");var b=W(this.F),c=Math.min(Fj(b).innerHeight-300, 570),d=P(g0,void 0,void 0,b),a=new c0;H(a.A.B,3,"Connect");H(a.A.B,4,"Connected");a.A.A=d;a.A.size.height=c;a.A.C="en";a.B=b;if(b=parseInt(qg(L(this.F)),10))a.A.D=b;a=this.W=a;a.A.A&&Aq(a.A.A,a.A.siz e);a=a.A.A;this.Va().appendChild(a);this.$?(a=Z(Y(this.F)),this.$.ek(Ao(a),a.ba,t(this.fa,this))):this.fa()}; k0.prototype.fa=function(a){a&&(this.X=a,a=Pb(a,function(a){return a.zl}),H(this.W.A.B,7,a||[]));a=e0(this.W);this.aa=new i0(a,this,this.$,this.F);x(this,this.aa);ej(this.Va());a.ga(this.Va())};k0.pr ototype.setVisible=function(a){var b=au(this.F);a?NB(b):OB(b);k0.O.setVisible.call(this,a);a||Bk(this.B,!0)};function l0(a){this.A=a}function m0(a,b,c){var d=a.A.get(Qy),e=d.Qf(b);b=d.mk(b);e=Sk(e,b) ;Nk(e,t(a.B,a,c),a)}function n0(a,b){var c={};c.id=b.getId();if(b instanceof Hz)c.iconUrl=b.C,c.name=b.A,c.description=b.H;else if(b instanceof Gz)c.name=b.A;else{var d=3==Og(L(a.A))?32:16;c.iconUrl= b.Dh(d);c.name=b.A;c.description=b.H}return c}l0.prototype.B=function(a,b){var c=o0(b[0]),d=o0(b[1]),e=d.length,d=ec(d,0,Math.max(0,3-c.length)),d=Nb(d,function(a){return a.PC});a(c,d,e)}; function o0(a){var b=[];"success"==a.getState()&&(b=a.ja());return b}function p0(a){return 1<gK(eu(a.A))?"//ssl.gstatic.com/images/icons/product/chrome_web_store-32.png":"//ssl.gstatic.com/images/ico ns/product/chrome_web_store-16.png"};function q0(){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="'+Dn("Apps list")+'"></div></div></div>');return R(a)} function r0(a){var b=a.className;return R('<div class="drive-viewer-appupsell-section"><div class="drive-viewer-appupsell-section-heading" role="heading" tabindex="-1">'+Q(a.title)+'</div><div class="'+Kn(b)+' drive-viewer-appupsell-apps-list"></div></div>')} function s0(a,b,c){c=c||{};b=a.appName;a=a.iconUrl;return R('<div class="drive-viewer-appupsell-app-item">'+(a?'<div class="drive-viewer-appupsell-app-icon" style="'+(c.Ea?"/*"+c.Ea+"*/":"")+"backgro und-image: url("+Kn(Qn(a))+'); background-size:cover"></div>':"")+'<div class="drive-viewer-appupsell-app-name" tabindex="-1">'+Q(b)+"</div></div>")};function t0(a){X.call(this,a);this.C=new l0(a)}v(t0,X);t0.prototype.ea=function(){this.D=P(q0,void 0,void 0,this.B)};t0.prototype.Y=function(){t0.O.Y.call(this);V(this).listen(this,"action",this.F)}; function u0(a,b,c,d){if(0!=c.length){var e=a.B,g=U(a,"drive-viewer-appupsell-content");b=P(r0,{title:b,className:d},void 0,e);g.appendChild(b);g=Bj(e,"drive-viewer-appupsell-apps-list",b);for(b=0;b<c .length;b++){d=c[b];var h=n0(a.C,d),k=P(s0,{appName:h.name,iconUrl:h.iconUrl?h.iconUrl.toString():void 0},void 0,e);g.appendChild(k);var m=new ft(e);a.ca(m);rs(m,k);var p=h.name,h=h.description?h.des cription.toString():"";m.ta(Aa(h)?p:Xa(p,": ",h));m.Ra=d;$u(k,e)}}} t0.prototype.F=function(a){var b=a.target.Ra;a=pr(a);this.U(new Mp(b,a))};function v0(a,b){X.call(this,b);this.L=a;this.I=[];this.F=[];this.S=0;this.N=[];this.C=null;this.H=new l0(b)}v(v0,cu);f=v0.pr ototype;f.Y=function(){v0.O.Y.call(this);var a=fz(this.A);a&&V(this).listen(a,["W","Y"],this.zt);m0(this.H,this.L,t(this.Wo,this))};f.Ba=function(){var a;a=this.L;a=this.H.A.get(Qy).oh(a);by(a,this.U A,this)};f.zt=function(){var a=this.A;!a.Aa&&ou(Y(a))&&m0(this.H,this.L,t(this.Wo,this))};f.Wo=function(a,b,c){this.I=a;this.F=b;this.S=c;w0(this)};f.UA=function(a){this.N=a;w0(this)}; function w0(a){if(a.oa){a.C||(a.C=new t0(a.A),a.ca(a.C,!0));var b=a.C,c=a.I,d=a.F,e=a.N,g=U(b,"drive-viewer-appupsell-content");Gb(ys(b));W(b.A).Fb(g);u0(b,"Apps on your computer",e,"drive-viewer-app upsell-native-apps");u0(b,"Connected apps",c,"drive-viewer-appupsell-connected-apps");u0(b,"Suggested third-party apps",d,"drive-viewer-appupsell-suggested-apps");a.U("Lb")}};function x0(a){ft.call(this,W(a));this.A=a;this.F=null;this.ha=BX(zX(new yX(this),this.$j));x(this,this.ha)}v(x0,ft);f=x0.prototype;f.ea=function(){this.D=P(JV,void 0,void 0,this.B)};f.Y=function(){x0.O.Y.ca ll(this);var a=pu(this.A),b=a.C;b?y0(this,b):ml(V(this),a,"ga",t(this.Gz,this));V(this).listen(a,"ha",this.yv);this.$j()};function y0(a,b){a.F=b;V(a).listen(a,"action",a.xv);uX(a.ha,a,a.F,xX,t(a.wv,a ));a.ta("");tk(a.J(),b.A.hint||"")}f.xv=function(){ZT(gz(this.A))}; f.$j=function(){T(this.J(),!!this.F&&this.F.da()&&this.F.isEnabled())};f.Gz=function(){var a=pu(this.A).C;y0(this,a);this.$j()};f.yv=function(a){pu(this.A);var b=this.J();a.F.J()==b&&this.F==a.D&&thi s.da()&&this.isEnabled()&&Pu(au(this.A),b)};f.wv=function(){return new zA(Z(Y(this.A)).A,this)};function z0(a,b){X.call(this,b);this.H=a;this.L=!1;this.X=this.S=this.N=null;this.F=!1;this.$=this.I=th is.C=this.W=null;this.aa=new l0(b)}v(z0,cu);f=z0.prototype; f.ea=function(){this.D=P(uV,{Xe:this.H.kb,Ww:this.H.Ua||"There was a problem with the preview."},void 0,this.B);this.S=U(this,"drive-viewer-msg-container");this.$=U(this,"drive-viewer-msg-transient-e rror-text");this.I=U(this,"drive-viewer-connect-more-apps-button");this.W=U(this,"drive-viewer-appupsell-container");this.X=new x0(this.A);this.ca(this.X);qs(this.X,this.I)};f.Y=function(){z0.O.Y.cal l(this);A0(this);V(this).listen(this.H,wo.Ug,this.iw).listen(this.H,wo.sm,this.jw)}; f.Ba=function(){this.L=!0;B0(this);this.C&&this.C.Ba()};function B0(a){E(a.N);a.N=D(function(){this.oa&&S(this.J(),"drive-viewer-layout-transition")},100,a)}function C0(a){E(a.N);Rp(a.J(),"drive-view er-layout-transition")}function A0(a){var b=a.B,c=a.H.Ua||"There was a problem with the preview.",d=Bj(b,"drive-viewer-msg-error-text",a.S);b.Qb(d,c);T(a.$,3==a.H.getState())}f.Py=function(){this.lay out()};f.iw=function(){this.layout()};f.jw=function(){this.layout()}; f.gz=function(){nv(ov(this.A),{ka:18,qa:12});(new k0(this.A)).setVisible(!0)}; f.layout=function(){var a=this.F,b=this.A,c;if(c=!SC(b.get(Qy),this.H))b=L(b),c=null==G(b,26)?!0:G(b,26);c?this.C?(b=this.C,0<b.I.length||0<b.F.length||0<b.N.length?(b=Dq(this.S),this.F=Di(new K(b.width,b.height+40+55),du(this))):this.F=!1):(b=W(this.A),c=new ft(b,iP.la()),this.ca(c),rs(c,this.I),V(this).listen(c,"action",this.gz),c=U(this,"drive-viewer-connect-more-apps-button-icon"),Iq( c,p0(this.aa)),tk(this.I,"Connect more apps"),$u(this.I,b),this.C=new v0(this.H,this.A),this.ca(this.C),V(this).listen(this.C, "Lb",this.Py),rs(this.C,this.W),this.L&&this.C.Ba()):this.F=!1;T(this.W,this.F);if(b=this.F)b=this.C,b=b.S>b.F.length;T(this.I,b);if(this.F){b=U(this,"drive-viewer-appupsell-content");c=du(this).heig ht;var d=Dq(this.S).height,e=KE(hu(this.A));fq(b,"max-height",Math.max(c-d-40-e,55)+"px")}this.L&&this.F!=a&&C0(this);b=hu(this.A);c=Dq(this.J());c=iu(this,c);mq(this.J(),c.x,Math.max(c.y,gu(b).top)) ;this.L&&this.F!=a&&B0(this)};function D0(a){a.L=!1;C0(a)}f.va=function(){z0.O.va.call(this);E(this.N)};function E0(a,b,c){X.call(this,c);this.C=a;this.F=b;this.ca(this.F);this.H=null;this.L=!1;this. S=rx(c);this.N=new IZ(this.A);this.ca(this.N);this.F.dj=this.N}v(E0,cu);f=E0.prototype;f.ea=function(){var a=P(sV,void 0,void 0,this.B);this.D=a;this.F.ga(a);T(a,!1);F0(this,!1)};f.Fa=function(a){E0. O.Fa.call(this,a);var b=U(this,"drive-viewer-itemview");b?rs(this.F,b):(this.F.ga(a),F0(this,!1))}; f.Y=function(){E0.O.Y.call(this);rs(this.N,U(this,"drive-viewer-carousel-loading-message"));G0(this);V(this).listen(this.C,wo.wj,this.qv)};f.Ba=function(a){H0(this,"vf_",16,a);H0(this,"av_",36,a);lu( this.A.get(mu),1,this.C);this.L=!0;T(this.J(),!0);a=this.C.getState();switch(a){case uo.LOADED:this.F.Ba();break;case uo.Me:this.I.Ba(Y(this.A).C);break;case uo.yd:case uo.ERROR:this.H.Ba()}rg(L(this .A))&&a!=uo.LOADED&&ku(this.F);this.layout();I0(this);J0(this,"av_")}; function K0(a,b){a.C.Ha=!0;H0(a,"dv_",37,b);a.L=!1;var c=a.C.getState();D(function(){this.oa&&T(this.J(),!1);J0(this,"dv_")},0,a);c==uo.LOADED?a.F.ab():c!=uo.yd&&c!=uo.ERROR||D0(a.H);L0(a,b)}function L0(a,b){var c;switch(a.C.getState()){case uo.LOADED:c=Rv.Ef;break;case uo.ERROR:c=Rv.$d;break;default:c=Rv.Df}J0(a,"vf_",c,b)}function H0(a,b,c,d){b+=a.C.getId();Tv(a.S,b,{ka:c,qa:d,item:a.C});c=Yv( a.S.A[b]);a=a.C.Gh();H(c,4,a)}function J0(a,b,c,d){b+=a.C.getId();d&&H(a.S.A[b],9,d);$v(a.S,b,c)} f.layout=function(){switch(this.C.getState()){case uo.LOADED:this.F.layout();break;case uo.yd:case uo.ERROR:this.H.layout();break;case uo.Me:M0(this)}};function N0(a,b){var c=Bj(a.B,"drive-viewer-def ault");null!=c&&tk(c,b);c=au(a.A);!cV(c)&&null!=c.C&&c.B==bV(c)||yk(a.A.get(wy),b)} function I0(a){var b=to(a.C);switch(a.C.getState()){case uo.LOADING:N0(a,"Loading "+(b+"."));break;case uo.LOADED:N0(a,"Displaying "+(b+"."));break;case uo.yd:N0(a,"Whoops! There was a problem previewing "+(b+". Retrying."));break;case uo.ERROR:var c=Ca(a.C.eb);N0(a,Aa(c)?"Whoops! There was a problem previewing "+(b+"."):c);break;case uo.Me:N0(a,"A password is required to access "+(b+". Please enter the password"))}}f.qv=function(){G0(this);this.L&&I0(this)}; function G0(a){var b=a.C.getState();switch(b){case uo.LOADING:O0(a);KU(a.N,a.getId(),200);T(a.F.J(),!1);break;case uo.LOADED:JU(a.N,a.getId());P0(a);O0(a);F0(a,!0);a.L&&(a.F.Ba(),a.F.layout());break; case uo.yd:case uo.ERROR:JU(a.N,a.getId());F0(a,!1);a.H||(a.H=new z0(a.C,a.A),a.ca(a.H),a.H.ga(a.J()));A0(a.H);a.L&&(a.H.Ba(),a.H.layout());break;case uo.Me:JU(a.N,a.getId()),F0(a,!1),P0(a),a.I=new JZ(a.C,a.A),a.I.ga(a.J()),M0(a),a.L&&a.I.Ba(!0)}rg(L(a.A))&&a.L&&b!=uo.LOADED&&ku(a.F)} function F0(a,b){T(a.F.J(),b)}function O0(a){if(a.I){var b=a.B;b.contains(a.I.J(),Gj(b))&&LC(au(a.A));Fb(a.I);a.I=null}}function M0(a){var b=a.I.J();a=iu(a,Dq(b));mq(b,a)}function P0(a){a.H&&(a.remov eChild(a.H,!0),a.H.dispose(),a.H=null)};function Q0(a){X.call(this,a);this.H=null;this.L=[];this.C=[];this.N=[];this.I=!1;this.F=null;var b=Y(a);V(this).listen(b,"$",this.rv).listen(b,"ba",this.sv).l isten(b,"ca",this.tv);(a=hz(a))&&V(this).listen(a,"pa",this.vv)}v(Q0,X);f=Q0.prototype;f.ea=function(){this.D=P(rV,void 0,void 0,this.B)};f.Fa=function(a){Q0.O.Fa.call(this,a);a=ms(this,"drive-viewer -carousel-slide");a.length&&0!=HA(Y(this.A))&&R0(this,0,a[0])}; f.Y=function(){Q0.O.Y.call(this);this.aa&&this.aa.ga(this.J());this.J().style.bottom="0px";var a=eu(this.A);V(this).listen(a,"Za",this.uv);S0(this);a=this.A.get(Wy);V(this).listen(a,"Ib",this.MB).lis ten(a,"Jb",this.LB)};f.da=function(){return!!this.H&&this.I};f.setVisible=function(a){(this.I=a)?this.H.Ba(16):K0(this.H,16);T0(this,a)};function S0(a){by(DZ(a.A.get(Wy)),t(function(a){a&&(this.F=a,t his.ca(this.F),this.F.ga(this.J()),T0(this,this.I))},a))}f.MB=function(){S0(this)}; f.LB=function(){this.F&&(T0(this,!1),this.F.dispose(),this.F=null)};function T0(a,b){a.F&&(ka(a.F.setVisible)?a.F.setVisible(b):T(a.F.J(),b))}f.vv=function(){var a=hz(this.A).A;this.J().style.bottom= a+"px"};f.uv=function(a){this.H&&this.I&&(a.D&&"sa"==a.D.type&&(a=Kq(this.J()),fq(this.J(),a?"left":"right",NE(Kx(this.A))+"px")),this.H.layout())}; f.rv=function(a){var b=Y(this.A);a=null===a.cause?16:pr(a.cause);U0(this);var c=this.H;this.H=this.L[b.A];c&&this.I&&K0(c,a);gv(qu(this.A));b=hz(this.A)&&0!=hz(this.A).A;c=au(this.A);2==ug(L(this.A)) ||b&&dV(c)||LC(au(this.A));this.I&&this.H.Ba(a)};f.sv=function(a){a=a.D;if(Wb(this.C,a)){var b=Jb(this.C,a);this.removeChild(us(this,b),!0).dispose();$b(this.C,b)}for(b=0;b<this.C.length;b++)this.C[b ]>a&&this.C[b]--;$b(this.L,a);Fb(this.N[a]);delete this.N[a]}; function U0(a){var b=Y(a.A),c=b.A,d=Math.max(c-5,0),e=Math.min(c+5,HA(b)-1);R0(a,c);D(function(){for(var a=d;a<=e;a++)R0(this,a)},0,a)}function R0(a,b,c){if(null==a.L[b]&&!a.Aa){var d=a.A,e=Y(d);if(!(b>=HA(e))){var e=e.B.A[b],g=new (e.ub().rc())(e,d),d=new E0(e,g,d);a.L[b]=d;e=-gc(a.C,b)-1;dc(a.C,e,0,b);a.uc(d,e,!c);c&&rs(d,c);50<ts(a)&&(b=Y(a.A).A,c=a.C.length,b=b-a.C[0]>a.C[c -1]-b?0:c-1,a.removeChild(us(a,b),!0).dispose(),a.L[a.C[b]]=null,$b(a.C,b))}}}f.tv=function(){gv(qu(this.A));V0(this)}; function V0(a){ys(a);Gb(a.N);Gb(a.L);a.I=!1;a.N=[];a.L=[];a.C=[];a.H=null}f.Z=function(){V0(this);Q0.O.Z.call(this)};function W0(a){X.call(this,a)}v(W0,X);W0.prototype.Y=function(){W0.O.Y.call(this); var a=hz(this.A);V(this).listen(a,"qa",this.I)};W0.prototype.I=function(){this.F()};W0.prototype.F=function(){if(this.oa){var a=hz(this.A).B,b=this.J(),c=(75-Dq(b).height)/2;a&&(c+=hv(hu(this.A)));fq (b,"bottom",c+"px")}};function X0(a){X.call(this,a);this.C=new ft(this.B);this.ca(this.C);this.H=null}v(X0,W0);f=X0.prototype;f.ea=function(){this.D=P(LV,void 0,void 0,this.B)}; f.Y=function(){X0.O.Y.call(this);var a=U(this,"drive-viewer-filmstrip-viewall");this.H=U(this,"drive-viewer-filmstrip-viewall-text");rs(this.C,a);gt(this.C,2);this.C.ta("View all items");pk(a,"presse d",!1);$u(a,this.B);var b=this.A,c=Y(b),b=hz(b);V(this).listen(c,"$",this.Gv).listen(c,"ba",this.Hv).listen(c,"aa",this.Dn).listen(b,"pa",this.Fv).listen(this.C,"action",this.wC).listen(a,"keydown",t his.Ev);0<HA(c)&&this.Dn()}; f.wC=function(a){var b=0==hz(this.A).A;nv(ov(this.A),{ka:b?4:5,qa:pr(a)});this.U(b?"z":"A")};f.Gv=function(){Y0(this)};f.Hv=function(){Y0(this)};f.Dn=function(){var a=1<HA(Y(this.A));T(this.C.J(),a); Y0(this);D(this.F,0,this)};f.Fv=function(){var a=0!=hz(this.A).A,b=this.C.D;pk(b,"pressed",a);Tp(b,"drive-viewer-button-toggled",a);a||(a=au(this.A),dV(a)&&Pu(a,b))};f.Ev=function(a){var b=this.C.J();0==hz(this.A).A||9!=a.keyCode||a.shiftKey||a.target!=b||(b=this.Sb(),b.S&&Pu(au(b.A),b.N.J()),a.preventDefault())}; function Y0(a){var b=Y(a.A);ou(b)&&a.C&&a.B.Qb(a.H,Vt(b.A+1,HA(b)))};function Z0(a){X.call(this,a);this.C=null}v(Z0,W0);f=Z0.prototype;f.ea=function(){var a=this.B,b=!Aa(Ca(sg(L(this.A))));b?(this.D= P(MV,{lr:b},void 0,a),this.C=new ft(a),this.ca(this.C)):Z0.O.ea.call(this)};f.Y=function(){if(this.C){Z0.O.Y.call(this);var a=U(this,"drive-viewer-filmstrip-feedback");rs(this.C,a);var b=this.A,a=hz(b),b=Kx(b);V(this).listen(this.C,"action",this.cA).listen(a,"pa",this.Iv).listen(b,"sa",this.qz);D(this.F,0,this)}};f.Iv=function(){$0(this)};f.qz=function(){$0(this)}; f.cA=function(){var a=sg(L(this.A));Iz(a,{target:"_blank",noreferrer:!0})};function $0(a){if(a.C){var b=a.C.D,c=0!=hz(a.A).A;a=Kx(a.A).A;Tp(b,"drive-viewer-filmstrip-feedback-overlay",c||a)}};functio n a1(a){X.call(this,a);this.C=null;this.S=!1;this.I=this.L=null;this.H=[];this.X=this.$=this.F=this.N=null;this.aa=new X0(a);this.ca(this.aa);this.fa=new Z0(a);this.ca(this.fa);this.W=[];a=hz(this.A) ;V(this).listen(a,"pa",this.Pv)}v(a1,X);f=a1.prototype;f.ea=function(){var a=P(KV,void 0,void 0,this.B);this.D=a;qs(this.fa,a.firstChild);qs(this.aa,a.firstChild)}; f.Y=function(){a1.O.Y.call(this);var a=this.J();this.F=U(this,"drive-viewer-filmstrip-inner");this.$=U(this,"drive-viewer-filmstrip-frame");this.X=new bB(a);x(this,this.X);iz(this.A).ke(a);V(this).li sten(this.X,"focusin",this.Kv).listen(this.X,"focusout",this.Lv);V(this).listen(this.B.A,"mousedown",this.Jv,!0);zk(this.F,!0);a=Y(this.A);V(this).listen(a,"$",this.Mv).listen(a,"ba",this.Nv).listen( a,"aa",this.En).listen(a,"ca",this.Ov);0<HA(a)&&this.En()}; f.Ba=function(){Cq(this.J(),hz(this.A).A);b1(this);this.S=!0;c1(this,!0);zk(this.F,!1)};function c1(a,b){for(var c=0;c<a.H.length;c++)a.B.Ya(a.H[c].J(),b)}f.Pv=function(){0!=hz(this.A).A?this.Ba():(t his.S=!1,c1(this,!1),zk(this.F,!0),Cq(this.J(),""))};f.Mv=function(){0<this.H.length&&d1(this)};function d1(a){var b=Y(a.A);a.N&&a.N.jd(!1);a.N=a.H[b.A];a.N.jd(!0);a.F&&pk(a.F,"activedescendant",a.N. J().id);a.S&&(b1(a),b=a.B,Pp(Gj(b,b.A),"drive-viewer-thumbnail")&&Pu(au(a.A),a.N.J()))} f.Nv=function(a){a=a.D;var b=this.H[a];V(this).wa(b,"action",this.Qk);this.removeChild(b).dispose();$b(this.H,a);E(this.W[a]);$b(this.W,a);d1(this)};f.En=function(){var a=this.H.length,b=Y(this.A),c= this.A.get(az);if(!(1>=HA(b))){for(;a<HA(b);a++){var d=b.B.A[a],e=new ft(this.B,c);e.Za(8,!0);e.Ra=d;e.ta(to(d));this.ca(e);e.ga(this.F);d=D(t(this.SC,this,e),1E3);this.W.push(d);pk(e.J(),"pressed",! 1);this.B.Ya(e.J(),this.S);V(this).listen(e,"action",this.Qk);this.H[a]=e}ou(b)&&d1(this)}};f.Ov=function(){e1(this)}; f.Qk=function(a){var b=pr(a);nv(ov(this.A),{ka:8,qa:b});this.U(new Kp(a.target.Ra,b))};function e1(a){for(var b=0;b<a.H.length;b++){var c=a.H[b];V(a).wa(c,"action",a.Qk);a.removeChild(c)}Gb(a.H);a.H= [];a.N=null;for(b=0;b<a.W.length;b++)E(a.W[b]);a.W=[]} function b1(a){if(a.N){a.L&&(xd(a.L),a.L.stop(!1));a.I&&(xd(a.I),a.I.stop(!1));var b=oq(a.N.J());Dq(a.J());var c=uq(a.N.J(),a.F,!0),d=[oq(a.$).x,0],b=[b.x,0];a.L=new ow(a.F,[a.F.scrollLeft,0],[c.x,0] ,150,oN);a.I=new nw(a.$,d,b,150,oN);nd(a.L,"end",t(function(){xd(this.L);this.L=null},a));nd(a.I,"end",t(function(){xd(this.I);this.I=null},a));a.L.play(!1);a.I.play(!1)}}f.va=function(){this.L&&(xd( this.L),this.L.stop(!1));this.I&&(xd(this.I),this.I.stop(!1))}; function f1(a){a.S&&(E(a.C),a.C=D(function(){this.S&&(nv(ov(this.A),{ka:5,qa:6}),this.U("A"))},1200,a))}f.Kv=function(){E(this.C)};f.Lv=function(){f1(this)};f.Jv=function(a){this.S&&(mj(this.J(),a.ta rget)?E(this.C):f1(this))};f.SC=function(a){$U(a.C,a)};f.Z=function(){this.oa&&e1(this);a1.O.Z.call(this)};function g1(a){ft.call(this,W(a),iP.la());this.A=a;a=Y(a);V(this).listen(a,"$",this.kw).list en(a,"da",this.mw)}v(g1,ft);f=g1.prototype;f.ea=function(){this.Fa(P(tV,void 0,void 0,this.B))};f.Y=function(){g1.O.Y.call(this);V(this).listen(this,"action",this.lw)};f.kw=function(){Rp(this.J(),"dr ive-viewer-select-button-selected-animated");h1(this)};f.mw=function(){h1(this)}; f.lw=function(){var a=Y(this.A),b=Z(a),c=Wb(a.D,b);c?Zb(a.D,b):a.D.push(b);a.U("da");Tp(this.J(),"drive-viewer-select-button-selected-animated",!c);h1(this)};function h1(a){var b=Y(a.A),b=Wb(b.D,Z(b) );a.ta(b?"Deselect this":"Select this")};function i1(a){X.call(this,a);this.F=new ft(this.B,iP.la());this.ca(this.F);this.S=!1;this.C=new mx(a,!0);this.ca(this.C);this.H=null;this.L=new SN;this.N=-1;this.I=[];a=Y(this.A);V(this).listen(a,JJ.hj,this.Jw).listen(a,JJ.Or,this.GC).listen(a,JJ.Vg,this.In).listen(a,JJ.rm,this.In).listen(a,xQ.xj,this.Iw).listen(a,"$",this.Hw)}v(i1,X);f=i1. prototype; f.ea=function(){this.D=P(OV,void 0,void 0,this.B);this.H=U(this,"drive-viewer-zoom-panel");this.C.ga(this.H);S(this.C.J(),"drive-viewer-zoom-slider");S(this.C.A,"drive-viewer-zoom-slider-thumb")};f.Y =function(){i1.O.Y.call(this);var a=this.B;rs(this.F,U(this,"drive-viewer-zoom-button"));this.F.ta("Zoom in","Zoom");$u([this.F.J(),this.C.A],a);V(this).listen(this.C,"J",this.fC).listen(this.F,"acti on",this.EC);this.A.Oa()&&(j1(this,!1),this.S=!0)};function j1(a,b){a.S||T(a.J(),b)} function k1(a){Lb(a.I,function(a){su(qu(this.A),a)},a);a.I=[]}function l1(a,b){var c=a.F.J();Tp(c,"drive-viewer-zoom-loading",b==KJ.ACTIVATING);Tp(c,"drive-viewer-button-toggled",b==KJ.ad);var d="Zoom in";b==KJ.ACTIVATING?d="Loading higher resolutions":b==KJ.ad&&(d="Zoom out");a.F.ta(d,"Zoom");pk(c,"pressed",b!=KJ.Zd);c=Gj(a.B);b!=KJ.ad&&a.H.contains(c)&&LC(au(a.A));m1(a,b);a.U("Mb")} function m1(a,b){var c=b==KJ.ad&&!a.S;T(a.H,c);if(c){var d=a.J(),e;e=Kq(a.H);e=tq(a.H).x+(e?Dq(a.H).width:0);-1<a.N&&(Kq(d)?e>a.N:e<a.N)&&(T(a.H,!1),c=!1)}d=Z(Y(a.A)).B;c=!c;d.V!=c&&(d.V=c,d.U("Ta")) }f.EC=function(a){var b=Z(Y(this.A)).B;a=pr(a);b&&(b.A==KJ.Zd?LJ(b,KJ.ACTIVATING,a):b.A==KJ.ad&&LJ(b,KJ.Zd,a))};f.fC=function(a){var b=this.A;0<a.D?yk(b.get(wy),"Zoom in"):0>a.D&&yk(b.get(wy),"Zoom out");var b=o1(this),c=Z(Y(this.A)),d=c.B;UN(this.L,b)||(QJ(d,b,this),pO(c.V,0<a.D,pr(a),ax(this.C)))}; function o1(a){a=a.C.ja()/Rw(a.C);return Math.floor(100*a)}function p1(a){var b=o1(a),c=Math.min(b+25,100);TN(a.L,b,c);QJ(Z(Y(a.A)).B,c)}f.Hn=function(a){var b=Z(Y(this.A)),c=b.B;c&&(c.A==KJ.ad?(p1(t his),pO(b.V,!0,pr(a),!1)):c.A==KJ.Zd&&LJ(c,1,pr(a)))};f.Gn=function(a){var b=Z(Y(this.A)),c=b.B;if(c&&c.A==KJ.ad){var d=o1(this);if(0<d){var e=Math.max(d-25,0);TN(this.L,d,e);QJ(c,e);pO(b.V,!1,pr(a), !1)}else LJ(c,0,pr(a))}};f.Hw=function(){k1(this);q1(this)};f.In=function(a){a.source!=this&&q1(this)}; f.Iw=function(){q1(this)};f.Jw=function(a){var b=Y(this.A);ou(b)&&(q1(this),(b=Z(b).B)&&b==a.target?(this.C.reset(!0),b.F||b.A==KJ.ad&&0==RJ(b)&&(b.Tp()&&b.H!=b.cg()?b.qr():p1(this))):this.C.reset(!1 ))};f.GC=function(){q1(this)}; function q1(a){var b=a.A,c=Y(b);ou(c)&&((c=Z(c).B)?c.isEnabled()?(a.F.setEnabled(!0),j1(a,!0),0<a.I.length||(b=qu(a.A),a.I.push(ru(b,187,a.Hn,a)),a.I.push(ru(b,107,a.Hn,a)),a.I.push(ru(b,189,a.Gn,a)) ,a.I.push(ru(b,109,a.Gn,a))),l1(a,c.A),b=RJ(c),TN(a.L,o1(a),b),a.C.ua(Math.floor(b/100*Rw(a.C)))):3==Og(L(b))?(j1(a,!0),l1(a,0),a.F.setEnabled(!1),a.F.ta("Zooming unavailable")):j1(a,!1):j1(a,!1),a.U ("Mb"))};function r1(a){X.call(this,a);this.C=new i1(a);this.ca(this.C)}v(r1,X);r1.prototype.Y=function(){r1.O.Y.call(this);this.C.ga(this.J())};function s1(a,b,c){PG.call(this,a,b,c);this.A=null}v(s 1,PG);function t1(a,b){var c=a.B+"/files/"+b,c=Oe(c,"fields","kind,id,title,userPermission(role),shared,alternateLink,iconLink,primarySyncParentId,mimeType,parents(id)");return QG(a,c).start().then(t (a.I,a,b))}function u1(a,b){var c=Pb(b,a.H,a);return je(c)} s1.prototype.H=function(a){var b=this.A?this.A.get(a):null;if(b&&6E5>u()-b.timestamp)return b.bt.then(t(this.D,this,a));b=this.B+"/files/"+a;b=Oe(b,"fields","kind,id,title,userPermission(role),shared ,alternateLink,iconLink,primarySyncParentId");b=QG(this,b).start();this.A&&this.A.set(a,{bt:b,timestamp:u()});return b.then(t(this.D,this,a))}; s1.prototype.I=function(a,b){if(a!==b.id)throw Error("Mismatched item details, wanted "+a+" but got "+b.id);var c=new XG;c.id=b.id;c.name=b.title;c.D=b.shared;c.H=b.alternateLink;c.F=b.iconLink;c.C=b .primarySyncParentId;b.userPermission&&(c.B=b.userPermission.role);c.wg=b.mimeType;b.parents&&(c.A=Pb(b.parents,function(a){return a.id}));return c}; s1.prototype.D=function(a,b){if(a!==b.id)throw Error("Mismatched parent details, wanted "+a+" but got "+b.id);var c=new VG;c.id=b.id;c.name=b.title;c.D=b.shared;c.H=b.alternateLink;c.F=b.iconLink;c.C =b.primarySyncParentId;b.userPermission&&(c.B=b.userPermission.role);return c};function v1(a){is.call(this,a);this.A=null}v(v1,is);v1.prototype.ea=function(){this.D=this.B.ma("div","drive-viewer-noti fication");pk(this.J(),"live","assertive");pk(this.J(),"atomic","true")};v1.prototype.da=function(){var a=this.J();return null!=a&&Pp(a,"drive-viewer-notification-shown")};v1.prototype.setVisible=fun ction(a){Tp(this.J(),"drive-viewer-notification-shown",a)};function w1(a){this.F=a;this.B=null;a=L(this.F);var b;if(b=!!wf(a,cg,60))b=wf(a,cg,60),b=null==G(b,1)?!1:G(b,1);this.H=b||3==Og(a);this.D=0; this.I=new M(this);x(this,this.I);this.A=null;this.Xb=0;this.C=null}v(w1,w);f=w1.prototype;f.clear=function(){this.B&&(this.B.dispose(),this.B=null,this.Xb=0);this.D&&(E(this.D),this.D=0)};function ZT(a){a.H||a.clear()} function oz(a,b,c,d,e,g){if(ou(Y(a.F))){var h=W(a.F),k=0;a.B&&a.H&&(a.B.setVisible(!1),k=500);D(function(){this.clear();this.B=new v1(h);var a=iP.la(),k=b;this.H&&(k=h.ma("div","drive-viewer-notifica tion-message",b));if(e)var r=x1(this,a,Zj(e),e,g),k=ac(k,r);c&&!this.H&&(r=x1(this,a,"Dismiss"),k=ac(k,r));!e&&this.H&&(a=x1(this,a,""),k=ac(k,a));this.A||(a=W(this.F),this.A=a.ma("div","drive-viewer -notification-container"),S(this.A,this.H?"drive-viewer-snackbar":"drive-viewer-butterbar"),r=Bj(a,"drive-viewer", a.A.body),a.Ca(r,this.A),this.I.listen(this.A,"mouseover",this.ev).listen(this.A,"mouseout",this.cv));this.B.ga(this.A);a=this.B;a.A=k;if(k=a.J())r=a.B,r.Fb(k),r.Qc(k,a.A);this.Xb=ja(d)?d:0;0<this.Xb &&(this.D=D(this.bp,this.Xb,this));this.B.setVisible(!0)},k,a)}}function SB(a,b,c){a.C&&a.C.dispose();a.C=new Xj("dv-ud"+bb(),{visible:!0,enabled:!0,label:"Undo"});x(a,a.C);ek(a.C,Uj,function(){this. C.dispose();c()},a);oz(a,b,!1,15E3,a.C)} function x1(a,b,c,d,e){var g=W(a.F);b=new dt(c,b,g);a.B.ca(b);b.ga(a.B.J());ml(a.I,b,"action",sa(a.CA,d,e));a=b.J();S(a,"drive-viewer-notification-action-link");return a}f.CA=function(a,b){this.B.set Visible(!1);LC(au(this.F));if(a){var c=new bu(25),d=void 0;n(b)&&(d=new zA(Ef(b.A),null));dk(a,d,c)}};f.bp=function(){this.B.setVisible(!1)};f.cv=function(a){!(a.D&&this.A&&mj(this.A,a.D))&&0<this.Xb &&(this.D=D(this.bp,this.Xb/2,this))}; f.ev=function(a){a.D&&this.A&&mj(this.A,a.D)||!this.D||(E(this.D),this.D=0)};f.Z=function(){w1.O.Z.call(this);this.clear();this.A&&(hj(this.A),this.A=null)};function y1(a){B.call(this);this.A=a;this. D=al(this.A,Ry);this.C=new M(this);x(this,this.C);this.B=rx(a);this.F=null;a=Y(a);this.C.listen(a,"$",this.gv)}v(y1,B); function z1(a,b,c){var d=Z(Y(a.A)),e={og:void 0,Di:void 0,Ia:{Wc:void 0,td:void 0,Ee:void 0,Gi:void 0}};b={parentElement:b,Ag:8,Gf:9,margin:void 0,wr:void 0};ml(ml(ml(a.C,a.D,"Ea",t(a.pB,a,d,e)),a.D, "Ga",t(a.jv,a,d,e)),a.D,"Fa",t(a.hv,a,e));var g=d.N,h;if(g){e.Di=17;var k=!1,m=pu(a.A).B;m&&(k=m.A.dv_us);m=A1(a,d,e,!1)[0];h=zI(a.D,g,c,b,!k,m.D);g.then(void 0,function(){if(e.og){var a=gz(this.A);a&&oz(a,"There was a problem adding the item to Google Drive.",!0,1E4)}},a)}else e.Di=4,h=B1(a,d,c,b,e); Eb(a,function(){h.cancel()});ne(h.then(t(a.eB,a,d,e),t(a.cB,a,d,e)),t(function(){e.og=!0;C1(this,e)},a));iz(a.A).Xa(!0)}function B1(a,b,c,d,e){e=A1(a,b,e,!0);b=e[0];e=e[1];var g,h=al(a.A,Vy);if(h=h?h .R():null){var k=h.R();1==k?g="root":2==k&&(g=h.V()||void 0)}return a.D.Wc(b.D,e.D,1,c,d,!1,g)} function A1(a,b,c,d){var e=ke(),g=d?ke():null;pe(e.D,q);d&&pe(g.D,q);if(SA(b))D1(a,b,e,g,c,b.Da.ra());else{b=gh(b.A);var h=E1(a);t1(h,b).then(function(a){e.A([a]);d&&g.A(u1(h,a.A))},function(a){e.B(a );d&&g.B(a)},a)}return[e,g]}f=y1.prototype;f.oz=function(a,b,c,d,e){D1(this,a,b,c,d,e.target)};function D1(a,b,c,d,e,g){g=g.B;1==g?(c.A(F1(b)),d&&a.ur(b,d,e)):3==g?(c.B(),d&&d.B()):ml(a.C,b,"n",t(a.o z,a,b,c,d,e))} f.ur=function(a,b,c){var d=a.Da.ra();Vo(d)?b.A(G1(a)):Wo(d)?b.B():ml(this.C,d,"o",t(this.ur,this,a,b,c))};function G1(a){return Pb(nb(a.Da.ra().A),function(a){var c=new VG;c.id=a.id;c.name=a.title;c. H=a.alternateLink;c.F=a.iconLink;c.D=a.shared;a.userPermission&&(c.B=a.userPermission.role);c.C=a.primarySyncParentId;return c})} function F1(a){var b=a.Da.ra(),c=b.aa,d=new XG;d.id=gh(a.A);d.wg=Ao(a);d.name=to(a);d.H=c.alternateLink;d.F=c.iconLink;d.D=c.shared;c.userPermission&&(d.B=c.userPermission.role);d.C=c.primarySyncPare ntId;d.A=ob(b.A);return[d]} f.eB=function(a,b,c){if(b.Ia.td){var d=this.B.A[b.Ia.td];d&&H1(d,c)}I1(this,b.Ia.td,1);b.Ia.td=void 0;if(!this.A.Aa&&ou(Y(this.A))){if(d=gz(this.A))c.jc[0].name=to(a),SB(d,P(NH,{sG:c,lb:"drive-viewer -notification-link"}),t(function(){J1(this,a,b,!0);yI(this.D,c).then(t(this.gB,this,a,c,b),t(this.fB,this,b),this)},this));K1(a,c,!1)}}; f.cB=function(a,b,c){"There was a problem saving the attachment to Google Drive."==c?(I1(this,b.Ia.Wc,2),b.Ia.Wc=void 0):(I1(this,b.Ia.Wc,3),b.Ia.Wc=void 0,c instanceof Ck||c instanceof qe?(I1(this,b.Ia.td,3),b.Ia.td=void 0):(I1(this,b.Ia.td,2),b.Ia.td=void 0,!this.A.Aa&&ou(Y(this.A))&&"cp"!=c&&"catd"!=c&&"clid"!=c&&"csc"!=c&&("uatd"==c?dk(pu(this.A).B,new AA(0,null,!0)):(b=gz(this .A))&&oz(b,'There was a problem moving "'+(to(a)+'" to the selected folder in Drive.'),!0,1E4))))}; f.gB=function(a,b,c){I1(this,c.Ia.Ee,1);c.Ia.Ee=void 0;!this.A.Aa&&ou(Y(this.A))&&(oz(gz(this.A),"Action undone.",!1,5E3),K1(a,b,!0))};function K1(a,b,c){if(SA(a)){a=a.Da.ra();var d=b.Ai?[b.Ai]:void 0,e=b.Rd?[b.Rd]:void 0;if(b.Dg){b=b.jc;for(var e={},g=0;g<b.length;g++)for(var h=b[g],k=0;k<h.A.length;k++)e[h.A[k]]=!0;e=ob(e)}c?Xo(a,e,d):Xo(a,d,e)}} f.fB=function(a,b){b instanceof Ck||b instanceof qe?(I1(this,a.Ia.Ee,3),a.Ia.Ee=void 0):(I1(this,a.Ia.Ee,2),a.Ia.Ee=void 0,!this.A.Aa&&ou(Y(this.A))&&oz(gz(this.A),"Action could not be undone.",!0,1E4))};f.gv=function(){var a=this.D;a.A&&a.A.hide();a.B.Dc();a.F()};f.jv=function(a,b){b.og||(b.Ia.Gi=Wv(this.B,"pr_",{ka:54,qa:b.Di,item:a}),wF(this.B.A[b.Ia.Gi],1),b.Ia.Wc=Wv(this.B ,"o_",{ka:58,qa:b.Di,item:a}),wF(this.B.A[b.Ia.Wc],1))};f.hv=function(a){a.og||(I1(this,a.Ia.Gi,1),a.Ia.Gi=void 0)}; function C1(a,b){hb(b.Ia,function(a){I1(this,b.Ia[a],3);b.Ia[a]=void 0},a)}f.pB=function(a,b){b.og||(oz(gz(this.A),"Organizing...",!0,5E3),J1(this,a,b,!1),I1(this,b.Ia.Wc,1),b.Ia.Wc=void 0)};function J1(a,b,c,d){b=Wv(a.B,"pu_",{ka:d?57:56,item:b});wF(a.B.A[b],1);d?c.Ia.Ee=b:c.Ia.td=b}function I1(a,b,c){b&&$v(a.B,b,c)}function H1(a,b){var c=qA(a),d=new uv;H(d,1,b.Dg?2:b.Rd?1:3);yf(c, 9,d)}function E1(a){a.F||(a.F=new s1(al(a.A,bl),3,Tf(wg(L(a.A)))),x(a,a.F),a.F.A=new EO(15,!0));return a.F};function L1(a){ft.call(this,W(a),iP.la());this.A={ce:"drive-viewer-toolstrip-add-to-drive-i con",Aj:"drive-viewer-toolstrip-adding-to-drive-icon",Ff:"drive-viewer-toolstrip-added-to-drive-icon"};this.F={ce:"Save to Drive",Aj:"Saving to Drive",Ff:"Show in Drive"}}v(L1,ft); L1.prototype.update=function(a){var b=this.A.ce,c=this.F.ce;switch(a){case 3:case 1:b=this.A.ce;c=this.F.ce;break;case 2:b=this.A.Aj;c=this.F.Aj;break;case 4:b=this.A.Ff,c=this.F.Ff}this.ta(c);a=nb(t his.A);c=this.B.ik(this.J());Sp(c,a);S(c,b)};function M1(a){L1.call(this,a);a=RA(a);this.A.ce="drive-viewer-toolstrip-add-to-my-drive-icon";this.A.Ff=a?"drive-viewer-toolstrip-move-to-icon":"drive-vi ewer-toolstrip-drive-organize-icon";this.F.ce="Add to My Drive";this.F.Ff="Organize"}v(M1,L1);function N1(a){ST.call(this,a);this.F=[new O1]}v(N1,ST);N1.prototype.kh=function(){this.C=new SE(this,"ua");var a=Kx(this.A);a.C=OE(a,this.C);x(this,this.C)};N1.prototype.Y=function(){N1.O.Y.call(this);S(this.J(),"drive-viewer-more-menu");V(this).listen(this,"action",this.H)}; function P1(a,b){var c;c=Q1(a,b);c=WT(a,c,b);c.setVisible(!1);var d=0,e=3==Og(L(a.A));b instanceof BA&&e&&(d=b.A.dv_ms||0);if(!(e=a.F[d])){var g=d,e=new O1;a.F[g]=e;var h;h=new FH($T.la(),W(a.A));h.s etVisible(!1);e.A=h;for(--g;!a.F[g];)g--;var g=a.F[g],k=-1;0<g.B.length&&(g=g.B,k=xs(a,g[g.length-1]));a.uc(h,k+1,!0)}h=0;0<d&&(h=xs(a,e.A)+1);a.uc(c,h,!0);dc(e.B,0,0,c)}N1.prototype.H=function(a){a= a.target;var b=a.ja();Y(this.A);var c=Y(this.A).getSelected();dk(b,new zA(0,a,c),new bu(11))}; function R1(a,b){for(var c=0;c<ts(a);c++){var d=us(a,c);if(d instanceof DH&&d.ja()===b){var e=Q1(a,b);d.C.eg(d.J(),e);d.ye=e}}}function Q1(a,b){var c=W(a.A),d=Ej(c,Zj(b)),e=d,g=b.A.icon;g&&(c=P(kx,nu ll,null,c),Qp(c,[g,"drive-viewer-custom-button-icon"]),e=[c,d]);return e}N1.prototype.wh=function(){return 27};function O1(){this.A=null;this.B=[]};function S1(a){X.call(this,a);this.C=new QT(this.B);this.ca(this.C);this.F=new N1(a);x(this,this.F);this.H=[];this.W=[];this.I=0;this.S=BX(AX(AX(AX(AX(zX(new yX(this),this.ak),"dv_efs",this.ak),"dv_vfs",this.ak),"icon",this.Vy),"selected", this.Wy));x(this,this.S);this.N=new fk(this);x(this,this.N);this.L=null;a=Y(this.A);V(this).listen(a,"$",this.Cv)}v(S1,X);var T1={enabled:!0,hint:!0,icon:!0,selected:!0,value:!0,visible:!0,dv_vfs:!0, dv_efs:!0};f=S1.prototype; f.ea=function(){this.D=P(GV,void 0,void 0,this.B)}; f.Y=function(){S1.O.Y.call(this);rs(this.C,U(this,"drive-viewer-more-button"));this.C.ta("More actions");JT(this.C,this.F);$u(this.C.J(),this.B);for(var a=pu(this.A),b=0;b<NC(a,"toolstrip");b++)U1(th is,a.D.toolstrip?a.D.toolstrip[b]||null:null);for(b=0;b<NC(a,"moremenu_only");b++){var c;(c=a.D.moremenu_only?a.D.moremenu_only[b]||null:null)&&V1(this,c)}(b=a.R?a.R.action:null)&&gk(this.N,b,Uj,t(th is.Mz,this));V(this).listen(a,"ka",this.QA).listen(a,"ja",this.iz).listen(a,"fa",this.Iy).listen(a,"ha", this.Bv)};f.Iy=function(){W1(this)};function U1(a,b){if(b){var c=a.B,d=a.J(),e=new ft(c,iP.la());e.Ra=b;a.uc(e,0);a.H.push(e);var g=null,g=P(HV,{label:Zj(b)},void 0,c);Hj(d,g,c.getChildren(d).length- 1);rs(e,g);b.A.icon&&X1(e,b.A.icon);$u(g,c);V(a).listen(e,"action",t(a.Av,a,b));uX(a.S,e,b,T1,t(a.zv,a,e));P1(a.F,b);c=pu(a.A);c.S[b.getId()]&&(c=c.S[b.getId()],a.A.get(Xy).register(c,e))}}function X1(a,b){var c=a.D;S(c,"drive-viewer-custom-button-with-icon");mn(c,IV,{icon:b})} function V1(a,b){gk(a.N,b,Tj,function(a){if(this.oa)switch(a.Ii){case "visible":case "enabled":W1(this);break;case "icon":R1(this.F,b);break;case "label":case "hint":R1(this.F,b)}},a);a.W.push(b);P1( a.F,b)}f.Mz=function(){var a=this.C.D,b=RA(this.A);S(a,b?"drive-viewer-more-button-folder":"drive-viewer-more-button-drive-folder");this.C.Td(!0);b=al(this.A,Ry);ml(V(this),b,"Ha",this.dB);this.L||(t his.L=new y1(this.A),x(this,this.L));z1(this.L,this.D,a)}; f.dB=function(){Sp(this.C.J(),["drive-viewer-more-button-folder","drive-viewer-more-button-drive-folder"]);this.C.Td(!1)};f.Av=function(){ZT(gz(this.A))};f.iz=function(a){U1(this,a.D);W1(this)};f.QA= function(a){a.D&&(V1(this,a.D),W1(this))};f.ak=function(){W1(this)};f.Vy=function(a,b,c,d,e,g){b=a.D;Pp(b,"drive-viewer-custom-button-with-icon")?(a=Si("drive-viewer-custom-button-icon",b),g&&Rp(a,g) ,S(a,e)):X1(a,e);R1(this.F,c)};f.Wy=function(a,b,c){Tp(a.J(),"drive-viewer-button-toggled",!!c.A.selected)}; f.Cv=function(){W1(this)};f.Bv=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[b];if(a.F.J()==c.J()&&c.Ra==a.D){if(c.da()&&c.isEnabled()){Pu(au(this.A),c.J());return}break}}if(this.C.da())f or(b=0;b<ts(this.F);b++)if(c=us(this.F,b),c.ja()==a.D&&a.F.J()==c.J()){c.da()&&Pu(au(this.A),this.C.J());break}}; function W1(a){var b=Y1(a),c=Z1(a),d=b.slice(0);0<c.length&&d.push(a.C);for(var e=a.I,g=Jj(a.J()),g=Math.min(d.length,Jq(g)?3:4),h=0,k=0,m=0;m<g;m++){var p=d[m].J(),r=Rq(p),p=Dq(p).width+r.left+r.rig ht,h=h+p;if(h>e)break;k++}d=Math.max(k,1);(b.length>d||0<c.length)&&0<d&&d--;for(e=0;e<b.length;e++)g=b[e],h=g.Ra,k=IA(Y(a.A))&&h instanceof BA?!!h.A.dv_efs:h.isEnabled(),0<d?(g.setVisible(!0),g.setE nabled(k),d--):(g.setVisible(!1),g.setEnabled(!1),k&&c.push(h));if(0<c.length)for(a.C.setVisible(!0),d= a.F,e=!0,g=0;g<d.F.length;g++){if(h=d.F[g]){k=!1;m=h.B;for(p=0;p<m.length;p++){var r=m[p],z=r.ja(),z=Wb(c,z);r.setVisible(z);z&&(k=!0)}h.A&&h.A.setVisible(k&&!e);k&&(e=!1)}}else a.C.setVisible(!1);fo r(e=0;e<a.H.length;e++)g=a.H[e],Wb(b,g)||(g.setEnabled(!1),g.setVisible(!1))}function Y1(a){var b=a.A,c=IA(Y(b)),d=pu(b);return Nb(a.H,function(a){return HC(d,a.Ra,c)})}function Z1(a){var b=a.A,c=IA(Y(b)),d=pu(b);return Nb(a.W,function(a){return HC(d,a,c)})} f.Qj=function(a){var b=this.J(),c=$1(this);this.I=Kq(b)?c-a:a-c;W1(this)};function $1(a){a=a.J();return tq(a).x+(Kq(a)?Dq(a).width:0)}f.zv=function(a){var b=Y(this.A);return new zA(0,a,b.getSelected( ))};function a2(a){ST.call(this,a);var b;(b=!wg(L(a)))||(b=wg(L(a)),b=!(null==G(b,3)?0:G(b,3)));this.$=b;V(this).listen(Y(a),"$",this.hw);this.F=UT(this,"Opening this item will add it to your Drive");this.aa=UT(this,"Loading...");this.na=UT(this,"Suggested third-party apps");this.N=UT(this,"Connected apps");this.fa=UT(this,"Apps on your computer");this.W=[];this.X=0;this.I=[];thi s.S=[];this.La=[];this.za=[];this.Ja=[];this.H=new l0(a);this.L=b2(this,p0(this.H),"Connect more apps","connectMoreApps");this.ca(this.aa, !0);this.ca(this.fa,!0);this.ca(this.N,!0);this.ca(this.na,!0);this.ca(this.L,!0);this.ca(this.F,!0);S(this.F.J(),"drive-viewer-menu-notice-header");this.aa.setVisible(!0);this.F.setVisible(!1);this. na.setVisible(!1);this.N.setVisible(!1);this.L.setVisible(!1);this.fa.setVisible(!1);(b=fz(a))&&V(this).listen(b,["W","Y"],this.fw);a=Y(a);V(this).listen(a,wo.kj,this.Nz)}v(a2,ST);f=a2.prototype;f.kh =function(){this.C=new SE(this,"ua");var a=Kx(this.A);a.F=OE(a,this.C);x(this,this.C)}; f.Y=function(){a2.O.Y.call(this);V(this).listen(this,"action",this.ew);fq(this.J(),"padding","0px");this.$||ml(V(this),this,"show",this.eC)};f.ew=function(a){a=a.target.ja();"connectMoreApps"==a?(nv( ov(this.A),{ka:18,qa:18}),(new k0(this.A)).setVisible(!0)):this.U(new Mp(a,18))};f.eC=function(){c2(this);this.$=!0;var a=this.Sb();a.tb=void 0;OT(a)};f.hw=function(){this.$&&c2(this)};f.Nz=function( a){Ox(Y(this.A),a.target)&&d2(this)};f.fw=function(){var a=this.A;!a.Aa&&ou(Y(a))&&c2(this)}; function c2(a){var b=Z(Y(a.A));m0(a.H,b,t(a.gw,a,b));var c;c=a.H.A.get(Qy).oh(b);by(c,t(a.jA,a,b))}f.gw=function(a,b,c,d){Ox(Y(this.A),a)&&(this.I=b,this.za=e2(this,this.za,this.N,this.I),this.W=c,th is.X=d,this.La=e2(this,this.La,this.na,this.W),this.L.setVisible(0<this.X),f2(this))};f.jA=function(a,b){Ox(Y(this.A),a)&&(this.S=b,this.Ja=e2(this,this.Ja,this.fa,this.S),f2(this))};function f2(a){0<a.X+a.I.length+a.S.length&&a.aa.setVisible(!1);d2(a);a.da()&&(a=a.Sb(),a.tb=void 0,OT(a))} function d2(a){var b=Z(Y(a.A));a.F.setVisible(!1);0<a.I.length+a.W.length&&(b=yo(b),a.F.setVisible(1==b))}function e2(a,b,c,d){Lb(b,function(a){this.removeChild(a,!0);a.dispose()},a);b=Pb(d,a.Ys,a);c .setVisible(0!=b.length);var e=xs(a,c)+1;Mb(b,function(a){this.uc(a,e,!0)},a);return b}f.Ys=function(a){var b=n0(this.H,a);return b.iconUrl?b2(this,b.iconUrl.toString(),b.name,a):WT(this,b.name,a)};f unction b2(a,b,c,d){var e=W(a.A),g=P(kx,null,null,e);Iq(g,b);return WT(a,[g,Ej(e,c)],d)}f.wh=function(){return 10};function g2(a){X.call(this,a);var b=W(a);this.C=new ft(b,iP.la());this.ca(this.C);th is.F=new ft(b,iP.la());this.ca(this.F);this.H=new QT(b);this.ca(this.H);this.L=this.W=this.S=this.N=null;this.I=!1;this.X=new l0(a);a=Y(this.A);V(this).listen(a,"$",this.bw).listen(a,"r",this.$z).lis ten(a,wo.Ug,this.cw).listen(a,wo.sm,this.dw)}v(g2,X);f=g2.prototype;f.ea=function(){this.D=P(FV,void 0,void 0,this.B)}; f.Y=function(){g2.O.Y.call(this);rs(this.C,U(this,"drive-viewer-toolstrip-extract"));this.S=U(this,"drive-viewer-toolstrip-extract-content");this.W=U(this,"drive-viewer-toolstrip-extracting-icon");th is.N=U(this,"drive-viewer-open-label");rs(this.F,U(this,"drive-viewer-toolstrip-open"));rs(this.H,U(this,"drive-viewer-toolstrip-openwith"));this.C.setVisible(!1);this.F.setVisible(!1);this.F.ta("Ope n");this.H.ta("Open with");$u([this.C.J(),this.F.J(),this.H.J()],this.B);this.L=U(this,"drive-viewer-open-app-icon"); this.A.get(Xy).register("open-and-openwith",this);V(this).listen(this.F,"action",this.WA).listen(this.C,"action",this.Zz);var a=fz(this.A);a&&V(this).listen(a,["W","Y"],this.aw);a=new a2(this.A);JT(this.H,a);x(this,a);this.H.setVisible(!!this.A.get(Qy).$k().ja())};f.bw=function(){h2(this)};f.$z=function(a){i2(this,a)}; function h2(a){if(!a.I){var b=a.A,c=Z(Y(b)),d=b.get(Qy),b=al(b,Fy),e=!!b&&kz(b,c),b=d.$k(c);e?Nk(b,function(a){j2(this,c,!1,a,e)},a):(d=d.Zk(c),d=Sk(d,b),Nk(d,function(a){var b=k2(a[0]);a=k2(a[1]);j2 (this,c,b,a,e)},a))}} function j2(a,b,c,d,e){if(!a.I){a.C.setVisible(e);if(e)if(b.tb)l2(a,!1,"Extracting...");else{var g=Kv(Ao(b));l2(a,!0,g)}a.F.setVisible(c);nj(a.N,"Open");a.H.setVisible(d);Tp(a.C.J(),"drive-viewer-too lstrip-open-has-openwith",d);Tp(a.F.J(),"drive-viewer-toolstrip-open-has-openwith",c&&d);Tp(a.H.J(),"drive-viewer-toolstrip-openwith-mini",c||e);var h=!1;c&&(b=a.A.get(Qy).Fh(b),Nk(b,function(a){a:{i f(null!==a&&(a=n0(this.X,a),a.iconUrl)){Iq(this.L,a.iconUrl.toString());a="Open with "+a.name;3==Og(L(this.A))&& nj(this.N,a);this.F.ta(a);h=!0;break a}h=!1}},a));T(a.L,h);h||a.F.ta("Open");T(a.J(),e||c||d);a.U("Mb")}}function k2(a){return"success"==a.getState()&&!!a.ja()}function l2(a,b,c){T(a.S,b);T(a.W,!b);a .C.setEnabled(b);et.la().xe(a.C,!0);a.C.ta(c)} f.Zz=function(a){var b=this.A,c=Z(Y(b));nv(ov(b),{ka:44,qa:pr(a),item:c});b=al(b,Ey);b.I="drive-viewer-extract";b.L="Extract";c=Kq(this.J())?new Wp(0,-150,0,0):new Wp(0,0,0,-150);b=b.Kg(this.C.D,{par entElement:this.J(),Pf:!1,Ag:8,Gf:9,margin:c});a=t(this.aA,this,a);Fk(b,a,void 0);iz(this.A).Xa(!0)}; f.aA=function(a,b){if(!b.fc())if(b.getError())oz(gz(this.A),"An error occurred selecting a folder to extract into.",!0,1E4);else{l2(this,!1,"Extracting...");var c=b.ja().dk,d=b.ja().Xf,e=pr(a);this.U (new Lp(c,d,e))}};f.WA=function(a){a=pr(a);nv(ov(this.A),{ka:9,qa:a});this.U(new Mp(void 0,a))};f.cw=function(a){i2(this,a)};f.dw=function(a){i2(this,a)};f.aw=function(){var a=this.A;!a.Aa&&ou(Y(a))& &h2(this)};function i2(a,b){var c=b.target,d=a.A,e;!d.Aa&&ou(e=Y(d))&&c.getId()==Z(e).getId()&&h2(a)} f.Td=function(a,b){this.F.Td(a,b);this.H.Td(a,b)};function m2(a,b){DH.call(this,null,a,W(b));this.L=b.get(az);this.A=new Ps(void 0,this.L,W(b));this.A.Ra=a;this.A.setEnabled(!1);this.ca(this.A);this. F=null}v(m2,DH);m2.prototype.ea=function(){var a=to(this.Ra);this.D=P(EV,{title:a},void 0,this.B);this.F=U(this,"drive-viewer-selection-menu-item-title");Yr(this.F,a,void 0,void 0,!0);qs(this.A,this. F);$U(this.L,this.A)};function n2(a){ST.call(this,a);this.F={};a=Y(a);V(this).listen(a,"da",this.qw)}v(n2,ST);f=n2.prototype;f.kh=function(){this.C=new SE(this,"va");var a=Kx(this.A);a.H=OE(a,this.C) ;x(this,this.C)};f.Y=function(){n2.O.Y.call(this);V(this).listen(this,"action",this.pw);S(this.J(),"drive-viewer-selection-menu")};f.pw=function(a){var b=a.target;a=b.ja();var c=Js(b,16);Tp(b.J(),"dr ive-viewer-selection-menu-item-animated",c);b=Y(this.A);c?b.D.push(a):Zb(b.D,a);b.U("da")};f.qw=function(){this.da()||o2(this)}; function o2(a){for(var b=Y(a.A).getSelected(),c={},d=0;d<b.length;d++){var e=b[d],g=e.getId(),h=a.F[g];h?Rp(h.J(),"drive-viewer-selection-menu-item-animated"):(h=new m2(e,a.A),h.Wh(!0),a.ca(h,!0),Ys( h,!0));c[g]=h}hb(a.F,function(a,b){c[b]||(this.removeChild(a),a.dispose())},a);a.F=c}f.wh=function(){return 51};function p2(a){X.call(this,a);a=W(a);this.F=new ft(a,iP.la());this.ca(this.F);this.C=ne w QT(a);this.ca(this.C);this.H=null;a=Y(this.A);V(this).listen(a,"da",this.ow)}v(p2,X);f=p2.prototype;f.ea=function(){this.Fa(P(DV,void 0,void 0,this.B))}; f.Y=function(){p2.O.Y.call(this);this.C.ha=!0;rs(this.C,U(this,"drive-viewer-toolstrip-selection-menu-button"));rs(this.F,U(this,"drive-viewer-toolstrip-selection-button-clear"));this.F.ta("Clear Selection");this.C.ta("Edit Selection");this.H=U(this,"drive-viewer-toolstrip-selection-button-label");$u([this.F.J(),this.C.J()],this.B);V(this).listen(this.F,"action",this.Zy);var a=new n2(this.A);JT(this.C,a);x(this,a);this.setVisible(!1)};f.Zy=function(){var a=Y(this.A);Xb(a.D);a.U("da")}; f.ow=function(){if(IA(Y(this.A))){var a=Y(this.A).getSelected().length,b=this.H,a=Gt(new Bt("{count, plural, =1{1 selected}other{# selected}}"),{count:a});nj(b,a);this.setVisible(!0)}else this.setVisible(!1);this.U("Mb")};function q2(a){var b=a.J();if(!a.da())return 0;a=Dq(b).width;b=Rq(b);return a+b.right+b.left}f.setVisible=function(a){return this.da()!=a?(T(this.J(),a),!0):!1};f.d a=function(){return Jq(this.J())};function r2(a){X.call(this,a);this.C=this.F=this.N=this.H=null;this.gn();this.W=BX(zX(new yX(this),this.tw));x(this,this.W);this.S=null;this.I=rx(a);this.L=null;a=Y( this.A);V(this).listen(a,"$",this.ww).listen(a,"da",this.yw).listen(a,wo.kj,this.uw)}v(r2,X);f=r2.prototype;f.ea=function(){this.D=P(CV,void 0,void 0,this.B);var a=this.J(),b=U(this,"drive-viewer-too lstrip-add-to-drive");this.H&&qs(this.H,b);this.N&&qs(this.N,b);this.F.ga(a)}; f.Y=function(){r2.O.Y.call(this);this.Mp();var a=pu(this.A);V(this).listen(a,"fa",this.Mp).listen(a,"ha",this.vw);D(this.Bd,100,this)};f.gn=function(){var a=this.A;this.H=new g2(a);this.ca(this.H);Lg (L(a))&&(this.N=new p2(a),this.ca(this.N));this.F=new S1(a);this.ca(this.F)};f.Bd=function(){D(function(){this.oa&&this.U("Mb")},0,this)}; f.layout=function(){var a=(Vi(Fj(this.B)).width-50)/2,b;if(this.H){var c=this.H.J();Jq(c)?(b=Dq(c).width,c=Rq(c),b=b+c.right+c.left):b=0}else b=0;a=Math.max(a-b,0);this.N&&(a=Math.max(a-q2(this.N),0) );b=this.J();Kq(b)?fq(b,"right",a+"px"):fq(b,"left",a+"px")};f.$i=function(){var a=this.B.jk(this.J()),b=tq(a).x;Kq(this.J())&&(b+=Dq(a).width);this.F.Qj(b)};f.yw=function(){this.C&&s2(this);var a=this.H,b=IA(Y(this.A));a.I=b;T(a.J(),!b);b||h2(a);this.Bd()}; f.Mp=function(){var a=U(this,"drive-viewer-toolstrip-add-to-drive"),b=pu(this.A),c=b.B;c?this.C||(this.C=Jg(L(this.A))?new M1(this.A):new L1(this.A),this.ca(this.C),rs(this.C,a),T(a,!0),$u(this.C.J() ,this.B),a=new bu(qr(a),17),uX(this.W,this.C,c,vX,t(this.sw,this,this.C),a),V(this).listen(this.C,"action",this.My),b.aa&&this.A.get(Xy).register("add_to_drive",this.C),this.Bd()):T(a,!1)};f.ww=funct ion(){this.C&&s2(this);var a=al(this.A,Dy);a&&a.Dc();(a=al(this.A,Ey))&&a.Dc();this.Bd()}; f.vw=function(a){pu(this.A).B==a.D&&a.F.J()==this.C.J()&&this.C.da()&&this.C.isEnabled()&&Pu(au(this.A),this.C.J())};function s2(a){var b=yo(Z(Y(a.A)));0==b||5==b?(a.C.setVisible(!1),a.Bd()):(a.C.set Visible(!0),a.Bd(),2==b?(a.C.setEnabled(!1),et.la().xe(a.C,!0)):a.C.setEnabled(!0),a.C.update(b),t2(a))} f.uw=function(a){if(this.C){var b=a.target;a=a.D;var c=Y(this.A);ou(c)&&(b.getId()==Z(c).getId()&&(this.H&&(h2(this.H),this.Bd()),s2(this)),2!=a||1!=yo(b)&&3!=yo(b)||al(this.A,Ry)||(c=gz(this.A))&&oz (c,"There was a problem saving the attachment to Google Drive.",!0,1E4));if((c=b.N)&&"pending"==c.getState())switch(yo(b)){case 4:c.ua([gh(b.A)]);b.N=null;break;case 1:case 3:c.Ga("There was a problem saving the attachment to Google Drive."),b.N=null}u2(this,b,a)}}; function u2(a,b,c){var d="atd_"+b.getId();switch(yo(b)){case 1:case 3:2==c&&$v(a.I,d,Rv.$d);break;case 2:if(1==c||3==c)Tv(a.I,d,{ka:31,item:b}),Eb(b,function(){this.I.A[d]&&$v(this.I,d,Rv.Df)},a);bre ak;case 4:2==c&&$v(a.I,d,Rv.Ef)}}f.xw=function(){this.L&&($v(this.I,this.L,1),this.L=null)};function v2(a){a.L&&($v(a.I,a.L,3),a.L=null)} function w2(a,b){var c=gz(a.A);c&&Fk(b,function(){v2(this);if("error"==b.getState()){var a=b.getError();"There was a problem saving the attachment to Google Drive."==a||a instanceof Ck||oz(c,"There was a problem moving the attachment to the selected folder in Google Drive.",!0,1E4)}},a)}f.tw=function(){t2(this)};function t2(a){var b=pu(a.A),c=b.B;if(c){var d=IA(Y(a.A)),b=HC(b,c ,d);a.C.setVisible(b);a.Bd()}} f.My=function(){ZT(gz(this.A));var a=Z(Y(this.A)),b=yo(a);4!=b&&(a.N=new Dk,zo(a,2));al(this.A,Ry)?(this.S||(this.S=new y1(this.A),x(this,this.S)),z1(this.S,this.D,this.C.J())):4!=b&&al(this.A,Dy)?(a =Z(Y(this.A)),b=Kq(this.J())?new Wp(0,-150,0,0):new Wp(0,0,0,-150),a=al(this.A,Dy).Kg(this.C.J(),a.N,{parentElement:this.J(),Pf:!0,Ag:8,Gf:9,margin:b}),w2(this,a),v2(this),this.L=Wv(this.I,"pr_",{ka: 54}),a=al(this.A,Dy),ml(V(this),a.I(),"Ob",this.xw),iz(this.A).Xa(!0)):Pu(au(this.A),this.C.J())}; f.sw=function(a){return new AA(Ef(Z(Y(this.A)).A),a)};function x2(a){X.call(this,a);this.F=this.C=this.L=null;this.H=pu(a).V;a=Y(this.A);V(this).listen(a,"$",this.zw).listen(a,wo.tm,this.Aw)}v(x2,X); f=x2.prototype;f.ea=function(){this.D=P(xV,void 0,void 0,this.B)};f.Y=function(){x2.O.Y.call(this);var a=this.B;this.L=U(this,"drive-viewer-toolstrip-icon");this.C=U(this,"drive-viewer-toolstrip-name ");this.F=this.C.cloneNode(!1);S(this.F,"drive-viewer-toolstrip-name-sizing");a.Wk(this.F,this.C);V(this).listen(this.C,"click",this.TA)}; f.zw=function(){var a=Z(Y(this.A));Iq(this.L,Fp(Ao(a)));var b=Gp(Ao(a));tk(this.L,b+" icon");this.H&&Tp(this.C,"drive-viewer-rename-enabled",this.H.lc());D(t(this.cm,this,to(a)),100)};f.Aw=function(a ){a=a.target;var b=Y(this.A);ou(b)&&Z(b).getId()==a.getId()&&this.cm(to(a))};f.TA=function(a){this.H&&this.H.lc()&&dk(this.H.action,void 0,new bu(pr(a)))};f.layout=function(){var a=Y(this.A);0<a.B.A. length&&null!=a.A&&this.cm(to(Z(a)))}; f.cm=function(a){if(this.oa){var b=this.B,c=b.jk(this.J());if(c&&this.C){var d=b.jk(c);d&&(c=Dq(c).width?c:d);d=Fq(this.C);c=Fq(c);c=Kq(this.C)?d.left+d.width-c.left-c.width:c.left-d.left;c=Math.max( c-14,0);d=y2(this,a);if(d<=c)b.Qb(this.C,a),fq(this.C,"width",d+"px"),Yr(this.C,"");else{for(var d=c,e=Math.ceil(a.length/2),g=0;g<e-1;){var h=Math.floor((e+g)/2);y2(this,a.substring(0,h)+" ... "+a.substring(a.length-h))>d?e=h:g=h}b.Qb(this.C,a.substring(0,g)+" ... "+a.substring(a.length-g));fq(this.C, "width",c+"px");Yr(this.C,a)}}}};function y2(a,b){a.B.Qb(a.F,b);return Dq(a.F).width};function z2(a){ft.call(this,W(a),iP.la());this.A=a}v(z2,ft);z2.prototype.ea=function(){this.D=P(BV)};z2.prototype .Y=function(){z2.O.Y.call(this);var a=this.J();if(Bc){var b=a.firstChild,c=b.className;b.className="";b.className=c}this.Fa(a);this.ta("Close");V(this).listen(this,"action",this.F);$u(a,W(this.A))};z 2.prototype.F=function(a){nv(ov(this.A),{ka:3,qa:pr(a)});this.U("t")};function A2(a){X.call(this,a);this.C=this.H=this.F=null;a=Hg(L(a));Ba(hg(a))||(this.F=new BY(null,this.B,2),this.ca(this.F));Ba(i g(a))||this.A.Oa()||(this.H=new BY(null,this.B,2),this.ca(this.H));Ba(jg(a))||(this.C=new BY(null,this.B,2),this.ca(this.C))}v(A2,X);f=A2.prototype;f.ea=function(){var a=Hg(L(this.A));this.F?this.D=P (RV,{Oa:this.A.Oa()},void 0,this.B):this.C&&(a=Yt(fg(a),io(jg(a))),this.D=P(SV,{Hs:a},void 0,this.B))}; f.Y=function(){A2.O.Y.call(this);if(this.F){var a=U(this,"drive-viewer-invite-sign-in-button");rs(this.F,a);this.F.setVisible(!0);V(this).listen(this.F,"action",t(this.sA,this));this.H?(rs(this.H,U(t his,"drive-viewer-invite-sign-up-button")),this.H.setVisible(!0),V(this).listen(this.H,"action",t(this.tA,this))):Up(a,"jfk-button-standard","jfk-button-action")}else if(this.C){rs(this.C,U(this,"dri ve-viewer-accept-invite-button"));this.C.setVisible(!0);var a=this.C.J(),b=Hg(L(this.A)),b=Yt(fg(b),io(jg(b))); Yr(a,b,void 0,void 0,!0);V(this).listen(this.C,"action",t(this.Gy,this))}};f.sA=function(){var a=Hg(L(this.A));Li(l.location,hg(a))};f.tA=function(){var a=Hg(L(this.A));Li(l.location,ig(a))};f.Gy=fun ction(){var a=Hg(L(this.A));Li(l.location,jg(a))};function B2(a){X.call(this,a);a=Hg(L(this.A));this.C=null;Ba(gg(a))||(this.C=new BY(null,this.B,2),this.ca(this.C))}v(B2,X);B2.prototype.ea=function( ){var a=Hg(L(this.A));if(this.C)this.D=P(PV,void 0,void 0,this.B);else{var b=fg(a)+" \n(",c;c=null==G(a,3)?"":G(a,3);b=b+c+")";a=null==G(a,4)?"":G(a,4);this.D=P(QV,{title:b,xE:a},void 0,this.B)}}; B2.prototype.Y=function(){B2.O.Y.call(this);if(this.C)rs(this.C,U(this,"drive-viewer-sign-in-button")),this.C.setVisible(!0),V(this).listen(this.C,"action",t(this.H,this));else{var a=Hg(L(this.A));(n ull==G(a,9)||G(a,9))&&V(this).listen(this.J(),"click",t(this.F,this))}};B2.prototype.H=function(a){var b=Hg(L(this.A));Li(l.location,gg(b));nv(ov(this.A),{ka:91,qa:pr(a)})}; B2.prototype.F=function(a){var b=L(this.A),b=xg(b)||Ig(b)||go(Fj(W(this.A))),b=eo("accounts",b),b=Ve(b,"continueUrl",l.location.href);Li(l.location,b);nv(ov(this.A),{ka:92,qa:pr(a)})};function C2(a){X.call(this,a);var b=this.B,c=L(a);this.H=new ft(b,iP.la());this.ca(this.H);this.F=this.profile=null;1==ug(c)&&Hg(c)&&(b=Hg(c),Ba(hg(b))&&Ba(ig(b))&&Ba(jg(b))?(this.profile=new B2(a),this.ca(this.profile)):(this.F=new A2(a),this.ca(this.F)))}v(C2,X); C2.prototype.Y=function(){C2.O.Y.call(this);var a=this.B,b=U(this,"drive-viewer-popout-button"),c=L(this.A),d;d=pu(this.A);d=d.H?d.H.action:null;null==d||2!=Og(c)&&2!=ug(c)?T(b,!1):(rs(this.H,b),this .H.ta("Pop-out"),$u(b,a),uX(BX(new yX(this)),this.H,d,vX,t(this.N,this)))};C2.prototype.N=function(){return new zA(Z(Y(this.A)).A,this.H)};function D2(a){C2.call(this,a);var b=this.B,c=L(a);this.L=ne w i1(a);this.ca(this.L);this.C=null;Eg(c)&&(this.C=new ft(b,iP.la()),this.ca(this.C));this.I=null;0==ug(L(this.A))&&(this.I=new z2(a),this.ca(this.I))}v(D2,C2);f=D2.prototype;f.ea=function(){var a=P(yV,void 0,void 0,this.B);this.D=a;qs(this.L,a.firstChild);this.I&&this.I.ga(a);this.profile&&this.profile.ga(a);this.F&&this.F.ga(a)}; f.Y=function(){D2.O.Y.call(this);var a=this.B,b=U(this,"drive-viewer-details-button");this.C?(rs(this.C,b),this.C.ta("Details"),pk(this.C.J(),"pressed",!1),V(this).listen(this.C,"action",this.Cw).lis ten(Kx(this.A),"sa",this.Bw),$u(b,a)):T(b,!1);V(this).listen(this.L,"Mb",this.FC)}; f.layout=function(){if(this.F){var a=this.F;if(a.C){for(var b=a.B,c=Bj(b,"drive-viewer-toolstrip-actions"),d=Bj(b,"drive-viewer-toolstrip-lft"),c=Dq(c).width?c:d,d=oq(c),e=Bj(b,"drive-viewer-toolstri p-rgt-panel"),g=oq(e),b=a.J(),c=Kq(b)?d.x-g.x:g.x+Dq(e).width-d.x-Dq(c).width,d=a.Sb().J().childNodes,e=0;e<d.length;e++)if(g=d[e],g!=b&&Jq(g))var h=Rq(g),c=c-Dq(g).width-h.left-h.right;a=a.C.D;b=Rq( a);c=c-b.left-b.right;b=vq(a);c=c-b.left-b.right;b=Qq(a,"padding");c=c-b.left-b.right;c=Math.min(c,125); c=Math.max(c,0);fq(a,"max-width",c+"px")}}};f.Cw=function(a){var b=Kx(this.A);YB(b,!b.A,a)};f.Bw=function(){var a=this.C.J(),b=!Pp(a,"drive-viewer-button-toggled");Tp(a,"drive-viewer-button-toggled", b);pk(a,"pressed",Kx(this.A).A)};f.FC=function(){this.layout()};function E2(a){X.call(this,a);this.C=this.F=null;2!=ug(L(a))&&(this.F=new x2(a),this.ca(this.F),this.C=new r2(a),this.ca(this.C));this. H=new D2(a);this.ca(this.H);V(this).listen(Y(a),"$",this.Gw)}v(E2,X);f=E2.prototype;f.ea=function(){this.D=P(vV,void 0,void 0,this.B);var a=this.J();this.F&&this.F.ga(a);this.C&&this.C.ga(a);this.H.g a(a)}; f.Y=function(){E2.O.Y.call(this);iz(this.A).ke(this.J(),"top");var a=BE(Fj(W(this.A)));V(this).listen(a,"resize",this.Wp);V(this).listen(this.H,"Mb",this.pC);this.C&&V(this).listen(this.C,"Mb",this.W p);D(this.sr,100,this)};f.Gw=function(){var a=Z(Y(this.A)).ub();iz(this.A).wl(this.J(),a.dl())};f.sr=function(){if(this.oa&&2==ug(L(this.A))){var a=this.J(),b=Dq(this.H.J());fq(a,"width",b.width+"px" );b=hv(hu(this.A))+"px";fq(a,Kq(a)?"left":"right",b)}}; f.Wp=function(){if(this.C){this.C.layout();var a;a=this.C;var b=a.J(),c=Kq(b);if(Jq(b)){var d=a.F;0<Y1(d).length||0<Z1(d).length?(a=$1(a.F),a=c?a-50:a+50):a=tq(b).x+(c?0:Dq(b).width)}else a=c?0:Vi(Fj(a.B)).width;c=this.H.L;c.N=a;a=Y(c.A);ou(a)&&(a=Z(a).B)&&a.isEnabled()&&m1(c,a.A);this.C.$i()}this.F&&this.F.layout();this.H.layout()};f.pC=function(){this.C&&this.C.$i();this.sr();this. F&&this.F.layout()};function F2(a){x2.call(this,a);this.I=null;0==ug(L(this.A))&&(this.I=new z2(a),this.ca(this.I))}v(F2,x2);F2.prototype.ea=function(){F2.O.ea.call(this);this.I&&qs(this.I,this.J().f irstChild)};function G2(a){S1.call(this,a)}v(G2,S1);G2.prototype.Qj=function(){var a=Bj(this.B,"drive-viewer-toolstrip"),a=Dq(a).width,b=Bj(this.B,"drive-viewer-toolstrip-open-and-openwith");this.I=b &&Jq(b)?Fq(b).left:a/2;(a=Jj(this.J()))&&Jq(a)&&(b=Rq(a),a=Dq(a).width+b.left+b.right,this.I=Math.max(this.I-a,0));W1(this)};function H2(a){r2.call(this,a)}v(H2,r2);H2.prototype.Y=function(){H2.O.Y.c all(this);V(this).listen(this,"Mb",this.layout)};H2.prototype.gn=function(){this.F=new G2(this.A);this.ca(this.F)};H2.prototype.layout=function(){this.$i()};H2.prototype.$i=function(){this.F.Qj(-1)}; function I2(a){C2.call(this,a);this.C=null;2!=ug(L(a))&&(this.C=new H2(a),this.ca(this.C))}v(I2,C2);I2.prototype.ea=function(){var a=P(AV,void 0,void 0,this.B);this.D=a;this.C&&this.C.ga(a);this.prof ile&&this.profile.ga(a);this.F&&this.F.ga(a)};I2.prototype.layout=function(){this.C&&this.C.layout()};function J2(a){X.call(this,a);this.F=this.C=null;2!=ug(L(a))&&(this.C=new F2(a),this.ca(this.C),t his.F=new g2(a),this.ca(this.F));this.H=new I2(a);this.ca(this.H);a=Y(a);V(this).listen(a,"$",this.Dw).listen(a,"l",this.Ew)}v(J2,X);f=J2.prototype;f.ea=function(){var a=this.B;this.D=P(wV,void 0,void 0,a);a=Bj(a,"drive-viewer-toolstrip-inner",this.J());this.C&&this.C.ga(a);this.F&&this.F.ga(a);this.H.ga(a)}; f.Y=function(){J2.O.Y.call(this);iz(this.A).ke(this.J(),"top");var a=eu(this.A);V(this).listen(a,"Za",this.Fw);this.C&&V(this).listen(this.H,"Mb",this.SB);this.F&&V(this).listen(this.F,"Mb",this.XA)} ;f.Dw=function(){K2(this)};f.Ew=function(a){a=a.target;Ox(Y(this.A),a)&&K2(this)};function K2(a){var b=Z(Y(a.A)),c=b.ub(),d=iz(a.A),b=c.vg()||4==b.getState();d.wl(a.J(),b);Tp(a.J(),"drive-viewer-tool strip-fixed",c.dl())} f.Fw=function(a){a.D&&"sa"==a.D.type&&(a=Kq(this.J()),fq(this.J(),a?"left":"right",NE(Kx(this.A))+"px"));this.H.layout();this.C&&this.C.layout()};f.SB=function(){this.F&&Jq(this.F.J())||this.C.layout ()};f.XA=function(){this.H.layout();this.C&&this.C.layout()};function L2(a){X.call(this,a);var b=this.B,c=L(a);this.H=new ft(b);this.ca(this.H);this.I=new ft(b);this.ca(this.I);this.W=null;Lg(L(a))&& (this.W=new g1(a),this.ca(this.W));this.X=new Q0(a);this.ca(this.X);this.ha=null;3==Og(c)?this.ha=new J2(a):this.ha=new E2(a);this.ca(this.ha);this.fa=this.Ha=this.aa=null;Eg(c)&&(this.fa=new VX(a),this.ca(this.fa));this.L=null;hz(a)&&(this.L=new a1(a),this.ca(this.L));this.na=this.S=null;this.za=!1;this.La=null;this.$=!1;this.F=this.C=this.Ja=this.N=null} v(L2,X);f=L2.prototype;f.ea=function(){var a=L(this.A),b=ug(a),c=this.A.Oa(),d;d=null==G(a,53)?!1:G(a,53);a={NC:!1,OC:!1,layout:b,MC:c,Tw:d,rr:Og(a)};this.D=P(qV,a,void 0,this.B);M2(this)};f.Fa=funct ion(a){L2.O.Fa.call(this,a);Rp(a,"drive-viewer-static");M2(this)}; function M2(a){var b=a.D,c=a.A,d=L(c),e=new XX(a);qy(c,Ly,e);e=new aV(c,a);qy(c,Gy,e);c.Oa()?(e=new aY(c,b),qy(c,yy,e)):(e=new hV(c,b),qy(c,yy,e));if(null==G(d,40)||G(d,40))e=new FZ(c,b),x(a,e);wf(d, Vf,62)&&(a.F=new yZ(c,b),qy(c,Hy,a.F));a.Wb(Kx(c));b=a.D;a.ha.ga(b);a.fa&&a.fa.ga(b);a.L&&a.L.ga(b);a.W&&a.W.ga(b);a.S||(a.S=Dj(a.B,"span"),a.S.className="drive-viewer-tab-sentinel",T(a.S,!1),a.B.Ya( a.S,!0));0==ug(L(a.A))&&ok(b,"dialog");a.B.Ya(b,!0)} f.Y=function(){L2.O.Y.call(this);var a=this.B,b=this.D;this.La=Xi(a.A).y;rs(this.X,U(this,"drive-viewer-carousel"));rs(this.H,U(this,"drive-viewer-next-button"));rs(this.I,U(this,"drive-viewer-prev-b utton"));gt(this.H,0);gt(this.I,3);var c=this.H.J(),d=this.I.J(),e=iz(this.A);e.ke(c,vs(this)?"left":"right");e.ke(d,vs(this)?"right":"left");this.W&&e.ke(this.W.J(),"left");if(A&&!Oc(10)||cf&&!Nc(53 6.25))S(c,"drive-viewer-png-glow"),S(d,"drive-viewer-png-glow");$u([c,d],a);a.Wk(this.S,b);if(c=U(this, "drive-viewer-toolchest"))this.aa=new r1(this.A),this.ca(this.aa),rs(this.aa,c);Bk(this.B,!1);c=this.A;e=ug(L(c));d=this.$F;if(e=0!=e)e=Y(c).B.A[0]instanceof sO;e&&(d=this.aG);V(this).listen(this.J() ,["keydown","keyup","keypress"],d);var c=qu(c),d=vs(this)?this.Tf:this.Sf,e=vs(this)?this.Sf:this.Tf,g=t(this.Xo,this,e);YX(c,37,g,this);g=t(this.Xo,this,d);YX(c,39,g,this);YX(c,72,e,this);YX(c,76,d, this);YX(c,27,this.Wz,this);Eg(L(this.A))&&YX(c,68,this.Tv,this);YX(c,79,this.Zv,this);d=Dc?hr.xd:hr.wd; YX(c,[83,d],this.Iz,this);YX(c,[191,hr.be],this.zp,this);YX(c,[191,d],this.zp,this);c=hv(hu(this.A))+"px";d=U(this,"drive-viewer-next-button");e=U(this,"drive-viewer-prev-button");Kq(this.J())?(d.sty le.left=c,e.style.right=c):(d.style.right=c,e.style.left=c);this.na=new bB(this.S);x(this,this.na);V(this).listen(this.na,"focusin",this.Uv).listen(this.H,"action",this.Sf).listen(this.I,"action",thi s.Tf);c=L(this.A);0==ug(c)&&(V(this).listen(b,"mouseup",this.Yv),V(this).listen(a.A,"focus",this.yz));V(this).listen(b, "keydown",this.Qv).listen(a.A,"mousedown",this.Rv,!0);V(this).listen(b,"click",this.Sv);V(this).listen(Fj(a),"message",this.Xv);V(this).listen(this,"C",this.mA);if(b=a=wf(c,dg,47))b=null==G(a,1)?!1:G (a,1);b&&(this.Ha=new Hp(this.X.J()),V(this).listen(this.Ha,"swipe_right",t(this.Ap,this,vs(this)?this.Sf:this.Tf)).listen(this.Ha,"swipe_left",t(this.Ap,this,vs(this)?this.Tf:this.Sf)));a=Y(this.A); V(this).listen(a,"aa",this.Fn).listen(a,"$",this.Vv).listen(a,"ba",this.Wv).listen(a,"da",this.$v);0<HA(a)&& this.Fn()};f.Ap=function(a,b){var c=Z(Y(this.A)).B;(null==c||0>=RJ(c))&&a.call(this,b)};f.Xv=function(a){var b=L(this.A),c=xg(b),b=Ig(b);a=a.A;if((a.origin==Fj(this.B).location.origin||!Aa(Ca(c))&&a. origin==c||!Aa(Ca(b))&&a.origin==b)&&null!=a.data){var d;try{d=hf(a.data)}catch(e){return}if(!N2(d))if(O2(d,["keyName"])&&(c=mr(d.keyName))&&0<c.length)c=c[0],d={type:"keydown",ctrlKey:c.ld&hr.wd,alt Key:c.ld&hr.gm,shiftKey:c.ld&hr.be,metaKey:c.ld&hr.xd,keyCode:c.keyCode};else return;P2(this,d)}}; f.mA=function(a){a=a.D;N2(a)&&P2(this,a)};function P2(a,b){var c=new y(b.type);yb(c,b);a.U(c)}function N2(a){return O2(a,"type ctrlKey altKey shiftKey metaKey keyCode".split(" "))}function O2(a,b){if(ob(a).length!=b.length)return!1;for(var c=0;c<b.length;c++)if(!pb(a,b[c]))return!1;return!0}f.Fn=function(){var a=1<HA(Y(this.A));T(this.H.J(),a);T(this.I.J(),a);ou(Y(this.A))&&a&&Q2(this )};f.Vv=function(){Q2(this);R2(this)};f.Wv=function(){Q2(this);R2(this)};f.$v=function(){R2(this)}; function R2(a){var b=Y(a.A),c=IA(b),b=Wb(b.D,Z(b));a=a.J();Tp(a,"drive-viewer-selection-mode",c);Tp(a,"drive-viewer-active-selected",b)}function Q2(a){var b=Y(a.A),c=b.A,d=a.H,b=c<HA(b)-1;d.setEnable d(b);d.ta(b?"Next":"");a=a.I;c=0<c;a.setEnabled(c);a.ta(c?"Previous":"")}f.aG=function(a){this.U(a)};f.$F=function(a){this.U(a);a.B()};f.da=function(){return this.oa?this.X.da():!1}; f.setVisible=function(a){var b=this.A;if(this.da()!=a){var c=iz(b);if(a){E(this.N);this.N=D(function(){this.N=null},250,this);c.Xa(!0);var d=L(b);b.Oa()||c.wc(8E3);2!=ug(d)&&LC(au(b));this.F&&zZ(this .F)}else c.vn(),this.F&&BZ(this.F);Tp(this.J(),"drive-viewer-shown",a);this.X.setVisible(a);Bk(this.B,a);T(this.S,a)}}; f.Zv=function(a){var b=this.A,c=Z(Y(b)),d=b.get(Qy).Zk(c);Nk(d,function(d){var g=Y(b);ou(g)&&c.getId()==Z(g).getId()&&d&&(d=pr(a),nv(ov(this.A),{ka:9,qa:d}),this.U(new Mp(void 0,d)))},this)};f.Iz=fun ction(a){var b=pu(this.A).C;if(b&&b.isEnabled()&&b.da()){var c=Z(Y(this.A)),c=new zA(Ef(c.A),null);dk(b,c,new bu(1));a.preventDefault()}};f.Tv=function(a){var b=Kx(this.A);YB(b,!b.A,a)}; f.zp=function(){this.C||(this.C=new xZ(this.A),x(this,this.C),this.C.ga(this.J()),S(this.C.J(),"drive-viewer-shortcuts-help"),V(this).listen(this.C,"hide",this.dC));var a=this.C.da();a||nv(ov(this.A) ,{ka:83});this.C.setVisible(!a)};f.dC=function(){nv(ov(this.A),{ka:84});LC(au(this.A))};f.Wz=function(a){var b=hz(this.A);b&&0!=b.A?(E(this.L.C),this.U("A")):null!=this.F&&this.F.H?BZ(this.F):(this.$ =!S2(this),b=Kx(this.A).A,this.$&&b?(b=Kx(this.A),YB(b,!b.A,a)):EE(this,a))};f.Uv=function(){this.za||LC(au(this.A))}; function EE(a,b){var c=al(a.A,Dy);c&&c.Dc()||"B"==b.type&&a.N||!a.$||0!=ug(L(a.A))||(nv(ov(a.A),{ka:3,qa:pr(b)}),a.U("t"))}f.Sf=function(a){a.H&&iz(this.A).Cl(this.H.J());a=pr(a);nv(ov(this.A),{ka:6, qa:a});this.U(new Jp("u",a))};f.Tf=function(a){a.H&&iz(this.A).Cl(this.I.J());a=pr(a);nv(ov(this.A),{ka:7,qa:a});this.U(new Jp("x",a))};f.Xo=function(a,b){a.call(this,b);b.preventDefault()}; f.Qv=function(a){var b=this.J(),c=U(this,"drive-viewer-default");9==a.keyCode&&a.shiftKey&&a.target==c?T2(this):9==a.keyCode&&Up(b,"drive-viewer-focus-outlines-disabled","drive-viewer-focus-outlines- enabled")};f.Rv=function(a){this.da()&&(Up(this.J(),"drive-viewer-focus-outlines-enabled","drive-viewer-focus-outlines-disabled"),$c(a)&&(this.$=!S2(this),this.Ja=a.target))}; f.Yv=function(a){var b=a.target,c=Pp(b,"drive-viewer-close-enabled");this.Ja==b&&c&&!this.A.Oa()&&(this.U(new y("B",a.target)),this.$=!1)};f.Sv=function(a){a=a.target;Pp(a,"drive-viewer-focus-to-defa ult")&&LC(au(this.A));var b=0==ug(L(this.A));!Pp(a,"drive-viewer-close-enabled")||!this.A.Oa()&&b||LC(au(this.A))};f.yz=function(){this.da()&&LC(au(this.A))};function S2(a){var b=al(a.A,Ey);if(b&&b.D c())return!0;var b=al(a.A,Ry),b=!!b&&b.D,c=!!a.C&&a.C.da();a=Kx(a.A);return PE(a)||QE(a)||RE(a)||c||b} function T2(a){a.za=!0;try{a.S.focus()}catch(b){}D(function(){this.za=!1},0,a)}f.va=function(){L2.O.va.call(this);E(this.N);this.N=null;this.B.Sa(this.S)};function U2(a,b){yv.call(this,a,b)}v(U2,yv); U2.prototype.oe=function(){Bo(this.item,4,"No preview available","No preview available.",null)};function V2(a,b){ju.call(this,a,b)}v(V2,ju);function W2(a){gp.call(this,"u",a)}v(W2,gp);f=W2.prototype; f.nb=function(a){return hh(a)+bh(a)};f.Cb=function(a){return!!bh(a)&&!!hh(a)};f.Eb=function(){return[]};f.xb=function(){return so};f.rc=function(){return V2};f.$b=function(){return U2};f.vg=function( ){return!0};var X2=/^(\d+h)?(\d+m)?(\d+s)?$/i,Y2={small:240,medium:360,large:480,hd720:720,hd1080:1080,highres:8192},Z2=["default","medium","high","standard","maxres"],$2={"default":"small",medium:"s mall",high:"medium",standard:"large",maxres:"hd720"};function a3(a,b){var c=Y2[a],d=Y2[b];return c<d?-1:c==d?0:1}function b3(a){for(var b=Z2.length-1;0<=b;b--){var c=Z2[b];if(Wb(a,c))return c}return null};function c3(a,b){so.call(this,a,b);this.uri=new hm(eh(a),!0);this.D=null;if(wf(this.A,Yg,20)){for(var c={},d=xf(wf(this.A,Yg,20),$g,1),e=0;e<d.length;e++){var g=d[e],h=c,k;k=g;k=null= =G(k,1)?"":G(k,1);h[k]=g.ja()}qb(c)||this.Ve(c)}this.C=this.fk();this.R=this.Wa=this.Jh()||d3;this.H=!1;this.ha=null}v(c3,so);var d3=new K(640,360),e3=16/9,f3={lH:"Pb",fs:"Qb",gs:"Rb",zH:"Sb",ks:"Tb" ,ZH:"Ub"};f=c3.prototype;f.fk=function(){return[]};f.Jh=function(){return null};f.re=function(){return 2};f.tg=function(){return!1}; f.Ve=function(a){this.D=vb(a);this.C=this.fk();this.R=this.Jh()||this.R;this.U("Ub")};f.bk=function(){this.D=null};f.Ga=function(){var a=this.D?this.D.reason||null:null;Aa(Ca(a))?Bo(this,uo.ERROR,"Th ere was a problem playing this video."):Bo(this,uo.ERROR,a,a,null)};function g3(a){a=ym(a.uri,"autoplay");return"1"==a||"true"==a}f.th=function(){this.H=!1;c3.O.th.call(this)};function h3(a,b){this.S=0;this.L=Infinity;c3.call(this,a,b)}v(h3,c3);var i3=/(\d+)x(\d+)/;f=h3.prototype;f.re=function(){return 1};f.tg=function(){return"ok"==(this.D?this.D.status||null:null)};f.Mc=function (a,b){return mo(ch(this.A),a,b,!0,void 0,!0)};f.qe=function(){return gh(this.A)}; f.Ve=function(a){this.S=u();var b;if(a&&a.timestamp&&a.fmt_stream_map){b=cb(a.timestamp);var c=Se(a.fmt_stream_map.split(",")[0].split("|")[1],"expire")||"",c=1E3*cb(c);b=isNaN(b)||isNaN(c)?Infinity: c-b}else b=Infinity;this.L=b;h3.O.Ve.call(this,a)};f.Jh=function(){if(null==this.C||0==this.C.length)return null;var a=this.C[0].height;return(new K(e3*a,a)).floor()}; f.fk=function(){if(null===this.D||Aa(Ca(this.D.fmt_list)))return[];for(var a=[],b=this.D.fmt_list.split(","),c=0;c<b.length;c++){var d=i3.exec(b[c]);if(d&&!Aa(Ca(d[0]))){var e=Number(d[1]),d=Number(d [2]);isNaN(e)||a.push(new K(e,d))}}jc(a,function(a,b){return a.height>b.height?-1:a.height<b.height?1:0});return a};f.Vp=function(){return this.tg()?u()-this.S+3E5>this.L:!1};f.bk=function(){h3.O.bk. call(this);this.L=Infinity;this.S=0};function j3(a,b){yv.call(this,a,b);this.B=this.D=!1;this.Ka.listen(this.item,f3.ks,this.xp).listen(this.item,f3.gs,this.Ow).listen(this.item,f3.fs,this.Nw)}v(j3,y v);f=j3.prototype;f.oe=function(){this.B=this.D=!1;if(!g3(this.item)||2!=ug(L(this.A))){var a=this.item.Wa.clone(),a=this.item.Mc(a.width,a.height);this.item.ha?Bo(this.item,1):Aa(Ca(a))?this.np():(a =Ik(sa(FK,a,W(this.A)),void 0,void 0,void 0,2),Nk(a,this.DB,this),Ok(a,this.np,this),zv(this,a))}a=this.item;a.H=!0;a.U("Pb")}; f.DB=function(a){var b=this.item;a=a.getData();b.ha=a;b.U("Sb");this.item.getState()==uo.LOADING&&Bo(this.item,uo.LOADED)};f.np=function(){this.D||(this.D=!0,this.B&&this.item.Ga())};f.Ow=function(){ this.item.getState()==uo.LOADING&&Bo(this.item,uo.LOADED)};f.Nw=function(){this.B||(this.B=!0,this.D&&this.item.Ga())};f.xp=function(){this.item.Ve({})};function k3(a,b){j3.call(this,a,b);this.item=a }v(k3,j3); k3.prototype.xp=function(){var a=HK,b;a:switch(b=wf(L(this.A),mg,48)||new mg,null==G(b,2)?1:G(b,2)){case 1:var c=W(this.A);b=L(this.A);c=Ag(b)||He(Fj(c).location.href);c=eo("/get_video_info",c,vg(b)) ;b=c=Ne(c,"docid",this.item.qe(),"authuser",qg(b)||0);break a;case 2:c=W(this.A);b=L(this.A);var c=Ag(b)||He(Fj(c).location.href),d=Xa("/file/d/",this.item.qe(),"/get_video_info");b=eo(d,c,vg(b));b=N e(b,"rt","r");break a;default:b=""}a=Ik(sa(a,b),t(this.C,this),t(this.C,this));Nk(a,this.H,this);Ok(a,this.F, this)};k3.prototype.H=function(a){var b={};a=za(AK(a));a=new pm(a);for(var c=a.ob(),d=0;d<c.length;d++){var e=c[d];b[e]=a.get(e)}this.item.Ve(b)};k3.prototype.C=function(a,b){(!n(b)||500>b)&&a.cancel ()};k3.prototype.F=function(){this.item.Ve({})};function l3(){return R('<div class="drive-viewer-video drive-viewer-itemview"><div class="drive-viewer-video-background"></div></div>')}function m3(){return R('<div class="drive-viewer-video-preview"><div class="drive-viewer-video-play-button"><div class="drive-viewer-video-play-icon"></div></div></div>')}function n3(a){var b=a.id;return R('<div class="drive-viewer-video-player" tabindex="0" title="'+Kn(a.title)+'"><div id="'+Kn(b)+'"></div></div>')};function o3(a,b,c){X.call(this,c);this.item=b;this.ready=this.N=!1;th is.X=null;this.H=a;this.C={};this.na=new K(0,0);this.S=rx(c);this.I=null}v(o3,X);function p3(a){switch(ug(L(a.A))){case 0:return"preview";case 1:return"leaf";case 2:return"embed";default:return""}}f= o3.prototype;f.ea=function(){this.D=P(n3,{id:this.H,title:"Video player"},void 0,this.B)}; f.Y=function(){o3.O.Y.call(this);if(this.item.D)this.Dp();else{ml(V(this),this.item,"Ub",this.Dp);var a=this.item;a.D||a.U("Tb")}a=Kx(this.A);V(this).listen(a,"s",this.Rw)};f.Dp=function(){this.item. tg()?this.jr():qb(this.item.D)?this.yf(14):this.yf(15)}; function q3(a){var b=L(a.A),c=a.item.qe(),d=Ag(b)||He(Fj(a.B).location.href),d=eo("/vt",d,vg(b)),d=Ne(d,"id",c,"authuser",qg(b)||"0"),b=d.substring(0,d.lastIndexOf("/vt")+1);hb({ps:"docs",partnerid:" 30",BASE_URL:b,BASE_YT_URL:b,docid:c,iurl:d},function(a,b){this.C[b]||(this.C[b]=a)},a)}f.Re=q;function r3(a){return a.B.J(a.H)}f.play=function(){this.ready&&this.xl()};function s3(a){return a.ready&&1==t3(a)}function u3(a){a.ready&&a.Ei()}f.stop=function(){this.ready&&this.Xl()}; f.sl=function(){this.oa&&(this.N=!0,this.B.setProperties(r3(this),{title:"Video player"}),this.U("Vb"))};f.We=function(){this.oa&&(this.ready=!0,v3(this),this.U("Wb"))};f.yf=function(a){this.X=a;w3(t his,2,a);this.U("Xb")};f.getError=function(){return this.X};f.Ci=function(){switch(t3(this)){case 1:case 3:v3(this);break;case 2:case 0:w3(this,1)}this.U("Yb")};function v3(a){a.I||(a.I=Wv(a.S,"vp_", {ka:75,item:a.item}))}function w3(a,b,c){a.I&&(Yv(a.S.A[a.I]).Ga(c),$v(a.S,a.I,b),a.I=null)} function t3(a){return a.ready?a.kk():-1}f.Z=function(){this.item.tg()||this.item.bk();o3.O.Z.call(this)};f.Rw=function(){u3(this)};function x3(a,b,c,d){o3.call(this,a,b,c);this.fa=!1;this.aa=d;this.L ={onReady:t(this.We,this),onError:t(this.lE,this),onKeyPress:t(this.rl,this),onStateChange:t(this.Ci,this),onTabOrderChange:t(this.$D,this)}}v(x3,o3);var y3=["fmt_list","fmt_stream_map","url_encoded_ fmt_stream_map","ttsurl"],z3=[37,39,72,76,27],A3={0:5,2:9,5:10,100:11,101:12,150:13};function B3(a,b){for(var c=vb(b),d=0;d<y3.length;d++){var e=y3[d];c[e]&&(a.fa=!0,delete c[e])}return c}f=x3.prototype; f.Re=function(){this.C.cc3_module=1;n(this.aa)&&(this.aa?this.C.html5=1:this.C.nohtml5=1);this.C.wmode="window";var a,b=this.item;a=ym(b.uri,"t");b=b.uri.R;a=a||(new pm(b)).get("t");a=(b=X2.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.C.start=a);this.C.override_hl=1;this.C.hl=this.C.hl||"en";1==this.item.re()&&(this.C.en ablecastapi=0)}; f.jr=function(){var a=L(this.A);this.item.D&&yb(this.C,this.item.D);1==this.item.re()&&q3(this);this.C.el=p3(this);this.C.cc_load_policy=1;n(this.C.authuser)||(this.C.authuser=qg(a)||"0");this.Re();t his.ready=!1;this.ln(B3(this,this.C))};f.We=function(){this.ready||(this.fa&&(1!=ug(L(this.A))||ZO()||$O()?this.Kn(this.C):(this.Ln(this.C),this.Ei())),x3.O.We.call(this))};f.$D=function(){this.U("Zb ")}; f.rl=function(a){var b=a.data;if(!(null==b||null==b.keyCode||b.fullscreen||b.SI&&0>z3.indexOf(b.keyCode))){a=a.data;var c=this.A;if(0==ug(L(c))){var b=HA(Y(c)),c=Y(c).A,d=a.keyCode;if(!(a.ctrlKey||a. altKey||a.shiftKey||a.metaKey)){var e=!vs(this),g=37==d||72==d,d=39==d||76==d;((e?g:d)&&0<c||(e?d:g)&&c<b-1)&&this.ready&&this.Jl(this.ready?this.gk():0)}}this.U(new Np({type:"keydown",ctrlKey:a.ctrl Key||!1,altKey:a.altKey||!1,shiftKey:a.shiftKey||!1,metaKey:a.metaKey||!1,keyCode:a.keyCode}))}}; f.lE=function(a){a=A3[this.Vn(a)];(5==a||10==a)&&this.item.Vp()&&(a=8);this.yf(a)};function C3(a,b,c,d){x3.call(this,a,b,c,d);this.F=null}v(C3,x3);f=C3.prototype;f.Re=function(){C3.O.Re.call(this);th is.C.enablejsapi=1};f.ln=function(a){this.A.get(dz).D().then(t(this.nD,this,a),t(this.yf,this,6))};f.nD=function(a){var b=this.A;a={host:ng(wf(L(b),mg,48)||new mg),width:"100%",height:"100%",playerVa rs:a,events:this.L};0==this.item.re()&&(a.videoId=this.item.qe());this.F=new (b.get(dz).B())(this.H,a);this.sl()};f.Vn=function(a){return ja(a.data)?a.data:0};f.Kn=function(a){this.F.cueVideoByPlayer Vars(a)}; f.Ln=function(a){this.F.loadVideoByPlayerVars(a)};f.xl=function(){this.F.playVideo()};f.Ei=function(){this.F.pauseVideo()};f.Xl=function(){this.F.stopVideo()};f.kk=function(){return this.F.getPlayerState()};f.gk=function(){return this.F.getCurrentTime()};f.Jl=function(a){this.F.seekTo(a,!0)};f.pk=function(){return this.F.getVolume()};f.Pl=function(a){this.F.setVolume(a)};f.Nl=f unction(a){this.F.setPlaybackQuality(a)};f.Lk=function(a,b){this.F.handleGlobalKeyDown(a,b)};function D3(a,b,c,d){x3.call(this,a,b,c,d);this.F=ng(wf(L(c),mg,48)||new mg);this.ha=-1;this.za=this.$=0;t his.W=null;yb(this.L,{onVideoProgress:t(this.iE,this),onVolumeChange:t(this.kE,this)});V(this).listen(Fj(this.B),"message",this.Sw)}v(D3,x3);f=D3.prototype;f.Re=function(){D3.O.Re.call(this);this.C.e nablepostapi=1;this.C.postid=this.H;this.C.origin=go(Fj(this.B))}; f.ln=function(a){var b=We(this.F,"embed/");0==this.item.re()&&(b=We(b,this.item.qe()));a=b=Je(Me([b],a));a=W(this.A).ma("IFRAME",{id:this.H,src:a,frameborder:0,width:"100%",height:"100%",onload:t(thi s.DC,this)});a.setAttribute("allowfullscreen","true");a.setAttribute("mozallowfullscreen","true");a.setAttribute("webkitallowfullscreen","true");var b=W(this.A).J(this.H),c=b.parentNode;c&&c.replaceC hild(a,b)};f.DC=function(){this.N||(this.W=D(function(){this.N||this.yf(7)},5E3,this))}; function E3(a,b,c){var d=r3(a);if(d&&d.contentWindow&&d.contentWindow.postMessage){var e={};e.command=b;null!=c&&(e.data=c);d.contentWindow.postMessage(kf(e),a.F)}else a.yf(7)}f.Sw=function(a){a=a.A; if(Cm(a.origin,this.F)){var b;try{b=hf(a.data)}catch(c){return}(a=b.id)&&a==this.H&&(a=b.command,"RECEIVING"==a?(this.sl(),F3(this)):(a=this.L[a],n(a)&&a.call(this,b)))}};function F3(a){hb(a.L,functi on(a,c){E3(this,"addEventListener",{event:c})},a)}f.Vn=function(a){a=a.data.errorCode;return ja(a)?a:0}; f.Ci=function(a){var b=a.data.playerState;n(b)&&(this.ha=b);D3.O.Ci.call(this,a)};f.rl=function(a){var b=a.data;n(b.value)&&(yb(a.data,b.value),delete a.data.value);D3.O.rl.call(this,a)};f.iE=functio n(a){a=a.data.value;n(a)&&(this.$=Number(a)||0)};f.kE=function(a){a=a.data.value.volume;n(a)&&(this.za=Number(a)||0)};f.Kn=function(a){E3(this,"cueVideoByPlayerVars",a)};f.Ln=function(a){E3(this,"loa dVideoByPlayerVars",a)};f.xl=function(){E3(this,"playVideo")};f.Ei=function(){E3(this,"pauseVideo")}; f.Xl=function(){E3(this,"stopVideo")};f.kk=function(){return this.ha};f.gk=function(){return this.$};f.Jl=function(a){E3(this,"seekTo",{seconds:a,allowSeekAhead:!0})};f.pk=function(){return this.za};f.Pl=function(a){E3(this,"setVolume",{volume:a})};f.Nl=function(a){E3(this,"setPlaybackQuality",{suggestedQuality:a})};f.Lk=function(a,b){E3(this,"handleGlobalKeyDown",{keyCode:a,shiftKey:b })};f.Z=function(){E(this.W);this.W=null;D3.O.Z.call(this)};function G3(a,b,c){o3.call(this,a,b,c);this.F=-1;this.L=0}v(G3,o3);f=G3.prototype;f.jr=function(){D(t(this.sl,this),400);D(t(this.We,this), 600)};f.We=function(){this.F=5;G3.O.We.call(this)};f.xl=function(){-1==this.F&&H3(this,3);H3(this,1)};f.Ei=function(){1==this.F&&(this.F=2)};f.Xl=function(){this.F=5};f.kk=function(){return this.F};f.gk=function(){return this.L};f.Jl=function(a){return this.L=a};function H3(a,b){a.F!=b&&(a.F=b,a.Ci(new y("stateChange",a)))}f.Nl=q;f.Lk=q;function I3(){B.call(this);this.A=0}v(I3,B);da(I3 );function J3(a,b,c){var d;d=L(c);d=null==G(d,14)?5:G(d,14);a="drive-viewer-video-player-object-"+a.A++;switch(d){case 2:return K3(a,b,c);case 6:return K3(a,b,c,!1);case 5:return K3(a,b,c,!0);case 4:return new G3(a,b,c);default:return null}}function K3(a,b,c,d){var e=wf(L(c),mg,48)||new mg;switch(null==G(e,3)?1:G(e,3)){case 1:return new C3(a,b,c,d);case 2:return new D3(a,b,c,d);default:return null}};function L3(a,b){ju.call(this,a,b);this.F=a;this.aa=this.N=!1;this.C=this.H=this.W=this.S=this.$=null;this.ha=I3.la();this.L=null}v(L3,ju);f=L3.prototype;f.ea=function(){this.D=P(l3,void 0,void 0,this.B)}; f.Y=function(){L3.O.Y.call(this);var a=this.B;this.H=P(m3,void 0,void 0,a);a.Ca(this.J(),this.H);var b=Bj(a,"drive-viewer-video-play-button",this.H);this.L=new ft(a);this.ca(this.L);var c=0==this.F.re();rs(this.L,b);this.L.ta("Play",Xt(to(this.F),c));this.L.setVisible(!1);$u(b,a);this.F.ha?this.op():ml(V(this),this.F,"Sb",this.op);this.F.H?this.kp():V(this).listen(this.F,"Pb",this. kp)}; f.Ba=function(){L3.O.Ba.call(this);this.layout();uu(this);var a=qu(this.A);ru(a,13,this.Mn,this);ru(a,32,this.Mn,this);ru(a,187,this.On,this);ru(a,107,this.On,this);ru(a,189,this.Nn,this);ru(a,109,th is.Nn,this);V(this).listen(this.B.A,"keydown",this.ep,!0);M3(this)?N3(this,!0,16):!this.F.ha&&this.H&&O3(this)};f.ab=function(){L3.O.ab.call(this);vu(this);V(this).wa(this.B.A,"keydown",this.ep,!0);t his.C&&s3(this.C)&&u3(this.C)}; f.layout=function(){var a=du(this),b,c,d=2==ug(L(this.A));d?b=a:(b=this.H?this.F.Wa.clone():this.F.R.clone(),c=vq(this.J()),b=new K(b.width+c.left+c.right,b.height+c.top+c.bottom),Di(b,a)||(Fi(b,a),b .floor()));a=iu(this,b);mq(this.J(),a);d||(b=new K(b.width-c.left-c.right,b.height-c.top-c.bottom));Aq(this.J(),b);if(this.C&&(c=this.C,c.ready&&!Di(b,c.na))){c.na=b.clone();for(var d=c.item.C,a=null,e=0;e<d.length&&Di(b,d[e]);e++)a=d[e];b=a||b;d="small";if(null!==b)for(a=ob(Y2),e=0;e<a.length;e++){var g= a[e];Y2[g]<=b.height&&0>a3(d,g)&&(d=g)}c.ready&&c.Nl(d)}};f.zB=function(){P3(this)};f.op=function(){this.X=this.F.ha;S(this.X,"drive-viewer-video-preview-img");Ak(this.X,"Displaying thumbnail of video "+to(this.F));this.H&&(this.B.Ca(this.H,this.X),this.L.setVisible(!0),ml(ml(V(this),this.X,"click",this.EB),this.L,"action",this.uB))};f.Qw=function(){this.$=D(function(){Q3(this) ;this.F.U("Rb");this.N&&O3(this)},5E3,this)}; f.xB=function(){Q3(this);this.F.U("Rb");this.N&&(!this.I||ZO()||$O()?O3(this):this.C.play())};f.Pw=function(){Q3(this);this.N&&O3(this);this.C.ready||this.F.U("Qb")};f.yB=function(){var a=t3(this.C);-1<a&&this.N&&O3(this);1==a&&(this.I?this.fj||(R3(this),S3(this,1)):u3(this.C))};f.kp=function(){this.S=D(this.hn,250,this)};f.EB=function(a){a.target!=this.L.J()&&null==this.W&&N3(this ,!1,10)};f.uB=function(){null==this.W&&N3(this,!1,2)}; f.Mn=function(){var a=this.A,b=Gj(W(a));!this.J().contains(b)&&!$t(au(a))||this.L&&b==this.L.J()||this.C&&b==r3(this.C)||(this.H?N3(this,!1,1):this.C&&this.C.ready&&(s3(this.C)?u3(this.C):this.C.play ()))};f.On=function(){if(T3(this)){var a=this.C;a.ready&&a.Pl(Math.min(100,(a.ready?a.pk():0)+10))}};f.Nn=function(){if(T3(this)){var a=this.C;a.ready&&a.Pl(Math.max(0,(a.ready?a.pk():0)-10))}};funct ion T3(a){return!a.H&&!!a.C&&a.C.ready} function M3(a){var b=ug(L(a.A)),c=0==b,c=Y(a.A).C&&c,b=2==b;return c||g3(a.F)&&b}function R3(a,b){var c=a.A,d=ov(c);nv(d,{ka:25,qa:b,item:a.F});var e="ctp"+a.F.getId();rx(c).A[e]||Tv(rx(c),e,{ka:78,q a:b,item:a.F,Se:M3(a)?d.A:u()});nu(a)}function S3(a,b){var c="ctp"+a.F.getId();if(rx(a.A).A[c]){var d=rx(a.A),e=d.A[c],g=a.C.getError();2==b&&null!=g&&Yv(e).Ga(g);$v(d,c,b)}}function Q3(a){a.aa=!0;2==a.F.F&&(a.C.getError()?Do(a.F,4,a.C.getError()):Do(a.F,1))} function N3(a,b,c){null!=a.S&&a.hn();R3(a,c);b||U3(a);a.N||(a.N=!0,a.C&&a.C.ready&&!ZO()&&!$O()&&a.C.play(),a.aa&&O3(a))}function U3(a){a.W=D(function(){this.W=null;var a=this.B;if(Bj(a,"drive-viewer -video-preview-img",this.H)){a.Fb(this.H);var c=P(ix,void 0,void 0,a);a.Ca(this.H,c)}},50,a)} f.hn=function(){E(this.S);this.S=null;Do(this.F,2);this.C=J3(this.ha,this.F,this.A);this.ca(this.C);ml(ml(ml(V(this),this.C,"Vb",this.Qw),this.C,"Wb",this.xB),this.C,"Xb",this.Pw).listen(this.C,"Yb", this.yB).listen(this.C,"Zb",this.zB);this.C.ga(this.J());this.C.J().style.visibility="hidden"};f.ep=function(a){if(T3(this)){var b=[a.keyCode];a.shiftKey&&b.push(1);qu(this.A).A.zy(b)||!$t(au(this.A) )&&Gj(this.B)!=this.C.J()||(b=this.C,b.ready&&b.Lk(a.keyCode,a.shiftKey))}}; function P3(a){var b=au(a.A);a.C?Pu(b,a.C.J()):LC(b)}function O3(a){a.N=!1;a.C.J().style.visibility="visible";if(a.H){var b=null!=a.C.getError();S3(a,b?2:1);b&&!a.C.ready?a.F.Ga():($t(au(a.A))&&P3(a) ,a.H&&(b=a.B,a.H.contains(Gj(b))&&P3(a),E(a.W),a.W=null,a.L.dispose(),a.L=null,b.Sa(a.H),a.H=null),vu(a),a.layout(),uu(a))}}f.va=function(){L3.O.va.call(this);E(this.$);E(this.S);this.S=this.$=null;4 ==this.F.getState()&&this.F.th();Do(this.F,0);S3(this,3)};function V3(a,b){gp.call(this,a,b)}v(V3,gp);V3.prototype.xb=function(){return c3};V3.prototype.rc=function(){return L3};V3.prototype.$b=funct ion(){return j3};function W3(a){gp.call(this,"v_d",a)}v(W3,V3);f=W3.prototype;f.xb=function(){return h3};f.$b=function(){return k3};f.Eb=function(){return["application/x-flash-video","application/vid eo","application/vnd.google-apps.video","video/"]};f.nb=function(a){return hh(a)+gh(a)};f.Cb=function(a){return!!bh(a)&&!!gh(a)};f.tc=function(){return[0]};f.sh=function(){return!yg(L(this.A))};funct ion X3(a){xO.call(this,a)}v(X3,xO);X3.prototype.H=function(){return"onYouTubeIframeAPIReady"};X3.prototype.F=function(){var a=wf(L(this.A),mg,48)||new mg;return We(ng(a),"iframe_api")};X3.prototype.B =function(){return ca("YT.Player",Fj(W(this.A)))};function Y3(a,b){c3.call(this,a,b)}v(Y3,c3);f=Y3.prototype;f.re=function(){return 0};f.tg=function(){return!0};f.Mc=function(){var a;this.D&&(a=b3(ob (this.D)),a=this.D[a]);return a||ch(this.A)||window.location.protocol+"//i.ytimg.com/vi/"+this.qe()+"/mqdefault.jpg"};f.qe=function(){return ym(this.uri,"v")}; f.Jh=function(){if(null===this.D)return null;var a=b3(ob(this.D)),b;a&&(b=$2[a]);switch(this.D.definition){case "hd":b="hd720";break;case "sd":b&&(b=0>a3(b,"large")?b:"large")}a=b||"unknown";"unknown "==a?a=null:(a=Y2[a],a=(new K(e3*a,a)).round());return a};f.Vp=function(){return!1};function Z3(a){gp.call(this,"v_y",a)}v(Z3,V3);f=Z3.prototype;f.xb=function(){return Y3};f.Eb=function(){return["vid eo/x-youtube"]};f.nb=function(a){return hh(a)+eh(a)};f.Cb=function(a){return bh(a)&&eh(a)?(a=eh(a),!!ym(new hm(a,!0),"v")):!1};f.tc=function(){return[4]};function $3(a){w.call(this);gz(a)}v($3,w);fun ction a4(a,b){B.call(this);this.A=new ez;x(this,this.A);this.I=null;this.N=!1;this.L=0;this.R=null;var c=a||new pg,d=b||Mi();qy(this.A,zy,c);qy(this.A,Cy,d);this.B=new EI;x(this,this.B);qy(this.A,Jy, new BO(this.A,this.B));var e=this.A,g=Number,h;h=null==G(c,27)?"20":G(c,27);e=new JO(e,g(h));qy(this.A,Zy,e);e=new DA(this.A);qy(this.A,By,e);if(0==ug(c)){e=wf(c,cg,60);if(g=!!e)g=null==G(e,2)?!1:G(e ,2);e=g;g=Og(c);!this.A.Oa()&&(2==g||3==g&&e)&&(e=new zE,qy(this.A,$y,e))}e=new LE(this.A);qy(this.A, bz,e);e=new fK(this.A);qy(this.A,cz,e);e=new HE(this.A);qy(this.A,My,e);this.F=new AF(this.A);qy(this.A,Iy,this.F);this.H=new Sv(this.A);qy(this.A,Ty,this.H);e=new EF(this.A);qy(this.A,Ky,e);e=new DF(this.A);qy(this.A,mu,e);e=new IF(this.A);qy(this.A,Yy,e);if(e=Eg(L(this.A)))g=new WE(this.A),qy(this.A,fp,g);this.ba=new QO(this.A);qy(this.A,Ny,this.ba);g=new w1(this.A);qy(this.A,Py,g);g=new GZ;qy(this.A,Wy,g);g=new zC(this.A);qy(this.A,Xy,g);this.W=new $3(this.A);x(this,this.W);g=wg(c);if(h=!!g)sy(this.A, bl,OO),sy(this.A,dp,PO),e&&Jg(c)&&(sy(this.A,Sy,AI),sy(this.A,Ry,BI)),Qf(g)&&Sf(g)&&sy(this.A,Ey,DI),qy(this.A,Uy,new KS);e=new FC(this.A);qy(this.A,Ay,e);this.C=new hk(e);x(this,this.C);if(e=h)e=nul l==G(g,1)?!1:G(g,1);e&&sy(this.A,xy,xE);if(h&&Qf(g)){h=Sf(g);var k=wf(g,Kf,16),g=k&&Lf(k),k=k&&Mf(k);(h||g||k)&&qy(this.A,Fy,new jz(this.A))}e=e?new TC(this.A):new RC(this.A);qy(this.A,Qy,e);e=new ZU(this.A);qy(this.A,az,e);e=new xk(d);qy(this.A,wy,e);qy(this.A,dz,new X3(this.A));e=L(this.A);wg(e)&&Qf(wg(e))&& (FI(this.B,new Mv(this.A)),FI(this.B,new Nv(this.A)));if(null==G(e,10)?0:G(e,10))FI(this.B,new Qx(this.A)),FI(this.B,new Px(this.A));if(g=wf(e,bg,68))g=wf(e,bg,68),g=null==G(g,1)?!1:G(g,1);g&&(FI(thi s.B,new wO(this.A)),qy(this.A,Oy,new yO(this.A)));FI(this.B,new rO(this.A));FI(this.B,new qO(this.A));FI(this.B,new JS(this.A));Dg(e)&&FI(this.B,new YS(this.A));FI(this.B,new GS(this.A));zg(e)&&FI(th is.B,new bT(this.A));FI(this.B,new YU(this.A));FI(this.B,new LU(this.A));FI(this.B,new W2(this.A));if(null== G(e,13)||G(e,13))FI(this.B,new W3(this.A)),FI(this.B,new Z3(this.A));if(e=wg(c))e=null==G(c,22)?!1:G(c,22);e&&(nv(this.F,{ka:1}),this.A.get(Yy).start(),this.A.get(mu).setEnabled(!!Uf(wg(c))));this.D= new L2(this.A);x(this,this.D);this.S=new DE(this.A,this.D);x(this,this.S);c=new yE(this.A);x(this,c);c=new TE(this.A);x(this,c);this.V=new M(this);x(this,this.V);c=Y(this.A);e=Kx(this.A);d=Fj(d);this .V.listen(c,"$",this.vt).listen(c,"da",this.xt).listen(c,wo.wj,this.yt).listen(e,"s",this.wt).listen(this.D, "t",this.st).listen(d,"beforeunload",this.Uy,!0);(d=hz(this.A))&&this.V.listen(d,"pa",this.tt)}v(a4,B);f=a4.prototype;f.da=function(){return this.D.da()};f.close=function(){nv(this.F,{ka:3,qa:16});b4 (this)};function c4(a){return a.D.da()?Ef(Z(Y(a.A)).A):null}function d4(a,b){b.getState()==uo.LOADED?a.U(new ik(b.A,1)):b.getState()==uo.ERROR&&a.U(new ik(b.A,2))}f.vt=function(){var a=Y(this.A),b=Z(a);this.U(new e4(b.A));d4(this,b);2>=HA(a)-a.A&&this.U(new f4)}; f.xt=function(){var a=Y(this.A);Pb(a.getSelected(),function(a){return a.A});this.U(new lk)};f.yt=function(a){var b=Y(this.A);ou(b)&&(b=Z(b),b==a.target&&d4(this,b))};f.tt=function(){0!=hz(this.A).A&& this.U(new f4)};f.wt=function(){var a=Z(Y(this.A));2==Bg(L(this.A))?this.U(new jk(a.A)):Iz(nh(a.A),{target:"_blank"});LC(au(this.A))};f.st=function(){b4(this)};f.Uy=function(){this.N=!0;this.da()&&(n v(this.F,{ka:3,qa:15}),this.A.get(Yy).flush())}; function g4(a,b){a.D.setVisible(b);var c=a.D,d=c.B.A,e=b?d.body:d.documentElement;Tp(d.body,"drive-viewer-fixed-frame",b);e.scrollTop=c.La}function b4(a){g4(a,!1);a.A.get(Yy).flush();E(a.R);a.R=D(a.q n,100,a)}f.qn=function(){var a=Y(this.A);IA(a)&&(Xb(a.D),a.U("da"));a.A=null;a.C=!1;LO(a.B);a.U("ca");null!=this.I&&(Pu(au(this.A),this.I),this.I=null);DC(this.A.get(Xy));this.U("bc");this.F.A=null}; f.gE=function(a,b){b.id==gh(a.A)&&b.lastViewedByMeDate&&a.Da&&a.Da.ra()&&So(a.Da.ra(),new Date(b.lastViewedByMeDate))}; f.Z=function(){E(this.R);this.da()&&(this.N||nv(this.F,{ka:3,qa:15}),g4(this,!1),T(this.D.J(),!1),this.qn());this.A.get(Yy).flush();a4.O.Z.call(this)};function f4(){y.call(this,"$b")}v(f4,y);function e4(a){y.call(this,"ac");this.item=a}v(e4,y);function h4(){this.D=i4("share-email-attachment","Email as attachment...");this.C=i4("share-email-collaborators","Email collaborators...");this.A=i4("shar e-share","Share...");this.B=i4("share-current-user-request-access","Request edit access...")}var j4=null;function i4(a,b){var c={};c.label=b;c.visible=!0;c.hint=b;return new Xj(a,c)};function k4(a){return null!=a&&(!ha(a)||!Aa(Ca(a)))&&(!fa(a)||0!=a.length)&&(!ma(a)||!qb(a))};function l4(a,b,c,d,e,g){this.D=a;this.B=String(b);this.V=c||"user";this.I=!!d;this.F=Aa(Ca(e))?null:m4(e);this.R =!!g}var n4=new wl,m4=Id;l4.prototype.getId=function(){return this.B};l4.prototype.clone=function(a){var b=this.A();a&&yb(b,a);a=b.scopeType;return yl(n4.B,a)?n4.get(a).call(void 0,b):new l4(b.name,b.id,b.scopeType,b.me,b.iconUrl,b.requiresKey)}; l4.prototype.A=function(){var a={};a.iconUrl=this.F;a.scopeType=this.V;a.name=this.D;a.id=this.B;a.me=this.I;a.requiresKey=this.R;return ib(a,k4)};function o4(a,b,c,d,e,g,h){l4.call(this,a,b,"user",d ,e,h);this.C=c||null;this.H=g||null}v(o4,l4);o4.prototype.A=function(){var a=o4.O.A.call(this);a.email=this.C;a.invitedEmail=this.H;return ib(a,k4)};function p4(a){return new o4(a.name,a.id,a.email,a .me,a.iconUrl,a.invitedEmail,a.requiresKey)}n4.set("user",p4);function q4(a,b,c){this.A=a;this.D=n(b)?b:!0;this.B=c||null};function r4(a){w.call(this);this.C=a.userRole||0;this.I=!!a.editorsCanInvite ;this.D=!!a.sharingDisabled;this.V=a.userScope||null;this.F=!!a.exportable;this.A=a.visibilitySetting||null;this.B=a.shareableUrl||null;this.H=!!a.requestShareEnabled;this.R=a.shareAppPath||null}v(r4 ,w);function s4(a,b,c,d,e,g){this.D=a;this.A=b;this.B=c;this.Xb=d;this.C=e||null;this.F=g||null}s4.prototype.getMessage=function(){return this.A};function t4(){w.call(this)}v(t4,w);function u4(a,b,c,d){ss(a,function(a){switch(a.Ra){case "settings":n(b)&&a.setEnabled(b);break;case "email":n(d)&&a.setEnabled(d);break;case "emailAttach":n(c)&&a.setEnabled(c)}})}function v4(a,b){var c=w4(b);ja(0)?Mb(c,function(b){a.uc(b,0,!0)}):Lb(c,function(b){a.ca(b,!0)});c=a.J();Pp(c,"goog-menu-noicon")&&Rp(c,"goog-menu-noicon")} function w4(a){var b=[],c=new DH("Share...","settings",a);b.push(c);c=new DH("Advanced...","advanced",a);b.push(c);c=new HH(a);c.Ra="separator";b.push(c);c=new DH("Email collaborators...","email",a); b.push(c);a=new DH("Email as attachment...","emailAttach",a);b.push(a);return b};function x4(a,b){is.call(this,b);this.A=a}v(x4,is);x4.prototype.C="info";x4.prototype.F=!1;var y4={info:"jfk-butterBar -info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};x4.prototype.da=function(){var a=this.J();return null!=a&&Pp(a,"jfk-butterBar-shown")};x4.prototype.set Visible=function(a){Tp(this.J(),"jfk-butterBar-shown",a)}; x4.prototype.ea=function(){this.D=this.B.ma("div","jfk-butterBar");var a=this.J();a&&(pk(a,"live","assertive"),pk(a,"atomic","true"));this.A=this.A;if(a=this.J()){var b=this.B;b.Fb(a);b.Qc(a,this.A)} this.F=this.F;(a=this.J())&&Tp(a,"jfk-butterBar-mini",this.F);a=this.C;this.Va()&&Vp(this.J(),y4[this.C],y4[a]);this.C=a};function z4(a,b){this.H=a;this.F=b||Mi();this.A=null;this.B=!1;this.C=0}v(z4, w); function A4(a,b,c){var d,e=b.D;switch(e){case "copy":d="share-butter-copy-icon";break;case "specificPeople":d="share-butter-specific-people-icon";break;case "personLink":d="share-butter-person-link-i con"}a.A&&a.D();var g=a.F,h=g.ma("SPAN");d&&"none"!=e&&(d=g.ma("SPAN",["apps-share-sprite","share-butter-icon",d]),g.Qc(h,d));d=g.ma("SPAN","share-butter-message",b.getMessage());g.Qc(h,d);if(d=b.C)d =g.ma("A",{target:"_blank",href:d,"class":"share-butter-link",tabIndex:"0"},"Learn more"),g.Qc(h,"\u00a0", "\u00a0"),g.Qc(h,d);var k=b.F;if(k){var m=g.ma("SPAN",{"class":"share-butter-link",tabIndex:"0"},"Undo");m.onclick=function(){k();m.onclick=q};g.Qc(h,"\u00a0","\u00a0");g.Qc(h,m)}a.A=g.ma("DIV",["sha re-butterbar-container","share-butterbar-top","share-butterbar-zindex"]);h=new x4(h,g);h.ga(a.A);pk(h.J(),"live","off");h.setVisible(!0);a.B=b.B;g.Ca(a.B&&c?c:document.body,a.A);B4(a,a.A,c);a.C=windo w.setTimeout(t(a.D,a),b.Xb)}z4.prototype.D=function(){this.A&&(hj(this.A),this.A=null,delete this.A,window.clearTimeout(this.C))}; function B4(a,b,c){var d=parseInt(jq(b,"width"),10);if(a.B&&c){var e=parseInt(jq(c,"left"),10),g=parseInt(jq(c,"top"),10);c=parseInt(jq(c,"width"),10);var h=parseInt(jq(b,"height"),10);mq(b,e+(c-d)/2 ,a.H?0:g+h/2)}else b.style.left="50%",b.style.marginLeft=-(d/2)+"px"};function C4(a){oB.call(this,void 0,!1,a);zB(this);this.Sn=!0;AB(this,null);JH(this,"")}v(C4,oB);C4.prototype.setVisible=function( a){var b=this.J(),c=this.B;Tp(b,"share-client-offscreen",!a);a!=this.ll&&uB(this,a);a?(this.ig(),C4.O.setVisible.call(this,!0)):(b.style.right="",b.style.left="",b.style.top="");for(var c=Aj(c,"iframe",null,this.Va()),d=0;d<c.length;d++)c[d].tabIndex=a?"0":"-1";b.tabIndex=a?"0":"-1";this.vc.tabIndex=a?"0":"-1";b.setAttribute("aria-hidden",!a);a||this.U("ec")}; C4.prototype.Y=function(){C4.O.Y.call(this);var a;rB(this);(a=this.pb)&&pk(a,"hidden",!0)};function D4(a){B.call(this);this.B=a||Mi()}v(D4,B);f=D4.prototype;f.Wf=null;f.Nj=null;f.Hm=!1;function E4(a){return a.Nj||(a.Nj=new M(a))}function F4(a){a.Hm||(a.Op(),a.Hm=!0)}f.Uz=function(){this.U("errorHidden")};f.Vz=function(){this.U("errorShown")}; function G4(a,b,c){var d=a.Wf;b&&(d||(a.Wf||(d=new oB(void 0,!0,a.B),d.ga(),AB(d,CB(new wB,EB,!0,!0)),d.setTitle(""),E4(a).listen(d,"hide",a.Uz).listen(d,"show",a.Vz),JH(d,EB.key),S(d.J(),"share-clie nt-error-dialog"),a.Wf=d),d=a.Wf),qB(d,ki(c||"")));d&&d.setVisible(b)}f.Z=function(){Fb(this.Wf);Fb(this.Nj);D4.O.Z.call(this)};f.Op=q;f.cr=q;f.fr=q;function H4(a){D4.call(this,a);this.A=new C4(a);E4(this).listen(this.A,"dialogselect",this.wz).listen(this.A,"ec",this.vz);this.C=!1;this.D=new z4(!1,a);x(this,this.D)}v(H4,D4);f=H4.prototype;f.il=null;f.wz=function(){this.setVisible(!1);th is.U("uiContainerClose");return!1};f.vz=function(){this.U("uiContainerClose")};f.rz=function(a){mj(this.A.J(),a.target)&&(this.A.J().blur(),this.A.J().focus())}; f.Op=function(){var a=this.A;a.oa||a.ga();var b=this.B,c;c=this.A;rB(c);c=c.J();var d=b.ma("DIV",{"class":"share-client-debug"});b.Ca(c,d);S(a.J(),"share-client-dialog");E4(this).listen(a.J(),"click" ,this.rz);T(a.J(),!0);this.setVisible(!1)};f.da=function(){return this.C};f.setVisible=function(a){var b=this.A;b.oa||F4(this);b.setVisible(a);this.C=a;this.D.D()}; f.cr=function(a){var b=this.il;a&&!b&&(b=new oB(void 0,!0,this.B),qB(b,kn(R('<div class="share-client-loading-contents"><div class="share-client-spinner"> </div></div>'))),AB(b,null),b.setTitle("Load ing..."),E4(this).listen(b,"hide",this.JA),this.il=b,b.ga(),S(b.J(),"share-client-loading-dialog"));b&&b.setVisible(a)};f.JA=function(){this.U("uiContainerCancelLoad")}; f.setTitle=function(a,b){var c=Aj(this.B,"IFRAME",void 0,this.A.Va());0<c.length&&(c[0].title=a);Tp(sB(this.A),"share-client-dialog-hidden-title",b);this.A.setTitle(b?"":a)}; f.Im=function(a,b){var c=this.A.Va();c.style.width=a+"px";c.style.height=b+"px";var c=Vi().height,d=this.A.J(),e;if(e=this.da()&&0<c&&d)e=d.getBoundingClientRect(),e=!(0<=e.top&&e.bottom<=c);e&&(e="f ixed"==lq(d)?0:Xi(this.B.A).y,fq(d,"top",c-Dq(d).height+e+"px"));A&&(c=Wi(document),Nc(8)&&c||(this.A.J().style.width=a+(c?0:18)+"px"))};f.Z=function(){Fb(this.A);Fb(this.il);H4.O.Z.call(this)};f.fr= function(a){Tp(this.A.J(),"team-drive-share-client-dialog",a)};function I4(a,b){w.call(this);this.B=a;this.F=b;this.A=[];this.C=t(this.H,this);window.addEventListener("message",this.C,!1);this.D=new wl}v(I4,w);I4.prototype.H=function(a){if(a.origin==this.F){try{var b=hf(a.data)}catch(d){return}var c=b.args;if(b=this.D.get(b.type))this.B=a.source,this.A&&(Lb(this.A,function(a){this.sendMessage(a .messageType,a.qE)},this),this.A=[]),b.call(null,c)}};function J4(a,b,c,d){a.D.set(b,t(c,d))} I4.prototype.sendMessage=function(a,b){if(this.B){var c={};c.type=a;b&&(c.args=b);this.B.postMessage(kf(c),this.F)}else this.A.push({messageType:a,qE:b})};I4.prototype.Z=function(){window.removeEvent Listener("message",this.C,!1)};function K4(a,b,c,d,e,g,h,k,m,p,r,z){B.call(this);this.N=a;this.A=k||new H4(d);this.V=m||window;a=GH.la();d=new IH(d,a);a=d.J();a||(d.ea(),a=d.J());S(a,"goog-menu-noacc el");d.setVisible(!1);this.D=d;a=yH.la();(this.R=new DH("Loading...",void 0,void 0,a)).setEnabled(!1);(this.I=new DH("Sharing is unavailable at this time. Please try again later.",void 0,void 0,a)).setEnabled(!1);this.sa=b;this.$=c;this.fa=h||b;this.B=new r4({});this.C=d.B;this.W=e||null;this.aa=n(g)?g:!0;this.X=new t4;this.L=r||null; this.Ng=!!p;this.ba=p||null;this.ha=z||null;this.S=null;this.S=this.C.J("docs-aria-speakable");this.Ng||L4(this,this.V);b=M4(this);b.listen(d,"show",this.NA);b.listen(d,"action",this.bC);b.listen(thi s.A,"uiContainerCancelLoad",this.FA);b.listen(this.A,"uiContainerClose",this.qC);b.listen(this.A,"errorHidden",this.rC);b.listen(this.A,"errorShown",this.Rk)}v(K4,B);f=K4.prototype;f.Yi=null;f.Lf=nul l;f.cd=null;f.Tj="share";f.bd=!1;f.vd=!1;f.le=null;f.uf=null;f.Bf=null;f.Jf=null;f.Ta=null;f.Ec=null; f.Il=null;f.mi=!1;f.li=null;f.fm=!1;f.Le=!1;f.$c=!1;f.Yp=!1;f.Te=null;f.Bi=0;f.Mj=null;f.xi=0;f.Jg=null;f.Ql=!1;f.qg=!1;f.Sp=!1;f.pc=null; function L4(a,b){a.Ng||(b.SC_setTitle=t(a.gr,a),b.SC_resize=t(a.A.Im,a.A),b.SC_setVisible=t(a.ir,a),b.SC_prepareForVisible=t(a.yl,a),b.SC_setClientModel=t(a.Zq,a),b.SC_dispatchEvent=t(a.Pe,a),b.SC_ha ndleError=t(a.Ns,a),b.SC_handleCommandComplete=t(a.Zo,a),b.SC_setExecuteCommandFn=t(a.jG,a),b.SC_switchShareApp=t(a.tG,a),b.SC_setSetShareSystemVisibleFn=t(a.lG,a),b.SC_setGetInterfaceVersionNumberFn =t(a.kG,a),b.SC_getVersionNumber=t(a.ey,a),b.SC_rewriteUrl=t(a.fG,a),b.SC_showNotification=t(a.oG,a),b.SC_getAriaLiveRegion= t(a.bx,a))} function N4(a){if(a.Ng&&!a.pc){var b=nm(mm(lm(a.cd.clone(),""),"",void 0),"").toString();a.pc=new I4(null,b);J4(a.pc,"setClientModel",function(a){this.Zq(a.clientModelJson)},a);J4(a.pc,"handleCommand Complete",function(a){this.Zo(a.commandType,a.commandStatus)},a);J4(a.pc,"resize",function(a){this.A.Im(a.width,a.height);this.pc.sendMessage("resizeComplete")},a);J4(a.pc,"prepareForVisible",functio n(){this.yl();this.pc.sendMessage("makeBodyVisible");this.pc.sendMessage("prepareComplete")},a);J4(a.pc, "setVisible",function(a){this.ir(a.visible)},a);J4(a.pc,"setTitle",function(a){this.gr(a.title,a.hidden)},a);a.uf=null;a.le=t(function(a){this.pc.sendMessage("executeCommand",{commandType:a})},a)}}fu nction O4(a){var b={};b.impressionType=a;return b}f.ey=function(){return 2}; f.Zq=function(a){var b=this.B;a=vb(a);var c=a.userScope;c&&(a.userScope=p4(c));(c=a.visibilitySetting)&&(a.visibilitySetting=new q4(c.visibilityState,c.restrictedToDomain,c.domainDisplayName));this.B =new r4(a);this.bd&&b.B!=this.B.B&&(this.Ql=!0);this.bd=!0;this.Le=!1;b=this.B.R;"driveshare"!=b&&(b="share");b!=this.Tj&&(a=this.cd.clone(),a=lm(a,a.A.replace(/[a-z]+$/,b)),this.vd=!1,this.cd=a,this .Tj=b);P4(this);var d=this.B;this.Bi=w4(this.C).length;b=this.D;a=d.C;for(var c=d.D,e=Q4(this),g=d.F&&!1, h=this.Ta.length,k=this.C,d=d.H,m=ws(b),p=0;p<m.length;p++){var r=os(b,m[p]);switch(r.Ra){case "email":case "emailAttach":case "separator":case "settings":b.removeChild(r,!0)}}v4(b,k);h=!ja(h)||1==h; c?u4(b,!1,!1,!1):e?u4(b,!0,h&&!!g,h):30<=a?u4(b,!0,h&&!!g,h):u4(b,h&&!!d,h&&!!g,!1);this.Pe("menuUpdated");this.am();this.Jg&&this.Jg.A(this.B.A);this.Pe("aclInfoUpdated")}; f.NA=function(){if(this.Ta&&this.Ta.length)this.bd?R4(this):(this.D.da()||this.D.setVisible(!0,!0),this.Zi(!0));else{P4(this);for(var a=w4(this.C),b=a.length-1;0<=b;b--)S4(this,a[b])}}; f.Ns=function(a,b){switch(a){case "init":P4(this);if(b){var c=yH.la(),d=li(b,null),e=document,g=e.createElement("DIV");A?(Ki(g,si(vi,d)),g.removeChild(g.firstChild)):Ki(g,d);if(1==g.childNodes.length )g=g.removeChild(g.firstChild);else{for(d=e.createDocumentFragment();g.firstChild;)d.appendChild(g.firstChild);g=d}c=new DH(g,void 0,void 0,c);c.setEnabled(!1);S4(this,c)}else S4(this,this.I);this.bd =this.qg=!0}}; f.Zo=function(a,b){var c="success"==b;switch(a){case "init":T4(this);break;case "init_share":case "data":a:{c&&(this.xi=u()),this.$c=!1;var d=this.Te,e=this.F;if(this.mi)if(this.mi=!1,this.Ta=this.Il ,delete this.Il,this.Te=null,delete this.F,delete this.H,c){if(d){e.itemIds=this.Ta;this.Ec&&(e.hybrid_access_token=this.Ec);U4(this,d,e);break a}}else"maybe_show_acl_fixer"==d&&V4(this);W4(this,!1); d&&(c?(c=t(this.ck,this,d,this.F,this.H),D(c,10,this)):"maybe_show_acl_fixer"==d&&V4(this),this.Te=null, delete this.F,delete this.H)}}};f.kG=function(){};f.jG=function(a){this.vd=!0;this.uf=this.le;this.le=a};f.tG=function(a,b){var c=this.le;this.uf?this.le=this.uf:this.vd=!1;this.uf=c;X4(this);this.Nc (a,b)};f.lG=function(a){this.Bf=a};f.fG=function(a){return a};f.oG=function(a){var b=this.A;A4(b.D,new s4(a.iconId,a.message,a.showInDialog,a.timeout,a.learnMoreUrl,a.undoFn),b.A.J())};f.gr=function( a,b){this.A.setTitle(a,b)};function Q4(a){var b=a.B.C;return a.B.D?!1:40==b||30==b&&a.B.I}f.bx=function(){return this.S}; f.Zi=function(a,b,c){this.Ta&&0!=this.Ta.length&&(this.A.da()?this.Yi=t(this.Zi,this,a,b):(a&&(P4(this),S4(this,this.R),D(this.Rs,1E4,this)),this.Le||(this.vd?(this.Le=!0,Y4(this,c,!0)):(this.fm=this .Le=!0,b=this.li,b||(b=$i("iframe"),b.src='javascript:""',c=b.style,c.visibility="hidden",c.width=c.height="10px",cf&&!Nc("419.3")?c.marginTop=c.marginLeft="-99px":(c.position="absolute",c.top=c.left ="-10px"),document.body.appendChild(b),this.li=b),b.src=Z4(this,"init"),D(this.Ps,25E3,this),a&&R4(this)))))}; function R4(a){if(!a.qg)if(a.$c||a.vd){var b;if(b=a.vd)b=2E4<u()-a.xi;b&&(a.$c=!0,Y4(a,void 0,!0))}else a.$c=!0,$4(a,!0)}function $4(a,b){var c={};c.preload=!!b;c=a.cd&&Z4(a,"init_share",c);c=R('<ifr ame frameborder="0" src="'+(c?Kn(Ln(c)):"javascript:""")+'" class="share-client-content-iframe"></iframe>');c=kn(c);qB(a.A.A,c);b||W4(a,!0);a.yl()}function Y4(a,b,c){b=b||{};b.itemIds||(b.i temIds=a.Ta);!b.hybrid_access_token&&a.Ec&&(b.hybrid_access_token=a.Ec);a.ck("data",b,void 0,c)} function P4(a){for(var b=a.D,c=a.Bi,d=0;d<c;d++)b.removeChild(us(b,0),!0);a.Bi=0;a.Pe("menuUpdated")}function S4(a,b){b.Sb()||(a.D.uc(b,0,!0),a.Bi++,a.Pe("menuUpdated"))}function M4(a){return a.Jf||(a.Jf=new M(a))} function Z4(a,b,c){if(!a.cd)return'javascript:""';var d=a.cd.clone();"init"==b&&(d=lm(d,d.A.replace(/[a-z]+$/,"init")));xm(d,"id",a.Ta);xm(d,"foreignService",a.sa);xm(d,"gaiaService",a.$);xm(d,"share Service",a.fa);"init"!=b&&xm(d,"command",b);xm(d,"subapp",10);xm(d,"popupWindowsEnabled",a.aa);xm(d,"shareUiType","default");a.W&&xm(d,"hl",a.W);a.Ec?xm(d,"hybrid_access_token",a.Ec):xm(d,"authuser", a.N?a.N:"0");xm(d,"rand",u());c&&d.B.my(c);a.Ng&&xm(d,"client","postMessage");a.L&&xm(d,"appId",a.L);a.ba&& xm(d,"embedOrigin",a.ba);return d.toString()} f.Nc=function(a,b){b=b||{};b.itemIds=this.Ta;this.Ec&&(b.hybrid_access_token=this.Ec);L4(this,this.V);var c=!0;switch(a){case "init":case "load_acl_fixer_data":case "maybe_email_collaborators":case "maybe_show_acl_fixer":case "preload_share":case "refresh":c=!1}switch(a){case "load_acl_fixer_data":case "maybe_show_acl_fixer":a5(this,!0)}if(!this.vd&&this.Ta&&15<this.Ta.length)this.Il=this.Ta,t his.Ta=[this.Ta[0]],this.mi=!0,U4(this,a,b,!c);else if("init"==a||"refresh"==a)this.Zi(!1,!0,b);else if(!this.Ta|| !this.Ta.length)this.U(new b5(t(this.Nc,this,a,b)));else if(this.U(new c5)){if("invite"==a&&b.inviteFromUrl){if(this.bd&&!Q4(this))return;if(!this.bd){this.Le||this.Zi(!1,!0);ml(M4(this),this,"aclInf oUpdated",t(this.Nc,this,a,b));return}}var d;if(!(d=!this.vd)&&(d=2E4<u()-this.xi)){a:switch(d=b&&!!b.forceFullLoad,a){case "load_acl_fixer_data":case "maybe_show_acl_fixer":d=!d;break a;case "preload_share":d=!0;break a;default:d=!1}d=!d}d?(this.mi&&c&&W4(this,!0),U4(this,a,b,!c)):this.ck(a,b)}}; function U4(a,b,c,d){a.Te=b;a.F=c;a.H=(new Date).getTime();ja(a.Lf)&&E(a.Lf);a.Lf=D(a.Qs,25E3,a);a.$c||(a.$c=!0,a.vd?Y4(a,c,"load_acl_fixer_data"==b||"maybe_show_acl_fixer"==b):$4(a,d))}f.ck=function (a,b,c,d){if("preload_share"!=a){b=b||{};b.itemIds||(b.itemIds=this.Ta);!b.hybrid_access_token&&this.Ec&&(b.hybrid_access_token=this.Ec);if("maybe_show_acl_fixer"==a||"load_acl_fixer_data"==a)b.aclFi xerMode=b.aclFixerMode||"mail";L4(this,this.V);this.le(a,b,c,d)}}; function T4(a){var b=a.li;b&&(hj(b),a.li=null)}f.Ps=function(){this.fm&&(T4(this),this.fm=!1)};f.Rs=function(){this.Le&&!this.qg&&(P4(this),S4(this,this.I),this.Le=!1,this.qg=!0)};f.Qs=function(){if( this.$c){switch(this.Te){case "maybe_show_acl_fixer":V4(this);break;case "load_acl_fixer_data":case "preload_share":break;default:G4(this.A,!0,"Sorry, sharing is unavailable at this time. Please try again later.")}this.Pe("loadError");X4(this)}};f.FA=function(){this.Yp&&X4(this)}; function X4(a){a.$c&&(d5(a,!1),qB(a.A.A,ui),a.$c=!1,W4(a,!1),a.Te=null,delete a.F,delete a.H)}function W4(a,b){a.Yp=b;var c=a.A;b&&c.U("beforeLoad");c.cr(b);b||c.U("afterLoad");b&&a.Rk()}f.bC=functio n(a){switch(a.target.ja()){case "email":this.Nc("email",O4(5));break;case "emailAttach":this.Nc("email_attach",O4(6));break;case "settings":this.Nc("settings",O4(2));break;case "advanced":this.Nc("ad vanced",O4(2))}}; f.am=function(){var a=this.B,b=j4||(j4=new h4),c=this.Sp||a.D,d=Q4(this),e=a.H,g=this.ha||void 0,h=1==this.Ta.length,k=30<=a.C,m=!c&&(k||d)&&h,d=!c&&(d||k||h&&e),p=!c&&h&&a.F&&!1,a=!c&&e&&!k&&h&&!!a. V;g?g.A(p,m,d,a):(b.D.setEnabled(p),b.C.setEnabled(m),b.A.setEnabled(d),b.B.setEnabled(a),b.B.setVisible(a))};f.ir=function(a){a&&(this.$c=!1,W4(this,!1),G4(this.A,!1));d5(this,a)};f.yl=function(){F4 (this.A)};function d5(a,b){b&&(F4(a.A),a.A.fr("driveshare"==a.Tj));a.A.setVisible(b);b?a.Rk():e5(a)} function a5(a,b){a.Sp=b;a.bd?a.am():((j4||(j4=new h4)).A.setEnabled(!b),ml(M4(a),a,"aclInfoUpdated",t(a.am,a)))}f.Rk=function(){this.U("uiOpened")};function e5(a){a.Yi&&(a.Yi(),a.Yi=null);if(a.Ql){a. Ql=!1;var b=a.B.A;a.B.B&&b&&"unlisted"==b.A&&a.U(new f5)}a.Bf&&a.Bf(!1);a.U("uiClosed")}f.qC=function(){this.Bf&&this.Bf(!1)};f.rC=function(){this.A.da()||e5(this)};function V4(a){a5(a,!1);a.U(new g5)}f.Pe=function(a){switch(a){case "aclFixerDone":a5(this,!1);this.U(new g5);break;default:this.U(new y(a))}}; f.Z=function(){K4.O.Z.call(this);ja(this.Lf)&&E(this.Lf);this.D.dispose();delete this.D;this.Jg&&(this.Jg.dispose(),this.Jg=null);this.R.dispose();delete this.R;this.I.dispose();delete this.I;delete this.C;this.X.dispose();delete this.X;this.A.dispose();delete this.A;this.Jf&&(this.Jf.dispose(),this.Jf=null);this.Mj&&(this.Mj.dispose(),this.Mj=null);this.cd=this.Ec=this.Ta=null;th is.B.dispose();delete this.B;this.Bf=this.le=this.uf=null};function c5(){y.call(this,"beforeExecute")}v(c5,y); function b5(a){y.call(this,"createItems");this.rb=a}v(b5,y);function f5(){y.call(this,"reloadSuggested")}v(f5,y);function g5(){y.call(this,"aclFixerDone")}v(g5,y);function h5(a,b){w.call(this);this.B =a;this.D=b||"";this.A=new M(this);this.A.listen(this.B,"aftershow",this.xz);this.A.listen(this.B,"afterhide",this.uz)}v(h5,w);f=h5.prototype;f.xz=function(){if(this.D){var a=Pi(document,this.D);a&&a .focus()}this.Dm()};f.Dm=function(){};f.uz=function(){this.Cm()};f.Cm=function(){};f.Z=function(){Fb(this.A);delete this.A;h5.O.Z.call(this)};function i5(a,b,c){h5.call(this,a);this.F=b;this.C=c}v(i5 ,h5);i5.prototype.Dm=function(){this.B.hg()};i5.prototype.Cm=function(){KC(this.F.A,this.C)};function j5(a,b){this.B=a;this.D=b;this.F=Am(l.location.href,"preview").toString();this.C=new fk(this);x(this,this.C);this.A=null;this.A=new BA("STANDALONE_VIEWER_EMBED",{visible:!1,enabled:!1,label:"Embed item...",dv_br:6,dv_ms:2});x(this,this.A);gk(this.C,this.A,Uj,t(this.H,this));GC(this. B.A,this.A,"moremenu_only",void 0,void 0)}v(j5,w); j5.prototype.H=function(){var a,b;this.D&&(b=this.D.B.A)&&("private"==b.A?a="Only the owner and explicitly shared collaborators have access":b.D&&(a="Only "+(b.B+" users have access")));b=this.F;var c;c=c||{};a=(a?'<div class="texmex-embeddialog-visibility jfk-butterBar-info">'+Q(a)+"</div>":"")+'<div class="texmex-embeddialog-description">Paste HTML to embed in website:</div><textarea id="texmex-embed-textarea" rows="3" class="texmex-embeddialog-textarea" onclick="'+(c.Ea?"/*"+c.Ea+"*/":"")+'this.select()" readonly="readonly">'; b=R('<iframe src="'+Kn(Ln(b))+'" width="'+Kn(640)+'" height="'+Kn(480)+'"></iframe>');a=""+(a+Cn(b)+"</textarea>");a=R(a);a=kn(a);b=CB(new wB,EB,!0,!0);a=MH(a,b);b=new i5(a,this.B,this.A);x(this,a);x (this,b)};var k5=/^[\w+/]+[=]{0,2}$/;function l5(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||l,e=d.document,g;(g=(g=(g=(d||l).document.querySelector("script[nonce]"))&&g.getAttribute("nonc e"))&&k5.test(g)?g:void 0)&&(a.nonce=g);if("help"==a.flow){var h=ca("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback"; if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,b);else{var d=c+"/load.js?",m;for(m in a)b=a[m],null!=b&&!ma(b)&&(d+=encodeURIComponent(m)+"="+encodeURIComponent(b)+"&");a=e.createElement("script");g&&a.setAt tribute("nonce",g);a.src=d;e.body.appendChild(a)}}ba("userfeedback.api.startFeedback",l5,void 0);function m5(a,b){this.B=a;this.D=b;this.C=0;this.F=new fk(this);x(this,this.F);this.A=null;this.A=new BA("STANDALONE_VIEWER_FEEDBACK",{visible:!0,enabled:!0,label:"Send feedback",dv_br:7,dv_ms:2});x(this,this.A);gk(this.F,this.A,Uj,t(this.H,this));GC(this.D.C.A,this.A,"moremenu_only",void 0,void 0)}v(m5,w); m5.prototype.H=function(){var a={};a.productId=this.B.B.projectorFeedbackId;a.productVersion=Cb(Bb.la(),"buildLabel");a.bucket=this.B.B.projectorFeedbackBucket;a.locale="en";a.authuser=qg(this.B.A);a .callback=t(this.I,this);Bb.la();var b={},c=c4(this.D);b.mimetype=kh(c);b.itemState=this.C;l5(a,b)};m5.prototype.I=function(){KC(this.D.C.A,this.A)};function n5(a){this.A=a;this.D=new a4(this.A.A);x(this,this.D);this.V=new fk(this);x(this,this.V);this.R=new M(this);x(this,this.R);this.C=null;this.C=new Xj("STANDALONE_VIEWER_DOWNLOAD",{visible:!1,enabled:!1,label:"Download",hint:" Download",icon:"drive-viewer-download-icon"});x(this,this.C);gk(this.V,this.C,Uj,t(this.Hz,this));GC(this.D.C.A,this.C,void 0,0,void 0);this.B=this.F=null;a=this.A;var b;(b=!!Hg(a.A)&&!Aa(Ca(gg(Hg(a. A)))))||(b=!!Hg(a.A)&&(!Aa(Ca(hg(Hg(a.A))))||!Aa(Ca(ig(Hg(a.A))))||!Aa(Ca(jg(Hg(a.A)))))); if(!(b||a.B.isEmbedAction||a.Oa())){this.F=new Xj("STANDALONE_VIEWER_SHARE",{visible:!0,enabled:!0,label:"Share",hint:"Share",icon:"drive-viewer-share-icon"});x(this,this.F);this.B=new K4(qg(this.A.A),"texmex","wise",void 0,"en");x(this,this.B);a=this.B;b=this.A;var c=vg(b.A);b=b.B.enableStandaloneSharing?"/sharing/share":c?"/a/e/"+c+"/share":"/e/share";if(a.cd)throw Error("Base uri has already been set and cannot be set again.");ha(b)&&(b=new hm(b));a.cd=b;a.Ng&&N4(a);a=this.B;b=this.A.B.id;b=fa(b)? b:[b];fc(b);jc(b);var c=a.Ta,d;if(!(d=!a.bd)){a:if(ga(b)&&ga(c)&&b.length==c.length){d=b.length;for(var e=0;e<d;e++)if(b[e]!==c[e]){c=!1;break a}c=!0}else c=!1;d=!c}d&&(a.Ta=b,a.bd=!1,a.qg=!1,a.xi=0, a.Nc("refresh"),a.A.da()&&d5(a,!1));gk(this.V,this.F,Uj,t(this.$B,this));GC(this.D.C.A,this.F,void 0,1,void 0);this.R.listen(this.B,"uiClosed",t(this.aC,this))}this.I=this.H=null;this.A.B.isEmbedActi on||this.A.Oa()||(this.A.B.enableEmbedDialog&&(this.H=new j5(this.D.C,this.B),x(this,this.H)),this.I=new m5(this.A, this.D),x(this,this.I),this.R.listen(this.D,"a",this.vG))}v(n5,w);f=n5.prototype;f.$B=function(){this.B.Nc("settings")};f.aC=function(){KC(this.D.C.A,this.F)};f.Hz=function(){var a=c4(this.D);a&&Iz(o h(a),{target:"_blank"})};f.vG=function(a){var b=1==a.state;if(this.H){var c=this.H;c.A.setEnabled(b);c.A.setVisible(b)}this.I&&(this.I.C=a.state)}; f.show=function(a){wf(a,Yg,20)&&H(a,5,window.location.href);if(this.F){var b=Se(l.location.href,"userstoinvite");if(b&&null!==this.B){var c={};b&&(c.recipient=b);this.B.Nc("invite",{notificationInfo: c,inviteFromUrl:!0})}}b=!!oh(a);this.C.setEnabled(b);this.C.setVisible(b);var d;window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(d=window.performance.timing. navigationStart);var b=this.D,e=[a];a=d;if(!b.D.da()){b.F.A=u();b.L++;if(al(b.A,Vy)){d=b.A;if(!d.B[Vy])throw Error('Service for "'+ Vy+'" is not registered');c=d.B[Vy];delete d.B[Vy];c[1]&&Fb(c[0])}ja(a)&&(d=Wv(b.H,"ctsv_",{ka:52,Ic:b.L,Se:a,ol:e.length}),$v(b.H,d));d=Wv(b.H,"ov_",{ka:2,Ic:b.L});c=W(b.A);b.I=Gj(c);for(var c=Y(b.A),g=[],h=0;h<e.length;h++)g.push(e[h]);for(var e=HA(c),h=c.B,k=[],m=0;m<g.length;m++){var p=g[m],r=DO(h.C,p);if(yl(h.B.B.B,r)){var z=h.B.get(r);z.ie(p);k[m]=z}}for(m=g.length-1;0<=m;m--){var p=g[m],r=DO(h.C,p),z=m,C;if(!(C=k[m])){C=h.C;var F=CO(C,p),J=F.nb(p),p=new (F.xb())(Ef(p),J);p.Ib=F;if(J=F.qk())F= p,J=new J,F.B=J,x(F,F.B),F.B.Wb(F),F=p,J=new AO(p,C.A),F.V=J,x(F,J);if(Eg(L(C.A))){var F=new zO(p),J=p,la=F;J.Da=la;x(J,la);if(SA(p)||pu(C.A).B)J=new Mo(p),F.D=J,J.Wb(F),x(F,J)}p.Wb(Y(C.A));C=p}k[z]= C;h.B.set(r,k[m])}for(m=0;m<k.length;m++)z=k[m],r=z.getId(),h.D[r]||(h.A.push(z),h.D[r]=z);MO(h);e<HA(c)&&c.U("aa");e=W(b.A);b.D.oa||((e=Bj(e,"drive-viewer"))?rs(b.D,e):b.D.ga());EA(Y(b.A),g[0],a);Lg (L(b.A));g4(b,!0);b.U("cc");a=Z(c);g=b.H.A[d];e=Ho(a);yf(g,5,e);g=Yv(g);H(g,4,HA(c));$v(b.H,d);if(c=d=Fg(L(b.A)))c= null==G(d,4)?!1:G(d,4);c&&b.A.get(Yy).flush();if(c=d=wg(L(b.A)))c=null==G(d,14)?!1:G(d,14);c&&al(b.A,dp)&&SA(a)&&(d=al(b.A,dp),c=gh(a.A),b=t(b.gE,b,a),a=Wk(Xk(Zk(new Tk(d.A,kl(d,c,"lastViewedByMeDate ")+"&modifiedDateBehavior=NO_CHANGE","drive#file")),"PUT"),4).start(),hl(d,a),Nk(a,b),Ok(a,q))}};function o5(a,b){w.call(this);this.B=a;this.A=b}v(o5,w);o5.prototype.Oa=function(){return!!this.B.isMo bileWeb};ba("_initProjector",function(a,b,c){var d=window;if(d.history&&d.history.replaceState){var e=d.location.href,g,h=Fe(e),k=h[5],m;m=k.replace(Xe,"$1");g=e;m!=k&&(g=De(h[1],h[2],h[3],h[4],m,h[6 ],h[7]));h=Bb.la().get("docs-uptc");h=null!=h?Object(h):{};if(fa(h))for(k=0;k<h.length;k++)g=Ue(g,h[k]);g!=e&&d.history.replaceState(null,"",g)}d=Bb.la();e=d.get("enable_csi");if(ha(e)?"true"==e||"1" ==e:e)window.jstiming.sn=Cb(d,"csi_service_name"),window.jstiming.load.name="view",(d=Cb(d,"buildLabel"))&&(Be.rls= d),Ae=!0;Ce("jlt");Ce("_pi");b=new pg(b);a=new o5(a,b);a=new n5(a);ba("_projectorApp",a,void 0);c=new ah(c);a.show(c);Ae&&window.jstiming.load.tick("pi","_pi")},void 0);ba("_onProjectorLoad",function (){Ce("ol");Ae&&window.jstiming.getNavTiming&&window.jstiming.getNavTiming(window.jstiming.load);Ae&&window.jstiming.report(window.jstiming.load,Be,Db)},void 0);ba("_disposeProjector",function(){Fb(l ._projectorApp)},void 0);if(window.jstiming){window.jstiming.Tm={};window.jstiming.YF=1;var p5=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],void 0!=c?e=c:e=e[0],Math.round (d-e)},q5=function(a,b,c){var d="";window.jstiming.srt&&(d+="&srt="+window.jstiming.srt,delete window.jstiming.srt);window.jstiming.pt&&(d+="&tbsrt="+window.jstiming.pt,delete window.jstiming.pt);try {window.external&&window.external.tran?d+="&tran="+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+ window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(z){}var e=window.chrome;if(e&&(e=e.loadTimes)){e().wasFetchedViaSpdy&&(d+="&p=s");if(e().wasNp nNegotiated){var d=d+"&npn=1",g=e().npnNegotiatedProtocol;g&&(d+="&npnv="+(encodeURIComponent||escape)(g))}e().wasAlternateProtocolAvailable&&(d+="&apa=1")}var h=a.t,k=h.start,e=[],g=[],m;for(m in h)if("start"!=m&&0!=m.indexOf("_")){var p=h[m][1];p?h[p]&&g.push(m+"."+p5(a,m,h[p][0])):k&&e.push(m+"."+p5(a, m))}delete h.start;if(b)for(var r in b)d+="&"+r+"="+b[r];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.jstim ing.sn||"texmex")+"&action=",a.name,g.length?"&it="+g.join(","):"",d,"&rt=",e.join(",")].join("")},r5=function(a,b,c){a=q5(a,b,c);if(!a)return"";b=new Image;var d=window.jstiming.YF++;window.jstiming .Tm[d]=b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.Tm[d]};b.src=a;b=null;return a}; window.jstiming.report=function(a,b,c){if("prerender"==document.webkitVisibilityState){var d=!1,e=function(){if(!d){b?b.prerender="1":b={prerender:"1"};var g;"prerender"==document.webkitVisibilitySta te?g=!1:(r5(a,b,c),g=!0);g&&(d=!0,document.removeEventListener("webkitvisibilitychange",e,!1))}};document.addEventListener("webkitvisibilitychange",e,!1);return""}return r5(a,b,c)};var s5=function(a,b,c,d){return 0<c?(d?a.tick(b,d,c):a.tick(b,"",c),!0):!1};window.jstiming.getNavTiming=function(a){if(window.performance&& window.performance.timing){var b=window.performance.timing;s5(a,"_dns",b.domainLookupStart)&&s5(a,"dns_",b.domainLookupEnd,"_dns");s5(a,"_con",b.connectStart)&&s5(a,"con_",b.connectEnd,"_con");s5(a," _req",b.requestStart)&&s5(a,"req_",b.responseStart,"_req");s5(a,"_rcv",b.responseStart)&&s5(a,"rcv_",b.responseEnd,"_rcv");if(s5(a,"_ns",b.navigationStart)){s5(a,"ntsrt_",b.responseStart,"_ns");s5(a, "nsfs_",b.fetchStart,"_ns");var c=!1;try{c=window.external&&window.external.startE}catch(d){}!c&&window.chrome&& window.chrome.csi&&(c=Math.floor(window.chrome.csi().startE));c&&(s5(a,"_se",c),s5(a,"sens_",b.navigationStart,"_se"));s5(a,"ntplt0_",b.loadEventStart,"_ns");s5(a,"ntplt1_",b.loadEventEnd,"_ns")}}}};