Skip to content

Instantly share code, notes, and snippets.

@MightyPork
Created October 30, 2017 11:04
Show Gist options
  • Save MightyPork/4e8c17acabf0d70756ab65cdd0546413 to your computer and use it in GitHub Desktop.
Save MightyPork/4e8c17acabf0d70756ab65cdd0546413 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
/* _GlobalPrefix_ */
/* _Module_:n */
try{
var f,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ba="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ca=function(){ca=function(){};ba.Symbol||(ba.Symbol=aaa)},aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),da=function(){ca();var a=ba.Symbol.iterator;a||(a=ba.Symbol.iterator=ba.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&
aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return baa(this)}});da=function(){}},baa=function(a){var b=0;return caa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})},caa=function(a){da();a={next:a};a[ba.Symbol.iterator]=function(){return this};return a},ea=function(a){da();var b=a[Symbol.iterator];return b?b.call(a):baa(a)},daa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},fa;
if("function"==typeof Object.setPrototypeOf)fa=Object.setPrototypeOf;else{var ha;a:{var eaa={a:!0},faa={};try{faa.__proto__=eaa;ha=faa.a;break a}catch(a){}ha=!1}fa=ha?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var gaa=fa,l=function(a,b){a.prototype=daa(b.prototype);a.prototype.constructor=a;if(gaa)gaa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.ua=b.prototype},ja=function(a){if(!(a instanceof Array)){a=ea(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ka=function(a,b){if(b){var c=ba;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=
a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}},haa=function(a,b){da();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d},la=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
ka("WeakMap",function(a){function b(a){la(a,d)||aa(a,d,{value:{}})}function c(a){var c=Object[a];c&&(Object[a]=function(a){b(a);return c(a)})}if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(q){return!1}}())return a;var d="$jscomp_hidden_"+Math.random().toString().substring(2);c("freeze");c("preventExtensions");c("seal");var e=0,g=function(a){this.tb=
(e+=Math.random()+1).toString();if(a){ca();da();a=ea(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}};g.prototype.set=function(a,c){b(a);if(!la(a,d))throw Error("a`"+a);a[d][this.tb]=c;return this};g.prototype.get=function(a){return la(a,d)?a[d][this.tb]:void 0};g.prototype.has=function(a){return la(a,d)&&la(a[d],this.tb)};g.prototype["delete"]=function(a){return la(a,d)&&la(a[d],this.tb)?delete a[d][this.tb]:!1};return g});
ka("Map",function(a){if(function(){if(!a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(ea([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(C){return!1}}())return a;ca();da();var b=new WeakMap,c=function(a){this.H={};this.R=g();this.size=
0;if(a){a=ea(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}};c.prototype.set=function(a,b){var c=d(this,a);c.list||(c.list=this.H[c.id]=[]);c.entry?c.entry.value=b:(c.entry={next:this.R,previous:this.R.previous,head:this.R,key:a,value:b},c.list.push(c.entry),this.R.previous.next=c.entry,this.R.previous=c.entry,this.size++);return this};c.prototype["delete"]=function(a){a=d(this,a);return a.entry&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.H[a.id],a.entry.previous.next=
a.entry.next,a.entry.next.previous=a.entry.previous,a.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.H={};this.R=this.R.previous=g();this.size=0};c.prototype.has=function(a){return!!d(this,a).entry};c.prototype.get=function(a){return(a=d(this,a).entry)&&a.value};c.prototype.entries=function(){return e(this,function(a){return[a.key,a.value]})};c.prototype.keys=function(){return e(this,function(a){return a.key})};c.prototype.values=function(){return e(this,function(a){return a.value})};
c.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=d.value,a.call(b,d[1],d[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(a,c){var d=c&&typeof c;"object"==d||"function"==d?b.has(c)?d=b.get(c):(d=""+ ++h,b.set(c,d)):d="p_"+c;var e=a.H[d];if(e&&la(a.H,d))for(a=0;a<e.length;a++){var g=e[a];if(c!==c&&g.key!==g.key||c===g.key)return{id:d,list:e,index:a,entry:g}}return{id:d,list:e,index:-1,entry:void 0}},e=function(a,b){var c=a.R;return caa(function(){if(c){for(;c.head!=
a.R;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})},g=function(){var a={};return a.previous=a.next=a.head=a},h=0;return c});ka("Array.prototype.keys",function(a){return a?a:function(){return haa(this,function(a){return a})}});var iaa=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var g=a[e];if(b.call(c,g,e,a))return{DD:e,JG:g}}return{DD:-1,JG:void 0}};
ka("Array.prototype.findIndex",function(a){return a?a:function(a,c){return iaa(this,a,c).DD}});
ka("String.prototype.endsWith",function(a){return a?a:function(a,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.endsWith must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.endsWith must not be a regular expression");var b=this+"";a+="";void 0===c&&(c=b.length);c=Math.max(0,Math.min(c|0,b.length));for(var e=a.length;0<e&&0<c;)if(b[--c]!=a[--e])return!1;return 0>=e}});
ka("Array.prototype.find",function(a){return a?a:function(a,c){return iaa(this,a,c).JG}});
ka("Set",function(a){if(function(){if(!a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(ea([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=b||g.value[1]!=b)return!1;g=e.next();return g.done||g.value[0]==b||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;ca();da();var b=function(a){this.H=new Map;if(a){a=ea(a);for(var b;!(b=
a.next()).done;)this.add(b.value)}this.size=this.H.size};b.prototype.add=function(a){this.H.set(a,a);this.size=this.H.size;return this};b.prototype["delete"]=function(a){a=this.H["delete"](a);this.size=this.H.size;return a};b.prototype.clear=function(){this.H.clear();this.size=0};b.prototype.has=function(a){return this.H.has(a)};b.prototype.entries=function(){return this.H.entries()};b.prototype.values=function(){return this.H.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(a,b){var c=this;this.H.forEach(function(d){return a.call(b,d,d,c)})};return b});
(function(){function a(){function a(){}Reflect.construct(a,[],function(){});return new a instanceof a}if("undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(a,d,e){a=b(a,d);e&&Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);e=daa(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}})();
ka("Array.from",function(a){return a?a:function(a,c,d){da();c=null!=c?c:function(a){return a};var b=[],g=a[Symbol.iterator];if("function"==typeof g)for(a=g.call(a);!(g=a.next()).done;)b.push(c.call(d,g.value));else{g=a.length;for(var h=0;h<g;h++)b.push(c.call(d,a[h]))}return b}});
ka("Promise",function(a){function b(){this.H=null}function c(a){return a instanceof e?a:new e(function(b){b(a)})}if(a)return a;b.prototype.R=function(a){null==this.H&&(this.H=[],this.U());this.H.push(a)};b.prototype.U=function(){var a=this;this.S(function(){a.W()})};var d=ba.setTimeout;b.prototype.S=function(a){d(a,0)};b.prototype.W=function(){for(;this.H&&this.H.length;){var a=this.H;this.H=[];for(var b=0;b<a.length;++b){var c=a[b];delete a[b];try{c()}catch(q){this.V(q)}}}this.H=null};b.prototype.V=
function(a){this.S(function(){throw a;})};var e=function(a){this.H=0;this.S=void 0;this.R=[];var b=this.U();try{a(b.resolve,b.reject)}catch(n){b.reject(n)}};e.prototype.U=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}var b=this,c=!1;return{resolve:a(this.ra),reject:a(this.V)}};e.prototype.ra=function(a){if(a===this)this.V(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof e)this.ta(a);else{a:switch(typeof a){case "object":var b=null!=a;break a;case "function":b=
!0;break a;default:b=!1}b?this.ma(a):this.W(a)}};e.prototype.ma=function(a){var b=void 0;try{b=a.then}catch(n){this.V(n);return}"function"==typeof b?this.va(b,a):this.W(a)};e.prototype.V=function(a){this.$(2,a)};e.prototype.W=function(a){this.$(1,a)};e.prototype.$=function(a,b){if(0!=this.H)throw Error("Cannot settle("+a+", "+b|"): Promise already settled in state"+this.H);this.H=a;this.S=b;this.ka()};e.prototype.ka=function(){if(null!=this.R){for(var a=this.R,b=0;b<a.length;++b)a[b].call(),a[b]=
null;this.R=null}};var g=new b;e.prototype.ta=function(a){var b=this.U();a.Pq(b.resolve,b.reject)};e.prototype.va=function(a,b){var c=this.U();try{a.call(b,c.resolve,c.reject)}catch(q){c.reject(q)}};e.prototype.then=function(a,b){function c(a,b){return"function"==typeof a?function(b){try{d(a(b))}catch(ia){g(ia)}}:b}var d,g,h=new e(function(a,b){d=a;g=b});this.Pq(c(a,d),c(b,g));return h};e.prototype["catch"]=function(a){return this.then(void 0,a)};e.prototype.Pq=function(a,b){function c(){switch(d.H){case 1:a(d.S);
break;case 2:b(d.S);break;default:throw Error("b`"+d.H);}}var d=this;null==this.R?g.R(c):this.R.push(function(){g.R(c)})};e.resolve=c;e.reject=function(a){return new e(function(b,c){c(a)})};e.race=function(a){return new e(function(b,d){for(var e=ea(a),g=e.next();!g.done;g=e.next())c(g.value).Pq(b,d)})};e.all=function(a){var b=ea(a),d=b.next();return d.done?c([]):new e(function(a,e){function g(b){return function(c){h[b]=c;k--;0==k&&a(h)}}var h=[],k=0;do h.push(void 0),k++,c(d.value).Pq(g(h.length- 1),e),d=b.next();while(!d.done)})};return e});ka("Object.values",function(a){return a?a:function(a){var b=[],d;for(d in a)la(a,d)&&b.push(a[d]);return b}});
var ma=ma||{},m=this,p=function(a){return void 0!==a},na=function(a){return"string"==typeof a},oa=function(a){return"boolean"==typeof a},pa=function(a){return"number"==typeof a},qa=function(a,b,c){a=a.split(".");c=c||m;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&p(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}},ra=function(a,b){a=a.split(".");b=b||m;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},sa=function(){},
jaa=function(){throw Error("c");},ta=function(a){a.ax=void 0;a.Ja=function(){return a.ax?a.ax:a.ax=new a}},ua=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==
c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},va=function(a){return"array"==ua(a)},wa=function(a){var b=ua(a);return"array"==b||"object"==b&&"number"==typeof a.length},xa=function(a){return"function"==ua(a)},ya=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},za=function(a){return a[kaa]||(a[kaa]=++laa)},kaa=
"closure_uid_"+(1E9*Math.random()>>>0),laa=0,maa=function(a,b,c){return a.call.apply(a.bind,arguments)},naa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},r=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r=maa:r=naa;return r.apply(null,
arguments)},Aa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},t=Date.now||function(){return+new Date},oaa=function(a){if(m.execScript)m.execScript(a,"JavaScript");else if(m.eval){if(null==Ba){try{m.eval("var _evalTest_ = 1;")}catch(d){}if("undefined"!=typeof m._evalTest_){try{delete m._evalTest_}catch(d){}Ba=!0}else Ba=!1}if(Ba)m.eval(a);else{var b=m.document,c=b.createElement("SCRIPT");c.type="text/javascript";
c.defer=!1;c.appendChild(b.createTextNode(a));b.head.appendChild(c);b.head.removeChild(c)}}else throw Error("d");},Ba=null,paa=function(a,b,c){qa(a,b,c)},v=function(a,b){function c(){}c.prototype=b.prototype;a.ua=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.K8=function(a,c,g){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};
var qaa={wu:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},wz:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"}, 1E14:{other:"000 trillion"}}},Ca=qaa;Ca=qaa;
var raa={$z:"y",E8:"y G",VH:"MMM y",aA:"MMMM y",$l:"MMM d",sH:"MMMM dd",uH:"M/d",tH:"MMMM d",Mz:"MMM d, y",UH:"EEE, MMM d",m8:"EEE, MMM d, y",cH:"d"},Da=raa;Da=raa;var saa={Bu:["BC","AD"],Az:["Before Christ","Anno Domini"],Oz:"JFMAMJJASOND".split(""),Uz:"JFMAMJJASOND".split(""),Hu:"January February March April May June July August September October November December".split(" "),am:"January February March April May June July August September October November December".split(" "),Nu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Qu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),bm:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Wz:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Pu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Ru:"Sun Mon Tue Wed Thu Fri Sat".split(" "),xH:"SMTWTFS".split(""),Vz:"SMTWTFS".split(""),Ou:["Q1","Q2","Q3","Q4"],Mu:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Sn:["AM","PM"],Yl:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Tn:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],xu:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],wq:6,Tu:[5,6],xq:5},Ea=saa; Ea=saa;
var taa={zu:".",yq:",",Ku:"%",Dq:"0",Rz:"+",Gu:"-",Cu:"E",Lu:"\u2030",zq:"\u221e",Nz:"NaN",yu:"#,##0.###",Tz:"#E0",Qz:"#,##0%",yz:"\u00a4#,##0.00",Zl:"USD"},Fa=taa;Fa=taa;var Ga=function(a){Ga[" "](a);return a};Ga[" "]=sa;var Ha=function(a,b){try{return Ga(a[b]),!0}catch(c){}return!1},Ia=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};var Ja=function(a,b){return null!=a&&(a==b||a.prototype instanceof b)},Ka=function(a,b,c){var d=function(){return a.apply(d,arguments)};c(b,d);return d};var w=function(){};w.prototype.equals=function(a){return x(this,a)};w.prototype.qb=function(){return La(this)};w.prototype.toString=function(){return y(Ma(Na(this.constructor)))+"@"+y((this.qb()>>>0).toString(16))};var Oa=function(){return!0},Pa=function(a){return!(a&&a.prototype.Rn)};w.prototype.wa=["java.lang.Object",0];
var Qa=function(){this.$=this.U=this.R=null;this.ka=!1;this.H=null};l(Qa,w);var Ua=function(a){Ra(a);Sa(a);Ta(a)},Va=function(a,b){Ra(a);a.R=b;Sa(a);Ta(a)},Ta=function(a){var b=null==a.R?null:a.R.replace(/\n/g," ");b=uaa(a,b);b=a.ma(b);if(!("stack"in b))try{throw b;}catch(c){}Wa(a,b)};Qa.prototype.ma=function(a){return Error(a)};var Wa=function(a,b){a.H=b;if(null!=b)try{b.__java$exception=a}catch(c){}},Sa=function(a){a.ka&&("__noinit__"===a.H||Ta(a))};Qa.prototype.W=function(){return this.R};
Qa.prototype.toString=function(){return uaa(this,this.W())};var uaa=function(a,b){a=Ma(Na(a.constructor));return null==b?a:y(a)+": "+y(b)},Za=function(a){if(null!=a){var b=a.__java$exception;if(null!=b)return b}a instanceof TypeError?(b=new Xa,Ra(b),Sa(b),Wa(b,a),b.R=y(a),a=b):(b=new Ya,Ra(b),Sa(b),Wa(b,a),b.R=y(a),a=b);return a},ab=function(a){return a instanceof Qa},vaa=function(a){return Ja(a,Qa)},Ra=function(a){a.ka=!0;a.H="__noinit__"};Qa.prototype.wa=["java.lang.Throwable",0];
var bb=function(){Qa.call(this)};l(bb,Qa);bb.prototype.wa=["java.lang.Exception",0];var cb=function(){Qa.call(this)};l(cb,bb);cb.prototype.wa=["java.lang.RuntimeException",0];var db=function(a,b){this.H=a;this.R=b};l(db,w);var Ma=function(a){var b=a.H.prototype.wa[0];0!=a.R&&(b=3!=a.H.prototype.wa[1]?"L"+y(b)+";":a.H.prototype.wa[2]);a=a.R;for(var c="",d=0;d<a;d++)c=y(c)+y("[");return y(c)+y(b)};db.prototype.toString=function(){return y(0==this.R&&1==this.H.prototype.wa[1]?"interface ":0==this.R&&3==this.H.prototype.wa[1]?"":"class ")+y(Ma(this))};db.prototype.wa=["java.lang.Class",0]; var Na=function(a,b){var c=b||0;return Ia(a.prototype,"$$class/"+c,function(){return new db(a,c)})};
var eb=function(){Qa.call(this)};l(eb,bb);eb.prototype.wa=["java.io.IOException",0];var fb=function(){Qa.call(this)};l(fb,cb);var gb=function(a){var b=new fb;Va(b,a);return b};fb.prototype.wa=["java.lang.IndexOutOfBoundsException",0];var hb=function(){Qa.call(this)};l(hb,cb);var ib=function(){var a=new hb;Ua(a);return a},kb=function(a){var b=new hb;Va(b,a);return b};hb.prototype.wa=["java.lang.UnsupportedOperationException",0];var lb=function(){Qa.call(this)};l(lb,cb);var waa=function(){var a=new lb;Ua(a);return a};lb.prototype.wa=["java.lang.ArithmeticException",0];var mb=function(){},nb=function(){return!0},ob=function(a){return a===mb};mb.prototype.wa=["int",3,"I"];mb.prototype.Rn=!0;var qb=function(){Qa.call(this)};l(qb,fb);var xaa=function(){var a=new qb;Ua(a);return a};qb.prototype.wa=["java.lang.ArrayIndexOutOfBoundsException",0];var rb=function(){Qa.call(this)};l(rb,cb);rb.prototype.wa=["java.lang.ArrayStoreException",0];var sb=function(){Qa.call(this)};l(sb,Qa);sb.prototype.wa=["java.lang.Error",0];var tb=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,tb);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};v(tb,Error);tb.prototype.name="CustomError";var yaa;var ub=function(a,b){return 0==a.lastIndexOf(b,0)},vb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},wb=function(a,b){return a.toLowerCase()==b.toLowerCase()},zaa=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},xb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},yb=function(a){return/^[\s\xa0]*$/.test(a)},zb=function(a){return a.replace(/(\r\n|\r|\n)+/g,
" ")},Aaa=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},Ab=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Bb=function(a){return a.replace(/^[\s\xa0]+/,"")},Cb=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},Db=function(a){return encodeURIComponent(String(a))},Eb=function(a){return decodeURIComponent(a.replace(/\+/g," "))},Fb=function(a){if(!Baa.test(a))return a;
-1!=a.indexOf("&")&&(a=a.replace(Caa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Daa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Eaa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Faa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Gaa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Haa,"&#0;"));return a},Caa=/&/g,Daa=/</g,Eaa=/>/g,Faa=/"/g,Gaa=/'/g,Haa=/\x00/g,Baa=/[\x00&<>"']/,Kaa=function(a){return Gb(a,"&")?"document"in m?Iaa(a):Jaa(a):a},Iaa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};
var c=m.document.createElement("div");return a.replace(Laa,function(a,e){var d=b[a];if(d)return d;"#"==e.charAt(0)&&(e=Number("0"+e.substr(1)),isNaN(e)||(d=String.fromCharCode(e)));d||(c.innerHTML=a+" ",d=c.firstChild.nodeValue.slice(0,-1));return b[a]=d})},Jaa=function(a){return a.replace(/&([^;]+);/g,function(a,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))?a:String.fromCharCode(c)}})},
Laa=/&([^;\s<&]+);?/g,Hb=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=1==c?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},Ib={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Jb={"'":"\\'"},Naa=function(a){a=String(a);for(var b=['"'],c=0;c<a.length;c++){var d=a.charAt(c),e=d.charCodeAt(0);b[c+1]=Ib[d]||(31<e&&127>e?d:Maa(d))}b.push('"');return b.join("")},Maa=function(a){if(a in
Jb)return Jb[a];if(a in Ib)return Jb[a]=Ib[a];var b=a.charCodeAt(0);if(31<b&&127>b)var c=a;else{if(256>b){if(c="\\x",16>b||256<b)c+="0"}else c="\\u",4096>b&&(c+="0");c+=b.toString(16).toUpperCase()}return Jb[a]=c},Gb=function(a,b){return-1!=a.indexOf(b)},Kb=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Lb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Mb=function(a,b,c){a=p(c)?a.toFixed(c):
String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Lb("0",Math.max(0,b-c))+a},Nb=function(a){return null==a?"":String(a)},Ob=function(a){return Array.prototype.join.call(arguments,"")},Pb=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^t()).toString(36)},Rb=function(a,b){var c=0;a=Ab(String(a)).split(".");b=Ab(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var g=a[e]||"",h=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||
["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;c=Qb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||Qb(0==g[2].length,0==h[2].length)||Qb(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},Qb=function(a,b){return a<b?-1:a>b?1:0},Oaa=2147483648*Math.random()|0,Sb=function(){return"goog_"+Oaa++},Tb=function(a){var b=Number(a);return 0==b&&yb(a)?NaN:b},Ub=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},
Paa=function(a){var b=na(void 0)?Kb(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})},Vb=function(a){isFinite(a)&&(a=String(a));return na(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},Qaa=function(a,b){var c=[],d=[];if(a==b)return 0;if(!a.length||!b.length)return Math.max(a.length,b.length);for(var e=0;e<b.length+1;e++)c[e]=e;for(e=0;e<a.length;e++){d[0]=e+1;for(var g=0;g<b.length;g++)d[g+1]=Math.min(d[g]+1,c[g+ 1]+1,c[g]+Number(a[e]!=b[g]));for(g=0;g<c.length;g++)c[g]=d[g]}return d[b.length]};
var Wb=function(a,b){this.H=a|0;this.R=b|0},Raa={},Xb={},Yb=function(a){return Ia(Raa,a,function(a){return new Wb(a,0>a?-1:0)})},Zb=function(a){a|=0;return-128<=a&&128>a?Yb(a):new Wb(a,0>a?-1:0)},bc=function(a){return isNaN(a)?Yb(0):a<=-Saa?$b():a+1>=Saa?Taa():0>a?ac(bc(-a)):new Wb(a%4294967296|0,a/4294967296|0)},cc=function(a,b){return new Wb(a,b)},dc=function(a,b){if(0==a.length)throw Error("e");b=b||10;if(2>b||36<b)throw Error("f`"+b);if("-"==a.charAt(0))return ac(dc(a.substring(1),b));if(0<=a.indexOf("-"))throw Error("g`"+
a);for(var c=bc(Math.pow(b,8)),d=Yb(0),e=0;e<a.length;e+=8){var g=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+g),b);8>g?(g=bc(Math.pow(b,g)),d=ec(d,g).add(bc(h))):(d=ec(d,c),d=d.add(bc(h)))}return d},Saa=4294967296*4294967296/2,Taa=function(){return Ia(Xb,1,function(){return cc(-1,2147483647)})},$b=function(){return Ia(Xb,2,function(){return cc(0,-2147483648)})},Uaa=function(){return Ia(Xb,6,function(){return Zb(16777216)})},fc=function(a){return 4294967296*a.R+(0<=a.H?a.H:4294967296+a.H)};
Wb.prototype.toString=function(a){a=a||10;if(2>a||36<a)throw Error("f`"+a);if(gc(this))return"0";if(0>this.R){if(this.equals($b())){var b=bc(a),c=hc(this,b);b=ic(ec(c,b),this);return c.toString(a)+b.H.toString(a)}return"-"+ac(this).toString(a)}c=bc(Math.pow(a,6));b=this;for(var d="";;){var e=hc(b,c),g=(ic(b,ec(e,c)).H>>>0).toString(a);b=e;if(gc(b))return g+d;for(;6>g.length;)g="0"+g;d=""+g+d}};var gc=function(a){return 0==a.R&&0==a.H};Wb.prototype.equals=function(a){return this.R==a.R&&this.H==a.H};
var jc=function(a,b){return a.R!=b.R||a.H!=b.H},kc=function(a,b){if(a.equals(b))return 0;var c=0>a.R,d=0>b.R;return c&&!d?-1:!c&&d?1:0>ic(a,b).R?-1:1},ac=function(a){return a.equals($b())?$b():cc(~a.H,~a.R).add(Yb(1))};Wb.prototype.add=function(a){var b=this.R>>>16,c=this.R&65535,d=this.H>>>16,e=a.R>>>16,g=a.R&65535,h=a.H>>>16;a=0+((this.H&65535)+(a.H&65535));h=0+(a>>>16)+(d+h);d=0+(h>>>16);d+=c+g;b=0+(d>>>16)+(b+e)&65535;return cc((h&65535)<<16|a&65535,b<<16|d&65535)};
var ic=function(a,b){return a.add(ac(b))},ec=function(a,b){if(gc(a)||gc(b))return Yb(0);if(a.equals($b()))return 1==(b.H&1)?$b():Yb(0);if(b.equals($b()))return 1==(a.H&1)?$b():Yb(0);if(0>a.R)return 0>b.R?ec(ac(a),ac(b)):ac(ec(ac(a),b));if(0>b.R)return ac(ec(a,ac(b)));if(0>kc(a,Uaa())&&0>kc(b,Uaa()))return bc(fc(a)*fc(b));var c=a.R>>>16,d=a.R&65535,e=a.H>>>16;a=a.H&65535;var g=b.R>>>16,h=b.R&65535,k=b.H>>>16;b=b.H&65535;var n=0+a*b;var q=0+(n>>>16)+e*b;var u=0+(q>>>16);q=(q&65535)+a*k;u+=q>>>16;u+=
d*b;var C=0+(u>>>16);u=(u&65535)+e*k;C+=u>>>16;u=(u&65535)+a*h;C=C+(u>>>16)+(c*b+d*k+e*h+a*g)&65535;return cc((q&65535)<<16|n&65535,C<<16|u&65535)},hc=function(a,b){if(gc(b))throw Error("h");if(gc(a))return Yb(0);if(a.equals($b())){if(b.equals(Yb(1))||b.equals(Yb(-1)))return $b();if(b.equals($b()))return Yb(1);var c=1;if(0==c)c=a;else{var d=a.R;c=32>c?cc(a.H>>>c|d<<32-c,d>>c):cc(d>>c-32,0<=d?0:-1)}c=lc(hc(c,b),1);if(c.equals(Yb(0)))return 0>b.R?Yb(1):Yb(-1);a=ic(a,ec(b,c));return c.add(hc(a,b))}if(b.equals($b()))return Yb(0);
if(0>a.R)return 0>b.R?hc(ac(a),ac(b)):ac(hc(ac(a),b));if(0>b.R)return ac(hc(a,ac(b)));for(d=Yb(0);0<=kc(a,b);){c=Math.max(1,Math.floor(fc(a)/fc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var g=bc(c),h=ec(g,b);0>h.R||0<kc(h,a);)c-=e,g=bc(c),h=ec(g,b);gc(g)&&(g=Yb(1));d=d.add(g);a=ic(a,h)}return d};Wb.prototype.and=function(a){return cc(this.H&a.H,this.R&a.R)};Wb.prototype.or=function(a){return cc(this.H|a.H,this.R|a.R)};
Wb.prototype.xor=function(a){return cc(this.H^a.H,this.R^a.R)};var lc=function(a,b){b&=63;if(0==b)return a;var c=a.H;return 32>b?cc(c<<b,a.R<<b|c>>>32-b):cc(0,c<<b-32)},mc=function(a,b){b&=63;if(0==b)return a;var c=a.R;return 32>b?cc(a.H>>>b|c<<32-b,c>>>b):32==b?cc(c,0):cc(c>>>b-32,0)};
var z=function(a,b,c){if(null!=a&&!b(a))throw b=Na(c),a=Ma(nc(a))+" cannot be cast to "+Ma(b),Vaa(a).H;return a};var oc=function(){},pc=function(){return!0},qc=function(a){return a===oc};oc.prototype.wa=["char",3,"C"];oc.prototype.Rn=!0;var rc=function(){},sc=function(){return!0},tc=function(a){return a===rc};rc.prototype.wa=["double",3,"D"];rc.prototype.Rn=!0;var uc=function(){},Waa=function(){return!0},Xaa=function(a){return a===uc},Yaa=Zb(0);uc.prototype.wa=["long",3,"J"];uc.prototype.Rn=!0;var vc=function(){Qa.call(this)};l(vc,sb);var Zaa=function(){var a=new vc;Ua(a);return a};vc.prototype.wa=["java.lang.AssertionError",0];var wc=function(){Qa.call(this)};l(wc,cb);var Vaa=function(a){var b=new wc;Va(b,a);return b};wc.prototype.wa=["java.lang.ClassCastException",0];var xc=function(){Qa.call(this)};l(xc,cb);var yc=function(){var a=new xc;Ua(a);return a},zc=function(a){var b=new xc;Va(b,a);return b};xc.prototype.wa=["java.lang.IllegalArgumentException",0];var Ac=function(){Qa.call(this)};l(Ac,cb);var Bc=function(){var a=new Ac;Ua(a);return a},Cc=function(a){var b=new Ac;Va(b,a);return b};Ac.prototype.wa=["java.lang.IllegalStateException",0];var Dc=function(){Qa.call(this)};l(Dc,cb);Dc.prototype.wa=["java.lang.NegativeArraySizeException",0];var Ya=function(){Qa.call(this)};l(Ya,cb);Ya.prototype.wa=["java.lang.JsException",0];var Xa=function(){Qa.call(this)};l(Xa,Ya);var Ec=function(){var a=new Xa;Ua(a);return a},Fc=function(a){var b=new Xa;Va(b,a);return b};Xa.prototype.ma=function(a){return new TypeError(a)};Xa.prototype.wa=["java.lang.NullPointerException",0];var x=function(a,b){return a===b||null==a&&null==b};m._$same=x;var Gc=function(){},Hc=function(a){var b=typeof a;return"boolean"===b||"number"===b||"string"===b?!0:null!=a&&1==a.Ah};Gc.prototype.wa=["java.lang.Comparable",1];Gc.prototype.Ah=!0;var Ic=function(){};l(Ic,w);var $aa=function(a){return"number"===typeof a||a instanceof Ic};Ic.prototype.wa=["java.lang.Number",0];var Jc=null;var aba=function(){aba=function(){};Kc=Lc([256],Mc,Nc,bba,Mc.H)},Kc=null;var Oc=function(){Oc=function(){};Pc=Qc([1.3407807929942597E154,1.157920892373162E77,3.4028236692093846E38,1.8446744073709552E19,4294967296,65536,256,16,4,2],rc,sc,tc,1);Rc=Qc([7.458340731200207E-155,8.636168555094445E-78,2.9387358770557188E-39,5.421010862427522E-20,2.3283064365386963E-10,1.52587890625E-5,.00390625,.0625,.25,.5],rc,sc,tc,1)},Pc=null,Rc=null;
var Sc=function(){};l(Sc,w);Sc.prototype.equals=function(){};Sc.prototype.qb=function(){};Sc.prototype.toString=function(){};var Tc=function(a){return"boolean"===typeof a};Sc.prototype.Mc=function(){};Sc.prototype.wa=["java.lang.Boolean",0];Sc.prototype.Ah=!0;
var Uc=function(){},Vc=function(a){return null!=a&&"function"==typeof a};Uc.prototype.wa=["JavaScriptFunction",0];var cba=function(){};cba.prototype.wa=["JavaScriptObject",0];var La=function(a){return a.uz||(Object.defineProperties(a,{uz:{value:++dba,enumerable:!1}}),a.uz)},dba=0;var Wc=function(a,b){return a.equals?a.equals(b):a===b},$c=function(a){if(a.qb)return a.qb();var b=typeof a;return"number"==b?Xc(Yc(a)):"boolean"==b?Yc(a)?1231:1237:"string"==b?Zc(a):La(a)},ad=function(a){return a instanceof Array?Ma(eba(a))+"@"+(La(a)>>>0).toString(16):a.toString()},nc=function(a){var b=typeof a;if("number"==b)return Na(bd);if("boolean"==b)return Na(Sc);if("string"==b)return Na(cd);if(a instanceof Array)return eba(a);if(a instanceof w)return Na(a.constructor);if(a)return Na("function"== b?Uc:cba);throw new TypeError("null.getClass");};
var dd=function(a){return Zb(a|0)},fba=function(a,b){if(gc(b))throw waa().H;return hc(a,b)};var ed=function(a){if(!isFinite(a))throw waa().H;return a|0},Xc=function(a){return Math.max(Math.min(a,2147483647),-2147483648)|0};var bd=function(){};l(bd,Ic);
var gba=function(){var a=Math.random();if(isNaN(a))return cc(0,2146959360);var b=!1;if(0==a)return-Infinity==1/a?cc(0,-2147483648):cc(0,0);0>a&&(b=!0,a=-a);if(!isNaN(a)&&!isFinite(a))return b?cc(0,-1048576):cc(0,2146435072);var c=0;if(1>a){for(var d=512,e=0;10>e;e++,d>>=1)a<(Oc(),Rc)[e]&&-1023<=c-d&&(a*=(Oc(),Pc)[e],c-=d);1>a&&-1023<=c-1&&(a*=2,c--)}else if(2<=a)for(d=512,e=0;10>e;e++,d>>=1)a>=(Oc(),Pc)[e]&&(a*=(Oc(),Rc)[e],c+=d);a=-1023<c?a-1:.5*a;d=bc(1048576*a);a-=9.5367431640625E-7*fc(d);a=bc(4503599627370496*
a);d=d.or(dd(c+1023<<20));b&&(d=d.or(cc(-2147483648,0)));return lc(d,dd(32).H).or(a)},hba=function(a){null==Jc&&(Jc=/^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/);if(!Jc.test(a))throw fd(a).H;return parseFloat(a)};f=bd.prototype;f.vx=function(){};f.equals=function(){};f.qb=function(){};f.oh=function(){};f.vp=function(){};f.toString=function(){};var iba=function(a){return"number"===typeof a};bd.prototype.Mc=function(){};bd.prototype.wa=["java.lang.Double",0]; bd.prototype.Ah=!0;
var gd=function(a){return 0>kc(a,dd(0))?ac(a):a};var Mc=function(){this.H=cc(0,0)};l(Mc,Ic);
var pd=function(a,b){if(null==a)throw hd("null").H;if(2>b||36<b)throw hd("radix "+b+" out of range").H;var c=a,d=a.length,e=!1;if(0<d){var g=id(a,0);if(45==g||43==g)a=a.substr(1),d--,e=45==g}if(0==d)throw fd(c).H;for(;0<a.length&&48==id(a,0);)a=a.substr(1),d--;if(d>(jd(),jba)[b])throw fd(c).H;for(g=0;g<d;g++)if(-1==kd(id(a,g),b))throw fd(c).H;g=dd(0);var h=(jd(),ld)[b],k=dd(md[b]),n=ac(nd[b]),q=!0,u=ed(d%h);0<u&&(g=dd(-parseInt(od(a,0,u),b)),a=a.substr(u),d-=u,q=!1);for(;d>=h;){u=parseInt(od(a,0,
h),b);a=a.substr(h);d-=h;if(q)q=!1;else{if(0>kc(g,n))throw fd(c).H;g=ec(g,k)}g=ic(g,dd(u))}if(0<kc(g,dd(0)))throw fd(c).H;if(!e&&(g=ac(g),0>kc(g,dd(0))))throw fd(c).H;return g},sd=function(a){if(0>=kc(dd(-2147483648),a)&&0>=kc(a,dd(2147483647)))a=a.H.toString(16);else{var b=ed(16)+1,c=Lc([b],oc,pc,qc,0),d=b;do qd(c,--d,kba(a.H&15)),a=mc(a,dd(4).H);while(jc(a,dd(0)));a=rd(c,d,b-d)}return a},td=function(a){if(0<kc(a,dd(-129))&&0>kc(a,dd(128))){var b=a.H+128,c=(aba(),Kc)[b];null==c&&(c=qd(Kc,b,lba(a)));
return c}return lba(a)},lba=function(a){var b=new Mc;b.H=a;return b};f=Mc.prototype;f.vx=function(){return fc(this.H)};f.equals=function(a){var b;if(b=Nc(a))b=z(a,Nc,Mc).H.equals(this.H);return b};f.qb=function(){return this.H.H};f.oh=function(){return this.H.H};f.vp=function(){return this.H};f.toString=function(){return""+this.H};f.Mc=function(a){var b=z(a,Nc,Mc);a=this.H;b=b.H;return 0>kc(a,b)?-1:0<kc(a,b)?1:0};var Nc=function(a){return a instanceof Mc},bba=function(a){return Ja(a,Mc)}; Mc.prototype.wa=["java.lang.Long",0];var mba=cc(-1,2147483647);Mc.prototype.Ah=!0;
var jd=function(){jd=function(){};ld=Qc([-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5],mb,nb,ob,1);md=Lc([37],mb,nb,ob,0);jba=Qc([-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13],mb,nb,ob,1);nd=Lc([37],uc,Waa,Xaa,Yaa);for(var a=2;36>=a;a++)qd(md,a,Xc(Math.pow(a,ld[a]))),qd(nd,a,fba(mba,dd(md[a])))},ld=null,md=null,jba=null,nd=null;
var ud=function(){Qa.call(this)};l(ud,xc);var fd=function(a){return hd('For input string: "'+y(a)+'"')},hd=function(a){var b=new ud;Va(b,a);return b};ud.prototype.wa=["java.lang.NumberFormatException",0];var nba=function(){nba=function(){};vd=Lc([256],wd,xd,oba,wd.H)},vd=null;var wd=function(){this.H=0};l(wd,Ic);var yd=function(a){if(null==a)throw hd("null").H;for(var b=a.length,c=0<b&&(45==id(a,0)||43==id(a,0))?1:0;c<b;c++)if(-1==kd(id(a,c),10))throw fd(a).H;b=parseInt(a,10);c=-2147483648>b;if(isNaN(b))throw fd(a).H;if(c||2147483647<b)throw fd(a).H;return b},zd=function(a){if(-129<a&&128>a){var b=a+128,c=(nba(),vd)[b];null==c&&(c=qd(vd,b,pba(a)));return c}return pba(a)},pba=function(a){var b=new wd;b.H=a;return b};f=wd.prototype;f.vx=function(){return this.H};
f.equals=function(a){return xd(a)&&z(a,xd,wd).H==this.H};f.qb=function(){return this.H};f.oh=function(){return this.H};f.vp=function(){return dd(this.H)};f.toString=function(){return""+this.H};f.Mc=function(a){var b=z(a,xd,wd);a=this.H;b=b.H;return a<b?-1:a>b?1:0};var xd=function(a){return a instanceof wd},oba=function(a){return Ja(a,wd)};wd.prototype.wa=["java.lang.Integer",0];wd.prototype.Ah=!0;
var Lc=function(a,b,c,d,e){return qba(a,e,Ad(b,c,d,a.length))},qba=function(a,b,c){var d=a[0];if(null==d)return null;var e=[];e.length=d;c&&(e.Ul=c);if(1<a.length){a=a.slice(1);c=c&&Ad(c.mp,c.rx,c.qx,c.Fj-1);for(var g=0;g<d;g++)e[g]=qba(a,b,c)}else if(void 0!==b)for(a=0;a<d;a++)e[a]=b;return e},Qc=function(a,b,c,d,e){return rba(a,Ad(b,c,d,e))},rba=function(a,b){a.Ul=b;if(1<b.Fj){b=Ad(b.mp,b.rx,b.qx,b.Fj-1);for(var c=0;c<a.length;c++){var d=a[c];d&&rba(d,b)}}return a},qd=function(a,b,c){var d;if(!(d=
null==c))a:{if(d=a.Ul)if(1<d.Fj){if(!sba(c,d.mp,d.qx,d.Fj-1)){d=!1;break a}}else if(null!=c&&!d.rx(c)){d=!1;break a}d=!0}if(!d)throw a=new rb,Ua(a),a.H;return a[b]=c},sba=function(a,b,c,d){if(null==a||!Array.isArray(a))return!1;a=a.Ul||{Fj:1};var e=a.Fj;return e==d?c(a.mp):e>d?w==b:!1},Bd=function(a,b,c){if(null!=a&&!sba(a,b,c,1))throw b=Na(b,1),a=Ma(nc(a))+" cannot be cast to "+Ma(b),Vaa(a).H;return a},eba=function(a){return(a=a.Ul)?Na(a.mp,a.Fj):Na(w,1)},Ad=function(a,b,c,d){return{mp:a,rx:b,qx:c, Fj:d}};
var Cd=function(){},tba=function(a){return null!=a&&!!a.nq};Cd.prototype.wa=["java.util.Comparator",1];Cd.prototype.nq=!0;var Dd=function(){};l(Dd,w);Dd.prototype.R=function(a,b){a=z(a,Hc,Gc);var c=z(b,Hc,Gc);b=z(Yc(a),Hc,Gc);a=Yc(c);c=typeof b;"number"==c?(a=z(a,iba,bd),b=Yc(b),a=Yc(a),b=b<a?-1:b>a?1:b==a?0:isNaN(b)?isNaN(a)?0:1:-1):"boolean"==c?(a=z(a,Tc,Sc),b=Yc(b),a=Yc(a),b=b==a?0:b?1:-1):b="string"==c?Ed(b,z(a,Fd,cd)):b.Mc(a);return b};Dd.prototype.wa=["java.util.Comparators$NaturalOrderComparator",0];Dd.prototype.nq=!0;
var uba=function(){uba=function(){};vba=new Dd},vba=null;var Gd=function(){},wba=function(){return!0},xba=function(a){return a===Gd};Gd.prototype.wa=["byte",3,"B"];Gd.prototype.Rn=!0;var Hd=function(a,b){return x(a,b)||null!=a&&Wc(a,b)},Id=function(a){return null!=a?$c(a):0},Jd=function(a,b){if(null==a)throw Fc(b).H;return a};var Kd=function(){},yba=function(a){return null!=a&&!!a.tf};Kd.prototype.wa=["java.util.Collection",1];Kd.prototype.tf=!0;var Ld=function(){},Md=function(a){return null!=a&&!!a.Ak};Ld.prototype.wa=["java.util.List",1];Ld.prototype.tf=!0;Ld.prototype.Ak=!0;var Nd=function(){};Nd.prototype.sd=function(){};var zba=function(a){return null!=a&&!!a.qe};Nd.prototype.wa=["java.util.Iterator",1];Nd.prototype.qe=!0;var Od=function(){},Aba=function(a){return null!=a&&!!a.Xl};Od.prototype.wa=["java.util.ListIterator",1];Od.prototype.qe=!0;Od.prototype.Xl=!0;var Pd=function(a){return null!=a&&!!a.Bk};var Qd=function(){this.R=null;this.H=this.S=0};l(Qd,w);f=Qd.prototype;f.Wa=function(){return this.S<this.R.H.length};f.Ya=function(){Rd(this.Wa());this.H=this.S++;return this.R.H[this.H]};f.sd=function(){Sd(-1!=this.H);this.R.$e(this.S=this.H);this.H=-1};f.wa=["java.util.ArrayList$1",0];f.qe=!0;
var Td=function(a,b){a.Ul=b.Ul;return a};var Ud=function(a,b,c,d){var e=0;x(a,b)&&(a=a.slice(e,e+d),e=0);var g=e;for(e+=d;g<e;){var h=Math.min(g+1E4,e);d=h-g;g=a.slice(g,h);g.splice(0,0,c,0);Array.prototype.splice.apply(b,g);g=h;c+=d}};var Vd=function(){};l(Vd,w);f=Vd.prototype;f.add=function(){throw kb("Add not supported on this collection").H;};f.addAll=function(a){Yc(a);var b=!1;for(a=a.Xa();a.Wa();){var c=a.Ya();b=!!(b|this.add(c))}return b};f.clear=function(){for(var a=this.Xa();a.Wa();)a.Ya(),a.sd()};f.contains=function(a){return Bba(this,a,!1)};f.ej=function(a){Yc(a);for(a=a.Xa();a.Wa();){var b=a.Ya();if(!this.contains(b))return!1}return!0};f.isEmpty=function(){return 0==this.size()};
f.remove=function(a){return Bba(this,a,!0)};f.removeAll=function(a){Yc(a);for(var b=!1,c=this.Xa();c.Wa();){var d=c.Ya();a.contains(d)&&(c.sd(),b=!0)}return b};f.Fn=function(a){Yc(a);for(var b=!1,c=this.Xa();c.Wa();){var d=c.Ya();a.contains(d)||(c.sd(),b=!0)}return b};f.Rc=function(){return this.Fd(Array(this.size()))};f.Fd=function(a){var b=this.size();a.length<b&&(a=Td(Array(b),a));for(var c=a,d=this.Xa(),e=0;e<b;++e)qd(c,e,d.Ya());a.length>b&&qd(a,b,null);return a};
f.toString=function(){for(var a=Cba("[","]"),b=this.Xa();b.Wa();){var c=b.Ya(),d=a;c=x(c,this)?"(this Collection)":y(c);Dba(d);d=d.H;d.H=y(d.H)+y(c)}return a.toString()};var Bba=function(a,b,c){for(a=a.Xa();a.Wa();){var d=a.Ya();if(Hd(b,d))return c&&a.sd(),!0}return!1};Vd.prototype.wa=["java.util.AbstractCollection",0];Vd.prototype.tf=!0;
var Wd=function(){};l(Wd,Vd);f=Wd.prototype;f.add=function(a){this.ag(this.size(),a);return!0};f.ag=function(){throw kb("Add not supported on this list").H;};f.di=function(a,b){Yc(b);var c=!1;for(b=b.Xa();b.Wa();)c=b.Ya(),this.ag(a++,c),c=!0;return c};f.clear=function(){this.jt(0,this.size())};f.equals=function(a){if(x(a,this))return!0;if(!Md(a))return!1;a=z(a,Md,Ld);if(this.size()!=a.size())return!1;a=a.Xa();for(var b=this.Xa();b.Wa();){var c=b.Ya(),d=a.Ya();if(!Hd(c,d))return!1}return!0};
f.qb=function(){Xd();for(var a=1,b=this.Xa();b.Wa();){var c=b.Ya();a=31*a+Id(c);a|=0}return a};f.indexOf=function(a){for(var b=0,c=this.size();b<c;++b)if(Hd(a,this.Vb(b)))return b;return-1};f.Xa=function(){var a=new Yd;a.S=this;a.H=0;a.R=-1;return a};f.lastIndexOf=function(a){for(var b=this.size()-1;-1<b;--b)if(Hd(a,this.Vb(b)))return b;return-1};f.ek=function(){return this.De(0)};f.De=function(a){var b=new Zd;b.U=this;b.S=this;b.H=0;b.R=-1;$d(a,this.size());b.H=a;return b};
f.$e=function(){throw kb("Remove not supported on this list").H;};f.ke=function(){throw kb("Set not supported on this list").H;};f.Wd=function(a,b){var c=new ae;Eba(a,b,this.size());c.S=this;c.R=a;c.H=b-a;return c};f.jt=function(a,b){for(var c=this.De(a);a<b;++a)c.Ya(),c.sd()};f.wa=["java.util.AbstractList",0];f.tf=!0;f.Ak=!0;
var be=function(){this.H=null};l(be,Wd);var de=function(){var a=new be;ce(a);return a},ee=function(a){var b=new be;ce(b);var c=z(b.H,Oa,w);a=a.Rc();Ud(a,c,0,a.length);return b},ge=function(a){var b=new be;ce(b);fe(0<=a,"Initial capacity must not be negative");return b};f=be.prototype;f.add=function(a){qd(this.H,this.H.length,a);return!0};f.ag=function(a,b){$d(a,this.H.length);z(this.H,Oa,w).splice(a,0,b)};
f.addAll=function(a){a=a.Rc();if(0==a.length)return!1;var b=z(this.H,Oa,w);Ud(a,b,this.H.length,a.length);return!0};f.di=function(a,b){$d(a,this.H.length);b=b.Rc();if(0==b.length)return!1;var c=z(this.H,Oa,w);Ud(b,c,a,b.length);return!0};f.clear=function(){this.H=Bd([],w,Pa)};f.contains=function(a){return-1!=this.indexOf(a)};f.Vb=function(a){he(a,this.H.length);return this.H[a]};f.indexOf=function(a){a:{for(var b=0;b<this.H.length;++b)if(Hd(a,this.H[b])){a=b;break a}a=-1}return a};
f.Xa=function(){var a=new Qd;a.R=this;a.S=0;a.H=-1;return a};f.isEmpty=function(){return 0==this.H.length};f.lastIndexOf=function(a){a:{for(var b=this.size()-1;0<=b;--b)if(Hd(a,this.H[b])){a=b;break a}a=-1}return a};f.$e=function(a){var b=this.Vb(a);z(this.H,Oa,w).splice(a,1);return b};f.remove=function(a){a=this.indexOf(a);if(-1==a)return!1;this.$e(a);return!0};f.ke=function(a,b){var c=this.Vb(a);qd(this.H,a,b);return c};f.size=function(){return this.H.length};
f.Rc=function(){var a=this.H;return Td(a.slice(0,this.H.length),a)};f.Fd=function(a){var b=this.H.length;a.length<b&&(a=Td(Array(b),a));for(var c=0;c<b;++c)qd(a,c,z(this.H[c],Oa,w));a.length>b&&qd(a,b,null);return a};f.jt=function(a,b){Eba(a,b,this.H.length);b-=a;z(this.H,Oa,w).splice(a,b)};var ce=function(a){a.H=Bd([],w,Pa)};be.prototype.wa=["java.util.ArrayList",0];be.prototype.tf=!0;be.prototype.Ak=!0;be.prototype.Bk=!0;
var ie=function(){};l(ie,Wd);f=ie.prototype;f.contains=function(){return!1};f.Vb=function(a){he(a,0);return null};f.Xa=function(){return Fba()};f.ek=function(){Xd();return z((je(),ke),Aba,Od)};f.size=function(){return 0};f.wa=["java.util.Collections$EmptyList",0];f.Bk=!0;
var le=function(){Qa.call(this)};l(le,cb);var me=function(){var a=new le;Ua(a);return a};le.prototype.wa=["java.util.NoSuchElementException",0];var ne=function(){};l(ne,w);f=ne.prototype;f.wn=function(){throw ib().H;};f.Wa=function(){return!1};f.Xi=function(){return!1};f.Ya=function(){throw me().H;};f.pn=function(){return 0};f.tn=function(){throw me().H;};f.rn=function(){return-1};f.sd=function(){throw Bc().H;};f.Bl=function(){throw Bc().H;};var je=function(){je=function(){};ke=new ne};ne.prototype.wa=["java.util.Collections$EmptyListIterator",0];var ke=null;ne.prototype.qe=!0;ne.prototype.Xl=!0;
var oe=function(){},pe=function(a){return null!=a&&!!a.pq};oe.prototype.wa=["java.util.Map$Entry",1];oe.prototype.pq=!0;var qe=function(){},re=function(a){return null!=a&&!!a.qq};qe.prototype.wa=["java.util.Set",1];qe.prototype.tf=!0;qe.prototype.qq=!0;var se=function(){};se.prototype.fj=function(){};se.prototype.replace=function(){};var te=function(a){return null!=a&&!!a.oq};se.prototype.wa=["java.util.Map",1];se.prototype.oq=!0;var ue=function(a,b,c){var d=a.Gc(b);return null!=d||a.Le(b)?d:c},ve=function(a,b,c){return a.Le(b)?a.put(b,c):null};var we=function(){};l(we,Vd);f=we.prototype;f.equals=function(a){if(x(a,this))return!0;if(!re(a))return!1;a=z(a,re,qe);return a.size()!=this.size()?!1:this.ej(a)};f.qb=function(){return Gba(this)};f.removeAll=function(a){Yc(a);var b=this.size();if(b<a.size())for(var c=this.Xa();c.Wa();){var d=c.Ya();a.contains(d)&&c.sd()}else for(a=a.Xa();a.Wa();)c=a.Ya(),this.remove(c);return b!=this.size()};f.wa=["java.util.AbstractSet",0];f.tf=!0;f.qq=!0;
var xe=function(){this.H=null};l(xe,w);f=xe.prototype;f.Wa=function(){return this.H.Wa()};f.Ya=function(){return z(this.H.Ya(),pe,oe).Nc()};f.sd=function(){this.H.sd()};f.wa=["java.util.AbstractMap$1$1",0];f.qe=!0;var ye=function(){this.H=null};l(ye,we);f=ye.prototype;f.clear=function(){this.H.clear()};f.contains=function(a){return this.H.Le(a)};f.Xa=function(){var a=this.H.qd().Xa(),b=new xe;b.H=a;return b};f.remove=function(a){return this.H.Le(a)?(this.H.remove(a),!0):!1};f.size=function(){return this.H.size()};f.wa=["java.util.AbstractMap$1",0];
var ze=function(){this.H=null};l(ze,w);f=ze.prototype;f.Wa=function(){return this.H.Wa()};f.Ya=function(){return z(this.H.Ya(),pe,oe).Oc()};f.sd=function(){this.H.sd()};f.wa=["java.util.AbstractMap$2$1",0];f.qe=!0;var Ae=function(){this.H=null};l(Ae,Vd);f=Ae.prototype;f.clear=function(){this.H.clear()};f.contains=function(a){return this.H.dg(a)};f.Xa=function(){var a=this.H.qd().Xa(),b=new ze;b.H=a;return b};f.size=function(){return this.H.size()};f.wa=["java.util.AbstractMap$2",0];
var Be=function(){this.H=this.R=null};l(Be,w);f=Be.prototype;f.Nc=function(){return this.R};f.Oc=function(){return this.H};f.yx=function(a){var b=this.H;this.H=a;return b};f.equals=function(a){if(!pe(a))return!1;a=z(a,pe,oe);return Hd(this.R,a.Nc())&&Hd(this.H,a.Oc())};f.qb=function(){return Id(this.R)^Id(this.H)};f.toString=function(){return y(this.R)+"="+y(this.H)};f.wa=["java.util.AbstractMap$AbstractEntry",0];f.pq=!0;
var Hba=function(){Be.call(this)};l(Hba,Be);var Iba=function(a,b){var c=new Hba;c.R=a;c.H=b;return c};Hba.prototype.wa=["java.util.AbstractMap$SimpleEntry",0];var Ce=function(a,b){return"string"==typeof a?id(a,b):a.Fx(b)};var De=function(){this.V=this.H=this.R=this.S=this.U=null};l(De,w);var Cba=function(a,b){var c=new De;c.U=", ".toString();c.S=a.toString();c.R=b.toString();c.V=y(c.S)+y(c.R);return c};De.prototype.toString=function(){return null==this.H?this.V:Ee(this.R)?this.H.toString():y(this.H.toString())+y(this.R)};var Dba=function(a){if(null==a.H){var b=new Fe,c=z(Yc(a.S),Fd,cd);b.H=c;a.H=b}else Ge(a.H,a.U)};De.prototype.wa=["java.util.StringJoiner",0];
var He=function(){};l(He,w);He.prototype.clear=function(){this.qd().clear()};He.prototype.Le=function(a){return null!=Jba(this,a,!1)};He.prototype.dg=function(a){for(var b=this.qd().Xa();b.Wa();){var c=z(b.Ya(),pe,oe).Oc();if(Hd(a,c))return!0}return!1};var Kba=function(a,b){var c=b.Nc();b=b.Oc();var d=a.Gc(c);return!Hd(b,d)||null==d&&!a.Le(c)?!1:!0};f=He.prototype;
f.equals=function(a){if(x(a,this))return!0;if(!te(a))return!1;a=z(a,te,se);if(this.size()!=a.size())return!1;for(a=a.qd().Xa();a.Wa();){var b=z(a.Ya(),pe,oe);if(!Kba(this,b))return!1}return!0};f.Gc=function(a){return Ie(Jba(this,a,!1))};f.qb=function(){return Gba(this.qd())};f.isEmpty=function(){return 0==this.size()};f.ve=function(){var a=new ye;a.H=this;return a};f.put=function(){throw kb("Put not supported on this map").H;};
f.Ap=function(a){Yc(a);for(a=a.qd().Xa();a.Wa();){var b=z(a.Ya(),pe,oe);this.put(b.Nc(),b.Oc())}};f.remove=function(a){return Ie(Jba(this,a,!0))};f.size=function(){return this.qd().size()};f.toString=function(){for(var a=Cba("{","}"),b=this.qd().Xa();b.Wa();){var c=z(b.Ya(),pe,oe);var d=y(Lba(this,c.Nc()))+"="+y(Lba(this,c.Oc()));c=a;Dba(c);c=c.H;c.H=y(c.H)+y(d)}return a.toString()};var Lba=function(a,b){return x(b,a)?"(this Map)":y(b)};He.prototype.values=function(){var a=new Ae;a.H=this;return a};
var Ie=function(a){return null==a?null:a.Oc()},Jba=function(a,b,c){for(a=a.qd().Xa();a.Wa();){var d=z(a.Ya(),pe,oe),e=d.Nc();if(Hd(b,e))return c&&(d=Iba(d.Nc(),d.Oc()),a.sd()),d}return null};He.prototype.wa=["java.util.AbstractMap",0];He.prototype.oq=!0;
var Mba=function(){};l(Mba,He);f=Mba.prototype;f.Le=function(){return!1};f.dg=function(){return!1};f.qd=function(){return Xd(),Je};f.Gc=function(){return null};f.ve=function(){return Xd(),Je};f.size=function(){return 0};f.values=function(){return Xd(),Nba};f.fj=function(a,b){return ue(this,a,b)};f.replace=function(a,b){return ve(this,a,b)};f.wa=["java.util.Collections$EmptyMap",0];
var Ke=function(){};l(Ke,we);Ke.prototype.contains=function(){return!1};Ke.prototype.Xa=function(){return Fba()};Ke.prototype.size=function(){return 0};Ke.prototype.wa=["java.util.Collections$EmptySet",0];var Oba=function(){};l(Oba,Vd);f=Oba.prototype;f.add=function(a){if(!this.fE(a))throw Cc(y("Unable to add element to queue")).H;return!0};f.addAll=function(a){Yc(a);fe(!x(a,this),"Can't add a queue to itself");return Vd.prototype.addAll.call(this,a)};f.clear=function(){for(;null!=this.Al(););};f.ot=function(){var a=this.Al();if(null==a){a=y("Queue is empty");var b=new le;Va(b,a);throw b.H;}return a};f.wa=["java.util.AbstractQueue",0];f.tf=!0;
var Pba=function(){this.H=this.R=0};l(Pba,w);
var Tba=function(){Qba();var a=new Pba,b=Rba++ +Date.now(),c=Xc(Math.floor(5.9604644775390625E-8*b))&16777215;b=Xc(b-16777216*c);a.R=c^1502;a.H=b^15525485;c=bc(Sba(a));c=lc(c,dd(32).H);a=bc(Sba(a));return c.add(a)},Sba=function(a){var b=15525485*a.R+1502*a.H,c=15525485*a.H+11,d=Math.floor(5.9604644775390625E-8*c);a.R=(b+d)%16777216;a.H=c-16777216*d;a=256*a.R+Math.floor(a.H*Uba[32]);2147483648<=a&&(a-=4294967296);return a},Qba=function(){Qba=function(){};Vba=Lc([25],rc,sc,tc,0);Uba=Lc([33],rc,sc,tc, 0);Rba=0;for(var a=1.52587890625E-5,b=32;0<=b;b--)qd(Uba,b,a),a*=.5;a=1;for(b=24;0<=b;b--)qd(Vba,b,a),a*=.5};Pba.prototype.wa=["java.util.Random",0];var Vba=null,Uba=null,Rba=0;
var Le=function(){this.R=this.H=null};l(Le,we);f=Le.prototype;f.add=function(a){return null==this.H.put(a,!0)};f.clear=function(){this.H.clear()};f.contains=function(a){return this.H.Le(a)};f.equals=function(a){return x(a,this)||Wc(Me(this),a)};f.qb=function(){return $c(Me(this))};f.Xa=function(){return Me(this).Xa()};f.remove=function(a){return null!=this.H.remove(a)};f.size=function(){return Me(this).size()};f.toString=function(){return ad(Me(this))}; var Me=function(a){null==a.R&&(a.R=a.H.ve());return a.R};Le.prototype.wa=["java.util.Collections$SetFromMap",0];
var Ne=function(){this.H=null};l(Ne,Wd);Ne.prototype.contains=function(a){return Hd(this.H,a)};Ne.prototype.Vb=function(a){he(a,1);return this.H};Ne.prototype.size=function(){return 1};Ne.prototype.wa=["java.util.Collections$SingletonList",0];var Oe=function(){this.H=null};l(Oe,w);f=Oe.prototype;f.Wa=function(){return this.H.Wa()};f.Ya=function(){return this.H.Ya()};f.sd=function(){throw ib().H;};f.wa=["java.util.Collections$UnmodifiableCollectionIterator",0];f.qe=!0;var Pe=function(){this.H=null};l(Pe,w);var Wba=function(a){var b=new Pe;b.H=a;return b};f=Pe.prototype;f.add=function(){throw ib().H;};f.addAll=function(){throw ib().H;};f.clear=function(){throw ib().H;};f.contains=function(a){return this.H.contains(a)};f.ej=function(a){return this.H.ej(a)};f.isEmpty=function(){return this.H.isEmpty()};f.Xa=function(){var a=this.H.Xa(),b=new Oe;b.H=a;return b};f.remove=function(){throw ib().H;};f.removeAll=function(){throw ib().H;};f.Fn=function(){throw ib().H;}; f.size=function(){return this.H.size()};f.Rc=function(){return this.H.Rc()};f.Fd=function(a){return this.H.Fd(a)};f.toString=function(){return ad(this.H)};f.wa=["java.util.Collections$UnmodifiableCollection",0];f.tf=!0;
var Xba=function(){this.R=this.H=null};l(Xba,Oe);f=Xba.prototype;f.wn=function(){throw ib().H;};f.Xi=function(){return this.R.Xi()};f.pn=function(){return this.R.pn()};f.tn=function(){return this.R.tn()};f.rn=function(){return this.R.rn()};f.Bl=function(){throw ib().H;};f.wa=["java.util.Collections$UnmodifiableListIterator",0];f.qe=!0;f.Xl=!0;
var Qe=function(){this.R=this.H=null};l(Qe,Pe);var Yba=function(a){var b=new Qe;b.H=a;b.R=a;return b};f=Qe.prototype;f.ag=function(){throw ib().H;};f.di=function(){throw ib().H;};f.equals=function(a){return Wc(this.R,a)};f.Vb=function(a){return this.R.Vb(a)};f.qb=function(){return $c(this.R)};f.indexOf=function(a){return this.R.indexOf(a)};f.isEmpty=function(){return this.R.isEmpty()};f.lastIndexOf=function(a){return this.R.lastIndexOf(a)};f.ek=function(){return this.De(0)}; f.De=function(a){a=this.R.De(a);var b=new Xba;b.H=a;b.R=a;return b};f.$e=function(){throw ib().H;};f.ke=function(){throw ib().H;};f.Wd=function(a,b){return Yba(this.R.Wd(a,b))};f.wa=["java.util.Collections$UnmodifiableList",0];f.tf=!0;f.Ak=!0;
var Re=function(){this.H=null};l(Re,Pe);var Zba=function(a){var b=new Re;b.H=a;return b};f=Re.prototype;f.equals=function(a){return Wc(this.H,a)};f.qb=function(){return $c(this.H)};f.wa=["java.util.Collections$UnmodifiableSet",0];f.tf=!0;f.qq=!0;var $ba=function(){this.H=null};l($ba,w);var aca=function(a){var b=new $ba;b.H=a;return b};f=$ba.prototype;f.equals=function(a){return this.H.equals(a)};f.Nc=function(){return this.H.Nc()};f.Oc=function(){return this.H.Oc()};f.qb=function(){return this.H.qb()};f.yx=function(){throw ib().H;};f.toString=function(){return ad(this.H)};f.wa=["java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry",0];f.pq=!0;
var bca=function(){this.H=null};l(bca,w);f=bca.prototype;f.Wa=function(){return this.H.Wa()};f.Ya=function(){return aca(z(this.H.Ya(),pe,oe))};f.sd=function(){throw ib().H;};f.wa=["java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1",0];f.qe=!0;
var Se=function(){this.H=null};l(Se,Re);f=Se.prototype;f.contains=function(a){return this.H.contains(a)};f.ej=function(a){return this.H.ej(a)};f.Xa=function(){var a=z(this.H.Xa(),zba,Nd),b=new bca;b.H=a;return b};f.Rc=function(){var a=Re.prototype.Rc.call(this);cca(a,a.length);return a};f.Fd=function(a){a=Re.prototype.Fd.call(this,a);cca(a,this.H.size());return Bd(a,w,Pa)};var cca=function(a,b){for(var c=0;c<b;++c)qd(a,c,aca(z(a[c],pe,oe)))}; Se.prototype.wa=["java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet",0];
var dca=function(){this.U=this.H=this.S=this.R=null};l(dca,w);f=dca.prototype;f.clear=function(){throw ib().H;};f.Le=function(a){return this.H.Le(a)};f.dg=function(a){return this.H.dg(a)};f.qd=function(){if(null==this.R){var a=this.H.qd(),b=new Se;a=z(a,re,qe);b.H=a;this.R=b}return this.R};f.equals=function(a){return Wc(this.H,a)};f.Gc=function(a){return this.H.Gc(a)};f.qb=function(){return $c(this.H)};f.isEmpty=function(){return this.H.isEmpty()};
f.ve=function(){null==this.S&&(this.S=Zba(this.H.ve()));return this.S};f.put=function(){throw ib().H;};f.Ap=function(){throw ib().H;};f.remove=function(){throw ib().H;};f.size=function(){return this.H.size()};f.toString=function(){return ad(this.H)};f.values=function(){null==this.U&&(this.U=Wba(this.H.values()));return this.U};f.fj=function(a,b){return ue(this,a,b)};f.replace=function(a,b){return ve(this,a,b)};f.wa=["java.util.Collections$UnmodifiableMap",0];f.oq=!0;
var Te=function(){Qe.call(this)};l(Te,Qe);Te.prototype.wa=["java.util.Collections$UnmodifiableRandomAccessList",0];Te.prototype.Bk=!0;var Ue=function(){},Ve=function(){return!0};Ue.prototype.wa=["*",1];var eca=function(){Qa.call(this)};l(eca,cb);eca.prototype.wa=["java.util.ConcurrentModificationException",0];var We=function(a){a=z(a,Ve,Ue);a.Ck=(a.Ck|0)+1},fca=function(a,b){if(z(b,Ve,Ue).Ck!=z(a,Ve,Ue).Ck)throw a=new eca,Ua(a),a.H;};var Xe=function(){this.U=this.H=this.V=this.R=null;this.S=!1};l(Xe,w);Xe.prototype.Wa=function(){return this.S};var gca=function(a){if(a.H.Wa())return!0;if(!x(a.H,a.V))return!1;a.H=a.R.H.Xa();return a.H.Wa()};Xe.prototype.Ya=function(){fca(this.R,this);Rd(this.Wa());this.U=this.H;var a=z(this.H.Ya(),pe,oe);this.S=gca(this);return a};Xe.prototype.sd=function(){Sd(null!=this.U);fca(this.R,this);this.U.sd();this.U=null;this.S=gca(this);var a=this.R;z(this,Ve,Ue).Ck=z(a,Ve,Ue).Ck}; Xe.prototype.wa=["java.util.AbstractHashMap$EntrySetIterator",0];Xe.prototype.qe=!0;
var hca=function(){this.H=null};l(hca,we);f=hca.prototype;f.clear=function(){this.H.clear()};f.contains=function(a){return pe(a)?Kba(this.H,z(a,pe,oe)):!1};f.Xa=function(){var a=new Xe,b=this.H;a.R=b;a.V=a.R.R.Xa();a.H=a.V;a.S=gca(a);z(a,Ve,Ue).Ck=z(b,Ve,Ue).Ck;return a};f.remove=function(a){return this.contains(a)?(a=z(a,pe,oe).Nc(),this.H.remove(a),!0):!1};f.size=function(){return this.H.size()};f.wa=["java.util.AbstractHashMap$EntrySet",0];
var ica=function(){this.V=this.U=null;this.H=0;this.S=this.R=null};l(ica,w);f=ica.prototype;f.Wa=function(){if(this.H<this.R.length)return!0;var a=this.V.next();return a.done?!1:(this.R=a.value[1],this.H=0,!0)};f.Ya=function(){return this.S=this.R[this.H++]};f.sd=function(){jca(this.U,this.S.Nc());0!=this.H&&this.H--};f.wa=["java.util.InternalHashCodeMap$1",0];f.qe=!0;
var Ye=function(){this.H=this.R=null;this.S=0};l(Ye,w);
var mca=function(a,b,c){var d=null==b?0:a.H.et(b),e=kca(a,d);if(0==e.length)a.R.set(d,e);else if(d=lca(a,b,e),null!=d)return d.yx(c);qd(e,e.length,Iba(b,c));a.S++;We(a.H);return null},jca=function(a,b){for(var c=null==b?0:a.H.et(b),d=kca(a,c),e=0;e<d.length;e++){var g=d[e];if(a.H.ct(b,g.Nc()))return 1==d.length?(d.length=0,b=a.R,b["delete"].call(b,c)):d.splice(e,1),a.S--,We(a.H),g.Oc()}return null},Ze=function(a,b){return lca(a,b,kca(a,null==b?0:a.H.et(b)))},lca=function(a,b,c){for(var d=0;d<c.length;d++){var e=
c[d];if(a.H.ct(b,e.Nc()))return e}return null};Ye.prototype.Hc=function(){return this.S};Ye.prototype.Xa=function(){var a=new ica;a.U=this;a.V=a.U.R.entries();a.H=0;a.R=[];a.S=null;return a};var kca=function(a,b){a=a.R.get(b);return null==a?[]:a};Ye.prototype.wa=["java.util.InternalHashCodeMap",0];
var nca=function(){this.U=this.R=this.S=this.H=null};l(nca,w);f=nca.prototype;f.Wa=function(){return!this.R.done};f.Ya=function(){this.U=this.R;this.R=this.S.next();var a=new $e,b=this.U,c=this.H.R;a.R=this.H;a.H=b;a.S=c;return a};f.sd=function(){oca(this.H,this.U.value[0])};f.wa=["java.util.InternalStringMap$1",0];f.qe=!0;
var pca=function(){};l(pca,w);f=pca.prototype;f.equals=function(a){if(!pe(a))return!1;a=z(a,pe,oe);return Hd(this.Nc(),a.Nc())&&Hd(this.Oc(),a.Oc())};f.qb=function(){return Id(this.Nc())^Id(this.Oc())};f.toString=function(){return y(this.Nc())+"="+y(this.Oc())};f.wa=["java.util.AbstractMapEntry",0];f.pq=!0;
var $e=function(){this.H=this.R=null;this.S=0};l($e,pca);$e.prototype.Nc=function(){return z(this.H.value[0],Oa,w)};$e.prototype.Oc=function(){return this.R.R!=this.S?this.R.H.get(this.H.value[0]):this.H.value[1]};$e.prototype.yx=function(a){return qca(this.R,this.H.value[0],a)};$e.prototype.wa=["java.util.InternalStringMap$2",0];
var af=function(){this.S=this.H=null;this.R=this.U=0};l(af,w);var qca=function(a,b,c){var d=a.H.get(b);a.H.set(b,void 0===c?null:c);void 0===d?(a.U++,We(a.S)):a.R++;return d},oca=function(a,b){var c=a.H.get(b);if(void 0===c)a.R++;else{var d=a.H;d["delete"].call(d,b);a.U--;We(a.S)}return c};af.prototype.Hc=function(){return this.U};af.prototype.Xa=function(){var a=new nca;a.H=this;a.S=a.H.H.entries();a.R=a.S.next();return a};af.prototype.wa=["java.util.InternalStringMap",0];
var bf=function(){this.R=this.H=null};l(bf,He);bf.prototype.clear=function(){cf(this)};var cf=function(a){var b=new Ye;b.R=new Map;b.H=a;a.H=b;b=new af;b.H=new Map;b.S=a;a.R=b;We(a)};bf.prototype.Le=function(a){return Fd(a)?null==a?null!=Ze(this.H,null):void 0!==this.R.H.get(a):null!=Ze(this.H,a)};bf.prototype.dg=function(a){return rca(this,a,this.R)||rca(this,a,this.H)};var rca=function(a,b,c){for(c=c.Xa();c.Wa();){var d=z(c.Ya(),pe,oe);if(a.ct(b,d.Oc()))return!0}return!1};f=bf.prototype;
f.qd=function(){var a=new hca;a.H=this;return a};f.Gc=function(a){return Fd(a)?null==a?Ie(Ze(this.H,null)):this.R.H.get(a):Ie(Ze(this.H,a))};f.put=function(a,b){return Fd(a)?null==a?mca(this.H,null,b):qca(this.R,a,b):mca(this.H,a,b)};f.remove=function(a){return Fd(a)?null==a?jca(this.H,null):oca(this.R,a):jca(this.H,a)};f.size=function(){return this.H.Hc()+this.R.Hc()};f.wa=["java.util.AbstractHashMap",0];
var ef=function(){bf.call(this)};l(ef,bf);var ff=function(){var a=new ef;cf(a);return a},sca=function(a){var b=new ef;fe(0<=a,"Negative initial capacity");fe(!0,"Non-positive load factor");cf(b);return b},tca=function(a){var b=new ef;cf(b);b.Ap(a);return b};f=ef.prototype;f.ct=function(a,b){return Hd(a,b)};f.et=function(a){return $c(a)|0};f.fj=function(a,b){return ue(this,a,b)};f.replace=function(a,b){return ve(this,a,b)};f.wa=["java.util.HashMap",0];
var gf=function(){this.H=null};l(gf,we);var hf=function(){var a=new gf;a.H=ff();return a},jf=function(a){var b=new gf;b.H=sca(a.size());b.addAll(a);return b};f=gf.prototype;f.add=function(a){return null==this.H.put(a,this)};f.clear=function(){this.H.clear()};f.contains=function(a){return this.H.Le(a)};f.isEmpty=function(){return this.H.isEmpty()};f.Xa=function(){return this.H.ve().Xa()};f.remove=function(a){return null!=this.H.remove(a)};f.size=function(){return this.H.size()}; f.wa=["java.util.HashSet",0];f.tf=!0;f.qq=!0;
var Fba=function(){Xd();return z((je(),ke),zba,Nd)},kf=function(){Xd();return z(Nba,Md,Ld)},lf=function(){Xd();return z(uca,te,se)},mf=function(){Xd();return z(Je,re,qe)},wca=function(){var a=vca();Xd();var b=a.isEmpty();fe(b,"map is not empty");b=new Le;b.H=a;return b},nf=function(a){Xd();var b=new Ne;b.H=a;return b},of=function(a){Xd();return Wba(a)},pf=function(a){Xd();if(Pd(a)){var b=new Te;b.H=a;b.R=a;a=b}else a=Yba(a);return a},qf=function(a){Xd();var b=new dca;b.H=a;return b},rf=function(a){Xd(); return Zba(a)},Gba=function(a){Xd();var b=0;for(a=a.Xa();a.Wa();){var c=a.Ya();b+=Id(c);b|=0}return b},Xd=function(){Xd=function(){};Nba=new ie;uca=new Mba;Je=new Ke},Nba=null,uca=null,Je=null;
var sf=function(){this.V=null;this.S=0};l(sf,w);var tf=function(a,b,c){a.V=b;a.S=c};sf.prototype.name=function(){return null!=this.V?this.V:""+this.S};sf.prototype.oj=function(){return this.S};sf.prototype.H=function(a){return this.S-z(a,xca,sf).S};sf.prototype.toString=function(){return this.name()};var xca=function(a){return a instanceof sf};sf.prototype.wa=["java.lang.Enum",0];sf.prototype.Ah=!0;
var Yd=function(){this.S=null;this.R=this.H=0};l(Yd,w);f=Yd.prototype;f.Wa=function(){return this.H<this.S.size()};f.Ya=function(){Rd(this.Wa());return this.S.Vb(this.R=this.H++)};f.sd=function(){Sd(-1!=this.R);this.S.$e(this.R);this.H=this.R;this.R=-1};f.wa=["java.util.AbstractList$IteratorImpl",0];f.qe=!0;
var Zd=function(){Yd.call(this);this.U=null};l(Zd,Yd);f=Zd.prototype;f.wn=function(a){this.U.ag(this.H,a);this.H++;this.R=-1};f.Xi=function(){return 0<this.H};f.pn=function(){return this.H};f.tn=function(){Rd(this.Xi());return this.U.Vb(this.R=--this.H)};f.rn=function(){return this.H-1};f.Bl=function(a){Sd(-1!=this.R);this.U.ke(this.R,a)};f.wa=["java.util.AbstractList$ListIteratorImpl",0];f.qe=!0;f.Xl=!0;
var ae=function(){this.S=null;this.H=this.R=0};l(ae,Wd);f=ae.prototype;f.ag=function(a,b){$d(a,this.H);this.S.ag(this.R+a,b);this.H++};f.Vb=function(a){he(a,this.H);return this.S.Vb(this.R+a)};f.$e=function(a){he(a,this.H);a=this.S.$e(this.R+a);this.H--;return a};f.ke=function(a,b){he(a,this.H);return this.S.ke(this.R+a,b)};f.size=function(){return this.H};f.wa=["java.util.AbstractList$SubList",0];
var yca=function(){this.H=null};l(yca,Wd);var uf=function(a){var b=new yca;Yc(a);b.H=a;return b};f=yca.prototype;f.contains=function(a){return-1!=this.indexOf(a)};f.Vb=function(a){var b=this.size();he(a,b);return this.H[a]};f.ke=function(a,b){var c=this.Vb(a);qd(this.H,a,b);return c};f.size=function(){return this.H.length};f.Rc=function(){return this.Fd(Array(this.H.length))}; f.Fd=function(a){var b=this.H.length;a.length<b&&(a=Td(Array(b),a));for(var c=0;c<b;++c)qd(a,c,z(this.H[c],Oa,w));a.length>b&&qd(a,b,null);return a};f.wa=["java.util.Arrays$ArrayList",0];f.Bk=!0;
var kd=function(a,b){return 2>b||36<b?-1:48<=a&&a<48+Math.min(b,10)?a-48:97<=a&&a<b+97-10?a-97+10:65<=a&&a<b+65-10?a-65+10:-1},vf=function(a){return 0>a||16<=a?0:kba(a)},kba=function(a){var b=a-10;return(0>b?48+a:97+b)&65535};var wf=function(){this.H=null};l(wf,w);wf.prototype.nh=function(){return this.H.length};var zca=function(a){var b=a.nh();if(0<b)a.H=od(a.H,0,0);else if(0>b){var c=y(a.H);b=Lc([0-b],oc,pc,qc,0);b=rd(b,0,b.length);a.H=c+y(b)}};wf.prototype.Fx=function(a){return id(this.H,a)};wf.prototype.hE=function(a,b){return od(this.H,a,b)};wf.prototype.toString=function(){return this.H};wf.prototype.wa=["java.lang.AbstractStringBuilder",0];
var Fe=function(){this.H=null};l(Fe,wf);var xf=function(){var a=new Fe;a.H="";return a},zf=function(a,b){a.H=y(a.H)+yf(b)},Af=function(a,b,c,d){a.H=y(a.H)+y(od(y(b),c,d))},Bf=function(a,b){a.H=y(a.H)+b},Cf=function(a,b){a.H=y(a.H)+y(b)},Ge=function(a,b){a.H=y(a.H)+y(b)};Fe.prototype.wa=["java.lang.StringBuilder",0];
var Aca=function(){Qa.call(this)};l(Aca,fb);var Bca=function(a){var b=new Aca;Va(b,a);return b};Aca.prototype.wa=["java.lang.StringIndexOutOfBoundsException",0];var Rd=function(a){if(!a)throw me().H;},fe=function(a,b){if(!a)throw zc(y(b)).H;},Sd=function(a){if(!a)throw Bc().H;},Yc=function(a){Cca(a);return a},Cca=function(a){if(null==a)throw Ec().H;return a},he=function(a,b){if(0>a||a>=b)throw gb("Index: "+a+", Size: "+b).H;},$d=function(a,b){if(0>a||a>b)throw gb("Index: "+a+", Size: "+b).H;},Eba=function(a,b,c){if(0>a||b>c)throw gb("fromIndex: "+a+", toIndex: "+b+", size: "+c).H;if(a>b)throw zc("fromIndex: "+a+" > toIndex: "+b).H;};
var Df=function(){Qa.call(this)};l(Df,eb);Df.prototype.wa=["java.io.UnsupportedEncodingException",0];var Ef=function(){this.H=null};l(Ef,w);var Hca=function(){var a="UTF-8";fe(null!=a,"Null charset name");a=a.toUpperCase();if(Ff((Gf(),Dca).H,a))return Gf(),Dca;if(Ff((Gf(),Eca).H,a))return Gf(),Eca;if(Ff((Gf(),Fca).H,a))return Gf(),Fca;if(/^[A-Za-z0-9][\w-:\.\+]*$/.test(a)){var b=new Hf;a=y(a);Va(b,a);throw b.H;}b=new Gca;a=y(a);Va(b,a);throw b.H;};Ef.prototype.R=function(a){return Ed(this.H.toLowerCase(),a.H.toLowerCase())};Ef.prototype.qb=function(){return Zc(this.H)};
Ef.prototype.equals=function(a){if(x(a,this))return!0;if(!If(a))return!1;a=z(a,If,Ef);return x(this.H,a.H)};Ef.prototype.toString=function(){return this.H};var If=function(a){return a instanceof Ef};Ef.prototype.wa=["java.nio.charset.Charset",0];Ef.prototype.Ah=!0;
var Jf=function(){this.H=null};l(Jf,Ef);var Ica=function(a){return a instanceof Jf},Gf=function(){Gf=function(){};Fca=Jca();Eca=Kca("ISO-LATIN-1");Dca=Kca("ISO-8859-1")};Jf.prototype.wa=["javaemul.internal.EmulatedCharset",0];var Fca=null,Eca=null,Dca=null;
var Kf=function(){this.H=null};l(Kf,Jf);var Kca=function(a){Gf();var b=new Kf;b.H=a;return b};Kf.prototype.S=function(a){for(var b=a.length,c=Lc([b],Gd,wba,xba,0),d=0;d<b;++d)qd(c,d,(id(a,d)&255)<<24>>24);return c};Kf.prototype.Mc=function(a){return Jf.prototype.R.call(this,z(a,If,Ef))};Kf.prototype.wa=["javaemul.internal.EmulatedCharset$LatinCharset",0];
var Lf=function(){this.H=null};l(Lf,Jf);var Jca=function(){Gf();var a=new Lf;a.H="UTF-8";return a};Lf.prototype.S=function(a){for(var b=a.length,c=0,d=0;d<b;){var e=Lca(a,d);d+=65536<=e?2:1;128>e?c++:2048>e?c+=2:65536>e?c+=3:2097152>e?c+=4:67108864>e&&(c+=5)}c=Lc([c],Gd,wba,xba,0);for(e=d=0;e<b;){var g=Lca(a,e);e+=65536<=g?2:1;d+=Mca(c,d,g)}return c};
var Mca=function(a,b,c){if(128>c)return qd(a,b,(c&127)<<24>>24),1;if(2048>c)return qd(a,b++,(c>>6&31|192)<<24>>24),qd(a,b,(c&63|128)<<24>>24),2;if(65536>c)return qd(a,b++,(c>>12&15|224)<<24>>24),qd(a,b++,(c>>6&63|128)<<24>>24),qd(a,b,(c&63|128)<<24>>24),3;if(2097152>c)return qd(a,b++,(c>>18&7|240)<<24>>24),qd(a,b++,(c>>12&63|128)<<24>>24),qd(a,b++,(c>>6&63|128)<<24>>24),qd(a,b,(c&63|128)<<24>>24),4;if(67108864>c)return qd(a,b++,(c>>24&3|248)<<24>>24),qd(a,b++,(c>>18&63|128)<<24>>24),qd(a,b++,(c>>
12&63|128)<<24>>24),qd(a,b++,(c>>6&63|128)<<24>>24),qd(a,b,(c&63|128)<<24>>24),5;throw zc("Character out of range: "+c).H;};Lf.prototype.Mc=function(a){return Jf.prototype.R.call(this,z(a,If,Ef))};Lf.prototype.wa=["javaemul.internal.EmulatedCharset$UtfCharset",0];
var Gca=function(){Qa.call(this)};l(Gca,xc);Gca.prototype.wa=["java.nio.charset.IllegalCharsetNameException",0];var Hf=function(){Qa.call(this)};l(Hf,xc);Hf.prototype.wa=["java.nio.charset.UnsupportedCharsetException",0];var Zc=function(a){Nca();var b=":"+y(a),c=Mf[b];if(null!=c)return Xc(Yc(c));c=Oca[b];if(null==c){c=0;for(var d=a.length,e=d-4,g=0;g<e;)c=id(a,g+3)+31*(id(a,g+2)+31*(id(a,g+1)+31*(id(a,g)+31*c))),c|=0,g+=4;for(;g<d;)c=31*c+id(a,g++);a=c|0}else a=Xc(Yc(c));256==Nf&&(Oca=Mf,Mf=new w,Nf=0);++Nf;return Mf[b]=a},Nca=function(){Nca=function(){};Oca=new w;Nf=0;Mf=new w},Oca=null,Nf=0,Mf=null;
var Of=function(a){switch(typeof a){case "string":return Zc(a);case "number":return Xc(a);case "boolean":return a?1231:1237;default:return null==a?0:La(a)}};var cd=function(){};l(cd,w);var yf=function(a){return String.fromCharCode(a)},rd=function(a,b,c){c=b+c;var d=a.length;if(0>b||c>d||c<b)throw Bca("fromIndex: "+b+", toIndex: "+c+", length: "+d).H;for(d="";b<c;){var e=Math.min(b+1E4,c);d=y(d)+y(String.fromCharCode.apply(null,a.slice(b,e)));b=e}return d},y=function(a){return null==a?"null":ad(a)},Pca=function(a){if(65536<=a){var b=56320+(a-65536&1023)&65535;return y(yf(55296+(a-65536>>10&1023)&65535))+y(yf(b))}return yf(a&65535)};f=cd.prototype;
f.Fx=function(){};f.equals=function(){};f.qb=function(){};f.ht=function(){};f.nh=function(){};f.hE=function(){};f.toString=function(){};var Fd=function(a){return"string"===typeof a};cd.prototype.Mc=function(){};
var id=function(a,b){var c=a.length;if(0>b||b>=c)throw Bca("Index: "+b+", Size: "+c).H;return a.charCodeAt(b)},Lca=function(a,b){var c=b,d=a.length;b=Ce(a,c++);var e;if(d=55296<=b&&56319>=b&&c<d)a=e=Ce(a,c),d=56320<=a&&57343>=a;return d?65536+((b&1023)<<10)+(e&1023):b},Ed=function(a,b){a=Yc(a);b=Yc(b);return a==b?0:a<b?-1:1},Ff=function(a,b){return x(a,b)},Qca=function(a,b){var c=Pca(47);return a.indexOf(c,b)},Ee=function(a){return 0==a.length},Rca=function(a){var b=Pca(46);return a.lastIndexOf(b)}, od=function(a,b,c){return a.substr(b,c-b)},Pf=function(a){return Ja(a,cd)};cd.prototype.wa=["java.lang.String",0];cd.prototype.Ah=!0;
var Qf=function(){return bc(Date.now())};var Rf=function(){this.R=null;this.H=0};l(Rf,w);f=Rf.prototype;f.Wa=function(){return this.H+1<this.R.length};f.Ya=function(){if(!this.Wa())throw me().H;var a=++this.H;return this.R[a]};f.sd=function(){throw kb("remove").H;};f.wa=["com.google.gwt.corp.collections.AbstractJsArray$Iter",0];f.qe=!0;
var Sf=function(a){if(!a)throw yc().H;},Tf=function(a){if(null==a)throw Ec().H;return a},Sca=function(a,b){a=y(a);b=null==b?["(Object[])null"]:b;var c=new Fe;c.H="";for(var d=0,e=0;e<b.length;){var g=a.indexOf("%s",d);if(-1==g)break;Af(c,a,d,g);Cf(c,b[e++]);d=g+2}Af(c,a,d,a.length);if(e<b.length){Ge(c," [");for(Cf(c,b[e++]);e<b.length;)Ge(c,", "),Cf(c,b[e++]);zf(c,93)}return c.toString()};
var Uf=function(a,b){return x(a,b)||null!=a&&Wc(a,b)};var Tca=function(){};Tca.prototype.wa=["Array",0];var Vf=function(){Rf.call(this)};l(Vf,Rf);Vf.prototype.sd=function(){z(this.R,Uca,Vca).splice(this.H,1);this.H--};Vf.prototype.wa=["com.google.gwt.corp.collections.JsArray$Iter",0];var Wf=function(){this.H=null};l(Wf,w);Wf.prototype.Xa=function(){var a=new Vf,b=this.H;a.H=-1;a.R=b;return a};Wf.prototype.wa=["com.google.gwt.corp.collections.JsArray$1",0];var Vca=function(){};l(Vca,Tca);var Uca=function(a){return a instanceof Array};Vca.prototype.wa=["Array",0];var Xf=function(){},Yf=function(a){return a instanceof Object};Xf.prototype.wa=["Object",0];var Wca=function(){Wca=function(){};Xca=new Zf(null)},Xca=null;var $f=function(){this.H=null};l($f,w);$f.prototype.get=function(){null==this.H&&(this.H=m._docs_flag_initialData||{});return this.H};$f.prototype.wa=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];var Zf=function(a){this.H=new $f;if(null!=a){var b=Object.keys(a),c=new Wf;c.H=b;for(b=c.Xa();b.Wa();){var d=c=z(b.Ya(),Fd,cd),e=a[c];c=z(this.H.get(),Yf,Xf);xd(e)?(e=z(e,xd,wd).vx(),c[d]=e):c[d]=e}}};l(Zf,w);Zf.prototype.clear=function(){this.H=new $f};Zf.prototype.get=function(a){return z(this.H.get(),Yf,Xf)[a]};Zf.prototype.wa=["com.google.apps.docs.xplat.flag.FlagService",0];
var A=function(){this.zj=this.zj;this.ai=this.ai};A.prototype.zj=!1;A.prototype.isDisposed=function(){return this.zj};A.prototype.dispose=function(){this.zj||(this.zj=!0,this.Na())};var B=function(a,b){ag(a,Aa(bg,b))},ag=function(a,b,c){a.zj?p(c)?b.call(c):b():(a.ai||(a.ai=[]),a.ai.push(p(c)?r(b,c):b))};A.prototype.Na=function(){if(this.ai)for(;this.ai.length;)this.ai.shift()()}; var bg=function(a){a&&"function"==typeof a.dispose&&a.dispose()},cg=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];wa(d)?cg.apply(null,d):bg(d)}};
var dg=function(a){return a[a.length-1]},eg=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(na(a))return na(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},fg=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(na(a))return na(b)&&
1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},E=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=na(a)?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},gg=function(a,b,c){for(var d=na(a)?a.split(""):a,e=a.length-1;0<=e;--e)e in d&&b.call(c,d[e],e,a)},hg=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h=na(a)?a.split(""):
a,k=0;k<d;k++)if(k in h){var n=h[k];b.call(c,n,k,a)&&(e[g++]=n)}return e},ig=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=na(a)?a.split(""):a,h=0;h<d;h++)h in g&&(e[h]=b.call(c,g[h],h,a));return e},jg=Array.prototype.reduce?function(a,b,c,d){d&&(b=r(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;E(a,function(c,h){e=b.call(d,e,c,h,a)});return e},kg=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=na(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return!0;return!1},lg=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=na(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&!b.call(c,e[g],g,a))return!1;return!0},Yca=function(a,b,c){var d=0;E(a,function(a,g,h){b.call(c,a,g,h)&&++d},c);return d},ng=function(a,b,c){b=mg(a,b,c);return 0>b?null:na(a)?a.charAt(b):a[b]},mg=function(a,b,c){for(var d=
a.length,e=na(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return g;return-1},og=function(a,b,c){b=Zca(a,b,c);return 0>b?null:na(a)?a.charAt(b):a[b]},Zca=function(a,b,c){for(var d=na(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1},pg=function(a,b){return 0<=eg(a,b)},qg=function(a){return 0==a.length},rg=function(a){if(!va(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},sg=function(a,b){pg(a,b)||a.push(b)},ug=function(a,b){b=eg(a,b);var c;
(c=0<=b)&&tg(a,b);return c},tg=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length},$ca=function(a,b){b=mg(a,b,void 0);0<=b&&tg(a,b)},ada=function(a,b){var c=0;gg(a,function(d,e){b.call(void 0,d,e,a)&&tg(a,e)&&c++})},vg=function(a){return Array.prototype.concat.apply([],arguments)},wg=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},xg=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(wa(d)){var e=a.length||0,g=d.length||
0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}},zg=function(a,b,c,d){return Array.prototype.splice.apply(a,yg(arguments,1))},yg=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Ag=function(a,b,c){b=b||a;var d=function(a){return ya(a)?"o"+za(a):(typeof a).charAt(0)+a};c=c||d;d={};for(var e=0,g=0;g<a.length;){var h=a[g++],k=c(h);Object.prototype.hasOwnProperty.call(d,k)||(d[k]=!0,b[e++]=h)}b.length=e},Bg=function(a,b,c){for(var d=
0,e=a.length,g;d<e;){var h=d+e>>1;var k=b(c,a[h]);0<k?d=h+1:(e=h,g=!k)}return g?d:~d},Dg=function(a,b){a.sort(b||Cg)},cda=function(a){for(var b=bda,c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var e=b||Cg;Dg(c,function(a,b){return e(a.value,b.value)||a.index-b.index});for(d=0;d<a.length;d++)a[d]=c[d].value},dda=function(a,b,c){var d=c||Cg;Dg(a,function(a,c){return d(b(a),b(c))})},eda=function(a,b){b=b||Cg;for(var c=1;c<a.length;c++)if(0<b(a[c-1],a[c]))return!1;return!0},Eg=function(a,
b){if(!wa(a)||!wa(b)||a.length!=b.length)return!1;for(var c=a.length,d=fda,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0},Cg=function(a,b){return a>b?1:a<b?-1:0},gda=function(a,b){return-Cg(a,b)},fda=function(a,b){return a===b},hda=function(a,b,c){c=Bg(a,c||Cg,b);0>c&&zg(a,-(c+1),0,b)},ida=function(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],g=b.call(void 0,e,d,a);p(g)&&(c[g]||(c[g]=[])).push(e)}return c},jda=function(a,b){var c={};E(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c},kda=
function(a,b){var c=[],d=0,e=a;void 0!==b&&(d=a,e=b);if(0>1*(e-d))return[];for(a=d;a<e;a+=1)c.push(a);return c},lda=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(va(d))for(var e=0;e<d.length;e+=8192)for(var g=lda.apply(null,yg(d,e,e+8192)),h=0;h<g.length;h++)b.push(g[h]);else b.push(d)}return b},mda=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])};
var nda=function(a,b,c,d,e,g,h){var k="";a&&(k+=a+":");c&&(k+="//",b&&(k+=b+"@"),k+=c,d&&(k+=":"+d));e&&(k+=e);g&&(k+="?"+g);h&&(k+="#"+h);return k},oda=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Fg=function(a){return a.match(oda)},Gg=function(a){return a?decodeURI(a):a},Hg=function(a){a=Fg(a);return nda(a[1],a[2],a[3],a[4])},pda=function(a){a=Fg(a);return nda(null,null,null,null,a[5],a[6],a[7])},qda=function(a,b){if(a){a=
a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?Eb(e):"")}}},rda=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]},sda=function(a,b,c){if(va(b))for(var d=0;d<b.length;d++)sda(a,String(b[d]),c);else null!=b&&c.push(a+
(""===b?"":"="+Db(b)))},tda=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)sda(a[b],a[b+1],c);return c.join("&")},uda=function(a){var b=[],c;for(c in a)sda(c,a[c],b);return b.join("&")},Ig=function(a,b){var c=2==arguments.length?tda(arguments[1],0):tda(arguments,1);return rda(a,c)},Jg=function(a,b){b=uda(b);return rda(a,b)},Kg=function(a,b,c){c=null!=c?"="+Db(c):"";return rda(a,b+c)},vda=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=
a.charCodeAt(b+e),!g||61==g||38==g||35==g)return b;b+=e+1}return-1},wda=/#|$/,Lg=function(a,b){return 0<=vda(a,0,b,a.search(wda))},Mg=function(a,b){var c=a.search(wda),d=vda(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return Eb(a.substr(d,e-d))},xda=/[?&]($|#)/,Ng=function(a,b){for(var c=a.search(wda),d=0,e,g=[];0<=(e=vda(a,d,b,c));)g.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);g.push(a.substr(d));return g.join("").replace(xda,"$1")},Og=function(a, b,c){return Kg(Ng(a,b),b,c)},yda=function(a,b){vb(a,"/")&&(a=a.substr(0,a.length-1));ub(b,"/")&&(b=b.substr(1));return Ob(a,"/",b)};
var Pg;a:{var zda=m.navigator;if(zda){var Ada=zda.userAgent;if(Ada){Pg=Ada;break a}}Pg=""}var Qg=function(a){return Gb(Pg,a)};var Rg=function(){return Qg("iPhone")&&!Qg("iPod")&&!Qg("iPad")},Sg=function(){return Rg()||Qg("iPad")||Qg("iPod")},Tg=function(){return Qg("Macintosh")},Bda=function(){var a=Pg,b="";Qg("Windows")?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):Sg()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):Tg()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):Qg("Android")?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):Qg("CrOS")&& (b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||""};
var Ug=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Vg=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Wg=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Xg=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1},Cda=function(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return!1;return!0},Yg=function(a){var b=0,c;for(c in a)b++;return b},Dda=function(a){for(var b in a)return a[b]},Zg=function(a){var b=[],c=0,d;for(d in a)b[c++]=
a[d];return b},$g=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Eda=function(a,b){var c=wa(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a},ah=function(a,b){return null!==a&&b in a},bh=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},ch=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d},dh=function(a,b){return(b=ch(a,b,void 0))&&a[b]},eh=function(a){for(var b in a)return!1;return!0},fh=function(a){for(var b in a)delete a[b]},gh=
function(a,b){b in a&&delete a[b]},hh=function(a,b,c){if(null!==a&&b in a)throw Error("i`"+b);a[b]=c},ih=function(a,b){return null!==a&&b in a?a[b]:void 0},Fda=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0},jh=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Gda=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},Hda="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),kh=function(a,
b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Hda.length;g++)c=Hda[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},lh=function(a){var b=arguments.length;if(1==b&&va(arguments[0]))return lh.apply(null,arguments[0]);if(b%2)throw Error("j");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c},mh=function(a){var b=arguments.length;if(1==b&&va(arguments[0]))return mh.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]= !0;return c};
var Jda=function(){return Qg("Safari")&&!(Ida()||Qg("Coast")||Qg("Opera")||Qg("Edge")||Qg("Silk")||Qg("Android"))},Ida=function(){return(Qg("Chrome")||Qg("CriOS"))&&!Qg("Edge")},Kda=function(){return Qg("Android")&&!(Ida()||Qg("Firefox")||Qg("Opera")||Qg("Silk"))};
var nh=Qg("Opera"),oh=Qg("Trident")||Qg("MSIE"),ph=Qg("Edge"),qh=ph||oh,rh=Qg("Gecko")&&!(Gb(Pg.toLowerCase(),"webkit")&&!Qg("Edge"))&&!(Qg("Trident")||Qg("MSIE"))&&!Qg("Edge"),sh=Gb(Pg.toLowerCase(),"webkit")&&!Qg("Edge"),Lda=sh&&Qg("Mobile"),th=Tg(),uh=Qg("Windows"),Mda=Qg("Linux")||Qg("CrOS"),Nda=m.navigator||null;Nda&&Gb(Nda.appVersion||"","X11");var Oda=Qg("Android"),Pda=Rg(),Qda=Qg("iPad"),Rda=Qg("iPod"),Sda=Sg(),Tda=function(){var a=m.document;return a?a.documentMode:void 0},Uda;
a:{var Vda="",Wda=function(){var a=Pg;if(rh)return/rv:([^\);]+)(\)|;)/.exec(a);if(ph)return/Edge\/([\d\.]+)/.exec(a);if(oh)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(sh)return/WebKit\/(\S+)/.exec(a);if(nh)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Wda&&(Vda=Wda?Wda[1]:"");if(oh){var Xda=Tda();if(null!=Xda&&Xda>parseFloat(Vda)){Uda=String(Xda);break a}}Uda=Vda}var vh=Uda,Yda={},wh=function(a){return Ia(Yda,a,function(){return 0<=Rb(vh,a)})},xh=function(a){return Number(Zda)>=a},$da; var aea=m.document,bea=Tda();$da=aea&&oh?bea||("CSS1Compat"==aea.compatMode?parseInt(vh,10):5):void 0;var Zda=$da;
var yh=Qg("Firefox"),zh=Rg()||Qg("iPod"),Ah=Qg("iPad"),Bh=Kda(),Ch=Ida(),Dh=Jda()&&!Sg();var cea={a_:"n_amt",i_:"n_age",j_:"n_ades",k_:"n_k",s_:"n_u",l_:"n_r",m_:"n_p",n_:"n_ars",o_:"n_s",p_:"n_ss",q_:"n_ats",r_:"n_atas",QG:"n_v",D_:"n_bau",F_:"n_bu",G_:"n_bi",a0:"n_cbmv",b0:"n_cc",$G:"n_c",c0:"n_csbs",D0:"n_dt",Q0:"n_deau",Z0:"n_earow",$0:"n_ebd",a1:"n_ecsw",b1:"n_ed",c1:"n_edn",d1:"n_edttp",j1:"n_eod",e1:"n_eetm",f1:"n_eema",g1:"n_efs",h1:"n_eil",i1:"n_eibp",k1:"n_ep",l1:"n_eqta",m1:"n_eus",n1:"n_evs",o1:"n_evt",p1:"n_ewle",P1:"n_fl",u2:"n_imb",v2:"n_imp",V2:"n_j",t3:"n_mpau",w3:"n_iu",
O3:"n_nmri",M3:"n_nib",N3:"n_nmb",READONLY:"n_ro",r5:"n_rau",S5:"n_ses",Z5:"docs-show_debug_info",a6:"n_scp",b6:"n_sscp",s6:"n_sit",f3:"n_lcu",d4:"n_oe",A4:"n_pau",D6:"n_t",E6:"n_tu",H6:"n_tsu",G6:"n_tc",I6:"n_ts",K6:"n_taau",w7:"n_tmd",Q7:"n_ur",S7:"n_ugat",T7:"n_uo",U7:"n_uo2",USER:"n_us",f8:"n_wfp",k8:"n_wcv"},Eh=function(a){this.H={};this.R=null;dea(this);a&&kh(this.H,a);a=this.H.n_cc||[];"string"===typeof a&&(a=a.replace(/\s/g,"").split(","));this.S=a};ta(Eh);
var dea=function(a){var b=m._docs_flag_initialData||{};Ug(cea,function(a){b[a]&&(this.H[a]=b[a])},a)},eea=function(a){return a.H.n_bau||""},fea=function(a){return a.H.n_cbmv||0},gea=function(a){return a.H.n_pau||""},hea=function(a){return a.H.n_rau||""},iea=function(a){return a.H.n_deau||""};Eh.prototype.Ce=function(){return!!this.H.n_ro};Eh.prototype.getUrl=function(){return this.H.n_u};
var Fh=function(a){return a.H.n_v||"v1"},Gh=function(a){return!!a.H.n_uo},Hh=function(a){return!!a.H.n_uo2||!1},jea=function(a){return a.H.n_iu||""},kea=function(a){return a.H.n_bi||{}},Ih=function(a){return a.H.n_ses||""},lea=function(a){return a.H.n_ur||""},mea=function(a){return a.H.n_amt||[]},nea=function(a){return a.H.n_taau||""},oea=function(a){return a.H.n_imb||0},pea=function(a){return a.H.n_imp||0},qea=function(a){return Math.max(2500,a.H.n_nmri||0)},Jh=function(a){return Math.max(500,a.H.n_nib||
0)},rea=function(a){return Math.max(18E5,a.H.n_nmb||0)},sea=function(a){null===a.R&&(a.R=!!(window.File&&window.FileReader&&window.FileList));return a.R},tea=function(a){return a.H.n_mpau||""},Kh=function(a){return a.H.n_wcv||"0.0.0.0"},uea=function(a){a=a.H.n_dt;return("string"==typeof a?a.replace(/\s/g,"").split(","):a)||[]};Eh.prototype.Zp=function(){return!!this.H.n_scp};
var Lh=function(a){return!!a.H.n_ed&&Ch&&!(Pda||Qda)},Mh=function(a){return!!a.H.n_ebd},Nh=function(a){return Hh(a)?"he"==window.navigator.language?"iw":window.navigator.language:"en"},Oh=function(a){return 0>a.S.indexOf("SNB")},Ph=function(a){return!!a.H.n_eus};
var Qh=null,Rh=null,vea=null,wea=rh||sh&&!Dh||nh,xea=wea||"function"==typeof m.btoa,yea=wea||!Dh&&!oh&&"function"==typeof m.atob,Sh=function(a,b){zea();b=b?vea:Qh;for(var c=[],d=0;d<a.length;d+=3){var e=a[d],g=d+1<a.length,h=g?a[d+1]:0,k=d+2<a.length,n=k?a[d+2]:0,q=e>>2;e=(e&3)<<4|h>>4;h=(h&15)<<2|n>>6;n&=63;k||(n=64,g||(h=64));c.push(b[q],b[e],b[h],b[n])}return c.join("")},Aea=function(a,b){if(xea&&!b)a=m.btoa(a);else{for(var c=[],d=0,e=0;e<a.length;e++){var g=a.charCodeAt(e);255<g&&(c[d++]=g&255,
g>>=8);c[d++]=g}a=Sh(c,b)}return a},Th=function(a){if(yea)return m.atob(a);var b="";Bea(a,function(a){b+=String.fromCharCode(a)});return b},Cea=function(a){var b=[];Bea(a,function(a){b.push(a)});return b},Bea=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=Rh[c];if(null!=e)return e;if(!yb(c))throw Error("k`"+c);}return b}zea();for(var d=0;;){var e=c(-1),g=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|g>>4);64!=h&&(b(g<<4&240|h>>2),64!=k&&b(h<<6&192|k))}},zea=function(){if(!Qh){Qh=
{};Rh={};vea={};for(var a=0;65>a;a++)Qh[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Rh[Qh[a]]=a,vea[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Rh["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
var Uh=function(){},Vh="function"==typeof Uint8Array,Xh=function(a,b,c,d,e){a.H=null;b||(b=c?[c]:[]);a.Ba=c?String(c):void 0;a.V=0===c?-1:0;a.R=b;a:{if(a.R.length&&(b=a.R.length-1,(c=a.R[b])&&"object"==typeof c&&!va(c)&&!(Vh&&c instanceof Uint8Array))){a.U=b-a.V;a.S=c;break a}-1<d?(a.U=d,a.S=null):a.U=Number.MAX_VALUE}a.W={};if(e)for(d=0;d<e.length;d++)b=e[d],b<a.U?(b+=a.V,a.R[b]=a.R[b]||Wh):(Dea(a),a.S[b]=a.S[b]||Wh)},Wh=[],Dea=function(a){var b=a.U+a.V;a.R[b]||(a.S=a.R[b]={})},F=function(a,b){if(b<
a.U){b+=a.V;var c=a.R[b];return c===Wh?a.R[b]=[]:c}if(a.S)return c=a.S[b],c===Wh?a.S[b]=[]:c},Yh=function(a,b){if(b<a.U){b+=a.V;var c=a.R[b];return c===Wh?a.R[b]=[]:c}c=a.S[b];return c===Wh?a.S[b]=[]:c},Zh=function(a,b){a=F(a,b);return null==a?a:+a},ai=function(a,b){var c=Yh(a,b);a.W||(a.W={});if(!a.W[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.W[b]=!0}return c},G=function(a,b,c){a=F(a,b);return null==a?c:a},H=function(a,b,c){b<a.U?a.R[b+a.V]=c:(Dea(a),a.S[b]=c)},bi=function(a,b,c){a.H||(a.H={});
if(!a.H[c]){var d=F(a,c);d&&(a.H[c]=new b(d))}return a.H[c]},ci=function(a,b,c){a.H||(a.H={});if(!a.H[c]){for(var d=Yh(a,c),e=[],g=0;g<d.length;g++)e[g]=new b(d[g]);a.H[c]=e}b=a.H[c];b==Wh&&(b=a.H[c]=[]);return b},di=function(a,b,c){a.H||(a.H={});var d=c?c.Rc():c;a.H[b]=c;H(a,b,d)},ei=function(a,b,c){a.H||(a.H={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=c[e].Rc();a.H[b]=c;H(a,b,d)},Eea=function(a){if(a.H)for(var b in a.H){var c=a.H[b];if(va(c))for(var d=0;d<c.length;d++)c[d]&&c[d].Rc();else c&&
c.Rc()}};Uh.prototype.Rc=function(){Eea(this);return this.R};Uh.prototype.Za=Vh?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return Sh(this)};try{var b=JSON.stringify(this.Rc(),Fea)}finally{Uint8Array.prototype.toJSON=a}return b}:function(){return JSON.stringify(this.Rc(),Fea)};var Fea=function(a,b){if(pa(b)){if(isNaN(b))return"NaN";if(Infinity===b)return"Infinity";if(-Infinity===b)return"-Infinity"}return b},fi=function(a,b){return new a(b?JSON.parse(b):null)};
Uh.prototype.toString=function(){Eea(this);return this.R.toString()};
var Hea=function(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!Gea(a[d],b[d]))return!1;return!0},Gea=function(a,b){if(a==b)return!0;if(!ya(a)||!ya(b)||a.constructor!=b.constructor)return!1;if(Vh&&a.constructor===Uint8Array){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return!1;return!0}if(a.constructor===Array){var d=void 0,e=void 0,g=Math.max(a.length,b.length);for(c=0;c<g;c++){var h=a[c],k=b[c];h&&h.constructor==Object&&(d=h,h=void 0);
k&&k.constructor==Object&&(e=k,k=void 0);if(!Gea(h,k))return!1}return d||e?(d=d||{},e=e||{},Hea(d,e)):!0}if(a.constructor===Object)return Hea(a,b);throw Error("A");};Uh.prototype.clone=function(){return gi(this)};
var gi=function(a){return new a.constructor(Iea(a.Rc()))},Iea=function(a){var b;if(va(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?Iea(b):b);return c}if(Vh&&a instanceof Uint8Array)return new Uint8Array(a);c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?Iea(b):b);return c};
var hi=[],ii=[],Jea=!1,Kea=function(a){hi[hi.length]=a;if(Jea)for(var b=0;b<ii.length;b++)a(r(ii[b].H,ii[b]))};var Lea=function(a){var b=m.onerror,c=!1;sh&&!wh("535.3")&&(c=!c);m.onerror=function(d,e,g,h,k){b&&b(d,e,g,h,k);a({message:d,fileName:e,line:g,lineNumber:g,M8:h,error:k});return c}};var Mea=!oh||xh(9),Nea=!oh||xh(9),Oea=oh&&!wh("9"),Pea=!sh||wh("528"),Qea=rh&&wh("1.9b")||oh&&wh("8")||nh&&wh("9.5")||sh&&wh("528"),Rea=rh&&!wh("8")||oh&&!wh("9"),Sea="ontouchstart"in m||!!(m.document&&document.documentElement&&"ontouchstart"in document.documentElement)||!(!m.navigator||!m.navigator.maxTouchPoints&&!m.navigator.msMaxTouchPoints),Tea=function(){if(!m.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});m.addEventListener("test", sa,b);m.removeEventListener("test",sa,b);return a}();
var I=function(a,b){this.type=a;this.currentTarget=this.target=b;this.W=this.V=!1;this.ZF=!0};I.prototype.uc=function(){this.V=!0};I.prototype.preventDefault=function(){this.W=!0;this.ZF=!1};var Uea=function(a){a.uc()};var ji=oh?"focusin":"DOMFocusIn",Vea=oh?"focusout":"DOMFocusOut",ki;ki=sh?"webkitTransitionEnd":nh?"otransitionend":"transitionend";var li=function(a,b){I.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.U=this.S=0;this.key="";this.R=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.ka=!1;this.pointerId=0;this.pointerType="";this.H=null;a&&this.init(a,b)};v(li,I);var Wea=[1,4,2],Xea={2:"touch",3:"pen",4:"mouse"};
li.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?rh&&(Ha(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.S=sh||void 0!==a.offsetX?a.offsetX:a.layerX,this.U=sh||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=
a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.R=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.ka=th?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=na(a.pointerType)?a.pointerType:
Xea[a.pointerType]||"";this.state=a.state;this.H=a;a.defaultPrevented&&this.preventDefault()};var mi=function(a){return Mea?0==a.H.button:"click"==a.type?!0:!!(a.H.button&Wea[0])},ni=function(a){return mi(a)&&!(sh&&th&&a.ctrlKey)};li.prototype.uc=function(){li.ua.uc.call(this);this.H.stopPropagation?this.H.stopPropagation():this.H.cancelBubble=!0}; li.prototype.preventDefault=function(){li.ua.preventDefault.call(this);var a=this.H;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Oea)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var Yea="closure_listenable_"+(1E6*Math.random()|0),oi=function(a){return!(!a||!a[Yea])},Zea=0;var $ea=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.$c=e;this.key=++Zea;this.removed=this.Oq=!1},pi=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.$c=null};var qi=function(a){this.src=a;this.H={};this.R=0};qi.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.H[g];a||(a=this.H[g]=[],this.R++);var h=afa(a,b,d,e);-1<h?(b=a[h],c||(b.Oq=!1)):(b=new $ea(b,this.src,g,!!d,e),b.Oq=c,a.push(b));return b};qi.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.H))return!1;var e=this.H[a];b=afa(e,b,c,d);return-1<b?(pi(e[b]),tg(e,b),0==e.length&&(delete this.H[a],this.R--),!0):!1};
var bfa=function(a,b){var c=b.type;if(!(c in a.H))return!1;var d=ug(a.H[c],b);d&&(pi(b),0==a.H[c].length&&(delete a.H[c],a.R--));return d};qi.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.H)if(!a||c==a){for(var d=this.H[c],e=0;e<d.length;e++)++b,pi(d[e]);delete this.H[c];this.R--}return b};qi.prototype.Ho=function(a,b){a=this.H[a.toString()];var c=[];if(a)for(var d=0;d<a.length;++d){var e=a[d];e.capture==b&&c.push(e)}return c};
qi.prototype.Fm=function(a,b,c,d){a=this.H[a.toString()];var e=-1;a&&(e=afa(a,b,c,d));return-1<e?a[e]:null};qi.prototype.hasListener=function(a,b){var c=p(a),d=c?a.toString():"",e=p(b);return Xg(this.H,function(a){for(var g=0;g<a.length;++g)if(!(c&&a[g].type!=d||e&&a[g].capture!=b))return!0;return!1})};var afa=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.removed&&g.listener==b&&g.capture==!!c&&g.$c==d)return e}return-1};
var cfa="closure_lm_"+(1E6*Math.random()|0),dfa={},efa=0,si=function(a,b,c,d,e){if(d&&d.once)return ri(a,b,c,d,e);if(va(b)){for(var g=0;g<b.length;g++)si(a,b[g],c,d,e);return null}c=ti(c);return oi(a)?a.listen(b,c,ya(d)?!!d.capture:!!d,e):ffa(a,b,c,!1,d,e)},ffa=function(a,b,c,d,e,g){if(!b)throw Error("B");var h=ya(e)?!!e.capture:!!e,k=ui(a);k||(a[cfa]=k=new qi(a));c=k.add(b,c,d,h,g);if(c.proxy)return c;d=gfa();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Tea||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(hfa(b.toString()),d);else throw Error("C");efa++;return c},gfa=function(){var a=ifa,b=Nea?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},ri=function(a,b,c,d,e){if(va(b)){for(var g=0;g<b.length;g++)ri(a,b[g],c,d,e);return null}c=ti(c);return oi(a)?a.Jb(b,c,ya(d)?!!d.capture:!!d,e):ffa(a,b,c,!0,d,e)},vi=function(a,b,c,d,e){if(va(b))for(var g=0;g<b.length;g++)vi(a,b[g],c,d,e);else d=ya(d)?!!d.capture:
!!d,c=ti(c),oi(a)?a.$a(b,c,d,e):a&&(a=ui(a))&&(b=a.Fm(b,c,d,e))&&wi(b)},wi=function(a){if(pa(a)||!a||a.removed)return!1;var b=a.src;if(oi(b))return b.az(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(hfa(c),d);efa--;(c=ui(b))?(bfa(c,a),0==c.R&&(c.src=null,b[cfa]=null)):pi(a);return!0},xi=function(a){if(a)if(oi(a))a.ry(void 0);else if(a=ui(a)){var b=0,c;for(c in a.H)for(var d=a.H[c].concat(),e=0;e<d.length;++e)wi(d[e])&&++b}},jfa=function(a,
b,c){return oi(a)?a.Ho(b,c):a?(a=ui(a))?a.Ho(b,c):[]:[]},kfa=function(a,b,c,d,e){c=ti(c);d=!!d;return oi(a)?a.Fm(b,c,d,e):a?(a=ui(a))?a.Fm(b,c,d,e):null:null},hfa=function(a){return a in dfa?dfa[a]:dfa[a]="on"+a},mfa=function(a,b,c,d){var e=!0;if(a=ui(a))if(b=a.H[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.removed&&(g=lfa(g,d),e=e&&!1!==g)}return e},lfa=function(a,b){var c=a.listener,d=a.$c||a.src;a.Oq&&wi(a);return c.call(d,b)},ifa=function(a,b){if(a.removed)return!0;
if(!Nea){var c=b||ra("window.event");b=new li(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.V&&0<=e;e--){b.currentTarget=c[e];var g=mfa(c[e],a,!0,b);d=d&&g}for(e=0;!b.V&&e<c.length;e++)b.currentTarget=c[e],g=mfa(c[e],a,!1,b),d=d&&g}return d}return lfa(a,new li(b,this))},ui=function(a){a=a[cfa]; return a instanceof qi?a:null},nfa="__closure_events_fn_"+(1E9*Math.random()>>>0),ti=function(a){if(xa(a))return a;a[nfa]||(a[nfa]=function(b){return a.handleEvent(b)});return a[nfa]};Kea(function(a){ifa=a(ifa)});
var yi=function(a,b){this.S=a;this.H=b;this.constructor.fA||(this.constructor.fA={});this.constructor.fA[this.toString()]=this};yi.prototype.Za=function(){return this.toString()};yi.prototype.toString=function(){this.R||(this.R=this.S.H+":"+this.H);return this.R};yi.prototype.getType=function(){return this.H};
var ofa=function(a,b){yi.call(this,a,b)};v(ofa,yi);var zi=function(a){this.H=a};zi.prototype.toString=function(){return this.H};var J=function(){A.call(this);this.ji=new qi(this);this.YH=this;this.gy=null};v(J,A);J.prototype[Yea]=!0;f=J.prototype;f.jf=function(){return this.gy};f.Lb=function(a){this.gy=a};f.addEventListener=function(a,b,c,d){si(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){vi(this,a,b,c,d)};
f.dispatchEvent=function(a){var b,c=this.jf();if(c)for(b=[];c;c=c.jf())b.push(c);c=this.YH;var d=a.type||a;if(na(a))a=new I(a,c);else if(a instanceof I)a.target=a.target||c;else{var e=a;a=new I(d,c);kh(a,e)}e=!0;if(b)for(var g=b.length-1;!a.V&&0<=g;g--){var h=a.currentTarget=b[g];e=h.Bm(d,!0,a)&&e}a.V||(h=a.currentTarget=c,e=h.Bm(d,!0,a)&&e,a.V||(e=h.Bm(d,!1,a)&&e));if(b)for(g=0;!a.V&&g<b.length;g++)h=a.currentTarget=b[g],e=h.Bm(d,!1,a)&&e;return e};
f.Na=function(){J.ua.Na.call(this);this.ry();this.gy=null};f.listen=function(a,b,c,d){return this.ji.add(String(a),b,!1,c,d)};f.Jb=function(a,b,c,d){return this.ji.add(String(a),b,!0,c,d)};f.$a=function(a,b,c,d){return this.ji.remove(String(a),b,c,d)};f.az=function(a){return bfa(this.ji,a)};f.ry=function(a){return this.ji?this.ji.removeAll(a):0};
f.Bm=function(a,b,c){a=this.ji.H[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var g=a[e];if(g&&!g.removed&&g.capture==b){var h=g.listener,k=g.$c||g.src;g.Oq&&this.az(g);d=!1!==h.call(k,c)&&d}}return d&&0!=c.ZF};f.Ho=function(a,b){return this.ji.Ho(String(a),b)};f.Fm=function(a,b,c,d){return this.ji.Fm(String(a),b,c,d)};f.hasListener=function(a,b){return this.ji.hasListener(p(a)?String(a):void 0,b)};
var Ai=function(a,b,c){this.V=c;this.S=a;this.U=b;this.R=0;this.H=null};Ai.prototype.get=function(){if(0<this.R){this.R--;var a=this.H;this.H=a.next;a.next=null}else a=this.S();return a};Ai.prototype.put=function(a){this.U(a);this.R<this.V&&(this.R++,a.next=this.H,this.H=a)};
var Bi=function(a){return function(){return a}},Ci=Bi(!1),Di=Bi(!0),pfa=Bi(null),Ei=function(a){return a},Fi=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}},qfa=function(a){var b=arguments,c=b.length;return function(){for(var a,e=0;e<c;e++)a=b[e].apply(this,arguments);return a}},rfa=function(){return function(){return!yb.apply(this,arguments)}};
var sfa=function(a){m.setTimeout(function(){throw a;},0)},Gi=function(a,b){var c=a;b&&(c=r(a,b));c=tfa(c);!xa(m.setImmediate)||m.Window&&m.Window.prototype&&!Qg("Edge")&&m.Window.prototype.setImmediate==m.setImmediate?(ufa||(ufa=vfa()),ufa(c)):m.setImmediate(c)},ufa,vfa=function(){var a=m.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Qg("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";
document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=r(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!Qg("Trident")&&!Qg("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=
function(){if(p(c.next)){c=c.next;var a=c.cb;c.cb=null;a()}};return function(a){d.next={cb:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){m.setTimeout(a,0)}},tfa=Ei;Kea(function(a){tfa=a});
var wfa=function(){this.R=this.H=null},yfa=new Ai(function(){return new xfa},function(a){a.reset()},100);wfa.prototype.add=function(a,b){var c=yfa.get();c.set(a,b);this.R?this.R.next=c:this.H=c;this.R=c};wfa.prototype.remove=function(){var a=null;this.H&&(a=this.H,this.H=this.H.next,this.H||(this.R=null),a.next=null);return a};var xfa=function(){this.next=this.scope=this.Tg=null};xfa.prototype.set=function(a,b){this.Tg=a;this.scope=b;this.next=null}; xfa.prototype.reset=function(){this.next=this.scope=this.Tg=null};
var Ii=function(a,b){Hi||zfa();Afa||(Hi(),Afa=!0);Bfa.add(a,b)},Hi,zfa=function(){if(-1!=String(m.Promise).indexOf("[native code]")){var a=m.Promise.resolve(void 0);Hi=function(){a.then(Cfa)}}else Hi=function(){Gi(Cfa)}},Afa=!1,Bfa=new wfa,Cfa=function(){for(var a;a=Bfa.remove();){try{a.Tg.call(a.scope)}catch(b){sfa(b)}yfa.put(a)}Afa=!1};
var Dfa=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Efa=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Ki=function(a,b){this.H=0;this.W=void 0;this.S=this.R=this.Nb=null;this.U=this.V=!1;if(a!=sa)try{var c=this;a.call(b,function(a){Ji(c,2,a)},function(a){Ji(c,3,a)})}catch(d){Ji(this,3,d)}},Ffa=function(){this.next=this.context=this.R=this.U=this.H=null;this.S=!1};Ffa.prototype.reset=function(){this.context=this.R=this.U=this.H=null;this.S=!1};
var Gfa=new Ai(function(){return new Ffa},function(a){a.reset()},100),Hfa=function(a,b,c){var d=Gfa.get();d.U=a;d.R=b;d.context=c;return d},Li=function(a){if(a instanceof Ki)return a;var b=new Ki(sa);Ji(b,2,a);return b},Mi=function(a){return new Ki(function(b,c){c(a)})},Jfa=function(a,b,c){Ifa(a,b,c,null)||Ii(Aa(b,a))},Ni=function(a){return new Ki(function(b,c){var d=a.length,e=[];if(d)for(var g=function(a,c){d--;e[a]=c;0==d&&b(e)},h=function(a){c(a)},k=0,n;k<a.length;k++)n=a[k],Jfa(n,Aa(g,k),h);
else b(e)})},Oi=function(){var a,b,c=new Ki(function(c,e){a=c;b=e});return new Kfa(c,a,b)};Ki.prototype.then=function(a,b,c){return Lfa(this,xa(a)?a:null,xa(b)?b:null,c)};Dfa(Ki);var Pi=function(a,b,c){b=Hfa(b,b,c);b.S=!0;Mfa(a,b);return a},Qi=function(a,b,c){Lfa(a,null,b,c)};Ki.prototype.cancel=function(a){0==this.H&&Ii(function(){var b=new Ri(a);Nfa(this,b)},this)};
var Nfa=function(a,b){if(0==a.H)if(a.Nb){var c=a.Nb;if(c.R){for(var d=0,e=null,g=null,h=c.R;h&&(h.S||(d++,h.H==a&&(e=h),!(e&&1<d)));h=h.next)e||(g=h);e&&(0==c.H&&1==d?Nfa(c,b):(g?(d=g,d.next==c.S&&(c.S=d),d.next=d.next.next):Ofa(c),Pfa(c,e,3,b)))}a.Nb=null}else Ji(a,3,b)},Mfa=function(a,b){a.R||2!=a.H&&3!=a.H||Qfa(a);a.S?a.S.next=b:a.R=b;a.S=b},Lfa=function(a,b,c,d){var e=Hfa(null,null,null);e.H=new Ki(function(a,h){e.U=b?function(c){try{var e=b.call(d,c);a(e)}catch(q){h(q)}}:a;e.R=c?function(b){try{var e=
c.call(d,b);!p(e)&&b instanceof Ri?h(b):a(e)}catch(q){h(q)}}:h});e.H.Nb=a;Mfa(a,e);return e.H};Ki.prototype.ka=function(a){this.H=0;Ji(this,2,a)};Ki.prototype.ma=function(a){this.H=0;Ji(this,3,a)};
var Ji=function(a,b,c){0==a.H&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.H=1,Ifa(c,a.ka,a.ma,a)||(a.W=c,a.H=b,a.Nb=null,Qfa(a),3!=b||c instanceof Ri||Rfa(a,c)))},Ifa=function(a,b,c,d){if(a instanceof Ki)return Mfa(a,Hfa(b||sa,c||null,d)),!0;if(Efa(a))return a.then(b,c,d),!0;if(ya(a))try{var e=a.then;if(xa(e))return Sfa(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1},Sfa=function(a,b,c,d,e){var g=!1,h=function(a){g||(g=!0,c.call(e,a))},k=function(a){g||(g=!0,d.call(e,
a))};try{b.call(a,h,k)}catch(n){k(n)}},Qfa=function(a){a.V||(a.V=!0,Ii(a.$,a))},Ofa=function(a){var b=null;a.R&&(b=a.R,a.R=b.next,b.next=null);a.R||(a.S=null);return b};Ki.prototype.$=function(){for(var a;a=Ofa(this);)Pfa(this,a,this.H,this.W);this.V=!1};
var Pfa=function(a,b,c,d){if(3==c&&b.R&&!b.S)for(;a&&a.U;a=a.Nb)a.U=!1;if(b.H)b.H.Nb=null,Tfa(b,c,d);else try{b.S?b.U.call(b.context):Tfa(b,c,d)}catch(e){Ufa.call(null,e)}Gfa.put(b)},Tfa=function(a,b,c){2==b?a.U.call(a.context,c):a.R&&a.R.call(a.context,c)},Rfa=function(a,b){a.U=!0;Ii(function(){a.U&&Ufa.call(null,b)})},Ufa=sfa,Ri=function(a){tb.call(this,a)};v(Ri,tb);Ri.prototype.name="cancel";var Kfa=function(a,b,c){this.H=a;this.resolve=b;this.reject=c};
/*
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 Si=function(a,b){this.V=[];this.Ka=a;this.va=b||null;this.S=this.H=!1;this.R=void 0;this.ra=this.Ma=this.$=!1;this.W=0;this.Nb=null;this.U=0};Si.prototype.cancel=function(a){if(this.H)this.R instanceof Si&&this.R.cancel();else{if(this.Nb){var b=this.Nb;delete this.Nb;a?b.cancel(a):(b.U--,0>=b.U&&b.cancel())}this.Ka?this.Ka.call(this.va,this):this.ra=!0;this.H||this.kd(new Ti(this))}};Si.prototype.ta=function(a,b){this.$=!1;Vfa(this,a,b)};
var Vfa=function(a,b,c){a.H=!0;a.R=c;a.S=!b;Wfa(a)},Xfa=function(a){if(a.H){if(!a.ra)throw new Ui(a);a.ra=!1}};Si.prototype.callback=function(a){Xfa(this);Vfa(this,!0,a)};Si.prototype.kd=function(a){Xfa(this);Vfa(this,!1,a)};Si.prototype.mc=function(a,b){return Vi(this,a,null,b)};var Wi=function(a,b){return Vi(a,null,b,void 0)},Yfa=function(a,b,c){return Vi(a,b,b,c)},Vi=function(a,b,c,d){a.V.push([b,c,d]);a.H&&Wfa(a);return a};
Si.prototype.then=function(a,b,c){var d,e,g=new Ki(function(a,b){d=a;e=b});Vi(this,d,function(a){a instanceof Ti?g.cancel():e(a)});return g.then(a,b,c)};Dfa(Si);var Xi=function(a,b){Vi(a,b.callback,b.kd,b)},Yi=function(a,b){b instanceof Si?a.mc(r(b.Hi,b)):a.mc(function(){return b})};Si.prototype.Hi=function(a){var b=new Si;Xi(this,b);a&&(b.Nb=this,this.U++);return b};
var Zfa=function(a){return kg(a.V,function(a){return xa(a[1])})},Wfa=function(a){if(a.W&&a.H&&Zfa(a)){var b=a.W,c=Zi[b];c&&(m.clearTimeout(c.tb),delete Zi[b]);a.W=0}a.Nb&&(a.Nb.U--,delete a.Nb);b=a.R;for(var d=c=!1;a.V.length&&!a.$;){var e=a.V.shift(),g=e[0],h=e[1];e=e[2];if(g=a.S?h:g)try{var k=g.call(e||a.va,b);p(k)&&(a.S=a.S&&(k==b||k instanceof Error),a.R=b=k);if(Efa(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=!0,a.$=!0}catch(n){b=n,a.S=!0,Zfa(a)||(c=!0)}}a.R=b;d&&(k=r(a.ta,a,!0),
d=r(a.ta,a,!1),b instanceof Si?(Vi(b,k,d),b.Ma=!0):b.then(k,d));c&&(b=new $fa(b),Zi[b.tb]=b,a.W=b.tb)},$i=function(a){var b=new Si;b.callback(a);return b},aj=function(a){var b=new Si;b.kd(a);return b},Ui=function(a){tb.call(this);this.Sk=a};v(Ui,tb);Ui.prototype.message="Deferred has already fired";Ui.prototype.name="AlreadyCalledError";var Ti=function(a){tb.call(this);this.Sk=a};v(Ti,tb);Ti.prototype.message="Deferred was canceled";Ti.prototype.name="CanceledError"; var $fa=function(a){this.tb=m.setTimeout(r(this.R,this),0);this.H=a};$fa.prototype.R=function(){delete Zi[this.tb];throw this.H;};var Zi={};
var bj=function(a){A.call(this);this.R={};this.W={};this.V={};this.H={};this.$={};this.ma={};this.ka=a?a.ka:new J;this.ta=!a;this.S=null;a?(this.S=a,this.V=a.V,this.H=a.H,this.W=a.W,this.$=a.$):t();a=aga(this);this!=a&&(a.U?a.U.push(this):a.U=[this])};v(bj,A);var aga=function(a){for(;a.S;)a=a.S;return a},bga=function(a,b){for(;a;){if(a==b)return!0;a=a.S}return!1};bj.prototype.get=function(a){var b=cj(this,a);if(null==b)throw new cga(a);return b};
var cj=function(a,b){for(var c=a;c;c=c.S){if(c.isDisposed())throw Error("F");if(c.R[b])return c.R[b][0];if(c.ma[b])break}if(c=a.V[b]){c=c(a);if(null==c)throw Error("G`"+b);a.registerService(b,c);return c}return null};bj.prototype.registerService=function(a,b,c){if(this.isDisposed())c||bg(b);else{this.R[a]=[b,!c];c=dga(this,this,a);for(var d=0;d<c.length;d++)c[d].callback(null);delete this.W[a];return b}};
bj.prototype.unregisterService=function(a){if(!this.R[a])throw Error("H`"+a);var b=this.R[a];delete this.R[a];b[1]&&bg(b[0])};
var dj=function(a,b,c){a.V[b]=c;if(c=a.H[b]){if(1<c.length){for(var d=0;d<c.length;++d)c[d].index=d;c.sort(ega)}for(;c.length;)c.shift().d.callback(null);delete a.H[b]}},ega=function(a,b){if(a.Ik!=b.Ik){if(bga(a.Ik,b.Ik))return 1;if(bga(b.Ik,a.Ik))return-1}return a.index<b.index?-1:a.index==b.index?0:1},dga=function(a,b,c){var d=[],e=a.H[c];e&&(gg(e,function(a){bga(a.Ik,b)&&(d.push(a.d),ug(e,a))}),0==e.length&&delete a.H[c]);return d},fga=function(a,b){a.H&&Ug(a.H,function(a,d,e){gg(a,function(c){c.Ik==
b&&ug(a,c)});0==a.length&&delete e[d]})};bj.prototype.Na=function(){if(aga(this)==this){var a=this.U;if(a)for(;a.length;)a[0].dispose()}else{a=aga(this).U;for(var b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}}for(var c in this.R)a=this.R[c],a[1]&&a[0].dispose&&a[0].dispose();this.R=null;this.ta&&this.ka.dispose();fga(this,this);this.H=null;bg(this.ra);this.ma=this.ra=null;bj.ua.Na.call(this)};var cga=function(a){tb.call(this);this.id=a;this.message='Service for "'+a+'" is not registered'}; v(cga,tb);new ofa(new function(){this.H="fva"},1);
var ej=function(){bj.call(this)};v(ej,bj);ej.prototype.Fo=function(){return this.get("o")};var fj=function(a){return cj(a,"j")},K=function(a){return a.get("k")},gj=function(a){return a.get("m")},hj=function(a){return a.get("J")},ij=function(a){return a.get("z")};ej.prototype.Ca=function(){return this.get("y")};
var jj=function(a){return cj(a,"E")},kj=function(a){return a.get("I")},lj=function(a){return a.get("x")},mj=function(a){return a.get("c")},nj=function(a){return a.get("u")},oj=function(a){return cj(a,"d")},pj=function(a){return cj(a,"g")},qj=function(a){return a.get("h")},rj=function(a){return cj(a,"F")},sj=function(a){return cj(a,"H")};
var gga;var hga=!oh||xh(9),iga=!rh&&!oh||oh&&xh(9)||rh&&wh("1.9.1"),jga=oh&&!wh("9"),kga=oh||nh||sh,lga=oh&&!xh(9);var mga={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 tj=function(){this.H="";this.R=nga};tj.prototype.ri=!0;tj.prototype.Xg=function(){return this.H};tj.prototype.toString=function(){return"Const{"+this.H+"}"};var uj=function(a){return a instanceof tj&&a.constructor===tj&&a.R===nga?a.H:"type_error:Const"},nga={},vj=function(a){var b=new tj;b.H=a;return b};
var wj=function(){var a=oga();if(null!=a)return a;throw Error("J");},oga=function(){return p(m.URL)&&p(m.URL.createObjectURL)?m.URL:p(m.webkitURL)&&p(m.webkitURL.createObjectURL)?m.webkitURL:p(m.createObjectURL)?m:null};var pga=function(a,b){return"number"==typeof a?0<a?1:0>a?-1:b?null:0:null==a?null:a?-1:1},qga=/<[^>]*>|&[^;]+;/g,xj=function(a,b){return b?a.replace(qga,""):a},rga=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,sga=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]/,tga=/^http:\/\/.*/,uga=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*$/,
vga=/[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$/,wga=/\s+/,xga=/[\d\u06f0-\u06f9]/,yga=function(a,b){var c=0,d=0,e=!1;a=xj(a,b).split(wga);for(b=0;b<a.length;b++){var g=a[b];sga.test(xj(g,void 0))?(c++,d++):tga.test(g)?e=!0:rga.test(xj(g,void 0))?d++:xga.test(g)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1},yj=function(a,b){switch(yga(b)){case 1:a.dir="ltr";break;case -1:a.dir= "rtl";break;default:a.removeAttribute("dir")}};
var zj=function(){this.H="";this.R=zga};zj.prototype.ri=!0;zj.prototype.Xg=function(){return this.H};zj.prototype.Zw=!0;zj.prototype.bl=function(){return 1};var Aj=function(a){if(a instanceof zj&&a.constructor===zj&&a.R===zga)return a.H;ua(a);return"type_error:TrustedResourceUrl"},Bj=function(a){return Aga(uj(a))},zga={},Aga=function(a){var b=new zj;b.H=a;return b};
var Cj=function(){this.H="";this.R=Bga};Cj.prototype.ri=!0;Cj.prototype.Xg=function(){return this.H};Cj.prototype.Zw=!0;Cj.prototype.bl=function(){return 1};
var Dj=function(a){if(a instanceof Cj&&a.constructor===Cj&&a.R===Bga)return a.H;ua(a);return"type_error:SafeUrl"},Cga=/^(?:audio\/(?:3gpp|3gpp2|aac|midi|mp4|mpeg|ogg|x-m4a|x-wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|text\/csv|video\/(?:mpeg|mp4|ogg|webm))$/i,Dga=function(a){a=Cga.test(a.type)?wj().createObjectURL(a):"about:invalid#zClosurez";return Ej(a)},Ega=/^data:([^;,]*);base64,[a-z0-9+\/]+=*$/i,Fga=function(a){var b=a.match(Ega);b=b&&Cga.test(b[1]);return Ej(b?a:"about:invalid#zClosurez")},
Gga=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Fj=function(a){if(a instanceof Cj)return a;a=a.ri?a.Xg():String(a);Gga.test(a)||(a="about:invalid#zClosurez");return Ej(a)},Hga=function(a){if(a instanceof Cj)return a;a=a.ri?a.Xg():String(a);Gga.test(a)||(a="about:invalid#zClosurez");return Ej(a)},Bga={},Ej=function(a){var b=new Cj;b.H=a;return b};
var Gj=function(){this.H="";this.R=Iga};Gj.prototype.ri=!0;var Iga={};Gj.prototype.Xg=function(){return this.H};
var Jga=function(a){if(a instanceof Gj&&a.constructor===Gj&&a.R===Iga)return a.H;ua(a);return"type_error:SafeStyle"},Kga=function(a){var b=new Gj;b.H=a;return b},Lga=Kga(""),Qga=function(a){if(a instanceof Cj)a='url("'+Dj(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';else if(a instanceof tj)a=uj(a);else{a=String(a);var b=a.replace(Mga,"$1").replace(Nga,"url");if(Oga.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}a=b&&c?Pga(a):"zClosurez"}else a=
"zClosurez"}return a},Oga=/^[-,."'%_!# a-zA-Z0-9]+$/,Nga=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,Mga=/\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-0-9a-z.%, ]+\)/g,Pga=function(a){return a.replace(Nga,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});a=Fj(d).Xg();return c+b+a+b+e})};
var Hj=function(){this.H="";this.R=Rga};Hj.prototype.ri=!0;var Rga={};Hj.prototype.Xg=function(){return this.H};var Ij=function(){this.R="";this.S=Sga;this.H=null};Ij.prototype.Zw=!0;Ij.prototype.bl=function(){return this.H};Ij.prototype.ri=!0;Ij.prototype.Xg=function(){return this.R};
var Jj=function(a){if(a instanceof Ij&&a.constructor===Ij&&a.S===Sga)return a.R;ua(a);return"type_error:SafeHtml"},Lj=function(a){if(a instanceof Ij)return a;var b=null;a.Zw&&(b=a.bl());return Kj(Fb(a.ri?a.Xg():String(a)),b)},Mj=function(a){if(a instanceof Ij)return a;a=Lj(a);var b=Jj(a).replace(/(\r\n|\r|\n)/g,"<br>");return Kj(b,a.bl())},Tga=/^[a-zA-Z0-9-]+$/,Uga={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Vga={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,
META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Nj=function(a,b,c){var d=String(a);if(!Tga.test(d))throw Error("S`"+d);if(d.toUpperCase()in Vga)throw Error("T`"+d);return Wga(String(a),b,c)},Xga=function(a,b){a&&Aj(a);var c={};c.src=a||null;c.srcdoc=null;a={sandbox:""};var d={},e;for(e in c)d[e]=c[e];for(e in a)d[e]=a[e];for(e in b){var g=e.toLowerCase();if(g in c)throw Error("Y`"+g+"`"+e+"`"+b[e]);g in a&&delete d[g];d[e]=b[e]}return Wga("iframe",d,void 0)},Oj=function(a){var b=0,c="",d=
function(a){va(a)?E(a,d):(a=Lj(a),c+=Jj(a),a=a.bl(),0==b?b=a:0!=a&&b!=a&&(b=null))};E(arguments,d);return Kj(c,b)},Yga=function(a,b){var c=Oj(yg(arguments,1));c.H=a;return c},Sga={},Kj=function(a,b){var c=new Ij;c.R=a;c.H=b;return c},Wga=function(a,b,c){var d=null,e="";if(b)for(u in b){if(!Tga.test(u))throw Error("X`"+u);var g=b[u];if(null!=g){var h=a;var k=u;var n=g;if(n instanceof tj)n=uj(n);else if("style"==k.toLowerCase()){g=void 0;h=n;if(!ya(h))throw Error("W`"+typeof h+"`"+h);if(!(h instanceof
Gj)){n="";for(g in h){if(!/^[-_a-zA-Z0-9]+$/.test(g))throw Error("N`"+g);var q=h[g];null!=q&&(q=va(q)?ig(q,Qga).join(" "):Qga(q),n+=g+":"+q+";")}h=n?Kga(n):Lga}n=Jga(h)}else{if(/^on/i.test(k))throw Error("U`"+k+"`"+n);if(k.toLowerCase()in Uga)if(n instanceof zj)n=Aj(n);else if(n instanceof Cj)n=Dj(n);else if(na(n))n=Fj(n).Xg();else throw Error("V`"+k+"`"+h+"`"+n);}n.ri&&(n=n.Xg());k=k+'="'+Fb(String(n))+'"';e+=" "+k}}var u="<"+a+e;null!=c?va(c)||(c=[c]):c=[];!0===mga[a.toLowerCase()]?u+=">":(d=Oj(c), u+=">"+Jj(d)+"</"+a+">",d=d.bl());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Kj(u,d)},Zga=Kj("",0),$ga=Kj("<br>",0);
var Pj=function(a,b){a.innerHTML=Jj(b)},Qj=function(a,b){b=b instanceof Cj?b:Hga(b);a.href=Dj(b)},aha=function(a,b){b=b instanceof Cj?b:Hga(b);a.src=Dj(b)},bha=function(a,b){a.src=Aj(b)},Rj=function(a,b){b=b instanceof Cj?b:Hga(b);a.href=Dj(b)};var Sj=function(a,b,c){return Math.min(Math.max(a,b),c)},Tj=function(a,b){a%=b;return 0>a*b?a+b:a},Uj=function(a){return 0<a?1:0>a?-1:a},cha=function(a){return jg(arguments,function(a,c){return a+c},0)},dha=function(a){return cha.apply(null,arguments)/arguments.length};
var Vj=function(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0};Vj.prototype.clone=function(){return new Vj(this.x,this.y)};Vj.prototype.equals=function(a){return a instanceof Vj&&Wj(this,a)};var Wj=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1},Xj=function(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)},Yj=function(a,b){return new Vj(a.x-b.x,a.y-b.y)};Vj.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
Vj.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Vj.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};var eha=function(a,b,c){b instanceof Vj?(a.x+=b.x,a.y+=b.y):(a.x+=Number(b),pa(c)&&(a.y+=c))};Vj.prototype.H=function(a,b){b=pa(b)?b:a;this.x*=a;this.y*=b;return this};
var Zj=function(a,b){this.width=a;this.height=b},ak=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};f=Zj.prototype;f.clone=function(){return new Zj(this.width,this.height)};f.sv=function(){return this.width*this.height};f.aspectRatio=function(){return this.width/this.height};f.isEmpty=function(){return!this.sv()};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};var bk=function(a,b){return a.width<=b.width&&a.height<=b.height};
Zj.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Zj.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var ck=function(a,b,c){c=pa(c)?c:b;a.width*=b;a.height*=c;return a},dk=function(a,b){b=a.aspectRatio()>b.aspectRatio()?b.width/a.width:b.height/a.height;return ck(a,b)};
var gk=function(a){return a?new ek(fk(a)):yaa||(yaa=new ek)},hk=function(a,b){return na(b)?a.getElementById(b):b},ik=function(a,b){return(b||document).getElementsByTagName(String(a))},kk=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):jk(document,"*",a,b)},lk=function(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=fha(document,"*",a,b);return d||null},jk=function(a,b,c,d){a=d||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){d={};for(var e=0,g=0,h;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(g=e=0;h=a[g];g++)b=h.className,"function"==typeof b.split&&pg(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a},fha=function(a,b,c,d){var e=d||a,g=b&&"*"!=b?String(b).toUpperCase():"";return e.querySelectorAll&&
e.querySelector&&(g||c)?e.querySelector(g+(c?"."+c:"")):jk(a,b,c,d)[0]||null},mk=function(a,b){Ug(b,function(b,d){b&&b.ri&&(b=b.Xg());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:gha.hasOwnProperty(d)?a.setAttribute(gha[d],b):ub(d,"aria-")||ub(d,"data-")?a.setAttribute(d,b):a[d]=b})},gha={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",
usemap:"useMap",valign:"vAlign",width:"width"},ok=function(a){a=(a||window).document;a=nk(a)?a.documentElement:a.body;return new Zj(a.clientWidth,a.clientHeight)},qk=function(a){var b=pk(a);a=a.parentWindow||a.defaultView;return oh&&wh("10")&&a.pageYOffset!=b.scrollTop?new Vj(b.scrollLeft,b.scrollTop):new Vj(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},pk=function(a){return a.scrollingElement?a.scrollingElement:!sh&&nk(a)?a.documentElement:a.body||a.documentElement},rk=function(a){return a?
a.parentWindow||a.defaultView:window},sk=function(a,b,c){return hha(document,arguments)},hha=function(a,b){var c=String(b[0]),d=b[1];if(!hga&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Fb(d.name),'"');if(d.type){c.push(' type="',Fb(d.type),'"');var e={};kh(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(na(d)?c.className=d:va(d)?c.className=d.join(" "):mk(c,d));2<b.length&&iha(a,c,b,2);return c},iha=function(a,b,c,d){function e(c){c&&b.appendChild(na(c)?a.createTextNode(c):
c)}for(;d<c.length;d++){var g=c[d];!wa(g)||ya(g)&&0<g.nodeType?e(g):E(jha(g)?wg(g):g,e)}},tk=function(a){return document.createElement(String(a))},nk=function(a){return"CSS1Compat"==a.compatMode},uk=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 "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0},
vk=function(a,b){iha(fk(a),a,arguments,1)},wk=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},xk=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)},yk=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)},zk=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)},Ak=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},kha=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)},Bk=function(a){return iga&&void 0!=a.children?a.children:hg(a.childNodes,
function(a){return 1==a.nodeType})},lha=function(a){return p(a.firstElementChild)?a.firstElementChild:Ck(a.firstChild,!0)},Ck=function(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a},Dk=function(a){return ya(a)&&1==a.nodeType},Ek=function(a){var b;if(kga&&!(oh&&wh("9")&&!wh("10")&&m.SVGElement&&a instanceof m.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return Dk(b)?b:null},Fk=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},oha=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(oh&&!xh(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,g=b.parentNode;return e==
g?mha(a,b):!c&&Fk(e,b)?-1*nha(a,b):!d&&Fk(g,a)?nha(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)}d=fk(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(m.Range.START_TO_END,a)},nha=function(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return mha(b,a)},mha=function(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1},pha=function(a){var b,c=arguments.length;
if(!c)return null;if(1==c)return arguments[0];var d=[],e=Infinity;for(b=0;b<c;b++){for(var g=[],h=arguments[b];h;)g.unshift(h),h=h.parentNode;d.push(g);e=Math.min(e,g.length)}g=null;for(b=0;b<e;b++){h=d[0][b];for(var k=1;k<c;k++)if(h!=d[k][b])return g;g=h}return g},fk=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},Gk=function(a){return a.contentDocument||a.contentWindow.document},Hk=function(a,b){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(a.lastChild);a.firstChild.data=String(b)}else wk(a),a.appendChild(fk(a).createTextNode(String(b)))},qha=function(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||qha(a,b,c,d))return!0;a=a.nextSibling}return!1},rha={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},sha={IMG:" ",BR:"\n"},Ik=function(a){if(oh&&!wh("9")){var b=a.getAttributeNode("tabindex");b=null!=b&&b.specified}else b=a.hasAttribute("tabindex");b&&(a=
a.tabIndex,b=pa(a)&&0<=a&&32768>a);return b},Jk=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))},Kk=function(a){if(jga&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];tha(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");jga||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},Lk=function(a){var b=[];tha(a,b,!1);return b.join("")},tha=function(a,b,c){if(!(a.nodeName in rha))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 sha)b.push(sha[a.nodeName]);else for(a=a.firstChild;a;)tha(a,b,c),a=a.nextSibling},jha=function(a){if(a&&"number"==typeof a.length){if(ya(a))return"function"==typeof a.item||"string"==typeof a.item;if(xa(a))return"function"==typeof a.item}return!1},uha=function(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null},Mk=function(a){try{return a&&a.activeElement}catch(b){}return null},
vha=function(){var a=rk();return p(a.devicePixelRatio)?a.devicePixelRatio:a.matchMedia?Nk(3)||Nk(2)||Nk(1.5)||Nk(1)||.75:1},Nk=function(a){return rk().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},ek=function(a){this.H=a||m.document||document};f=ek.prototype;f.Aa=gk;f.ha=function(a){return hk(this.H,a)};f.getElementsByTagName=function(a,b){return(b||this.H).getElementsByTagName(String(a))};
f.Eg=function(a,b){return kk(a,b||this.H)};f.Pa=function(a,b){return lk(a,b||this.H)};f.ub=function(a,b){return lk(a,b||this.H)};f.setProperties=mk;f.La=function(a,b,c){return hha(this.H,arguments)};f.createElement=function(a){return this.H.createElement(String(a))};var Ok=function(a,b){return a.H.createTextNode(String(b))},Pk=function(a){a=a.H;return a.parentWindow||a.defaultView},Qk=function(a,b){return Mk(b||a.H)};f=ek.prototype;f.appendChild=function(a,b){a.appendChild(b)};f.Qr=vk;f.td=wk;
f.Fs=yk;f.an=zk;f.Zd=Ak;f.iC=kha;f.getChildren=Bk;f.Yv=lha;var wha=function(a,b){return p(b.lastElementChild)?b.lastElementChild:Ck(b.lastChild,!1)};ek.prototype.U=function(a){return p(a.nextElementSibling)?a.nextElementSibling:Ck(a.nextSibling,!0)};var xha=function(a,b){return p(b.previousElementSibling)?b.previousElementSibling:Ck(b.previousSibling,!1)};ek.prototype.$=Ek;ek.prototype.contains=Fk;ek.prototype.W=fk;ek.prototype.R=Hk;var yha=function(a,b){var c=[];return qha(a,b,c,!0)?c[0]:void 0}; ek.prototype.S=Jk;ek.prototype.V=Kk;
mh("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var zha="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),Rk=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},Sk=function(a){return a.getAttribute("role")||null},Tk=function(a,b,c){va(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(gga||(gga={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,
sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=gga,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},Uk=function(a,b){a.removeAttribute("aria-"+b)},Vk=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},Aha=function(a){var b=Vk(a,"activedescendant");return fk(a).getElementById(b)},Wk=function(a,b){var c="";b&&(c=b.id);Tk(a,"activedescendant",c)},Xk=function(a,b){Tk(a,"label",b)};
var Yk=function(a,b){J.call(this);this.H=a||1;this.R=b||m;this.S=r(this.PZ,this);this.U=t()};v(Yk,J);f=Yk.prototype;f.enabled=!1;f.Yg=null;f.setInterval=function(a){this.H=a;this.Yg&&this.enabled?(this.stop(),this.start()):this.Yg&&this.stop()};f.PZ=function(){if(this.enabled){var a=t()-this.U;0<a&&a<.8*this.H?this.Yg=this.R.setTimeout(this.S,this.H-a):(this.Yg&&(this.R.clearTimeout(this.Yg),this.Yg=null),this.dispatchEvent("tick"),this.enabled&&(this.Yg=this.R.setTimeout(this.S,this.H),this.U=t()))}};
f.start=function(){this.enabled=!0;this.Yg||(this.Yg=this.R.setTimeout(this.S,this.H),this.U=t())};f.stop=function(){this.enabled=!1;this.Yg&&(this.R.clearTimeout(this.Yg),this.Yg=null)};f.Na=function(){Yk.ua.Na.call(this);this.stop();delete this.R};var L=function(a,b,c){if(xa(a))c&&(a=r(a,c));else if(a&&"function"==typeof a.handleEvent)a=r(a.handleEvent,a);else throw Error("Z");return 2147483647<Number(b)?-1:m.setTimeout(a,b||0)},Zk=function(a){m.clearTimeout(a)};
var $k=function(a){A.call(this);this.Wb=a||gk();this.H={}};v($k,A);$k.prototype.Na=function(){Ug(this.H,this.Wb.Zd,this.Wb);this.Wb=this.H=null;$k.ua.Na.call(this)};
var Cha=function(a,b,c){var d=Bha(a,c||"polite");Hk(d,"");L(function(){Hk(d,b)},1)},Bha=function(a,b){var c=a.H[b];if(c)return Uk(c,"hidden"),c;c=a.Wb.createElement("DIV");c.style.position="absolute";c.style.top="-1000px";c.style.height="1px";c.style.overflow="hidden";Tk(c,"live",b);Tk(c,"atomic","true");a.Wb.H.body.appendChild(c);return a.H[b]=c};
var al=function(){this.H=new $k};ta(al);al.prototype.speak=function(a){Cha(this.H,a)};var bl=function(a){this.type=a},cl=function(a,b){this.type=a;this.jj=va(b)?b:[b]};l(cl,bl);var dl=function(a,b,c,d){cl.call(this,a,b);this.H=c;this.R=d};l(dl,cl);var Dha=function(a,b){cl.call(this,"color",a);this.color=b};l(Dha,cl);var el=function(a,b){cl.call(this,"deleteAnnotation",a);this.H=va(b)?b:[b]};l(el,cl);var fl=function(a,b,c){this.type="new";this.H=va(a)?a:[a];this.parentId=b;this.R=c||null};l(fl,bl);
var Eha=function(a,b,c,d,e,g){this.type="insertMedia";this.R=a;this.url=b;this.U=c;this.S=d;this.filename=e;this.H=g};l(Eha,bl);var Fha=function(a,b,c){c=void 0===c?!1:c;cl.call(this,"convert",a);this.R=b;this.H=c};l(Fha,cl);var Gha=function(a,b,c){cl.call(this,"reorder",a);this.H=va(b)?b:[b];this.R=p(c)?va(c)?c:[c]:void 0};l(Gha,cl);var Hha=function(a,b,c,d,e,g){cl.call(this,"insertListItem",a);this.S=b;this.H=c;this.V=d;this.R=e;this.U=g};l(Hha,cl); var Iha=function(a,b,c,d){cl.call(this,"MergeListItem",a);this.H=b;this.R=c;this.S=d};l(Iha,cl);var Jha=function(a,b,c){cl.call(this,a,b);this.tag=c};l(Jha,cl);
var gl=function(){A.call(this);this.S=[];this.R=0;this.H=!1};v(gl,A);ta(gl);var Kha=Array(5).join(" "),Lha=new Set("category description displayAddress email extracted_text imageUrl lastModifierEmail provenanceUrl suggestType text title url".split(" "));gl.prototype.setEnabled=function(a){this.H=a};gl.prototype.get=function(a){return ig(this.S,function(b){return a?b.S:b.R}).join("\n\n\n\n")};
var Mha=function(a,b){a.H&&hl(a,new il("Downsync",jl(b,!0),jl(b,!1)))},kl=function(a,b){a.H&&hl(a,new il(b,""))},hl=function(a,b){for(var c=1E7-b.H;a.R>c;){var d=a.S.pop();a.R-=d.H}a.S.unshift(b);a.R+=b.H},jl=function(a,b){return Kha+JSON.stringify(a,b?Nha:null,4).replace(/(\r\n|\n|\r)/gm,"\r\n"+Kha)},Nha=function(a,b){if(Lha.has(a))return b?"*** [len: "+b.length+"]":"";if(!a||!Lha.has(a))return b},Oha=function(a,b){a+="";return a.length>=b?a:Array(b-a.length+1).join("0")+a},il=function(a,b,c){var d= new Date;d=d.getMonth()+1+"/"+d.getDate()+"/"+d.getFullYear()+" "+d.getHours()+":"+Oha(d.getMinutes(),2)+":"+Oha(d.getSeconds(),2)+":"+Oha(d.getMilliseconds(),3);this.S=a+" - "+d+(b?"\n"+b:"");this.R=c?a+" - "+d+"\n"+c:this.S;this.H=this.R.length};
var ll="StopIteration"in m?m.StopIteration:{message:"StopIteration",stack:""},ml=function(){};ml.prototype.next=function(){throw ll;};ml.prototype.uf=function(){return this};
var Pha=function(a){if(a instanceof ml)return a;if("function"==typeof a.uf)return a.uf(!1);if(wa(a)){var b=0,c=new ml;c.next=function(){for(;;){if(b>=a.length)throw ll;if(b in a)return a[b++];b++}};return c}throw Error("$");},Qha=function(a,b){if(wa(a))try{E(a,b,void 0)}catch(c){if(c!==ll)throw c;}else{a=Pha(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==ll)throw c;}}},Rha=function(a){if(wa(a))return wg(a);a=Pha(a);var b=[];Qha(a,function(a){b.push(a)});return b};
var nl=function(a,b){this.R={};this.H=[];this.U=this.S=0;var c=arguments.length;if(1<c){if(c%2)throw Error("j");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};nl.prototype.Bc=function(){return this.S};nl.prototype.Ec=function(){ol(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.R[this.H[b]]);return a};nl.prototype.yd=function(){ol(this);return this.H.concat()};var ql=function(a,b){return pl(a.R,b)};
nl.prototype.dg=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[b];if(pl(this.R,c)&&this.R[c]==a)return!0}return!1};nl.prototype.equals=function(a,b){if(this===a)return!0;if(this.S!=a.Bc())return!1;b=b||Sha;ol(this);for(var c,d=0;c=this.H[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Sha=function(a,b){return a===b};nl.prototype.isEmpty=function(){return 0==this.S};nl.prototype.clear=function(){this.R={};this.U=this.S=this.H.length=0};
nl.prototype.remove=function(a){return pl(this.R,a)?(delete this.R[a],this.S--,this.U++,this.H.length>2*this.S&&ol(this),!0):!1};var ol=function(a){if(a.S!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];pl(a.R,d)&&(a.H[c++]=d);b++}a.H.length=c}if(a.S!=a.H.length){var e={};for(c=b=0;b<a.H.length;)d=a.H[b],pl(e,d)||(a.H[c++]=d,e[d]=1),b++;a.H.length=c}};f=nl.prototype;f.get=function(a,b){return pl(this.R,a)?this.R[a]:b};
f.set=function(a,b){pl(this.R,a)||(this.S++,this.H.push(a),this.U++);this.R[a]=b};f.addAll=function(a){if(a instanceof nl){var b=a.yd();a=a.Ec()}else b=$g(a),a=Zg(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};f.forEach=function(a,b){for(var c=this.yd(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new nl(this)}; f.uf=function(a){ol(this);var b=0,c=this.U,d=this,e=new ml;e.next=function(){if(c!=d.U)throw Error("aa");if(b>=d.H.length)throw ll;var e=d.H[b++];return a?e:d.R[e]};return e};var pl=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
var Tha=function(a){return a.Bc&&"function"==typeof a.Bc?a.Bc():wa(a)||na(a)?a.length:Yg(a)},rl=function(a){if(a.Ec&&"function"==typeof a.Ec)return a.Ec();if(na(a))return a.split("");if(wa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Zg(a)},sl=function(a){if(a.yd&&"function"==typeof a.yd)return a.yd();if(!a.Ec||"function"!=typeof a.Ec){if(wa(a)||na(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return $g(a)}},Uha=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,
void 0);else if(wa(a)||na(a))E(a,b,void 0);else for(var c=sl(a),d=rl(a),e=d.length,g=0;g<e;g++)b.call(void 0,d[g],c&&c[g],a)},Vha=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(wa(a)||na(a))return lg(a,b,void 0);for(var c=sl(a),d=rl(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};
var tl=function(a,b){this.H=this.V=this.U="";this.W=null;this.ka=this.S="";this.$=!1;var c;a instanceof tl?(this.$=p(b)?b:a.$,ul(this,a.U),this.V=a.V,vl(this,a.H),wl(this,a.W),xl(this,a.S),yl(this,a.R.clone()),zl(this,a.ka)):a&&(c=Fg(String(a)))?(this.$=!!b,ul(this,c[1]||"",!0),this.V=Al(c[2]||""),vl(this,c[3]||"",!0),wl(this,c[4]),xl(this,c[5]||"",!0),yl(this,c[6]||"",!0),zl(this,c[7]||"",!0)):(this.$=!!b,this.R=new Bl(null,0,this.$))};
tl.prototype.toString=function(){var a=[],b=this.U;b&&a.push(Cl(b,Wha,!0),":");var c=this.H;if(c||"file"==b)a.push("//"),(b=this.V)&&a.push(Cl(b,Wha,!0),"@"),a.push(Db(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.W,null!=c&&a.push(":",String(c));if(c=this.S)this.H&&"/"!=c.charAt(0)&&a.push("/"),a.push(Cl(c,"/"==c.charAt(0)?Xha:Yha,!0));(c=this.R.toString())&&a.push("?",c);(c=this.ka)&&a.push("#",Cl(c,Zha));return a.join("")};
tl.prototype.resolve=function(a){var b=this.clone(),c=!!a.U;c?ul(b,a.U):c=!!a.V;c?b.V=a.V:c=!!a.H;c?vl(b,a.H):c=null!=a.W;var d=a.S;if(c)wl(b,a.W);else if(c=!!a.S){if("/"!=d.charAt(0))if(this.H&&!this.S)d="/"+d;else{var e=b.S.lastIndexOf("/");-1!=e&&(d=b.S.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Gb(e,"./")||Gb(e,"/.")){d=ub(e,"/");e=e.split("/");for(var g=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&g.push(""):".."==k?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&h==e.length&&
g.push("")):(g.push(k),d=!0)}d=g.join("/")}else d=e}c?xl(b,d):c=a.ma();c?yl(b,a.R.clone()):c=!!a.ka;c&&zl(b,a.ka);return b};tl.prototype.clone=function(){return new tl(this)};var ul=function(a,b,c){a.U=c?Al(b,!0):b;a.U&&(a.U=a.U.replace(/:$/,""));return a},vl=function(a,b,c){a.H=c?Al(b,!0):b;return a},wl=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("ba`"+b);a.W=b}else a.W=null},xl=function(a,b,c){a.S=c?Al(b,!0):b;return a};tl.prototype.ma=function(){return""!==this.R.toString()};
var yl=function(a,b,c){b instanceof Bl?(a.R=b,$ha(a.R,a.$)):(c||(b=Cl(b,aia)),a.R=new Bl(b,0,a.$));return a},Dl=function(a,b,c){a.R.set(b,c);return a},El=function(a,b,c){va(c)||(c=[String(c)]);bia(a.R,b,c)},Fl=function(a,b){return a.R.get(b)},zl=function(a,b,c){a.ka=c?Al(b):b;return a},Gl=function(a){Dl(a,"zx",Pb());return a};tl.prototype.wl=function(){return!1};
var Hl=function(a,b){return a instanceof tl?a.clone():new tl(a,b)},cia=function(a,b,c,d,e,g){var h=new tl(null,void 0);a&&ul(h,a);b&&(h.V=b);c&&vl(h,c);d&&wl(h,d);e&&xl(h,e);g&&yl(h,g);return h},Il=function(a,b){a instanceof tl||(a=Hl(a));b instanceof tl||(b=Hl(b));return a.resolve(b)},Al=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Cl=function(a,b,c){return na(a)?(a=encodeURI(a).replace(b,dia),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},dia=
function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Wha=/[#\/\?@]/g,Yha=/[#\?:]/g,Xha=/[#\?]/g,aia=/[#\?@]/g,Zha=/#/g,eia=function(a,b){a=Fg(a);b=Fg(b);return a[3]==b[3]&&a[4]==b[4]},Bl=function(a,b,c){this.R=this.H=null;this.S=a||null;this.U=!!c},Jl=function(a){a.H||(a.H=new nl,a.R=0,a.S&&qda(a.S,function(b,c){a.add(Eb(b),c)}))};f=Bl.prototype;f.Bc=function(){Jl(this);return this.R};
f.add=function(a,b){Jl(this);this.S=null;a=Kl(this,a);var c=this.H.get(a);c||this.H.set(a,c=[]);c.push(b);this.R+=1;return this};f.remove=function(a){Jl(this);a=Kl(this,a);return ql(this.H,a)?(this.S=null,this.R-=this.H.get(a).length,this.H.remove(a)):!1};f.clear=function(){this.H=this.S=null;this.R=0};f.isEmpty=function(){Jl(this);return 0==this.R};var fia=function(a,b){Jl(a);b=Kl(a,b);return ql(a.H,b)};f=Bl.prototype;f.dg=function(a){var b=this.Ec();return pg(b,a)};
f.forEach=function(a,b){Jl(this);this.H.forEach(function(c,d){E(c,function(c){a.call(b,c,d,this)},this)},this)};f.yd=function(){Jl(this);for(var a=this.H.Ec(),b=this.H.yd(),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};f.Ec=function(a){Jl(this);var b=[];if(na(a))fia(this,a)&&(b=vg(b,this.H.get(Kl(this,a))));else{a=this.H.Ec();for(var c=0;c<a.length;c++)b=vg(b,a[c])}return b};
f.set=function(a,b){Jl(this);this.S=null;a=Kl(this,a);fia(this,a)&&(this.R-=this.H.get(a).length);this.H.set(a,[b]);this.R+=1;return this};f.get=function(a,b){a=a?this.Ec(a):[];return 0<a.length?String(a[0]):b};var bia=function(a,b,c){a.remove(b);0<c.length&&(a.S=null,a.H.set(Kl(a,b),wg(c)),a.R+=c.length)};
Bl.prototype.toString=function(){if(this.S)return this.S;if(!this.H)return"";for(var a=[],b=this.H.yd(),c=0;c<b.length;c++){var d=b[c],e=Db(d);d=this.Ec(d);for(var g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+Db(d[g]));a.push(h)}}return this.S=a.join("&")};Bl.prototype.clone=function(){var a=new Bl;a.S=this.S;this.H&&(a.H=this.H.clone(),a.R=this.R);return a}; var Kl=function(a,b){b=String(b);a.U&&(b=b.toLowerCase());return b},$ha=function(a,b){b&&!a.U&&(Jl(a),a.S=null,a.H.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),bia(this,c,a))},a));a.U=b};
var Ll={},gia={},hia={},iia={},jia={},Ml={},Nl=function(){throw Error("ea");};Nl.prototype.Fh=null;Nl.prototype.getContent=function(){return this.content};Nl.prototype.toString=function(){return this.content};var Ol=function(a){if(a.Ag===Ml)return Lj(a.toString());if(a.Ag!==Ll)throw Error("fa");return Kj(a.toString(),a.Fh||null)},Pl=function(a,b){this.content=String(a);this.Fh=null!=b?b:null};v(Pl,Nl);Pl.prototype.Ag=Ml;var Ql=function(){Nl.call(this)};v(Ql,Nl);Ql.prototype.Ag=Ll;var Rl=function(){Nl.call(this)};
v(Rl,Nl);Rl.prototype.Ag={};Rl.prototype.Fh=1;var Sl=function(){Nl.call(this)};v(Sl,Nl);Sl.prototype.Ag=gia;Sl.prototype.Fh=1;var Tl=function(){Nl.call(this)};v(Tl,Nl);Tl.prototype.Ag=hia;Tl.prototype.Fh=1;var Ul=function(){Nl.call(this)};v(Ul,Nl);Ul.prototype.Ag=iia;Ul.prototype.Fh=1;var Vl=function(){Nl.call(this)};v(Vl,Nl);Vl.prototype.Ag={};Vl.prototype.Fh=1;var Wl=function(){Nl.call(this)};v(Wl,Nl);Wl.prototype.Ag=jia;Wl.prototype.Fh=1;
var kia="Y Z E P T G M K m u n".split(" "),lia={"":1,n:Math.pow(1024,-3),u:Math.pow(1024,-2),m:1/1024,k:1024,K:1024,M:Math.pow(1024,2),G:Math.pow(1024,3),T:Math.pow(1024,4),P:Math.pow(1024,5),E:Math.pow(1024,6),Z:Math.pow(1024,7),Y:Math.pow(1024,8)};oh&&wh(8);
var mia=function(a,b){this.H=pga(a,!0);this.S=!!b};mia.prototype.R=yga;var nia=function(a,b,c,d,e){return e&&(0>Number(c)*Number(a.H)||1==a.H&&vga.test(xj(b,d))||-1==a.H&&uga.test(xj(b,d)))?1==a.H?"\u200e":"\u200f":""};var Xl=function(a,b){return null!=a&&a.Ag===b},Yl=function(a){if(null!=a)switch(a.Fh){case 1:return 1;case -1:return-1;case 0:return 0}return null},N=function(a){return null!=a&&a.Ag===Ll?a:a instanceof Ij?M(Jj(a),a.bl()):M(Fb(String(String(a))),Yl(a))},Zl=function(a){return new Pl(a,void 0)},M=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.Fh=d);return a}}(Ql),oia={},$l=function(a){var b="key_a:"+a,c=oia[b];if(void 0===c||0>
c)oia[b]=0;else if(0==c)throw Error("ga`a`"+a);},am=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return(a=String(a))?new b(a):""}},O=function(a){return(a=String(a))?new Pl(a,void 0):""},bm=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){a=String(a);if(!a)return"";a=new b(a);void 0!==d&&(a.Fh=d);return a}}(Ql);am(Rl);am(Tl);am(Sl);am(Ul);am(Vl);
var cm=am(Wl),pia=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/,uia=function(a,b){if(!b)return String(a).replace(qia,"").replace(ria,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=a.replace(qia,function(a,e){if(e&&(e=e.toLowerCase(),b.hasOwnProperty(e)&&b[e])){var g=c.length,h="</",q="";if("/"!=a.charAt(1)){h="<";for(var u;u=sia.exec(a);)if(u[1]&&"dir"==u[1].toLowerCase()){if(a=u[2]){if("'"==a.charAt(0)||'"'==a.charAt(0))a=a.substr(1,a.length-
2);a=a.toLowerCase();if("ltr"==a||"rtl"==a||"auto"==a)q=' dir="'+a+'"'}break}sia.lastIndex=0}c[g]=h+e+">";d[g]=q;return"["+g+"]"}return""});a=dm(a);var e=tia(c);a=a.replace(/\[(\d+)\]/g,function(a,b){return d[b]&&c[b]?c[b].substr(0,c[b].length-1)+d[b]+">":c[b]});return a+e},via=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},tia=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c];"/"==e.charAt(1)?(e=fg(b,e),0>e?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):
"<li>"==e&&0>fg(b,"</ol>")&&0>fg(b,"</ul>")?a[c]="":pia.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},P=function(a){return Xl(a,Ll)?dm(uia(a.getContent())):Fb(String(a))},xia=function(a){Xl(a,iia)?a=a.getContent().replace(/([^"'\s])$/,"$1 "):(a=String(a),a=wia.test(a)?a:"zSoyz");return a},fm=function(a){Xl(a,gia)||Xl(a,hia)?a=em(a):a instanceof Cj?a=em(Dj(a)):a instanceof zj?a=em(Aj(a)):(a=String(a),a=yia.test(a)?a.replace(zia,Aia):"about:invalid#zSoyz");return a},gm=function(a){Xl(a,
gia)||Xl(a,hia)?a=em(a):a instanceof Cj?a=em(Dj(a)):a instanceof zj?a=em(Aj(a)):(a=String(a),a=Bia.test(a)?a.replace(zia,Aia):"about:invalid#zSoyz");return a},hm=function(a){Xl(a,jia)?a=via(a.getContent()):null==a?a="":a instanceof Gj?a=via(Jga(a)):a instanceof Hj?(a instanceof Hj&&a.constructor===Hj&&a.R===Rga?a=a.H:(ua(a),a="type_error:SafeStyleSheet"),a=via(a)):(a=String(a),a=Cia.test(a)?a:"zSoyz");return a},im={},Dia=function(a){var b=im[1]||(im[1]=new mia(1)),c=Kj(String(a),null);a=Yl(a);null==
a&&(a=b.R(Jj(c),!0));var d=void 0;d=d||void 0==d;var e,g=0!=a&&a!=b.H;b.S||g?(g&&(e=-1==a?"rtl":"ltr"),e=Nj("span",{dir:e},c)):e=c;c=Jj(c);e=Yga(0,e,nia(b,c,a,!0,d));return Jj(e)},jm=function(a){var b=im[1]||(im[1]=new mia(1)),c=Xl(a,Ll),d=Yl(a);var e=a+"";null==d&&(d=b.R(e,c));var g=void 0;g=g||void 0==g;var h=[];0!=d&&d!=b.H?(h.push(-1==d?"\u202b":"\u202a"),h.push(e),h.push("\u202c")):h.push(e);h.push(nia(b,e,d,c,g));e=h.join("");b=b.H;return Xl(a,Ml)?new Pl(e,b):c?M(e,b):e},Eia={"\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;"},Fia=function(a){return Eia[a]},Gia={"\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"},Aia=function(a){return Gia[a]},Hia=/[\x00\x22\x27\x3c\x3e]/g,Iia=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Jia=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,zia=/[\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,
Cia=/^(?!-*(?:expression|(?:moz-)?binding))(?!\s+)(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|\s+)*$/i,yia=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Bia=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,wia=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,
dm=function(a){return String(a).replace(Hia,Fia)},em=function(a){return String(a).replace(zia,Aia)},qia=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,ria=/</g,Kia={b:!0,br:!0,em:!0,i:!0,s:!0,sub:!0,sup:!0,u:!0},sia=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;
var km=function(a){a=a||{};var b=a.content;return M('<div role="button" class="'+P("Q0hgme-LgbsSe")+(a.hb?" "+P(a.hb):"")+'" tabindex="0">'+N(null!=b?b:"")+"</div>")},lm=function(a){a=a||{};return M(""+km({hb:O("Q0hgme-Bz112c-LgbsSe"+(a.Zy?" OAU7Vd-LgbsSe":"")+(a.hb?" "+a.hb:"")),content:bm(""+(a.Zy?N(a.Zy):""))})+"")},mm=function(a){a=a||{};var b=a.text;return M(""+km({hb:O("Q0hgme-fmcmS-LgbsSe"+(a.hb?" "+a.hb:"")),content:bm(""+N(null!=b?b:""))})+"")},Lia=function(a){a=a||{};return M(""+km({hb:O("Q0hgme-hxXJme-LgbsSe"+
(a.hb?" "+a.hb:"")),content:bm('<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path class="'+P("hxXJme-Jt5cK")+'" d="m0 0h18v18h-18z"></path><path class="'+P("gk6SMd-Jt5cK")+'" fill-opacity="0.4" fill="#000" d="m6.61 11.89l-3.11-3.11-1.06 1.06 4.17 4.16 8.95-8.95-1.06-1.05z"></path></svg>')})+"")},om=function(a){a=a||{};return M('<div class="'+P("Q0hgme-n5T17d-woLtV")+(a.DG?" "+P(a.DG):"")+(a.du?" "+P(a.du):"")+'">'+nm({Ji:O("v3pZbf")})+nm({Ji:O("oq6NAc")})+
nm({Ji:O("gS7Ybc")})+nm({Ji:O("nllRtd")})+"</div>")},nm=function(a){a=a.Ji;return M('<div class="'+P("aZ2wEe-pbTTYe")+" "+P(a)+'"><div class="'+P("LkdAo-e9ayKc")+" "+P("LK5yu")+'"><div class="'+P("LkdAo")+" "+P("hj4D6d")+'"></div></div><div class="'+P("pehrl-TpMipd")+'"><div class="'+P("LkdAo")+" "+P("hj4D6d")+'"></div></div><div class="'+P("LkdAo-e9ayKc")+" "+P("qwU8Me")+'"><div class="'+P("LkdAo")+" "+P("hj4D6d")+'"></div></div></div>')},Mia=function(a){return M('<div class="'+P("Q0hgme-vDaB1c")+
(a.LD?"":" "+P("JLm1tf-dw27ub"))+'" role="alert"><div class="'+P("Q0hgme-vDaB1c-Ne3sFf")+'"></div>'+mm({hb:O("Q0hgme-vDaB1c-JIbuQc fmcmS-LgbsSe-to915-Ia7Qfc")})+om({DG:O(" CZjX4e ")})+(a.LD?lm({hb:O("Q0hgme-vDaB1c-IYtByb Bz112c-LgbsSe-to915-xJ5Hnf")}):"")+"</div>")},Nia=function(){return M('<div role="tooltip" class="'+P("Q0hgme-suEOdc")+'"><div class="'+P("suEOdc-AHe6Kc")+'"></div><div class="'+P("suEOdc-bN97Pc")+'"></div></div>')},Oia=function(a){a=a||{};return M('<div class="'+P("Q0hgme-XPtOyb")+
(a.Ty?"":" "+P("XPtOyb-di8rgd-Bz112c"))+(a.hb?" "+P(a.hb):"")+'">'+km({hb:O(" XPtOyb-bN97Pc "),content:bm((a.Ty?'<div class="'+P("XPtOyb-Bz112c")+'"></div>':"")+'<label class="'+P("XPtOyb-fmcmS")+'"></label>')})+lm({hb:O(" XPtOyb-VkLyEc ")})+"</div>")},Pia=function(a){a=a||{};return M('<div class="'+P("Q0hgme-Yygnk-m5SR9c")+(a.xG?" "+P("RKidmb"):"")+'"><div class="'+P("Yygnk-m5SR9c-Bz112c")+'"></div>'+(a.xG?om({du:O(" purZT ")}):om(null))+lm({hb:O(" qrlFte ")})+"</div>")};
var Qia=function(){return M(""+N(lm({hb:O("iQ2XYe-bF1uUb-TvD9Pc-LgbsSe Bz112c-LgbsSe-to915-xJ5Hnf")}))+'<div class="'+P("iQ2XYe-bF1uUb-PHlogd")+'"><div class="'+P("Q0hgme-MPu53c")+" "+P("iQ2XYe-bF1uUb-PHlogd-MPu53c")+'"></div><div class="'+P("iQ2XYe-bF1uUb-PHlogd-V67aGc")+'">Show user text content</div></div><textarea class="'+P("iQ2XYe-bF1uUb-bN97Pc")+'" readonly="readonly"></textarea>')},Ria=function(){return M('<div class="'+P("lttrJ-mzNpsf-xJ5Hnf")+'"></div><div class="'+P("lttrJ-mzNpsf")+'"><div class="'+ P("P1ekSe-Ne3sFf")+'"></div><div class="'+P("tk3N6e-Igk6W-AAkFz")+" "+P("tk3N6e-Igk6W-W3j8xb")+'"></div><div class="'+P("LgbsSe-haAclf")+'">'+N(mm({hb:O(" iib5kc-LgbsSe "),text:O(" Reload ")}))+"</div></div>")};
var Sia=function(){return M('<div class="'+P("McfNlf-Sx9Kwc-r4nke")+'"></div><div class="'+P("McfNlf-Sx9Kwc-qJTHM")+'"></div><div class="'+P("McfNlf-Sx9Kwc-c6xFrd")+'">'+N(mm({hb:O(" McfNlf-Sx9Kwc-Neslmb-LgbsSe ")}))+N(mm({hb:O("McfNlf-Sx9Kwc-LoEOdb-LgbsSe fmcmS-LgbsSe-v3pZbf")}))+"</div>"+N(lm({hb:O(" bF1uUb-TvD9Pc-LgbsSe ")}))+"")};
var pm=function(a){if(a.classList)return a.classList;a=a.className;return na(a)&&a.match(/\S+/g)||[]},qm=function(a,b){return a.classList?a.classList.contains(b):pg(pm(a),b)},Q=function(a,b){a.classList?a.classList.add(b):qm(a,b)||(a.className+=0<a.className.length?" "+b:b)},rm=function(a,b){if(a.classList)E(b,function(b){Q(a,b)});else{var c={};E(pm(a),function(a){c[a]=!0});E(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}},sm=function(a,b){a.classList?
a.classList.remove(b):qm(a,b)&&(a.className=hg(pm(a),function(a){return a!=b}).join(" "))},tm=function(a,b){a.classList?E(b,function(b){sm(a,b)}):a.className=hg(pm(a),function(a){return!pg(b,a)}).join(" ")},um=function(a,b,c){c?Q(a,b):sm(a,b)},vm=function(a,b,c){qm(a,b)&&(sm(a,b),Q(a,c))},wm=function(a,b){var c=!qm(a,b);um(a,b,c)};
var Uia=function(a){Tia();return Kj(a,null)},Via=function(a){Tia();return Ej(a)},xm=function(a){Tia();return Aga(a)},Tia=sa;var ym=function(a,b,c){a.innerHTML=Wia(b(c||Xia,void 0,void 0))},zm=function(a){var b=gk();a=a(Xia,void 0,void 0);var c=Wia(a);a=a instanceof Nl?Ol(a):Uia(c);c=b.H;b=c.createElement("DIV");oh?(Pj(b,Oj($ga,a)),b.removeChild(b.firstChild)):Pj(b,a);if(1==b.childNodes.length)b=b.removeChild(b.firstChild);else{for(a=c.createDocumentFragment();b.firstChild;)a.appendChild(b.firstChild);b=a}return b},R=function(a,b,c,d){a=a(b||Xia,void 0,c);d=(d||gk()).createElement("DIV");a=Wia(a);d.innerHTML=a;1==d.childNodes.length&& (a=d.firstChild,1==a.nodeType&&(d=a));return d},Wia=function(a){if(!ya(a))return String(a);if(a instanceof Nl){if(a.Ag===Ll)return a.getContent();if(a.Ag===Ml)return Fb(a.getContent())}return"zSoyz"},Xia={};
var Yia=function(){return sh?"-webkit":rh?"-moz":oh?"-ms":nh?"-o":null};var Am=function(a){A.call(this);this.W=a;this.S={}};v(Am,A);var Zia=[];Am.prototype.listen=function(a,b,c,d){return $ia(this,a,b,c,d)};var $ia=function(a,b,c,d,e,g){va(c)||(c&&(Zia[0]=c.toString()),c=Zia);for(var h=0;h<c.length;h++){var k=si(b,c[h],d||a.handleEvent,e||!1,g||a.W||a);if(!k)break;a.S[k.key]=k}return a};Am.prototype.Jb=function(a,b,c,d){return Bm(this,a,b,c,d)};
var aja=function(a,b,c,d){Bm(a,b,"Pf",c,void 0,d)},Bm=function(a,b,c,d,e,g){if(va(c))for(var h=0;h<c.length;h++)Bm(a,b,c[h],d,e,g);else{b=ri(b,c,d||a.handleEvent,e,g||a.W||a);if(!b)return a;a.S[b.key]=b}return a},Dm=function(a,b,c,d,e){return Cm(a,b,c,d,e)},Cm=function(a,b,c,d,e){c.listen(b,d,e,a.W||a,a);return a};
Am.prototype.$a=function(a,b,c,d,e){if(va(b))for(var g=0;g<b.length;g++)this.$a(a,b[g],c,d,e);else if(a=kfa(a,b,c||this.handleEvent,ya(d)?!!d.capture:!!d,e||this.W||this))wi(a),delete this.S[a.key];return this};var bja=function(a,b,c,d,e){Em.$a(b,c,d,e||a.W||a,a)};Am.prototype.removeAll=function(){Ug(this.S,function(a,b){this.S.hasOwnProperty(b)&&wi(a)},this);this.S={}};Am.prototype.Na=function(){Am.ua.Na.call(this);this.removeAll()};Am.prototype.handleEvent=function(){throw Error("ma");};
var cja=function(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!rh;default:return 166>a.keyCode||183<a.keyCode}},dja=function(a,b,c,d,e,g){if(!(oh||ph||sh&&wh("525")))return!0;if(th&&e)return Fm(a);if(e&&!d)return!1;
pa(b)&&(b=Gm(b));e=17==b||18==b||th&&91==b;if((!c||th)&&e||th&&16==b&&(d||g))return!1;if((sh||ph)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(oh&&d&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(sh||ph)}return Fm(a)},Fm=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(sh||ph)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0; default:return!1}},Gm=function(a){if(rh)a=eja(a);else if(th&&sh)switch(a){case 93:a=91}return a},eja=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 Im=function(a,b){J.call(this);a&&Hm(this,a,b)};v(Im,J);f=Im.prototype;f.Ga=null;f.Rs=null;f.ox=null;f.Ss=null;f.Mg=-1;f.bk=-1;f.$u=!1;
var fja={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},gja={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},hja=oh||ph||sh&&wh("525"),ija=th&&rh;
Im.prototype.H=function(a){if(sh||ph)if(17==this.Mg&&!a.ctrlKey||18==this.Mg&&!a.altKey||th&&91==this.Mg&&!a.metaKey)this.bk=this.Mg=-1;-1==this.Mg&&(a.ctrlKey&&17!=a.keyCode?this.Mg=17:a.altKey&&18!=a.keyCode?this.Mg=18:a.metaKey&&91!=a.keyCode&&(this.Mg=91));hja&&!dja(a.keyCode,this.Mg,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.bk=Gm(a.keyCode),ija&&(this.$u=a.altKey))};Im.prototype.R=function(a){this.bk=this.Mg=-1;this.$u=a.altKey};
Im.prototype.handleEvent=function(a){var b=a.H,c=b.altKey;if(oh&&"keypress"==a.type){var d=this.bk;var e=13!=d&&27!=d?b.keyCode:0}else(sh||ph)&&"keypress"==a.type?(d=this.bk,e=0<=b.charCode&&63232>b.charCode&&Fm(d)?b.charCode:0):nh&&!sh?(d=this.bk,e=Fm(d)?b.keyCode:0):(d=b.keyCode||this.bk,e=b.charCode||0,ija&&(c=this.$u),th&&63==e&&224==d&&(d=191));var g=d=Gm(d);d?63232<=d&&d in fja?g=fja[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in gja&&(g=gja[b.keyIdentifier]);a=g==this.Mg;this.Mg=
g;b=new jja(g,e,a,b);b.altKey=c;this.dispatchEvent(b)};Im.prototype.ha=function(){return this.Ga};var Hm=function(a,b,c){a.Ss&&Jm(a);a.Ga=b;a.Rs=si(a.Ga,"keypress",a,c);a.ox=si(a.Ga,"keydown",a.H,c,a);a.Ss=si(a.Ga,"keyup",a.R,c,a)},Jm=function(a){a.Rs&&(wi(a.Rs),wi(a.ox),wi(a.Ss),a.Rs=null,a.ox=null,a.Ss=null);a.Ga=null;a.Mg=-1;a.bk=-1};Im.prototype.Na=function(){Im.ua.Na.call(this);Jm(this)};var jja=function(a,b,c,d){li.call(this,d);this.type="key";this.keyCode=a;this.R=b;this.repeat=c};v(jja,li);
var Km=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d},kja=function(a){for(var b=new Km(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++){var d=b,e=arguments[c];d.top=Math.min(d.top,e.y);d.right=Math.max(d.right,e.x);d.bottom=Math.max(d.bottom,e.y);d.left=Math.min(d.left,e.x)}return b};f=Km.prototype;f.lc=function(){return this.right-this.left};f.clone=function(){return new Km(this.top,this.right,this.bottom,this.left)};
f.contains=function(a){return this&&a?a instanceof Km?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
var Lm=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Lm.prototype.clone=function(){return new Lm(this.left,this.top,this.width,this.height)};
var lja=function(a){return new Km(a.top,a.left+a.width,a.top+a.height,a.left)},mja=function(a,b){return new Lm(a.x,a.y,b.width,b.height)},Mm=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1},nja=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);b=Math.min(a.top+a.height,b.top+b.height);if(e<=b)return a.left=c,a.top=e,a.width=d-c,a.height=b-e,!0}return!1},Nm=function(a,b){var c=
Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new Lm(c,e,d-c,a-e)}return null},Om=function(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height},Pm=function(a,b){var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=
d-a.top};Lm.prototype.contains=function(a){return a instanceof Vj?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};var Qm=function(a){return new Zj(a.width,a.height)},Rm=function(a){return new Vj(a.left,a.top)},Sm=function(a){return new Vj(a.left+a.width,a.top+a.height)};
Lm.prototype.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};Lm.prototype.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};
Lm.prototype.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};var Tm=function(a,b,c){b instanceof Vj?(a.left+=b.x,a.top+=b.y):(a.left+=b,pa(c)&&(a.top+=c))},Um=function(a,b,c){c=pa(c)?c:b;a.left*=b;a.width*=b;a.top*=c;a.height*=c};
var Vm=function(a,b,c){if(na(b))(b=oja(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=oja(c,d);g&&(c.style[g]=e)}},pja={},oja=function(a,b){var c=pja[b];if(!c){var d=Ub(b);c=d;void 0===a.style[d]&&(d=(sh?"Webkit":rh?"Moz":oh?"ms":nh?"O":null)+Paa(d),void 0!==a.style[d]&&(c=d));pja[b]=c}return c},Wm=function(a,b){var c=a.style[Ub(b)];return"undefined"!==typeof c?c:a.style[oja(a,b)]||""},Xm=function(a,b){var c=fk(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,
null))?a[b]||a.getPropertyValue(b)||"":""},Ym=function(a,b){return Xm(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Zm=function(a){return Ym(a,"position")},an=function(a,b,c){if(b instanceof Vj){var d=b.x;b=b.y}else d=b,b=c;a.style.left=$m(d,!1);a.style.top=$m(b,!1)},bn=function(a){return new Vj(a.offsetLeft,a.offsetTop)},cn=function(a){a=a?fk(a):document;return!oh||xh(9)||nk(gk(a).H)?a.documentElement:a.body},dn=function(a){var b=a.body;a=a.documentElement;return new Vj(b.scrollLeft||
a.scrollLeft,b.scrollTop||a.scrollTop)},qja=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}oh&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},rja=function(a){if(oh&&!xh(8))return a.offsetParent;var b=fk(a),c=Ym(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=Ym(a,"position"),
d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null},fn=function(a){for(var b=new Km(0,Infinity,Infinity,0),c=gk(a),d=c.H.body,e=c.H.documentElement,g=pk(c.H);a=rja(a);)if(!(oh&&0==a.clientWidth||sh&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Ym(a,"overflow")){var h=en(a),k=new Vj(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,
h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c=ok(Pk(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},tja=function(a,b,c){var d=b||pk(document),e=en(a),g=en(d),h=gn(d);d==pk(document)?(b=e.x-d.scrollLeft,e=e.y-d.scrollTop,oh&&!xh(10)&&(b+=h.left,e+=h.top)):(b=e.x-g.x-h.left,e=
e.y-g.y-h.top);h=sja(a);a=d.clientWidth-h.width;h=d.clientHeight-h.height;g=d.scrollLeft;d=d.scrollTop;c?(g+=b-a/2,d+=e-h/2):(g+=Math.min(b,Math.max(b-a,0)),d+=Math.min(e,Math.max(e-h,0)));return new Vj(g,d)},hn=function(a,b,c){b=b||pk(document);a=tja(a,b,c);b.scrollLeft=a.x;b.scrollTop=a.y},en=function(a){var b=fk(a),c=new Vj(0,0),d=cn(b);if(a==d)return c;a=qja(a);b=qk(gk(b).H);c.x=a.left+b.x;c.y=a.top+b.y;return c},jn=function(a,b){a=uja(a);b=uja(b);return new Vj(a.x-b.x,a.y-b.y)},vja=function(a){a=
qja(a);return new Vj(a.left,a.top)},uja=function(a){if(1==a.nodeType)return vja(a);a=a.changedTouches?a.changedTouches[0]:a;return new Vj(a.clientX,a.clientY)},mn=function(a,b,c){if(b instanceof Zj)c=b.height,b=b.width;else if(void 0==c)throw Error("na");kn(a,b);ln(a,c)},$m=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},ln=function(a,b){a.style.height=$m(b,!0)},kn=function(a,b){a.style.width=$m(b,!0)},nn=function(a){var b=sja;if("none"!=Ym(a,"display"))return b(a);var c=
a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a},sja=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=sh&&!b&&!c;return p(b)&&!d||!a.getBoundingClientRect?new Zj(b,c):(a=qja(a),new Zj(a.right-a.left,a.bottom-a.top))},on=function(a){var b=en(a);a=nn(a);return new Lm(b.x,b.y,a.width,a.height)},pn=function(a,b){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)+")")},qn=function(a,b){a=a.style;oh&&!wh("8")?a.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="crop")':(a.backgroundImage="url("+b+")",a.backgroundPosition="top left",a.backgroundRepeat="no-repeat")},S=function(a,b){a.style.display=b?"":"none"},rn=function(a){return"none"!=a.style.display},sn=function(a){return"rtl"==Ym(a,"direction")},wja=rh?"MozUserSelect":sh||ph?"WebkitUserSelect":null,xja=function(a,b,
c){c=c?null:a.getElementsByTagName("*");if(wja){if(b=b?"none":"",a.style&&(a.style[wja]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[wja]=b)}}else if(oh||nh)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)},tn=function(a){return new Zj(a.offsetWidth,a.offsetHeight)},yja=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;
a.style.left=c;a.runtimeStyle.left=d;return+b},un=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?yja(a,b):0},zja=function(a,b){if(oh){var c=un(a,b+"Left"),d=un(a,b+"Right"),e=un(a,b+"Top");a=un(a,b+"Bottom");return new Km(e,d,a,c)}c=Xm(a,b+"Left");d=Xm(a,b+"Right");e=Xm(a,b+"Top");a=Xm(a,b+"Bottom");return new Km(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))},vn=function(a){return zja(a,"padding")},wn=function(a){return zja(a,"margin")},Aja={thin:2,medium:4,thick:6},xn=function(a,
b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in Aja?Aja[b]:yja(a,b)},gn=function(a){if(oh&&!xh(9)){var b=xn(a,"borderLeft"),c=xn(a,"borderRight"),d=xn(a,"borderTop");a=xn(a,"borderBottom");return new Km(d,c,a,b)}b=Xm(a,"borderLeftWidth");c=Xm(a,"borderRightWidth");d=Xm(a,"borderTopWidth");a=Xm(a,"borderBottomWidth");return new Km(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};
var yn=function(){};ta(yn);yn.prototype.H=0;var zn=function(a){return":"+(a.H++).toString(36)};var An=function(a){J.call(this);this.Bb=a||gk();this.Bi=Bja;this.tb=null;this.lb=!1;this.Ga=null;this.Nj=void 0;this.Eh=this.Qb=this.Nb=this.Ic=null;this.hz=!1};v(An,J);An.prototype.DT=yn.Ja();
var Bja=null,Cja=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("oa");};An.prototype.getId=function(){return this.tb||(this.tb=zn(this.DT))};An.prototype.wg=function(a){this.Nb&&this.Nb.Eh&&(gh(this.Nb.Eh,this.tb),hh(this.Nb.Eh,a,this));this.tb=a};
An.prototype.ha=function(){return this.Ga};var Dja=function(a,b){a.Ga=b};f=An.prototype;f.Eg=function(a){return this.Ga?this.Bb.Eg(a,this.Ga):[]};f.Pa=function(a){return this.Ga?this.Bb.Pa(a,this.Ga):null};f.ub=function(a){return this.Pa(a)};f.Ea=function(){this.Nj||(this.Nj=new Am(this));return this.Nj};f.zd=function(a){if(this==a)throw Error("pa");if(a&&this.Nb&&this.tb&&this.Nb.Eb(this.tb)&&this.Nb!=a)throw Error("pa");this.Nb=a;An.ua.Lb.call(this,a)};f.getParent=function(){return this.Nb};
f.Lb=function(a){if(this.Nb&&this.Nb!=a)throw Error("qa");An.ua.Lb.call(this,a)};f.Aa=function(){return this.Bb};f.La=function(){this.Ga=this.Bb.createElement("DIV")};f.render=function(a){this.Dn(a)};var Bn=function(a,b){a.Dn(b.parentNode,b)};f=An.prototype;f.Dn=function(a,b){if(this.lb)throw Error("ra");this.Ga||this.La();a?a.insertBefore(this.Ga,b||null):this.Bb.H.body.appendChild(this.Ga);this.Nb&&!this.Nb.lb||this.Ha()};
f.Ra=function(a){if(this.lb)throw Error("ra");if(a&&this.hf(a)){this.hz=!0;var b=fk(a);this.Bb&&this.Bb.H==b||(this.Bb=gk(a));this.Ub(a);this.Ha()}else throw Error("sa");};f.hf=function(){return!0};f.Ub=function(a){this.Ga=a};f.Ha=function(){this.lb=!0;this.xd(function(a){!a.lb&&a.ha()&&a.Ha()})};f.vc=function(){this.xd(function(a){a.lb&&a.vc()});this.Nj&&this.Nj.removeAll();this.lb=!1};
f.Na=function(){this.lb&&this.vc();this.Nj&&(this.Nj.dispose(),delete this.Nj);this.xd(function(a){a.dispose()});!this.hz&&this.Ga&&Ak(this.Ga);this.Nb=this.Ic=this.Ga=this.Eh=this.Qb=null;An.ua.Na.call(this)};var Cn=function(a,b){return a.getId()+"."+b};f=An.prototype;f.Ca=function(){return this.Ic};f.hd=function(a){this.Ic=a};f.Ia=function(a,b){this.Cd(a,this.Sc(),b)};
f.Cd=function(a,b,c){if(a.lb&&(c||!this.lb))throw Error("ra");if(0>b||b>this.Sc())throw Error("ta");this.Eh&&this.Qb||(this.Eh={},this.Qb=[]);if(a.getParent()==this){var d=a.getId();this.Eh[d]=a;ug(this.Qb,a)}else hh(this.Eh,a.getId(),a);a.zd(this);zg(this.Qb,b,0,a);a.lb&&this.lb&&a.getParent()==this?(c=this.Tb(),b=c.childNodes[b]||null,b!=a.ha()&&c.insertBefore(a.ha(),b)):c?(this.Ga||this.La(),b=this.Kc(b+1),a.Dn(this.Tb(),b?b.Ga:null)):this.lb&&!a.lb&&a.Ga&&a.Ga.parentNode&&1==a.Ga.parentNode.nodeType&&
a.Ha()};f.Tb=function(){return this.Ga};f.qf=function(){null==this.Bi&&(this.Bi=sn(this.lb?this.Ga:this.Bb.H.body));return this.Bi};f.sk=function(a){if(this.lb)throw Error("ra");this.Bi=a};f.Sc=function(){return this.Qb?this.Qb.length:0};f.Eb=function(a){return this.Eh&&a?ih(this.Eh,a)||null:null};f.Kc=function(a){return this.Qb?this.Qb[a]||null:null};f.xd=function(a,b){this.Qb&&E(this.Qb,a,b)};var Dn=function(a,b){return a.Qb&&b?eg(a.Qb,b):-1};
An.prototype.removeChild=function(a,b){if(a){var c=na(a)?a:a.getId();a=this.Eb(c);c&&a&&(gh(this.Eh,c),ug(this.Qb,a),b&&(a.vc(),a.Ga&&Ak(a.Ga)),a.zd(null))}if(!a)throw Error("ua");return a};An.prototype.Qp=function(a,b){return this.removeChild(this.Kc(a),b)};An.prototype.td=function(a){for(var b=[];this.Qb&&0!=this.Qb.length;)b.push(this.Qp(0,a));return b};
var En=function(){},Eja;ta(En);var Fja={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};En.prototype.dh=function(){};En.prototype.La=function(a){return a.Aa().La("DIV",Fn(this,a).join(" "),a.getContent())};En.prototype.Tb=function(a){return a};var Hja=function(a,b,c){if(a=a.ha?a.ha():a){var d=[b];oh&&!wh("7")&&(d=Gja(pm(a),b),d.push(b));(c?rm:tm)(a,d)}};En.prototype.hf=function(){return!0};
En.prototype.Ra=function(a,b){b.id&&a.wg(b.id);var c=this.Tb(b);c&&c.firstChild?Ija(a,c.firstChild.nextSibling?wg(c.childNodes):c.firstChild):a.Om=null;var d=0,e=this.$b(),g=this.$b(),h=!1,k=!1,n=!1,q=wg(pm(b));E(q,function(a){h||a!=e?k||a!=g?d|=this.S(a):k=!0:(h=!0,g==e&&(k=!0));1==this.S(a)&&Ik(c)&&Jk(c,!1)},this);a.Uj=d;h||(q.push(e),g==e&&(k=!0));k||q.push(g);(a=a.Uk)&&q.push.apply(q,a);if(oh&&!wh("7")){var u=Gja(q);0<u.length&&(q.push.apply(q,u),n=!0)}if(!h||!k||a||n)b.className=q.join(" ");
return b};En.prototype.pC=function(a){a.qf()&&this.sk(a.ha(),!0);a.isEnabled()&&this.il(a,a.Sa())};var Jja=function(a,b,c){if(a=c||a.dh())c=Sk(b),a!=c&&Rk(b,a)},Kja=function(a,b,c){var d=b.W;null!=d&&Xk(c,d);b.Sa()||Tk(c,"hidden",!b.Sa());b.isEnabled()||a.Ei(c,1,!b.isEnabled());Gn(b,8)&&a.Ei(c,8,b.isSelected());Gn(b,16)&&a.Ei(c,16,b.Bf());Gn(b,64)&&a.Ei(c,64,Hn(b,64))};f=En.prototype;f.mw=function(a,b){xja(a,!b,!oh&&!nh)};f.sk=function(a,b){Hja(a,this.$b()+"-SIsrTd",b)};
f.qC=function(a){var b;return Gn(a,32)&&(b=a.ha())?Ik(b):!1};f.il=function(a,b){var c;if(Gn(a,32)&&(c=a.ha())){if(!b&&Hn(a,32)){try{c.blur()}catch(d){}Hn(a,32)&&a.Vr(null)}Ik(c)!=b&&Jk(c,b)}};f.setVisible=function(a,b){S(a,b);a&&Tk(a,"hidden",!b)};f.Kb=function(a,b,c){var d=a.ha();if(d){var e=this.H(b);e&&Hja(a,e,c);this.Ei(d,b,c)}};
f.Ei=function(a,b,c){Eja||(Eja={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Eja[b];var d=Sk(a);d&&(d=Fja[d]||b,b="checked"==b||"selected"==b?d:b);b&&Tk(a,b,c)};f.Wo=function(a,b){var c=this.Tb(a);c&&(wk(c),b&&(na(b)?Hk(c,b):(a=function(a){if(a){var b=fk(c);c.appendChild(na(a)?b.createTextNode(a):a)}},va(b)?E(b,a):!wa(b)||"nodeType"in b?a(b):E(wg(b),a))))};f.$b=function(){return"VIpgJd-bMcfAe"};
var Fn=function(a,b){var c=a.$b(),d=[c],e=a.$b();e!=c&&d.push(e);c=b.getState();for(e=[];c;){var g=c&-c;e.push(a.H(g));c&=~g}d.push.apply(d,e);(a=b.Uk)&&d.push.apply(d,a);oh&&!wh("7")&&d.push.apply(d,Gja(d));return d},Gja=function(a,b){var c=[];b&&(a=vg(a,[b]));E([],function(d){!lg(d,Aa(pg,a))||b&&!pg(d,b)||c.push(d.join("_"))});return c};En.prototype.H=function(a){this.R||Lja(this);return this.R[a]};
En.prototype.S=function(a){this.Ba||(this.R||Lja(this),this.Ba=Gda(this.R));a=parseInt(this.Ba[a],10);return isNaN(a)?0:a};var Lja=function(a){var b=a.$b();Gb(b.replace(/\xa0|\s/g," ")," ");a.R={1:b+"-OWB6Me",2:b+"-ZmdkE",4:b+"-auswjd",8:b+"-gk6SMd",16:b+"-barxie",32:b+"-XpnDCe",64:b+"-FNFY6c"}};
var In=function(){};v(In,En);ta(In);f=In.prototype;f.dh=function(){return"button"};f.Ei=function(a,b,c){switch(b){case 8:case 16:Tk(a,"pressed",c);break;default:case 64:case 1:In.ua.Ei.call(this,a,b,c)}};f.La=function(a){var b=In.ua.La.call(this,a);this.Mb(b,a.Af());var c=a.getValue();c&&this.yb(b,c);Gn(a,16)&&this.Ei(b,16,a.Bf());return b};f.Ra=function(a,b){b=In.ua.Ra.call(this,a,b);var c=this.getValue(b);a.Ta=c;a.tk(this.Af(b));Gn(a,16)&&this.Ei(b,16,a.Bf());return b};f.getValue=sa;f.yb=sa; f.Af=function(a){return a.title};f.Mb=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.$b=function(){return"VIpgJd-LgbsSe"};
var Jn=function(a,b){if(!a)throw Error("va`"+a);if(!xa(b))throw Error("wa`"+b);Mja[a]=b},Nja={},Mja={};var Kn=function(a,b,c){An.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=za(b);if(d=Nja[d])break;b=b.ua?b.ua.constructor:null}b=d?xa(d.Ja)?d.Ja():new d:null}this.R=b;this.Om=p(a)?a:null;this.W=null};v(Kn,An);f=Kn.prototype;f.Om=null;f.Uj=0;f.bq=39;f.Iq=255;f.Pl=0;f.Wr=!0;f.Uk=null;f.ts=!0;var Pja=function(a,b){a.lb&&b!=a.ts&&Oja(a,b);a.ts=b};Kn.prototype.La=function(){var a=this.R.La(this);this.Ga=a;Jja(this.R,a,this.ta());this.R.mw(a,!1);this.Sa()||this.R.setVisible(a,!1)};
Kn.prototype.ta=function(){return null};var Ln=function(a,b){a.W=b;(a=a.ha())&&Xk(a,b)};Kn.prototype.Tb=function(){return this.R.Tb(this.ha())};Kn.prototype.hf=function(a){return this.R.hf(a)};Kn.prototype.Ub=function(a){this.Ga=a=this.R.Ra(this,a);Jja(this.R,a,this.ta());this.R.mw(a,!1);this.Wr="none"!=a.style.display};
Kn.prototype.Ha=function(){Kn.ua.Ha.call(this);Kja(this.R,this,this.Ga);this.R.pC(this);if(this.bq&-2&&(this.ts&&Oja(this,!0),Gn(this,32))){var a=this.ha();if(a){var b=this.ka||(this.ka=new Im);Hm(b,a);this.Ea().listen(b,"key",this.Dd).listen(a,"focus",this.NN).listen(a,"blur",this.Vr)}}};
var Oja=function(a,b){var c=a.Ea(),d=a.ha();b?(c.listen(d,"mouseover",a.Da).listen(d,"mousedown",a.Ig).listen(d,"mouseup",a.Jg).listen(d,"mouseout",a.Fa),a.va!=sa&&c.listen(d,"contextmenu",a.va),oh&&(wh(9)||c.listen(d,"dblclick",a.NC),a.Ba||(a.Ba=new Mn(a),B(a,a.Ba)))):(c.$a(d,"mouseover",a.Da).$a(d,"mousedown",a.Ig).$a(d,"mouseup",a.Jg).$a(d,"mouseout",a.Fa),a.va!=sa&&c.$a(d,"contextmenu",a.va),oh&&(wh(9)||c.$a(d,"dblclick",a.NC),bg(a.Ba),a.Ba=null))};
Kn.prototype.vc=function(){Kn.ua.vc.call(this);this.ka&&Jm(this.ka);this.Sa()&&this.isEnabled()&&this.R.il(this,!1)};Kn.prototype.Na=function(){Kn.ua.Na.call(this);this.ka&&(this.ka.dispose(),delete this.ka);delete this.R;this.Ba=this.Uk=this.Om=null};Kn.prototype.getContent=function(){return this.Om};var Nn=function(a,b){a.R.Wo(a.ha(),b);a.Om=b},Ija=function(a,b){a.Om=b};f=Kn.prototype;f.Fr=function(){var a=this.getContent();if(!a)return"";a=na(a)?a:va(a)?ig(a,Lk).join(""):Kk(a);return Aaa(a)};
f.sk=function(a){Kn.ua.sk.call(this,a);var b=this.ha();b&&this.R.sk(b,a)};f.Sa=function(){return this.Wr};f.setVisible=function(a,b){return b||this.Wr!=a&&this.dispatchEvent(a?"show":"hide")?((b=this.ha())&&this.R.setVisible(b,a),this.isEnabled()&&this.R.il(this,a),this.Wr=a,!0):!1};f.isEnabled=function(){return!Hn(this,1)};
f.setEnabled=function(a){var b=this.getParent();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!On(this,1,!a)||(a||(Pn(this,!1),Qn(this,!1)),this.Sa()&&this.R.il(this,a),this.Kb(1,!a,!0))};var Qn=function(a,b){On(a,2,b)&&a.Kb(2,b)},Pn=function(a,b){On(a,4,b)&&a.Kb(4,b)};f=Kn.prototype;f.isSelected=function(){return Hn(this,8)};f.jd=function(a){On(this,8,a)&&this.Kb(8,a)};f.Bf=function(){return Hn(this,16)};f.ng=function(a){On(this,16,a)&&this.Kb(16,a)};
f.qk=function(a){On(this,32,a)&&this.Kb(32,a)};f.Ke=function(a){On(this,64,a)&&this.Kb(64,a)};f.getState=function(){return this.Uj};var Hn=function(a,b){return!!(a.Uj&b)};Kn.prototype.Kb=function(a,b,c){c||1!=a?Gn(this,a)&&b!=Hn(this,a)&&(this.R.Kb(this,a,b),this.Uj=b?this.Uj|a:this.Uj&~a):this.setEnabled(!b)};var Gn=function(a,b){return!!(a.bq&b)};Kn.prototype.ye=function(a,b){if(this.lb&&Hn(this,a)&&!b)throw Error("ra");!b&&Hn(this,a)&&this.Kb(a,!1);this.bq=b?this.bq|a:this.bq&~a};
var Rn=function(a,b){return!!(a.Iq&b)&&Gn(a,b)},Sn=function(a,b,c){a.Iq=c?a.Iq|b:a.Iq&~b},On=function(a,b,c){return Gn(a,b)&&Hn(a,b)!=c&&(!(a.Pl&b)||a.dispatchEvent(Cja(b,c)))&&!a.isDisposed()};Kn.prototype.Da=function(a){!Qja(a,this.ha())&&this.dispatchEvent("enter")&&this.isEnabled()&&Rn(this,2)&&Qn(this,!0)};Kn.prototype.Fa=function(a){!Qja(a,this.ha())&&this.dispatchEvent("leave")&&(Rn(this,4)&&Pn(this,!1),Rn(this,2)&&Qn(this,!1))};Kn.prototype.va=sa;
var Qja=function(a,b){return!!a.relatedTarget&&Fk(b,a.relatedTarget)};f=Kn.prototype;f.Ig=function(a){this.isEnabled()&&(Rn(this,2)&&Qn(this,!0),ni(a)&&(Rn(this,4)&&Pn(this,!0),this.R&&this.R.qC(this)&&this.ha().focus()));ni(a)&&a.preventDefault()};f.Jg=function(a){this.isEnabled()&&(Rn(this,2)&&Qn(this,!0),Hn(this,4)&&this.sh(a)&&Rn(this,4)&&Pn(this,!1))};f.NC=function(a){this.isEnabled()&&this.sh(a)};
f.sh=function(a){Rn(this,16)&&this.ng(!this.Bf());Rn(this,8)&&this.jd(!0);Rn(this,64)&&this.Ke(!Hn(this,64));var b=new I("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.ka=a.ka);return this.dispatchEvent(b)};f.NN=function(){Rn(this,32)&&this.qk(!0)};f.Vr=function(){Rn(this,4)&&Pn(this,!1);Rn(this,32)&&this.qk(!1)};f.Dd=function(a){return this.Sa()&&this.isEnabled()&&this.eh(a)?(a.preventDefault(),a.uc(),!0):!1};
f.eh=function(a){return 13==a.keyCode&&this.sh(a)};if(!xa(Kn))throw Error("xa`"+Kn);if(!xa(En))throw Error("ya`"+En);var Rja=za(Kn);Nja[Rja]=En;Jn("VIpgJd-bMcfAe",function(){return new Kn(null)});var Mn=function(a){A.call(this);this.R=a;this.H=!1;this.S=new Am(this);B(this,this.S);a=this.R.Ga;this.S.listen(a,"mousedown",this.V).listen(a,"mouseup",this.W).listen(a,"click",this.U)};v(Mn,A);var Sja=!oh||xh(9);Mn.prototype.V=function(){this.H=!1};Mn.prototype.W=function(){this.H=!0};
var Tja=function(a,b){if(!Sja)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};Mn.prototype.U=function(a){if(this.H)this.H=!1;else{var b=a.H,c=b.button,d=b.type,e=Tja(b,"mousedown");this.R.Ig(new li(e,a.currentTarget));e=Tja(b,"mouseup");this.R.Jg(new li(e,a.currentTarget));Sja||(b.button=c,b.type=d)}}; Mn.prototype.Na=function(){this.R=null;Mn.ua.Na.call(this)};
var Tn=function(){};v(Tn,In);ta(Tn);f=Tn.prototype;f.dh=function(){};f.La=function(a){Uja(a);return a.Aa().La("BUTTON",{"class":Fn(this,a).join(" "),disabled:!a.isEnabled(),title:a.Af()||"",value:a.getValue()||""},a.Fr()||"")};f.hf=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};f.Ra=function(a,b){Uja(a);if(b.disabled){var c=this.H(1);Q(b,c)}return Tn.ua.Ra.call(this,a,b)};f.pC=function(a){a.Ea().listen(a.ha(),"click",a.sh)};f.mw=sa;
f.sk=sa;f.qC=function(a){return a.isEnabled()};f.il=sa;f.Kb=function(a,b,c){Tn.ua.Kb.call(this,a,b,c);(a=a.ha())&&1==b&&(a.disabled=c)};f.getValue=function(a){return a.value};f.yb=function(a,b){a&&(a.value=b)};f.Ei=sa;var Uja=function(a){Pja(a,!1);Sn(a,255,!1);a.ye(32,!1)};
var Un=function(a,b,c){Kn.call(this,a,b||Tn.Ja(),c)};v(Un,Kn);f=Un.prototype;f.getValue=function(){return this.Ta};f.yb=function(a){this.Ta=a;this.R.yb(this.ha(),a)};f.Af=function(){return this.Qa};f.Mb=function(a){this.Qa=a;this.R.Mb(this.ha(),a)};f.tk=function(a){this.Qa=a};f.Na=function(){Un.ua.Na.call(this);delete this.Ta;delete this.Qa};f.Ha=function(){Un.ua.Ha.call(this);if(Gn(this,32)){var a=this.ha();a&&this.Ea().listen(a,"keyup",this.eh)}}; f.eh=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.sh(a):32==a.keyCode};Jn("VIpgJd-LgbsSe",function(){return new Un(null)});
var Vn=function(a,b,c){A.call(this);this.Fc=a;this.S=b||0;this.R=c;this.Xc=r(this.H,this)};v(Vn,A);f=Vn.prototype;f.tb=0;f.Na=function(){Vn.ua.Na.call(this);this.stop();delete this.Fc;delete this.R};f.start=function(a){this.stop();this.tb=L(this.Xc,p(a)?a:this.S)};f.Mo=function(a){this.Zg()||this.start(a)};f.stop=function(){this.Zg()&&Zk(this.tb);this.tb=0};var Vja=function(a){a.Zg()&&(a.stop(),a.H())};Vn.prototype.Zg=function(){return 0!=this.tb};Vn.prototype.H=function(){this.tb=0;this.Fc&&this.Fc.call(this.R)};
var Wn=function(){Am.call(this);this.H=R(Nia);S(this.H,!1);gk().H.body.appendChild(this.H);this.va=lk("suEOdc-bN97Pc",this.H);this.R=null;this.ra=new Vn(this.BZ,0,this);this.ka=new Vn(this.hZ,300,this);this.U=250;this.ta=new Vn(this.aZ,this.U,this);this.ma=new Set;this.$=!0;this.V=!1};v(Wn,Am);ta(Wn);
Wn.prototype.Mb=function(a,b,c){b?(this.listen(a,["mouseout","mousedown","click","blur",Vea,"keydown"],this.cF,!0).listen(a,["mouseover","focus",ji],this.dF,!0),a.removeAttribute("title"),Tk(a,"label",b),c?a.setAttribute("tooltip-no-delay",!0):a.removeAttribute("tooltip-no-delay")):(this.$a(a,["mouseout","mousedown","click","blur",Vea,"keydown"],this.cF,!0).$a(a,["mouseover","focus",ji],this.dF,!0),Uk(a,"label"),a.removeAttribute("tooltip-no-delay"))};var Wja=function(a){var b=Wn.Ja();a&&b.ma.add(a)};
f=Wn.prototype;f.dF=function(a){this.R=a.currentTarget;if(a=Vk(this.R,"label"))Hk(this.va,a),a="true"==this.R.getAttribute("tooltip-no-delay"),this.ra.start(this.$&&!a?250:0)};f.cF=function(){this.R=null;this.ra.stop();this.V&&(this.V=!1,sm(this.H,"ti6hGc"),sm(this.H,"mhHukc-cGMI2b"),Q(this.H,"ZYIfFd"),this.ta.start(this.U),this.$=!1,this.ka.start())};
f.BZ=function(){if(this.R){this.ka.stop();this.ta.stop();S(this.H,!0);if(this.R){var a=nn(this.H),b=nn(this.R),c=en(this.R);var d=dn(gk().H);var e=ok(),g=d.x+e.width;e=d.y+e.height;this.ma.has(this.R)?(d=c.y+b.height/2-a.height/2,b=c.x+b.width,d=Math.max(0,Math.min(d,e-a.height)),e=!0,b+a.width>g&&(b=c.x-a.width,e=!1),um(this.H,"mhHukc-qwU8Me",e),um(this.H,"mhHukc-LK5yu",!e),tm(this.H,["mhHukc-ma6Yeb","mhHukc-cGMI2b"])):(d=c.y+b.height,b=c.x+b.width/2-a.width/2,b=Math.max(0,Math.min(b,g-a.width)),
g=!0,d+a.height>e&&(d=c.y-a.height,g=!1),um(this.H,"mhHukc-cGMI2b",g),um(this.H,"mhHukc-ma6Yeb",!g),tm(this.H,["mhHukc-LK5yu","mhHukc-qwU8Me"]));this.H.style.top=d+"px";this.H.style.left=b+"px";this.H.setAttribute("content-width-32",Math.ceil(a.width/32));this.U=Math.max(50,250-25*Math.ceil(a.width/32))}sm(this.H,"ZYIfFd");Q(this.H,"ti6hGc");this.V=!0}};f.aZ=function(){S(this.H,!1)};f.hZ=function(){this.$=!0};
var Yn=function(a,b,c){Un.call(this,a,Xn.Ja(),c);this.ra="Button";this.ma="";this.S=b||""};v(Yn,Un);var Zn=null,$n=null;f=Yn.prototype;f.Ha=function(){Yn.ua.Ha.call(this);this.Ea().listen(this,"action",this.ab)};f.focus=function(){try{this.ha()&&this.ha().focus()}catch(a){}};f.Mi=function(){this.focus();this.ha()&&Q(this.ha(),"JbbQac-AHmuwe-i5vt6e")};f.qk=function(a){Yn.ua.qk.call(this,a);this.ha()&&sm(this.ha(),"JbbQac-AHmuwe-i5vt6e")};
f.Ig=function(a){Yn.ua.Ig.call(this,a);this.ha()&&Q(this.ha(),"JbbQac-AHmuwe-i5vt6e")};f.Jg=function(a){Yn.ua.Jg.call(this,a);this.ha()&&Q(this.ha(),"JbbQac-AHmuwe-i5vt6e")};var ao=function(a,b,c){a.ma=b;a.ra=c||a.ra};Yn.prototype.ab=function(){this.S&&this.dispatchEvent(this.S);this.ma&&Zn&&Zn.mb(this.ra,this.ma);this.H&&$n&&$n.log(this.H)};var bo=function(a,b){(a=a.ha())&&Wn.Ja().Mb(a,b)},co=function(a,b,c){Yn.call(this,a,b,c)};v(co,Yn);
var eo=function(a,b,c,d,e){Yn.call(this,a,c,e);this.Ka=a;this.Va=b||a;this.$=d||"";this.Ma="";this.U=!1};v(eo,co);eo.prototype.Ha=function(){eo.ua.Ha.call(this);fo(this,this.U)};eo.prototype.ab=function(){var a=this.U;fo(this,!a);a?this.$&&this.dispatchEvent(this.$):this.S&&this.dispatchEvent(this.S);var b=this.ma,c=this.H;a&&(b=this.Ma,c=this.Ua);b&&Zn&&Zn.mb(this.ra,b);c&&$n&&$n.log(c)};
var fo=function(a,b){Nn(a,b?a.Va:a.Ka);a.ha()&&um(a.ha(),"K4efff",b);a.U=b},go=function(a,b,c){Yn.call(this,void 0,b,c);this.$=a;this.Ma=""};v(go,Yn);go.prototype.Ha=function(){go.ua.Ha.call(this);bo(this,this.$)};go.prototype.setEnabled=function(a){go.ua.setEnabled.call(this,a);this.Ma&&bo(this,a?this.$:this.Ma)};go.prototype.Mb=function(a){this.$=a;this.isEnabled()&&bo(this,a)};
var Xja=function(a,b){a.Ma=b;a.isEnabled()||bo(a,b)},ho=function(a,b){a.ha()&&um(a.ha(),"Bz112c-LgbsSe-to915-xJ5Hnf",b)},io=function(a,b,c,d,e){go.call(this,a,c,e);this.Ab=b||a;this.wb=d||"";this.Ka="";this.Ua=this.U=!1};v(io,go);io.prototype.Ha=function(){io.ua.Ha.call(this);jo(this,this.U)};
io.prototype.ab=function(){var a=this.U;this.Ua||jo(this,!a);a?this.wb&&this.dispatchEvent(this.wb):this.S&&this.dispatchEvent(this.S);if(a){a=this.Ka;var b=this.Va}else a=this.ma,b=this.H;a&&Zn&&Zn.mb(this.ra,a);b&&$n&&$n.log(b)};io.prototype.Mb=function(a){this.$=a;this.U||bo(this,a)};var jo=function(a,b){bo(a,b?a.Ab:a.$);a.ha()&&um(a.ha(),"K4efff",b);a.U=b},ko=function(a,b,c,d){Yn.call(this,void 0,void 0,d);this.hd(a);this.$=b;this.U=c};v(ko,Yn);
ko.prototype.Ha=function(){ko.ua.Ha.call(this);bo(this,this.$);var a=this.ha().querySelector(".hxXJme-Jt5cK");a&&a.setAttribute("fill",this.U);this.ha().style.borderColor=this.U};ko.prototype.jd=function(a){ko.ua.jd.call(this,a);this.ha()&&um(this.ha(),"gk6SMd",a)};var Xn=function(){};v(Xn,In);ta(Xn);
Xn.prototype.La=function(a){var b=km,c="";a instanceof co?(c="Q0hgme-fmcmS-LgbsSe",b=mm):a instanceof go?(c="Q0hgme-Bz112c-LgbsSe",b=lm):a instanceof ko&&(c="Q0hgme-hxXJme-LgbsSe",b=Lia);b=R(b);Q(b,"Q0hgme-LgbsSe");a.Aa().Qr(b,a.getContent());c&&Q(b,c);this.Ra(a,b);return b};
var lo={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:"semicolon",61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",
93:"context",96:"num-0",97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:"semicolon",187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};
var mo=function(a){J.call(this);this.V=this.U={};this.$=0;this.Fa=mh(Yja);this.Ma=mh(Zja);this.ma=!0;this.H=!1;this.Da=!0;this.ka=null;this.S=a;si(this.S,"keydown",this.W,void 0,this);uh&&si(this.S,"keypress",this.ta,void 0,this);si(this.S,"keyup",this.ra,void 0,this)},$ja;v(mo,J);
var aka=function(a){this.H=a||null;this.next=a?null:{}},no={NONE:0,Fi:1,xj:2,vz:4,yj:8},Yja=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],Zja="color date datetime datetime-local email month number password search tel text time url week".split(" "),bka=function(a){if(!$ja){var b={},c;for(c in lo)b[lo[c]]=Gm(parseInt(c,10));$ja=b}return $ja[a]};mo.prototype.R=function(a,b){cka(this.U,dka(1,arguments),a)};mo.prototype.Qa=function(a){eka(this.U,dka(0,arguments))};
mo.prototype.Ka=function(a){return fka(this,this.U,dka(0,arguments))};var dka=function(a,b){if(na(b[a]))a=ig(gka(b[a]),function(a){return hka(a.key||"",a.keyCode,a.aj)});else{var c=b,d=a;va(b[a])&&(c=b[a],d=0);for(a=[];d<c.length;d+=2)a.push(hka("",c[d],c[d+1]))}return a};mo.prototype.Na=function(){mo.ua.Na.call(this);this.U={};vi(this.S,"keydown",this.W,!1,this);uh&&vi(this.S,"keypress",this.ta,!1,this);vi(this.S,"keyup",this.ra,!1,this);this.S=null};
var gka=function(a){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();a=a.split(" ");for(var b=[],c,d=0;c=a[d];d++){c=c.split("+");for(var e=null,g=null,h=0,k,n=0;k=c[n];n++){switch(k){case "shift":h|=1;continue;case "ctrl":h|=2;continue;case "alt":h|=4;continue;case "meta":h|=8;continue}g=bka(k);e=k;break}b.push({key:e,keyCode:g,aj:h})}return b};mo.prototype.ra=function(a){rh&&ika(this,a);uh&&!this.va&&uh&&a.ctrlKey&&a.altKey&&this.W(a)};
var ika=function(a,b){if(th){if(224==b.keyCode){a.Ba=!0;L(function(){this.Ba=!1},400,a);return}var c=b.metaKey||a.Ba;67!=b.keyCode&&88!=b.keyCode&&86!=b.keyCode||!c||(b.metaKey=c,a.W(b))}32==a.ka&&32==b.keyCode&&b.preventDefault();a.ka=null};mo.prototype.ta=function(a){32<a.keyCode&&uh&&a.ctrlKey&&a.altKey&&(this.va=!0)};
var cka=function(a,b,c){var d=b.shift();E(d,function(c){if((c=a[c])&&(0==b.length||c.H))throw Error("Aa");});b.length?E(d,function(d){d=d.toString();var e=new aka;d=d in a?a[d]:a[d]=e;cka(d.next,b.slice(0),c)}):E(d,function(b){a[b]=new aka(c)})},eka=function(a,b){var c=b.shift();E(c,function(c){var d=a[c];d&&(0==b.length?d.H&&delete a[c]:d.next&&(eka(d.next,b.slice(0)),eh(d.next)&&delete a[c]))})},jka=function(a,b){for(var c=0;c<b.length;c++){var d=a[b[c]];if(d)return d}},fka=function(a,b,c){for(;0<
c.length&&b;){var d=c.shift();if((d=jka(b,d))&&(0==c.length&&d.H||fka(a,d.next,c.slice(0))))return!0}return!1},hka=function(a,b,c){c=c||0;b=["c_"+b+"_"+c];""!=a&&b.push("n_"+a+"_"+c);return b};
mo.prototype.W=function(a){a:{var b=a.keyCode;if(""!=a.key){var c=a.key;if("Control"==c||"Shift"==c||"Meta"==c||"AltGraph"==c){b=!1;break a}}else if(16==b||17==b||18==b){b=!1;break a}c=a.target;var d="TEXTAREA"==c.tagName||"INPUT"==c.tagName||"BUTTON"==c.tagName||"SELECT"==c.tagName,e=!d&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);b=!d&&!e||this.Fa[b]?!0:e?!1:this.Da&&(a.altKey||a.ctrlKey||a.metaKey)?!0:"INPUT"==c.tagName&&this.Ma[c.type]?13==b:"INPUT"==c.tagName||"BUTTON"==
c.tagName?32!=b:!1}if(b)if("keydown"==a.type&&uh&&a.ctrlKey&&a.altKey)this.va=!1;else{b=Gm(a.keyCode);c=hka(a.key,b,(a.shiftKey?1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0));d=jka(this.V,c);if(!d||1500<=t()-this.$)this.V=this.U,this.$=t();(d=jka(this.V,c))&&d.next&&(this.V=d.next,this.$=t());d&&(d.next?a.preventDefault():(this.V=this.U,this.$=t(),this.ma&&a.preventDefault(),this.H&&a.uc(),c=d.H,d=a.target,e=this.dispatchEvent(new oo("shortcut",c,d)),(e&=this.dispatchEvent(new oo("shortcut_"+ c,c,d)))||a.preventDefault(),rh&&(this.ka=b)))}};var oo=function(a,b,c){I.call(this,a,c);this.identifier=b};v(oo,I);
var po=function(a,b){this.identifier=a;this.H=b},qo=function(a,b,c,d){var e=d?d instanceof mo?d:new mo(d):new mo(a.ha());B(a,e);(va(b.H)?b.H:[b.H]).forEach(function(a){return e.R(b.identifier,a)});si(e,"shortcut_"+b.identifier,c,void 0,a)},ro=th?"meta":"ctrl",kka=th?"\u2318":"Ctrl";
var so=new po("L","esc"),lka=new po("M","c"),mka=new po("N","l"),nka=new po("O","enter"),oka=new po("P",ro+"+z"),pka=new po("Q",[ro+"+y",ro+"+shift+z"]),qka=new po("R","o"),to=new po("S",ro+"+enter"),rka=new po("T","e"),ska=new po("U","x"),tka=new po("V",["shift+3","delete"]),uka=new po("W",ro+"+shift+8"),vka=new po("X","f"),wka=new po("Y","j"),xka=new po("Z","k"),yka=new po("$","shift+j"),zka=new po("aa","shift+k"),Aka=new po("ba","n"),Bka=new po("ca","p"),Cka=new po("da","shift+n"),Dka=new po("ea", "shift+p"),Eka=new po("fa","x");
(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!m.requestAnimationFrame;++b)m.requestAnimationFrame=m[c+"RequestAnimationFrame"],m.cancelAnimationFrame=m[c+"CancelAnimationFrame"]||m[c+"CancelRequestAnimationFrame"];if(!m.requestAnimationFrame){var d=0;m.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-d));d=b+c;return m.setTimeout(function(){a(b+c)},c)};m.cancelAnimationFrame||(m.cancelAnimationFrame=function(a){clearTimeout(a)})}})();
var Fka=[[],[]],uo=0,Gka=!1,Hka=0,Jka=function(a,b){var c=Hka++,d={oU:{id:c,Tg:a.measure,context:b},HU:{id:c,Tg:a.GU,context:b},state:{},args:void 0,Ls:!1};return function(){0<arguments.length?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&0!=d.args.length?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.Ls||(d.Ls=!0,Fka[uo].push(d));Gka||(Gka=!0,window.requestAnimationFrame(Ika))}},Ika=function(){Gka=!1;var a=Fka[uo],b=a.length;uo=(uo+ 1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.oU;c.Ls=!1;e.Tg&&e.Tg.apply(e.context,c.args)}for(d=0;d<b;++d)c=a[d],e=c.HU,c.Ls=!1,e.Tg&&e.Tg.apply(e.context,c.args),c.state={};a.length=0};
var Kka=Aj(oh?Bj(vj('javascript:""')):Bj(vj("about:blank")));Aj(oh?Bj(vj('javascript:""')):Bj(vj("javascript:undefined")));var Lka=function(a,b){b=b?Jga(b):"";return a.La("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"+b,src:Kka})},Mka=function(a,b,c){var d=uj(vj("position:absolute; width:0; height:0; z-index: -1;"));d=0===d.length?Lga:Kga(d);var e=gk(a);b=Nj("html",{},Oj(Nj("head",{},b),Nj("body",{},c)));c=Lka(e,d);a.appendChild(c);a=Gk(c);a.open();a.write(Jj(b));a.close();return c};
var vo=function(a){J.call(this);this.Ga=a;a=oh?"focusout":"blur";this.H=si(this.Ga,oh?"focusin":"focus",this,!oh);this.R=si(this.Ga,a,this,!oh)};v(vo,J);vo.prototype.handleEvent=function(a){var b=new li(a.H);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};vo.prototype.Na=function(){vo.ua.Na.call(this);wi(this.H);wi(this.R);delete this.Ga};
var Nka=function(a,b){this.Ga=a;this.Bb=b};var wo=function(a,b){J.call(this);this.R=new Am(this);this.nl(a||null);b&&(this.Qm=b)};v(wo,J);f=wo.prototype;f.Ga=null;f.tw=!0;f.tA=null;f.Pm=!1;f.Us=-1;f.Bs=!1;f.Qm="toggle_display";f.getType=function(){return this.Qm};f.ha=function(){return this.Ga};f.nl=function(a){xo(this);this.Ga=a};f.Ea=function(){return this.R};var xo=function(a){if(a.Pm)throw Error("Ba");};wo.prototype.Sa=function(){return this.Pm};
wo.prototype.setVisible=function(a){this.ka&&this.ka.stop();this.$&&this.$.stop();if(a){if(!this.Pm&&this.Dl()){if(!this.Ga)throw Error("Ca");this.tc();a=fk(this.Ga);this.Bs&&this.R.listen(a,"keydown",this.oW,!0);if(this.tw)if(this.R.listen(a,"mousedown",this.sC,!0),oh){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Gk(b)}catch(d){break}a=c;b=a.activeElement}this.R.listen(a,"mousedown",this.sC,!0);this.R.listen(a,"deactivate",this.iF)}else this.R.listen(a,"blur",this.iF);
"toggle_display"==this.Qm?Oka(this):"move_offscreen"==this.Qm&&this.tc();this.Pm=!0;this.Us=t();this.ka?(ri(this.ka,"end",this.nj,!1,this),this.ka.play()):this.nj()}}else yo(this)};wo.prototype.tc=sa;var yo=function(a,b){if(!a.Pm||!a.dispatchEvent({type:"beforehide",target:b}))return!1;a.R&&a.R.removeAll();a.Pm=!1;t();a.$?(ri(a.$,"end",Aa(a.Ua,b),!1,a),a.$.play()):a.Ua(b);return!0};
wo.prototype.Ua=function(a){"toggle_display"==this.Qm?this.CD():"move_offscreen"==this.Qm&&(this.Ga.style.top="-10000px");this.wi(a)};var Oka=function(a){a.Ga.style.visibility="visible";S(a.Ga,!0)};f=wo.prototype;f.CD=function(){this.Ga.style.visibility="hidden";S(this.Ga,!1)};f.Dl=function(){return this.dispatchEvent("beforeshow")};f.nj=function(){this.dispatchEvent("show")};f.wi=function(a){this.dispatchEvent({type:"hide",target:a})};
f.sC=function(a){a=a.target;Fk(this.Ga,a)||Pka(this,a)||150>t()-this.Us||yo(this,a)};f.oW=function(a){27==a.keyCode&&yo(this,a.target)&&(a.preventDefault(),a.uc())};f.iF=function(a){var b=fk(this.Ga);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Fk(this.Ga,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;150>t()-this.Us||yo(this)};var Pka=function(a,b){return kg(a.tA||[],function(a){return b===a||Fk(a,b)})}; wo.prototype.Na=function(){wo.ua.Na.call(this);this.R.dispose();bg(this.ka);bg(this.$);delete this.Ga;delete this.R;delete this.tA};
var zo=function(a,b){An.call(this,b);this.Id=!!a;this.Qa=null;this.Qd=Jka({GU:this.Tt},this)};v(zo,An);f=zo.prototype;f.Nd=null;f.$r=!1;f.zg=null;f.vf=null;f.vd=null;f.Ch=!1;f.Wj=function(){return"VIpgJd-TUo6Hb"};f.ld=function(){return this.zg};f.La=function(){zo.ua.La.call(this);var a=this.ha(),b=Ab(this.Wj()).split(" ");rm(a,b);Jk(a,!0);S(a,!1);Qka(this);Rka(this)};
var Qka=function(a){a.Id&&!a.vf&&(a.vf=Lka(a.Aa()),a.vf.className=a.Wj()+"-xJ5Hnf",S(a.vf,!1),pn(a.vf,0));a.zg||(a.zg=a.Aa().La("DIV",a.Wj()+"-xJ5Hnf"),S(a.zg,!1))},Rka=function(a){a.vd||(a.vd=a.Aa().createElement("SPAN"),S(a.vd,!1),Jk(a.vd,!0),a.vd.style.position="absolute")},Ao=function(a){a.Ch=!0;try{a.vd.focus()}catch(b){}L(a.nk,0,a)};f=zo.prototype;f.nk=function(){this.Ch=!1};f.hf=function(a){return!!a&&"DIV"==a.tagName};
f.Ub=function(a){zo.ua.Ub.call(this,a);a=Ab(this.Wj()).split(" ");rm(this.ha(),a);Qka(this);Rka(this);Jk(this.ha(),!0);S(this.ha(),!1)};f.Ha=function(){this.vf&&xk(this.vf,this.ha());xk(this.zg,this.ha());zo.ua.Ha.call(this);yk(this.vd,this.ha());this.Nd=new vo(this.Aa().H);this.Ea().listen(this.Nd,"focusin",this.onFocus);Ska(this,!1)};f.vc=function(){this.Sa()&&this.setVisible(!1);bg(this.Nd);zo.ua.vc.call(this);Ak(this.vf);Ak(this.zg);Ak(this.vd)};
f.setVisible=function(a){if(a!=this.$r)if(this.Da&&this.Da.stop(),this.Ma&&this.Ma.stop(),this.Ba&&this.Ba.stop(),this.Ka&&this.Ka.stop(),this.lb&&Ska(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.Qa=this.Aa().H.activeElement}catch(e){}this.Tt();this.tc();this.Ea().listen(Pk(this.Aa()),"resize",this.Tt).listen(Pk(this.Aa()),"orientationchange",this.Qd);Tka(this,!0);this.focus();this.$r=!0;this.Da&&this.Ma?(ri(this.Da,"end",this.nj,!1,this),this.Ma.play(),this.Da.play()):this.nj()}}else if(this.dispatchEvent("beforehide")){this.Ea().$a(Pk(this.Aa()),
"resize",this.Tt).$a(Pk(this.Aa()),"orientationchange",this.Qd);this.$r=!1;this.Ba&&this.Ka?(ri(this.Ba,"end",this.wi,!1,this),this.Ka.play(),this.Ba.play()):this.wi();a:{try{var b=this.Aa(),c=b.H.body,d=b.H.activeElement||c;if(!this.Qa||this.Qa==c){this.Qa=null;break a}(d==c||b.contains(this.ha(),d))&&this.Qa.focus()}catch(e){}this.Qa=null}}};
var Ska=function(a,b){a.Dc||(a.Dc=new Nka(a.Ga,a.Bb));a=a.Dc;if(b){a.H||(a.H=[]);b=a.Bb.getChildren(a.Bb.H.body);for(var c=0;c<b.length;c++){var d=b[c];d==a.Ga||Vk(d,"hidden")||(Tk(d,"hidden",!0),a.H.push(d))}}else if(a.H){for(c=0;c<a.H.length;c++)Uk(a.H[c],"hidden");a.H=null}},Tka=function(a,b){a.vf&&S(a.vf,b);a.zg&&S(a.zg,b);S(a.ha(),b);S(a.vd,b)};f=zo.prototype;f.nj=function(){this.dispatchEvent("show")};f.wi=function(){Tka(this,!1);this.dispatchEvent("hide")};f.Sa=function(){return this.$r};
f.focus=function(){this.rC()};f.Tt=function(){this.vf&&S(this.vf,!1);this.zg&&S(this.zg,!1);var a=this.Aa().H,b=ok(rk(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.vf&&(S(this.vf,!0),mn(this.vf,c,a));this.zg&&(S(this.zg,!0),mn(this.zg,c,a))};
f.tc=function(){var a=this.Aa().H,b=rk(a)||window;if("fixed"==Zm(this.ha()))var c=a=0;else c=qk(this.Aa().H),a=c.x,c=c.y;var d=nn(this.ha());b=ok(b);a=Math.max(a+b.width/2-d.width/2,0);c=Math.max(c+b.height/2-d.height/2,0);an(this.ha(),a,c);an(this.vd,a,c)};f.onFocus=function(a){this.Ch?this.nk():a.target==this.vd&&L(this.rC,0,this)};f.rC=function(){try{oh&&this.Aa().H.body.focus(),this.ha().focus()}catch(a){}}; f.Na=function(){bg(this.Da);this.Da=null;bg(this.Ba);this.Ba=null;bg(this.Ma);this.Ma=null;bg(this.Ka);this.Ka=null;zo.ua.Na.call(this)};
var Bo=function(){zo.call(this);this.W=this.S=null;this.U=new co;this.Ia(this.U);this.H=new co;this.Ia(this.H);this.R=new go("Cancel");this.Ia(this.R);this.Xc=sa};v(Bo,zo);ta(Bo);
Bo.prototype.La=function(){Bo.ua.La.call(this);Rk(this.ha(),"alertdialog");ym(this.Tb(),Sia);rm(this.ha(),["bF1uUb-sKfxWe","McfNlf-Sx9Kwc-sKfxWe"]);rm(this.ld(),["bF1uUb-xJ5Hnf","McfNlf-Sx9Kwc-xJ5Hnf"]);this.S=this.ub("McfNlf-Sx9Kwc-r4nke");this.W=this.ub("McfNlf-Sx9Kwc-qJTHM");this.U.Ra(this.ub("McfNlf-Sx9Kwc-LoEOdb-LgbsSe"));this.H.Ra(this.ub("McfNlf-Sx9Kwc-Neslmb-LgbsSe"));this.R.Ra(this.ub("bF1uUb-TvD9Pc-LgbsSe"));this.Ea().listen(this.U,"action",this.ra).listen(this.H,"action",this.ma).listen(this.R,
"action",this.V).listen(this.ld(),"click",this.V).listen(this.ha(),"keydown",this.ta);qo(this,so,this.V)};Bo.prototype.setVisible=function(a){Bo.ua.setVisible.call(this,a);Tk(this.Ga,"hidden",!a)};Bo.prototype.show=function(a,b,c,d,e,g){this.lb||this.render();S(this.S,!1);Hk(this.W,a);Nn(this.U,b);this.H.setVisible(!!c);Nn(this.H,c);this.Xc=d;this.$=e;this.R.setVisible(!!g);this.setVisible(!0);Ii(this.focus,this)};
var Uka=function(a,b,c,d,e,g,h,k){a.show(c,d,e,g,h,k);Hk(a.S,b);S(a.S,!0)},Vka=function(a,b,c,d){a.show(b,"OK","",c,d,void 0)},Wka=function(a,b){return!!b&&a.lb&&Fk(a.ha(),b)};Bo.prototype.ra=function(){this.Xc(!0);this.setVisible(!1)};Bo.prototype.ma=function(){this.Xc(!1);this.setVisible(!1)};Bo.prototype.V=function(){this.$&&this.$();this.setVisible(!1)};Bo.prototype.ta=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.ha()&&Ao(this)};
var Xka=function(a,b){I.call(this,"za");this.R=a;this.parentId=b||null};v(Xka,I);var Yka=function(a){I.call(this,"ya");this.parentId=a||null};v(Yka,I);var Zka=function(a,b){I.call(this,"ta");this.node=a;this.R=b};v(Zka,I);var $ka=function(a){I.call(this,"sa");this.ET=a};v($ka,I);var ala=function(a){I.call(this,"ra");this.R=a};v(ala,I);var bla=function(a,b,c,d){I.call(this,a);this.text=b;this.position=c;this.size=d};v(bla,I);var cla=function(a){I.call(this,"na");this.R=a};v(cla,I);
var Co=function(a,b,c){A.call(this);this.Fc=null!=c?r(a,c):a;this.R=b;this.Xc=r(this.CN,this);this.H=[]};v(Co,A);f=Co.prototype;f.Kn=!1;f.Jp=0;f.$k=null;f.od=function(a){this.H=arguments;this.$k||this.Jp?this.Kn=!0:dla(this)};f.stop=function(){this.$k&&(Zk(this.$k),this.$k=null,this.Kn=!1,this.H=[])};f.pause=function(){this.Jp++};f.resume=function(){this.Jp--;this.Jp||!this.Kn||this.$k||(this.Kn=!1,dla(this))};f.Na=function(){Co.ua.Na.call(this);this.stop()}; f.CN=function(){this.$k=null;this.Kn&&!this.Jp&&(this.Kn=!1,dla(this))};var dla=function(a){a.$k=L(a.Xc,a.R);a.Fc.apply(null,a.H)};
var Do=function(){J.call(this)};v(Do,J);f=Do.prototype;f.ol=0;f.Ph=0;f.mh=100;f.Te=0;f.ti=!1;f.xn=!1;f.yb=function(a){a=Eo(this,a);this.ol!=a&&(this.ol=a+this.Te>this.mh?this.mh-this.Te:a<this.Ph?this.Ph:a,this.ti||this.xn||this.dispatchEvent("change"))};f.getValue=function(){return Eo(this,this.ol)};
var ela=function(a,b){b=Eo(a,b);a.Te!=b&&(a.Te=0>b?0:a.ol+b>a.mh?a.mh-a.ol:b,a.ti||a.xn||a.dispatchEvent("change"))},fla=function(a){return Eo(a,a.Ph)},gla=function(a,b){b=Eo(a,b);if(a.mh!=b){var c=a.ti;a.ti=!0;a.mh=b;b<a.ol+a.Te&&a.yb(b-a.Te);if(b<a.Ph){a.Te=0;var d=b;if(a.Ph!=d){var e=a.ti;a.ti=!0;a.Ph=d;d+a.Te>a.mh&&(a.Te=a.mh-a.Ph);d>a.ol&&a.yb(d);d>a.mh&&(a.Te=0,gla(a,d),a.yb(d));a.ti=e;a.ti||a.xn||a.dispatchEvent("change")}a.yb(a.mh)}b<a.Ph+a.Te&&(a.Te=a.mh-a.Ph);a.ti=c;a.ti||a.xn||a.dispatchEvent("change")}}, Fo=function(a){return Eo(a,a.mh)},Eo=function(a,b){return a.Ph+1*Math.round((b-a.Ph)/1)},Go=function(a){return 1*Math.round(a/1)};
var Ho=function(a){An.call(this,a);this.R=new Do;si(this.R,"change",this.V,!1,this)};v(Ho,An);var Io={vertical:"P1ekSe-ZMv3u-BvBYQ",horizontal:"P1ekSe-ZMv3u-DKlKme"};Ho.prototype.La=function(){this.H=hla(this);this.Ga=this.Aa().La("DIV",Io[this.S],this.H);ila(this);var a=this.ha();Tk(a,"valuemin",fla(this.R));jla(this)};Ho.prototype.Ha=function(){Ho.ua.Ha.call(this);oh&&7>vh&&si(this.ha(),"resize",this.U,!1,this);this.U();var a=this.ha();Rk(a,"progressbar");Tk(a,"live","polite")};
Ho.prototype.vc=function(){Ho.ua.vc.call(this);kla(this)};var hla=function(a){return a.Aa().La("DIV","P1ekSe-ZMv3u-PFprWc")},kla=function(a){oh&&7>vh&&vi(a.ha(),"resize",a.U,!1,a)};Ho.prototype.Ub=function(a){Ho.ua.Ub.call(this,a);Q(this.ha(),Io[this.S]);a=this.ha();a=jk(document,null,"P1ekSe-ZMv3u-PFprWc",a)[0];a||(a=hla(this),this.ha().appendChild(a));this.H=a};Ho.prototype.getValue=function(){return this.R.getValue()};Ho.prototype.yb=function(a){this.R.yb(a);this.ha()&&ila(this)};
var ila=function(a){var b=a.ha();Tk(b,"valuenow",a.getValue())},jla=function(a){var b=a.ha();Tk(b,"valuemax",Fo(a.R))};Ho.prototype.S="horizontal";Ho.prototype.V=function(){this.U();this.dispatchEvent("change")};
Ho.prototype.U=function(){if(this.H){var a=fla(this.R),b=Fo(this.R);a=(this.getValue()-a)/(b-a);b=Math.round(100*a);"vertical"==this.S?oh&&7>vh?(this.H.style.top="0",this.H.style.height="100%",b=this.H.offsetHeight,a=Math.round(a*b),this.H.style.top=b-a+"px",this.H.style.height=a+"px"):(this.H.style.top=100-b+"%",this.H.style.height=b+"%"):this.H.style.width=b+"%"}};Ho.prototype.Na=function(){kla(this);Ho.ua.Na.call(this);this.H=null;this.R.dispose()};
var Jo=function(a){this.S=a;this.H=new Am(this);this.V=0;this.ma=new Vn(this.ra,2E4,this);this.Da=new Co(this.$,1E3,this);this.R=null;this.W=new Ho;this.ka=null;this.U=new co},lla=Th("V2lwZWQgJWkgb2YgJWkgbm9kZXM=");Jo.prototype.start=function(){Uka(Bo.Ja(),Th("QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHdpcGUgeW91ciBhY2NvdW50Pw=="),Th("VGhpcyB3aWxsIHJlbW92ZSBhbGwgbm90ZXMgYW5kIHVzZXIgZGF0YSBhbmQgbWF5IHRha2UgYSBsb25nIHRpbWUuIEl0IGNhbm5vdCBiZSB1bmRvbmUu"),Th("V2lwZSBhY2NvdW50"),"Cancel",r(this.ta,this))};
Jo.prototype.ta=function(a){a&&((a=jj(this.S))&&mla(a),this.R||(this.R=R(Ria),this.W.render(this.R.querySelector(".tk3N6e-Igk6W-AAkFz")),this.ka=this.R.querySelector(".P1ekSe-Ne3sFf"),this.U.Ra(this.R.querySelector(".iib5kc-LgbsSe")),document.body.appendChild(this.R),this.H.listen(this.U,"action",this.va)),this.U.setEnabled(!1),this.V=nla(this),a=this.W,gla(a.R,this.V),a.ha()&&jla(a),this.$(),this.H.listen(this.S.Ca().H,"qa",this.Ba),this.ra())};
var nla=function(a){var b=0;Ug(Ko(a.S.Ca().H),function(a){a.Ba||b++});return b};Jo.prototype.$=function(){if(this.R){var a=nla(this),b=Math.max(0,this.V-a);Hk(this.ka,Lo(lla,b,this.V));this.W.yb(b);a=0==a;this.U.setEnabled(a);a&&this.ma.stop()}};Jo.prototype.ra=function(){ij(this.S).R.mG();this.ma.start()};Jo.prototype.va=function(){Hh(K(this.S))?chrome.runtime.reload():window.location.reload()};Jo.prototype.Ba=function(){this.Da.od()};
var Mo=function(){};v(Mo,En);ta(Mo);Mo.prototype.La=function(a){var b=a.Aa().La("SPAN",Fn(this,a).join(" "));ola(this,b,a.V);return b};Mo.prototype.Ra=function(a,b){b=Mo.ua.Ra.call(this,a,b);var c=pm(b),d=!1;pg(c,No(this,null))?d=null:pg(c,No(this,!0))?d=!0:pg(c,No(this,!1))&&(d=!1);a.V=d;Tk(b,"checked",null==d?"mixed":1==d?"true":"false");return b};Mo.prototype.dh=function(){return"checkbox"};
var ola=function(a,b,c){if(b){var d=No(a,c);qm(b,d)||(Ug(pla,function(a){a=No(this,a);um(b,a,a==d)},a),Tk(b,"checked",null==c?"mixed":1==c?"true":"false"))}};Mo.prototype.$b=function(){return"VIpgJd-MPu53c"};var No=function(a,b){a=a.$b();if(1==b)return a+"-barxie";if(0==b)return a+"-iAfbIe";if(null==b)return a+"-uE9yNd";throw Error("Da`"+b);};
var Oo=function(a,b,c){c=c||Mo.Ja();Kn.call(this,null,c,b);this.V=p(a)?a:!1};v(Oo,Kn);var pla={Y_:!0,A7:!1,B7:null};Oo.prototype.H=null;Oo.prototype.Bf=function(){return 1==this.V};Oo.prototype.ng=function(a){a!=this.V&&(this.V=a,ola(this.R,this.ha(),this.V))};var Po=function(a,b){if(a.lb){var c=Hn(a,32);a.vc();a.H=b;a.Ha();c&&a.Ga.focus()}else a.H=b};
Oo.prototype.Ha=function(){Oo.ua.Ha.call(this);if(this.ts){var a=this.Ea();this.H&&a.listen(this.H,"click",this.S).listen(this.H,"mouseover",this.Da).listen(this.H,"mouseout",this.Fa).listen(this.H,"mousedown",this.Ig).listen(this.H,"mouseup",this.Jg);a.listen(this.ha(),"click",this.S)}a=this.Ga;this.H&&a!=this.H&&yb(Vk(a,"label"))&&(this.H.id||(this.H.id=Cn(this,"lbl")),Tk(a,"labelledby",this.H.id))};
Oo.prototype.setEnabled=function(a){Oo.ua.setEnabled.call(this,a);if(a=this.ha())a.tabIndex=this.isEnabled()?0:-1};Oo.prototype.S=function(a){a.uc();var b=this.V?"uncheck":"check";this.isEnabled()&&!a.target.href&&this.dispatchEvent(b)&&(a.preventDefault(),this.ng(this.V?!1:!0),this.dispatchEvent("change"))};Oo.prototype.eh=function(a){32==a.keyCode&&(this.sh(a),this.S(a));return!1};Jn("VIpgJd-MPu53c",function(){return new Oo});
var Qo=function(a){zo.call(this,!1,a);this.H=new Oo;this.Ia(this.H);this.S=new go("");this.Ia(this.S)};v(Qo,zo);Qo.prototype.La=function(){Qo.ua.La.call(this);ym(this.Tb(),Qia);rm(this.ha(),["bF1uUb-sKfxWe","iQ2XYe-bF1uUb-sKfxWe"]);Q(this.ld(),"bF1uUb-xJ5Hnf")};
Qo.prototype.Ha=function(){Qo.ua.Ha.call(this);this.R=this.ub("iQ2XYe-bF1uUb-bN97Pc");this.S.Ra(this.ub("iQ2XYe-bF1uUb-TvD9Pc-LgbsSe"));this.H.Ra(this.ub("iQ2XYe-bF1uUb-PHlogd-MPu53c"));this.Ea().listen(this.S,"action",r(this.setVisible,this,!1)).listen(this.H,"change",this.U)};Qo.prototype.show=function(){!this.lb&&this.render();this.R.value=gl.Ja().get(!this.H.Bf());this.setVisible(!0);this.R.select()};Qo.prototype.U=function(){this.R.value=gl.Ja().get(!this.H.Bf());this.R.select()};
var Ro=new Set,So=null,qla=null,rla=function(a){uea(K(a)).forEach(function(a){return Ro.add(a)});To()&&gl.Ja().setEnabled(!0);Uo()&&(So=new Jo(a))},To=function(){return Ro.has("CL")},Uo=function(){return Ro.has("WA")},sla=function(){To()&&(qla||(qla=new Qo),qla.show())};
var Vo=function(){J.call(this);this.U="GRID";this.H="home";this.R=this.S=null;this.W=0;this.V=!1};v(Vo,J);var tla={h2:"GRID",h3:"LIST"},Wo=Th("bGFiZWw="),ula={SG:"archive",R3:"home",q5:"reminders",J5:"search",C6:Wo,v7:"trash"},vla=function(a,b){a.U!=b&&(a.U=b,a.dispatchEvent("La"))};Vo.prototype.getStyle=function(){return this.U};Vo.prototype.getTag=function(){return this.H==Wo?this.S:null};Vo.prototype.setTag=function(a){if(a!=this.S||Wo!=this.H)this.S=a,this.H=null,Xo(this,Wo)};
var Yo=function(a){return"search"==a.H?a.R:null},Zo=function(a,b,c){if(!b.equals(a.R)||"search"!=a.H)if(!b.isEmpty()||c||"search"==a.H)"search"!=a.H&&(a.W=t(),a.V=!1),a.R=b,a.H=null,Xo(a,b.isEmpty()&&!c?"home":"search")},$o=function(a){return a.H||"home"},Xo=function(a,b){a.H==b||b==Wo&&!a.S||"search"==b&&!a.R||(a.H=b,a.dispatchEvent("Ka"))};
var wla,xla;var ap=function(){J.call(this);this.H=chrome.storage.local;chrome.storage.onChanged.addListener(r(this.R,this))};v(ap,J);ap.prototype.R=function(a,b){"local"==b&&yla(this,a)&&this.dispatchEvent("Na")};var yla=function(a,b){return kg($g(b),function(a){return ub(a,"google-analytics")},a)};ap.prototype.get=function(a){var b=new Si,c="google-analytics."+a;this.H.get(c,function(a){chrome.runtime.lastError?b.kd(chrome.runtime.lastError):(a=a[c],b.callback(null!=a?a.toString():void 0))});return b}; ap.prototype.set=function(a,b){var c=new Si,d={};d["google-analytics."+a]=b;this.H.set(d,function(){chrome.runtime.lastError?c.kd(chrome.runtime.lastError):c.callback()});return c};
var zla={id:"hitType",name:"t",valueType:"text",maxLength:void 0,defaultValue:void 0},Ala={id:"sessionControl",name:"sc",valueType:"text",maxLength:void 0,defaultValue:void 0},Bla={id:"eventAction",name:"ea",valueType:"text",maxLength:500,defaultValue:void 0},Cla={id:"eventLabel",name:"el",valueType:"text",maxLength:500,defaultValue:void 0},Dla={id:"eventValue",name:"ev",valueType:"integer",maxLength:void 0,defaultValue:void 0},Ela={n2:zla,PG:{id:"anonymizeIp",name:"aip",valueType:"boolean",maxLength:void 0,
defaultValue:void 0},d5:{id:"queueTime",name:"qt",valueType:"integer",maxLength:void 0,defaultValue:void 0},M_:{id:"cacheBuster",name:"z",valueType:"text",maxLength:void 0,defaultValue:void 0},T5:Ala,U5:{id:"sessionGroup",name:"sg",valueType:"text",maxLength:void 0,defaultValue:void 0},R7:{id:"userId",name:"uid",valueType:"text",maxLength:void 0,defaultValue:void 0},S3:{id:"nonInteraction",name:"ni",valueType:"boolean",maxLength:void 0,defaultValue:void 0},H0:{id:"description",name:"cd",valueType:"text",
maxLength:2048,defaultValue:void 0},TITLE:{id:"title",name:"dt",valueType:"text",maxLength:1500,defaultValue:void 0},u_:{id:"appId",name:"aid",valueType:"text",maxLength:150,defaultValue:void 0},v_:{id:"appInstallerId",name:"aiid",valueType:"text",maxLength:150,defaultValue:void 0},w1:{id:"eventCategory",name:"ec",valueType:"text",maxLength:150,defaultValue:void 0},v1:Bla,x1:Cla,y1:Dla,i6:{id:"socialNetwork",name:"sn",valueType:"text",maxLength:50,defaultValue:void 0},h6:{id:"socialAction",name:"sa",
valueType:"text",maxLength:50,defaultValue:void 0},j6:{id:"socialTarget",name:"st",valueType:"text",maxLength:2048,defaultValue:void 0},q7:{id:"transactionId",name:"ti",valueType:"text",maxLength:500,defaultValue:void 0},p7:{id:"transactionAffiliation",name:"ta",valueType:"text",maxLength:500,defaultValue:void 0},r7:{id:"transactionRevenue",name:"tr",valueType:"currency",maxLength:void 0,defaultValue:void 0},s7:{id:"transactionShipping",name:"ts",valueType:"currency",maxLength:void 0,defaultValue:void 0},
t7:{id:"transactionTax",name:"tt",valueType:"currency",maxLength:void 0,defaultValue:void 0},x0:{id:"currencyCode",name:"cu",valueType:"text",maxLength:10,defaultValue:void 0},Q2:{id:"itemPrice",name:"ip",valueType:"currency",maxLength:void 0,defaultValue:void 0},R2:{id:"itemQuantity",name:"iq",valueType:"integer",maxLength:void 0,defaultValue:void 0},O2:{id:"itemCode",name:"ic",valueType:"text",maxLength:500,defaultValue:void 0},P2:{id:"itemName",name:"in",valueType:"text",maxLength:500,defaultValue:void 0},
N2:{id:"itemCategory",name:"iv",valueType:"text",maxLength:500,defaultValue:void 0},U_:{id:"campaignSource",name:"cs",valueType:"text",maxLength:100,defaultValue:void 0},S_:{id:"campaignMedium",name:"cm",valueType:"text",maxLength:50,defaultValue:void 0},T_:{id:"campaignName",name:"cn",valueType:"text",maxLength:100,defaultValue:void 0},R_:{id:"campaignKeyword",name:"ck",valueType:"text",maxLength:500,defaultValue:void 0},P_:{id:"campaignContent",name:"cc",valueType:"text",maxLength:500,defaultValue:void 0},
Q_:{id:"campaignId",name:"ci",valueType:"text",maxLength:100,defaultValue:void 0},T1:{id:"gclid",name:"gclid",valueType:"text",maxLength:void 0,defaultValue:void 0},B0:{id:"dclid",name:"dclid",valueType:"text",maxLength:void 0,defaultValue:void 0},u4:{id:"pageLoadTime",name:"plt",valueType:"integer",maxLength:void 0,defaultValue:void 0},M0:{id:"dnsTime",name:"dns",valueType:"integer",maxLength:void 0,defaultValue:void 0},M6:{id:"tcpConnectTime",name:"tcp",valueType:"integer",maxLength:void 0,defaultValue:void 0},
P5:{id:"serverResponseTime",name:"srt",valueType:"integer",maxLength:void 0,defaultValue:void 0},t4:{id:"pageDownloadTime",name:"pdt",valueType:"integer",maxLength:void 0,defaultValue:void 0},i5:{id:"redirectResponseTime",name:"rrt",valueType:"integer",maxLength:void 0,defaultValue:void 0},T6:{id:"timingCategory",name:"utc",valueType:"text",maxLength:150,defaultValue:void 0},W6:{id:"timingVar",name:"utv",valueType:"text",maxLength:500,defaultValue:void 0},V6:{id:"timingValue",name:"utt",valueType:"integer",
maxLength:void 0,defaultValue:void 0},U6:{id:"timingLabel",name:"utl",valueType:"text",maxLength:500,defaultValue:void 0},E1:{id:"exDescription",name:"exd",valueType:"text",maxLength:150,defaultValue:void 0},G1:{id:"exFatal",name:"exf",valueType:"boolean",maxLength:void 0,defaultValue:"1"}};
var Fla={id:"apiVersion",name:"v",valueType:"text",maxLength:void 0,defaultValue:void 0},Gla={id:"appName",name:"an",valueType:"text",maxLength:100,defaultValue:void 0},Hla={id:"appVersion",name:"av",valueType:"text",maxLength:100,defaultValue:void 0},Ila={id:"clientId",name:"cid",valueType:"text",maxLength:void 0,defaultValue:void 0},Jla={id:"language",name:"ul",valueType:"text",maxLength:20,defaultValue:void 0},Kla={id:"libVersion",name:"_v",valueType:"text",maxLength:void 0,defaultValue:void 0},
Lla={id:"sampleRateOverride",name:"usro",valueType:"integer",maxLength:void 0,defaultValue:void 0},Mla={id:"screenColors",name:"sd",valueType:"text",maxLength:20,defaultValue:void 0},Nla={id:"screenResolution",name:"sr",valueType:"text",maxLength:20,defaultValue:void 0},Ola={id:"trackingId",name:"tid",valueType:"text",maxLength:void 0,defaultValue:void 0},Pla={id:"viewportSize",name:"vp",valueType:"text",maxLength:20,defaultValue:void 0},Qla={PG:{id:"anonymizeIp",name:"aip",valueType:"boolean",maxLength:void 0,
defaultValue:void 0},QG:Fla,w_:Gla,x_:Hla,$G:Ila,a3:Jla,d3:Kla,A5:Lla,D5:Mla,E5:Nla,o7:Ola,a8:Pla},Sla=function(a){if(!na(a))return a;var b=Rla(a,Ela);if(ya(b))return b;b=Rla(a,Qla);if(ya(b))return b;b=/^dimension(\d+)$/.exec(a);if(null!==b){a=parseInt(b[1],10);if(1>a||200<a)throw Error("Ea`"+a);return{id:"dimension"+a,name:"cd"+a,valueType:"text",maxLength:150,defaultValue:void 0}}b=/^metric(\d+)$/.exec(a);if(null!==b){a=parseInt(b[1],10);if(1>a||200<a)throw Error("Fa`"+a);return{id:"metric"+a,name:"cm"+ a,valueType:"integer",maxLength:void 0,defaultValue:void 0}}throw Error("Ga`"+a);},Rla=function(a,b){b=dh(b,function(b){return b.id==a&&"metric"!=a&&"dimension"!=a});return ya(b)?b:null};
var bp=function(a){this.H=new nl;if(0<arguments.length%2)throw Error("Ha");for(var b=arguments,c=0;c<b.length;c+=2)this.set(b[c],b[c+1])};bp.prototype.set=function(a,b){if(null==b)throw Error("Ia`"+a.name);this.H.set(a.name,{key:a,value:b})};bp.prototype.remove=function(a){this.H.remove(a.name)};bp.prototype.get=function(a){a=this.H.get(a.name,null);return null===a?null:a.value};bp.prototype.addAll=function(a){this.H.addAll(a.H)};var cp=function(a,b){E(a.H.Ec(),function(a){b(a.key,a.value)})};
bp.prototype.clone=function(){var a=new bp;a.H=this.H.clone();return a};bp.prototype.equals=function(a){return this.H.Bc()!==a.H.Bc()?!1:lg(this.H.Ec(),function(b){return b.value==a.get(b.key)})};bp.prototype.contains=function(a){return lg(a.H.Ec(),r(function(a){return a.value==this.get(a.key)},this))};bp.prototype.toString=function(){var a={};cp(this,function(b,c){a[b.id]=c});return JSON.stringify(a)};
var Lo=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("Ja");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,k,n,q,u,C){if("%"==q)return"%";var e=c.shift();if("undefined"==typeof e)throw Error("Ka");arguments[0]=e;return dp[q].apply(null,arguments)})},dp={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+Lb(" ",Number(c)-a.length):Lb(" ",Number(c)-a.length)+a},f:function(a,b,
c,d,e){d=a.toString();isNaN(e)||""==e||(d=parseFloat(a).toFixed(e));var g=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=g+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-g.length;0<=b.indexOf("-",0)?d=g+d+Lb(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",d=g+Lb(b,a)+d);return d},d:function(a,b,c,d,e,g,h,k){return dp.f(parseInt(a,10),b,c,d,0,g,h,k)}};dp.i=dp.d;dp.u=dp.d;
var Tla=function(a,b){this.S=b.H();this.H=new bp;this.R=!1};Tla.prototype.set=function(a,b){if(null==b)throw Error("La`"+a.id);a=Sla(a);this.H.set(a,b)};Tla.prototype.send=function(a,b){var c=this.H.clone();b instanceof bp?c.addAll(b):ya(b)&&Ug(b,function(a,b){null!=a&&c.set(Sla(b),a)},this);this.R&&(this.R=!1,c.set(Ala,"start"));return this.S.send(a,c)};
var Xla=function(a){Ula();if(!xla){var b=Ula();xla=new Vla(b,new Wla(b,"https://www.google-analytics.com/collect",8192))}b=xla;this.H=a;this.R=b},Zla=function(){var a=Yla.get("Google Keep",null);var b=chrome.runtime.getManifest().version;null===a&&(a=new Xla(b),Yla.set("Google Keep",a));b=a;a=new Tla(0,b.R.create());a.set(Kla,"ca1.6.0");a.set(Fla,1);a.set(Gla,"Google Keep");a.set(Hla,b.H);a.set(Ola,"UA-42196431-2");(b=navigator.language||navigator.browserLanguage)&&a.set(Jla,b);(b=screen.colorDepth+ "-bit")&&a.set(Mla,b);(b=[screen.width,screen.height].join("x"))&&a.set(Nla,b);b=ok();(b=[b.width,b.height].join("x"))&&a.set(Pla,b);return a};
var $la=function(){};ta($la);$la.prototype.send=function(){return $i()};var ama=function(a){this.H=[];this.R=a};ama.prototype.send=function(a,b){if(0==this.H.length)return this.R.send(a,b);var c=new bma;return cma(this,0,c).mc(function(){if(!c.H)return this.R.send(a,b)},this)};var cma=function(a,b,c){return $i().mc(function(){return this.H[b](c)},a).mc(function(){if(++b<this.H.length&&!c.H)return cma(this,b,c)},a)},bma=function(){this.H=!1};bma.prototype.cancel=function(){this.H=!0};
var dma=function(a){this.H=a};dma.prototype.send=function(a,b){this.H.push({CT:a,parameters:b});return $i()};var ep=function(a,b,c){this.U=a;this.R=[];this.H={enabled:new dma(this.R),disabled:c};this.S=this.H.enabled;Vi(this.U.R.Hi(),Aa(this.$,b),this.W,this)};ep.prototype.$=function(a){if(null===this.R)throw Error("Na");this.H.enabled=a();ema(this);E(this.R,function(a){this.send(a.CT,a.parameters)},this);this.R=null;fma(this.U,r(this.V,this))};ep.prototype.W=function(){if(null===this.R)throw Error("Na");this.S=this.H.enabled=this.H.disabled;this.R=null}; ep.prototype.send=function(a,b){return this.S.send(a,b)};var ema=function(a){a.S=gma(a.U)?a.H.enabled:a.H.disabled};ep.prototype.V=function(a){switch(a){case "analytics.tracking-permitted":ema(this)}};
var hma=function(a,b){this.R=[];var c=r(function(){this.S=new ama(b.H());E(this.R,function(a){var b=this.S;if(!xa(a))throw Error("Ma");b.H.push(a)},this);this.R=null;return this.S},this);this.U=new ep(a,c,$la.Ja())};hma.prototype.H=function(){return this.U};var Vla=function(a,b){this.H=a;this.R=b};Vla.prototype.create=function(){return new hma(this.H,this.R)};
var fp=function(a,b,c,d,e,g){Si.call(this,e,g);this.ma=a;this.ka=[];this.Ba=!!b;this.Ta=!!c;this.Qa=!!d;for(b=this.Fa=0;b<a.length;b++)Vi(a[b],r(this.Da,this,b,!0),r(this.Da,this,b,!1));0!=a.length||this.Ba||this.callback(this.ka)};v(fp,Si);fp.prototype.Da=function(a,b,c){this.Fa++;this.ka[a]=[b,c];this.H||(this.Ba&&b?this.callback([a,c]):this.Ta&&!b?this.kd(c):this.Fa==this.ma.length&&this.callback(this.ka));this.Qa&&!b&&(c=null);return c}; fp.prototype.kd=function(a){fp.ua.kd.call(this,a);for(a=0;a<this.ma.length;a++)this.ma[a].cancel()};var ima=function(a){return(new fp(a,!1,!0)).mc(function(a){for(var b=[],d=0;d<a.length;d++)b[d]=a[d][1];return b})};
var jma=function(){for(var a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split(""),b=0,c=a.length;b<c;b++)switch(a[b]){case "x":a[b]=Math.floor(16*Math.random()).toString(16);break;case "y":a[b]=(Math.floor(4*Math.random())+8).toString(16)}return a.join("")};
var lma=function(a){this.S=a;this.V=[];this.U=this.H=null;this.R=kma(this);this.R.mc(function(){this.W=si(this.S,"Na",r(this.$,this))},this)},kma=function(a){return mma(a).mc(function(){return this},a)},mma=function(a){return ima([nma(a),oma(a)])};lma.prototype.$=function(){gp(this);var a=pma(this),b=gma(this);mma(this).mc(function(){a!=pma(this)&&qma(this,"analytics.user-id");b!=gma(this)&&qma(this,"analytics.tracking-permitted")},this)};
var fma=function(a,b){gp(a);a.V.push(b)},gma=function(a){gp(a);if(a=a.U)a=m._gaUserPrefs,a=!(a&&a.ioo&&a.ioo());return a},nma=function(a){return a.S.get("analytics.tracking-permitted").mc(function(a){this.U=!0;if(p(a))switch(a){case "true":this.U=!0;break;case "false":this.U=!1}},a)},pma=function(a){gp(a);if(!na(a.H))throw Error("Oa");return a.H},oma=function(a){return a.S.get("analytics.user-id").mc(function(a){p(a)?this.H=a:rma(this)},a)},rma=function(a){a.H=jma();a.S.set("analytics.user-id",a.H).mc(function(){qma(this, "analytics.user-id")},a)},qma=function(a,b){E(a.V,function(a){a(b)})};lma.prototype.dispose=function(){null!=this.W&&wi(this.W)};var gp=function(a){if(!a.R.Hi().H)throw Error("Pa");};
var hp=function(){J.call(this);this.H=new Am(this);Pea&&(Qea?this.H.listen(Rea?document.body:window,["online","offline"],this.U):(this.V=this.R(),this.S=new Yk(250),this.H.listen(this.S,"tick",this.W),this.S.start()))};v(hp,J);hp.prototype.R=function(){return Pea?navigator.onLine:!0};hp.prototype.W=function(){var a=this.R();a!=this.V&&(this.V=a,this.U())};hp.prototype.U=function(){var a=this.R()?"online":"offline";this.dispatchEvent(a)}; hp.prototype.Na=function(){hp.ua.Na.call(this);this.H.dispose();this.H=null;this.S&&(this.S.dispose(),this.S=null)};
var sma=function(a,b){this.R=a;this.H=b};sma.prototype.send=function(a,b){b.set(Ila,pma(this.R));return this.H.send(a,b)};var tma=function(a){this.H=a};tma.prototype.send=function(a,b){uma(b);vma(b);return this.H.send(a,b)};var uma=function(a){cp(a,function(b,c){p(b.maxLength)&&"text"==b.valueType&&0<b.maxLength&&c.length>b.maxLength&&a.set(b,c.substring(0,b.maxLength))})},vma=function(a){cp(a,function(b,c){p(b.defaultValue)&&c==b.defaultValue&&a.remove(b)})};
var wma={status:"device-offline",fr:void 0},xma={status:"rate-limited",fr:void 0},yma={status:"sampled-out",fr:void 0},zma={status:"sent",fr:void 0};var Ama=function(a,b){this.R=a;this.H=b};Ama.prototype.send=function(a,b){var c=this.R;var d=c.S(),e=Math.floor(5E-4*(d-c.R));0<e&&(c.H=Math.min(c.H+e,500),c.R=d);1>c.H?c=!1:(--c.H,c=!0);return c||"item"==a||"transaction"==a?this.H.send(a,b):$i(xma)};var Bma=function(){this.H=60;this.S=function(){return(new Date).getTime()};this.R=this.S()};var Cma=function(a,b){this.H=a;this.R=b};Cma.prototype.send=function(a,b){var c=b.get(Ila);c=parseInt(c.split("-")[1],16);if("timing"!=a){gp(this.H);var d=100}else(d=b.get(Lla))&&b.remove(Lla),d||(gp(this.H),d=100);return c<655.36*d?this.R.send(a,b):$i(yma)};
var Dma=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\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,""))},Ema=function(a){a=String(a);if(Dma(a))try{return eval("("+a+")")}catch(b){}throw Error("Qa`"+a);},ip=function(a){return(new Fma(void 0)).Za(a)},Fma=function(a){this.H=a};
Fma.prototype.Za=function(a){var b=[];Gma(this,a,b);return b.join("")};
var Gma=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(va(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],Gma(a,a.H?a.H.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),Hma(d,c),c.push(":"),Gma(a,a.H?a.H.call(b,d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":Hma(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Ra`"+typeof b);}}},Ima={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Jma=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Hma=function(a,b){b.push('"',a.replace(Jma,function(a){var b=Ima[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1), Ima[a]=b);return b}),'"')};
var Kma=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Lma=function(){};Lma.prototype.H=null;var Nma=function(a){var b;(b=a.H)||(b={},Mma(a)&&(b[0]=!0,b[1]=!0),b=a.H=b);return b};var Oma,Pma=function(){};v(Pma,Lma);var Qma=function(a){return(a=Mma(a))?new ActiveXObject(a):new XMLHttpRequest},Mma=function(a){if(!a.R&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.R=d}catch(e){}}throw Error("Sa");}return a.R};Oma=new Pma;
var jp=function(a){J.call(this);this.headers=new nl;this.ta=a||null;this.S=!1;this.ra=this.H=null;this.Ws="";this.R=0;this.V=this.Ba=this.ma=this.va=!1;this.$=0;this.ka=null;this.W="";this.Fa=this.U=!1};v(jp,J);var Rma=/^https?$/i,Sma=["POST","PUT"],Tma=[],kp=function(a,b,c,d,e,g,h){var k=new jp;Tma.push(k);b&&k.listen("complete",b);k.Jb("ready",k.Ma);g&&(k.$=Math.max(0,g));h&&(k.U=h);k.send(a,c,d,e)};jp.prototype.Ma=function(){this.dispose();ug(Tma,this)};jp.prototype.bC=function(){return this.W};
jp.prototype.hC=function(){return this.U};
jp.prototype.send=function(a,b,c,d){if(this.H)throw Error("Ta`"+this.Ws+"`"+a);b=b?b.toUpperCase():"GET";this.Ws=a;this.R=0;this.va=!1;this.S=!0;this.H=this.ta?Qma(this.ta):Qma(Oma);this.ra=this.ta?Nma(this.ta):Nma(Oma);this.H.onreadystatechange=r(this.Ka,this);try{this.Ba=!0,this.H.open(b,String(a),!0),this.Ba=!1}catch(g){Uma(this);return}a=c||"";var e=this.headers.clone();d&&Uha(d,function(a,b){e.set(b,a)});d=ng(e.yd(),Vma);c=m.FormData&&a instanceof m.FormData;!pg(Sma,b)||d||c||e.set("Content-Type",
"application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.H.setRequestHeader(b,a)},this);this.W&&(this.H.responseType=this.W);"withCredentials"in this.H&&this.H.withCredentials!==this.U&&(this.H.withCredentials=this.U);try{Wma(this),0<this.$&&((this.Fa=Xma(this.H))?(this.H.timeout=this.$,this.H.ontimeout=r(this.Hf,this)):this.ka=L(this.Hf,this.$,this)),this.ma=!0,this.H.send(a),this.ma=!1}catch(g){Uma(this)}};
var Xma=function(a){return oh&&wh(9)&&pa(a.timeout)&&p(a.ontimeout)},Vma=function(a){return wb("Content-Type",a)};jp.prototype.Hf=function(){"undefined"!=typeof ma&&this.H&&(this.R=8,this.dispatchEvent("timeout"),this.abort(8))};var Uma=function(a){a.S=!1;a.H&&(a.V=!0,a.H.abort(),a.V=!1);a.R=5;Yma(a);lp(a)},Yma=function(a){a.va||(a.va=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
jp.prototype.abort=function(a){this.H&&this.S&&(this.S=!1,this.V=!0,this.H.abort(),this.V=!1,this.R=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),lp(this))};jp.prototype.Na=function(){this.H&&(this.S&&(this.S=!1,this.V=!0,this.H.abort(),this.V=!1),lp(this,!0));jp.ua.Na.call(this)};jp.prototype.Ka=function(){this.isDisposed()||(this.Ba||this.ma||this.V?Zma(this):this.Da())};jp.prototype.Da=function(){Zma(this)};
var Zma=function(a){if(a.S&&"undefined"!=typeof ma&&(!a.ra[1]||4!=mp(a)||2!=a.getStatus()))if(a.ma&&4==mp(a))L(a.Ka,0,a);else if(a.dispatchEvent("readystatechange"),4==mp(a)){a.S=!1;try{a.kh()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.R=6,a.getStatus(),Yma(a))}finally{lp(a)}}},lp=function(a,b){if(a.H){Wma(a);var c=a.H,d=a.ra[0]?sa:null;a.H=null;a.ra=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Wma=function(a){a.H&&a.Fa&&(a.H.ontimeout=null);a.ka&&(Zk(a.ka),
a.ka=null)};jp.prototype.kh=function(){var a=this.getStatus(),b;if(!(b=Kma(a))){if(a=0===a)a=Fg(String(this.Ws))[1]||null,!a&&m.self&&m.self.location&&(a=m.self.location.protocol,a=a.substr(0,a.length-1)),a=!Rma.test(a?a.toLowerCase():"");b=a}return b};var mp=function(a){return a.H?a.H.readyState:0};jp.prototype.getStatus=function(){try{return 2<mp(this)?this.H.status:-1}catch(a){return-1}};
var np=function(a){try{return a.H?a.H.responseText:""}catch(b){return""}},$ma=function(a){try{return a.H?a.H.responseXML:null}catch(b){return null}},op=function(a,b){if(a.H){a=a.H.responseText;b&&0==a.indexOf(b)&&(a=a.substring(b.length));a:{b=a;if(m.JSON)try{var c=m.JSON.parse(b);break a}catch(d){}c=Ema(b)}return c}},ana=function(a){try{if(!a.H)return null;if("response"in a.H)return a.H.response;switch(a.W){case "":case "text":return a.H.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.H)return a.H.mozResponseArrayBuffer}return null}catch(b){return null}};Kea(function(a){jp.prototype.Da=a(jp.prototype.Da)});
var bna=function(a,b,c){this.S=a;this.H=b;this.R=c};bna.prototype.send=function(a,b){if(!this.R.R())return aj(wma);var c=new Si;a=cna(a,b);a.length>this.H?c.kd({status:"payload-too-big",fr:Lo("Encoded hit length == %s, but should be <= %s.",a.length,this.H)}):kp(this.S,function(){c.callback(zma)},"POST",a);return c};var cna=function(a,b){var c=new Bl;c.add(zla.name,a);cp(b,function(a,b){c.add(a.name,b.toString())});return c.toString()};
var Wla=function(a,b,c){this.R=a;this.V=b;this.U=c};Wla.prototype.H=function(){if(!this.S){if(!this.R.R.Hi().H)throw Error("Ua");var a=new hp;a=new tma(new bna(this.V,this.U,a));var b=new Bma;this.S=new sma(this.R,new Cma(this.R,new Ama(b,a)))}return this.S};
var Yla=new nl,Ula=function(){wla||(wla=new lma(new ap));return wla};var pp=function(){},xp=function(a){var b=qp();b=z(b,rp,sp);a=dna(a);tp(b).fields=a;a=up(b);for(var c=Object.keys(a),d=0;d<c.length;d++){var e=vp(a,c[d]),g;if(g=!!e)g=e,g="object"===typeof g&&"length"in tp(g)&&Ff("number",typeof wp(tp(g),"length"));g&&(g=dna(e),e=c[d],tp(a)[e]=g)}b=z(b,rp,sp);return z(b,rp,sp)},dna=function(a){if(null==a)return null;var b=tp(a),c=Array.isArray(a)?[]:{};a=Object.keys(tp(a));for(var d=0;d<a.length;d++){var e=a[d],g=e;e=vp(b,e);tp(c)[g]=e}return c},ena=function(a){return a instanceof Object};pp.prototype.wa=["Object",0];
var yp=function(){};l(yp,pp);
var Gp=function(a){var b=z(vp(a,"_0"),xca,sf);b=z(b,fna,zp);if(null!=b)return b;if(null!=wp(tp(a),tp(1)))return Ap(a,(Bp(),Cp)),Cp;if(null!=wp(tp(a),tp(2)))return Ap(a,(Bp(),Dp)),Dp;if(null!=wp(tp(a),tp(3)))return Ap(a,(Bp(),Ep)),Ep;if(null!=wp(tp(a),tp(4)))return Ap(a,(Bp(),Fp)),Fp;Ap(a,(Bp(),gna));return gna},Ip=function(a){return z(hna(tp(a),1),ina,Hp)},Lp=function(a){return z(hna(tp(a),3),Jp,Kp)},Op=function(a){return z(hna(tp(a),4),Mp,Np)},Rp=function(){return z(qp(),Pp,Qp)},Sp=function(a){return a instanceof Object};yp.prototype.wa=["Object",0];
var sp=function(){},qp=function(){var a={};tp(a).fields={};tp(a).childBuilders={};return tp(a)},jna=function(a,b){for(var c=Object.keys(tp(b)),d=0;d<c.length;d++){var e=wp(tp(b),c[d]);tp(e).fields={};var g=wp(tp(e),"childBuilders");jna(a,g);tp(e).childBuilders={}}},Tp=function(a){var b=wp(tp(a),"childBuilders");jna(a,b);tp(a).childBuilders={};a=tp(a);b=tp(vp(a,"fields"));tp(a).fields={};return b},up=function(a){return tp(wp(tp(a),"fields"))},Up=function(a,b){var c=up(a);c=tp(c);var d=tp(b);c[d]=null;
c=tp(wp(tp(a),"childBuilders"));c=tp(c);b=tp(b);delete c[b];z(a,rp,sp)},kna=function(a,b,c){var d=up(a);c|=0;d=tp(d);b=tp(b);d[b]=c;return z(a,rp,sp)},Vp=function(a,b,c){Up(a,b);var d=up(a);d=tp(d);b=tp(b);d[b]=c;return z(a,rp,sp)},rp=function(a){return a instanceof Object};sp.prototype.wa=["Object",0];
var Qp=function(){};l(Qp,sp);var nna=function(a){var b=z(z({},Oa,w),lna,mna);Up(a,Gp(up(a)).R);Ap(up(a),(Bp(),Dp));return z(Vp(a,2,b),Pp,Qp)},Wp=function(a,b){Up(a,Gp(up(a)).R);Ap(up(a),(Bp(),Ep));return z(Vp(a,3,b),Pp,Qp)},Xp=function(a,b){Up(a,Gp(up(a)).R);Ap(up(a),(Bp(),Fp));return z(Vp(a,4,b),Pp,Qp)},Pp=function(a){return a instanceof Object};Qp.prototype.wa=["Object",0];
var zp=function(){sf.call(this);this.R=0};l(zp,sf);var Yp=function(a,b,c){var d=new zp;tf(d,a,b);d.R=c;return d};zp.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,fna,zp))};var fna=function(a){return a instanceof zp},Bp=function(){Bp=function(){};gna=Yp("COMMAND_NOT_SET",0,0);Cp=Yp("MULTI",1,1);Dp=Yp("NOOP",2,2);Ep=Yp("INSERT_TEXT",3,3);Fp=Yp("DELETE_TEXT",4,4)};zp.prototype.wa=["com.google.apps.notes.spanner.proto.Commands$Command$CommandCase",2]; var gna=null,Cp=null,Dp=null,Ep=null,Fp=null;
var Np=function(){};l(Np,pp);var Zp=function(a){return ona(tp(a),1)},$p=function(a){return ona(tp(a),2)},cq=function(){return z(qp(),aq,bq)},Mp=function(a){return a instanceof Object};Np.prototype.wa=["Object",0];var bq=function(){};l(bq,sp);var dq=function(a,b){return z(kna(a,1,b),aq,bq)},eq=function(a,b){return z(kna(a,2,b),aq,bq)},aq=function(a){return a instanceof Object};bq.prototype.wa=["Object",0];var fq=function(a,b){return wp(tp(a),tp(b))},vp=function(a,b){return wp(tp(a),b)};var wp=function(a,b){return z(a[b],Oa,w)};var tp=function(a){return z(a,Oa,w)};var pna=function(){},qna=function(){return!0};pna.prototype.wa=["Object",1];var gq=function(){this.H=null};l(gq,Wd);gq.prototype.Vb=function(a){if(0>a||a>=this.H.length)throw xaa().H;return z(fq(this.H,a),Oa,w)};gq.prototype.size=function(){return this.H.length};gq.prototype.wa=["com.google.protobuf.contrib.gwt.internal.ImmutableLists$JsArrayUnsafeList",0];
var rna=function(){rna=function(){};sna=z({},qna,pna)},sna=null;var ona=function(a,b){a=fq(a,b);null!=a?(a=Yc(tp(a)),a|=0):a=0;return a};var tna=function(){this.H=null};l(tna,gq);tna.prototype.wa=["com.google.protobuf.contrib.gwt.internal.ImmutableLists$ImmutableJsArrayList",0];var hq=function(a){a=fq(a,1);a=tp(a);return null==a?"":a};var hna=function(a,b){a=z(fq(a,b),ena,pp);return null==a?z((rna(),sna),ena,pp):a},iq=function(a){a=tp(fq(a,2));if(null==a)a=kf();else{var b=new tna;b.H=a;a=b}return a};var Kp=function(){};l(Kp,pp);var jq=function(a){return ona(tp(a),2)},mq=function(){return z(qp(),kq,lq)},Jp=function(a){return a instanceof Object};Kp.prototype.wa=["Object",0];var lq=function(){};l(lq,sp);var nq=function(a,b){var c=up(a);c=tp(c);var d=tp(1);c[d]=b;a=z(a,rp,sp);return z(a,kq,lq)},oq=function(a,b){return z(kna(a,2,b),kq,lq)},kq=function(a){return a instanceof Object};lq.prototype.wa=["Object",0];var Hp=function(){};l(Hp,pp);var ina=function(a){return a instanceof Object};Hp.prototype.wa=["Object",0];var pq=function(){};l(pq,sp);var una=function(a){return a instanceof Object};pq.prototype.wa=["Object",0];var mna=function(){};l(mna,pp);var lna=function(a){return a instanceof Object};mna.prototype.wa=["Object",0];var Ap=function(a,b){tp(a)._0=b};var vna=function(){};l(vna,w);vna.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.BodyItemModel$Builder",0];var qq=function(){this.H=this.R=this.S=null};l(qq,vna);var wna=function(){var a=new qq;a.R=rq();a.H=rq();return a},xna=function(a){var b=new qq;b.R=rq();b.H=rq();b.S=a.getText();b.R=a.R;b.H=a.H;return b};qq.prototype.kc=function(a){if(null==a)throw Fc("Null text").H;this.S=a;return this};
var yna=function(a,b){if(null==b)throw Fc("Null selection").H;b=Tf(b);var c=new sq;c.H=b;a.H=c;return a},tq=function(a){var b="";null==a.S&&(b=y(b)+y(" text"));if(!Ee(b))throw Cc("Missing required properties:"+y(b)).H;b=a.S;var c=a.R;a=a.H;zna();var d=new Ana;d.S=b;d.R=c;d.H=a;return d};qq.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.AutoValue_BodyItemModel$Builder",0];
var uq=function(){};l(uq,w);var Bna=function(a,b,c){zna();if(null==b)a=tq(wna().kc(a));else{var d=Xc(Yc(b));b=null==c?Xc(Yc(b)):Xc(Yc(c));a=tq(yna(wna().kc(a),vq(d,b)))}return a},Cna=function(a){return a instanceof uq},zna=function(){zna=function(){};var a=wna().kc("");tq(a)};uq.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.BodyItemModel",0];
var Ana=function(){this.H=this.R=this.S=null};l(Ana,uq);f=Ana.prototype;f.getText=function(){return this.S};f.toString=function(){return"BodyItemModel{text="+y(this.S)+", revision="+y(this.R)+", selection="+y(this.H)+"}"};f.equals=function(a){return x(a,this)?!0:Cna(a)?(a=z(a,Cna,uq),Ff(this.S,a.getText())&&this.R.equals(a.R)&&this.H.equals(a.H)):!1};f.qb=function(){var a=1000003^Zc(this.S);a=1000003*a^this.R.qb();return a=1000003*a^this.H.qb()}; f.wa=["com.google.apps.notes.storage.impl.spanner.command.common.AutoValue_BodyItemModel",0];
var wq=function(){};l(wq,w);var xq=function(a){return a instanceof wq};wq.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.BodyItemModel$Selection",0];var yq=function(){this.H=this.R=0};l(yq,wq);var vq=function(a,b){var c=new yq;c.R=a;c.H=b;return c};yq.prototype.toString=function(){return"Selection{start="+this.R+", end="+this.H+"}"};yq.prototype.equals=function(a){return x(a,this)?!0:xq(a)?(a=z(a,xq,wq),this.R==a.R&&this.H==a.H):!1};yq.prototype.qb=function(){var a=1000003^this.R;return a=1000003*a^this.H};yq.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.AutoValue_BodyItemModel_Selection",0];
var zq=function(){};l(zq,w);var Dna=function(a){return a instanceof zq};zq.prototype.wa=["com.google.common.base.Optional",0];var Aq=function(){};l(Aq,zq);var rq=function(){Ena();return z(Fna,Dna,zq)};f=Aq.prototype;f.Ex=function(){return!1};f.Dx=function(){throw Cc("Optional.get() cannot be called on an absent value").H;};f.gE=function(){return null};f.equals=function(a){return x(a,this)};f.qb=function(){return 2040732332};f.toString=function(){return"Optional.absent()"};var Ena=function(){Ena=function(){};Fna=new Aq};Aq.prototype.wa=["com.google.common.base.Absent",0];var Fna=null;
var sq=function(){this.H=null};l(sq,zq);f=sq.prototype;f.Ex=function(){return!0};f.Dx=function(){return this.H};f.gE=function(){return this.H};f.equals=function(a){return Gna(a)?(a=z(a,Gna,sq),Wc(this.H,a.H)):!1};f.qb=function(){return 1502476572+$c(this.H)};f.toString=function(){return"Optional.of("+y(this.H)+")"};var Gna=function(a){return a instanceof sq};sq.prototype.wa=["com.google.common.base.Present",0];
var Bq=function(){};l(Bq,w);var Dq=function(a,b){var c=new Cq;if(null==a)throw Fc("Null commands").H;c.H=a;c.R=b;return c},Hna=function(a){return a instanceof Bq};Bq.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.TextDiffer$Result",0];
var Cq=function(){this.H=null;this.R=0};l(Cq,Bq);Cq.prototype.toString=function(){return"Result{commands="+y(this.H)+", deltaOffset="+this.R+"}"};Cq.prototype.equals=function(a){return x(a,this)?!0:Hna(a)?(a=z(a,Hna,Bq),this.H.equals(a.H)&&this.R==a.R):!1};Cq.prototype.qb=function(){var a=1000003^this.H.qb();return a=1000003*a^this.R};Cq.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.AutoValue_TextDiffer_Result",0];
var Eq=function(){};l(Eq,w);Eq.prototype.sd=function(){throw ib().H;};var Ina=function(a){return a instanceof Eq};Eq.prototype.wa=["com.google.common.collect.UnmodifiableIterator",0];Eq.prototype.qe=!0;var Fq=function(){this.H=null};l(Fq,Eq);Fq.prototype.Wa=function(){return this.H.Wa()};Fq.prototype.Ya=function(){return this.H.Ya()};Fq.prototype.wa=["com.google.common.collect.Iterators$1",0];var Gq=function(){};l(Gq,Eq);Gq.prototype.wn=function(){throw ib().H;};Gq.prototype.Bl=function(){throw ib().H;};var Jna=function(a){return a instanceof Gq};Gq.prototype.wa=["com.google.common.collect.UnmodifiableListIterator",0];Gq.prototype.qe=!0;Gq.prototype.Xl=!0;
var Hq=function(){this.H=this.S=0};l(Hq,Gq);f=Hq.prototype;f.Wa=function(){return this.H<this.S};f.Ya=function(){if(!this.Wa())throw me().H;var a=this.H++;return this.R.Vb(a)};f.pn=function(){return this.H};f.Xi=function(){return 0<this.H};f.tn=function(){if(!this.Xi())throw me().H;var a=--this.H;return this.R.Vb(a)};f.rn=function(){return this.H-1};f.wa=["com.google.common.collect.AbstractIndexedListIterator",0];
var Kna=function(){this.R=null;this.H=this.S=0};l(Kna,w);f=Kna.prototype;f.Wa=function(){return this.S<this.R.H.size()};f.Ya=function(){Rd(this.Wa());this.H=this.S++;return this.R.H.Vb(this.H)};f.sd=function(){Sd(-1!=this.H);Lna(this.R,this.S=this.H);this.H=-1};f.wa=["java.util.PriorityQueue$1",0];f.qe=!0;
var Iq=function(){this.H=this.R=null};l(Iq,Oba);var Mna=function(){var a=new Iq;a.H=ge(11);uba();var b=z(vba,tba,Cd);a.R=b;return a};f=Iq.prototype;f.addAll=function(a){Yc(a);if(x(a,this))throw yc().H;var b=this.H.size();for(a=a.Xa();a.Wa();){var c=a.Ya();this.H.add(Cca(c))}return b!=this.H.size()?(Jq(this,0),!0):!1};f.clear=function(){this.H.clear()};f.contains=function(a){return-1!=(null==a?-1:this.H.indexOf(a))};f.Xa=function(){var a=new Kna;a.R=this;a.S=0;a.H=-1;return a};
f.fE=function(a){Cca(a);var b=this.H.size();for(this.H.add(a);0<b;){var c=b;b=ed((b-1)/2);if(0>=this.R.R(this.H.Vb(b),a))return this.H.ke(c,a),!0;this.H.ke(c,this.H.Vb(b))}this.H.ke(b,a);return!0};f.Bp=function(){return this.H.isEmpty()?null:this.H.Vb(0)};f.Al=function(){var a=this.Bp();null!=a&&Lna(this,0);return a};f.remove=function(a){a=null==a?-1:this.H.indexOf(a);if(0>a)return!1;Lna(this,a);return!0};f.removeAll=function(a){return this.H.removeAll(a)?(Jq(this,0),!0):!1};
f.Fn=function(a){return this.H.Fn(a)?(Jq(this,0),!0):!1};f.size=function(){return this.H.size()};f.Rc=function(){return this.H.Rc()};f.Fd=function(a){return this.H.Fd(a)};
var Jq=function(a,b){var c=a.H.size();2*b+1>=c||(Jq(a,2*b+1),c=2*b+2,c<a.H.size()&&Jq(a,c),Nna(a,b))},Nna=function(a,b){for(var c=a.H.size(),d=a.H.Vb(b);!(2*b+1>=c);){var e=a,g=2*b+1,h=g+1;var k=g;h<c&&0>e.R.R(e.H.Vb(h),e.H.Vb(g))&&(k=h);if(0>a.R.R(d,a.H.Vb(k)))break;a.H.ke(b,a.H.Vb(k));b=k}a.H.ke(b,d)},Lna=function(a,b){var c=a.H.$e(a.H.size()-1);b<a.H.size()&&(a.H.ke(b,c),Nna(a,b))};Iq.prototype.wa=["java.util.PriorityQueue",0];
var Kq=function(){this.R=null};l(Kq,Vd);f=Kq.prototype;f.contains=function(a){return null!=a&&Vd.prototype.contains.call(this,a)};f.add=function(){throw ib().H;};f.remove=function(){throw ib().H;};f.addAll=function(){throw ib().H;};f.removeAll=function(){throw ib().H;};f.Fn=function(){throw ib().H;};f.clear=function(){throw ib().H;};
f.YD=function(){var a=this.R;if(null==a){a:switch(this.size()){case 0:a=Lq();break a;case 1:a=Mq(this.Xa().Ya());break a;default:var b=this.Rc();Nq();a=new Oq;b=Ona(z(uf(b),Md,Ld));a.H=this;a.S=b}a=this.R=a}return a};var Pna=function(a){return a instanceof Kq},Qna=function(){Qna=function(){};kf()};Kq.prototype.wa=["com.google.common.collect.ImmutableCollection",0];
var Pq=function(){this.R=null};l(Pq,Kq);
var Lq=function(){Nq();return z(Rna,Sna,Pq)},Mq=function(a){Nq();a=Tf(a);var b=new Qq;b.S=nf(Tf(a));return b},Una=function(a,b){Nq();return Rq(Tna([a,b]))},Vna=function(a){Nq();if(Pna(a))a=z(a,Pna,Kq).YD();else a:switch(a=a.Rc(),a.length){case 0:a=Lq();break a;case 1:a=Mq(z(a[0],Oa,w));break a;default:a=Rq(Tna(a))}return a},Ona=function(a){Nq();switch(a.size()){case 0:return Lq();case 1:return Mq(a.Vb(0));default:return a=z(a,Md,Ld),Rq(a)}},Tna=function(a){Nq();for(var b=0,c=a.length;b<c;b++)if(null==
a[b])throw Fc("at index "+b).H;a=Bd(a,w,Pa);return uf(a)};f=Pq.prototype;f.indexOf=function(a){if(null==a)a=-1;else a:if(Pd(this))b:{var b=this.size();if(null==a)for(a=0;a<b;a++){if(null==this.Vb(a))break b}else for(var c=0;c<b;c++)if(Wc(a,this.Vb(c))){a=c;break b}a=-1}else{for(b=this.ek();b.Wa();)if(Uf(a,b.Ya())){a=b.rn();break a}a=-1}return a};
f.lastIndexOf=function(a){if(null==a)a=-1;else a:if(Pd(this))b:{if(null==a)for(a=this.size()-1;0<=a;a--){if(null==this.Vb(a))break b}else for(var b=this.size()-1;0<=b;b--)if(Wc(a,this.Vb(b))){a=b;break b}a=-1}else{for(b=this.De(this.size());b.Xi();)if(Uf(a,b.tn())){a=b.pn();break a}a=-1}return a};f.di=function(){throw ib().H;};f.ke=function(){throw ib().H;};f.ag=function(){throw ib().H;};f.$e=function(){throw ib().H;};f.Xa=function(){return this.ek()};
f.Wd=function(a,b){if(Pd(this)){var c=new Sq;c.H=z(Tf(this),Md,Ld)}else c=new Tq,c.H=z(Tf(this),Md,Ld);a=c.Wd(a,b);return Ona(a)};f.ek=function(){return this.De(0)};f.De=function(a){var b=this.size(),c=new Wna;c.R=this;if(0>a||a>b){if(0>a)a=Sca("%s (%s) must not be negative",["index",zd(a)]);else{if(0>b)throw zc("negative size: "+b).H;a=Sca("%s (%s) must not be greater than size (%s)",["index",zd(a),zd(b)])}throw gb(a).H;}c.S=b;c.H=a;return c};f.YD=function(){return this};
f.equals=function(a){return Xna(this,a)};f.qb=function(){for(var a=1,b=this.Xa();b.Wa();){var c=b.Ya();a=31*a+(null==c?0:$c(c));a=~~a}return a};var Yna=function(){Nq();var a=new Uq;a.H=de();return a},Sna=function(a){return a instanceof Pq},Nq=function(){Nq=function(){};Qna();Rna=Rq(kf())};Pq.prototype.wa=["com.google.common.collect.ImmutableList",0];var Rna=null;Pq.prototype.tf=!0;Pq.prototype.Ak=!0;Pq.prototype.Bk=!0;
var Vq=function(){};l(Vq,w);Vq.prototype.R=function(a){Tf(a);for(a=a.Xa();a.Wa();){var b=a.Ya();b=Tf(b);this.H.add(Tf(b))}return this};Vq.prototype.wa=["com.google.common.collect.ImmutableCollection$Builder",0];var Uq=function(){this.H=null};l(Uq,Vq);Uq.prototype.R=function(a){Vq.prototype.R.call(this,a);return this};Uq.prototype.wa=["com.google.common.collect.ImmutableList$Builder",0];var Wq=function(){this.R=null};l(Wq,Pq);Wq.prototype.contains=function(a){return this.H.contains(a)};Wq.prototype.size=function(){return this.H.size()};Wq.prototype.isEmpty=function(){return this.H.isEmpty()};Wq.prototype.wa=["com.google.common.collect.ImmutableAsList",0];
var Oq=function(){this.S=this.H=this.R=null};l(Oq,Wq);Oq.prototype.De=function(a){return z(this.S.De(a),Jna,Gq)};Oq.prototype.Vb=function(a){return this.S.Vb(a)};Oq.prototype.wa=["com.google.common.collect.RegularImmutableAsList",0];var Zna=function(){};l(Zna,Wd);f=Zna.prototype;f.ag=function(a,b){this.De(a).wn(b)};f.di=function(a,b){Yc(b);var c=!1;a=this.De(a);for(b=b.Xa();b.Wa();)c=b.Ya(),a.wn(c),c=!0;return c};f.Vb=function(a){var b=this.De(a);try{return b.Ya()}catch(c){c=Za(c);if(c instanceof le)throw gb("Can't get element "+a).H;throw c.H;}};f.Xa=function(){return this.ek()};
f.$e=function(a){var b=this.De(a);try{var c=b.Ya();b.sd();return c}catch(d){d=Za(d);if(d instanceof le)throw gb("Can't remove element "+a).H;throw d.H;}};f.ke=function(a,b){var c=this.De(a);try{var d=c.Ya();c.Bl(b);return d}catch(e){e=Za(e);if(e instanceof le)throw gb("Can't set element "+a).H;throw e.H;}};f.wa=["java.util.AbstractSequentialList",0];
var Xq=function(){this.S=this.R=this.H=null};l(Xq,w);Xq.prototype.wa=["java.util.LinkedList$Node",0];var $na=function(){this.U=null;this.S=0;this.H=this.R=null};l($na,w);f=$na.prototype;f.wn=function(a){Yq(this.U,a,this.R.R,this.R);++this.S;this.H=null};f.Wa=function(){return!x(this.R,this.U.R)};f.Xi=function(){return!x(this.R.R,this.U.S)};f.Ya=function(){Rd(this.Wa());this.H=this.R;this.R=this.R.H;++this.S;return this.H.S};f.pn=function(){return this.S};f.tn=function(){Rd(this.Xi());this.H=this.R=this.R.R;--this.S;return this.H.S};f.rn=function(){return this.S-1}; f.sd=function(){Sd(null!=this.H);var a=this.H.H;aoa(this.U,this.H);x(this.R,this.H)?this.R=a:--this.S;this.H=null};f.Bl=function(a){Sd(null!=this.H);this.H.S=a};f.wa=["java.util.LinkedList$ListIteratorImpl",0];f.qe=!0;f.Xl=!0;
var Zq=function(){this.R=this.S=null;this.H=0};l(Zq,Zna);var $q=function(){var a=new Zq;a.S=new Xq;a.R=new Xq;boa(a);return a};Zq.prototype.add=function(a){Yq(this,a,this.R.R,this.R);return!0};var ar=function(a,b){Yq(a,b,a.S,a.S.H)};Zq.prototype.clear=function(){boa(this)};var boa=function(a){a.S.H=a.R;a.R.R=a.S;a.S.R=a.R.H=null;a.H=0},br=function(a){Rd(0!=a.H);return a.S.H.S};f=Zq.prototype;
f.De=function(a){$d(a,this.H);if(a>=this.H>>1){var b=this.R;for(var c=this.H;c>a;--c)b=b.R}else for(b=this.S.H,c=0;c<a;++c)b=b.H;c=new $na;c.U=this;c.H=null;c.R=b;c.S=a;return c};f.fE=function(a){Yq(this,a,this.R.R,this.R);return!0};f.Bp=function(){return 0==this.H?null:br(this)};f.Al=function(){return 0==this.H?null:cr(this)};f.ot=function(){return cr(this)};var cr=function(a){Rd(0!=a.H);return aoa(a,a.S.H)};Zq.prototype.size=function(){return this.H};
var Yq=function(a,b,c,d){var e=new Xq;e.S=b;e.R=c;e.H=d;d.R=c.H=e;++a.H},aoa=function(a,b){var c=b.S;b.H.R=b.R;b.R.H=b.H;b.H=b.R=null;b.S=null;--a.H;return c};Zq.prototype.wa=["java.util.LinkedList",0];Zq.prototype.tf=!0;Zq.prototype.Ak=!0;Zq.prototype.tf=!0;
var coa=function(){bf.call(this)};l(coa,bf);var vca=function(){var a=new coa;cf(a);return a};f=coa.prototype;f.equals=function(a){if(x(a,this))return!0;if(!te(a))return!1;a=z(a,te,se);if(this.size()!=a.size())return!1;for(a=a.qd().Xa();a.Wa();){var b=z(a.Ya(),pe,oe),c=b.Nc();b=b.Oc();if(!this.Le(c)||!x(b,this.Gc(c)))return!1}return!0};f.qb=function(){for(var a=0,b=this.qd().Xa();b.Wa();){var c=z(b.Ya(),pe,oe);a+=Of(c.Nc());a+=Of(c.Oc())}return a};f.ct=function(a,b){return x(a,b)};f.et=function(a){return La(a)}; f.fj=function(a,b){return ue(this,a,b)};f.replace=function(a,b){return ve(this,a,b)};f.wa=["java.util.IdentityHashMap",0];f.oq=!0;
var dr=function(){this.H=null};l(dr,Wd);f=dr.prototype;f.ag=function(a,b){this.H.ag(a,b)};f.di=function(a,b){return this.H.di(a,b)};f.Vb=function(a){return this.H.Vb(a)};f.$e=function(a){return this.H.$e(a)};f.ke=function(a,b){return this.H.ke(a,b)};f.contains=function(a){return this.H.contains(a)};f.size=function(){return this.H.size()};f.wa=["com.google.common.collect.Lists$AbstractListWrapper",0];
var er=function(){this.H=null};l(er,dr);er.prototype.wa=["com.google.common.collect.Lists$RandomAccessListWrapper",0];er.prototype.Bk=!0;var Sq=function(){this.H=null};l(Sq,er);Sq.prototype.De=function(a){return this.H.De(a)};Sq.prototype.wa=["com.google.common.collect.Lists$1",0];var Tq=function(){this.H=null};l(Tq,dr);Tq.prototype.De=function(a){return this.H.De(a)};Tq.prototype.wa=["com.google.common.collect.Lists$2",0];var Xna=function(a,b){if(x(b,Tf(a)))return!0;if(!Md(b))return!1;b=z(b,Md,Ld);var c=a.size();if(c!=b.size())return!1;if(Pd(a)&&Pd(b)){for(var d=0;d<c;d++)if(!Uf(a.Vb(d),b.Vb(d)))return!1;return!0}a:{a=a.Xa();for(b=b.Xa();a.Wa();){if(!b.Wa()){a=!1;break a}c=a.Ya();d=b.Ya();if(!Uf(c,d)){a=!1;break a}}a=!b.Wa()}return a};
var Wna=function(){Hq.call(this);this.R=null};l(Wna,Hq);Wna.prototype.wa=["com.google.common.collect.ImmutableList$1",0];var fr=function(){this.R=null};l(fr,Pq);f=fr.prototype;f.indexOf=function(a){return this.H().indexOf(a)};f.lastIndexOf=function(a){return this.H().lastIndexOf(a)};f.Vb=function(a){return this.H().Vb(a)};f.Wd=function(a,b){return Ona(this.H().Wd(a,b))};f.Rc=function(){return this.H().Fd(Array(this.size()))};f.equals=function(a){return Wc(this.H(),a)};f.qb=function(){return $c(this.H())};f.Xa=function(){var a=this.H().Xa();Tf(a);if(Ina(a))a=z(a,Ina,Eq);else{var b=new Fq;b.H=a;a=b}return a};
f.contains=function(a){return null!=a&&this.H().contains(a)};f.ej=function(a){return this.H().ej(a)};f.size=function(){return this.H().size()};f.isEmpty=function(){return this.H().isEmpty()};f.Fd=function(a){return this.H().Fd(a)};f.toString=function(){return ad(this.H())};f.wa=["com.google.common.collect.ForwardingImmutableList",0];
var gr=function(){this.S=this.R=null};l(gr,fr);var Rq=function(a){Nq();var b=new gr;b.S=pf(a);return b};gr.prototype.H=function(){return this.S};gr.prototype.wa=["com.google.common.collect.RegularImmutableList",0];var Qq=function(){this.S=this.R=null};l(Qq,fr);Qq.prototype.H=function(){return this.S};Qq.prototype.wa=["com.google.common.collect.SingletonImmutableList",0];var hr=function(){};l(hr,w);var doa=function(a){return a instanceof hr};hr.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.TextDiffer$Snake",0];var ir=function(){this.R=this.H=this.S=0};l(ir,hr);var eoa=function(a,b,c){var d=new ir;d.S=a;d.H=b;d.R=c;return d};ir.prototype.toString=function(){return"Snake{startX="+this.S+", endX="+this.H+", k="+this.R+"}"};ir.prototype.equals=function(a){return x(a,this)?!0:doa(a)?(a=z(a,doa,hr),this.S==a.S&&this.H==a.H&&this.R==a.R):!1};ir.prototype.qb=function(){var a=1000003^this.S;a=1000003*a^this.H;return a=1000003*a^this.R}; ir.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.AutoValue_TextDiffer_Snake",0];
var foa=function(a,b){switch(Gp(tp(b))){case Bp(),Cp:for(b=iq(tp(Ip(b))).Xa();b.Wa();){var c=z(b.Ya(),Sp,yp);a=foa(a,c)}return a;case Bp(),Dp:return a;case Bp(),Fp:b=Op(b);Sf(Zp(b)<=$p(b));Sf($p(b)<=a.getText().length);var d=a.getText();c=od(d,0,Zp(b));var e=$p(b);d=d.substr(e);c=xna(a).kc(y(c)+y(d));d=a.H;if(d.Ex()){var g=z(d.Dx(),xq,wq);e=(d=g.R<=g.H)?g.R:g.H;g=d?g.H:g.R;Sf(0<=e);Sf(g>=e&&g<=a.getText().length);a=e;var h=Zp(b),k=$p(b);e=a-Math.max(0,Math.min(e,k)-h);a=g;h=Zp(b);b=$p(b);g=a-Math.max(0,
Math.min(g,b)-h);yna(c,d?vq(e,g):vq(g,e))}return tq(c);case Bp(),Ep:b=Lp(b);Sf(jq(b)<=a.getText().length);d=a.getText();c=od(d,0,jq(b));e=jq(b);d=d.substr(e);c=xna(a).kc(y(c)+y(hq(tp(b)))+y(d));d=a.H;if(d.Ex()){g=z(d.Dx(),xq,wq);e=(d=g.R<=g.H)?g.R:g.H;g=d?g.H:g.R;Sf(0<=e);Sf(g>=e&&g<=a.getText().length);(a=jq(b)<=e)&&(e+=hq(tp(b)).length);if(a||jq(b)<g)g+=hq(tp(b)).length;yna(c,d?vq(e,g):vq(g,e))}return tq(c);default:throw zc("Unhandled command type "+y(Gp(tp(b)))).H;}};
var jr=function(){this.H=null};l(jr,w);var goa=function(a,b,c){Sf(x(Gp(tp(b)),a.H));switch(Gp(tp(c))){case Bp(),Ep:return a.S(b,Lp(c));case Bp(),Fp:return a.R(b,Op(c));case Bp(),Cp:for(c=iq(tp(Ip(c))).Xa();c.Wa();){var d=z(c.Ya(),Sp,yp);b=goa(a,b,d)}return b;case Bp(),Dp:return b;default:throw zc("Unhandled command type "+y(Gp(tp(c)))).H;}};jr.prototype.S=function(a){return a};jr.prototype.R=function(a){return a}; jr.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.CommandTransformer",0];
var hoa=function(){this.H=this.R=null};l(hoa,w);
var ioa=function(){var a=new hoa,b=new kr,c=(Bp(),Ep);b.H=c;b.U=!1;c=new lr;c.H=Fp;a.R=b;a.H=c;return a},joa=function(a,b,c){if(x(Gp(tp(c)),(Bp(),Cp))){for(c=iq(tp(Ip(c))).Xa();c.Wa();){var d=z(c.Ya(),Sp,yp);b=joa(a,b,d)}return b}switch(Gp(tp(b))){case Bp(),Cp:var e=iq(tp(Ip(b)));d=Yna();for(e=e.Xa();e.Wa();){var g=z(e.Ya(),Sp,yp);g=joa(a,g,c);d.H.add(Tf(g))}d=Vna(d.H);a=z(xp(b),Pp,Qp);b=z(xp(Ip(b)),una,pq);c=up(b);for(d=d.Xa();d.Wa();){e=d.Ya();var h=c;g=tp(fq(h,2));if(null==g){var k=g=[];h=tp(h);
var n=tp(2);h[n]=k}g.push(e)}b=z(b,rp,sp);b=z(b,una,pq);b=z(Tp(b),ina,Hp);Up(a,Gp(up(a)).R);Ap(up(a),(Bp(),Cp));a=z(Vp(a,1,b),Pp,Qp);return z(Tp(a),Sp,yp);case Bp(),Dp:return b;case Bp(),Ep:return goa(a.R,b,c);case Bp(),Fp:return goa(a.H,b,c);default:throw zc("Unhandled command type "+y(Gp(tp(b)))).H;}};hoa.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.CommandTransposer",0];
var lr=function(){this.H=null};l(lr,jr);
lr.prototype.R=function(a,b){var c=Op(a);return $p(c)<=Zp(b)?a:Zp(c)>=$p(b)?(b=$p(b)-Zp(b),z(Tp(Xp(z(xp(a),Pp,Qp),z(Tp(eq(dq(z(xp(c),aq,bq),Zp(c)-b),$p(c)-b)),Mp,Np))),Sp,yp)):Zp(c)>=Zp(b)&&$p(c)<=$p(b)?z(Tp(nna(z(xp(a),Pp,Qp))),Sp,yp):Zp(c)<=Zp(b)&&$p(c)>=$p(b)?z(Tp(Xp(z(xp(a),Pp,Qp),z(Tp(eq(z(xp(c),aq,bq),$p(c)-($p(b)-Zp(b)))),Mp,Np))),Sp,yp):Zp(c)>=Zp(b)?z(Tp(Xp(z(xp(a),Pp,Qp),z(Tp(eq(dq(z(xp(c),aq,bq),Zp(b)),$p(c)-($p(b)-Zp(b)))),Mp,Np))),Sp,yp):z(Tp(Xp(z(xp(a),Pp,Qp),z(Tp(eq(z(xp(c),aq,bq),Zp(b))),
Mp,Np))),Sp,yp)};lr.prototype.S=function(a,b){var c=Op(a);return $p(c)<=jq(b)?a:Zp(c)>=jq(b)?z(Tp(Xp(z(xp(a),Pp,Qp),z(Tp(eq(dq(z(xp(c),aq,bq),Zp(c)+hq(tp(b)).length),$p(c)+hq(tp(b)).length)),Mp,Np))),Sp,yp):z(Tp(Xp(z(xp(a),Pp,Qp),z(Tp(eq(z(xp(c),aq,bq),$p(c)+hq(tp(b)).length)),Mp,Np))),Sp,yp)};lr.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.DeleteTextTransformer",0];
var kr=function(){this.H=null;this.U=!1};l(kr,jr);kr.prototype.R=function(a,b){var c=Lp(a);return jq(c)<=Zp(b)?a:jq(c)>=$p(b)?(b=$p(b)-Zp(b),z(Tp(Wp(z(xp(a),Pp,Qp),z(Tp(oq(z(xp(c),kq,lq),jq(c)-b)),Jp,Kp))),Sp,yp)):this.U?z(Tp(Wp(z(xp(a),Pp,Qp),z(Tp(oq(z(xp(c),kq,lq),Zp(b))),Jp,Kp))),Sp,yp):z(Tp(nna(z(xp(a),Pp,Qp))),Sp,yp)};kr.prototype.S=function(a,b){var c=Lp(a);return jq(c)<=jq(b)?a:z(Tp(Wp(z(xp(a),Pp,Qp),z(Tp(oq(z(xp(c),kq,lq),jq(c)+hq(tp(b)).length)),Jp,Kp))),Sp,yp)}; kr.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.InsertTextTransformer",0];
var koa=function(){this.R=this.H=0;this.S=null};l(koa,w);var loa=function(a,b){var c=new koa;Sf(a<=b);c.H=a;c.R=b;c.S=Lc([b-a+1],mb,nb,ob,0);return c},mr=function(a,b){moa(a,b);return a.S[b-a.H]},nr=function(a,b,c){moa(a,b);qd(a.S,b-a.H,c)},moa=function(a,b){if(b<a.H||b>a.R)throw gb("Index "+b+" not in bound ["+a.H+","+a.R+"]").H;};koa.prototype.wa=["com.google.apps.notes.storage.impl.spanner.command.common.TextDiffer$RangeIndexedArray",0];
var or=function(a,b,c){if(x(a,b))return Dq(Lq(),0);a:{var d=a;for(var e=b,g=Math.min(d.length,e.length),h=0;h<g;++h)if(id(d,h)!=id(e,h)){d=h;break a}d=g}a=od(a,d,a.length);b=od(b,d,b.length);c+=d;a:{d=a;e=b;g=d.length;h=e.length;for(var k=Math.min(g,h),n=1;n<=k;++n)if(id(d,g-n)!=id(e,h-n)){d=n-1;break a}d=k}a=od(a,0,a.length-d);b=od(b,0,b.length-d);d=a.length;e=b.length;if(Ee(a))return Dq(Mq(z(Tp(Wp(Rp(),z(Tp(oq(nq(mq(),b),c)),Jp,Kp))),Sp,yp)),e);if(Ee(b))return Dq(Mq(z(Tp(Xp(Rp(),z(Tp(eq(dq(cq(),
c),c+d)),Mp,Np))),Sp,yp)),-d);h=(g=d>e)?b:a;k=(g?a:b).indexOf(h);if(-1!=k)return g?Dq(Una(Tp(Xp(Rp(),z(Tp(eq(dq(cq(),c),c+k)),Mp,Np))),z(Tp(Xp(Rp(),z(Tp(eq(dq(cq(),c+e),c+d-k)),Mp,Np))),Sp,yp)),e-d):Dq(Una(z(Tp(Wp(Rp(),z(Tp(oq(nq(mq(),od(b,0,k)),c)),Jp,Kp))),Sp,yp),z(Tp(Wp(Rp(),z(Tp(oq(nq(mq(),od(b,k+d,e)),d+c+k)),Jp,Kp))),Sp,yp)),e-d);if(1==h.length)return Dq(Una(z(Tp(Xp(Rp(),z(Tp(eq(dq(cq(),c),c+d)),Mp,Np))),Sp,yp),z(Tp(Wp(Rp(),z(Tp(oq(nq(mq(),b),c)),Jp,Kp))),Sp,yp)),e-d);a:{g=a;h=b;k=g.length;
n=h.length;var q=k-n,u=0==ed(Math.abs(q)%2),C=ed((k+n+1)/2),D=loa(-C,C),U=loa(q-C,q+C);nr(D,1,-1);nr(U,q+1,k);for(var W=0;W<=C;++W){for(var ia=-W;ia<=W;ia+=2){var $a=ia==-W||ia!=W&&mr(D,ia-1)<mr(D,ia+1)?mr(D,ia+1):mr(D,ia-1)+1;for(var pb=$a-ia;$a<k-1&&pb<n-1&&id(g,$a+1)==id(h,pb+1);)++$a,++pb;nr(D,ia,$a);if(!u&&q-W+1<=ia&&ia<=q+W-1&&mr(U,ia)<=$a){for(k=$a;0<=k&&0<=pb&&id(g,k)==id(h,pb);)--k,--pb;k=eoa(k+1,$a+1,ia);break a}}var jb=-W+q,df=W+q;for(ia=jb;ia<=df;ia+=2){$a=ia==jb||ia!=df&&mr(U,ia+1)<=
mr(U,ia-1)?mr(U,ia+1)-1:mr(U,ia-1);for(pb=$a-ia;0<=$a&&0<=pb&&id(g,$a)==id(h,pb);)--$a,--pb;nr(U,ia,$a);if(u&&-W<=ia&&ia<=W&&$a<=mr(D,ia)){for(q=$a;q<k-1&&pb<n-1&&id(g,q+1)==id(h,pb+1);)++q,++pb;k=eoa($a+1,q+1,ia);break a}}}a=new cb;Va(a,"Exiting body of a method which should have exited earlier.");throw a.H;}g=Yna();h=or(od(a,0,k.S),od(b,0,k.S-k.R),c);g.R(h.H);a=or(od(a,k.H,d),od(b,k.H-k.R,e),c+h.R+k.H);g.R(a.H);return Dq(Vna(g.H),h.R+a.R)};
var poa=function(a,b,c){noa();var d=b.getText();d=or(a,d,0).H;a=or(a,c,0).H;for(a=a.Xa();a.Wa();){c=z(a.Ya(),Sp,yp);for(var e=d.Xa();e.Wa();){var g=z(e.Ya(),Sp,yp);c=joa(ooa,c,g)}b=foa(b,c)}return b},noa=function(){noa=function(){};ooa=ioa()},ooa=null;
var qoa=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31},roa=function(a,b){b=b||new Date(t());return a.getFullYear()==b.getFullYear()},pr=function(a,b,c,d,e,g){na(a)?(this.W="y"==a?b:0,this.V="m"==a?b:0,this.H="d"==a?b:0,this.R="h"==a?b:0,this.S="n"==a?b:0,this.U="s"==a?b:0):(this.W=a||0,this.V=b||0,this.H=c||0,this.R=d||0,this.S=e||0,this.U=g||0)};
pr.prototype.equals=function(a){return a.W==this.W&&a.V==this.V&&a.H==this.H&&a.R==this.R&&a.S==this.S&&a.U==this.U};pr.prototype.clone=function(){return new pr(this.W,this.V,this.H,this.R,this.S,this.U)};pr.prototype.add=function(a){this.W+=a.W;this.V+=a.V;this.H+=a.H;this.R+=a.R;this.S+=a.S;this.U+=a.U};
var rr=function(a,b,c){pa(a)?(this.H=soa(a,b||0,c||1),qr(this,c||1)):ya(a)?(this.H=soa(a.getFullYear(),a.getMonth(),a.getDate()),qr(this,a.getDate())):(this.H=new Date(t()),a=this.H.getDate(),this.H.setHours(0),this.H.setMinutes(0),this.H.setSeconds(0),this.H.setMilliseconds(0),qr(this,a))},soa=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};f=rr.prototype;f.Jj=Ea.wq;f.Bo=Ea.xq;f.clone=function(){var a=new rr(this.H);a.Jj=this.Jj;a.Bo=this.Bo;return a};
f.getFullYear=function(){return this.H.getFullYear()};f.getMonth=function(){return this.H.getMonth()};f.getDate=function(){return this.H.getDate()};f.getTime=function(){return this.H.getTime()};f.getDay=function(){return this.H.getDay()};f.Nr=function(){return((this.getDay()+6)%7-this.Jj+7)%7};f.getUTCFullYear=function(){return this.H.getUTCFullYear()};f.getUTCMonth=function(){return this.H.getUTCMonth()};f.getUTCDate=function(){return this.H.getUTCDate()};f.getUTCHours=function(){return this.H.getUTCHours()};
f.getUTCMinutes=function(){return this.H.getUTCMinutes()};var toa=function(a){return qoa(a.getFullYear(),a.getMonth())};rr.prototype.getTimezoneOffset=function(){return this.H.getTimezoneOffset()};var uoa=function(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b);b=60*(b-c);a=(0<a?"-":"+")+Mb(c,2)+":"+Mb(b,2)}return a};f=rr.prototype;f.set=function(a){this.H=new Date(a.getFullYear(),a.getMonth(),a.getDate())};f.setFullYear=function(a){this.H.setFullYear(a)};
f.setMonth=function(a){this.H.setMonth(a)};f.setDate=function(a){this.H.setDate(a)};f.setTime=function(a){this.H.setTime(a)};
f.add=function(a){if(a.W||a.V){var b=this.getMonth()+a.V+12*a.W,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(qoa(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.H&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.H),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),qr(this,a.getDate()))};
f.Hm=function(a,b){return[this.getFullYear(),Mb(this.getMonth()+1,2),Mb(this.getDate(),2)].join(a?"-":"")+(b?uoa(this):"")};f.equals=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};f.toString=function(){return this.Hm()};var qr=function(a,b){a.getDate()!=b&&a.H.setUTCHours(a.H.getUTCHours()+(a.getDate()<b?1:-1))};rr.prototype.valueOf=function(){return this.H.valueOf()};
var sr=function(a,b,c,d,e,g,h){pa(a)?this.H=new Date(a,b||0,c||1,d||0,e||0,g||0,h||0):this.H=new Date(a&&a.getTime?a.getTime():t())};v(sr,rr);f=sr.prototype;f.getHours=function(){return this.H.getHours()};f.getMinutes=function(){return this.H.getMinutes()};f.getSeconds=function(){return this.H.getSeconds()};f.getUTCHours=function(){return this.H.getUTCHours()};f.getUTCMinutes=function(){return this.H.getUTCMinutes()};f.getUTCSeconds=function(){return this.H.getUTCSeconds()};f.getUTCMilliseconds=function(){return this.H.getUTCMilliseconds()};
f.setHours=function(a){this.H.setHours(a)};f.setMinutes=function(a){this.H.setMinutes(a)};f.setSeconds=function(a){this.H.setSeconds(a)};f.setMilliseconds=function(a){this.H.setMilliseconds(a)};f.add=function(a){rr.prototype.add.call(this,a);a.R&&this.H.setUTCHours(this.H.getUTCHours()+a.R);a.S&&this.H.setUTCMinutes(this.H.getUTCMinutes()+a.S);a.U&&this.H.setUTCSeconds(this.H.getUTCSeconds()+a.U)};
f.Hm=function(a,b){var c=rr.prototype.Hm.call(this,a);return a?c+" "+Mb(this.getHours(),2)+":"+Mb(this.getMinutes(),2)+":"+Mb(this.getSeconds(),2)+(b?uoa(this):""):c+"T"+Mb(this.getHours(),2)+Mb(this.getMinutes(),2)+Mb(this.getSeconds(),2)+(b?uoa(this):"")};f.equals=function(a){return this.getTime()==a.getTime()};f.toString=function(){return this.Hm()};f.clone=function(){var a=new sr(this.H);a.Jj=this.Jj;a.Bo=this.Bo;return a};
var tr=function(a,b){null!=a&&this.Fb.apply(this,arguments)};f=tr.prototype;f.Rj="";f.set=function(a){this.Rj=""+a};f.Fb=function(a,b,c){this.Rj+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.Rj+=arguments[d];return this};f.clear=function(){this.Rj=""};f.getLength=function(){return this.Rj.length};f.toString=function(){return this.Rj};
var ur=function(){};ta(ur);
ur.prototype.parse=function(a){if(!a)return null;var b=new sr(2E3);b.setTime(0);var c=0;b.H.setUTCFullYear(Number(a.substring(c,4)));c+=5;b.H.setUTCMonth(Number(a.substring(c,c+2))-1);c+=3;b.H.setUTCDate(Number(a.substring(c,c+2)));c+=3;b.H.setUTCHours(Number(a.substring(c,c+2)));c+=3;b.H.setUTCMinutes(Number(a.substring(c,c+2)));c+=3;b.H.setUTCSeconds(Number(a.substring(c,c+2)));c+=3;b.H.setUTCMilliseconds(Number(a.substring(c,c+3)));c+=3;var d=a.substring(c,c+1);c+=1;var e=0;"Z"!=d&&(d="-"==d?-1:
1,e+=60*Number(a.substring(c,c+2))*d,c+=3,e+=Number(a.substring(c,c+2))*d);a=6E4*e;b.setTime(b.getTime()-a);return isNaN(b.getTime())?null:b};ur.prototype.format=function(a){var b=new tr;b.Fb(Mb(a.getUTCFullYear(),4,0)).Fb("-").Fb(Mb(a.getUTCMonth()+1,2,0)).Fb("-").Fb(Mb(a.getUTCDate(),2,0)).Fb("T").Fb(Mb(a.getUTCHours(),2,0)).Fb(":").Fb(Mb(a.getUTCMinutes(),2,0)).Fb(":").Fb(Mb(a.getUTCSeconds(),2,0)).Fb(".").Fb(Mb(a.getUTCMilliseconds(),3,0)).Fb("Z");return b.toString()};
var vr=function(a){J.call(this);this.R="DEFAULT";this.S="BOTTOM";this.U=!1;this.update(a)};v(vr,J);var voa={DEFAULT:"DEFAULT",g2:"GRAVEYARD"},woa={C_:"BOTTOM",n7:"TOP"},xoa=function(){var a=new vr({});"GRAVEYARD"!=a.R&&(a.R="GRAVEYARD",a.Db());"EXPANDED"!=a.H&&(a.H="EXPANDED",a.Db());"BOTTOM"!=a.S&&(a.S="BOTTOM",a.Db());return a};vr.prototype.Db=function(){this.U=!0;this.dispatchEvent("Da")};vr.prototype.hc=function(){return this.U};
vr.prototype.update=function(a){var b=!1,c;for(c in a)switch(c){case "checkedListItemsPolicy":b=b||this.R!=a[c];this.R=a.checkedListItemsPolicy;break;case "graveyardState":b=b||this.H!=a[c];this.H=a.graveyardState;break;case "newListItemPlacement":b=b||this.S!=a[c],this.S=a.newListItemPlacement}b&&this.dispatchEvent("Da");return b}; vr.prototype.Za=function(a){var b={};b.checkedListItemsPolicy=this.R||"DEFAULT";b.graveyardState=this.H||"COLLAPSED";b.newListItemPlacement=this.S||"BOTTOM";a&&(b.dirty=this.U);return b};
var wr=function(a){J.call(this);a=a||{};this.R=this.S=this.H=null;this.V=this.U=!0;this.update(a)};v(wr,J);var yoa={X1:"GLOBAL_CHECKED_LIST_ITEMS_POLICY",Y1:"GLOBAL_NEW_LIST_ITEM_PLACEMENT",X5:"SHARING_ENABLED",l8:"WEB_EMBEDS_ENABLED"};
wr.prototype.update=function(a){var b=!1,c;for(c in a){var d=a[c];switch(c){case "type":if(!bh(yoa,d))continue;b=b||this.H!=d;this.H=d;break;case "globalNewListItemPlacementValue":b=b||this.S!=d;this.S=d;break;case "globalCheckedListItemsPolicyValue":b=b||this.R!=d;this.R=d;break;case "sharingEnabledValue":b=b||this.U!=d;this.U=!!d;break;case "webEmbedsEnabledValue":b=b||this.V!=d,this.V=!!d}}return b};
wr.prototype.Za=function(){var a={};a.type=this.H;"GLOBAL_NEW_LIST_ITEM_PLACEMENT"==this.H&&(a.globalNewListItemPlacementValue=this.S);"GLOBAL_CHECKED_LIST_ITEMS_POLICY"==this.H&&(a.globalCheckedListItemsPolicyValue=this.R);"SHARING_ENABLED"==this.H&&(a.sharingEnabledValue=this.U);"WEB_EMBEDS_ENABLED"==this.H&&(a.webEmbedsEnabledValue=this.V);return a};
var zoa=function(a){var b=a.getType();return b&&bh(yoa,b)&&("GLOBAL_NEW_LIST_ITEM_PLACEMENT"!=b||a.S&&bh(woa,a.S))&&("GLOBAL_CHECKED_LIST_ITEMS_POLICY"!=b||a.R&&bh(voa,a.R))?!0:!1};wr.prototype.getType=function(){return this.H};var Aoa=function(a,b){a.H="GLOBAL_NEW_LIST_ITEM_PLACEMENT";a.S=b},Boa=function(a,b){a.H="GLOBAL_CHECKED_LIST_ITEMS_POLICY";a.R=b};wr.prototype.equals=function(a){return a?a==this?!0:a.getType()==this.getType()&&a.S==this.S&&a.R==this.R&&a.U==this.U&&a.V==this.V:!1};
var xr=function(a){a=a||{};this.H=this.$=ur.Ja().parse(a.created)||new sr;this.S=this.V=this.U=this.W=this.R=null;this.update(a)};xr.prototype.Ug=function(){return this.$};var Coa=function(a,b){if(a.R&&b)throw Error("Va");a.R=b},Doa=function(a){var b=new sr;a.U=b};
xr.prototype.update=function(a,b){var c=ur.Ja(),d=!1,e;for(e in a){var g=c.parse(a[e]);switch(e){case "deleted":if(b)break;g&&!g.valueOf()&&(g=null);var h=!!g,k=!!this.R;d=d||h&&!this.R||!g&&k||h&&k&&!g.equals(this.R);this.R=g;break;case "shareRequestProcessed":g&&!g.valueOf()&&(g=null);h=!!g;k=!!this.W;d=d||h&&!this.W||!g&&k||h&&k&&!g.equals(this.W);this.W=g;break;case "recentSharedChangesSeen":g&&!g.valueOf()&&(g=null);h=!!g;k=!!this.U;d=d||h&&!this.U||!g&&k||h&&k&&!g.equals(this.U);this.U=g;break;
case "trashed":g&&!g.valueOf()&&(g=null);h=!!g;k=!!this.R;d=d||h&&!this.V||!g&&k||h&&k&&!g.equals(this.V);this.V=g;break;case "updated":d=d||!g.equals(this.H);this.H=g||this.H;break;case "userEdited":g&&!g.valueOf()&&(g=null),h=!!g,k=!!this.S,d=d||h&&!this.S||!g&&k||h&&k&&!g.equals(this.S),this.S=g}}return d};
xr.prototype.Za=function(){var a={},b=ur.Ja();a.kind="notes#timestamps";a.created=b.format(this.$);a.deleted=this.R?b.format(this.R):"1970-01-01T00:00:00.000Z";a.trashed=this.V?b.format(this.V):"1970-01-01T00:00:00.000Z";a.updated=b.format(this.H);a.userEdited=this.S?b.format(this.S):"1970-01-01T00:00:00.000Z";this.W&&(a.shareRequestProcessed=b.format(this.W));this.U&&(a.recentSharedChangesSeen=b.format(this.U));return a};
var yr=function(a){J.call(this);this.S=null;this.tb=a.mainId;this.H=[];this.V=0;this.R=new xr(a.timestamps);this.U=null;this.update(a)};v(yr,J);f=yr.prototype;f.toString=function(){return this.S||yr.ua.toString.call(this)};f.getId=function(){return this.tb};
f.mergeInto=function(a){if(0<(this.S<a.getName()?1:this.S>a.getName()?-1:this.tb<a.getId()?1:this.tb>a.getId()?-1:this.R.Ug()<a.R.Ug()?1:-1)){var b=a;var c=this;this.S=a.getName()}else b=this,c=a;c.dA(b.getId());Ug(b.H,c.dA,c);rg(b.H);a=new sr;Eoa(b,a);zr(c,a);c.U=a;return c};f.dA=function(a){pg(this.H,a)||this.H.push(a)};f.getName=function(){return this.S||""};f.le=function(a){this.S=a;zr(this,new sr)};var Eoa=function(a,b){b=b||new sr;Coa(a.R,b);a.R.H=b;a.dispatchEvent("qa")};
yr.prototype.Sb=function(){return!!this.R.R&&!!this.R.R.valueOf()};var zr=function(a,b){b=b||new sr;a.R.S=b;a.R.H=b;a.dispatchEvent("qa")};
yr.prototype.update=function(a){var b=!1,c;for(c in a)switch(c){case "lastMerged":var d=ur.Ja().parse(a[c]);d&&!d.valueOf()&&(d=null);var e=!!d,g=!!this.U;b=b||e&&!g||!d&&g||e&&g&&!d.equals(this.U);this.U=d;break;case "mergedIds":d=a[c];if(d.length!=this.H.length)this.H=d,d=!0;else{e=!1;g=0;for(var h=d[g];g<d.length;g++)if(!pg(this.H,h)){e=!0;break}this.H=d;d=e}b=d||b;break;case "name":d=a[c];b=b||this.S!=d;this.S=d;break;case "revision":this.V=a[c];break;case "timestamps":b=this.R.update(a[c])|| b}return b};yr.prototype.Za=function(){var a={};a.mainId=this.tb;a.mergedIds=this.H;a.name=this.S;a.revision=this.V;a.timestamps=this.R.Za();a.lastMerged=this.U?ur.Ja().format(this.U):"1970-01-01T00:00:00.000Z";return a};
var Ar=function(a){J.call(this);this.H=new Am(this);B(this,this.H);this.ka=this.$=!1;this.W=new xr;this.S={};this.U={};this.R={};this.V=null;a&&this.update(a)};v(Ar,J);ta(Ar);var Foa=Th("bGFiZWxz");Ar.prototype.qc=function(){return this.ka};
Ar.prototype.update=function(a){var b=!1;this.ka=!0;this.$=!1;this.S={};for(var c in a)switch(c){case "settings":var d=a[c];E(d?d.singleSettings:[],function(a){a=new wr(a);b=Goa(this,a)||b},this);break;case "timestamps":d=new xr(a[c]);this.W?(b=d.Ug()!=this.W.Ug()||b,b=d.H!=this.W.H||b):b=!0;this.W=d;break;case "isDirty":b=this.$!=a[c]||b;this.$=a[c];break;case "contextualCoachmarksAcked":b=Hoa(this,a)||b;break;case "familyChangeDateTime":d=ur.Ja().parse(a[c]),this.V?b=b||!d.equals(this.V):b=!0,this.V=
d}(b=Ioa(this,a[Foa]||[])||b)&&this.dispatchEvent("Ja");return b};var Ioa=function(a,b){var c=!1,d=jh(a.R);E(b,function(a){var b=a.mainId,e=this.R[b];e?c=e.update(a)||c:(c=!0,a=new yr(a),this.R[b]=a,this.H.listen(a,"qa",this.Db));gh(d,b)},a);c=c||!eh(d);Ug(d,function(a,b){gh(this.R,b)},a);return c};
Ar.prototype.Za=function(a){var b={settings:{}},c=[];Ug(this.S,function(a){zoa(a)&&c.push(a.Za())});b.settings.singleSettings=c;b.timestamps=this.W.Za();b.contextualCoachmarksAcked=Zg(this.U);var d=ig(Zg(this.R),function(a){return a.Za()});b[Foa]=d;this.V&&(d=ur.Ja(),b.familyChangeDateTime=d.format(this.V));a&&(b.isDirty=this.hc());return b};Ar.prototype.hc=function(){return this.$};Ar.prototype.Db=function(){var a=new sr;this.W.H=a;this.$=!0;this.dispatchEvent("Ja")};
var Br=function(a){a=a.S.GLOBAL_CHECKED_LIST_ITEMS_POLICY;return!a||"GRAVEYARD"==a.R},Cr=function(a){a=a.S.GLOBAL_NEW_LIST_ITEM_PLACEMENT;return!!a&&"TOP"==a.S},Dr=function(a){a=a.S.SHARING_ENABLED;return!a||a.U},Joa=function(a){a=a.S.WEB_EMBEDS_ENABLED;return!a||a.V},Goa=function(a,b){if(!zoa(b))return!1;var c=b.getType();if(a.S[c]){var d=a.S[c];var e=!1;switch(d.getType()){case "GLOBAL_NEW_LIST_ITEM_PLACEMENT":(b=b.S)&&d.S!=b&&(Aoa(d,b),e=!0);break;case "GLOBAL_CHECKED_LIST_ITEMS_POLICY":(b=b.R)&&
d.R!=b&&(Boa(d,b),e=!0);break;case "SHARING_ENABLED":b=b.U;d.U!=b&&(d.H="SHARING_ENABLED",d.U=b,e=!0);break;case "WEB_EMBEDS_ENABLED":b=b.V,d.V!=b&&(d.H="WEB_EMBEDS_ENABLED",d.V=b,e=!0)}d=e}else a.S[c]=b,d=!0;d&&("WEB_EMBEDS_ENABLED"==c?a.dispatchEvent("oa"):"GLOBAL_CHECKED_LIST_ITEMS_POLICY"==c&&a.dispatchEvent("pa"));return d},Er=function(a,b,c){var d=new wr;switch(b){case "GLOBAL_NEW_LIST_ITEM_PLACEMENT":Aoa(d,c);break;case "GLOBAL_CHECKED_LIST_ITEMS_POLICY":Boa(d,c);break;case "SHARING_ENABLED":d.H=
"SHARING_ENABLED";d.U=!!c;break;case "WEB_EMBEDS_ENABLED":d.H="WEB_EMBEDS_ENABLED";d.V=!!c;break;default:throw Error("Wa`"+b);}Goa(a,d)&&a.Db()},Hoa=function(a,b){b=b.contextualCoachmarksAcked;var c=!1,d=jh(a.U);b&&E(b,function(a){ah(this.U,a)?gh(d,a):(this.U[a]=a,c=!0)},a);c=c||!eh(d);Ug(d,function(a){gh(this.U,a)},a);return c},Fr=function(a,b){return ah(a.U,b)},Gr=function(a,b){ah(a.U,b)||(a.U[b]=b,a.Db())},Hr=function(a){return Vg(a.R,function(a){return!a.Sb()})},Ir=function(a){var b=[];Ug(a.R,
function(a){a.Sb()||hda(b,a,function(a,b){return Cb(a.getName(),b.getName())})});return b};Ar.prototype.getTag=function(a){var b=dh(this.R,function(b){return b.getName().toLowerCase()==a.toLowerCase()});return b&&!b.Sb()?b:null};
var Koa=function(a,b){var c=a.getTag(b);if(c)return c;if(100<=Yg(a.R))return null;var d="tag."+Pb()+"."+(new Date).getTime();c={};c.name=b;c.mainId=d;c=new yr(c);zr(c);a.R[d]=c;a.Db();a.H.listen(c,"qa",a.Db);return c},Loa=function(a,b){(b=a.R[b])&&Eoa(b);a.dispatchEvent("Ia")},Jr=function(a,b){var c=a.R[b];if(c&&!c.Sb())return c;for(var d in a.R)if(c=a.R[d],!c.Sb()&&pg(c.H,b))return c;return null};
var Moa=/([\S\s]*?)(\b(?:mailto:)?([\w.+-]+@[A-Za-z0-9.-]+\.(?:com|org|net|edu|gov|aero|biz|cat|coop|info|int|jobs|mobi|museum|name|pro|travel|arpa|asia|xxx|[a-z][a-z])\b)|#([\w#-;!=?@\[\\\]_`{|}~]+)|\b(?:(https?|ftp):\/\/)?[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*\.(?:com|org|net|edu|gov|aero|biz|cat|coop|info|int|jobs|mobi|museum|name|pro|travel|arpa|asia|xxx|[a-z][a-z])\b(?:[\.]?[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*)?|\b((https?|ftp):\/\/)+[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*|$)/gi,
Noa=new RegExp(Moa.source.slice(0,-3)+"|\\bb/[0-9]{4,}|\\bcases/[0-9]\\-[0-9]+|\\b(cl|cr)/[0-9]{5,}|\\b(go|goto)/[\\w~#-\\-\\/-@!\\[\\]]+(?:[\\.][\\w~#-\\-\\/-@!\\[\\]]+)*|\\b(t|tick)/[0-9]{5,}|\\bomg/[0-9]{3,}|$)","gi"),Ooa=/^(.*?)([:;,\.?>\]\)!]+)$/,Poa=function(a,b,c,d,e){c=c?Noa:Moa;e=e||{};"rel"in e||(e.rel="nofollow");"target"in e||(e.target="_blank");var g=[],h;for(h in e)e.hasOwnProperty(h)&&e[h]&&g.push(Fb(h),'="',Fb(e[h]),'" ');var k=g.join("");return a.replace(c,function(a,c,e,g,h,U,W){a=
[Fb(c)];if(!e)return a[0];a.push("<a ",k,'href="');var n=!1;if(g)a.push("mailto:"),e=g,c="";else{if(!U&&!W)if(h){n=Ar.Ja();if(!d||!b)return[Fb(c),Fb(e)].join("");n=n.getTag(h);h=Fb(h);if(n&&Kr(b,n))a.push(["/#label/",h,'" linktype="label" ','tagname="'+h+'"'].join("")),n=!0;else return[Fb(c),Fb(e)].join("")}else a.push("http://");(c=e.match(Ooa))&&!Gb(e,"(")?(e=c[1],c=c[2]):c=""}e=Fb(e);c=Fb(c);n?a.push(">",e,"</a>",c):a.push(e,'">',e,"</a>",c);return a.join("")})};
var Lr=function(a,b){var c=a.Ob,d=b.Ob;if(c!=d)return c<d?1:-1;c=a.Ug();d=b.Ug();return c.equals(d)?a.getId()!=b.getId()?a.getId()<b.getId()?-1:1:0:c<d?1:-1},Qoa=function(a,b){var c=Mr(a),d=Mr(b);if(!c.equals(d))return c<d?1:-1;c=a.Ob;d=b.Ob;return c!=d?c<d?1:-1:a.getId()!=b.getId()?a.getId()<b.getId()?-1:1:0},Roa=function(a,b){var c=a.Ug(),d=b.Ug();return c.equals(d)?Lr(a,b):c<d?1:-1},Soa=function(a,b){var c=a.$d(),d=b.$d();return c&&!d?-1:!c&&d?1:Lr(a,b)},Toa=function(a,b){var c=!a.Ed,d=!b.Ed;a=
Nr(a);b=Nr(b);return a&&!b?1:!a&&b?-1:c&&!d?-1:!c&&d?1:0},Uoa=function(a,b,c,d){try{for(var e=[c.getId()],g=[d.getId()],h=c.rb,k=d.rb;h;)e.unshift(h),h=a.Eb(h).rb;for(;k;)g.unshift(k),k=a.Eb(k).rb;if(Br(b)){var n=a.Eb(e[0]).Pc,q=a.Eb(g[0]).Pc;if(n&&!q)return 1;if(!n&&q)return-1}for(b=0;e[b]==g[b]&&b<e.length&&b<g.length;)b++;if(b==e.length&&b==g.length)return 0;if(b==e.length)return-1;if(b==g.length)return 1;var u=a.Eb(e[b]),C=a.Eb(g[b]);if(u&&C)return Lr(u,C);throw Error("Xa");}catch(D){throw Error("Xa"); }};
var Or=function(a){this.H=void 0;this.Se={};if(a){var b=sl(a);a=rl(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])}};Or.prototype.set=function(a,b){Voa(this,a,b,!1)};Or.prototype.add=function(a,b){Voa(this,a,b,!0)};var Voa=function(a,b,c,d){for(var e=0;e<b.length;e++){var g=b.charAt(e);a.Se[g]||(a.Se[g]=new Or);a=a.Se[g]}if(d&&void 0!==a.H)throw Error("Ya`"+b);a.H=c},Woa=function(a,b){for(var c=0;c<b.length;c++)if(a=a.Se[b.charAt(c)],!a)return;return a};
Or.prototype.get=function(a){return(a=Woa(this,a))?a.H:void 0};Or.prototype.Ec=function(){var a=[];Xoa(this,a);return a};var Xoa=function(a,b){void 0!==a.H&&b.push(a.H);for(var c in a.Se)Xoa(a.Se[c],b)};Or.prototype.yd=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var e=a.charAt(d);if(!c.Se[e])return[];c=c.Se[e]}Yoa(c,a,b)}else Yoa(this,"",b);return b};var Yoa=function(a,b,c){void 0!==a.H&&c.push(b);for(var d in a.Se)Yoa(a.Se[d],b+d,c)};f=Or.prototype;
f.dg=function(a){if(this.H===a)return!0;for(var b in this.Se)if(this.Se[b].dg(a))return!0;return!1};f.clear=function(){this.Se={};this.H=void 0};f.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.Se[e])throw Error("Za`"+a);c.push([b,e]);b=b.Se[e]}a=b.H;for(delete b.H;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.Se[e].isEmpty())delete b.Se[e];else break;return a};f.clone=function(){return new Or(this)};f.Bc=function(){return Tha(this.Ec())}; f.isEmpty=function(){return void 0===this.H&&eh(this.Se)};
var Pr=function(a){this.Op=this.R=this.V=this.S=this.U=this.H=null;a&&this.update(a)},Zoa=tk("A");Pr.prototype.update=function(a){for(var b in a)switch(b){case "url":this.H=a[b];Qj(Zoa,this.H);this.U=Zoa.hostname;break;case "title":this.S=a[b];break;case "description":this.V=a[b];break;case "imageUrl":this.R=a[b];break;case "provenanceUrl":this.Op=a[b]}};Pr.prototype.Za=function(){var a={};a.url=this.H;a.title=this.S;a.description=this.V;a.imageUrl=this.R;a.provenanceUrl=this.Op;return a}; Pr.prototype.getUrl=function(){return this.H||""};Pr.prototype.getTitle=function(){return this.S||""};
var Qr=function(a){this.H=null;a&&this.update(a)};Qr.prototype.update=function(a){for(var b in a)switch(b){case "webLink":this.H?this.H.update(a[b]):this.H=new Pr(a[b])}};Qr.prototype.Za=function(){var a={};a.webLink=this.H.Za();return a};Qr.prototype.Ni=function(){return this.H};
var $oa=function(a){this.H="SUGGEST_TYPE_UNKNOWN";a&&this.update(a)},apa={GROCERY_ITEM:"Groceries"};$oa.prototype.update=function(a){this.H=a.suggestType};$oa.prototype.Za=function(){var a={};a.suggestType=this.H;return a};var Rr=function(a){return a.H||"SUGGEST_TYPE_UNKNOWN"};
var Sr=function(a){this.H=null;a&&this.update(a)},bpa={BOOKS:"Books",FOOD:"Food",MOVIES:"Movies",MUSIC:"Music",PLACES:"Places",QUOTES:"Quotes",TRAVEL:"Travel",TV:"TV"};Sr.prototype.update=function(a){this.H=a.category};Sr.prototype.Za=function(){var a={};a.category=this.H;return a};Sr.prototype.Dg=function(){return this.H||"THING_CATEGORY_UNKNOWN"};
var cpa=function(a){this.U=this.R=this.H=this.S=this.V=null;this.W=!1;a&&this.update(a)};f=cpa.prototype;
f.update=function(a){this.V=a.deleted;this.tb=a.id;Tr(a.context)?(a=a.context,this.S?this.S.update(a):this.S=new Qr(a),this.U=this.R=this.H=null):Tr(a.taskAssist)?(a=a.taskAssist,this.H?this.H.update(a):this.H=new $oa(a),this.U=this.R=this.S=null):Tr(a.topicCategory)?(a=a.topicCategory,this.R?this.R.update(a):this.R=new Sr(a),this.U=this.H=this.S=null):Tr(a.webLink)&&(a=a.webLink,this.U?this.U.update(a):this.U=new Pr(a),this.R=this.H=this.S=null)};
f.Za=function(a){var b={};b.id=this.tb;b.deleted=this.V||"1970-01-01T00:00:00.000Z";a&&(this.S?b.context=this.S.Za():this.H?b.taskAssist=this.H.Za():this.R?b.topicCategory=this.R.Za():this.U&&(b.webLink=this.U.Za()));return b};f.getId=function(){return this.tb||""};f.isEmpty=function(){return!this.S&&!this.H&&!this.R&&!this.U};f.Sb=function(){return!!this.V&&"1970-01-01T00:00:00.000Z"!=this.V||this.W};f.Wp=function(a){this.W=a};f.getContext=function(){return this.S};f.Ni=function(){return this.U}; var Tr=function(a){return ya(a)&&!eh(a)};
var Ur=function(a){this.H={};this.R=null;this.V={};this.S={};this.U={};a&&this.update(a)};
Ur.prototype.update=function(a){var b=!1,c=jh(this.H);E(a.annotations||[],function(a){var d=a.id,g=this.H[d];gh(c,d);g?(d=g.Sb(),g.update(a),b=b||d!=g.Sb()):(g=new cpa(a),g.isEmpty()||(b=!0,this.H[d]=g))},this);b=b||!eh(c);Ug(c,function(a,b){gh(this.H,b)},this);b&&(this.R=null,this.V={},this.S={},this.U={},Ug(this.H,function(a,b){a.Sb()||(a.getContext()?this.R=a:a.H?this.U[b]=a:a.R?this.S[b]=a:a.Ni()&&(this.V[b]=a))},this));return b};
Ur.prototype.Za=function(a){var b={kind:"notes#annotationsGroup"},c=[];Ug(this.H,function(b){c.push(b.Za(a))});b.annotations=c;return b};Ur.prototype.remove=function(a){a=a.getId();if(!this.H[a])return!1;var b=ur.Ja(),c=!!this.H[a];b=b.format(new sr);this.H[a].V=b;gh(this.V,a);gh(this.S,a);gh(this.U,a);this.R&&this.R.getId()==a&&(this.R=null);return c};
var Vr=function(a){return!a.R||a.R.Sb()?null:a.R},Wr=function(a){return Vg(a.V,function(a){return!a.Sb()})},dpa=function(a){return Vg(a.S,function(a){return!a.Sb()})},Xr=function(a){return Vg(a.U,function(a){return!a.Sb()})},epa=function(a,b){var c=!1;E(b,function(a){var b=ch(this.S,function(b){b=b.R;return!!b&&b.Dg()==a});b&&(c=this.remove(this.H[b])||c)},a);return c};
var fpa=function(a,b,c){this.wp=a;this.R=b.name||null;this.H={};for(a=0;a<c.length;a++)b=c[a],this.H[b.getTag()]=b};fpa.prototype.getName=function(){return this.R};var Yr=function(a){a=Zg(a.H);Dg(a,function(a,c){return a.getTag()-c.getTag()});return a},gpa=function(a,b){return dh(a.H,function(a){return a.getName()==b})||null};
var hpa=function(a,b,c){this.Nb=a;this.ka=b;this.$=c.name;this.W=!!c.fy;this.R=!!c.Uc;this.H=c.Oa;this.S=c.type;this.V=!1;switch(this.H){case 3:case 4:case 6:case 16:case 18:case 2:case 1:this.V=!0}this.U=c.defaultValue};hpa.prototype.getTag=function(){return this.ka};hpa.prototype.getName=function(){return this.$};var Zr=function(a){return 11==a.H||10==a.H};
var T=function(){this.R={};this.S=this.getDescriptor().H;this.H=this.U=null},ipa=function(a,b,c){c=c||a;for(var d in a.R){var e=Number(d);a.S[e]||b.call(c,e,a.R[d])}};f=T.prototype;f.has=function(a){return $r(this,a.getTag())};f.get=function(a,b){return as(this,a.getTag(),b)};f.set=function(a,b){bs(this,a.getTag(),b)};f.add=function(a,b){cs(this,a.getTag(),b)};f.clear=function(a){jpa(this,a.getTag())};
f.equals=function(a){if(!a||this.constructor!=a.constructor)return!1;for(var b=Yr(this.getDescriptor()),c=0;c<b.length;c++){var d=b[c],e=d.getTag();if($r(this,e)!=$r(a,e))return!1;if($r(this,e)){var g=Zr(d),h=ds(this,e);e=ds(a,e);if(d.R){if(h.length!=e.length)return!1;for(d=0;d<h.length;d++){var k=h[d],n=e[d];if(g?!k.equals(n):k!=n)return!1}}else if(g?!h.equals(e):h!=e)return!1}}return!0};f.eg=function(a){this!=a&&(this.R={},this.H&&(this.H={}),kpa(this,a))};
var kpa=function(a,b){for(var c=Yr(a.getDescriptor()),d=0;d<c.length;d++){var e=c[d],g=e.getTag();if($r(b,g)){a.H&&delete a.H[e.getTag()];var h=Zr(e);if(e.R){e=ds(b,g)||[];for(var k=0;k<e.length;k++)cs(a,g,h?e[k].clone():e[k])}else e=ds(b,g),h?(h=ds(a,g))?kpa(h,e):bs(a,g,e.clone()):bs(a,g,e)}}};T.prototype.clone=function(){var a=new this.constructor;a.eg(this);return a};
var $r=function(a,b){return null!=a.R[b]},ds=function(a,b){var c=a.R[b];if(null==c)return null;if(a.U){if(!(b in a.H)){var d=a.U,e=a.S[b];if(null!=c)if(e.R){for(var g=[],h=0;h<c.length;h++)g[h]=d.Vg(e,c[h]);c=g}else c=d.Vg(e,c);return a.H[b]=c}return a.H[b]}return c},as=function(a,b,c){var d=ds(a,b);return a.S[b].R?d[c||0]:d},es=function(a,b){if($r(a,b))a=as(a,b,void 0);else a:{a=a.S[b];if(void 0===a.U)if(b=a.S,b===Boolean)a.U=!1;else if(b===Number)a.U=0;else if(b===String)a.U=a.V?"0":"";else{a=new b;
break a}a=a.U}return a},fs=function(a,b){return a.S[b].R?$r(a,b)?a.R[b].length:0:$r(a,b)?1:0},bs=function(a,b,c){a.R[b]=c;a.H&&(a.H[b]=c)},cs=function(a,b,c){a.R[b]||(a.R[b]=[]);a.R[b].push(c);a.H&&delete a.H[b]},jpa=function(a,b){delete a.R[b];a.H&&delete a.H[b]},gs=function(a,b){var c=[],d=b[0],e;for(e in b)0!=e&&c.push(new hpa(a,e,b[e]));return new fpa(a,d,c)};
var hs=function(){};hs.prototype.Wg=function(a,b){return Zr(a)?this.Za(b):pa(b)&&!isFinite(b)?b.toString():b};hs.prototype.To=function(a,b){a=new a.wp;this.S(a,b);return a};
hs.prototype.Vg=function(a,b){if(Zr(a))return b instanceof T?b:this.To(a.S.prototype.getDescriptor(),b);if(14==a.H)return na(b)&&lpa.test(b)&&(a=Number(b),0<a)?a:b;if(!a.V)return b;a=a.S;if(a===String){if(pa(b))return String(b)}else if(a===Number&&na(b)&&("Infinity"===b||"-Infinity"===b||"NaN"===b||lpa.test(b)))return Number(b);return b};var lpa=/^-?[0-9]+$/;
var is=function(){this.H=[];this.U={value:0,length:0};this.V={value:Yb(0),length:0};this.R=new DataView(new ArrayBuffer(8))};v(is,hs);
is.prototype.Za=function(a){if(null==a)return[];this.H=[];for(var b=Yr(a.getDescriptor()),c=0;c<b.length;c++){var d=b[c];if(a.has(d))if(d.R)if(d.W){var e=a,g=d;d=this.H;js(this,g.getTag()<<3|2);for(var h=d.length,k=0,n=fs(e,g.getTag());k<n;k++){var q=e.get(g,k);this.Wg(g,q,!0)}e=d.splice(h,d.length-h);js(this,e.length);d.splice.apply(d,[d.length,0].concat(e))}else for(e=0,g=fs(a,d.getTag());e<g;e++)h=a.get(d,e),this.Wg(d,h);else this.Wg(d,a.get(d))}return this.H};
is.prototype.Wg=function(a,b,c){if(c=!c){a:{switch(a.H){default:c=!1;break a;case 17:case 18:case 8:case 3:case 14:case 5:case 13:case 4:c=0;break;case 6:case 16:case 1:c=1;break;case 9:case 12:case 11:c=2;break;case 10:c=3;break;case 7:case 15:case 2:c=5}js(this,a.getTag()<<3|c);c=!0}c=!c}if(c)return!1;switch(a.H){default:throw Error("$a`"+a.H);case 17:js(this,b<<1^-(b>>>31));break;case 18:a=dc(b);a=lc(a,1).xor(ac(mc(a,63)));mpa(this,a);break;case 8:js(this,b?1:0);break;case 5:0<b?js(this,b):mpa(this,
Zb(b));break;case 3:case 4:mpa(this,dc(b));break;case 14:case 13:js(this,b);break;case 6:case 16:npa(this,dc(b),8);break;case 1:this.R.setFloat64(0,b,!0);for(a=0;8>a;a++)this.H.push(this.R.getUint8(a));break;case 9:if(null!=b)for(a=unescape(encodeURIComponent(b)),js(this,a.length),b=0;b<a.length;b++)this.H.push(a.charCodeAt(b));break;case 12:if(null!=b)for(js(this,b.length),a=0;a<b.length;a++)this.H.push(b.charCodeAt(a));break;case 10:b=(new is).Za(b);xg(this.H,b);js(this,a.getTag()<<3|4);break;case 11:b=
(new is).Za(b);js(this,b.length);xg(this.H,b);break;case 7:npa(this,bc(b),4);break;case 15:npa(this,Zb(b),4);break;case 2:for(this.R.setFloat32(0,b,!0),a=0;4>a;a++)this.H.push(this.R.getUint8(a))}return null};
is.prototype.S=function(a,b){if(null==b)return b;b instanceof ArrayBuffer&&(b=new Uint8Array(b));for(var c=a.getDescriptor(),d=0;d<b.length;){var e=opa(this,b.subarray(d)),g=e.value,h=g>>3;g&=7;d+=e.length;if(e=c.H[parseInt(h,10)]||null)if(e.W)for(h=opa(this,b.subarray(d)),g=h.value,d+=h.length;0<g&&d<b.length;){h=this.Vg(e,b.subarray(d));if(!h)throw Error("ab`"+e.H);a.add(e,h.value);d+=h.length;g-=h.length}else{g=this.Vg(e,b.subarray(d));if(!g)throw Error("ab`"+e.H);d+=g.length;e.R?a.add(e,g.value):
a.set(e,g.value)}else{e=d;d=b.subarray(d);h=0;switch(g){case 0:h=ks(this,d).length;break;case 1:h=8;break;case 2:d=ks(this,d);h=d.length+d.value.H;break;case 5:h=4}d=e+h}}};
is.prototype.Vg=function(a,b){var c=null,d=a.H,e=ks(this,b),g=e.length;switch(d){case 17:a=e.value.H;c=a>>>1^-(a&1);break;case 18:a=e.value;c=mc(a,1).xor(ac(a.and(Yb(1)))).toString();break;case 8:c=e.value.equals(Yb(1));break;case 3:case 4:c=e.value.toString();break;case 5:c=e.value.H;break;case 14:case 13:a=e.value;c=0<=a.H?a.H:4294967296+a.H;break;case 6:case 16:a=b.subarray(0,8);c=(new Wb(ppa(a.subarray(0,4),!0),ppa(a.subarray(4,8),!0))).toString();g=8;break;case 1:a=b.subarray(0,8);for(c=0;8>
c;c++)this.R.setUint8(c,a[c]);c=this.R.getFloat64(0,!0);g=8;break;case 9:a=b.subarray(e.length,e.length+e.value.H);a=qpa(a);c=decodeURIComponent(escape(a));g=e.length+e.value.H;break;case 12:a=b.subarray(e.length,e.length+e.value.H);c=qpa(a);g=e.length+e.value.H;break;case 10:g=c=new (a.S.prototype.getDescriptor().wp);e=b;d=g.getDescriptor();for(var h=0;;){var k=opa(this,e),n=k.value;k=k.length;var q=n>>3;if(4==(n&7))break;h+=k;n={value:void 0,length:0};(q=d.H[parseInt(q,10)]||null)&&(n=this.Vg(q,
e.subarray(k)))&&null!==n.value&&(q.R?g.add(q,n.value):g.set(q,n.value));h+=n.length;if(e.length<k+n.length)break;e=e.subarray(k+n.length)}g=h;b=ks(this,b.subarray(g));a.getTag();g+=b.length;break;case 11:g=e.length+e.value.H;b=b.subarray(e.length,g);c=new (a.S.prototype.getDescriptor().wp);this.S(c,b);break;case 7:case 15:c=ppa(b.subarray(0,4),15==d);g=4;break;case 2:a=b.subarray(0,4);for(c=0;4>c;c++)this.R.setUint8(c,a[c]);c=this.R.getFloat32(0,!0);g=4}return{value:c,length:g}};
var js=function(a,b){do{var c=b&127;b>>>=7;0<b&&(c|=128);a.H.push(c)}while(0<b)},mpa=function(a,b){var c=Zb(127);do{var d=b.and(c).H;b=mc(b,7);0<kc(b,Yb(0))&&(d|=128);a.H.push(d)}while(0<kc(b,Yb(0)))},ks=function(a,b){a=a.V;for(var c=bc(0),d=0;d<b.length&&(c=c.or(lc(Zb(b[d]&127),7*d)),0!=(b[d]&128));d++);a.value=c;a.length=d+1;return a},opa=function(a,b){a=a.U;for(var c=0,d=0;d<b.length&&(c|=(b[d]&127)<<7*d,0!=(b[d]&128));d++);a.value=c;a.length=d+1;return a},npa=function(a,b,c){for(var d=Zb(255),
e=0;e<c;e++){var g=b.and(d).H;a.H.push(g);b=mc(b,8)}},ppa=function(a,b){for(var c=0,d=0;d<a.length;d++)c|=a[d]<<8*d;b||(c>>>=0);return c},qpa=function(a){var b="";a=new Uint16Array(a);for(var c=0;c<a.length;c+=65536)b+=String.fromCharCode.apply(null,a.subarray(c,c+Math.min(65536,a.length-c)));return b};
var ls=function(){T.call(this)};v(ls,T);var rpa=null;ls.prototype.getDescriptor=function(){var a=rpa;a||(rpa=a=gs(ls,{0:{name:"Rect",Cb:"sketchology.proto.Rect"},1:{name:"xlow",Oa:2,type:Number},2:{name:"xhigh",Oa:2,type:Number},3:{name:"ylow",Oa:2,type:Number},4:{name:"yhigh",Oa:2,type:Number}}));return a};ls.getDescriptor=ls.prototype.getDescriptor;
var spa={NONE:0,X7:1,k6:2,u1:3,Y7:4},ms=function(){T.call(this)};v(ms,T);var tpa=null,ns=function(){T.call(this)};v(ns,T);var upa=null,os=function(){T.call(this)};v(os,T);var vpa=null,ps=function(){T.call(this)};v(ps,T);var wpa=null,qs=function(){T.call(this)};v(qs,T);var xpa=null,rs=function(){T.call(this)};v(rs,T);var ypa=null,ss=function(){T.call(this)};v(ss,T);var zpa=null,ts=function(){T.call(this)};v(ts,T);var Apa=null,us=function(){T.call(this)};v(us,T);var Bpa=null,vs=function(){T.call(this)};
v(vs,T);var Cpa=null,ws=function(){T.call(this)};v(ws,T);var Dpa=null;ws.prototype.ha=function(){return as(this,2)};var xs=function(){T.call(this)};v(xs,T);var Epa=null,Fpa={UNKNOWN:0,C3:1,e3:2,y0:3,c5:4,e0:5},Gpa={H_:1,u5:2,SQUARE:3};ms.prototype.getDescriptor=function(){var a=tpa;a||(tpa=a=gs(ms,{0:{name:"BackgroundImageInfo",Cb:"sketchology.proto.BackgroundImageInfo"},1:{name:"uri",Oa:9,type:String},3:{name:"bounds",Oa:11,type:ls}}));return a};ms.getDescriptor=ms.prototype.getDescriptor;
ns.prototype.getDescriptor=function(){var a=upa;a||(upa=a=gs(ns,{0:{name:"Border",Cb:"sketchology.proto.Border"},1:{name:"uri",Oa:9,type:String},2:{name:"scale",Oa:2,defaultValue:1,type:Number}}));return a};ns.getDescriptor=ns.prototype.getDescriptor;os.prototype.getDescriptor=function(){var a=vpa;a||(vpa=a=gs(os,{0:{name:"LOD",Cb:"sketchology.proto.LOD"},1:{name:"max_coverage",Oa:2,type:Number},2:{name:"ctm_blob",Oa:12,type:String}}));return a};os.getDescriptor=os.prototype.getDescriptor;
ps.prototype.getDescriptor=function(){var a=wpa;a||(wpa=a=gs(ps,{0:{name:"Stroke",Cb:"sketchology.proto.Stroke"},1:{name:"shader_type",Oa:14,defaultValue:0,type:spa},3:{name:"lod",Uc:!0,Oa:11,type:os},4:{name:"abgr",Oa:13,type:Number},5:{name:"point_x",Uc:!0,fy:!0,Oa:17,type:Number},6:{name:"point_y",Uc:!0,fy:!0,Oa:17,type:Number},7:{name:"point_t_ms",Uc:!0,fy:!0,Oa:13,type:Number},8:{name:"deprecated_transform",Oa:11,type:rs},9:{name:"start_time_ms",Oa:4,type:String}}));return a};
ps.getDescriptor=ps.prototype.getDescriptor;qs.prototype.getDescriptor=function(){var a=xpa;a||(xpa=a=gs(qs,{0:{name:"UncompressedStroke",Cb:"sketchology.proto.UncompressedStroke"},1:{name:"outline",Uc:!0,Oa:11,type:vs},2:{name:"rgba",Oa:13,type:Number}}));return a};qs.getDescriptor=qs.prototype.getDescriptor;
rs.prototype.getDescriptor=function(){var a=ypa;a||(ypa=a=gs(rs,{0:{name:"AffineTransform",Cb:"sketchology.proto.AffineTransform"},1:{name:"tx",Oa:2,type:Number},2:{name:"ty",Oa:2,type:Number},3:{name:"scale_x",Oa:2,defaultValue:1,type:Number},4:{name:"scale_y",Oa:2,defaultValue:1,type:Number},5:{name:"rotation_radians",Oa:2,type:Number}}));return a};rs.getDescriptor=rs.prototype.getDescriptor;
ss.prototype.getDescriptor=function(){var a=zpa;a||(zpa=a=gs(ss,{0:{name:"Element",Cb:"sketchology.proto.Element"},4:{name:"deprecated_uuid",Oa:9,type:String},5:{name:"minimum_serializer_version",Oa:13,type:Number},6:{name:"stroke",Oa:11,type:ps},9:{name:"path",Oa:11,type:xs},10:{name:"attributes",Oa:11,type:ts}}));return a};ss.getDescriptor=ss.prototype.getDescriptor;
ts.prototype.getDescriptor=function(){var a=Apa;a||(Apa=a=gs(ts,{0:{name:"ElementAttributes",Cb:"sketchology.proto.ElementAttributes"},1:{name:"selectable",Oa:8,defaultValue:!0,type:Boolean},2:{name:"magic_erasable",Oa:8,defaultValue:!0,type:Boolean},3:{name:"is_sticker",Oa:8,defaultValue:!1,type:Boolean},4:{name:"is_text",Oa:8,defaultValue:!1,type:Boolean}}));return a};ts.getDescriptor=ts.prototype.getDescriptor;
us.prototype.getDescriptor=function(){var a=Bpa;a||(Bpa=a=gs(us,{0:{name:"UncompressedElement",Cb:"sketchology.proto.UncompressedElement"},1:{name:"uncompressed_stroke",Oa:11,type:qs}}));return a};us.getDescriptor=us.prototype.getDescriptor;vs.prototype.getDescriptor=function(){var a=Cpa;a||(Cpa=a=gs(vs,{0:{name:"Point",Cb:"sketchology.proto.Point"},1:{name:"x",Oa:2,type:Number},2:{name:"y",Oa:2,type:Number}}));return a};vs.getDescriptor=vs.prototype.getDescriptor;
ws.prototype.getDescriptor=function(){var a=Dpa;a||(Dpa=a=gs(ws,{0:{name:"ElementBundle",Cb:"sketchology.proto.ElementBundle"},1:{name:"uuid",Oa:9,type:String},2:{name:"element",Oa:11,type:ss},3:{name:"transform",Oa:11,type:rs},4:{name:"uncompressed_element",Oa:11,type:us}}));return a};ws.getDescriptor=ws.prototype.getDescriptor;
xs.prototype.getDescriptor=function(){var a=Epa;a||(Epa=a=gs(xs,{0:{name:"Path",Cb:"sketchology.proto.Path"},1:{name:"segment_types",Uc:!0,Oa:14,defaultValue:0,type:Fpa},2:{name:"segment_counts",Uc:!0,Oa:13,type:Number},3:{name:"segment_args",Uc:!0,Oa:1,type:Number},4:{name:"radius",Oa:1,defaultValue:1,type:Number},5:{name:"rgba",Oa:13,type:Number},6:{name:"end_cap",Oa:14,defaultValue:2,type:Gpa},7:{name:"fill_rgba",Oa:13,type:Number}}));return a};xs.getDescriptor=xs.prototype.getDescriptor;
var Hpa={g_:1,C0:2},ys=function(){T.call(this)};v(ys,T);var Ipa=null,zs=function(){T.call(this)};v(zs,T);var Jpa=null,As=function(){T.call(this)};v(As,T);var Kpa=null,Bs=function(){T.call(this)};v(Bs,T);var Lpa=null,Cs=function(){T.call(this)};v(Cs,T);var Mpa=null,Ds=function(){T.call(this)};v(Ds,T);var Npa=null,Es=function(){T.call(this)};v(Es,T);var Opa=null,Fs=function(){T.call(this)};v(Fs,T);var Ppa=null,Gs=function(){T.call(this)};v(Gs,T);var Qpa=null,Hs=function(){T.call(this)};v(Hs,T);
var Rpa=null;Hs.prototype.ha=function(a){return as(this,2,a)};Hs.prototype.addElement=function(a){cs(this,2,a)};var Is=function(){T.call(this)};v(Is,T);var Spa=null;Is.prototype.ha=function(a){return as(this,2,a)};Is.prototype.addElement=function(a){cs(this,2,a)};ys.prototype.getDescriptor=function(){var a=Ipa;a||(Ipa=a=gs(ys,{0:{name:"Color",Cb:"sketchology.proto.Color"},1:{name:"argb",Oa:13,type:Number}}));return a};ys.getDescriptor=ys.prototype.getDescriptor;
zs.prototype.getDescriptor=function(){var a=Jpa;a||(Jpa=a=gs(zs,{0:{name:"PageProperties",Cb:"sketchology.proto.PageProperties"},1:{name:"background_color",Oa:11,type:ys},2:{name:"background_image",Oa:11,type:ms},3:{name:"bounds",Oa:11,type:ls},4:{name:"border",Oa:11,type:ns}}));return a};zs.getDescriptor=zs.prototype.getDescriptor;
As.prototype.getDescriptor=function(){var a=Kpa;a||(Kpa=a=gs(As,{0:{name:"AddAction",Cb:"sketchology.proto.AddAction"},1:{name:"uuid",Oa:9,type:String},2:{name:"below_element_with_uuid",Oa:9,type:String}}));return a};As.getDescriptor=As.prototype.getDescriptor;Bs.prototype.getDescriptor=function(){var a=Lpa;a||(Lpa=a=gs(Bs,{0:{name:"RemoveAction",Cb:"sketchology.proto.RemoveAction"},1:{name:"uuid",Uc:!0,Oa:9,type:String},2:{name:"was_below_uuid",Uc:!0,Oa:9,type:String}}));return a};
Bs.getDescriptor=Bs.prototype.getDescriptor;Cs.prototype.getDescriptor=function(){var a=Mpa;a||(Mpa=a=gs(Cs,{0:{name:"ClearAction",Cb:"sketchology.proto.ClearAction"},1:{name:"uuid",Uc:!0,Oa:9,type:String}}));return a};Cs.getDescriptor=Cs.prototype.getDescriptor;
Ds.prototype.getDescriptor=function(){var a=Npa;a||(Npa=a=gs(Ds,{0:{name:"ReplaceAction",Cb:"sketchology.proto.ReplaceAction"},1:{name:"uuid_add",Uc:!0,Oa:9,type:String},2:{name:"below_element_with_uuid",Oa:9,type:String},3:{name:"uuid_remove",Uc:!0,Oa:9,type:String},4:{name:"was_below_uuid",Uc:!0,Oa:9,type:String}}));return a};Ds.getDescriptor=Ds.prototype.getDescriptor;
Es.prototype.getDescriptor=function(){var a=Opa;a||(Opa=a=gs(Es,{0:{name:"SetTransformAction",Cb:"sketchology.proto.SetTransformAction"},1:{name:"uuid",Uc:!0,Oa:9,type:String},2:{name:"from_transform",Uc:!0,Oa:11,type:rs},3:{name:"to_transform",Uc:!0,Oa:11,type:rs}}));return a};Es.getDescriptor=Es.prototype.getDescriptor;
Fs.prototype.getDescriptor=function(){var a=Ppa;a||(Ppa=a=gs(Fs,{0:{name:"SetPageBoundsAction",Cb:"sketchology.proto.SetPageBoundsAction"},1:{name:"old_bounds",Oa:11,type:ls},2:{name:"new_bounds",Oa:11,type:ls}}));return a};Fs.getDescriptor=Fs.prototype.getDescriptor;
Gs.prototype.getDescriptor=function(){var a=Qpa;a||(Qpa=a=gs(Gs,{0:{name:"StorageAction",Cb:"sketchology.proto.StorageAction"},1:{name:"add_action",Oa:11,type:As},2:{name:"remove_action",Oa:11,type:Bs},3:{name:"clear_action",Oa:11,type:Cs},4:{name:"replace_action",Oa:11,type:Ds},5:{name:"set_transform_action",Oa:11,type:Es},6:{name:"set_page_bounds_action",Oa:11,type:Fs}}));return a};Gs.getDescriptor=Gs.prototype.getDescriptor;
Hs.prototype.getDescriptor=function(){var a=Rpa;a||(Rpa=a=gs(Hs,{0:{name:"Snapshot",Cb:"sketchology.proto.Snapshot"},1:{name:"page_properties",Oa:11,type:zs},2:{name:"element",Uc:!0,Oa:11,type:ws},3:{name:"dead_element",Uc:!0,Oa:11,type:ws},4:{name:"undo_action",Uc:!0,Oa:11,type:Gs},5:{name:"redo_action",Uc:!0,Oa:11,type:Gs},6:{name:"element_state_index",Uc:!0,Oa:14,defaultValue:1,type:Hpa},7:{name:"fingerprint",Oa:4,type:String}}));return a};Hs.getDescriptor=Hs.prototype.getDescriptor;
Is.prototype.getDescriptor=function(){var a=Spa;a||(Spa=a=gs(Is,{0:{name:"MutationPacket",Cb:"sketchology.proto.MutationPacket"},1:{name:"mutation",Uc:!0,Oa:11,type:Gs},2:{name:"element",Uc:!0,Oa:11,type:ws}}));return a};Is.getDescriptor=Is.prototype.getDescriptor;
var Js=function(a){this.H=this.tb="";this.va=this.V=this.$=this.Da=this.Ba=this.Ua=null;this.Os=!1;this.Qa="";this.R=null;this.Zi=this.ma="";this.Zf="unknown";this.W=this.Ka=this.ta=this.ka=this.Ma=null;this.U="unknown";this.Ta=null;this.Wf=this.S="";this.Va=0;this.Fa=!1;this.ug="u";this.ra=!1;this.update(a)},Tpa=new is,Upa=function(a,b){b=new Uint32Array(Cea(b));Tpa.S(a,b);return a},Vpa=function(a,b){var c={};c.blob_id="local-"+(new Date).getTime();c.state="l";b&&(c.type=b);a&&(c.mimetype=a,b||(c.type=
Ks(a)));return new Js(c)},Ks=function(a){return ub(a,"image")?"IMAGE":ub(a,"audio")?"AUDIO":"unknown"};f=Js.prototype;f.getId=function(){return(Ls(this)||Ms(this))&&this.R?this.R.getId():this.tb};f.getType=function(){return this.Zf};f.lc=function(){return this.ka};f.getLength=function(){return this.Ka};f.Mj=function(){return this.R};f.Zv=function(){return Ms(this)?"ANNOTATION":Ls(this)?"DRAWING":Ns(this)?"IMAGE":"UNKNOWN"};
var Ns=function(a){"unknown"==a.Zf&&(a.Zf=Ks(a.Zi));return"IMAGE"==a.Zf},Ls=function(a){return"DRAWING"==a.Zf},Ms=function(a){return"IMAGE"==a.Zf&&(!!a.H||a.Fa||!!a.Wf)},Os=function(a){return"s"==a.ug||!(!a.R||"s"!=a.R.ug)};Js.prototype.gx=function(){return"lup"==this.ug};
var Wpa=function(a){return!Ls(a)&&("l"==a.ug||"lup"==a.ug)&&"unknown"!=a.Zf&&!!a.Zi},Ps=function(a,b){(a.Wf=b)&&(a.Va=t())},Qs=function(a,b){b!=a.ug&&(!a.ma||"s"!=b&&"luc"!=b||(a.ma=""),a.ug=b)},Rs=function(a,b){"string"===typeof b&&(b=Upa(new Hs,b));a.V=b;as(a.V,7)&&(b=as(a.V,7),a.$=b)},Xpa=function(a,b){b=dc(b).toString();a.Da=b;a.Ba=b},Ss=function(a,b){"string"===typeof b&&(b=Upa(new Is,b));a.va=b};
Js.prototype.update=function(a){var b=!1;for(h in a)switch(h){case "media_id":case "blob_id":b=b||this.tb!=a[h];this.tb=a[h];Os(this)&&!ub(this.tb,"local-")&&this.S&&(this.S="");break;case "mimetype":b=b||this.Zi!=a[h];this.Zi=a.mimetype;break;case "type":b=b||this.Zf!=a[h];this.Zf=a.type;break;case "byte_size":b=b||this.Ma!=a[h];this.Ma=a.byte_size;break;case "width":b=b||this.ka!=a[h];this.ka=a.width;break;case "height":b=b||this.ta!=a[h];this.ta=a.height;break;case "length":b=b||this.Ka!=a[h];
this.Ka=a.length;break;case "extracted_text":b=b||this.W!=a[h];this.W=a.extracted_text;break;case "extraction_status":b=b||this.U!=a[h];this.U=a.extraction_status;break;case "source_uri":b=b||this.Ta!=a[h];this.Ta=a.source_uri;break;case "drawingInfo":var c=void 0,d=a.drawingInfo,e=!1;for(c in d)switch(c){case "drawingId":e=e||this.H!=d[c];this.H=d.drawingId;break;case "encodedSnapshotProto":Rs(this,d.encodedSnapshotProto);break;case "encodedPendingMutations":Ss(this,d.encodedPendingMutations);break;
case "inkHash":e=e||this.Qa!=d[c];this.Qa=d.inkHash;break;case "localSnapshotFingerprint":e=e||this.$!=d[c];this.$=d.localSnapshotFingerprint;break;case "serverSnapshotFingerprint":e=e||this.Da!=d[c];this.Da=d.serverSnapshotFingerprint;break;case "snapshotData":this.R?e=this.R.update(d.snapshotData)||e:(this.R=new Js(d.snapshotData),e=!0);break;case "snapshotFingerprint":e=e||this.Ua!=d[c];this.Ua=d.snapshotFingerprint;break;case "snapshotProtoFprint":var g=d[c];g=g?dc(g).toString():null;e=e||this.Ba!=
g;this.Ba=g}b=e||b;break;case "local_data":b=b||this.S!=a[h];this.S=a.local_data;break;case "filename":b=b||this.ma!=a[h];this.ma=a.filename;break;case "is_local_copy":this.ra=!!a.is_local_copy}var h=this.ug;c=void 0;p(a.state)&&(c=a.state);p(a.is_uploaded)&&(a.is_uploaded?c="s":"u"==h&&(c="ur"));p(c)&&c!=h?(this.ug=c,a=!0):a=!1;b=a||b;this.Zf||(this.Zf=Ks(this.Zi));return b};
var Ypa=function(a){if(!Ls(a)&&!Ms(a))throw Error("cb");var b=null;a.Wf?(b=Vpa("image/png"),b.S=a.Wf,b.ka=800):a.R&&(b=a.R);return b},Zpa=function(a){var b={};return b.mimetype=a.Zi,b.type=a.Zf,b.width=a.ka,b.height=a.ta,b};
Js.prototype.Za=function(a){a=void 0===a?!1:a;var b=Zpa(this);b.kind="notes#blob";this.tb&&(b.media_id=this.tb);b.byte_size=this.Ma;b.length=this.Ka;b.extracted_text=this.W;b.extraction_status=this.U;b.source_uri=this.Ta;b.state=this.ug;b.is_local_copy=this.ra;if(Ls(this)||Ms(this)&&this.H){var c={};c.drawingId=this.H;this.R&&(c.snapshotData=this.R.Za());c.snapshotFingerprint=this.Ua;c.inkHash=this.Qa;b.drawingInfo=c;a&&(this.V&&(c.encodedSnapshotProto=Sh(Tpa.Za(this.V))),this.va&&(c.encodedPendingMutations= Sh(Tpa.Za(this.va))),c.localSnapshotFingerprint=this.$,c.serverSnapshotFingerprint=this.Da,c.snapshotProtoFprint=this.Ba)}this.S&&(b.local_data=this.S);Os(this)||(b.filename=this.ma);return b};
var Ts=function(a){this.H=a};Ts.prototype.update=function(a){this.H=a;return!0};Ts.prototype.Za=function(){return this.H};var Us=function(a){J.call(this);this.H=null;this.ii=[];this.update(a)};v(Us,J);var Vs=function(a){return"OAD"==a.H||"SRD"==a.H};Us.prototype.equals=function(a){return this.H!=a.H||this.ii.length!=a.ii.length?!1:lg(this.ii,function(b){return pg(a.ii,b)},this)};Us.prototype.update=function(a){var b=!1,c;for(c in a)switch(c){case "code":var d=a[c];b=b||this.H!=d;this.H=d;break;case "emails":b||(b=a[c].length!=this.ii.length)||(b=kg(a[c],function(a){return!pg(this.ii,a)},this)),this.ii=a[c]}return b};
var Ws=function(a){sr.call(this,0);this.Lh=!1;this.R=null;this.S=void 0;a&&this.update(a)};v(Ws,sr);var $pa={MORNING:9,AFTERNOON:13,EVENING:17,NIGHT:20},Xs=function(a,b,c,d,e,g){var h=new Ws;pa(a)&&h.setFullYear(a);pa(b)&&h.setMonth(b);pa(c)&&h.setDate(c);pa(d)&&h.setHours(d);pa(e)&&h.setMinutes(e);pa(g)&&h.setSeconds(g);return h};
Ws.prototype.update=function(a){var b=a.time;b&&(a.hour=b.hour,a.minute=b.minute,a.second=b.second);(b=a.period)&&!a.hour&&(a.hour=$pa[b.toUpperCase()]||$pa.MORNING);b=!1;p(a.absoluteTimeMs)?(b=b||this.S!=a.absoluteTimeMs,this.S=a.absoluteTimeMs):p(this.S)&&(this.S=void 0,b=!0);for(var c in a){var d=a[c];switch(c){case "year":b=b||d!=this.getFullYear();this.setFullYear(d);break;case "month":--d;b=b||d!=this.getMonth();this.setMonth(d);break;case "day":b=b||d!=this.getDate();this.setDate(d);break;
case "hour":b=b||d!=this.getHours();this.setHours(d);break;case "minute":b=b||d!=this.getMinutes();this.setMinutes(d);break;case "second":b=b||d!=this.getSeconds();this.setSeconds(d);break;case "period":b=b||d!=this.R,this.R=d}}b=b||this.Lh!=!!a.unspecifiedFutureTime;this.Lh=!!a.unspecifiedFutureTime;return b};
Ws.prototype.Za=function(){var a={};if(this.Lh)return a.unspecifiedFutureTime=!0,a;a.year=this.getFullYear();a.month=this.getMonth()+1;a.day=this.getDate();var b={};b.hour=this.getHours();b.minute=this.getMinutes();b.second=this.getSeconds();a.time=b;this.R&&(a.period=this.R);p(this.S)&&(a.absoluteTimeMs=this.S);return a};Ws.prototype.clone=function(){return new Ws(this.Za())};
var aqa=function(){},Ys=function(a){if("number"==typeof a){var b=new aqa;b.S=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Mb(c,2));c=d.join("")}b.U=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=bqa(a);b.V=[c,c];b.H={o6:a,Xz:a};b.R=[];return b}b=new aqa;b.U=a.id;b.S=-a.std_offset;b.V=a.names;b.H=a.names_ext;b.R=a.transitions;return b},
bqa=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Mb(Math.floor(a/60)%100,2),":",Mb(a%60,2));return b.join("")},Zs=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.R.length&&b>=a.R[c];)c+=2;return 0==c?0:a.R[c-1]};
var $s=function(a,b){this.R=[];this.H=b||Ea;"number"==typeof a?cqa(this,a):dqa(this,a)},eqa=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyMkSEahKHcLQdmsvVwzZ]+/],at=function(a){return a.getHours?a.getHours():0},dqa=function(a,b){for(fqa&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;d<eqa.length;++d){var e=b.match(eqa[d]);if(e){var g=e[0];b=b.substring(g.length);0==d&&("''"==g?g="'":(g=g.substring(1,"'"==e[1]?g.length-1:g.length),g=g.replace(/''/g,
"'")));a.R.push({text:g,type:d});break}}if(c===b)throw Error("db`"+b);}};$s.prototype.format=function(a,b){if(!a)throw Error("eb");var c=b?6E4*(a.getTimezoneOffset()-(b.S-Zs(b,a))):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(e=6E4*(d.getTimezoneOffset()-a.getTimezoneOffset()),d=new Date(d.getTime()+e),c+=0<c?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var g=0;g<this.R.length;++g){var h=this.R[g].text;1==this.R[g].type?c.push(gqa(this,h,a,d,e,b)):c.push(h)}return c.join("")};
var cqa=function(a,b){if(4>b)var c=a.H.Yl[b];else if(8>b)c=a.H.Tn[b-4];else if(12>b)c=a.H.xu[b-8],c=c.replace("{1}",a.H.Yl[b-8]),c=c.replace("{0}",a.H.Tn[b-8]);else{cqa(a,10);return}dqa(a,c)},bt=function(a,b){b=String(b);a=a.H||Ea;if(void 0!==a.Cq){for(var c=[],d=0;d<b.length;d++){var e=b.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(a.Cq+e-48):b.charAt(d))}b=c.join("")}return b},fqa=!1,ct=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("fb");},gqa=function(a,b,c,d,e,
g){var h=b.length;switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?1:0,4<=h?a.H.Az[c]:a.H.Bu[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),bt(a,Mb(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.H.Oz[c];break a;case 4:h=a.H.Hu[c];break a;case 3:h=a.H.Nu[c];break a;default:h=bt(a,Mb(c+1,h))}return h;case "k":return ct(e),bt(a,Mb(at(e)||24,h));case "S":return c=e.getTime()%1E3/1E3,bt(a,c.toFixed(Math.min(3,h)).substr(2)+(3<h?Mb(0,h-3):""));case "E":return c=d.getDay(),
4<=h?a.H.bm[c]:a.H.Pu[c];case "a":return ct(e),h=at(e),a.H.Sn[12<=h&&24>h?1:0];case "h":return ct(e),bt(a,Mb(at(e)%12||12,h));case "K":return ct(e),bt(a,Mb(at(e)%12,h));case "H":return ct(e),bt(a,Mb(at(e),h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.H.Vz[c];break a;case 4:h=a.H.Wz[c];break a;case 3:h=a.H.Ru[c];break a;default:h=bt(a,Mb(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.H.Uz[c];break a;case 4:h=a.H.am[c];break a;case 3:h=a.H.Qu[c];break a;default:h=bt(a,Mb(c+1,h))}return h;
case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.H.Ou[c]:a.H.Mu[c];case "d":return bt(a,Mb(d.getDate(),h));case "m":return ct(e),bt(a,Mb(e.getMinutes(),h));case "s":return ct(e),bt(a,Mb(e.getSeconds(),h));case "v":return h=g||Ys(c.getTimezoneOffset()),h.U;case "V":return a=g||Ys(c.getTimezoneOffset()),2>=h?a.U:0<Zs(a,c)?p(a.H.fH)?a.H.fH:a.H.DST_GENERIC_LOCATION:p(a.H.Xz)?a.H.Xz:a.H.STD_GENERIC_LOCATION;case "w":return c=a.H.xq,e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),b=a.H.wq||0,c=e.valueOf()+
864E5*(((p(c)?c:3)-b+7)%7-((e.getDay()+6)%7-b+7)%7),bt(a,Mb(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||Ys(c.getTimezoneOffset()),4>h?a.V[0<Zs(a,c)?2:0]:a.V[0<Zs(a,c)?3:1];case "Z":return e=g||Ys(c.getTimezoneOffset()),4>h?(h=-(e.S-Zs(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Mb(Math.floor(h/60)%100,2),Mb(h%60,2)),h=a.join("")):h=bt(a,bqa(e.S-Zs(e,c))),h;default:return""}};
var hqa={},dt=function(a){hqa[a]||(hqa[a]=new $s(a));return hqa[a]},ft=function(a,b){var c=dt(7).format(a);return et(a)?c:et(a,-1)?(b?"Yesterday":"yesterday")+(", "+c):dt(Da.$l).format(a)},ht=function(a,b){return(b?et(a)?"Today":et(a,-1)?"Yesterday":et(a,1)?"Tomorrow":iqa(a):iqa(a))+(", "+gt(a))},it=function(a){return dt(Da.Mz).format(a)},iqa=function(a){return roa(a)?dt(Da.$l).format(a):it(a)},gt=function(a){return dt(7).format(a)},et=function(a,b){var c=new rr;b&&c.add(new pr("d",b));return c.equals(a)},
jqa=7,kqa=new sr,lqa=new rr,kt=function(){if(!jt.Zg()){var a=jt;a.stop();a.H();a=new rr;a=new sr-a;jt.start(864E5-a)}return lqa},mqa=function(a){var b=a.getDate();return b+7>toa(a)?-1:Math.ceil(b/7)},nqa=new Co(function(){kqa=new sr;kqa.add(new pr("d",-1*jqa))},6E4),jt=new Vn(function(){lqa=new rr;lqa.add(new pr("d",2));jt.start()},864E5);
var lt=function(a,b,c,d,e,g,h){this.name=a;this.U=b;this.$=c;this.displayName=d;this.V=e;this.S=g;this.W=(a+"selected").toLowerCase();this.R=(a+"changed").toLowerCase();this.H=h},oqa=new lt("MORNING",8,"morningCustomizedTime","Morning","MORNING",9110,!0),pqa=new lt("EVENING",18,"eveningCustomizedTime","Evening","EVENING",9112,!0),qqa=new lt("NIGHT",20,"nightCustomizedTime","Night","NIGHT",9326,!1),mt=[oqa,new lt("AFTERNOON",13,"afternoonCustomizedTime","Afternoon","AFTERNOON",9111,!0),pqa,qqa];
var ot=function(){J.call(this);var a=this;this.H=new Map;mt.forEach(function(b){a.H.set(b,new nt(b))})};l(ot,J);var rqa=function(a,b){var c=!1;b.forEach(function(b,e){e=a.H.get(e);e.H.equals(b)?b=!1:(e.H=b,b=e.R=!0);c=b||c});c&&a.dispatchEvent("Ca")},pt=function(a,b){return a.H.get(b)};ot.prototype.update=function(a){var b=!1,c=a.customizedSnoozePreset||{};this.H.forEach(function(a,e){e=c[e.$];b=!!e&&a.update(e)||b});b&&this.dispatchEvent("Ca")};
ot.prototype.Za=function(){var a=[];this.H.forEach(function(b){b.hc()&&a.push(b.Za())});var b={};return b.preset=a,b};ot.prototype.hc=function(){var a=!1;this.H.forEach(function(b){a=a||b.hc()});return a};
var sqa=function(){ot.Ja().H.forEach(function(a){a.R=!1})},tqa=function(){var a=ot.Ja(),b=new sr,c=pt(a,pqa).H,d=new sr(b.getFullYear(),b.getMonth(),b.getDate(),c.hour,c.minute,c.second);c=b.clone();c.add(new pr("h",3));if(d=b<d){d=b||new Date(t());var e;if(e=c.getDate()==d.getDate())d=d||new Date(t()),e=c.getMonth()==d.getMonth()&&roa(c,d);d=e}d?(b=Xs(b.getFullYear(),b.getMonth(),b.getDate(),b.getHours(),30*Math.round(b.getMinutes()/30)),b.add(new pr("h",3))):(a=pt(a,oqa).H,b=Xs(b.getFullYear(),
b.getMonth(),b.getDate(),a.hour,a.minute,a.second),b.R="MORNING",b.add(new pr("d",1)));return b};ta(ot);var nt=function(a){this.S=a;this.H=new qt(a.U);this.R=!1};nt.prototype.getTime=function(){var a=new Ws;a.R=this.S.V;a.setHours(this.H.hour);a.setMinutes(this.H.minute);a.setSeconds(this.H.second);return a};nt.prototype.hc=function(){return this.R};nt.prototype.update=function(a){return(a=(a=a.timeOfDay)?new qt(a):null)&&!this.H.equals(a)?(this.H=a,!0):!1};
nt.prototype.Za=function(){var a={};return a.presetType=this.S.name,a.timeOfDay=this.H.Za(),a};var qt=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;ya(a)&&(c=a.second||0,b=a.minute||0,a=a.hour||0);this.hour=a;this.minute=b;this.second=c},rt=function(a){return a.second+60*(a.minute+24*a.hour)};qt.prototype.equals=function(a){return a instanceof qt&&this.hour==a.hour&&this.minute==a.minute&&this.second==a.second}; qt.prototype.Za=function(){var a={};return a.hour=this.hour,a.minute=this.minute,a.second=this.second,a};
var st=function(a){J.call(this);this.R="daily";this.Fa=1;this.H=this.W=null;this.S=0;this.Da=this.U=null;this.ta=[];this.va=this.Ba=this.ma=this.ra=this.$=null;this.V=[];this.ka=null;this.Ka=!1;a&&this.update(a)};v(st,J);var uqa={z0:"daily",n8:"weekly",B3:"monthly",D8:"yearly"},tt=function(a){switch((a.getDay()+6)%7){case 0:return"monday";case 1:return"tuesday";case 2:return"wednesday";case 3:return"thursday";case 4:return"friday";case 5:return"saturday"}return"sunday"},ut=function(a,b){a.R=b;a.Db()};
st.prototype.getTime=function(){return this.U};var vqa=function(a,b){a.ra=null;a.ma=null;a.$=b;a.Db()},wqa=function(a){return hg(a.V,function(a){return a.hc()})},xqa=function(a){return kg(a.V,function(a){return a.hc()})};st.prototype.hc=function(){return this.Ka};st.prototype.Db=function(){this.Ka=!0;this.dispatchEvent("qa")};
st.prototype.update=function(a){var b=!1,c=a.recurrenceId;c&&(this.ka=c.id||null);a=a.recurrence;if(!a)return!1;a.frequency?(c=a.frequency.toLowerCase(),bh(uqa,c)&&(b=b||this.R!=c,this.R=c)):this.R&&(this.R="daily",b=!0);c=pa(a.every)?a.every:1;b=b||this.Fa!=c;this.Fa=c;(c=a.recurrenceStart?a.recurrenceStart.startDateTime:null)?(this.W=this.W||new Ws,c=this.W.update(c)):(c=!!this.W,this.W=null);b=c||b;c=a;if(c.recurrenceEnd)if(c=c.recurrenceEnd,c.autoRenew){var d=!!this.H||0!=this.S;this.S=0;this.H=
null}else{var e=c.numOccurrences||0;d=this.S!=e;this.S=e;c.endDateTime?(this.H=this.H||new Ws,d=this.H.update(c.endDateTime)||d):this.H&&(this.H=null,d=!0)}else d=!!this.H||0!=this.S,this.H=null,this.S=0;b=d||b;c=a;c.dailyPattern?(c=c.dailyPattern,e=c.dayPeriod||null,d=this.Da!=e,this.Da=e,c.timeOfDay?(this.U=this.U||new Ws,d=this.U.update(c.timeOfDay)||d):this.U&&(this.U=null,d=!0)):(d=!!this.Da||!!this.U,this.U=this.Da=null);b=d||b;"weekly"==this.R&&a.weeklyPattern&&a.weeklyPattern.weekDay?(c=a.weeklyPattern.weekDay,
d=!Eg(c,this.ta),this.ta=wg(c)):(d=!!this.ta.length,rg(this.ta));b=d||b;c=a;"monthly"==this.R&&c.monthlyPattern?(c=c.monthlyPattern,e=((d=c.monthDay)?d[0]:null)||null,d=this.$!=e,this.$=e,e=c.weekDay||null,d=d||this.ra!=e,this.ra=e,c=c.weekDayNumber||null,d=d||this.ma!=c,this.ma=c):(d=!!this.$||!!this.ra||!!this.ma,this.ma=this.ra=this.$=null);b=d||b;d=a;"yearly"==this.R&&d.yearlyPattern?(d=d.yearlyPattern,e=d.yearMonth&&d.yearMonth[0]||null,c=this.Ba!=e,this.Ba=e,d=d.monthlyPattern&&d.monthlyPattern.monthDay&&
d.monthlyPattern.monthDay[0]||null,c=c||this.va!=d,this.va=d):(c=!!this.va||!!this.Ba,this.Ba=this.va=null);b=c||b;p(a.dirty)&&(b=b||this.Ka!=!!a.dirty,this.Ka=!!a.dirty);return b};
st.prototype.Za=function(a){var b={};b.frequency=this.R;1<this.Fa&&(b.every=this.Fa);if(this.W){var c={};c.startDateTime=this.W.Za();b.recurrenceStart=c}this.S?(c={},c.numOccurrences=this.S,b.recurrenceEnd=c):this.H&&(c={},c.endDateTime=this.H.Za(),b.recurrenceEnd=c);if(this.U||this.Da){c={};if(this.U){var d=this.U.Za();d.time&&(c.timeOfDay=d.time)}else this.Da&&(c.dayPeriod=this.Da);b.dailyPattern=c}"weekly"==this.R&&this.ta.length&&(c={},c.weekDay=this.ta,b.weeklyPattern=c);"monthly"==this.R&&(this.$?
(c={},c.monthDay=[this.$],b.monthlyPattern=c):this.ra&&this.ma&&(c={},c.weekDay=this.ra,c.weekDayNumber=this.ma,b.monthlyPattern=c));"yearly"==this.R&&this.va&&this.Ba&&(c={},d={},d.monthDay=[this.va],c.monthlyPattern=d,c.yearMonth=[this.Ba],b.yearlyPattern=c);a&&(b.dirty=this.Ka);return b};var yqa=function(){J.call(this);this.R=this.U=null;this.S=this.H=!1};v(yqa,J);var zqa=function(a,b){var c=new sr;a=a.Ae()||c;b=b.Ae()||c;return a.getTime()-b.getTime()};f=yqa.prototype;f.Ae=function(){return this.U};
f.hc=function(){return this.S};f.Db=function(){this.S=!0};f.update=function(a){for(var b in a)switch(b){case "dueDate":this.U||(this.U=new Ws);this.U.update(a[b]);break;case "archived":this.H=!!a[b];break;case "taskId":this.R=a[b].clientAssignedId||null}};f.Za=function(){var a={};this.U&&(a.dueDate=this.U.Za());this.H&&(a.archived=!0);return a};
var vt=function(a,b){J.call(this);this.R="INITIAL";this.V="";this.H=this.Gd=this.Sd=null;this.W=!1;this.$=this.S=null;this.ka=!1;a&&(b?Aqa(this,a):this.update(a))};v(vt,J);var wt=function(a){var b=new vt;a=new Ws(a.Za());if(b.Sd!=a){if(b.Sd=a)b.Gd=null;b.R="INITIAL";b.Db()}return b},Bqa=function(a){var b=new vt;a=new xt(a.Za());if(b.Gd!=a){if(b.Gd=a)b.U=null;b.R="INITIAL";b.Db()}return b};vt.prototype.Sb=function(){return"DELETED"==this.R||this.ka};vt.prototype.getState=function(){return this.R};
var Cqa=function(a){return!!a.Gd&&("HOME"==a.Gd.getType()||"WORK"==a.Gd.getType())};vt.prototype.Ae=function(){if(!this.Sd)return null;var a=this.Sd.clone(),b=a.S;b&&b!=a.getTime()&&a.setTime(b);return a};var Dqa=function(a){return!!a.Sd&&!a.Sd.Lh&&t()>a.Sd.getTime()};vt.prototype.hc=function(){return this.W||!!this.H&&this.H.hc()};vt.prototype.Wp=function(a){a!=this.ka&&(this.ka=a,this.dispatchEvent("qa"))};vt.prototype.Kb=function(a){this.R!=a&&(this.R=a,this.Db())};
var Eqa=function(a,b){(a.H=b)&&b.Lb(a);a.R="INITIAL";a.Db()};vt.prototype.Db=function(){this.W=!0;this.dispatchEvent("qa")};var Fqa=function(a){a.W=!1;a.H?a.H.Ka=!1:a.$=null},Gqa=function(a,b){b&&b.taskId&&(a.S=b.taskId.clientAssignedId||null)};
vt.prototype.update=function(a){var b=a.title||"";var c=this.V!=b;this.V=b;a.dueDate?(this.Sd=this.Sd||new Ws,c=this.Sd.update(a.dueDate)||c):this.Sd&&(this.Sd=null,c=!0);a.location?(this.Gd=this.Gd||new xt,c=this.Gd.update(a.location)||c):this.Gd&&(this.Gd=null,c=!0);a.recurrenceInfo?(this.H=this.H||new st,c=this.H.update(a.recurrenceInfo)||c,this.H.Lb(this)):(c=c||!!this.H,this.H=null);a.taskId&&(this.S=a.taskId.clientAssignedId||null);p(a.dirty)&&(c=c||this.W!=!!a.dirty,this.W=!!a.dirty);a=a.archived?
"DISMISSED":"INITIAL";c=c||this.R!=a;this.R=a;return c};var Aqa=function(a,b){b=a.update(b);a.$=a.H?a.H.ka:null;return b};vt.prototype.Za=function(a){var b={};b.title=this.V||"";!this.Sd||!a&&this.H||(b.dueDate=this.Sd.Za());if(a&&this.H){var c={},d=this.H.ka;if(d){var e={};e.id=d;c.recurrenceId=e}c.recurrence=this.H.Za(a);b.recurrenceInfo=c}this.Gd&&(b.location=this.Gd.Za());"DISMISSED"==this.R&&(b.archived=!0);a&&(b.dirty=this.W);return b};
var xt=function(a){a&&this.update(a)},Hqa=function(a,b,c,d){var e={};e.name=a;e.lat=b;e.lng=c;e.radiusMeters=200;d&&(e.displayAddress=d);return new xt(e)},yt={o2:"HOME",t8:"WORK"};xt.prototype.getName=function(){return this.S};xt.prototype.getType=function(){return this.H};var Iqa=function(a){switch(a.H){case "HOME":return"Home";case "WORK":return"Work";default:return""}};
xt.prototype.update=function(a){var b=a.displayAddress||void 0;var c=this.R!=b;this.R=b;b=pa(a.lat)?a.lat:void 0;c=c||this.U!=b;this.U=b;b=pa(a.lng)?a.lng:void 0;c=c||this.V!=b;this.V=b;b=a.name||void 0;c=c||this.S!=b;this.S=b;b=pa(a.radiusMeters)?a.radiusMeters:void 0;c=c||this.W!=b;this.W=b;a.locationType?(a=a.locationType.toUpperCase(),bh(yt,a)&&(c=c||this.H!=a,this.H=a)):this.H&&(this.H=void 0,c=!0);return c}; xt.prototype.Za=function(){var a={};p(this.R)&&(a.displayAddress=this.R);p(this.U)&&(a.lat=this.U);p(this.V)&&(a.lng=this.V);p(this.S)&&(a.name=this.S);p(this.W)&&(a.radiusMeters=this.W);p(this.H)&&(a.locationType=this.H);return a};
var zt=function(){this.R=[];this.S=[];this.H=[];this.ma=[];this.U=[];this.ta=this.ra=this.va=this.$=this.W=this.V=this.ka=!1;this.Ba=""},Kqa=function(a){var b=new zt;a=decodeURIComponent(a).split("&");E(a,function(a){0==a.indexOf("text")&&Jqa(b,a.substring(5).split(",").map(decodeURIComponent));if(0==a.indexOf("sharee")){var c=a.substring(7).split(",");b.S=c?va(c)?c:xb(c).toLowerCase().split(" "):[]}0==a.indexOf("categories")&&(c=a.substring(11).split(","),b.H=c?va(c)?c:xb(c).toLowerCase().split(" "):
[]);0==a.indexOf("suggestType")&&(c=a.substring(12).split(","),b.ma=c?va(c)?c:xb(c).toLowerCase().split(" "):[]);0==a.indexOf("tags")&&(c=a.substring(5).split(","),b.U=c?va(c)?c:xb(c).toLowerCase().split(" "):[]);0==a.indexOf("color")&&(b.Ba=a.substring(6).toUpperCase());"list"==a&&(b.ka=!0);"shared"==a&&(b.va=!0);"audio"==a&&(b.V=!0);"drawing"==a&&(b.ra=!0);"image"==a&&(b.W=!0);"reminder"==a&&(b.$=!0);"url"==a&&(b.ta=!0)});return b};
zt.prototype.Za=function(){var a=[];if(this.R.length){var b=this.R.map(Db);a.push("text="+b.join(","))}this.S.length&&a.push("sharee="+this.S.join(","));this.H.length&&a.push("categories="+this.H.join(","));this.ma.length&&a.push("suggestType="+this.ma.join(","));this.U.length&&a.push("tags="+this.U.join(","));this.Ba&&a.push("color="+this.Ba.toLowerCase());this.ka&&a.push("list");this.va&&a.push("shared");this.V&&a.push("audio");this.ra&&a.push("drawing");this.W&&a.push("image");this.$&&a.push("reminder");
this.ta&&a.push("url");return Db(a.join("&"))};zt.prototype.isEmpty=function(){return qg(this.R)&&qg(this.S)&&qg(this.H)&&qg(this.ma)&&qg(this.U)&&!this.ka&&!this.V&&!this.ra&&!this.W&&!this.$&&!this.ta&&!this.va&&!this.Ba};
var Lqa=function(a){var b=!1;if(!qg(a.S)){if(1<a.S.length)return!1;b=!0}if(!qg(a.H)){if(1<a.H.length||b)return!1;b=!0}if(!qg(a.ma)){if(1<a.ma.length||b)return!1;b=!0}if(!qg(a.U)){if(1<a.U.length||b)return!1;b=!0}if(a.ka){if(b)return!1;b=!0}if(a.V){if(b)return!1;b=!0}if(a.W){if(b)return!1;b=!0}if(a.ra){if(b)return!1;b=!0}if(a.$){if(b)return!1;b=!0}if(a.va){if(b)return!1;b=!0}if(a.ta){if(b)return!1;b=!0}if(a.Ba){if(b)return!1;b=!0}return b};
zt.prototype.equals=function(a){return a?Eg(this.R,a.R)&&Eg(this.S,a.S)&&Eg(this.H,a.H)&&Eg(this.ma,a.ma)&&Eg(this.U,a.U)&&this.ka==a.ka&&this.V==a.V&&this.ra==a.ra&&this.W==a.W&&this.$==a.$&&this.ta==a.ta&&this.va==a.va&&this.Ba==a.Yc():!1};var Jqa=function(a,b){a.R=b?va(b)?b:xb(b).toLowerCase().split(" "):[]};zt.prototype.Yc=function(){return this.Ba};
var At=function(a,b){this.start=a;this.end=p(b)?b:a;this.length=this.end-a},Bt=new At(0,0),Mqa=function(a,b,c){var d=a.start;a=a.end;if(0<c)d+=b<d?c:0,a+=b<a?c:0;else{var e=b+-c;e<=d?d+=c:b<d&&(d=b);e<=a?a+=c:b<a&&(a=b)}return new At(d,a)},Ct=function(a,b,c){this.S=a;this.H=b;this.R=c};
var Dt=function(a){J.call(this);this.S=this.R=this.H=null;var b=!1;if(a&&a.family&&a.family.email_address){var c=a.family.email_address;b=c!==this.H;this.H=c}else this.H&&(this.H=null,b=!0);a&&a.family&&a.family.display_name?(c=a.family.display_name,b=this.R!==c,this.R=c):this.R&&(this.R=null,b=!0);a&&a.last_update_timestamp?this.S=ur.Ja().parse(a.last_update_timestamp):this.S&&(bg(this.S),this.S=null);b&&this.dispatchEvent("qa")};v(Dt,J);ta(Dt);f=Dt.prototype;
f.toString=function(){return this.H||Dt.ua.toString.call(this)};f.getEmail=function(){return this.H||""};f.Ve=function(){return this.R||"Family Group"};f.Hn=function(a){this.R=a;this.R!==a&&this.dispatchEvent("qa")};
f.update=function(a){var b=!1;if(a&&a.family&&a.family.email_address){var c=a.family.email_address;b=c!==this.H;this.H=c}else this.H&&(this.H=null,b=!0);a&&a.family&&a.family.hoh_first_name&&(a=a.family.hoh_first_name+"'s Family Group",b=this.R!==a,this.R=a);b&&this.dispatchEvent("qa");return b};f.Za=function(){var a={};if(this.H&&(a.family={},a.family.email_address=this.H,this.R&&(a.family.display_name=this.R),this.S)){var b=ur.Ja();a.last_update_timestamp=b.format(this.S)}return a};
var Et=function(a,b){this.R=a||"";this.H=b||"WR"};v(Et,J);Et.prototype.getEmail=function(){return this.R||""};Et.prototype.getType=function(){return this.H};Et.prototype.Za=function(){var a={};a.email=this.R||"";a.type=this.H;return a};var Ft=function(a){J.call(this);this.V=null;this.U="O";this.W="UNKNOWN_SHAREE_TYPE";this.S="UNKNOWN_AUXILIARY_TYPE";this.ma=this.R=this.ka=this.$=this.Qc=null;this.Hs=!1;this.H=new Am(this);this.ra=null;this.update(a);this.H.listen(Dt.Ja(),"qa",this.va)};v(Ft,J);var Gt=function(a,b,c,d,e){var g={};g.email=a.toLowerCase();g.role=b;g.type=c||"USER";g.auxiliary_type=d||"NONE";b=new Ft(g);e&&(b.Qc=new Et(a,e));return b};Ft.prototype.getEmail=function(){return this.V||""};Ft.prototype.getType=function(){return this.W};
var Ht=function(a){return"GROUP"==a.W},It=function(a){return"FAMILY"==a.S},Jt=function(a){var b=Dt.Ja();return It(a)&&!!b.H&&b.getEmail()===a.V};Ft.prototype.nf=function(){return"O"==this.U};Ft.prototype.ta=function(){return"O"==this.U||"W"==this.U};var Nqa=function(a){if(a.Qc)a.Qc.H="M_WR";else{var b=new Et(a.getEmail(),"M_WR");a.Qc=b}},Kt=function(a){if(!a.Qc)return!1;a=a.Qc.getType();return"M_RM"==a||"RM"==a},Lt=function(a,b){a.Hs!=b&&(a.Hs=b,a.dispatchEvent("Ea"))};Ft.prototype.Yc=function(){return this.ra};
var Mt=function(a){return Ht(a)||It(a)?null:a.ka};Ft.prototype.Ve=function(){return Jt(this)&&!this.R?Dt.Ja().Ve():It(this)&&!this.R?"Collaborator's Family Group":this.R};Ft.prototype.Hn=function(a){this.R!==a&&(this.R=a,this.dispatchEvent("Ea"))};var Oqa=function(a,b,c,d,e,g){var h=!1;a.$!=b&&(a.$=b,h=!0);a.ka!=c&&(a.ka=c,h=!0);a.R!=d&&(a.R=d,h=!0);a.ma!=e&&(a.ma=e,h=!0);h&&!g&&a.dispatchEvent("Ea")};
Ft.prototype.Za=function(){var a={};a.auxiliary_type=this.S;a.email=this.V;a.role=this.U;a.type=this.W;return a};Ft.prototype.update=function(a){var b=!1,c;for(c in a)switch(c){case "auxiliary_type":var d=a[c];b=b||this.S!=d;this.S=d;break;case "email":d=a[c].toLowerCase();b=b||this.V!=d;this.V=d;break;case "role":b=b||this.U!=a[c];this.U=a[c];break;case "type":d=a[c],b=b||this.W!=d,this.W=d}this.Qc&&"M_RM"!=this.Qc.getType()&&(this.Qc=null,b=!0);return b};
Ft.prototype.clone=function(){var a=this.Qc?this.Qc.getType():void 0;a=Gt(this.getEmail(),this.U,this.W,this.S,a);Oqa(a,this.$,this.ka,this.R,this.ma,!0);return a};Ft.prototype.va=function(){var a=Dt.Ja();a.getEmail()&&a.getEmail()===this.V&&(this.S="FAMILY",this.dispatchEvent("Ea"))};
var Nt=function(a){J.call(this);this.tb=a.id;if(!this.tb)throw Error("gb");this.Wc=this.Nb=null;this.U=new xr(a.timestamps);this.Qb={};this.H=new Am(this);B(this,this.H);this.ab=this.va=this.ka=null;this.Ed=this.Jc=!1;this.Hb=0;this.Pc=!1;this.Ob=0;this.Ua=!1;this.nb=this.Da=this.ra=this.Fa=this.W=null;this.Xb=!1;this.S=null;this.Me=this.Dc=this.Xe=this.Ba=!1;this.Mk=null;this.Ib=0;this.jc=null;this.Ta=0;this.R={};this.Va="NONE";this.V=this.Zb=this.he=this.Id=null;this.Qd=!1;this.ta={};this.Rd=new Ur;
this.ma=[];this.Qe=!1;this.re=null;this.Lf=this.og=!1;this.Ka="NONE";this.Ab=new Or;this.Vh=this.rb=null;this.wb=!1;this.Rh=null;this.wc=this.Qa=!1;this.Ma=void 0;this.update(a)};v(Nt,J);
var Qt=function(a){var b={};b.id=Ot();b.type="LIST_ITEM";b=new Nt(b);Pt(b,a);return b},Pqa=function(){var a={};a.id=Ot();a.type="BLOB";return new Nt(a)},Qqa=function(a,b){if(a||b){if(a){if(b){var c=a.Ob,d=b.Ob;2>c-d&&(Rt(a,2),c=a.Ob,d=b.Ob);return Math.floor((c+d)/2)}c=a.Ob-St;c<Tt&&(Rt(a,3),c=a.Ob-St);return c}c=b.Ob+St;c>Ut&&(Rt(b,3),c=b.Ob+St);return c}return 0},Rqa=Th("bGFiZWxJZA=="),Sqa=Th("bGFiZWxJZHM="),Tqa={NONE:"NONE",Pz:"NEW",ACCEPTED:"ACCEPTED",t2:"IGNORED"},St=Math.pow(2,20),Ut=Math.pow(2,
50)-1,Tt=-Math.pow(2,50),Uqa=/(?:(https?|ftp):\/\/)?[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*\.(?:com|org|net|edu|gov|aero|biz|cat|coop|info|int|jobs|mobi|museum|name|pro|travel|arpa|asia|xxx|[a-z][a-z])\b(?:[\.]?[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*)?/,Ot=function(){return(new Date).getTime()+"."+Math.round(2147483648*Math.random())};Nt.prototype.getId=function(){return this.tb};Nt.prototype.getParent=function(){return this.Nb};var Nr=function(a){return-1==a.Hb||1==a.Hb};
Nt.prototype.$d=function(){return this.wb};var Mr=function(a){return a.U.S||a.U.H};Nt.prototype.Ug=function(){return this.U.Ug()};var Vqa=function(a,b){b=new xr(b.timestamps);return a.U.H>b.H};Nt.prototype.Sb=function(){return 0!=this.Ta};Nt.prototype.Rb=function(){return this.W};Nt.prototype.hc=function(){return this.Ua};
Nt.prototype.isEmpty=function(a){return!(this.Da&&this.Da.trim()||this.S||this.$()||this.ra&&this.ra.trim()||!a&&this.W&&!this.W.Sb()||!eh(Wr(this.Rd)))&&Cda(this.Qb,function(b){return b.Sb()||!Vt(b)&&b.isEmpty(a)})};
var Xqa=function(a,b,c){a.Jc||(a.va&&(a.yc=a.ab.yc,a.ab=null,a.Jc=!0,c&&(a.va=null),b?(Wqa(a),a.notify()):a.Db()),Wt(a)&&Ug(a.Qb,function(a){Xqa(a,b,c)}))},Xt=function(a,b){return a.va&&!a.Jc?!0:!b&&Xg(a.Qb,function(a){return Xt(a)})},Yqa=function(a){if(!Xt(a))return null;if(!Yt(a)&&!Zt(a))return a.ab;var b=a.ab||new Nt(a.Za(!0));Ug(a.Qb,function(a){a=Xt(a)?Yqa(a):a;b.Ia(a)});return b},Zqa=function(a,b){var c=b.mergeConflict;c&&(a.va=new Ts(c),a.ab=new Nt(b),a.ab.va=new Ts(c),a.Jc=!1)},Pt=function(a,
b){a.Wc!=b&&(a.Wc=b,a.Ba||a.notify())},au=function(a,b){a.Ed!=b&&(a.Ed=b,$t(a),a.Db())},bu=function(a,b){a.wb!=b&&(a.wb=b,$t(a),a.Db())},$qa=function(a){return kg(cu(a),function(a){return a.Qa})},du=function(a,b){a.W!=b&&(ara(a,b),$t(a),a.notify())},ara=function(a,b){a.W&&(a.H.$a(a.W,"qa",a.Oh),a.W.dispose());if(a.W=b)a.H.listen(b,"qa",a.Oh),b.Lb(a);a.dispatchEvent("Aa")};Nt.prototype.Nh=function(a){a.target.hc()&&eu(this)};Nt.prototype.Oh=function(a){$t(this);a.target=this;this.dispatchEvent("Aa")};
Nt.prototype.ef=function(a){$t(this);this.Ua=this.Ua||this.ka.hc();a.target=this;this.dispatchEvent("qa")};var fu=function(a,b,c){a.Ob=b;b>Ut||b<Tt?Rt(a,3):a.Ba&&Wt(a)||c||(a.Nb&&($t(a.Nb,!0),a.Nb.Db()),a.Db())},bra=function(a,b){a.Ob=b;a.parent&&a.parent.notify();a.dispatchEvent("ga");a.notify()},hu=function(a,b){if(!gu(a))throw Error("hb");a.Pc=b;$t(a,!0);a.Db()};Nt.prototype.$=function(){return Xg(this.R,function(a){return!a.nf()&&!Kt(a)})};var cra=function(a){return dh(a.R,function(a){return a.nf()})};
Nt.prototype.nf=function(a){if(!this.$())return!0;a=a?iu(this,a):null;return!!a&&a.nf()};
var iu=function(a,b){return b?a.R[b.toLowerCase()]||null:null},era=function(a,b,c,d,e){b=Gt(b,c,d,e,void 0);dra(a,b);$t(a,!1);return b},dra=function(a,b){b.Lb(a);a.R[b.getEmail()]=b;b.dispatchEvent("Fa")},fra=function(a,b){return(a=iu(a,b))?!a.ta():!1},ju=function(a,b){b=(b=iu(a,b))?b.nf():!1;return a.$()&&!b&&("NEW"==a.Va||"NONE"==a.Va)},gra=function(a){a.Va="ACCEPTED";$t(a,!1);a.Db()},hra=function(a){return a.he&&ah(a.R,a.he)?a.R[a.he]:null},ira=function(a,b){var c=hra(a);if(!c||c.getEmail()==b)return!1;
b=Mr(a).getTime();a=a.U.U?a.U.U.getTime():0;return 9E5<t()-a&&b>a},kra=function(a,b){var c=!1,d=b.roleInfo,e=jh(a.R);d&&E(d,function(a){var b=a.email;if(b)if(b=b.toLowerCase(),ah(this.R,b)){var d=this.R[b];c=d.update(a)||c;gh(e,b)}else d=new Ft(a),dra(this,d),c=!0},a);c=c||!eh(e);Ug(e,function(a){var b=a.Qc;(!b||"M_WR"!=b.getType()&&"WR"!=b.getType())&&gh(this.R,a.getEmail())},a);return c=jra(a,b,c)||c},lra=function(a,b){b in a.ma&&(gh(a.ma,b),a.dispatchEvent("ua"),a.notify())},jra=function(a,b,c){var d=
!1,e={};E(b.errorStatus||[],function(a){var b=a.code;"TMS"!=b&&(e[b]=new Us(a))});Ug(e,function(a,b){this.ma[b]?this.ma[b].equals(a)||(Vs(a)?(b=this.ma[b].ii,b.push.apply(b,a.ii),Ag(b)):this.ma[b]=a,d=!0):(this.ma[b]=a,d=!0)},a);eh(e)&&!c||Ug(a.ma,function(a,b){Vs(a)||e[b]||(gh(this.ma,b),d=!0)},a);d&&a.dispatchEvent("ua");return d},mra=function(a){var b=[];Ug(a.ta,function(a){a.Sb()||b.push(a.id)});return b},ku=function(a,b){!Wt(a)||Kr(a,b)||b.Sb()||(zr(b),a.ta[b.getId()]=new nra(b.getId()),$t(a),
a.Db(),a.dispatchEvent("Ia"))},lu=function(a,b){if(Wt(a)&&Kr(a,b)){var c=wg(b.H);xg(c,b.getId());for(b=0;b<c.length;b++){var d=a.ta[c[b]];if(d&&!d.Sb()){var e=e||new sr;d.H=e}}$t(a);a.Db();a.dispatchEvent("Ia")}},Kr=function(a,b){var c=wg(b.H);xg(c,b.getId());for(b=0;b<c.length;b++){var d=a.ta[c[b]];if(d&&!d.Sb())return!0}return!1},mu=function(a){for(var b in a.ta)if(!a.ta[b].Sb())return!0;return!1},ora=function(a,b){var c=ur.Ja(),d=!1,e=jh(a.ta);E(b,function(a){var b=a[Rqa];this.ta[b]||(this.ta[b]=
new nra(b),d=!0);if(a=a.deleted){a=c.parse(a);var g=this.ta[b].H;d=!!g&&!g.equals(a)||d;this.ta[b].H=a}gh(e,b)},a);d=d||!eh(e);Ug(e,function(a,b){gh(this.ta,b)},a);return d};Nt.prototype.xh=function(a){this.Ba=a;Ug(this.Qb,function(b){b.xh(a)})};
Nt.prototype.Ia=function(a){if(a.Wc&&a.Wc!=this.tb)throw Error("ib");if(!this.Qb[a.getId()]){this.Qb[a.getId()]=a;this.H.listen(a,"qa",this.Nh);a.Lb(this);a.Nb=this;Pt(a,this.tb);a.V=this.Zb;a.Qd=!1;nu(a,this.Xe);a.Me=this.Me;a.xh(this.Ba);void 0==a.Ob&&pra(this,a,!0);gu(a)&&ou(this,a.getId(),a.getText());var b=!1;Zt(this)&&gu(a)&&2<=pu(this).length&&(qu(this,"LIST"),b=!0);if(a.hc()||b)$t(this,!0),eu(this),this.Db()}};
var ou=function(a,b,c,d){if(!ah(a.Qb,b))throw Error("jb");c=c.toLowerCase().trim();d&&d.toLowerCase().trim()==c||(d&&qra(a,b,d),30>=c.length&&((d=a.Ab.get(c))||(d=new Set),d.add(b),a.Ab.set(c,d)))},qra=function(a,b,c){c=c.toLowerCase().trim();if(!(30<c.length)){var d=a.Ab.get(c);if(!d)throw Error("kb");d["delete"](b);d.size?a.Ab.set(c,d):a.Ab.remove(c)}};
Nt.prototype.removeChild=function(a){var b=this.Qb[a];b&&(b.hc()&&($t(this,!0),this.Db()),gu(b)&&!b.Sb()&&qra(this,b.getId(),b.getText()),this.H.$a(b,"qa",this.Nh),b.Lb(null),b.Nb=null,b.Qd=!0,gh(this.Qb,a))};Nt.prototype.Eb=function(a){return this.Qb[a]||null};Nt.prototype.getChildren=function(){return this.Qb};
var pu=function(a){return hg(Zg(a.Qb),function(a){return!gu(a)||a.Sb()?!1:!a.rb||!!this.Eb(a.rb)},a)},ru=function(a){var b=pu(a);Dg(b,a.Rh||Lr);return b},rra=function(a){if(Yt(a)){var b=Ar.Ja();b=Aa(Uoa,a,b)}else b=null;a.Rh=b},sra=function(a,b){var c={};a.Ab.yd(b.toLowerCase()).forEach(function(b){c[b]=Array.from(a.Ab.get(b)||[])});return c},cu=function(a){return hg(Zg(a.Qb),function(a){return Vt(a)&&!a.Sb()})},su=function(a){a=cu(a);Dg(a,Lr);return a},uu=function(a){return hg(su(a),function(a){var b=
tu(a);return!(!b||!Vt(a)||a.Sb()||!Ls(b)&&!Ms(b))})},tra=function(a){var b=[];a=su(a);for(var c=0,d;d=a[c];++c)(d=vu(d))&&"IMAGE"==d.getType()&&b.push(d);return b},wu=function(a,b,c){return kg(cu(a),function(a){a="IMAGE"!=b||c?tu(a):vu(a);return!!a&&(!b||a.getType()==b)})};Nt.prototype.Sc=function(){return Yg(this.Qb)};Nt.prototype.getType=function(){return this.Fa};
var qu=function(a,b){a.Fa=b;$t(a,!0);a.Db();rra(a)},xu=function(a){if(!Zt(a))throw Error("lb");var b=pu(a)[0];b||(b=Qt(a.getId()),a.Ia(b),a.dispatchEvent(new ala(b)));return b};Nt.prototype.getText=function(){if(!gu(this))throw Error("mb");return this.ra||""};var yu=function(a){if(!Zt(a))throw Error("nb");return(a=pu(a)[0])?a.getText():""};
Nt.prototype.kc=function(a){if(!gu(this))throw Error("mb");19999<a.length||(this.Nb&&ou(this.Nb,this.getId(),a,this.ra),this.Xb||(this.nb=this.ra||""),this.ra=a,$t(this,!0),this.Xb=!0,this.Db())};var ura=function(a,b){if(!Zt(a))throw Error("nb");xu(a).kc(b)},zu=function(a,b,c,d){gu(a)&&(a.Nb&&ou(a.Nb,a.getId(),b,a.ra),a.ra=b,a.Nb&&eu(a.Nb),p(c)&&p(d)&&a.dispatchEvent(new bla("ha",b,c,d)),a.notify())};Nt.prototype.getTitle=function(){if(!Wt(this))throw Error("ob");return this.Da||""};
Nt.prototype.setTitle=function(a){if(!Wt(this))throw Error("ob");if(19999<a.length)throw Error("pb");this.Xb||(this.nb=this.Da||"");this.Da=a;$t(this,!0);eu(this);this.Xb=!0;this.Db()};
var vra=function(a,b,c,d){a.Da=b;eu(a);p(c)&&p(d)&&a.dispatchEvent(new bla("ia",b,c,d));a.notify()},wra=function(a){var b=new tr((a.Da||"")+(a.ra||""));E(pu(a),function(a){b.Fb("\n");b.Fb(a.getText())});return b.toString()},xra=function(a,b){for(var c=new tr(wra(a)),d=tra(a),e=0;e<d.length;e++){var g=d[e].W||"";g&&(c.Fb("\n"),c.Fb(g))}a.$()&&Ug(a.R,function(a){c.Fb("\n");c.Fb(a.getEmail()+" "+(a.Ve()||""))});Ug(Wr(a.Rd),function(a){a=a.Ni();c.Fb("\n");c.Fb(a.getUrl()+" "+a.getTitle())});if(e=(e=(e=
Vr(a.Rd))?e.getContext():null)?e.Ni():null)c.Fb("\n"),c.Fb(e.getUrl()+" "+e.getTitle());var h=Ar.Ja();Ug(a.ta,function(a,b){if(a=Jr(h,b))c.Fb("\n"),c.Fb(a.getName())});Ug(dpa(a.Rd),function(a){if(a=a.R)c.Fb("\n"),c.Fb(bpa[a.Dg()])});Ug(Xr(a.Rd),function(a){if(a=a.H)c.Fb("\n"),c.Fb(apa[Rr(a)])});a=c.toString().toLowerCase();for(e=0;d=b[e];e++)if(-1==a.indexOf(d))return!1;return!0},yra=function(a,b){return lg(b,function(a){return Xg(dpa(this.Rd),function(b){b=b.R;return!!b&&b.Dg()==a})},a)},zra=function(a,
b){return lg(b,function(a){return Xg(Xr(this.Rd),function(b){b=b.H;return!!b&&Rr(b)==a})},a)},Ara=function(a,b){var c=Ar.Ja();return b.every(function(b){b=c.getTag(b);return!!b&&Kr(a,b)})};Nt.prototype.Mj=function(){if(!Vt(this)||!Ls(this.S)&&!Ms(this.S))throw Error("qb");return this.S.Mj()};
var tu=function(a){if(!Vt(a))throw Error("rb");return a.S},vu=function(a){if(!Vt(a))throw Error("sb");return a.S&&(Ns(a.S)||Ls(a.S)||Ms(a.S))?Ns(a.S)||Ls(a.S)&&!a.S.Mj()?a.S:a.S.Mj():null},Bra=function(a,b,c){if(!Vt(a))throw Error("tb");a.S=b;c||($t(a),a.Db())};Nt.prototype.Yc=function(){if(!Wt(this))throw Error("ub`"+this.Fa);return this.jc||"DEFAULT"};
var Cra=function(a,b){if(!Wt(a))throw Error("ub`"+a.Fa);b!=a.Yc()&&(a.jc=b,$t(a),a.Db())},eu=function(a){a.W&&a.dispatchEvent("Ba")},$t=function(a,b){var c=new sr;a.U.H=c;b&&(Wt(a)?a.U.S=c:a.Nb&&(a.Nb.U.S=c,a.Nb.U.H=c,a.Nb.Db()))};Nt.prototype.Db=function(){this.Ua=!0;this.notify()};Nt.prototype.notify=function(){this.dispatchEvent("qa")};
var Rt=function(a,b){a.dispatchEvent(new Xka(b,a.Wc))},Wqa=function(a){a.ka&&(a.ka.U=!1);var b=a.Ua;a.Ua=!1;a.wc=!1;a.nb=null;a.Xb=!1;b&&a.dispatchEvent("va")},Zt=function(a){return"NOTE"==a.Fa},Yt=function(a){return"LIST"==a.Fa},gu=function(a){return"LIST_ITEM"==a.Fa},Wt=function(a){return Zt(a)||Yt(a)},Vt=function(a){return"BLOB"==a.Fa};
Nt.prototype.update=function(a,b){this.Mk=null;var c=!1,d=!1,e;for(e in a)switch(e){case "checked":if(!this.Xe||!gu(this)){var g=this.Pc!=a[e];d=d||g;c=c||g;this.Pc=!!a[e]}break;case "sortValue":if(!this.Xe||!gu(this)){g=parseInt(a[e],10);var h=this.Ob!=g;d=d||h;c=c||h;this.Ob=g}break;case "title":this.Xe||(g=this.Da!=a[e],d=d||g,c=c||g,b&&this.Da!=a[e]?Dra(this,a,void 0,b):this.Da=a[e]);break;case "text":this.Xe||(g=this.ra!=a[e],d=d||g,c=c||g,b&&g?Dra(this,a,void 0,b):(this.Nb&&g&&ou(this.Nb,this.tb,
a[e],this.ra),this.ra=a[e]));break;case "type":this.Xe||(d=d||this.Fa!=a[e],c=c||this.Fa!=a[e],this.Fa=a[e]);rra(this);break;case "nodeSettings":if(!this.Xe&&!gu(this)&&!Vt(this))if(this.ka)c=this.ka.update(a[e])||c;else{c=new vr(a[e]);if(Wt(this)&&c!=this.ka){this.ka&&(this.H.$a(this.ka,"Da",this.ef),this.ka.dispose());if(this.ka=c)this.H.listen(c,"Da",this.ef),c.Lb(this);this.dispatchEvent("qa")}c=!0}break;case "superListItemId":g=a[e]||null;c=c||g!=this.rb;this.rb=g;break;case "superListItemServerId":g=
a[e]||null;c=c||g!=this.Vh;this.Vh=g;break;case "parentId":g=a[e]||null;"root"==g&&(g=null);c=c||g!=this.Wc;this.Wc=g;break;case "isArchived":c=c||this.Ed!=a[e];this.Ed=!!a[e];break;case "isPinned":c=c||this.wb!=a[e];this.wb=!!a[e];break;case "showAvailableInShoppingNotification":c=c||this.Ma!=a[e];this.Ma=!!a[e];break;case "reminder":this.W?(g=this.W.update(a[e]),c=c||g,g&&this.dispatchEvent("Aa")):(ara(this,new vt(a[e])),c=!0);break;case "timestamps":g=this.Xe&&gu(this);h=this.Sb();c=this.U.update(a[e],
g)||c;!g&&this.U.R&&(this.Ta=1);h!=this.Sb()&&(d=!0);this.Hb=this.U.V?1:0;break;case "blob":this.S?c=this.S.update(a[e])||c:(this.S=new Js(a[e]),c=!0);break;case "color":c=c||this.jc!=a[e];this.jc=a[e];break;case "baseVersion":this.yc=a[e];break;case "serverId":this.Zb=a[e];break;case "parentServerId":this.V=a[e];break;case "shareState":g=Tqa;h=a[e];if(this.Va==g.Pz||this.Va==g.NONE||h!=g.Pz&&h!=g.NONE)c=c||this.Va!=a[e],this.Va=a[e];break;case "sharerEmail":this.Id=a[e].toLowerCase();break;case "lastModifierEmail":this.he=
a[e].toLowerCase();break;case "realtimeDataServerVersion":this.Mk=a[e];break;case "realtimeModelVersion":this.Ib=a[e];break;case "isDirty":c=c||this.Ua!=a[e],this.Ua=a[e]}c=kra(this,a)||c;c=ora(this,a[Sqa]||[])||c;(a=a.annotationsGroup)&&(c=this.Rd.update(a)||c);c&&this.notify();return d?2:c?1:0};
var Dra=function(a,b,c,d){d=void 0===d?null:d;if(d&&d.H==a.tb)var e=d.R;b=(d=gu(a))?b.text:b.title;var g=d?a.ra:a.Da;if(g!==b&&null!=g&&null!=b){var h=e?Bna(g,e.start,e.end):Bna(g);h=c?poa(c,h,b):null!=a.nb?poa(a.nb,h,b):poa(g,h,b);c=h.getText();h=z(h.H.gE(),xq,wq);a.nb=b;var k=c!=g;d?a.ra=c:a.Da=c;null!=c&&k&&a.Nb&&ou(a.Nb,a.tb,c,g);k&&eu(a);c!=b?(a.Xb=!0,a.Db()):k&&a.notify();h&&(d=h.R,b=h.H,d!=e.start||b!=e.end)&&(e=new Ct(a.Wc||a.getId(),a.getId(),new At(d,b)),a.dispatchEvent(new cla(e)))}},Era=
function(a,b){b.serverId&&(a.Zb=b.serverId);b.parentServerId&&(a.V=b.parentServerId)},Fra=function(a,b){b.baseVersion&&(a.yc=b.baseVersion)},Gra=function(a,b){Xt(a)&&a.ab&&a.ab.update(b)};
Nt.prototype.Za=function(a){var b={};b.id=this.tb;b.kind="notes#node";b.parentId=this.Wc||"root";b.timestamps=this.U.Za();b.type=this.Fa;this.Zb&&(b.serverId=this.Zb);this.V&&(b.parentServerId=this.V);a&&(b.isDirty=this.Ua,this.nb&&(b.lastSyncedText=this.nb));b.deletionState=this.Ta;b.trashState=this.Hb;if(1==this.Ta)return b;b.sortValue=this.Ob;Zt(this)?(b.title=this.Da||"",b.text=this.ra||"",b.isArchived=this.Ed,b.isPinned=this.wb,p(this.Ma)&&(b.showAvailableInShoppingNotification=this.Ma)):gu(this)?
(b.text=this.ra||"",b.checked=this.Pc):Yt(this)?(b.title=this.Da||"",b.isArchived=this.Ed,b.isPinned=this.wb,p(this.Ma)&&(b.showAvailableInShoppingNotification=this.Ma)):Vt(this)&&this.S&&(a||this.S.ra||this.S.tb&&"luc"==this.S.ug?b.blob=this.S.Za(a):b.blob=Zpa(this.S));this.jc&&(b.color=this.jc);this.W&&a&&(b.reminder=this.W.Za(a));this.ka&&(b.nodeSettings=this.ka.Za(a));a&&this.Ib&&(b.realtimeModelVersion=this.Ib);this.va&&(b.mergeConflict=this.va.Za());this.yc&&(b.baseVersion=this.yc);this.Mk&&
this.$()&&(b.realtimeDataServerVersion=this.Mk);this.wc&&(b.forceImport=this.wc);var c=[],d=[];Ug(this.R,function(b){var e=b.Qc;e&&"M_RM"!=e.H&&"M_WR"!=e.H?c.push(e.Za()):!e&&a&&d.push(b.Za())},this);qg(c)||(b.shareRequests=c);a&&d.length&&(b.roleInfo=d);this.$()&&"NONE"!=this.Va&&(b.shareState=this.Va);if(this.re){var e={};e.type=this.re;b.abuseFeedback=e}if(!eh(this.ta)){var g=ur.Ja();e=ig(Zg(this.ta),function(a){var b={};b[Rqa]=a.id;b.deleted=a.H?g.format(a.H):"1970-01-01T00:00:00.000Z";return b});
b[Sqa]=e}eh(this.Rd.H)||(b.annotationsGroup=this.Rd.Za(a));return b};Nt.prototype.Na=function(){Nt.ua.Na.call(this);Ug(this.Qb,function(a){bg(a)})};Nt.prototype.clone=function(){var a=new Nt(this.Za(!0));Ug(this.Qb,function(b){a.Ia(b.clone())});Ug(this.R,function(b){dra(a,b.clone())});a.U.update(this.U.Za());a.xh(this.Ba);return a};
Nt.prototype.duplicate=function(){var a=this.Za(!0),b=Ot();a.id=b;a.isDirty=!1;a.isArchived=!1;a.isPinned=!1;a.timestamps=null;gh(a,"showAvailableInShoppingNotification");gh(a,"reminder");gh(a,"baseVersion");gh(a,"realtimeDataServerVersion");gh(a,"shareState");gh(a,"roleInfo");gh(a,"annotationsGroup");gh(a,"lastSyncedText");if(a.blob&&Vt(this)&&this.S&&(Ls(this.S)||Ms(this.S))){var c=Ypa(this.S);c&&(a.blob=c.Za());gh(a.blob,"drawingInfo")}var d=new Nt(a);d.Zb=null;d.V=null;Ug(this.Qb,function(a){a.Sb()||
(a=a.duplicate(),a.Ob||fu(a,1),Pt(a,b),d.Ia(a))});Wt(d)&&$t(d,!0);Vt(d)&&tu(d)&&(tu(d).ra=!0);return d};
var Au=function(a,b,c){b.call(c,a);a=Zg(a.getChildren());for(var d=0,e;e=a[d];d++)Au(e,b,c)},Hra=function(a,b){if(Wt(a)){var c=new sr,d=1==a.Hb;a.Hb=b?1:0;a.U.V=b?c:null;d!=b&&(a.U.H=c,a.Db());a.W&&(a.W.Db(),a.dispatchEvent("Aa"));a.notify()}},Bu=function(a,b){a.Ta==b||a.Sb()&&-1==b||(a.Nb&&gu(a)&&(a.Sb()&&0==b?ou(a.Nb,a.getId(),a.getText()):a.Sb()||0==b||qra(a.Nb,a.getId(),a.getText())),a.Ta=b,1==b?(b=new sr,Coa(a.U,b),a.U.H=b,a.Db(),a.W&&(a.W.Kb("DELETED"),a.W.hc()&&a.dispatchEvent("Aa"))):a.notify(),
a.dispatchEvent("ja"))},Cu=function(a,b){if(Wt(a))throw Error("wb");a.Ta!=b&&(a.Ta=b,1==b&&(b=new sr,Coa(a.U,b),a.U.H=b),a.dispatchEvent("ga"),a.notify())},Du=function(a){return Xg(a.R,function(a){return!a.nf()&&!a.Qc})},nu=function(a,b){a.Xe!=b&&(b&&(a.wc=!1),Au(a,function(a){a.Xe=b},a),a.notify(),Ug(a.R,function(a){Lt(a,!1)}))},Eu=function(a,b){a.Dc=b;a.notify()},Fu=function(a,b){Au(a,function(a){a.Me=b},a);a.notify()},Ira=function(a,b){Au(a,function(a){if(Wt(a)||gu(a))a.Mk=b},a)};
Nt.prototype.isSelected=function(){return this.og};Nt.prototype.jd=function(a){this.og!=a&&(this.og=a,this.notify())};
var Jra=function(a){return!!Vr(a.Rd)||!eh(Wr(a.Rd))||Uqa.test(wra(a).toLowerCase())},pra=function(a,b,c){a=!Vt(b)&&Cr(Ar.Ja())?Kra(a):Lra(a);fu(b,a,c)},Lra=function(a){var b=Ut;Ug(a.Qb,function(a){b=Math.min(b,a.Ob)});return b==Ut?0:b-St},Kra=function(a){var b=Tt;Ug(a.Qb,function(a){b=Math.max(b,a.Ob)});return b==Tt?0:b+St},Mra=function(a,b){return null!=b&&(a.Zb==b||a.tb==b)},nra=function(a){this.id=a;this.H=null};nra.prototype.Sb=function(){return!!this.H&&!!this.H.valueOf()};
var Iu=function(a){this.H=a||{};this.V=window.location.pathname;window._gaq=window._gaq||[];this.$y=!0;if(!1===this.H.tracklinks||!1===this.H.trackClicks)this.$y=!1;this.H.trackQueryParams&&(this.va=!0);this.ta=void 0===this.H.adsDbCompatible?!0:this.H.adsDbCompatible;this.R=this.H.tracker?this.H.tracker+".":"";this.W=this.H.cookiePath||/^([^;,]*\/)/.exec(this.V)[0];this.U=this.H.cookiePathCopy||[];this.prefix=this.H.prefix||"";this.$=this.H.defaultEventName;this.ma=this.H.defaultAction;this.ka=this.H.defaultLabel;
Gu([this.R+"_setAccount",this.H.profile]);Gu([this.R+"_setCookiePath",this.W]);this.H.domainName&&Gu([this.R+"_setDomainName",this.H.domainName]);Gu([this.R+"_setAllowAnchor",!0]);this.ta&&(window.location.hash||window.location.search)&&(a=window.location.href,Gu([this.R+"_setCampIdKey","cid"]),-1==a.indexOf("utm_campaign=")&&Gu([this.R+"_setCampNameKey","sourceid"]),-1==a.indexOf("utm_medium=")&&Gu([this.R+"_setCampMediumKey","medium"]),-1==a.indexOf("utm_source=")&&Gu([this.R+"_setCampSourceKey",
"subid"]),-1==a.indexOf("utm_term=")&&Gu([this.R+"_setCampTermKey","term"]),-1==a.indexOf("utm_content=")&&Gu([this.R+"_setCampContentKey","content"]));var b=this.H.commands;if(b){a=0;for(var c;c=b[a];a++)c[0]=c[0]&&this.R+c[0],Gu(c)}if(this.U)for(a=0,b=this.U.length;a<b;a++)0>this.W.indexOf(this.U[a])&&Gu([this.R+"_cookiePathCopy",this.U[a]]);this.H.disableTrackPageview||(a=this.H.pageviewPath,a||(a=this.prefix+this.V,this.va&&(a+=window.location.search)),Gu([this.R+"_trackPageview",a]));window._gat||
(a=document.createElement("script"),a.type="text/javascript",a.async=!0,this.H.cspNonce&&(a.nonce=this.H.cspNonce),b=Bj(vj("https://ssl.google-analytics.com/ga.js")),c=Bj(vj("http://www.google-analytics.com/ga.js")),a.src=Aj("https:"==document.location.protocol?b:c),b=document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b));Nra(this,this.ra,this);this.H.trackUnload&&Hu(window,"unload",this.Ba,this);(this.S=this.H.trackEventCallback)&&"function"!==typeof this.S&&(this.S=void 0)};
Iu.prototype.ra=function(){this.$y&&Ora(this);this.H.heatMapper&&Pra(this)};Iu.prototype.Ba=function(){this.mb("AutoTrack: Navigation","Unload",window.location.href)};
var Ora=function(a){Hu(document.body,"click",function(a){a=a||window.event;a=a.target||a.srcElement;a=3==a.nodeType?a.parentNode:a;do{var b=a;if("a"==b.nodeName.toLowerCase()||b.getAttribute("data-g-event")||b.getAttribute("data-g-action")||b.getAttribute("data-g-label")){b=Qra(this,"eventname",a);var d=Qra(this,"action",a),e=Qra(this,"label",a);this.mb(b,d,e)}a.parentNode&&(a=a.parentNode)}while(a.parentNode)},a)},Pra=function(a){Hu(document.body,"click",function(a){this.mb("AutoTrack: Heatmap",
"Click",a.clientX+","+a.clientY)},a)};Iu.prototype.mb=function(a,b,c){this.prefix&&(c=this.prefix+c);Gu([this.R+"_trackEvent",a,b,c]);this.S&&this.S(a,b,c)};
var Qra=function(a,b,c){var d=function(a){return"string"==typeof a?a:"function"==typeof a?a(c):""};return"eventname"==b?c.getAttribute("data-g-event")||d(a.$)||("a"==c.tagName.toLowerCase()?c.hostname==window.location.hostname?"AutoTrack: Link Click":"AutoTrack: Outbound Click":"AutoTrack: Element Click"):"action"==b?c.getAttribute("data-g-action")||d(a.ma)||c.getAttribute("href")||"AutoTrack: Element Click":"label"==b?c.getAttribute("data-g-label")||d(a.ka)||a.V:""},Hu=function(a,b,c,d){d&&(c=r(c,
d));a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)},Nra=function(a,b,c){c&&(b=r(b,c));if(document.addEventListener)try{Hu(document,"DOMContentLoaded",b,a)}catch(g){Hu(window,"load",b,a)}else if(!document.uniqueID&&document.expando)var d=document.createElement("tempnode"),e=window.setInterval(function(){try{d.doScroll("left")}catch(g){return}window.clearInterval(e);e=d=null;c&&(b=r(b,c));b()},50);else"readyState"in document?e=window.setInterval(function(){/loaded|complete/.test(document.readyState)&& (window.clearInterval(e),e=null,c&&(b=r(b,c)),b())},50):Hu(window,"load",b,a)},Gu=function(a){a instanceof Array&&window._gaq.push(a)};
var Rra=function(){this.ta=this.U=this.H=null;this.ma=!1;this.ra=[];this.ka=new Set;this.$=new Set;this.W=new Set;this.S="";this.R=new Set;this.V=new Set};Rra.prototype.init=function(a,b){this.H=nj(a);K(a).H.n_ugat&&!b&&(Hh(K(a))?this.U=Zla():this.ta=new Iu({profile:"UA-42196431-1",$y:!1}));this.ma=!0;E(this.ra,function(a){this.mb(a.name,a.action,a.label,a.value)},this)};
Rra.prototype.mb=function(a,b,c,d){this.ma?this.ta?Gu(["_trackEvent",a,b,c,d]):this.U&&this.U.send("event",{eventCategory:a,eventAction:b,eventLabel:c,eventValue:d}):this.ra.push({name:a,action:b,label:c,value:d})};
var Sra=function(a,b){a.mb("Search","allsearches");qg(b.R)||a.mb("Search","text");qg(b.S)||a.mb("Search","sharee");E(b.H,function(a){this.mb("Search","category-"+a)},a);b.ka&&a.mb("Search","list");b.V&&a.mb("Search","audio");b.ra&&a.mb("Search","drawing");b.W&&a.mb("Search","image");b.$&&a.mb("Search","reminder");b.ta&&a.mb("Search","url");b.va&&a.mb("Search","shared");b.Yc()&&a.mb("Search",b.Yc())},Tra=function(a,b){var c={};Ug(b.ma,function(a,b){if(!ah(c,b)){switch(b){case "AB":this.mb("NodeError",
"suspectedabuse");break;case "TMS":this.mb("NodeError","toomanysharees");break;case "WS":this.mb("NodeError","waittoshare");break;default:this.mb("NodeError","unknowncode")}c[b]=!0}},a)},Ura=function(a,b){if(Wt(b)&&!b.getTitle()&&!a.ka.has(b.getId())){a.ka.add(b.getId());var c=b.getType()||"";b.isEmpty()?a.mb("TitleAdded","beforeallothercontent",c):kg(pu(b),function(a){return!!a.getText()})?a.mb("TitleAdded","afterothertext",c):a.mb("TitleAdded","beforeothertext",c)}},Vra=function(a,b){var c=b.getId();
vb(c,".fce")&&!a.W.has(c)&&(a.W.add(c),a.mb("KeepItEngagement","Note Opened"),a.H&&a.H.log(9216));a.mb("Note Editing","noteopened",b.getType()||"")},Ju=function(a,b,c){var d=Wt(b)?b.getId():b.Wc;a.S!=d&&(a.S=d||"",a.R.clear(),a.V.clear());vb(b.getId(),".fce")&&!a.R.has((9217).toString())&&(a.H&&a.H.log(9217),a.R.add((9217).toString()));a.R.has("notebodyedited")||a.R.has("listitemedited")||a.R.has("titleedited")||a.H&&a.H.log(9331,function(a){return a.oe(d||"")});"listitemedited"==c?(a.R.add(c),a.V.has(b.getId())||
(a.mb("Note Editing",c),a.V.add(b.getId()))):"listitemdeleted"==c||"listitemadded"==c?a.mb("Note Editing",c):"reorder"==c?a.mb("Note Editing",c,b.getType()||""):("titleedited"==c&&Ura(a,b),a.R.has(c)||(a.mb("Note Editing",c,b.getType()||""),a.R.add(c)))};
var Ku=function(a,b){I.call(this,a);this.response=b};v(Ku,I);var Wra=function(a,b,c){Ku.call(this,a,b);this.R=c};v(Wra,Ku);var Xra=function(a,b,c){I.call(this,"Ra");this.ma=a;this.$=b;this.R=c};v(Xra,I);var Yra=function(a,b,c,d){I.call(this,a);this.ma=b;this.R=c;this.$=d};v(Yra,I);var Zra=function(a,b){I.call(this,"Sa");this.$=a;this.R=b};v(Zra,I);var $ra=function(a,b){I.call(this,"Ta");this.id=a;this.uri=b};v($ra,I);var asa=function(a,b){I.call(this,"Oa");this.token=a;this.results=b};v(asa,I); var bsa=function(a,b){I.call(this,"Xa");this.token=a;this.R=b};v(bsa,I);var csa=function(a,b){I.call(this,"Ya");this.$=!!a;this.R=!!b};v(csa,I);
var Lu=function(a,b){var c=dsa(a,!0,b);return yb(Nb(c))?esa(a,b,!1):c},gsa=function(a){if(yb(a.getTitle())){var b=dsa(a,!1,void 0,!0,!0);return yb(b)?esa(a,40,!0):Mu(b,40)}return fsa(a,40)},hsa=function(a,b){b=ht(b,!0);if(yb(a.getTitle()))return b;a=dsa(a,!1,void 0,!0,!0);if(yb(a))return b;a=Mu(a,100-(" - "+b).length);return a+(" - "+b)},isa=function(a,b){b=ht(b,!0);a=Lu(a,85);return yb(a)?b:b+(" - "+a)},fsa=function(a,b){a=a.getTitle();return yb(Nb(a))?"":p(b)?Mu(a,b):a},dsa=function(a,b,c,d,e){Zt(a)?
(b=b?fsa(a,c):"",yu(a)?(e=(yb(Nb(b))?"":b+" - ").length,p(c)&&e>=c?c=b:(a=d?zb(yu(a)):yu(a),c=p(c)?Mu(a,c-e):a,c=yb(b)?c:b+(" - "+c))):c=b):c=Yt(a)?jsa(a,b,c,d,e):"";return c},jsa=function(a,b,c,d,e){b=b?fsa(a,c):"";var g=(yb(Nb(b))?"":b+" - ").length;a=ru(a);e&&(a=hg(a,function(a){return!a.Pc}));if(!a.length)return b;e=p(c)?c-g:null;var h=g="",k=a.length;if(k){for(var n=0,q;q=a[n];++n)if(q=d?zb(q.getText()):q.getText(),h=h.length?h+(" \u00b7 "+q):q,null===e)g=h;else{q=ksa(h,a.length-n-1);if(q.length>
e)break;g=q}yb(g)&&(g=k+" items")}return yb(Nb(b))?p(c)?Mu(g,c):g:p(c)?Mu(Mu(b,Math.max(0,c-(" - "+g).length))+(" - "+g),c):b+(" - "+g)},Mu=function(a,b){b=Math.max(0,b);var c=a;c.length>b&&(c=c.substring(0,b-3)+"...");return c.length>b?a.substr(0,b):c},ksa=function(a,b){return 0<b?a+(" +"+(b+" more")):a},esa=function(a,b,c){var d="";wu(a,"IMAGE",!0)?d="Photo note":wu(a,"DRAWING")?d="Drawing note":wu(a,"AUDIO")?d="Audio note":a.W&&!a.Rb().Sb()?c?d="Reminder":(a=a.Rb(),a.Sd?(d=a.Ae(),d=ht(d)):Cqa(a)? d=Iqa(a.Gd):a.Gd&&(d=a.Gd.getName()||"")):d="Blank note";return Mu(d,b)},lsa=function(a){if(a.Sd){if(a.Ae().Lh)return"Reminder for Someday";a=a.Ae();return ht(a,!0)}return Cqa(a)?Iqa(a.Gd):a.Gd?a.Gd.getName()||"":""};
var msa=St*Math.pow(10,6),nsa=Ut-5*St,osa=Tt+5*St,Nu=function(a){for(var b=0,c=a.length-1;0<=c;)fu(a[c],b),b+=St,c--};var Ou=function(a,b){J.call(this);this.ma="";this.H=new Am(this);this.R={};this.S={};this.Fa={};this.ka=[];this.Da=new Set;this.Ka=b||null;this.$={};this.U="";this.va=null;this.W=this.V=this.Ba=this.ra=!1;this.ta=[];this.Qa=!1;psa(this,a||{});this.H.listen(this,"qa",this.Ua).listen(this,"za",this.Va).listen(this,"Ba",this.ab).listen(this,"ra",this.Ta)};v(Ou,J);Ou.prototype.Ma=!1;
var psa=function(a,b){a.U=b.toVersion||b.targetVersion||"";a.ra=!!b.isDirty;(b=b.nodes)&&a.update(b)},qsa=function(a,b){if(!a.ta.length||a.W)return!1;var c=a.ta[0];if(c.isEmpty()){a.ta.shift();if(a.ta.length)return qsa(a,b);a.va=null;a.Qa&&rsa(a,!0);return!1}var d=c.H.splice(0,50);a.update(d,c.R,c.S,c.U,b);return!0};
Ou.prototype.update=function(a,b,c,d,e){c=void 0===c?!1:c;for(var g=[],h=[],k=[],n=[],q=0;q<a.length;++q){var u=a[q],C=u.id,D=Pu(this,C);if(D){if(this.W){var U=Pu(this,u.parentId)||D,W=Vt(D)?tu(D):null;if(W&&(Ls(W)||Ms(W))&&(!Os(W)||!W.H||D.Qa)||$qa(U))k.push(u);else{n.push(u);continue}}Era(D,u);ssa(this,D);if(D.Me)continue;if(D.$()&&iu(D,this.ma)&&!iu(D,this.ma).nf()&&u.timestamps&&(new xr(u.timestamps)).R&&Wt(D)){D.update(u);this.dispatchEvent(new Zka(D,!0));Qu(this,D);Wqa(D);h.push(D.getId());
continue}U=D.Xe;W=this.Ka.H==u.lastSavedSessionId;if(!U&&u.mergeConflict){Zqa(D,u);Fra(D,u);D.notify();continue}else if(!U&&b&&ah(b,C)){W||Dra(D,u,d?d[C]:null,e);Fra(D,u);continue}else if(W&&Vqa(D,u)){Fra(D,u);D.Db();this.dispatchEvent("wa");continue}else if(!U&&Xt(D,!0)){Gra(D,u);continue}D.va&&!u.mergeConflict&&null!=D.va&&(D.va=null);W=D.Wc;var ia=Pu(this,W);C=D.Ob;var $a=iu(D,this.ma);$a=!!$a&&!$a.nf();var pb=0;pb=!U&&e&&e.H==D.getId()?D.update(u,e):D.update(u);2==pb&&h.push(D.getId());D.Sb()?
(this.dispatchEvent(new Zka(D,$a)),-1==D.Ta||Xt(D,!0)||(ia&&ia.removeChild(D.getId()),Qu(this,D))):(u=D.Wc,W!=u&&(ia&&ia.removeChild(D.getId()),(U=Pu(this,u))?U.Ia(D):u?tsa(this,u,D):D.Lb(this),D.notify()),C!=D.Ob&&D.notify(),Vt(D)&&D.Zb&&(u=tu(D))&&Wpa(u)&&D.notify())}else{if(this.W){n.push(u);continue}D=new Nt(u);u=(u=(u=D.Wc)?Pu(this,u):null)&&gu(D)&&(u.Xe||u.Me);D.Sb()||u||Ru(this,D,D.Wc);ssa(this,D)}u=D.Ob;if(u>Ut||u<Tt)ju(D,this.ma)?(fu(D,Ut,!0),D.notify()):-1==g.indexOf(D.Wc)&&g.push(D.Wc)}E(g,
function(a){usa(this,3,a)},this);this.dispatchEvent("Ha");c&&(a=jda(this.W?k:a,function(a){return a.id}),vsa(this,a,b));this.W?this.ta.push(new wsa(n,b,d,c)):h.length&&this.dispatchEvent(new $ka(h))};
var xsa=function(a,b){for(var c=0,d;d=b[c];++c)d=new Nt(d),Ru(a,d,d.Wc),ssa(a,d);a.dispatchEvent("Ha")},Pu=function(a,b){return a.R[b]||null},Ko=function(a,b){return b?Vg(a.R,function(a){return a.hc()}):a.R},ysa=function(a,b,c){c&&(a.R[c]?a.R[c].Ia(b):tsa(a,c,b))},Ru=function(a,b,c,d,e){var g=b.getId();c||b.Lb(a);a.R[g]?a.R[g].Sb()&&!b.Sb()&&d&&(Bu(a.R[g],0),ysa(a,a.R[g],c),bg(b)):(b.Sb()||a.Ma||d||(a.Ma=!0),a.R[g]=b,Wt(b)&&(a.S[g]=b,b.Ma&&a.ka.push(b)),d&&(b.Ob?e||b.Db():Wt(b)?fu(b,Su(a),e):(d=a.R[c])&&
pra(d,b,e)),ysa(a,a.R[g],c),a.$[g]&&(E(a.$[g],function(a){b.Ia(a)},a),delete a.$[g]),e||(b.notify(),b.dispatchEvent("Aa"),Ug(b.R,function(a){a.dispatchEvent("Fa")})))},tsa=function(a,b,c){a.$[b]||(a.$[b]=[]);a.$[b].push(c);c.Lb(a)},Su=function(a){var b=zsa(a)+St;b>msa&&(Rt(Dda(a.S),3),b=zsa(a)+St);return b},zsa=function(a){var b=Tt;Ug(a.S,function(a){b=Math.max(b,a.Ob)});return b==Tt?0:b};
Ou.prototype.Ua=function(a){a=a.target;var b=!a.Xe&&a.Me;this.ra=this.ra||a.hc()&&!b;b?this.Da.add(a.getId()):this.Da["delete"](a.getId())};Ou.prototype.Va=function(a){usa(this,a.R,a.parentId)};
var usa=function(a,b,c){if(c){var d=a.R[c];if(d)if(1==b)var e=ru(d);else e=pu(d),Dg(e,Lr)}else e=Zg(a.S),Dg(e,Lr);if(e&&e.length){switch(b){case 1:Nu(e);break;case 2:a:{var g=-1;for(b=0;b<e.length-1;b++)if(1==e[b].Ob-e[b+1].Ob){if(0<=g){Nu(e);break a}g=b}if(-1!=g)if(b=e[g],d=e[g+1],0==g)g=d.Ob+St,g>Ut?Nu(e):fu(b,g);else if(g+2==e.length)g=b.Ob-St,g<Tt?Nu(e):fu(d,g);else{var h=e[g-1];e=e[g+2];h.Ob-b.Ob>d.Ob-e.Ob?fu(b,Math.floor(.5*(h.Ob+d.Ob))):fu(d,Math.floor(.5*(b.Ob+e.Ob)))}}break;case 3:a:if(b=
e.length-1,e[0].Ob<osa||e[b].Ob>nsa)Nu(e);else{if(e[0].Ob>nsa){h=-1;for(d=1;d<=b;d++)if(Math.abs(e[d].Ob)<msa){h=d;break}if(-1==h){Nu(e);break a}g=e[h].Ob;for(d=h-1;0<=d;d--)g+=St,fu(e[d],g)}if(e[b].Ob<osa){h=-1;for(d=b-1;0<=d;d--)if(Math.abs(e[d].Ob)<msa){h=d;break}if(-1==h)Nu(e);else for(g=e[h].Ob,d=h+1;d<=b;d++)g-=St,fu(e[d],g)}}}a.dispatchEvent(new Yka(c))}};Ou.prototype.ab=function(a){var b=a.target;b.Rb()&&(a=b.Rb(),b=Lu(b,500),a.V!=b&&(a.V=b,a.Db()))};
Ou.prototype.Ta=function(a){Ru(this,a.R,a.R.Wc)};var Qu=function(a,b){gh(a.R,b.getId());gh(a.S,b.getId());Ug(b.getChildren(),function(a){Qu(this,a)},a);var c=b.Zb;Wt(b)&&c&&gh(a.Fa,c);bg(b)},Asa=function(a){Ug(a.S,function(a){Qu(this,a)},a)};
Ou.prototype.Za=function(a,b){var c=Bsa(this,a);a:{var d=[],e=0,g;for(g in this.R){var h=this.R[g];if(!(h.Me||Wt(h)&&h.Ba&&h.isEmpty()&&!h.hc())&&(Wt(h)||h.Qd)){if(a||h.hc()&&-1!=h.Ta&&!Xt(h,!0)){e++;if(b&&e>b){this.Ba=!0;a=d;break a}d.push(h.Za(a))}if(h.Qd&&h.Wc){var k=Pu(this,h.Wc);k&&(h.V=k.Zb)}k=h.getChildren();for(var n in k){var q=k[n];if(a||q.hc()&&-1!=q.Ta&&!Xt(q,!0)){e++;if(b&&e>b){this.Ba=!0;a=d;break a}q.V=h.Zb;d.push(q.Za(a))}}}}this.Ba=!1;a=d}c.nodes=a;return c};
var Bsa=function(a,b,c){var d=ur.Ja(),e={};a.Ka&&(e.requestHeader=a.Ka.Za());e.targetVersion=c&&null!=a.va?a.va:a.U;e.clientTimestamp=d.format(new sr);b&&(e.isDirty=a.ra);return e};Ou.prototype.hc=function(){return this.ra};
var Csa=function(a){return Xg(a.S,function(a){return Xt(a)})},Dsa=function(a){return Xg(a.R,function(a){return Vt(a)&&("NONE"!=a.Ka&&"GET"!=a.Ka||!!tu(a)&&tu(a).Os)})},rsa=function(a,b){a.ta.length?a.Qa=b:(1<a.ka.length&&b&&Esa(a),a.V!=b&&(a.V=b)&&a.dispatchEvent("Ga"))},Esa=function(a){Dg(a.ka,Roa);var b=a.ka.shift();E(a.ka,function(a){0!=a.Ma&&(a.Ma=!1,a.Db())},a);a.ka=[b]},vsa=function(a,b,c){var d=!1;Ug(a.R,function(a){var e=a.getId();c&&ah(c,e)||b&&!ah(b,e)||a.Me||Wqa(a);d=d||a.hc()&&!a.Me}); a.ra=d},ssa=function(a,b){var c=b.Zb;Wt(b)&&c&&(a.Fa[c]=b)},wsa=function(a,b,c,d){b=void 0===b?{}:b;c=void 0===c?{}:c;this.H=a;this.R=b;this.U=c;this.S=void 0===d?!1:d};wsa.prototype.isEmpty=function(){return!this.H.length};
var Tu=function(a,b){this.H=a;this.R=b;this.S=(a=this.H.responseHeader)?new Fsa(a):null},Gsa=function(){for(var a={error:!0},b=["error","code"],c=a,d;d=b.shift();)b.length?(c[d]={},c=c[d]):c[d]=408;return new Tu(a,{})},Uu=function(a){return a.H?!!ra("error",a.H):!Kma(ra("gapiRequest.data.status",a.R))},Vu=function(a){return Uu(a)?ra("error.code",a.H)||ra("gapiRequest.data.status",a.R):-1},Wu=function(a,b){return a.H.toVersion?p(a.H.truncated)?!!a.H.truncated:(a.H.toVersion||0)!=b:!1},Fsa=function(a){this.H= a};
var Xu=function(a){J.call(this);this.context=a;this.config=K(a);this.ma=new is;this.H=new Am(this);B(this,this.H);this.W=null;a=Tb(Ih(K(a)));this.Da=isNaN(a)?0:a;this.R=this.qc=this.Ba=!1};v(Xu,J);Xu.prototype.Ea=function(){return this.H};Xu.prototype.va=sa;
var Hsa=function(a,b){a.Ba||(a.Ba=!0);Uu(b)?a.dispatchEvent(new Yu("kb",b)):a.dispatchEvent(new Zu("cb","kb",b))},Isa=function(a,b){mj(a.context).mb("Sync Response","408");a.dispatchEvent(new Yu(b,Gsa()))},Jsa=function(a,b,c){Uu(c)?a.dispatchEvent(new Yu("gb",c)):a.dispatchEvent(new Xra(b,c.H.drawingId,c.H.fingerprint))},Ksa=function(a,b,c){!c||Uu(c)?a.dispatchEvent("Qa"):a.dispatchEvent(new Yra("Pa",b,c.H.fingerprint,c.H.serializedSnapshot))},Lsa=function(a,b,c){Uu(c)?a.dispatchEvent(new Yu("lb",
c)):a.dispatchEvent(new Zra(b,c.H.fingerprint))};Xu.prototype.ig=function(a){var b={Authorization:"Bearer "+this.W};kh(b,a||{});return b};var $u=function(a,b,c){var d=new tl(b);Dl(d,"key",a.config.H.n_k);c&&Ug(c,function(a,b){Dl(d,b,a)});return d.toString()},Zu=function(a,b,c){I.call(this,a);this.requestType=b;this.response=c};v(Zu,I);var Yu=function(a,b){Zu.call(this,"ab",a,b||new Tu({error:!0},{}))};v(Yu,Zu);
var av=function(a,b){J.call(this);this.U=3;this.va={};this.Ba=a;this.Fa=b;this.$=this.V=this.Qa=this.ta=this.Ka=this.ra=this.ka=this.Da=this.Ma=!1;this.W=1;this.Ta=this.ma=this.R=null;a=new Co(this.Ua,50,this);this.Va=new Vn(a.od,0,a);this.H=new Am(this);this.H.listen(this.Fa,"qa",this.S)};v(av,J);
var cv=function(a,b){var c=a.va[b]||new bv;return a.va[b]=c},dv=function(a,b){cv(a,b).start();a.S()},ev=function(a,b){cv(a,b).success();"kb"==b&&(a.ra=!0);a.S()},fv=function(a,b){a.Qa=!0;a.Ta=b;a.S()},Msa=function(a){a.Ma=!0;a.S()},Nsa=function(a,b){a.V!=b&&(a.V=b,a.dispatchEvent("ka"))},gv=function(a,b){a.$!=b&&(a.$=b,a.dispatchEvent("la"))},Osa=function(a,b,c){a.W=b;a.R=(new Date).getTime()+"."+c.getId();a.ma=c.getId()};av.prototype.Vf=function(){return 1!=this.W};av.prototype.S=function(){this.Va.Mo()};
av.prototype.Ua=function(){var a=this.U,b=this.Ce();this.U=Psa(this);this.U!=a&&this.dispatchEvent("qa");b!=this.Ce()&&this.dispatchEvent("Ma")};var Psa=function(a){if(a.Qa)return 6;if(!a.Da)return 4;if(a.ta)return 3;var b=Xg(a.va,function(a){return 0<a.R}),c=cv(a,"kb");return Qsa(c)?3>c.H[c.S]?8:b?2:1:a.ka&&a.ra?a.Ka?a.Fa.hc()||a.Fa.Da.size?7:b?7:5:0:3};av.prototype.Ce=function(){return this.Ba.Ce()||6==this.U||3==this.U||1==this.U};
var Rsa=function(a){return sea(a.Ba)&&!a.Ce()&&(a.Ma||4!=a.U)},hv=function(a){return a.V&&!a.Ce()&&(!!a.Ba.H.n_eod||4!=a.U)},iv=function(a){return 5==a.U||7==a.U};av.prototype.getState=function(){return this.U};var bv=function(){this.H={};this.S=this.R=0},Qsa=function(a){return Xg(a.H,function(a){return 0<a})};bv.prototype.start=function(){this.R++};bv.prototype.success=function(){this.R=Math.max(0,this.R-1);this.H={};this.S=0}; bv.prototype.U=function(a){this.R=Math.max(0,this.R-1);this.H[a]?this.H[a]++:this.H[a]=1;this.S=a};
var kv=function(){J.call(this);this.U=navigator.onLine;this.S=new jv(r(this.H,this));var a=new Am(this);B(this,a);a.listen(window,["online","offline"],this.V)};v(kv,J);ta(kv);kv.prototype.R=function(){return this.U};var Ssa=function(a,b){var c=b.R;b=b.getStatus();6==c&&0==b?a.H(!1):a.H(8!=c)},Tsa=function(a,b){b.error||a.H(!0);b.error&&-1==b.error.code&&a.H(!1)};kv.prototype.H=function(a){this.U!=a&&(this.U=a,this.dispatchEvent(new Usa(a)),a?this.S.stop():this.S.start())};kv.prototype.V=function(){this.H(navigator.onLine)};
kv.prototype.Na=function(){this.S.stop();delete this.S;kv.ua.Na.call(this)};var Usa=function(a){I.call(this,"change");this.R=a};v(Usa,I);var jv=function(a){this.Xc=a;this.U=!1;this.V=0;this.ka=new Vn(r(this.S,this,!1),1E4);this.W=new Vn(this.$,5E3,this);this.R=this.H=null},Vsa=new tl("https://www.google.com/images/cleardot.gif");jv.prototype.start=function(){this.U||(this.U=!0,this.V=0,this.$())};jv.prototype.stop=function(){Wsa(this);this.U=!1};
jv.prototype.$=function(){navigator.onLine||this.V++;var a=Gl(Vsa).toString();this.R?(this.R.open("GET",a,!0),this.R.send()):(this.H=new Image,this.H.onload=r(this.S,this,!0),this.H.onerror=r(this.S,this,!1),this.H.onabort=r(this.S,this,!1),this.H.src=a);this.ka.start()};jv.prototype.S=function(a){Wsa(this);a?(this.U=!1,this.Xc(!0)):!navigator.onLine&&2<=this.V?this.Xc(!1):this.W.start()};var Wsa=function(a){a.H&&(a.H.onload=a.H.onerror=a.H.onabort=null,a.H=null);a.R&&a.R.abort();a.ka.stop();a.W.stop()};
var Xsa=function(){this.H="----"+Pb()},Ysa=function(a){return ub(a,"data:")?a.substr(a.indexOf(",")+1,a.length):a},Zsa=function(a,b,c,d){var e=new tr;e.Fb("--").Fb(a.H).Fb("\r\n").Fb("Content-Type: ").Fb("application/json; charset=UTF-8").Fb("\r\n").Fb("\r\n").Fb(ip({})).Fb("\r\n").Fb("--").Fb(a.H).Fb("\r\n").Fb("Content-Disposition: form-data; ").Fb('name="').Fb("media").Fb('"; filename="').Fb(c).Fb('"').Fb("\r\n").Fb("Content-Type: ").Fb(d).Fb("\r\n").Fb("Content-Transfer-Encoding: ").Fb("base64").Fb("\r\n").Fb("\r\n").Fb(Ysa(b)).Fb("\r\n").Fb("--").Fb(a.H).Fb("--").Fb("\r\n"); return e.toString()},$sa=function(a){return{"Content-Type":"multipart/related; boundary="+a.H}};
var lv=function(a){try{return window.JSON.parse(a)}catch(b){return{}}};var mv=function(a){Xu.call(this,a);this.$=this.ta=null;this.V=new Yk(25E3);B(this,this.V);this.S=new Yk(12E4);B(this,this.S);this.U=new Yk(12E4);B(this,this.U)};v(mv,Xu);mv.prototype.init=function(){this.Ea().listen(this.V,"tick",this.ka).listen(this.S,"tick",this.ka).listen(this.U,"tick",this.ka)};
mv.prototype.va=function(){var a=ra("gapi.config.update");Gh(this.config)||(a("googleapis.config/auth/useFirstPartyAuth",!0),a("googleapis.config/auth/useFirstPartyAuthV2",!0),Ih(this.config)&&a("googleapis.config/sessionIndex",Ih(this.config)));a=this.config.H.n_p||"";var b=this.config.H.n_r||"",c=ra("gapi.config.update");c({"googleapis.overrideClientId":this.config.H.n_c});a&&c({"googleapis.config":{proxy:a,root:b,"root-1p":b}});ra("gapi.client.setApiKey")(this.config.H.n_k);this.$=ra("gapi.auth.authorize");
this.ta=ra("gapi.client.request");ata(this)};var ata=function(a){Gh(a.config)?L(function(){this.Hl()},1,a):bta(a)};mv.prototype.ra=function(a){(a=a?a.access_token:null)?(this.W=a,bta(this)):L(function(){this.$(cta(this,!1),r(this.ra,this))},1,this)};mv.prototype.Hl=function(){Gh(this.config)?(this.$(cta(this,!0),r(this.ra,this)),L(this.Hl,9E5,this)):Rj(window.location,"https://www.google.com/accounts/ServiceLogin?&continue="+encodeURIComponent(window.location.href))};
mv.prototype.ka=function(a){a=a.target;Isa(this,a==this.S?"hb":a==this.U?"gb":"kb")};var cta=function(a,b){var c=a.config.H.n_c,d=a.config,e=[d.H.n_s],g=d.H.n_ss;"string"==typeof g&&(g=g.split(","));e=e.concat(g);(g=d.H.n_ars)&&e.push(g);(g=d.H.n_ats)&&e.push(g);(d=d.H.n_atas)&&e.push(d);return{client_id:c,scope:e,immediate:b,authuser:a.Da}},bta=function(a){a.qc=!0;a.dispatchEvent("bb");Oh(a.config)&&a.dispatchEvent("$a")};f=mv.prototype;
f.jG=function(a){if(!this.qc)throw Error("xb");this.V.start();nv(this,"/notes/"+Fh(this.config)+"/changes/",a).execute(r(function(a,c){this.V.stop();Tsa(kv.Ja(),a);c=lv(c);Hsa(this,new Tu(a,c));(a=ra("gapiRequest.data.status",c))&&mj(this.context).mb("Sync Response",String(a))},this))};
f.hG=function(a,b,c,d){if(!this.qc)throw Error("yb");this.S.start();var e=new Xsa;b=Zsa(e,b,c,d);nv(this,"/upload/notes/"+Fh(this.config)+"/media/"+a.Zb,b,$sa(e),void 0,{noteId:a.V}).execute(r(function(b,c){this.S.stop();Tsa(kv.Ja(),b);b=new Tu(b,lv(c));this.dispatchEvent(new Wra(Uu(b)?"Ua":"Va",b,a))},this))};
f.gG=function(a){if(!this.qc)throw Error("zb");this.U.start();var b=tu(a);b=b?b.V:null;var c={};b&&(c.serializedSnapshot=Sh(this.ma.Za(b)));nv(this,"/notes/"+Fh(this.config)+"/drawing/"+a.Zb,c).execute(r(function(b,c){Jsa(this,a,new Tu(b,lv(c)))},this))};f.fG=function(a){var b=this;if(!this.qc)throw Error("Ab");var c=tu(a);if(c){var d="/notes/"+Fh(this.config)+"/getDrawing/",e={};e.drawingId=c.H;e.blobId=a.Zb;e.noteId=a.V;nv(this,d,"",void 0,void 0,e).execute(function(c,d){Ksa(b,a,new Tu(c,lv(d)))})}};
f.kG=function(a){var b=this;if(!this.qc)throw Error("Bb");var c=tu(a);if(c){var d=c.va,e="/notes/"+Fh(this.config)+"/updateDrawing/",g={};g.drawingId=c.H;g.blobId=a.Zb;g.noteId=a.V;c={};d&&(c.serializedMutations=Sh(this.ma.Za(d)));c.fingerprint=0;nv(this,e,c,void 0,void 0,g).execute(function(c,d){Lsa(b,a,new Tu(c,lv(d)))})}};f.Cy=function(a){if(!this.qc)throw Error("Cb");nv(this,"/notes/"+Fh(this.config)+"/request_access/"+a,"").execute(pfa)};
f.mG=function(){if(!this.qc)throw Error("Db");Uo()&&nv(this,"/notes/"+Fh(this.config)+"/changes/wipe/","").execute(pfa)};f.lG=function(a){if(!this.qc)throw Error("Eb");nv(this,"/notes/"+Fh(this.config)+"/getUserDasherInfo/","").execute(a)};f.iG=function(a){if(!this.qc)throw Error("Eb");nv(this,"/notes/"+Fh(this.config)+"/getPlacesData/","").execute(a)};
f.By=function(a,b){if(!this.qc)throw Error("Fb");var c="/notes/"+Fh(this.config)+"/getFamilyInfo/",d=void 0;b&&(d={},d.familyEmail=b);nv(this,c,"",void 0,void 0,d).execute(r(function(b,c){c=lv(c);b=new Tu(b,c);Uu(b)||a(b.H)},this))};var nv=function(a,b,c,d,e,g){d=d||{};Gh(a.config)&&(d.access_token=a.W);return a.ta({path:b,method:e||"POST",params:g||{},body:c,headers:d})};
var dta=Th("aHR0cHM6Ly9kb2dmb29keS5hcHBzcG90LmNvbS9rZWVw");var ov=function(){J.call(this);this.H=0;this.$=this.S=null};v(ov,J);ov.prototype.mj=function(){this.R("begin")};ov.prototype.Uh=function(){this.R("end")};var pv=function(a){a.R("finish")};ov.prototype.onStop=function(){this.R("stop")};ov.prototype.R=function(a){this.dispatchEvent(a)};
var eta=function(a,b){va(b)||(b=[b]);b=ig(b,function(a){return na(a)?a:a.Gf+" "+a.duration+"s "+a.timing+" "+a.fi+"s"});Vm(a,"transition",b.join(","))},fta=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(oh)return wh("10.0");var a=tk("DIV"),b=Yia(),c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");Pj(a,Nj("div",{style:c}));return""!=Wm(a.firstChild,"transition")});
var qv=function(a,b,c,d,e){ov.call(this);this.Ga=a;this.W=b;this.ma=c;this.U=d;this.ka=va(e)?e:[e]};v(qv,ov);f=qv.prototype;f.play=function(){if(1==this.H)return!1;this.mj();this.R("play");this.S=t();this.H=1;if(fta())return Vm(this.Ga,this.ma),this.V=L(this.EN,void 0,this),!0;this.Xy(!1);return!1};f.EN=function(){nn(this.Ga);eta(this.Ga,this.ka);Vm(this.Ga,this.U);this.V=L(r(this.Xy,this,!1),1E3*this.W)};f.stop=function(){1==this.H&&this.Xy(!0)}; f.Xy=function(a){Vm(this.Ga,"transition","");Zk(this.V);Vm(this.Ga,this.U);this.$=t();this.H=0;if(a)this.onStop();else pv(this);this.Uh()};f.Na=function(){this.stop();qv.ua.Na.call(this)};f.pause=function(){};
var gta={opacity:"0"},hta={opacity:"1"},ita={Gf:"all",duration:.218,timing:"linear",fi:0},kta=function(a){if(!a)return null;var b=jta||ita;return new qv(a,b.duration,gta,hta,b)};var rv=function(){this.Wb=gk();this.S=this.Wb.H.body;this.H=null;this.R=[]};v(rv,A);rv.prototype.config=function(a){this.S=a||this.S};rv.prototype.clearAll=function(a){lta(this.R,a)};var mta=function(a){lta(hg(a.R,function(a){return"Reminder deleted"==a.getMessage()}),void 0)},nta=function(a,b){return!!b&&b instanceof Node&&kg(a.R,function(a){return a.lb&&Fk(a.ha(),b)})};rv.prototype.show=function(a,b,c){a=new sv(this.Wb,a,b,c);ota(this,a);return a};
var tv=function(a,b,c,d,e,g){b=new sv(a.Wb,b,e,g,c,d);ota(a,b);return b},pta=function(a,b,c,d){tv(a,b,"Undo",c,void 0,d)},ota=function(a,b){a.H||(a.H=sk("DIV","Q0hgme-vDaB1c-haAclf"),a.S.appendChild(a.H));S(a.H,!0);if(b.H.timeout)for(var c=a.R.length-1;0<=c;c--){var d=a.R[c];d.H.timeout&&(d.hide(),a.R.splice(c,1))}a.H.firstChild&&b.H.timeout?Bn(b,a.H.firstChild):b.render(a.H);a.R.unshift(b);al.Ja().speak(b.getMessage());ag(b,function(){ug(this.R,b);qg(this.R)&&S(this.H,!1)},a);B(a,b)},lta=function(a,
b){if(b)cg(a);else for(b=0;b<a.length;b++){var c=a[b];c.H.timeout&&(uv(c),L(c.hide,100*b,c))}};rv.prototype.Na=function(){rv.ua.Na.call(this);delete this.H};var qta=function(a){this.H=!a||!(a&2);this.S=!!a&&!!(a&16);this.R=!!a&&!!(a&1);this.timeout=a&&a&4?0:!this.H||a&&a?5E3:1E4},sv=function(a,b,c,d,e,g){An.call(this,a);this.H=new qta(c);this.ma=null;this.$=b;this.R=new co;this.Ia(this.R);this.V=null;this.U=(e||"").toUpperCase();this.ka=g||null;this.S=d||null;this.W=null};v(sv,An);
sv.prototype.La=function(){this.Ga=R(Mia,{LD:this.H.H})};
sv.prototype.Ha=function(){sv.ua.Ha.call(this);this.ma=this.ub("Q0hgme-n5T17d-woLtV");S(this.ma,this.H.S);Hk(this.ub("Q0hgme-vDaB1c-Ne3sFf"),this.$);this.R.Ra(this.ub("Q0hgme-vDaB1c-JIbuQc"));this.Ea().listen(this.R,"action",this.ra);Nn(this.R,this.U);this.R.setVisible(!!this.U);this.H.H&&(this.V=new go("Dismiss"),this.Ia(this.V),this.V.Ra(this.ub("Q0hgme-vDaB1c-IYtByb")),this.Ea().listen(this.V,"action",this.hide));this.H.timeout&&(this.W=L(this.hide,this.H.timeout,this));L(function(){!this.isDisposed()&&
Q(this.ha(),"ZiwkRe")},16,this)};sv.prototype.getMessage=function(){return this.$};var vv=function(a){if(a.isDisposed())return!1;sm(a.ha(),"pcs7Mc");a.ha().offsetWidth=a.ha().offsetWidth;al.Ja().speak(a.$);Q(a.ha(),"pcs7Mc");rta(a);return!0};sv.prototype.hide=function(a){this.isDisposed()||(a&&(this.S&&this.S(),this.S=null),uv(this),L(this.dispose,218,this),sm(this.ha(),"ZiwkRe"))};
var uv=function(a){null!=a.W&&Zk(a.W)},wv=function(a,b){a.isDisposed()||(a.$=b,Hk(a.ub("Q0hgme-vDaB1c-Ne3sFf"),b),rta(a))},xv=function(a,b,c){a.isDisposed()||(a.U=b.toUpperCase(),Nn(a.R,a.U),a.R.setVisible(!!b),a.ka=c||null,rta(a))},sta=function(a){if(a.isDisposed())return!1;S(a.ma,!1);return!0};sv.prototype.ra=function(){this.ka&&this.ka();this.S=null;this.H.R||this.hide()};var rta=function(a){a.H.timeout&&(uv(a),a.W=L(a.hide,a.H.timeout,a))}; sv.prototype.Na=function(){sv.ua.Na.call(this);uv(this);this.S&&this.S()};
var vta=function(a,b){p(a.name)?(this.name=a.name,this.code=tta[a.name]):(this.code=a.code,this.name=uta(a.code));tb.call(this,zaa("%s %s",this.name,b))};v(vta,tb);var uta=function(a){var b=ch(tta,function(b){return a==b});if(!p(b))throw Error("Gb`"+a);return b},tta={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
var wta=function(a,b){I.call(this,a.type,b)};v(wta,I);var yv=function(){J.call(this);this.th=new FileReader;this.th.onloadstart=r(this.H,this);this.th.onprogress=r(this.H,this);this.th.onload=r(this.H,this);this.th.onabort=r(this.H,this);this.th.onerror=r(this.H,this);this.th.onloadend=r(this.H,this)};v(yv,J);yv.prototype.abort=function(){try{this.th.abort()}catch(a){throw new vta(a,"aborting read");}};yv.prototype.getError=function(){return this.th.error&&new vta(this.th.error,"reading file")};
yv.prototype.H=function(a){this.dispatchEvent(new wta(a,this))};yv.prototype.Na=function(){yv.ua.Na.call(this);delete this.th};var zv=function(a){var b=new yv,c=xta(b);b.th.readAsDataURL(a);return c},xta=function(a){var b=new Si;a.listen("loadend",Aa(function(a,b){var c=b.th.result,d=b.getError();null==c||d?a.kd(d):a.callback(c);b.dispose()},b,a));return b};
var Av=function(){this.R=[];this.H=[]},Bv=function(a){qg(a.R)&&(a.R=a.H,a.R.reverse(),a.H=[]);return a.R.pop()};f=Av.prototype;f.Bc=function(){return this.R.length+this.H.length};f.isEmpty=function(){return qg(this.R)&&qg(this.H)};f.clear=function(){this.R=[];this.H=[]};f.contains=function(a){return pg(this.R,a)||pg(this.H,a)};f.remove=function(a){var b=this.R;var c=fg(b,a);0<=c?(tg(b,c),b=!0):b=!1;return b||ug(this.H,a)}; f.Ec=function(){for(var a=[],b=this.R.length-1;0<=b;--b)a.push(this.R[b]);var c=this.H.length;for(b=0;b<c;++b)a.push(this.H[b]);return a};
var Cv=function(a){this.H=new nl;a&&this.addAll(a)},yta=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+za(a):b.substr(0,1)+a};f=Cv.prototype;f.Bc=function(){return this.H.Bc()};f.add=function(a){this.H.set(yta(a),a)};f.addAll=function(a){a=rl(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};f.removeAll=function(a){a=rl(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};f.remove=function(a){return this.H.remove(yta(a))};f.clear=function(){this.H.clear()};f.isEmpty=function(){return this.H.isEmpty()};
f.contains=function(a){return ql(this.H,yta(a))};f.Ec=function(){return this.H.Ec()};f.clone=function(){return new Cv(this)};f.equals=function(a){return this.Bc()==Tha(a)&&zta(this,a)};var zta=function(a,b){var c=Tha(b);if(a.Bc()>c)return!1;!(b instanceof Cv)&&5<c&&(b=new Cv(b));return Vha(a,function(a){var c=b;return c.contains&&"function"==typeof c.contains?c.contains(a):c.dg&&"function"==typeof c.dg?c.dg(a):wa(c)||na(c)?pg(c,a):bh(c,a)})};Cv.prototype.uf=function(){return this.H.uf(!1)};
var Dv=function(a,b){A.call(this);this.ka=a||0;this.S=b||10;if(this.ka>this.S)throw Error("Hb");this.H=new Av;this.R=new Cv;this.fi=0;this.W=null;this.Eq()};v(Dv,A);Dv.prototype.Ur=function(){var a=t();if(!(null!=this.W&&a-this.W<this.fi)){for(var b;0<this.H.Bc()&&(b=Bv(this.H),!this.Xx(b));)this.Eq();!b&&this.Bc()<this.S&&(b=this.V());b&&(this.W=a,this.R.add(b));return b}};Dv.prototype.Vn=function(a){this.R.remove(a);this.Xx(a)&&this.Bc()<this.S?this.H.H.push(a):Ata(a)};
Dv.prototype.Eq=function(){for(var a=this.H;this.Bc()<this.ka;){var b=this.V();a.H.push(b)}for(;this.Bc()>this.S&&0<this.H.Bc();)Ata(Bv(a))};Dv.prototype.V=function(){return{}};var Ata=function(a){if("function"==typeof a.dispose)a.dispose();else for(var b in a)a[b]=null};f=Dv.prototype;f.Xx=function(a){return"function"==typeof a.lI?a.lI():!0};f.contains=function(a){return this.H.contains(a)||this.R.contains(a)};f.Bc=function(){return this.H.Bc()+this.R.Bc()}; f.isEmpty=function(){return this.H.isEmpty()&&this.R.isEmpty()};f.Na=function(){Dv.ua.Na.call(this);if(0<this.R.Bc())throw Error("Ib");delete this.R;for(var a=this.H;!a.isEmpty();)Ata(Bv(a));delete this.H};
var Ev=function(a,b){this.H=a;this.R=b};Ev.prototype.getValue=function(){return this.R};Ev.prototype.clone=function(){return new Ev(this.H,this.R)};var Fv=function(a){this.H=[];if(a)a:{if(a instanceof Fv){var b=a.yd();a=a.Ec();if(0>=this.Bc()){for(var c=this.H,d=0;d<b.length;d++)c.push(new Ev(b[d],a[d]));break a}}else b=$g(a),a=Zg(a);for(d=0;d<b.length;d++)this.insert(b[d],a[d])}};f=Fv.prototype;f.insert=function(a,b){var c=this.H;c.push(new Ev(a,b));a=c.length-1;b=this.H;for(c=b[a];0<a;){var d=a-1>>1;if(b[d].H>c.H)b[a]=b[d],a=d;else break}b[a]=c};
f.remove=function(){var a=this.H,b=a.length,c=a[0];if(!(0>=b)){if(1==b)rg(a);else{a[0]=a.pop();a=0;b=this.H;for(var d=b.length,e=b[a];a<d>>1;){var g=2*a+1,h=2*a+2;g=h<d&&b[h].H<b[g].H?h:g;if(b[g].H>e.H)break;b[a]=b[g];a=g}b[a]=e}return c.getValue()}};f.Ec=function(){for(var a=this.H,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};f.yd=function(){for(var a=this.H,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].H);return b};f.dg=function(a){return kg(this.H,function(b){return b.getValue()==a})}; f.clone=function(){return new Fv(this)};f.Bc=function(){return this.H.length};f.isEmpty=function(){return qg(this.H)};f.clear=function(){rg(this.H)};
var Bta=function(){Fv.call(this)};v(Bta,Fv);var Gv=function(a,b){this.$=void 0;this.U=new Bta;Dv.call(this,a,b)};v(Gv,Dv);f=Gv.prototype;f.Ur=function(a,b){if(!a)return(a=Gv.ua.Ur.call(this))&&this.fi&&(this.$=m.setTimeout(r(this.vs,this),this.fi)),a;this.U.insert(p(b)?b:100,a);this.vs()};f.vs=function(){for(var a=this.U;0<a.Bc();){var b=this.Ur();if(b)a.remove().apply(this,[b]);else break}};f.Vn=function(a){Gv.ua.Vn.call(this,a);this.vs()};f.Eq=function(){Gv.ua.Eq.call(this);this.vs()}; f.Na=function(){Gv.ua.Na.call(this);m.clearTimeout(this.$);this.U.clear();this.U=null};
var Hv=function(a,b,c,d){this.ma=a;this.ra=!!d;Gv.call(this,b,c)};v(Hv,Gv);Hv.prototype.V=function(){var a=new jp,b=this.ma;b&&b.forEach(function(b,d){a.headers.set(d,b)});this.ra&&(a.U=!0);return a};Hv.prototype.Xx=function(a){return!a.isDisposed()&&!a.H};
var Iv=function(a,b,c,d,e,g){J.call(this);this.V=p(a)?a:1;this.U=p(e)?Math.max(0,e):0;this.W=!!g;this.S=new Hv(b,c,d,g);this.R=new nl;this.H=new Am(this)};v(Iv,J);var Cta="ready complete success error abort timeout".split(" "),Jv=function(a,b){a.U=Math.max(0,b)};Iv.prototype.send=function(a,b,c,d,e,g,h,k,n,q){if(this.R.get(a))throw Error("Jb");b=new Dta(b,r(this.$,this,a),c,d,e,h,p(k)?k:this.V,n,p(q)?q:this.W);this.R.set(a,b);a=r(this.ka,this,a);this.S.Ur(a,g);return b};
Iv.prototype.abort=function(a,b){var c=this.R.get(a);if(c){var d=c.Qn;c.bA=!0;b&&(d&&(this.H.$a(d,Cta,c.kz),ri(d,"ready",function(){var a=this.S;a.R.remove(d)&&a.Vn(d)},!1,this)),this.R.remove(a));d&&d.abort()}};Iv.prototype.ka=function(a,b){var c=this.R.get(a);c&&!c.Qn?(this.H.listen(b,Cta,c.kz),b.$=Math.max(0,this.U),b.W=c.bC(),b.U=c.hC(),c.Qn=b,this.dispatchEvent(new Kv("ready",this,a,b)),Eta(this,a,b),c.bA&&b.abort()):(a=this.S,a.R.remove(b)&&a.Vn(b))};
Iv.prototype.$=function(a,b){var c=b.target;switch(b.type){case "ready":Eta(this,a,c);break;case "complete":a:{var d=this.R.get(a);if(7==c.R||c.kh()||d.Hq>d.kw)if(this.dispatchEvent(new Kv("complete",this,a,c)),d&&(d.MA=!0,d.LA)){a=d.LA.call(c,b);break a}a=null}return a;case "success":this.dispatchEvent(new Kv("success",this,a,c));break;case "timeout":case "error":b=this.R.get(a);b.Hq>b.kw&&this.dispatchEvent(new Kv("error",this,a,c));break;case "abort":this.dispatchEvent(new Kv("abort",this,a,c))}return null};
var Eta=function(a,b,c){var d=a.R.get(b);!d||d.MA||d.Hq>d.kw?(d&&(a.H.$a(c,Cta,d.kz),a.R.remove(b)),a=a.S,a.R.remove(c)&&a.Vn(c)):(d.Hq++,c.send(d.getUrl(),d.Hr(),d.getContent(),d.ig()))};Iv.prototype.Na=function(){Iv.ua.Na.call(this);this.S.dispose();this.S=null;this.H.dispose();this.H=null;this.R.clear();this.R=null};var Kv=function(a,b,c,d){I.call(this,a,b);this.id=c;this.Qn=d};v(Kv,I);
var Dta=function(a,b,c,d,e,g,h,k,n){this.V=a;this.S=c||"GET";this.H=d;this.R=e||null;this.kw=p(h)?h:1;this.Hq=0;this.bA=this.MA=!1;this.kz=b;this.LA=g;this.U=k||"";this.W=!!n;this.Qn=null};f=Dta.prototype;f.getUrl=function(){return this.V};f.Hr=function(){return this.S};f.getContent=function(){return this.H};f.ig=function(){return this.R};f.hC=function(){return this.W};f.bC=function(){return this.U};
var Lv=function(a){Xu.call(this,a);this.V=this.config.H.n_p||"https://www.googleapis.com";this.S=new Iv(1);B(this,this.S);this.ta={};this.U={};this.ra={};this.ka={};this.$=null};v(Lv,Xu);f=Lv.prototype;f.init=function(){this.Hl();this.Ea().listen(this.S,"success",this.Ka).listen(this.S,"error",this.Fa);var a=ra("chrome.identity.onSignInChanged");a&&a.addListener(r(this.Hl,this))};
f.Hl=function(){Hh(this.config)&&(this.R&&(this.W?ra("chrome.identity.removeCachedAuthToken")({token:this.W},r(this.Fv,this,!1)):this.Fv(!1)),L(this.Hl,9E5,this))};f.Fv=function(a){ra("chrome.identity.getAuthToken")({interactive:a},r(this.BO,this,a))};
f.BO=function(a,b){b?(this.$&&(this.$.hide(),this.$=null),this.W=b,this.qc=!0,this.dispatchEvent("bb"),eh(this.ra)||(Ug(this.ra,function(a,b){Fta(this,b,a)},this),fh(this.ra)),Gta(this)):a?mj(this.context).mb("OAuth","authtokenfailure",chrome.runtime.lastError?chrome.runtime.lastError.message:void 0):(a=!1,this.$&&(a=vv(this.$)),a||(this.$=tv(sj(this.context),"Failed to authenticate. Changes will be synced when you sign in.","Sign in",r(this.Fv,this,!0),4)))};
f.jG=function(a){var b=this.V+"/notes/"+Fh(this.config)+"/changes/",c=this.ig({"Content-Type":"application/json"});a=ip(a);Jv(this.S,25E3);this.S.send("kb"+Pb(),$u(this,b),"POST",a,c)};f.hG=function(a,b,c,d){hh(this.ta,a.Zb,a);var e=new Xsa;b=Zsa(e,b,c,d);e=this.ig($sa(e));c=this.V+"/upload/notes/"+Fh(this.config)+"/media/"+a.Zb+"?noteId="+a.V;Jv(this.S,12E4);this.S.send("hb"+a.Zb,$u(this,c),"POST",b,e)};
f.gG=function(a){hh(this.U,a.Zb,a);var b=tu(a),c=b?b.V:null;b=this.ig({"Content-Type":"application/json"});var d="";c&&(d={},d.serializedSnapshot=Sh(this.ma.Za(c)),d=ip(d));c=this.V+"/notes/"+Fh(this.config)+"/drawing/"+a.Zb;Jv(this.S,12E4);this.S.send("gb"+a.Zb,$u(this,c),"POST",d,b)};
f.fG=function(a){var b=tu(a);if(b){var c=this.ig({"Content-Type":"application/json"});hh(this.U,a.Zb,a);var d=a.Zb,e=this.V+"/notes/"+Fh(this.config)+"/getDrawing/",g={};g.drawingId=b.H;g.blobId=d;g.noteId=a.V;Jv(this.S,12E4);this.S.send("eb"+d,$u(this,e,g),"POST",void 0,c)}};
f.kG=function(a){var b=tu(a);if(b){var c=this.ig({"Content-Type":"application/json"});hh(this.U,a.Zb,a);var d=a.Zb,e=b.va,g=this.V+"/notes/"+Fh(this.config)+"/updateDrawing/",h={};h.drawingId=b.H;h.blobId=d;h.noteId=a.V;a={};e&&(a.serializedMutations=Sh(this.ma.Za(e)));a.fingerprint=0;e=ip(a);Jv(this.S,12E4);this.S.send("lb"+d,$u(this,g,h),"POST",e,c)}};var Fta=function(a,b,c){a.qc?pg(a.S.R.yd(),b)||a.S.send(b,$u(a,c),"GET",void 0,a.ig(),2,void 0,void 0,"blob"):a.ra[b]=c};f=Lv.prototype;
f.Cy=function(a){a=this.V+"/notes/"+Fh(this.config)+"/request_access/"+a;var b=this.ig({"Content-Type":"application/json"});this.S.send("jb"+Pb(),$u(this,a),"POST","",b)};f.mG=function(){if(Uo()){var a=this.V+"/notes/"+Fh(this.config)+"/changes/wipe/",b=this.ig({"Content-Type":"application/json"});this.S.send("nb"+Pb(),$u(this,a),"POST","",b)}};
f.lG=function(a){var b=this.V+"/notes/"+Fh(this.config)+"/getUserDasherInfo/",c=this.ig({"Content-Type":"application/json"}),d="mb"+Pb();this.ka[d]=a;this.S.send(d,$u(this,b),"POST","",c)};f.iG=function(a){var b=this.V+"/notes/"+Fh(this.config)+"/getPlacesData/",c=this.ig({"Content-Type":"application/json"}),d="ib"+Pb();this.ka[d]=a;this.S.send(d,$u(this,b),"POST","",c)};
f.By=function(a,b){var c=this.V+"/notes/"+Fh(this.config)+"/getFamilyInfo/",d=this.ig({"Content-Type":"application/json"}),e="fb"+Pb();this.ka[e]=a;a="";b&&(a={},a.familyEmail=b,a=ip(a));this.S.send(e,$u(this,c),"POST",a,d)};var Gta=function(a){if(Hh(a.config)){window.gapi||(window.gapi={});var b=window.gapi;b.auth||(b.auth={},b.auth.getToken=r(function(){var a={};a.access_token=this.W;return a},a),a.dispatchEvent("$a"))}};
Lv.prototype.Ka=function(a){var b=a.Qn;Ssa(kv.Ja(),b);mj(this.context).mb("Sync Response",String(b.getStatus()));var c=Hta(a.id),d=a.id.replace(c,""),e=np(b);if(e)if(b=lv(e),eh(b))this.dispatchEvent(new Yu(c));else{var g=new Tu(b,{});if("kb"==c)L(function(){Hsa(this,g)},1,this);else if("hb"==c){if(a=ih(this.ta,d))this.dispatchEvent(new Wra(Uu(g)?"Ua":"Va",g,a)),gh(this.ta,d)}else if("gb"==c){if(a=ih(this.U,d))Jsa(this,a,g),gh(this.U,d)}else if("lb"==c){if(a=ih(this.U,d))Lsa(this,a,g),gh(this.U,d)}else if("eb"==
c){if(a=ih(this.U,d))Ksa(this,a,g),gh(this.U,d)}else if(this.ka[a.id])this.ka[a.id](g.H)}else zv(ana(b)).mc(function(a){this.dispatchEvent(new $ra(c,a))},this)};
Lv.prototype.Fa=function(a){var b=a.Qn;Ssa(kv.Ja(),b);var c=Hta(a.id);if(8==b.R)Isa(this,c);else{var d=b.getStatus();mj(this.context).mb("Sync Response",String(d));if(401==d)this.dispatchEvent(new Yu(c)),this.Hl();else if(b=lv(np(b)),b=eh(b)?null:new Tu(b,{}),"eb"==c){if(a=a.id.replace(c,""),c=ih(this.U,a))Ksa(this,c,b),gh(this.U,a)}else this.dispatchEvent(new Yu(c,b))}}; var Hta=function(a){return ub(a,"db")?"db":ub(a,"hb")?"hb":ub(a,"jb")?"jb":ub(a,"kb")?"kb":ub(a,"gb")?"gb":ub(a,"eb")?"eb":ub(a,"lb")?"lb":ub(a,"mb")?"mb":ub(a,"fb")?"fb":a};
var Mv=function(){J.call(this);this.enabled=!1};v(Mv,J);Mv.prototype.Jx=function(){};Mv.prototype.trigger=function(a,b){this.dispatchEvent(new csa(a,b))};Mv.prototype.isEnabled=function(){return this.enabled};Mv.prototype.yE=sa;var Ita=function(a,b){Mv.call(this);this.U=a;this.Ic=b;this.R=new Yk(Jh(a));B(this,this.R);this.H=new Am(this);B(this,this.H);this.S=Jh(a);this.H.listen(this.R,"tick",this.QU)};v(Ita,Mv);f=Ita.prototype;f.QU=function(){this.R.stop();this.trigger()};f.Mv=function(){this.enabled?(Jta(this),this.trigger()):this.R.stop()};f.yE=function(){this.Ic.hc()?Jta(this):Kta(this)};f.Pv=function(a){Wu(a.response,this.Ic.U)&&(Jta(this),this.trigger(!0,!0));this.R.start()};f.wy=function(){this.R.start();Kta(this)}; var Jta=function(a){a.S=Jh(a.U);a.R.setInterval(a.S)},Kta=function(a){a.S<rea(a.U)&&(a.S*=2);a.R.setInterval(a.S)};
var Lta=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a)throw Error("Kb");c="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d); if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
var Mta=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;u=q=0}function b(a){for(var b=h,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],g=e[2],k=e[3],n=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var q=k^d&(g^k);var u=1518500249}else q=d^g^k,u=1859775393;else 60>c?(q=d&g|k&(d|g),u=2400959708):(q=d^g^k,u=3395469782);q=((a<<5|a>>>27)&4294967295)+
q+n+u+b[c]&4294967295;n=k;k=g;g=(d<<30|d>>>2)&4294967295;d=a;a=q}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+g&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+n&4294967295}function c(a,c){if("string"===typeof a){a=unescape(encodeURIComponent(a));for(var d=[],e=0,h=a.length;e<h;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==q)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,u+=64;for(;d<c;)if(g[q++]=a[d++],u++,64==q)for(q=0,b(g);d+64<c;)b(a.slice(d,d+64)),d+=64,u+=64}function d(){var a=[],
d=8*u;56>q?c(k,56-q):c(k,64-(q-56));for(var h=63;56<=h;h--)g[h]=d&255,d>>>=8;b(g);for(h=d=0;5>h;h++)for(var n=24;0<=n;n-=8)a[d++]=e[h]>>n&255;return a}for(var e=[],g=[],h=[],k=[128],n=1;64>n;++n)k[n]=0;var q,u;a();return{reset:a,update:c,digest:d,digestString:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};
var Ota=function(a,b,c){var d=[],e=[];if(1==(va(c)?2:1))return e=[b,a],E(d,function(a){e.push(a)}),Nta(e.join(" "));var g=[],h=[];E(c,function(a){h.push(a.key);g.push(a.value)});c=Math.floor((new Date).getTime()/1E3);e=qg(g)?[c,b,a]:[g.join(":"),c,b,a];E(d,function(a){e.push(a)});a=Nta(e.join(" "));a=[c,a];qg(h)||a.push(h.join(""));return a.join("_")},Nta=function(a){var b=Mta();b.update(a);return b.digestString().toLowerCase()};
var Nv=function(a){this.H=a||{cookie:""}};f=Nv.prototype;f.isEnabled=function(){return navigator.cookieEnabled};f.set=function(a,b,c,d,e,g){if(/[;=\s]/.test(a))throw Error("Lb`"+a);if(/[;\r\n]/.test(b))throw Error("Mb`"+b);p(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";g=g?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(t()+1E3*c)).toUTCString();this.H.cookie=a+"="+b+e+d+c+g};
f.get=function(a,b){for(var c=a+"=",d=(this.H.cookie||"").split(";"),e=0,g;e<d.length;e++){g=Ab(d[e]);if(0==g.lastIndexOf(c,0))return g.substr(c.length);if(g==a)return""}return b};f.remove=function(a,b,c){var d=p(this.get(a));this.set(a,"",0,b,c);return d};f.yd=function(){return Ov(this).keys};f.Ec=function(){return Ov(this).values};f.isEmpty=function(){return!this.H.cookie};f.Bc=function(){return this.H.cookie?(this.H.cookie||"").split(";").length:0};
f.dg=function(a){for(var b=Ov(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};f.clear=function(){for(var a=Ov(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};var Ov=function(a){a=(a.H.cookie||"").split(";");for(var b=[],c=[],d,e,g=0;g<a.length;g++)e=Ab(a[g]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}},Pta=new Nv("undefined"==typeof document?null:document);Pta.R=3950;
var Qta=function(a){var b=Lta(String(m.location.href)),c=m.__OVERRIDE_SID;null==c&&(c=(new Nv(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?m.__SAPISID:m.__APISID,null==b&&(b=(new Nv(document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(m.location.href);return d&&b&&c?[c,Ota(Lta(d),b,a||null)].join(" "):null}return null};
var Rta=function(){var a=Qta([]);return a?(a=a.split(" "),{scheme:a[0],hash:a[1]}):null};var Sta=function(){};var Pv=function(){T.call(this)};v(Pv,T);var Tta=null,Qv=function(){T.call(this)};v(Qv,T);var Uta=null;Qv.prototype.getToken=function(){return as(this,3)};Qv.prototype.setToken=function(a){bs(this,3,a)};
Pv.prototype.getDescriptor=function(){var a=Tta;a||(Tta=a=gs(Pv,{0:{name:"BrowserChannelConfig",Cb:"buzz.channel.proto.BrowserChannelConfig"},1:{name:"authuser",Oa:4,type:Number},2:{name:"client_type",Oa:9,type:String},3:{name:"init_delay_ms",Oa:5,type:Number},4:{name:"service_override",Oa:9,type:String},5:{name:"gapi_src",Oa:9,type:String},6:{name:"property_id",Oa:9,type:String},7:{name:"application_version",Oa:9,type:String},8:{name:"retry_on_auth_error",Oa:8,type:Boolean},9:{name:"gsid_servlet_path",
Oa:9,type:String},10:{name:"page_id",Oa:9,type:String},11:{name:"initial_retry_delay_ms",Oa:5,defaultValue:1E4,type:Number},12:{name:"max_backoff_factor",Oa:5,defaultValue:180,type:Number},13:{name:"use_shared_channel",Oa:8,type:Boolean},14:{name:"stable_connection_threshold_ms",Oa:5,defaultValue:3E5,type:Number}}));return a};Pv.getDescriptor=Pv.prototype.getDescriptor;
Qv.prototype.getDescriptor=function(){var a=Uta;a||(Uta=a=gs(Qv,{0:{name:"AuthenticationParameters",Cb:"buzz.channel.proto.AuthenticationParameters"},1:{name:"origin",Oa:9,type:String},2:{name:"scheme",Oa:5,type:Number},3:{name:"token",Oa:9,type:String},4:{name:"authuser",Oa:13,type:Number}}));return a};Qv.getDescriptor=Qv.prototype.getDescriptor;
var Rv=function(a,b,c){this.S=b;this.V=c;this.U=a;this.reset()};Rv.prototype.reset=function(){this.H=this.S;this.R=!1};var Sv=function(a){var b=0;if(a.R){b=Math.ceil(a.U()*a.H);var c=a.S*a.V;a.H<=c&&(a.H*=2,a.H>c&&(a.H=c))}a.R=!0;return b};var Vta=function(){};var Tv=function(a,b){this.H=a;this.R=b};v(Tv,hs);Tv.prototype.Za=function(a){for(var b=Yr(a.getDescriptor()),c={},d=0;d<b.length;d++){var e=b[d],g=e.getTag();switch(this.H){case 1:g=e.getName();break;case 2:g=Ub(e.getName().replace(/_/g,"-"))}if(a.has(e))if(e.R){var h=[];c[g]=h;for(g=0;g<fs(a,e.getTag());g++)h.push(this.Wg(e,a.get(e,g)))}else c[g]=this.Wg(e,a.get(e))}ipa(a,function(a,b){c[a]=b});return c};Tv.prototype.Wg=function(a,b){return this.R&&8==a.H&&oa(b)?b?1:0:Tv.ua.Wg.call(this,a,b)};
Tv.prototype.Vg=function(a,b){return 8==a.H&&pa(b)?!!b:Tv.ua.Vg.call(this,a,b)};Tv.prototype.S=function(a,b){var c=a.getDescriptor(),d;for(d in b){var e=b[d],g=!/[^0-9]/.test(d);if(g)var h=c.H[parseInt(d,10)]||null;else 2==this.H&&(d=String(d).replace(/([A-Z])/g,"-$1").toLowerCase().replace(/\-/g,"_")),h=gpa(c,d);if(h)if(h.R)for(g=0;g<e.length;g++)a.add(h,this.Vg(h,e[g]));else a.set(h,this.Vg(h,e));else g&&(h=a,g=Number(d),h.R[g]=e,h.H&&delete h.H[g])}};
var Uv=function(a,b){this.R=!!a;this.H=!!b};v(Uv,hs);Uv.prototype.S=function(a,b){var c=new Wta;return c.parse(a,b.toString(),this.R)?null:c.getError()};Uv.prototype.Za=function(a){var b=new Xta;Yta(this,a,b);return b.toString()};
var Yta=function(a,b,c){var d=Yr(b.getDescriptor());E(d,function(a){if(b.has(a))for(var d=fs(b,a.getTag()),e=0;e<d;++e){Vv(c,a.getName());11==a.H||10==a.H?(Vv(c," {"),Wv(c),c.H+=2):Vv(c,": ");Zta(this,b.get(a,e),a,c);if(11==a.H||10==a.H)c.H-=2,Vv(c,"}");Wv(c)}},a);ipa(b,function(a,b){$ta(this,a,b,c)},a)},$ta=function(a,b,c,d){if(null!=c)if(va(c))E(c,function(a){$ta(this,b,a,d)},a);else{if(ya(c)){Vv(d,b);Vv(d," {");Wv(d);d.H+=2;if(c instanceof T)Yta(a,c,d);else for(var e in c)$ta(a,Vb(e),c[e],d);d.H-=
2;Vv(d,"}")}else na(c)&&(c=Naa(c)),Vv(d,b),Vv(d,": "),Vv(d,c.toString());Wv(d)}},Zta=function(a,b,c,d){switch(c.H){case 1:case 2:case 3:case 4:case 5:case 13:case 6:case 7:case 8:case 15:case 16:case 17:case 18:Vv(d,b);break;case 12:case 9:b=Naa(b.toString());Vv(d,b);break;case 14:if(!a.H){var e=!1;Ug(c.S,function(a,c){e||a!=b||(Vv(d,c),e=!0)})}e&&!a.H||Vv(d,b.toString());break;case 10:case 11:Yta(a,b,d)}},Xta=function(){this.H=0;this.R=[];this.S=!0};Xta.prototype.toString=function(){return this.R.join("")};
var Vv=function(a,b){if(a.S){for(var c=0;c<a.H;++c)a.R.push(" ");a.S=!1}a.R.push(b.toString())},Wv=function(a){a.R.push("\n");a.S=!0},aua=function(a,b,c){this.W=!!b;this.V=!!c;this.H=a;this.U=0;this.R=a;this.S={type:Xv,value:null}};aua.prototype.getCurrent=function(){return this.S};
var Xv=/---end---/,Yv=/^-?[a-zA-Z][a-zA-Z0-9_]*/,Zv=/^(0x[0-9a-f]+)|(([-])?[0-9][0-9]*(\.?[0-9]+)?(e[+-]?[0-9]+|[f])?)/,bua=/^#.*/,$v=/^"([^"\\]|\\.)*"/,cua=/^\s/,dua={q1:Xv,s2:Yv,V3:Zv,m0:bua,g4:/^{/,f0:/^}/,k4:/^</,h0:/^>/,j4:/^\[/,g0:/^\]/,q6:$v,k0:/^:/,l0:/^,/,N5:/^;/,o8:cua};aua.prototype.next=function(){for(;eua(this);){var a=this.getCurrent().type;if(a!=cua&&a!=bua||a==cua&&!this.W||a==bua&&!this.V)return!0}this.S={type:Xv,value:null};return!1};
var eua=function(a){if(a.U>=a.H.length)return!1;var b=a.R,c=null;Xg(dua,function(a){if(c||a==Xv)return!1;var d=a.exec(b);d&&0==d.index&&(c={type:a,value:d[0]});return!!c});c&&(a.S=c,a.U+=c.value.length,a.R=a.R.substring(c.value.length));return!!c},Wta=function(){this.H=this.R=null;this.S=!1};Wta.prototype.parse=function(a,b,c){this.R=null;this.S=!!c;this.H=new aua(b,!0,!0);this.H.next();return aw(this,a,"")};Wta.prototype.getError=function(){return this.R};
var aw=function(a,b,c){for(;">"!=a.H.getCurrent().value&&"}"!=a.H.getCurrent().value&&!bw(a,Xv);)if(!fua(a,b))return!1;if(c){if(!cw(a,c))return!1}else bw(a,Xv)||(a.R="Expected END token");return!0},hua=function(a,b,c){a=gua(a,c);if(null===a)return!1;c.R?b.add(c,a):b.set(c,a);return!0},iua=function(a){return Gb(a,".")?parseFloat(a):Vb(a)},gua=function(a,b){switch(b.H){case 1:case 2:if(b=dw(a,Yv))if(b=/^-?inf(?:inity)?f?$/i.test(b)?Infinity*(ub(b,"-")?-1:1):/^nanf?$/i.test(b)?NaN:null,null!=b)return b;
case 5:case 13:case 7:case 15:case 17:return(a=dw(a,Zv))?iua(a):null;case 3:case 4:case 6:case 16:case 18:return(a=dw(a,Zv))?b.S==Number?iua(a):a:null;case 8:b=dw(a,Yv);if(!b)return null;switch(b){case "true":return!0;case "false":return!1;default:return a.R="Unknown type for bool: "+b,null}case 14:if(bw(a,Zv))return(a=dw(a,Zv))?iua(a):null;var c=dw(a,Yv);if(!c)return null;b=b.S[c];return null==b?(a.R="Unknown enum value: "+c,null):b;case 12:case 9:if(b=dw(a,$v)){for(c=JSON.parse(b).toString();bw(a,
$v);)b=dw(a,$v),c+=JSON.parse(b).toString();a=c}else a=null;return a}},jua=function(a){ew(a,":");if(ew(a,"[")){for(;;){a.H.next();if(ew(a,"]"))break;if(!cw(a,","))return!1}return!0}if(ew(a,"<"))return aw(a,null,">");if(ew(a,"{"))return aw(a,null,"}");a.H.next();return!0},fua=function(a,b){var c=dw(a,Yv);if(!c)return a.R="Missing field name",!1;var d=null;b&&(d=gpa(b.getDescriptor(),c.toString()));if(null==d){if(a.S)return jua(a);a.R="Unknown field: "+c;return!1}if(11==d.H||10==d.H){ew(a,":");a:{c=
d;if(ew(a,"<"))d=">";else{if(!cw(a,"{")){b=!1;break a}d="}"}var e=new (c.S.prototype.getDescriptor().wp);aw(a,e,d)?(c.R?b.add(c,e):b.set(c,e),b=!0):b=!1}if(!b)return!1}else{if(!cw(a,":"))return!1;if(d.R&&ew(a,"["))for(;;){if(!hua(a,b,d))return!1;if(ew(a,"]"))break;if(!cw(a,","))return!1}else if(!hua(a,b,d))return!1}ew(a,",")||ew(a,";");return!0},ew=function(a,b){return a.H.getCurrent().value==b?(a.H.next(),!0):!1},dw=function(a,b){if(!bw(a,b))return a.R="Expected token type: "+b,null;b=a.H.getCurrent().value; a.H.next();return b},cw=function(a,b){return ew(a,b)?!0:(a.R='Expected token "'+b+'"',!1)},bw=function(a,b){return a.H.getCurrent().type==b};
var kua=new Tv,lua=new Uv,fw=function(a){a=kua.Za(a);return ip(a)},mua=JSON.parse,gw=function(a,b){try{var c=mua(b)}catch(e){return null}try{var d=kua.To(a,c)}catch(e){return null}return null==d?null:d};T.prototype.toString=function(){return lua.Za(this)};var nua=function(a){var b=hk(document,a);null==b&&(b=sk("DIV",{id:a,style:"display:none"}),jk(document,"body",void 0,void 0)[0].appendChild(b));return b};
var hw=function(a,b){this.H=a;this.R=b};hw.prototype.stringify=function(a){return m.JSON.stringify(a,this.H)};hw.prototype.parse=function(a){return m.JSON.parse(a,this.R)};var iw=function(a,b,c,d,e){this.R=a;this.S=c;this.ta=d;this.W=e||1;this.Hf=45E3;this.H=new Am(this);this.U=new Yk;this.U.setInterval(250)};f=iw.prototype;f.cl=null;f.Yh=!1;f.Pn=null;f.iz=null;f.En=null;f.Km=null;f.Pj=null;f.mk=null;f.Fl=null;f.sf=null;f.hq=0;f.$h=null;f.uu=null;f.Qj=null;f.So=-1;f.eG=!0;f.Nk=!1;f.jw=0;f.Mt=null;var oua={},pua={};iw.prototype.setTimeout=function(a){this.Hf=a};
var rua=function(a,b,c){a.Km=1;a.Pj=Gl(b.clone());a.Fl=c;a.V=!0;qua(a,null)},sua=function(a,b,c,d,e){a.Km=1;a.Pj=Gl(b.clone());a.Fl=null;a.V=c;e&&(a.eG=!1);qua(a,d)},qua=function(a,b){a.En=t();jw(a);a.mk=a.Pj.clone();El(a.mk,"t",a.W);a.hq=0;a.sf=a.R.zv(a.R.Yp()?b:null);0<a.jw&&(a.Mt=new Co(r(a.$,a,a.sf),a.jw));a.H.listen(a.sf,"readystatechange",a.ra);b=a.cl?jh(a.cl):{};a.Fl?(a.uu="POST",b["Content-Type"]="application/x-www-form-urlencoded",a.sf.send(a.mk,a.uu,a.Fl,b)):(a.uu="GET",a.eG&&!sh&&(b.Connection=
"close"),a.sf.send(a.mk,a.uu,null,b));a.R.Th(1)};iw.prototype.ra=function(a){a=a.target;var b=this.Mt;b&&3==mp(a)?b.od():this.$(a)};
iw.prototype.$=function(a){try{if(a==this.sf)a:{var b=mp(this.sf),c=this.sf.R,d=this.sf.getStatus();if(oh&&!xh(10)||sh&&!wh("420+")){if(4>b)break a}else if(3>b||3==b&&!nh&&!np(this.sf))break a;this.Nk||4!=b||7==c||(8==c||0>=d?this.R.Th(3):this.R.Th(2));kw(this);var e=this.sf.getStatus();this.So=e;var g=np(this.sf);(this.Yh=200==e)?(4==b&&lw(this),this.V?(tua(this,b,g),nh&&this.Yh&&3==b&&(this.H.listen(this.U,"tick",this.ma),this.U.start())):(mw(g),uua(this,g)),this.Yh&&!this.Nk&&(4==b?this.R.At(this):
(this.Yh=!1,jw(this)))):(400==e&&0<g.indexOf("Unknown SID")?this.Qj=3:this.Qj=0,nw(),lw(this),ow(this))}}catch(h){}finally{}};var tua=function(a,b,c){for(var d=!0;!a.Nk&&a.hq<c.length;){var e=vua(a,c);if(e==pua){4==b&&(a.Qj=4,nw(),d=!1);mw(null);break}else if(e==oua){a.Qj=4;nw();mw(c);d=!1;break}else mw(e),uua(a,e)}4==b&&0==c.length&&(a.Qj=1,nw(),d=!1);a.Yh=a.Yh&&d;d||(mw(c),lw(a),ow(a))};
iw.prototype.ma=function(){var a=mp(this.sf),b=np(this.sf);this.hq<b.length&&(kw(this),tua(this,a,b),this.Yh&&4!=a&&jw(this))};
var vua=function(a,b){var c=a.hq,d=b.indexOf("\n",c);if(-1==d)return pua;c=Number(b.substring(c,d));if(isNaN(c))return oua;d+=1;if(d+c>b.length)return pua;b=b.substr(d,c);a.hq=d+c;return b},wua=function(a,b){a.En=t();jw(a);var c=b?window.location.hostname:"";a.mk=a.Pj.clone();Dl(a.mk,"DOMAIN",c);Dl(a.mk,"t",a.W);try{a.$h=new ActiveXObject("htmlfile")}catch(h){lw(a);a.Qj=7;nw();ow(a);return}var d="<html><body>";if(b){b="";for(var e=0;e<c.length;e++){var g=c.charAt(e);b="<"==g?b+"\\x3c":">"==g?b+"\\x3e":
b+Maa(g)}d+='<script>document.domain="'+b+'"\x3c/script>'}c=Kj(d+"</body></html>",null);a.$h.open();a.$h.write(Jj(c));a.$h.close();a.$h.parentWindow.m=r(a.fX,a);a.$h.parentWindow.d=r(a.rF,a,!0);a.$h.parentWindow.rpcClose=r(a.rF,a,!1);c=a.$h.createElement("DIV");a.$h.parentWindow.document.body.appendChild(c);d=Fj(a.mk.toString());d=Fb(Dj(d));Pj(c,Kj('<iframe src="'+d+'"></iframe>',null));a.R.Th(1)};f=iw.prototype;f.fX=function(a){pw(r(this.eX,this,a),0)};
f.eX=function(a){this.Nk||(mw(a),kw(this),uua(this,a),jw(this))};f.rF=function(a){pw(r(this.dX,this,a),0)};f.dX=function(a){this.Nk||(lw(this),this.Yh=a,this.R.At(this),this.R.Th(4))};f.cancel=function(){this.Nk=!0;lw(this)};var jw=function(a){a.iz=t()+a.Hf;xua(a,a.Hf)},xua=function(a,b){if(null!=a.Pn)throw Error("Ob");a.Pn=pw(r(a.ka,a),b)},kw=function(a){a.Pn&&(m.clearTimeout(a.Pn),a.Pn=null)};
iw.prototype.ka=function(){this.Pn=null;var a=t();0<=a-this.iz?(2!=this.Km&&this.R.Th(3),lw(this),this.Qj=2,nw(),ow(this)):xua(this,this.iz-a)};var ow=function(a){a.R.jh()||a.Nk||a.R.At(a)},lw=function(a){kw(a);bg(a.Mt);a.Mt=null;a.U.stop();a.H.removeAll();if(a.sf){var b=a.sf;a.sf=null;b.abort();b.dispose()}a.$h&&(a.$h=null)};iw.prototype.Lc=function(){return this.S};var uua=function(a,b){try{a.R.Bt(a,b),a.R.Th(4)}catch(c){}};
var mw=function(a){if(a&&"y2f%"!=a)try{var b=JSON.parse(a);if(b)for(a=0;a<b.length;a++)if(va(b[a])){var c=b[a];if(!(2>c.length)){var d=c[1];if(va(d)&&!(1>d.length)){var e=d[0];if("noop"!=e&&"stop"!=e)for(var g=1;g<d.length;g++)d[g]=""}}}ip(b)}catch(h){}};
var zua=function(a,b,c,d,e){if(0==d)c(!1);else{var g=e||0;d--;yua(a,b,function(e){e?c(!0):m.setTimeout(function(){zua(a,b,c,d,g)},g)})}},yua=function(a,b,c){var d=new Image;d.onload=function(){try{qw(d),c(!0)}catch(e){}};d.onerror=function(){try{qw(d),c(!1)}catch(e){}};d.onabort=function(){try{qw(d),c(!1)}catch(e){}};d.ontimeout=function(){try{qw(d),c(!1)}catch(e){}};m.setTimeout(function(){if(d.ontimeout)d.ontimeout()},b);d.src=a},qw=function(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout= null};
var rw=function(a){this.H=a;this.R=new hw};f=rw.prototype;f.gw=null;f.Gg=null;f.Ot=!1;f.mC=null;f.Br=null;f.hw=null;f.iw=null;f.ah=null;f.Si=-1;f.Ro=null;f.eo=null;f.connect=function(a){this.iw=a;a=sw(this.H,null,this.iw);nw();this.mC=t();var b=this.H.Da;null!=b?(this.Ro=b[0],(this.eo=b[1])?(this.ah=1,Aua(this)):(this.ah=2,Bua(this))):(El(a,"MODE","init"),this.Gg=new iw(this,0,void 0,void 0,void 0),this.Gg.cl=this.gw,sua(this.Gg,a,!1,null,!0),this.ah=0)};
var Aua=function(a){var b=sw(a.H,a.eo,"/mail/images/cleardot.gif");Gl(b);zua(b.toString(),5E3,r(a.S,a),3,2E3);a.Th(1)};rw.prototype.S=function(a){if(a)this.ah=2,Bua(this);else{nw();var b=this.H;b.mi=b.Dj.Si;tw(b,9)}a&&this.Th(2)};
var Bua=function(a){var b=a.H.Ka;if(null!=b)nw(),b?(nw(),uw(a.H,a,!1)):(nw(),uw(a.H,a,!0));else if(a.Gg=new iw(a,0,void 0,void 0,void 0),a.Gg.cl=a.gw,b=a.H,b=sw(b,b.Yp()?a.Ro:null,a.iw),nw(),!oh||xh(10))El(b,"TYPE","xmlhttp"),sua(a.Gg,b,!1,a.Ro,!1);else{El(b,"TYPE","html");var c=a.Gg;a=!!a.Ro;c.Km=3;c.Pj=Gl(b.clone());wua(c,a)}};f=rw.prototype;f.zv=function(a){return this.H.zv(a)};f.abort=function(){this.Gg&&(this.Gg.cancel(),this.Gg=null);this.Si=-1};f.jh=function(){return!1};
f.Bt=function(a,b){this.Si=a.So;if(0==this.ah)if(b){try{var c=this.R.parse(b)}catch(d){a=this.H;a.mi=this.Si;tw(a,2);return}this.Ro=c[0];this.eo=c[1]}else a=this.H,a.mi=this.Si,tw(a,2);else if(2==this.ah)if(this.Ot)nw(),this.hw=t();else if("11111"==b){if(nw(),this.Ot=!0,this.Br=t(),a=this.Br-this.mC,!oh||xh(10)||500>a)this.Si=200,this.Gg.cancel(),nw(),uw(this.H,this,!0)}else nw(),this.Br=this.hw=t(),this.Ot=!1};
f.At=function(){this.Si=this.Gg.So;if(this.Gg.Yh)0==this.ah?this.eo?(this.ah=1,Aua(this)):(this.ah=2,Bua(this)):2==this.ah&&((!oh||xh(10)?!this.Ot:200>this.hw-this.Br)?(nw(),uw(this.H,this,!1)):(nw(),uw(this.H,this,!0)));else{0==this.ah?nw():2==this.ah&&nw();var a=this.H;a.mi=this.Si;tw(a,2)}};f.Yp=function(){return this.H.Yp()};f.Th=function(a){this.H.Th(a)};
var vw=function(a,b,c,d){this.ma=a||null;this.H=1;this.R=[];this.U=[];this.V=new hw;this.Da=b||null;this.Ka=null!=c?c:null;this.W=d||!1},Cua=function(a,b){this.H=a;this.map=b;this.context=null};f=vw.prototype;f.Jm=null;f.vo=null;f.Cg=null;f.ze=null;f.fw=null;f.Cr=null;f.uA=null;f.Sr=null;f.Cp=0;f.IU=0;f.Rf=null;f.Kj=null;f.Gi=null;f.Qk=null;f.Dj=null;f.dz=null;f.Ts=-1;f.QD=-1;f.mi=-1;f.Do=0;f.jm=0;f.hu=!1;f.Ok=8;var ww=new J,Dua=function(a){I.call(this,"statevent",a)};v(Dua,I);
var Eua=function(a,b,c){I.call(this,"timingevent",a);this.size=b;this.rtt=c};v(Eua,I);var Fua=function(a){I.call(this,"serverreachability",a)};v(Fua,I);vw.prototype.connect=function(a,b,c,d,e){nw();this.fw=b;this.vo=c||{};d&&p(e)&&(this.vo.OSID=d,this.vo.OAID=e);this.W?(pw(r(this.ka,this,a),100),Gua(this)):this.ka(a)};
vw.prototype.disconnect=function(){Hua(this);if(3==this.H){var a=this.Cp++,b=this.Cr.clone();Dl(b,"SID",this.S);Dl(b,"RID",a);Dl(b,"TYPE","terminate");xw(this,b);a=new iw(this,0,this.S,a,void 0);a.Km=2;a.Pj=Gl(b.clone());(new Image).src=a.Pj;a.En=t();jw(a)}Iua(this)};vw.prototype.Lc=function(){return this.S};vw.prototype.ka=function(a){this.Dj=new rw(this);this.Dj.gw=this.Jm;this.Dj.R=this.V;this.Dj.connect(a)};
var Gua=function(a){a.Ba(1,0);a.Cr=sw(a,null,a.fw);Jua(a)},Hua=function(a){a.Dj&&(a.Dj.abort(),a.Dj=null);a.ze&&(a.ze.cancel(),a.ze=null);a.Gi&&(m.clearTimeout(a.Gi),a.Gi=null);yw(a);a.Cg&&(a.Cg.cancel(),a.Cg=null);a.Kj&&(m.clearTimeout(a.Kj),a.Kj=null)};vw.prototype.Ea=function(){return this.Rf};vw.prototype.jh=function(){return 0==this.H};vw.prototype.getState=function(){return this.H};var Jua=function(a){a.Cg||a.Kj||(a.Kj=pw(r(a.ta,a),0),a.Do=0)};
vw.prototype.ta=function(a){this.Kj=null;if(1==this.H){if(!a){this.Cp=Math.floor(1E5*Math.random());a=this.Cp++;var b=new iw(this,0,"",a,void 0);b.cl=this.Jm;var c=Kua(this),d=this.Cr.clone();Dl(d,"RID",a);this.ma&&Dl(d,"CVER",this.ma);xw(this,d);rua(b,d,c);this.Cg=b;this.H=2}}else 3==this.H&&(a?Lua(this,a):0!=this.R.length&&(this.Cg||Lua(this)))};
var Lua=function(a,b){if(b)if(6<a.Ok){a.R=a.U.concat(a.R);a.U.length=0;var c=a.Cp-1;b=Kua(a)}else c=b.ta,b=b.Fl;else c=a.Cp++,b=Kua(a);var d=a.Cr.clone();Dl(d,"SID",a.S);Dl(d,"RID",c);Dl(d,"AID",a.Ts);xw(a,d);c=new iw(a,0,a.S,c,a.Do+1);c.cl=a.Jm;c.setTimeout(Math.round(1E4)+Math.round(1E4*Math.random()));a.Cg=c;rua(c,d,b)},xw=function(a,b){a.Rf&&(a=a.Rf.NB(a))&&Ug(a,function(a,d){Dl(b,d,a)})},Kua=function(a){var b=Math.min(a.R.length,1E3),c=["count="+b];if(6<a.Ok&&0<b){var d=a.R[0].H;c.push("ofs="+
d)}else d=0;for(var e=0;e<b;e++){var g=a.R[e].H,h=a.R[e].map;g=6>=a.Ok?e:g-d;try{Ug(h,function(a,b){c.push("req"+g+"_"+b+"="+encodeURIComponent(a))})}catch(k){c.push("req"+g+"_type="+encodeURIComponent("_badmap"))}}a.U=a.U.concat(a.R.splice(0,b));return c.join("&")},Mua=function(a){a.ze||a.Gi||(a.$=1,a.Gi=pw(r(a.ra,a),0),a.jm=0)},Oua=function(a){if(a.ze||a.Gi||3<=a.jm)return!1;a.$++;a.Gi=pw(r(a.ra,a),Nua(a,a.jm));a.jm++;return!0};
vw.prototype.ra=function(){this.Gi=null;this.ze=new iw(this,0,this.S,"rpc",this.$);this.ze.cl=this.Jm;this.ze.jw=0;var a=this.uA.clone();Dl(a,"RID","rpc");Dl(a,"SID",this.S);Dl(a,"CI",this.dz?"0":"1");Dl(a,"AID",this.Ts);xw(this,a);if(!oh||xh(10))Dl(a,"TYPE","xmlhttp"),sua(this.ze,a,!0,this.Sr,!1);else{Dl(a,"TYPE","html");var b=this.ze,c=!!this.Sr;b.Km=3;b.Pj=Gl(a.clone());wua(b,c)}};var uw=function(a,b,c){a.dz=c;a.mi=b.Si;a.W||Gua(a)};
vw.prototype.Bt=function(a,b){if(0!=this.H&&(this.ze==a||this.Cg==a))if(this.mi=a.So,this.Cg==a&&3==this.H)if(7<this.Ok){try{var c=this.V.parse(b)}catch(d){c=null}if(va(c)&&3==c.length)if(a=c,0==a[0])a:{if(!this.Gi){if(this.ze)if(this.ze.En+3E3<this.Cg.En)yw(this),this.ze.cancel(),this.ze=null;else break a;Oua(this);nw()}}else this.QD=a[1],0<this.QD-this.Ts&&37500>a[2]&&this.dz&&0==this.jm&&!this.Qk&&(this.Qk=pw(r(this.Fa,this),6E3));else tw(this,11)}else"y2f%"!=b&&tw(this,11);else if(this.ze==a&&
yw(this),!yb(b))for(a=c=this.V.parse(b),b=0;b<a.length;b++)c=a[b],this.Ts=c[0],c=c[1],2==this.H?"c"==c[0]?(this.S=c[1],this.Sr=c[2],c=c[3],null!=c?this.Ok=c:this.Ok=6,this.H=3,this.Rf&&this.Rf.Nq(this),this.uA=sw(this,this.Yp()?this.Sr:null,this.fw),Mua(this)):"stop"==c[0]&&tw(this,7):3==this.H&&("stop"==c[0]?tw(this,7):"noop"!=c[0]&&this.Rf&&this.Rf.Mq(this,c),this.jm=0)};vw.prototype.Fa=function(){null!=this.Qk&&(this.Qk=null,this.ze.cancel(),this.ze=null,Oua(this),nw())};
var yw=function(a){null!=a.Qk&&(m.clearTimeout(a.Qk),a.Qk=null)};
vw.prototype.At=function(a){if(this.ze==a){yw(this);this.ze=null;var b=2}else if(this.Cg==a)this.Cg=null,b=1;else return;this.mi=a.So;if(0!=this.H)if(a.Yh)1==b?(b=a.Fl?a.Fl.length:0,a=t()-a.En,ww.dispatchEvent(new Eua(ww,b,a)),Jua(this),this.U.length=0):Mua(this);else{var c=a.Qj;if(!(3==c||7==c||0==c&&0<this.mi)){var d;if(d=1==b)this.Cg||this.Kj?d=!1:1==this.H||2<=this.Do?d=!1:(this.Kj=pw(r(this.ta,this,a),Nua(this,this.Do)),this.Do++,d=!0);if(d||2==b&&Oua(this))return}switch(c){case 1:tw(this,5);
break;case 4:tw(this,10);break;case 3:tw(this,6);break;case 7:tw(this,12);break;default:tw(this,2)}}};var Nua=function(a,b){var c=5E3+Math.floor(1E4*Math.random());a.Rf||(c*=2);return c*b};vw.prototype.Ba=function(a){if(!pg(arguments,this.H))throw Error("Rb`"+this.H);};var tw=function(a,b){if(2==b||9==b){var c=null;a.Rf&&(c=null);var d=r(a.Ma,a);c||(c=new tl("//www.google.com/images/cleardot.gif"),Gl(c));yua(c.toString(),1E4,d)}else nw();Pua(a,b)};
vw.prototype.Ma=function(a){a?nw():(nw(),Pua(this,8))};var Pua=function(a,b){a.H=0;a.Rf&&a.Rf.io(a,b);Iua(a);Hua(a)},Iua=function(a){a.H=0;a.mi=-1;if(a.Rf)if(0==a.U.length&&0==a.R.length)a.Rf.ho(a);else{var b=wg(a.U),c=wg(a.R);a.U.length=0;a.R.length=0;a.Rf.ho(a,b,c)}},sw=function(a,b,c){var d=Hl(c);if(""!=d.H)b&&vl(d,b+"."+d.H),wl(d,d.W);else{var e=window.location;d=cia(e.protocol,null,b?b+"."+e.hostname:e.hostname,e.port,c)}a.vo&&Ug(a.vo,function(a,b){Dl(d,b,a)});Dl(d,"VER",a.Ok);xw(a,d);return d};
vw.prototype.zv=function(a){if(a&&!this.hu)throw Error("Sb");a=new jp;a.U=this.hu;return a};var pw=function(a,b){if(!xa(a))throw Error("Tb");return m.setTimeout(function(){a()},b)};vw.prototype.Th=function(){ww.dispatchEvent(new Fua(ww))};var nw=function(){ww.dispatchEvent(new Dua(ww))};vw.prototype.Yp=function(){return this.hu||!(!oh||xh(10))};var Qua=function(){};f=Qua.prototype;f.Nq=function(){};f.Mq=function(){};f.io=function(){};f.ho=function(){};f.NB=function(){return{}};
var Rua={APISIDHASH:1,SAPISIDHASH:2,OAuth:3},Sua={1:"APISIDHASH",2:"SAPISIDHASH",3:"OAuth"};var Vua=function(a,b){var c=as(a,2);$r(a,3)&&Tua.contains(c)&&(b.Authorization=Sua[c]+" "+a.getToken(),Uua.contains(c)&&(b["X-Origin"]=as(a,1),b["X-Goog-AuthUser"]=es(a,4)));return b},Tua=new Cv([1,2,3]),Uua=new Cv([1,2]);var Wua=function(){this.H=8;this.R=t()};var zw=function(a,b,c){this.Da=!1;this.Ba=a;this.S=c;this.$=b;this.W=this.ka=0;this.H=new Am;this.H.listen(ww,"statevent",r(this.VW,this));this.va=new Rv(Math.random,es(c,11),es(c,12));this.ra=new Rv(Math.random,6E4,30);Sv(this.ra);this.Fa=new Rv(Math.random,250,7200);Sv(this.Fa);this.U=new Qv;this.Ka=new Wua;this.ma=-1;this.V=0;this.ta=null};v(zw,Qua);var Xua=function(a,b){this.H=a;this.U=b;this.R=0};
Xua.prototype.S=function(){this.R++;switch(this.H.getState()){case 1:case 2:if(3==this.R){this.U(this.H);return}break;case 3:if(5==this.R){this.U(this.H);return}break;case 0:return}L(this.S,2E4,this);this.H.getId()};var Aw=function(a,b,c){vw.call(this,a);this.tb=c;a=this.va=new Xua(this,b);L(a.S,2E4,a)};v(Aw,vw);Aw.prototype.getId=function(){return this.tb};Aw.prototype.Bt=function(a,b){var c=this.va;3==c.H.getState()&&(c.R=0);Aw.ua.Bt.call(this,a,b)};
var Bw=function(a,b){b!=a.ka&&(a.ka=b,a.W++);return a.W};f=zw.prototype;f.wv=function(a){var b=!this.U||this.U.getToken()!==a.getToken();this.U=a.clone();this.R&&(a={},a=Vua(this.U,a),this.R.Jm=a);b&&(b=this.V,this.V=1,2==b&&this.zA())};f.start=function(){Bw(this,1);this.open(this.va)};f.zG=function(){};f.open=function(a){if(1==this.ka){Bw(this,2);a=Sv(a)+es(this.S,3);bs(this.S,3,0);var b=this.W;L(function(){Yua(this,b)},a,this)}};
f.zA=function(){switch(this.ka){case 1:case 2:var a=this.Ka;var b=t();b=Math.floor((b-a.R)/3E5);a.H=Math.min(a.H+b,8);a.R+=3E5*b;0<a.H?(a.H--,a=!0):a=!1;a&&(2==this.V&&(this.V=0),Yua(this,this.W))}};f.NS=function(a){switch(a.getState()){case 1:case 2:a.disconnect();a.getId();break;case 3:a.disconnect(),a.getId()}};
var Yua=function(a,b){if(a.W==b){var c=Bw(a,3);a.R=new Aw("5",r(a.NS,a),c);a.R.Rf=a;b={};5==as(a.U,2)?a.R.hu=!0:(b=Vua(a.U,b),a.R.Jm=b);2==a.V?(a.io(a.R,2),a.R.disconnect()):(a.V=0,as(a.S,9)?Zua(as(a.S,9),r(function(a){this.W==c&&(a&&(this.ta=a),$ua(this))},a)):$ua(a))}},$ua=function(a){var b=a.Ba+"/cbp",c=a.Ba+"/bind",d={};ava(a,d);a.R.connect(b,c,d)},ava=function(a,b){$r(a.U,4)&&(b.authuser=as(a.U,4));4==as(a.U,2)&&(b.app_auth=a.U.getToken());b.ctype=as(a.S,2);$r(a.S,4)&&(b.service=as(a.S,4));$r(a.S,
6)&&(b.prop=as(a.S,6));$r(a.S,7)&&(b.appver=as(a.S,7));a.ta&&(b.gsessionid=a.ta);$r(a.S,10)&&(b.pageId=as(a.S,10));as(a.S,13)&&(b.sw=!0)};f=zw.prototype;f.NB=function(){var a={};ava(this,a);return a};f.close=function(){Bw(this,1);null!=this.R&&this.R.disconnect()};f.yA=function(a){if(null!=this.R){var b=this.R;if(0==b.H)throw Error("Qb");1E3==b.R.length&&b.V.stringify(a);b.R.push(new Cua(b.IU++,a));2!=b.H&&3!=b.H||Jua(b)}};
f.Nq=function(a){if(a==this.R){Bw(this,4);this.ra.reset();Sv(this.ra);var b=this.W;L(function(){this.W!=b||this.va.reset()},es(this.S,14),this);bva(this.$,new Cw)}};f.Mq=function(a,b){if(a==this.R){for(a=0;a<b.length;a++){var c=b[a],d=c.gsid;if(d)this.ta=d,b.splice(a,1);else if(c=c.osc)400<=c&&499>=c&&(this.ma=c,c=this.$,d=new Sta,Dw(c),c.U.Ef(c,d),null!=this.R&&this.R.disconnect()),b.splice(a,1)}0<b.length&&cva(this.$,b)}};
f.io=function(a){if(a==this.R){this.ma=a.mi;a=this.$;var b=new Sta;Dw(a);a.U.Ef(a,b)}};f.ho=function(a){if(a==this.R){a=this.ka;Bw(this,1);if(4==a||3==a){a=this.va;switch(this.ma){case 401:0!=this.V||as(this.S,8)||(this.V=2);break;case 429:a=this.ra;break;case 404:a=this.Fa}this.open(a)}this.ma=-1;this.R=null;dva(this.$)}};f.VW=function(){};f.dispose=function(){bg(this.H);this.Da=!0};f.isDisposed=function(){return!!this.Da};
var eva=function(a,b){kp(a,function(a){var c=null;try{var e=a.target;if(e.kh()){var g=mua(np(e));c={count:parseInt(g[0],10),BC:g[1].toString()}}}catch(h){}b(c)},"GET",void 0,void 0,500)},Zua=function(a,b){eva(a,function(c){c?eva(a,function(a){a?b(c.count<a.count?c.BC:a.BC):b(null)}):b(null)})};
var Ew=null;var Fw=function(){T.call(this)};v(Fw,T);var fva=null,Gw=function(){T.call(this)};v(Gw,T);var gva=null,Hw=function(){T.call(this)};v(Hw,T);var hva=null,Iw=function(){T.call(this)};v(Iw,T);var iva=null,Jw=function(){T.call(this)};v(Jw,T);var jva=null,Kw=function(){T.call(this)};v(Kw,T);var kva=null,Cw=function(){T.call(this)};v(Cw,T);var lva=null,Lw=function(){T.call(this)};v(Lw,T);var mva=null;Lw.prototype.Lc=function(){return as(this,1)};var Mw=function(){T.call(this)};v(Mw,T);var nva=null;
Mw.prototype.Lc=function(){return as(this,1)};var Nw=function(){T.call(this)};v(Nw,T);var ova=null;Nw.prototype.Lc=function(){return as(this,1)};Nw.prototype.getMessage=function(){return as(this,2)};var Ow=function(){T.call(this)};v(Ow,T);var pva=null;Ow.prototype.Lc=function(){return as(this,1)};Ow.prototype.getStatus=function(){return as(this,4)};var Pw=function(){T.call(this)};v(Pw,T);var qva=null,Qw=function(){T.call(this)};v(Qw,T);var rva=null,Rw=function(){T.call(this)};v(Rw,T);
var sva=null,Sw=function(){T.call(this)};v(Sw,T);var tva=null;Sw.prototype.getStatus=function(){return as(this,1)};Fw.prototype.getDescriptor=function(){var a=fva;a||(fva=a=gs(Fw,{0:{name:"Version",Cb:"buzz.channel.Version"},1:{name:"major_version",Oa:5,type:Number},2:{name:"minor_version",Oa:5,type:Number}}));return a};Fw.getDescriptor=Fw.prototype.getDescriptor;
Gw.prototype.getDescriptor=function(){var a=gva;a||(gva=a=gs(Gw,{0:{name:"ProtocolVersion",Cb:"buzz.channel.ProtocolVersion"},1:{name:"version",Oa:11,type:Fw}}));return a};Gw.getDescriptor=Gw.prototype.getDescriptor;Hw.prototype.getDescriptor=function(){var a=hva;a||(hva=a=gs(Hw,{0:{name:"ClientVersion",Cb:"buzz.channel.ClientVersion"},1:{name:"version",Oa:11,type:Fw},2:{name:"platform",Oa:9,type:String},3:{name:"language",Oa:9,type:String},4:{name:"application_info",Oa:9,type:String}}));return a};
Hw.getDescriptor=Hw.prototype.getDescriptor;Iw.prototype.getDescriptor=function(){var a=iva;a||(iva=a=gs(Iw,{0:{name:"SessionId",Cb:"buzz.channel.SessionId"},1:{name:"service_name",Oa:9,type:String},2:{name:"session_name",Oa:9,type:String}}));return a};Iw.getDescriptor=Iw.prototype.getDescriptor;
Jw.prototype.getDescriptor=function(){var a=jva;a||(jva=a=gs(Jw,{0:{name:"ClientToServerMessage",Cb:"buzz.channel.ClientToServerMessage"},1:{name:"header",Oa:11,type:Kw},2:{name:"init_endpoint_message",Oa:11,type:Cw},3:{name:"init_session_message",Oa:11,type:Lw},4:{name:"client_data_message_deprecated",Oa:11,type:Nw},5:{name:"send_on_disconnect_message",Oa:11,type:Nw},6:{name:"close_session_message",Oa:11,type:Mw}}));return a};Jw.getDescriptor=Jw.prototype.getDescriptor;
Kw.prototype.getDescriptor=function(){var a=kva;a||(kva=a=gs(Kw,{0:{name:"ClientHeader",Cb:"buzz.channel.ClientHeader"},1:{name:"protocol_version",Oa:11,type:Gw},2:{name:"client_version",Oa:11,type:Hw},3:{name:"client_time_ms",Oa:3,type:Number},4:{name:"max_known_server_time_ms",Oa:3,type:Number},5:{name:"message_id",Oa:9,type:String}}));return a};Kw.getDescriptor=Kw.prototype.getDescriptor;
Cw.prototype.getDescriptor=function(){var a=lva;a||(lva=a=gs(Cw,{0:{name:"InitEndpointMessage",Cb:"buzz.channel.InitEndpointMessage"}}));return a};Cw.getDescriptor=Cw.prototype.getDescriptor;Lw.prototype.getDescriptor=function(){var a=mva;a||(mva=a=gs(Lw,{0:{name:"InitSessionMessage",Cb:"buzz.channel.InitSessionMessage"},1:{name:"session_id",Oa:11,type:Iw}}));return a};Lw.getDescriptor=Lw.prototype.getDescriptor;
Mw.prototype.getDescriptor=function(){var a=nva;a||(nva=a=gs(Mw,{0:{name:"CloseSessionMessage",Cb:"buzz.channel.CloseSessionMessage"},1:{name:"session_id",Oa:11,type:Iw}}));return a};Mw.getDescriptor=Mw.prototype.getDescriptor;Nw.prototype.getDescriptor=function(){var a=ova;a||(ova=a=gs(Nw,{0:{name:"DataMessage",Cb:"buzz.channel.DataMessage"},1:{name:"session_id",Oa:11,type:Iw},2:{name:"message",Oa:9,type:String}}));return a};Nw.getDescriptor=Nw.prototype.getDescriptor;
Ow.prototype.getDescriptor=function(){var a=pva;a||(pva=a=gs(Ow,{0:{name:"SessionStatusMessage",Cb:"buzz.channel.SessionStatusMessage"},1:{name:"session_id",Oa:11,type:Iw},2:{name:"address",Oa:9,type:String},3:{name:"is_broadcast_to_user",Oa:8,type:Boolean},4:{name:"status",Oa:11,type:Rw}}));return a};Ow.getDescriptor=Ow.prototype.getDescriptor;
Pw.prototype.getDescriptor=function(){var a=qva;a||(qva=a=gs(Pw,{0:{name:"ServerToClientMessage",Cb:"buzz.channel.ServerToClientMessage"},1:{name:"header",Oa:11,type:Qw},2:{name:"server_data_message",Oa:11,type:Nw},3:{name:"channel_status_message",Oa:11,type:Sw},4:{name:"session_status_message",Oa:11,type:Ow}}));return a};Pw.getDescriptor=Pw.prototype.getDescriptor;
Qw.prototype.getDescriptor=function(){var a=rva;a||(rva=a=gs(Qw,{0:{name:"ServerHeader",Cb:"buzz.channel.ServerHeader"},1:{name:"protocol_version",Oa:11,type:Gw},4:{name:"server_time_ms",Oa:3,type:Number},5:{name:"message_id",Oa:9,type:String}}));return a};Qw.getDescriptor=Qw.prototype.getDescriptor;Rw.prototype.getDescriptor=function(){var a=sva;a||(sva=a=gs(Rw,{0:{name:"StatusP",Cb:"buzz.channel.StatusP"},1:{name:"code",Oa:5,type:Number},2:{name:"description",Oa:9,type:String}}));return a};
Rw.getDescriptor=Rw.prototype.getDescriptor;Sw.prototype.getDescriptor=function(){var a=tva;a||(tva=a=gs(Sw,{0:{name:"ChannelStatusMessage",Cb:"buzz.channel.ChannelStatusMessage"},1:{name:"status",Oa:11,type:Rw},2:{name:"jid_resource",Oa:9,type:String}}));return a};Sw.getDescriptor=Sw.prototype.getDescriptor;
var uva=function(){if(uh){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Pg))?a[1]:"0"}return th?(a=/10[_.][0-9_.]+/,(a=a.exec(Pg))?a[0].replace(/_/g,"."):"10"):Oda?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Pg))?a[1]:""):Pda||Qda||Rda?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Pg))?a[1].replace(/_/g,"."):""):""}();
var vva=new Gw,wva=new Fw;bs(wva,1,3);bs(wva,2,2);bs(vva,1,wva);var xva=new Fw;bs(xva,1,3);bs(xva,2,2);var yva=new Fw;bs(yva,1,3);bs(yva,2,2);var Tw=function(a,b){a=new tl(a);var c=a.H;if("client-channel.google.com"==c){if(!Ew){try{var d=!!m.chrome.loadTimes().wasFetchedViaSpdy}catch(e){d=!1}d?Ew="0":(d=parseInt(Pta.get("llbcs","-1"),10),isNaN(d)&&(d=-1),d=((d+1)%30).toString(),Pta.set("llbcs",d,-1,"/",void 0,!1),Ew=d)}(d=Ew)&&vl(a,d+"."+c)}this.V=a;this.S=0;this.$=b;this.Wb=this.H=null;(b=(b=window.gapi)?b.load:null)&&b("auth")};Tw.prototype.Aa=function(){return this.Wb};
var zva=function(a){var b=a.$,c=a.H;a=(self.SharedWorker&&a.U(),!1);var d=new Pv;bs(d,2,b);null!==c&&bs(d,4,c);bs(d,8,!1);bs(d,13,a);return d};Tw.prototype.R=function(){var a;if(m.gapi&&m.gapi.auth&&(a=m.gapi.auth.getAuthHeaderValueForFirstParty))try{var b=a([]);if(b){var c=b.split(" ");var d={scheme:c[0],hash:c[1]}}else d=null;return d}catch(e){}return null};
var Uw=function(a,b){Tw.call(this,a,b)};v(Uw,Tw);Uw.prototype.U=Ci;Uw.prototype.W=function(a){return new zw(this.V.toString(),a,zva(this))};Uw.prototype.R=function(a){return Uw.ua.R.call(this,a)||Rta()};var Vw=function(){A.call(this);this.R={}};v(Vw,A);Vw.prototype.connect=function(a){a&&a()};Vw.prototype.lg=function(){return!0};Vw.prototype.registerService=function(a,b,c){this.R[a]={callback:b,eF:!!c}};Vw.prototype.getService=function(a,b){var c=this.R[a];return c?c:this.$?{callback:Aa(this.$,a),eF:ya(b)}:null};var Ava=function(a,b){if(b&&na(a))try{return JSON.parse(a)}catch(c){return null}else if(!b&&!na(a))return ip(a);return a};Vw.prototype.Na=function(){Vw.ua.Na.call(this);delete this.R;delete this.$};
var Bva={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},Cva=["pu","lru","pru","lpu","ppu"],Ww={},Xw=function(a){for(var b=Dva,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d},Dva="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
var Yw=function(a){A.call(this);this.Wb=a||gk()};v(Yw,A);Yw.prototype.uk=0;Yw.prototype.getType=function(){return this.uk};var Zw=function(a){return Pk(a.Wb)};Yw.prototype.getName=function(){return Bva[String(this.uk)]||""};var bx=function(a,b){Yw.call(this,b);this.R=a;this.H=new Am(this);B(this,this.H);this.$=new Yk(100,Zw(this));B(this,this.$);this.V=new Si;this.W=new Si;this.S=new Si;this.ma=Xw(10);this.ka=null;this.U={};this.ta=this.R.name;$w(this.R,this.R.name+"_"+ax(this.R));this.ra=!1;Yi(this.S,this.V);Yi(this.S,this.W);this.S.mc(this.FN,this);this.S.callback(!0);this.H.listen(this.$,"tick",this.nC)};v(bx,Yw);
var Eva={},Hva=function(a){var b=new Fva(a.channelName,a.service,a.payload);a=b.H;var c=b.service;b=b.payload;var d=Ww[a];if(d)return d.S(c,b),!0;d=Gva(b)[0];for(var e in Ww){var g=Ww[e];if(1==ax(g)&&!g.lg()&&"tp"==c&&"SETUP"==d)return $w(g,a),g.S(c,b),!0}return!1};f=bx.prototype;f.uk=7;
f.ku=function(a){a=Gva(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.V.H||this.V.callback(!0);break;case "SETUP":this.send("tp","SETUP_ACK"),this.W.H||this.W.callback(!0),null!=this.ka&&this.ka!=b&&this.send("tp","SETUP,"+this.ma),this.ka=b}};f.connect=function(){var a=Zw(this);if(a){var b=za(a);0==(Eva[b]||0)&&null==ra("crosswindowmessaging.channel",a)&&qa("crosswindowmessaging.channel",Hva,a);Eva[b]++;this.ra=!0;this.nC()}};
f.nC=function(){this.R.lg()?this.$.stop():(this.$.start(),this.send("tp","SETUP,"+this.ma))};f.send=function(a,b){this.R.Ng&&(a=new Fva(this.ta+"_"+(0==ax(this.R)?1:0),a,b),this.R.H.directSyncMode?this.vB(a):this.U[za(a)]=L(r(this.vB,this,a),0))};f.vB=function(a){var b=za(a);this.U[b]&&delete this.U[b];try{var c=ra("crosswindowmessaging.channel",this.R.Ng)}catch(d){return}if(null!==c)try{c({channelName:a.H,service:a.service,payload:a.payload})}catch(d){}};f.FN=function(){cx(this.R,0)};
f.Na=function(){if(this.ra){var a=Zw(this),b=za(a);1==--Eva[b]&&qa("crosswindowmessaging.channel",null,a)}this.U&&(Ug(this.U,function(a){Zk(a)}),this.U=null);this.V&&(this.V.cancel(),delete this.V);this.W&&(this.W.cancel(),delete this.W);this.S&&(this.S.cancel(),delete this.S);bx.ua.Na.call(this)};var Gva=function(a){a=a.split(",");a[1]=a[1]||null;return a},Fva=function(a,b,c){this.H=a;this.service=b;this.payload=c};
var dx=function(a,b){Yw.call(this,b);this.R=a;this.S=[];this.W=r(this.AI,this)};v(dx,Yw);f=dx.prototype;f.uk=2;f.ny=!1;f.connect=function(){0==ax(this.R)?(this.H=this.R.Zm,this.H.XPC_toOuter=r(this.ED,this)):this.qA()};
f.qA=function(){var a=!0;try{this.H||(this.H=Zw(this).frameElement),this.H&&this.H.XPC_toOuter&&(this.U=this.H.XPC_toOuter,this.H.XPC_toOuter.XPC_toInner=r(this.ED,this),a=!1,this.send("tp","SETUP_ACK"),cx(this.R))}catch(b){}a&&(this.V||(this.V=r(this.qA,this)),Zw(this).setTimeout(this.V,100))};f.ku=function(a){if(0!=ax(this.R)||this.R.lg()||"SETUP_ACK"!=a)throw Error("Vb");this.U=this.H.XPC_toOuter.XPC_toInner;cx(this.R)};
f.ED=function(a,b){this.ny||0!=this.S.length?(this.S.push({serviceName:a,payload:b}),1==this.S.length&&Zw(this).setTimeout(this.W,1)):this.R.S(a,b)};f.AI=function(){for(;this.S.length;){var a=this.S.shift();this.R.S(a.serviceName,a.payload)}};f.send=function(a,b){this.ny=!0;this.U(a,b);this.ny=!1};f.Na=function(){dx.ua.Na.call(this);this.H=this.U=null};
var ex=function(a,b){Yw.call(this,b);this.H=a;this.ra=this.H.H.ppu;this.Ta=this.H.H.lpu;this.W=[]},Iva,fx;v(ex,Yw);f=ex.prototype;f.vX=5;f.uk=4;f.lw=0;f.On=!1;f.Tr=!1;f.SF=null;var gx=function(a){return"googlexpc_"+a.H.name+"_msg"},hx=function(a){return"googlexpc_"+a.H.name+"_ack"},Kva=function(a){try{if(!a.isDisposed()&&Jva(a.H))return a.H.Ng.frames||{}}catch(b){}return{}},Lva=function(a,b){return Kva(a)[b]};
ex.prototype.connect=function(){if(!this.isDisposed()&&Jva(this.H)){if(!this.Tr){var a=gx(this);this.S=Mva(this,a);this.ka=Zw(this).frames[a];a=hx(this);this.R=Mva(this,a);this.$=Zw(this).frames[a];this.Tr=!0}if(Nva(this,gx(this))&&Nva(this,hx(this)))this.Da=new Ova(this,Lva(this,gx(this)),r(this.Qa,this)),this.ta=new Ova(this,Lva(this,hx(this)),r(this.Ma,this)),this.Ba();else{if(1==ax(this.H))this.SF||0<this.vX--||($w(this.H,Xw(10)),Pva(this),this.Tr=!1,this.SF=Mva(this,"googlexpc_reconnect_"+this.H.name));
else if(0==ax(this.H)){a=Kva(this);for(var b=a.length,c=0;c<b;c++){try{if(a[c]&&a[c].name)var d=a[c].name}catch(g){}if(d){var e=d.split("_");if(3==e.length&&"googlexpc"==e[0]&&"reconnect"==e[1]){this.H.name=e[2];Pva(this);this.Tr=!1;break}}}}Zw(this).setTimeout(r(this.connect,this),100)}}};
var Mva=function(a,b){var c=tk("IFRAME"),d=c.style;d.position="absolute";d.top="-10px";d.left="10px";d.width="1px";d.height="1px";c.id=c.name=b;c.src=a.ra+"#INITIAL";Zw(a).document.body.appendChild(c);return c},Pva=function(a){a.S&&(a.S.parentNode.removeChild(a.S),a.S=null,a.ka=null);a.R&&(a.R.parentNode.removeChild(a.R),a.R=null,a.$=null)},Nva=function(a,b){try{var c=Lva(a,b);if(!c||0!=c.location.href.indexOf(a.Ta))return!1}catch(d){return!1}return!0};
ex.prototype.Ba=function(){var a=Kva(this);a[hx(this)]&&a[gx(this)]?(this.Fa=new Qva(this.ra,this.ka),this.V=new Qva(this.ra,this.$),Zw(this).setTimeout(r(function(){this.Fa.send("SETUP");this.On=!0},this),100)):(this.va||(this.va=r(this.Ba,this)),Zw(this).setTimeout(this.va,100))};var Rva=function(a){if(a.Ka&&a.Ua&&(cx(a.H),a.U)){for(var b=0,c;b<a.U.length;b++)c=a.U[b],a.H.S(c.service,c.payload);delete a.U}};
ex.prototype.Qa=function(a){if("SETUP"==a)this.V&&(this.V.send("SETUP_ACK"),this.Ka=!0,Rva(this));else if(this.H.lg()||this.Ka){var b=a.indexOf("|"),c=a.substring(0,b);a=a.substring(b+1);b=c.indexOf(",");if(-1==b)this.V.send("ACK:"+c),Sva(this,a);else{var d=c.substring(0,b);this.V.send("ACK:"+d);c=c.substring(b+1).split("/");b=parseInt(c[0],10);c=parseInt(c[1],10);1==b&&(this.ma=[]);this.ma.push(a);b==c&&(Sva(this,this.ma.join("")),delete this.ma)}}};
ex.prototype.Ma=function(a){"SETUP_ACK"==a?(this.On=!1,this.Ua=!0,Rva(this)):this.H.lg()&&this.On&&parseInt(a.split(":")[1],10)==this.lw&&(this.On=!1,Tva(this))};var Tva=function(a){if(!a.On&&a.W.length){var b=a.W.shift();++a.lw;a.Fa.send(a.lw+b);a.On=!0}},Sva=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c);b=b.substring(c+1);a.H.lg()?a.H.S(d,b):(a.U||(a.U=[])).push({service:d,payload:b})};
ex.prototype.send=function(a,b){a=a+":"+b;if(!oh||3800>=b.length)this.W.push("|"+a);else{b=b.length;for(var c=Math.ceil(b/3800),d=0,e=1;d<b;)this.W.push(","+e+"/"+c+"|"+a.substr(d,3800)),e++,d+=3800}Tva(this)};ex.prototype.Na=function(){ex.ua.Na.call(this);var a=Uva;ug(a,this.Da);ug(a,this.ta);this.Da=this.ta=null;Ak(this.S);Ak(this.R);this.ka=this.$=this.S=this.R=null};
var Uva=[],Vva=r(function(){var a=Uva,b,c=!1;try{for(var d=0;b=a[d];d++)c=c||b.receive()}catch(e){if(b.U.H.close(),!a.length)return}a=t();c&&(Iva=a);fx=window.setTimeout(Vva,1E3>a-Iva?10:100)},ex),Wva=function(){Iva=t();fx&&window.clearTimeout(fx);fx=window.setTimeout(Vva,10)},Qva=function(a,b){if(!/^https?:\/\//.test(a))throw Error("Wb`"+a);this.S=a;this.R=b;this.H=0};Qva.prototype.send=function(a){this.H=++this.H%2;a=this.S+"#"+this.H+encodeURIComponent(a);try{sh?Rj(this.R.location,a):this.R.location.replace(a)}catch(b){}Wva()};
var Ova=function(a,b,c){this.U=a;this.R=b;this.S=c;this.H=this.R.location.href.split("#")[0]+"#INITIAL";Uva.push(this);Wva()};Ova.prototype.receive=function(){var a=this.R.location.href;if(a!=this.H){this.H=a;if(a=a.split("#")[1])a=a.substr(1),this.S(decodeURIComponent(a));return!0}return!1};
var ix=function(a,b){Yw.call(this,b);this.H=a;this.S=this.H.H.pru;this.R=this.H.H.ifrid;sh&&Xva()};v(ix,Yw);if(sh)var jx=[],Yva=0,Xva=function(){Yva||(Yva=window.setTimeout(function(){Zva()},1E3))},Zva=function(a){var b=t();for(a=a||3E3;jx.length&&b-jx[0].timestamp>=a;){var c=jx.shift().FT;Ak(c)}Yva=window.setTimeout($va,1E3)},$va=function(){Zva()};var awa={};ix.prototype.uk=3;ix.prototype.connect=function(){Zw(this).xpcRelay||(Zw(this).xpcRelay=bwa);this.send("tp","SETUP")};
var bwa=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c);b=b.substr(c+1);if(oh&&-1!=(c=d.indexOf("|"))){h=d.substr(0,c);d=d.substr(c+1);c=d.indexOf("+");var e=d.substr(0,c);c=parseInt(d.substr(c+1),10);var g=awa[e];g||(g=awa[e]={MB:[],RF:0,wB:0});Gb(d,"++")&&(g.wB=c+1);g.MB[c]=b;g.RF++;if(g.RF!=g.wB)return;b=g.MB.join("");delete awa[e]}else var h=d;Ww[a].S(h,decodeURIComponent(b))};ix.prototype.ku=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),cx(this.H)):"SETUP_ACK"==a&&cx(this.H)};
ix.prototype.send=function(a,b){b=encodeURIComponent(b);var c=b.length;if(oh&&1800<c)for(var d=Pb(),e=0,g=0;e<c;g++){var h=b.substr(e,1800);e+=1800;cwa(this,a,h,d+(e>=c?"++":"+")+g)}else cwa(this,a,b)};
var cwa=function(a,b,c,d){if(oh){var e=Zw(a).document.createElement("DIV");Pj(e,Xga(null,{onload:vj("this.xpcOnload()"),sandbox:null}));e=e.childNodes[0];e.xpcOnload=dwa}else e=Zw(a).document.createElement("IFRAME"),sh?jx.push({timestamp:t(),FT:e}):si(e,"load",dwa);var g=e.style;g.visibility="hidden";g.width=e.style.height="0px";g.position="absolute";g=a.S;g+="#"+a.H.name;a.R&&(g+=","+a.R);g+="|"+b;d&&(g+="|"+d);e.src=g+(":"+c);Zw(a).document.body.appendChild(e)},dwa=function(){Ak(this)}; ix.prototype.Na=function(){ix.ua.Na.call(this);sh&&Zva(0)};
var kx=function(a,b,c,d,e){Yw.call(this,c);this.W=a;this.$=e||2;this.Da=b||"*";this.H=new Am(this);this.ka=new Yk(100,Zw(this));this.ta=!!d;this.U=new Si;this.V=new Si;this.S=new Si;this.Ba=Xw(10);this.ra=null;this.ta?1==ax(this.W)?Yi(this.S,this.U):Yi(this.S,this.V):(Yi(this.S,this.U),2==this.$&&Yi(this.S,this.V));this.S.mc(this.GN,this);this.S.callback(!0);this.H.listen(this.ka,"tick",this.oC)};v(kx,Yw);kx.prototype.R=null;kx.prototype.va=!1;kx.prototype.uk=1;var lx={};kx.prototype.ma=0;
var gwa=function(a){var b=a.H.data;if(!na(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c);c=b.substring(c+1,d);b=b.substring(d+1);if(d=Ww[e])return d.S(c,b,a.H.origin),!0;d=ewa(b)[0];for(var g in Ww){var h=Ww[g];if(1==ax(h)&&!h.lg()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d)&&fwa(h,a.H.origin))return $w(h,e),h.S(c,b),!0}return!1};
kx.prototype.ku=function(a){var b=ewa(a);a=b[1];switch(b[0]){case "SETUP_ACK":mx(this,1);this.U.H||this.U.callback(!0);break;case "SETUP_ACK_NTPV2":2==this.$&&(mx(this,2),this.U.H||this.U.callback(!0));break;case "SETUP":mx(this,1);hwa(this,1);break;case "SETUP_NTPV2":2==this.$&&(b=this.R,mx(this,2),hwa(this,2),1!=b&&null==this.ra||this.ra==a||iwa(this),this.ra=a)}};
var iwa=function(a){2!=a.$||null!=a.R&&2!=a.R||a.send("tp","SETUP_NTPV2,"+a.Ba);null!=a.R&&1!=a.R||a.send("tp","SETUP")},hwa=function(a,b){if(2!=a.$||null!=a.R&&2!=a.R||2!=b){if(null!=a.R&&1!=a.R||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.V.H||a.V.callback(!0)},mx=function(a,b){b>a.R&&(a.R=b);1==a.R&&(a.V.H||a.ta||a.V.callback(!0),a.ra=null)};f=kx.prototype;
f.connect=function(){var a=Zw(this),b=za(a),c=lx[b];pa(c)||(c=0);0==c&&si(a.postMessage?a:a.document,"message",gwa,!1,kx);lx[b]=c+1;this.va=!0;this.oC()};f.oC=function(){var a=0==ax(this.W);this.ta&&a||this.W.lg()||this.isDisposed()?this.ka.stop():(this.ka.start(),iwa(this))};
f.send=function(a,b){var c=this.W.Ng;c&&(this.send=function(a,b){var d=this,e=this.W.name;this.ma=L(function(){d.ma=0;try{var g=c.postMessage?c:c.document;g.postMessage&&g.postMessage(e+"|"+a+":"+b,d.Da)}catch(n){}},0)},this.send(a,b))};f.GN=function(){cx(this.W,1==this.$||1==this.R?200:void 0)};
f.Na=function(){if(this.va){var a=Zw(this),b=za(a),c=lx[b];lx[b]=c-1;1==c&&vi(a.postMessage?a:a.document,"message",gwa,!1,kx)}this.ma&&(Zk(this.ma),this.ma=0);bg(this.H);delete this.H;bg(this.ka);delete this.ka;this.U.cancel();delete this.U;this.V.cancel();delete this.V;this.S.cancel();delete this.S;delete this.send;kx.ua.Na.call(this)};var ewa=function(a){a=a.split(",");a[1]=a[1]||null;return a};
var nx=function(a,b){Yw.call(this,b);this.H=a;this.R=a.at||"";this.S=a.rat||"";a=Zw(this);if(!a.nix_setup_complete)try{a.execScript("Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function",
"vbscript"),a.nix_setup_complete=!0}catch(c){}this.GCXPC____NIXJS_handle_message=this.ZQ;this.GCXPC____NIXJS_create_channel=this.HN};v(nx,Yw);f=nx.prototype;f.uk=6;f.ln=!1;f.Cl=null;f.connect=function(){0==ax(this.H)?this.pA():this.oA()};f.pA=function(){if(!this.ln){var a=this.H.Zm;try{a.contentWindow.opener=(0,Zw(this).GCXPC____NIXVBS_get_wrapper)(this,this.R),this.ln=!0}catch(b){}this.ln||Zw(this).setTimeout(r(this.pA,this),100)}};
f.oA=function(){if(!this.ln){try{var a=Zw(this).opener;if(a&&"GCXPC____NIXVBS_container"in a){this.Cl=a;if(this.Cl.GetAuthToken()!=this.S)return;this.Cl.CreateChannel((0,Zw(this).GCXPC____NIXVBS_get_wrapper)(this,this.R));this.ln=!0;cx(this.H)}}catch(b){return}this.ln||Zw(this).setTimeout(r(this.oA,this),100)}};f.HN=function(a){this.Cl=a;this.Cl.GetAuthToken()==this.S&&cx(this.H)};f.ZQ=function(a,b){Zw(this).setTimeout(r(function(){this.H.S(a,b)},this),1)}; f.send=function(a,b){this.Cl.SendMessage(a,b)};f.Na=function(){nx.ua.Na.call(this);this.Cl=null};
var ox=function(a,b){Vw.call(this);for(var c=0,d;d=Cva[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("Xb`"+a[d]+"`"+d);this.H=a;this.name=this.H.cn||Xw(10);this.Wb=b||gk();this.U=[];this.V=new Am(this);a.lpu=a.lpu||Hg(Pk(this.Wb).location.href)+"/robots.txt";a.ppu=a.ppu||Hg(a.pu||"")+"/robots.txt";Ww[this.name]=this;kfa(window,"unload",jwa)||ri(window,"unload",jwa)};v(ox,Vw);var kwa=/^%*tp$/,lwa=/^%+tp$/;f=ox.prototype;f.Cj=null;f.zi=null;f.Hg=null;f.Lm=1;f.lg=function(){return 2==this.Lm};
f.Ng=null;f.Zm=null;
var Jva=function(a){try{return!!a.Ng&&!a.Ng.closed}catch(b){return!1}},owa=function(a,b,c){var d=a.H.ifrid;d||(d=a.H.ifrid="xpcpeer"+Xw(4));var e=gk(b).createElement("IFRAME");e.id=e.name=d;c?c(e):e.style.width=e.style.height="100%";mwa(a);a.zi=new Si(void 0,a);var g=nwa(a);Bm(a.V,e,"load",a.zi.callback,!1,a.zi);rh||sh?window.setTimeout(r(function(){b.appendChild(e);e.src=g.toString()},a),1):(e.src=g.toString(),b.appendChild(e))},mwa=function(a){a.zi&&(a.zi.cancel(),a.zi=null);a.U.length=0;a.V.removeAll()},
nwa=function(a){var b=a.H.pu;na(b)&&(b=a.H.pu=new tl(b));var c={};c.cn=a.name;c.tp=a.H.tp;c.osh=a.H.osh;a.H.lru&&(c.pru=a.H.lru);a.H.lpu&&(c.ppu=a.H.lpu);a.H.ppu&&(c.lpu=a.H.ppu);(a=a.H.role)&&(c.role=1==a?0:1);Dl(b,"xpc",ip(c));return b};ox.prototype.connect=function(a){this.W=a||sa;3==this.Lm&&(this.Lm=1);this.zi?this.zi.mc(this.ka):this.ka()};
ox.prototype.ka=function(){this.zi=null;this.H.ifrid&&(this.Zm=this.Wb.ha(this.H.ifrid));if(this.Zm){var a=this.Zm.contentWindow;a||(a=window.frames[this.H.ifrid]);this.Ng=a}if(!this.Ng){if(window==window.top)throw Error("Zb");this.Ng=window.parent}if(!this.Hg){if(!this.H.tp){a=this.H;if(xa(document.postMessage)||xa(window.postMessage)||oh&&window.postMessage)var b=1;else if(rh)b=2;else if(oh&&this.H.pru)b=3;else{var c;if(c=oh){c=!1;try{b=window.opener,window.opener={},c=Ha(window,"opener"),window.opener=
b}catch(d){}}b=c?6:4}a.tp=b}switch(this.H.tp){case 1:this.Hg=new kx(this,this.H.ph,this.Wb,!!this.H.osh,this.H.nativeProtocolVersion||2);break;case 6:this.Hg=new nx(this,this.Wb);break;case 2:this.Hg=new dx(this,this.Wb);break;case 3:this.Hg=new ix(this,this.Wb);break;case 4:this.Hg=new ex(this,this.Wb);break;case 7:if(a=this.Ng)try{a=window.document.domain==this.Ng.document.domain}catch(d){a=!1}a&&(this.Hg=new bx(this,this.Wb))}if(!this.Hg)throw Error("Yb");}for(this.Hg.connect();0<this.U.length;)this.U.shift()()};
ox.prototype.close=function(){mwa(this);this.Lm=3;bg(this.Hg);this.W=this.Hg=null;bg(this.Cj);this.Cj=null};var cx=function(a,b){a.lg()||a.Cj&&a.Cj.Zg()||(a.Lm=2,bg(a.Cj),p(b)?(a.Cj=new Vn(a.W,b),a.Cj.start()):(a.Cj=null,a.W()))};ox.prototype.send=function(a,b){this.lg()&&(Jva(this)?(ya(b)&&(b=ip(b)),this.Hg.send(pwa(a),b)):this.close())};
ox.prototype.S=function(a,b,c){this.zi?this.U.push(r(this.S,this,a,b,c)):fwa(this,c)&&!this.isDisposed()&&3!=this.Lm&&(a&&"tp"!=a?this.lg()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=lwa.test(a)?a.substring(1):a,a=this.getService(a,b))&&(b=Ava(b,a.eF),null!=b&&a.callback(b)):this.Hg.ku(b))};
var pwa=function(a){kwa.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},ax=function(a){var b=a.H.role;return pa(b)?b:window.parent==a.Ng?1:0},$w=function(a,b){delete Ww[a.name];a.name=b;Ww[b]=a},fwa=function(a,b){var c=a.H.ph;return yb(Nb(b))||yb(Nb(c))||b==a.H.ph};ox.prototype.Na=function(){this.close();this.Zm=this.Ng=null;delete Ww[this.name];bg(this.V);delete this.V;ox.ua.Na.call(this)};var jwa=function(){for(var a in Ww)bg(Ww[a])};
var qwa=function(a,b,c,d){this.U=a;this.S=b;this.Wb=c;this.W=d;this.R=new Rv(Math.random,5E3,128);this.H=null},rwa=function(a){a.H=new ox(a.U,a.Wb||void 0);var b=nua(a.S);owa(a.H,b);L(a.V,Sv(a.R)+5E3,a);a.H.connect(r(function(){this.R.reset();this.W(this.H)},a))},swa=function(a,b){a=Bk(hk(document,a));b=new tl(b);for(var c=0;c<a.length;++c)if("IFRAME"==a[c].tagName){var d=new tl(a[c].src);d.H==b.H&&d.S==b.S&&Ak(a[c])}};qwa.prototype.V=function(){this.H&&!this.H.lg()&&(twa(this),rwa(this))}; var twa=function(a){a.H&&(a.H.close(),a.H=null);swa(a.S,a.U.pu)};
var px=function(a,b,c,d,e){this.U=!1;this.W=a;this.V=b;this.H=c;this.config=e;this.S=d;this.R=null};px.prototype.start=function(){this.H.start(uwa(this),this.V,r(this.onConnect,this))};px.prototype.zG=function(){qx(this.H,"sh",[])};
px.prototype.onConnect=function(){this.H.registerService("cha",r(this.Mq,this),!0);this.H.registerService("co",r(this.Nq,this),!0);this.H.registerService("cc",r(this.ho,this),!0);this.H.registerService("ce",r(this.io,this),!0);this.H.registerService("cse",r(this.nI,this),!0);this.R&&this.wv(this.R);qx(this.H,"s",[])};
var uwa=function(a){var b=new tl(a.W),c=fw(a.config);Dl(b,"cfg",c);Dl(b,"ctype",as(a.config,2));(c=as(a.config,5))&&Dl(b,"gapi_src",c);(c=as(a.config,4))&&Dl(b,"service",c);null!=a.R&&3==as(a.R,2)&&Dl(b,"oauth_token",a.R.getToken());as(a.config,10)&&Dl(b,"pageId",as(a.config,10));return b.toString()};f=px.prototype;f.close=function(){this.H.close();swa(this.V,this.W)};f.wv=function(a){this.R=a;a=kua.Za(this.R);qx(this.H,"uap",a)};f.yA=function(a){qx(this.H,"sm",a)};
f.zA=function(){qx(this.H,"tcn",[])};f.Nq=function(){bva(this.S,new Cw)};f.Mq=function(a){cva(this.S,a)};f.ho=function(){dva(this.S)};f.io=function(){var a=this.S,b=new Sta;Dw(a);a.U.Ef(a,b)};f.nI=function(){};f.isDisposed=function(){return this.U};f.dispose=function(){this.U=!0};
var rx=function(a){this.Wb=a;this.R=this.H=null};rx.prototype.start=function(a,b,c){var d={};d.pu=a;this.R=new qwa(d,b,this.Wb,r(this.S,this,c));rwa(this.R)};rx.prototype.S=function(a,b){this.H=b;a()};rx.prototype.registerService=function(a,b,c){this.H.registerService(a,b,c)};var qx=function(a,b,c){a.H&&a.H.lg()&&a.H.send(b,c||[])};rx.prototype.close=function(){twa(this.R);this.H=null};
var sx=function(a,b,c){Tw.call(this,a,b);this.ka=c};v(sx,Tw);sx.prototype.U=Di;sx.prototype.W=function(a){return new px(this.V.toString(),this.ka,new rx(this.Aa()),a,zva(this))};sx.prototype.R=function(a){return sx.ua.R.call(this,a)||Rta()};var tx=function(a,b,c,d){a=new tl(a);0!=b&&Dl(a,"authuser",b);null!=c&&Dl(a,"service",c);this.R=a.toString();this.$c=d;this.V=0};tx.prototype.start=function(){var a=this.$c;a.ta=!0;ux(a,!0)};tx.prototype.send=function(a,b,c){var d=new tl(this.R),e;for(e in c)Dl(d,e,c[e]);kp(d.toString(),r(this.S,this,this.V++),"POST",a,b,void 0,!0)};tx.prototype.S=function(a,b){b.target.kh()};
var vx=function(a,b){this.H=a;this.R=b};vx.prototype.getName=function(){return this.H};vx.prototype.toString=function(){return this.H};var wx=function(){};wx.prototype.toString=function(){var a=new tr,b=!0,c;for(c in this){var d=this[c];xa(d)||(b||a.Fb(", "),b=!1,a.Fb(c+" = "+d))}return a.toString()};var xx=function(a,b){this.R=a;this.H=b;for(a=0;a<b.length;a++);};v(xx,wx);xx.prototype.getSource=function(){return this.R};xx.prototype.getName=function(){return this.H};xx.prototype.equals=function(a){return this==a?!0:this.R==a.R&&this.H==a.H};var vwa=function(a,b){this.R=a;this.H=b};v(vwa,wx);var yx=function(a,b){this.H=a;this.R=b};v(yx,wx);yx.prototype.getMessage=function(){return this.R};yx.prototype.kh=function(){return 0==this.H};var zx=function(a,b,c,d){this.H=d};v(zx,wx); zx.prototype.getContext=function(){return this.H};var Ax=function(a){this.H=a};v(Ax,wx);Ax.prototype.equals=function(a){return a instanceof Ax&&this.H===a.H};
var Bx=function(){},Cx=function(a,b){for(var c=b.getDescriptor(),d=a.H()[c.getName()],e=Yr(c),g=0;g<e.length;++g);for(var h in d){e=d[h];var k=gpa(c,h);for(g=0;g<e.length;++g){if(!e[g](k,b))return!1;for(var n=0;n<fs(b,k.getTag());++n){var q=b.get(k,n);if(q instanceof T&&!Cx(a,q))return!1}}}return!0};Bx.prototype.required=function(a,b){(b=b.has(a))||a.getName();return b};Bx.prototype.R=function(a,b,c){a=!c.has(b)||c.get(b)>=a;a||(b.getName(),c.get(b));return a}; Bx.prototype.S=function(a,b){(b=!b.has(a)||""!=b.get(a))||a.getName();return b};
var wwa=function(){var a=function(){return!0},b=r(this.required,this),c=r(this.R,this,0),d=r(this.S,this);this.U={Version:{major_version:[b,c],minor_version:[b,c]},ProtocolVersion:{version:[b]},ClientVersion:{version:[b],platform:[b],language:[b,d],application_info:[b,d]},ClientToServerMessage:{header:[b],init_endpoint_message:[a],init_session_message:[a],client_data_message_deprecated:[a],send_on_disconnect_message:[a],close_session_message:[a]},ClientHeader:{protocol_version:[b],client_version:[b],
client_time_ms:[b],max_known_server_time_ms:[b],message_id:[a]},SessionId:{service_name:[b,d],session_name:[a]},InitEndpointMessage:{},InitSessionMessage:{session_id:[b]},CloseSessionMessage:{session_id:[b]},SessionStatusMessage:{session_id:[b],address:[a,d],is_broadcast_to_user:[a],status:[a]},DataMessage:{session_id:[b],message:[b]},ServerToClientMessage:{header:[b],server_data_message:[a],channel_status_message:[a],session_status_message:[a]},ServerHeader:{protocol_version:[b],server_time_ms:[b, c],message_id:[a,d]},StatusP:{code:[b],description:[a]},ChannelStatusMessage:{status:[b],jid_resource:[a]}}};v(wwa,Bx);wwa.prototype.H=function(){return this.U};
var xwa=function(a,b,c){this.U=a;this.S=b;this.H=c;this.R=null};xwa.prototype.open=function(){this.U.$(this)};var Dx=function(a,b){this.ra=b;this.S=[];this.ma=new nl;this.V=new nl;this.R=null;this.Ba=0;this.va=new wwa;this.U=a;this.W=!1;this.H=new Qv;bs(this.H,2,2);a=this.H;var c=Hg(self.location.href);bs(a,1,c);b=b.S;0!=b&&bs(this.H,4,b);this.Da=this.ka=0;this.ta=!1};f=Dx.prototype;f.AA=function(a){5!=as(this.H,2)&&(bs(this.H,2,3),this.H.setToken(a),Dw(this))};
f.open=function(){this.R=this.ra.W(this);Dw(this);this.R.start()};f.close=function(){null!=this.R&&this.R.close()};f.dispose=function(){this.close();this.ta=!0};f.isDisposed=function(){return this.ta};
var Dw=function(a){if(Uua.contains(as(a.H,2))){var b=a.ra.R(as(a.H,1));if(null!=b){var c=b.scheme;b=b.hash;b!=a.H.getToken()&&(bs(a.H,2,Rua[c]),a.H.setToken(b))}else a.H.setToken("")}a.R&&a.R.wv(a.H)},cva=function(a,b){for(var c=0;c<b.length;c++){var d=b[c].p;if(d){var e=Pw.getDescriptor();d=gw(e,d);if(null!=d&&Cx(a.va,d)){e=as(d,1);a.ka=Math.max(a.ka,as(e,4));if($r(d,3)){e=a;var g=as(d,3),h=as(g.getStatus(),1);if(1==h){e.W=!0;var k=e.ma.Ec();for(h=0;h<k.length;++h)e.$(k[h]);for(h=0;h<e.S.length;++h)e.$(e.S[h]);
k=e.V.Ec();for(h=0;h<k.length;++h)e.$(k[h]);$r(g,2)&&as(g,2);g=e.U;g.ma||(g.ma=e.Fa(g.Ka,g),g.ma.open())}else 4==h?(e.W=!1,e.R.zG()):5==h&&(g=t(),g>e.Ba&&(e.Ba=g+Math.ceil(18E5*Math.random()),e.close(),dva(e),e.R=null,e.open()))}if($r(d,4)&&(g=as(d,4),e=a,h=g.Lc(),k=as(h,2),null!=k)){var n=ywa(e,h);if(null==n)for(var q=0;q<e.S.length;++q){var u=e.S[q],C=as(h,1);if(u.S==C){n=u;n.R=k;e.S.splice(q,1);es(g,3)?ql(e.V,C)||e.V.set(C,n):e.ma.set(n.R,n);break}}null!=n&&($r(g,4)&&1!=as(g.getStatus(),1)?(as(h,
1),as(g.getStatus(),2),n.H.QW&&as(g.getStatus(),2)):(as(g,2),as(h,2),as(h,1),e=n.H,g=as(g,2),e.ka=g,ux(e,!0)))}$r(d,2)&&(d=as(d,2),e=d.Lc(),e=ywa(a,e),null==e||e.H.receive(e,d.getMessage()))}}}},dva=function(a){a.W=!1;a.U.Cn(a)};Dx.prototype.Fa=function(a,b){a=new xwa(this,a,b);this.S.push(a);return a};var ywa=function(a,b){var c=a.ma.get(as(b,2),null);null==c&&(c=a.V.get(as(b,1),null));return c};
Dx.prototype.$=function(a){if(this.W){var b=a.S;a=a.R;var c=new Lw,d=new Iw;bs(d,1,b);null!=a&&bs(d,2,a);bs(c,1,d);bva(this,c)}};var bva=function(a,b){var c="c"+ ++a.Da,d=t(),e=a.ka,g=new Kw;bs(g,1,vva);bs(g,3,d);bs(g,4,e);bs(g,5,c);c=new Hw;bs(c,1,yva);bs(c,2,uva);bs(c,3,"JS");bs(c,4,"lcsclient");bs(g,2,c);c=new Jw;bs(c,1,g);b instanceof Cw?bs(c,2,b):b instanceof Lw?bs(c,3,b):b instanceof Mw&&bs(c,6,b);Cx(a.va,c)&&(b={},g=fw(c),b.p=g,a.R.yA(b))};
var zwa={R4:1,S4:2},Ex=function(){T.call(this)};v(Ex,T);var Awa=null,Bwa={N6:1,I_:111,r6:112,h_:113,b3:114,Y6:115,Q4:116,a7:117,Z6:118};Ex.prototype.getDescriptor=function(){var a=Awa;a||(Awa=a=gs(Ex,{0:{name:"NetworkEndpointId",Cb:"ipc.invalidation.NetworkEndpointId"},1:{name:"network_address",Oa:14,defaultValue:1,type:Bwa},2:{name:"client_address",Oa:12,type:String},3:{name:"is_offline",Oa:8,type:Boolean}}));return a};Ex.getDescriptor=Ex.prototype.getDescriptor;
var Fx=function(){T.call(this)};v(Fx,T);var Cwa=null,Gx=function(){T.call(this)};v(Gx,T);var Dwa=null,Hx=function(){T.call(this)};v(Hx,T);var Ewa=null,Ix=function(){T.call(this)};v(Ix,T);var Fwa=null,Gwa={SUCCESS:1,u7:2,C4:3},Jx=function(){T.call(this)};v(Jx,T);var Hwa=null;Jx.prototype.getSource=function(){return as(this,1)};Jx.prototype.getName=function(){return as(this,2)};Jx.prototype.le=function(a){bs(this,2,a)};var Kx=function(){T.call(this)};v(Kx,T);var Iwa=null,Lx=function(){T.call(this)};
v(Lx,T);var Jwa=null,Mx=function(){T.call(this)};v(Mx,T);var Kwa=null,Lwa={k5:1,M7:2},Nx=function(){T.call(this)};v(Nx,T);var Mwa=null,Ox=function(){T.call(this)};v(Ox,T);var Nwa=null,Px=function(){T.call(this)};v(Px,T);var Owa=null,Qx=function(){T.call(this)};v(Qx,T);var Pwa=null,Qwa={J_:1,W3:2},Rx=function(){T.call(this)};v(Rx,T);var Rwa=null,Sx=function(){T.call(this)};v(Sx,T);var Swa=null,Tx=function(){T.call(this)};v(Tx,T);var Twa=null,Ux=function(){T.call(this)};v(Ux,T);var Uwa=null,Vx=function(){T.call(this)};
v(Vx,T);var Vwa=null;Vx.prototype.getName=function(){return as(this,1)};Vx.prototype.le=function(a){bs(this,1,a)};Vx.prototype.getValue=function(){return as(this,2)};Vx.prototype.yb=function(a){bs(this,2,a)};var Wx=function(){T.call(this)};v(Wx,T);var Wwa=null,Xx=function(){T.call(this)};v(Xx,T);var Xwa=null,Yx=function(){T.call(this)};v(Yx,T);var Ywa=null,Zx=function(){T.call(this)};v(Zx,T);var Zwa=null;Zx.prototype.getStatus=function(){return as(this,2)};var $x=function(){T.call(this)};v($x,T);
var $wa=null,ay=function(){T.call(this)};v(ay,T);var axa=null,by=function(){T.call(this)};v(by,T);var bxa=null,cy=function(){T.call(this)};v(cy,T);var cxa=null,dxa={V1:1},dy=function(){T.call(this)};v(dy,T);var exa=null;dy.prototype.Bc=function(){return as(this,2)};var ey=function(){T.call(this)};v(ey,T);var fxa=null,fy=function(){T.call(this)};v(fy,T);var gxa=null,gy=function(){T.call(this)};v(gy,T);var hxa=null,hy=function(){T.call(this)};v(hy,T);var ixa=null,jxa={y_:1,H7:1E4};
Fx.prototype.getDescriptor=function(){var a=Cwa;a||(Cwa=a=gs(Fx,{0:{name:"Version",Cb:"ipc.invalidation.Version"},1:{name:"major_version",Oa:5,type:Number},2:{name:"minor_version",Oa:5,type:Number}}));return a};Fx.getDescriptor=Fx.prototype.getDescriptor;Gx.prototype.getDescriptor=function(){var a=Dwa;a||(Dwa=a=gs(Gx,{0:{name:"ProtocolVersion",Cb:"ipc.invalidation.ProtocolVersion"},1:{name:"version",Oa:11,type:Fx}}));return a};Gx.getDescriptor=Gx.prototype.getDescriptor;
Hx.prototype.getDescriptor=function(){var a=Ewa;a||(Ewa=a=gs(Hx,{0:{name:"ClientVersion",Cb:"ipc.invalidation.ClientVersion"},1:{name:"version",Oa:11,type:Fx},2:{name:"platform",Oa:9,type:String},3:{name:"language",Oa:9,type:String},4:{name:"application_info",Oa:9,type:String}}));return a};Hx.getDescriptor=Hx.prototype.getDescriptor;
Ix.prototype.getDescriptor=function(){var a=Fwa;a||(Fwa=a=gs(Ix,{0:{name:"StatusP",Cb:"ipc.invalidation.StatusP"},1:{name:"code",Oa:14,defaultValue:1,type:Gwa},2:{name:"description",Oa:9,type:String}}));return a};Ix.getDescriptor=Ix.prototype.getDescriptor;Jx.prototype.getDescriptor=function(){var a=Hwa;a||(Hwa=a=gs(Jx,{0:{name:"ObjectIdP",Cb:"ipc.invalidation.ObjectIdP"},1:{name:"source",Oa:5,type:Number},2:{name:"name",Oa:12,type:String}}));return a};Jx.getDescriptor=Jx.prototype.getDescriptor;
Kx.prototype.getDescriptor=function(){var a=Iwa;a||(Iwa=a=gs(Kx,{0:{name:"ApplicationClientIdP",Cb:"ipc.invalidation.ApplicationClientIdP"},1:{name:"client_type",Oa:5,type:Number},2:{name:"client_name",Oa:12,type:String}}));return a};Kx.getDescriptor=Kx.prototype.getDescriptor;
Lx.prototype.getDescriptor=function(){var a=Jwa;a||(Jwa=a=gs(Lx,{0:{name:"InvalidationP",Cb:"ipc.invalidation.InvalidationP"},1:{name:"object_id",Oa:11,type:Jx},2:{name:"is_known_version",Oa:8,type:Boolean},3:{name:"version",Oa:3,type:String},6:{name:"is_trickle_restart",Oa:8,defaultValue:!0,type:Boolean},4:{name:"payload",Oa:12,type:String}}));return a};Lx.getDescriptor=Lx.prototype.getDescriptor;
Mx.prototype.getDescriptor=function(){var a=Kwa;a||(Kwa=a=gs(Mx,{0:{name:"RegistrationP",Cb:"ipc.invalidation.RegistrationP"},1:{name:"object_id",Oa:11,type:Jx},2:{name:"op_type",Oa:14,defaultValue:1,type:Lwa}}));return a};Mx.getDescriptor=Mx.prototype.getDescriptor;
Nx.prototype.getDescriptor=function(){var a=Mwa;a||(Mwa=a=gs(Nx,{0:{name:"RegistrationSummary",Cb:"ipc.invalidation.RegistrationSummary"},1:{name:"num_registrations",Oa:5,type:Number},2:{name:"registration_digest",Oa:12,type:String}}));return a};Nx.getDescriptor=Nx.prototype.getDescriptor;
Ox.prototype.getDescriptor=function(){var a=Nwa;a||(Nwa=a=gs(Ox,{0:{name:"ClientHeader",Cb:"ipc.invalidation.ClientHeader"},1:{name:"protocol_version",Oa:11,type:Gx},2:{name:"client_token",Oa:12,type:String},3:{name:"registration_summary",Oa:11,type:Nx},4:{name:"client_time_ms",Oa:3,type:Number},5:{name:"max_known_server_time_ms",Oa:3,type:Number},6:{name:"message_id",Oa:9,type:String},7:{name:"client_type",Oa:5,type:Number}}));return a};Ox.getDescriptor=Ox.prototype.getDescriptor;
Px.prototype.getDescriptor=function(){var a=Owa;a||(Owa=a=gs(Px,{0:{name:"ClientToServerMessage",Cb:"ipc.invalidation.ClientToServerMessage"},1:{name:"header",Oa:11,type:Ox},2:{name:"initialize_message",Oa:11,type:Qx},3:{name:"registration_message",Oa:11,type:Rx},4:{name:"registration_sync_message",Oa:11,type:Sx},5:{name:"invalidation_ack_message",Oa:11,type:by},6:{name:"info_message",Oa:11,type:Ux}}));return a};Px.getDescriptor=Px.prototype.getDescriptor;
Qx.prototype.getDescriptor=function(){var a=Pwa;a||(Pwa=a=gs(Qx,{0:{name:"InitializeMessage",Cb:"ipc.invalidation.InitializeMessage"},1:{name:"client_type",Oa:5,type:Number},2:{name:"nonce",Oa:12,type:String},3:{name:"application_client_id",Oa:11,type:Kx},4:{name:"digest_serialization_type",Oa:14,defaultValue:1,type:Qwa}}));return a};Qx.getDescriptor=Qx.prototype.getDescriptor;
Rx.prototype.getDescriptor=function(){var a=Rwa;a||(Rwa=a=gs(Rx,{0:{name:"RegistrationMessage",Cb:"ipc.invalidation.RegistrationMessage"},1:{name:"registration",Uc:!0,Oa:11,type:Mx}}));return a};Rx.getDescriptor=Rx.prototype.getDescriptor;Sx.prototype.getDescriptor=function(){var a=Swa;a||(Swa=a=gs(Sx,{0:{name:"RegistrationSyncMessage",Cb:"ipc.invalidation.RegistrationSyncMessage"},1:{name:"subtree",Uc:!0,Oa:11,type:Tx}}));return a};Sx.getDescriptor=Sx.prototype.getDescriptor;
Tx.prototype.getDescriptor=function(){var a=Twa;a||(Twa=a=gs(Tx,{0:{name:"RegistrationSubtree",Cb:"ipc.invalidation.RegistrationSubtree"},1:{name:"registered_object",Uc:!0,Oa:11,type:Jx}}));return a};Tx.getDescriptor=Tx.prototype.getDescriptor;
Ux.prototype.getDescriptor=function(){var a=Uwa;a||(Uwa=a=gs(Ux,{0:{name:"InfoMessage",Cb:"ipc.invalidation.InfoMessage"},1:{name:"client_version",Oa:11,type:Hx},2:{name:"config_parameter",Uc:!0,Oa:11,type:Vx},3:{name:"performance_counter",Uc:!0,Oa:11,type:Vx},4:{name:"server_registration_summary_requested",Oa:8,type:Boolean},5:{name:"client_config",Oa:11,type:fy}}));return a};Ux.getDescriptor=Ux.prototype.getDescriptor;
Vx.prototype.getDescriptor=function(){var a=Vwa;a||(Vwa=a=gs(Vx,{0:{name:"PropertyRecord",Cb:"ipc.invalidation.PropertyRecord"},1:{name:"name",Oa:9,type:String},2:{name:"value",Oa:5,type:Number}}));return a};Vx.getDescriptor=Vx.prototype.getDescriptor;
Wx.prototype.getDescriptor=function(){var a=Wwa;a||(Wwa=a=gs(Wx,{0:{name:"ServerHeader",Cb:"ipc.invalidation.ServerHeader"},1:{name:"protocol_version",Oa:11,type:Gx},2:{name:"client_token",Oa:12,type:String},3:{name:"registration_summary",Oa:11,type:Nx},4:{name:"server_time_ms",Oa:3,type:Number},5:{name:"message_id",Oa:9,type:String}}));return a};Wx.getDescriptor=Wx.prototype.getDescriptor;
Xx.prototype.getDescriptor=function(){var a=Xwa;a||(Xwa=a=gs(Xx,{0:{name:"ServerToClientMessage",Cb:"ipc.invalidation.ServerToClientMessage"},1:{name:"header",Oa:11,type:Wx},2:{name:"token_control_message",Oa:11,type:Yx},3:{name:"invalidation_message",Oa:11,type:by},4:{name:"registration_status_message",Oa:11,type:$x},5:{name:"registration_sync_request_message",Oa:11,type:ay},6:{name:"config_change_message",Oa:11,type:gy},7:{name:"info_request_message",Oa:11,type:cy},8:{name:"error_message",Oa:11,
type:hy}}));return a};Xx.getDescriptor=Xx.prototype.getDescriptor;Yx.prototype.getDescriptor=function(){var a=Ywa;a||(Ywa=a=gs(Yx,{0:{name:"TokenControlMessage",Cb:"ipc.invalidation.TokenControlMessage"},1:{name:"new_token",Oa:12,type:String}}));return a};Yx.getDescriptor=Yx.prototype.getDescriptor;
Zx.prototype.getDescriptor=function(){var a=Zwa;a||(Zwa=a=gs(Zx,{0:{name:"RegistrationStatus",Cb:"ipc.invalidation.RegistrationStatus"},1:{name:"registration",Oa:11,type:Mx},2:{name:"status",Oa:11,type:Ix}}));return a};Zx.getDescriptor=Zx.prototype.getDescriptor;$x.prototype.getDescriptor=function(){var a=$wa;a||($wa=a=gs($x,{0:{name:"RegistrationStatusMessage",Cb:"ipc.invalidation.RegistrationStatusMessage"},1:{name:"registration_status",Uc:!0,Oa:11,type:Zx}}));return a};$x.getDescriptor=$x.prototype.getDescriptor;
ay.prototype.getDescriptor=function(){var a=axa;a||(axa=a=gs(ay,{0:{name:"RegistrationSyncRequestMessage",Cb:"ipc.invalidation.RegistrationSyncRequestMessage"}}));return a};ay.getDescriptor=ay.prototype.getDescriptor;by.prototype.getDescriptor=function(){var a=bxa;a||(bxa=a=gs(by,{0:{name:"InvalidationMessage",Cb:"ipc.invalidation.InvalidationMessage"},1:{name:"invalidation",Uc:!0,Oa:11,type:Lx}}));return a};by.getDescriptor=by.prototype.getDescriptor;
cy.prototype.getDescriptor=function(){var a=cxa;a||(cxa=a=gs(cy,{0:{name:"InfoRequestMessage",Cb:"ipc.invalidation.InfoRequestMessage"},1:{name:"info_type",Uc:!0,Oa:14,defaultValue:1,type:dxa}}));return a};cy.getDescriptor=cy.prototype.getDescriptor;dy.prototype.getDescriptor=function(){var a=exa;a||(exa=a=gs(dy,{0:{name:"RateLimitP",Cb:"ipc.invalidation.RateLimitP"},1:{name:"window_ms",Oa:5,type:Number},2:{name:"count",Oa:5,type:Number}}));return a};dy.getDescriptor=dy.prototype.getDescriptor;
ey.prototype.getDescriptor=function(){var a=fxa;a||(fxa=a=gs(ey,{0:{name:"ProtocolHandlerConfigP",Cb:"ipc.invalidation.ProtocolHandlerConfigP"},1:{name:"batching_delay_ms",Oa:5,defaultValue:500,type:Number},2:{name:"rate_limit",Uc:!0,Oa:11,type:dy}}));return a};ey.getDescriptor=ey.prototype.getDescriptor;
fy.prototype.getDescriptor=function(){var a=gxa;a||(gxa=a=gs(fy,{0:{name:"ClientConfigP",Cb:"ipc.invalidation.ClientConfigP"},1:{name:"version",Oa:11,type:Fx},2:{name:"network_timeout_delay_ms",Oa:5,defaultValue:6E4,type:Number},3:{name:"write_retry_delay_ms",Oa:5,defaultValue:1E4,type:Number},4:{name:"heartbeat_interval_ms",Oa:5,defaultValue:12E5,type:Number},5:{name:"perf_counter_delay_ms",Oa:5,defaultValue:216E5,type:Number},6:{name:"max_exponential_backoff_factor",Oa:5,defaultValue:500,type:Number},
7:{name:"smear_percent",Oa:5,defaultValue:20,type:Number},8:{name:"is_transient",Oa:8,defaultValue:!1,type:Boolean},9:{name:"initial_persistent_heartbeat_delay_ms",Oa:5,defaultValue:2E3,type:Number},10:{name:"protocol_handler_config",Oa:11,type:ey},11:{name:"channel_supports_offline_delivery",Oa:8,defaultValue:!1,type:Boolean},12:{name:"offline_heartbeat_threshold_ms",Oa:5,defaultValue:6E4,type:Number},13:{name:"allow_suppression",Oa:8,defaultValue:!0,type:Boolean}}));return a};fy.getDescriptor=fy.prototype.getDescriptor;
gy.prototype.getDescriptor=function(){var a=hxa;a||(hxa=a=gs(gy,{0:{name:"ConfigChangeMessage",Cb:"ipc.invalidation.ConfigChangeMessage"},1:{name:"next_message_delay_ms",Oa:3,type:Number}}));return a};gy.getDescriptor=gy.prototype.getDescriptor;hy.prototype.getDescriptor=function(){var a=ixa;a||(ixa=a=gs(hy,{0:{name:"ErrorMessage",Cb:"ipc.invalidation.ErrorMessage"},1:{name:"code",Oa:14,defaultValue:1,type:jxa},2:{name:"description",Oa:9,type:String}}));return a};hy.getDescriptor=hy.prototype.getDescriptor;
var iy=function(){T.call(this)};v(iy,T);var kxa=null,jy=function(){T.call(this)};v(jy,T);var lxa=null,ky=function(){T.call(this)};v(ky,T);var mxa=null;iy.prototype.getDescriptor=function(){var a=kxa;a||(kxa=a=gs(iy,{0:{name:"AckHandleP",Cb:"ipc.invalidation.AckHandleP"},1:{name:"invalidation",Oa:11,type:Lx}}));return a};iy.getDescriptor=iy.prototype.getDescriptor;
jy.prototype.getDescriptor=function(){var a=lxa;a||(lxa=a=gs(jy,{0:{name:"PersistentTiclState",Cb:"ipc.invalidation.PersistentTiclState"},1:{name:"client_token",Oa:12,type:String},2:{name:"last_message_send_time_ms",Oa:3,defaultValue:"0",type:String}}));return a};jy.getDescriptor=jy.prototype.getDescriptor;
ky.prototype.getDescriptor=function(){var a=mxa;a||(mxa=a=gs(ky,{0:{name:"PersistentStateBlob",Cb:"ipc.invalidation.PersistentStateBlob"},1:{name:"ticl_state",Oa:11,type:jy},2:{name:"authentication_code",Oa:12,type:String}}));return a};ky.getDescriptor=ky.prototype.getDescriptor;
var ly=function(){T.call(this)};v(ly,T);var nxa=null,oxa={d0:1,Q5:2,J0:3,X6:4,R5:5};
ly.prototype.getDescriptor=function(){var a=nxa;a||(nxa=a=gs(ly,{0:{name:"ClientGatewayMessage",Cb:"ipc.invalidation.ClientGatewayMessage"},1:{name:"is_client_to_server",Oa:8,type:Boolean},2:{name:"service_context",Oa:12,type:String},3:{name:"rpc_scheduling_hash",Oa:3,type:String},5:{name:"protocol_version",Oa:11,type:Gx},6:{name:"message_type",Oa:14,defaultValue:1,type:oxa},7:{name:"encoding",Oa:14,defaultValue:1,type:zwa},8:{name:"client_endpoint_id",Oa:11,type:Ex},9:{name:"service_endpoint_id", Oa:12,type:String},4:{name:"network_message",Oa:12,type:String},10:{name:"debug_info",Oa:9,type:String}}));return a};ly.getDescriptor=ly.prototype.getDescriptor;
var pxa=new Gx,qxa=new Fx;bs(qxa,1,3);bs(qxa,2,2);bs(pxa,1,qxa);var rxa=new Fx;bs(rxa,1,3);bs(rxa,2,2);var sxa=new Fx;bs(sxa,1,3);bs(sxa,2,20150820);var txa=new Jx;txa.le("");bs(txa,1,1);var uxa=function(a,b){var c=new Mx;bs(c,1,a);bs(c,2,b?1:2);return c},vxa=function(a){var b=new jy;bs(b,1,a);return b};var wxa=function(a,b,c,d,e,g,h){tx.call(this,a,d,e,h);a=new tl(this.R);null!=c&&Dl(a,"oauth_token",c);0!=d&&Dl(a,"authuser",d);null!=e&&Dl(a,"service",e);c={};c.pu=a.toString();this.U=new qwa(c,b,g,r(this.RT,this));this.H=null};v(wxa,tx);f=wxa.prototype;f.RT=function(a){this.H=a;this.H.registerService("ss",r(this.sZ,this));this.H.registerService("sf",r(this.qZ,this),!0);a=this.$c;a.ta=!0;ux(a,!0)};f.start=function(){rwa(this.U)};f.send=function(a,b,c){this.H.send("s",[a,b,c])};f.sZ=function(){}; f.qZ=function(){};
var my=function(a,b,c,d,e){this.$=null;this.ra=[];this.ta=this.V=!1;this.Da=b;this.Fa=c||"lcssenderclient";this.R=[];this.S=d||null;this.Ka=e||"tango_service";this.va=null;this.U=(self.SharedWorker&&a.U(),new Dx(this,a));null!=this.S&&this.U.AA(this.S);this.U.open();this.ka=this.ma=null;this.Ba=0;b=a.S;a.U()?this.W=new wxa(this.Da,this.Fa,this.S,b,a.H,a.Aa(),this):this.W=new tx(this.Da,b,a.H,this);this.W.start()};my.prototype.H=function(){};my.prototype.stop=function(){this.U.isDisposed()||this.U.dispose()};
my.prototype.sendMessage=function(a){this.V?xxa(this,a):(10<=this.R.length&&this.R.shift(),this.R.push(a))};var xxa=function(a,b){if(a.V){var c=a.ka,d=new Ex;bs(d,1,114);bs(d,2,c);c=a.Ba.toString();var e=new Fx;bs(e,2,2);bs(e,1,3);var g=new Gx;bs(g,1,e);e=new ly;bs(e,5,g);bs(e,6,1);bs(e,7,2);bs(e,4,b);bs(e,8,d);bs(e,1,!0);bs(e,10,c);a.Ba++;b=fw(e);d={"Content-Type":"text/plain"};c={};null!=a.S?d.Authorization="OAuth "+a.S:null!=a.va&&(c.app_auth=a.va);a.W.send(b,d,c)}};
my.prototype.receive=function(a,b){this.$&&this.$(b)};my.prototype.Ef=function(){};my.prototype.Cn=function(){ux(this,!1)};my.prototype.QW=function(){};var ux=function(a,b){a.V=b&&null!=a.ka&&a.ta;if(a.V&&!qg(a.R)){for(b=0;b<a.R.length;b++)xxa(a,a.R[b]);rg(a.R)}for(b=0;b<a.ra.length;++b)a.ra[b](a.V)};
var yxa=function(a,b,c,d,e,g,h){a=new sx(a,c,"lcsclient");d&&(a.S=d);h&&(a.H=h);my.call(this,a,b,e,g)};v(yxa,my);var zxa=function(a,b,c,d,e,g){a=new Uw(a,c);d&&(a.S=d);g&&(a.H=g);my.call(this,a,b,void 0,e)};v(zxa,my);var Axa=function(){this.H=new nl},Bxa=function(a){return a.getSource().toString()+":"+a.getName()};var ny=function(a){this.H=a};ny.prototype.Za=function(){return Sh(this.H)};ny.prototype.equals=function(a){return Eg(this.H,a.H)};ny.prototype.toString=function(){return Lo("Digest: <%s, %s>",this.Za(),this.H.toString())};var Cxa=function(){this.R=-1};var oy=function(){this.R=64;this.H=[];this.W=[];this.$=[];this.U=[];this.U[0]=128;for(var a=1;a<this.R;++a)this.U[a]=0;this.V=this.S=0;this.reset()};v(oy,Cxa);oy.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.H[4]=3285377520;this.V=this.S=0};
var py=function(a,b,c){c||(c=0);var d=a.$;if(na(b))for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var g=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(g<<1|g>>>31)&4294967295}b=a.H[0];c=a.H[1];var h=a.H[2],k=a.H[3],n=a.H[4];for(e=0;80>e;e++){if(40>e)if(20>e){g=k^c&(h^k);var q=1518500249}else g=c^h^k,q=1859775393;else 60>e?(g=c&h|k&(c|h),q=2400959708):(g=c^h^
k,q=3395469782);g=(b<<5|b>>>27)+g+n+q+d[e]&4294967295;n=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=g}a.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+c&4294967295;a.H[2]=a.H[2]+h&4294967295;a.H[3]=a.H[3]+k&4294967295;a.H[4]=a.H[4]+n&4294967295};
oy.prototype.update=function(a,b){if(null!=a){p(b)||(b=a.length);for(var c=b-this.R,d=0,e=this.W,g=this.S;d<b;){if(0==g)for(;d<=c;)py(this,a,d),d+=this.R;if(na(a))for(;d<b;){if(e[g]=a.charCodeAt(d),++g,++d,g==this.R){py(this,e);g=0;break}}else for(;d<b;)if(e[g]=a[d],++g,++d,g==this.R){py(this,e);g=0;break}}this.S=g;this.V+=b}};
oy.prototype.digest=function(){var a=[],b=8*this.V;56>this.S?this.update(this.U,56-this.S):this.update(this.U,this.R-(this.S-56));for(var c=this.R-1;56<=c;c--)this.W[c]=b&255,b/=256;py(this,this.W);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};
var Dxa=function(){this.H=new oy};Dxa.prototype.reset=function(){this.H.reset()};Dxa.prototype.update=function(a){this.H.update(a)};var Exa=function(a){a=a.H.digest();return new ny(a)},Fxa=function(a,b){b.reset();for(var c=[],d=a.getSource(),e=0;4>e;e++)c[e]=d&255,d>>=8;b.update(c);b.update(a.getName());return Exa(b)};
var Hxa=function(a,b){b=Gxa(a,b).Za();var c=new ky;bs(c,1,a);bs(c,2,b);return fw(c)},Gxa=function(a,b){b.reset();b.update(fw(a));return Exa(b)};var Nxa=function(){this.R=new nl;this.H=new nl;this.S=new nl;this.V=new nl;this.U=new nl;qy(this.R,Zg(Ixa));qy(this.H,Zg(Jxa));qy(this.S,Zg(Kxa));qy(this.V,Zg(Lxa));qy(this.U,Zg(Mxa))},qy=function(a,b){for(var c=0;c<b.length;c++)a.set(b[c],0)},sy=function(a,b){ry(a.U,b)},ty=function(a,b,c){for(var d=a.yd(),e=0;e<d.length;e++){var g=d[e],h=a.get(g);g=c+"."+g;0<h&&b.set(g,h)}},ry=function(a,b){a.set(b,a.get(b)+1)},Ixa={y2:"INFO",E2:"INITIALIZE",L2:"INVALIDATION_ACK",HH:"REGISTRATION",n5:"REGISTRATION_SYNC",
TOTAL:"TOTAL"},Jxa={C2:"INFO_REQUEST",K2:"INVALIDATION",m5:"REGISTRATION_STATUS",o5:"REGISTRATION_SYNC_REQUEST",c7:"TOKEN_CONTROL",ERROR:"ERROR",o0:"CONFIG_CHANGE",n6:"STALE_INVALIDATION",TOTAL:"TOTAL"},Kxa={c_:"ACKNOWLEDGE",HH:"REGISTRATION",N7:"UNREGISTRATION"},Lxa={z2:"INFORM_ERROR",A2:"INFORM_REGISTRATION_FAILURE",B2:"INFORM_REGISTRATION_STATUS",H2:"INVALIDATE",I2:"INVALIDATE_ALL",J2:"INVALIDATE_UNKNOWN",p5:"REISSUE_REGISTRATIONS"},Mxa={d_:"ACKNOWLEDGE_HANDLE_FAILURE",x2:"INCOMING_MESSAGE_FAILURE",
o4:"OUTGOING_MESSAGE_FAILURE",D4:"PERSISTENT_DESERIALIZATION_FAILURE",E4:"PERSISTENT_READ_FAILURE",G4:"PERSISTENT_WRITE_FAILURE",T4:"PROTOCOL_VERSION_FAILURE",l5:"REGISTRATION_DISCREPANCY",Q3:"NONCE_MISMATCH",d7:"TOKEN_MISMATCH",e7:"TOKEN_MISSING_FAILURE",f7:"TOKEN_TRANSIENT_FAILURE",NETWORK_DISCONNECTED:"NETWORK_DISCONNECTED"};
var Oxa=function(){var a=function(){return!0},b=r(this.required,this),c=r(function(a){return r(this.R,this,a)},this),d=c(0),e=r(this.S,this);this.U={Version:{major_version:[b,d],minor_version:[b,d]},ProtocolVersion:{version:[b]},ObjectIdP:{name:[b],source:[b,d]},InvalidationP:{object_id:[b],is_known_version:[b],version:[b,d],payload:[a],is_trickle_restart:[a]},RegistrationP:{object_id:[b],op_type:[b]},RegistrationSummary:{num_registrations:[b,d],registration_digest:[b,e]},InvalidationMessage:{invalidation:[b]},
ClientHeader:{protocol_version:[b],client_token:[a,e],registration_summary:[a],client_time_ms:[b],max_known_server_time_ms:[b],client_type:[a],message_id:[a]},ApplicationClientIdP:{client_type:[b],client_name:[b,e]},InitializeMessage:{client_type:[b],nonce:[b,e],digest_serialization_type:[b],application_client_id:[b]},RegistrationMessage:{registration:[b]},ClientVersion:{version:[b],platform:[b],language:[b],application_info:[b]},PropertyRecord:{name:[b],value:[b]},InfoMessage:{client_version:[b],
config_parameter:[a],performance_counter:[a],client_config:[a],server_registration_summary_requested:[a]},ClientConfigP:{version:[b],network_timeout_delay_ms:[a],write_retry_delay_ms:[a],heartbeat_interval_ms:[a],perf_counter_delay_ms:[a],max_exponential_backoff_factor:[a],smear_percent:[a],is_transient:[a],initial_persistent_heartbeat_delay_ms:[a],channel_supports_offline_delivery:[a],protocol_handler_config:[b],offline_heartbeat_threshold_ms:[a],allow_suppression:[a]},ProtocolHandlerConfigP:{batching_delay_ms:[a],
rate_limit:[a]},RateLimitP:{window_ms:[b,c(1E3)],count:[b]},RegistrationSubtree:{registered_object:[a]},RegistrationSyncMessage:{subtree:[b]},ClientToServerMessage:{header:[b],info_message:[a],initialize_message:[a],invalidation_ack_message:[a],registration_message:[a],registration_sync_message:[a]},ServerHeader:{protocol_version:[b],client_token:[b,e],registration_summary:[a],server_time_ms:[b,d],message_id:[a,e]},StatusP:{code:[b],description:[a]},TokenControlMessage:{new_token:[a]},ErrorMessage:{code:[b],
description:[b]},RegistrationStatus:{registration:[b],status:[b]},RegistrationStatusMessage:{registration_status:[b]},RegistrationSyncRequestMessage:{},InfoRequestMessage:{info_type:[b]},ConfigChangeMessage:{next_message_delay_ms:[a,c(1)]},ServerToClientMessage:{header:[b],token_control_message:[a],invalidation_message:[a],registration_status_message:[a],registration_sync_request_message:[a],config_change_message:[a],info_request_message:[a],error_message:[a]}}};v(Oxa,Bx);Oxa.prototype.H=function(){return this.U};
var Qxa=function(a,b,c,d,e,g){var h=new Hx;bs(h,1,sxa);bs(h,2,uva+"");bs(h,3,"JS");bs(h,4,d);this.ka=h;this.ma=a.H;this.Fc=e;this.W=g;this.V=1;this.$=this.S=0;this.R=b;this.H=new Pxa(b);this.U=c},Pxa=function(a){this.H=a;this.W=new nl;this.R=new nl;this.V=new nl;this.S=this.U=null},Rxa=function(a,b){this.token=a;this.H=b};Rxa.prototype.toString=function(){return Lo("Token: %s, Summary: %s",null==this.token?"null":this.token,this.H.toString())};
var Sxa=function(a){var b=as(a,1);this.ul=new Rxa(as(b,2),$r(b,3)?as(b,3):null);this.H=$r(a,2)?as(a,2):null;this.S=$r(a,3)?as(a,3):null;this.U=$r(a,4)?as(a,4):null;this.V=$r(a,5)?as(a,5):null;$r(a,6)&&as(a,6);this.R=$r(a,7)?as(a,7):null;this.errorMessage=$r(a,8)?as(a,8):null},Txa=function(a,b){var c=Xx.getDescriptor();b=gw(c,b);if(null==b)return null;if(!Cx(a.W,b))return sy(a.R,"INCOMING_MESSAGE_FAILURE"),null;c=as(b,1);if(3!=as(as(as(c,1),1),1))return sy(a.R,"PROTOCOL_VERSION_FAILURE"),null;if($r(b, 6))return b=as(b,6),ry(a.R.H,"CONFIG_CHANGE"),$r(b,1)&&(a.$=t()+es(b,1)),null;a.S=Math.max(a.S,as(c,4));return new Sxa(b)};
var uy=function(a){return new xx(a.getSource(),a.getName())},vy=function(a){var b=a.getSource();a=a.getName();var c=new Jx;bs(c,1,b);c.le(a);return c};var xy=function(a,b,c,d,e,g,h){this.V=b;this.$=g;this.ka=h;this.W=d;this.S=e;this.U=!1;this.ra=new vx(a,r(function(){this.U=!1;this.H()?wy(this,!0):null!=e&&this.S.reset()},this))};v(xy,wx);var wy=function(a,b){a.U||(b=b?null!=a.S?a.ka+Sv(a.S):a.ka+Uxa(a.W,a.$):Uxa(a.W,a.$),t(),yy(a.V,b,a.ra),a.U=!0)};
var Wxa=function(a){this.ko=a||Vxa},Vxa=function(a,b){return String(a)<String(b)?-1:String(a)>String(b)?1:0};f=Wxa.prototype;f.mg=null;f.ko=null;f.$i=null;f.Yi=null;
f.add=function(a){if(null==this.mg)return this.Yi=this.$i=this.mg=new zy(a),!0;var b=null;Ay(this,function(c){var d=null,e=this.ko(c.value,a);0<e?(d=c.left,null==c.left&&(b=new zy(a,c),c.left=b,c==this.$i&&(this.$i=b))):0>e&&(d=c.right,null==c.right&&(b=new zy(a,c),c.right=b,c==this.Yi&&(this.Yi=b)));return d});b&&(Ay(this,function(a){a.count++;return a.parent},b.parent),By(this,b.parent));return!!b};
f.remove=function(a){var b=null;Ay(this,function(c){var d=null,e=this.ko(c.value,a);0<e?d=c.left:0>e?d=c.right:(b=c.value,Xxa(this,c));return d});return b};f.clear=function(){this.Yi=this.$i=this.mg=null};f.contains=function(a){var b=!1;Ay(this,function(c){var d=null,e=this.ko(c.value,a);0<e?d=c.left:0>e?d=c.right:b=!0;return d});return b};
f.indexOf=function(a){var b=-1,c=0;Ay(this,function(d){var e=this.ko(d.value,a);if(0<e)return d.left;d.left&&(c+=d.left.count);if(0>e)return c++,d.right;b=c;return null});return b};f.Bc=function(){return this.mg?this.mg.count:0};f.Ec=function(){var a=[];Yxa(this,function(b){a.push(b)});return a};
var Yxa=function(a,b){if(a.mg){var c;a=c=Zxa(a);for(c=c.left?c.left:c;null!=a;)if(null!=a.left&&a.left!=c&&a.right!=c)a=a.left;else{if(a.right!=c&&b(a.value))break;var d=a;a=null!=a.right&&a.right!=c?a.right:a.parent;c=d}}},Ay=function(a,b,c){for(c=c?c:a.mg;c&&null!=c;)c=b.call(a,c)},By=function(a,b){Ay(a,function(a){var b=a.left?a.left.height:0,c=a.right?a.right.height:0;1<b-c?(a.left.right&&(!a.left.left||a.left.left.height<a.left.right.height)&&$xa(this,a.left),aya(this,a)):1<c-b&&(a.right.left&&
(!a.right.right||a.right.right.height<a.right.left.height)&&aya(this,a.right),$xa(this,a));b=a.left?a.left.height:0;c=a.right?a.right.height:0;a.height=Math.max(b,c)+1;return a.parent},b)},$xa=function(a,b){Cy(b)?(b.parent.left=b.right,b.right.parent=b.parent):Dy(b)?(b.parent.right=b.right,b.right.parent=b.parent):(a.mg=b.right,a.mg.parent=null);a=b.right;b.right=b.right.left;null!=b.right&&(b.right.parent=b);a.left=b;b.parent=a;a.count=b.count;b.count-=(a.right?a.right.count:0)+1},aya=function(a,
b){Cy(b)?(b.parent.left=b.left,b.left.parent=b.parent):Dy(b)?(b.parent.right=b.left,b.left.parent=b.parent):(a.mg=b.left,a.mg.parent=null);a=b.left;b.left=b.left.right;null!=b.left&&(b.left.parent=b);a.right=b;b.parent=a;a.count=b.count;b.count-=(a.left?a.left.count:0)+1},Xxa=function(a,b){if(null!=b.left||null!=b.right){var c=null;if(null!=b.left){var d=bya(a,b.left);Ay(a,function(a){a.count--;return a.parent},d);if(d!=b.left){if(d.parent.right=d.left)d.left.parent=d.parent;d.left=b.left;d.left.parent=
d;c=d.parent}d.parent=b.parent;d.right=b.right;d.right&&(d.right.parent=d);b==a.Yi&&(a.Yi=d)}else{d=Zxa(a,b.right);Ay(a,function(a){a.count--;return a.parent},d);if(d!=b.right){if(d.parent.left=d.right)d.right.parent=d.parent;d.right=b.right;d.right.parent=d;c=d.parent}d.parent=b.parent;d.left=b.left;d.left&&(d.left.parent=d);b==a.$i&&(a.$i=d)}d.count=b.count;Cy(b)?b.parent.left=d:Dy(b)?b.parent.right=d:a.mg=d;By(a,c?c:d)}else Ay(a,function(a){a.count--;return a.parent},b.parent),Cy(b)?(b.parent.left=
null,b==a.$i&&(a.$i=b.parent),By(a,b.parent)):Dy(b)?(b.parent.right=null,b==a.Yi&&(a.Yi=b.parent),By(a,b.parent)):a.clear()},Zxa=function(a,b){if(!b)return a.$i;var c=b;Ay(a,function(a){var b=null;a.left&&(b=c=a.left);return b},b);return c},bya=function(a,b){if(!b)return a.Yi;var c=b;Ay(a,function(a){var b=null;a.right&&(b=c=a.right);return b},b);return c},zy=function(a,b){this.value=a;this.parent=b?b:null;this.count=1};zy.prototype.left=null;zy.prototype.right=null;zy.prototype.height=1; var Dy=function(a){return!!a.parent&&a.parent.right==a},Cy=function(a){return!!a.parent&&a.parent.left==a};
var dya=function(a){this.H=new Wxa(cya);this.R=a;Ey(this)},Fy=function(a,b){this.digest=a;this.Yx=b};Fy.prototype.toString=function(){return Lo("[%s, %s]",this.digest.toString(),this.Yx.toString())};var cya=function(a,b){a:{a=a.digest.H;b=b.digest.H;for(var c=Cg,d=Math.min(a.length,b.length),e=0;e<d;e++){var g=c(a[e],b[e]);if(0!=g){a=g;break a}}a=Cg(a.length,b.length)}return a};f=dya.prototype;
f.add=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=Fxa(d,this.R);e=new Fy(e,d);this.H.contains(e)||(this.H.add(e),b.push(d))}0<b.length&&Ey(this);return b};f.remove=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=Fxa(d,this.R);e=new Fy(e,d);this.H.contains(e)&&(this.H.remove(e),b.push(d))}0<b.length&&Ey(this);return b};f.removeAll=function(){for(var a=[],b=this.H.Ec(),c=0;c<b.length;c++)a.push(b[c].Yx);this.H.clear();Ey(this);return a};
f.contains=function(a){var b=Fxa(a,this.R);return this.H.contains(new Fy(b,a))};f.size=function(){return this.H.Bc()};var Ey=function(a){for(var b=[],c=a.H.Ec(),d=0;d<c.length;d++)b.push(c[d].digest);c=a.R;c.reset();for(d=0;d<b.length;d++)c.update(b[d].H);b=Exa(c);a.S=b};dya.prototype.toString=function(){return Lo("Digest: %s, Regs: %s",this.S.toString(),this.H.Ec().toString())};
var fya=function(a,b,c){this.H=new dya(c);this.U=b;this.S=eya(this);this.R=new nl},eya=function(a){var b=new Nx,c=a.H.size();bs(b,1,c);a=a.H.S.Za();bs(b,2,a);return b},Gy=function(a){return a.S.equals(eya(a))};fya.prototype.toString=function(){return Lo("Last known digest: %s, Requested regs: %s",this.S.toString(),this.H.toString())};
var Hy=function(){this.H=1};Hy.prototype.start=function(){this.H=2};Hy.prototype.stop=function(){this.H=3};var gya=function(a,b){this.H=a;this.R=b/100},Uxa=function(a,b){a=(2*a.H()-1)*a.R;return Math.ceil(b+b*a)};var Iy=function(a,b,c,d,e,g,h){this.va=null==b?Math.random:b;this.Ba=a;this.$=a.R;this.Ib=a.S;this.Fc=h;this.S=e;b=new Kx;bs(b,1,c);bs(b,2,d);this.ab=b;this.H=new Nxa;this.Fa=new Dxa;this.U=new fya(0,this.H,this.Fa);this.wb=new Oxa;this.ta=new gya(this.va,es(e,7));es(e,10);this.W=new Qxa(a,this.H,c,g,this,this.wb);this.V=new Hy;this.ma=this.R=null;this.Da=!1;this.nb=t();this.Ka=!0;this.ai=this.nb;this.Ma=this.Qa=this.Ta=0;this.Va=new hya(this);this.zj=new iya(this);this.Xb=new jya(this);this.rb=new kya(this);
a=es(this.S,10);this.ka=new lya(this.$,0,this.ta,es(a,1),this.W);a=r(this.Ab,this);this.Ba.H.$=a;a=r(this.Hb,this);this.Ba.H.ra.push(a);this.Ua=new Axa},hya=function(a){var b=a.S,c=mya(a,es(b,2));xy.call(this,"AcquireToken",a.$,0,a.ta,c,0,es(b,2));this.R=a};v(hya,xy);hya.prototype.H=function(){var a=this.R;if(null==a.R){Jy(a,(0,this.R.va)().toString());var b=a.W,c=a.ab;a=a.ma;var d=this.R.ka;as(c,1);var e=b.U,g=new Qx;bs(g,1,e);bs(g,3,c);bs(g,4,2);bs(g,2,a);b.H.U=g;wy(d,!1);return!0}return!1};
var iya=function(a){var b=es(a.S,2),c=mya(a,b);xy.call(this,"RegSyncHeartbeat",a.$,0,a.ta,c,b,b);this.R=a};v(iya,xy);iya.prototype.H=function(){var a=this.R;if(Gy(a.U))return!1;a.ra(!1,!0);return!0};var jya=function(a){var b=a.S,c=mya(a,es(b,3));xy.call(this,"PersistentWrite",a.$,0,a.ta,c,0,es(b,3));this.ma=a;this.R=null};v(jya,xy);
jya.prototype.H=function(){var a=this.ma,b=a.R,c=vxa(b),d=Hxa(c,a.Fa);if(null==b||b==this.R)return!1;b=function(b){b.kh()?this.R=as(c,1):sy(a.H,"PERSISTENT_WRITE_FAILURE")}.bind(this);a.Ba.U.S("ClientToken",d,b);return!0};var kya=function(a){xy.call(this,"Heartbeat",a.$,0,a.ta,null,es(a.S,4),0);this.ma=a;this.R=0};v(kya,xy);kya.prototype.H=function(){var a=this.ma,b=this.R<=t();if(b){var c=es(a.S,5);this.R=t()+Uxa(this.W,c)}a.ra(b,!Gy(a.U));return!0};
var lya=function(a,b,c,d,e){xy.call(this,"Batching",a,0,c,null,d,0);this.R=e};v(lya,xy);
lya.prototype.H=function(){var a=this.R;if(a.$>t())t();else{var b=a.H;var c=null!=a.Fc.R,d=new Px;null!=b.U&&(ry(b.H.R,"INITIALIZE"),bs(d,2,b.U),b.U=null);if(c||$r(d,2)){if(!b.R.isEmpty()){c=b.R.Ec();b.R.clear();for(var e=new by,g=0;g<c.length;g++)cs(e,1,c[g]);bs(d,5,e);ry(b.H.R,"INVALIDATION_ACK")}if(!b.W.isEmpty()){c=b.W.Ec();b.W.clear();e=new Rx;for(g=0;g<c.length;g++)cs(e,1,c[g]);bs(d,3,e);ry(b.H.R,"REGISTRATION")}if(!b.V.isEmpty()){c=new Sx;e=b.V.Ec();for(g=0;g<e.length;g++)cs(c,1,e[g]);bs(d,
4,c);b.V.clear();ry(b.H.R,"REGISTRATION_SYNC")}null!=b.S&&(ry(b.H.R,"INFO"),bs(d,6,b.S),b.S=null);b=d}else sy(b.H,"TOKEN_MISSING_FAILURE"),b=null;null!=b&&(d=new Ox,bs(d,1,pxa),c=t(),bs(d,4,c),bs(d,6,a.V.toString()),bs(d,5,a.S),c=eya(a.Fc.U),bs(d,3,c),bs(d,7,a.U),c=a.Fc.R,null!=c&&bs(d,2,c),bs(b,1,d),a.V++,d=b,Cx(a.W,d)?(c=$r(as(d,1),2),d=$r(d,2)?!c:c):d=!1,d?(ry(a.R.R,"TOTAL"),b=fw(b),a.ma.sendMessage(b),a.Fc.Ma=t()):sy(a.R,"OUTGOING_MESSAGE_FAILURE"))}return!1};
var nya=function(){var a=new fy;bs(a,1,rxa);var b=new ey,c=new dy;bs(c,1,5E3);bs(c,2,3);cs(b,2,c);bs(a,10,b);return a};Iy.prototype.start=function(){2!=this.V.H&&(Jy(this,(0,this.va)().toString()),oya(this))};Iy.prototype.stop=function(){2==this.V.H&&this.V.stop()};Iy.prototype.register=function(a){pya(this,Array.prototype.slice.call(arguments),1)};Iy.prototype.unregister=function(a){pya(this,Array.prototype.slice.call(arguments),2)};
var pya=function(a,b,c){if(3!=a.V.H)if(2==a.V.H){var d=[];for(k=0;k<b.length;k++)n=b[k],n=vy(n),ry(a.H.S,1==c?"REGISTRATION":"UNREGISTRATION"),d.push(n);b=a.U;for(k=0;k<d.length;k++)b.R.set(fw(d[k]),c);d=1==c?b.H.add(d):b.H.remove(d);if(a.Da&&0<d.length){b=a.W;k=a.ka;c=1==c;for(n=0;n<d.length;n++){var e=b.H,g=d[n],h=uxa(g,c);e.W.set(fw(g),h)}wy(k,!1)}wy(a.zj,!1)}else for(var k=0;k<b.length;k++){var n=b[k];a.Fc.fp(a,n,!0,"Client not yet ready")}};
Iy.prototype.dm=function(a){a=gw(iy.getDescriptor(),a.H);if(null==a)sy(this.H,"ACKNOWLEDGE_HANDLE_FAILURE");else{var b;if(b=$r(a,1))b=as(a,1),b=Cx(this.wb,b);if(b){var c=as(a,1);jpa(c,4);ry(this.H.S,"ACKNOWLEDGE");a=this.ka;this.W.H.R.set(fw(c),c);wy(a,!1);a=this.Ua;if(as(c,6)&&as(c,2)){b=Bxa(as(c,1));c=dc(as(c,3));var d=a.H.get(b,Yb(-1));0<kc(c,d)&&a.H.set(b,c)}}else sy(this.H,"ACKNOWLEDGE_HANDLE_FAILURE")}};
Iy.prototype.Hb=function(a){var b=this.Ka;(this.Ka=a)&&!b&&t()>this.Ma+es(this.S,12)&&(t(),this.ra(!0,!Gy(this.U)));if(a!=b){a=t();var c=a-this.Ma;this.ai=a;b?(this.Ta+=c,sy(this.H,"NETWORK_DISCONNECTED")):this.Qa+=c}};
Iy.prototype.Ab=function(a){ry(this.H.H,"TOTAL");a=Txa(this.W,a);if(null!=a&&qya(this,a)){if(null!=a.H){ry(this.H.H,"TOKEN_CONTROL");var b=a.ul.token,c=$r(a.H,1)?as(a.H,1):null;if(null!=c){var d=b==this.R;if(b==this.ma||d)wy(this.rb,!1),Jy(this,null),Ky(this,c),wy(this.Xb,!1)}else Ky(this,null),wy(this.Va,!1)}if(null!=this.R){b=a.ul;if(null!=b.H){this.Da=!0;c=this.U;b=b.H;null!=b&&(c.S=b);b=[];if(Gy(c)){d=c.R.yd();for(var e=(new Jx).getDescriptor(),g=0;g<d.length;g++){var h=gw(e,d[g]),k=1==c.R.get(d[g]);
h=uxa(h,k);b.push(h)}c.R.clear()}for(c=0;c<b.length;c++)e=b[c],d=uy(as(e,1)),e=1==as(e,2)?0:1,this.Fc.Es(this,d,e)}if(null!=a.S)for(ry(this.H.H,"INVALIDATION"),b=ds(a.S,1)||[],c=0;c<b.length;c++)e=d=b[c],g=new iy,bs(g,1,e),e=fw(g),e=new Ax(e),g=this.Ua,k=d,as(k,2)?(h=Bxa(as(k,1)),k=dc(as(k,3)),g=g.H.get(h,Yb(-1)),g=0<=kc(g,k)):g=!1,g?(this.dm(e),ry(this.H.H,"STALE_INVALIDATION")):as(d,1).equals(txa)?(this.Fc.bx(this,e),ry(this.H.V,"INVALIDATE_ALL")):(g=d,h=uy(as(g,1)),k=parseInt(as(g,3),10),$r(g,
4)&&as(g,4),$r(g,6)&&as(g,6),g=new vwa(h,k),h=es(d,6),k=es(this.S,13),as(d,2),!as(d,2)||h&&!k?this.Fc.Gs(this,g.R,e):this.Fc.We(this,g,e));if(null!=a.U){ry(this.H.H,"REGISTRATION_STATUS");b=ds(a.U,1)||[];d=this.U;c=[];for(e=0;e<b.length;e++){g=b[e];h=as(as(g,1),1);d.R.remove(fw(h));k=!0;if(1==as(g.getStatus(),1)){var n=d.H.contains(h);1==as(as(g,1),2)!=n&&(d.H.remove([h]),sy(d.U,"REGISTRATION_DISCREPANCY"),k=!1)}else d.H.remove([h]),k=!1;c.push(k)}for(d=0;d<b.length;++d)g=b[d],h=c[d],e=as(as(g,1),
1),e=uy(e),h?(g=1==as(as(g,1),2)?0:1,this.Fc.Es(this,e,g)):(h=g.getStatus(),g=1==as(h,1)?"Registration discrepancy detected":as(g.getStatus(),2),h=3==as(h,1),this.Fc.fp(this,e,!h,g))}if(null!=a.V){ry(this.H.H,"REGISTRATION_SYNC_REQUEST");d=this.U;b=new Tx;c=[];d=d.H.H.Ec();for(e=0;e<d.length;e++)c.push(d[e].Yx);for(d=0;d<c.length;d++)cs(b,1,c[d]);c=this.ka;this.W.H.V.set(fw(b),b);wy(c,!1)}if(null!=a.R){ry(this.H.H,"INFO_REQUEST");b=ds(a.R,1)||[];c=!1;for(d=0;d<b.length&&!(c=1==b[d]);d++);this.ra(c,
!Gy(this.U))}if(null!=a.errorMessage&&(ry(this.H.H,"ERROR"),b=as(a.errorMessage,1),a=as(a.errorMessage,2),this.Fc.Ds(this,new zx(0,0,0,null)),1==b)){c=this.U;d=new nl;e=c.H.removeAll();for(b=0;b<e.length;b++)d.set(fw(e[b]),"");e=c.R.yd();for(b=0;b<e.length;b++)d.set(e[b],"");c.R.clear();c=[];d=d.yd();e=(new Jx).getDescriptor();for(b=0;b<d.length;b++)g=gw(e,d[b]),c.push(g);for(b=0;b<c.length;b++)d=uy(c[b]),this.Fc.fp(this,d,!1,"Auth error: "+a)}}}};
var qya=function(a,b){return null!=a.R?a.R!=b.ul.token?(sy(a.H,"TOKEN_MISMATCH"),!1):!0:null!=a.ma?a.ma!=b.ul.token?(sy(a.H,"NONCE_MISMATCH"),!1):!0:!1};
Iy.prototype.ra=function(a,b){var c=new nl,d=null;if(a){a=this.H;ty(a.R,c,"SentMessageType");ty(a.H,c,"ReceivedMessageType");ty(a.S,c,"IncomingOperationType");ty(a.V,c,"ListenerEventType");ty(a.U,c,"ClientErrorType");a=t();c.set("NonCounterType.CLIENT_UPTIME_MS",a-this.nb);a-=this.ai;d=this.Ta;var e=this.Qa;if(this.Ka){d+=a;var g=1}else e+=a,g=0;c.set("NonCounterType.IS_NETWORK_ONLINE",g);c.set("NonCounterType.NETWORK_STATUS_DURATION_MS",a);c.set("NonCounterType.TOTAL_NETWORK_UPTIME_MS",d);c.set("NonCounterType.TOTAL_NETWORK_DOWNTIME_MS",
e);d=this.S}a=this.W;g=d;d=this.ka;e=new Ux;bs(e,1,a.ka);null!=g&&bs(e,5,g);g=c.yd();for(var h=0;h<g.length;h++){var k=g[h],n=c.get(g[h]),q=new Vx;q.le(k);q.yb(n);cs(e,3,q)}bs(e,4,b);a.H.S=e;wy(d,!1)};
var oya=function(a){a.Ba.U.V("ClientToken",r(function(a,c){c=a.kh()?c:null;a.kh()||(sy(this.H,"PERSISTENT_READ_FAILURE"),a.getMessage());if(null==c)a=null;else{a=this.Ib;var b=this.Fa,e=ky.getDescriptor();e=gw(e,c);var g=null==e?null:as(e,1);null==g?a=null:Gxa(g,b).Za()!=as(e,2)?(a&&as(e,2),a=null):a=g}null!=c&&null==a&&sy(this.H,"PERSISTENT_DESERIALIZATION_FAILURE");null!=a?(c=as(a,1),Jy(this,null),Ky(this,c),this.Da=!1,c=new vx("SendFirstPersistentInfo",r(this.ra,this,!1,!0)),a=es(this.S,9),yy(this.$,
a,c),wy(this.rb,!1)):(this.Da=!0,Ky(this,null),wy(this.Va,!1))},a))},Jy=function(a,b){a.ma=null==b?null:Aea(b)},Ky=function(a,b){var c=2!=a.V.H&&null==a.R&&null!=b;a.R=b;c&&(a.V.start(),a.Fc.ready(a),a.Fc.qy(a,"",0))},mya=function(a,b){return new Rv(a.va,b,es(a.S,6))};Iy.prototype.toString=function(){var a=this.R;return Lo("Client: clientName = %s, token = %s, state = %s",this.ab.toString(),null!=a?a.toString():"null",this.V.toString())};
var rya=function(a){this.V=a.V;this.H=new nl;this.R=!1;a=nya();this.W=new Rv(Math.random,es(a,2),es(a,6))};f=rya.prototype;f.register=function(a,b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;d<c.length;d++){var e=c[d],g=fw(vy(e));this.H.set(g,e)}d=a;this.R&&d.register.apply(d,c)};f.unregister=function(a,b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;d<c.length;d++){var e=fw(vy(c[d]));this.H.remove(e)}d=a;this.R&&d.unregister.apply(d,c)};
f.ready=function(a){this.R=!0;sya(this,a)};f.qy=function(a){this.R&&sya(this,a)};f.Es=function(a,b,c){tya(this,a,b,c);this.W.reset()};f.fp=function(a,b,c){c?tya(this,a,b,null):(b=fw(vy(b)),this.H.remove(b),this.Ds(a,new zx(0,0,0,null)))};var tya=function(a,b,c,d){var e=fw(vy(c)),g=ql(a.H,e);if(null==d||0==d!=g)d=Sv(a.W),yy(a.V,d,new vx("Reissue regop",r(function(){g?this.register(b,c):this.unregister(b,c)},a)))},sya=function(a,b){a.H.isEmpty()||(a=a.H.Ec(),b.register.apply(b,a))};
var Ly=function(a,b,c,d,e){this.R=b;this.V=c;this.S=a;this.H=d;this.U=e;this.W=new Hy;this.R.H(this);this.V.H(this);this.S&&this.S.H(this);this.H.H(this);this.U.H(this)};Ly.prototype.start=function(){this.W.start()};Ly.prototype.stop=function(){this.W.stop();this.H.stop()};
var uya=function(){};var My=function(){};v(My,uya);My.prototype.Bc=function(){var a=0;Qha(this.uf(!0),function(){a++});return a};My.prototype.clear=function(){var a=Rha(this.uf(!0)),b=this;E(a,function(a){b.remove(a)})};var vya=function(a){this.H=a};v(vya,My);f=vya.prototype;f.set=function(a,b){try{this.H.setItem(a,b)}catch(c){if(0==this.H.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};f.get=function(a){a=this.H.getItem(a);if(!na(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.H.removeItem(a)};f.Bc=function(){return this.H.length};
f.uf=function(a){var b=0,c=this.H,d=new ml;d.next=function(){if(b>=c.length)throw ll;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!na(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};f.clear=function(){this.H.clear()};f.key=function(a){return this.H.key(a)};
var wya=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.H=a};v(wya,vya);var xya=function(a,b){this.R=a;this.H=null;if(oh&&!xh(9)){Ny||(Ny=new nl);this.H=Ny.get(a);this.H||(b?this.H=document.getElementById(b):(this.H=document.createElement("userdata"),this.H.addBehavior("#default#userData"),document.body.appendChild(this.H)),Ny.set(a,this.H));try{this.H.load(this.R)}catch(c){this.H=null}}};v(xya,My);var yya={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Ny=null,zya=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return yya[a]})};
f=xya.prototype;f.set=function(a,b){this.H.setAttribute(zya(a),b);Aya(this)};f.get=function(a){a=this.H.getAttribute(zya(a));if(!na(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.H.removeAttribute(zya(a));Aya(this)};f.Bc=function(){return Bya(this).attributes.length};
f.uf=function(a){var b=0,c=Bya(this).attributes,d=new ml;d.next=function(){if(b>=c.length)throw ll;var d=c[b++];if(a)return decodeURIComponent(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!na(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};f.clear=function(){for(var a=Bya(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);Aya(this)}; var Aya=function(a){try{a.H.save(a.R)}catch(b){throw"Storage mechanism: Quota exceeded";}},Bya=function(a){return a.H.XMLDocument.documentElement};
var Oy=function(a,b){this.R=a;this.H=b+"::"};v(Oy,My);Oy.prototype.set=function(a,b){this.R.set(this.H+a,b)};Oy.prototype.get=function(a){return this.R.get(this.H+a)};Oy.prototype.remove=function(a){this.R.remove(this.H+a)};Oy.prototype.uf=function(a){var b=this.R.uf(!0),c=this,d=new ml;d.next=function(){for(var d=b.next();d.substr(0,c.H.length)!=c.H;)d=b.next();return a?d.substr(c.H.length):c.R.get(d)};return d};
var Cya=function(a){var b=new wya;if(b.H)try{b.H.setItem("__sak","1");b.H.removeItem("__sak");var c=!0}catch(d){c=!1}else c=!1;return c?a?new Oy(b,a):b:null};var Dya=function(a){this.S=a;this.U=Pb();this.R=(this.H=Cya("google_notification_values_"+this.S))?Cya("google_notification_remover_"+this.S):null};Dya.prototype.add=function(a){if(null!=this.H&&!(10<=this.H.Bc())){var b=Pb();null!=a?this.H.set(b,a):this.H.remove(b)}};
var Eya=function(a){for(var b=null,c=5;null==b&&0<c--;){var d=a.H?Rha(a.H.uf(!0)):[];if(0==d.length)break;b=a;d=d[Math.floor(Math.random()*d.length)];var e=b,g=d,h=b.U;h?e.R.set(g,h):e.R.remove(g);e=b.H.get(d);b.H.remove(d);b.R.get(d)!=b.U&&(e=null);b.R.remove(d);b=e}return b};
var Fya=function(a,b,c,d,e,g,h){Iy.call(this,a,b,c,d,e,g,h)};v(Fya,Iy);var Gya=function(a,b,c,d,e){this.H=a;this.Fc=b;this.S=d;this.R=[];this.U=e};f=Gya.prototype;f.start=function(){this.H.start()};f.stop=function(){this.H.stop()};f.register=function(a){this.H.register.apply(this.H,arguments);for(var b=0;b<arguments.length;b++){var c=arguments[b];if(this.U){var d=new Rv(Math.random,1E3,1E3);Sv(d);var e="client-ack-handle-"+Pb();e=new Ax(e);this.R.push(e);Hya(this,c,e,d)}}};f.unregister=function(a){this.H.unregister.apply(this.H,arguments)};
f.dm=function(a){var b=Iya(this,a);null!=b?(a=this.R,this.R=a.slice(0,b).concat(a.slice(b+1))):this.H.dm(a)};var Hya=function(a,b,c,d){a.Fc.Gs(a,b,c);var e=Sv(d);yy(a.S,e,new vx("retry invalidation",r(function(){null!=Iya(this,c)&&Hya(this,b,c,d)},a)))},Iya=function(a,b){for(var c=0;c<a.R.length;c++)if(a.R[c].equals(b))return c;return null};
var Py=function(a,b,c){this.U=a;this.W=b;this.$=c;this.R=null;this.ka=Jya(this)};Py.prototype.S=function(a,b,c){this.U.S(a,b,c);a==this.W&&(this.R=b)};Py.prototype.V=function(a,b){return this.U.V(a,b)};Py.prototype.H=function(a){this.U.H(a)};var Jya=function(a){a.R=Eya(a.$);return null!=a.R?(a.S(a.W,a.R,function(){}),!0):!1};
var Kya=function(a){this.Fc=a;this.H=null};f=Kya.prototype;f.ready=function(){this.Fc.ready(this.H)};f.We=function(a,b,c){this.Fc.We(this.H,b,c)};f.Gs=function(a,b,c){this.Fc.Gs(this.H,b,c)};f.bx=function(a,b){this.Fc.bx(this.H,b)};f.Es=function(a,b,c){this.Fc.Es(this.H,b,c)};f.fp=function(a,b,c,d){this.Fc.fp(this.H,b,c,d)};f.qy=function(a,b,c){this.Fc.qy(this.H,b,c)};f.Ds=function(a,b){this.Fc.Ds(this.H,b)};
var Lya=function(a){this.H=a;this.S=!0;this.R=nya()},Mya=function(a,b,c){var d=a.S,e=b.R,g=a.V;if(b.S){var h=new Dya("tokens-"+b.H),k=new Py(a.U,"ClientToken",h);ri(window,"unload",function(){null!=k.R&&k.$.add(k.R)});d=new Ly(d,a.R,g,a.H,k);d.start();a=new Kya(c);b=new Fya(d,Math.random,b.H,"memento",e,"memento",a);c=new Gya(b,c,0,g,k.ka);return a.H=c}return new Fya(a,Math.random,b.H,"memento",e,"memento",c)};
var Nya=function(){this.R=null},yy=function(a,b,c){a=r(function(){2==this.R.W.H&&c.R()},a);L(a,b)};Nya.prototype.H=function(a){this.R=a};var Oya=function(){};v(Oya,Vta);Oya.prototype.H=function(){};var Qy=function(){this.R=null;this.U=new nl};Qy.prototype.H=function(a){this.R=a.R};Qy.prototype.S=function(a,b,c){var d=r(function(){this.U.set(a,b);c(new yx(0,""))},this);yy(this.R,0,new vx("writeKey",d))}; Qy.prototype.V=function(a,b){var c=r(function(){var c=this.U.get(a);c?b(new yx(0,""),c):b(new yx(2,"No value present in map for "+a),"")},this);yy(this.R,0,new vx("readKey",c))};
var Pya=function(a,b,c,d,e){this.MT=b;this.NT=c;this.OT=a;this.PT=d;this.QT=e};Pya.prototype.seal=function(){};var Qya=function(a,b,c,d,e){Pya.call(this,a,b,c,d,e)};v(Qya,Pya);var Ry=function(a,b,c,d,e,g,h){A.call(this);this.W=a;this.$=b;this.ta=c;this.Ba=d;this.ra=!!h;this.va=sa;this.R=this.S=this.H=null;this.U=this.V="";this.ka=g;this.Da=!p(g);this.ma=e};v(Ry,A);
var Rya=function(a){if(!a.H&&a.V&&(!a.Da||a.U)){a.ra?a.H=new zxa(a.W,a.$,"memento",a.ka||0,a.U||void 0):a.H=new yxa(a.W,a.$,"memento",a.ka,"lcsclient",a.U||void 0);var b=new Qya(new Oya,new Nya,new Nya,a.H,new Qy);b.seal();b=new Ly(b.OT,b.MT,b.NT,b.PT,b.QT);a.R=b;b=new Sy(a.R,a.ma,a.va);a.R.start();var c=a.R;var d=new Lya(a.ta);bs(d.R,13,!0);d.S=!0;c=Mya(c,d,b);a.S=c;a.S.start();b.register(a.S,new xx(a.Ba,a.V))}};Ry.prototype.Na=function(){this.S&&this.S.stop();this.R&&this.R.stop();Ry.ua.Na.call(this)};
var Sy=function(a,b,c){rya.call(this,a);this.U=b;this.S=-1;this.$=c};v(Sy,rya);Sy.prototype.We=function(a,b,c){b.H>this.S&&(this.S=b.H,this.U());a.dm(c)};Sy.prototype.Gs=function(a,b,c){this.S=-1;this.U();a.dm(c)};Sy.prototype.bx=function(a,b){this.S=-1;this.U();a.dm(b)};Sy.prototype.Ds=function(){this.$()};
var Ty=function(a){Mv.call(this);this.U=a;a=K(a);var b=Tb(Ih(a));b=isNaN(b)?void 0:b;this.V=new Ry(a.H.n_tu||"",a.H.n_tsu||"",a.H.n_tc||4,a.H.n_ts||4,r(this.trigger,this),b,Hh(a),r(this.RU,this));this.S=a;this.Ic=this.U.Ca();this.H=Jh(a);this.W=r(this.trigger,this,!1,!0)};v(Ty,Mv);f=Ty.prototype;f.Mv=function(){this.enabled&&("complete"===document.readyState?this.sG():this.R||(this.R=ri(window,"load",this.sG,void 0,this)))};
f.Jx=function(a){Ty.ua.Jx.call(this,a);if(a){var b=this.V;b.U=a;b.H?(b=b.H,b.S=a,b.U.AA(a)):Rya(b)}};f.sG=function(){var a=this.V,b=this.Ic.R.getId();a.V=b;Rya(a)};f.Pv=function(a){Wu(a.response,this.Ic.H.U)&&this.trigger(!0,!0);this.H=Jh(this.S)};f.wy=function(){L(this.W,this.H);this.H=Math.min(2*this.H,rea(this.S))};f.RU=function(){mj(this.U).mb("Sync Issues","tango error")};f.Na=function(){Ty.ua.Na.call(this);wi(this.R)};
var Uy=function(a,b){Mv.call(this);this.Ic=b};v(Uy,Mv);Uy.prototype.Mv=function(){this.enabled&&this.trigger()};Uy.prototype.Pv=function(a){Wu(a.response,this.Ic.U)&&this.trigger(!0,!0)};Uy.prototype.wy=function(){L(this.trigger,2E3,this)};var Vy=function(a){J.call(this);var b=a.Ca();this.W=K(a);this.ka=a;this.R=Hh(this.W)?new Lv(a):new mv(a);this.R.Lb(this);B(this,this.R);this.U=kv.Ja();B(this,this.U);this.ra=new Co(this.Fa,qea(this.W),this);B(this,this.ra);this.S=b.getState();if(Hh(this.W)){var c=this.S;c.ka=!0;c.S()}this.ma=b.H;this.Ma=b.U;this.V=this.W.H.n_t?new Ty(a):this.W.H.n_ep?new Ita(this.W,this.ma):new Uy(0,this.ma);B(this,this.V);this.V.Lb(this);this.Ua=this.W.H.n_csbs||120;this.ta=!1;this.va=[];this.Ka=Sya();this.H=new Am(this);
B(this,this.H);this.$=[];this.Ba=!1;this.Da=new Co(this.Qa,1E3,this);B(this,this.Da);this.H.listen(this.U,"change",this.OU).listen(this.R,"ab",this.BQ).listen(this.R,"cb",this.CQ).listen(this.R,["Va","Ua"],this.RQ).listen(this.R,"Ra",this.DP).listen(this.R,["Pa","Qa"],this.CP).listen(this.R,"bb",this.Ta).listen(this.V,"Ya",this.PU);this.U.R()&&(this.R.R=!0,this.R.init(),a=this.S,a.Da=!0,a.S())};v(Vy,J);var Wy=function(a,b){a=a.V;a.enabled!=b&&(a.enabled=b,a.Mv())};
Vy.prototype.Ta=function(){var a=this.R.W;Gh(this.W)&&a&&this.V.Jx(a);Tya(this);this.Fa();a=this.S;a.Ka=!0;a.S();Uya(this)};var Tya=function(a){var b=K(a.ka),c=Gh(b)?r(function(){return this.R.W||""},a):void 0;nj(a.ka).init(a.ka.Ca().U.H,Hh(b)?71:68,c,Ih(b)||void 0,!b.H.n_ugat)};Vy.prototype.sync=function(){this.ra.od()};
Vy.prototype.Fa=function(){if(this.R.qc&&this.V.isEnabled()&&this.U.R()&&!this.ta){this.Ma.R=this.Ka;this.Ka=Sya();var a=this.ma.Za(!1,this.Ua),b=Ar.Ja();b.hc()&&(a.userInfo=b.Za());this.V.yE();dv(this.S,"kb");this.R.jG(a);b=gl.Ja();b.H&&hl(b,new il("Upsync",jl(a,!0),jl(a,!1)));this.ta=!0;this.dispatchEvent(new Vya(a.nodes))}else this.ra.od()};
var Sya=function(){return"request."+Pb()+"."+(new Date).getTime()},Wya=function(a,b,c){(void 0===c?0:c)?((c=a.$.indexOf(b))&&a.$.splice(c,1),a.$.unshift(b)):a.$.push(b);!a.Ba&&a.Da.od()};Vy.prototype.Qa=function(){this.$.length&&(this.Ba=!0,dv(this.S,"eb"),this.R.fG(this.$.shift()))};Vy.prototype.requestAccess=function(a){this.R.qc&&this.U.R()||!pg(this.va,a)?this.R.Cy(a):this.va.push(a)};var Uya=function(a){E(a.va,function(a){this.R.Cy(a)},a);rg(a.va)};f=Vy.prototype;
f.PU=function(a){a.$?this.Fa():this.sync()};f.CQ=function(a){var b=a.response;b=b.S?b.S.H.requestId:"";"kb"==a.requestType&&(this.ta=!1,b&&b!=this.Ma.R?mj(this.ka).mb("Sync Issues","downsync for old request ignored"):(Mha(gl.Ja(),a.response.H),this.dispatchEvent(new Ku("ob",a.response)),ev(this.S,a.requestType),a.response.H.upgradeRecommended&&this.dispatchEvent("Za"),this.ma.hc()?(this.ma.Ba&&this.ra.stop(),this.ra.od()):this.V.Pv(a)))};
f.RQ=function(a){if(Uu(a.response)){var b=this.S;a=Vu(a.response);cv(b,"hb").U(a);b.S()}else ev(this.S,"hb")};f.DP=function(){ev(this.S,"gb")};f.CP=function(){ev(this.S,"eb");this.Ba=!1;this.$.length&&this.Da.od()};
f.BQ=function(a){Mha(gl.Ja(),a.response.H);var b=a.response;if(401==Vu(b)||403==Vu(b))fv(this.S,4);else if(400==Vu(a.response))fv(this.S,1),mj(this.ka).mb("Sync Issues","400-badrequest");else if("db"==a.requestType)fv(this.S,0);else{b=this.S;var c=Vu(a.response);cv(b,a.requestType).U(c);b.S();"kb"==a.requestType&&(this.V.wy(),this.ta=!1)}};f.OU=function(a){if(this.R.R=a.R)this.R.qc?(this.sync(),Uya(this)):this.R.init();var b=this.S;b.Da=a.R;b.S()}; var Xya=function(a){return a.U.R()&&a.R.qc&&!0},Vya=function(a){I.call(this,"pb");this.R=a};v(Vya,I);
var Xy,Yya;if(!(Yya=Cya("keep_db"))){var Zya=new xya("keep_db");Yya=Zya.H?Zya:null}Xy=Yya;var Yy=function(a){this.H="";this.S=this.R=null;a&&this.update(a)};Yy.prototype.update=function(a){this.H=a.temporaryUrl||"";this.S=a.height||null;this.R=a.width||null};Yy.prototype.Za=function(){var a={};a.temporaryUrl=this.H;a.height=this.S;a.width=this.R;return a};Yy.prototype.lc=function(){return this.R};
var Zy=function(a){this.tb=null;a&&this.update(a);this.tb||(new Date).getTime()};Zy.prototype.update=function(a){this.tb=a.id||null};Zy.prototype.Za=function(){var a={};this.tb&&(a.id=this.tb);return a};Zy.prototype.getId=function(){return this.tb};Zy.prototype.wg=function(a){this.tb=a};
var $ya=function(a){this.R=new Zy(a?a[this.V()]:void 0)};f=$ya.prototype;f.Za=function(){var a={};this.getId()&&(a[this.V()]=this.R.Za());return a};f.getId=function(){return this.R.getId()};f.wg=function(a){this.R.wg(a)};f.hc=function(){return!1};f.Sb=function(){return!1};f.xh=function(){};
var $y=function(a){$ya.call(this,a);this.H=null;this.U="UNKNOWN_MEDIA_ITEM_TYPE";this.S="";a&&this.update(a)};v($y,$ya);$y.prototype.V=Bi("mediaId");$y.prototype.update=function(a){this.xh(!1);new sr;a.imageAttributes?this.H=new Yy(a.imageAttributes):this.H=null;this.S=a.temporaryUrl||"";this.U=a.type||"UNKNOWN_MEDIA_ITEM_TYPE"};$y.prototype.Za=function(){var a=$y.ua.Za.call(this);this.H&&(a.imageAttributes=this.H.Za());a.temporaryUrl=this.S;a.type=this.U;return a};$y.prototype.getType=function(){return this.U};
var aza=function(){};aza.prototype.U=Bi({});aza.prototype.S=sa;var bza=function(a,b){this.V=a;this.W=b;this.R=this.H=null};v(bza,aza);bza.prototype.S=function(a){a=a.mediaItem;this.H=(a="object"==ua(a)?a:null)?a:null};var az=function(a){J.call(this);this.S=a;this.V={};this.W={};this.ta={};this.R={};this.H={};this.ka=Hh(K(a));this.ra=jea(K(a))+"v2/%s/%s?accept="+mea(K(a));this.ma=jea(K(a))+"%s?accept="+mea(K(a));this.$=jea(K(a))+"v2/%s/%s/%s?accept="+mea(K(a))};v(az,J);
var cz=function(a,b,c,d){var e=tu(b);if(e)if((Ls(e)||Ms(e))&&e.Wf)c(e.Wf);else if(Os(e))if(e.ra||b.Zb&&b.V){var g=e.Mj();g=e.ra?Lo(a.ma,e.getId()):g&&e.H?Lo(a.$,b.V||"",b.Zb||"",e.H):Lo(a.ra,b.V||"",b.Zb||"");var h=!Ns(e)||!d;Ns(e)&&!d&&(d=Math.max(e.ta,e.lc())||0);var k=h?a.V:a.ta,n=b.getId();k[n]?c(k[n]):h?bz(a,n,g,c,void 0,d?g+"&sz="+d:void 0,e,b.Zb,b.V):bz(a,n,g,c,n+"thumb",d?g+"&sz="+d:void 0,e,b.Zb,b.V)}else c("");else c(e.S);else c("")};
az.prototype.U=function(a,b,c,d,e){var g=new sr,h=this.W[e?a.tb:a.getId()];h&&864E5>g-h.FB?d(h.url):(b=new bza(b,c),c=cj(this.S,"r"),a=r(this.hQ,this,d,b,a,!!e),d="FP_"+Pb(),e=jh(c.R.H),kh(e,b.U()),c.sendRequest(d,"v1/"+("notes/"+b.W+"/mediaItems/"+b.V+":get"),"POST",JSON.stringify(e),Aa(c.H,b,a),!1))};
var bz=function(a,b,c,d,e,g,h,k,n){var q=jj(a.S);q&&dz(q)?(a.H[b]||(a.H[b]=[]),a.H[b].push(d),cza(q,b,r(a.SU,a,b,c),r(a.tQ,a,b,c)),h&&Ms(h)&&!a.R[h.tb]&&k&&n&&(c=r(a.hO,a,h,k,n),a=r(a.gO,a,h,k,n),dz(q)?ez(q,"BackgroundImage",h.tb,c,a):a&&a(null))):a.ka?(h=e||b,a.H[h]||(a.H[h]=[]),a.H[h].push(d),a.dispatchEvent(new fz(h,g||c))):d(g||c)},dza=function(a,b,c,d){var e=a.W[b];e?(e.url=c,e.FB=d):a.W[b]={FB:d,url:c}};f=az.prototype;
f.hQ=function(a,b,c,d){var e=c.getId(),g=c.tb;!b.R&&b.H&&(b.R=new $y(b.H));var h=b.R;b=h.H?h.H.H:null;h=h.S;if(d=d?b:h){var k=new sr;Ms(c)&&b&&dza(this,g,b,k);h&&(!Ms(c)||Ms(c)&&e!=g)&&dza(this,e,d,k);a(d)}else a("")};f.SU=function(a,b,c){c&&na(c)?eza(this,a,c):this.dispatchEvent(new fz(a,b))};f.tQ=function(a,b){this.dispatchEvent(new fz(a,b))};f.hO=function(a,b,c,d){d&&na(d)?this.R[a.tb]=d:fza(this,a,b,c)};f.gO=function(a,b,c){fza(this,a,b,c)};
var fza=function(a,b,c,d,e){a.U(b,c,d,r(function(a,b,c){if(c){var d=new XMLHttpRequest;d.responseType="blob";d.open("GET",c,!0);d.onload=r(function(a,b,c){(c=c.target.response)&&zv(c).mc(r(function(a,b,c){var d=jj(this.S);dz(d)&&gz(d,"BackgroundImage",b.tb,c,void 0);this.R[b.tb]=c;a&&a(c)},this,a,b))},this,a,b);d.send()}},a,e,b),!0)},eza=function(a,b,c){a.V[b]=c;if(a.H[b]){for(var d=a.H[b],e=0,g;g=d[e];++e)g(c);gh(a.H,b)}},fz=function(a,b){I.call(this,"sb");this.id=a;this.url=b};v(fz,I);
var hz=function(a,b){I.call(this,a);this.R=b};v(hz,I);var gza=function(a,b,c){I.call(this,"Gb");this.R=a;this.ma=b;this.$=c};v(gza,I);var hza=function(a){I.call(this,"wb");this.R=a};v(hza,I);var iz=function(a){I.call(this,"Db");this.isEmpty=a};v(iz,I);var iza=function(a,b){I.call(this,"Hb");this.message=a;this.R=b};v(iza,I);
var jz=function(a){this.W=a;this.$=this.W.Ca().H;this.U=new Set;this.V=new Set;this.S=new Set;this.H=null;this.R=Mh(K(this.W))};jz.prototype.init=function(){this.H=ij(this.W);(new Am(this)).listen(this.H,"Pa",this.ra).listen(this.H,"Ra",this.ka).listen(this.H,"Sa",this.ma)};
var jza=function(a){a.U.forEach(function(b){var c=Pu(a.$,b);if(c&&(!a.R||!c.Qa)){var d=tu(c);!d||Ms(d)&&!Os(d)||(a.U["delete"](b),b=a.H,dv(b.S,"gb"),b.R.gG(c))}});a.S.forEach(function(b){var c=Pu(a.$,b);!c||a.R&&c.Qa||(a.S["delete"](b),Wya(a.H,c))});a.V.forEach(function(b){var c=Pu(a.$,b);!c||a.R&&c.Qa||(a.V["delete"](b),b=a.H,dv(b.S,"lb"),b.R.kG(c))})},kz=function(a,b){a.S["delete"](b.getId());b.Ka="GET";Wya(a.H,b,!0)};
jz.prototype.ka=function(a){var b=a.ma,c=tu(b);c&&(c.H=a.$,this.R&&(Xpa(c,a.R),c.Fa=!1,Ss(c,null)));b.Ka="NONE";b.notify();!this.R&&kza(oj(this.W),b.getId(),a.$)};jz.prototype.ra=function(a){var b=a.ma,c=tu(b);c&&(a.R&&Xpa(c,a.R),a.$&&Rs(c,a.$),b.Ka="NONE",b.notify())};jz.prototype.ma=function(a){var b=a.$,c=tu(b);c&&(Xpa(c,a.R),Ss(c,null),b.Ka="NONE",b.notify())};
var lz={AED:[2,"dh","\u062f.\u0625.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,
"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"NT$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};
var nz=function(a,b,c){this.ta=b;this.Ta=c||0;this.Ba=40;this.R=1;this.Fa=0;this.U=3;this.Da=this.S=0;this.Qa=!1;this.va=this.ka="";this.V=Fa.Gu;this.ma="";this.H=1;this.$=!1;this.W=[];this.Ka=this.Ma=!1;this.ra=0;if("number"==typeof a)switch(a){case 1:mz(this,Fa.yu);break;case 2:mz(this,Fa.Tz);break;case 3:mz(this,Fa.Qz);break;case 4:a=Fa.yz;b=["0"];c=lz[this.ta||Fa.Zl][0]&7;if(0<c){b.push(".");for(var d=0;d<c;d++)b.push("0")}a=a.replace(/0.00/g,b.join(""));mz(this,a);break;case 5:lza(this,1);break;
case 6:lza(this,2);break;default:throw Error("dc");}else mz(this,a)},mz=function(a,b){b.replace(/ /g,"\u00a0");var c=[0];a.ka=oz(a,b,c);for(var d=c[0],e=-1,g=0,h=0,k=0,n=-1,q=b.length,u=!0;c[0]<q&&u;c[0]++)switch(b.charAt(c[0])){case "#":0<h?k++:g++;0<=n&&0>e&&n++;break;case "0":if(0<k)throw Error("jc`"+b);h++;0<=n&&0>e&&n++;break;case ",":0<n&&a.W.push(n);n=0;break;case ".":if(0<=e)throw Error("kc`"+b);e=g+h+k;break;case "E":if(a.Ka)throw Error("lc`"+b);a.Ka=!0;a.Da=0;c[0]+1<q&&"+"==b.charAt(c[0]+
1)&&(c[0]++,a.Qa=!0);for(;c[0]+1<q&&"0"==b.charAt(c[0]+1);)c[0]++,a.Da++;if(1>g+h||1>a.Da)throw Error("mc`"+b);u=!1;break;default:c[0]--,u=!1}0==h&&0<g&&0<=e&&(h=e,0==h&&h++,k=g-h,g=h-1,h=1);if(0>e&&0<k||0<=e&&(e<g||e>g+h)||0==n)throw Error("nc`"+b);k=g+h+k;a.U=0<=e?k-e:0;0<=e&&(a.S=g+h-e,0>a.S&&(a.S=0));a.R=(0<=e?e:k)-g;a.Ka&&(a.Ba=g+a.R,0==a.U&&0==a.R&&(a.R=1));a.W.push(Math.max(0,n));a.Ma=0==e||e==k;d=c[0]-d;a.va=oz(a,b,c);c[0]<b.length&&";"==b.charAt(c[0])?(c[0]++,1!=a.H&&(a.$=!0),a.V=oz(a,b,
c),c[0]+=d,a.ma=oz(a,b,c)):(a.V+=a.ka,a.ma+=a.va)},lza=function(a,b){a.ra=b;mz(a,Fa.yu);a.S=0;a.U=2;if(0<a.S)throw Error("bc");a.Fa=2};
nz.prototype.parse=function(a,b){b=b||[0];if(0!=this.ra)throw Error("ec");a=a.replace(/ /g,"\u00a0");var c=a.indexOf(this.ka,b[0])==b[0],d=a.indexOf(this.V,b[0])==b[0];c&&d&&(this.ka.length>this.V.length?d=!1:this.ka.length<this.V.length&&(c=!1));c?b[0]+=this.ka.length:d&&(b[0]+=this.V.length);if(a.indexOf(Fa.zq,b[0])==b[0]){b[0]+=Fa.zq.length;var e=Infinity}else{e=a;var g=!1,h=!1,k=!1,n=-1,q=1,u=Fa.zu,C=Fa.yq,D=Fa.Cu;if(0!=this.ra)throw Error("fc");for(var U="";b[0]<e.length;b[0]++){var W=e.charAt(b[0]),
ia=mza(W);if(0<=ia&&9>=ia)U+=ia,k=!0;else if(W==u.charAt(0)){if(g||h)break;U+=".";g=!0}else if(W==C.charAt(0)&&("\u00a0"!=C.charAt(0)||b[0]+1<e.length&&0<=mza(e.charAt(b[0]+1)))){if(g||h)break}else if(W==D.charAt(0)){if(h)break;U+="E";h=!0;n=b[0]}else if("+"==W||"-"==W){if(k&&n!=b[0]-1)break;U+=W}else if(1==this.H&&W==Fa.Ku.charAt(0)){if(1!=q)break;q=100;if(k){b[0]++;break}}else if(1==this.H&&W==Fa.Lu.charAt(0)){if(1!=q)break;q=1E3;if(k){b[0]++;break}}else break}1!=this.H&&(q=this.H);e=parseFloat(U)/
q}if(c){if(a.indexOf(this.va,b[0])!=b[0])return NaN;b[0]+=this.va.length}else if(d){if(a.indexOf(this.ma,b[0])!=b[0])return NaN;b[0]+=this.ma.length}return d?-e:e};
nz.prototype.format=function(a){if(isNaN(a))return Fa.Nz;var b=[];var c=a;if(0==this.ra)c=pz;else{c=Math.abs(c);var d=nza(this,1>=c?0:oza(c)).Ev;c=nza(this,d+oza(pza(this,c/Math.pow(10,d)).JD))}a/=Math.pow(10,c.Ev);b.push(c.prefix);d=0>a||0==a&&0>1/a;b.push(d?this.V:this.ka);if(isFinite(a))if(a=a*(d?-1:1)*this.H,this.Ka){var e=a;if(0==e)qza(this,e,this.R,b),rza(this,0,b);else{a=Math.floor(Math.log(e)/Math.log(10)+2E-15);var g=Math.pow(10,a);isFinite(g)&&0!==g?e/=g:(g=Math.pow(10,Math.floor(a/2)),
e=e/g/g,1==a%2&&(e=0<a?e/10:10*e));g=this.R;if(1<this.Ba&&this.Ba>this.R){for(;0!=a%this.Ba;)e*=10,a--;g=1}else 1>this.R?(a++,e/=10):(a-=this.R-1,e*=Math.pow(10,this.R-1));qza(this,e,g,b);rza(this,a,b)}}else qza(this,a,this.R,b);else b.push(Fa.zq);b.push(d?this.ma:this.va);b.push(c.AG);return b.join("")};
var pza=function(a,b){var c=Math.pow(10,a.U);a=0>=a.Fa?Math.round(b*c):Math.round(sza(b*c,a.Fa,a.U));isFinite(a)?(b=Math.floor(a/c),c=Math.floor(a-b*c)):c=0;return{JD:b,fM:c}},qza=function(a,b,c,d){if(a.S>a.U)throw Error("gc");d||(d=[]);b=pza(a,b);var e=b.JD,g=b.fM,h=0<a.S||0<g||!1;b=a.S;h&&(b=a.S);for(var k="",n=e;1E20<n;)k="0"+k,n=Math.round(n/10);k=n+k;var q=Fa.zu;n=Fa.Dq.charCodeAt(0);var u=k.length,C=0;if(0<e||0<c){for(e=u;e<c;e++)d.push(String.fromCharCode(n));if(2<=a.W.length)for(c=1;c<a.W.length;c++)C+=
a.W[c];c=u-C;if(0<c){e=a.W;C=u=0;for(var D,U=Fa.yq,W=k.length,ia=0;ia<W;ia++)if(d.push(String.fromCharCode(n+1*Number(k.charAt(ia)))),1<W-ia)if(D=e[C],ia<c){var $a=c-ia;(1===D||0<D&&1===$a%D)&&d.push(U)}else C<e.length&&(ia===c?C+=1:D===ia-c-u+1&&(d.push(U),u+=D,C+=1))}else{c=k;k=a.W;e=Fa.yq;D=c.length;U=[];for(u=k.length-1;0<=u&&0<D;u--){C=k[u];for(W=0;W<C&&0<=D-W-1;W++)U.push(String.fromCharCode(n+1*Number(c.charAt(D-W-1))));D-=C;0<D&&U.push(e)}d.push.apply(d,U.reverse())}}else h||d.push(String.fromCharCode(n));
(a.Ma||h)&&d.push(q);g=String(g);h=g.split("e+");2==h.length&&(g=String(sza(parseFloat(h[0]),a.Fa,1)),g=g.replace(".",""),g+=Lb("0",parseInt(h[1],10)-g.length+1));a.U+1>g.length&&(g="1"+Lb("0",a.U-g.length)+g);for(a=g.length;"0"==g.charAt(a-1)&&a>b+1;)a--;for(e=1;e<a;e++)d.push(String.fromCharCode(n+1*Number(g.charAt(e))))},rza=function(a,b,c){c.push(Fa.Cu);0>b?(b=-b,c.push(Fa.Gu)):a.Qa&&c.push(Fa.Rz);b=""+b;for(var d=Fa.Dq,e=b.length;e<a.Da;e++)c.push(d);c.push(b)},mza=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=Fa.Dq.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},oz=function(a,b,c){for(var d="",e=!1,g=b.length;c[0]<g;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<g&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":if(c[0]+1<g&&"\u00a4"==b.charAt(c[0]+1))c[0]++,d+=a.ta||Fa.Zl;else switch(a.Ta){case 0:d+=lz[a.ta||Fa.Zl][1];break;case 2:h=a.ta||Fa.Zl;var k=lz[h];d+=h==k[1]?h:h+" "+k[1];break;
case 1:d+=lz[a.ta||Fa.Zl][2]}break;case "%":if(!a.$&&1!=a.H)throw Error("hc");if(a.$&&100!=a.H)throw Error("ic");a.H=100;a.$=!1;d+=Fa.Ku;break;case "\u2030":if(!a.$&&1!=a.H)throw Error("hc");if(a.$&&1E3!=a.H)throw Error("ic");a.H=1E3;a.$=!1;d+=Fa.Lu;break;default:d+=h}}return d},pz={prefix:"",AG:"",Ev:0},nza=function(a,b){a=1==a.ra?Ca.wu:Ca.wz;null==a&&(a=Ca.wu);if(3>b)return pz;b=Math.min(14,b);var c=a[Math.pow(10,b)];for(--b;!c&&3<=b;)c=a[Math.pow(10,b)],b--;if(!c)return pz;a=c.other;return a&&
"0"!=a?(a=/([^0]*)(0+)(.*)/.exec(a))?{prefix:a[1],AG:a[3],Ev:b+1-(a[2].length-1)}:pz:pz},oza=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},sza=function(a,b,c){if(!a)return a;b=b-oza(a)-1;if(b<-c)return c=Math.pow(10,c),Math.round(a/c)*c;c=Math.pow(10,b);return Math.round(a*c)/c};
var tza=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"},uza=tza;uza=tza;var vza=function(a){a+="";var b=a.indexOf(".");return-1==b?0:a.length-b-1},wza=function(a,b){var c=a|0;a=void 0===b?Math.min(vza(a),3):b;return 1==c&&0==a?"one":"other"},xza=wza;xza=wza;var qz=function(a){this.V=a;this.R=this.H=this.W=null;a=Fa;var b=Ca;if(yza!==a||zza!==b)yza=a,zza=b,Aza=new nz(1);this.$=Aza},yza=null,zza=null,Aza=null,Bza=/'([{}#].*?)'/g,Cza=/''/g;qz.prototype.format=function(a){return this.U(a,!1)};var rz=function(a,b){return a.U(b,!0)};
qz.prototype.U=function(a,b){if(this.V){this.W=[];var c=Dza(this,this.V);this.R=sz(this,c);this.V=null}if(!this.R||0==this.R.length)return"";this.H=wg(this.W);c=[];Eza(this,this.R,a,b,c);for(a=c.join("");0<this.H.length;)a=a.replace(this.S(this.H),this.H.pop());return a};
var Eza=function(a,b,c,d,e){for(var g=0;g<b.length;g++)switch(b[g].type){case 4:e.push(b[g].value);break;case 3:var h=b[g].value,k=a,n=e,q=c[h];p(q)?(k.H.push(q),n.push(k.S(k.H))):n.push("Undefined parameter - "+h);break;case 2:h=b[g].value;k=e;n=h.Gq;p(c[n])?(n=h[c[n]],p(n)||(n=h.other),Eza(a,n,c,d,k)):k.push("Undefined parameter - "+n);break;case 0:h=b[g].value;Fza(a,h,c,xza,d,e);break;case 1:h=b[g].value,Fza(a,h,c,uza,d,e)}},Fza=function(a,b,c,d,e,g){var h=b.Gq,k=b.lA,n=+c[h];isNaN(n)?g.push("Undefined or invalid parameter - "+
h):(k=n-k,h=b[c[h]],p(h)||(d=a.$.Ua?d(k,a.$.Ua()):d(k),h=b[d],p(h)||(h=b.other)),b=[],Eza(a,h,c,e,b),c=b.join(""),e?g.push(c):(a=a.$.format(k),g.push(c.replace(/#/g,a))))},Dza=function(a,b){var c=a.W,d=r(a.S,a);b=b.replace(Cza,function(){c.push("'");return d(c)});return b=b.replace(Bza,function(a,b){c.push(b);return d(c)})},tz=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var g;g=e.exec(a);){var h=g.index;"}"==g[0]?(c.pop(),0==c.length&&(g={type:1},g.value=a.substring(b,h),d.push(g),b=
h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d},Gza=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Hza=/^\s*(\w+)\s*,\s*selectordinal\s*,/,Iza=/^\s*(\w+)\s*,\s*select\s*,/,sz=function(a,b){var c=[];b=tz(b);for(var d=0;d<b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var g=b[d].value;switch(Gza.test(g)?0:Hza.test(g)?1:Iza.test(g)?2:/^\s*\w+\s*/.test(g)?
3:5){case 2:e.type=2;e.value=Jza(a,b[d].value);break;case 0:e.type=0;e.value=Kza(a,b[d].value);break;case 1:e.type=1;e.value=Lza(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},Jza=function(a,b){var c="";b=b.replace(Iza,function(a,b){c=b;return""});var d={};d.Gq=c;b=tz(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=sz(a,b[e].value);d[g.replace(/\s/g,"")]=h;e++}return d},Kza=function(a,b){var c="",d=0;b=b.replace(Gza,function(a,b,e){c=b;e&&(d=parseInt(e,
10));return""});var e={};e.Gq=c;e.lA=d;b=tz(b);for(var g=0;g<b.length;){var h=b[g].value;g++;if(1==b[g].type)var k=sz(a,b[g].value);e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;g++}return e},Lza=function(a,b){var c="";b=b.replace(Hza,function(a,b){c=b;return""});var d={};d.Gq=c;d.lA=0;b=tz(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=sz(a,b[e].value);d[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};qz.prototype.S=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};
var uz=function(a){A.call(this);this.context=a;this.S=a.Ca().H;this.ma=this.ra=null;this.W="n"};l(uz,A);var Mza=function(a,b,c){if(a&&(a.S==b||a.H==b)){var d=a.S==b?c.getId():a.S;b=a.H==b?c.getId():a.H;return new Ct(d,b,a.R)}return a};uz.prototype.apply=function(){if(this.isDisposed()||"c"==this.W||"a"==this.W)return!1;var a=this.Ld();a&&(this.W="a",this.ma&&vz(kj(this.context),this.ma));return a};uz.prototype.Ld=function(){return!1};
var wz=function(a){if(a.isDisposed()||"n"==a.W||"r"==a.W)return!1;a.Gx()&&(a.ma=Nza(kj(a.context)));var b=a.Pe();b&&(a.W="r",a.ra&&vz(kj(a.context),a.ra));Ph(K(a.context))||a.dispose();return b};uz.prototype.Pe=function(){return!1};var xz=function(a){if(a.isDisposed()||"a"!=a.W)return!1;var b=a.jo();b&&(a.W="c");a.dispose();return b};f=uz.prototype;f.jo=function(){return!1};f.Df=function(){return!!this.Ue()};f.Xp=function(){return!!this.Ue()};f.Ue=function(){return""};f.Jd=function(){return""};
var yz=function(a,b){return!!pj(a.context)&&Du(b)&&!b.Xe};uz.prototype.iE=function(){return!1};uz.prototype.Gx=function(){return!1};var zz=function(a,b,c){a.ra=Mza(a.ra,b,c);a.ma=Mza(a.ma,b,c);a.Ai(b,c)};uz.prototype.Ai=function(){};uz.prototype.Bh=function(){return!1};var Az=function(a,b){uz.call(this,a);var c=this;this.H=[];b.jj.forEach(function(a){(a=Pu(c.S,a))&&c.H.push(a)})};l(Az,uz);Az.prototype.Ai=function(a,b){for(var c=0;c<this.H.length;c++)if(this.H[c].getId()==a){this.H.splice(c,1,b);break}}; Az.prototype.Bh=function(a){return this.H.some(function(b){return b.getId()==a})};var Bz=function(a,b){Az.call(this,a,b);this.node=this.H[0]};l(Bz,Az);Bz.prototype.Ai=function(a,b){Az.prototype.Ai.call(this,a,b);this.node=this.H[0]};
var Cz=function(a,b){Az.call(this,a,b);this.R="archive"==b.type;this.$={};this.V={};this.U={}};l(Cz,Az);
Cz.prototype.Ld=function(){var a=this,b=this.context.Ca().getState().Vf()?this.R?9014:9015:1<this.H.length?this.R?9133:9134:this.R?9141:9142;nj(this.context).log(b,1!=this.H.length?void 0:function(b){b.oe(a.H[0].getId());b.xe(a.context.Ca().getState().R)});var c=Su(this.S),d=!1;this.H.forEach(function(b){a.V[b.getId()]=b.Ed;b.Ed==a.R||Nr(b)||(a.$[b.getId()]=b.Ob,fu(b,c,!0),c+=St,a.R&&(a.U[b.getId()]=b.$d(),bu(b,!1)),au(b,a.R),d=!0)});return d};
Cz.prototype.Pe=function(){var a=this;this.H.forEach(function(b){fu(b,a.$[b.getId()],!0);a.R?bu(b,a.U[b.getId()]):bu(b,!1);au(b,a.V[b.getId()])},this);return!0};
Cz.prototype.Ue=function(){var a=this,b=this.H.every(function(b){return a.U[b.getId()]}),c=this.H.some(function(b){return a.U[b.getId()]}),d=this.H.some(function(b){return a.V[b.getId()]});return this.R&&b?(new qz("{count, plural, =1 {Note unpinned and archived}other {# notes unpinned and archived}}")).format({count:this.H.length}):this.R&&c?"Notes unpinned and archived":this.R&&d?"Notes archived":this.R?(new qz("{count, plural, =1 {Note archived}other {# notes archived}}")).format({count:this.H.length}): (new qz("{count, plural, =1 {Note unarchived}other {# notes unarchived}}")).format({count:this.H.length})};Cz.prototype.Jd=function(){return this.R?"Archive node":"Unarchive node"};
var Dz=function(a,b){Bz.call(this,a,b);this.$=this.getText();this.U=b.H;this.V=b.R;this.R=0};l(Dz,Bz);f=Dz.prototype;f.getText=function(){return this.node.getText()};f.kc=function(a){this.node.kc(a)};f.Ld=function(){this.R=t();this.kc(this.U);return!0};f.Pe=function(){this.kc(this.$);var a=Wt(this.node)?this.node.getId():this.node.Wc;a&&vz(kj(this.context),new Ct(a,this.node.getId(),this.V));return!0};f.Jd=function(){return"Change text"};f.Df=function(){return!0};f.Gx=function(){return!0}; f.iE=function(a){if(!(a instanceof Dz)||a.node.getId()!=this.node.getId()||250<a.R-this.R)return!1;this.U=a.U;this.R=a.R;return!0};
var Ez=function(a){Dz.apply(this,arguments)};l(Ez,Dz);Ez.prototype.getText=function(){return this.node.getTitle()};Ez.prototype.kc=function(a){this.node.setTitle(a)};Ez.prototype.Jd=function(){return"Change title"};var Fz=function(a,b){Az.call(this,a,b);this.R=new Map;this.U=b.color};l(Fz,Az);Fz.prototype.Ld=function(){var a=this,b=this.context.Ca().getState().Vf()?9016:1<this.H.length?9135:9143;nj(this.context).log(b,1!=this.H.length?void 0:function(b){b.oe(a.H[0].getId());b.xe(a.context.Ca().getState().R)});this.R.clear();this.H.forEach(function(b){a.R.set(b.getId(),b.Yc());Cra(b,a.U)});return!!this.H.length}; Fz.prototype.Pe=function(){var a=this;this.H.forEach(function(b){a.R.has(b.getId())&&Cra(b,a.R.get(b.getId()))});return!!this.H.length};Fz.prototype.Jd=function(){return"Color change"};
var Gz=function(a){a=Oza(a);return ig(a,function(a){return a.getContent()})},Pza=function(a,b,c){this.S=a;this.R=b;this.H=c};Pza.prototype.getContent=function(){return this.S.substring(this.R,this.H)};var Oza=function(a){for(var b=/\r\n|\r|\n/g,c=0,d,e=[];d=b.exec(a);)c=new Pza(a,c,d.index),e.push(c),c=b.lastIndex;c<a.length&&(c=new Pza(a,c,a.length),e.push(c));return e};
var Hz=function(a,b){uz.call(this,a);this.U=b.parentId;this.H=b.H;this.R=null;this.ra=b.R};l(Hz,uz);f=Hz.prototype;f.Ld=function(){var a=this,b=this.R||this.H;b.forEach(function(b){B(a,b);var c=b.clone();Ru(a.S,c,a.U,!0);Ug(c.getChildren(),function(b){Ru(a.S,b,c.getId(),!0)})});b===this.R&&this.H.forEach(function(b,d){d=Pu(a.S,a.R[d].getId());Qza(hj(a.context),b.getId(),d);zz(a,b.getId(),d)});return!!b.length};
f.Pe=function(){var a=this;this.R=this.H.map(function(a){return a.duplicate()});this.H.forEach(function(b){(b=Pu(a.S,b.getId()))&&Bu(b,1)});return!!this.H.length};f.Df=function(){return this.H.every(function(a){return gu(a)})};f.Gx=function(){return this.H.every(function(a){return gu(a)})};f.Ai=function(a,b){for(var c=0;c<this.H.length;c++)if(this.H[c].getId()==a){this.H.splice(c,1,b);break}};f.Jd=function(){return"Create node"};f.Bh=function(a){return this.H.some(function(b){return b.getId()==a})};
var Rza=null,Iz=function(a,b){Az.call(this,a,b);this.U="dedupeItems"==b.type;this.V=this.H[0]?this.H[0].Wc:"";this.R=[]};l(Iz,Az);f=Iz.prototype;f.Ld=function(){this.R=this.H.map(function(a){return a.duplicate()});this.H.forEach(function(a){Bu(a,1)});return!!this.H.length};f.Pe=function(){var a=this,b=new Hz(this.context,new fl(this.R,this.V));B(this,b);b.apply();this.H.forEach(function(b,d){d=Pu(a.S,a.R[d].getId());Qza(hj(a.context),b.getId(),d);zz(a,b.getId(),d)});return!0};f.Df=function(){return!this.U}; f.Ue=function(){if(Ph(K(this.context))||this.U)return"";Rza||(Rza=new qz("{count, plural, =1 {# item deleted}other {# items deleted}}"));return Rza.format({count:this.H.length})};f.Jd=function(){return"Delete list item"};
var Jz=function(a,b){Bz.call(this,a,b);this.$=b.H;this.V=this.node.getType();this.U=b.R;this.R=null};l(Jz,Bz);Jz.prototype.Ld=function(){var a=this;if(this.V==this.U)return!1;nj(this.context).log("NOTE"==this.U?9026:9027,function(b){b.oe(a.node.getId());b.xe(a.context.Ca().getState().R)});var b=yz(this,this.node);b&&Fu(this.node,!0);var c="NOTE"==this.V?Sza(this):Tza(this);b&&(c?(b=pj(this.context))&&Kz(b,this.node):Fu(this.node,!1));c&&Lz(hj(this.context));return c};
var Sza=function(a){var b=a.node,c=dh(b.getChildren(),function(a){return gu(a)&&!a.Sb()});if(c){var d=Gz(c.getText());a.R=new Iz(a.context,new cl("deleteListItem",c.getId()));B(a,a.R);a.R.apply();qu(b,a.U);var e=St*d.length,g=[];d.forEach(function(a){if(!yb(a)){var c=Qt(b.getId());c.kc(a);fu(c,e);g.push(c);e-=St}});(new Hz(a.context,new fl(g,b.getId()))).apply()}else qu(b,a.U);return!0},Tza=function(a){var b=a.node,c=ru(b),d=[];c.forEach(function(b){var c=b.getText();!c||a.$&&b.Pc||d.push(c)});var e=
d.join("\n");if(19999<e.length)return sj(a.context).show("List too large."),!1;c=c.map(function(a){return a.getId()});a.R=new Iz(a.context,new cl("deleteListItem",c));B(a,a.R);a.R.apply();qu(b,a.U);c=Qt(b.getId());c.kc(e);b=new Hz(a.context,new fl(c,b.getId()));B(a,b);b.apply();return!0};Jz.prototype.Jd=function(){return"LIST"==this.U?"Convert to list":"Convert to note"};
var Uza=null,Vza=function(a){Uza||(Uza=new qz("{resultCount, plural, =1 {# search result} other {# search results}}"));return Uza.format({resultCount:a})};var Wza=null,Xza=function(a,b){Bz.call(this,a,b);this.R=b.H;this.U=this.R.every(function(a){return!!a.Ni()})};l(Xza,Bz);f=Xza.prototype;f.Ld=function(){this.R.forEach(function(a){return a.Wp(!0)});this.node.notify();return!!this.R.length};f.Pe=function(){this.R.forEach(function(a){return a.Wp(!1)});this.node.notify();return!!this.R.length};f.jo=function(){var a=this;this.R.forEach(function(b){var c=a.node;c.Rd.remove(b)&&($t(c),c.Db())});return!!this.R.length};
f.Ue=function(){return this.U?(Wza||(Wza=new qz("{numberOfPreviews, plural, =1 {Link preview removed}other {# link previews removed}}")),Wza.format({numberOfPreviews:this.R.length})):1==this.R.length&&this.R[0].getContext()?"Source removed":""};f.Jd=function(){return this.U?"Delete link embed":1==this.R.length&&this.R[0].getContext()?"Delete source context":"Deleted annotations"};
var Mz=function(a,b){Az.call(this,a,b);this.R=b.type};l(Mz,Az);f=Mz.prototype;f.Ld=function(){var a=this;this.H.forEach(function(b){oj(a.context)&&Nz(oj(a.context))&&cu(b).forEach(function(b){if(tu(b)&&tu(b).H){var c=oj(a.context).R;b=tu(b).H;c.H&&Yza(c.H,b).then(void 0)["catch"](sa)}});Bu(b,-1)});return!!this.H.length};f.Pe=function(){this.H.forEach(function(a){Bu(a,0)});return!!this.H.length};f.jo=function(){this.H.forEach(function(a){Bu(a,1)});return!!this.H.length};
f.Df=function(){return"delele"==this.R&&1==this.H.length&&Vt(this.H[0])};f.Xp=function(){return this.Df()};f.Ue=function(){if(1==this.H.length){var a=this.H[0];if("BLOB"==a.getType())return a=tu(a),Ns(a)?"Image deleted":Ls(a)?"Drawing deleted":"Audio deleted"}return""};f.Jd=function(){return"Delete node"};
var Zza=function(a,b){Az.call(this,a,b);this.R=new Map};l(Zza,Az);f=Zza.prototype;f.Ld=function(){var a=this;this.R.clear();var b=!1;this.H.forEach(function(c){var d=c.Rb();if(d){var e=d.Gd?9053:d.H?9055:9051;nj(a.context).log(e,function(b){b.oe(c.getId());b.xe(a.context.Ca().getState().R)});d.Wp(!0);a.R.set(c.getId(),d);b=!0}});return b};f.Pe=function(){var a=this,b=!1;this.H.forEach(function(c){var d=a.R.get(c.getId());d&&d==c.Rb()&&(d.Wp(!1),b=!0)});return b}; f.jo=function(){this.R.forEach(function(a){return a.Kb("DELETED")});return!!this.R.size};f.Ue=function(){return"Reminder deleted"};f.Jd=function(){return"Delete reminde"};
var Oz=function(a){Az.apply(this,arguments)};l(Oz,Az);Oz.prototype.Ld=function(){var a=!1;this.H.forEach(function(b){var c=b.Rb();if(c){if(c.H){c=c.H;var d=c.V.length?c.V[0]:null;d&&!d.H&&(d.H=!0,d.Db(),c.dispatchEvent("qa"))}else c.Kb("DISMISSED");b.Ed&&au(b,!1);a=!0}});return a};Oz.prototype.Jd=function(){return"Dismiss reminder"};
var Pz=function(a){uz.apply(this,arguments)};l(Pz,uz);Pz.prototype.Ld=function(){nj(this.context).log(9030);var a=[];Ug(this.S.S,function(b){Nr(b)&&!b.Sb()&&a.push(b.getId())});var b=new Mz(this.context,new cl("delele",a));b.apply();xz(b);return!!a.length};Pz.prototype.Jd=function(){return"Empty trash"};
var Qz=function(a,b,c){$za(a,b||c?"translate("+b+"px, "+c+"px)":"")},aAa=function(a,b,c,d,e){var g="";if(b||c)g+=" translate("+b+"px, "+c+"px)";if(d||e)g+=" scale("+d+", "+e+")";$za(a,g)},$za=function(a,b){if(oh)a.style.msTransform=b;else{var c=Yia();Vm(a,c?c+"-transform":"transform",b)}},Rz=function(a,b,c){if(a&&b){b=b.getBoundingClientRect();var d=dn(document),e=nn(a),g=ok();a.style.top=(c?45>b.top-e.height?b.bottom:b.top-e.height:b.bottom+e.height>g.height?b.top-e.height:b.bottom)+d.y+"px";a.style.left= (b.left+e.width>g.width?b.right-e.width:b.left)+d.x+"px"}};
var Sz=function(a){return(a=a.exec(Pg))?a[1]:""},bAa=function(){if(yh)return Sz(/Firefox\/([0-9.]+)/);if(oh||ph||nh)return vh;if(Ch)return Sg()?Sz(/CriOS\/([0-9.]+)/):Sz(/Chrome\/([0-9.]+)/);if(Dh&&!Sg())return Sz(/Version\/([0-9.]+)/);if(zh||Ah){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Pg);if(a)return a[1]+"."+a[2]}else if(Bh)return(a=Sz(/Android\s+([0-9.]+)/))?a:Sz(/Version\/([0-9.]+)/);return""}(),Tz=function(a){return 0<=Rb(bAa,a)};
var Uz=function(a){var b=sn(a);return b&&cAa()?-a.scrollLeft:!b||qh&&wh("8")||"visible"==Ym(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft},dAa=function(a){var b=a.offsetLeft,c=a.offsetParent;c||"fixed"!=Zm(a)||(c=fk(a).documentElement);if(!c)return b;if(rh){var d=gn(c);b+=d.left}else xh(8)&&!xh(9)&&(d=gn(c),b-=d.left);return sn(c)?c.clientWidth-(b+a.offsetWidth):b},Vz=function(a,b){b=Math.max(b,0);sn(a)?cAa()?a.scrollLeft=-b:qh&&wh("8")?a.scrollLeft=b:a.scrollLeft=a.scrollWidth- b-a.clientWidth:a.scrollLeft=b},cAa=function(){var a=Dh&&Tz(10),b;if(b=Sda)b=0<=Rb(uva,10);return rh||a||b},Wz=function(a,b,c,d){null!==c&&(a.style.top=c+"px");d?(a.style.right=b+"px",a.style.left=""):(a.style.left=b+"px",a.style.right="")};
var Xz=function(a,b,c){J.call(this);this.target=a;this.handle=b||a;this.ta=c||new Lm(NaN,NaN,NaN,NaN);this.V=fk(a);this.H=new Am(this);B(this,this.H);this.deltaY=this.deltaX=this.Ka=this.Fa=this.screenY=this.screenX=this.clientY=this.clientX=0;this.ma=!0;this.U=this.R=!1;si(this.handle,["touchstart","mousedown"],this.ra,!1,this);this.ka=eAa};v(Xz,J);var eAa=m.document&&m.document.documentElement&&!!m.document.documentElement.setCapture&&!!m.document.releaseCapture;Xz.prototype.Ea=function(){return this.H};
var Yz=function(a,b){a.ta=b||new Lm(NaN,NaN,NaN,NaN)};Xz.prototype.setEnabled=function(a){this.ma=a};Xz.prototype.Na=function(){Xz.ua.Na.call(this);vi(this.handle,["touchstart","mousedown"],this.ra,!1,this);this.H.removeAll();this.ka&&this.V.releaseCapture();this.handle=this.target=null};var fAa=function(a){p(a.Bi)||(a.Bi=sn(a.target));return a.Bi};
Xz.prototype.ra=function(a){var b="mousedown"==a.type;if(!this.ma||this.R||b&&!ni(a))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new Zz("start",this,a.clientX,a.clientY,a))){this.R=!0;b&&a.preventDefault();b=this.V;var c=b.documentElement,d=!this.ka;this.H.listen(b,["touchmove","mousemove"],this.Qa,{capture:d,passive:!1});this.H.listen(b,["touchend","mouseup"],this.$,d);this.ka?(c.setCapture(!1),this.H.listen(c,"losecapture",this.$)):this.H.listen(rk(b),"blur",this.$);this.Ba&&this.H.listen(this.Ba,
"scroll",this.Da,d);this.clientX=this.Fa=a.clientX;this.clientY=this.Ka=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.U?dAa(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.va=qk(gk(this.V).H)}};Xz.prototype.$=function(a,b){this.H.removeAll();this.ka&&this.V.releaseCapture();this.R?(this.R=!1,this.dispatchEvent(new Zz("end",this,a.clientX,a.clientY,a,gAa(this,this.deltaX),hAa(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
Xz.prototype.Qa=function(a){if(this.ma){var b=(this.U&&fAa(this)?-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.R){var d=this.Fa-this.clientX,e=this.Ka-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new Zz("start",this,a.clientX,a.clientY,a)))this.R=!0;else{this.isDisposed()||this.$(a);return}}c=iAa(this,b,c);b=c.x;c=c.y;this.R&&this.dispatchEvent(new Zz("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(jAa(this,a,b,c),a.preventDefault())}};var iAa=function(a,b,c){var d=qk(gk(a.V).H);b+=d.x-a.va.x;c+=d.y-a.va.y;a.va=d;a.deltaX+=b;a.deltaY+=c;return new Vj(gAa(a,a.deltaX),hAa(a,a.deltaY))};Xz.prototype.Da=function(a){var b=iAa(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;jAa(this,a,b.x,b.y)};
var jAa=function(a,b,c,d){a.W(c,d);a.dispatchEvent(new Zz("drag",a,b.clientX,b.clientY,b,c,d))},gAa=function(a,b){var c=a.ta;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))},hAa=function(a,b){var c=a.ta;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))};
Xz.prototype.W=function(a,b){this.U&&fAa(this)?this.target.style.right=a+"px":this.target.style.left=a+"px";this.target.style.top=b+"px"};var Zz=function(a,b,c,d,e,g,h,k){I.call(this,a);this.clientX=c;this.clientY=d;this.ma=e;this.left=p(g)?g:b.deltaX;this.top=p(h)?h:b.deltaY;this.R=b;this.$=!!k};v(Zz,I);
var $z=function(){J.call(this);this.ka=[];this.Dc=[];this.Fa=[];this.Va=this.nb=this.ab=!1};v($z,J);$z.prototype.qc=function(){return this.Va};$z.prototype.init=function(){if(!this.Va){for(var a,b=0;a=this.ka[b];b++)kAa(this,a);this.Va=!0}};var kAa=function(a,b){a.ab&&(si(b.S,"mousedown",b.lC,!1,b),a.wb&&Q(b.S,a.wb));a.nb&&a.Ib&&Q(b.S,a.Ib)},lAa=function(a,b){a.ab&&(vi(b.S,"mousedown",b.lC,!1,b),a.wb&&sm(b.S,a.wb));a.nb&&a.Ib&&sm(b.S,a.Ib);b.dispose()};
$z.prototype.Nt=function(){this.ta=[];for(var a,b=0;a=this.Dc[b];b++)for(var c,d=0;c=a.ka[d];d++)for(var e=a,g=c.VB(),h=0;h<g.length;h++){var k=g[h],n=this.Xv(c,k);this.ta.push(new mAa(n,e,c,k));nAa(this,n)}this.$||(this.$=new Km(0,0,0,0))};$z.prototype.yc=function(a,b){a=oAa(a);b.style.position="absolute";b.style.left=a.x+"px";b.style.top=a.y+"px";return new Xz(b)};
$z.prototype.Jc=function(a){var b=a.$?null:this.V;if(b&&b.S){var c=a.clientX;a=a.clientY;var d=qk(gk(this.ra).H),e=c+d.x;d=a+d.y;var g;this.Ka&&(g=this.Ka(b.R,b.H,e,d));this.dispatchEvent(new aA("drag",0,this.R,0,b.R,0,c,a));b.S.dispatchEvent(new aA("drop",0,this.R,0,b.R,0,c,a,0,0,g))}this.dispatchEvent(new aA("dragend",0,this.R,0,b?b.R:void 0));vi(this.U,"drag",this.Qd,!1,this);vi(this.U,"end",this.Jc,!1,this);vi(fk(this.R.U).body,"selectstart",this.Id);this.eA(this.V?this.V.R:null)};
$z.prototype.eA=function(){pAa(this)};var pAa=function(a){for(var b=0,c;c=a.Fa[b];b++)vi(c.Ga,"scroll",a.jc,!1,a),c.H=[];a.U.dispose();Ak(a.ra);delete a.R;delete a.ra;delete a.U;delete a.ta;delete a.V};
$z.prototype.Qd=function(a){var b=qk(gk(this.ra).H);var c=new Vj(a.clientX+b.x,a.clientY+b.y);b=c.x;var d=c.y,e=this.V;this.dispatchEvent(new aA("drag",0,this.R,0,e?e.R:void 0,0,a.clientX,a.clientY));var g;if(e){this.Ka&&e.S&&(g=this.Ka(e.R,e.H,b,d));if(e.H.contains(c)&&g==this.Xb)return;e.S&&(this.dispatchEvent(new aA("dragout",0,this.R,0,e.R)),e.S.dispatchEvent(new aA("dragout",0,this.R,0,e.R,0,void 0,void 0,0,0,this.Xb)));this.Xb=g;this.V=null}if(this.$.contains(c)){a:{for(var h=0;e=this.ta[h];h++)if(e.H.contains(c))if(e.U){if(e.U.R.contains(c)){c=
e;break a}}else{c=e;break a}c=null}if((e=this.V=c)&&e.S)this.Ka&&(g=this.Ka(e.R,e.H,b,d)),b=new aA("dragover",0,this.R,0,e.R),b.ma=g,this.dispatchEvent(b),e.S.dispatchEvent(new aA("dragover",0,this.R,0,e.R,0,a.clientX,a.clientY,0,0,g));else if(!e){this.S||(this.S=new mAa(this.$.clone()));a=this.S.H;a.top=this.$.top;a.right=this.$.right;a.bottom=this.$.bottom;a.left=this.$.left;for(g=0;e=this.ta[g];g++)c=e.H,e.U&&(e=e.U.R,c=new Km(Math.max(c.top,e.top),Math.min(c.right,e.right),Math.min(c.bottom,e.bottom),
Math.max(c.left,e.left))),e=null,b>=c.right?e=c.right>a.left?c.right:a.left:b<c.left&&(e=c.left<a.right?c.left:a.right),h=null,d>=c.bottom?h=c.bottom>a.top?c.bottom:a.top:d<c.top&&(h=c.top<a.bottom?c.top:a.bottom),null===e||null===h||(Math.abs(e-b)>Math.abs(h-d)?h=null:e=null),null!==e?e<=b?a.left=e:a.right=e:null!==h&&(h<=d?a.top=h:a.bottom=h);this.V=10<=(a.right-a.left)*(a.bottom-a.top)?this.S:null}}};$z.prototype.Id=function(){return!1};
$z.prototype.jc=function(a){for(var b=0,c;c=this.Fa[b];b++)if(a.target==c.Ga){var d=c.U-c.Ga.scrollTop,e=c.S-c.Ga.scrollLeft;c.U=c.Ga.scrollTop;c.S=c.Ga.scrollLeft;this.S&&this.V==this.S&&(0<d?this.S.H.top+=d:this.S.H.bottom+=d,0<e?this.S.H.left+=e:this.S.H.right+=e);for(var g=0,h;h=c.H[g];g++)h=h.H,h.top+=d,h.left+=e,h.bottom+=d,h.right+=e,nAa(this,h)}this.U.Da(a)};
$z.prototype.Qa=function(a){a:{for(var b=a.cloneNode(!0),c=ik("TEXTAREA",a),d=ik("TEXTAREA",b),e=0;e<c.length;e++)d[e].value=c[e].value;switch(a.tagName){case "TR":a=sk("TABLE",null,sk("TBODY",null,b));break a;case "TD":case "TH":a=sk("TABLE",null,sk("TBODY",null,sk("TR",null,b)));break a;case "TEXTAREA":b.value=a.value;default:a=b}}this.wc&&Q(a,this.wc);return a};var oAa=function(a){var b=en(a);a=wn(a);b.x-=2*(a.left||0);b.y-=2*(a.top||0);return b};
$z.prototype.Xv=function(a,b){a=en(b);b=nn(b);return new Km(a.y,a.x+b.width,a.y+b.height,a.x)};var nAa=function(a,b){1==a.ta.length?a.$=new Km(b.top,b.right,b.bottom,b.left):(a=a.$,a.left=Math.min(b.left,a.left),a.right=Math.max(b.right,a.right),a.top=Math.min(b.top,a.top),a.bottom=Math.max(b.bottom,a.bottom))};$z.prototype.Na=function(){$z.ua.Na.call(this);for(var a,b=0;a=this.ka[b];b++)lAa(this,a);this.ka.length=0};
var aA=function(a,b,c,d,e,g,h,k,n,q,u){I.call(this,a);this.R=c;this.$=e;this.clientX=h;this.clientY=k;this.ma=u};v(aA,I);var bA=function(a,b){J.call(this);this.S=hk(document,a);this.data=b;this.Nb=null;this.H=new Am(this);B(this,this.H);this.U=null;if(!this.S)throw Error("sc");};v(bA,J);f=bA.prototype;f.getData=function(){return this.data};f.UB=function(a){return a};f.VB=function(){return[this.S]};
f.lC=function(a){if(ni(a)){var b=this.UB(a.target);b&&(this.H.listen(b,"mousemove",this.rE,!1).listen(b,"mouseout",this.rE,!1),this.H.listen(fk(b),"mouseup",this.EU,!0),this.U=b,this.V=new Vj(a.clientX,a.clientY))}};f.zd=function(a){this.Nb=a};
f.rE=function(a){var b=this.U;b="mouseout"==a.type&&a.target==b;if(5<Math.abs(a.clientX-this.V.x)+Math.abs(a.clientY-this.V.y)||b)if(this.H.removeAll(),b=this.Nb,!b.R)if(b.R=this,0==b.dispatchEvent(new aA("dragstart",0,b.R,0,void 0,0,void 0,void 0,0,0,void 0)))b.R=null;else{var c=this.U;b.ra=b.Qa(c);var d=fk(c);d.body.appendChild(b.ra);b.U=b.yc(c,b.ra,a);b.U.Ba=b.re;si(b.U,"drag",b.Qd,!1,b);si(b.U,"end",b.Jc,!1,b);si(d.body,"selectstart",b.Id);b.Nt();for(d=0;c=b.Fa[d];d++){c.H=[];c.S=c.Ga.scrollLeft;
c.U=c.Ga.scrollTop;var e=en(c.Ga);var g=nn(c.Ga);c.R=new Km(e.y,e.x+g.width,e.y+g.height,e.x)}for(d=0;g=b.ta[d];d++)for(e=0;c=b.Fa[e];e++)Fk(c.Ga,g.Ga)&&(c.H.push(g),g.U=c);b.V=null;for(d=0;c=b.Fa[d];d++)si(c.Ga,"scroll",b.jc,!1,b);b.U.ra(a);a.preventDefault()}a.preventDefault()};f.EU=function(){this.H.removeAll();delete this.V;this.U=null};var mAa=function(a,b,c,d){this.H=a;this.S=b;this.R=c;this.Ga=d||null;this.U=null};
var qAa=function(){$z.call(this)};v(qAa,$z);var cA=function(a,b,c){A.call(this);this.R=a;this.S=new Yk(50);this.H=new Am(this);this.W=new Vj;this.U=on(a);if("BODY"===a.tagName||"HTML"===a.tagName)a=ok(),this.U.height=a.height,this.U.width=a.width;this.Vd=b||0;if(b){if(b=this.U.clone(),a=this.Vd){var d=Math.min(a,.25*b.height);b.top+=d;b.height-=2*d;a=Math.min(a,.25*b.width);b.left+=a;b.width-=2*a}}else b=this.U;this.V=b;c||this.H.listen(fk(this.R),"mousemove",this.ka);this.H.listen(this.S,"tick",this.$)};v(cA,A);
cA.prototype.$=function(){this.R.scrollTop+=this.W.y;this.R.scrollLeft+=this.W.x};cA.prototype.ka=function(a){var b=rAa(a.clientX,this.V.left,this.V.width);a=rAa(a.clientY,this.V.top,this.V.height);this.W.x=b;this.W.y=a;(b=!b&&!a)||(b=!1);b?this.S.stop():this.S.enabled||this.S.start()};var rAa=function(a,b,c){var d=0;a<b?d=-8:a>b+c&&(d=8);return d};cA.prototype.Na=function(){cA.ua.Na.call(this);this.H.dispose();this.S.dispose()};
var sAa=function(a){bA.call(this,a)};v(sAa,bA);f=sAa.prototype;f.HE=0;f.GE=Ci;f.getType=function(){return 0};f.VB=function(){return[this.S]};f.Kb=function(a){this.HE=a};f.getState=function(){return this.HE};var dA=function(a,b){bA.call(this,b);this.R=a};v(dA,sAa);dA.prototype.Kb=function(a){if(a!=this.getState()){var b=this.R;b.lb&&b.ha()&&a!=b.og&&(b.og=a,um(b.ha(),"IZ65Hb-Y7yNV-wz35Ed",2==a));dA.ua.Kb.call(this,a)}};dA.prototype.UB=function(a){return this.GE(a)?this.S:null};dA.prototype.getType=function(){return 1};dA.prototype.GE=function(a){return this.R.XE(a)};
var eA=function(){$z.call(this);this.H=new Am(this);B(this,this.H);this.Da={};this.va={};this.Ab={};this.Ua=null;this.he=!0;this.Ta=null;this.Ba=!1;this.ma=0;this.W=this.rb=this.Hb=null;this.Dc.push(this);this.ab=this.nb=!0;this.wc="cXXICe-bnBfGc"};v(eA,qAa);eA.prototype.Ma=1;eA.prototype.init=function(){eA.ua.init.call(this);this.H.listen(this,"dragend",this.lV).listen(this,"dragstart",this.mV).listen(this,"dragover",this.yP)};eA.prototype.setEnabled=function(a){this.he=a};
var tAa=function(a,b){if(!ah(a.Da,b.getId())){var c=b.ha();c=new dA(b,c);hh(a.Da,b.getId(),c);c.zd(a);a.ka.push(c);a.qc()&&kAa(a,c)}},uAa=function(a,b){var c=a.Da[b.getId()];c&&(gh(a.Da,b.getId()),ug(a.ka,c),lAa(a,c))};f=eA.prototype;f.lV=function(a){bg(this.Ta);this.Ta=null;var b=this.U.target;um(b,"cXXICe-RCfa3e",!1);um(b,"DaY83b-RCfa3e",!0);a=fA(a.R.R);a.x-=this.Ua.x;a.y-=this.Ua.y;Qz(b,a.x+this.ma+.1,a.y+this.ma+.1);this.H.Jb(b,ki,this.GP);fh(this.va);fh(this.Ab)};
f.mV=function(a){if(!this.he)return!1;this.W=a.R;this.Ua=fA(this.W.R);this.Ta=new cA(document.body,32);this.dispatchEvent(new gA("Qb",this.W.R));this.Ba=!0;al.Ja().speak("LIST_ITEM"==this.W.R.getType()?"Reorder list item":"Reordering note");return!0};f.yP=function(a){a.clientX&&a.clientY&&this.dispatchEvent(new gA("Pb",a.R.R,a.$.R))};f.Nt=function(){this.Ba&&eA.ua.Nt.call(this)};
f.Xv=function(a,b){var c=a.R.Ca().getId();if(this.va[c]){b=this.va[c];var d=b=new Km(b.top,b.right,b.bottom,b.left);a=Yj(fA(a.R),this.Ab[c]);a instanceof Vj?(d.left+=a.x,d.right+=a.x,d.top+=a.y,d.bottom+=a.y):(d.left+=a,d.right+=a,pa(void 0)&&(d.top+=void 0,d.bottom+=void 0))}else this.va[c]=eA.ua.Xv.call(this,a,b),b=this.va[c],this.Ab[c]=fA(a.R);return b};f.GP=function(){pAa(this);this.W.dispose();for(var a=0,b;b=this.ka[a];++a)b.Kb(0);this.dispatchEvent(new gA("Rb",this.W.R));this.Ba=!1};f.eA=function(){};
var vAa=function(a,b){return a.Ba&&!!a.W&&(b?a.W.R==b:!0)};eA.prototype.Qa=function(a){var b=eA.ua.Qa.call(this,a);a=ik("TEXTAREA",a);for(var c=ik("TEXTAREA",b),d=0;d<a.length;d++)c[d].value=a[d].value;this.W.Kb(2);return b};eA.prototype.yc=function(a,b){a=oAa(a);an(b,a);a=new wAa(b,a,this.Ma,this.ma);Q(b,"cXXICe-RCfa3e");this.Hb&&this.Hb(b);Qz(b,this.ma,this.ma);this.rb&&Yz(a,this.rb);return a};eA.prototype.Na=function(){eA.ua.Na.call(this);this.Ba&&this.U&&Ak(this.U.target)};
var gA=function(a,b,c){I.call(this,a);this.source=b;this.target=c||null};v(gA,I);var wAa=function(a,b,c,d){Xz.call(this,a);this.S=b;this.Ta=c;this.Ma=d};v(wAa,Xz);wAa.prototype.W=function(a,b){Qz(this.target,(0==this.Ta?0:gAa(this,a)-this.S.x)+this.Ma,hAa(this,b)-this.S.y+this.Ma)};
var xAa=function(a,b){I.call(this,"Tb");this.height=a;this.R=b};v(xAa,I);var yAa=function(a){return M('<div class="'+P("RFnRab-BZ6uqb-n0tgWb")+'"><div class="'+P("RFnRab-BZ6uqb-SmKAyb")+'">'+N(a.content)+"</div></div>")};var zAa=function(a){var b='<div class="'+P("Ng57nc")+(a.ix?" "+P("EfADOe"):"")+'"><div class="'+P("Ng57nc-Ne3sFf")+'">'+N(a.message)+"</div>";if(a.ix)b+=N(mm({hb:O("Ng57nc-TvD9Pc-LgbsSe fmcmS-LgbsSe-to915-Ia7Qfc"),text:bm(""+N(Zl("GOT IT")))}));else if(a.zT){var c="";c=a.LG?c+N(a.LG):c+"View";b+=N(mm({hb:O("Ng57nc-nUpftc-LgbsSe fmcmS-LgbsSe-to915-Ia7Qfc"),text:bm(c)}))}return M(b+"</div>")},AAa=function(){var a="",b="You can also save links for later with the&nbsp;"+('<a class="'+P("Q0hgme-Hnhb3b-hSRGPd")+ '" href="https://chrome.google.com/webstore/detail/google-keep-chrome-extension/lpcaedmchfhocbbapmcbpinfpgnhiddi" target="_blank" tabIndex="0">Google Keep Chrome Extension</a>.');a+=""+zAa({message:bm(""+b),ix:bm(" true ")})+"";return M(a)};
var BAa=function(){I.call(this,"Zb")};v(BAa,I);var CAa=function(a){I.call(this,"Wb");this.R=!!a};v(CAa,I);var DAa=function(a,b){I.call(this,"Yb");this.$=a;this.R=b};v(DAa,I);var hA=function(a){I.call(this,"fc");this.view=a};v(hA,I);var iA=function(a){I.call(this,"ec");this.view=a};v(iA,I);
var jA=function(a){I.call(this,"jc");this.R=a};v(jA,I);var EAa=function(a){I.call(this,"xc");this.R=a};v(EAa,I);var FAa=function(a){I.call(this,"mc");this.R=a};v(FAa,I);var GAa=function(){},Em=new GAa,HAa=["click",rh?"keypress":"keydown","keyup"];GAa.prototype.listen=function(a,b,c,d,e){var g=function(a){var c=ti(b);"click"==a.type&&ni(a)?c.call(d,a):13!=a.keyCode&&3!=a.keyCode||"keyup"==a.type||a.shiftKey||(th?a.metaKey:a.ctrlKey)?32==a.keyCode&&"keyup"==a.type&&"button"==Sk(a.target)&&(c.call(d,a),a.preventDefault()):(a.type="keypress",c.call(d,a))};g.Fc=b;g.Sp=d;e?e.listen(a,HAa,g,c):si(a,HAa,g,c)}; GAa.prototype.$a=function(a,b,c,d,e){for(var g,h=0;g=HAa[h];h++)for(var k=jfa(a,g,!!c),n,q=0;n=k[q];q++){var u=n.listener;if(u.Fc==b&&u.Sp==d){e?e.$a(a,g,n.listener,c,d):vi(a,g,n.listener,c,d);break}}};
var kA=[];kA[1E3]="M";kA[900]="CM";kA[500]="D";kA[400]="CD";kA[100]="C";kA[90]="XC";kA[50]="L";kA[40]="XL";kA[10]="X";kA[9]="IX";kA[5]="V";kA[4]="IV";kA[1]="I";
var IAa=[1E3,900,500,400,100,90,50,40,10,9,5,4,1],JAa={circle:"circle",decimal:"decimal",disc:"disc","lower-alpha":"lowerAlpha","lower-latin":"lowerAlpha","lower-roman":"lowerRoman",square:"square","upper-alpha":"upperAlpha","upper-latin":"upperAlpha","upper-roman":"upperRoman"},KAa={circle:"\u25cb",disc:"\u25cf",square:"\u25a0"},LAa=function(a,b){b%=3;return 0==b?a?"decimal":"disc":1==b?a?"lowerAlpha":"circle":a?"lowerRoman":"square"},OAa=function(a,b){var c=KAa[a];if(c)return c;if(1E3<b)return KAa.disc;
switch(a){case "decimal":a=String(b);break;case "lowerAlpha":a=MAa(b,!1);break;case "upperAlpha":a=MAa(b,!0);break;case "lowerRoman":a=NAa(b,!1);break;case "upperRoman":a=NAa(b,!0);break;default:return KAa.disc}return a+"."},MAa=function(a,b){a--;return Lb(String.fromCharCode((b?65:97)+a%26),Math.floor(a/26)+1)},NAa=function(a,b){for(var c="",d=0;d<IAa.length;d++)for(var e=IAa[d];a>=e;)a-=e,c+=kA[e];return b?c:c.toLowerCase()};
var lA=function(a,b){this.H=[];this.R=[];this.S=!!a;this.U=b;this.Lg=!1},PAa=function(a,b){b={style:b,lines:[]};a.H.push(b);return b},QAa=function(a,b){if(!a.Lg){var c=a.H[a.H.length-1],d=c instanceof lA;if(d&&!c.Lg)QAa(c,b);else{if(!c||d)c=PAa(a);(a=c.lines[c.lines.length-1])&&!a.closed?a.text+=b:c.lines.push({closed:!1,text:b})}}},RAa=function(a){a.Lg||(a=a.H[a.H.length-1],a instanceof lA?a.Lg||RAa(a):a&&(a=a.lines[a.lines.length-1])&&!a.closed&&(a.closed=!0))},SAa=function(a){if(!a.Lg){var b=a.H[a.H.length-
1],c=b instanceof lA;if(c&&!b.Lg)SAa(b);else{if(!b||c)b=PAa(a);(a=b.lines[b.lines.length-1])&&!a.closed?a.closed=!0:b.lines.push({closed:!0,text:""})}}},TAa=function(a,b,c){if(!a.Lg){var d=a.H[a.H.length-1];d instanceof lA&&!d.Lg?TAa(d,b,c):a.H.push(new lA(b,c))}},UAa=function(a,b){if(!a.Lg){var c=a.H[a.H.length-1];c instanceof lA&&!c.Lg?UAa(c,b):PAa(a,b)}},VAa=function(a){if(!a.Lg){var b=a.H[a.H.length-1];b instanceof lA&&!b.Lg?VAa(b):a.Lg=!0}};
lA.prototype.toString=function(a){for(var b="",c=0,d=0;d<this.H.length;d++){0<d&&(b+="\n");var e=this.H[d];b=e instanceof lA?b+e.toString(p(a)?a+1:0):b+WAa(this,e,a,c++)}return b};var WAa=function(a,b,c,d){var e=b.lines.reduce(function(a,b,c){return a+(0<c?"\n":"")+b.text},"");if(p(c)&&p(d)){var g=Lb(" ",4*c);a=OAa(b.Y8||a.U||LAa(a.S,c),d+1);e=g+a+" "+e}return e};
var XAa=/(\r\n|\r|\n)/g,YAa=new Set("BLOCKQUOTE BODY CENTER DD DIR DIV DL DT FORM H1 H2 H3 H4 H5 H6 HEAD HTML ISINDEX MENU NOFRAMES P PRE TABLE TD TH TITLE TR".split(" ")),ZAa=function(a){this.H=new lA;this.R=!!a};ZAa.prototype.read=function(a){$Aa(this,a);return this.H};
var $Aa=function(a,b){if(3==b.nodeType)QAa(a.H,b.nodeValue.replace(XAa,"\n"));else if(11==b.nodeType)mA(a,b);else if(1==b.nodeType)switch(b.tagName){case "IMG":a.H.R.push(b.src);break;case "A":var c=new ZAa;mA(c,b);c=c.H.toString();var d=b.getAttribute("href");mA(a,b);a.R&&c!=d&&QAa(a.H," ("+d+")");break;case "BR":SAa(a.H);break;case "UL":aBa(a,b,!1);break;case "OL":aBa(a,b,!0);break;case "LI":UAa(a.H,JAa[b.style.listStyleType]||void 0);mA(a,b);break;case "TABLE":case "TD":case "TH":case "TR":mA(a,
b);break;case "STYLE":case "SCRIPT":break;default:(c=YAa.has(b.tagName))&&RAa(a.H),mA(a,b),c&&RAa(a.H)}},mA=function(a,b){b=b.childNodes;for(var c=0,d;d=b[c];c++)$Aa(a,d)},aBa=function(a,b,c){TAa(a.H,c,JAa[b.style.listStyleType]||void 0);mA(a,b);VAa(a.H)};
var nA=function(){A.call(this)};v(nA,A);var oA=function(a,b,c,d,e){this.H=!!b;this.node=null;this.U=0;this.Ba=!1;this.ta=!c;a&&this.setPosition(a,d);this.V=void 0!=e?e:this.U||0;this.H&&(this.V*=-1)};v(oA,ml);f=oA.prototype;f.setPosition=function(a,b,c){if(this.node=a)pa(b)?this.U=b:this.U=1!=this.node.nodeType?0:this.H?-1:1;pa(c)&&(this.V=c)};f.eg=function(a){this.node=a.node;this.U=a.U;this.V=a.V;this.H=a.H;this.ta=a.ta};f.clone=function(){return new oA(this.node,this.H,!this.ta,this.U,this.V)};
f.next=function(){if(this.Ba){if(!this.node||this.ta&&0==this.V)throw ll;var a=this.node;var b=this.H?-1:1;if(this.U==b){var c=this.H?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.H?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.V+=this.U*(this.H?-1:1)}else this.Ba=!0;a=this.node;if(!this.node)throw ll;return a};f.equals=function(a){return a.node==this.node&&(!this.node||a.U==this.U)};
f.splice=function(a){var b=this.node,c=this.H?1:-1;this.U==c&&(this.U=-1*c,this.V+=this.U*(this.H?-1:1));this.H=!this.H;oA.prototype.next.call(this);this.H=!this.H;c=wa(arguments[0])?arguments[0]:arguments;for(var d=c.length-1;0<=d;d--)yk(c[d],b);Ak(b)};
var pA=function(){},bBa=function(a){if(a.getSelection)return a.getSelection();a=a.document;var b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().document!=a)return null}else if(!c.length||c.item(0).document!=a)return null}catch(d){return null}return b}return null};pA.prototype.Wt=function(){return!1};var qA=function(a){for(var b=[],c=0,d=a.Gm();c<d;c++)b.push(a.Oj(c));return b},cBa=function(a){a=a.Oo();return 1==a.nodeType?a:a.parentNode};pA.prototype.xl=function(){return!1}; var rA=function(a,b){oA.call(this,a,b,!0)};v(rA,oA);
var sA=function(a,b,c,d,e){this.S=this.R=null;this.ma=this.ra=0;if(a){this.R=a;this.ra=b;this.S=c;this.ma=d;if(1==a.nodeType&&"BR"!=a.tagName)if(a=a.childNodes,b=a[b])this.R=b,this.ra=0;else{a.length&&(this.R=dg(a));var g=!0}1==c.nodeType&&((this.S=c.childNodes[d])?this.ma=0:this.S=c)}oA.call(this,e?this.S:this.R,e,!0);if(g)try{this.next()}catch(h){if(h!=ll)throw h;}};v(sA,rA);f=sA.prototype;f.Rr=function(){return this.R};f.jp=function(){return this.Ba&&this.node==this.S&&(!this.ma||1!=this.U)};
f.next=function(){if(this.jp())throw ll;return sA.ua.next.call(this)};f.eg=function(a){this.R=a.R;this.S=a.S;this.ra=a.ra;this.ma=a.ma;this.W=a.W;sA.ua.eg.call(this,a)};f.clone=function(){var a=new sA(this.R,this.ra,this.S,this.ma,this.W);a.eg(this);return a};
var dBa=function(){},eBa=function(a,b){b=b.Eo();try{return 0<=a.ei(b,0,0)&&0>=a.ei(b,1,1)}catch(c){if(!oh)throw c;return!1}};dBa.prototype.uf=function(){return new sA(this.kg(),this.Ih(),this.Hh(),this.Qi())};var tA=function(a){this.H=a};v(tA,dBa);var vA=function(a){var b=fk(a).createRange();if(3==a.nodeType)b.setStart(a,0),b.setEnd(a,a.length);else if(uA(a)){for(var c,d=a;(c=d.firstChild)&&uA(c);)d=c;b.setStart(d,0);for(d=a;(c=d.lastChild)&&uA(c);)d=c;b.setEnd(d,1==d.nodeType?d.childNodes.length:d.length)}else c=a.parentNode,a=eg(c.childNodes,a),b.setStart(c,a),b.setEnd(c,a+1);return b},wA=function(a,b,c,d){var e=fk(a).createRange();e.setStart(a,b);e.setEnd(c,d);return e};f=tA.prototype;f.clone=function(){return new this.constructor(this.H.cloneRange())};
f.Eo=function(){return this.H};f.dw=function(){return this.H.commonAncestorContainer};f.kg=function(){return this.H.startContainer};f.Ih=function(){return this.H.startOffset};f.Hh=function(){return this.H.endContainer};f.Qi=function(){return this.H.endOffset};f.ei=function(a,b,c){return this.H.compareBoundaryPoints(1==c?1==b?m.Range.START_TO_START:m.Range.START_TO_END:1==b?m.Range.END_TO_START:m.Range.END_TO_END,a)};f.$g=function(){return this.H.collapsed};f.getText=function(){return this.H.toString()};
f.select=function(a){var b=rk(fk(this.kg()));this.Tp(b.getSelection(),a)};f.Tp=function(a){a.removeAllRanges();a.addRange(this.H)};
f.kC=function(){var a=this.H;a.extractContents();if(a.startContainer.hasChildNodes()){var b=a.startContainer.childNodes[a.startOffset];if(b){var c=b.previousSibling;""==Lk(b)&&Ak(b);c&&""==Lk(c)&&Ak(c)}}if(qh){b=this.kg();c=this.Ih();var d=this.Hh(),e=this.Qi(),g=b.nextSibling;b==d&&b.parentNode&&3==b.nodeType&&g&&3==g.nodeType&&(b.nodeValue+=g.nodeValue,Ak(g),a.setStart(b,c),a.setEnd(d,e))}};f.insertNode=function(a,b){var c=this.H.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a}; f.jC=function(a){this.H.collapse(a)};
var xA=function(a){this.H=a};v(xA,tA);xA.prototype.Tp=function(a,b){!b||this.$g()?xA.ua.Tp.call(this,a,b):(a.collapse(this.Hh(),this.Qi()),a.extend(this.kg(),this.Ih()))};var yA=function(a,b){this.S=this.R=this.W=null;this.V=this.U=-1;this.H=a;this.$=b};v(yA,dBa);var zA=function(a){var b=fk(a).body.createTextRange();if(1==a.nodeType)b.moveToElementText(a),uA(a)&&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeType;if(3==e)c+=d.length;else if(1==e){b.moveToElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move("character",c);b.moveEnd("character",a.length)}return b};
yA.prototype.clone=function(){var a=new yA(this.H.duplicate(),this.$);a.W=this.W;a.R=this.R;a.S=this.S;return a};yA.prototype.Eo=function(){return this.H};var fBa=function(a){a.W=a.R=a.S=null;a.U=a.V=-1};
yA.prototype.dw=function(){if(!this.W){var a=this.H.text,b=this.H.duplicate(),c=a.replace(/ +$/,"");(c=a.length-c.length)&&b.moveEnd("character",-c);c=b.parentElement();b=zb(b.htmlText).length;if(this.$g()&&0<b)return this.W=c;for(;b>zb(c.outerHTML).length;)c=c.parentNode;for(;1==c.childNodes.length&&c.innerText==gBa(c.firstChild)&&uA(c.firstChild);)c=c.firstChild;0==a.length&&(c=hBa(this,c));this.W=c}return this.W};
var hBa=function(a,b){for(var c=b.childNodes,d=0,e=c.length;d<e;d++){var g=c[d];if(uA(g)){var h=zA(g),k=h.htmlText!=g.outerHTML;if(a.$g()&&k?0<=a.ei(h,1,1)&&0>=a.ei(h,1,0):a.H.inRange(h))return hBa(a,g)}}return b};f=yA.prototype;f.kg=function(){this.R||(this.R=AA(this,1),this.$g()&&(this.S=this.R));return this.R};f.Ih=function(){0>this.U&&(this.U=iBa(this,1),this.$g()&&(this.V=this.U));return this.U};f.Hh=function(){if(this.$g())return this.kg();this.S||(this.S=AA(this,0));return this.S};
f.Qi=function(){if(this.$g())return this.Ih();0>this.V&&(this.V=iBa(this,0),this.$g()&&(this.U=this.V));return this.V};f.ei=function(a,b,c){return this.H.compareEndPoints((1==b?"Start":"End")+"To"+(1==c?"Start":"End"),a)};
var AA=function(a,b,c){c=c||a.dw();if(!c||!c.firstChild)return c;for(var d=1==b,e=0,g=c.childNodes.length;e<g;e++){var h=d?e:g-e-1,k=c.childNodes[h];try{var n=jBa(k)}catch(u){continue}var q=n.Eo();if(a.$g())if(!uA(k)){if(0==a.ei(q,1,1)){a.U=a.V=h;break}}else{if(eBa(n,a))return AA(a,b,k)}else{if(eBa(a,n)){if(!uA(k)){d?a.U=h:a.V=h+1;break}return AA(a,b,k)}if(0>a.ei(q,1,0)&&0<a.ei(q,0,1))return AA(a,b,k)}}return c},iBa=function(a,b){var c=1==b,d=c?a.kg():a.Hh();if(1==d.nodeType){d=d.childNodes;for(var e=
d.length,g=c?1:-1,h=c?0:e-1;0<=h&&h<e;h+=g){var k=d[h];if(!uA(k)&&0==a.H.compareEndPoints((1==b?"Start":"End")+"To"+(1==b?"Start":"End"),jBa(k).Eo()))return c?h:h+1}return-1==h?0:h}a=a.H.duplicate();b=zA(d);a.setEndPoint(c?"EndToEnd":"StartToStart",b);a=a.text.length;return c?d.length-a:a},gBa=function(a){return 3==a.nodeType?a.nodeValue:a.innerText};f=yA.prototype;f.$g=function(){return 0==this.H.compareEndPoints("StartToEnd",this.H)};f.getText=function(){return this.H.text};f.select=function(){this.H.select()};
f.kC=function(){if(!this.$g()&&this.H.htmlText){var a=this.kg(),b=this.Hh(),c=this.H.text,d=this.H.duplicate();d.moveStart("character",1);d.moveStart("character",-1);d.text==c&&(this.H=d);this.H.text="";fBa(this);c=this.kg();d=this.Ih();try{var e=a.nextSibling;a==b&&a.parentNode&&3==a.nodeType&&e&&3==e.nodeType&&(a.nodeValue+=e.nodeValue,Ak(e),this.H=zA(c),this.H.move("character",d),fBa(this))}catch(g){}}};
f.insertNode=function(a,b){var c=this.H.duplicate();var d=d||gk(c.parentElement());if(1!=a.nodeType){var e=!0;a=d.La("DIV",null,a)}c.collapse(b);b=a;d=d||gk(c.parentElement());var g=a=b.id;a||(a=b.id=Sb());c.pasteHTML(b.outerHTML);(b=d.ha(a))&&(g||b.removeAttribute("id"));a=b;if(e){c=a.firstChild;e=a;if((b=e.parentNode)&&11!=b.nodeType)if(e.removeNode)e.removeNode(!1);else{for(;d=e.firstChild;)b.insertBefore(d,e);Ak(e)}a=c}c=a;fBa(this);return c}; f.jC=function(a){this.H.collapse(a);a?(this.S=this.R,this.V=this.U):(this.R=this.S,this.U=this.V)};
var BA=function(a){this.H=a};v(BA,tA);BA.prototype.Tp=function(a){a.collapse(this.kg(),this.Ih());this.Hh()==this.kg()&&this.Qi()==this.Ih()||a.extend(this.Hh(),this.Qi());0==a.rangeCount&&a.addRange(this.H)};var CA=function(a){this.H=a};v(CA,tA);CA.prototype.ei=function(a,b,c){return wh("528")?CA.ua.ei.call(this,a,b,c):this.H.compareBoundaryPoints(1==c?1==b?m.Range.START_TO_START:m.Range.END_TO_START:1==b?m.Range.START_TO_END:m.Range.END_TO_END,a)};CA.prototype.Tp=function(a,b){b?a.setBaseAndExtent(this.Hh(),this.Qi(),this.kg(),this.Ih()):a.setBaseAndExtent(this.kg(),this.Ih(),this.Hh(),this.Qi())};
var kBa=function(a){return lga?new yA(a,fk(a.parentElement())):sh?new CA(a):rh?new xA(a):nh?new BA(a):new tA(a)},jBa=function(a){if(oh&&!xh(9)){var b=new yA(zA(a),fk(a));if(uA(a)){for(var c,d=a;(c=d.firstChild)&&uA(c);)d=c;b.R=d;b.U=0;for(d=a;(c=d.lastChild)&&uA(c);)d=c;b.S=d;b.V=1==d.nodeType?d.childNodes.length:d.length;b.W=a}else b.R=b.S=b.W=a.parentNode,b.U=eg(b.W.childNodes,a),b.V=b.U+1;a=b}else a=sh?new CA(vA(a)):rh?new xA(vA(a)):nh?new BA(vA(a)):new tA(vA(a));return a},uA=function(a){return uk(a)|| 3==a.nodeType};
var DA=function(){this.H=this.S=this.U=this.R=this.V=null;this.W=!1};v(DA,pA);var lBa=function(a,b){var c=new DA;c.V=a;c.W=!!b;return c},nBa=function(a,b,c,d){var e=new DA;e.W=mBa(a,b,c,d);if(Dk(a)&&!uk(a)){var g=a.parentNode;b=eg(g.childNodes,a);a=g}Dk(c)&&!uk(c)&&(g=c.parentNode,d=eg(g.childNodes,c),c=g);e.W?(e.R=c,e.U=d,e.S=a,e.H=b):(e.R=a,e.U=b,e.S=c,e.H=d);return e};DA.prototype.clone=function(){var a=new DA;a.V=this.V&&this.V.clone();a.R=this.R;a.U=this.U;a.S=this.S;a.H=this.H;a.W=this.W;return a};
DA.prototype.getType=function(){return"text"};DA.prototype.Lj=function(){return EA(this).Eo()};DA.prototype.Wt=function(a){if(a&&a.addElement)return!1;this.V=kBa(a);oBa(this);return!0};var oBa=function(a){a.R=a.U=a.S=a.H=null};DA.prototype.Gm=function(){return 1};DA.prototype.Oj=function(){return this};
var EA=function(a){var b;if(!(b=a.V)){b=a.Gh();var c=a.Pi(),d=a.Fg(),e=a.Oi();if(oh&&!xh(9)){var g=b,h=c,k=d,n=e,q=!1;1==g.nodeType&&(h=g.childNodes[h],q=!h,g=h||g.lastChild||g,h=0);var u=zA(g);h&&u.move("character",h);g==k&&h==n?u.collapse(!0):(q&&u.collapse(!1),q=!1,1==k.nodeType&&(k=(h=k.childNodes[n])||k.lastChild||k,n=0,q=!h),g=zA(k),g.collapse(!q),n&&g.moveEnd("character",n),u.setEndPoint("EndToEnd",g));n=new yA(u,fk(b));n.R=b;n.U=c;n.S=d;n.V=e;b=n}else b=sh?new CA(wA(b,c,d,e)):rh?new xA(wA(b,
c,d,e)):nh?new BA(wA(b,c,d,e)):new tA(wA(b,c,d,e));b=a.V=b}return b};f=DA.prototype;f.Oo=function(){return EA(this).dw()};f.Gh=function(){return this.R||(this.R=EA(this).kg())};f.Pi=function(){return null!=this.U?this.U:this.U=EA(this).Ih()};f.Fg=function(){return this.S||(this.S=EA(this).Hh())};f.Oi=function(){return null!=this.H?this.H:this.H=EA(this).Qi()};f.xl=function(){return this.W};f.Po=function(){return EA(this).$g()};f.getText=function(){return EA(this).getText()};
f.uf=function(){return new sA(this.Gh(),this.Pi(),this.Fg(),this.Oi())};f.select=function(){EA(this).select(this.W)};f.Qo=function(){EA(this).kC();oBa(this)};f.insertNode=function(a,b){a=EA(this).insertNode(a,b);oBa(this);return a};f.yy=function(){return new pBa(this)};f.No=function(a){a=this.xl()?!a:a;this.V&&this.V.jC(a);a?(this.S=this.R,this.H=this.U):(this.R=this.S,this.U=this.H);this.W=!1}; var pBa=function(a){A.call(this);a.xl()?a.Fg():a.Gh();a.xl()?a.Oi():a.Pi();a.xl()?a.Gh():a.Fg();a.xl()?a.Pi():a.Oi()};v(pBa,nA);
var FA=function(){};v(FA,pA);FA.prototype.insertNode=function(a,b){b?xk(a,this.Gh()):yk(a,this.Fg());return a};var GA=function(){this.S=this.R=this.H=null};v(GA,FA);var qBa=function(a){var b=new GA;b.H=a;return b},rBa=function(a){for(var b=fk(arguments[0]).body.createControlRange(),c=0,d=arguments.length;c<d;c++)b.addElement(arguments[c]);return qBa(b)};f=GA.prototype;f.clone=function(){return rBa.apply(this,HA(this))};f.getType=function(){return"control"};f.Lj=function(){return this.H||document.body.createControlRange()};f.Wt=function(a){if(!a||!a.addElement)return!1;this.H=a;return!0};
f.Gm=function(){return this.H?this.H.length:0};f.Oj=function(a){a=this.H.item(a);return lBa(jBa(a),void 0)};f.Oo=function(){return pha.apply(null,HA(this))};f.Gh=function(){return sBa(this)[0]};f.Pi=function(){return 0};f.Fg=function(){var a=sBa(this),b=dg(a);return ng(a,function(a){return Fk(a,b)})};f.Oi=function(){return this.Fg().childNodes.length};
var HA=function(a){if(!a.R&&(a.R=[],a.H))for(var b=0;b<a.H.length;b++)a.R.push(a.H.item(b));return a.R},sBa=function(a){a.S||(a.S=HA(a).concat(),a.S.sort(function(a,c){return a.sourceIndex-c.sourceIndex}));return a.S};f=GA.prototype;f.Po=function(){return!this.H||!this.H.length};f.getText=function(){return""};f.uf=function(){return new IA(this)};f.select=function(){this.H&&this.H.select()};f.Qo=function(){if(this.H){for(var a=[],b=0,c=this.H.length;b<c;b++)a.push(this.H.item(b));E(a,Ak);this.No(!1)}};
f.yy=function(){return new JA(this)};f.No=function(){this.S=this.R=this.H=null};var JA=function(a){this.H=HA(a)};v(JA,nA);JA.prototype.Na=function(){JA.ua.Na.call(this);delete this.H};var IA=function(a){this.$=this.S=this.R=null;a&&(this.$=sBa(a),this.R=this.$.shift(),this.S=dg(this.$)||this.R);oA.call(this,this.R,!1,!0)};v(IA,rA);f=IA.prototype;f.Rr=function(){return this.R};f.jp=function(){return!this.V&&!this.$.length};
f.next=function(){if(this.jp())throw ll;if(!this.V){var a=this.$.shift();this.setPosition(a,1,1);return a}return IA.ua.next.call(this)};f.eg=function(a){this.$=a.$;this.R=a.R;this.S=a.S;IA.ua.eg.call(this,a)};f.clone=function(){var a=new IA(null);a.eg(this);return a};
var KA=function(){this.H=[];this.S=[];this.U=this.R=null};v(KA,FA);f=KA.prototype;f.clone=function(){var a=new KA;a.H=wg(this.H);return a};f.getType=function(){return"mutli"};f.Lj=function(){return this.H[0]};f.Wt=function(){return!1};f.Gm=function(){return this.H.length};f.Oj=function(a){this.S[a]||(this.S[a]=lBa(kBa(this.H[a]),void 0));return this.S[a]};f.Oo=function(){if(!this.U){for(var a=[],b=0,c=this.Gm();b<c;b++)a.push(this.Oj(b).Oo());this.U=pha.apply(null,a)}return this.U};
var LA=function(a){a.R||(a.R=qA(a),a.R.sort(function(a,c){var b=a.Gh();a=a.Pi();var e=c.Gh();c=c.Pi();return b==e&&a==c?0:mBa(b,a,e,c)?1:-1}));return a.R};f=KA.prototype;f.Gh=function(){return LA(this)[0].Gh()};f.Pi=function(){return LA(this)[0].Pi()};f.Fg=function(){return dg(LA(this)).Fg()};f.Oi=function(){return dg(LA(this)).Oi()};f.Po=function(){return 0==this.H.length||1==this.H.length&&this.Oj(0).Po()};f.getText=function(){return ig(qA(this),function(a){return a.getText()}).join("")};f.uf=function(){return new MA(this)};
f.select=function(){var a=bBa(rk(fk(oh?this.Oo():this.Gh())));a.removeAllRanges();for(var b=0,c=this.Gm();b<c;b++)a.addRange(this.Oj(b).Lj())};f.Qo=function(){E(qA(this),function(a){a.Qo()})};f.yy=function(){return new NA(this)};f.No=function(a){if(!this.Po()){var b=a?this.Oj(0):this.Oj(this.Gm()-1);this.S=[];this.U=this.R=null;b.No(a);this.S=[b];this.R=[b];this.H=[b.Lj()]}};var NA=function(a){this.H=ig(qA(a),function(a){return a.yy()})};v(NA,nA);
NA.prototype.Na=function(){NA.ua.Na.call(this);E(this.H,function(a){a.dispose()});delete this.H};var MA=function(a){this.ka=null;this.va=0;a&&(this.ka=ig(LA(a),function(a){return Pha(a)}));oA.call(this,a?this.Rr():null,!1,!0)};v(MA,rA);f=MA.prototype;f.Rr=function(){return this.ka[0].Rr()};f.jp=function(){return this.ka[this.va].jp()};f.next=function(){try{var a=this.ka[this.va],b=a.next();this.setPosition(a.node,a.U,a.V);return b}catch(c){if(c!==ll||this.ka.length-1==this.va)throw c;this.va++;return this.next()}}; f.eg=function(a){this.ka=wg(a.ka);MA.ua.eg.call(this,a)};f.clone=function(){var a=new MA(null);a.eg(this);return a};
var OA=function(){var a=bBa(window);return a&&tBa(a)},tBa=function(a){var b=!1;if(a.createRange)try{var c=a.createRange()}catch(e){return null}else if(a.rangeCount){if(1<a.rangeCount){b=new KA;c=0;for(var d=a.rangeCount;c<d;c++)b.H.push(a.getRangeAt(c));return b}c=a.getRangeAt(0);b=mBa(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return null;return(a=c)&&a.addElement?qBa(a):lBa(kBa(a),b)},mBa=function(a,b,c,d){if(a==c)return d<b;var e;if(1==a.nodeType&&b)if(e=a.childNodes[b])a=e,b= 0;else if(Fk(a,c))return!0;if(1==c.nodeType&&d)if(e=c.childNodes[d])c=e,d=0;else if(Fk(c,a))return!1;return 0<(oha(a,c)||b-d)};
var xBa=function(a,b){if(uBa(a))a.selectionStart=b;else if(oh&&!wh("9")){var c=vBa(a),d=c[0];d.inRange(c[1])&&(b=wBa(a,b),d.collapse(!0),d.move("character",b),d.select())}},yBa=function(a){var b=0,c=0;if(uBa(a))b=a.selectionStart,c=-1;else if(oh&&!wh("9")){var d=vBa(a),e=d[0];d=d[1];if(e.inRange(d)){e.setEndPoint("EndToStart",d);if("textarea"==a.type){d.duplicate();b=a=e.text;for(c=!1;!c;)0==e.compareEndPoints("StartToEnd",e)?c=!0:(e.moveEnd("character",-1),e.text==a?b+="\r\n":c=!0);e=[b.length,-1];
return e}b=e.text.length;c=-1}}return[b,c]},zBa=function(a,b){if(uBa(a))a.selectionEnd=b;else if(oh&&!wh("9")){var c=vBa(a),d=c[1];c[0].inRange(d)&&(b=wBa(a,b),a=wBa(a,yBa(a)[0]),d.collapse(!0),d.moveEnd("character",b-a),d.select())}},vBa=function(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();"textarea"==a.type?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]},wBa=function(a,b){"textarea"==a.type&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g, "\n").length);return b},uBa=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};
var PA=function(a,b){this.node=a;this.index=b},ABa=function(a,b){this.U=a;this.R=b;this.H=1;this.S=null},CBa=function(a){if(!a.U.hasChildNodes()||0>a.R)return new PA(a.U,0);BBa(a,a.U);if(!a.S){var b=a.U.lastChild;a.S=new PA(b,3==b.nodeType?b.nodeValue.length:uk(b)?b.childNodes.length:0)}return a.S},BBa=function(a,b,c){if(3==b.nodeType)0==a.H&&a.R--,a.H=2,c=b.nodeValue.length,a.R<=c&&(a.S=new PA(b,a.R)),a.R-=c;else if("BR"==b.tagName)0==a.H&&a.R--,0==a.R&&(b.parentNode&&p(c)?a.S=new PA(b.parentNode, c):a.S=new PA(b,0)),1==a.H&&a.R--,2==a.H&&(a.H=0);else a:{(c=YAa.has(b.tagName))&&2==a.H&&(a.H=0);b=b.childNodes;for(var d=0,e;e=b[d];d++)if(BBa(a,e,d),a.S)break a;c&&2==a.H&&(a.H=0)}};
var DBa=document.createTextNode("\u200b"),EBa=Ch||oh&&wh(10),QA=tk("TEXTAREA"),FBa=function(a){return window.clipboardData?window.clipboardData.getData("Text"):a.H.clipboardData.getData("text/plain")},RA=function(a){return a?(new ZAa(void 0)).read(a).toString():""},SA=function(a,b){if(a){var c=CBa(new ABa(a,b.start));b.length?(a=CBa(new ABa(a,b.end)),nBa(c.node,c.index,a.node,a.index).select()):(a=c.node,c=c.index,nBa(a,c,a,c).select())}},TA=function(a,b){var c=b||OA();if(!(a&&c&&Fk(a,cBa(c))&&a.firstChild))return Bt;
b=c.clone();b.Wt(c.Lj().cloneRange());c=b.Po()?0:RA(b.Lj().cloneContents()).length;b.No(!b.xl());b.Lj().setStartBefore(a.firstChild);a=b.Lj().cloneContents();var d=b.Fg().childNodes[b.Oi()-1];d&&"BR"==d.tagName&&d.nextSibling&&a.appendChild(sk("BR"));"DIV"==b.Fg().tagName&&b.Fg().firstChild&&"BR"==b.Fg().firstChild.tagName&&0==b.Oi()&&a.appendChild(sk("BR"));b=RA(a).length;return new At(b,b+c)},UA=function(){var a=OA();return a?cBa(a):null},GBa=function(a){var b=window.getSelection();if(b.rangeCount&&
(b=b.getRangeAt(0),b.getClientRects)){if(Kk(b.commonAncestorContainer))var c=b.getClientRects();else b.insertNode(DBa),c=b.getClientRects(),Ak(DBa);if(!c.length){var d=tk("SPAN");d.style.position="absolute";d.style.opacity="0";b.insertNode(d);c=b.getClientRects();Ak(d)}if(c.length)return b=new Vj(c[0].left,c[0].top),"DOCUMENT_TOP_LEFT"==a&&(a=qk(document),eha(b,a.x,a.y)),b}},HBa=function(a,b,c){var d=RA(a);Hk(a,d.substr(0,b.start)+c+d.substr(b.end,d.length));SA(a,new At(b.end+(c.length-b.length)))},
IBa=function(a){if(EBa){QA.style.cssText="opacity:0;position:absolute;top:0";Hk(QA,a);var b=document;b.body.appendChild(QA);xBa(QA,0);zBa(QA,a.length);QA.focus();b.execCommand("Copy");b.body.removeChild(QA)}},JBa=function(a,b,c){var d=!1;if(a.length>b){var e=a.substring(b).search(/\s/);0<=e&&(a=a.substring(0,b+e),d=!0);b=a.split("").reverse().join("").search(/\s/);0<=b&&(a=a.substring(0,a.length-b-1),d=!0)}b=Gz(a);b.length>c&&(a=b.slice(0,c).join("\n"),d=!0);return a+(d?"\u2026":"")},KBa=function(a){var b=
[];if(a){var c=/".*?"/g,d=a.match(c);d&&(d=ig(d,function(a){return Hb(a,'"')}),b=b.concat(d),a=a.replace(c,""))}b=b.concat(a.split(" "));b=ig(b,function(a){return xb(a)});return b=hg(b,function(a){return!yb(a)})},LBa=function(a){a=ig(a,function(a){return Gb(a," ")?'"'+a+'"':a});return a.join(" ")};
var VA=function(a,b){A.call(this);this.S=this.R=0;this.Fc=a;this.U=b;this.H=new Vn(r(this.V,this),0,this)};v(VA,A);VA.prototype.Na=function(){this.H.dispose();delete this.Fc;delete this.U;VA.ua.Na.call(this)};VA.prototype.start=function(a,b){this.stop();b=b||0;this.R=Math.max(a||0,0);this.S=0>b?-1:t()+b;this.H.start(0>b?this.R:Math.min(this.R,b))};VA.prototype.stop=function(){this.H.stop()}; VA.prototype.V=function(){if(!this.Fc.call(this.U))if(0>this.S)this.H.start(this.R);else{var a=this.S-t();0>=a||this.H.start(Math.min(this.R,a))}};
var WA=function(a){J.call(this);this.Ga=a;this.R=this.Ga.value;this.H=new Am(this);this.U=t();MBa?this.H.listen(a,"paste",this.Im):this.H.listen(a,["keydown","blur","focus","mouseover","input"],this.DN);this.S=new VA(r(this.HA,this))};v(WA,J);var MBa=sh||oh||ph||rh&&wh("1.9");f=WA.prototype;f.Ri="init";f.Na=function(){WA.ua.Na.call(this);this.H.dispose();this.H=null;this.S.dispose();this.S=null};f.getState=function(){return this.Ri};
f.HA=function(){if(this.R==this.Ga.value)return!1;this.dispatchEvent("after_paste");return!0};f.Im=function(a){a=new li(a.H);a.type="paste";this.dispatchEvent(a);L(function(){this.HA()||this.S.start(50,200)},0,this)};
f.DN=function(a){switch(this.Ri){case "init":switch(a.type){case "blur":this.Ri="init";break;case "focus":this.Ri="focused";break;case "mouseover":this.Ri="init",this.Ga.value!=this.R&&this.Im(a)}break;case "focused":switch(a.type){case "input":var b=this.U+400;(t()>b||"focus"==this.V)&&this.Im(a);break;case "blur":this.Ri="init";break;case "keydown":if(th&&nh&&0==a.keyCode||th&&nh&&17==a.keyCode)break;this.Ri="typing";break;case "mouseover":this.Ga.value!=this.R&&this.Im(a)}break;case "typing":switch(a.type){case "input":this.Ri=
"focused";break;case "blur":this.Ri="init";break;case "keydown":(a.ctrlKey&&86==a.keyCode||a.shiftKey&&45==a.keyCode||a.metaKey&&86==a.keyCode)&&this.Im(a);break;case "mouseover":this.Ga.value!=this.R&&this.Im(a)}}this.U=t();this.R=this.Ga.value;this.V=a.type};
var NBa=function(a,b){this.text=a;this.R=b;this.H=b+a.length},OBa=/^(\s+|\s*[-+*]\s*)[^-+*\s]/;var XA=function(a,b){J.call(this);this.U=a;this.W=b;this.R=19999;this.V=100;"note"==b?(this.R=19999,this.V=500):"title"==b?this.R=999:"listitem"==b&&(this.R=999);this.H=null;this.S=!1};l(XA,J);
XA.prototype.update=function(a){var b=this;a+this.V<this.R?PBa(this):(this.S=!0,a=this.R-a,a=(new qz("{charsRemaining, plural, =1 {# character left}other {# characters left}}")).format({charsRemaining:Math.max(0,a)}),this.H?wv(this.H,a):this.H=tv(sj(this.U),a,"Copy to Google Docs",function(){b.dispatchEvent("Jc");xv(b.H,"")},7))};var PBa=function(a){a.H&&a.H.hide();a.H=null};XA.prototype.Na=function(){J.prototype.Na.call(this);this.S&&mj(this.U).mb("CharLimit","limitapproached",this.W);PBa(this)};
var QBa=function(a){I.call(this,"Vc");this.R=a};v(QBa,I);var RBa=function(a,b){I.call(this,"dd");this.$=a;this.R=b};v(RBa,I);var SBa=function(a,b,c){I.call(this,"cd");this.$=a;this.R=b;this.ma=c};v(SBa,I);var TBa=function(a){I.call(this,"Uc");this.R=a};v(TBa,I);
var UBa={tabindex:"0"},VBa=/(?:(https?|ftp):\/\/)?[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*\.(?:com|org|net|edu|gov|aero|biz|cat|coop|info|int|jobs|mobi|museum|name|pro|travel|arpa|asia|xxx|[a-z][a-z])\b(?:[\.]?[\w~#-\-\/-@!\[\]]+(?:[\.][\w~#-\-\/-@!\[\]]+)*)?/gi,YA=null,$A=function(a,b,c){An.call(this,c);var d=this;this.context=a;this.node=b;this.type="note";this.V=!1;this.ra=1;this.H="";this.$=null;this.ta="";this.Xb=!1;this.Da="";this.wb=[];this.Ba=!1;this.nb=this.ab=0;this.ma=null;this.U=
19999;this.Hb=new At(0,0);this.va=null;this.Ab=0;this.Qd=!!K(a).H.n_lcu;this.Ma=!!K(a).H.n_eqta;this.Ka=Ph(K(a));this.Ib=new Vn(function(){return ZA(d)},500);B(this,this.Ib);this.W=a.get("v");this.ka=new Vn(this.Jc,500,this);B(this,this.ka);this.Va=new Am(this);B(this,this.Va);this.jc=!1;this.S=this.Ta=null};l($A,An);
$A.prototype.La=function(){An.prototype.La.call(this);this.ha().setAttribute("contenteditable","true");this.ha().setAttribute("aria-multiline","true");Rk(this.Ga,"textbox");Jk(this.ha(),!0);this.ha().classList.add("notranslate");this.ha().classList.add("IZ65Hb-YPqjbf");this.Da&&this.ha().classList.add(this.Da)};
$A.prototype.Ha=function(){var a=this;An.prototype.Ha.call(this);"note"==this.type?(this.U=19999,this.Ua=9037):"title"==this.type?(this.U=999,this.Ua=9036):"listitem"==this.type&&(this.U=999,this.Ua=9038);this.ma=new XA(this.context,this.type);this.ma.Lb(this);B(this,this.ma);this.Ma&&this.node&&this.Ea().listen(this.node,"Ia",function(){return ZA(a)}).listen(Ar.Ja(),"Ia",function(){return ZA(a)});aB(this);WBa(this,0!=this.ra);this.ud(this.ra)};
$A.prototype.getText=function(a){return(void 0===a?0:a)&&this.H.length>this.U?this.H.substring(0,this.U):this.H};$A.prototype.kc=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a==this.H||this.H.length>this.U)return!1;!b&&this.V&&(this.va=bB(this));this.H=a;c||ZA(this,a);this.V&&this.ma.update(a.length);aB(this);b||(this.dispatchEvent(new QBa(this.va||Bt)),this.Ab=t());XBa(this);return!0};
var YBa=function(a,b,c,d){var e=UA();!e||!Fk(a.ha(),e)||a.H.length>a.U||(ZA(a,b,!0,c,d),a.ma.update(b.length),XBa(a))};$A.prototype.Od=function(a){this.V!=a&&(this.V=a,aB(this),this.ha().setAttribute("spellcheck",a),ZA(this),a?(this.ma.update(this.H.length),this.ka.start()):(this.W.U!=UA()&&(this.W.setVisible(!1),this.ka.stop()),PBa(this.ma)))};
$A.prototype.ud=function(a){this.ra=a;aB(this);var b=this.ha();if(b&&(Jk(b,0==a),b.setAttribute("contenteditable",String(0==a)),WBa(this,0!=a),!this.jc&&0==a)){this.jc=!0;a=new Im(b);B(this,a);var c=new WA(b);B(this,c);this.Ea().listen(a,"key",this.Dd).listen(c,"paste",this.Sw).listen(b,"copy",this.yU).listen(b,["blur","input","mouseup"],this.kt).listen(b,"focus",this.Cx).listen(b,"keydown",this.zU);this.Ka&&this.Ea().listen(b,"keypress",this.EC).listen(b,["beforecut","beforepaste","dragend","drop"],
this.yw);(oh||ph)&&this.Ea().listen(b,["cut","drop","keydown","keyup"],this.kt)}};$A.prototype.Ll=function(a){this.Ba!=a&&(this.Ba=a,ZA(this))};var aB=function(a){a.ha()&&(a.H||!rn(a.ha())||0!=a.ra&&!a.Xb?a.$&&S(a.$,!1):(a.$||(a.$=sk("DIV",a.ha().className+" LwH6nd"),xk(a.$,a.ha()),oh&&!wh(11)&&a.Ea().listen(a.$,"click",a.KR)),S(a.$,!0),Hk(a.$,a.ta)))};
$A.prototype.focus=function(a,b){this.ha()&&(b&&(YA||(YA=sk("DIV"),YA.id="keep-iape",YA.style.cssText="height:1px; opacity:0; position:absolute; top:-300px;",this.Aa().H.body.appendChild(YA)),Hk(YA,b),this.ha().setAttribute("aria-labelledby",YA.id)),this.ha().focus(),p(a)&&(a=pa(a)?new At(a):a,SA(this.ha(),a)))};var bB=function(a){return TA(a.ha())};$A.prototype.setVisible=function(a){this.ha()&&(a?(S(this.ha(),!0),aB(this)):(S(this.ha(),!1),this.$&&S(this.$,!1)))};
var ZBa=function(a,b){Eg(a.wb,b)||(a.wb=b,ZA(a))},ZA=function(a,b,c,d,e){c=void 0===c?!1:c;var g=a.ha();if(g){var h=null;if(a.V){var k=UA();k&&Fk(g,k)&&(h=TA(g),p(d)&&p(e)&&(h=Mqa(h,d,e)))}b=p(b)?b:a.V?RA(a.ha()):a.H;a.Ba&&!c&&(b=JBa(b,a.ab,a.nb));a.Ma&&(c=Ar.Ja(),c.qc()||a.Ea().Jb(c,"Ja",function(){return ZA(a)}));b=Poa(b,a.node,a.Qd,a.Ma,a.V?void 0:UBa);a.V||(b=$Ba(a,b));b=b.replace(/(\r\n|\n|\r)/gm,"<br>");-1!==b.indexOf("<br>",b.length-4)&&(b+="<br>");Pj(g,Uia(b));aCa(a);h&&SA(g,h);WBa(a,0!=a.ra)}},
$Ba=function(a,b){var c=a.wb;if(!c.length)return b;var d=/<[^>]+>/g;a=b.match(d)||[];b=b.replace(d,"<wbr>").split("<wbr>");c=c.map(Kb);c=new RegExp("("+c.join("|")+")","gi");for(d=0;d<b.length;d++)b[d]=b[d].replace(c,function(a){var b=tk("SPAN");Q(b,"G0jgYd-sn54Q");Hk(b,a);return b.outerHTML});c=[];for(d=0;d<b.length;d++){c.push(b[d]);var e=a[d];e&&c.push(e)}return c.join("")},WBa=function(a,b){Array.from(a.ha().getElementsByTagName("A")).forEach(function(a){return Jk(a,b)})};
$A.prototype.Jc=function(){var a=UA();if(a&&a.nodeName&&"A"==a.nodeName.toUpperCase()){var b=this.W,c="label"==a.getAttribute("linktype");c=void 0===c?!1:c;b.S=this;b.U=a;b.ha()||(a=R(bCa),document.body.appendChild(a),b.H=a.querySelector(".IZ65Hb-YPqjbf-V68bde-hSRGPd"),b.V=a.querySelector(".IZ65Hb-YPqjbf-V68bde-Rsbfue-V67aGc-LgbsSe"),Dm(Dm(b.ra.listen(b.H,"keydown",b.lE).listen(b.V,"keydown",b.lE).listen(b.V,"mousedown",b.BU),b.H,Em,b.dD),b.V,Em,b.dD),b.nl(a));Hk(b.H,c?"Go to label":"Go to link");
b.H.setAttribute("href",b.U.getAttribute("href"));b.H.setAttribute("tagname",b.U.getAttribute("tagname"));b.ma=!!c;S(b.V,c);b.setPosition(new cB(b.U,1));this.W.setVisible(!0)}else b=this.W,b=Qk(gk())==b.H||Qk(gk())==b.V,this.W.U&&!b&&ZA(this),this.W.setVisible(b)};
var cCa=function(a){if("note"!=a.type)return null;var b=bB(a).start,c=a.H.substring(0,b).split(/(\r\n|\n|\r)/gm).pop();c=OBa.exec(c);if(!c)return null;c=c[0];c=c.substring(0,c.length-1);if(a.H.length+1+c.length>=a.U)return null;var d=new NBa(c,b+1);a.kc(a.H.substring(0,b)+"\n"+d.text+a.H.substring(b));SA(a.ha(),new At(d.H));a.dispatchEvent(new TBa(c));return d},dCa=function(a){var b=a.Ta;if(!b||b.H!=bB(a).start)return!1;a.kc(a.H.substring(0,b.R)+a.H.substring(b.H));SA(a.ha(),new At(b.R));a.Ta=null;
return!0},gCa=function(a){var b=rj(a.context);if(b){b.lb||b.render(a.Aa().H.body);eCa(b,[a.node]);var c=b.ha(),d=GBa("DOCUMENT_TOP_LEFT");d&&(c.style.top=d.y+20+"px",c.style.left=d.x+"px",a.Ea().Jb(b,"bc",function(){return a.kt(void 0,!0)}),fCa(b,a),Gr(Ar.Ja(),"web_quick_labels_cc"),al.Ja().speak("Opened label picker menu"))}},aCa=function(a){a.Va.removeAll();Array.from(a.ha().getElementsByTagName("A")).forEach(function(b){"label"==b.getAttribute("linktype")?Cm(a.Va,b,Em,a.VS,void 0):Cm(a.Va,b,Em,
a.AU,void 0)})},XBa=function(a){var b=a.ha();b&&yj(b,a.H)};f=$A.prototype;
f.kt=function(a,b){var c=this;b=void 0===b?!1:b;var d=!!a&&"blur"==a.type;this.V&&(d?this.ka.stop():this.ka.start(a&&"mouseup"==a.type?0:void 0));!this.Ba&&(d&&(this.ha().removeAttribute("aria-labelledby"),this.va=null),!a||d?this.Ib.start(b?0:void 0):this.Ib.stop(),d&&(rj(this.context).U&&(this.Hb=bB(this)),this.S&&(this.S.Ba(this.ha()),dB(this.S)&&this.S.ie(),this.S=null),L(function(){var a=Qk(c.Aa());a&&!a.classList.contains("IZ65Hb-YPqjbf")&&Pk(c.Aa()).getSelection().removeAllRanges()},0)),a=
RA(this.ha()),a!=this.H||b)&&(this.Ta=null,a.length>this.U?(d=a.length-this.U,b=TA(this.ha()),d=b.start-d,this.kc(a.substring(0,d)+a.substring(b.start)),SA(this.ha(),new At(d))):(this.S&&this.S.setToken(a),this.H=a,aB(this),XBa(this),sj(this.context).clearAll(),a=a.length,this.ma.update(a),a>this.U||(this.dispatchEvent(new QBa(this.va||Bt)),this.Ab=t(),this.V||this.dispatchEvent(new jA))))};f.yw=function(){if(null==this.va||250<t()-this.Ab)this.va=bB(this)};
f.zU=function(a){if(this.W.Sa()&&9==a.keyCode)a.preventDefault(),a.uc(),this.W.focus(TA(this.ha()));else if((th?a.metaKey:a.ctrlKey)&&a.shiftKey&&56==a.keyCode)this.dispatchEvent("tb");else{this.Ka&&this.EC(a);var b=th?a.metaKey:a.ctrlKey;90!=a.keyCode||!b||a.shiftKey||a.altKey?(89==a.keyCode&&b||90==a.keyCode&&b&&a.shiftKey&&!a.altKey)&&this.Ka&&(a.preventDefault(),iCa(hj(this.context))):this.Ka?(a.preventDefault(),hCa(hj(this.context))):nj(this.context).log(9295)}};
f.EC=function(a){if(a.R)this.yw();else{var b=!(a.ctrlKey||a.metaKey)&&(8==a.keyCode||46==a.keyCode);((a.ctrlKey||a.metaKey)&&(88==a.keyCode||86==a.keyCode)||b)&&this.yw()}};
f.Dd=function(a){if(0==this.ra||!this.V){var b=rj(this.context).U,c=th?a.metaKey:a.ctrlKey;if(this.H.length>=this.U&&Fm(a.keyCode)&&!c)a.preventDefault(),nj(this.context).log(this.Ua);else if(35==a.R&&this.Ma&&this.node&&!rj(this.context).Sa()&&this.H.length<this.U-1)gCa(this);else if(27==a.keyCode)a.preventDefault(),this.W.Sa()?(this.W.setVisible(!1),this.ka.stop(),a.uc()):b?this.Ea().$a(rj(this.context),"bc"):this.S&&dB(this.S)?(this.S.ie(),a.uc()):this.dispatchEvent(new BAa);else if(this.V&&38==
a.keyCode||40==a.keyCode||37==a.keyCode||39==a.keyCode)this.ka.start();else if(c&&66==a.keyCode)nj(this.context).log(9320),a.preventDefault();else if(c&&73==a.keyCode)nj(this.context).log(9321),a.preventDefault();else if(c&&85==a.keyCode)nj(this.context).log(9322),a.preventDefault();else if(8==a.keyCode)dCa(this)&&a.preventDefault();else if(13==a.keyCode)if(b)a.preventDefault();else if(this.W.setVisible(!1),th?a.metaKey:a.ctrlKey)a.preventDefault(),this.dispatchEvent(new BAa);else{if(c=(b=dCa(this))?
null:cCa(this),b||c)a.preventDefault(),this.kt(),this.Ta=c}else 83==a.keyCode&&c&&!a.altKey?(a.preventDefault(),eB(gj(this.context))):9==a.keyCode?nj(this.context).log(9324):219!=a.keyCode&&221!=a.keyCode||!c||nj(this.context).log(9325)}};f.yU=function(){nj(this.context).log(9092)};
f.Sw=function(a){a.preventDefault();if(this.H.length>=this.U)nj(this.context).log(this.Ua);else{nj(this.context).log(9093);var b=FBa(a),c=b.match(VBa);c&&1==c.length&&c[0]==b.replace(/\s/g,"")?nj(this.context).log(9156):c&&nj(this.context).log(9157);c&&Ch&&(Fr(Ar.Ja(),"keep_it_snack_cc")||this.dispatchEvent(new iza(AAa,"keep_it_snack_cc")));document.selection?document.selection.createRange().pasteHTML(b):a.H.clipboardData?document.execCommand("insertText",!1,b):document.getSelection&&(a=document.getSelection().getRangeAt(0),
a.deleteContents(),a.insertNode(document.createTextNode(b)))}};f.KR=function(a){a.uc();this.ha().click();this.focus()};f.AU=function(){this.V||this.dispatchEvent("Yc")};f.VS=function(a){a.preventDefault();this.V||this.W.Sa()||(a=Kk(a.target).substring(1),(a=Ar.Ja().getTag(a))&&this.context.Ca().S.setTag(a))};f.Cx=function(){this.ka.start()};f.Na=function(){An.prototype.Na.call(this);delete this.$};
var jCa=function(a){a=a||{};return M('<div class="'+P("IZ65Hb-INgbqf")+'">'+fB({hb:O(" nQ1Faf ")})+fB({hb:O(" zyxPWd ")})+fB({hb:O(" euCgFf ")})+fB({hb:O(" VsHK1d ")})+fB({hb:O(" Ge5tnd-HiaYvf ")})+fB({hb:O(" JqEhuc ")})+fB({hb:O(" xl07Ob ")})+(a.CZ?fB({hb:O(" sfGayb ")})+fB({hb:O(" uXLMpd ")}):"")+"</div>")},fB=function(a){return M(N(lm({hb:O(""+a.hb+" INgbqf-LgbsSe")})))};
var kCa=function(a){a=a||{};a=""+('<div class="'+P("IZ65Hb-n0tgWb")+'" tabindex="0">'+N(lm({hb:O(" IZ65Hb-NGme3c ")}))+'<div class="'+P("IZ65Hb-TBnied")+'"><div class="'+P("IZ65Hb-s2gQvd")+'">'+N(lm({hb:O(" IZ65Hb-nQ1Faf "),Zy:bm(""+M('<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16 5h.99L17 3H7v2h1v7l-2 2v2h5v6l1 1 1-1v-6h5v-2l-2-2V5z"/><path fill="none" d="M0 0h24v24H0z"/></svg>'))}))+'<div class="'+P("IZ65Hb-nQ1Faf-cQwEuf")+'"></div><div class="'+
P("IZ65Hb-hYUzqc")+'"><div class="'+P("IZ65Hb-HiaYvf-neVct")+'"></div></div><div class="'+P("IZ65Hb-jfdpUb")+'"><div class="'+P("IZ65Hb-jfdpUb-fmcmS")+'"></div></div><div class="'+P("IZ65Hb-kODWGd")+'"></div>'+(a.UF?"":'<div class="'+P("IZ65Hb-hSRGPd-e1YmVc-FCjw3e")+'"></div>')+'</div><div class="'+P("IZ65Hb-yePe5c")+'">'+N(mm({hb:O(" IZ65Hb-iib5kc "),text:bm("Done")}))+N(jCa(a))+"</div>"+(a.UF?'<div class="'+P("IZ65Hb-hSRGPd-e1YmVc-FCjw3e")+'"></div>':"")+"</div></div>");return M(a)},lCa=function(){return M('<div class="'+
P("CmABtb")+'"><div class="'+P("IZ65Hb-H9WeWe-oPu43-n0tgWb")+'"><div class="'+P("IZ65Hb-H9WeWe-oPu43")+'"></div></div><div class="'+P("IZ65Hb-MPu53c-haAclf")+'"><div class="'+P("Q0hgme-MPu53c")+" "+P("IZ65Hb-MPu53c")+'"></div></div><div class="'+P("IZ65Hb-YPqjbf")+" "+P("CmABtb-YPqjbf")+" "+P("rymPhb-zcdHbf")+'"></div>'+N(lm({hb:O(" rymPhb-ibnC6b-VkLyEc ")}))+"</div>")},bCa=function(){var a=""+('<div class="'+P("IZ65Hb-YPqjbf-V68bde")+'"><a href="#" target="_blank" class="'+P("IZ65Hb-YPqjbf-V68bde-hSRGPd")+
'"></a>'+N(km({hb:O("IZ65Hb-YPqjbf-V68bde-Rsbfue-V67aGc-LgbsSe"),content:bm("Remove label")}))+"</div>");return M(a)},mCa=function(){var a=""+('<div class="'+P("IZ65Hb-DaY83b-gKvOdd")+'"><div class="'+P("IZ65Hb-DaY83b-gKvOdd-SmKAyb")+'">'+N(yAa({content:bm('<div class="'+P("IZ65Hb-DaY83b-gKvOdd-Ne3sFf")+'">Drop images here</div>')}))+"</div></div>");return M(a)},nCa=function(){var a=""+('<div class="'+P("PoC6nf-IZ65Hb-bF1uUb")+'"><div class="'+P("PoC6nf-IZ65Hb-IS8eVe-HiaYvf")+'"><div class="'+P("PoC6nf-IZ65Hb-IS8eVe-HiaYvf-bN97Pc")+
'"></div></div><div class="'+P("PoC6nf-IZ65Hb-V67aGc")+'">Shared from</div><div class="'+P("PoC6nf-IZ65Hb-IS8eVe-V1ur5d")+'"></div><div class="'+P("PoC6nf-IZ65Hb-gElRsf")+'"></div></div>');return M(a)},oCa=function(){return M('<div class="'+P("PoC6nf-IZ65Hb-ge6pde-bF1uUb")+'">'+N(om({du:O(" hJDwNd ")}))+"</div>")};
var gB=function(a,b,c){$A.call(this,a,b,c);this.ab=65;this.nb=3;this.Da="CmABtb-YPqjbf";this.type="listitem";this.ta=""};l(gB,$A);
gB.prototype.Dd=function(a){if(0==this.ra){var b;if(b=13==a.keyCode)if(a.shiftKey||(th?a.metaKey:a.ctrlKey))b=!1;else{if(!(rj(this.context).U||this.S&&dB(this.S)&&-1!=this.S.S)){a.uc();(b=OA())&&b.Qo();b=TA(this.ha(),b||void 0);var c=RA(this.ha());this.dispatchEvent(new RBa(c.substring(0,b.start),c.substring(b.start)));a.preventDefault()}b=!0}!b&&(b=8==a.keyCode)&&(b=TA(this.ha()),b.length||0!=b.start?b=!1:(a.preventDefault(),this.dispatchEvent("bd"),b=!0));!b&&(b=46==a.keyCode)&&(b=TA(this.ha()),
b.length||b.start!=RA(this.ha()).length?b=!1:(a.preventDefault(),this.dispatchEvent("ad"),b=!0));!b&&(b=40==a.keyCode)&&(rj(this.context).U||this.S&&dB(this.S)?b=!0:(b=TA(this.ha()),b.length||b.start!=RA(this.ha()).length?b=!1:(a.preventDefault(),this.dispatchEvent("Zc"),b=!0)));!b&&(b=38==a.keyCode)&&(rj(this.context).U||this.S&&dB(this.S)?b=!0:(b=TA(this.ha()),b.length||0!=b.start?b=!1:(a.preventDefault(),this.dispatchEvent("$c"),b=!0)));b||$A.prototype.Dd.call(this,a)}}; gB.prototype.Sw=function(a){var b=FBa(a);-1==b.search(/(\r\n|\n|\r)/gm)?$A.prototype.Sw.call(this,a):(a.preventDefault(),(a=OA())&&a.Qo(),a=TA(this.ha(),a||void 0),this.dispatchEvent(new SBa(this.H.substring(0,a.start),this.H.substring(a.start),b)))};
var hB=function(a,b){An.call(this,b);this.he=a;this.Ka=a.Fo();hB.prototype.Qd=!1};v(hB,An);f=hB.prototype;f.getContext=function(){return this.he};f.apply=function(a){gj(this.getContext()).apply(a)};f.Ha=function(){hB.ua.Ha.call(this);V(this,this.he.Ca().getState(),"Ma",this.tD);this.yc=new mo(this.ha());B(this,this.yc);this.tD()};f.tD=function(){var a=this.he.Ca().getState().Ce();a!=this.Qd&&this.xg(a)};f.xg=function(a){this.Qd=a};f.Ce=function(){return this.Qd};
f.setVisible=function(a){this.ha()&&S(this.ha(),a)};f.Sa=function(){return this.ha()?rn(this.ha()):!1};f.Jl=function(a){a.target=this};
var V=function(a,b,c,d,e,g){if(va(c))for(var h=0;h<c.length;++h)V(a,b,c[h],d,e,g);else d&&a.Ka&&(d=iB(a.Ka,d)),g?(h=a.Ea(),$ia(h,b,c,d,e,g)):a.Ea().listen(b,c,d,e);return a},jB=function(a,b,c,d,e,g){if(va(c))for(var h=0;h<c.length;++h)jB(a,b,c[h],d,e,g);else d&&a.Ka&&(d=iB(a.Ka,d)),g?(a=a.Ea(),Bm(a,b,c,d,e,g)):a.Ea().Jb(b,c,d,e)},kB=function(a,b,c,d,e,g){if(va(c))for(var h=0;h<c.length;h++)kB(a,b,c[h],d,e,g);else d&&a.Ka&&(d=iB(a.Ka,d)),a.Ea().$a(b,c,d,e,g);return a},lB=function(a,b,c){c&&a.Ka&&(c=
iB(a.Ka,c));Dm(a.Ea(),b,Em,c,void 0)},pCa=function(a,b,c){c&&a.Ka&&(c=iB(a.Ka,c));bja(a.Ea(),b,c,void 0,void 0)},qCa=function(a,b){return!!a.relatedTarget&&Fk(b,a.relatedTarget)},mB=function(a,b,c,d){qo(a,b,c,d||a.yc)},rCa=function(a,b){if(b){var c=b.nextSibling;c?Bn(a,c):a.render(b.parentElement)}else a.render()};
var nB=function(a,b,c){hB.call(this,b,c);this.wg(a.getId());this.hd(a);this.Hb=!1;this.Tc=1;this.kk=this.Vh=this.og=0;this.MD=!1};v(nB,hB);f=nB.prototype;f.Ha=function(){nB.ua.Ha.call(this);lB(this,this.ha(),this.CC);mB(this,qka,this.CC);mB(this,so,this.Bw);mB(this,to,this.ws)};f.ne=function(a){this.hd(a);this.wg(a.getId());this.update()};f.ud=function(a){this.Tc!=a&&(this.Tc=a,this.Xm())};
f.Od=function(a,b){if(this.Hb!=a){0!=this.Tc&&(a=!1);um(this.ha(),"IZ65Hb-QQhtn",a);this.In(a);var c=this.Aa();c=!this.Hb&&a&&(b||!Qk(c)||!c.contains(this.ha(),Qk(c)));this.Hb=a;c&&this.Qf(void 0,b)}};f.Vf=function(){return this.Hb};f.zn=function(a,b){this.dispatchEvent(new jA(b))};f.Ol=function(a){return!(a&&a.nodeName&&"A"==a.nodeName.toUpperCase())||0==this.Tc};
var oB=function(a,b){um(a.ha(),"IZ65Hb-fbudBf",b)},sCa=function(a,b,c){a.Vh=b;a.kk=c;Qz(a.ha(),b,c)},fA=function(a){return new Vj(a.Vh,a.kk)},tCa=function(a){a.MD=!0;um(a.ha(),"RNfche",!0)};f=nB.prototype;f.Qq=Di;f.zD=Ci;f.focus=function(){this.ha().focus()};f.An=sa;f.qh=sa;f.AD=Ci;f.CC=function(a){var b=this.ha(),c=a.target;ya(c)&&0<c.nodeType&&(b=a.target);"click"==a.type&&(a.ed=this.getId());this.Ol(b)&&this.zn(b,a)};f.rl=function(){if(this.Hb){this.Od(!1);var a=bBa(window);if(a)if(a.empty)try{a.empty()}catch(b){}else try{a.removeAllRanges()}catch(b){}this.ha().focus()}}; f.Bw=function(a){this.rl(a)};f.ws=function(a){this.rl(a)};
var pB=function(a,b,c){nB.call(this,a,b,c);this.H=new Oo(void 0,c);this.Ia(this.H);this.S=new go("Delete",void 0,c);this.Ia(this.S);this.fe=new gB(b,Pu(b.Ca().H,a.Wc),c);this.fe.Lb(this);this.Ia(this.fe);this.Bj=!0;this.W=!1;this.R=null;this.bn=!1;this.U=this.ds=null};v(pB,nB);f=pB.prototype;f.La=function(){this.Ga=R(lCa)};
f.Ha=function(){pB.ua.Ha.call(this);this.Tq=this.ub("IZ65Hb-MPu53c-haAclf");this.H.Ra(this.ub("IZ65Hb-MPu53c"));this.V=this.ub("IZ65Hb-H9WeWe-oPu43");var a=this.ub("rymPhb-ibnC6b-VkLyEc");this.S.Ra(a);Bn(this.fe,a);V(V(V(V(V(V(V(V(V(this,this.H,"change",this.WE),this.H.ha(),["blur","focus"],this.zw),this.S.ha(),["blur","focus"],this.zw),this.fe.ha(),["blur","focus"],this.zw),this.S,"action",this.OV),this.fe,"Vc",this.RV),this.fe,["bd","ad","cd","dd","jc"],this.Jl),this.fe,"Zb",this.rl),this.Ca(),
"ha",this.Ox);mB(this,Eka,this.WE);mB(this,Cka,this.PV);mB(this,Dka,this.QV);this.update()};f.getType=function(){return"LIST_ITEM"};f.update=function(){var a=this.Ca().Pc;um(this.ha(),"IZ65Hb-RW7GDd",a);this.H.ng(a);this.fe.kc(this.Ca().getText(),!0)};f.Ol=function(a){return pB.ua.Ol.call(this,a)&&!Fk(this.H.ha(),a)&&!this.bn};f.XE=function(a){return this.Qq()&&this.V==a};f.ne=function(a){kB(this,this.Ca(),"ha",this.Ox);pB.ua.ne.call(this,a);V(this,a,"ha",this.Ox)};f.getText=function(){return this.fe.getText()};
f.kc=function(a){this.fe.kc(a)};f.ud=function(a){this.bn||pB.ua.ud.call(this,a)};f.Xm=function(){this.fe.ud(this.Tc);var a=0==this.Tc,b=2==this.Tc||3==this.Tc||4==this.Tc;um(this.ha(),"q6TMze-OWB6Me",b);b&&!this.U&&(this.U=sk("DIV"),Q(this.U,"IZ65Hb-MPu53c-OWB6Me-Bz112c"),this.Tq.appendChild(this.U));S(this.V,a);this.S.setVisible(a);Jk(this.ha(),this.bn&&0==this.Tc)};f.In=function(a){this.bn||this.fe.Od(a)};f.Ll=function(a){this.fe.Ll(a)};f.focus=function(){this.H.ha().focus()};
f.Qf=function(a,b){this.fe.focus(a,b)};f.Qq=function(){return this.Bj&&!this.Ce()};var uCa=function(a,b){a.W=b;var c=a.fe;c.ta=b?"List item":"";aB(c);b?a.R||(a.R=sk("DIV"),Q(a.R,"aptq0d-htvI8d-ibnC6b-Bz112c"),a.Tq.appendChild(a.R)):a.R&&(a.Tq.removeChild(a.R),a.R=null)};f=pB.prototype;f.hk=function(a){this.bn||ZBa(this.fe,a)};f.OV=function(){Ju(mj(this.getContext()),this.Ca(),"listitemdeleted");this.apply(new cl("deleteListItem",this.getId()))};
f.WE=function(){var a=this.Ca().Pc;this.H.ng(!a);this.dispatchEvent(a?"Ac":"zc")};f.RV=function(a){a.target=this;Ju(mj(this.getContext()),this.Ca(),"listitemedited");this.W||this.apply(new dl("changeText",this.getId(),this.fe.getText(),a.R))};f.Ox=function(a){YBa(this.fe,a.text,a.position,a.size)};f.zw=function(a){"focus"==a.type?Q(this.ha(),"IZ65Hb-QQhtn"):qCa(a,this.ha())||sm(this.ha(),"IZ65Hb-QQhtn")};
f.rl=function(a){a.target!=this.H.ha()&&this.H.ha().offsetParent?(a.uc(),this.H.ha().focus()):this.Jl(a)};f.QV=function(){if(!this.Ca().Pc){var a=Qk(this.Aa());this.dispatchEvent("pc");a&&a.focus()}};f.PV=function(){if(!this.Ca().Pc){var a=Qk(this.Aa());this.dispatchEvent("qc");a&&a.focus()}};
var qB=function(a,b,c){A.call(this);this.tb=null;this.R=!1;this.Fc=a;this.S=c;this.H=b||window;this.Xc=r(this.BN,this)};v(qB,A);f=qB.prototype;f.start=function(){this.stop();this.R=!1;var a=vCa(this),b=wCa(this);a&&!b&&this.H.mozRequestAnimationFrame?(this.tb=si(this.H,"MozBeforePaint",this.Xc),this.H.mozRequestAnimationFrame(null),this.R=!0):this.tb=a&&b?a.call(this.H,this.Xc):this.H.setTimeout(Fi(this.Xc),20)};
f.stop=function(){if(this.Zg()){var a=vCa(this),b=wCa(this);a&&!b&&this.H.mozRequestAnimationFrame?wi(this.tb):a&&b?b.call(this.H,this.tb):this.H.clearTimeout(this.tb)}this.tb=null};f.Zg=function(){return null!=this.tb};f.BN=function(){this.R&&this.tb&&wi(this.tb);this.tb=null;this.Fc.call(this.S,t())};f.Na=function(){this.stop();qB.ua.Na.call(this)};
var vCa=function(a){a=a.H;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null},wCa=function(a){a=a.H;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
var rB=function(a,b){J.call(this);this.Da=a;this.$=b;this.va=[];this.ma=null;a=new Vn(this.Fa,32,this);B(this,a);this.Ba=new Co(a.start,100,a);B(this,this.Ba);this.H=[];this.Ka=0;this.ka={};this.Vd=16;this.S=null;this.ra=0;this.ta=!1;this.V=Number.MAX_VALUE;this.U=!1;this.R=1;a=new Am(this);B(this,a);a.listen(window,"focus",this.W)};v(rB,J);var xCa=function(a,b){a.va=b;E(a.va,function(a){a.ma=this.Vd},a)};rB.prototype.Jn=function(a){this.Vd=a;E(this.va,function(a){a.ma=this.Vd},this)};
var ACa=function(a,b){if(a.U){var c=a.R;a.R=yCa(a,b);c!=a.R&&a.W();a.ra=zCa(a)}else if(a.R=1,b=Math.min(b,2*a.Vd+600),b!=a.ra){a.ra=b;var d=b-2*a.Vd;a.$.xd(function(a){a instanceof nB&&a.qh(d)});a.W()}},BCa=function(a,b){a.U=b},zCa=function(a){return a.U?(a.R+1)*a.Vd+240*a.R:a.ra};rB.prototype.W=function(){sB(this,0)};
var sB=function(a,b){a.V=Math.min(a.V,b);a.Ba.od()},CCa=function(a,b,c,d){if(d||b!=c)a.V=Math.min(a.V,b,c),a.Ba.od()},DCa=function(a,b){var c=tB(a,b);if(b==a.S)if(1>=uB(a))a.focusNode(null);else{var d=Mk(document);b=!(d&&Fk(b.ha(),d));a.focusNode(vB(a,0==c?1:c-1),b)}a.V=Math.min(c,a.V);a.Ba.od()},ECa=function(a,b){a.ma!=b&&(a.ta&&a.ma.H&&(E(a.ma.H,function(a){Ak(a.Kg)}),a.ta=!1),a.ma=b)};
rB.prototype.focusNode=function(a,b){var c=this.S;this.S=a;c&&a!=c&&c.Vf()&&(c.Od(!1),c.ha().blur());a&&!b&&(b=Mk(document))&&!Fk(a.ha(),b)&&a.focus()};
var FCa=function(a){var b=uB(a);if(0<b){var c=a.S?tB(a,a.S):-1;a.focusNode(vB(a,c+1)||vB(a,b-1))}},GCa=function(a){var b=uB(a);0<b&&(b=a.S?tB(a,a.S):b,a.focusNode(vB(a,b-1)||vB(a,0)))},HCa=function(a,b){b.An(a.U);b.qh(a.U?240:a.ra-2*a.Vd)},yCa=function(a,b){var c=.1*b;!Hh(K(a.Da))&&1024<b&&(c=Math.max(350,c));return Math.floor(Math.ceil(b-a.Vd-c)/(240+a.Vd))},vB=function(a,b){b+=wB(a)?1:0;return a.$.Kc(b)},uB=function(a){return a.$.Sc()-(wB(a)?1:0)},tB=function(a,b){b=Dn(a.$,b);return wB(a)&&0<=b?
b-1:b},wB=function(a){var b=cj(a.Da,"K");return!!b&&a.$.Kc(0)==b};rB.prototype.Ma=function(a,b){var c=this.$.Eb(a);if(c&&c.ha()){var d=c.ha().offsetHeight;(a=this.ka[a])&&d==a.bottom-a.top||sB(this,b||tB(this,c))}};
rB.prototype.Fa=function(){if(this.V!=Number.MAX_VALUE){if(this.ma.H&&!this.ta){var a=this.$.Tb();a&&(E(this.ma.H,function(b){b.Kg&&a.appendChild(b.Kg)},this),this.ta=!0)}var b=ICa(this);JCa(this,b);var c=this.Vd+240,d=void 0;this.Ka=this.R;for(var e=this.$.Io(),g=uB(this),h=this.V;h<g;h++){h in b&&KCa(this,b[h],0==h);var k=vB(this,h),n=LCa(this),q=this.H[n];if(q>e)if(b[h])e+=80;else{d=h;break}sCa(k,n*c*1,this.H[n]);tCa(k);var u=k.ha().offsetHeight;k=k.Ca().getId();this.ka[k]?(this.ka[k].top=q,this.ka[k].bottom=
q+u,this.ka[k].left=n):this.ka[k]=new Km(q,0,q+u,n);this.H[n]+=u+this.Vd*(this.U?1:2)}this.V=Number.MAX_VALUE;E(this.va,function(a){a.Nt()});for(h=b=0;h<this.R;h++)b=Math.max(b,this.H[h]);b+=this.Vd;this.dispatchEvent(new xAa(b,d))}};
var ICa=function(a){var b={},c=a.ma.H;if(1>=c.length)return b;for(var d=1,e=c.length,g=uB(a),h=0;h<g&&d<e;h++)for(var k=vB(a,h),n=d;n<e;n++)if(c[n].Kg&&c[n].H(k)){b[h]=c[n];d=n+1;break}c[0].Kg&&!b[0]&&g&&(b[0]=c[0]);!bh(b,c[0])&&bh(b,c[1])&&c[1].Kg&&gh(b,0);E(c,function(a){!bh(b,a)&&a.Kg&&(Qz(a.Kg,0,0),a.Kg.style.visibility="hidden")});return Wg(b,function(a){return a.Kg})},LCa=function(a){for(var b=0,c=1;c<a.R;c++)a.H[b]>a.H[c]&&(b=c);return b},JCa=function(a,b){a.H=[];for(var c=0;c<a.R;c++)a.H[c]=
0;if(wB(a)){var d=Math.min(a.R,2);c=a.U?a.Vd*(d-1)+240*d:a.ra-2*a.Vd;var e=cj(a.Da,"K").ha();kn(e,c);e=nn(e).height+a.Vd*(a.U?1:2);for(c=0;c<d;c++)a.H[c]=e}if(0!=a.V&&a.V!=Number.MAX_VALUE&&a.R==a.Ka){d=[];for(c=0;c<a.R;c++)d[c]=!0;for(c=a.V-1;0<=c&&kg(d,Ei);){e=vB(a,c);e=a.ka[e.Ca().getId()];if(d[e.left]&&(a.H[e.left]=e.bottom+a.Vd*(a.U?1:2),d[e.left]=!1,b[c]))for(var g=0;g<a.R;g++)d[g]&&(a.H[g]=e.top,d[g]=!1);c--}}},KCa=function(a,b,c){for(var d=a.H[0],e=1;e<a.R;e++)d=Math.max(d,a.H[e]);c=c?d:d+ 40;b&&(Qz(b,0,c),b.style.visibility="visible",c+=40);for(e=0;e<a.R;e++)a.H[e]=c};
var xB=function(a,b){this.R=a;this.H=b||[MCa]};v(xB,A);var yB=function(a,b){this.Kg=null;a&&(this.Kg=sk("DIV"),Q(this.Kg,"neVct-LS81yb-tJHJj"),Hk(this.Kg,a));this.H=b};v(yB,A);
var MCa=new yB("",Di),NCa=new xB(Lr),OCa=new xB(Soa,[new yB("Pinned",function(a){a=a.Ca();return!!a&&a.$d()}),new yB("Others",function(a){a=a.Ca();return!!a&&!a.$d()})]),PCa=new xB(function(a,b){var c=Number.MAX_VALUE,d=a.Rb();d&&d.Sd&&!d.Ae().Lh&&(c=d.Ae().getTime());d=Number.MAX_VALUE;var e=b.Rb();e&&e.Sd&&!e.Ae().Lh&&(d=e.Ae().getTime());if(c!=d)return c>d?1:-1;c=a.Ob;d=b.Ob;return c!=d?c<d?1:-1:a.getId()!=b.getId()?a.getId()<b.getId()?-1:1:0},[new yB("Soon",function(a){a=a.Ca();if(!a&&!a.Rb())return!1;
a=a.Rb();if(!a.Sd)return!1;var b=a.Ae();return(a.Ae().Lh?kt():b.getTime())<kt()}),new yB("Others",function(a){a=a.Ca();if(!a&&!a.Rb())return!1;a=a.Rb();if(a.Gd)return!0;var b=a.Ae();return(a.Ae().Lh?kt():b.getTime())>=kt()})]),QCa=new xB(function(a,b){return Toa(a,b)||Qoa(a,b)},[new yB("",function(a){a=a.Ca();return!!a&&!a.Ed&&!Nr(a)}),new yB("Archive",function(a){a=a.Ca();return!!a&&a.Ed&&!Nr(a)})]),RCa=new xB(function(a,b){return Toa(a,b)||Soa(a,b)},[new yB("Pinned",function(a){a=a.Ca();return!!a&&
!a.Ed&&!Nr(a)&&a.$d()}),new yB("Others",function(a){a=a.Ca();return!!a&&!a.Ed&&!Nr(a)&&!a.$d()}),new yB("Archive",function(a){a=a.Ca();return!!a&&a.Ed&&!Nr(a)})]),SCa=new xB(function(a,b){var c=a.Pc,d=b.Pc;return c&&!d?1:!c&&d?-1:Lr(a,b)}),TCa=new xB(Lr),UCa=lh("archive",NCa,"home",OCa,"search",QCa,"reminders",PCa,Wo,RCa,"trash",new xB(Qoa));
var zB=function(a,b,c){hB.call(this,a,c);this.S=a.Ca().S;this.Ib=b;this.Ab=new Vn(this.Wu,250,this);B(this,this.Ab);this.R=[];this.W=OCa;this.H=new rB(a,this);B(this,this.H);this.H.Lb(this);ECa(this.H,this.W);this.V=[];VCa(this);this.U={};this.Qa=new Set;this.Fa=!0;this.wb=this.ta=0};v(zB,hB);zB.prototype.La=function(){zB.ua.La.call(this);this.Xb=sk("DIV");this.ha().appendChild(this.Xb)};
zB.prototype.Ha=function(){zB.ua.Ha.call(this);Q(this.ha(),"gkA7Yd-sKfxWe");V(V(V(V(V(this,this,"jc",this.ZC),this.H,"Tb",this.$C),this,"Qb",this.FV),this,"Pb",this.zP),this,"Rb",this.EV);E(this.V,function(a){a.Ma=this.H.U?1:0},this)};zB.prototype.Tb=function(){return this.Xb};
var WCa=function(a,b){a.W!=b&&(a.W=b,ECa(a.H,b),VCa(a))},VCa=function(a){E(a.V,bg);a.V=[];E(a.W.H,function(){var a=new eA;this.V.push(a);B(this,a);a.Lb(this);a.init();a.Ma=this.H.U?1:0},a);xCa(a.H,a.V)},AB=function(a,b){a=mg(a.W.H,function(a){return a.H(b)});return-1==a?0:a},BB=function(a,b,c){a=a.H;L(r(a.Ma,a,b,c),20)};zB.prototype.focusNode=function(a){a=a?this.Eb(a):null;this.H.focusNode(a)};
var XCa=function(a){var b=[];a.xd(function(a){a instanceof nB&&b.push(a)});dda(b,function(a){return a.Ca()},a.W.R);E(b,function(a,b){this.Cd(a,b)},a)},YCa=function(a,b,c){b=a.Kc(b);var d=a.Kc(c);b&&d&&AB(a,b)==AB(a,d)&&(c=b instanceof pB?"List item moved to index "+c:"Note moved to index "+c,al.Ja().speak(c),a.apply(new Gha([d.getId(),b.getId()],[b.Ca().Ob,d.Ca().Ob])))};
zB.prototype.insertNode=function(a){if(this.ma(a)&&!this.Eb(a.getId())){var b=this.Ma(a),c=uB(this.H);(b<c||b==c&&this.Fa)&&ZCa(this,a,b)}};zB.prototype.Ma=function(a){if(a.getId()in this.U)return this.U[a.getId()];var b=-(Bg(this.R,this.W.R||Cg,a)+1);zg(this.R,b,0,a);for(a=b;a<this.R.length;a++)this.U[this.R[a].getId()]=a;return b};var ZCa=function(a,b,c){b=a.Ib.create(b);HCa(a.H,b);b.render(a.Tb());tAa(a.V[AB(a,b)],b);a.Cd(b,c);Yo(a.S)&&b.hk(Yo(a.S).R);sB(a.H,c)};
zB.prototype.va=function(a){var b=a.getId(),c=this.U[b],d=this.U[a.getId()];tg(this.R,d);var e=-(Bg(this.R,this.W.R||Cg,a)+1);zg(this.R,e,0,a);if(d!=e){var g=Math.max(d,e);for(d=Math.min(d,e);d<=g;d++)this.U[this.R[d].getId()]=d}d=uB(this.H);g=c<d;d=e<d;if(!g&&d)ZCa(this,a,e);else{if(g&&!d)return $Ca(this,b)&&sB(this.H,c),!0;g&&d?aDa(this,a,c,e):(a=this.H,L(r(a.Ma,a,b,c),20))}this.Qa["delete"](b);return!1};
var aDa=function(a,b,c,d){var e=a.Eb(b.getId());if(e){var g=!1,h=a.V[AB(a,e)];ah(h.Da,e.getId())||(E(a.V,function(a){uAa(a,e)}),tAa(h,e),g=!0);vAa(h,e)?fu(b,a.ta,!0):(CCa(a.H,c,d,g),a.pt(e,d))}};zB.prototype.ka=function(a,b){var c=this.Eb(a);this.Qa.add(a);!b&&c?(oB(c,!0),L(r(this.ka,this,a,!0),218)):this.Qa.has(a)?(b=this.ab(a),0<=b&&$Ca(this,a)&&sB(this.H,b),this.Qa["delete"](a)):c&&oB(c,!1)};
zB.prototype.ab=function(a){var b=this.U[a];if(!p(b))return-1;delete this.U[a];tg(this.R,b);for(a=b;a<this.R.length;a++)this.U[this.R[a].getId()]=a;return b};
var DB=function(a,b){var c=[],d=Yo(a.S)?Yo(a.S).R:null,e=uB(a.H),g=Hh(K(a.getContext()));E(b,function(a){if(!this.Eb(a.getId())){var b=this.Ib.create(a);HCa(this.H,b);this.Ia(b,!0);g&&CB(kj(this.getContext()),a.getId())&&oB(b,!0);tAa(this.V[AB(this,b)],b);c.push(b);d&&b.hk(d)}},a);sB(a.H,e)},EB=function(a,b){for(var c;c=vB(a.H,b);)a.removeChild(c.getId(),!0),E(a.V,function(a){uAa(a,c)}),bg(c)},$Ca=function(a,b){var c=a.Eb(b);if(!c)return!1;DCa(a.H,c);a.removeChild(b,!0);E(a.V,function(a){uAa(a,c)});
bg(c);return!0};f=zB.prototype;f.pt=function(a,b){if(this.Kc(b)!=a){this.Cd(a,b);var c=this.Tb();a=a.ha();c.removeChild(a);c.insertBefore(a,c.childNodes[b]||null)}};f.Wu=function(){var a=this.ZB(!0),b=uB(this.H);b<a&&b<this.R.length&&DB(this,this.R.slice(b,a))};
f.zP=function(a){if(a.source.Qq()&&a.target.Qq()&&a.source!=a.target&&!a.source.isDisposed()&&!a.target.isDisposed()){var b=a.source.Ca(),c=this.U[b.getId()],d=this.U[a.target.getId()],e=c<d?d+1:d;this.ta=Qqa(this.R[e-1],this.R[e]);fu(b,this.ta,!0);mda(this.R,c,d);b=Math.max(c,d);for(e=Math.min(c,d);e<=b;e++)this.U[this.R[e].getId()]=e;CCa(this.H,c,d);this.pt(a.source,d);a="Position "+d;al.Ja().speak(a)}};f.FV=function(a){a.source.isDisposed()||(Q(this.ha(),"i9yGGd-vrrIBb"),this.wb=this.ta=a.source.Ca().Ob)}; f.EV=function(a){a.source.isDisposed()||(a=a.source.Ca(),this.apply(new Gha(a.getId(),a.Ob,this.wb)),a.Db(),sm(this.ha(),"i9yGGd-vrrIBb"),nj(this.getContext()).log(gu(a)?9127:9031))};
var FB=function(a,b,c){zB.call(this,a,b,c);this.H.Jn(0);this.Fa=!1;this.ra=Number.MAX_VALUE;this.$=null;this.Ba=0;E(this.V,function(a){var b=r(this.HZ,this);a.Hb=b},this)};v(FB,zB);var bDa=new qz("{count, plural, =1 {+ # completed item} other {+ # completed items}}");FB.prototype.Ha=function(){FB.ua.Ha.call(this);Q(this.ha(),"rymPhb-IZ65Hb-gkA7Yd")};var cDa=function(a,b){a.ra=b;a.Da<b?a.Wu():a.Da>b&&(a.Da=b,EB(a,b))},dDa=function(a){a.R.sort(a.W.R);for(var b=0,c;c=a.R[b];b++)a.U[c.getId()]=b;XCa(a)};
FB.prototype.ma=function(a){return!!a&&!a.Sb()&&gu(a)};FB.prototype.insertNode=function(a){if(this.ma(a)&&!this.Eb(a.getId())){var b=this.Ma(a);b<this.ra&&ZCa(this,a,b);EB(this,this.ra)}};FB.prototype.va=function(a){if(a=FB.ua.va.call(this,a)){var b=uB(this.H),c=b-1;c<this.R.length&&c<this.ra&&(b=this.R[b])&&DB(this,[b])}return a};FB.prototype.ka=function(a,b){FB.ua.ka.call(this,a,b);this.Wu()};
var eDa=function(a,b){a.R=wg(b);for(b=0;b<a.R.length;b++)a.U[a.R[b].getId()]=b;EB(a,0);a.H.W();DB(a,a.R.slice(0,a.ra))};f=FB.prototype;f.pt=function(a,b){if(this.Kc(b)!=a){var c=null;a.Vf()&&(c=bB(a.fe));FB.ua.pt.call(this,a,b);c&&c!=Bt&&a.Qf(c)}};f.ZB=function(){return this.ra};f.Io=Bi(Number.MAX_VALUE);f.HZ=function(a){Q(a,"rymPhb-IZ65Hb-gkA7Yd")};f.ZC=function(a){a=a.target;if(this.Eb(a.getId())){var b=this.H.S;b&&b!=a&&b.Od(!1);this.H.focusNode(a,0!=a.Tc);a.Od(!0)}}; f.$C=function(a){this.Tb().style.height=a.height+"px";this.Ba!=a.height&&(this.Ba=a.height,this.dispatchEvent("Sb"));this.Qb&&0!=this.Qb.length&&0==a.height&&this.H.W()};
var GB=function(a){J.call(this);this.H=a||window;this.S=si(this.H,"resize",this.U,!1,this);this.R=ok(this.H)};v(GB,J);var gDa=function(a){a=a||window;var b=za(a);return fDa[b]=fDa[b]||new GB(a)},fDa={},hDa=function(a){return a.R?a.R.clone():null};GB.prototype.Na=function(){GB.ua.Na.call(this);this.S&&(wi(this.S),this.S=null);this.R=this.H=null};GB.prototype.U=function(){var a=ok(this.H);ak(a,this.R)||(this.R=a,this.dispatchEvent("resize"))};
var HB=function(){J.call(this);this.R=new GB;B(this,this.R);this.H=new Co(this.S,500,this);B(this,this.H);si(this.R,"resize",this.H.od,!1,this.H)};v(HB,J);ta(HB);HB.prototype.S=function(){this.dispatchEvent("fd")};var IB=function(a){return hDa(a.R)||ok()};
var JB=function(a,b,c){J.call(this);this.ma=a;this.ka=c;this.U=b;si(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.V=null;this.R=[];this.S=-1;this.H=0;this.W=this.$=null;this.ta={}};v(JB,J);f=JB.prototype;f.uv=!0;f.Zu=!1;f.getToken=function(){return this.V};
f.handleEvent=function(a){var b=this.ma;if(a.target==this.U)switch(a.type){case "hilite":this.Ui(a.row);break;case "select":var c=!1;if(pa(a.row)){a=a.row;var d=this.R[KB(this,a)];c=!!d&&b.jx&&b.jx(d);d&&!c&&this.S!=a&&this.Ui(a)}c||LB(this);break;case "canceldismiss":iDa(this);break;case "dismiss":jDa(this)}};f.setToken=function(a,b){this.V!=a&&(this.V=a,this.ma.Rt(this.V,10,r(this.Da,this),b),iDa(this))};
var dB=function(a){return a.U.Sa()},kDa=function(a){for(var b=a.H+a.R.length-1,c=a.S,d=0;d<a.R.length;d++){if(c>=a.H&&c<b)c++;else if(-1==c)c=a.H;else{a.Zu&&c==b&&a.Ui(-1);break}if(a.Ui(c))return!0}return!1},lDa=function(a){for(var b=a.S,c=0;c<a.R.length;c++){if(b>a.H)b--;else{a.Zu&&b==a.H&&a.Ui(-1);break}if(a.Ui(b))return!0}return!1};JB.prototype.Ui=function(a){var b=KB(this,a),c=this.R[b];return c&&this.ma.jx&&this.ma.jx(c)?!1:(this.S=a,this.U.Ui(a),-1!=b)};
var LB=function(a){var b=KB(a,a.S);if(-1!=b){var c=a.R[b],d=a.ka.Ut(c);a.ie();d||a.dispatchEvent({type:"update",row:c,index:b});return!0}a.ie();a.dispatchEvent({type:"update",row:null,index:null});return!1};JB.prototype.ie=function(){this.S=-1;this.V=null;this.H+=this.R.length;this.R=[];window.clearTimeout(this.W);this.W=null;this.U.ie();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};var jDa=function(a){a.W||(a.W=window.setTimeout(r(a.ie,a),100))};
JB.prototype.va=function(){return this.W?(window.clearTimeout(this.W),this.W=null,!0):!1};var iDa=function(a){a.va()||window.setTimeout(r(a.va,a),10)};JB.prototype.Na=function(){JB.ua.Na.call(this);delete this.ta;this.U.dispose();this.ka.dispose();this.ma=null};JB.prototype.Da=function(a,b,c){this.V==a&&this.ty(b,c)};
JB.prototype.ty=function(a,b){var c="object"==ua(b)&&b;b=(c?c.O8():b)?KB(this,this.S):-1;this.H+=this.R.length;this.R=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.H+e,data:a[e]});a=null;this.$&&(a=this.ta[za(this.$)]||this.$);this.U.Vt(a);this.U.ty(d,this.V,this.$);a=this.uv;c&&void 0!==c.gM()&&(a=c.gM());this.S=-1;(a||0<=b)&&0!=d.length&&this.V&&(0<=b?this.Ui(this.H+b):kDa(this));this.dispatchEvent("suggestionsupdate")};var KB=function(a,b){b-=a.H;return 0>b||b>=a.R.length?-1:b}; JB.prototype.ra=function(a){var b=this.ka;b.Fa.apply(b,arguments)};JB.prototype.Ba=function(a){var b=this.ka;b.Ka.apply(b,arguments);E(arguments,function(a){gh(this.ta,za(a))},this)};JB.prototype.update=function(a){this.ka.update(a)};
var MB={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};
var qDa=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(mDa.test(c)){a=c;if(!mDa.test(a))throw Error("uc`"+a);4==a.length&&(a=a.replace(nDa,"#$1$1$2$2$3$3"));b.zs=a.toLowerCase();b.type="hex";return b}c=oDa(a);if(c.length){var d=c[0];a=c[1];c=c[2];d=Number(d);a=Number(a);c=Number(c);if(d!=(d&255)||a!=(a&255)||c!=(c&255))throw Error("vc`"+d+"`"+a+"`"+c);d=pDa(d.toString(16));a=pDa(a.toString(16));c=pDa(c.toString(16));b.zs="#"+d+a+c;b.type="rgb";return b}if(MB&&(c=MB[a.toLowerCase()]))return b.zs=
c,b.type="named",b;throw Error("tc`"+a);},rDa=function(a){return!!(mDa.test("#"==a.charAt(0)?a:"#"+a)||oDa(a).length||MB&&MB[a.toLowerCase()])},nDa=/#(.)(.)(.)/,mDa=/^#(?:[0-9a-f]{3}){1,2}$/i,sDa=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,oDa=function(a){var b=a.match(sDa);if(b){a=Number(b[1]);var c=Number(b[2]);b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]},pDa=function(a){return 1==a.length?"0"+a:a};
var NB={},OB=null,uDa=function(a){var b=za(a);b in NB||(NB[b]=a);tDa()},PB=function(a){a=za(a);delete NB[a];eh(NB)&&OB&&OB.stop()},tDa=function(){OB||(OB=new Vn(function(){vDa()},20));var a=OB;a.Zg()||a.start()},vDa=function(){var a=t();Ug(NB,function(b){b.hF(a)});eh(NB)||tDa()};
var QB=function(a,b,c,d){ov.call(this);if(!va(a)||!va(b))throw Error("wc");if(a.length!=b.length)throw Error("xc");this.ka=a;this.ta=b;this.duration=c;this.ra=d;this.coords=[];this.W=!1;this.V=0};v(QB,ov);f=QB.prototype;f.play=function(a){if(a||0==this.H)this.V=0,this.coords=this.ka;else if(1==this.H)return!1;PB(this);this.S=a=t();-1==this.H&&(this.S-=this.duration*this.V);this.$=this.S+this.duration;this.V||this.mj();this.R("play");-1==this.H&&this.R("resume");this.H=1;uDa(this);wDa(this,a);return!0};
f.stop=function(a){PB(this);this.H=0;a&&(this.V=1);xDa(this,this.V);this.onStop();this.Uh()};f.pause=function(){1==this.H&&(PB(this),this.H=-1,this.R("pause"))};f.Na=function(){0==this.H||this.stop(!1);this.R("destroy");QB.ua.Na.call(this)};f.destroy=function(){this.dispose()};f.hF=function(a){wDa(this,a)};
var wDa=function(a,b){b<a.S&&(a.$=b+a.$-a.S,a.S=b);a.V=(b-a.S)/(a.$-a.S);1<a.V&&(a.V=1);xDa(a,a.V);1==a.V?(a.H=0,PB(a),pv(a),a.Uh()):1==a.H&&a.ay()},xDa=function(a,b){xa(a.ra)&&(b=a.ra(b));a.coords=Array(a.ka.length);for(var c=0;c<a.ka.length;c++)a.coords[c]=(a.ta[c]-a.ka[c])*b+a.ka[c]};QB.prototype.ay=function(){this.R("animate")};QB.prototype.R=function(a){this.dispatchEvent(new yDa(a,this))}; var yDa=function(a,b){I.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.R=b.coords[2];this.duration=b.duration;this.state=b.H};v(yDa,I);
var RB=function(a,b,c,d,e){QB.call(this,b,c,d,e);this.U=a};v(RB,QB);f=RB.prototype;f.yk=sa;f.qf=function(){p(this.Bi)||(this.Bi=sn(this.U));return this.Bi};f.ay=function(){this.yk();RB.ua.ay.call(this)};f.Uh=function(){this.yk();RB.ua.Uh.call(this)};f.mj=function(){this.yk();RB.ua.mj.call(this)};var SB=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("yc");RB.apply(this,arguments)};v(SB,RB);
SB.prototype.yk=function(){var a=this.W&&this.qf()?"right":"left";this.U.style[a]=Math.round(this.coords[0])+"px";this.U.style.top=Math.round(this.coords[1])+"px"};var TB=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("yc");RB.apply(this,arguments)};v(TB,RB);TB.prototype.yk=function(){this.W?Vz(this.U,Math.round(this.coords[0])):this.U.scrollLeft=Math.round(this.coords[0]);this.U.scrollTop=Math.round(this.coords[1])};var UB=function(a,b,c,d,e){RB.call(this,a,[b],[c],d,e)};v(UB,RB);
UB.prototype.yk=function(){this.U.style.width=Math.round(this.coords[0])+"px"};var zDa=function(a,b,c,d,e){RB.call(this,a,[b],[c],d,e)};v(zDa,RB);zDa.prototype.yk=function(){this.U.style.height=Math.round(this.coords[0])+"px"};var VB=function(a,b,c,d,e){pa(b)&&(b=[b]);pa(c)&&(c=[c]);RB.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("zc");this.ma=-1};v(VB,RB);var ADa=1/1024;f=VB.prototype;f.yk=function(){var a=this.coords[0];Math.abs(a-this.ma)>=ADa&&(pn(this.U,a),this.ma=a)};
f.mj=function(){this.ma=-1;VB.ua.mj.call(this)};f.Uh=function(){this.ma=-1;VB.ua.Uh.call(this)};f.show=function(){this.U.style.display=""};f.hide=function(){this.U.style.display="none"};var BDa=function(a,b,c){VB.call(this,a,1,0,b,c)};v(BDa,VB);var WB=function(a,b,c){VB.call(this,a,0,1,b,c)};v(WB,VB);WB.prototype.mj=function(){this.show();WB.ua.mj.call(this)};
var ZB=function(a,b,c,d,e,g,h,k,n){var q=CDa(c),u=on(a),C=fn(a);C&&nja(u,new Lm(C.left,C.top,C.right-C.left,C.bottom-C.top));C=gk(a);var D=gk(c);if(C.H!=D.H){var U=C.H.body;D=Pk(D);var W=new Vj(0,0),ia=rk(fk(U));if(Ha(ia,"parent")){var $a=U;do{var pb=ia==D?en($a):vja($a);W.x+=pb.x;W.y+=pb.y}while(ia&&ia!=D&&ia!=ia.parent&&($a=ia.frameElement)&&(ia=ia.parent))}U=Yj(W,en(U));!oh||xh(9)||nk(C.H)||(U=Yj(U,qk(C.H)));u.left+=U.x;u.top+=U.y}a=XB(a,b);b=u.left;a&4?b+=u.width:a&2&&(b+=u.width/2);u=new Vj(b,
u.top+(a&1?u.height:0));u=Yj(u,q);e&&(u.x+=(a&4?-1:1)*e.x,u.y+=(a&1?-1:1)*e.y);if(h)if(n)var jb=n;else if(jb=fn(c))jb.top-=q.y,jb.right-=q.x,jb.bottom-=q.y,jb.left-=q.x;return YB(u,c,d,g,jb,h,k)},CDa=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=Zm(a)){var c=en(a);b||(c=Yj(c,new Vj(Uz(a),a.scrollTop)))}}return c||new Vj},YB=function(a,b,c,d,e,g,h){a=a.clone();var k=XB(b,c);c=nn(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var n=0;if(d||0!=k)k&4?
a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(g){if(e){d=a;k=h;n=0;65==(g&65)&&(d.x<e.left||d.x>=e.right)&&(g&=-2);132==(g&132)&&(d.y<e.top||d.y>=e.bottom)&&(g&=-5);d.x<e.left&&g&1&&(d.x=e.left,n|=1);if(g&16){var q=d.x;d.x<e.left&&(d.x=e.left,n|=4);d.x+k.width>e.right&&(k.width=Math.min(e.right-d.x,q+k.width-e.left),k.width=Math.max(k.width,0),n|=4)}d.x+k.width>e.right&&g&1&&(d.x=Math.max(e.right-k.width,e.left),n|=1);g&2&&(n|=(d.x<
e.left?16:0)|(d.x+k.width>e.right?32:0));d.y<e.top&&g&4&&(d.y=e.top,n|=2);g&32&&(q=d.y,d.y<e.top&&(d.y=e.top,n|=8),d.y+k.height>e.bottom&&(k.height=Math.min(e.bottom-d.y,q+k.height-e.top),k.height=Math.max(k.height,0),n|=8));d.y+k.height>e.bottom&&g&4&&(d.y=Math.max(e.bottom-k.height,e.top),n|=2);g&8&&(n|=(d.y<e.top?64:0)|(d.y+k.height>e.bottom?128:0));e=n}else e=256;n=e}g=new Lm(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;e=n;if(e&496)return e;an(b,Rm(g));h=Qm(g);ak(c,h)||(c=
h,a=nk(gk(fk(b)).H),!oh||wh("10")||a&&wh("8")?(b=b.style,rh?b.MozBoxSizing="border-box":sh?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+"px"):(h=b.style,a?(a=vn(b),b=gn(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return e},XB=function(a,b){return(b&8&&sn(a)?b^4:b)&-9};
var $B=function(a,b,c,d){J.call(this);this.Nb=a||document.body;this.Bb=gk(this.Nb);this.ma=!a;this.Ga=null;this.ra="";this.H=[];this.U=[];this.Fa=this.$=-1;this.W=!1;this.className="ztA2jd-SUR3Rd";this.ka="ztA2jd-oKdM2c";this.Qa="ztA2jd-AHUcCb";this.V=b||null;this.Ua=null!=d?d:!0;this.Da=!0;this.S=!1;this.Ta=!!c};v($B,J);f=$B.prototype;f.ha=function(){return this.Ga};f.Vt=function(a){this.Ma=a};f.ty=function(a,b,c){this.ra=b;this.H=a;this.$=-1;this.Fa=t();this.R=c;this.U=[];DDa(this)};
f.ie=function(){this.W&&(this.W=!1,EDa(this,!1),S(this.Ga,!1))};f.show=function(){this.W||(this.W=!0,EDa(this,!0),S(this.Ga,!0))};var EDa=function(a,b){a.R&&(Tk(a.R,"haspopup",b),Tk(a.Ga,"expanded",b),Tk(a.R,"expanded",b),b?Tk(a.R,"owns",a.Ga.id):(Uk(a.R,"owns"),Wk(a.R,null)))};$B.prototype.Sa=function(){return this.W};
var FDa=function(a,b){var c=0<=b&&b<a.H.length?a.H[b]:void 0,d=0<=b&&b<a.U.length?a.U[b]:void 0;a.dispatchEvent({type:"rowhilite",ra:d,row:c?c.data:null})&&(0<=a.$&&tm(a.U[a.$],["ztA2jd-auswjd","auswjd"]),a.$=b,d&&(rm(d,["ztA2jd-auswjd","auswjd"]),a.R&&Wk(a.R,d),hn(d,a.Ga)))};$B.prototype.Ui=function(a){if(-1==a)FDa(this,-1);else for(var b=0;b<this.H.length;b++)if(this.H[b].id==a){FDa(this,b);break}};
var GDa=function(a){if(!a.Ga){var b=a.Bb.La("DIV",{style:"display:none"});a.Ga=b;rm(b,Ab(a.className).split(" "));Rk(b,"listbox");b.id=zn(yn.Ja());a.Bb.appendChild(a.Nb,b);si(b,"click",a.ta,!1,a);si(b,"mousedown",a.va,!1,a);si(b,"mouseover",a.Ba,!1,a)}},DDa=function(a){GDa(a);a.Va&&(a.Ga.style.minWidth=a.Va.clientWidth-0+"px");a.U.length=0;a.Bb.td(a.Ga);a.V&&a.V.render?a.V.render(a,a.Ga,a.H,a.ra):E(a.H,function(a){a=HDa(this,a,this.ra);this.Bb.appendChild(this.Ga,a)},a);0==a.H.length?a.ie():(a.show(),
a.tc(),xja(a.Ga,!0))};$B.prototype.tc=function(){if(this.R&&this.ma){var a=this.Ma||this.R;var b=this.Ta?5:1;ZB(a,b,this.Ga,b^1,null,null,65)}};$B.prototype.Na=function(){this.Ga&&(vi(this.Ga,"click",this.ta,!1,this),vi(this.Ga,"mousedown",this.va,!1,this),vi(this.Ga,"mouseover",this.Ba,!1,this),this.Bb.Zd(this.Ga),this.Ga=null,this.W=!1);bg(this.ab);this.Nb=null;$B.ua.Na.call(this)};
var JDa=function(a,b,c){if(a.S||!a.Ka)if(3==b.nodeType){var d=null;va(c)&&1<c.length&&!a.S&&(d=yg(c,1));c=IDa(a,c);if(0!=c.length){var e=b.nodeValue,g=a.Da?new RegExp("\\b(?:"+c+")","gi"):new RegExp(c,"gi");c=[];for(var h=0,k=g.exec(e),n=0;k;)n++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(e);c.push(e.substring(h));if(1<c.length){d=a.S?n:1;for(e=0;e<d;e++)g=2*e,b.nodeValue=c[g],h=a.Bb.createElement("B"),h.className=a.Qa,a.Bb.appendChild(h,Ok(a.Bb,
c[g+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(Ok(a.Bb,""),h.nextSibling),b=h.nextSibling;b.nodeValue=yg(c,2*d).join("");a.Ka=!0}else d&&JDa(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,JDa(a,b,c),b=d},IDa=function(a,b){var c="";if(!b)return c;va(b)&&(b=hg(b,function(a){return!yb(Nb(a))}));a.S?va(b)?c=ig(b,Kb).join("|"):(c=xb(b),c=Kb(c),c=c.replace(/ /g,"|")):va(b)?c=0<b.length?Kb(b[0]):"":/^\W/.test(b)||(c=Kb(b));return c},HDa=function(a,b,c){var d=a.Bb.La("DIV",
{className:a.ka,id:zn(yn.Ja())});Rk(d,"option");a.V&&a.V.sy?a.V.sy(b,c,d):Hk(d,b.data.toString());c&&a.Ua&&(a.Ka=!1,JDa(a,d,c));Q(d,a.ka);a.U.push(d);return d},KDa=function(a,b){for(;b&&b!=a.Ga&&!qm(b,a.ka);)b=b.parentNode;return b?eg(a.U,b):-1};$B.prototype.ta=function(a){var b=KDa(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.H[b].id});a.uc()};$B.prototype.va=function(a){a.uc();a.preventDefault()}; $B.prototype.Ba=function(a){a=KDa(this,a.target);0<=a&&!(300>t()-this.Fa)&&this.dispatchEvent({type:"hilite",row:this.H[a].id})};var LDa=function(){};LDa.prototype.render=function(){};LDa.prototype.sy=function(){};
var MDa=function(a){a=a||{};return M('<img class="'+P("Bz112c")+(a.hb?" "+P(a.hb):"")+'"><div class="'+P("fmcmS")+'">'+N(a.text)+"</div>")};var aC=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};aC.prototype.clone=function(){return new aC(this.start,this.end)};aC.prototype.getLength=function(){return this.end-this.start};var bC=function(a,b){return a.start<=b&&a.end>=b};var cC=function(a,b,c,d){A.call(this);d=d||150;this.U=null!=c?c:!0;this.W=a||",;";this.Da=this.W.substring(0,1);a=this.U?"[\\s"+this.W+"]+":"[\\s]+";this.Ba=new RegExp("^"+a+"|"+a+"$","g");this.Ua=new RegExp("\\s*["+this.W+"]$");this.ra=b||"";this.Qa=this.U;this.S=0<d?new Yk(d):null;this.R=new Am(this);this.$=new Am(this);this.V=new Im;this.ta=-1};v(cC,A);var NDa=(zh||Ah)&&!wh("533.17.9");f=cC.prototype;f.OG=!0;f.oG=!0;f.nG=!0;f.Uu=null;f.Bd=null;f.xw="";f.zk=!1;f.xy=!1;f.getValue=function(){return this.Bd.value};
f.yb=function(a){this.Bd.value=a};f.setCursorPosition=function(a){xBa(this.Bd,a);zBa(this.Bd,a)};var PDa=function(a,b){Dk(b)&&(Rk(b,"combobox"),Tk(b,"autocomplete","list"));a.R.listen(b,"focus",a.ma);a.R.listen(b,"blur",a.ww);a.Bd||(a.$.listen(b,"keydown",a.mF),Dk(b)&&Mk(fk(b))==b&&ODa(a,b))};cC.prototype.Fa=function(a){for(var b=0;b<arguments.length;b++)PDa(this,arguments[b])};
cC.prototype.Ka=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Dk(c)&&(c.removeAttribute("role"),Uk(c,"autocomplete"));c==this.Bd&&this.ww();this.R.$a(c,"focus",this.ma);this.R.$a(c,"blur",this.ww);this.Bd||this.$.$a(c,"keydown",this.mF)}};
cC.prototype.Ut=function(a,b){if(this.Bd){var c=a.toString();if(p(b)?b:this.U){if(b=QDa(this,this.getValue(),yBa(this.Bd)[0]),a=RDa(this,this.getValue()),this.Ua.test(c)||(c=c.replace(/[\s\xa0]+$/,"")+this.Da),this.OG&&(0==b||yb(a[b-1])||(c=" "+c),b==a.length-1&&(c+=" ")),c!=a[b]){a[b]=c;c=this.Bd;(rh||oh&&wh("9"))&&c.blur();c.value=a.join("");for(var d=0,e=0;e<=b;e++)d+=a[e].length;c.focus();this.setCursorPosition(d)}}else this.yb(c);this.xy=!0}return!1};
cC.prototype.Na=function(){cC.ua.Na.call(this);null!=this.Uu&&window.clearTimeout(this.Uu);this.R.dispose();delete this.R;this.$.dispose();this.V.dispose();bg(this.S)};var SDa=function(a){a.S?a.S.setInterval(500):a.S=new Yk(500)};
cC.prototype.Dd=function(a){switch(a.keyCode){case 40:if(dB(this.H))return kDa(this.H),a.preventDefault(),!0;if(!this.U)return this.update(!0),a.preventDefault(),!0;break;case 38:if(dB(this.H))return lDa(this.H),a.preventDefault(),!0;break;case 9:if(!dB(this.H)||a.shiftKey)this.H.ie();else if(this.update(),LB(this.H)&&this.Qa)return a.preventDefault(),!0;break;case 13:if(dB(this.H)){if(this.update(),LB(this.H))return a.preventDefault(),a.uc(),!0}else this.H.ie();break;case 27:if(dB(this.H))return this.H.ie(),
a.preventDefault(),a.uc(),!0;break;case 229:if(!this.zk)return this.zk||(this.R.listen(this.Bd,"keyup",this.oF),this.R.listen(this.Bd,"keypress",this.nF),this.zk=!0),!0}return TDa(this,a)};var TDa=function(a,b){var c=a.U&&b.R&&-1!=a.W.indexOf(String.fromCharCode(b.R));a.oG&&c&&a.update();return a.nG&&c&&LB(a.H)?(b.preventDefault(),!0):!1};cC.prototype.Ma=function(){return!1};cC.prototype.ma=function(a){ODa(this,a.target||null)};
var ODa=function(a,b){a.$.removeAll();a.H&&iDa(a.H);b!=a.Bd&&(a.Bd=b,a.S&&(a.S.start(),a.R.listen(a.S,"tick",a.AC)),a.xw=a.getValue(),Hm(a.V,a.Bd),a.R.listen(a.V,"key",a.yC),a.R.listen(a.Bd,"mousedown",a.zC),oh&&a.R.listen(a.Bd,"keypress",a.va))};f=cC.prototype;f.ww=function(){NDa?this.Uu=window.setTimeout(r(this.BF,this),0):this.BF()};
f.BF=function(){this.Bd&&(this.R.$a(this.V,"key",this.yC),Jm(this.V),this.R.$a(this.Bd,"keyup",this.Ma),this.R.$a(this.Bd,"mousedown",this.zC),oh&&this.R.$a(this.Bd,"keypress",this.va),this.zk&&UDa(this),this.Bd=null,this.S&&(this.S.stop(),this.R.$a(this.S,"tick",this.AC)),this.H&&jDa(this.H))};f.AC=function(){this.update()};f.mF=function(a){this.ma(a)};f.yC=function(a){this.ta=a.keyCode;this.H&&this.Dd(a)};f.nF=function(){this.zk&&229!=this.ta&&UDa(this)};
f.oF=function(a){this.zk&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&UDa(this)};f.zC=function(){};var UDa=function(a){a.zk&&(a.zk=!1,a.R.$a(a.Bd,"keypress",a.nF),a.R.$a(a.Bd,"keyup",a.oF))};cC.prototype.va=function(a){TDa(this,a)};
cC.prototype.update=function(a){if(this.Bd&&(a||this.getValue()!=this.xw)){if(a||!this.xy){a=yBa(this.Bd)[0];var b=this.getValue();a=RDa(this,b)[QDa(this,b,a)];a=this.Ba?String(a).replace(this.Ba,""):a;this.H&&(this.H.$=this.Bd,this.H.setToken(a,this.getValue()))}this.xw=this.getValue()}this.xy=!1};
var QDa=function(a,b,c){a=RDa(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+=a[d].length,b=d;return b},RDa=function(a,b){if(!a.U)return[b];b=String(b).split("");for(var c=[],d=[],e=0,g=!1;e<b.length;e++)a.ra&&-1!=a.ra.indexOf(b[e])?(g||(c.push(d.join("")),d.length=0),d.push(b[e]),g=!g):g||-1==a.W.indexOf(b[e])?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};
var VDa=new aC(2,45),dC=function(a,b){cC.call(this);this.Ta=b;this.ka=cj(a,"G")};v(dC,cC);dC.prototype.Ut=function(a){if(a.Uq&&this.ka){var b=this.ka,c=a.sessionId,d={};d.suggestionClick=a.Uq;d.suggestionType="KEEP_SUGGEST";d.language=Nh(K(b.H));d.sessionId=c;d.deviceType="WEB";b.sendRequest("SUGGEST_"+Pb(),"v2/taskassist:suggest","POST",JSON.stringify(d),sa,!1)}this.Ta(a);return!1};
dC.prototype.Dd=function(a){if(9==a.keyCode){var b=this.H;if(dB(b))if(a.shiftKey){if(lDa(b))return a.preventDefault(),!0}else if(kDa(b))return a.preventDefault(),!0;return!1}return dC.ua.Dd.call(this,a)};var eC=function(a,b){J.call(this);this.$=a;this.H=new Am(this);B(this,this.H);this.Ic=b||null;this.W=this.S=this.R=null;(this.V=cj(this.$,"G"))&&this.H.listen(this.V,"Xa",this.ka);this.U=""};v(eC,J);
eC.prototype.Rt=function(a,b,c){if(a&&bC(VDa,a.length)&&!rj(this.$).U)if(this.R=a,b=Xg(Xr(this.Ic.Rd),function(a){a=a.H;return!!a&&"GROCERY_ITEM"==Rr(a)}),this.V&&this.Ic&&b){var d=[];Ug(Xr(this.Ic.Rd),function(a){(a=a.H)&&Rr(a)&&d.push(Rr(a))});this.W=c;WDa(this.V,a,d,this.U)}else c(a,XDa(this,a));else c(a,[])};
var XDa=function(a,b){if(!a.Ic||!a.S||!a.R)return[];var c=a.S.getId(),d=[];b=sra(a.Ic,b);Ug(b,function(a,b){2<=d.length||(a=hg(a,function(a){if(a==c)return!1;a=this.Ic.Eb(a);return!!a&&a.Pc},this),b=this.R+b.substring(this.R.length,b.length),qg(a)||d.push({jj:a,Nn:b,session:this.U}))},a);return d};eC.prototype.ka=function(a){if(this.W&&this.R&&this.R==a.token){var b=XDa(this,a.token);E(a.R.slice(0,5-b.length),function(a){b.push({Nn:a.text,Uq:a.Uq,sessionId:this.U})},this);this.W(a.token,b)}};
var fC=function(){};v(fC,LDa);fC.prototype.render=function(a,b,c,d){Q(b,"rymPhb-ztA2jd");var e=GBa("SCREEN_TOP_LEFT");e&&(b.style.top=e.y+20+"px",b.style.left=e.x+"px",b.style.maxHeight=window.innerHeight-e.y-30+"px");E(c,function(c){b.appendChild(HDa(a,c,d))})};fC.prototype.sy=function(a,b,c){a&&(Xk(c,(a.data.jj?"Checked Item":"Grocery Item")+(", "+a.data.Nn)),ym(c,MDa,{hb:a.data.jj?"barxie":"UeMvbe",text:a.data.Nn}))};
var gC=function(a){J.call(this);var b=this;this.R=a;this.H=[];this.S=[];this.U=this.V=!1;Ph(K(a))&&(a=(new Am(this)).listen(a.Ca().H,"sa",function(a){YDa(b,a.ET)}).listen(a.Ca().H,["ga","ha","ia"],function(a){YDa(b,[a.target.getId()])}),B(this,a))};l(gC,J);
var aEa=function(a,b){var c=a.H[a.H.length-1];if(c&&c.iE(b))bg(b);else{if(c=ZDa(a,a.H,b))xz(c),c.dispose();a.S.splice(0).forEach(function(a){return a.dispose()});var d=b.Ue();d&&L(function(){a.isDisposed()||pta(sj(a.R),d,function(){var c=a.H.indexOf(b);0<=c&&a.H.splice(c,1);$Da(a,b)},function(){return xz(b)})},0)}},hCa=function(a){var b=a.H.pop();b&&(nj(a.R).log(9315),$Da(a,b))},iCa=function(a){var b=a.S.pop();if(b)if(nj(a.R).log(9316),b.apply()){var c=ZDa(a,a.H,b);c&&(xz(c),c.dispose());a.R.Ca().getState().Vf()&&
!b.Ue()?al.Ja().speak("Action redone"):sj(a.R).show("Action redone",8)}else bg(b)},Lz=function(a){a.H.splice(0).forEach(function(a){return xz(a)});a.S.splice(0).forEach(function(a){return a.dispose()});bEa(a)},Qza=function(a,b,c){a.H.forEach(function(a){return zz(a,b,c)});a.S.forEach(function(a){return zz(a,b,c)})};gC.prototype.Of=function(){return!!this.H.length};gC.prototype.Nf=function(){return!!this.S.length};
var $Da=function(a,b){wz(b)?(mj(a.R).mb("Undo",b.Jd()),a.R.Ca().getState().Vf()&&!b.Ue()?al.Ja().speak("Action undone"):sj(a.R).show("Action undone",8),(a=ZDa(a,a.S,b))&&a.dispose()):bg(b)},ZDa=function(a,b,c){var d=null;50==b.length&&(d=b.shift());b.push(c);bEa(a);return d},YDa=function(a,b){var c=a.R.Ca(),d=c.getState().ma,e=d?c.H.S[d]:null;e&&(b=b.filter(function(a){return e.getId()==a||e.Eb(a)}),cEa(a.H,b).forEach(function(a){return xz(a)}),cEa(a.S,b).forEach(function(a){return a.dispose()}),
bEa(a))},cEa=function(a,b){var c=-1;b.forEach(function(b){for(var d=a.length-1;d>c;d--)if(a[d].Bh(b)){c=d;break}});return a.splice(0,c+1)},bEa=function(a){var b=!!a.H.length,c=!!a.S.length;if(a.V!=b||a.U!=c)a.V=b,a.U=c,a.dispatchEvent("gd")};gC.prototype.Na=function(){J.prototype.Na.call(this);cg(this.S.splice(0));cg(this.H.splice(0))};
var dEa=function(){var a=""+('<div class="'+P("IZ65Hb-zJtgdf-bF1uUb")+'">'+N(yAa({content:bm('<div class="'+P("IZ65Hb-zJtgdf-bF1uUb-bN97Pc")+'"><div class="'+P("IZ65Hb-zJtgdf-Bz112c")+'"></div><div class="'+P("IZ65Hb-zJtgdf-Ne3sFf")+'">Fix conflicting edits</div></div>')}))+"</div>");return M(a)};
var eEa=function(){var a=""+('<div class="'+P("EDlbXc-L9AdLc")+'"><div class="'+P("EDlbXc-L9AdLc-bN97Pc")+'"><div class="'+P("EDlbXc-x3Eknd-r4nke")+'">Collaborators</div><div class="'+P("EDlbXc-x3Eknd-bN97Pc")+'"><div class="'+P("EDlbXc-x3Eknd-rymPhb-haAclf")+'"><div class="'+P("EDlbXc-x3Eknd-rymPhb")+'"></div><div class="'+P("EDlbXc-x3Eknd-xhiy4")+" "+P("EDlbXc-x3Eknd")+'"><div class="'+P("EDlbXc-x3Eknd-xhiy4-Bz112c-VtOx3e")+'"><div class="'+P("EDlbXc-x3Eknd-xhiy4-Bz112c")+'"></div></div><input class="'+
P("Q0hgme-y4JFTd")+" "+P("EDlbXc-x3Eknd-xhiy4-fmcmS")+'" type="text">'+N(lm({hb:O(" EDlbXc-x3Eknd-xhiy4-htvI8d ")}))+'<div class="'+P("EDlbXc-x3Eknd-u0pjoe-Ne3sFf")+'"></div></div></div><div class="'+P("EDlbXc-x3Eknd-rymPhb-haAclf")+" "+P("CSNiXd-u0pjoe-haAclf")+'"><label class="'+P("EDlbXc-CSNiXd-wXCw2c-Ne3sFf")+'"></label>'+N(mm({hb:O(" EDlbXc-L9AdLc-Rsbfue-CSNiXd-gjmGub "),text:bm("Remove them")}))+'<div class="'+P("EDlbXc-x3Eknd-rymPhb")+'"></div></div></div></div><div class="'+P("EDlbXc-L9AdLc-yePe5c")+
'"><div class="'+P("EDlbXc-L9AdLc-vOkj6e")+'">'+N(om(null))+'</div><div class="'+P("EDlbXc-L9AdLc-jOfkMb")+'"></div>'+N(mm({hb:O(" EDlbXc-L9AdLc-IbE0S "),text:bm("Cancel")}))+N(mm({hb:O(" EDlbXc-L9AdLc-iib5kc "),text:bm("Save")}))+'</div><div class="'+P("EDlbXc-L9AdLc-wXCw2c")+'"></div></div>');return M(a)},fEa=function(){return M('<div class="'+P("EDlbXc-x3Eknd")+'"><div class="'+P("EDlbXc-x3Eknd-HiaYvf")+'"><div class="'+P("EDlbXc-x3Eknd-HiaYvf-bN97Pc")+'"></div></div><div class="'+P("EDlbXc-x3Eknd-fmcmS-haAclf")+
'"><div class="'+P("EDlbXc-x3Eknd-fmcmS-k77Iif-haAclf")+'"><span class="'+P("EDlbXc-x3Eknd-fmcmS-k77Iif")+'"></span><span class="'+P("EDlbXc-x3Eknd-fmcmS-k77Iif-UjZuef")+'"></span></div><div class="'+P("EDlbXc-x3Eknd-fmcmS-K4efff")+'"></div></div>'+N(lm({hb:O(" EDlbXc-x3Eknd-VkLyEc ")}))+"</div>")},gEa=function(){return M('<div class="'+P("EDlbXc-ldDtVd")+'"><div class="'+P("EDlbXc-ldDtVd-HiaYvf")+'"><div class="'+P("EDlbXc-ldDtVd-HiaYvf-bN97Pc")+'"></div></div><div class="'+P("EDlbXc-ldDtVd-fmcmS-haAclf")+ '"><div class="'+P("EDlbXc-ldDtVd-fmcmS-k77Iif-haAclf")+'"><span class="'+P("EDlbXc-ldDtVd-fmcmS-k77Iif")+'"></span></div><div class="'+P("EDlbXc-ldDtVd-fmcmS-K4efff")+'"></div></div>'+N(lm({hb:O(" EDlbXc-ldDtVd-htvI8d-XmE8U-Bz112c ")}))+"</div>")};
var hC=function(a,b){hB.call(this,a,b)};v(hC,hB);f=hC.prototype;f.Sh=null;f.xc=null;f.Ha=function(){hC.ua.Ha.call(this);Q(this.ha(),"RFnRab-jcJoPe")};f.xg=function(a){hC.ua.xg.call(this,a);a&&this.setVisible(!1)};f.ne=function(a){this.xc=a};f.setVisible=function(a,b){this.dispatchEvent(a?"show":"hide");this.Sh&&(Zk(this.Sh),this.Sh=null);var c=a?0:500;b||0==c?this.re(a,b):this.Sh=L(r(this.re,this,a),c,this)};var hEa=function(a,b){return a.Sa()&&!!a.xc&&a.xc.getId()==b};
hC.prototype.re=function(a,b){this.Sh&&(Zk(this.Sh),this.Sh=null);a?S(this.ha(),!0):this.xc=null;um(this.ha(),"RFnRab-jcJoPe-ZiwkRe",a);b?this.Dc(a):this.Sh=L(r(this.Dc,this,a),250,this)};hC.prototype.Dc=function(a){S(this.ha(),a);a||this.getParent()||this.Lb(null)};hC.prototype.Na=function(){hC.ua.Na.call(this);this.Sh&&(Zk(this.Sh),this.Sh=null)};
var iC=function(a,b,c,d,e,g,h){An.call(this);this.ka=a;c&&!d&&(this.S=new co,this.Ia(this.S));this.V=b;this.H=c||null;this.R=d||null;this.ma=e||null;this.W=g||null;this.R&&(this.U=new co,this.Ia(this.U));this.$=h||!1};v(iC,An);var iEa=null,jEa=0,kEa="",lEa=function(a,b,c,d,e,g,h,k,n,q){iEa&&e||e&&e!=kEa&&36E5>t()-jEa||(a=new iC(a,b,e,h,k,n,q),B(d,a),g?Bn(a,c):a.render(c),e&&(ag(a,function(){iEa=null;jEa=t()}),kEa=e,iEa=a))};f=iC.prototype;
f.La=function(){this.Ga="function"==typeof this.V?R(this.V):R(zAa,{message:this.V,ix:!!this.H&&!this.R,zT:!!this.R,LG:this.ma})};
f.Ha=function(){iC.ua.Ha.call(this);this.S&&(this.S.Ra(this.ha().querySelector(".Ng57nc-TvD9Pc-LgbsSe")),this.Ea().listen(this.S,"action",this.Kx));this.U&&(this.U.Ra(this.ha().querySelector(".Ng57nc-nUpftc-LgbsSe")),this.Ea().listen(this.U,"action",this.nT));var a=this.ha().querySelector(".Q0hgme-Hnhb3b-hSRGPd");a&&Dm(this.Ea(),a,Em,this.XU);L(function(){this.ha()&&Q(this.ha(),"ti6hGc")},0,this);this.$&&L(function(){this.hide()},5E3,this)};
f.hide=function(){this.isDisposed()||(this.Ea().Jb(this.ha(),ki,this.dispose),sm(this.ha(),"ti6hGc"))};f.Kx=function(){if(this.H){var a=Ar.Ja();Gr(a,this.H);"keep_it_snack_cc"==this.H&&Gr(a,"keep_it_cc");this.hide()}};f.XU=function(){mj(this.ka).mb("KeepItEngagement","Snackbar Link Clicked");this.Kx()};f.nT=function(){this.R&&(window.open(this.R,"_blank"),this.W&&this.W(),this.H?this.Kx():this.hide())};
var jC=function(a){J.call(this);this.R=null;this.Ga=a;a=oh||ph||sh&&!wh("531")&&"TEXTAREA"==a.tagName;this.H=new Am(this);this.H.listen(this.Ga,a?["keydown","paste","cut","drop","input"]:"input",this)};v(jC,J);
jC.prototype.handleEvent=function(a){if("input"==a.type)oh&&wh(10)&&0==a.keyCode&&0==a.R||(mEa(this),this.dispatchEvent(nEa(a)));else if("keydown"!=a.type||cja(a)){var b="keydown"==a.type?this.Ga.value:null;oh&&229==a.keyCode&&(b=null);var c=nEa(a);mEa(this);this.R=L(function(){this.R=null;this.Ga.value!=b&&this.dispatchEvent(c)},0,this)}};var mEa=function(a){null!=a.R&&(Zk(a.R),a.R=null)},nEa=function(a){a=new li(a.H);a.type="input";return a}; jC.prototype.Na=function(){jC.ua.Na.call(this);this.H.dispose();mEa(this);delete this.Ga};
var kC=function(a,b){this.R=b||"";this.H=a||""},oEa=/"/g,pEa=/\\"/g,qEa=/\\/g,rEa=/\\\\/g,sEa=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/;kC.prototype.getName=function(){return this.R};kC.prototype.le=function(a){this.R=a};kC.prototype.toString=function(){var a=this.getName();a=a.replace(oEa,"");a:{var b=a;for(var c=0;13>c;c++)if(Gb(b,'()<>@:\\".[],;'[c])){b=!0;break a}b=!1}b&&(a='"'+a.replace(qEa,"\\\\")+'"');return""==a?this.H:""==this.H?a:a+" <"+this.H+">"};
var uEa=function(a){for(var b="",c="",d=0;d<a.length;){var e=a;var g=d,h=e.charAt(g),k='"<(['.indexOf(h);if(-1==k||tEa(e,g))e=h;else{k='">)]'.charAt(k);for(var n=e.indexOf(k,g+1);0<=n&&tEa(e,n);)n=e.indexOf(k,n+1);e=0<=n?e.substring(g,n+1):h}"<"==e.charAt(0)&&-1!=e.indexOf(">")?(c=e.indexOf(">"),c=e.substring(1,c)):""==c&&(b+=e);d+=e.length}""==c&&-1!=b.indexOf("@")&&(c=b,b="");b=xb(b);b=Hb(b,"'");b=Hb(b,'"');b=b.replace(pEa,'"');b=b.replace(rEa,"\\");c=xb(c);return new kC(c,b)},tEa=function(a,b){if('"'!= a.charAt(b))return!1;var c=0;for(--b;0<=b&&"\\"==a.charAt(b);b--)c++;return 0!=c%2};
var lC=function(a,b){An.call(this,b);this.R=a||""},vEa;v(lC,An);lC.prototype.S=null;var mC=function(){null!=vEa||(vEa="placeholder"in tk("INPUT"));return vEa};f=lC.prototype;f.$o=!1;f.La=function(){this.Ga=this.Aa().La("INPUT",{type:"text"})};f.Ub=function(a){lC.ua.Ub.call(this,a);this.R||(this.R=a.getAttribute("label")||"");Mk(fk(a))==a&&(this.$o=!0,a=this.ha(),sm(a,"V67aGc-YPqjbf-V67aGc"));mC()&&(this.ha().placeholder=this.R);a=this.ha();Tk(a,"label",this.R)};
f.Ha=function(){lC.ua.Ha.call(this);var a=new Am(this);a.listen(this.ha(),"focus",this.ow);a.listen(this.ha(),"blur",this.PN);if(mC())this.H=a;else{rh&&a.listen(this.ha(),["keypress","keydown","keyup"],this.TP);var b=fk(this.ha());a.listen(rk(b),"load",this.tT);this.H=a;wEa(this)}nC(this);this.ha().H=this};f.vc=function(){lC.ua.vc.call(this);this.H&&(this.H.dispose(),this.H=null);this.ha().H=null};var wEa=function(a){!a.W&&a.H&&a.ha().form&&(a.H.listen(a.ha().form,"submit",a.cQ),a.W=!0)};f=lC.prototype;
f.Na=function(){lC.ua.Na.call(this);this.H&&(this.H.dispose(),this.H=null)};f.ow=function(){this.$o=!0;var a=this.ha();sm(a,"V67aGc-YPqjbf-V67aGc");if(!mC()&&!oC(this)&&!this.U){var b=this;a=function(){b.ha()&&(b.ha().value="")};oh?L(a,10):a()}};f.PN=function(){mC()||(this.H.$a(this.ha(),"click",this.ow),this.S=null);this.$o=!1;nC(this)};f.TP=function(a){27==a.keyCode&&("keydown"==a.type?this.S=this.ha().value:"keypress"==a.type?this.ha().value=this.S:"keyup"==a.type&&(this.S=null),a.preventDefault())};
f.cQ=function(){oC(this)||(this.ha().value="",L(this.WN,10,this))};f.WN=function(){oC(this)||(this.ha().value=this.R)};f.tT=function(){nC(this)};var oC=function(a){return!!a.ha()&&""!=a.ha().value&&a.ha().value!=a.R};lC.prototype.clear=function(){this.ha().value="";null!=this.S&&(this.S="")};lC.prototype.reset=function(){oC(this)&&(this.clear(),nC(this))};lC.prototype.yb=function(a){null!=this.S&&(this.S=a);this.ha().value=a;nC(this)};
lC.prototype.getValue=function(){return null!=this.S?this.S:oC(this)?this.ha().value:""};var nC=function(a){var b=a.ha();mC()?a.ha().placeholder!=a.R&&(a.ha().placeholder=a.R):wEa(a);Tk(b,"label",a.R);oC(a)?(b=a.ha(),sm(b,"V67aGc-YPqjbf-V67aGc")):(a.U||a.$o||(b=a.ha(),Q(b,"V67aGc-YPqjbf-V67aGc")),mC()||L(a.$,10,a))},pC=function(a){var b=oC(a);a.U=!0;a.ha().focus();b||mC()||(a.ha().value=a.R);a.ha().select();mC()||(a.H&&a.H.Jb(a.ha(),"click",a.ow),L(a.V,10,a))};
lC.prototype.setEnabled=function(a){this.ha().disabled=!a;var b=this.ha();um(b,"V67aGc-YPqjbf-V67aGc-OWB6Me",!a)};lC.prototype.isEnabled=function(){return!this.ha().disabled};lC.prototype.V=function(){this.U=!1};lC.prototype.$=function(){!this.ha()||oC(this)||this.$o||(this.ha().value=this.R)};
var qC=function(a,b,c){hB.call(this,b,c);this.hd(a);this.wg(a.getEmail());this.H=new go("Delete","nd",c);this.Ia(this.H)};v(qC,hB);qC.prototype.La=function(){this.Ga=zm(fEa);this.U=this.ub("EDlbXc-x3Eknd-fmcmS-k77Iif");this.S=this.ub("EDlbXc-x3Eknd-fmcmS-k77Iif-UjZuef");this.V=this.ub("EDlbXc-x3Eknd-fmcmS-K4efff");this.R=this.ub("EDlbXc-x3Eknd-HiaYvf-bN97Pc")};qC.prototype.Ha=function(){qC.ua.Ha.call(this);this.H.Ra(this.ub("EDlbXc-x3Eknd-VkLyEc"));this.update()};
qC.prototype.update=function(){var a=this.Ca(),b=a.getEmail(),c=a.Ve(),d=c||b;this.Aa().R(this.U,d);c&&!It(a)&&this.Aa().R(this.V,b);b=a.nf()?"(Owner)":null;S(this.S,!!b);b&&Hk(this.S,b);um(this.ha(),"uxVfW-JNdkSc",Ht(a));um(this.ha(),"uxVfW-qY47rf-JNdkSc",Jt(a));if(Ht(a)||It(a))this.R.style.backgroundImage="";else if(b=Mt(a))this.R.style.backgroundImage=b;this.H.setVisible(!a.nf())};
var rC=function(a,b,c){hB.call(this,b,c);this.hd(a);this.wg(a.getEmail());this.H=new go("Add collaborator");this.Ia(this.H)};v(rC,hB);rC.prototype.La=function(){this.Ga=zm(gEa);this.U=this.ub("EDlbXc-ldDtVd-fmcmS-k77Iif");this.R=this.ub("EDlbXc-ldDtVd-HiaYvf-bN97Pc")};rC.prototype.Ha=function(){rC.ua.Ha.call(this);var a=this.ha();this.H.Ra(a.querySelector(".EDlbXc-ldDtVd-htvI8d-XmE8U-Bz112c"));Dm(this.Ea(),a,Em,this.S);this.update()};rC.prototype.S=function(){this.dispatchEvent("od")};
rC.prototype.update=function(){var a=this.Ca();this.Aa().R(this.U,a.Ve()||a.getEmail());um(this.ha(),"uxVfW-JNdkSc",Ht(a));um(this.ha(),"uxVfW-qY47rf-JNdkSc",Jt(a));if(Ht(a)||It(a))this.R.style.backgroundImage="";else if(a=Mt(a))this.R.style.backgroundImage=a};
var sC=function(a,b){hB.call(this,a,b);this.Hb=this.S=this.Da=null;this.Id=0;this.jc=this.Qa=this.Xb=this.Ta=this.rb=this.Qe=this.ab=null;this.U={};this.va={};this.Ba=[];this.Fa="";this.W=null;this.R=new lC("Person or email to share with");this.Ia(this.R);this.Ua=new go("Add collaborator");this.Ia(this.Ua);this.Va=new co;this.Ia(this.Va);this.Ab=new co;this.Ia(this.Ab);this.Ib=new co;this.Ia(this.Ib);this.Ma=cj(a,"l");this.$={};this.ma=!1;this.H=0;Oh(K(a))&&(this.ta=cj(a,"e"));this.wb=a.Ca().getState();
this.ef=a.Ca().H;this.V=!1;this.nb=new Vn(this.AT,5E3,this)};v(sC,hC);var xEa=new Set([1,2,4,6,8]),yEa=new Set([3,0]);f=sC.prototype;
f.La=function(){this.Ga=R(eEa);var a=this.ha();this.Da=a.querySelector(".EDlbXc-x3Eknd-rymPhb");this.Qa=a.querySelector(".CSNiXd-u0pjoe-haAclf");this.Xb=this.Qa.querySelector(".EDlbXc-x3Eknd-rymPhb");this.jc=a.querySelector(".EDlbXc-CSNiXd-wXCw2c-Ne3sFf");this.S=a.querySelector(".EDlbXc-x3Eknd-bN97Pc");this.Hb=a.querySelector(".EDlbXc-L9AdLc-yePe5c");this.ab=a.querySelector(".EDlbXc-L9AdLc-jOfkMb");this.Qe=a.querySelector(".EDlbXc-L9AdLc-vOkj6e");this.Ta=a.querySelector(".EDlbXc-x3Eknd-u0pjoe-Ne3sFf");
this.rb=a.querySelector(".EDlbXc-L9AdLc-wXCw2c")};
f.Ha=function(){sC.ua.Ha.call(this);var a=this.ha();this.R.Ra(a.querySelector(".EDlbXc-x3Eknd-xhiy4-fmcmS"));this.Ua.Ra(a.querySelector(".EDlbXc-x3Eknd-xhiy4-htvI8d"));this.Va.Ra(a.querySelector(".EDlbXc-L9AdLc-iib5kc"));this.Ab.Ra(a.querySelector(".EDlbXc-L9AdLc-IbE0S"));this.Ib.Ra(a.querySelector(".EDlbXc-L9AdLc-Rsbfue-CSNiXd-gjmGub"));a=new cC;SDa(a);var b=new $B(this.ha());b.ma=!0;b.S=!0;this.R.ha().setAttribute("maxlength","320");this.ra=new JB(this,b,a);a.H=this.ra;this.ra.ra(this.R.ha());a=
new jC(this.R.ha());V(V(V(V(V(V(V(V(V(V(V(V(V(this,this.wb,"qa",this.Nx),this.Ua,"action",this.Sm),this.Va,"action",this.xt),this.Ab,"action",r(this.wc,this,!1)),this.Ib,"action",this.ZY),this,"nd",this.BV),this,"od",this.CS),this.ra,"update",this.dO),this.R.ha(),"keydown",this.DV),this.R.ha(),"keyup",this.bz),a,"input",this.iR),this.S,"scroll",this.ka),Ar.Ja(),"Ja",this.xk);this.Ma&&V(this,this.Ma,"Oa",this.eO);this.ta&&V(V(this,this.ta,"ld",this.mO),this.ta,"md",this.nO);mB(this,nka,this.CV,this.R.ha());
this.xk();this.Nx()};f.ne=function(a){this.xc!=a&&(this.Fa||(this.Fa=this.getContext().Ca().R.getName().toLowerCase()),kB(kB(this,this.xc,"Ea",this.SE),this.xc,"ua",this.qu),sC.ua.ne.call(this,a),zEa(this),this.Nx(),V(V(this,a,"Ea",this.SE),a,"ua",this.qu),fh(this.$),Ug(a.R,function(a){var b=a.Qc;if(!b||"M_RM"!=b.H&&"M_WR"!=b.H)b=b?b.getType():null,this.$[a.getEmail()]=b},this),Ug(this.U,function(a,c){AEa(this,c);BEa(this)},this),this.update(),this.qu())};f.Di=function(a){this.Id=a};
f.setVisible=function(a,b){sC.ua.setVisible.call(this,a,b);a?(tC(this),this.ka(),this.bz(),this.R.ha().focus()):(Vja(this.nb),this.R.ha()&&this.R.clear())};f.xg=function(a){sC.ua.xg.call(this,a);this.xk()};
f.update=function(){if(this.xc){var a=jh(this.U),b=!1;Ug(this.xc.R,r(function(c){var d=c.getEmail(),e=c.nf();ah(this.U,d)?(this.U[d].update(),b=b||e,gh(a,d)):Kt(c)||(b=b||e,CEa(this,c,e?0:wb(this.Fa,d)?b?1:0:void 0))},this));Ug(a,r(function(a){var c=a.Ca();if(c.Qc){var d=c.Qc.getType();d="WR"==d||"M_WR"==d}else d=!1;d?b=b||c.nf():AEa(this,a.getId())},this));if(!b){var c=era(this.xc,this.Fa,"O");CEa(this,c,0)}if(K(this.getContext()).H.n_efs&&Dt.Ja().H){if(null!=this.ha()&&!Fr(Ar.Ja(),"family_sharing_cc")){c=
"https://myaccount.google.com/family";var d=Ih(K(this.getContext()));d&&(c=Dl(Hl(c),"authuser",d).toString());lEa(this.getContext(),"Family Group available.",this.Ga,this,"family_sharing_cc",void 0,c,void 0)}dh(this.U,function(a){return Jt(a.Ca())})?BEa(this):DEa(this)}EEa(this)}};
f.Rt=function(a,b,c){if(a&&this.Ma){this.Jc=c;b=this.Ma;c=r(b.W,b,a);var d="autocomplete_"+a+"_"+Pb();Lo("plus/v2whitelisted/people/autocomplete",a);var e={};e.query=a;e.legacyClient="keep";b.sendRequest(d,"plus/v2whitelisted/people/autocomplete","GET","",c,!0,null,e);mj(b.context).mb("Sharing","sendAutocompleteRequest")}else c(a,[])};
f.xt=function(){if(!this.Sa()||!this.xc)return!0;var a=this.Sm();if(a)return Vka(Bo.Ja(),a,r(this.wt,this),r(this.wt,this)),this.ma=!0,this.S.scrollTop=this.S.scrollHeight-this.S.offsetHeight,!1;if(this.xc.$()&&3!=this.H)return this.V=!0,EEa(this),!1;if(Xg(this.xc.R,function(a){var b=a.Qc;return a.getEmail()==this.Fa&&!!b&&"M_RM"==b.getType()},this))return a=(new qz("{count, plural, =1 {This note will no longer be shared with you.}other {These notes will no longer be shared with you.}}")).format({count:1}),
Bo.Ja().show(a,"OK","Cancel",r(this.cP,this),r(this.wt,this)),this.ma=!0,!1;FEa(this,!1);return!0};
var FEa=function(a,b){var c=!1;Ug(a.xc.R,function(a){var b=a.getEmail(),d=a.Qc;d&&(d=d.getType(),"M_WR"==d?ah(this.$,b)&&"RM"!=this.$[b]?a.Qc=null:(c=!0,a.Qc?a.Qc.H="WR":(b=new Et(a.getEmail(),"WR"),a.Qc=b)):"M_RM"==d&&(ah(this.$,b)?(c=!0,a.Qc?a.Qc.H="RM":(b=new Et(a.getEmail(),"RM"),a.Qc=b)):(a=this.xc,gh(a.R,b),$t(a,!1))))},a);c&&a.xc.Db();if(!b&&a.xc.$()){var d=pj(a.getContext());d&&d.start(a.xc)}a.dispatchEvent(new CAa(b));nj(a.getContext()).log(9048)};
sC.prototype.cancel=function(){return this.Sa()&&this.xc&&GEa(this)?(Bo.Ja().show("Discard changes? Your changes won\u2019t be saved.","Discard","Cancel",r(this.qO,this),r(this.wt,this)),this.ma=!0):!1};var GEa=function(a){return a.xc?Xg(a.xc.R,function(a){var b=a.getEmail();b=this.$[b]||null;var d=a.Qc?a.Qc.getType():null;return a.nf()?!1:b!=d},a):!1};
sC.prototype.wc=function(a){if(this.xc){var b=this.xc.R;Ug(b,function(a,d){ah(this.$,d)?(d=this.$[d])&&a.Qc?a.Qc.H=d:a.Qc=null:a.Qc&&gh(b,d)},this);this.R.clear();this.dispatchEvent(new CAa(a));nj(this.getContext()).log(9049)}};
var CEa=function(a,b,c){b=new qC(b,a.getContext(),a.Aa());a.Ia(b);a.U[b.getId()]=b;p(c)&&a.Da.children[c]?Bn(b,a.Da.children[c]):null!=a.W?Bn(b,a.W.ha()):b.render(a.Da);tC(a);a.ka()},AEa=function(a,b){var c=a.U[b];c&&(a.removeChild(c,!0),delete a.U[b],delete a.va[b],bg(c));tC(a);a.ka()},BEa=function(a){a.W&&(a.removeChild(a.W,!0),bg(a.W),a.W=null);tC(a);a.ka()},DEa=function(a){if(!a.W){var b=Dt.Ja();if(b.H){var c=Gt(b.getEmail(),"W","GROUP","FAMILY");c.Hn(b.Ve());b=new rC(c,a.getContext(),a.Aa());
a.Ia(b);a.W=b;b.render(a.Da);tC(a);a.ka()}}},tC=function(a){var b=ok(),c=a.Hb.clientHeight,d=a.ha().clientHeight-a.S.clientHeight-c;a.S.style.maxHeight=Math.min(b.height-a.Id-d-c-60,400)+"px"};sC.prototype.ka=function(){um(this.Hb,"vUSp5d",this.S.scrollTop+this.S.offsetHeight<this.S.scrollHeight)};
var EEa=function(a){if(a.xc&&3!=a.H)if(xEa.has(a.wb.getState()))a.H=5,a.xk();else if(a.xc.$()){var b=a.xc.getId(),c=pj(a.getContext()),d=Oh(K(a.getContext()));d&&c&&uC(c,b)?a.H=3:!a.xc.Zb&&(0==a.H||4==a.H&&a.V)?(a.H=1,a.xc.Db()):a.xc.Zb&&(0==a.H||1==a.H||4==a.H&&a.V)&&(d?(a.H=2,a.ta&&a.ta.create(a.xc)):b==a.xc.getId()&&(a.H=3,a.V&&(a.V=!1,a.xt())));a.xk()}},zEa=function(a){a.H=Du(a.xc)||!Oh(K(a.getContext()))&&a.xc.Zb?3:0};f=sC.prototype;
f.Sm=function(a,b,c,d){Vja(this.nb);a=b||Ab(this.R.getValue());if(yb(a))return null;a=a.toLowerCase();var e=null;50==Yg(Vg(this.xc.R,function(a){return!Kt(a)}))?e="This note has been shared with the maximum number of people.":ah(this.U,a)||ah(this.va,a)?e="This email already exists":sEa.test(uEa(a).H)||(e="This email isn\u2019t valid");if(e)return Hk(this.Ta,e),S(this.Ta,!0),pC(this.R),this.nb.start(),al.Ja().speak(e),e;"FAMILY"===d&&BEa(this);c=iu(this.xc,a)||era(this.xc,a,"W",c,d);Nqa(c);CEa(this,
c);b||this.R.clear();this.bz();EEa(this);this.S.scrollTop=this.S.scrollHeight-this.S.offsetHeight;pC(this.R);b="Added "+(c.Ve()||c.getEmail());al.Ja().speak(b);b=this.getContext();mj(b).mb("Sharing","addSharee");nj(b).log(9046);return null};
f.BV=function(a){var b=a.target.getParent();a=b.getId();b=b.Ca();if(b.Qc)b.Qc.H="M_RM";else{var c=new Et(b.getEmail(),"M_RM");b.Qc=c}AEa(this,a);Jt(b)&&(nj(this.getContext()).log(9319),DEa(this));pC(this.R);a="Removed "+(b.Ve()||b.getEmail());al.Ja().speak(a);a=this.getContext();mj(a).mb("Sharing","removeSharee");nj(a).log(9047)};f.CS=function(a){a=a.target.Ca();this.xc&&!ah(this.U,a.getEmail())&&(this.Sm(0,a.getEmail(),"GROUP","FAMILY"),nj(this.getContext()).log(9318))};
f.ZY=function(){E(this.Ba,function(a){(a=a.H)&&lra(this.xc,a)},this);this.qu()};f.qO=function(a){a&&this.wc(!0);this.ma=!1};f.cP=function(a){a&&FEa(this,!0);this.ma=!1};f.wt=function(){this.ma=!1};f.CV=function(){this.ra&&dB(this.ra)&&LB(this.ra);this.Sm()};f.eO=function(a){if(this.Jc){var b=ig(a.results,function(a){var b=a.displayName||a.email;a=a.email;if(b&&a)return Lo("%s <%s>",b,a)},this);ada(b,function(a){return!a});this.Jc(a.token,b)}};f.dO=function(a){a.row&&(a=uEa(a.row).H)&&this.R.yb(a)};
f.bz=function(){S(this.Ua.ha(),!!this.R.getValue())};f.xk=function(){var a=(1==this.H||2==this.H)&&this.V,b=5==this.H,c=6==this.H,d=4==this.H&&this.V,e=!Dr(Ar.Ja());S(this.ab,a||b||d||c||e);var g="";a?g="Saving...":b?g="Can\u2019t share offline":c?g="You can share when Keep finishes loading.":d?g="Can\u2019t share your note. Try again later.":e&&(g="Can't share because sharing is turned off.");Hk(this.ab,g);um(this.ab,"PrY1nf",b);S(this.Qe,a);this.Va.setEnabled(!(a||b||c||this.Ce()||e))};
f.qu=function(){var a=this;if(this.xc){wk(this.rb);Ug(this.xc.ma,function(a,b){"AB"==b&&(a=tk("DIV"),Hk(a,"This note has been flagged as inappropriate and can\u2019t be shared."),this.rb.appendChild(a))},this);Ug(this.va,function(a){this.removeChild(a,!0);bg(a)},this);fh(this.va);this.Ba=[];Ug(this.xc.ma,function(a){Vs(a)&&this.Ba.push(a)},this);var b=!1,c=!1,d=new Set;this.Ba.forEach(function(a){b=b||"OAD"==a.H;c=c||"SRD"==a.H;a.ii.forEach(function(a){return d.add(a)})});d.forEach(function(b){var c=
new qC(Gt(b,"W"),a.getContext(),a.Aa()),d=a.Eb(b);d&&a.removeChild(d,!0);a.Ia(c);a.va[b]=c;c.render(a.Xb)});Hk(this.jc,b&&c?"The following users can\u2019t be shared with because either their admin disabled sharing into their domain, or your admin disabled sharing out of your domain.":b?"The following users can\u2019t be shared with because your admin disabled sharing out of your domain.":"The following users can\u2019t be shared with because their admin disabled sharing into their domain.");S(this.Qa,
!qg(this.Ba));tC(this);this.ka()}else S(this.Qa,!1)};f.AT=function(){S(this.Ta,!1)};f.DV=function(a){188==a.keyCode&&(a.preventDefault(),this.Sm())};f.iR=function(){var a=this.R.ha();a&&yj(a,a.value)};f.SE=function(a){a=a.target.getEmail();this.U[a]&&this.U[a].update()};f.mO=function(a){this.xc&&(a.target.getId()==this.xc.getId()&&(this.H=3,this.V&&(this.V=!1,this.xt())),this.xk())};f.nO=function(a){this.xc&&(a.target.getId()==this.xc.getId()&&(this.H=4),this.xk(),this.V=!1)}; f.Nx=function(){if(this.xc){var a=this.xc,b=this.wb.getState();xEa.has(b)?this.H=5:!Oh(K(this.getContext()))||Du(a)||a.Ba||!yEa.has(b)&&this.ef.V?5!=this.H&&6!=this.H||zEa(this):this.H=6;this.xk()}};
var HEa=function(a,b,c){$A.call(this,a,b,c);this.ab=60;this.nb=2;this.Da="r4nke-YPqjbf";this.type="title";this.ta="Title"};l(HEa,$A);HEa.prototype.Dd=function(a){if(0==this.ra){var b=TA(this.ha()),c=th?a.metaKey:a.ctrlKey;13!=a.keyCode||a.shiftKey||c||b.length||b.start!=RA(this.ha()).length||rj(this.context).U?$A.prototype.Dd.call(this,a):(a.preventDefault(),this.dispatchEvent("Xc"))}};
var vC=function(a,b,c){hB.call(this,a,b);b=this.Aa();this.S=new go("Change color");ao(this.S,"colorpicker","Toolbar");this.Ia(this.S);this.ta=new go("Add image","Lc",b);Xja(this.ta,"Image uploads are not available");ao(this.ta,"insertimage","Toolbar");this.Ia(this.ta);var d=this.W=new io("Archive","Unarchive");ao(d,"archive","Toolbar");d.Ka="unarchive";this.W.Ua=!!c;this.Ia(this.W);d=this.va=new io("Pin","Unpin");ao(d,"Pin","Toolbar");d.Ka="Unpin";this.Ia(this.va);this.ma=new go("Remind me","Cc",
b);ao(this.ma,"openremindereditor","Toolbar");this.Ia(this.ma);this.R=new go("Collaborator","Dc",b);ao(this.R,"newShare","Toolbar");this.R.H=9020;this.Ia(this.R);this.U=new go("More","Oc",b);ao(this.U,"overflowmenu","Toolbar");this.Ia(this.U);Ph(K(a))&&!c&&(this.ra=new go("Undo"),ao(this.ra,"toolbarundo","Toolbar"),this.Ia(this.ra),this.ka=new go("Redo"),ao(this.ka,"toolbarredo","Toolbar"),this.Ia(this.ka));this.Ba=1;this.Fa=!!c;this.$=this.Da=this.V=!1;this.H=[]};v(vC,hB);
var IEa=[3,0],JEa=null,wC=null;f=vC.prototype;f.HS=function(a){var b=!1;JEa&&(b=vv(JEa));b||(JEa="Qc"==a.type?tv(sj(this.getContext()),"Can't share because sharing is turned off.","Turn on sharing",r(function(){mj(this.getContext()).mb("Toolbar","sharingenabled");var a=Ar.Ja();Er(a,"SHARING_ENABLED",!0)},this)):sj(this.getContext()).show("You can share when Keep finishes loading."))};f.La=function(){this.Ga=R(jCa)};
f.Ha=function(){var a=this;vC.ua.Ha.call(this);this.W.Ra(this.Pa("JqEhuc"));this.S.Ra(this.Pa("VsHK1d"));this.ta.Ra(this.Pa("Ge5tnd-HiaYvf"));this.ma.Ra(this.Pa("zyxPWd"));this.R.Ra(this.Pa("euCgFf"));this.U.Ra(this.Pa("xl07Ob"));this.va.Ra(this.Pa("nQ1Faf"));V(V(V(V(V(V(V(V(V(this,this.R,["Rc","Qc"],this.HS),this.W,"action",this.$N),this.va,"action",this.aW),this.ma,"Cc",this.tG),this.U,"action",this.nR),this.S,"action",this.GC),this.S.ha(),["mouseover","mouseout"],this.GC),Ar.Ja(),"Ja",this.cz),
this.getContext().Ca().getState(),"qa",this.bW);this.ra&&this.ka&&(this.ra.Ra(this.Pa("sfGayb")),this.ka.Ra(this.Pa("uXLMpd")),V(V(this,this.ra,"action",function(){return hCa(hj(a.getContext()))}),this.ka,"action",function(){return iCa(hj(a.getContext()))}));this.xd(function(b){V(a,b.ha(),["blur","focus"],a.oO)});Rk(this.ha(),"toolbar")};f.update=function(){jo(this.W,this.H.every(function(a){return a.Ed}));jo(this.va,this.H.every(function(a){return a.$d()}));this.cz()};f.lc=function(){return nn(this.ha()).width};
f.setEnabled=function(a){this.S.setEnabled(a);this.W.setEnabled(a);this.ma.setEnabled(a);this.U.setEnabled(a);this.va.setEnabled(a);this.ta.setEnabled(a&&Rsa(this.getContext().Ca().getState()));this.R.setEnabled(a)};f.ud=function(a){this.lb&&this.Ba!=a&&(this.Ba=a,this.setEnabled(2!=a))};var KEa=function(a,b){a.xd(function(a){ho(a,b)})};f=vC.prototype;
f.cz=function(){var a=this.getContext().Ca(),b=1==this.H.length?this.H[0]:null;if(b)if(2==this.Ba)this.R.setEnabled(!1);else{this.R.setEnabled(!0);var c=!Dr(Ar.Ja());a=Oh(K(this.getContext()))&&(pg(IEa,a.getState().getState())||!a.H.V);b=c||!Du(b)&&!b.Ba&&a;this.R.S=c?"Qc":b?"Rc":"Dc";this.R.ha()&&um(this.R.ha(),"VIpgJd-LgbsSe-OWB6Me",b)}};f.$N=function(){this.apply(new cl(this.H.every(function(a){return a.Ed})?"unarchive":"archive",this.H.map(function(a){return a.getId()})))};
f.aW=function(){this.apply(new cl(this.H.every(function(a){return a.$d()})?"unpin":"pin",this.H.map(function(a){return a.getId()})))};f.oO=function(){this.dispatchEvent("Kc")};f.bW=function(){this.ta.setEnabled(Rsa(this.getContext().Ca().getState())&&2!=this.Ba);this.cz()};f.Cw=function(){this.S.focus()};
f.GC=function(a){var b="mouseout"==a.type;if(this.S.isEnabled()||b){var c=this.getContext().get("i");b?(this.$=!1,V(this,c,"show",this.HC),c.hide(!0),this.V||this.dispatchEvent("Mc")):(wC&&wC!=this&&wC.ks(),wC=this,c.S=this.H,c.show("action"==a.type),this.$=!0,this.dispatchEvent("Nc"),Rz(c.ha(),this.S.ha(),!0),V(V(this,c,"hide",this.ks),c,"Fc",this.Cw))}};f.ks=function(){var a=this.getContext().get("i");kB(kB(kB(this,a,"hide",this.ks),a,"show",this.HC),a,"Fc",this.Cw);this.$=!1;this.V||this.dispatchEvent("Mc")};
f.HC=function(){this.dispatchEvent("Nc");var a=this.getContext().get("i");V(V(this,a,"hide",this.ks),a,"Fc",this.Cw);this.$=!0};f.nR=function(){var a=cj(this.getContext(),"A");if(a)if(a.Sa()&&this.H.length)xC(this,!1);else{a.lb||a.render(this.Aa().H.body);var b=a.ha();b.style.opacity="0";a.update(this.H,this.Fa);xC(this,!0);Rz(b,this.U.ha());b.style.opacity="1";a.Lb(this);V(V(this,a,"hide",this.bF),a,"Ec",this.uG)}};
var xC=function(a,b){var c=rj(a.getContext());b&&c&&c.Sa()&&c.setVisible(!1);(c=cj(a.getContext(),"A"))&&c.setVisible(b);a.V=b;a.dispatchEvent("Nc")};f=vC.prototype;f.uG=function(){xC(this,!1);var a=rj(this.getContext());if(a){a.lb||a.render(this.Aa().H.body);var b=a.ha();b.style.opacity="0";eCa(a,this.H);a.setVisible(!0);Rz(b,this.U.ha());b.style.opacity="1";V(this,a,"hide",this.uD);a.Lb(this);this.V=!0;this.dispatchEvent("Nc")}};
f.tG=function(){xC(this,!1);var a=cj(this.getContext(),"D");if(a){var b=a.ha();b.style.opacity="0";a.W=this.H;a.U=null;var c=1==a.W.length?a.W[0].Rb():null,d=c&&!!c.Sd,e=!d||c.Ae().Lh?null:c.Ae();e=d&&e?e.clone():tqa();yC(a.R,e);zC(a.R,e);d&&c.H?AC(a.R,"c"):AC(a.R,"n");e=(d=d?c.H:null)?d.R:"daily";"daily"==e?BC(a.H,"d"):"weekly"==e?BC(a.H,"w"):"monthly"==e?BC(a.H,"m"):"yearly"==e?BC(a.H,"y"):BC(a.H,"d");CC(a.H,d?d.Fa:1);rg(a.H.$);LEa(a.H,d?d.ta:[]);e=d?d.ma:null;var g=d?d.$:null;d&&d.ra&&e?DC(a.H,
"dw"):-1==g?DC(a.H,"ld"):DC(a.H,"sd");g=d?d.S:0;e=d&&d.W?d.W.clone():new sr;e.add(new pr("y",1));0<g?(EC(a.H,"ano"),FC(a.H,g),GC(a.H,e)):(FC(a.H,2),(d=d?d.H:null)?(EC(a.H,"sd"),GC(a.H,d.clone())):(EC(a.H,"nv"),GC(a.H,e)));HC(a.H);MEa(a.S,c?c.Gd:null);c?c.Sd?IC(a,1):IC(a,4):IC(a,0);a.setVisible(!0);Rz(b,this.ma.ha());b.style.opacity="1";V(this,a,"hide",this.iD);this.Da=this.V=!0;this.dispatchEvent("Nc")}};
f.bF=function(){var a=cj(this.getContext(),"A");a.Lb(null);kB(kB(this,a,"hide",this.bF),a,"Ec",this.uG);this.U.focus();this.V=!1;this.$||this.dispatchEvent("Mc")};f.uD=function(){var a=rj(this.getContext());kB(this,a,"hide",this.uD);a.Lb(null);this.U.focus();this.V=!1;this.$||this.dispatchEvent("Mc")};f.iD=function(a){var b=cj(this.getContext(),"D");a.target==b&&(kB(this,b,"hide",this.iD),this.ma.focus(),this.Da=this.V=!1,this.$||this.dispatchEvent("Mc"))}; f.Na=function(){vC.ua.Na.call(this);this==wC&&this.getContext().get("i").hide(!0);this.Da&&cj(this.getContext(),"D").setVisible(!1)};
var JC=function(){J.call(this);this.U=new Set;this.S=new Set;this.ka=this.ma=null;this.R=!1;this.$=0;this.W=this.V=null;this.H=new Am(this);B(this,this.H)};v(JC,J);ta(JC);
var NEa=function(a,b){var c=a.R?a.S:a.U;if(!c.has(b)){var d=!c.size;c.add(b);b=b.ha();a.H.listen(b,["dragenter","dragover"],a.Pw).listen(b,"dragleave",a.tl).listen(b,"drop",a.Qw);d&&(d=document,a.H.listen(d,["dragenter","dragover"],a.Gw).listen(d,"dragleave",a.tl).listen(d,"drop",a.Hw))}},OEa=function(a){var b=JC.Ja(),c=b.R?b.S:b.U;c.has(a)&&(c["delete"](a),a=a.ha(),b.H.$a(a,["dragenter","dragover"],b.Pw).$a(a,"dragleave",b.tl).$a(a,"drop",b.Qw),c.size||(c=document,b.H.$a(c,["dragenter","dragover"],
b.Gw).$a(c,"dragleave",b.tl).$a(c,"drop",b.Hw)))},PEa=function(){var a=JC.Ja();a.S.forEach(function(b){b=b.ha();a.H.$a(b,["dragenter","dragover"],a.Pw).$a(b,"dragleave",a.tl).$a(b,"drop",a.Qw)});a.S.clear();if(!a.U.size){var b=document;a.H.$a(b,["dragenter","dragover"],a.Gw).$a(b,"dragleave",a.tl).$a(b,"drop",a.Hw)}a.R=!1},QEa=function(a,b){if("dragenter"==b.type&&rh)return!1;var c=t();var d=c-a.$;a.$=c;300>d?(a.V&&(a.V=b.target),c=!!a.V):(c=b.H.dataTransfer,c=!(!c||!(c.types&&(pg(c.types,"Files")||
pg(c.types,"public.file-url"))||c.files&&0<c.files.length)),a.V=c?b.target:null);c&&(b.preventDefault(),sh||a.W&&a.W.Zg()||(a.W=a.W||new Vn(a.tl,1500,a),a.W.start()));return c};f=JC.prototype;f.Pw=function(a){QEa(this,a)&&((this.R?this.S:this.U).forEach(function(b){a.currentTarget==b.ha()?REa(b):KC(b)}),a.H.dataTransfer.dropEffect="copy",a.uc())};f.Gw=function(a){if(QEa(this,a)){var b=this.ka||this.ma;(this.R?this.S:this.U).forEach(function(a){a==b?REa(a):KC(a)});a.H.dataTransfer.dropEffect="none"}};
f.tl=function(a){a&&a.target!=this.V||(this.$=0,(this.R?this.S:this.U).forEach(function(a){return KC(a)}))};f.Qw=function(a){(this.R?this.S:this.U).forEach(function(b){a.currentTarget==b.ha()?(SEa(b.V,a.H.dataTransfer.files),b.zn(b.ra),KC(b),mj(b.getContext()).mb("Media","contentdroppedonnote")):KC(b)});a.preventDefault();a.uc()};f.Hw=function(){(this.R?this.S:this.U).forEach(function(a){return KC(a)})};
var TEa=function(a){a=a||{};a=""+('<div class="'+P("kODWGd-haAclf")+'"><div class="'+P("kODWGd-uquGtd")+'">'+N(lm({hb:O("kODWGd-NziyQe-HvfI2b")}))+'<div class="'+P("kODWGd-biJjHb-fmcmS")+'"></div><div class="'+P("kODWGd-EWK8Bb")+'"><div class="'+P("kODWGd-sKFHqe")+'"></div><div class="'+P("kODWGd-P1ekSe-ZMv3u")+'"></div></div><div class="'+P("kODWGd-P1ekSe-fmcmS")+'">00:00</div><div class="'+P("kODWGd-P1ekSe-aXdSr")+'">/</div><div class="'+P("kODWGd-fmcmS")+'"></div><audio class="'+P("L6cTce-kODWGd-Jup3Tc")+
'" type="audio/mp4"></audio></div><div class="'+P("kODWGd-nupQLb-VkLyEc-haAclf")+'">'+N(km({hb:O("kODWGd-nupQLb"+(a.Gv?" iHw4hc":"")),content:bm("Download Audio")}))+N(lm({hb:O("kODWGd-VkLyEc")}))+"</div></div>");return M(a)},UEa=function(a){a=a||{};var b='<div class="'+P("kODWGd-haAclf-JLm1tf-AVM9xd")+'">';a.Gv?(a="Download Audio ("+(N(a.duration)+")"),b+=N(km({hb:O("kODWGd-nupQLb"),content:bm(""+a)}))):b+='<div class="'+P("kODWGd-uDEFge")+'"></div>';b+=N(lm({hb:O("kODWGd-VkLyEc")}))+"</div>";return M(b)};
var LC=function(a,b,c){hB.call(this,a,c);this.H={};this.R=null;this.hd(b)};v(LC,hB);var VEa="probably"==tk("audio").canPlayType("audio/aac")&&!nh,MC=function(a){var b=a%60;return Mb(Math.floor(a/60),2)+":"+Mb(b,2)};LC.prototype.ne=function(a){this.hd(a)};
LC.prototype.update=function(){var a=this,b=new Set;su(this.Ca()).filter(function(a){a=tu(a);var b;if(b=!!a)"unknown"==a.Zf&&(a.Zf=Ks(a.Zi)),b="AUDIO"==a.Zf;return b}).forEach(function(c,d){var e=tu(c),g=c.getId();b.add(g);a.H[g]||(e=VEa&&!Hh(K(a.getContext()))?new NC(a.getContext(),g,c.Ug(),e.getLength()):new OC(a.getContext(),g,e.getLength()),a.H[g]=e,a.Cd(e,d,!0),cz(lj(a.getContext()),c,r(e.HG,e)))});Ug(this.H,function(c,d){!b.has(d)&&a.Eb(c.getId())&&(a.removeChild(c,!0),delete a.H[d])});S(this.ha(),
!!b.size);b.size&&!this.R&&(this.R=sk("div","kODWGd-Btuy5e"),this.ha().appendChild(this.R))};var NC=function(a,b,c,d,e){hB.call(this,a,e);this.ab=b;this.Va=c;this.Ua=d/1E3;this.R=0;this.W=this.Qa=this.$=this.S=this.ka=this.Ma=this.Fa=this.H=null;this.Ta=this.U=!1;this.ra="";this.ta=new Yn;this.Ia(this.ta);this.ma=new go("Remove","kc");this.ma.H=9024;this.Ia(this.ma);this.V=new io("Play","Pause","tc","sc");this.Ia(this.V)};v(NC,hB);NC.prototype.La=function(){this.Ga=R(TEa,{Gv:!Hh(K(this.getContext()))})};
NC.prototype.Ha=function(){NC.ua.Ha.call(this);this.H=this.Pa("L6cTce-kODWGd-Jup3Tc");this.$=this.Pa("kODWGd-P1ekSe-fmcmS");this.S=this.Pa("kODWGd-sKFHqe");this.Fa=this.Pa("kODWGd-fmcmS");this.Ma=this.Pa("kODWGd-biJjHb-fmcmS");this.ka=this.Pa("kODWGd-EWK8Bb");this.W=this.Pa("kODWGd-P1ekSe-ZMv3u");this.Qa=this.Pa("kODWGd-nupQLb-VkLyEc-haAclf");this.ma.Ra(this.Pa("kODWGd-VkLyEc"));this.ta.Ra(this.Pa("kODWGd-nupQLb"));this.V.Ra(this.Pa("kODWGd-NziyQe-HvfI2b"));this.H.load();Hk(this.Fa,MC(Math.floor(this.Ua)));
Hk(this.Ma,ht(this.Va));V(V(V(V(V(V(V(V(V(this,this.H,"ended",this.cO),this.H,"timeupdate",this.Ba),this.S,"mousedown",this.nD),this.ka,"mousedown",this.lD),this.ma,"kc",this.nb),this.ta,"action",this.KV),this.V,"tc",this.LR),this.V,"sc",this.bD),this.W,"mousedown",this.lD)};NC.prototype.nb=function(){!this.H||this.H.ended||this.H.paused||(this.H.pause(),this.R=this.H.currentTime,jo(this.V,!1));this.apply(new cl("delele",this.ab));mj(this.getContext()).mb("Media","audiodeleted")};
NC.prototype.va=function(a){a=WEa(this,a.clientX);this.W.style.width=a+"%";this.S.style.left=a+"%";Hk(this.$,MC(Math.floor(this.Ua*a/100)))};var WEa=function(a,b){var c=a.ka.getBoundingClientRect().right;a=a.ka.getBoundingClientRect().left;return Math.min(100,Math.max(0,Math.floor((b-a)/(c-a)*100)))};
NC.prototype.Ba=function(a){var b=this.U&&0==this.H.currentTime?this.R:this.H.currentTime,c=pa(a)?a:b;4==this.H.readyState?(XEa(this,c),Hk(this.$,MC(Math.floor(c)))):this.Ea().Jb(this.H,"canplay",r(function(){XEa(this,c);Hk(this.$,MC(Math.floor(c)))},this))};NC.prototype.Da=function(a){4!=this.H.readyState?this.Ea().Jb(this.H,"canplaythrough",r(this.Da,this,a)):(a=this.H.duration*a/100,this.R=this.H.currentTime=a)};
var XEa=function(a,b){b=Math.floor(b/a.H.duration*100)+"%";a.W.style.width=b;a.S.style.left=b};f=NC.prototype;f.HG=function(a){Hh(K(this.getContext()))?(a=a.replace("audio/aac","audio/mp4"),this.ra=""):this.ra=a;this.H.setAttribute("src",a)};
f.LR=function(){if(this.H){this.H.load();4!=this.H.readyState?this.Ea().Jb(this.H,"canplaythrough",r(function(){this.H.currentTime=this.R;this.H.play()},this)):(this.H.currentTime=this.R,this.H.play());this.Ta||(Q(this.ha(),"E8P38c"),Q(this.Qa,"E8P38c"),this.dispatchEvent("lc"));this.Ta=!0;Q(this.S,"E8P38c");this.U=!0;var a=this.getContext();mj(a).mb("Media","audioplayed");nj(a).log(9094)}};
f.bD=function(){this.H.pause();var a=this.getContext();nj(a).log(9095);this.U&&0==this.H.currentTime?mj(a).mb("Media","audiotimereporterror"):this.R=this.H.currentTime};f.cO=function(){jo(this.V,!1);this.W.style.width="0";this.R=0;this.H.currentTime=0;this.U=!1};f.lD=function(a){0==a.button&&(this.va(a),this.Da(WEa(this,a.clientX)),mj(this.getContext()).mb("Media","audioscrubbed"),this.nD(a),this.U=!0,Q(this.S,"E8P38c"))};
f.nD=function(a){0==a.button&&(a.preventDefault(),V(V(kB(this,this.H,"timeupdate",this.Ba),this.Aa().H,"mousemove",this.va),this.Aa().H,"mouseup",this.mD),this.U=!0)};f.mD=function(a){kB(kB(this,this.Aa().H,"mousemove",this.va),this.Aa().H,"mouseup",this.mD);a=WEa(this,a.clientX);this.Da(a);V(this,this.H,"timeupdate",this.Ba)};f.KV=function(){this.ra&&Rj(m.location,this.ra);mj(this.getContext()).mb("Media","audiodownloaded")};f.Na=function(){NC.ua.Na.call(this);this.bD()};
var OC=function(a,b,c,d){hB.call(this,a,d);this.R="";this.V=c/1E3;this.U=b;this.H=new go("Remove","kc");this.H.H=9024;this.Ia(this.H);this.S=!Hh(K(a))};v(OC,hB);f=OC.prototype;f.La=function(){this.Ga=R(UEa,{Gv:this.S,duration:MC(Math.floor(this.V))})};f.Ha=function(){OC.ua.Ha.call(this);this.H.Ra(this.Pa("kODWGd-VkLyEc"));if(this.S){var a=new Yn;this.Ia(a);a.Ra(this.Pa("kODWGd-nupQLb"));V(this,a,"action",this.LV)}V(this,this.H,"kc",this.MV)};f.HG=function(a){this.R=Hh(K(this.getContext()))?"":a}; f.MV=function(){this.apply(new cl("delele",this.U));mj(this.getContext()).mb("Media","audiodeleted")};f.LV=function(){this.R&&Rj(m.location,this.R);mj(this.getContext()).mb("Media","audiodownloaded")};
var YEa={position:"absolute",top:"0",opacity:"0"},ZEa={"max-height":"none","min-height":"0"},jta={Gf:"opacity",duration:.1,timing:"ease-in",fi:0},$Ea=[jta,{Gf:"height",duration:.1,timing:"ease-in",fi:.1}],bFa=function(a,b,c,d,e){aFa(a,b,c,d,!!e)},cFa=function(a,b,c,d,e,g){aFa(b,a,c,d,!!g,e)},aFa=function(a,b,c,d,e,g){if(e)Vm(b,"opacity",0),S(b,!1),S(a,!0),Vm(a,"opacity",1);else{var h=Wm(b,"min-height"),k=Wm(b,"max-height"),n=Wm(c,"backgroundColor");Vm(c,"backgroundColor",d);Vm(a,YEa);Vm(b,ZEa);S(a,
!0);S(b,!0);d=new qv(b,.2,{height:nn(b).height+"px",opacity:1},{height:nn(a).height+"px",opacity:0},$Ea);d.play();var q=kta(a);si(d,"end",function(){q.play()});si(q,"end",function(){Vm(b,"height","");Vm(b,"min-height",h);Vm(b,"max-height",k);S(b,!1);Vm(a,"position","");Vm(c,"backgroundColor",n);g&&g()})}};
var dFa=function(a){return M('<div class="'+P("HiaYvf-sM5MNb")+" "+P("hYUzqc-WsjYwc")+'"><img class="'+P("gkA7Yd-HiaYvf")+'" src="'+P(gm(a.src))+'">'+N(lm({hb:O(" HiaYvf-VkLyEc ")}))+"</div>")},eFa=function(){var a=""+('<div class="'+P("vbnc8b-JUCs7e-haAclf")+'"><div class="'+P("vbnc8b-JUCs7e-Bz112c")+'"></div><div class="'+P("vbnc8b-JUCs7e-fmcmS")+'">Creating thumbnail...</div></div>');return M(a)},fFa=function(){return M('<div class="'+P("tk3N6e-Igk6W-AAkFz")+" "+P("tk3N6e-Igk6W-W3j8xb")+'"></div>')}, gFa=function(){var a=""+('<div class="'+P("HiaYvf-zf3vf-u0pjoe")+'"><label>Upload failed.</label>'+N(mm({hb:O(" hSRGPd "),text:O("Retry")}))+"</div>");return M(a)};
var PC=function(a,b,c){hB.call(this,b,c);this.hd(a);this.wg(a.getId());this.ma=null;this.W=new go("Remove","pd",c);this.Ia(this.W);this.Fa=this.ka=0;this.ra="";this.S=this.R=this.V=this.H=null;this.ta=(this.U=Ls(tu(a))||Ms(tu(a)))&&(tu(this.Ca()).Mj()||!!tu(this.Ca()).Wf);this.Da=tu(a).getId();this.va=new Vn(this.Ta,3E3,this);this.Qa=0;hFa(this)};v(PC,hB);var iFa=800/544;
PC.prototype.La=function(){this.Ga=R(dFa,{src:this.ra});this.H=ik("IMG",this.Ga)[0];V(this,this.H,"load",this.Ua);this.W.Ra(this.Pa("HiaYvf-VkLyEc"));jFa(this);this.U&&!this.ta&&kFa(this)};PC.prototype.Ha=function(){PC.ua.Ha.call(this);V(V(V(this,this.W,"pd",this.Jl),this.H,"click",this.Ba),this.Ca(),"qa",this.Va)};PC.prototype.Va=function(){var a=tu(this.Ca()),b=a.getId();this.U=Ls(a)||Ms(a);if(b!=this.Da||this.U&&a.Wf)this.Da=b,hFa(this);jFa(this);this.U&&!this.ta&&kFa(this)};
var jFa=function(a){var b=a.Ca(),c=tu(b).ug;a.V&&(a.Aa(),a.S&&(a.removeChild(a.S,!0),bg(a.S),a.S=null),Ak(a.V),a.V=null);switch(c){case "lup":case "luip":if(!a.S){a.S=new Ho(a.Aa());a.S.yb(Fo(a.S.R));var d=a.S;if("horizontal"!=d.S){var e=Io[d.S],g=Io.horizontal;d.S="horizontal";var h=d.ha();h&&(vm(h,e,g),e=d.H.style,"vertical"==d.S?(e.left="0",e.width="100%"):(e.top=e.left="0",e.height="100%"),d.U())}a.Ia(a.S)}a.V=R(fFa);a.S.render(a.V);break;case "luf":a.dispatchEvent("td")}a.V&&xk(a.V,a.W.ha());
(c=Os(tu(b))||"u"==c||"luc"==c)||(c=jj(a.getContext()),c=!!c&&dz(c));c=c||a.U&&tu(b).Wf;um(a.H,"HiaYvf-Vj7tjb",c);c&&b.xh(!1)},kFa=function(a){if(a.U){var b=tu(a.Ca());b.Mj()||b.Wf?(a.ta=!0,a.H.complete?a.Ma():jB(a,a.H,"load",a.Ma)):a.R||(a.R=R(eFa),zk(a.ha(),a.R,0),Ms(b)?Q(a.R,"vbnc8b-vtn22d"):(S(a.H,!1),a.ma=iFa),V(a,a.R,"click",a.Ba))}};PC.prototype.Ma=function(){S(this.H,!0);this.R&&(kB(this,this.R,"click",this.Ba),Ak(this.R),this.R=null)};
PC.prototype.ud=function(a){2!=this.ka&&(this.Fa=this.ka);this.ka=a;this.W.setVisible(0==a)};PC.prototype.xg=function(a){PC.ua.xg.call(this,a);a?this.ud(2):this.ud(this.Fa)};var lFa=function(a,b){a.R&&(S(a.R.querySelector(".vbnc8b-JUCs7e-fmcmS"),b),(a=a.R.querySelector(".vbnc8b-JUCs7e-Bz112c"))&&Wn.Ja().Mb(a,b?"":"Creating thumbnail..."))};PC.prototype.$=function(a){this.ra=a;this.H&&(mk(this.H,{src:a}),this.va.stop(),this.H.onerror=r(this.va.start,this.va,void 0))};
PC.prototype.Ua=function(){var a=(this.H.naturalWidth||this.H.width)/(this.H.naturalHeight||this.H.height);this.ma!=a&&(this.ma=a,this.dispatchEvent("sd"))};PC.prototype.Ta=function(){3<=this.Qa++&&(this.H.onerror=null);this.H&&this.ra&&(mk(this.H,{src:this.ra+("&"+t())}),mj(this.getContext()).mb("Media","imagefailureretry",void 0,this.Qa))};
var hFa=function(a){var b=a.Ca(),c=vu(b);if(a.U||c.Fa){if(12E4>t()-tu(b).Va){a.$(tu(b).Wf);return}if(!oj(a.getContext())||!Nz(oj(a.getContext()))||Os(tu(b)))b.Mj()&&Ps(tu(b),"");else if(!Os(tu(b)))if(tu(b).Wf)a.$(tu(b).Wf);else{cza(jj(a.getContext()),tu(b).getId(),r(function(a){a?(Ps(tu(b),a),this.$(a)):cza(jj(this.getContext()),tu(b).tb,r(function(a){Ps(tu(b),a);this.$(a);cz(lj(this.getContext()),b,r(this.$,this),600)},this))},a));return}}cz(lj(a.getContext()),b,r(a.$,a),600)}; PC.prototype.Ba=function(a){Fk(this.W.ha(),a.target)||(Lh(K(this.getContext()))&&tu(this.Ca())&&Ls(tu(this.Ca()))&&0==this.ka?this.dispatchEvent("qd"):this.dispatchEvent("rd"))};PC.prototype.Na=function(){PC.ua.Na.call(this);delete this.H};
var oFa=function(a,b){var c=[];b&&(a=ig(a,function(a){return Sj(a,.2,5)}));var d=0,e=a.length%3;e&&(b=mFa(0,e,a),c.push.apply(c,nFa(b,d,e,0,a)),d+=b);for(;e<a.length;e+=3)0<e&&(d+=.6),b=mFa(e,3,a),c.push.apply(c,nFa(b,d,3,e,a)),d+=b;E(c,function(a){a.top*=100/d;a.height*=100/d});return{XY:c,OA:d}},mFa=function(a,b,c){for(var d=0,e=0;e<b;e++)d+=c[a+e];return(100-.6*(b-1))/d},nFa=function(a,b,c,d,e){for(var g=[],h=0,k=0;k<c;k++){var n=a*e[d+k];g.push(new Lm(h,b,n,a));h+=n+.6}return g};
var QC=function(a){J.call(this);this.R={};this.H={};this.S=new Am(this);this.Nb=a};v(QC,J);var pFa=[oh&&!wh("11")?"readystatechange":"load","abort","error"];QC.prototype.start=function(){var a=this.R;E($g(a),function(b){var c=a[b];if(c&&(delete a[b],!this.isDisposed())){var d;this.Nb?d=gk(this.Nb).La("IMG"):d=new Image;c.PA&&(d.crossOrigin=c.PA);this.S.listen(d,pFa,this.U);this.H[b]=d;d.id=b;d.src=c.src}},this)};
QC.prototype.U=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});!this.isDisposed()&&(a=b.id,delete this.R[a],b=this.H[a])&&(delete this.H[a],this.S.$a(b,pFa,this.U),eh(this.H)&&eh(this.R)&&this.dispatchEvent("complete"))}}; QC.prototype.Na=function(){delete this.R;delete this.H;bg(this.S);QC.ua.Na.call(this)};
var RC=function(a,b,c){hB.call(this,b,c);this.ma=0;this.H=this.W=null;this.U=new QC;B(this,this.U);this.$={};this.ka={};this.S=999;this.V=[];this.ra=!1;this.hd(a)};v(RC,hB);var qFa="";f=RC.prototype;f.La=function(){RC.ua.La.call(this);this.ha().appendChild(sk("DIV",{"class":"IZ65Hb-HiaYvf-neVct"}))};
f.Ha=function(){RC.ua.Ha.call(this);this.W=this.ha().querySelector(".IZ65Hb-HiaYvf-neVct");var a=new Co(this.ou,50,this);B(this,a);var b=new Vn(a.od,16,a);B(this,a);V(V(V(V(V(this,this,"sd",b.Mo,void 0,b),this,"pd",this.dP),this,"td",this.IG),this.U,"load",this.uQ),this.U,"error",this.au);this.update()};f.Tb=function(){return this.W};f.isEmpty=function(){return 0>=this.V.length};f.ne=function(a){this.hd(a)};
f.update=function(){var a=hg(su(this.Ca()),r(function(a){a=vu(a);return!!a&&(Ns(a)||Ls(a)||Ms(a))},this)),b=Nr(this.Ca());if(Eg(this.V,a))E(a,function(a){(a=this.Eb(a.getId()))&&a.ud(b?3:0)},this);else{this.V=a;for(var c=this.getContext(),d=this.Aa(),e=0,g;g=a[e];++e)g=this.Eb(g.getId())||new PC(g,c,d),this.Cd(g,e,this.lb&&!g.lb),g.ud(b?3:0),lFa(g,1==this.V.length);if(e<this.Sc())for(;a=this.Kc(e);)this.removeChild(a,a.lb);this.IG();this.ou()}};
f.ou=function(){if(this.lb){for(var a=this.Sc(),b=[],c=[],d=0;d<a;d++){var e=this.Kc(d);null!=e.ma&&c.length<this.S?(c.push(e),b.push(e.ma),e.setVisible(!0)):e.setVisible(!1)}a=oFa(b,this.ra);a.OA!=this.ma&&(this.ma=a.OA,this.W.style.paddingTop=this.ma+"%",this.dispatchEvent("Sb"));for(d=0;d<c.length;d++)if(b=a.XY[d],e=c[d].ha())e.style.top=b.top+"%",e.style.left=b.left+"%",e.style.width=b.width+"%",e.style.height=b.height+"%"}};
var rFa=function(a){var b=sk("INPUT",{"class":"HiaYvf-zf3vf-L6cTce-YPqjbf",type:"file",multiple:"true"});V(a,b,"change",a.TC);a.R?(kha(b,a.R),kB(a,a.R,"change",a.TC)):a.ha().appendChild(b);a.R=b;b.click()},SEa=function(a,b){for(var c=!1,d=0,e=0;e<b.length;++e){var g=b[e];sFa(a,g)?(zv(g).mc(r(a.SC,a,g,void 0)),d++,mj(a.getContext()).mb("Media","imageadded")):c=!0}c&&a.au();d&&(a.dispatchEvent("nc"),al.Ja().speak((new qz("{imagesAdded, plural, =1 {Image added}other {# images added}}")).format({imagesAdded:d})))},
tFa=function(a,b,c){sFa(a,b)?zv(b).mc(r(a.SC,a,b,c)):a.au()},sFa=function(a,b){var c=K(a.getContext()).H.n_sit||[];a=oea(K(a.getContext()));return pg(c,b.type)&&b.size<a};f=RC.prototype;
f.au=function(){if(!qFa){for(var a=Math.floor(oea(K(this.getContext()))/1048576),b=Math.floor(pea(K(this.getContext()))/1048576),c=K(this.getContext()).H.n_sit||[],d="",e=0,g;g=c[e];++e)ub(g,"image/")&&(g=g.substring(6),d&&(d+=", "),d+=g);qFa="Can't upload this file. We accept "+(d.toUpperCase()+(" files less than "+(a+("MB and "+(b+" megapixels.")))))}sj(this.getContext()).show(qFa)};
f.IG=function(){a:{this.Sc();var a=0;for(var b;b=this.Kc(a);a++)if("luf"==tu(b.Ca()).ug){a=!0;break a}a=!1}a?(this.H||(this.H=R(gFa),a=new co,B(this,a),a.Ra(this.H.querySelector(".Q0hgme-fmcmS-LgbsSe")),V(this,a,"action",this.mZ),this.ha().appendChild(this.H)),S(this.H,!0)):this.H&&S(this.H,!1)};f.mZ=function(){this.Sc();for(var a=0,b;b=this.Kc(a);a++)"luf"==tu(b.Ca()).ug&&b.apply(new cl("retryMedia",b.Ca().getId()));this.H&&S(this.H,!1)};
f.dP=function(a){var b=a.target;this.apply(new cl("delele",b.getId()));nj(this.getContext()).log(9023,function(a){var c=tu(b.Ca());c&&a.Xt(c.Zv())})};f.TC=function(a){SEa(this,a.target.files);Ak(this.R);this.R=null};f.SC=function(a,b,c){var d="loader-"+t();this.$[d]=a;b&&(this.ka[d]=b);(a=na(c)?c:c.src)&&(this.U.R[d]={src:a,PA:p(void 0)?void 0:null});this.U.start()};
f.uQ=function(a){var b=a.target,c=ih(this.$,b.id);gh(this.$,b.id);a=ih(this.ka,b.id);gh(this.ka,b.id);if(b.naturalWidth*b.naturalHeight>pea(K(this.getContext())))this.au();else{var d=Pqa();d.xh(!0);Pt(d,this.Ca().getId());gj(this.getContext()).apply(new Eha(d,b.src,b.naturalWidth,b.naturalHeight,c.name,c.type),!!a);a&&(b=Pu(this.getContext().Ca().H,this.Ca().getId()).Eb(d.getId()))&&a(b)}};f.Na=function(){RC.ua.Na.call(this);delete this.R;delete this.W;delete this.H};
var uFa=function(){return M('<div class="'+P("hSRGPd-e1YmVc")+'"><div class="'+P("hSRGPd-e1YmVc-HiaYvf")+'"></div><div class="'+P("hSRGPd-e1YmVc-fmcmS-JNdkSc")+'"><div class="'+P("hSRGPd-e1YmVc-r4nke")+'"></div><div class="'+P("hSRGPd-e1YmVc-hSRGPd")+'"></div></div>'+N(lm({hb:O("hSRGPd-e1YmVc-FNFY6c-LgbsSe")}))+'<div class="'+P("xl07Ob-LgbsSe-haAclf")+'">'+N(lm({hb:O("hSRGPd-e1YmVc-xl07Ob-LgbsSe")}))+"</div></div>")},vFa=function(){var a=""+('<div class="'+P("hSRGPd-e1YmVc-RPzgNd-haAclf")+'"><div class="'+ P("RPzgNd-hSRGPd-e1YmVc-WsjYwc")+'"></div>'+N(mm({hb:O("hSRGPd-e1YmVc-RPzgNd-LgbsSe fmcmS-LgbsSe-di8rgd-i5vt6e")}))+N(mm({hb:O("hSRGPd-e1YmVc-Rsbfue-NkyfNe-LgbsSe fmcmS-LgbsSe-di8rgd-i5vt6e"),text:bm("Remove All")}))+"</div>");return M(a)};
var SC=function(a){this.R=a};ta(SC);var wFa=function(a,b){a&&(a.tabIndex=b?0:-1)};f=SC.prototype;f.La=function(a){return a.Aa().La("DIV",this.V(a).join(" "))};f.Tb=function(a){return a};f.hf=function(a){return"DIV"==a.tagName};f.Ra=function(a,b){b.id&&a.wg(b.id);var c=this.H(),d=!1,e=pm(b);e&&E(e,function(b){b==c?d=!0:b&&this.Gy(a,b,c)},this);d||Q(b,c);xFa(this,a,this.Tb(b));return b};f.Gy=function(a,b,c){b==c+"-OWB6Me"?a.setEnabled(!1):b==c+"-DKlKme"?TC(a,"horizontal"):b==c+"-BvBYQ"&&TC(a,"vertical")};
var xFa=function(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var g=a.U(d);g&&(g.Ga=d,b.isEnabled()||g.setEnabled(!1),b.Ia(g),g.Ra(d))}else d.nodeValue&&""!=Ab(d.nodeValue)||c.removeChild(d);d=e}};SC.prototype.U=function(a){a:{a=pm(a);for(var b=0,c=a.length;b<c;b++){var d=a[b];if(d=d in Mja?Mja[d]():null){a=d;break a}}a=null}return a};SC.prototype.W=function(a){a=a.ha();xja(a,!0,rh);oh&&(a.hideFocus=!0);var b=this.R;b&&Rk(a,b)};SC.prototype.H=function(){return"VIpgJd-haAclf"}; SC.prototype.V=function(a){var b=this.H(),c=[b,"horizontal"==a.Sj?b+"-DKlKme":b+"-BvBYQ"];a.isEnabled()||c.push(b+"-OWB6Me");return c};
var UC=function(a,b,c){An.call(this,c);this.Tj=b||SC.Ja();this.Sj=a||"vertical"};v(UC,An);f=UC.prototype;f.px=null;f.fl=null;f.Tj=null;f.Sj=null;f.Ti=!0;f.dl=!0;f.Dm=!0;f.ue=-1;f.Oe=null;f.hj=!1;f.Ii=null;var VC=function(a){return a.px||a.ha()};f=UC.prototype;f.La=function(){this.Ga=this.Tj.La(this)};f.Tb=function(){return this.Tj.Tb(this.ha())};f.hf=function(a){return this.Tj.hf(a)};f.Ub=function(a){this.Ga=this.Tj.Ra(this,a);"none"==a.style.display&&(this.Ti=!1)};
f.Ha=function(){UC.ua.Ha.call(this);this.xd(function(a){a.lb&&yFa(this,a)},this);var a=this.ha();this.Tj.W(this);this.setVisible(this.Ti,!0);this.Ea().listen(this,"enter",this.Jw).listen(this,"highlight",this.KN).listen(this,"unhighlight",this.MN).listen(this,"open",this.CR).listen(this,"close",this.JN).listen(a,"mousedown",this.LN).listen(fk(a),"mouseup",this.pP).listen(a,["mousedown","mouseup","mouseover","mouseout","contextmenu"],this.Aw);this.Dm&&zFa(this,!0)};
var zFa=function(a,b){var c=a.Ea(),d=VC(a);b?c.listen(d,"focus",a.Vo).listen(d,"blur",a.Mm).listen(a.fl||(a.fl=new Im(VC(a))),"key",a.Dd):c.$a(d,"focus",a.Vo).$a(d,"blur",a.Mm).$a(a.fl||(a.fl=new Im(VC(a))),"key",a.Dd)};f=UC.prototype;f.vc=function(){this.Wh(-1);this.Oe&&this.Oe.Ke(!1);this.hj=!1;UC.ua.vc.call(this)};f.Na=function(){UC.ua.Na.call(this);this.fl&&(this.fl.dispose(),this.fl=null);this.Tj=this.Oe=this.Ii=this.px=null};f.Jw=function(){return!0};
f.KN=function(a){var b=Dn(this,a.target);if(-1<b&&b!=this.ue){var c=WC(this);c&&Qn(c,!1);this.ue=b;c=WC(this);this.hj&&Pn(c,!0);this.Oe&&c!=this.Oe&&(Gn(c,64)?c.Ke(!0):this.Oe.Ke(!1))}b=this.ha();null!=a.target.ha()&&Tk(b,"activedescendant",a.target.ha().id)};f.MN=function(a){a.target==WC(this)&&(this.ue=-1);a=this.ha();Uk(a,"activedescendant")};f.CR=function(a){(a=a.target)&&a!=this.Oe&&a.getParent()==this&&(this.Oe&&this.Oe.Ke(!1),this.Oe=a)};
f.JN=function(a){a.target==this.Oe&&(this.Oe=null);var b=this.ha(),c=a.target.ha();b&&Hn(a.target,2)&&c&&Wk(b,c)};f.LN=function(a){this.dl&&(this.hj=!0);var b=VC(this);b&&Ik(b)?b.focus():a.preventDefault()};f.pP=function(){this.hj=!1};
f.Aw=function(a){a:{var b=a.target;if(this.Ii)for(var c=this.ha();b&&b!==c;){var d=b.id;if(d in this.Ii){b=this.Ii[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.Ig(a);break;case "mouseup":b.Jg(a);break;case "mouseover":b.Da(a);break;case "mouseout":b.Fa(a);break;case "contextmenu":b.va(a)}};f.Vo=function(){};f.Mm=function(){this.Wh(-1);this.hj=!1;this.Oe&&this.Oe.Ke(!1)};
f.Dd=function(a){return this.isEnabled()&&this.Sa()&&(0!=this.Sc()||this.px)&&this.Nm(a)?(a.preventDefault(),a.uc(),!0):!1};
f.Nm=function(a){var b=WC(this);if(b&&"function"==typeof b.Dd&&b.Dd(a)||this.Oe&&this.Oe!=b&&"function"==typeof this.Oe.Dd&&this.Oe.Dd(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.Dm)VC(this).blur();else return!1;break;case 36:XC(this);break;case 35:AFa(this);break;case 38:if("vertical"==this.Sj)BFa(this);else return!1;break;case 37:if("horizontal"==this.Sj)this.qf()?CFa(this):BFa(this);else return!1;break;case 40:if("vertical"==this.Sj)CFa(this);
else return!1;break;case 39:if("horizontal"==this.Sj)this.qf()?BFa(this):CFa(this);else return!1;break;default:return!1}return!0};var yFa=function(a,b){var c=b.ha();c=c.id||(c.id=b.getId());a.Ii||(a.Ii={});a.Ii[c]=b};
UC.prototype.Cd=function(a,b,c){a.Pl|=2;a.Pl|=64;a.ye(32,!1);Pja(a,!1);var d=a.getParent()==this?Dn(this,a):-1;UC.ua.Cd.call(this,a,b,c);a.lb&&this.lb&&yFa(this,a);a=d;-1==a&&(a=this.Sc());a==this.ue?this.ue=Math.min(this.Sc()-1,b):a>this.ue&&b<=this.ue?this.ue++:a<this.ue&&b>this.ue&&this.ue--};
UC.prototype.removeChild=function(a,b){if(a=na(a)?this.Eb(a):a){var c=Dn(this,a);-1!=c&&(c==this.ue?(Qn(a,!1),this.ue=-1):c<this.ue&&this.ue--);(c=a.ha())&&c.id&&this.Ii&&gh(this.Ii,c.id)}a=UC.ua.removeChild.call(this,a,b);Pja(a,!0);return a};var TC=function(a,b){if(a.ha())throw Error("ra");a.Sj=b};UC.prototype.Sa=function(){return this.Ti};
UC.prototype.setVisible=function(a,b){if(b||this.Ti!=a&&this.dispatchEvent(a?"show":"hide")){this.Ti=a;var c=this.ha();c&&(S(c,a),this.Dm&&wFa(VC(this),this.dl&&this.Ti),b||this.dispatchEvent(this.Ti?"aftershow":"afterhide"));return!0}return!1};UC.prototype.isEnabled=function(){return this.dl};
UC.prototype.setEnabled=function(a){this.dl!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.dl=!0,this.xd(function(a){a.NG?delete a.NG:a.setEnabled(!0)})):(this.xd(function(a){a.isEnabled()?a.setEnabled(!1):a.NG=!0}),this.hj=this.dl=!1),this.Dm&&wFa(VC(this),a&&this.Ti))};var YC=function(a,b){b!=a.Dm&&a.lb&&zFa(a,b);a.Dm=b;a.dl&&a.Ti&&wFa(VC(a),b)};UC.prototype.Wh=function(a){(a=this.Kc(a))?Qn(a,!0):-1<this.ue&&Qn(WC(this),!1)};
var WC=function(a){return a.Kc(a.ue)},XC=function(a){ZC(a,function(a,c){return(a+1)%c},a.Sc()-1)},AFa=function(a){ZC(a,function(a,c){a--;return 0>a?c-1:a},0)},CFa=function(a){ZC(a,function(a,c){return(a+1)%c},a.ue)},BFa=function(a){ZC(a,function(a,c){a--;return 0>a?c-1:a},a.ue)},ZC=function(a,b,c){c=0>c?Dn(a,a.Oe):c;var d=a.Sc();c=b.call(a,c,d);for(var e=0;e<=d;){var g=a.Kc(c);if(g&&a.EA(g)){a.Dy(c);break}e++;c=b.call(a,c,d)}};UC.prototype.EA=function(a){return a.Sa()&&a.isEnabled()&&Gn(a,2)}; UC.prototype.Dy=function(a){this.Wh(a)};
var $C=function(){};v($C,En);ta($C);$C.prototype.$b=function(){return"VIpgJd-wckcKc"};var DFa=function(a,b,c){Kn.call(this,a,c||$C.Ja(),b);this.ye(1,!1);this.ye(2,!1);this.ye(4,!1);this.ye(32,!1);this.Uj=1};v(DFa,Kn);Jn("VIpgJd-wckcKc",function(){return new DFa(null)});var aD=function(){this.U=[]};v(aD,En);ta(aD);var bD=function(a,b){var c=a.U[b];if(!c){switch(b){case 0:c=a.$b()+"-sn54Q";break;case 1:c=a.$b()+"-MPu53c";break;case 2:c=a.$b()+"-bN97Pc"}a.U[b]=c}return c};f=aD.prototype;f.dh=function(){return"menuitem"};f.La=function(a){var b=a.Aa().La("DIV",Fn(this,a).join(" "),EFa(this,a.getContent(),a.Aa()));cD(this,a,b,Gn(a,8)||Gn(a,16));return b};f.Tb=function(a){return a&&a.firstChild};
f.Ra=function(a,b){var c=lha(b),d=bD(this,2);c&&qm(c,d)||b.appendChild(EFa(this,b.childNodes,a.Aa()));qm(b,"VIpgJd-wQNmvb")&&(a.Zr(!0),a&&b&&cD(this,a,b,!0));return aD.ua.Ra.call(this,a,b)};f.Wo=function(a,b){var c=this.Tb(a),d=FFa(this,a)?c.firstChild:null;aD.ua.Wo.call(this,a,b);d&&!FFa(this,a)&&c.insertBefore(d,c.firstChild||null)};
var EFa=function(a,b,c){a=bD(a,2);return c.La("DIV",a,b)},FFa=function(a,b){return(b=a.Tb(b))?(b=b.firstChild,a=bD(a,1),!!b&&Dk(b)&&qm(b,a)):!1},cD=function(a,b,c,d){Jja(a,c,b.ta());Kja(a,b,c);d!=FFa(a,c)&&(um(c,"VIpgJd-wQNmvb",d),c=a.Tb(c),d?(a=bD(a,1),c.insertBefore(b.Aa().La("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))};aD.prototype.H=function(a){switch(a){case 2:return bD(this,0);case 16:case 8:return"VIpgJd-wQNmvb-gk6SMd";default:return aD.ua.H.call(this,a)}}; aD.prototype.S=function(a){var b=bD(this,0);switch(a){case "VIpgJd-wQNmvb-gk6SMd":return 16;case b:return 2;default:return aD.ua.S.call(this,a)}};aD.prototype.$b=function(){return"VIpgJd-j7LFlb"};
var dD=function(a,b,c,d){Kn.call(this,a,d||aD.Ja(),c);this.yb(b)};v(dD,Kn);f=dD.prototype;f.getValue=function(){var a=this.Ca();return null!=a?a:this.Fr()};f.yb=function(a){this.hd(a)};f.ye=function(a,b){dD.ua.ye.call(this,a,b);switch(a){case 8:this.Bf()&&!b&&this.ng(!1);(a=this.ha())&&this&&a&&cD(this.R,this,a,b);break;case 16:(a=this.ha())&&this&&a&&cD(this.R,this,a,b)}};f.Zr=function(a){this.ye(16,a)};
f.Fr=function(){var a=this.getContent();return va(a)?(a=ig(a,function(a){return Dk(a)&&(qm(a,"VIpgJd-j7LFlb-x29Bmf")||qm(a,"VIpgJd-j7LFlb-PQTlnb-hgDUwe"))?"":Lk(a)}).join(""),Aaa(a)):dD.ua.Fr.call(this)};f.Jg=function(a){var b=this.getParent();if(b){var c=b.Va;b.Va=null;if(c&&pa(a.clientX)&&Wj(c,new Vj(a.clientX,a.clientY)))return}dD.ua.Jg.call(this,a)};f.eh=function(a){return a.keyCode==this.Ax&&this.sh(a)?!0:dD.ua.eh.call(this,a)};f.Yt=function(a){this.Ax=a};f.HM=function(){return this.Ax};
Jn("VIpgJd-j7LFlb",function(){return new dD(null)});dD.prototype.ta=function(){return Gn(this,16)?"menuitemcheckbox":Gn(this,8)?"menuitemradio":dD.ua.ta.call(this)};dD.prototype.getParent=function(){return Kn.prototype.getParent.call(this)};dD.prototype.jf=function(){return Kn.prototype.jf.call(this)};
var eD=function(){};v(eD,En);ta(eD);eD.prototype.La=function(a){return a.Aa().La("DIV",this.$b())};eD.prototype.Ra=function(a,b){b.id&&a.wg(b.id);if("HR"==b.tagName){var c=b;b=this.La(a);xk(b,c);Ak(c)}else Q(b,this.$b());return b};eD.prototype.Wo=function(){};eD.prototype.$b=function(){return"VIpgJd-gqMrKb"};
var fD=function(a,b){Kn.call(this,null,a||eD.Ja(),b);this.ye(1,!1);this.ye(2,!1);this.ye(4,!1);this.ye(32,!1);this.Uj=1};v(fD,Kn);fD.prototype.Ha=function(){fD.ua.Ha.call(this);var a=this.ha();Rk(a,"separator")};Jn("VIpgJd-gqMrKb",function(){return new fD});
var gD=function(a){this.R=a||"menu"};v(gD,SC);ta(gD);gD.prototype.hf=function(a){return"UL"==a.tagName||gD.ua.hf.call(this,a)};gD.prototype.U=function(a){return"HR"==a.tagName?new fD:gD.ua.U.call(this,a)};gD.prototype.H=function(){return"VIpgJd-xl07Ob"};gD.prototype.W=function(a){gD.ua.W.call(this,a);a=a.ha();Tk(a,"haspopup","true")};
Jn("VIpgJd-gqMrKb",function(){return new fD});var hD=function(a,b){UC.call(this,"vertical",b||gD.Ja(),a);YC(this,!1)};v(hD,UC);hD.prototype.Ua=!0;hD.prototype.ll=function(a){if(Fk(this.ha(),a))return!0;for(var b=0,c=this.Sc();b<c;b++){var d=this.Kc(b);if("function"==typeof d.qw&&d.qw(a))return!0}return!1};hD.prototype.setPosition=function(a,b){var c=this.Sa();c||S(this.ha(),!0);var d=this.ha(),e=en(d);a instanceof Vj&&(b=a.y,a=a.x);an(d,d.offsetLeft+(a-e.x),d.offsetTop+(Number(b)-e.y));c||S(this.ha(),!1)};
hD.prototype.getPosition=function(){return this.Sa()?en(this.ha()):null};var iD=function(a,b){(a.Ua=b)&&YC(a,!0)};f=hD.prototype;f.setVisible=function(a,b,c){(b=hD.ua.setVisible.call(this,a,b))&&a&&this.lb&&this.Ua&&VC(this).focus();a&&c&&pa(c.clientX)?this.Va=new Vj(c.clientX,c.clientY):this.Va=null;return b};f.Jw=function(a){this.Ua&&VC(this).focus();return hD.ua.Jw.call(this,a)};f.EA=function(a){return a.isEnabled()&&a.Sa()&&Gn(a,2)};
f.Ub=function(a){var b=this.Tj;var c=this.Aa();c=jk(c.H,"DIV",b.H()+"-bN97Pc",a);for(var d=c.length,e=0;e<d;e++)xFa(b,this,c[e]);hD.ua.Ub.call(this,a)};f.Nm=function(a){var b=hD.ua.Nm.call(this,a);b||this.xd(function(c){!b&&c.HM&&c.Ax==a.keyCode&&(this.isEnabled()&&this.Wh(Dn(this,c)),b=c.Dd(a))},this);return b};f.Wh=function(a){hD.ua.Wh.call(this,a);(a=this.Kc(a))&&hn(a.ha(),this.ha())};
var GFa=new po("ud",["esc","tab"]),jD=function(a,b){hD.call(this,b);this.context=a;this.ta=null;this.Ta=!0;this.Qa="";iD(this,!1)};l(jD,hD);f=jD.prototype;f.La=function(){hD.prototype.La.call(this);Q(this.ha(),"Q0hgme-xl07Ob")};f.Ha=function(){var a=this;hD.prototype.Ha.call(this);this.ta=new mo(this.ha());qo(this,GFa,function(){a.setVisible(!1)},this.ta);this.ta.H=!0;this.Ea().listen(this,"action",function(b){return a.Bx(b)})};
f.setVisible=function(a){var b=this;hD.prototype.setVisible.call(this,a);a?(this.Ea().listen(this.Aa().H,["mousedown","touchstart"],this.Fw,!0),L(function(){YC(b,!0);VC(b).focus()},0)):this.Ea().$a(this.Aa().H,["mousedown","touchstart"],this.Fw,!0);return a};f.show=function(a){this.lb||this.render(this.Aa().H.body);var b=this.ha();b.style.opacity="0";this.setVisible(!0);Rz(b,a);b.style.opacity="1"};f.ll=function(a){return!!a&&a instanceof Node&&!!this.ha()&&Fk(this.ha(),a)};
f.Fw=function(a){this.ll(a.target)||this.setVisible(!1)};f.Bx=function(a){a=a.target;if(a instanceof kD){if(a.callback&&a.callback(),a.S&&this.dispatchEvent(a.S),this.Ta&&this.setVisible(!1),this.context){var b=a.U;b&&this.Qa&&mj(this.context).mb(this.Qa,b);(a=a.H)&&nj(this.context).log(a)}}else this.Ta&&this.setVisible(!1)};var kD=function(a,b,c,d){dD.call(this,a);this.U=b;this.S=c;this.callback=d};l(kD,dD);
var lD=function(){jD.call(this);var a=new kD("Remove",void 0,"xd");this.Ia(a,!0);EBa&&(this.H=new kD("Copy URL",void 0,"vd"),this.Ia(this.H,!0))};l(lD,jD);lD.prototype.Ha=function(){jD.prototype.Ha.call(this);Uk(this.Ga,"haspopup")};lD.prototype.setVisible=function(a){jD.prototype.setVisible.call(this,a);!a&&this.dispatchEvent("wd");return a};ta(lD);
var mD=function(a,b,c){hB.call(this,c);this.V=null;this.S=b;this.H=new go("Link preview options");this.Ia(this.H);this.U=new go("Go to link");this.Ia(this.U);this.R=lD.Ja();this.W=(b=a.Ni())?b.Op||"":"";this.hd(a)};v(mD,hB);mD.prototype.La=function(){this.Ga=R(uFa)};
mD.prototype.Ha=function(){mD.ua.Ha.call(this);var a=this.ha(),b=this.Ca().Ni();this.V=a.querySelector(".hSRGPd-e1YmVc-HiaYvf");var c=a.querySelector(".hSRGPd-e1YmVc-r4nke"),d=a.querySelector(".hSRGPd-e1YmVc-hSRGPd");!this.H.lb&&this.H.Ra(a.querySelector(".hSRGPd-e1YmVc-xl07Ob-LgbsSe"));!this.U.lb&&this.U.Ra(a.querySelector(".hSRGPd-e1YmVc-FNFY6c-LgbsSe"));Hk(c,b.getTitle());c=this.H.Ga;Tk(c,"expanded",!1);Tk(c,"haspopup",!0);Rk(a,"link");b.getUrl()?(Hk(d,b.U||""),Xk(a,"Link preview : "+b.getTitle()+
" - "+(b.U||""))):Xk(a,"Link preview : "+b.getTitle());(a=b.R||"")?Hh(K(this.getContext()))?(b=lj(this.getContext()),d=this.Ca().getId(),c=r(this.vQ,this),bz(b,d,a,c)):this.V.style.backgroundImage="url('"+a+"')":Q(this.V,"KYGlAe-HiaYvf");V(V(this,this.H,"action",this.NV),this.U,"action",this.Rw)};var HFa=function(a,b){(b&=!!a.W)?lB(a,a.ha(),a.Rw):pCa(a,a.ha(),a.Rw);Jk(a.ha(),b)};f=mD.prototype;f.Mi=function(){var a=this.ha();a&&(a.focus(),Q(a,"JbbQac-AHmuwe-i5vt6e"))};
f.jD=function(){var a=this;this.apply(new el(this.S.getId(),this.Ca()));var b=this.getContext();mj(b).mb("Annotations","linkembedremoved");nj(b).log(9154,function(c){c.oe(a.S.getId());c.xe(b.Ca().getState().R)})};f.LC=function(){var a=this;IBa(this.W);var b=this.getContext();mj(b).mb("Annotations","linkembedurlcopied");nj(b).log(9153,function(c){c.oe(a.S.getId());c.xe(b.Ca().getState().R)})};
f.NV=function(){var a=this,b=this.getContext();mj(b).mb("Annotations","linkembedmenuclicked");nj(b).log(9152,function(c){c.oe(a.S.getId());c.xe(b.Ca().getState().R)});var c=this.H.Ga;this.R.show(c);Tk(c,"expanded",!0);V(V(V(this,this.R,"vd",this.LC),this.R,"xd",this.jD),this.R,"wd",this.RC)};f.RC=function(){this.H.focus();Tk(this.H.Ga,"expanded",!1);kB(kB(kB(this,this.R,"vd",this.LC),this.R,"xd",this.jD),this.R,"wd",this.RC)};
f.Rw=function(a){var b=this;if(a.target!=this.H.ha()&&this.W){window.open(this.W,"_blank");var c=this.getContext();a.target==this.U?(mj(c).mb("Annotations","gotolinkbuttonclicked"),nj(c).log(9219,function(a){a.oe(b.S.getId());a.xe(c.Ca().getState().R)})):(mj(c).mb("Annotations","linkembedclicked"),nj(c).log(9155,function(a){a.oe(b.S.getId());a.xe(c.Ca().getState().R)}))}};f.vQ=function(a){this.V.style.backgroundImage="url('"+a+"')"};
var nD=function(a,b,c){hB.call(this,b,c);this.R={};this.U={};this.H=null;this.S=!1;this.hd(a)};v(nD,hB);var IFa=/(?:^|\s)(https?:\/\/)/g,JFa=function(a,b){a.S!=b&&(a.S=b,Ug(a.R,function(a){HFa(a,b)}))},KFa=function(a,b){var c=0;b=b.replace(IFa,"");return Cda(a.R,function(a){a=(a.Ca().Ni().Op||"").replace(IFa,"");if(!a)return!1;c+=a.length;return-1!=b.indexOf(a)})&&c==b.replace(/\s/g,"").length};
nD.prototype.update=function(){var a=Wr(this.Ca().Rd),b=jh(this.R),c=this.Sc(),d=this.H&&this.H.lb?c-1:c,e=!1;Ug(a,function(a,c){var g=this.R[c];g?(this.Eb(g.getId())||g.Ca().Sb()||(this.Cd(g,Math.min(this.U[c],d),!0),gh(this.U,c),HFa(g,this.S),d++,e=!0),gh(b,c)):(a=new mD(a,this.Ca(),this.getContext()),this.R[c]=a,this.Cd(a,d,!0),HFa(a,this.S),d++,e=!0)},this);Ug(b,function(a,b){this.Eb(a.getId())&&this.removeChild(a,!0);gh(this.R,b);gh(this.U,b);e=!0},this);e&&this.V()};
nD.prototype.V=function(a){if(this.lb&&!eh(this.R)){var b=this.Sc();this.H&&this.H.lb&&b--;for(var c=this.H&&this.H.H.U?b:3,d=0;d<b;d++){var e=this.Kc(d);e&&e.setVisible(d<c)}if(a&&"oc"==a.type&&this.H.H.U){var g=this.Kc(3);L(function(){g.Mi()},10)}3<b?(this.H||(this.H=new oD(this.getContext(),this.Aa()),V(V(this,this.H,"oc",this.V),this.H,"uc",this.W)),this.Cd(this.H,b,!this.H.lb),!this.H.H.U&&LFa(this.H,b-c)):this.H&&this.H.lb&&(this.removeChild(this.H,!0),fo(this.H.H,!1))}};
nD.prototype.W=function(){var a=[];Ug(this.R,function(b){var c=b.Ca();c.Sb()||(this.U[c.getId()]=Dn(this,b),a.push(c))},this);this.td(!0);this.apply(new el(this.Ca().getId(),a));nj(this.getContext()).log(9222)};var oD=function(a,b){hB.call(this,a,b);this.U=null;this.S=0;a=this.H=new eo("MORE","LESS","oc","oc");a.H=9220;a.Ua=9221;this.Ia(this.H);this.R=new co(void 0,"uc");this.Ia(this.R)};v(oD,hB);oD.prototype.La=function(){this.Ga=R(vFa)};
oD.prototype.Ha=function(){oD.ua.Ha.call(this);var a=this.ha();this.U=a.querySelector(".RPzgNd-hSRGPd-e1YmVc-WsjYwc");this.H.lb||(this.H.Ra(a.querySelector(".hSRGPd-e1YmVc-RPzgNd-LgbsSe")),V(this,this.H,"action",this.V),Tk(this.H.Ga,"expanded",!1));this.R.lb||this.R.Ra(a.querySelector(".hSRGPd-e1YmVc-Rsbfue-NkyfNe-LgbsSe"))};oD.prototype.V=function(){var a=this.H.U;Tk(this.H.Ga,"expanded",a);a&&(a="+ "+(this.S+" MORE button expanded"),al.Ja().speak(a))}; var LFa=function(a,b){var c="+ "+(b+" MORE");Hk(a.U,c);var d=a.H;d.Ka=c;fo(d,d.U);a.S=b};
var pD=function(){An.call(this);this.H=new Yn;this.Ia(this.H);this.U=null;this.R=new go(this.Gr());this.Ia(this.R)};l(pD,An);pD.prototype.La=function(){this.Ga=R(Oia)};
pD.prototype.Ha=function(){An.prototype.Ha.call(this);this.H.Ra(this.ha().querySelector(".XPtOyb-bN97Pc"));this.U=this.ha().querySelector(".XPtOyb-fmcmS");this.R.Ra(this.ha().querySelector(".XPtOyb-VkLyEc"));this.Ea().listen(this.ha(),"mousedown",this.DU).listen(this.ha(),"blur",this.CU).listen(this.H.ha(),["focus","blur"],this.mE).listen(this.R.ha(),["focus","blur"],this.mE).listen(this.H,"action",this.ms).listen(this.R,"action",this.os)};
pD.prototype.setVisible=function(a){this.ha()&&S(this.ha(),a)};pD.prototype.Sa=function(){return!!this.ha()&&rn(this.ha())};var MFa=function(a,b,c){c=void 0===c?"":c;Hk(a.U,b);Wn.Ja().Mb(a.H.Ga,c)},NFa=function(a,b){um(a.ha(),"W6AY1d-OWB6Me",!b)};f=pD.prototype;f.Gr=function(){return""};f.ms=function(){};f.os=function(){};f.mE=function(){var a=this;L(function(){var b=a.ha();b&&um(b,"cb6R2e-AHmuwe",Fk(b,Qk(a.Aa())))},0)};f.DU=function(){this.ha()&&Q(this.ha(),"JbbQac-AHmuwe-i5vt6e")}; f.CU=function(){this.ha()&&sm(this.ha(),"JbbQac-AHmuwe-i5vt6e")};
var qD=function(){return!OFa()&&(Qg("iPod")||Qg("iPhone")||Qg("Android")||Qg("IEMobile"))},OFa=function(){return Qg("iPad")||Qg("Android")&&!Qg("Mobile")||Qg("Silk")},rD=function(){return!qD()&&!OFa()};var sD=function(a){Xh(this,a,0,25,PFa)};v(sD,Uh);var PFa=[3,20];sD.prototype.getTag=function(){return F(this,2)};sD.prototype.setTag=function(a){H(this,2,a)};var tD=function(a,b){H(a,8,b)},QFa=function(a){Xh(this,a,0,-1,null)};v(QFa,Uh);var RFa=function(a){Xh(this,a,0,-1,null)};v(RFa,Uh);var SFa=function(a){Xh(this,a,0,-1,null)};v(SFa,Uh);var UFa=function(a){Xh(this,a,0,16,TFa)};v(UFa,Uh);var TFa=[3,5],VFa=function(a){var b=t().toString();H(a,4,b)};
var uD=!1,vD="",wD=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(uD=!0,a.description)){vD=wD(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){uD=!0;vD="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],uD=!(!a||!a.enabledPlugin))){vD=wD(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");uD=!0;vD=wD(b.GetVariable("$version")); return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");uD=!0;vD="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),uD=!0,vD=wD(b.GetVariable("$version"))}catch(c){}})();var WFa=uD,XFa=vD;
var YFa=nh?"opera":ph?"edge":oh?"ie":yh?"firefox":zh?"iphone":Ah?"ipad":Bh?"android":Ch?"chrome":Dh?"safari":"unknown";var ZFa=function(a,b,c){kp(a.url,function(a){a=a.target;a.kh()?b():c(a.getStatus())},a.requestType,a.body,a.requestHeaders,0,a.withCredentials)};var xD=function(a,b,c,d,e,g,h,k,n){J.call(this);this.va=a;this.ra=b||sa;this.S=new UFa;this.Ba=k||ZFa;this.H=[];this.ta="";this.ma=d||"https://play.google.com/log?format=json";this.U=c||null;this.W=n||null;this.ka=!1;this.Da=!h;this.V=0;this.Fa=1;a=new SFa;H(a,1,1);b=new RFa;c=new QFa;h=Qg("Android")?3:Qg("CrOS")?5:Qg("Windows")?2:Qg("iPad")?6:Rg()?7:Qg("iPod")?8:Qg("Linux")?4:Tg()?1:0;d=rD()?3:OFa()?2:qD()?1:0;H(b,6,h);h=Bda();H(b,2,h);H(b,3,d);e||(d=rk(),h=document.documentElement.getAttribute("lang"),
H(b,5,h),d=Mg(d.location.href,"hl")||d.navigator.language||d.navigator.browserLanguage,H(c,1,d));H(c,2,YFa);H(c,3,bAa);WFa&&H(c,4,XFa);di(a,11,b);di(a,9,c);di(this.S,1,a);H(this.S,2,this.va);this.$=new Yk(6E4);B(this,this.$);si(this.$,"tick",Fi(this.flush),!1,this);g||this.$.start();e||(si(rk(),"beforeunload",this.R,!1,this),si(rk(),"unload",this.R,!1,this),si(document,"pagehide",this.R,!1,this))};v(xD,J);xD.prototype.Na=function(){this.R();xD.ua.Na.call(this)};
xD.prototype.log=function(a){a=gi(a);var b=this.Fa++;H(a,21,b);if(!F(a,1)){b=a;var c=t().toString();H(b,1,c)}for(;1E3<=this.H.length;)this.H.shift(),++this.V;this.H.push(a);this.dispatchEvent(new $Fa)};
xD.prototype.flush=function(a,b){if(0==this.H.length)a&&a();else{var c=gi(this.S);VFa(c);ei(c,3,this.H);H(c,14,this.V);var d={},e=this.ra();e&&(d.Authorization=e);var g=this.ma;this.U&&(d["X-Goog-AuthUser"]=this.U,g=Kg(g,"authuser",this.U));this.W&&(d["X-Goog-PageId"]=this.W,g=Kg(g,"pageId",this.W));if(e&&this.ta==e)b&&b();else{this.H=[];this.V=0;var h=c.Za();d={url:g,body:h,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Da};g=r(function(a){var d=ci(c,sD,3);401==a&&e&&(this.ta=e);if(500<=
a&&600>a||401==a||0==a)this.H=d.concat(this.H);b&&b()},this);this.Ba(d,function(){a&&a()},g)}}};xD.prototype.R=function(){this.ka&&aGa(this);this.flush()};
var aGa=function(a){bGa(a,function(a,c){a=Kg(a,"format","json");return rk().navigator.sendBeacon(a,c.Za())})},bGa=function(a,b){if(0!=a.H.length){var c=Ng(a.ma,"format");c=Ig(c,"auth",a.ra(),"authuser",a.U||"0");for(var d=0;10>d&&a.H.length;++d){var e=a.H.slice(0,32),g=gi(a.S);VFa(g);ei(g,3,e);if(!b(c,g))break;a.H=a.H.slice(e.length)}}},$Fa=function(){this.type="event-logged"};v($Fa,I);
var cGa=function(a){this.H=a;this.H.ka=!!rk().navigator.sendBeacon&&Ch};cGa.prototype.R=function(a){var b=new sD;tD(b,a.Za());this.H.log(b);this.H.R()};var dGa=function(a){this.H=a};dGa.prototype.R=function(a){var b=new sD;tD(b,a.Za());this.H.log(b);return new Ki(function(a,b){this.H.flush(a,b)}.bind(this))};var eGa=function(a,b,c){a=new Yk(a);B(c,a);var d=new Am(c);B(c,d);d.listen(a,"tick",b);a.start()};var yD=function(a,b,c,d){this.H=a;this.ka=b;this.$=c;this.R=new Co(this.V,3E3,this);this.S=new Cv;this.U=d};v(yD,A);yD.prototype.V=function(){if(0!=this.H.H.Bc()&&(!this.U||this.H.R)){var a=fGa(this.H),b=this.ka.R(a);b&&(Pi(b,r(function(){this.S.remove(b)},this)),this.S.add(b))}};yD.prototype.W=function(){var a=this.H,b=gGa(a,1153);b=zD(b);a.H.add(b);this.R.od()};
var hGa=function(a,b){this.R=a;this.H=b};var iGa=function(a){Xh(this,a,0,-1,null)};v(iGa,Uh);var AD=function(a){Xh(this,a,0,-1,jGa)};v(AD,Uh);var jGa=[3],kGa=function(a){Xh(this,a,0,-1,null)};v(kGa,Uh);AD.prototype.uj=function(a){H(this,27,a)};var mGa=function(a){Xh(this,a,0,-1,lGa)};v(mGa,Uh);var lGa=[2],nGa=function(a){Xh(this,a,0,-1,null)};v(nGa,Uh);var BD=function(a){Xh(this,a,0,-1,null)};v(BD,Uh);var CD={O7:0,SH:1,YG:2,WG:3,XG:4};BD.prototype.oe=function(a){H(this,10,a);return this};BD.prototype.xe=function(a){H(this,11,a);return this};BD.prototype.Zv=function(){return F(this,12)};BD.prototype.Xt=function(a){H(this,12,a);return this};
var oGa=function(a){Xh(this,a,0,-1,null)};v(oGa,Uh);var pGa=function(a){Xh(this,a,0,-1,null)};v(pGa,Uh);var DD={P7:0,TH:1,vH:2,CH:3,QH:4};var ED=function(a){Xh(this,a,0,-1,null)};v(ED,Uh);var FD=function(a){Xh(this,a,0,-1,null)};v(FD,Uh);var qGa=function(a){Xh(this,a,0,-1,null)};v(qGa,Uh);var GD=function(a){this.tb=a};GD.prototype.getId=function(){return this.tb};var HD=function(){this.U=this.H=null},rGa=function(a,b){b=a.U.H[b.getId()].Tv();var c=a.U;b.H=a.H;b.U=c;return b},ID=function(a){var b=bi(a.H,ED,5);null==b&&(b=new ED,di(a.H,5,b));return b},zD=function(a){var b=bi(a.H,FD,8);F(b,3);b=bi(a.H,ED,5);null!=b&&(b=gi(b),di(a.H,5,b));return a.H};
var sGa=function(){HD.call(this)};v(sGa,HD);var tGa=new GD("high_frequency_builder");sGa.prototype.fx=function(){return 1==F(bi(this.H,iGa,7),1)};var uGa=function(){};uGa.prototype.Tv=function(){return new sGa};var vGa=function(){this.H={};this.bI={};this.iA=null};var wGa=function(a){Xh(this,a,0,-1,null)};v(wGa,Uh);var xGa=function(a){Xh(this,a,0,-1,null)};v(xGa,Uh);wGa.prototype.uj=function(a){H(this,7,a)};var yGa=function(a){Xh(this,a,0,-1,null)};v(yGa,Uh);var zGa=function(a){Xh(this,a,0,-1,null)};v(zGa,Uh);var AGa=function(a){Xh(this,a,0,-1,null)};v(AGa,Uh);var BGa=function(a){Xh(this,a,0,-1,null)};v(BGa,Uh);var JD=function(a){Xh(this,a,0,-1,null)};v(JD,Uh);JD.prototype.getDevice=function(){return bi(this,AGa,9)};JD.prototype.getParent=function(){return bi(this,BGa,11)};JD.prototype.zd=function(a){di(this,11,a)};var CGa=function(a){Xh(this,a,0,-1,null)};v(CGa,Uh);var DGa=function(a){Xh(this,a,0,-1,null)};v(DGa,Uh);DGa.prototype.Lc=function(){return F(this,1)};var FGa=function(a){Xh(this,a,0,-1,EGa)};v(FGa,Uh);var EGa=[1];var GGa=function(){this.H=[]};GGa.prototype.add=function(a){this.H.push(a)};GGa.prototype.Bc=function(){return this.H.length};var HGa=function(){this.H={}};HGa.prototype.add=function(a){var b=F(a.H,12);this.H[b]=a};HGa.prototype.remove=function(a){delete this.H[a]};var IGa=function(){HD.call(this)};v(IGa,HD);var JGa=new GD("system_builder");var KGa=function(a,b){this.U=a;this.ka=b;this.W=1;this.V=this.S=null;this.$=new HGa;this.H=new GGa;this.R=!1},LGa=function(a,b){var c=new HD,d=new yGa,e=a.ka;c.H=d;c.U=e;c=rGa(c,JGa);H(c.H,10,b);H(c.H,2,b);a=a.W++;b=1E3*t();d=new FD;e=new qGa;H(e,1,b);di(d,1,e);H(d,3,1);di(c.H,8,d);H(c.H,12,a);H(c.H,13,a);H(c.H,4,b);H(c.H,3,a);return c},fGa=function(a){var b=a.H,c=b.H;b.H=[];return MGa(a,c)},MGa=function(a,b){var c=new FGa,d=gi(a.U.R);di(c,2,d);d=a.U;(d=d.H?gi(d.H):null)&&di(c,5,d);var e;for(d=b.length-
1;0<=d;d--){var g=bi(b[d],ED,5);if(g&&bi(g,AD,1)){g=bi(g,AD,1);p(F(g,12))&&!p(e)&&(e=F(g,12));g=bi(g,kGa,20);if(p(g)&&!p(h)){var h=new xGa;var k=F(g,2);p(k)&&H(h,2,k);g=F(g,1);p(g)&&H(h,1,g)}if(p(e)&&p(h))break}}d=null;if(p(e)||p(h))d||(d=new wGa),p(e)&&H(d,6,e),p(h)&&di(d,13,h);(e=d)&&di(c,3,e);a=gi(a.U.S);di(c,4,a);ei(c,1,b);return c},gGa=function(a,b){b=LGa(a,b);var c=a.$;var d=Object.keys(c.H);if(0==d.length)d=null;else{for(var e=[],g=0;g<d.length;g++){var h=Number(d[g]),k=c.H[h],n=new nGa;H(n, 1,h);h=F(k.H,10);H(n,2,h);e.push(n)}d=e}c=a.V;e=d;H(b.H,6,a.S);d=new mGa;H(d,1,c);e&&ei(d,2,e);c=ID(b);di(c,3,d);NGa(a,b);return b},NGa=function(a,b){a.S=F(b.H,12);a.V=F(bi(bi(b.H,FD,8),qGa,1),1)};
var OGa=function(){};OGa.prototype.Tv=function(){return new IGa};var PGa=function(){this.H=this.R=null};var QGa=function(){this.R=new DGa;this.H=null;this.S=new CGa;H(this.S,1,6)},RGa=function(a){null==a.H&&(a.H=new JD);return a.H};var SGa=function(){this.S=this.U=null;this.R=new QGa;this.H=null},TGa=function(a){var b=new SGa;b.U=a;return b},UGa=function(a,b){a.S=b;return a},VGa=function(a,b){a.H=b;return a},WGa=function(a,b){H(a.R.R,1,b);return a},XGa=function(a,b){H(a.R.R,6,b);return a},YGa=function(a){var b=new PGa;b.R=a.R;null!=a.H&&(b.H=a.H);null==b.H&&(b.H=new vGa);var c=new OGa;b.H.H[JGa.getId()]=c;c=new uGa;b.H.H[tGa.getId()]=c;c=b.H;var d=b.R;if(null==F(RGa(d),1)){var e=RGa(d),g=new zGa;di(e,1,g)}d=bi(RGa(d),zGa,1); c.iA=d;d=Zg(c.bI);for(e=0;e<d.length;e++)d[e].H(c.iA);b=new KGa(b.R,b.H);a=new yD(b,a.U,a.S,!1);return new hGa(b,a)};
var ZGa=function(a,b,c,d,e,g){xD.call(this,a,Qta,b,c,d,e,void 0,void 0,g)};v(ZGa,xD);var KD=function(){HD.call(this);this.S=this.V=this.R=null};l(KD,HD);var LD=function(a){if(!a.R){a.R=new BD;var b=ID(a);di(b,39,a.R)}return a.R};KD.prototype.oe=function(a){LD(this).oe(a);return this};KD.prototype.xe=function(a){a&&LD(this).xe(a);return this};KD.prototype.Xt=function(a){switch(a){case "ANNOTATION":a=CD.WG;break;case "DRAWING":a=CD.XG;break;case "IMAGE":a=CD.YG;break;default:a=CD.SH}LD(this).Xt(a);return this};var $Ga=new GD("keep_builder");
var aHa=function(){};aHa.prototype.Tv=function(){return new KD};var MD=function(){this.H=null};MD.prototype.init=function(a,b,c,d,e){e=void 0===e?!1:e;var g=new vGa,h=new aHa;g.H[$Ga.getId()]=h;a=this.H=bHa(g,a,b,c,d,e);b=a.R;c=LGa(b,716);NGa(b,c);c=zD(c);b.H.add(c);b=a.H;eGa(6E4,b.R.od,b.R);eGa(36E5,b.W,b);a.H.R.od();si(rk(),"unload",r(this.R,this))};MD.prototype.log=function(a,b,c){this.H&&(a=LGa(this.H.R,a),a=rGa(a,$Ga),p(b)&&b(a),c||(c=a,b=!kv.Ja().R(),c=LD(c),H(c,22,b)),b=this.H,c=b.R,H(a.H,6,c.S),a=zD(a),c.H.add(a),c.R=!0,a=b.H,3<=a.H.H.Bc()&&a.R.od())};
MD.prototype.R=function(){if(this.H){var a=this.H.H;if(!a.U||a.H.R){var b=zD(gGa(a.H,691));b=MGa(a.H,[b]);a.$.R(b)}a.V()}};var bHa=function(a,b,c,d,e,g){g=(void 0===g?0:g)?"https://jmt17.google.com/log":void 0;var h;d?h=new xD(128,function(){return"Bearer "+d()},null,g):h=new ZGa(128,e||null,g);e=new dGa(h);h=new cGa(h);return YGa(WGa(XGa(VGa(UGa(TGa(e),h),a),c),b))};ta(MD);
var cHa=[{TA:"Hjleke-HB1eCd",$A:["docs.google.com","docs.sandbox.google.com"],wF:"/document/"},{TA:"Hjleke-muPwQb",$A:["mail.google.com","mail.sandbox.google.com"],wF:"/mail/"}],ND=function(a){pD.call(this);this.W=a||null;this.S=""};l(ND,pD);ND.prototype.La=function(){this.Ga=R(Oia,{hb:"YPIHXb-Hjleke-XPtOyb",Ty:!0})};var dHa=function(a,b,c){MFa(a,c||"Source");if(a.S!=b){a.S=b;var d=new tl(b);cHa.forEach(function(b){var c=b.$A.some(function(a){return d.H.endsWith(a)});um(a.ha(),b.TA,c&&0<=d.S.indexOf(b.wF))})}}; ND.prototype.Gr=function(){return"Remove source"};ND.prototype.ms=function(){this.S&&window.open(this.S,"_blank")};ND.prototype.os=function(){this.setVisible(!1);this.V();this.W&&this.W.log(9293)};ND.prototype.V=function(){};
var OD=function(a,b){ND.call(this,nj(b));this.$=b;this.hd(a)};l(OD,ND);OD.prototype.update=function(){var a=Vr(this.Ca().Rd);a=(a=a?a.getContext():null)?a.Ni():null;this.setVisible(!!a);a&&dHa(this,a.Op||"",a.getTitle())};OD.prototype.V=function(){var a=Vr(this.Ca().Rd);a&&gj(this.$).apply(new el(this.Ca().getId(),a))};
var PD=function(a,b){J.call(this);this.Qa=a;this.S=b;this.R=null;this.ta=new OD(b,a);B(this,this.ta);this.ta.Lb(this);this.ra=new eHa(a,b);B(this,this.ra);this.ra.Lb(this);this.Fa=[];this.ka=null;this.Da=[];this.U=this.W=null;this.Ba=[];this.$=null;this.va={};this.ma=null;this.V=!1;this.H=new Am(this);B(this,this.H);this.H.listen(Ar.Ja(),"Ja",this.Ma).listen(b,"Ea",this.Ka)};l(PD,J);
PD.prototype.ne=function(a){this.H.$a(this.S,"Ea",this.Ka);this.S=a;this.ta.hd(a);this.ra.hd(a);this.Fa.forEach(function(b){return b.hd(a)});this.H.listen(this.S,"Ea",this.Ka)};PD.prototype.ud=function(a){var b=3!=a&&2!=a;NFa(this.ta,b);NFa(this.ra,b);this.Fa.forEach(function(a){return NFa(a,b)})};
var fHa=function(a,b){a.R=b;a.ma=b.querySelector(".IZ65Hb-jfdpUb-fmcmS");var c=a.R.firstChild;Bn(a.ta,c);Bn(a.ra,c);c="Created "+ft(a.S.Ug());a.ma&&Wn.Ja().Mb(a.ma,c);a.H.listen(b,"click",function(b){b=b.target;b instanceof Element&&(b==a.W||b==a.U||b.classList.contains("PoC6nf-IZ65Hb-IS8eVe-HiaYvf")||b.classList.contains("PoC6nf-IZ65Hb-IS8eVe-HiaYvf-bN97Pc"))&&a.dispatchEvent("Dc")})};
PD.prototype.update=function(){this.ta.update();this.ra.update();this.Ma();gHa(this);var a="Edited "+ft(Mr(this.S));Nr(this.S)?a="Note in Trash\u00a0\u00a0\u2022\u00a0\u00a0"+a:this.S.Ed&&(a="Note in Archive\u00a0\u00a0\u2022\u00a0\u00a0"+a);this.S.Me&&(a="Collaboration isn\u2019t available right now\u00a0\u00a0\u2022\u00a0\u00a0"+a);Hk(this.ma,a);this.R&&S(this.R,!this.V||!this.isEmpty())};PD.prototype.isEmpty=function(){return!this.ta.Sa()&&!this.ra.Sa()&&!this.Da.length&&eh(this.va)};
PD.prototype.Ma=function(a){var b=this;a=void 0===a?!1:a;var c=Ar.Ja(),d=[];mra(this.S).forEach(function(a){(a=Jr(c,a))&&d.push(a)});d.sort(function(a,b){return Cb(a.getName(),b.getName())});if(!a&&d.length==this.Da.length&&d.every(function(a,c){c=b.Da[c];return a.getId()==c.id&&a.getName()==c.name}))return!1;this.Da.length=0;this.Fa.splice(0).forEach(function(a){return a.dispose()});this.ka&&this.R.removeChild(this.ka);this.ka=null;var e=this.ra.ha().nextSibling,g=this.V?3<d.length?2:3:d.length;
d.forEach(function(a,c){b.Da.push({id:a.getId(),name:a.getName()});c<g&&(a=new QD(b.Qa,b.S,a),e?Bn(a,e):a.render(b.R),b.Fa.push(a))});a=d.length-g;0<a&&(this.ka=sk("DIV",["IZ65Hb-jfdpUb-RPzgNd-x00ATb"]),Hk(this.ka,"+"+a),this.R.insertBefore(this.ka,e));return!0};
var gHa=function(a,b){b=void 0===b?!1:b;a.W&&a.R.removeChild(a.W);a.W=null;a.U&&a.R.removeChild(a.U);a.U=null;Xg(a.S.ma,function(a){return"AB"==a.H||"TMS"==a.H})&&!a.S.Qe?a.W||(a.W=a.R.insertBefore(sk("DIV","PoC6nf-wXCw2c-Btuy5e"),a.U||a.Ba[0]||a.ma)):a.W&&(a.R.removeChild(a.W),a.W=null);Xg(a.S.ma,function(a){return Vs(a)})?a.U||(a.U=a.R.insertBefore(sk("DIV",["PoC6nf-wXCw2c-Btuy5e","PoC6nf-wXCw2c-Btuy5e-CSNiXd"]),a.Ba[0]||a.ma)):a.U&&(a.R.removeChild(a.U),a.U=null);var c=a.Qa.Ca().R.getName().toLowerCase(),
d=[],e=!1;Ug(a.S.R,function(a){c!=a.getEmail()&&(d.push(a),e=e||a.Hs)});if(b||d.length!=Yg(a.va)||!d.every(function(b){return b.getEmail()in a.va&&!!a.va[b.getEmail()]==!!b.Qc})){fh(a.va);a.Ba.splice(0).forEach(function(b){return a.R.removeChild(b)});a.$&&a.R.removeChild(a.$);a.$=null;var g=a.V?3<d.length?2:3:d.length;d.forEach(function(b,c){a.va[b.getEmail()]=!!b.Qc;if(c<g){var d=b.getEmail(),e=b.Ve();c=sk("DIV","PoC6nf-IZ65Hb-IS8eVe-HiaYvf");Ht(b)&&c.classList.add("uxVfW-JNdkSc");Jt(b)&&c.classList.add("uxVfW-qY47rf-JNdkSc");
b.Qc&&c.classList.add("lxJp4");var h=sk("DIV","PoC6nf-IZ65Hb-IS8eVe-HiaYvf-bN97Pc");h.style.backgroundImage=Mt(b)||"";c.appendChild(h);d=It(b)?e+"":e?Lo("%s (%s)",e,d):d;Wn.Ja().Mb(c,d);a.S.Xe&&b.Hs&&(c.classList.add("i7nOk"),c.style.borderColor=b.Yc()||"");a.Ba.push(c);a.R.insertBefore(c,a.ma)}});b=d.length-g;0<b&&(a.$=sk("DIV",["IZ65Hb-jfdpUb-RPzgNd-s7EWJd"]),Hk(a.$,"+"+b),a.R.insertBefore(a.$,a.ma));e?a.R.classList.add("BP2Omd-auswjd-CTipRe"):a.R.classList.remove("BP2Omd-auswjd-CTipRe")}};
PD.prototype.Ka=function(){gHa(this,!0)};PD.prototype.Na=function(){J.prototype.Na.call(this);delete this.R;delete this.ka;delete this.W;delete this.U;delete this.Ba;delete this.$;delete this.ma};var eHa=function(a,b){pD.call(this);this.S=a;this.hd(b)};l(eHa,pD);f=eHa.prototype;f.La=function(){this.Ga=R(Oia,{hb:"zyxPWd-XPtOyb",Ty:!0})};
f.update=function(){var a=this.Ca(),b=a.Rb();if(!b||b.Sb()||Nr(a)||a.Sb())this.setVisible(!1);else{this.ha().classList.remove("yDLdKe","ihIZgd","P86uke","qq0Oqd");"DISMISSED"==b.R?this.ha().classList.add("yDLdKe"):b.Gd?this.ha().classList.add("P86uke"):b.H?this.ha().classList.add("qq0Oqd"):this.ha().classList.add("ihIZgd");var c="";Cqa(b)?hHa(cj(this.S,"w"),function(a){Ug(yt,function(d){b.Gd.getType()==d&&a[d]&&(c=a[d].H)})}):c=b.Gd&&b.Gd.R?b.Gd.R:"";MFa(this,lsa(b),c);this.setVisible(!0)}};
f.Gr=function(){return"Delete reminder"};f.ms=function(){this.dispatchEvent("yc")};f.os=function(){gj(this.S).apply(new cl("deleteReminder",this.Ca().getId()))};var QD=function(a,b,c){pD.call(this);this.V=a;this.S=c;this.hd(b)};l(QD,pD);QD.prototype.Ha=function(){pD.prototype.Ha.call(this);this.ha().classList.add("notranslate");MFa(this,this.S.getName())};QD.prototype.Gr=function(){return"Remove label"};QD.prototype.ms=function(){this.V.Ca().S.setTag(this.S)}; QD.prototype.os=function(){gj(this.V).apply(new Jha("removeTag",this.Ca().getId(),this.S))};
var RD=function(a){J.call(this);this.ka=a;this.$="";this.S=this.U=this.W=this.ta=this.V=this.R=null;this.H=new Am(this);B(this,this.H);this.ma=this.ra=!1;this.Da=0};v(RD,J);RD.prototype.init=function(a,b,c){this.R=a;this.V=b;this.ta=c;this.$||(this.$=this.ka.Ca().R.getName().toLowerCase());this.H.listen(a,"Ea",this.va)};RD.prototype.ne=function(a){this.H.$a(this.R,"Ea",this.va);this.R=a;this.H.listen(a,"Ea",this.va)};
RD.prototype.update=function(a){if(this.V){this.Da=a;this.$||(this.$=this.ka.Ca().R.getName().toLowerCase());if(this.R.Dc){this.W?S(this.W,!0):(this.W=R(oCa),zk(this.V,this.W,0));a=this.W.style;var b=qj(this.ka),c=this.R.Yc();a.backgroundColor=b.R[c]||b.R.DEFAULT;this.ra=!0}else this.W&&(this.V.removeChild(this.W),this.W=null),this.ra=!1;iHa(this);jHa(this)}};
var jHa=function(a){if(a.R.$()){var b=ju(a.R,a.$),c=ira(a.R,a.$);if(b){var d=a.R;d=d.Id&&ah(d.R,d.Id)?d.R[d.Id]:cra(d)}else d=c?hra(a.R):null;if(!d||a.ma||0==a.Da)a.S&&(a.V.removeChild(a.S),a.S=null,a.V.classList.remove("BP2Omd-PoC6nf-bF1uUb"),KEa(a.ta,!1));else{a.S||(a.S=R(nCa),zk(a.V,a.S,0));S(a.S.querySelector(".PoC6nf-IZ65Hb-V67aGc"),b);var e=a.S.querySelector(".PoC6nf-IZ65Hb-IS8eVe-V1ur5d"),g=d.Ve(),h=d.getEmail();Hk(e,g||h);e=a.S.querySelector(".PoC6nf-IZ65Hb-IS8eVe-HiaYvf-bN97Pc");e.style.backgroundImage=
Mt(d)||"";Wn.Ja().Mb(e,g?Lo("%s (%s)",g,h):h);d=a.S.style;g=qj(a.ka);h=a.R.Yc();d.background=g.U[h]||g.U.DEFAULT;d=a.S.querySelector(".PoC6nf-IZ65Hb-gElRsf");var k;b?k=ft(a.R.U.W||new sr,!0):c&&(k="Edited "+ft(Mr(a.R)));Hk(d,k||"");S(a.S,!0);a.V.classList.add("BP2Omd-PoC6nf-bF1uUb");KEa(a.ta,!0)}}},iHa=function(a){if(!Xg(a.R.ma,function(a){return"AB"==a.H||"TMS"==a.H})||a.R.Qe||a.ra)a.U&&(bja(a.H,a.U,a.Ba),a.V.removeChild(a.U),a.U=null),a.ma=!1;else{if(!a.U){a.U=R(dEa);zk(a.V,a.U,0);var b=lk("IZ65Hb-zJtgdf-Ne3sFf",
a.U);Hk(b,"Fix errors");Q(a.U,"PoC6nf-wXCw2c-bF1uUb");Cm(a.H,a.U,Em,a.Ba,void 0)}a.U.style.backgroundColor=kHa(qj(a.ka),a.R.Yc());a.ma=!0}};RD.prototype.va=function(){iHa(this);jHa(this)};RD.prototype.Ba=function(){var a=this.R;a.Qe=!0;a.notify();this.dispatchEvent("Dc")};
var SD=function(a,b,c){nB.call(this,a,b,c);this.Da=null;this.U=new HEa(b,a,c);this.U.Lb(this);this.Ia(this.U);this.nb=new RD(b);this.nb.Lb(this);K(this.getContext()).H.n_ewle&&(this.$=new nD(a,b,c),this.Ia(this.$));this.V=new RC(a,b,c);this.Ia(this.V);this.rb=new LC(b,a,c);this.Ia(this.rb);this.Fa=new PD(b,a);this.Fa.Lb(this);B(this,this.Fa);this.W=new vC(b,c);this.Ia(this.W);c=this.W;c.H=[a];c.update();this.Xb=new co;this.Ia(this.Xb);this.Ua=!1;this.ab=1;this.Qa=this.Ba=this.Dc=this.Ib=this.jc=!1;
this.Lf=!0;this.Ta=new io(lHa(a),mHa(a));this.Ia(this.Ta);a=this.va=new io(a.Ed?"Pin archived note":"Pin note","Unpin note");ao(a,"pin",void 0);a.Ka="unpin";this.Ia(this.va);this.ra=null;this.ef=new Vn(this.$Y,218,this);B(this,this.ef);this.Ql=!!K(b).H.n_evs&&!!K(b).H.n_evt;this.Rh=b.Ca().R.getName();this.Tl=fea(K(b));this.re=void 0;this.Jc=this.Qe=null};v(SD,nB);f=SD.prototype;
f.La=function(){this.Ga=R(kCa,{UF:!this.Qa,CZ:Ph(K(this.getContext()))});um(this.ha(),"IZ65Hb-WsjYwc-nUpftc",this.Ua);this.Ma=this.ub("IZ65Hb-TBnied");this.ka=this.ub("IZ65Hb-s2gQvd");this.Id=this.ub("IZ65Hb-yePe5c");this.$&&this.$.Ra(this.ub("IZ65Hb-hSRGPd-e1YmVc-FCjw3e"));this.V.Ra(this.ub("IZ65Hb-hYUzqc"));this.rb.Ra(this.ub("IZ65Hb-kODWGd"));this.W.Ra(this.ub("IZ65Hb-INgbqf"));this.Xb.Ra(this.ub("IZ65Hb-iib5kc"));this.Ta.Ra(this.ub("IZ65Hb-NGme3c"));this.va.Ra(this.ub("IZ65Hb-nQ1Faf"));fHa(this.Fa,
this.ub("IZ65Hb-jfdpUb"));rCa(this.U,this.V.ha())};
f.Ha=function(){var a=this;SD.ua.Ha.call(this);V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(this,this.ka,"scroll",this.YE),this.U,"Vc",this.bT),this.U,"Xc",this.xD),this.U,"jc",this.Jl),this.U,"Zb",this.rl),this.Xb,"action",this.rP),this.V,"rd",this.Sx),this.V,"qd",this.VV),this.V,"Sb",this.Jl),this.Fa,"yc",function(){return a.W.tG()}),this.W,"Sc",this.eT),this.W,"Lc",this.xQ),this.W,"Bc",this.Vu),this.W,"Ic",this.HP),this.W,"Pc",this.mS),this.W,["Mc","Nc"],this.XQ),this.W,"Kc",this.Rx),
this,"Hb",this.IS),this,"Jc",this.WP),this,"tb",this.KC),this,["Dc","Hc"],this.bO),this,"Yc",this.WV),this,"Wb",this.OO),this.Ca(),"ia",this.Qx),this.Ta,"action",this.ZE),this.Ta.ha(),["blur","focus"],this.Rx),this.va,"action",this.ZV),this.va.ha(),["blur","focus"],this.Rx);mB(this,ska,this.ZE);mB(this,uka,this.KC);mB(this,yka,this.XV);mB(this,zka,this.YV);this.nb.init(this.Ca(),this.Tb(),this.W);p(this.re)&&this.qh(this.re)};
f.ne=function(a){kB(this,this.Ca(),"ia",this.Qx);this.V.ne(a);this.rb.ne(a);this.nb.ne(a);this.$&&this.$.hd(a);this.Fa.ne(a);var b=this.W;b.H=[a];b.update();this.Ba&&(b=(b=fj(this.getContext()))&&TD(b))&&b.ne(a);SD.ua.ne.call(this,a);V(this,a,"ia",this.Qx)};
f.update=function(){var a=this.Ca(),b=a.getTitle();this.U.kc(b,!0);this.U.setVisible(!!b||this.Vf());um(this.ha(),"di8rgd-r4nke",!b);this.V.update();this.$&&this.$.update();this.rb.update();this.W.update();this.Fa.update();b=Joa(Ar.Ja());b!=this.Lf&&(this.$.setVisible(b),this.Lf=b);um(this.ha(),"IZ65Hb-urCF6c",Nr(a));b=UD(this);this.Tb().style.backgroundColor=b;this.U.ha().style.backgroundColor=b;this.ra&&(this.ra.style.backgroundColor=b);um(this.Tb(),"HLvlvd-h1U9Be","DEFAULT"==this.Ca().Yc());nHa(this);
this.$&&oHa(this);pHa(this);VD(this);b=fra(a,this.Rh);this.nb.update(this.ab);0==this.Tc&&Du(a)&&a.Xe&&this.Od(!a.Dc);um(this.ha(),"IZ65Hb-tPcied-dU5J5b-PoC6nf",b);this.Ba&&(b=fj(this.getContext()),(b&&TD(b)).update());jo(this.Ta,a.isSelected());um(this.ha(),"IZ65Hb-gk6SMd",a.isSelected());this.Ta.Mb(lHa(a));b=this.Ta;var c=mHa(a);b.Ab=c;b.U&&bo(b,c);jo(this.va,a.$d());this.va.Mb(a.Ed?"Pin archived note":"Pin note");Tk(this.va.ha(),"pressed",this.va.U);um(this.va.ha(),"HLvlvd-MG7Pl",!this.V.isEmpty());
um(this.ha(),"IZ65Hb-bJ69tf",a.$d())};f.wk=function(){nHa(this);pHa(this);this.$&&oHa(this)};var WD=function(a){return a.Ba?(a=fj(a.getContext()),(a&&TD(a)).S):a.ka};SD.prototype.Tb=function(){return this.Ma};SD.prototype.getSelection=function(){if(document.activeElement==this.U.ha()){var a=this.Ca().getId();return new Ct(a,a,bB(this.U))}return null};SD.prototype.xg=function(a){SD.ua.xg.call(this,a);VD(this)};
var VD=function(a){var b=a.Ca();a.Ce()||Xt(b)?a.ud(2):Nr(b)?a.ud(3):b.Dc||Du(b)&&a.Tl<b.Ib?a.ud(2):fra(b,a.Rh)?a.ud(4):Oh(K(a.getContext()))&&Du(b)&&!qHa(a)?a.ud(5):a.ud(a.ab)},rHa=function(a){0!=a.ab&&(a.ab=0,VD(a),a.nb.update(0))};SD.prototype.Xm=function(){this.U.ud(this.Tc);this.W.ud(this.Tc);this.Fa.ud(this.Tc);sHa(this)||this.Ba&&XD(this,!1,!0);0==this.Tc||1==this.Tc||5==this.Tc?NEa(JC.Ja(),this):OEa(this);this.va.setEnabled(2!=this.Tc);this.Ta.setEnabled(2!=this.Tc)};
SD.prototype.qh=function(a){this.lb?kn(this.ha(),0<a?a:""):this.re=a};SD.prototype.yt=function(a){this.Qa!=a&&(this.Qa=a,this.$&&(JFa(this.$,a),this.lb&&tHa(this)))};var YD=function(a,b,c,d,e,g,h){lEa(a.getContext(),b,a.Ma,a,c,d,e,g,h,void 0)};SD.prototype.getTitle=function(){return this.U.getText()};var uHa=function(a,b){b.S==a.Ca().getId()&&(b.H==a.Ca().getId()?a.U.focus(b.R):a.wh(b.H,b.R))};f=SD.prototype;
f.An=function(a){this.ha()&&um(this.ha(),"IZ65Hb-WsjYwc-nUpftc",a);this.U.Ll(a);var b=this.V;(b.ra=a)&&6!=b.S&&(b.S=6,b.ou());b=this.Fa;if(b.V!=a){var c=b.V&&b.ka||!b.V&&3<b.Fa.length,d=b.V&&b.$||!b.V&&3<b.Ba.length;b.V=a;b.R&&(c&&b.Ma(!0),d&&gHa(b,!0));b.R&&S(b.R,!b.V||!b.isEmpty())}this.Ua=a};f.Tx=function(a){a&&(a=JC.Ja(),NEa(a,this),a.ma=this)};
f.In=function(a){this.U.setVisible(a||this.Ca().getTitle());this.U.Od(a);a?(a=JC.Ja(),NEa(a,this),a.ka=this,V(this,hj(this.getContext()),"gd",this.Uw)):(a=this.V,6!=a.S&&(a.S=6,a.ou()),JC.Ja().ka=null,kB(this,hj(this.getContext()),"gd",this.Uw));this.Uw()};f.hk=function(a){ZBa(this.U,a)};
f.Ol=function(a){if(!SD.ua.Ol.call(this,a)||a==this.Xb.ha()||Fk(this.Ta.ha(),a)||Fk(this.va.ha(),a)||Fk(this.W.ha(),a)||this.Qa&&Fk(this.V.ha(),a)||this.V.R==a)return!1;if(this.Ba){var b=fj(this.getContext());if((b=b&&TD(b))&&Fk(b.ha(),a))return!1}(b=Fk(this.rb.ha(),a)||this.$&&Fk(this.$.ha(),a)&&(this.Qa||!!a&&qm(a,"hSRGPd-e1YmVc-FNFY6c-LgbsSe")))||(b=this.Fa,b=!!b.R&&a!=b.ka&&a!=b.$&&a!=b.R&&b.R.contains(a));return b?!1:!0};f.XE=Di;f.AD=function(){return this.jc};
var wHa=function(a,b){tFa(a.V,b,r(function(a){this.Qa&&vHa(kj(this.getContext()),a)},a))},nHa=function(a){Xt(a.Ca())?(a.Da||(a.Da=R(dEa),zk(a.Tb(),a.Da,0),lB(a,a.Da,a.JC)),a.Da.style.backgroundColor=kHa(qj(a.getContext()),a.Ca().Yc()),VD(a)):a.Da&&(pCa(a,a.Da,a.JC),a.Tb().removeChild(a.Da),a.Da=null,VD(a))},pHa=function(a){var b=a.Ca();b=(wu(b,"IMAGE")||wu(b,"DRAWING"))&&!b.getTitle()&&!(Yt(b)?pu(b).length:yu(b))&&!wu(b,"AUDIO")&&a.Fa.isEmpty();um(a.ha(),"xJzy8c-YuD1xf",b)},oHa=function(a){var b=
a.Ca();b=!eh(Wr(b.Rd))&&!b.getTitle()&&!Yt(b)&&!wu(b)&&!mu(b)&&a.Lf&&(!yu(b)||KFa(a.$,yu(b)));a.Ib!=b&&(a.Ib=b,um(a.ha(),"hSRGPd-KNkArd-YuD1xf",a.Ib),tHa(a))},tHa=function(a){a.Ma&&a.ka&&(a.Qa||a.Ib?a.ka.appendChild(a.$.ha()):a.Ma.appendChild(a.$.ha()))},UD=function(a){return qj(a.getContext()).getValue(a.Ca().Yc())},sHa=function(a){return 1!=a.ab&&3!=a.Tc&&4!=a.Tc},XD=function(a,b,c){var d=fj(a.getContext());b=b&&sHa(a);if(d&&a.Ba!=b){var e=TD(d);b?(xHa(d,a.ha(),a.Ca(),a),bFa(e.ha(),a.Ma,a.ha(),
UD(a),c)):(cFa(e.ha(),a.Ma,a.ha(),UD(a),function(){return e.setVisible(!1,!0)},c),a.nb.update(a.ab),L(function(){this.W.R.focus()},218,a));a.dispatchEvent("Bb");a.Ba=b}},qHa=function(a){var b=a.Ca().getId();return(a=pj(a.getContext()))&&uC(a,b)?!0:!1},REa=function(a){a.ef.stop();a.ra||(a.ra=R(mCa),a.ra.style.backgroundColor=UD(a),a.Ma.insertBefore(a.ra,a.Ma.firstChild));L(function(){this.ra&&Q(this.ra,"eo9XGd")},0,a)},KC=function(a){a.ra&&(sm(a.ra,"eo9XGd"),a.ef.start())};f=SD.prototype;
f.$Y=function(){Ak(this.ra);this.ra=null};f.YE=function(){var a=this.ka.scrollTop;um(this.Id,"vUSp5d",a+this.ka.offsetHeight<this.ka.scrollHeight);a=a>this.V.ha().offsetHeight;this.Sv().style.paddingTop=a?this.U.ha().offsetHeight+"px":"";um(this.ka,"r4nke-bJ69tf-ma6Yeb",a)};f.HP=function(){var a=this.Ca().duplicate();fu(a,0);this.apply(new fl(a,a.Wc));this.dispatchEvent(new hza(a.getId()))};
f.KC=function(){var a=this.Ca(),b=Yt(a)?"NOTE":"LIST";"NOTE"==b&&Xg(pu(a),function(a){return a.Pc})?(Bo.Ja().show("Delete checked items?","Keep","Delete",r(this.RO,this),void 0,!0),this.ma=!0):yHa(this,a,b)};f.RO=function(a){var b=this.Ca();yHa(this,b,"NOTE",!a);this.ma=!1};var yHa=function(a,b,c,d){a.apply(new Fha(b.getId(),c,d));(a=pj(a.getContext()))&&uC(a,b.getId())&&a.Ta();al.Ja().speak("NOTE"==c?"Checkboxes hidden":"Checkboxes shown")};f=SD.prototype;
f.eT=function(){this.Ql&&this.apply(new cl("transcribe",this.getId()))};f.bT=function(a){Ju(mj(this.getContext()),this.Ca(),"titleedited");this.apply(new dl("changeTitle",this.getId(),this.U.getText(),a.R));a=this.Ca().getId();var b=pj(this.getContext());b&&uC(b,a)&&(a=b.R,a.Dh()&&a.V&&a.V.kc(a.node.getTitle()))};f.mS=function(){K(this.getContext()).H.n_earow&&Bo.Ja().show("We\u2019ll flag this note and remove it from your account.","Report","Cancel",r(this.lS,this))};
f.WP=function(){var a=cj(this.getContext(),"n");a&&zHa(a,[this.Ca()])};f.lS=function(a){a&&this.apply(new cl("report",this.getId()))};f.Qx=function(a){YBa(this.U,a.text,a.position,a.size)};f.Bw=function(a){if(this.Ba){var b=fj(this.getContext());if((b=b&&TD(b))&&b.cancel()){a.uc();return}}SD.ua.Bw.call(this,a)};f.ws=function(a){if(this.Ba){var b=fj(this.getContext());if((b=b&&TD(b))&&!b.xt())return}SD.ua.ws.call(this,a)};f.rP=function(a){this.ws(a);this.dispatchEvent("Zb")};
f.ZE=function(){this.Ca().jd(!this.Ca().isSelected());this.dispatchEvent("zb")};f.ZV=function(){var a=this.Ca().$d()?"unpin":"pin";this.apply(new cl(a,this.getId()))};f.Sx=function(a){0==this.Tc&&wu(this.Ca(),"IMAGE")&&(a=vu(a.target.Ca()),this.dispatchEvent(new EAa(a)))};
f.VV=function(a){if(0==this.Tc){var b=!1;this.getContext().Ca().getState().V?hv(this.getContext().Ca().getState())?this.dispatchEvent(new FAa(a.target.Ca())):(this.Qe&&(b=vv(this.Qe)),b||(this.Qe=sj(this.getContext()).show("Drawings can\u2019t be edited offline")),this.Sx(a)):(this.Jc&&(b=vv(this.Jc)),b||(this.Jc=sj(this.getContext()).show("Drawing is not available")),this.Sx(a))}};f.xQ=function(){rFa(this.V)};
f.Vu=function(){var a=kj(this.getContext()),b=this.Ca().getId();AHa(a,b);gv(a.getContext().Ca().getState(),!0);BHa(a.S,b)};f.bO=function(a){sHa(this)?XD(this,"Dc"==a.type):this.dispatchEvent(new jA(a))};f.OO=function(a){this.Ba&&XD(this,!1,!!a.R);a.R&&(this.rl(a),this.dispatchEvent("Zb"))};f.JC=function(a){a.uc();this.dispatchEvent("wc")};var CHa=function(a){tv(sj(a.getContext()),"Can\u2019t edit in Trash","Restore",function(){a.apply(new cl("untrash",a.getId()))})};f=SD.prototype;
f.XQ=function(a){this.jc="Nc"==a.type;um(this.ha(),"cb6R2e-AHmuwe",this.Dc||this.jc)};f.Rx=function(){var a=Qk(this.Aa());this.Dc=!!a&&Fk(this.ha(),a);um(this.ha(),"cb6R2e-AHmuwe",this.Dc||this.jc)};f.IS=function(a){this.Qa&&this.Ma&&YD(this,a.message,a.R)};f.WV=function(){var a=mj(this.getContext()),b=this.Ca().getId();vb(b,".fce")&&!a.$.has(b)&&(a.$.add(b),a.mb("KeepItEngagement","Link Clicked"),a.H&&a.H.log(9218));nj(this.getContext()).log(9073)};f.YV=function(){this.dispatchEvent("pc")};
f.XV=function(){this.dispatchEvent("qc")};f.Uw=function(){var a=this.W;a.ra&&a.ka&&(a.ra.setEnabled(hj(a.getContext()).Of()),a.ka.setEnabled(hj(a.getContext()).Nf()))};f.Na=function(){SD.ua.Na.call(this);OEa(this);delete this.Da;delete this.Ma;delete this.ka;delete this.Id};
var lHa=function(a){return Nr(a)?"Select trashed note":a.Ed?"Select archived note":a.$d()?"Select pinned note":"Select note"},mHa=function(a){return Nr(a)?"Deselect trashed note":a.Ed?"Deselect archived note":a.$d()?"Deselect pinned note":"Deselect note"};
var ZD=function(a,b,c,d){SD.call(this,a,c,d);this.Va=Ar.Ja();this.H=new FB(c,b,d);this.Ia(this.H);WCa(this.H,Br(this.Va)?SCa:TCa);this.Nh=this.H.V;this.S=this.R=null;this.wb=this.Ab=void 0;Wt(a)?(a.ka||(a.ka=xoa(),a.H.listen(a.ka,"Da",a.ef),a.ka.Lb(a)),a=a.ka):a=xoa();this.Oh=a;this.ta=this.wc=null};v(ZD,SD);var DHa=Ut+1,EHa=Tt-1,FHa=new qz("{checkedItemCount, plural, =1 {# Completed item} other {# Completed items}}");
ZD.prototype.Ha=function(){ZD.ua.Ha.call(this);Q(this.ha(),"rymPhb");var a=this.U.ha();rCa(this.H,a);a=this.Ca();V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(this,this,"Tc",this.oS),this,"Gc",this.cS),a,"ja",this.gP),this.H,"jc",this.rO),this.H,"Zc",this.HB),this.H,"$c",this.KB),this.H,"dd",this.xO),this.H,"bd",this.tO),this.H,"ad",this.sO),this.H,"cd",this.gR),this.H,["zc","Ac"],this.zO),this.H,"Vc",this.yO),this.H,"Sb",this.Jl),this.H,"Qb",this.UV),this.H,"Rb",this.SV),this.H,"pc",this.vO),this.H,"qc",this.uO);
mB(this,Aka,this.IB);mB(this,Bka,this.JB);this.update(!0)};ZD.prototype.getType=function(){return"LIST"};
ZD.prototype.update=function(a){ZD.ua.update.call(this,a);um(this.ha(),"tPcied-mwcmwf-Xl4I9e",Du(this.Ca())&&!this.Vf());a?(a=ru(this.Ca()),this.H.setVisible(!this.Ua||a.some(function(a){return!!a.getText()})),eDa(this.H,a),this.H.xd(function(a){var b=a.Ca();a.Bj=!(this.Ab&&b.Pc);a.ud(this.Tc);a.Ll(this.Ua)},this),a=Yca(a,function(a){return a.Pc}),$D(this),aE(this),GHa(this,a),this.H.H.W()):($D(this),aE(this))};
ZD.prototype.wk=function(a){ZD.ua.wk.call(this,a);var b=pu(this.Ca());this.H.setVisible(!this.Ua||b.some(function(a){return!!a.getText()}));HHa(this,a);$D(this);aE(this);b=b.reduce(function(a,b){return b.Pc?a+1:a},0);GHa(this,b);BB(this.H,a.getId())};var HHa=function(a,b){var c=b.getId(),d=a.H.Eb(c);if(b.Sb())d&&d==a.H.H.S&&a.R&&a.wh(a.R.getId()),a.H.ka(c,!0);else if(d)a.H.va(b)||(d.update(),d.Bj=!(a.Ab&&b.Pc));else if(a.H.insertNode(b),d=a.H.Eb(c))d.Bj=!(a.Ab&&b.Pc),d.ud(a.Tc),d.Ll(a.Ua)};f=ZD.prototype;
f.Sv=function(){return this.H.ha()};f.getSelection=function(){var a=ZD.ua.getSelection.call(this);if(a)return a;var b=this.H.H.S;document.activeElement==b.fe.ha()&&(a=bB(b.fe));return a?new Ct(this.Ca().getId(),b.Ca().getId(),a):null};f.zn=function(a,b){ZD.ua.zn.call(this,a,b);a&&Fk(this.H.ha(),a)||IHa(this)};f.Ol=function(a){return ZD.ua.Ol.call(this,a)&&!Fk(this.H.Tb(),a)};f.Xm=function(){ZD.ua.Xm.call(this);$D(this);aE(this);this.H.xd(function(a){a.ud(this.Tc)},this)};
f.In=function(a){ZD.ua.In.call(this,a);a||IHa(this);if(!this.ta&&a){a=new dC(this.getContext(),r(this.fO,this));SDa(a);var b=new $B(this.ha(),new fC);b.S=!0;this.wc=new eC(this.getContext(),this.Ca());this.ta=new JB(this.wc,b,a);this.ta.Zu=!0;this.ta.uv=!1;a.H=this.ta;B(this,this.ta);V(this,this.ka,"scroll",Fi(r(this.ta.ie,this.ta)));V(this,HB.Ja(),"fd",Fi(r(this.ta.ie,this.ta)))}Oh(K(this.getContext()))&&um(this.ha(),"tPcied-mwcmwf-Xl4I9e",Du(this.Ca())&&!qHa(this))};
f.An=function(a){ZD.ua.An.call(this,a);this.H.xd(function(b){b.Ll(a)});cDa(this.H,a?11:Number.MAX_VALUE)};f.qh=function(a){ZD.ua.qh.call(this,a);this.H.H.W()};f.yt=function(a){ZD.ua.yt.call(this,a);JHa(this)};var IHa=function(a){a.H.xd(function(a){a.Od(!1)});$D(a)};ZD.prototype.Qf=function(a,b){if(this.R)this.wh(this.R.getId(),void 0,b);else if(a=this.H.Kc(0)){var c=this.H;c.H.focusNode(vB(c.H,0));a.Od(!0,b)}};
ZD.prototype.wh=function(a,b,c){"__keep-lqi__"==a&&this.R&&(a=this.R.getId());if(a=this.H.Eb(a))this.H.H.Fa(),a.dispatchEvent("jc"),a.Qf(b,c)};ZD.prototype.hk=function(a){ZD.ua.hk.call(this,a);this.H.xd(function(b){b instanceof pB&&b.hk(a)})};ZD.prototype.zD=function(){return kg(this.Nh,function(a){return vAa(a)})};
var MHa=function(a,b,c){var d=KHa(a),e=LHa(a);b!=d&&c!=d&&b!=e&&c!=e&&YCa(a.H,b,c)},NHa=function(a){if(a.R)return a.R;var b=Qt(a.Ca().getId());b.xh(!0);fu(b,Cr(a.Va)?DHa:EHa);a.H.insertNode(b);var c=a.H.Eb(b.getId());Q(c.ha(),"aptq0d-ibnC6b");uCa(c,!0);c.Bj=!1;c.ud(a.Tc);V(a,c,"Vc",a.gD);return b},$D=function(a){var b=0==a.Tc&&999>a.Ca().Sc();if(Cr(a.Va)&&!a.R){var c=a.H.Kc(0);c&&(b&=!c.Vf())}b?a.R?(b=Cr(a.Va)?DHa:EHa,a.R.Ob!=b&&(fu(a.R,b),a.H.va(a.R))):a.R=NHa(a):a.R&&(a.H.ka(a.R.getId(),!0),OHa(a))},
OHa=function(a){var b=a.H.Eb(a.R.getId());b&&(kB(a,b,"Vc",a.gD),sm(b.ha(),"aptq0d-ibnC6b"),uCa(b,!1),b.Bj=!0);a.R=null},KHa=function(a){if(!a.R)return-1;var b=a.H.Eb(a.R.getId());return Dn(a.H,b)},aE=function(a){JHa(a);var b=Br(a.Va),c=b&&"COLLAPSED"==a.Oh.H;if(a.S){var d=a.H.Eb(a.S.getId());d&&Tk(d.ha(),"expanded",!c)}if(a.Ab!=b||a.wb!=c)a.Ab=b,a.wb=c,um(a.ha(),"qAWA2",c),um(a.ha(),"NYTeh-IT5dJd",b),WCa(a.H,b?SCa:TCa),dDa(a.H),a.H.H.W(),ru(a.Ca()).forEach(function(c){c.Pc&&(c=a.H.Eb(c.getId()))&&
(c.Bj=!b)})},PHa=function(a){if(!Br(a.Va)||!a.Qa&&0!=a.Tc)return 0;var b=0;Ug(a.Ca().getChildren(),function(a){gu(a)&&a.Pc&&!a.Sb()&&b++});return b},JHa=function(a){var b=PHa(a);if(b)if(a.S)GHa(a,b);else{a.S=Qt(a.Ca().getId());fu(a.S,EHa-1);a.S.kc(FHa.format({checkedItemCount:b}));dDa(a.H);a.H.insertNode(a.S);b=a.H.Eb(a.S.getId());um(b.ha(),"NYTeh-tJHJj",!0);b.bn=!0;b.fe.ud(2);Jk(b.ha(),0==b.Tc);Rk(b.Ga,"button");b.ds||(b.ds=sk("DIV"),Q(b.ds,"NYTeh-tJHJj-Q8Kwad"),b.Tq.appendChild(b.ds));b.Bj=!1;var c=
sk("DIV");Q(c,"NYTeh-hgDUwe");zk(b.ha(),c,0);lB(a,b.ha(),a.UC)}else if(a.S){if(b=a.H.Eb(a.S.getId()))pCa(a,b.ha(),a.UC),a.H.ka(a.S.getId(),!0);a.S=null}},LHa=function(a){if(!a.S)return-1;var b=a.H.Eb(a.S.getId());return Dn(a.H,b)},GHa=function(a,b){var c=a.H;b?(c.$||(c.$=sk("DIV"),rm(c.$,["NYTeh-DpXLtd","IZ65Hb-YPqjbf","CmABtb-YPqjbf"]),yk(c.$,c.Tb())),Hk(c.$,bDa.format({count:b})),S(c.$,!0)):c.$&&S(c.$,!1);a.S&&(c=a.H.Eb(a.S.getId()))&&(a.S.kc(FHa.format({checkedItemCount:b})),c.update())};f=ZD.prototype;
f.gP=function(a){if((a=a.target)&&a.Wc&&gu(a)){var b=bE(this);b&&(a.Sb()?cE(b,a.getId()):dE(b,a.getId()))}};f.xD=function(){var a=this;L(function(){var b=a.H.Kc(0);b&&a.wh(b.getId(),0)},0)};f.rO=function(a){if(this.ta&&0==this.Tc){var b=a.target;if(!b.Ca().Pc){var c=b.fe;c.S=this.ta;var d=c.ha();c.S.$=d;c.S.ra(c.ha());c=this.wc;c.R=null;b!=c.S&&(c.U=b.getId()+(new Date).getTime()+"--"+Math.round(2147483648*Math.random()));c.S=b}}a.target=this;$D(this)};
f.IB=function(){if(this.ha()===Qk(this.Aa())){var a=this.H;a.H.focusNode(vB(a.H,0))}else FCa(this.H.H)};f.JB=function(){if(this.ha()===Qk(this.Aa())){var a=this.H;a.H.focusNode(vB(a.H,uB(a.H)-1))}else GCa(this.H.H)};f.HB=function(){this.IB();var a=this.H.H.S;a&&(this.S&&a.getId()==this.S.getId()?this.HB():(this.wh(a.getId()),a.Qf(0)))};f.KB=function(){this.JB();var a=this.H.H.S;a&&(this.S&&a.getId()==this.S.getId()?this.KB():(this.wh(a.getId()),a.Qf(void 0)))};
f.tO=function(a){a=a.target;var b=Dn(this.H,a)-1;0>b||b==KHa(this)||b==LHa(this)||(b=this.H.Kc(b),this.R&&a==this.H.Eb(this.R.getId())?this.wh(b.getId(),b.Ca().getText().length):this.apply(new Iha(this.getId(),b.getId(),a.getId(),!1)))};f.sO=function(a){a=a.target;var b=Dn(this.H,a),c=b+1,d=KHa(this);c>=this.H.Sc()||b==d||c==d||c==LHa(this)||(b=this.H.Kc(c),this.apply(new Iha(this.getId(),a.getId(),b.getId(),!0)))};f.vO=function(a){a=Dn(this.H,a.target);MHa(this,a,a-1)};
f.uO=function(a){a=Dn(this.H,a.target);MHa(this,a,a+1)};
f.xO=function(a){var b=a.target;if(!this.R||b.Ca().getId()!=this.R.getId()){var c=Dn(this.H,b),d=Cr(this.Va);d&&0==c&&!a.R?(this.R=NHa(this),this.wh(this.R.getId(),0)):(c=this.H.Kc(c+1),!d&&!a.R&&c&&this.R&&c.getId()==this.R.getId()?this.wh(this.R.getId(),0):999>this.Ca().Sc()?(d=null,c&&this.Ca().Eb(c.getId())&&(d=c.getId()),this.apply(new Hha(this.getId(),b.getId(),a.$,a.R,"\n",d))):(sj(this.getContext()).show("Can\u2019t add more items"),nj(this.getContext()).log(9039)))}};
f.zO=function(a){var b=a.target,c=Dn(this.H,b);(a="zc"==a.type)&&b.Od(!1);this.apply(new cl(a?"tick":"untick",b.getId()));c=this.H.Kc(c);if(!c||this.R&&c.getId()==this.R.getId()||this.S&&c.getId()==this.S.getId())c=b;c instanceof pB&&c.H.ha().focus()};f.yO=function(a){var b=bE(this);b&&eE(b,a.target.getId())};
f.gD=function(){var a=this.R,b=this.H.Eb(a.getId()).getText();OHa(this);fu(a,0);a.kc(b);a.xh(!1);this.apply(new fl(a,this.Ca().getId(),new Ct(this.Ca().getId(),"__keep-lqi__",new At(0))));Ju(mj(this.getContext()),a,"listitemadded");a=a.getId();b=Pu(this.getContext().Ca().H,a);this.H.Eb(a).ne(b);(b=bE(this))&&dE(b,a)};f.cS=function(){this.apply(new cl("deleteCheckedItems",this.Ca().getId()))};f.oS=function(){this.apply(new cl("uncheckItems",this.Ca().getId()))};
f.UC=function(){if(this.S){wm(this.ha(),"qAWA2");this.H.H.W();this.wb=qm(this.ha(),"qAWA2");var a=this.Oh,b=this.wb?"COLLAPSED":"EXPANDED";b!=a.H&&(a.H=b,a.Db());a=this.H.Eb(this.S.getId()).ha();Tk(a,"expanded",!this.wb)}};
f.UV=function(a){IHa(this);var b=UD(this);this.H.xd(function(a){a.ha().style.backgroundColor=b});var c=Cr(this.Va),d=this.R?this.H.Eb(this.R.getId()).ha().getBoundingClientRect():null,e=this.H.ha().getBoundingClientRect(),g=d&&c?d.bottom:e.top;c=!c&&d?d.top:this.S?this.H.Eb(this.S.getId()).ha().getBoundingClientRect().top:e.bottom;d=nn(a.source.ha());var h=c-g-d.height;a.source.ha().style.width=d.width+"px";g+=qk(this.Aa().H).y;E(this.Nh,function(a){a.rb=new Lm(NaN,g,NaN,h)})};
f.SV=function(a){a.source.ha().style.width="";this.H.xd(function(a){a.ha().style.backgroundColor=""});var b=bE(this);b&&QHa(b,a.source.Ca().getId())};f.gR=function(a){var b=a.target,c=null;this.Ca().Eb(b.getId())&&(c=b.getId());b=this.H.Kc(Dn(this.H,b)+1);var d=null;b&&this.Ca().Eb(b.getId())&&(d=b.getId());this.apply(new Hha(this.getId(),c,a.$,a.R,a.ma,d))};
f.fO=function(a){var b=this.H.H.S;if(b){a.jj&&!qg(a.jj)&&this.apply(new cl("dedupeItems",a.jj[0]));var c=a.Nn+" added";al.Ja().speak(c);b.kc(a.Nn);this.wh(b.getId(),a.Nn.length)}};var bE=function(a){var b=a.Ca().getId(),c=pj(a.getContext());return a.Vf()&&c&&uC(c,b)?c.R:null};
var RHa=/(\r\n|\n|\r)/gm,fE=function(a,b){Bz.call(this,a,b);this.$=b;this.R=this.$.S;this.ta=this.$.U;this.va=null;this.ka=[];this.V=null;this.U=pj(this.context)};l(fE,Bz);
fE.prototype.Ld=function(){var a=this,b=this.$.R.split(RHa).filter(function(a,b,c){return(!!a||b==c.length-1||0==b)&&!a.match(RHa)});if(!b.length)return!1;var c=yz(this,this.node);c&&Fu(this.node,!0);var d=null;this.U&&uC(this.U,this.node.getId())&&(d=this.U.R);var e=this.R?this.node.Eb(this.R):null;e&&(this.va=e.getText(),e.kc(this.$.H+b.shift()),d&&eE(d,this.R));var g=this.ta?this.node.Eb(this.ta):null;g=ea(SHa(this,e,g,b.length));var h=g.next().value,k=g.next().value;999-this.node.Sc()<b.length&&
(sj(this.context).show("Can\u2019t add more items"),nj(this.context).log(9039),b.splice(999-this.node.Sc()));this.ka.length=0;var n=!!e&&e.Pc&&Br(Ar.Ja()),q=h,u=null;b.forEach(function(b,c,d){var e=Qt(a.node.getId());c!=d.length-1?e.kc(b):(e.kc(b+a.$.V),u=new Ct(a.node.getId(),e.getId(),new At(b.length)));hu(e,n);fu(e,q);a.ka.push(e);q-=k;Ju(mj(a.context),e,"listitemadded")});this.V=new Hz(this.context,new fl(this.ka,this.node.getId()));B(this,this.V);this.V.apply();d&&this.ka.forEach(function(a){return dE(d,
a.getId())});c&&this.U&&Kz(this.U,this.node);u&&vz(kj(this.context),u);return!0};var SHa=function(a,b,c,d){var e=null,g=St;if(b||c)if(b&&!c){var h=b.Ob-g;h-d*g<Tt&&(e=3)}else!b&&c?(h=c.Ob+g*d,h>Ut&&(e=3)):(g=Math.floor((b.Ob-c.Ob)/(d+1)),h=b.Ob-g,1>g&&(e=1));else h=Lra(a.node);return e?(Rt(b||c,e),SHa(a,b,c,d)):[h,g]};f=fE.prototype;
f.Pe=function(){var a=yz(this,this.node);a&&Fu(this.node,!0);var b=null;this.U&&uC(this.U,this.node.getId())&&(b=this.U.R);var c=this.R?this.node.Eb(this.R):null;c&&null!=this.va&&(c.kc(this.va),b&&eE(b,this.R));this.V&&wz(this.V);b&&this.ka.forEach(function(a){return cE(b,a.getId())});a&&this.U&&Kz(this.U,this.node);this.R?vz(kj(this.context),new Ct(this.node.getId(),this.R,new At(this.$.H.length))):vz(kj(this.context),new Ct(this.node.getId(),"__keep-lqi__",new At(0)));return!0}; f.Ai=function(a,b){this.V&&zz(this.V,a,b);a==this.R&&(this.R=b.getId());a==this.ta&&(this.ta=b.getId())};f.Jd=function(){return"List item creation"};f.Df=function(){return!0};f.Bh=function(a){return this.R==a||this.V&&this.V.Bh(a)};
var gE=function(a,b){uz.call(this,a);this.H=b.R;a=Vpa(b.H);a.S=b.url;a.ma=b.filename;a.ka=b.U;a.ta=b.S;Bra(this.H,a)};l(gE,uz);gE.prototype.Ld=function(){(new Hz(this.context,new fl(this.H,this.H.Wc))).apply();return!0};gE.prototype.Jd=function(){return"Insert media"};
var THa=function(a,b){Bz.call(this,a,b);this.ta=b;this.$=this.ta.H;this.V=this.ta.R;this.U=this.ka=null;this.R=pj(this.context)};l(THa,Bz);f=THa.prototype;
f.Ld=function(){var a=this.node.Eb(this.$),b=this.node.Eb(this.V);if(!a||!b)return!1;b=a.getText()+b.getText();if(999<b.length)return!1;var c=yz(this,this.node);c&&Fu(this.node,!0);var d=null;this.R&&uC(this.R,this.node.getId())&&(d=this.R.R);this.ka=a.getText();a.kc(b);d&&eE(d,a.getId());this.U=new Iz(this.context,new cl("deleteListItem",this.V));B(this,this.U);this.U.apply();d&&cE(d,this.V);c&&this.R&&Kz(this.R,this.node);vz(kj(this.context),new Ct(this.node.getId(),a.getId(),new At(this.ka.length)));
return!0};f.Pe=function(){var a=this.node.Eb(this.$);if(!a||!this.U)return!1;yz(this,this.node)&&Fu(this.node,!0);var b=null;this.R&&uC(this.R,this.node.getId())&&(b=this.R.R);a.kc(this.ka||"");b&&eE(b,a.getId());wz(this.U);var c=this.U.H[0];b&&c&&dE(b,c.getId());this.ta.S?vz(kj(this.context),new Ct(this.node.getId(),a.getId(),new At(this.ka.length))):c&&vz(kj(this.context),new Ct(this.node.getId(),c.getId(),new At(0)));return!0}; f.Ai=function(a,b){this.U&&zz(this.U,a,b);a==this.$&&(this.$=b.getId());a==this.V&&(this.V=b.getId())};f.Bh=function(a){return this.$==a||this.V==a};f.Jd=function(){return"Merge nodes"};f.Df=function(){return!0};
var UHa=function(a,b){Az.call(this,a,b);this.R="pin"==b.type;this.$={};this.U={};this.V={}};l(UHa,Az);f=UHa.prototype;
f.Ld=function(){var a=this,b=this.context.Ca().getState().Vf()?this.R?9254:9255:1<this.H.length?this.R?9256:9257:this.R?9258:9259;nj(this.context).log(b,1!=this.H.length?void 0:function(b){b.oe(a.H[0].getId());b.xe(a.context.Ca().getState().R)});Gr(Ar.Ja(),"pinning_cc");var c=Su(this.S),d=!1;this.H.forEach(function(b){a.V[b.getId()]=b.$d();b.$d()==a.R||Nr(b)||(a.$[b.getId()]=b.Ob,fu(b,c,!0),c+=St,bu(b,a.R),a.R&&(a.U[b.getId()]=b.Ed,au(b,!1)),d=!0)});return d};
f.Pe=function(){var a=this;this.H.forEach(function(b){fu(b,a.$[b.getId()],!0);bu(b,a.V[b.getId()]);a.R&&au(b,a.U[b.getId()])});return!!this.H.length};f.Df=function(){var a=this;return this.H.some(function(b){return a.U[b.getId()]})};f.Xp=function(){return this.Df()};
f.Ue=function(){var a=this,b=this.H.some(function(b){return a.U[b.getId()]}),c=this.H.every(function(b){return a.U[b.getId()]}),d=this.H.some(function(b){return a.V[b.getId()]});return this.R?c?(new qz("{count, plural, =1 {Note unarchived and pinned}other {# notes unarchived and pinned}}")).format({count:this.H.length}):b?"Notes unarchived and pinned":d?"Notes pinned":(new qz("{count, plural, =1 {Note pinned}other {# notes pinned}}")).format({count:this.H.length}):(new qz("{count, plural, =1 {Note unpinned}other {# notes unpinned}}")).format({count:this.H.length})}; f.Jd=function(){return this.R?"Pin node":"Unpin node"};
var VHa=function(a,b){Bz.call(this,a,b);this.R=null};l(VHa,Bz);f=VHa.prototype;f.Ld=function(){var a=yz(this,this.node);a&&Fu(this.node,!0);var b=[];pu(this.node).forEach(function(a){a.Pc&&b.push(a.getId())});if(!b.length)return!1;this.R=new Iz(this.context,new cl("deleteListItem",b));B(this,this.R);this.R.apply();a&&(a=pj(this.context))&&Kz(a,this.node);return!0};f.Pe=function(){var a=yz(this,this.node);a&&Fu(this.node,!0);this.R&&wz(this.R);a&&(a=pj(this.context))&&Kz(a,this.node);return!!this.R}; f.Ai=function(a,b){this.R&&zz(this.R,a,b)};f.Df=function(){return!!this.R};f.Ue=function(){return this.R?this.R.Ue():""};f.Bh=function(a){return!!this.R&&this.R.Bh(a)};f.Jd=function(){return"Purge list"};
var hE=function(a,b){Az.call(this,a,b);this.U=b.H;this.R=b.R||[]};l(hE,Az);hE.prototype.Ld=function(){var a=this,b=!1;this.H.forEach(function(c,d){a.R[d]=a.R[d]||c.Ob;a.R[d]!=a.U[d]&&(b=!0,fu(c,a.U[d]))});return b};hE.prototype.Pe=function(){var a=this;this.H.forEach(function(b,c){a.R[c]!=b.Ob&&fu(b,a.R[c])});return!0};hE.prototype.Jd=function(){return"Reorder node"};hE.prototype.Df=function(){return this.H.every(function(a){return gu(a)})};
var iE=function(a,b){Az.call(this,a,b);this.R="trash"==b.type;this.V={};this.U={}};l(iE,Az);f=iE.prototype;
f.Ld=function(){var a=this,b=this.context.Ca().getState().Vf()?this.R?9012:9013:1<this.H.length?this.R?9131:9132:this.R?9139:9140;nj(this.context).log(b,1!=this.H.length?void 0:function(b){b.oe(a.H[0].getId());b.xe(a.context.Ca().getState().R)});var c=Su(this.S),d=!1;this.H.forEach(function(b){Nr(b)!=a.R&&(a.V[b.getId()]=b.Ob,fu(b,c,!0),c+=St,a.R?(Wt(b)&&(b.Hb=-1,b.notify()),a.U[b.getId()]=b.$d(),bu(b,!1)):Hra(b,!1),d=!0)});return d};
f.Pe=function(){var a=this;this.H.forEach(function(b){fu(b,a.V[b.getId()],!0);a.R?bu(b,a.U[b.getId()]):bu(b,!1);Hra(b,!a.R)});return!0};f.jo=function(){var a=this;this.H.forEach(function(b){Hra(b,a.R);a.R&&b.Rb()&&b.Rb().Kb("DELETED")});return!0};
f.Ue=function(){var a=this;if(this.H.every(function(a){return a.$()}))return"";var b=this.H.some(function(b){return a.U[b.getId()]}),c=this.H.every(function(b){return a.U[b.getId()]});return this.R&&c?(new qz("{numberOfNotes, plural, =1 {Note unpinned and trashed}other {# notes unpinned and trashed}}")).format({numberOfNotes:this.H.length}):this.R&&b?"Notes unpinned and trashed":this.R?(new qz("{numberOfNotes, plural, =1 {Note trashed}other {# notes trashed}}")).format({numberOfNotes:this.H.length}): (new qz("{numberOfNotes, plural, =1 {Note restored}other {# notes restored}}")).format({numberOfNotes:this.H.length})};f.Jd=function(){return this.R?"Trash node":"Untrash node"};
var jE=function(a){Bz.apply(this,arguments)};l(jE,Bz);jE.prototype.Ld=function(){var a=this.node;Wt(a)&&(a.re="SPAM");a=new iE(this.context,new cl("trash",this.node.getId()));a.apply();xz(a);return!0};jE.prototype.Jd=function(){return"Report abuse"};var WHa=function(a,b){Bz.call(this,a,b);this.U=new Set;this.R=pj(this.context)};l(WHa,Bz);f=WHa.prototype;f.Ld=function(){var a=this,b=yz(this,this.node);b&&Fu(this.node,!0);this.U.clear();var c=null;this.R&&uC(this.R,this.node.getId())&&(c=this.R.R);pu(this.node).forEach(function(b){if(b.Pc){var d=b.getId();hu(b,!1);a.U.add(d);c&&XHa(c,d)}});b&&this.R&&Kz(this.R,this.node);return!!this.U.size};
f.Pe=function(){var a=this,b=yz(this,this.node);b&&Fu(this.node,!0);var c=null;this.R&&uC(this.R,this.node.getId())&&(c=this.R.R);this.U.forEach(function(b){var d=a.node.Eb(b);d&&hu(d,!0);c&&XHa(c,b)});b&&this.R&&Kz(this.R,this.node);return!!this.U.size};f.Df=function(){return!!this.U.size};f.Xp=function(){return!Ph(K(this.context))&&!!this.U.size};f.Ai=function(a,b){this.U.has(a)&&this.U.add(b.getId())["delete"](a)};f.Ue=function(){return Ph(K(this.context))?"":"All items unchecked"};f.Bh=function(a){return this.U.has(a)}; f.Jd=function(){return"Reset list"};
var kE=function(a,b){Bz.call(this,a,b)};l(kE,Bz);kE.prototype.Ld=function(){Qs(tu(this.node),"l");this.node.Db();return!0};kE.prototype.Jd=function(){return"Retry media"};var lE=function(a,b){Az.call(this,a,b);this.V="addTag"==b.type;this.R=b.tag;this.U=new Set};l(lE,Az);lE.prototype.Ld=function(){var a=this;this.U.clear();this.H.forEach(function(b){Kr(b,a.R)&&a.U.add(b.getId());a.V?ku(b,a.R):lu(b,a.R)});return!0};lE.prototype.Pe=function(){var a=this;this.H.forEach(function(b){a.U.has(b.getId())?ku(b,a.R):lu(b,a.R)});return!0};lE.prototype.Df=function(){return!0};lE.prototype.Jd=function(){return this.V?"Add tag":"Remove tag"};
var mE=function(a,b){Bz.call(this,a,b);this.R="tick"==b.type};l(mE,Bz);mE.prototype.Ld=function(){return YHa(this,this.R)};mE.prototype.Pe=function(){return YHa(this,!this.R)};var YHa=function(a,b){var c=Pu(a.S,a.node.Wc);if(!c||a.node.Pc==b)return!1;if(yz(a,c)){if(!Wt(c)||!Du(c))throw Error("vb");c.wc=!0}hu(a.node,b);(b=pj(a.context))&&uC(b,c.getId())&&(c=b.R)&&XHa(c,a.node.getId());return!0};mE.prototype.Jd=function(){return this.R?"Tick node":"Untick node"};mE.prototype.Df=function(){return!0};
var ZHa=function(a,b){Bz.call(this,a,b);this.ka="";this.V=!1;this.$=[];this.U=null;this.R=pj(this.context)};l(ZHa,Bz);f=ZHa.prototype;
f.Ld=function(){var a=this;if(!Wt(this.node))return!1;var b=!1,c=!1,d=!0,e=tra(this.node);e.forEach(function(a){"FAILED"==a.U||"VSS_FAILED"==a.U?b=!0:"SENT_TO_EXTRACTION_SERVICE"==a.U||"SENT_TO_VSS"==a.U||"PROCESSING_REQUESTED"==a.U?c=!0:a.W&&(d=!1)});var g;b?g="Can\u2019t grab image text. Try again later.":c?g="Processing images...":d&&(g="Can\u2019t recognize text.");if(g)return sj(this.context).show(g),!1;(g=yz(this,this.node))&&Fu(this.node,!0);if(Zt(this.node)){this.ka=yu(this.node);var h=new tr(this.ka);
e.forEach(function(b){if(b=(b.W||"").trim())a.V=!0,0<h.getLength()&&h.Fb("\n"),h.Fb(b)});if(this.V){if(19999<h.getLength())return $Ha(this),this.V=!1,Fu(this.node,!1),!1;ura(this.node,h.toString());e=null;this.R&&uC(this.R,this.node.getId())&&(e=this.R.R);e&&aIa(e)}}else if(this.$.length=0,e.forEach(function(b){if(b=(b.W||"").trim())if(19999<b.length)$Ha(a);else{a.V=!0;var c=Qt(a.node.getId());c.kc(b);a.$.push(c)}}),this.U=new Hz(this.context,new fl(this.$,this.node.getId())),this.U.apply(),this.R&&
uC(this.R,this.node.getId())){var k=this.R.R;k&&this.$.forEach(function(a){dE(k,a.getId())})}g&&this.R&&Kz(this.R,this.node);return!0};f.Pe=function(){if(!this.V)return!1;var a=yz(this,this.node);a&&Fu(this.node,!0);var b=null;this.R&&uC(this.R,this.node.getId())&&(b=this.R.R);Zt(this.node)?(ura(this.node,this.ka),b&&aIa(b)):Yt(this.node)&&(this.U&&wz(this.U),b&&this.$.forEach(function(a){cE(b,a.getId())}));a&&this.R&&Kz(this.R,this.node);return!0};f.Xp=function(){return this.V};f.Df=function(){return this.V};
f.Ai=function(a,b){this.U&&zz(this.U,a,b)};f.Bh=function(a){return Zt(this.node)?pu(this.node).some(function(b){return b.getId()==a}):!!this.U&&this.U.Bh(a)};f.Ue=function(){return"Image text grabbed"};f.Jd=function(){return"Transcribe text"};var $Ha=function(a){sj(a.context).show("Note too large.")};
var bIa=new Map,cIa=function(a,b){var c=bIa.get(b.type);if(!c)throw Error("Ac`"+b.type);return new c(a,b)},nE=function(a,b){b="string"===typeof b?[b]:b;b.forEach(function(b){bIa.set(b,a)})};nE(Cz,["archive","unarchive"]);nE(Dz,"changeText");nE(Ez,"changeTitle");nE(Fz,"color");nE(Jz,"convert");nE(Hz,"new");nE(Xza,"deleteAnnotation");nE(Iz,["deleteListItem","dedupeItems"]);nE(Mz,["delele","discardDrawing","discardNote"]);nE(Zza,"deleteReminder");nE(Oz,"dismissReminder");nE(Pz,"emptyTrash");nE(fE,"insertListItem");
nE(gE,"insertMedia");nE(THa,"MergeListItem");nE(UHa,["pin","unpin"]);nE(VHa,"deleteCheckedItems");nE(hE,"reorder");nE(jE,"report");nE(WHa,"uncheckItems");nE(kE,"retryMedia");nE(lE,["addTag","removeTag"]);nE(mE,["tick","untick"]);nE(ZHa,"transcribe");nE(iE,["trash","untrash"]);
var dIa=function(a){this.R=a;this.S=0;this.H=null},eIa=function(a){a.H=tv(sj(a.R),"Refresh required. It may take several minutes.","Refresh",function(){a.S=1;var b=a.R.Ca().getState();b.ta=!0;b.S();a.H=sj(a.R).show("Refreshing and reloading your notes\u2026",6);ij(a.R).sync()},6)},fIa=function(a){a.H.hide();a.H=null};dIa.prototype.getState=function(){return this.S};dIa.prototype.Kb=function(a){this.S=a};
var oE=function(a){A.call(this);var b=a.Ca();this.V=b.getState();this.wb=this.V.getState();this.S=b.H;this.R=a;this.H=new Am(this);B(this,this.H);this.Ua=new Vn(this.FI,150,this);B(this,this.Ua);this.Ba=new Co(this.EI,25E3,this);this.ma=new Vn(this.Ba.od,150,this.Ba);B(this,this.ma);this.va=new Yk(864E5);B(this,this.va);this.W=null;this.ra={};this.Da=!1;this.Fa=new Set;this.nb=[];this.Va={};this.Ma=a.Ca().R;this.Qa=0;this.ka=null;this.Ka={};this.U=null;this.ta={};this.Ta=new Vn(this.ab,1E3,this);
B(this,this.Ta);this.$=new jz(this.R)};v(oE,A);var gIa=new Set(["archive","delele","trash","unarchive"]),hIa=new Set("archive delele pin trash unarchive unpin untrash".split(" ")),iIa=new Set("deleteCheckedItems deleteListItem insertListItem MergeListItem reorder tick uncheckItems untick".split(" "));
oE.prototype.connect=function(){this.U=cj(this.R,"C");var a=ij(this.R);this.H.listen(this.V,"qa",this.LS).listen(this.V,"la",this.LU).listen(this.S,"qa",this.YC).listen(this.S,"ua",this.lR).listen(this.S,"ma",this.MP).listen(this.S,"Fa",this.BS).listen(this.S,"wa",this.xR).listen(this.S,"xa",this.yR).listen(Ar.Ja(),"Ja",this.YC).listen(a,"pb",this.OS).listen(a,"ob",iB(this.R.Fo(),this.uP)).listen(a,["Va","Ua"],this.SQ).listen(a,"Ta",this.QQ).listen(a,"$a",this.lO).listen(kj(this.R),"Ab",this.hS).listen(lj(this.R),
"sb",this.TQ).listen(this.R.Ca().S,"Ka",this.KU).listen(this.S,"Aa",this.iS).listen(this.va,"tick",this.oy).listen(cj(this.R,"B"),"Ob",this.jS).listen(ot.Ja(),"Ca",this.kS).listen(ij(this.R),"Ya",this.NU);this.$.init();var b=jj(this.R);b&&(this.H.listen(b,"rb",this.rb).listen(this.S,"va",this.mR),b.init(r(function(){Ug(Ko(this.S),function(a){!a.Ba&&jIa(b,a)})},this)));a=Xy?Xy.get("layout_style"):null;bh(tla,a)&&pE(this,a);nj(this.R).log("LIST"==this.R.Ca().S.getStyle()?9069:9070);K(this.R).H.n_wfp||
this.WF();K(this.R).H.n_efs&&this.uy()};var eB=function(a){ij(a.R).sync();kIa(a)},lIa=function(a){a.ma&&!a.ma.Zg()&&a.ma.start()};
oE.prototype.apply=function(a,b){var c=this;if(!this.V.Ce()||b)if(b=cIa(this.R,a),b.apply())if(a instanceof cl&&(mIa(this,a.jj),a.jj.some(function(a){return!!c.S.S[a]})&&(gIa.has(a.type)&&kj(this.R).Dc(),hIa.has(a.type)&&kj(this.R).Da())),iIa.has(a.type)&&nIa(kj(this.R).R),b.Df())aEa(hj(this.R),b);else{var d=b.Ue();d&&(b.Xp()?L(function(){sj(c.R).show(d)},0):al.Ja().speak(b.Ue()));xz(b)}};
var kIa=function(a,b){if(!b||a.ta[b.getId()])a.ma.stop(),a.Ba.stop(),a.Ba.od(),a.oy()},mIa=function(a,b){a.Ma.getName()&&E(b,function(a){if(a=Pu(this.S,a))ju(a,this.Ma.getName())&&gra(a),ira(a,this.Ma.getName())&&(Doa(a.U),a.Db())},a)};oE.prototype.ab=function(){var a=Nza(kj(this.R));qsa(this.S,a)?this.Ta.start():(a=jj(this.R))&&oIa(a)};oE.prototype.rb=function(){Wy(ij(this.R),!0);var a=this.V;a.ra=!0;a.S()};
var pE=function(a,b){a=kj(a.R);a.H.$?a.Ma=b:(vla(a.V,b),mj(a.getContext()).mb("LayoutStyle",b.toLowerCase()));Xy&&Xy.set("layout_style",b)};f=oE.prototype;f.requestAccess=function(a){ij(this.R).requestAccess(a)};f.WF=function(){if(iv(this.V)){var a=ij(this.R),b=r(this.GD,this);a.R.qc&&a.U.R()&&a.R.lG(b)}else this.H.Jb(this.V,"qa",this.WF)};f.GD=function(a){a=!!a.isDasherUser;mj(this.R).init(this.R,a)};
f.uy=function(){if(iv(this.V)){var a=ij(this.R),b=r(this.MU,this);a.R.qc&&a.U.R()&&a.R.By(b)}else this.H.Jb(this.V,"qa",this.uy)};f.MU=function(a){var b=Dt.Ja();b.update(a);a=new sr;b.S=a;(b=jj(this.R))&&dz(b)&&(a=Dt.Ja(),gz(b,"Metadata","familyInfo",a.Za(),void 0))};f.FI=function(){var a=ij(this.R);if(Xya(a)){var b=pj(this.R);b&&b.R&&qE(b.R);a.sync();pIa(this);jza(this.$);oj(this.R)&&Nz(oj(this.R))&&qIa(oj(this.R).R)}};
var pIa=function(a){a.Fa.forEach(function(b){if(b=Pu(a.S,b)){var c=tu(b);if(c&&Wpa(c))if(b.Zb&&b.V){var d=ij(a.R),e=c.S,g=c.ma,h=c.Zi;dv(d.S,"hb");d.R.hG(b,e,g,h);Qs(c,"luip");b.notify()}else c.gx()||(Qs(c,"lup"),b.notify())}})};f=oE.prototype;
f.EI=function(){this.U&&(Ug(this.ta,function(a){var b=a.Rb();if(b){if(b.S)if(b.Sb()){var c=this.U;a.Rb()&&(c.W.push(a),!c.ma&&c.Ua.Mo())}else b.hc()&&rIa(this.U,a);else{c=this.U;var d=a.Rb();if(d){var e=r(c.SO,c,a),g={};g.taskList=c.ka;g.requestParameters=c.S;g.task=rE(a,d);d=d.H;var h=sE(a);d?(g.recurrenceId=tE(h),g.recurrence=d.Za()):g.taskId=uE(h);d=d?"reminders/v1internal/reminders/recurrence/create":"reminders/v1internal/reminders/create";vE(c,"CREATE_REMINDER_"+a.getId(),d,JSON.stringify(g),
e);c.R.add(a.getId());a.Lf=!a.Zb}}b.H&&xqa(b.H)&&sIa(this.U,a)}},this),fh(this.ta))};f.oy=function(){this.U&&(this.U.Qa(),this.va.stop(),this.va.start())};f.lO=function(){var a=this.R.Ca().W;a&&0<a.length?("/"==a.slice(a.length-1)&&(a=a.slice(0,a.length-1)),tIa=a):tIa=null;if(a=pj(this.R))a.ka=!0,a.R&&(a=a.R,a.Ma&&!a.node.Me&&(a.ka.stop(),a.Ma=!1,a.init()))};f.hS=function(){Hh(K(this.R))?chrome.runtime.reload():window.location.reload()};f.NU=function(a){a.R||this.oy()};
f.OS=function(a){var b=this;this.nb=a.R;a.R.forEach(function(a){var c=a.type,e;"LIST"==c||"NOTE"==c?e=a.title:"LIST_ITEM"==c&&(e=a.text);e&&(b.Va[a.id]=e)});fh(this.ra);this.Da=!1};
f.uP=function(a){var b=this,c=jj(this.R);c&&c.W&&a.response.H.forceFullResync&&!this.W?(this.W=new dIa(this.R),eIa(this.W)):this.W&&2==this.W.getState()&&(fIa(this.W),this.W=null);var d=a.response.H.userInfo;d&&!this.Da&&Ar.Ja().update(d);var e=jh(this.ra),g=a.response.H.nodes||[],h=Nza(kj(this.R));this.S.update(g,e,!0,this.Va,h);g.length&&To()&&kl(gl.Ja(),"TLN count: "+Yg(this.S.S)+", Node count: "+Yg(Ko(this.S)));this.S.U=a.response.H.toVersion||0;e=this.S.V;a=!Wu(a.response,this.S.U);rsa(this.S,
a);if(this.W&&1==this.W.getState())a&&(Wy(ij(this.R),!1),mla(c),Asa(this.S),kj(this.R).reset(),c.init(function(){var a=b.V;a.ta=!1;a.S();b.W.Kb(2);Wy(ij(b.R),!0);b.Ua.Mo()}));else{if(c){var k=[];E(g,function(a){a=a.id;Pu(this.S,a)||k.push(a)},this);uIa(c,k);oIa(c);d&&vIa(c);wIa(c)}oj(this.R)&&Nz(oj(this.R))&&E(g,r(function(a){(a=Pu(this.S,a.id))&&Vt(a)&&!a.Sb()&&tu(a)&&(Ls(tu(a))||Ms(tu(a)))&&!a.Qa&&tu(a).H&&xIa(oj(this.R).R,tu(a).H)},this));fh(this.ra);fh(this.nb);fh(this.Va);this.Da=!1;(c=pj(this.R))&&
c.R&&(d=Pu(this.S,c.R.getId()))&&!d.$()&&c.end();!e&&a&&this.U&&yIa(this.U);c=Ar.Ja();Fr(c,"keep_it_cc")||kg(g,function(a){return vb(a.id,".fce")})&&Gr(c,"keep_it_cc");g=Dt.Ja();K(this.R).H.n_efs&&c.V&&g.S&&c.V>g.S&&this.uy()}};f.KU=function(){sj(this.R).clearAll();Lz(hj(this.R))};f.SQ=function(a){var b=tu(a.R);"Ua"==a.type?(Qs(b,"luf"),a.R.notify()):(b.update(a.response.H),Qs(b,"luc"),a.R.Db(),this.Fa["delete"](a.R.getId()))};
f.YC=function(a){var b=ij(this.R),c=Ar.Ja(),d=a.target instanceof Nt?a.target:null;if(d&&Vt(d)&&tu(d)){var e=tu(d);Wpa(e)&&this.Fa.add(d.getId());if(Ls(e)||Ms(e)){e=this.$;var g=tu(d);!d.Sb()&&"NONE"==d.Ka&&g&&(Ls(g)||Ms(g))&&(g.H||!d.Zb||d.Sb()?e.R&&(g.H&&g.$?g.Da!=g.$?g.va?(d.Ka="UPDATE",e.V.add(d.getId())):g.Os||d.Qa||kz(e,d):g.Ba&&g.Ba!=g.$&&!d.Qa&&kz(e,d):g.H&&!g.$&&(d.Ka="GET",e.S.add(d.getId()))):(d.Ka="INSERT",e.U.add(d.getId())))}}b.ta&&(d&&d.hc()&&(this.ra[d.getId()]=d),a.target==c&&c.hc()&&
(this.Da=!0));this.U&&d&&d.Lf&&d.Zb&&d.Rb()&&rIa(this.U,d);(a=jj(this.R))&&a.ma&&(d&&jIa(a,d),c.hc()&&vIa(a));(c=this.S.hc()||c.hc())||(c=this.$,c=!!(c.U.size||c.V.size||c.S.size));c&&this.Ua.Mo()};f.mR=function(a){a=a.target instanceof Nt?a.target:null;var b=jj(this.R);b&&b.ma&&a&&jIa(b,a)};f.iS=function(a){if(this.U&&a.target instanceof Nt){a=a.target;var b=a.Rb();if(b){var c=b.H;c=!!c&&(c.hc()||xqa(c));if(b.hc()||c)this.ta[a.getId()]=a,lIa(this),this.U&&(b=this.U,a=a.getId(),b.R.has(a)&&b.H.add(a))}}};
f.lR=function(a){var b=a.target;a=b.getId();Tra(mj(this.R),b);Xg(b.ma,function(a){return"WS"==a.H})?(b=!1,this.ka&&(b=vv(this.ka)),b||(this.ka=sj(this.R).show("Sharing isn\u2019t available right now",4,r(this.fS,this))),this.Qa||(b=new rr,b.setDate(b.getDate()+1),this.Qa=L(this.yv,b.getTime()-t(),this)),this.Ka[a]=a):this.yv()};f.MP=function(a){mj(this.R).mb("Annotations","Annotation with Empty Field Synced",a.R)};
f.yv=function(){Ug(this.Ka,function(a){(a=Pu(this.S,a))&&lra(a,"WS")},this);fh(this.Ka);this.Qa=0;this.ka&&(this.ka.hide(),this.ka=null)};f.fS=function(){this.ka=null;this.yv()};f.BS=function(a){a=a.target;if(K(this.R).H.n_efs&&"FAMILY"==a.S){var b=cj(this.R,"q");if(b){var c=a.getEmail();ah(b.R,c)?a.Hn(b.R[c]):ah(b.H,c)?(c=b.H[c],pg(c,a)||c.push(a)):(b.H[c]=[a],a=ij(b.S),b=r(b.U,b),a.R.qc&&a.U.R()&&a.R.By(b,c))}}else(c=cj(this.R,"l"))&&zIa(c,a.getEmail(),void 0,a)};
f.xR=function(){mj(this.R).mb("Sync Issues","old node downsync ignored")};f.yR=function(){mj(this.R).mb("NodeError","old node version found")};f.TQ=function(a){var b=ij(this.R);Fta(b.R,a.id,a.url)};f.QQ=function(a){eza(lj(this.R),a.id,a.uri);if(jj(this.R)){var b=jj(this.R);dz(b)&&gz(b,"Image",a.id,a.uri,void 0)}};f.LS=function(){5==this.V.getState()&&4==this.wb&&Xya(ij(this.R))&&(pIa(this),jza(this.$))};
f.LU=function(){var a=this.V.$,b=this.S;b.W!=a&&(b.W=a,b.W&&null==b.va&&(b.va=b.U));a||this.Ta.Zg()||this.ab()};f.jS=function(a){(a=a.id.H?Pu(this.S,a.id.H):null)&&Wt(a)&&!Nr(a)&&!a.Sb()&&(au(a,!1),fu(a,Su(this.S)))};f.kS=function(){if(ot.Ja().hc()){var a=this.U,b=ot.Ja().Za();b.requestParameters=a.Ta;vE(a,"SET_PRESETS_"+Pb(),"reminders/v1internal/snoozepresets/set",JSON.stringify(b),r(a.AS,a))}};
var wE=function(a,b){I.call(this,b);this.id=a};l(wE,I);var xE=function(a,b){this.type=a;this.H=b||null;this.R=JSON.stringify(AIa(this))},BIa=function(a){try{var b=JSON.parse(a);return new xE(b.type,b.nodeId)}catch(c){return new xE("unknown")}};xE.prototype.toString=function(){return this.R};var AIa=function(a){var b={};b=(b.type=a.type,b);a.H&&(b.nodeId=a.H);return b};
var yE=function(a,b){A.call(this);this.tb=new xE("reminder",a.getId());this.W=a;this.S=b;this.V=this.$="";this.H=null;this.ka=0;this.U=!1;this.R=null};l(yE,A);yE.prototype.getId=function(){return this.tb};yE.prototype.getTitle=function(){return this.$};yE.prototype.setTitle=function(a){this.$=a};yE.prototype.getContent=function(){return this.V};var CIa=function(a,b){a.R=b};yE.prototype.ma=function(a){this.H=a};var DIa=function(a){var b=t();a.ka=b||t()}; yE.prototype.Na=function(){A.prototype.Na.call(this);this.R&&this.R.hide()};
var zE=function(a){J.call(this);this.ka=a;this.R={}};l(zE,J);var EIa=function(a,b){a.U();var c=b.tb.toString(),d=b.S-t();a.R[c]=L(function(){a.H(b);delete a.R[c]},Math.max(d,0))};zE.prototype.H=function(a){var b=this,c=a.W,d=a.S,e=gsa(c),g=hsa(c,d);a.setTitle(e);a.V=g;DIa(a);CIa(a,tv(this.ka,isa(c,d),"Dismiss",function(){var c=a.getId();b.dispatchEvent(new wE(c,"Nb"))},6));this.dispatchEvent(new wE(a.getId(),"Ob"))};
var AE=function(a){zE.call(this,a);var b=this;this.S=chrome.runtime.getURL("icon_128.png");chrome.notifications.onClicked.addListener(function(a){b.dispatchEvent(new wE(BIa(a),"Mb"));chrome.app.window.current().focus();chrome.notifications.clear(a)})};l(AE,zE);AE.prototype.H=function(a){zE.prototype.H.call(this,a);chrome.notifications.create(a.tb.toString(),{type:"basic",title:a.getTitle(),message:a.getContent(),iconUrl:a.H||this.S})};AE.prototype.V=function(a){chrome.notifications.clear(a)}; AE.prototype.U=function(){return!0};
var BE=function(a,b){zE.call(this,a);this.ma=b;this.$="Notification"in window&&"permission"in window.Notification;this.W=!1;this.S={}};l(BE,zE);BE.prototype.U=function(){if(this.$)switch(window.Notification.permission){case "granted":return!0;case "default":FIa(this)}return!1};
BE.prototype.H=function(a){var b=this;zE.prototype.H.call(this,a);var c=a.tb.toString();this.U()?(a=new Notification(a.getTitle(),{icon:a.H||"https://ssl.gstatic.com/keep/icon_128.png",tag:c,body:a.getContent()}),this.S[c]=a,a.onclick=function(a){a=a.target;b.dispatchEvent(new wE(BIa(a.tag),"Mb"));window.focus();a.close()},a.onclose=function(a){a=a.target;bg(b.S[a.tag]);delete b.S[a.tag]}):(c=a.getTitle()&&a.getContent()?a.getTitle()+"\n\n"+a.getContent():a.getTitle()||a.getContent(),window.alert(c),
a.U=!0,this.dispatchEvent(new wE(a.getId(),"Nb")))};BE.prototype.V=function(a){(a=this.S[a])&&a.close()};var FIa=function(a){a.W||(tv(a.ka,"Turn on Google Keep reminders? You may need to allow browser notifications.","Turn on",function(){return GIa(a)},4),a.W=!0)},GIa=function(a){a.$&&window.Notification.requestPermission(function(b){return a.ma.mb("NotificationPermissions",b)})};
var CE=function(a){J.call(this);var b=this;this.H=a;this.S=Hh(K(a))?new AE(sj(a)):new BE(sj(a),mj(a));B(this,this.S);this.R={};this.ma=new Vn(function(){return HIa(b)},108E5);this.$=0;this.U=new Am(this);B(this,this.U);this.U.listen(a.Ca().getState(),"qa",this.W).listen(this.S,"Nb",this.ka);this.S.Lb(this)};l(CE,J);CE.prototype.init=function(){var a=this;HIa(this);this.U.listen(this.H.Ca().H,"Aa",function(b){return IIa(a,b.target)})};
CE.prototype.W=function(){var a=this.H.Ca().getState();if(5==a.U||4==a.U)this.init(),this.U.$a(this.H.Ca().getState(),"qa",this.W)};
var HIa=function(a){a.$=t()+108E5+6E4;Ug(a.H.Ca().H.S,function(b){return IIa(a,b)});a.ma.start()},IIa=function(a,b){var c=(new xE("reminder",b.getId())).toString(),d=b.Rb(),e=!b.Sb()&&!Nr(b)&&d&&"INITIAL"==d.getState()&&d.Ae()&&!d.Ae().Lh;e&&!Dqa(d)&&d.Ae().getTime()<a.$?(JIa(a,c),d=b.Rb().Ae(),d=new yE(b,d),a.R[c]=d,EIa(a.S,d),(c=su(b).find(function(a){return!!vu(a)}))&&cz(lj(a.H),c,d.ma.bind(d),100)):e?d.H&&(b=d.H,b.V.length&&b.V[0]&&!(b.V.length?b.V[0]:null).H||JIa(a,c)):JIa(a,c)},JIa=function(a,
b){a.S.V(b);var c=a.S;b in c.R&&(Zk(c.R[b]),delete c.R[b]);bg(a.R[b]);delete a.R[b]};CE.prototype.ka=function(a){a=a.id;var b=this.R[a];b&&b.ka&&(b.U?(this.U.Jb(this.H.Ca().H,"Ha",this.V.bind(this,b)),eB(gj(this.H))):this.V(b),bg(this.R[a]),delete this.R[a])};CE.prototype.V=function(a){var b=this,c=a.W.getId();L(function(){var a=Pu(b.H.Ca().H,c);a&&(a=a.Rb())&&a.Sd&&Dqa(a)&&gj(b.H).apply(new cl("dismissReminder",c))},0)};var KIa=function(a,b){b=(new xE("reminder",b)).toString();a.S.V(b)}; CE.prototype.Na=function(){J.prototype.Na.call(this);cg(Zg(this.R));this.R={}};
var DE=function(a,b){J.call(this);this.context=a;(this.Da=Gh(K(a))||Hh(K(a)))?this.rb=new Iv:this.Ba=null;this.nb=vb(b,"/")?b:b+"/";this.va=new Am(this);B(this,this.va);this.ab=this.context.Ca().getState();this.U=!1;this.$={};this.wb();this.va.listen(this.ab,"qa",this.wb)};v(DE,J);DE.prototype.wb=function(){var a=iv(this.ab);!this.U&&a?(this.U=!0,this.Da||this.Ba||(this.Ba=ra("gapi.client.request")),this.Dp()):this.U&&!a&&(this.U=!1)};
DE.prototype.sendRequest=function(a,b,c,d,e,g,h,k,n,q,u){ah(this.$,a)||(b=new LIa(a,b,c,d,e,g,h,k,n,q,u),this.$[a]=b,this.Ib(b))};var MIa=function(a,b,c,d,e){a.sendRequest(b,"reminders/v1internal/reminders/batchmutate","POST",c,d,!1,e,void 0,void 0,!0,3)},vE=function(a,b,c,d,e){a.sendRequest(b,c,"POST",d,e,!1,null,void 0,void 0,!0)};
DE.prototype.Ib=function(a){if(this.rb){var b=this.nb+a.path,c={};a.params&&kh(c,a.params);var d=a.headers;a.V?c.access_token=NIa(this):d=OIa(this,a.headers);var e=!1;Ug(c,function(a,c){e?b+="&":(b+="?",e=!0);b+=Lo("%s=%s",c,a)});this.rb.send(a.requestId,b,a.U,a.body,d||void 0,void 0,r(this.Jc,this,a))}else this.Ba&&this.Ba({root:this.nb,path:a.path,method:a.U,params:a.params||{},body:a.body,headers:a.headers||{}}).execute(r(this.Dc,this,a))};
DE.prototype.Jc=function(a,b){var c=b.target;Ssa(kv.Ja(),c);var d=null;ana(c)&&(d=op(c));c.kh()&&d?(gh(this.$,a.requestId),a.callback(d)):(cj(this.context,"p")&&EE(cj(this.context,"p"),PIa(a)+" Error retrieving results for: "+String(b.target.Ws),"n/a",0),QIa(this,a,d||null))};DE.prototype.Dc=function(a,b){b&&("object"==typeof b&&Tsa(kv.Ja(),b),b.error?(cj(this.context,"p")&&EE(cj(this.context,"p"),PIa(a)+" error: "+JSON.stringify(b.error),"GapiService",0),QIa(this,a,b)):(gh(this.$,a.requestId),a.callback(b)))};
var QIa=function(a,b,c){b.W&&(!p(b.H)||0<b.H)?(b.R=b.R?Math.min(2*b.R,rea(K(a.context))):Jh(K(a.context)),p(b.H)&&b.H--,L(r(a.Ib,a,b),b.R)):(gh(a.$,b.requestId),b.S&&b.S(c))},OIa=function(a,b){return a.Da&&(a=NIa(a))?(a={Authorization:"Bearer "+a,"Content-Type":"application/json"},b&&kh(a,b),a):null},NIa=function(a){return a.Da&&(a=ra("gapi.auth.getToken"))&&(a=a())?a.access_token:""};DE.prototype.Dp=sa;
var LIa=function(a,b,c,d,e,g,h,k,n,q,u){this.requestId=a;this.path=b;this.U=c;this.body=d;this.callback=e;this.V=g;this.S=h||null;this.params=k||null;this.headers=n||null;this.W=!!q;this.H=u;this.R=0},PIa=function(a){var b={};b.path=a.path;b.params=a.params;b.headers=a.headers;return JSON.stringify(b)};
var FE=function(a){DE.call(this,a,hea(K(a)));var b={clientApplication:"KEEP",clientApplicationVersion:{major:RIa(a.Ca().U.U),minor:Kh(K(a))},clientPlatform:Hh(K(a))?"CHROME_EXTENSION":"WEB"};this.S={};this.S.userAgentStructured=b;this.Ta={};this.Ta.userAgent=b;this.ka={};this.ka.systemListId="MEMENTO";this.ra=null;this.Ab=!1;this.Hb=[];this.Ma=new Co(this.jc,qea(K(a)),this);B(this,this.Ma);this.Ka=new Co(this.Xb,qea(K(a)),this);B(this,this.Ka);this.Ua=new Vn(this.Fa,150,this);B(this,this.Ua);this.V=
this.ma=!1;this.Va=r(function(){this.V=!1},this);this.ta=!1;this.R=new Set;this.H=new Set;this.W=[]};v(FE,DE);var SIa=/KEEP\/([^/]*)/,TIa=/KEEP\/v2\/([^/]*)\/([^/]*)/,UIa=/KEEP___v3___(.*)___(R[0-9]*)/,VIa={SG:"ARCHIVED",U0:"DUE_DATE",B1:"EXTENSIONS",m3:"LOCATION",TITLE:"TITLE"};FE.prototype.Dp=function(){this.Ab||(this.Ab=!0,this.Ka.od());this.Qa()};
var WIa=function(a){var b=UIa.exec(a);return b&&1<b.length?b[1].replace(/__/g,".-").replace(/_/g,"."):(b=TIa.exec(a))&&1<b.length?b[1]:(b=SIa.exec(a))&&1<b.length?b[1]:null};FE.prototype.Qa=function(){this.U&&!this.V&&(this.ra?this.Ma.od():XIa(this))};
var XIa=function(a,b,c,d){c=r(a.jQ,a,c,d||null);d={};d.taskList=[a.ka];d.requestParameters=a.S;if(b){var e={};e.continuationToken=b;d.continuation=e}d.recurrenceOptions={collapseMode:"MASTER_ONLY"};d.includeDeleted=!1;d.includeArchived=!0;a.sendRequest("GET_REMINDERS_"+Pb(),"reminders/v1internal/reminders/list","POST",JSON.stringify(d),c,!1,a.Va);a.V=!0},GE=function(a,b,c,d){c=r(a.iQ,a,b,c||[]);var e={};e.taskList=[a.ka];e.requestParameters=a.S;e.recurrenceOptions={collapseMode:"INSTANCES_ONLY",recurrencesOnly:!0};
e.includeArchived=!1;e.includeCompleted=!1;e.includeDeleted=!1;e.dueAfterMs=t();var g=new sr;g.add(new pr("d",1));e.dueBeforeMs=g.getTime();d&&(g={},g.continuationToken=d,e.continuation=g);var h=[];E(b,function(a){a&&a.Rb()&&a.Rb().H&&(a=a.Rb().H.ka)&&h.push(tE(a))},a);e.recurrenceId=h;a.sendRequest("GET_RECURRENCE_REMINDERS_"+Pb(),"reminders/v1internal/reminders/list","POST",JSON.stringify(e),c,!1)};
FE.prototype.jc=function(){var a={};a.taskList=[this.ka];a.requestParameters=this.S;a.storageVersion=this.ra||"";a.includeSnoozePresetUpdates=!0;this.sendRequest("GET_HISTORY_"+Pb(),"reminders/v1internal/reminders/history","POST",JSON.stringify(a),r(this.gQ,this),!1,this.Va);this.V=!0};
FE.prototype.Xb=function(){var a={};a.requestParameters=this.Ta;this.sendRequest("GET_PRESETS_"+Pb(),"reminders/v1internal/snoozepresets/get","POST",JSON.stringify(a),r(this.kQ,this),!1,r(function(){this.ta=!1},this));this.ta=!0};
var rIa=function(a,b){var c=b.Rb();if(c){var d,e=null;if(d=c.H)if(c.H&&!c.$){e=sE(b);c=e;var g=(d=b.Rb())?d.S:null;if(g){var h=d.H;if(h){var k={};k.taskId=uE(g);k.recurrenceId=tE(c);k.recurrence=h.Za();k.task=rE(b,d);c=k}else c=null}else c=null;d="reminders/v1internal/reminders/makerecurring"}else d.hc()?(e=sE(b),c=e,(h=(g=(d=b.Rb())?d.H:null)?g.ka:null)?(k={},k.recurrenceId=tE(h),k.newRecurrenceId=tE(c),k.newRecurrence=g.Za(),k.task=rE(b,d),k.updateOptions=HE(),c=k):c=null,d="reminders/v1internal/reminders/recurrence/change"):
((d=(d=(c=b.Rb())?c.H:null)?d.ka:null)?(g={},g.recurrenceId=tE(d),g.newTask=rE(b,c),g.updateMask={updateField:["ARCHIVED","EXTENSIONS","TITLE"]},g.updateOptions=HE(),c=g):c=null,d="reminders/v1internal/reminders/recurrence/update");else!c.H&&c.$?(e=sE(b),c=e,(g=(d=b.Rb())?d.$:null)?(h={},h.recurrenceId=tE(g),h.taskId=uE(c),h.task=rE(b,d),c=h):c=null,c.updateOptions=HE(),d="reminders/v1internal/reminders/recurrence/makenonrecurring"):((g=(d=b.Rb())?d.S:null)?(c={},c.taskId=uE(g),c.newTask=rE(b,d),
d={},d.updateField=Zg(VIa),c.updateMask=d):c=null,d="reminders/v1internal/reminders/update");c&&(c.requestParameters=a.S,e=r(a.iT,a,b,e),vE(a,"UPDATE_REMINDER_"+b.getId(),d,JSON.stringify(c),e),a.R.add(b.getId()))}},sIa=function(a,b){b.Rb()&&b.Rb().H&&(E(wqa(b.Rb().H),function(a){var c=a?a.R:null;if(c){var e={};e.taskId=uE(c);e.newTask=a.Za();e.updateMask={updateField:["ARCHIVED"]};e.requestParameters=this.S;a=r(this.Qa,this);vE(this,"UPDATE_INSTANCE_"+b.getId(),"reminders/v1internal/reminders/update",
JSON.stringify(e),a)}},a),a.R.add(b.getId()))},YIa=function(a,b,c,d){if(b){var e={};e.requestParameters=a.S;c?(e.recurrenceId=tE(b),e.updateOptions=HE()):e.taskId=[uE(b)];vE(a,"DELETE_REMINDER_"+b,c?"reminders/v1internal/reminders/recurrence/delete":"reminders/v1internal/reminders/delete",JSON.stringify(e),d||sa)}};
FE.prototype.Fa=function(){if(this.W.length){var a={};a.requestParameters=this.S;a.batchedRequest=[];var b=this.W.splice(0,100);E(b,function(b){var c=b.Rb();if(c){var e=c.H;if(c=e?e.ka:c.S){this.R.add(b.getId());b={};var g={};e?(b.recurrenceId=[tE(c)],b.updateOptions=HE(),g.deleteRecurrence=b):(b.taskId=[uE(c)],g.deleteTask=b);a.batchedRequest.push(g)}}},this);this.ma=!0;MIa(this,"BATCH_MUTATE_"+Pb(),JSON.stringify(a),r(this.wc,this,b),r(this.yc,this,b))}};
FE.prototype.yc=function(a){E(a,function(a){var b=a.Rb();if(b){a=r(this.eP,this,a);var d=b.H;(b=d?d.ka:b.S)&&YIa(this,b,!!d,a)}},this);this.ma=!1;this.W.length&&this.Fa()};FE.prototype.wc=function(a){E(a,function(a){var b=a.getId();this.H.has(b)||du(a,null);this.R["delete"](b);this.H["delete"](b)},this);this.ma=!1;this.W.length&&this.Fa()};
var uE=function(a){var b={};b.clientAssignedId=a;return b},tE=function(a){var b={};b.id=a;return b},sE=function(a){return a.Rb()&&a.Rb().H?"KEEP___v3___"+a.getId().replace(/\.-/g,"__").replace(/\./g,"_")+"___R"+Math.round(1E8*Math.random()):a.Zb?"KEEP/v2/"+a.Zb+"/R"+Math.round(1E8*Math.random()):"KEEP/"+a.getId()+"/R"+Math.round(1E8*Math.random())},rE=function(a,b){b=b.Za();var c={},d={},e=a.Rb()&&a.Rb().H?"V3":a.Zb?"V2":"V1";d.reminderVersion=e;d.clientNoteId=a.getId();a.Zb&&(d.serverNoteId=a.Zb);
c.keepExtension=d;b.extensions=c;return b},yIa=function(a){var b=[],c={},d=[];E(a.Hb,function(a){var e=ZIa(this,a);if(!e){var h=a.taskId?a.taskId.clientAssignedId:null;h&&(e=$Ia(this,h))}if(e){h=e.getId();if(ah(c,h))if(h=c[h],h.createdTimeMillis<a.createdTimeMillis)d.push(h);else{d.push(a);return}(h=e.Rb())?!h.hc()&&Aqa(h,a)&&h.dispatchEvent("qa"):(h=new vt(a,!0),du(e,h));!h.hc()&&h.H&&b.push(e);e.notify();c[e.getId()]=a}},a);Ug(a.context.Ca().H.S,function(a){var b=a.Rb();!b||b.hc()||ah(c,a.getId())||
du(a,null)},a);b&&b.length&&GE(a,b);E(d,function(a){var b=!!a.recurrenceInfo;if(b){a=a.recurrenceInfo.recurrenceId;if(!a)return;a=a.id}else{a=a.taskId;if(!a)return;a=a.clientAssignedId}a&&YIa(this,a,b)},a)};f=FE.prototype;f.jQ=function(a,b,c){this.V=!1;if(c){var d=!p(a),e=c.task||[];a=a||[];xg(a||[],e);b=b||c.storageVersion;c.continuation?(c=c.continuation.continuationToken)&&XIa(this,c,a,b):(this.Hb=a,this.ra=b,yIa(this),!d&&b&&this.Ma.od())}};
f.iQ=function(a,b,c){if(c){xg(b,c.task||[]);if(c.continuation&&(c=c.continuation.continuationToken)){GE(this,a,b,c);return}E(a,function(a){a&&a.Rb()&&a.Rb().H&&(a=a.Rb().H,a.V=[],a.dispatchEvent("qa"))});E(b,function(a){var b=ZIa(this,a),c=a.recurrenceInfo&&a.recurrenceInfo.recurrenceId?a.recurrenceInfo.recurrenceId.id:null;!b&&c&&(b=$Ia(this,c));b&&b.Rb()&&(b=b.Rb().H)&&b.ka==c&&(c=new yqa,c.update(a),hda(b.V,c,zqa),b.V=zg(b.V,0,1),b.dispatchEvent("qa"))},this)}};
f.gQ=function(a){this.V=!1;if(a){for(var b=a.record||[],c=!1,d=!1,e=0;e<b.length&&(d="snoozePresetsChanged"==(b[e]||{}).type,!c&&d&&(this.ta||this.Ka.od(),c=!0),!(d=!d)||!c);e++);d||a.hasMore||a.resyncRequired?XIa(this):this.ra=a.highestStorageVersion}};f.SO=function(a,b){if(a&&a.Rb()&&b){var c=a.Rb();Gqa(c,b);this.H.has(a.getId())||Fqa(c);this.R["delete"](a.getId());this.H["delete"](a.getId());c.H&&GE(this,[a])}};
f.iT=function(a,b,c){if(a&&a.Rb()&&c){var d=a.Rb();b&&(d.H?(d.H.ka=b,d.$=b):d.S=b);Gqa(d,c);this.H.has(a.getId())||Fqa(d);this.R["delete"](a.getId());this.H["delete"](a.getId());d.H&&GE(this,[a])}};f.eP=function(a,b){b&&(this.H.has(a.getId())||du(a,null),this.R["delete"](a.getId()),this.H["delete"](a.getId()))};f.kQ=function(a){this.ta=!1;a&&ot.Ja().update(a)};f.AS=function(a){a&&sqa()};
var HE=function(){return{updateMode:"FUTURE_INSTANCES",excludeExceptions:!0}},ZIa=function(a,b){a=a.context.Ca().H;b=b.extensions;if(!b)return null;b=b.keepExtension;if(!b)return null;var c=b.serverNoteId;if(c){if(a=a.Fa[c])a.Lf=!1;return a}return(b=b.clientNoteId)?Pu(a,b):null},$Ia=function(a,b){a=a.context.Ca().H;return(b=WIa(b))?Pu(a,b)||a.Fa[b]:null};
var IE=function(a){I.call(this,"navigate");this.token=a};v(IE,I);var aJa=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\x0B")};var LE=function(a,b,c,d){J.call(this);if(a&&!b)throw Error("Bc");if(c)var e=c;else{e="history_state"+bJa;var g=Nj("input",{type:"text",name:e,id:e,style:vj("display:none")});document.write(Jj(g));e=hk(document,e)}this.ka=e;this.R=c?rk(fk(c)):window;this.ta=b;oh&&!b&&(this.ta="https"==window.location.protocol?Bj(vj("https:///")):Bj(vj('javascript:""')));this.S=new Yk(150);B(this,this.S);this.U=!a;this.H=new Am(this);if(a||JE)d?a=d:(a="history_iframe"+bJa,b=Xga(this.ta,{id:a,style:vj("display:none"),
sandbox:void 0}),document.write(Jj(b)),a=hk(document,a)),this.ma=a,this.Da=!0;JE&&(this.H.listen(this.R,"load",this.pW),this.va=this.ra=!1);this.U?cJa(this,this.getToken(),!0):KE(this,this.ka.value);bJa++};v(LE,J);LE.prototype.$=!1;LE.prototype.W=!1;LE.prototype.V=null;
var dJa=function(a,b){var c=b||aJa;return function(){var b=this||m;b=b.closure_memoize_cache_||(b.closure_memoize_cache_={});var e=c(za(a),arguments);return b.hasOwnProperty(e)?b[e]:b[e]=a.apply(this,arguments)}}(function(){return oh?xh(8):"onhashchange"in m}),JE=oh&&!xh(8);f=LE.prototype;f.mn=null;f.Na=function(){LE.ua.Na.call(this);this.H.dispose();this.setEnabled(!1)};
f.setEnabled=function(a){if(a!=this.$)if(JE&&!this.ra)this.va=a;else if(a)if(nh?this.H.listen(this.R.document,eJa,this.Fa):rh&&this.H.listen(this.R,"pageshow",this.UW),dJa()&&this.U)this.H.listen(this.R,"hashchange",this.wW),this.$=!0,this.dispatchEvent(new IE(this.getToken()));else{if(!oh||qD()||this.ra)this.H.listen(this.S,"tick",r(this.Ba,this,!0)),this.$=!0,JE||(this.V=this.getToken(),this.dispatchEvent(new IE(this.getToken()))),this.S.start()}else this.$=!1,this.H.removeAll(),this.S.stop()};
f.pW=function(){this.ra=!0;this.ka.value&&KE(this,this.ka.value,!0);this.setEnabled(this.va)};f.UW=function(a){a.H.persisted&&(this.setEnabled(!1),this.setEnabled(!0))};f.wW=function(){var a=ME(this.R);a!=this.V&&fJa(this,a)};f.getToken=function(){return null!=this.mn?this.mn:this.U?ME(this.R):gJa(this)||""};f.setToken=function(a,b){this.getToken()!=a&&(this.U?(cJa(this,a,!1),dJa()||oh&&!qD()&&KE(this,a,!1,b),this.$&&this.Ba()):(KE(this,a,!1),this.mn=this.V=this.ka.value=a,this.dispatchEvent(new IE(a))))};
var ME=function(a){a=a.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)},cJa=function(a,b,c){a=a.R.location;var d=a.href.split("#")[0],e=Gb(a.href,"#");if(JE||e||b)d+="#"+b;d!=a.href&&(c?a.replace(d):Rj(a,Via(d)))},KE=function(a,b,c,d){if(a.Da||b!=gJa(a))if(a.Da=!1,b=Db(b),oh){var e=Gk(a.ma);e.open("text/html",c?"replace":void 0);c=Oj(Nj("title",{},d||a.R.document.title),Nj("body",{},b));e.write(Jj(c));e.close()}else e=Aj(a.ta)+"#"+b,(a=a.ma.contentWindow)&&(c?a.location.replace(e):
Rj(a.location,e))},gJa=function(a){if(oh)return a=Gk(a.ma),a.body?Eb(a.body.innerHTML):null;var b=a.ma.contentWindow;if(b){try{var c=Eb(ME(b))}catch(d){return a.W||(1!=a.W&&a.S.setInterval(1E4),a.W=!0),null}a.W&&(0!=a.W&&a.S.setInterval(150),a.W=!1);return c||null}return null};LE.prototype.Ba=function(){if(this.U){var a=ME(this.R);a!=this.V&&fJa(this,a)}if(!this.U||JE)if(a=gJa(this)||"",null==this.mn||a==this.mn)this.mn=null,a!=this.V&&fJa(this,a)}; var fJa=function(a,b){a.V=a.ka.value=b;a.U?(JE&&KE(a,b),cJa(a,b)):KE(a,b);a.dispatchEvent(new IE(a.getToken()))};LE.prototype.Fa=function(){this.S.stop();this.S.start()};var eJa=["mousedown","keydown","mousemove"],bJa=0;
var NE=function(a){J.call(this);this.H=a||window;this.S=null;si(this.H,"popstate",this.R,!1,this);si(this.H,"hashchange",this.R,!1,this)};v(NE,J);var hJa=function(){var a=window;return!(!a.history||!a.history.pushState)};f=NE.prototype;f.ew=!1;f.setEnabled=function(a){a!=this.ew&&(this.ew=a)&&this.dispatchEvent(new IE(this.getToken()))};f.getToken=function(){return iJa(this)};f.setToken=function(a,b){a!=this.getToken()&&(this.H.history.pushState(null,b||this.H.document.title||"","#"+a),this.dispatchEvent(new IE(a)))};
f.Na=function(){vi(this.H,"popstate",this.R,!1,this);vi(this.H,"hashchange",this.R,!1,this)};var iJa=function(a){a=a.H.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)};NE.prototype.R=function(a){if(this.ew){var b=iJa(this);if("popstate"==a.type||b!=this.S)this.S=b,this.dispatchEvent(new IE(this.getToken()))}};
var OE=function(a){J.call(this);this.ma=nj(a);this.R=a.Ca().S;this.S=hJa()?new NE:new LE;this.W=this.U=null;this.H=new Am(this);B(this,this.H);this.V=Zg(ula);this.V.push("LIST");this.V.push("NOTE")};v(OE,J);var jJa=Th("cHJlLXVzZXItaW5mby1sYWJlbC1pZA==");
OE.prototype.init=function(a,b){this.Lb(a);this.H.listen(this.S,"navigate",this.$).listen(this.R,"Ka",this.update);this.S.setEnabled(!0);b?(this.Kb("home"),kJa(this,b)):""==this.S.getToken()&&(a=Mg(window.location.href,"note"),a||(a=(a=Mg(window.location.href,"reminder"))?WIa(a):null),a&&((this.U=Mg(window.location.href,"email"))&&Oda&&!oh&&Rj(window.location,"http://play.google.com/store/apps/details?id=com.google.android.keep"),this.W=Mg(window.location.href,"proposedEmailToAdd"),this.Kb("NOTE",
a),kJa(this,"note",a),hJa()&&(a=Ng(window.location.href,"note"),a=Ng(a,"reminder"),a=Ng(a,"email"),a=Ng(a,"proposedEmailToAdd"),window.history.replaceState(null,document.title,pda(a)))))};OE.prototype.update=function(){var a=$o(this.R),b;this.R.getTag()?b=this.R.getTag().getName():Yo(this.R)&&(b=Yo(this.R).Za());this.Kb(a,b)};OE.prototype.Kb=function(a,b){pg(this.V,a)&&("home"!=a||""!=this.S.getToken())&&this.S.setToken(a+(b?"/"+b:""))};
OE.prototype.$=function(a){try{var b=Eb(a.token).split("/");kJa(this,b[0],b[1]||null)}catch(c){Xo(this.R,"home"),this.update()}};
var kJa=function(a,b,c){b=b||"home";a.H.$a(a.R,"Ka",a.update);b=b.toLowerCase();switch(b){case "search":a.dispatchEvent("yd");c=Kqa(c||"");Zo(a.R,c,!0);break;case Wo.toLowerCase():a.dispatchEvent("yd");if(!c)break;b=Ar.Ja();b.qc()?(c=b.getTag(c))&&a.R.setTag(c):(b={},b.name=c,b.mainId=jJa,c=new yr(b),a.R.setTag(c),a.H.Jb(Ar.Ja(),"Ja",a.ka));break;case "archive":a.dispatchEvent("yd");Xo(a.R,"archive");break;case "home":a.dispatchEvent("yd");Xo(a.R,"home");a.ma.log(9001);break;case "reminders":a.dispatchEvent("yd");
Xo(a.R,"reminders");break;case "trash":a.dispatchEvent("yd");Xo(a.R,"trash");break;case "list":case "note":c&&a.dispatchEvent(new gza(c,a.U,a.W))}a.H.listen(a.R,"Ka",a.update)};OE.prototype.ka=function(){var a=this.R.getTag();a&&a.getId()==jJa&&((a=Ar.Ja().getTag(a.getName()))?this.R.setTag(a):Xo(this.R,"home"))};
var lJa=function(){this.S=this.R=this.H=null};l(lJa,w);var mJa=function(a,b){a.S=b;return a},nJa=function(a){PE();var b=new QE;b.R="";b.S=lf();b.H="";b.R=a.H;b.S=qf(a.R);b.H=a.S;a.H="";a.R=ff();a.S="";return b};lJa.prototype.wa=["com.google.apps.realtime.v1.RealtimeCustom$Builder",0];
var RE=function(){sf.call(this);this.R=0};l(RE,sf);var SE=function(a,b,c){var d=new RE;tf(d,a,b);d.R=c;return d},qJa=function(a){TE();switch(a){case 0:return UE;case 1:return oJa;case 2:return VE}return pJa};RE.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,rJa,RE))};var rJa=function(a){return a instanceof RE},TE=function(){TE=function(){};UE=SE("SHIFT_AFTER_DELETE",0,0);oJa=SE("SHIFT_BEFORE_DELETE",1,1);VE=SE("SHIFT_TO_INVALID",2,2);pJa=SE("UNRECOGNIZED",3,-1)}; RE.prototype.wa=["com.google.apps.realtime.v1.DeleteMode",2];var UE=null,oJa=null,VE=null,pJa=null;
var sJa=function(){this.R=null;this.S=0;this.H=this.U=null};l(sJa,w);sJa.prototype.wa=["com.google.apps.realtime.v1.RealtimeIndexReference$Builder",0];var WE=function(){this.R=null;this.S=0;this.H=this.U=null};l(WE,w);var uJa=function(){XE();var a=new WE;tJa(a);return a};WE.prototype.equals=function(a){if(x(a,this))return!0;if(!vJa(a))return!1;a=z(a,vJa,WE);return x(this.R,a.R)&&Hd(zd(this.S),zd(a.S))&&x(this.U,a.U)&&Hd(this.H,a.H)?!0:!1};WE.prototype.qb=function(){var a=0+Id(this.H);a=31*a+Id(zd(this.S));a=31*a+Id(this.U);return a=31*a+Id(this.R)}; var vJa=function(a){return a instanceof WE},XE=function(){XE=function(){};wJa=uJa()},tJa=function(a){a.R="";a.S=0;a.U="";a.H=(TE(),UE)};WE.prototype.wa=["com.google.apps.realtime.v1.RealtimeIndexReference",0];var wJa=null;
var xJa=function(){this.R=this.H=null};l(xJa,w);var yJa=function(a){YE();var b=new ZE;b.H="";b.R=kf();b.H=a.H;b.R=pf(a.R);a.H="";a.R=de();return b};xJa.prototype.wa=["com.google.apps.realtime.v1.RealtimeList$Builder",0];var ZE=function(){this.R=this.H=null};l(ZE,w);var zJa=function(){YE();var a=new ZE;a.H="";a.R=kf();return a};ZE.prototype.equals=function(a){if(x(a,this))return!0;if(!AJa(a))return!1;a=z(a,AJa,ZE);return x(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};ZE.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};var BJa=function(){YE();var a=new xJa;a.H="";a.R=de();return a},AJa=function(a){return a instanceof ZE},YE=function(){YE=function(){};CJa=zJa()}; ZE.prototype.wa=["com.google.apps.realtime.v1.RealtimeList",0];var CJa=null;
var DJa=function(){this.R=this.H=null};l(DJa,w);var EJa=function(a){$E();var b=new aF;b.H="";b.R=lf();b.H=a.H;b.R=qf(a.R);a.H="";a.R=ff();return b};DJa.prototype.wa=["com.google.apps.realtime.v1.RealtimeMap$Builder",0];var aF=function(){this.R=this.H=null};l(aF,w);var FJa=function(){$E();var a=new aF;a.H="";a.R=lf();return a};aF.prototype.equals=function(a){if(x(a,this))return!0;if(!GJa(a))return!1;a=z(a,GJa,aF);return x(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};aF.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};var HJa=function(){$E();var a=new DJa;a.H="";a.R=ff();return a},GJa=function(a){return a instanceof aF},$E=function(){$E=function(){};IJa=FJa()}; aF.prototype.wa=["com.google.apps.realtime.v1.RealtimeMap",0];var IJa=null;
var JJa=function(){this.R=this.H=null};l(JJa,w);JJa.prototype.wa=["com.google.apps.realtime.v1.RealtimeString$Builder",0];var bF=function(){this.R=this.H=null};l(bF,w);var KJa=function(){cF();var a=new bF;a.H="";a.R="";return a};bF.prototype.equals=function(a){if(x(a,this))return!0;if(!LJa(a))return!1;a=z(a,LJa,bF);return x(this.H,a.H)&&x(this.R,a.R)?!0:!1};bF.prototype.qb=function(){var a=0+Id(this.H);return a=31*a+Id(this.R)};var LJa=function(a){return a instanceof bF},cF=function(){cF=function(){};MJa=KJa()};bF.prototype.wa=["com.google.apps.realtime.v1.RealtimeString",0];var MJa=null;
var dF=function(){sf.call(this)};l(dF,sf);var eF=function(a,b){var c=new dF;tf(c,a,b);return c};dF.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,NJa,dF))};var NJa=function(a){return a instanceof dF},fF=function(){fF=function(){};gF=eF("KIND_NOT_SET",0);hF=eF("JSON",1);iF=eF("REFERENCED_ID",2);jF=eF("MAP",3);kF=eF("LIST",4);lF=eF("STRING",5);mF=eF("INDEX_REFERENCE",6);nF=eF("CUSTOM",7)};dF.prototype.wa=["com.google.apps.realtime.v1.RealtimeValue$KindCase",2]; var gF=null,hF=null,iF=null,jF=null,kF=null,lF=null,mF=null,nF=null;
var oF=function(){this.Ao=null};l(oF,w);var OJa=function(a){pF();var b=new qF;b.H=kf();b.H=pf(a.Ao);a.Ao=de();return b},PJa=function(a){return a instanceof oF};oF.prototype.wa=["com.google.protobuf.ListValue$Builder",0];var qF=function(){this.H=null};l(qF,w);var QJa=function(){pF();var a=new qF;a.H=kf();return a};qF.prototype.equals=function(a){if(x(a,this))return!0;if(!RJa(a))return!1;a=z(a,RJa,qF);return Hd(this.H,a.H)?!0:!1};qF.prototype.qb=function(){return 0+Id(this.H)};var SJa=function(){pF();var a=new oF;a.Ao=de();return a},RJa=function(a){return a instanceof qF},pF=function(){pF=function(){};TJa=QJa()};qF.prototype.wa=["com.google.protobuf.ListValue",0];var TJa=null;
var rF=function(){sf.call(this)};l(rF,sf);var UJa=function(a,b){var c=new rF;tf(c,a,b);return c};rF.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,VJa,rF))};var VJa=function(a){return a instanceof rF},WJa=function(){WJa=function(){};XJa=UJa("NULL_VALUE",0);UJa("UNRECOGNIZED",1)};rF.prototype.wa=["com.google.protobuf.NullValue",2];var XJa=null;
var sF=function(){this.xo=null};l(sF,w);var YJa=function(a){tF();var b=new uF;b.H=lf();b.H=qf(a.xo);a.xo=ff();return b},ZJa=function(a){return a instanceof sF};sF.prototype.wa=["com.google.protobuf.Struct$Builder",0];var uF=function(){this.H=null};l(uF,w);var $Ja=function(){tF();var a=new uF;a.H=lf();return a};uF.prototype.equals=function(a){if(x(a,this))return!0;if(!aKa(a))return!1;a=z(a,aKa,uF);return Hd(this.H,a.H)?!0:!1};uF.prototype.qb=function(){return 0+Id(this.H)};var bKa=function(){tF();var a=new sF;a.xo=ff();return a},aKa=function(a){return a instanceof uF},tF=function(){tF=function(){};cKa=$Ja()};uF.prototype.wa=["com.google.protobuf.Struct",0];var cKa=null;
var vF=function(){sf.call(this)};l(vF,sf);var wF=function(a,b){var c=new vF;tf(c,a,b);return c};vF.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,dKa,vF))};var dKa=function(a){return a instanceof vF},xF=function(){xF=function(){};yF=wF("KIND_NOT_SET",0);zF=wF("NULL_VALUE",1);AF=wF("NUMBER_VALUE",2);BF=wF("STRING_VALUE",3);CF=wF("BOOL_VALUE",4);DF=wF("STRUCT_VALUE",5);EF=wF("LIST_VALUE",6)};vF.prototype.wa=["com.google.protobuf.Value$KindCase",2]; var yF=null,zF=null,AF=null,BF=null,CF=null,DF=null,EF=null;
var eKa=function(){this.R=this.H=null};l(eKa,w);
var fKa=function(){var a=FF(),b=(WJa(),XJa);a.H=(xF(),zF);a.R=b;return a},gKa=function(a,b){a.H=(xF(),AF);a.R=b;return a},GF=function(a,b){a.H=(xF(),BF);a.R=b;return a},hKa=function(a,b){a.H=(xF(),CF);a.R=b;return a},iKa=function(a,b){a.H=(xF(),DF);a.R=b;return a},jKa=function(a,b){a.H=(xF(),EF);a.R=b;return a},JF=function(a){HF();var b=new IF;xF();b.R=a.R;b.H=a.H;x(a.H,zF)&&(a.H=yF,a.R=null);x(a.H,AF)&&(a.H=yF,a.R=null);x(a.H,BF)&&(a.H=yF,a.R=null);x(a.H,CF)&&(a.H=yF,a.R=null);x(a.H,DF)&&(a.H=yF, a.R=null);x(a.H,EF)&&(a.H=yF,a.R=null);return b};eKa.prototype.wa=["com.google.protobuf.Value$Builder",0];
var IF=function(){this.R=this.H=null};l(IF,w);var kKa=function(){HF();var a=new IF;a.H=(xF(),yF);a.R=null;return a},mKa=function(){HF();return lKa},KF=function(a){return x(a.H,(xF(),AF))?Yc(z(a.R,iba,bd)):0},LF=function(a){return x(a.H,(xF(),BF))?z(a.R,Fd,cd):""},nKa=function(a){return x(a.H,(xF(),CF))?Yc(z(a.R,Tc,Sc)):!1},MF=function(a){x(a.H,(xF(),DF))?a=z(a.R,aKa,uF):(tF(),a=cKa);return a},NF=function(a){x(a.H,(xF(),EF))?a=z(a.R,RJa,qF):(pF(),a=TJa);return a};
IF.prototype.equals=function(a){if(x(a,this))return!0;if(!OF(a))return!1;a=z(a,OF,IF);return Hd(this.R,a.R)&&x(this.H,a.H)?!0:!1};IF.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};var FF=function(){HF();var a=new eKa;a.H=(xF(),yF);a.R=null;return a},OF=function(a){return a instanceof IF},HF=function(){HF=function(){};lKa=kKa()};IF.prototype.wa=["com.google.protobuf.Value",0];var lKa=null;
var oKa=function(){this.R=this.H=null;this.W=this.V=this.U=this.S=0};l(oKa,w);
var PF=function(a,b){a.H=(fF(),hF);a.R=b;return a},pKa=function(a,b){a.H=(fF(),iF);a.R=b;return a},SF=function(a){QF();var b=new RF;qKa(b);b.R=a.R;b.S=a.S;b.U=a.U;b.V=a.V;b.W=a.W;b.H=a.H;x(a.H,(fF(),hF))&&(a.H=(fF(),gF),a.R=null);x(a.H,(fF(),iF))&&(a.H=(fF(),gF),a.R=null);x(a.H,(fF(),jF))&&(a.H=(fF(),gF),a.R=null);x(a.H,(fF(),kF))&&(a.H=(fF(),gF),a.R=null);x(a.H,(fF(),lF))&&(a.H=(fF(),gF),a.R=null);x(a.H,(fF(),mF))&&(a.H=(fF(),gF),a.R=null);x(a.H,(fF(),nF))&&(a.H=(fF(),gF),a.R=null);a.S=0;a.U=0;a.V= 0;a.W=0;return b};oKa.prototype.wa=["com.google.apps.realtime.v1.RealtimeValue$Builder",0];
var RF=function(){this.R=this.H=null;this.W=this.V=this.U=this.S=0};l(RF,w);var rKa=function(){QF();var a=new RF;qKa(a);return a},TF=function(){QF();return sKa},UF=function(a){return x(a.H,(fF(),hF))?z(a.R,OF,IF):mKa()},VF=function(a){return x(a.H,(fF(),iF))?z(a.R,Fd,cd):""};RF.prototype.equals=function(a){if(x(a,this))return!0;if(!WF(a))return!1;a=z(a,WF,RF);return Hd(this.R,a.R)&&Hd(zd(this.S),zd(a.S))&&Hd(zd(this.U),zd(a.U))&&Hd(zd(this.V),zd(a.V))&&Hd(zd(this.W),zd(a.W))&&x(this.H,a.H)?!0:!1};
RF.prototype.qb=function(){var a=0+Id(this.R);a=31*a+Id(zd(this.U));a=31*a+Id(this.H);a=31*a+Id(zd(this.S));a=31*a+Id(zd(this.V));return a=31*a+Id(zd(this.W))};var XF=function(){QF();var a=new oKa;a.H=(fF(),gF);a.R=null;a.S=0;a.U=0;a.V=0;a.W=0;return a},WF=function(a){return a instanceof RF},tKa=function(a){return Ja(a,RF)},QF=function(){QF=function(){};sKa=rKa()},qKa=function(a){a.H=(fF(),gF);a.R=null;a.S=0;a.U=0;a.V=0;a.W=0};RF.prototype.wa=["com.google.apps.realtime.v1.RealtimeValue",0]; var sKa=null;
var QE=function(){this.H=this.S=this.R=null};l(QE,w);var uKa=function(){PE();var a=new QE;a.R="";a.S=lf();a.H="";return a};QE.prototype.equals=function(a){if(x(a,this))return!0;if(!vKa(a))return!1;a=z(a,vKa,QE);return x(this.R,a.R)&&Hd(this.S,a.S)&&x(this.H,a.H)?!0:!1};QE.prototype.qb=function(){var a=0+Id(this.S);a=31*a+Id(this.R);return a=31*a+Id(this.H)}; var wKa=function(){PE();var a=new lJa;a.H="";a.R=ff();a.S="";return a},vKa=function(a){return a instanceof QE},PE=function(){PE=function(){};xKa=uKa()};QE.prototype.wa=["com.google.apps.realtime.v1.RealtimeCustom",0];var xKa=null;
var YF=function(){this.S=this.H=null;this.R=!1};l(YF,w);var ZF=function(a,b){a.H.add(b);return a},bG=function(a,b){for(b=b.Xa();b.Wa();){var c=z(b.Ya(),$F,aG);a.H.add(c)}return a},yKa=function(a,b){a.S=b;return a},cG=function(a,b){a.R=b;return a},fG=function(a){dG();var b=new eG;b.H=kf();b.R="";b.S=!1;b.H=pf(a.H);b.R=a.S;b.S=a.R;a.H=de();a.S="";a.R=!1;return b},zKa=function(a){return a instanceof YF};YF.prototype.wa=["com.google.apps.realtime.v1.CompoundOperation$Builder",0];
var gG=function(){sf.call(this)};l(gG,sf);var hG=function(a,b){var c=new gG;tf(c,a,b);return c};gG.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,AKa,gG))};var AKa=function(a){return a instanceof gG},iG=function(){iG=function(){};jG=hG("KIND_NOT_SET",0);kG=hG("MAP",1);lG=hG("LIST",2);mG=hG("STRING",3);nG=hG("INDEX_REFERENCE",4);oG=hG("CUSTOM",5)};gG.prototype.wa=["com.google.apps.realtime.v1.CreateOperation$KindCase",2];var jG=null,kG=null,lG=null,mG=null,nG=null,oG=null;
var BKa=function(){this.R=this.H=null};l(BKa,w);
var CKa=function(){var a=pG();$E();var b=IJa;a.H=(iG(),kG);a.R=b;return a},DKa=function(){var a=pG();YE();var b=CJa;a.H=(iG(),lG);a.R=b;return a},EKa=function(){var a=pG();cF();var b=MJa;a.H=(iG(),mG);a.R=b;return a},FKa=function(){var a=pG();XE();var b=wJa;a.H=(iG(),nG);a.R=b;return a},sG=function(a){qG();var b=new rG;iG();b.R=a.R;b.H=a.H;x(a.H,kG)&&(a.H=jG,a.R=null);x(a.H,lG)&&(a.H=jG,a.R=null);x(a.H,mG)&&(a.H=jG,a.R=null);x(a.H,nG)&&(a.H=jG,a.R=null);x(a.H,oG)&&(a.H=jG,a.R=null);return b}; BKa.prototype.wa=["com.google.apps.realtime.v1.CreateOperation$Builder",0];
var rG=function(){this.R=this.H=null};l(rG,w);var GKa=function(){qG();var a=new rG;a.H=(iG(),jG);a.R=null;return a},HKa=function(a){x(a.H,(iG(),oG))?a=z(a.R,vKa,QE):(PE(),a=xKa);return a};rG.prototype.equals=function(a){if(x(a,this))return!0;if(!tG(a))return!1;a=z(a,tG,rG);return Hd(this.R,a.R)&&x(this.H,a.H)?!0:!1};rG.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};
var pG=function(){qG();var a=new BKa;a.H=(iG(),jG);a.R=null;return a},tG=function(a){return a instanceof rG},IKa=function(a){return Ja(a,rG)},qG=function(){qG=function(){};JKa=GKa()};rG.prototype.wa=["com.google.apps.realtime.v1.CreateOperation",0];var JKa=null;
var uG=function(){this.H=this.R=0};l(uG,w);var KKa=function(a){var b=new uG;b.R=a.H;b.H=a.R;return b},LKa=function(a,b){a.R=b;return a},vG=function(a,b){a.H=b;return a},yG=function(a){wG();var b=new xG;b.H=a.R;b.R=a.H;a.R=0;a.H=0;return b};uG.prototype.wa=["com.google.apps.realtime.v1.DeleteOperation$Builder",0];
var xG=function(){this.R=this.H=0};l(xG,w);var MKa=function(){wG();var a=new xG;a.H=0;a.R=0;return a};xG.prototype.equals=function(a){if(x(a,this))return!0;if(!NKa(a))return!1;a=z(a,NKa,xG);return Hd(zd(this.H),zd(a.H))&&Hd(zd(this.R),zd(a.R))?!0:!1};xG.prototype.qb=function(){var a=0+Id(zd(this.H));return a=31*a+Id(zd(this.R))};var OKa=function(){wG();var a=new uG;a.R=0;a.H=0;return a},NKa=function(a){return a instanceof xG},wG=function(){wG=function(){};PKa=MKa()}; xG.prototype.wa=["com.google.apps.realtime.v1.DeleteOperation",0];var PKa=null;
var zG=function(){};l(zG,w);zG.prototype.equals=function(a){if(x(a,this))return!0;if(!QKa(a))return!1;z(a,QKa,zG);return!0};zG.prototype.qb=function(){return 0};var QKa=function(a){return a instanceof zG},RKa=function(){RKa=function(){};SKa=new zG};zG.prototype.wa=["com.google.apps.realtime.v1.DestroyOperation",0];var SKa=null;
var AG=function(){sf.call(this)};l(AG,sf);var TKa=function(a,b){var c=new AG;tf(c,a,b);return c};AG.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,UKa,AG))};var UKa=function(a){return a instanceof AG},VKa=function(){VKa=function(){};TKa("RECURSIVE",0);WKa=TKa("NONE",1);TKa("UNRECOGNIZED",2)};AG.prototype.wa=["com.google.apps.realtime.v1.ReferenceFollowing",2];var WKa=null;
var BG=function(){this.S=null;this.R=0;this.H=null};l(BG,w);var YKa=function(a){var b=new BG;XKa(b);b.S=a.R;b.R=a.H;b.H=a.S;return b},ZKa=function(a,b){a.R=b;return a},aLa=function(a){CG();var b=new DG;$Ka(b);b.R=a.S;b.H=a.R;b.S=a.H;a.S="";a.R=0;a.H=(TE(),UE);return b},XKa=function(a){a.S="";a.R=0;a.H=(TE(),UE)};BG.prototype.wa=["com.google.apps.realtime.v1.IndexOperation$Builder",0];
var DG=function(){this.R=null;this.H=0;this.S=null};l(DG,w);var bLa=function(){CG();var a=new DG;$Ka(a);return a};DG.prototype.equals=function(a){if(x(a,this))return!0;if(!cLa(a))return!1;a=z(a,cLa,DG);return x(this.R,a.R)&&Hd(zd(this.H),zd(a.H))&&Hd(this.S,a.S)?!0:!1};DG.prototype.qb=function(){var a=0+Id(this.S);a=31*a+Id(this.R);return a=31*a+Id(zd(this.H))};var cLa=function(a){return a instanceof DG},CG=function(){CG=function(){};dLa=bLa()},$Ka=function(a){a.R="";a.H=0;a.S=(TE(),UE)}; DG.prototype.wa=["com.google.apps.realtime.v1.IndexOperation",0];var dLa=null;
var EG=function(){this.S=0;this.H=this.R=null};l(EG,w);var FG=function(a){var b=new EG;b.S=0;b.R=de();b.H="";b.S=a.H;b.R=ee(a.R);b.H=a.S;return b},GG=function(a,b){a.S=b;return a},eLa=function(a,b){for(b=b.Xa();b.Wa();){var c=z(b.Ya(),WF,RF);a.R.add(c)}},HG=function(a,b){a.H=b;return a},KG=function(a){IG();var b=new JG;b.H=0;b.R=kf();b.S="";b.H=a.S;b.R=pf(a.R);b.S=a.H;a.S=0;a.R=de();a.H="";return b},fLa=function(a){return a instanceof EG}; EG.prototype.wa=["com.google.apps.realtime.v1.InsertOperation$Builder",0];
var JG=function(){this.H=0;this.S=this.R=null};l(JG,w);var gLa=function(){IG();var a=new JG;a.H=0;a.R=kf();a.S="";return a};JG.prototype.equals=function(a){if(x(a,this))return!0;if(!hLa(a))return!1;a=z(a,hLa,JG);return Hd(zd(this.H),zd(a.H))&&Hd(this.R,a.R)&&x(this.S,a.S)?!0:!1};JG.prototype.qb=function(){var a=0+Id(this.S);a=31*a+Id(this.R);return a=31*a+Id(zd(this.H))}; var LG=function(){IG();var a=new EG;a.S=0;a.R=de();a.H="";return a},hLa=function(a){return a instanceof JG},IG=function(){IG=function(){};iLa=gLa()};JG.prototype.wa=["com.google.apps.realtime.v1.InsertOperation",0];var iLa=null;
var jLa=function(){this.H=this.S=0;this.R=null};l(jLa,w);jLa.prototype.wa=["com.google.apps.realtime.v1.MoveOperation$Builder",0];var MG=function(){this.R=this.H=0;this.S=null};l(MG,w);var kLa=function(){NG();var a=new MG;a.H=0;a.R=0;a.S="";return a};MG.prototype.equals=function(a){if(x(a,this))return!0;if(!lLa(a))return!1;a=z(a,lLa,MG);return Hd(zd(this.H),zd(a.H))&&Hd(zd(this.R),zd(a.R))&&x(this.S,a.S)?!0:!1};MG.prototype.qb=function(){var a=0+Id(zd(this.R));a=31*a+Id(zd(this.H));return a=31*a+Id(this.S)};var lLa=function(a){return a instanceof MG},NG=function(){NG=function(){};mLa=kLa()}; MG.prototype.wa=["com.google.apps.realtime.v1.MoveOperation",0];var mLa=null;
var OG=function(){sf.call(this)};l(OG,sf);var PG=function(a,b){var c=new OG;tf(c,a,b);return c};OG.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,nLa,OG))};
var nLa=function(a){return a instanceof OG},QG=function(){QG=function(){};RG=PG("KIND_NOT_SET",0);SG=PG("CREATE",1);TG=PG("DESTROY_OBJECT",2);UG=PG("INSERT",3);oLa=PG("APPEND",4);VG=PG("DELETE",5);WG=PG("SET",6);XG=PG("UPDATE",7);YG=PG("MOVE",8);ZG=PG("INDEX",9);$G=PG("COMPOUND",10);pLa=PG("FOR_EACH",11);qLa=PG("REPLACE_CONTENTS",12);rLa=PG("IF_ELSE",13);sLa=PG("BATCH",14);tLa=PG("COLLECT_GARBAGE",15)};OG.prototype.wa=["com.google.apps.realtime.v1.Operation$KindCase",2]; var RG=null,SG=null,TG=null,UG=null,oLa=null,VG=null,WG=null,XG=null,YG=null,ZG=null,$G=null,pLa=null,qLa=null,rLa=null,sLa=null,tLa=null;
var aH=function(){this.H=0;this.R=null};l(aH,w);var uLa=function(a){bH();var b=new cH;b.H=0;b.R=kf();b.H=a.H;b.R=pf(a.R);a.H=0;a.R=de();return b},vLa=function(a){return a instanceof aH};aH.prototype.wa=["com.google.apps.realtime.v1.SetOperation$Builder",0];
var cH=function(){this.H=0;this.R=null};l(cH,w);var wLa=function(){bH();var a=new cH;a.H=0;a.R=kf();return a},dH=function(a){return a.R.size()};cH.prototype.equals=function(a){if(x(a,this))return!0;if(!xLa(a))return!1;a=z(a,xLa,cH);return Hd(zd(this.H),zd(a.H))&&Hd(this.R,a.R)?!0:!1};cH.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(zd(this.H))};var yLa=function(){bH();var a=new aH;a.H=0;a.R=de();return a},xLa=function(a){return a instanceof cH},bH=function(){bH=function(){};zLa=wLa()}; cH.prototype.wa=["com.google.apps.realtime.v1.SetOperation",0];var zLa=null;
var ALa=function(){this.R=this.H=null};l(ALa,w);ALa.prototype.wa=["com.google.apps.realtime.v1.UpdateOperation$Builder",0];var eH=function(){this.R=this.H=null};l(eH,w);var BLa=function(){fH();var a=new eH;a.H="";a.R=TF();return a};eH.prototype.equals=function(a){if(x(a,this))return!0;if(!CLa(a))return!1;a=z(a,CLa,eH);return x(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};eH.prototype.qb=function(){var a=0+Id(this.H);return a=31*a+Id(this.R)};var CLa=function(a){return a instanceof eH},fH=function(){fH=function(){};DLa=BLa()};eH.prototype.wa=["com.google.apps.realtime.v1.UpdateOperation",0];var DLa=null;
var ELa=function(){this.R=this.S=this.H=null};l(ELa,w);
var gH=function(a,b){a.S=b;return a},iH=function(a){hH();var b=new aG;FLa(b);b.H=a.S;b.S=a.R;b.R=a.H;a.S="";x(a.H,(QG(),SG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),TG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),UG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),oLa))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),VG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),WG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),XG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),YG))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),ZG))&&(a.H=(QG(),RG),a.R=null);x(a.H,
(QG(),$G))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),pLa))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),qLa))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),rLa))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),sLa))&&(a.H=(QG(),RG),a.R=null);x(a.H,(QG(),tLa))&&(a.H=(QG(),RG),a.R=null);return b};ELa.prototype.wa=["com.google.apps.realtime.v1.Operation$Builder",0];
var aG=function(){this.S=this.H=this.R=null};l(aG,w);
var GLa=function(){hH();var a=new aG;FLa(a);return a},jH=function(){hH();return HLa},kH=function(a){x(a.R,(QG(),SG))?a=z(a.S,tG,rG):(qG(),a=JKa);return a},lH=function(a){x(a.R,(QG(),UG))?a=z(a.S,hLa,JG):(IG(),a=iLa);return a},mH=function(a){x(a.R,(QG(),VG))?a=z(a.S,NKa,xG):(wG(),a=PKa);return a},nH=function(a){x(a.R,(QG(),WG))?a=z(a.S,xLa,cH):(bH(),a=zLa);return a},oH=function(a){x(a.R,(QG(),XG))?a=z(a.S,CLa,eH):(fH(),a=DLa);return a},pH=function(a){x(a.R,(QG(),YG))?a=z(a.S,lLa,MG):(NG(),a=mLa);return a},
qH=function(a){x(a.R,(QG(),ZG))?a=z(a.S,cLa,DG):(CG(),a=dLa);return a},rH=function(a){x(a.R,(QG(),$G))?a=z(a.S,ILa,eG):(dG(),a=JLa);return a};aG.prototype.equals=function(a){if(x(a,this))return!0;if(!$F(a))return!1;a=z(a,$F,aG);return x(this.H,a.H)&&Hd(this.S,a.S)&&x(this.R,a.R)?!0:!1};aG.prototype.qb=function(){var a=0+Id(this.H);a=31*a+Id(this.S);return a=31*a+Id(this.R)};
var sH=function(){hH();var a=new ELa;a.H=(QG(),RG);a.S="";a.R=null;return a},$F=function(a){return a instanceof aG},hH=function(){hH=function(){};HLa=GLa()},FLa=function(a){a.R=(QG(),RG);a.H="";a.S=null};aG.prototype.wa=["com.google.apps.realtime.v1.Operation",0];var HLa=null;
var eG=function(){this.R=this.H=null;this.S=!1};l(eG,w);var KLa=function(){dG();var a=new eG;a.H=kf();a.R="";a.S=!1;return a};eG.prototype.equals=function(a){if(x(a,this))return!0;if(!ILa(a))return!1;a=z(a,ILa,eG);return Hd(this.H,a.H)&&x(this.R,a.R)&&Hd(this.S,a.S)?!0:!1};eG.prototype.qb=function(){var a=0+Id(this.H);a=31*a+Id(this.R);return a=31*a+Id(this.S)}; var tH=function(){dG();var a=new YF;a.H=de();a.S="";a.R=!1;return a},ILa=function(a){return a instanceof eG},dG=function(){dG=function(){};JLa=KLa()};eG.prototype.wa=["com.google.apps.realtime.v1.CompoundOperation",0];var JLa=null;
var uH=function(){this.R=this.H=null};l(uH,w);var LLa=function(a){return a instanceof uH};uH.prototype.wa=["com.google.apps.realtime.v1.GetRevisionResponse$Builder",0];var vH=function(){this.R=this.H=null};l(vH,w);vH.prototype.equals=function(a){if(x(a,this))return!0;if(!MLa(a))return!1;a=z(a,MLa,vH);return Hd(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};vH.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};var MLa=function(a){return a instanceof vH},NLa=function(){NLa=function(){};OLa(new vH)},OLa=function(a){a.H=kf();a.R=TF()};vH.prototype.wa=["com.google.apps.realtime.v1.GetRevisionResponse",0];
var PLa=function(){this.R=this.H=null};l(PLa,w);PLa.prototype.wa=["com.google.apps.realtime.v1.Revision$Builder",0];var QLa=function(){this.H=this.W=this.V=null;this.R=!1;this.ka=this.S=this.U=null;this.$=0};l(QLa,w);QLa.prototype.wa=["com.google.apps.realtime.v1.RevisionMetadata$Builder",0];var RLa=function(){this.R=cc(0,0);this.H=0};l(RLa,w);RLa.prototype.wa=["com.google.protobuf.Timestamp$Builder",0];var wH=function(){this.R=cc(0,0);this.H=0};l(wH,w);var SLa=function(){xH();var a=new wH;a.R=cc(0,0);a.H=0;return a},ULa=function(){xH();return TLa};wH.prototype.equals=function(a){if(x(a,this))return!0;if(!VLa(a))return!1;a=z(a,VLa,wH);return Hd(td(this.R),td(a.R))&&Hd(zd(this.H),zd(a.H))?!0:!1};wH.prototype.qb=function(){var a=0+Id(td(this.R));return a=31*a+Id(zd(this.H))};var VLa=function(a){return a instanceof wH},xH=function(){xH=function(){};TLa=SLa()}; wH.prototype.wa=["com.google.protobuf.Timestamp",0];var TLa=null;
var yH=function(){this.H=this.ka=this.W=null;this.R=!1;this.$=this.S=this.U=null;this.V=0};l(yH,w);var XLa=function(){zH();var a=new yH;WLa(a);return a},ZLa=function(){zH();return YLa};yH.prototype.equals=function(a){if(x(a,this))return!0;if(!$La(a))return!1;a=z(a,$La,yH);return x(this.W,a.W)&&x(this.ka,a.ka)&&x(this.H,a.H)&&Hd(this.R,a.R)&&x(this.U,a.U)&&x(this.S,a.S)&&Hd(this.$,a.$)&&Hd(zd(this.V),zd(a.V))?!0:!1};
yH.prototype.qb=function(){var a=0+Id(this.U);a=31*a+Id(this.S);a=31*a+Id(this.R);a=31*a+Id(this.H);a=31*a+Id(this.W);a=31*a+Id(this.ka);a=31*a+Id(this.$);return a=31*a+Id(zd(this.V))};var $La=function(a){return a instanceof yH},zH=function(){zH=function(){};YLa=XLa()},WLa=function(a){a.W="";a.ka="";a.H="";a.R=!1;a.U="";a.S="";a.$=ULa();a.V=0};yH.prototype.wa=["com.google.apps.realtime.v1.RevisionMetadata",0];var YLa=null;
var AH=function(){this.R=this.H=null};l(AH,w);AH.prototype.equals=function(a){if(x(a,this))return!0;if(!BH(a))return!1;a=z(a,BH,AH);return Hd(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};AH.prototype.qb=function(){var a=0+Id(this.H);return a=31*a+Id(this.R)};var BH=function(a){return a instanceof AH},aMa=function(){aMa=function(){};bMa(new AH)},bMa=function(a){a.H=ZLa();a.R=jH()};AH.prototype.wa=["com.google.apps.realtime.v1.Revision",0];
var CH=function(){this.H=null};l(CH,w);var cMa=function(a){DH();var b=new EH;b.H=kf();b.H=pf(a.H);a.H=de();return b},dMa=function(a){return a instanceof CH};CH.prototype.wa=["com.google.apps.realtime.v1.SessionCompoundOperation$Builder",0];var EH=function(){this.H=null};l(EH,w);var eMa=function(){DH();var a=new EH;a.H=kf();return a};EH.prototype.equals=function(a){if(x(a,this))return!0;if(!fMa(a))return!1;a=z(a,fMa,EH);return Hd(this.H,a.H)?!0:!1};EH.prototype.qb=function(){return 0+Id(this.H)};var gMa=function(){DH();var a=new CH;a.H=de();return a},fMa=function(a){return a instanceof EH},DH=function(){DH=function(){};hMa=eMa()};EH.prototype.wa=["com.google.apps.realtime.v1.SessionCompoundOperation",0];var hMa=null;
var iMa=function(){this.R=this.H=null};l(iMa,w);var mMa=function(){var a=jMa();kMa();var b=lMa;a.H=(FH(),GH);a.R=b;return a},pMa=function(){var a=jMa();nMa();var b=oMa;a.H=(FH(),HH);a.R=b;return a},qMa=function(a){IH();var b=new JH;FH();b.R=a.R;b.H=a.H;x(a.H,GH)&&(a.H=KH,a.R=null);x(a.H,HH)&&(a.H=KH,a.R=null);return b};iMa.prototype.wa=["com.google.apps.realtime.v1.SessionCreateOperation$Builder",0];
var LH=function(){sf.call(this)};l(LH,sf);var rMa=function(a,b){var c=new LH;tf(c,a,b);return c};LH.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,sMa,LH))};var sMa=function(a){return a instanceof LH},FH=function(){FH=function(){};KH=rMa("KIND_NOT_SET",0);GH=rMa("CURSOR",1);HH=rMa("MAP",2)};LH.prototype.wa=["com.google.apps.realtime.v1.SessionCreateOperation$KindCase",2];var KH=null,GH=null,HH=null;
var MH=function(){this.H=null;this.R=0;this.S=null};l(MH,w);var tMa=function(){kMa();var a=new MH;a.H="";a.R=0;a.S="";return a};MH.prototype.equals=function(a){if(x(a,this))return!0;if(!uMa(a))return!1;a=z(a,uMa,MH);return x(this.H,a.H)&&Hd(zd(this.R),zd(a.R))&&x(this.S,a.S)?!0:!1};MH.prototype.qb=function(){var a=0+Id(zd(this.R));a=31*a+Id(this.S);return a=31*a+Id(this.H)};var uMa=function(a){return a instanceof MH},kMa=function(){kMa=function(){};lMa=tMa()}; MH.prototype.wa=["com.google.apps.realtime.v1.SessionCursor",0];var lMa=null;
var vMa=function(){this.R=this.H=null};l(vMa,w);var wMa=function(a,b){a.H=(NH(),OH);a.R=b;return a},TH=function(a){PH();var b=new QH;NH();b.R=a.R;b.H=a.H;x(a.H,OH)&&(a.H=RH,a.R=null);x(a.H,SH)&&(a.H=RH,a.R=null);x(a.H,xMa)&&(a.H=RH,a.R=null);x(a.H,yMa)&&(a.H=RH,a.R=null);return b};vMa.prototype.wa=["com.google.apps.realtime.v1.SessionStateValue$Builder",0];
var UH=function(){sf.call(this)};l(UH,sf);var VH=function(a,b){var c=new UH;tf(c,a,b);return c};UH.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,zMa,UH))};var zMa=function(a){return a instanceof UH},NH=function(){NH=function(){};RH=VH("KIND_NOT_SET",0);OH=VH("JSON",1);SH=VH("OBJECT_ID",2);xMa=VH("CURSOR",3);yMa=VH("MAP",4)};UH.prototype.wa=["com.google.apps.realtime.v1.SessionStateValue$KindCase",2];var RH=null,OH=null,SH=null,xMa=null,yMa=null;
var QH=function(){this.R=this.H=null};l(QH,w);var AMa=function(){PH();var a=new QH;a.H=(NH(),RH);a.R=null;return a},WH=function(){PH();return BMa},XH=function(a){return x(a.H,(NH(),OH))?z(a.R,OF,IF):mKa()},CMa=function(a){return x(a.H,(NH(),SH))?z(a.R,Fd,cd):""};QH.prototype.equals=function(a){if(x(a,this))return!0;if(!YH(a))return!1;a=z(a,YH,QH);return Hd(this.R,a.R)&&x(this.H,a.H)?!0:!1};QH.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};
var ZH=function(){PH();var a=new vMa;a.H=(NH(),RH);a.R=null;return a},YH=function(a){return a instanceof QH},DMa=function(a){return Ja(a,QH)},PH=function(){PH=function(){};BMa=AMa()};QH.prototype.wa=["com.google.apps.realtime.v1.SessionStateValue",0];var BMa=null;
var $H=function(){this.R=this.H=null};l($H,w);var EMa=function(){nMa();var a=new $H;a.H="";a.R=lf();return a};$H.prototype.equals=function(a){if(x(a,this))return!0;if(!FMa(a))return!1;a=z(a,FMa,$H);return x(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};$H.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};var FMa=function(a){return a instanceof $H},nMa=function(){nMa=function(){};oMa=EMa()};$H.prototype.wa=["com.google.apps.realtime.v1.SessionMap",0];var oMa=null;
var JH=function(){this.R=this.H=null};l(JH,w);var GMa=function(){IH();var a=new JH;a.H=(FH(),KH);a.R=null;return a};JH.prototype.equals=function(a){if(x(a,this))return!0;if(!aI(a))return!1;a=z(a,aI,JH);return Hd(this.R,a.R)&&x(this.H,a.H)?!0:!1};JH.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(this.H)};var jMa=function(){IH();var a=new iMa;a.H=(FH(),KH);a.R=null;return a},aI=function(a){return a instanceof JH},HMa=function(a){return Ja(a,JH)},IH=function(){IH=function(){};IMa=GMa()}; JH.prototype.wa=["com.google.apps.realtime.v1.SessionCreateOperation",0];var IMa=null;
var JMa=function(){this.R=null;this.H=0};l(JMa,w);JMa.prototype.wa=["com.google.apps.realtime.v1.SessionCursorOperation$Builder",0];var bI=function(){this.R=null;this.H=0};l(bI,w);var KMa=function(){cI();var a=new bI;a.R="";a.H=0;return a};bI.prototype.equals=function(a){if(x(a,this))return!0;if(!LMa(a))return!1;a=z(a,LMa,bI);return x(this.R,a.R)&&Hd(zd(this.H),zd(a.H))?!0:!1};bI.prototype.qb=function(){var a=0+Id(this.R);return a=31*a+Id(zd(this.H))};var LMa=function(a){return a instanceof bI},cI=function(){cI=function(){};MMa=KMa()};bI.prototype.wa=["com.google.apps.realtime.v1.SessionCursorOperation",0];var MMa=null;
var dI=function(){};l(dI,w);dI.prototype.equals=function(a){if(x(a,this))return!0;if(!NMa(a))return!1;z(a,NMa,dI);return!0};dI.prototype.qb=function(){return 0};var NMa=function(a){return a instanceof dI},OMa=function(){OMa=function(){};PMa=new dI};dI.prototype.wa=["com.google.apps.realtime.v1.SessionDestroyOperation",0];var PMa=null;
var QMa=function(){this.R=this.S=this.U=this.H=null};l(QMa,w);var eI=function(a,b){a.U=b;return a},fI=function(a,b){a.S=b;return a},pI=function(a){gI();var b=new hI;RMa(b);b.H=a.U;b.S=a.S;b.U=a.R;b.R=a.H;a.U="";a.S="";x(a.H,(iI(),jI))&&(a.H=(iI(),kI),a.R=null);x(a.H,(iI(),lI))&&(a.H=(iI(),kI),a.R=null);x(a.H,(iI(),mI))&&(a.H=(iI(),kI),a.R=null);x(a.H,(iI(),nI))&&(a.H=(iI(),kI),a.R=null);x(a.H,(iI(),oI))&&(a.H=(iI(),kI),a.R=null);return b}; QMa.prototype.wa=["com.google.apps.realtime.v1.SessionOperation$Builder",0];
var qI=function(){sf.call(this)};l(qI,sf);var rI=function(a,b){var c=new qI;tf(c,a,b);return c};qI.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,SMa,qI))};var SMa=function(a){return a instanceof qI},iI=function(){iI=function(){};kI=rI("KIND_NOT_SET",0);jI=rI("SESSION_STATE_UPDATE",1);lI=rI("SESSION_COMPOUND",2);mI=rI("SESSION_CREATE",3);nI=rI("SESSION_STATE_CURSOR",4);oI=rI("SESSION_DESTROY_OBJECT",5)};qI.prototype.wa=["com.google.apps.realtime.v1.SessionOperation$KindCase",2]; var kI=null,jI=null,lI=null,mI=null,nI=null,oI=null;
var TMa=function(){this.R=this.H=null};l(TMa,w);TMa.prototype.wa=["com.google.apps.realtime.v1.SessionUpdateOperation$Builder",0];var sI=function(){this.R=this.H=null};l(sI,w);var UMa=function(){tI();var a=new sI;a.H="";a.R=WH();return a};sI.prototype.equals=function(a){if(x(a,this))return!0;if(!VMa(a))return!1;a=z(a,VMa,sI);return x(this.H,a.H)&&Hd(this.R,a.R)?!0:!1};sI.prototype.qb=function(){var a=0+Id(this.H);return a=31*a+Id(this.R)};var VMa=function(a){return a instanceof sI},tI=function(){tI=function(){};WMa=UMa()};sI.prototype.wa=["com.google.apps.realtime.v1.SessionUpdateOperation",0];var WMa=null;
var hI=function(){this.U=this.S=this.H=this.R=null};l(hI,w);var XMa=function(){gI();var a=new hI;RMa(a);return a},YMa=function(a){x(a.R,(iI(),jI))?a=z(a.U,VMa,sI):(tI(),a=WMa);return a},uI=function(a){x(a.R,(iI(),lI))?a=z(a.U,fMa,EH):(DH(),a=hMa);return a},ZMa=function(a){x(a.R,(iI(),mI))?a=z(a.U,aI,JH):(IH(),a=IMa);return a},$Ma=function(a){x(a.R,(iI(),nI))?a=z(a.U,LMa,bI):(cI(),a=MMa);return a};
hI.prototype.equals=function(a){if(x(a,this))return!0;if(!vI(a))return!1;a=z(a,vI,hI);return x(this.H,a.H)&&x(this.S,a.S)&&Hd(this.U,a.U)&&x(this.R,a.R)?!0:!1};hI.prototype.qb=function(){var a=0+Id(this.U);a=31*a+Id(this.R);a=31*a+Id(this.H);return a=31*a+Id(this.S)};var wI=function(){gI();var a=new QMa;a.H=(iI(),kI);a.U="";a.S="";a.R=null;return a},vI=function(a){return a instanceof hI},gI=function(){gI=function(){};aNa=XMa()},RMa=function(a){a.R=(iI(),kI);a.H="";a.S="";a.U=null}; hI.prototype.wa=["com.google.apps.realtime.v1.SessionOperation",0];var aNa=null;
var xI=function(){sf.call(this)};l(xI,sf);var yI=function(a,b){tf(new xI,a,b)};xI.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,bNa,xI))};
var bNa=function(a){return a instanceof xI},cNa=function(){cNa=function(){};yI("OK",0);yI("CANCELLED",1);yI("UNKNOWN",2);yI("INVALID_ARGUMENT",3);yI("DEADLINE_EXCEEDED",4);yI("NOT_FOUND",5);yI("ALREADY_EXISTS",6);yI("PERMISSION_DENIED",7);yI("UNAUTHENTICATED",8);yI("RESOURCE_EXHAUSTED",9);yI("FAILED_PRECONDITION",10);yI("ABORTED",11);yI("OUT_OF_RANGE",12);yI("UNIMPLEMENTED",13);yI("INTERNAL",14);yI("UNAVAILABLE",15);yI("DATA_LOSS",16);yI("UNRECOGNIZED",17)}; xI.prototype.wa=["com.google.rpc.Code",2];
var dNa=function(a,b){this.wr=a;this.EB=b};l(dNa,w);var AI=function(a){return new dNa(a,zI())};dNa.prototype.wa=["com.google.apps.brix.api.client.cache.CachedState",0];var BI=function(a,b,c){this.H=cc(0,0);this.R=null;this.S=cc(0,0);this.H=a;this.R=z(Jd(b,"command"),$F,aG);this.S=c};l(BI,w);BI.prototype.getCommand=function(){return this.R};BI.prototype.equals=function(a){if(x(this,a))return!0;if(!CI(a))return!1;a=z(a,CI,BI);return this.H.equals(a.H)&&this.R.equals(a.R)};BI.prototype.qb=function(){var a=31+this.R.qb();return a=31*a+this.H.xor(mc(this.H,dd(32).H)).H};var CI=function(a){return a instanceof BI},eNa=function(a){return Ja(a,BI)}; BI.prototype.wa=["com.google.apps.brix.api.shared.change.IdentifiedCommand",0];
var FI=function(a,b,c,d,e){this.U=this.R=this.S=this.V=this.H=null;this.H=z(Jd(a,"otManagerState"),fNa,DI);this.V=z(Jd(b,"documentAcl"),gNa,EI);this.S=z(Jd(c,"snapshot"),Md,Ld);this.R=pf(ee(d));this.U=e};l(FI,w);FI.prototype.Td=function(){return this.S};FI.prototype.qb=function(){var a=31+(null==this.R?0:$c(this.R));a=31*a+$c(this.V);a=31*a+this.H.qb();a=31*a+(null==this.S?0:$c(this.S));return a=31*a+(null==this.U?0:Zc(this.U))};
FI.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!hNa(a))return!1;a=z(a,hNa,FI);if(null==this.R){if(null!=a.R)return!1}else if(!Wc(this.R,a.R))return!1;if(!this.H.equals(a.H))return!1;if(null==this.S){if(null!=a.S)return!1}else if(!Wc(this.S,a.S))return!1;if(null==this.U){if(null!=a.U)return!1}else if(!x(this.U,a.U))return!1;return!0};
FI.prototype.toString=function(){return"InitialLoadResult [otManagerState="+y(this.H)+", documentAcl="+y(this.V)+", snapshot="+y(this.S)+", initialSessions="+y(this.R)+", xsrfToken="+y(this.U)+"]"};var hNa=function(a){return a instanceof FI};FI.prototype.wa=["com.google.apps.brix.api.shared.change.InitialLoadResult",0];
var DI=function(a,b,c,d){this.R=this.H=null;this.U=a;this.S=b;try{var e=pd(c,16);if(0>kc(e,dd(0)))throw zc("Invalid negative session ID: "+y(c)).H;var g=sd(e)}catch(h){h=Za(h);if(h instanceof ud)throw zc("Invalid session ID: "+y(c)).H;throw h.H;}this.H=g;this.R=z(Jd(d,"pendingChanges"),Md,Ld)};l(DI,w);var iNa=function(a,b,c){return new DI(null,a,b,c)};
DI.prototype.qb=function(){var a=31+(null==this.U?0:Zc(this.U));a=31*a+(null==this.H?0:Zc(this.H));a=31*a+(null==this.R?0:$c(this.R));return a=31*a+this.S};DI.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!fNa(a))return!1;a=z(a,fNa,DI);if(null==this.U){if(null!=a.U)return!1}else if(!x(this.U,a.U))return!1;if(null==this.H){if(null!=a.H)return!1}else if(!x(this.H,a.H))return!1;if(null==this.R){if(null!=a.R)return!1}else if(!Wc(this.R,a.R))return!1;return this.S!=a.S?!1:!0};
DI.prototype.toString=function(){return"OtManagerState [fileIdForLegacyClients="+y(this.U)+", revision="+this.S+", meSessionId="+y(this.H)+", pendingOperations="+y(this.R)+"]"};var fNa=function(a){return a instanceof DI};DI.prototype.wa=["com.google.apps.brix.api.shared.change.OtManagerState",0];
var jNa=function(){for(var a=Lc([12],oc,pc,qc,0),b=0;8>b;++b)qd(a,b,id("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Xc(Math.floor(64*Math.random()))&65535));b=Qf();qd(a,8,id("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",mc(b,dd(18).H).and(dd(63)).H));qd(a,9,id("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",mc(b,dd(12).H).and(dd(63)).H));qd(a,10,id("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",mc(b,dd(6).H).and(dd(63)).H)); qd(a,11,id("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",b.and(dd(63)).H));return rd(a,0,a.length)},kNa=function(){var a=Qf().and(dd(65535));var b=gba();a=a.or(lc(b,dd(16).H));return sd(gd(a))};
var KI=function(a,b,c,d,e,g,h,k){this.ra=this.S=null;this.ma=a;this.H=b;this.$=c;this.W=d;this.ka=e;this.U=g;this.V=h;this.R=k;a=lNa(a,g);a.qc()||(b=mNa(),c=a.V?GI():nNa(a.U),HI(a,II(a.U,"root",b),c),oNa(a,"root"),z(new JI,pNa,JI));this.S=a};l(KI,w);f=KI.prototype;f.Lc=function(){return this.ma};f.cx=function(){return this.ka};f.Ve=function(){return this.$};f.Yc=function(){return this.W};
f.toString=function(){return"SessionMetadata [sessionId="+y(this.ma)+", userId="+y(this.H)+", permissionId="+y(this.R)+", displayName="+y(this.$)+", color="+y(this.W)+", isAnonymous="+this.ka+", isMe="+this.U+", photoUrl="+y(this.V)+"]"};f.qb=function(){var a=31+Zc(this.W);a=31*a+Zc(this.$);a=31*a+(this.ka?1231:1237);a=31*a+(this.U?1231:1237);a=31*a+(null==this.R?0:Zc(this.R));a=31*a+Zc(this.V);a=31*a+Zc(this.ma);return a=31*a+(null==this.H?0:Zc(this.H))};
f.equals=function(a){if(x(this,a))return!0;if(null==a||!LI(a))return!1;a=z(a,LI,KI);if(!x(this.W,a.W)||!x(this.$,a.$)||this.ka!=a.ka||this.U!=a.U)return!1;if(null==this.R){if(null!=a.R)return!1}else if(!x(this.R,a.R))return!1;if(!x(this.V,a.V)||!x(this.ma,a.ma))return!1;if(null==this.H){if(null!=a.H)return!1}else if(!x(this.H,a.H))return!1;return!0};f.getTag=function(){return this.ra};f.setTag=function(a){this.ra=a};var LI=function(a){return a instanceof KI},qNa=function(a){return Ja(a,KI)}; KI.prototype.wa=["com.google.apps.brix.api.shared.session.SessionMetadata",0];
var rNa=function(){Qa.call(this)};l(rNa,cb);var MI=function(a){var b=new rNa;Va(b,a);return b};rNa.prototype.wa=["com.google.apps.brix.api.shared.model.error.ObjectNotFoundException",0];var sNa=function(){Qa.call(this)};l(sNa,cb);var tNa=function(a){var b=new sNa;a="Unsupported session operation type: "+y(a);Va(b,a);return b};sNa.prototype.wa=["com.google.apps.brix.api.shared.model.error.UnsupportedSessionOperationException",0];var OI=function(){NI();gI();return aNa},mNa=function(){NI();return uNa},wNa=function(){NI();return vNa},II=function(a,b,c){NI();a=fI(eI(wI(),a),b);a.H=(iI(),mI);a.R=c;return pI(a)},xNa=function(a,b){NI();a=eI(wI(),a);a.H=(iI(),lI);a.R=b;return pI(a)},PI=function(a,b,c,d){NI();tI();var e=new TMa;e.H="";WH();e.H=c;e.R=d;c=new sI;c.H="";WH();c.H=e.H;c.R=e.R;e.H="";e.R=WH();a=fI(eI(wI(),a),b);a.H=(iI(),jI);a.R=c;return pI(a)},yNa=function(a,b,c,d){NI();cI();var e=new JMa;e.R=c;e.H=d;c=new bI;c.R=e.R;
c.H=e.H;e.R="";e.H=0;a=fI(eI(wI(),a),b);a.H=(iI(),nI);a.R=c;return pI(a)},zNa=function(a){NI();if(a.isEmpty())return OI();if(1==a.size())return z(a.Vb(0),vI,hI);for(var b=z(a.Vb(0),vI,hI).H,c=a.Xa();c.Wa();){var d=z(c.Ya(),vI,hI);if(!x(d.H,b))throw zc("Cannot combine SessionOperations with different sessionId's into one compound operation").H;}c=gMa();for(a=a.Xa();a.Wa();)d=z(a.Ya(),vI,hI),c.H.add(d);return xNa(b,cMa(c))},NI=function(){NI=function(){};uNa=qMa(pMa());vNa=qMa(mMa())},uNa=null,vNa=null;
var QI=function(){},RI=function(a){return null!=a&&!!a.Wl};QI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionStateObject",1];QI.prototype.Wl=!0;var SI=function(){this.V=this.U=this.R=null};l(SI,w);SI.prototype.getId=function(){return CMa(this.U)};var ANa=function(a,b){if(!x(a.R,b))throw Cc("Can only apply operations with kind "+y(b)+" to this object, not "+y(a.R)).H;};SI.prototype.getTag=function(){return this.V};SI.prototype.setTag=function(a){this.V=a};SI.prototype.qb=function(){var a=31+this.R.qb();return a=31*a+Zc(this.getId())};
SI.prototype.equals=function(a){if(null==a)return!1;if(x(a,this))return!0;if(!TI(a))return!1;a=z(a,TI,SI);return this.R.equals(a.R)&&Ff(this.getId(),a.getId())};var TI=function(a){return a instanceof SI};SI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.AbstractSessionStateObject",0];SI.prototype.Wl=!0;
var BNa=function(){this.H=null};l(BNa,w);BNa.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.SessionOperationApplier$SessionStateApplyToken",0];var UI=function(a){CNa();this.H=a};l(UI,w);var ENa=function(){CNa();return DNa},CNa=function(){CNa=function(){};DNa=new UI(kf())};UI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionApplyResult",0];var DNa=null;var VI=function(){this.H=null;this.R=0};l(VI,w);var FNa=function(a,b){WI();var c=new VI;c.H=a;c.R=b;return c},GI=function(){WI();return GNa},nNa=function(a){WI();Jd(a,"A sessionId must be specified for remote SessionOperations.");return FNa(a,0)};f=VI.prototype;f.Lc=function(){return this.H};f.mf=function(){return 0!=(this.R&1)};f.qb=function(){var a=31+this.R;return a=31*a+(null==this.H?0:Zc(this.H))};
f.equals=function(a){if(x(this,a))return!0;if(null==a||!x(Na(this.constructor),nc(a)))return!1;a=z(a,HNa,VI);if(this.R!=a.R)return!1;if(null==this.H){if(null!=a.H)return!1}else if(!x(this.H,a.H))return!1;return!0};f.toString=function(){return"SessionOperationMetadata [sessionId="+y(this.H)+", flags="+this.R+"]"};var HNa=function(a){return a instanceof VI},WI=function(){WI=function(){};GNa=FNa(null,5)}; VI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionOperationMetadata",0];var GNa=null;
var JI=function(){};l(JI,w);var pNa=function(a){return a instanceof JI};JI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionCreateResult",0];var XI=function(){};l(XI,w);XI.prototype.R=function(a,b){a=z(a,YI,ZI);b=z(b,YI,ZI);if(null==a||null==b)a=null==a&&null==b?0:null==a?-1:1;else{var c=Ed(a.H,b.H);0!=c?a=c:(c=a.Zc()-b.Zc(),a=0!=c?c:0)}return a};XI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionStateCursor$1",0];XI.prototype.nq=!0;
var ZI=function(){},YI=function(a){return null!=a&&!!a.rz},INa=function(){INa=function(){};JNa=new XI};ZI.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionStateCursor",1];var JNa=null;ZI.prototype.Wl=!0;ZI.prototype.rz=!0;var $I=function(){},aJ=function(a){return null!=a&&!!a.sz};$I.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.SessionStateMap",1];$I.prototype.Wl=!0;$I.prototype.sz=!0;var bJ=function(a){this.H=a};l(bJ,w);bJ.prototype.qb=function(){return 31+(null==this.H?0:$c(this.H))};bJ.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!x(Na(this.constructor),nc(a)))return!1;a=z(a,KNa,bJ);if(null==this.H){if(null!=a.H)return!1}else if(!Wc(this.H,a.H))return!1;return!0};bJ.prototype.toString=function(){return"AbstractSessionStateEvent [source="+y(this.H)+"]"};var KNa=function(a){return a instanceof bJ},LNa=function(a){return Ja(a,bJ)}; bJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.event.AbstractSessionStateEvent",0];
var cJ=function(){};l(cJ,w);cJ.prototype.H=function(){};cJ.prototype.R=function(){};cJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.SessionModelImpl$1",0];var MNa=function(){Qa.call(this)};l(MNa,cb);var NNa=function(a){var b=new MNa;Va(b,a);return b};MNa.prototype.wa=["com.google.apps.brix.api.shared.model.error.UnsupportedOperationForRootException",0];var ONa=function(){this.H=this.R=null};l(ONa,w);
var PNa=function(a,b){if(!x(a,b))throw Cc("The given sessionId "+y(b)+" does not match the sessionId associated with this session state: "+y(a)).H;},QNa=function(a,b){switch(b.R){case iI(),mI:PNa(a.H.Lc(),b.H);var c=ZMa(b);b=b.S;var d=dJ(a.H,b);if(null==d){a=a.H;if(null!=dJ(a,b))throw Cc("Object with ID "+y(b)+" already exists.").H;a:switch(d=ZH(),d.H=(NH(),SH),d.R=b,d=TH(d),c.H){case FH(),HH:c=new eJ;c.R=a;c.U=d;c.H=ff();c.S=0;break a;case FH(),GH:c=new fJ;c.R=a;c.U=d;c.S=-1;c.H="";break a;default:throw tNa(II(a.Lc(),
"",c)).H;}a.R.put(b,c);a.H+=c.vn()}else QNa(a,d.reset());break;case iI(),nI:case iI(),jI:PNa(a.H.Lc(),b.H);d=b.S;c=dJ(a.H,d);if(null==c)throw MI("No object with ID "+y(d)+" in this session model").H;d=c.vn();c.XD(b,a.R);a=a.H;a.H+=c.vn()-d;break;case iI(),lI:b=uI(b);for(b=pf(b.H).Xa();b.Wa();)c=z(b.Ya(),vI,hI),QNa(a,c);break;case iI(),oI:b=b.S;if("root"===b)throw NNa("The session root object cannot be destroyed.").H;c=a.H;d=oNa(c,b);c.H+=-d.vn();c.R.remove(b);for(c=of(a.H.R.values()).Xa();c.Wa();)z(c.Ya(), TI,SI).WD(b,a.R);break;case iI(),kI:break;default:throw tNa(b).H;}};ONa.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.SessionOperationApplier",0];
var gJ=function(a){this.H=a};l(gJ,bJ);gJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.event.SessionStateCursorShiftedEvent",0];var fJ=function(){SI.call(this);this.S=0;this.H=null};l(fJ,SI);f=fJ.prototype;f.Td=function(){if(Ee(this.H)&&-1==this.S)var a=kf();else{a=this.H;var b=this.S;a=yNa(this.R.Lc(),this.getId(),a,b);a=nf(a)}return a};f.pE=function(){return II(this.R.Lc(),this.getId(),wNa())};f.vn=function(){return 32+this.H.length};f.Zc=function(){return this.S};f.reset=function(){return Ee(this.H)&&-1==this.S?OI():yNa(this.R.Lc(),this.getId(),"",-1)};f.getTypeName=function(){return"SessionStateCursor"};
f.XD=function(a,b){ANa(a,(iI(),nI));var c=$Ma(a);a=c.R;this.S==c.H&&x(this.H,a)||(this.S=c.H,x(a,this.H)||(c=z(this.R.W.Gc(this.H),te,se),null!=c&&c.remove(this.getId()),this.H=a,Ee(this.H)||(a=this.R,c=z(a.W.Gc(this.H),te,se),null==c&&(c=ff(),a.W.put(this.H,c)),c.put(this.getId(),this))),b.H.add(new gJ(this)))};f.WD=function(a){x(this.H,a)&&(this.H="",this.S=-1)};f.Mc=function(a){a=z(a,RNa,fJ);return(INa(),JNa).R(this,a)};var RNa=function(a){return a instanceof fJ}; fJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.SessionStateCursorImpl",0];fJ.prototype.Wl=!0;fJ.prototype.rz=!0;fJ.prototype.Ah=!0;
var hJ=function(a,b,c,d){this.H=a;this.U=b;this.S=c;this.R=d};l(hJ,bJ);hJ.prototype.qb=function(){var a=bJ.prototype.qb.call(this);a=31*a+(null==this.R?0:this.R.qb());a=31*a+(null==this.S?0:this.S.qb());return a=31*a+(null==this.U?0:Zc(this.U))};hJ.prototype.equals=function(a){if(x(this,a))return!0;if(!bJ.prototype.equals.call(this,a)||!SNa(a))return!1;a=z(a,SNa,hJ);return Hd(this.R,a.R)&&Hd(this.S,a.S)&&x(this.U,a.U)?!0:!1};
hJ.prototype.toString=function(){return"SessionStateValueChangedEvent [property="+y(this.U)+", oldValue="+y(this.S)+", newValue="+y(this.R)+"]"};var SNa=function(a){return a instanceof hJ};hJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.event.SessionStateValueChangedEvent",0];
var TNa=function(){this.H=null;this.R=!1};l(TNa,w);
var iJ=function(a){var b=new TNa;b.H=a;return b},kJ=function(a){jJ(a);zf(a.H,91);a.R=!1},lJ=function(a){zf(a.H,93);a.R=!0},nJ=function(a,b){null==b?mJ(a):(jJ(a),UNa(a,b))},oJ=function(a,b){jJ(a);Bf(a.H,b)},pJ=function(a,b){jJ(a);a=a.H;a.H=y(a.H)+b},mJ=function(a){jJ(a);Ge(a.H,"null")},jJ=function(a){a.R&&zf(a.H,44);a.R=!0},UNa=function(a,b){zf(a.H,34);for(var c=b.length,d=0;d<c;d++){var e=id(b,d);switch(e){case 8:Ge(a.H,"\\b");break;case 12:Ge(a.H,"\\f");break;case 10:Ge(a.H,"\\n");break;case 13:Ge(a.H,
"\\r");break;case 9:Ge(a.H,"\\t");break;case 34:case 92:case 47:zf(a.H,92);zf(a.H,e);break;default:if(31>=e){var g=a;Ge(g.H,"\\u");zf(g.H,vf((e&61440)>>12));zf(g.H,vf((e&3840)>>8));zf(g.H,vf((e&240)>>4));zf(g.H,vf(e&15))}else zf(a.H,e)}}zf(a.H,34)};TNa.prototype.wa=["com.google.apps.brix.util.json.JsonBuilder",0];
var qJ=function(a,b){switch(a.H){case xF(),CF:pJ(b,nKa(a));break;case xF(),AF:a=KF(a);jJ(b);if(isNaN(a))throw zc("NaN values are not supported.").H;if(!isNaN(a)&&!isFinite(a))throw zc("Infinite values are not supported.").H;var c=bc(a);a==fc(c)?(b=b.H,b.H=y(b.H)+c):(b=b.H,b.H=y(b.H)+a);break;case xF(),BF:nJ(b,LF(a));break;case xF(),zF:mJ(b);break;case xF(),EF:a=NF(a);kJ(b);for(a=pf(a.H).Xa();a.Wa();)c=z(a.Ya(),OF,IF),qJ(c,b);lJ(b);break;case xF(),DF:a=MF(a);jJ(b);zf(b.H,123);b.R=!1;for(a=qf(a.H).qd().Xa();a.Wa();){c= z(a.Ya(),pe,oe);var d=b,e=z(c.Nc(),Fd,cd);jJ(d);UNa(d,e);zf(d.H,58);d.R=!1;qJ(z(c.Oc(),OF,IF),b)}zf(b.H,125);b.R=!0;break;default:throw zc("Unsupported value type: "+y(a.H)).H;}};
var WNa=function(){rJ();return VNa},XNa=function(a){rJ();return JF(gKa(FF(),a))},YNa=function(a){rJ();return JF(GF(FF(),a))},aOa=function(a){rJ();return a?ZNa:$Na},sJ=function(a){rJ();switch(a.H){case xF(),zF:case xF(),CF:case xF(),AF:return 24;case xF(),BF:return LF(a).length;case xF(),EF:var b=24;for(a=pf(NF(a).H).Xa();a.Wa();){var c=z(a.Ya(),OF,IF);b+=sJ(c)}return b;case xF(),DF:b=24;a=MF(a);for(a=qf(a.H).qd().Xa();a.Wa();)c=z(a.Ya(),pe,oe),b+=24+z(c.Nc(),Fd,cd).length+sJ(z(c.Oc(),OF,IF));return b; default:throw yc().H;}},rJ=function(){rJ=function(){};VNa=JF(fKa());ZNa=JF(hKa(FF(),!0));$Na=JF(hKa(FF(),!1))},VNa=null,ZNa=null,$Na=null;
var uJ=function(){tJ();return bOa},cOa=function(a){tJ();return TH(wMa(ZH(),a))},dOa=function(a){tJ();return x(a.H,(NH(),OH))&&x(XH(a).H,(xF(),zF))},eOa=function(a){tJ();if(dOa(a))return 24;switch(a.H){case NH(),OH:return sJ(XH(a));default:throw zc("Cannot get bytesUsed for object of type: "+y(a.H)).H;}},tJ=function(){tJ=function(){};bOa=TH(wMa(ZH(),WNa()))},bOa=null;
var eJ=function(){SI.call(this);this.H=null;this.S=0};l(eJ,SI);eJ.prototype.getTypeName=function(){return"SessionStateMap"};var fOa=function(a,b,c){ANa(b,(iI(),jI));var d=YMa(b);b=d.H;d=d.R;var e=z(a.H.Gc(b),YH,QH);e=null!=e?e:uJ();var g=!dOa(d),h=!e.equals(uJ());g?a.H.put(b,d):a.H.remove(b);var k=e;g?(a.S+=eOa(d),a.S=h?a.S-eOa(k):a.S+(8+b.length)):h&&(a.S-=8+b.length,a.S-=eOa(k));e.equals(d)||c.H.add(new hJ(a,b,e,d))};f=eJ.prototype;f.pE=function(){return II(this.R.Lc(),this.getId(),mNa())};
f.Td=function(){for(var a=de(),b=this.H.qd().Xa();b.Wa();){var c=z(b.Ya(),pe,oe);a.add(PI(this.R.Lc(),this.getId(),z(c.Nc(),Fd,cd),z(c.Oc(),YH,QH)))}return a};f.vn=function(){return 24+this.S};f.reset=function(){for(var a=de(),b=this.R.Lc(),c=this.getId(),d=this.H.ve().Xa();d.Wa();){var e=z(d.Ya(),Fd,cd);a.add(PI(b,c,e,uJ()))}return zNa(a)};
f.clear=function(){var a=GI();if(this.H.isEmpty())a=ENa();else{for(var b=de(),c=this.H.ve().Xa();c.Wa();){var d=z(c.Ya(),Fd,cd);b.add(PI(this.R.Lc(),this.getId(),d,uJ()))}b=zNa(b);a=HI(this.R,b,a)}return a};f.values=function(){return qf(this.H).values()};f.size=function(){return this.H.size()};f.isEmpty=function(){return this.H.isEmpty()};f.get=function(a){return gOa(z(this.H.Gc(a),YH,QH))};f.put=function(a,b){a=PI(this.R.Lc(),this.getId(),a,gOa(b));return HI(this.R,a,GI())};
f.remove=function(a){return this.H.Le(a)?HI(this.R,PI(this.R.Lc(),this.getId(),a,uJ()),GI()):ENa()};var gOa=function(a){return null==a?uJ():a};f=eJ.prototype;f.qb=function(){for(var a=17,b=qf(this.H).qd().Xa();b.Wa();){var c=z(b.Ya(),pe,oe);a=37*a+Zc(z(c.Nc(),Fd,cd));a=37*a+z(c.Oc(),YH,QH).qb()}return a};f.equals=function(a){if(null==a)return!1;if(x(this,a))return!0;if(!hOa(a))return!1;a=z(a,hOa,eJ);for(var b=qf(this.H).qd().Xa();b.Wa();){var c=z(b.Ya(),pe,oe);c=z(c.Nc(),Fd,cd);if(!a.H.Le(c)||!this.get(c).equals(a.get(c)))return!1}return!0};
f.toString=function(){var a=xf();Ge(a,"{");for(var b=!0,c=qf(this.H).qd().Xa();c.Wa();){var d=z(c.Ya(),pe,oe);b||Ge(a,", ");b=!1;Ge(a,z(d.Nc(),Fd,cd));Ge(a,": ");a:{var e=z(d.Oc(),YH,QH);tJ();switch(e.H){case NH(),OH:d=xf();qJ(XH(e),iJ(d));d=d.toString();break a;default:throw zc("Cannot get string representation for object of type: "+y(e.H)).H;}}Ge(a,d)}Ge(a,"}");return a.toString()};f.XD=function(a,b){fOa(this,a,b)};
f.WD=function(a,b){for(var c=this.H.qd().Xa();c.Wa();){var d=z(c.Ya(),pe,oe),e=a,g=z(d.Oc(),YH,QH);tJ();x(g.H,(NH(),SH))&&Ff(CMa(g),e)&&fOa(this,PI(this.R.Lc(),this.getId(),z(d.Nc(),Fd,cd),uJ()),b)}};var hOa=function(a){return a instanceof eJ};eJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.SessionStateMapImpl",0];eJ.prototype.Wl=!0;eJ.prototype.sz=!0;
var vJ=function(){this.U=this.R=this.W=null;this.V=!1;this.S=null;this.H=0;this.$=this.ka=null};l(vJ,w);var lNa=function(a,b){var c=new vJ;c.W=ff();c.R=ff();c.H=0;c.$=new cJ;c.U=a;c.V=b;return c};vJ.prototype.qc=function(){return null!=this.S};vJ.prototype.Lc=function(){return this.U};vJ.prototype.getTag=function(){return this.ka};vJ.prototype.setTag=function(a){this.ka=a};
var HI=function(a,b,c){iOa(a,b.H,c);c=0!=(c.R&4);var d=new ONa,e=new BNa;e.H=de();d.R=e;d.H=a;e=c?a.H:0;QNa(d,b);d=new UI(pf(d.R.H));if(c&&5E3<a.H&&a.H>e)throw Bc().H;x(b.H,a.U)&&a.$.H(d);return d},iOa=function(a,b,c){var d=c.mf()&&a.V;b=!c.mf()&&Ff(b,c.Lc());if(!d&&!b)throw Cc("This SessionState is associated with another collaborator (sessionId: "+y(a.Lc())+") and can only be modified by that user.").H;},dJ=function(a,b){return z(a.R.Gc(b),TI,SI)},oNa=function(a,b){a=dJ(a,b);if(null!=a)return a;
throw MI(b).H;};vJ.prototype.destroy=function(a,b){var c=this.U;NI();OMa();var d=PMa;a=fI(eI(wI(),c),a);a.H=(iI(),oI);a.R=d;d=pI(a);return HI(this,d,b)};vJ.prototype.Ac=function(){return null!=this.S?this.S:this.S=z(dJ(this,"root"),aJ,$I)};vJ.prototype.reset=function(a){iOa(this,this.Lc(),a);for(a=this.R.qd().Xa();a.Wa();){var b=z(a.Ya(),pe,oe);b=-z(b.Oc(),TI,SI).vn();this.H+=b;a.sd()}this.S=null};
vJ.prototype.Td=function(){for(var a=de(),b=de(),c=de(),d=this.R.values().Xa();d.Wa();){var e=z(d.Ya(),TI,SI);a.add(e.pE());YI(e)?c.addAll(e.Td()):b.addAll(e.Td())}d=de();d.addAll(a);d.addAll(b);d.addAll(c);return d};var jOa=function(a,b){a.$=b};vJ.prototype.qb=function(){return Id(this.Ac())};vJ.prototype.equals=function(a){if(!kOa(a))return!1;a=z(a,kOa,vJ);return Hd(this.Ac(),a.Ac())};var kOa=function(a){return a instanceof vJ}; vJ.prototype.wa=["com.google.apps.brix.api.shared.session.sessionstate.impl.SessionModelImpl",0];
var EI=function(){sf.call(this)};l(EI,sf);var lOa=function(a,b){var c=new EI;tf(c,a,b);return c};EI.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,gNa,EI))};var gNa=function(a){return a instanceof EI},wJ=function(){wJ=function(){};xJ=lOa("READ_ONLY",0);yJ=lOa("READ_WRITE",1)};EI.prototype.wa=["com.google.apps.brix.api.shared.util.UserDocumentAcl",2];var xJ=null,yJ=null;
var zJ=function(a,b,c){mOa();this.H=this.R=this.S=null;this.S=pf(ee(a));this.R=pf(ee(b));this.H=pf(ee(c))};l(zJ,w);var zI=function(){mOa();return nOa};zJ.prototype.qb=function(){var a=31+$c(this.H);a=31*a+$c(this.R);return a=31*a+$c(this.S)};zJ.prototype.equals=function(a){if(x(this,a))return!0;if(!oOa(a))return!1;a=z(a,oOa,zJ);return Wc(this.S,a.S)&&Wc(this.R,a.R)&&Wc(this.H,a.H)};
zJ.prototype.toString=function(){return"UndoManagerState [undoStack="+y(this.S)+", redoStack="+y(this.R)+", pendingBatchStack="+y(this.H)+"]"};var oOa=function(a){return a instanceof zJ},mOa=function(){mOa=function(){};nOa=new zJ(kf(),kf(),kf())};zJ.prototype.wa=["com.google.apps.brix.api.shared.model.UndoManagerState",0];var nOa=null;
var AJ=function(){};l(AJ,w);AJ.prototype.H=function(){};AJ.prototype.wa=["com.google.apps.brix.api.client.cache.sync.OtStateSyncer$1",0];var BJ=function(){};l(BJ,w);BJ.prototype.S=function(a){a()};var pOa=function(a,b){b.UZ=!0},qOa=function(){qOa=function(){};rOa=Ka(BJ.prototype.S,new BJ,pOa)};BJ.prototype.wa=["com.google.apps.brix.api.client.cache.sync.OtStateSyncer$NoDelayRunner",0];var rOa=null;
var CJ=function(){};l(CJ,w);var uOa=function(){sOa();return tOa};CJ.prototype.apply=function(a){return vOa(mf(),a)};CJ.prototype.W=function(){throw ib().H;};var sOa=function(){sOa=function(){};tOa=new CJ};CJ.prototype.wa=["com.google.apps.brix.api.client.cache.sync.OtStateSyncer$NullOperationTarget",0];var tOa=null;
var EJ=function(a,b,c,d,e,g,h){DJ();this.H=a;this.U=b;this.S=e;this.V=d;this.R=g;this.W=h};l(EJ,w);var FJ=function(){DJ();return wOa},vOa=function(a,b){DJ();return new EJ(GJ(),kf(),0,null,HJ(),b,GJ())},DJ=function(){DJ=function(){};wOa=new EJ(GJ(),kf(),mf(),null,HJ(),null,GJ())};EJ.prototype.wa=["com.google.apps.brix.api.shared.model.ApplyResult",0];var wOa=null;
var IJ=function(a,b){xOa();this.R=cc(0,0);this.H=null;Jd(b,"The list of events cannot be null.");this.R=a;this.H=b};l(IJ,w);var GJ=function(){xOa();return yOa},xOa=function(){xOa=function(){};yOa=new IJ(dd(0),kf())};IJ.prototype.wa=["com.google.apps.brix.api.shared.model.ChangeInfo",0];var yOa=null;
var zOa=function(){},AOa=function(a){return null!=a&&!!a.mz};zOa.prototype.wa=["com.google.apps.brix.api.shared.model.BrixModel",1];zOa.prototype.mz=!0;var JJ=function(){},KJ=function(a){return null!=a&&!!a.zh},BOa=function(a){return null!=a&&!!a.prototype.zh};JJ.prototype.wa=["com.google.apps.brix.api.shared.model.CollaborativeObject",1];JJ.prototype.zh=!0;var LJ=function(){},MJ=function(a){return null!=a&&!!a.nz};LJ.prototype.wa=["com.google.apps.brix.api.shared.model.CollaborativeList",1];LJ.prototype.zh=!0;LJ.prototype.nz=!0;var NJ=function(){sf.call(this)};l(NJ,sf);var COa=function(a,b){var c=new NJ;tf(c,a,b);return c};NJ.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,DOa,NJ))};var DOa=function(a){return a instanceof NJ},EOa=function(){EOa=function(){};FOa=COa("FULL",0);GOa=COa("LEGACY_FULL",1);HOa=COa("WITHOUT_SUGGESTIONS",2)};NJ.prototype.wa=["com.google.apps.docs.commands.ModelProjection",2];var FOa=null,GOa=null,HOa=null;
var OJ=function(){this.R=null;this.H=0};l(OJ,w);var QJ=function(a,b){PJ();var c=new OJ;c.R=a;c.H=b;return c},RJ=function(){PJ();return IOa},SJ=function(){PJ();return JOa},KOa=function(a){PJ();Jd(a,"A sessionId must be specified, or OperationMetadata#anonymousRemote should be used.");return QJ(a,0)},MOa=function(){PJ();return LOa},OOa=function(){PJ();return NOa},QOa=function(){PJ();return POa};f=OJ.prototype;f.Lc=function(){return this.R};f.mf=function(){return 0!=(this.H&1)};
f.Ms=function(){return 0!=(this.H&4)};f.OD=function(){return 0!=(this.H&8)};f.qb=function(){var a=31+this.H;return a=31*a+(null==this.R?0:Zc(this.R))};f.equals=function(a){if(x(this,a))return!0;if(!ROa(a))return!1;a=z(a,ROa,OJ);if(this.H!=a.H)return!1;if(null==this.R){if(null!=a.R)return!1}else if(!x(this.R,a.R))return!1;return!0};f.toString=function(){return"OperationMetadata [sessionId="+y(this.R)+", flags="+this.H+"]"};
var ROa=function(a){return a instanceof OJ},PJ=function(){PJ=function(){};JOa=QJ(null,0);IOa=QJ(null,33);LOa=QJ(null,37);NOa=QJ(null,41);POa=QJ(null,16);QJ(null,112)};OJ.prototype.wa=["com.google.apps.brix.api.shared.model.OperationMetadata",0];var JOa=null,IOa=null,LOa=null,NOa=null,POa=null;
var TJ=function(a,b,c){this.V=a;this.Li=b;this.R=c};l(TJ,w);TJ.prototype.getSource=function(){return this.V};TJ.prototype.toString=function(){return"source="+y(this.V.getId())+", metadata="+y(this.Li)+", compoundOperationNames="+y(this.R)+", "};TJ.prototype.qb=function(){var a=$c(this.R);a=31*a+this.Li.qb();return a=31*a+$c(this.V)};TJ.prototype.equals=function(a){if(x(this,a))return!0;if(!UJ(a))return!1;a=z(a,UJ,TJ);return Wc(this.V,a.V)&&this.Li.equals(a.Li)&&Wc(this.R,a.R)}; var UJ=function(a){return a instanceof TJ},VJ=function(a){return Ja(a,TJ)};TJ.prototype.wa=["com.google.apps.brix.api.shared.model.event.AbstractModelEvent",0];
var WJ=function(a,b,c,d){TJ.call(this,a,b,c);this.S=this.H=null;this.H=de();this.S=d};l(WJ,TJ);WJ.prototype.qb=function(){var a=31+$c(this.H);return a=31*a+$c(this.S)};WJ.prototype.equals=function(a){if(x(this,a))return!0;if(!XJ(a))return!1;a=z(a,XJ,WJ);return Wc(this.H,a.H)&&Wc(this.S,a.S)};var XJ=function(a){return a instanceof WJ},SOa=function(a){return Ja(a,WJ)};WJ.prototype.wa=["com.google.apps.brix.api.shared.model.event.CollaborativeObjectChangeEvent",0];
var YJ=function(){sf.call(this)};l(YJ,sf);var ZJ=function(a,b){var c=new YJ;tf(c,a,b);return c};YJ.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,$J,YJ))};
var $J=function(a){return a instanceof YJ},aK=function(a){return Ja(a,YJ)},bK=function(){bK=function(){};cK=ZJ("ADD_TO_UNDO",0);dK=ZJ("ADD_TO_REDO",1);eK=ZJ("ADD_TO_PENDING_BATCH",2);fK=ZJ("TRUNCATE_UNDO",3);gK=ZJ("TRUNCATE_REDO",4);TOa=ZJ("POP_UNDO",5);UOa=ZJ("POP_REDO",6);hK=ZJ("REFRESH_UNDO",7);iK=ZJ("REFRESH_REDO",8);jK=ZJ("REFRESH_PENDING_BATCH",9);VOa=ZJ("UNDO_REDO_STATE_CHANGED",10)};YJ.prototype.wa=["com.google.apps.brix.api.shared.model.UndoManagerChanges$ChangeType",2]; var cK=null,dK=null,eK=null,fK=null,gK=null,TOa=null,UOa=null,hK=null,iK=null,jK=null,VOa=null;
var mK=function(a,b){kK();this.R=this.H=null;a=jf(a);var c=a.contains((bK(),cK)),d=a.contains(dK),e=a.contains(eK);if(c?d||e:d&&e)a.addAll(lK),b=null;a.contains(hK)&&(a.contains(cK)&&(b=null),a.removeAll(WOa));a.contains(iK)&&(a.contains(dK)&&(b=null),a.removeAll(XOa));a.contains(jK)&&(a.contains(eK)&&(b=null),a.removeAll(YOa));this.H=rf(a);this.R=b};l(mK,w);
var HJ=function(){kK();return ZOa},$Oa=function(a,b){if(null!=a.R&&null!=b.R)return new mK(lK,null);if(a.H.isEmpty()&&b.H.isEmpty())return new mK(hf(),null);if(a.H.isEmpty())return b;if(b.H.isEmpty())return a;var c=jf(a.H);c.addAll(b.H);return new mK(c,null!=a.R?a.R:b.R)},aPa=function(a){return a instanceof mK},kK=function(){kK=function(){};ZOa=new mK(hf(),null);WOa=jf(uf(Qc([(bK(),cK),fK,TOa],YJ,$J,aK,1)));XOa=jf(uf(Qc([dK,gK,UOa],YJ,$J,aK,1)));YOa=jf(uf(Qc([eK],YJ,$J,aK,1)));lK=jf(uf(Qc([hK,iK, jK],YJ,$J,aK,1)));new mK(lK,null)};mK.prototype.wa=["com.google.apps.brix.api.shared.model.UndoManagerChanges",0];var ZOa=null,WOa=null,XOa=null,YOa=null,lK=null;
var nK=function(){},oK=function(a){return null!=a&&!!a.oz};nK.prototype.wa=["com.google.apps.brix.api.shared.model.CollaborativeMap",1];nK.prototype.zh=!0;nK.prototype.oz=!0;var pK=function(){},qK=function(a){return null!=a&&!!a.pz};pK.prototype.wa=["com.google.apps.brix.api.shared.model.CollaborativeString",1];pK.prototype.zh=!0;pK.prototype.pz=!0;var rK=function(){sf.call(this);this.U=this.R=!1};l(rK,sf);var sK=function(a,b,c,d){var e=new rK;tf(e,a,b);e.R=c;e.U=d;return e};rK.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,tK,rK))};
var tK=function(a){return a instanceof rK},uK=function(a){return Ja(a,rK)},vK=function(){vK=function(){};bPa=sK("CREATION",0,!0,!1);cPa=sK("NORMAL",1,!0,!0);wK=sK("NO_UNDO",2,!0,!1);xK=sK("NO_EVENTS_NO_UNDO",3,!1,!1);dPa=Qc([Qc([null,wK,wK,xK],rK,tK,uK,1),Qc([null,cPa,null,xK],rK,tK,uK,1),Qc([null,wK,wK,xK],rK,tK,uK,1),Qc([null,null,null,xK],rK,tK,uK,1)],rK,tK,uK,2)};rK.prototype.wa=["com.google.apps.brix.api.shared.model.CompoundOperationType",2];var bPa=null,cPa=null,wK=null,xK=null,dPa=null;
var yK=function(a){this.H=a};l(yK,w);var zK=function(a){return a instanceof yK};yK.prototype.wa=["com.google.apps.brix.api.shared.model.CreateResult",0];var AK=function(){};l(AK,w);AK.prototype.R=function(a,b){a=z(a,BK,CK);b=z(b,BK,CK);if(null==a||null==b)a=null==b&&null==a?0:null==b?1:-1;else{var c=Ed(a.H,b.H);0!=c?a=c:(c=a.Zc()-b.Zc(),a=0!=c?c:DK(a)!=DK(b)?DK(a)?-1:1:0)}return a};AK.prototype.wa=["com.google.apps.brix.api.shared.model.IndexReference$1",0];AK.prototype.nq=!0;
var CK=function(){},BK=function(a){return null!=a&&!!a.qz},ePa=function(){ePa=function(){};fPa=new AK};CK.prototype.wa=["com.google.apps.brix.api.shared.model.IndexReference",1];var fPa=null;CK.prototype.zh=!0;CK.prototype.qz=!0;var gPa=function(){gPa=function(){};hPa=uf(Qc([zd(400),zd(403),zd(404),zd(423),zd(500)],wd,xd,oba,1))},hPa=null;var EK=function(){Qa.call(this);this.S=0;this.V=!1};l(EK,bb);var iPa=function(a){var b=new EK;Va(b,"Request failed with status code: "+a);b.S=a;gPa();hPa.contains(zd(a));b.V=!1;return b},jPa=function(a){var b=new EK,c="Request failed with status code: 0; cause: "+y(a);Ra(b);b.U=a;b.R=c;Sa(b);Ta(b);b.S=0;gPa();hPa.contains(zd(0));b.V=!0;return b};EK.prototype.wa=["com.google.apps.brix.api.client.net.RequestFailedException",0];
var FK=function(){this.Ar=this.wo=this.yo=this.zo=null};l(FK,w);FK.prototype.R=function(a){try{for(;a.Yj();){var b=a.Zn().R;null!=b&&(this.Ar.ju(b),this.wo.add(b))}a.Yj()||a.hh()||(this.yo.qn(),this.zo.KZ(pf(this.wo),a.getState()))}catch(c){if(c=Za(c),c instanceof bb)a=c,GK((kPa(),lPa),(HK(),IK),"Failed to apply operation",a),this.yo.qn(),this.zo.JZ();else throw c.H;}};var mPa=function(a,b){b.zo=a.zo;b.yo=a.yo;b.wo=a.wo;b.Ar=a.Ar;b.VZ=!0}; FK.prototype.wa=["com.google.apps.brix.api.client.cache.sync.OtStateSyncer$SynchronousOperationReceivedHandler",0];
var JK=function(a){this.$=this.R=null;this.H=0;this.ma=this.ka=null;nPa(this);this.$=a.H;var b=new Zq,c=a.R;b.S=new Xq;b.R=new Xq;boa(b);b.addAll(c);this.R=b;this.H=a.S};l(JK,w);JK.prototype.hh=function(){return!this.R.isEmpty()||null!=this.ka&&!this.ka.isEmpty()};var KK=function(a,b){a.ma=z(Jd(b,"operationReceivedHandler"),Vc,Uc)};JK.prototype.getState=function(){return iNa(this.H,this.$,pf(ee(this.R)))};var nPa=function(a){a.ma=function(){}}; JK.prototype.wa=["com.google.apps.brix.api.client.managers.OtProtocolManager",0];
var LK=function(){this.H=null};l(LK,w);var MK=function(a){return a instanceof LK};LK.prototype.wa=["com.google.apps.brix.api.shared.change.ChangeEvent",0];var NK=function(){this.S=null;this.W=cc(0,0);this.R=0;this.H=null;this.V=0;this.U=null};l(NK,w);NK.prototype.qb=function(){var a=31+this.V;a=31*a+(null==this.S?0:this.S.qb());a=31*a+(null==this.U?0:this.U.qb());a=31*a+this.R;a=31*a+(null==this.H?0:Zc(this.H));return a=31*a+this.W.xor(mc(this.W,dd(32).H)).H};
NK.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!OK(a))return!1;a=z(a,OK,NK);if(this.V!=a.V)return!1;if(null==this.S){if(null!=a.S)return!1}else if(!this.S.equals(a.S))return!1;if(null==this.U){if(null!=a.U)return!1}else if(!this.U.equals(a.U))return!1;if(this.R!=a.R)return!1;if(null==this.H){if(null!=a.H)return!1}else if(!x(this.H,a.H))return!1;return jc(this.W,a.W)?!1:!0};NK.prototype.Mc=function(a){a=z(a,OK,NK);return null==a?-1:this.R-a.R}; var OK=function(a){return a instanceof NK};NK.prototype.wa=["com.google.apps.brix.api.shared.change.ClientSafeChange",0];NK.prototype.Ah=!0;
var PK=function(a,b){if(!a)throw zc(b).H;},QK=function(a,b){if(!a)throw Cc(b).H;};var RK=function(){sf.call(this);this.R=0};l(RK,sf);var oPa=function(a,b,c){var d=new RK;tf(d,a,b);d.R=c;return d};RK.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,pPa,RK))};var pPa=function(a){return a instanceof RK},SK=function(){SK=function(){};qPa=oPa("NO_CHANGE",0,0);rPa=oPa("SNAPSHOT",1,1)};RK.prototype.wa=["com.google.apps.brix.api.shared.change.DeltaResponse$DeltaType",2];var qPa=null,rPa=null;
var TK=function(){this.H=this.S=null;this.R=0};l(TK,w);TK.prototype.qb=function(){var a=31+$c(this.H);a=31*a+this.R;return a=31*a+$c(this.S)};TK.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!UK(a))return!1;a=z(a,UK,TK);return x(this.H,a.H)&&this.R==a.R&&Wc(this.S,a.S)?!0:!1};TK.prototype.toString=function(){return"Type: "+y(this.H)+", revision: "+this.R+", snapshot: "+y(this.S)};var UK=function(a){return a instanceof TK}; TK.prototype.wa=["com.google.apps.brix.api.shared.change.DeltaResponse",0];
var VK=function(){this.R=this.H=null};l(VK,w);VK.prototype.qb=function(){var a=31+(null==this.H?0:this.H.qb());return a=31*a+(null==this.R?0:$c(this.R))};VK.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!sPa(a))return!1;a=z(a,sPa,VK);if(null==this.H){if(null!=a.H)return!1}else if(!this.H.equals(a.H))return!1;if(null==this.R){if(null!=a.R)return!1}else if(!Wc(this.R,a.R))return!1;return!0};var sPa=function(a){return a instanceof VK}; VK.prototype.wa=["com.google.apps.brix.api.shared.change.GetModelAtRevisionResponse",0];
var WK=function(){this.U=0;this.S=cc(0,0);this.R=this.H=null};l(WK,w);var tPa=function(a,b,c,d,e){a.U=b;a.S=c;a.H=pf(ee(d));a.R=null==e?OI():e;PK(0<=b,"revision must be non-negative");PK(0<=kc(c,dd(0)),"request number must be non-negative");Jd(d,"changes");PK(!d.isEmpty()||null!=e,"a change / session change is required")};WK.prototype.qb=function(){var a=31+(null==this.H?0:$c(this.H));a=31*a+this.S.xor(mc(this.S,dd(32).H)).H;a=31*a+this.U;return a=31*a+(null==this.R?0:this.R.qb())};
WK.prototype.equals=function(a){if(x(this,a))return!0;if(null==a||!uPa(a))return!1;a=z(a,uPa,WK);if(null==this.H){if(null!=a.H)return!1}else if(!Wc(this.H,a.H))return!1;if(jc(this.S,a.S)||this.U!=a.U)return!1;if(null==this.R){if(null!=a.R)return!1}else if(!this.R.equals(a.R))return!1;return!0};WK.prototype.toString=function(){return"SaveRequest [revision="+this.U+", requestNumber="+this.S+", changes="+y(this.H)+", sessionChange="+y(this.R)+"]"};var uPa=function(a){return a instanceof WK}; WK.prototype.wa=["com.google.apps.brix.api.shared.change.SaveRequest",0];
var XK=function(){};l(XK,w);var vPa=function(a){return a instanceof XK};XK.prototype.wa=["java.lang.Void",0];var wPa=function(){Qa.call(this)};l(wPa,cb);var xPa=function(a){var b=new wPa;Va(b,a);return b};wPa.prototype.wa=["com.google.apps.brix.api.shared.model.error.UndoRedoException",0];var YK=function(){this.H=this.S=this.U=this.W=null;this.V=0;this.ka=this.R=null;this.$=cc(0,0)};l(YK,w);var zPa=function(a,b,c){var d=new YK;yPa(d,a,b,c,new ZK);return d},yPa=function(a,b,c,d,e){a.U=$q();a.S=$q();a.H=$q();a.R=hf();a.W=b;a.V=d;a.ka=e;a.U.addAll(c.S);a.S.addAll(c.R);a.H.addAll(c.H);$K(a,a.U,(bK(),fK));$K(a,a.S,gK)};
YK.prototype.cA=function(a){var b=HJ();if(a&&!this.H.isEmpty()||!a&&1<this.H.size())b=null,a||(b=z(cr(this.H),$F,aG)),a=aL(this.H),this.R.add((bK(),cK)),ar(this.U,a),$K(this,this.U,fK),this.R.add(jK),this.H.clear(),null!=b&&ar(this.H,b),b=new mK(this.R,a),this.R.clear();return b};
YK.prototype.ju=function(a){var b=hf(),c=a;this.H.isEmpty()||(c=APa(BPa(),this.H,c),b.add((bK(),jK)),CPa(this.H));this.U.isEmpty()||(APa(BPa(),this.U,c),b.add((bK(),hK)),CPa(this.U));this.S.isEmpty()||(a=APa(BPa(),this.S,a),b.add((bK(),iK)),CPa(this.S));return new mK(b,a)};
YK.prototype.yD=function(a,b,c){this.$=Qf();Jd(c,"Cannot put null onto the undo or redo stack");b=GJ();var d=!1;x(c.R,(QG(),RG))||(a.equals(MOa())?(d=!this.Nf()||!this.Of(),this.R.add((bK(),dK)),ar(this.S,c),$K(this,this.S,gK)):a.equals(OOa())?(d=!this.Of()||!this.Nf(),this.R.add((bK(),cK)),ar(this.U,c),$K(this,this.U,fK)):(d=!this.Of()||this.Nf(),this.R.add((bK(),eK)),ar(this.H,c),this.S.isEmpty()||(this.R.add(iK),this.S.clear())));d&&this.R.add((bK(),VOa));a=new mK(this.R,c);this.R.clear();c=this.$;
DJ();c=new IJ(c,kf());return new EJ(c,kf(),mf(),null,a,null,b)};var CPa=function(a){for(a=a.Xa();a.Wa();)x(z(a.Ya(),$F,aG).R,(QG(),RG))&&a.sd()},$K=function(a,b,c){-1!=a.V&&b.size()>a.V&&(a.R.add(c),Rd(0!=b.H),aoa(b,b.R.R))};f=YK.prototype;f.Of=function(){return!this.U.isEmpty()||!this.H.isEmpty()};f.Nf=function(){return!this.S.isEmpty()};
f.oE=function(){if(!this.Of())throw xPa("Undo stack is empty.").H;if(this.H.isEmpty()){this.R.add((bK(),TOa));var a=z(cr(this.U),$F,aG)}else a=aL(this.H),this.H.clear(),this.R.add((bK(),jK));return this.W.apply(a,MOa())};f.nE=function(){if(!this.Nf())throw xPa("Redo stack is empty.").H;this.R.add((bK(),UOa));return this.W.apply(z(cr(this.S),$F,aG),OOa())};f.getState=function(){return new zJ(this.U,this.S,this.H)};f.wa=["com.google.apps.brix.api.shared.model.impl.UndoStackUndoManager",0];
var DPa=function(){Qa.call(this)};l(DPa,cb);var EPa=function(a){var b=new DPa;a="Unsupported operation type: "+y(a);Va(b,a);return b};DPa.prototype.wa=["com.google.apps.brix.api.shared.model.error.UnsupportedRealtimeOperationException",0];var cL=function(){bL();return jH()},dL=function(a,b){bL();a=gH(sH(),a);a.H=(QG(),UG);a.R=b;return iH(a)},FPa=function(a,b){bL();a=gH(sH(),a);a.H=(QG(),WG);a.R=b;return iH(a)},eL=function(a,b){bL();a=gH(sH(),a);a.H=(QG(),SG);a.R=b;return iH(a)},fL=function(a,b){bL();a=gH(sH(),a);a.H=(QG(),VG);a.R=b;return iH(a)},GPa=function(a,b){bL();a=gH(sH(),a);a.H=(QG(),ZG);a.R=b;return iH(a)},gL=function(a){bL();var b=sH();b.H=(QG(),$G);b.R=a;return iH(b)},hL=function(){bL();return HPa},iL=function(){bL();return IPa},
jL=function(){bL();return JPa},LPa=function(){bL();return KPa},MPa=function(a){bL();if("List"===a)var b=iL();else"Map"===a?b=hL():"EditableString"===a?b=jL():"IndexReference"===a?b=LPa():(b=pG(),a=nJa(mJa(wKa(),a)),b.H=(iG(),oG),b.R=a,b=sG(b));return b},NPa=function(a,b){bL();return eL(a,MPa(b))},OPa=function(a){bL();switch(a.H){case iG(),kG:return"Map";case iG(),lG:return"List";case iG(),mG:return"EditableString";case iG(),nG:return"IndexReference";case iG(),oG:return HKa(a).H;default:throw EPa(eL("",
a)).H;}},PPa=function(a,b,c){bL();return dL(a,KG(HG(GG(LG(),b),c)))},RPa=function(a,b,c){bL();return QPa(a,b,c,lf())},QPa=function(a,b,c,d){bL();b=GG(LG(),b);if(d.isEmpty())eLa(b,c);else for(c=c.Xa();c.Wa();){var e=z(c.Ya(),WF,RF);e=SPa(e,d);b.R.add(e)}return dL(a,KG(b))},kL=function(a,b,c,d){bL();CG();var e=new BG;XKa(e);e.S=b;b=ZKa(e,c);b.H=d;return GPa(a,aLa(b))},TPa=function(a){bL();return kL(a,"",-1,(TE(),UE))},lL=function(a,b,c){bL();return fL(a,yG(vG(LKa(OKa(),b),c)))},mL=function(a,b,c){bL();
var d=yLa();d.H=b;for(b=c.Xa();b.Wa();)c=z(b.Ya(),WF,RF),d.R.add(c);return FPa(a,uLa(d))},nL=function(a,b,c,d){bL();NG();var e=new jLa;e.S=b;e.R=c;e.H=d;b=new MG;b.H=e.S;b.R=e.H;b.S=e.R;e.S=0;e.H=0;e.R="";a=gH(sH(),a);a.H=(QG(),YG);a.R=b;return iH(a)},oL=function(a,b,c){bL();fH();var d=new ALa;d.H="";TF();d.H=b;d.R=c;b=new eH;b.H="";TF();b.H=d.H;b.R=d.R;d.H="";d.R=TF();a=gH(sH(),a);a.H=(QG(),XG);a.R=b;return iH(a)},pL=function(a){bL();if(Ee(a.S)&&!a.R){if(0==a.H.size())return cL();if(1==a.H.size())return z(a.H.Vb(0),
$F,aG)}return gL(fG(a))},qL=function(a){bL();var b=pH(a);a=a.H;var c=b.S,d=b.R;return d>b.H&&x(a,c)?d-1:d},rL=function(a){bL();return pf(a.R).isEmpty()?a.S.length:a.R.size()},aL=function(a){bL();return a.isEmpty()?cL():1==a.size()?z(a.Vb(0),$F,aG):pL(bG(tH(),a))},bL=function(){bL=function(){};HPa=sG(CKa());IPa=sG(DKa());JPa=sG(EKa());KPa=sG(FKa());UPa=cL().R},HPa=null,IPa=null,JPa=null,KPa=null,UPa=null;
var sL=function(){};l(sL,w);var tL=function(){VPa();return WPa};f=sL.prototype;f.aE=function(a){return JF(hKa(FF(),a))};f.bt=function(){return XPa};f.dE=function(){return SJa()};f.eE=function(){return bKa()};f.ux=function(a){return JF(gKa(FF(),a))};f.bE=function(a){return this.ux(a)};f.cE=function(a){return null==a?this.bt():JF(GF(FF(),a))};f.UD=function(a,b){a=z(a,OF,IF);b=z(b,PJa,oF);a=z(Jd(a,"element"),OF,IF);b.Ao.add(a)};
f.VD=function(a,b,c){b=z(b,OF,IF);c=z(c,ZJa,sF);b=z(Jd(b,"value"),OF,IF);c.xo.put(a,b)};f.ZD=function(a){a=z(a,PJa,oF);return JF(jKa(FF(),OJa(a)))};f.$D=function(a){a=z(a,ZJa,sF);return JF(iKa(FF(),YJa(a)))};var VPa=function(){VPa=function(){};WPa=new sL;XPa=JF(fKa())};sL.prototype.wa=["com.google.apps.brix.api.shared.json.ValueObjectFactory",0];var WPa=null,XPa=null;
var vL=function(){uL();return YPa},ZPa=function(a){uL();return SF(pKa(XF(),a))},SPa=function(a,b){uL();return!b.isEmpty()&&x(a.H,(fF(),iF))&&(b=z(b.Gc(VF(a)),Fd,cd),null!=b)?ZPa(b):a},wL=function(a){uL();if($Pa(a))return 24;switch(a.H){case fF(),iF:return 24+VF(a).length;case fF(),hF:return sJ(UF(a));default:throw yc().H;}},$Pa=function(a){uL();return x(a.H,(fF(),hF))&&x(UF(a).H,(xF(),zF))},xL=function(a,b){uL();return x(b.H,(fF(),iF))&&Ff(VF(b),a)},uL=function(){uL=function(){};YPa=SF(PF(XF(),WNa()))}, YPa=null;
var yL=function(a){Qa.call(this);Va(this,a)};l(yL,cb);yL.prototype.getMessage=function(){return cb.prototype.W.call(this)};yL.prototype.W=function(){return this.getMessage()};yL.prototype.wa=["com.google.apps.brix.util.json.InvalidJsonException",0];var zL=function(a){this.U=null;this.ka=this.W=0;this.S=null;this.H=this.V=0;this.R=!1;this.$=0;this.S=xf();this.R=!0;this.$=0;this.U=a;this.W=a.length};l(zL,w);
var DL=function(a,b){if(!a.R)return b.bt();var c=AL(a);switch(c){case 34:return b=b.cE(aQa(a)),BL(a),b;case 91:c=b.dE();for(CL(a,93);a.R;)b.UD(DL(a,b),c);EL(a);return b.ZD(c);case 123:c=b.eE();for(CL(a,125);a.R;){var d=a;FL(d,34);var e=aQa(d);FL(d,58);d=e;e=DL(a,b);b.VD(d,e,c)}bQa(a);return b.$D(c);case 116:case 102:return b.aE(cQa(a,c));case 110:return GL(a),b.bt()}if(48<=c&&57>=c||45==c){a:{d=0;(e=45==c)||(d=c-48);var g=a.H-1;for(c=HL(a);;){if(48<=c&&57>=c&&10>a.H-g)d*=10,d+=c-48;else{if(0!=c&&
dQa(c)){for(d=g;dQa(c);)c=HL(a);--a.H;b=b.ux(hba(od(a.U,d,a.H).toString()));BL(a);break a}break}c=HL(a)}--a.H;BL(a);b=b.bE(e?-d:d)}return b}throw IL(a,"Invalid character: "+yf(c)).H;},JL=function(a){if(a.R){var b=AL(a);switch(b){case 34:eQa(a);BL(a);return;case 91:CL(a,93);EL(a);return;case 123:CL(a,125);bQa(a);return;case 116:case 102:cQa(a,b);return;case 110:GL(a);return}if(48<=b&&57>=b||45==b){for(;dQa(b);)b=HL(a);--a.H;BL(a)}else throw IL(a,"Invalid character: "+yf(b)).H;}},eQa=function(a){for(;;){var b=
HL(a);if(92==b)fQa(a);else if(34==b)break;else if(0==b)throw IL(a,"Unexpected end of string.").H;}},KL=function(a){if(!a.R)return 0;var b=AL(a),c=0,d=45==b;d||(c=b-48);for(b=AL(a);48<=b&&57>=b;)c*=10,c+=b-48,b=HL(a);--a.H;BL(a);d&&(c=-c);return c},dQa=function(a){return 48<=a&&57>=a||101==a||69==a||43==a||45==a||46==a},LL=function(a){FL(a,91);CL(a,93)},CL=function(a,b){var c=AL(a);--a.H;++a.ka;c==b&&BL(a)},EL=function(a){for(;a.R;)JL(a);gQa(a,93)},bQa=function(a){for(;a.R;)FL(a,34),eQa(a),FL(a,58),
JL(a);gQa(a,125)},gQa=function(a,b){if(a.$!=b)throw IL(a,"Expected collection end character "+yf(b)+" but was: "+yf(a.$)).H;BL(a)},ML=function(a){return a.R?cQa(a,AL(a)):!1},cQa=function(a,b){if(116==b)return FL(a,114),FL(a,117),FL(a,101),BL(a),!0;if(102==b)return FL(a,97),FL(a,108),FL(a,115),FL(a,101),BL(a),!1;throw IL(a,"Invalid character in boolean: "+yf(b)).H;},hQa=function(a){if(110==AL(a))return GL(a),!0;--a.H;return!1},GL=function(a){FL(a,117);FL(a,108);FL(a,108);BL(a)},NL=function(a){if(!a.R)return null;
var b=AL(a);if(110==b)return GL(a),null;if(34==b)return b=aQa(a),BL(a),b;throw IL(a,'Expected " or null, but was: '+yf(b)).H;},aQa=function(a){for(a.V=a.H;;){var b=HL(a);if(34==b)return od(a.U,a.V,a.H-1).toString();if(0==b)throw IL(a,"Input ended before end of string.").H;if(92==b){b=a;zca(b.S);for(fQa(b);;){var c=id(b.U,b.H++);if(34==c){Af(b.S,b.U,b.V,b.H-1);break}else 92==c&&fQa(b)}return a.S.toString()}}},fQa=function(a){Af(a.S,a.U,a.V,a.H-1);var b=id(a.U,a.H++);switch(b){case 98:zf(a.S,8);break;
case 102:zf(a.S,12);break;case 110:zf(a.S,10);break;case 114:zf(a.S,13);break;case 116:zf(a.S,9);break;case 34:zf(a.S,34);break;case 92:zf(a.S,92);break;case 47:zf(a.S,47);break;case 117:b=a.S;var c=0,d=a.H,e=d+4;for(a.H=e;d<e;++d)c=16*c&65535,c=c+kd(id(a.U,d),16)&65535;zf(b,c);break;default:throw IL(a,"Invalid escape: "+yf(b)).H;}a.V=a.H},AL=function(a){for(;;){var b=HL(a);if(32<b||32!=b&&9!=b&&10!=b&&13!=b)return b}},HL=function(a){var b=a.H>=a.W?0:id(a.U,a.H);++a.H;return b},BL=function(a){if(0<
a.ka){var b=AL(a);if(44==b)a.R=!0;else if(93==b||125==b)a.$=b,a.R=!1,--a.ka;else{if(0==b)throw IL(a,"Input ended before end of array/object.").H;throw IL(a,"Unexpected character in array/object: "+yf(b)).H;}}else if(b=AL(a),0!=b)throw IL(a,"Unexpected character at end of input: "+yf(b)).H;},FL=function(a,b){var c=AL(a);if(b!=c){if(0==c)throw IL(a,"Unexpected end of input.").H;throw IL(a,"Expected '"+yf(b)+"' but was: "+yf(c)).H;}},IL=function(a,b){var c=a.H-1,d=Math.max(c-10,0),e=Math.min(c+10,a.W),
g=od(a.U,d,e),h=xf();Ge(h,"JSON parsing error at character ");Bf(h,c);Ge(h," {input chars ");Bf(h,d);zf(h,45);Bf(h,e);Ge(h,' = "');Ge(h,g);Ge(h,'"; length = ');Bf(h,a.W);Ge(h,"}: ");Ge(h,b);return new yL(h.toString())};zL.prototype.wa=["com.google.apps.brix.util.json.JsonReader",0];
var iQa=function(){},jQa=function(a){return null!=a&&!!a.Pd};iQa.prototype.wa=["com.google.apps.brix.api.shared.transform.PairwiseTransformer",1];iQa.prototype.Pd=!0;var OL=function(){};l(OL,w);OL.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb();c=c.H;d=d.H;if(x(c,d)){var e=mH(a.Yb()),g=mH(b.Yb()),h=PL(e.H,g),k=PL(e.R,g);h<k?a.Cc(lL(c,h,k)):a.Cc(cL());a=PL(g.H,e);c=PL(g.R,e);a<c?b.Cc(lL(d,a,c)):b.Cc(cL())}};OL.prototype.wa=["com.google.apps.brix.api.shared.transform.DeleteVsDeleteTransform",0];OL.prototype.Pd=!0;
var PL=function(a,b){var c=b.H;b=b.R-c;return c>=a?a:a<c+b?c:a-b},QL=function(a,b,c){return b.H-(c?1:0)>=a?a:a+rL(b)};var RL=function(){sf.call(this)};l(RL,sf);var kQa=function(a,b){var c=new RL;tf(c,a,b);return c};RL.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,lQa,RL))};var lQa=function(a){return a instanceof RL},SL=function(){SL=function(){};mQa=kQa("BEFORE_DELETE",0);TL=kQa("AFTER_DELETE",1)};RL.prototype.wa=["com.google.apps.brix.api.shared.model.IndexReferenceShiftUtil$IndexRelativeTo",2];var mQa=null,TL=null;
var nQa=function(){Qa.call(this)};l(nQa,cb);var oQa=function(a){var b=new nQa;a="Unsupported delete mode: "+y(a);Va(b,a);return b};nQa.prototype.wa=["com.google.apps.brix.api.shared.model.error.UnsupportedDeleteModeException",0];var pQa=function(a,b,c,d){var e=b.H;b=b.R-b.H;if(a<e)return a;if(a<e+b)switch(c){case TE(),UE:switch(d){case SL(),mQa:return e+b;case SL(),TL:return e}throw oQa(c).H;case TE(),oJa:return e-1;case TE(),VE:return-1;default:throw oQa(c).H;}return a-b};var UL=function(){};l(UL,w);UL.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=c.H;a=d.H;c=mH(c);d=qH(d);var g=d.H;x(e,d.R)&&(g=x(d.S,(TE(),UE))?PL(g,c):pQa(g,c,d.S,(SL(),TL)));e=aLa(ZKa(YKa(d),g));b.Cc(GPa(a,e))};UL.prototype.wa=["com.google.apps.brix.api.shared.transform.DeleteVsIndexTransform",0];UL.prototype.Pd=!0;
var VL=function(){};l(VL,w);VL.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=mH(a.Yb()),g=lH(b.Yb());if(x(c.H,d.H)){if(g.H>e.H&&g.H<e.R)b.Cc(cL());else{var h=PL(g.H,e);h=KG(GG(FG(g),h));b.Cc(dL(d.H,h))}d=e.R;b=QL(e.H,g,!0);g=QL(d,g,!1);e=yG(vG(LKa(KKa(e),b),g));a.Cc(fL(c.H,e))}};VL.prototype.wa=["com.google.apps.brix.api.shared.transform.DeleteVsInsertTransform",0];VL.prototype.Pd=!0;
var WL=function(){};l(WL,w);WL.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb();if(x(c.H,d.H)){var e=mH(a.Yb()),g=nH(b.Yb()),h=a=null;c=g.H;var k=dH(g),n=c+k-1,q=e.H;e=e.R-q;var u=q+e-1;g=pf(g.R);q>c&&(a=mL(d.H,c,g.Wd(0,k-Math.max(0,n-q+1))));u<n&&(h=Math.max(0,u-c+1),h=mL(d.H,c-(e-h),g.Wd(h,k)));var C;null!=a&&null!=h?C=gL(fG(ZF(ZF(tH(),a),h))):null!=a?C=a:null!=h?C=h:C=cL();b.Cc(C)}};WL.prototype.wa=["com.google.apps.brix.api.shared.transform.DeleteVsSetTransform",0];WL.prototype.Pd=!0;
var XL=function(){};l(XL,w);XL.prototype.H=function(a,b){Ff(a.Yb().H,b.Yb().H)&&b.Qh()};XL.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyTransform",0];XL.prototype.Pd=!0;var YL=function(){};l(YL,w);YL.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb();x(c.H,d.H)&&(a.Qh(),b.Qh())};YL.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyVsDestroyTransform",0];YL.prototype.Pd=!0;var ZL=function(){};l(ZL,w);ZL.prototype.H=function(a,b){var c=a.Yb();a=b.Yb();c=c.H;if(x(c,a.H))b.Qh();else{var d=qH(a);x(c,d.R)&&b.Cc(TPa(a.H))}};ZL.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyVsIndexTransform",0];ZL.prototype.Pd=!0;
var $L=function(){};l($L,w);$L.prototype.H=function(a,b){var c=a.Yb();a=b.Yb();var d=c.H;if(x(d,a.H))b.Qh();else{c=lH(a);for(var e=pf(c.R),g=e.Xa();g.Wa();){var h=z(g.Ya(),WF,RF);if(xL(d,h)){g=e=ee(e);bL();for(h=0;h<g.size();++h){var k=z(g.Vb(h),WF,RF);xL(d,k)&&(g.$e(h),--h)}b.Cc(RPa(a.H,c.H,e));break}}}};$L.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyVsInsertTransform",0];$L.prototype.Pd=!0;
var aM=function(){};l(aM,w);aM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=c.H,g=pH(d),h=g.S;x(e,d.H)&&(b.Qh(),x(e,h)||(b=nL(h,g.R,e,g.H),a.Cc(gL(fG(ZF(ZF(tH(),b),c))))))};aM.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyVsMoveTransform",0];aM.prototype.Pd=!0;
var bM=function(){};l(bM,w);bM.prototype.H=function(a,b){var c=a.Yb();a=b.Yb();c=c.H;if(x(c,a.H))b.Qh();else{var d=null,e=nH(b.Yb()),g=pf(e.R);e=e.H;for(var h=0,k=g.size(),n=0;n<k;++n){var q=z(g.Vb(n),WF,RF);xL(c,q)&&(null==d&&(d=tH()),n>h&&ZF(d,mL(a.H,e+h,g.Wd(h,n))),h=e+n,ZF(d,lL(a.H,h,h+1)),h=n+1,--e)}null!=d&&(h<k&&ZF(d,mL(a.H,e+h,g.Wd(h,k))),b.Cc(pL(d)))}};bM.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyVsSetTransform",0];bM.prototype.Pd=!0;
var cM=function(){};l(cM,w);cM.prototype.H=function(a,b){var c=a.Yb();a=b.Yb();c=c.H;(x(c,a.H)||xL(c,oH(a).R))&&b.Qh()};cM.prototype.wa=["com.google.apps.brix.api.shared.transform.DestroyVsUpdateTransform",0];cM.prototype.Pd=!0;var dM=function(){};l(dM,w);dM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=qH(c),g=qH(d);x(c.H,d.H)&&(a.Cc(cL()),e.H==g.H&&x(e.R,g.R)&&x(e.S,g.S)&&b.Cc(cL()))};dM.prototype.wa=["com.google.apps.brix.api.shared.transform.IndexVsIndexTransform",0];dM.prototype.Pd=!0;
var eM=function(){};l(eM,w);eM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=c.H;a=d.H;c=lH(c);d=qH(d);var g=d.H;x(e,d.R)&&c.H<=d.H&&(g+=rL(c),e=aLa(ZKa(YKa(d),g)),b.Cc(GPa(a,e)))};eM.prototype.wa=["com.google.apps.brix.api.shared.transform.InsertVsIndexTransform",0];eM.prototype.Pd=!0;
var fM=function(){};l(fM,w);fM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=c.H,g=d.H;if(x(e,g)){c=lH(c);d=lH(d);var h=QL(c.H,d,!1);h!=c.H&&a.Cc(dL(e,KG(GG(FG(c),h))));a=QL(d.H,c,!0);a!=d.H&&b.Cc(dL(g,KG(GG(FG(d),a))))}};fM.prototype.wa=["com.google.apps.brix.api.shared.transform.InsertVsInsertTransform",0];fM.prototype.Pd=!0;
var gM=function(){};l(gM,w);gM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb();a=d.H;if(x(c.H,a)){var e=lH(c);d=nH(d);var g=d.H;c=dH(d);var h=g+c-1,k=rL(e);e.H<=d.H?a=mL(a,d.H+k,pf(d.R)):e.H>h?a=b.Yb():(g=e.H-g,e=mL(a,d.H,pf(d.R).Wd(0,g)),a=mL(a,d.H+g+k,pf(d.R).Wd(g,c)),a=gL(fG(ZF(ZF(tH(),e),a))));b.Cc(a)}};gM.prototype.wa=["com.google.apps.brix.api.shared.transform.InsertVsSetTransform",0];gM.prototype.Pd=!0;
var hM=function(){};l(hM,w);hM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=pH(c),g=mH(d),h=c.H,k=e.S,n=d.H,q=e.H,u=e.R,C=g.H,D=g.R-C,U=C+D-1;d=-1;var W=!1;x(h,n)&&x(k,n)&&q>=C&&q<=U&&u>=C&&u<=U?a.Cc(cL()):(x(h,n)&&(e.H<g.H?--C:q>=C&&q<=U?(--D,d=qL(c),q=-1):q-=D),x(k,n)&&(u<=g.H?++C:u>U?(u-=D,d-=D):(W=!0,u=g.H,++D)),c=W?qQa(h,q,k,u):rQa(h,q,k,u),g=sQa(n,C,D),-1<d&&(g=gL(fG(ZF(ZF(tH(),g),qQa(k,d,h,e.H))))),a.Cc(c),b.Cc(g))};
var qQa=function(a,b,c,d){return x(a,c)?sQa(a,b,1):gL(fG(ZF(ZF(tH(),rQa(a,b,c,d)),sQa(c,d,1))))},rQa=function(a,b,c,d){return-1==b||x(a,c)&&b==d?cL():nL(a,b,c,d)},sQa=function(a,b,c){return 0==c?cL():lL(a,b,b+c)};hM.prototype.wa=["com.google.apps.brix.api.shared.transform.MoveVsDeleteTransform",0];hM.prototype.Pd=!0;
var iM=function(){};l(iM,w);iM.prototype.H=function(a,b){a=a.Yb();var c=b.Yb(),d=a.H,e=c.H,g=pH(a);c=qH(c);var h=g.H,k=g.R,n=c.H,q=c.R,u=!1;x(d,q)&&(h<n?--n:h==n&&(u=!0,q=g.S,n=qL(a)));x(g.S,q)&&!u&&k<=c.H&&++n;n==c.H&&x(q,c.R)||b.Cc(kL(e,q,n,c.S))};iM.prototype.wa=["com.google.apps.brix.api.shared.transform.MoveVsIndexTransform",0];iM.prototype.Pd=!0;
var jM=function(){};l(jM,w);jM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=c.H,g=d.H,h=pH(c);d=lH(d);var k=h.H,n=h.R;c=d.H;var q=rL(d);x(e,g)&&(k<c?--c:k+=q);x(h.S,g)&&(n<=c?++c:n+=q);h=h.S;e=x(e,h)&&k==n?cL():nL(e,k,h,n);g=dL(g,KG(GG(FG(d),c)));a.Cc(e);b.Cc(g)};jM.prototype.wa=["com.google.apps.brix.api.shared.transform.MoveVsInsertTransform",0];jM.prototype.Pd=!0;
var kM=function(){this.R=!1};l(kM,w);kM.prototype.H=function(a,b){if(this.R){var c=b;b=a;a=c}c=a.Yb();var d=b.Yb();c=c.H;var e=d.H;d=pH(a.Yb());var g=pH(b.Yb());if(x(c,e)&&d.H==g.H){var h=d.R;x(e,d.S)&&g.H<d.R&&--h;e=cL();c=tQa(d.S,h,g.S,uQa(c,g,d,!0));a.Cc(e)}else h=tQa(c,vQa(c,e,d,g),d.S,uQa(e,d,g,!1)),c=tQa(e,vQa(e,c,g,d),g.S,uQa(c,g,d,!0)),a.Cc(h);b.Cc(c)};
var tQa=function(a,b,c,d){return x(a,c)&&b==d?cL():nL(a,b,c,d)},vQa=function(a,b,c,d){var e=c.H;x(a,d.S)&&d.R<=c.H&&++e;x(a,b)&&d.H<c.H&&--e;return e},uQa=function(a,b,c,d){var e=b.R;x(b.S,c.S)&&(c.R<b.R||!d&&c.R==b.R)&&++e;x(b.S,a)&&c.H<b.R&&--e;return e};kM.prototype.wa=["com.google.apps.brix.api.shared.transform.MoveVsMoveTransform",0];kM.prototype.Pd=!0;
var lM=function(){};l(lM,w);
lM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=c.H;a=d.H;var g=pH(c),h=g.S;if(x(e,a)||x(h,a)){d=nH(d);if(x(e,a)&&x(g.S,a)&&g.H>=d.H&&g.H<d.H+dH(d)&&g.R>d.H&&g.R<d.H+dH(d))c=g.H-d.H,g=g.R-d.H,g>c&&--g,h=ee(pf(d.R)),c=z(h.$e(c),WF,RF),h.ag(g,c),a=wQa(a,d.H,h);else{h=d.H;var k=ee(pf(d.R)),n=cL();x(e,a)&&(g.H>=d.H&&g.H<d.H+dH(d)?(e=z(k.$e(g.H-d.H),WF,RF),n=qL(c),n=mL(g.S,n,nf(e))):g.H<d.H&&--h);x(g.S,a)&&(g.R>d.H&&g.R<d.H+dH(d)?(d=g.R-d.H,c=qL(c)+1,n=wQa(a,c,k.Wd(d,k.size())),k=k.Wd(0,d)):g.R<=
d.H&&++h);a=wQa(a,h,k);x(n.R,(QG(),RG))||(a=x(a.R,(QG(),RG))?n:gL(fG(ZF(ZF(tH(),a),n))))}b.Cc(a)}};var wQa=function(a,b,c){return c.isEmpty()?cL():mL(a,b,c)};lM.prototype.wa=["com.google.apps.brix.api.shared.transform.MoveVsSetTransform",0];lM.prototype.Pd=!0;
var mM=function(){};l(mM,w);mM.prototype.xx=function(){return this.Yb().R};mM.prototype.wa=["com.google.apps.brix.api.shared.transform.Transformer$CommandListPointer",0];var xQa=function(){this.U=null;this.S=0;this.R=null;this.V=0;this.H=!1};l(xQa,mM);var nM=function(a){var b=new xQa;b.U=a;b.R=pf(b.U.H);b.V=b.R.size();return b},oM=function(a){return a.H?fG(bG(yKa(cG(tH(),a.U.S),a.U.R),a.R)):a.U};f=xQa.prototype;f.Yb=function(){return z(this.R.Vb(this.S),$F,aG)};f.Cc=function(a){this.H||(this.R=ee(this.R),this.H=!0);this.R.ke(this.S,a)};f.Qh=function(){this.Cc(cL())};f.ui=function(){++this.S};f.yp=function(){this.S=0};f.Wi=function(){return this.S<this.V}; f.wa=["com.google.apps.brix.api.shared.transform.MultiVsAnyTransform$CompoundOperationListPointer",0];
var yQa=function(){this.H=this.R=this.S=null};l(yQa,mM);f=yQa.prototype;f.Wi=function(){return null!=this.H};f.Yb=function(){return z(Jd(this.H,"identifiedCommand"),CI,BI).getCommand()};f.Cc=function(a){if(null==this.H)throw Cc("no current command").H;this.H=new BI(this.H.H,a,this.H.S);this.R.Bl(this.H)};f.Qh=function(){this.Cc(cL())};f.ui=function(){this.R.Wa()?this.H=z(this.R.Ya(),CI,BI):this.H=null};f.yp=function(){this.R=this.S.ek();this.ui()}; f.wa=["com.google.apps.brix.api.shared.transform.Transformer$CommandListPointer$IdentifiedCommandListPointer",0];
var zQa=function(){this.H=this.R=this.S=null};l(zQa,mM);f=zQa.prototype;f.Wi=function(){return null!=this.H};f.Yb=function(){return z(Jd(this.H,"command"),$F,aG)};f.Cc=function(a){QK(null!=this.H,"No current command.");this.H=a;this.R.Bl(a)};f.Qh=function(){this.Cc(cL())};f.ui=function(){this.R.Wa()?this.H=z(this.R.Ya(),$F,aG):this.H=null};f.yp=function(){this.R=this.S.ek();this.ui()};f.wa=["com.google.apps.brix.api.shared.transform.Transformer$CommandListPointer$StandardCommandListPointer",0];
var pM=function(){this.R=null};l(pM,w);pM.prototype.H=function(a,b){var c=a.Yb(),d=b.Yb(),e=x(c.R,(QG(),$G)),g=x(d.R,$G);if(e&&g){c=nM(rH(c));d=nM(rH(d));for(e=this.R;c.Wi();){for(;d.Wi();)qM(e,c,d),d.ui();d.yp();c.ui()}c.H&&a.Cc(gL(oM(c)));d.H&&b.Cc(gL(oM(d)))}else if(e){d=nM(rH(c));for(c=this.R;d.Wi();)qM(c,d,b),d.ui();d.H&&a.Cc(gL(oM(d)))}else{d=nM(rH(d));for(c=this.R;d.Wi();)qM(c,a,d),d.ui();d.H&&b.Cc(gL(oM(d)))}}; pM.prototype.wa=["com.google.apps.brix.api.shared.transform.MultiVsAnyTransform",0];pM.prototype.Pd=!0;
var rM=function(){};l(rM,w);rM.prototype.H=function(a,b){var c=a.Yb();a=b.Yb();if(x(c.H,a.H)){var d=nH(c),e=nH(a),g=c=null,h=dH(d);d=d.H;var k=d+h-1;h=dH(e);var n=e.H,q=n+h-1;e=pf(e.R);n<d&&(c=mL(a.H,n,e.Wd(0,h-Math.max(0,q-d+1))));q>k&&(g=Math.max(0,k-n+1),g=mL(a.H,n+g,e.Wd(g,h)));var u;null!=c&&null!=g?u=gL(fG(ZF(ZF(tH(),c),g))):null!=c?u=c:null!=g?u=g:u=cL();b.Cc(u)}};rM.prototype.wa=["com.google.apps.brix.api.shared.transform.SetVsSetTransform",0];rM.prototype.Pd=!0;
var AQa=function(){this.R=this.H=null};l(AQa,w);var BQa=function(a){var b=new AQa;b.Cc(a);return b};f=AQa.prototype;f.Wi=function(){return!0};f.Yb=function(){return this.H};f.Cc=function(a){this.H=a;this.R=a.R};f.Qh=function(){this.Cc(cL())};f.xx=function(){return this.R};f.wa=["com.google.apps.brix.api.shared.transform.Transformer$SingleElementCommandPointer",0];
var sM=function(){};l(sM,w);sM.prototype.H=function(a,b){var c=a.Yb();a=b.Yb();x(c.H,a.H)&&(c=oH(c),a=oH(a),x(c.H,a.H)&&b.Cc(cL()))};sM.prototype.wa=["com.google.apps.brix.api.shared.transform.UpdateVsUpdateTransform",0];sM.prototype.Pd=!0;var CQa=function(){this.H=null};l(CQa,w);
var DQa=function(a){tM();var b=new CQa,c=new pM;c.R=b;b.H=c;c=(QG(),UG);uM(c,c,new fM);uM(VG,VG,new OL);uM(TG,TG,new YL);uM(XG,XG,new sM);uM(WG,WG,new rM);uM(ZG,ZG,new dM);uM(VG,WG,new WL);uM(UG,WG,new gM);uM(VG,UG,new VL);uM(UG,ZG,new eM);uM(VG,ZG,new UL);uM(YG,VG,new hM);uM(YG,ZG,new iM);uM(YG,UG,new jM);var d=c=YG,e=new kM;e.R=a;uM(c,d,e);uM(YG,WG,new lM);uM(TG,SG,new XL);uM(TG,VG,new XL);uM(TG,ZG,new ZL);uM(TG,UG,new $L);uM(TG,YG,new aM);uM(TG,WG,new bM);uM(TG,XG,new cM);return b},BPa=function(){tM();
return EQa},uM=function(a,b,c){var d=z(vM.Gc(a),te,se);null==d&&(d=ff(),vM.put(a,d));d.put(b,c)},FQa=function(a,b,c){if(x(b,(QG(),$G))||x(c,(QG(),$G)))return a.H;a=z(vM.Gc(b),te,se);return null!=a?z(a.Gc(c),jQa,iQa):null},qM=function(a,b,c){var d=b.xx(),e=c.xx(),g=FQa(a,d,e);null!=g?g.H(b,c):(g=FQa(a,e,d),null!=g&&g.H(c,b))},APa=function(a,b,c){var d=new zQa;d.S=b;d.yp();for(b=BQa(c);d.Wi();)qM(a,d,b),d.ui();return b.Yb()},tM=function(){tM=function(){};vM=ff();GQa=DQa(!1);EQa=DQa(!0)}; CQa.prototype.wa=["com.google.apps.brix.api.shared.transform.Transformer",0];var vM=null,GQa=null,EQa=null;
var ZK=function(){};l(ZK,w);ZK.prototype.wa=["com.google.apps.brix.api.shared.util.SystemClock",0];var wM=function(){};l(wM,w);wM.prototype.R=function(){return"DUMMY"};wM.prototype.H=function(){return-1};wM.prototype.toString=function(){return this.R()};var HK=function(){HK=function(){};HQa=new xM;IQa=new yM;JQa=new zM;IK=new AM};wM.prototype.wa=["java.util.logging.Level",0];var HQa=null,IQa=null,JQa=null,IK=null;
var xM=function(){};l(xM,wM);xM.prototype.R=function(){return"ALL"};xM.prototype.H=function(){return-2147483648};xM.prototype.wa=["java.util.logging.Level$LevelAll",0];var yM=function(){};l(yM,wM);yM.prototype.R=function(){return"INFO"};yM.prototype.H=function(){return 800};yM.prototype.wa=["java.util.logging.Level$LevelInfo",0];var zM=function(){};l(zM,wM);zM.prototype.R=function(){return"SEVERE"};zM.prototype.H=function(){return 1E3};zM.prototype.wa=["java.util.logging.Level$LevelSevere",0];var AM=function(){};l(AM,wM);AM.prototype.R=function(){return"WARNING"};AM.prototype.H=function(){return 900};AM.prototype.wa=["java.util.logging.Level$LevelWarning",0];var BM=function(){this.S=null};l(BM,w);BM.prototype.R=function(a){this.S.ta=!1;403==a.S&&this.S.Da.H();CM(this.S)};BM.prototype.H=function(a){a=z(a,MK,LK);this.S.ta=!1;KQa(this.S,a.H,!0)};BM.prototype.wa=["com.google.apps.brix.api.client.managers.NetworkOtProtocolManager$2",0];
var DM=function(){this.S=null};l(DM,w);DM.prototype.R=function(a){this.S.U=0;CM(this.S);403==a.S&&this.S.Da.H()};DM.prototype.H=function(a){z(a,vPa,XK);null==this.S.Ma&&this.S.Il()};DM.prototype.wa=["com.google.apps.brix.api.client.managers.NetworkOtProtocolManager$3",0];
var EM=function(){},LQa=function(a){return null!=a&&!!a.yh};EM.prototype.wa=["com.google.apps.brix.api.client.net.UpChannel$DecodedEventListener",1];EM.prototype.yh=!0;var FM=function(){this.R=null};l(FM,w);FM.prototype.H=function(a){a=z(a,MK,LK);KQa(this.R,a.H,!1)};FM.prototype.wa=["com.google.apps.brix.api.client.managers.NetworkOtProtocolManager$$Lambda$DecodedEventListener$0",0];FM.prototype.yh=!0;var GM=function(){};l(GM,w);var MQa=function(a){return a instanceof GM};GM.prototype.wa=["com.google.apps.brix.api.client.net.DownChannel$ChannelOpenEvent",0];var HM=function(){this.R=null};l(HM,w);HM.prototype.H=function(a){z(a,MQa,GM);this.R.Il()};HM.prototype.wa=["com.google.apps.brix.api.client.managers.NetworkOtProtocolManager$$Lambda$DecodedEventListener$1",0];HM.prototype.yh=!0;var NQa=function(){this.H=this.S=this.R=null};l(NQa,w);NQa.prototype.wa=["java.util.logging.LogRecord",0];var IM=function(){};l(IM,w);var OQa=function(a){return a instanceof IM},PQa=function(a){return Ja(a,IM)};IM.prototype.wa=["java.util.logging.Handler",0];var QQa=function(){};l(QQa,w);var RQa=function(a,b,c,d,e){d=y(d)+y(c.toString());(e||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,d);e=c.H;console[b].call(console,e&&e.stack||"");e=c.U;null!=e&&RQa(a,b,e,"Caused by: ",!1);null==c.$&&(c.$=Lc([0],Qa,ab,vaa,Qa.H));c=c.$;for(e=0;e<c.length;e++)RQa(a,b,c[e],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)};QQa.prototype.wa=["javaemul.internal.ConsoleLogger",0];
var SQa=function(){};l(SQa,IM);var TQa=function(a){var b="undefined"===typeof console?null:new QQa,c;if(c=null!=b)c=(HK(),HQa).H()<=a.R.H();c&&(c=a.R.H(),c=c>=(HK(),JQa).H()?"error":c>=(HK(),IK).H()?"warn":c>=(HK(),IQa).H()?"info":"log",console[c].call(console,a.S),null!=a.H&&RQa(b,c,a.H,"Exception: ",!0))};SQa.prototype.wa=["java.util.logging.SimpleConsoleLogHandler",0];
var UQa=function(){this.H=null};l(UQa,w);var VQa=function(a,b){Ee(b.R)&&b.H.add(new SQa);a.H.put(b.R,b)},YQa=function(a,b){var c=z(a.H.Gc(b),WQa,JM);return null==c?(b=XQa(b),c=b.R,c=od(c,0,Math.max(0,Rca(c))),c=YQa(a,c),null!=c&&(b.S=c),VQa(a,b),b):c};UQa.prototype.wa=["java.util.logging.LogManager",0];var KM=null;
var JM=function(){this.S=this.R=this.V=this.H=null;this.U=!1};l(JM,w);
var LM=function(a){if(null==KM){var b=new UQa;b.H=ff();KM=b;b=XQa("");var c=(HK(),IQa);b.V=c;VQa(KM,b)}return YQa(KM,a)},XQa=function(a){var b=new JM;b.R=a;b.U=!0;b.H=de();return b},ZQa=function(a){return Bd(a.H.Fd(Lc([a.H.size()],IM,OQa,PQa,IM.H)),IM,PQa)},GK=function(a,b,c,d){if(b.H()>=(HK(),JQa).H()){var e=new NQa;e.H=null;e.R=b;e.S=c;Qf();e.H=d;b=ZQa(a);for(c=0;c<b.length;c++)TQa(e);for(a=a.U?a.S:null;null!=a;){b=ZQa(a);for(c=0;c<b.length;c++)TQa(e);a=a.U?a.S:null}}},WQa=function(a){return a instanceof JM};JM.prototype.wa=["java.util.logging.Logger",0];
var NM=function(a,b,c,d,e,g){JK.call(this,e);this.Da=this.Ba=this.V=this.Ta=this.Ka=this.Ma=this.ra=this.Va=null;this.Fa=!1;this.Qa=cc(0,0);this.S=null;this.va=!1;this.U=0;this.W=cc(0,0);this.ta=!1;this.Ua=null;$Qa(this);this.ra=a;this.Ka=c;this.Ta=d;this.Da=g;this.H=e.S;this.Ma=b;null!=b&&(a=Na(LK),c=new FM,c.R=this,MM(b,a,c),a=Na(GM),c=new HM,c.R=this,MM(b,a,c))};l(NM,JK);NM.prototype.tr=function(a){a=new BI(this.W,a,Qf());this.R.add(a);CM(this);return a};
var KQa=function(a,b,c){c&&a.Ba.addAll(b);a.V.addAll(b);null==a.S&&aRa(a);b=a.ma;b(a);CM(a)},aRa=function(a){QK(null==a.S,"change skipped");if(!a.V.isEmpty()){for(var b=-1,c=a.H+1;!a.V.isEmpty();){var d=z(a.V.ot(),OK,NK),e=a.Ba.remove(d),g=d.R;if(g==c){var h=a;b=d;x(h.$,b.H)&&b.R==h.H+1?(h=z(h.R.Bp(),CI,BI),null==h?b=!1:(b=b.U,b=null!=b&&jc(b.vp(),h.H)?!1:!0)):b=!1;if(!x(a.$,d.H)||b||e){a.S=d;a.va=b;return}b=g}else if(g>c){a.V.add(d);b=g-1;break}}a.ta||-1==b||bRa(a,b)}},bRa=function(a,b){a.ta=!0;
var c=new BM;c.S=a;var d=a.ra;a=a.H+1;var e=ff();e.put("startRev",""+a);e.put("includeType","false");-1<b&&e.put("endRev",""+b);cRa(d,"catchup",d.U,e,null,c,d.W)};NM.prototype.Il=function(){bRa(this,-1)};
NM.prototype.Zn=function(){if(!this.Yj())return FJ();if(this.va)return cr(this.R),this.U=Math.max(this.U-1,0),++this.H,CM(this),this.S=null,this.va=!1,aRa(this),FJ();if(null==this.S)throw Cc("No next change to apply.").H;var a=this.S;this.S=null;var b=a.H;x(this.$,a.H)?(b=SJ(),y(this.S)):b=null==b?SJ():KOa(b);var c=a.V;QK(c>this.H,"newAppliedRevision must be > appliedRevision");this.H=c;tM();c=GQa;var d=a.S;a=new yQa;a.S=this.R;a.yp();for(d=BQa(d);a.Wi();)qM(c,a,d),a.ui();c=d.Yb();b=this.Ta.apply(c,
b);this.va=!1;aRa(this);return b};NM.prototype.Yj=function(){return null!=this.S};
var CM=function(a){if(!a.Fa&&null!=a.ra&&0==a.U&&a.hh()){var b=Qf();b=ic(b,a.Qa);b=fc(fba(b,dd(1E3)));0>b&&(b=0);b=Math.max(0,.2-b);a.Fa=!0;var c=a.Ka;c(a.Ua,b)}},$Qa=function(a){a.Va=LM(Ma(Na(NM)));a.V=Mna();a.Ba=wca();a.W=gd(Tba());a.Ua=function(){a.Fa=!1;if(null!=a.ra&&0==a.U&&a.hh()){a.Qa=Qf();var b=de();if(a.R.isEmpty())var c=a.W;else{a.R.size();c=z(a.R.Vb(0),CI,BI).H;for(var d=a.R.Xa();d.Wa();){var e=z(d.Ya(),CI,BI);if(jc(e.H,c))break;b.add(e.getCommand())}}a.U=b.size();null==a.ka||a.ka.isEmpty()?
e=null:(d=zNa(a.ka),a.ka=null,e=d);d=new WK;tPa(d,a.H,c,b,e);a.W.equals(c)&&(a.W=a.W.add(cc(1,0)));c=new DM;c.S=a;b=a.ra;e=xf();dRa(b.ma,iJ(e),d);cRa(b,"save",b.S,eRa,e.toString(),c,null)}}};NM.prototype.wa=["com.google.apps.brix.api.client.managers.NetworkOtProtocolManager",0];
var OM=function(){sf.call(this);this.R=null};l(OM,sf);var fRa=function(a,b,c){var d=new OM;tf(d,a,b);d.R=c;return d};OM.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,gRa,OM))};var gRa=function(a){return a instanceof OM},hRa=function(a){return Ja(a,OM)},PM=function(){PM=function(){};iRa=fRa("TEST",0,"test");jRa=fRa("BIND",1,"bind")};OM.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.config.ActionType",2];var iRa=null,jRa=null;
var kRa=function(){this.H=null};l(kRa,w);kRa.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.config.ActionPaths$Builder",0];var lRa=function(){this.H=null};l(lRa,w);var mRa=function(a,b){return z(Jd(z(a.H.Gc(b),Fd,cd),"actionPath"),Fd,cd)};lRa.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.config.ActionPaths",0];var QM=function(){};l(QM,w);QM.prototype.R=function(){};var nRa=function(a){return a instanceof QM};QM.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.config.NetConfig$ConfigCallback",0];var oRa=function(){this.S=this.U=this.V=this.H=this.R=null};l(oRa,w);oRa.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.config.NetConfig$Builder",0];var pRa=function(){this.R=this.H=this.S=this.U=this.V=null};l(pRa,w);var RM=function(a){var b=new pRa;b.V=a.R;b.U=qf(a.H);b.S=qf(a.V);b.H=a.U;b.R=pf(a.S);return b},qRa=function(a){var b=tca(a.U);for(a=a.R.Xa();a.Wa();)z(a.Ya(),nRa,QM).R(b);return b};pRa.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.config.NetConfig",0];
var SM=function(){sf.call(this)};l(SM,sf);var rRa=function(a,b){var c=new SM;tf(c,a,b);return c};SM.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,sRa,SM))};var sRa=function(a){return a instanceof SM},TM=function(){TM=function(){};UM=rRa("SUCCESS",0);VM=rRa("FAILURE",1);tRa=rRa("BACKOFF",2)};SM.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.util.BackoffTracker$TaskStatus",2];var UM=null,VM=null,tRa=null;
var uRa=function(){this.H=this.R=null};l(uRa,w);var WM=function(a,b,c){var d=a.H;if(x(b,(TM(),UM)))d=d.H=0;else{b=d.S;var e=d.H;b=31<=e||-31>=e?b*Math.pow(2,e):0<e?b*(1<<e):0==e?b:b/(1<<-e);++d.H;b>d.R/2&&(b=d.R/2);d=b+=b*Math.random()}a=a.R;a(c,d)};uRa.prototype.wa=["com.google.apps.brix.api.client.net.browserchannel.util.BackoffScheduler",0];
var vRa=function(){},wRa=function(a){return null!=a&&!!a.Vl};vRa.prototype.wa=["com.google.apps.brix.api.shared.serialization.Decoder",1];vRa.prototype.Vl=!0;var XM=function(){kPa()};l(XM,w);var yRa=function(a,b,c,d,e,g){y(b);a=xRa(e,b,c.H);a.V();qOa();b=rOa;e=uOa();c=new NM(a,null,b,e,c,new AJ);b=new FK;b.wo=de();b.zo=g;b.Ar=zPa(uOa(),d,-1);b.yo=a;d=Ka(FK.prototype.R,b,mPa);KK(c,d);c.Il()},kPa=function(){kPa=function(){};lPa=LM(Ma(Na(XM)))};XM.prototype.wa=["com.google.apps.brix.api.client.cache.sync.OtStateSyncer",0];var lPa=null;
var YM=function(){sf.call(this);this.Vk=null};l(YM,sf);var ZM=function(a,b,c){var d=new YM;tf(d,a,b);d.Vk=c;return d};YM.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,zRa,YM))};
var zRa=function(a){return a instanceof YM},$M=function(){$M=function(){};aN=ZM("OK",0,"ok");ARa=ZM("PAUSED",1,"paused");bN=ZM("CLOSED",2,"closed");cN=ZM("NOT_CONNECTED",3,"not_connected");dN=ZM("SUSPENDED_PENDING_CHANGES_IN_READ_ONLY",4,"suspended_pending_changes_in_read_only");BRa=ZM("SUSPENDED_TOO_MANY_COLLABORATORS",5,"suspended_too_many_collaborators")};YM.prototype.wa=["com.google.apps.brix.api.client.document.CollaborationStatus",2];var aN=null,ARa=null,bN=null,cN=null,dN=null,BRa=null;
var eN=function(){this.R=null};l(eN,w);eN.prototype.H=function(a){z(a,CRa,fN);gN(this.R,($M(),BRa))};eN.prototype.wa=["com.google.apps.brix.api.client.document.Document$2",0];eN.prototype.yh=!0;var hN=function(){this.R=null};l(hN,w);hN.prototype.H=function(a){z(a,MQa,GM);x(this.R.V,($M(),BRa))&&iN(this.R)};hN.prototype.wa=["com.google.apps.brix.api.client.document.Document$3",0];hN.prototype.yh=!0;var jN=function(a){JK.call(this,a);this.S=cc(0,0);this.S=gd(Tba())};l(jN,JK);f=jN.prototype;f.tr=function(a){a=new BI(this.S,a,Qf());this.R.add(a);return a};f.Il=function(){};f.Zn=function(){return FJ()};f.Yj=function(){return!1};f.wa=["com.google.apps.brix.api.client.managers.OfflineOtProtocolManager",0];
var kN=function(){this.S=null};l(kN,w);kN.prototype.R=function(){};kN.prototype.H=function(a){a=z(a,UK,TK);x(a.H,(SK(),qPa))?this.S.V=null:this.S.V=a};kN.prototype.wa=["com.google.apps.brix.api.client.managers.ReadOnlyNetworkOtProtocolManager$1",0];var lN=function(){this.R=null};l(lN,w);lN.prototype.H=function(a){var b=z(a,MK,LK);a=this.R;a.U.addAll(b.H);null==a.S&&DRa(a);b=a.ma;b(a)};lN.prototype.wa=["com.google.apps.brix.api.client.managers.ReadOnlyNetworkOtProtocolManager$$Lambda$DecodedEventListener$0",0];lN.prototype.yh=!0;
var mN=function(){this.R=null};l(mN,w);mN.prototype.H=function(a){z(a,MQa,GM);this.R.Il()};mN.prototype.wa=["com.google.apps.brix.api.client.managers.ReadOnlyNetworkOtProtocolManager$$Lambda$DecodedEventListener$1",0];mN.prototype.yh=!0;var ERa=function(){};l(ERa,w);ERa.prototype.wa=["com.google.apps.docs.commands.AbstractModel",0];var FRa=function(){Qa.call(this)};l(FRa,cb);FRa.prototype.wa=["com.google.apps.brix.api.shared.model.error.CompoundOperationException",0];var GRa=function(){Qa.call(this)};l(GRa,cb);var nN=function(a){var b=new GRa;Va(b,a);return b};GRa.prototype.wa=["com.google.apps.brix.api.shared.model.error.MalformedPathException",0];var HRa=function(){Qa.call(this)};l(HRa,cb);HRa.prototype.wa=["com.google.apps.brix.api.shared.model.error.ModelSizeException",0];var IRa=function(){Qa.call(this)};l(IRa,cb);IRa.prototype.wa=["com.google.apps.brix.api.shared.model.error.IllegalOperationForCollaborativeObject",0];var JRa=function(){this.R=this.H=null};l(JRa,w);f=JRa.prototype;f.Wa=function(){if(null!=this.H)return!0;for(;;){if(!this.R.Wa())return!1;var a=z(this.R.Ya(),WF,RF);if(x(a.H,(fF(),iF)))return this.H=VF(a),!0}};f.Ya=function(){if(!this.Wa())throw me().H;var a=this.H;this.H=null;return a};f.sd=function(){throw ib().H;};f.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$1$1",0];f.qe=!0;
var oN=function(){this.H=null};l(oN,w);var KRa=function(a){var b=new oN;b.H=a;return b};oN.prototype.Xa=function(){var a=this.H.qp().Xa(),b=new JRa;b.R=a;return b};oN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$1",0];
var pN=function(){this.R=this.H=null};l(pN,w);pN.prototype.equals=function(a){if(!LRa(a))return!1;a=z(a,LRa,pN);return x(this.H,a.H)&&x(this.R,a.R)||x(this.H,a.R)&&x(this.R,a.H)};pN.prototype.qb=function(){var a=Of(this.H),b=Of(this.R);return a<b?a+31*b:b+31*a};var LRa=function(a){return a instanceof pN};pN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$CycleSafeEqualityChecker$CollaborativeObjectPair",0];
var MRa=function(){this.H=null};l(MRa,w);var NRa=function(a,b,c,d,e){if(x(b.H,(fF(),iF))&&x(c.H,(fF(),iF))){b=d.ae(VF(b));c=e.ae(VF(c));e=new pN;e.H=b;e.R=c;if(a.H.contains(e))return!0;a.H.add(e);return null==b||null==c?x(b,c):b.Yq(a,c)}return b.equals(c)};MRa.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$CycleSafeEqualityChecker",0];
var qN=function(){this.R=this.H=null};l(qN,w);var rN=function(a,b){if(x(b.H,(fF(),iF))){b=VF(b);if(a.R.contains(b))return a.V(a.H.Ca().Xf(b));a.R.add(b);return a.S(a.H.Ca().Xf(b))}return a.U(UF(b))};qN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$CycleSafeValueGenerator",0];
var sN=function(){qN.call(this)};l(sN,qN);var ORa=function(a){var b=new sN;b.H=a;b.R=hf();return b};sN.prototype.V=function(){return zd(0)};sN.prototype.S=function(a){return zd(a.Zq(this))};sN.prototype.U=function(a){return zd(a.qb())};sN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$CycleSafeHashcodeGenerator",0];
var tN=function(){qN.call(this)};l(tN,qN);tN.prototype.V=function(a){var b=xf();Ge(b,"<");Ge(b,a.getTypeName());Ge(b,": ");Ge(b,a.getId());Ge(b,">");return b.toString()};tN.prototype.S=function(a){return a.$q(this)};tN.prototype.U=function(a){var b=xf();qJ(a,iJ(b));return b.toString()};tN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject$CycleSafeStringGenerator",0];
var PRa=function(){this.H=!1;this.S=this.R=null};l(PRa,w);
var uN=function(a,b){a.H&&a.R.add(b)},TRa=function(a){if(a.R.isEmpty())return kf();var b=vca();for(a=a.R.Xa();a.Wa();){var c=z(a.Ya(),UJ,TJ),d=z(b.Gc(c.getSource()),XJ,WJ);if(null==d){d=c.getSource();var e=c.Li,g=c.R;var h=c.getSource();if(h.Da||h.ra){var k=wca();var n=de();var q=new QRa;q.H=de();q.add(h);for(k.add(h);!q.isEmpty();){h=q;var u=h.size();if(0<u)h=h.$e(u-1);else throw b=new RRa,Ua(b),b.H;h=z(h,vN,wN);h.Da&&n.add(h);for(h=SRa(h).Xa();h.Wa();)u=z(h.Ya(),vN,wN),k.contains(u)||(k.add(u),
q.add(u))}k=pf(n)}else k=kf();d=new WJ(d,e,g,k);b.put(c.getSource(),d)}d.H.add(c)}return of(b.values())},URa=function(a,b){var c=z(br(a.S),Md,Ld),d=ge(c.size()+1);d.addAll(c);d.add(b);b=pf(d);ar(a.S,b)},xN=function(a,b){(a.H=b)&&a.R.isEmpty()&&(a.R=de())},yN=function(a){return z(br(a.S),Md,Ld)};PRa.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractOperationApplier$ApplyToken",0];
var zN=function(){this.H=null};l(zN,Wd);f=zN.prototype;f.add=function(a){return this.H.add(a)};f.ag=function(a,b){AN(a,this.size()+1);this.H.ag(a,b)};f.addAll=function(a){return this.H.addAll(a)};f.di=function(a,b){AN(a,this.size()+1);return this.H.di(a,b)};f.clear=function(){this.H.clear()};f.contains=function(a){return this.H.contains(a)};f.ej=function(a){return this.H.ej(a)};f.Vb=function(a){AN(a,this.size());return this.H.Vb(a)};f.indexOf=function(a){return this.H.indexOf(a)};
f.isEmpty=function(){return 0==this.H.size()};f.Xa=function(){return this.H.Xa()};f.lastIndexOf=function(a){return this.H.lastIndexOf(a)};f.$e=function(a){AN(a,this.size());return this.H.$e(a)};f.removeAll=function(a){return this.H.removeAll(a)};f.ke=function(a,b){AN(a,this.size());return this.H.ke(a,b)};f.size=function(){return this.H.size()};f.Wd=function(a,b){return this.H.Wd(a,b)};f.Rc=function(){return this.H.Rc()};f.Fd=function(a){return this.H.Fd(a)};f.toString=function(){return this.H.toString()}; f.jt=function(a,b){this.H.jt(a,b)};var AN=function(a,b){if(0>a||a>=b)throw xaa().H;};zN.prototype.wa=["java.util.Vector",0];zN.prototype.tf=!0;zN.prototype.Ak=!0;zN.prototype.Bk=!0;
var RRa=function(){Qa.call(this)};l(RRa,cb);RRa.prototype.wa=["java.util.EmptyStackException",0];var QRa=function(){this.H=null};l(QRa,zN);QRa.prototype.wa=["java.util.Stack",0];var wN=function(){this.Fa=this.ma=this.V=this.yf=null;this.ka=this.$=this.va=this.ta=0;this.U=null;this.W=this.ra=this.Da=!1};l(wN,w);var BN=function(a,b,c){a.W=!1;a.yf=b;a.U=c},CN=function(a,b,c){a.yf=b.yf;a.U=c;a.W=!0;a.ta=b.ta;a.va=b.va;a.$=b.$;a.ka=b.ka},SRa=function(a){return null!=a.V?nf(a.V):null!=a.ma?of(a.ma.ve()):mf()};wN.prototype.Ca=function(){return this.U};wN.prototype.getId=function(){return VF(this.yf)};
var EN=function(a,b){if(a.ra&&x(b.H,(fF(),iF)))a:{var c=a.U.Xf(VF(b));a.ra&&DN(c);b=c.ma;if(null==b){if(null==c.V){c.V=a;break a}b=vca();b.put(c.V,zd(1));c.V=null;c.ma=b}c=z(b.Gc(a),xd,wd);null==c&&(c=zd(0));b.put(a,zd(c.oh()+1))}},FN=function(a,b){if(x(b.H,(fF(),iF))&&a.ra){b=a.U.Xf(VF(b));var c=b.ma;if(null!=c){var d=z(c.Gc(a),xd,wd);if(null==d)throw zc("Removed non-existent parent "+y(a)).H;1==d.oh()?c.remove(a):c.put(a,zd(d.oh()-1));1==c.size()&&1==c.values().Xa().Ya().oh()&&(b.V=z(c.ve().Xa().Ya(),
vN,wN),b.ma=null)}else if(x(b.V,a))b.V=null;else throw zc("Removed non-existent parent "+y(a)).H;}},DN=function(a){if(!a.ra){a.ra=!0;for(var b=a.qp().Xa();b.Wa();){var c=z(b.Ya(),WF,RF);EN(a,c)}for(b=KRa(a).Xa();b.Wa();)c=z(b.Ya(),Fd,cd),DN(a.U.Xf(c))}},GN=function(a,b){var c=kH(a.dj()).H;a=new IRa;b="Object of type "+y(c)+" does not support operation of type "+y(b.R);Va(a,b);throw a.H;};f=wN.prototype;f.getTag=function(){return this.Fa};f.setTag=function(a){this.Fa=a};f.getTypeName=function(){return OPa(kH(this.dj()))};
f.equals=function(a){if(null==a)return!1;if(x(a,this))return!0;if(!KJ(a))return!1;a=z(a,KJ,JJ);var b=new MRa;b.H=hf();return NRa(b,this.yf,a.yf,this.Ca(),a.Ca())};f.qb=function(){return rN(ORa(this),this.yf).oh()};f.toString=function(){var a=new tN;a.H=this;a.R=hf();return z(rN(a,this.yf),Fd,cd)};var HN=function(a){a.W&&(a.$s(),a.W=!1)};wN.prototype.Td=function(){return this.gt(lf())};var vN=function(a){return a instanceof wN}; wN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractCollaborativeObject",0];wN.prototype.zh=!0;
var IN=function(){sf.call(this)};l(IN,sf);var JN=function(a,b){var c=new IN;tf(c,a,b);return c};IN.prototype.Mc=function(a){return sf.prototype.H.call(this,z(a,VRa,IN))};var VRa=function(a){return a instanceof IN},KN=function(){KN=function(){};WRa=JN("CREATED",0);XRa=JN("MOVE_SOURCE",1);YRa=JN("MOVE_DESTINATION",2);ZRa=JN("NORMAL_OPERATION",3);$Ra=JN("INDIRECT_SHIFT",4)};IN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractOperationApplier$AffectedObjectReason",2]; var WRa=null,XRa=null,YRa=null,ZRa=null,$Ra=null;
var aSa=function(){Qa.call(this)};l(aSa,fb);var LN=function(a){var b=new aSa;Va(b,a);return b};aSa.prototype.wa=["com.google.apps.brix.api.shared.model.error.IndexException",0];var MN=function(a,b,c){TJ.call(this,a,b,c)};l(MN,TJ);MN.prototype.wa=["com.google.apps.brix.api.shared.model.event.ReferenceShiftedEvent",0];var NN=function(){wN.call(this);this.R=0;this.S=this.H=null};l(NN,wN);var DK=function(a){return x(a.S,(TE(),VE))};NN.prototype.Zc=function(){return this.R};
NN.prototype.on=function(a,b,c){switch(a.R){case QG(),VG:a=mH(a);var d=a.H,e=a.R,g=e-d,h=this.R;this.R>=d&&this.R<e?b.mf()?GN(this,fL("",a)):h=pQa(this.R,a,this.S,(SL(),TL)):this.R>=e&&(h-=g);ON(this,h,b,this.H,c);break;case QG(),ZG:a=qH(a);this.S=a.S;ON(this,a.H,b,a.R,c);break;case QG(),UG:a=lH(a);d=this.R;this.R>=a.H&&(d+=rL(a));ON(this,d,b,this.H,c);break;case QG(),YG:a:{d=pH(a);e=this.R;if(x(a.H,this.H)){if(d.H==this.R){ON(this,qL(a),b,d.S,c);break a}d.H<this.R&&--e}x(d.S,this.H)&&d.R<=this.R&&
++e;e!=this.R&&ON(this,e,b,this.H,c)}break;case QG(),WG:break;default:GN(this,a)}};var ON=function(a,b,c,d,e){a.R==b&&x(a.H,d)||(a.R=b,x(d,a.H)||(Ee(a.H)||FN(a,a.Ca().Xf(a.H).yf),b=z(a.U.H.U.Gc(a.H),te,se),null!=b&&b.remove(a.getId()),a.H=d,Ee(a.H)||(d=a.Ca().ae(a.H),null==d?a.np(a.H,c,e):(EN(a,d.yf),bSa(a.U.H,a)))),e.H&&(a=new MN(a,c,yN(e)),uN(e,a)))};NN.prototype.lt=function(a){var b=(QG(),ZG);x(a.R,b)||GN(this,a);return cSa(this,this.H,this.Zc(),this.S)};
NN.prototype.reset=function(){return Ee(this.H)&&-1==this.R?cL():cSa(this,"",-1,(TE(),UE))};var cSa=function(a,b,c,d){return kL(a.getId(),b,c,d)};f=NN.prototype;f.Yq=function(a,b){if(!BK(b))return!1;a=z(b,BK,CK);return x(this.H,a.H)&&Hd(zd(this.R),zd(a.Zc()))&&Hd(this.S,a.S)};f.Zq=function(){return Id(this.getId())+31*this.R+961*$c(this.S)};f.$q=function(){return"IndexRef ["+y(this.getId())+" -> "+y(this.H)+"@"+this.R+" "+y(this.S)+"]"};f.bj=function(){return 32+this.H.length};
f.dj=function(){return eL(this.getId(),LPa())};f.qp=function(){return Ee(this.H)?kf():nf(this.Ca().Xf(this.H).yf)};f.fk=function(a){dSa();var b=new NN;CN(b,this,a);b.R=this.R;b.H=this.H;b.S=this.S;return b};f.$s=function(){};f.np=function(a){x(this.H,a)&&(this.H="",this.R=-1,this.S=(TE(),UE))};f.Zj=function(){return!1};f.gt=function(a){if(Ee(this.H)&&-1==this.R&&x(this.S,(TE(),UE)))a=kf();else{var b=z(a.fj(this.H,this.H),Fd,cd),c=this.R,d=this.S,e=this.getId();a=kL(z(a.fj(e,e),Fd,cd),b,c,d);a=nf(a)}return a};
f.Mc=function(a){a=z(a,PN,NN);return(ePa(),fPa).R(this,a)};var PN=function(a){return a instanceof NN},dSa=function(){dSa=function(){};QN=qH(TPa(""))};NN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.DefaultIndexReference",0];var QN=null;NN.prototype.zh=!0;NN.prototype.qz=!0;NN.prototype.Ah=!0;
var RN=function(a,b,c,d,e){TJ.call(this,a,b,c);this.H=d;this.S=e};l(RN,TJ);RN.prototype.Zc=function(){return this.H};RN.prototype.Ec=function(){return this.S};RN.prototype.wa=["com.google.apps.brix.api.shared.model.event.ValuesAddedEvent",0];var SN=function(a,b,c,d,e){TJ.call(this,a,b,c);this.H=d;this.S=e};l(SN,TJ);SN.prototype.Zc=function(){return this.H};SN.prototype.Ec=function(){return this.S};SN.prototype.wa=["com.google.apps.brix.api.shared.model.event.ValuesRemovedEvent",0];var TN=function(a,b,c,d,e,g){TJ.call(this,a,b,c);this.H=d;this.S=e;this.U=g};l(TN,TJ);TN.prototype.Zc=function(){return this.H};TN.prototype.wa=["com.google.apps.brix.api.shared.model.event.ValuesSetEvent",0];var UN=function(){wN.call(this);this.H=null;this.R=0};l(UN,wN);UN.prototype.get=function(a){return z(this.H.Vb(a),WF,RF)};UN.prototype.size=function(){return this.H.size()};
UN.prototype.on=function(a,b,c){HN(this);switch(a.R){case QG(),VG:eSa(this,mH(a),!0,b,c);break;case QG(),UG:var d=lH(a);a=d.H;var e=this.size();d=pf(d.R);if(a>e)throw LN("Insert at index "+a+" starts after end of list (size "+e+")").H;this.H.di(a,d);for(e=d.Xa();e.Wa();){var g=z(e.Ya(),WF,RF);this.R+=wL(g);EN(this,g)}c.H&&(b=new RN(this,b,yN(c),a,d),uN(c,b));break;case QG(),WG:a=nH(a);d=c.H;e=a.H;g=d?de():kf();for(var h=d?de():kf(),k=pf(a.R).Xa();k.Wa();){var n=z(k.Ya(),WF,RF),q=z(this.H.Vb(e),WF,
RF);this.H.ke(e,n);this.R-=wL(q);this.R+=wL(n);EN(this,n);FN(this,q);d&&(g.add(n),h.add(q));e++}c.H&&(b=new TN(this,b,yN(c),a.H,g,h),uN(c,b));break;default:GN(this,a)}};var eSa=function(a,b,c,d,e){var g=b.H;b=b.R;var h=a.size();PK(b>=g,"Delete endIndex must be >= startIndex");if(b>h)throw LN("Delete ["+g+","+b+") ends after end of list (size "+h+")").H;b=a.H.Wd(g,b);e.H&&(h=ee(b),d=new SN(a,d,yN(e),g,h),uN(e,d));for(e=b.Xa();e.Wa();)d=z(e.Ya(),WF,RF),a.R-=wL(d),c&&FN(a,d);b.clear()};
UN.prototype.lt=function(a){switch(a.R){case QG(),VG:a=mH(a);var b=a.H;return fSa(this,b,this.H.Wd(b,a.R));case QG(),UG:return a=lH(a),gSa(this,a.H,a.H+a.R.size());case QG(),WG:return a=nH(a),hSa(this,a.H,this.H.Wd(a.H,a.H+dH(a)));default:throw Cc(ad(a)).H;}};UN.prototype.add=function(a){return iSa(this,this.size(),a)};var iSa=function(a,b,c){return a.Ca().apply(fSa(a,b,nf(c)),RJ())};UN.prototype.addAll=function(a,b){return b.isEmpty()?FJ():this.Ca().apply(fSa(this,a,b),RJ())};
UN.prototype.reset=function(){return 0<this.size()?gSa(this,0,this.size()):cL()};UN.prototype.clear=function(){return 0<this.size()?this.Ca().apply(this.reset(),RJ()):FJ()};UN.prototype.remove=function(a){return jSa(this,a,a+1)};var jSa=function(a,b,c){return a.Ca().apply(gSa(a,b,c),RJ())};UN.prototype.set=function(a,b){b=nf(b);return this.Ca().apply(hSa(this,a,b),RJ())};
var fSa=function(a,b,c){return QPa(a.getId(),b,c,lf())},gSa=function(a,b,c){return lL(a.getId(),b,c)},hSa=function(a,b,c){return mL(a.getId(),b,c)};f=UN.prototype;f.Yq=function(a,b){if(!VN(b))return!1;b=z(b,VN,UN);if(this.size()!=b.size())return!1;for(var c=0;c<this.size();++c)if(!NRa(a,this.get(c),b.get(c),this.Ca(),b.Ca()))return!1;return!0};f.Zq=function(a){for(var b=17,c=this.H.Xa();c.Wa();){var d=z(c.Ya(),WF,RF);b=37*b+rN(a,d).oh()}return b};
f.$q=function(a){var b=xf();Ge(b,"[");for(var c=!0,d=this.H.Xa();d.Wa();){var e=z(d.Ya(),WF,RF);c?c=!1:Ge(b,", ");Ge(b,z(rN(a,e),Fd,cd))}Ge(b,"]");return b.toString()};f.bj=function(){return 24+this.R};f.dj=function(){return eL(this.getId(),iL())};f.qp=function(){return this.H};f.fk=function(a){this.W=!0;var b=new UN;CN(b,this,a);b.R=0;b.H=this.H;b.R=this.R;return b};f.$s=function(){this.H=ee(this.H)};
f.np=function(a,b,c){for(var d=kSa(this.U.H,this.getId()).values(),e=0;e<this.H.size();++e){var g=z(this.H.Vb(e),WF,RF);if(xL(a,g)){g=lL(this.getId(),e,e+1);if(!d.isEmpty())for(var h=d.Xa();h.Wa();)z(h.Ya(),PN,NN).on(g,b,c);HN(this);eSa(this,mH(g),!1,b,c);--e}}};f.Zj=function(){return!1};f.gt=function(a){if(0==this.size())a=kf();else{var b=this.H,c=this.getId();a=QPa(z(a.fj(c,c),Fd,cd),0,b,a);a=nf(a)}return a};var VN=function(a){return a instanceof UN}; UN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.CollaborativeListImpl",0];UN.prototype.zh=!0;UN.prototype.nz=!0;
var WN=function(){this.H=this.V=this.ta=this.R=null;this.S=this.ka=0;this.Ba=!1};l(WN,w);
var lSa=function(a,b,c,d){a.R=b;a.ta=c;a.V=d;b=new PRa;b.R=kf();b.S=$q();c=kf();ar(b.S,c);a.H=b},mSa=function(a){QK(!a.Ba,"Already committed this change.")},XN=function(a,b){switch(b.R){case QG(),SG:var c=b.H,d=kH(b),e=a.R.ae(c);null==e?(e=a.R.H,QK(null==e.ae(c),"Object with ID "+y(c)+" already exists."),d=nSa(e.ma,d,c),e.W=!1,e.H.put(c,d),e.R+=d.bj(),e=d):XN(a,e.reset());a.nn(e,(KN(),WRa));a.yl(b);++a.S;break;case QG(),VG:a.Zs(b);++a.S;break;case QG(),TG:c=b.H;d=a.R.H.Xf(c);e=a.R.H;if("root"===c)throw NNa("The root object can not be destroyed.").H;
YN(e);if(!e.W){for(var g=oSa(e).Xa();g.Wa();)DN(z(g.Ya(),vN,wN));e.W=!0}for(g=SRa(d).Xa();g.Wa();){var h=z(g.Ya(),vN,wN),k=h.bj();h.np(c,a.V,a.H);e.R+=h.bj()-k}for(g=KRa(d).Xa();g.Wa();)h=z(g.Ya(),Fd,cd),FN(d,e.Xf(h).yf);e.R+=-d.bj();YN(e);e.H.remove(c);a.yl(b);++a.S;break;case QG(),ZG:case QG(),UG:case QG(),WG:case QG(),XG:a.va(b);++a.S;break;case QG(),$G:b=rH(b);URa(a.H,b.R);for(b=pf(b.H).Xa();b.Wa();)c=z(b.Ya(),$F,aG),XN(a,c);cr(a.H.S);break;case QG(),YG:a.it(b);d=pH(b);c=b.H;d=d.S;e=z(pSa(a.R.H,
c,!0),VN,UN);a.nn(e,(KN(),XRa));g=Ee(d)?e:z(ZN(a.R.H,d,!0),VN,UN);h=a.S;e.$=a.ka;e.ka=h;if(null!=g){a.nn(g,YRa);k=a.V;h=a.H;HN(g);var n=pH(b),q=n.R,u=n.H,C=z(g.Ca().Xf(b.H),VN,UN);C=ee(C.H.Wd(u,u+1));g.H.di(n.R,C);for(n=C.Xa();n.Wa();){var D=z(n.Ya(),WF,RF);g.R+=wL(D);EN(g,D)}h.H&&(k=new RN(g,k,yN(h),q,C,zd(u)),uN(h,k));h=a.S;g.$=a.ka;g.ka=h}k=a.V;h=a.H;HN(e);g=pH(b);q=g.H;u=g.R;C=g.S;x(C,b.H)&&u<q&&++q;g=e.H.Wd(q,q+1);h.H&&(C=z(e.Ca().ae(C),MJ,LJ),n=ee(g),k=new SN(e,k,yN(h),q,n,null==C?null:zd(u)),
uN(h,k));for(h=g.Xa();h.Wa();)k=z(h.Ya(),WF,RF),e.R-=wL(k),FN(e,k);g.clear();x(d,c)||qSa(a,d,b);qSa(a,c,b);a.yl(b);++a.S;break;case QG(),RG:break;default:throw Zaa().H;}};WN.prototype.Zs=function(a){this.va(a)};WN.prototype.va=function(a){this.it(a);var b=a.H,c=pSa(this.R.H,b,!0);this.nn(c,(KN(),ZRa));var d=this.S;c.$=this.ka;c.ka=d;d=c.bj();c.on(a,this.V,this.H);c=c.bj();qSa(this,b,a);b=this.R.H;b.R+=c-d;this.yl(a)};
var qSa=function(a,b,c){b=kSa(a.R.H,b);if(!b.isEmpty())for(b=ee(b.values()).Xa();b.Wa();){var d=z(b.Ya(),PN,NN);a.nn(d,(KN(),$Ra));ZN(a.R.H,d.getId(),!0);d.on(c,a.V,a.H)}};WN.prototype.wa=["com.google.apps.brix.api.shared.model.impl.AbstractOperationApplier",0];
var $N=function(){};l($N,w);f=$N.prototype;f.cA=function(){throw Cc("Undo/redo is disabled.").H;};f.ju=function(){return HJ()};f.yD=function(){return FJ()};f.Of=function(){return!1};f.Nf=function(){return!1};f.oE=function(){throw Cc("Undo/redo is disabled.").H;};f.nE=function(){throw Cc("Undo/redo is disabled.").H;};f.getState=function(){return zI()};var rSa=function(){rSa=function(){};sSa=new $N};$N.prototype.wa=["com.google.apps.brix.api.shared.model.impl.NullUndoManager",0];var sSa=null;
var tSa=function(){WN.call(this)};l(tSa,WN);var uSa=function(a){var b=new tSa;rSa();lSa(b,a,sSa,QOa());return b};f=tSa.prototype;f.sx=function(a){this.ka=this.R.$;this.S=0;XN(this,a);return FJ()};f.tx=function(){throw kb("Cannot use compound operations in an ApplyOnlyOperationApplier.").H;};f.wx=function(){throw kb("Cannot use compound operations in an ApplyOnlyOperationApplier.").H;};f.dk=function(){return!1};f.it=function(){}; f.nn=function(a,b){if(!x(b,(KN(),$Ra))){var c=this.S;a.$=this.ka;a.ka=c;x(b,(KN(),WRa))&&(b=this.S,a.ta=this.ka,a.va=b)}};f.yl=function(){};f.wa=["com.google.apps.brix.api.shared.model.impl.ApplyOnlyOperationApplier",0];
var aO=function(a,b,c,d,e,g){TJ.call(this,a,b,c);this.U=d;this.H=e;this.S=g};l(aO,TJ);aO.prototype.qb=function(){var a=TJ.prototype.qb.call(this);a=31*a+this.H.qb();a=31*a+this.S.qb();return a=31*a+Zc(this.U)};aO.prototype.equals=function(a){if(x(this,a))return!0;if(!vSa(a))return!1;var b=z(a,vSa,aO);return TJ.prototype.equals.call(this,a)&&this.H.equals(b.H)&&this.S.equals(b.S)&&x(this.U,b.U)};
aO.prototype.toString=function(){return"ValueChangedEvent ["+y(TJ.prototype.toString.call(this))+"property="+y(this.U)+", oldValue="+y(this.S)+", newValue="+y(this.H)+"]"};var vSa=function(a){return a instanceof aO};aO.prototype.wa=["com.google.apps.brix.api.shared.model.event.ValueChangedEvent",0];
var bO=function(){wN.call(this);this.S=this.H=null;this.R=0};l(bO,wN);bO.prototype.on=function(a,b,c){var d=(QG(),XG);x(a.R,d)||GN(this,a);a=oH(a);wSa(this,a.H,a.R,!0,b,c)};
var wSa=function(a,b,c,d,e,g){HN(a);var h=!$Pa(c);if(h){var k=z(a.H.put(b,c),WF,RF);d&&(EN(a,c),null!=a.S&&xSa(a,b,c))}else k=z(a.H.remove(b),WF,RF);k=null!=k?k:vL();var n=!k.equals(vL()),q=k;h?(a.R+=wL(c),a.R=n?a.R-wL(q):a.R+(8+b.length)):n&&(a.R-=8+b.length,a.R-=wL(q));n&&d&&(FN(a,k),null!=a.S&&(d=k,x(d.H,(fF(),iF))&&(d=VF(d),d=z(a.S.Gc(d),Md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment