@firebase/webchannel-wrapper 0.9.0 → 0.10.0-20230425221647
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/esm/index.esm.js +1826 -0
- package/dist/{index.esm2017.js.map → esm/index.esm.js.map} +1 -1
- package/dist/esm/index.esm2017.js +114 -0
- package/dist/esm/index.esm2017.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/index.js +124 -102
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/index.esm.js +0 -1504
- package/dist/index.esm.js.map +0 -1
- package/dist/index.esm2017.js +0 -108
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
var esm = {};
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
|
|
7
|
+
Copyright The Closure Library Authors.
|
|
8
|
+
SPDX-License-Identifier: Apache-2.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
var k,goog=goog||{},l=commonjsGlobal||self;function aa(){}function ba(a){var b=typeof a;b="object"!=b?b:a?Array.isArray(a)?"array":b:"null";return "array"==b||"object"==b&&"number"==typeof a.length}function p(a){var b=typeof a;return "object"==b&&null!=a||"function"==b}function ca(a){return Object.prototype.hasOwnProperty.call(a,da)&&a[da]||(a[da]=++ea)}var da="closure_uid_"+(1E9*Math.random()>>>0),ea=0;function fa(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
12
|
+
function ha(a,b,c){if(!a)throw Error();if(2<arguments.length){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 q(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?q=fa:q=ha;return q.apply(null,arguments)}
|
|
13
|
+
function ja(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 r(a,b){function c(){}c.prototype=b.prototype;a.$=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ac=function(d,e,f){for(var h=Array(arguments.length-2),m=2;m<arguments.length;m++)h[m-2]=arguments[m];return b.prototype[e].apply(d,h)};}function v(){this.s=this.s;this.o=this.o;}var ka=0;v.prototype.s=!1;v.prototype.ra=function(){if(!this.s&&(this.s=!0,this.N(),0!=ka)){ca(this);}};v.prototype.N=function(){if(this.o)for(;this.o.length;)this.o.shift()();};const ma=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return "string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(let c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return -1};function na(a){const b=a.length;if(0<b){const c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return []}
|
|
14
|
+
function oa(a,b){for(let c=1;c<arguments.length;c++){const d=arguments[c];if(ba(d)){const e=a.length||0,f=d.length||0;a.length=e+f;for(let h=0;h<f;h++)a[e+h]=d[h];}else a.push(d);}}function w(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=!1;}w.prototype.h=function(){this.defaultPrevented=!0;};var pa=function(){if(!l.addEventListener||!Object.defineProperty)return !1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0;}});try{l.addEventListener("test",aa,b),l.removeEventListener("test",aa,b);}catch(c){}return a}();function qa(a){return /^[\s\xa0]*$/.test(a)}var ra=String.prototype.trim?function(a){return a.trim()}:function(a){return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function sa(a,b){return a<b?-1:a>b?1:0}function ta(){var a=l.navigator;return a&&(a=a.userAgent)?a:""}function x(a){return -1!=ta().indexOf(a)}function ua(a){ua[" "](a);return a}ua[" "]=aa;function va(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)}var wa=x("Opera"),y=x("Trident")||x("MSIE"),xa=x("Edge"),ya=xa||y,za=x("Gecko")&&!(-1!=ta().toLowerCase().indexOf("webkit")&&!x("Edge"))&&!(x("Trident")||x("MSIE"))&&!x("Edge"),Aa=-1!=ta().toLowerCase().indexOf("webkit")&&!x("Edge");function Ba(){var a=l.document;return a?a.documentMode:void 0}var Ca;
|
|
15
|
+
a:{var Da="",Ea=function(){var a=ta();if(za)return /rv:([^\);]+)(\)|;)/.exec(a);if(xa)return /Edge\/([\d\.]+)/.exec(a);if(y)return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Aa)return /WebKit\/(\S+)/.exec(a);if(wa)return /(?:Version)[ \/]?(\S+)/.exec(a)}();Ea&&(Da=Ea?Ea[1]:"");if(y){var Fa=Ba();if(null!=Fa&&Fa>parseFloat(Da)){Ca=String(Fa);break a}}Ca=Da;}var Ga={};
|
|
16
|
+
function Ha(){return va(Ga,9,function(){let a=0;const b=ra(String(Ca)).split("."),c=ra("9").split("."),d=Math.max(b.length,c.length);for(let h=0;0==a&&h<d;h++){var e=b[h]||"",f=c[h]||"";do{e=/(\d*)(\D*)(.*)/.exec(e)||["","","",""];f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];if(0==e[0].length&&0==f[0].length)break;a=sa(0==e[1].length?0:parseInt(e[1],10),0==f[1].length?0:parseInt(f[1],10))||sa(0==e[2].length,0==f[2].length)||sa(e[2],f[2]);e=e[3];f=f[3];}while(0==a)}return 0<=a})}var Ia;
|
|
17
|
+
if(l.document&&y){var Ja=Ba();Ia=Ja?Ja:parseInt(Ca,10)||void 0;}else Ia=void 0;var Ka=Ia;function z(a,b){w.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;if(b=a.relatedTarget){if(za){a:{try{ua(b.nodeName);var e=!0;break a}catch(f){}e=
|
|
18
|
+
!1;}e||(b=null);}}else "mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=
|
|
19
|
+
a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Na[a.pointerType]||"";this.state=a.state;this.i=a;a.defaultPrevented&&z.$.h.call(this);}}r(z,w);var Na={2:"touch",3:"pen",4:"mouse"};z.prototype.h=function(){z.$.h.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1;};var A="closure_listenable_"+(1E6*Math.random()|0);var Oa=0;function Pa(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.la=e;this.key=++Oa;this.fa=this.ia=!1;}function Qa(a){a.fa=!0;a.listener=null;a.proxy=null;a.src=null;a.la=null;}function Ra(a,b,c){for(const d in a)b.call(c,a[d],d,a);}function Sa(a){const b={};for(const c in a)b[c]=a[c];return b}const Ta="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ua(a,b){let c,d;for(let e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(let f=0;f<Ta.length;f++)c=Ta[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c]);}}function Va(a){this.src=a;this.g={};this.h=0;}Va.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.h++);var h=Wa(a,b,d,e);-1<h?(b=a[h],c||(b.ia=!1)):(b=new Pa(b,this.src,f,!!d,e),b.ia=c,a.push(b));return b};function Xa(a,b){var c=b.type;if(c in a.g){var d=a.g[c],e=ma(d,b),f;(f=0<=e)&&Array.prototype.splice.call(d,e,1);f&&(Qa(b),0==a.g[c].length&&(delete a.g[c],a.h--));}}
|
|
20
|
+
function Wa(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.fa&&f.listener==b&&f.capture==!!c&&f.la==d)return e}return -1}var Ya="closure_lm_"+(1E6*Math.random()|0),Za={};function ab(a,b,c,d,e){if(d&&d.once)return bb(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)ab(a,b[f],c,d,e);return null}c=cb(c);return a&&a[A]?a.O(b,c,p(d)?!!d.capture:!!d,e):db(a,b,c,!1,d,e)}
|
|
21
|
+
function db(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=p(e)?!!e.capture:!!e,m=eb(a);m||(a[Ya]=m=new Va(a));c=m.add(b,c,d,h,f);if(c.proxy)return c;d=fb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)pa||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");return c}
|
|
22
|
+
function fb(){function a(c){return b.call(a.src,a.listener,c)}const b=hb;return a}function bb(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)bb(a,b[f],c,d,e);return null}c=cb(c);return a&&a[A]?a.P(b,c,p(d)?!!d.capture:!!d,e):db(a,b,c,!0,d,e)}
|
|
23
|
+
function ib(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)ib(a,b[f],c,d,e);else (d=p(d)?!!d.capture:!!d,c=cb(c),a&&a[A])?(a=a.i,b=String(b).toString(),b in a.g&&(f=a.g[b],c=Wa(f,c,d,e),-1<c&&(Qa(f[c]),Array.prototype.splice.call(f,c,1),0==f.length&&(delete a.g[b],a.h--)))):a&&(a=eb(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Wa(b,c,d,e)),(c=-1<a?b[a]:null)&&jb(c));}
|
|
24
|
+
function jb(a){if("number"!==typeof a&&a&&!a.fa){var b=a.src;if(b&&b[A])Xa(b.i,a);else {var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(gb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);(c=eb(b))?(Xa(c,a),0==c.h&&(c.src=null,b[Ya]=null)):Qa(a);}}}function gb(a){return a in Za?Za[a]:Za[a]="on"+a}function hb(a,b){if(a.fa)a=!0;else {b=new z(b,this);var c=a.listener,d=a.la||a.src;a.ia&&jb(a);a=c.call(d,b);}return a}
|
|
25
|
+
function eb(a){a=a[Ya];return a instanceof Va?a:null}var kb="__closure_events_fn_"+(1E9*Math.random()>>>0);function cb(a){if("function"===typeof a)return a;a[kb]||(a[kb]=function(b){return a.handleEvent(b)});return a[kb]}function B(){v.call(this);this.i=new Va(this);this.S=this;this.J=null;}r(B,v);B.prototype[A]=!0;B.prototype.removeEventListener=function(a,b,c,d){ib(this,a,b,c,d);};
|
|
26
|
+
function C(a,b){var c,d=a.J;if(d)for(c=[];d;d=d.J)c.push(d);a=a.S;d=b.type||b;if("string"===typeof b)b=new w(b,a);else if(b instanceof w)b.target=b.target||a;else {var e=b;b=new w(d,a);Ua(b,e);}e=!0;if(c)for(var f=c.length-1;0<=f;f--){var h=b.g=c[f];e=lb(h,d,!0,b)&&e;}h=b.g=a;e=lb(h,d,!0,b)&&e;e=lb(h,d,!1,b)&&e;if(c)for(f=0;f<c.length;f++)h=b.g=c[f],e=lb(h,d,!1,b)&&e;}
|
|
27
|
+
B.prototype.N=function(){B.$.N.call(this);if(this.i){var a=this.i,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)Qa(d[e]);delete a.g[c];a.h--;}}this.J=null;};B.prototype.O=function(a,b,c,d){return this.i.add(String(a),b,!1,c,d)};B.prototype.P=function(a,b,c,d){return this.i.add(String(a),b,!0,c,d)};
|
|
28
|
+
function lb(a,b,c,d){b=a.i.g[String(b)];if(!b)return !0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.fa&&h.capture==c){var m=h.listener,t=h.la||h.src;h.ia&&Xa(a.i,h);e=!1!==m.call(t,d)&&e;}}return e&&!d.defaultPrevented}var mb=l.JSON.stringify;function nb(){var a=ob;let b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return b}class pb{constructor(){this.h=this.g=null;}add(a,b){const c=qb.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c;}}var qb=new class{constructor(a,b){this.i=a;this.j=b;this.h=0;this.g=null;}get(){let a;0<this.h?(this.h--,a=this.g,this.g=a.next,a.next=null):a=this.i();return a}}(()=>new rb,a=>a.reset());
|
|
29
|
+
class rb{constructor(){this.next=this.g=this.h=null;}set(a,b){this.h=a;this.g=b;this.next=null;}reset(){this.next=this.g=this.h=null;}}function sb(a){l.setTimeout(()=>{throw a;},0);}function tb(a,b){ub||vb();wb||(ub(),wb=!0);ob.add(a,b);}var ub;function vb(){var a=l.Promise.resolve(void 0);ub=function(){a.then(xb);};}var wb=!1,ob=new pb;function xb(){for(var a;a=nb();){try{a.h.call(a.g);}catch(c){sb(c);}var b=qb;b.j(a);100>b.h&&(b.h++,a.next=b.g,b.g=a);}wb=!1;}function yb(a,b){B.call(this);this.h=a||1;this.g=b||l;this.j=q(this.qb,this);this.l=Date.now();}r(yb,B);k=yb.prototype;k.ga=!1;k.T=null;k.qb=function(){if(this.ga){var a=Date.now()-this.l;0<a&&a<.8*this.h?this.T=this.g.setTimeout(this.j,this.h-a):(this.T&&(this.g.clearTimeout(this.T),this.T=null),C(this,"tick"),this.ga&&(zb(this),this.start()));}};k.start=function(){this.ga=!0;this.T||(this.T=this.g.setTimeout(this.j,this.h),this.l=Date.now());};
|
|
30
|
+
function zb(a){a.ga=!1;a.T&&(a.g.clearTimeout(a.T),a.T=null);}k.N=function(){yb.$.N.call(this);zb(this);delete this.g;};function Ab(a,b,c){if("function"===typeof a)c&&(a=q(a,c));else if(a&&"function"==typeof a.handleEvent)a=q(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:l.setTimeout(a,b||0)}function Bb(a){a.g=Ab(()=>{a.g=null;a.i&&(a.i=!1,Bb(a));},a.j);const b=a.h;a.h=null;a.m.apply(null,b);}class Cb extends v{constructor(a,b){super();this.m=a;this.j=b;this.h=null;this.i=!1;this.g=null;}l(a){this.h=arguments;this.g?this.i=!0:Bb(this);}N(){super.N();this.g&&(l.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null);}}function Db(a){v.call(this);this.h=a;this.g={};}r(Db,v);var Eb=[];function Gb(a,b,c,d){Array.isArray(c)||(c&&(Eb[0]=c.toString()),c=Eb);for(var e=0;e<c.length;e++){var f=ab(b,c[e],d||a.handleEvent,!1,a.h||a);if(!f)break;a.g[f.key]=f;}}function Hb(a){Ra(a.g,function(b,c){this.g.hasOwnProperty(c)&&jb(b);},a);a.g={};}Db.prototype.N=function(){Db.$.N.call(this);Hb(this);};Db.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Ib(){this.g=!0;}Ib.prototype.Ea=function(){this.g=!1;};function Jb(a,b,c,d,e,f){a.info(function(){if(a.g)if(f){var h="";for(var m=f.split("&"),t=0;t<m.length;t++){var n=m[t].split("=");if(1<n.length){var u=n[0];n=n[1];var L=u.split("_");h=2<=L.length&&"type"==L[1]?h+(u+"="+n+"&"):h+(u+"=redacted&");}}}else h=null;else h=f;return "XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h});}
|
|
31
|
+
function Kb(a,b,c,d,e,f,h){a.info(function(){return "XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h});}function D(a,b,c,d){a.info(function(){return "XMLHTTP TEXT ("+b+"): "+Lb(a,c)+(d?" "+d:"")});}function Mb(a,b){a.info(function(){return "TIMEOUT: "+b});}Ib.prototype.info=function(){};
|
|
32
|
+
function Lb(a,b){if(!a.g)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(a=0;a<c.length;a++)if(Array.isArray(c[a])){var d=c[a];if(!(2>d.length)){var e=d[1];if(Array.isArray(e)&&!(1>e.length)){var f=e[0];if("noop"!=f&&"stop"!=f&&"close"!=f)for(var h=1;h<e.length;h++)e[h]="";}}}return mb(c)}catch(m){return b}}var E={},Nb=null;function Ob(){return Nb=Nb||new B}E.Ta="serverreachability";function Pb(a){w.call(this,E.Ta,a);}r(Pb,w);function Qb(a){const b=Ob();C(b,new Pb(b));}E.STAT_EVENT="statevent";function Rb(a,b){w.call(this,E.STAT_EVENT,a);this.stat=b;}r(Rb,w);function F(a){const b=Ob();C(b,new Rb(b,a));}E.Ua="timingevent";function Sb(a,b){w.call(this,E.Ua,a);this.size=b;}r(Sb,w);
|
|
33
|
+
function Tb(a,b){if("function"!==typeof a)throw Error("Fn must not be null and must be a function");return l.setTimeout(function(){a();},b)}var Ub={NO_ERROR:0,rb:1,Eb:2,Db:3,yb:4,Cb:5,Fb:6,Qa:7,TIMEOUT:8,Ib:9};var Vb={wb:"complete",Sb:"success",Ra:"error",Qa:"abort",Kb:"ready",Lb:"readystatechange",TIMEOUT:"timeout",Gb:"incrementaldata",Jb:"progress",zb:"downloadprogress",$b:"uploadprogress"};function Wb(){}Wb.prototype.h=null;function Xb(a){return a.h||(a.h=a.i())}function Yb(){}var Zb={OPEN:"a",vb:"b",Ra:"c",Hb:"d"};function $b(){w.call(this,"d");}r($b,w);function ac(){w.call(this,"c");}r(ac,w);var bc;function cc(){}r(cc,Wb);cc.prototype.g=function(){return new XMLHttpRequest};cc.prototype.i=function(){return {}};bc=new cc;function dc(a,b,c,d){this.l=a;this.j=b;this.m=c;this.W=d||1;this.U=new Db(this);this.P=ec;a=ya?125:void 0;this.V=new yb(a);this.I=null;this.i=!1;this.s=this.A=this.v=this.L=this.G=this.Y=this.B=null;this.F=[];this.g=null;this.C=0;this.o=this.u=null;this.aa=-1;this.J=!1;this.O=0;this.M=null;this.ca=this.K=this.ba=this.S=!1;this.h=new fc;}function fc(){this.i=null;this.g="";this.h=!1;}var ec=45E3,gc={},hc={};k=dc.prototype;k.setTimeout=function(a){this.P=a;};
|
|
34
|
+
function ic(a,b,c){a.L=1;a.v=jc(G(b));a.s=c;a.S=!0;kc(a,null);}function kc(a,b){a.G=Date.now();lc(a);a.A=G(a.v);var c=a.A,d=a.W;Array.isArray(d)||(d=[String(d)]);mc(c.i,"t",d);a.C=0;c=a.l.I;a.h=new fc;a.g=nc(a.l,c?b:null,!a.s);0<a.O&&(a.M=new Cb(q(a.Pa,a,a.g),a.O));Gb(a.U,a.g,"readystatechange",a.nb);b=a.I?Sa(a.I):{};a.s?(a.u||(a.u="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.g.ha(a.A,a.u,a.s,b)):(a.u="GET",a.g.ha(a.A,a.u,null,b));Qb();Jb(a.j,a.u,a.A,a.m,a.W,a.s);}
|
|
35
|
+
k.nb=function(a){a=a.target;const b=this.M;b&&3==H(a)?b.l():this.Pa(a);};
|
|
36
|
+
k.Pa=function(a){try{if(a==this.g)a:{const u=H(this.g);var b=this.g.Ia();const L=this.g.da();if(!(3>u)&&(3!=u||ya||this.g&&(this.h.h||this.g.ja()||oc(this.g)))){this.J||4!=u||7==b||(8==b||0>=L?Qb(3):Qb(2));pc(this);var c=this.g.da();this.aa=c;b:if(qc(this)){var d=oc(this.g);a="";var e=d.length,f=4==H(this.g);if(!this.h.i){if("undefined"===typeof TextDecoder){I(this);rc(this);var h="";break b}this.h.i=new l.TextDecoder;}for(b=0;b<e;b++)this.h.h=!0,a+=this.h.i.decode(d[b],{stream:f&&b==e-1});d.splice(0,
|
|
37
|
+
e);this.h.g+=a;this.C=0;h=this.h.g;}else h=this.g.ja();this.i=200==c;Kb(this.j,this.u,this.A,this.m,this.W,u,c);if(this.i){if(this.ba&&!this.K){b:{if(this.g){var m,t=this.g;if((m=t.g?t.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!qa(m)){var n=m;break b}}n=null;}if(c=n)D(this.j,this.m,c,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,sc(this,c);else {this.i=!1;this.o=3;F(12);I(this);rc(this);break a}}this.S?(tc(this,u,h),ya&&this.i&&3==u&&(Gb(this.U,this.V,"tick",this.mb),
|
|
38
|
+
this.V.start())):(D(this.j,this.m,h,null),sc(this,h));4==u&&I(this);this.i&&!this.J&&(4==u?uc(this.l,this):(this.i=!1,lc(this)));}else 400==c&&0<h.indexOf("Unknown SID")?(this.o=3,F(12)):(this.o=0,F(13)),I(this),rc(this);}}}catch(u){}finally{}};function qc(a){return a.g?"GET"==a.u&&2!=a.L&&a.l.Ha:!1}
|
|
39
|
+
function tc(a,b,c){let d=!0,e;for(;!a.J&&a.C<c.length;)if(e=vc(a,c),e==hc){4==b&&(a.o=4,F(14),d=!1);D(a.j,a.m,null,"[Incomplete Response]");break}else if(e==gc){a.o=4;F(15);D(a.j,a.m,c,"[Invalid Chunk]");d=!1;break}else D(a.j,a.m,e,null),sc(a,e);qc(a)&&e!=hc&&e!=gc&&(a.h.g="",a.C=0);4!=b||0!=c.length||a.h.h||(a.o=1,F(16),d=!1);a.i=a.i&&d;d?0<c.length&&!a.ca&&(a.ca=!0,b=a.l,b.g==a&&b.ca&&!b.L&&(b.j.info("Great, no buffering proxy detected. Bytes received: "+c.length),wc(b),b.L=!0,F(11))):(D(a.j,a.m,
|
|
40
|
+
c,"[Invalid Chunked Response]"),I(a),rc(a));}k.mb=function(){if(this.g){var a=H(this.g),b=this.g.ja();this.C<b.length&&(pc(this),tc(this,a,b),this.i&&4!=a&&lc(this));}};function vc(a,b){var c=a.C,d=b.indexOf("\n",c);if(-1==d)return hc;c=Number(b.substring(c,d));if(isNaN(c))return gc;d+=1;if(d+c>b.length)return hc;b=b.substr(d,c);a.C=d+c;return b}k.cancel=function(){this.J=!0;I(this);};function lc(a){a.Y=Date.now()+a.P;xc(a,a.P);}
|
|
41
|
+
function xc(a,b){if(null!=a.B)throw Error("WatchDog timer not null");a.B=Tb(q(a.lb,a),b);}function pc(a){a.B&&(l.clearTimeout(a.B),a.B=null);}k.lb=function(){this.B=null;const a=Date.now();0<=a-this.Y?(Mb(this.j,this.A),2!=this.L&&(Qb(),F(17)),I(this),this.o=2,rc(this)):xc(this,this.Y-a);};function rc(a){0==a.l.H||a.J||uc(a.l,a);}function I(a){pc(a);var b=a.M;b&&"function"==typeof b.ra&&b.ra();a.M=null;zb(a.V);Hb(a.U);a.g&&(b=a.g,a.g=null,b.abort(),b.ra());}
|
|
42
|
+
function sc(a,b){try{var c=a.l;if(0!=c.H&&(c.g==a||yc(c.h,a)))if(!a.K&&yc(c.h,a)&&3==c.H){try{var d=c.Ja.g.parse(b);}catch(n){d=null;}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[0])a:{if(!c.u){if(c.g)if(c.g.G+3E3<a.G)zc(c),Ac(c);else break a;Bc(c);F(18);}}else c.Fa=e[1],0<c.Fa-c.V&&37500>e[2]&&c.M&&0==c.A&&!c.v&&(c.v=Tb(q(c.ib,c),6E3));if(1>=Cc(c.h)&&c.na){try{c.na();}catch(n){}c.na=void 0;}}else J(c,11);}else if((a.K||c.g==a)&&zc(c),!qa(b))for(e=c.Ja.g.parse(b),b=0;b<e.length;b++){let n=e[b];c.V=
|
|
43
|
+
n[0];n=n[1];if(2==c.H)if("c"==n[0]){c.J=n[1];c.oa=n[2];const u=n[3];null!=u&&(c.qa=u,c.j.info("VER="+c.qa));const L=n[4];null!=L&&(c.Ga=L,c.j.info("SVER="+c.Ga));const La=n[5];null!=La&&"number"===typeof La&&0<La&&(d=1.5*La,c.K=d,c.j.info("backChannelRequestTimeoutMs_="+d));d=c;const ia=a.g;if(ia){const Ma=ia.g?ia.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(Ma){var f=d.h;f.g||-1==Ma.indexOf("spdy")&&-1==Ma.indexOf("quic")&&-1==Ma.indexOf("h2")||(f.j=f.l,f.g=new Set,f.h&&(Dc(f,f.h),f.h=null));}if(d.F){const Fb=
|
|
44
|
+
ia.g?ia.g.getResponseHeader("X-HTTP-Session-Id"):null;Fb&&(d.Da=Fb,K(d.G,d.F,Fb));}}c.H=3;c.l&&c.l.Ba();c.ca&&(c.S=Date.now()-a.G,c.j.info("Handshake RTT: "+c.S+"ms"));d=c;var h=a;d.wa=Ec(d,d.I?d.oa:null,d.Y);if(h.K){Fc(d.h,h);var m=h,t=d.K;t&&m.setTimeout(t);m.B&&(pc(m),lc(m));d.g=h;}else Gc(d);0<c.i.length&&Hc(c);}else "stop"!=n[0]&&"close"!=n[0]||J(c,7);else 3==c.H&&("stop"==n[0]||"close"==n[0]?"stop"==n[0]?J(c,7):Ic(c):"noop"!=n[0]&&c.l&&c.l.Aa(n),c.A=0);}Qb(4);}catch(n){}}function Jc(a){if(a.Z&&"function"==typeof a.Z)return a.Z();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ba(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}
|
|
45
|
+
function Kc(a){if(a.sa&&"function"==typeof a.sa)return a.sa();if(!a.Z||"function"!=typeof a.Z){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ba(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(const d in a)b[c++]=d;return b}}}
|
|
46
|
+
function Lc(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(ba(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,void 0);else for(var c=Kc(a),d=Jc(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a);}var Mc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Nc(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1);}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"");}}}function M(a,b){this.g=this.s=this.j="";this.m=null;this.o=this.l="";this.h=!1;if(a instanceof M){this.h=void 0!==b?b:a.h;Oc(this,a.j);this.s=a.s;this.g=a.g;Pc(this,a.m);this.l=a.l;b=a.i;var c=new Qc;c.i=b.i;b.g&&(c.g=new Map(b.g),c.h=b.h);Rc(this,c);this.o=a.o;}else a&&(c=String(a).match(Mc))?(this.h=!!b,Oc(this,c[1]||"",!0),this.s=Sc(c[2]||""),this.g=Sc(c[3]||"",!0),Pc(this,c[4]),this.l=Sc(c[5]||"",!0),Rc(this,c[6]||"",!0),this.o=Sc(c[7]||"")):(this.h=!!b,this.i=new Qc(null,this.h));}
|
|
47
|
+
M.prototype.toString=function(){var a=[],b=this.j;b&&a.push(Tc(b,Uc,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.s)&&a.push(Tc(b,Uc,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.m,null!=c&&a.push(":",String(c));if(c=this.l)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(Tc(c,"/"==c.charAt(0)?Vc:Wc,!0));(c=this.i.toString())&&a.push("?",c);(c=this.o)&&a.push("#",Tc(c,Xc));return a.join("")};function G(a){return new M(a)}
|
|
48
|
+
function Oc(a,b,c){a.j=c?Sc(b,!0):b;a.j&&(a.j=a.j.replace(/:$/,""));}function Pc(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.m=b;}else a.m=null;}function Rc(a,b,c){b instanceof Qc?(a.i=b,Yc(a.i,a.h)):(c||(b=Tc(b,Zc)),a.i=new Qc(b,a.h));}function K(a,b,c){a.i.set(b,c);}function jc(a){K(a,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36));return a}
|
|
49
|
+
function Sc(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Tc(a,b,c){return "string"===typeof a?(a=encodeURI(a).replace(b,$c),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function $c(a){a=a.charCodeAt(0);return "%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Uc=/[#\/\?@]/g,Wc=/[#\?:]/g,Vc=/[#\?]/g,Zc=/[#\?@]/g,Xc=/#/g;function Qc(a,b){this.h=this.g=null;this.i=a||null;this.j=!!b;}
|
|
50
|
+
function N(a){a.g||(a.g=new Map,a.h=0,a.i&&Nc(a.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c);}));}k=Qc.prototype;k.add=function(a,b){N(this);this.i=null;a=O(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};function ad(a,b){N(a);b=O(a,b);a.g.has(b)&&(a.i=null,a.h-=a.g.get(b).length,a.g.delete(b));}function bd(a,b){N(a);b=O(a,b);return a.g.has(b)}
|
|
51
|
+
k.forEach=function(a,b){N(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this);},this);},this);};k.sa=function(){N(this);const a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[];for(let d=0;d<b.length;d++){const e=a[d];for(let f=0;f<e.length;f++)c.push(b[d]);}return c};k.Z=function(a){N(this);let b=[];if("string"===typeof a)bd(this,a)&&(b=b.concat(this.g.get(O(this,a))));else {a=Array.from(this.g.values());for(let c=0;c<a.length;c++)b=b.concat(a[c]);}return b};
|
|
52
|
+
k.set=function(a,b){N(this);this.i=null;a=O(this,a);bd(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};k.get=function(a,b){if(!a)return b;a=this.Z(a);return 0<a.length?String(a[0]):b};function mc(a,b,c){ad(a,b);0<c.length&&(a.i=null,a.g.set(O(a,b),na(c)),a.h+=c.length);}
|
|
53
|
+
k.toString=function(){if(this.i)return this.i;if(!this.g)return "";const a=[],b=Array.from(this.g.keys());for(var c=0;c<b.length;c++){var d=b[c];const f=encodeURIComponent(String(d)),h=this.Z(d);for(d=0;d<h.length;d++){var e=f;""!==h[d]&&(e+="="+encodeURIComponent(String(h[d])));a.push(e);}}return this.i=a.join("&")};function O(a,b){b=String(b);a.j&&(b=b.toLowerCase());return b}
|
|
54
|
+
function Yc(a,b){b&&!a.j&&(N(a),a.i=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(ad(this,d),mc(this,e,c));},a));a.j=b;}var cd=class{constructor(a,b){this.h=a;this.g=b;}};function dd(a){this.l=a||ed;l.PerformanceNavigationTiming?(a=l.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(l.g&&l.g.Ka&&l.g.Ka()&&l.g.Ka().ec);this.j=a?this.l:1;this.g=null;1<this.j&&(this.g=new Set);this.h=null;this.i=[];}var ed=10;function fd(a){return a.h?!0:a.g?a.g.size>=a.j:!1}function Cc(a){return a.h?1:a.g?a.g.size:0}function yc(a,b){return a.h?a.h==b:a.g?a.g.has(b):!1}function Dc(a,b){a.g?a.g.add(b):a.h=b;}
|
|
55
|
+
function Fc(a,b){a.h&&a.h==b?a.h=null:a.g&&a.g.has(b)&&a.g.delete(b);}dd.prototype.cancel=function(){this.i=gd(this);if(this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const a of this.g.values())a.cancel();this.g.clear();}};function gd(a){if(null!=a.h)return a.i.concat(a.h.F);if(null!=a.g&&0!==a.g.size){let b=a.i;for(const c of a.g.values())b=b.concat(c.F);return b}return na(a.i)}function hd(){}hd.prototype.stringify=function(a){return l.JSON.stringify(a,void 0)};hd.prototype.parse=function(a){return l.JSON.parse(a,void 0)};function id(){this.g=new hd;}function jd(a,b,c){const d=c||"";try{Lc(a,function(e,f){let h=e;p(e)&&(h=mb(e));b.push(d+f+"="+encodeURIComponent(h));});}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}}function kd(a,b){const c=new Ib;if(l.Image){const d=new Image;d.onload=ja(ld,c,d,"TestLoadImage: loaded",!0,b);d.onerror=ja(ld,c,d,"TestLoadImage: error",!1,b);d.onabort=ja(ld,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=ja(ld,c,d,"TestLoadImage: timeout",!1,b);l.setTimeout(function(){if(d.ontimeout)d.ontimeout();},1E4);d.src=a;}else b(!1);}function ld(a,b,c,d,e){try{b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d);}catch(f){}}function md(a){this.l=a.fc||null;this.j=a.ob||!1;}r(md,Wb);md.prototype.g=function(){return new nd(this.l,this.j)};md.prototype.i=function(a){return function(){return a}}({});function nd(a,b){B.call(this);this.F=a;this.u=b;this.m=void 0;this.readyState=od;this.status=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=null;this.v=new Headers;this.h=null;this.C="GET";this.B="";this.g=!1;this.A=this.j=this.l=null;}r(nd,B);var od=0;k=nd.prototype;
|
|
56
|
+
k.open=function(a,b){if(this.readyState!=od)throw this.abort(),Error("Error reopening a connection");this.C=a;this.B=b;this.readyState=1;pd(this);};k.send=function(a){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;const b={headers:this.v,method:this.C,credentials:this.m,cache:void 0};a&&(b.body=a);(this.F||l).fetch(new Request(this.B,b)).then(this.$a.bind(this),this.ka.bind(this));};
|
|
57
|
+
k.abort=function(){this.response=this.responseText="";this.v=new Headers;this.status=0;this.j&&this.j.cancel("Request was aborted.").catch(()=>{});1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,qd(this));this.readyState=od;};
|
|
58
|
+
k.$a=function(a){if(this.g&&(this.l=a,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=a.headers,this.readyState=2,pd(this)),this.g&&(this.readyState=3,pd(this),this.g)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.Ya.bind(this),this.ka.bind(this));else if("undefined"!==typeof l.ReadableStream&&"body"in a){this.j=a.body.getReader();if(this.u){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=
|
|
59
|
+
[];}else this.response=this.responseText="",this.A=new TextDecoder;rd(this);}else a.text().then(this.Za.bind(this),this.ka.bind(this));};function rd(a){a.j.read().then(a.Xa.bind(a)).catch(a.ka.bind(a));}k.Xa=function(a){if(this.g){if(this.u&&a.value)this.response.push(a.value);else if(!this.u){var b=a.value?a.value:new Uint8Array(0);if(b=this.A.decode(b,{stream:!a.done}))this.response=this.responseText+=b;}a.done?qd(this):pd(this);3==this.readyState&&rd(this);}};
|
|
60
|
+
k.Za=function(a){this.g&&(this.response=this.responseText=a,qd(this));};k.Ya=function(a){this.g&&(this.response=a,qd(this));};k.ka=function(){this.g&&qd(this);};function qd(a){a.readyState=4;a.l=null;a.j=null;a.A=null;pd(a);}k.setRequestHeader=function(a,b){this.v.append(a,b);};k.getResponseHeader=function(a){return this.h?this.h.get(a.toLowerCase())||"":""};
|
|
61
|
+
k.getAllResponseHeaders=function(){if(!this.h)return "";const a=[],b=this.h.entries();for(var c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};function pd(a){a.onreadystatechange&&a.onreadystatechange.call(a);}Object.defineProperty(nd.prototype,"withCredentials",{get:function(){return "include"===this.m},set:function(a){this.m=a?"include":"same-origin";}});var sd=l.JSON.parse;function P(a){B.call(this);this.headers=new Map;this.u=a||null;this.h=!1;this.C=this.g=null;this.I="";this.m=0;this.j="";this.l=this.G=this.v=this.F=!1;this.B=0;this.A=null;this.K=td;this.L=this.M=!1;}r(P,B);var td="",ud=/^https?$/i,vd=["POST","PUT"];k=P.prototype;k.Oa=function(a){this.M=a;};
|
|
62
|
+
k.ha=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+a);b=b?b.toUpperCase():"GET";this.I=a;this.j="";this.m=0;this.F=!1;this.h=!0;this.g=this.u?this.u.g():bc.g();this.C=this.u?Xb(this.u):Xb(bc);this.g.onreadystatechange=q(this.La,this);try{this.G=!0,this.g.open(b,String(a),!0),this.G=!1;}catch(f){wd(this,f);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("function"===
|
|
63
|
+
typeof d.keys&&"function"===typeof d.get)for(const f of d.keys())c.set(f,d.get(f));else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(f=>"content-type"==f.toLowerCase());e=l.FormData&&a instanceof l.FormData;!(0<=ma(vd,b))||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const [f,h]of c)this.g.setRequestHeader(f,h);this.K&&(this.g.responseType=this.K);"withCredentials"in this.g&&this.g.withCredentials!==this.M&&(this.g.withCredentials=
|
|
64
|
+
this.M);try{xd(this),0<this.B&&((this.L=yd(this.g))?(this.g.timeout=this.B,this.g.ontimeout=q(this.ua,this)):this.A=Ab(this.ua,this.B,this)),this.v=!0,this.g.send(a),this.v=!1;}catch(f){wd(this,f);}};function yd(a){return y&&Ha()&&"number"===typeof a.timeout&&void 0!==a.ontimeout}k.ua=function(){"undefined"!=typeof goog&&this.g&&(this.j="Timed out after "+this.B+"ms, aborting",this.m=8,C(this,"timeout"),this.abort(8));};
|
|
65
|
+
function wd(a,b){a.h=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.j=b;a.m=5;zd(a);Ad(a);}function zd(a){a.F||(a.F=!0,C(a,"complete"),C(a,"error"));}k.abort=function(a){this.g&&this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1,this.m=a||7,C(this,"complete"),C(this,"abort"),Ad(this));};k.N=function(){this.g&&(this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1),Ad(this,!0));P.$.N.call(this);};k.La=function(){this.s||(this.G||this.v||this.l?Bd(this):this.kb());};k.kb=function(){Bd(this);};
|
|
66
|
+
function Bd(a){if(a.h&&"undefined"!=typeof goog&&(!a.C[1]||4!=H(a)||2!=a.da()))if(a.v&&4==H(a))Ab(a.La,0,a);else if(C(a,"readystatechange"),4==H(a)){a.h=!1;try{const m=a.da();a:switch(m){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1;}var c;if(!(c=b)){var d;if(d=0===m){var e=String(a.I).match(Mc)[1]||null;if(!e&&l.self&&l.self.location){var f=l.self.location.protocol;e=f.substr(0,f.length-1);}d=!ud.test(e?e.toLowerCase():"");}c=d;}if(c)C(a,"complete"),C(a,
|
|
67
|
+
"success");else {a.m=6;try{var h=2<H(a)?a.g.statusText:"";}catch(t){h="";}a.j=h+" ["+a.da()+"]";zd(a);}}finally{Ad(a);}}}function Ad(a,b){if(a.g){xd(a);const c=a.g,d=a.C[0]?aa:null;a.g=null;a.C=null;b||C(a,"ready");try{c.onreadystatechange=d;}catch(e){}}}function xd(a){a.g&&a.L&&(a.g.ontimeout=null);a.A&&(l.clearTimeout(a.A),a.A=null);}function H(a){return a.g?a.g.readyState:0}k.da=function(){try{return 2<H(this)?this.g.status:-1}catch(a){return -1}};
|
|
68
|
+
k.ja=function(){try{return this.g?this.g.responseText:""}catch(a){return ""}};k.Wa=function(a){if(this.g){var b=this.g.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return sd(b)}};function oc(a){try{if(!a.g)return null;if("response"in a.g)return a.g.response;switch(a.K){case td:case "text":return a.g.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.g)return a.g.mozResponseArrayBuffer}return null}catch(b){return null}}k.Ia=function(){return this.m};
|
|
69
|
+
k.Sa=function(){return "string"===typeof this.j?this.j:String(this.j)};function Cd(a){let b="";Ra(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n";});return b}function Dd(a,b,c){a:{for(d in c){var d=!1;break a}d=!0;}d||(c=Cd(c),"string"===typeof a?(null!=c&&encodeURIComponent(String(c))):K(a,b,c));}function Ed(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b}
|
|
70
|
+
function Fd(a){this.Ga=0;this.i=[];this.j=new Ib;this.oa=this.wa=this.G=this.Y=this.g=this.Da=this.F=this.ma=this.o=this.U=this.s=null;this.fb=this.W=0;this.cb=Ed("failFast",!1,a);this.M=this.v=this.u=this.m=this.l=null;this.aa=!0;this.ta=this.Fa=this.V=-1;this.ba=this.A=this.C=0;this.ab=Ed("baseRetryDelayMs",5E3,a);this.hb=Ed("retryDelaySeedMs",1E4,a);this.eb=Ed("forwardChannelMaxRetries",2,a);this.xa=Ed("forwardChannelRequestTimeoutMs",2E4,a);this.va=a&&a.xmlHttpFactory||void 0;this.Ha=a&&a.dc||
|
|
71
|
+
!1;this.K=void 0;this.I=a&&a.supportsCrossDomainXhr||!1;this.J="";this.h=new dd(a&&a.concurrentRequestLimit);this.Ja=new id;this.P=a&&a.fastHandshake||!1;this.O=a&&a.encodeInitMessageHeaders||!1;this.P&&this.O&&(this.O=!1);this.bb=a&&a.bc||!1;a&&a.Ea&&this.j.Ea();a&&a.forceLongPolling&&(this.aa=!1);this.ca=!this.P&&this.aa&&a&&a.detectBufferingProxy||!1;this.na=void 0;this.S=0;this.L=!1;this.pa=this.B=null;}k=Fd.prototype;k.qa=8;k.H=1;
|
|
72
|
+
function Ic(a){Gd(a);if(3==a.H){var b=a.W++,c=G(a.G);K(c,"SID",a.J);K(c,"RID",b);K(c,"TYPE","terminate");Hd(a,c);b=new dc(a,a.j,b,void 0);b.L=2;b.v=jc(G(c));c=!1;l.navigator&&l.navigator.sendBeacon&&(c=l.navigator.sendBeacon(b.v.toString(),""));!c&&l.Image&&((new Image).src=b.v,c=!0);c||(b.g=nc(b.l,null),b.g.ha(b.v));b.G=Date.now();lc(b);}Id(a);}function Ac(a){a.g&&(wc(a),a.g.cancel(),a.g=null);}
|
|
73
|
+
function Gd(a){Ac(a);a.u&&(l.clearTimeout(a.u),a.u=null);zc(a);a.h.cancel();a.m&&("number"===typeof a.m&&l.clearTimeout(a.m),a.m=null);}function Hc(a){fd(a.h)||a.m||(a.m=!0,tb(a.Na,a),a.C=0);}function Jd(a,b){if(Cc(a.h)>=a.h.j-(a.m?1:0))return !1;if(a.m)return a.i=b.F.concat(a.i),!0;if(1==a.H||2==a.H||a.C>=(a.cb?0:a.eb))return !1;a.m=Tb(q(a.Na,a,b),Kd(a,a.C));a.C++;return !0}
|
|
74
|
+
k.Na=function(a){if(this.m)if(this.m=null,1==this.H){if(!a){this.W=Math.floor(1E5*Math.random());a=this.W++;const e=new dc(this,this.j,a,void 0);let f=this.s;this.U&&(f?(f=Sa(f),Ua(f,this.U)):f=this.U);null!==this.o||this.O||(e.I=f,f=null);if(this.P)a:{var b=0;for(var c=0;c<this.i.length;c++){b:{var d=this.i[c];if("__data__"in d.g&&(d=d.g.__data__,"string"===typeof d)){d=d.length;break b}d=void 0;}if(void 0===d)break;b+=d;if(4096<b){b=c;break a}if(4096===b||c===this.i.length-1){b=c+1;break a}}b=1E3;}else b=
|
|
75
|
+
1E3;b=Ld(this,e,b);c=G(this.G);K(c,"RID",a);K(c,"CVER",22);this.F&&K(c,"X-HTTP-Session-Id",this.F);Hd(this,c);f&&(this.O?b="headers="+encodeURIComponent(String(Cd(f)))+"&"+b:this.o&&Dd(c,this.o,f));Dc(this.h,e);this.bb&&K(c,"TYPE","init");this.P?(K(c,"$req",b),K(c,"SID","null"),e.ba=!0,ic(e,c,null)):ic(e,c,b);this.H=2;}}else 3==this.H&&(a?Md(this,a):0==this.i.length||fd(this.h)||Md(this));};
|
|
76
|
+
function Md(a,b){var c;b?c=b.m:c=a.W++;const d=G(a.G);K(d,"SID",a.J);K(d,"RID",c);K(d,"AID",a.V);Hd(a,d);a.o&&a.s&&Dd(d,a.o,a.s);c=new dc(a,a.j,c,a.C+1);null===a.o&&(c.I=a.s);b&&(a.i=b.F.concat(a.i));b=Ld(a,c,1E3);c.setTimeout(Math.round(.5*a.xa)+Math.round(.5*a.xa*Math.random()));Dc(a.h,c);ic(c,d,b);}function Hd(a,b){a.ma&&Ra(a.ma,function(c,d){K(b,d,c);});a.l&&Lc({},function(c,d){K(b,d,c);});}
|
|
77
|
+
function Ld(a,b,c){c=Math.min(a.i.length,c);var d=a.l?q(a.l.Va,a.l,a):null;a:{var e=a.i;let f=-1;for(;;){const h=["count="+c];-1==f?0<c?(f=e[0].h,h.push("ofs="+f)):f=0:h.push("ofs="+f);let m=!0;for(let t=0;t<c;t++){let n=e[t].h;const u=e[t].g;n-=f;if(0>n)f=Math.max(0,e[t].h-100),m=!1;else try{jd(u,h,"req"+n+"_");}catch(L){d&&d(u);}}if(m){d=h.join("&");break a}}}a=a.i.splice(0,c);b.F=a;return d}function Gc(a){a.g||a.u||(a.ba=1,tb(a.Ma,a),a.A=0);}
|
|
78
|
+
function Bc(a){if(a.g||a.u||3<=a.A)return !1;a.ba++;a.u=Tb(q(a.Ma,a),Kd(a,a.A));a.A++;return !0}k.Ma=function(){this.u=null;Nd(this);if(this.ca&&!(this.L||null==this.g||0>=this.S)){var a=2*this.S;this.j.info("BP detection timer enabled: "+a);this.B=Tb(q(this.jb,this),a);}};k.jb=function(){this.B&&(this.B=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.M=!1,this.L=!0,F(10),Ac(this),Nd(this));};
|
|
79
|
+
function wc(a){null!=a.B&&(l.clearTimeout(a.B),a.B=null);}function Nd(a){a.g=new dc(a,a.j,"rpc",a.ba);null===a.o&&(a.g.I=a.s);a.g.O=0;var b=G(a.wa);K(b,"RID","rpc");K(b,"SID",a.J);K(b,"CI",a.M?"0":"1");K(b,"AID",a.V);K(b,"TYPE","xmlhttp");Hd(a,b);a.o&&a.s&&Dd(b,a.o,a.s);a.K&&a.g.setTimeout(a.K);var c=a.g;a=a.oa;c.L=1;c.v=jc(G(b));c.s=null;c.S=!0;kc(c,a);}k.ib=function(){null!=this.v&&(this.v=null,Ac(this),Bc(this),F(19));};function zc(a){null!=a.v&&(l.clearTimeout(a.v),a.v=null);}
|
|
80
|
+
function uc(a,b){var c=null;if(a.g==b){zc(a);wc(a);a.g=null;var d=2;}else if(yc(a.h,b))c=b.F,Fc(a.h,b),d=1;else return;if(0!=a.H)if(a.ta=b.aa,b.i)if(1==d){c=b.s?b.s.length:0;b=Date.now()-b.G;var e=a.C;d=Ob();C(d,new Sb(d,c));Hc(a);}else Gc(a);else if(e=b.o,3==e||0==e&&0<a.ta||!(1==d&&Jd(a,b)||2==d&&Bc(a)))switch(c&&0<c.length&&(b=a.h,b.i=b.i.concat(c)),e){case 1:J(a,5);break;case 4:J(a,10);break;case 3:J(a,6);break;default:J(a,2);}}
|
|
81
|
+
function Kd(a,b){let c=a.ab+Math.floor(Math.random()*a.hb);a.l||(c*=2);return c*b}function J(a,b){a.j.info("Error code "+b);if(2==b){var c=null;a.l&&(c=null);var d=q(a.pb,a);c||(c=new M("//www.google.com/images/cleardot.gif"),l.location&&"http"==l.location.protocol||Oc(c,"https"),jc(c));kd(c.toString(),d);}else F(2);a.H=0;a.l&&a.l.za(b);Id(a);Gd(a);}k.pb=function(a){a?(this.j.info("Successfully pinged google.com"),F(2)):(this.j.info("Failed to ping google.com"),F(1));};
|
|
82
|
+
function Id(a){a.H=0;a.pa=[];if(a.l){const b=gd(a.h);if(0!=b.length||0!=a.i.length)oa(a.pa,b),oa(a.pa,a.i),a.h.i.length=0,na(a.i),a.i.length=0;a.l.ya();}}function Ec(a,b,c){var d=c instanceof M?G(c):new M(c,void 0);if(""!=d.g)b&&(d.g=b+"."+d.g),Pc(d,d.m);else {var e=l.location;d=e.protocol;b=b?b+"."+e.hostname:e.hostname;e=+e.port;var f=new M(null,void 0);d&&Oc(f,d);b&&(f.g=b);e&&Pc(f,e);c&&(f.l=c);d=f;}c=a.F;b=a.Da;c&&b&&K(d,c,b);K(d,"VER",a.qa);Hd(a,d);return d}
|
|
83
|
+
function nc(a,b,c){if(b&&!a.I)throw Error("Can't create secondary domain capable XhrIo object.");b=c&&a.Ha&&!a.va?new P(new md({ob:!0})):new P(a.va);b.Oa(a.I);return b}function Od(){}k=Od.prototype;k.Ba=function(){};k.Aa=function(){};k.za=function(){};k.ya=function(){};k.Va=function(){};function Pd(){if(y&&!(10<=Number(Ka)))throw Error("Environmental error: no available transport.");}Pd.prototype.g=function(a,b){return new Q(a,b)};
|
|
84
|
+
function Q(a,b){B.call(this);this.g=new Fd(b);this.l=a;this.h=b&&b.messageUrlParams||null;a=b&&b.messageHeaders||null;b&&b.clientProtocolHeaderRequired&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.g.s=a;a=b&&b.initMessageHeaders||null;b&&b.messageContentType&&(a?a["X-WebChannel-Content-Type"]=b.messageContentType:a={"X-WebChannel-Content-Type":b.messageContentType});b&&b.Ca&&(a?a["X-WebChannel-Client-Profile"]=b.Ca:a={"X-WebChannel-Client-Profile":b.Ca});this.g.U=
|
|
85
|
+
a;(a=b&&b.cc)&&!qa(a)&&(this.g.o=a);this.A=b&&b.supportsCrossDomainXhr||!1;this.v=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!qa(b)&&(this.g.F=b,a=this.h,null!==a&&b in a&&(a=this.h,b in a&&delete a[b]));this.j=new R(this);}r(Q,B);Q.prototype.m=function(){this.g.l=this.j;this.A&&(this.g.I=!0);var a=this.g,b=this.l,c=this.h||void 0;F(0);a.Y=b;a.ma=c||{};a.M=a.aa;a.G=Ec(a,null,a.Y);Hc(a);};Q.prototype.close=function(){Ic(this.g);};
|
|
86
|
+
Q.prototype.u=function(a){var b=this.g;if("string"===typeof a){var c={};c.__data__=a;a=c;}else this.v&&(c={},c.__data__=mb(a),a=c);b.i.push(new cd(b.fb++,a));3==b.H&&Hc(b);};Q.prototype.N=function(){this.g.l=null;delete this.j;Ic(this.g);delete this.g;Q.$.N.call(this);};function Qd(a){$b.call(this);var b=a.__sm__;if(b){a:{for(const c in b){a=c;break a}a=void 0;}if(this.i=a)a=this.i,b=null!==b&&a in b?b[a]:void 0;this.data=b;}else this.data=a;}r(Qd,$b);function Rd(){ac.call(this);this.status=1;}r(Rd,ac);
|
|
87
|
+
function R(a){this.g=a;}r(R,Od);R.prototype.Ba=function(){C(this.g,"a");};R.prototype.Aa=function(a){C(this.g,new Qd(a));};R.prototype.za=function(a){C(this.g,new Rd());};R.prototype.ya=function(){C(this.g,"b");};function Sd(){this.blockSize=-1;}function S(){this.blockSize=-1;this.blockSize=64;this.g=Array(4);this.m=Array(this.blockSize);this.i=this.h=0;this.reset();}r(S,Sd);S.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.i=this.h=0;};
|
|
88
|
+
function Td(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>15);
|
|
89
|
+
h=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|
|
|
90
|
+
h>>>20);h=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<
|
|
91
|
+
5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
|
|
92
|
+
e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
|
|
93
|
+
e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|
|
|
94
|
+
h>>>21);h=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+
|
|
95
|
+
3873151461&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&
|
|
96
|
+
4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&
|
|
97
|
+
4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295;}
|
|
98
|
+
S.prototype.j=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.m,e=this.h,f=0;f<b;){if(0==e)for(;f<=c;)Td(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){Td(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){Td(this,d);e=0;break}}this.h=e;this.i+=b;};
|
|
99
|
+
S.prototype.l=function(){var a=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.i;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.j(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};function T(a,b){this.h=b;for(var c=[],d=!0,e=a.length-1;0<=e;e--){var f=a[e]|0;d&&f==b||(c[e]=f,d=!1);}this.g=c;}var Ud={};function Vd(a){return -128<=a&&128>a?va(Ud,a,function(b){return new T([b|0],0>b?-1:0)}):new T([a|0],0>a?-1:0)}function U(a){if(isNaN(a)||!isFinite(a))return V;if(0>a)return W(U(-a));for(var b=[],c=1,d=0;a>=c;d++)b[d]=a/c|0,c*=Wd;return new T(b,0)}
|
|
100
|
+
function Xd(a,b){if(0==a.length)throw Error("number format error: empty string");b=b||10;if(2>b||36<b)throw Error("radix out of range: "+b);if("-"==a.charAt(0))return W(Xd(a.substring(1),b));if(0<=a.indexOf("-"))throw Error('number format error: interior "-" character');for(var c=U(Math.pow(b,8)),d=V,e=0;e<a.length;e+=8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);8>f?(f=U(Math.pow(b,f)),d=d.R(f).add(U(h))):(d=d.R(c),d=d.add(U(h)));}return d}
|
|
101
|
+
var Wd=4294967296,V=Vd(0),Yd=Vd(1),Zd=Vd(16777216);k=T.prototype;k.ea=function(){if(X(this))return -W(this).ea();for(var a=0,b=1,c=0;c<this.g.length;c++){var d=this.D(c);a+=(0<=d?d:Wd+d)*b;b*=Wd;}return a};
|
|
102
|
+
k.toString=function(a){a=a||10;if(2>a||36<a)throw Error("radix out of range: "+a);if(Y(this))return "0";if(X(this))return "-"+W(this).toString(a);for(var b=U(Math.pow(a,6)),c=this,d="";;){var e=$d(c,b).g;c=ae(c,e.R(b));var f=((0<c.g.length?c.g[0]:c.h)>>>0).toString(a);c=e;if(Y(c))return f+d;for(;6>f.length;)f="0"+f;d=f+d;}};k.D=function(a){return 0>a?0:a<this.g.length?this.g[a]:this.h};function Y(a){if(0!=a.h)return !1;for(var b=0;b<a.g.length;b++)if(0!=a.g[b])return !1;return !0}
|
|
103
|
+
function X(a){return -1==a.h}k.X=function(a){a=ae(this,a);return X(a)?-1:Y(a)?0:1};function W(a){for(var b=a.g.length,c=[],d=0;d<b;d++)c[d]=~a.g[d];return (new T(c,~a.h)).add(Yd)}k.abs=function(){return X(this)?W(this):this};k.add=function(a){for(var b=Math.max(this.g.length,a.g.length),c=[],d=0,e=0;e<=b;e++){var f=d+(this.D(e)&65535)+(a.D(e)&65535),h=(f>>>16)+(this.D(e)>>>16)+(a.D(e)>>>16);d=h>>>16;f&=65535;h&=65535;c[e]=h<<16|f;}return new T(c,c[c.length-1]&-2147483648?-1:0)};
|
|
104
|
+
function ae(a,b){return a.add(W(b))}
|
|
105
|
+
k.R=function(a){if(Y(this)||Y(a))return V;if(X(this))return X(a)?W(this).R(W(a)):W(W(this).R(a));if(X(a))return W(this.R(W(a)));if(0>this.X(Zd)&&0>a.X(Zd))return U(this.ea()*a.ea());for(var b=this.g.length+a.g.length,c=[],d=0;d<2*b;d++)c[d]=0;for(d=0;d<this.g.length;d++)for(var e=0;e<a.g.length;e++){var f=this.D(d)>>>16,h=this.D(d)&65535,m=a.D(e)>>>16,t=a.D(e)&65535;c[2*d+2*e]+=h*t;be(c,2*d+2*e);c[2*d+2*e+1]+=f*t;be(c,2*d+2*e+1);c[2*d+2*e+1]+=h*m;be(c,2*d+2*e+1);c[2*d+2*e+2]+=f*m;be(c,2*d+2*e+2);}for(d=
|
|
106
|
+
0;d<b;d++)c[d]=c[2*d+1]<<16|c[2*d];for(d=b;d<2*b;d++)c[d]=0;return new T(c,0)};function be(a,b){for(;(a[b]&65535)!=a[b];)a[b+1]+=a[b]>>>16,a[b]&=65535,b++;}function ce(a,b){this.g=a;this.h=b;}
|
|
107
|
+
function $d(a,b){if(Y(b))throw Error("division by zero");if(Y(a))return new ce(V,V);if(X(a))return b=$d(W(a),b),new ce(W(b.g),W(b.h));if(X(b))return b=$d(a,W(b)),new ce(W(b.g),b.h);if(30<a.g.length){if(X(a)||X(b))throw Error("slowDivide_ only works with positive integers.");for(var c=Yd,d=b;0>=d.X(a);)c=de(c),d=de(d);var e=Z(c,1),f=Z(d,1);d=Z(d,2);for(c=Z(c,2);!Y(d);){var h=f.add(d);0>=h.X(a)&&(e=e.add(c),f=h);d=Z(d,1);c=Z(c,1);}b=ae(a,e.R(b));return new ce(e,b)}for(e=V;0<=a.X(b);){c=Math.max(1,Math.floor(a.ea()/
|
|
108
|
+
b.ea()));d=Math.ceil(Math.log(c)/Math.LN2);d=48>=d?1:Math.pow(2,d-48);f=U(c);for(h=f.R(b);X(h)||0<h.X(a);)c-=d,f=U(c),h=f.R(b);Y(f)&&(f=Yd);e=e.add(f);a=ae(a,h);}return new ce(e,a)}k.gb=function(a){return $d(this,a).h};k.and=function(a){for(var b=Math.max(this.g.length,a.g.length),c=[],d=0;d<b;d++)c[d]=this.D(d)&a.D(d);return new T(c,this.h&a.h)};k.or=function(a){for(var b=Math.max(this.g.length,a.g.length),c=[],d=0;d<b;d++)c[d]=this.D(d)|a.D(d);return new T(c,this.h|a.h)};
|
|
109
|
+
k.xor=function(a){for(var b=Math.max(this.g.length,a.g.length),c=[],d=0;d<b;d++)c[d]=this.D(d)^a.D(d);return new T(c,this.h^a.h)};function de(a){for(var b=a.g.length+1,c=[],d=0;d<b;d++)c[d]=a.D(d)<<1|a.D(d-1)>>>31;return new T(c,a.h)}function Z(a,b){var c=b>>5;b%=32;for(var d=a.g.length-c,e=[],f=0;f<d;f++)e[f]=0<b?a.D(f+c)>>>b|a.D(f+c+1)<<32-b:a.D(f+c);return new T(e,a.h)}Pd.prototype.createWebChannel=Pd.prototype.g;Q.prototype.send=Q.prototype.u;Q.prototype.open=Q.prototype.m;Q.prototype.close=Q.prototype.close;Ub.NO_ERROR=0;Ub.TIMEOUT=8;Ub.HTTP_ERROR=6;Vb.COMPLETE="complete";Yb.EventType=Zb;Zb.OPEN="a";Zb.CLOSE="b";Zb.ERROR="c";Zb.MESSAGE="d";B.prototype.listen=B.prototype.O;P.prototype.listenOnce=P.prototype.P;P.prototype.getLastError=P.prototype.Sa;P.prototype.getLastErrorCode=P.prototype.Ia;P.prototype.getStatus=P.prototype.da;P.prototype.getResponseJson=P.prototype.Wa;
|
|
110
|
+
P.prototype.getResponseText=P.prototype.ja;P.prototype.send=P.prototype.ha;P.prototype.setWithCredentials=P.prototype.Oa;S.prototype.digest=S.prototype.l;S.prototype.reset=S.prototype.reset;S.prototype.update=S.prototype.j;T.prototype.add=T.prototype.add;T.prototype.multiply=T.prototype.R;T.prototype.modulo=T.prototype.gb;T.prototype.compare=T.prototype.X;T.prototype.toNumber=T.prototype.ea;T.prototype.toString=T.prototype.toString;T.prototype.getBits=T.prototype.D;T.fromNumber=U;T.fromString=Xd;
|
|
111
|
+
var createWebChannelTransport = esm.createWebChannelTransport=function(){return new Pd};var getStatEventTarget = esm.getStatEventTarget=function(){return Ob()};var ErrorCode = esm.ErrorCode=Ub;var EventType = esm.EventType=Vb;var Event = esm.Event=E;var Stat = esm.Stat={xb:0,Ab:1,Bb:2,Ub:3,Zb:4,Wb:5,Xb:6,Vb:7,Tb:8,Yb:9,PROXY:10,NOPROXY:11,Rb:12,Nb:13,Ob:14,Mb:15,Pb:16,Qb:17,tb:18,sb:19,ub:20};var FetchXmlHttpFactory = esm.FetchXmlHttpFactory=md;var WebChannel = esm.WebChannel=Yb;var XhrIo = esm.XhrIo=P;var Md5 = esm.Md5=S;var Integer = esm.Integer=T;
|
|
112
|
+
|
|
113
|
+
export { ErrorCode, Event, EventType, FetchXmlHttpFactory, Integer, Md5, Stat, WebChannel, XhrIo, createWebChannelTransport, esm as default, getStatEventTarget };
|
|
114
|
+
//# sourceMappingURL=index.esm2017.js.map
|