@firebase/webchannel-wrapper 0.10.0-20230425221647 → 0.10.0-canary.4a86f4eb0

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.
@@ -63,43 +63,42 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
63
63
  var esm = {};
64
64
 
65
65
  var k, goog = goog || {}, l = commonjsGlobal || self;
66
- function aa() { }
67
- function ba(a) { var b = typeof a; b = "object" != b ? b : a ? Array.isArray(a) ? "array" : b : "null"; return "array" == b || "object" == b && "number" == typeof a.length; }
66
+ function aa(a) { var b = typeof a; b = "object" != b ? b : a ? Array.isArray(a) ? "array" : b : "null"; return "array" == b || "object" == b && "number" == typeof a.length; }
68
67
  function p(a) { var b = typeof a; return "object" == b && null != a || "function" == b; }
69
- function ca(a) { return Object.prototype.hasOwnProperty.call(a, da) && a[da] || (a[da] = ++ea); }
70
- var da = "closure_uid_" + (1E9 * Math.random() >>> 0), ea = 0;
71
- function fa(a, b, c) { return a.call.apply(a.bind, arguments); }
72
- function ha(a, b, c) { if (!a)
68
+ function ba(a) { return Object.prototype.hasOwnProperty.call(a, ca) && a[ca] || (a[ca] = ++da); }
69
+ var ca = "closure_uid_" + (1E9 * Math.random() >>> 0), da = 0;
70
+ function ea(a, b, c) { return a.call.apply(a.bind, arguments); }
71
+ function fa(a, b, c) { if (!a)
73
72
  throw Error(); if (2 < arguments.length) {
74
73
  var d = Array.prototype.slice.call(arguments, 2);
75
74
  return function () { var e = Array.prototype.slice.call(arguments); Array.prototype.unshift.apply(e, d); return a.apply(b, e); };
76
75
  } return function () { return a.apply(b, arguments); }; }
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 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); }; }
76
+ function q(a, b, c) { Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf("native code") ? q = ea : q = fa; return q.apply(null, arguments); }
77
+ function ha(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); }; }
78
+ 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), n = 2; n < arguments.length; n++)
79
+ h[n - 2] = arguments[n]; return b.prototype[e].apply(d, h); }; }
81
80
  function v() { this.s = this.s; this.o = this.o; }
82
- var ka = 0;
81
+ var ia = 0;
83
82
  v.prototype.s = !1;
84
- v.prototype.ra = function () { if (!this.s && (this.s = !0, this.N(), 0 != ka)) {
85
- ca(this);
83
+ v.prototype.sa = function () { if (!this.s && (this.s = !0, this.N(), 0 != ia)) {
84
+ ba(this);
86
85
  } };
87
86
  v.prototype.N = function () { if (this.o)
88
87
  for (; this.o.length;)
89
88
  this.o.shift()(); };
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)
89
+ var ka = Array.prototype.indexOf ? function (a, b) { return Array.prototype.indexOf.call(a, b, void 0); } : function (a, b) { if ("string" === typeof a)
91
90
  return "string" !== typeof b || 1 != b.length ? -1 : a.indexOf(b, 0); for (var c = 0; c < a.length; c++)
92
91
  if (c in a && a[c] === b)
93
92
  return c; return -1; };
94
- function na(a) { var b = a.length; if (0 < b) {
93
+ function ma(a) { var b = a.length; if (0 < b) {
95
94
  var c = Array(b);
96
95
  for (var d = 0; d < b; d++)
97
96
  c[d] = a[d];
98
97
  return c;
99
98
  } return []; }
100
- function oa(a, b) { for (var c = 1; c < arguments.length; c++) {
99
+ function na(a, b) { for (var c = 1; c < arguments.length; c++) {
101
100
  var d = arguments[c];
102
- if (ba(d)) {
101
+ if (aa(d)) {
103
102
  var e = a.length || 0, f = d.length || 0;
104
103
  a.length = e + f;
105
104
  for (var h = 0; h < f; h++)
@@ -110,61 +109,46 @@ function oa(a, b) { for (var c = 1; c < arguments.length; c++) {
110
109
  } }
111
110
  function w(a, b) { this.type = a; this.g = this.target = b; this.defaultPrevented = !1; }
112
111
  w.prototype.h = function () { this.defaultPrevented = !0; };
113
- var pa = function () { if (!l.addEventListener || !Object.defineProperty)
112
+ var oa = function () { if (!l.addEventListener || !Object.defineProperty)
114
113
  return !1; var a = !1, b = Object.defineProperty({}, "passive", { get: function () { a = !0; } }); try {
115
- l.addEventListener("test", aa, b), l.removeEventListener("test", aa, b);
114
+ l.addEventListener("test", function () { }, b), l.removeEventListener("test", function () { }, b);
116
115
  }
117
116
  catch (c) { } return a; }();
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
- function Ba() { var a = l.document; return a ? a.documentMode : void 0; }
128
- var Ca;
117
+ function x(a) { return /^[\s\xa0]*$/.test(a); }
118
+ function pa() { var a = l.navigator; return a && (a = a.userAgent) ? a : ""; }
119
+ function y(a) { return -1 != pa().indexOf(a); }
120
+ function qa(a) { qa[" "](a); return a; }
121
+ qa[" "] = function () { };
122
+ function ra(a, b) { var c = sa; return Object.prototype.hasOwnProperty.call(c, a) ? c[a] : c[a] = b(a); }
123
+ var ta = y("Opera"), z = y("Trident") || y("MSIE"), ua = y("Edge"), va = ua || z, wa = y("Gecko") && !(-1 != pa().toLowerCase().indexOf("webkit") && !y("Edge")) && !(y("Trident") || y("MSIE")) && !y("Edge"), xa = -1 != pa().toLowerCase().indexOf("webkit") && !y("Edge");
124
+ function ya() { var a = l.document; return a ? a.documentMode : void 0; }
125
+ var za;
129
126
  a: {
130
- var Da = "", Ea = function () { var a = ta(); if (za)
131
- return /rv:([^\);]+)(\)|;)/.exec(a); if (xa)
132
- return /Edge\/([\d\.]+)/.exec(a); if (y)
133
- return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a); if (Aa)
134
- return /WebKit\/(\S+)/.exec(a); if (wa)
127
+ var Aa = "", Ba = function () { var a = pa(); if (wa)
128
+ return /rv:([^\);]+)(\)|;)/.exec(a); if (ua)
129
+ return /Edge\/([\d\.]+)/.exec(a); if (z)
130
+ return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a); if (xa)
131
+ return /WebKit\/(\S+)/.exec(a); if (ta)
135
132
  return /(?:Version)[ \/]?(\S+)/.exec(a); }();
136
- Ea && (Da = Ea ? Ea[1] : "");
137
- if (y) {
138
- var Fa = Ba();
139
- if (null != Fa && Fa > parseFloat(Da)) {
140
- Ca = String(Fa);
133
+ Ba && (Aa = Ba ? Ba[1] : "");
134
+ if (z) {
135
+ var Ca = ya();
136
+ if (null != Ca && Ca > parseFloat(Aa)) {
137
+ za = String(Ca);
141
138
  break a;
142
139
  }
143
140
  }
144
- Ca = Da;
141
+ za = Aa;
145
142
  }
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
- var e = b[h] || "", f = c[h] || "";
149
- do {
150
- e = /(\d*)(\D*)(.*)/.exec(e) || ["", "", "", ""];
151
- f = /(\d*)(\D*)(.*)/.exec(f) || ["", "", "", ""];
152
- if (0 == e[0].length && 0 == f[0].length)
153
- break;
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
- e = e[3];
156
- f = f[3];
157
- } while (0 == a);
158
- } return 0 <= a; }); }
159
- var Ia;
160
- if (l.document && y) {
161
- var Ja = Ba();
162
- Ia = Ja ? Ja : parseInt(Ca, 10) || void 0;
143
+ var Da;
144
+ if (l.document && z) {
145
+ var Ea = ya();
146
+ Da = Ea ? Ea : parseInt(za, 10) || void 0;
163
147
  }
164
148
  else
165
- Ia = void 0;
166
- var Ka = Ia;
167
- function z(a, b) {
149
+ Da = void 0;
150
+ var Fa = Da;
151
+ function A(a, b) {
168
152
  w.call(this, a ? a.type : "");
169
153
  this.relatedTarget = this.g = this.target = null;
170
154
  this.button = this.screenY = this.screenX = this.clientY = this.clientX = 0;
@@ -179,10 +163,10 @@ function z(a, b) {
179
163
  this.target = a.target || a.srcElement;
180
164
  this.g = b;
181
165
  if (b = a.relatedTarget) {
182
- if (za) {
166
+ if (wa) {
183
167
  a: {
184
168
  try {
185
- ua(b.nodeName);
169
+ qa(b.nodeName);
186
170
  var e = !0;
187
171
  break a;
188
172
  }
@@ -205,98 +189,100 @@ function z(a, b) {
205
189
  a.shiftKey;
206
190
  this.metaKey = a.metaKey;
207
191
  this.pointerId = a.pointerId || 0;
208
- this.pointerType = "string" === typeof a.pointerType ? a.pointerType : Na[a.pointerType] || "";
192
+ this.pointerType = "string" === typeof a.pointerType ? a.pointerType : Ga[a.pointerType] || "";
209
193
  this.state = a.state;
210
194
  this.i = a;
211
- a.defaultPrevented && z.$.h.call(this);
195
+ a.defaultPrevented && A.$.h.call(this);
212
196
  }
213
197
  }
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
- var A = "closure_listenable_" + (1E6 * Math.random() | 0);
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)
198
+ r(A, w);
199
+ var Ga = { 2: "touch", 3: "pen", 4: "mouse" };
200
+ A.prototype.h = function () { A.$.h.call(this); var a = this.i; a.preventDefault ? a.preventDefault() : a.returnValue = !1; };
201
+ var Ha = "closure_listenable_" + (1E6 * Math.random() | 0);
202
+ var Ia = 0;
203
+ function Ja(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 = ++Ia; this.fa = this.ia = !1; }
204
+ function Ka(a) { a.fa = !0; a.listener = null; a.proxy = null; a.src = null; a.la = null; }
205
+ function Na(a, b, c) { for (var d in a)
222
206
  b.call(c, a[d], d, a); }
223
- function Sa(a) { var b = {}; for (var c in a)
207
+ function Oa(a, b) { for (var c in a)
208
+ b.call(void 0, a[c], c, a); }
209
+ function Pa(a) { var b = {}; for (var c in a)
224
210
  b[c] = a[c]; return b; }
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++) {
211
+ var Qa = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
212
+ function Ra(a, b) { var c, d; for (var e = 1; e < arguments.length; e++) {
227
213
  d = arguments[e];
228
214
  for (c in d)
229
215
  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]);
216
+ for (var f = 0; f < Qa.length; f++)
217
+ c = Qa[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);
232
218
  } }
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;
219
+ function Sa(a) { this.src = a; this.g = {}; this.h = 0; }
220
+ Sa.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 = Ta(a, b, d, e); -1 < h ? (b = a[h], c || (b.ia = !1)) : (b = new Ja(b, this.src, f, !!d, e), b.ia = c, a.push(b)); return b; };
221
+ function Ua(a, b) { var c = b.type; if (c in a.g) {
222
+ var d = a.g[c], e = ka(d, b), f;
237
223
  (f = 0 <= e) && Array.prototype.splice.call(d, e, 1);
238
- f && (Qa(b), 0 == a.g[c].length && (delete a.g[c], a.h--));
224
+ f && (Ka(b), 0 == a.g[c].length && (delete a.g[c], a.h--));
239
225
  } }
240
- function Wa(a, b, c, d) { for (var e = 0; e < a.length; ++e) {
226
+ function Ta(a, b, c, d) { for (var e = 0; e < a.length; ++e) {
241
227
  var f = a[e];
242
228
  if (!f.fa && f.listener == b && f.capture == !!c && f.la == d)
243
229
  return e;
244
230
  } return -1; }
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)) {
231
+ var Va = "closure_lm_" + (1E6 * Math.random() | 0), Wa = {};
232
+ function Ya(a, b, c, d, e) { if (d && d.once)
233
+ return Za(a, b, c, d, e); if (Array.isArray(b)) {
248
234
  for (var f = 0; f < b.length; f++)
249
- ab(a, b[f], c, d, e);
235
+ Ya(a, b[f], c, d, e);
250
236
  return null;
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);
237
+ } c = $a(c); return a && a[Ha] ? a.O(b, c, p(d) ? !!d.capture : !!d, e) : ab(a, b, c, !1, d, e); }
238
+ function ab(a, b, c, d, e, f) { if (!b)
239
+ throw Error("Invalid event type"); var h = p(e) ? !!e.capture : !!e, n = bb(a); n || (a[Va] = n = new Sa(a)); c = n.add(b, c, d, h, f); if (c.proxy)
240
+ return c; d = cb(); c.proxy = d; d.src = a; d.listener = c; if (a.addEventListener)
241
+ oa || (e = h), void 0 === e && (e = !1), a.addEventListener(b.toString(), d, e);
256
242
  else if (a.attachEvent)
257
- a.attachEvent(gb(b.toString()), d);
243
+ a.attachEvent(db(b.toString()), d);
258
244
  else if (a.addListener && a.removeListener)
259
245
  a.addListener(d);
260
246
  else
261
247
  throw Error("addEventListener and attachEvent are unavailable."); return c; }
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)) {
248
+ function cb() { function a(c) { return b.call(a.src, a.listener, c); } var b = eb; return a; }
249
+ function Za(a, b, c, d, e) { if (Array.isArray(b)) {
264
250
  for (var f = 0; f < b.length; f++)
265
- bb(a, b[f], c, d, e);
251
+ Za(a, b[f], c, d, e);
266
252
  return null;
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))
253
+ } c = $a(c); return a && a[Ha] ? a.P(b, c, p(d) ? !!d.capture : !!d, e) : ab(a, b, c, !0, d, e); }
254
+ function fb(a, b, c, d, e) { if (Array.isArray(b))
269
255
  for (var f = 0; f < b.length; f++)
270
- ib(a, b[f], c, d, e);
256
+ fb(a, b[f], c, d, e);
271
257
  else
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) {
258
+ (d = p(d) ? !!d.capture : !!d, c = $a(c), a && a[Ha]) ? (a = a.i, b = String(b).toString(), b in a.g && (f = a.g[b], c = Ta(f, c, d, e), -1 < c && (Ka(f[c]), Array.prototype.splice.call(f, c, 1), 0 == f.length && (delete a.g[b], a.h--)))) : a && (a = bb(a)) && (b = a.g[b.toString()], a = -1, b && (a = Ta(b, c, d, e)), (c = -1 < a ? b[a] : null) && gb(c)); }
259
+ function gb(a) { if ("number" !== typeof a && a && !a.fa) {
274
260
  var b = a.src;
275
- if (b && b[A])
276
- Xa(b.i, a);
261
+ if (b && b[Ha])
262
+ Ua(b.i, a);
277
263
  else {
278
264
  var c = a.type, d = a.proxy;
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);
265
+ b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(db(c), d) : b.addListener && b.removeListener && b.removeListener(d);
266
+ (c = bb(b)) ? (Ua(c, a), 0 == c.h && (c.src = null, b[Va] = null)) : Ka(a);
281
267
  }
282
268
  } }
283
- function gb(a) { return a in Za ? Za[a] : Za[a] = "on" + a; }
284
- function hb(a, b) { if (a.fa)
269
+ function db(a) { return a in Wa ? Wa[a] : Wa[a] = "on" + a; }
270
+ function eb(a, b) { if (a.fa)
285
271
  a = !0;
286
272
  else {
287
- b = new z(b, this);
273
+ b = new A(b, this);
288
274
  var c = a.listener, d = a.la || a.src;
289
- a.ia && jb(a);
275
+ a.ia && gb(a);
290
276
  a = c.call(d, b);
291
277
  } return a; }
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; }
278
+ function bb(a) { a = a[Va]; return a instanceof Sa ? a : null; }
279
+ var hb = "__closure_events_fn_" + (1E9 * Math.random() >>> 0);
280
+ function $a(a) { if ("function" === typeof a)
281
+ return a; a[hb] || (a[hb] = function (b) { return a.handleEvent(b); }); return a[hb]; }
282
+ function B() { v.call(this); this.i = new Sa(this); this.S = this; this.J = null; }
297
283
  r(B, v);
298
- B.prototype[A] = !0;
299
- B.prototype.removeEventListener = function (a, b, c, d) { ib(this, a, b, c, d); };
284
+ B.prototype[Ha] = !0;
285
+ B.prototype.removeEventListener = function (a, b, c, d) { fb(this, a, b, c, d); };
300
286
  function C(a, b) { var c, d = a.J; if (d)
301
287
  for (c = []; d; d = d.J)
302
288
  c.push(d); a = a.S; d = b.type || b; if ("string" === typeof b)
@@ -306,99 +292,99 @@ else if (b instanceof w)
306
292
  else {
307
293
  var e = b;
308
294
  b = new w(d, a);
309
- Ua(b, e);
295
+ Ra(b, e);
310
296
  } e = !0; if (c)
311
297
  for (var f = c.length - 1; 0 <= f; f--) {
312
298
  var h = b.g = c[f];
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)
299
+ e = ib(h, d, !0, b) && e;
300
+ } h = b.g = a; e = ib(h, d, !0, b) && e; e = ib(h, d, !1, b) && e; if (c)
315
301
  for (f = 0; f < c.length; f++)
316
- h = b.g = c[f], e = lb(h, d, !1, b) && e; }
302
+ h = b.g = c[f], e = ib(h, d, !1, b) && e; }
317
303
  B.prototype.N = function () { B.$.N.call(this); if (this.i) {
318
304
  var a = this.i, c;
319
305
  for (c in a.g) {
320
306
  for (var d = a.g[c], e = 0; e < d.length; e++)
321
- Qa(d[e]);
307
+ Ka(d[e]);
322
308
  delete a.g[c];
323
309
  a.h--;
324
310
  }
325
311
  } this.J = null; };
326
312
  B.prototype.O = function (a, b, c, d) { return this.i.add(String(a), b, !1, c, d); };
327
313
  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)
314
+ function ib(a, b, c, d) { b = a.i.g[String(b)]; if (!b)
329
315
  return !0; b = b.concat(); for (var e = !0, f = 0; f < b.length; ++f) {
330
316
  var h = b[f];
331
317
  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;
318
+ var n = h.listener, t = h.la || h.src;
319
+ h.ia && Ua(a.i, h);
320
+ e = !1 !== n.call(t, d) && e;
335
321
  }
336
322
  } return e && !d.defaultPrevented; }
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
- this.h = this.g = null;
342
- }
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
- }());
346
- var qb = new /** @class */ (function () {
347
- function class_1(a, b) {
323
+ var jb = l.JSON.stringify;
324
+ var kb = /** @class */ (function () {
325
+ function kb(a, b) {
348
326
  this.i = a;
349
327
  this.j = b;
350
328
  this.h = 0;
351
329
  this.g = null;
352
330
  }
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
- return class_1;
355
- }())(function () { return new rb; }, function (a) { return a.reset(); });
356
- var rb = /** @class */ (function () {
357
- function rb() {
331
+ kb.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; };
332
+ return kb;
333
+ }());
334
+ function lb() { var a = mb; var b = null; a.g && (b = a.g, a.g = a.g.next, a.g || (a.h = null), b.next = null); return b; }
335
+ var nb = /** @class */ (function () {
336
+ function nb() {
337
+ this.h = this.g = null;
338
+ }
339
+ nb.prototype.add = function (a, b) { var c = ob.get(); c.set(a, b); this.h ? this.h.next = c : this.g = c; this.h = c; };
340
+ return nb;
341
+ }());
342
+ var ob = new kb(function () { return new pb; }, function (a) { return a.reset(); });
343
+ var pb = /** @class */ (function () {
344
+ function pb() {
358
345
  this.next = this.g = this.h = null;
359
346
  }
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;
347
+ pb.prototype.set = function (a, b) { this.h = a; this.g = b; this.next = null; };
348
+ pb.prototype.reset = function () { this.next = this.g = this.h = null; };
349
+ return pb;
363
350
  }());
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
- var ub;
367
- function vb() { var a = l.Promise.resolve(void 0); ub = function () { a.then(xb); }; }
368
- var wb = !1, ob = new pb;
369
- function xb() { for (var a; a = nb();) {
351
+ function qb(a) { var b = 1; a = a.split(":"); var c = []; for (; 0 < b && a.length;)
352
+ c.push(a.shift()), b--; a.length && c.push(a.join(":")); return c; }
353
+ function rb(a) { l.setTimeout(function () { throw a; }, 0); }
354
+ var sb, tb = !1, mb = new nb, vb = function () { var a = l.Promise.resolve(void 0); sb = function () { a.then(ub); }; };
355
+ var ub = function () { for (var a; a = lb();) {
370
356
  try {
371
357
  a.h.call(a.g);
372
358
  }
373
359
  catch (c) {
374
- sb(c);
360
+ rb(c);
375
361
  }
376
- var b = qb;
362
+ var b = ob;
377
363
  b.j(a);
378
364
  100 > b.h && (b.h++, a.next = b.g, b.g = a);
379
- } wb = !1; }
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
- k = yb.prototype;
365
+ } tb = !1; };
366
+ function wb(a, b) { B.call(this); this.h = a || 1; this.g = b || l; this.j = q(this.qb, this); this.l = Date.now(); }
367
+ r(wb, B);
368
+ k = wb.prototype;
383
369
  k.ga = !1;
384
370
  k.T = null;
385
371
  k.qb = function () { if (this.ga) {
386
372
  var a = Date.now() - this.l;
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()));
373
+ 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 && (xb(this), this.start()));
388
374
  } };
389
375
  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
- function Ab(a, b, c) { if ("function" === typeof a)
376
+ function xb(a) { a.ga = !1; a.T && (a.g.clearTimeout(a.T), a.T = null); }
377
+ k.N = function () { wb.$.N.call(this); xb(this); delete this.g; };
378
+ function yb(a, b, c) { if ("function" === typeof a)
393
379
  c && (a = q(a, c));
394
380
  else if (a && "function" == typeof a.handleEvent)
395
381
  a = q(a.handleEvent, a);
396
382
  else
397
383
  throw Error("Invalid listener argument"); return 2147483647 < Number(b) ? -1 : l.setTimeout(a, b || 0); }
398
- function Bb(a) { a.g = Ab(function () { a.g = null; a.i && (a.i = !1, Bb(a)); }, a.j); var b = a.h; a.h = null; a.m.apply(null, b); }
399
- var Cb = /** @class */ (function (_super) {
400
- __extends(Cb, _super);
401
- function Cb(a, b) {
384
+ function zb(a) { a.g = yb(function () { a.g = null; a.i && (a.i = !1, zb(a)); }, a.j); var b = a.h; a.h = null; a.m.apply(null, b); }
385
+ var Ab = /** @class */ (function (_super) {
386
+ __extends(Ab, _super);
387
+ function Ab(a, b) {
402
388
  var _this = _super.call(this) || this;
403
389
  _this.m = a;
404
390
  _this.j = b;
@@ -407,34 +393,34 @@ var Cb = /** @class */ (function (_super) {
407
393
  _this.g = null;
408
394
  return _this;
409
395
  }
410
- Cb.prototype.l = function (a) { this.h = arguments; this.g ? this.i = !0 : Bb(this); };
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
- return Cb;
396
+ Ab.prototype.l = function (a) { this.h = arguments; this.g ? this.i = !0 : zb(this); };
397
+ Ab.prototype.N = function () { _super.prototype.N.call(this); this.g && (l.clearTimeout(this.g), this.g = null, this.i = !1, this.h = null); };
398
+ return Ab;
413
399
  }(v));
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);
400
+ function Bb(a) { v.call(this); this.h = a; this.g = {}; }
401
+ r(Bb, v);
402
+ var Cb = [];
403
+ function Db(a, b, c, d) { Array.isArray(c) || (c && (Cb[0] = c.toString()), c = Cb); for (var e = 0; e < c.length; e++) {
404
+ var f = Ya(b, c[e], d || a.handleEvent, !1, a.h || a);
419
405
  if (!f)
420
406
  break;
421
407
  a.g[f.key] = f;
422
408
  } }
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)
409
+ function Fb(a) { Na(a.g, function (b, c) { this.g.hasOwnProperty(c) && gb(b); }, a); a.g = {}; }
410
+ Bb.prototype.N = function () { Bb.$.N.call(this); Fb(this); };
411
+ Bb.prototype.handleEvent = function () { throw Error("EventHandler.handleEvent not implemented"); };
412
+ function Gb() { this.g = !0; }
413
+ Gb.prototype.Ea = function () { this.g = !1; };
414
+ function Hb(a, b, c, d, e, f) { a.info(function () { if (a.g)
429
415
  if (f) {
430
416
  var h = "";
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];
417
+ for (var n = f.split("&"), t = 0; t < n.length; t++) {
418
+ var m = n[t].split("=");
419
+ if (1 < m.length) {
420
+ var u = m[0];
421
+ m = m[1];
436
422
  var L = u.split("_");
437
- h = 2 <= L.length && "type" == L[1] ? h + (u + "=" + n + "&") : h + (u + "=redacted&");
423
+ h = 2 <= L.length && "type" == L[1] ? h + (u + "=" + m + "&") : h + (u + "=redacted&");
438
424
  }
439
425
  }
440
426
  }
@@ -442,11 +428,11 @@ function Jb(a, b, c, d, e, f) { a.info(function () { if (a.g)
442
428
  h = null;
443
429
  else
444
430
  h = f; return "XMLHTTP REQ (" + d + ") [attempt " + e + "]: " + b + "\n" + c + "\n" + h; }); }
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)
431
+ function Ib(a, b, c, d, e, f, h) { a.info(function () { return "XMLHTTP RESP (" + d + ") [ attempt " + e + "]: " + b + "\n" + c + "\n" + f + " " + h; }); }
432
+ function D(a, b, c, d) { a.info(function () { return "XMLHTTP TEXT (" + b + "): " + Jb(a, c) + (d ? " " + d : ""); }); }
433
+ function Kb(a, b) { a.info(function () { return "TIMEOUT: " + b; }); }
434
+ Gb.prototype.info = function () { };
435
+ function Jb(a, b) { if (!a.g)
450
436
  return b; if (!b)
451
437
  return null; try {
452
438
  var c = JSON.parse(b);
@@ -464,50 +450,50 @@ function Lb(a, b) { if (!a.g)
464
450
  }
465
451
  }
466
452
  }
467
- return mb(c);
453
+ return jb(c);
468
454
  }
469
- catch (m) {
455
+ catch (n) {
470
456
  return b;
471
457
  } }
472
- var E = {}, Nb = null;
473
- function Ob() { return Nb = Nb || new B; }
458
+ var E = {}, Lb = null;
459
+ function Mb() { return Lb = Lb || new B; }
474
460
  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)); }
461
+ function Nb(a) { w.call(this, E.Ta, a); }
462
+ r(Nb, w);
463
+ function Ob(a) { var b = Mb(); C(b, new Nb(b)); }
478
464
  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)); }
465
+ function Pb(a, b) { w.call(this, E.STAT_EVENT, a); this.stat = b; }
466
+ r(Pb, w);
467
+ function F(a) { var b = Mb(); C(b, new Pb(b, a)); }
482
468
  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)
469
+ function Qb(a, b) { w.call(this, E.Ua, a); this.size = b; }
470
+ r(Qb, w);
471
+ function Rb(a, b) { if ("function" !== typeof a)
486
472
  throw Error("Fn must not be null and must be a function"); return l.setTimeout(function () { a(); }, b); }
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" };
473
+ var Sb = { NO_ERROR: 0, rb: 1, Eb: 2, Db: 3, yb: 4, Cb: 5, Fb: 6, Qa: 7, TIMEOUT: 8, Ib: 9 };
474
+ var Tb = { wb: "complete", Sb: "success", Ra: "error", Qa: "abort", Kb: "ready", Lb: "readystatechange", TIMEOUT: "timeout", Gb: "incrementaldata", Jb: "progress", zb: "downloadprogress", $b: "uploadprogress" };
475
+ function Ub() { }
476
+ Ub.prototype.h = null;
477
+ function Vb(a) { return a.h || (a.h = a.i()); }
489
478
  function Wb() { }
490
- Wb.prototype.h = null;
491
- function Xb(a) { return a.h || (a.h = a.i()); }
492
- function Yb() { }
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;
479
+ var Xb = { OPEN: "a", vb: "b", Ra: "c", Hb: "d" };
480
+ function Yb() { w.call(this, "d"); }
481
+ r(Yb, w);
482
+ function Zb() { w.call(this, "c"); }
483
+ r(Zb, w);
484
+ var $b;
485
+ function ac() { }
486
+ r(ac, Ub);
487
+ ac.prototype.g = function () { return new XMLHttpRequest; };
488
+ ac.prototype.i = function () { return {}; };
489
+ $b = new ac;
490
+ function bc(a, b, c, d) { this.l = a; this.j = b; this.m = c; this.W = d || 1; this.U = new Bb(this); this.P = cc; a = va ? 125 : void 0; this.V = new wb(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.ca = -1; this.J = !1; this.O = 0; this.M = null; this.ba = this.K = this.aa = this.S = !1; this.h = new dc; }
491
+ function dc() { this.i = null; this.g = ""; this.h = !1; }
492
+ var cc = 45E3, ec = {}, fc = {};
493
+ k = bc.prototype;
508
494
  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); }
495
+ function gc(a, b, c) { a.L = 1; a.v = hc(G(b)); a.s = c; a.S = !0; ic(a, null); }
496
+ function ic(a, b) { a.G = Date.now(); jc(a); a.A = G(a.v); var c = a.A, d = a.W; Array.isArray(d) || (d = [String(d)]); kc(c.i, "t", d); a.C = 0; c = a.l.J; a.h = new dc; a.g = lc(a.l, c ? b : null, !a.s); 0 < a.O && (a.M = new Ab(q(a.Pa, a, a.g), a.O)); Db(a.U, a.g, "readystatechange", a.nb); b = a.I ? Pa(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)); Ob(); Hb(a.j, a.u, a.A, a.m, a.W, a.s); }
511
497
  k.nb = function (a) { a = a.target; var b = this.M; b && 3 == H(a) ? b.l() : this.Pa(a); };
512
498
  k.Pa = function (a) {
513
499
  try {
@@ -516,19 +502,19 @@ k.Pa = function (a) {
516
502
  var u = H(this.g);
517
503
  var b = this.g.Ia();
518
504
  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);
505
+ if (!(3 > u) && (3 != u || va || this.g && (this.h.h || this.g.ja() || mc(this.g)))) {
506
+ this.J || 4 != u || 7 == b || (8 == b || 0 >= L ? Ob(3) : Ob(2));
507
+ nc(this);
522
508
  var c = this.g.da();
523
- this.aa = c;
524
- b: if (qc(this)) {
525
- var d = oc(this.g);
509
+ this.ca = c;
510
+ b: if (oc(this)) {
511
+ var d = mc(this.g);
526
512
  a = "";
527
513
  var e = d.length, f = 4 == H(this.g);
528
514
  if (!this.h.i) {
529
515
  if ("undefined" === typeof TextDecoder) {
530
516
  I(this);
531
- rc(this);
517
+ pc(this);
532
518
  var h = "";
533
519
  break b;
534
520
  }
@@ -544,53 +530,53 @@ k.Pa = function (a) {
544
530
  else
545
531
  h = this.g.ja();
546
532
  this.i = 200 == c;
547
- Kb(this.j, this.u, this.A, this.m, this.W, u, c);
533
+ Ib(this.j, this.u, this.A, this.m, this.W, u, c);
548
534
  if (this.i) {
549
- if (this.ba && !this.K) {
535
+ if (this.aa && !this.K) {
550
536
  b: {
551
537
  if (this.g) {
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;
538
+ var n, t = this.g;
539
+ if ((n = t.g ? t.g.getResponseHeader("X-HTTP-Initial-Response") : null) && !x(n)) {
540
+ var m = n;
555
541
  break b;
556
542
  }
557
543
  }
558
- n = null;
544
+ m = null;
559
545
  }
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);
546
+ if (c = m)
547
+ D(this.j, this.m, c, "Initial handshake response via X-HTTP-Initial-Response"), this.K = !0, qc(this, c);
562
548
  else {
563
549
  this.i = !1;
564
550
  this.o = 3;
565
551
  F(12);
566
552
  I(this);
567
- rc(this);
553
+ pc(this);
568
554
  break a;
569
555
  }
570
556
  }
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));
557
+ this.S ? (rc(this, u, h), va && this.i && 3 == u && (Db(this.U, this.V, "tick", this.mb),
558
+ this.V.start())) : (D(this.j, this.m, h, null), qc(this, h));
573
559
  4 == u && I(this);
574
- this.i && !this.J && (4 == u ? uc(this.l, this) : (this.i = !1, lc(this)));
560
+ this.i && !this.J && (4 == u ? sc(this.l, this) : (this.i = !1, jc(this)));
575
561
  }
576
562
  else
577
- 400 == c && 0 < h.indexOf("Unknown SID") ? (this.o = 3, F(12)) : (this.o = 0, F(13)), I(this), rc(this);
563
+ tc(this.g), 400 == c && 0 < h.indexOf("Unknown SID") ? (this.o = 3, F(12)) : (this.o = 0, F(13)), I(this), pc(this);
578
564
  }
579
565
  }
580
566
  }
581
567
  catch (u) { }
582
568
  finally { }
583
569
  };
584
- function qc(a) { return a.g ? "GET" == a.u && 2 != a.L && a.l.Ha : !1; }
585
- function tc(a, b, c) {
570
+ function oc(a) { return a.g ? "GET" == a.u && 2 != a.L && a.l.Ha : !1; }
571
+ function rc(a, b, c) {
586
572
  var d = !0, e;
587
573
  for (; !a.J && a.C < c.length;)
588
- if (e = vc(a, c), e == hc) {
574
+ if (e = uc(a, c), e == fc) {
589
575
  4 == b && (a.o = 4, F(14), d = !1);
590
576
  D(a.j, a.m, null, "[Incomplete Response]");
591
577
  break;
592
578
  }
593
- else if (e == gc) {
579
+ else if (e == ec) {
594
580
  a.o = 4;
595
581
  F(15);
596
582
  D(a.j, a.m, c, "[Invalid Chunk]");
@@ -598,37 +584,37 @@ function tc(a, b, c) {
598
584
  break;
599
585
  }
600
586
  else
601
- D(a.j, a.m, e, null), sc(a, e);
602
- qc(a) && e != hc && e != gc && (a.h.g = "", a.C = 0);
587
+ D(a.j, a.m, e, null), qc(a, e);
588
+ oc(a) && e != fc && e != ec && (a.h.g = "", a.C = 0);
603
589
  4 != b || 0 != c.length || a.h.h || (a.o = 1, F(16), d = !1);
604
590
  a.i = a.i && d;
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));
591
+ d ? 0 < c.length && !a.ba && (a.ba = !0, b = a.l, b.g == a && b.ca && !b.M && (b.l.info("Great, no buffering proxy detected. Bytes received: " + c.length), vc(b), b.M = !0, F(11))) : (D(a.j, a.m, c, "[Invalid Chunked Response]"), I(a), pc(a));
606
592
  }
607
593
  k.mb = function () { if (this.g) {
608
594
  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));
595
+ this.C < b.length && (nc(this), rc(this, a, b), this.i && 4 != a && jc(this));
610
596
  } };
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; }
597
+ function uc(a, b) { var c = a.C, d = b.indexOf("\n", c); if (-1 == d)
598
+ return fc; c = Number(b.substring(c, d)); if (isNaN(c))
599
+ return ec; d += 1; if (d + c > b.length)
600
+ return fc; b = b.slice(d, d + c); a.C = d + c; return b; }
615
601
  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) {
602
+ function jc(a) { a.Y = Date.now() + a.P; wc(a, a.P); }
603
+ function wc(a, b) { if (null != a.B)
604
+ throw Error("WatchDog timer not null"); a.B = Rb(q(a.lb, a), b); }
605
+ function nc(a) { a.B && (l.clearTimeout(a.B), a.B = null); }
606
+ k.lb = function () { this.B = null; var a = Date.now(); 0 <= a - this.Y ? (Kb(this.j, this.A), 2 != this.L && (Ob(), F(17)), I(this), this.o = 2, pc(this)) : wc(this, this.Y - a); };
607
+ function pc(a) { 0 == a.l.H || a.J || sc(a.l, a); }
608
+ function I(a) { nc(a); var b = a.M; b && "function" == typeof b.sa && b.sa(); a.M = null; xb(a.V); Fb(a.U); a.g && (b = a.g, a.g = null, b.abort(), b.sa()); }
609
+ function qc(a, b) {
624
610
  try {
625
611
  var c = a.l;
626
- if (0 != c.H && (c.g == a || yc(c.h, a)))
627
- if (!a.K && yc(c.h, a) && 3 == c.H) {
612
+ if (0 != c.H && (c.g == a || xc(c.i, a)))
613
+ if (!a.K && xc(c.i, a) && 3 == c.H) {
628
614
  try {
629
615
  var d = c.Ja.g.parse(b);
630
616
  }
631
- catch (n) {
617
+ catch (m) {
632
618
  d = null;
633
619
  }
634
620
  if (Array.isArray(d) && 3 == d.length) {
@@ -638,96 +624,96 @@ function sc(a, b) {
638
624
  if (!c.u) {
639
625
  if (c.g)
640
626
  if (c.g.G + 3E3 < a.G)
641
- zc(c), Ac(c);
627
+ yc(c), zc(c);
642
628
  else
643
629
  break a;
644
- Bc(c);
630
+ Ac(c);
645
631
  F(18);
646
632
  }
647
633
  }
648
634
  else
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) {
635
+ c.Fa = e[1], 0 < c.Fa - c.V && 37500 > e[2] && c.G && 0 == c.A && !c.v && (c.v = Rb(q(c.ib, c), 6E3));
636
+ if (1 >= Bc(c.i) && c.oa) {
651
637
  try {
652
- c.na();
638
+ c.oa();
653
639
  }
654
- catch (n) { }
655
- c.na = void 0;
640
+ catch (m) { }
641
+ c.oa = void 0;
656
642
  }
657
643
  }
658
644
  else
659
645
  J(c, 11);
660
646
  }
661
- else if ((a.K || c.g == a) && zc(c), !qa(b))
647
+ else if ((a.K || c.g == a) && yc(c), !x(b))
662
648
  for (e = c.Ja.g.parse(b), b = 0; b < e.length; b++) {
663
- var n = e[b];
649
+ var m = e[b];
664
650
  c.V =
665
- n[0];
666
- n = n[1];
651
+ m[0];
652
+ m = m[1];
667
653
  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));
654
+ if ("c" == m[0]) {
655
+ c.K = m[1];
656
+ c.pa = m[2];
657
+ var u = m[3];
658
+ null != u && (c.ra = u, c.l.info("VER=" + c.ra));
659
+ var L = m[4];
660
+ null != L && (c.Ga = L, c.l.info("SVER=" + c.Ga));
661
+ var La = m[5];
662
+ null != La && "number" === typeof La && 0 < La && (d = 1.5 * La, c.L = d, c.l.info("backChannelRequestTimeoutMs_=" + d));
677
663
  d = c;
678
- var ia = a.g;
679
- if (ia) {
680
- var Ma = ia.g ? ia.g.getResponseHeader("X-Client-Wire-Protocol") : null;
664
+ var la = a.g;
665
+ if (la) {
666
+ var Ma = la.g ? la.g.getResponseHeader("X-Client-Wire-Protocol") : null;
681
667
  if (Ma) {
682
- var f = d.h;
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));
668
+ var f = d.i;
669
+ f.g || -1 == Ma.indexOf("spdy") && -1 == Ma.indexOf("quic") && -1 == Ma.indexOf("h2") || (f.j = f.l, f.g = new Set, f.h && (Cc(f, f.h), f.h = null));
684
670
  }
685
671
  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));
672
+ var Eb = la.g ? la.g.getResponseHeader("X-HTTP-Session-Id") : null;
673
+ Eb && (d.Da = Eb, K(d.I, d.F, Eb));
688
674
  }
689
675
  }
690
676
  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"));
677
+ c.h && c.h.Ba();
678
+ c.ca && (c.S = Date.now() - a.G, c.l.info("Handshake RTT: " + c.S + "ms"));
693
679
  d = c;
694
680
  var h = a;
695
- d.wa = Ec(d, d.I ? d.oa : null, d.Y);
681
+ d.wa = Dc(d, d.J ? d.pa : null, d.Y);
696
682
  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));
683
+ Ec(d.i, h);
684
+ var n = h, t = d.L;
685
+ t && n.setTimeout(t);
686
+ n.B && (nc(n), jc(n));
701
687
  d.g = h;
702
688
  }
703
689
  else
704
- Gc(d);
705
- 0 < c.i.length && Hc(c);
690
+ Fc(d);
691
+ 0 < c.j.length && Gc(c);
706
692
  }
707
693
  else
708
- "stop" != n[0] && "close" != n[0] || J(c, 7);
694
+ "stop" != m[0] && "close" != m[0] || J(c, 7);
709
695
  else
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);
696
+ 3 == c.H && ("stop" == m[0] || "close" == m[0] ? "stop" == m[0] ? J(c, 7) : Hc(c) : "noop" != m[0] && c.h && c.h.Aa(m), c.A = 0);
711
697
  }
712
- Qb(4);
698
+ Ob(4);
713
699
  }
714
- catch (n) { }
700
+ catch (m) { }
715
701
  }
716
- function Jc(a) { if (a.Z && "function" == typeof a.Z)
702
+ function Ic(a) { if (a.Z && "function" == typeof a.Z)
717
703
  return a.Z(); if ("undefined" !== typeof Map && a instanceof Map || "undefined" !== typeof Set && a instanceof Set)
718
704
  return Array.from(a.values()); if ("string" === typeof a)
719
- return a.split(""); if (ba(a)) {
705
+ return a.split(""); if (aa(a)) {
720
706
  for (var b = [], c = a.length, d = 0; d < c; d++)
721
707
  b.push(a[d]);
722
708
  return b;
723
709
  } b = []; c = 0; for (d in a)
724
710
  b[c++] = a[d]; return b; }
725
- function Kc(a) { if (a.sa && "function" == typeof a.sa)
726
- return a.sa(); if (!a.Z || "function" != typeof a.Z) {
711
+ function Jc(a) { if (a.ta && "function" == typeof a.ta)
712
+ return a.ta(); if (!a.Z || "function" != typeof a.Z) {
727
713
  if ("undefined" !== typeof Map && a instanceof Map)
728
714
  return Array.from(a.keys());
729
715
  if (!("undefined" !== typeof Set && a instanceof Set)) {
730
- if (ba(a) || "string" === typeof a) {
716
+ if (aa(a) || "string" === typeof a) {
731
717
  var b = [];
732
718
  a = a.length;
733
719
  for (var c = 0; c < a; c++)
@@ -741,15 +727,15 @@ function Kc(a) { if (a.sa && "function" == typeof a.sa)
741
727
  return b;
742
728
  }
743
729
  } }
744
- function Lc(a, b) { if (a.forEach && "function" == typeof a.forEach)
730
+ function Kc(a, b) { if (a.forEach && "function" == typeof a.forEach)
745
731
  a.forEach(b, void 0);
746
- else if (ba(a) || "string" === typeof a)
732
+ else if (aa(a) || "string" === typeof a)
747
733
  Array.prototype.forEach.call(a, b, void 0);
748
734
  else
749
- for (var c = Kc(a), d = Jc(a), e = d.length, f = 0; f < e; f++)
735
+ for (var c = Jc(a), d = Ic(a), e = d.length, f = 0; f < e; f++)
750
736
  b.call(void 0, d[f], c && c[f], a); }
751
- var Mc = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
752
- function Nc(a, b) { if (a) {
737
+ var Lc = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
738
+ function Mc(a, b) { if (a) {
753
739
  a = a.split("&");
754
740
  for (var c = 0; c < a.length; c++) {
755
741
  var d = a[c].indexOf("="), e = null;
@@ -762,28 +748,28 @@ function Nc(a, b) { if (a) {
762
748
  b(f, e ? decodeURIComponent(e.replace(/\+/g, " ")) : "");
763
749
  }
764
750
  } }
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
- this.h = void 0 !== b ? b : a.h;
767
- Oc(this, a.j);
751
+ function M(a) { this.g = this.s = this.j = ""; this.m = null; this.o = this.l = ""; this.h = !1; if (a instanceof M) {
752
+ this.h = a.h;
753
+ Nc(this, a.j);
768
754
  this.s = a.s;
769
755
  this.g = a.g;
770
- Pc(this, a.m);
756
+ Oc(this, a.m);
771
757
  this.l = a.l;
772
- b = a.i;
773
- var c = new Qc;
758
+ var b = a.i;
759
+ var c = new Pc;
774
760
  c.i = b.i;
775
761
  b.g && (c.g = new Map(b.g), c.h = b.h);
776
- Rc(this, c);
762
+ Qc(this, c);
777
763
  this.o = a.o;
778
764
  }
779
765
  else
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(""); };
766
+ a && (b = String(a).match(Lc)) ? (this.h = !1, Nc(this, b[1] || "", !0), this.s = Rc(b[2] || ""), this.g = Rc(b[3] || "", !0), Oc(this, b[4]), this.l = Rc(b[5] || "", !0), Qc(this, b[6] || "", !0), this.o = Rc(b[7] || "")) : (this.h = !1, this.i = new Pc(null, this.h)); }
767
+ M.prototype.toString = function () { var a = [], b = this.j; b && a.push(Sc(b, Tc, !0), ":"); var c = this.g; if (c || "file" == b)
768
+ a.push("//"), (b = this.s) && a.push(Sc(b, Tc, !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)
769
+ this.g && "/" != c.charAt(0) && a.push("/"), a.push(Sc(c, "/" == c.charAt(0) ? Uc : Vc, !0)); (c = this.i.toString()) && a.push("?", c); (c = this.o) && a.push("#", Sc(c, Wc)); return a.join(""); };
784
770
  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) {
771
+ function Nc(a, b, c) { a.j = c ? Rc(b, !0) : b; a.j && (a.j = a.j.replace(/:$/, "")); }
772
+ function Oc(a, b) { if (b) {
787
773
  b = Number(b);
788
774
  if (isNaN(b) || 0 > b)
789
775
  throw Error("Bad port number " + b);
@@ -791,36 +777,36 @@ function Pc(a, b) { if (b) {
791
777
  }
792
778
  else
793
779
  a.m = null; }
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)); }
780
+ function Qc(a, b, c) { b instanceof Pc ? (a.i = b, Xc(a.i, a.h)) : (c || (b = Sc(b, Yc)), a.i = new Pc(b, a.h)); }
795
781
  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;
782
+ function hc(a) { K(a, "zx", Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ Date.now()).toString(36)); return a; }
783
+ function Rc(a, b) { return a ? b ? decodeURI(a.replace(/%25/g, "%2525")) : decodeURIComponent(a) : ""; }
784
+ function Sc(a, b, c) { return "string" === typeof a ? (a = encodeURI(a).replace(b, Zc), c && (a = a.replace(/%25([0-9a-fA-F]{2})/g, "%$1")), a) : null; }
785
+ function Zc(a) { a = a.charCodeAt(0); return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16); }
786
+ var Tc = /[#\/\?@]/g, Vc = /[#\?:]/g, Uc = /[#\?]/g, Yc = /[#\?@]/g, Wc = /#/g;
787
+ function Pc(a, b) { this.h = this.g = null; this.i = a || null; this.j = !!b; }
788
+ function N(a) { a.g || (a.g = new Map, a.h = 0, a.i && Mc(a.i, function (b, c) { a.add(decodeURIComponent(b.replace(/\+/g, " ")), c); })); }
789
+ k = Pc.prototype;
804
790
  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); }
791
+ function $c(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)); }
792
+ function ad(a, b) { N(a); b = O(a, b); return a.g.has(b); }
807
793
  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++) {
794
+ k.ta = 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
795
  var e = a[d];
810
796
  for (var f = 0; f < e.length; f++)
811
797
  c.push(b[d]);
812
798
  } return c; };
813
799
  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))));
800
+ ad(this, a) && (b = b.concat(this.g.get(O(this, a))));
815
801
  else {
816
802
  a = Array.from(this.g.values());
817
803
  for (var c = 0; c < a.length; c++)
818
804
  b = b.concat(a[c]);
819
805
  } return b; };
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; };
806
+ k.set = function (a, b) { N(this); this.i = null; a = O(this, a); ad(this, a) && (this.h -= this.g.get(a).length); this.g.set(a, [b]); this.h += 1; return this; };
821
807
  k.get = function (a, b) { if (!a)
822
808
  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); }
809
+ function kc(a, b, c) { $c(a, b); 0 < c.length && (a.i = null, a.g.set(O(a, b), ma(c)), a.h += c.length); }
824
810
  k.toString = function () { if (this.i)
825
811
  return this.i; if (!this.g)
826
812
  return ""; var a = [], b = Array.from(this.g.keys()); for (var c = 0; c < b.length; c++) {
@@ -833,24 +819,24 @@ k.toString = function () { if (this.i)
833
819
  }
834
820
  } return this.i = a.join("&"); };
835
821
  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
- this.h = a;
840
- this.g = b;
822
+ function Xc(a, b) { b && !a.j && (N(a), a.i = null, a.g.forEach(function (c, d) { var e = d.toLowerCase(); d != e && ($c(this, d), kc(this, e, c)); }, a)); a.j = b; }
823
+ var bd = /** @class */ (function () {
824
+ function bd(a, b) {
825
+ this.g = a;
826
+ this.map = b;
841
827
  }
842
- return cd;
828
+ return bd;
843
829
  }());
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 () {
830
+ function cd(a) { this.l = a || dd; 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 = []; }
831
+ var dd = 10;
832
+ function ed(a) { return a.h ? !0 : a.g ? a.g.size >= a.j : !1; }
833
+ function Bc(a) { return a.h ? 1 : a.g ? a.g.size : 0; }
834
+ function xc(a, b) { return a.h ? a.h == b : a.g ? a.g.has(b) : !1; }
835
+ function Cc(a, b) { a.g ? a.g.add(b) : a.h = b; }
836
+ function Ec(a, b) { a.h && a.h == b ? a.h = null : a.g && a.g.has(b) && a.g.delete(b); }
837
+ cd.prototype.cancel = function () {
852
838
  var e_1, _a;
853
- this.i = gd(this);
839
+ this.i = fd(this);
854
840
  if (this.h)
855
841
  this.h.cancel(), this.h = null;
856
842
  else if (this.g && 0 !== this.g.size) {
@@ -870,7 +856,7 @@ dd.prototype.cancel = function () {
870
856
  this.g.clear();
871
857
  }
872
858
  };
873
- function gd(a) {
859
+ function fd(a) {
874
860
  var e_2, _a;
875
861
  if (null != a.h)
876
862
  return a.i.concat(a.h.F);
@@ -891,49 +877,53 @@ function gd(a) {
891
877
  }
892
878
  return b;
893
879
  }
894
- return na(a.i);
880
+ return ma(a.i);
895
881
  }
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)); });
882
+ var gd = /** @class */ (function () {
883
+ function gd() {
884
+ }
885
+ gd.prototype.stringify = function (a) { return l.JSON.stringify(a, void 0); };
886
+ gd.prototype.parse = function (a) { return l.JSON.parse(a, void 0); };
887
+ return gd;
888
+ }());
889
+ function hd() { this.g = new gd; }
890
+ function id(a, b, c) { var d = c || ""; try {
891
+ Kc(a, function (e, f) { var h = e; p(e) && (h = jb(e)); b.push(d + f + "=" + encodeURIComponent(h)); });
902
892
  }
903
893
  catch (e) {
904
894
  throw b.push(d + "type=" + encodeURIComponent("_badmap")), e;
905
895
  } }
906
- function kd(a, b) { var c = new Ib; if (l.Image) {
896
+ function jd(a, b) { var c = new Gb; if (l.Image) {
907
897
  var d_1 = new Image;
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);
898
+ d_1.onload = ha(kd, c, d_1, "TestLoadImage: loaded", !0, b);
899
+ d_1.onerror = ha(kd, c, d_1, "TestLoadImage: error", !1, b);
900
+ d_1.onabort = ha(kd, c, d_1, "TestLoadImage: abort", !1, b);
901
+ d_1.ontimeout = ha(kd, c, d_1, "TestLoadImage: timeout", !1, b);
912
902
  l.setTimeout(function () { if (d_1.ontimeout)
913
903
  d_1.ontimeout(); }, 1E4);
914
904
  d_1.src = a;
915
905
  }
916
906
  else
917
907
  b(!1); }
918
- function ld(a, b, c, d, e) { try {
908
+ function kd(a, b, c, d, e) { try {
919
909
  b.onload = null, b.onerror = null, b.onabort = null, b.ontimeout = null, e(d);
920
910
  }
921
911
  catch (f) { } }
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); };
912
+ function ld(a) { this.l = a.fc || null; this.j = a.ob || !1; }
913
+ r(ld, Ub);
914
+ ld.prototype.g = function () { return new md(this.l, this.j); };
915
+ ld.prototype.i = function (a) { return function () { return a; }; }({});
916
+ function md(a, b) { B.call(this); this.F = a; this.u = b; this.m = void 0; this.readyState = nd; 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; }
917
+ r(md, B);
918
+ var nd = 0;
919
+ k = md.prototype;
920
+ k.open = function (a, b) { if (this.readyState != nd)
921
+ throw this.abort(), Error("Error reopening a connection"); this.C = a; this.B = b; this.readyState = 1; od(this); };
932
922
  k.send = function (a) { if (1 != this.readyState)
933
923
  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; };
924
+ 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, pd(this)); this.readyState = nd; };
935
925
  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)))
926
+ 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, od(this)), this.g && (this.readyState = 3, od(this), this.g)))
937
927
  if ("arraybuffer" === this.responseType)
938
928
  a.arrayBuffer().then(this.Ya.bind(this), this.ka.bind(this));
939
929
  else if ("undefined" !== typeof l.ReadableStream && "body" in a) {
@@ -946,12 +936,12 @@ k.$a = function (a) {
946
936
  }
947
937
  else
948
938
  this.response = this.responseText = "", this.A = new TextDecoder;
949
- rd(this);
939
+ qd(this);
950
940
  }
951
941
  else
952
942
  a.text().then(this.Za.bind(this), this.ka.bind(this));
953
943
  };
954
- function rd(a) { a.j.read().then(a.Xa.bind(a)).catch(a.ka.bind(a)); }
944
+ function qd(a) { a.j.read().then(a.Xa.bind(a)).catch(a.ka.bind(a)); }
955
945
  k.Xa = function (a) { if (this.g) {
956
946
  if (this.u && a.value)
957
947
  this.response.push(a.value);
@@ -960,24 +950,24 @@ k.Xa = function (a) { if (this.g) {
960
950
  if (b = this.A.decode(b, { stream: !a.done }))
961
951
  this.response = this.responseText += b;
962
952
  }
963
- a.done ? qd(this) : pd(this);
964
- 3 == this.readyState && rd(this);
953
+ a.done ? pd(this) : od(this);
954
+ 3 == this.readyState && qd(this);
965
955
  } };
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); }
956
+ k.Za = function (a) { this.g && (this.response = this.responseText = a, pd(this)); };
957
+ k.Ya = function (a) { this.g && (this.response = a, pd(this)); };
958
+ k.ka = function () { this.g && pd(this); };
959
+ function pd(a) { a.readyState = 4; a.l = null; a.j = null; a.A = null; od(a); }
970
960
  k.setRequestHeader = function (a, b) { this.v.append(a, b); };
971
961
  k.getResponseHeader = function (a) { return this.h ? this.h.get(a.toLowerCase()) || "" : ""; };
972
962
  k.getAllResponseHeaders = function () { if (!this.h)
973
963
  return ""; var a = [], b = this.h.entries(); for (var c = b.next(); !c.done;)
974
964
  c = c.value, a.push(c[0] + ": " + c[1]), c = b.next(); return a.join("\r\n"); };
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; }
965
+ function od(a) { a.onreadystatechange && a.onreadystatechange.call(a); }
966
+ Object.defineProperty(md.prototype, "withCredentials", { get: function () { return "include" === this.m; }, set: function (a) { this.m = a ? "include" : "same-origin"; } });
967
+ var rd = l.JSON.parse;
968
+ 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 = sd; this.L = this.M = !1; }
979
969
  r(P, B);
980
- var td = "", ud = /^https?$/i, vd = ["POST", "PUT"];
970
+ var sd = "", td = /^https?$/i, ud = ["POST", "PUT"];
981
971
  k = P.prototype;
982
972
  k.Oa = function (a) { this.M = a; };
983
973
  k.ha = function (a, b, c, d) {
@@ -990,14 +980,14 @@ k.ha = function (a, b, c, d) {
990
980
  this.m = 0;
991
981
  this.F = !1;
992
982
  this.h = !0;
993
- this.g = this.u ? this.u.g() : bc.g();
994
- this.C = this.u ? Xb(this.u) : Xb(bc);
983
+ this.g = this.u ? this.u.g() : $b.g();
984
+ this.C = this.u ? Vb(this.u) : Vb($b);
995
985
  this.g.onreadystatechange = q(this.La, this);
996
986
  try {
997
987
  this.G = !0, this.g.open(b, String(a), !0), this.G = !1;
998
988
  }
999
989
  catch (f) {
1000
- wd(this, f);
990
+ vd(this, f);
1001
991
  return;
1002
992
  }
1003
993
  a = c || "";
@@ -1025,7 +1015,7 @@ k.ha = function (a, b, c, d) {
1025
1015
  throw Error("Unknown input type for opt_headers: " + String(d));
1026
1016
  d = Array.from(c.keys()).find(function (f) { return "content-type" == f.toLowerCase(); });
1027
1017
  e = l.FormData && a instanceof l.FormData;
1028
- !(0 <= ma(vd, b)) || d || e || c.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
1018
+ !(0 <= ka(ud, b)) || d || e || c.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
1029
1019
  try {
1030
1020
  for (var c_1 = __values(c), c_1_1 = c_1.next(); !c_1_1.done; c_1_1 = c_1.next()) {
1031
1021
  var _e = __read(c_1_1.value, 2), f = _e[0], h = _e[1];
@@ -1043,29 +1033,29 @@ k.ha = function (a, b, c, d) {
1043
1033
  "withCredentials" in this.g && this.g.withCredentials !== this.M && (this.g.withCredentials =
1044
1034
  this.M);
1045
1035
  try {
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;
1036
+ wd(this), 0 < this.B && ((this.L = xd(this.g)) ? (this.g.timeout = this.B, this.g.ontimeout = q(this.ua, this)) : this.A = yb(this.ua, this.B, this)), this.v = !0, this.g.send(a), this.v = !1;
1047
1037
  }
1048
1038
  catch (f) {
1049
- wd(this, f);
1039
+ vd(this, f);
1050
1040
  }
1051
1041
  };
1052
- function yd(a) { return y && Ha() && "number" === typeof a.timeout && void 0 !== a.ontimeout; }
1042
+ function xd(a) { return z && "number" === typeof a.timeout && void 0 !== a.ontimeout; }
1053
1043
  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) {
1044
+ function vd(a, b) { a.h = !1; a.g && (a.l = !0, a.g.abort(), a.l = !1); a.j = b; a.m = 5; yd(a); zd(a); }
1045
+ function yd(a) { a.F || (a.F = !0, C(a, "complete"), C(a, "error")); }
1046
+ 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"), zd(this)); };
1047
+ k.N = function () { this.g && (this.h && (this.h = !1, this.l = !0, this.g.abort(), this.l = !1), zd(this, !0)); P.$.N.call(this); };
1048
+ k.La = function () { this.s || (this.G || this.v || this.l ? Ad(this) : this.kb()); };
1049
+ k.kb = function () { Ad(this); };
1050
+ function Ad(a) {
1061
1051
  if (a.h && "undefined" != typeof goog && (!a.C[1] || 4 != H(a) || 2 != a.da()))
1062
1052
  if (a.v && 4 == H(a))
1063
- Ab(a.La, 0, a);
1053
+ yb(a.La, 0, a);
1064
1054
  else if (C(a, "readystatechange"), 4 == H(a)) {
1065
1055
  a.h = !1;
1066
1056
  try {
1067
- var m = a.da();
1068
- a: switch (m) {
1057
+ var h = a.da();
1058
+ a: switch (h) {
1069
1059
  case 200:
1070
1060
  case 201:
1071
1061
  case 202:
@@ -1080,38 +1070,36 @@ function Bd(a) {
1080
1070
  var c;
1081
1071
  if (!(c = b)) {
1082
1072
  var d;
1083
- if (d = 0 === m) {
1084
- var e = String(a.I).match(Mc)[1] || null;
1085
- if (!e && l.self && l.self.location) {
1086
- var f = l.self.location.protocol;
1087
- e = f.substr(0, f.length - 1);
1088
- }
1089
- d = !ud.test(e ? e.toLowerCase() : "");
1073
+ if (d = 0 === h) {
1074
+ var e = String(a.I).match(Lc)[1] || null;
1075
+ !e && l.self && l.self.location && (e = l.self.location.protocol.slice(0, -1));
1076
+ d = !td.test(e ? e.toLowerCase() : "");
1090
1077
  }
1091
1078
  c = d;
1092
1079
  }
1093
1080
  if (c)
1094
1081
  C(a, "complete"), C(a, "success");
1095
1082
  else {
1096
- a.m = 6;
1083
+ a.m =
1084
+ 6;
1097
1085
  try {
1098
- var h = 2 < H(a) ? a.g.statusText : "";
1086
+ var f = 2 < H(a) ? a.g.statusText : "";
1099
1087
  }
1100
- catch (t) {
1101
- h = "";
1088
+ catch (n) {
1089
+ f = "";
1102
1090
  }
1103
- a.j = h + " [" + a.da() + "]";
1104
- zd(a);
1091
+ a.j = f + " [" + a.da() + "]";
1092
+ yd(a);
1105
1093
  }
1106
1094
  }
1107
1095
  finally {
1108
- Ad(a);
1096
+ zd(a);
1109
1097
  }
1110
1098
  }
1111
1099
  }
1112
- function Ad(a, b) { if (a.g) {
1113
- xd(a);
1114
- var c = a.g, d = a.C[0] ? aa : null;
1100
+ function zd(a, b) { if (a.g) {
1101
+ wd(a);
1102
+ var c = a.g, d = a.C[0] ? function () { } : null;
1115
1103
  a.g = null;
1116
1104
  a.C = null;
1117
1105
  b || C(a, "ready");
@@ -1120,7 +1108,8 @@ function Ad(a, b) { if (a.g) {
1120
1108
  }
1121
1109
  catch (e) { }
1122
1110
  } }
1123
- function xd(a) { a.g && a.L && (a.g.ontimeout = null); a.A && (l.clearTimeout(a.A), a.A = null); }
1111
+ function wd(a) { a.g && a.L && (a.g.ontimeout = null); a.A && (l.clearTimeout(a.A), a.A = null); }
1112
+ k.isActive = function () { return !!this.g; };
1124
1113
  function H(a) { return a.g ? a.g.readyState : 0; }
1125
1114
  k.da = function () { try {
1126
1115
  return 2 < H(this) ? this.g.status : -1;
@@ -1137,15 +1126,15 @@ catch (a) {
1137
1126
  k.Wa = function (a) { if (this.g) {
1138
1127
  var b = this.g.responseText;
1139
1128
  a && 0 == b.indexOf(a) && (b = b.substring(a.length));
1140
- return sd(b);
1129
+ return rd(b);
1141
1130
  } };
1142
- function oc(a) { try {
1131
+ function mc(a) { try {
1143
1132
  if (!a.g)
1144
1133
  return null;
1145
1134
  if ("response" in a.g)
1146
1135
  return a.g.response;
1147
1136
  switch (a.K) {
1148
- case td:
1137
+ case sd:
1149
1138
  case "text": return a.g.responseText;
1150
1139
  case "arraybuffer": if ("mozResponseArrayBuffer" in a.g)
1151
1140
  return a.g.mozResponseArrayBuffer;
@@ -1155,95 +1144,121 @@ function oc(a) { try {
1155
1144
  catch (b) {
1156
1145
  return null;
1157
1146
  } }
1147
+ function tc(a) { var b = {}; a = (a.g && 2 <= H(a) ? a.g.getAllResponseHeaders() || "" : "").split("\r\n"); for (var d = 0; d < a.length; d++) {
1148
+ if (x(a[d]))
1149
+ continue;
1150
+ var c = qb(a[d]);
1151
+ var e = c[0];
1152
+ c = c[1];
1153
+ if ("string" !== typeof c)
1154
+ continue;
1155
+ c = c.trim();
1156
+ var f = b[e] || [];
1157
+ b[e] = f;
1158
+ f.push(c);
1159
+ } Oa(b, function (d) { return d.join(", "); }); }
1158
1160
  k.Ia = function () { return this.m; };
1159
1161
  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
+ function Bd(a) { var b = ""; Na(a, function (c, d) { b += d; b += ":"; b += c; b += "\r\n"; }); return b; }
1163
+ function Cd(a, b, c) { a: {
1162
1164
  for (d in c) {
1163
1165
  var d = !1;
1164
1166
  break a;
1165
1167
  }
1166
1168
  d = !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) {
1169
+ } d || (c = Bd(c), "string" === typeof a ? (null != c && encodeURIComponent(String(c))) : K(a, b, c)); }
1170
+ function Dd(a, b, c) { return c && c.internalChannelParams ? c.internalChannelParams[a] || b : b; }
1171
+ function Ed(a) {
1170
1172
  this.Ga = 0;
1171
- this.i = [];
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;
1173
+ this.j = [];
1174
+ this.l = new Gb;
1175
+ this.pa = this.wa = this.I = this.Y = this.g = this.Da = this.F = this.na = this.o = this.U = this.s = null;
1174
1176
  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.cb = Dd("failFast", !1, a);
1178
+ this.G = this.v = this.u = this.m = this.h = null;
1177
1179
  this.aa = !0;
1178
- this.ta = this.Fa = this.V = -1;
1180
+ this.Fa = this.V = -1;
1179
1181
  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);
1182
+ this.ab = Dd("baseRetryDelayMs", 5E3, a);
1183
+ this.hb = Dd("retryDelaySeedMs", 1E4, a);
1184
+ this.eb = Dd("forwardChannelMaxRetries", 2, a);
1185
+ this.xa = Dd("forwardChannelRequestTimeoutMs", 2E4, a);
1184
1186
  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;
1187
+ this.Ha = a && a.dc || !1;
1188
+ this.L =
1189
+ void 0;
1190
+ this.J = a && a.supportsCrossDomainXhr || !1;
1191
+ this.K = "";
1192
+ this.i = new cd(a && a.concurrentRequestLimit);
1193
+ this.Ja = new hd;
1192
1194
  this.P = a && a.fastHandshake || !1;
1193
1195
  this.O = a && a.encodeInitMessageHeaders || !1;
1194
1196
  this.P && this.O && (this.O = !1);
1195
1197
  this.bb = a && a.bc || !1;
1196
- a && a.Ea && this.j.Ea();
1198
+ a && a.Ea && this.l.Ea();
1197
1199
  a && a.forceLongPolling && (this.aa = !1);
1198
1200
  this.ca = !this.P && this.aa && a && a.detectBufferingProxy || !1;
1199
- this.na = void 0;
1201
+ this.qa = void 0;
1202
+ a && a.longPollingTimeout && 0 < a.longPollingTimeout && (this.qa = a.longPollingTimeout);
1203
+ this.oa = void 0;
1200
1204
  this.S = 0;
1201
- this.L = !1;
1202
- this.pa = this.B = null;
1205
+ this.M = !1;
1206
+ this.ma = this.B = null;
1203
1207
  }
1204
- k = Fd.prototype;
1205
- k.qa = 8;
1208
+ k = Ed.prototype;
1209
+ k.ra = 8;
1206
1210
  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);
1211
+ function Hc(a) { Fd(a); if (3 == a.H) {
1212
+ var b = a.W++, c = G(a.I);
1213
+ K(c, "SID", a.K);
1210
1214
  K(c, "RID", b);
1211
1215
  K(c, "TYPE", "terminate");
1212
- Hd(a, c);
1213
- b = new dc(a, a.j, b, void 0);
1216
+ Gd(a, c);
1217
+ b = new bc(a, a.l, b);
1214
1218
  b.L = 2;
1215
- b.v = jc(G(c));
1219
+ b.v = hc(G(c));
1216
1220
  c = !1;
1217
- l.navigator && l.navigator.sendBeacon && (c = l.navigator.sendBeacon(b.v.toString(), ""));
1221
+ if (l.navigator && l.navigator.sendBeacon)
1222
+ try {
1223
+ c = l.navigator.sendBeacon(b.v.toString(), "");
1224
+ }
1225
+ catch (d) { }
1218
1226
  !c && l.Image && ((new Image).src = b.v, c = !0);
1219
- c || (b.g = nc(b.l, null), b.g.ha(b.v));
1227
+ c || (b.g = lc(b.l, null), b.g.ha(b.v));
1220
1228
  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))
1229
+ jc(b);
1230
+ } Hd(a); }
1231
+ function zc(a) { a.g && (vc(a), a.g.cancel(), a.g = null); }
1232
+ function Fd(a) { zc(a); a.u && (l.clearTimeout(a.u), a.u = null); yc(a); a.i.cancel(); a.m && ("number" === typeof a.m && l.clearTimeout(a.m), a.m = null); }
1233
+ function Gc(a) { if (!ed(a.i) && !a.m) {
1234
+ a.m = !0;
1235
+ var b = a.Na;
1236
+ sb || vb();
1237
+ tb || (sb(), tb = !0);
1238
+ mb.add(b, a);
1239
+ a.C = 0;
1240
+ } }
1241
+ function Id(a, b) { if (Bc(a.i) >= a.i.j - (a.m ? 1 : 0))
1227
1242
  return !1; if (a.m)
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; }
1243
+ return a.j = b.F.concat(a.j), !0; if (1 == a.H || 2 == a.H || a.C >= (a.cb ? 0 : a.eb))
1244
+ return !1; a.m = Rb(q(a.Na, a, b), Jd(a, a.C)); a.C++; return !0; }
1230
1245
  k.Na = function (a) {
1231
1246
  if (this.m)
1232
1247
  if (this.m = null, 1 == this.H) {
1233
1248
  if (!a) {
1234
1249
  this.W = Math.floor(1E5 * Math.random());
1235
1250
  a = this.W++;
1236
- var e = new dc(this, this.j, a, void 0);
1251
+ var e = new bc(this, this.l, a);
1237
1252
  var f = this.s;
1238
- this.U && (f ? (f = Sa(f), Ua(f, this.U)) : f = this.U);
1253
+ this.U && (f ? (f = Pa(f), Ra(f, this.U)) : f = this.U);
1239
1254
  null !== this.o || this.O || (e.I = f, f = null);
1240
1255
  if (this.P)
1241
1256
  a: {
1242
1257
  var b = 0;
1243
- for (var c = 0; c < this.i.length; c++) {
1258
+ for (var c = 0; c < this.j.length; c++) {
1244
1259
  b: {
1245
- var d = this.i[c];
1246
- if ("__data__" in d.g && (d = d.g.__data__, "string" === typeof d)) {
1260
+ var d = this.j[c];
1261
+ if ("__data__" in d.map && (d = d.map.__data__, "string" === typeof d)) {
1247
1262
  d = d.length;
1248
1263
  break b;
1249
1264
  }
@@ -1256,7 +1271,7 @@ k.Na = function (a) {
1256
1271
  b = c;
1257
1272
  break a;
1258
1273
  }
1259
- if (4096 === b || c === this.i.length - 1) {
1274
+ if (4096 === b || c === this.j.length - 1) {
1260
1275
  b = c + 1;
1261
1276
  break a;
1262
1277
  }
@@ -1266,87 +1281,94 @@ k.Na = function (a) {
1266
1281
  else
1267
1282
  b =
1268
1283
  1E3;
1269
- b = Ld(this, e, b);
1270
- c = G(this.G);
1284
+ b = Kd(this, e, b);
1285
+ c = G(this.I);
1271
1286
  K(c, "RID", a);
1272
1287
  K(c, "CVER", 22);
1273
1288
  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);
1289
+ Gd(this, c);
1290
+ f && (this.O ? b = "headers=" + encodeURIComponent(String(Bd(f))) + "&" + b : this.o && Cd(c, this.o, f));
1291
+ Cc(this.i, e);
1277
1292
  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);
1293
+ this.P ? (K(c, "$req", b), K(c, "SID", "null"), e.aa = !0, gc(e, c, null)) : gc(e, c, b);
1279
1294
  this.H = 2;
1280
1295
  }
1281
1296
  }
1282
1297
  else
1283
- 3 == this.H && (a ? Md(this, a) : 0 == this.i.length || fd(this.h) || Md(this));
1298
+ 3 == this.H && (a ? Ld(this, a) : 0 == this.j.length || ed(this.i) || Ld(this));
1284
1299
  };
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: {
1288
- var e = a.i;
1300
+ function Ld(a, b) { var c; b ? c = b.m : c = a.W++; var d = G(a.I); K(d, "SID", a.K); K(d, "RID", c); K(d, "AID", a.V); Gd(a, d); a.o && a.s && Cd(d, a.o, a.s); c = new bc(a, a.l, c, a.C + 1); null === a.o && (c.I = a.s); b && (a.j = b.F.concat(a.j)); b = Kd(a, c, 1E3); c.setTimeout(Math.round(.5 * a.xa) + Math.round(.5 * a.xa * Math.random())); Cc(a.i, c); gc(c, d, b); }
1301
+ function Gd(a, b) { a.na && Na(a.na, function (c, d) { K(b, d, c); }); a.h && Kc({}, function (c, d) { K(b, d, c); }); }
1302
+ function Kd(a, b, c) { c = Math.min(a.j.length, c); var d = a.h ? q(a.h.Va, a.h, a) : null; a: {
1303
+ var e = a.j;
1289
1304
  var f = -1;
1290
1305
  for (;;) {
1291
1306
  var h = ["count=" + c];
1292
- -1 == f ? 0 < c ? (f = e[0].h, h.push("ofs=" + f)) : f = 0 : h.push("ofs=" + f);
1293
- var m = !0;
1307
+ -1 == f ? 0 < c ? (f = e[0].g, h.push("ofs=" + f)) : f = 0 : h.push("ofs=" + f);
1308
+ var n = !0;
1294
1309
  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;
1310
+ var m = e[t].g;
1311
+ var u = e[t].map;
1312
+ m -= f;
1313
+ if (0 > m)
1314
+ f = Math.max(0, e[t].g - 100), n = !1;
1300
1315
  else
1301
1316
  try {
1302
- jd(u, h, "req" + n + "_");
1317
+ id(u, h, "req" + m + "_");
1303
1318
  }
1304
1319
  catch (L) {
1305
1320
  d && d(u);
1306
1321
  }
1307
1322
  }
1308
- if (m) {
1323
+ if (n) {
1309
1324
  d = h.join("&");
1310
1325
  break a;
1311
1326
  }
1312
1327
  }
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)) {
1328
+ } a = a.j.splice(0, c); b.F = a; return d; }
1329
+ function Fc(a) { if (!a.g && !a.u) {
1330
+ a.ba = 1;
1331
+ var b = a.Ma;
1332
+ sb || vb();
1333
+ tb || (sb(), tb = !0);
1334
+ mb.add(b, a);
1335
+ a.A = 0;
1336
+ } }
1337
+ function Ac(a) { if (a.g || a.u || 3 <= a.A)
1338
+ return !1; a.ba++; a.u = Rb(q(a.Ma, a), Jd(a, a.A)); a.A++; return !0; }
1339
+ k.Ma = function () { this.u = null; Md(this); if (this.ca && !(this.M || null == this.g || 0 >= this.S)) {
1318
1340
  var a = 2 * this.S;
1319
- this.j.info("BP detection timer enabled: " + a);
1320
- this.B = Tb(q(this.jb, this), a);
1341
+ this.l.info("BP detection timer enabled: " + a);
1342
+ this.B = Rb(q(this.jb, this), a);
1321
1343
  } };
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);
1344
+ k.jb = function () { this.B && (this.B = null, this.l.info("BP detection timeout reached."), this.l.info("Buffering proxy detected and switch to long-polling!"), this.G = !1, this.M = !0, F(10), zc(this), Md(this)); };
1345
+ function vc(a) { null != a.B && (l.clearTimeout(a.B), a.B = null); }
1346
+ function Md(a) { a.g = new bc(a, a.l, "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.K); K(b, "AID", a.V); K(b, "CI", a.G ? "0" : "1"); !a.G && a.qa && K(b, "TO", a.qa); K(b, "TYPE", "xmlhttp"); Gd(a, b); a.o && a.s && Cd(b, a.o, a.s); a.L && a.g.setTimeout(a.L); var c = a.g; a = a.pa; c.L = 1; c.v = hc(G(b)); c.s = null; c.S = !0; ic(c, a); }
1347
+ k.ib = function () { null != this.v && (this.v = null, zc(this), Ac(this), F(19)); };
1348
+ function yc(a) { null != a.v && (l.clearTimeout(a.v), a.v = null); }
1349
+ function sc(a, b) { var c = null; if (a.g == b) {
1350
+ yc(a);
1351
+ vc(a);
1330
1352
  a.g = null;
1331
1353
  var d = 2;
1332
1354
  }
1333
- else if (yc(a.h, b))
1334
- c = b.F, Fc(a.h, b), d = 1;
1355
+ else if (xc(a.i, b))
1356
+ c = b.F, Ec(a.i, b), d = 1;
1335
1357
  else
1336
1358
  return; if (0 != a.H)
1337
- if (a.ta = b.aa, b.i)
1359
+ if (b.i)
1338
1360
  if (1 == d) {
1339
1361
  c = b.s ? b.s.length : 0;
1340
1362
  b = Date.now() - b.G;
1341
1363
  var e = a.C;
1342
- d = Ob();
1343
- C(d, new Sb(d, c));
1344
- Hc(a);
1364
+ d = Mb();
1365
+ C(d, new Qb(d, c));
1366
+ Gc(a);
1345
1367
  }
1346
1368
  else
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)))
1349
- switch (c && 0 < c.length && (b = a.h, b.i = b.i.concat(c)), e) {
1369
+ Fc(a);
1370
+ else if (e = b.o, 3 == e || 0 == e && 0 < b.ca || !(1 == d && Id(a, b) || 2 == d && Ac(a)))
1371
+ switch (c && 0 < c.length && (b = a.i, b.i = b.i.concat(c)), e) {
1350
1372
  case 1:
1351
1373
  J(a, 5);
1352
1374
  break;
@@ -1358,52 +1380,54 @@ else
1358
1380
  break;
1359
1381
  default: J(a, 2);
1360
1382
  } }
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) {
1383
+ function Jd(a, b) { var c = a.ab + Math.floor(Math.random() * a.hb); a.isActive() || (c *= 2); return c * b; }
1384
+ function J(a, b) { a.l.info("Error code " + b); if (2 == b) {
1363
1385
  var c = null;
1364
- a.l && (c = null);
1386
+ a.h && (c = null);
1365
1387
  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);
1388
+ c || (c = new M("//www.google.com/images/cleardot.gif"), l.location && "http" == l.location.protocol || Nc(c, "https"), hc(c));
1389
+ jd(c.toString(), d);
1368
1390
  }
1369
1391
  else
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);
1374
- if (0 != b.length || 0 != a.i.length)
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();
1392
+ F(2); a.H = 0; a.h && a.h.za(b); Hd(a); Fd(a); }
1393
+ k.pb = function (a) { a ? (this.l.info("Successfully pinged google.com"), F(2)) : (this.l.info("Failed to ping google.com"), F(1)); };
1394
+ function Hd(a) { a.H = 0; a.ma = []; if (a.h) {
1395
+ var b = fd(a.i);
1396
+ if (0 != b.length || 0 != a.j.length)
1397
+ na(a.ma, b), na(a.ma, a.j), a.i.i.length = 0, ma(a.j), a.j.length = 0;
1398
+ a.h.ya();
1377
1399
  } }
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);
1400
+ function Dc(a, b, c) { var d = c instanceof M ? G(c) : new M(c); if ("" != d.g)
1401
+ b && (d.g = b + "." + d.g), Oc(d, d.m);
1380
1402
  else {
1381
1403
  var e = l.location;
1382
1404
  d = e.protocol;
1383
1405
  b = b ? b + "." + e.hostname : e.hostname;
1384
1406
  e = +e.port;
1385
- var f = new M(null, void 0);
1386
- d && Oc(f, d);
1407
+ var f = new M(null);
1408
+ d && Nc(f, d);
1387
1409
  b && (f.g = b);
1388
- e && Pc(f, e);
1410
+ e && Oc(f, e);
1389
1411
  c && (f.l = c);
1390
1412
  d = f;
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;
1413
+ } c = a.F; b = a.Da; c && b && K(d, c, b); K(d, "VER", a.ra); Gd(a, d); return d; }
1414
+ function lc(a, b, c) { if (b && !a.J)
1415
+ throw Error("Can't create secondary domain capable XhrIo object."); b = c && a.Ha && !a.va ? new P(new ld({ ob: !0 })) : new P(a.va); b.Oa(a.J); return b; }
1416
+ k.isActive = function () { return !!this.h && this.h.isActive(this); };
1417
+ function Nd() { }
1418
+ k = Nd.prototype;
1396
1419
  k.Ba = function () { };
1397
1420
  k.Aa = function () { };
1398
1421
  k.za = function () { };
1399
1422
  k.ya = function () { };
1423
+ k.isActive = function () { return !0; };
1400
1424
  k.Va = function () { };
1401
- function Pd() { if (y && !(10 <= Number(Ka)))
1425
+ function Od() { if (z && !(10 <= Number(Fa)))
1402
1426
  throw Error("Environmental error: no available transport."); }
1403
- Pd.prototype.g = function (a, b) { return new Q(a, b); };
1427
+ Od.prototype.g = function (a, b) { return new Q(a, b); };
1404
1428
  function Q(a, b) {
1405
1429
  B.call(this);
1406
- this.g = new Fd(b);
1430
+ this.g = new Ed(b);
1407
1431
  this.l = a;
1408
1432
  this.h = b && b.messageUrlParams || null;
1409
1433
  a = b && b.messageHeaders || null;
@@ -1414,24 +1438,24 @@ function Q(a, b) {
1414
1438
  b && b.Ca && (a ? a["X-WebChannel-Client-Profile"] = b.Ca : a = { "X-WebChannel-Client-Profile": b.Ca });
1415
1439
  this.g.U =
1416
1440
  a;
1417
- (a = b && b.cc) && !qa(a) && (this.g.o = a);
1441
+ (a = b && b.cc) && !x(a) && (this.g.o = a);
1418
1442
  this.A = b && b.supportsCrossDomainXhr || !1;
1419
1443
  this.v = b && b.sendRawJson || !1;
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]));
1444
+ (b = b && b.httpSessionIdParam) && !x(b) && (this.g.F = b, a = this.h, null !== a && b in a && (a = this.h, b in a && delete a[b]));
1421
1445
  this.j = new R(this);
1422
1446
  }
1423
1447
  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); };
1448
+ Q.prototype.m = function () { this.g.h = this.j; this.A && (this.g.J = !0); var a = this.g, b = this.l, c = this.h || void 0; F(0); a.Y = b; a.na = c || {}; a.G = a.aa; a.I = Dc(a, null, a.Y); Gc(a); };
1449
+ Q.prototype.close = function () { Hc(this.g); };
1426
1450
  Q.prototype.u = function (a) { var b = this.g; if ("string" === typeof a) {
1427
1451
  var c = {};
1428
1452
  c.__data__ = a;
1429
1453
  a = c;
1430
1454
  }
1431
1455
  else
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) {
1456
+ this.v && (c = {}, c.__data__ = jb(a), a = c); b.j.push(new bd(b.fb++, a)); 3 == b.H && Gc(b); };
1457
+ Q.prototype.N = function () { this.g.h = null; delete this.j; Hc(this.g); delete this.g; Q.$.N.call(this); };
1458
+ function Pd(a) { Yb.call(this); a.__headers__ && (this.headers = a.__headers__, this.statusCode = a.__status__, delete a.__headers__, delete a.__status__); var b = a.__sm__; if (b) {
1435
1459
  a: {
1436
1460
  for (var c in b) {
1437
1461
  a = c;
@@ -1445,20 +1469,20 @@ function Qd(a) { $b.call(this); var b = a.__sm__; if (b) {
1445
1469
  }
1446
1470
  else
1447
1471
  this.data = a; }
1448
- r(Qd, $b);
1449
- function Rd() { ac.call(this); this.status = 1; }
1450
- r(Rd, ac);
1472
+ r(Pd, Yb);
1473
+ function Qd() { Zb.call(this); this.status = 1; }
1474
+ r(Qd, Zb);
1451
1475
  function R(a) { this.g = a; }
1452
- r(R, Od);
1476
+ r(R, Nd);
1453
1477
  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()); };
1478
+ R.prototype.Aa = function (a) { C(this.g, new Pd(a)); };
1479
+ R.prototype.za = function (a) { C(this.g, new Qd()); };
1456
1480
  R.prototype.ya = function () { C(this.g, "b"); };
1457
- function Sd() { this.blockSize = -1; }
1481
+ function Rd() { this.blockSize = -1; }
1458
1482
  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);
1483
+ r(S, Rd);
1460
1484
  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) {
1485
+ function Sd(a, b, c) {
1462
1486
  c || (c = 0);
1463
1487
  var d = Array(16);
1464
1488
  if ("string" === typeof b)
@@ -1613,11 +1637,11 @@ function Td(a, b, c) {
1613
1637
  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
1638
  if (0 == e)
1615
1639
  for (; f <= c;)
1616
- Td(this, a, f), f += this.blockSize;
1640
+ Sd(this, a, f), f += this.blockSize;
1617
1641
  if ("string" === typeof a)
1618
1642
  for (; f < b;) {
1619
1643
  if (d[e++] = a.charCodeAt(f++), e == this.blockSize) {
1620
- Td(this, d);
1644
+ Sd(this, d);
1621
1645
  e = 0;
1622
1646
  break;
1623
1647
  }
@@ -1625,7 +1649,7 @@ S.prototype.j = function (a, b) { void 0 === b && (b = a.length); for (var c = b
1625
1649
  else
1626
1650
  for (; f < b;)
1627
1651
  if (d[e++] = a[f++], e == this.blockSize) {
1628
- Td(this, d);
1652
+ Sd(this, d);
1629
1653
  e = 0;
1630
1654
  break;
1631
1655
  }
@@ -1639,34 +1663,34 @@ function T(a, b) { this.h = b; for (var c = [], d = !0, e = a.length - 1; 0 <= e
1639
1663
  var f = a[e] | 0;
1640
1664
  d && f == b || (c[e] = f, d = !1);
1641
1665
  } 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); }
1666
+ var sa = {};
1667
+ function Td(a) { return -128 <= a && 128 > a ? ra(a, function (b) { return new T([b | 0], 0 > b ? -1 : 0); }) : new T([a | 0], 0 > a ? -1 : 0); }
1644
1668
  function U(a) { if (isNaN(a) || !isFinite(a))
1645
1669
  return V; if (0 > a)
1646
1670
  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)
1671
+ b[d] = a / c | 0, c *= Ud; return new T(b, 0); }
1672
+ function Vd(a, b) { if (0 == a.length)
1649
1673
  throw Error("number format error: empty string"); b = b || 10; if (2 > b || 36 < b)
1650
1674
  throw Error("radix out of range: " + b); if ("-" == a.charAt(0))
1651
- return W(Xd(a.substring(1), b)); if (0 <= a.indexOf("-"))
1675
+ return W(Vd(a.substring(1), b)); if (0 <= a.indexOf("-"))
1652
1676
  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
1677
  var f = Math.min(8, a.length - e), h = parseInt(a.substring(e, e + f), b);
1654
1678
  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
1679
  } return d; }
1656
- var Wd = 4294967296, V = Vd(0), Yd = Vd(1), Zd = Vd(16777216);
1680
+ var Ud = 4294967296, V = Td(0), Wd = Td(1), Xd = Td(16777216);
1657
1681
  k = T.prototype;
1658
1682
  k.ea = function () { if (X(this))
1659
1683
  return -W(this).ea(); for (var a = 0, b = 1, c = 0; c < this.g.length; c++) {
1660
1684
  var d = this.D(c);
1661
- a += (0 <= d ? d : Wd + d) * b;
1662
- b *= Wd;
1685
+ a += (0 <= d ? d : Ud + d) * b;
1686
+ b *= Ud;
1663
1687
  } return a; };
1664
1688
  k.toString = function (a) { a = a || 10; if (2 > a || 36 < a)
1665
1689
  throw Error("radix out of range: " + a); if (Y(this))
1666
1690
  return "0"; if (X(this))
1667
1691
  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));
1692
+ var e = Yd(c, b).g;
1693
+ c = Zd(c, e.R(b));
1670
1694
  var f = ((0 < c.g.length ? c.g[0] : c.h) >>> 0).toString(a);
1671
1695
  c = e;
1672
1696
  if (Y(c))
@@ -1681,9 +1705,9 @@ function Y(a) { if (0 != a.h)
1681
1705
  if (0 != a.g[b])
1682
1706
  return !1; return !0; }
1683
1707
  function X(a) { return -1 == a.h; }
1684
- k.X = function (a) { a = ae(this, a); return X(a) ? -1 : Y(a) ? 0 : 1; };
1708
+ k.X = function (a) { a = Zd(this, a); return X(a) ? -1 : Y(a) ? 0 : 1; };
1685
1709
  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); }
1710
+ c[d] = ~a.g[d]; return (new T(c, ~a.h)).add(Wd); }
1687
1711
  k.abs = function () { return X(this) ? W(this) : this; };
1688
1712
  k.add = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0, e = 0; e <= b; e++) {
1689
1713
  var f = d + (this.D(e) & 65535) + (a.D(e) & 65535), h = (f >>> 16) + (this.D(e) >>> 16) + (a.D(e) >>> 16);
@@ -1692,7 +1716,7 @@ k.add = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [],
1692
1716
  h &= 65535;
1693
1717
  c[e] = h << 16 | f;
1694
1718
  } return new T(c, c[c.length - 1] & -2147483648 ? -1 : 0); };
1695
- function ae(a, b) { return a.add(W(b)); }
1719
+ function Zd(a, b) { return a.add(W(b)); }
1696
1720
  k.R = function (a) {
1697
1721
  if (Y(this) || Y(a))
1698
1722
  return V;
@@ -1700,21 +1724,21 @@ k.R = function (a) {
1700
1724
  return X(a) ? W(this).R(W(a)) : W(W(this).R(a));
1701
1725
  if (X(a))
1702
1726
  return W(this.R(W(a)));
1703
- if (0 > this.X(Zd) && 0 > a.X(Zd))
1727
+ if (0 > this.X(Xd) && 0 > a.X(Xd))
1704
1728
  return U(this.ea() * a.ea());
1705
1729
  for (var b = this.g.length + a.g.length, c = [], d = 0; d < 2 * b; d++)
1706
1730
  c[d] = 0;
1707
1731
  for (d = 0; d < this.g.length; d++)
1708
1732
  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;
1733
+ var f = this.D(d) >>> 16, h = this.D(d) & 65535, n = a.D(e) >>> 16, t = a.D(e) & 65535;
1710
1734
  c[2 * d + 2 * e] += h * t;
1711
- be(c, 2 * d + 2 * e);
1735
+ $d(c, 2 * d + 2 * e);
1712
1736
  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);
1737
+ $d(c, 2 * d + 2 * e + 1);
1738
+ c[2 * d + 2 * e + 1] += h * n;
1739
+ $d(c, 2 * d + 2 * e + 1);
1740
+ c[2 * d + 2 * e + 2] += f * n;
1741
+ $d(c, 2 * d + 2 * e + 2);
1718
1742
  }
1719
1743
  for (d =
1720
1744
  0; d < b; d++)
@@ -1723,23 +1747,23 @@ k.R = function (a) {
1723
1747
  c[d] = 0;
1724
1748
  return new T(c, 0);
1725
1749
  };
1726
- function be(a, b) { for (; (a[b] & 65535) != a[b];)
1750
+ function $d(a, b) { for (; (a[b] & 65535) != a[b];)
1727
1751
  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) {
1752
+ function ae(a, b) { this.g = a; this.h = b; }
1753
+ function Yd(a, b) {
1730
1754
  if (Y(b))
1731
1755
  throw Error("division by zero");
1732
1756
  if (Y(a))
1733
- return new ce(V, V);
1757
+ return new ae(V, V);
1734
1758
  if (X(a))
1735
- return b = $d(W(a), b), new ce(W(b.g), W(b.h));
1759
+ return b = Yd(W(a), b), new ae(W(b.g), W(b.h));
1736
1760
  if (X(b))
1737
- return b = $d(a, W(b)), new ce(W(b.g), b.h);
1761
+ return b = Yd(a, W(b)), new ae(W(b.g), b.h);
1738
1762
  if (30 < a.g.length) {
1739
1763
  if (X(a) || X(b))
1740
1764
  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);
1765
+ for (var c = Wd, d = b; 0 >= d.X(a);)
1766
+ c = be(c), d = be(d);
1743
1767
  var e = Z(c, 1), f = Z(d, 1);
1744
1768
  d = Z(d, 2);
1745
1769
  for (c = Z(c, 2); !Y(d);) {
@@ -1748,8 +1772,8 @@ function $d(a, b) {
1748
1772
  d = Z(d, 1);
1749
1773
  c = Z(c, 1);
1750
1774
  }
1751
- b = ae(a, e.R(b));
1752
- return new ce(e, b);
1775
+ b = Zd(a, e.R(b));
1776
+ return new ae(e, b);
1753
1777
  }
1754
1778
  for (e = V; 0 <= a.X(b);) {
1755
1779
  c = Math.max(1, Math.floor(a.ea() /
@@ -1759,36 +1783,36 @@ function $d(a, b) {
1759
1783
  f = U(c);
1760
1784
  for (h = f.R(b); X(h) || 0 < h.X(a);)
1761
1785
  c -= d, f = U(c), h = f.R(b);
1762
- Y(f) && (f = Yd);
1786
+ Y(f) && (f = Wd);
1763
1787
  e = e.add(f);
1764
- a = ae(a, h);
1788
+ a = Zd(a, h);
1765
1789
  }
1766
- return new ce(e, a);
1790
+ return new ae(e, a);
1767
1791
  }
1768
- k.gb = function (a) { return $d(this, a).h; };
1792
+ k.gb = function (a) { return Yd(this, a).h; };
1769
1793
  k.and = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0; d < b; d++)
1770
1794
  c[d] = this.D(d) & a.D(d); return new T(c, this.h & a.h); };
1771
1795
  k.or = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0; d < b; d++)
1772
1796
  c[d] = this.D(d) | a.D(d); return new T(c, this.h | a.h); };
1773
1797
  k.xor = function (a) { for (var b = Math.max(this.g.length, a.g.length), c = [], d = 0; d < b; d++)
1774
1798
  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++)
1799
+ function be(a) { for (var b = a.g.length + 1, c = [], d = 0; d < b; d++)
1776
1800
  c[d] = a.D(d) << 1 | a.D(d - 1) >>> 31; return new T(c, a.h); }
1777
1801
  function Z(a, b) { var c = b >> 5; b %= 32; for (var d = a.g.length - c, e = [], f = 0; f < d; f++)
1778
1802
  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;
1803
+ Od.prototype.createWebChannel = Od.prototype.g;
1780
1804
  Q.prototype.send = Q.prototype.u;
1781
1805
  Q.prototype.open = Q.prototype.m;
1782
1806
  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";
1807
+ Sb.NO_ERROR = 0;
1808
+ Sb.TIMEOUT = 8;
1809
+ Sb.HTTP_ERROR = 6;
1810
+ Tb.COMPLETE = "complete";
1811
+ Wb.EventType = Xb;
1812
+ Xb.OPEN = "a";
1813
+ Xb.CLOSE = "b";
1814
+ Xb.ERROR = "c";
1815
+ Xb.MESSAGE = "d";
1792
1816
  B.prototype.listen = B.prototype.O;
1793
1817
  P.prototype.listenOnce = P.prototype.P;
1794
1818
  P.prototype.getLastError = P.prototype.Sa;
@@ -1809,15 +1833,15 @@ T.prototype.toNumber = T.prototype.ea;
1809
1833
  T.prototype.toString = T.prototype.toString;
1810
1834
  T.prototype.getBits = T.prototype.D;
1811
1835
  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;
1836
+ T.fromString = Vd;
1837
+ var createWebChannelTransport = esm.createWebChannelTransport = function () { return new Od; };
1838
+ var getStatEventTarget = esm.getStatEventTarget = function () { return Mb(); };
1839
+ var ErrorCode = esm.ErrorCode = Sb;
1840
+ var EventType = esm.EventType = Tb;
1817
1841
  var Event = esm.Event = E;
1818
1842
  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;
1843
+ var FetchXmlHttpFactory = esm.FetchXmlHttpFactory = ld;
1844
+ var WebChannel = esm.WebChannel = Wb;
1821
1845
  var XhrIo = esm.XhrIo = P;
1822
1846
  var Md5 = esm.Md5 = S;
1823
1847
  var Integer = esm.Integer = T;