@feedmepos/mf-payment 1.1.8 → 1.1.9
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-C9TC-nLW.js → PayoutAccount-BuYnCwX0.js} +3 -3
- package/dist/{PayoutAccount-BAXvKwol.js → PayoutAccount-D-UAfJmx.js} +5 -5
- package/dist/{PayoutAccountSetting-CsY4Dr_E.js → PayoutAccountSetting-P3EEdPd8.js} +3 -3
- package/dist/{Restaurant-C9GmwxpU.js → Restaurant-DVfQgRDa.js} +4 -4
- package/dist/{RestaurantSetting-DaSalR0b.js → RestaurantSetting-v4X04iUd.js} +3 -3
- package/dist/{Settlement-C7oFzVbb.js → Settlement-B7E4lpuy.js} +3 -3
- package/dist/{Settlement-BvUs3MyQ.js → Settlement-BvOHdyd-.js} +3 -3
- package/dist/{SettlementTransactions-BRo_oigl.js → SettlementTransactions-C_QiVAAT.js} +3 -3
- package/dist/{SettlementTransactions-qSgW0VCV.js → SettlementTransactions-XWF6lcgO.js} +3 -3
- package/dist/{Terminal-DXGKrm3G.js → Terminal-uiqG_SS0.js} +5 -5
- package/dist/{TerminalSetting-bLxGkMlN.js → TerminalSetting-BZ13kPwS.js} +3 -3
- package/dist/{Transaction-BI2ZRsxe.js → Transaction-73ONBoa8.js} +5 -5
- package/dist/{Transaction-B7ICajHR.js → Transaction-Do-cIw77.js} +6 -6
- package/dist/{TransactionOld-GLsvtHyF.js → TransactionOld-CImEq3E_.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-UjV7RID1.js → TransactionTable.vue_vue_type_script_setup_true_lang-Ba83O4G-.js} +3 -3
- package/dist/{app-DVnyclnX.js → app-BboGv5bA.js} +255 -255
- package/dist/app.js +1 -1
- package/dist/{assets-BZmrImt4.js → assets-SBx-FS2c.js} +1 -1
- package/dist/grafana-DKPCmS74.js +62 -0
- package/dist/helpers/grafana.d.ts +2 -1
- package/dist/{index-DZMn5Qjp.js → index-BMI-n_D8.js} +1455 -1455
- package/dist/{index-BMF26WT4.js → index-CUXRAwm_.js} +1 -1
- package/dist/{index-gSE1T266.js → index-Cc3tk2uy.js} +1 -1
- package/dist/{index-C1Hgyi3j.js → index-DChD3CMr.js} +1 -1
- package/dist/{index-CD59SyVI.js → index-DNVOx0Qk.js} +1 -1
- package/dist/{index-a-Vqap7Z.js → index-DitA7AGz.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-FgXpWvbs.js → index.vue_vue_type_script_setup_true_lang-Bk00_8Zw.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-B76ODsn2.js → payout-account-DEWX726j.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/grafana-DRnPxAqM.js +0 -54
@@ -1,19 +1,19 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
2
|
+
import { computed as Lt, watch as J, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as Wn, onMounted as jn, onBeforeMount as Hn, unref as Vn } from "vue";
|
3
3
|
import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as $n } from "@feedmepos/ui-library";
|
6
|
-
const
|
6
|
+
const Jn = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
10
10
|
payout_account: "Payout Account"
|
11
|
-
},
|
11
|
+
}, Zn = {
|
12
12
|
payout_account: "Payout Account",
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
15
15
|
settlement: "Settlements"
|
16
|
-
},
|
16
|
+
}, Yn = {
|
17
17
|
title: "Settlements",
|
18
18
|
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
19
19
|
export: "Export",
|
@@ -72,7 +72,7 @@ const Zn = {
|
|
72
72
|
settlement_amount: "Settlement Amount"
|
73
73
|
}
|
74
74
|
}
|
75
|
-
},
|
75
|
+
}, Xn = {
|
76
76
|
title: "Transactions",
|
77
77
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
78
78
|
restaurant: "Restaurant",
|
@@ -145,10 +145,10 @@ const Zn = {
|
|
145
145
|
}
|
146
146
|
}
|
147
147
|
}, qn = {
|
148
|
-
components:
|
149
|
-
routes:
|
150
|
-
settlements:
|
151
|
-
transactions:
|
148
|
+
components: Jn,
|
149
|
+
routes: Zn,
|
150
|
+
settlements: Yn,
|
151
|
+
transactions: Xn,
|
152
152
|
payout_account: Kn
|
153
153
|
}, Qn = {
|
154
154
|
select: "选择筛选对象",
|
@@ -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-DVfQgRDa.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-v4X04iUd.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-D-UAfJmx.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-P3EEdPd8.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-uiqG_SS0.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-uiqG_SS0.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-uiqG_SS0.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-BZ13kPwS.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-BZ13kPwS.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-BZ13kPwS.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-73ONBoa8.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-B7E4lpuy.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-XWF6lcgO.js")
|
424
424
|
}
|
425
425
|
], Ge = [
|
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-BuYnCwX0.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-CImEq3E_.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-Do-cIw77.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-BvOHdyd-.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-C_QiVAAT.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_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ef66bd43-6031-4049-b7da-deccc18dc47d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_HXUZoJ3nOfUiA3dmI5Uk53jKsoTX0y1B1qT9", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "713", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250413.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "8:6104", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14561653446", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiN2U2YWZkMzktZmUwNi00NDZjLThkN2EtZjJlYmFmYWNlYjQxIiwic2lkIjoiNTlhY2U1NWYtZjAyMi00YmMyLWJmMGQtMmVhYTczMjYyYjNmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NTYxNjUzNDQ2XCIsXCJydW5fbnVtYmVyXCI6XCI0NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjc1N2UzN2M1Zjc5M2NkMGM3ZWZiZTA0ODA1NmZlNDU1YzczYTcxNjZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiIzYjdhY2FiNC01ZWQyLTQxOTgtYjIyNC00YjU2NTA4MDYzYWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUxNjg2MTIsImV4cCI6MTc0NTE5MTQxMn0.Yad_MeFF6jBMWcbbzEs2774A7Z-es0XwnQIk6HS3k3kOlxQZYCkns_e7VhvBg5x025JH60_kCl-_AAHS4OWMKz6pSq3qP988u0BYn96i96hsrx5JYRqKd7iweNO-fi0vd6NxSfZiXwTvKIRktE3o78BDab4CdMGTuZNCfffZrGiij8RuZ7myhLOWfc3wvYQohzMauAdLFKfaRSEcjMxmHVzZxoCOKuGpKhiyCwghVZJL_pOE2UwhkkWwmvkJJ0SJ06bm2lk0a6hkCtgpuGWxy8AyrwJh55wmLCOEMltvbPqaSUKySk6RJ8ouPzbPRBph0uORofID-5GjCLjntrCa8w", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745169264958-0.9209027651321111:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1745169264802-0.8105289167050185:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1745169264644-0.12257016185266867:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_3070b198-58ed-40fd-90ac-af0176c8ac5c", INVOCATION_ID: "536745adae6f47b78e87de0185e3e751", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "45", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 464", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.8", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ef66bd43-6031-4049-b7da-deccc18dc47d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/3b7acab4-5ed2-4198-b224-4b56508063ae/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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_3Wdq4skJt1Lz4mAMRO6ILXSn25T53Q0hwCx1", 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: "716", 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:6677", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14572125345", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "33a793f5b423d5b3dfa9f7739d97fec26b79bc2c", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YzExNjRkNGItNGRjZS00N2QyLWJmZDctOGYyY2EwZmY1MmI5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDg5IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YzExNjRkNGItNGRjZS00N2QyLWJmZDctOGYyY2EwZmY1MmI5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDg5IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiODM2Y2Y5ZTEtN2U1Ny00YjFiLTk5NTItZmYxNDdhYmUyY2Y1Iiwic2lkIjoiN2U4MDU2OGYtMWM3OS00NjY3LWEwOWItN2JhNTY5OGY4ZmM2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIzM2E3OTNmNWI0MjNkNWIzZGZhOWY3NzM5ZDk3ZmVjMjZiNzliYzJjXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NTcyMTI1MzQ1XCIsXCJydW5fbnVtYmVyXCI6XCI0NlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIzM2E3OTNmNWI0MjNkNWIzZGZhOWY3NzM5ZDk3ZmVjMjZiNzliYzJjXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjMzYTc5M2Y1YjQyM2Q1YjNkZmE5Zjc3MzlkOTdmZWMyNmI3OWJjMmNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJjMTE2NGQ0Yi00ZGNlLTQ3ZDItYmZkNy04ZjJjYTBmZjUyYjkuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUyMzE2NjgsImV4cCI6MTc0NTI1NDQ2OH0.s042rzazeKEXVm_zx7ReAj5i0dUUe9gwG5YGh1Dno6Tlld6rvJYzOTIb5LdtWjYi7mv_A0w_h_vycenmYuRH3eTsbum0A8f8SEa10pplzXCWf0a6j0e-jszIc7I0S1kDlSvVPi7znwJXWzisj7EutEOa3GUSjjOYVI7wG-E3MGo4Fc0FQlmYNITNS6M6e-ZwNX0ZdJDPxJ-2CxV87ZrRVcJI9lchJ_D2lAg4Iy3sRVMC9leROx2_uf0jEzCAh2WmPfQx7L5hVmNdwiaJSmR122Lafpvc9ki2EWvuTxhGQB5cuq5dCshYHcJSkTlafa-O8w8cJFWlsyohYIAI1sxq1A", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745232316491-0.20803941376293666:/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--1745232316335-0.03144825957162234:/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--1745232316179-0.5506960002161332:/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_725a7975-b288-4bf3-8e77-fec5079832fd", INVOCATION_ID: "f27154bc3604409aa7950f50452f6915", 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: "46", 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 245", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.9", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "33a793f5b423d5b3dfa9f7739d97fec26b79bc2c", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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/c1164d4b-4dce-47d2-bfd7-8f2ca0ff52b9/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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
485
485
|
/**
|
486
486
|
* @license
|
487
487
|
* Copyright 2017 Google LLC
|
@@ -525,7 +525,7 @@ const Wt = function(n) {
|
|
525
525
|
}
|
526
526
|
}
|
527
527
|
return e.join("");
|
528
|
-
},
|
528
|
+
}, jt = {
|
529
529
|
/**
|
530
530
|
* Maps bytes to characters.
|
531
531
|
*/
|
@@ -669,12 +669,12 @@ class or extends Error {
|
|
669
669
|
}
|
670
670
|
const cr = function(n) {
|
671
671
|
const e = Wt(n);
|
672
|
-
return
|
672
|
+
return jt.encodeByteArray(e, !0);
|
673
673
|
}, de = function(n) {
|
674
674
|
return cr(n).replace(/\./g, "");
|
675
|
-
},
|
675
|
+
}, Ht = function(n) {
|
676
676
|
try {
|
677
|
-
return
|
677
|
+
return jt.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 && Ht(n[1]);
|
740
740
|
return e && JSON.parse(e);
|
741
741
|
}, ze = () => {
|
742
742
|
try {
|
@@ -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 Rr(n, e) {
|
1002
|
+
const t = new kr(n, e);
|
1003
1003
|
return t.subscribe.bind(t);
|
1004
1004
|
}
|
1005
|
-
class
|
1005
|
+
class kr {
|
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 Rr {
|
|
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 = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
|
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 ke() {
|
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 {
|
@@ -1309,7 +1309,7 @@ class Ar {
|
|
1309
1309
|
getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
|
1310
1310
|
let r = this.instances.get(e);
|
1311
1311
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
1312
|
-
instanceIdentifier:
|
1312
|
+
instanceIdentifier: Or(e),
|
1313
1313
|
options: t
|
1314
1314
|
}), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
1315
1315
|
try {
|
@@ -1325,10 +1325,10 @@ class Ar {
|
|
1325
1325
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
1326
1326
|
}
|
1327
1327
|
}
|
1328
|
-
function
|
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
|
}
|
@@ -1501,20 +1501,20 @@ function xr() {
|
|
1501
1501
|
IDBCursor.prototype.continuePrimaryKey
|
1502
1502
|
]);
|
1503
1503
|
}
|
1504
|
-
const
|
1504
|
+
const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1505
1505
|
function Fr(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 && Jt.set(t, n);
|
1518
1518
|
}).catch(() => {
|
1519
1519
|
}), $e.set(e, n), e;
|
1520
1520
|
}
|
@@ -1539,11 +1539,11 @@ let Ue = {
|
|
1539
1539
|
if (e === "done")
|
1540
1540
|
return Le.get(n);
|
1541
1541
|
if (e === "objectStoreNames")
|
1542
|
-
return n.objectStoreNames ||
|
1542
|
+
return n.objectStoreNames || Zt.get(n);
|
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,23 +1552,23 @@ let Ue = {
|
|
1552
1552
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1553
1553
|
}
|
1554
1554
|
};
|
1555
|
-
function
|
1555
|
+
function jr(n) {
|
1556
1556
|
Ue = n(Ue);
|
1557
1557
|
}
|
1558
|
-
function
|
1558
|
+
function Hr(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
|
1561
|
+
return Zt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1562
1562
|
} : xr().includes(n) ? function(...e) {
|
1563
|
-
return n.apply(Ae(this), e),
|
1563
|
+
return n.apply(Ae(this), e), C(Jt.get(this));
|
1564
1564
|
} : function(...e) {
|
1565
|
-
return
|
1565
|
+
return C(n.apply(Ae(this), e));
|
1566
1566
|
};
|
1567
1567
|
}
|
1568
1568
|
function Vr(n) {
|
1569
|
-
return typeof n == "function" ?
|
1569
|
+
return typeof n == "function" ? Hr(n) : (n instanceof IDBTransaction && Wr(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 Fr(n);
|
1574
1574
|
if (Se.has(n))
|
@@ -1578,9 +1578,9 @@ function O(n) {
|
|
1578
1578
|
}
|
1579
1579
|
const Ae = (n) => $e.get(n);
|
1580
1580
|
function Gr(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,12 +1591,12 @@ function Gr(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"], $r = ["put", "add", "delete", "clear"],
|
1594
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["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
|
-
if (
|
1599
|
-
return
|
1598
|
+
if (Oe.get(e))
|
1599
|
+
return Oe.get(e);
|
1600
1600
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
1601
1601
|
if (
|
1602
1602
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
@@ -1611,9 +1611,9 @@ function ut(n, e) {
|
|
1611
1611
|
i && o.done
|
1612
1612
|
]))[0];
|
1613
1613
|
};
|
1614
|
-
return
|
1614
|
+
return Oe.set(e, s), s;
|
1615
1615
|
}
|
1616
|
-
|
1616
|
+
jr((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 Jr {
|
1638
1638
|
constructor(e) {
|
1639
1639
|
this.container = e;
|
1640
1640
|
}
|
@@ -1642,7 +1642,7 @@ class Zr {
|
|
1642
1642
|
// auth token refresh, and installations will send this string.
|
1643
1643
|
getPlatformInfoString() {
|
1644
1644
|
return this.container.getProviders().map((t) => {
|
1645
|
-
if (
|
1645
|
+
if (Zr(t)) {
|
1646
1646
|
const r = t.getImmediate();
|
1647
1647
|
return `${r.library}/${r.version}`;
|
1648
1648
|
} else
|
@@ -1650,7 +1650,7 @@ class Zr {
|
|
1650
1650
|
}).filter((t) => t).join(" ");
|
1651
1651
|
}
|
1652
1652
|
}
|
1653
|
-
function
|
1653
|
+
function Zr(n) {
|
1654
1654
|
const e = n.getComponent();
|
1655
1655
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1656
1656
|
}
|
@@ -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 T = new $t("@firebase/app"),
|
1674
|
+
const T = new $t("@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", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1675
1675
|
/**
|
1676
1676
|
* @license
|
1677
1677
|
* Copyright 2019 Google LLC
|
@@ -1690,9 +1690,9 @@ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1690
1690
|
*/
|
1691
1691
|
const xe = "[DEFAULT]", Ei = {
|
1692
1692
|
[Be]: "fire-core",
|
1693
|
-
[
|
1693
|
+
[Yr]: "fire-core-compat",
|
1694
1694
|
[Kr]: "fire-analytics",
|
1695
|
-
[
|
1695
|
+
[Xr]: "fire-analytics-compat",
|
1696
1696
|
[Qr]: "fire-app-check",
|
1697
1697
|
[qr]: "fire-app-check-compat",
|
1698
1698
|
[ei]: "fire-auth",
|
@@ -1742,7 +1742,7 @@ function pt(n, e) {
|
|
1742
1742
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1743
1743
|
}
|
1744
1744
|
}
|
1745
|
-
function
|
1745
|
+
function Y(n) {
|
1746
1746
|
const e = n.name;
|
1747
1747
|
if (Fe.has(e))
|
1748
1748
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
@@ -1753,7 +1753,7 @@ function X(n) {
|
|
1753
1753
|
pt(t, n);
|
1754
1754
|
return !0;
|
1755
1755
|
}
|
1756
|
-
function
|
1756
|
+
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
|
}
|
@@ -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 Ri {
|
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 G(
|
1814
1814
|
"app",
|
@@ -1867,7 +1867,7 @@ class ki {
|
|
1867
1867
|
* limitations under the License.
|
1868
1868
|
*/
|
1869
1869
|
const ee = yi;
|
1870
|
-
function
|
1870
|
+
function Xt(n, e = {}) {
|
1871
1871
|
let t = n;
|
1872
1872
|
typeof e != "object" && (e = { name: e });
|
1873
1873
|
const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1886,16 +1886,16 @@ function Yt(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 Fe.values())
|
1891
1891
|
a.addComponent(o);
|
1892
|
-
const c = new
|
1892
|
+
const c = new Ri(t, r, a);
|
1893
1893
|
return he.set(i, c), c;
|
1894
1894
|
}
|
1895
|
-
function
|
1895
|
+
function ki(n = xe) {
|
1896
1896
|
const e = he.get(n);
|
1897
1897
|
if (!e && n === xe && Gt())
|
1898
|
-
return
|
1898
|
+
return Xt();
|
1899
1899
|
if (!e)
|
1900
1900
|
throw D.create("no-app", { appName: n });
|
1901
1901
|
return e;
|
@@ -1912,7 +1912,7 @@ function W(n, e, t) {
|
|
1912
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 "/")`), T.warn(c.join(" "));
|
1913
1913
|
return;
|
1914
1914
|
}
|
1915
|
-
|
1915
|
+
Y(new G(
|
1916
1916
|
`${i}-version`,
|
1917
1917
|
() => ({ library: i, version: e }),
|
1918
1918
|
"VERSION"
|
@@ -1935,15 +1935,15 @@ function W(n, e, t) {
|
|
1935
1935
|
* See the License for the specific language governing permissions and
|
1936
1936
|
* limitations under the License.
|
1937
1937
|
*/
|
1938
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1939
|
-
let
|
1938
|
+
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1939
|
+
let Ne = null;
|
1940
1940
|
function Kt() {
|
1941
|
-
return
|
1941
|
+
return Ne || (Ne = Gr(Si, Ai, {
|
1942
1942
|
upgrade: (n, e) => {
|
1943
1943
|
switch (e) {
|
1944
1944
|
case 0:
|
1945
1945
|
try {
|
1946
|
-
n.createObjectStore(
|
1946
|
+
n.createObjectStore(X);
|
1947
1947
|
} catch (t) {
|
1948
1948
|
console.warn(t);
|
1949
1949
|
}
|
@@ -1953,11 +1953,11 @@ function Kt() {
|
|
1953
1953
|
throw D.create("idb-open", {
|
1954
1954
|
originalErrorMessage: n.message
|
1955
1955
|
});
|
1956
|
-
})),
|
1956
|
+
})), Ne;
|
1957
1957
|
}
|
1958
|
-
async function
|
1958
|
+
async function Oi(n) {
|
1959
1959
|
try {
|
1960
|
-
const t = (await Kt()).transaction(
|
1960
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1961
1961
|
return await t.done, r;
|
1962
1962
|
} catch (e) {
|
1963
1963
|
if (e instanceof M)
|
@@ -1972,8 +1972,8 @@ async function Ni(n) {
|
|
1972
1972
|
}
|
1973
1973
|
async function mt(n, e) {
|
1974
1974
|
try {
|
1975
|
-
const r = (await Kt()).transaction(
|
1976
|
-
await r.objectStore(
|
1975
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1976
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1977
1977
|
} catch (t) {
|
1978
1978
|
if (t instanceof M)
|
1979
1979
|
T.warn(t.message);
|
@@ -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,7 +2024,7 @@ class Di {
|
|
2024
2024
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
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
|
T.warn(r);
|
@@ -2052,7 +2052,7 @@ class Di {
|
|
2052
2052
|
function ft() {
|
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) {
|
@@ -2088,7 +2088,7 @@ class Mi {
|
|
2088
2088
|
*/
|
2089
2089
|
async read() {
|
2090
2090
|
if (await this._canUseIndexedDBPromise) {
|
2091
|
-
const t = await
|
2091
|
+
const t = await Oi(this.app);
|
2092
2092
|
return t != null && t.heartbeats ? t : { heartbeats: [] };
|
2093
2093
|
} else
|
2094
2094
|
return { heartbeats: [] };
|
@@ -2144,12 +2144,12 @@ function _t(n) {
|
|
2144
2144
|
* limitations under the License.
|
2145
2145
|
*/
|
2146
2146
|
function Li(n) {
|
2147
|
-
|
2147
|
+
Y(new G(
|
2148
2148
|
"platform-logger",
|
2149
|
-
(e) => new
|
2149
|
+
(e) => new Jr(e),
|
2150
2150
|
"PRIVATE"
|
2151
2151
|
/* ComponentType.PRIVATE */
|
2152
|
-
)),
|
2152
|
+
)), Y(new G(
|
2153
2153
|
"heartbeat",
|
2154
2154
|
(e) => new Di(e),
|
2155
2155
|
"PRIVATE"
|
@@ -2184,7 +2184,7 @@ var gt = function() {
|
|
2184
2184
|
return e;
|
2185
2185
|
}, gt.apply(this, arguments);
|
2186
2186
|
};
|
2187
|
-
function
|
2187
|
+
function Je(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")
|
@@ -2238,10 +2238,10 @@ function se(n, ...e) {
|
|
2238
2238
|
* limitations under the License.
|
2239
2239
|
*/
|
2240
2240
|
function w(n, ...e) {
|
2241
|
-
throw
|
2241
|
+
throw Ze(n, ...e);
|
2242
2242
|
}
|
2243
2243
|
function _(n, ...e) {
|
2244
|
-
return
|
2244
|
+
return Ze(n, ...e);
|
2245
2245
|
}
|
2246
2246
|
function tn(n, e, t) {
|
2247
2247
|
const r = Object.assign(Object.assign({}, xi()), { [e]: t });
|
@@ -2252,7 +2252,7 @@ function tn(n, e, t) {
|
|
2252
2252
|
function P(n) {
|
2253
2253
|
return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
2254
2254
|
}
|
2255
|
-
function
|
2255
|
+
function Ze(n, ...e) {
|
2256
2256
|
if (typeof n != "string") {
|
2257
2257
|
const t = e[0], r = [...e.slice(1)];
|
2258
2258
|
return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
|
@@ -2261,13 +2261,13 @@ function Je(n, ...e) {
|
|
2261
2261
|
}
|
2262
2262
|
function u(n, e, ...t) {
|
2263
2263
|
if (!n)
|
2264
|
-
throw
|
2264
|
+
throw Ze(e, ...t);
|
2265
2265
|
}
|
2266
2266
|
function b(n) {
|
2267
2267
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2268
2268
|
throw se(e), new Error(e);
|
2269
2269
|
}
|
2270
|
-
function
|
2270
|
+
function R(n, e) {
|
2271
2271
|
n || b(e);
|
2272
2272
|
}
|
2273
2273
|
/**
|
@@ -2313,7 +2313,7 @@ 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 ji() {
|
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
|
@@ -2321,7 +2321,7 @@ function Hi() {
|
|
2321
2321
|
// defines navigator.connection.
|
2322
2322
|
(Wi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2323
2323
|
}
|
2324
|
-
function
|
2324
|
+
function Hi() {
|
2325
2325
|
if (typeof navigator > "u")
|
2326
2326
|
return null;
|
2327
2327
|
const n = navigator;
|
@@ -2351,10 +2351,10 @@ function ji() {
|
|
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, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2355
2355
|
}
|
2356
2356
|
get() {
|
2357
|
-
return
|
2357
|
+
return ji() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2358
2358
|
}
|
2359
2359
|
}
|
2360
2360
|
/**
|
@@ -2373,8 +2373,8 @@ class te {
|
|
2373
2373
|
* See the License for the specific language governing permissions and
|
2374
2374
|
* limitations under the License.
|
2375
2375
|
*/
|
2376
|
-
function
|
2377
|
-
|
2376
|
+
function Ye(n, e) {
|
2377
|
+
R(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
|
}
|
@@ -2605,7 +2605,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2605
2605
|
}
|
2606
2606
|
function an(n, e, t, r) {
|
2607
2607
|
const i = `${e}${t}?${r}`;
|
2608
|
-
return n.config.emulator ?
|
2608
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2609
2609
|
}
|
2610
2610
|
class zi {
|
2611
2611
|
constructor(e) {
|
@@ -2667,7 +2667,7 @@ async function on(n, e) {
|
|
2667
2667
|
* See the License for the specific language governing permissions and
|
2668
2668
|
* limitations under the License.
|
2669
2669
|
*/
|
2670
|
-
function
|
2670
|
+
function Z(n) {
|
2671
2671
|
if (n)
|
2672
2672
|
try {
|
2673
2673
|
const e = new Date(Number(n));
|
@@ -2676,8 +2676,8 @@ function J(n) {
|
|
2676
2676
|
} catch {
|
2677
2677
|
}
|
2678
2678
|
}
|
2679
|
-
async function
|
2680
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2679
|
+
async function Ji(n, e = !1) {
|
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,
|
2683
2683
|
t.auth,
|
@@ -2688,29 +2688,29 @@ async function Zi(n, e = !1) {
|
|
2688
2688
|
return {
|
2689
2689
|
claims: i,
|
2690
2690
|
token: r,
|
2691
|
-
authTime:
|
2692
|
-
issuedAtTime:
|
2693
|
-
expirationTime:
|
2691
|
+
authTime: Z(Ce(i.auth_time)),
|
2692
|
+
issuedAtTime: Z(Ce(i.iat)),
|
2693
|
+
expirationTime: Z(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
|
-
function
|
2701
|
+
function Xe(n) {
|
2702
2702
|
const [e, t, r] = n.split(".");
|
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 = Ht(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
2712
|
function It(n) {
|
2713
|
-
const e =
|
2713
|
+
const e = Xe(n);
|
2714
2714
|
return u(
|
2715
2715
|
e,
|
2716
2716
|
"internal-error"
|
@@ -2747,10 +2747,10 @@ async function K(n, e, t = !1) {
|
|
2747
2747
|
try {
|
2748
2748
|
return await e;
|
2749
2749
|
} catch (r) {
|
2750
|
-
throw r instanceof M &&
|
2750
|
+
throw r instanceof M && Zi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2751
2751
|
}
|
2752
2752
|
}
|
2753
|
-
function
|
2753
|
+
function Zi({ code: n }) {
|
2754
2754
|
return n === "auth/user-disabled" || n === "auth/user-token-expired";
|
2755
2755
|
}
|
2756
2756
|
/**
|
@@ -2769,7 +2769,7 @@ function Ji({ code: n }) {
|
|
2769
2769
|
* See the License for the specific language governing permissions and
|
2770
2770
|
* limitations under the License.
|
2771
2771
|
*/
|
2772
|
-
class
|
2772
|
+
class Yi {
|
2773
2773
|
constructor(e) {
|
2774
2774
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2775
2775
|
}
|
@@ -2831,12 +2831,12 @@ class Xi {
|
|
2831
2831
|
* See the License for the specific language governing permissions and
|
2832
2832
|
* limitations under the License.
|
2833
2833
|
*/
|
2834
|
-
class
|
2834
|
+
class je {
|
2835
2835
|
constructor(e, t) {
|
2836
2836
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2837
2837
|
}
|
2838
2838
|
_initializeTime() {
|
2839
|
-
this.lastSignInTime =
|
2839
|
+
this.lastSignInTime = Z(this.lastLoginAt), this.creationTime = Z(this.createdAt);
|
2840
2840
|
}
|
2841
2841
|
_copy(e) {
|
2842
2842
|
this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
|
@@ -2884,12 +2884,12 @@ async function me(n) {
|
|
2884
2884
|
phoneNumber: s.phoneNumber || null,
|
2885
2885
|
tenantId: s.tenantId || null,
|
2886
2886
|
providerData: c,
|
2887
|
-
metadata: new
|
2887
|
+
metadata: new je(s.createdAt, s.lastLoginAt),
|
2888
2888
|
isAnonymous: d
|
2889
2889
|
};
|
2890
2890
|
Object.assign(n, h);
|
2891
2891
|
}
|
2892
|
-
async function
|
2892
|
+
async function Xi(n) {
|
2893
2893
|
const e = z(n);
|
2894
2894
|
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2895
2895
|
}
|
@@ -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 = Je(e, ["providerId"]);
|
2902
2902
|
return {
|
2903
2903
|
providerId: t,
|
2904
2904
|
uid: r.rawId || "",
|
@@ -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 j {
|
2969
2969
|
constructor() {
|
2970
2970
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2971
2971
|
}
|
@@ -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 j();
|
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,7 +3037,7 @@ 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 j(), this.toJSON());
|
3041
3041
|
}
|
3042
3042
|
_performRefresh() {
|
3043
3043
|
return b("not implemented");
|
@@ -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 k(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
|
3067
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(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 je(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,10 +3077,10 @@ 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 Ji(this, e);
|
3081
3081
|
}
|
3082
3082
|
reload() {
|
3083
|
-
return
|
3083
|
+
return Xi(this);
|
3084
3084
|
}
|
3085
3085
|
_assign(e) {
|
3086
3086
|
this !== e && (u(
|
@@ -3154,13 +3154,13 @@ class y {
|
|
3154
3154
|
"internal-error"
|
3155
3155
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3156
3156
|
);
|
3157
|
-
const Pn =
|
3157
|
+
const Pn = j.fromJSON(this.name, at);
|
3158
3158
|
u(
|
3159
3159
|
typeof Te == "string",
|
3160
3160
|
e,
|
3161
3161
|
"internal-error"
|
3162
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3163
|
-
),
|
3163
|
+
), k(h, e.name), k(m, e.name), u(
|
3164
3164
|
typeof it == "boolean",
|
3165
3165
|
e,
|
3166
3166
|
"internal-error"
|
@@ -3170,8 +3170,8 @@ class y {
|
|
3170
3170
|
e,
|
3171
3171
|
"internal-error"
|
3172
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3173
|
-
),
|
3174
|
-
const
|
3173
|
+
), k(v, e.name), k(x, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3174
|
+
const Re = new y({
|
3175
3175
|
uid: Te,
|
3176
3176
|
auth: e,
|
3177
3177
|
email: m,
|
@@ -3185,7 +3185,7 @@ class y {
|
|
3185
3185
|
createdAt: nt,
|
3186
3186
|
lastLoginAt: rt
|
3187
3187
|
});
|
3188
|
-
return we && Array.isArray(we) && (
|
3188
|
+
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
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 j();
|
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 j();
|
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 je(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;
|
@@ -3255,9 +3255,9 @@ class y {
|
|
3255
3255
|
*/
|
3256
3256
|
const bt = /* @__PURE__ */ new Map();
|
3257
3257
|
function E(n) {
|
3258
|
-
|
3258
|
+
R(n instanceof Function, "Expected a class definition");
|
3259
3259
|
let e = bt.get(n);
|
3260
|
-
return e ? (
|
3260
|
+
return e ? (R(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 H {
|
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 j {
|
|
3349
3349
|
}
|
3350
3350
|
static async create(e, t, r = "authUser") {
|
3351
3351
|
if (!t.length)
|
3352
|
-
return new
|
3352
|
+
return new H(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 j {
|
|
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 H(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 H(s, e, r));
|
3378
3378
|
}
|
3379
3379
|
}
|
3380
3380
|
/**
|
@@ -3675,7 +3675,7 @@ class as {
|
|
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 H.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);
|
@@ -3764,7 +3764,7 @@ class as {
|
|
3764
3764
|
return this.directlySetCurrentUser(e);
|
3765
3765
|
}
|
3766
3766
|
useDeviceLanguage() {
|
3767
|
-
this.languageCode =
|
3767
|
+
this.languageCode = Hi();
|
3768
3768
|
}
|
3769
3769
|
async _delete() {
|
3770
3770
|
this._deleted = !0;
|
@@ -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 H.create(
|
3883
3883
|
this,
|
3884
3884
|
[E(t._redirectPersistence)],
|
3885
3885
|
"redirectUser"
|
@@ -4006,7 +4006,7 @@ function Ie(n) {
|
|
4006
4006
|
}
|
4007
4007
|
class Tt {
|
4008
4008
|
constructor(e) {
|
4009
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4009
|
+
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4010
4010
|
}
|
4011
4011
|
get next() {
|
4012
4012
|
return u(
|
@@ -4070,7 +4070,7 @@ function ds(n) {
|
|
4070
4070
|
* limitations under the License.
|
4071
4071
|
*/
|
4072
4072
|
function us(n, e) {
|
4073
|
-
const t =
|
4073
|
+
const t = Yt(n, "auth");
|
4074
4074
|
if (t.isInitialized()) {
|
4075
4075
|
const i = t.getImmediate(), s = t.getOptions();
|
4076
4076
|
if (ue(s, e ?? {}))
|
@@ -4250,7 +4250,7 @@ class U extends bn {
|
|
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 = Je(t, ["providerId", "signInMethod"]);
|
4254
4254
|
if (!r || !i)
|
4255
4255
|
return null;
|
4256
4256
|
const a = new U(r, i);
|
@@ -4536,7 +4536,7 @@ A.PROVIDER_ID = "google.com";
|
|
4536
4536
|
* See the License for the specific language governing permissions and
|
4537
4537
|
* limitations under the License.
|
4538
4538
|
*/
|
4539
|
-
class
|
4539
|
+
class O extends ne {
|
4540
4540
|
constructor() {
|
4541
4541
|
super(
|
4542
4542
|
"github.com"
|
@@ -4550,8 +4550,8 @@ class N extends ne {
|
|
4550
4550
|
*/
|
4551
4551
|
static credential(e) {
|
4552
4552
|
return U._fromParams({
|
4553
|
-
providerId:
|
4554
|
-
signInMethod:
|
4553
|
+
providerId: O.PROVIDER_ID,
|
4554
|
+
signInMethod: O.GITHUB_SIGN_IN_METHOD,
|
4555
4555
|
accessToken: e
|
4556
4556
|
});
|
4557
4557
|
}
|
@@ -4561,7 +4561,7 @@ class N extends ne {
|
|
4561
4561
|
* @param userCredential - The user credential.
|
4562
4562
|
*/
|
4563
4563
|
static credentialFromResult(e) {
|
4564
|
-
return
|
4564
|
+
return O.credentialFromTaggedObject(e);
|
4565
4565
|
}
|
4566
4566
|
/**
|
4567
4567
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4570,20 +4570,20 @@ class N extends ne {
|
|
4570
4570
|
* @param userCredential - The user credential.
|
4571
4571
|
*/
|
4572
4572
|
static credentialFromError(e) {
|
4573
|
-
return
|
4573
|
+
return O.credentialFromTaggedObject(e.customData || {});
|
4574
4574
|
}
|
4575
4575
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4576
4576
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4577
4577
|
return null;
|
4578
4578
|
try {
|
4579
|
-
return
|
4579
|
+
return O.credential(e.oauthAccessToken);
|
4580
4580
|
} catch {
|
4581
4581
|
return null;
|
4582
4582
|
}
|
4583
4583
|
}
|
4584
4584
|
}
|
4585
|
-
|
4586
|
-
|
4585
|
+
O.GITHUB_SIGN_IN_METHOD = "github.com";
|
4586
|
+
O.PROVIDER_ID = "github.com";
|
4587
4587
|
/**
|
4588
4588
|
* @license
|
4589
4589
|
* Copyright 2020 Google LLC
|
@@ -4600,7 +4600,7 @@ N.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 = Rt(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 = Rt(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 Rt(n) {
|
4701
4701
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4702
4702
|
}
|
4703
4703
|
/**
|
@@ -4768,7 +4768,7 @@ async function vs(n, e, t = !1) {
|
|
4768
4768
|
"internal-error"
|
4769
4769
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4770
4770
|
);
|
4771
|
-
const a =
|
4771
|
+
const a = Xe(s.idToken);
|
4772
4772
|
u(
|
4773
4773
|
a,
|
4774
4774
|
r,
|
@@ -4920,7 +4920,7 @@ class Tn {
|
|
4920
4920
|
* See the License for the specific language governing permissions and
|
4921
4921
|
* limitations under the License.
|
4922
4922
|
*/
|
4923
|
-
const ws = 1e3,
|
4923
|
+
const ws = 1e3, Rs = 10;
|
4924
4924
|
class wn extends Tn {
|
4925
4925
|
constructor() {
|
4926
4926
|
super(
|
@@ -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, Rs) : i();
|
4952
4952
|
}
|
4953
4953
|
notifyListeners(e, t) {
|
4954
4954
|
this.localCache[e] = t;
|
@@ -5000,7 +5000,7 @@ class wn extends Tn {
|
|
5000
5000
|
}
|
5001
5001
|
}
|
5002
5002
|
wn.type = "LOCAL";
|
5003
|
-
const
|
5003
|
+
const ks = wn;
|
5004
5004
|
/**
|
5005
5005
|
* @license
|
5006
5006
|
* Copyright 2020 Google LLC
|
@@ -5017,7 +5017,7 @@ const Rs = 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 Rn extends Tn {
|
5021
5021
|
constructor() {
|
5022
5022
|
super(
|
5023
5023
|
() => window.sessionStorage,
|
@@ -5030,8 +5030,8 @@ class kn extends Tn {
|
|
5030
5030
|
_removeListener(e, t) {
|
5031
5031
|
}
|
5032
5032
|
}
|
5033
|
-
|
5034
|
-
const
|
5033
|
+
Rn.type = "SESSION";
|
5034
|
+
const kn = Rn;
|
5035
5035
|
/**
|
5036
5036
|
* @license
|
5037
5037
|
* Copyright 2019 Google LLC
|
@@ -5286,7 +5286,7 @@ class As {
|
|
5286
5286
|
function g() {
|
5287
5287
|
return window;
|
5288
5288
|
}
|
5289
|
-
function
|
5289
|
+
function Os(n) {
|
5290
5290
|
g().location.href = n;
|
5291
5291
|
}
|
5292
5292
|
/**
|
@@ -5308,7 +5308,7 @@ function Ns(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
|
}
|
@@ -5340,7 +5340,7 @@ function Ds() {
|
|
5340
5340
|
* See the License for the specific language governing permissions and
|
5341
5341
|
* limitations under the License.
|
5342
5342
|
*/
|
5343
|
-
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage",
|
5343
|
+
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", On = "fbase_key";
|
5344
5344
|
class re {
|
5345
5345
|
constructor(e) {
|
5346
5346
|
this.request = e;
|
@@ -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 He() {
|
5366
5366
|
const n = indexedDB.open(An, Ps);
|
5367
5367
|
return new Promise((e, t) => {
|
5368
5368
|
n.addEventListener("error", () => {
|
@@ -5370,19 +5370,19 @@ function je() {
|
|
5370
5370
|
}), n.addEventListener("upgradeneeded", () => {
|
5371
5371
|
const r = n.result;
|
5372
5372
|
try {
|
5373
|
-
r.createObjectStore(ge, { keyPath:
|
5373
|
+
r.createObjectStore(ge, { keyPath: On });
|
5374
5374
|
} catch (i) {
|
5375
5375
|
t(i);
|
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 He()));
|
5380
5380
|
});
|
5381
5381
|
});
|
5382
5382
|
}
|
5383
|
-
async function
|
5383
|
+
async function kt(n, e, t) {
|
5384
5384
|
const r = ye(n, !0).put({
|
5385
|
-
[
|
5385
|
+
[On]: e,
|
5386
5386
|
value: t
|
5387
5387
|
});
|
5388
5388
|
return new re(r).toPromise();
|
@@ -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 He(), this.db);
|
5407
5407
|
}
|
5408
5408
|
async _withRetries(e) {
|
5409
5409
|
let t = 0;
|
@@ -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 He();
|
5488
|
+
return await kt(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) => kt(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 xs =
|
5548
|
+
Nn.type = "LOCAL";
|
5549
|
+
const xs = Nn;
|
5550
5550
|
new te(3e4, 6e4);
|
5551
5551
|
/**
|
5552
5552
|
* @license
|
@@ -5621,7 +5621,7 @@ class et extends bn {
|
|
5621
5621
|
function Ws(n) {
|
5622
5622
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5623
5623
|
}
|
5624
|
-
function
|
5624
|
+
function js(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 Hs(n) {
|
5634
5634
|
const { auth: e, user: t } = n;
|
5635
5635
|
return u(
|
5636
5636
|
t,
|
@@ -5655,7 +5655,7 @@ async function js(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
|
}
|
@@ -5700,10 +5700,10 @@ class On {
|
|
5700
5700
|
return Ws;
|
5701
5701
|
case "linkViaPopup":
|
5702
5702
|
case "linkViaRedirect":
|
5703
|
-
return
|
5703
|
+
return Hs;
|
5704
5704
|
case "reauthViaPopup":
|
5705
5705
|
case "reauthViaRedirect":
|
5706
|
-
return
|
5706
|
+
return js;
|
5707
5707
|
default:
|
5708
5708
|
w(
|
5709
5709
|
this.auth,
|
@@ -5713,10 +5713,10 @@ class On {
|
|
5713
5713
|
}
|
5714
5714
|
}
|
5715
5715
|
resolve(e) {
|
5716
|
-
|
5716
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5717
5717
|
}
|
5718
5718
|
reject(e) {
|
5719
|
-
|
5719
|
+
R(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();
|
@@ -5739,7 +5739,7 @@ class On {
|
|
5739
5739
|
* limitations under the License.
|
5740
5740
|
*/
|
5741
5741
|
const Vs = new te(2e3, 1e4);
|
5742
|
-
class F extends
|
5742
|
+
class F 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, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
|
5745
5745
|
}
|
@@ -5753,7 +5753,7 @@ class F extends On {
|
|
5753
5753
|
), e;
|
5754
5754
|
}
|
5755
5755
|
async onExecution() {
|
5756
|
-
|
5756
|
+
R(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,
|
@@ -5825,7 +5825,7 @@ F.currentPopupAction = null;
|
|
5825
5825
|
* limitations under the License.
|
5826
5826
|
*/
|
5827
5827
|
const Gs = "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",
|
@@ -5872,22 +5872,22 @@ class zs extends On {
|
|
5872
5872
|
}
|
5873
5873
|
}
|
5874
5874
|
async function $s(n, e) {
|
5875
|
-
const t =
|
5875
|
+
const t = Ys(e), r = Zs(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 Js(n, e) {
|
5882
5882
|
oe.set(n._key(), e);
|
5883
5883
|
}
|
5884
|
-
function
|
5884
|
+
function Zs(n) {
|
5885
5885
|
return E(n._redirectPersistence);
|
5886
5886
|
}
|
5887
|
-
function
|
5887
|
+
function Ys(n) {
|
5888
5888
|
return ae(Gs, n.config.apiKey, n.name);
|
5889
5889
|
}
|
5890
|
-
async function
|
5890
|
+
async function Xs(n, e, t = !1) {
|
5891
5891
|
if (I(n.app))
|
5892
5892
|
return Promise.reject(P(n));
|
5893
5893
|
const r = Ie(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
|
@@ -6047,7 +6047,7 @@ function ia(n) {
|
|
6047
6047
|
* limitations under the License.
|
6048
6048
|
*/
|
6049
6049
|
const sa = new te(3e4, 6e4);
|
6050
|
-
function
|
6050
|
+
function Ot() {
|
6051
6051
|
const n = g().___jsl;
|
6052
6052
|
if (n != null && n.H) {
|
6053
6053
|
for (const e of Object.keys(n.H))
|
@@ -6060,12 +6060,12 @@ function aa(n) {
|
|
6060
6060
|
return new Promise((e, t) => {
|
6061
6061
|
var r, i, s;
|
6062
6062
|
function a() {
|
6063
|
-
|
6063
|
+
Ot(), gapi.load("gapi.iframes", {
|
6064
6064
|
callback: () => {
|
6065
6065
|
e(gapi.iframes.getContext());
|
6066
6066
|
},
|
6067
6067
|
ontimeout: () => {
|
6068
|
-
|
6068
|
+
Ot(), t(_(
|
6069
6069
|
n,
|
6070
6070
|
"network-request-failed"
|
6071
6071
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
@@ -6135,7 +6135,7 @@ function pa(n) {
|
|
6135
6135
|
"auth-domain-config-required"
|
6136
6136
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6137
6137
|
);
|
6138
|
-
const t = e.emulator ?
|
6138
|
+
const t = e.emulator ? Ye(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6139
6139
|
apiKey: e.apiKey,
|
6140
6140
|
appName: n.name,
|
6141
6141
|
v: ee
|
@@ -6199,7 +6199,7 @@ const fa = {
|
|
6199
6199
|
statusbar: "yes",
|
6200
6200
|
toolbar: "no"
|
6201
6201
|
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6202
|
-
class
|
6202
|
+
class Nt {
|
6203
6203
|
constructor(e) {
|
6204
6204
|
this.window = e, this.associatedEvent = null;
|
6205
6205
|
}
|
@@ -6223,7 +6223,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6223
6223
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6224
6224
|
const d = Object.entries(o).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
|
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 ba(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");
|
@@ -6260,7 +6260,7 @@ function ya(n, e) {
|
|
6260
6260
|
* limitations under the License.
|
6261
6261
|
*/
|
6262
6262
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6263
|
-
async function
|
6263
|
+
async function Ct(n, e, t, r, i, s) {
|
6264
6264
|
u(
|
6265
6265
|
n.config.authDomain,
|
6266
6266
|
n,
|
@@ -6294,10 +6294,10 @@ async function Ot(n, e, t, r, i, s) {
|
|
6294
6294
|
for (const d of Object.keys(c))
|
6295
6295
|
c[d] === void 0 && delete c[d];
|
6296
6296
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6297
|
-
return `${
|
6297
|
+
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6298
6298
|
}
|
6299
|
-
function
|
6300
|
-
return n.emulator ?
|
6299
|
+
function Ra({ config: n }) {
|
6300
|
+
return n.emulator ? Ye(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6301
6301
|
}
|
6302
6302
|
/**
|
6303
6303
|
* @license
|
@@ -6316,29 +6316,29 @@ function ka({ config: n }) {
|
|
6316
6316
|
* limitations under the License.
|
6317
6317
|
*/
|
6318
6318
|
const De = "webStorageSupport";
|
6319
|
-
class
|
6319
|
+
class ka {
|
6320
6320
|
constructor() {
|
6321
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult = Js;
|
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
|
6327
|
+
R((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, We(), i);
|
6329
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
|
6334
|
-
return
|
6333
|
+
const s = await Ct(e, t, r, We(), i);
|
6334
|
+
return Os(s), new Promise(() => {
|
6335
6335
|
});
|
6336
6336
|
}
|
6337
6337
|
_initialize(e) {
|
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) : (R(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(() => {
|
@@ -6376,7 +6376,7 @@ class Ra {
|
|
6376
6376
|
return gn() || un() || Ke();
|
6377
6377
|
}
|
6378
6378
|
}
|
6379
|
-
const Sa =
|
6379
|
+
const Sa = ka;
|
6380
6380
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6381
6381
|
/**
|
6382
6382
|
* @license
|
@@ -6445,7 +6445,7 @@ class Aa {
|
|
6445
6445
|
* See the License for the specific language governing permissions and
|
6446
6446
|
* limitations under the License.
|
6447
6447
|
*/
|
6448
|
-
function
|
6448
|
+
function Oa(n) {
|
6449
6449
|
switch (n) {
|
6450
6450
|
case "Node":
|
6451
6451
|
return "node";
|
@@ -6461,8 +6461,8 @@ function Na(n) {
|
|
6461
6461
|
return;
|
6462
6462
|
}
|
6463
6463
|
}
|
6464
|
-
function
|
6465
|
-
|
6464
|
+
function Na(n) {
|
6465
|
+
Y(new G(
|
6466
6466
|
"auth",
|
6467
6467
|
(e, { options: t }) => {
|
6468
6468
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6488,7 +6488,7 @@ function Ca(n) {
|
|
6488
6488
|
"auth-internal"
|
6489
6489
|
/* _ComponentName.AUTH_INTERNAL */
|
6490
6490
|
).initialize();
|
6491
|
-
})),
|
6491
|
+
})), Y(new G(
|
6492
6492
|
"auth-internal",
|
6493
6493
|
(e) => {
|
6494
6494
|
const t = Ie(e.getProvider(
|
@@ -6502,7 +6502,7 @@ function Ca(n) {
|
|
6502
6502
|
).setInstantiationMode(
|
6503
6503
|
"EXPLICIT"
|
6504
6504
|
/* InstantiationMode.EXPLICIT */
|
6505
|
-
)), W(Dt, Pt,
|
6505
|
+
)), W(Dt, Pt, Oa(n)), W(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,16 +6534,16 @@ const Pa = (n) => async (e) => {
|
|
6534
6534
|
} : {}
|
6535
6535
|
}));
|
6536
6536
|
};
|
6537
|
-
function Ma(n =
|
6538
|
-
const e =
|
6537
|
+
function Ma(n = ki()) {
|
6538
|
+
const e = Yt(n, "auth");
|
6539
6539
|
if (e.isInitialized())
|
6540
6540
|
return e.getImmediate();
|
6541
6541
|
const t = us(n, {
|
6542
6542
|
popupRedirectResolver: Sa,
|
6543
6543
|
persistence: [
|
6544
6544
|
xs,
|
6545
|
-
|
6546
|
-
|
6545
|
+
ks,
|
6546
|
+
kn
|
6547
6547
|
]
|
6548
6548
|
}), r = zt("authTokenSyncURL");
|
6549
6549
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
@@ -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
|
);
|
@@ -6595,18 +6595,18 @@ Ua.beforeEach(async (n) => {
|
|
6595
6595
|
changeRestaurant: s
|
6596
6596
|
} = Ve();
|
6597
6597
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6598
|
-
const c =
|
6598
|
+
const c = J(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 = J(r, (o) => {
|
6605
6605
|
o && (c(), a(!0));
|
6606
6606
|
});
|
6607
6607
|
}),
|
6608
6608
|
new Promise(async (a) => {
|
6609
|
-
const c =
|
6609
|
+
const c = J(t, (l) => {
|
6610
6610
|
l && (c(), a(!0));
|
6611
6611
|
}), o = await i();
|
6612
6612
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6617,7 +6617,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6617
6617
|
__name: "AppSidebar",
|
6618
6618
|
setup(n) {
|
6619
6619
|
const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
|
6620
|
-
|
6620
|
+
J(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
|
});
|
@@ -6703,16 +6703,16 @@ var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c45748132606
|
|
6703
6703
|
const $a = /* @__PURE__ */ Ut({
|
6704
6704
|
__name: "App",
|
6705
6705
|
setup(n) {
|
6706
|
-
const { state: e } = sr(), t = Ve(), r = xn(), i =
|
6706
|
+
const { state: e } = sr(), t = Ve(), r = xn(), i = Xt(xa.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(), J(t.sessionUser, s), jn(() => {
|
6714
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6715
|
-
}),
|
6715
|
+
}), Hn(() => {
|
6716
6716
|
t.registerSidebarComponent(Ba);
|
6717
6717
|
}), (a, c) => {
|
6718
6718
|
const o = Bt("RouterView");
|
@@ -6721,23 +6721,23 @@ const $a = /* @__PURE__ */ Ut({
|
|
6721
6721
|
});
|
6722
6722
|
};
|
6723
6723
|
}
|
6724
|
-
}),
|
6724
|
+
}), Ja = {
|
6725
6725
|
"en-US": qn,
|
6726
6726
|
"zh-CN": ir
|
6727
|
-
},
|
6727
|
+
}, Za = [...le, ...Ge];
|
6728
6728
|
export {
|
6729
6729
|
G as C,
|
6730
6730
|
M as F,
|
6731
6731
|
ee as S,
|
6732
|
-
|
6733
|
-
|
6732
|
+
Y as _,
|
6733
|
+
Yt as a,
|
6734
6734
|
Ga as b,
|
6735
|
-
|
6735
|
+
ki as c,
|
6736
6736
|
za as d,
|
6737
6737
|
gt as e,
|
6738
|
-
|
6738
|
+
Za as f,
|
6739
6739
|
z as g,
|
6740
6740
|
$a as h,
|
6741
|
-
|
6741
|
+
Ja as i,
|
6742
6742
|
W as r
|
6743
6743
|
};
|