var g=document,k=Array,l=Error,m=parseInt,p=String;function aa(a,b){return a.currentTarget=b}function ba(a,b){return a.keyCode=b}function q(a,b){return a.disabled=b}
var r="push",s="shift",t="slice",u="replace",v="value",ca="preventDefault",w="indexOf",x="keyCode",A="type",da="name",B="length",ea="propertyIsEnumerable",C="prototype",fa="checked",D="split",E="style",ga="target",F="call",ha="apply",G,H=this,I=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof k)return"array";if(a instanceof Object)return b;var c=Object[C].toString[F](a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a[B]&&"undefined"!=typeof a.splice&&
"undefined"!=typeof a[ea]&&!a[ea]("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a[F]&&"undefined"!=typeof a[ea]&&!a[ea]("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a[F])return"object";return b},ia=function(a){var b=I(a);return"array"==b||"object"==b&&"number"==typeof a[B]},J=function(a){return"string"==typeof a},ja=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ka=function(a,b){var c=k[C][t][F](arguments,1);
return function(){var b=c[t]();b[r][ha](b,arguments);return a[ha](this,b)}},la=function(a,b){function c(){}c.prototype=b[C];a.s=b[C];a.prototype=new c};var K=function(a){l.captureStackTrace?l.captureStackTrace(this,K):this.stack=l().stack||"";a&&(this.message=p(a))};la(K,l);K[C].name="CustomError";var ma=function(a,b){for(var c=a[D]("%s"),d="",f=k[C][t][F](arguments,1);f[B]&&1<c[B];)d+=c[s]()+f[s]();return d+c.join("%s")},sa=function(a,b){if(b)return a[u](na,"&amp;")[u](oa,"&lt;")[u](pa,"&gt;")[u](qa,"&quot;");if(!ra.test(a))return a;-1!=a[w]("&")&&(a=a[u](na,"&amp;"));-1!=a[w]("<")&&(a=a[u](oa,"&lt;"));-1!=a[w](">")&&(a=a[u](pa,"&gt;"));-1!=a[w]('"')&&(a=a[u](qa,"&quot;"));return a},na=/&/g,oa=/</g,pa=/>/g,qa=/\"/g,ra=/[&<>\"]/,ta=function(a){return p(a)[u](/\-([a-z])/g,function(a,c){return c.toUpperCase()})},
ua=function(a,b){var c=J(b)?p(b)[u](/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")[u](/\x08/g,"\\x08"):"\\s";return a[u](RegExp("(^"+(c?"|["+c+"]+":"")+")([a-z])","g"),function(a,b,c){return b+c.toUpperCase()})};var va=function(a,b){b.unshift(a);K[F](this,ma[ha](null,b));b[s]()};la(va,K);va[C].name="AssertionError";var L=function(a,b,c){if(!a){var d=k[C][t][F](arguments,2),f="Assertion failed";if(b)var f=f+(": "+b),e=d;throw new va(""+f,e||[]);}return a};var M=k[C],wa=M[w]?function(a,b,c){L(null!=a[B]);return M[w][F](a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a[B]+c):c;if(J(a))return J(b)&&1==b[B]?a[w](b,c):-1;for(;c<a[B];c++)if(c in a&&a[c]===b)return c;return-1},xa=M.forEach?function(a,b,c){L(null!=a[B]);M.forEach[F](a,b,c)}:function(a,b,c){for(var d=a[B],f=J(a)?a[D](""):a,e=0;e<d;e++)e in f&&b[F](c,f[e],e,a)},ya=function(a){var b=a[B];if(0<b){for(var c=k(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},za=function(a,b,c){L(null!=a[B]);return 2>=
arguments[B]?M[t][F](a,b):M[t][F](a,b,c)};var Aa=function(a,b,c){for(var d in a)b[F](c,a[d],d,a)},Ba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ca=function(a,b){for(var c,d,f=1;f<arguments[B];f++){d=arguments[f];for(c in d)a[c]=d[c];for(var e=0;e<Ba[B];e++)c=Ba[e],Object[C].hasOwnProperty[F](d,c)&&(a[c]=d[c])}};var N,Da,Ea,Fa,Ga=function(){return H.navigator?H.navigator.userAgent:null};Fa=Ea=Da=N=!1;var O;if(O=Ga()){var Ha=H.navigator;N=0==O.lastIndexOf("Opera",0);Da=!N&&(-1!=O[w]("MSIE")||-1!=O[w]("Trident"));Ea=!N&&-1!=O[w]("WebKit");Fa=!N&&!Ea&&!Da&&"Gecko"==Ha.product}var Ia=N,P=Da,Q=Fa,R=Ea,Ja=function(){var a=H.document;return a?a.documentMode:void 0},Ka;
t:{var La="",S;if(Ia&&H.opera)var Ma=H.opera.version,La="function"==typeof Ma?Ma():Ma;else if(Q?S=/rv\:([^\);]+)(\)|;)/:P?S=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:R&&(S=/WebKit\/(\S+)/),S)var Na=S.exec(Ga()),La=Na?Na[1]:"";if(P){var Oa=Ja();if(Oa>parseFloat(La)){Ka=p(Oa);break t}}Ka=La}
var Pa=Ka,Qa={},T=function(a){var b;if(!(b=Qa[a])){b=0;for(var c=p(Pa)[u](/^[\s\xa0]+|[\s\xa0]+$/g,"")[D]("."),d=p(a)[u](/^[\s\xa0]+|[\s\xa0]+$/g,"")[D]("."),f=Math.max(c[B],d[B]),e=0;0==b&&e<f;e++){var h=c[e]||"",n=d[e]||"",jb=RegExp("(\\d*)(\\D*)","g"),kb=RegExp("(\\d*)(\\D*)","g");do{var y=jb.exec(h)||["","",""],z=kb.exec(n)||["","",""];if(0==y[0][B]&&0==z[0][B])break;b=((0==y[1][B]?0:m(y[1],10))<(0==z[1][B]?0:m(z[1],10))?-1:(0==y[1][B]?0:m(y[1],10))>(0==z[1][B]?0:m(z[1],10))?1:0)||((0==y[2][B])<
(0==z[2][B])?-1:(0==y[2][B])>(0==z[2][B])?1:0)||(y[2]<z[2]?-1:y[2]>z[2]?1:0)}while(0==b)}b=Qa[a]=0<=b}return b},Ra=H.document,Sa=Ra&&P?Ja()||("CSS1Compat"==Ra.compatMode?m(Pa,10):5):void 0;var Ta=!P||P&&9<=Sa;!Q&&!P||P&&P&&9<=Sa||Q&&T("1.9.1");P&&T("9");var Ua=function(a,b){var c;c=a.className;c=J(c)&&c.match(/\S+/g)||[];for(var d=za(arguments,1),f=c[B]+d[B],e=c,h=0;h<d[B];h++)0<=wa(e,d[h])||e[r](d[h]);a.className=c.join(" ");return c[B]==f};var U=function(a,b){return J(b)?a.getElementById(b):b},Va=function(a,b,c,d){a=d||a;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var f=0,e=0,h;h=a[e];e++)b==h.nodeName&&(d[f++]=h);d.length=f;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(e=f=0;h=a[e];e++)b=h.className,"function"==typeof b[D]&&0<=wa(b[D](/\s+/),c)&&(d[f++]=h);d.length=
f;return d}return a},Xa=function(a,b){Aa(b,function(b,d){"style"==d?a[E].cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Wa?a.setAttribute(Wa[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},Wa={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Za=function(a,b,c){var d=arguments,
f=d[0],e=d[1];if(!Ta&&e&&(e[da]||e[A])){f=["<",f];e[da]&&f[r](' name="',sa(e[da]),'"');if(e[A]){f[r](' type="',sa(e[A]),'"');var h={};Ca(h,e);delete h[A];e=h}f[r](">");f=f.join("")}f=g.createElement(f);e&&(J(e)?f.className=e:"array"==I(e)?Ua[ha](null,[f].concat(e)):Xa(f,e));2<d[B]&&Ya(g,f,d,2);return f},Ya=function(a,b,c,d){function f(c){c&&b.appendChild(J(c)?a.createTextNode(c):c)}for(;d<c[B];d++){var e=c[d];if(!ia(e)||ja(e)&&0<e.nodeType)f(e);else{var h;t:{if(e&&"number"==typeof e[B]){if(ja(e)){h=
"function"==typeof e.item||"string"==typeof e.item;break t}if("function"==I(e)){h="function"==typeof e.item;break t}}h=!1}xa(h?ya(e):e,f)}}};var $a=function(a){var b=a[A];if(void 0===b)return null;switch(b.toLowerCase()){case "checkbox":case "radio":return a[fa]?a[v]:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b][v]:null;case "select-multiple":for(var b=[],c,d=0;c=a.options[d];d++)c.selected&&b[r](c[v]);return b[B]?b:null;default:return void 0!==a[v]?a[v]:null}};var ab=function(a){ab[" "](a);return a};ab[" "]=function(){};var bb=!P||P&&9<=Sa,cb=P&&!T("9");!R||T("528");Q&&T("1.9b")||P&&T("8")||Ia&&T("9.5")||R&&T("528");Q&&!T("8")||P&&T("9");var V=function(a,b){this.type=a;this.target=b;aa(this,this[ga])};V[C].m=!1;V[C].defaultPrevented=!1;V[C].preventDefault=function(){this.defaultPrevented=!0};var W=function(a,b){a&&this.t(a,b)};la(W,V);G=W[C];G.target=null;G.relatedTarget=null;G.offsetX=0;G.offsetY=0;G.clientX=0;G.clientY=0;G.screenX=0;G.screenY=0;G.button=0;ba(G,0);G.charCode=0;G.ctrlKey=!1;G.altKey=!1;G.shiftKey=!1;G.metaKey=!1;G.o=null;
G.t=function(a,b){var c=this.type=a[A];V[F](this,c);this.target=a[ga]||a.srcElement;aa(this,b);var d=a.relatedTarget;if(d){if(Q){var f;t:{try{ab(d.nodeName);f=!0;break t}catch(e){}f=!1}f||(d=null)}}else"mouseover"==c?d=a.fromElement:"mouseout"==c&&(d=a.toElement);this.relatedTarget=d;this.offsetX=R||void 0!==a.offsetX?a.offsetX:a.layerX;this.offsetY=R||void 0!==a.offsetY?a.offsetY:a.layerY;this.clientX=void 0!==a.clientX?a.clientX:a.pageX;this.clientY=void 0!==a.clientY?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;ba(this,a[x]||0);this.charCode=a.charCode||("keypress"==c?a[x]:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.o=a;a.defaultPrevented&&this[ca]();delete this.m};G.preventDefault=function(){W.s[ca][F](this);var a=this.o;if(a[ca])a[ca]();else if(a.returnValue=!1,cb)try{(a.ctrlKey||112<=a[x]&&123>=a[x])&&ba(a,-1)}catch(b){}};var db="closure_listenable_"+(1E6*Math.random()|0),eb=function(a){try{return!(!a||!a[db])}catch(b){return!1}},fb=0;var gb=function(a,b,c,d,f,e){this.c=a;this.g=b;this.src=c;this.type=d;this.capture=!!f;this.j=e;this.key=++fb;this.e=this.k=!1};gb[C].n=function(){this.e=!0;this.j=this.src=this.g=this.c=null};var hb=function(a){this.src=a;this.a={};this.l=0};hb[C].add=function(a,b,c,d,f){var e=this.a[a];e||(e=this.a[a]=[],this.l++);var h;t:{for(h=0;h<e[B];++h){var n=e[h];if(!n.e&&n.c==b&&n.capture==!!d&&n.j==f)break t}h=-1}-1<h?(a=e[h],c||(a.k=!1)):(a=new gb(b,null,this.src,a,!!d,f),a.k=c,e[r](a));return a};hb[C].p=function(a){var b=a[A];if(!(b in this.a))return!1;var c=this.a[b],d=wa(c,a),f;if(f=0<=d)L(null!=c[B]),M.splice[F](c,d,1);f&&(a.n(),0==this.a[b][B]&&(delete this.a[b],this.l--));return f};var ib="closure_lm_"+(1E6*Math.random()|0),X={},lb=0,mb=function(a,b,c,d,f){if("array"==I(b)){for(var e=0;e<b[B];e++)mb(a,b[e],c,d,f);return null}c=nb(c);if(eb(a))a=a.v(b,c,d,f);else{if(!b)throw l("Invalid event type");var e=!!d,h=ob(a);h||(a[ib]=h=new hb(a));c=h.add(b,c,!1,d,f);c.g||(d=pb(),c.g=d,d.src=a,d.c=c,a.addEventListener?a.addEventListener(b,d,e):a.attachEvent(b in X?X[b]:X[b]="on"+b,d),lb++);a=c}return a},pb=function(){var a=qb,b=bb?function(c){return a[F](b.src,b.c,c)}:function(c){c=a[F](b.src,
b.c,c);if(!c)return c};return b},sb=function(a,b,c,d){var f=1;if(a=ob(a))if(b=a.a[b])for(b=ya(b),a=0;a<b[B];a++){var e=b[a];e&&e.capture==c&&!e.e&&(f&=!1!==rb(e,d))}return Boolean(f)},rb=function(a,b){var c=a.c,d=a.j||a.src;if(a.k&&"number"!=typeof a&&a&&!a.e){var f=a.src;if(eb(f))f.u(a);else{var e=a[A],h=a.g;f.removeEventListener?f.removeEventListener(e,h,a.capture):f.detachEvent&&f.detachEvent(e in X?X[e]:X[e]="on"+e,h);lb--;(e=ob(f))?(e.p(a),0==e.l&&(e.src=null,f[ib]=null)):a.n()}}return c[F](d,
b)},qb=function(a,b){if(a.e)return!0;if(!bb){var c;if(!(c=b))t:{c=["window","event"];for(var d=H,f;f=c[s]();)if(null!=d[f])d=d[f];else{c=null;break t}c=d}f=c;c=new W(f,this);d=!0;if(!(0>f[x]||void 0!=f.returnValue)){t:{var e=!1;if(0==f[x])try{ba(f,-1);break t}catch(h){e=!0}if(e||void 0==f.returnValue)f.returnValue=!0}f=[];for(e=c.currentTarget;e;e=e.parentNode)f[r](e);for(var e=a[A],n=f[B]-1;!c.m&&0<=n;n--)aa(c,f[n]),d&=sb(f[n],e,!0,c);for(n=0;!c.m&&n<f[B];n++)aa(c,f[n]),d&=sb(f[n],e,!1,c)}return d}return rb(a,
new W(b,this))},ob=function(a){a=a[ib];return a instanceof hb?a:null},tb="__closure_events_fn_"+(1E9*Math.random()>>>0),nb=function(a){L(a,"Listener can not be null.");if("function"==I(a))return a;L(a.handleEvent,"An object listener must have handleEvent method.");return a[tb]||(a[tb]=function(b){return a.handleEvent(b)})};var ub=function(a,b,c){var d;t:if(d=ta(c),void 0===a[E][d]&&(c=(R?"Webkit":Q?"Moz":P?"ms":Ia?"O":null)+ua(c),void 0!==a[E][c])){d=c;break t}d&&(a[E][d]=b)};var vb=function(a,b){var c=[];1<arguments[B]&&(c=k[C][t][F](arguments)[t](1));var d=Va(g,"th","tct-selectall",a);if(0!=d[B]){var d=d[0],f=0,e=Va(g,"tbody",null,a);e[B]&&(f=e[0].rows[B]);this.d=Za("input",{type:"checkbox"});d.appendChild(this.d);f?mb(this.d,"click",this.r,!1,this):q(this.d,!0);this.f=[];this.h=[];this.i=[];d=Va(g,"input",null,a);for(f=0;e=d[f];f++)"checkbox"==e[A]&&e!=this.d?(this.f[r](e),mb(e,"click",this.q,!1,this)):"action"==e[da]&&(0<=c[w](e[v])?this.i[r](e):this.h[r](e),q(e,!0))}};
G=vb[C];G.f=null;G.b=0;G.d=null;G.h=null;G.i=null;G.r=function(a){for(var b=a[ga][fa],c=a=0,d;d=this.f[c];c++)d.checked=b,a+=1;this.b=b?this.f[B]:0;for(c=0;b=this.h[c];c++)q(b,!this.b);for(c=0;b=this.i[c];c++)q(b,1!=a?!0:!1)};G.q=function(a){this.b+=a[ga][fa]?1:-1;this.d.checked=this.b==this.f[B];a=0;for(var b;b=this.h[a];a++)q(b,!this.b);for(a=0;b=this.i[a];a++)q(b,1!=this.b?!0:!1)};var wb=function(){var a=U(g,"kinds");a&&new vb(a);(a=U(g,"pending_backups"))&&new vb(a);(a=U(g,"backups"))&&new vb(a,"Restore");var b=U(g,"ae-datastore-admin-filesystem");b&&mb(b,"change",function(){var a="gs"==$a(b);U(g,"gs_bucket_tr")[E].display=a?"":"none"});if(a=U(g,"confirm_delete_form")){var c=U(g,"confirm_readonly_delete");c&&(a.onsubmit=function(){var a=U(g,"confirm_message");J("color")?ub(a,"red","color"):Aa("color",ka(ub,a));return c[fa]})}},Y=["ae","Datastore","Admin","init"],Z=H;
Y[0]in Z||!Z.execScript||Z.execScript("var "+Y[0]);for(var $;Y[B]&&($=Y[s]());)Y[B]||void 0===wb?Z=Z[$]?Z[$]:Z[$]={}:Z[$]=wb;
