@feedmepos/mf-payment 1.1.7 → 1.1.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/{PayoutAccount-C362ShA8.js → PayoutAccount-BAXvKwol.js} +5 -5
- package/dist/{PayoutAccount-CAdClj2Y.js → PayoutAccount-C9TC-nLW.js} +3 -3
- package/dist/{PayoutAccountSetting-Cbl5b1Jr.js → PayoutAccountSetting-CsY4Dr_E.js} +3 -3
- package/dist/{Restaurant-ClDu-bSv.js → Restaurant-C9GmwxpU.js} +4 -4
- package/dist/{RestaurantSetting-D5h5RoHf.js → RestaurantSetting-DaSalR0b.js} +3 -3
- package/dist/Settlement-BvUs3MyQ.js +454 -0
- package/dist/Settlement-C7oFzVbb.js +219 -0
- package/dist/{SettlementTransactions-Cpaq8K6x.js → SettlementTransactions-BRo_oigl.js} +75 -69
- package/dist/{SettlementTransactions-DIvLOEw6.js → SettlementTransactions-qSgW0VCV.js} +80 -78
- package/dist/{Terminal-Cmed6xrj.js → Terminal-DXGKrm3G.js} +5 -5
- package/dist/TerminalSetting-bLxGkMlN.js +497 -0
- package/dist/{Transaction-BQn5rvxe.js → Transaction-B7ICajHR.js} +6 -6
- package/dist/{Transaction-8m9pEyyX.js → Transaction-BI2ZRsxe.js} +52 -47
- package/dist/{TransactionOld-CX-Odthg.js → TransactionOld-GLsvtHyF.js} +5 -5
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BX7YIl4i.js → TransactionTable.vue_vue_type_script_setup_true_lang-UjV7RID1.js} +12 -8
- package/dist/api/settlement/index.d.ts +1 -1
- package/dist/api/terminal/index.d.ts +4 -0
- package/dist/api/transaction/index.d.ts +1 -1
- package/dist/{app-QYQdqlqy.js → app-DVnyclnX.js} +327 -321
- package/dist/app.d.ts +6 -0
- package/dist/app.js +1 -1
- package/dist/{assets-Da-9jPqG.js → assets-BZmrImt4.js} +49 -52
- package/dist/{grafana-BDr-LF8O.js → grafana-DRnPxAqM.js} +1 -1
- package/dist/{index-0Dl-qVTd.js → index-BMF26WT4.js} +29 -29
- package/dist/{index-DFq7xhNQ.js → index-C1Hgyi3j.js} +1 -1
- package/dist/{index-Dg0Vf3qd.js → index-CD59SyVI.js} +1 -1
- package/dist/{index-DTH2dIPG.js → index-DZMn5Qjp.js} +796 -796
- package/dist/{index-Dq07OgOJ.js → index-a-Vqap7Z.js} +9 -1
- package/dist/{index-DbBsTEVS.js → index-gSE1T266.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-JHB8s5dZ.js → index.vue_vue_type_script_setup_true_lang-FgXpWvbs.js} +1 -1
- package/dist/model/transaction.d.ts +3 -0
- package/dist/package.json +1 -1
- package/dist/{payout-account--IA1DbB5.js → payout-account-B76ODsn2.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
- package/package.json +1 -1
- package/dist/Settlement-B06tIr4_.js +0 -445
- package/dist/Settlement-C2BVxmir.js +0 -219
- package/dist/TerminalSetting-BrTRbBF7.js +0 -389
@@ -1,14 +1,14 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as Wn, onMounted as Hn, onBeforeMount as jn, unref as Vn } from "vue";
|
3
3
|
import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as $n } from "@feedmepos/ui-library";
|
6
|
-
const
|
6
|
+
const Zn = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
10
10
|
payout_account: "Payout Account"
|
11
|
-
},
|
11
|
+
}, Jn = {
|
12
12
|
payout_account: "Payout Account",
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
@@ -28,6 +28,7 @@ const Jn = {
|
|
28
28
|
},
|
29
29
|
dialog: {
|
30
30
|
title: "Settlements Transactions",
|
31
|
+
date: "Date",
|
31
32
|
search: "Search Transactions ...",
|
32
33
|
info: {
|
33
34
|
transaction: {
|
@@ -64,6 +65,7 @@ const Jn = {
|
|
64
65
|
method: "Method",
|
65
66
|
status: "Status",
|
66
67
|
type: "Type",
|
68
|
+
payFor: "For",
|
67
69
|
transaction_at: "Transaction At",
|
68
70
|
sales_amount: "Sales Amount",
|
69
71
|
fee: "Fee",
|
@@ -92,6 +94,7 @@ const Jn = {
|
|
92
94
|
type: "Type",
|
93
95
|
status: "Status",
|
94
96
|
source: "Source",
|
97
|
+
restaurant: "Restaurant",
|
95
98
|
transaction_at: "Transaction At",
|
96
99
|
sales_amount: "Sales Amount",
|
97
100
|
actions: "Actions"
|
@@ -142,8 +145,8 @@ const Jn = {
|
|
142
145
|
}
|
143
146
|
}
|
144
147
|
}, qn = {
|
145
|
-
components:
|
146
|
-
routes:
|
148
|
+
components: Zn,
|
149
|
+
routes: Jn,
|
147
150
|
settlements: Xn,
|
148
151
|
transactions: Yn,
|
149
152
|
payout_account: Kn
|
@@ -172,6 +175,7 @@ const Jn = {
|
|
172
175
|
},
|
173
176
|
dialog: {
|
174
177
|
title: "结算订单详细",
|
178
|
+
date: "日期",
|
175
179
|
search: "查询订单 ...",
|
176
180
|
info: {
|
177
181
|
transaction: {
|
@@ -208,6 +212,7 @@ const Jn = {
|
|
208
212
|
method: "支付方法",
|
209
213
|
status: "状态",
|
210
214
|
type: "类型",
|
215
|
+
payFor: "于",
|
211
216
|
transaction_at: "交易时间",
|
212
217
|
sales_amount: "营业金额",
|
213
218
|
fee: "服务费",
|
@@ -235,6 +240,7 @@ const Jn = {
|
|
235
240
|
method: "支付方法",
|
236
241
|
type: "支付类型",
|
237
242
|
status: "状态",
|
243
|
+
restaurant: "餐厅",
|
238
244
|
source: "源",
|
239
245
|
transaction_at: "交易时间",
|
240
246
|
sales_amount: "交易金额",
|
@@ -299,7 +305,7 @@ const Jn = {
|
|
299
305
|
sidebarDisplay: "Restaurants",
|
300
306
|
section: "payment-gateway"
|
301
307
|
},
|
302
|
-
component: () => import("./Restaurant-
|
308
|
+
component: () => import("./Restaurant-C9GmwxpU.js")
|
303
309
|
},
|
304
310
|
{
|
305
311
|
path: "/admin/restaurants/:restaurantId",
|
@@ -308,7 +314,7 @@ const Jn = {
|
|
308
314
|
meta: {
|
309
315
|
parent: "mf-payment-admin.restaurant"
|
310
316
|
},
|
311
|
-
component: () => import("./RestaurantSetting-
|
317
|
+
component: () => import("./RestaurantSetting-DaSalR0b.js")
|
312
318
|
},
|
313
319
|
{
|
314
320
|
path: "/admin/payout-accounts",
|
@@ -317,7 +323,7 @@ const Jn = {
|
|
317
323
|
sidebarDisplay: "Payout Accounts",
|
318
324
|
section: "payment-gateway"
|
319
325
|
},
|
320
|
-
component: () => import("./PayoutAccount-
|
326
|
+
component: () => import("./PayoutAccount-BAXvKwol.js")
|
321
327
|
},
|
322
328
|
{
|
323
329
|
path: "/admin/payout-accounts/:accountId",
|
@@ -326,7 +332,7 @@ const Jn = {
|
|
326
332
|
meta: {
|
327
333
|
parent: "mf-payment-admin.payout-account"
|
328
334
|
},
|
329
|
-
component: () => import("./PayoutAccountSetting-
|
335
|
+
component: () => import("./PayoutAccountSetting-CsY4Dr_E.js")
|
330
336
|
},
|
331
337
|
{
|
332
338
|
path: "/admin/terminal/pos",
|
@@ -335,7 +341,7 @@ const Jn = {
|
|
335
341
|
sidebarDisplay: "POS",
|
336
342
|
section: "device"
|
337
343
|
},
|
338
|
-
component: () => import("./Terminal-
|
344
|
+
component: () => import("./Terminal-DXGKrm3G.js"),
|
339
345
|
props: {
|
340
346
|
type: "POS"
|
341
347
|
}
|
@@ -347,7 +353,7 @@ const Jn = {
|
|
347
353
|
sidebarDisplay: "Kiosks",
|
348
354
|
section: "device"
|
349
355
|
},
|
350
|
-
component: () => import("./Terminal-
|
356
|
+
component: () => import("./Terminal-DXGKrm3G.js"),
|
351
357
|
props: {
|
352
358
|
type: "KIOSK"
|
353
359
|
}
|
@@ -359,7 +365,7 @@ const Jn = {
|
|
359
365
|
sidebarDisplay: "Terminals",
|
360
366
|
section: "device"
|
361
367
|
},
|
362
|
-
component: () => import("./Terminal-
|
368
|
+
component: () => import("./Terminal-DXGKrm3G.js"),
|
363
369
|
props: {
|
364
370
|
type: "TERMINAL"
|
365
371
|
}
|
@@ -371,7 +377,7 @@ const Jn = {
|
|
371
377
|
meta: {
|
372
378
|
parent: "mf-payment-admin.pos"
|
373
379
|
},
|
374
|
-
component: () => import("./TerminalSetting-
|
380
|
+
component: () => import("./TerminalSetting-bLxGkMlN.js")
|
375
381
|
},
|
376
382
|
{
|
377
383
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -380,7 +386,7 @@ const Jn = {
|
|
380
386
|
meta: {
|
381
387
|
parent: "mf-payment-admin.kiosk"
|
382
388
|
},
|
383
|
-
component: () => import("./TerminalSetting-
|
389
|
+
component: () => import("./TerminalSetting-bLxGkMlN.js")
|
384
390
|
},
|
385
391
|
{
|
386
392
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -389,7 +395,7 @@ const Jn = {
|
|
389
395
|
meta: {
|
390
396
|
parent: "mf-payment-admin.terminal"
|
391
397
|
},
|
392
|
-
component: () => import("./TerminalSetting-
|
398
|
+
component: () => import("./TerminalSetting-bLxGkMlN.js")
|
393
399
|
},
|
394
400
|
{
|
395
401
|
path: "/admin/transaction",
|
@@ -397,7 +403,7 @@ const Jn = {
|
|
397
403
|
meta: {
|
398
404
|
sidebarDisplay: "Transactions"
|
399
405
|
},
|
400
|
-
component: () => import("./Transaction-
|
406
|
+
component: () => import("./Transaction-BI2ZRsxe.js")
|
401
407
|
},
|
402
408
|
{
|
403
409
|
path: "/admin/settlement",
|
@@ -405,7 +411,7 @@ const Jn = {
|
|
405
411
|
meta: {
|
406
412
|
sidebarDisplay: "Settlements"
|
407
413
|
},
|
408
|
-
component: () => import("./Settlement-
|
414
|
+
component: () => import("./Settlement-C7oFzVbb.js")
|
409
415
|
},
|
410
416
|
{
|
411
417
|
path: "/admin/settlement/:settlementId",
|
@@ -414,7 +420,7 @@ const Jn = {
|
|
414
420
|
meta: {
|
415
421
|
parent: "mf-payment-admin.settlement"
|
416
422
|
},
|
417
|
-
component: () => import("./SettlementTransactions-
|
423
|
+
component: () => import("./SettlementTransactions-qSgW0VCV.js")
|
418
424
|
}
|
419
425
|
], Ge = [
|
420
426
|
{
|
@@ -424,7 +430,7 @@ const Jn = {
|
|
424
430
|
{
|
425
431
|
path: "/payout-account",
|
426
432
|
name: "mf-payment-payout-account",
|
427
|
-
component: () => import("./PayoutAccount-
|
433
|
+
component: () => import("./PayoutAccount-C9TC-nLW.js"),
|
428
434
|
meta: {
|
429
435
|
sidebarDisplay: "i18n:routes.payout_account"
|
430
436
|
}
|
@@ -432,7 +438,7 @@ const Jn = {
|
|
432
438
|
{
|
433
439
|
path: "/transaction-old",
|
434
440
|
name: "mf-payment-old-transaction",
|
435
|
-
component: () => import("./TransactionOld-
|
441
|
+
component: () => import("./TransactionOld-GLsvtHyF.js"),
|
436
442
|
meta: {
|
437
443
|
sidebarDisplay: "i18n:routes.transaction"
|
438
444
|
}
|
@@ -440,7 +446,7 @@ const Jn = {
|
|
440
446
|
{
|
441
447
|
path: "/transaction",
|
442
448
|
name: "mf-payment-transaction",
|
443
|
-
component: () => import("./Transaction-
|
449
|
+
component: () => import("./Transaction-B7ICajHR.js"),
|
444
450
|
meta: {
|
445
451
|
sidebarDisplay: "i18n:routes.transaction-new",
|
446
452
|
sidebarNew: !0
|
@@ -449,7 +455,7 @@ const Jn = {
|
|
449
455
|
{
|
450
456
|
path: "/settlement",
|
451
457
|
name: "mf-payment-settlement",
|
452
|
-
component: () => import("./Settlement-
|
458
|
+
component: () => import("./Settlement-BvUs3MyQ.js"),
|
453
459
|
meta: {
|
454
460
|
sidebarDisplay: "i18n:routes.settlement"
|
455
461
|
}
|
@@ -458,7 +464,7 @@ const Jn = {
|
|
458
464
|
path: "/settlement/:settlementId",
|
459
465
|
name: "mf-payment-settlement-transaction",
|
460
466
|
props: !0,
|
461
|
-
component: () => import("./SettlementTransactions-
|
467
|
+
component: () => import("./SettlementTransactions-BRo_oigl.js"),
|
462
468
|
meta: {
|
463
469
|
parent: "mf-payment-settlement"
|
464
470
|
}
|
@@ -475,7 +481,7 @@ const Jn = {
|
|
475
481
|
init: t
|
476
482
|
};
|
477
483
|
});
|
478
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b1bfaa6b-9428-4636-b1f7-8c457b1e3d6e", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b1bfaa6b-9428-4636-b1f7-8c457b1e3d6e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_zPh03bcHZme6anGJMwgEoTYqVZVsuB2a3gGf", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "709", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250330.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6405", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14217035783", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cd52576f87c446415617b21bc8301415c08dbc4c", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MmRjOTQ5MTktMzU4MS00Njc1LWFkY2ItOWU3MzlkMjQyYWNhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI5IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46MmRjOTQ5MTktMzU4MS00Njc1LWFkY2ItOWU3MzlkMjQyYWNhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI5IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiOGVjZGU5MWMtNDRlYS00YTA1LWE3Y2ItN2JhZTAzMjJjNDc5Iiwic2lkIjoiOTA0YjU1ZDctOTgwMi00ZWU5LWIxNWItODQxYjNjNDkzOTk4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCJjZDUyNTc2Zjg3YzQ0NjQxNTYxN2IyMWJjODMwMTQxNWMwOGRiYzRjXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0MjE3MDM1NzgzXCIsXCJydW5fbnVtYmVyXCI6XCI0M1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCJjZDUyNTc2Zjg3YzQ0NjQxNTYxN2IyMWJjODMwMTQxNWMwOGRiYzRjXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImNkNTI1NzZmODdjNDQ2NDE1NjE3YjIxYmM4MzAxNDE1YzA4ZGJjNGNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiIyZGM5NDkxOS0zNTgxLTQ2NzUtYWRjYi05ZTczOWQyNDJhY2EuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDM1ODc5NTgsImV4cCI6MTc0MzYxMDc1OH0.os1v-KPryFC-uif215j_TswG1LFXtECslhoe_0Ee1PTxYUMbARPKzqC-XP0R89OzMrfKIzNrQHI0dj1bA8UfLOJ-sDQWaq1KttTjN5e6fjqx84mEIqghbpO57dC5aUe0Xrp90Q5OS9w5QFgLq6CDruRYv6gXs0CAA7W6yzWxnxeAnLJfrd2uK4DuaKnBEPg3rDO00cjf2v0tYZyPpTqWQWgGGTqvoP7slGKNPbTg9R6_i4klhX22g694jtjpc1e46w_hLa3q9DwEWqAsVUHKkywsg0ENImXlKovY9x153uCWamtsIdj7fDKeXsw6tXkSZjeB_ssjODigyZDrnPA-zw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743588599535-0.7008992481500267:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743588599376-0.5576510677251285:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743588599215-0.27115225693618994:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4d87b932-2ca0-44a7-b1b9-f2bcc980730e", INVOCATION_ID: "aa9b256620094180a19f1a9ea97a72d7", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "43", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 237", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "cd52576f87c446415617b21bc8301415c08dbc4c", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b1bfaa6b-9428-4636-b1f7-8c457b1e3d6e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/2dc94919-3581-4675-adcb-9e739d242aca/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b1bfaa6b-9428-4636-b1f7-8c457b1e3d6e", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b1bfaa6b-9428-4636-b1f7-8c457b1e3d6e", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ef66bd43-6031-4049-b7da-deccc18dc47d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_HXUZoJ3nOfUiA3dmI5Uk53jKsoTX0y1B1qT9", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "713", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250413.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "8:6104", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14561653446", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiN2U2YWZkMzktZmUwNi00NDZjLThkN2EtZjJlYmFmYWNlYjQxIiwic2lkIjoiNTlhY2U1NWYtZjAyMi00YmMyLWJmMGQtMmVhYTczMjYyYjNmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NTYxNjUzNDQ2XCIsXCJydW5fbnVtYmVyXCI6XCI0NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjc1N2UzN2M1Zjc5M2NkMGM3ZWZiZTA0ODA1NmZlNDU1YzczYTcxNjZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiIzYjdhY2FiNC01ZWQyLTQxOTgtYjIyNC00YjU2NTA4MDYzYWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUxNjg2MTIsImV4cCI6MTc0NTE5MTQxMn0.Yad_MeFF6jBMWcbbzEs2774A7Z-es0XwnQIk6HS3k3kOlxQZYCkns_e7VhvBg5x025JH60_kCl-_AAHS4OWMKz6pSq3qP988u0BYn96i96hsrx5JYRqKd7iweNO-fi0vd6NxSfZiXwTvKIRktE3o78BDab4CdMGTuZNCfffZrGiij8RuZ7myhLOWfc3wvYQohzMauAdLFKfaRSEcjMxmHVzZxoCOKuGpKhiyCwghVZJL_pOE2UwhkkWwmvkJJ0SJ06bm2lk0a6hkCtgpuGWxy8AyrwJh55wmLCOEMltvbPqaSUKySk6RJ8ouPzbPRBph0uORofID-5GjCLjntrCa8w", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745169264958-0.9209027651321111:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1745169264802-0.8105289167050185:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1745169264644-0.12257016185266867:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_3070b198-58ed-40fd-90ac-af0176c8ac5c", INVOCATION_ID: "536745adae6f47b78e87de0185e3e751", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "45", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 464", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.8", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ef66bd43-6031-4049-b7da-deccc18dc47d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/3b7acab4-5ed2-4198-b224-4b56508063ae/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
479
485
|
/**
|
480
486
|
* @license
|
481
487
|
* Copyright 2017 Google LLC
|
@@ -492,7 +498,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
492
498
|
* See the License for the specific language governing permissions and
|
493
499
|
* limitations under the License.
|
494
500
|
*/
|
495
|
-
const
|
501
|
+
const Wt = function(n) {
|
496
502
|
const e = [];
|
497
503
|
let t = 0;
|
498
504
|
for (let r = 0; r < n.length; r++) {
|
@@ -519,7 +525,7 @@ const jt = function(n) {
|
|
519
525
|
}
|
520
526
|
}
|
521
527
|
return e.join("");
|
522
|
-
},
|
528
|
+
}, Ht = {
|
523
529
|
/**
|
524
530
|
* Maps bytes to characters.
|
525
531
|
*/
|
@@ -579,8 +585,8 @@ const jt = function(n) {
|
|
579
585
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
580
586
|
for (let i = 0; i < n.length; i += 3) {
|
581
587
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
582
|
-
let m = (c & 15) << 2 | l >> 6,
|
583
|
-
o || (
|
588
|
+
let m = (c & 15) << 2 | l >> 6, v = l & 63;
|
589
|
+
o || (v = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[v]);
|
584
590
|
}
|
585
591
|
return r.join("");
|
586
592
|
},
|
@@ -593,7 +599,7 @@ const jt = function(n) {
|
|
593
599
|
* @return The base64 encoded string.
|
594
600
|
*/
|
595
601
|
encodeString(n, e) {
|
596
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
602
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Wt(n), e);
|
597
603
|
},
|
598
604
|
/**
|
599
605
|
* Base64-decode a string.
|
@@ -634,8 +640,8 @@ const jt = function(n) {
|
|
634
640
|
throw new or();
|
635
641
|
const m = s << 2 | c >> 4;
|
636
642
|
if (r.push(m), l !== 64) {
|
637
|
-
const
|
638
|
-
if (r.push(
|
643
|
+
const v = c << 4 & 240 | l >> 2;
|
644
|
+
if (r.push(v), h !== 64) {
|
639
645
|
const x = l << 6 & 192 | h;
|
640
646
|
r.push(x);
|
641
647
|
}
|
@@ -662,13 +668,13 @@ class or extends Error {
|
|
662
668
|
}
|
663
669
|
}
|
664
670
|
const cr = function(n) {
|
665
|
-
const e =
|
666
|
-
return
|
671
|
+
const e = Wt(n);
|
672
|
+
return Ht.encodeByteArray(e, !0);
|
667
673
|
}, de = function(n) {
|
668
674
|
return cr(n).replace(/\./g, "");
|
669
|
-
},
|
675
|
+
}, jt = function(n) {
|
670
676
|
try {
|
671
|
-
return
|
677
|
+
return Ht.decodeString(n, !0);
|
672
678
|
} catch (e) {
|
673
679
|
console.error("base64Decode failed: ", e);
|
674
680
|
}
|
@@ -730,7 +736,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
730
736
|
} catch {
|
731
737
|
return;
|
732
738
|
}
|
733
|
-
const e = n &&
|
739
|
+
const e = n && jt(n[1]);
|
734
740
|
return e && JSON.parse(e);
|
735
741
|
}, ze = () => {
|
736
742
|
try {
|
@@ -873,18 +879,18 @@ function _r() {
|
|
873
879
|
function gr() {
|
874
880
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
875
881
|
}
|
876
|
-
function
|
882
|
+
function vr() {
|
877
883
|
const n = f();
|
878
884
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
879
885
|
}
|
880
|
-
function
|
886
|
+
function Ir() {
|
881
887
|
try {
|
882
888
|
return typeof indexedDB == "object";
|
883
889
|
} catch {
|
884
890
|
return !1;
|
885
891
|
}
|
886
892
|
}
|
887
|
-
function
|
893
|
+
function br() {
|
888
894
|
return new Promise((n, e) => {
|
889
895
|
try {
|
890
896
|
let t = !0;
|
@@ -992,11 +998,11 @@ function Q(n) {
|
|
992
998
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
993
999
|
return e.length ? "&" + e.join("&") : "";
|
994
1000
|
}
|
995
|
-
function
|
996
|
-
const t = new
|
1001
|
+
function kr(n, e) {
|
1002
|
+
const t = new Rr(n, e);
|
997
1003
|
return t.subscribe.bind(t);
|
998
1004
|
}
|
999
|
-
class
|
1005
|
+
class Rr {
|
1000
1006
|
/**
|
1001
1007
|
* @param executor Function which can make calls to a single Observer
|
1002
1008
|
* as a proxy.
|
@@ -1042,7 +1048,7 @@ class kr {
|
|
1042
1048
|
next: e,
|
1043
1049
|
error: t,
|
1044
1050
|
complete: r
|
1045
|
-
}, i.next === void 0 && (i.next =
|
1051
|
+
}, i.next === void 0 && (i.next = Re), i.error === void 0 && (i.error = Re), i.complete === void 0 && (i.complete = Re);
|
1046
1052
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1047
1053
|
return this.finalized && this.task.then(() => {
|
1048
1054
|
try {
|
@@ -1088,7 +1094,7 @@ function Sr(n, e) {
|
|
1088
1094
|
return !0;
|
1089
1095
|
return !1;
|
1090
1096
|
}
|
1091
|
-
function
|
1097
|
+
function Re() {
|
1092
1098
|
}
|
1093
1099
|
/**
|
1094
1100
|
* @license
|
@@ -1216,7 +1222,7 @@ class Ar {
|
|
1216
1222
|
if (this.component)
|
1217
1223
|
throw Error(`Component for ${this.name} has already been provided`);
|
1218
1224
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1219
|
-
if (
|
1225
|
+
if (Cr(e))
|
1220
1226
|
try {
|
1221
1227
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1222
1228
|
} catch {
|
@@ -1303,7 +1309,7 @@ class Ar {
|
|
1303
1309
|
getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
|
1304
1310
|
let r = this.instances.get(e);
|
1305
1311
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
1306
|
-
instanceIdentifier:
|
1312
|
+
instanceIdentifier: Nr(e),
|
1307
1313
|
options: t
|
1308
1314
|
}), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
1309
1315
|
try {
|
@@ -1319,10 +1325,10 @@ class Ar {
|
|
1319
1325
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
1320
1326
|
}
|
1321
1327
|
}
|
1322
|
-
function
|
1328
|
+
function Nr(n) {
|
1323
1329
|
return n === L ? void 0 : n;
|
1324
1330
|
}
|
1325
|
-
function
|
1331
|
+
function Cr(n) {
|
1326
1332
|
return n.instantiationMode === "EAGER";
|
1327
1333
|
}
|
1328
1334
|
/**
|
@@ -1341,7 +1347,7 @@ function Nr(n) {
|
|
1341
1347
|
* See the License for the specific language governing permissions and
|
1342
1348
|
* limitations under the License.
|
1343
1349
|
*/
|
1344
|
-
class
|
1350
|
+
class Or {
|
1345
1351
|
constructor(e) {
|
1346
1352
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1347
1353
|
}
|
@@ -1495,24 +1501,24 @@ function xr() {
|
|
1495
1501
|
IDBCursor.prototype.continuePrimaryKey
|
1496
1502
|
]);
|
1497
1503
|
}
|
1498
|
-
const
|
1499
|
-
function
|
1504
|
+
const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1505
|
+
function Fr(n) {
|
1500
1506
|
const e = new Promise((t, r) => {
|
1501
1507
|
const i = () => {
|
1502
1508
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1503
1509
|
}, s = () => {
|
1504
|
-
t(
|
1510
|
+
t(O(n.result)), i();
|
1505
1511
|
}, a = () => {
|
1506
1512
|
r(n.error), i();
|
1507
1513
|
};
|
1508
1514
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1509
1515
|
});
|
1510
1516
|
return e.then((t) => {
|
1511
|
-
t instanceof IDBCursor &&
|
1517
|
+
t instanceof IDBCursor && Zt.set(t, n);
|
1512
1518
|
}).catch(() => {
|
1513
1519
|
}), $e.set(e, n), e;
|
1514
1520
|
}
|
1515
|
-
function
|
1521
|
+
function Wr(n) {
|
1516
1522
|
if (Le.has(n))
|
1517
1523
|
return;
|
1518
1524
|
const e = new Promise((t, r) => {
|
@@ -1533,11 +1539,11 @@ let Ue = {
|
|
1533
1539
|
if (e === "done")
|
1534
1540
|
return Le.get(n);
|
1535
1541
|
if (e === "objectStoreNames")
|
1536
|
-
return n.objectStoreNames ||
|
1542
|
+
return n.objectStoreNames || Jt.get(n);
|
1537
1543
|
if (e === "store")
|
1538
1544
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1539
1545
|
}
|
1540
|
-
return
|
1546
|
+
return O(n[e]);
|
1541
1547
|
},
|
1542
1548
|
set(n, e, t) {
|
1543
1549
|
return n[e] = t, !0;
|
@@ -1546,25 +1552,25 @@ let Ue = {
|
|
1546
1552
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1547
1553
|
}
|
1548
1554
|
};
|
1549
|
-
function
|
1555
|
+
function Hr(n) {
|
1550
1556
|
Ue = n(Ue);
|
1551
1557
|
}
|
1552
|
-
function
|
1558
|
+
function jr(n) {
|
1553
1559
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1554
1560
|
const r = n.call(Ae(this), e, ...t);
|
1555
|
-
return
|
1561
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), O(r);
|
1556
1562
|
} : xr().includes(n) ? function(...e) {
|
1557
|
-
return n.apply(Ae(this), e),
|
1563
|
+
return n.apply(Ae(this), e), O(Zt.get(this));
|
1558
1564
|
} : function(...e) {
|
1559
|
-
return
|
1565
|
+
return O(n.apply(Ae(this), e));
|
1560
1566
|
};
|
1561
1567
|
}
|
1562
1568
|
function Vr(n) {
|
1563
|
-
return typeof n == "function" ?
|
1569
|
+
return typeof n == "function" ? jr(n) : (n instanceof IDBTransaction && Wr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1564
1570
|
}
|
1565
|
-
function
|
1571
|
+
function O(n) {
|
1566
1572
|
if (n instanceof IDBRequest)
|
1567
|
-
return
|
1573
|
+
return Fr(n);
|
1568
1574
|
if (Se.has(n))
|
1569
1575
|
return Se.get(n);
|
1570
1576
|
const e = Vr(n);
|
@@ -1572,9 +1578,9 @@ function C(n) {
|
|
1572
1578
|
}
|
1573
1579
|
const Ae = (n) => $e.get(n);
|
1574
1580
|
function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1575
|
-
const a = indexedDB.open(n, e), c =
|
1581
|
+
const a = indexedDB.open(n, e), c = O(a);
|
1576
1582
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1577
|
-
r(
|
1583
|
+
r(O(a.result), o.oldVersion, o.newVersion, O(a.transaction), o);
|
1578
1584
|
}), t && a.addEventListener("blocked", (o) => t(
|
1579
1585
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1580
1586
|
o.oldVersion,
|
@@ -1585,12 +1591,12 @@ function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1585
1591
|
}).catch(() => {
|
1586
1592
|
}), c;
|
1587
1593
|
}
|
1588
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"],
|
1594
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Ne = /* @__PURE__ */ new Map();
|
1589
1595
|
function ut(n, e) {
|
1590
1596
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1591
1597
|
return;
|
1592
|
-
if (
|
1593
|
-
return
|
1598
|
+
if (Ne.get(e))
|
1599
|
+
return Ne.get(e);
|
1594
1600
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
1595
1601
|
if (
|
1596
1602
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
@@ -1605,9 +1611,9 @@ function ut(n, e) {
|
|
1605
1611
|
i && o.done
|
1606
1612
|
]))[0];
|
1607
1613
|
};
|
1608
|
-
return
|
1614
|
+
return Ne.set(e, s), s;
|
1609
1615
|
}
|
1610
|
-
|
1616
|
+
Hr((n) => ({
|
1611
1617
|
...n,
|
1612
1618
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1613
1619
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1628,7 +1634,7 @@ Fr((n) => ({
|
|
1628
1634
|
* See the License for the specific language governing permissions and
|
1629
1635
|
* limitations under the License.
|
1630
1636
|
*/
|
1631
|
-
class
|
1637
|
+
class Zr {
|
1632
1638
|
constructor(e) {
|
1633
1639
|
this.container = e;
|
1634
1640
|
}
|
@@ -1636,7 +1642,7 @@ class Jr {
|
|
1636
1642
|
// auth token refresh, and installations will send this string.
|
1637
1643
|
getPlatformInfoString() {
|
1638
1644
|
return this.container.getProviders().map((t) => {
|
1639
|
-
if (
|
1645
|
+
if (Jr(t)) {
|
1640
1646
|
const r = t.getImmediate();
|
1641
1647
|
return `${r.library}/${r.version}`;
|
1642
1648
|
} else
|
@@ -1644,7 +1650,7 @@ class Jr {
|
|
1644
1650
|
}).filter((t) => t).join(" ");
|
1645
1651
|
}
|
1646
1652
|
}
|
1647
|
-
function
|
1653
|
+
function Jr(n) {
|
1648
1654
|
const e = n.getComponent();
|
1649
1655
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1650
1656
|
}
|
@@ -1665,7 +1671,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1665
1671
|
* See the License for the specific language governing permissions and
|
1666
1672
|
* limitations under the License.
|
1667
1673
|
*/
|
1668
|
-
const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore",
|
1674
|
+
const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1669
1675
|
/**
|
1670
1676
|
* @license
|
1671
1677
|
* Copyright 2019 Google LLC
|
@@ -1707,10 +1713,10 @@ const xe = "[DEFAULT]", Ei = {
|
|
1707
1713
|
[fi]: "fire-gcs",
|
1708
1714
|
[_i]: "fire-gcs-compat",
|
1709
1715
|
[gi]: "fire-fst",
|
1710
|
-
[
|
1711
|
-
[
|
1716
|
+
[Ii]: "fire-fst-compat",
|
1717
|
+
[vi]: "fire-vertex",
|
1712
1718
|
"fire-js": "fire-js",
|
1713
|
-
[
|
1719
|
+
[bi]: "fire-js-all"
|
1714
1720
|
};
|
1715
1721
|
/**
|
1716
1722
|
* @license
|
@@ -1728,7 +1734,7 @@ const xe = "[DEFAULT]", Ei = {
|
|
1728
1734
|
* See the License for the specific language governing permissions and
|
1729
1735
|
* limitations under the License.
|
1730
1736
|
*/
|
1731
|
-
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(),
|
1737
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1732
1738
|
function pt(n, e) {
|
1733
1739
|
try {
|
1734
1740
|
n.container.addComponent(e);
|
@@ -1738,9 +1744,9 @@ function pt(n, e) {
|
|
1738
1744
|
}
|
1739
1745
|
function X(n) {
|
1740
1746
|
const e = n.name;
|
1741
|
-
if (
|
1747
|
+
if (Fe.has(e))
|
1742
1748
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1743
|
-
|
1749
|
+
Fe.set(e, n);
|
1744
1750
|
for (const t of he.values())
|
1745
1751
|
pt(t, n);
|
1746
1752
|
for (const t of Ti.values())
|
@@ -1751,7 +1757,7 @@ function Xt(n, e) {
|
|
1751
1757
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1752
1758
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1753
1759
|
}
|
1754
|
-
function
|
1760
|
+
function I(n) {
|
1755
1761
|
return n.settings !== void 0;
|
1756
1762
|
}
|
1757
1763
|
/**
|
@@ -1802,7 +1808,7 @@ const wi = {
|
|
1802
1808
|
* See the License for the specific language governing permissions and
|
1803
1809
|
* limitations under the License.
|
1804
1810
|
*/
|
1805
|
-
class
|
1811
|
+
class ki {
|
1806
1812
|
constructor(e, t, r) {
|
1807
1813
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
|
1808
1814
|
"app",
|
@@ -1880,13 +1886,13 @@ function Yt(n, e = {}) {
|
|
1880
1886
|
return s;
|
1881
1887
|
throw D.create("duplicate-app", { appName: i });
|
1882
1888
|
}
|
1883
|
-
const a = new
|
1884
|
-
for (const o of
|
1889
|
+
const a = new Or(i);
|
1890
|
+
for (const o of Fe.values())
|
1885
1891
|
a.addComponent(o);
|
1886
|
-
const c = new
|
1892
|
+
const c = new ki(t, r, a);
|
1887
1893
|
return he.set(i, c), c;
|
1888
1894
|
}
|
1889
|
-
function
|
1895
|
+
function Ri(n = xe) {
|
1890
1896
|
const e = he.get(n);
|
1891
1897
|
if (!e && n === xe && Gt())
|
1892
1898
|
return Yt();
|
@@ -1894,7 +1900,7 @@ function ki(n = xe) {
|
|
1894
1900
|
throw D.create("no-app", { appName: n });
|
1895
1901
|
return e;
|
1896
1902
|
}
|
1897
|
-
function
|
1903
|
+
function W(n, e, t) {
|
1898
1904
|
var r;
|
1899
1905
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1900
1906
|
t && (i += `-${t}`);
|
@@ -1930,9 +1936,9 @@ function j(n, e, t) {
|
|
1930
1936
|
* limitations under the License.
|
1931
1937
|
*/
|
1932
1938
|
const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
|
1933
|
-
let
|
1939
|
+
let Ce = null;
|
1934
1940
|
function Kt() {
|
1935
|
-
return
|
1941
|
+
return Ce || (Ce = Gr(Si, Ai, {
|
1936
1942
|
upgrade: (n, e) => {
|
1937
1943
|
switch (e) {
|
1938
1944
|
case 0:
|
@@ -1947,9 +1953,9 @@ function Kt() {
|
|
1947
1953
|
throw D.create("idb-open", {
|
1948
1954
|
originalErrorMessage: n.message
|
1949
1955
|
});
|
1950
|
-
})),
|
1956
|
+
})), Ce;
|
1951
1957
|
}
|
1952
|
-
async function
|
1958
|
+
async function Ni(n) {
|
1953
1959
|
try {
|
1954
1960
|
const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
|
1955
1961
|
return await t.done, r;
|
@@ -1998,7 +2004,7 @@ function qt(n) {
|
|
1998
2004
|
* See the License for the specific language governing permissions and
|
1999
2005
|
* limitations under the License.
|
2000
2006
|
*/
|
2001
|
-
const
|
2007
|
+
const Ci = 1024, Oi = 30 * 24 * 60 * 60 * 1e3;
|
2002
2008
|
class Di {
|
2003
2009
|
constructor(e) {
|
2004
2010
|
this.container = e, this._heartbeatsCache = null;
|
@@ -2018,7 +2024,7 @@ class Di {
|
|
2018
2024
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2019
2025
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2020
2026
|
const c = new Date(a.date).valueOf();
|
2021
|
-
return Date.now() - c <=
|
2027
|
+
return Date.now() - c <= Oi;
|
2022
2028
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2023
2029
|
} catch (r) {
|
2024
2030
|
T.warn(r);
|
@@ -2046,7 +2052,7 @@ class Di {
|
|
2046
2052
|
function ft() {
|
2047
2053
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2048
2054
|
}
|
2049
|
-
function Pi(n, e =
|
2055
|
+
function Pi(n, e = Ci) {
|
2050
2056
|
const t = [];
|
2051
2057
|
let r = n.slice();
|
2052
2058
|
for (const i of n) {
|
@@ -2075,14 +2081,14 @@ class Mi {
|
|
2075
2081
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
2076
2082
|
}
|
2077
2083
|
async runIndexedDBEnvironmentCheck() {
|
2078
|
-
return
|
2084
|
+
return Ir() ? br().then(() => !0).catch(() => !1) : !1;
|
2079
2085
|
}
|
2080
2086
|
/**
|
2081
2087
|
* Read all heartbeats.
|
2082
2088
|
*/
|
2083
2089
|
async read() {
|
2084
2090
|
if (await this._canUseIndexedDBPromise) {
|
2085
|
-
const t = await
|
2091
|
+
const t = await Ni(this.app);
|
2086
2092
|
return t != null && t.heartbeats ? t : { heartbeats: [] };
|
2087
2093
|
} else
|
2088
2094
|
return { heartbeats: [] };
|
@@ -2140,7 +2146,7 @@ function _t(n) {
|
|
2140
2146
|
function Li(n) {
|
2141
2147
|
X(new G(
|
2142
2148
|
"platform-logger",
|
2143
|
-
(e) => new
|
2149
|
+
(e) => new Zr(e),
|
2144
2150
|
"PRIVATE"
|
2145
2151
|
/* ComponentType.PRIVATE */
|
2146
2152
|
)), X(new G(
|
@@ -2148,7 +2154,7 @@ function Li(n) {
|
|
2148
2154
|
(e) => new Di(e),
|
2149
2155
|
"PRIVATE"
|
2150
2156
|
/* ComponentType.PRIVATE */
|
2151
|
-
)),
|
2157
|
+
)), W(Be, ht, n), W(Be, ht, "esm2017"), W("fire-js", "");
|
2152
2158
|
}
|
2153
2159
|
Li("");
|
2154
2160
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2168,7 +2174,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2168
2174
|
* See the License for the specific language governing permissions and
|
2169
2175
|
* limitations under the License.
|
2170
2176
|
*/
|
2171
|
-
|
2177
|
+
W(Ui, Bi, "app");
|
2172
2178
|
var gt = function() {
|
2173
2179
|
return gt = Object.assign || function(e) {
|
2174
2180
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2178,7 +2184,7 @@ var gt = function() {
|
|
2178
2184
|
return e;
|
2179
2185
|
}, gt.apply(this, arguments);
|
2180
2186
|
};
|
2181
|
-
function
|
2187
|
+
function Ze(n, e) {
|
2182
2188
|
var t = {};
|
2183
2189
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2184
2190
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2209,7 +2215,7 @@ const xi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2209
2215
|
* limitations under the License.
|
2210
2216
|
*/
|
2211
2217
|
const pe = new $t("@firebase/auth");
|
2212
|
-
function
|
2218
|
+
function Fi(n, ...e) {
|
2213
2219
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2214
2220
|
}
|
2215
2221
|
function se(n, ...e) {
|
@@ -2232,10 +2238,10 @@ function se(n, ...e) {
|
|
2232
2238
|
* limitations under the License.
|
2233
2239
|
*/
|
2234
2240
|
function w(n, ...e) {
|
2235
|
-
throw
|
2241
|
+
throw Je(n, ...e);
|
2236
2242
|
}
|
2237
2243
|
function _(n, ...e) {
|
2238
|
-
return
|
2244
|
+
return Je(n, ...e);
|
2239
2245
|
}
|
2240
2246
|
function tn(n, e, t) {
|
2241
2247
|
const r = Object.assign(Object.assign({}, xi()), { [e]: t });
|
@@ -2246,7 +2252,7 @@ function tn(n, e, t) {
|
|
2246
2252
|
function P(n) {
|
2247
2253
|
return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
2248
2254
|
}
|
2249
|
-
function
|
2255
|
+
function Je(n, ...e) {
|
2250
2256
|
if (typeof n != "string") {
|
2251
2257
|
const t = e[0], r = [...e.slice(1)];
|
2252
2258
|
return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
|
@@ -2255,14 +2261,14 @@ function Ze(n, ...e) {
|
|
2255
2261
|
}
|
2256
2262
|
function u(n, e, ...t) {
|
2257
2263
|
if (!n)
|
2258
|
-
throw
|
2264
|
+
throw Je(e, ...t);
|
2259
2265
|
}
|
2260
|
-
function
|
2266
|
+
function b(n) {
|
2261
2267
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2262
2268
|
throw se(e), new Error(e);
|
2263
2269
|
}
|
2264
|
-
function
|
2265
|
-
n ||
|
2270
|
+
function k(n, e) {
|
2271
|
+
n || b(e);
|
2266
2272
|
}
|
2267
2273
|
/**
|
2268
2274
|
* @license
|
@@ -2280,14 +2286,14 @@ function R(n, e) {
|
|
2280
2286
|
* See the License for the specific language governing permissions and
|
2281
2287
|
* limitations under the License.
|
2282
2288
|
*/
|
2283
|
-
function
|
2289
|
+
function We() {
|
2284
2290
|
var n;
|
2285
2291
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2286
2292
|
}
|
2287
|
-
function
|
2288
|
-
return
|
2293
|
+
function Wi() {
|
2294
|
+
return vt() === "http:" || vt() === "https:";
|
2289
2295
|
}
|
2290
|
-
function
|
2296
|
+
function vt() {
|
2291
2297
|
var n;
|
2292
2298
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.protocol) || null;
|
2293
2299
|
}
|
@@ -2307,15 +2313,15 @@ function bt() {
|
|
2307
2313
|
* See the License for the specific language governing permissions and
|
2308
2314
|
* limitations under the License.
|
2309
2315
|
*/
|
2310
|
-
function
|
2316
|
+
function Hi() {
|
2311
2317
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2312
2318
|
// This is especially true for Cordova apps which have unreliable
|
2313
2319
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2314
2320
|
// installed which overwrites the native navigator.onLine value and
|
2315
2321
|
// defines navigator.connection.
|
2316
|
-
(
|
2322
|
+
(Wi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2317
2323
|
}
|
2318
|
-
function
|
2324
|
+
function ji() {
|
2319
2325
|
if (typeof navigator > "u")
|
2320
2326
|
return null;
|
2321
2327
|
const n = navigator;
|
@@ -2345,10 +2351,10 @@ function Hi() {
|
|
2345
2351
|
*/
|
2346
2352
|
class te {
|
2347
2353
|
constructor(e, t) {
|
2348
|
-
this.shortDelay = e, this.longDelay = t,
|
2354
|
+
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2349
2355
|
}
|
2350
2356
|
get() {
|
2351
|
-
return
|
2357
|
+
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2352
2358
|
}
|
2353
2359
|
}
|
2354
2360
|
/**
|
@@ -2368,7 +2374,7 @@ class te {
|
|
2368
2374
|
* limitations under the License.
|
2369
2375
|
*/
|
2370
2376
|
function Xe(n, e) {
|
2371
|
-
|
2377
|
+
k(n.emulator, "Emulator should always be set here");
|
2372
2378
|
const { url: t } = n.emulator;
|
2373
2379
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2374
2380
|
}
|
@@ -2401,7 +2407,7 @@ class nn {
|
|
2401
2407
|
return globalThis.fetch;
|
2402
2408
|
if (typeof fetch < "u")
|
2403
2409
|
return fetch;
|
2404
|
-
|
2410
|
+
b("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2405
2411
|
}
|
2406
2412
|
static headers() {
|
2407
2413
|
if (this.headersImpl)
|
@@ -2412,7 +2418,7 @@ class nn {
|
|
2412
2418
|
return globalThis.Headers;
|
2413
2419
|
if (typeof Headers < "u")
|
2414
2420
|
return Headers;
|
2415
|
-
|
2421
|
+
b("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2416
2422
|
}
|
2417
2423
|
static response() {
|
2418
2424
|
if (this.responseImpl)
|
@@ -2423,7 +2429,7 @@ class nn {
|
|
2423
2429
|
return globalThis.Response;
|
2424
2430
|
if (typeof Response < "u")
|
2425
2431
|
return Response;
|
2426
|
-
|
2432
|
+
b("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2427
2433
|
}
|
2428
2434
|
}
|
2429
2435
|
/**
|
@@ -2534,7 +2540,7 @@ const Vi = {
|
|
2534
2540
|
* limitations under the License.
|
2535
2541
|
*/
|
2536
2542
|
const Gi = new te(3e4, 6e4);
|
2537
|
-
function
|
2543
|
+
function ve(n, e) {
|
2538
2544
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2539
2545
|
}
|
2540
2546
|
async function $(n, e, t, r, i = {}) {
|
@@ -2661,7 +2667,7 @@ async function on(n, e) {
|
|
2661
2667
|
* See the License for the specific language governing permissions and
|
2662
2668
|
* limitations under the License.
|
2663
2669
|
*/
|
2664
|
-
function
|
2670
|
+
function J(n) {
|
2665
2671
|
if (n)
|
2666
2672
|
try {
|
2667
2673
|
const e = new Date(Number(n));
|
@@ -2670,7 +2676,7 @@ function Z(n) {
|
|
2670
2676
|
} catch {
|
2671
2677
|
}
|
2672
2678
|
}
|
2673
|
-
async function
|
2679
|
+
async function Zi(n, e = !1) {
|
2674
2680
|
const t = z(n), r = await t.getIdToken(e), i = Ye(r);
|
2675
2681
|
u(
|
2676
2682
|
i && i.exp && i.auth_time && i.iat,
|
@@ -2682,14 +2688,14 @@ async function Ji(n, e = !1) {
|
|
2682
2688
|
return {
|
2683
2689
|
claims: i,
|
2684
2690
|
token: r,
|
2685
|
-
authTime:
|
2686
|
-
issuedAtTime:
|
2687
|
-
expirationTime:
|
2691
|
+
authTime: J(Oe(i.auth_time)),
|
2692
|
+
issuedAtTime: J(Oe(i.iat)),
|
2693
|
+
expirationTime: J(Oe(i.exp)),
|
2688
2694
|
signInProvider: a || null,
|
2689
2695
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2690
2696
|
};
|
2691
2697
|
}
|
2692
|
-
function
|
2698
|
+
function Oe(n) {
|
2693
2699
|
return Number(n) * 1e3;
|
2694
2700
|
}
|
2695
2701
|
function Ye(n) {
|
@@ -2697,13 +2703,13 @@ function Ye(n) {
|
|
2697
2703
|
if (e === void 0 || t === void 0 || r === void 0)
|
2698
2704
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2699
2705
|
try {
|
2700
|
-
const i =
|
2706
|
+
const i = jt(t);
|
2701
2707
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2702
2708
|
} catch (i) {
|
2703
2709
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2704
2710
|
}
|
2705
2711
|
}
|
2706
|
-
function
|
2712
|
+
function It(n) {
|
2707
2713
|
const e = Ye(n);
|
2708
2714
|
return u(
|
2709
2715
|
e,
|
@@ -2741,10 +2747,10 @@ async function K(n, e, t = !1) {
|
|
2741
2747
|
try {
|
2742
2748
|
return await e;
|
2743
2749
|
} catch (r) {
|
2744
|
-
throw r instanceof M &&
|
2750
|
+
throw r instanceof M && Ji(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2745
2751
|
}
|
2746
2752
|
}
|
2747
|
-
function
|
2753
|
+
function Ji({ code: n }) {
|
2748
2754
|
return n === "auth/user-disabled" || n === "auth/user-token-expired";
|
2749
2755
|
}
|
2750
2756
|
/**
|
@@ -2825,12 +2831,12 @@ class Xi {
|
|
2825
2831
|
* See the License for the specific language governing permissions and
|
2826
2832
|
* limitations under the License.
|
2827
2833
|
*/
|
2828
|
-
class
|
2834
|
+
class He {
|
2829
2835
|
constructor(e, t) {
|
2830
2836
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2831
2837
|
}
|
2832
2838
|
_initializeTime() {
|
2833
|
-
this.lastSignInTime =
|
2839
|
+
this.lastSignInTime = J(this.lastLoginAt), this.creationTime = J(this.createdAt);
|
2834
2840
|
}
|
2835
2841
|
_copy(e) {
|
2836
2842
|
this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
|
@@ -2878,7 +2884,7 @@ async function me(n) {
|
|
2878
2884
|
phoneNumber: s.phoneNumber || null,
|
2879
2885
|
tenantId: s.tenantId || null,
|
2880
2886
|
providerData: c,
|
2881
|
-
metadata: new
|
2887
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2882
2888
|
isAnonymous: d
|
2883
2889
|
};
|
2884
2890
|
Object.assign(n, h);
|
@@ -2892,7 +2898,7 @@ function Ki(n, e) {
|
|
2892
2898
|
}
|
2893
2899
|
function cn(n) {
|
2894
2900
|
return n.map((e) => {
|
2895
|
-
var { providerId: t } = e, r =
|
2901
|
+
var { providerId: t } = e, r = Ze(e, ["providerId"]);
|
2896
2902
|
return {
|
2897
2903
|
providerId: t,
|
2898
2904
|
uid: r.rawId || "",
|
@@ -2941,7 +2947,7 @@ async function qi(n, e) {
|
|
2941
2947
|
};
|
2942
2948
|
}
|
2943
2949
|
async function Qi(n, e) {
|
2944
|
-
return $(n, "POST", "/v2/accounts:revokeToken",
|
2950
|
+
return $(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2945
2951
|
}
|
2946
2952
|
/**
|
2947
2953
|
* @license
|
@@ -2959,7 +2965,7 @@ async function Qi(n, e) {
|
|
2959
2965
|
* See the License for the specific language governing permissions and
|
2960
2966
|
* limitations under the License.
|
2961
2967
|
*/
|
2962
|
-
class
|
2968
|
+
class H {
|
2963
2969
|
constructor() {
|
2964
2970
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2965
2971
|
}
|
@@ -2980,7 +2986,7 @@ class F {
|
|
2980
2986
|
"internal-error"
|
2981
2987
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2982
2988
|
);
|
2983
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2989
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
|
2984
2990
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2985
2991
|
}
|
2986
2992
|
updateFromIdToken(e) {
|
@@ -2989,7 +2995,7 @@ class F {
|
|
2989
2995
|
"internal-error"
|
2990
2996
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2991
2997
|
);
|
2992
|
-
const t =
|
2998
|
+
const t = It(e);
|
2993
2999
|
this.updateTokensAndExpiration(e, null, t);
|
2994
3000
|
}
|
2995
3001
|
async getToken(e, t = !1) {
|
@@ -3011,7 +3017,7 @@ class F {
|
|
3011
3017
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3012
3018
|
}
|
3013
3019
|
static fromJSON(e, t) {
|
3014
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3020
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
|
3015
3021
|
return r && (u(typeof r == "string", "internal-error", {
|
3016
3022
|
appName: e
|
3017
3023
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3031,10 +3037,10 @@ class F {
|
|
3031
3037
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3032
3038
|
}
|
3033
3039
|
_clone() {
|
3034
|
-
return Object.assign(new
|
3040
|
+
return Object.assign(new H(), this.toJSON());
|
3035
3041
|
}
|
3036
3042
|
_performRefresh() {
|
3037
|
-
return
|
3043
|
+
return b("not implemented");
|
3038
3044
|
}
|
3039
3045
|
}
|
3040
3046
|
/**
|
@@ -3053,13 +3059,13 @@ class F {
|
|
3053
3059
|
* See the License for the specific language governing permissions and
|
3054
3060
|
* limitations under the License.
|
3055
3061
|
*/
|
3056
|
-
function
|
3062
|
+
function R(n, e) {
|
3057
3063
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3058
3064
|
}
|
3059
3065
|
class y {
|
3060
3066
|
constructor(e) {
|
3061
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3062
|
-
this.providerId = "firebase", this.proactiveRefresh = new Xi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
3067
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
|
3068
|
+
this.providerId = "firebase", this.proactiveRefresh = new Xi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3063
3069
|
}
|
3064
3070
|
async getIdToken(e) {
|
3065
3071
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3071,7 +3077,7 @@ class y {
|
|
3071
3077
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3072
3078
|
}
|
3073
3079
|
getIdTokenResult(e) {
|
3074
|
-
return
|
3080
|
+
return Zi(this, e);
|
3075
3081
|
}
|
3076
3082
|
reload() {
|
3077
3083
|
return Yi(this);
|
@@ -3110,7 +3116,7 @@ class y {
|
|
3110
3116
|
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3111
3117
|
}
|
3112
3118
|
async delete() {
|
3113
|
-
if (
|
3119
|
+
if (I(this.auth.app))
|
3114
3120
|
return Promise.reject(P(this.auth));
|
3115
3121
|
const e = await this.getIdToken();
|
3116
3122
|
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -3141,20 +3147,20 @@ class y {
|
|
3141
3147
|
}
|
3142
3148
|
static _fromJSON(e, t) {
|
3143
3149
|
var r, i, s, a, c, o, l, d;
|
3144
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0,
|
3150
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3145
3151
|
u(
|
3146
3152
|
Te && at,
|
3147
3153
|
e,
|
3148
3154
|
"internal-error"
|
3149
3155
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3150
3156
|
);
|
3151
|
-
const Pn =
|
3157
|
+
const Pn = H.fromJSON(this.name, at);
|
3152
3158
|
u(
|
3153
3159
|
typeof Te == "string",
|
3154
3160
|
e,
|
3155
3161
|
"internal-error"
|
3156
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3157
|
-
),
|
3163
|
+
), R(h, e.name), R(m, e.name), u(
|
3158
3164
|
typeof it == "boolean",
|
3159
3165
|
e,
|
3160
3166
|
"internal-error"
|
@@ -3164,8 +3170,8 @@ class y {
|
|
3164
3170
|
e,
|
3165
3171
|
"internal-error"
|
3166
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3167
|
-
),
|
3168
|
-
const
|
3173
|
+
), R(v, e.name), R(x, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3174
|
+
const ke = new y({
|
3169
3175
|
uid: Te,
|
3170
3176
|
auth: e,
|
3171
3177
|
email: m,
|
@@ -3173,13 +3179,13 @@ class y {
|
|
3173
3179
|
displayName: h,
|
3174
3180
|
isAnonymous: st,
|
3175
3181
|
photoURL: x,
|
3176
|
-
phoneNumber:
|
3182
|
+
phoneNumber: v,
|
3177
3183
|
tenantId: tt,
|
3178
3184
|
stsTokenManager: Pn,
|
3179
3185
|
createdAt: nt,
|
3180
3186
|
lastLoginAt: rt
|
3181
3187
|
});
|
3182
|
-
return we && Array.isArray(we) && (
|
3188
|
+
return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
|
3183
3189
|
}
|
3184
3190
|
/**
|
3185
3191
|
* Initialize a User from an idToken server response
|
@@ -3187,7 +3193,7 @@ class y {
|
|
3187
3193
|
* @param idTokenResponse
|
3188
3194
|
*/
|
3189
3195
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3190
|
-
const i = new
|
3196
|
+
const i = new H();
|
3191
3197
|
i.updateFromServerResponse(t);
|
3192
3198
|
const s = new y({
|
3193
3199
|
uid: t.localId,
|
@@ -3209,7 +3215,7 @@ class y {
|
|
3209
3215
|
"internal-error"
|
3210
3216
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3211
3217
|
);
|
3212
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3218
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
|
3213
3219
|
c.updateFromIdToken(r);
|
3214
3220
|
const o = new y({
|
3215
3221
|
uid: i.localId,
|
@@ -3225,7 +3231,7 @@ class y {
|
|
3225
3231
|
phoneNumber: i.phoneNumber || null,
|
3226
3232
|
tenantId: i.tenantId || null,
|
3227
3233
|
providerData: s,
|
3228
|
-
metadata: new
|
3234
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
3229
3235
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3230
3236
|
};
|
3231
3237
|
return Object.assign(o, l), o;
|
@@ -3247,11 +3253,11 @@ class y {
|
|
3247
3253
|
* See the License for the specific language governing permissions and
|
3248
3254
|
* limitations under the License.
|
3249
3255
|
*/
|
3250
|
-
const
|
3256
|
+
const bt = /* @__PURE__ */ new Map();
|
3251
3257
|
function E(n) {
|
3252
|
-
|
3253
|
-
let e =
|
3254
|
-
return e ? (
|
3258
|
+
k(n instanceof Function, "Expected a class definition");
|
3259
|
+
let e = bt.get(n);
|
3260
|
+
return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3255
3261
|
}
|
3256
3262
|
/**
|
3257
3263
|
* @license
|
@@ -3312,7 +3318,7 @@ const yt = ln;
|
|
3312
3318
|
function ae(n, e, t) {
|
3313
3319
|
return `firebase:${n}:${e}:${t}`;
|
3314
3320
|
}
|
3315
|
-
class
|
3321
|
+
class j {
|
3316
3322
|
constructor(e, t, r) {
|
3317
3323
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3318
3324
|
const { config: i, name: s } = this.auth;
|
@@ -3343,7 +3349,7 @@ class H {
|
|
3343
3349
|
}
|
3344
3350
|
static async create(e, t, r = "authUser") {
|
3345
3351
|
if (!t.length)
|
3346
|
-
return new
|
3352
|
+
return new j(E(yt), e, r);
|
3347
3353
|
const i = (await Promise.all(t.map(async (l) => {
|
3348
3354
|
if (await l._isAvailable())
|
3349
3355
|
return l;
|
@@ -3362,13 +3368,13 @@ class H {
|
|
3362
3368
|
} catch {
|
3363
3369
|
}
|
3364
3370
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3365
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3371
|
+
return !s._shouldAllowMigration || !o.length ? new j(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3366
3372
|
if (l !== s)
|
3367
3373
|
try {
|
3368
3374
|
await l._remove(a);
|
3369
3375
|
} catch {
|
3370
3376
|
}
|
3371
|
-
})), new
|
3377
|
+
})), new j(s, e, r));
|
3372
3378
|
}
|
3373
3379
|
}
|
3374
3380
|
/**
|
@@ -3448,7 +3454,7 @@ function es(n = f()) {
|
|
3448
3454
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3449
3455
|
}
|
3450
3456
|
function ts() {
|
3451
|
-
return
|
3457
|
+
return vr() && document.documentMode === 10;
|
3452
3458
|
}
|
3453
3459
|
function gn(n = f()) {
|
3454
3460
|
return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
|
@@ -3469,7 +3475,7 @@ function gn(n = f()) {
|
|
3469
3475
|
* See the License for the specific language governing permissions and
|
3470
3476
|
* limitations under the License.
|
3471
3477
|
*/
|
3472
|
-
function
|
3478
|
+
function vn(n, e = []) {
|
3473
3479
|
let t;
|
3474
3480
|
switch (n) {
|
3475
3481
|
case "Browser":
|
@@ -3556,7 +3562,7 @@ class ns {
|
|
3556
3562
|
* limitations under the License.
|
3557
3563
|
*/
|
3558
3564
|
async function rs(n, e = {}) {
|
3559
|
-
return $(n, "GET", "/v2/passwordPolicy",
|
3565
|
+
return $(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3560
3566
|
}
|
3561
3567
|
/**
|
3562
3568
|
* @license
|
@@ -3669,7 +3675,7 @@ class as {
|
|
3669
3675
|
_initializeWithPersistence(e, t) {
|
3670
3676
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3671
3677
|
var r, i;
|
3672
|
-
if (!this._deleted && (this.persistenceManager = await
|
3678
|
+
if (!this._deleted && (this.persistenceManager = await j.create(this, e), !this._deleted)) {
|
3673
3679
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3674
3680
|
try {
|
3675
3681
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3708,7 +3714,7 @@ class as {
|
|
3708
3714
|
}
|
3709
3715
|
async initializeCurrentUser(e) {
|
3710
3716
|
var t;
|
3711
|
-
if (
|
3717
|
+
if (I(this.app)) {
|
3712
3718
|
const a = this.app.settings.authIdToken;
|
3713
3719
|
return a ? new Promise((c) => {
|
3714
3720
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3758,13 +3764,13 @@ class as {
|
|
3758
3764
|
return this.directlySetCurrentUser(e);
|
3759
3765
|
}
|
3760
3766
|
useDeviceLanguage() {
|
3761
|
-
this.languageCode =
|
3767
|
+
this.languageCode = ji();
|
3762
3768
|
}
|
3763
3769
|
async _delete() {
|
3764
3770
|
this._deleted = !0;
|
3765
3771
|
}
|
3766
3772
|
async updateCurrentUser(e) {
|
3767
|
-
if (
|
3773
|
+
if (I(this.app))
|
3768
3774
|
return Promise.reject(P(this));
|
3769
3775
|
const t = e ? z(e) : null;
|
3770
3776
|
return t && u(
|
@@ -3786,14 +3792,14 @@ class as {
|
|
3786
3792
|
});
|
3787
3793
|
}
|
3788
3794
|
async signOut() {
|
3789
|
-
return
|
3795
|
+
return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3790
3796
|
null,
|
3791
3797
|
/* skipBeforeStateCallbacks */
|
3792
3798
|
!0
|
3793
3799
|
));
|
3794
3800
|
}
|
3795
3801
|
setPersistence(e) {
|
3796
|
-
return
|
3802
|
+
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3797
3803
|
await this.assertedPersistence.setPersistence(E(e));
|
3798
3804
|
});
|
3799
3805
|
}
|
@@ -3873,7 +3879,7 @@ class as {
|
|
3873
3879
|
this,
|
3874
3880
|
"argument-error"
|
3875
3881
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3876
|
-
), this.redirectPersistenceManager = await
|
3882
|
+
), this.redirectPersistenceManager = await j.create(
|
3877
3883
|
this,
|
3878
3884
|
[E(t._redirectPersistence)],
|
3879
3885
|
"redirectUser"
|
@@ -3962,7 +3968,7 @@ class as {
|
|
3962
3968
|
), this.persistenceManager;
|
3963
3969
|
}
|
3964
3970
|
_logFramework(e) {
|
3965
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
3971
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = vn(this.config.clientPlatform, this._getFrameworks()));
|
3966
3972
|
}
|
3967
3973
|
_getFrameworks() {
|
3968
3974
|
return this.frameworks;
|
@@ -3992,15 +3998,15 @@ class as {
|
|
3992
3998
|
async _getAppCheckToken() {
|
3993
3999
|
var e;
|
3994
4000
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
3995
|
-
return t != null && t.error &&
|
4001
|
+
return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3996
4002
|
}
|
3997
4003
|
}
|
3998
|
-
function
|
4004
|
+
function Ie(n) {
|
3999
4005
|
return z(n);
|
4000
4006
|
}
|
4001
4007
|
class Tt {
|
4002
4008
|
constructor(e) {
|
4003
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4009
|
+
this.auth = e, this.observer = null, this.addObserver = kr((t) => this.observer = t);
|
4004
4010
|
}
|
4005
4011
|
get next() {
|
4006
4012
|
return u(
|
@@ -4082,7 +4088,7 @@ function hs(n, e) {
|
|
4082
4088
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4083
4089
|
}
|
4084
4090
|
function ps(n, e, t) {
|
4085
|
-
const r =
|
4091
|
+
const r = Ie(n);
|
4086
4092
|
u(
|
4087
4093
|
r._canInitEmulator,
|
4088
4094
|
r,
|
@@ -4094,7 +4100,7 @@ function ps(n, e, t) {
|
|
4094
4100
|
"invalid-emulator-scheme"
|
4095
4101
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4096
4102
|
);
|
4097
|
-
const i = !1, s =
|
4103
|
+
const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4098
4104
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4099
4105
|
host: a,
|
4100
4106
|
port: c,
|
@@ -4102,12 +4108,12 @@ function ps(n, e, t) {
|
|
4102
4108
|
options: Object.freeze({ disableWarnings: i })
|
4103
4109
|
}), fs();
|
4104
4110
|
}
|
4105
|
-
function
|
4111
|
+
function In(n) {
|
4106
4112
|
const e = n.indexOf(":");
|
4107
4113
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4108
4114
|
}
|
4109
4115
|
function ms(n) {
|
4110
|
-
const e =
|
4116
|
+
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4111
4117
|
if (!t)
|
4112
4118
|
return { host: "", port: null };
|
4113
4119
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -4148,7 +4154,7 @@ function fs() {
|
|
4148
4154
|
* See the License for the specific language governing permissions and
|
4149
4155
|
* limitations under the License.
|
4150
4156
|
*/
|
4151
|
-
class
|
4157
|
+
class bn {
|
4152
4158
|
/** @internal */
|
4153
4159
|
constructor(e, t) {
|
4154
4160
|
this.providerId = e, this.signInMethod = t;
|
@@ -4159,19 +4165,19 @@ class In {
|
|
4159
4165
|
* @returns a JSON-serializable representation of this object.
|
4160
4166
|
*/
|
4161
4167
|
toJSON() {
|
4162
|
-
return
|
4168
|
+
return b("not implemented");
|
4163
4169
|
}
|
4164
4170
|
/** @internal */
|
4165
4171
|
_getIdTokenResponse(e) {
|
4166
|
-
return
|
4172
|
+
return b("not implemented");
|
4167
4173
|
}
|
4168
4174
|
/** @internal */
|
4169
4175
|
_linkToIdToken(e, t) {
|
4170
|
-
return
|
4176
|
+
return b("not implemented");
|
4171
4177
|
}
|
4172
4178
|
/** @internal */
|
4173
4179
|
_getReauthenticationResolver(e) {
|
4174
|
-
return
|
4180
|
+
return b("not implemented");
|
4175
4181
|
}
|
4176
4182
|
}
|
4177
4183
|
/**
|
@@ -4191,7 +4197,7 @@ class In {
|
|
4191
4197
|
* limitations under the License.
|
4192
4198
|
*/
|
4193
4199
|
async function V(n, e) {
|
4194
|
-
return sn(n, "POST", "/v1/accounts:signInWithIdp",
|
4200
|
+
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4195
4201
|
}
|
4196
4202
|
/**
|
4197
4203
|
* @license
|
@@ -4210,7 +4216,7 @@ async function V(n, e) {
|
|
4210
4216
|
* limitations under the License.
|
4211
4217
|
*/
|
4212
4218
|
const _s = "http://localhost";
|
4213
|
-
class U extends
|
4219
|
+
class U extends bn {
|
4214
4220
|
constructor() {
|
4215
4221
|
super(...arguments), this.pendingToken = null;
|
4216
4222
|
}
|
@@ -4244,7 +4250,7 @@ class U extends In {
|
|
4244
4250
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4245
4251
|
*/
|
4246
4252
|
static fromJSON(e) {
|
4247
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4253
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ze(t, ["providerId", "signInMethod"]);
|
4248
4254
|
if (!r || !i)
|
4249
4255
|
return null;
|
4250
4256
|
const a = new U(r, i);
|
@@ -4530,7 +4536,7 @@ A.PROVIDER_ID = "google.com";
|
|
4530
4536
|
* See the License for the specific language governing permissions and
|
4531
4537
|
* limitations under the License.
|
4532
4538
|
*/
|
4533
|
-
class
|
4539
|
+
class N extends ne {
|
4534
4540
|
constructor() {
|
4535
4541
|
super(
|
4536
4542
|
"github.com"
|
@@ -4544,8 +4550,8 @@ class O extends ne {
|
|
4544
4550
|
*/
|
4545
4551
|
static credential(e) {
|
4546
4552
|
return U._fromParams({
|
4547
|
-
providerId:
|
4548
|
-
signInMethod:
|
4553
|
+
providerId: N.PROVIDER_ID,
|
4554
|
+
signInMethod: N.GITHUB_SIGN_IN_METHOD,
|
4549
4555
|
accessToken: e
|
4550
4556
|
});
|
4551
4557
|
}
|
@@ -4555,7 +4561,7 @@ class O extends ne {
|
|
4555
4561
|
* @param userCredential - The user credential.
|
4556
4562
|
*/
|
4557
4563
|
static credentialFromResult(e) {
|
4558
|
-
return
|
4564
|
+
return N.credentialFromTaggedObject(e);
|
4559
4565
|
}
|
4560
4566
|
/**
|
4561
4567
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4564,20 +4570,20 @@ class O extends ne {
|
|
4564
4570
|
* @param userCredential - The user credential.
|
4565
4571
|
*/
|
4566
4572
|
static credentialFromError(e) {
|
4567
|
-
return
|
4573
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4568
4574
|
}
|
4569
4575
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4570
4576
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4571
4577
|
return null;
|
4572
4578
|
try {
|
4573
|
-
return
|
4579
|
+
return N.credential(e.oauthAccessToken);
|
4574
4580
|
} catch {
|
4575
4581
|
return null;
|
4576
4582
|
}
|
4577
4583
|
}
|
4578
4584
|
}
|
4579
|
-
|
4580
|
-
|
4585
|
+
N.GITHUB_SIGN_IN_METHOD = "github.com";
|
4586
|
+
N.PROVIDER_ID = "github.com";
|
4581
4587
|
/**
|
4582
4588
|
* @license
|
4583
4589
|
* Copyright 2020 Google LLC
|
@@ -4594,7 +4600,7 @@ O.PROVIDER_ID = "github.com";
|
|
4594
4600
|
* See the License for the specific language governing permissions and
|
4595
4601
|
* limitations under the License.
|
4596
4602
|
*/
|
4597
|
-
class
|
4603
|
+
class C extends ne {
|
4598
4604
|
constructor() {
|
4599
4605
|
super(
|
4600
4606
|
"twitter.com"
|
@@ -4609,8 +4615,8 @@ class N extends ne {
|
|
4609
4615
|
*/
|
4610
4616
|
static credential(e, t) {
|
4611
4617
|
return U._fromParams({
|
4612
|
-
providerId:
|
4613
|
-
signInMethod:
|
4618
|
+
providerId: C.PROVIDER_ID,
|
4619
|
+
signInMethod: C.TWITTER_SIGN_IN_METHOD,
|
4614
4620
|
oauthToken: e,
|
4615
4621
|
oauthTokenSecret: t
|
4616
4622
|
});
|
@@ -4621,7 +4627,7 @@ class N extends ne {
|
|
4621
4627
|
* @param userCredential - The user credential.
|
4622
4628
|
*/
|
4623
4629
|
static credentialFromResult(e) {
|
4624
|
-
return
|
4630
|
+
return C.credentialFromTaggedObject(e);
|
4625
4631
|
}
|
4626
4632
|
/**
|
4627
4633
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4630,7 +4636,7 @@ class N extends ne {
|
|
4630
4636
|
* @param userCredential - The user credential.
|
4631
4637
|
*/
|
4632
4638
|
static credentialFromError(e) {
|
4633
|
-
return
|
4639
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
4634
4640
|
}
|
4635
4641
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4636
4642
|
if (!e)
|
@@ -4639,14 +4645,14 @@ class N extends ne {
|
|
4639
4645
|
if (!t || !r)
|
4640
4646
|
return null;
|
4641
4647
|
try {
|
4642
|
-
return
|
4648
|
+
return C.credential(t, r);
|
4643
4649
|
} catch {
|
4644
4650
|
return null;
|
4645
4651
|
}
|
4646
4652
|
}
|
4647
4653
|
}
|
4648
|
-
|
4649
|
-
|
4654
|
+
C.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4655
|
+
C.PROVIDER_ID = "twitter.com";
|
4650
4656
|
/**
|
4651
4657
|
* @license
|
4652
4658
|
* Copyright 2020 Google LLC
|
@@ -4668,7 +4674,7 @@ class B {
|
|
4668
4674
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4669
4675
|
}
|
4670
4676
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4671
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4677
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
|
4672
4678
|
return new B({
|
4673
4679
|
user: s,
|
4674
4680
|
providerId: a,
|
@@ -4682,7 +4688,7 @@ class B {
|
|
4682
4688
|
/* reload */
|
4683
4689
|
!0
|
4684
4690
|
);
|
4685
|
-
const i =
|
4691
|
+
const i = kt(r);
|
4686
4692
|
return new B({
|
4687
4693
|
user: e,
|
4688
4694
|
providerId: i,
|
@@ -4691,7 +4697,7 @@ class B {
|
|
4691
4697
|
});
|
4692
4698
|
}
|
4693
4699
|
}
|
4694
|
-
function
|
4700
|
+
function kt(n) {
|
4695
4701
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4696
4702
|
}
|
4697
4703
|
/**
|
@@ -4749,9 +4755,9 @@ async function gs(n, e, t = !1) {
|
|
4749
4755
|
* See the License for the specific language governing permissions and
|
4750
4756
|
* limitations under the License.
|
4751
4757
|
*/
|
4752
|
-
async function
|
4758
|
+
async function vs(n, e, t = !1) {
|
4753
4759
|
const { auth: r } = n;
|
4754
|
-
if (
|
4760
|
+
if (I(r.app))
|
4755
4761
|
return Promise.reject(P(r));
|
4756
4762
|
const i = "reauthenticate";
|
4757
4763
|
try {
|
@@ -4800,8 +4806,8 @@ async function bs(n, e, t = !1) {
|
|
4800
4806
|
* See the License for the specific language governing permissions and
|
4801
4807
|
* limitations under the License.
|
4802
4808
|
*/
|
4803
|
-
async function
|
4804
|
-
if (
|
4809
|
+
async function Is(n, e, t = !1) {
|
4810
|
+
if (I(n.app))
|
4805
4811
|
return Promise.reject(P(n));
|
4806
4812
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4807
4813
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4822,8 +4828,8 @@ async function vs(n, e, t = !1) {
|
|
4822
4828
|
* See the License for the specific language governing permissions and
|
4823
4829
|
* limitations under the License.
|
4824
4830
|
*/
|
4825
|
-
async function
|
4826
|
-
return sn(n, "POST", "/v1/accounts:signInWithCustomToken",
|
4831
|
+
async function bs(n, e) {
|
4832
|
+
return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
|
4827
4833
|
}
|
4828
4834
|
/**
|
4829
4835
|
* @license
|
@@ -4842,9 +4848,9 @@ async function Is(n, e) {
|
|
4842
4848
|
* limitations under the License.
|
4843
4849
|
*/
|
4844
4850
|
async function ys(n, e) {
|
4845
|
-
if (
|
4851
|
+
if (I(n.app))
|
4846
4852
|
return Promise.reject(P(n));
|
4847
|
-
const t =
|
4853
|
+
const t = Ie(n), r = await bs(t, {
|
4848
4854
|
token: e,
|
4849
4855
|
returnSecureToken: !0
|
4850
4856
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4914,7 +4920,7 @@ class Tn {
|
|
4914
4920
|
* See the License for the specific language governing permissions and
|
4915
4921
|
* limitations under the License.
|
4916
4922
|
*/
|
4917
|
-
const ws = 1e3,
|
4923
|
+
const ws = 1e3, ks = 10;
|
4918
4924
|
class wn extends Tn {
|
4919
4925
|
constructor() {
|
4920
4926
|
super(
|
@@ -4942,7 +4948,7 @@ class wn extends Tn {
|
|
4942
4948
|
const a = this.storage.getItem(r);
|
4943
4949
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4944
4950
|
}, s = this.storage.getItem(r);
|
4945
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4951
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ks) : i();
|
4946
4952
|
}
|
4947
4953
|
notifyListeners(e, t) {
|
4948
4954
|
this.localCache[e] = t;
|
@@ -4994,7 +5000,7 @@ class wn extends Tn {
|
|
4994
5000
|
}
|
4995
5001
|
}
|
4996
5002
|
wn.type = "LOCAL";
|
4997
|
-
const
|
5003
|
+
const Rs = wn;
|
4998
5004
|
/**
|
4999
5005
|
* @license
|
5000
5006
|
* Copyright 2020 Google LLC
|
@@ -5011,7 +5017,7 @@ const ks = wn;
|
|
5011
5017
|
* See the License for the specific language governing permissions and
|
5012
5018
|
* limitations under the License.
|
5013
5019
|
*/
|
5014
|
-
class
|
5020
|
+
class kn extends Tn {
|
5015
5021
|
constructor() {
|
5016
5022
|
super(
|
5017
5023
|
() => window.sessionStorage,
|
@@ -5024,8 +5030,8 @@ class Rn extends Tn {
|
|
5024
5030
|
_removeListener(e, t) {
|
5025
5031
|
}
|
5026
5032
|
}
|
5027
|
-
|
5028
|
-
const
|
5033
|
+
kn.type = "SESSION";
|
5034
|
+
const Rn = kn;
|
5029
5035
|
/**
|
5030
5036
|
* @license
|
5031
5037
|
* Copyright 2019 Google LLC
|
@@ -5073,7 +5079,7 @@ function Ss(n) {
|
|
5073
5079
|
* See the License for the specific language governing permissions and
|
5074
5080
|
* limitations under the License.
|
5075
5081
|
*/
|
5076
|
-
class
|
5082
|
+
class be {
|
5077
5083
|
constructor(e) {
|
5078
5084
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
5079
5085
|
}
|
@@ -5087,7 +5093,7 @@ class Ie {
|
|
5087
5093
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
5088
5094
|
if (t)
|
5089
5095
|
return t;
|
5090
|
-
const r = new
|
5096
|
+
const r = new be(e);
|
5091
5097
|
return this.receivers.push(r), r;
|
5092
5098
|
}
|
5093
5099
|
isListeningto(e) {
|
@@ -5141,7 +5147,7 @@ class Ie {
|
|
5141
5147
|
this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
|
5142
5148
|
}
|
5143
5149
|
}
|
5144
|
-
|
5150
|
+
be.receivers = [];
|
5145
5151
|
/**
|
5146
5152
|
* @license
|
5147
5153
|
* Copyright 2020 Google LLC
|
@@ -5280,7 +5286,7 @@ class As {
|
|
5280
5286
|
function g() {
|
5281
5287
|
return window;
|
5282
5288
|
}
|
5283
|
-
function
|
5289
|
+
function Ns(n) {
|
5284
5290
|
g().location.href = n;
|
5285
5291
|
}
|
5286
5292
|
/**
|
@@ -5302,7 +5308,7 @@ function Os(n) {
|
|
5302
5308
|
function Sn() {
|
5303
5309
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5304
5310
|
}
|
5305
|
-
async function
|
5311
|
+
async function Cs() {
|
5306
5312
|
if (!(navigator != null && navigator.serviceWorker))
|
5307
5313
|
return null;
|
5308
5314
|
try {
|
@@ -5311,7 +5317,7 @@ async function Ns() {
|
|
5311
5317
|
return null;
|
5312
5318
|
}
|
5313
5319
|
}
|
5314
|
-
function
|
5320
|
+
function Os() {
|
5315
5321
|
var n;
|
5316
5322
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5317
5323
|
}
|
@@ -5334,7 +5340,7 @@ function Ds() {
|
|
5334
5340
|
* See the License for the specific language governing permissions and
|
5335
5341
|
* limitations under the License.
|
5336
5342
|
*/
|
5337
|
-
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage",
|
5343
|
+
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", Nn = "fbase_key";
|
5338
5344
|
class re {
|
5339
5345
|
constructor(e) {
|
5340
5346
|
this.request = e;
|
@@ -5356,7 +5362,7 @@ function Ms() {
|
|
5356
5362
|
const n = indexedDB.deleteDatabase(An);
|
5357
5363
|
return new re(n).toPromise();
|
5358
5364
|
}
|
5359
|
-
function
|
5365
|
+
function je() {
|
5360
5366
|
const n = indexedDB.open(An, Ps);
|
5361
5367
|
return new Promise((e, t) => {
|
5362
5368
|
n.addEventListener("error", () => {
|
@@ -5364,19 +5370,19 @@ function He() {
|
|
5364
5370
|
}), n.addEventListener("upgradeneeded", () => {
|
5365
5371
|
const r = n.result;
|
5366
5372
|
try {
|
5367
|
-
r.createObjectStore(ge, { keyPath:
|
5373
|
+
r.createObjectStore(ge, { keyPath: Nn });
|
5368
5374
|
} catch (i) {
|
5369
5375
|
t(i);
|
5370
5376
|
}
|
5371
5377
|
}), n.addEventListener("success", async () => {
|
5372
5378
|
const r = n.result;
|
5373
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5379
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await je()));
|
5374
5380
|
});
|
5375
5381
|
});
|
5376
5382
|
}
|
5377
|
-
async function
|
5383
|
+
async function Rt(n, e, t) {
|
5378
5384
|
const r = ye(n, !0).put({
|
5379
|
-
[
|
5385
|
+
[Nn]: e,
|
5380
5386
|
value: t
|
5381
5387
|
});
|
5382
5388
|
return new re(r).toPromise();
|
@@ -5390,14 +5396,14 @@ function St(n, e) {
|
|
5390
5396
|
return new re(t).toPromise();
|
5391
5397
|
}
|
5392
5398
|
const Us = 800, Bs = 3;
|
5393
|
-
class
|
5399
|
+
class Cn {
|
5394
5400
|
constructor() {
|
5395
5401
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5396
5402
|
}, () => {
|
5397
5403
|
});
|
5398
5404
|
}
|
5399
5405
|
async _openDb() {
|
5400
|
-
return this.db ? this.db : (this.db = await
|
5406
|
+
return this.db ? this.db : (this.db = await je(), this.db);
|
5401
5407
|
}
|
5402
5408
|
async _withRetries(e) {
|
5403
5409
|
let t = 0;
|
@@ -5422,7 +5428,7 @@ class Nn {
|
|
5422
5428
|
* As the worker we should listen to events from the main window.
|
5423
5429
|
*/
|
5424
5430
|
async initializeReceiver() {
|
5425
|
-
this.receiver =
|
5431
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5426
5432
|
keyProcessed: (await this._poll()).includes(t.key)
|
5427
5433
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5428
5434
|
"keyChanged"
|
@@ -5438,7 +5444,7 @@ class Nn {
|
|
5438
5444
|
*/
|
5439
5445
|
async initializeSender() {
|
5440
5446
|
var e, t;
|
5441
|
-
if (this.activeServiceWorker = await
|
5447
|
+
if (this.activeServiceWorker = await Cs(), !this.activeServiceWorker)
|
5442
5448
|
return;
|
5443
5449
|
this.sender = new As(this.activeServiceWorker);
|
5444
5450
|
const r = await this.sender._send(
|
@@ -5462,7 +5468,7 @@ class Nn {
|
|
5462
5468
|
* @param key - Storage key which changed.
|
5463
5469
|
*/
|
5464
5470
|
async notifyServiceWorker(e) {
|
5465
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5471
|
+
if (!(!this.sender || !this.activeServiceWorker || Os() !== this.activeServiceWorker))
|
5466
5472
|
try {
|
5467
5473
|
await this.sender._send(
|
5468
5474
|
"keyChanged",
|
@@ -5478,8 +5484,8 @@ class Nn {
|
|
5478
5484
|
try {
|
5479
5485
|
if (!indexedDB)
|
5480
5486
|
return !1;
|
5481
|
-
const e = await
|
5482
|
-
return await
|
5487
|
+
const e = await je();
|
5488
|
+
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5483
5489
|
} catch {
|
5484
5490
|
}
|
5485
5491
|
return !1;
|
@@ -5493,7 +5499,7 @@ class Nn {
|
|
5493
5499
|
}
|
5494
5500
|
}
|
5495
5501
|
async _set(e, t) {
|
5496
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5502
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => Rt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5497
5503
|
}
|
5498
5504
|
async _get(e) {
|
5499
5505
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5539,8 +5545,8 @@ class Nn {
|
|
5539
5545
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5540
5546
|
}
|
5541
5547
|
}
|
5542
|
-
|
5543
|
-
const xs =
|
5548
|
+
Cn.type = "LOCAL";
|
5549
|
+
const xs = Cn;
|
5544
5550
|
new te(3e4, 6e4);
|
5545
5551
|
/**
|
5546
5552
|
* @license
|
@@ -5558,7 +5564,7 @@ new te(3e4, 6e4);
|
|
5558
5564
|
* See the License for the specific language governing permissions and
|
5559
5565
|
* limitations under the License.
|
5560
5566
|
*/
|
5561
|
-
function
|
5567
|
+
function Fs(n, e) {
|
5562
5568
|
return e ? E(e) : (u(
|
5563
5569
|
n._popupRedirectResolver,
|
5564
5570
|
n,
|
@@ -5582,7 +5588,7 @@ function Ws(n, e) {
|
|
5582
5588
|
* See the License for the specific language governing permissions and
|
5583
5589
|
* limitations under the License.
|
5584
5590
|
*/
|
5585
|
-
class et extends
|
5591
|
+
class et extends bn {
|
5586
5592
|
constructor(e) {
|
5587
5593
|
super(
|
5588
5594
|
"custom",
|
@@ -5612,19 +5618,19 @@ class et extends In {
|
|
5612
5618
|
return e && (t.idToken = e), t;
|
5613
5619
|
}
|
5614
5620
|
}
|
5615
|
-
function
|
5616
|
-
return
|
5621
|
+
function Ws(n) {
|
5622
|
+
return Is(n.auth, new et(n), n.bypassAuthState);
|
5617
5623
|
}
|
5618
|
-
function
|
5624
|
+
function Hs(n) {
|
5619
5625
|
const { auth: e, user: t } = n;
|
5620
5626
|
return u(
|
5621
5627
|
t,
|
5622
5628
|
e,
|
5623
5629
|
"internal-error"
|
5624
5630
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5625
|
-
),
|
5631
|
+
), vs(t, new et(n), n.bypassAuthState);
|
5626
5632
|
}
|
5627
|
-
async function
|
5633
|
+
async function js(n) {
|
5628
5634
|
const { auth: e, user: t } = n;
|
5629
5635
|
return u(
|
5630
5636
|
t,
|
@@ -5649,7 +5655,7 @@ async function Hs(n) {
|
|
5649
5655
|
* See the License for the specific language governing permissions and
|
5650
5656
|
* limitations under the License.
|
5651
5657
|
*/
|
5652
|
-
class
|
5658
|
+
class On {
|
5653
5659
|
constructor(e, t, r, i, s = !1) {
|
5654
5660
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5655
5661
|
}
|
@@ -5691,13 +5697,13 @@ class Cn {
|
|
5691
5697
|
switch (e) {
|
5692
5698
|
case "signInViaPopup":
|
5693
5699
|
case "signInViaRedirect":
|
5694
|
-
return
|
5700
|
+
return Ws;
|
5695
5701
|
case "linkViaPopup":
|
5696
5702
|
case "linkViaRedirect":
|
5697
|
-
return
|
5703
|
+
return js;
|
5698
5704
|
case "reauthViaPopup":
|
5699
5705
|
case "reauthViaRedirect":
|
5700
|
-
return
|
5706
|
+
return Hs;
|
5701
5707
|
default:
|
5702
5708
|
w(
|
5703
5709
|
this.auth,
|
@@ -5707,10 +5713,10 @@ class Cn {
|
|
5707
5713
|
}
|
5708
5714
|
}
|
5709
5715
|
resolve(e) {
|
5710
|
-
|
5716
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5711
5717
|
}
|
5712
5718
|
reject(e) {
|
5713
|
-
|
5719
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5714
5720
|
}
|
5715
5721
|
unregisterAndCleanUp() {
|
5716
5722
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5733,9 +5739,9 @@ class Cn {
|
|
5733
5739
|
* limitations under the License.
|
5734
5740
|
*/
|
5735
5741
|
const Vs = new te(2e3, 1e4);
|
5736
|
-
class
|
5742
|
+
class F extends On {
|
5737
5743
|
constructor(e, t, r, i, s) {
|
5738
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5744
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
|
5739
5745
|
}
|
5740
5746
|
async executeNotNull() {
|
5741
5747
|
const e = await this.execute();
|
@@ -5747,7 +5753,7 @@ class W extends Cn {
|
|
5747
5753
|
), e;
|
5748
5754
|
}
|
5749
5755
|
async onExecution() {
|
5750
|
-
|
5756
|
+
k(this.filter.length === 1, "Popup operations only handle one event");
|
5751
5757
|
const e = Qe();
|
5752
5758
|
this.authWindow = await this.resolver._openPopup(
|
5753
5759
|
this.auth,
|
@@ -5777,7 +5783,7 @@ class W extends Cn {
|
|
5777
5783
|
));
|
5778
5784
|
}
|
5779
5785
|
cleanUp() {
|
5780
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5786
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
|
5781
5787
|
}
|
5782
5788
|
pollUserCancellation() {
|
5783
5789
|
const e = () => {
|
@@ -5801,7 +5807,7 @@ class W extends Cn {
|
|
5801
5807
|
e();
|
5802
5808
|
}
|
5803
5809
|
}
|
5804
|
-
|
5810
|
+
F.currentPopupAction = null;
|
5805
5811
|
/**
|
5806
5812
|
* @license
|
5807
5813
|
* Copyright 2020 Google LLC
|
@@ -5819,7 +5825,7 @@ W.currentPopupAction = null;
|
|
5819
5825
|
* limitations under the License.
|
5820
5826
|
*/
|
5821
5827
|
const Gs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5822
|
-
class zs extends
|
5828
|
+
class zs extends On {
|
5823
5829
|
constructor(e, t, r = !1) {
|
5824
5830
|
super(e, [
|
5825
5831
|
"signInViaRedirect",
|
@@ -5866,25 +5872,25 @@ class zs extends Cn {
|
|
5866
5872
|
}
|
5867
5873
|
}
|
5868
5874
|
async function $s(n, e) {
|
5869
|
-
const t = Xs(e), r =
|
5875
|
+
const t = Xs(e), r = Js(n);
|
5870
5876
|
if (!await r._isAvailable())
|
5871
5877
|
return !1;
|
5872
5878
|
const i = await r._get(t) === "true";
|
5873
5879
|
return await r._remove(t), i;
|
5874
5880
|
}
|
5875
|
-
function
|
5881
|
+
function Zs(n, e) {
|
5876
5882
|
oe.set(n._key(), e);
|
5877
5883
|
}
|
5878
|
-
function
|
5884
|
+
function Js(n) {
|
5879
5885
|
return E(n._redirectPersistence);
|
5880
5886
|
}
|
5881
5887
|
function Xs(n) {
|
5882
5888
|
return ae(Gs, n.config.apiKey, n.name);
|
5883
5889
|
}
|
5884
5890
|
async function Ys(n, e, t = !1) {
|
5885
|
-
if (
|
5891
|
+
if (I(n.app))
|
5886
5892
|
return Promise.reject(P(n));
|
5887
|
-
const r =
|
5893
|
+
const r = Ie(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
|
5888
5894
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5889
5895
|
}
|
5890
5896
|
/**
|
@@ -6012,7 +6018,7 @@ async function ra(n) {
|
|
6012
6018
|
);
|
6013
6019
|
}
|
6014
6020
|
function ia(n) {
|
6015
|
-
const e =
|
6021
|
+
const e = We(), { protocol: t, hostname: r } = new URL(e);
|
6016
6022
|
if (n.startsWith("chrome-extension://")) {
|
6017
6023
|
const a = new URL(n);
|
6018
6024
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6041,7 +6047,7 @@ function ia(n) {
|
|
6041
6047
|
* limitations under the License.
|
6042
6048
|
*/
|
6043
6049
|
const sa = new te(3e4, 6e4);
|
6044
|
-
function
|
6050
|
+
function Nt() {
|
6045
6051
|
const n = g().___jsl;
|
6046
6052
|
if (n != null && n.H) {
|
6047
6053
|
for (const e of Object.keys(n.H))
|
@@ -6054,12 +6060,12 @@ function aa(n) {
|
|
6054
6060
|
return new Promise((e, t) => {
|
6055
6061
|
var r, i, s;
|
6056
6062
|
function a() {
|
6057
|
-
|
6063
|
+
Nt(), gapi.load("gapi.iframes", {
|
6058
6064
|
callback: () => {
|
6059
6065
|
e(gapi.iframes.getContext());
|
6060
6066
|
},
|
6061
6067
|
ontimeout: () => {
|
6062
|
-
|
6068
|
+
Nt(), t(_(
|
6063
6069
|
n,
|
6064
6070
|
"network-request-failed"
|
6065
6071
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
@@ -6192,8 +6198,8 @@ const fa = {
|
|
6192
6198
|
resizable: "yes",
|
6193
6199
|
statusbar: "yes",
|
6194
6200
|
toolbar: "no"
|
6195
|
-
}, _a = 500, ga = 600,
|
6196
|
-
class
|
6201
|
+
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6202
|
+
class Ct {
|
6197
6203
|
constructor(e) {
|
6198
6204
|
this.window = e, this.associatedEvent = null;
|
6199
6205
|
}
|
@@ -6205,7 +6211,7 @@ class Nt {
|
|
6205
6211
|
}
|
6206
6212
|
}
|
6207
6213
|
}
|
6208
|
-
function
|
6214
|
+
function ba(n, e, t, r = _a, i = ga) {
|
6209
6215
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6210
6216
|
let c = "";
|
6211
6217
|
const o = Object.assign(Object.assign({}, fa), {
|
@@ -6214,10 +6220,10 @@ function Ia(n, e, t, r = _a, i = ga) {
|
|
6214
6220
|
top: s,
|
6215
6221
|
left: a
|
6216
6222
|
}), l = f().toLowerCase();
|
6217
|
-
t && (c = hn(l) ?
|
6218
|
-
const d = Object.entries(o).reduce((m, [
|
6223
|
+
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6224
|
+
const d = Object.entries(o).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
|
6219
6225
|
if (es(l) && c !== "_self")
|
6220
|
-
return ya(e || "", c), new
|
6226
|
+
return ya(e || "", c), new Ct(null);
|
6221
6227
|
const h = window.open(e || "", c, d);
|
6222
6228
|
u(
|
6223
6229
|
h,
|
@@ -6229,7 +6235,7 @@ function Ia(n, e, t, r = _a, i = ga) {
|
|
6229
6235
|
h.focus();
|
6230
6236
|
} catch {
|
6231
6237
|
}
|
6232
|
-
return new
|
6238
|
+
return new Ct(h);
|
6233
6239
|
}
|
6234
6240
|
function ya(n, e) {
|
6235
6241
|
const t = document.createElement("a");
|
@@ -6254,7 +6260,7 @@ function ya(n, e) {
|
|
6254
6260
|
* limitations under the License.
|
6255
6261
|
*/
|
6256
6262
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6257
|
-
async function
|
6263
|
+
async function Ot(n, e, t, r, i, s) {
|
6258
6264
|
u(
|
6259
6265
|
n.config.authDomain,
|
6260
6266
|
n,
|
@@ -6288,9 +6294,9 @@ async function Ct(n, e, t, r, i, s) {
|
|
6288
6294
|
for (const d of Object.keys(c))
|
6289
6295
|
c[d] === void 0 && delete c[d];
|
6290
6296
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6291
|
-
return `${
|
6297
|
+
return `${ka(n)}?${Q(c).slice(1)}${l}`;
|
6292
6298
|
}
|
6293
|
-
function
|
6299
|
+
function ka({ config: n }) {
|
6294
6300
|
return n.emulator ? Xe(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6295
6301
|
}
|
6296
6302
|
/**
|
@@ -6310,29 +6316,29 @@ function Ra({ config: n }) {
|
|
6310
6316
|
* limitations under the License.
|
6311
6317
|
*/
|
6312
6318
|
const De = "webStorageSupport";
|
6313
|
-
class
|
6319
|
+
class Ra {
|
6314
6320
|
constructor() {
|
6315
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
|
6316
6322
|
}
|
6317
6323
|
// Wrapping in async even though we don't await anywhere in order
|
6318
6324
|
// to make sure errors are raised as promise rejections
|
6319
6325
|
async _openPopup(e, t, r, i) {
|
6320
6326
|
var s;
|
6321
|
-
|
6322
|
-
const a = await
|
6323
|
-
return
|
6327
|
+
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6328
|
+
const a = await Ot(e, t, r, We(), i);
|
6329
|
+
return ba(e, a, Qe());
|
6324
6330
|
}
|
6325
6331
|
async _openRedirect(e, t, r, i) {
|
6326
6332
|
await this._originValidation(e);
|
6327
|
-
const s = await
|
6328
|
-
return
|
6333
|
+
const s = await Ot(e, t, r, We(), i);
|
6334
|
+
return Ns(s), new Promise(() => {
|
6329
6335
|
});
|
6330
6336
|
}
|
6331
6337
|
_initialize(e) {
|
6332
6338
|
const t = e._key();
|
6333
6339
|
if (this.eventManagers[t]) {
|
6334
6340
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6335
|
-
return i ? Promise.resolve(i) : (
|
6341
|
+
return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
|
6336
6342
|
}
|
6337
6343
|
const r = this.initAndGetManager(e);
|
6338
6344
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6370,7 +6376,7 @@ class ka {
|
|
6370
6376
|
return gn() || un() || Ke();
|
6371
6377
|
}
|
6372
6378
|
}
|
6373
|
-
const Sa =
|
6379
|
+
const Sa = Ra;
|
6374
6380
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6375
6381
|
/**
|
6376
6382
|
* @license
|
@@ -6439,7 +6445,7 @@ class Aa {
|
|
6439
6445
|
* See the License for the specific language governing permissions and
|
6440
6446
|
* limitations under the License.
|
6441
6447
|
*/
|
6442
|
-
function
|
6448
|
+
function Na(n) {
|
6443
6449
|
switch (n) {
|
6444
6450
|
case "Node":
|
6445
6451
|
return "node";
|
@@ -6455,7 +6461,7 @@ function Oa(n) {
|
|
6455
6461
|
return;
|
6456
6462
|
}
|
6457
6463
|
}
|
6458
|
-
function
|
6464
|
+
function Ca(n) {
|
6459
6465
|
X(new G(
|
6460
6466
|
"auth",
|
6461
6467
|
(e, { options: t }) => {
|
@@ -6468,7 +6474,7 @@ function Na(n) {
|
|
6468
6474
|
apiHost: "identitytoolkit.googleapis.com",
|
6469
6475
|
tokenApiHost: "securetoken.googleapis.com",
|
6470
6476
|
apiScheme: "https",
|
6471
|
-
sdkClientVersion:
|
6477
|
+
sdkClientVersion: vn(n)
|
6472
6478
|
}, l = new as(r, i, s, o);
|
6473
6479
|
return hs(l, t), l;
|
6474
6480
|
},
|
@@ -6485,7 +6491,7 @@ function Na(n) {
|
|
6485
6491
|
})), X(new G(
|
6486
6492
|
"auth-internal",
|
6487
6493
|
(e) => {
|
6488
|
-
const t =
|
6494
|
+
const t = Ie(e.getProvider(
|
6489
6495
|
"auth"
|
6490
6496
|
/* _ComponentName.AUTH */
|
6491
6497
|
).getImmediate());
|
@@ -6496,7 +6502,7 @@ function Na(n) {
|
|
6496
6502
|
).setInstantiationMode(
|
6497
6503
|
"EXPLICIT"
|
6498
6504
|
/* InstantiationMode.EXPLICIT */
|
6499
|
-
)),
|
6505
|
+
)), W(Dt, Pt, Na(n)), W(Dt, Pt, "esm2017");
|
6500
6506
|
}
|
6501
6507
|
/**
|
6502
6508
|
* @license
|
@@ -6514,7 +6520,7 @@ function Na(n) {
|
|
6514
6520
|
* See the License for the specific language governing permissions and
|
6515
6521
|
* limitations under the License.
|
6516
6522
|
*/
|
6517
|
-
const
|
6523
|
+
const Oa = 5 * 60, Da = zt("authIdTokenMaxAge") || Oa;
|
6518
6524
|
let Mt = null;
|
6519
6525
|
const Pa = (n) => async (e) => {
|
6520
6526
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
@@ -6528,7 +6534,7 @@ const Pa = (n) => async (e) => {
|
|
6528
6534
|
} : {}
|
6529
6535
|
}));
|
6530
6536
|
};
|
6531
|
-
function Ma(n =
|
6537
|
+
function Ma(n = Ri()) {
|
6532
6538
|
const e = Xt(n, "auth");
|
6533
6539
|
if (e.isInitialized())
|
6534
6540
|
return e.getImmediate();
|
@@ -6536,8 +6542,8 @@ function Ma(n = ki()) {
|
|
6536
6542
|
popupRedirectResolver: Sa,
|
6537
6543
|
persistence: [
|
6538
6544
|
xs,
|
6539
|
-
|
6540
|
-
|
6545
|
+
Rs,
|
6546
|
+
Rn
|
6541
6547
|
]
|
6542
6548
|
}), r = zt("authTokenSyncURL");
|
6543
6549
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
@@ -6571,7 +6577,7 @@ os({
|
|
6571
6577
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6572
6578
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6573
6579
|
});
|
6574
|
-
|
6580
|
+
Ca(
|
6575
6581
|
"Browser"
|
6576
6582
|
/* ClientPlatform.BROWSER */
|
6577
6583
|
);
|
@@ -6589,18 +6595,18 @@ Ua.beforeEach(async (n) => {
|
|
6589
6595
|
changeRestaurant: s
|
6590
6596
|
} = Ve();
|
6591
6597
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6592
|
-
const c =
|
6598
|
+
const c = Z(e, (o) => {
|
6593
6599
|
var l;
|
6594
6600
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6595
6601
|
});
|
6596
6602
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6597
6603
|
new Promise(async (a) => {
|
6598
|
-
const c =
|
6604
|
+
const c = Z(r, (o) => {
|
6599
6605
|
o && (c(), a(!0));
|
6600
6606
|
});
|
6601
6607
|
}),
|
6602
6608
|
new Promise(async (a) => {
|
6603
|
-
const c =
|
6609
|
+
const c = Z(t, (l) => {
|
6604
6610
|
l && (c(), a(!0));
|
6605
6611
|
}), o = await i();
|
6606
6612
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6610,8 +6616,8 @@ Ua.beforeEach(async (n) => {
|
|
6610
6616
|
const Ba = /* @__PURE__ */ Ut({
|
6611
6617
|
__name: "AppSidebar",
|
6612
6618
|
setup(n) {
|
6613
|
-
const e = Ve(), t = Bn(), { t: r } = Gn(), i =
|
6614
|
-
|
6619
|
+
const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
|
6620
|
+
Z(t.currentRoute, () => {
|
6615
6621
|
let l = t.currentRoute.value.name;
|
6616
6622
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6617
6623
|
});
|
@@ -6627,7 +6633,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6627
6633
|
return t.push({ name: l.name });
|
6628
6634
|
}
|
6629
6635
|
};
|
6630
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6636
|
+
return l.meta.sidebarNew && (h.badge = () => Wn($n.FmPill, { label: "New" })), h;
|
6631
6637
|
}).filter((l) => !!l), a = le.map((l) => {
|
6632
6638
|
var d;
|
6633
6639
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6684,7 +6690,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6684
6690
|
});
|
6685
6691
|
return (l, d) => {
|
6686
6692
|
const h = Bt("FmCollapsibleTabs");
|
6687
|
-
return xt(),
|
6693
|
+
return xt(), Ft(h, {
|
6688
6694
|
modelValue: i.value,
|
6689
6695
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6690
6696
|
items: o.value,
|
@@ -6704,21 +6710,21 @@ const $a = /* @__PURE__ */ Ut({
|
|
6704
6710
|
const c = await a.getCustomToken(), o = Ma(i);
|
6705
6711
|
await ys(o, c);
|
6706
6712
|
}
|
6707
|
-
return s(),
|
6713
|
+
return s(), Z(t.sessionUser, s), Hn(() => {
|
6708
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6709
|
-
}),
|
6715
|
+
}), jn(() => {
|
6710
6716
|
t.registerSidebarComponent(Ba);
|
6711
6717
|
}), (a, c) => {
|
6712
6718
|
const o = Bt("RouterView");
|
6713
|
-
return xt(),
|
6719
|
+
return xt(), Ft(o, {
|
6714
6720
|
key: Vn(r).path
|
6715
6721
|
});
|
6716
6722
|
};
|
6717
6723
|
}
|
6718
|
-
}),
|
6724
|
+
}), Za = {
|
6719
6725
|
"en-US": qn,
|
6720
6726
|
"zh-CN": ir
|
6721
|
-
},
|
6727
|
+
}, Ja = [...le, ...Ge];
|
6722
6728
|
export {
|
6723
6729
|
G as C,
|
6724
6730
|
M as F,
|
@@ -6726,12 +6732,12 @@ export {
|
|
6726
6732
|
X as _,
|
6727
6733
|
Xt as a,
|
6728
6734
|
Ga as b,
|
6729
|
-
|
6735
|
+
Ri as c,
|
6730
6736
|
za as d,
|
6731
6737
|
gt as e,
|
6732
|
-
|
6738
|
+
Ja as f,
|
6733
6739
|
z as g,
|
6734
6740
|
$a as h,
|
6735
|
-
|
6736
|
-
|
6741
|
+
Za as i,
|
6742
|
+
W as r
|
6737
6743
|
};
|