221 lines
116 KiB
JavaScript
221 lines
116 KiB
JavaScript
'use strict';function aa(){return function(a){return a}}function n(){return function(){}}function ba(a){return function(){return this[a]}}function da(a){return function(){return a}}var p,ea=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},fa=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
|
|
function ha(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ia=ha(this);function q(a,b){if(b)a:{var c=ia;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&fa(c,a,{configurable:!0,writable:!0,value:b})}}var ja;
|
|
if(typeof Object.setPrototypeOf=="function")ja=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=ja;
|
|
function v(a,b){a.prototype=ea(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.T=b.prototype}function oa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}
|
|
function w(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:oa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function pa(a){if(!(a instanceof Array)){a=w(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}q("globalThis",function(a){return a||ia});
|
|
q("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.g=f;fa(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=ba("g");var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
|
|
q("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");fa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return qa(oa(this))}});return a});function qa(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
|
|
q("Promise",function(a){function b(g){this.g=0;this.l=void 0;this.j=[];this.J=!1;var h=this.o();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.g=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.j=function(g){if(this.g==null){this.g=[];var h=this;this.l(function(){h.v()})}this.g.push(g)};var e=ia.setTimeout;c.prototype.l=function(g){e(g,0)};c.prototype.v=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<g.length;++h){var k=
|
|
g[h];g[h]=null;try{k()}catch(l){this.o(l)}}}this.g=null};c.prototype.o=function(g){this.l(function(){throw g;})};b.prototype.o=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.M),reject:g(this.v)}};b.prototype.M=function(g){if(g===this)this.v(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.N(g);else{a:switch(typeof g){case "object":var h=g!=null;break a;case "function":h=!0;break a;default:h=!1}h?this.K(g):this.G(g)}};
|
|
b.prototype.K=function(g){var h=void 0;try{h=g.then}catch(k){this.v(k);return}typeof h=="function"?this.O(h,g):this.G(g)};b.prototype.v=function(g){this.A(2,g)};b.prototype.G=function(g){this.A(1,g)};b.prototype.A=function(g,h){if(this.g!=0)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.g);this.g=g;this.l=h;this.g===2&&this.P();this.D()};b.prototype.P=function(){var g=this;e(function(){if(g.H()){var h=ia.console;typeof h!=="undefined"&&h.error(g.l)}},1)};b.prototype.H=
|
|
function(){if(this.J)return!1;var g=ia.CustomEvent,h=ia.Event,k=ia.dispatchEvent;if(typeof k==="undefined")return!0;typeof g==="function"?g=new g("unhandledrejection",{cancelable:!0}):typeof h==="function"?g=new h("unhandledrejection",{cancelable:!0}):(g=ia.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.l;return k(g)};b.prototype.D=function(){if(this.j!=null){for(var g=0;g<this.j.length;++g)f.j(this.j[g]);this.j=null}};var f=new c;
|
|
b.prototype.N=function(g){var h=this.o();g.ea(h.resolve,h.reject)};b.prototype.O=function(g,h){var k=this.o();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(t,u){return typeof t=="function"?function(N){try{l(t(N))}catch(I){m(I)}}:u}var l,m,r=new b(function(t,u){l=t;m=u});this.ea(k(g,l),k(h,m));return r};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.ea=function(g,h){function k(){switch(l.g){case 1:g(l.l);break;case 2:h(l.l);
|
|
break;default:throw Error("Unexpected state: "+l.g);}}var l=this;this.j==null?f.j(k):this.j.push(k);this.J=!0};b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};b.race=function(g){return new b(function(h,k){for(var l=w(g),m=l.next();!m.done;m=l.next())d(m.value).ea(h,k)})};b.all=function(g){var h=w(g),k=h.next();return k.done?d([]):new b(function(l,m){function r(N){return function(I){t[N]=I;u--;u==0&&l(t)}}var t=[],u=0;do t.push(void 0),u++,d(k.value).ea(r(t.length-1),m),k=h.next();
|
|
while(!k.done)})};return b});function ra(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var sa=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("No nullish arg");a=Object(a);for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ra(d,e)&&(a[e]=d[e])}return a};q("Object.assign",function(a){return a||sa});q("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});
|
|
q("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
|
q("WeakMap",function(a){function b(k){this.g=(h+=Math.random()+1).toString();if(k){k=w(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;return l==="object"&&k!==null||l==="function"}function e(k){if(!ra(k,g)){var l=new c;fa(k,g,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof c)return m;Object.isExtensible(m)&&e(m);return l(m)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),
|
|
m=new a([[k,2],[l,3]]);if(m.get(k)!=2||m.get(l)!=3)return!1;m.delete(k);m.set(l,4);return!m.has(k)&&m.get(l)==4}catch(r){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!ra(k,g))throw Error("WeakMap key fail: "+k);k[g][this.g]=l;return this};b.prototype.get=function(k){return d(k)&&ra(k,g)?k[g][this.g]:void 0};b.prototype.has=function(k){return d(k)&&ra(k,
|
|
g)&&ra(k[g],this.g)};b.prototype.delete=function(k){return d(k)&&ra(k,g)&&ra(k[g],this.g)?delete k[g][this.g]:!1};return b});
|
|
q("Map",function(a){function b(){var h={};return h.previous=h.next=h.head=h}function c(h,k){var l=h[1];return qa(function(){if(l){for(;l.head!=h[1];)l=l.previous;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(h,k){var l=k&&typeof k;l=="object"||l=="function"?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var m=h[0][l];if(m&&ra(h[0],l))for(h=0;h<m.length;h++){var r=m[h];if(k!==k&&r.key!==r.key||k===r.key)return{id:l,list:m,index:h,entry:r}}return{id:l,
|
|
list:m,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=w(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),k=new a(w([[h,"s"]]));if(k.get(h)!="s"||k.size!=1||k.get({x:4})||k.set({x:4},"t")!=k||k.size!=2)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=h||m.value[1]!="s")return!1;m=l.next();return m.done||m.value[0].x!=
|
|
4||m.value[1]!="t"||!l.next().done?!1:!0}catch(r){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,k){h=h===0?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.entry?l.entry.value=k:(l.entry={next:this[1],previous:this[1].previous,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].previous.next=l.entry,this[1].previous=l.entry,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],
|
|
h.entry.previous.next=h.entry.next,h.entry.next.previous=h.entry.previous,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].previous=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).entry};e.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values=function(){return c(this,
|
|
function(h){return h.value})};e.prototype.forEach=function(h,k){for(var l=this.entries(),m;!(m=l.next()).done;)m=m.value,h.call(k,m[1],m[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
|
|
q("Set",function(a){function b(c){this.g=new Map;if(c){c=w(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(w([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||
|
|
f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
|
|
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});q("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ra(b,d)&&c.push(b[d]);return c}});q("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
|
|
q("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});function ta(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}
|
|
q("String.prototype.includes",function(a){return a?a:function(b,c){return ta(this,b,"includes").indexOf(b,c||0)!==-1}});q("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:aa();var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
|
|
q("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ra(b,d)&&c.push([d,b[d]]);return c}});q("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});q("Number.MAX_SAFE_INTEGER",da(9007199254740991));q("Number.MIN_SAFE_INTEGER",da(-9007199254740991));q("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
|
|
q("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});q("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ta(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});
|
|
function ua(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}q("Array.prototype.entries",function(a){return a?a:function(){return ua(this,function(b,c){return[b,c]})}});q("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});
|
|
q("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});q("Array.prototype.keys",function(a){return a?a:function(){return ua(this,aa())}});q("Array.prototype.values",function(a){return a?a:function(){return ua(this,function(b,c){return c})}});q("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});
|
|
q("String.prototype.repeat",function(a){return a?a:function(b){var c=ta(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
|
|
q("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("RegExp passed into String.prototype.matchAll() must have global tag.");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var g=c.exec(d);if(!g)return e=!0,{value:void 0,done:!0};g[0]===""&&(c.lastIndex+=1);return{value:g,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});
|
|
q("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var va=va||{},x=this||self;function wa(a,b){var c=xa("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b}function xa(a){a=a.split(".");for(var b=x,c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function ya(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function za(a){var b=ya(a);return b=="array"||b=="object"&&typeof a.length=="number"}function Aa(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}var Ba="closure_uid_"+(Math.random()*1E9>>>0),Ca=0;
|
|
function Da(a,b,c){return a.call.apply(a.bind,arguments)}function Ea(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function y(a,b,c){y=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Da:Ea;return y.apply(null,arguments)}
|
|
function Fa(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function Ga(a){(0,eval)(a)}function Ha(a){return a}function z(a,b){function c(){}c.prototype=b.prototype;a.T=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.dc=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};function A(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.g=!0}z(A,Error);A.prototype.name="CustomError";function Ia(a){x.setTimeout(function(){throw a;},0)};var Ja=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var Ka=wa(610401301,!1),La=wa(748402147,!0);var Ma,Na=x.navigator;Ma=Na?Na.userAgentData||null:null;function Oa(a){if(!Ka||!Ma)return!1;for(var b=0;b<Ma.brands.length;b++){var c=Ma.brands[b].brand;if(c&&c.indexOf(a)!=-1)return!0}return!1}function B(a){var b;a:{if(b=x.navigator)if(b=b.userAgent)break a;b=""}return b.indexOf(a)!=-1};function Pa(){return Ka?!!Ma&&Ma.brands.length>0:!1};function Qa(a,b){return Array.prototype.some.call(a,b,void 0)}function Ra(a,b){b=Array.prototype.indexOf.call(a,b,void 0);var c;(c=b>=0)&&Array.prototype.splice.call(a,b,1);return c}function Sa(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(za(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}};var Ta=B("Firefox")||B("FxiOS"),Ua=B("Safari")&&!((Pa()?Oa("Chromium"):(B("Chrome")||B("CriOS"))&&(Pa()||!B("Edge"))||B("Silk"))||(Pa()?0:B("Coast"))||(Pa()?0:B("Opera"))||(Pa()?0:B("Edge"))||(Pa()?Oa("Microsoft Edge"):B("Edg/"))||(Pa()?Oa("Opera"):B("OPR"))||B("Firefox")||B("FxiOS")||B("Silk")||B("Android"))&&!(B("iPhone")&&!B("iPod")&&!B("iPad")||B("iPad")||B("iPod"));var Va={},Wa=null;var Ya=typeof Uint8Array!=="undefined",Za=typeof btoa==="function",$a={},ab=typeof structuredClone!="undefined";function bb(a,b){if(b!==$a)throw Error("illegal external caller");this.g=a;if(a!=null&&a.length===0)throw Error("ByteString should be constructed with non-empty values");}function cb(){return db||(db=new bb(null,$a))}var db;function eb(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c}function fb(a){return a.__closure__error__context__984382||{}};var gb=void 0;function hb(a,b){if(a!=null){var c;var d=(c=gb)!=null?c:gb={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),eb(a,"severity","incident"),Ia(a))}};function ib(){return typeof BigInt==="function"};var jb=typeof Symbol==="function"&&typeof Symbol()==="symbol";function kb(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var lb=kb("jas",void 0,!0),mb=kb(void 0,"0di"),nb=kb(void 0,"1oa"),ob=kb(void 0,Symbol()),pb=kb(void 0,"0ubs"),qb=kb(void 0,"0actk"),rb=kb("m_m","hc",!0);Math.max.apply(Math,pa(Object.values({Hb:1,Fb:2,Cb:4,Qb:8,Zb:16,Mb:32,ob:64,Ab:128,yb:256,Wb:512,zb:1024,Bb:2048,Nb:4096,Ib:8192})));var sb={bb:{value:0,configurable:!0,writable:!0,enumerable:!1}},tb=Object.defineProperties,C=jb?lb:"bb",ub,vb=[];D(vb,7);ub=Object.freeze(vb);function wb(a,b){jb||C in a||tb(a,sb);a[C]|=b}function D(a,b){jb||C in a||tb(a,sb);a[C]=b}function xb(a){wb(a,34);return a};var yb={};function zb(a,b){return b===void 0?a.g!==Bb&&!!(2&(a.C[C]|0)):!!(2&b)&&a.g!==Bb}var Bb={},Cb=Object.freeze({});function Db(a){a.fc=!0;return a};var Eb=Db(function(a){return typeof a==="number"}),Fb=Db(function(a){return typeof a==="string"}),Gb=Db(function(a){return typeof a==="boolean"}),Hb=Db(function(a){return typeof a==="bigint"});var Ib=typeof x.BigInt==="function"&&typeof x.BigInt(0)==="bigint";function Jb(a){var b=a;if(Fb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Eb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Ib?BigInt(a):a=Gb(a)?a?"1":"0":Fb(a)?a.trim()||"0":String(a)}
|
|
var Kb=Db(function(a){return Ib?Hb(a):Fb(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Qb=Db(function(a){return Ib?a>=Lb&&a<=Mb:a[0]==="-"?Nb(a,Ob):Nb(a,Pb)}),Ob=Number.MIN_SAFE_INTEGER.toString(),Lb=Ib?BigInt(Number.MIN_SAFE_INTEGER):void 0,Pb=Number.MAX_SAFE_INTEGER.toString(),Mb=Ib?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Nb(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var E=0,F=0;function Rb(a){var b=a>>>0;E=b;F=(a-b)/4294967296>>>0}function Sb(a){if(a<0){Rb(0-a);var b=w(Tb(E,F));a=b.next().value;b=b.next().value;E=a>>>0;F=b>>>0}else Rb(a)}function Ub(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else ib()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+Vb(c)+Vb(a));return c}
|
|
function Vb(a){a=String(a);return"0000000".slice(a.length)+a}function Wb(){var a=E,b=F;b&2147483648?ib()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=w(Tb(a,b)),a=b.next().value,b=b.next().value,a="-"+Ub(a,b)):a=Ub(a,b);return a}function Tb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var Xb=typeof BigInt==="function"?BigInt.asIntN:void 0,Yb=Number.isSafeInteger,Zb=Number.isFinite,$b=Math.trunc;function ac(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function bc(a){return a.displayName||a.name||"unknown type name"}var cc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function dc(a){switch(typeof a){case "bigint":return!0;case "number":return Zb(a);case "string":return cc.test(a);default:return!1}}
|
|
function ec(a){if(!Zb(a))throw a=Error("enum"),eb(a,"severity","warning"),a;return a|0}function fc(a){return a==null?a:Zb(a)?a|0:void 0}function hc(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Zb(a)?a|0:void 0}
|
|
function ic(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;if(a.length<16)Sb(Number(a));else if(ib())a=BigInt(a),E=Number(a&BigInt(4294967295))>>>0,F=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");F=E=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),F*=1E6,E=E*1E6+d,E>=4294967296&&(F+=Math.trunc(E/4294967296),F>>>=0,E>>>=0);b&&(b=w(Tb(E,F)),a=b.next().value,b=b.next().value,E=a,F=b)}return Wb()}
|
|
function jc(a){dc(a);a=$b(a);if(!Yb(a)){Sb(a);var b=E,c=F;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);var d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:Ub(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function kc(a){dc(a);a=$b(a);Yb(a)?a=String(a):(Sb(a),a=Wb());return a}
|
|
function lc(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return Jb(Xb(64,a));if(dc(a))return b==="string"?(b=$b(Number(a)),Yb(b)?a=Jb(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=ib()?Jb(Xb(64,BigInt(a))):Jb(ic(a)))):a=Yb(a)?Jb(jc(a)):Jb(kc(a)),a}function mc(a){return a==null||typeof a==="string"?a:void 0}function nc(a,b,c,d){if(a!=null&&a[rb]===yb)return a;if(!Array.isArray(a))return c?d&2?b[mb]||(b[mb]=oc(b)):new b:void 0;c=a[C]|0;d=c|d&32|d&2;d!==c&&D(a,d);return new b(a)}
|
|
function oc(a){a=new a;xb(a.C);return a};function pc(a){return a};function qc(){}function rc(a,b){for(var c in a)!isNaN(c)&&b(a,+c,a[c])}function sc(a){var b=new qc;rc(a,function(c,d,e){b[d]=Array.prototype.slice.call(e)});b.g=a.g;return b}function tc(a,b){b<100||hb(pb,1)};function uc(a,b,c,d){var e=d!==void 0;d=!!d;var f=Ha(ob),g;!e&&jb&&f&&(g=a[f])&&rc(g,tc);f=[];var h=a.length;g=4294967295;var k=!1,l=!!(b&64),m=l?b&128?0:-1:void 0;if(!(b&1)){var r=h&&a[h-1];r!=null&&typeof r==="object"&&r.constructor===Object?(h--,g=h):r=void 0;if(l&&!(b&128)&&!e){k=!0;var t;g=((t=vc)!=null?t:pc)(g-m,m,a,r,void 0)+m}}b=void 0;for(t=0;t<h;t++){var u=a[t];if(u!=null&&(u=c(u,d))!=null)if(l&&t>=g){var N=t-m,I=void 0;((I=b)!=null?I:b={})[N]=u}else f[t]=u}if(r)for(var ca in r)h=r[ca],
|
|
h!=null&&(h=c(h,d))!=null&&(t=+ca,u=void 0,l&&!Number.isNaN(t)&&(u=t+m)<g?f[u]=h:(t=void 0,((t=b)!=null?t:b={})[ca]=h));b&&(k?f.push(b):f[g]=b);e&&Ha(ob)&&(a=(c=Ha(ob))?a[c]:void 0)&&a instanceof qc&&(f[ob]=sc(a));return f}
|
|
function wc(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return Qb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[C]|0;return a.length===0&&b&1?void 0:uc(a,b,wc)}if(a!=null&&a[rb]===yb)return xc(a);if(a instanceof bb){b=a.g;if(b==null)a="";else if(typeof b==="string")a=b;else{if(Za){for(var c="",d=0,e=b.length-10240;d<e;)c+=String.fromCharCode.apply(null,b.subarray(d,d+=10240));c+=String.fromCharCode.apply(null,d?b.subarray(d):
|
|
b);b=btoa(c)}else{c===void 0&&(c=0);if(!Wa){Wa={};d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");e=["+/=","+/","-_=","-_.","-_"];for(var f=0;f<5;f++){var g=d.concat(e[f].split(""));Va[f]=g;for(var h=0;h<g.length;h++){var k=g[h];Wa[k]===void 0&&(Wa[k]=h)}}}c=Va[c];d=Array(Math.floor(b.length/3));e=c[64]||"";for(f=g=0;g<b.length-2;g+=3){var l=b[g],m=b[g+1];k=b[g+2];h=c[l>>2];l=c[(l&3)<<4|m>>4];m=c[(m&15)<<2|k>>6];k=c[k&63];d[f++]=""+h+l+m+k}h=0;k=e;switch(b.length-g){case 2:h=
|
|
b[g+1],k=c[(h&15)<<2]||e;case 1:b=b[g],d[f]=""+c[b>>2]+c[(b&3)<<4|h>>4]+k+e}b=d.join("")}a=a.g=b}return a}return}return a}var yc=ab?structuredClone:function(a){return uc(a,0,wc)},vc;function xc(a){a=a.C;return uc(a,a[C]|0,wc)};function G(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[C]|0;if(La&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&zc();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&D(a,e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1,h=c[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)f=
|
|
+k,f<g&&(c[f+b]=h[k],delete h[k]);e=e&-16760833|(g&1023)<<14;break a}}if(b){k=Math.max(b,f-(e&128?0:-1));if(k>1024)throw Error("spvt");e=e&-16760833|(k&1023)<<14}}}D(a,e|64|d);return a}function zc(){if(La)throw Error("carr");hb(qb,5)};function Ac(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[C]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Bc(a,c,!1,b&&!(c&16)):(wb(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[rb]===yb)return b=a.C,c=b[C]|0,zb(a,c)?a:Cc(a,b,c)?Dc(a,b):Bc(b,c);if(a instanceof bb)return a}function Dc(a,b,c){a=new a.constructor(b);c&&(a.g=Bb);a.j=Bb;return a}function Bc(a,b,c,d){d!=null||(d=!!(34&b));a=uc(a,b,Ac,d);d=32;c&&(d|=2);b=b&16769217|d;D(a,b);return a}
|
|
function Ec(a){var b=a.C,c=b[C]|0;return zb(a,c)?Cc(a,b,c)?Dc(a,b,!0):new a.constructor(Bc(b,c,!1)):a}function Fc(a){if(a.g!==Bb)return!1;var b=a.C;b=Bc(b,b[C]|0);wb(b,2048);a.C=b;a.g=void 0;a.j=void 0;return!0}function Gc(a,b){b===void 0&&(b=a[C]|0);b&32&&!(b&4096)&&D(a,b|4096)}function Cc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(D(b,c|2),a.g=Bb,!0):!1};var Hc=Jb(0),Ic={};function H(a,b,c,d,e){Object.isExtensible(a);b=Jc(a.C,b,c,e);if(b!==null||d&&a.j!==Bb)return b}function Jc(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}}
|
|
function Kc(a,b,c){if(!Fc(a)&&zb(a,a.C[C]|0))throw Error();var d=a.C;Lc(d,d[C]|0,b,c);return a}function Lc(a,b,c,d){var e=c+-1,f=a.length-1;if(f>=0&&e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object)return g[c]=d,b}if(e<=f)return a[e]=d,b;if(d!==void 0){var h;f=((h=b)!=null?h:b=a[C]|0)>>14&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b}
|
|
function Mc(a,b,c,d,e,f,g,h){var k=b;f===1||(f!==4?0:2&b||!(16&b)&&32&d)?Nc(b)||(b|=!a.length||g&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==k&&D(a,b),Object.freeze(a)):(f===2&&Nc(b)&&(a=Array.prototype.slice.call(a),k=0,b=Oc(b,d),d=Lc(c,d,e,a)),Nc(b)||(h||(b|=16),b!==k&&D(a,b)));2&b||!(4096&b||16&b)||Gc(c,d);return a}function Pc(a,b){a=Jc(a,b);return Array.isArray(a)?a:ub}function Qc(a,b){2&b&&(a|=2);return a|1}function Nc(a){return!!(2&a)&&!!(4&a)||!!(256&a)}
|
|
function Rc(a){return a==null?a:typeof a==="string"?a?new bb(a,$a):cb():a.constructor===bb?a:Ya&&a!=null&&a instanceof Uint8Array?a.length?new bb(new Uint8Array(a),$a):cb():void 0}function Sc(a,b,c){return Tc(a,b)===c?c:-1}
|
|
function Tc(a,b){a=a.C;if(jb){var c;var d=(c=a[nb])!=null?c:a[nb]=new Map}else nb in a?d=a[nb]:(c=new Map,Object.defineProperty(a,nb,{value:c}),d=c);c=d;d=void 0;var e=c.get(b);if(e==null){for(var f=e=0;f<b.length;f++){var g=b[f];Jc(a,g)!=null&&(e!==0&&(d=Lc(a,d,e)),e=g)}c.set(b,e)}return e}function Uc(a,b,c,d){var e=!1;d=Jc(a,d,void 0,function(f){var g=nc(f,c,!1,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!zb(d)&&Gc(a,b),d}
|
|
function Vc(a,b,c){a=a.C;return Uc(a,a[C]|0,b,c)||b[mb]||(b[mb]=oc(b))}function Wc(a,b,c){var d=a.C,e=d[C]|0;b=Uc(d,e,b,c);if(b==null)return b;e=d[C]|0;if(!zb(a,e)){var f=Ec(b);f!==b&&(Fc(a)&&(d=a.C,e=d[C]|0),b=f,e=Lc(d,e,c,b),Gc(d,e))}return b}
|
|
function Xc(a,b,c){var d=void 0===Cb?2:4,e=a.C,f=e;e=e[C]|0;var g=zb(a,e),h=g?1:d;d=h===3;var k=!g;(h===2||k)&&Fc(a)&&(f=a.C,e=f[C]|0);a=Pc(f,c);var l=a===ub?7:a[C]|0,m=Qc(l,e);if(g=!(4&m)){var r=a,t=e,u=!!(2&m);u&&(t|=2);for(var N=!u,I=!0,ca=0,Xa=0;ca<r.length;ca++){var Ab=nc(r[ca],b,!1,t);if(Ab instanceof b){if(!u){var lg=zb(Ab);N&&(N=!lg);I&&(I=lg)}r[Xa++]=Ab}}Xa<ca&&(r.length=Xa);m|=4;m=I?m&-4097:m|4096;m=N?m|8:m&-9}m!==l&&(D(a,m),2&m&&Object.freeze(a));if(k&&!(8&m||!a.length&&(h===1||(h!==4?
|
|
0:2&m||!(16&m)&&32&e)))){Nc(m)&&(a=Array.prototype.slice.call(a),m=Oc(m,e),e=Lc(f,e,c,a));b=a;k=m;for(l=0;l<b.length;l++)r=b[l],m=Ec(r),r!==m&&(b[l]=m);k|=8;m=k=b.length?k|4096:k&-4097;D(a,m)}return a=Mc(a,m,f,e,c,h,g,d)}function Yc(a,b,c,d){if(d!=null){if(!(d instanceof b))throw Error("Expected instanceof "+bc(b)+" but got "+(d&&bc(d.constructor)));}else d=void 0;Kc(a,c,d);d&&!zb(d)&&Gc(a.C);return a}function Oc(a,b){return a=(2&b?a|2:a&-3)&-273}
|
|
function Zc(a,b){var c=c===void 0?!1:c;a=H(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c}function $c(a,b,c){c=c===void 0?0:c;var d;return(d=hc(H(a,b)))!=null?d:c}function ad(a,b){var c=c===void 0?Hc:c;a=H(a,b,void 0,void 0,lc);return a!=null?a:c}function bd(a,b){var c=c===void 0?"":c;var d;return(d=mc(H(a,b)))!=null?d:c}function cd(a,b){var c=c===void 0?0:c;var d;return(d=fc(H(a,b)))!=null?d:c}function dd(a,b){return mc(H(a,b,void 0,Ic))}
|
|
function ed(a,b,c){if(c!=null&&typeof c!=="string")throw Error();return Kc(a,b,c)};function J(a,b,c){this.C=G(a,b,c,2048)}J.prototype.toJSON=function(){return xc(this)};function fd(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");wb(b,32);return new a(b)}J.prototype.clone=function(){var a=this.C,b=a[C]|0;return Cc(this,a,b)?Dc(this,a,!0):new this.constructor(Bc(a,b,!1))};
|
|
function gd(){var a=x;a=a===void 0?window:a;var b=new hd(id("K1cgmc",a));a=jd;var c=new jd;b=kd(b);a=b===null?c:fd(a,"["+b.substring(4));c=a.C;b=c[C]|0;return zb(a,b)?a:Cc(a,c,b)?Dc(a,c):new a.constructor(Bc(c,b,!0))}J.prototype[rb]=yb;J.prototype.toString=function(){return this.C.toString()};
|
|
function ld(a,b){if(b==null)b=a.constructor,b=b[mb]||(b[mb]=oc(b));else{a=a.constructor;if(!Array.isArray(b))throw Error();if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error();b=new a(xb(b))}return b};function md(a){return function(b){return fd(a,b)}};function nd(a){this.C=G(a,void 0,void 0,2048)}v(nd,J);nd.prototype.getTypeName=function(){return bd(this,1).split("/").pop()};var od=function(a){return Db(function(b){return b instanceof a&&!zb(b)})}(nd);function pd(){this.key="45765314";this.defaultValue=!1;this.flagNameForDebugging=void 0;this.phase=2}pd.prototype.ctor=function(a){return typeof a==="boolean"?a:this.defaultValue};function qd(){var a=rd('[["feature named `pageObserver` was not found","feature named `hover` was not found"]]'),b=sd;this.key="45696263";this.defaultValue=a;this.g=b;this.flagNameForDebugging=void 0;this.phase=2}
|
|
qd.prototype.ctor=function(a){if(typeof a==="string"&&a)return fd(this.g,a);if(!od(a))return this.defaultValue.clone();var b;try{var c,d=this.g,e=(c=a.getTypeName())!=null?c:"";if(bd(a,1).split("/").pop()!=e)var f=null;else{var g=typeof d==="function"?d:d.constructor,h=a.C,k=h[C]|0,l=Jc(h,2);Fc(a)&&(h=a.C,k=h[C]|0);a=h;if(l!=null&&!(Array.isArray(l)||l!=null&&l[rb]===yb))throw Error("saw an invalid value of type '"+ya(l)+"' in the Any.value field");var m=nc(l,g,!0,k);if(!(m instanceof g))throw Error("incorrect type in any value: got "+
|
|
m.constructor.displayName+", expected "+g.displayName);(g=!!(2&k))||(m=Ec(m));l!==m&&(Lc(a,k,2,m),g||Gc(a));f=m}}catch(r){f=null}return(b=f)!=null?b:this.defaultValue.clone()};function td(a){this.C=G(a,void 0,void 0,2048)}v(td,J);var ud=[1,2];function vd(a){this.C=G(a,void 0,void 0,2048)}v(vd,J);var wd=[2,3,4,5,6,8];function xd(a){this.C=G(a,void 0,void 0,2048)}v(xd,J);xd.prototype.za=function(){var a=H(this,3,void 0,void 0,Rc);return a==null?cb():a};function yd(a){this.C=G(a,void 0,void 0,2048)}v(yd,J);var zd=md(yd);function sd(a){this.C=G(a,void 0,void 0,2048)}v(sd,J);var rd=md(sd);function Ad(a,b){this.I=a|0;this.F=b|0}function Bd(a){return a.F*4294967296+(a.I>>>0)}p=Ad.prototype;p.isSafeInteger=function(){var a=this.F>>21;return a==0||a==-1&&!(this.I==0&&this.F==-2097152)};
|
|
p.toString=function(a){a=a||10;if(a<2||36<a)throw Error("radix out of range: "+a);if(this.isSafeInteger()){var b=Bd(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=K(c,c/4294967296);c=this.div(d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(Cd(d));e=f.call(e,Bd(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=Bd(c);return(a==10?e:e.toString(a))+f};function Dd(a){return a.I==0&&a.F==0}p.qa=function(){return this.I^this.F};
|
|
p.equals=function(a){return a==null?!1:this.I==a.I&&this.F==a.F};p.compare=function(a){return this.F==a.F?this.I==a.I?0:this.I>>>0>a.I>>>0?1:-1:this.F>a.F?1:-1};function Cd(a){var b=~a.I+1|0;return K(b,~a.F+!b|0)}p.add=function(a){var b=this.F>>>16,c=this.F&65535,d=this.I>>>16,e=a.F>>>16,f=a.F&65535,g=a.I>>>16;a=(this.I&65535)+(a.I&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;return K((g&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
|
|
p.multiply=function(a){if(Dd(this))return this;if(Dd(a))return a;var b=this.F>>>16,c=this.F&65535,d=this.I>>>16,e=this.I&65535,f=a.F>>>16,g=a.F&65535,h=a.I>>>16;a=a.I&65535;var k=e*a;var l=(k>>>16)+d*a;var m=l>>>16;l=(l&65535)+e*h;m+=l>>>16;m+=c*a;var r=m>>>16;m=(m&65535)+d*h;r+=m>>>16;m=(m&65535)+e*g;r=r+(m>>>16)+(b*a+c*h+d*g+e*f)&65535;return K((l&65535)<<16|k&65535,r<<16|m&65535)};
|
|
p.div=function(a){if(Dd(a))throw Error("division by zero");if(this.F<0){if(this.equals(Ed)){if(a.equals(Fd)||a.equals(Gd))return Ed;if(a.equals(Ed))return Fd;var b=this.F;b=K(this.I>>>1|b<<31,b>>1);b=b.div(a).shiftLeft(1);if(b.equals(Hd))return a.F<0?Fd:Gd;var c=a.multiply(b);c=this.add(Cd(c));return b.add(c.div(a))}return a.F<0?Cd(this).div(Cd(a)):Cd(Cd(this).div(a))}if(Dd(this))return Hd;if(a.F<0)return a.equals(Ed)?Hd:Cd(this.div(Cd(a)));b=Hd;for(c=this;c.compare(a)>=0;){var d=Math.max(1,Math.floor(Bd(c)/
|
|
Bd(a))),e=Math.ceil(Math.log(d)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=Id(d),g=f.multiply(a);g.F<0||g.compare(c)>0;)d-=e,f=Id(d),g=f.multiply(a);Dd(f)&&(f=Fd);b=b.add(f);c=c.add(Cd(g))}return b};p.and=function(a){return K(this.I&a.I,this.F&a.F)};p.or=function(a){return K(this.I|a.I,this.F|a.F)};p.xor=function(a){return K(this.I^a.I,this.F^a.F)};p.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.I;return a<32?K(b<<a,this.F<<a|b>>>32-a):K(0,b<<a-32)};
|
|
function Id(a){return a>0?a>=0x7fffffffffffffff?Jd:new Ad(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?Ed:Cd(new Ad(-a,-a/4294967296)):Hd}function K(a,b){return new Ad(a,b)}var Hd=K(0,0),Fd=K(1,0),Gd=K(-1,-1),Jd=K(4294967295,2147483647),Ed=K(0,2147483648);function id(a,b){b=b===void 0?window:b;b=b===void 0?window:b;return(b=b.WIZ_global_data)&&a in b?b[a]:null};var Kd;
|
|
function Ld(){var a=null;var b=id("TSDtV",window);if(b=typeof b!=="string"?null:b)a=zd("["+b.substring(4)),a=Xc(a,xd,1)[0];if(a){b=w(Xc(a,vd,2));for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.C;if(Uc(d,d[C]|0,nd,Sc(c,wd,6))!==void 0)throw Error();}}if(a)for(b={},c=w(Xc(a,vd,2)),d=c.next();!d.done;d=c.next()){var e=d.value;d=ad(e,1).toString();switch(Tc(e,wd)){case 3:b[d]=Zc(e,Sc(e,wd,3));break;case 2:var f=ad(e,Sc(e,wd,2));Kb(f);Qb(f);f=Qb(f)?Number(f):String(f);b[d]=f;break;case 4:f=void 0;
|
|
var g=e;var h=Sc(e,wd,4);e=void 0;e=e===void 0?0:e;g=(f=H(g,h,void 0,void 0,ac))!=null?f:e;b[d]=g;break;case 5:b[d]=bd(e,Sc(e,wd,5));break;case 6:b[d]=Wc(e,nd,Sc(e,wd,6));break;case 8:f=Vc(e,td,Sc(e,wd,8));switch(Tc(f,ud)){case 1:b[d]=bd(f,Sc(f,ud,1));break;default:throw Error("case "+Tc(f,ud));}break;default:throw Error("case "+Tc(e,wd));}}else b={};this.g=b;this.j=a?a.za():null}function Md(a){var b=Kd=Kd||new Ld;return a.phase!==1&&a.key in b.g?a.ctor(b.g[a.key]):a.defaultValue}
|
|
Ld.prototype.za=ba("j");function Nd(a){this.C=G(a,void 0,void 0,2048)}v(Nd,J);var Od=new qd;var Pd=new pd;function Qd(a){this.C=G(a,void 0,void 0,2048)}v(Qd,J);var Rd=function(a){return function(){return a[mb]||(a[mb]=oc(a))}}(Qd);Object.create(null);function L(){}L.prototype.equals=function(a){return Sd(this,a)};L.prototype.qa=function(){return this.v||(Object.defineProperties(this,{v:{value:Td=Td+1|0,enumerable:!1}}),this.v)};L.prototype.toString=function(){return M(Ud(O(Vd(this))))+"@"+M((this.qa()>>>0).toString(16))};L.prototype.B=["java.lang.Object",0];function Wd(){}v(Wd,L);function P(a,b){a.g=b;Xd(b,a)}function Q(a){Yd(a.g)&&(Error.captureStackTrace?Error.captureStackTrace(R(a.g,Yd,Zd)):R(a.g,Yd,Zd).stack=Error().stack)}Wd.prototype.toString=function(){var a=Ud(O(Vd(this))),b=this.j;return b==null?a:M(a)+": "+M(b)};function $d(a){if(a!=null){var b=a.La;if(b!=null)return b}a instanceof TypeError?b=ae():(b=new be,Q(b),P(b,Error(b)));b.j=a==null?"null":a.toString();P(b,a);return b}function ce(a){return a instanceof Wd}
|
|
Wd.prototype.B=["java.lang.Throwable",0];function de(){}v(de,Wd);de.prototype.B=["java.lang.Exception",0];function S(){}v(S,de);S.prototype.B=["java.lang.RuntimeException",0];function ee(){}v(ee,S);ee.prototype.B=["java.lang.IndexOutOfBoundsException",0];var fe;function ge(){ge=n();for(var a=he(),b=0;b<256;b=b+1|0)ie(a,b,je(b-128|0));fe=a};function ke(){}v(ke,S);ke.prototype.B=["java.lang.ArithmeticException",0];function le(){}v(le,S);le.prototype.B=["java.lang.ArrayStoreException",0];function me(){}v(me,S);me.prototype.B=["java.lang.ClassCastException",0];function ne(){}v(ne,S);ne.prototype.B=["java.lang.IllegalArgumentException",0];function oe(){}v(oe,S);function pe(a){var b=new oe;b.j=a;Q(b);P(b,Error(b));return b}oe.prototype.B=["java.lang.IllegalStateException",0];function be(){}v(be,S);be.prototype.B=["java.lang.JsException",0];function qe(){}v(qe,be);function ae(){var a=new qe;Q(a);P(a,new TypeError(a));return a}qe.prototype.B=["java.lang.NullPointerException",0];function re(){}v(re,ee);re.prototype.B=["java.lang.StringIndexOutOfBoundsException",0];function se(){}var te;v(se,L);se.prototype.B=["java.lang.Number",0];function ue(){}v(ue,se);function ve(a){return"number"===typeof a}ue.prototype.B=["java.lang.Double",0];function we(a){return Id(a)}function xe(a){if(!isFinite(a))throw a=new ke,Q(a),P(a,Error(a)),a.g;return a|0};function ye(){}v(ye,L);ye.prototype.B=["java.lang.Boolean",0];function R(a,b,c){if(a!=null&&!b(a))throw a=M(Ud(ze(a)))+" cannot be cast to "+M(Ud(O(c))),b=new me,b.j=a,Q(b),P(b,Error(b)),b.g;return a};function Vd(a){return a.constructor}function Ae(a,b,c){if(Object.prototype.hasOwnProperty.call(a.prototype,b))return a.prototype[b];c=c();return a.prototype[b]=c};function Sd(a,b){return Object.is(a,b)||a==null&&b==null};var Td=0;function ze(a){switch(T(typeof a)){case "number":return O(ue);case "boolean":return O(ye);case "string":return O(Be);case "function":return O(Ce)}if(a instanceof Ad)a=O(De);else if(a instanceof L)a=O(Vd(a));else if(Array.isArray(a))a=(a=a.la)?O(a.Y,a.X):O(L,1);else if(a!=null)a=O(Ee);else throw new TypeError("null.getClass()");return a};function Ce(){}Ce.prototype.B=["<native function>",1];function Ee(){}v(Ee,L);Ee.prototype.B=["<native object>",0];function U(){this.V=0}v(U,se);function Fe(a){a>-129&&a<128?(ge(),a=fe[a+128|0]):a=je(a);return a}function je(a){var b=new U;b.V=a;return b}U.prototype.equals=function(a){return Ge(a)&&R(a,Ge,U).V==this.V};U.prototype.qa=ba("V");U.prototype.toString=function(){return""+this.V};function Ge(a){return a instanceof U}U.prototype.B=["java.lang.Integer",0];function De(){}v(De,se);De.prototype.B=["java.lang.Long",0];function He(){}v(He,ne);He.prototype.B=["java.lang.NumberFormatException",0];function T(a){if(a==null)throw ae().g;return a};function he(){var a=[256];return Ie(a,{Y:U,ka:Ge,X:a.length})}function Ie(a,b){var c=a[0];if(c==null)return null;var d=new globalThis.Array(c);b&&(d.la=b);if(a.length>1){a=a.slice(1);b=b&&{Y:b.Y,ka:b.ka,X:b.X-1};for(var e=0;e<c;e++)d[e]=Ie(a,b)}else if(b&&(a=b.Y.lb,a!==void 0))for(b=0;b<c;b++)d[b]=a;return d}
|
|
function ie(a,b,c){var d;if(!(d=c==null))a:{var e=a.la;if(e)if(e.X>1){d=e.Y;var f=e.ka;e=e.X-1;if(c!=null&&Array.isArray(c)){var g=c.la||{Y:L,X:1},h=g.X;h==e?(e=g.Y,d=e===d?!0:d&&d.prototype.Ba||e&&e.prototype.Ba?!1:f(e.prototype)):d=h>e?L==d:!1}else d=!1;if(!d){d=!1;break a}}else if(c!=null&&!e.ka(c)){d=!1;break a}d=!0}if(!d)throw a=new le,Q(a),P(a,Error(a)),a.g;a[b]=c};function Be(){}v(Be,L);function M(a){return a==null?"null":a.toString()}function Je(a){if(!(a>=0))throw a=new ne,Q(a),P(a,Error(a)),a.g;return"0".repeat(a)}Be.prototype.B=["java.lang.String",0];function Ke(a,b){this.g=a;this.j=b}v(Ke,L);function O(a,b){var c=b||0;return Ae(a,"$$class/"+c,function(){return new Ke(a,c)})}function Ud(a){return a.j!=0?M(Le("[",a.j))+M(a.g.prototype.B[1]==3?a.g.prototype.B[2]:"L"+M(a.g.prototype.B[0])+";"):a.g.prototype.B[0]}function Me(a,b){b=a.lastIndexOf(b)+1|0;var c=a.length+1|0;if(b<0||b>=c)throw a=new re,a.j="Index: "+b+", Size: "+c,Q(a),P(a,Error(a)),a.g;return a.substr(b)}
|
|
Ke.prototype.toString=function(){return String(this.j==0&&this.g.prototype.B[1]==1?"interface ":this.j==0&&this.g.prototype.B[1]==3?"":"class ")+M(Ud(this))};function Le(a,b){for(var c="",d=0;d<b;d=d+1|0)c=M(c)+M(a);return c}Ke.prototype.B=["java.lang.Class",0];function Zd(){}function Yd(a){return a instanceof Error}Zd.prototype.B=["Error",0];function Xd(a,b){if(a instanceof Object)try{a.La=b,Object.defineProperties(a,{cause:{get:function(){return b.l&&b.l.g}}})}catch(c){}};function Ne(a,b){this.l=b;this.j=a;Q(this);P(this,Error(this))}v(Ne,S);Ne.prototype.getMessage=ba("j");ia.Object.defineProperties(Ne.prototype,{error:{configurable:!0,enumerable:!0,get:function(){var a=Error(),b=this.g;a.fileName=b.fileName;a.lineNumber=b.lineNumber;a.columnNumber=b.columnNumber;a.message=b.message;a.name=b.name;a.stack=b.stack;a.toSource=b.toSource;a.cause=b.cause;for(var c in b)c.indexOf("__java$")!=0&&(a[c]=b[c]);return a}}});
|
|
Ne.prototype.B=["com.google.apps.docs.xplat.base.XplatException",0];function Oe(){}function Pe(a){return a instanceof Error}Oe.prototype.B=["Error",0];function Qe(){var a=a==null?function(c){return Math.max(Math.min(Math.floor(Math.random()*c),2147483647),-2147483648)|0}:a;var b=(a(2147483647)>>>0).toString(16);b=M(Je(Math.max(0,8-b.length|0)))+M(b);a=(a(2147483647)>>>0).toString(16);return M(a)+M(b)};function Re(){}function Se(a){return a instanceof Array}Re.prototype.B=["Array",0];function Te(){}function Ue(a){return a instanceof Object}Te.prototype.B=["Object",0];function Ve(){}function We(a){return a instanceof Object}Ve.prototype.B=["Object",0];var Xe={Jb:"build-label",mb:"buildLabel",nb:"clientLog",rb:"docId",Lb:"mobile-app-version",Vb:"severity",ac:"severity-unprefixed",Db:"isArrayPrototypeIntact",Eb:"isEditorElementAttached",xb:"documentCharacterSet",Gb:"isModuleLoadFailure",Tb:"reportName",Kb:"locale",pb:"createdOnServer",Pb:"numUnsavedCommands",qb:"cspViolationContext",Sb:"relatedToBrowserExtension",cc:"workerError",sb:"docosPostLimitExceeded",tb:"docosPostLimitType",ub:"docosReactionLimitExceeded",wb:"docosReactionLimitType",Rb:"origin",
|
|
Ub:"saveTakingTooLongOnClient",Xb:"truncatedCommentNotificationsCount",Yb:"truncatedCommentNotificationsFromPayload",Ob:"nonfatalReason",bc:"usesModuleSetsServing"};function Ye(){this.g=!1}var Ze;v(Ye,L);p=Ye.prototype;p.dispose=function(){if(this.g)var a=null;else this.g=!0,a=this.o==null?Ze:this.o,this.o=null;if(a!=null){this.ma();if(a.length!=0)for(var b=0;b<a.length;b++)a[b].dispose();a=O(Vd(this));Me(Me(M(a.g.prototype.B[0])+M(Le("[]",a.j)),"."),"$")}};p.ja=ba("g");p.ma=n();p.toString=function(){return L.prototype.toString.call(this)||""};function $e(){$e=n();Ze=R([],Se,Re)}p.B=["com.google.apps.xplat.disposable.Disposable",0];function af(a){if(a==null)return a=new Wd,Q(a),P(a,Error(a)),a;if(ce(a))return R(a,ce,Wd);if(Pe(a))return a=R(a,Pe,Oe),$d(a);a=new ne;a.j="Unsupported type cannot be used to create a Throwable.";Q(a);P(a,Error(a));throw a.g;};/*
|
|
|
|
Copyright Google LLC
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var bf=globalThis.trustedTypes,cf;function df(){var a=null;if(!bf)return a;try{var b=aa();a=bf.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};function ef(a){this.g=a}ef.prototype.toString=function(){return this.g+""};function ff(a,b){if(b instanceof ef)b=b.g;else throw Error("");a.src=b.toString()};function gf(a){var b=x.onerror;x.onerror=function(c,d,e,f,g){b&&b(c,d,e,f,g);a({message:c,fileName:d,line:e,lineNumber:e,ec:f,error:g});return!0}}
|
|
function hf(a){var b=xa("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||x.$googDebugFname||b}catch(f){e="Not available",c=!0}b=jf(a);return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?{message:a.message,
|
|
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}:(c=a.message,c==null&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:kf(a.constructor))+'"':"Unknown Error of unknown type",typeof a.toString==="function"&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"})}
|
|
function jf(a,b){b||(b={});b[lf(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[lf(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=jf(d,b));a=a.errors;if(Array.isArray(a)){d=1;var e;for(e=0;e<a.length&&!(d>4);e++)b[lf(a[e])]||(c+="\nInner error "+d++ +": ",a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=jf(a[e],b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c}
|
|
function lf(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack}function mf(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,mf));a.stack||(a.stack=nf(mf));if(b){for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a}function of(a,b){a=mf(a);if(b)for(var c in b)eb(a,c,b[c]);return a}
|
|
function nf(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||nf),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=pf(a||arguments.callee.caller,[]));return b}
|
|
function pf(a,b){var c=[];if(Array.prototype.indexOf.call(b,a,void 0)>=0)c.push("[...circular reference...]");else if(a&&b.length<50){c.push(kf(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){e>0&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=kf(f))?f:"[fn]";break;default:f=typeof f}f.length>40&&(f=f.slice(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");
|
|
try{c.push(pf(a.caller,b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")}function kf(a){if(qf[a])return qf[a];a=String(a);if(!qf[a]){var b=/function\s+([^\(]+)/m.exec(a);qf[a]=b?b[1]:"[Anonymous]"}return qf[a]}var qf={};function rf(a,b){this.name=a;this.value=b}rf.prototype.toString=ba("name");var sf=new rf("SEVERE",1E3),tf=new rf("WARNING",900),uf=new rf("CONFIG",700);function vf(){this.clear()}var wf;function xf(a){var b=yf(),c=b.g;if(c[0]){var d=b.j;b=b.l?d:-1;do b=(b+1)%0,a(c[b]);while(b!==d)}}vf.prototype.clear=function(){this.g=[];this.j=-1;this.l=!1};function yf(){wf||(wf=new vf);return wf};function zf(a,b,c,d,e,f,g){var h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=c,d&&(h+=":"+d));e&&(h+=e);f&&(h+="?"+f);g&&(h+="#"+g);return h}var Af=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
|
|
function Bf(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}}function Cf(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}
|
|
function Df(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)Df(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))}function Ef(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Df(a[b],a[b+1],c);return c.join("&")}function Ff(a){var b=[],c;for(c in a)Df(c,a[c],b);return b.join("&")}function V(a,b){var c=arguments.length==2?Ef(arguments[1],0):Ef(arguments,1);return Cf(a,c)};var Gf;Gf=function(a){if(!a)return a;a=(typeof a==="object"?a.href:a).match(Af);var b=a[1];return b!=="http"&&b!=="https"?b||"":zf(a[1],"",a[3],a[4],a[5],a[6],"")};function Hf(a){a&&typeof a.dispose=="function"&&a.dispose()};function If(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];za(d)?If.apply(null,d):Hf(d)}};function W(){this.J=this.J;this.G=this.G}W.prototype.J=!1;W.prototype.ja=ba("J");W.prototype.dispose=function(){this.J||(this.J=!0,this.L())};W.prototype[Symbol.dispose]=function(){this.dispose()};function Jf(a,b){b=Fa(Hf,b);a.J?b():(a.G||(a.G=[]),a.G.push(b))}W.prototype.L=function(){if(this.G)for(;this.G.length;)this.G.shift()()};var Kf=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:aa();function Lf(a,b){this.l=a;this.o=b;this.j=0;this.g=null}Lf.prototype.get=function(){if(this.j>0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};function Mf(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var Nf=[],Of=[],Pf=!1;function Qf(a){Nf[Nf.length]=a;if(Pf)for(var b=0;b<Of.length;b++)a(y(Of[b].g,Of[b]))};Qf(n());function Rf(){this.j=this.g=null}Rf.prototype.add=function(a,b){var c=Sf.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Rf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var Sf=new Lf(function(){return new Tf},function(a){return a.reset()});function Tf(){this.next=this.scope=this.g=null}Tf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};Tf.prototype.reset=function(){this.next=this.scope=this.g=null};var Uf,Vf=!1,Wf=new Rf;function Xf(a,b){Uf||Yf();Vf||(Uf(),Vf=!0);Wf.add(a,b)}function Yf(){var a=Promise.resolve(void 0);Uf=function(){a.then(Zf)}}function Zf(){for(var a;a=Wf.remove();){try{a.g.call(a.scope)}catch(b){Ia(b)}Mf(Sf,a)}Vf=!1};function $f(){};function ag(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function X(a){this.g=0;this.J=void 0;this.o=this.j=this.l=null;this.v=this.G=!1;if(a!=$f)try{var b=this;a.call(void 0,function(c){bg(b,2,c)},function(c){bg(b,3,c)})}catch(c){bg(this,3,c)}}function cg(){this.next=this.l=this.j=this.o=this.g=null;this.v=!1}cg.prototype.reset=function(){this.l=this.j=this.o=this.g=null;this.v=!1};var dg=new Lf(function(){return new cg},function(a){a.reset()});function eg(a,b,c){var d=dg.get();d.o=a;d.j=b;d.l=c;return d}
|
|
function fg(){var a=new X($f);bg(a,2);return a}function gg(a,b,c){hg(a,b,c,null)||Xf(Fa(b,a))}function ig(a){return new X(function(b,c){a.length||b(void 0);for(var d,e=0;e<a.length;e++)d=a[e],gg(d,b,c)})}function jg(a){return new X(function(b){var c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{Va:!0,value:l}:{Va:!1,reason:l};c==0&&b(d)},f,g=0;g<a.length;g++)f=a[g],gg(f,Fa(e,g,!0),Fa(e,g,!1));else b(d)})}function kg(){var a,b,c=new X(function(d,e){a=d;b=e});return new mg(c,a,b)}
|
|
X.prototype.then=function(a,b,c){return ng(this,Kf(typeof a==="function"?a:null),Kf(typeof b==="function"?b:null),c)};X.prototype.$goog_Thenable=!0;p=X.prototype;p.na=function(a,b){return ng(this,null,Kf(a),b)};p.Ca=X.prototype.na;p.cancel=function(a){if(this.g==0){var b=new og(a);Xf(function(){pg(this,b)},this)}};
|
|
function pg(a,b){if(a.g==0)if(a.l){var c=a.l;if(c.j){for(var d=0,e=null,f=null,g=c.j;g&&(g.v||(d++,g.g==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?pg(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):qg(c),rg(c,e,3,b)))}a.l=null}else bg(a,3,b)}function sg(a,b){a.j||a.g!=2&&a.g!=3||tg(a);a.o?a.o.next=b:a.j=b;a.o=b}
|
|
function ng(a,b,c,d){var e=eg(null,null,null);e.g=new X(function(f,g){e.o=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.j=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof og?g(h):f(k)}catch(l){g(l)}}:g});e.g.l=a;sg(a,e);return e.g}p.jb=function(a){this.g=0;bg(this,2,a)};p.kb=function(a){this.g=0;bg(this,3,a)};
|
|
function bg(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,hg(c,a.jb,a.kb,a)||(a.J=c,a.g=b,a.l=null,tg(a),b!=3||c instanceof og||ug(a,c)))}function hg(a,b,c,d){if(a instanceof X)return sg(a,eg(b||$f,c||null,d)),!0;if(ag(a))return a.then(b,c,d),!0;if(Aa(a))try{var e=a.then;if(typeof e==="function")return vg(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1}
|
|
function vg(a,b,c,d,e){function f(k){h||(h=!0,d.call(e,k))}function g(k){h||(h=!0,c.call(e,k))}var h=!1;try{b.call(a,g,f)}catch(k){f(k)}}function tg(a){a.G||(a.G=!0,Xf(a.Ua,a))}function qg(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b}p.Ua=function(){for(var a;a=qg(this);)rg(this,a,this.g,this.J);this.G=!1};
|
|
function rg(a,b,c,d){if(c==3&&b.j&&!b.v)for(;a&&a.v;a=a.l)a.v=!1;if(b.g)b.g.l=null,wg(b,c,d);else try{b.v?b.o.call(b.l):wg(b,c,d)}catch(e){xg.call(null,e)}Mf(dg,b)}function wg(a,b,c){b==2?a.o.call(a.l,c):a.j&&a.j.call(a.l,c)}function ug(a,b){a.v=!0;Xf(function(){a.v&&xg.call(null,b)})}var xg=Ia;function og(a){A.call(this,a);this.g=!1}z(og,A);og.prototype.name="cancel";function mg(a,b,c){this.promise=a;this.resolve=b;this.reject=c};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
function yg(){this.v=[];this.o=this.l=!1;this.j=void 0;this.D=this.K=this.J=!1;this.G=0;this.g=null;this.A=0}yg.prototype.cancel=function(a){if(this.l)this.j instanceof yg&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.A--,b.A<=0&&b.cancel())}this.D=!0;this.l||(a=new zg(this),Ag(this),Bg(this,!1,a))}};yg.prototype.H=function(a,b){this.J=!1;Bg(this,a,b)};function Bg(a,b,c){a.l=!0;a.j=c;a.o=!b;Cg(a)}function Ag(a){if(a.l){if(!a.D)throw new Dg(a);a.D=!1}}
|
|
function Eg(a){throw a;}function Fg(a,b,c){return Gg(a,b,null,c)}function Hg(a,b,c){Gg(a,b,function(d){var e=b.call(this,d);if(e===void 0)throw d;return e},c)}function Gg(a,b,c,d){var e=a.l;e||(b===c?b=c=Kf(b):(b=Kf(b),c=Kf(c)));a.v.push([b,c,d]);e&&Cg(a);return a}yg.prototype.then=function(a,b,c){var d,e,f=new X(function(g,h){e=g;d=h});Gg(this,e,function(g){g instanceof zg?f.cancel():d(g);return Ig},this);return f.then(a,b,c)};yg.prototype.$goog_Thenable=!0;
|
|
function Jg(a){return Qa(a.v,function(b){return typeof b[1]==="function"})}var Ig={};
|
|
function Cg(a){if(a.G&&a.l&&Jg(a)){var b=a.G,c=Kg[b];c&&(x.clearTimeout(c.g),delete Kg[b]);a.G=0}a.g&&(a.g.A--,delete a.g);b=a.j;for(var d=c=!1;a.v.length&&!a.J;){var e=a.v.shift(),f=e[0],g=e[1];e=e[2];if(f=a.o?g:f)try{var h=f.call(e||null,b);h===Ig&&(h=void 0);h!==void 0&&(a.o=a.o&&(h==b||h instanceof Error),a.j=b=h);if(ag(b)||typeof x.Promise==="function"&&b instanceof x.Promise)d=!0,a.J=!0}catch(k){b=k,a.o=!0,Jg(a)||(c=!0)}}a.j=b;d&&(h=y(a.H,a,!0),d=y(a.H,a,!1),b instanceof yg?(Gg(b,h,d),b.K=!0):
|
|
b.then(h,d));c&&(b=new Lg(b),Kg[b.g]=b,a.G=b.g)}function Mg(a){var b=new yg;Ag(b);Bg(b,!0,a);return b}function Dg(){A.call(this)}z(Dg,A);Dg.prototype.message="Deferred has already fired";Dg.prototype.name="AlreadyCalledError";function zg(){A.call(this)}z(zg,A);zg.prototype.message="Deferred was canceled";zg.prototype.name="CanceledError";function Lg(a){this.g=x.setTimeout(y(this.l,this),0);this.j=a}Lg.prototype.l=function(){delete Kg[this.g];Eg(this.j)};var Kg={};function Ng(){}function Og(a){return a!=null&&!!a.va}Ng.prototype.va=!0;Ng.prototype.B=["javax.inject.Provider",1];function Pg(){}function Qg(a){return a!=null&&!!a.ua}Pg.prototype.ua=!0;Pg.prototype.B=["com.google.apps.docs.xplat.flag.FlagService",1];var Rg;function Sg(){if(Rg==null){var a=new Tg(null);Rg=function(){return a}}var b;return R((b=Rg,b()),Qg,Pg)};function Ug(){}v(Ug,L);Ug.prototype.get=function(){if(this.j==null){var a=R(x._docs_flag_initialData,Ue,Te);this.j=a!=null?a:R({},Ue,Te)}return this.j};Ug.prototype.g=function(){return this.get()};Ug.prototype.va=!0;Ug.prototype.B=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];function Vg(a){return typeof a=="string"?a=="true"||a=="1":!!a};function Tg(a){this.g=new Ug;this.j=null;if(a!=null)for(var b in a){var c=b,d=a[b];if(this.j!=null)throw pe("Cannot use setClientFlag when comparison is enabled.").g;var e=R(this.g.g(),Ue,Te);Ge(d)?(d=R(d,Ge,U).V,e[c]=d):e[c]=d!=null?d:null}}v(Tg,L);Tg.prototype.clear=function(){this.g=new Ug;this.j=null};Tg.prototype.get=function(a){Wg(this,a);return R(this.g.g(),Ue,Te)[a]};function Xg(a,b){a=R(a.g.g(),Ue,Te);return b in a}
|
|
function Yg(a,b){Wg(a,b);if(!Xg(a,b)||a.get(b)==null)return NaN;try{var c=M(a.get(b));te==null&&(te=RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$"));if(!te.test(c)){var d=new He;d.j='For input string: "'+M(c)+'"';Q(d);P(d,Error(d));throw d.g;}return parseFloat(c)}catch(f){var e=$d(f);if(e instanceof He)return NaN;throw e.g;}}
|
|
function Zg(a,b){Wg(a,b);if(!Xg(a,b))return"";a=a.get(b);if(a==null)return"";var c;if(b=ve(a)&&(c=R(a,ve,ue),!0)){b=we(T(c));var d=we(T(c));b=b.equals(d)}return b?""+we(T(c)):M(a)}
|
|
function Wg(a,b){if(a.j!=null){try{var c=R(a.g.g(),Ue,Te)[b]}catch(h){var d=$d(h);if(d instanceof S)c="injection-failed";else throw d.g;}try{var e=a.j;if(e==null)throw ae().g;var f=R(R(e,Og,Ng).g(),Ue,Te)[b]}catch(h){var g=$d(h);if(g instanceof S)f="injection-failed";else throw g.g;}a=c;!(b=Sd(a,f))&&(b=a!=null)&&(b=a.equals?a.equals(f):Object.is(a,f));if(!b)throw pe("Logging is not supported.").g;}}Tg.prototype.ua=!0;Tg.prototype.B=["com.google.apps.docs.xplat.flag.FlagServiceImpl",0];function $g(a){Ne.call(this,a,null);P(this,Error(this))}v($g,Ne);$g.prototype.B=["com.google.apps.docs.xplat.net.LimitException",0];function ah(a,b,c,d){$e();this.g=!1;this.G=a;this.l=b;this.j=new bh(Math.imul(c,1E3),d)}v(ah,Ye);function ch(a){if(!((a.j.get(null)+1|0)/T(a.j.l/1E3)<=a.l))throw(new $g("Query would cause "+M(a.G)+" to exceed "+a.l+" qps.")).g;a=a.j;var b=Bd(Id(Date.now()));dh(a,b);var c=R(eh(a.g),fh,gh);if(c==null||T(b)>=T(c.j))b=hh(a,T(b)),c=new gh,c.j=b,c.g=0,c.o=2147483647,c.l=-2147483648,a.g.add(c);c.g=c.g+1|0;c.o=Math.min(1,c.o);c.l=Math.max(1,c.l)}
|
|
ah.prototype.B=["com.google.apps.docs.xplat.net.QpsLimiter",0];function gh(){this.l=this.o=this.g=0}v(gh,L);function fh(a){return a instanceof gh}gh.prototype.B=["com.google.apps.docs.xplat.util.BasicStat$Slot",0];function bh(a){this.j=0;this.l=a;this.j=xe(a/50);this.g=new ih(Fe(50))}v(bh,L);bh.prototype.get=function(a){return jh(this,a,function(b,c){b=R(b,Ge,U);c=R(c,fh,gh);return Fe(b.V+c.g|0)})};function jh(a,b,c){b=b!=null?T(b):Bd(Id(Date.now()));dh(a,b);var d=0;b=hh(a,T(b));b=T(b)-a.l;for(var e=a.g.g.length-1|0;e>=0;e=e-1|0){var f=R(a.g.get(e),fh,gh);if(T(f.j)<=b)break;d=R(c(Fe(d),f),Ge,U).V}return d}function hh(a,b){return a.j*Math.floor(b/a.j+1)}
|
|
function dh(a,b){var c=R(eh(a.g),fh,gh);c!=null&&(c=T(c.j)-a.j,T(b)<T(c)&&a.g.clear())}bh.prototype.B=["com.google.apps.docs.xplat.util.BasicStat",0];function ih(a){this.j=this.l=0;a!=null?ve(a)?(a=T(a),a=Math.max(Math.min(a,2147483647),-2147483648)|0):a=a instanceof Ad?T(a).I:a.V:a=100;this.l=a;this.g=R([],Se,Re)}v(ih,L);p=ih.prototype;p.add=function(a){var b=this.g[this.j];this.g[this.j]=a;this.j=xe((this.j+1|0)%this.l);return b};p.get=function(a){a=kh(this,a);return this.g[a]};p.set=function(a,b){a=kh(this,a);this.g[a]=b};p.clear=function(){this.j=this.g.length=0};
|
|
p.ga=function(){for(var a=this.g.length,b=this.g.length-this.g.length|0,c=R([],Se,Re);b<a;b=b+1|0){var d=c,e=this.get(b);d.push(e)}return c};function eh(a){return a.g.length==0?null:a.get(a.g.length-1|0)}function kh(a,b){if(b>=a.g.length)throw a=new ee,Q(a),P(a,Error(a)),a.g;return a.g.length<a.l?b:xe((a.j+b|0)%a.l)}p.B=["com.google.apps.docs.xplat.util.CircularBuffer",0];function lh(){this.g=0}var mh,nh;v(lh,L);function Y(a,b){var c=new lh;c.j=a;c.g=b;mh[a]=c!==void 0?c:null;return c}lh.prototype.toString=ba("j");
|
|
function oh(){oh=n();mh=R({},We,Ve);Y("IDLE",1);Y("BUSY",1);Y("RECOVERING",2);nh=Y("OFFLINE",3);Y("SERVER_DOWN",3);Y("FORBIDDEN",4);Y("AUTH_REQUIRED",4);Y("DELTA_STALE_CLIENT",4);Y("SESSION_LIMIT_EXCEEDED",5);Y("LOCKED",5);Y("INCOMPATIBLE_SERVER",5);Y("CLIENT_ERROR",5);Y("CLIENT_FATAL_ERROR",5);Y("CLIENT_FATAL_ERROR_PENDING_CHANGES",5);Y("BATCH_CLIENT_ERROR",3);Y("SAVE_ERROR",5);Y("DOCUMENT_TOO_LARGE",5);Y("BATCH_SAVE_ERROR",3);Y("DOCS_EVERYWHERE_IMPORT_ERROR",5);Y("POST_LIMIT_EXCEEDED_ERROR",5);
|
|
Y("DOCS_QUOTA_EXCEEDED_ERROR",5)}lh.prototype.B=["com.google.apps.docs.xplat.net.Status$State",0];function ph(){}v(ph,L);function qh(a){return a instanceof ph}ph.prototype.B=["com.google.apps.docsshared.xplat.observable.EventObserverTracker$ObservableObserverPair",0];function rh(){$e();this.g=!1;this.j=R([],Se,Re)}v(rh,Ye);function sh(a,b,c){var d;a:{for(d=0;d<a.j.length;d=d+1|0){var e=R(a.j[d],qh,ph);if(Sd(e.j,c)&&Sd(e.g,b)){d=!0;break a}}d=!1}d||(a=a.j,c=b.g(c),d=new ph,d.g=b,d.j=c,a.push(d))}rh.prototype.ma=function(){this.removeAll();Ye.prototype.ma.call(this)};rh.prototype.removeAll=function(){for(var a=R(this.j.pop(),qh,ph);a!=null;)a.g.j(a.j),a=R(this.j.pop(),qh,ph)};rh.prototype.B=["com.google.apps.docsshared.xplat.observable.EventObserverTracker",0];function th(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function uh(a){var b={},c;for(c in a)b[c]=a[c];return b}var vh="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function wh(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 f=0;f<vh.length;f++)c=vh[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function xh(a){this.g=this.J=this.o="";this.A=null;this.G=this.j="";this.v=!1;var b;a instanceof xh?(this.v=a.v,yh(this,a.o),this.J=a.J,this.g=a.g,zh(this,a.A),Ah(this,a.j),Bh(this,a.l.clone()),this.G=a.G):a&&(b=String(a).match(Af))?(this.v=!1,yh(this,b[1]||"",!0),this.J=Ch(b[2]||""),this.g=Ch(b[3]||"",!0),zh(this,b[4]),Ah(this,b[5]||"",!0),Bh(this,b[6]||"",!0),this.G=Ch(b[7]||"")):(this.v=!1,this.l=new Dh(null,this.v))}
|
|
xh.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Eh(b,Fh,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.J)&&a.push(Eh(b,Fh,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.A,c!=null&&a.push(":",String(c));if(c=this.j)this.g&&c.charAt(0)!="/"&&a.push("/"),a.push(Eh(c,c.charAt(0)=="/"?Gh:Hh,!0));(c=this.l.toString())&&a.push("?",c);(c=this.G)&&a.push("#",Eh(c,Ih));return a.join("")};
|
|
xh.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?yh(b,a.o):c=!!a.J;c?b.J=a.J:c=!!a.g;c?b.g=a.g:c=a.A!=null;var d=a.j;if(c)zh(b,a.A);else if(c=!!a.j){if(d.charAt(0)!="/")if(this.g&&!this.j)d="/"+d;else{var e=b.j.lastIndexOf("/");e!=-1&&(d=b.j.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(e.indexOf("./")!=-1||e.indexOf("/.")!=-1){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];h=="."?d&&g==e.length&&f.push(""):h==".."?((f.length>1||f.length==1&&
|
|
f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?Ah(b,d):c=a.l.toString()!=="";c?Bh(b,a.l.clone()):c=!!a.G;c&&(b.G=a.G);return b};xh.prototype.clone=function(){return new xh(this)};function yh(a,b,c){a.o=c?Ch(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function zh(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.A=b}else a.A=null}function Ah(a,b,c){a.j=c?Ch(b,!0):b;return a}
|
|
function Bh(a,b,c){b instanceof Dh?(a.l=b,Jh(a.l,a.v)):(c||(b=Eh(b,Kh)),a.l=new Dh(b,a.v))}function Ch(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Eh(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Lh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Lh(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Fh=/[#\/\?@]/g,Hh=/[#\?:]/g,Gh=/[#\?]/g,Kh=/[#\?@]/g,Ih=/#/g;
|
|
function Dh(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b}function Mh(a){a.g||(a.g=new Map,a.j=0,a.l&&Bf(a.l,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}p=Dh.prototype;p.add=function(a,b){Mh(this);this.l=null;a=Nh(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j=this.j+1;return this};p.remove=function(a){Mh(this);a=Nh(this,a);return this.g.has(a)?(this.l=null,this.j=this.j-this.g.get(a).length,this.g.delete(a)):!1};
|
|
p.clear=function(){this.g=this.l=null;this.j=0};function Oh(a,b){Mh(a);b=Nh(a,b);return a.g.has(b)}p.forEach=function(a,b){Mh(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};p.ga=function(a){Mh(this);var b=[];if(typeof a==="string")Oh(this,a)&&(b=b.concat(this.g.get(Nh(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
|
|
p.set=function(a,b){Mh(this);this.l=null;a=Nh(this,a);Oh(this,a)&&(this.j=this.j-this.g.get(a).length);this.g.set(a,[b]);this.j=this.j+1;return this};p.get=function(a,b){if(!a)return b;a=this.ga(a);return a.length>0?String(a[0]):b};
|
|
p.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.ga(d);for(var f=0;f<d.length;f++){var g=e;d[f]!==""&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.l=a.join("&")};p.clone=function(){var a=new Dh;a.l=this.l;this.g&&(a.g=new Map(this.g),a.j=this.j);return a};function Nh(a,b){b=String(b);a.o&&(b=b.toLowerCase());return b}
|
|
function Jh(a,b){b&&!a.o&&(Mh(a),a.l=null,a.g.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(this.remove(d),this.remove(e),c.length>0)){this.l=null;d=this.g;var f=d.set;e=Nh(this,e);var g=c.length;if(g>0){for(var h=Array(g),k=0;k<g;k++)h[k]=c[k];g=h}else g=[];f.call(d,e,g);this.j=this.j+c.length}},a));a.o=b};function Ph(){var a=x.window;a.onbeforeunload=n();a.location.reload()};function Qh(){this.g=function(){Ph()}}Qh.prototype.notify=function(){window.confirm("This error has been reported to Google and we'll look into it as soon as possible. Please reload this page to continue.")&&this.g()};function Rh(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1}Rh.prototype.stopPropagation=function(){this.j=!0};Rh.prototype.preventDefault=function(){this.defaultPrevented=!0};var Sh=function(){if(!x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=n();x.addEventListener("test",c,b);x.removeEventListener("test",c,b)}catch(d){}return a}();function Th(a,b){Rh.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.g=null;a&&this.init(a,b)}z(Th,Rh);
|
|
Th.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=a.offsetX,this.offsetY=a.offsetY,this.clientX=
|
|
a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.g=a;a.defaultPrevented&&Th.T.preventDefault.call(this)};
|
|
Th.prototype.stopPropagation=function(){Th.T.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};Th.prototype.preventDefault=function(){Th.T.preventDefault.call(this);var a=this.g;a.preventDefault?a.preventDefault():a.returnValue=!1};var Uh="closure_listenable_"+(Math.random()*1E6|0);var Vh=0;function Wh(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ia=e;this.key=++Vh;this.removed=this.da=!1}function Xh(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.ia=null};function Yh(a){this.src=a;this.g={};this.j=0}Yh.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var g=Zh(a,b,d,e);g>-1?(b=a[g],c||(b.da=!1)):(b=new Wh(b,this.src,f,!!d,e),b.da=c,a.push(b));return b};Yh.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=Zh(e,b,c,d);return b>-1?(Xh(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.g[a],this.j--),!0):!1};
|
|
function $h(a,b){var c=b.type;c in a.g&&Ra(a.g[c],b)&&(Xh(b),a.g[c].length==0&&(delete a.g[c],a.j--))}Yh.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.g)if(!a||c==a){for(var d=this.g[c],e=0;e<d.length;e++)++b,Xh(d[e]);delete this.g[c];this.j--}return b};function Zh(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.ia==d)return e}return-1};var ai="closure_lm_"+(Math.random()*1E6|0),bi={},ci=0;function di(a,b,c,d,e){if(d&&d.once)return ei(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)di(a,b[f],c,d,e);return null}c=fi(c);return a&&a[Uh]?a.listen(b,c,Aa(d)?!!d.capture:!!d,e):gi(a,b,c,!1,d,e)}
|
|
function gi(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=Aa(e)?!!e.capture:!!e,h=hi(a);h||(a[ai]=h=new Yh(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=ii();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Sh||(e=g),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ji(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");ci++;return c}
|
|
function ii(){function a(c){return b.call(a.src,a.listener,c)}var b=ki;return a}function ei(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)ei(a,b[f],c,d,e);return null}c=fi(c);return a&&a[Uh]?a.j.add(String(b),c,!0,Aa(d)?!!d.capture:!!d,e):gi(a,b,c,!0,d,e)}
|
|
function li(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)li(a,b[f],c,d,e);else(d=Aa(d)?!!d.capture:!!d,c=fi(c),a&&a[Uh])?a.j.remove(String(b),c,d,e):a&&(a=hi(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Zh(b,c,d,e)),(c=a>-1?b[a]:null)&&mi(c))}
|
|
function mi(a){if(typeof a!=="number"&&a&&!a.removed){var b=a.src;if(b&&b[Uh])$h(b.j,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ji(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ci--;(c=hi(b))?($h(c,a),c.j==0&&(c.src=null,b[ai]=null)):Xh(a)}}}function ji(a){return a in bi?bi[a]:bi[a]="on"+a}
|
|
function ki(a,b){if(a.removed)a=!0;else{b=new Th(b,this);var c=a.listener,d=a.ia||a.src;a.da&&mi(a);a=c.call(d,b)}return a}function hi(a){a=a[ai];return a instanceof Yh?a:null}var ni="__closure_events_fn_"+(Math.random()*1E9>>>0);function fi(a){if(typeof a==="function")return a;a[ni]||(a[ni]=function(b){return a.handleEvent(b)});return a[ni]}Qf(function(a){ki=a(ki)});function oi(a,b){Rh.call(this,a);this.error=b}v(oi,Rh);var pi=/\/d\/([^\/]+)/,qi=/\/r\/([^\/]+)/;function ri(a){a=a.match(Af)[5]||null;return pi.test(a)}function si(a,b){if(ri(a)){ri(a);a=a.match(Af);var c=a[5];c=c.replace(b,"");b=zf(a[1],a[2],a[3],a[4],c,a[6],a[7])}else b=a;return b};function Z(){W.call(this);this.j=new Yh(this);this.Da=this;this.P=null}z(Z,W);Z.prototype[Uh]=!0;p=Z.prototype;p.addEventListener=function(a,b,c,d){di(this,a,b,c,d)};p.removeEventListener=function(a,b,c,d){li(this,a,b,c,d)};
|
|
p.dispatchEvent=function(a){var b=this.P;if(b){var c=[];for(var d=1;b;b=b.P)c.push(b),++d}b=this.Da;d=a.type||a;if(typeof a==="string")a=new Rh(a,b);else if(a instanceof Rh)a.target=a.target||b;else{var e=a;a=new Rh(d,b);wh(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=c[f];e=ti(g,d,!0,a)&&e}a.j||(g=a.currentTarget=b,e=ti(g,d,!0,a)&&e,a.j||(e=ti(g,d,!1,a)&&e));if(c)for(f=0;!a.j&&f<c.length;f++)g=a.currentTarget=c[f],e=ti(g,d,!1,a)&&e;return e};
|
|
p.L=function(){Z.T.L.call(this);this.j&&this.j.removeAll(void 0);this.P=null};p.listen=function(a,b,c,d){return this.j.add(String(a),b,!1,c,d)};function ti(a,b,c,d){b=a.j.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.removed&&g.capture==c){var h=g.listener,k=g.ia||g.src;g.da&&$h(a.j,g);e=h.call(k,d)!==!1&&e}}return e&&!d.defaultPrevented};function ui(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:x.setTimeout(a,b||0)}function vi(){var a=null;return(new X(function(b,c){a=ui(function(){b(void 0)},14E3);a==-1&&c(Error("Failed to schedule timer."))})).na(function(b){x.clearTimeout(a);throw b;})};function wi(a,b,c){W.call(this);this.g=a;this.l=b||0;this.j=c;this.o=y(this.Sa,this)}z(wi,W);p=wi.prototype;p.aa=0;p.L=function(){wi.T.L.call(this);this.stop();delete this.g;delete this.j};p.start=function(a){this.stop();this.aa=ui(this.o,a!==void 0?a:this.l)};p.stop=function(){this.isActive()&&x.clearTimeout(this.aa);this.aa=0};p.isActive=function(){return this.aa!=0};p.Sa=function(){this.aa=0;this.g&&this.g.call(this.j)};function xi(a,b,c,d){W.call(this);this.l=d!=null?d:.15;this.v=a;this.o=b;this.D=c;this.g=new wi(this.gb,void 0,this);this.A=Number.NEGATIVE_INFINITY;this.j=0}v(xi,W);p=xi.prototype;p.isActive=function(){return this.g.isActive()};p.start=function(){yi(this,!1,!1)};function yi(a,b,c){b&&(a.g.stop(),zi(a,a.o));a.isActive()||(b=Math.max(0,a.A+a.j-Date.now()),b==0&&(c?b=zi(a,a.o):a.j=0),a.g.start(b))}p.stop=function(){this.g.stop()};
|
|
function zi(a,b){b>0&&a.l!=0&&(b=Math.floor(b*(1-a.l+Math.random()*a.l*2)));return a.j=b}p.gb=function(){this.A=Date.now();zi(this,Math.min(Math.max(this.j*2,this.o),this.D));this.v()};p.L=function(){this.g.dispose();delete this.g;delete this.v;W.prototype.L.call(this)};function Ai(a){W.call(this);this.j=a;this.g={}}z(Ai,W);var Bi=[];Ai.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Bi[0]=b.toString()),b=Bi);for(var e=0;e<b.length;e++){var f=di(a,b[e],c||this.handleEvent,d||!1,this.j||this);if(!f)break;this.g[f.key]=f}return this};Ai.prototype.removeAll=function(){th(this.g,function(a,b){this.g.hasOwnProperty(b)&&mi(a)},this);this.g={}};Ai.prototype.L=function(){Ai.T.L.call(this);this.removeAll()};
|
|
Ai.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Ci(a,b,c,d,e,f,g){g=g===void 0?!0:g;W.call(this);var h=this;this.g=a;this.g.N=1E4;this.ba=b;this.l=f;this.j=new xi(function(){return h.ra()},3E4,36E5);this.v=0;this.D=null;this.R=new ah("errorsender",1,8,d);Jf(this,this.R);this.P=!1;this.K=null;this.A=new Set;this.H=new Ai(this);this.ca=c||10;this.S=e||null;this.H.listen(this.g,"complete",this.ab);this.H.listen(this.g,"ready",this.ra);this.O=null;this.M=new rh;Jf(this,this.M);this.l&&sh(this.M,this.l.j(),function(){h.l.getState().g>=3&&(h.O=
|
|
(oh(),nh));h.l.getState().g>=3||h.O!==(oh(),nh)||Di(h)});this.N=g;this.U={}}v(Ci,W);p=Ci.prototype;p.send=function(a,b,c,d){Vg(this.ba.get("docs-dafjera"))&&(a=si(si(a,qi),pi));var e=Fg(Fg(Mg(this.o.length),function(f){if(!(f>=this.ca))return this.N&&(a=V(a,"errorSender_enqueueTimeMs",Date.now().toString())),f={},f.u=a,f.m=b,f.c=c,f.h=d,this.enqueue(f)},this),this.ra,this);Hg(e,function(){this.A.delete(e)},this);this.A.add(e)};function Ei(a){return jg(Array.from(a.A.values())).then(n())}
|
|
p.ra=function(){var a=this.l&&this.l.getState().g>=3,b=this.ja()||this.g.isActive()||this.j.isActive()||this.P;return a||b?Mg():Fi(this)};function Fi(a){return function(){return Fg(Mg(a.o[0]!==void 0?a.o[0]:null),function(b){return Gi(a,b)})}()}
|
|
function Gi(a,b){if(a.j.isActive()||a.g.isActive()||a.P)return Mg();if(!b)return a.j.stop(),Mg();if(b.u.length>4E3)return Hi(a);try{ch(a.R);a.K=new yg;var c=b.u;a.S!=null&&(c=V(c,"reportingSessionId",a.S));a.v>0&&(c=V(c,"retryCount",a.v));a.D!=null&&(c=V(c,"previousErrorSendStatus",a.D));a.N&&(c=V(c,"errorSenderType",a.ya()),b.errorSender_frontIndex&&(c=V(c,"errorSender_frontIndex",b.errorSender_frontIndex)),b.errorSender_nextIndex&&(c=V(c,"errorSender_nextIndex",b.errorSender_nextIndex)),b.errorSender_queueSize&&
|
|
(c=V(c,"errorSender_queueSize",b.errorSender_queueSize)));a.U=b;var d=b.m,e=b.c,f=b.h;return Fg(Fg(Hi(a),function(){a.g.send(c,d,e,f)}),function(){return a.K})}catch(g){if(af(g)instanceof $g)a.P=!0;else throw of(g,{"docs-origin-class":"docs.debug.ErrorSender"});}return Mg()}
|
|
p.ab=function(){var a=Ii(this.g),b=this.K,c=Ji(this.g)||a>=400&&a<=500,d=this.v>3;c||d?(this.v=0,this.D=null,this.j.stop(),Fg(Mg(),function(){Ag(b);Bg(b,!0)})):(this.v++,this.D=a===-1?this.g.A:a,Di(this),this.enqueue(this.U),Ag(b),Bg(b,!0))};function Di(a){a.v!=1||a.j.isActive()?a.j.start():yi(a.j,!0,!0)}p.L=function(){If(this.H,this.j,this.g,this.M);this.A.clear();W.prototype.L.call(this)};p.ya=da("BaseErrorSender");function Ki(a,b,c,d,e){Ci.call(this,a,b,c,void 0,d,e,void 0);this.o=[]}v(Ki,Ci);Ki.prototype.enqueue=function(a){this.o.push(a);return Mg()};function Hi(a){a.o.shift();return Mg()}Ki.prototype.ya=da("MemoryErrorSender");Ki.prototype.L=function(){delete this.o;Ci.prototype.L.call(this)};function Li(a){this.g=ld(Rd(),yc(a));a=$c(this.g,1);this.j=Math.floor(Math.random()*100)<a}Li.prototype.toString=function(){var a="{bool="+!(this.j?!Zc(this.g,5):!Zc(this.g,2))+', string="',b=this.j?dd(this.g,6):bd(this.g,3);a=a+(b!=null?String(b):"")+'", int=';b=this.j?hc(H(this.g,7,void 0,Ic)):$c(this.g,4,-1);return a+(b!=null?Number(b):-1)+"}"};function Mi(a){this.g=new Map;this.j=[];if(a=a.get("docs-cei")){var b=a.i;b&&Sa(this.j,b);a=a.cf||{};for(var c in a)this.g.set(c,new Li(a[c]))}}Mi.prototype.get=function(a){return this.g.get(a)||null};function Ni(){for(var a in Array.prototype)return!1;return!0};function hd(a){this.g=a}function kd(a){var b=a.g;if(b==null)return null;if(typeof b==="string")return b;throw new TypeError("Invalid string data <K1cgmc>: "+a.g+" (typeof "+typeof a.g+")");}hd.prototype.toString=function(){var a=kd(this);if(a===null)throw Error("Data K1cgmc not defined.");return a};function Oi(a){this.C=G(a,void 0,void 0,2048)}v(Oi,J);function Pi(a){this.C=G(a,void 0,void 0,2048)}v(Pi,J);function Qi(a){return Vc(a,Oi,Sc(a,Ri,4))}var Ri=[4,5];function jd(a){this.C=G(a,void 0,void 0,2048)}v(jd,J);function Si(a){return Vc(a,Pi,1)};function Ti(){this.g=gd()}
|
|
Ti.prototype.Z=function(){var a=new Map,b,c=(b=this.g)==null?void 0:Qi(Si(b));if(c==null?0:fc(H(c,2))!=null){var d;(b=(d=cd(c,2))==null?void 0:d.toString())&&a.set("canaryanalysisservertestgroup",b);if(c==null)var e=void 0;else if((c=Wc(c,Nd,3))==null)e=void 0;else{d=Number;e=e===void 0?"0":e;b=H(c,1,void 0,void 0,lc);var f=f===void 0?!1:f;var g=typeof b;b==null?f=b:g==="bigint"?f=String(Xb(64,b)):dc(b)?g==="string"?(f=b,dc(f),b=$b(Number(f)),Yb(b)?f=String(b):(b=f.indexOf("."),b!==-1&&(f=f.substring(0,
|
|
b)),f=ic(f))):f=f?kc(b):jc(b):f=void 0;e=d(f!=null?f:e);c=$c(c,2);e=(new Date(e*1E3+c/1E6)).valueOf().toString()}e&&a.set("serverstarttimemillis",e)}var h,k;(e=(h=this.g)==null?void 0:(k=Wc(h,Pi,1))==null?void 0:cd(k,6))&&a.set("clientApp",String(e));return a};function Ui(a,b){this.width=a;this.height=b}p=Ui.prototype;p.clone=function(){return new Ui(this.width,this.height)};p.aspectRatio=function(){return this.width/this.height};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Vi(a){var b=document;a=String(a);b.contentType==="application/xhtml+xml"&&(a=a.toLowerCase());return b.createElement(a)};function Wi(){}Wi.prototype.Z=function(){var a=new Map;Xi()&&a.set("apps_telemetry.screen_tampered","true");a:{var b=w(Array.prototype);for(b=b.next();!b.done;b=b.next()){b=!0;break a}b=!1}b&&a.set("apps_telemetry.array_prototype_tampered","true");Yi()||a.set("apps_telemetry.canvas_creation_broken","true");!Zi()&&x.navigator&&x.navigator.webdriver&&a.set("apps_telemetry.webdriver","true");return a};
|
|
function Xi(){if(Zi())return!1;var a=x.screen,b=!(a instanceof Screen);if(Ua||Ta)return b;try{var c=n();a.addEventListener("change",c);a.removeEventListener("change",c)}catch(d){b=!0}return b}function Yi(){function a(b){try{var c=new Ui(1,500);return(b?Vi("CANVAS"):new OffscreenCanvas(c.width,c.height)).getContext("2d")!=null}catch(d){return!1}}return a(!1)&&(Zi()||a(!0))}function Zi(){return"WorkerGlobalScope"in x&&self instanceof x.WorkerGlobalScope};var $i=[],aj=[],bj=[RegExp("^_0x[a-f0-9]{6} is not defined$"),RegExp("[Zz]otero"),RegExp('^Not found$|^Unknown Error of type "string": Not found$')],cj="egfdjlfmgnehecnclamagfafdccgfndp mndnfokpggljbaajbnioimlmbfngpief mlkejohendkgipaomdopolhpbihbhfnf kgonammgkackdilhodbgbmodpepjocdp klbcgckkldhdhonijdbnhhaiedfkllef pmehocpgjmkenlokgjfkaichfjdhpeol cjlaeehoipngghikfjogbdkpbdgebppb ghbmnnjooekpmoecnnnilnnbdlolhkhi lmjegmlicamnimmfhcmpkclmigmmcbeh gmbmikajjgmnabiglmofipeabaddhgne lpcaedmchfhocbbapmcbpinfpgnhiddi gbkeegbaiigmenfmjfclcdgdpimamgkj adokjfanaflbkibffcbhihgihpgijcei".split(" "),
|
|
dj=[RegExp("chrome-extension://([^/]+)","g"),RegExp("moz-extension://([^/]+)","g"),RegExp("ms-browser-extension://([^/]+)","g"),RegExp("webkit-masked-url://([^/]+)","g"),RegExp("safari-web-extension://([^/]+)","g")],ej=[RegExp("^Permission denied$"),RegExp("index out of range: \\d+ \\+ \\d+ > \\d+"),RegExp("getReadMode(Config|Render|Extract)")],fj=[RegExp("at file:///|@file:///|phantomjs|node:electron|py-scrap|eval code|Program Files")],gj=[RegExp("Script https://meet\\.google\\.com/.*meetsw.*load failed"),
|
|
RegExp("A bad HTTP response code \\(\\d+\\) was received when fetching the script")],hj=[RegExp("Error loading.*Consecutive load failures"),RegExp("Failed to load module.*Consecutive load failures")];function ij(a,b){this.oa=a;this.fa=b}function jj(a,b){return(b=a.g(b))?{oa:a.oa,fa:a.fa,ta:b.toUpperCase()}:null};function kj(){ij.call(this,1,1)}v(kj,ij);kj.prototype.g=function(a){a:{a=lj(a);for(var b=!1,c=w(dj),d=c.next();!d.done;d=c.next()){d=a.matchAll(d.value);d=w(d);for(var e=d.next();!e.done;e=d.next())if(e=e.value[1]){if(cj.includes(e)){a=!1;break a}b=!0}}a=b}return a?"warning":null};function mj(a,b,c,d,e){e=e===void 0?new Map:e;this.message=a;this.g=b;this.cause=c;this.j=d;this.l=e}function nj(a){return(a=a.cause)?a.message+"\n"+a.g+"\n"+nj(a):""}function lj(a){return a.message+"\n"+a.g+"\n"+nj(a)}function oj(){this.l=this.g=this.message="";this.j=new Map}function pj(a,b){a.message=b;return a}function qj(a){return new mj(a.message,a.g,a.cause,a.l,a.j)};function rj(a){return a instanceof Error||a&&a.message!==void 0?a.message:sj(a)}function tj(a){return a instanceof Error||a&&a.stack!==void 0?a.stack||"":""}function uj(a,b){var c=a&&a.cause!==void 0;if(b>=3||!c)return null;c=new oj;a=a.cause;if(a instanceof Error||a.message!==void 0&&a.stack!==void 0){if(pj(c,rj(a)),c.g=tj(a),b=uj(a,b+1))c.cause=b}else pj(c,sj(a));return qj(c)}function sj(a){try{return a&&a instanceof Object?JSON.stringify(a):String(a)}catch(b){return String(a)}}
|
|
function vj(a,b,c){c=c===void 0?new Map:c;var d=pj(new oj,rj(a));d.g=tj(a);d.j=c;if(a=uj(a,0))d.cause=a;b&&(d.l=b);return qj(d)};function wj(a,b){ij.call(this,a,b)}v(wj,ij);wj.prototype.g=function(a){var b=a.l.get("apps_telemetry.cross_origin_scripts");b=typeof b==="string"&&b.includes("infird.com");return lj(a).includes("Cannot read properties of undefined (reading 'addListener')")&&b?"warning":null};function xj(a,b,c,d){ij.call(this,c,d);this.j=a;this.l=b}v(xj,ij);xj.prototype.g=function(a){var b=nj(a);return yj(a.message,this.j)||yj(a.g,this.l)||yj(b,this.j)||yj(b,this.l)?"warning":null};function yj(a,b){b=w(b);for(var c=b.next();!c.done;c=b.next())if(c.value.test(a))return!0;return!1};function zj(a,b,c,d,e){ij.call(this,c,d);this.j=a;this.l=b;this.matchType=e}v(zj,ij);zj.prototype.g=function(a){switch(this.matchType){case 0:a:{a=a.message;for(var b=w(this.j),c=b.next();!c.done;c=b.next())if(a===c.value){a=!0;break a}a=!1}return a?"warning":null;case 1:a:{a=a.message;b=w(this.j);for(c=b.next();!c.done;c=b.next())if(a.startsWith(c.value)){a=!0;break a}a=!1}return a?"warning":null;case 2:return a=lj(a),Aj(a,this.j)||Aj(a,this.l)?"warning":null;default:return null}};
|
|
function Aj(a,b){b=w(b);for(var c=b.next();!c.done;c=b.next())if(a.includes(c.value))return!0;return!1}function Bj(a,b,c){return new zj(a,b,c,0,2)};function Cj(a,b,c){ij.call(this,a,b);this.l=["SEVERE","FATAL"];this.j=!1;this.o=c()}v(Cj,ij);Cj.prototype.g=function(a){a=this.l.includes(a.j.toUpperCase());if(this.o||!a)return null;a=this.j;this.j=!0;return a?"severe_after_initial":"unsupported_severe"};var Dj=[new kj,Bj("Trusted Type;TrustedHTML;TrustedScript;cannot communicate with background;zaloJSV2;kaspersky-labs;@user-script;Object Not Found Matching Id;contextChanged;Not implemented on this platform;Extension context invalidated;neurosurgeonundergo;realTimeClData;Failed to execute 'querySelectorAll' on 'Document';Promise.all(...).then(...).catch(...).finally is not a function;Error executing Chrome API, chrome.tabs;Identifier 'originalPrompt' has already been declared;User rejected the request;Could not inject ethereum provider because it's not your default extension;Cannot redefine property: googletag;Can't find variable: HTMLDialogElement;Identifier 'listenerName' has already been declared;Cannot read properties of undefined (reading 'info');Permission denied to access property \"type\";Error: Promise timed out;Request timeout ToolbarStatus;Can't find variable: nc;imtgo;ton is not a function;__renderMessageNode is not defined;Cannot redefine property: ethereum;unknown action:;Receiving end does not exist;get-frame-manager-configuration;Key not found;'isAWS';Identifier 'contentScriptListenerRegistered' has already been declared".split(";"),
|
|
"puppeteer-core;kaspersky-labs;@user-script;jsQuilting;linkbolic;neurosurgeonundergo;tlscdn;https://cdnjs.cloudflare.com/ajax/libs/mathjax/;secured-pixel.com;Can't find variable: nc;imtgo;_simulateEvent;goguardian".split(";"),1),new xj(bj,aj,1,0),Bj('status is 0, navigator.onLine =;Network sync is disabled. Aborting a network request of int type;The service is currently unavailable.;Internal error encountered.;data does not exist in AF cache;There was an error during the transport or processing of this request;Failed to load gapi;Rpc failed due to xhr error. error code: 6, error: [0];An interceptor has requested that the request be retried;8,"generic";A network error occurred;NetworkError: Connection failure due to HTTP 401'.split(";"),
|
|
$i,2),new xj(ej,fj,3,0),Bj("Kg is not defined;uncaught error;The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.;Illegal invocation;Script error;zCommon;can't access dead object;Java exception was raised during method invocation;pauseVideo is not a function;ResizeObserver loop;wallet must has at least one account;xbrowser is not defined;jQuery is not defined;Cannot read properties of null (reading 'requestAnimationFrame');Class extends value undefined is not a constructor or null;GM3TooltipService: No tooltip with id;Mole was disposed;getInitialTopicListResponse is missing for stream rendering;getPeopleById call preempted;The operation is insecure;class heritage;The play() request was interrupted;args.site.enabledFeatures is undefined;frappe is not defined;Cannot set properties of undefined (setting 'hidden');Identifier 'checkOngoingMeeting' has already been declared;AutofillCallbackHandler;invalid wire type;zp_token;isReCreate;HTMLOUT is not defined;Shopify root is null;CanvasMaskingStrategy_Redact;_chromeNamespace;feature named `performanceMetrics`;feature named `webCompat`;enableDidUserTypeOnKeyboardLogging;Cannot redefine property: webdriver;reCAPTCHA Timeout;feature named `pageObserver` was not found;feature named `hover` was not found;Request timeout appSettingsDistributor.getValue;TimeoutError: operation timed out".split(";"),
|
|
["postUserData","inline.cdn.mcas.ms"],3),new xj(gj,aj,5,0),Bj("Service worker registration is disabled by MDA;An unknown error occurred when fetching the script;Operation has been aborted;Timed out while trying to start the Service Worker;The Service Worker system has shutdown;The user denied permission to use Service Worker;The script resource is behind a redirect, which is disallowed;The document is in an invalid state;ServiceWorker script evaluation failed;ServiceWorker cannot be started;Failed to access storage;Worker disallowed;encountered an error during installation".split(";"),
|
|
$i,5),new xj(hj,hj,4,0),Bj(["Timeout reached for loading script https://www.gstatic.com/_/apps-fileview/_/js/","Error while loading script https://www.gstatic.com/_/apps-fileview/_/js/"],$i,4)],Ej=new Set(["SEVERE","SEVERE_AFTER_INITIAL","UNKNOWN","FATAL",""]);function Fj(a){this.j=a;this.g=!1}
|
|
function Gj(a,b,c,d){var e=[Error("uncaught error").message];c=c===void 0?!1:c;d=d===void 0?da(!0):d;var f=[];b.length>0&&f.push(Hj(b));f.push.apply(f,pa(Dj));a=w(a);for(b=a.next();!b.done;b=a.next())f.push(b.value);e.length>0&&f.push(new zj(e,[],3,5,0));f.push(new wj(3,0));c&&f.push(new Cj(8,0,d));return new Fj(f)}
|
|
function Ij(a,b){var c="missing",d=new Map,e=!0;try{c=b.j;a.g&&d.set("apps_telemetry.after_downgraded_severe","true");for(var f=w(a.j),g=f.next();!g.done;g=f.next()){var h=g.value;try{var k=jj(h,b);if(k){var l=c,m=Jj(a,c)?k.ta:c;Kj(k,l,m).forEach(function(t,u){d.set(u,t)});c=m;break}}catch(t){e=!1;var r=vj(t,c);d.set("apps_telemetry.handling_error",lj(r)+"\n\nclassifier: "+h.constructor.name)}}}catch(t){e=!1,a=vj(t,c),d.set("apps_telemetry.handling_error",lj(a))}d.set("apps_telemetry.processed",String(e));
|
|
return{ta:c,Ta:d}}function Kj(a,b,c){var d=new Map;d.set("apps_telemetry.classification",a.oa.toString());d.set("apps_telemetry.classification_code",a.fa?a.fa.toString():"");d.set("apps_telemetry.incoming_severity",b);d.set("apps_telemetry.outgoing_severity",c);return d}function Jj(a,b){return Ej.has(b.toUpperCase())?a.g=!0:!1}function Hj(a){var b=[];a=w(a);for(var c=a.next();!c.done;c=a.next())b.push(new RegExp(c.value));return new xj(b,b,7,0)};function Lj(){}Lj.prototype.Z=function(){if("WorkerGlobalScope"in x&&self instanceof x.WorkerGlobalScope)return new Map;try{var a=Array.from(document.querySelectorAll("script")).filter(this.j).slice(0,30).map(this.g).join("\n")}catch(b){a="Error getting cross-origin scripts"}return(new Map).set("apps_telemetry.cross_origin_scripts",a)};
|
|
Lj.prototype.j=function(a){var b=new RegExp(/^(?:https?:\/\/)?(?:[a-zA-Z0-9-]+\.)*google\.com(?:$|[\/#?])/);return(a=a.getAttribute("src"))?!(a.startsWith("/")||b.test(a)):!1};Lj.prototype.g=function(a){return a.innerHTML?a.outerHTML.slice(0,a.outerHTML.indexOf(a.innerHTML)):a.outerHTML};function Mj(){}Mj.prototype.Z=function(){try{var a=performance.getEntriesByType("resource").slice(-5).map(function(b){return Gf(b.name)}).join("\n")}catch(b){a="Error getting last 5 resources"}return(new Map).set("apps_telemetry.resources",a)};/*
|
|
|
|
Math.uuid.js (v1.4)
|
|
http://www.broofa.com
|
|
mailto:robert@broofa.com
|
|
Copyright (c) 2010 Robert Kieffer
|
|
Dual licensed under the MIT and GPL licenses.
|
|
*/
|
|
var Nj="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function Oj(){var a=[],b;a[8]=a[13]=a[18]=a[23]="-";a[14]="4";for(b=0;b<36;b++)if(!a[b]){var c=0|Math.random()*16;a[b]=Nj[b==19?c&3|8:c]}return a.join("")};function Pj(a,b,c,d){var e=Qj;a=a===void 0?[]:a;b=b===void 0?[]:b;c=c===void 0?[]:c;this.l=Gj(a,b,d===void 0?!1:d,e===void 0?da(!0):e);this.g=[new Wi,new Lj,new Mj];this.g.push.apply(this.g,pa(c));this.j=Oj()}function Rj(a,b,c,d){d["apps_telemetry.session_id"]=a.j;"apps_telemetry.processed"in d&&(d["apps_telemetry.multi_processed"]="true");var e=a.Z();(a=Sj(a,b,c,e))&&Tj(e,a.Ta);e.forEach(function(g,h){d[h]=g});var f;return(f=a==null?void 0:a.ta)!=null?f:c}
|
|
function Sj(a,b,c,d){var e=null;try{e=Ij(a.l,vj(b,c,d))}catch(f){return Uj(d,f,"apps_telemetry.processed"),null}return e}Pj.prototype.Z=function(){var a=new Map;try{for(var b=w(this.g),c=b.next();!c.done;c=b.next())c.value.Z().forEach(function(d,e){a.set(e,d)})}catch(d){Uj(a,d,"apps_telemetry.annotated")}return a};function Tj(a,b){b.forEach(function(c,d){a.set(d,c)})}function Uj(a,b,c){a.set(c,"false");a.set("apps_telemetry.handling_error",sj(b))};var Vj=new Set([1,6,7,2,0]);function Qj(){var a=Qi(Si(gd())),b=cd(a,1),c=cd(a,5);return[b,c].every(function(d){return Vj.has(d)})};function Wj(a){var b=a=a===void 0?{}:a;a=b.xa===void 0?[]:b.xa;var c=b.hb===void 0?[]:b.hb,d=b.fb===void 0?[]:b.fb,e=b.cb===void 0?[]:b.cb;b=b.eb===void 0?[]:b.eb;try{var f=Md(Od),g=void 0===Cb?2:4,h=void 0,k=f.C,l=k[C]|0,m=zb(f,l)?1:g;h=!!h||m===3;m===2&&Fc(f)&&(k=f.C,l=k[C]|0);var r=Pc(k,1),t=r===ub?7:r[C]|0,u=Qc(t,l);if(f=4&u?!1:!0){4&u&&(r=Array.prototype.slice.call(r),t=0,u=Oc(u,l),l=Lc(k,l,1,r));for(var N=g=0;g<r.length;g++){var I=mc(r[g]);I!=null&&(r[N++]=I)}N<g&&(r.length=N);I=u|=4;I&=-513;
|
|
u=I&-1025;u&=-4097}u!==t&&(D(r,u),2&u&&Object.freeze(r));var ca=r=Mc(r,u,k,l,1,m,f,h)}catch(Ab){ca=[]}try{var Xa=Md(Pd)}catch(Ab){Xa=!1}k=[];c.length>0&&k.push(Bj(c,[],6));d.length>0&&k.push(new xj(d,[],6,0));e.length>0&&k.push(new zj(e,[],6,5,0));b.length>0&&k.push(new zj(b,[],6,5,1));return new Pj(k,ca,[new Ti].concat(pa(a)),Xa)};function Xj(a){a=a===void 0?{}:a;return Wj(a)};try{var Yj,Zj,ak=(Zj=(Yj=window)==null?void 0:Yj.top)!=null?Zj:x;ak.U3bHHf!=null||(ak.U3bHHf=0);ak.U3bHHf++}catch(a){x.U3bHHf!=null||(x.U3bHHf=0),x.U3bHHf++};"#".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08");function bk(a,b){var c=a.__wiz;c||(c=a.__wiz={});return c[b.toString()]};/*
|
|
|
|
Copyright 2024 Google, Inc
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var ck={};var dk={};function ek(a){var b=document.body,c=Ja(b.getAttribute("jsaction")||"");var d=["u0pjoe"];for(var e=w(d),f=e.next();!f.done;f=e.next()){f=f.value;var g;if(g=c){var h=ck[g];h?g=!!h[f.toString()]:(h=dk[f.toString()],h||(h=new RegExp("(^\\s*"+f+"\\s*:|[\\s;]"+f+"\\s*:)"),dk[f.toString()]=h),g=h.test(g))}else g=!1;g||(c&&!/;$/.test(c)&&(c+=";"),c+=f+":.CLIENT",fk(b,c));(g=bk(b,f))?g.push(a):b.__wiz[f.toString()]=[a]}return{et:d,Pa:a,el:b}}
|
|
function fk(a,b){a.setAttribute("jsaction",b);"__jsaction"in a&&delete a.__jsaction};function gk(a){W.call(this);this.j=a}z(gk,W);gk.prototype.g=function(a){return hk(this,a)};function ik(a,b){a=Object.prototype.hasOwnProperty.call(a,Ba)&&a[Ba]||(a[Ba]=++Ca);return(b?"__wrapper_":"__protected_")+a+"__"}function hk(a,b){var c=ik(a,!0);b[c]||((b[c]=jk(a,b))[ik(a,!1)]=b);return b[c]}function jk(a,b){function c(){if(a.ja())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){kk(a,d)}}c[ik(a,!1)]=b;return c}
|
|
function kk(a,b){if(!(b&&typeof b==="object"&&typeof b.message==="string"&&b.message.indexOf("Error in protected function: ")==0||typeof b==="string"&&b.indexOf("Error in protected function: ")==0))throw a.j(b),new lk(b);}function mk(a){var b=b||x.window||x.globalThis;"onunhandledrejection"in b&&(b.onunhandledrejection=function(c){kk(a,c&&c.reason?c.reason:Error("uncaught error"))})}
|
|
function nk(a,b){var c=x.window||x.globalThis,d=c[b];if(!d)throw Error(b+" not on global?");c[b]=function(e,f){typeof e==="string"&&(e=Fa(Ga,e));e&&(arguments[0]=e=hk(a,e));if(d.apply)return d.apply(this,arguments);var g=e;if(arguments.length>2){var h=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,h)}}return d(g,f)};c[b][ik(a,!1)]=d}
|
|
gk.prototype.L=function(){var a=x.window||x.globalThis;var b=a.setTimeout;b=b[ik(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[ik(this,!1)]||b;a.setInterval=b;gk.T.L.call(this)};function lk(a){A.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&typeof a==="string"&&(this.stack=a)}z(lk,A);function ok(){Z.call(this);this.headers=new Map;this.l=!1;this.g=null;this.M="";this.A=0;this.v=this.K=this.D=this.H=!1;this.N=0;this.o=null;this.O="";this.R=!1}z(ok,Z);var pk=/^https?$/i,qk=["POST","PUT"],rk=[];p=ok.prototype;p.Qa=function(){this.dispose();Ra(rk,this)};
|
|
p.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.M+"; newUri="+a);b=b?b.toUpperCase():"GET";this.M=a;this.A=0;this.H=!1;this.l=!0;this.g=new XMLHttpRequest;this.g.onreadystatechange=Kf(y(this.Aa,this));try{this.K=!0,this.g.open(b,String(a),!0),this.K=!1}catch(g){sk(this);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get===
|
|
"function"){e=w(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});e=x.FormData&&a instanceof x.FormData;!(Array.prototype.indexOf.call(qk,b,void 0)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=w(c);for(d=b.next();!d.done;d=b.next())c=w(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,
|
|
c);this.O&&(this.g.responseType=this.O);"withCredentials"in this.g&&this.g.withCredentials!==this.R&&(this.g.withCredentials=this.R);try{this.o&&(clearTimeout(this.o),this.o=null),this.N>0&&(this.o=setTimeout(this.ib.bind(this),this.N)),this.D=!0,this.g.send(a),this.D=!1}catch(g){sk(this)}};p.ib=function(){typeof va!="undefined"&&this.g&&(this.A=8,this.dispatchEvent("timeout"),this.abort(8))};function sk(a){a.l=!1;a.g&&(a.v=!0,a.g.abort(),a.v=!1);a.A=5;tk(a);uk(a)}
|
|
function tk(a){a.H||(a.H=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}p.abort=function(a){this.g&&this.l&&(this.l=!1,this.v=!0,this.g.abort(),this.v=!1,this.A=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),uk(this))};p.L=function(){this.g&&(this.l&&(this.l=!1,this.v=!0,this.g.abort(),this.v=!1),uk(this,!0));ok.T.L.call(this)};p.Aa=function(){this.ja()||(this.K||this.D||this.v?vk(this):this.sa())};p.sa=function(){vk(this)};
|
|
function vk(a){if(a.l&&typeof va!="undefined")if(a.D&&(a.g?a.g.readyState:0)==4)setTimeout(a.Aa.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.l=!1;try{Ji(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.A=6,tk(a))}finally{uk(a)}}}function uk(a,b){if(a.g){a.o&&(clearTimeout(a.o),a.o=null);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}}p.isActive=function(){return!!this.g};
|
|
function Ji(a){var b=Ii(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=b===0)a=String(a.M).match(Af)[1]||null,!a&&x.self&&x.self.location&&(a=x.self.location.protocol.slice(0,-1)),b=!pk.test(a?a.toLowerCase():"");c=b}return c}function Ii(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}}Qf(function(a){ok.prototype.sa=a(ok.prototype.sa)});function wk(a,b,c){Z.call(this);this.v=b||null;this.o={};this.A=xk;this.H=a;if(!c){this.g=null;this.g=new gk(y(this.l,this));nk(this.g,"setTimeout");nk(this.g,"setInterval");a=this.g;b=x.window||x.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&nk(a,e)}a=this.g;Pf=!0;b=y(a.g,a);for(c=0;c<Nf.length;c++)Nf[c](b);Of.push(a)}}z(wk,Z);
|
|
function yk(a,b){Rh.call(this,"c");this.error=a;this.W=b}z(yk,Rh);function zk(a,b){return new wk(a,b,void 0)}function xk(a,b,c,d){if(d instanceof Map){var e={};d=w(d);for(var f=d.next();!f.done;f=d.next()){var g=w(f.value);f=g.next().value;g=g.next().value;e[f]=g}}else e=d;d=new ok;rk.push(d);d.j.add("ready",d.Qa,!0,void 0,void 0);d.send(a,b,c,e)}function Ak(a,b){a.A=b}
|
|
wk.prototype.l=function(a,b){a=a.error||a;b=b?uh(b):{};a instanceof Error&&wh(b,fb(a));var c=hf(a);if(this.v)try{this.v(c,b)}catch(t){}var d=c.message.substring(0,1900);if(!(a instanceof A)||a.g){var e=c.fileName,f=c.lineNumber;a=c.stack;try{var g=V(this.H,"script",e,"error",d,"line",f);a:{for(var h in this.o){var k=!1;break a}k=!0}if(!k){k=g;var l=Ff(this.o);g=Cf(k,l)}l={};l.trace=a;if(b)for(var m in b)l["context."+m]=b[m];var r=Ff(l);this.A(g,"POST",r,this.D)}catch(t){}}try{this.dispatchEvent(new yk(c,
|
|
b))}catch(t){}};wk.prototype.L=function(){Hf(this.g);wk.T.L.call(this)};function Bk(){this.g=Date.now()}var Ck=null;Bk.prototype.set=function(a){this.g=a};Bk.prototype.reset=function(){this.set(Date.now())};Bk.prototype.get=ba("g");function Dk(a){this.o=a||"";Ck||(Ck=new Bk);this.v=Ck}Dk.prototype.g=!0;Dk.prototype.j=!0;Dk.prototype.l=!1;function Ek(a){return a<10?"0"+a:String(a)}function Fk(a){Dk.call(this,a)}z(Fk,Dk);
|
|
function Gk(a,b){var c=[];c.push(a.o," ");if(a.j){var d=c.push,e=new Date(b.l());d.call(c,"[",Ek(e.getFullYear()-2E3)+Ek(e.getMonth()+1)+Ek(e.getDate())+" "+Ek(e.getHours())+":"+Ek(e.getMinutes())+":"+Ek(e.getSeconds())+"."+Ek(Math.floor(e.getMilliseconds()/10)),"] ")}d=c.push;e=a.v.get();e=(b.l()-e)/1E3;var f=e.toFixed(3),g=0;if(e<1)g=2;else for(;e<100;)g++,e*=10;for(;g-- >0;)f=" "+f;d.call(c,"[",f,"s] ");c.push("[",b.j(),"] ");c.push(b.getMessage());a.l&&(b=b.g(),b!==void 0&&c.push("\n",b instanceof
|
|
Error?b.message:String(b)));a.g&&c.push("\n");return c.join("")};function Hk(a){a=a===void 0?new Ik:a;Z.call(this);var b=this;this.O={};this.g=null;this.l={};this.M=new Ai(this);this.Ra=a.J;this.R=a.M;this.Ha=a.H;this.Oa=a.G;this.Ia=a.P;var c=a.j,d=a.K;this.Fa=a.o||Xj({xa:d});this.Na=a.N;this.S=new Qh;d=new ok;Jk(this,c);this.A=new Ki(d,c,void 0,void 0,void 0);Jf(this,this.A);this.o=a.g?a.g:Zg(c,"docs-sup")+Zg(c,"docs-jepp")+"/jserror";if(d=Zg(c,"jobset"))this.o=V(this.o,"jobset",d);if(d=Zg(c,"docs-ci"))this.o=V(this.o,"id",d);d=Zg(c,"docs-pid");Vg(c.get("docs-eaotx"))&&
|
|
d&&(this.o=V(this.o,"ouid",d));this.ca=Yg(c,"docs-srmoe")||0;this.Ka=Vg(c.get("docs-oesf"));this.wa=Yg(c,"docs-srmour")||0;this.Ma=Vg(c.get("docs-oursf"));d=a.v||this.wa>0&&Math.random()<this.wa;this.Ja=Vg(c.get("docs-wesf"));Kk(this);xg=function(g){return Lk(b,g,"promise rejection")};var e=Yg(c,"docs-srmdue")||0;if(e>0&&Math.random()<e){var f=Vg(c.get("docs-duesf"));Eg=function(g){Lk(b,g,"deferred error",f,"isDeferredUnhandledErrback")}}else Eg=n();e=Yg(c,"docs-srmxue")||0;e=e>0&&Math.random()<e;
|
|
c.get("docs-xduesf");e&&$e();d&&(d=new gk(function(g){var h={};h=(h.isUnhandledRejection="true",h);b.Ma?Mk(b,g,h):b.info(g,h)}),mk(d),Jf(this,d));this.K=null;typeof document!=="undefined"&&document.body&&(this.K=ek(function(g){var h={};h=(h.isWizError="true",h);g=w(g.data.errors);for(var k=g.next();!k.done;k=g.next())k=k.value.error,b.Ja?Mk(b,k,h):b.info(k,h)}));this.N=a.l;this.D=!1;this.H=!0;this.v=!1;this.ba=Zg(c,"docs-jern");this.Ga=a.D;this.Ea=a.A.concat(Object.values(Xe))}v(Hk,Z);
|
|
function Kk(a){var b=b===void 0?!1:b;if(Nk){if(Ok!=null)throw Error('ErrorReporter already installed. at "'+Ok.stack+'"');throw Error("ErrorReporter already installed.");}Nk=!0;Ok=Error();a.g=zk(a.o,function(e,f){return Pk(a,e,f)});var c={};a.Ha&&(c["X-No-Abort"]="1");a.g.D=c;Ak(a.g,function(e,f,g,h){a.H&&a.A.send(e,f,g,h)});if(a.ca>0&&Math.random()<a.ca){c={};var d=(c.isWindowOnError="true",c);a.Ka?gf(function(e){Mk(a,e.error instanceof Error?e.error:Error(e.message),d)}):gf(function(e){a.log(e.error instanceof
|
|
Error?e.error:Error(e.message),d)})}a.M.listen(a.g,"c",function(e){e.W.severity=e.W["severity-unprefixed"]||e.W.severity;var f=e.W.severity;(f=f=="fatal"||f=="postmortem")&&!a.Oa&&(!a.Ra||(b===void 0?0:b)?a.S.notify(void 0,e.W):a.S.notify(e,e.W));a.dispatchEvent(new oi(f?"a":"b",e.error,e.W))})}function Jk(a,b){b=new Mi(b);var c=b.g,d;for(d in c){var e=c[d];e&&(a.l["expflag-"+d]=e.toString())}a.l.experimentIds=b.j.join(",")}
|
|
function Mk(a,b,c){a.v=!1;Qk(b,"fatal");if(!a.g){if(b instanceof Ne)throw b.g;throw of(b);}a.g.l(b,Rk(a,b,c));if(a.Ia){c=Rk(a,b,c);c.is_forceFatal=1;var d=b instanceof Ne?b.g:b;Pk(a,d,c);b=of(d);a=", context:"+JSON.stringify(Rk(a,d,c));b.message+=a;throw b;}}function Sk(a,b,c){a.v=!1;Qk(b,"warning");a.g&&a.g.l(b,Rk(a,b,c))}Hk.prototype.info=function(a,b,c){this.v=c||!1;Qk(a,"incident");this.g&&this.g.l(a,Rk(this,a,b))};
|
|
Hk.prototype.log=function(a,b,c){this.v=!!c;Qk(a,"incident");this.g&&this.g.l(a,Rk(this,a,b))};
|
|
function Lk(a,b,c,d,e){d=d===void 0?!0:d;if(b&&typeof b==="object"&&b.type==="error"){var f=b.error;b=JSON.stringify({error:f&&f.message?f.message:"Missing error cause.",stack:f&&f.stack?f.stack:"Missing error cause.",message:b.message,filename:b.filename,lineno:b.lineno,colno:b.colno,type:b.type});c=Error("Unhandled "+c+" with ErrorEvent: "+b)}else c=typeof b==="string"?Error("Unhandled "+c+" with: "+b):typeof b==="number"?Error("Unhandled "+c+" with number: "+b):b==null?Error("Unhandled "+c+' with "null/undefined"'):
|
|
b;b={};e&&(b[e]="true");d?Ia(c):a.info(c,b)}function Rk(a,b,c){b instanceof Ne&&(b=b.g);c=c?uh(c):{};c.severity=fb(b).severity;a.R&&(c.errorGroupId=a.R);if(!(b instanceof Error||Object.prototype.toString.call(b)!=="[object Object]")){a=c;for(var d=JSON,e=d.stringify,f={},g=Object.keys(b),h=0,k=0;k<g.length&&h<10;k++){var l=g[k];try{typeof b[l]!=="function"&&(f[l]=String(b[l]).substring(0,100),h++)}catch(m){}}a.unknownErrorContent=e.call(d,f)}return c}
|
|
function Pk(a,b,c){var d=a.D;try{a.U(b,c)}catch(f){throw d&&!a.N&&(a.H=!1),a.D=!0,c.provideLogDataError=f.message,c.severity||(c.severity="fatal"),of(f);}finally{if(c["severity-unprefixed"]=c.severity||"fatal",c.severity=""+c["severity-unprefixed"],!a.Ga)for(var e in c)typeof c[e]==="number"||c[e]instanceof Number||typeof c[e]==="boolean"||c[e]instanceof Boolean||a.Ea.includes(e)||e in c&&delete c[e]}}
|
|
Hk.prototype.U=function(a,b){for(var c in this.O)try{b[c]=this.O[c](a)}catch(g){}Object.assign(b,this.l);if((yf(),0)>0){var d=new Fk,e="";xf(function(g){e+=Gk(d,g)});b.clientLog=e}c=b.severity||"fatal";this.Na||(c=Rj(this.Fa,a,c,b));this.ba&&(b.reportName=this.ba+"_"+c);b.isArrayPrototypeIntact=Ni().toString();if(!("WorkerGlobalScope"in x&&self instanceof x.WorkerGlobalScope)){try{var f=!!document.getElementById("docs-editor")}catch(g){f=!1}b.isEditorElementAttached=f.toString()}b.documentCharacterSet=
|
|
document.characterSet;b.origin=String(x.origin);f=a.stack||"";if(f.trim().length==0||f=="Not available")b["stacklessError-reportingStack"]=nf(Hk.prototype.U),[a.message].concat(pa(Object.keys(b)),pa(Object.values(b))).some(function(g){return g&&g.includes("<eye3")})||(b.eye3Hint="<eye3-stackless title='Stackless JS Error - "+a.name+"'/>");this.D&&!this.N?(this.H=this.v,c=="fatal"?c="postmortem":c=="incident"&&(c="warningafterdeath")):c=="fatal"&&(this.D=!0);this.v=!1;b.severity=c};
|
|
Hk.prototype.L=function(){Nk=!1;if(this.K)for(var a=this.K,b=w(a.et),c=b.next();!c.done;c=b.next()){c=c.value;var d=bk(a.el,c);if(d&&(Ra(d,a.Pa),!d.length)){d=a.el;var e=Ja(d.getAttribute("jsaction")||"");c+=":.CLIENT";e=e.replace(c+";","");e=e.replace(c,"");fk(d,e)}}If(this.M,this.g,this.A);Z.prototype.L.call(this)};var Nk=!1,Ok=null;function Ik(){this.M=this.j=void 0;this.G=this.P=this.J=!1;this.g=void 0;this.H=this.l=!1;this.D=!0;this.A=[];this.N=this.v=!1;this.K=[];this.o=void 0}
|
|
function Qk(a,b){a instanceof Ne&&(a=a.g);eb(a,"severity",b)};function Tk(a,b){Z.call(this);this.U=a;this.N=b;this.K=void 0;this.status=this.readyState=0;this.responseType=this.o=this.l=this.statusText="";this.onreadystatechange=null;this.M=new Headers;this.v=null;this.R="GET";this.S="";this.g=!1;this.O=this.A=this.D=null;this.H=new AbortController}z(Tk,Z);p=Tk.prototype;p.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.R=a;this.S=b;this.readyState=1;Uk(this)};
|
|
p.send=function(a){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");if(this.H.signal.aborted)throw this.abort(),Error("Request was aborted.");this.g=!0;var b={headers:this.M,method:this.R,credentials:this.K,cache:void 0,signal:this.H.signal};a&&(b.body=a);(this.U||x).fetch(new Request(this.S,b)).then(this.Za.bind(this),this.ha.bind(this))};
|
|
p.abort=function(){this.l=this.o="";this.M=new Headers;this.status=0;this.H.abort("Request was aborted.");this.A&&this.A.cancel("Request was aborted.").catch(n());this.readyState>=1&&this.g&&this.readyState!=4&&(this.g=!1,Vk(this));this.readyState=0};
|
|
p.Za=function(a){if(this.g&&(this.D=a,this.v||(this.status=this.D.status,this.statusText=this.D.statusText,this.v=a.headers,this.readyState=2,Uk(this)),this.g&&(this.readyState=3,Uk(this),this.g)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.Xa.bind(this),this.ha.bind(this));else if(typeof x.ReadableStream!=="undefined"&&"body"in a){this.A=a.body.getReader();if(this.N){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.l=
|
|
[]}else this.l=this.o="",this.O=new TextDecoder;Wk(this)}else a.text().then(this.Ya.bind(this),this.ha.bind(this))};function Wk(a){a.A.read().then(a.Wa.bind(a)).catch(a.ha.bind(a))}p.Wa=function(a){if(this.g){if(this.N&&a.value)this.l.push(a.value);else if(!this.N){var b=a.value?a.value:new Uint8Array(0);if(b=this.O.decode(b,{stream:!a.done}))this.l=this.o+=b}a.done?Vk(this):Uk(this);this.readyState==3&&Wk(this)}};p.Ya=function(a){this.g&&(this.l=this.o=a,Vk(this))};
|
|
p.Xa=function(a){this.g&&(this.l=a,Vk(this))};p.ha=function(){this.g&&Vk(this)};function Vk(a){a.readyState=4;a.D=null;a.A=null;a.O=null;Uk(a)}p.setRequestHeader=function(a,b){this.M.append(a,b)};p.getResponseHeader=function(a){return this.v?this.v.get(a.toLowerCase())||"":""};p.getAllResponseHeaders=function(){if(!this.v)return"";for(var a=[],b=this.v.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
|
|
function Uk(a){a.onreadystatechange&&a.onreadystatechange.call(a)}Object.defineProperty(Tk.prototype,"withCredentials",{get:function(){return this.K==="include"},set:function(a){this.K=a?"include":"same-origin"}});function Xk(a){this.g=null;this.j=a<1;this.l=a<.01}function Yk(a,b){var c=c===void 0?{}:c;a.l&&(c.sampling_samplePercentage=(.01).toString(),a.g.info(b,c))}function Zk(a,b,c){c=c===void 0?{}:c;a.j&&(c.sampling_samplePercentage=(1).toString(),Sk(a.g,b,c))};function $k(a){this.C=G(a,void 0,void 0,2048)}v($k,J);$k.prototype.getMessage=function(){return bd(this,1)};function al(a){this.C=G(a,void 0,void 0,2048)}v(al,J);function bl(){var a=new al;return ed(a,2,Date.now().toString())};function cl(a){this.C=G(a,void 0,void 0,2048)}v(cl,J);function dl(a){this.C=G(a,void 0,void 0,2048)}v(dl,J);function el(a){this.C=G(a,void 0,void 0,2048)}v(el,J);var fl=md(el);function gl(a){this.C=G(a,void 0,void 0,2048)}v(gl,J);function hl(a){this.C=G(a,void 0,void 0,2048)}v(hl,J);function il(a,b){return Kc(a,1,b==null?b:ec(b))}hl.prototype.pa=function(){return Wc(this,$k,5)};function jl(a,b){this.j=b;this.g=a}function kl(a,b){var c=b.g;c&&c.data&&c.ports&&c.ports.length?(b=c.data?fl(JSON.stringify(c.data)):new el,ll(a,b,c.ports.length>1?c.ports[1]:void 0).then(function(d){c.ports[0].postMessage(xc(d))})):Zk(a.g,Error("Dropped invalid event."),{event:String(b)})}function ll(a,b,c){return fg().then(function(){return a.j(b,c)}).na(function(d){d=d instanceof Error?d:Error(d);var e=new hl,f=new $k;Yc(e,$k,5,f);ed(f,1,d.message);return e})};function ml(a){this.C=G(a,void 0,void 0,2048)}v(ml,J);function nl(a,b){return Kc(a,1,b==null?b:ec(b))}ml.prototype.pa=function(){return Wc(this,$k,3)};function ol(a){var b=kg();chrome.runtime.sendMessage(xc(a),void 0,function(c){return pl(b,function(d){return new ml(d)},c)});return b.promise.Ca(function(c){c=mf(c);eb(c,"offscreenDocumentRequestType",cd(a,1).toString());throw c;})}
|
|
function pl(a,b,c){var d=chrome.runtime;c!==void 0?(d=b(c),d.pa()?(b=a.reject,c=Error,d=d.pa(),d=dd(d,1),b.call(a,c("Error from Offscreen page:"+d))):a.resolve(d)):a.reject(Error("No response from Offscreen page:"+(d.lastError?d.lastError.message:"without lastError")))};function ql(a){a=a===null?"null":a===void 0?"undefined":a;var b;cf===void 0&&(cf=df());a=(b=cf)?b.createScriptURL(a):a;return new ef(a)};function rl(a){W.call(this);this.g=this.A=null;this.v=kg();this.o=!1;this.l=0;this.D=null;this.j=new Xk(a)}v(rl,W);function sl(a){x.clearTimeout(a.l);a.g&&(a.o&&(a.v=kg(),a.o=!1),a.g.parentNode&&a.g.parentNode.removeChild(a.g),a.g=null);return Promise.resolve()}function tl(a,b){return a.g?Promise.resolve():ul(a,b)}
|
|
function ul(a,b){b||Yk(a.j,Error("Creating extension frame without an OUID."));var c=vl(a,b);return sl(a).then(function(){a.g=Vi("IFRAME");a.g.id="extensionFrame";ff(a.g,ql(c));document.body.appendChild(a.g);a.l=ui(function(){Zk(a.j,Error("Timed out waiting for frame connection."));return ig([vi(),Ei(a.A.A)]).then(function(){x.close()})},14E3);return Promise.resolve()})}function vl(a,b){return Ah(a.D,"/offline/extension/frame").toString()+"?ouid="+(b?encodeURIComponent(String(b)):"")}
|
|
function wl(a,b){return Promise.resolve(a.v.promise).then(function(c){var d=new MessageChannel;return(new Promise(function(e){d.port1.onmessage=function(f){e(new gl(f.data))};c.postMessage(xc(b),[d.port2])})).finally(function(){d.port1.close()})})}rl.prototype.L=function(){sl(this);W.prototype.L.call(this)};function xl(a){this.C=G(a,void 0,void 0,2048)}v(xl,J);function yl(a){this.C=G(a,void 0,void 0,2048)}v(yl,J);function zl(a){var b=new yl;return Kc(b,1,a==null?a:ec(a))}function Al(a){var b=zl(3);return Yc(b,al,4,a)}function Bl(a,b){return Yc(a,dl,6,b)};function Cl(){W.call(this);var a=this;this.l=null;this.j=this.g=0;chrome.runtime.onConnectExternal.addListener(function(b){return Dl(a,b)});El(this)}v(Cl,W);function Dl(a,b){a.g++;x.clearTimeout(a.j);b.onDisconnect.addListener(function(){a.g--;a.g==0&&Fl(a)})}function Fl(a){a.g==0&&(x.clearTimeout(a.j),a.j=ui(function(){a.g==0&&x.close()},6E4))}function El(a){ui(function(){a.l&&Sk(a.l,mf("Force closed the offscreen document after one hour."));x.close()},36E5)};function Gl(){y(this.l,this);this.g=new Fk;this.g.j=!1;this.g.l=!1;this.j=this.g.g=!1;this.o={}}function Hl(a){1!=a.j&&(a.j=!0)}Gl.prototype.l=function(a){function b(f){if(f){if(f.value>=sf.value)return"error";if(f.value>=tf.value)return"warn";if(f.value>=uf.value)return"log"}return"debug"}if(!this.o[a.j()]){var c=Gk(this.g,a),d=Il;if(d){var e=b(a.o());Jl(d,e,c,a.g())}}};var Il=x.console;function Jl(a,b,c,d){if(a[b])a[b](c,d===void 0?"":d);else a.log(c,d===void 0?"":d)};function Kl(){W.call(this);var a=this,b=new xh(self.location);this.U=Ll(b,"sessionId",function(c){return String(c)},Qe());this.g=this.j=this.M=null;this.l=new Cl;Fl(this.l);this.N=new Gl;Hl(this.N);this.K=new Ai(this);Jf(this,this.K);this.K.listen(x,"message",this.R);this.H=Ll(b,"randomPercentageForSampling",function(c){return Number(c)},Math.random()*100);this.P=this.H<1;this.o=new Xk(this.H);this.A="unknown";this.D=null;this.v="unknown";this.O=new jl(this.o,function(c,d){return Ml(a,c,d)});chrome.runtime.onMessage.addListener(this.S.bind(this))}
|
|
v(Kl,W);Kl.prototype.R=function(a){kl(this.O,a)};function Ml(a,b,c){var d=il(new hl,fc(H(b,1)));switch(fc(H(b,1,void 0,Ic))){case 1:b=(b=Wc(b,al,7))?dd(b,1):null;var e=bl();b?ed(e,1,b):Yk(a.o,Error("Scheduler frame connect request sent without an ouid."));b=Al(e);return ol(b).then(function(){var f=a.g;f.v.resolve(c);f.o=!0;x.clearTimeout(f.l)}).then(function(){return d});case 3:return b=Bl(zl(7),Wc(b,dl,3)),ol(b).then(function(){return d})}throw Error("Dropped unknown message "+b);}
|
|
Kl.prototype.S=function(a,b,c){var d=this;x.clearTimeout(this.l.j);var e=new yl(a);Nl(this,e).then(function(f){c(xc(f))}).catch(function(f){var g=f instanceof Error?f:Error(f);f=new $k;ed(f,1,g.message);g=nl(new ml,fc(H(e,1)));Yc(g,$k,3,f);c(xc(g))}).finally(function(){Fl(d.l)});return!0};
|
|
function Nl(a,b){var c=nl(new ml,fc(H(b,1)));try{switch(fc(H(b,1,void 0,Ic))){case 1:return Ol(a,b),ul(a.g,a.D).then(function(){return c});case 4:return wl(a.g,Wc(b,cl,5)).then(function(d){Yc(c,gl,4,d);return c});case 5:return sl(a.g).then(function(){return c});case 6:return Ol(a,b),tl(a.g,a.D).then(function(){return c});default:throw Error("Dropped unknown message");}}catch(d){return Promise.reject(d)}}
|
|
function Ol(a,b){if(!a.g){b=Wc(b,xl,2);a.D=dd(b,1);a.M=dd(b,2);var c;a.A=(c=mc(H(b,4)))!=null?c:a.A;var d;a.v=(d=mc(H(b,3)))!=null?d:a.v;c=new xh(a.M);var e=Ah(c,"/offline/jserror").toString();d=a.P;b=a.U;var f=f===void 0?!1:f;var g=g===void 0?Sg():g;var h=new Ik;h.J=!1;h.G=!0;h.g=e;h.l=f;h.j=g;h.v=!1;var k=k===void 0?{}:k;f=Wj(k);h.o=f;f=new Hk(h);f.l.sessionTypeName="offline-off-screen-document";f.l.reportsNonFatalErrors=String(d);f.l.sid=b;f.l.extensionVersion=a.v;f.l.optInStatus=a.A;a.j=f;Jf(a,
|
|
a.j);a.o.g=a.j;a.l.l=a.j;a.g=new rl(a.H,"OffscreenDocument");f=a.g;g=a.j;f.A=g;f.j.g=g;a.g.D=c;Jf(a,a.g)}}function Ll(a,b,c,d){a=a.l.ga(b);return a.length!=0?c(a[0]):d};new Kl;
|