@feedmepos/mf-payment 1.1.7-beta.7 → 1.1.8-beta.1
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-DuB6hpcu.js → PayoutAccount-8i57shlX.js} +3 -3
- package/dist/{PayoutAccount-BQ5rAaM_.js → PayoutAccount-D7-wVu54.js} +5 -5
- package/dist/{PayoutAccountSetting-Ca3Er6mO.js → PayoutAccountSetting-CMKwrL4M.js} +3 -3
- package/dist/{Restaurant-BSNirJsW.js → Restaurant-CRacG00G.js} +4 -4
- package/dist/{RestaurantSetting-CFCWj1vI.js → RestaurantSetting-D8gT0OLI.js} +3 -3
- package/dist/{Settlement-CglpDKp-.js → Settlement-ChZcWUR2.js} +3 -3
- package/dist/{Settlement-B5lmGjv-.js → Settlement-HpncV_wh.js} +3 -3
- package/dist/{SettlementTransactions-D3VwH9Nv.js → SettlementTransactions-B4foya_u.js} +3 -3
- package/dist/{SettlementTransactions-B4TKjyFD.js → SettlementTransactions-Qi1y0ELt.js} +3 -3
- package/dist/{Terminal-OckVJM_z.js → Terminal-CPxZpDko.js} +5 -5
- package/dist/{TerminalSetting-CH5zhvRw.js → TerminalSetting-BTjY6R2k.js} +3 -3
- package/dist/{Transaction-5vRyV4UI.js → Transaction-BRsEkW-X.js} +6 -6
- package/dist/{Transaction-B5_TiB_a.js → Transaction-DOJeGqKs.js} +5 -5
- package/dist/{TransactionOld-DqN-PPVj.js → TransactionOld-ytcLv_RQ.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CUKOy2Jp.js → TransactionTable.vue_vue_type_script_setup_true_lang-BadRdWve.js} +3 -3
- package/dist/{app-72yZMqZB.js → app-BTvVE_p8.js} +329 -329
- package/dist/app.js +1 -1
- package/dist/{assets-CbjVoDOI.js → assets-D3eyomsS.js} +1 -1
- package/dist/{grafana-Ctp114L1.js → grafana-pHGBuON2.js} +1 -1
- package/dist/{index-CPVjR9pv.js → index-C3jOMHIB.js} +1 -1
- package/dist/{index-bonYGCVk.js → index-DcXXLPgu.js} +1 -1
- package/dist/{index-DYD2ecw8.js → index-DgF6PpqL.js} +1 -1
- package/dist/{index-KDaz9nZM.js → index-DztkVnZ_.js} +1 -1
- package/dist/{index-C61f-LqR.js → index-GGA88cxn.js} +1 -1
- package/dist/{index-BDAyrkug.js → index-Qf0lEeEt.js} +3452 -3450
- package/dist/{index.vue_vue_type_script_setup_true_lang-CVdU92xq.js → index.vue_vue_type_script_setup_true_lang-BfPw3DTP.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-CP8g_PGq.js → payout-account-G2OxuB1T.js} +2 -2
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as Hn, onMounted as Gn, onBeforeMount as Vn, unref as jn } from "vue";
|
3
|
+
import { useCoreStore as je, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as Zn } from "@feedmepos/ui-library";
|
6
|
+
const $n = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
@@ -145,7 +145,7 @@ const Zn = {
|
|
145
145
|
}
|
146
146
|
}
|
147
147
|
}, qn = {
|
148
|
-
components:
|
148
|
+
components: $n,
|
149
149
|
routes: Jn,
|
150
150
|
settlements: Yn,
|
151
151
|
transactions: Xn,
|
@@ -305,7 +305,7 @@ const Zn = {
|
|
305
305
|
sidebarDisplay: "Restaurants",
|
306
306
|
section: "payment-gateway"
|
307
307
|
},
|
308
|
-
component: () => import("./Restaurant-
|
308
|
+
component: () => import("./Restaurant-CRacG00G.js")
|
309
309
|
},
|
310
310
|
{
|
311
311
|
path: "/admin/restaurants/:restaurantId",
|
@@ -314,7 +314,7 @@ const Zn = {
|
|
314
314
|
meta: {
|
315
315
|
parent: "mf-payment-admin.restaurant"
|
316
316
|
},
|
317
|
-
component: () => import("./RestaurantSetting-
|
317
|
+
component: () => import("./RestaurantSetting-D8gT0OLI.js")
|
318
318
|
},
|
319
319
|
{
|
320
320
|
path: "/admin/payout-accounts",
|
@@ -323,7 +323,7 @@ const Zn = {
|
|
323
323
|
sidebarDisplay: "Payout Accounts",
|
324
324
|
section: "payment-gateway"
|
325
325
|
},
|
326
|
-
component: () => import("./PayoutAccount-
|
326
|
+
component: () => import("./PayoutAccount-D7-wVu54.js")
|
327
327
|
},
|
328
328
|
{
|
329
329
|
path: "/admin/payout-accounts/:accountId",
|
@@ -332,7 +332,7 @@ const Zn = {
|
|
332
332
|
meta: {
|
333
333
|
parent: "mf-payment-admin.payout-account"
|
334
334
|
},
|
335
|
-
component: () => import("./PayoutAccountSetting-
|
335
|
+
component: () => import("./PayoutAccountSetting-CMKwrL4M.js")
|
336
336
|
},
|
337
337
|
{
|
338
338
|
path: "/admin/terminal/pos",
|
@@ -341,7 +341,7 @@ const Zn = {
|
|
341
341
|
sidebarDisplay: "POS",
|
342
342
|
section: "device"
|
343
343
|
},
|
344
|
-
component: () => import("./Terminal-
|
344
|
+
component: () => import("./Terminal-CPxZpDko.js"),
|
345
345
|
props: {
|
346
346
|
type: "POS"
|
347
347
|
}
|
@@ -353,7 +353,7 @@ const Zn = {
|
|
353
353
|
sidebarDisplay: "Kiosks",
|
354
354
|
section: "device"
|
355
355
|
},
|
356
|
-
component: () => import("./Terminal-
|
356
|
+
component: () => import("./Terminal-CPxZpDko.js"),
|
357
357
|
props: {
|
358
358
|
type: "KIOSK"
|
359
359
|
}
|
@@ -365,7 +365,7 @@ const Zn = {
|
|
365
365
|
sidebarDisplay: "Terminals",
|
366
366
|
section: "device"
|
367
367
|
},
|
368
|
-
component: () => import("./Terminal-
|
368
|
+
component: () => import("./Terminal-CPxZpDko.js"),
|
369
369
|
props: {
|
370
370
|
type: "TERMINAL"
|
371
371
|
}
|
@@ -377,7 +377,7 @@ const Zn = {
|
|
377
377
|
meta: {
|
378
378
|
parent: "mf-payment-admin.pos"
|
379
379
|
},
|
380
|
-
component: () => import("./TerminalSetting-
|
380
|
+
component: () => import("./TerminalSetting-BTjY6R2k.js")
|
381
381
|
},
|
382
382
|
{
|
383
383
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -386,7 +386,7 @@ const Zn = {
|
|
386
386
|
meta: {
|
387
387
|
parent: "mf-payment-admin.kiosk"
|
388
388
|
},
|
389
|
-
component: () => import("./TerminalSetting-
|
389
|
+
component: () => import("./TerminalSetting-BTjY6R2k.js")
|
390
390
|
},
|
391
391
|
{
|
392
392
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -395,7 +395,7 @@ const Zn = {
|
|
395
395
|
meta: {
|
396
396
|
parent: "mf-payment-admin.terminal"
|
397
397
|
},
|
398
|
-
component: () => import("./TerminalSetting-
|
398
|
+
component: () => import("./TerminalSetting-BTjY6R2k.js")
|
399
399
|
},
|
400
400
|
{
|
401
401
|
path: "/admin/transaction",
|
@@ -403,7 +403,7 @@ const Zn = {
|
|
403
403
|
meta: {
|
404
404
|
sidebarDisplay: "Transactions"
|
405
405
|
},
|
406
|
-
component: () => import("./Transaction-
|
406
|
+
component: () => import("./Transaction-DOJeGqKs.js")
|
407
407
|
},
|
408
408
|
{
|
409
409
|
path: "/admin/settlement",
|
@@ -411,7 +411,7 @@ const Zn = {
|
|
411
411
|
meta: {
|
412
412
|
sidebarDisplay: "Settlements"
|
413
413
|
},
|
414
|
-
component: () => import("./Settlement-
|
414
|
+
component: () => import("./Settlement-HpncV_wh.js")
|
415
415
|
},
|
416
416
|
{
|
417
417
|
path: "/admin/settlement/:settlementId",
|
@@ -420,7 +420,7 @@ const Zn = {
|
|
420
420
|
meta: {
|
421
421
|
parent: "mf-payment-admin.settlement"
|
422
422
|
},
|
423
|
-
component: () => import("./SettlementTransactions-
|
423
|
+
component: () => import("./SettlementTransactions-Qi1y0ELt.js")
|
424
424
|
}
|
425
425
|
], We = [
|
426
426
|
{
|
@@ -430,7 +430,7 @@ const Zn = {
|
|
430
430
|
{
|
431
431
|
path: "/payout-account",
|
432
432
|
name: "mf-payment-payout-account",
|
433
|
-
component: () => import("./PayoutAccount-
|
433
|
+
component: () => import("./PayoutAccount-8i57shlX.js"),
|
434
434
|
meta: {
|
435
435
|
sidebarDisplay: "i18n:routes.payout_account"
|
436
436
|
}
|
@@ -438,7 +438,7 @@ const Zn = {
|
|
438
438
|
{
|
439
439
|
path: "/transaction-old",
|
440
440
|
name: "mf-payment-old-transaction",
|
441
|
-
component: () => import("./TransactionOld-
|
441
|
+
component: () => import("./TransactionOld-ytcLv_RQ.js"),
|
442
442
|
meta: {
|
443
443
|
sidebarDisplay: "i18n:routes.transaction"
|
444
444
|
}
|
@@ -446,7 +446,7 @@ const Zn = {
|
|
446
446
|
{
|
447
447
|
path: "/transaction",
|
448
448
|
name: "mf-payment-transaction",
|
449
|
-
component: () => import("./Transaction-
|
449
|
+
component: () => import("./Transaction-BRsEkW-X.js"),
|
450
450
|
meta: {
|
451
451
|
sidebarDisplay: "i18n:routes.transaction-new",
|
452
452
|
sidebarNew: !0
|
@@ -455,7 +455,7 @@ const Zn = {
|
|
455
455
|
{
|
456
456
|
path: "/settlement",
|
457
457
|
name: "mf-payment-settlement",
|
458
|
-
component: () => import("./Settlement-
|
458
|
+
component: () => import("./Settlement-ChZcWUR2.js"),
|
459
459
|
meta: {
|
460
460
|
sidebarDisplay: "i18n:routes.settlement"
|
461
461
|
}
|
@@ -464,7 +464,7 @@ const Zn = {
|
|
464
464
|
path: "/settlement/:settlementId",
|
465
465
|
name: "mf-payment-settlement-transaction",
|
466
466
|
props: !0,
|
467
|
-
component: () => import("./SettlementTransactions-
|
467
|
+
component: () => import("./SettlementTransactions-B4foya_u.js"),
|
468
468
|
meta: {
|
469
469
|
parent: "mf-payment-settlement"
|
470
470
|
}
|
@@ -481,7 +481,7 @@ const Zn = {
|
|
481
481
|
init: t
|
482
482
|
};
|
483
483
|
});
|
484
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bf643c60-c6db-40f5-afac-b5154cb315d8", 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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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_pk5b6J4JOGkUXwbLOwgXXUpphGtDyQ0yQeKT", 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: "708", 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: "20250406.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:6542", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/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: "14441181933", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5ca6b41c371398ea04c42b219eadac90d124ca7d", 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-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MTI0YTRiMTQtOGNkMC00MDU2LWI5OTktYjYzYzBjNmE3YzVjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDY3IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46MTI0YTRiMTQtOGNkMC00MDU2LWI5OTktYjYzYzBjNmE3YzVjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDY3IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiM2QyNzRhOWQtM2M2My00MzM4LWEzNzUtNGM3N2ZlNDM5ZmYyIiwic2lkIjoiNzc0YjRmMmUtNTBjOS00OTMzLWJjMjUtNWNlNmYzNjRkYzY4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjVjYTZiNDFjMzcxMzk4ZWEwNGM0MmIyMTllYWRhYzkwZDEyNGNhN2RcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQ0NDExODE5MzNcIixcInJ1bl9udW1iZXJcIjpcIjE2OFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI1Y2E2YjQxYzM3MTM5OGVhMDRjNDJiMjE5ZWFkYWM5MGQxMjRjYTdkXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1Y2E2YjQxYzM3MTM5OGVhMDRjNDJiMjE5ZWFkYWM5MGQxMjRjYTdkXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIxMjRhNGIxNC04Y2QwLTQwNTYtYjk5OS1iNjNjMGM2YTdjNWMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQ2MTkyMDAsImV4cCI6MTc0NDY0MjAwMH0.EiahObMbhVKBtROShOQIy-YVvWRleRS_uUsNjCj6UUPHyD20OUukoWQdto2Vo7Qb5KQYgC3-CNGjg5WxbPrdtUbP7ouNJOfPtTRQ16bp0wgdbbgxZZknjF-sH1T_uuOYEPBswBSobGLm0Nb29Hb2kvIrHSnUuZ3_2aOCOZ_Da4Ac_eD6cVawcdBAjh18ipnIgHv_e156rLp4CYawbyyEu_CMcp4xo4KbUWA3Vd3Faelim-OYBsqKKBR8T81F0O0nhhfYHilRNveRuKD4xgb3At1eMh5SmGO6zaISpYOUL9WUAgAkKYA0qcwtz-oM7vJnKBIT9xahAVjvt1kiWAzfew", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744619848453-0.0927857447624778:/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--1744619848293-0.7860281414443047:/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--1744619848131-0.9329961387377315:/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_341e42ec-777b-4293-9a2a-8b42ac889da8", INVOCATION_ID: "5223f6385b4d4196a779000050e5e4aa", 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: "168", 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 105", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", 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:dev", 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-beta.7", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', 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: "5ca6b41c371398ea04c42b219eadac90d124ca7d", 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/dev", 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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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/124a4b14-8cd0-4056-b999-b63c0c6a7c5c/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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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_bf643c60-c6db-40f5-afac-b5154cb315d8", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_befd0351-0282-4042-99fa-baf2e6617042", 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_befd0351-0282-4042-99fa-baf2e6617042", 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_PMWfXVhtR0dIWABN79EYv2RSIk7uUZ08zQvM", 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: "707", 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:5803", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/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: "14568152020", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "164acc58e40ca57ad3575085080561e6e05cf85b", 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-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NWQ2ZGMwNDktZTBmYS00M2U1LWE2YTMtYmE2YTExZmU0OWUwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDg2IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NWQ2ZGMwNDktZTBmYS00M2U1LWE2YTMtYmE2YTExZmU0OWUwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDg2IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMzRhNDYwYzEtNWQ0ZS00ZjU0LThlZDYtYTlmNWE4YTU2Mjc2Iiwic2lkIjoiZWY0OThkZmEtNmMyMS00YjFlLWJkMTktNjhjZmI3MGUwYzE3IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjE2NGFjYzU4ZTQwY2E1N2FkMzU3NTA4NTA4MDU2MWU2ZTA1Y2Y4NWJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQ1NjgxNTIwMjBcIixcInJ1bl9udW1iZXJcIjpcIjE2OVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIxNjRhY2M1OGU0MGNhNTdhZDM1NzUwODUwODA1NjFlNmUwNWNmODViXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIxNjRhY2M1OGU0MGNhNTdhZDM1NzUwODUwODA1NjFlNmUwNWNmODViXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI1ZDZkYzA0OS1lMGZhLTQzZTUtYTZhMy1iYTZhMTFmZTQ5ZTAuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUyMTM4NzUsImV4cCI6MTc0NTIzNjY3NX0.UibkZUJIiHq1P8fIzHtMLrAzzGx5CuakQ2SFJxtCNcaZ492wQ43uESTy8uvuTZA4f2WnZ9liZDyvvjILVouwRvII6Ezqj06Pjp_21UiD8Lw_2HOFweFBR60Zt_qkKCysF8B7d2ZMlqJy46YC0SGlveek-qaat1QfhZZ5BQQBOqg-YtwDCjIw-q34xmZeJ3odNPjn5F-xuVVfz03qKgT7Q32MAIk7Gng_2by8H0cng8Bs1aiyH0gz6S7UtwlFdjKdaLt_60gLvcwBLpxmFFxq8Ft8EqGSs6bBpnilUbbxc5M1zqQWDEFaCnDABBYfC8M7NATwU5oHf2B8SJpsN98Ylw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745214525119-0.5485530735761259:/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--1745214524954-0.8142685117134834:/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--1745214524788-0.23056283635059338:/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_f2451148-1cfd-45ff-80ba-a74ee4ae8175", INVOCATION_ID: "7667fe764cb641e1b7256e17a09ed69e", 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: "169", 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 340", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", 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:dev", 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-beta.1", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', 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: "164acc58e40ca57ad3575085080561e6e05cf85b", 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/dev", 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_befd0351-0282-4042-99fa-baf2e6617042", 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/5d6dc049-e0fa-43e5-a6a3-ba6a11fe49e0/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_befd0351-0282-4042-99fa-baf2e6617042", 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_befd0351-0282-4042-99fa-baf2e6617042", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
485
485
|
/**
|
486
486
|
* @license
|
487
487
|
* Copyright 2017 Google LLC
|
@@ -498,7 +498,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
498
498
|
* See the License for the specific language governing permissions and
|
499
499
|
* limitations under the License.
|
500
500
|
*/
|
501
|
-
const
|
501
|
+
const Ht = function(n) {
|
502
502
|
const e = [];
|
503
503
|
let t = 0;
|
504
504
|
for (let r = 0; r < n.length; r++) {
|
@@ -525,7 +525,7 @@ const jt = function(n) {
|
|
525
525
|
}
|
526
526
|
}
|
527
527
|
return e.join("");
|
528
|
-
},
|
528
|
+
}, Gt = {
|
529
529
|
/**
|
530
530
|
* Maps bytes to characters.
|
531
531
|
*/
|
@@ -599,7 +599,7 @@ const jt = function(n) {
|
|
599
599
|
* @return The base64 encoded string.
|
600
600
|
*/
|
601
601
|
encodeString(n, e) {
|
602
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
602
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
603
603
|
},
|
604
604
|
/**
|
605
605
|
* Base64-decode a string.
|
@@ -668,13 +668,13 @@ class or extends Error {
|
|
668
668
|
}
|
669
669
|
}
|
670
670
|
const cr = function(n) {
|
671
|
-
const e =
|
672
|
-
return
|
671
|
+
const e = Ht(n);
|
672
|
+
return Gt.encodeByteArray(e, !0);
|
673
673
|
}, de = function(n) {
|
674
674
|
return cr(n).replace(/\./g, "");
|
675
|
-
},
|
675
|
+
}, Vt = function(n) {
|
676
676
|
try {
|
677
|
-
return
|
677
|
+
return Gt.decodeString(n, !0);
|
678
678
|
} catch (e) {
|
679
679
|
console.error("base64Decode failed: ", e);
|
680
680
|
}
|
@@ -736,7 +736,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
736
736
|
} catch {
|
737
737
|
return;
|
738
738
|
}
|
739
|
-
const e = n &&
|
739
|
+
const e = n && Vt(n[1]);
|
740
740
|
return e && JSON.parse(e);
|
741
741
|
}, ze = () => {
|
742
742
|
try {
|
@@ -745,11 +745,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
745
745
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
746
746
|
return;
|
747
747
|
}
|
748
|
-
},
|
748
|
+
}, jt = (n) => {
|
749
749
|
var e, t;
|
750
750
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
751
751
|
}, Wa = (n) => {
|
752
|
-
const e =
|
752
|
+
const e = jt(n);
|
753
753
|
if (!e)
|
754
754
|
return;
|
755
755
|
const t = e.lastIndexOf(":");
|
@@ -883,14 +883,14 @@ function vr() {
|
|
883
883
|
const n = m();
|
884
884
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
885
885
|
}
|
886
|
-
function
|
886
|
+
function Ir() {
|
887
887
|
try {
|
888
888
|
return typeof indexedDB == "object";
|
889
889
|
} catch {
|
890
890
|
return !1;
|
891
891
|
}
|
892
892
|
}
|
893
|
-
function
|
893
|
+
function br() {
|
894
894
|
return new Promise((n, e) => {
|
895
895
|
try {
|
896
896
|
let t = !0;
|
@@ -940,13 +940,13 @@ class q {
|
|
940
940
|
}
|
941
941
|
}
|
942
942
|
function Er(n, e) {
|
943
|
-
return n.replace(
|
943
|
+
return n.replace(wr, (t, r) => {
|
944
944
|
const i = e[r];
|
945
945
|
return i != null ? String(i) : `<${r}?>`;
|
946
946
|
});
|
947
947
|
}
|
948
|
-
const
|
949
|
-
function
|
948
|
+
const wr = /\{\$([^}]+)}/g;
|
949
|
+
function Tr(n) {
|
950
950
|
for (const e in n)
|
951
951
|
if (Object.prototype.hasOwnProperty.call(n, e))
|
952
952
|
return !1;
|
@@ -998,11 +998,11 @@ function Q(n) {
|
|
998
998
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
999
999
|
return e.length ? "&" + e.join("&") : "";
|
1000
1000
|
}
|
1001
|
-
function
|
1002
|
-
const t = new
|
1001
|
+
function kr(n, e) {
|
1002
|
+
const t = new Rr(n, e);
|
1003
1003
|
return t.subscribe.bind(t);
|
1004
1004
|
}
|
1005
|
-
class
|
1005
|
+
class Rr {
|
1006
1006
|
/**
|
1007
1007
|
* @param executor Function which can make calls to a single Observer
|
1008
1008
|
* as a proxy.
|
@@ -1048,7 +1048,7 @@ class kr {
|
|
1048
1048
|
next: e,
|
1049
1049
|
error: t,
|
1050
1050
|
complete: r
|
1051
|
-
}, 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);
|
1052
1052
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1053
1053
|
return this.finalized && this.task.then(() => {
|
1054
1054
|
try {
|
@@ -1094,7 +1094,7 @@ function Sr(n, e) {
|
|
1094
1094
|
return !0;
|
1095
1095
|
return !1;
|
1096
1096
|
}
|
1097
|
-
function
|
1097
|
+
function Re() {
|
1098
1098
|
}
|
1099
1099
|
/**
|
1100
1100
|
* @license
|
@@ -1222,7 +1222,7 @@ class Ar {
|
|
1222
1222
|
if (this.component)
|
1223
1223
|
throw Error(`Component for ${this.name} has already been provided`);
|
1224
1224
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1225
|
-
if (
|
1225
|
+
if (Nr(e))
|
1226
1226
|
try {
|
1227
1227
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1228
1228
|
} catch {
|
@@ -1328,7 +1328,7 @@ class Ar {
|
|
1328
1328
|
function Or(n) {
|
1329
1329
|
return n === L ? void 0 : n;
|
1330
1330
|
}
|
1331
|
-
function
|
1331
|
+
function Nr(n) {
|
1332
1332
|
return n.instantiationMode === "EAGER";
|
1333
1333
|
}
|
1334
1334
|
/**
|
@@ -1347,7 +1347,7 @@ function Cr(n) {
|
|
1347
1347
|
* See the License for the specific language governing permissions and
|
1348
1348
|
* limitations under the License.
|
1349
1349
|
*/
|
1350
|
-
class
|
1350
|
+
class Cr {
|
1351
1351
|
constructor(e) {
|
1352
1352
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1353
1353
|
}
|
@@ -1428,7 +1428,7 @@ const Dr = {
|
|
1428
1428
|
else
|
1429
1429
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1430
1430
|
};
|
1431
|
-
class
|
1431
|
+
class Zt {
|
1432
1432
|
/**
|
1433
1433
|
* Gives you an instance of a Logger to capture messages according to
|
1434
1434
|
* Firebase's logging scheme.
|
@@ -1501,24 +1501,24 @@ function Fr() {
|
|
1501
1501
|
IDBCursor.prototype.continuePrimaryKey
|
1502
1502
|
]);
|
1503
1503
|
}
|
1504
|
-
const
|
1504
|
+
const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1505
1505
|
function xr(n) {
|
1506
1506
|
const e = new Promise((t, r) => {
|
1507
1507
|
const i = () => {
|
1508
1508
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1509
1509
|
}, s = () => {
|
1510
|
-
t(
|
1510
|
+
t(C(n.result)), i();
|
1511
1511
|
}, a = () => {
|
1512
1512
|
r(n.error), i();
|
1513
1513
|
};
|
1514
1514
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1515
1515
|
});
|
1516
1516
|
return e.then((t) => {
|
1517
|
-
t instanceof IDBCursor &&
|
1517
|
+
t instanceof IDBCursor && $t.set(t, n);
|
1518
1518
|
}).catch(() => {
|
1519
|
-
}),
|
1519
|
+
}), Ze.set(e, n), e;
|
1520
1520
|
}
|
1521
|
-
function
|
1521
|
+
function Hr(n) {
|
1522
1522
|
if (Le.has(n))
|
1523
1523
|
return;
|
1524
1524
|
const e = new Promise((t, r) => {
|
@@ -1543,7 +1543,7 @@ let Ue = {
|
|
1543
1543
|
if (e === "store")
|
1544
1544
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1545
1545
|
}
|
1546
|
-
return
|
1546
|
+
return C(n[e]);
|
1547
1547
|
},
|
1548
1548
|
set(n, e, t) {
|
1549
1549
|
return n[e] = t, !0;
|
@@ -1552,35 +1552,35 @@ let Ue = {
|
|
1552
1552
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1553
1553
|
}
|
1554
1554
|
};
|
1555
|
-
function
|
1555
|
+
function Gr(n) {
|
1556
1556
|
Ue = n(Ue);
|
1557
1557
|
}
|
1558
|
-
function
|
1558
|
+
function Vr(n) {
|
1559
1559
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1560
1560
|
const r = n.call(Ae(this), e, ...t);
|
1561
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1561
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1562
1562
|
} : Fr().includes(n) ? function(...e) {
|
1563
|
-
return n.apply(Ae(this), e),
|
1563
|
+
return n.apply(Ae(this), e), C($t.get(this));
|
1564
1564
|
} : function(...e) {
|
1565
|
-
return
|
1565
|
+
return C(n.apply(Ae(this), e));
|
1566
1566
|
};
|
1567
1567
|
}
|
1568
|
-
function
|
1569
|
-
return typeof n == "function" ?
|
1568
|
+
function jr(n) {
|
1569
|
+
return typeof n == "function" ? Vr(n) : (n instanceof IDBTransaction && Hr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1570
1570
|
}
|
1571
|
-
function
|
1571
|
+
function C(n) {
|
1572
1572
|
if (n instanceof IDBRequest)
|
1573
1573
|
return xr(n);
|
1574
1574
|
if (Se.has(n))
|
1575
1575
|
return Se.get(n);
|
1576
|
-
const e =
|
1577
|
-
return e !== n && (Se.set(n, e),
|
1576
|
+
const e = jr(n);
|
1577
|
+
return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
|
1578
1578
|
}
|
1579
|
-
const Ae = (n) =>
|
1579
|
+
const Ae = (n) => Ze.get(n);
|
1580
1580
|
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1581
|
-
const a = indexedDB.open(n, e), c =
|
1581
|
+
const a = indexedDB.open(n, e), c = C(a);
|
1582
1582
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1583
|
-
r(
|
1583
|
+
r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
|
1584
1584
|
}), t && a.addEventListener("blocked", (o) => t(
|
1585
1585
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1586
1586
|
o.oldVersion,
|
@@ -1591,13 +1591,13 @@ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1591
1591
|
}).catch(() => {
|
1592
1592
|
}), c;
|
1593
1593
|
}
|
1594
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1594
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], Zr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1595
1595
|
function ut(n, e) {
|
1596
1596
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1597
1597
|
return;
|
1598
1598
|
if (Oe.get(e))
|
1599
1599
|
return Oe.get(e);
|
1600
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1600
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Zr.includes(t);
|
1601
1601
|
if (
|
1602
1602
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1603
1603
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
|
@@ -1613,7 +1613,7 @@ function ut(n, e) {
|
|
1613
1613
|
};
|
1614
1614
|
return Oe.set(e, s), s;
|
1615
1615
|
}
|
1616
|
-
|
1616
|
+
Gr((n) => ({
|
1617
1617
|
...n,
|
1618
1618
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1619
1619
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1634,7 +1634,7 @@ Hr((n) => ({
|
|
1634
1634
|
* See the License for the specific language governing permissions and
|
1635
1635
|
* limitations under the License.
|
1636
1636
|
*/
|
1637
|
-
class
|
1637
|
+
class $r {
|
1638
1638
|
constructor(e) {
|
1639
1639
|
this.container = e;
|
1640
1640
|
}
|
@@ -1671,7 +1671,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1671
1671
|
* See the License for the specific language governing permissions and
|
1672
1672
|
* limitations under the License.
|
1673
1673
|
*/
|
1674
|
-
const
|
1674
|
+
const w = new Zt("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@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", fi = "@firebase/remote-config-compat", mi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1675
1675
|
/**
|
1676
1676
|
* @license
|
1677
1677
|
* Copyright 2019 Google LLC
|
@@ -1713,10 +1713,10 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1713
1713
|
[mi]: "fire-gcs",
|
1714
1714
|
[_i]: "fire-gcs-compat",
|
1715
1715
|
[gi]: "fire-fst",
|
1716
|
-
[
|
1716
|
+
[Ii]: "fire-fst-compat",
|
1717
1717
|
[vi]: "fire-vertex",
|
1718
1718
|
"fire-js": "fire-js",
|
1719
|
-
[
|
1719
|
+
[bi]: "fire-js-all"
|
1720
1720
|
};
|
1721
1721
|
/**
|
1722
1722
|
* @license
|
@@ -1734,22 +1734,22 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1734
1734
|
* See the License for the specific language governing permissions and
|
1735
1735
|
* limitations under the License.
|
1736
1736
|
*/
|
1737
|
-
const he = /* @__PURE__ */ new Map(),
|
1737
|
+
const he = /* @__PURE__ */ new Map(), wi = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
|
1738
1738
|
function pt(n, e) {
|
1739
1739
|
try {
|
1740
1740
|
n.container.addComponent(e);
|
1741
1741
|
} catch (t) {
|
1742
|
-
|
1742
|
+
w.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1743
1743
|
}
|
1744
1744
|
}
|
1745
1745
|
function Y(n) {
|
1746
1746
|
const e = n.name;
|
1747
1747
|
if (xe.has(e))
|
1748
|
-
return
|
1748
|
+
return w.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1749
1749
|
xe.set(e, n);
|
1750
1750
|
for (const t of he.values())
|
1751
1751
|
pt(t, n);
|
1752
|
-
for (const t of
|
1752
|
+
for (const t of wi.values())
|
1753
1753
|
pt(t, n);
|
1754
1754
|
return !0;
|
1755
1755
|
}
|
@@ -1757,7 +1757,7 @@ function Yt(n, e) {
|
|
1757
1757
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1758
1758
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1759
1759
|
}
|
1760
|
-
function
|
1760
|
+
function I(n) {
|
1761
1761
|
return n.settings !== void 0;
|
1762
1762
|
}
|
1763
1763
|
/**
|
@@ -1776,7 +1776,7 @@ function b(n) {
|
|
1776
1776
|
* See the License for the specific language governing permissions and
|
1777
1777
|
* limitations under the License.
|
1778
1778
|
*/
|
1779
|
-
const
|
1779
|
+
const Ti = {
|
1780
1780
|
"no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
|
1781
1781
|
"bad-app-name": "Illegal App name: '{$appName}'",
|
1782
1782
|
"duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
|
@@ -1791,7 +1791,7 @@ const wi = {
|
|
1791
1791
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1792
1792
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1793
1793
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1794
|
-
}, D = new q("app", "Firebase",
|
1794
|
+
}, D = new q("app", "Firebase", Ti);
|
1795
1795
|
/**
|
1796
1796
|
* @license
|
1797
1797
|
* Copyright 2019 Google LLC
|
@@ -1808,7 +1808,7 @@ const wi = {
|
|
1808
1808
|
* See the License for the specific language governing permissions and
|
1809
1809
|
* limitations under the License.
|
1810
1810
|
*/
|
1811
|
-
class
|
1811
|
+
class ki {
|
1812
1812
|
constructor(e, t, r) {
|
1813
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 W(
|
1814
1814
|
"app",
|
@@ -1886,13 +1886,13 @@ function Xt(n, e = {}) {
|
|
1886
1886
|
return s;
|
1887
1887
|
throw D.create("duplicate-app", { appName: i });
|
1888
1888
|
}
|
1889
|
-
const a = new
|
1889
|
+
const a = new Cr(i);
|
1890
1890
|
for (const o of xe.values())
|
1891
1891
|
a.addComponent(o);
|
1892
|
-
const c = new
|
1892
|
+
const c = new ki(t, r, a);
|
1893
1893
|
return he.set(i, c), c;
|
1894
1894
|
}
|
1895
|
-
function
|
1895
|
+
function Ri(n = Fe) {
|
1896
1896
|
const e = he.get(n);
|
1897
1897
|
if (!e && n === Fe && Wt())
|
1898
1898
|
return Xt();
|
@@ -1900,7 +1900,7 @@ function ki(n = Fe) {
|
|
1900
1900
|
throw D.create("no-app", { appName: n });
|
1901
1901
|
return e;
|
1902
1902
|
}
|
1903
|
-
function
|
1903
|
+
function H(n, e, t) {
|
1904
1904
|
var r;
|
1905
1905
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1906
1906
|
t && (i += `-${t}`);
|
@@ -1909,7 +1909,7 @@ function j(n, e, t) {
|
|
1909
1909
|
const c = [
|
1910
1910
|
`Unable to register library "${i}" with version "${e}":`
|
1911
1911
|
];
|
1912
|
-
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1912
|
+
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), w.warn(c.join(" "));
|
1913
1913
|
return;
|
1914
1914
|
}
|
1915
1915
|
Y(new W(
|
@@ -1936,9 +1936,9 @@ function j(n, e, t) {
|
|
1936
1936
|
* limitations under the License.
|
1937
1937
|
*/
|
1938
1938
|
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1939
|
-
let
|
1939
|
+
let Ne = null;
|
1940
1940
|
function Kt() {
|
1941
|
-
return
|
1941
|
+
return Ne || (Ne = Wr(Si, Ai, {
|
1942
1942
|
upgrade: (n, e) => {
|
1943
1943
|
switch (e) {
|
1944
1944
|
case 0:
|
@@ -1953,7 +1953,7 @@ function Kt() {
|
|
1953
1953
|
throw D.create("idb-open", {
|
1954
1954
|
originalErrorMessage: n.message
|
1955
1955
|
});
|
1956
|
-
})),
|
1956
|
+
})), Ne;
|
1957
1957
|
}
|
1958
1958
|
async function Oi(n) {
|
1959
1959
|
try {
|
@@ -1961,12 +1961,12 @@ async function Oi(n) {
|
|
1961
1961
|
return await t.done, r;
|
1962
1962
|
} catch (e) {
|
1963
1963
|
if (e instanceof M)
|
1964
|
-
|
1964
|
+
w.warn(e.message);
|
1965
1965
|
else {
|
1966
1966
|
const t = D.create("idb-get", {
|
1967
1967
|
originalErrorMessage: e == null ? void 0 : e.message
|
1968
1968
|
});
|
1969
|
-
|
1969
|
+
w.warn(t.message);
|
1970
1970
|
}
|
1971
1971
|
}
|
1972
1972
|
}
|
@@ -1976,12 +1976,12 @@ async function ft(n, e) {
|
|
1976
1976
|
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1977
1977
|
} catch (t) {
|
1978
1978
|
if (t instanceof M)
|
1979
|
-
|
1979
|
+
w.warn(t.message);
|
1980
1980
|
else {
|
1981
1981
|
const r = D.create("idb-set", {
|
1982
1982
|
originalErrorMessage: t == null ? void 0 : t.message
|
1983
1983
|
});
|
1984
|
-
|
1984
|
+
w.warn(r.message);
|
1985
1985
|
}
|
1986
1986
|
}
|
1987
1987
|
}
|
@@ -2004,7 +2004,7 @@ function qt(n) {
|
|
2004
2004
|
* See the License for the specific language governing permissions and
|
2005
2005
|
* limitations under the License.
|
2006
2006
|
*/
|
2007
|
-
const
|
2007
|
+
const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
|
2008
2008
|
class Di {
|
2009
2009
|
constructor(e) {
|
2010
2010
|
this.container = e, this._heartbeatsCache = null;
|
@@ -2024,10 +2024,10 @@ class Di {
|
|
2024
2024
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
2025
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) => {
|
2026
2026
|
const c = new Date(a.date).valueOf();
|
2027
|
-
return Date.now() - c <=
|
2027
|
+
return Date.now() - c <= Ci;
|
2028
2028
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2029
2029
|
} catch (r) {
|
2030
|
-
|
2030
|
+
w.warn(r);
|
2031
2031
|
}
|
2032
2032
|
}
|
2033
2033
|
/**
|
@@ -2045,14 +2045,14 @@ class Di {
|
|
2045
2045
|
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2046
2046
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2047
2047
|
} catch (t) {
|
2048
|
-
return
|
2048
|
+
return w.warn(t), "";
|
2049
2049
|
}
|
2050
2050
|
}
|
2051
2051
|
}
|
2052
2052
|
function mt() {
|
2053
2053
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2054
2054
|
}
|
2055
|
-
function Pi(n, e =
|
2055
|
+
function Pi(n, e = Ni) {
|
2056
2056
|
const t = [];
|
2057
2057
|
let r = n.slice();
|
2058
2058
|
for (const i of n) {
|
@@ -2081,7 +2081,7 @@ class Mi {
|
|
2081
2081
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
2082
2082
|
}
|
2083
2083
|
async runIndexedDBEnvironmentCheck() {
|
2084
|
-
return
|
2084
|
+
return Ir() ? br().then(() => !0).catch(() => !1) : !1;
|
2085
2085
|
}
|
2086
2086
|
/**
|
2087
2087
|
* Read all heartbeats.
|
@@ -2146,7 +2146,7 @@ function _t(n) {
|
|
2146
2146
|
function Li(n) {
|
2147
2147
|
Y(new W(
|
2148
2148
|
"platform-logger",
|
2149
|
-
(e) => new
|
2149
|
+
(e) => new $r(e),
|
2150
2150
|
"PRIVATE"
|
2151
2151
|
/* ComponentType.PRIVATE */
|
2152
2152
|
)), Y(new W(
|
@@ -2154,7 +2154,7 @@ function Li(n) {
|
|
2154
2154
|
(e) => new Di(e),
|
2155
2155
|
"PRIVATE"
|
2156
2156
|
/* ComponentType.PRIVATE */
|
2157
|
-
)),
|
2157
|
+
)), H(Be, ht, n), H(Be, ht, "esm2017"), H("fire-js", "");
|
2158
2158
|
}
|
2159
2159
|
Li("");
|
2160
2160
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2174,7 +2174,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2174
2174
|
* See the License for the specific language governing permissions and
|
2175
2175
|
* limitations under the License.
|
2176
2176
|
*/
|
2177
|
-
|
2177
|
+
H(Ui, Bi, "app");
|
2178
2178
|
var gt = function() {
|
2179
2179
|
return gt = Object.assign || function(e) {
|
2180
2180
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2184,7 +2184,7 @@ var gt = function() {
|
|
2184
2184
|
return e;
|
2185
2185
|
}, gt.apply(this, arguments);
|
2186
2186
|
};
|
2187
|
-
function
|
2187
|
+
function $e(n, e) {
|
2188
2188
|
var t = {};
|
2189
2189
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2190
2190
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2214,7 +2214,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2214
2214
|
* See the License for the specific language governing permissions and
|
2215
2215
|
* limitations under the License.
|
2216
2216
|
*/
|
2217
|
-
const pe = new
|
2217
|
+
const pe = new Zt("@firebase/auth");
|
2218
2218
|
function xi(n, ...e) {
|
2219
2219
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2220
2220
|
}
|
@@ -2237,7 +2237,7 @@ function se(n, ...e) {
|
|
2237
2237
|
* See the License for the specific language governing permissions and
|
2238
2238
|
* limitations under the License.
|
2239
2239
|
*/
|
2240
|
-
function
|
2240
|
+
function T(n, ...e) {
|
2241
2241
|
throw Je(n, ...e);
|
2242
2242
|
}
|
2243
2243
|
function _(n, ...e) {
|
@@ -2263,12 +2263,12 @@ function u(n, e, ...t) {
|
|
2263
2263
|
if (!n)
|
2264
2264
|
throw Je(e, ...t);
|
2265
2265
|
}
|
2266
|
-
function
|
2266
|
+
function b(n) {
|
2267
2267
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2268
2268
|
throw se(e), new Error(e);
|
2269
2269
|
}
|
2270
|
-
function
|
2271
|
-
n ||
|
2270
|
+
function k(n, e) {
|
2271
|
+
n || b(e);
|
2272
2272
|
}
|
2273
2273
|
/**
|
2274
2274
|
* @license
|
@@ -2286,11 +2286,11 @@ function R(n, e) {
|
|
2286
2286
|
* See the License for the specific language governing permissions and
|
2287
2287
|
* limitations under the License.
|
2288
2288
|
*/
|
2289
|
-
function
|
2289
|
+
function He() {
|
2290
2290
|
var n;
|
2291
2291
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2292
2292
|
}
|
2293
|
-
function
|
2293
|
+
function Hi() {
|
2294
2294
|
return vt() === "http:" || vt() === "https:";
|
2295
2295
|
}
|
2296
2296
|
function vt() {
|
@@ -2313,15 +2313,15 @@ function vt() {
|
|
2313
2313
|
* See the License for the specific language governing permissions and
|
2314
2314
|
* limitations under the License.
|
2315
2315
|
*/
|
2316
|
-
function
|
2316
|
+
function Gi() {
|
2317
2317
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2318
2318
|
// This is especially true for Cordova apps which have unreliable
|
2319
2319
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2320
2320
|
// installed which overwrites the native navigator.onLine value and
|
2321
2321
|
// defines navigator.connection.
|
2322
|
-
(
|
2322
|
+
(Hi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2323
2323
|
}
|
2324
|
-
function
|
2324
|
+
function Vi() {
|
2325
2325
|
if (typeof navigator > "u")
|
2326
2326
|
return null;
|
2327
2327
|
const n = navigator;
|
@@ -2351,10 +2351,10 @@ function Gi() {
|
|
2351
2351
|
*/
|
2352
2352
|
class te {
|
2353
2353
|
constructor(e, t) {
|
2354
|
-
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 = fr() || gr();
|
2355
2355
|
}
|
2356
2356
|
get() {
|
2357
|
-
return
|
2357
|
+
return Gi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2358
2358
|
}
|
2359
2359
|
}
|
2360
2360
|
/**
|
@@ -2374,7 +2374,7 @@ class te {
|
|
2374
2374
|
* limitations under the License.
|
2375
2375
|
*/
|
2376
2376
|
function Ye(n, e) {
|
2377
|
-
|
2377
|
+
k(n.emulator, "Emulator should always be set here");
|
2378
2378
|
const { url: t } = n.emulator;
|
2379
2379
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2380
2380
|
}
|
@@ -2407,7 +2407,7 @@ class nn {
|
|
2407
2407
|
return globalThis.fetch;
|
2408
2408
|
if (typeof fetch < "u")
|
2409
2409
|
return fetch;
|
2410
|
-
|
2410
|
+
b("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2411
2411
|
}
|
2412
2412
|
static headers() {
|
2413
2413
|
if (this.headersImpl)
|
@@ -2418,7 +2418,7 @@ class nn {
|
|
2418
2418
|
return globalThis.Headers;
|
2419
2419
|
if (typeof Headers < "u")
|
2420
2420
|
return Headers;
|
2421
|
-
|
2421
|
+
b("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2422
2422
|
}
|
2423
2423
|
static response() {
|
2424
2424
|
if (this.responseImpl)
|
@@ -2429,7 +2429,7 @@ class nn {
|
|
2429
2429
|
return globalThis.Response;
|
2430
2430
|
if (typeof Response < "u")
|
2431
2431
|
return Response;
|
2432
|
-
|
2432
|
+
b("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2433
2433
|
}
|
2434
2434
|
}
|
2435
2435
|
/**
|
@@ -2448,7 +2448,7 @@ class nn {
|
|
2448
2448
|
* See the License for the specific language governing permissions and
|
2449
2449
|
* limitations under the License.
|
2450
2450
|
*/
|
2451
|
-
const
|
2451
|
+
const ji = {
|
2452
2452
|
// Custom token errors.
|
2453
2453
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2454
2454
|
// This can only happen if the SDK sends a bad request.
|
@@ -2543,7 +2543,7 @@ const Wi = new te(3e4, 6e4);
|
|
2543
2543
|
function ve(n, e) {
|
2544
2544
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2545
2545
|
}
|
2546
|
-
async function
|
2546
|
+
async function Z(n, e, t, r, i = {}) {
|
2547
2547
|
return rn(n, i, async () => {
|
2548
2548
|
let s = {}, a = {};
|
2549
2549
|
r && (e === "GET" ? a = r : s = {
|
@@ -2566,7 +2566,7 @@ async function $(n, e, t, r, i = {}) {
|
|
2566
2566
|
}
|
2567
2567
|
async function rn(n, e, t) {
|
2568
2568
|
n._canInitEmulator = !1;
|
2569
|
-
const r = Object.assign(Object.assign({},
|
2569
|
+
const r = Object.assign(Object.assign({}, ji), e);
|
2570
2570
|
try {
|
2571
2571
|
const i = new zi(n), s = await Promise.race([
|
2572
2572
|
t(),
|
@@ -2589,17 +2589,17 @@ async function rn(n, e, t) {
|
|
2589
2589
|
const d = r[o] || o.toLowerCase().replace(/[_\s]+/g, "-");
|
2590
2590
|
if (l)
|
2591
2591
|
throw tn(n, d, l);
|
2592
|
-
|
2592
|
+
T(n, d);
|
2593
2593
|
}
|
2594
2594
|
} catch (i) {
|
2595
2595
|
if (i instanceof M)
|
2596
2596
|
throw i;
|
2597
|
-
|
2597
|
+
T(n, "network-request-failed", { message: String(i) });
|
2598
2598
|
}
|
2599
2599
|
}
|
2600
2600
|
async function sn(n, e, t, r, i = {}) {
|
2601
|
-
const s = await
|
2602
|
-
return "mfaPendingCredential" in s &&
|
2601
|
+
const s = await Z(n, e, t, r, i);
|
2602
|
+
return "mfaPendingCredential" in s && T(n, "multi-factor-auth-required", {
|
2603
2603
|
_serverResponse: s
|
2604
2604
|
}), s;
|
2605
2605
|
}
|
@@ -2645,11 +2645,11 @@ function ie(n, e, t) {
|
|
2645
2645
|
* See the License for the specific language governing permissions and
|
2646
2646
|
* limitations under the License.
|
2647
2647
|
*/
|
2648
|
-
async function
|
2649
|
-
return
|
2648
|
+
async function Zi(n, e) {
|
2649
|
+
return Z(n, "POST", "/v1/accounts:delete", e);
|
2650
2650
|
}
|
2651
2651
|
async function on(n, e) {
|
2652
|
-
return
|
2652
|
+
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2653
2653
|
}
|
2654
2654
|
/**
|
2655
2655
|
* @license
|
@@ -2676,7 +2676,7 @@ function J(n) {
|
|
2676
2676
|
} catch {
|
2677
2677
|
}
|
2678
2678
|
}
|
2679
|
-
async function
|
2679
|
+
async function $i(n, e = !1) {
|
2680
2680
|
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2681
2681
|
u(
|
2682
2682
|
i && i.exp && i.auth_time && i.iat,
|
@@ -2688,14 +2688,14 @@ async function Zi(n, e = !1) {
|
|
2688
2688
|
return {
|
2689
2689
|
claims: i,
|
2690
2690
|
token: r,
|
2691
|
-
authTime: J(
|
2692
|
-
issuedAtTime: J(
|
2693
|
-
expirationTime: J(
|
2691
|
+
authTime: J(Ce(i.auth_time)),
|
2692
|
+
issuedAtTime: J(Ce(i.iat)),
|
2693
|
+
expirationTime: J(Ce(i.exp)),
|
2694
2694
|
signInProvider: a || null,
|
2695
2695
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2696
2696
|
};
|
2697
2697
|
}
|
2698
|
-
function
|
2698
|
+
function Ce(n) {
|
2699
2699
|
return Number(n) * 1e3;
|
2700
2700
|
}
|
2701
2701
|
function Xe(n) {
|
@@ -2703,13 +2703,13 @@ function Xe(n) {
|
|
2703
2703
|
if (e === void 0 || t === void 0 || r === void 0)
|
2704
2704
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2705
2705
|
try {
|
2706
|
-
const i =
|
2706
|
+
const i = Vt(t);
|
2707
2707
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2708
2708
|
} catch (i) {
|
2709
2709
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2710
2710
|
}
|
2711
2711
|
}
|
2712
|
-
function
|
2712
|
+
function It(n) {
|
2713
2713
|
const e = Xe(n);
|
2714
2714
|
return u(
|
2715
2715
|
e,
|
@@ -2831,7 +2831,7 @@ class Yi {
|
|
2831
2831
|
* See the License for the specific language governing permissions and
|
2832
2832
|
* limitations under the License.
|
2833
2833
|
*/
|
2834
|
-
class
|
2834
|
+
class Ge {
|
2835
2835
|
constructor(e, t) {
|
2836
2836
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2837
2837
|
}
|
@@ -2884,7 +2884,7 @@ async function fe(n) {
|
|
2884
2884
|
phoneNumber: s.phoneNumber || null,
|
2885
2885
|
tenantId: s.tenantId || null,
|
2886
2886
|
providerData: c,
|
2887
|
-
metadata: new
|
2887
|
+
metadata: new Ge(s.createdAt, s.lastLoginAt),
|
2888
2888
|
isAnonymous: d
|
2889
2889
|
};
|
2890
2890
|
Object.assign(n, h);
|
@@ -2898,7 +2898,7 @@ function Ki(n, e) {
|
|
2898
2898
|
}
|
2899
2899
|
function cn(n) {
|
2900
2900
|
return n.map((e) => {
|
2901
|
-
var { providerId: t } = e, r =
|
2901
|
+
var { providerId: t } = e, r = $e(e, ["providerId"]);
|
2902
2902
|
return {
|
2903
2903
|
providerId: t,
|
2904
2904
|
uid: r.rawId || "",
|
@@ -2947,7 +2947,7 @@ async function qi(n, e) {
|
|
2947
2947
|
};
|
2948
2948
|
}
|
2949
2949
|
async function Qi(n, e) {
|
2950
|
-
return
|
2950
|
+
return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2951
2951
|
}
|
2952
2952
|
/**
|
2953
2953
|
* @license
|
@@ -2965,7 +2965,7 @@ async function Qi(n, e) {
|
|
2965
2965
|
* See the License for the specific language governing permissions and
|
2966
2966
|
* limitations under the License.
|
2967
2967
|
*/
|
2968
|
-
class
|
2968
|
+
class G {
|
2969
2969
|
constructor() {
|
2970
2970
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2971
2971
|
}
|
@@ -2986,7 +2986,7 @@ class H {
|
|
2986
2986
|
"internal-error"
|
2987
2987
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2988
2988
|
);
|
2989
|
-
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);
|
2990
2990
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2991
2991
|
}
|
2992
2992
|
updateFromIdToken(e) {
|
@@ -2995,7 +2995,7 @@ class H {
|
|
2995
2995
|
"internal-error"
|
2996
2996
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2997
2997
|
);
|
2998
|
-
const t =
|
2998
|
+
const t = It(e);
|
2999
2999
|
this.updateTokensAndExpiration(e, null, t);
|
3000
3000
|
}
|
3001
3001
|
async getToken(e, t = !1) {
|
@@ -3017,7 +3017,7 @@ class H {
|
|
3017
3017
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3018
3018
|
}
|
3019
3019
|
static fromJSON(e, t) {
|
3020
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3020
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new G();
|
3021
3021
|
return r && (u(typeof r == "string", "internal-error", {
|
3022
3022
|
appName: e
|
3023
3023
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3037,10 +3037,10 @@ class H {
|
|
3037
3037
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3038
3038
|
}
|
3039
3039
|
_clone() {
|
3040
|
-
return Object.assign(new
|
3040
|
+
return Object.assign(new G(), this.toJSON());
|
3041
3041
|
}
|
3042
3042
|
_performRefresh() {
|
3043
|
-
return
|
3043
|
+
return b("not implemented");
|
3044
3044
|
}
|
3045
3045
|
}
|
3046
3046
|
/**
|
@@ -3059,13 +3059,13 @@ class H {
|
|
3059
3059
|
* See the License for the specific language governing permissions and
|
3060
3060
|
* limitations under the License.
|
3061
3061
|
*/
|
3062
|
-
function
|
3062
|
+
function R(n, e) {
|
3063
3063
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3064
3064
|
}
|
3065
3065
|
class y {
|
3066
3066
|
constructor(e) {
|
3067
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3068
|
-
this.providerId = "firebase", this.proactiveRefresh = new Yi(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 = $e(e, ["uid", "auth", "stsTokenManager"]);
|
3068
|
+
this.providerId = "firebase", this.proactiveRefresh = new Yi(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 Ge(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3069
3069
|
}
|
3070
3070
|
async getIdToken(e) {
|
3071
3071
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3077,7 +3077,7 @@ class y {
|
|
3077
3077
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3078
3078
|
}
|
3079
3079
|
getIdTokenResult(e) {
|
3080
|
-
return
|
3080
|
+
return $i(this, e);
|
3081
3081
|
}
|
3082
3082
|
reload() {
|
3083
3083
|
return Xi(this);
|
@@ -3116,10 +3116,10 @@ class y {
|
|
3116
3116
|
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3117
3117
|
}
|
3118
3118
|
async delete() {
|
3119
|
-
if (
|
3119
|
+
if (I(this.auth.app))
|
3120
3120
|
return Promise.reject(P(this.auth));
|
3121
3121
|
const e = await this.getIdToken();
|
3122
|
-
return await K(this,
|
3122
|
+
return await K(this, Zi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3123
3123
|
}
|
3124
3124
|
toJSON() {
|
3125
3125
|
return Object.assign(Object.assign({
|
@@ -3147,20 +3147,20 @@ class y {
|
|
3147
3147
|
}
|
3148
3148
|
static _fromJSON(e, t) {
|
3149
3149
|
var r, i, s, a, c, o, l, d;
|
3150
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (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:
|
3150
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (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: we, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: at } = t;
|
3151
3151
|
u(
|
3152
|
-
|
3152
|
+
we && at,
|
3153
3153
|
e,
|
3154
3154
|
"internal-error"
|
3155
3155
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3156
3156
|
);
|
3157
|
-
const Pn =
|
3157
|
+
const Pn = G.fromJSON(this.name, at);
|
3158
3158
|
u(
|
3159
|
-
typeof
|
3159
|
+
typeof we == "string",
|
3160
3160
|
e,
|
3161
3161
|
"internal-error"
|
3162
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3163
|
-
),
|
3163
|
+
), R(h, e.name), R(f, e.name), u(
|
3164
3164
|
typeof it == "boolean",
|
3165
3165
|
e,
|
3166
3166
|
"internal-error"
|
@@ -3170,9 +3170,9 @@ class y {
|
|
3170
3170
|
e,
|
3171
3171
|
"internal-error"
|
3172
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3173
|
-
),
|
3174
|
-
const
|
3175
|
-
uid:
|
3173
|
+
), R(v, e.name), R(F, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3174
|
+
const ke = new y({
|
3175
|
+
uid: we,
|
3176
3176
|
auth: e,
|
3177
3177
|
email: f,
|
3178
3178
|
emailVerified: it,
|
@@ -3185,7 +3185,7 @@ class y {
|
|
3185
3185
|
createdAt: nt,
|
3186
3186
|
lastLoginAt: rt
|
3187
3187
|
});
|
3188
|
-
return
|
3188
|
+
return Te && Array.isArray(Te) && (ke.providerData = Te.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
|
3189
3189
|
}
|
3190
3190
|
/**
|
3191
3191
|
* Initialize a User from an idToken server response
|
@@ -3193,7 +3193,7 @@ class y {
|
|
3193
3193
|
* @param idTokenResponse
|
3194
3194
|
*/
|
3195
3195
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3196
|
-
const i = new
|
3196
|
+
const i = new G();
|
3197
3197
|
i.updateFromServerResponse(t);
|
3198
3198
|
const s = new y({
|
3199
3199
|
uid: t.localId,
|
@@ -3215,7 +3215,7 @@ class y {
|
|
3215
3215
|
"internal-error"
|
3216
3216
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3217
3217
|
);
|
3218
|
-
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 G();
|
3219
3219
|
c.updateFromIdToken(r);
|
3220
3220
|
const o = new y({
|
3221
3221
|
uid: i.localId,
|
@@ -3231,7 +3231,7 @@ class y {
|
|
3231
3231
|
phoneNumber: i.phoneNumber || null,
|
3232
3232
|
tenantId: i.tenantId || null,
|
3233
3233
|
providerData: s,
|
3234
|
-
metadata: new
|
3234
|
+
metadata: new Ge(i.createdAt, i.lastLoginAt),
|
3235
3235
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3236
3236
|
};
|
3237
3237
|
return Object.assign(o, l), o;
|
@@ -3253,11 +3253,11 @@ class y {
|
|
3253
3253
|
* See the License for the specific language governing permissions and
|
3254
3254
|
* limitations under the License.
|
3255
3255
|
*/
|
3256
|
-
const
|
3256
|
+
const bt = /* @__PURE__ */ new Map();
|
3257
3257
|
function E(n) {
|
3258
|
-
|
3259
|
-
let e =
|
3260
|
-
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);
|
3261
3261
|
}
|
3262
3262
|
/**
|
3263
3263
|
* @license
|
@@ -3318,7 +3318,7 @@ const yt = ln;
|
|
3318
3318
|
function ae(n, e, t) {
|
3319
3319
|
return `firebase:${n}:${e}:${t}`;
|
3320
3320
|
}
|
3321
|
-
class
|
3321
|
+
class V {
|
3322
3322
|
constructor(e, t, r) {
|
3323
3323
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3324
3324
|
const { config: i, name: s } = this.auth;
|
@@ -3349,7 +3349,7 @@ class G {
|
|
3349
3349
|
}
|
3350
3350
|
static async create(e, t, r = "authUser") {
|
3351
3351
|
if (!t.length)
|
3352
|
-
return new
|
3352
|
+
return new V(E(yt), e, r);
|
3353
3353
|
const i = (await Promise.all(t.map(async (l) => {
|
3354
3354
|
if (await l._isAvailable())
|
3355
3355
|
return l;
|
@@ -3368,13 +3368,13 @@ class G {
|
|
3368
3368
|
} catch {
|
3369
3369
|
}
|
3370
3370
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3371
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3371
|
+
return !s._shouldAllowMigration || !o.length ? new V(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3372
3372
|
if (l !== s)
|
3373
3373
|
try {
|
3374
3374
|
await l._remove(a);
|
3375
3375
|
} catch {
|
3376
3376
|
}
|
3377
|
-
})), new
|
3377
|
+
})), new V(s, e, r));
|
3378
3378
|
}
|
3379
3379
|
}
|
3380
3380
|
/**
|
@@ -3562,7 +3562,7 @@ class ns {
|
|
3562
3562
|
* limitations under the License.
|
3563
3563
|
*/
|
3564
3564
|
async function rs(n, e = {}) {
|
3565
|
-
return
|
3565
|
+
return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3566
3566
|
}
|
3567
3567
|
/**
|
3568
3568
|
* @license
|
@@ -3670,12 +3670,12 @@ class ss {
|
|
3670
3670
|
*/
|
3671
3671
|
class as {
|
3672
3672
|
constructor(e, t, r, i) {
|
3673
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new
|
3673
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new wt(this), this.idTokenSubscription = new wt(this), this.beforeStateQueue = new ns(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3674
3674
|
}
|
3675
3675
|
_initializeWithPersistence(e, t) {
|
3676
3676
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3677
3677
|
var r, i;
|
3678
|
-
if (!this._deleted && (this.persistenceManager = await
|
3678
|
+
if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
|
3679
3679
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3680
3680
|
try {
|
3681
3681
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3714,7 +3714,7 @@ class as {
|
|
3714
3714
|
}
|
3715
3715
|
async initializeCurrentUser(e) {
|
3716
3716
|
var t;
|
3717
|
-
if (
|
3717
|
+
if (I(this.app)) {
|
3718
3718
|
const a = this.app.settings.authIdToken;
|
3719
3719
|
return a ? new Promise((c) => {
|
3720
3720
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3764,13 +3764,13 @@ class as {
|
|
3764
3764
|
return this.directlySetCurrentUser(e);
|
3765
3765
|
}
|
3766
3766
|
useDeviceLanguage() {
|
3767
|
-
this.languageCode =
|
3767
|
+
this.languageCode = Vi();
|
3768
3768
|
}
|
3769
3769
|
async _delete() {
|
3770
3770
|
this._deleted = !0;
|
3771
3771
|
}
|
3772
3772
|
async updateCurrentUser(e) {
|
3773
|
-
if (
|
3773
|
+
if (I(this.app))
|
3774
3774
|
return Promise.reject(P(this));
|
3775
3775
|
const t = e ? z(e) : null;
|
3776
3776
|
return t && u(
|
@@ -3792,14 +3792,14 @@ class as {
|
|
3792
3792
|
});
|
3793
3793
|
}
|
3794
3794
|
async signOut() {
|
3795
|
-
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(
|
3796
3796
|
null,
|
3797
3797
|
/* skipBeforeStateCallbacks */
|
3798
3798
|
!0
|
3799
3799
|
));
|
3800
3800
|
}
|
3801
3801
|
setPersistence(e) {
|
3802
|
-
return
|
3802
|
+
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3803
3803
|
await this.assertedPersistence.setPersistence(E(e));
|
3804
3804
|
});
|
3805
3805
|
}
|
@@ -3879,7 +3879,7 @@ class as {
|
|
3879
3879
|
this,
|
3880
3880
|
"argument-error"
|
3881
3881
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3882
|
-
), this.redirectPersistenceManager = await
|
3882
|
+
), this.redirectPersistenceManager = await V.create(
|
3883
3883
|
this,
|
3884
3884
|
[E(t._redirectPersistence)],
|
3885
3885
|
"redirectUser"
|
@@ -4001,12 +4001,12 @@ class as {
|
|
4001
4001
|
return t != null && t.error && xi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
4002
4002
|
}
|
4003
4003
|
}
|
4004
|
-
function
|
4004
|
+
function Ie(n) {
|
4005
4005
|
return z(n);
|
4006
4006
|
}
|
4007
|
-
class
|
4007
|
+
class wt {
|
4008
4008
|
constructor(e) {
|
4009
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4009
|
+
this.auth = e, this.observer = null, this.addObserver = kr((t) => this.observer = t);
|
4010
4010
|
}
|
4011
4011
|
get next() {
|
4012
4012
|
return u(
|
@@ -4075,7 +4075,7 @@ function us(n, e) {
|
|
4075
4075
|
const i = t.getImmediate(), s = t.getOptions();
|
4076
4076
|
if (ue(s, e ?? {}))
|
4077
4077
|
return i;
|
4078
|
-
|
4078
|
+
T(
|
4079
4079
|
i,
|
4080
4080
|
"already-initialized"
|
4081
4081
|
/* AuthErrorCode.ALREADY_INITIALIZED */
|
@@ -4088,7 +4088,7 @@ function hs(n, e) {
|
|
4088
4088
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4089
4089
|
}
|
4090
4090
|
function ps(n, e, t) {
|
4091
|
-
const r =
|
4091
|
+
const r = Ie(n);
|
4092
4092
|
u(
|
4093
4093
|
r._canInitEmulator,
|
4094
4094
|
r,
|
@@ -4100,7 +4100,7 @@ function ps(n, e, t) {
|
|
4100
4100
|
"invalid-emulator-scheme"
|
4101
4101
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4102
4102
|
);
|
4103
|
-
const i = !1, s =
|
4103
|
+
const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
|
4104
4104
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4105
4105
|
host: a,
|
4106
4106
|
port: c,
|
@@ -4108,24 +4108,24 @@ function ps(n, e, t) {
|
|
4108
4108
|
options: Object.freeze({ disableWarnings: i })
|
4109
4109
|
}), ms();
|
4110
4110
|
}
|
4111
|
-
function
|
4111
|
+
function In(n) {
|
4112
4112
|
const e = n.indexOf(":");
|
4113
4113
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4114
4114
|
}
|
4115
4115
|
function fs(n) {
|
4116
|
-
const e =
|
4116
|
+
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4117
4117
|
if (!t)
|
4118
4118
|
return { host: "", port: null };
|
4119
4119
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
4120
4120
|
if (i) {
|
4121
4121
|
const s = i[1];
|
4122
|
-
return { host: s, port:
|
4122
|
+
return { host: s, port: Tt(r.substr(s.length + 1)) };
|
4123
4123
|
} else {
|
4124
4124
|
const [s, a] = r.split(":");
|
4125
|
-
return { host: s, port:
|
4125
|
+
return { host: s, port: Tt(a) };
|
4126
4126
|
}
|
4127
4127
|
}
|
4128
|
-
function
|
4128
|
+
function Tt(n) {
|
4129
4129
|
if (!n)
|
4130
4130
|
return null;
|
4131
4131
|
const e = Number(n);
|
@@ -4154,7 +4154,7 @@ function ms() {
|
|
4154
4154
|
* See the License for the specific language governing permissions and
|
4155
4155
|
* limitations under the License.
|
4156
4156
|
*/
|
4157
|
-
class
|
4157
|
+
class bn {
|
4158
4158
|
/** @internal */
|
4159
4159
|
constructor(e, t) {
|
4160
4160
|
this.providerId = e, this.signInMethod = t;
|
@@ -4165,19 +4165,19 @@ class In {
|
|
4165
4165
|
* @returns a JSON-serializable representation of this object.
|
4166
4166
|
*/
|
4167
4167
|
toJSON() {
|
4168
|
-
return
|
4168
|
+
return b("not implemented");
|
4169
4169
|
}
|
4170
4170
|
/** @internal */
|
4171
4171
|
_getIdTokenResponse(e) {
|
4172
|
-
return
|
4172
|
+
return b("not implemented");
|
4173
4173
|
}
|
4174
4174
|
/** @internal */
|
4175
4175
|
_linkToIdToken(e, t) {
|
4176
|
-
return
|
4176
|
+
return b("not implemented");
|
4177
4177
|
}
|
4178
4178
|
/** @internal */
|
4179
4179
|
_getReauthenticationResolver(e) {
|
4180
|
-
return
|
4180
|
+
return b("not implemented");
|
4181
4181
|
}
|
4182
4182
|
}
|
4183
4183
|
/**
|
@@ -4196,7 +4196,7 @@ class In {
|
|
4196
4196
|
* See the License for the specific language governing permissions and
|
4197
4197
|
* limitations under the License.
|
4198
4198
|
*/
|
4199
|
-
async function
|
4199
|
+
async function j(n, e) {
|
4200
4200
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4201
4201
|
}
|
4202
4202
|
/**
|
@@ -4216,14 +4216,14 @@ async function V(n, e) {
|
|
4216
4216
|
* limitations under the License.
|
4217
4217
|
*/
|
4218
4218
|
const _s = "http://localhost";
|
4219
|
-
class U extends
|
4219
|
+
class U extends bn {
|
4220
4220
|
constructor() {
|
4221
4221
|
super(...arguments), this.pendingToken = null;
|
4222
4222
|
}
|
4223
4223
|
/** @internal */
|
4224
4224
|
static _fromParams(e) {
|
4225
4225
|
const t = new U(e.providerId, e.signInMethod);
|
4226
|
-
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) :
|
4226
|
+
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) : T(
|
4227
4227
|
"argument-error"
|
4228
4228
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
4229
4229
|
), t;
|
@@ -4250,7 +4250,7 @@ class U extends In {
|
|
4250
4250
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4251
4251
|
*/
|
4252
4252
|
static fromJSON(e) {
|
4253
|
-
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 = $e(t, ["providerId", "signInMethod"]);
|
4254
4254
|
if (!r || !i)
|
4255
4255
|
return null;
|
4256
4256
|
const a = new U(r, i);
|
@@ -4259,17 +4259,17 @@ class U extends In {
|
|
4259
4259
|
/** @internal */
|
4260
4260
|
_getIdTokenResponse(e) {
|
4261
4261
|
const t = this.buildRequest();
|
4262
|
-
return
|
4262
|
+
return j(e, t);
|
4263
4263
|
}
|
4264
4264
|
/** @internal */
|
4265
4265
|
_linkToIdToken(e, t) {
|
4266
4266
|
const r = this.buildRequest();
|
4267
|
-
return r.idToken = t,
|
4267
|
+
return r.idToken = t, j(e, r);
|
4268
4268
|
}
|
4269
4269
|
/** @internal */
|
4270
4270
|
_getReauthenticationResolver(e) {
|
4271
4271
|
const t = this.buildRequest();
|
4272
|
-
return t.autoCreate = !1,
|
4272
|
+
return t.autoCreate = !1, j(e, t);
|
4273
4273
|
}
|
4274
4274
|
buildRequest() {
|
4275
4275
|
const e = {
|
@@ -4600,7 +4600,7 @@ O.PROVIDER_ID = "github.com";
|
|
4600
4600
|
* See the License for the specific language governing permissions and
|
4601
4601
|
* limitations under the License.
|
4602
4602
|
*/
|
4603
|
-
class
|
4603
|
+
class N extends ne {
|
4604
4604
|
constructor() {
|
4605
4605
|
super(
|
4606
4606
|
"twitter.com"
|
@@ -4615,8 +4615,8 @@ class C extends ne {
|
|
4615
4615
|
*/
|
4616
4616
|
static credential(e, t) {
|
4617
4617
|
return U._fromParams({
|
4618
|
-
providerId:
|
4619
|
-
signInMethod:
|
4618
|
+
providerId: N.PROVIDER_ID,
|
4619
|
+
signInMethod: N.TWITTER_SIGN_IN_METHOD,
|
4620
4620
|
oauthToken: e,
|
4621
4621
|
oauthTokenSecret: t
|
4622
4622
|
});
|
@@ -4627,7 +4627,7 @@ class C extends ne {
|
|
4627
4627
|
* @param userCredential - The user credential.
|
4628
4628
|
*/
|
4629
4629
|
static credentialFromResult(e) {
|
4630
|
-
return
|
4630
|
+
return N.credentialFromTaggedObject(e);
|
4631
4631
|
}
|
4632
4632
|
/**
|
4633
4633
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4636,7 +4636,7 @@ class C extends ne {
|
|
4636
4636
|
* @param userCredential - The user credential.
|
4637
4637
|
*/
|
4638
4638
|
static credentialFromError(e) {
|
4639
|
-
return
|
4639
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4640
4640
|
}
|
4641
4641
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4642
4642
|
if (!e)
|
@@ -4645,14 +4645,14 @@ class C extends ne {
|
|
4645
4645
|
if (!t || !r)
|
4646
4646
|
return null;
|
4647
4647
|
try {
|
4648
|
-
return
|
4648
|
+
return N.credential(t, r);
|
4649
4649
|
} catch {
|
4650
4650
|
return null;
|
4651
4651
|
}
|
4652
4652
|
}
|
4653
4653
|
}
|
4654
|
-
|
4655
|
-
|
4654
|
+
N.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4655
|
+
N.PROVIDER_ID = "twitter.com";
|
4656
4656
|
/**
|
4657
4657
|
* @license
|
4658
4658
|
* Copyright 2020 Google LLC
|
@@ -4674,7 +4674,7 @@ class B {
|
|
4674
4674
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4675
4675
|
}
|
4676
4676
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4677
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4677
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
|
4678
4678
|
return new B({
|
4679
4679
|
user: s,
|
4680
4680
|
providerId: a,
|
@@ -4688,7 +4688,7 @@ class B {
|
|
4688
4688
|
/* reload */
|
4689
4689
|
!0
|
4690
4690
|
);
|
4691
|
-
const i =
|
4691
|
+
const i = kt(r);
|
4692
4692
|
return new B({
|
4693
4693
|
user: e,
|
4694
4694
|
providerId: i,
|
@@ -4697,7 +4697,7 @@ class B {
|
|
4697
4697
|
});
|
4698
4698
|
}
|
4699
4699
|
}
|
4700
|
-
function
|
4700
|
+
function kt(n) {
|
4701
4701
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4702
4702
|
}
|
4703
4703
|
/**
|
@@ -4757,7 +4757,7 @@ async function gs(n, e, t = !1) {
|
|
4757
4757
|
*/
|
4758
4758
|
async function vs(n, e, t = !1) {
|
4759
4759
|
const { auth: r } = n;
|
4760
|
-
if (
|
4760
|
+
if (I(r.app))
|
4761
4761
|
return Promise.reject(P(r));
|
4762
4762
|
const i = "reauthenticate";
|
4763
4763
|
try {
|
@@ -4783,7 +4783,7 @@ async function vs(n, e, t = !1) {
|
|
4783
4783
|
/* AuthErrorCode.USER_MISMATCH */
|
4784
4784
|
), B._forOperation(n, i, s);
|
4785
4785
|
} catch (s) {
|
4786
|
-
throw (s == null ? void 0 : s.code) === "auth/user-not-found" &&
|
4786
|
+
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && T(
|
4787
4787
|
r,
|
4788
4788
|
"user-mismatch"
|
4789
4789
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4806,8 +4806,8 @@ async function vs(n, e, t = !1) {
|
|
4806
4806
|
* See the License for the specific language governing permissions and
|
4807
4807
|
* limitations under the License.
|
4808
4808
|
*/
|
4809
|
-
async function
|
4810
|
-
if (
|
4809
|
+
async function Is(n, e, t = !1) {
|
4810
|
+
if (I(n.app))
|
4811
4811
|
return Promise.reject(P(n));
|
4812
4812
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4813
4813
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4828,7 +4828,7 @@ async function bs(n, e, t = !1) {
|
|
4828
4828
|
* See the License for the specific language governing permissions and
|
4829
4829
|
* limitations under the License.
|
4830
4830
|
*/
|
4831
|
-
async function
|
4831
|
+
async function bs(n, e) {
|
4832
4832
|
return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
|
4833
4833
|
}
|
4834
4834
|
/**
|
@@ -4848,9 +4848,9 @@ async function Is(n, e) {
|
|
4848
4848
|
* limitations under the License.
|
4849
4849
|
*/
|
4850
4850
|
async function ys(n, e) {
|
4851
|
-
if (
|
4851
|
+
if (I(n.app))
|
4852
4852
|
return Promise.reject(P(n));
|
4853
|
-
const t =
|
4853
|
+
const t = Ie(n), r = await bs(t, {
|
4854
4854
|
token: e,
|
4855
4855
|
returnSecureToken: !0
|
4856
4856
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4859,7 +4859,7 @@ async function ys(n, e) {
|
|
4859
4859
|
function Es(n, e, t, r) {
|
4860
4860
|
return z(n).onIdTokenChanged(e, t, r);
|
4861
4861
|
}
|
4862
|
-
function
|
4862
|
+
function ws(n, e, t) {
|
4863
4863
|
return z(n).beforeAuthStateChanged(e, t);
|
4864
4864
|
}
|
4865
4865
|
const _e = "__sak";
|
@@ -4879,7 +4879,7 @@ const _e = "__sak";
|
|
4879
4879
|
* See the License for the specific language governing permissions and
|
4880
4880
|
* limitations under the License.
|
4881
4881
|
*/
|
4882
|
-
class
|
4882
|
+
class wn {
|
4883
4883
|
constructor(e, t) {
|
4884
4884
|
this.storageRetriever = e, this.type = t;
|
4885
4885
|
}
|
@@ -4920,8 +4920,8 @@ class Tn {
|
|
4920
4920
|
* See the License for the specific language governing permissions and
|
4921
4921
|
* limitations under the License.
|
4922
4922
|
*/
|
4923
|
-
const
|
4924
|
-
class
|
4923
|
+
const Ts = 1e3, ks = 10;
|
4924
|
+
class Tn extends wn {
|
4925
4925
|
constructor() {
|
4926
4926
|
super(
|
4927
4927
|
() => window.localStorage,
|
@@ -4948,7 +4948,7 @@ class wn extends Tn {
|
|
4948
4948
|
const a = this.storage.getItem(r);
|
4949
4949
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4950
4950
|
}, s = this.storage.getItem(r);
|
4951
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4951
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ks) : i();
|
4952
4952
|
}
|
4953
4953
|
notifyListeners(e, t) {
|
4954
4954
|
this.localCache[e] = t;
|
@@ -4970,7 +4970,7 @@ class wn extends Tn {
|
|
4970
4970
|
!0
|
4971
4971
|
);
|
4972
4972
|
});
|
4973
|
-
},
|
4973
|
+
}, Ts);
|
4974
4974
|
}
|
4975
4975
|
stopPolling() {
|
4976
4976
|
this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
|
@@ -4999,8 +4999,8 @@ class wn extends Tn {
|
|
4999
4999
|
await super._remove(e), delete this.localCache[e];
|
5000
5000
|
}
|
5001
5001
|
}
|
5002
|
-
|
5003
|
-
const
|
5002
|
+
Tn.type = "LOCAL";
|
5003
|
+
const Rs = Tn;
|
5004
5004
|
/**
|
5005
5005
|
* @license
|
5006
5006
|
* Copyright 2020 Google LLC
|
@@ -5017,7 +5017,7 @@ const ks = wn;
|
|
5017
5017
|
* See the License for the specific language governing permissions and
|
5018
5018
|
* limitations under the License.
|
5019
5019
|
*/
|
5020
|
-
class
|
5020
|
+
class kn extends wn {
|
5021
5021
|
constructor() {
|
5022
5022
|
super(
|
5023
5023
|
() => window.sessionStorage,
|
@@ -5030,8 +5030,8 @@ class Rn extends Tn {
|
|
5030
5030
|
_removeListener(e, t) {
|
5031
5031
|
}
|
5032
5032
|
}
|
5033
|
-
|
5034
|
-
const
|
5033
|
+
kn.type = "SESSION";
|
5034
|
+
const Rn = kn;
|
5035
5035
|
/**
|
5036
5036
|
* @license
|
5037
5037
|
* Copyright 2019 Google LLC
|
@@ -5079,7 +5079,7 @@ function Ss(n) {
|
|
5079
5079
|
* See the License for the specific language governing permissions and
|
5080
5080
|
* limitations under the License.
|
5081
5081
|
*/
|
5082
|
-
class
|
5082
|
+
class be {
|
5083
5083
|
constructor(e) {
|
5084
5084
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
5085
5085
|
}
|
@@ -5093,7 +5093,7 @@ class Ie {
|
|
5093
5093
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
5094
5094
|
if (t)
|
5095
5095
|
return t;
|
5096
|
-
const r = new
|
5096
|
+
const r = new be(e);
|
5097
5097
|
return this.receivers.push(r), r;
|
5098
5098
|
}
|
5099
5099
|
isListeningto(e) {
|
@@ -5147,7 +5147,7 @@ class Ie {
|
|
5147
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);
|
5148
5148
|
}
|
5149
5149
|
}
|
5150
|
-
|
5150
|
+
be.receivers = [];
|
5151
5151
|
/**
|
5152
5152
|
* @license
|
5153
5153
|
* Copyright 2020 Google LLC
|
@@ -5308,7 +5308,7 @@ function Os(n) {
|
|
5308
5308
|
function Sn() {
|
5309
5309
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5310
5310
|
}
|
5311
|
-
async function
|
5311
|
+
async function Ns() {
|
5312
5312
|
if (!(navigator != null && navigator.serviceWorker))
|
5313
5313
|
return null;
|
5314
5314
|
try {
|
@@ -5317,7 +5317,7 @@ async function Cs() {
|
|
5317
5317
|
return null;
|
5318
5318
|
}
|
5319
5319
|
}
|
5320
|
-
function
|
5320
|
+
function Cs() {
|
5321
5321
|
var n;
|
5322
5322
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5323
5323
|
}
|
@@ -5362,7 +5362,7 @@ function Ms() {
|
|
5362
5362
|
const n = indexedDB.deleteDatabase(An);
|
5363
5363
|
return new re(n).toPromise();
|
5364
5364
|
}
|
5365
|
-
function
|
5365
|
+
function Ve() {
|
5366
5366
|
const n = indexedDB.open(An, Ps);
|
5367
5367
|
return new Promise((e, t) => {
|
5368
5368
|
n.addEventListener("error", () => {
|
@@ -5376,11 +5376,11 @@ function Ge() {
|
|
5376
5376
|
}
|
5377
5377
|
}), n.addEventListener("success", async () => {
|
5378
5378
|
const r = n.result;
|
5379
|
-
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 Ve()));
|
5380
5380
|
});
|
5381
5381
|
});
|
5382
5382
|
}
|
5383
|
-
async function
|
5383
|
+
async function Rt(n, e, t) {
|
5384
5384
|
const r = ye(n, !0).put({
|
5385
5385
|
[On]: e,
|
5386
5386
|
value: t
|
@@ -5396,14 +5396,14 @@ function St(n, e) {
|
|
5396
5396
|
return new re(t).toPromise();
|
5397
5397
|
}
|
5398
5398
|
const Us = 800, Bs = 3;
|
5399
|
-
class
|
5399
|
+
class Nn {
|
5400
5400
|
constructor() {
|
5401
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(() => {
|
5402
5402
|
}, () => {
|
5403
5403
|
});
|
5404
5404
|
}
|
5405
5405
|
async _openDb() {
|
5406
|
-
return this.db ? this.db : (this.db = await
|
5406
|
+
return this.db ? this.db : (this.db = await Ve(), this.db);
|
5407
5407
|
}
|
5408
5408
|
async _withRetries(e) {
|
5409
5409
|
let t = 0;
|
@@ -5428,7 +5428,7 @@ class Cn {
|
|
5428
5428
|
* As the worker we should listen to events from the main window.
|
5429
5429
|
*/
|
5430
5430
|
async initializeReceiver() {
|
5431
|
-
this.receiver =
|
5431
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5432
5432
|
keyProcessed: (await this._poll()).includes(t.key)
|
5433
5433
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5434
5434
|
"keyChanged"
|
@@ -5444,7 +5444,7 @@ class Cn {
|
|
5444
5444
|
*/
|
5445
5445
|
async initializeSender() {
|
5446
5446
|
var e, t;
|
5447
|
-
if (this.activeServiceWorker = await
|
5447
|
+
if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
|
5448
5448
|
return;
|
5449
5449
|
this.sender = new As(this.activeServiceWorker);
|
5450
5450
|
const r = await this.sender._send(
|
@@ -5468,7 +5468,7 @@ class Cn {
|
|
5468
5468
|
* @param key - Storage key which changed.
|
5469
5469
|
*/
|
5470
5470
|
async notifyServiceWorker(e) {
|
5471
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5471
|
+
if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
|
5472
5472
|
try {
|
5473
5473
|
await this.sender._send(
|
5474
5474
|
"keyChanged",
|
@@ -5484,8 +5484,8 @@ class Cn {
|
|
5484
5484
|
try {
|
5485
5485
|
if (!indexedDB)
|
5486
5486
|
return !1;
|
5487
|
-
const e = await
|
5488
|
-
return await
|
5487
|
+
const e = await Ve();
|
5488
|
+
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5489
5489
|
} catch {
|
5490
5490
|
}
|
5491
5491
|
return !1;
|
@@ -5499,7 +5499,7 @@ class Cn {
|
|
5499
5499
|
}
|
5500
5500
|
}
|
5501
5501
|
async _set(e, t) {
|
5502
|
-
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)));
|
5503
5503
|
}
|
5504
5504
|
async _get(e) {
|
5505
5505
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5545,8 +5545,8 @@ class Cn {
|
|
5545
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();
|
5546
5546
|
}
|
5547
5547
|
}
|
5548
|
-
|
5549
|
-
const Fs =
|
5548
|
+
Nn.type = "LOCAL";
|
5549
|
+
const Fs = Nn;
|
5550
5550
|
new te(3e4, 6e4);
|
5551
5551
|
/**
|
5552
5552
|
* @license
|
@@ -5588,7 +5588,7 @@ function xs(n, e) {
|
|
5588
5588
|
* See the License for the specific language governing permissions and
|
5589
5589
|
* limitations under the License.
|
5590
5590
|
*/
|
5591
|
-
class et extends
|
5591
|
+
class et extends bn {
|
5592
5592
|
constructor(e) {
|
5593
5593
|
super(
|
5594
5594
|
"custom",
|
@@ -5597,13 +5597,13 @@ class et extends In {
|
|
5597
5597
|
), this.params = e;
|
5598
5598
|
}
|
5599
5599
|
_getIdTokenResponse(e) {
|
5600
|
-
return
|
5600
|
+
return j(e, this._buildIdpRequest());
|
5601
5601
|
}
|
5602
5602
|
_linkToIdToken(e, t) {
|
5603
|
-
return
|
5603
|
+
return j(e, this._buildIdpRequest(t));
|
5604
5604
|
}
|
5605
5605
|
_getReauthenticationResolver(e) {
|
5606
|
-
return
|
5606
|
+
return j(e, this._buildIdpRequest());
|
5607
5607
|
}
|
5608
5608
|
_buildIdpRequest(e) {
|
5609
5609
|
const t = {
|
@@ -5618,10 +5618,10 @@ class et extends In {
|
|
5618
5618
|
return e && (t.idToken = e), t;
|
5619
5619
|
}
|
5620
5620
|
}
|
5621
|
-
function js(n) {
|
5622
|
-
return bs(n.auth, new et(n), n.bypassAuthState);
|
5623
|
-
}
|
5624
5621
|
function Hs(n) {
|
5622
|
+
return Is(n.auth, new et(n), n.bypassAuthState);
|
5623
|
+
}
|
5624
|
+
function Gs(n) {
|
5625
5625
|
const { auth: e, user: t } = n;
|
5626
5626
|
return u(
|
5627
5627
|
t,
|
@@ -5630,7 +5630,7 @@ function Hs(n) {
|
|
5630
5630
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5631
5631
|
), vs(t, new et(n), n.bypassAuthState);
|
5632
5632
|
}
|
5633
|
-
async function
|
5633
|
+
async function Vs(n) {
|
5634
5634
|
const { auth: e, user: t } = n;
|
5635
5635
|
return u(
|
5636
5636
|
t,
|
@@ -5655,7 +5655,7 @@ async function Gs(n) {
|
|
5655
5655
|
* See the License for the specific language governing permissions and
|
5656
5656
|
* limitations under the License.
|
5657
5657
|
*/
|
5658
|
-
class
|
5658
|
+
class Cn {
|
5659
5659
|
constructor(e, t, r, i, s = !1) {
|
5660
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];
|
5661
5661
|
}
|
@@ -5697,15 +5697,15 @@ class Nn {
|
|
5697
5697
|
switch (e) {
|
5698
5698
|
case "signInViaPopup":
|
5699
5699
|
case "signInViaRedirect":
|
5700
|
-
return
|
5700
|
+
return Hs;
|
5701
5701
|
case "linkViaPopup":
|
5702
5702
|
case "linkViaRedirect":
|
5703
|
-
return
|
5703
|
+
return Vs;
|
5704
5704
|
case "reauthViaPopup":
|
5705
5705
|
case "reauthViaRedirect":
|
5706
|
-
return
|
5706
|
+
return Gs;
|
5707
5707
|
default:
|
5708
|
-
|
5708
|
+
T(
|
5709
5709
|
this.auth,
|
5710
5710
|
"internal-error"
|
5711
5711
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -5713,10 +5713,10 @@ class Nn {
|
|
5713
5713
|
}
|
5714
5714
|
}
|
5715
5715
|
resolve(e) {
|
5716
|
-
|
5716
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5717
5717
|
}
|
5718
5718
|
reject(e) {
|
5719
|
-
|
5719
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5720
5720
|
}
|
5721
5721
|
unregisterAndCleanUp() {
|
5722
5722
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5738,8 +5738,8 @@ class Nn {
|
|
5738
5738
|
* See the License for the specific language governing permissions and
|
5739
5739
|
* limitations under the License.
|
5740
5740
|
*/
|
5741
|
-
const
|
5742
|
-
class x extends
|
5741
|
+
const js = new te(2e3, 1e4);
|
5742
|
+
class x extends Cn {
|
5743
5743
|
constructor(e, t, r, i, s) {
|
5744
5744
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5745
5745
|
}
|
@@ -5753,7 +5753,7 @@ class x extends Nn {
|
|
5753
5753
|
), e;
|
5754
5754
|
}
|
5755
5755
|
async onExecution() {
|
5756
|
-
|
5756
|
+
k(this.filter.length === 1, "Popup operations only handle one event");
|
5757
5757
|
const e = Qe();
|
5758
5758
|
this.authWindow = await this.resolver._openPopup(
|
5759
5759
|
this.auth,
|
@@ -5802,7 +5802,7 @@ class x extends Nn {
|
|
5802
5802
|
);
|
5803
5803
|
return;
|
5804
5804
|
}
|
5805
|
-
this.pollId = window.setTimeout(e,
|
5805
|
+
this.pollId = window.setTimeout(e, js.get());
|
5806
5806
|
};
|
5807
5807
|
e();
|
5808
5808
|
}
|
@@ -5825,7 +5825,7 @@ x.currentPopupAction = null;
|
|
5825
5825
|
* limitations under the License.
|
5826
5826
|
*/
|
5827
5827
|
const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5828
|
-
class zs extends
|
5828
|
+
class zs extends Cn {
|
5829
5829
|
constructor(e, t, r = !1) {
|
5830
5830
|
super(e, [
|
5831
5831
|
"signInViaRedirect",
|
@@ -5843,7 +5843,7 @@ class zs extends Nn {
|
|
5843
5843
|
let e = oe.get(this.auth._key());
|
5844
5844
|
if (!e) {
|
5845
5845
|
try {
|
5846
|
-
const r = await
|
5846
|
+
const r = await Zs(this.resolver, this.auth) ? await super.execute() : null;
|
5847
5847
|
e = () => Promise.resolve(r);
|
5848
5848
|
} catch (t) {
|
5849
5849
|
e = () => Promise.reject(t);
|
@@ -5871,14 +5871,14 @@ class zs extends Nn {
|
|
5871
5871
|
cleanUp() {
|
5872
5872
|
}
|
5873
5873
|
}
|
5874
|
-
async function
|
5874
|
+
async function Zs(n, e) {
|
5875
5875
|
const t = Ys(e), r = Js(n);
|
5876
5876
|
if (!await r._isAvailable())
|
5877
5877
|
return !1;
|
5878
5878
|
const i = await r._get(t) === "true";
|
5879
5879
|
return await r._remove(t), i;
|
5880
5880
|
}
|
5881
|
-
function
|
5881
|
+
function $s(n, e) {
|
5882
5882
|
oe.set(n._key(), e);
|
5883
5883
|
}
|
5884
5884
|
function Js(n) {
|
@@ -5888,9 +5888,9 @@ function Ys(n) {
|
|
5888
5888
|
return ae(Ws, n.config.apiKey, n.name);
|
5889
5889
|
}
|
5890
5890
|
async function Xs(n, e, t = !1) {
|
5891
|
-
if (
|
5891
|
+
if (I(n.app))
|
5892
5892
|
return Promise.reject(P(n));
|
5893
|
-
const r =
|
5893
|
+
const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
|
5894
5894
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5895
5895
|
}
|
5896
5896
|
/**
|
@@ -5982,7 +5982,7 @@ function Qs(n) {
|
|
5982
5982
|
* limitations under the License.
|
5983
5983
|
*/
|
5984
5984
|
async function ea(n, e = {}) {
|
5985
|
-
return
|
5985
|
+
return Z(n, "GET", "/v1/projects", e);
|
5986
5986
|
}
|
5987
5987
|
/**
|
5988
5988
|
* @license
|
@@ -6011,14 +6011,14 @@ async function ra(n) {
|
|
6011
6011
|
return;
|
6012
6012
|
} catch {
|
6013
6013
|
}
|
6014
|
-
|
6014
|
+
T(
|
6015
6015
|
n,
|
6016
6016
|
"unauthorized-domain"
|
6017
6017
|
/* AuthErrorCode.INVALID_ORIGIN */
|
6018
6018
|
);
|
6019
6019
|
}
|
6020
6020
|
function ia(n) {
|
6021
|
-
const e =
|
6021
|
+
const e = He(), { protocol: t, hostname: r } = new URL(e);
|
6022
6022
|
if (n.startsWith("chrome-extension://")) {
|
6023
6023
|
const a = new URL(n);
|
6024
6024
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6198,8 +6198,8 @@ const ma = {
|
|
6198
6198
|
resizable: "yes",
|
6199
6199
|
statusbar: "yes",
|
6200
6200
|
toolbar: "no"
|
6201
|
-
}, _a = 500, ga = 600, va = "_blank",
|
6202
|
-
class
|
6201
|
+
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6202
|
+
class Nt {
|
6203
6203
|
constructor(e) {
|
6204
6204
|
this.window = e, this.associatedEvent = null;
|
6205
6205
|
}
|
@@ -6211,7 +6211,7 @@ class Ct {
|
|
6211
6211
|
}
|
6212
6212
|
}
|
6213
6213
|
}
|
6214
|
-
function
|
6214
|
+
function ba(n, e, t, r = _a, i = ga) {
|
6215
6215
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6216
6216
|
let c = "";
|
6217
6217
|
const o = Object.assign(Object.assign({}, ma), {
|
@@ -6220,10 +6220,10 @@ function Ia(n, e, t, r = _a, i = ga) {
|
|
6220
6220
|
top: s,
|
6221
6221
|
left: a
|
6222
6222
|
}), l = m().toLowerCase();
|
6223
|
-
t && (c = hn(l) ? va : t), dn(l) && (e = e ||
|
6223
|
+
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6224
6224
|
const d = Object.entries(o).reduce((f, [v, F]) => `${f}${v}=${F},`, "");
|
6225
6225
|
if (es(l) && c !== "_self")
|
6226
|
-
return ya(e || "", c), new
|
6226
|
+
return ya(e || "", c), new Nt(null);
|
6227
6227
|
const h = window.open(e || "", c, d);
|
6228
6228
|
u(
|
6229
6229
|
h,
|
@@ -6235,7 +6235,7 @@ function Ia(n, e, t, r = _a, i = ga) {
|
|
6235
6235
|
h.focus();
|
6236
6236
|
} catch {
|
6237
6237
|
}
|
6238
|
-
return new
|
6238
|
+
return new Nt(h);
|
6239
6239
|
}
|
6240
6240
|
function ya(n, e) {
|
6241
6241
|
const t = document.createElement("a");
|
@@ -6259,8 +6259,8 @@ function ya(n, e) {
|
|
6259
6259
|
* See the License for the specific language governing permissions and
|
6260
6260
|
* limitations under the License.
|
6261
6261
|
*/
|
6262
|
-
const Ea = "__/auth/handler",
|
6263
|
-
async function
|
6262
|
+
const Ea = "__/auth/handler", wa = "emulator/auth/handler", Ta = encodeURIComponent("fac");
|
6263
|
+
async function Ct(n, e, t, r, i, s) {
|
6264
6264
|
u(
|
6265
6265
|
n.config.authDomain,
|
6266
6266
|
n,
|
@@ -6281,7 +6281,7 @@ async function Nt(n, e, t, r, i, s) {
|
|
6281
6281
|
eventId: i
|
6282
6282
|
};
|
6283
6283
|
if (e instanceof yn) {
|
6284
|
-
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "",
|
6284
|
+
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", Tr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
6285
6285
|
for (const [d, h] of Object.entries({}))
|
6286
6286
|
a[d] = h;
|
6287
6287
|
}
|
@@ -6293,11 +6293,11 @@ async function Nt(n, e, t, r, i, s) {
|
|
6293
6293
|
const c = a;
|
6294
6294
|
for (const d of Object.keys(c))
|
6295
6295
|
c[d] === void 0 && delete c[d];
|
6296
|
-
const o = await n._getAppCheckToken(), l = o ? `#${
|
6297
|
-
return `${
|
6296
|
+
const o = await n._getAppCheckToken(), l = o ? `#${Ta}=${encodeURIComponent(o)}` : "";
|
6297
|
+
return `${ka(n)}?${Q(c).slice(1)}${l}`;
|
6298
6298
|
}
|
6299
|
-
function
|
6300
|
-
return n.emulator ? Ye(n,
|
6299
|
+
function ka({ config: n }) {
|
6300
|
+
return n.emulator ? Ye(n, wa) : `https://${n.authDomain}/${Ea}`;
|
6301
6301
|
}
|
6302
6302
|
/**
|
6303
6303
|
* @license
|
@@ -6316,21 +6316,21 @@ function Ra({ config: n }) {
|
|
6316
6316
|
* limitations under the License.
|
6317
6317
|
*/
|
6318
6318
|
const De = "webStorageSupport";
|
6319
|
-
class
|
6319
|
+
class Ra {
|
6320
6320
|
constructor() {
|
6321
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Xs, this._overrideRedirectResult = $s;
|
6322
6322
|
}
|
6323
6323
|
// Wrapping in async even though we don't await anywhere in order
|
6324
6324
|
// to make sure errors are raised as promise rejections
|
6325
6325
|
async _openPopup(e, t, r, i) {
|
6326
6326
|
var s;
|
6327
|
-
|
6328
|
-
const a = await
|
6329
|
-
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 Ct(e, t, r, He(), i);
|
6329
|
+
return ba(e, a, Qe());
|
6330
6330
|
}
|
6331
6331
|
async _openRedirect(e, t, r, i) {
|
6332
6332
|
await this._originValidation(e);
|
6333
|
-
const s = await
|
6333
|
+
const s = await Ct(e, t, r, He(), i);
|
6334
6334
|
return Os(s), new Promise(() => {
|
6335
6335
|
});
|
6336
6336
|
}
|
@@ -6338,7 +6338,7 @@ class ka {
|
|
6338
6338
|
const t = e._key();
|
6339
6339
|
if (this.eventManagers[t]) {
|
6340
6340
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6341
|
-
return i ? Promise.resolve(i) : (
|
6341
|
+
return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
|
6342
6342
|
}
|
6343
6343
|
const r = this.initAndGetManager(e);
|
6344
6344
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6361,7 +6361,7 @@ class ka {
|
|
6361
6361
|
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6362
6362
|
var s;
|
6363
6363
|
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6364
|
-
a !== void 0 && t(!!a),
|
6364
|
+
a !== void 0 && t(!!a), T(
|
6365
6365
|
e,
|
6366
6366
|
"internal-error"
|
6367
6367
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6376,7 +6376,7 @@ class ka {
|
|
6376
6376
|
return gn() || un() || Ke();
|
6377
6377
|
}
|
6378
6378
|
}
|
6379
|
-
const Sa =
|
6379
|
+
const Sa = Ra;
|
6380
6380
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6381
6381
|
/**
|
6382
6382
|
* @license
|
@@ -6461,7 +6461,7 @@ function Oa(n) {
|
|
6461
6461
|
return;
|
6462
6462
|
}
|
6463
6463
|
}
|
6464
|
-
function
|
6464
|
+
function Na(n) {
|
6465
6465
|
Y(new W(
|
6466
6466
|
"auth",
|
6467
6467
|
(e, { options: t }) => {
|
@@ -6491,7 +6491,7 @@ function Ca(n) {
|
|
6491
6491
|
})), Y(new W(
|
6492
6492
|
"auth-internal",
|
6493
6493
|
(e) => {
|
6494
|
-
const t =
|
6494
|
+
const t = Ie(e.getProvider(
|
6495
6495
|
"auth"
|
6496
6496
|
/* _ComponentName.AUTH */
|
6497
6497
|
).getImmediate());
|
@@ -6502,7 +6502,7 @@ function Ca(n) {
|
|
6502
6502
|
).setInstantiationMode(
|
6503
6503
|
"EXPLICIT"
|
6504
6504
|
/* InstantiationMode.EXPLICIT */
|
6505
|
-
)),
|
6505
|
+
)), H(Dt, Pt, Oa(n)), H(Dt, Pt, "esm2017");
|
6506
6506
|
}
|
6507
6507
|
/**
|
6508
6508
|
* @license
|
@@ -6520,7 +6520,7 @@ function Ca(n) {
|
|
6520
6520
|
* See the License for the specific language governing permissions and
|
6521
6521
|
* limitations under the License.
|
6522
6522
|
*/
|
6523
|
-
const
|
6523
|
+
const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
|
6524
6524
|
let Mt = null;
|
6525
6525
|
const Pa = (n) => async (e) => {
|
6526
6526
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
@@ -6534,7 +6534,7 @@ const Pa = (n) => async (e) => {
|
|
6534
6534
|
} : {}
|
6535
6535
|
}));
|
6536
6536
|
};
|
6537
|
-
function Ma(n =
|
6537
|
+
function Ma(n = Ri()) {
|
6538
6538
|
const e = Yt(n, "auth");
|
6539
6539
|
if (e.isInitialized())
|
6540
6540
|
return e.getImmediate();
|
@@ -6542,18 +6542,18 @@ function Ma(n = ki()) {
|
|
6542
6542
|
popupRedirectResolver: Sa,
|
6543
6543
|
persistence: [
|
6544
6544
|
Fs,
|
6545
|
-
|
6546
|
-
|
6545
|
+
Rs,
|
6546
|
+
Rn
|
6547
6547
|
]
|
6548
6548
|
}), r = zt("authTokenSyncURL");
|
6549
6549
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
6550
6550
|
const s = new URL(r, location.origin);
|
6551
6551
|
if (location.origin === s.origin) {
|
6552
6552
|
const a = Pa(s.toString());
|
6553
|
-
|
6553
|
+
ws(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6554
6554
|
}
|
6555
6555
|
}
|
6556
|
-
const i =
|
6556
|
+
const i = jt("auth");
|
6557
6557
|
return i && ps(t, `http://${i}`), t;
|
6558
6558
|
}
|
6559
6559
|
function La() {
|
@@ -6577,7 +6577,7 @@ os({
|
|
6577
6577
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6578
6578
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6579
6579
|
});
|
6580
|
-
|
6580
|
+
Na(
|
6581
6581
|
"Browser"
|
6582
6582
|
/* ClientPlatform.BROWSER */
|
6583
6583
|
);
|
@@ -6593,20 +6593,20 @@ Ua.beforeEach(async (n) => {
|
|
6593
6593
|
currentBusiness: r,
|
6594
6594
|
readRestaurants: i,
|
6595
6595
|
changeRestaurant: s
|
6596
|
-
} =
|
6596
|
+
} = je();
|
6597
6597
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6598
|
-
const c =
|
6598
|
+
const c = $(e, (o) => {
|
6599
6599
|
var l;
|
6600
6600
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6601
6601
|
});
|
6602
6602
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6603
6603
|
new Promise(async (a) => {
|
6604
|
-
const c =
|
6604
|
+
const c = $(r, (o) => {
|
6605
6605
|
o && (c(), a(!0));
|
6606
6606
|
});
|
6607
6607
|
}),
|
6608
6608
|
new Promise(async (a) => {
|
6609
|
-
const c =
|
6609
|
+
const c = $(t, (l) => {
|
6610
6610
|
l && (c(), a(!0));
|
6611
6611
|
}), o = await i();
|
6612
6612
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6616,8 +6616,8 @@ Ua.beforeEach(async (n) => {
|
|
6616
6616
|
const Ba = /* @__PURE__ */ Ut({
|
6617
6617
|
__name: "AppSidebar",
|
6618
6618
|
setup(n) {
|
6619
|
-
const e =
|
6620
|
-
|
6619
|
+
const e = je(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6620
|
+
$(t.currentRoute, () => {
|
6621
6621
|
let l = t.currentRoute.value.name;
|
6622
6622
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6623
6623
|
});
|
@@ -6633,7 +6633,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6633
6633
|
return t.push({ name: l.name });
|
6634
6634
|
}
|
6635
6635
|
};
|
6636
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6636
|
+
return l.meta.sidebarNew && (h.badge = () => Hn(Zn.FmPill, { label: "New" })), h;
|
6637
6637
|
}).filter((l) => !!l), a = le.map((l) => {
|
6638
6638
|
var d;
|
6639
6639
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6700,28 +6700,28 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6700
6700
|
}
|
6701
6701
|
});
|
6702
6702
|
var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6703
|
-
const
|
6703
|
+
const Za = /* @__PURE__ */ Ut({
|
6704
6704
|
__name: "App",
|
6705
6705
|
setup(n) {
|
6706
|
-
const { state: e } = sr(), t =
|
6706
|
+
const { state: e } = sr(), t = je(), r = Fn(), i = Xt(Fa.firebase);
|
6707
6707
|
async function s() {
|
6708
6708
|
const a = t.sessionUser.value;
|
6709
6709
|
if (!a || !a.token) return;
|
6710
6710
|
const c = await a.getCustomToken(), o = Ma(i);
|
6711
6711
|
await ys(o, c);
|
6712
6712
|
}
|
6713
|
-
return s(),
|
6713
|
+
return s(), $(t.sessionUser, s), Gn(() => {
|
6714
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6715
|
-
}),
|
6715
|
+
}), Vn(() => {
|
6716
6716
|
t.registerSidebarComponent(Ba);
|
6717
6717
|
}), (a, c) => {
|
6718
6718
|
const o = Bt("RouterView");
|
6719
6719
|
return Ft(), xt(o, {
|
6720
|
-
key:
|
6720
|
+
key: jn(r).path
|
6721
6721
|
});
|
6722
6722
|
};
|
6723
6723
|
}
|
6724
|
-
}),
|
6724
|
+
}), $a = {
|
6725
6725
|
"en-US": qn,
|
6726
6726
|
"zh-CN": ir
|
6727
6727
|
}, Ja = [...le, ...We];
|
@@ -6732,12 +6732,12 @@ export {
|
|
6732
6732
|
Y as _,
|
6733
6733
|
Yt as a,
|
6734
6734
|
Wa as b,
|
6735
|
-
|
6735
|
+
Ri as c,
|
6736
6736
|
za as d,
|
6737
6737
|
gt as e,
|
6738
6738
|
Ja as f,
|
6739
6739
|
z as g,
|
6740
|
-
|
6741
|
-
|
6742
|
-
|
6740
|
+
Za as h,
|
6741
|
+
$a as i,
|
6742
|
+
H as r
|
6743
6743
|
};
|