/* Copyright 2008 Google. */ (function() { /*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var aa=" apps-actiondatawidget-content-element",ba='" class="',ca='" tabindex="0" role="button">',d='">',da='"></div>',ea='"><a target="keyboard_shortcuts_help_window" href="',fa='"><div class="',ha='"><span id="',ia='"><table cellpadding="0" class="',ja="' of type ",ka="-caption",la="-content",ma="-default",na="-disabled",pa="-dropdown",qa="-inner-box",ra="-outer-box",sa="</div>",ta="</h3></th></tr>",ua="</td></tr>",va='</td><td class="',wa='<div class="',xa='<span aria-label="',ya='<span class="',
za='<tr><td class="',Aa='<tr><th colspan="2"><h3 class="',Ca="Application",Da="BUTTON",Ea="CSS1Compat",Fa="CSS_APP_TABLE",Ga="CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT",Ha="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER",Ia="CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT",Ja="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK",Ka="Compatible spreadsheet shortcut",La="Component already rendered",n="DIV",Ma="Deferred has already been called",Na="Edge",Oa="HTMLIFrameElement",Pa="IFRAME",Qa="INPUT",Ra="Not available",Sa="Popular keyboard shortcuts",
Ta="SCRIPT",Ua="SELECT",Va="SPAN",Wa="Search all shortcuts",Xa="Symbol.iterator",Ya="TEXTAREA",Za="The DOM element for the container cannot be null.",$a="The element passed as a first parameter cannot be null.",ab="The label input element cannot be null.",bb="The menu button DOM element cannot be null.",cb="Unable to set parent component",db="Uneven number of arguments",eb="[goog.net.IframeIo] Unable to send, already active.",fb="about:blank",gb="about:invalid#zClosurez",hb="absolute",ib="action",
jb="activedescendant",kb="aftershow",lb="animate",mb="apps-actiondatawidget-key-focused",nb="apps-actiondatawidget-override-info-icon",ob="apps-shortcutshelppopup-content",pb="apps-shortcutshelppopup-content-element",qb="apps-shortcutshelppopup-content-wrapper",sb="apps-shortcutshelppopup-empty-search",tb="apps-shortcutshelppopup-header-element",ub="apps-shortcutshelppopup-help-center-link",vb="apps-shortcutshelppopup-input",wb="apps-shortcutshelppopup-input-button",xb="apps-shortcutshelppopup-pref-component",
yb="apps-shortcutshelppopup-reset-search-button",zb="apps-shortcutshelppopup-search-label",Ab="aria-label",Bb="blur",Cb="border-box",Db="button",Eb="cancel",Fb="change",Gb="character",Hb="checkbox",Ib="checked",q="click",Jb="close",Kb="closed",Lb="collapsed",Mb="combobox",Nb="complete",Ob="completeEditRender",Pb="contextmenu",Qb="data-tooltip",Rb="data-tooltip-align",Sb="data-tooltip-class",Tb="data-tooltip-contained",Ub="data-tooltip-offset",Vb="dialog",Wb="div",Yb="enabled",Zb="enter",$b="error",
ac="es3",bc="expanded",cc="expander",dc="fixed",ec="focus",fc="focusin",gc="focusout",hc="force-ctrl-key",r="function",ic="goog-button",jc="goog-control",kc="goog-flat-button",lc="goog-flat-menu-button",mc="goog-inline-block",nc="goog-inline-block ",oc="goog-menu",pc="goog-menu-button",qc="goog-menuheader",rc="goog-menuseparator",sc="goog-option-selected",tc="goog-selectionmenubutton-checkbox",uc="goog-submenu",vc="goog-submenu-arrow",wc="goog-submenu-arrow-rtl",xc="gotpointercapture",yc="haspopup",
zc="height",Ac="hidden",Bc="hide",Cc="highlight",Dc="horizontal",Ec="innerIframeReady",Fc='javascript:""',Gc="jfk-button",Hc="jfk-button-action",Ic="jfk-button-standard",Jc="jfk-checkbox",Kc="jfk-checkbox-checkmark",Lc="jfk-tooltip-hide",Mc="jot-ui-searchInput",Nc="jot_viewer",Oc="key",Pc="keydown",Qc="keypress",Rc="keyup",Sc="label",Tc="labelledby",Uc="left",Vc="listbox",Wc="load",Xc="menuitemcheckbox",Yc="mousedown",Zc="mousemove",$c="mouseout",ad="mouseover",bd="mouseup",cd="must provide justification",
dd="must provide non-empty justification",ed="none",fd="null",gd="null|string|undefined",t="number",hd="object",id="offset",jd="opt_onFulfilled should be a function.",kd="opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?",ld="option",md="orientationchange",nd="outerIframeReady",od="owns",pd="position",qd="px",rd="readystatechange",sd="resize",td="role",ud="select",vd="select-multiple",wd="selected",xd="semicolon",yd="separator",zd="shortcut-dialog-category-selected",
Ad="shortcut-dialog-user-scroll",Bd="siets-debug-log-output",Cd="sites-chrome-everything",Dd="sites-gears-button",Ed="sites-header-nav-dropdown-menu",Fd="sites-header-nav-dropdown-menuitem",Gd="sites-searchbox-form",u="string",Hd="submit",Id="success",Jd="suggestionsupdate",Kd="synthetic-keydown",Ld="synthetic-keypress",Md="synthetic-keyup",Nd="textarea",Od="timestamp",Pd="title",Qd="toggle-selected-on-fire",Rd="true",Sd="unhighlight",Td="unknown type name",Ud="value",Vd="vertical",Wd="visible",Xd=
"zClosurez",v,Yd=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},Zd=typeof Object.defineProperties==r?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},$d=function(a){a=[hd==typeof globalThis&&globalThis,a,hd==typeof window&&window,hd==typeof self&&self,hd==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");},ae=$d(this),
be=function(a,b){if(b)a:{var c=ae;a=a.split(".");for(var e=0;e<a.length-1;e++){var f=a[e];if(!(f in c))break a;c=c[f]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&null!=b&&Zd(c,a,{configurable:!0,writable:!0,value:b})}};
be("Symbol",function(a){if(a)return a;var b=function(f,g){this.ds=f;Zd(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.ds};var c=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(f||"")+"_"+c++,f)};return e},"es6",ac);
be(Xa,function(a){if(a)return a;a=Symbol(Xa);for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var e=ae[b[c]];typeof e===r&&typeof e.prototype[a]!=r&&Zd(e.prototype,a,{configurable:!0,writable:!0,value:function(){return ce(Yd(this))}})}return a},"es6",ac);
var ce=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},de=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:Yd(a)}},ee=typeof Object.create==r?Object.create:function(a){var b=function(){};b.prototype=a;return new b},fe;
if(typeof Object.setPrototypeOf==r)fe=Object.setPrototypeOf;else{var ge;a:{var he={a:!0},ie={};try{ie.__proto__=he;ge=ie.a;break a}catch(a){}ge=!1}fe=ge?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var je=fe,w=function(a,b){a.prototype=ee(b.prototype);a.prototype.constructor=a;if(je)je(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,c);e&&Object.defineProperty(a,c,e)}else a[c]=b[c];a.i=b.prototype},ke=function(a,b){a instanceof String&&(a+="");var c=0,e={next:function(){if(c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}e.next=function(){return{done:!0,value:void 0}};return e.next()}};e[Symbol.iterator]=function(){return e};
return e};be("Array.prototype.keys",function(a){return a?a:function(){return ke(this,function(b){return b})}},"es6",ac);be("Array.prototype.values",function(a){return a?a:function(){return ke(this,function(b,c){return c})}},"es8",ac);var le=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
be("WeakMap",function(a){function b(){}function c(l){var m=typeof l;return m===hd&&null!==l||m===r}function e(l){if(!le(l,g)){var m=new b;Zd(l,g,{value:m})}}function f(l){var m=Object[l];m&&(Object[l]=function(p){if(p instanceof b)return p;Object.isExtensible(p)&&e(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),p=new a([[l,2],[m,3]]);if(2!=p.get(l)||3!=p.get(m))return!1;p.delete(l);p.set(m,4);return!p.has(l)&&4==p.get(m)}catch(z){return!1}}())return a;
var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0,k=function(l){this.T=(h+=Math.random()+1).toString();if(l){l=de(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};k.prototype.set=function(l,m){if(!c(l))throw Error("Invalid WeakMap key");e(l);if(!le(l,g))throw Error("WeakMap key fail: "+l);l[g][this.T]=m;return this};k.prototype.get=function(l){return c(l)&&le(l,g)?l[g][this.T]:void 0};k.prototype.has=function(l){return c(l)&&le(l,g)&&le(l[g],
this.T)};k.prototype.delete=function(l){return c(l)&&le(l,g)&&le(l[g],this.T)?delete l[g][this.T]:!1};return k},"es6",ac);
be("Map",function(a){if(function(){if(!a||typeof a!=r||!a.prototype.entries||typeof Object.seal!=r)return!1;try{var k=Object.seal({x:4}),l=new a(de([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),p=m.next();if(p.done||p.value[0]!=k||"s"!=p.value[1])return!1;p=m.next();return p.done||4!=p.value[0].x||"t"!=p.value[1]||!m.next().done?!1:!0}catch(z){return!1}}())return a;var b=new WeakMap,c=function(k){this.xa={};this.L=g();this.size=0;
if(k){k=de(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};c.prototype.set=function(k,l){k=0===k?0:k;var m=e(this,k);m.list||(m.list=this.xa[m.id]=[]);m.entry?m.entry.value=l:(m.entry={next:this.L,Mc:this.L.Mc,head:this.L,key:k,value:l},m.list.push(m.entry),this.L.Mc.next=m.entry,this.L.Mc=m.entry,this.size++);return this};c.prototype.delete=function(k){k=e(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.xa[k.id],k.entry.Mc.next=k.entry.next,k.entry.next.Mc=
k.entry.Mc,k.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.xa={};this.L=this.L.Mc=g();this.size=0};c.prototype.has=function(k){return!!e(this,k).entry};c.prototype.get=function(k){return(k=e(this,k).entry)&&k.value};c.prototype.entries=function(){return f(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return f(this,function(k){return k.key})};c.prototype.values=function(){return f(this,function(k){return k.value})};c.prototype.forEach=function(k,l){for(var m=
this.entries(),p;!(p=m.next()).done;)p=p.value,k.call(l,p[1],p[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var e=function(k,l){var m=l&&typeof l;m==hd||m==r?b.has(l)?m=b.get(l):(m=""+ ++h,b.set(l,m)):m="p_"+l;var p=k.xa[m];if(p&&le(k.xa,m))for(k=0;k<p.length;k++){var z=p[k];if(l!==l&&z.key!==z.key||l===z.key)return{id:m,list:p,index:k,entry:z}}return{id:m,list:p,index:-1,entry:void 0}},f=function(k,l){var m=k.L;return ce(function(){if(m){for(;m.head!=k.L;)m=m.Mc;for(;m.next!=m.head;)return m=
m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})},g=function(){var k={};return k.Mc=k.next=k.head=k},h=0;return c},"es6",ac);be("Array.from",function(a){return a?a:function(b,c,e){c=null!=c?c:function(k){return k};var f=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if(typeof g==r){b=g.call(b);for(var h=0;!(g=b.next()).done;)f.push(c.call(e,g.value,h++))}else for(g=b.length,h=0;h<g;h++)f.push(c.call(e,b[h],h));return f}},"es6",ac);
be("Object.entries",function(a){return a?a:function(b){var c=[],e;for(e in b)le(b,e)&&c.push([e,b[e]]);return c}},"es8",ac);be("Array.prototype.entries",function(a){return a?a:function(){return ke(this,function(b,c){return[b,c]})}},"es6",ac);
var me=me||{},x=this||self,pe=function(a){if(a&&a!=x)return ne(a.document);null===oe&&(oe=ne(x.document));return oe},qe=/^[\w+/_-]+[=]{0,2}$/,oe=null,ne=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&qe.test(a)?a:""},re=function(a,b){a=a.split(".");b=b||x;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},se=function(){},y=function(a){a.gk=void 0;a.K=function(){return a.gk?a.gk:a.gk=new a}},te=function(a){var b=typeof a;
return b!=hd?b:a?Array.isArray(a)?"array":b:fd},ue=function(a){var b=te(a);return"array"==b||b==hd&&typeof a.length==t},ve=function(a){return te(a)==r},we=function(a){var b=typeof a;return b==hd&&null!=a||b==r},ze=function(a){return Object.prototype.hasOwnProperty.call(a,xe)&&a[xe]||(a[xe]=++ye)},xe="closure_uid_"+(1E9*Math.random()>>>0),ye=0,Ae=function(a,b,c){return a.call.apply(a.bind,arguments)},Be=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,
2);return function(){var f=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(f,e);return a.apply(b,f)}}return function(){return a.apply(b,arguments)}},A=function(a,b,c){A=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Ae:Be;return A.apply(null,arguments)},Ce=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var e=c.slice();e.push.apply(e,arguments);return a.apply(this,e)}},De=Date.now,B=function(a,b,c){a=a.split(".");
c=c||x;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)a.length||void 0===b?c=c[e]&&c[e]!==Object.prototype[e]?c[e]:c[e]={}:c[e]=b},C=function(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.prototype=new c;a.prototype.constructor=a},Ee=function(a){return a};var Fe={},Ge=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ge);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};C(Ge,Error);Ge.prototype.name="CustomError";var He;var Ie=function(a,b){a=a.split("%s");for(var c="",e=a.length-1,f=0;f<e;f++)c+=a[f]+(f<b.length?b[f]:"%s");Ge.call(this,c+a[e])};C(Ie,Ge);Ie.prototype.name="AssertionError";
var Ke=function(a,b,c,e){var f="Assertion failed";if(c){f+=": "+c;var g=e}else a&&(f+=": "+a,g=b);throw new Ie(""+f,g||[]);},D=function(a,b,c){a||Ke("",null,b,Array.prototype.slice.call(arguments,2));return a},Le=function(a,b){throw new Ie("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Me=function(a,b,c){typeof a!==t&&Ke("Expected number but got %s: %s.",[te(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ne=function(a,b,c){typeof a!==u&&Ke("Expected string but got %s: %s.",
[te(a),a],b,Array.prototype.slice.call(arguments,2));return a},Oe=function(a,b,c){ve(a)||Ke("Expected function but got %s: %s.",[te(a),a],b,Array.prototype.slice.call(arguments,2));return a},Pe=function(a,b,c){we(a)||Ke("Expected object but got %s: %s.",[te(a),a],b,Array.prototype.slice.call(arguments,2));return a},Qe=function(a,b,c){"boolean"!==typeof a&&Ke("Expected boolean but got %s: %s.",[te(a),a],b,Array.prototype.slice.call(arguments,2));return a},Re=function(a,b,c){we(a)&&1==a.nodeType||Ke("Expected Element but got %s: %s.",
[te(a),a],b,Array.prototype.slice.call(arguments,2));return a},Te=function(a,b,c,e){a instanceof b||Ke("Expected instanceof %s but got %s.",[Se(b),Se(a)],c,Array.prototype.slice.call(arguments,3));return a},Se=function(a){return a instanceof Function?a.displayName||a.name||Td:a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?fd:typeof a};var Ue=Array.prototype.indexOf?function(a,b,c){D(null!=a.length);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(typeof a===u)return typeof b!==u||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ve=Array.prototype.lastIndexOf?function(a,b,c){D(null!=a.length);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(typeof a===
u)return typeof b!==u||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},E=Array.prototype.forEach?function(a,b,c){D(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=typeof a===u?a.split(""):a,g=0;g<e;g++)g in f&&b.call(c,f[g],g,a)},We=Array.prototype.filter?function(a,b,c){D(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=[],g=0,h=typeof a===u?a.split(""):a,k=0;k<e;k++)if(k in
h){var l=h[k];b.call(c,l,k,a)&&(f[g++]=l)}return f},Xe=Array.prototype.map?function(a,b,c){D(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=Array(e),g=typeof a===u?a.split(""):a,h=0;h<e;h++)h in g&&(f[h]=b.call(c,g[h],h,a));return f},Ye=Array.prototype.reduce?function(a,b,c,e){D(null!=a.length);e&&(b=A(b,e));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,e){var f=c;E(a,function(g,h){f=b.call(e,f,g,h,a)});return f},Ze=Array.prototype.some?function(a,
b,c){D(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=typeof a===u?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},$e=Array.prototype.every?function(a,b,c){D(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=typeof a===u?a.split(""):a,g=0;g<e;g++)if(g in f&&!b.call(c,f[g],g,a))return!1;return!0},af=function(a,b,c){var e=0;E(a,function(f,g,h){b.call(c,f,g,h)&&++e},c);return e},cf=
function(a,b,c){b=bf(a,b,c);return 0>b?null:typeof a===u?a.charAt(b):a[b]},bf=function(a,b,c){for(var e=a.length,f=typeof a===u?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return g;return-1},df=function(a,b){return 0<=Ue(a,b)},ff=function(a,b){b=Ue(a,b);var c;(c=0<=b)&&ef(a,b);return c},ef=function(a,b){D(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length},gf=function(a,b,c){b=bf(a,b,c);return 0<=b?(ef(a,b),!0):!1},hf=function(a){return Array.prototype.concat.apply([],
arguments)},jf=function(a){var b=a.length;if(0<b){for(var c=Array(b),e=0;e<b;e++)c[e]=a[e];return c}return[]},kf=function(a,b){for(var c=1;c<arguments.length;c++){var e=arguments[c];if(ue(e)){var f=a.length||0,g=e.length||0;a.length=f+g;for(var h=0;h<g;h++)a[f+h]=e[h]}else a.push(e)}},mf=function(a,b,c,e){D(null!=a.length);return Array.prototype.splice.apply(a,lf(arguments,1))},lf=function(a,b,c){D(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,
b,c)},nf=function(a,b,c){b=b||a;var e=function(l){return we(l)?"o"+ze(l):(typeof l).charAt(0)+l};c=c||e;e={};for(var f=0,g=0;g<a.length;){var h=a[g++],k=c(h);Object.prototype.hasOwnProperty.call(e,k)||(e[k]=!0,b[f++]=h)}b.length=f},pf=function(a,b){a.sort(b||of)},qf=function(a,b){for(var c=Array(a.length),e=0;e<a.length;e++)c[e]={index:e,value:a[e]};var f=b||of;pf(c,function(g,h){return f(g.value,h.value)||g.index-h.index});for(e=0;e<a.length;e++)a[e]=c[e].value},of=function(a,b){return a>b?1:a<b?
-1:0};var tf=function(a){var b=rf(a);b&&(!a||!(a instanceof b.Location)&&a instanceof b.Element)&&Le("Argument is not a Location (or a non-Element mock); got: %s",sf(a));return a},uf=function(a,b){var c=rf(a);c&&"undefined"!=typeof c[b]&&(a&&(a instanceof c[b]||!(a instanceof c.Location||a instanceof c.Element))||Le("Argument is not a %s (or a non-Element, non-Location mock); got: %s",b,sf(a)));return a},sf=function(a){if(we(a))try{return a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(b){return"<object could not be stringified>"}else return void 0===
a?"undefined":null===a?fd:typeof a},rf=function(a){try{var b=a&&a.ownerDocument,c=b&&(b.defaultView||b.parentWindow);c=c||x;if(c.Element&&c.Location)return c}catch(e){}return null};var vf=function(a){return/^[\s\xa0]*$/.test(a)},wf=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},xf=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},Ff=function(a,b){if(b)a=a.replace(yf,"&amp;").replace(zf,"&lt;").replace(Af,"&gt;").replace(Bf,"&quot;").replace(Cf,"&#39;").replace(Df,"&#0;");else{if(!Ef.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(yf,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(zf,"&lt;"));-1!=
a.indexOf(">")&&(a=a.replace(Af,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Bf,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Cf,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Df,"&#0;"))}return a},yf=/&/g,zf=/</g,Af=/>/g,Bf=/"/g,Cf=/'/g,Df=/\x00/g,Ef=/[\x00&<>"']/,Hf=function(a,b){var c=0;a=wf(String(a)).split(".");b=wf(String(b)).split(".");for(var e=Math.max(a.length,b.length),f=0;0==c&&f<e;f++){var g=a[f]||"",h=b[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","",
"",""];if(0==g[0].length&&0==h[0].length)break;c=Gf(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||Gf(0==g[2].length,0==h[2].length)||Gf(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},Gf=function(a,b){return a<b?-1:a>b?1:0};var If;a:{var Jf=x.navigator;if(Jf){var Kf=Jf.userAgent;if(Kf){If=Kf;break a}}If=""}var F=function(a){return-1!=If.indexOf(a)};var Lf=function(a,b,c){for(var e in a)b.call(c,a[e],e,a)},Mf=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return!0;return!1},Nf=function(a){var b=[],c=0,e;for(e in a)b[c++]=e;return b},Of=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Pf=function(a){for(var b in a)return!1;return!0},Qf=function(a,b){var c;(c=b in a)&&delete a[b];return c},Rf=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c},Sf=function(a){var b={},c;for(c in a)b[c]=
a[c];return b},Tf="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Uf=function(a,b){for(var c,e,f=1;f<arguments.length;f++){e=arguments[f];for(c in e)a[c]=e[c];for(var g=0;g<Tf.length;g++)c=Tf[g],Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}},Vf=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Vf.apply(null,arguments[0]);if(b%2)throw Error(db);for(var c={},e=0;e<b;e+=2)c[arguments[e]]=arguments[e+1];
return c},Wf=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Wf.apply(null,arguments[0]);for(var c={},e=0;e<b;e++)c[arguments[e]]=!0;return c};var Xf=function(){return F("Firefox")||F("FxiOS")},Zf=function(){return F("Safari")&&!(Yf()||F("Coast")||F("Opera")||F(Na)||F("Edg/")||F("OPR")||Xf()||F("Silk")||F("Android"))},Yf=function(){return(F("Chrome")||F("CriOS"))&&!F(Na)},$f=function(){return F("Android")&&!(Yf()||Xf()||F("Opera")||F("Silk"))};var ag=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};var bg={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};var cg,dg=function(){if(void 0===cg){var a=null,b=x.trustedTypes;if(b&&b.createPolicy)try{a=b.createPolicy("goog#html",{createHTML:Ee,createScript:Ee,createScriptURL:Ee})}catch(c){x.console&&x.console.error(c.message)}cg=a}return cg};var gg=function(a,b){this.Ql=a===eg&&b||"";this.Ks=fg};gg.prototype.fc=!0;gg.prototype.Wa=function(){return this.Ql};gg.prototype.toString=function(){return"Const{"+this.Ql+"}"};var hg=function(a){if(a instanceof gg&&a.constructor===gg&&a.Ks===fg)return a.Ql;Le("expected object of type Const, got '"+a+"'");return"type_error:Const"},ig=function(a){return new gg(eg,a)},fg={},eg={};var jg=/<[^>]*>|&[^;]+;/g,kg=function(a,b){return b?a.replace(jg,""):a},lg=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,mg=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]/,ng=/^http:\/\/.*/,
og=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*$/,pg=/[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$/,
qg=/\s+/,rg=/[\d\u06f0-\u06f9]/,sg=function(a,b){var c=0,e=0,f=!1;a=kg(a,b).split(qg);for(b=0;b<a.length;b++){var g=a[b];mg.test(kg(g,void 0))?(c++,e++):ng.test(g)?f=!0:lg.test(kg(g,void 0))?e++:rg.test(g)&&(f=!0)}return 0==e?f?1:0:.4<c/e?-1:1};var vg=function(a,b){this.Tk=a===tg&&b||"";this.Ls=ug};v=vg.prototype;v.fc=!0;v.Wa=function(){return this.Tk.toString()};v.ck=!0;v.Ac=function(){return 1};v.toString=function(){return"TrustedResourceUrl{"+this.Tk+"}"};var wg=function(a){if(a instanceof vg&&a.constructor===vg&&a.Ls===ug)return a.Tk;Le("expected object of type TrustedResourceUrl, got '"+a+ja+te(a));return"type_error:TrustedResourceUrl"},ug={},xg=function(a){var b=dg();a=b?b.createScriptURL(a):a;return new vg(tg,a)},tg={};var Ag=function(a,b){this.Sk=a===yg&&b||"";this.As=zg};v=Ag.prototype;v.fc=!0;v.Wa=function(){return this.Sk.toString()};v.ck=!0;v.Ac=function(){return 1};v.toString=function(){return"SafeUrl{"+this.Sk+"}"};
var Bg=function(a){if(a instanceof Ag&&a.constructor===Ag&&a.As===zg)return a.Sk;Le("expected object of type SafeUrl, got '"+a+ja+te(a));return"type_error:SafeUrl"},Cg=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,Dg=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Eg=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,
Gg=function(a){if(a instanceof Ag)return a;a=typeof a==hd&&a.fc?a.Wa():String(a);return Eg.test(a)?Fg(a):null},Ig=function(a,b){if(a instanceof Ag)return a;a=typeof a==hd&&a.fc?a.Wa():String(a);if(b&&/^data:/i.test(a)){b=String(a);b=b.replace(/(%0A|%0D)/g,"");var c=b.match(Dg);b=(c&&Cg.test(c[1])?Fg(b):null)||Hg;if(b.Wa()==a)return b}D(Eg.test(a),"%s does not match the safe URL pattern",a)||(a=gb);return Fg(a)},zg={},Fg=function(a){return new Ag(yg,a)},Hg=Fg(gb),yg={};var Kg=function(){this.Oh="";this.zs=Jg};Kg.prototype.fc=!0;var Jg={};Kg.prototype.Wa=function(){return this.Oh};Kg.prototype.toString=function(){return"SafeStyle{"+this.Oh+"}"};var Lg=function(a){if(a instanceof Kg&&a.constructor===Kg&&a.zs===Jg)return a.Oh;Le("expected object of type SafeStyle, got '"+a+ja+te(a));return"type_error:SafeStyle"};Kg.prototype.Ce=function(a){this.Oh=a;return this};
var Mg=(new Kg).Ce(""),Og=function(a){if(a instanceof Ag)return'url("'+Bg(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof gg?hg(a):Ng(String(a));if(/[{;}]/.test(a))throw new Ie("Value does not allow [{;}], got: %s.",[a]);return a},Ng=function(a){var b=a.replace(Pg,"$1").replace(Pg,"$1").replace(Qg,"url");if(Rg.test(b)){if(Sg.test(a))return Le("String value disallows comments, got: "+a),Xd;for(var c=b=!0,e=0;e<a.length;e++){var f=a.charAt(e);"'"==f&&c?b=!b:'"'==f&&b&&(c=!c)}if(!b||
!c)return Le("String value requires balanced quotes, got: "+a),Xd;if(!Tg(a))return Le("String value requires balanced square brackets and one identifier per pair of brackets, got: "+a),Xd}else return Le("String value allows only [-,.\"'%_!# a-zA-Z0-9\\[\\]] and simple functions, got: "+a),Xd;return Ug(a)},Tg=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,e=0;e<a.length;e++){var f=a.charAt(e);if("]"==f){if(b)return!1;b=!0}else if("["==f){if(!b)return!1;b=!1}else if(!b&&!c.test(f))return!1}return b},
Rg=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Qg=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,Pg=/\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Sg=/\/\*/,Ug=function(a){return a.replace(Qg,function(b,c,e,f){var g="";e=e.replace(/^(['"])(.*)\1$/,function(h,k,l){g=k;return l});b=(Gg(e)||Hg).Wa();return c+g+b+g+f})};var Wg=function(){this.Nh="";this.ys=Vg;this.fc=!0};Wg.prototype.Wa=function(){return this.Nh};Wg.prototype.Ce=function(a){this.Nh=a;return this};Wg.prototype.toString=function(){return"SafeStyleSheet{"+this.Nh+"}"};var Vg={};(new Wg).Ce("");var Yg=function(){this.Mf="";this.xs=Xg;this.Cg=null};v=Yg.prototype;v.ck=!0;v.Ac=function(){return this.Cg};v.fc=!0;v.Wa=function(){return this.Mf.toString()};v.toString=function(){return"SafeHtml{"+this.Mf+"}"};
var $g=function(a){return Zg(a).toString()},Zg=function(a){if(a instanceof Yg&&a.constructor===Yg&&a.xs===Xg)return a.Mf;Le("expected object of type SafeHtml, got '"+a+ja+te(a));return"type_error:SafeHtml"},bh=function(a){if(a instanceof Yg)return a;var b=typeof a==hd,c=null;b&&a.ck&&(c=a.Ac());return ah(Ff(b&&a.fc?a.Wa():String(a)),c)},ch=function(a){if(a instanceof Yg)return a;a=bh(a);return ah(xf($g(a)),a.Ac())},dh=function(a){if(a instanceof Yg)return a;a=bh(a);var b=$g(a);b=xf(b.replace(/  /g,
" &#160;"),void 0);return ah(b,a.Ac())},eh=/^[a-zA-Z0-9-]+$/,fh={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},gh={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ih=function(a,b,c){var e=String(a);if(!eh.test(e))throw Error("Invalid tag name <"+e+">.");if(e.toUpperCase()in gh)throw Error("Tag name <"+e+"> is not allowed for SafeHtml.");a=String(a);e=null;var f="<"+a,g="";if(b)for(z in b)if(Object.prototype.hasOwnProperty.call(b,
z)){if(!eh.test(z))throw Error('Invalid attribute name "'+z+'".');var h=b[z];if(null!=h){var k=a;var l=z;var m=h;if(m instanceof gg)m=hg(m);else if("style"==l.toLowerCase()){h=void 0;k=m;if(!we(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Kg)){m="";for(h in k)if(Object.prototype.hasOwnProperty.call(k,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("Name allows only [-_a-zA-Z0-9], got: "+h);var p=k[h];null!=
p&&(p=Array.isArray(p)?Xe(p,Og).join(" "):Og(p),m+=h+":"+p+";")}k=m?(new Kg).Ce(m):Mg}m=Lg(k)}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in fh)if(m instanceof vg)m=wg(m).toString();else if(m instanceof Ag)m=Bg(m);else if(typeof m===u)m=(Gg(m)||Hg).Wa();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+m+'" given.');}m.fc&&(m=m.Wa());D(typeof m===u||typeof m===
t,"String or number value expected, got "+typeof m+" with value: "+m);l=l+'="'+Ff(String(m))+'"';g+=" "+l}}var z=f+g;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===bg[a.toLowerCase()]?(D(!c.length,"Void tag <"+a+"> does not allow content."),z+=">"):(c=hh(c),z+=">"+$g(c)+"</"+a+">",e=c.Ac());(b=b&&b.dir)&&(e=/^(ltr|rtl|auto)$/i.test(b)?0:null);return ah(z,e)},jh=function(a,b){a=bh(a);var c=a.Ac(),e=[],f=function(g){Array.isArray(g)?E(g,f):(g=bh(g),e.push($g(g)),g=g.Ac(),0==c?c=g:0!=g&&c!=g&&(c=null))};
E(b,f);return ah(e.join($g(a)),c)},hh=function(a){return jh(kh,Array.prototype.slice.call(arguments))},lh=function(a,b){var c=hh(lf(arguments,1));c.Cg=a;return c},Xg={},ah=function(a,b){return(new Yg).Ce(a,b)};Yg.prototype.Ce=function(a,b){var c=dg();this.Mf=c?c.createHTML(a):a;this.Cg=b;return this};Yg.prototype.ix=function(a,b){this.Mf=a;this.Cg=b;return this};var kh=(new Yg).ix(x.trustedTypes&&x.trustedTypes.emptyHTML?x.trustedTypes.emptyHTML:"",0),mh=ah("<br>",0);var nh=function(a,b,c){Ne(hg(a),cd);D(!vf(hg(a)),dd);return ah(b,c||null)};var oh={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ph=ag(function(){if("undefined"===typeof document)return!1;var a=document.createElement(Wb),b=document.createElement(Wb);b.appendChild(document.createElement(Wb));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=Zg(kh);return!b.parentElement}),qh=function(a,b){if(ph())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Zg(b)},rh=function(a,b){if(oh[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
a.tagName+".");qh(a,b)},sh=function(a,b){b=b instanceof Ag?b:Ig(b);uf(a,"HTMLFormElement").action=Bg(b)},th=function(a,b){uf(a,"HTMLScriptElement");a.src=wg(b);(b=pe(a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)},uh=function(a,b){tf(a);b=b instanceof Ag?b:Ig(b);a.href=Bg(b)},vh=function(a,b,c,e,f){a=a instanceof Ag?a:Ig(a);b=b||x;c=c instanceof gg?hg(c):c||"";return b.open(Bg(a),c,e,f)};var wh=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},xh=function(a,b){return a=Ff(a,b)},Ah=function(a){return-1!=a.indexOf("&")?"document"in x?yh(a):zh(a):a},yh=function(a,b){var c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var e=b?b.createElement(Wb):x.document.createElement(Wb);return a.replace(Bh,function(f,g){var h=c[f];if(h)return h;"#"==g.charAt(0)&&(g=Number("0"+g.substr(1)),isNaN(g)||(h=String.fromCharCode(g)));h||(rh(e,nh(ig("Single HTML entity."),
f+" ")),h=e.firstChild.nodeValue.slice(0,-1));return c[f]=h})},zh=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.substr(1)),isNaN(c))?b:String.fromCharCode(c)}})},Bh=/&([^;\s<&]+);?/g,Ch=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Dh=String.prototype.repeat?function(a,b){return a.repeat(b)}:
function(a,b){return Array(b+1).join(a)},G=function(a,b,c){a=void 0!==c?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Dh("0",Math.max(0,b-c))+a},Eh=function(a){return null==a?"":String(a)},Fh=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},Gh=function(a,b){b=typeof b===u?Ch(b):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,e,f){return e+f.toUpperCase()})};var Hh=function(){return F("iPhone")&&!F("iPod")&&!F("iPad")},Ih=function(){return Hh()||F("iPad")||F("iPod")};var Jh=function(a){Jh[" "](a);return a};Jh[" "]=se;var Kh=function(a,b){try{return Jh(a[b]),!0}catch(c){}return!1},Lh=function(a,b,c,e){e=e?e(b):b;return Object.prototype.hasOwnProperty.call(a,e)?a[e]:a[e]=c(b)};var Mh=F("Opera"),H=F("Trident")||F("MSIE"),Nh=F(Na),Oh=Nh||H,I=F("Gecko")&&!(-1!=If.toLowerCase().indexOf("webkit")&&!F(Na))&&!(F("Trident")||F("MSIE"))&&!F(Na),J=-1!=If.toLowerCase().indexOf("webkit")&&!F(Na),Ph=F("Macintosh"),Qh=F("Windows"),Rh=F("Linux")||F("CrOS"),Sh=F("Android"),Th=Hh(),Uh=F("iPad"),Vh=F("iPod"),Wh=Ih(),Xh=function(){var a=x.document;return a?a.documentMode:void 0},Yh;
a:{var Zh="",$h=function(){var a=If;if(I)return/rv:([^\);]+)(\)|;)/.exec(a);if(Nh)return/Edge\/([\d\.]+)/.exec(a);if(H)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(J)return/WebKit\/(\S+)/.exec(a);if(Mh)return/(?:Version)[ \/]?(\S+)/.exec(a)}();$h&&(Zh=$h?$h[1]:"");if(H){var ai=Xh();if(null!=ai&&ai>parseFloat(Zh)){Yh=String(ai);break a}}Yh=Zh}var bi=Yh,ci={},K=function(a){return Lh(ci,a,function(){return 0<=Hf(bi,a)})},ei=function(a){return Number(di)>=a},fi;
if(x.document&&H){var gi=Xh();fi=gi?gi:parseInt(bi,10)||void 0}else fi=void 0;var di=fi;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var hi=!H||ei(9),ii=!I&&!H||H&&ei(9)||I&&K("1.9.1"),ji=H&&!K("9");var L=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};L.prototype.clone=function(){return new L(this.x,this.y)};L.prototype.toString=function(){return"("+this.x+", "+this.y+")"};L.prototype.nj=function(a){return a instanceof L&&ki(this,a)};var ki=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1},li=function(a,b){return new L(a.x-b.x,a.y-b.y)};v=L.prototype;v.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
v.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};v.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};v.translate=function(a,b){a instanceof L?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b===t&&(this.y+=b));return this};v.scale=function(a,b){this.x*=a;this.y*=typeof b===t?b:a;return this};var mi=function(a,b){this.width=a;this.height=b},ni=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};v=mi.prototype;v.clone=function(){return new mi(this.width,this.height)};v.toString=function(){return"("+this.width+" x "+this.height+")"};v.aspectRatio=function(){return this.width/this.height};v.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};v.su=function(a){return this.width<=a.width&&this.height<=a.height};
v.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};v.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};v.scale=function(a,b){this.width*=a;this.height*=typeof b===t?b:a;return this};v.fA=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return this.scale(a)};var M=function(a){return a?new oi(pi(a)):He||(He=new oi)},N=function(a){return qi(document,a)},qi=function(a,b){return typeof b===u?a.getElementById(b):b},ri=function(a,b){return(b||document).getElementsByTagName(String(a))},ti=function(a,b,c){return si(document,a,b,c)},ui=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):si(document,"*",a,b)},vi=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=b||document,
a=c.querySelectorAll&&c.querySelector&&a?c.querySelector(a?"."+a:""):si(document,"*",a,b)[0]||null);return a||null},si=function(a,b,c,e){a=e||a;b=b&&"*"!=b?String(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){e={};for(var f=0,g=0,h;h=a[g];g++)b==h.nodeName&&(e[f++]=h);e.length=f;return e}return a}a=a.getElementsByTagName(b||"*");if(c){e={};for(g=f=0;h=a[g];g++)b=h.className,
typeof b.split==r&&df(b.split(/\s+/),c)&&(e[f++]=h);e.length=f;return e}return a},xi=function(a,b){Lf(b,function(c,e){c&&typeof c==hd&&c.fc&&(c=c.Wa());"style"==e?a.style.cssText=c:"class"==e?a.className=c:"for"==e?a.htmlFor=c:wi.hasOwnProperty(e)?a.setAttribute(wi[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?a.setAttribute(e,c):a[e]=c})},wi={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:zc,maxlength:"maxLength",nonce:"nonce",
role:td,rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},yi=function(a){a=(a||window).document;a=a.compatMode==Ea?a.documentElement:a.body;return new mi(a.clientWidth,a.clientHeight)},zi=function(a){return a.scrollingElement?a.scrollingElement:J||a.compatMode!=Ea?a.body||a.documentElement:a.documentElement},Ai=function(a){return a?a.parentWindow||a.defaultView:window},Ci=function(a,b,c){return Bi(document,arguments)},Bi=function(a,b){var c=String(b[0]),e=b[1];if(!hi&&e&&
(e.name||e.type)){c=["<",c];e.name&&c.push(' name="',xh(e.name),'"');if(e.type){c.push(' type="',xh(e.type),'"');var f={};Uf(f,e);delete f.type;e=f}c.push(">");c=c.join("")}c=Di(a,c);e&&(typeof e===u?c.className=e:Array.isArray(e)?c.className=e.join(" "):xi(c,e));2<b.length&&Ei(a,c,b,2);return c},Ei=function(a,b,c,e){function f(k){k&&b.appendChild(typeof k===u?a.createTextNode(k):k)}for(;e<c.length;e++){var g=c[e];if(!ue(g)||we(g)&&0<g.nodeType)f(g);else{a:{if(g&&typeof g.length==t){if(we(g)){var h=
typeof g.item==r||typeof g.item==u;break a}if(ve(g)){h=typeof g.item==r;break a}}h=!1}E(h?jf(g):g,f)}}},Di=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Fi=function(a,b){D(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)},Gi=function(a,b){Ei(pi(a),a,arguments,1)},Hi=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Ii=function(a,b){D(null!=a&&null!=b,"goog.dom.insertSiblingBefore expects non-null arguments");
b.parentNode&&b.parentNode.insertBefore(a,b)},Ji=function(a,b,c){D(null!=a,"goog.dom.insertChildAt expects a non-null parent");a.insertBefore(b,a.childNodes[c]||null)},Ki=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Mi=function(a){return void 0!==a.firstElementChild?a.firstElementChild:Li(a.firstChild,!0)},Ni=function(a){return void 0!==a.nextElementSibling?a.nextElementSibling:Li(a.nextSibling,!0)},Li=function(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;
return a},Oi=function(a){return we(a)&&1==a.nodeType},Pi=function(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},pi=function(a){D(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Qi=function(a){return a.contentDocument||a.contentWindow.document},Ri=function(a,b){D(null!=a,"goog.dom.setTextContent expects a non-null value for node");
if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(D(a.lastChild));a.firstChild.data=String(b)}else{Hi(a);var c=pi(a);a.appendChild(c.createTextNode(String(b)))}},Si={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Ti={IMG:" ",BR:"\n"},Wi=function(a){return Ui(a)&&Vi(a)},Xi=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))},Ui=function(a){return H&&!K("9")?(a=
a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")},Vi=function(a){a=a.tabIndex;return typeof a===t&&0<=a&&32768>a},Zi=function(a){if(ji&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Yi(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");ji||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},$i=function(a){var b=[];Yi(a,b,!1);return b.join("")},Yi=function(a,b,c){if(!(a.nodeName in
Si))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 Ti)b.push(Ti[a.nodeName]);else for(a=a.firstChild;a;)Yi(a,b,c),a=a.nextSibling},aj=function(a,b,c,e){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==e||c<=e);){D("parentNode"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null},bj=function(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}},oi=function(a){this.A=a||x.document||document};v=oi.prototype;
v.s=M;v.g=function(a){return qi(this.A,a)};v.getElementsByTagName=function(a,b){return(b||this.A).getElementsByTagName(String(a))};v.ue=function(a,b,c){return si(this.A,a,b,c)};v.Hj=function(a,b){return ui(a,b||this.A)};v.te=function(a,b){return vi(a,b||this.A)};v.Va=function(a,b){b=vi(a,b||this.A);return D(b,"No element found with className: "+a)};v.hm=oi.prototype.ue;v.setProperties=xi;v.Pv=function(a){return yi(a||this.getWindow())};v.j=function(a,b,c){return Bi(this.A,arguments)};
v.createElement=function(a){return Di(this.A,a)};v.createTextNode=function(a){return this.A.createTextNode(String(a))};v.dA=function(a){var b=this.A;var c=Di(b,n);H?(rh(c,hh(mh,a)),c.removeChild(D(c.firstChild))):rh(c,a);if(1==c.childNodes.length)c=c.removeChild(D(c.firstChild));else{for(a=b.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c};v.jk=function(){return this.A.compatMode==Ea};v.getWindow=function(){var a=this.A;return a.parentWindow||a.defaultView};v.mo=function(){return zi(this.A)};
v.se=function(){var a=this.A,b=zi(a);a=a.parentWindow||a.defaultView;return H&&K("10")&&a.pageYOffset!=b.scrollTop?new L(b.scrollLeft,b.scrollTop):new L(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};v.appendChild=Fi;v.append=Gi;v.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case Qa:case Pa:case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case Ta:case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
v.Vk=Hi;v.cp=Ii;v.removeNode=Ki;v.Dj=function(a){return ii&&void 0!=a.children?a.children:We(a.childNodes,function(b){return 1==b.nodeType})};v.ve=Mi;v.vv=Ni;v.vx=Oi;v.contains=Pi;v.Cv=pi;v.fr=Ri;
v.Hc=function(a){var b;(b="A"==a.tagName&&a.hasAttribute("href")||a.tagName==Qa||a.tagName==Ya||a.tagName==Ua||a.tagName==Da?!a.disabled&&(!Ui(a)||Vi(a)):Wi(a))&&H?(a=!ve(a.getBoundingClientRect)||H&&null==a.parentElement?{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect(),a=null!=a&&0<a.height&&0<a.width):a=b;return a};
v.Xu=function(a,b,c,e){if(!b&&!c)return null;var f=b?String(b).toUpperCase():null;return aj(a,function(g){return(!f||g.nodeName==f)&&(!c||typeof g.className===u&&df(g.className.split(/\s+/),c))},!0,e)};var cj=function(a){this.A=a||{cookie:""}};v=cj.prototype;v.isEnabled=function(){return navigator.cookieEnabled};v.Kx=function(a){return!/[;=\s]/.test(a)};v.Lx=function(a){return!/[;\r\n]/.test(a)};
v.set=function(a,b,c){var e=!1;if(typeof c===hd){var f=c.eA;e=c.EE||!1;var g=c.domain||void 0;var h=c.path||void 0;var k=c.Dk}if(!this.Kx(a))throw Error('Invalid cookie name "'+a+'"');if(!this.Lx(b))throw Error('Invalid cookie value "'+b+'"');void 0===k&&(k=-1);c=g?";domain="+g:"";h=h?";path="+h:"";e=e?";secure":"";k=0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(De()+1E3*k)).toUTCString();this.BA(a+"="+b+c+h+k+e+(null!=f?";samesite="+f:""))};
v.get=function(a,b){for(var c=a+"=",e=this.Lj(),f=0,g;f<e.length;f++){g=wf(e[f]);if(0==g.lastIndexOf(c,0))return g.substr(c.length);if(g==a)return""}return b};v.remove=function(a,b,c){var e=this.zb(a);this.set(a,"",{Dk:0,path:b,domain:c});return e};v.ra=function(){return this.Ij().keys};v.pb=function(){return this.Ij().values};v.Cb=function(){return this.A.cookie?this.Lj().length:0};v.zb=function(a){return void 0!==this.get(a)};v.clear=function(){for(var a=this.Ij().keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
v.BA=function(a){this.A.cookie=a};v.Lj=function(){return(this.A.cookie||"").split(";")};v.Ij=function(){for(var a=this.Lj(),b=[],c=[],e,f,g=0;g<a.length;g++)f=wf(a[g]),e=f.indexOf("="),-1==e?(b.push(""),c.push(f)):(b.push(f.substring(0,e)),c.push(f.substring(e+1)));return{keys:b,values:c}};var dj=new cj("undefined"==typeof document?null:document);var ej=function(a,b,c){this.Px=c;this.Tt=a;this.Wz=b;this.Ch=0;this.L=null};ej.prototype.get=function(){if(0<this.Ch){this.Ch--;var a=this.L;this.L=a.next;a.next=null}else a=this.Tt();return a};ej.prototype.put=function(a){this.Wz(a);this.Ch<this.Px&&(this.Ch++,a.next=this.L,this.L=a)};var fj=function(a){x.setTimeout(function(){throw a;},0)},gj,hj=function(){var a=x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!F("Presto")&&(a=function(){var f=Di(document,Pa);f.style.display=ed;document.documentElement.appendChild(f);var g=f.contentWindow;f=g.document;f.open();f.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;f=A(function(l){if(("*"==k||l.origin==
k)&&l.data==h)this.port1.onmessage()},this);g.addEventListener("message",f,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,k)}}});if("undefined"!==typeof a&&!F("Trident")&&!F("MSIE")){var b=new a,c={},e=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var f=c.Zm;c.Zm=null;f()}};return function(f){e.next={Zm:f};e=e.next;b.port2.postMessage(0)}}return function(f){x.setTimeout(f,0)}};var ij=function(){this.Fi=this.Yd=null},kj=new ej(function(){return new jj},function(a){a.reset()},100);ij.prototype.add=function(a,b){var c=this.Nv();c.set(a,b);this.Fi?this.Fi.next=c:(D(!this.Yd),this.Yd=c);this.Fi=c};ij.prototype.remove=function(){var a=null;this.Yd&&(a=this.Yd,this.Yd=this.Yd.next,this.Yd||(this.Fi=null),a.next=null);return a};ij.prototype.Yz=function(a){kj.put(a)};ij.prototype.Nv=function(){return kj.get()};var jj=function(){this.next=this.scope=this.xc=null};
jj.prototype.set=function(a,b){this.xc=a;this.scope=b;this.next=null};jj.prototype.reset=function(){this.next=this.scope=this.xc=null};var pj=function(a,b){lj||mj();nj||(lj(),nj=!0);oj.add(a,b)},lj,mj=function(){if(x.Promise&&x.Promise.resolve){var a=x.Promise.resolve(void 0);lj=function(){a.then(qj)}}else lj=function(){var b=qj;!ve(x.setImmediate)||x.Window&&x.Window.prototype&&!F(Na)&&x.Window.prototype.setImmediate==x.setImmediate?(gj||(gj=hj()),gj(b)):x.setImmediate(b)}},nj=!1,oj=new ij,qj=function(){for(var a;a=oj.remove();){try{a.xc.call(a.scope)}catch(b){fj(b)}oj.Yz(a)}nj=!1};var tj=function(a){var b=re("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if(typeof a===u)return{message:a,name:"Unknown error",lineNumber:Ra,fileName:b,stack:Ra};var c=!1;try{var e=a.lineNumber||a.line||Ra}catch(g){e=Ra,c=!0}try{var f=a.fileName||a.filename||a.sourceURL||x.$googDebugFname||b}catch(g){f=Ra,c=!0}b=rj(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name))return c=a.message,null==c&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+
(a.constructor.name?a.constructor.name:sj(a.constructor))+'"':"Unknown Error of unknown type",typeof a.toString===r&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:e,fileName:f,stack:b||Ra};a.stack=b;return a},rj=function(a,b){b||(b={});b[uj(a)]=!0;var c=a.stack||"";(a=a.pE)&&!b[uj(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+=typeof a===u?a:a.message+"\n"),c+=rj(a,b));return c},uj=function(a){var b="";typeof a.toString===
r&&(b=""+a);return b+a.stack},vj=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||vj),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=wj(a||arguments.callee.caller,[]));return b},wj=function(a,b){var c=[];if(df(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(sj(a)+"(");for(var e=a.arguments,f=0;e&&f<e.length;f++){0<f&&c.push(", ");var g=e[f];switch(typeof g){case hd:g=g?hd:fd;break;case u:break;case t:g=
String(g);break;case "boolean":g=g?Rd:"false";break;case r:g=(g=sj(g))?g:"[fn]";break;default:g=typeof g}40<g.length&&(g=g.substr(0,40)+"...");c.push(g)}b.push(a);c.push(")\n");try{c.push(wj(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},sj=function(a){if(xj[a])return xj[a];a=String(a);if(!xj[a]){var b=/function\s+([^\(]+)/m.exec(a);xj[a]=b?b[1]:"[Anonymous]"}return xj[a]},xj={},yj=Object.freeze||function(a){return a};var zj=function(a,b,c,e,f){this.reset(a,b,c,e,f)};zj.prototype.Gg=null;var Aj=0;zj.prototype.reset=function(a,b,c,e,f){typeof f==t||Aj++;this.Fr=e||De();this.Jd=a;this.yy=b;this.$x=c;delete this.Gg};zj.prototype.JA=function(a){this.Gg=a};zj.prototype.hi=function(a){this.Jd=a};zj.prototype.getMessage=function(){return this.yy};var Bj=function(a){this.He=a;this.tf=this.sa=this.Jd=this.G=null},Cj=function(a,b){this.name=a;this.value=b};Cj.prototype.toString=function(){return this.name};var Dj=new Cj("SHOUT",1200),Ej=new Cj("SEVERE",1E3),Fj=new Cj("WARNING",900),Gj=new Cj("INFO",800),Hj=new Cj("CONFIG",700),Ij=new Cj("FINE",500),Jj=new Cj("FINER",400);v=Bj.prototype;v.getName=function(){return this.He};v.Vs=function(a){this.tf||(this.tf=[]);this.tf.push(a)};v.getParent=function(){return this.G};
v.Dj=function(){this.sa||(this.sa={});return this.sa};v.hi=function(a){this.Jd=a};v.no=function(){if(this.Jd)return this.Jd;if(this.G)return this.G.no();Le("Root logger has no level set.");return null};v.zx=function(a){return a.value>=this.no().value};v.log=function(a,b,c){this.zx(a)&&(ve(b)&&(b=b()),this.fu(this.rv(a,b,c)))};v.rv=function(a,b,c){a=new zj(a,String(b),this.He);c&&a.JA(c);return a};v.ni=function(a,b){this.log(Ej,a,b)};v.fm=function(a,b){this.log(Fj,a,b)};
v.info=function(a,b){this.log(Gj,a,b)};v.config=function(a,b){this.log(Hj,a,b)};v.qu=function(a,b){this.log(Ij,a,b)};v.fu=function(a){for(var b=this;b;)b.At(a),b=b.getParent()};v.At=function(a){if(this.tf)for(var b=0,c;c=this.tf[b];b++)c(a)};v.TA=function(a){this.G=a};v.Ss=function(a,b){this.Dj()[a]=b};
var Kj={},Lj=null,Mj=function(){Lj||(Lj=new Bj(""),Kj[""]=Lj,Lj.hi(Hj))},Nj=function(a){Mj();var b;if(!(b=Kj[a])){b=new Bj(a);var c=a.lastIndexOf("."),e=a.substr(c+1);c=Nj(a.substr(0,c));c.Ss(e,b);b.TA(c);Kj[a]=b}return b};var Oj="StopIteration"in x?x.StopIteration:{message:"StopIteration",stack:""},Pj=function(){};Pj.prototype.next=function(){throw Oj;};Pj.prototype.Os=function(){return this};var Qj=function(a,b){a=Nj(a);b&&a&&a.hi(b);return a},Rj=function(a,b,c){a&&a.qu(b,c)};var Sj=function(a,b){this.O={};this.W=[];this.fg=this.fa=0;var c=arguments.length;if(1<c){if(c%2)throw Error(db);for(var e=0;e<c;e+=2)this.set(arguments[e],arguments[e+1])}else a&&this.addAll(a)};v=Sj.prototype;v.Cb=function(){return this.fa};v.pb=function(){this.fe();for(var a=[],b=0;b<this.W.length;b++)a.push(this.O[this.W[b]]);return a};v.ra=function(){this.fe();return this.W.concat()};v.zb=function(a){return Tj(this.O,a)};
v.nj=function(a,b){if(this===a)return!0;if(this.fa!=a.Cb())return!1;b=b||Uj;this.fe();for(var c,e=0;c=this.W[e];e++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Uj=function(a,b){return a===b};v=Sj.prototype;v.clear=function(){this.O={};this.fg=this.fa=this.W.length=0};v.remove=function(a){return Tj(this.O,a)?(delete this.O[a],this.fa--,this.fg++,this.W.length>2*this.fa&&this.fe(),!0):!1};
v.fe=function(){if(this.fa!=this.W.length){for(var a=0,b=0;a<this.W.length;){var c=this.W[a];Tj(this.O,c)&&(this.W[b++]=c);a++}this.W.length=b}if(this.fa!=this.W.length){var e={};for(b=a=0;a<this.W.length;)c=this.W[a],Tj(e,c)||(this.W[b++]=c,e[c]=1),a++;this.W.length=b}};v.get=function(a,b){return Tj(this.O,a)?this.O[a]:b};v.set=function(a,b){Tj(this.O,a)||(this.fa++,this.W.push(a),this.fg++);this.O[a]=b};
v.addAll=function(a){if(a instanceof Sj)for(var b=a.ra(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};v.forEach=function(a,b){for(var c=this.ra(),e=0;e<c.length;e++){var f=c[e],g=this.get(f);a.call(b,g,f,this)}};v.clone=function(){return new Sj(this)};v.Ul=function(){this.fe();for(var a={},b=0;b<this.W.length;b++){var c=this.W[b];a[c]=this.O[c]}return a};
v.Os=function(a){this.fe();var b=0,c=this.fg,e=this,f=new Pj;f.next=function(){if(c!=e.fg)throw Error("The map has changed since the iterator was created");if(b>=e.W.length)throw Oj;var g=e.W[b++];return a?g:e.O[g]};return f};var Tj=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var O=function(){this.me=this.me;this.Ld=this.Ld};v=O.prototype;v.me=!1;v.isDisposed=function(){return this.me};v.hv=O.prototype.isDisposed;v.dispose=function(){this.me||(this.me=!0,this.o())};v.Hb=function(a){this.$s(Ce(P,a))};v.$s=function(a,b){this.me?void 0!==b?a.call(b):a():(this.Ld||(this.Ld=[]),this.Ld.push(void 0!==b?A(a,b):a))};v.o=function(){if(this.Ld)for(;this.Ld.length;)this.Ld.shift()()};
var P=function(a){a&&typeof a.dispose==r&&a.dispose()},Vj=function(a){for(var b=0,c=arguments.length;b<c;++b){var e=arguments[b];ue(e)?Vj.apply(null,e):P(e)}};var Wj=!H||ei(9),Xj=!H||ei(9),Yj=H&&!K("9");!J||K("528");I&&K("1.9b")||H&&K("8")||Mh&&K("9.5")||J&&K("528");I&&!K("8")||H&&K("9");var Zj="PointerEvent"in x,ak="MSPointerEvent"in x&&!(!x.navigator||!x.navigator.msPointerEnabled),bk=function(){if(!x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{x.addEventListener("test",se,b),x.removeEventListener("test",se,b)}catch(c){}return a}();var ck=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Qd=!1};ck.prototype.stopPropagation=function(){this.Qd=!0};ck.prototype.preventDefault=function(){this.defaultPrevented=!0};var dk=function(a){a.preventDefault()};var ek={qd:Zj?"pointerdown":ak?"MSPointerDown":Yc,rd:Zj?"pointerup":ak?"MSPointerUp":bd,Zd:Zj?"pointercancel":ak?"MSPointerCancel":"mousecancel",rs:Zj?"pointermove":ak?"MSPointerMove":Zc,ts:Zj?"pointerover":ak?"MSPointerOver":ad,ss:Zj?"pointerout":ak?"MSPointerOut":$c,ps:Zj?"pointerenter":ak?"MSPointerEnter":"mouseenter",qs:Zj?"pointerleave":ak?"MSPointerLeave":"mouseleave"},fk={qd:Yc,rd:bd,Zd:"mousecancel",rs:Zc,ts:ad,ss:$c,ps:"mouseenter",qs:"mouseleave"};var gk=function(a,b){ck.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.Rk=!1;this.pointerId=0;this.pointerType="";this.cb=null;a&&this.init(a,b)};C(gk,ck);var hk=yj([1,4,2]),ik=yj({2:"touch",3:"pen",4:"mouse"});v=gk.prototype;
v.init=function(a,b){var c=this.type=a.type,e=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?I&&(Kh(b,"nodeName")||(b=null)):c==ad?b=a.fromElement:c==$c&&(b=a.toElement);this.relatedTarget=b;e?(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0):(this.offsetX=J||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=
J||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;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c==Qc?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Rk=Ph?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=typeof a.pointerType===u?
a.pointerType:ik[a.pointerType]||"";this.state=a.state;this.cb=a;a.defaultPrevented&&this.preventDefault()};v.ux=function(a){return Wj?this.cb.button==a:this.type==q?0==a:!!(this.cb.button&hk[a])};v.mh=function(){return this.ux(0)&&!(Ph&&this.ctrlKey)};v.stopPropagation=function(){gk.i.stopPropagation.call(this);this.cb.stopPropagation?this.cb.stopPropagation():this.cb.cancelBubble=!0};
v.preventDefault=function(){gk.i.preventDefault.call(this);var a=this.cb;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Yj)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var jk="closure_listenable_"+(1E6*Math.random()|0),kk=function(a){return!(!a||!a[jk])},lk=0;var mk=function(a,b,c,e,f,g){this.listener=a;this.Qh=b;this.src=c;this.type=e;this.capture=!!f;this.$g=g;this.key=++lk;this.Oe=this.qg=!1};mk.prototype.xh=function(){this.Oe=!0;this.$g=this.src=this.Qh=this.listener=null};var nk=function(a){this.src=a;this.Aa={};this.bg=0};v=nk.prototype;v.add=function(a,b,c,e,f){var g=a.toString();a=this.Aa[g];a||(a=this.Aa[g]=[],this.bg++);var h=ok(a,b,e,f);-1<h?(b=a[h],c||(b.qg=!1)):(b=new mk(b,null,this.src,g,!!e,f),b.qg=c,a.push(b));return b};v.remove=function(a,b,c,e){a=a.toString();if(!(a in this.Aa))return!1;var f=this.Aa[a];b=ok(f,b,c,e);return-1<b?(f[b].xh(),ef(f,b),0==f.length&&(delete this.Aa[a],this.bg--),!0):!1};
v.tq=function(a){var b=a.type;if(!(b in this.Aa))return!1;var c=ff(this.Aa[b],a);c&&(a.xh(),0==this.Aa[b].length&&(delete this.Aa[b],this.bg--));return c};v.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Aa)if(!a||c==a){for(var e=this.Aa[c],f=0;f<e.length;f++)++b,e[f].xh();delete this.Aa[c];this.bg--}return b};v.Ng=function(a,b){a=this.Aa[a.toString()];var c=[];if(a)for(var e=0;e<a.length;++e){var f=a[e];f.capture==b&&c.push(f)}return c};
v.lf=function(a,b,c,e){a=this.Aa[a.toString()];var f=-1;a&&(f=ok(a,b,c,e));return-1<f?a[f]:null};v.hasListener=function(a,b){var c=void 0!==a,e=c?a.toString():"",f=void 0!==b;return Mf(this.Aa,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=e||f&&g[h].capture!=b))return!0;return!1})};var ok=function(a,b,c,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.Oe&&g.listener==b&&g.capture==!!c&&g.$g==e)return f}return-1};var pk="closure_lm_"+(1E6*Math.random()|0),qk={},rk=0,R=function(a,b,c,e,f){if(e&&e.once)return sk(a,b,c,e,f);if(Array.isArray(b)){for(var g=0;g<b.length;g++)R(a,b[g],c,e,f);return null}c=tk(c);return kk(a)?a.listen(b,c,we(e)?!!e.capture:!!e,f):uk(a,b,c,!1,e,f)},uk=function(a,b,c,e,f,g){if(!b)throw Error("Invalid event type");var h=we(f)?!!f.capture:!!f,k=vk(a);k||(a[pk]=k=new nk(a));c=k.add(b,c,e,h,g);if(c.Qh)return c;e=wk();c.Qh=e;e.src=a;e.listener=c;if(a.addEventListener)bk||(f=h),void 0===f&&
(f=!1),a.addEventListener(b.toString(),e,f);else if(a.attachEvent)a.attachEvent(xk(b.toString()),e);else if(a.addListener&&a.removeListener)D(b===Fb,"MediaQueryList only has a change event"),a.addListener(e);else throw Error("addEventListener and attachEvent are unavailable.");rk++;return c},wk=function(){var a=yk,b=Xj?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},sk=function(a,b,c,e,f){if(Array.isArray(b)){for(var g=0;g<b.length;g++)sk(a,
b[g],c,e,f);return null}c=tk(c);return kk(a)?a.xk(b,c,we(e)?!!e.capture:!!e,f):uk(a,b,c,!0,e,f)},zk=function(a,b,c,e,f){if(Array.isArray(b)){for(var g=0;g<b.length;g++)zk(a,b[g],c,e,f);return null}e=we(e)?!!e.capture:!!e;c=tk(c);if(kk(a))return a.R(b,c,e,f);if(!a)return!1;if(a=vk(a))if(b=a.lf(b,c,e,f))return Ak(b);return!1},Ak=function(a){if(typeof a===t||!a||a.Oe)return!1;var b=a.src;if(kk(b))return b.Or(a);var c=a.type,e=a.Qh;b.removeEventListener?b.removeEventListener(c,e,a.capture):b.detachEvent?
b.detachEvent(xk(c),e):b.addListener&&b.removeListener&&b.removeListener(e);rk--;(c=vk(b))?(c.tq(a),0==c.bg&&(c.src=null,b[pk]=null)):a.xh();return!0},Bk=function(a,b){if(!a)return 0;if(kk(a))return a.removeAllListeners(b);a=vk(a);if(!a)return 0;var c=0;b=b&&b.toString();for(var e in a.Aa)if(!b||e==b)for(var f=a.Aa[e].concat(),g=0;g<f.length;++g)Ak(f[g])&&++c;return c},xk=function(a){return a in qk?qk[a]:qk[a]="on"+a},Dk=function(a,b,c,e){var f=!0;if(a=vk(a))if(b=a.Aa[b.toString()])for(b=b.concat(),
a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.Oe&&(g=Ck(g,e),f=f&&!1!==g)}return f},Ck=function(a,b){var c=a.listener,e=a.$g||a.src;a.qg&&Ak(a);return c.call(e,b)},yk=function(a,b){if(a.Oe)return!0;if(!Xj){var c=b||re("window.event");b=new gk(c,this);var e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=b.currentTarget;f;f=f.parentNode)c.push(f);a=a.type;for(f=c.length-1;!b.Qd&&
0<=f;f--){b.currentTarget=c[f];var g=Dk(c[f],a,!0,b);e=e&&g}for(f=0;!b.Qd&&f<c.length;f++)b.currentTarget=c[f],g=Dk(c[f],a,!1,b),e=e&&g}return e}return Ck(a,new gk(b,this))},vk=function(a){a=a[pk];return a instanceof nk?a:null},Ek="__closure_events_fn_"+(1E9*Math.random()>>>0),tk=function(a){D(a,"Listener can not be null.");if(ve(a))return a;D(a.handleEvent,"An object listener must have handleEvent method.");a[Ek]||(a[Ek]=function(b){return a.handleEvent(b)});return a[Ek]};var Fk=function(a){O.call(this);this.za=a;this.W={}};C(Fk,O);var Gk=[];v=Fk.prototype;v.listen=function(a,b,c,e){return this.Ux(a,b,c,e)};v.Ux=function(a,b,c,e,f){Array.isArray(b)||(b&&(Gk[0]=b.toString()),b=Gk);for(var g=0;g<b.length;g++){var h=R(a,b[g],c||this.handleEvent,e||!1,f||this.za||this);if(!h)break;this.W[h.key]=h}return this};v.xk=function(a,b,c,e){return this.Cp(a,b,c,e)};
v.Cp=function(a,b,c,e,f){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.Cp(a,b[g],c,e,f);else{a=sk(a,b,c||this.handleEvent,e,f||this.za||this);if(!a)return this;this.W[a.key]=a}return this};v.yk=function(a,b,c,e){return this.Tx(a,b,c,e)};v.Tx=function(a,b,c,e,f){b.listen(a,c,e,f||this.za||this,this);return this};
v.R=function(a,b,c,e,f){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.R(a,b[g],c,e,f);else c=c||this.handleEvent,e=we(e)?!!e.capture:!!e,f=f||this.za||this,c=tk(c),e=!!e,b=kk(a)?a.lf(b,c,e,f):a?(a=vk(a))?a.lf(b,c,e,f):null:null,b&&(Ak(b),delete this.W[b.key]);return this};v.removeAll=function(){Lf(this.W,function(a,b){this.W.hasOwnProperty(b)&&Ak(a)},this);this.W={}};v.o=function(){Fk.i.o.call(this);this.removeAll()};
v.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var S=function(){O.call(this);this.Ob=new nk(this);this.Qs=this;this.Pk=null};C(S,O);S.prototype[jk]=!0;v=S.prototype;v.xe=function(){return this.Pk};v.Bl=function(a){this.Pk=a};v.addEventListener=function(a,b,c,e){R(this,a,b,c,e)};v.removeEventListener=function(a,b,c,e){zk(this,a,b,c,e)};
v.dispatchEvent=function(a){this.Hm();var b=this.xe();if(b){var c=[];for(var e=1;b;b=b.xe())c.push(b),D(1E3>++e,"infinite loop")}b=this.Qs;e=a.type||a;if(typeof a===u)a=new ck(a,b);else if(a instanceof ck)a.target=a.target||b;else{var f=a;a=new ck(e,b);Uf(a,f)}f=!0;if(c)for(var g=c.length-1;!a.Qd&&0<=g;g--){var h=a.currentTarget=c[g];f=h.ff(e,!0,a)&&f}a.Qd||(h=a.currentTarget=b,f=h.ff(e,!0,a)&&f,a.Qd||(f=h.ff(e,!1,a)&&f));if(c)for(g=0;!a.Qd&&g<c.length;g++)h=a.currentTarget=c[g],f=h.ff(e,!1,a)&&f;
return f};v.o=function(){S.i.o.call(this);this.removeAllListeners();this.Pk=null};v.listen=function(a,b,c,e){this.Hm();return this.Ob.add(String(a),b,!1,c,e)};v.xk=function(a,b,c,e){return this.Ob.add(String(a),b,!0,c,e)};v.R=function(a,b,c,e){return this.Ob.remove(String(a),b,c,e)};v.Or=function(a){return this.Ob.tq(a)};v.removeAllListeners=function(a){return this.Ob?this.Ob.removeAll(a):0};
v.ff=function(a,b,c){a=this.Ob.Aa[String(a)];if(!a)return!0;a=a.concat();for(var e=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.Oe&&g.capture==b){var h=g.listener,k=g.$g||g.src;g.qg&&this.Or(g);e=!1!==h.call(k,c)&&e}}return e&&!c.defaultPrevented};v.Ng=function(a,b){return this.Ob.Ng(String(a),b)};v.lf=function(a,b,c,e){return this.Ob.lf(String(a),b,c,e)};v.hasListener=function(a,b){return this.Ob.hasListener(void 0!==a?String(a):void 0,b)};v.Hm=function(){D(this.Ob,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Hk=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},Ik=function(a){this.Sh=a};Ik.prototype.kl=function(a){var b=[];this.ll(a,b);return b.join("")};
Ik.prototype.ll=function(a,b){if(null==a)b.push(fd);else{if(typeof a==hd){if(Array.isArray(a)){this.oA(a,b);return}if(a instanceof String||a instanceof Number||a instanceof Boolean)a=a.valueOf();else{this.qA(a,b);return}}switch(typeof a){case u:this.Lq(a,b);break;case t:this.pA(a,b);break;case "boolean":b.push(String(a));break;case r:b.push(fd);break;default:throw Error("Unknown type: "+typeof a);}}};
var Jk={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Kk=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;Ik.prototype.Lq=function(a,b){b.push('"',a.replace(Kk,function(c){var e=Jk[c];e||(e="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),Jk[c]=e);return e}),'"')};Ik.prototype.pA=function(a,b){b.push(isFinite(a)&&!isNaN(a)?String(a):fd)};
Ik.prototype.oA=function(a,b){var c=a.length;b.push("[");for(var e="",f=0;f<c;f++)b.push(e),e=a[f],this.ll(this.Sh?this.Sh.call(a,String(f),e):e,b),e=",";b.push("]")};Ik.prototype.qA=function(a,b){b.push("{");var c="",e;for(e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var f=a[e];typeof f!=r&&(b.push(c),this.Lq(e,b),b.push(":"),this.ll(this.Sh?this.Sh.call(a,e,f):f,b),c=",")}b.push("}")};var Lk=function(){};Lk.prototype.Um=null;Lk.prototype.getOptions=function(){return this.Um||(this.Um=this.sx())};var Mk,Nk=function(){};C(Nk,Lk);Nk.prototype.xn=function(){var a=this.to();return a?new ActiveXObject(a):new XMLHttpRequest};Nk.prototype.sx=function(){var a={};this.to()&&(a[0]=!0,a[1]=!0);return a};
Nk.prototype.to=function(){if(!this.Xo&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.Xo=c}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.Xo};Mk=new Nk;var Ok=function(a){if(a.pb&&typeof a.pb==r)return a.pb();if(typeof a===u)return a.split("");if(ue(a)){for(var b=[],c=a.length,e=0;e<c;e++)b.push(a[e]);return b}b=[];c=0;for(e in a)b[c++]=a[e];return b},Pk=function(a,b,c){if(a.forEach&&typeof a.forEach==r)a.forEach(b,c);else if(ue(a)||typeof a===u)E(a,b,c);else{if(a.ra&&typeof a.ra==r)var e=a.ra();else if(a.pb&&typeof a.pb==r)e=void 0;else if(ue(a)||typeof a===u){e=[];for(var f=a.length,g=0;g<f;g++)e.push(g)}else e=Nf(a);f=Ok(a);g=f.length;for(var h=
0;h<g;h++)b.call(c,f[h],e&&e[h],a)}};var Qk=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Sk=function(a,b){this.Y=0;this.Ib=void 0;this.ee=this.sc=this.G=null;this.Vg=this.uj=!1;if(a!=se)try{var c=this;a.call(b,function(e){c.Pe(2,e)},function(e){if(!(e instanceof Rk))try{if(e instanceof Error)throw e;throw Error("Promise rejected.");}catch(f){}c.Pe(3,e)})}catch(e){this.Pe(3,e)}},Tk=function(){this.next=this.context=this.Ie=this.Md=this.wd=null;this.kg=!1};Tk.prototype.reset=function(){this.context=this.Ie=this.Md=this.wd=null;this.kg=!1};
var Uk=new ej(function(){return new Tk},function(a){a.reset()},100),Vk=function(a,b,c){var e=Uk.get();e.Md=a;e.Ie=b;e.context=c;return e};Sk.prototype.then=function(a,b,c){null!=a&&Oe(a,jd);null!=b&&Oe(b,kd);return this.Rs(ve(a)?a:null,ve(b)?b:null,c)};Sk.prototype.$goog_Thenable=!0;v=Sk.prototype;v.OB=function(a,b,c){null!=a&&Oe(a,jd);null!=b&&Oe(b,kd);this.tm(Vk(a||se,b||null,c))};v.cancel=function(a){if(0==this.Y){var b=new Rk(a);pj(function(){this.Ym(b)},this)}};
v.Ym=function(a){0==this.Y&&(this.G?(this.G.Ct(this,a),this.G=null):this.Pe(3,a))};v.Ct=function(a,b){if(this.sc){for(var c=0,e=null,f=null,g=this.sc;g&&(g.kg||(c++,g.wd==a&&(e=g),!(e&&1<c)));g=g.next)e||(f=g);e&&(0==this.Y&&1==c?this.Ym(b):(f?this.Ez(f):this.iq(),this.Un(e,3,b)))}};v.tm=function(a){this.Dw()||2!=this.Y&&3!=this.Y||this.Dq();this.yz(a)};
v.Rs=function(a,b,c){var e=Vk(null,null,null);e.wd=new Sk(function(f,g){e.Md=a?function(h){try{var k=a.call(c,h);f(k)}catch(l){g(l)}}:f;e.Ie=b?function(h){try{var k=b.call(c,h);void 0===k&&h instanceof Rk?g(h):f(k)}catch(l){g(l)}}:g});e.wd.G=this;this.tm(e);return e.wd};v.ZB=function(a){D(1==this.Y);this.Y=0;this.Pe(2,a)};v.$B=function(a){D(1==this.Y);this.Y=0;this.Pe(3,a)};
v.Pe=function(a,b){if(0==this.Y){this===b&&(a=3,b=new TypeError("Promise cannot resolve to itself"));this.Y=1;a:{var c=b,e=this.ZB,f=this.$B;if(c instanceof Sk){c.OB(e,f,this);var g=!0}else if(Qk(c))c.then(e,f,this),g=!0;else{if(we(c))try{var h=c.then;if(ve(h)){Wk(c,h,e,f,this);g=!0;break a}}catch(k){f.call(this,k);g=!0;break a}g=!1}}g||(this.Ib=b,this.Y=a,this.G=null,this.Dq(),3!=a||b instanceof Rk||Xk(this,b))}};
var Wk=function(a,b,c,e,f){var g=!1,h=function(l){g||(g=!0,c.call(f,l))},k=function(l){g||(g=!0,e.call(f,l))};try{b.call(a,h,k)}catch(l){k(l)}};v=Sk.prototype;v.Dq=function(){this.uj||(this.uj=!0,pj(this.ou,this))};v.Dw=function(){return!!this.sc};v.yz=function(a){D(null!=a.Md);this.ee?this.ee.next=a:this.sc=a;this.ee=a};v.iq=function(){var a=null;this.sc&&(a=this.sc,this.sc=a.next,a.next=null);this.sc||(this.ee=null);null!=a&&D(null!=a.Md);return a};
v.Ez=function(a){D(this.sc);D(null!=a);a.next==this.ee&&(this.ee=a);a.next=a.next.next};v.ou=function(){for(var a;a=this.iq();)this.Un(a,this.Y,this.Ib);this.uj=!1};v.Un=function(a,b,c){3==b&&a.Ie&&!a.kg&&this.Jz();if(a.wd)a.wd.G=null,Yk(a,b,c);else try{a.kg?a.Md.call(a.context):Yk(a,b,c)}catch(e){Zk.call(null,e)}Uk.put(a)};var Yk=function(a,b,c){2==b?a.Md.call(a.context,c):a.Ie&&a.Ie.call(a.context,c)};Sk.prototype.Jz=function(){var a;for(a=this;a&&a.Vg;a=a.G)a.Vg=!1};
var Xk=function(a,b){a.Vg=!0;pj(function(){a.Vg&&Zk.call(null,b)})},Zk=fj,Rk=function(a){Ge.call(this,a)};C(Rk,Ge);Rk.prototype.name=Eb;var $k=function(a,b){S.call(this);this.De=a||1;this.ag=b||x;this.Rm=A(this.RB,this);this.yp=De()};C($k,S);v=$k.prototype;v.enabled=!1;v.aa=null;v.setInterval=function(a){this.De=a;this.aa&&this.enabled?(this.stop(),this.start()):this.aa&&this.stop()};v.RB=function(){if(this.enabled){var a=De()-this.yp;0<a&&a<.8*this.De?this.aa=this.ag.setTimeout(this.Rm,this.De-a):(this.aa&&(this.ag.clearTimeout(this.aa),this.aa=null),this.cu(),this.enabled&&(this.stop(),this.start()))}};v.cu=function(){this.dispatchEvent("tick")};
v.start=function(){this.enabled=!0;this.aa||(this.aa=this.ag.setTimeout(this.Rm,this.De),this.yp=De())};v.stop=function(){this.enabled=!1;this.aa&&(this.ag.clearTimeout(this.aa),this.aa=null)};v.o=function(){$k.i.o.call(this);this.stop();delete this.ag};var al=function(a,b,c){if(ve(a))c&&(a=A(a,c));else if(a&&typeof a.handleEvent==r)a=A(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:x.setTimeout(a,b||0)},bl=function(a){x.clearTimeout(a)};var cl=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,dl=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var e=a[c].indexOf("="),f=null;if(0<=e){var g=a[c].substring(0,e);f=a[c].substring(e+1)}else g=a[c];b(g,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}},el=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";if(b+=c){c=a.indexOf("#");0>c&&(c=a.length);var e=a.indexOf("?");if(0>e||e>c){e=c;var f=
""}else f=a.substring(e+1,c);a=[a.substr(0,e),f,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a},fl=function(a,b,c,e){for(var f=c.length;0<=(b=a.indexOf(c,b))&&b<e;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+f),!g||61==g||38==g||35==g)return b;b+=f+1}return-1},gl=/#|$/,hl=/[?&]($|#)/,il=function(a,b){for(var c=a.search(gl),e=0,f,g=[];0<=(f=fl(a,e,b,c));)g.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||c,c);g.push(a.substr(e));return g.join("").replace(hl,
"$1")};var jl=function(a){S.call(this);this.headers=new Sj;this.Hi=a||null;this.wa=!1;this.Gi=this.J=null;this.Bf=this.wp=this.Kc="";this.Ed=this.dk=this.gh=this.qj=!1;this.Zf=0;this.ui=null;this.zq="";this.Bi=this.wz=this.bs=!1};C(jl,S);jl.prototype.M=Qj("goog.net.XhrIo");var kl=/^https?$/i,ll=["POST","PUT"],ml=[];jl.prototype.Gt=function(){this.dispose();ff(ml,this)};
jl.prototype.send=function(a,b,c,e){if(this.J)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Kc+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Kc=a;this.Bf="";this.wp=b;this.qj=!1;this.wa=!0;this.J=this.St();this.Gi=this.Hi?this.Hi.getOptions():Mk.getOptions();this.J.onreadystatechange=A(this.fq,this);this.wz&&"onprogress"in this.J&&(this.J.onprogress=A(function(g){this.cq(g,!0)},this),this.J.upload&&(this.J.upload.onprogress=A(this.cq,this)));try{Rj(this.M,this.yc("Opening Xhr")),
this.dk=!0,this.J.open(b,String(a),!0),this.dk=!1}catch(g){Rj(this.M,this.yc("Error opening Xhr: "+g.message));this.Fg(5,g);return}a=c||"";var f=this.headers.clone();e&&Pk(e,function(g,h){f.set(h,g)});e=cf(f.ra(),nl);c=x.FormData&&a instanceof x.FormData;!df(ll,b)||e||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(g,h){this.J.setRequestHeader(h,g)},this);this.zq&&(this.J.responseType=this.zq);"withCredentials"in this.J&&this.J.withCredentials!==this.bs&&
(this.J.withCredentials=this.bs);try{this.en(),0<this.Zf&&(this.Bi=ol(this.J),Rj(this.M,this.yc("Will abort after "+this.Zf+"ms if incomplete, xhr2 "+this.Bi)),this.Bi?(this.J.timeout=this.Zf,this.J.ontimeout=A(this.$f,this)):this.ui=al(this.$f,this.Zf,this)),Rj(this.M,this.yc("Sending request")),this.gh=!0,this.J.send(a),this.gh=!1}catch(g){Rj(this.M,this.yc("Send error: "+g.message)),this.Fg(5,g)}};
var ol=function(a){return H&&K(9)&&typeof a.timeout===t&&void 0!==a.ontimeout},nl=function(a){return"content-type"==a.toLowerCase()};v=jl.prototype;v.St=function(){return this.Hi?this.Hi.xn():Mk.xn()};v.$f=function(){"undefined"!=typeof me&&this.J&&(this.Bf="Timed out after "+this.Zf+"ms, aborting",Rj(this.M,this.yc(this.Bf)),this.dispatchEvent("timeout"),this.abort(8))};v.Fg=function(a,b){this.wa=!1;this.J&&(this.Ed=!0,this.J.abort(),this.Ed=!1);this.Bf=b;this.In();this.ug()};
v.In=function(){this.qj||(this.qj=!0,this.dispatchEvent(Nb),this.dispatchEvent($b))};v.abort=function(){this.J&&this.wa&&(Rj(this.M,this.yc("Aborting")),this.wa=!1,this.Ed=!0,this.J.abort(),this.Ed=!1,this.dispatchEvent(Nb),this.dispatchEvent("abort"),this.ug())};v.o=function(){this.J&&(this.wa&&(this.wa=!1,this.Ed=!0,this.J.abort(),this.Ed=!1),this.ug(!0));jl.i.o.call(this)};v.fq=function(){this.isDisposed()||(this.dk||this.gh||this.Ed?this.eq():this.Zy())};v.Zy=function(){this.eq()};
v.eq=function(){if(this.wa&&"undefined"!=typeof me)if(this.Gi[1]&&4==this.pf()&&2==this.Tg())Rj(this.M,this.yc("Local request error detected and ignored"));else if(this.gh&&4==this.pf())al(this.fq,0,this);else if(this.dispatchEvent(rd),this.jh()){Rj(this.M,this.yc("Request complete"));this.wa=!1;try{this.sp()?(this.dispatchEvent(Nb),this.dispatchEvent(Id)):(this.Bf=this.Hv()+" ["+this.Tg()+"]",this.In())}finally{this.ug()}}};
v.cq=function(a,b){D("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(pl(a,"progress"));this.dispatchEvent(pl(a,b?"downloadprogress":"uploadprogress"))};var pl=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}};v=jl.prototype;
v.ug=function(a){if(this.J){this.en();var b=this.J,c=this.Gi[0]?se:null;this.Gi=this.J=null;a||this.dispatchEvent("ready");try{b.onreadystatechange=c}catch(e){(a=this.M)&&a.ni("Problem encountered resetting onreadystatechange: "+e.message,void 0)}}};v.en=function(){this.J&&this.Bi&&(this.J.ontimeout=null);this.ui&&(bl(this.ui),this.ui=null)};v.Xa=function(){return!!this.J};v.jh=function(){return 4==this.pf()};
v.sp=function(){var a=this.Tg();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}return b||0===a&&!this.yx()};v.yx=function(){var a=String(this.Kc).match(cl)[1]||null;!a&&x.self&&x.self.location&&(a=x.self.location.protocol,a=a.substr(0,a.length-1));return kl.test(a?a.toLowerCase():"")};v.pf=function(){return this.J?this.J.readyState:0};v.Tg=function(){try{return 2<this.pf()?this.J.status:-1}catch(a){return-1}};
v.Hv=function(){try{return 2<this.pf()?this.J.statusText:""}catch(a){return Rj(this.M,"Can not get status: "+a.message),""}};v.Qg=function(a){if(this.J){var b=this.J.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(x.JSON)try{var c=x.JSON.parse(a);D(typeof c==hd);var e=c;break a}catch(f){}e=Hk(a)}return e}};v.getResponseHeader=function(a){if(this.J&&this.jh())return a=this.J.getResponseHeader(a),null===a?void 0:a};
v.getAllResponseHeaders=function(){return this.J&&this.jh()?this.J.getAllResponseHeaders()||"":""};v.yc=function(a){return a+" ["+this.wp+" "+this.Kc+" "+this.Tg()+"]"};var ql=function(a,b){this.ne=this.eg=this.hd="";this.Le=null;this.gf=this.Qk="";this.Eb=this.Ex=!1;var c;a instanceof ql?(this.Eb=void 0!==b?b:a.Eb,this.Dl(a.hd),this.Gl(a.eg),this.sl(a.ne),this.Cl(a.Le),this.ji(a.getPath()),this.li(a.vb.clone()),this.ul(a.gf)):a&&(c=String(a).match(cl))?(this.Eb=!!b,this.Dl(c[1]||"",!0),this.Gl(c[2]||"",!0),this.sl(c[3]||"",!0),this.Cl(c[4]),this.ji(c[5]||"",!0),this.li(c[6]||"",!0),this.ul(c[7]||"",!0)):(this.Eb=!!b,this.vb=new rl(null,this.Eb))};v=ql.prototype;
v.toString=function(){var a=[],b=this.hd;b&&a.push(sl(b,tl,!0),":");var c=this.ne;if(c||"file"==b)a.push("//"),(b=this.eg)&&a.push(sl(b,tl,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Le,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Vj()&&"/"!=c.charAt(0)&&a.push("/"),a.push(sl(c,"/"==c.charAt(0)?ul:vl,!0));(c=this.oo())&&a.push("?",c);(c=this.gf)&&a.push("#",sl(c,wl));return a.join("")};
v.resolve=function(a){var b=this.clone(),c=a.Kw();c?b.Dl(a.hd):c=a.Nw();c?b.Gl(a.eg):c=a.Vj();c?b.sl(a.ne):c=a.Iw();var e=a.getPath();if(c)b.Cl(a.Le);else if(c=a.No()){if("/"!=e.charAt(0))if(this.Vj()&&!this.No())e="/"+e;else{var f=b.getPath().lastIndexOf("/");-1!=f&&(e=b.getPath().substr(0,f+1)+e)}f=e;if(".."==f||"."==f)e="";else if(-1!=f.indexOf("./")||-1!=f.indexOf("/.")){e=0==f.lastIndexOf("/",0);f=f.split("/");for(var g=[],h=0;h<f.length;){var k=f[h++];"."==k?e&&h==f.length&&g.push(""):".."==
k?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),e&&h==f.length&&g.push("")):(g.push(k),e=!0)}e=g.join("/")}else e=f}c?b.ji(e):c=a.Jw();c?b.li(a.vb.clone()):c=a.Ew();c&&b.ul(a.gf);return b};v.clone=function(){return new ql(this)};v.Dl=function(a,b){this.bc();if(this.hd=b?xl(a,!0):a)this.hd=this.hd.replace(/:$/,"");return this};v.Kw=function(){return!!this.hd};v.Gl=function(a,b){this.bc();this.eg=b?xl(a):a;return this};v.Nw=function(){return!!this.eg};
v.sl=function(a,b){this.bc();this.ne=b?xl(a,!0):a;return this};v.Vj=function(){return!!this.ne};v.Cl=function(a){this.bc();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.Le=a}else this.Le=null;return this};v.Iw=function(){return null!=this.Le};v.getPath=function(){return this.Qk};v.ji=function(a,b){this.bc();this.Qk=b?xl(a,!0):a;return this};v.No=function(){return!!this.Qk};v.Jw=function(){return""!==this.vb.toString()};
v.li=function(a,b){this.bc();a instanceof rl?(this.vb=a,this.vb.xl(this.Eb)):(b||(a=sl(a,yl)),this.vb=new rl(a,this.Eb));return this};v.setQuery=function(a,b){return this.li(a,b)};v.oo=function(){return this.vb.toString()};v.getQuery=function(){return this.oo()};v.Vb=function(a,b){this.bc();this.vb.set(a,b);return this};v.Dv=function(a){return this.vb.get(a)};v.ul=function(a,b){this.bc();this.gf=b?xl(a):a;return this};v.Ew=function(){return!!this.gf};
v.Hp=function(){this.bc();this.Vb("zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^De()).toString(36));return this};v.removeParameter=function(a){this.bc();this.vb.remove(a);return this};v.bc=function(){if(this.Ex)throw Error("Tried to modify a read-only Uri");};v.xl=function(a){this.Eb=a;this.vb&&this.vb.xl(a);return this};
var xl=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},sl=function(a,b,c){return typeof a===u?(a=encodeURI(a).replace(b,zl),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},zl=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},tl=/[#\/\?@]/g,vl=/[#\?:]/g,ul=/[#\?]/g,yl=/[#\?@]/g,wl=/#/g,rl=function(a,b){this.fa=this.ka=null;this.Uc=a||null;this.Eb=!!b};v=rl.prototype;
v.wc=function(){if(!this.ka&&(this.ka=new Sj,this.fa=0,this.Uc)){var a=this;dl(this.Uc,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)})}};v.Cb=function(){this.wc();return this.fa};v.add=function(a,b){this.wc();this.Ee();a=this.we(a);var c=this.ka.get(a);c||this.ka.set(a,c=[]);c.push(b);this.fa=Me(this.fa)+1;return this};v.remove=function(a){this.wc();a=this.we(a);return this.ka.zb(a)?(this.Ee(),this.fa=Me(this.fa)-this.ka.get(a).length,this.ka.remove(a)):!1};
v.clear=function(){this.Ee();this.ka=null;this.fa=0};v.zb=function(a){this.wc();a=this.we(a);return this.ka.zb(a)};v.forEach=function(a,b){this.wc();this.ka.forEach(function(c,e){E(c,function(f){a.call(b,f,e,this)},this)},this)};v.ra=function(){this.wc();for(var a=this.ka.pb(),b=this.ka.ra(),c=[],e=0;e<b.length;e++)for(var f=a[e],g=0;g<f.length;g++)c.push(b[e]);return c};
v.pb=function(a){this.wc();var b=[];if(typeof a===u)this.zb(a)&&(b=hf(b,this.ka.get(this.we(a))));else{a=this.ka.pb();for(var c=0;c<a.length;c++)b=hf(b,a[c])}return b};v.set=function(a,b){this.wc();this.Ee();a=this.we(a);this.zb(a)&&(this.fa=Me(this.fa)-this.ka.get(a).length);this.ka.set(a,[b]);this.fa=Me(this.fa)+1;return this};v.get=function(a,b){if(!a)return b;a=this.pb(a);return 0<a.length?String(a[0]):b};
v.kB=function(a,b){this.remove(a);0<b.length&&(this.Ee(),this.ka.set(this.we(a),jf(b)),this.fa=Me(this.fa)+b.length)};v.toString=function(){if(this.Uc)return this.Uc;if(!this.ka)return"";for(var a=[],b=this.ka.ra(),c=0;c<b.length;c++){var e=b[c],f=encodeURIComponent(String(e));e=this.pb(e);for(var g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}}return this.Uc=a.join("&")};v.Ee=function(){this.Uc=null};
v.clone=function(){var a=new rl;a.Uc=this.Uc;this.ka&&(a.ka=this.ka.clone(),a.fa=this.fa);return a};v.we=function(a){a=String(a);this.Eb&&(a=a.toLowerCase());return a};v.xl=function(a){a&&!this.Eb&&(this.wc(),this.Ee(),this.ka.forEach(function(b,c){var e=c.toLowerCase();c!=e&&(this.remove(c),this.kB(e,b))},this));this.Eb=a};v.extend=function(a){for(var b=0;b<arguments.length;b++)Pk(arguments[b],function(c,e){this.add(e,c)},this)};var Al=function(){this.sq=De()},Bl=null;Al.prototype.set=function(a){this.sq=a};Al.prototype.reset=function(){this.set(De())};Al.prototype.get=function(){return this.sq};var Cl=function(a){this.rz=a||"";Bl||(Bl=new Al);this.EB=Bl};v=Cl.prototype;v.lt=!0;v.qB=!0;v.wB=!0;v.tB=!0;v.nr=!1;v.xB=!1;var Dl=function(a){return 10>a?"0"+a:String(a)},El=function(a,b){a=(a.Fr-b)/1E3;b=a.toFixed(3);var c=0;if(1>a)c=2;else for(;100>a;)c++,a*=10;for(;0<c--;)b=" "+b;return b},Fl=function(a){Cl.call(this,a)};C(Fl,Cl);
var Gl=function(a,b){try{var c=tj(a);var e=c.fileName;null==e&&(e="");if(/^https?:\/\//i.test(e)){var f=Gg(e)||Hg,g=ig("view-source scheme plus HTTP/HTTPS URL"),h="view-source:"+Bg(f);Ne(hg(g),cd);D(!vf(hg(g)),dd);var k=Fg(h)}else k=Fg(hg(ig("sanitizedviewsrc")));return hh(dh("Message: "+c.message+"\nUrl: "),ih("a",{href:k,target:"_new"},c.fileName),dh("\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+c.stack+"-> [end]\n\nJS stack traversal:\n"+vj(b)+"-> "))}catch(l){return dh("Exception trying to expose exception! You win, we lose. "+
l)}};Fl.prototype.nr=!0;
Fl.prototype.Iu=function(a){if(!a)return kh;switch(a.Jd.value){case Dj.value:var b="dbg-sh";break;case Ej.value:b="dbg-sev";break;case Fj.value:b="dbg-w";break;case Gj.value:b="dbg-i";break;default:b="dbg-f"}var c=[];c.push(this.rz," ");if(this.qB){var e=new Date(a.Fr);c.push("[",Dl(e.getFullYear()-2E3)+Dl(e.getMonth()+1)+Dl(e.getDate())+" "+Dl(e.getHours())+":"+Dl(e.getMinutes())+":"+Dl(e.getSeconds())+"."+Dl(Math.floor(e.getMilliseconds()/10)),"] ")}this.wB&&c.push("[",El(a,this.EB.get()),"s] ");
this.tB&&c.push("[",a.$x,"] ");this.xB&&c.push("[",a.Jd.name,"] ");c=dh(c.join(""));e=kh;this.nr&&a.Gg&&(e=hh(mh,Gl(a.Gg)));a=dh(a.getMessage());b=ih("span",{"class":b},hh(a,e));return this.lt?hh(c,b,mh):hh(c,b)};var Il=function(a){Hl();return xg(a)},Hl=se;var Ll=function(){S.call(this);this.He="closure_frame"+Jl++;this.ak=[];Kl[this.He]=this},Ml;C(Ll,S);var Kl={},Jl=0,Nl=function(a,b){var c=M(a);Pk(b,function(e,f){Array.isArray(e)||(e=[e]);E(e,function(g){g=c.j(Qa,{type:Ac,name:f,value:g});a.appendChild(g)})})};v=Ll.prototype;v.M=Qj("goog.net.IframeIo");v.ia=null;v.Ja=null;v.Dd=null;v.Dy=0;v.wa=!1;v.bf=!1;v.si=!1;v.Kc=null;v.rh=null;v.Cd=null;v.vf=!1;
v.send=function(a,b,c,e){if(this.wa)throw Error(eb);this.Kc=a=new ql(a);b=b?b.toUpperCase():"GET";c&&a.Hp();(c=this.M)&&c.info("Sending iframe request: "+a+" ["+b+"]",void 0);Ml||(Ml=Ci("FORM"),Ml.acceptCharset="utf-8",c=Ml.style,c.position=hb,c.visibility=Ac,c.top=c.left="-10px",c.width=c.height="10px",c.overflow=Ac,document.body.appendChild(Ml));this.ia=Ml;"GET"==b&&Nl(this.ia,a.vb);e&&Nl(this.ia,e);e=this.ia;a=a.toString();Hl();sh(e,Fg(a));this.ia.method=b;this.Jq();this.fn()};
v.lA=function(a,b,c){if(this.wa)throw Error(eb);b=new ql(b||a.action);c&&b.Hp();(c=this.M)&&c.info("Sending iframe request from form: "+b,void 0);this.Kc=b;this.ia=a;sh(D(this.ia),b.toString());this.Jq()};v.abort=function(){if(this.wa){var a=this.M;a&&a.info("Request aborted",void 0);a=this.Pg();D(a);Bk(a);this.si=this.wa=this.bf=!1;this.dispatchEvent("abort");this.Ck()}};
v.o=function(){Rj(this.M,"Disposing iframeIo instance");this.wa&&(Rj(this.M,"Aborting active request"),this.abort());Ll.i.o.call(this);this.Ja&&this.Eq();this.Ln();delete this.pj;this.Kc=this.rh=this.ia=null;delete Kl[this.He]};v.jh=function(){return this.bf};v.sp=function(){return this.si};v.Xa=function(){return this.wa};v.Qg=function(){return Hk(this.rh)};v.IA=function(a){this.pj=a};
v.Jq=function(){this.wa=!0;this.bf=!1;this.Pt();if(H&&!K("11")){this.ia.target=this.Dd||"";this.wm();this.vf||R(this.Ja,rd,this.Lk,!1,this);try{this.rj=!1,this.ia.submit()}catch(z){this.vf||zk(this.Ja,rd,this.Lk,!1,this),this.Zc(1)}}else{Rj(this.M,"Setting up iframes and cloning form");this.wm();var a=this.Dd+"_inner",b=Qi(this.Ja);if(document.baseURI){var c=xh(a);c=nh(ig("Short HTML snippet, input escaped, safe URL, for performance"),'<head><base href="'+xh(document.baseURI)+'"></head><body><iframe id="'+
c+'" name="'+c+'"></iframe>')}else c=xh(a),c=nh(ig("Short HTML snippet, input escaped, for performance"),'<body><iframe id="'+c+'" name="'+c+'"></iframe>');Mh&&!J?rh(b.documentElement,c):b.write(Zg(c));this.vf||R(b.getElementById(a),Wc,this.Eh,!1,this);var e=ri(Ya,D(this.ia));c=0;for(var f=e.length;c<f;c++){var g=e[c].value;$i(e[c])!=g&&(Ri(e[c],g),e[c].value=g)}e=b.importNode(D(this.ia),!0);e.target=a;e.action=this.ia.action;b.body.appendChild(e);g=ri(Ua,D(this.ia));var h=ri(Ua,e);c=0;for(f=g.length;c<
f;c++)for(var k=ri("OPTION",g[c]),l=ri("OPTION",h[c]),m=0,p=k.length;m<p;m++)l[m].selected=k[m].selected;g=ri(Qa,D(this.ia));h=ri(Qa,e);c=0;for(f=g.length;c<f;c++)if("file"==g[c].type&&g[c].value!=h[c].value){Rj(this.M,"File input value not cloned properly.  Will submit using original form.");this.ia.target=a;e=this.ia;break}Rj(this.M,"Submitting form");try{this.rj=!1,e.submit(),b.close(),I&&al(this.Er,250,this)}catch(z){c=this.M,f=Gl(z,void 0),f=$g(f),c&&c.ni("Error when submitting form: "+f,void 0),
this.vf||zk(b.getElementById(a),Wc,this.Eh,!1,this),b.close(),this.Zc(2)}}};v.Lk=function(){if(this.Ja.readyState==Nb){zk(this.Ja,rd,this.Lk,!1,this);try{var a=Qi(this.Ja);if(H&&a.location==fb&&!navigator.onLine){this.Zc(9);return}}catch(b){this.Zc(1);return}this.Do(a)}};v.Eh=function(){if(!Mh||J||this.Ej().location!=fb){zk(this.Pg(),Wc,this.Eh,!1,this);try{this.Do(this.Ej())}catch(a){this.Zc(1)}}};
v.Do=function(a){Rj(this.M,"Iframe loaded");this.bf=!0;this.wa=!1;try{var b=a.body;this.rh=b.textContent||b.innerText}catch(f){var c=1}var e;c||typeof this.pj!=r||(e=this.pj(a))&&(c=4);(a=this.M)&&a.log(Jj,"Last content: "+this.rh,void 0);(a=this.M)&&a.log(Jj,"Last uri: "+this.Kc,void 0);c?(Rj(this.M,"Load event occurred but failed"),this.Zc(c,e)):(Rj(this.M,"Load succeeded"),this.si=!0,this.dispatchEvent(Nb),this.dispatchEvent(Id),this.Ck())};
v.Zc=function(a,b){this.rj||(this.wa=this.si=!1,this.bf=!0,4==a&&D(void 0!==b),this.dispatchEvent(Nb),this.dispatchEvent($b),this.Ck(),this.rj=!0)};v.Ck=function(){var a=this.M;a&&a.info("Ready for new requests",void 0);this.Eq();this.Ln();this.dispatchEvent("ready")};
v.Pt=function(){Rj(this.M,"Creating iframe");this.Dd=this.He+"_"+(this.Dy++).toString(36);this.Ja=M(this.ia).j(Pa,{name:this.Dd,id:this.Dd});H&&7>Number(bi)&&sh(this.Ja,Fg(hg(ig(Fc))));var a=this.Ja.style;a.visibility=Ac;a.width=a.height="10px";a.display=ed;J?a.marginTop=a.marginLeft="-10px":(a.position=hb,a.top=a.left="-10px")};v.wm=function(){M(this.ia).A.body.appendChild(this.Ja)};
v.Eq=function(){var a=this.Ja;a&&(a.onreadystatechange=null,a.onload=null,a.onerror=null,this.ak.push(a));this.Cd&&(bl(this.Cd),this.Cd=null);I||Mh&&!J?this.Cd=al(this.Mn,2E3,this):this.Mn();this.Dd=this.Ja=null};v.Mn=function(){this.Cd&&(bl(this.Cd),this.Cd=null);for(;0!=this.ak.length;){var a=this.ak.pop(),b=this.M;b&&b.info("Disposing iframe",void 0);Ki(a)}};v.fn=function(){this.ia&&this.ia==Ml&&Hi(this.ia)};v.Ln=function(){this.fn();this.ia=null};v.Ej=function(){return this.Ja?Qi(this.Pg()):null};
v.Pg=function(){return this.Ja?H&&!K("11")?this.Ja:Qi(this.Ja).getElementById(this.Dd+"_inner"):null};v.Er=function(){if(this.wa){var a=this.Ej();a&&!Kh(a,"documentUri")?(this.vf||zk(this.Pg(),Wc,this.Eh,!1,this),navigator.onLine?((a=this.M)&&a.fm("Silent Firefox error detected",void 0),this.Zc(3)):((a=this.M)&&a.fm("Firefox is offline so report offline error instead of silent error",void 0),this.Zc(9))):al(this.Er,250,this)}};var Ol=function(a,b,c){O.call(this);this.Cf=a;this.De=b||0;this.za=c;this.Bt=A(this.eu,this)};C(Ol,O);v=Ol.prototype;v.T=0;v.o=function(){Ol.i.o.call(this);this.stop();delete this.Cf;delete this.za};v.start=function(a){this.stop();this.T=al(this.Bt,void 0!==a?a:this.De)};v.stop=function(){this.Xa()&&bl(this.T);this.T=0};v.Xa=function(){return 0!=this.T};v.eu=function(){this.T=0;this.Cf&&this.Cf.call(this.za)};var Pl={},Ql=null,Rl=function(a){a=ze(a);delete Pl[a];Pf(Pl)&&Ql&&Ql.stop()},Tl=function(){Ql||(Ql=new Ol(function(){Sl(De())},20));var a=Ql;a.Xa()||a.start()},Sl=function(a){Lf(Pl,function(b){b.Iy(a)});Pf(Pl)||Tl()};var Ul=function(){S.call(this);this.Y=0;this.endTime=this.startTime=null};C(Ul,S);v=Ul.prototype;v.cB=function(){this.Y=1};v.bB=function(){this.Y=-1};v.dr=function(){this.Y=0};v.mk=function(){return 1==this.Y};v.kp=function(){return-1==this.Y};v.rp=function(){return 0==this.Y};v.Lc=function(){this.ac("begin")};v.gd=function(){this.ac("end")};v.Py=function(){this.ac("finish")};v.Xy=function(){this.ac("pause")};v.Yy=function(){this.ac("play")};v.$y=function(){this.ac("resume")};v.bz=function(){this.ac("stop")};
v.ac=function(a){this.dispatchEvent(a)};var Vl=function(a,b,c,e){Ul.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.Xf=a;this.ku=b;this.duration=c;this.om=e;this.coords=[];this.dg=!1;this.progress=0;this.uk=null};C(Vl,Ul);v=Vl.prototype;
v.play=function(a){if(a||this.rp())this.progress=0,this.coords=this.Xf;else if(this.mk())return!1;Rl(this);this.startTime=a=De();this.kp()&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.uk=this.startTime;this.progress||this.Lc();this.Yy();this.kp()&&this.$y();this.cB();var b=ze(this);b in Pl||(Pl[b]=this);Tl();this.zn(a);return!0};v.stop=function(a){Rl(this);this.dr();a&&(this.progress=1);this.Sr(this.progress);this.bz();this.gd()};
v.pause=function(){this.mk()&&(Rl(this),this.bB(),this.Xy())};v.o=function(){this.rp()||this.stop(!1);this.Ly();Vl.i.o.call(this)};v.Fn=function(){this.dispose()};v.Iy=function(a){this.zn(a)};
v.zn=function(a){Me(this.startTime);Me(this.endTime);Me(this.uk);a<this.startTime&&(this.endTime=a+this.endTime-this.startTime,this.startTime=a);this.progress=(a-this.startTime)/(this.endTime-this.startTime);1<this.progress&&(this.progress=1);this.uk=a;this.Sr(this.progress);1==this.progress?(this.dr(),Rl(this),this.Py(),this.gd()):this.mk()&&this.Kk()};
v.Sr=function(a){ve(this.om)&&(a=this.om(a));this.coords=Array(this.Xf.length);for(var b=0;b<this.Xf.length;b++)this.coords[b]=(this.ku[b]-this.Xf[b])*a+this.Xf[b]};v.Kk=function(){this.ac(lb)};v.Ly=function(){this.ac("destroy")};v.ac=function(a){this.dispatchEvent(new Wl(a,this))};var Wl=function(a,b){ck.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.Y};C(Wl,ck);var Xl=function(a,b,c,e){this.top=a;this.right=b;this.bottom=c;this.left=e};v=Xl.prototype;v.qf=function(){return this.right-this.left};v.clone=function(){return new Xl(this.top,this.right,this.bottom,this.left)};v.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
v.contains=function(a){return this&&a?a instanceof Xl?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};v.expand=function(a,b,c,e){we(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(e));return this};
v.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};v.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};v.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
v.translate=function(a,b){a instanceof L?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Me(a),this.left+=a,this.right+=a,typeof b===t&&(this.top+=b,this.bottom+=b));return this};v.scale=function(a,b){b=typeof b===t?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Yl=function(a,b,c,e){this.left=a;this.top=b;this.width=c;this.height=e};v=Yl.prototype;v.clone=function(){return new Yl(this.left,this.top,this.width,this.height)};v.SB=function(){return new Xl(this.top,this.left+this.width,this.top+this.height,this.left)};v.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
v.tx=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var e=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(e<=a)return this.left=b,this.top=e,this.width=c-b,this.height=a-e,!0}return!1};v.contains=function(a){return a instanceof L?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
v.vo=function(){return new mi(this.width,this.height)};v.Mv=function(){return new L(this.left,this.top)};v.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};v.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};
v.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};v.translate=function(a,b){a instanceof L?(this.left+=a.x,this.top+=a.y):(this.left+=Me(a),typeof b===t&&(this.top+=b));return this};v.scale=function(a,b){b=typeof b===t?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var $l=function(a,b,c){if(typeof b===u)(b=Zl(a,b))&&(a.style[b]=c);else for(var e in b){c=a;var f=b[e],g=Zl(c,e);g&&(c.style[g]=f)}},am={},Zl=function(a,b){var c=am[b];if(!c){var e=Fh(b);c=e;void 0===a.style[e]&&(e=(J?"Webkit":I?"Moz":H?"ms":Mh?"O":null)+Gh(e),void 0!==a.style[e]&&(c=e));am[b]=c}return c},bm=function(a,b){var c=pi(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},cm=function(a,b){return bm(a,b)||
(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},dm=function(a){return cm(a,pd)},fm=function(a,b,c){if(b instanceof L){var e=b.x;b=b.y}else e=b,b=c;a.style.left=em(e,!1);a.style.top=em(b,!1)},gm=function(a){a=a?pi(a):document;return!H||ei(9)||M(a).jk()?a.documentElement:a.body},hm=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},im=function(a){if(H&&!ei(8))return D(a&&"offsetParent"in a),a.offsetParent;var b=pi(a),c=cm(a,pd),e=c==dc||c==
hb;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=cm(a,pd),e=e&&"static"==c&&a!=b.documentElement&&a!=b.body,!e&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==dc||c==hb||"relative"==c))return a;return null},km=function(a){for(var b=new Xl(0,Infinity,Infinity,0),c=M(a),e=c.A.body,f=c.A.documentElement,g=c.mo();a=im(a);)if(!(H&&0==a.clientWidth||J&&0==a.clientHeight&&a==e)&&a!=e&&a!=f&&cm(a,"overflow")!=Wd){var h=jm(a),k=new L(a.clientLeft,a.clientTop);
h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}e=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,e);b.top=Math.max(b.top,g);c=c.Pv();b.right=Math.min(b.right,e+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},nm=function(a,b,c){var e=(b=b||zi(document))||zi(document),f=jm(a),g=jm(e),h=lm(e);if(e==zi(document)){var k=
f.x-e.scrollLeft;f=f.y-e.scrollTop;H&&!ei(10)&&(k+=h.left,f+=h.top)}else k=f.x-g.x-h.left,f=f.y-g.y-h.top;h=mm(a);a=e.clientWidth-h.width;h=e.clientHeight-h.height;g=e.scrollLeft;e=e.scrollTop;c?(g+=k-a/2,e+=f-h/2):(g+=Math.min(k,Math.max(k-a,0)),e+=Math.min(f,Math.max(f-h,0)));c=new L(g,e);b.scrollLeft=c.x;b.scrollTop=c.y},jm=function(a){var b=pi(a);Pe(a,"Parameter is required");var c=new L(0,0),e=gm(b);if(a==e)return c;a=hm(a);b=M(b).se();c.x=a.left+b.x;c.y=a.top+b.y;return c},pm=function(a,b){a=
om(a);b=om(b);return new L(a.x-b.x,a.y-b.y)},qm=function(a){a=hm(a);return new L(a.left,a.top)},om=function(a){D(a);if(1==a.nodeType)return qm(a);a=a.changedTouches?a.changedTouches[0]:a;return new L(a.clientX,a.clientY)},rm=function(a,b,c){if(b instanceof mi)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=em(b,!0);a.style.height=em(c,!0)},em=function(a,b){typeof a==t&&(a=(b?Math.round(a):a)+qd);return a},sm=function(a,b){if(cm(b,"display")!=ed)return a(b);
var c=b.style,e=c.display,f=c.visibility,g=c.position;c.visibility=Ac;c.position=hb;c.display="inline";a=a(b);c.display=e;c.position=g;c.visibility=f;return a},mm=function(a){var b=a.offsetWidth,c=a.offsetHeight,e=J&&!b&&!c;return(void 0===b||e)&&a.getBoundingClientRect?(a=hm(a),new mi(a.right-a.left,a.bottom-a.top)):new mi(b,c)},tm=function(a){var b=jm(a);a=sm(mm,a);return new Yl(b.x,b.y,a.width,a.height)},um=function(a,b){D(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:
"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},T=function(a,b){a.style.display=b?"":ed},vm=function(a){return"rtl"==cm(a,"direction")},wm=I?"MozUserSelect":J||Nh?"WebkitUserSelect":null,xm=function(a,b,c){c=c?null:a.getElementsByTagName("*");if(wm){if(b=b?ed:"",a.style&&(a.style[wm]=b),c){a=0;for(var e;e=c[a];a++)e.style&&(e.style[wm]=b)}}else if(H||Mh)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;e=c[a];a++)e.setAttribute("unselectable",b)},ym=function(a,b,c,e){if(/^\d+px?$/.test(b))return parseInt(b,
10);var f=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[e];a.style[c]=f;a.runtimeStyle[c]=g;return+b},zm=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?ym(a,b,Uc,"pixelLeft"):0},Am={thin:2,medium:4,thick:6},Bm=function(a,b){if((a.currentStyle?a.currentStyle[b+"Style"]:null)==ed)return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in Am?Am[b]:ym(a,b,Uc,"pixelLeft")},lm=function(a){if(H&&!ei(9)){var b=Bm(a,"borderLeft"),c=Bm(a,
"borderRight"),e=Bm(a,"borderTop");a=Bm(a,"borderBottom");return new Xl(e,c,a,b)}b=bm(a,"borderLeftWidth");c=bm(a,"borderRightWidth");e=bm(a,"borderTopWidth");a=bm(a,"borderBottomWidth");return new Xl(parseFloat(e),parseFloat(c),parseFloat(a),parseFloat(b))};var Cm=function(){if(Qh){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(If))?a[1]:"0"}return Ph?(a=/10[_.][0-9_.]+/,(a=a.exec(If))?a[0].replace(/_/g,"."):"10"):Sh?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(If))?a[1]:""):Th||Uh||Vh?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(If))?a[1].replace(/_/g,"."):""):""}();var Dm=Xf(),Em=Hh()||F("iPod"),Fm=F("iPad"),Gm=$f(),Hm=Yf(),Im=Zf()&&!Ih();var Jm=function(a){return(a=a.exec(If))?a[1]:""},Km=function(){if(Dm)return Jm(/Firefox\/([0-9.]+)/);if(H||Nh||Mh)return bi;if(Hm)return Ih()?Jm(/CriOS\/([0-9.]+)/):Jm(/Chrome\/([0-9.]+)/);if(Im&&!Ih())return Jm(/Version\/([0-9.]+)/);if(Em||Fm){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(If);if(a)return a[1]+"."+a[2]}else if(Gm)return(a=Jm(/Android\s+([0-9.]+)/))?a:Jm(/Version\/([0-9.]+)/);return""}();var Lm=function(){var a=Im&&0<=Hf(Km,10),b=Wh&&0<=Hf(Cm,10);return I||a||b};var Mm=function(a,b,c,e,f){Vl.call(this,b,c,e,f);this.element=a};C(Mm,Vl);v=Mm.prototype;v.cg=se;v.ed=function(){void 0===this.ic&&(this.ic=vm(this.element));return this.ic};v.Kk=function(){this.cg();Mm.i.Kk.call(this)};v.gd=function(){this.cg();Mm.i.gd.call(this)};v.Lc=function(){this.cg();Mm.i.Lc.call(this)};var Nm=function(a,b,c,e,f){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Mm.call(this,a,b,c,e,f)};C(Nm,Mm);
Nm.prototype.cg=function(){if(this.dg){var a=this.element,b=Math.round(this.coords[0]);b=Math.max(b,0);vm(a)?Lm()?a.scrollLeft=-b:Oh&&K("8")?a.scrollLeft=b:a.scrollLeft=a.scrollWidth-b-a.clientWidth:a.scrollLeft=b}else this.element.scrollLeft=Math.round(this.coords[0]);this.element.scrollTop=Math.round(this.coords[1])};var Om=function(a,b,c,e,f){typeof b===t&&(b=[b]);typeof c===t&&(c=[c]);Mm.call(this,a,b,c,e,f);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.sh=-1};
C(Om,Mm);var Pm=1/1024;v=Om.prototype;v.cg=function(){var a=this.coords[0];Math.abs(a-this.sh)>=Pm&&(um(this.element,a),this.sh=a)};v.Lc=function(){this.sh=-1;Om.i.Lc.call(this)};v.gd=function(){this.sh=-1;Om.i.gd.call(this)};v.show=function(){this.element.style.display=""};v.Dc=function(){this.element.style.display=ed};var Qm=function(a,b,c){Om.call(this,a,1,0,b,c)};C(Qm,Om);Qm.prototype.Lc=function(){this.show();Qm.i.Lc.call(this)};Qm.prototype.gd=function(){this.Dc();Qm.i.gd.call(this)};
var Rm=function(a,b,c){Om.call(this,a,0,1,b,c)};C(Rm,Om);Rm.prototype.Lc=function(){this.show();Rm.i.Lc.call(this)};var Sm=function(a){return 1-Math.pow(1-a,3)},Tm=function(a){return 3*a*a-2*a*a*a};var Um,Vm=/org\.mozilla|com\.google|org\.jdom|Object|java\.lang/;function Wm(a,b,c){Um&&(Um.Fn(),Um=null);a&&Vm.test(a)&&(a="Server Error");var e=N("sites-notice");c?Ri(e,a):(c=D(e),Hl(),a=ah(a,null),rh(c,a));a=N("sites-status");a.style.display==ed&&(Um=new Rm(a,b||50),Um.play());return a}B("JOT_setStatusMsg",Wm);webspace.page.setStatusMsg=Wm;function Xm(a){Um&&(Um.Fn(),Um=null);var b=N("sites-status");Um=new Qm(b,a&&typeof a==t?a:50);R(Um,"end",function(){Hi(N("sites-notice"))},!1);Um.play()}
B("JOT_clearStatusMsg",Xm);var Ym=function(){jl.call(this)};w(Ym,jl);var Zm=function(a,b,c,e,f,g,h){var k=new Ym;b=A(k.Et,k,b,c);R(k,Id,b);R(k,$b,b);R(k,"timeout",b);R(k,"abort",b);R(k,"ready",k.dispose,!1,k);k.send(a,e,f,g,h)};Ym.prototype.send=function(a,b,c,e,f){a=new ql(a);a.Vb("jot.xtok",dj.get("jotxtok"));if(f)for(var g in f)a.Vb(g,f[g]);jl.prototype.send.call(this,a.toString(),b,c,e)};
Ym.prototype.Et=function(a,b,c){try{var e=c.target.Qg()}catch(f){}e&&e.error&&"not-logged-in"==e.error?Wm('You need to be signed in to complete this action. Click <a href="'+(webspace.signInUrl+'">here</a> to sign in again.')):c.type==Id&&a?a(c):c.type!=Id&&b&&b(c)};var $m=function(){Ll.call(this);this.IA(this.LB)};w($m,Ll);$m.prototype.xm=function(a,b,c){a[b]?a[b].value=c:(b=Ci(Va,{style:"display:none;"},Ci(Qa,{name:b,value:c,type:Ac})),a.appendChild(b))};$m.prototype.LB=function(a){var b=null;void 0!==Ai(a).rc&&(b=502);return b};$m.prototype.ct=function(a){var b=dj.get("jotxtok")||"";this.xm(a,"jot.xtok",b)};var an=function(a){a=a.className;return typeof a===u&&a.match(/\S+/g)||[]},bn=function(a,b){for(var c=an(a),e=lf(arguments,1),f=c.length+e.length,g=0;g<e.length;g++)df(c,e[g])||c.push(e[g]);e=c.join(" ");a.className=e;return c.length==f},dn=function(a,b){var c=an(a),e=lf(arguments,1),f=cn(c,e),g=f.join(" ");a.className=g;return f.length==c.length-e.length},cn=function(a,b){return We(a,function(c){return!df(b,c)})};var en=function(a){var b=a.type;if(typeof b===u)switch(b.toLowerCase()){case Hb:case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case vd:b=[];for(var c,e=0;c=a.options[e];e++)c.selected&&b.push(c.value);return b.length?b:null}return null!=a.value?a.value:null};var hn=function(a,b,c,e,f,g){if(J&&!K("525"))return!0;if(Ph&&f)return fn(a);if(f&&!e)return!1;if(!I){typeof b===t&&(b=gn(b));var h=17==b||18==b||Ph&&91==b;if((!c||Ph)&&h||Ph&&16==b&&(e||g))return!1}if((J||Nh)&&e&&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(H&&e&&b==a)return!1;switch(a){case 13:return I?g||f?!1:!(c&&e):!0;case 27:return!(J||Nh||I)}return I&&(e||f||g)?!1:fn(a)},fn=function(a){if(48<=a&&57>=a||96<=
a&&106>=a||65<=a&&90>=a||(J||Nh)&&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:case 163:case 58:return!0;case 173:return I;default:return!1}},gn=function(a){if(I)a=jn(a);else if(Ph&&J)switch(a){case 93:a=91}return a},jn=function(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 kn=function(a){S.call(this);this.m=a;R(a,Pc,this.ad,!1,this);R(a,q,this.Cc,!1,this)};C(kn,S);kn.prototype.ad=function(a){(13==a.keyCode||J&&3==a.keyCode)&&this.Jn(a)};kn.prototype.Cc=function(a){this.Jn(a)};kn.prototype.Jn=function(a){var b=new ln(a);if(this.dispatchEvent(b)){b=new mn(a);try{this.dispatchEvent(b)}finally{a.stopPropagation()}}};kn.prototype.o=function(){kn.i.o.call(this);zk(this.m,Pc,this.ad,!1,this);zk(this.m,q,this.Cc,!1,this);delete this.m};
var mn=function(a){gk.call(this,a.cb);this.type=ib};C(mn,gk);var ln=function(a){gk.call(this,a.cb);this.type="beforeaction"};C(ln,gk);var nn={ms:["BC","AD"],ls:["Before Christ","Anno Domini"],vs:"JFMAMJJASOND".split(""),Fs:"JFMAMJJASOND".split(""),os:"January February March April May June July August September October November December".split(" "),Es:"January February March April May June July August September October November December".split(" "),Bs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Hs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Ms:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Js:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Ds:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Is:"Sun Mon Tue Wed Thu Fri Sat".split(" "),sD:"SMTWTFS".split(""),Gs:"SMTWTFS".split(""),Cs:["Q1","Q2","Q3","Q4"],ws:["1st quarter","2nd quarter","3rd quarter","4th quarter"],es:["AM","PM"],jm:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],nm:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],hs:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Ii:6,lE:[5,6],Ji:5},on=nn;
on=nn;var pn=function(a,b,c,e,f){a=new Date(a,b,c);f=f||0;return a.valueOf()+864E5*(((void 0!==e?e:3)-f+7)%7-((a.getDay()+6)%7-f+7)%7)},qn=function(a,b,c){typeof a===t?(this.S=this.Sm(a,b||0,c||1),this.yh(c||1)):we(a)?(this.S=this.Sm(a.getFullYear(),a.getMonth(),a.getDate()),this.yh(a.getDate())):(this.S=new Date(De()),a=this.S.getDate(),this.S.setHours(0),this.S.setMinutes(0),this.S.setSeconds(0),this.S.setMilliseconds(0),this.yh(a))};v=qn.prototype;
v.Sm=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};v.Zn=on.Ii;v.$n=on.Ji;v.clone=function(){var a=new qn(this.S);a.Zn=this.Zn;a.$n=this.$n;return a};v.getFullYear=function(){return this.S.getFullYear()};v.getYear=function(){return this.getFullYear()};v.getMonth=function(){return this.S.getMonth()};v.getDate=function(){return this.S.getDate()};v.getTime=function(){return this.S.getTime()};v.getDay=function(){return this.S.getDay()};v.getUTCFullYear=function(){return this.S.getUTCFullYear()};
v.getUTCMonth=function(){return this.S.getUTCMonth()};v.getUTCDate=function(){return this.S.getUTCDate()};v.getUTCDay=function(){return this.S.getDay()};v.getUTCHours=function(){return this.S.getUTCHours()};v.getUTCMinutes=function(){return this.S.getUTCMinutes()};v.getTimezoneOffset=function(){return this.S.getTimezoneOffset()};v.Kv=function(){var a=this.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b);b=60*(b-c);a=(0<a?"-":"+")+G(c,2)+":"+G(b,2)}return a};
v.set=function(a){this.S=new Date(a.getFullYear(),a.getMonth(),a.getDate())};v.setFullYear=function(a){this.S.setFullYear(a)};v.setYear=function(a){this.setFullYear(a)};v.setMonth=function(a){this.S.setMonth(a)};v.setDate=function(a){this.S.setDate(a)};v.setTime=function(a){this.S.setTime(a)};v.setUTCFullYear=function(a){this.S.setUTCFullYear(a)};v.setUTCMonth=function(a){this.S.setUTCMonth(a)};v.setUTCDate=function(a){this.S.setUTCDate(a)};
v.add=function(a){if(a.pC||a.vy){var b=this.getMonth()+a.vy+12*a.pC,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var e=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:e=30;break a}e=31}e=Math.min(e,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}a.Ut&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.Ut),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),
this.setDate(a.getDate()),this.yh(a.getDate()))};v.TB=function(a,b){return[this.getFullYear(),G(this.getMonth()+1,2),G(this.getDate(),2)].join(a?"-":"")+(b?this.Kv():"")};v.nj=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};v.toString=function(){return this.TB()};v.yh=function(a){this.getDate()!=a&&this.S.setUTCHours(this.S.getUTCHours()+(this.getDate()<a?1:-1))};v.valueOf=function(){return this.S.valueOf()};var rn=function(){},tn=function(a){if(typeof a==t){var b=new rn;b.vr=a;var c=a;if(0==c)c="Etc/GMT";else{var e=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",G(c,2));c=e.join("")}b.Sl=c;c=a;0==c?c="UTC":(e=["UTC",0>c?"+":"-"],c=Math.abs(c),e.push(Math.floor(c/60)%100),c%=60,0!=c&&e.push(":",c),c=e.join(""));a=sn(a);b.Wl=[c,c];b.Xd={UD:a,mm:a};b.zi=[];return b}b=new rn;b.Sl=a.id;b.vr=-a.std_offset;b.Wl=a.names;b.Xd=a.names_ext;b.zi=a.transitions;return b},
sn=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(G(Math.floor(a/60)%100,2),":",G(a%60,2));return b.join("")};v=rn.prototype;v.lo=function(a){a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes())/36E5;for(var b=0;b<this.zi.length&&a>=this.zi[b];)b+=2;return 0==b?0:this.zi[b-1]};v.lv=function(a){return sn(this.Kj(a))};v.tv=function(a){return this.Wl[this.kk(a)?3:1]};v.Kj=function(a){return this.vr-this.lo(a)};
v.Ev=function(a){a=-this.Kj(a);var b=[0>a?"-":"+"];a=Math.abs(a);b.push(G(Math.floor(a/60)%100,2),G(a%60,2));return b.join("")};v.Gv=function(a){return this.Wl[this.kk(a)?2:0]};v.kk=function(a){return 0<this.lo(a)};v.mv=function(a){return this.kk(a)?void 0!==this.Xd.ks?this.Xd.ks:this.Xd.DST_GENERIC_LOCATION:void 0!==this.Xd.mm?this.Xd.mm:this.Xd.STD_GENERIC_LOCATION};var un=function(a,b){D(void 0!==a,"Pattern must be defined");D(void 0!==b||void 0!==on,"goog.i18n.DateTimeSymbols or explicit symbols must be defined");this.Jh=[];this.ba=b||on;typeof a==t?this.zm(a):this.ym(a)},vn=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEahKHcLQdmsvVwzZ]+/],wn=function(a){return a.getHours?a.getHours():0};
un.prototype.ym=function(a){for(xn&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<vn.length;++c){var e=a.match(vn[c]);if(e){var f=e[0];a=a.substring(f.length);0==c&&("''"==f?f="'":(f=f.substring(1,"'"==e[1]?f.length-1:f.length),f=f.replace(/''/g,"'")));this.Jh.push({text:f,type:c});break}}if(b===a)throw Error("Malformed pattern part: "+a);}};
un.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.Kj(a)):0,e=c?new Date(a.getTime()+c):a,f=e;b&&e.getTimezoneOffset()!=a.getTimezoneOffset()&&(e=new Date(e.getTime()+6E4*(e.getTimezoneOffset()-a.getTimezoneOffset())),f=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var g=0;g<this.Jh.length;++g){var h=this.Jh[g].text;1==this.Jh[g].type?c.push(this.Du(h,a,e,f,b)):c.push(h)}return c.join("")};
un.prototype.zm=function(a){if(4>a)var b=this.ba.jm[a];else if(8>a)b=this.ba.nm[a-4];else if(12>a)b=this.ba.hs[a-8],b=b.replace("{1}",this.ba.jm[a-8]),b=b.replace("{0}",this.ba.nm[a-8]);else{this.zm(10);return}this.ym(b)};un.prototype.Ya=function(a){a=String(a);var b=this.ba||on;if(void 0!==b.Ns){for(var c=[],e=0;e<a.length;e++){var f=a.charCodeAt(e);c.push(48<=f&&57>=f?String.fromCharCode(b.Ns+f-48):a.charAt(e))}a=c.join("")}return a};var xn=!1;
un.prototype.Cu=function(a,b){b=0<b.getFullYear()?1:0;return 4<=a?this.ba.ls[b]:this.ba.ms[b]};un.prototype.Su=function(a,b){b=b.getFullYear();0>b&&(b=-b);2==a&&(b%=100);return this.Ya(G(b,a))};un.prototype.Ru=function(a,b){b=(new Date(pn(b.getFullYear(),b.getMonth(),b.getDate(),this.ba.Ji,this.ba.Ii))).getFullYear();0>b&&(b=-b);2==a&&(b%=100);return this.Ya(G(b,a))};
un.prototype.Gu=function(a,b){b=b.getMonth();switch(a){case 5:return this.ba.vs[b];case 4:return this.ba.os[b];case 3:return this.ba.Bs[b];default:return this.Ya(G(b+1,a))}};var yn=function(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.");};v=un.prototype;v.yu=function(a,b){yn(b);return this.Ya(G(wn(b)||24,a))};
v.Eu=function(a,b){return this.Ya((b.getMilliseconds()/1E3).toFixed(Math.min(3,a)).substr(2)+(3<a?G(0,a-3):""))};v.Bu=function(a,b){b=b.getDay();return 4<=a?this.ba.Ms[b]:this.ba.Ds[b]};v.zu=function(a,b){yn(b);a=wn(b);return this.ba.es[12<=a&&24>a?1:0]};v.xu=function(a,b){yn(b);return this.Ya(G(wn(b)%12||12,a))};v.vu=function(a,b){yn(b);return this.Ya(G(wn(b)%12,a))};v.wu=function(a,b){yn(b);return this.Ya(G(wn(b),a))};
v.Ku=function(a,b){b=b.getDay();switch(a){case 5:return this.ba.Gs[b];case 4:return this.ba.Js[b];case 3:return this.ba.Is[b];default:return this.Ya(G(b,1))}};v.Lu=function(a,b){b=b.getMonth();switch(a){case 5:return this.ba.Fs[b];case 4:return this.ba.Es[b];case 3:return this.ba.Hs[b];default:return this.Ya(G(b+1,a))}};v.Hu=function(a,b){b=Math.floor(b.getMonth()/3);return 4>a?this.ba.Cs[b]:this.ba.ws[b]};v.Au=function(a,b){return this.Ya(G(b.getDate(),a))};
v.Fu=function(a,b){yn(b);return this.Ya(G(b.getMinutes(),a))};v.Ju=function(a,b){yn(b);return this.Ya(G(b.getSeconds(),a))};v.Qu=function(a,b){b=pn(b.getFullYear(),b.getMonth(),b.getDate(),this.ba.Ji,this.ba.Ii);return this.Ya(G(Math.floor(Math.round((b-(new Date((new Date(b)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,a))};v.Ou=function(a,b,c){c=c||tn(b.getTimezoneOffset());return 4>a?c.Ev(b):this.Ya(c.lv(b))};v.Pu=function(a,b,c){c=c||tn(b.getTimezoneOffset());return 4>a?c.Gv(b):c.tv(b)};
v.Mu=function(a,b){b=b||tn(a.getTimezoneOffset());return b.Sl};v.Nu=function(a,b,c){c=c||tn(b.getTimezoneOffset());return 2>=a?c.Sl:c.mv(b)};
v.Du=function(a,b,c,e,f){var g=a.length;switch(a.charAt(0)){case "G":return this.Cu(g,c);case "y":return this.Su(g,c);case "Y":return this.Ru(g,c);case "M":return this.Gu(g,c);case "k":return this.yu(g,e);case "S":return this.Eu(g,e);case "E":return this.Bu(g,c);case "a":return this.zu(g,e);case "h":return this.xu(g,e);case "K":return this.vu(g,e);case "H":return this.wu(g,e);case "c":return this.Ku(g,c);case "L":return this.Lu(g,c);case "Q":return this.Hu(g,c);case "d":return this.Au(g,c);case "m":return this.Fu(g,
e);case "s":return this.Ju(g,e);case "v":return this.Mu(b,f);case "V":return this.Nu(g,b,f);case "w":return this.Qu(g,e);case "z":return this.Pu(g,b,f);case "Z":return this.Ou(g,b,f);default:return""}};var Cn=function(a,b,c,e,f,g,h,k,l){D(c);var m=zn(c),p=tm(a),z=km(a);z&&p.tx(new Yl(z.left,z.top,z.right-z.left,z.bottom-z.top));z=M(a);var Q=M(c);if(z.A!=Q.A){var Ba=z.A.body;Q=Q.getWindow();var oa=new L(0,0),rb=Ai(pi(Ba));if(Kh(rb,"parent")){var Je=Ba;do{var qp=rb==Q?jm(Je):qm(D(Je));oa.x+=qp.x;oa.y+=qp.y}while(rb&&rb!=Q&&rb!=rb.parent&&(Je=rb.frameElement)&&(rb=rb.parent))}Ba=li(oa,jm(Ba));!H||ei(9)||z.jk()||(Ba=li(Ba,z.se()));p.left+=Ba.x;p.top+=Ba.y}a=An(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=
p.width/2);p=new L(b,p.top+(a&1?p.height:0));p=li(p,m);f&&(p.x+=(a&4?-1:1)*f.x,p.y+=(a&1?-1:1)*f.y);if(h)if(l)var Xb=l;else if(Xb=km(c))Xb.top-=m.y,Xb.right-=m.x,Xb.bottom-=m.y,Xb.left-=m.x;return Bn(p,c,e,g,Xb,h,k)},zn=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=dm(a)){var c=jm(a);b||(b=(b=vm(a))&&Lm()?-a.scrollLeft:!b||Oh&&K("8")||cm(a,"overflowX")==Wd?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft,c=li(c,new L(b,a.scrollTop)))}}return c||
new L},Bn=function(a,b,c,e,f,g,h){a=a.clone();var k=An(b,c);c=sm(mm,b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(e||0!=k)k&4?a.x-=h.width+(e?e.right:0):k&2?a.x-=h.width/2:e&&(a.x+=e.left),k&1?a.y-=h.height+(e?e.bottom:0):e&&(a.y+=e.top);if(g){if(f){e=a;k=h;l=0;65==(g&65)&&(e.x<f.left||e.x>=f.right)&&(g&=-2);132==(g&132)&&(e.y<f.top||e.y>=f.bottom)&&(g&=-5);e.x<f.left&&g&1&&(e.x=f.left,l|=1);if(g&16){var m=e.x;e.x<f.left&&(e.x=f.left,l|=4);e.x+k.width>f.right&&(k.width=Math.min(f.right-
e.x,m+k.width-f.left),k.width=Math.max(k.width,0),l|=4)}e.x+k.width>f.right&&g&1&&(e.x=Math.max(f.right-k.width,f.left),l|=1);g&2&&(l|=(e.x<f.left?16:0)|(e.x+k.width>f.right?32:0));e.y<f.top&&g&4&&(e.y=f.top,l|=2);g&32&&(m=e.y,e.y<f.top&&(e.y=f.top,l|=8),e.y+k.height>f.bottom&&(k.height=Math.min(f.bottom-e.y,m+k.height-f.top),k.height=Math.max(k.height,0),l|=8));e.y+k.height>f.bottom&&g&4&&(e.y=Math.max(f.bottom-k.height,f.top),l|=2);g&8&&(l|=(e.y<f.top?64:0)|(e.y+k.height>f.bottom?128:0));f=l}else f=
256;l=f}g=new Yl(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;f=l;if(f&496)return f;fm(b,g.Mv());h=g.vo();ni(c,h)||(c=h,h=pi(b),a=M(h).jk(),!H||K("10")||a&&K("8")?(b=b.style,I?b.MozBoxSizing=Cb:J?b.WebkitBoxSizing=Cb:b.boxSizing=Cb,b.width=Math.max(c.width,0)+qd,b.height=Math.max(c.height,0)+qd):(h=b.style,a?(H?(a=zm(b,"paddingLeft"),g=zm(b,"paddingRight"),e=zm(b,"paddingTop"),k=zm(b,"paddingBottom"),a=new Xl(e,g,k,a)):(a=bm(b,"paddingLeft"),g=bm(b,"paddingRight"),e=bm(b,"paddingTop"),
k=bm(b,"paddingBottom"),a=new Xl(parseFloat(e),parseFloat(g),parseFloat(k),parseFloat(a))),b=lm(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return f},An=function(a,b){return(b&8&&vm(a)?b^4:b)&-9};var Dn,En={qC:jb,vC:"atomic",wC:"autocomplete",yC:"busy",fs:Ib,BC:"colindex",GC:"controls",IC:"describedby",LC:"disabled",NC:"dropeffect",OC:bc,PC:"flowto",RC:"grabbed",VC:yc,XC:Ac,ZC:"invalid",$C:Sc,aD:Tc,bD:"level",gD:"live",qD:"multiline",rD:"multiselectable",wD:"orientation",xD:od,yD:"posinset",AD:"pressed",READONLY:"readonly",FD:"relevant",HD:"required",LD:"rowindex",SELECTED:wd,PD:"setsize",RD:"sort",hE:"valuemax",iE:"valuemin",jE:"valuenow",kE:"valuetext"};var Fn={rC:"alert",sC:"alertdialog",tC:"application",uC:"article",xC:"banner",zC:Db,AC:Hb,CC:"columnheader",DC:Mb,EC:"complementary",FC:"contentinfo",HC:"definition",JC:Vb,KC:"directory",MC:"document",QC:"form",SC:"grid",TC:"gridcell",UC:"group",WC:"heading",YC:"img",cD:"link",dD:"list",eD:Vc,fD:"listitem",hD:"log",iD:"main",jD:"marquee",kD:"math",lD:"menu",mD:"menubar",nD:"menuitem",oD:Xc,pD:"menuitemradio",tD:"navigation",uD:"note",vD:ld,zD:"presentation",BD:"progressbar",CD:"radio",DD:"radiogroup",
ED:"region",ID:"row",JD:"rowgroup",KD:"rowheader",MD:"scrollbar",ND:"search",OD:yd,QD:"slider",SD:"spinbutton",TD:"status",VD:"tab",WD:"tablist",XD:"tabpanel",YD:"textbox",ZD:"textinfo",$D:"timer",aE:"toolbar",bE:"tooltip",cE:"tree",dE:"treegrid",eE:"treeitem"};var Gn=[Mb,"grid","group",Vc,"menu","menubar","radiogroup","row","rowgroup","tablist","textbox","toolbar","tree","treegrid"],Hn=function(a,b){b?(D(Of(Fn,b),"No such ARIA role "+b),a.setAttribute(td,b)):a.removeAttribute(td)},U=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var e=In(b);""===c||void 0==c?(Dn||(Dn={atomic:!1,autocomplete:ed,dropeffect:ed,haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:Vd,readonly:!1,relevant:"additions text",required:!1,sort:ed,busy:!1,disabled:!1,
hidden:!1,invalid:"false"}),c=Dn,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)},Jn=function(a,b){a=a.getAttribute(In(b));return null==a||void 0==a?"":String(a)},Kn=function(a){var b=Jn(a,jb);return pi(a).getElementById(b)},Ln=function(a,b){var c="";b&&(c=b.id,D(c,"The active element should have an id."));U(a,jb,c)},Mn=function(a,b){U(a,Sc,b)},In=function(a){D(a,"ARIA attribute cannot be empty.");D(Of(En,a),"No such ARIA attribute "+a);return"aria-"+a};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!x.requestAnimationFrame;++c)x.requestAnimationFrame=x[b+"RequestAnimationFrame"],x.cancelAnimationFrame=x[b+"CancelAnimationFrame"]||x[b+"CancelRequestAnimationFrame"];if(!x.requestAnimationFrame){var e=0;x.requestAnimationFrame=function(f){var g=(new Date).getTime(),h=Math.max(0,16-(g-e));e=g+h;return x.setTimeout(function(){f(g+h)},h)};x.cancelAnimationFrame||(x.cancelAnimationFrame=function(f){clearTimeout(f)})}})();
var Nn=[[],[]],On=0,Pn=!1,Qn=0,Sn=function(a,b){var c=Qn++,e={oy:{id:c,xc:a.measure,context:b},Ay:{id:c,xc:a.zy,context:b},state:{},mb:void 0,nh:!1};return function(){0<arguments.length?(e.mb||(e.mb=[]),e.mb.length=0,e.mb.push.apply(e.mb,arguments),e.mb.push(e.state)):e.mb&&0!=e.mb.length?(e.mb[0]=e.state,e.mb.length=1):e.mb=[e.state];e.nh||(e.nh=!0,Nn[On].push(e));Pn||(Pn=!0,window.requestAnimationFrame(Rn))}},Rn=function(){Pn=!1;var a=Nn[On],b=a.length;On=(On+1)%2;for(var c,e=0;e<b;++e){c=a[e];
var f=c.oy;c.nh=!1;f.xc&&f.xc.apply(f.context,c.mb)}for(e=0;e<b;++e)c=a[e],f=c.Ay,c.nh=!1,f.xc&&f.xc.apply(f.context,c.mb),c.state={};a.length=0};var Tn=function(a){return typeof a.className==u?a.className:a.getAttribute&&a.getAttribute("class")||""},Un=function(a){return a.classList?a.classList:Tn(a).match(/\S+/g)||[]},Vn=function(a,b){typeof a.className==u?a.className=b:a.setAttribute&&a.setAttribute("class",b)},Wn=function(a,b){return a.classList?a.classList.contains(b):df(Un(a),b)},V=function(a,b){if(a.classList)a.classList.add(b);else if(!Wn(a,b)){var c=Tn(a);Vn(a,c+(0<c.length?" "+b:b))}},Xn=function(a,b){if(a.classList)E(b,function(f){V(a,
f)});else{var c={};E(Un(a),function(f){c[f]=!0});E(b,function(f){c[f]=!0});b="";for(var e in c)b+=0<b.length?" "+e:e;Vn(a,b)}},Yn=function(a,b){a.classList?a.classList.remove(b):Wn(a,b)&&Vn(a,We(Un(a),function(c){return c!=b}).join(" "))},Zn=function(a,b){a.classList?E(b,function(c){Yn(a,c)}):Vn(a,We(Un(a),function(c){return!df(b,c)}).join(" "))},$n=function(a,b,c){c?V(a,b):Yn(a,b)};var ao=H?xg(hg(ig(Fc))):xg(hg(ig(fb)));wg(ao);var bo=H?xg(hg(ig(Fc))):xg(hg(ig("javascript:undefined")));wg(bo);var co=function(a){S.call(this);this.m=a;a=H?gc:Bb;this.Rx=R(this.m,H?fc:ec,this,!H);this.Sx=R(this.m,a,this,!H)};C(co,S);co.prototype.handleEvent=function(a){var b=new gk(a.cb);b.type=a.type==fc||a.type==ec?fc:gc;this.dispatchEvent(b)};co.prototype.o=function(){co.i.o.call(this);Ak(this.Rx);Ak(this.Sx);delete this.m};var fo=function(a,b,c){S.call(this);this.target=a;this.Mj=b||a;this.wk=c||new Yl(NaN,NaN,NaN,NaN);this.A=pi(a);this.$=new Fk(this);this.Hb(this.$);this.deltaY=this.deltaX=this.Ar=this.zr=this.screenY=this.screenX=this.clientY=this.clientX=0;this.Ua=!0;this.xd=!1;this.lq=!0;this.Uo=0;this.dg=this.Ww=!1;R(this.Mj,["touchstart",Yc],this.wr,!1,this);this.cm=eo};C(fo,S);var eo=x.document&&x.document.documentElement&&!!x.document.documentElement.setCapture&&!!x.document.releaseCapture;v=fo.prototype;
v.C=function(){return this.$};v.Zq=function(a){this.wk=a||new Yl(NaN,NaN,NaN,NaN)};v.ma=function(a){this.Ua=a};v.o=function(){fo.i.o.call(this);zk(this.Mj,["touchstart",Yc],this.wr,!1,this);this.dn();this.Mj=this.target=null};v.np=function(){void 0===this.ic&&(this.ic=vm(this.target));return this.ic};
v.wr=function(a){var b=a.type==Yc;if(!this.Ua||this.xd||b&&!a.mh())this.dispatchEvent("earlycancel");else{if(0==this.Uo)if(this.Xn(a))this.xd=!0,this.lq&&b&&a.preventDefault();else return;else this.lq&&b&&a.preventDefault();this.mB();this.clientX=this.zr=a.clientX;this.clientY=this.Ar=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.Mt();this.Ok=M(this.A).se()}};
v.mB=function(){var a=this.A,b=a.documentElement,c=!this.cm;this.$.listen(a,["touchmove",Zc],this.ow,{capture:c,passive:!1});this.$.listen(a,["touchend",bd],this.Eg,c);this.cm?(b.setCapture(!1),this.$.listen(b,"losecapture",this.Eg)):this.$.listen(Ai(a),Bb,this.Eg);H&&this.Ww&&this.$.listen(a,"dragstart",dk);this.hA&&this.$.listen(this.hA,"scroll",this.Mk,c)};v.Xn=function(a){return this.dispatchEvent(new go("start",this,a.clientX,a.clientY,a))};v.dn=function(){this.$.removeAll();this.cm&&this.A.releaseCapture()};
v.Eg=function(a,b){this.dn();this.xd?(this.xd=!1,this.dispatchEvent(new go("end",this,a.clientX,a.clientY,a,this.Ap(this.deltaX),this.Bp(this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
v.ow=function(a){if(this.Ua){var b=(this.dg&&this.np()?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.xd){var e=this.zr-this.clientX,f=this.Ar-this.clientY;if(e*e+f*f>this.Uo)if(this.Xn(a))this.xd=!0;else{this.isDisposed()||this.Eg(a);return}}c=this.Vm(b,c);b=c.x;c=c.y;this.xd&&this.dispatchEvent(new go("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(this.On(a,b,c,!1),a.preventDefault())}};
v.Vm=function(a,b){var c=M(this.A).se();a+=c.x-this.Ok.x;b+=c.y-this.Ok.y;this.Ok=c;this.deltaX+=a;this.deltaY+=b;return new L(this.Ap(this.deltaX),this.Bp(this.deltaY))};v.Mk=function(a){var b=this.Vm(0,0);a.clientX=this.clientX;a.clientY=this.clientY;this.On(a,b.x,b.y,!0)};v.On=function(a,b,c){this.Wt(b,c);this.dispatchEvent(new go("drag",this,a.clientX,a.clientY,a,b,c))};
v.Ap=function(a){var b=this.wk,c=isNaN(b.left)?null:b.left;b=isNaN(b.width)?0:b.width;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};v.Bp=function(a){var b=this.wk,c=isNaN(b.top)?null:b.top;b=isNaN(b.height)?0:b.height;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};
v.Mt=function(){if(this.dg){var a=this.target;var b=a.offsetLeft,c=a.offsetParent;c||dm(a)!=dc||(c=pi(a).documentElement);if(c){if(I&&!K(58)){var e=lm(c);b+=e.left}else ei(8)&&!ei(9)&&(e=lm(c),b-=e.left);a=vm(c)?c.clientWidth-(b+a.offsetWidth):b}else a=b}else a=this.target.offsetLeft;this.deltaX=a;this.deltaY=this.target.offsetTop};v.Wt=function(a,b){this.dg&&this.np()?this.target.style.right=a+qd:this.target.style.left=a+qd;this.target.style.top=b+qd};
var go=function(a,b,c,e,f,g,h){ck.call(this,a);this.clientX=c;this.clientY=e;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY};C(go,ck);var ho=function(){};y(ho);ho.prototype.Cy=0;ho.prototype.Uw="";ho.prototype.Vc=function(){return this.Uw+":"+(this.Cy++).toString(36)};var W=function(a){S.call(this);this.V=a||M();this.ic=io;this.T=null;this.I=!1;this.m=null;this.Yc=void 0;this.Mb=this.sa=this.G=this.Kd=null;this.Od=this.Wr=!1};C(W,S);W.prototype.Tw=ho.K();var io=null,jo=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?Cc:Sd;case 4:return b?"activate":"deactivate";case 8:return b?ud:"unselect";case 16:return b?"check":"uncheck";case 32:return b?ec:Bb;case 64:return b?"open":Jb}throw Error("Invalid component state");};v=W.prototype;
v.getId=function(){return this.T||(this.T=this.Tw.Vc())};v.wl=function(a){this.G&&this.G.Mb&&(Qf(this.G.Mb,this.T),Rf(this.G.Mb,a,this));this.T=a};v.g=function(){return this.m};v.N=function(){var a=this.m;D(a,"Can not call getElementStrict before rendering/decorating.");return a};v.kc=function(a){this.m=a};v.Hj=function(a){return this.m?this.V.Hj(a,this.m):[]};v.te=function(a){return this.m?this.V.te(a,this.m):null};
v.Va=function(a){var b=this.te(a);D(b,"Expected element in component with class: %s",a);return b};v.C=function(){this.Yc||(this.Yc=new Fk(this));return D(this.Yc)};v.Sf=function(a){if(this==a)throw Error(cb);if(a&&this.G&&this.T&&this.G.Jg(this.T)&&this.G!=a)throw Error(cb);this.G=a;W.i.Bl.call(this,a)};v.getParent=function(){return this.G};v.Bl=function(a){if(this.G&&this.G!=a)throw Error("Method not supported");W.i.Bl.call(this,a)};v.s=function(){return this.V};v.j=function(){this.m=this.V.createElement(n)};
v.render=function(a){this.al(a)};v.Lz=function(a){this.al(a.parentNode,a)};v.al=function(a,b){if(this.I)throw Error(La);this.m||this.j();a?a.insertBefore(this.m,b||null):this.V.A.body.appendChild(this.m);this.G&&!this.G.I||this.H()};v.F=function(a){if(this.I)throw Error(La);if(a&&this.Sa(a)){this.Wr=!0;var b=pi(a);this.V&&this.V.A==b||(this.V=M(a));this.ha(a);this.H()}else throw Error("Invalid element to decorate");};v.Sa=function(){return!0};v.ha=function(a){this.m=a};
v.H=function(){this.I=!0;this.Na(function(a){!a.I&&a.g()&&a.H()})};v.oa=function(){this.Na(function(a){a.I&&a.oa()});this.Yc&&this.Yc.removeAll();this.I=!1};v.o=function(){this.I&&this.oa();this.Yc&&(this.Yc.dispose(),delete this.Yc);this.Na(function(a){a.dispose()});!this.Wr&&this.m&&Ki(this.m);this.G=this.Kd=this.m=this.Mb=this.sa=null;W.i.o.call(this)};v.Df=function(a){return this.getId()+"."+a};v.yl=function(a){this.Kd=a};v.xb=function(a,b){this.be(a,this.Oa(),b)};
v.be=function(a,b,c){D(!!a,"Provided element must not be null.");if(a.I&&(c||!this.I))throw Error(La);if(0>b||b>this.Oa())throw Error("Child component index out of bounds");this.Mb&&this.sa||(this.Mb={},this.sa=[]);if(a.getParent()==this){var e=a.getId();this.Mb[e]=a;ff(this.sa,a)}else Rf(this.Mb,a.getId(),a);a.Sf(this);mf(this.sa,b,0,a);a.I&&this.I&&a.getParent()==this?(c=this.P(),b=c.childNodes[b]||null,b!=a.g()&&c.insertBefore(a.g(),b)):c?(this.m||this.j(),b=this.Ha(b+1),a.al(this.P(),b?b.m:null)):
this.I&&!a.I&&a.m&&a.m.parentNode&&1==a.m.parentNode.nodeType&&a.H()};v.P=function(){return this.m};v.ed=function(){null==this.ic&&(this.ic=vm(this.I?this.m:this.V.A.body));return this.ic};v.Ue=function(a){if(this.I)throw Error(La);this.ic=a};v.Bw=function(){return!!this.sa&&0!=this.sa.length};v.Oa=function(){return this.sa?this.sa.length:0};v.Jg=function(a){if(this.Mb&&a){var b=this.Mb;a=(null!==b&&a in b?b[a]:void 0)||null}else a=null;return a};v.Ha=function(a){return this.sa?this.sa[a]||null:null};
v.Na=function(a,b){this.sa&&E(this.sa,a,b)};v.Be=function(a){return this.sa&&a?Ue(this.sa,a):-1};v.removeChild=function(a,b){if(a){var c=typeof a===u?a:a.getId();a=this.Jg(c);c&&a&&(Qf(this.Mb,c),ff(this.sa,a),b&&(a.oa(),a.m&&Ki(a.m)),a.Sf(null))}if(!a)throw Error("Child is not in parent component");return a};v.Cz=function(a,b){return this.removeChild(this.Ha(a),b)};v.Vk=function(a){for(var b=[];this.Bw();)b.push(this.Cz(0,a));return b};var ko=function(a){this.O=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error(db);for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};v=ko.prototype;v.Cb=function(){return this.O.size};v.pb=function(){return Array.from(this.O.values())};v.ra=function(){return Array.from(this.O.keys())};v.zb=function(a){return this.O.has(a)};
v.nj=function(a,b){var c=this;b=void 0===b?function(e,f){return e===f}:b;return this===a?!0:this.O.size!=a.Cb()?!1:this.ra().every(function(e){return b(c.O.get(e),a.get(e))})};v.clear=function(){this.O.clear()};v.remove=function(a){return this.O.delete(a)};v.get=function(a,b){return this.O.has(a)?this.O.get(a):b};v.set=function(a,b){this.O.set(a,b);return this};
v.addAll=function(a){if(a instanceof ko){a=de(a.O);for(var b=a.next();!b.done;b=a.next()){var c=de(b.value);b=c.next().value;c=c.next().value;this.O.set(b,c)}}else if(a)for(a=de(Object.entries(a)),b=a.next();!b.done;b=a.next())c=de(b.value),b=c.next().value,c=c.next().value,this.O.set(b,c)};v.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.O.forEach(function(e,f){return a.call(b,e,f,c)})};v.clone=function(){return new ko(this)};
v.Ul=function(){for(var a={},b=de(this.O),c=b.next();!c.done;c=b.next()){var e=de(c.value);c=e.next().value;e=e.next().value;a[c]=e}return a};var lo=function(a,b){this.m=a;this.V=b};lo.prototype.xA=function(a){if(a){this.Ae||(this.Ae=[]);a=this.V.Dj(this.V.A.body);for(var b=0;b<a.length;b++){var c=a[b];c==this.m||Jn(c,Ac)||(U(c,Ac,!0),this.Ae.push(c))}}else if(this.Ae){for(b=0;b<this.Ae.length;b++)this.Ae[b].removeAttribute(In(Ac));this.Ae=null}};var mo=function(a,b){W.call(this,b);this.iC=!!a;this.Fe=null;this.yq=Sn({zy:this.Uh},this)};C(mo,W);v=mo.prototype;v.xj=null;v.ca=!1;v.bb=null;v.Ma=null;v.Wb=null;v.Vi=!1;v.B=function(){return"goog-modalpopup"};v.Ig=function(){return this.bb};v.j=function(){mo.i.j.call(this);var a=this.g();D(a);var b=wf(this.B()).split(" ");Xn(a,b);Xi(a,!0);T(a,!1);this.Ip();this.yn()};
v.Ip=function(){if(this.iC&&!this.Ma){var a=this.s().j(Pa,{frameborder:0,style:"border:0;vertical-align:bottom;"});uf(a,Oa);a.src=wg(ao).toString();this.Ma=a;this.Ma.className=this.B()+"-bg";T(this.Ma,!1);um(this.Ma,0)}this.bb||(this.bb=this.s().j(n,this.B()+"-bg"),T(this.bb,!1))};v.yn=function(){this.Wb||(this.Wb=this.s().createElement(Va),T(this.Wb,!1),Xi(this.Wb,!0),this.Wb.style.position=hb)};v.kr=function(){this.Vi=!0;try{this.Wb.focus()}catch(a){}al(this.wq,0,this)};
v.wq=function(){this.Vi=!1};v.Kz=function(){D(!!this.bb,"Background element must not be null.");this.Ma&&Ii(this.Ma,this.g());Ii(this.bb,this.g())};v.Sa=function(a){return!!a&&a.tagName==n};v.ha=function(a){mo.i.ha.call(this,a);a=wf(this.B()).split(" ");Xn(D(this.g()),a);this.Ip();this.yn();Xi(this.g(),!0);T(this.g(),!1)};
v.H=function(){this.Kz();mo.i.H.call(this);var a=this.Wb,b=this.g();D(null!=a&&null!=b,"goog.dom.insertSiblingAfter expects non-null arguments");b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.xj=new co(this.s().A);this.C().listen(this.xj,fc,this.Qy);this.ml(!1)};v.oa=function(){this.isVisible()&&this.D(!1);P(this.xj);mo.i.oa.call(this);Ki(this.Ma);Ki(this.bb);Ki(this.Wb)};
v.D=function(a){D(this.I,"ModalPopup must be rendered first.");a!=this.ca&&(this.Ke&&this.Ke.stop(),this.$e&&this.$e.stop(),this.Je&&this.Je.stop(),this.Ze&&this.Ze.stop(),this.I&&this.ml(a),a?this.zB():this.Pw())};v.ml=function(a){this.Mp||(this.Mp=new lo(this.N(),this.V));this.Mp.xA(a)};
v.zB=function(){if(this.dispatchEvent("beforeshow")){try{this.Fe=this.s().A.activeElement}catch(a){}this.Uh();this.La();this.C().listen(this.s().getWindow(),sd,this.Uh).listen(this.s().getWindow(),md,this.yq);this.qr(!0);this.focus();this.ca=!0;this.Ke&&this.$e?(sk(this.Ke,"end",this.Fh,!1,this),this.$e.play(),this.Ke.play()):this.Fh()}};
v.Pw=function(){this.dispatchEvent("beforehide")&&(this.C().R(this.s().getWindow(),sd,this.Uh).R(this.s().getWindow(),md,this.yq),this.ca=!1,this.Je&&this.Ze?(sk(this.Je,"end",this.Dh,!1,this),this.Ze.play(),this.Je.play()):this.Dh(),this.Xz())};v.Xz=function(){try{var a=this.s(),b=a.A.body,c=a.A.activeElement||b;if(!this.Fe||this.Fe==b){this.Fe=null;return}(c==b||a.contains(this.g(),c))&&this.Fe.focus()}catch(e){}this.Fe=null};
v.qr=function(a){this.Ma&&T(this.Ma,a);this.bb&&T(this.bb,a);T(this.g(),a);T(this.Wb,a)};v.Fh=function(){this.dispatchEvent("show")};v.Dh=function(){this.qr(!1);this.dispatchEvent(Bc)};v.isVisible=function(){return this.ca};v.focus=function(){this.bo()};
v.Uh=function(){this.Ma&&T(this.Ma,!1);this.bb&&T(this.bb,!1);var a=this.s().A,b=yi(Ai(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.Ma&&(T(this.Ma,!0),rm(this.Ma,c,a));this.bb&&(T(this.bb,!0),rm(this.bb,c,a))};
v.La=function(){var a=this.s().A,b=Ai(a)||window;if(dm(this.g())==dc)var c=a=0;else c=this.s().se(),a=c.x,c=c.y;var e=sm(mm,this.g());b=yi(b);a=Math.max(a+b.width/2-e.width/2,0);c=Math.max(c+b.height/2-e.height/2,0);fm(this.g(),a,c);fm(this.Wb,a,c)};v.Qy=function(a){this.Vi?this.wq():a.target==this.Wb&&al(this.bo,0,this)};v.bo=function(){try{H&&this.s().A.body.focus(),this.g().focus()}catch(a){}};
v.o=function(){P(this.Ke);this.Ke=null;P(this.Je);this.Je=null;P(this.$e);this.$e=null;P(this.Ze);this.Ze=null;mo.i.o.call(this)};var qo=function(a,b,c){mo.call(this,b,c);this.Ta=a||"modal-dialog";this.Ra=(new no).lb(oo,!0).lb(po,!1,!0)};C(qo,mo);v=qo.prototype;v.lu=!0;v.Wj=!0;v.Np=!0;v.gu=!0;v.og=.5;v.Tl="";v.Nb=null;v.Tc=null;v.Nn=!1;v.kb=null;v.$a=null;v.vi=null;v.jb=null;v.Ca=null;v.Fa=null;v.Lf=Vb;v.B=function(){return this.Ta};v.gr=function(a){this.Tl=a;this.$a&&Ri(this.$a,a)};v.fr=function(a){this.WA(ch(a))};v.WA=function(a){this.Nb=a;this.Ca&&rh(this.Ca,a)};v.fb=function(){return null!=this.Nb?$g(this.Nb):""};v.Wc=function(){return this.Lf};
v.ki=function(a){this.Lf=a};v.Wk=function(){this.g()||this.render()};v.P=function(){this.Wk();return this.Ca};v.gv=function(){this.Wk();return this.g()};v.Ig=function(){this.Wk();return qo.i.Ig.call(this)};v.Pq=function(a){this.og=a;this.g()&&(a=this.Ig())&&um(a,this.og)};v.SA=function(a){this.Np=a;if(this.I){var b=this.s(),c=this.Ig(),e=this.Ma;a?(e&&b.cp(e,this.g()),b.cp(c,this.g())):(b.removeNode(e),b.removeNode(c))}this.isVisible()&&this.ml(a)};v.Ot=function(){return new fo(this.g(),this.kb)};
v.Uq=function(a){var b=wf(this.Ta+"-title-draggable").split(" ");this.g()&&(a?Xn(D(this.kb),b):Zn(D(this.kb),b));a&&!this.Tc?(this.Tc=this.Ot(),Xn(D(this.kb),b),R(this.Tc,"start",this.GA,!1,this)):!a&&this.Tc&&(this.Tc.dispose(),this.Tc=null)};
v.j=function(){qo.i.j.call(this);var a=this.g();D(a,"getElement() returns null");var b=this.s();this.kb=b.j(n,this.Ta+"-title",this.$a=b.j(Va,{className:this.Ta+"-title-text",id:this.getId()},this.Tl),this.jb=b.j(Va,this.Ta+"-title-close"));Gi(a,this.kb,this.Ca=b.j(n,this.Ta+la),this.Fa=b.j(n,this.Ta+"-buttons"));Hn(this.$a,"heading");Hn(this.jb,Db);Xi(this.jb,!0);Mn(this.jb,"Close");this.vi=this.$a.id;Hn(a,this.Wc());U(a,Tc,this.vi||"");this.Nb&&rh(this.Ca,this.Nb);T(this.jb,this.Wj);this.Ra&&this.Ra.Ui(this.Fa);
T(this.Fa,!!this.Ra);this.Pq(this.og)};
v.ha=function(a){qo.i.ha.call(this,a);a=this.g();D(a,"The DOM element for dialog cannot be null.");var b=this.Ta+la;this.Ca=ti(null,b,a)[0];this.Ca||(this.Ca=this.s().j(n,b),this.Nb&&rh(this.Ca,this.Nb),a.appendChild(this.Ca));b=this.Ta+"-title";var c=this.Ta+"-title-text",e=this.Ta+"-title-close";(this.kb=ti(null,b,a)[0])?(this.$a=ti(null,c,this.kb)[0],this.jb=ti(null,e,this.kb)[0]):(this.kb=this.s().j(n,b),a.insertBefore(this.kb,this.Ca));this.$a?(this.Tl=Zi(this.$a),this.$a.id||(this.$a.id=this.getId())):
(this.$a=Ci(Va,{className:c,id:this.getId()}),this.kb.appendChild(this.$a));this.vi=this.$a.id;U(a,Tc,this.vi||"");this.jb||(this.jb=this.s().j(Va,e),this.kb.appendChild(this.jb));T(this.jb,this.Wj);b=this.Ta+"-buttons";(this.Fa=ti(null,b,a)[0])?(this.Ra=new no(this.s()),this.Ra.F(this.Fa)):(this.Fa=this.s().j(n,b),a.appendChild(this.Fa),this.Ra&&this.Ra.Ui(this.Fa),T(this.Fa,!!this.Ra));this.Pq(this.og)};
v.H=function(){qo.i.H.call(this);this.C().listen(this.g(),Pc,this.If).listen(this.g(),Qc,this.If);this.C().listen(this.Fa,q,this.Jy);this.Uq(this.gu);this.C().listen(this.jb,q,this.fz);var a=this.g();D(a,"The DOM element for dialog cannot be null");Hn(a,this.Wc());""!==this.$a.id&&U(a,Tc,this.$a.id);this.Np||this.SA(!1)};v.oa=function(){this.isVisible()&&this.D(!1);this.Uq(!1);qo.i.oa.call(this)};v.D=function(a){a!=this.isVisible()&&(this.I||this.render(),qo.i.D.call(this,a))};
v.Fh=function(){qo.i.Fh.call(this);this.dispatchEvent(kb)};v.Dh=function(){qo.i.Dh.call(this);this.dispatchEvent("afterhide");this.Nn&&this.dispose()};v.GA=function(){var a=this.s().A,b=yi(Ai(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var e=sm(mm,this.g());dm(this.g())==dc?this.Tc.Zq(new Yl(0,0,Math.max(0,b.width-e.width),Math.max(0,b.height-e.height))):this.Tc.Zq(new Yl(0,0,c-e.width,a-e.height))};v.fz=function(){this.Sj()};
v.Sj=function(){if(this.Wj){var a=this.Ra,b=a&&a.rg;b?(a=a.get(b),this.dispatchEvent(new ro(b,a))&&this.D(!1)):this.D(!1)}};v.FA=function(a){this.Nn=a};v.o=function(){this.Fa=this.jb=null;qo.i.o.call(this)};v.Qq=function(a){this.Ra=a;this.Fa&&(this.Ra?this.Ra.Ui(this.Fa):rh(this.Fa,kh),T(this.Fa,!!this.Ra))};v.Jy=function(a){if((a=this.pu(a.target))&&!a.disabled){a=a.name;var b=this.Ra.get(a);this.dispatchEvent(new ro(a,b))&&this.D(!1)}};
v.pu=function(a){for(;null!=a&&a!=this.Fa;){if(a.tagName==Da)return a;a=a.parentNode}return null};
v.If=function(a){var b=!1,c=!1,e=this.Ra,f=a.target;if(a.type==Pc)if(this.lu&&27==a.keyCode){var g=e&&e.rg;f=f.tagName==Ua&&!f.disabled;g&&!f?(c=!0,b=e.get(g),b=this.dispatchEvent(new ro(g,b))):f||(b=!0)}else 9==a.keyCode&&a.shiftKey&&f==this.g()&&this.kr();else if(13==a.keyCode){if(f.tagName==Da&&!f.disabled)g=f.name;else if(f==this.jb)this.Sj();else if(e){var h=e.Bg,k=h&&e.av(h);f=(f.tagName==Ya||f.tagName==Ua||"A"==f.tagName)&&!f.disabled;!k||k.disabled||f||(g=h)}g&&e&&(c=!0,b=this.dispatchEvent(new ro(g,
String(e.get(g)))))}else f!=this.jb||32!=a.keyCode&&" "!=a.key||this.Sj();if(b||c)a.stopPropagation(),a.preventDefault();b&&this.D(!1)};var ro=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};C(ro,ck);var no=function(a){ko.call(this);this.V=a||M();this.Ta="goog-buttonset";this.rg=this.m=this.Bg=null},so,to;C(no,ko);v=no.prototype;v.clear=function(){ko.prototype.clear.call(this);this.Bg=this.rg=null};
v.set=function(a,b,c,e){ko.prototype.set.call(this,a,b);c&&(this.Bg=a);e&&(this.rg=a);return this};v.lb=function(a,b,c){return this.set(a.key,a.caption,b,c)};v.Ui=function(a){this.m=a;this.render()};v.render=function(){if(this.m){rh(this.m,kh);var a=M(this.m);this.forEach(function(b,c){b=a.j(Da,{name:c},b);c==this.Bg&&(b.className=this.Ta+ma);this.m.appendChild(b)},this)}};
v.F=function(a){if(a&&1==a.nodeType){this.m=a;a=ri(Da,this.m);for(var b=0,c,e,f;c=a[b];b++)if(e=c.name||c.id,f=Zi(c)||c.value,e){var g=0==b;this.set(e,f,g,c.name==Eb);g&&V(c,this.Ta+ma)}}};v.g=function(){return this.m};v.s=function(){return this.V};v.av=function(a){for(var b=this.Wu(),c=0,e;e=b[c];c++)if(e.name==a||e.id==a)return e;return null};v.Wu=function(){return ri(Da,D(this.m))};
var oo={key:"ok",caption:"OK"},po={key:Eb,caption:"Cancel"},uo={key:"yes",caption:"Yes"},vo={key:"no",caption:"No"},wo={key:"save",caption:"Save"},xo={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(so=(new no).lb(oo,!0,!0),to=(new no).lb(oo,!0).lb(po,!1,!0),(new no).lb(uo,!0).lb(vo,!1,!0),(new no).lb(uo).lb(vo,!0).lb(po,!1,!0),(new no).lb(xo).lb(wo).lb(po,!0,!0));var yo=function(a,b){S.call(this);a&&this.ud(a,b)};C(yo,S);v=yo.prototype;v.m=null;v.ph=null;v.sk=null;v.qh=null;v.tb=-1;v.Ka=-1;v.Xb=!1;
var zo={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},Ao={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},Bo=!J||K("525"),Co=Ph&&I;v=yo.prototype;
v.ad=function(a){(J||Nh)&&(17==this.tb&&!a.ctrlKey||18==this.tb&&!a.altKey||Ph&&91==this.tb&&!a.metaKey)&&this.xq();-1==this.tb&&(a.ctrlKey&&17!=a.keyCode?this.tb=17:a.altKey&&18!=a.keyCode?this.tb=18:a.metaKey&&91!=a.keyCode&&(this.tb=91));Bo&&!hn(a.keyCode,this.tb,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Ka=gn(a.keyCode),Co&&(this.Xb=a.altKey))};v.xq=function(){this.Ka=this.tb=-1};v.iw=function(a){this.xq();this.Xb=a.altKey};
v.handleEvent=function(a){var b=a.cb,c=b.altKey;if(H&&a.type==Qc){var e=this.Ka;var f=13!=e&&27!=e?b.keyCode:0}else(J||Nh)&&a.type==Qc?(e=this.Ka,f=0<=b.charCode&&63232>b.charCode&&fn(e)?b.charCode:0):Mh&&!J?(e=this.Ka,f=fn(e)?b.keyCode:0):(a.type==Qc?(Co&&(c=this.Xb),b.keyCode==b.charCode?32>b.keyCode?(e=b.keyCode,f=0):(e=this.Ka,f=b.charCode):(e=b.keyCode||this.Ka,f=b.charCode||0)):(e=b.keyCode||this.Ka,f=b.charCode||0),Ph&&63==f&&224==e&&(e=191));var g=e=gn(e);e?63232<=e&&e in zo?g=zo[e]:25==e&&
a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Ao&&(g=Ao[b.keyIdentifier]);I&&Bo&&a.type==Qc&&!hn(g,this.tb,a.shiftKey,a.ctrlKey,c,a.metaKey)||(a=g==this.tb,this.tb=g,b=new Do(g,f,a,b),b.altKey=c,this.dispatchEvent(b))};v.g=function(){return this.m};v.ud=function(a,b){this.qh&&this.detach();this.m=a;this.ph=R(this.m,Qc,this,b);this.sk=R(this.m,Pc,this.ad,b,this);this.qh=R(this.m,Rc,this.iw,b,this)};
v.detach=function(){this.ph&&(Ak(this.ph),Ak(this.sk),Ak(this.qh),this.qh=this.sk=this.ph=null);this.m=null;this.Ka=this.tb=-1};v.o=function(){yo.i.o.call(this);this.detach()};var Do=function(a,b,c,e){gk.call(this,e);this.type=Oc;this.keyCode=a;this.charCode=b;this.repeat=c};C(Do,gk);var Eo=function(){};Eo.prototype.La=function(){};var Fo=function(a,b,c){this.element=a;this.cf=b;this.iz=c};C(Fo,Eo);Fo.prototype.La=function(a,b,c){Cn(this.element,this.cf,a,b,void 0,c,this.iz)};var Go=function(a,b,c,e){Fo.call(this,a,b);this.Id=c?5:0;this.Nk=e||void 0};C(Go,Fo);Go.prototype.pv=function(){return this.Id};Go.prototype.gi=function(a){this.Id=a};Go.prototype.La=function(a,b,c,e){var f=Cn(this.element,this.cf,a,b,null,c,10,e,this.Nk);if(f&496){var g=this.hg(f,this.cf);b=this.hg(f,b);f=Cn(this.element,g,a,b,null,c,10,e,this.Nk);f&496&&(g=this.hg(f,g),b=this.hg(f,b),Cn(this.element,g,a,b,null,c,this.Id,e,this.Nk))}};Go.prototype.hg=function(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};var Ho=function(a,b){this.zg=a instanceof L?a:new L(a,b)};C(Ho,Eo);Ho.prototype.La=function(a,b,c,e){D(a);var f=pi(a);var g=f.body;f=f.documentElement;f=new L(g.scrollLeft||f.scrollLeft,g.scrollTop||f.scrollTop);g=this.zg.x+f.x;f=this.zg.y+f.y;var h=zn(a);g-=h.x;f-=h.y;Bn(new L(g,f),a,b,c,null,null,e)};var Io=function(a,b,c,e){Go.call(this,a,b,c||e);(c||e)&&this.gi(65|(e?32:132))};C(Io,Go);var Jo=function(a,b){Ho.call(this,a,b)};C(Jo,Ho);Jo.prototype.Id=0;Jo.prototype.gi=function(a){this.Id=a};Jo.prototype.La=function(a,b,c,e){var f=gm(a);f=km(f);var g=M(a).mo();g=new L(this.zg.x+g.scrollLeft,this.zg.y+g.scrollTop);var h=b,k=Bn(g,a,h,c,f,10,e);if(0!=(k&496)){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=Bn(g,a,h,c,f,10,e);0!=(k&496)&&Bn(g,a,b,c,f,this.Id,e)}};var Lo=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!ve(b))throw Error("Invalid decorator function "+b);Ko[a]=b},Mo={},Ko={};var No=function(a){this.Bm=a};y(No);var Oo=function(a,b){a=new a;a.B=function(){return b};return a};v=No.prototype;v.Bb=function(){return this.Bm};v.mj=function(a,b){a&&(a.tabIndex=b?0:-1)};v.j=function(a){return a.s().j(n,this.zc(a).join(" "))};v.P=function(a){return a};v.Sa=function(a){return a.tagName==n};v.F=function(a,b){b.id&&a.wl(b.id);var c=this.B(),e=!1,f=Un(b);f&&E(f,function(g){g==c?e=!0:g&&this.aB(a,g,c)},this);e||V(b,c);this.Bn(a,this.P(b));return b};
v.aB=function(a,b,c){b==c+na?a.ma(!1):b==c+"-horizontal"?a.setOrientation(Dc):b==c+"-vertical"&&a.setOrientation(Vd)};v.Bn=function(a,b,c){if(b){c=c||b.firstChild;for(var e;c&&c.parentNode==b;){e=c.nextSibling;if(1==c.nodeType){var f=this.Fj(c);f&&(f.kc(c),a.isEnabled()||f.ma(!1),a.xb(f),f.F(c))}else c.nodeValue&&""!=wf(c.nodeValue)||b.removeChild(c);c=e}}};v.Fj=function(a){a:{D(a);a=Un(a);for(var b=0,c=a.length;b<c;b++){var e=a[b];if(e=e in Ko?Ko[e]():null){a=e;break a}}a=null}return a};
v.cd=function(a){a=a.g();D(a,"The container DOM element cannot be null.");xm(a,!0,I);H&&(a.hideFocus=!0);var b=this.Bb();b&&Hn(a,b)};v.ta=function(a){return a.g()};v.B=function(){return"goog-container"};v.zc=function(a){var b=this.B(),c=[b,a.Nd==Dc?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+na);return c};var Po=function(){},Qo;y(Po);var Ro=function(a,b){a=new a;a.B=function(){return b};return a},So={button:"pressed",checkbox:Ib,menuitem:wd,menuitemcheckbox:Ib,menuitemradio:Ib,radio:Ib,tab:wd,treeitem:wd};v=Po.prototype;v.Bb=function(){};v.j=function(a){return a.s().j(n,this.zc(a).join(" "),a.fb())};v.P=function(a){return a};v.oe=function(a,b,c){if(a=a.g?a.g():a){var e=[b];H&&!K("7")&&(e=this.Bj(Un(a),b),e.push(b));(c?Xn:Zn)(a,e)}};v.Pn=function(a,b,c){this.oe(a,b,c)};v.Sa=function(){return!0};
v.F=function(a,b){b.id&&a.wl(b.id);var c=this.P(b);c&&c.firstChild?a.ei(c.firstChild.nextSibling?jf(c.childNodes):c.firstChild):a.ei(null);var e=0,f=this.B(),g=this.ob(),h=!1,k=!1,l=!1,m=jf(Un(b));E(m,function(z){h||z!=f?k||z!=g?e|=this.Sg(z):k=!0:(h=!0,g==f&&(k=!0));1==this.Sg(z)&&(Re(c),Wi(c)&&Xi(c,!1))},this);a.El(e);h||(m.push(f),g==f&&(k=!0));k||m.push(g);(a=a.Pb)&&m.push.apply(m,a);if(H&&!K("7")){var p=this.Bj(m);0<p.length&&(m.push.apply(m,p),l=!0)}h&&k&&!a&&!l||Vn(b,m.join(" "));return b};
v.cd=function(a){a.ed()&&this.Ue(a.g(),!0);a.isEnabled()&&this.Oc(a,a.isVisible())};v.pl=function(a,b){if(b=b||this.Bb()){D(a,$a);var c=a.getAttribute(td)||null;b!=c&&Hn(a,b)}};v.Oq=function(a,b){D(a);D(b);var c=a.lg;null!=c&&this.ol(b,c);a.isVisible()||U(b,Ac,!a.isVisible());a.isEnabled()||this.oc(b,1,!a.isEnabled());a.pa(8)&&this.oc(b,8,a.qp());a.pa(16)&&this.oc(b,16,a.dd());a.pa(64)&&this.oc(b,64,a.rb())};v.ol=function(a,b){Mn(a,b)};v.Rf=function(a,b){xm(a,!b,!H&&!Mh)};
v.Ue=function(a,b){this.oe(a,this.ob()+"-rtl",b)};v.Hc=function(a){var b;return a.pa(32)&&(b=a.ta())?Wi(b):!1};v.Oc=function(a,b){var c;if(a.pa(32)&&(c=a.ta())){if(!b&&a.lk()){try{c.blur()}catch(e){}a.lk()&&a.hb(null)}Wi(c)!=b&&Xi(c,b)}};v.D=function(a,b){T(a,b);a&&U(a,Ac,!b)};v.setState=function(a,b,c){var e=a.g();if(e){var f=this.zd(b);f&&this.oe(a,f,c);this.oc(e,b,c)}};
v.oc=function(a,b,c){Qo||(Qo={1:"disabled",8:wd,16:Ib,64:bc});D(a,$a);b=Qo[b];var e=a.getAttribute(td)||null;e&&(e=So[e]||b,b=b==Ib||b==wd?e:b);b&&U(a,b,c)};v.jc=function(a,b){var c=this.P(a);c&&(Hi(c),b&&(typeof b===u?Ri(c,b):(a=function(e){if(e){var f=pi(c);c.appendChild(typeof e===u?f.createTextNode(e):e)}},Array.isArray(b)?E(b,a):!ue(b)||"nodeType"in b?a(b):E(jf(b),a))))};v.ta=function(a){return a.g()};v.B=function(){return jc};v.qo=function(){return[]};v.ob=function(){return this.B()};
v.zc=function(a){var b=this.B(),c=[b],e=this.ob();e!=b&&c.push(e);b=this.bv(a.getState());c.push.apply(c,b);(a=a.Pb)&&c.push.apply(c,a);H&&!K("7")&&c.push.apply(c,this.Bj(c));return c};v.Bj=function(a,b){var c=[];b&&(a=hf(a,[b]));E(this.qo(),function(e){!$e(e,Ce(df,a))||b&&!df(e,b)||c.push(e.join("_"))});return c};v.bv=function(a){for(var b=[];a;){var c=a&-a;b.push(this.zd(c));a&=~c}return b};v.zd=function(a){this.sg||this.un();return this.sg[a]};
v.Sg=function(a){this.Br||this.Rt();a=parseInt(this.Br[a],10);return isNaN(a)?0:a};v.un=function(){var a=this.ob();var b=-1!=a.replace(/\xa0|\s/g," ").indexOf(" ");D(!b,"ControlRenderer has an invalid css class: '"+a+"'");this.sg={1:a+na,2:a+"-hover",4:a+"-active",8:a+"-selected",16:a+"-checked",32:a+"-focused",64:a+"-open"}};v.Rt=function(){this.sg||this.un();var a=this.sg,b={},c;for(c in a)b[a[c]]=c;this.Br=b};var X=function(a,b,c){W.call(this,c);if(!b){for(b=this.constructor;b;){var e=ze(b);if(e=Mo[e])break;b=(b=Object.getPrototypeOf(b.prototype))&&b.constructor}b=e?ve(e.K)?e.K():new e:null}this.u=b;this.ei(void 0!==a?a:null);this.lg=null};C(X,W);v=X.prototype;v.Nb=null;v.Y=0;v.Yf=39;v.ng=255;v.pi=0;v.ca=!0;v.Pb=null;v.Yg=!0;v.jg=!1;v.Lf=null;v.vl=function(a){this.I&&a!=this.Yg&&this.Rn(a);this.Yg=a};v.ta=function(){return this.u.ta(this)};v.Mg=function(){return this.Da||(this.Da=new yo)};
v.Ts=function(a){a&&(this.Pb?df(this.Pb,a)||this.Pb.push(a):this.Pb=[a],this.u.Pn(this,a,!0))};v.Dz=function(a){a&&this.Pb&&ff(this.Pb,a)&&(0==this.Pb.length&&(this.Pb=null),this.u.Pn(this,a,!1))};v.oe=function(a,b){b?this.Ts(a):this.Dz(a)};v.j=function(){var a=this.u.j(this);this.kc(a);this.u.pl(a,this.Wc());this.jg||this.u.Rf(a,!1);this.isVisible()||this.u.D(a,!1)};v.Wc=function(){return this.Lf};v.ki=function(a){this.Lf=a};v.ol=function(a){this.lg=a;var b=this.g();b&&this.u.ol(b,a)};v.P=function(){return this.u.P(this.g())};
v.Sa=function(a){return this.u.Sa(a)};v.ha=function(a){a=this.u.F(this,a);this.kc(a);this.u.pl(a,this.Wc());this.jg||this.u.Rf(a,!1);this.ca=a.style.display!=ed};v.H=function(){X.i.H.call(this);this.u.Oq(this,this.N());this.u.cd(this);if(this.Yf&-2&&(this.Yg&&this.Rn(!0),this.pa(32))){var a=this.ta();if(a){var b=this.Mg();b.ud(a);this.C().listen(b,Oc,this.ya).listen(a,ec,this.$c).listen(a,Bb,this.hb)}}};
v.Rn=function(a){var b=this.Od?ek:fk,c=this.C(),e=this.g();a?(c.listen(e,b.qd,this.Ia).listen(e,[b.rd,b.Zd],this.Rb).listen(e,ad,this.ye).listen(e,$c,this.Zg),this.Od&&c.listen(e,xc,this.Mh),this.sf!=se&&c.listen(e,Pb,this.sf),H&&(K(9)||c.listen(e,"dblclick",this.Bo),this.uf||(this.uf=new To(this),this.Hb(this.uf)))):(c.R(e,b.qd,this.Ia).R(e,[b.rd,b.Zd],this.Rb).R(e,ad,this.ye).R(e,$c,this.Zg),this.Od&&c.R(e,xc,this.Mh),this.sf!=se&&c.R(e,Pb,this.sf),H&&(K(9)||c.R(e,"dblclick",this.Bo),P(this.uf),
this.uf=null))};v.oa=function(){X.i.oa.call(this);this.Da&&this.Da.detach();this.isVisible()&&this.isEnabled()&&this.u.Oc(this,!1)};v.o=function(){X.i.o.call(this);this.Da&&(this.Da.dispose(),delete this.Da);delete this.u;this.uf=this.Pb=this.Nb=null};v.fb=function(){return this.Nb};v.jc=function(a){this.u.jc(this.g(),a);this.ei(a)};v.ei=function(a){this.Nb=a};v.qe=function(){var a=this.fb();if(!a)return"";a=typeof a===u?a:Array.isArray(a)?Xe(a,$i).join(""):Zi(a);return wh(a)};
v.Ue=function(a){X.i.Ue.call(this,a);var b=this.g();b&&this.u.Ue(b,a)};v.Rf=function(a){this.jg=a;var b=this.g();b&&this.u.Rf(b,a)};v.isVisible=function(){return this.ca};v.D=function(a,b){return b||this.ca!=a&&this.dispatchEvent(a?"show":Bc)?((b=this.g())&&this.u.D(b,a),this.isEnabled()&&this.u.Oc(this,a),this.ca=a,!0):!1};v.isEnabled=function(){return!this.Db(1)};v.Cx=function(){var a=this.getParent();return!!a&&typeof a.isEnabled==r&&!a.isEnabled()};
v.ma=function(a){!this.Cx()&&this.Gd(1,!a)&&(a||(this.setActive(!1),this.Za(!1)),this.isVisible()&&this.u.Oc(this,a),this.setState(1,!a,!0))};v.hp=function(){return this.Db(2)};v.Za=function(a){this.Gd(2,a)&&this.setState(2,a)};v.Xa=function(){return this.Db(4)};v.setActive=function(a){this.Gd(4,a)&&this.setState(4,a)};v.qp=function(){return this.Db(8)};v.Tf=function(a){this.Gd(8,a)&&this.setState(8,a)};v.dd=function(){return this.Db(16)};v.Vd=function(a){this.Gd(16,a)&&this.setState(16,a)};
v.lk=function(){return this.Db(32)};v.Se=function(a){this.Gd(32,a)&&this.setState(32,a)};v.rb=function(){return this.Db(64)};v.qa=function(a){this.Gd(64,a)&&this.setState(64,a)};v.getState=function(){return this.Y};v.Db=function(a){return!!(this.Y&a)};v.setState=function(a,b,c){c||1!=a?this.pa(a)&&b!=this.Db(a)&&(this.u.setState(this,a,b),this.Y=b?this.Y|a:this.Y&~a):this.ma(!b)};v.El=function(a){this.Y=a};v.pa=function(a){return!!(this.Yf&a)};
v.Ea=function(a,b){if(this.I&&this.Db(a)&&!b)throw Error(La);!b&&this.Db(a)&&this.setState(a,!1);this.Yf=b?this.Yf|a:this.Yf&~a};v.qb=function(a){return!!(this.ng&a)&&this.pa(a)};v.wA=function(a,b){this.ng=b?this.ng|a:this.ng&~a};v.Tq=function(a,b){this.pi=b?this.pi|a:this.pi&~a};v.Gd=function(a,b){return this.pa(a)&&this.Db(a)!=b&&(!(this.pi&a)||this.dispatchEvent(jo(a,b)))&&!this.isDisposed()};v.ye=function(a){!Uo(a,this.g())&&this.dispatchEvent(Zb)&&this.isEnabled()&&this.qb(2)&&this.Za(!0)};
v.Zg=function(a){!Uo(a,this.g())&&this.dispatchEvent("leave")&&(this.qb(4)&&this.setActive(!1),this.qb(2)&&this.Za(!1))};v.Mh=function(a){var b=a.target;b.releasePointerCapture&&b.releasePointerCapture(a.pointerId)};v.sf=se;var Uo=function(a,b){return!!a.relatedTarget&&Pi(b,a.relatedTarget)};v=X.prototype;v.Ia=function(a){this.isEnabled()&&(this.qb(2)&&this.Za(!0),a.mh()&&(this.qb(4)&&this.setActive(!0),this.u&&this.u.Hc(this)&&this.ta().focus()));!this.jg&&a.mh()&&a.preventDefault()};
v.Rb=function(a){this.isEnabled()&&(this.qb(2)&&this.Za(!0),this.Xa()&&this.hc(a)&&this.qb(4)&&this.setActive(!1))};v.Bo=function(a){this.isEnabled()&&this.hc(a)};v.hc=function(a){this.qb(16)&&this.Vd(!this.dd());this.qb(8)&&this.Tf(!0);this.qb(64)&&this.qa(!this.rb());var b=new ck(ib,this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.Rk=a.Rk);return this.dispatchEvent(b)};v.$c=function(){this.qb(32)&&this.Se(!0)};
v.hb=function(){this.qb(4)&&this.setActive(!1);this.qb(32)&&this.Se(!1)};v.ya=function(a){return this.isVisible()&&this.isEnabled()&&this.Qb(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};v.Qb=function(a){return 13==a.keyCode&&this.hc(a)};if(!ve(X))throw Error("Invalid component class "+X);if(!ve(Po))throw Error("Invalid renderer class "+Po);var Vo=ze(X);Mo[Vo]=Po;Lo(jc,function(){return new X(null)});
var To=function(a){O.call(this);this.yg=a;this.vg=!1;this.za=new Fk(this);this.Hb(this.za);var b=this.yg.N();a=a.Od?ek:fk;this.za.listen(b,a.qd,this.Xg).listen(b,a.rd,this.nw).listen(b,q,this.Cc)};C(To,O);var Wo=!H||ei(9);To.prototype.Xg=function(){this.vg=!1};To.prototype.nw=function(){this.vg=!0};
var Xo=function(a,b){if(!Wo)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};To.prototype.Cc=function(a){if(this.vg)this.vg=!1;else{var b=a.cb,c=b.button,e=b.type,f=Xo(b,Yc);this.yg.Ia(new gk(f,a.currentTarget));f=Xo(b,bd);this.yg.Rb(new gk(f,a.currentTarget));Wo||(b.button=c,b.type=e)}};
To.prototype.o=function(){this.yg=null;To.i.o.call(this)};var Yo=function(a,b,c){W.call(this,c);this.u=b||No.K();this.Nd=a||Vd};C(Yo,W);v=Yo.prototype;v.tk=null;v.Da=null;v.u=null;v.Nd=null;v.ca=!0;v.Ua=!0;v.zj=!0;v.ua=-1;v.va=null;v.Hk=!1;v.et=!1;v.hz=!0;v.uc=null;v.ta=function(){return this.tk||this.u.ta(this)};v.Mg=function(){return this.Da||(this.Da=new yo(this.ta()))};v.j=function(){this.kc(this.u.j(this))};v.P=function(){return this.u.P(this.g())};v.Sa=function(a){return this.u.Sa(a)};
v.ha=function(a){this.kc(this.u.F(this,a));a.style.display==ed&&(this.ca=!1)};
v.H=function(){Yo.i.H.call(this);this.Na(function(c){c.I&&this.rq(c)},this);var a=this.g();this.u.cd(this);this.D(this.ca,!0);var b=this.Od?ek:fk;this.C().listen(this,Zb,this.Pj).listen(this,Cc,this.Qj).listen(this,Sd,this.Tj).listen(this,"open",this.pw).listen(this,Jb,this.Oj).listen(a,b.qd,this.Ia).listen(pi(a),[b.rd,b.Zd],this.$v).listen(a,[b.qd,b.rd,b.Zd,ad,$c,Pb],this.Xv);this.Od&&this.C().listen(a,xc,this.Mh);this.Hc()&&this.Qn(!0)};v.Mh=function(a){var b=a.target;b.releasePointerCapture&&b.releasePointerCapture(a.pointerId)};
v.Qn=function(a){var b=this.C(),c=this.ta();a?b.listen(c,ec,this.$c).listen(c,Bb,this.hb).listen(this.Mg(),Oc,this.ya):b.R(c,ec,this.$c).R(c,Bb,this.hb).R(this.Mg(),Oc,this.ya)};v.oa=function(){this.Tb(-1);this.va&&this.va.qa(!1);this.Hk=!1;Yo.i.oa.call(this)};v.o=function(){Yo.i.o.call(this);this.Da&&(this.Da.dispose(),this.Da=null);this.u=this.va=this.uc=this.tk=null};v.Pj=function(){return!0};
v.Qj=function(a){var b=this.Be(a.target);if(-1<b&&b!=this.ua){var c=this.Bc();c&&c.Za(!1);this.ua=b;c=this.Bc();this.Hk&&c.setActive(!0);this.hz&&this.va&&c!=this.va&&(c.pa(64)?c.qa(!0):this.va.qa(!1))}b=this.g();D(b,Za);null!=a.target.g()&&U(b,jb,a.target.g().id)};v.Tj=function(a){a.target==this.Bc()&&(this.ua=-1);a=this.g();D(a,Za);a.removeAttribute(In(jb))};v.pw=function(a){(a=a.target)&&a!=this.va&&a.getParent()==this&&(this.va&&this.va.qa(!1),this.va=a)};
v.Oj=function(a){a.target==this.va&&(this.va=null);var b=this.g(),c=a.target.g();b&&a.target.hp()&&c&&Ln(b,c)};v.Ia=function(a){this.Ua&&this.kd(!0);var b=this.ta();b&&Wi(b)?b.focus():a.preventDefault()};v.$v=function(){this.kd(!1)};v.Xv=function(a){var b=this.Od?ek:fk,c=this.Bv(a.target);if(c)switch(a.type){case b.qd:c.Ia(a);break;case b.rd:case b.Zd:c.Rb(a);break;case ad:c.ye(a);break;case $c:c.Zg(a);break;case Pb:c.sf(a)}};
v.Bv=function(a){if(this.uc)for(var b=this.g();a&&a!==b;){var c=a.id;if(c in this.uc)return this.uc[c];a=a.parentNode}return null};v.$c=function(){};v.hb=function(){this.Tb(-1);this.kd(!1);this.va&&this.va.qa(!1)};v.ya=function(a){return this.isEnabled()&&this.isVisible()&&(0!=this.Oa()||this.tk)&&this.Qb(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
v.Qb=function(a){var b=this.Bc();if(b&&typeof b.ya==r&&b.ya(a)||this.va&&this.va!=b&&typeof this.va.ya==r&&this.va.ya(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.Hc())this.ta().blur();else return!1;break;case 36:this.dh();break;case 35:this.Qw();break;case 38:if(this.Nd==Vd)this.Yj();else return!1;break;case 37:if(this.Nd==Dc)this.ed()?this.Xj():this.Yj();else return!1;break;case 40:if(this.Nd==Vd)this.Xj();else return!1;break;case 39:if(this.Nd==
Dc)this.ed()?this.Yj():this.Xj();else return!1;break;default:return!1}return!0};v.rq=function(a){var b=a.g();b=b.id||(b.id=a.getId());this.uc||(this.uc={});this.uc[b]=a};v.xb=function(a,b){Te(a,X,"The child of a container must be a control");Yo.i.xb.call(this,a,b)};v.be=function(a,b,c){Te(a,X);a.Tq(2,!0);a.Tq(64,!0);!this.Hc()&&this.et||a.Ea(32,!1);a.vl(!1);var e=a.getParent()==this?this.Be(a):-1;Yo.i.be.call(this,a,b,c);a.I&&this.I&&this.rq(a);this.eC(e,b)};
v.eC=function(a,b){-1==a&&(a=this.Oa());a==this.ua?this.ua=Math.min(this.Oa()-1,b):a>this.ua&&b<=this.ua?this.ua++:a<this.ua&&b>this.ua&&this.ua--};v.removeChild=function(a,b){a=typeof a===u?this.Jg(a):a;Te(a,X);if(a){var c=this.Be(a);-1!=c&&(c==this.ua?(a.Za(!1),this.ua=-1):c<this.ua&&this.ua--);(c=a.g())&&c.id&&this.uc&&Qf(this.uc,c.id)}a=Yo.i.removeChild.call(this,a,b);a.vl(!0);return a};v.setOrientation=function(a){if(this.g())throw Error(La);this.Nd=a};v.isVisible=function(){return this.ca};
v.D=function(a,b){if(b||this.ca!=a&&this.dispatchEvent(a?"show":Bc)){this.ca=a;var c=this.g();c&&(T(c,a),this.Hc()&&this.u.mj(this.ta(),this.Ua&&this.ca),b||this.dispatchEvent(this.ca?kb:"afterhide"));return!0}return!1};v.isEnabled=function(){return this.Ua};
v.ma=function(a){this.Ua!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.Ua=!0,this.Na(function(b){b.Xr?delete b.Xr:b.ma(!0)})):(this.Na(function(b){b.isEnabled()?b.ma(!1):b.Xr=!0}),this.Ua=!1,this.kd(!1)),this.Hc()&&this.u.mj(this.ta(),a&&this.ca))};v.Hc=function(){return this.zj};v.Oc=function(a){a!=this.zj&&this.I&&this.Qn(a);this.zj=a;this.Ua&&this.ca&&this.u.mj(this.ta(),a)};v.Tb=function(a){(a=this.Ha(a))?a.Za(!0):-1<this.ua&&this.Bc().Za(!1)};v.Za=function(a){this.Tb(this.Be(a))};
v.Bc=function(){return this.Ha(this.ua)};v.dh=function(){this.eh(function(a,b){return(a+1)%b},this.Oa()-1)};v.Qw=function(){this.eh(function(a,b){a--;return 0>a?b-1:a},0)};v.Xj=function(){this.eh(function(a,b){return(a+1)%b},this.ua)};v.Yj=function(){this.eh(function(a,b){a--;return 0>a?b-1:a},this.ua)};v.eh=function(a,b){b=0>b?this.Be(this.va):b;var c=this.Oa();b=a.call(this,b,c);for(var e=0;e<=c;){var f=this.Ha(b);if(f&&this.Xm(f))return this.PA(b),!0;e++;b=a.call(this,b,c)}return!1};
v.Xm=function(a){return a.isVisible()&&a.isEnabled()&&a.pa(2)};v.PA=function(a){this.Tb(a)};v.kd=function(a){this.Hk=a};var Zo=function(){};C(Zo,Po);y(Zo);Zo.prototype.B=function(){return qc};var $o=function(a,b,c){X.call(this,a,c||Zo.K(),b);this.Ea(1,!1);this.Ea(2,!1);this.Ea(4,!1);this.Ea(32,!1);this.El(1)};C($o,X);Lo(qc,function(){return new $o(null)});var ap=function(){this.$i=[]};C(ap,Po);y(ap);v=ap.prototype;v.re=function(a){var b=this.$i[a];if(!b){switch(a){case 0:b=this.ob()+"-highlight";break;case 1:b=this.ob()+"-checkbox";break;case 2:b=this.ob()+la}this.$i[a]=b}return b};v.Bb=function(){return"menuitem"};v.j=function(a){var b=a.s().j(n,this.zc(a).join(" "),this.vn(a.fb(),a.s()));this.tl(a,b,a.pa(8)||a.pa(16));return b};v.P=function(a){return a&&a.firstChild};
v.F=function(a,b){D(b);this.Cw(b)||b.appendChild(this.vn(b.childNodes,a.s()));Wn(b,"goog-option")&&(a.ci(!0),this.ci(a,b,!0));return ap.i.F.call(this,a,b)};v.jc=function(a,b){var c=this.P(a),e=this.Uj(a)?c.firstChild:null;ap.i.jc.call(this,a,b);e&&!this.Uj(a)&&c.insertBefore(e,c.firstChild||null)};v.Cw=function(a){a=Mi(a);var b=this.re(2);return!!a&&Wn(a,b)};v.vn=function(a,b){var c=this.re(2);return b.j(n,c,a)};v.ar=function(a,b,c){a&&b&&this.tl(a,b,c)};v.ci=function(a,b,c){a&&b&&this.tl(a,b,c)};
v.Uj=function(a){if(a=this.P(a)){a=a.firstChild;var b=this.re(1);return!!a&&Oi(a)&&Wn(a,b)}return!1};v.tl=function(a,b,c){this.pl(b,a.Wc());this.Oq(a,b);c!=this.Uj(b)&&($n(b,"goog-option",c),b=this.P(b),c?(c=this.re(1),b.insertBefore(a.s().j(n,c),b.firstChild||null)):b.removeChild(b.firstChild))};v.zd=function(a){switch(a){case 2:return this.re(0);case 16:case 8:return sc;default:return ap.i.zd.call(this,a)}};
v.Sg=function(a){var b=this.re(0);switch(a){case sc:return 16;case b:return 2;default:return ap.i.Sg.call(this,a)}};v.B=function(){return"goog-menuitem"};var bp=function(a,b,c,e){X.call(this,a,e||ap.K(),c);this.setValue(b)};C(bp,X);v=bp.prototype;v.getValue=function(){var a=this.Kd;return null!=a?a:this.qe()};v.setValue=function(a){this.yl(a)};v.Ea=function(a,b){bp.i.Ea.call(this,a,b);switch(a){case 8:this.XA(b);break;case 16:this.zA(b)}};v.ar=function(a){this.Ea(8,a)};v.XA=function(a){this.dd()&&!a&&this.Vd(!1);var b=this.g();b&&this.u.ar(this,b,a)};v.ci=function(a){this.Ea(16,a)};v.zA=function(a){var b=this.g();b&&this.u.ci(this,b,a)};
v.qe=function(){var a=this.fb();return Array.isArray(a)?(a=Xe(a,function(b){return Oi(b)&&(Wn(b,"goog-menuitem-accel")||Wn(b,"goog-menuitem-mnemonic-separator"))?"":$i(b)}).join(""),wh(a)):bp.i.qe.call(this)};v.Rb=function(a){var b=this.getParent();if(b){var c=b.hq;b.hq=null;if(c&&typeof a.clientX===t&&ki(c,new L(a.clientX,a.clientY)))return}bp.i.Rb.call(this,a)};v.Qb=function(a){return a.keyCode==this.Gk&&this.hc(a)?!0:bp.i.Qb.call(this,a)};v.uv=function(){return this.Gk};Lo("goog-menuitem",function(){return new bp(null)});
bp.prototype.Wc=function(){return this.pa(16)?Xc:this.pa(8)?"menuitemradio":bp.i.Wc.call(this)};bp.prototype.getParent=function(){return X.prototype.getParent.call(this)};bp.prototype.xe=function(){return X.prototype.xe.call(this)};var cp=function(){};C(cp,Po);y(cp);cp.prototype.j=function(a){return a.s().j(n,this.B())};cp.prototype.F=function(a,b){b.id&&a.wl(b.id);if("HR"==b.tagName){var c=b;b=this.j(a);Ii(b,c);Ki(c)}else V(b,this.B());return b};cp.prototype.jc=function(){};cp.prototype.B=function(){return rc};var dp=function(a,b){X.call(this,null,a||cp.K(),b);this.Ea(1,!1);this.Ea(2,!1);this.Ea(4,!1);this.Ea(32,!1);this.El(1)};C(dp,X);dp.prototype.H=function(){dp.i.H.call(this);var a=this.g();D(a,"The DOM element for the separator cannot be null.");Hn(a,yd)};Lo(rc,function(){return new dp});var ep=function(a){this.Bm=a||"menu"};C(ep,No);y(ep);v=ep.prototype;v.Sa=function(a){return"UL"==a.tagName||ep.i.Sa.call(this,a)};v.Fj=function(a){return"HR"==a.tagName?new dp:ep.i.Fj.call(this,a)};v.yb=function(a,b){return Pi(a.g(),b)};v.B=function(){return oc};v.cd=function(a){ep.i.cd.call(this,a);a=a.g();D(a,"The menu DOM element cannot be null.");U(a,yc,Rd)};var fp=function(a){dp.call(this,cp.K(),a)};C(fp,dp);Lo(rc,function(){return new dp});var gp=function(a,b){Yo.call(this,Vd,b||ep.K(),a);this.Oc(!1)};C(gp,Yo);v=gp.prototype;v.Ri=!0;v.ft=!1;v.B=function(){return this.u.B()};v.yb=function(a){if(this.u.yb(this,a))return!0;for(var b=0,c=this.Oa();b<c;b++){var e=this.Ha(b);if(typeof e.yb==r&&e.yb(a))return!0}return!1};v.ab=function(a){this.xb(a,!0)};v.td=function(a,b){this.be(a,b,!0)};v.removeItem=function(a){(a=this.removeChild(a,!0))&&a.dispose()};v.gb=function(a){return this.Ha(a)};v.Kg=function(){return this.Oa()};
v.Lg=function(){var a=[];this.Na(function(b){a.push(b)});return a};v.setPosition=function(a,b){var c=this.isVisible();c||T(this.g(),!0);var e=this.g(),f=jm(e);a instanceof L&&(b=a.y,a=a.x);a=Me(a)-f.x;fm(e,e.offsetLeft+a,e.offsetTop+(Number(b)-f.y));c||T(this.g(),!1)};v.bi=function(a){(this.Ri=a)&&this.Oc(!0)};v.D=function(a,b,c){(b=gp.i.D.call(this,a,b))&&a&&this.I&&this.Ri&&this.ta().focus();this.hq=a&&c&&typeof c.clientX===t?new L(c.clientX,c.clientY):null;return b};
v.Pj=function(a){this.Ri&&this.ta().focus();return gp.i.Pj.call(this,a)};v.Xm=function(a){return(this.ft||a.isEnabled())&&a.isVisible()&&a.pa(2)};v.ha=function(a){this.Vt(a);gp.i.ha.call(this,a)};v.Qb=function(a){var b=gp.i.Qb.call(this,a);b||this.Na(function(c){!b&&c.uv&&c.Gk==a.keyCode&&(this.isEnabled()&&this.Za(c),b=c.ya(a))},this);return b};v.Tb=function(a){gp.i.Tb.call(this,a);(a=this.Ha(a))&&nm(a.g(),this.g())};
v.Vt=function(a){var b=this.u;a=this.s().ue(n,b.B()+la,a);for(var c=a.length,e=0;e<c;e++)b.Bn(this,a[e])};var hp=function(a,b){gp.call(this,a,b);this.bi(!0);this.D(!1,!0);this.mc=new Sj};C(hp,gp);v=hp.prototype;v.Ir=!1;v.nB=!1;v.tp=0;v.ha=function(a){hp.i.ha.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.ud(this.s().g(a),1)};v.H=function(){hp.i.H.call(this);this.mc.forEach(this.Jm,this);var a=this.C();a.listen(this,ib,this.Tp);a.listen(this.s().A,Yc,this.My,!0)};
v.ud=function(a,b,c,e,f){this.ik(a)||(b=this.rn(a,b,c,e,f),this.I&&this.Jm(b),a=Ce(this.Vy,a),this.g()&&this.C().listen(this.g(),Pc,a))};v.Vy=function(a,b){if(27==b.keyCode)a.focus();else if(a=this.Ha(this.ua)){a=a.g();var c=new gk(b.cb,a);c.target=a;if(32==b.keyCode||13==b.keyCode)kk(a)?a.ff(Pc,!1,c):Dk(a,Pc,!1,c);32==b.keyCode&&this.Dc()}};v.rn=function(a,b,c,e,f){if(!a)return null;b={m:a,Dr:b,py:c,tj:e?Pb:Yc,by:f};this.mc.set(ze(a),b);return b};v.ik=function(a){return a?this.mc.zb(ze(a)):!1};
v.Jm=function(a){this.C().listen(a.m,a.tj,this.Gh);a.tj!=Pb&&this.C().listen(a.m,Pc,this.dz)};v.detach=function(a){if(!this.ik(a))throw Error("Menu not attached to provided element, unable to detach.");a=ze(a);this.I&&this.Zt(this.mc.get(a));this.mc.remove(a)};v.Zt=function(a){this.C().R(a.m,a.tj,this.Gh)};v.fB=function(a){this.Ir=a};
v.yB=function(a,b,c){var e=this.isVisible();this.Bx()&&this.Ir?this.Dc():this.dispatchEvent("beforeshow")&&(b="undefined"!=typeof b?b:8,e||(this.g().style.visibility=Ac),T(this.g(),!0),a.La(this.g(),b,c),e||(this.g().style.visibility=Wd),this.Tb(-1),this.D(!0))};v.pr=function(a,b,c){b=void 0!==a.Dr?new Go(a.m,a.Dr,!0):new Jo(b,c);b.gi&&b.gi(5);this.yB(b,a.py,a.by,a.m)};v.Dc=function(){this.isVisible()&&(this.D(!1),this.isVisible()||(this.tp=De()))};v.Bx=function(){return this.isVisible()||this.mC()};
v.mC=function(){return 150>De()-this.tp};v.Tp=function(){this.Dc()};v.Gh=function(a){this.nB&&a.shiftKey&&2==a.button||this.gq(a)};v.dz=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||this.gq(a);40==a.keyCode&&this.dh()};v.gq=function(a){for(var b=this.mc.ra(),c=0;c<b.length;c++){var e=this.mc.get(b[c]);if(e.m==a.currentTarget){this.pr(e,a.clientX,a.clientY);a.preventDefault();a.stopPropagation();break}}};v.My=function(a){this.isVisible()&&!this.yb(a.target)&&this.Dc()};
v.hb=function(a){hp.i.hb.call(this,a);this.Dc()};v.o=function(){hp.i.o.call(this);this.mc&&(this.mc.clear(),delete this.mc)};new qn(0,0,1);new qn(9999,11,31);ho.K();var ip=function(a,b){W.call(this,b);this.X=a||""},jp;C(ip,W);ip.prototype.cc=null;ip.prototype.Nx=10;var kp=function(){null==jp&&(jp="placeholder"in Di(document,Qa));return jp};v=ip.prototype;v.ze=!1;v.j=function(){this.kc(this.s().j(Qa,{type:"text"}))};v.ha=function(a){ip.i.ha.call(this,a);this.X||(this.X=a.getAttribute(Sc)||"");bj(pi(a))==a&&(this.ze=!0,a=this.g(),D(a),Yn(a,this.zf));kp()&&(this.g().placeholder=this.X);a=this.g();D(a,ab);U(a,Sc,this.X)};
v.H=function(){ip.i.H.call(this);this.qt();this.Qc();this.g().Jc=this};v.oa=function(){ip.i.oa.call(this);this.Gn();this.g().Jc=null};v.qt=function(){var a=new Fk(this);a.listen(this.g(),ec,this.Co);a.listen(this.g(),Bb,this.Vv);if(kp())this.$=a;else{I&&a.listen(this.g(),[Qc,Pc,Rc],this.bw);var b=pi(this.g());a.listen(Ai(b),Wc,this.zw);this.$=a;this.Km()}};v.Km=function(){!this.uu&&this.$&&this.g().form&&(this.$.listen(this.g().form,Hd,this.cw),this.uu=!0)};
v.Gn=function(){this.$&&(this.$.dispose(),this.$=null)};v.o=function(){ip.i.o.call(this);this.Gn()};v.zf="label-input-label";v.Co=function(){this.ze=!0;var a=this.g();D(a);Yn(a,this.zf);if(!kp()&&!this.bd()&&!this.Xw){var b=this;a=function(){b.g()&&(b.g().value="")};H?al(a,10):a()}};v.Vv=function(){kp()||(this.$.R(this.g(),q,this.Co),this.cc=null);this.ze=!1;this.Qc()};v.bw=function(a){27==a.keyCode&&(a.type==Pc?this.cc=this.g().value:a.type==Qc?this.g().value=this.cc:a.type==Rc&&(this.cc=null),a.preventDefault())};
v.cw=function(){this.bd()||(this.g().value="",al(this.Tv,10,this))};v.Tv=function(){this.bd()||(this.g().value=this.X)};v.zw=function(){this.Qc()};v.hasFocus=function(){return this.ze};v.bd=function(){return!!this.g()&&""!=this.g().value&&this.g().value!=this.X};v.clear=function(){this.g().value="";null!=this.cc&&(this.cc="")};v.reset=function(){this.bd()&&(this.clear(),this.Qc())};v.setValue=function(a){null!=this.cc&&(this.cc=a);this.g().value=a;this.Qc()};
v.getValue=function(){return null!=this.cc?this.cc:this.bd()?this.g().value:""};v.Yq=function(a){var b=this.g();kp()?(b&&(b.placeholder=a),this.X=a):this.bd()||(b&&(b.value=""),this.X=a,this.Aq());b&&U(b,Sc,this.X)};v.Jj=function(){return this.X};v.Qc=function(){var a=this.g();D(a,ab);kp()?this.g().placeholder!=this.X&&(this.g().placeholder=this.X):this.Km();U(a,Sc,this.X);this.bd()?(a=this.g(),D(a),Yn(a,this.zf)):(this.Xw||this.ze||(a=this.g(),D(a),V(a,this.zf)),kp()||al(this.Aq,this.Nx,this))};
v.ma=function(a){this.g().disabled=!a;var b=this.g();D(b);$n(b,this.zf+na,!a)};v.isEnabled=function(){return!this.g().disabled};v.Aq=function(){!this.g()||this.bd()||this.ze||(this.g().value=this.X)};var lp=function(){};C(lp,Po);y(lp);v=lp.prototype;v.Bb=function(){return Db};v.oc=function(a,b,c){switch(b){case 8:case 16:D(a,"The button DOM element cannot be null.");U(a,"pressed",c);break;default:case 64:case 1:lp.i.oc.call(this,a,b,c)}};v.j=function(a){var b=lp.i.j.call(this,a);this.Pc(b,a.Xc());var c=a.getValue();c&&this.setValue(b,c);a.pa(16)&&this.oc(b,16,a.dd());return b};v.F=function(a,b){b=lp.i.F.call(this,a,b);a.jB(this.getValue(b));a.Fl(this.Xc(b));a.pa(16)&&this.oc(b,16,a.dd());return b};
v.getValue=se;v.setValue=se;v.Xc=function(a){return a.title};v.Pc=function(a,b){a&&(b?a.title=b:a.removeAttribute(Pd))};v.di=function(a,b){var c=a.ed(),e=this.ob()+"-collapse-left",f=this.ob()+"-collapse-right";a.oe(c?f:e,!!(b&1));a.oe(c?e:f,!!(b&2))};v.B=function(){return ic};var mp=function(){};C(mp,lp);y(mp);v=mp.prototype;v.Bb=function(){};v.j=function(a){this.ir(a);return a.s().j(Da,{"class":this.zc(a).join(" "),disabled:!a.isEnabled(),title:a.Xc()||"",value:a.getValue()||""},a.qe()||"")};v.Sa=function(a){return a.tagName==Da||a.tagName==Qa&&(a.type==Db||a.type==Hd||"reset"==a.type)};v.F=function(a,b){this.ir(a);if(b.disabled){var c=Ne(this.zd(1));V(b,c)}return mp.i.F.call(this,a,b)};v.cd=function(a){a.C().listen(a.g(),q,a.hc)};v.Rf=se;v.Ue=se;v.Hc=function(a){return a.isEnabled()};
v.Oc=se;v.setState=function(a,b,c){mp.i.setState.call(this,a,b,c);(a=a.g())&&1==b&&(a.disabled=c)};v.getValue=function(a){return a.value};v.setValue=function(a,b){a&&(a.value=b)};v.oc=se;v.ir=function(a){a.vl(!1);a.wA(255,!1);a.Ea(32,!1)};var np=function(a,b,c){X.call(this,a,b||mp.K(),c)};C(np,X);v=np.prototype;v.getValue=function(){return this.em};v.setValue=function(a){this.em=a;this.u.setValue(this.g(),a)};v.jB=function(a){this.em=a};v.Xc=function(){return this.da};v.Pc=function(a){this.da=a;this.u.Pc(this.g(),a)};v.Fl=function(a){this.da=a};v.di=function(a){this.u.di(this,a)};v.o=function(){np.i.o.call(this);delete this.em;delete this.da};
v.H=function(){np.i.H.call(this);if(this.pa(32)){var a=this.ta();a&&this.C().listen(a,Rc,this.Qb)}};v.Qb=function(a){return 13==a.keyCode&&a.type==Oc||32==a.keyCode&&a.type==Rc?this.hc(a):32==a.keyCode};Lo(ic,function(){return new np(null)});var op=function(){};C(op,lp);y(op);v=op.prototype;v.j=function(a){var b=this.zc(a);b=a.s().j(n,nc+b.join(" "),this.df(a.fb(),a.s()));this.Pc(b,a.Xc());return b};v.Bb=function(){return Db};v.P=function(a){return a&&a.firstChild&&a.firstChild.firstChild};v.df=function(a,b){return b.j(n,nc+(this.B()+ra),b.j(n,nc+(this.B()+qa),a))};v.Sa=function(a){return a.tagName==n};v.Lo=function(a,b){b=a.s().ve(b);var c=this.B()+ra;return b&&Wn(b,c)&&(a=a.s().ve(b),b=this.B()+qa,a&&Wn(a,b))?!0:!1};
v.F=function(a,b){D(b);pp(b,!0);pp(b,!1);this.Lo(a,b)||b.appendChild(this.df(b.childNodes,a.s()));Xn(b,[mc,this.B()]);return op.i.F.call(this,a,b)};v.B=function(){return"goog-custom-button"};var pp=function(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,e;c&&c.parentNode==a;){e=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var f=c.nodeValue;if(""==wf(f))a.removeChild(c);else{c.nodeValue=b?f.replace(/^[\s\xa0]+/,""):f.replace(/[\s\xa0]+$/,"");break}}else break;c=e}};var rp=function(){};C(rp,op);y(rp);v=rp.prototype;v.P=function(a){return rp.i.P.call(this,a&&a.firstChild)};v.F=function(a,b){var c=ti("*",oc,b)[0];if(c){T(c,!1);Fi(pi(c).body,c);var e=new gp;e.F(c);a.Ub(e)}return rp.i.F.call(this,a,b)};v.df=function(a,b){return rp.i.df.call(this,[this.createCaption(a,b),this.Ag(b)],b)};v.createCaption=function(a,b){return b.j(n,nc+(this.B()+ka),a)};v.Ag=function(a){return a.j(n,nc+(this.B()+pa),"\u00a0")};v.B=function(){return pc};var sp=function(){this.$i=[]};C(sp,ap);y(sp);v=sp.prototype;v.j=function(a){var b=sp.i.j.call(this,a);D(b);V(b,uc);this.sm(a,b);return b};v.F=function(a,b){b=sp.i.F.call(this,a,b);D(b);V(b,uc);this.sm(a,b);var c=ti(n,oc,b);if(c.length){var e=new gp(a.s());c=c[0];T(c,!1);a.s().A.body.appendChild(c);e.F(c);a.Ub(e,!0)}return b};v.jc=function(a,b){var c=this.P(a),e=c&&c.lastChild;sp.i.jc.call(this,a,b);e&&c.lastChild!=e&&Wn(e,vc)&&c.appendChild(e)};
v.cd=function(a){sp.i.cd.call(this,a);var b=a.P(),c=a.s().ue(Va,vc,b)[0];tp(a,c);c!=b.lastChild&&b.appendChild(c);a=a.g();D(a,"The sub menu DOM element cannot be null.");U(a,yc,Rd)};v.sm=function(a,b){var c=a.s().j(Va);c.className=vc;tp(a,c);this.P(b).appendChild(c)};var tp=function(a,b){D(b);a.ed()?(V(b,wc),Ri(b,a.ig?"\u25c4":"\u25ba")):(Yn(b,wc),Ri(b,a.ig?"\u25ba":"\u25c4"))};var up=function(a,b,c,e){bp.call(this,a,b,c,e||sp.K())};C(up,bp);v=up.prototype;v.nb=null;v.Ll=null;v.Fk=!1;v.Ba=null;v.Hg=!1;v.ig=!0;v.Dx=!1;v.H=function(){up.i.H.call(this);this.C().listen(this.getParent(),Bc,this.bq);this.Ba&&this.ii(this.Ba,!0)};v.oa=function(){this.C().R(this.getParent(),Bc,this.bq);this.Ba&&(this.ii(this.Ba,!1),this.Hg||(this.Ba.oa(),Ki(this.Ba.g())));up.i.oa.call(this)};v.o=function(){this.Ba&&!this.Hg&&this.Ba.dispose();this.Ba=null;up.i.o.call(this)};
v.Za=function(a,b){up.i.Za.call(this,a);b&&this.ja().kd(!0);a||(this.nb&&bl(this.nb),this.nb=al(this.vc,218,this))};v.Kl=function(){var a=this.getParent();a&&a.Bc()==this&&(this.er(!0),this.Hn())};v.vc=function(){var a=this.Ba;a&&a.getParent()==this&&(this.er(!1),a.Na(function(b){typeof b.vc==r&&b.vc()}))};v.ge=function(){this.nb&&bl(this.nb);this.Ll&&bl(this.Ll)};v.D=function(a,b){(a=up.i.D.call(this,a,b))&&!this.isVisible()&&this.vc();return a};
v.Hn=function(){this.getParent().Na(function(a){a!=this&&typeof a.vc==r&&(a.vc(),a.ge())},this)};v.ya=function(a){var b=a.keyCode,c=this.ed()?37:39,e=this.ed()?39:37;if(!this.Fk){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.Gk)return!1;this.Kl();this.ja().dh();this.ge()}else if(!this.ja().ya(a))if(b==e)this.vc();else return!1;a.preventDefault();return!0};v.Ky=function(){this.Ba.getParent()==this&&(this.ge(),this.xe().Za(this),this.Hn())};v.bq=function(a){a.target==this.xe()&&(this.vc(),this.ge())};
v.ye=function(a){this.isEnabled()&&(this.ge(),this.Ll=al(this.Kl,218,this));up.i.ye.call(this,a)};v.hc=function(a){this.ge();if(this.pa(8)||this.pa(16))return up.i.hc.call(this,a);this.Kl();return!0};v.er=function(a){!a&&this.ja()&&this.ja().Tb(-1);this.dispatchEvent(jo(64,a));var b=this.ja();a!=this.Fk&&$n(D(this.g()),"goog-submenu-open",a);a!=b.isVisible()&&(a&&(b.I||b.render(),b.Tb(-1)),b.D(a),a&&this.qz());this.Fk=a};v.ii=function(a,b){var c=this.C();(b?c.listen:c.R).call(c,a,Zb,this.Ky)};
v.qz=function(){var a=new Go(this.g(),this.ig?12:8,this.Dx),b=this.ja(),c=b.g();b.isVisible()||(c.style.visibility=Ac,T(c,!0));a.La(c,this.ig?8:12);b.isVisible()||(T(c,!1),c.style.visibility=Wd)};v.ab=function(a){this.ja().xb(a,!0)};v.td=function(a,b){this.ja().be(a,b,!0)};v.removeItem=function(a){(a=this.ja().removeChild(a,!0))&&a.dispose()};v.gb=function(a){return this.ja().Ha(a)};v.Kg=function(){return this.ja().Oa()};v.Lg=function(){return this.ja().Lg()};
v.ja=function(){this.Ba?this.Hg&&this.Ba.getParent()!=this&&this.Ba.Sf(this):this.Ub(new gp(this.s()),!0);this.Ba.g()||this.Ba.j();return this.Ba};v.Ub=function(a,b){var c=this.Ba;a!=c&&(c&&(this.vc(),this.I&&this.ii(c,!1)),this.Ba=a,this.Hg=!b,a&&(a.Sf(this),a.D(!1,!0),a.bi(!1),a.Oc(!1),this.I&&this.ii(a,!0)))};v.yb=function(a){return this.ja().yb(a)};Lo(uc,function(){return new up(null)});var vp=function(a,b,c,e,f){np.call(this,a,c||rp.K(),e);this.Ea(64,!0);this.Ff=new Io(null,9);b&&this.Ub(b);this.qy=null;this.aa=new $k(500);!Em&&!Fm||K("533.17.9")||this.MA(!0);this.sy=f||ep.K()};C(vp,np);v=vp.prototype;v.kh=!1;v.uq=!1;v.kA=!1;v.H=function(){vp.i.H.call(this);this.Lm(!0);this.v&&this.mg(this.v,!0);U(this.N(),yc,!!this.v)};v.oa=function(){vp.i.oa.call(this);this.Lm(!1);if(this.v){this.qa(!1);this.v.oa();this.mg(this.v,!1);var a=this.v.g();a&&Ki(a)}};
v.o=function(){vp.i.o.call(this);this.v&&(this.v.dispose(),delete this.v);delete this.pz;this.aa.dispose()};v.Ia=function(a){vp.i.Ia.call(this,a);this.Xa()&&(this.qa(!this.rb(),a),this.v&&this.v.kd(this.rb()))};v.Rb=function(a){vp.i.Rb.call(this,a);this.v&&!this.Xa()&&this.v.kd(!1)};v.hc=function(){this.setActive(!1);return!0};v.Zv=function(a){this.v&&this.v.isVisible()&&!this.yb(a.target)&&this.qa(!1)};v.yb=function(a){return a&&Pi(this.g(),a)||this.v&&this.v.yb(a)||!1};
v.Qb=function(a){if(32==a.keyCode){if(a.preventDefault(),a.type!=Rc)return!0}else if(a.type!=Oc)return!1;if(this.v&&this.v.isVisible()){var b=13==a.keyCode||32==a.keyCode,c=this.v.ya(a);return c&&this.v&&this.v.va instanceof up||27!=a.keyCode&&!b?c:(this.qa(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.qa(!0,a),!0):!1};v.Rj=function(){this.qa(!1)};v.mw=function(){this.Xa()||this.qa(!1)};v.hb=function(a){this.kh||this.qa(!1);vp.i.hb.call(this,a)};
v.ja=function(){this.v||this.Ub(new gp(this.s(),this.sy));return this.v||null};v.Ub=function(a){var b=this.v;a!=b&&(b&&(this.qa(!1),this.I&&this.mg(b,!1),delete this.v),this.I&&U(this.N(),yc,!!a),a&&(this.v=a,a.Sf(this),a.D(!1),a.bi(this.kh),this.I&&this.mg(a,!0)));return b};v.ab=function(a){this.ja().xb(a,!0)};v.td=function(a,b){this.ja().be(a,b,!0)};v.removeItem=function(a){(a=this.ja().removeChild(a,!0))&&a.dispose()};v.gb=function(a){return this.v?this.v.Ha(a):null};
v.Kg=function(){return this.v?this.v.Oa():0};v.D=function(a,b){(a=vp.i.D.call(this,a,b))&&!this.isVisible()&&this.qa(!1);return a};v.ma=function(a){vp.i.ma.call(this,a);this.isEnabled()||this.qa(!1)};v.Mq=function(a){this.Ff.cf=a?9:13};v.Fx=function(){return this.Ff.pv&&!!(this.Ff.Id&32)};v.MA=function(a){this.kh=a};v.VA=function(a){this.uq=a};v.pr=function(){this.qa(!0)};
v.qa=function(a,b){vp.i.qa.call(this,a);if(this.v&&this.Db(64)==a){if(a){if(!this.v.I)if(this.uq){var c=Ni(this.g());c?this.v.Lz(c):this.v.render(this.g().parentNode)}else this.v.render();this.Ci=km(this.g());this.Tm=tm(this.g());this.kq();c=!!b&&(13==b.keyCode||32==b.keyCode);b&&(40==b.keyCode||38==b.keyCode)||c&&this.kA?this.v.dh():this.v.Tb(-1)}else{this.setActive(!1);this.v.kd(!1);if(c=this.g())U(c,jb,""),U(c,od,"");null!=this.Ih&&(this.Ih=void 0,(c=this.v.g())&&rm(c,"",""))}this.v.D(a,!1,b);
this.isDisposed()||this.st(a)}this.v&&this.v.g()&&this.v.N().removeAttribute(In(Ac))};v.kq=function(){if(this.v.I){var a=this.pz||this.g(),b=this.Ff;this.Ff.element=a;a=this.v.g();this.v.isVisible()||(a.style.visibility=Ac,T(a,!0));!this.Ih&&this.Fx()&&(this.Ih=sm(mm,a));b.La(a,b.cf^1,this.qy,this.Ih);this.v.isVisible()||(T(a,!1),a.style.visibility=Wd)}};
v.Hh=function(){var a=tm(this.g()),b=km(this.g());var c=this.Tm;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.Ci,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.v.I&&b&&this.Ci&&b.qf()<this.Ci.qf()&&(c=this.v.g(),this.v.isVisible()||(c.style.visibility=Ac,T(c,!0)),fm(c,new L(0,0))),this.Tm=a,this.Ci=b,this.kq())};
v.mg=function(a,b){var c=this.C();b=b?c.listen:c.R;b.call(c,a,ib,this.Rj);b.call(c,a,Jb,this.Oj);b.call(c,a,Cc,this.Qj);b.call(c,a,Sd,this.Tj)};v.Lm=function(a){var b=this.C();(a?b.listen:b.R).call(b,this.g(),Pc,this.gw)};v.Qj=function(a){(a=a.target.g())&&this.Nq(a)};v.gw=function(a){this.pa(32)&&this.ta()&&this.v&&this.v.isVisible()&&a.stopPropagation()};v.Tj=function(){if(!this.v.Bc()){var a=this.g();D(a,bb);U(a,jb,"");U(a,od,"")}};
v.Oj=function(a){if(this.rb()&&a.target instanceof bp){a=a.target;var b=a.g();a.isVisible()&&a.hp()&&null!=b&&this.Nq(b)}};v.Nq=function(a){var b=this.g();D(b,bb);a=Kn(a)||a;if(!a.id){var c=ho.K();a.id=c.Vc()}Ln(b,a);U(b,od,a.id)};v.st=function(a){var b=this.C(),c=a?b.listen:b.R;c.call(b,this.s().A,Yc,this.Zv,!0);this.kh&&c.call(b,this.v,Bb,this.mw);c.call(b,this.aa,"tick",this.Hh);a?this.aa.start():this.aa.stop()};Lo(pc,function(){return new vp(null)});var wp=function(a){S.call(this);this.Ic=[];this.Ys(a)};C(wp,S);v=wp.prototype;v.Nc=null;v.Ud=null;v.Kg=function(){return this.Ic.length};v.Yw=function(a){return a?Ue(this.Ic,a):-1};v.gb=function(a){return this.Ic[a]||null};v.Ys=function(a){a&&(E(a,function(b){this.$h(b,!1)},this),kf(this.Ic,a))};v.ab=function(a){this.td(a,this.Kg())};v.td=function(a,b){a&&(this.$h(a,!1),mf(this.Ic,b,0,a))};v.removeItem=function(a){a&&ff(this.Ic,a)&&a==this.Nc&&(this.Nc=null,this.dispatchEvent(ud))};v.ec=function(){return this.Nc};
v.Lg=function(){return jf(this.Ic)};v.ld=function(a){a!=this.Nc&&(this.$h(this.Nc,!1),this.Nc=a,this.$h(a,!0));this.dispatchEvent(ud)};v.Rg=function(){return this.Yw(this.Nc)};v.cr=function(a){this.ld(this.gb(a))};v.clear=function(){var a=this.Ic;if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0;this.Nc=null};v.o=function(){wp.i.o.call(this);delete this.Ic;this.Nc=null};v.$h=function(a,b){a&&(typeof this.Ud==r?this.Ud(a,b):typeof a.Tf==r&&a.Tf(b))};var xp=function(a,b,c,e,f){vp.call(this,a,b,c,e,f||new ep(Vc));this.ej=this.fb();this.ek=null;this.ki(Vc)};C(xp,vp);v=xp.prototype;v.U=null;v.H=function(){xp.i.H.call(this);this.Yl();this.Dp()};v.ha=function(a){xp.i.ha.call(this,a);(a=this.qe())?this.DA(a):this.ec()||this.cr(0)};v.o=function(){xp.i.o.call(this);this.U&&(this.U.dispose(),this.U=null);this.ej=null};v.Rj=function(a){this.ld(a.target);xp.i.Rj.call(this,a);a.stopPropagation();this.dispatchEvent(ib)};
v.xw=function(){var a=this.ec();xp.i.setValue.call(this,a&&a.getValue());this.Yl()};v.Ub=function(a){var b=xp.i.Ub.call(this,a);a!=b&&(this.U&&this.U.clear(),a&&(this.U?a.Na(function(c){this.fi(c);this.U.ab(c)},this):this.cj(a)));return b};v.DA=function(a){this.ej=a;this.Yl()};v.ab=function(a){this.fi(a);xp.i.ab.call(this,a);this.U?this.U.ab(a):this.cj(this.ja());this.Xl()};v.td=function(a,b){this.fi(a);xp.i.td.call(this,a,b);this.U?this.U.td(a,b):this.cj(this.ja())};
v.removeItem=function(a){xp.i.removeItem.call(this,a);this.U&&this.U.removeItem(a)};v.ld=function(a){if(this.U){var b=this.ec();this.U.ld(a);a!=b&&this.dispatchEvent(Fb)}};v.cr=function(a){this.U&&this.ld(this.U.gb(a))};v.setValue=function(a){if(null!=a&&this.U)for(var b=0,c;c=this.U.gb(b);b++)if(c&&typeof c.getValue==r&&c.getValue()==a){this.ld(c);return}this.ld(null)};v.getValue=function(){var a=this.ec();return a?a.getValue():null};v.ec=function(){return this.U?this.U.ec():null};
v.Rg=function(){return this.U?this.U.Rg():-1};v.cj=function(a){this.U=new wp;a&&a.Na(function(b){this.fi(b);this.U.ab(b)},this);this.Dp()};v.Dp=function(){this.U&&this.C().listen(this.U,ud,this.xw)};v.Yl=function(){var a=this.ec();this.jc(a?a.qe():this.ej);var b=this.u.P(this.g());b&&this.s().vx(b)&&(null==this.ek&&(this.ek=Jn(b,Sc)),a=a?a.g():null,Mn(b,a?Jn(a,Sc):this.ek),this.Xl())};
v.Xl=function(){var a=this.u;if(a&&(a=a.P(this.g()))){var b=this.N();a.id||(a.id=ho.K().Vc());Hn(a,ld);U(a,wd,!0);U(b,jb,a.id);if(this.U){b=this.U.Lg();U(a,"setsize",this.so(b));var c=this.U.Rg();U(a,"posinset",0<=c?this.so(lf(b,0,c+1)):0)}}};v.so=function(a){return af(a,function(b){return b instanceof bp})};v.fi=function(a){a.ki(a instanceof bp?ld:yd)};v.qa=function(a,b){xp.i.qa.call(this,a,b);this.rb()?this.ja().Tb(this.Rg()):this.Xl()};Lo("goog-select",function(){return new xp(null)});var Ap=function(a,b){var c=0,e=0;if(yp(a))c=a.selectionStart,e=b?-1:a.selectionEnd;else if(H&&!K("9")){var f=zp(a),g=f[0];f=f[1];if(g.inRange(f)){g.setEndPoint("EndToStart",f);if(a.type==Nd){a=f.duplicate();var h=g.text;c=h;f=e=a.text;for(var k=!1;!k;)0==g.compareEndPoints("StartToEnd",g)?k=!0:(g.moveEnd(Gb,-1),g.text==h?c+="\r\n":k=!0);if(b)b=[c.length,-1];else{for(b=!1;!b;)0==a.compareEndPoints("StartToEnd",a)?b=!0:(a.moveEnd(Gb,-1),a.text==e?f+="\r\n":b=!0);b=[c.length,c.length+f.length]}return b}c=
g.text.length;e=b?-1:g.text.length+f.text.length}}return[c,e]},zp=function(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();a.type==Nd?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]},Bp=function(a,b){a.type==Nd&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b},yp=function(a){try{return typeof a.selectionStart==t}catch(b){return!1}};var Cp=function(a,b,c){for(var e=[],f=0;f<c.length;f++){var g=c[f],h=a.toLowerCase(),k=String(g).toLowerCase(),l=0;if(-1!=k.indexOf(h))l=parseInt((k.indexOf(h)/4).toString(),10);else for(var m=h.split(""),p=-1,z=10,Q=0,Ba;Ba=m[Q];Q++)Ba=k.indexOf(Ba),Ba>p?(p=Ba-p-1,p>z-5&&(p=z-5),l+=p,p=Ba):(l+=z,z+=5);l<6*h.length&&e.push({HB:g,Fq:l,index:f})}e.sort(function(oa,rb){var Je=oa.Fq-rb.Fq;return 0!=Je?Je:oa.index-rb.index});a=[];for(Q=0;Q<b&&Q<e.length;Q++)a.push(e[Q].HB);return a};var Dp=function(a,b,c){S.call(this);this.Ef=a;this.Ud=c;this.u=b;R(b,["hilite",ud,"canceldismiss","dismiss"],this.handleEvent,!1,this);this.wb=null;this.la=[];this.Fc=-1;this.eb=0;this.nb=this.na=null;this.bp={}};C(Dp,S);v=Dp.prototype;v.hy=10;v.Mm=!0;v.um=!1;v.cs=!1;v.Lr=!1;v.getToken=function(){return this.wb};
v.handleEvent=function(a){var b=this.Ef;if(a.target==this.u)switch(a.type){case "hilite":this.Ec(a.row);break;case ud:var c=!1;if(typeof a.row===t){a=a.row;var e=this.la[this.kf(a)];c=!!e&&b.pk&&b.pk(e);e&&!c&&this.Fc!=a&&this.Ec(a)}c||this.Zh();break;case "canceldismiss":this.Zi();break;case "dismiss":this.kj()}};v.uA=function(a){this.Mm=a};v.setToken=function(a,b){this.wb!=a&&(this.wb=a,this.Ef.Tz(this.wb,this.hy,A(this.gy,this),b),this.Zi())};v.Ug=function(){return this.na};
v.eB=function(a){this.na=a};v.rb=function(){return this.u.isVisible()};v.$j=function(){for(var a=this.eb+this.la.length-1,b=this.Fc,c=0;c<this.la.length;c++){if(b>=this.eb&&b<a)b++;else if(-1==b)b=this.eb;else if(this.um&&b==a){this.Ec(-1);break}else if(this.cs&&b==a)b=this.eb;else break;if(this.Ec(b))return!0}return!1};
v.So=function(){for(var a=this.eb+this.la.length-1,b=this.Fc,c=0;c<this.la.length;c++){if(b>this.eb)b--;else if(this.um&&b==this.eb){this.Ec(-1);break}else if(!this.cs||-1!=b&&b!=this.eb)break;else b=a;if(this.Ec(b))return!0}return!1};v.Ec=function(a){var b=this.kf(a),c=this.la[b];return c&&this.Ef.pk&&this.Ef.pk(c)?!1:(this.Fc=a,this.u.Ec(a),-1!=b)};
v.Zh=function(){var a=this.kf(this.Fc);if(-1!=a){var b=this.la[a],c=this.Ud.jl(b);this.Lr?(this.wb=null,this.kj()):this.$b();c||(this.dispatchEvent({type:"update",row:b,index:a}),this.Lr&&this.Ud.update(!0));return!0}this.$b();this.dispatchEvent({type:"update",row:null,index:null});return!1};v.Fw=function(){return this.rb()&&-1!=this.kf(this.Fc)};
v.$b=function(){this.Fc=-1;this.wb=null;this.eb+=this.la.length;this.la=[];window.clearTimeout(this.nb);this.nb=null;this.u.$b();this.dispatchEvent(Jd);this.dispatchEvent("dismiss")};v.kj=function(){this.nb||(this.nb=window.setTimeout(A(this.$b,this),100))};v.Yo=function(){return this.nb?(window.clearTimeout(this.nb),this.nb=null,!0):!1};v.Zi=function(){this.Yo()||window.setTimeout(A(this.Yo,this),10)};v.o=function(){Dp.i.o.call(this);delete this.bp;this.u.dispose();this.Ud.dispose();this.Ef=null};
v.gy=function(a,b,c){this.wb==a&&this.Zk(b,c)};v.Zk=function(a,b){var c=te(b)==hd&&b;b=(c?c.sE():b)?this.kf(this.Fc):-1;this.eb+=this.la.length;this.la=a;for(var e=[],f=0;f<a.length;++f)e.push({id:this.po(f),data:a[f]});a=null;this.na&&(a=this.bp[ze(this.na)]||this.na);this.u.nl(a);this.u.Zk(e,this.wb,this.na);a=this.Mm;c&&void 0!==c.$u()&&(a=c.$u());this.Fc=-1;(a||0<=b)&&0!=e.length&&this.wb&&(0<=b?this.Ec(this.po(b)):this.$j());this.dispatchEvent(Jd)};
v.kf=function(a){a-=this.eb;return 0>a||a>=this.la.length?-1:a};v.po=function(a){return this.eb+a};v.update=function(a){this.Ud.update(a)};var Ep=function(a,b,c,e){O.call(this);e=e||150;this.Ge=null!=c?c:!0;this.ZA(a||",;");this.Ep=b||"";this.vz=!1;this.uz=this.Ge;this.aa=0<e?new $k(e):null;this.Ga=new Fk(this);this.Mi=new Fk(this);this.Da=new yo;this.vp=-1};C(Ep,O);var Fp=(Em||Fm)&&!K("533.17.9");v=Ep.prototype;v.nC=!0;v.Tu=!0;v.Tr=!1;v.nA=!0;v.mA=!0;v.Oi=null;v.ea=null;v.vk="";v.pd=!1;v.dl=!1;v.dC=!0;v.ot=function(a){this.Z=a};v.getValue=function(){return this.ea.value};v.setValue=function(a){this.ea.value=a};
v.ko=function(){return Ap(this.ea,!0)[0]};v.CA=function(a){var b=this.ea,c=a;if(yp(b))b.selectionStart=c;else if(H&&!K("9")){var e=zp(b),f=e[0];f.inRange(e[1])&&(c=Bp(b,c),f.collapse(!0),f.move(Gb,c),f.select())}b=this.ea;yp(b)?b.selectionEnd=a:H&&!K("9")&&(e=zp(b),c=e[1],e[0].inRange(c)&&(a=Bp(b,a),b=Bp(b,Ap(b,!0)[0]),c.collapse(!0),c.moveEnd(Gb,a-b),c.select()))};
v.rt=function(a){Oi(a)&&(Hn(a,Mb),U(a,"autocomplete","list"));this.Ga.listen(a,ec,this.$c);this.Ga.listen(a,Bb,this.hb);if(!this.ea&&(this.Mi.listen(a,Pc,this.Ty),Oi(a))){var b=pi(a);bj(b)==a&&this.pq(a)}};v.jl=function(a,b){this.ea&&this.gB(a.toString(),b);return!1};
v.gB=function(a,b){if(void 0!==b?b:this.Ge){b=this.wo(this.getValue(),this.ko());var c=this.Ol(this.getValue());this.Kq&&!this.Kq.test(a)&&(a=a.replace(/[\s\xa0]+$/,"")+this.Xt);this.nC&&(0==b||vf(c[b-1])||(a=" "+a),b==c.length-1&&(a+=" "));if(a!=c[b]){c[b]=a;a=this.ea;(I||H&&K("9"))&&a.blur();a.value=c.join("");for(var e=0,f=0;f<=b;f++)e+=c[f].length;a.focus();this.CA(e)}}else this.setValue(a);this.dl=!0};
v.o=function(){Ep.i.o.call(this);null!=this.Oi&&window.clearTimeout(this.Oi);this.Ga.dispose();delete this.Ga;this.Mi.dispose();this.Da.dispose();P(this.aa)};v.ZA=function(a,b){this.Qf=a;this.Xt=null!=b?b:this.Qf.substring(0,1);a=this.Ge?"[\\s"+this.Qf+"]+":"[\\s]+";this.Mr=new RegExp("^"+a+"|"+a+"$","g");this.Kq=new RegExp("\\s*["+this.Qf+"]$")};
v.ya=function(a){switch(a.keyCode){case 40:if(this.Z.rb())return this.wy(),a.preventDefault(),!0;if(!this.Ge)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.Z.rb())return this.xy(),a.preventDefault(),!0;break;case 9:if(!this.Z.rb()||a.shiftKey||this.vz)this.Z.$b();else if(this.update(),this.Z.Zh()&&this.uz)return a.preventDefault(),!0;break;case 13:if(this.Z.rb()){if(this.update(),this.Z.Zh())return a.preventDefault(),a.stopPropagation(),!0}else this.Z.$b();break;case 27:if(this.Z.rb())return this.Z.$b(),
a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.pd)return this.FB(),!0;break;default:this.aa&&!this.dC&&(this.aa.stop(),this.aa.start())}return this.Fo(a)};v.Fo=function(a){var b=this.Ge&&a.charCode&&-1!=this.Qf.indexOf(String.fromCharCode(a.charCode));this.nA&&b&&this.update();return this.mA&&b&&this.Z.Zh()?(a.preventDefault(),!0):!1};v.hw=function(){return!1};
v.Us=function(){this.Da.ud(this.ea);this.Ga.listen(this.Da,Oc,this.If);this.Ga.listen(this.ea,Yc,this.$p);H&&this.Ga.listen(this.ea,Qc,this.Wp)};v.Fz=function(){this.Ga.R(this.Da,Oc,this.If);this.Da.detach();this.Ga.R(this.ea,Rc,this.hw);this.Ga.R(this.ea,Yc,this.$p);H&&this.Ga.R(this.ea,Qc,this.Wp);this.pd&&this.Pl()};v.$c=function(a){this.pq(a.target||null)};
v.pq=function(a){this.Mi.removeAll();this.Z&&this.Z.Zi();a!=this.ea&&(this.ea=a,this.aa&&(this.aa.start(),this.Ga.listen(this.aa,"tick",this.Hh)),this.vk=this.getValue(),this.Us())};v.hb=function(){Fp?this.Oi=window.setTimeout(A(this.nq,this),0):this.nq()};v.nq=function(){this.ea&&(this.Fz(),this.ea=null,this.aa&&(this.aa.stop(),this.Ga.R(this.aa,"tick",this.Hh)),this.Z&&this.Z.kj())};v.Hh=function(){this.update()};v.Ty=function(a){this.$c(a)};v.If=function(a){this.vp=a.keyCode;this.Z&&this.ya(a)};
v.Yp=function(){this.pd&&229!=this.vp&&this.Pl()};v.Zp=function(a){this.pd&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&this.Pl()};v.$p=function(a){this.Z&&this.Ia(a)};v.Ia=function(){};v.FB=function(){this.pd||(this.Ga.listen(this.ea,Rc,this.Zp),this.Ga.listen(this.ea,Qc,this.Yp),this.pd=!0)};v.Pl=function(){this.pd&&(this.pd=!1,this.Ga.R(this.ea,Qc,this.Yp),this.Ga.R(this.ea,Rc,this.Zp))};v.Wp=function(a){this.Fo(a)};
v.update=function(a){if(this.ea&&(a||this.getValue()!=this.vk)){if(a||!this.dl)a=this.lz(),this.Z&&(this.Z.eB(this.ea),this.Z.setToken(a,this.getValue()));this.vk=this.getValue()}this.dl=!1};v.lz=function(){return this.mz()};v.xy=function(){return this.Tr?this.Z.$j():this.Z.So()};v.wy=function(){return this.Tr?this.Z.So():this.Z.$j()};v.mz=function(){var a=this.ko(),b=this.getValue();return this.YB(this.Ol(b)[this.wo(b,a)])};v.YB=function(a){return this.Mr?String(a).replace(this.Mr,""):a};
v.wo=function(a,b){var c=this.Ol(a);if(b==a.length)return c.length-1;for(var e=a=0,f=0;e<c.length&&f<=b;e++)f+=c[e].length,a=e;return a};v.Ol=function(a){if(!this.Ge)return[a];a=String(a).split("");for(var b=[],c=[],e=0,f=!1;e<a.length;e++)this.Ep&&-1!=this.Ep.indexOf(a[e])?(this.Tu&&!f&&(b.push(c.join("")),c.length=0),c.push(a[e]),f=!f):f||-1==this.Qf.indexOf(a[e])?c.push(a[e]):(c.push(a[e]),b.push(c.join("")),c.length=0);b.push(c.join(""));return b};var Gp=function(a,b,c,e){S.call(this);this.G=a||document.body;this.V=M(this.G);this.Th=!a;this.m=null;this.wb="";this.la=[];this.Sd=[];this.xr=this.fh=-1;this.ca=!1;this.className="ac-renderer";this.Xh="ac-row";this.zp="active";this.rm="ac-active";this.Rw="ac-highlighted";this.le=b||null;this.jC=null!=e?e:!0;this.Jp=!0;this.bh=!1;this.Zz=!!c;this.yi=!1;this.zh=0;this.sr=!1};C(Gp,S);v=Gp.prototype;v.Qm=0;v.g=function(){return this.m};v.QA=function(a){this.Jp=a};v.nl=function(a){this.qc=a};
v.Zk=function(a,b,c){this.wb=b;this.la=a;this.fh=-1;this.xr=De();this.na=c;this.Sd=[];this.zz()};v.$b=function(){this.ca&&(this.ca=!1,this.Hr(!1),0<this.zh?(P(this.de),this.de=new Qm(this.m,this.zh),this.de.play()):T(this.m,!1))};v.show=function(){this.ca||(this.ca=!0,this.Hr(!0),0<this.zh?(P(this.de),this.de=new Rm(this.m,this.zh),this.de.play()):T(this.m,!0))};
v.Hr=function(a){this.na&&(U(this.na,yc,a),U(D(this.m),bc,a),U(this.na,bc,a),a?U(this.na,od,this.m.id):(this.na.removeAttribute(In(od)),Ln(this.na,null)))};v.isVisible=function(){return this.ca};v.To=function(a){var b=0<=a&&a<this.la.length?this.la[a]:void 0,c=0<=a&&a<this.Sd.length?this.Sd[a]:void 0;this.dispatchEvent({type:"rowhilite",xE:c,row:b?b.data:null})&&(this.Sw(),this.fh=a,c&&(Xn(c,[this.rm,this.zp]),this.na&&Ln(this.na,c),nm(c,this.m)))};
v.Sw=function(){0<=this.fh&&Zn(D(this.Sd[this.fh]),[this.rm,this.zp])};v.Ec=function(a){if(-1==a)this.To(-1);else for(var b=0;b<this.la.length;b++)if(this.la[b].id==a){this.To(b);break}};v.RA=function(a){D(a);Xn(a,wf(this.className).split(" "))};v.jy=function(){if(!this.m){var a=this.V.j(n,{style:"display:none"});this.sr&&(a.style.overflowY="auto");this.m=a;this.RA(a);Hn(a,Vc);a.id=ho.K().Vc();this.V.appendChild(this.G,a);R(a,q,this.Cc,!1,this);R(a,Yc,this.Xg,!1,this);R(a,ad,this.Eo,!1,this)}};
v.zz=function(){this.jy();this.yi&&(this.m.style.visibility=Ac);this.oC&&(this.m.style.minWidth=this.oC.clientWidth-this.Qm+qd);this.iy&&(this.m.style.maxWidth=this.iy.clientWidth-this.Qm+qd);this.Sd.length=0;this.V.Vk(this.m);if(this.le&&this.le.render)this.le.render(this,this.m,this.la,this.wb);else{var a=null;E(this.la,function(b){b=this.Rz(b,this.wb);this.yi?this.m.insertBefore(b,a):this.V.appendChild(this.m,b);a=b},this)}0==this.la.length?this.$b():(this.show(),this.La(),xm(this.m,!0))};
v.Yu=function(){var a=this.Zz?5:1;this.yi&&(a^=1);return a};v.La=function(){if(this.na&&this.Th){var a=this.qc||this.na,b=this.Yu(),c=65;this.sr&&(this.m.style.height="",c|=32);Cn(a,b,this.m,b^1,null,null,c);this.yi&&(this.m.style.visibility=Wd)}};v.Ug=function(){return this.na||null};v.o=function(){this.m&&(zk(this.m,q,this.Cc,!1,this),zk(this.m,Yc,this.Xg,!1,this),zk(this.m,ad,this.Eo,!1,this),this.V.removeNode(this.m),this.m=null,this.ca=!1);P(this.de);this.G=null;Gp.i.o.call(this)};
v.Qz=function(a,b,c){Ri(c,a.data.toString())};v.DB=function(a,b){this.Yr=!1;this.Zj(a,b)};
v.Zj=function(a,b){if(this.bh||!this.Yr)if(3==a.nodeType){var c=null;Array.isArray(b)&&1<b.length&&!this.bh&&(c=lf(b,1));b=this.Lv(b);if(0!=b.length){var e=a.nodeValue,f=this.Jp?new RegExp("\\b(?:"+b+")","gi"):new RegExp(b,"gi");b=[];for(var g=0,h=f.exec(e),k=0;h;)k++,b.push(e.substring(g,h.index)),b.push(e.substring(h.index,f.lastIndex)),g=f.lastIndex,h=f.exec(e);b.push(e.substring(g));if(1<b.length){c=this.bh?k:1;for(e=0;e<c;e++)f=2*e,a.nodeValue=b[f],g=this.V.createElement("B"),g.className=this.Rw,
this.V.appendChild(g,this.V.createTextNode(b[f+1])),g=a.parentNode.insertBefore(g,a.nextSibling),a.parentNode.insertBefore(this.V.createTextNode(""),g.nextSibling),a=g.nextSibling;b=lf(b,2*c);a.nodeValue=b.join("");this.Yr=!0}else c&&this.Zj(a,c)}}else for(a=a.firstChild;a;)c=a.nextSibling,this.Zj(a,b),a=c};
v.Lv=function(a){var b="";if(!a)return b;Array.isArray(a)&&(a=We(a,function(c){return!vf(Eh(c))}));this.bh?Array.isArray(a)?b=Xe(a,Ch).join("|"):(b=a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,""),b=Ch(b),b=b.replace(/ /g,"|")):Array.isArray(a)?b=0<a.length?Ch(a[0]):"":/^\W/.test(a)||(b=Ch(a));return b};v.Rz=function(a,b){var c=this.V.j(n,{className:this.Xh,id:ho.K().Vc()});Hn(c,ld);this.le&&this.le.Pz?this.le.Pz(a,b,c):this.Qz(a,b,c);b&&this.jC&&this.DB(c,b);V(c,this.Xh);this.Sd.push(c);return c};
v.uo=function(a){for(;a&&a!=this.m&&!Wn(a,this.Xh);)a=a.parentNode;return a?Ue(this.Sd,a):-1};v.Cc=function(a){var b=this.uo(a.target);0<=b&&this.dispatchEvent({type:ud,row:this.la[b].id});a.stopPropagation()};v.Xg=function(a){a.stopPropagation();a.preventDefault()};v.Eo=function(a){a=this.uo(a.target);0<=a&&!(300>De()-this.xr)&&this.dispatchEvent({type:"hilite",row:this.la[a].id})};var Hp=function(){};C(Hp,op);y(Hp);var Ip=[];v=Hp.prototype;v.P=function(a){return a&&a.firstChild.firstChild.firstChild.lastChild};v.df=function(a,b){var c=this.ob();return b.j(n,nc+(c+ra),b.j(n,nc+(c+qa),b.j(n,c+"-pos",b.j(n,c+"-top-shadow","\u00a0"),b.j(n,c+la,a))))};v.Lo=function(a,b){var c=this.ob();return(b=a.s().ve(b))&&Wn(b,c+ra)&&(b=a.s().ve(b))&&Wn(b,c+qa)&&(b=a.s().ve(b))&&Wn(b,c+"-pos")&&(b=a.s().ve(b))&&Wn(b,c+"-top-shadow")&&(a=a.s().vv(b))&&Wn(a,c+la)?!0:!1};v.B=function(){return ic};
v.ob=function(){return"goog-button-base"};v.qo=function(){return Ip};Lo(ic,function(){return new np(null,Hp.K())});Object.freeze&&Object.freeze([]);var Jp={AE:!0},Kp={CE:!0},Lp={BE:!0},Mp={zE:!0},Np={yE:!0},Op=function(){throw Error("Do not instantiate directly");};Op.prototype.Rc=null;Op.prototype.fb=function(){return this.content};Op.prototype.toString=function(){return this.content};Op.prototype.Gr=function(){if(this.Zb!==Jp)throw Error("Sanitized content was not of kind HTML.");return nh(ig("Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value."),this.toString(),this.Rc)};var Pp=function(){Op.call(this)};C(Pp,Op);
Pp.prototype.Zb=Jp;var Qp=function(){Op.call(this)};C(Qp,Op);Qp.prototype.Zb=Kp;Qp.prototype.Rc=1;var Rp=function(){Op.call(this)};C(Rp,Op);Rp.prototype.Zb=Lp;Rp.prototype.Rc=1;var Sp=function(){Op.call(this)};C(Sp,Op);Sp.prototype.Zb=Mp;Sp.prototype.Rc=1;var Tp=function(){Op.call(this)};C(Tp,Op);Tp.prototype.Zb=Np;Tp.prototype.Rc=1;var Up=function(a,b,c){(b=null!=a&&a.Zb===b)&&D(a.constructor===c);return b};H&&K(8);var Vp=function(a,b){this.je=typeof a==t?0<a?1:0>a?-1:null:null==a?null:a?-1:1;this.ht=!!b};v=Vp.prototype;v.mu=sg;v.mt=function(a,b){return 0>Number(a)*Number(b)};v.au=function(a,b,c,e){return e&&(this.mt(b,this.je)||1==this.je&&pg.test(kg(a,c))||-1==this.je&&og.test(kg(a,c)))?1==this.je?"\u200e":"\u200f":""};v.AB=function(a,b,c){null==a&&(a=this.mu($g(b),!0));return this.BB(a,b,c)};
v.BB=function(a,b,c){c=c||void 0==c;var e=0!=a&&a!=this.je;if(this.ht||e){var f;e&&(f=-1==a?"rtl":"ltr");e=ih("span",{dir:f},b)}else e=b;b=$g(b);return e=lh(0,e,this.au(b,a,!0,c))};v.mark=function(){switch(this.je){case 1:return"\u200e";case -1:return"\u200f";default:return""}};var Wp=function(a){if(null!=a)switch(a.Rc){case 1:return 1;case -1:return-1;case 0:return 0}return null},Yp=function(a){return Up(a,Jp,Pp)?a:a instanceof Yg?Xp($g(a),a.Ac()):Xp(xh(String(String(a))),Wp(a))},Xp=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,e){c=new b(String(c));void 0!==e&&(c.Rc=e);return c}}(Pp),Zp=function(a,b){return a&&b&&a.xx&&b.xx?a.Zb!==b.Zb?!1:a.toString()===b.toString():a instanceof Op&&b instanceof Op?a.Zb!=b.Zb?!1:a.toString()==b.toString():
a==b},$p=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,e){c=String(c);if(!c)return"";c=new b(c);void 0!==e&&(c.Rc=e);return c}}(Pp),aq=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(Tp),bq=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/,iq=function(a,b){if(!b)return String(a).replace(cq,"").replace(dq,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=
[],e=[];a=a.replace(cq,function(g,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var k=c.length,l="</",m="";if("/"!=g.charAt(1)){l="<";for(var p;p=eq.exec(g);)if(p[1]&&"dir"==p[1].toLowerCase()){if(g=p[2]){if("'"==g.charAt(0)||'"'==g.charAt(0))g=g.substr(1,g.length-2);g=g.toLowerCase();if("ltr"==g||"rtl"==g||"auto"==g)m=' dir="'+g+'"'}break}eq.lastIndex=0}c[k]=l+h+">";e[k]=m;return"["+k+"]"}return""});a=String(a).replace(fq,gq);var f=hq(c);a=a.replace(/\[(\d+)\]/g,function(g,h){return e[h]&&
c[h]?c[h].substr(0,c[h].length-1)+e[h]+">":c[h]});return a+f},jq=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},hq=function(a){for(var b=[],c=0,e=a.length;c<e;++c){var f=a[c];"/"==f.charAt(1)?(f=Ve(b,f),0>f?a[c]="":(a[c]=b.slice(f).reverse().join(""),b.length=f)):"<li>"==f&&0>Ve(b,"</ol>")&&0>Ve(b,"</ul>")?a[c]="":bq.test(f)||b.push("</"+f.substring(1))}return b.reverse().join("")},Y=function(a){return Up(a,Jp,Pp)?String(iq(a.fb())).replace(fq,gq):xh(String(a))},lq=function(a){Up(a,
Mp,Sp)?a=a.fb().replace(/([^"'\s])$/,"$1 "):(a=String(a),kq.test(a)||(Le("Bad value `%s` for |filterHtmlAttributes",[a]),a="zSoyz"));return a},pq=function(a){Up(a,Kp,Qp)||Up(a,Lp,Rp)?a=String(a).replace(mq,nq):a instanceof Ag?a=String(Bg(a)).replace(mq,nq):a instanceof vg?a=String(wg(a).toString()).replace(mq,nq):(a=String(a),oq.test(a)?a=a.replace(mq,nq):(Le("Bad value `%s` for |filterNormalizeUri",[a]),a="about:invalid#zSoyz"));return a},rq=function(a){Up(a,Np,Tp)?a=jq(a.fb()):null==a?a="":a instanceof
Kg?a=jq(Lg(a)):a instanceof Wg?(a instanceof Wg&&a.constructor===Wg&&a.ys===Vg?a=a.Nh:(Le("expected object of type SafeStyleSheet, got '"+a+ja+te(a)),a="type_error:SafeStyleSheet"),a=jq(a)):(a=String(a),qq.test(a)||(Le("Bad value `%s` for |filterCssValue",[a]),a="zSoyz"));return a},sq={},tq=function(a,b){a=sq[a]||(sq[a]=new Vp(a));var c=nh(ig("Soy |bidiSpanWrap is applied on an autoescaped text."),String(b));b=a.AB(Wp(b),c);return $g(b)},uq=function(a,b,c,e){a||(a=c instanceof Function?c.displayName||
c.name||Td:c instanceof Object?c.constructor.displayName||c.constructor.name||Object.prototype.toString.call(c):null===c?fd:typeof c,Le("expected param "+b+" of type "+e+(", but got "+a)+"."));return c},vq={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},gq=function(a){return vq[a]},
wq={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29",
"<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB",
"\uff3d":"%EF%BC%BD"},nq=function(a){return wq[a]},fq=/[\x00\x22\x27\x3c\x3e]/g,mq=/[\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,qq=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,oq=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,
kq=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,cq=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,dq=/</g,eq=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;/*

 Copyright 2018 The Incremental DOM Authors. All Rights Reserved.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS-IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
(function(){}).prototype=Object.create(null);var zq=function(a,b,c,e){b=xq(b(c||yq,e));qh(D(a),b)},Bq=function(a,b,c,e){e=e||M();a=a(b||yq,c);a=xq(a);Aq(a.Wa());return e.dA(a)},Cq=function(a,b,c,e){a=a(b||yq,c);e=(e||M()).createElement(n);a=xq(a);Aq(a.Wa());qh(e,a);1==e.childNodes.length&&(a=e.firstChild,1==a.nodeType&&(e=a));return e},xq=function(a){if(!we(a))return bh(String(a));if(a instanceof Op)return a.Gr();Le("Soy template output is unsafe for use as HTML: "+a);return bh("zSoyz")},Aq=function(a){var b=a.match(Dq);D(!b,"This template starts with a %s, which cannot be a child of a <div>, as required by soy internals. Consider using goog.soy.renderElement instead.\nTemplate output: %s",
b&&b[0],a)},Dq=/^<(body|caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i,yq={};var Eq=function(a){a=a||{};var b=a.attributes,c=a.content,e=a.disabled,f=a.id,g=a.Cr,h=a.title,k=a.lC,l=a.value,m=Xp;f='<div role="button"'+(f?' id="'+Y(f)+'"':"")+' class="';var p=a||{};a=p.cn;var z=p.disabled,Q=p.checked,Ba=p.width,oa="goog-inline-block jfk-button ";p=p.style;switch(we(p)?p.toString():p){case 0:oa+=Ic;break;case 2:oa+=Hc;break;case 3:oa+="jfk-button-primary";break;case 1:oa+="jfk-button-default";break;case 4:oa+="jfk-button-flat";break;case 5:oa+="jfk-button-mini";break;case 6:oa+=
"jfk-button-contrast";break;default:oa+=Ic}oa+=(Zp(Ba,1)?" jfk-button-narrow":"")+(Q?" jfk-button-checked":"")+(a?" "+a:"")+(z?" jfk-button-disabled":"");return m(f+Y(oa)+'"'+(e?' aria-disabled="true"':' tabindex="'+(g?Y(g):"0")+'"')+(h?k?' data-tooltip="'+Y(h)+'"':' title="'+Y(h)+'"':"")+(l?' value="'+Y(l)+'"':"")+(b?" "+lq(b):"")+">"+Yp(null!=c?c:"")+sa)};Eq.lc="jfk.templates.button.strict";var Fq=function(a,b){this.tg=a;this.bu=!!b;this.Dm={0:this.tg+"-arrowright",1:this.tg+"-arrowup",2:this.tg+"-arrowdown",3:this.tg+"-arrowleft"}};w(Fq,Eo);v=Fq.prototype;v.nl=function(a){this.qc=a};v.setPosition=function(a,b,c,e){null!=a&&(this.pg=a);null!=b&&(this.Ti=b);typeof c===t&&(this.Gm=Math.max(c,15));typeof e===t&&(this.Jk=e)};v.HA=function(a,b){this.Yb=a;this.Fm=b};v.yA=function(a){this.Si=a};
v.La=function(a,b,c){D(this.Fm,"Must call setElements first.");this.Th(this.pg,this.jv(this.pg,this.Ti),this.kv(),0,c)};v.kv=function(){return 2==this.Ti?Gq(this.pg)?this.Yb.offsetHeight/2:this.Yb.offsetWidth/2:this.Gm};v.jv=function(a,b){2==b&&(b=0);return b};v.vA=function(a){this.gp=a};
v.Th=function(a,b,c,e,f){if(this.qc){var g=Hq(a,b);var h=this.qc;var k=this.Yb,l=this.Vr,m=sm(mm,h);a:{m=(Gq(a)?m.height/2:m.width/2)-c;var p=An(h,g);if(l)l=l.clone(),k&&(k=zn(k),l.left+=k.x,l.right+=k.x,l.top+=k.y,l.bottom+=k.y);else if(l=km(h),!l){h=m;break a}h=tm(h).SB();Gq(a)?h.top<l.top&&!(p&1)?m-=l.top-h.top:h.bottom>l.bottom&&p&1&&(m-=h.bottom-l.bottom):h.left<l.left&&!(p&4)?m-=l.left-h.left:h.right>l.right&&p&4&&(m-=h.right-l.right);h=m}h=Gq(a)?new L(this.Jk,h):new L(h,this.Jk);m=Gq(a)?6:
9;this.Si&&2==e&&(m=Gq(a)?4:1);p=a^3;Gq(a)&&"rtl"==this.qc.dir&&(p=a);g=Cn(this.qc,Hq(p,b),this.Yb,g,h,f,this.gp?m:0,void 0,this.Vr);if(2!=e&&g&496){this.Th(a^3,b,c,this.Si&&0==e?1:2,f);return}!this.bu||g&496||(e=parseFloat(this.Yb.style.left),f=parseFloat(this.Yb.style.top),D(!isNaN(e)&&!isNaN(f),"Could not parse position."),isFinite(e)&&0==e%1&&isFinite(f)&&0==f%1||fm(this.Yb,Math.round(e),Math.round(f)))}this.oz(a,b,c)};
v.oz=function(a,b,c){var e=this.Fm;Lf(this.Dm,function(f){$n(e,f,!1)},this);V(e,this.Dm[a]);e.style.top=e.style.left=e.style.right=e.style.bottom="";this.qc?(b=pm(this.qc,this.Yb),c=Iq(this.qc,a),Gq(a)?e.style.top=Jq(b.y+c.y,15,this.Yb.offsetHeight-15)+qd:e.style.left=Jq(b.x+c.x,15,this.Yb.offsetWidth-15)+qd):e.style[0==b?Gq(a)?"top":Uc:Gq(a)?"bottom":"right"]=c+qd};
var Jq=function(a,b,c){return b>c?b:Math.min(Math.max(a,b),c)},Hq=function(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}},Iq=function(a,b){var c=0,e=0;a=sm(mm,a);switch(b){case 2:c=a.width/2;break;case 1:c=a.width/2;e=a.height;break;case 0:e=a.height/2;break;case 3:c=a.width,e=a.height/2}return new L(c,e)},Gq=function(a){return 0==a||3==a};v=Fq.prototype;v.gp=!1;v.Ti=2;v.Gm=20;v.pg=3;v.Vr=null;v.Jk=-5;v.Si=!1;var Kq=function(a){O.call(this);this.dom=a||M()};C(Kq,O);Kq.prototype.Zo=function(){Hn(this.g(),this.Bb());U(this.g(),"live","polite")};Kq.prototype.Bb=function(){return"tooltip"};var Lq=function(a){Kq.call(this,a);this.Ca=this.dom.j(n,"jfk-tooltip-contentId");this.Em=this.dom.j(n,"jfk-tooltip-arrow",this.dom.j(n,"jfk-tooltip-arrowimplbefore"),this.dom.j(n,"jfk-tooltip-arrowimplafter"));this.Vl=this.dom.j(n,{"class":"jfk-tooltip",role:"tooltip"},this.Ca,this.Em);this.Zo()};C(Lq,Kq);Lq.prototype.g=function(){return this.Vl};Lq.prototype.P=function(){return this.Ca};Lq.prototype.o=function(){Lq.i.o.call(this);this.Vl&&Ki(this.Vl)};var Mq=function(a){Lq.call(this,a)};w(Mq,Lq);Mq.prototype.Zo=function(){Hn(this.g(),this.Bb())};var Pq=function(a){return Ah(wf(a.replace(Nq,function(b,c){return Oq.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))},Oq=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Nq=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;var Sq=function(a,b,c){c||(c=b instanceof Yg?Pq($g(b)):b);a.removeAttribute(Pd);a.removeAttribute(Tb);a.removeAttribute(Qb);b?(b instanceof Yg?a.yf=b:(a.setAttribute(Qb,b),a.yf=null),a.setAttribute(Ab,c)):(a.yf=null,a.removeAttribute(Ab));a=M(a)||M();b=ze(a.A);Qq[b]||(Qq[b]=new Rq(a))},Qq={},Rq=function(a){Fk.call(this);this.Sc=a;this.gj=new Ol(this.PB,0,this);this.Hb(this.gj);var b=Ai();this.Ah=typeof b.MutationObserver===r?new b.MutationObserver(A(this.Uv,this)):null;a=a.A;this.listen(a,[$c,Yc,
q,Bb,gc,Pc],this.Ht,!0);this.listen(a,[ad,ec,fc],this.sA,!0)};C(Rq,Fk);v=Rq.prototype;v.o=function(){this.gn();Rq.i.o.call(this)};v.Kr=function(a){switch(a.type){case Yc:case ad:case $c:case q:this.ip=!1;break;case Pc:this.ip=!0}};
v.sA=function(a){this.Ah&&this.Ah.disconnect();this.Kr(a);var b=a.target;a=a.type==ec||a.type==fc;var c=this.da&&Pi(this.da.P(),b);if(this.ip||!a||c){this.wx=a;if(a=b&&b.getAttribute&&this.Ah)a=b.getAttribute(td)||null,a=df(Gn,a);a&&(this.Gy(b),(a=Kn(b))&&(b=a));this.ae=b}else this.ae=null;this.bl()};v.Gy=function(a){this.Ah.observe(a,{attributes:!0})};v.Ht=function(a){this.Kr(a);var b=a.target;a=a.type==Yc||a.type==q;b=this.da&&Pi(this.da.P(),b);a&&b||(this.ae=null,this.bl())};
v.Uv=function(a){E(a,A(function(b){var c=Kn(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.ae=c,this.bl())},this))};v.bl=function(){if(!(this.gj.Xa()&&this.Sb&&this.xi)){this.gn();var a=null!=this.xi?this.xi:50;this.gj.start(this.Sb?a:300)}};v.gn=function(){this.Yh&&(bl(this.Yh),this.Yh=0,this.Sb=null)};
v.PB=function(){if(!this.ae)this.Qo();else if(!(this.Sb&&this.da&&Pi(this.da.g(),this.ae))||this.Sb.getAttribute("data-tooltip-unhoverable")){var a=aj(this.ae,function(k){return k.getAttribute&&(k.getAttribute(Tb)||k.getAttribute(Qb)||k.yf)&&!k.getAttribute("data-tooltip-suspended")},!0),b=!1;this.Sb&&this.Sb!=a&&(this.Qo(),b=!0);if(!this.Sb&&a&&(this.Sb=a,this.pB(a))){var c=kh;if(a.getAttribute(Tb))for(var e=ui("jfk-tooltip-data",a),f=0;f<e.length;f++){if(e[f].parentNode==a){c=e[f].cloneNode(!0);
break}}else c=a.yf?a.yf:ch(a.getAttribute(Qb));e=a.getAttribute(Rb);f=a.getAttribute(Sb);var g=a.getAttribute(Ub);g=vf(Eh(g))?-1:Number(g);var h=a.getAttribute("data-tooltip-hide-delay");h=vf(Eh(h))?null:Number(h);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.Yh=al(Ce(this.tr,this.Sb,c,e,g,f,h),a,this);return}this.tr(this.Sb,c,e,g,f,h)}}};
v.pB=function(a){return a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>=a.scrollHeight||this.wx&&"mouse"==a.getAttribute("data-tooltip-trigger")?!1:!0};var Tq=function(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1};
Rq.prototype.tr=function(a,b,c,e,f,g){this.Yh=0;this.xi=g;this.da||(this.da=new Mq(this.Sc),this.Ro(),Fi(this.Sc.A.body,this.da.g()),this.Hb(this.da),this.Xe=new Fq("jfk-tooltip",!0),this.Xe.vA(!0),this.Xe.yA(!0),this.Xe.HA(this.da.g(),this.da.Em));a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.Xe.setPosition(Tq(c),g,void 0,e);Yn(this.da.g(),Lc);this.wi!=f&&(this.wi&&!vf(Eh(this.wi))&&Yn(this.da.g(),this.wi),vf(Eh(f))||V(this.da.g(),f),this.wi=f);
fm(this.da.g(),0,0);if(b instanceof Yg)rh(this.da.P(),b);else for(Hi(this.da.P());c=b.firstChild;)this.da.P().appendChild(c);this.Xe.nl(a);this.Xe.La(null,0)};Rq.prototype.Ro=function(){this.da&&V(this.da.g(),Lc)};Rq.prototype.Qo=function(){this.Ro();this.xi=this.Sb=null};var Vq=function(a,b,c,e){np.call(this,a,Uq.K(),b);this.Rl=c||0;this.gm=e||0;this.dm=!1};C(Vq,np);v=Vq.prototype;v.getStyle=function(){return this.Rl};v.qf=function(){return this.gm};v.dB=function(a){this.Rl!=a&&(this.Rl=a,this.Ek())};v.jr=function(a){this.gm!=a&&(this.gm=a,this.Ek())};v.iB=function(a){this.dm=a};v.Pc=function(a){this.Fl(a);var b=this.g();b&&(this.dm?Sq(b,a,void 0):a?b.title=a:b.removeAttribute(Pd))};v.ma=function(a){this.isEnabled()!=a&&(Vq.i.ma.call(this,a),this.Ek())};
v.focus=function(){var a=this.N();try{a.focus()}catch(b){}};v.Se=function(a){Vq.i.Se.call(this,a);this.Te(!1)};v.Ia=function(a){Vq.i.Ia.call(this,a);this.isEnabled()&&this.Te(!0)};v.Rb=function(a){Vq.i.Rb.call(this,a);this.isEnabled()&&this.Te(!0)};v.Te=function(a){this.g()&&$n(this.g(),"jfk-button-clear-outline",a)};v.Ek=function(){this.g()&&this.u.cC(this)};
var Uq=function(){this.ur=this.B()+"-standard";this.pm=this.B()+"-action";this.mq=this.B()+"-primary";this.Cn=this.B()+ma;this.ao=this.B()+"-flat";this.Pp=this.B()+"-narrow";this.Lp=this.B()+"-mini";this.on=this.B()+"-contrast"};C(Uq,lp);y(Uq);v=Uq.prototype;v.od=function(a,b,c){a&&c.dB(a);b&&c.jr(b)};v.B=function(){return Gc};
v.j=function(a){Te(a,Vq,"Button is expected to be instance of jfk.Button");var b=a.s(),c=Cq(Eq,{disabled:!a.isEnabled(),checked:a.dd(),style:a.getStyle(),title:a.Xc(),lC:a.dm,value:a.getValue(),width:a.qf()},void 0,b);b.append(c,a.fb());this.F(a,c);return c};
v.F=function(a,b){Uq.i.F.call(this,a,b);this.bn||(this.bn=Vf(this.ur,Ce(this.od,0,null),this.pm,Ce(this.od,2,null),this.mq,Ce(this.od,3,null),this.Cn,Ce(this.od,1,null),this.ao,Ce(this.od,4,null),this.Lp,Ce(this.od,5,null),this.on,Ce(this.od,6,null),this.Pp,Ce(this.od,null,1)));for(var c=Un(b),e=0;e<c.length;++e){var f=this.bn[c[e]];f&&f(a)}if(c=b.getAttribute(Qb))a.Fl(c),a.iB(!0);return b};v.getValue=function(a){return a.getAttribute(Ud)||""};v.setValue=function(a,b){a&&a.setAttribute(Ud,b)};
v.cC=function(a){function b(g,h){(g?c:e).push(h)}D(a.g(),"Button element must already exist when updating style.");var c=[],e=[],f=a.getStyle();b(0==f,this.ur);b(2==f,this.pm);b(3==f,this.mq);b(4==f,this.ao);b(5==f,this.Lp);b(1==f,this.Cn);b(6==f,this.on);b(1==a.qf(),this.Pp);b(!a.isEnabled(),this.B()+na);Zn(a.g(),e);Xn(a.g(),c)};Lo(Gc,function(){return new Vq(null)});var Wq=function(a){a=a||{};var b=a.attributes,c=a.cn,e=a.checked,f=a.disabled,g=a.id,h=a.Cr,k=a.aC,l=a.nE,m=a.oE;a=k?" "+Y("jfk-checkbox-undetermined"):e?" "+Y("jfk-checkbox-checked"):" "+Y("jfk-checkbox-unchecked");e=k?"mixed":e?Rd:"false";l=m?' aria-labelledby="'+Y(m)+'"':l?' aria-label="'+Y(l)+'"':"";return Xp(ya+Y(Jc)+" "+Y(mc)+a+(f?" "+Y("jfk-checkbox-disabled"):"")+(c?" "+Y(c):"")+'" role="checkbox" aria-checked="'+e+'"'+l+(g?' id="'+Y(g)+'"':"")+(f?' aria-disabled="true" tabindex="-1"':' tabindex="'+
(h?Y(h):"0")+'"')+(b?" "+lq(b):"")+' dir="ltr"><div class="'+Y(Kc)+'" role="presentation"></div></span>')};Wq.lc="jfk.templates.checkbox.main";var Xq=function(){};C(Xq,Po);y(Xq);v=Xq.prototype;v.j=function(a){var b=a.s().j(Va,this.zc(a).join(" "));this.Sq(b,a.tc);return b};v.F=function(a,b){b=Xq.i.F.call(this,a,b);D(b);var c=Un(b),e=!1;df(c,this.jf(null))?e=null:df(c,this.jf(!0))?e=!0:df(c,this.jf(!1))&&(e=!1);a.AA(e);D(b,"The element cannot be null.");U(b,Ib,this.Cm(e));return b};v.Bb=function(){return Hb};v.Sq=function(a,b){if(a){D(a);var c=this.jf(b);D(c);D(a);Wn(a,c)||(Lf(Yq,function(e){e=this.jf(e);D(a);$n(a,e,e==c)},this),U(a,Ib,this.Cm(b)))}};
v.Cm=function(a){return null==a?"mixed":1==a?Rd:"false"};v.B=function(){return"goog-checkbox"};v.jf=function(a){var b=this.ob();if(1==a)return b+"-checked";if(0==a)return b+"-unchecked";if(null==a)return b+"-undetermined";throw Error("Invalid checkbox state: "+a);};var Zq=function(a,b,c){c=c||Xq.K();X.call(this,null,c,b);this.tc=void 0!==a?a:!1};C(Zq,X);var Yq={fs:!0,fE:!1,gE:null};v=Zq.prototype;v.X=null;v.dd=function(){return 1==this.tc};v.Jx=function(){return null==this.tc};v.Vd=function(a){a!=this.tc&&(this.tc=a,this.u.Sq(this.g(),this.tc))};v.AA=function(a){this.tc=a};v.Yq=function(a){if(this.I){var b=this.lk();this.oa();this.X=a;this.H();b&&this.N().focus()}else this.X=a};v.toggle=function(){this.Vd(this.tc?!1:!0)};
v.H=function(){Zq.i.H.call(this);if(this.Yg){var a=this.C();this.X&&a.listen(this.X,q,this.Nj).listen(this.X,ad,this.ye).listen(this.X,$c,this.Zg).listen(this.X,Yc,this.Ia).listen(this.X,bd,this.Rb);a.listen(this.g(),q,this.Nj)}a=this.N();this.X&&a!=this.X&&vf(Jn(a,Sc))&&(this.X.id||(this.X.id=this.Df("lbl")),U(a,Tc,this.X.id))};v.Nj=function(a){a.stopPropagation();var b=this.tc?"uncheck":"check";this.isEnabled()&&!a.target.href&&this.dispatchEvent(b)&&(a.preventDefault(),this.toggle(),this.dispatchEvent(Fb))};
v.Qb=function(a){32==a.keyCode&&(this.hc(a),this.Nj(a));return!1};Lo("goog-checkbox",function(){return new Zq});var $q=function(a,b){var c=Ro(Xq,Jc);Zq.call(this,a,b,c);this.Ea(4,!0)};C($q,Zq);v=$q.prototype;v.j=function(){this.kc(Cq(Wq,{checked:this.dd(),disabled:!this.isEnabled(),aC:this.Jx()},void 0,this.s()))};v.ha=function(a){$q.i.ha.call(this,a);V(a,mc);this.g().dir="ltr";this.te(Kc)||this.Nt();Hn(this.Va(Kc),"presentation")};v.Nt=function(){var a=this.s().j(n,Kc);this.g().appendChild(a)};v.Se=function(a){$q.i.Se.call(this,a);this.Te(!1)};v.Ia=function(a){$q.i.Ia.call(this,a);this.isEnabled()&&this.Te(!0)};
v.Te=function(a){this.g()&&$n(this.g(),"jfk-checkbox-clearOutline",a)};var ar={8:"backspace",9:"tab",13:Zb,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:Uc,38:"up",39:"right",40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:xd,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:xd,187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};var br=function(){};C(br,lp);y(br);v=br.prototype;v.j=function(a){var b=this.zc(a);b=a.s().j(n,nc+b.join(" "),a.fb());this.Pc(b,a.Xc());return b};v.Bb=function(){return Db};v.Sa=function(a){return a.tagName==n};v.F=function(a,b){D(b);V(b,mc);return br.i.F.call(this,a,b)};v.getValue=function(){return""};v.B=function(){return kc};Lo(kc,function(){return new np(null,br.K())});var cr=function(){};C(cr,br);y(cr);v=cr.prototype;v.j=function(a){var b=this.zc(a);b=a.s().j(n,nc+b.join(" "),[this.createCaption(a.fb(),a.s()),this.Ag(a.s())]);this.Pc(b,a.Xc());return b};v.P=function(a){return a&&a.firstChild};
v.F=function(a,b){var c=ti("*",oc,b)[0];if(c){T(c,!1);a.s().A.body.appendChild(c);var e=new gp;e.F(c);a.Ub(e)}ti("*",this.B()+ka,b)[0]||b.appendChild(this.createCaption(b.childNodes,a.s()));ti("*",this.B()+pa,b)[0]||b.appendChild(this.Ag(a.s()));return cr.i.F.call(this,a,b)};v.createCaption=function(a,b){return b.j(n,nc+(this.B()+ka),a)};v.Ag=function(a){return a.j(n,{"class":nc+(this.B()+pa),"aria-hidden":!0},"\u00a0")};v.B=function(){return lc};Lo(lc,function(){return new vp(null,null,cr.K())});var dr=function(a,b,c){vp.call(this,null,null,a,c);this.$o=b||null};C(dr,vp);v=dr.prototype;v.Pf=2;v.ma=function(a){dr.i.ma.call(this,a);this.Rq(a)};v.Rq=function(a){this.hf().disabled=!a};v.Ia=function(a){this.s().contains(this.hf(),a.target)||dr.i.Ia.call(this,a)};v.hf=function(){return this.s().ue(Qa,tc,this.P())[0]};v.zo=function(){2==this.Pf?(this.Uf(0),this.gb(0)&&this.gb(0).dispatchEvent(ib)):(this.Uf(2),this.gb(1)&&this.gb(1).dispatchEvent(ib))};
v.lw=function(a){0==a.target.Kd?this.Uf(0):this.Uf(2)};v.Qi=function(){this.gb(0)&&this.gb(1)&&(this.C().listen(this.ja(),ib,this.lw),this.gb(0).yl(0),this.gb(1).yl(2))};v.Pi=function(){this.C().listen(this.hf(),q,this.zo)};v.j=function(){dr.i.j.call(this);this.tn();var a=new bp("All",null,this.s(),this.$o),b=new bp("None",null,this.s(),this.$o);this.ab(a);this.ab(b);this.Pi();this.Qi()};v.tn=function(){var a=this.s().createElement(Qa);a.type=Hb;a.className=tc;this.jc(a)};
v.ha=function(a){dr.i.ha.call(this,a);this.Pi();this.Qi()};v.Ub=function(a){dr.i.Ub.call(this,a);this.Qi()};v.Uf=function(a){if(this.Pf!=a){var b=this.hf();0==a?(b.checked=!0,um(b,1)):1==a?(b.checked=!0,um(b,.5)):(b.checked=!1,um(b,1));this.Pf=a}};Lo("goog-selectionmenubutton-button",function(){return new dr});var er=function(a){dr.call(this,cr.K(),null,a);this.Lb=new $q;this.Lb.Ea(32,!1)};w(er,dr);v=er.prototype;v.hf=function(){return this.Lb.g()};v.tn=function(){this.Lb.render();this.jc(this.Lb.g())};v.ha=function(a){dr.prototype.ha.call(this,a);this.Lb.F(this.te(Jc))};v.Rq=function(a){this.Lb.ma(a)};v.Pi=function(){this.C().listen(this.Lb,Fb,this.zo)};v.Uf=function(a){this.Pf!=a&&(0==a?this.Lb.Vd(!0):1==a?this.Lb.Vd(null):this.Lb.Vd(!1),this.Pf=a)};v.o=function(){P(this.Lb);dr.prototype.o.call(this)};Lo("jfk-selectionmenubutton",function(){return new er});var fr=function(a,b){O.call(this);this.An=a;this.Gp=b};C(fr,O);fr.prototype.cA=function(a,b,c,e){this.sB("Running script","Running script "+xh(b));a=this.Uu(a,b,e);c=this.Vu(c).toString();b=A(this.sw,this,b);a=a.toString();e=new jl;ml.push(e);b&&e.listen(Nb,b);e.xk("ready",e.Gt);e.send(c,"POST",a,void 0)};
fr.prototype.sw=function(a,b){b=b.target.Qg();switch(b.result){case "AUTH_REQUIRED":this.Jl("Script requires authorization","Script "+(xh(a)+" requires authorization"));this.uB(b.authPanelUrl,b.authPanel);break;case "OK":this.Jl("Finished script","Finished script "+xh(a));break;default:this.Jl("Script experienced an error","Script "+(xh(a)+" experienced an error")),this.rB(b.error)}};
fr.prototype.Vu=function(a){var b=new ql;b.ji((""==this.An?"/macros":"/a/macros/"+this.An)+"/macroClient");this.lB(b,a);return b};fr.prototype.Uu=function(a,b,c){var e=new rl;e.set("cmd",2);null!=a&&e.set("lib",a);e.set("funcName",b);c&&e.set("authMae",c);this.Gp&&e.set("hl",this.Gp);e.set("authVersion","2");return e};var gr=function(a,b,c,e){qo.call(this,void 0,!0,e);this.hC=a;a=this.P();c=M(a);e=c.j(n);e.innerHTML=b;c.appendChild(a,e);this.Qq(to);this.gr("Authorization Required");this.D(!0);this.FA(!0);this.addEventListener("dialogselect",this.xt)};w(gr,qo);gr.prototype.xt=function(a){this.yw(a.key)};
gr.prototype.yw=function(a){if(a!=Eb){var b=this.hC;a={target:"_blank",height:500,width:600,top:(screen.height-500)/2,left:(screen.width-600)/2,scrollbars:!0};var c=window;var e=b instanceof Ag?b:Gg("undefined"!=typeof b.href?b.href:String(b))||Hg;b=a.target||b.target;var f=[];for(g in a)switch(g){case "width":case zc:case "top":case Uc:f.push(g+"="+a[g]);break;case "target":case "noopener":case "noreferrer":break;default:f.push(g+"="+(a[g]?1:0))}var g=f.join(",");if(Ih()&&c.navigator&&c.navigator.standalone&&
b&&"_self"!=b)g=Di(document,"A"),uf(g,"HTMLAnchorElement"),e=e instanceof Ag?e:Ig(e),g.href=Bg(e),g.setAttribute("target",b),a.noreferrer&&g.setAttribute("rel","noreferrer"),a=document.createEvent("MouseEvent"),a.initMouseEvent(q,!0,!0,c,1),g.dispatchEvent(a);else if(a.noreferrer){if(c=vh("",c,b,g),a=Bg(e),c&&(Oh&&-1!=a.indexOf(";")&&(a="'"+a.replace(/'/g,"%27")+"'"),c.opener=null,a=nh(ig("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
xh(a)+d),c=c.document))c.write(Zg(a)),c.close()}else(c=vh(e,c,b,g))&&a.noopener&&(c.opener=null)}this.D(!1)};var hr=function(a,b,c){fr.call(this,"defaultdomain"!=a.domain?a.domain:"",b);this.Sc=c||M();this.$r=a};w(hr,fr);v=hr.prototype;v.lB=function(a,b){a.Vb("mid",b)};v.uB=function(a,b){(new gr(a,b,"sitesAppsScriptAuthDialog"+this.$r.name.replace(/-/g,""))).D(!0)};v.sB=function(a,b){Wm(xh(a+": "+b))};v.Jl=function(a,b){Wm(xh(a+": "+b))};v.rB=function(a){var b=new qo;b.gr("Alert");b.fr(a);b.Qq(so);b.D(!0)};v.Fd=function(){this.ax();this.$w()};
v.ax=function(){for(var a=this.Sc.hm("a","apps-script-run-link"),b=0;b<a.length;b++){var c=a[b],e=c.id.split("#");3==e.length&&R(c,q,this.xv(e[1],e[2],e[0]),!1,this)}};v.$w=function(){for(var a=this.Sc.hm("a","apps-script-disabled-link"),b=0;b<a.length;b++)R(a[b],q,this.vB,!1,this)};v.qx=function(){JOT_addListener(Ob,A(this.Fd,this))};v.vB=function(){Wm(this.us)};v.xv=function(a,b,c){return function(){this.cA(a,b,c)}};B("gsites.pages.view.SitesMaestroRunner",hr);hr.prototype.us="Running Apps Scripts is available for signed in users only";
hr.prototype.initListeners=hr.prototype.Fd;hr.prototype.installEditRender=hr.prototype.qx;var ir=!1,jr=[],lr=function(a){jr.push(a);we(re("google.visualization.ChartEditor"))?kr():ir||(ir=!0,Z.Ak("https://www.gstatic.com/charts/loader.js",function(){google.charts.safeLoad({packages:["charteditor"],language:webspace.page.locale||"en",callback:kr})}))},kr=function(){ir=!1;E(jr,function(a){a()});jr=[]};B("sites.gvizloader.handleGvizLoaded_",kr);var mr=function(a){for(var b=0;b<a.length;b++){var c=a[b],e=Mi(c);null!=e&&"chartSpec"==e.name&&e.value&&google.visualization.drawChart(Ah(e.value),c)}},nr=function(){var a=N(Cd);a&&(a=ti(n,"sites-gviz-chart",a))&&0<a.length&&lr(Ce(mr,a))},or=function(){var a=N(Cd);if(a){a=ti("FORM","sites-iframe-gviz-form",a);for(var b=0;b<a.length;b++)a[b].submit()}};JOT_addListener(Ob,nr);JOT_addListener("decorateGvizCharts",nr);JOT_addListener(Ob,or);JOT_addListener("completeEdit",or);var pr=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var e=c||x,f=e.document,g=a.nonce||pe(e);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=re("document.location.href",e);!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];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback";if(h=e.GOOGLE_FEEDBACK_START)h.apply(e,b);
else{e=c+"/load.js?";for(var l in a)b=a[l],null==b||we(b)||(e+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=M(f).createElement(Ta);g&&a.setAttribute("nonce",g);th(a,Il(e));f.body.appendChild(a)}};B("userfeedback.api.startFeedback",pr);var qr=function(a,b,c,e){try{e=e||"en";if(0<=b.indexOf("/")){var f=b.split("?#",2)[0];"/"==f.slice(-1)&&(f=f.slice(0,-1));b=f.slice(f.lastIndexOf("/")+1);if(!b||0<=b.indexOf(".")||"site"==b||"sites"==b)b="dashboard"}pr({productId:"70",flow:"help",helpCenterContext:b,helpCenterPath:"/sites",anchor:N(a),locale:e,authuser:c})}catch(g){window.open("http://support.google.com/sites/?hl="+e)}};B("sites.util.helpBox",qr);var rr=function(a){S.call(this);this.xf={};this.wf={};this.za=new Fk(this);this.G=a;this.bj=!1};C(rr,S);var sr=[H&&!K("11")?rd:Wc,"abort",$b];v=rr.prototype;v.Xs=function(a,b,c){if(b=typeof b===u?b:b.src)this.bj=!1,this.xf[a]={src:b,pn:void 0!==c?c:null}};v.Gz=function(a){delete this.xf[a];var b=this.wf[a];b&&(delete this.wf[a],this.za.R(b,sr,this.aq))};v.start=function(){var a=this.xf;E(Nf(a),function(b){var c=a[b];c&&(delete a[b],this.Xx(c,b))},this)};
v.Xx=function(a,b){if(!this.isDisposed()){var c=this.G?M(this.G).j("IMG"):new Image;a.pn&&(c.crossOrigin=a.pn);this.za.listen(c,sr,this.aq);this.wf[b]=c;c.id=b;c.src=a.src}};v.aq=function(a){var b=a.currentTarget;if(b){if(a.type==rd)if(b.readyState==Nb)a.type=Wc;else return;"undefined"==typeof b.naturalWidth&&(a.type==Wc?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.Gz(b.id);this.dispatchEvent({type:a.type,target:b});this.isDisposed()||this.ky()}};
v.ky=function(){Pf(this.wf)&&Pf(this.xf)&&!this.bj&&(this.bj=!0,this.dispatchEvent(Nb))};v.o=function(){delete this.xf;delete this.wf;P(this.za);rr.i.o.call(this)};var tr=function(){this.bk=new rr;R(this.bk,Wc,this.Xp,!1,this)};tr.prototype.init=function(a,b){a=N(a);b=ti("img",b,a);a=!1;for(var c=0;c<b.length;c++){var e=b[c];e.height&&e.width?("undefined"==typeof e.naturalWidth&&(e.naturalWidth=e.width),"undefined"==typeof e.naturalHeight&&(e.naturalHeight=e.height),this.Xp(null,e)):e.src&&(a=!0,this.bk.Xs(e.id,e.src))}a&&this.start()};tr.prototype.start=function(){this.bk.start()};
tr.prototype.Xp=function(a,b){if((b=a?a.target:b)&&void 0!==b.naturalWidth&&void 0!==b.naturalHeight&&(a=N(b.id))){var c=new mi(b.naturalWidth,b.naturalHeight);c.su(ur)?(a.height=b.naturalHeight,a.width=b.naturalWidth):(b=c.fA(ur),a.height=b.height,a.width=b.width);a.style.display=""}};B("gsites.util.ImagePreloader",tr);var ur=new mi(96,96);B("gsites.util.ImagePreloader.prototype.init",tr.prototype.init);/*
 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.
*/
var vr=function(a,b){this.ai=[];this.Vp=a;this.Dn=b||null;this.rf=this.pe=!1;this.Ib=void 0;this.Nl=this.Pm=this.Wi=!1;this.Ai=0;this.G=null;this.Xi=0};v=vr.prototype;v.cancel=function(a){if(this.pe)this.Ib instanceof vr&&this.Ib.cancel();else{if(this.G){var b=this.G;delete this.G;a?b.cancel(a):b.tt()}this.Vp?this.Vp.call(this.Dn,this):this.Nl=!0;this.pe||this.yd(new wr(this))}};v.tt=function(){this.Xi--;0>=this.Xi&&this.cancel()};v.nn=function(a,b){this.Wi=!1;this.$l(a,b)};
v.$l=function(a,b){this.pe=!0;this.Ib=b;this.rf=!a;this.Yn()};v.Qc=function(){if(this.pe){if(!this.Nl)throw new xr(this);this.Nl=!1}};v.callback=function(a){this.Qc();this.Im(a);this.$l(!0,a)};v.yd=function(a){this.Qc();this.Im(a);this.$l(!1,a)};v.Im=function(a){D(!(a instanceof vr),"An execution sequence may not be initiated with a blocking Deferred.")};v.Qa=function(a,b){return this.gg(a,null,b)};v.ce=function(a,b){return this.gg(null,a,b)};
v.gg=function(a,b,c){D(!this.Pm,"Blocking Deferreds can not be re-used");this.ai.push([a,b,c]);this.pe&&this.Yn();return this};v.then=function(a,b,c){var e,f,g=new Sk(function(h,k){e=h;f=k});this.gg(e,function(h){h instanceof wr?g.cancel():f(h)});return g.then(a,b,c)};vr.prototype.$goog_Thenable=!0;vr.prototype.isError=function(a){return a instanceof Error};vr.prototype.Mo=function(){return Ze(this.ai,function(a){return ve(a[1])})};
vr.prototype.Yn=function(){if(this.Ai&&this.pe&&this.Mo()){var a=this.Ai,b=yr[a];b&&(b.Vz(),delete yr[a]);this.Ai=0}this.G&&(this.G.Xi--,delete this.G);a=this.Ib;for(var c=b=!1;this.ai.length&&!this.Wi;){var e=this.ai.shift(),f=e[0],g=e[1];e=e[2];if(f=this.rf?g:f)try{var h=f.call(e||this.Dn,a);void 0!==h&&(this.rf=this.rf&&(h==a||this.isError(h)),this.Ib=a=h);if(Qk(a)||typeof x.Promise===r&&a instanceof x.Promise)this.Wi=c=!0}catch(k){a=k,this.rf=!0,this.Mo()||(b=!0)}}this.Ib=a;c&&(h=A(this.nn,this,
!0),c=A(this.nn,this,!1),a instanceof vr?(a.gg(h,c),a.Pm=!0):a.then(h,c));b&&(a=new zr(a),yr[a.T]=a,this.Ai=a.T)};var xr=function(){Ge.call(this)};C(xr,Ge);xr.prototype.message="Deferred has already fired";xr.prototype.name="AlreadyCalledError";var wr=function(){Ge.call(this)};C(wr,Ge);wr.prototype.message="Deferred was canceled";wr.prototype.name="CanceledError";var zr=function(a){this.T=x.setTimeout(A(this.QB,this),0);this.Fg=a};
zr.prototype.QB=function(){D(yr[this.T],"Cannot throw an error that is not scheduled.");delete yr[this.T];throw this.Fg;};zr.prototype.Vz=function(){x.clearTimeout(this.T)};var yr={};var Er=function(a,b){var c=b||{};b=c.document||document;var e=wg(a).toString(),f=Di(document,Ta),g={Gq:f,$f:void 0},h=new vr(Ar,g),k=null,l=null!=c.timeout?c.timeout:5E3;0<l&&(k=window.setTimeout(function(){Br(f,!0);h.yd(new Cr(1,"Timeout reached for loading script "+e))},l),g.$f=k);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&f.readyState!=Nb||(Br(f,c.qE||!1,k),h.callback(null))};f.onerror=function(){Br(f,!0,k);h.yd(new Cr(0,"Error while loading script "+e))};g=
c.attributes||{};Uf(g,{type:"text/javascript",charset:"UTF-8"});xi(f,g);th(f,a);Dr(b).appendChild(f);return h},Dr=function(a){var b=ri("HEAD",a);return b&&0!=b.length?b[0]:a.documentElement},Ar=function(){if(this&&this.Gq){var a=this.Gq;a&&a.tagName==Ta&&Br(a,!0,this.$f)}},Br=function(a,b,c){null!=c&&x.clearTimeout(c);a.onload=se;a.onerror=se;a.onreadystatechange=se;b&&window.setTimeout(function(){Ki(a)},0)},Cr=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Ge.call(this,c);this.code=
a};C(Cr,Ge);var Fr=function(){this.qq={}};Fr.prototype.$A=function(a){this.qq["card/source"]=a;return this};Fr.prototype.Ul=function(){return this.qq};var Ir=function(a){a=a||M();a=ze(a.A);Gr[a]||(Gr[a]=new Hr);return Gr[a]},Gr={},Hr=function(){O.call(this);this.Kf=[];this.mn=new Fr};w(Hr,O);v=Hr.prototype;v.vh=function(){var a=re("gapi.load");typeof a!==r||this.jp?this.Vn||(this.Vn=!0,Er(Jr).Qa(A(this.vh,this))):(this.jp=!0,a("card",A(this.dw,this)))};
v.dw=function(){this.am=re("gapi.config.update");this.Di=re("gapi.card.watch");this.Qr=re("gapi.card.unwatch");this.configure(this.mn);for(var a=0;a<this.Kf.length;a++){var b=this.Kf[a];this.Zr(b.g(),b.getUserData())}this.Kf=[]};v.configure=function(a){this.mn=a;a=a.Ul();if(this.am)for(var b in a)this.am(b,a[b])};v.Zr=function(a,b){this.Di?(bn(a,"g-hovercard"),b&&a.setAttribute("data-userid",b),this.Di(a)):(this.Kf.push(new Kr(a,b)),this.vh())};
v.o=function(){O.prototype.o.call(this);delete this.Di;delete this.Qr;delete this.Kf};var Jr=xg(hg(ig("https://apis.google.com/js/api.js")));v=Hr.prototype;v.Vn=!1;v.jp=!1;v.am=null;v.Di=null;v.Qr=null;var Kr=function(a,b){this.m=a;this.kC=b};Kr.prototype.g=function(){return this.m};Kr.prototype.getUserData=function(){return this.kC};var Lr=!H&&!Zf(),Mr=function(a,b){if(/-[a-z]/.test(b))return null;if(Lr&&a.dataset){if($f()&&!(b in a.dataset))return null;a=a.dataset[b];return void 0===a?null:a}return a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())};var Nr=function(a){S.call(this);this.Ei=a||window;this.zk=R(this.Ei,sd,this.uw,!1,this);this.Wf=yi(this.Ei)};C(Nr,S);Nr.prototype.vo=function(){return this.Wf?this.Wf.clone():null};Nr.prototype.o=function(){Nr.i.o.call(this);this.zk&&(Ak(this.zk),this.zk=null);this.Wf=this.Ei=null};Nr.prototype.uw=function(){var a=yi(this.Ei);ni(a,this.Wf)||(this.Wf=a,this.dispatchEvent(sd))};B("sites.Hovercard",function(){var a=(new Fr).$A("sites");Ir(void 0).configure(a);a=ti(null,"sites-admininfobox-hovercard",null);for(var b=0;b<a.length;b++){var c=a[b],e=M(c);Ir(e).Zr(c,void 0)}});var Or=function(){this.fo=this.ho=!1},Pr=function(a){Or.K().Wx(a)};Or.prototype.Wx=function(a){if(this.fo)a();else{if(!this.ho){this.ho=!0;var b=A(this.NA,this);this.En=Er(xg(hg(ig("https://apis.google.com/js/platform.js"))));this.En.Qa(b)}this.En.Qa(a)}};Or.prototype.NA=function(){this.fo=!0};y(Or);B("sites.util.GapiLoader.loadGapi",Pr);var Qr=function(a,b,c){O.call(this);this.kt=a;a=A(this.lx,this,b,c);a=A(this.Vx,this,a);Pr(a)};w(Qr,O);v=Qr.prototype;v.Vx=function(a){Er(Il(this.kt)).Qa(a)};
v.lx=function(a,b){var c=Vf("c",!1,docosExterns.OptionName.PANE_DIV,N("sites-comment-docos-pane"),docosExterns.OptionName.RESOLVE,!1,docosExterns.OptionName.SHOW_ERRORS,!0,docosExterns.OptionName.HIDE_NOTIFICATION_SETTINGS,!0,docosExterns.OptionName.DISABLE_STREAM_PANE_FOCUS_WRAPPING,!0);b&&(c[docosExterns.OptionName.READONLY]=!0);this.lj=docosExterns.Docos.create(c);this.render();a&&this.du()};v.du=function(){this.lj.displayNotificationControlDialog()};v.render=function(){this.lj.renderPaneSurface()};
v.o=function(){O.prototype.o.call(this);P(this.lj)};B("sites.CommentPane",Qr);var Rr=function(){this.af=[];this.oj=[];this.vd=!1;this.result=this.ti=null},Sr;v=Rr.prototype;v.Qa=function(a,b){if(typeof a!=r)throw"Callback must be a function";b&&(a=A(a,b));this.af.push(a);this.vd&&this.ti&&this.Ph(this.result)};v.ce=function(a,b){if(typeof a!=r)throw"Errback must be a function";b&&(a=A(a,b));this.oj.push(a);this.vd&&!this.ti&&this.oq(this.result)};v.callback=function(a){Fe&&this.Ad().info("Got result: "+a);if(this.vd)throw Ma;this.ti=this.vd=!0;this.Ph(a)};
v.Ph=function(a){this.result=a;if(this.af.length){var b=this.af.shift();try{Fe&&this.Ad().info("Passing result to callback handler");var c=b(a)}catch(e){Fe&&this.Ad().fm("Caught error running callback:"+e,e);this.vd=!1;this.yd(e);return}c instanceof Rr?(Fe&&this.Ad().info("Callback returned Deferred, waiting for result"),c.Qa(this.Ph,this),c.ce(this.yd,this)):this.af.length?(Fe&&this.Ad().info(this.af.length+" callbacks remaining."),this.Ph(c)):this.result=c}};
v.yd=function(a){Fe&&this.Ad().info("Got error: "+a,a);if(this.vd)throw Ma;this.vd=!0;this.ti=!1;this.oq(a)};v.oq=function(a){this.result=a;var b;if(this.oj.length)for(;b=this.oj.shift();)try{b(a)}catch(c){}else Fe&&this.Ad().ni("Unhandled error: "+a,a)};v.Ad=function(){Sr||(Sr=Nj("goog.deferred.Deferred"));return Sr};
var Tr=function(a){this.Yt=a;this.Ib=new Rr;this.Vh=[];for(var b=0;b<a.length;b++){var c=a[b];if(!(c instanceof Rr))throw"All items in DeferredArray array must be Deferred objects";c.Qa(this.Wv,this);c.ce(this.aw,this)}};Tr.prototype.Wv=function(a){this.Vh.push([!0,a]);this.Wm()};Tr.prototype.aw=function(a){this.Vh.push([!1,a]);this.Wm()};Tr.prototype.Wm=function(){this.Vh.length==this.Yt.length&&this.Ib.callback(this.Vh)};Tr.prototype.Qa=function(a){this.Ib.Qa(a)};var Vr=function(){if(Ur)return Ur;Mj();this.M=Lj;this.M.hi(Fj);this.M.Vs(A(this.kw,this));this.Zx=new Fl;Ur=this};Vr.prototype.Av=function(){var a=document.getElementById(Bd);a||(a=document.createElement(Wb),a.id=Bd,document.body.appendChild(a));return a};Vr.prototype.kw=function(a){if(this.enabled){var b=this.Av().appendChild(document.createElement(Wb));b.className="sites-debug-log-logrecord";rh(b,this.Zx.Iu(a))}};var Ur=null;Vr.prototype.enabled=!0;B("DebugLogDisplay",Vr);var Z={wE:[],Bk:{},Fp:{}};B("ResourceLoader",Z);Z.mf=function(){Z.M||(Z.M=Nj("sites.ResourceLoader"));return Z.M};Z.uh=function(a){var b=new Rr;if(Z.Fp[a])b.callback(!0);else{var c=Z.Bk[a];c||(Z.mf().info("loading "+a),c=Z.vh(a));c.Qa(b.callback,b);c.ce(b.yd,b)}b.Qa(function(){Z.mf().info("ready: "+a)});b.ce(function(e){Z.mf().ni("error loading resource",e)});return b};Z.Ak=function(a,b,c){a=Z.uh(a);b&&a.Qa(b);c&&a.ce(c)};Z.loadResourceWithCallback=Z.Ak;
Z.uE=function(a){for(var b=[],c=0;c<a.length;c++)b.push(Z.uh(a[c]));a=new Tr(b);a.Qa(function(){Z.mf().info("Done.")});return a};
Z.vh=function(a){var b=new Rr;b.Qa(function(){delete Z.Bk[a];Z.Fp[a]=!0});var c=document.getElementsByTagName("head")[0];if(!c)throw"No head element found, aborting";var e=/\.css(\?|$)/.exec(a);if(e){var f=document.createElement("link");f.href=a;f.rel="stylesheet"}else/\.js$|\.js\?|\/jsapi$|\/jsapi\?/.exec(a)&&(f=document.createElement("script"),f.src=a);if("undefined"!=typeof f.readyState)f.onreadystatechange=function(){"loaded"!=f.readyState&&f.readyState!=Nb||b.callback(!0)};else if(e){var g=function l(){l.ru||
(l.ru=!0,window.clearInterval(h),b.callback(!0))};var h=window.setInterval(function(){try{g()}catch(l){15!=l.code&&g()}},100);window.setTimeout(g,3E3)}else f.onload=function(){b.callback(!0)};c.appendChild(f);b.Qa(function(){Z.mf().info("loaded: "+a)});return Z.Bk[a]=b};var Wr=function(a,b){this.Op={};this.Vw={};this.Cq=b;JOT_addListener("registerForRpc",A(this.Bz,this));var c=this;this.Cq.register("resize_iframe",function(e){c.OA(this.f,e)})};Wr.prototype.Bz=function(a){var b=a.payload[0],c=a.payload[1],e=document.getElementById(c);if(e&&e.name){var f=e.name;e.src=a.payload[2];this.Cq.setAuthToken(f,b);this.Op[f]=c;this.Vw[c]=f}};Wr.prototype.OA=function(a,b){if(a=document.getElementById(this.Op[a]))a.style.height=b+qd};B("gsites.RpcHub",Wr);(function(){function a(b){b&&"ping"==b.data&&b.source.postMessage("pong",b.origin)}window.addEventListener&&window.addEventListener("message",a,!1)})();B("JOT_addParamToUri",function(a,b,c){a=a instanceof ql?a:new ql(new String(a));a.Vb(b,c);return a});function Xr(a){for(var b="",c=!1,e=!0,f=0;f<arguments.length;f++){var g=arguments[f];if(typeof g==u){var h=0==g.indexOf("/");c&&h?g=g.substring(1):c||h||e||(b+="/");e=!1;c=g.lastIndexOf("/")==g.length-1;b+=g}}return b}webspace.getPath=Xr;function Yr(a){a=Zr(a);var b={};a&&$r(b,a);return b}B("JOT_getCompParts",Yr);function Zr(a){return a.id&&0==a.id.indexOf("COMP_")?a:Zr(a.parentNode)}
function $r(a,b){b=b.childNodes;for(var c=0;c<b.length;c++){var e=b[c];if(1==e.nodeType&&(!e.id||0!=e.id.indexOf("COMP_"))){var f=e.getAttribute("jotId");if(f){e.tE=f;var g=a[f];if(g){if(!(g instanceof Array)){var h=[];h.push(g);g=a[f]=h}g.push(e)}else a[f]=e}$r(a,e)}}}
function as(a){R(window,Wc,function(){var b=webspace.analyticsAccountId,c=webspace.enableUniversalAnalytics,e=webspace.baseUri;if(b&&c){var f="ga";window.GoogleAnalyticsObject?f=window.GoogleAnalyticsObject:(window[f]=window[f]||function(){(window[f].q=window[f].q||[]).push(arguments)},window[f].l=1*new Date,window.GoogleAnalyticsObject=f,Z.uh("//www.google-analytics.com/analytics.js"));var g=window[f];g("create",b,{cookiePath:e});g("send","pageview");a&&g("set","admin",!0)}})}
function bs(a,b){R(window,Wc,function(){Z.Ak(("https:"==document.location.protocol?"https://ssl.":"http://www.")+"google-analytics.com/ga.js",function(){var c=webspace.analyticsAccountId,e=webspace.enableAnalytics,f=webspace.baseUri;c&&e&&b&&(c=window._gat._getTracker(c),c._setCookiePath(f),c._trackPageview(),c._trackPageLoadTime(),a&&c._setVar("admin"));if(c=webspace.domainAnalyticsAccountId)c=window._gat._getTracker(c),-1!=document.location.host.indexOf(".google.com")&&(f=f.slice(0,f.lastIndexOf("/")),
c._setCookiePath(f)),c._trackPageview(),c._trackPageLoadTime()})})}B("JOT_insertAnalyticsCode",function(a,b){b?(as(a),webspace.domainAnalyticsAccountId&&bs(a,!1)):bs(a,!0)});
B("JOT_insertTranslateCode",function(a,b){B("translateCallback",function(){var c=re("google.translate.TranslateElement");new c({pageLanguage:b,floatPosition:c.FloatPosition.BOTTOM_RIGHT,autoDisplay:!1});document.documentElement.style.height="auto"});R(window,Wc,function(){Z.uh(document.location.protocol+"//translate.google.com/translate_a/element.js?cb=translateCallback&hl="+a)})});
B("JOT_callEndpoint",function(a,b,c,e){a=webspace.baseUri+a;b="json="+encodeURIComponent((new Ik(void 0)).kl(b));Zm(a,c,e,"POST",b)});
function cs(a,b,c,e,f,g,h,k){var l=webspace.baseUri+"/system/services/gateway/?service="+encodeURIComponent(a);l+="&j2anofwd=true";b.requestPath=b.requestPath||(new ql(new String(window.location))).getPath();a=f||"POST";f=function(p,z){p&&(new ql(new String(window.location))).Dv(z)&&(l+="&"+z+"=true")};f(g,"nofwd");f(k,"ffwd");b=(new Ik(void 0)).kl(b);var m;h=h||{};"POST"==a?m="json="+encodeURIComponent(b):h.json=b;Zm(l,c,e,a,m,void 0,h)}B("JOT_callGateway",cs);
B("JOT_postFormToGateway",function(a,b,c,e,f){var g=webspace.baseUri+"/system/services/gateway-upload/?service="+a,h=new $m;e&&R(h,Id,e);f&&R(h,$b,f);c=c||{};c.service=a;a=(new Ik(void 0)).kl(c);h.xm(b,"json",a);b.acceptCharset="utf-8";h.ct(b);h.lA(b,g)});function ds(a){return-1==sg(a,void 0)?"rtl":"ltr"}B("JOT_getTextDir",ds);B("JOT_setTextDir",function(a){null!=a.value&&(a.dir=ds(a.value))});B("JOT_wrapTextDir",function(a,b){return a?(b="rtl"==b?"\u200f":"\u200e",b+a+b):""});
B("JOT_setMobilePreview",function(){var a=window.getComputedStyle(document.body,null),b=document.getElementById(Cd);b.style.backgroundColor=a.backgroundColor;b.style.backgroundImage=a.backgroundImage;b.style.backgroundRepeat=a.backgroundRepeat;b.style.backgroundAttachment=a.backgroundAttachment;b.style.backgroundPosition=a.backgroundPosition;document.body.style.background="white"});webspace.redirect=function(a){uh(window.location,a)};webspace.search=function(a,b,c){cs("Search",a,b,c)};
webspace.shallowSearch=function(a,b,c){cs("ShallowSearch",a,b,c)};B("webspace.shallowSearch",webspace.shallowSearch);webspace.rE=function(a,b,c){cs("GetPageTemplates",a,b,c)};webspace.DE=function(a,b,c){cs("SaveUserSettings",a,b,c)};
function es(a){var b=!1,c=a.getAttribute(Od);c&&(c=parseInt(c,10));if(c){var e=a.getAttribute("issitelocale");(e=e?window.JOT_formatRelativeToNow(c,e):window.JOT_formatRelativeToNow(c))?b=!0:(e=a.getAttribute(Pd)||(new un(10)).format(new Date(c)),a.removeAttribute(Od));Ri(a,e)}return b}function fs(){var a=!1;if(window.JOT_formatRelativeToNow)for(var b=ti("span"),c=b.length-1;0<=c;c--)es(b[c])&&(a=!0);a?gs():hs&&(window.clearInterval(hs),hs=null)}var hs;
function gs(){hs||(hs=window.setInterval(fs,2E4),R(window,"pageshow",fs))}B("JOT_setInnerRelativeTime",function(a,b,c){for(var e=a.firstChild;e;e=e.nextSibling)if(e.getAttribute&&e.getAttribute(Od)){a=e;break}b?a.setAttribute(Od,b):a.removeAttribute(Od);a.setAttribute(Pd,c||(new Date(b)).toLocaleString());es(a);gs()});gs();JOT_addListener(Ob,fs);
window.JOT_SUBPAGE_click=function(a){a=new gk(a||window.event);if(a.target.className==cc)return a=a.target.parentNode.parentNode,df(an(a),Kb)?dn(a,Kb):bn(a,Kb),!1};webspace.printUrl=new ql(new String(window.location));webspace.printUrl.Vb("tmpl","/system/app/templates/print/");webspace.printUrl.Vb("showPrintDialog","1");var is=function(){O.call(this);this.Hq=zi(document);this.za=new Fk(this);this.Hb(this.za);this.Qe=null;var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;a&&(a=A(a,window));this.vq=a};w(is,O);v=is.prototype;v.Ix=function(){return!!document.querySelector};v.kx=function(){if(this.Ix())for(var a=ti(Wb,"goog-toc"),b=0;b<a.length;b++)this.jx(a[b])};
v.jx=function(a){a=ti("a",null,a);for(var b=0;b<a.length;b++){var c=a[b],e=c.getAttribute("href"),f=e&&e.substring(1);if(e=e&&"#"==e[0]&&this.Jv(f))f=A(this.jA,this,e,f),this.za.listen(c,q,f)}};v.Jv=function(a){return a&&(a=document.querySelector("a[name="+a+"]"))&&a.parentNode&&a.parentNode.tagName&&a.parentNode.tagName.match(/H[1-9]/)?a.parentNode:null};
v.jA=function(a,b,c){a=jm(a).y;this.Qe=new Vl([this.Hq.scrollTop],[a],200,Sm);this.za.listen(this.Qe,lb,this.Mk);this.za.listen(this.Qe,"end",Ce(this.az,b));this.Qe.play();c&&c.preventDefault()};v.Mk=function(a){this.vq?this.vq(A(this.$q,this,a.x)):this.$q(a.x)};v.$q=function(a){this.Hq.scrollTop=a};v.az=function(a){a&&(window.location.hash=a);P(this.Qe);this.Qe=null};y(is);JOT_addListener("pageLoaded",function(){is.K().kx()});var ks=function(a){Vq.call(this,null);this.Uk=function(){uh(window.location,a)}};w(ks,Vq);B("sites.components.NavigationButton",ks);var ls=function(a){this.Sc=a||M()};
ls.prototype.Fd=function(a,b,c,e,f,g,h){0>e&&(e=0);if("desc"==(g||"asc")){var k=e-f;g=e+f;f=g>=c;c=c-e==c}else g=e-f,k=e+f,f=0>g,c=k>=c;e=k;e=el(il(String(window.location),id),id,e);g=el(il(String(window.location),id),id,g);g=new ks(g);g.F(N(a));g.di(2);if(!f){if(k=N(a)){switch(h){case "announcements":a="View newer posts";break;case "revisions":a="View newer revisions";break;default:a="Previous"}Sq(k,a,void 0)}R(g,ib,g.Uk)}g.ma(!f);f=new ks(e);f.F(N(b));f.di(1);if(!c){if(b=N(b)){switch(h){case "announcements":a=
"View older posts";break;case "revisions":a="View older revisions";break;default:a="Next"}Sq(b,a,void 0)}R(f,ib,f.Uk)}f.ma(!c)};B("sites.components.Paginator",ls);ls.prototype.initListeners=ls.prototype.Fd;var ms=function(a,b,c){hp.call(this,null,c);this.$z=a;this.Jr=vi("sites-navigation-link",a);this.hn=!!b;b=vi(Ed,a);this.ud(a,9,8);this.fB(!1);this.F(b)};w(ms,hp);v=ms.prototype;v.CB=function(){this.isVisible()&&(this.ah=al(A(this.ly,this),250))};v.aj=function(){this.ah&&(bl(this.ah),this.ah=void 0)};v.ly=function(){this.aj();this.Xa()||this.Dc()};v.H=function(){hp.prototype.H.call(this);this.hn?(this.WB=this.Jr.href,this.Jr.href="javascript:void(0);"):this.C().listen(this.s().A,ad,this.Wy,!0)};
v.ud=function(a,b,c,e,f){this.ik(a)||(a=this.rn(a,b,c,e,f),this.hn?this.C().listen(a.m,q,this.cz):this.C().listen(a.m,ad,this.ez))};v.ez=function(a){this.hk=!0;this.aj();hp.prototype.Gh.call(this,a)};v.cz=function(a){this.Xa()?uh(window.location,this.WB):(this.hk=!0,this.aj(),hp.prototype.Gh.call(this,a))};v.Wy=function(a){this.isVisible()&&(this.hk=a.target instanceof Element&&this.yb(a.target),this.Xa()||this.ah||this.CB())};v.Xa=function(){return this.hk};v.Tp=function(){};
v.hb=function(){this.Xa()||this.Dc()};v.yb=function(a){return this.s().contains(this.$z,a)};B("gsites.HoverPopupMenu",ms);var ns=[];B("gsites.HoverPopupMenu.createSiteDropdownMenus",function(a,b){Lo(Fd,function(){var f=Ro(ap,Fd);return new bp(null,null,null,f)});var c=Oo(ep,Ed);a=ti(null,a);for(var e=0;e<a.length;e++)ns.push(new ms(a[e],b,c))});B("gsites.HoverPopupMenu.setSiteDropdownMenusFocusable",function(a){for(var b=0;b<ns.length;b++)ns[b].bi(a)});var os=function(){};os.prototype.bx=function(){var a=N(Dd),b=vi("sites-gears-button-icon");a&&b&&(b=new vp(b,null,cr.K()),b.F(a),a=b.ja(),this.ex(a))};
os.prototype.ex=function(a){var b=webspace.user.sessionIndex;this.fd(a,"sites-view-page-help",Ce(ps,"more-actions-btn","viewPage",b));this.fd(a,"sites-help",Ce(ps,Dd,document.URL,b));var c=Xr(webspace.baseUri,"/system/app/pages/meta/dashboard/userSettings");this.fd(a,"sites-user-settings",function(){uh(window.location,c)});this.fd(a,"googleadmin-enabled-link",function(){document.cookie="JOT_GA=false; path=/";window.location.reload(!0)});this.fd(a,"googleadmin-disabled-link",function(){document.cookie=
"JOT_GA=true; path=/";window.location.reload(!0)});var e=Xr(webspace.baseUri,"/system/pages/siteAdminTool");this.fd(a,"sites-admin-page",function(){uh(window.location,e)});var f=Xr(webspace.baseUri,"/system/app/pages/meta/dashboard/domainAdminTool");this.fd(a,"sites-domain-admin-page",function(){uh(window.location,f)});this.fd(a,"sites-internal-feedback",function(){window.open("http://sites.google.com/a/google.com/JotSpot_Help/")})};os.prototype.fd=function(a,b,c){(a=a.Jg(b))&&R(a,ib,c)};
B("sites.util.GearsMenu",os);var ps=function(a,b,c){qr(a,b||"viewPage",c)};var qs=function(a,b){O.call(this);this.Gx=!!a;(this.Ax=!!b)||(new os).bx();this.Gx&&this.hx()};w(qs,O);
qs.prototype.hx=function(){if(window.gbar){var a=window.gbar.qfae,b=window.gbar.qfgf;if(a&&b){this.Of=b();this.il=this.Of.elements.scope;this.jd=this.Of.elements.q;R(this.Of,Hd,A(function(g){this.pp()||g.preventDefault()},this));var c=new gp;Lf(rs,function(g,h){c.ab(new bp(g,h))});b=new xp(null,c,new cr);var e=Ci(n,["sites-search-scope-selector",mc]);b.Mq(!1);b.VA(!0);b.render(e);var f=en(this.il);b.setValue(f);R(b,Fb,A(this.vw,this));a(e)}}};
qs.prototype.vw=function(a){a=a.target.ec().Kd;var b=this.il,c=b.type;switch(typeof c===u&&c.toLowerCase()){case Hb:case "radio":b.checked=a;break;case "select-one":b.selectedIndex=-1;if(typeof a===u)for(var e=0;c=b.options[e];e++)if(c.value==a){c.selected=!0;break}break;case vd:c=a;typeof c===u&&(c=[c]);for(var f=0;e=b.options[f];f++)if(e.selected=!1,c)for(var g,h=0;g=c[h];h++)e.value==g&&(e.selected=!0);break;default:b.value=null!=a?a:""}this.jd.placeholder=rs[a];this.pp()&&this.Of.submit()};
qs.prototype.pp=function(){var a=en(this.jd);return typeof a===u&&!vf(a)};B("sites.util.OneGoogle",qs);var rs={my:"Search my sites",all:"Search all sites"};qs.prototype.Of=null;qs.prototype.il=null;qs.prototype.jd=null;var ss=function(){O.call(this);this.Ca=vi("sites-admin-content-pane")||vi("goog-ws-dash-main")||N("sites-chrome-everything-scrollbar")||N(Cd);this.Ml=vi("sites-admin-sidebar-wrapper");this.Oo=vi("sites-system-edit-header")||vi("sites-header-divider");this.co=vi("sites-adminfooter")||vi("sites-dash-footer");var a=new Nr(window);R(a,sd,A(this.resize,this))};w(ss,O);ss.prototype.KA=function(a){this.nu=!!a};
ss.prototype.fC=function(a){a=yi().height-a;this.Ca&&($l(this.Ca,zc,a+qd),$l(this.Ca,"overflow-y","auto"));this.Ml&&($l(this.Ml,zc,a+qd),$l(this.Ml,"overflow-y","auto"))};ss.prototype.resize=function(){var a=0;this.Oo&&(a+=sm(mm,this.Oo).height);!this.nu&&this.co&&(a+=sm(mm,this.co).height);this.fC(a)};y(ss);B("sites.util.PageContentResizer.getInstance",ss.K);ss.prototype.setExcludeFooter=ss.prototype.KA;ss.prototype.resize=ss.prototype.resize;var us=function(a){O.call(this);this.wg=a;this.T=""+ts++};w(us,O);v=us.prototype;v.zv=function(){var a=x.___jsl.h;return(new ql(webspace.codeembeds.outerIframeSrc)).Vb("jsh",a).Vb("ceiid",this.T).toString()};v.ov=function(){var a=x.___jsl.h;return(new ql(webspace.codeembeds.innerIframeSrc)).Vb("jsh",a).toString()};v.nf=function(){return"jot-code-embed-sandbox-"+this.T};v.wh=function(a){return a+":"+this.T};
v.bA=function(){var a=ig("The iframe URL is provided by the server and does not contain any part controlled by the user. Similar usage in Atari: cr/191608846.");var b=this.zv();Ne(hg(a),cd);D(!vf(hg(a)),dd);a=xg(b);b=Ci(Pa,{id:this.nf(),name:this.nf(),className:"site-code-embed-sandbox",sandbox:"allow-scripts allow-popups allow-forms allow-same-origin allow-popups-to-escape-sandbox",scrolling:"no",frameborder:"0"});uf(b,Oa);b.src=wg(a).toString();Hi(this.wg);Fi(this.wg,b);gapi.rpc.setup(this.nf());
gapi.rpc.register(this.wh(nd),A(this.qw,this),A(this.Ur,this));gapi.rpc.register(this.wh(Ec),A(this.fw,this),A(this.Ur,this))};v.qw=function(){gapi.rpc.call(this.nf(),"initInnerIframe",void 0,this.ov(),this.op())};v.fw=function(){var a=Mr(this.wg,"code");gapi.rpc.call(this.nf(),"setInnerIframeCode",void 0,a,this.op())};v.op=function(){var a=Mr(this.wg,"scrollable");return Eh(a).toLowerCase()==Rd};
v.Ur=function(a){a=a.origin;var b=webspace.codeembeds.outerIframeSrc.match(cl),c=b[1],e=b[3];b=b[4];var f="";c&&(f+=c+":");e&&(f=f+"//"+e,b&&(f+=":"+b));return a==f};v.o=function(){gapi.rpc.unregister(this.wh(nd));gapi.rpc.unregister(this.wh(Ec));O.prototype.o.call(this)};var ts=0,vs=ag(function(){return!!(new oi(document)).createElement(Pa).sandbox});var ws=function(){this.el=[]};ws.prototype.init=function(){JOT_addListener(Ob,A(this.rw,this));this.ap(!0)};ws.prototype.rw=function(){Vj(this.el);this.el=[];this.ap(!1)};
ws.prototype.ap=function(a){var b=ui("site-code-embed-container");if(b.length)if(!vs()&&a)Wm(Xp('To see embedded content, update to the latest version of your browser.<a target="_blank" href="https://support.google.com/a/answer/33864" style="margin-left: 6px">Learn more</a>').toString()),Xm(1E4);else{var c=A(this.ox,this);Pr(function(){gapi.load("gapi.rpc",function(){E(b,c)})})}};
ws.prototype.ox=function(a){a=new us(a);this.el.push(a);try{a.bA()}catch(b){console.error("Failed to run code embed.",b)}};var xs=null;B("sites.codeembed.init",function(){if(!xs){var a=new ws;xs=a;a.init()}});var ys=function(a,b,c,e,f,g,h,k,l,m){this.Ka=a;this.Hd=b;this.oi=c;this.Xb=e;this.ke=f;this.Gf=g;this.na=h;this.Wh=k;this.Pd=l;this.ri=m};ys.prototype.getKey=function(){return this.Hd};ys.prototype.Ug=function(){return this.na};
var As=function(a){var b=a.cb;b=(b=b&&"composed"in b&&b&&"composedPath"in b&&b.composed&&b.composedPath())&&0<b.length?b[0]:a.target;return(new zs).keyCode(a.keyCode||0).key(a.key||"").shiftKey(!!a.shiftKey).altKey(!!a.altKey).ctrlKey(!!a.ctrlKey).metaKey(!!a.metaKey).target(a.target).aA(b).sz(function(){return a.preventDefault()}).GB(function(){return a.stopPropagation()}).vt()},zs=function(){this.Ka=null;this.Hd="";this.ri=this.Pd=this.Wh=this.na=this.Gf=this.ke=this.Xb=this.oi=null};v=zs.prototype;
v.keyCode=function(a){this.Ka=a;return this};v.key=function(a){this.Hd=a;return this};v.shiftKey=function(a){this.oi=a;return this};v.altKey=function(a){this.Xb=a;return this};v.ctrlKey=function(a){this.ke=a;return this};v.metaKey=function(a){this.Gf=a;return this};v.target=function(a){this.na=a;return this};v.aA=function(a){this.Wh=a;return this};v.sz=function(a){this.Pd=a;return this};v.GB=function(a){this.ri=a;return this};
v.vt=function(){return new ys(Me(this.Ka),this.Hd,Qe(this.oi),Qe(this.Xb),Qe(this.ke),Qe(this.Gf),D(this.na),D(this.Wh),Oe(this.Pd),Oe(this.ri))};var Ds=function(a){S.call(this);this.dj=this.Ve={};this.xp=0;this.Qv=Wf(Bs);this.NB=Wf(Cs);this.vm=!0;this.dt=this.it=!1;this.uy=!0;this.gt=!1;this.Ni=null;this.nx(a)},Es;C(Ds,S);var Fs=function(a){this.Hl=a||null;this.next=a?null:{}},Bs=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],Cs=["color","date","datetime","datetime-local","email","month",t,"password","search","tel","text","time","url","week"];v=Ds.prototype;v.tA=function(a){this.vm=a};
v.Az=function(a,b){Gs(this.Ve,this.fp(1,arguments),a)};v.Pr=function(a){Hs(this.Ve,this.fp(0,arguments))};v.fp=function(a,b){if(typeof b[a]===u)a=Xe(Is(b[a]),function(f){Me(f.keyCode,"A non-modifier key is needed in each stroke.");return Js(f.key||"",f.keyCode,f.modifiers)});else{var c=b,e=a;Array.isArray(b[a])&&(c=b[a],e=0);for(a=[];e<c.length;e+=2)a.push(Js("",c[e],c[e+1]))}return a};v.bC=function(){this.Ve={}};v.o=function(){Ds.i.o.call(this);this.bC();this.It()};
var Is=function(a){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();a=a.split(" ");for(var b=[],c,e=0;c=a[e];e++){var f=c.split("+"),g=null,h=null;c=0;for(var k,l=0;k=f[l];l++){switch(k){case "shift":c|=1;continue;case "ctrl":c|=2;continue;case "alt":c|=4;continue;case "meta":c|=8;continue}null!==h&&Le("At most one non-modifier key can be in a stroke.");f=void 0;g=k;if(!Es){h={};for(f in ar)h[ar[f]]=gn(parseInt(f,10));Es=h}h=Es[g];Me(h,"Key name not found in goog.events.KeyNames: "+
k);g=k;break}b.push({key:g,keyCode:h,modifiers:c})}return b};v=Ds.prototype;v.nx=function(a){this.sb=a;R(this.sb,Pc,this.xo,void 0,this);R(this.sb,Kd,this.Go,void 0,this);Qh&&(R(this.sb,Qc,this.Io,void 0,this),R(this.sb,Ld,this.Ko,void 0,this));R(this.sb,Rc,this.yo,void 0,this);R(this.sb,Md,this.Ho,void 0,this)};v.yo=function(a){this.Wg(As(a))};v.Ho=function(a){this.Wg(a.getData())};v.Wg=function(a){I&&this.ew(a);Qh&&this.Aw(a)};v.ew=function(a){32==this.Ni&&32==a.Ka&&(0,a.Pd)();this.Ni=null};
v.nk=function(a){return Qh&&a.ke&&a.Xb};v.Io=function(a){this.Jo(As(a))};v.Ko=function(a){this.Jo(a.getData())};v.Jo=function(a){32<a.Ka&&this.nk(a)&&(this.mp=!0)};v.Aw=function(a){!this.mp&&this.nk(a)&&this.ad(a,!0)};v.It=function(){zk(this.sb,Pc,this.xo,!1,this);zk(this.sb,Kd,this.Go,!1,this);Qh&&(zk(this.sb,Qc,this.Io,!1,this),zk(this.sb,Ld,this.Ko,!1,this));zk(this.sb,Rc,this.yo,!1,this);zk(this.sb,Md,this.Ho,!1,this);this.sb=null};
var Gs=function(a,b,c){var e=b.shift();E(e,function(f){if((f=a[f])&&(0==b.length||f.Hl))throw Error("Keyboard shortcut conflicts with existing shortcut");});b.length?E(e,function(f){f=f.toString();var g=new Fs;f=f in a?a[f]:a[f]=g;g=b.slice(0);Gs(D(f.next,"An internal node must have a next map"),g,c)}):E(e,function(f){a[f]=new Fs(c)})},Hs=function(a,b){var c=b.shift();E(c,function(e){var f=a[e];f&&(0==b.length?f.Hl&&delete a[e]:f.next&&(Hs(f.next,b.slice(0)),Pf(f.next)&&delete a[e]))})};
Ds.prototype.ro=function(a,b){for(var c=0;c<b.length;c++){var e=a[b[c]];if(e)return e}};var Js=function(a,b,c){c=c||0;b=["c_"+b+"_"+c];""!=a&&b.push("n_"+a+"_"+c);return b};v=Ds.prototype;v.xo=function(a){this.ad(As(a))};v.Go=function(a){this.ad(a.getData())};
v.ad=function(a,b){if(this.rk(a))if(!b&&this.nk(a))this.mp=!1;else{b=gn(a.Ka);var c=a.getKey();c=Js(c,b,(a.oi?1:0)|(a.ke?2:0)|(a.Xb?4:0)|(a.Gf?8:0));var e=this.ro(this.dj,c);e&&!this.Lw()||this.rl(this.Ve);(e=this.ro(this.dj,c))&&e.next&&this.rl(e.next);e&&(e.next?(0,a.Pd)():(this.rl(this.Ve),this.vm&&(0,a.Pd)(),this.it&&(0,a.ri)(),c=Ne(e.Hl,"A terminal node must have a string shortcut identifier."),e=this.dispatchEvent(new Ks("shortcut",c,a.Ug())),(e&=this.dispatchEvent(new Ks("shortcut_"+c,c,a.Ug())))||
(0,a.Pd)(),I&&(this.Ni=b)))}};
v.rk=function(a){var b=a.Ka;if(""!=a.getKey()){var c=a.getKey();if("Control"==c||"Shift"==c||"Meta"==c||"AltGraph"==c)return!1}else if(16==b||17==b||18==b)return!1;c=a.Wh;var e=c.tagName==Ya||c.tagName==Qa||c.tagName==Da||c.tagName==Ua,f=!e&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);return!e&&!f||this.Qv[b]||this.dt?!0:f?!1:this.uy&&(a.Xb||a.ke||a.Gf)?!0:c.tagName==Qa&&this.NB[c.type]?13==b:c.tagName==Qa||c.tagName==Da?this.gt?!0:32!=b:!1};
v.Lw=function(){return 1500<=De()-this.xp};v.rl=function(a){this.dj=a;this.xp=De()};var Ks=function(a,b,c){ck.call(this,a,c);this.identifier=b};C(Ks,ck);var Ls=function(a){this.XB=a};Ls.prototype.toString=function(){return this.XB};var Ms=new Ls("visibility"),Ns=new Ls("selection"),Os=new Ls(Ud),Ps=new Ls(Yb),Qs=new Ls(Fb),Rs=new Ls(ib);var Ss=function(a){this.data=a};var Ts=function(a,b,c){this.newValue=b;this.oldValue=c};var Us=function(a){O.call(this);this.Hd=1;this.Kh=[];this.Rh=0;this.ib=[];this.nc={};this.nt=!!a};C(Us,O);Us.prototype.subscribe=function(a,b,c){var e=this.nc[a];e||(e=this.nc[a]=[]);var f=this.Hd;this.ib[f]=a;this.ib[f+1]=b;this.ib[f+2]=c;this.Hd=f+3;e.push(f);return f};Us.prototype.unsubscribe=function(a,b,c){if(a=this.nc[a]){var e=this.ib;if(a=cf(a,function(f){return e[f+1]==b&&e[f+2]==c}))return this.nd(a)}return!1};
Us.prototype.nd=function(a){var b=this.ib[a];if(b){var c=this.nc[b];0!=this.Rh?(this.Kh.push(a),this.ib[a+1]=se):(c&&ff(c,a),delete this.ib[a],delete this.ib[a+1],delete this.ib[a+2])}return!!b};
Us.prototype.Me=function(a,b){var c=this.nc[a];if(c){for(var e=Array(arguments.length-1),f=1,g=arguments.length;f<g;f++)e[f-1]=arguments[f];if(this.nt)for(f=0;f<c.length;f++){var h=c[f];Vs(this.ib[h+1],this.ib[h+2],e)}else{this.Rh++;try{for(f=0,g=c.length;f<g;f++)h=c[f],this.ib[h+1].apply(this.ib[h+2],e)}finally{if(this.Rh--,0<this.Kh.length&&0==this.Rh)for(;c=this.Kh.pop();)this.nd(c)}}return 0!=f}return!1};var Vs=function(a,b,c){pj(function(){a.apply(b,c)})};
Us.prototype.clear=function(a){if(a){var b=this.nc[a];b&&(E(b,this.nd,this),delete this.nc[a])}else this.ib.length=0,this.nc={}};Us.prototype.Cb=function(a){if(a){var b=this.nc[a];return b?b.length:0}a=0;for(b in this.nc)a+=this.Cb(b);return a};Us.prototype.o=function(){Us.i.o.call(this);this.clear();this.Kh.length=0};var Ws=function(a){O.call(this);this.Rd=new Us(a);this.Hb(this.Rd)};C(Ws,O);v=Ws.prototype;v.subscribe=function(a,b,c){return this.Rd.subscribe(a.toString(),b,c)};v.unsubscribe=function(a,b,c){return this.Rd.unsubscribe(a.toString(),b,c)};v.nd=function(a){return this.Rd.nd(a)};v.Me=function(a,b){return this.Rd.Me(a.toString(),b)};v.clear=function(a){this.Rd.clear(void 0!==a?a.toString():void 0)};v.Cb=function(a){return this.Rd.Cb(void 0!==a?a.toString():void 0)};var Xs=function(a,b){O.call(this);this.T=a;this.ef={};this.Kb=b?Sf(b):{};this.mx=Sf(this.Kb);this.Xq();this.Ne=new Us;this.Wd=new Ws;this.Ki=1E6};C(Xs,O);v=Xs.prototype;v.Xq=function(){void 0===this.Kb["keys-enabled"]&&(this.Kb["keys-enabled"]=!0);this.isEnabled()||(this.ef["default"]=!0);void 0===this.Kb[Qd]&&(this.Kb[Qd]=!0)};v.o=function(){Xs.i.o.call(this);this.Ne.dispose();this.Wd.dispose();this.Kb={}};v.getId=function(){return this.T};v.isEnabled=function(){return!!this.getProperty(Yb)};
v.ma=function(a,b){b=b||"default";var c=!0;if(a){delete this.ef[b];for(var e in this.ef){c=!1;break}}else this.ef[b]=!0,c=!1;this.setProperty(Yb,c)};v.isVisible=function(){return!!this.getProperty(Wd)};v.D=function(a){this.setProperty(Wd,a)};v.qp=function(){return!!this.getProperty(wd)};v.Tf=function(a){this.setProperty(wd,a)};v.dc=function(){return this.getProperty("category")||""};v.wv=function(){return this.getProperty("node-label")||null};v.Jj=function(){return this.getProperty(Sc)||""};
v.sv=function(){return this.getProperty("long-label")||""};v.Cj=function(){var a=this.sv();return a?a:(a=this.wv())?Zi(a):this.Jj()};v.ra=function(){return this.getProperty("keys")};v.getValue=function(){return this.getProperty(Ud)};v.setValue=function(a){this.setProperty(Ud,a)};v.getProperty=function(a){return this.Kb[a]};
v.setProperty=function(a,b){"keys"==a&&null!=b&&(D(Array.isArray(b),"Key property should be an array, but got %s instead",b),D(0==b.length||typeof b[0]===u,"Key property should be an array of strings, but got %s instead",b));var c=this.Kb[a];if(b!==c){this.Kb[a]=b;this.Wd.Me(Qs,new Ts(a,b,c));var e=Ys(a);e&&this.Wd.Me(e,new Ts(a,b,c))}};v.Iv=function(){var a=this.getProperty("synonyms");if(a){a=a.split("|");for(var b=a.length-1;0<=b;b--)a[b]&&(a[b]=wf(a[b])),a[b]||ef(a,b);return a}return[]};
v.vj=function(a,b){if(this.isEnabled()){var c=this.Kb.selected,e=this.Kb[Qd];null!=c&&e&&this.Tf(!c);this.Ne.Me(ib,a,b);this.Wd.Me(Rs,new Ss(a,b))}};v.subscribe=function(a,b,c){return this.Ne.subscribe(a,b,c)};v.IB=function(a,b,c){return this.Wd.subscribe(a,b,c)+this.Ki};v.unsubscribe=function(a,b,c){return this.Ne.unsubscribe(a,b,c)};v.nd=function(a){return a>this.Ki?this.Wd.nd(a-this.Ki):this.Ne.nd(a)};v.reset=function(){this.Ne.clear();this.Wd.clear();this.Kb=Sf(this.mx);this.ef={};this.Xq()};
var Ys=function(a){switch(a){case Wd:return Ms;case wd:return Ns;case Ud:return Os;case Yb:return Ps;default:return null}};var Zs=F("Macintosh")||Ih();var $s,at,bt,ct,et=function(a,b){D(Array.isArray(a));a=a[0];var c={},e;for(e in dt)a.match(new RegExp("-"+e,"gi"))||(c[e]=dt[e]);Zs&&(b=!b,a.match(b?/(Meta|Ctrl)\+.(\+.*)?$/:/Meta\+.(\+.*)?$/)?(a=a.replace(/Meta\+/g,"\u2318"),b&&(a=a.replace(/Ctrl\+/g,"\u2318"))):(a=a.replace(/Meta\+/g,"\u2318+"),b&&(a=a.replace(/Ctrl\+/g,"\u2318+"))),a=a.replace(/(?=\w*Alt(?!Gr))(\w+)/g,"Option"));$s||($s={Ctrl:"Ctrl",Shift:"Shift",Alt:"Alt",Option:"Option"});at||(at={backspace:"Backspace",tab:"Tab",enter:"Enter",
pause:"Pause","caps-lock":"Caps-Lock",esc:"Esc",space:"Space","pg-up":"Pg-Up","pg-down":"Pg-Down",end:"End",home:"Home",insert:"Insert","delete":"Delete"});b=new RegExp(Object.keys(c).join("|"),"gi");bt||(bt=new RegExp(Object.keys($s).join("|"),"g"));ct||(ct=new RegExp(Object.keys(at).join("|"),"gi"));return a.replace(b,function(f){return c[f.toLowerCase()]}).replace(bt,function(f){return $s[f]}).replace(ct,function(f){return at[f.toLowerCase()]})},dt={"close-square-bracket":"]",dash:"-",down:"\u2193",
equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};var ft=function(a){var b=a.Vo;a=a.Wo;return Xp(wa+Y("apps-action-shortcut-icon")+" "+Y(mc)+'" style="width: '+Y(rq(a))+"px; height: "+Y(rq(a))+'px"><div class="'+Y("apps-action-shortcut-img")+" "+Y(b)+'" aria-hidden="true">&nbsp;</div></div>')};var gt=function(a,b){var c=a.hj,e=a.Il;a=a.Ow;c=wa+Y("apps-shortcutshelppopup-container")+fa+Y("apps-shortcutshelppopup-header")+'" role="presentation"><div><div class="'+Y("apps-shortcutshelppopup-title-container")+" "+Y(tb)+'"><h2 id="'+Y(c)+ba+Y("apps-shortcutshelppopup-dialog-title")+d;c=c+'Keyboard shortcuts</h2><input type="text" class="'+(Y(vb)+" "+Y("jfk-textinput")+'" role="combobox" aria-autocomplete="list" placeholder="');c+="Search all shortcuts".replace(fq,gq);c+='"/><div class="'+Y(wb)+
" "+Y(Hc)+" "+Y(Gc)+'" tabindex="0"><div class="'+Y("apps-shortcutshelppopup-input-button-img")+d+ft({Vo:aq(""+(Zp(a,"white")?rq("apps-action-shortcut-search"):rq("apps-action-shortcut-search-white"))),Wo:21},b)+'</div></div></div><div class="'+Y("apps-shortcutshelppopup-tearoff-link-container")+" "+Y(tb)+ea+Y(pq(e))+ba+Y("apps-shortcutshelppopup-tearoff-link")+" "+Y(ub)+d;c=c+'View all shortcuts in Help Center</a></div></div></div><div class="'+(Y("apps-shortcutshelppopup-search-banner")+d+Eq({cn:yb,
style:0,Cr:0,content:$p(wa+Y("apps-shortcutshelppopup-reset-search-button-icon")+d+ft({Vo:aq(""+(Zp(a,"black")?rq("apps-action-shortcut-back-white"):rq("apps-action-shortcut-back"))),Wo:21},b)+sa)},b)+'<h3 class="'+Y(zb)+'"></h3></div></div>');return Xp(c)};gt.lc="apps.action.soy.legacyshortcutshelpcontent.container";
var ht=function(a){var b=a.groups,c=a.JB;a=(a.hh?wa+Y(xb)+da:"")+'<div tabindex="-1" class="'+Y("apps-shortcutshelppopup-result-container")+'"><table cellpadding="0" tabindex="0" class="'+Y(ob)+'" aria-label="'+Y(c)+'"><tbody>';c=b.length;for(var e=0;e<c;e++){var f=b[e];a+=f.title?Aa+Y("apps-shortcutshelppopup-content-header")+(0==e?" "+Y("apps-shortcutshelppopup-content-header-first"):"")+d+Yp(f.title)+ta:"";f=f.Jb;for(var g=f.length,h=0;h<g;h++){var k=f[h];a+=za+Y("apps-shortcutshelppopup-shortcut-desc")+
" "+Y(pb)+d+Yp(k.description)+va+Y("apps-shortcutshelppopup-shortcut-key")+" "+Y(pb)+d+Yp(k.keys)+ua}}return Xp(a+"</tbody></table></div>")};ht.lc="apps.action.soy.legacyshortcutshelpcontent.content";
var it=function(a){var b=a.hj,c=a.Il,e=a.Lt;a=a.hh;b=wa+Y("CSS_SHORTCUTS_HELP_POPUP_CONTAINER")+" "+Y("jfk-scrollbar-dark")+ia+Y(Fa)+" "+Y("CSS_SHORTCUTS_HELP_POPUP_HEADER")+'"><tr><td class="'+Y("CSS_SHORTCUTS_HELP_POPUP_TITLE")+" "+Y(Ia)+'" id="'+Y(b)+d;b=b+'Keyboard shortcuts</td><td class="'+(Y("CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_CONTAINER")+" "+Y(Ia)+ea+Y(pq(c))+ba+Y(Ja)+" "+Y(ub)+d);b=b+'View all shortcuts in Help Center</a> | <span class="'+(Y("CSS_SHORTCUTS_HELP_CLOSE_PLACEHOLDER")+'"></span></td></tr></table>'+
(a?wa+Y(xb)+da:"")+'<table cellpadding="0" class="'+Y(Fa)+" "+Y("CSS_SHORTCUTS_HELP_POPUP_CONTENT")+'"><tr>');c=e.length;for(a=0;a<c;a++){var f=e[a];b+='<td class="'+Y(Ga)+ia+Y(Fa)+'"><tbody>';for(var g=f.length,h=0;h<g;h++){var k=f[h];b+='<tr><th class="'+Y(Ha)+'"></th><th class="'+Y(Ha)+'"><h3>'+Yp(k.title)+ta;k=k.Jb;for(var l=k.length,m=0;m<l;m++){var p=k[m];b+=za+Y("CSS_SHORTCUTS_HELP_POPUP_KEY")+" "+Y(Ga)+d+Yp(p.keys)+va+Y("CSS_SHORTCUTS_HELP_POPUP_DESCRIPTION")+" "+Y(Ga)+d+Yp(p.description)+
ua}}b+="</tbody></table></td>"}return Xp(b+"</tr></table></div>")};it.lc="apps.action.soy.legacyshortcutshelpcontent.legacyBanner";var lt=function(a){a=Xe(a,function(b){return Xe(b,jt)});kt(a);return a},jt=function(a){var b=a.title;a=Xe(a.Jb,function(c){if(Array.isArray(c)){var e=ho.K().Vc();e=new Xs(e);e.setProperty("keys",null==c[0]||Array.isArray(c[0])?c[0]:[c[0]]);e.setProperty(Sc,c[1]);c[2]&&e.setProperty(hc,!0);e.setProperty("category",b);e.setProperty("synonyms",b);c=e}return c});return{title:b,Jb:a}},kt=function(a){for(var b=0;b<a.length;++b)for(var c=a[b],e=0;e<c.length;++e){var f=c[e],g=f.title;f=f.Jb;for(var h=0;h<
f.length;++h){var k=f[h],l=k.dc();D(l,"Action "+k.getId()+" should have a CATEGORY property");D(g==l,"For action "+k.getId()+" category should be the same from data and from action")}}};var mt=function(a,b){return b.dv()-a.dv()};var nt=function(a){var b=a.group;a='<table cellpadding="-1" class="'+Y("apps-actiondatawidget-content")+" "+Y(jc)+d+(b.title?Aa+Y("apps-actiondatawidget-content-header")+d+Yp(b.title)+ta:"");b=b.Jb;for(var c=b.length,e=0;e<c;e++){var f=b[e];a+=za+Y("apps-actiondatawidget-shortcut-desc")+Y(aa)+d+Yp(f.description)+va+Y("apps-actiondatawidget-shortcut-key")+Y(aa)+d+Yp(f.keys)+ua}return Xp(a+"</table>")};nt.lc="apps.action.shortcut.soy.actiongroupitem.content";
var ot=function(a){var b=a.Am,c=a.text,e=a.jz,f=a.Jf;a=a.hu?"apps-actiondatawidget-override-keys-on":"apps-actiondatawidget-override-keys-off";var g=e?"apps-actiondatawidget-key-extra-padding":"";b=(c?xa+Y(b)+ba+Y(g)+d+tq(1,Yp(c))+"</span>":"")+(e?ya+Y(a)+d+tq(1,Yp(e))+ya+Y(nb)+'" data-overridden-browser-behavior-msg="'+Y(f)+'"><svg class="'+Y("apps-actiondatawidget-override-info-svg")+'"><path d="M8,0 C3.57647059,0 0,3.57647059 0,8 C0,12.4235294 3.57647059,16 8,16 C12.4235294,16 16,12.4235294 16,8 C16,3.57647059 12.4235294,0 8,0 L8,0 Z M8,14.5 C4.46323529,14.5 1.5,11.5367647 1.5,8 C1.5,4.46323529 4.46323529,1.5 8,1.5 C11.5367647,1.5 14.5,4.46323529 14.5,8 C14.5,11.5367647 11.5367647,14.5 8,14.5 L8,14.5 Z" transform="translate(1 1)"/><path d="M10,13 L8,13 L8,11 L10,11 L10,13 L10,13 Z M10,10 L8,10 L8,5 L10,5 L10,10 L10,10 Z" transform="rotate(180 9 9)"/></svg></span></span>':
"");return Xp(b)},pt=function(a){a=a.Jf;return Xp(ya+Y("apps-actiondatawidget-override-browser-behavior-msg")+'"> '+Yp(a)+"</span>")};var rt=function(a,b,c,e,f,g){g=void 0===g?!1:g;X.call(this,null,qt.K());this.qm=a;this.Ps=!g&&b||null;this.Sn=!!c;this.Oz=!!e;this.th=!!f};w(rt,X);rt.prototype.dc=function(){return this.qm.title};
var st=function(){return!Mh&&Hm?"Chrome":Im?"Safari":Dm?"Firefox":H?"Internet Explorer":Nh?Na:null},ut=function(a,b,c,e,f){var g=Xe(a.Jb,function(h){return tt(h,b)});c&&E(c,function(h){var k=Ue(a.Jb,h.action);-1!=k?g[k]=tt(h.action,!0,h.kz,e,f,h.Jf):g.push(tt(h.action,!0,h.kz,e,f,h.Jf))});return{title:a.title,Jb:g}},tt=function(a,b,c,e,f,g){var h=a.Cj();var k="";a.ra()&&!f&&(k=vt(a,jf(a.ra())));f=k.replace(/pg-up/i,"page up");f=f.replace(/pg-down/i,"page down");f=f.replace("`","backtick");f=f.replace("~",
"tilde");f=f.replace("-","hyphen");f=f.replace("_","underscore");f=f.replace("=","equals");f=f.replace("[","left bracket");f=f.replace("]","right bracket");f=f.replace(";",xd);f=f.replace("'","apostrophe");f=f.replace(":","colon");f=f.replace(",","comma");f=f.replace(".","period");f=f.replace("/","slash");f=f.replace("\\","backslash");f=f.replace(dt.up,"up");f=f.replace(dt.down,"down");f=f.replace(dt.left,Uc);f=f.replace(dt.right,"right");b?c?(a=vt(a,c),e=ot({text:k,Am:f,jz:a,hu:e&&!!st(),Jf:g})):
e=ot({text:k,Am:f}):(e=k,e=Xp(xa+Y(f)+ba+Y("CSS_SHORTCUTS_HELP_POPUP_KEY_MNEMONIC")+d+tq(1,Yp(e))+"</span>"));return{keys:e,description:h}},vt=function(a,b){b=Xe(b,function(c){return et([c],!!a.getProperty(hc))});return b.join(" or ")},qt=function(){};w(qt,Po);qt.prototype.j=function(a){Te(a,rt);var b=Cq(nt,{group:ut(a.qm,!0,a.Ps,a.Sn,a.Oz)});this.bt(a,b);return b};
qt.prototype.bt=function(a,b){var c=a.s(),e=st();b=c.Hj(nb,b);E(b,A(function(f){D(f);var g={ut:e,Jf:f.dataset.overriddenBrowserBehaviorMsg,oB:!!e,ju:a.Sn,Ox:a.th},h=g.ut,k=g.oB,l=g.ju,m=g.Ox,p=wa+Y("apps-actiondatawidget-override-tooltip-text")+d;k?l?m?p+=Ka:(g="The "+(Yp(h)+(" browser"+(pt(g,void 0)+" keyboard shortcut was overridden by Sheets"))),p+=g):m?p+=Ka:(g="This keyboard shortcut is currently used by "+(Yp(h)+(" browser for"+pt(g,void 0))),p+=g):p+="Keyboard override is not available with the current browser.\nTo enable this feature, change to Chrome, Firefox, IE/Edge or Safari";
p=Xp(p+sa).Gr();Sq(f,p,void 0);p=e?a.th?"apps-actiondatawidget-override-info-icon-tooltip-legacy":"apps-actiondatawidget-override-info-icon-tooltip":"apps-actiondatawidget-override-info-icon-tooltip-unsupported";vf(Eh(p))||f.setAttribute(Sb,p);f.setAttribute(Rb,"t,c");f.setAttribute(Ub,-6)},this))};y(qt);var wt=function(a){O.call(this);this.ie=a;this.$=new Fk(this);this.$.listen(a,Cc,this.Sy);this.$.listen(a,Zb,this.Oy);this.$.listen(a,kb,this.Hy);this.$.listen(a,Bc,this.Ry);this.Dg(!0)};C(wt,O);v=wt.prototype;v.Af=null;v.fl=null;v.jj=!1;v.Oy=function(a){this.jj?a.preventDefault():this.Af=a.target};v.Sy=function(){this.Dg()};v.Hy=function(){null!=this.fl?(this.ie.g().scrollTop=this.fl,this.Dg(!1)):this.Dg(!0)};v.Ry=function(a){a.target==this.ie&&(this.Af=null,this.fl=this.ie.g().scrollTop)};
v.Dg=function(a){var b=this.ie.Bc();if(this.ie.isVisible()&&b&&b!=this.Af){var c=this.ie.g();nm(b.g(),c,a);this.KB();this.Af=null}};v.KB=function(){this.jj=!0;al(function(){this.jj=!1},0,this)};v.o=function(){wt.i.o.call(this);this.$.dispose();this.Af=null};var xt=function(a,b,c,e,f){Yo.call(this,Vd,No.K(),b);this.xa=a;this.Ye=e||null;this.Hx=c||null;this.th=!!f;this.qn(!1,!1);this.qk=!0;this.Re=null;this.lg=""};w(xt,Yo);v=xt.prototype;v.j=function(){this.kc(this.s().j(n,"apps-actiondatawidget"));this.wn(!0);Xi(this.N(),!0);var a=new wt(this);this.Hb(a)};v.ya=function(){return!1};v.hb=function(a){Yo.prototype.hb.call(this,a);Yn(this.N(),mb)};
v.qn=function(a,b){for(var c=0;c<this.xa.length;c++){var e=this.xa[c].title;e=this.Ye&&this.Ye[e]?new rt(this.xa[c],this.Ye[e],this.Hx(),a,this.th,b):new rt(this.xa[c]);this.xb(e)}};v.H=function(){Yo.prototype.H.call(this);this.C().listen(this.N(),"scroll",this.gz).listen(this.N(),Rc,this.Wg)};v.Wg=function(a){9==a.keyCode&&V(this.N(),mb)};v.rA=function(a,b,c,e,f,g){this.xa=a;this.lg=c||"";this.Vk(!0);this.qn(e,g);this.wn(b);f||(this.N().scrollTop=0);Mn(this.N(),c||Sa)};
v.wn=function(a){this.Na(A(function(b){b.j();this.N().appendChild(b.N())},this));a&&0<this.Oa()&&(a=this.Ha(this.Oa()-1),V(a.N(),this.Ye&&!Pf(this.Ye)?"apps-actiondatawidget-last-item-override-enabled":"apps-actiondatawidget-last-item"),a=a.N().insertRow(-1),V(a,"apps-actiondatawidget-last-row"))};
v.iA=function(a){for(var b=0,c=this.g(),e=0;e<this.Oa();e++){var f=Te(this.Ha(e),rt);if(f.dc()==a){b=f.g().offsetTop;break}}var g=new Nm(c,[0,c.scrollTop],[0,b],Math.max(.3*Math.abs(c.scrollTop-b),500),Tm);this.Re=g;this.Hb(this.Re);this.C().listen(this.Re,"begin",function(){this.qk=!1});this.C().listen(this.Re,"finish",function(){var h=this;setTimeout(function(){h.Re==g&&(h.qk=!0)},100)});this.Re.play()};v.gz=function(){this.qk&&this.dispatchEvent(Ad)};
v.Ov=function(){var a=this.g();if(0<a.scrollTop&&a.scrollHeight<=a.scrollTop+a.clientHeight+1)return Te(this.Ha(this.Oa()-1),rt).dc();for(var b=0;b<this.Oa();b++){var c=Te(this.Ha(b),rt),e=c.N();if(a.scrollTop>=e.offsetTop&&a.scrollTop<e.offsetTop+e.offsetHeight)return c.dc()}return Te(this.Ha(0),rt).dc()};var yt=function(a,b){Ep.call(this,null,null,!1);this.sj=new S;this.Hb(this.sj);a.listen(ib,A(function(){var c=b.value;this.wj(c,c)},this));this.rt(b)};w(yt,Ep);yt.prototype.jl=function(a,b){Ep.prototype.jl.call(this,a,b);this.wj(a.toString(),this.getValue());return!1};yt.prototype.ya=function(a){return 13!=a.keyCode||this.Z.Fw()?Ep.prototype.ya.call(this,a):(a=this.getValue(),this.wj(a,a),!0)};yt.prototype.wj=function(a,b){this.Z.$b();this.sj.dispatchEvent(new zt(a,b))};
var zt=function(a,b){ck.call(this,"a");this.Mx=a;this.px=b};w(zt,ck);var Bt=function(a){X.call(this,a,At.K());this.Dt=a;this.Ea(8,!0);this.ki(ld)};w(Bt,X);Bt.prototype.dc=function(){return this.Dt};var At=function(){};w(At,Po);At.prototype.B=function(){return"apps-navigationwidget-item"};y(At);var Ct=function(a,b){Yo.call(this,Vd,No.K(),b);this.xa=a;this.Iq=0;this.Qt()};w(Ct,Yo);v=Ct.prototype;v.j=function(){this.kc(this.s().j(n,"apps-navigationwidget"));Hn(this.N(),Vc);this.Na(A(function(a){a.j();this.N().appendChild(a.N())},this))};v.Qt=function(){for(var a=0;a<this.xa.length;a++)for(var b=0;b<this.xa[a].length;b++){var c=new Bt(this.xa[a][b].title);this.xb(c)}};
v.H=function(){Yo.prototype.H.call(this);Mn(this.N(),"Navigation menu");var a=new wt(this);this.Hb(a);this.C().listen(this.N(),q,this.Cc)};v.ya=function(a){Yo.prototype.ya.call(this,a);13==a.keyCode&&this.dispatchEvent(zd);return!0};v.$c=function(){this.Ha(this.Iq).Za(!0)};v.Cc=function(){this.dispatchEvent(zd)};v.Fv=function(){return Te(this.Bc(),Bt).dc()};v.YA=function(a){this.Na(A(function(b){var c=b.dc()==a;b.setState(8,c);c&&(this.Iq=this.Be(b))},this))};var Ft=function(a,b){var c=a.MB,e=a.Qx,f=a.enabled;return Xp('<div id="'+Y(a.containerId)+ba+Y("CSS_SHORTCUTS_HELP_POPUP_PREF_CONTAINER")+" "+(f?Y("CSS_SHORTCUTS_HELP_POPUP_PREF_ENABLED"):"")+fa+Y("CSS_SHORTCUTS_HELP_POPUP_PREF_CONTENT")+ha+Y(c)+d+Dt(a,b)+'</span> <span id="'+Y(e)+'" role="link" class="'+Y("CSS_SHORTCUTS_HELP_POPUP_PREF_LINK")+'" tabindex="0">'+Et(a,b)+"</span></div></div>")};Ft.lc="apps.action.shortcut.soy.preferencecomponent.main";
var Dt=function(a){var b="";b=a.enabled?b+"Keyboard shortcuts are enabled.":b+"Keyboard shortcuts are disabled.";return Xp(b)};Dt.lc="apps.action.shortcut.soy.preferencecomponent.text";var Et=function(a){var b="";b=a.enabled?b+"Disable":b+"Enable";return Xp(b)};Et.lc="apps.action.shortcut.soy.preferencecomponent.link";var Gt=function(){},Ht=new Gt,It=[q,Pc,Rc];Gt.prototype.listen=function(a,b,c,e,f){var g=function(h){var k=tk(b),l=Oi(h.target)?h.target.getAttribute(td)||null:null;h.type==q&&h.mh()?k.call(e,h):13!=h.keyCode&&3!=h.keyCode||h.type==Rc?32!=h.keyCode||h.type!=Rc||l!=Db&&"tab"!=l||(k.call(e,h),h.preventDefault()):(h.type=Qc,k.call(e,h))};g.Cf=b;g.gA=e;f?f.listen(a,It,g,c):R(a,It,g,c)};
Gt.prototype.R=function(a,b,c,e,f){for(var g,h=0;g=It[h];h++){var k=a;var l=g;var m=!!c;l=kk(k)?k.Ng(l,m):k?(k=vk(k))?k.Ng(l,m):[]:[];for(k=0;m=l[k];k++){var p=m.listener;if(p.Cf==b&&p.gA==e){f?f.R(a,g,m.listener,c,e):zk(a,g,m.listener,c,e);break}}}};var Jt=function(a,b,c){W.call(this,c);this.iu=a;this.UB=b;this.Sc=c};w(Jt,W);Jt.prototype.j=function(){this.ha(this.V.createElement(Wb))};Jt.prototype.ha=function(a){this.kc(a);zq(a,Ft,{enabled:this.iu(),containerId:this.Df("spc_cont"),MB:this.Df("spc_text"),Qx:this.Df("spc_link")})};Jt.prototype.H=function(){this.C().yk(this.Sc.g(this.Df("spc_link")),Ht,this.UB)};var Kt=function(a){this.$d=a};
Kt.prototype.Tz=function(a,b,c){return this.$d.xz(a).then(function(e){return We(e,Lt)}).then(function(e){var f=[];var 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<e.length;++g){var h=e[g].io(),k=Mt(h.Cj());k&&(f=f.concat(k));h=h.Iv();for(k=0;k<h.length;++k){var l=Mt(h[k]);l&&(f=f.concat(l))}}nf(f)}e=f;f=[];if(""!=a)for(g=Ch(a),g=new RegExp("(^|\\W+)"+g,"i"),h=0;h<e.length&&f.length<b;h++)k=e[h],String(k).match(g)&&f.push(k);
0==f.length&&(f=Cp(a,b,e));return f}).then(Ce(c,a))};var Lt=function(a){a=a.io();return!!(a&&a.Cj()&&a.ra())},Mt=function(a){return a.toLocaleLowerCase().replace(/([\^$.*+?=!:'",\-|\\/()[\]{}])/g," ").replace(/\d+/g," ").match(/\S+/g)};var Nt=null;var Pt=function(a,b,c){this.Kp=a||null;this.Yi=!!b;this.Tn=c;this.O=new Sj;this.L=new Ot("",void 0);this.L.next=this.L.Gb=this.L};v=Pt.prototype;v.Wn=function(a){(a=this.O.get(a))&&this.Yi&&(a.remove(),this.ep(a));return a};v.get=function(a,b){return(a=this.Wn(a))?a.value:b};v.set=function(a,b){var c=this.Wn(a);c?c.value=b:(c=new Ot(a,b),this.O.set(a,c),this.ep(c))};v.shift=function(){return this.jq(this.L.next)};v.pop=function(){return this.jq(this.L.Gb)};
v.remove=function(a){return(a=this.O.get(a))?(this.removeNode(a),!0):!1};v.removeNode=function(a){a.remove();this.O.remove(a.key)};v.Cb=function(){return this.O.Cb()};v.ra=function(){return this.map(function(a,b){return b})};v.pb=function(){return this.map(function(a){return a})};v.contains=function(a){return this.some(function(b){return b==a})};v.zb=function(a){return this.O.zb(a)};v.clear=function(){this.Nr(0)};
v.forEach=function(a,b){for(var c=this.L.next;c!=this.L;c=c.next)a.call(b,c.value,c.key,this)};v.map=function(a,b){for(var c=[],e=this.L.next;e!=this.L;e=e.next)c.push(a.call(b,e.value,e.key,this));return c};v.some=function(a,b){for(var c=this.L.next;c!=this.L;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};v.every=function(a,b){for(var c=this.L.next;c!=this.L;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
v.ep=function(a){this.Yi?(a.next=this.L.next,a.Gb=this.L,this.L.next=a,a.next.Gb=a):(a.Gb=this.L.Gb,a.next=this.L,this.L.Gb=a,a.Gb.next=a);null!=this.Kp&&this.Nr(this.Kp)};v.Nr=function(a){for(;this.Cb()>a;){var b=this.Yi?this.L.Gb:this.L.next;this.removeNode(b);this.Tn&&this.Tn(b.key,b.value)}};v.jq=function(a){this.L!=a&&this.removeNode(a);return a.value};var Ot=function(a,b){this.key=a;this.value=b};Ot.prototype.remove=function(){this.Gb.next=this.next;this.next.Gb=this.Gb;delete this.Gb;delete this.next};var Qt=function(a,b,c,e,f,g,h){W.call(this,c);this.xa=lt(a);this.Po=b;this.fk=null;this.ij=ho.K().Vc();this.ih=!(!e||!f);this.fj=null;this.$d=g||null;this.pc=null!=this.$d;this.Hf=null;this.Ik=!0;this.he=this.xg=null;this.lh=!0;(this.Lh=this.ih?new Jt(e,f,this.s()):null)&&this.Hb(this.Lh);this.Gc=null;this.pc&&(a="//ssl.gstatic.com/ui/v1/button/search-white.png",typeof a===u&&(c=a,b=a=Ci("IMG"),uf(b,"HTMLImageElement"),c=c instanceof Ag?c:Ig(c,/^data:image\//i.test(c)),b.src=Bg(c),rm(a,21,21)),V(a,
"jfk-button-img"),b=[],b.push(a),this.Gc=new Vq(b,void 0,2),this.xb(this.Gc),this.Gc.jr(0));this.Pa=h?new xt(this.Gj(),this.s()):null;this.ub=h?new Ct(this.xa,this.s()):null;h&&(this.xb(this.Pa),this.xb(this.ub))};w(Qt,W);v=Qt.prototype;v.Sa=function(){return!1};
v.j=function(){W.prototype.j.call(this);var a=this.N();if(this.pc){var b=this.ij,c=this.Po;if(null==Nt){var e=M(),f=e.A,g=e.createElement(Wb);g.style.backgroundColor="rgb(1, 2, 3)";e.appendChild(f.body,g);f=bm(g,"backgroundColor");f=f.replace(/ /g,"");f="rgb(0,0,0)"===f?"black":"rgb(255,255,255)"===f?"white":ed;e.removeNode(g);Nt=f}this.he=Cq(gt,{hj:b,Il:c,Ow:Nt});this.s().appendChild(a,this.he);this.ub&&this.Pa?(this.ub.j(),this.he.appendChild(this.ub.N()),this.Pa.j(),this.he.appendChild(this.Pa.N())):
this.$k(null,null);D(this.Gc);this.Gc.F(this.Va(wb))}else zq(a,it,this.qv())};v.N=function(){return W.prototype.N.call(this)};v.qv=function(){var a=Xe(this.xa,function(b){return Rt(b,!1)});return{hj:this.ij,Il:this.Po,Lt:a,hh:this.ih}};v.fv=function(){if(!this.fj){var a=this.Gj();this.fj={groups:Rt(a,!0),hh:this.ih}}return D(this.fj)};v.Gj=function(){return Ye(this.xa,function(a,b){return hf(a,b)},[])};
var St=function(a){for(var b=new Pt,c=[],e=0;e<a.length;++e){var f=a[e].io(),g=f.dc();""==g?c.push(f):(b.zb(g)||b.set(g,[]),b.get(g).push(f))}a=b.map(function(h,k){return{title:k,Jb:h}});c.length&&(a.length?a.push({title:"More shortcuts",Jb:c}):a.push({title:"",Jb:c}));return a};v=Qt.prototype;v.H=function(){W.prototype.H.call(this);this.pc&&this.hB();this.Hf=this.Va(ub);this.Al(this.Ik);this.Lh&&this.Lh.render(this.Va(xb));this.C().listen(this.Hf,q,this.jw);this.ub&&this.Pa&&this.zl(!0)};
v.hB=function(){var a=this.Va(yb);Sq(a,"Clear search",void 0);this.C().yk(a,Ht,this.tw);a=this.Va(vb);Mn(a,Wa);D(this.Gc);this.Gc.ma(!0);var b=this.Gc.N();Sq(b,Wa,void 0);a=new yt(this.Gc,a);a.sj.listen("a",A(this.ww,this));this.fk=a;b=new Kt(D(this.$d));var c=new Gp;c.QA(!1);c.className="apps-shortcutshelppopup-ac-renderer";c.Xh="apps-shortcutshelppopup-ac-row";b=new Dp(b,c,a);b.uA(!1);a.ot(b)};
v.reset=function(){this.Uz();this.rr(!1);this.$k(null,null);this.ub&&this.Pa&&this.zl(!0);this.Va(wb).value=""};v.Uz=function(){var a=this.Va(zb);Ri(a,Sa)};v.oa=function(){W.prototype.oa.call(this);this.Hf=null};v.jw=function(){this.dispatchEvent(Jb)};v.ww=function(a){a.px?this.ey(a.Mx):this.lh||this.reset()};v.ey=function(a){return this.$d.xz(a).then(A(this.Mz,this,a))};v.tw=function(){this.reset();this.Va(wb).focus()};v.rr=function(a){T(this.Va(yb),a)};
v.Al=function(a){this.Ik=a;this.Hf&&T(this.Hf,this.Ik)};v.Zu=function(){return this.fk?this.fk.Z.u.g():null};v.Mz=function(a,b){var c='Search results for "'+(a+'"');a='No search results for "'+(a+'"');b=We(b,Lt);qf(b,mt);b=b.slice(0,30);var e=this.Va(zb);c=0==b.length?a:c;Ri(e,c);this.rr(!0);this.$k(St(b),c);this.ub&&this.Pa&&this.zl(!1);0==b.length?this.Va(yb).focus():this.Pa?this.Pa.N().focus():this.s().te(ob).focus()};
v.$k=function(a,b){if(a){var c={groups:Rt(a,!0),hh:this.ih};this.lh=!1}else c=this.fv(),this.lh=!0;c.JB=b||Sa;this.Pa?this.Pa.rA(a||this.Gj(),this.lh,null,!1,!1,!1):(this.xg&&this.he.removeChild(this.xg),this.xg=Cq(ht,c),this.he.appendChild(this.xg));(b=this.Va(yb))&&(a&&0==a.length?V(b,sb):Yn(b,sb))};var Rt=function(a,b){return Xe(a,function(c){return ut(c,b)})};Qt.prototype.Rr=function(){var a=this.ub.Fv();this.Pa.iA(a)};Qt.prototype.Zl=function(){var a=this.Pa.Ov();this.ub.YA(a)};
Qt.prototype.zl=function(a){this.ub.ma(a);a?(this.C().listen(this.ub,zd,this.Rr),this.C().listen(this.Pa,Ad,this.Zl),this.Zl()):(this.C().R(this.ub,zd,this.Rr),this.C().R(this.Pa,Ad,this.Zl),this.ub.Na(function(b){b.setState(8,!1)}))};Qt.prototype.bm=function(){return null!=this.$d};var Tt=function(a){var b=a.Jt;a=a.bm;var c=wa+Y("apps-shortcutshelppopup-dialog")+fa+Y(qb)+da;if(a){a=c;b=wa+Y("apps-shortcutshelppopup-close")+ha+Y(b)+ba+Y("modal-dialog-title-close")+ca;var e={};c=uq(null==e.color||typeof e.color===u,"color",e.color,gd);e=(e=uq(null==e.size||typeof e.size===u,"size",e.size,gd))?""+e:"14px";c='<svg width="'+Y(e)+'" height="'+Y(e)+'" viewBox="0 0 10 10" focusable="false" fill="'+Y(null!=c?c:"#000000")+'"><polygon points="10,1.01 8.99,0 5,3.99 1.01,0 0,1.01 3.99,5 0,8.99 1.01,10 5,6.01 8.99,10 10,8.99 6.01,5 "/></svg>';
c=Xp(c);c=a+(b+c+"</span></div>")}else c+=wa+Y("CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_WRAPPER")+ha+Y(b)+ba+Y(Ja)+ca,c+="Close</span></div>";return Xp(c+sa)};Tt.lc="apps.action.soy.shortcutshelp.dialog";var Ut=function(a,b,c){mo.call(this,b,c);this.md=a;this.xb(this.md);this.jn=ho.K().Vc();this.pc=a.bm()};w(Ut,mo);v=Ut.prototype;v.B=function(){return this.pc?"apps-shortcutshelppopup":"shortcuts-modalpopup"};v.Sa=function(){return!1};v.j=function(){mo.prototype.j.call(this);var a=this.s(),b=this.N();T(b,!1);zq(b,Tt,{Jt:this.jn,bm:this.pc});var c=this.Va(qb);this.md.j();a.appendChild(c,this.md.N());Hn(b,Vb);U(b,Tc,this.md.ij);this.pc||V(b,"CSS_SHORTCUTS_HELP_POPUP")};
v.H=function(){mo.prototype.H.call(this);var a=this.s(),b=a.g(this.jn);this.pc&&Sq(b,"Close",void 0);this.C().yk(b,Ht,this.Ao);a=a.Cv(this.g());this.C().listen(a,Yc,this.Ny,!0);this.C().listen(this.g(),Pc,this.Uy);this.C().listen(this.md,Jb,this.Ao)};v.D=function(a){this.pc&&this.I&&!this.isVisible()&&a&&this.md.reset();mo.prototype.D.call(this,a)};v.Ao=function(){this.D(!1)};v.Al=function(a){this.md.Al(a)};
v.La=function(){mo.prototype.La.call(this);var a=this.g();if(a&&!this.pc){if(this.isVisible()){var b=gm(a);b=km(b);b=.9*(b.bottom-b.top)}else b=this.s().A,b=.9*yi(Ai(b)||window).height;$l(a,"maxHeight",b+qd);$l(a,Uc,"10%");$l(a,"top","10%")}};v.Ny=function(a){var b=this.md.Zu();b&&Pi(b,a.target)||Pi(this.g(),a.target)||this.D(!1)};v.Uy=function(a){27==a.keyCode?(this.D(!1),a.stopPropagation(),a.preventDefault()):9==a.keyCode&&a.shiftKey&&a.target==this.g()&&this.kr()};var Vt=function(a,b,c){qo.call(this,a,b,c)};w(Vt,qo);Vt.prototype.D=function(a){a!=this.isVisible()&&(qo.prototype.D.call(this,a),a?Wt++:Wt=Math.max(Wt-1,0),this.focus())};Vt.prototype.focus=function(){if(this.isVisible()){var a=this.gv();a&&(Xi(a,!0),a.focus())}};
Vt.prototype.La=function(){var a=Ai(this.V.A)||window,b=M((a||x||window).document).se(),c=b.x;b=b.y;var e=sm(mm,this.g());a=yi(a);c=Math.max(c+a.width/2-e.width/2,0);var f=N("gb"),g=20;f&&(g+=sm(mm,f).height);b=Math.max(b+a.height/2-e.height/2,g);fm(this.g(),c,b)};Vt.prototype.close=function(){this.D(!1);this.dispose()};var Wt=0;B("gsites.components.JotDialog.prototype.reposition",Vt.prototype.La);var Xt=function(){O.call(this);this.Ab={};this.ln={};this.Fb=null;this.oh=!0};w(Xt,O);v=Xt.prototype;v.sd=function(a){var b=a.Kn;b&&(this.Ab[b]=this.Ab[b]||[],this.Ab[b].push(a),this.oh=!0)};v.Nf=function(a){for(var b in this.Ab)gf(this.Ab[b],function(c){return c.getId()==a.getId()}),0==this.Ab[b].length&&delete this.Ab[b];this.oh=!0};v.ql=function(a,b){this.ln[a]=b};v.cv=function(a){return this.ln[a]||0};
v.getData=function(){var a=[],b;for(b in this.Ab){for(var c=[],e=0;e<this.Ab[b].length;++e){var f=this.Ab[b][e];f.isEnabled()&&c.push([f.nv(),f.Jj()])}e=this.cv(b);a[e]=a[e]||[];a[e].push({title:b,Jb:c})}return a};v.Mw=function(){for(var a in this.Ab)for(var b=this.Ab[a],c=0;c<b.length;c++)if("showHelpPopup"!=b[c].getId())return!0;return!1};
v.ay=function(){var a=this.Fb;P(a);a=Yt.Vb("hl",webspace.page.locale);a=new Qt(this.getData(),a.toString());a=new Ut(a);a.render();this.Fb=a;this.oh=!1;a=ui(Ga,this.Fb.g());for(var b=0;b<a.length;b++)Xi(a[b],!0)};v.isVisible=function(){return!!this.Fb&&this.Fb.isVisible()};v.D=function(a,b){a&&this.oh&&this.ay();this.Mw()&&(this.Fb.D(a),this.Fb.g().focus(),b&&sk(this.Fb,Bc,b))};v.o=function(){P(this.Fb);this.Fb=null};Xt.prototype.addAction=Xt.prototype.sd;var Yt=new ql("https://support.google.com/sites/bin/answer.py?answer=189191");
Xt.prototype.addAction=Xt.prototype.sd;Xt.prototype.removeAction=Xt.prototype.Nf;Xt.prototype.isVisible=Xt.prototype.isVisible;Xt.prototype.setVisible=Xt.prototype.D;var $t=function(a,b,c,e,f,g,h,k){h=h||{};h.label=b;h.hint=b;Ph&&e&&0<=e.search(/Ctrl/i)&&!k?h.keys=[e.replace(/Ctrl/ig,"Meta")]:h.keys=null==e?e:[e];h[hc]=k||!1;Xs.call(this,a,h);this.ma(!!c);g&&this.IB(Rs,Zt(g));this.Kn=f||null};C($t,Xs);var Zt=function(a){return function(b){(b=b.data)&&b.preventDefault();a(b)}},au={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};
$t.prototype.nv=function(){var a=this.getProperty("helpKeys");a=a||this.ra();Array.isArray(a)&&(a=a.join(" "));if(typeof a===u)for(var b in au)a=a.replace(new RegExp(b,"gi"),au[b]);return a};$t.prototype.o=function(){P(this.da);$t.i.o.call(this)};var bu=function(a,b,c,e){$t.call(this,"showHelpPopup","Open shortcut help",a,c,e,A(this.UA,this,!0));this.Fb=b};C(bu,$t);bu.prototype.UA=function(a,b){this.Fb.D(a);b&&b.preventDefault()};var cu=function(a){Ds.call(this,a||document);this.Li={};this.Ua=!0;this.Bd=new Xt;this.mr={};this.tA(!1)};C(cu,Ds);v=cu.prototype;v.Ws=function(a){a=new bu(!0,this.Bd,"Ctrl + /",a);this.sd(a,a.vj)};v.sd=function(a,b,c){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){this.Li[a.getId()]=a;var e=a.ra()||[];Array.isArray(e)||(e=[e]);if(!c)for(c=0;c<e.length;c++)this.Az(a.getId(),e[c]);a.Kn&&this.Bd.sd(a);this.Zs(a,b)}};
v.Zs=function(a,b){this.mr[a.getId()]=R(this,"shortcut_"+a.getId(),A(b,a))};v.Nf=function(a){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){var b=a.ra();if(Array.isArray(b))for(var c=b.length,e=0;e<c;++e)this.Pr(b[e]);else this.Pr(b);this.Bd.Nf(a);this.Hz(a);delete this.Li[a.getId()]}};v.Hz=function(a){var b=this.mr;Ak(b[a.getId()]);b[a.getId()]=null};v.isEnabled=function(){return this.Ua};v.ma=function(a){this.Ua=a};v.rk=function(a){return this.Ua?cu.i.rk.call(this,a):!1};
v.o=function(){var a=this.Li,b;for(b in a)this.Nf(a[b]);P(this.Bd);this.Bd=null;cu.i.o.call(this)};var du=function(){cu.call(this);this.Ws(Ca);this.at(Ca);var a=this.Bd;a.ql(Ca,0);a.ql("Site",1);a.ql("Page",2)};w(du,cu);du.prototype.at=function(a){a=new bu(!0,this.Bd,"Shift + /",a);a.setProperty("helpKeys","?");this.sd(a,a.vj)};y(du);var eu=function(a){$t.call(this,"focusSearchBox","Search",a,"/",Ca,A(this.tu,this))};C(eu,$t);eu.prototype.tu=function(a){var b=N(Mc);b&&(b.focus(),a&&a.preventDefault())};var fu=function(a){O.call(this);this.wt=a||"sites-searchbox-search-button";this.lr=du.K()};w(fu,O);
fu.prototype.Fd=function(a,b,c,e){this.jd=N(Mc);var f=N(Gd),g=N(this.wt),h=N("sites-searchbox-scope");f&&R(f,Hd,this.an,!1,this);if(g){var k=N("sites-searchbox-select-dropdown");this.Td=new Vq(null);this.Td.F(g);R(this.Td,ib,this.yr,!1,this);if(k&&a){var l=new xp(null,null,new gu);l.Mq(!1);l.F(k);var m;for(k=0;k<a.length;k++){var p=a[k],z=new bp(p.label,p);l.ab(z);p.id==c&&(m=z)}m&&l.ld(m);e&&(l.ab(new fp),c=new bp(e.label,e),l.ab(c));R(l,Fb,A(function(Q){Q=Q.target.ec().Kd;Q.id?(h.value=Q.id,f.action=
Q.action,b?Ri(g,Q.label):(this.Td.Pc(Q.label),this.Jc.Yq(Q.label),this.jd.setAttribute(Ab,Q.label)),this.yr()):Q.url&&uh(tf(window.location),Q.url)},this))}b||(a=l?l.ec().Kd:a[0],this.Td.Pc(a.label),this.Jc=new ip(a.label),this.Jc.F(this.jd))}a=new eu(!0);this.lr.sd(a,a.vj);this.yj=a};fu.prototype.an=function(a){var b=this.Jc?this.Jc.getValue():this.jd.value;if(wf(b))return!0;a&&a.preventDefault();return!1};fu.prototype.yr=function(){this.an()&&N(Gd).submit()};
fu.prototype.o=function(){this.yj&&(this.lr.Nf(this.yj),P(this.yj));P(this.Td);this.Td=null;P(this.Jc);this.Jc=null;O.prototype.o.call(this)};B("sites.Searchbox",fu);var hu=null;B("sites.Searchbox.initialize",function(a,b,c,e){P(hu);hu=new fu(a);hu.Fd(b,!0,c,e)});fu.prototype.jd=null;fu.prototype.Td=null;fu.prototype.Jc=null;fu.prototype.initListeners=fu.prototype.Fd;var gu=function(){};w(gu,cr);gu.prototype.zd=function(a){return 2==a?"jfk-button-hover":cr.prototype.zd.call(this,a)};var iu=function(a){a=uq(typeof a.message===u,"message",a.message,u);return Xp('<div class="sites-cookie-notice-fit" tab-index="-1"><div>'+Yp(a)+"</div><br></div>")};iu.lc="soy.sites.notice.viewerNotice";var ju=function(){};v=ju.prototype;v.gx=function(){this.Ey=new ku(webspace.domain,webspace.name,webspace.siteNoticeMessage,webspace.siteNoticeRevision)};v.ny=function(){var a=this.Ey;if(!a.getMessage()||this.Fy(a))return!1;this.Nz(a);return!0};v.Fy=function(a){var b=dj.get(Nc);return b?df(b.split("|"),String(a.Bq)):!1};v.Yv=function(a){this.Iz();var b=dj.get(Nc);a=String(a.Bq);b&&(a=b+"|"+a);this.EA(a)};v.EA=function(a){dj.set(Nc,a,{Dk:7776E3,path:this.ev(),eA:ed})};v.ev=function(){return webspace.baseUri};
v.Nz=function(a){var b=a.getMessage();if(b){b=Bq(iu,{message:b});b.setAttribute(td,Vb);this.Rp=b;var c=new Vq("Ok, got it",void 0,2);R(c,ib,A(this.Yv,this,a));c.render(b);if(webspace.siteNoticeUrlEnabled){var e=Gg(webspace.siteNoticeUrlAddress)||Hg;Bg(e)!=gb&&(a=new Vq("More details",void 0,2),R(a,ib,function(){window.open(Bg(e))}),a.render(b),a.g().setAttribute(td,"link"))}Ji(document.body,b,0);b.focus()}};v.Iz=function(){this.Rp&&Ki(this.Rp)};
var ku=function(a,b,c,e){this.ne=a;this.$r=b;this.ty=c;this.Bq=e};ku.prototype.getMessage=function(){return this.ty};var lu=function(){this.Sp=new ju;JOT_addListener("usercontentrendered",A(this.LA,this))};lu.prototype.LA=function(){this.Sp.gx();if(!this.Sp.ny()){var a=document.getElementById("sites-page-title");a&&a.focus()}};B("JOT_setupPostRenderingManager",function(){return new lu});var ou=function(a,b,c){this.Qp=a;this.title=b;this.dom=M(document);this.Bh=this.dom.g("COMP_"+a);var e=this.yv();e&&this.eo(this.Bh,function(f){this.Vq(f,!df(e,f.getAttribute("wuid")))});a=this.dom.ue(n,"current-bg",this.Bh);if(0<a.length)for(a=a[0].parentNode;a;)a=this.Og(a),Oi(a)&&this.Vq(a,!1);R(this.Bh,q,A(this.By,this));mu.push(this);c||nu.push(this)};v=ou.prototype;v.eo=function(a,b,c){b=A(b,this);a=this.dom.ue("LI","parent",a);for(var e=0;e<a.length;e++)b(a[e],c)};
v.Vq=function(a,b){$n(a,Kb,b)};v.Og=function(a){return this.dom.Xu(a.parentNode,"LI","parent")};v.jo=function(a){return null==a?null:(a=ti("ul",null,a))&&a[0]?a[0]:null};v.yv=function(){var a=dj.get(this.im+this.Qp);return null==a?null:""==a||a==this.km?[]:a.split(this.lm)};v.gC=function(){var a=[];this.eo(this.Bh,function(c){var e=c.getAttribute("wuid");e&&!Wn(c,Kb)&&a.push(e)});var b=a.slice(0,this.ns).join(this.lm);b=b||this.km;dj.set(this.im+this.Qp,b,{Dk:this.gs,path:webspace.baseUri})};
v.By=function(a){if(a.target instanceof Element&&Wn(a.target,cc)){var b=this.Og(a.target),c=!Wn(b,Kb);$n(b,Kb,c);this.jt(b,!c);this.gC();a.preventDefault()}};v.jt=function(a,b){var c=this.jo(a);if(null!=a&&null!=c){var e=c.scrollHeight,f=this.Og(a);b?(V(c,lb),c.style.height=e+qd,this.cl(f)):(c.style.height=e+qd,al(function(){V(c,lb);c.style.height="0px";this.cl(f)},0,this))}};v.cl=function(a){var b=this.jo(a);null!=a&&null!=b&&(b.style.height="",Yn(b,lb),this.cl(this.Og(a)))};var mu=[],nu=[];v=ou.prototype;
v.im="SitesNav";v.gs=5184E3;v.ns=40;v.lm="+";v.km="x";B("JOT_setupNav",function(a,b,c){return new ou(a,b,c)});B("JOT_NAVIGATION_titleChange",function(a){var b=Yr(byId(a.listenerCompId))[a.payload.wuid];Array.isArray(b)||(b=[b]);for(var c=0;c<b.length;c++){var e=b[c];if(e){var f=e.firstChild;f&&f.className==cc&&(e=f.nextSibling);3==e.nodeType?e.parentNode.replaceChild(document.createTextNode(a.payload.title),e):Ri(e,a.payload.title)}}});var qu=function(a){O.call(this);this.Vf=N(a||"sites-sidebar-expander");this.$=new Fk(this);this.kn=!1;this.lp=null;pu.push(this)};w(qu,O);v=qu.prototype;v.Om=function(a,b){this.We=N(a);b&&(this.$.listen(window,[md,sd],A(this.$m,this)),this.$m());this.Vf&&this.$.listen(new kn(this.Vf),ib,A(this.VB,this));this.We&&dn(this.We,"initial")};v.mi=function(a){if(this.Vf&&this.We){this.kn=a;var b=this.Vf;a?bn(b,Lb):dn(b,Lb);b=this.We;a?bn(b,Lb):dn(b,Lb);a||this.Kt()}};
v.o=function(){P(this.$);this.Vf=this.We=null;O.prototype.o.call(this)};v.VB=function(){this.mi(!this.kn)};v.$m=function(){var a=this.Ft();a!=this.lp&&(this.mi(a),this.lp=a)};v.Ft=function(){if("undefined"!==typeof window.orientation)return!(0!=window.orientation&&180!=window.orientation);var a=yi();return a.width<a.height};v.Kt=function(){for(var a=0,b;b=pu[a];++a)this!=b&&b.mi(!0)};var pu=[];
B("sites.CollapsibleSidebar.createCollapsibles",function(a){var b=N("mobile-sidebar-expander");b&&(new qu(b)).Om(a,!0);if(a=vi("sites-header-nav"))b=new qu("sites-horiz-expander"),b.Om(a),b.mi(!0)});qu.prototype.We=null;var su=function(){this.Gw=!!re("gbar.lPWF");this.Aj=!1;ru=["g-plusone"];window.mE={lang:webspace.page.locale,vE:"explicit"}},tu=function(a){su.K().go(a)};v=su.prototype;v.go=function(a){a=N(a||null)||document.body;this.Hw(a)&&(this.Gw?this.Sv(a):this.Rv(a))};v.Hw=function(a){for(var b=0;b<ru.length;b++)if(0<ti(Wb,ru[b],a).length)return!0;return!1};v.Yk=function(a){gapi.plusone.go(a)};v.Xk=function(a){webspace.features.nz&&gapi.plus.go(a)};v.Wq=function(a){this.Aj=a};
v.Rv=function(a){var b=A(this.zt,this,a);this.Aj?b():(b=A(this.yt,this,a),Pr(b))};v.yt=function(a){this.Wq(!0);this.Yk(a);this.Xk(a)};v.zt=function(a){this.Yk(a);this.Xk(a)};v.Sv=function(a){gbar.lPWF(A(this.Yk,this,a));webspace.features.nz&&(a=A(this.Xk,this,a),this.Aj?a():gbar.lPWF(A(this.Yx,this,a)))};v.Yx=function(a){var b=A(this.Wq,this,!0);gapi.load("plus",function(){b();a()})};y(su);var ru=[];B("sites.util.Plus.go",tu);JOT_addListener("renderPlus",function(a){tu(a.payload)});var uu=function(){};B("sites.pages.SiteTemplatesView",uu);uu.prototype.Zw=function(a){var b=N("sites-create-site-from-template-btn");b&&(a=new ks(Ah(a)),a.F(b),a.ma(!0),R(a,ib,a.Uk))};uu.prototype.initControls=uu.prototype.Zw;if(window.jstiming){window.jstiming.Nm={};window.jstiming.Sz=1;var vu=function(a,b,c){var e=a.t[b],f=a.t.start;if(e&&(f||c))return e=a.t[b][0],f=void 0!=c?c:f[0],Math.round(e-f)},wu=function(a,b,c){var e="";window.jstiming.srt&&(e+="&srt="+window.jstiming.srt,delete window.jstiming.srt);window.jstiming.pt&&(e+="&tbsrt="+window.jstiming.pt,delete window.jstiming.pt);try{window.external&&window.external.tran?e+="&tran="+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?e+="&tran="+window.gtbExternal.tran():
window.chrome&&window.chrome.csi&&(e+="&tran="+window.chrome.csi().tran)}catch(z){}var f=window.chrome;if(f&&(f=f.loadTimes)){f().wasFetchedViaSpdy&&(e+="&p=s");if(f().wasNpnNegotiated){e+="&npn=1";var g=f().npnNegotiatedProtocol;g&&(e+="&npnv="+(encodeURIComponent||escape)(g))}f().wasAlternateProtocolAvailable&&(e+="&apa=1")}var h=a.t,k=h.start;f=[];g=[];for(var l in h)if("start"!=l&&0!=l.indexOf("_")){var m=h[l][1];m?h[m]&&g.push(l+"."+vu(a,l,h[m][0])):k&&f.push(l+"."+vu(a,l))}delete h.start;if(b)for(var p in b)e+=
"&"+p+"="+b[p];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.jstiming.sn||"jotspot")+"&action=",a.name,g.length?"&it="+g.join(","):"",e,"&rt=",f.join(",")].join("")},xu=function(a,b,c){a=wu(a,b,c);if(!a)return"";b=new Image;var e=window.jstiming.Sz++;window.jstiming.Nm[e]=b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.Nm[e]};b.src=a;b=null;return a};window.jstiming.report=function(a,
b,c){var e=document.visibilityState,f="visibilitychange";e||(e=document.webkitVisibilityState,f="webkitvisibilitychange");if("prerender"==e){var g=!1,h=function(){if(!g){b?b.prerender="1":b={prerender:"1"};if("prerender"==(document.visibilityState||document.webkitVisibilityState))var k=!1;else xu(a,b,c),k=!0;k&&(g=!0,document.removeEventListener(f,h,!1))}};document.addEventListener(f,h,!1);return""}return xu(a,b,c)}};var yu;"undefined"==typeof yu&&(yu=[]);var zu;"undefined"==typeof zu&&(zu=[]);var Au=function(a){return 0<=a?a.toString(16).toUpperCase():"-"+(-a).toString(16).toUpperCase()};B("goog.events.listen",R);jl.prototype.getResponseJson=jl.prototype.Qg;O.prototype.getDisposed=O.prototype.hv;B("gsites.date.TimeZone.getFingerprint",function(a){var b=[],c="u";Qh?c="w":Ph?c="m":Rh&&(c="l");b.push(c);for(c=0;c<a.length;++c)b.push((new Date(a[c])).getTimezoneOffset()|0);a=b.length;if(2>a)b="";else{c=[b[0]];for(var e=b[1],f=e,g=1,h=2;h<a;)f=b[h++],f!==e?(c.push("g"+Au(e)+"r"+Au(g)),e=f,g=1):g++;c.push("g"+Au(f)+"r"+Au(g));b=c.join("")}return b});B("gsites.Xhr.send",Zm);
B("goog.dom.$",N);B("goog.dom.getDomHelper",M);B("goog.string.trim",wf); })()
