@firebase/webchannel-wrapper 0.9.0-canary.a57a2b5d4 → 0.9.0-canary.a741002c3

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.
@@ -75,29 +75,29 @@ function ha(a, b, c) { if (!a)
75
75
  return function () { var e = Array.prototype.slice.call(arguments); Array.prototype.unshift.apply(e, d); return a.apply(b, e); };
76
76
  } return function () { return a.apply(b, arguments); }; }
77
77
  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); }
78
- function ia(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); }; }
79
- function t(a, b) { function c() { } c.prototype = b.prototype; a.X = b.prototype; a.prototype = new c; a.prototype.constructor = a; a.Wb = function (d, e, f) { for (var h = Array(arguments.length - 2), n = 2; n < arguments.length; n++)
80
- h[n - 2] = arguments[n]; return b.prototype[e].apply(d, h); }; }
78
+ 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); }; }
79
+ 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++)
80
+ h[m - 2] = arguments[m]; return b.prototype[e].apply(d, h); }; }
81
81
  function v() { this.s = this.s; this.o = this.o; }
82
- var ja = 0;
82
+ var ka = 0;
83
83
  v.prototype.s = !1;
84
- v.prototype.na = function () { if (!this.s && (this.s = !0, this.M(), 0 != ja)) {
84
+ v.prototype.ra = function () { if (!this.s && (this.s = !0, this.N(), 0 != ka)) {
85
85
  ca(this);
86
86
  } };
87
- v.prototype.M = function () { if (this.o)
87
+ v.prototype.N = function () { if (this.o)
88
88
  for (; this.o.length;)
89
89
  this.o.shift()(); };
90
- var la = Array.prototype.indexOf ? function (a, b) { return Array.prototype.indexOf.call(a, b, void 0); } : function (a, b) { if ("string" === typeof a)
90
+ var ma = Array.prototype.indexOf ? function (a, b) { return Array.prototype.indexOf.call(a, b, void 0); } : function (a, b) { if ("string" === typeof a)
91
91
  return "string" !== typeof b || 1 != b.length ? -1 : a.indexOf(b, 0); for (var c = 0; c < a.length; c++)
92
92
  if (c in a && a[c] === b)
93
93
  return c; return -1; };
94
- function ma(a) { var b = a.length; if (0 < b) {
94
+ function na(a) { var b = a.length; if (0 < b) {
95
95
  var c = Array(b);
96
96
  for (var d = 0; d < b; d++)
97
97
  c[d] = a[d];
98
98
  return c;
99
99
  } return []; }
100
- function na(a, b) { for (var c = 1; c < arguments.length; c++) {
100
+ function oa(a, b) { for (var c = 1; c < arguments.length; c++) {
101
101
  var d = arguments[c];
102
102
  if (ba(d)) {
103
103
  var e = a.length || 0, f = d.length || 0;
@@ -110,60 +110,60 @@ function na(a, b) { for (var c = 1; c < arguments.length; c++) {
110
110
  } }
111
111
  function w(a, b) { this.type = a; this.g = this.target = b; this.defaultPrevented = !1; }
112
112
  w.prototype.h = function () { this.defaultPrevented = !0; };
113
- var oa = function () { if (!l.addEventListener || !Object.defineProperty)
113
+ var pa = function () { if (!l.addEventListener || !Object.defineProperty)
114
114
  return !1; var a = !1, b = Object.defineProperty({}, "passive", { get: function () { a = !0; } }); try {
115
115
  l.addEventListener("test", aa, b), l.removeEventListener("test", aa, b);
116
116
  }
117
117
  catch (c) { } return a; }();
118
- function pa(a) { return /^[\s\xa0]*$/.test(a); }
119
- var qa = String.prototype.trim ? function (a) { return a.trim(); } : function (a) { return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]; };
120
- function ra(a, b) { return a < b ? -1 : a > b ? 1 : 0; }
121
- function sa() { var a = l.navigator; return a && (a = a.userAgent) ? a : ""; }
122
- function x(a) { return -1 != sa().indexOf(a); }
123
- function ta(a) { ta[" "](a); return a; }
124
- ta[" "] = aa;
125
- function ua(a) { var b = va; return Object.prototype.hasOwnProperty.call(b, 9) ? b[9] : b[9] = a(9); }
126
- var wa = x("Opera"), y = x("Trident") || x("MSIE"), xa = x("Edge"), ya = xa || y, za = x("Gecko") && !(-1 != sa().toLowerCase().indexOf("webkit") && !x("Edge")) && !(x("Trident") || x("MSIE")) && !x("Edge"), Aa = -1 != sa().toLowerCase().indexOf("webkit") && !x("Edge");
118
+ function qa(a) { return /^[\s\xa0]*$/.test(a); }
119
+ var ra = String.prototype.trim ? function (a) { return a.trim(); } : function (a) { return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]; };
120
+ function sa(a, b) { return a < b ? -1 : a > b ? 1 : 0; }
121
+ function ta() { var a = l.navigator; return a && (a = a.userAgent) ? a : ""; }
122
+ function x(a) { return -1 != ta().indexOf(a); }
123
+ function ua(a) { ua[" "](a); return a; }
124
+ ua[" "] = aa;
125
+ function va(a, b, c) { return Object.prototype.hasOwnProperty.call(a, b) ? a[b] : a[b] = c(b); }
126
+ 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");
127
127
  function Ba() { var a = l.document; return a ? a.documentMode : void 0; }
128
- var Ea;
128
+ var Ca;
129
129
  a: {
130
- var Fa = "", Ga = function () { var a = sa(); if (za)
130
+ var Da = "", Ea = function () { var a = ta(); if (za)
131
131
  return /rv:([^\);]+)(\)|;)/.exec(a); if (xa)
132
132
  return /Edge\/([\d\.]+)/.exec(a); if (y)
133
133
  return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a); if (Aa)
134
134
  return /WebKit\/(\S+)/.exec(a); if (wa)
135
135
  return /(?:Version)[ \/]?(\S+)/.exec(a); }();
136
- Ga && (Fa = Ga ? Ga[1] : "");
136
+ Ea && (Da = Ea ? Ea[1] : "");
137
137
  if (y) {
138
- var Ha = Ba();
139
- if (null != Ha && Ha > parseFloat(Fa)) {
140
- Ea = String(Ha);
138
+ var Fa = Ba();
139
+ if (null != Fa && Fa > parseFloat(Da)) {
140
+ Ca = String(Fa);
141
141
  break a;
142
142
  }
143
143
  }
144
- Ea = Fa;
144
+ Ca = Da;
145
145
  }
146
- var va = {};
147
- function Ia() { return ua(function () { var a = 0; var b = qa(String(Ea)).split("."), c = qa("9").split("."), d = Math.max(b.length, c.length); for (var h = 0; 0 == a && h < d; h++) {
146
+ var Ga = {};
147
+ function Ha() { return va(Ga, 9, function () { var a = 0; var b = ra(String(Ca)).split("."), c = ra("9").split("."), d = Math.max(b.length, c.length); for (var h = 0; 0 == a && h < d; h++) {
148
148
  var e = b[h] || "", f = c[h] || "";
149
149
  do {
150
150
  e = /(\d*)(\D*)(.*)/.exec(e) || ["", "", "", ""];
151
151
  f = /(\d*)(\D*)(.*)/.exec(f) || ["", "", "", ""];
152
152
  if (0 == e[0].length && 0 == f[0].length)
153
153
  break;
154
- a = ra(0 == e[1].length ? 0 : parseInt(e[1], 10), 0 == f[1].length ? 0 : parseInt(f[1], 10)) || ra(0 == e[2].length, 0 == f[2].length) || ra(e[2], f[2]);
154
+ 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]);
155
155
  e = e[3];
156
156
  f = f[3];
157
157
  } while (0 == a);
158
158
  } return 0 <= a; }); }
159
- var Ja;
159
+ var Ia;
160
160
  if (l.document && y) {
161
- var Ka = Ba();
162
- Ja = Ka ? Ka : parseInt(Ea, 10) || void 0;
161
+ var Ja = Ba();
162
+ Ia = Ja ? Ja : parseInt(Ca, 10) || void 0;
163
163
  }
164
164
  else
165
- Ja = void 0;
166
- var La = Ja;
165
+ Ia = void 0;
166
+ var Ka = Ia;
167
167
  function z(a, b) {
168
168
  w.call(this, a ? a.type : "");
169
169
  this.relatedTarget = this.g = this.target = null;
@@ -182,7 +182,7 @@ function z(a, b) {
182
182
  if (za) {
183
183
  a: {
184
184
  try {
185
- ta(b.nodeName);
185
+ ua(b.nodeName);
186
186
  var e = !0;
187
187
  break a;
188
188
  }
@@ -205,145 +205,145 @@ function z(a, b) {
205
205
  a.shiftKey;
206
206
  this.metaKey = a.metaKey;
207
207
  this.pointerId = a.pointerId || 0;
208
- this.pointerType = "string" === typeof a.pointerType ? a.pointerType : Ma[a.pointerType] || "";
208
+ this.pointerType = "string" === typeof a.pointerType ? a.pointerType : Na[a.pointerType] || "";
209
209
  this.state = a.state;
210
210
  this.i = a;
211
- a.defaultPrevented && z.X.h.call(this);
211
+ a.defaultPrevented && z.$.h.call(this);
212
212
  }
213
213
  }
214
- t(z, w);
215
- var Ma = { 2: "touch", 3: "pen", 4: "mouse" };
216
- z.prototype.h = function () { z.X.h.call(this); var a = this.i; a.preventDefault ? a.preventDefault() : a.returnValue = !1; };
214
+ r(z, w);
215
+ var Na = { 2: "touch", 3: "pen", 4: "mouse" };
216
+ z.prototype.h = function () { z.$.h.call(this); var a = this.i; a.preventDefault ? a.preventDefault() : a.returnValue = !1; };
217
217
  var A = "closure_listenable_" + (1E6 * Math.random() | 0);
218
- var Na = 0;
219
- function Oa(a, b, c, d, e) { this.listener = a; this.proxy = null; this.src = b; this.type = c; this.capture = !!d; this.ha = e; this.key = ++Na; this.ba = this.ea = !1; }
220
- function Pa(a) { a.ba = !0; a.listener = null; a.proxy = null; a.src = null; a.ha = null; }
221
- function Qa(a, b, c) { for (var d in a)
218
+ var Oa = 0;
219
+ 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; }
220
+ function Qa(a) { a.fa = !0; a.listener = null; a.proxy = null; a.src = null; a.la = null; }
221
+ function Ra(a, b, c) { for (var d in a)
222
222
  b.call(c, a[d], d, a); }
223
- function Ra(a) { var b = {}; for (var c in a)
223
+ function Sa(a) { var b = {}; for (var c in a)
224
224
  b[c] = a[c]; return b; }
225
- var Sa = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
226
- function Ta(a, b) { var c, d; for (var e = 1; e < arguments.length; e++) {
225
+ var Ta = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
226
+ function Ua(a, b) { var c, d; for (var e = 1; e < arguments.length; e++) {
227
227
  d = arguments[e];
228
228
  for (c in d)
229
229
  a[c] = d[c];
230
- for (var f = 0; f < Sa.length; f++)
231
- c = Sa[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);
230
+ for (var f = 0; f < Ta.length; f++)
231
+ c = Ta[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);
232
232
  } }
233
- function Ua(a) { this.src = a; this.g = {}; this.h = 0; }
234
- Ua.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 = Va(a, b, d, e); -1 < h ? (b = a[h], c || (b.ea = !1)) : (b = new Oa(b, this.src, f, !!d, e), b.ea = c, a.push(b)); return b; };
235
- function Wa(a, b) { var c = b.type; if (c in a.g) {
236
- var d = a.g[c], e = la(d, b), f;
233
+ function Va(a) { this.src = a; this.g = {}; this.h = 0; }
234
+ 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; };
235
+ function Xa(a, b) { var c = b.type; if (c in a.g) {
236
+ var d = a.g[c], e = ma(d, b), f;
237
237
  (f = 0 <= e) && Array.prototype.splice.call(d, e, 1);
238
- f && (Pa(b), 0 == a.g[c].length && (delete a.g[c], a.h--));
238
+ f && (Qa(b), 0 == a.g[c].length && (delete a.g[c], a.h--));
239
239
  } }
240
- function Va(a, b, c, d) { for (var e = 0; e < a.length; ++e) {
240
+ function Wa(a, b, c, d) { for (var e = 0; e < a.length; ++e) {
241
241
  var f = a[e];
242
- if (!f.ba && f.listener == b && f.capture == !!c && f.ha == d)
242
+ if (!f.fa && f.listener == b && f.capture == !!c && f.la == d)
243
243
  return e;
244
244
  } return -1; }
245
- var Xa = "closure_lm_" + (1E6 * Math.random() | 0), Ya = {};
246
- function $a(a, b, c, d, e) { if (d && d.once)
247
- return ab(a, b, c, d, e); if (Array.isArray(b)) {
245
+ var Ya = "closure_lm_" + (1E6 * Math.random() | 0), Za = {};
246
+ function ab(a, b, c, d, e) { if (d && d.once)
247
+ return bb(a, b, c, d, e); if (Array.isArray(b)) {
248
248
  for (var f = 0; f < b.length; f++)
249
- $a(a, b[f], c, d, e);
249
+ ab(a, b[f], c, d, e);
250
250
  return null;
251
- } c = bb(c); return a && a[A] ? a.N(b, c, p(d) ? !!d.capture : !!d, e) : cb(a, b, c, !1, d, e); }
252
- function cb(a, b, c, d, e, f) { if (!b)
253
- throw Error("Invalid event type"); var h = p(e) ? !!e.capture : !!e, n = db(a); n || (a[Xa] = n = new Ua(a)); c = n.add(b, c, d, h, f); if (c.proxy)
254
- return c; d = eb(); c.proxy = d; d.src = a; d.listener = c; if (a.addEventListener)
255
- oa || (e = h), void 0 === e && (e = !1), a.addEventListener(b.toString(), d, e);
251
+ } c = cb(c); return a && a[A] ? a.O(b, c, p(d) ? !!d.capture : !!d, e) : db(a, b, c, !1, d, e); }
252
+ function db(a, b, c, d, e, f) { if (!b)
253
+ 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)
254
+ return c; d = fb(); c.proxy = d; d.src = a; d.listener = c; if (a.addEventListener)
255
+ pa || (e = h), void 0 === e && (e = !1), a.addEventListener(b.toString(), d, e);
256
256
  else if (a.attachEvent)
257
- a.attachEvent(fb(b.toString()), d);
257
+ a.attachEvent(gb(b.toString()), d);
258
258
  else if (a.addListener && a.removeListener)
259
259
  a.addListener(d);
260
260
  else
261
261
  throw Error("addEventListener and attachEvent are unavailable."); return c; }
262
- function eb() { function a(c) { return b.call(a.src, a.listener, c); } var b = gb; return a; }
263
- function ab(a, b, c, d, e) { if (Array.isArray(b)) {
262
+ function fb() { function a(c) { return b.call(a.src, a.listener, c); } var b = hb; return a; }
263
+ function bb(a, b, c, d, e) { if (Array.isArray(b)) {
264
264
  for (var f = 0; f < b.length; f++)
265
- ab(a, b[f], c, d, e);
265
+ bb(a, b[f], c, d, e);
266
266
  return null;
267
- } c = bb(c); return a && a[A] ? a.O(b, c, p(d) ? !!d.capture : !!d, e) : cb(a, b, c, !0, d, e); }
268
- function hb(a, b, c, d, e) { if (Array.isArray(b))
267
+ } c = cb(c); return a && a[A] ? a.P(b, c, p(d) ? !!d.capture : !!d, e) : db(a, b, c, !0, d, e); }
268
+ function ib(a, b, c, d, e) { if (Array.isArray(b))
269
269
  for (var f = 0; f < b.length; f++)
270
- hb(a, b[f], c, d, e);
270
+ ib(a, b[f], c, d, e);
271
271
  else
272
- (d = p(d) ? !!d.capture : !!d, c = bb(c), a && a[A]) ? (a = a.i, b = String(b).toString(), b in a.g && (f = a.g[b], c = Va(f, c, d, e), -1 < c && (Pa(f[c]), Array.prototype.splice.call(f, c, 1), 0 == f.length && (delete a.g[b], a.h--)))) : a && (a = db(a)) && (b = a.g[b.toString()], a = -1, b && (a = Va(b, c, d, e)), (c = -1 < a ? b[a] : null) && ib(c)); }
273
- function ib(a) { if ("number" !== typeof a && a && !a.ba) {
272
+ (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)); }
273
+ function jb(a) { if ("number" !== typeof a && a && !a.fa) {
274
274
  var b = a.src;
275
275
  if (b && b[A])
276
- Wa(b.i, a);
276
+ Xa(b.i, a);
277
277
  else {
278
278
  var c = a.type, d = a.proxy;
279
- b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(fb(c), d) : b.addListener && b.removeListener && b.removeListener(d);
280
- (c = db(b)) ? (Wa(c, a), 0 == c.h && (c.src = null, b[Xa] = null)) : Pa(a);
279
+ b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(gb(c), d) : b.addListener && b.removeListener && b.removeListener(d);
280
+ (c = eb(b)) ? (Xa(c, a), 0 == c.h && (c.src = null, b[Ya] = null)) : Qa(a);
281
281
  }
282
282
  } }
283
- function fb(a) { return a in Ya ? Ya[a] : Ya[a] = "on" + a; }
284
- function gb(a, b) { if (a.ba)
283
+ function gb(a) { return a in Za ? Za[a] : Za[a] = "on" + a; }
284
+ function hb(a, b) { if (a.fa)
285
285
  a = !0;
286
286
  else {
287
287
  b = new z(b, this);
288
- var c = a.listener, d = a.ha || a.src;
289
- a.ea && ib(a);
288
+ var c = a.listener, d = a.la || a.src;
289
+ a.ia && jb(a);
290
290
  a = c.call(d, b);
291
291
  } return a; }
292
- function db(a) { a = a[Xa]; return a instanceof Ua ? a : null; }
293
- var jb = "__closure_events_fn_" + (1E9 * Math.random() >>> 0);
294
- function bb(a) { if ("function" === typeof a)
295
- return a; a[jb] || (a[jb] = function (b) { return a.handleEvent(b); }); return a[jb]; }
296
- function B() { v.call(this); this.i = new Ua(this); this.P = this; this.I = null; }
297
- t(B, v);
292
+ function eb(a) { a = a[Ya]; return a instanceof Va ? a : null; }
293
+ var kb = "__closure_events_fn_" + (1E9 * Math.random() >>> 0);
294
+ function cb(a) { if ("function" === typeof a)
295
+ return a; a[kb] || (a[kb] = function (b) { return a.handleEvent(b); }); return a[kb]; }
296
+ function B() { v.call(this); this.i = new Va(this); this.S = this; this.J = null; }
297
+ r(B, v);
298
298
  B.prototype[A] = !0;
299
- B.prototype.removeEventListener = function (a, b, c, d) { hb(this, a, b, c, d); };
300
- function C(a, b) { var c, d = a.I; if (d)
301
- for (c = []; d; d = d.I)
302
- c.push(d); a = a.P; d = b.type || b; if ("string" === typeof b)
299
+ B.prototype.removeEventListener = function (a, b, c, d) { ib(this, a, b, c, d); };
300
+ function C(a, b) { var c, d = a.J; if (d)
301
+ for (c = []; d; d = d.J)
302
+ c.push(d); a = a.S; d = b.type || b; if ("string" === typeof b)
303
303
  b = new w(b, a);
304
304
  else if (b instanceof w)
305
305
  b.target = b.target || a;
306
306
  else {
307
307
  var e = b;
308
308
  b = new w(d, a);
309
- Ta(b, e);
309
+ Ua(b, e);
310
310
  } e = !0; if (c)
311
311
  for (var f = c.length - 1; 0 <= f; f--) {
312
312
  var h = b.g = c[f];
313
- e = kb(h, d, !0, b) && e;
314
- } h = b.g = a; e = kb(h, d, !0, b) && e; e = kb(h, d, !1, b) && e; if (c)
313
+ e = lb(h, d, !0, b) && e;
314
+ } h = b.g = a; e = lb(h, d, !0, b) && e; e = lb(h, d, !1, b) && e; if (c)
315
315
  for (f = 0; f < c.length; f++)
316
- h = b.g = c[f], e = kb(h, d, !1, b) && e; }
317
- B.prototype.M = function () { B.X.M.call(this); if (this.i) {
316
+ h = b.g = c[f], e = lb(h, d, !1, b) && e; }
317
+ B.prototype.N = function () { B.$.N.call(this); if (this.i) {
318
318
  var a = this.i, c;
319
319
  for (c in a.g) {
320
320
  for (var d = a.g[c], e = 0; e < d.length; e++)
321
- Pa(d[e]);
321
+ Qa(d[e]);
322
322
  delete a.g[c];
323
323
  a.h--;
324
324
  }
325
- } this.I = null; };
326
- B.prototype.N = function (a, b, c, d) { return this.i.add(String(a), b, !1, c, d); };
327
- B.prototype.O = function (a, b, c, d) { return this.i.add(String(a), b, !0, c, d); };
328
- function kb(a, b, c, d) { b = a.i.g[String(b)]; if (!b)
325
+ } this.J = null; };
326
+ B.prototype.O = function (a, b, c, d) { return this.i.add(String(a), b, !1, c, d); };
327
+ B.prototype.P = function (a, b, c, d) { return this.i.add(String(a), b, !0, c, d); };
328
+ function lb(a, b, c, d) { b = a.i.g[String(b)]; if (!b)
329
329
  return !0; b = b.concat(); for (var e = !0, f = 0; f < b.length; ++f) {
330
330
  var h = b[f];
331
- if (h && !h.ba && h.capture == c) {
332
- var n = h.listener, u = h.ha || h.src;
333
- h.ea && Wa(a.i, h);
334
- e = !1 !== n.call(u, d) && e;
331
+ if (h && !h.fa && h.capture == c) {
332
+ var m = h.listener, t = h.la || h.src;
333
+ h.ia && Xa(a.i, h);
334
+ e = !1 !== m.call(t, d) && e;
335
335
  }
336
336
  } return e && !d.defaultPrevented; }
337
- var lb = l.JSON.stringify;
338
- function mb() { var a = nb; var b = null; a.g && (b = a.g, a.g = a.g.next, a.g || (a.h = null), b.next = null); return b; }
339
- var ob = /** @class */ (function () {
340
- function ob() {
337
+ var mb = l.JSON.stringify;
338
+ function nb() { var a = ob; var b = null; a.g && (b = a.g, a.g = a.g.next, a.g || (a.h = null), b.next = null); return b; }
339
+ var pb = /** @class */ (function () {
340
+ function pb() {
341
341
  this.h = this.g = null;
342
342
  }
343
- ob.prototype.add = function (a, b) { var c = pb.get(); c.set(a, b); this.h ? this.h.next = c : this.g = c; this.h = c; };
344
- return ob;
343
+ pb.prototype.add = function (a, b) { var c = qb.get(); c.set(a, b); this.h ? this.h.next = c : this.g = c; this.h = c; };
344
+ return pb;
345
345
  }());
346
- var pb = new /** @class */ (function () {
346
+ var qb = new /** @class */ (function () {
347
347
  function class_1(a, b) {
348
348
  this.i = a;
349
349
  this.j = b;
@@ -352,43 +352,43 @@ var pb = new /** @class */ (function () {
352
352
  }
353
353
  class_1.prototype.get = function () { var a; 0 < this.h ? (this.h--, a = this.g, this.g = a.next, a.next = null) : a = this.i(); return a; };
354
354
  return class_1;
355
- }())(function () { return new qb; }, function (a) { return a.reset(); });
356
- var qb = /** @class */ (function () {
357
- function qb() {
355
+ }())(function () { return new rb; }, function (a) { return a.reset(); });
356
+ var rb = /** @class */ (function () {
357
+ function rb() {
358
358
  this.next = this.g = this.h = null;
359
359
  }
360
- qb.prototype.set = function (a, b) { this.h = a; this.g = b; this.next = null; };
361
- qb.prototype.reset = function () { this.next = this.g = this.h = null; };
362
- return qb;
360
+ rb.prototype.set = function (a, b) { this.h = a; this.g = b; this.next = null; };
361
+ rb.prototype.reset = function () { this.next = this.g = this.h = null; };
362
+ return rb;
363
363
  }());
364
- function rb(a) { l.setTimeout(function () { throw a; }, 0); }
365
- function sb(a, b) { ub || vb(); wb || (ub(), wb = !0); nb.add(a, b); }
364
+ function sb(a) { l.setTimeout(function () { throw a; }, 0); }
365
+ function tb(a, b) { ub || vb(); wb || (ub(), wb = !0); ob.add(a, b); }
366
366
  var ub;
367
367
  function vb() { var a = l.Promise.resolve(void 0); ub = function () { a.then(xb); }; }
368
- var wb = !1, nb = new ob;
369
- function xb() { for (var a; a = mb();) {
368
+ var wb = !1, ob = new pb;
369
+ function xb() { for (var a; a = nb();) {
370
370
  try {
371
371
  a.h.call(a.g);
372
372
  }
373
373
  catch (c) {
374
- rb(c);
374
+ sb(c);
375
375
  }
376
- var b = pb;
376
+ var b = qb;
377
377
  b.j(a);
378
378
  100 > b.h && (b.h++, a.next = b.g, b.g = a);
379
379
  } wb = !1; }
380
- function yb(a, b) { B.call(this); this.h = a || 1; this.g = b || l; this.j = q(this.lb, this); this.l = Date.now(); }
381
- t(yb, B);
380
+ 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(); }
381
+ r(yb, B);
382
382
  k = yb.prototype;
383
- k.ca = !1;
384
- k.R = null;
385
- k.lb = function () { if (this.ca) {
383
+ k.ga = !1;
384
+ k.T = null;
385
+ k.qb = function () { if (this.ga) {
386
386
  var a = Date.now() - this.l;
387
- 0 < a && a < .8 * this.h ? this.R = this.g.setTimeout(this.j, this.h - a) : (this.R && (this.g.clearTimeout(this.R), this.R = null), C(this, "tick"), this.ca && (zb(this), this.start()));
387
+ 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()));
388
388
  } };
389
- k.start = function () { this.ca = !0; this.R || (this.R = this.g.setTimeout(this.j, this.h), this.l = Date.now()); };
390
- function zb(a) { a.ca = !1; a.R && (a.g.clearTimeout(a.R), a.R = null); }
391
- k.M = function () { yb.X.M.call(this); zb(this); delete this.g; };
389
+ k.start = function () { this.ga = !0; this.T || (this.T = this.g.setTimeout(this.j, this.h), this.l = Date.now()); };
390
+ function zb(a) { a.ga = !1; a.T && (a.g.clearTimeout(a.T), a.T = null); }
391
+ k.N = function () { yb.$.N.call(this); zb(this); delete this.g; };
392
392
  function Ab(a, b, c) { if ("function" === typeof a)
393
393
  c && (a = q(a, c));
394
394
  else if (a && "function" == typeof a.handleEvent)
@@ -408,33 +408,33 @@ var Cb = /** @class */ (function (_super) {
408
408
  return _this;
409
409
  }
410
410
  Cb.prototype.l = function (a) { this.h = arguments; this.g ? this.i = !0 : Bb(this); };
411
- Cb.prototype.M = function () { _super.prototype.M.call(this); this.g && (l.clearTimeout(this.g), this.g = null, this.i = !1, this.h = null); };
411
+ Cb.prototype.N = function () { _super.prototype.N.call(this); this.g && (l.clearTimeout(this.g), this.g = null, this.i = !1, this.h = null); };
412
412
  return Cb;
413
413
  }(v));
414
- function D(a) { v.call(this); this.h = a; this.g = {}; }
415
- t(D, v);
416
- var Db = [];
417
- function Eb(a, b, c, d) { Array.isArray(c) || (c && (Db[0] = c.toString()), c = Db); for (var e = 0; e < c.length; e++) {
418
- var f = $a(b, c[e], d || a.handleEvent, !1, a.h || a);
414
+ function Db(a) { v.call(this); this.h = a; this.g = {}; }
415
+ r(Db, v);
416
+ var Eb = [];
417
+ function Gb(a, b, c, d) { Array.isArray(c) || (c && (Eb[0] = c.toString()), c = Eb); for (var e = 0; e < c.length; e++) {
418
+ var f = ab(b, c[e], d || a.handleEvent, !1, a.h || a);
419
419
  if (!f)
420
420
  break;
421
421
  a.g[f.key] = f;
422
422
  } }
423
- function Fb(a) { Qa(a.g, function (b, c) { this.g.hasOwnProperty(c) && ib(b); }, a); a.g = {}; }
424
- D.prototype.M = function () { D.X.M.call(this); Fb(this); };
425
- D.prototype.handleEvent = function () { throw Error("EventHandler.handleEvent not implemented"); };
426
- function Gb() { this.g = !0; }
427
- Gb.prototype.Aa = function () { this.g = !1; };
428
- function Hb(a, b, c, d, e, f) { a.info(function () { if (a.g)
423
+ function Hb(a) { Ra(a.g, function (b, c) { this.g.hasOwnProperty(c) && jb(b); }, a); a.g = {}; }
424
+ Db.prototype.N = function () { Db.$.N.call(this); Hb(this); };
425
+ Db.prototype.handleEvent = function () { throw Error("EventHandler.handleEvent not implemented"); };
426
+ function Ib() { this.g = !0; }
427
+ Ib.prototype.Ea = function () { this.g = !1; };
428
+ function Jb(a, b, c, d, e, f) { a.info(function () { if (a.g)
429
429
  if (f) {
430
430
  var h = "";
431
- for (var n = f.split("&"), u = 0; u < n.length; u++) {
432
- var m = n[u].split("=");
433
- if (1 < m.length) {
434
- var r = m[0];
435
- m = m[1];
436
- var F = r.split("_");
437
- h = 2 <= F.length && "type" == F[1] ? h + (r + "=" + m + "&") : h + (r + "=redacted&");
431
+ for (var m = f.split("&"), t = 0; t < m.length; t++) {
432
+ var n = m[t].split("=");
433
+ if (1 < n.length) {
434
+ var u = n[0];
435
+ n = n[1];
436
+ var L = u.split("_");
437
+ h = 2 <= L.length && "type" == L[1] ? h + (u + "=" + n + "&") : h + (u + "=redacted&");
438
438
  }
439
439
  }
440
440
  }
@@ -442,11 +442,11 @@ function Hb(a, b, c, d, e, f) { a.info(function () { if (a.g)
442
442
  h = null;
443
443
  else
444
444
  h = f; return "XMLHTTP REQ (" + d + ") [attempt " + e + "]: " + b + "\n" + c + "\n" + h; }); }
445
- function Ib(a, b, c, d, e, f, h) { a.info(function () { return "XMLHTTP RESP (" + d + ") [ attempt " + e + "]: " + b + "\n" + c + "\n" + f + " " + h; }); }
446
- function E(a, b, c, d) { a.info(function () { return "XMLHTTP TEXT (" + b + "): " + Jb(a, c) + (d ? " " + d : ""); }); }
447
- function Kb(a, b) { a.info(function () { return "TIMEOUT: " + b; }); }
448
- Gb.prototype.info = function () { };
449
- function Jb(a, b) { if (!a.g)
445
+ function Kb(a, b, c, d, e, f, h) { a.info(function () { return "XMLHTTP RESP (" + d + ") [ attempt " + e + "]: " + b + "\n" + c + "\n" + f + " " + h; }); }
446
+ function D(a, b, c, d) { a.info(function () { return "XMLHTTP TEXT (" + b + "): " + Lb(a, c) + (d ? " " + d : ""); }); }
447
+ function Mb(a, b) { a.info(function () { return "TIMEOUT: " + b; }); }
448
+ Ib.prototype.info = function () { };
449
+ function Lb(a, b) { if (!a.g)
450
450
  return b; if (!b)
451
451
  return null; try {
452
452
  var c = JSON.parse(b);
@@ -464,71 +464,71 @@ function Jb(a, b) { if (!a.g)
464
464
  }
465
465
  }
466
466
  }
467
- return lb(c);
467
+ return mb(c);
468
468
  }
469
- catch (n) {
469
+ catch (m) {
470
470
  return b;
471
471
  } }
472
- var G = {}, Lb = null;
473
- function Mb() { return Lb = Lb || new B; }
474
- G.Pa = "serverreachability";
475
- function Nb(a) { w.call(this, G.Pa, a); }
476
- t(Nb, w);
477
- function H(a) { var b = Mb(); C(b, new Nb(b)); }
478
- G.STAT_EVENT = "statevent";
479
- function Ob(a, b) { w.call(this, G.STAT_EVENT, a); this.stat = b; }
480
- t(Ob, w);
481
- function I(a) { var b = Mb(); C(b, new Ob(b, a)); }
482
- G.Qa = "timingevent";
483
- function Pb(a, b) { w.call(this, G.Qa, a); this.size = b; }
484
- t(Pb, w);
485
- function J(a, b) { if ("function" !== typeof a)
472
+ var E = {}, Nb = null;
473
+ function Ob() { return Nb = Nb || new B; }
474
+ E.Ta = "serverreachability";
475
+ function Pb(a) { w.call(this, E.Ta, a); }
476
+ r(Pb, w);
477
+ function Qb(a) { var b = Ob(); C(b, new Pb(b)); }
478
+ E.STAT_EVENT = "statevent";
479
+ function Rb(a, b) { w.call(this, E.STAT_EVENT, a); this.stat = b; }
480
+ r(Rb, w);
481
+ function F(a) { var b = Ob(); C(b, new Rb(b, a)); }
482
+ E.Ua = "timingevent";
483
+ function Sb(a, b) { w.call(this, E.Ua, a); this.size = b; }
484
+ r(Sb, w);
485
+ function Tb(a, b) { if ("function" !== typeof a)
486
486
  throw Error("Fn must not be null and must be a function"); return l.setTimeout(function () { a(); }, b); }
487
- var Qb = { NO_ERROR: 0, mb: 1, zb: 2, yb: 3, tb: 4, xb: 5, Ab: 6, Ma: 7, TIMEOUT: 8, Db: 9 };
488
- var Rb = { rb: "complete", Nb: "success", Na: "error", Ma: "abort", Fb: "ready", Gb: "readystatechange", TIMEOUT: "timeout", Bb: "incrementaldata", Eb: "progress", ub: "downloadprogress", Vb: "uploadprogress" };
489
- function Sb() { }
490
- Sb.prototype.h = null;
491
- function Tb(a) { return a.h || (a.h = a.i()); }
492
- function Ub() { }
493
- var K = { OPEN: "a", qb: "b", Na: "c", Cb: "d" };
494
- function Vb() { w.call(this, "d"); }
495
- t(Vb, w);
496
- function Wb() { w.call(this, "c"); }
497
- t(Wb, w);
498
- var Xb;
487
+ var Ub = { NO_ERROR: 0, rb: 1, Eb: 2, Db: 3, yb: 4, Cb: 5, Fb: 6, Qa: 7, TIMEOUT: 8, Ib: 9 };
488
+ var Vb = { wb: "complete", Sb: "success", Ra: "error", Qa: "abort", Kb: "ready", Lb: "readystatechange", TIMEOUT: "timeout", Gb: "incrementaldata", Jb: "progress", zb: "downloadprogress", $b: "uploadprogress" };
489
+ function Wb() { }
490
+ Wb.prototype.h = null;
491
+ function Xb(a) { return a.h || (a.h = a.i()); }
499
492
  function Yb() { }
500
- t(Yb, Sb);
501
- Yb.prototype.g = function () { return new XMLHttpRequest; };
502
- Yb.prototype.i = function () { return {}; };
503
- Xb = new Yb;
504
- function L(a, b, c, d) { this.l = a; this.j = b; this.m = c; this.U = d || 1; this.S = new D(this); this.O = Zb; a = ya ? 125 : void 0; this.T = new yb(a); this.H = null; this.i = !1; this.s = this.A = this.v = this.K = this.F = this.V = this.B = null; this.D = []; this.g = null; this.C = 0; this.o = this.u = null; this.Y = -1; this.I = !1; this.N = 0; this.L = null; this.$ = this.J = this.Z = this.P = !1; this.h = new $b; }
505
- function $b() { this.i = null; this.g = ""; this.h = !1; }
506
- var Zb = 45E3, ac = {}, bc = {};
507
- k = L.prototype;
508
- k.setTimeout = function (a) { this.O = a; };
509
- function cc(a, b, c) { a.K = 1; a.v = dc(M(b)); a.s = c; a.P = !0; ec(a, null); }
510
- function ec(a, b) { a.F = Date.now(); N(a); a.A = M(a.v); var c = a.A, d = a.U; Array.isArray(d) || (d = [String(d)]); fc(c.i, "t", d); a.C = 0; c = a.l.H; a.h = new $b; a.g = gc(a.l, c ? b : null, !a.s); 0 < a.N && (a.L = new Cb(q(a.La, a, a.g), a.N)); Eb(a.S, a.g, "readystatechange", a.ib); b = a.H ? Ra(a.H) : {}; a.s ? (a.u || (a.u = "POST"), b["Content-Type"] = "application/x-www-form-urlencoded", a.g.da(a.A, a.u, a.s, b)) : (a.u = "GET", a.g.da(a.A, a.u, null, b)); H(); Hb(a.j, a.u, a.A, a.m, a.U, a.s); }
511
- k.ib = function (a) { a = a.target; var b = this.L; b && 3 == O(a) ? b.l() : this.La(a); };
512
- k.La = function (a) {
493
+ var Zb = { OPEN: "a", vb: "b", Ra: "c", Hb: "d" };
494
+ function $b() { w.call(this, "d"); }
495
+ r($b, w);
496
+ function ac() { w.call(this, "c"); }
497
+ r(ac, w);
498
+ var bc;
499
+ function cc() { }
500
+ r(cc, Wb);
501
+ cc.prototype.g = function () { return new XMLHttpRequest; };
502
+ cc.prototype.i = function () { return {}; };
503
+ bc = new cc;
504
+ 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; }
505
+ function fc() { this.i = null; this.g = ""; this.h = !1; }
506
+ var ec = 45E3, gc = {}, hc = {};
507
+ k = dc.prototype;
508
+ k.setTimeout = function (a) { this.P = a; };
509
+ function ic(a, b, c) { a.L = 1; a.v = jc(G(b)); a.s = c; a.S = !0; kc(a, null); }
510
+ 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); }
511
+ k.nb = function (a) { a = a.target; var b = this.M; b && 3 == H(a) ? b.l() : this.Pa(a); };
512
+ k.Pa = function (a) {
513
513
  try {
514
514
  if (a == this.g)
515
515
  a: {
516
- var r = O(this.g);
517
- var b = this.g.Ea();
518
- var F = this.g.aa();
519
- if (!(3 > r) && (3 != r || ya || this.g && (this.h.h || this.g.fa() || hc(this.g)))) {
520
- this.I || 4 != r || 7 == b || (8 == b || 0 >= F ? H(3) : H(2));
521
- ic(this);
522
- var c = this.g.aa();
523
- this.Y = c;
524
- b: if (jc(this)) {
525
- var d = hc(this.g);
516
+ var u = H(this.g);
517
+ var b = this.g.Ia();
518
+ var L = this.g.da();
519
+ if (!(3 > u) && (3 != u || ya || this.g && (this.h.h || this.g.ja() || oc(this.g)))) {
520
+ this.J || 4 != u || 7 == b || (8 == b || 0 >= L ? Qb(3) : Qb(2));
521
+ pc(this);
522
+ var c = this.g.da();
523
+ this.aa = c;
524
+ b: if (qc(this)) {
525
+ var d = oc(this.g);
526
526
  a = "";
527
- var e = d.length, f = 4 == O(this.g);
527
+ var e = d.length, f = 4 == H(this.g);
528
528
  if (!this.h.i) {
529
529
  if ("undefined" === typeof TextDecoder) {
530
- P(this);
531
- Q(this);
530
+ I(this);
531
+ rc(this);
532
532
  var h = "";
533
533
  break b;
534
534
  }
@@ -542,93 +542,93 @@ k.La = function (a) {
542
542
  h = this.h.g;
543
543
  }
544
544
  else
545
- h = this.g.fa();
545
+ h = this.g.ja();
546
546
  this.i = 200 == c;
547
- Ib(this.j, this.u, this.A, this.m, this.U, r, c);
547
+ Kb(this.j, this.u, this.A, this.m, this.W, u, c);
548
548
  if (this.i) {
549
- if (this.Z && !this.J) {
549
+ if (this.ba && !this.K) {
550
550
  b: {
551
551
  if (this.g) {
552
- var n, u = this.g;
553
- if ((n = u.g ? u.g.getResponseHeader("X-HTTP-Initial-Response") : null) && !pa(n)) {
554
- var m = n;
552
+ var m, t = this.g;
553
+ if ((m = t.g ? t.g.getResponseHeader("X-HTTP-Initial-Response") : null) && !qa(m)) {
554
+ var n = m;
555
555
  break b;
556
556
  }
557
557
  }
558
- m = null;
558
+ n = null;
559
559
  }
560
- if (c = m)
561
- E(this.j, this.m, c, "Initial handshake response via X-HTTP-Initial-Response"), this.J = !0, kc(this, c);
560
+ if (c = n)
561
+ D(this.j, this.m, c, "Initial handshake response via X-HTTP-Initial-Response"), this.K = !0, sc(this, c);
562
562
  else {
563
563
  this.i = !1;
564
564
  this.o = 3;
565
- I(12);
566
- P(this);
567
- Q(this);
565
+ F(12);
566
+ I(this);
567
+ rc(this);
568
568
  break a;
569
569
  }
570
570
  }
571
- this.P ? (lc(this, r, h), ya && this.i && 3 == r && (Eb(this.S, this.T, "tick", this.hb),
572
- this.T.start())) : (E(this.j, this.m, h, null), kc(this, h));
573
- 4 == r && P(this);
574
- this.i && !this.I && (4 == r ? mc(this.l, this) : (this.i = !1, N(this)));
571
+ this.S ? (tc(this, u, h), ya && this.i && 3 == u && (Gb(this.U, this.V, "tick", this.mb),
572
+ this.V.start())) : (D(this.j, this.m, h, null), sc(this, h));
573
+ 4 == u && I(this);
574
+ this.i && !this.J && (4 == u ? uc(this.l, this) : (this.i = !1, lc(this)));
575
575
  }
576
576
  else
577
- 400 == c && 0 < h.indexOf("Unknown SID") ? (this.o = 3, I(12)) : (this.o = 0, I(13)), P(this), Q(this);
577
+ 400 == c && 0 < h.indexOf("Unknown SID") ? (this.o = 3, F(12)) : (this.o = 0, F(13)), I(this), rc(this);
578
578
  }
579
579
  }
580
580
  }
581
- catch (r) { }
581
+ catch (u) { }
582
582
  finally { }
583
583
  };
584
- function jc(a) { return a.g ? "GET" == a.u && 2 != a.K && a.l.Da : !1; }
585
- function lc(a, b, c) {
584
+ function qc(a) { return a.g ? "GET" == a.u && 2 != a.L && a.l.Ha : !1; }
585
+ function tc(a, b, c) {
586
586
  var d = !0, e;
587
- for (; !a.I && a.C < c.length;)
588
- if (e = nc(a, c), e == bc) {
589
- 4 == b && (a.o = 4, I(14), d = !1);
590
- E(a.j, a.m, null, "[Incomplete Response]");
587
+ for (; !a.J && a.C < c.length;)
588
+ if (e = vc(a, c), e == hc) {
589
+ 4 == b && (a.o = 4, F(14), d = !1);
590
+ D(a.j, a.m, null, "[Incomplete Response]");
591
591
  break;
592
592
  }
593
- else if (e == ac) {
593
+ else if (e == gc) {
594
594
  a.o = 4;
595
- I(15);
596
- E(a.j, a.m, c, "[Invalid Chunk]");
595
+ F(15);
596
+ D(a.j, a.m, c, "[Invalid Chunk]");
597
597
  d = !1;
598
598
  break;
599
599
  }
600
600
  else
601
- E(a.j, a.m, e, null), kc(a, e);
602
- jc(a) && e != bc && e != ac && (a.h.g = "", a.C = 0);
603
- 4 != b || 0 != c.length || a.h.h || (a.o = 1, I(16), d = !1);
601
+ D(a.j, a.m, e, null), sc(a, e);
602
+ qc(a) && e != hc && e != gc && (a.h.g = "", a.C = 0);
603
+ 4 != b || 0 != c.length || a.h.h || (a.o = 1, F(16), d = !1);
604
604
  a.i = a.i && d;
605
- d ? 0 < c.length && !a.$ && (a.$ = !0, b = a.l, b.g == a && b.$ && !b.K && (b.j.info("Great, no buffering proxy detected. Bytes received: " + c.length), oc(b), b.K = !0, I(11))) : (E(a.j, a.m, c, "[Invalid Chunked Response]"), P(a), Q(a));
605
+ 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, c, "[Invalid Chunked Response]"), I(a), rc(a));
606
606
  }
607
- k.hb = function () { if (this.g) {
608
- var a = O(this.g), b = this.g.fa();
609
- this.C < b.length && (ic(this), lc(this, a, b), this.i && 4 != a && N(this));
607
+ k.mb = function () { if (this.g) {
608
+ var a = H(this.g), b = this.g.ja();
609
+ this.C < b.length && (pc(this), tc(this, a, b), this.i && 4 != a && lc(this));
610
610
  } };
611
- function nc(a, b) { var c = a.C, d = b.indexOf("\n", c); if (-1 == d)
612
- return bc; c = Number(b.substring(c, d)); if (isNaN(c))
613
- return ac; d += 1; if (d + c > b.length)
614
- return bc; b = b.substr(d, c); a.C = d + c; return b; }
615
- k.cancel = function () { this.I = !0; P(this); };
616
- function N(a) { a.V = Date.now() + a.O; pc(a, a.O); }
617
- function pc(a, b) { if (null != a.B)
618
- throw Error("WatchDog timer not null"); a.B = J(q(a.gb, a), b); }
619
- function ic(a) { a.B && (l.clearTimeout(a.B), a.B = null); }
620
- k.gb = function () { this.B = null; var a = Date.now(); 0 <= a - this.V ? (Kb(this.j, this.A), 2 != this.K && (H(), I(17)), P(this), this.o = 2, Q(this)) : pc(this, this.V - a); };
621
- function Q(a) { 0 == a.l.G || a.I || mc(a.l, a); }
622
- function P(a) { ic(a); var b = a.L; b && "function" == typeof b.na && b.na(); a.L = null; zb(a.T); Fb(a.S); a.g && (b = a.g, a.g = null, b.abort(), b.na()); }
623
- function kc(a, b) {
611
+ function vc(a, b) { var c = a.C, d = b.indexOf("\n", c); if (-1 == d)
612
+ return hc; c = Number(b.substring(c, d)); if (isNaN(c))
613
+ return gc; d += 1; if (d + c > b.length)
614
+ return hc; b = b.substr(d, c); a.C = d + c; return b; }
615
+ k.cancel = function () { this.J = !0; I(this); };
616
+ function lc(a) { a.Y = Date.now() + a.P; xc(a, a.P); }
617
+ function xc(a, b) { if (null != a.B)
618
+ throw Error("WatchDog timer not null"); a.B = Tb(q(a.lb, a), b); }
619
+ function pc(a) { a.B && (l.clearTimeout(a.B), a.B = null); }
620
+ k.lb = function () { this.B = null; var 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); };
621
+ function rc(a) { 0 == a.l.H || a.J || uc(a.l, a); }
622
+ 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()); }
623
+ function sc(a, b) {
624
624
  try {
625
625
  var c = a.l;
626
- if (0 != c.G && (c.g == a || qc(c.h, a)))
627
- if (!a.J && qc(c.h, a) && 3 == c.G) {
626
+ if (0 != c.H && (c.g == a || yc(c.h, a)))
627
+ if (!a.K && yc(c.h, a) && 3 == c.H) {
628
628
  try {
629
- var d = c.Fa.g.parse(b);
629
+ var d = c.Ja.g.parse(b);
630
630
  }
631
- catch (m) {
631
+ catch (n) {
632
632
  d = null;
633
633
  }
634
634
  if (Array.isArray(d) && 3 == d.length) {
@@ -637,84 +637,84 @@ function kc(a, b) {
637
637
  a: {
638
638
  if (!c.u) {
639
639
  if (c.g)
640
- if (c.g.F + 3E3 < a.F)
641
- rc(c), sc(c);
640
+ if (c.g.G + 3E3 < a.G)
641
+ zc(c), Ac(c);
642
642
  else
643
643
  break a;
644
- tc(c);
645
- I(18);
644
+ Bc(c);
645
+ F(18);
646
646
  }
647
647
  }
648
648
  else
649
- c.Ba = e[1], 0 < c.Ba - c.T && 37500 > e[2] && c.L && 0 == c.A && !c.v && (c.v = J(q(c.cb, c), 6E3));
650
- if (1 >= uc(c.h) && c.ja) {
649
+ 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));
650
+ if (1 >= Cc(c.h) && c.na) {
651
651
  try {
652
- c.ja();
652
+ c.na();
653
653
  }
654
- catch (m) { }
655
- c.ja = void 0;
654
+ catch (n) { }
655
+ c.na = void 0;
656
656
  }
657
657
  }
658
658
  else
659
- R(c, 11);
659
+ J(c, 11);
660
660
  }
661
- else if ((a.J || c.g == a) && rc(c), !pa(b))
662
- for (e = c.Fa.g.parse(b), b = 0; b < e.length; b++) {
663
- var m = e[b];
664
- c.T =
665
- m[0];
666
- m = m[1];
667
- if (2 == c.G)
668
- if ("c" == m[0]) {
669
- c.I = m[1];
670
- c.ka = m[2];
671
- var r = m[3];
672
- null != r && (c.ma = r, c.j.info("VER=" + c.ma));
673
- var F = m[4];
674
- null != F && (c.Ca = F, c.j.info("SVER=" + c.Ca));
675
- var Ca = m[5];
676
- null != Ca && "number" === typeof Ca && 0 < Ca && (d = 1.5 * Ca, c.J = d, c.j.info("backChannelRequestTimeoutMs_=" + d));
661
+ else if ((a.K || c.g == a) && zc(c), !qa(b))
662
+ for (e = c.Ja.g.parse(b), b = 0; b < e.length; b++) {
663
+ var n = e[b];
664
+ c.V =
665
+ n[0];
666
+ n = n[1];
667
+ if (2 == c.H)
668
+ if ("c" == n[0]) {
669
+ c.J = n[1];
670
+ c.oa = n[2];
671
+ var u = n[3];
672
+ null != u && (c.qa = u, c.j.info("VER=" + c.qa));
673
+ var L = n[4];
674
+ null != L && (c.Ga = L, c.j.info("SVER=" + c.Ga));
675
+ var La = n[5];
676
+ null != La && "number" === typeof La && 0 < La && (d = 1.5 * La, c.K = d, c.j.info("backChannelRequestTimeoutMs_=" + d));
677
677
  d = c;
678
- var Z = a.g;
679
- if (Z) {
680
- var Da = Z.g ? Z.g.getResponseHeader("X-Client-Wire-Protocol") : null;
681
- if (Da) {
678
+ var ia = a.g;
679
+ if (ia) {
680
+ var Ma = ia.g ? ia.g.getResponseHeader("X-Client-Wire-Protocol") : null;
681
+ if (Ma) {
682
682
  var f = d.h;
683
- f.g || -1 == Da.indexOf("spdy") && -1 == Da.indexOf("quic") && -1 == Da.indexOf("h2") || (f.j = f.l, f.g = new Set, f.h && (vc(f, f.h), f.h = null));
683
+ 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));
684
684
  }
685
- if (d.D) {
686
- var tb = Z.g ? Z.g.getResponseHeader("X-HTTP-Session-Id") : null;
687
- tb && (d.za = tb, S(d.F, d.D, tb));
685
+ if (d.F) {
686
+ var Fb = ia.g ? ia.g.getResponseHeader("X-HTTP-Session-Id") : null;
687
+ Fb && (d.Da = Fb, K(d.G, d.F, Fb));
688
688
  }
689
689
  }
690
- c.G = 3;
691
- c.l && c.l.xa();
692
- c.$ && (c.P = Date.now() - a.F, c.j.info("Handshake RTT: " + c.P + "ms"));
690
+ c.H = 3;
691
+ c.l && c.l.Ba();
692
+ c.ca && (c.S = Date.now() - a.G, c.j.info("Handshake RTT: " + c.S + "ms"));
693
693
  d = c;
694
694
  var h = a;
695
- d.sa = wc(d, d.H ? d.ka : null, d.V);
696
- if (h.J) {
697
- xc(d.h, h);
698
- var n = h, u = d.J;
699
- u && n.setTimeout(u);
700
- n.B && (ic(n), N(n));
695
+ d.wa = Ec(d, d.I ? d.oa : null, d.Y);
696
+ if (h.K) {
697
+ Fc(d.h, h);
698
+ var m = h, t = d.K;
699
+ t && m.setTimeout(t);
700
+ m.B && (pc(m), lc(m));
701
701
  d.g = h;
702
702
  }
703
703
  else
704
- yc(d);
705
- 0 < c.i.length && zc(c);
704
+ Gc(d);
705
+ 0 < c.i.length && Hc(c);
706
706
  }
707
707
  else
708
- "stop" != m[0] && "close" != m[0] || R(c, 7);
708
+ "stop" != n[0] && "close" != n[0] || J(c, 7);
709
709
  else
710
- 3 == c.G && ("stop" == m[0] || "close" == m[0] ? "stop" == m[0] ? R(c, 7) : Ac(c) : "noop" != m[0] && c.l && c.l.wa(m), c.A = 0);
710
+ 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);
711
711
  }
712
- H(4);
712
+ Qb(4);
713
713
  }
714
- catch (m) { }
714
+ catch (n) { }
715
715
  }
716
- function Bc(a) { if (a.W && "function" == typeof a.W)
717
- return a.W(); if ("undefined" !== typeof Map && a instanceof Map || "undefined" !== typeof Set && a instanceof Set)
716
+ function Jc(a) { if (a.Z && "function" == typeof a.Z)
717
+ return a.Z(); if ("undefined" !== typeof Map && a instanceof Map || "undefined" !== typeof Set && a instanceof Set)
718
718
  return Array.from(a.values()); if ("string" === typeof a)
719
719
  return a.split(""); if (ba(a)) {
720
720
  for (var b = [], c = a.length, d = 0; d < c; d++)
@@ -722,8 +722,8 @@ function Bc(a) { if (a.W && "function" == typeof a.W)
722
722
  return b;
723
723
  } b = []; c = 0; for (d in a)
724
724
  b[c++] = a[d]; return b; }
725
- function Cc(a) { if (a.oa && "function" == typeof a.oa)
726
- return a.oa(); if (!a.W || "function" != typeof a.W) {
725
+ function Kc(a) { if (a.sa && "function" == typeof a.sa)
726
+ return a.sa(); if (!a.Z || "function" != typeof a.Z) {
727
727
  if ("undefined" !== typeof Map && a instanceof Map)
728
728
  return Array.from(a.keys());
729
729
  if (!("undefined" !== typeof Set && a instanceof Set)) {
@@ -741,15 +741,15 @@ function Cc(a) { if (a.oa && "function" == typeof a.oa)
741
741
  return b;
742
742
  }
743
743
  } }
744
- function Dc(a, b) { if (a.forEach && "function" == typeof a.forEach)
744
+ function Lc(a, b) { if (a.forEach && "function" == typeof a.forEach)
745
745
  a.forEach(b, void 0);
746
746
  else if (ba(a) || "string" === typeof a)
747
747
  Array.prototype.forEach.call(a, b, void 0);
748
748
  else
749
- for (var c = Cc(a), d = Bc(a), e = d.length, f = 0; f < e; f++)
749
+ for (var c = Kc(a), d = Jc(a), e = d.length, f = 0; f < e; f++)
750
750
  b.call(void 0, d[f], c && c[f], a); }
751
- var Ec = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
752
- function Fc(a, b) { if (a) {
751
+ var Mc = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
752
+ function Nc(a, b) { if (a) {
753
753
  a = a.split("&");
754
754
  for (var c = 0; c < a.length; c++) {
755
755
  var d = a[c].indexOf("="), e = null;
@@ -762,28 +762,28 @@ function Fc(a, b) { if (a) {
762
762
  b(f, e ? decodeURIComponent(e.replace(/\+/g, " ")) : "");
763
763
  }
764
764
  } }
765
- function T(a, b) { this.g = this.s = this.j = ""; this.m = null; this.o = this.l = ""; this.h = !1; if (a instanceof T) {
765
+ function M(a, b) { this.g = this.s = this.j = ""; this.m = null; this.o = this.l = ""; this.h = !1; if (a instanceof M) {
766
766
  this.h = void 0 !== b ? b : a.h;
767
- Gc(this, a.j);
767
+ Oc(this, a.j);
768
768
  this.s = a.s;
769
769
  this.g = a.g;
770
- Hc(this, a.m);
770
+ Pc(this, a.m);
771
771
  this.l = a.l;
772
772
  b = a.i;
773
- var c = new Ic;
773
+ var c = new Qc;
774
774
  c.i = b.i;
775
775
  b.g && (c.g = new Map(b.g), c.h = b.h);
776
- Jc(this, c);
776
+ Rc(this, c);
777
777
  this.o = a.o;
778
778
  }
779
779
  else
780
- a && (c = String(a).match(Ec)) ? (this.h = !!b, Gc(this, c[1] || "", !0), this.s = Kc(c[2] || ""), this.g = Kc(c[3] || "", !0), Hc(this, c[4]), this.l = Kc(c[5] || "", !0), Jc(this, c[6] || "", !0), this.o = Kc(c[7] || "")) : (this.h = !!b, this.i = new Ic(null, this.h)); }
781
- T.prototype.toString = function () { var a = [], b = this.j; b && a.push(Lc(b, Mc, !0), ":"); var c = this.g; if (c || "file" == b)
782
- a.push("//"), (b = this.s) && a.push(Lc(b, Mc, !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)
783
- this.g && "/" != c.charAt(0) && a.push("/"), a.push(Lc(c, "/" == c.charAt(0) ? Nc : Oc, !0)); (c = this.i.toString()) && a.push("?", c); (c = this.o) && a.push("#", Lc(c, Pc)); return a.join(""); };
784
- function M(a) { return new T(a); }
785
- function Gc(a, b, c) { a.j = c ? Kc(b, !0) : b; a.j && (a.j = a.j.replace(/:$/, "")); }
786
- function Hc(a, b) { if (b) {
780
+ 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)); }
781
+ M.prototype.toString = function () { var a = [], b = this.j; b && a.push(Tc(b, Uc, !0), ":"); var c = this.g; if (c || "file" == b)
782
+ 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)
783
+ 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(""); };
784
+ function G(a) { return new M(a); }
785
+ function Oc(a, b, c) { a.j = c ? Sc(b, !0) : b; a.j && (a.j = a.j.replace(/:$/, "")); }
786
+ function Pc(a, b) { if (b) {
787
787
  b = Number(b);
788
788
  if (isNaN(b) || 0 > b)
789
789
  throw Error("Bad port number " + b);
@@ -791,66 +791,66 @@ function Hc(a, b) { if (b) {
791
791
  }
792
792
  else
793
793
  a.m = null; }
794
- function Jc(a, b, c) { b instanceof Ic ? (a.i = b, Qc(a.i, a.h)) : (c || (b = Lc(b, Rc)), a.i = new Ic(b, a.h)); }
795
- function S(a, b, c) { a.i.set(b, c); }
796
- function dc(a) { S(a, "zx", Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ Date.now()).toString(36)); return a; }
797
- function Kc(a, b) { return a ? b ? decodeURI(a.replace(/%25/g, "%2525")) : decodeURIComponent(a) : ""; }
798
- function Lc(a, b, c) { return "string" === typeof a ? (a = encodeURI(a).replace(b, Sc), c && (a = a.replace(/%25([0-9a-fA-F]{2})/g, "%$1")), a) : null; }
799
- function Sc(a) { a = a.charCodeAt(0); return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16); }
800
- var Mc = /[#\/\?@]/g, Oc = /[#\?:]/g, Nc = /[#\?]/g, Rc = /[#\?@]/g, Pc = /#/g;
801
- function Ic(a, b) { this.h = this.g = null; this.i = a || null; this.j = !!b; }
802
- function U(a) { a.g || (a.g = new Map, a.h = 0, a.i && Fc(a.i, function (b, c) { a.add(decodeURIComponent(b.replace(/\+/g, " ")), c); })); }
803
- k = Ic.prototype;
804
- k.add = function (a, b) { U(this); this.i = null; a = V(this, a); var c = this.g.get(a); c || this.g.set(a, c = []); c.push(b); this.h += 1; return this; };
805
- function Tc(a, b) { U(a); b = V(a, b); a.g.has(b) && (a.i = null, a.h -= a.g.get(b).length, a.g.delete(b)); }
806
- function Uc(a, b) { U(a); b = V(a, b); return a.g.has(b); }
807
- k.forEach = function (a, b) { U(this); this.g.forEach(function (c, d) { c.forEach(function (e) { a.call(b, e, d, this); }, this); }, this); };
808
- k.oa = function () { U(this); var a = Array.from(this.g.values()), b = Array.from(this.g.keys()), c = []; for (var d = 0; d < b.length; d++) {
794
+ 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)); }
795
+ function K(a, b, c) { a.i.set(b, c); }
796
+ 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; }
797
+ function Sc(a, b) { return a ? b ? decodeURI(a.replace(/%25/g, "%2525")) : decodeURIComponent(a) : ""; }
798
+ 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; }
799
+ function $c(a) { a = a.charCodeAt(0); return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16); }
800
+ var Uc = /[#\/\?@]/g, Wc = /[#\?:]/g, Vc = /[#\?]/g, Zc = /[#\?@]/g, Xc = /#/g;
801
+ function Qc(a, b) { this.h = this.g = null; this.i = a || null; this.j = !!b; }
802
+ 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); })); }
803
+ k = Qc.prototype;
804
+ 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; };
805
+ 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)); }
806
+ function bd(a, b) { N(a); b = O(a, b); return a.g.has(b); }
807
+ 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); };
808
+ k.sa = function () { N(this); var a = Array.from(this.g.values()), b = Array.from(this.g.keys()), c = []; for (var d = 0; d < b.length; d++) {
809
809
  var e = a[d];
810
810
  for (var f = 0; f < e.length; f++)
811
811
  c.push(b[d]);
812
812
  } return c; };
813
- k.W = function (a) { U(this); var b = []; if ("string" === typeof a)
814
- Uc(this, a) && (b = b.concat(this.g.get(V(this, a))));
813
+ k.Z = function (a) { N(this); var b = []; if ("string" === typeof a)
814
+ bd(this, a) && (b = b.concat(this.g.get(O(this, a))));
815
815
  else {
816
816
  a = Array.from(this.g.values());
817
817
  for (var c = 0; c < a.length; c++)
818
818
  b = b.concat(a[c]);
819
819
  } return b; };
820
- k.set = function (a, b) { U(this); this.i = null; a = V(this, a); Uc(this, a) && (this.h -= this.g.get(a).length); this.g.set(a, [b]); this.h += 1; return this; };
820
+ 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; };
821
821
  k.get = function (a, b) { if (!a)
822
- return b; a = this.W(a); return 0 < a.length ? String(a[0]) : b; };
823
- function fc(a, b, c) { Tc(a, b); 0 < c.length && (a.i = null, a.g.set(V(a, b), ma(c)), a.h += c.length); }
822
+ return b; a = this.Z(a); return 0 < a.length ? String(a[0]) : b; };
823
+ 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); }
824
824
  k.toString = function () { if (this.i)
825
825
  return this.i; if (!this.g)
826
826
  return ""; var a = [], b = Array.from(this.g.keys()); for (var c = 0; c < b.length; c++) {
827
827
  var d = b[c];
828
- var f = encodeURIComponent(String(d)), h = this.W(d);
828
+ var f = encodeURIComponent(String(d)), h = this.Z(d);
829
829
  for (d = 0; d < h.length; d++) {
830
830
  var e = f;
831
831
  "" !== h[d] && (e += "=" + encodeURIComponent(String(h[d])));
832
832
  a.push(e);
833
833
  }
834
834
  } return this.i = a.join("&"); };
835
- function V(a, b) { b = String(b); a.j && (b = b.toLowerCase()); return b; }
836
- function Qc(a, b) { b && !a.j && (U(a), a.i = null, a.g.forEach(function (c, d) { var e = d.toLowerCase(); d != e && (Tc(this, d), fc(this, e, c)); }, a)); a.j = b; }
837
- var Vc = /** @class */ (function () {
838
- function Vc(a, b) {
835
+ function O(a, b) { b = String(b); a.j && (b = b.toLowerCase()); return b; }
836
+ 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; }
837
+ var cd = /** @class */ (function () {
838
+ function cd(a, b) {
839
839
  this.h = a;
840
840
  this.g = b;
841
841
  }
842
- return Vc;
842
+ return cd;
843
843
  }());
844
- function Wc(a) { this.l = a || Xc; l.PerformanceNavigationTiming ? (a = l.performance.getEntriesByType("navigation"), a = 0 < a.length && ("hq" == a[0].nextHopProtocol || "h2" == a[0].nextHopProtocol)) : a = !!(l.g && l.g.Ga && l.g.Ga() && l.g.Ga().$b); this.j = a ? this.l : 1; this.g = null; 1 < this.j && (this.g = new Set); this.h = null; this.i = []; }
845
- var Xc = 10;
846
- function Yc(a) { return a.h ? !0 : a.g ? a.g.size >= a.j : !1; }
847
- function uc(a) { return a.h ? 1 : a.g ? a.g.size : 0; }
848
- function qc(a, b) { return a.h ? a.h == b : a.g ? a.g.has(b) : !1; }
849
- function vc(a, b) { a.g ? a.g.add(b) : a.h = b; }
850
- function xc(a, b) { a.h && a.h == b ? a.h = null : a.g && a.g.has(b) && a.g.delete(b); }
851
- Wc.prototype.cancel = function () {
844
+ 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 = []; }
845
+ var ed = 10;
846
+ function fd(a) { return a.h ? !0 : a.g ? a.g.size >= a.j : !1; }
847
+ function Cc(a) { return a.h ? 1 : a.g ? a.g.size : 0; }
848
+ function yc(a, b) { return a.h ? a.h == b : a.g ? a.g.has(b) : !1; }
849
+ function Dc(a, b) { a.g ? a.g.add(b) : a.h = b; }
850
+ function Fc(a, b) { a.h && a.h == b ? a.h = null : a.g && a.g.has(b) && a.g.delete(b); }
851
+ dd.prototype.cancel = function () {
852
852
  var e_1, _a;
853
- this.i = Zc(this);
853
+ this.i = gd(this);
854
854
  if (this.h)
855
855
  this.h.cancel(), this.h = null;
856
856
  else if (this.g && 0 !== this.g.size) {
@@ -870,16 +870,16 @@ Wc.prototype.cancel = function () {
870
870
  this.g.clear();
871
871
  }
872
872
  };
873
- function Zc(a) {
873
+ function gd(a) {
874
874
  var e_2, _a;
875
875
  if (null != a.h)
876
- return a.i.concat(a.h.D);
876
+ return a.i.concat(a.h.F);
877
877
  if (null != a.g && 0 !== a.g.size) {
878
878
  var b = a.i;
879
879
  try {
880
880
  for (var _b = __values(a.g.values()), _c = _b.next(); !_c.done; _c = _b.next()) {
881
881
  var c = _c.value;
882
- b = b.concat(c.D);
882
+ b = b.concat(c.F);
883
883
  }
884
884
  }
885
885
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -891,51 +891,51 @@ function Zc(a) {
891
891
  }
892
892
  return b;
893
893
  }
894
- return ma(a.i);
894
+ return na(a.i);
895
895
  }
896
- function $c() { }
897
- $c.prototype.stringify = function (a) { return l.JSON.stringify(a, void 0); };
898
- $c.prototype.parse = function (a) { return l.JSON.parse(a, void 0); };
899
- function ad() { this.g = new $c; }
900
- function bd(a, b, c) { var d = c || ""; try {
901
- Dc(a, function (e, f) { var h = e; p(e) && (h = lb(e)); b.push(d + f + "=" + encodeURIComponent(h)); });
896
+ function hd() { }
897
+ hd.prototype.stringify = function (a) { return l.JSON.stringify(a, void 0); };
898
+ hd.prototype.parse = function (a) { return l.JSON.parse(a, void 0); };
899
+ function id() { this.g = new hd; }
900
+ function jd(a, b, c) { var d = c || ""; try {
901
+ Lc(a, function (e, f) { var h = e; p(e) && (h = mb(e)); b.push(d + f + "=" + encodeURIComponent(h)); });
902
902
  }
903
903
  catch (e) {
904
904
  throw b.push(d + "type=" + encodeURIComponent("_badmap")), e;
905
905
  } }
906
- function cd(a, b) { var c = new Gb; if (l.Image) {
906
+ function kd(a, b) { var c = new Ib; if (l.Image) {
907
907
  var d_1 = new Image;
908
- d_1.onload = ia(dd, c, d_1, "TestLoadImage: loaded", !0, b);
909
- d_1.onerror = ia(dd, c, d_1, "TestLoadImage: error", !1, b);
910
- d_1.onabort = ia(dd, c, d_1, "TestLoadImage: abort", !1, b);
911
- d_1.ontimeout = ia(dd, c, d_1, "TestLoadImage: timeout", !1, b);
908
+ d_1.onload = ja(ld, c, d_1, "TestLoadImage: loaded", !0, b);
909
+ d_1.onerror = ja(ld, c, d_1, "TestLoadImage: error", !1, b);
910
+ d_1.onabort = ja(ld, c, d_1, "TestLoadImage: abort", !1, b);
911
+ d_1.ontimeout = ja(ld, c, d_1, "TestLoadImage: timeout", !1, b);
912
912
  l.setTimeout(function () { if (d_1.ontimeout)
913
913
  d_1.ontimeout(); }, 1E4);
914
914
  d_1.src = a;
915
915
  }
916
916
  else
917
917
  b(!1); }
918
- function dd(a, b, c, d, e) { try {
918
+ function ld(a, b, c, d, e) { try {
919
919
  b.onload = null, b.onerror = null, b.onabort = null, b.ontimeout = null, e(d);
920
920
  }
921
921
  catch (f) { } }
922
- function ed(a) { this.l = a.ac || null; this.j = a.jb || !1; }
923
- t(ed, Sb);
924
- ed.prototype.g = function () { return new fd(this.l, this.j); };
925
- ed.prototype.i = function (a) { return function () { return a; }; }({});
926
- function fd(a, b) { B.call(this); this.D = a; this.u = b; this.m = void 0; this.readyState = gd; 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; }
927
- t(fd, B);
928
- var gd = 0;
929
- k = fd.prototype;
930
- k.open = function (a, b) { if (this.readyState != gd)
931
- throw this.abort(), Error("Error reopening a connection"); this.C = a; this.B = b; this.readyState = 1; hd(this); };
922
+ function md(a) { this.l = a.fc || null; this.j = a.ob || !1; }
923
+ r(md, Wb);
924
+ md.prototype.g = function () { return new nd(this.l, this.j); };
925
+ md.prototype.i = function (a) { return function () { return a; }; }({});
926
+ 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; }
927
+ r(nd, B);
928
+ var od = 0;
929
+ k = nd.prototype;
930
+ k.open = function (a, b) { if (this.readyState != od)
931
+ throw this.abort(), Error("Error reopening a connection"); this.C = a; this.B = b; this.readyState = 1; pd(this); };
932
932
  k.send = function (a) { if (1 != this.readyState)
933
- throw this.abort(), Error("need to call open() first. "); this.g = !0; var b = { headers: this.v, method: this.C, credentials: this.m, cache: void 0 }; a && (b.body = a); (this.D || l).fetch(new Request(this.B, b)).then(this.Wa.bind(this), this.ga.bind(this)); };
934
- k.abort = function () { this.response = this.responseText = ""; this.v = new Headers; this.status = 0; this.j && this.j.cancel("Request was aborted.").catch(function () { }); 1 <= this.readyState && this.g && 4 != this.readyState && (this.g = !1, id(this)); this.readyState = gd; };
935
- k.Wa = function (a) {
936
- 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, hd(this)), this.g && (this.readyState = 3, hd(this), this.g)))
933
+ throw this.abort(), Error("need to call open() first. "); this.g = !0; var 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)); };
934
+ k.abort = function () { this.response = this.responseText = ""; this.v = new Headers; this.status = 0; this.j && this.j.cancel("Request was aborted.").catch(function () { }); 1 <= this.readyState && this.g && 4 != this.readyState && (this.g = !1, qd(this)); this.readyState = od; };
935
+ k.$a = function (a) {
936
+ 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)))
937
937
  if ("arraybuffer" === this.responseType)
938
- a.arrayBuffer().then(this.Ua.bind(this), this.ga.bind(this));
938
+ a.arrayBuffer().then(this.Ya.bind(this), this.ka.bind(this));
939
939
  else if ("undefined" !== typeof l.ReadableStream && "body" in a) {
940
940
  this.j = a.body.getReader();
941
941
  if (this.u) {
@@ -946,13 +946,13 @@ k.Wa = function (a) {
946
946
  }
947
947
  else
948
948
  this.response = this.responseText = "", this.A = new TextDecoder;
949
- jd(this);
949
+ rd(this);
950
950
  }
951
951
  else
952
- a.text().then(this.Va.bind(this), this.ga.bind(this));
952
+ a.text().then(this.Za.bind(this), this.ka.bind(this));
953
953
  };
954
- function jd(a) { a.j.read().then(a.Ta.bind(a)).catch(a.ga.bind(a)); }
955
- k.Ta = function (a) { if (this.g) {
954
+ function rd(a) { a.j.read().then(a.Xa.bind(a)).catch(a.ka.bind(a)); }
955
+ k.Xa = function (a) { if (this.g) {
956
956
  if (this.u && a.value)
957
957
  this.response.push(a.value);
958
958
  else if (!this.u) {
@@ -960,44 +960,44 @@ k.Ta = function (a) { if (this.g) {
960
960
  if (b = this.A.decode(b, { stream: !a.done }))
961
961
  this.response = this.responseText += b;
962
962
  }
963
- a.done ? id(this) : hd(this);
964
- 3 == this.readyState && jd(this);
963
+ a.done ? qd(this) : pd(this);
964
+ 3 == this.readyState && rd(this);
965
965
  } };
966
- k.Va = function (a) { this.g && (this.response = this.responseText = a, id(this)); };
967
- k.Ua = function (a) { this.g && (this.response = a, id(this)); };
968
- k.ga = function () { this.g && id(this); };
969
- function id(a) { a.readyState = 4; a.l = null; a.j = null; a.A = null; hd(a); }
966
+ k.Za = function (a) { this.g && (this.response = this.responseText = a, qd(this)); };
967
+ k.Ya = function (a) { this.g && (this.response = a, qd(this)); };
968
+ k.ka = function () { this.g && qd(this); };
969
+ function qd(a) { a.readyState = 4; a.l = null; a.j = null; a.A = null; pd(a); }
970
970
  k.setRequestHeader = function (a, b) { this.v.append(a, b); };
971
971
  k.getResponseHeader = function (a) { return this.h ? this.h.get(a.toLowerCase()) || "" : ""; };
972
972
  k.getAllResponseHeaders = function () { if (!this.h)
973
973
  return ""; var a = [], b = this.h.entries(); for (var c = b.next(); !c.done;)
974
974
  c = c.value, a.push(c[0] + ": " + c[1]), c = b.next(); return a.join("\r\n"); };
975
- function hd(a) { a.onreadystatechange && a.onreadystatechange.call(a); }
976
- Object.defineProperty(fd.prototype, "withCredentials", { get: function () { return "include" === this.m; }, set: function (a) { this.m = a ? "include" : "same-origin"; } });
977
- var kd = l.JSON.parse;
978
- function W(a) { B.call(this); this.headers = new Map; this.u = a || null; this.h = !1; this.C = this.g = null; this.H = ""; this.m = 0; this.j = ""; this.l = this.F = this.v = this.D = !1; this.B = 0; this.A = null; this.J = ld; this.K = this.L = !1; }
979
- t(W, B);
980
- var ld = "", md = /^https?$/i, nd = ["POST", "PUT"];
981
- k = W.prototype;
982
- k.Ka = function (a) { this.L = a; };
983
- k.da = function (a, b, c, d) {
975
+ function pd(a) { a.onreadystatechange && a.onreadystatechange.call(a); }
976
+ Object.defineProperty(nd.prototype, "withCredentials", { get: function () { return "include" === this.m; }, set: function (a) { this.m = a ? "include" : "same-origin"; } });
977
+ var sd = l.JSON.parse;
978
+ 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; }
979
+ r(P, B);
980
+ var td = "", ud = /^https?$/i, vd = ["POST", "PUT"];
981
+ k = P.prototype;
982
+ k.Oa = function (a) { this.M = a; };
983
+ k.ha = function (a, b, c, d) {
984
984
  var e_3, _a, e_4, _b;
985
985
  if (this.g)
986
- throw Error("[goog.net.XhrIo] Object is active with another request=" + this.H + "; newUri=" + a);
986
+ throw Error("[goog.net.XhrIo] Object is active with another request=" + this.I + "; newUri=" + a);
987
987
  b = b ? b.toUpperCase() : "GET";
988
- this.H = a;
988
+ this.I = a;
989
989
  this.j = "";
990
990
  this.m = 0;
991
- this.D = !1;
991
+ this.F = !1;
992
992
  this.h = !0;
993
- this.g = this.u ? this.u.g() : Xb.g();
994
- this.C = this.u ? Tb(this.u) : Tb(Xb);
995
- this.g.onreadystatechange = q(this.Ha, this);
993
+ this.g = this.u ? this.u.g() : bc.g();
994
+ this.C = this.u ? Xb(this.u) : Xb(bc);
995
+ this.g.onreadystatechange = q(this.La, this);
996
996
  try {
997
- this.F = !0, this.g.open(b, String(a), !0), this.F = !1;
997
+ this.G = !0, this.g.open(b, String(a), !0), this.G = !1;
998
998
  }
999
999
  catch (f) {
1000
- od(this, f);
1000
+ wd(this, f);
1001
1001
  return;
1002
1002
  }
1003
1003
  a = c || "";
@@ -1025,7 +1025,7 @@ k.da = function (a, b, c, d) {
1025
1025
  throw Error("Unknown input type for opt_headers: " + String(d));
1026
1026
  d = Array.from(c.keys()).find(function (f) { return "content-type" == f.toLowerCase(); });
1027
1027
  e = l.FormData && a instanceof l.FormData;
1028
- !(0 <= la(nd, b)) || d || e || c.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
1028
+ !(0 <= ma(vd, b)) || d || e || c.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
1029
1029
  try {
1030
1030
  for (var c_1 = __values(c), c_1_1 = c_1.next(); !c_1_1.done; c_1_1 = c_1.next()) {
1031
1031
  var _e = __read(c_1_1.value, 2), f = _e[0], h = _e[1];
@@ -1039,33 +1039,33 @@ k.da = function (a, b, c, d) {
1039
1039
  }
1040
1040
  finally { if (e_4) throw e_4.error; }
1041
1041
  }
1042
- this.J && (this.g.responseType = this.J);
1043
- "withCredentials" in this.g && this.g.withCredentials !== this.L && (this.g.withCredentials =
1044
- this.L);
1042
+ this.K && (this.g.responseType = this.K);
1043
+ "withCredentials" in this.g && this.g.withCredentials !== this.M && (this.g.withCredentials =
1044
+ this.M);
1045
1045
  try {
1046
- pd(this), 0 < this.B && ((this.K = qd(this.g)) ? (this.g.timeout = this.B, this.g.ontimeout = q(this.qa, this)) : this.A = Ab(this.qa, this.B, this)), this.v = !0, this.g.send(a), this.v = !1;
1046
+ 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;
1047
1047
  }
1048
1048
  catch (f) {
1049
- od(this, f);
1049
+ wd(this, f);
1050
1050
  }
1051
1051
  };
1052
- function qd(a) { return y && Ia() && "number" === typeof a.timeout && void 0 !== a.ontimeout; }
1053
- k.qa = function () { "undefined" != typeof goog && this.g && (this.j = "Timed out after " + this.B + "ms, aborting", this.m = 8, C(this, "timeout"), this.abort(8)); };
1054
- function od(a, b) { a.h = !1; a.g && (a.l = !0, a.g.abort(), a.l = !1); a.j = b; a.m = 5; rd(a); sd(a); }
1055
- function rd(a) { a.D || (a.D = !0, C(a, "complete"), C(a, "error")); }
1056
- 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"), sd(this)); };
1057
- k.M = function () { this.g && (this.h && (this.h = !1, this.l = !0, this.g.abort(), this.l = !1), sd(this, !0)); W.X.M.call(this); };
1058
- k.Ha = function () { this.s || (this.F || this.v || this.l ? td(this) : this.fb()); };
1059
- k.fb = function () { td(this); };
1060
- function td(a) {
1061
- if (a.h && "undefined" != typeof goog && (!a.C[1] || 4 != O(a) || 2 != a.aa()))
1062
- if (a.v && 4 == O(a))
1063
- Ab(a.Ha, 0, a);
1064
- else if (C(a, "readystatechange"), 4 == O(a)) {
1052
+ function yd(a) { return y && Ha() && "number" === typeof a.timeout && void 0 !== a.ontimeout; }
1053
+ 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)); };
1054
+ 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); }
1055
+ function zd(a) { a.F || (a.F = !0, C(a, "complete"), C(a, "error")); }
1056
+ 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)); };
1057
+ 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); };
1058
+ k.La = function () { this.s || (this.G || this.v || this.l ? Bd(this) : this.kb()); };
1059
+ k.kb = function () { Bd(this); };
1060
+ function Bd(a) {
1061
+ if (a.h && "undefined" != typeof goog && (!a.C[1] || 4 != H(a) || 2 != a.da()))
1062
+ if (a.v && 4 == H(a))
1063
+ Ab(a.La, 0, a);
1064
+ else if (C(a, "readystatechange"), 4 == H(a)) {
1065
1065
  a.h = !1;
1066
1066
  try {
1067
- var n = a.aa();
1068
- a: switch (n) {
1067
+ var m = a.da();
1068
+ a: switch (m) {
1069
1069
  case 200:
1070
1070
  case 201:
1071
1071
  case 202:
@@ -1080,13 +1080,13 @@ function td(a) {
1080
1080
  var c;
1081
1081
  if (!(c = b)) {
1082
1082
  var d;
1083
- if (d = 0 === n) {
1084
- var e = String(a.H).match(Ec)[1] || null;
1083
+ if (d = 0 === m) {
1084
+ var e = String(a.I).match(Mc)[1] || null;
1085
1085
  if (!e && l.self && l.self.location) {
1086
1086
  var f = l.self.location.protocol;
1087
1087
  e = f.substr(0, f.length - 1);
1088
1088
  }
1089
- d = !md.test(e ? e.toLowerCase() : "");
1089
+ d = !ud.test(e ? e.toLowerCase() : "");
1090
1090
  }
1091
1091
  c = d;
1092
1092
  }
@@ -1095,22 +1095,22 @@ function td(a) {
1095
1095
  else {
1096
1096
  a.m = 6;
1097
1097
  try {
1098
- var h = 2 < O(a) ? a.g.statusText : "";
1098
+ var h = 2 < H(a) ? a.g.statusText : "";
1099
1099
  }
1100
- catch (u) {
1100
+ catch (t) {
1101
1101
  h = "";
1102
1102
  }
1103
- a.j = h + " [" + a.aa() + "]";
1104
- rd(a);
1103
+ a.j = h + " [" + a.da() + "]";
1104
+ zd(a);
1105
1105
  }
1106
1106
  }
1107
1107
  finally {
1108
- sd(a);
1108
+ Ad(a);
1109
1109
  }
1110
1110
  }
1111
1111
  }
1112
- function sd(a, b) { if (a.g) {
1113
- pd(a);
1112
+ function Ad(a, b) { if (a.g) {
1113
+ xd(a);
1114
1114
  var c = a.g, d = a.C[0] ? aa : null;
1115
1115
  a.g = null;
1116
1116
  a.C = null;
@@ -1120,32 +1120,32 @@ function sd(a, b) { if (a.g) {
1120
1120
  }
1121
1121
  catch (e) { }
1122
1122
  } }
1123
- function pd(a) { a.g && a.K && (a.g.ontimeout = null); a.A && (l.clearTimeout(a.A), a.A = null); }
1124
- function O(a) { return a.g ? a.g.readyState : 0; }
1125
- k.aa = function () { try {
1126
- return 2 < O(this) ? this.g.status : -1;
1123
+ function xd(a) { a.g && a.L && (a.g.ontimeout = null); a.A && (l.clearTimeout(a.A), a.A = null); }
1124
+ function H(a) { return a.g ? a.g.readyState : 0; }
1125
+ k.da = function () { try {
1126
+ return 2 < H(this) ? this.g.status : -1;
1127
1127
  }
1128
1128
  catch (a) {
1129
1129
  return -1;
1130
1130
  } };
1131
- k.fa = function () { try {
1131
+ k.ja = function () { try {
1132
1132
  return this.g ? this.g.responseText : "";
1133
1133
  }
1134
1134
  catch (a) {
1135
1135
  return "";
1136
1136
  } };
1137
- k.Sa = function (a) { if (this.g) {
1137
+ k.Wa = function (a) { if (this.g) {
1138
1138
  var b = this.g.responseText;
1139
1139
  a && 0 == b.indexOf(a) && (b = b.substring(a.length));
1140
- return kd(b);
1140
+ return sd(b);
1141
1141
  } };
1142
- function hc(a) { try {
1142
+ function oc(a) { try {
1143
1143
  if (!a.g)
1144
1144
  return null;
1145
1145
  if ("response" in a.g)
1146
1146
  return a.g.response;
1147
- switch (a.J) {
1148
- case ld:
1147
+ switch (a.K) {
1148
+ case td:
1149
1149
  case "text": return a.g.responseText;
1150
1150
  case "arraybuffer": if ("mozResponseArrayBuffer" in a.g)
1151
1151
  return a.g.mozResponseArrayBuffer;
@@ -1155,88 +1155,89 @@ function hc(a) { try {
1155
1155
  catch (b) {
1156
1156
  return null;
1157
1157
  } }
1158
- k.Ea = function () { return this.m; };
1159
- k.Oa = function () { return "string" === typeof this.j ? this.j : String(this.j); };
1160
- function ud(a) { var b = ""; Qa(a, function (c, d) { b += d; b += ":"; b += c; b += "\r\n"; }); return b; }
1161
- function vd(a, b, c) { a: {
1158
+ k.Ia = function () { return this.m; };
1159
+ k.Sa = function () { return "string" === typeof this.j ? this.j : String(this.j); };
1160
+ function Cd(a) { var b = ""; Ra(a, function (c, d) { b += d; b += ":"; b += c; b += "\r\n"; }); return b; }
1161
+ function Dd(a, b, c) { a: {
1162
1162
  for (d in c) {
1163
1163
  var d = !1;
1164
1164
  break a;
1165
1165
  }
1166
1166
  d = !0;
1167
- } d || (c = ud(c), "string" === typeof a ? (null != c && encodeURIComponent(String(c))) : S(a, b, c)); }
1168
- function wd(a, b, c) { return c && c.internalChannelParams ? c.internalChannelParams[a] || b : b; }
1169
- function xd(a) {
1170
- this.Ca = 0;
1167
+ } d || (c = Cd(c), "string" === typeof a ? (null != c && encodeURIComponent(String(c))) : K(a, b, c)); }
1168
+ function Ed(a, b, c) { return c && c.internalChannelParams ? c.internalChannelParams[a] || b : b; }
1169
+ function Fd(a) {
1170
+ this.Ga = 0;
1171
1171
  this.i = [];
1172
- this.j = new Gb;
1173
- this.ka = this.sa = this.F = this.V = this.g = this.za = this.D = this.ia = this.o = this.S = this.s = null;
1174
- this.ab = this.U = 0;
1175
- this.Za = wd("failFast", !1, a);
1176
- this.L = this.v = this.u = this.m = this.l = null;
1177
- this.Y = !0;
1178
- this.pa = this.Ba = this.T = -1;
1179
- this.Z = this.A = this.C = 0;
1180
- this.Xa = wd("baseRetryDelayMs", 5E3, a);
1181
- this.bb = wd("retryDelaySeedMs", 1E4, a);
1182
- this.$a = wd("forwardChannelMaxRetries", 2, a);
1183
- this.ta = wd("forwardChannelRequestTimeoutMs", 2E4, a);
1184
- this.ra = a && a.xmlHttpFactory || void 0;
1185
- this.Da = a && a.Zb || !1;
1186
- this.J = void 0;
1187
- this.H = a && a.supportsCrossDomainXhr || !1;
1188
- this.I = "";
1189
- this.h = new Wc(a && a.concurrentRequestLimit);
1190
- this.Fa = new ad;
1191
- this.O = a && a.fastHandshake || !1;
1192
- this.N = a && a.encodeInitMessageHeaders || !1;
1193
- this.O && this.N && (this.N = !1);
1194
- this.Ya = a && a.Xb || !1;
1195
- a && a.Aa && this.j.Aa();
1196
- a && a.forceLongPolling && (this.Y = !1);
1197
- this.$ = !this.O && this.Y && a && a.detectBufferingProxy || !1;
1198
- this.ja = void 0;
1199
- this.P = 0;
1200
- this.K = !1;
1201
- this.la = this.B = null;
1172
+ this.j = new Ib;
1173
+ this.oa = this.wa = this.G = this.Y = this.g = this.Da = this.F = this.ma = this.o = this.U = this.s = null;
1174
+ this.fb = this.W = 0;
1175
+ this.cb = Ed("failFast", !1, a);
1176
+ this.M = this.v = this.u = this.m = this.l = null;
1177
+ this.aa = !0;
1178
+ this.ta = this.Fa = this.V = -1;
1179
+ this.ba = this.A = this.C = 0;
1180
+ this.ab = Ed("baseRetryDelayMs", 5E3, a);
1181
+ this.hb = Ed("retryDelaySeedMs", 1E4, a);
1182
+ this.eb = Ed("forwardChannelMaxRetries", 2, a);
1183
+ this.xa = Ed("forwardChannelRequestTimeoutMs", 2E4, a);
1184
+ this.va = a && a.xmlHttpFactory || void 0;
1185
+ this.Ha = a && a.dc ||
1186
+ !1;
1187
+ this.K = void 0;
1188
+ this.I = a && a.supportsCrossDomainXhr || !1;
1189
+ this.J = "";
1190
+ this.h = new dd(a && a.concurrentRequestLimit);
1191
+ this.Ja = new id;
1192
+ this.P = a && a.fastHandshake || !1;
1193
+ this.O = a && a.encodeInitMessageHeaders || !1;
1194
+ this.P && this.O && (this.O = !1);
1195
+ this.bb = a && a.bc || !1;
1196
+ a && a.Ea && this.j.Ea();
1197
+ a && a.forceLongPolling && (this.aa = !1);
1198
+ this.ca = !this.P && this.aa && a && a.detectBufferingProxy || !1;
1199
+ this.na = void 0;
1200
+ this.S = 0;
1201
+ this.L = !1;
1202
+ this.pa = this.B = null;
1202
1203
  }
1203
- k = xd.prototype;
1204
- k.ma = 8;
1205
- k.G = 1;
1206
- function Ac(a) { yd(a); if (3 == a.G) {
1207
- var b = a.U++, c = M(a.F);
1208
- S(c, "SID", a.I);
1209
- S(c, "RID", b);
1210
- S(c, "TYPE", "terminate");
1211
- zd(a, c);
1212
- b = new L(a, a.j, b, void 0);
1213
- b.K = 2;
1214
- b.v = dc(M(c));
1204
+ k = Fd.prototype;
1205
+ k.qa = 8;
1206
+ k.H = 1;
1207
+ function Ic(a) { Gd(a); if (3 == a.H) {
1208
+ var b = a.W++, c = G(a.G);
1209
+ K(c, "SID", a.J);
1210
+ K(c, "RID", b);
1211
+ K(c, "TYPE", "terminate");
1212
+ Hd(a, c);
1213
+ b = new dc(a, a.j, b, void 0);
1214
+ b.L = 2;
1215
+ b.v = jc(G(c));
1215
1216
  c = !1;
1216
1217
  l.navigator && l.navigator.sendBeacon && (c = l.navigator.sendBeacon(b.v.toString(), ""));
1217
1218
  !c && l.Image && ((new Image).src = b.v, c = !0);
1218
- c || (b.g = gc(b.l, null), b.g.da(b.v));
1219
- b.F = Date.now();
1220
- N(b);
1221
- } Ad(a); }
1222
- function sc(a) { a.g && (oc(a), a.g.cancel(), a.g = null); }
1223
- function yd(a) { sc(a); a.u && (l.clearTimeout(a.u), a.u = null); rc(a); a.h.cancel(); a.m && ("number" === typeof a.m && l.clearTimeout(a.m), a.m = null); }
1224
- function zc(a) { Yc(a.h) || a.m || (a.m = !0, sb(a.Ja, a), a.C = 0); }
1225
- function Bd(a, b) { if (uc(a.h) >= a.h.j - (a.m ? 1 : 0))
1219
+ c || (b.g = nc(b.l, null), b.g.ha(b.v));
1220
+ b.G = Date.now();
1221
+ lc(b);
1222
+ } Id(a); }
1223
+ function Ac(a) { a.g && (wc(a), a.g.cancel(), a.g = null); }
1224
+ 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); }
1225
+ function Hc(a) { fd(a.h) || a.m || (a.m = !0, tb(a.Na, a), a.C = 0); }
1226
+ function Jd(a, b) { if (Cc(a.h) >= a.h.j - (a.m ? 1 : 0))
1226
1227
  return !1; if (a.m)
1227
- return a.i = b.D.concat(a.i), !0; if (1 == a.G || 2 == a.G || a.C >= (a.Za ? 0 : a.$a))
1228
- return !1; a.m = J(q(a.Ja, a, b), Cd(a, a.C)); a.C++; return !0; }
1229
- k.Ja = function (a) {
1228
+ return a.i = b.F.concat(a.i), !0; if (1 == a.H || 2 == a.H || a.C >= (a.cb ? 0 : a.eb))
1229
+ return !1; a.m = Tb(q(a.Na, a, b), Kd(a, a.C)); a.C++; return !0; }
1230
+ k.Na = function (a) {
1230
1231
  if (this.m)
1231
- if (this.m = null, 1 == this.G) {
1232
+ if (this.m = null, 1 == this.H) {
1232
1233
  if (!a) {
1233
- this.U = Math.floor(1E5 * Math.random());
1234
- a = this.U++;
1235
- var e = new L(this, this.j, a, void 0);
1234
+ this.W = Math.floor(1E5 * Math.random());
1235
+ a = this.W++;
1236
+ var e = new dc(this, this.j, a, void 0);
1236
1237
  var f = this.s;
1237
- this.S && (f ? (f = Ra(f), Ta(f, this.S)) : f = this.S);
1238
- null !== this.o || this.N || (e.H = f, f = null);
1239
- if (this.O)
1238
+ this.U && (f ? (f = Sa(f), Ua(f, this.U)) : f = this.U);
1239
+ null !== this.o || this.O || (e.I = f, f = null);
1240
+ if (this.P)
1240
1241
  a: {
1241
1242
  var b = 0;
1242
1243
  for (var c = 0; c < this.i.length; c++) {
@@ -1265,144 +1266,144 @@ k.Ja = function (a) {
1265
1266
  else
1266
1267
  b =
1267
1268
  1E3;
1268
- b = Dd(this, e, b);
1269
- c = M(this.F);
1270
- S(c, "RID", a);
1271
- S(c, "CVER", 22);
1272
- this.D && S(c, "X-HTTP-Session-Id", this.D);
1273
- zd(this, c);
1274
- f && (this.N ? b = "headers=" + encodeURIComponent(String(ud(f))) + "&" + b : this.o && vd(c, this.o, f));
1275
- vc(this.h, e);
1276
- this.Ya && S(c, "TYPE", "init");
1277
- this.O ? (S(c, "$req", b), S(c, "SID", "null"), e.Z = !0, cc(e, c, null)) : cc(e, c, b);
1278
- this.G = 2;
1269
+ b = Ld(this, e, b);
1270
+ c = G(this.G);
1271
+ K(c, "RID", a);
1272
+ K(c, "CVER", 22);
1273
+ this.F && K(c, "X-HTTP-Session-Id", this.F);
1274
+ Hd(this, c);
1275
+ f && (this.O ? b = "headers=" + encodeURIComponent(String(Cd(f))) + "&" + b : this.o && Dd(c, this.o, f));
1276
+ Dc(this.h, e);
1277
+ this.bb && K(c, "TYPE", "init");
1278
+ this.P ? (K(c, "$req", b), K(c, "SID", "null"), e.ba = !0, ic(e, c, null)) : ic(e, c, b);
1279
+ this.H = 2;
1279
1280
  }
1280
1281
  }
1281
1282
  else
1282
- 3 == this.G && (a ? Ed(this, a) : 0 == this.i.length || Yc(this.h) || Ed(this));
1283
+ 3 == this.H && (a ? Md(this, a) : 0 == this.i.length || fd(this.h) || Md(this));
1283
1284
  };
1284
- function Ed(a, b) { var c; b ? c = b.m : c = a.U++; var d = M(a.F); S(d, "SID", a.I); S(d, "RID", c); S(d, "AID", a.T); zd(a, d); a.o && a.s && vd(d, a.o, a.s); c = new L(a, a.j, c, a.C + 1); null === a.o && (c.H = a.s); b && (a.i = b.D.concat(a.i)); b = Dd(a, c, 1E3); c.setTimeout(Math.round(.5 * a.ta) + Math.round(.5 * a.ta * Math.random())); vc(a.h, c); cc(c, d, b); }
1285
- function zd(a, b) { a.ia && Qa(a.ia, function (c, d) { S(b, d, c); }); a.l && Dc({}, function (c, d) { S(b, d, c); }); }
1286
- function Dd(a, b, c) { c = Math.min(a.i.length, c); var d = a.l ? q(a.l.Ra, a.l, a) : null; a: {
1285
+ function Md(a, b) { var c; b ? c = b.m : c = a.W++; var 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); }
1286
+ 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); }); }
1287
+ 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: {
1287
1288
  var e = a.i;
1288
1289
  var f = -1;
1289
1290
  for (;;) {
1290
1291
  var h = ["count=" + c];
1291
1292
  -1 == f ? 0 < c ? (f = e[0].h, h.push("ofs=" + f)) : f = 0 : h.push("ofs=" + f);
1292
- var n = !0;
1293
- for (var u = 0; u < c; u++) {
1294
- var m = e[u].h;
1295
- var r = e[u].g;
1296
- m -= f;
1297
- if (0 > m)
1298
- f = Math.max(0, e[u].h - 100), n = !1;
1293
+ var m = !0;
1294
+ for (var t = 0; t < c; t++) {
1295
+ var n = e[t].h;
1296
+ var u = e[t].g;
1297
+ n -= f;
1298
+ if (0 > n)
1299
+ f = Math.max(0, e[t].h - 100), m = !1;
1299
1300
  else
1300
1301
  try {
1301
- bd(r, h, "req" + m + "_");
1302
+ jd(u, h, "req" + n + "_");
1302
1303
  }
1303
- catch (F) {
1304
- d && d(r);
1304
+ catch (L) {
1305
+ d && d(u);
1305
1306
  }
1306
1307
  }
1307
- if (n) {
1308
+ if (m) {
1308
1309
  d = h.join("&");
1309
1310
  break a;
1310
1311
  }
1311
1312
  }
1312
- } a = a.i.splice(0, c); b.D = a; return d; }
1313
- function yc(a) { a.g || a.u || (a.Z = 1, sb(a.Ia, a), a.A = 0); }
1314
- function tc(a) { if (a.g || a.u || 3 <= a.A)
1315
- return !1; a.Z++; a.u = J(q(a.Ia, a), Cd(a, a.A)); a.A++; return !0; }
1316
- k.Ia = function () { this.u = null; Fd(this); if (this.$ && !(this.K || null == this.g || 0 >= this.P)) {
1317
- var a = 2 * this.P;
1313
+ } a = a.i.splice(0, c); b.F = a; return d; }
1314
+ function Gc(a) { a.g || a.u || (a.ba = 1, tb(a.Ma, a), a.A = 0); }
1315
+ function Bc(a) { if (a.g || a.u || 3 <= a.A)
1316
+ return !1; a.ba++; a.u = Tb(q(a.Ma, a), Kd(a, a.A)); a.A++; return !0; }
1317
+ k.Ma = function () { this.u = null; Nd(this); if (this.ca && !(this.L || null == this.g || 0 >= this.S)) {
1318
+ var a = 2 * this.S;
1318
1319
  this.j.info("BP detection timer enabled: " + a);
1319
- this.B = J(q(this.eb, this), a);
1320
+ this.B = Tb(q(this.jb, this), a);
1320
1321
  } };
1321
- k.eb = 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.L = !1, this.K = !0, I(10), sc(this), Fd(this)); };
1322
- function oc(a) { null != a.B && (l.clearTimeout(a.B), a.B = null); }
1323
- function Fd(a) { a.g = new L(a, a.j, "rpc", a.Z); null === a.o && (a.g.H = a.s); a.g.N = 0; var b = M(a.sa); S(b, "RID", "rpc"); S(b, "SID", a.I); S(b, "CI", a.L ? "0" : "1"); S(b, "AID", a.T); S(b, "TYPE", "xmlhttp"); zd(a, b); a.o && a.s && vd(b, a.o, a.s); a.J && a.g.setTimeout(a.J); var c = a.g; a = a.ka; c.K = 1; c.v = dc(M(b)); c.s = null; c.P = !0; ec(c, a); }
1324
- k.cb = function () { null != this.v && (this.v = null, sc(this), tc(this), I(19)); };
1325
- function rc(a) { null != a.v && (l.clearTimeout(a.v), a.v = null); }
1326
- function mc(a, b) { var c = null; if (a.g == b) {
1327
- rc(a);
1328
- oc(a);
1322
+ 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)); };
1323
+ function wc(a) { null != a.B && (l.clearTimeout(a.B), a.B = null); }
1324
+ 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); }
1325
+ k.ib = function () { null != this.v && (this.v = null, Ac(this), Bc(this), F(19)); };
1326
+ function zc(a) { null != a.v && (l.clearTimeout(a.v), a.v = null); }
1327
+ function uc(a, b) { var c = null; if (a.g == b) {
1328
+ zc(a);
1329
+ wc(a);
1329
1330
  a.g = null;
1330
1331
  var d = 2;
1331
1332
  }
1332
- else if (qc(a.h, b))
1333
- c = b.D, xc(a.h, b), d = 1;
1333
+ else if (yc(a.h, b))
1334
+ c = b.F, Fc(a.h, b), d = 1;
1334
1335
  else
1335
- return; if (0 != a.G)
1336
- if (a.pa = b.Y, b.i)
1336
+ return; if (0 != a.H)
1337
+ if (a.ta = b.aa, b.i)
1337
1338
  if (1 == d) {
1338
1339
  c = b.s ? b.s.length : 0;
1339
- b = Date.now() - b.F;
1340
+ b = Date.now() - b.G;
1340
1341
  var e = a.C;
1341
- d = Mb();
1342
- C(d, new Pb(d, c));
1343
- zc(a);
1342
+ d = Ob();
1343
+ C(d, new Sb(d, c));
1344
+ Hc(a);
1344
1345
  }
1345
1346
  else
1346
- yc(a);
1347
- else if (e = b.o, 3 == e || 0 == e && 0 < a.pa || !(1 == d && Bd(a, b) || 2 == d && tc(a)))
1347
+ Gc(a);
1348
+ else if (e = b.o, 3 == e || 0 == e && 0 < a.ta || !(1 == d && Jd(a, b) || 2 == d && Bc(a)))
1348
1349
  switch (c && 0 < c.length && (b = a.h, b.i = b.i.concat(c)), e) {
1349
1350
  case 1:
1350
- R(a, 5);
1351
+ J(a, 5);
1351
1352
  break;
1352
1353
  case 4:
1353
- R(a, 10);
1354
+ J(a, 10);
1354
1355
  break;
1355
1356
  case 3:
1356
- R(a, 6);
1357
+ J(a, 6);
1357
1358
  break;
1358
- default: R(a, 2);
1359
+ default: J(a, 2);
1359
1360
  } }
1360
- function Cd(a, b) { var c = a.Xa + Math.floor(Math.random() * a.bb); a.l || (c *= 2); return c * b; }
1361
- function R(a, b) { a.j.info("Error code " + b); if (2 == b) {
1361
+ function Kd(a, b) { var c = a.ab + Math.floor(Math.random() * a.hb); a.l || (c *= 2); return c * b; }
1362
+ function J(a, b) { a.j.info("Error code " + b); if (2 == b) {
1362
1363
  var c = null;
1363
1364
  a.l && (c = null);
1364
- var d = q(a.kb, a);
1365
- c || (c = new T("//www.google.com/images/cleardot.gif"), l.location && "http" == l.location.protocol || Gc(c, "https"), dc(c));
1366
- cd(c.toString(), d);
1365
+ var d = q(a.pb, a);
1366
+ c || (c = new M("//www.google.com/images/cleardot.gif"), l.location && "http" == l.location.protocol || Oc(c, "https"), jc(c));
1367
+ kd(c.toString(), d);
1367
1368
  }
1368
1369
  else
1369
- I(2); a.G = 0; a.l && a.l.va(b); Ad(a); yd(a); }
1370
- k.kb = function (a) { a ? (this.j.info("Successfully pinged google.com"), I(2)) : (this.j.info("Failed to ping google.com"), I(1)); };
1371
- function Ad(a) { a.G = 0; a.la = []; if (a.l) {
1372
- var b = Zc(a.h);
1370
+ F(2); a.H = 0; a.l && a.l.za(b); Id(a); Gd(a); }
1371
+ k.pb = function (a) { a ? (this.j.info("Successfully pinged google.com"), F(2)) : (this.j.info("Failed to ping google.com"), F(1)); };
1372
+ function Id(a) { a.H = 0; a.pa = []; if (a.l) {
1373
+ var b = gd(a.h);
1373
1374
  if (0 != b.length || 0 != a.i.length)
1374
- na(a.la, b), na(a.la, a.i), a.h.i.length = 0, ma(a.i), a.i.length = 0;
1375
- a.l.ua();
1375
+ oa(a.pa, b), oa(a.pa, a.i), a.h.i.length = 0, na(a.i), a.i.length = 0;
1376
+ a.l.ya();
1376
1377
  } }
1377
- function wc(a, b, c) { var d = c instanceof T ? M(c) : new T(c, void 0); if ("" != d.g)
1378
- b && (d.g = b + "." + d.g), Hc(d, d.m);
1378
+ function Ec(a, b, c) { var d = c instanceof M ? G(c) : new M(c, void 0); if ("" != d.g)
1379
+ b && (d.g = b + "." + d.g), Pc(d, d.m);
1379
1380
  else {
1380
1381
  var e = l.location;
1381
1382
  d = e.protocol;
1382
1383
  b = b ? b + "." + e.hostname : e.hostname;
1383
1384
  e = +e.port;
1384
- var f = new T(null, void 0);
1385
- d && Gc(f, d);
1385
+ var f = new M(null, void 0);
1386
+ d && Oc(f, d);
1386
1387
  b && (f.g = b);
1387
- e && Hc(f, e);
1388
+ e && Pc(f, e);
1388
1389
  c && (f.l = c);
1389
1390
  d = f;
1390
- } c = a.D; b = a.za; c && b && S(d, c, b); S(d, "VER", a.ma); zd(a, d); return d; }
1391
- function gc(a, b, c) { if (b && !a.H)
1392
- throw Error("Can't create secondary domain capable XhrIo object."); b = c && a.Da && !a.ra ? new W(new ed({ jb: !0 })) : new W(a.ra); b.Ka(a.H); return b; }
1393
- function Gd() { }
1394
- k = Gd.prototype;
1395
- k.xa = function () { };
1396
- k.wa = function () { };
1397
- k.va = function () { };
1398
- k.ua = function () { };
1399
- k.Ra = function () { };
1400
- function Hd() { if (y && !(10 <= Number(La)))
1391
+ } c = a.F; b = a.Da; c && b && K(d, c, b); K(d, "VER", a.qa); Hd(a, d); return d; }
1392
+ function nc(a, b, c) { if (b && !a.I)
1393
+ 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; }
1394
+ function Od() { }
1395
+ k = Od.prototype;
1396
+ k.Ba = function () { };
1397
+ k.Aa = function () { };
1398
+ k.za = function () { };
1399
+ k.ya = function () { };
1400
+ k.Va = function () { };
1401
+ function Pd() { if (y && !(10 <= Number(Ka)))
1401
1402
  throw Error("Environmental error: no available transport."); }
1402
- Hd.prototype.g = function (a, b) { return new X(a, b); };
1403
- function X(a, b) {
1403
+ Pd.prototype.g = function (a, b) { return new Q(a, b); };
1404
+ function Q(a, b) {
1404
1405
  B.call(this);
1405
- this.g = new xd(b);
1406
+ this.g = new Fd(b);
1406
1407
  this.l = a;
1407
1408
  this.h = b && b.messageUrlParams || null;
1408
1409
  a = b && b.messageHeaders || null;
@@ -1410,27 +1411,27 @@ function X(a, b) {
1410
1411
  this.g.s = a;
1411
1412
  a = b && b.initMessageHeaders || null;
1412
1413
  b && b.messageContentType && (a ? a["X-WebChannel-Content-Type"] = b.messageContentType : a = { "X-WebChannel-Content-Type": b.messageContentType });
1413
- b && b.ya && (a ? a["X-WebChannel-Client-Profile"] = b.ya : a = { "X-WebChannel-Client-Profile": b.ya });
1414
- this.g.S =
1414
+ b && b.Ca && (a ? a["X-WebChannel-Client-Profile"] = b.Ca : a = { "X-WebChannel-Client-Profile": b.Ca });
1415
+ this.g.U =
1415
1416
  a;
1416
- (a = b && b.Yb) && !pa(a) && (this.g.o = a);
1417
+ (a = b && b.cc) && !qa(a) && (this.g.o = a);
1417
1418
  this.A = b && b.supportsCrossDomainXhr || !1;
1418
1419
  this.v = b && b.sendRawJson || !1;
1419
- (b = b && b.httpSessionIdParam) && !pa(b) && (this.g.D = b, a = this.h, null !== a && b in a && (a = this.h, b in a && delete a[b]));
1420
- this.j = new Y(this);
1420
+ (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]));
1421
+ this.j = new R(this);
1421
1422
  }
1422
- t(X, B);
1423
- X.prototype.m = function () { this.g.l = this.j; this.A && (this.g.H = !0); var a = this.g, b = this.l, c = this.h || void 0; I(0); a.V = b; a.ia = c || {}; a.L = a.Y; a.F = wc(a, null, a.V); zc(a); };
1424
- X.prototype.close = function () { Ac(this.g); };
1425
- X.prototype.u = function (a) { var b = this.g; if ("string" === typeof a) {
1423
+ r(Q, B);
1424
+ 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); };
1425
+ Q.prototype.close = function () { Ic(this.g); };
1426
+ Q.prototype.u = function (a) { var b = this.g; if ("string" === typeof a) {
1426
1427
  var c = {};
1427
1428
  c.__data__ = a;
1428
1429
  a = c;
1429
1430
  }
1430
1431
  else
1431
- this.v && (c = {}, c.__data__ = lb(a), a = c); b.i.push(new Vc(b.ab++, a)); 3 == b.G && zc(b); };
1432
- X.prototype.M = function () { this.g.l = null; delete this.j; Ac(this.g); delete this.g; X.X.M.call(this); };
1433
- function Id(a) { Vb.call(this); var b = a.__sm__; if (b) {
1432
+ this.v && (c = {}, c.__data__ = mb(a), a = c); b.i.push(new cd(b.fb++, a)); 3 == b.H && Hc(b); };
1433
+ Q.prototype.N = function () { this.g.l = null; delete this.j; Ic(this.g); delete this.g; Q.$.N.call(this); };
1434
+ function Qd(a) { $b.call(this); var b = a.__sm__; if (b) {
1434
1435
  a: {
1435
1436
  for (var c in b) {
1436
1437
  a = c;
@@ -1444,61 +1445,382 @@ function Id(a) { Vb.call(this); var b = a.__sm__; if (b) {
1444
1445
  }
1445
1446
  else
1446
1447
  this.data = a; }
1447
- t(Id, Vb);
1448
- function Jd() { Wb.call(this); this.status = 1; }
1449
- t(Jd, Wb);
1450
- function Y(a) { this.g = a; }
1451
- t(Y, Gd);
1452
- Y.prototype.xa = function () { C(this.g, "a"); };
1453
- Y.prototype.wa = function (a) { C(this.g, new Id(a)); };
1454
- Y.prototype.va = function (a) { C(this.g, new Jd()); };
1455
- Y.prototype.ua = function () { C(this.g, "b"); }; /*
1456
-
1457
- Copyright 2017 Google LLC
1458
-
1459
- Licensed under the Apache License, Version 2.0 (the "License");
1460
- you may not use this file except in compliance with the License.
1461
- You may obtain a copy of the License at
1462
-
1463
- http://www.apache.org/licenses/LICENSE-2.0
1464
-
1465
- Unless required by applicable law or agreed to in writing, software
1466
- distributed under the License is distributed on an "AS IS" BASIS,
1467
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1468
- See the License for the specific language governing permissions and
1469
- limitations under the License.
1470
- */
1471
- Hd.prototype.createWebChannel = Hd.prototype.g;
1472
- X.prototype.send = X.prototype.u;
1473
- X.prototype.open = X.prototype.m;
1474
- X.prototype.close = X.prototype.close;
1475
- Qb.NO_ERROR = 0;
1476
- Qb.TIMEOUT = 8;
1477
- Qb.HTTP_ERROR = 6;
1478
- Rb.COMPLETE = "complete";
1479
- Ub.EventType = K;
1480
- K.OPEN = "a";
1481
- K.CLOSE = "b";
1482
- K.ERROR = "c";
1483
- K.MESSAGE = "d";
1484
- B.prototype.listen = B.prototype.N;
1485
- W.prototype.listenOnce = W.prototype.O;
1486
- W.prototype.getLastError = W.prototype.Oa;
1487
- W.prototype.getLastErrorCode = W.prototype.Ea;
1488
- W.prototype.getStatus = W.prototype.aa;
1489
- W.prototype.getResponseJson = W.prototype.Sa;
1490
- W.prototype.getResponseText = W.prototype.fa;
1491
- W.prototype.send = W.prototype.da;
1492
- W.prototype.setWithCredentials = W.prototype.Ka;
1493
- var createWebChannelTransport = esm.createWebChannelTransport = function () { return new Hd; };
1494
- var getStatEventTarget = esm.getStatEventTarget = function () { return Mb(); };
1495
- var ErrorCode = esm.ErrorCode = Qb;
1496
- var EventType = esm.EventType = Rb;
1497
- var Event = esm.Event = G;
1498
- var Stat = esm.Stat = { sb: 0, vb: 1, wb: 2, Pb: 3, Ub: 4, Rb: 5, Sb: 6, Qb: 7, Ob: 8, Tb: 9, PROXY: 10, NOPROXY: 11, Mb: 12, Ib: 13, Jb: 14, Hb: 15, Kb: 16, Lb: 17, ob: 18, nb: 19, pb: 20 };
1499
- var FetchXmlHttpFactory = esm.FetchXmlHttpFactory = ed;
1500
- var WebChannel = esm.WebChannel = Ub;
1501
- var XhrIo = esm.XhrIo = W;
1448
+ r(Qd, $b);
1449
+ function Rd() { ac.call(this); this.status = 1; }
1450
+ r(Rd, ac);
1451
+ function R(a) { this.g = a; }
1452
+ r(R, Od);
1453
+ R.prototype.Ba = function () { C(this.g, "a"); };
1454
+ R.prototype.Aa = function (a) { C(this.g, new Qd(a)); };
1455
+ R.prototype.za = function (a) { C(this.g, new Rd()); };
1456
+ R.prototype.ya = function () { C(this.g, "b"); };
1457
+ function Sd() { this.blockSize = -1; }
1458
+ function S() { this.blockSize = -1; this.blockSize = 64; this.g = Array(4); this.m = Array(this.blockSize); this.i = this.h = 0; this.reset(); }
1459
+ r(S, Sd);
1460
+ 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; };
1461
+ function Td(a, b, c) {
1462
+ c || (c = 0);
1463
+ var d = Array(16);
1464
+ if ("string" === typeof b)
1465
+ for (var e = 0; 16 > e; ++e)
1466
+ d[e] = b.charCodeAt(c++) | b.charCodeAt(c++) << 8 | b.charCodeAt(c++) << 16 | b.charCodeAt(c++) << 24;
1467
+ else
1468
+ for (e = 0; 16 > e; ++e)
1469
+ d[e] = b[c++] | b[c++] << 8 | b[c++] << 16 | b[c++] << 24;
1470
+ b = a.g[0];
1471
+ c = a.g[1];
1472
+ e = a.g[2];
1473
+ var f = a.g[3];
1474
+ var h = b + (f ^ c & (e ^ f)) + d[0] + 3614090360 & 4294967295;
1475
+ b = c + (h << 7 & 4294967295 | h >>> 25);
1476
+ h = f + (e ^ b & (c ^ e)) + d[1] + 3905402710 & 4294967295;
1477
+ f = b + (h << 12 & 4294967295 | h >>> 20);
1478
+ h = e + (c ^ f & (b ^ c)) + d[2] + 606105819 & 4294967295;
1479
+ e = f + (h << 17 & 4294967295 | h >>> 15);
1480
+ h = c + (b ^ e & (f ^ b)) + d[3] + 3250441966 & 4294967295;
1481
+ c = e + (h << 22 & 4294967295 | h >>> 10);
1482
+ h = b + (f ^ c & (e ^ f)) + d[4] + 4118548399 & 4294967295;
1483
+ b = c + (h << 7 & 4294967295 | h >>> 25);
1484
+ h = f + (e ^ b & (c ^ e)) + d[5] + 1200080426 & 4294967295;
1485
+ f = b + (h << 12 & 4294967295 | h >>> 20);
1486
+ h = e + (c ^ f & (b ^ c)) + d[6] + 2821735955 & 4294967295;
1487
+ e = f + (h << 17 & 4294967295 | h >>> 15);
1488
+ h = c + (b ^ e & (f ^ b)) + d[7] + 4249261313 & 4294967295;
1489
+ c = e + (h << 22 & 4294967295 | h >>> 10);
1490
+ h = b + (f ^ c & (e ^ f)) + d[8] + 1770035416 & 4294967295;
1491
+ b = c + (h << 7 & 4294967295 | h >>> 25);
1492
+ h = f + (e ^ b & (c ^ e)) + d[9] + 2336552879 & 4294967295;
1493
+ f = b + (h << 12 & 4294967295 |
1494
+ h >>> 20);
1495
+ h = e + (c ^ f & (b ^ c)) + d[10] + 4294925233 & 4294967295;
1496
+ e = f + (h << 17 & 4294967295 | h >>> 15);
1497
+ h = c + (b ^ e & (f ^ b)) + d[11] + 2304563134 & 4294967295;
1498
+ c = e + (h << 22 & 4294967295 | h >>> 10);
1499
+ h = b + (f ^ c & (e ^ f)) + d[12] + 1804603682 & 4294967295;
1500
+ b = c + (h << 7 & 4294967295 | h >>> 25);
1501
+ h = f + (e ^ b & (c ^ e)) + d[13] + 4254626195 & 4294967295;
1502
+ f = b + (h << 12 & 4294967295 | h >>> 20);
1503
+ h = e + (c ^ f & (b ^ c)) + d[14] + 2792965006 & 4294967295;
1504
+ e = f + (h << 17 & 4294967295 | h >>> 15);
1505
+ h = c + (b ^ e & (f ^ b)) + d[15] + 1236535329 & 4294967295;
1506
+ c = e + (h << 22 & 4294967295 | h >>> 10);
1507
+ h = b + (e ^ f & (c ^ e)) + d[1] + 4129170786 & 4294967295;
1508
+ b = c + (h <<
1509
+ 5 & 4294967295 | h >>> 27);
1510
+ h = f + (c ^ e & (b ^ c)) + d[6] + 3225465664 & 4294967295;
1511
+ f = b + (h << 9 & 4294967295 | h >>> 23);
1512
+ h = e + (b ^ c & (f ^ b)) + d[11] + 643717713 & 4294967295;
1513
+ e = f + (h << 14 & 4294967295 | h >>> 18);
1514
+ h = c + (f ^ b & (e ^ f)) + d[0] + 3921069994 & 4294967295;
1515
+ c = e + (h << 20 & 4294967295 | h >>> 12);
1516
+ h = b + (e ^ f & (c ^ e)) + d[5] + 3593408605 & 4294967295;
1517
+ b = c + (h << 5 & 4294967295 | h >>> 27);
1518
+ h = f + (c ^ e & (b ^ c)) + d[10] + 38016083 & 4294967295;
1519
+ f = b + (h << 9 & 4294967295 | h >>> 23);
1520
+ h = e + (b ^ c & (f ^ b)) + d[15] + 3634488961 & 4294967295;
1521
+ e = f + (h << 14 & 4294967295 | h >>> 18);
1522
+ h = c + (f ^ b & (e ^ f)) + d[4] + 3889429448 & 4294967295;
1523
+ c =
1524
+ e + (h << 20 & 4294967295 | h >>> 12);
1525
+ h = b + (e ^ f & (c ^ e)) + d[9] + 568446438 & 4294967295;
1526
+ b = c + (h << 5 & 4294967295 | h >>> 27);
1527
+ h = f + (c ^ e & (b ^ c)) + d[14] + 3275163606 & 4294967295;
1528
+ f = b + (h << 9 & 4294967295 | h >>> 23);
1529
+ h = e + (b ^ c & (f ^ b)) + d[3] + 4107603335 & 4294967295;
1530
+ e = f + (h << 14 & 4294967295 | h >>> 18);
1531
+ h = c + (f ^ b & (e ^ f)) + d[8] + 1163531501 & 4294967295;
1532
+ c = e + (h << 20 & 4294967295 | h >>> 12);
1533
+ h = b + (e ^ f & (c ^ e)) + d[13] + 2850285829 & 4294967295;
1534
+ b = c + (h << 5 & 4294967295 | h >>> 27);
1535
+ h = f + (c ^ e & (b ^ c)) + d[2] + 4243563512 & 4294967295;
1536
+ f = b + (h << 9 & 4294967295 | h >>> 23);
1537
+ h = e + (b ^ c & (f ^ b)) + d[7] + 1735328473 & 4294967295;
1538
+ e = f + (h << 14 & 4294967295 | h >>> 18);
1539
+ h = c + (f ^ b & (e ^ f)) + d[12] + 2368359562 & 4294967295;
1540
+ c = e + (h << 20 & 4294967295 | h >>> 12);
1541
+ h = b + (c ^ e ^ f) + d[5] + 4294588738 & 4294967295;
1542
+ b = c + (h << 4 & 4294967295 | h >>> 28);
1543
+ h = f + (b ^ c ^ e) + d[8] + 2272392833 & 4294967295;
1544
+ f = b + (h << 11 & 4294967295 | h >>> 21);
1545
+ h = e + (f ^ b ^ c) + d[11] + 1839030562 & 4294967295;
1546
+ e = f + (h << 16 & 4294967295 | h >>> 16);
1547
+ h = c + (e ^ f ^ b) + d[14] + 4259657740 & 4294967295;
1548
+ c = e + (h << 23 & 4294967295 | h >>> 9);
1549
+ h = b + (c ^ e ^ f) + d[1] + 2763975236 & 4294967295;
1550
+ b = c + (h << 4 & 4294967295 | h >>> 28);
1551
+ h = f + (b ^ c ^ e) + d[4] + 1272893353 & 4294967295;
1552
+ f = b + (h << 11 & 4294967295 |
1553
+ h >>> 21);
1554
+ h = e + (f ^ b ^ c) + d[7] + 4139469664 & 4294967295;
1555
+ e = f + (h << 16 & 4294967295 | h >>> 16);
1556
+ h = c + (e ^ f ^ b) + d[10] + 3200236656 & 4294967295;
1557
+ c = e + (h << 23 & 4294967295 | h >>> 9);
1558
+ h = b + (c ^ e ^ f) + d[13] + 681279174 & 4294967295;
1559
+ b = c + (h << 4 & 4294967295 | h >>> 28);
1560
+ h = f + (b ^ c ^ e) + d[0] + 3936430074 & 4294967295;
1561
+ f = b + (h << 11 & 4294967295 | h >>> 21);
1562
+ h = e + (f ^ b ^ c) + d[3] + 3572445317 & 4294967295;
1563
+ e = f + (h << 16 & 4294967295 | h >>> 16);
1564
+ h = c + (e ^ f ^ b) + d[6] + 76029189 & 4294967295;
1565
+ c = e + (h << 23 & 4294967295 | h >>> 9);
1566
+ h = b + (c ^ e ^ f) + d[9] + 3654602809 & 4294967295;
1567
+ b = c + (h << 4 & 4294967295 | h >>> 28);
1568
+ h = f + (b ^ c ^ e) + d[12] +
1569
+ 3873151461 & 4294967295;
1570
+ f = b + (h << 11 & 4294967295 | h >>> 21);
1571
+ h = e + (f ^ b ^ c) + d[15] + 530742520 & 4294967295;
1572
+ e = f + (h << 16 & 4294967295 | h >>> 16);
1573
+ h = c + (e ^ f ^ b) + d[2] + 3299628645 & 4294967295;
1574
+ c = e + (h << 23 & 4294967295 | h >>> 9);
1575
+ h = b + (e ^ (c | ~f)) + d[0] + 4096336452 & 4294967295;
1576
+ b = c + (h << 6 & 4294967295 | h >>> 26);
1577
+ h = f + (c ^ (b | ~e)) + d[7] + 1126891415 & 4294967295;
1578
+ f = b + (h << 10 & 4294967295 | h >>> 22);
1579
+ h = e + (b ^ (f | ~c)) + d[14] + 2878612391 & 4294967295;
1580
+ e = f + (h << 15 & 4294967295 | h >>> 17);
1581
+ h = c + (f ^ (e | ~b)) + d[5] + 4237533241 & 4294967295;
1582
+ c = e + (h << 21 & 4294967295 | h >>> 11);
1583
+ h = b + (e ^ (c | ~f)) + d[12] + 1700485571 &
1584
+ 4294967295;
1585
+ b = c + (h << 6 & 4294967295 | h >>> 26);
1586
+ h = f + (c ^ (b | ~e)) + d[3] + 2399980690 & 4294967295;
1587
+ f = b + (h << 10 & 4294967295 | h >>> 22);
1588
+ h = e + (b ^ (f | ~c)) + d[10] + 4293915773 & 4294967295;
1589
+ e = f + (h << 15 & 4294967295 | h >>> 17);
1590
+ h = c + (f ^ (e | ~b)) + d[1] + 2240044497 & 4294967295;
1591
+ c = e + (h << 21 & 4294967295 | h >>> 11);
1592
+ h = b + (e ^ (c | ~f)) + d[8] + 1873313359 & 4294967295;
1593
+ b = c + (h << 6 & 4294967295 | h >>> 26);
1594
+ h = f + (c ^ (b | ~e)) + d[15] + 4264355552 & 4294967295;
1595
+ f = b + (h << 10 & 4294967295 | h >>> 22);
1596
+ h = e + (b ^ (f | ~c)) + d[6] + 2734768916 & 4294967295;
1597
+ e = f + (h << 15 & 4294967295 | h >>> 17);
1598
+ h = c + (f ^ (e | ~b)) + d[13] + 1309151649 &
1599
+ 4294967295;
1600
+ c = e + (h << 21 & 4294967295 | h >>> 11);
1601
+ h = b + (e ^ (c | ~f)) + d[4] + 4149444226 & 4294967295;
1602
+ b = c + (h << 6 & 4294967295 | h >>> 26);
1603
+ h = f + (c ^ (b | ~e)) + d[11] + 3174756917 & 4294967295;
1604
+ f = b + (h << 10 & 4294967295 | h >>> 22);
1605
+ h = e + (b ^ (f | ~c)) + d[2] + 718787259 & 4294967295;
1606
+ e = f + (h << 15 & 4294967295 | h >>> 17);
1607
+ h = c + (f ^ (e | ~b)) + d[9] + 3951481745 & 4294967295;
1608
+ a.g[0] = a.g[0] + b & 4294967295;
1609
+ a.g[1] = a.g[1] + (e + (h << 21 & 4294967295 | h >>> 11)) & 4294967295;
1610
+ a.g[2] = a.g[2] + e & 4294967295;
1611
+ a.g[3] = a.g[3] + f & 4294967295;
1612
+ }
1613
+ 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;) {
1614
+ if (0 == e)
1615
+ for (; f <= c;)
1616
+ Td(this, a, f), f += this.blockSize;
1617
+ if ("string" === typeof a)
1618
+ for (; f < b;) {
1619
+ if (d[e++] = a.charCodeAt(f++), e == this.blockSize) {
1620
+ Td(this, d);
1621
+ e = 0;
1622
+ break;
1623
+ }
1624
+ }
1625
+ else
1626
+ for (; f < b;)
1627
+ if (d[e++] = a[f++], e == this.blockSize) {
1628
+ Td(this, d);
1629
+ e = 0;
1630
+ break;
1631
+ }
1632
+ } this.h = e; this.i += b; };
1633
+ 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)
1634
+ a[b] = 0; var c = 8 * this.i; for (b = a.length - 8; b < a.length; ++b)
1635
+ a[b] = c & 255, c /= 256; this.j(a); a = Array(16); for (b = c = 0; 4 > b; ++b)
1636
+ for (var d = 0; 32 > d; d += 8)
1637
+ a[c++] = this.g[b] >>> d & 255; return a; };
1638
+ function T(a, b) { this.h = b; for (var c = [], d = !0, e = a.length - 1; 0 <= e; e--) {
1639
+ var f = a[e] | 0;
1640
+ d && f == b || (c[e] = f, d = !1);
1641
+ } this.g = c; }
1642
+ var Ud = {};
1643
+ 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); }
1644
+ function U(a) { if (isNaN(a) || !isFinite(a))
1645
+ return V; if (0 > a)
1646
+ return W(U(-a)); for (var b = [], c = 1, d = 0; a >= c; d++)
1647
+ b[d] = a / c | 0, c *= Wd; return new T(b, 0); }
1648
+ function Xd(a, b) { if (0 == a.length)
1649
+ throw Error("number format error: empty string"); b = b || 10; if (2 > b || 36 < b)
1650
+ throw Error("radix out of range: " + b); if ("-" == a.charAt(0))
1651
+ return W(Xd(a.substring(1), b)); if (0 <= a.indexOf("-"))
1652
+ throw Error('number format error: interior "-" character'); for (var c = U(Math.pow(b, 8)), d = V, e = 0; e < a.length; e += 8) {
1653
+ var f = Math.min(8, a.length - e), h = parseInt(a.substring(e, e + f), b);
1654
+ 8 > f ? (f = U(Math.pow(b, f)), d = d.R(f).add(U(h))) : (d = d.R(c), d = d.add(U(h)));
1655
+ } return d; }
1656
+ var Wd = 4294967296, V = Vd(0), Yd = Vd(1), Zd = Vd(16777216);
1657
+ k = T.prototype;
1658
+ k.ea = function () { if (X(this))
1659
+ return -W(this).ea(); for (var a = 0, b = 1, c = 0; c < this.g.length; c++) {
1660
+ var d = this.D(c);
1661
+ a += (0 <= d ? d : Wd + d) * b;
1662
+ b *= Wd;
1663
+ } return a; };
1664
+ k.toString = function (a) { a = a || 10; if (2 > a || 36 < a)
1665
+ throw Error("radix out of range: " + a); if (Y(this))
1666
+ return "0"; if (X(this))
1667
+ return "-" + W(this).toString(a); for (var b = U(Math.pow(a, 6)), c = this, d = "";;) {
1668
+ var e = $d(c, b).g;
1669
+ c = ae(c, e.R(b));
1670
+ var f = ((0 < c.g.length ? c.g[0] : c.h) >>> 0).toString(a);
1671
+ c = e;
1672
+ if (Y(c))
1673
+ return f + d;
1674
+ for (; 6 > f.length;)
1675
+ f = "0" + f;
1676
+ d = f + d;
1677
+ } };
1678
+ k.D = function (a) { return 0 > a ? 0 : a < this.g.length ? this.g[a] : this.h; };
1679
+ function Y(a) { if (0 != a.h)
1680
+ return !1; for (var b = 0; b < a.g.length; b++)
1681
+ if (0 != a.g[b])
1682
+ return !1; return !0; }
1683
+ function X(a) { return -1 == a.h; }
1684
+ k.X = function (a) { a = ae(this, a); return X(a) ? -1 : Y(a) ? 0 : 1; };
1685
+ function W(a) { for (var b = a.g.length, c = [], d = 0; d < b; d++)
1686
+ c[d] = ~a.g[d]; return (new T(c, ~a.h)).add(Yd); }
1687
+ k.abs = function () { return X(this) ? W(this) : this; };
1688
+ k.add = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0, e = 0; e <= b; e++) {
1689
+ var f = d + (this.D(e) & 65535) + (a.D(e) & 65535), h = (f >>> 16) + (this.D(e) >>> 16) + (a.D(e) >>> 16);
1690
+ d = h >>> 16;
1691
+ f &= 65535;
1692
+ h &= 65535;
1693
+ c[e] = h << 16 | f;
1694
+ } return new T(c, c[c.length - 1] & -2147483648 ? -1 : 0); };
1695
+ function ae(a, b) { return a.add(W(b)); }
1696
+ k.R = function (a) {
1697
+ if (Y(this) || Y(a))
1698
+ return V;
1699
+ if (X(this))
1700
+ return X(a) ? W(this).R(W(a)) : W(W(this).R(a));
1701
+ if (X(a))
1702
+ return W(this.R(W(a)));
1703
+ if (0 > this.X(Zd) && 0 > a.X(Zd))
1704
+ return U(this.ea() * a.ea());
1705
+ for (var b = this.g.length + a.g.length, c = [], d = 0; d < 2 * b; d++)
1706
+ c[d] = 0;
1707
+ for (d = 0; d < this.g.length; d++)
1708
+ for (var e = 0; e < a.g.length; e++) {
1709
+ var f = this.D(d) >>> 16, h = this.D(d) & 65535, m = a.D(e) >>> 16, t = a.D(e) & 65535;
1710
+ c[2 * d + 2 * e] += h * t;
1711
+ be(c, 2 * d + 2 * e);
1712
+ c[2 * d + 2 * e + 1] += f * t;
1713
+ be(c, 2 * d + 2 * e + 1);
1714
+ c[2 * d + 2 * e + 1] += h * m;
1715
+ be(c, 2 * d + 2 * e + 1);
1716
+ c[2 * d + 2 * e + 2] += f * m;
1717
+ be(c, 2 * d + 2 * e + 2);
1718
+ }
1719
+ for (d =
1720
+ 0; d < b; d++)
1721
+ c[d] = c[2 * d + 1] << 16 | c[2 * d];
1722
+ for (d = b; d < 2 * b; d++)
1723
+ c[d] = 0;
1724
+ return new T(c, 0);
1725
+ };
1726
+ function be(a, b) { for (; (a[b] & 65535) != a[b];)
1727
+ a[b + 1] += a[b] >>> 16, a[b] &= 65535, b++; }
1728
+ function ce(a, b) { this.g = a; this.h = b; }
1729
+ function $d(a, b) {
1730
+ if (Y(b))
1731
+ throw Error("division by zero");
1732
+ if (Y(a))
1733
+ return new ce(V, V);
1734
+ if (X(a))
1735
+ return b = $d(W(a), b), new ce(W(b.g), W(b.h));
1736
+ if (X(b))
1737
+ return b = $d(a, W(b)), new ce(W(b.g), b.h);
1738
+ if (30 < a.g.length) {
1739
+ if (X(a) || X(b))
1740
+ throw Error("slowDivide_ only works with positive integers.");
1741
+ for (var c = Yd, d = b; 0 >= d.X(a);)
1742
+ c = de(c), d = de(d);
1743
+ var e = Z(c, 1), f = Z(d, 1);
1744
+ d = Z(d, 2);
1745
+ for (c = Z(c, 2); !Y(d);) {
1746
+ var h = f.add(d);
1747
+ 0 >= h.X(a) && (e = e.add(c), f = h);
1748
+ d = Z(d, 1);
1749
+ c = Z(c, 1);
1750
+ }
1751
+ b = ae(a, e.R(b));
1752
+ return new ce(e, b);
1753
+ }
1754
+ for (e = V; 0 <= a.X(b);) {
1755
+ c = Math.max(1, Math.floor(a.ea() /
1756
+ b.ea()));
1757
+ d = Math.ceil(Math.log(c) / Math.LN2);
1758
+ d = 48 >= d ? 1 : Math.pow(2, d - 48);
1759
+ f = U(c);
1760
+ for (h = f.R(b); X(h) || 0 < h.X(a);)
1761
+ c -= d, f = U(c), h = f.R(b);
1762
+ Y(f) && (f = Yd);
1763
+ e = e.add(f);
1764
+ a = ae(a, h);
1765
+ }
1766
+ return new ce(e, a);
1767
+ }
1768
+ k.gb = function (a) { return $d(this, a).h; };
1769
+ k.and = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0; d < b; d++)
1770
+ c[d] = this.D(d) & a.D(d); return new T(c, this.h & a.h); };
1771
+ k.or = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0; d < b; d++)
1772
+ c[d] = this.D(d) | a.D(d); return new T(c, this.h | a.h); };
1773
+ k.xor = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0; d < b; d++)
1774
+ c[d] = this.D(d) ^ a.D(d); return new T(c, this.h ^ a.h); };
1775
+ function de(a) { for (var b = a.g.length + 1, c = [], d = 0; d < b; d++)
1776
+ c[d] = a.D(d) << 1 | a.D(d - 1) >>> 31; return new T(c, a.h); }
1777
+ function Z(a, b) { var c = b >> 5; b %= 32; for (var d = a.g.length - c, e = [], f = 0; f < d; f++)
1778
+ 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); }
1779
+ Pd.prototype.createWebChannel = Pd.prototype.g;
1780
+ Q.prototype.send = Q.prototype.u;
1781
+ Q.prototype.open = Q.prototype.m;
1782
+ Q.prototype.close = Q.prototype.close;
1783
+ Ub.NO_ERROR = 0;
1784
+ Ub.TIMEOUT = 8;
1785
+ Ub.HTTP_ERROR = 6;
1786
+ Vb.COMPLETE = "complete";
1787
+ Yb.EventType = Zb;
1788
+ Zb.OPEN = "a";
1789
+ Zb.CLOSE = "b";
1790
+ Zb.ERROR = "c";
1791
+ Zb.MESSAGE = "d";
1792
+ B.prototype.listen = B.prototype.O;
1793
+ P.prototype.listenOnce = P.prototype.P;
1794
+ P.prototype.getLastError = P.prototype.Sa;
1795
+ P.prototype.getLastErrorCode = P.prototype.Ia;
1796
+ P.prototype.getStatus = P.prototype.da;
1797
+ P.prototype.getResponseJson = P.prototype.Wa;
1798
+ P.prototype.getResponseText = P.prototype.ja;
1799
+ P.prototype.send = P.prototype.ha;
1800
+ P.prototype.setWithCredentials = P.prototype.Oa;
1801
+ S.prototype.digest = S.prototype.l;
1802
+ S.prototype.reset = S.prototype.reset;
1803
+ S.prototype.update = S.prototype.j;
1804
+ T.prototype.add = T.prototype.add;
1805
+ T.prototype.multiply = T.prototype.R;
1806
+ T.prototype.modulo = T.prototype.gb;
1807
+ T.prototype.compare = T.prototype.X;
1808
+ T.prototype.toNumber = T.prototype.ea;
1809
+ T.prototype.toString = T.prototype.toString;
1810
+ T.prototype.getBits = T.prototype.D;
1811
+ T.fromNumber = U;
1812
+ T.fromString = Xd;
1813
+ var createWebChannelTransport = esm.createWebChannelTransport = function () { return new Pd; };
1814
+ var getStatEventTarget = esm.getStatEventTarget = function () { return Ob(); };
1815
+ var ErrorCode = esm.ErrorCode = Ub;
1816
+ var EventType = esm.EventType = Vb;
1817
+ var Event = esm.Event = E;
1818
+ 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 };
1819
+ var FetchXmlHttpFactory = esm.FetchXmlHttpFactory = md;
1820
+ var WebChannel = esm.WebChannel = Yb;
1821
+ var XhrIo = esm.XhrIo = P;
1822
+ var Md5 = esm.Md5 = S;
1823
+ var Integer = esm.Integer = T;
1502
1824
 
1503
- export { ErrorCode, Event, EventType, FetchXmlHttpFactory, Stat, WebChannel, XhrIo, createWebChannelTransport, esm as default, getStatEventTarget };
1825
+ export { ErrorCode, Event, EventType, FetchXmlHttpFactory, Integer, Md5, Stat, WebChannel, XhrIo, createWebChannelTransport, esm as default, getStatEventTarget };
1504
1826
  //# sourceMappingURL=index.esm.js.map