everest-npm-features 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert-BtAF4uo6.js +342 -0
- package/dist/{ArrowDropDown-DRUQbGft.js → ArrowDropDown-HhWGPJLx.js} +1 -1
- package/dist/{ArrowRight-t-YgAHUn.js → ArrowRight-D1Uf-LL_.js} +1 -1
- package/dist/{Box-BOgpENcC.js → Box-Bt8cGqC7.js} +4 -4
- package/dist/{Button-DXdgxFxa.js → Button-S_vW7i_8.js} +4 -4
- package/dist/{ButtonBase-AOLUTpPg.js → ButtonBase-ILHWXvZi.js} +5 -5
- package/dist/{Cancel-kWZwZbQf.js → Cancel-5JDQ2Kc0.js} +1 -1
- package/dist/{CardContent-DEA5pnhr.js → CardContent-BLsvyJUZ.js} +3 -3
- package/dist/CheckCircle-Czm8oSt7.js +8 -0
- package/dist/{CircularProgress-BAEiXRSn.js → CircularProgress-DYCklg37.js} +3 -3
- package/dist/{Close-mXCsZSxZ.js → Close-BMBeNE5d.js} +1 -1
- package/dist/{Container-BOehNoF1.js → Container-Htc6vdB5.js} +4 -4
- package/dist/{ContentCopy-HD_Xx6nx.js → ContentCopy-C-P8eJzn.js} +1 -1
- package/dist/{DefaultPropsProvider-DmUB0SYC.js → DefaultPropsProvider-BV5W_lW_.js} +3 -3
- package/dist/{DefaultPropsProvider-tqUom3mB.js → DefaultPropsProvider-CMlwfX3T.js} +1 -1
- package/dist/{Delete-BbHDZPfy.js → Delete-Dfs1xFC1.js} +1 -1
- package/dist/{DialogContent-zttWtNJM.js → DialogContent-BgKUjL4i.js} +6 -6
- package/dist/{DialogTitle-BqL8DXBp.js → DialogTitle-1A1JxHKy.js} +4 -4
- package/dist/{Divider-EGEkrkBH.js → Divider-CeyW_GlS.js} +3 -3
- package/dist/{FormControl-Nd-4LC8N.js → FormControl-CKGUH1ax.js} +3 -3
- package/dist/{FormControlLabel-BMeMEwyK.js → FormControlLabel-Do2nmNuE.js} +7 -7
- package/dist/{GlobalStyles-CModZHM-.js → GlobalStyles-BUcuFXdM.js} +2 -2
- package/dist/{Grid-EISqvBSJ.js → Grid-LdrR4mx1.js} +5 -5
- package/dist/{Grid2-B0mJbwjl.js → Grid2-IYppkw5f.js} +6 -6
- package/dist/{Grow-dkRwE_ok.js → Grow-Cl5q_s4E.js} +5 -5
- package/dist/{IconButton-DAR3jsEV.js → IconButton-DJRmyJ7l.js} +3 -3
- package/dist/{Info-CkE3Gsf2.js → Info-DTcjrneu.js} +1 -1
- package/dist/{InputAdornment-DZJP9Njd.js → InputAdornment-HG4f5A6g.js} +3 -3
- package/dist/Link-BoX8sDwo.js +263 -0
- package/dist/{ListItemIcon-JAntieDc.js → ListItemIcon-SEyOLp6t.js} +4 -4
- package/dist/{MenuItem-D12FP5Iq.js → MenuItem-DI0pq5k0.js} +6 -6
- package/dist/{Modal-DceAu_d2.js → Modal-DXE_7QA2.js} +9 -9
- package/dist/{Paper-L8ipwfkc.js → Paper-B2H6ZIFg.js} +3 -3
- package/dist/{PlayArrow-Dwss80PJ.js → PlayArrow-DNFHtcCO.js} +6 -6
- package/dist/{Portal-DxdKGEvu.js → Portal-lSfc4EZw.js} +3 -3
- package/dist/{Select-DTQDmdn_.js → Select-Bs7YLhIQ.js} +15 -15
- package/dist/{Slide-CWqC2RDG.js → Slide-BjOaaE2D.js} +4 -4
- package/dist/{Stack-CkCveRRR.js → Stack-Ce-OQAtj.js} +5 -5
- package/dist/{TextField-BqIvz6Zw.js → TextField-D4JEGFa0.js} +7 -7
- package/dist/{Typography-Dx54MRM5.js → Typography-Du8mj1kr.js} +3 -3
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -0
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/auth-Czk2iJ8q.js +58 -0
- package/dist/{bank-CRy2oyUW.js → bank-D37HPNrs.js} +1 -1
- package/dist/components/Account/index.js +15 -15
- package/dist/components/History/index.js +13 -13
- package/dist/components/MoveToEthereumOrEverChain/index.js +31 -31
- package/dist/components/Profile/documents.js +16 -16
- package/dist/components/Profile/index.js +13 -13
- package/dist/components/Receive/index.js +9 -9
- package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +17 -0
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +16 -0
- package/dist/components/RocketRamp/Player/Buy/form.js +26 -0
- package/dist/components/RocketRamp/{Buy → Player/Buy}/index.d.ts +1 -1
- package/dist/components/RocketRamp/Player/Buy/index.js +35 -0
- package/dist/components/RocketRamp/{Buy → Player/Buy}/types.d.ts +2 -2
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.js +8 -8
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.d.ts +1 -1
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.js +15 -17
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.js +6 -6
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.d.ts +3 -0
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +20 -0
- package/dist/components/RocketRamp/Player/Sell/form.d.ts +3 -0
- package/dist/components/RocketRamp/Player/Sell/form.js +26 -0
- package/dist/components/RocketRamp/Player/Sell/index.d.ts +7 -0
- package/dist/components/RocketRamp/Player/Sell/index.js +36 -0
- package/dist/components/RocketRamp/Player/Sell/types.d.ts +35 -0
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.d.ts +1 -1
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.js +9 -9
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.js +8 -8
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.js +12 -12
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/email.d.ts +1 -1
- package/dist/components/RocketRamp/Player/SignUp/email.js +73 -0
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.d.ts +1 -1
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.js +26 -24
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/personalInfo.d.ts +1 -1
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +165 -0
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.js +4 -4
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/types.d.ts +2 -0
- package/dist/components/RocketRamp/Player/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.js +6 -6
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.d.ts +2 -1
- package/dist/components/RocketRamp/Shared/Input/index.js +25 -23
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.d.ts +9 -0
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +75 -0
- package/dist/components/RocketRamp/Store/Dashboard/index.d.ts +5 -0
- package/dist/components/RocketRamp/Store/Dashboard/index.js +64 -0
- package/dist/components/RocketRamp/Store/Dashboard/transaction.d.ts +8 -0
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +28 -0
- package/dist/components/RocketRamp/Store/SignUp/index.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/index.js +158 -0
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +164 -0
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +136 -0
- package/dist/components/RocketRamp/Store/SignUp/summary.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/summary.js +55 -0
- package/dist/components/RocketRamp/Store/SignUp/types.d.ts +49 -0
- package/dist/components/RocketRamp/Store/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +100 -0
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Send/index.js +14 -14
- package/dist/components/Shared/ConnectWallet/index.js +10 -10
- package/dist/components/Shared/HistoryItem/index.js +45 -45
- package/dist/components/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Shared/TokenModal/index.js +11 -11
- package/dist/components/Shared/TokenModal/tokenGrid.js +4 -4
- package/dist/components/Shared/addBank.js +10 -10
- package/dist/components/Shared/button.js +1 -1
- package/dist/components/Shared/connectPlaidBank.js +5 -5
- package/dist/components/Shared/incode.js +9 -9
- package/dist/components/Shared/inputField.js +1 -1
- package/dist/components/Shared/noData.js +2 -2
- package/dist/components/Shared/pin.js +3 -3
- package/dist/components/Shared/step.js +2 -2
- package/dist/components/Shared/tooltip.js +77 -77
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/SignIn/index.js +15 -15
- package/dist/components/SignUp/index.js +4 -4
- package/dist/components/SignUp/pin.js +10 -10
- package/dist/components/SignUp/privacy.js +2 -2
- package/dist/components/SignUp/terms.js +2 -2
- package/dist/components/SignUp/userInfo.js +3 -3
- package/dist/components/Stake/gems/index.js +10 -10
- package/dist/components/Stake/id/index.js +11 -11
- package/dist/components/Stake/index.js +9 -9
- package/dist/components/Swap/index.js +14 -14
- package/dist/components/SwapAndUniSwap/index.js +3 -3
- package/dist/components/WalletPortfolio/index.js +14 -14
- package/dist/components/WalletPortfolio/tokenRow.js +6 -6
- package/dist/{constants-Bg2zYFVK.js → constants-Bb9tNMO0.js} +336 -332
- package/dist/{createSvgIcon-jkXneOQN.js → createSvgIcon-DhzhBkIq.js} +2 -2
- package/dist/{createTheme-F9Dk4FhK.js → createTheme-BYjetuXd.js} +3 -3
- package/dist/defaultTheme-BauSyTuG.js +5 -0
- package/dist/{dividerClasses-SUAUDDqL.js → dividerClasses-DxWPaPyZ.js} +2 -2
- package/dist/{documents-BGFSTan8.js → documents-DvBUIEko.js} +26 -26
- package/dist/{elementTypeAcceptingRef-BufevUW8.js → elementTypeAcceptingRef-BPeKuzZ8.js} +1 -1
- package/dist/{emotion-react.browser.esm-CI0uV1W5.js → emotion-react.browser.esm-GqNZEJqq.js} +2 -2
- package/dist/{extendSxProp-Cm2UBzGf.js → extendSxProp-Ydv2_GZV.js} +1 -1
- package/dist/fiatAssets-Dymvf3Le.js +8 -0
- package/dist/hoc/withThemeProvider.js +5 -5
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +292 -625
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BJlsh9ro.js → index-BiAKQoFR.js} +1 -1
- package/dist/{index-CX4sR9ID.js → index-CMHIKDWK.js} +127 -129
- package/dist/{index-_kqRfgnc.js → index-CrpPVKHn.js} +5 -5
- package/dist/index-DYCdRrDV.js +670 -0
- package/dist/main.d.ts +6 -4
- package/dist/main.js +21 -17
- package/dist/order-DMts-8Nr.js +30 -0
- package/dist/{ownerWindow-C-760D__.js → ownerWindow-mVfGbIa3.js} +1 -1
- package/dist/{resolveComponentProps-BdTgLKBb.js → resolveComponentProps-q6q4ysGz.js} +1 -1
- package/dist/{stake-CQWZT4ug.js → stake-BRmggIPz.js} +1 -1
- package/dist/store.d.ts +3 -1
- package/dist/styled-wRBkgUU9.js +5 -0
- package/dist/{tokenRow-CgnPD-4U.js → tokenRow-g9IBe02c.js} +5 -5
- package/dist/{useSlot-DaP6eodX.js → useSlot-D3uYAK6m.js} +1 -1
- package/dist/useTheme-CqTIiZp7.js +9 -0
- package/dist/{useTheme-c0OHvtiA.js → useTheme-D5is61S1.js} +3 -3
- package/dist/{useThemeProps-CV9AmzHf.js → useThemeProps-PA8LTWC3.js} +4 -4
- package/dist/{useThemeWithoutDefault-D8MaPbCK.js → useThemeWithoutDefault-Dka2QjJP.js} +1 -1
- package/dist/{useTimeout-D29bZ7Gz.js → useTimeout-Bcu0-_W1.js} +3 -3
- package/dist/user-CsPLUenD.js +24 -0
- package/dist/util/functions.d.ts +1 -0
- package/dist/util/functions.js +9 -2
- package/dist/{utils-EFg3So7T.js → utils-gxE2aXKK.js} +1 -1
- package/dist/{wallet-CmeFL8-U.js → wallet-Dfn4nFOn.js} +12 -12
- package/package.json +2 -2
- package/dist/auth-NmISGQ2S.js +0 -46
- package/dist/components/RocketRamp/Buy/cardPayment.js +0 -17
- package/dist/components/RocketRamp/Buy/confirmTransaction.js +0 -16
- package/dist/components/RocketRamp/Buy/form.js +0 -26
- package/dist/components/RocketRamp/Buy/index.js +0 -34
- package/dist/components/RocketRamp/SignUp/email.js +0 -70
- package/dist/components/RocketRamp/SignUp/personalInfo.js +0 -415
- package/dist/defaultTheme-Bc00Q3Kt.js +0 -5
- package/dist/order-CtACU1eX.js +0 -27
- package/dist/styled-BTIMwpiX.js +0 -5
- package/dist/useTheme-BghcbbEW.js +0 -9
- package/dist/user-Djw_k_OF.js +0 -24
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/cardPayment.d.ts +0 -0
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/confirmTransaction.d.ts +0 -0
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/form.d.ts +0 -0
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/types.js +0 -0
- /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.d.ts +0 -0
- /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/Sell}/types.js +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/types.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignUp → Player/SignIn}/types.js +0 -0
- /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.d.ts +0 -0
|
@@ -53,8 +53,8 @@ const li = function(r) {
|
|
|
53
53
|
const T = r[o++];
|
|
54
54
|
i[c++] = String.fromCharCode((d & 31) << 6 | T & 63);
|
|
55
55
|
} else if (d > 239 && d < 365) {
|
|
56
|
-
const T = r[o++], m = r[o++], y = r[o++],
|
|
57
|
-
i[c++] = String.fromCharCode(55296 + (
|
|
56
|
+
const T = r[o++], m = r[o++], y = r[o++], A = ((d & 7) << 18 | (T & 63) << 12 | (m & 63) << 6 | y & 63) - 65536;
|
|
57
|
+
i[c++] = String.fromCharCode(55296 + (A >> 10)), i[c++] = String.fromCharCode(56320 + (A & 1023));
|
|
58
58
|
} else {
|
|
59
59
|
const T = r[o++], m = r[o++];
|
|
60
60
|
i[c++] = String.fromCharCode((d & 15) << 12 | (T & 63) << 6 | m & 63);
|
|
@@ -120,9 +120,9 @@ const li = function(r) {
|
|
|
120
120
|
this.init_();
|
|
121
121
|
const o = i ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, c = [];
|
|
122
122
|
for (let d = 0; d < r.length; d += 3) {
|
|
123
|
-
const T = r[d], m = d + 1 < r.length, y = m ? r[d + 1] : 0,
|
|
124
|
-
let
|
|
125
|
-
|
|
123
|
+
const T = r[d], m = d + 1 < r.length, y = m ? r[d + 1] : 0, A = d + 2 < r.length, v = A ? r[d + 2] : 0, b = T >> 2, H = (T & 3) << 4 | y >> 4;
|
|
124
|
+
let L = (y & 15) << 2 | v >> 6, W = v & 63;
|
|
125
|
+
A || (W = 64, m || (L = 64)), c.push(o[b], o[H], o[L], o[W]);
|
|
126
126
|
}
|
|
127
127
|
return c.join("");
|
|
128
128
|
},
|
|
@@ -169,16 +169,16 @@ const li = function(r) {
|
|
|
169
169
|
for (let d = 0; d < r.length; ) {
|
|
170
170
|
const T = o[r.charAt(d++)], y = d < r.length ? o[r.charAt(d)] : 0;
|
|
171
171
|
++d;
|
|
172
|
-
const
|
|
172
|
+
const v = d < r.length ? o[r.charAt(d)] : 64;
|
|
173
173
|
++d;
|
|
174
|
-
const
|
|
175
|
-
if (++d, T == null || y == null ||
|
|
174
|
+
const H = d < r.length ? o[r.charAt(d)] : 64;
|
|
175
|
+
if (++d, T == null || y == null || v == null || H == null)
|
|
176
176
|
throw new as();
|
|
177
|
-
const
|
|
178
|
-
if (c.push(
|
|
179
|
-
const W = y << 4 & 240 |
|
|
180
|
-
if (c.push(W),
|
|
181
|
-
const w =
|
|
177
|
+
const L = T << 2 | y >> 4;
|
|
178
|
+
if (c.push(L), v !== 64) {
|
|
179
|
+
const W = y << 4 & 240 | v >> 2;
|
|
180
|
+
if (c.push(W), H !== 64) {
|
|
181
|
+
const w = v << 6 & 192 | H;
|
|
182
182
|
c.push(w);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -411,7 +411,7 @@ function Ss() {
|
|
|
411
411
|
]);
|
|
412
412
|
}
|
|
413
413
|
const pi = /* @__PURE__ */ new WeakMap(), Fe = /* @__PURE__ */ new WeakMap(), gi = /* @__PURE__ */ new WeakMap(), be = /* @__PURE__ */ new WeakMap(), Qe = /* @__PURE__ */ new WeakMap();
|
|
414
|
-
function
|
|
414
|
+
function As(r) {
|
|
415
415
|
const i = new Promise((o, c) => {
|
|
416
416
|
const d = () => {
|
|
417
417
|
r.removeEventListener("success", T), r.removeEventListener("error", m);
|
|
@@ -427,7 +427,7 @@ function vs(r) {
|
|
|
427
427
|
}).catch(() => {
|
|
428
428
|
}), Qe.set(i, r), i;
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function vs(r) {
|
|
431
431
|
if (Fe.has(r))
|
|
432
432
|
return;
|
|
433
433
|
const i = new Promise((o, c) => {
|
|
@@ -475,11 +475,11 @@ function Is(r) {
|
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
477
|
function ws(r) {
|
|
478
|
-
return typeof r == "function" ? Is(r) : (r instanceof IDBTransaction &&
|
|
478
|
+
return typeof r == "function" ? Is(r) : (r instanceof IDBTransaction && vs(r), ms(r, ys()) ? new Proxy(r, je) : r);
|
|
479
479
|
}
|
|
480
480
|
function at(r) {
|
|
481
481
|
if (r instanceof IDBRequest)
|
|
482
|
-
return
|
|
482
|
+
return As(r);
|
|
483
483
|
if (be.has(r))
|
|
484
484
|
return be.get(r);
|
|
485
485
|
const i = ws(r);
|
|
@@ -488,15 +488,15 @@ function at(r) {
|
|
|
488
488
|
const Me = (r) => Qe.get(r);
|
|
489
489
|
function Cs(r, i, { blocked: o, upgrade: c, blocking: d, terminated: T } = {}) {
|
|
490
490
|
const m = indexedDB.open(r, i), y = at(m);
|
|
491
|
-
return c && m.addEventListener("upgradeneeded", (
|
|
492
|
-
c(at(m.result),
|
|
493
|
-
}), o && m.addEventListener("blocked", (
|
|
491
|
+
return c && m.addEventListener("upgradeneeded", (A) => {
|
|
492
|
+
c(at(m.result), A.oldVersion, A.newVersion, at(m.transaction), A);
|
|
493
|
+
}), o && m.addEventListener("blocked", (A) => o(
|
|
494
494
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
)), y.then((
|
|
499
|
-
T &&
|
|
495
|
+
A.oldVersion,
|
|
496
|
+
A.newVersion,
|
|
497
|
+
A
|
|
498
|
+
)), y.then((A) => {
|
|
499
|
+
T && A.addEventListener("close", () => T()), d && A.addEventListener("versionchange", (v) => d(v.oldVersion, v.newVersion, v));
|
|
500
500
|
}).catch(() => {
|
|
501
501
|
}), y;
|
|
502
502
|
}
|
|
@@ -513,11 +513,11 @@ function Xn(r, i) {
|
|
|
513
513
|
)
|
|
514
514
|
return;
|
|
515
515
|
const T = async function(m, ...y) {
|
|
516
|
-
const
|
|
517
|
-
let
|
|
518
|
-
return c && (
|
|
519
|
-
|
|
520
|
-
d &&
|
|
516
|
+
const A = this.transaction(m, d ? "readwrite" : "readonly");
|
|
517
|
+
let v = A.store;
|
|
518
|
+
return c && (v = v.index(y.shift())), (await Promise.all([
|
|
519
|
+
v[o](...y),
|
|
520
|
+
d && A.done
|
|
521
521
|
]))[0];
|
|
522
522
|
};
|
|
523
523
|
return Be.set(i, T), T;
|
|
@@ -543,7 +543,7 @@ Rs((r) => ({
|
|
|
543
543
|
* See the License for the specific language governing permissions and
|
|
544
544
|
* limitations under the License.
|
|
545
545
|
*/
|
|
546
|
-
class
|
|
546
|
+
class Ls {
|
|
547
547
|
constructor(i) {
|
|
548
548
|
this.container = i;
|
|
549
549
|
}
|
|
@@ -551,7 +551,7 @@ class Ps {
|
|
|
551
551
|
// auth token refresh, and installations will send this string.
|
|
552
552
|
getPlatformInfoString() {
|
|
553
553
|
return this.container.getProviders().map((o) => {
|
|
554
|
-
if (
|
|
554
|
+
if (Ps(o)) {
|
|
555
555
|
const c = o.getImmediate();
|
|
556
556
|
return `${c.library}/${c.version}`;
|
|
557
557
|
} else
|
|
@@ -559,11 +559,11 @@ class Ps {
|
|
|
559
559
|
}).filter((o) => o).join(" ");
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Ps(r) {
|
|
563
563
|
const i = r.getComponent();
|
|
564
564
|
return (i == null ? void 0 : i.type) === "VERSION";
|
|
565
565
|
}
|
|
566
|
-
const
|
|
566
|
+
const Ve = "@firebase/app", zn = "0.10.10";
|
|
567
567
|
/**
|
|
568
568
|
* @license
|
|
569
569
|
* Copyright 2019 Google LLC
|
|
@@ -580,22 +580,22 @@ const He = "@firebase/app", zn = "0.10.10";
|
|
|
580
580
|
* See the License for the specific language governing permissions and
|
|
581
581
|
* limitations under the License.
|
|
582
582
|
*/
|
|
583
|
-
const nt = new fi("@firebase/app"),
|
|
584
|
-
[
|
|
585
|
-
[
|
|
583
|
+
const nt = new fi("@firebase/app"), Us = "@firebase/app-compat", Ns = "@firebase/analytics-compat", bs = "@firebase/analytics", Ms = "@firebase/app-check-compat", Bs = "@firebase/app-check", ks = "@firebase/auth", xs = "@firebase/auth-compat", Fs = "@firebase/database", js = "@firebase/database-compat", Vs = "@firebase/functions", Hs = "@firebase/functions-compat", Qs = "@firebase/installations", Gs = "@firebase/installations-compat", $s = "@firebase/messaging", Ks = "@firebase/messaging-compat", Ws = "@firebase/performance", Ys = "@firebase/performance-compat", Xs = "@firebase/remote-config", zs = "@firebase/remote-config-compat", qs = "@firebase/storage", Js = "@firebase/storage-compat", Zs = "@firebase/firestore", tr = "@firebase/vertexai-preview", er = "@firebase/firestore-compat", nr = "firebase", ir = "10.13.1", sr = {
|
|
584
|
+
[Ve]: "fire-core",
|
|
585
|
+
[Us]: "fire-core-compat",
|
|
586
586
|
[bs]: "fire-analytics",
|
|
587
|
-
[
|
|
587
|
+
[Ns]: "fire-analytics-compat",
|
|
588
588
|
[Bs]: "fire-app-check",
|
|
589
589
|
[Ms]: "fire-app-check-compat",
|
|
590
590
|
[ks]: "fire-auth",
|
|
591
591
|
[xs]: "fire-auth-compat",
|
|
592
592
|
[Fs]: "fire-rtdb",
|
|
593
593
|
[js]: "fire-rtdb-compat",
|
|
594
|
-
[
|
|
595
|
-
[
|
|
594
|
+
[Vs]: "fire-fn",
|
|
595
|
+
[Hs]: "fire-fn-compat",
|
|
596
596
|
[Qs]: "fire-iid",
|
|
597
|
-
[
|
|
598
|
-
[
|
|
597
|
+
[Gs]: "fire-iid-compat",
|
|
598
|
+
[$s]: "fire-fcm",
|
|
599
599
|
[Ks]: "fire-fcm-compat",
|
|
600
600
|
[Ws]: "fire-perf",
|
|
601
601
|
[Ys]: "fire-perf-compat",
|
|
@@ -675,7 +675,7 @@ const hr = {
|
|
|
675
675
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
|
676
676
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
|
677
677
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
|
678
|
-
},
|
|
678
|
+
}, Ge = new ci("app", "Firebase", hr);
|
|
679
679
|
/**
|
|
680
680
|
* @license
|
|
681
681
|
* Copyright 2019 Google LLC
|
|
@@ -743,7 +743,7 @@ function Ei() {
|
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
}).catch((r) => {
|
|
746
|
-
throw
|
|
746
|
+
throw Ge.create("idb-open", {
|
|
747
747
|
originalErrorMessage: r.message
|
|
748
748
|
});
|
|
749
749
|
})), ke;
|
|
@@ -756,7 +756,7 @@ async function cr(r) {
|
|
|
756
756
|
if (i instanceof yt)
|
|
757
757
|
nt.warn(i.message);
|
|
758
758
|
else {
|
|
759
|
-
const o =
|
|
759
|
+
const o = Ge.create("idb-get", {
|
|
760
760
|
originalErrorMessage: i == null ? void 0 : i.message
|
|
761
761
|
});
|
|
762
762
|
nt.warn(o.message);
|
|
@@ -771,7 +771,7 @@ async function Zn(r, i) {
|
|
|
771
771
|
if (o instanceof yt)
|
|
772
772
|
nt.warn(o.message);
|
|
773
773
|
else {
|
|
774
|
-
const c =
|
|
774
|
+
const c = Ge.create("idb-set", {
|
|
775
775
|
originalErrorMessage: o == null ? void 0 : o.message
|
|
776
776
|
});
|
|
777
777
|
nt.warn(c.message);
|
|
@@ -939,7 +939,7 @@ function ei(r) {
|
|
|
939
939
|
function _r(r) {
|
|
940
940
|
se(new ie(
|
|
941
941
|
"platform-logger",
|
|
942
|
-
(i) => new
|
|
942
|
+
(i) => new Ls(i),
|
|
943
943
|
"PRIVATE"
|
|
944
944
|
/* ComponentType.PRIVATE */
|
|
945
945
|
)), se(new ie(
|
|
@@ -947,7 +947,7 @@ function _r(r) {
|
|
|
947
947
|
(i) => new gr(i),
|
|
948
948
|
"PRIVATE"
|
|
949
949
|
/* ComponentType.PRIVATE */
|
|
950
|
-
)), Tt(
|
|
950
|
+
)), Tt(Ve, zn, r), Tt(Ve, zn, "esm2017"), Tt("fire-js", "");
|
|
951
951
|
}
|
|
952
952
|
_r("");
|
|
953
953
|
var Tr = "firebase", mr = "10.13.1";
|
|
@@ -1045,31 +1045,31 @@ var _i;
|
|
|
1045
1045
|
this.g = l;
|
|
1046
1046
|
}
|
|
1047
1047
|
var y = {};
|
|
1048
|
-
function
|
|
1048
|
+
function A(p) {
|
|
1049
1049
|
return -128 <= p && 128 > p ? T(p, function(h) {
|
|
1050
1050
|
return new m([h | 0], 0 > h ? -1 : 0);
|
|
1051
1051
|
}) : new m([p | 0], 0 > p ? -1 : 0);
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1054
|
-
if (isNaN(p) || !isFinite(p)) return
|
|
1055
|
-
if (0 > p) return
|
|
1053
|
+
function v(p) {
|
|
1054
|
+
if (isNaN(p) || !isFinite(p)) return H;
|
|
1055
|
+
if (0 > p) return U(v(-p));
|
|
1056
1056
|
for (var h = [], l = 1, u = 0; p >= l; u++) h[u] = p / l | 0, l *= 4294967296;
|
|
1057
1057
|
return new m(h, 0);
|
|
1058
1058
|
}
|
|
1059
1059
|
function b(p, h) {
|
|
1060
1060
|
if (p.length == 0) throw Error("number format error: empty string");
|
|
1061
1061
|
if (h = h || 10, 2 > h || 36 < h) throw Error("radix out of range: " + h);
|
|
1062
|
-
if (p.charAt(0) == "-") return
|
|
1062
|
+
if (p.charAt(0) == "-") return U(b(p.substring(1), h));
|
|
1063
1063
|
if (0 <= p.indexOf("-")) throw Error('number format error: interior "-" character');
|
|
1064
|
-
for (var l =
|
|
1064
|
+
for (var l = v(Math.pow(h, 8)), u = H, f = 0; f < p.length; f += 8) {
|
|
1065
1065
|
var E = Math.min(8, p.length - f), a = parseInt(p.substring(f, f + E), h);
|
|
1066
|
-
8 > E ? (E =
|
|
1066
|
+
8 > E ? (E = v(Math.pow(h, E)), u = u.j(E).add(v(a))) : (u = u.j(l), u = u.add(v(a)));
|
|
1067
1067
|
}
|
|
1068
1068
|
return u;
|
|
1069
1069
|
}
|
|
1070
|
-
var
|
|
1070
|
+
var H = A(0), L = A(1), W = A(16777216);
|
|
1071
1071
|
r = m.prototype, r.m = function() {
|
|
1072
|
-
if (M(this)) return -
|
|
1072
|
+
if (M(this)) return -U(this).m();
|
|
1073
1073
|
for (var p = 0, h = 1, l = 0; l < this.g.length; l++) {
|
|
1074
1074
|
var u = this.i(l);
|
|
1075
1075
|
p += (0 <= u ? u : 4294967296 + u) * h, h *= 4294967296;
|
|
@@ -1078,8 +1078,8 @@ var _i;
|
|
|
1078
1078
|
}, r.toString = function(p) {
|
|
1079
1079
|
if (p = p || 10, 2 > p || 36 < p) throw Error("radix out of range: " + p);
|
|
1080
1080
|
if (w(this)) return "0";
|
|
1081
|
-
if (M(this)) return "-" +
|
|
1082
|
-
for (var h =
|
|
1081
|
+
if (M(this)) return "-" + U(this).toString(p);
|
|
1082
|
+
for (var h = v(Math.pow(p, 6)), l = this, u = ""; ; ) {
|
|
1083
1083
|
var f = it(l, h).g;
|
|
1084
1084
|
l = ft(l, f.j(h));
|
|
1085
1085
|
var E = ((0 < l.g.length ? l.g[0] : l.h) >>> 0).toString(p);
|
|
@@ -1101,12 +1101,12 @@ var _i;
|
|
|
1101
1101
|
r.l = function(p) {
|
|
1102
1102
|
return p = ft(this, p), M(p) ? -1 : w(p) ? 0 : 1;
|
|
1103
1103
|
};
|
|
1104
|
-
function
|
|
1104
|
+
function U(p) {
|
|
1105
1105
|
for (var h = p.g.length, l = [], u = 0; u < h; u++) l[u] = ~p.g[u];
|
|
1106
|
-
return new m(l, ~p.h).add(
|
|
1106
|
+
return new m(l, ~p.h).add(L);
|
|
1107
1107
|
}
|
|
1108
1108
|
r.abs = function() {
|
|
1109
|
-
return M(this) ?
|
|
1109
|
+
return M(this) ? U(this) : this;
|
|
1110
1110
|
}, r.add = function(p) {
|
|
1111
1111
|
for (var h = Math.max(this.g.length, p.g.length), l = [], u = 0, f = 0; f <= h; f++) {
|
|
1112
1112
|
var E = u + (this.i(f) & 65535) + (p.i(f) & 65535), a = (E >>> 16) + (this.i(f) >>> 16) + (p.i(f) >>> 16);
|
|
@@ -1115,13 +1115,13 @@ var _i;
|
|
|
1115
1115
|
return new m(l, l[l.length - 1] & -2147483648 ? -1 : 0);
|
|
1116
1116
|
};
|
|
1117
1117
|
function ft(p, h) {
|
|
1118
|
-
return p.add(
|
|
1118
|
+
return p.add(U(h));
|
|
1119
1119
|
}
|
|
1120
1120
|
r.j = function(p) {
|
|
1121
|
-
if (w(this) || w(p)) return
|
|
1122
|
-
if (M(this)) return M(p) ?
|
|
1123
|
-
if (M(p)) return
|
|
1124
|
-
if (0 > this.l(W) && 0 > p.l(W)) return
|
|
1121
|
+
if (w(this) || w(p)) return H;
|
|
1122
|
+
if (M(this)) return M(p) ? U(this).j(U(p)) : U(U(this).j(p));
|
|
1123
|
+
if (M(p)) return U(this.j(U(p)));
|
|
1124
|
+
if (0 > this.l(W) && 0 > p.l(W)) return v(this.m() * p.m());
|
|
1125
1125
|
for (var h = this.g.length + p.g.length, l = [], u = 0; u < 2 * h; u++) l[u] = 0;
|
|
1126
1126
|
for (u = 0; u < this.g.length; u++) for (var f = 0; f < p.g.length; f++) {
|
|
1127
1127
|
var E = this.i(u) >>> 16, a = this.i(u) & 65535, Z = p.i(f) >>> 16, St = p.i(f) & 65535;
|
|
@@ -1139,12 +1139,12 @@ var _i;
|
|
|
1139
1139
|
}
|
|
1140
1140
|
function it(p, h) {
|
|
1141
1141
|
if (w(h)) throw Error("division by zero");
|
|
1142
|
-
if (w(p)) return new Y(
|
|
1143
|
-
if (M(p)) return h = it(
|
|
1144
|
-
if (M(h)) return h = it(p,
|
|
1142
|
+
if (w(p)) return new Y(H, H);
|
|
1143
|
+
if (M(p)) return h = it(U(p), h), new Y(U(h.g), U(h.h));
|
|
1144
|
+
if (M(h)) return h = it(p, U(h)), new Y(U(h.g), h.h);
|
|
1145
1145
|
if (30 < p.g.length) {
|
|
1146
1146
|
if (M(p) || M(h)) throw Error("slowDivide_ only works with positive integers.");
|
|
1147
|
-
for (var l =
|
|
1147
|
+
for (var l = L, u = h; 0 >= u.l(p); ) l = Ft(l), u = Ft(u);
|
|
1148
1148
|
var f = J(l, 1), E = J(u, 1);
|
|
1149
1149
|
for (u = J(u, 2), l = J(l, 2); !w(u); ) {
|
|
1150
1150
|
var a = E.add(u);
|
|
@@ -1152,9 +1152,9 @@ var _i;
|
|
|
1152
1152
|
}
|
|
1153
1153
|
return h = ft(p, f.j(h)), new Y(f, h);
|
|
1154
1154
|
}
|
|
1155
|
-
for (f =
|
|
1156
|
-
for (l = Math.max(1, Math.floor(p.m() / h.m())), u = Math.ceil(Math.log(l) / Math.LN2), u = 48 >= u ? 1 : Math.pow(2, u - 48), E =
|
|
1157
|
-
w(E) && (E =
|
|
1155
|
+
for (f = H; 0 <= p.l(h); ) {
|
|
1156
|
+
for (l = Math.max(1, Math.floor(p.m() / h.m())), u = Math.ceil(Math.log(l) / Math.LN2), u = 48 >= u ? 1 : Math.pow(2, u - 48), E = v(l), a = E.j(h); M(a) || 0 < a.l(p); ) l -= u, E = v(l), a = E.j(h);
|
|
1157
|
+
w(E) && (E = L), f = f.add(E), p = ft(p, a);
|
|
1158
1158
|
}
|
|
1159
1159
|
return new Y(f, p);
|
|
1160
1160
|
}
|
|
@@ -1180,7 +1180,7 @@ var _i;
|
|
|
1180
1180
|
for (var u = p.g.length - l, f = [], E = 0; E < u; E++) f[E] = 0 < h ? p.i(E + l) >>> h | p.i(E + l + 1) << 32 - h : p.i(E + l);
|
|
1181
1181
|
return new m(f, p.h);
|
|
1182
1182
|
}
|
|
1183
|
-
c.prototype.digest = c.prototype.v, c.prototype.reset = c.prototype.s, c.prototype.update = c.prototype.u, m.prototype.add = m.prototype.add, m.prototype.multiply = m.prototype.j, m.prototype.modulo = m.prototype.A, m.prototype.compare = m.prototype.l, m.prototype.toNumber = m.prototype.m, m.prototype.toString = m.prototype.toString, m.prototype.getBits = m.prototype.i, m.fromNumber =
|
|
1183
|
+
c.prototype.digest = c.prototype.v, c.prototype.reset = c.prototype.s, c.prototype.update = c.prototype.u, m.prototype.add = m.prototype.add, m.prototype.multiply = m.prototype.j, m.prototype.modulo = m.prototype.A, m.prototype.compare = m.prototype.l, m.prototype.toNumber = m.prototype.m, m.prototype.toString = m.prototype.toString, m.prototype.getBits = m.prototype.i, m.fromNumber = v, m.fromString = b, _i = m;
|
|
1184
1184
|
}).apply(typeof ni < "u" ? ni : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
1185
1185
|
var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1186
1186
|
(function() {
|
|
@@ -1234,18 +1234,18 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1234
1234
|
SPDX-License-Identifier: Apache-2.0
|
|
1235
1235
|
*/
|
|
1236
1236
|
var m = m || {}, y = this || self;
|
|
1237
|
-
function
|
|
1237
|
+
function A(t) {
|
|
1238
1238
|
var e = typeof t;
|
|
1239
1239
|
return e = e != "object" ? e : t ? Array.isArray(t) ? "array" : e : "null", e == "array" || e == "object" && typeof t.length == "number";
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function v(t) {
|
|
1242
1242
|
var e = typeof t;
|
|
1243
1243
|
return e == "object" && t != null || e == "function";
|
|
1244
1244
|
}
|
|
1245
1245
|
function b(t, e, n) {
|
|
1246
1246
|
return t.call.apply(t.bind, arguments);
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function H(t, e, n) {
|
|
1249
1249
|
if (!t) throw Error();
|
|
1250
1250
|
if (2 < arguments.length) {
|
|
1251
1251
|
var s = Array.prototype.slice.call(arguments, 2);
|
|
@@ -1258,8 +1258,8 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1258
1258
|
return t.apply(e, arguments);
|
|
1259
1259
|
};
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1262
|
-
return
|
|
1261
|
+
function L(t, e, n) {
|
|
1262
|
+
return L = Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? b : H, L.apply(null, arguments);
|
|
1263
1263
|
}
|
|
1264
1264
|
function W(t, e) {
|
|
1265
1265
|
var n = Array.prototype.slice.call(arguments, 1);
|
|
@@ -1285,10 +1285,10 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1285
1285
|
}
|
|
1286
1286
|
return [];
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function U(t, e) {
|
|
1289
1289
|
for (let n = 1; n < arguments.length; n++) {
|
|
1290
1290
|
const s = arguments[n];
|
|
1291
|
-
if (
|
|
1291
|
+
if (A(s)) {
|
|
1292
1292
|
const g = t.length || 0, _ = s.length || 0;
|
|
1293
1293
|
t.length = g + _;
|
|
1294
1294
|
for (let S = 0; S < _; S++) t[g + S] = s[S];
|
|
@@ -1363,8 +1363,8 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1363
1363
|
s.set(e, n), this.h ? this.h.next = s : this.g = s, this.h = s;
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
|
-
var St = new ft(() => new
|
|
1367
|
-
class
|
|
1366
|
+
var St = new ft(() => new Ai(), (t) => t.reset());
|
|
1367
|
+
class Ai {
|
|
1368
1368
|
constructor() {
|
|
1369
1369
|
this.next = this.g = this.h = null;
|
|
1370
1370
|
}
|
|
@@ -1375,13 +1375,13 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1375
1375
|
this.next = this.g = this.h = null;
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
|
-
let
|
|
1378
|
+
let At, vt = !1, ae = new Z(), We = () => {
|
|
1379
1379
|
const t = y.Promise.resolve(void 0);
|
|
1380
|
-
|
|
1381
|
-
t.then(
|
|
1380
|
+
At = () => {
|
|
1381
|
+
t.then(vi);
|
|
1382
1382
|
};
|
|
1383
1383
|
};
|
|
1384
|
-
var
|
|
1384
|
+
var vi = () => {
|
|
1385
1385
|
for (var t; t = a(); ) {
|
|
1386
1386
|
try {
|
|
1387
1387
|
t.h.call(t.g);
|
|
@@ -1391,7 +1391,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1391
1391
|
var e = St;
|
|
1392
1392
|
e.j(t), 100 > e.h && (e.h++, t.next = e.g, e.g = t);
|
|
1393
1393
|
}
|
|
1394
|
-
|
|
1394
|
+
vt = !1;
|
|
1395
1395
|
};
|
|
1396
1396
|
function st() {
|
|
1397
1397
|
this.s = this.s, this.C = this.C;
|
|
@@ -1451,13 +1451,13 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1451
1451
|
function Ci(t, e, n, s, g) {
|
|
1452
1452
|
this.listener = t, this.proxy = null, this.src = e, this.type = n, this.capture = !!s, this.ha = g, this.key = ++wi, this.da = this.fa = !1;
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function Vt(t) {
|
|
1455
1455
|
t.da = !0, t.listener = null, t.proxy = null, t.src = null, t.ha = null;
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function Ht(t) {
|
|
1458
1458
|
this.src = t, this.g = {}, this.h = 0;
|
|
1459
1459
|
}
|
|
1460
|
-
|
|
1460
|
+
Ht.prototype.add = function(t, e, n, s, g) {
|
|
1461
1461
|
var _ = t.toString();
|
|
1462
1462
|
t = this.g[_], t || (t = this.g[_] = [], this.h++);
|
|
1463
1463
|
var S = ue(t, e, s, g);
|
|
@@ -1467,7 +1467,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1467
1467
|
var n = e.type;
|
|
1468
1468
|
if (n in t.g) {
|
|
1469
1469
|
var s = t.g[n], g = Array.prototype.indexOf.call(s, e, void 0), _;
|
|
1470
|
-
(_ = 0 <= g) && Array.prototype.splice.call(s, g, 1), _ && (
|
|
1470
|
+
(_ = 0 <= g) && Array.prototype.splice.call(s, g, 1), _ && (Vt(e), t.g[n].length == 0 && (delete t.g[n], t.h--));
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
1473
|
function ue(t, e, n, s) {
|
|
@@ -1483,12 +1483,12 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1483
1483
|
for (var _ = 0; _ < e.length; _++) Ye(t, e[_], n, s, g);
|
|
1484
1484
|
return null;
|
|
1485
1485
|
}
|
|
1486
|
-
return n = qe(n), t && t[jt] ? t.K(e, n,
|
|
1486
|
+
return n = qe(n), t && t[jt] ? t.K(e, n, v(s) ? !!s.capture : !!s, g) : Di(t, e, n, !1, s, g);
|
|
1487
1487
|
}
|
|
1488
1488
|
function Di(t, e, n, s, g, _) {
|
|
1489
1489
|
if (!e) throw Error("Invalid event type");
|
|
1490
|
-
var S =
|
|
1491
|
-
if (C || (t[ce] = C = new
|
|
1490
|
+
var S = v(g) ? !!g.capture : !!g, C = ge(t);
|
|
1491
|
+
if (C || (t[ce] = C = new Ht(t)), n = C.add(e, n, s, S, _), n.proxy) return n;
|
|
1492
1492
|
if (s = Oi(), n.proxy = s, s.src = t, s.listener = n, t.addEventListener) Ri || (g = S), g === void 0 && (g = !1), t.addEventListener(e.toString(), s, g);
|
|
1493
1493
|
else if (t.attachEvent) t.attachEvent(ze(e.toString()), s);
|
|
1494
1494
|
else if (t.addListener && t.removeListener) t.addListener(s);
|
|
@@ -1499,12 +1499,12 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1499
1499
|
function t(n) {
|
|
1500
1500
|
return e.call(t.src, t.listener, n);
|
|
1501
1501
|
}
|
|
1502
|
-
const e =
|
|
1502
|
+
const e = Li;
|
|
1503
1503
|
return t;
|
|
1504
1504
|
}
|
|
1505
1505
|
function Xe(t, e, n, s, g) {
|
|
1506
1506
|
if (Array.isArray(e)) for (var _ = 0; _ < e.length; _++) Xe(t, e[_], n, s, g);
|
|
1507
|
-
else s =
|
|
1507
|
+
else s = v(s) ? !!s.capture : !!s, n = qe(n), t && t[jt] ? (t = t.i, e = String(e).toString(), e in t.g && (_ = t.g[e], n = ue(_, n, s, g), -1 < n && (Vt(_[n]), Array.prototype.splice.call(_, n, 1), _.length == 0 && (delete t.g[e], t.h--)))) : t && (t = ge(t)) && (e = t.g[e.toString()], t = -1, e && (t = ue(e, n, s, g)), (n = -1 < t ? e[t] : null) && pe(n));
|
|
1508
1508
|
}
|
|
1509
1509
|
function pe(t) {
|
|
1510
1510
|
if (typeof t != "number" && t && !t.da) {
|
|
@@ -1512,14 +1512,14 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1512
1512
|
if (e && e[jt]) le(e.i, t);
|
|
1513
1513
|
else {
|
|
1514
1514
|
var n = t.type, s = t.proxy;
|
|
1515
|
-
e.removeEventListener ? e.removeEventListener(n, s, t.capture) : e.detachEvent ? e.detachEvent(ze(n), s) : e.addListener && e.removeListener && e.removeListener(s), (n = ge(e)) ? (le(n, t), n.h == 0 && (n.src = null, e[ce] = null)) :
|
|
1515
|
+
e.removeEventListener ? e.removeEventListener(n, s, t.capture) : e.detachEvent ? e.detachEvent(ze(n), s) : e.addListener && e.removeListener && e.removeListener(s), (n = ge(e)) ? (le(n, t), n.h == 0 && (n.src = null, e[ce] = null)) : Vt(t);
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
1519
|
function ze(t) {
|
|
1520
1520
|
return t in fe ? fe[t] : fe[t] = "on" + t;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function Li(t, e) {
|
|
1523
1523
|
if (t.da) t = !0;
|
|
1524
1524
|
else {
|
|
1525
1525
|
e = new Rt(e, this);
|
|
@@ -1529,7 +1529,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1529
1529
|
return t;
|
|
1530
1530
|
}
|
|
1531
1531
|
function ge(t) {
|
|
1532
|
-
return t = t[ce], t instanceof
|
|
1532
|
+
return t = t[ce], t instanceof Ht ? t : null;
|
|
1533
1533
|
}
|
|
1534
1534
|
var Ee = "__closure_events_fn_" + (1e9 * Math.random() >>> 0);
|
|
1535
1535
|
function qe(t) {
|
|
@@ -1538,7 +1538,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1538
1538
|
}), t[Ee]);
|
|
1539
1539
|
}
|
|
1540
1540
|
function k() {
|
|
1541
|
-
st.call(this), this.i = new
|
|
1541
|
+
st.call(this), this.i = new Ht(this), this.M = this, this.F = null;
|
|
1542
1542
|
}
|
|
1543
1543
|
w(k, st), k.prototype[jt] = !0, k.prototype.removeEventListener = function(t, e, n, s) {
|
|
1544
1544
|
Xe(this, t, e, n, s);
|
|
@@ -1562,7 +1562,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1562
1562
|
if (k.aa.N.call(this), this.i) {
|
|
1563
1563
|
var t = this.i, e;
|
|
1564
1564
|
for (e in t.g) {
|
|
1565
|
-
for (var n = t.g[e], s = 0; s < n.length; s++)
|
|
1565
|
+
for (var n = t.g[e], s = 0; s < n.length; s++) Vt(n[s]);
|
|
1566
1566
|
delete t.g[e], t.h--;
|
|
1567
1567
|
}
|
|
1568
1568
|
}
|
|
@@ -1578,15 +1578,15 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1578
1578
|
for (var g = !0, _ = 0; _ < e.length; ++_) {
|
|
1579
1579
|
var S = e[_];
|
|
1580
1580
|
if (S && !S.da && S.capture == n) {
|
|
1581
|
-
var C = S.listener,
|
|
1582
|
-
S.fa && le(t.i, S), g = C.call(
|
|
1581
|
+
var C = S.listener, N = S.ha || S.src;
|
|
1582
|
+
S.fa && le(t.i, S), g = C.call(N, s) !== !1 && g;
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
1585
|
return g && !s.defaultPrevented;
|
|
1586
1586
|
}
|
|
1587
1587
|
function Je(t, e, n) {
|
|
1588
|
-
if (typeof t == "function") n && (t =
|
|
1589
|
-
else if (t && typeof t.handleEvent == "function") t =
|
|
1588
|
+
if (typeof t == "function") n && (t = L(t, n));
|
|
1589
|
+
else if (t && typeof t.handleEvent == "function") t = L(t.handleEvent, t);
|
|
1590
1590
|
else throw Error("Invalid listener argument");
|
|
1591
1591
|
return 2147483647 < Number(e) ? -1 : y.setTimeout(t, e || 0);
|
|
1592
1592
|
}
|
|
@@ -1597,7 +1597,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1597
1597
|
const e = t.h;
|
|
1598
1598
|
t.h = null, t.m.apply(null, e);
|
|
1599
1599
|
}
|
|
1600
|
-
class
|
|
1600
|
+
class Pi extends st {
|
|
1601
1601
|
constructor(e, n) {
|
|
1602
1602
|
super(), this.m = e, this.l = n, this.h = null, this.i = !1, this.g = null;
|
|
1603
1603
|
}
|
|
@@ -1623,7 +1623,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1623
1623
|
}, It.prototype.handleEvent = function() {
|
|
1624
1624
|
throw Error("EventHandler.handleEvent not implemented");
|
|
1625
1625
|
};
|
|
1626
|
-
var de = y.JSON.stringify,
|
|
1626
|
+
var de = y.JSON.stringify, Ui = y.JSON.parse, Ni = class {
|
|
1627
1627
|
stringify(t) {
|
|
1628
1628
|
return y.JSON.stringify(t, void 0);
|
|
1629
1629
|
}
|
|
@@ -1666,7 +1666,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1666
1666
|
B.call(this, pt.STAT_EVENT, t), this.stat = e;
|
|
1667
1667
|
}
|
|
1668
1668
|
w(on, B);
|
|
1669
|
-
function
|
|
1669
|
+
function V(t) {
|
|
1670
1670
|
const e = ye();
|
|
1671
1671
|
j(e, new on(e, t));
|
|
1672
1672
|
}
|
|
@@ -1690,8 +1690,8 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1690
1690
|
function Mi(t, e, n, s, g, _) {
|
|
1691
1691
|
t.info(function() {
|
|
1692
1692
|
if (t.g) if (_)
|
|
1693
|
-
for (var S = "", C = _.split("&"),
|
|
1694
|
-
var I = C[
|
|
1693
|
+
for (var S = "", C = _.split("&"), N = 0; N < C.length; N++) {
|
|
1694
|
+
var I = C[N].split("=");
|
|
1695
1695
|
if (1 < I.length) {
|
|
1696
1696
|
var x = I[0];
|
|
1697
1697
|
I = I[1];
|
|
@@ -1747,28 +1747,28 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1747
1747
|
return e;
|
|
1748
1748
|
}
|
|
1749
1749
|
}
|
|
1750
|
-
var Se = { NO_ERROR: 0, gb: 1, tb: 2, sb: 3, nb: 4, rb: 5, ub: 6, Ia: 7, TIMEOUT: 8, xb: 9 }, Fi = { lb: "complete", Hb: "success", Ja: "error", Ia: "abort", zb: "ready", Ab: "readystatechange", TIMEOUT: "timeout", vb: "incrementaldata", yb: "progress", ob: "downloadprogress", Pb: "uploadprogress" },
|
|
1751
|
-
function
|
|
1750
|
+
var Se = { NO_ERROR: 0, gb: 1, tb: 2, sb: 3, nb: 4, rb: 5, ub: 6, Ia: 7, TIMEOUT: 8, xb: 9 }, Fi = { lb: "complete", Hb: "success", Ja: "error", Ia: "abort", zb: "ready", Ab: "readystatechange", TIMEOUT: "timeout", vb: "incrementaldata", yb: "progress", ob: "downloadprogress", Pb: "uploadprogress" }, Ae;
|
|
1751
|
+
function Gt() {
|
|
1752
1752
|
}
|
|
1753
|
-
w(
|
|
1753
|
+
w(Gt, _e), Gt.prototype.g = function() {
|
|
1754
1754
|
return new XMLHttpRequest();
|
|
1755
|
-
},
|
|
1755
|
+
}, Gt.prototype.i = function() {
|
|
1756
1756
|
return {};
|
|
1757
|
-
},
|
|
1757
|
+
}, Ae = new Gt();
|
|
1758
1758
|
function rt(t, e, n, s) {
|
|
1759
1759
|
this.j = t, this.i = e, this.l = n, this.R = s || 1, this.U = new It(this), this.I = 45e3, this.H = null, this.o = !1, this.m = this.A = this.v = this.L = this.F = this.S = this.B = null, this.D = [], this.g = null, this.C = 0, this.s = this.u = null, this.X = -1, this.J = !1, this.O = 0, this.M = null, this.W = this.K = this.T = this.P = !1, this.h = new an();
|
|
1760
1760
|
}
|
|
1761
1761
|
function an() {
|
|
1762
1762
|
this.i = null, this.g = "", this.h = !1;
|
|
1763
1763
|
}
|
|
1764
|
-
var ln = {},
|
|
1764
|
+
var ln = {}, ve = {};
|
|
1765
1765
|
function Re(t, e, n) {
|
|
1766
1766
|
t.L = 1, t.v = Yt(tt(e)), t.m = n, t.P = !0, un(t, null);
|
|
1767
1767
|
}
|
|
1768
1768
|
function un(t, e) {
|
|
1769
|
-
t.F = Date.now(),
|
|
1769
|
+
t.F = Date.now(), $t(t), t.A = tt(t.v);
|
|
1770
1770
|
var n = t.A, s = t.R;
|
|
1771
|
-
Array.isArray(s) || (s = [String(s)]), Rn(n.i, "t", s), t.C = 0, n = t.j.J, t.h = new an(), t.g =
|
|
1771
|
+
Array.isArray(s) || (s = [String(s)]), Rn(n.i, "t", s), t.C = 0, n = t.j.J, t.h = new an(), t.g = Hn(t.j, n ? e : null, !t.m), 0 < t.O && (t.M = new Pi(L(t.Y, t, t.g), t.O)), e = t.U, n = t.g, s = t.ca;
|
|
1772
1772
|
var g = "readystatechange";
|
|
1773
1773
|
Array.isArray(g) || (g && (tn[0] = g.toString()), g = tn);
|
|
1774
1774
|
for (var _ = 0; _ < g.length; _++) {
|
|
@@ -1793,17 +1793,17 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1793
1793
|
const F = et(this.g);
|
|
1794
1794
|
var e = this.g.Ba();
|
|
1795
1795
|
const _t = this.g.Z();
|
|
1796
|
-
if (!(3 > F) && (F != 3 || this.g && (this.h.h || this.g.oa() ||
|
|
1796
|
+
if (!(3 > F) && (F != 3 || this.g && (this.h.h || this.g.oa() || Pn(this.g)))) {
|
|
1797
1797
|
this.J || F != 4 || e == 7 || (e == 8 || 0 >= _t ? Ct(3) : Ct(2)), Ie(this);
|
|
1798
1798
|
var n = this.g.Z();
|
|
1799
1799
|
this.X = n;
|
|
1800
1800
|
e: if (cn(this)) {
|
|
1801
|
-
var s =
|
|
1801
|
+
var s = Pn(this.g);
|
|
1802
1802
|
t = "";
|
|
1803
1803
|
var g = s.length, _ = et(this.g) == 4;
|
|
1804
1804
|
if (!this.h.i) {
|
|
1805
1805
|
if (typeof TextDecoder > "u") {
|
|
1806
|
-
lt(this),
|
|
1806
|
+
lt(this), Lt(this);
|
|
1807
1807
|
var S = "";
|
|
1808
1808
|
break e;
|
|
1809
1809
|
}
|
|
@@ -1816,8 +1816,8 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1816
1816
|
if (this.T && !this.K) {
|
|
1817
1817
|
e: {
|
|
1818
1818
|
if (this.g) {
|
|
1819
|
-
var C,
|
|
1820
|
-
if ((C =
|
|
1819
|
+
var C, N = this.g;
|
|
1820
|
+
if ((C = N.g ? N.g.getResponseHeader("X-HTTP-Initial-Response") : null) && !q(C)) {
|
|
1821
1821
|
var I = C;
|
|
1822
1822
|
break e;
|
|
1823
1823
|
}
|
|
@@ -1826,29 +1826,29 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1826
1826
|
}
|
|
1827
1827
|
if (n = I) gt(this.i, this.l, n, "Initial handshake response via X-HTTP-Initial-Response"), this.K = !0, we(this, n);
|
|
1828
1828
|
else {
|
|
1829
|
-
this.o = !1, this.s = 3,
|
|
1829
|
+
this.o = !1, this.s = 3, V(12), lt(this), Lt(this);
|
|
1830
1830
|
break t;
|
|
1831
1831
|
}
|
|
1832
1832
|
}
|
|
1833
1833
|
if (this.P) {
|
|
1834
1834
|
n = !0;
|
|
1835
1835
|
let z;
|
|
1836
|
-
for (; !this.J && this.C < S.length; ) if (z = ji(this, S), z ==
|
|
1837
|
-
F == 4 && (this.s = 4,
|
|
1836
|
+
for (; !this.J && this.C < S.length; ) if (z = ji(this, S), z == ve) {
|
|
1837
|
+
F == 4 && (this.s = 4, V(14), n = !1), gt(this.i, this.l, null, "[Incomplete Response]");
|
|
1838
1838
|
break;
|
|
1839
1839
|
} else if (z == ln) {
|
|
1840
|
-
this.s = 4,
|
|
1840
|
+
this.s = 4, V(15), gt(this.i, this.l, S, "[Invalid Chunk]"), n = !1;
|
|
1841
1841
|
break;
|
|
1842
1842
|
} else gt(this.i, this.l, z, null), we(this, z);
|
|
1843
|
-
if (cn(this) && this.C != 0 && (this.h.g = this.h.g.slice(this.C), this.C = 0), F != 4 || S.length != 0 || this.h.h || (this.s = 1,
|
|
1843
|
+
if (cn(this) && this.C != 0 && (this.h.g = this.h.g.slice(this.C), this.C = 0), F != 4 || S.length != 0 || this.h.h || (this.s = 1, V(16), n = !1), this.o = this.o && n, !n) gt(this.i, this.l, S, "[Invalid Chunked Response]"), lt(this), Lt(this);
|
|
1844
1844
|
else if (0 < S.length && !this.W) {
|
|
1845
1845
|
this.W = !0;
|
|
1846
1846
|
var x = this.j;
|
|
1847
|
-
x.g == this && x.ba && !x.M && (x.j.info("Great, no buffering proxy detected. Bytes received: " + S.length),
|
|
1847
|
+
x.g == this && x.ba && !x.M && (x.j.info("Great, no buffering proxy detected. Bytes received: " + S.length), Ue(x), x.M = !0, V(11));
|
|
1848
1848
|
}
|
|
1849
1849
|
} else gt(this.i, this.l, S, null), we(this, S);
|
|
1850
|
-
F == 4 && lt(this), this.o && !this.J && (F == 4 ? xn(this.j, this) : (this.o = !1,
|
|
1851
|
-
} else is(this.g), n == 400 && 0 < S.indexOf("Unknown SID") ? (this.s = 3,
|
|
1850
|
+
F == 4 && lt(this), this.o && !this.J && (F == 4 ? xn(this.j, this) : (this.o = !1, $t(this)));
|
|
1851
|
+
} else is(this.g), n == 400 && 0 < S.indexOf("Unknown SID") ? (this.s = 3, V(12)) : (this.s = 0, V(13)), lt(this), Lt(this);
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
1854
|
} catch {
|
|
@@ -1861,17 +1861,17 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1861
1861
|
function ji(t, e) {
|
|
1862
1862
|
var n = t.C, s = e.indexOf(`
|
|
1863
1863
|
`, n);
|
|
1864
|
-
return s == -1 ?
|
|
1864
|
+
return s == -1 ? ve : (n = Number(e.substring(n, s)), isNaN(n) ? ln : (s += 1, s + n > e.length ? ve : (e = e.slice(s, s + n), t.C = s + n, e)));
|
|
1865
1865
|
}
|
|
1866
1866
|
rt.prototype.cancel = function() {
|
|
1867
1867
|
this.J = !0, lt(this);
|
|
1868
1868
|
};
|
|
1869
|
-
function
|
|
1869
|
+
function $t(t) {
|
|
1870
1870
|
t.S = Date.now() + t.I, fn(t, t.I);
|
|
1871
1871
|
}
|
|
1872
1872
|
function fn(t, e) {
|
|
1873
1873
|
if (t.B != null) throw Error("WatchDog timer not null");
|
|
1874
|
-
t.B = Dt(
|
|
1874
|
+
t.B = Dt(L(t.ba, t), e);
|
|
1875
1875
|
}
|
|
1876
1876
|
function Ie(t) {
|
|
1877
1877
|
t.B && (y.clearTimeout(t.B), t.B = null);
|
|
@@ -1879,9 +1879,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1879
1879
|
rt.prototype.ba = function() {
|
|
1880
1880
|
this.B = null;
|
|
1881
1881
|
const t = Date.now();
|
|
1882
|
-
0 <= t - this.S ? (ki(this.i, this.A), this.L != 2 && (Ct(),
|
|
1882
|
+
0 <= t - this.S ? (ki(this.i, this.A), this.L != 2 && (Ct(), V(17)), lt(this), this.s = 2, Lt(this)) : fn(this, this.S - t);
|
|
1883
1883
|
};
|
|
1884
|
-
function
|
|
1884
|
+
function Lt(t) {
|
|
1885
1885
|
t.j.G == 0 || t.J || xn(t.j, t);
|
|
1886
1886
|
}
|
|
1887
1887
|
function lt(t) {
|
|
@@ -1906,9 +1906,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1906
1906
|
if (!n.u) {
|
|
1907
1907
|
if (n.g) if (n.g.F + 3e3 < t.F) te(n), Jt(n);
|
|
1908
1908
|
else break t;
|
|
1909
|
-
|
|
1909
|
+
Pe(n), V(18);
|
|
1910
1910
|
}
|
|
1911
|
-
} else n.za = g[1], 0 < n.za - n.T && 37500 > g[2] && n.F && n.v == 0 && !n.C && (n.C = Dt(
|
|
1911
|
+
} else n.za = g[1], 0 < n.za - n.T && 37500 > g[2] && n.F && n.v == 0 && !n.C && (n.C = Dt(L(n.Za, n), 6e3));
|
|
1912
1912
|
if (1 >= En(n.h) && n.ca) {
|
|
1913
1913
|
try {
|
|
1914
1914
|
n.ca();
|
|
@@ -1935,27 +1935,27 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1935
1935
|
_.g || ee.indexOf("spdy") == -1 && ee.indexOf("quic") == -1 && ee.indexOf("h2") == -1 || (_.j = _.l, _.g = /* @__PURE__ */ new Set(), _.h && (De(_, _.h), _.h = null));
|
|
1936
1936
|
}
|
|
1937
1937
|
if (s.D) {
|
|
1938
|
-
const
|
|
1939
|
-
|
|
1938
|
+
const Ne = z.g ? z.g.getResponseHeader("X-HTTP-Session-Id") : null;
|
|
1939
|
+
Ne && (s.ya = Ne, O(s.I, s.D, Ne));
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
1942
|
n.G = 3, n.l && n.l.ua(), n.ba && (n.R = Date.now() - t.F, n.j.info("Handshake RTT: " + n.R + "ms")), s = n;
|
|
1943
1943
|
var S = t;
|
|
1944
|
-
if (s.qa =
|
|
1944
|
+
if (s.qa = Vn(s, s.J ? s.ia : null, s.W), S.K) {
|
|
1945
1945
|
dn(s.h, S);
|
|
1946
|
-
var C = S,
|
|
1947
|
-
|
|
1946
|
+
var C = S, N = s.L;
|
|
1947
|
+
N && (C.I = N), C.B && (Ie(C), $t(C)), s.g = S;
|
|
1948
1948
|
} else Bn(s);
|
|
1949
1949
|
0 < n.i.length && Zt(n);
|
|
1950
1950
|
} else I[0] != "stop" && I[0] != "close" || ct(n, 7);
|
|
1951
|
-
else n.G == 3 && (I[0] == "stop" || I[0] == "close" ? I[0] == "stop" ? ct(n, 7) :
|
|
1951
|
+
else n.G == 3 && (I[0] == "stop" || I[0] == "close" ? I[0] == "stop" ? ct(n, 7) : Le(n) : I[0] != "noop" && n.l && n.l.ta(I), n.v = 0);
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
Ct(4);
|
|
1955
1955
|
} catch {
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
|
-
var
|
|
1958
|
+
var Vi = class {
|
|
1959
1959
|
constructor(t, e) {
|
|
1960
1960
|
this.g = t, this.map = e;
|
|
1961
1961
|
}
|
|
@@ -1994,11 +1994,11 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1994
1994
|
}
|
|
1995
1995
|
return M(t.i);
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function Hi(t) {
|
|
1998
1998
|
if (t.V && typeof t.V == "function") return t.V();
|
|
1999
1999
|
if (typeof Map < "u" && t instanceof Map || typeof Set < "u" && t instanceof Set) return Array.from(t.values());
|
|
2000
2000
|
if (typeof t == "string") return t.split("");
|
|
2001
|
-
if (
|
|
2001
|
+
if (A(t)) {
|
|
2002
2002
|
for (var e = [], n = t.length, s = 0; s < n; s++) e.push(t[s]);
|
|
2003
2003
|
return e;
|
|
2004
2004
|
}
|
|
@@ -2011,7 +2011,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2011
2011
|
if (!t.V || typeof t.V != "function") {
|
|
2012
2012
|
if (typeof Map < "u" && t instanceof Map) return Array.from(t.keys());
|
|
2013
2013
|
if (!(typeof Set < "u" && t instanceof Set)) {
|
|
2014
|
-
if (
|
|
2014
|
+
if (A(t) || typeof t == "string") {
|
|
2015
2015
|
var e = [];
|
|
2016
2016
|
t = t.length;
|
|
2017
2017
|
for (var n = 0; n < t; n++) e.push(n);
|
|
@@ -2025,11 +2025,11 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2025
2025
|
}
|
|
2026
2026
|
function Tn(t, e) {
|
|
2027
2027
|
if (t.forEach && typeof t.forEach == "function") t.forEach(e, void 0);
|
|
2028
|
-
else if (
|
|
2029
|
-
else for (var n = Qi(t), s =
|
|
2028
|
+
else if (A(t) || typeof t == "string") Array.prototype.forEach.call(t, e, void 0);
|
|
2029
|
+
else for (var n = Qi(t), s = Hi(t), g = s.length, _ = 0; _ < g; _++) e.call(void 0, s[_], n && n[_], t);
|
|
2030
2030
|
}
|
|
2031
2031
|
var mn = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
|
|
2032
|
-
function
|
|
2032
|
+
function Gi(t, e) {
|
|
2033
2033
|
if (t) {
|
|
2034
2034
|
t = t.split("&");
|
|
2035
2035
|
for (var n = 0; n < t.length; n++) {
|
|
@@ -2045,21 +2045,21 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2045
2045
|
function ut(t) {
|
|
2046
2046
|
if (this.g = this.o = this.j = "", this.s = null, this.m = this.l = "", this.h = !1, t instanceof ut) {
|
|
2047
2047
|
this.h = t.h, Kt(this, t.j), this.o = t.o, this.g = t.g, Wt(this, t.s), this.l = t.l;
|
|
2048
|
-
var e = t.i, n = new
|
|
2048
|
+
var e = t.i, n = new Nt();
|
|
2049
2049
|
n.i = e.i, e.g && (n.g = new Map(e.g), n.h = e.h), yn(this, n), this.m = t.m;
|
|
2050
|
-
} else t && (e = String(t).match(mn)) ? (this.h = !1, Kt(this, e[1] || "", !0), this.o =
|
|
2050
|
+
} else t && (e = String(t).match(mn)) ? (this.h = !1, Kt(this, e[1] || "", !0), this.o = Pt(e[2] || ""), this.g = Pt(e[3] || "", !0), Wt(this, e[4]), this.l = Pt(e[5] || "", !0), yn(this, e[6] || "", !0), this.m = Pt(e[7] || "")) : (this.h = !1, this.i = new Nt(null, this.h));
|
|
2051
2051
|
}
|
|
2052
2052
|
ut.prototype.toString = function() {
|
|
2053
2053
|
var t = [], e = this.j;
|
|
2054
|
-
e && t.push(
|
|
2054
|
+
e && t.push(Ut(e, Sn, !0), ":");
|
|
2055
2055
|
var n = this.g;
|
|
2056
|
-
return (n || e == "file") && (t.push("//"), (e = this.o) && t.push(
|
|
2056
|
+
return (n || e == "file") && (t.push("//"), (e = this.o) && t.push(Ut(e, Sn, !0), "@"), t.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g, "%$1")), n = this.s, n != null && t.push(":", String(n))), (n = this.l) && (this.g && n.charAt(0) != "/" && t.push("/"), t.push(Ut(n, n.charAt(0) == "/" ? Wi : Ki, !0))), (n = this.i.toString()) && t.push("?", n), (n = this.m) && t.push("#", Ut(n, Xi)), t.join("");
|
|
2057
2057
|
};
|
|
2058
2058
|
function tt(t) {
|
|
2059
2059
|
return new ut(t);
|
|
2060
2060
|
}
|
|
2061
2061
|
function Kt(t, e, n) {
|
|
2062
|
-
t.j = n ?
|
|
2062
|
+
t.j = n ? Pt(e, !0) : e, t.j && (t.j = t.j.replace(/:$/, ""));
|
|
2063
2063
|
}
|
|
2064
2064
|
function Wt(t, e) {
|
|
2065
2065
|
if (e) {
|
|
@@ -2068,7 +2068,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2068
2068
|
} else t.s = null;
|
|
2069
2069
|
}
|
|
2070
2070
|
function yn(t, e, n) {
|
|
2071
|
-
e instanceof
|
|
2071
|
+
e instanceof Nt ? (t.i = e, zi(t.i, t.h)) : (n || (e = Ut(e, Yi)), t.i = new Nt(e, t.h));
|
|
2072
2072
|
}
|
|
2073
2073
|
function O(t, e, n) {
|
|
2074
2074
|
t.i.set(e, n);
|
|
@@ -2076,33 +2076,33 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2076
2076
|
function Yt(t) {
|
|
2077
2077
|
return O(t, "zx", Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ Date.now()).toString(36)), t;
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2079
|
+
function Pt(t, e) {
|
|
2080
2080
|
return t ? e ? decodeURI(t.replace(/%25/g, "%2525")) : decodeURIComponent(t) : "";
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2083
|
-
return typeof t == "string" ? (t = encodeURI(t).replace(e,
|
|
2082
|
+
function Ut(t, e, n) {
|
|
2083
|
+
return typeof t == "string" ? (t = encodeURI(t).replace(e, $i), n && (t = t.replace(/%25([0-9a-fA-F]{2})/g, "%$1")), t) : null;
|
|
2084
2084
|
}
|
|
2085
|
-
function
|
|
2085
|
+
function $i(t) {
|
|
2086
2086
|
return t = t.charCodeAt(0), "%" + (t >> 4 & 15).toString(16) + (t & 15).toString(16);
|
|
2087
2087
|
}
|
|
2088
2088
|
var Sn = /[#\/\?@]/g, Ki = /[#\?:]/g, Wi = /[#\?]/g, Yi = /[#\?@]/g, Xi = /#/g;
|
|
2089
|
-
function
|
|
2089
|
+
function Nt(t, e) {
|
|
2090
2090
|
this.h = this.g = null, this.i = t || null, this.j = !!e;
|
|
2091
2091
|
}
|
|
2092
2092
|
function ot(t) {
|
|
2093
|
-
t.g || (t.g = /* @__PURE__ */ new Map(), t.h = 0, t.i &&
|
|
2093
|
+
t.g || (t.g = /* @__PURE__ */ new Map(), t.h = 0, t.i && Gi(t.i, function(e, n) {
|
|
2094
2094
|
t.add(decodeURIComponent(e.replace(/\+/g, " ")), n);
|
|
2095
2095
|
}));
|
|
2096
2096
|
}
|
|
2097
|
-
r =
|
|
2097
|
+
r = Nt.prototype, r.add = function(t, e) {
|
|
2098
2098
|
ot(this), this.i = null, t = Et(this, t);
|
|
2099
2099
|
var n = this.g.get(t);
|
|
2100
2100
|
return n || this.g.set(t, n = []), n.push(e), this.h += 1, this;
|
|
2101
2101
|
};
|
|
2102
|
-
function
|
|
2102
|
+
function An(t, e) {
|
|
2103
2103
|
ot(t), e = Et(t, e), t.g.has(e) && (t.i = null, t.h -= t.g.get(e).length, t.g.delete(e));
|
|
2104
2104
|
}
|
|
2105
|
-
function
|
|
2105
|
+
function vn(t, e) {
|
|
2106
2106
|
return ot(t), e = Et(t, e), t.g.has(e);
|
|
2107
2107
|
}
|
|
2108
2108
|
r.forEach = function(t, e) {
|
|
@@ -2122,19 +2122,19 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2122
2122
|
}, r.V = function(t) {
|
|
2123
2123
|
ot(this);
|
|
2124
2124
|
let e = [];
|
|
2125
|
-
if (typeof t == "string")
|
|
2125
|
+
if (typeof t == "string") vn(this, t) && (e = e.concat(this.g.get(Et(this, t))));
|
|
2126
2126
|
else {
|
|
2127
2127
|
t = Array.from(this.g.values());
|
|
2128
2128
|
for (let n = 0; n < t.length; n++) e = e.concat(t[n]);
|
|
2129
2129
|
}
|
|
2130
2130
|
return e;
|
|
2131
2131
|
}, r.set = function(t, e) {
|
|
2132
|
-
return ot(this), this.i = null, t = Et(this, t),
|
|
2132
|
+
return ot(this), this.i = null, t = Et(this, t), vn(this, t) && (this.h -= this.g.get(t).length), this.g.set(t, [e]), this.h += 1, this;
|
|
2133
2133
|
}, r.get = function(t, e) {
|
|
2134
2134
|
return t ? (t = this.V(t), 0 < t.length ? String(t[0]) : e) : e;
|
|
2135
2135
|
};
|
|
2136
2136
|
function Rn(t, e, n) {
|
|
2137
|
-
|
|
2137
|
+
An(t, e), 0 < n.length && (t.i = null, t.g.set(Et(t, e), M(n)), t.h += n.length);
|
|
2138
2138
|
}
|
|
2139
2139
|
r.toString = function() {
|
|
2140
2140
|
if (this.i) return this.i;
|
|
@@ -2156,7 +2156,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2156
2156
|
function zi(t, e) {
|
|
2157
2157
|
e && !t.j && (ot(t), t.i = null, t.g.forEach(function(n, s) {
|
|
2158
2158
|
var g = s.toLowerCase();
|
|
2159
|
-
s != g && (
|
|
2159
|
+
s != g && (An(this, s), Rn(this, g, n));
|
|
2160
2160
|
}, t)), t.j = e;
|
|
2161
2161
|
}
|
|
2162
2162
|
function qi(t, e) {
|
|
@@ -2185,14 +2185,14 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2185
2185
|
}
|
|
2186
2186
|
}
|
|
2187
2187
|
function Zi() {
|
|
2188
|
-
this.g = new
|
|
2188
|
+
this.g = new Ni();
|
|
2189
2189
|
}
|
|
2190
2190
|
function ts(t, e, n) {
|
|
2191
2191
|
const s = n || "";
|
|
2192
2192
|
try {
|
|
2193
2193
|
Tn(t, function(g, _) {
|
|
2194
2194
|
let S = g;
|
|
2195
|
-
|
|
2195
|
+
v(g) && (S = de(g)), e.push(s + _ + "=" + encodeURIComponent(S));
|
|
2196
2196
|
});
|
|
2197
2197
|
} catch (g) {
|
|
2198
2198
|
throw e.push(s + "type=" + encodeURIComponent("_badmap")), g;
|
|
@@ -2290,16 +2290,16 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2290
2290
|
}
|
|
2291
2291
|
s || (n = wn(n), typeof t == "string" ? n != null && encodeURIComponent(String(n)) : O(t, e, n));
|
|
2292
2292
|
}
|
|
2293
|
-
function
|
|
2293
|
+
function P(t) {
|
|
2294
2294
|
k.call(this), this.headers = /* @__PURE__ */ new Map(), this.o = t || null, this.h = !1, this.v = this.g = null, this.D = "", this.m = 0, this.l = "", this.j = this.B = this.u = this.A = !1, this.I = null, this.H = "", this.J = !1;
|
|
2295
2295
|
}
|
|
2296
|
-
w(
|
|
2296
|
+
w(P, k);
|
|
2297
2297
|
var es = /^https?$/i, ns = ["POST", "PUT"];
|
|
2298
|
-
r =
|
|
2298
|
+
r = P.prototype, r.Ha = function(t) {
|
|
2299
2299
|
this.J = t;
|
|
2300
2300
|
}, r.ea = function(t, e, n, s) {
|
|
2301
2301
|
if (this.g) throw Error("[goog.net.XhrIo] Object is active with another request=" + this.D + "; newUri=" + t);
|
|
2302
|
-
e = e ? e.toUpperCase() : "GET", this.D = t, this.l = "", this.m = 0, this.A = !1, this.h = !0, this.g = this.o ? this.o.g() :
|
|
2302
|
+
e = e ? e.toUpperCase() : "GET", this.D = t, this.l = "", this.m = 0, this.A = !1, this.h = !0, this.g = this.o ? this.o.g() : Ae.g(), this.v = this.o ? nn(this.o) : nn(Ae), this.g.onreadystatechange = L(this.Ea, this);
|
|
2303
2303
|
try {
|
|
2304
2304
|
this.B = !0, this.g.open(e, String(t), !0), this.B = !1;
|
|
2305
2305
|
} catch (_) {
|
|
@@ -2313,7 +2313,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2313
2313
|
for (const [_, S] of n) this.g.setRequestHeader(_, S);
|
|
2314
2314
|
this.H && (this.g.responseType = this.H), "withCredentials" in this.g && this.g.withCredentials !== this.J && (this.g.withCredentials = this.J);
|
|
2315
2315
|
try {
|
|
2316
|
-
|
|
2316
|
+
Ln(this), this.u = !0, this.g.send(t), this.u = !1;
|
|
2317
2317
|
} catch (_) {
|
|
2318
2318
|
Cn(this, _);
|
|
2319
2319
|
}
|
|
@@ -2327,7 +2327,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2327
2327
|
r.abort = function(t) {
|
|
2328
2328
|
this.g && this.h && (this.h = !1, this.j = !0, this.g.abort(), this.j = !1, this.m = t || 7, j(this, "complete"), j(this, "abort"), qt(this));
|
|
2329
2329
|
}, r.N = function() {
|
|
2330
|
-
this.g && (this.h && (this.h = !1, this.j = !0, this.g.abort(), this.j = !1), qt(this, !0)),
|
|
2330
|
+
this.g && (this.h && (this.h = !1, this.j = !0, this.g.abort(), this.j = !1), qt(this, !0)), P.aa.N.call(this);
|
|
2331
2331
|
}, r.Ea = function() {
|
|
2332
2332
|
this.s || (this.B || this.u || this.j ? On(this) : this.bb());
|
|
2333
2333
|
}, r.bb = function() {
|
|
@@ -2380,7 +2380,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2380
2380
|
}
|
|
2381
2381
|
function qt(t, e) {
|
|
2382
2382
|
if (t.g) {
|
|
2383
|
-
|
|
2383
|
+
Ln(t);
|
|
2384
2384
|
const n = t.g, s = t.v[0] ? () => {
|
|
2385
2385
|
} : null;
|
|
2386
2386
|
t.g = null, t.v = null, e || j(t, "ready");
|
|
@@ -2390,7 +2390,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
2392
|
}
|
|
2393
|
-
function
|
|
2393
|
+
function Ln(t) {
|
|
2394
2394
|
t.I && (y.clearTimeout(t.I), t.I = null);
|
|
2395
2395
|
}
|
|
2396
2396
|
r.isActive = function() {
|
|
@@ -2414,10 +2414,10 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2414
2414
|
}, r.Oa = function(t) {
|
|
2415
2415
|
if (this.g) {
|
|
2416
2416
|
var e = this.g.responseText;
|
|
2417
|
-
return t && e.indexOf(t) == 0 && (e = e.substring(t.length)),
|
|
2417
|
+
return t && e.indexOf(t) == 0 && (e = e.substring(t.length)), Ui(e);
|
|
2418
2418
|
}
|
|
2419
2419
|
};
|
|
2420
|
-
function
|
|
2420
|
+
function Pn(t) {
|
|
2421
2421
|
try {
|
|
2422
2422
|
if (!t.g) return null;
|
|
2423
2423
|
if ("response" in t.g) return t.g.response;
|
|
@@ -2458,38 +2458,38 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2458
2458
|
function Bt(t, e, n) {
|
|
2459
2459
|
return n && n.internalChannelParams && n.internalChannelParams[t] || e;
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2461
|
+
function Un(t) {
|
|
2462
2462
|
this.Aa = 0, this.i = [], this.j = new Ot(), this.ia = this.qa = this.I = this.W = this.g = this.ya = this.D = this.H = this.m = this.S = this.o = null, this.Ya = this.U = 0, this.Va = Bt("failFast", !1, t), this.F = this.C = this.u = this.s = this.l = null, this.X = !0, this.za = this.T = -1, this.Y = this.v = this.B = 0, this.Ta = Bt("baseRetryDelayMs", 5e3, t), this.cb = Bt("retryDelaySeedMs", 1e4, t), this.Wa = Bt("forwardChannelMaxRetries", 2, t), this.wa = Bt("forwardChannelRequestTimeoutMs", 2e4, t), this.pa = t && t.xmlHttpFactory || void 0, this.Xa = t && t.Tb || void 0, this.Ca = t && t.useFetchStreams || !1, this.L = void 0, this.J = t && t.supportsCrossDomainXhr || !1, this.K = "", this.h = new pn(t && t.concurrentRequestLimit), this.Da = new Zi(), this.P = t && t.fastHandshake || !1, this.O = t && t.encodeInitMessageHeaders || !1, this.P && this.O && (this.O = !1), this.Ua = t && t.Rb || !1, t && t.xa && this.j.xa(), t && t.forceLongPolling && (this.X = !1), this.ba = !this.P && this.X && t && t.detectBufferingProxy || !1, this.ja = void 0, t && t.longPollingTimeout && 0 < t.longPollingTimeout && (this.ja = t.longPollingTimeout), this.ca = void 0, this.R = 0, this.M = !1, this.ka = this.A = null;
|
|
2463
2463
|
}
|
|
2464
|
-
r =
|
|
2465
|
-
|
|
2464
|
+
r = Un.prototype, r.la = 8, r.G = 1, r.connect = function(t, e, n, s) {
|
|
2465
|
+
V(0), this.W = t, this.H = e || {}, n && s !== void 0 && (this.H.OSID = n, this.H.OAID = s), this.F = this.X, this.I = Vn(this, null, this.W), Zt(this);
|
|
2466
2466
|
};
|
|
2467
|
-
function
|
|
2468
|
-
if (
|
|
2467
|
+
function Le(t) {
|
|
2468
|
+
if (Nn(t), t.G == 3) {
|
|
2469
2469
|
var e = t.U++, n = tt(t.I);
|
|
2470
2470
|
if (O(n, "SID", t.K), O(n, "RID", e), O(n, "TYPE", "terminate"), kt(t, n), e = new rt(t, t.j, e), e.L = 2, e.v = Yt(tt(n)), n = !1, y.navigator && y.navigator.sendBeacon) try {
|
|
2471
2471
|
n = y.navigator.sendBeacon(e.v.toString(), "");
|
|
2472
2472
|
} catch {
|
|
2473
2473
|
}
|
|
2474
|
-
!n && y.Image && (new Image().src = e.v, n = !0), n || (e.g =
|
|
2474
|
+
!n && y.Image && (new Image().src = e.v, n = !0), n || (e.g = Hn(e.j, null), e.g.ea(e.v)), e.F = Date.now(), $t(e);
|
|
2475
2475
|
}
|
|
2476
2476
|
jn(t);
|
|
2477
2477
|
}
|
|
2478
2478
|
function Jt(t) {
|
|
2479
|
-
t.g && (
|
|
2479
|
+
t.g && (Ue(t), t.g.cancel(), t.g = null);
|
|
2480
2480
|
}
|
|
2481
|
-
function
|
|
2481
|
+
function Nn(t) {
|
|
2482
2482
|
Jt(t), t.u && (y.clearTimeout(t.u), t.u = null), te(t), t.h.cancel(), t.s && (typeof t.s == "number" && y.clearTimeout(t.s), t.s = null);
|
|
2483
2483
|
}
|
|
2484
2484
|
function Zt(t) {
|
|
2485
2485
|
if (!gn(t.h) && !t.s) {
|
|
2486
2486
|
t.s = !0;
|
|
2487
2487
|
var e = t.Ga;
|
|
2488
|
-
|
|
2488
|
+
At || We(), vt || (At(), vt = !0), ae.add(e, t), t.B = 0;
|
|
2489
2489
|
}
|
|
2490
2490
|
}
|
|
2491
2491
|
function ss(t, e) {
|
|
2492
|
-
return En(t.h) >= t.h.j - (t.s ? 1 : 0) ? !1 : t.s ? (t.i = e.D.concat(t.i), !0) : t.G == 1 || t.G == 2 || t.B >= (t.Va ? 0 : t.Wa) ? !1 : (t.s = Dt(
|
|
2492
|
+
return En(t.h) >= t.h.j - (t.s ? 1 : 0) ? !1 : t.s ? (t.i = e.D.concat(t.i), !0) : t.G == 1 || t.G == 2 || t.B >= (t.Va ? 0 : t.Wa) ? !1 : (t.s = Dt(L(t.Ga, t, e), Fn(t, t.B)), t.B++, !0);
|
|
2493
2493
|
}
|
|
2494
2494
|
r.Ga = function(t) {
|
|
2495
2495
|
if (this.s) if (this.s = null, this.G == 1) {
|
|
@@ -2539,7 +2539,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2539
2539
|
}
|
|
2540
2540
|
function Mn(t, e, n) {
|
|
2541
2541
|
n = Math.min(t.i.length, n);
|
|
2542
|
-
var s = t.l ?
|
|
2542
|
+
var s = t.l ? L(t.l.Na, t.l, t) : null;
|
|
2543
2543
|
t: {
|
|
2544
2544
|
var g = t.i;
|
|
2545
2545
|
let _ = -1;
|
|
@@ -2547,10 +2547,10 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2547
2547
|
const S = ["count=" + n];
|
|
2548
2548
|
_ == -1 ? 0 < n ? (_ = g[0].g, S.push("ofs=" + _)) : _ = 0 : S.push("ofs=" + _);
|
|
2549
2549
|
let C = !0;
|
|
2550
|
-
for (let
|
|
2551
|
-
let I = g[
|
|
2552
|
-
const x = g[
|
|
2553
|
-
if (I -= _, 0 > I) _ = Math.max(0, g[
|
|
2550
|
+
for (let N = 0; N < n; N++) {
|
|
2551
|
+
let I = g[N].g;
|
|
2552
|
+
const x = g[N].map;
|
|
2553
|
+
if (I -= _, 0 > I) _ = Math.max(0, g[N].g - 100), C = !1;
|
|
2554
2554
|
else try {
|
|
2555
2555
|
ts(x, S, "req" + I + "_");
|
|
2556
2556
|
} catch {
|
|
@@ -2569,21 +2569,21 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2569
2569
|
if (!t.g && !t.u) {
|
|
2570
2570
|
t.Y = 1;
|
|
2571
2571
|
var e = t.Fa;
|
|
2572
|
-
|
|
2572
|
+
At || We(), vt || (At(), vt = !0), ae.add(e, t), t.v = 0;
|
|
2573
2573
|
}
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2576
|
-
return t.g || t.u || 3 <= t.v ? !1 : (t.Y++, t.u = Dt(
|
|
2575
|
+
function Pe(t) {
|
|
2576
|
+
return t.g || t.u || 3 <= t.v ? !1 : (t.Y++, t.u = Dt(L(t.Fa, t), Fn(t, t.v)), t.v++, !0);
|
|
2577
2577
|
}
|
|
2578
2578
|
r.Fa = function() {
|
|
2579
2579
|
if (this.u = null, kn(this), this.ba && !(this.M || this.g == null || 0 >= this.R)) {
|
|
2580
2580
|
var t = 2 * this.R;
|
|
2581
|
-
this.j.info("BP detection timer enabled: " + t), this.A = Dt(
|
|
2581
|
+
this.j.info("BP detection timer enabled: " + t), this.A = Dt(L(this.ab, this), t);
|
|
2582
2582
|
}
|
|
2583
2583
|
}, r.ab = function() {
|
|
2584
|
-
this.A && (this.A = null, this.j.info("BP detection timeout reached."), this.j.info("Buffering proxy detected and switch to long-polling!"), this.F = !1, this.M = !0,
|
|
2584
|
+
this.A && (this.A = null, this.j.info("BP detection timeout reached."), this.j.info("Buffering proxy detected and switch to long-polling!"), this.F = !1, this.M = !0, V(10), Jt(this), kn(this));
|
|
2585
2585
|
};
|
|
2586
|
-
function
|
|
2586
|
+
function Ue(t) {
|
|
2587
2587
|
t.A != null && (y.clearTimeout(t.A), t.A = null);
|
|
2588
2588
|
}
|
|
2589
2589
|
function kn(t) {
|
|
@@ -2594,7 +2594,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2594
2594
|
t = t.ia, n.L = 1, n.v = Yt(tt(e)), n.m = null, n.P = !0, un(n, t);
|
|
2595
2595
|
}
|
|
2596
2596
|
r.Za = function() {
|
|
2597
|
-
this.C != null && (this.C = null, Jt(this),
|
|
2597
|
+
this.C != null && (this.C = null, Jt(this), Pe(this), V(19));
|
|
2598
2598
|
};
|
|
2599
2599
|
function te(t) {
|
|
2600
2600
|
t.C != null && (y.clearTimeout(t.C), t.C = null);
|
|
@@ -2602,7 +2602,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2602
2602
|
function xn(t, e) {
|
|
2603
2603
|
var n = null;
|
|
2604
2604
|
if (t.g == e) {
|
|
2605
|
-
te(t),
|
|
2605
|
+
te(t), Ue(t), t.g = null;
|
|
2606
2606
|
var s = 2;
|
|
2607
2607
|
} else if (Ce(t.h, e)) n = e.D, dn(t.h, e), s = 1;
|
|
2608
2608
|
else return;
|
|
@@ -2612,7 +2612,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2612
2612
|
var g = t.B;
|
|
2613
2613
|
s = ye(), j(s, new hn(s, n)), Zt(t);
|
|
2614
2614
|
} else Bn(t);
|
|
2615
|
-
else if (g = e.s, g == 3 || g == 0 && 0 < e.X || !(s == 1 && ss(t, e) || s == 2 &&
|
|
2615
|
+
else if (g = e.s, g == 3 || g == 0 && 0 < e.X || !(s == 1 && ss(t, e) || s == 2 && Pe(t))) switch (n && 0 < n.length && (e = t.h, e.i = e.i.concat(n)), g) {
|
|
2616
2616
|
case 1:
|
|
2617
2617
|
ct(t, 5);
|
|
2618
2618
|
break;
|
|
@@ -2633,22 +2633,22 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2633
2633
|
}
|
|
2634
2634
|
function ct(t, e) {
|
|
2635
2635
|
if (t.j.info("Error code " + e), e == 2) {
|
|
2636
|
-
var n =
|
|
2636
|
+
var n = L(t.fb, t), s = t.Xa;
|
|
2637
2637
|
const g = !s;
|
|
2638
2638
|
s = new ut(s || "//www.google.com/images/cleardot.gif"), y.location && y.location.protocol == "http" || Kt(s, "https"), Yt(s), g ? qi(s.toString(), n) : Ji(s.toString(), n);
|
|
2639
|
-
} else
|
|
2640
|
-
t.G = 0, t.l && t.l.sa(e), jn(t),
|
|
2639
|
+
} else V(2);
|
|
2640
|
+
t.G = 0, t.l && t.l.sa(e), jn(t), Nn(t);
|
|
2641
2641
|
}
|
|
2642
2642
|
r.fb = function(t) {
|
|
2643
|
-
t ? (this.j.info("Successfully pinged google.com"),
|
|
2643
|
+
t ? (this.j.info("Successfully pinged google.com"), V(2)) : (this.j.info("Failed to ping google.com"), V(1));
|
|
2644
2644
|
};
|
|
2645
2645
|
function jn(t) {
|
|
2646
2646
|
if (t.G = 0, t.ka = [], t.l) {
|
|
2647
2647
|
const e = _n(t.h);
|
|
2648
|
-
(e.length != 0 || t.i.length != 0) && (
|
|
2648
|
+
(e.length != 0 || t.i.length != 0) && (U(t.ka, e), U(t.ka, t.i), t.h.i.length = 0, M(t.i), t.i.length = 0), t.l.ra();
|
|
2649
2649
|
}
|
|
2650
2650
|
}
|
|
2651
|
-
function
|
|
2651
|
+
function Vn(t, e, n) {
|
|
2652
2652
|
var s = n instanceof ut ? tt(n) : new ut(n);
|
|
2653
2653
|
if (s.g != "") e && (s.g = e + "." + s.g), Wt(s, s.s);
|
|
2654
2654
|
else {
|
|
@@ -2659,9 +2659,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2659
2659
|
}
|
|
2660
2660
|
return n = t.D, e = t.ya, n && e && O(s, n, e), O(s, "VER", t.la), kt(t, s), s;
|
|
2661
2661
|
}
|
|
2662
|
-
function
|
|
2662
|
+
function Hn(t, e, n) {
|
|
2663
2663
|
if (e && !t.J) throw Error("Can't create secondary domain capable XhrIo object.");
|
|
2664
|
-
return e = t.Ca && !t.pa ? new
|
|
2664
|
+
return e = t.Ca && !t.pa ? new P(new Xt({ eb: n })) : new P(t.pa), e.Ha(t.J), e;
|
|
2665
2665
|
}
|
|
2666
2666
|
r.isActive = function() {
|
|
2667
2667
|
return !!this.l && this.l.isActive(this);
|
|
@@ -2677,23 +2677,23 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2677
2677
|
}, r.Na = function() {
|
|
2678
2678
|
};
|
|
2679
2679
|
function X(t, e) {
|
|
2680
|
-
k.call(this), this.g = new
|
|
2680
|
+
k.call(this), this.g = new Un(e), this.l = t, this.h = e && e.messageUrlParams || null, t = e && e.messageHeaders || null, e && e.clientProtocolHeaderRequired && (t ? t["X-Client-Protocol"] = "webchannel" : t = { "X-Client-Protocol": "webchannel" }), this.g.o = t, t = e && e.initMessageHeaders || null, e && e.messageContentType && (t ? t["X-WebChannel-Content-Type"] = e.messageContentType : t = { "X-WebChannel-Content-Type": e.messageContentType }), e && e.va && (t ? t["X-WebChannel-Client-Profile"] = e.va : t = { "X-WebChannel-Client-Profile": e.va }), this.g.S = t, (t = e && e.Sb) && !q(t) && (this.g.m = t), this.v = e && e.supportsCrossDomainXhr || !1, this.u = e && e.sendRawJson || !1, (e = e && e.httpSessionIdParam) && !q(e) && (this.g.D = e, t = this.h, t !== null && e in t && (t = this.h, e in t && delete t[e])), this.j = new dt(this);
|
|
2681
2681
|
}
|
|
2682
2682
|
w(X, k), X.prototype.m = function() {
|
|
2683
2683
|
this.g.l = this.j, this.v && (this.g.J = !0), this.g.connect(this.l, this.h || void 0);
|
|
2684
2684
|
}, X.prototype.close = function() {
|
|
2685
|
-
|
|
2685
|
+
Le(this.g);
|
|
2686
2686
|
}, X.prototype.o = function(t) {
|
|
2687
2687
|
var e = this.g;
|
|
2688
2688
|
if (typeof t == "string") {
|
|
2689
2689
|
var n = {};
|
|
2690
2690
|
n.__data__ = t, t = n;
|
|
2691
2691
|
} else this.u && (n = {}, n.__data__ = de(t), t = n);
|
|
2692
|
-
e.i.push(new
|
|
2692
|
+
e.i.push(new Vi(e.Ya++, t)), e.G == 3 && Zt(e);
|
|
2693
2693
|
}, X.prototype.N = function() {
|
|
2694
|
-
this.g.l = null, delete this.j,
|
|
2694
|
+
this.g.l = null, delete this.j, Le(this.g), delete this.g, X.aa.N.call(this);
|
|
2695
2695
|
};
|
|
2696
|
-
function
|
|
2696
|
+
function Gn(t) {
|
|
2697
2697
|
Te.call(this), t.__headers__ && (this.headers = t.__headers__, this.statusCode = t.__status__, delete t.__headers__, delete t.__status__);
|
|
2698
2698
|
var e = t.__sm__;
|
|
2699
2699
|
if (e) {
|
|
@@ -2707,23 +2707,23 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2707
2707
|
(this.i = t) && (t = this.i, e = e !== null && t in e ? e[t] : void 0), this.data = e;
|
|
2708
2708
|
} else this.data = t;
|
|
2709
2709
|
}
|
|
2710
|
-
w(
|
|
2711
|
-
function
|
|
2710
|
+
w(Gn, Te);
|
|
2711
|
+
function $n() {
|
|
2712
2712
|
me.call(this), this.status = 1;
|
|
2713
2713
|
}
|
|
2714
|
-
w(
|
|
2714
|
+
w($n, me);
|
|
2715
2715
|
function dt(t) {
|
|
2716
2716
|
this.g = t;
|
|
2717
2717
|
}
|
|
2718
2718
|
w(dt, Qn), dt.prototype.ua = function() {
|
|
2719
2719
|
j(this.g, "a");
|
|
2720
2720
|
}, dt.prototype.ta = function(t) {
|
|
2721
|
-
j(this.g, new
|
|
2721
|
+
j(this.g, new Gn(t));
|
|
2722
2722
|
}, dt.prototype.sa = function(t) {
|
|
2723
|
-
j(this.g, new
|
|
2723
|
+
j(this.g, new $n());
|
|
2724
2724
|
}, dt.prototype.ra = function() {
|
|
2725
2725
|
j(this.g, "b");
|
|
2726
|
-
}, X.prototype.send = X.prototype.o, X.prototype.open = X.prototype.m, X.prototype.close = X.prototype.close, Se.NO_ERROR = 0, Se.TIMEOUT = 8, Se.HTTP_ERROR = 6, Fi.COMPLETE = "complete", bi.EventType = wt, wt.OPEN = "a", wt.CLOSE = "b", wt.ERROR = "c", wt.MESSAGE = "d", k.prototype.listen = k.prototype.K,
|
|
2726
|
+
}, X.prototype.send = X.prototype.o, X.prototype.open = X.prototype.m, X.prototype.close = X.prototype.close, Se.NO_ERROR = 0, Se.TIMEOUT = 8, Se.HTTP_ERROR = 6, Fi.COMPLETE = "complete", bi.EventType = wt, wt.OPEN = "a", wt.CLOSE = "b", wt.ERROR = "c", wt.MESSAGE = "d", k.prototype.listen = k.prototype.K, P.prototype.listenOnce = P.prototype.L, P.prototype.getLastError = P.prototype.Ka, P.prototype.getLastErrorCode = P.prototype.Ba, P.prototype.getStatus = P.prototype.Z, P.prototype.getResponseJson = P.prototype.Oa, P.prototype.getResponseText = P.prototype.oa, P.prototype.send = P.prototype.ea, P.prototype.setWithCredentials = P.prototype.Ha;
|
|
2727
2727
|
}).apply(typeof ne < "u" ? ne : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
2728
2728
|
const ii = "@firebase/firestore";
|
|
2729
2729
|
/**
|
|
@@ -2803,7 +2803,7 @@ function K(r, ...i) {
|
|
|
2803
2803
|
re.debug(`Firestore (${he}): ${r}`, ...o);
|
|
2804
2804
|
}
|
|
2805
2805
|
}
|
|
2806
|
-
function
|
|
2806
|
+
function $e(r, ...i) {
|
|
2807
2807
|
if (re.logLevel <= D.ERROR) {
|
|
2808
2808
|
const o = i.map(Ti);
|
|
2809
2809
|
re.error(`Firestore (${he}): ${r}`, ...o);
|
|
@@ -2853,9 +2853,9 @@ function Ti(r) {
|
|
|
2853
2853
|
*/
|
|
2854
2854
|
function mi(r = "Unexpected state") {
|
|
2855
2855
|
const i = `FIRESTORE (${he}) INTERNAL ASSERTION FAILED: ` + r;
|
|
2856
|
-
throw
|
|
2856
|
+
throw $e(i), new Error(i);
|
|
2857
2857
|
}
|
|
2858
|
-
function
|
|
2858
|
+
function He(r, i) {
|
|
2859
2859
|
r || mi();
|
|
2860
2860
|
}
|
|
2861
2861
|
/**
|
|
@@ -2874,7 +2874,7 @@ function Ve(r, i) {
|
|
|
2874
2874
|
* See the License for the specific language governing permissions and
|
|
2875
2875
|
* limitations under the License.
|
|
2876
2876
|
*/
|
|
2877
|
-
const
|
|
2877
|
+
const G = {
|
|
2878
2878
|
// Causes are copied from:
|
|
2879
2879
|
// https://github.com/grpc/grpc/blob/bceec94ea4fc5f0085d81235d8e1c06798dc341a/include/grpc%2B%2B/impl/codegen/status_code_enum.h
|
|
2880
2880
|
/** Not an error; returned on success. */
|
|
@@ -2986,7 +2986,7 @@ const $ = {
|
|
|
2986
2986
|
/** Unrecoverable data loss or corruption. */
|
|
2987
2987
|
DATA_LOSS: "data-loss"
|
|
2988
2988
|
};
|
|
2989
|
-
class
|
|
2989
|
+
class $ extends yt {
|
|
2990
2990
|
/** @hideconstructor */
|
|
2991
2991
|
constructor(i, o) {
|
|
2992
2992
|
super(i, o), this.code = i, this.message = o, // HACK: We write a toString property directly because Error is not a real
|
|
@@ -3051,7 +3051,7 @@ class Sr {
|
|
|
3051
3051
|
shutdown() {
|
|
3052
3052
|
}
|
|
3053
3053
|
}
|
|
3054
|
-
class
|
|
3054
|
+
class Ar {
|
|
3055
3055
|
constructor(i) {
|
|
3056
3056
|
this.t = i, /** Tracks the current User. */
|
|
3057
3057
|
this.currentUser = Q.UNAUTHENTICATED, /**
|
|
@@ -3062,28 +3062,28 @@ class vr {
|
|
|
3062
3062
|
}
|
|
3063
3063
|
start(i, o) {
|
|
3064
3064
|
let c = this.i;
|
|
3065
|
-
const d = (
|
|
3065
|
+
const d = (A) => this.i !== c ? (c = this.i, o(A)) : Promise.resolve();
|
|
3066
3066
|
let T = new mt();
|
|
3067
3067
|
this.o = () => {
|
|
3068
3068
|
this.i++, this.currentUser = this.u(), T.resolve(), T = new mt(), i.enqueueRetryable(() => d(this.currentUser));
|
|
3069
3069
|
};
|
|
3070
3070
|
const m = () => {
|
|
3071
|
-
const
|
|
3071
|
+
const A = T;
|
|
3072
3072
|
i.enqueueRetryable(async () => {
|
|
3073
|
-
await
|
|
3073
|
+
await A.promise, await d(this.currentUser);
|
|
3074
3074
|
});
|
|
3075
|
-
}, y = (
|
|
3076
|
-
K("FirebaseAuthCredentialsProvider", "Auth detected"), this.auth =
|
|
3075
|
+
}, y = (A) => {
|
|
3076
|
+
K("FirebaseAuthCredentialsProvider", "Auth detected"), this.auth = A, this.auth.addAuthTokenListener(this.o), m();
|
|
3077
3077
|
};
|
|
3078
|
-
this.t.onInit((
|
|
3078
|
+
this.t.onInit((A) => y(A)), // Our users can initialize Auth right after Firestore, so we give it
|
|
3079
3079
|
// a chance to register itself with the component framework before we
|
|
3080
3080
|
// determine whether to start up in unauthenticated mode.
|
|
3081
3081
|
setTimeout(() => {
|
|
3082
3082
|
if (!this.auth) {
|
|
3083
|
-
const
|
|
3083
|
+
const A = this.t.getImmediate({
|
|
3084
3084
|
optional: !0
|
|
3085
3085
|
});
|
|
3086
|
-
|
|
3086
|
+
A ? y(A) : (
|
|
3087
3087
|
// If auth is still not available, proceed with `null` user
|
|
3088
3088
|
(K("FirebaseAuthCredentialsProvider", "Auth not yet detected"), T.resolve(), T = new mt())
|
|
3089
3089
|
);
|
|
@@ -3096,7 +3096,7 @@ class vr {
|
|
|
3096
3096
|
// Cancel the request since the token changed while the request was
|
|
3097
3097
|
// outstanding so the response is potentially for a previous user (which
|
|
3098
3098
|
// user, we can't be sure).
|
|
3099
|
-
this.i !== i ? (K("FirebaseAuthCredentialsProvider", "getToken aborted due to token change."), this.getToken()) : c ? (
|
|
3099
|
+
this.i !== i ? (K("FirebaseAuthCredentialsProvider", "getToken aborted due to token change."), this.getToken()) : c ? (He(typeof c.accessToken == "string"), new yr(c.accessToken, this.currentUser)) : null
|
|
3100
3100
|
)) : Promise.resolve(null);
|
|
3101
3101
|
}
|
|
3102
3102
|
invalidateToken() {
|
|
@@ -3111,10 +3111,10 @@ class vr {
|
|
|
3111
3111
|
// to guarantee to get the actual user.
|
|
3112
3112
|
u() {
|
|
3113
3113
|
const i = this.auth && this.auth.getUid();
|
|
3114
|
-
return
|
|
3114
|
+
return He(i === null || typeof i == "string"), new Q(i);
|
|
3115
3115
|
}
|
|
3116
3116
|
}
|
|
3117
|
-
class
|
|
3117
|
+
class vr {
|
|
3118
3118
|
constructor(i, o, c) {
|
|
3119
3119
|
this.l = i, this.h = o, this.P = c, this.type = "FirstParty", this.user = Q.FIRST_PARTY, this.I = /* @__PURE__ */ new Map();
|
|
3120
3120
|
}
|
|
@@ -3136,7 +3136,7 @@ class Rr {
|
|
|
3136
3136
|
this.l = i, this.h = o, this.P = c;
|
|
3137
3137
|
}
|
|
3138
3138
|
getToken() {
|
|
3139
|
-
return Promise.resolve(new
|
|
3139
|
+
return Promise.resolve(new vr(this.l, this.h, this.P));
|
|
3140
3140
|
}
|
|
3141
3141
|
start(i, o) {
|
|
3142
3142
|
i.enqueueRetryable(() => o(Q.FIRST_PARTY));
|
|
@@ -3183,7 +3183,7 @@ class wr {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
getToken() {
|
|
3185
3185
|
const i = this.forceRefresh;
|
|
3186
|
-
return this.forceRefresh = !1, this.appCheck ? this.appCheck.getToken(i).then((o) => o ? (
|
|
3186
|
+
return this.forceRefresh = !1, this.appCheck ? this.appCheck.getToken(i).then((o) => o ? (He(typeof o.token == "string"), this.R = o.token, new Ir(o.token)) : null) : Promise.resolve(null);
|
|
3187
3187
|
}
|
|
3188
3188
|
invalidateToken() {
|
|
3189
3189
|
this.forceRefresh = !0;
|
|
@@ -3284,8 +3284,8 @@ class Or {
|
|
|
3284
3284
|
* @param useFetchStreams Whether to use the Fetch API instead of
|
|
3285
3285
|
* XMLHTTPRequest
|
|
3286
3286
|
*/
|
|
3287
|
-
constructor(i, o, c, d, T, m, y,
|
|
3288
|
-
this.databaseId = i, this.appId = o, this.persistenceKey = c, this.host = d, this.ssl = T, this.forceLongPolling = m, this.autoDetectLongPolling = y, this.longPollingOptions =
|
|
3287
|
+
constructor(i, o, c, d, T, m, y, A, v) {
|
|
3288
|
+
this.databaseId = i, this.appId = o, this.persistenceKey = c, this.host = d, this.ssl = T, this.forceLongPolling = m, this.autoDetectLongPolling = y, this.longPollingOptions = A, this.useFetchStreams = v;
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
3291
|
class oe {
|
|
@@ -3356,7 +3356,7 @@ function xe() {
|
|
|
3356
3356
|
* See the License for the specific language governing permissions and
|
|
3357
3357
|
* limitations under the License.
|
|
3358
3358
|
*/
|
|
3359
|
-
class
|
|
3359
|
+
class Lr {
|
|
3360
3360
|
constructor(i, o, c = 1e3, d = 1.5, T = 6e4) {
|
|
3361
3361
|
this.ui = i, this.timerId = o, this.ko = c, this.qo = d, this.Qo = T, this.Ko = 0, this.$o = null, /** The last backoff attempt, as epoch milliseconds. */
|
|
3362
3362
|
this.Uo = Date.now(), this.reset();
|
|
@@ -3468,7 +3468,7 @@ class Ke {
|
|
|
3468
3468
|
* guarantee that the operation will not be run.
|
|
3469
3469
|
*/
|
|
3470
3470
|
cancel(i) {
|
|
3471
|
-
this.timerHandle !== null && (this.clearTimeout(), this.deferred.reject(new G
|
|
3471
|
+
this.timerHandle !== null && (this.clearTimeout(), this.deferred.reject(new $(G.CANCELLED, "Operation cancelled" + (i ? ": " + i : ""))));
|
|
3472
3472
|
}
|
|
3473
3473
|
handleDelayElapsed() {
|
|
3474
3474
|
this.asyncQueue.enqueueAndForget(() => this.timerHandle !== null ? (this.clearTimeout(), this.op().then((i) => this.deferred.resolve(i))) : Promise.resolve());
|
|
@@ -3477,8 +3477,8 @@ class Ke {
|
|
|
3477
3477
|
this.timerHandle !== null && (this.removalCallback(this), clearTimeout(this.timerHandle), this.timerHandle = null);
|
|
3478
3478
|
}
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3481
|
-
if (
|
|
3480
|
+
function Pr(r, i) {
|
|
3481
|
+
if ($e("AsyncQueue", `${i}: ${r}`), yi(r)) return new $(G.UNAVAILABLE, `${i}: ${r}`);
|
|
3482
3482
|
throw r;
|
|
3483
3483
|
}
|
|
3484
3484
|
var ri, oi;
|
|
@@ -3500,7 +3500,7 @@ oi.Cache = "cache";
|
|
|
3500
3500
|
* See the License for the specific language governing permissions and
|
|
3501
3501
|
* limitations under the License.
|
|
3502
3502
|
*/
|
|
3503
|
-
class
|
|
3503
|
+
class Ur {
|
|
3504
3504
|
constructor(i, o, c, d) {
|
|
3505
3505
|
this.authCredentials = i, this.appCheckCredentials = o, this.asyncQueue = c, this.databaseInfo = d, this.user = Q.UNAUTHENTICATED, this.clientId = Dr.newId(), this.authCredentialListener = () => Promise.resolve(), this.appCheckCredentialListener = () => Promise.resolve(), this.authCredentials.start(c, async (T) => {
|
|
3506
3506
|
K("FirestoreClient", "Received user=", T.uid), await this.authCredentialListener(T), this.user = T;
|
|
@@ -3528,7 +3528,7 @@ class Nr {
|
|
|
3528
3528
|
* this class cannot be called after the client is terminated. //
|
|
3529
3529
|
*/
|
|
3530
3530
|
verifyNotTerminated() {
|
|
3531
|
-
if (this.asyncQueue.isShuttingDown) throw new G
|
|
3531
|
+
if (this.asyncQueue.isShuttingDown) throw new $(G.FAILED_PRECONDITION, "The client has already been terminated.");
|
|
3532
3532
|
}
|
|
3533
3533
|
terminate() {
|
|
3534
3534
|
this.asyncQueue.enterRestrictedMode();
|
|
@@ -3540,7 +3540,7 @@ class Nr {
|
|
|
3540
3540
|
// tokens.
|
|
3541
3541
|
this.authCredentials.shutdown(), this.appCheckCredentials.shutdown(), i.resolve();
|
|
3542
3542
|
} catch (o) {
|
|
3543
|
-
const c =
|
|
3543
|
+
const c = Pr(o, "Failed to shutdown persistence");
|
|
3544
3544
|
i.reject(c);
|
|
3545
3545
|
}
|
|
3546
3546
|
}), i.promise;
|
|
@@ -3583,8 +3583,8 @@ function Si(r) {
|
|
|
3583
3583
|
* limitations under the License.
|
|
3584
3584
|
*/
|
|
3585
3585
|
const hi = /* @__PURE__ */ new Map();
|
|
3586
|
-
function
|
|
3587
|
-
if (i === !0 && c === !0) throw new G
|
|
3586
|
+
function Nr(r, i, o, c) {
|
|
3587
|
+
if (i === !0 && c === !0) throw new $(G.INVALID_ARGUMENT, `${r} and ${o} cannot be used together.`);
|
|
3588
3588
|
}
|
|
3589
3589
|
/**
|
|
3590
3590
|
* @license
|
|
@@ -3606,24 +3606,24 @@ class ai {
|
|
|
3606
3606
|
constructor(i) {
|
|
3607
3607
|
var o, c;
|
|
3608
3608
|
if (i.host === void 0) {
|
|
3609
|
-
if (i.ssl !== void 0) throw new G
|
|
3609
|
+
if (i.ssl !== void 0) throw new $(G.INVALID_ARGUMENT, "Can't provide ssl option if host option is not set");
|
|
3610
3610
|
this.host = "firestore.googleapis.com", this.ssl = !0;
|
|
3611
3611
|
} else this.host = i.host, this.ssl = (o = i.ssl) === null || o === void 0 || o;
|
|
3612
3612
|
if (this.credentials = i.credentials, this.ignoreUndefinedProperties = !!i.ignoreUndefinedProperties, this.localCache = i.localCache, i.cacheSizeBytes === void 0) this.cacheSizeBytes = 41943040;
|
|
3613
3613
|
else {
|
|
3614
|
-
if (i.cacheSizeBytes !== -1 && i.cacheSizeBytes < 1048576) throw new G
|
|
3614
|
+
if (i.cacheSizeBytes !== -1 && i.cacheSizeBytes < 1048576) throw new $(G.INVALID_ARGUMENT, "cacheSizeBytes must be at least 1048576");
|
|
3615
3615
|
this.cacheSizeBytes = i.cacheSizeBytes;
|
|
3616
3616
|
}
|
|
3617
|
-
|
|
3617
|
+
Nr("experimentalForceLongPolling", i.experimentalForceLongPolling, "experimentalAutoDetectLongPolling", i.experimentalAutoDetectLongPolling), this.experimentalForceLongPolling = !!i.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : i.experimentalAutoDetectLongPolling === void 0 ? this.experimentalAutoDetectLongPolling = !0 : (
|
|
3618
3618
|
// For backwards compatibility, coerce the value to boolean even though
|
|
3619
3619
|
// the TypeScript compiler has narrowed the type to boolean already.
|
|
3620
3620
|
// noinspection PointlessBooleanExpressionJS
|
|
3621
3621
|
this.experimentalAutoDetectLongPolling = !!i.experimentalAutoDetectLongPolling
|
|
3622
3622
|
), this.experimentalLongPollingOptions = Si((c = i.experimentalLongPollingOptions) !== null && c !== void 0 ? c : {}), function(T) {
|
|
3623
3623
|
if (T.timeoutSeconds !== void 0) {
|
|
3624
|
-
if (isNaN(T.timeoutSeconds)) throw new G
|
|
3625
|
-
if (T.timeoutSeconds < 5) throw new G
|
|
3626
|
-
if (T.timeoutSeconds > 30) throw new G
|
|
3624
|
+
if (isNaN(T.timeoutSeconds)) throw new $(G.INVALID_ARGUMENT, `invalid long polling timeout: ${T.timeoutSeconds} (must not be NaN)`);
|
|
3625
|
+
if (T.timeoutSeconds < 5) throw new $(G.INVALID_ARGUMENT, `invalid long polling timeout: ${T.timeoutSeconds} (minimum allowed value is 5)`);
|
|
3626
|
+
if (T.timeoutSeconds > 30) throw new $(G.INVALID_ARGUMENT, `invalid long polling timeout: ${T.timeoutSeconds} (maximum allowed value is 30)`);
|
|
3627
3627
|
}
|
|
3628
3628
|
}(this.experimentalLongPollingOptions), this.useFetchStreams = !!i.useFetchStreams;
|
|
3629
3629
|
}
|
|
@@ -3646,7 +3646,7 @@ class br {
|
|
|
3646
3646
|
* instance.
|
|
3647
3647
|
*/
|
|
3648
3648
|
get app() {
|
|
3649
|
-
if (!this._app) throw new G
|
|
3649
|
+
if (!this._app) throw new $(G.FAILED_PRECONDITION, "Firestore was not initialized using the Firebase SDK. 'app' is not available");
|
|
3650
3650
|
return this._app;
|
|
3651
3651
|
}
|
|
3652
3652
|
get _initialized() {
|
|
@@ -3656,7 +3656,7 @@ class br {
|
|
|
3656
3656
|
return this._terminateTask !== void 0;
|
|
3657
3657
|
}
|
|
3658
3658
|
_setSettings(i) {
|
|
3659
|
-
if (this._settingsFrozen) throw new G
|
|
3659
|
+
if (this._settingsFrozen) throw new $(G.FAILED_PRECONDITION, "Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");
|
|
3660
3660
|
this._settings = new ai(i), i.credentials !== void 0 && (this._authCredentials = function(c) {
|
|
3661
3661
|
if (!c) return new Sr();
|
|
3662
3662
|
switch (c.type) {
|
|
@@ -3665,7 +3665,7 @@ class br {
|
|
|
3665
3665
|
case "provider":
|
|
3666
3666
|
return c.client;
|
|
3667
3667
|
default:
|
|
3668
|
-
throw new G
|
|
3668
|
+
throw new $(G.INVALID_ARGUMENT, "makeAuthCredentialsProvider failed due to invalid credential type");
|
|
3669
3669
|
}
|
|
3670
3670
|
}(i.credentials));
|
|
3671
3671
|
}
|
|
@@ -3730,7 +3730,7 @@ class Mr {
|
|
|
3730
3730
|
this.Pu = !1, // Enabled during shutdown on Safari to prevent future access to IndexedDB.
|
|
3731
3731
|
this.Iu = !1, // List of TimerIds to fast-forward delays for.
|
|
3732
3732
|
this.Tu = [], // Backoff timer used to schedule retries for retryable operations
|
|
3733
|
-
this.t_ = new
|
|
3733
|
+
this.t_ = new Lr(
|
|
3734
3734
|
this,
|
|
3735
3735
|
"async_queue_retry"
|
|
3736
3736
|
/* TimerId.AsyncQueueRetry */
|
|
@@ -3815,7 +3815,7 @@ class Mr {
|
|
|
3815
3815
|
` + m.stack), y;
|
|
3816
3816
|
}(c)
|
|
3817
3817
|
);
|
|
3818
|
-
throw
|
|
3818
|
+
throw $e("INTERNAL UNHANDLED ERROR: ", d), c;
|
|
3819
3819
|
}).then((c) => (this.Pu = !1, c))));
|
|
3820
3820
|
return this.au = o, o;
|
|
3821
3821
|
}
|
|
@@ -3892,10 +3892,10 @@ class Br extends br {
|
|
|
3892
3892
|
}
|
|
3893
3893
|
function kr(r) {
|
|
3894
3894
|
var i, o, c;
|
|
3895
|
-
const d = r._freezeSettings(), T = function(y,
|
|
3896
|
-
return new Or(y,
|
|
3895
|
+
const d = r._freezeSettings(), T = function(y, A, v, b) {
|
|
3896
|
+
return new Or(y, A, v, b.host, b.ssl, b.experimentalForceLongPolling, b.experimentalAutoDetectLongPolling, Si(b.experimentalLongPollingOptions), b.useFetchStreams);
|
|
3897
3897
|
}(r._databaseId, ((i = r._app) === null || i === void 0 ? void 0 : i.options.appId) || "", r._persistenceKey, d);
|
|
3898
|
-
r._firestoreClient = new
|
|
3898
|
+
r._firestoreClient = new Ur(r._authCredentials, r._appCheckCredentials, r._queue, T), !((o = d.localCache) === null || o === void 0) && o._offlineComponentProvider && (!((c = d.localCache) === null || c === void 0) && c._onlineComponentProvider) && (r._firestoreClient._uninitializedComponentsProvider = {
|
|
3899
3899
|
_offlineKind: d.localCache.kind,
|
|
3900
3900
|
_offline: d.localCache._offlineComponentProvider,
|
|
3901
3901
|
_online: d.localCache._onlineComponentProvider
|
|
@@ -3905,9 +3905,9 @@ function kr(r) {
|
|
|
3905
3905
|
(function(d) {
|
|
3906
3906
|
he = d;
|
|
3907
3907
|
})(ar), se(new ie("firestore", (c, { instanceIdentifier: d, options: T }) => {
|
|
3908
|
-
const m = c.getProvider("app").getImmediate(), y = new Br(new
|
|
3909
|
-
if (!Object.prototype.hasOwnProperty.apply(
|
|
3910
|
-
return new oe(
|
|
3908
|
+
const m = c.getProvider("app").getImmediate(), y = new Br(new Ar(c.getProvider("auth-internal")), new wr(c.getProvider("app-check-internal")), function(v, b) {
|
|
3909
|
+
if (!Object.prototype.hasOwnProperty.apply(v.options, ["projectId"])) throw new $(G.INVALID_ARGUMENT, '"projectId" not provided in firebase.initializeApp.');
|
|
3910
|
+
return new oe(v.options.projectId, b);
|
|
3911
3911
|
}(m, d), m);
|
|
3912
3912
|
return T = Object.assign({
|
|
3913
3913
|
useFetchStreams: o
|
|
@@ -3915,68 +3915,72 @@ function kr(r) {
|
|
|
3915
3915
|
}, "PUBLIC").setMultipleInstances(!0)), Tt(ii, "4.7.1", i), // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
3916
3916
|
Tt(ii, "4.7.1", "esm2017");
|
|
3917
3917
|
})();
|
|
3918
|
-
const xr = "REGISTER_REQUEST", Fr = "LOGIN_REQUEST", jr = "AUTH_RESET",
|
|
3918
|
+
const xr = "REGISTER_REQUEST", Fr = "LOGIN_REQUEST", jr = "AUTH_RESET", Vr = "PARTIAL_REGISTER", Hr = "SET_PIN_SCREEN", Qr = "VALIDATE_REGISTER_BY_EMAIL_REQUEST", Gr = "AUTH_SCREEN_UPDATE", $r = "REGISTER_BY_EMAIL_REQUEST", Kr = "VERIFY_REGISTER_BY_EMAIL_REQUEST", Wr = "REGISTER_STORE_BY_EMAIL_REQUEST", Yr = "VALIDATE_STORE_REGISTER_BY_EMAIL_REQUEST", Xr = "VERIFY_STORE_REGISTER_BY_EMAIL_REQUEST", zr = "LOGIN_BY_EMAIL_REQUEST", qr = "VALIDATE_OTP_REQUEST", Jr = "USER_REF_REQUEST", Zr = "USER_REF_COUNT_REQUEST", to = "USER_TWITTER_INFO_REQUEST", eo = "USER_TWITTER_UPDATE_REQUEST", no = "USER_MINIMAL_KYC_REQUEST", io = "RESET_KYC", so = "USER_BANK_REQUEST", ro = "ADD_BANK_REQUEST", oo = "DELETE_BANK_REQUEST", ho = "PLAID_TOKEN_REQUEST", ao = "PLAID_CREATE_ITEM_REQUEST", lo = "USER_WALLET_REQUEST", uo = "ADD_WALLET_REQUEST", co = "ADD_WALLET_SUCCESS", fo = "USER_ASSOCIATE_WALLET_REQUEST", po = "ADD_ASSOCIATE_WALLET_REQUEST", go = "ADD_ASSOCIATE_WALLET_SUCCESS", Eo = "FETCH_AVAILABLE_TOKENS", _o = "FETCH_LINKED_WALLET_TOKENS", To = "FETCH_EVER_WALLET_TOKENS", mo = "FIAT_ASSETS_REQUEST", yo = "FEATURE_CRYPTO_ASSETS", So = "CRYPTO_ASSETS_REQUEST", Ao = "CRYPTO_ASSETS_PAIRS_REQUEST", vo = "USER_DOCUMENTS_REQUEST", Ro = "PREVIEW_DOCUMENT_REQUEST", Io = "PREVIEW_IDENTITY_DOCUMENT_REQUEST", wo = "PREVIEW_DOCUMENT_CLEAR", Co = "DELETE_DOCUMENT_REQUEST", Do = "UPLOAD_DOCUMENT_REQUEST", Oo = "NETWORK_LIST_REQUEST", Lo = "SUGGEST_GAS_REQUEST", Po = "SEND_NATIVE_TOKEN_REQUEST", Uo = "SEND_TOKEN_REQUEST", No = "HIDE_GAS_POPUP", bo = "CLEAR_SEND_TRX_ID", Mo = "ORDER_LIST_REQUEST", Bo = "ORDER_ESTIMATE_REQUEST", ko = "ORDER_CREATE_REQUEST", xo = "ORDER_RESET_ESTIMATE", Fo = "ORDER_CHECKOUT_PAYMENT_REQUEST", jo = "ORDER_TYPE_REQUEST", Vo = "ORDER_CARD_REQUEST", Ho = "STAKE_LIST_REQUEST", Qo = "STAKE_SET_REQUEST", Go = "STAKE_INITIAL_STATE", $o = "STAKE_FINISH_REQUEST", Ko = "BRIDGE_MOVE_TO_ETHEREUM_GAS_REQUEST", Wo = "BRIDGE_MOVE_TO_ETHEREUM_REQUEST", Yo = "BRIDGE_MOVE_TO_EVERCHAIN_GAS_REQUEST", Xo = "BRIDGE_MOVE_TO_EVERCHAIN_REQUEST", zo = "BRIDGE_RESET";
|
|
3919
3919
|
export {
|
|
3920
|
-
|
|
3920
|
+
Xo as $,
|
|
3921
3921
|
jr as A,
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3922
|
+
Vo as B,
|
|
3923
|
+
ko as C,
|
|
3924
|
+
Fo as D,
|
|
3925
|
+
Mo as E,
|
|
3926
|
+
Eo as F,
|
|
3927
|
+
jo as G,
|
|
3928
|
+
ho as H,
|
|
3929
|
+
ao as I,
|
|
3930
|
+
ro as J,
|
|
3931
|
+
so as K,
|
|
3932
|
+
zr as L,
|
|
3933
|
+
oo as M,
|
|
3934
|
+
mo as N,
|
|
3935
|
+
Bo as O,
|
|
3936
|
+
Vr as P,
|
|
3937
|
+
So as Q,
|
|
3938
3938
|
xr as R,
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3939
|
+
Ho as S,
|
|
3940
|
+
Ao as T,
|
|
3941
|
+
no as U,
|
|
3942
|
+
qr as V,
|
|
3943
|
+
yo as W,
|
|
3944
|
+
zo as X,
|
|
3945
|
+
Ko as Y,
|
|
3946
|
+
Wo as Z,
|
|
3947
|
+
Yo as _,
|
|
3948
|
+
Go as a,
|
|
3949
|
+
wo as a0,
|
|
3950
|
+
vo as a1,
|
|
3951
|
+
Do as a2,
|
|
3952
|
+
Io as a3,
|
|
3953
|
+
Ro as a4,
|
|
3954
|
+
Co as a5,
|
|
3955
|
+
Oo as a6,
|
|
3956
|
+
No as a7,
|
|
3957
|
+
Po as a8,
|
|
3958
|
+
Uo as a9,
|
|
3959
|
+
bo as aa,
|
|
3960
|
+
Lo as ab,
|
|
3961
|
+
$o as b,
|
|
3962
|
+
Qo as c,
|
|
3959
3963
|
Qr as d,
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3964
|
+
Yr as e,
|
|
3965
|
+
Fr as f,
|
|
3966
|
+
Hr as g,
|
|
3963
3967
|
Gr as h,
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3968
|
+
$r as i,
|
|
3969
|
+
Kr as j,
|
|
3970
|
+
Wr as k,
|
|
3971
|
+
Xr as l,
|
|
3972
|
+
io as m,
|
|
3969
3973
|
Jr as n,
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3974
|
+
Zr as o,
|
|
3975
|
+
to as p,
|
|
3976
|
+
eo as q,
|
|
3977
|
+
lo as r,
|
|
3978
|
+
fo as s,
|
|
3979
|
+
_o as t,
|
|
3980
|
+
To as u,
|
|
3981
|
+
co as v,
|
|
3982
|
+
go as w,
|
|
3983
|
+
uo as x,
|
|
3984
|
+
po as y,
|
|
3985
|
+
xo as z
|
|
3982
3986
|
};
|