@feedmepos/mf-payment 1.1.7-beta.4 → 1.1.7-beta.6
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-7TEE2BzE.js → PayoutAccount-1d1J3Mbp.js} +5 -5
- package/dist/{PayoutAccount-DwKI9IhW.js → PayoutAccount-DTRSgLrZ.js} +3 -3
- package/dist/{PayoutAccountSetting-C2ISSDKv.js → PayoutAccountSetting-DM7pMb0z.js} +3 -3
- package/dist/{Restaurant-BXWgyQGg.js → Restaurant-DCJsgh4n.js} +4 -4
- package/dist/{RestaurantSetting-B2zqIloE.js → RestaurantSetting-DSv0mpiy.js} +3 -3
- package/dist/{Settlement-CBhBo7w7.js → Settlement-BP4npkfA.js} +3 -3
- package/dist/Settlement-Cie3vI3n.js +453 -0
- package/dist/{SettlementTransactions-DAzU50AC.js → SettlementTransactions-DyXb1ZAw.js} +80 -78
- package/dist/{SettlementTransactions-C4Hj7cKF.js → SettlementTransactions-bRdkx8o5.js} +68 -66
- package/dist/{Terminal-D-mwA9bo.js → Terminal-CDBNFPbr.js} +5 -5
- package/dist/TerminalSetting-pAsMFueM.js +497 -0
- package/dist/{Transaction-C1Z1g1Oh.js → Transaction-DqvPuX4W.js} +5 -5
- package/dist/{Transaction-CCjNEXsW.js → Transaction-W8sRSgGc.js} +6 -6
- package/dist/{TransactionOld-xW6kfmjb.js → TransactionOld-BOQ6tBqe.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CU6q9oND.js → TransactionTable.vue_vue_type_script_setup_true_lang-CtjjM2gz.js} +3 -3
- package/dist/api/terminal/index.d.ts +1 -1
- package/dist/{app-DSu8Bqxt.js → app-CYglC23K.js} +252 -250
- package/dist/app.d.ts +2 -0
- package/dist/app.js +1 -1
- package/dist/{assets-BYZLC205.js → assets-G15yB8yl.js} +1 -1
- package/dist/{grafana-B-ZEJ__-.js → grafana-ByGWVKk3.js} +1 -1
- package/dist/{index-B5I6xD5e.js → index-BKTCJbdW.js} +1 -1
- package/dist/{index-Yd0Q7mxR.js → index-C13NEGId.js} +1 -1
- package/dist/{index-CEbxMc8H.js → index-CtqzAx42.js} +1 -1
- package/dist/{index-ClUkVJXR.js → index-DXrfVp2-.js} +1 -1
- package/dist/{index-EJS3NJlp.js → index-DjrHDthD.js} +2064 -2064
- package/dist/{index-yIQx0FT4.js → index-WON1wez7.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BHvwhRYU.js → index.vue_vue_type_script_setup_true_lang-BL_w1CP7.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-DgcZA_FW.js → payout-account-Bk7qyKXt.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Settlement-6eU_HP7K.js +0 -445
- package/dist/TerminalSetting-ByPtWVqu.js +0 -489
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Gn, unref as Vn } from "vue";
|
3
|
+
import { useCoreStore as Ve, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as Zn } from "@feedmepos/ui-library";
|
6
6
|
const $n = {
|
@@ -13,7 +13,7 @@ const $n = {
|
|
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",
|
@@ -28,6 +28,7 @@ const $n = {
|
|
28
28
|
},
|
29
29
|
dialog: {
|
30
30
|
title: "Settlements Transactions",
|
31
|
+
date: "Date",
|
31
32
|
search: "Search Transactions ...",
|
32
33
|
info: {
|
33
34
|
transaction: {
|
@@ -71,7 +72,7 @@ const $n = {
|
|
71
72
|
settlement_amount: "Settlement Amount"
|
72
73
|
}
|
73
74
|
}
|
74
|
-
},
|
75
|
+
}, Xn = {
|
75
76
|
title: "Transactions",
|
76
77
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
77
78
|
restaurant: "Restaurant",
|
@@ -146,8 +147,8 @@ const $n = {
|
|
146
147
|
}, qn = {
|
147
148
|
components: $n,
|
148
149
|
routes: Jn,
|
149
|
-
settlements:
|
150
|
-
transactions:
|
150
|
+
settlements: Yn,
|
151
|
+
transactions: Xn,
|
151
152
|
payout_account: Kn
|
152
153
|
}, Qn = {
|
153
154
|
select: "选择筛选对象",
|
@@ -174,6 +175,7 @@ const $n = {
|
|
174
175
|
},
|
175
176
|
dialog: {
|
176
177
|
title: "结算订单详细",
|
178
|
+
date: "日期",
|
177
179
|
search: "查询订单 ...",
|
178
180
|
info: {
|
179
181
|
transaction: {
|
@@ -303,7 +305,7 @@ const $n = {
|
|
303
305
|
sidebarDisplay: "Restaurants",
|
304
306
|
section: "payment-gateway"
|
305
307
|
},
|
306
|
-
component: () => import("./Restaurant-
|
308
|
+
component: () => import("./Restaurant-DCJsgh4n.js")
|
307
309
|
},
|
308
310
|
{
|
309
311
|
path: "/admin/restaurants/:restaurantId",
|
@@ -312,7 +314,7 @@ const $n = {
|
|
312
314
|
meta: {
|
313
315
|
parent: "mf-payment-admin.restaurant"
|
314
316
|
},
|
315
|
-
component: () => import("./RestaurantSetting-
|
317
|
+
component: () => import("./RestaurantSetting-DSv0mpiy.js")
|
316
318
|
},
|
317
319
|
{
|
318
320
|
path: "/admin/payout-accounts",
|
@@ -321,7 +323,7 @@ const $n = {
|
|
321
323
|
sidebarDisplay: "Payout Accounts",
|
322
324
|
section: "payment-gateway"
|
323
325
|
},
|
324
|
-
component: () => import("./PayoutAccount-
|
326
|
+
component: () => import("./PayoutAccount-1d1J3Mbp.js")
|
325
327
|
},
|
326
328
|
{
|
327
329
|
path: "/admin/payout-accounts/:accountId",
|
@@ -330,7 +332,7 @@ const $n = {
|
|
330
332
|
meta: {
|
331
333
|
parent: "mf-payment-admin.payout-account"
|
332
334
|
},
|
333
|
-
component: () => import("./PayoutAccountSetting-
|
335
|
+
component: () => import("./PayoutAccountSetting-DM7pMb0z.js")
|
334
336
|
},
|
335
337
|
{
|
336
338
|
path: "/admin/terminal/pos",
|
@@ -339,7 +341,7 @@ const $n = {
|
|
339
341
|
sidebarDisplay: "POS",
|
340
342
|
section: "device"
|
341
343
|
},
|
342
|
-
component: () => import("./Terminal-
|
344
|
+
component: () => import("./Terminal-CDBNFPbr.js"),
|
343
345
|
props: {
|
344
346
|
type: "POS"
|
345
347
|
}
|
@@ -351,7 +353,7 @@ const $n = {
|
|
351
353
|
sidebarDisplay: "Kiosks",
|
352
354
|
section: "device"
|
353
355
|
},
|
354
|
-
component: () => import("./Terminal-
|
356
|
+
component: () => import("./Terminal-CDBNFPbr.js"),
|
355
357
|
props: {
|
356
358
|
type: "KIOSK"
|
357
359
|
}
|
@@ -363,7 +365,7 @@ const $n = {
|
|
363
365
|
sidebarDisplay: "Terminals",
|
364
366
|
section: "device"
|
365
367
|
},
|
366
|
-
component: () => import("./Terminal-
|
368
|
+
component: () => import("./Terminal-CDBNFPbr.js"),
|
367
369
|
props: {
|
368
370
|
type: "TERMINAL"
|
369
371
|
}
|
@@ -375,7 +377,7 @@ const $n = {
|
|
375
377
|
meta: {
|
376
378
|
parent: "mf-payment-admin.pos"
|
377
379
|
},
|
378
|
-
component: () => import("./TerminalSetting-
|
380
|
+
component: () => import("./TerminalSetting-pAsMFueM.js")
|
379
381
|
},
|
380
382
|
{
|
381
383
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -384,7 +386,7 @@ const $n = {
|
|
384
386
|
meta: {
|
385
387
|
parent: "mf-payment-admin.kiosk"
|
386
388
|
},
|
387
|
-
component: () => import("./TerminalSetting-
|
389
|
+
component: () => import("./TerminalSetting-pAsMFueM.js")
|
388
390
|
},
|
389
391
|
{
|
390
392
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -393,7 +395,7 @@ const $n = {
|
|
393
395
|
meta: {
|
394
396
|
parent: "mf-payment-admin.terminal"
|
395
397
|
},
|
396
|
-
component: () => import("./TerminalSetting-
|
398
|
+
component: () => import("./TerminalSetting-pAsMFueM.js")
|
397
399
|
},
|
398
400
|
{
|
399
401
|
path: "/admin/transaction",
|
@@ -401,7 +403,7 @@ const $n = {
|
|
401
403
|
meta: {
|
402
404
|
sidebarDisplay: "Transactions"
|
403
405
|
},
|
404
|
-
component: () => import("./Transaction-
|
406
|
+
component: () => import("./Transaction-DqvPuX4W.js")
|
405
407
|
},
|
406
408
|
{
|
407
409
|
path: "/admin/settlement",
|
@@ -409,7 +411,7 @@ const $n = {
|
|
409
411
|
meta: {
|
410
412
|
sidebarDisplay: "Settlements"
|
411
413
|
},
|
412
|
-
component: () => import("./Settlement-
|
414
|
+
component: () => import("./Settlement-BP4npkfA.js")
|
413
415
|
},
|
414
416
|
{
|
415
417
|
path: "/admin/settlement/:settlementId",
|
@@ -418,7 +420,7 @@ const $n = {
|
|
418
420
|
meta: {
|
419
421
|
parent: "mf-payment-admin.settlement"
|
420
422
|
},
|
421
|
-
component: () => import("./SettlementTransactions-
|
423
|
+
component: () => import("./SettlementTransactions-DyXb1ZAw.js")
|
422
424
|
}
|
423
425
|
], We = [
|
424
426
|
{
|
@@ -428,7 +430,7 @@ const $n = {
|
|
428
430
|
{
|
429
431
|
path: "/payout-account",
|
430
432
|
name: "mf-payment-payout-account",
|
431
|
-
component: () => import("./PayoutAccount-
|
433
|
+
component: () => import("./PayoutAccount-DTRSgLrZ.js"),
|
432
434
|
meta: {
|
433
435
|
sidebarDisplay: "i18n:routes.payout_account"
|
434
436
|
}
|
@@ -436,7 +438,7 @@ const $n = {
|
|
436
438
|
{
|
437
439
|
path: "/transaction-old",
|
438
440
|
name: "mf-payment-old-transaction",
|
439
|
-
component: () => import("./TransactionOld-
|
441
|
+
component: () => import("./TransactionOld-BOQ6tBqe.js"),
|
440
442
|
meta: {
|
441
443
|
sidebarDisplay: "i18n:routes.transaction"
|
442
444
|
}
|
@@ -444,7 +446,7 @@ const $n = {
|
|
444
446
|
{
|
445
447
|
path: "/transaction",
|
446
448
|
name: "mf-payment-transaction",
|
447
|
-
component: () => import("./Transaction-
|
449
|
+
component: () => import("./Transaction-W8sRSgGc.js"),
|
448
450
|
meta: {
|
449
451
|
sidebarDisplay: "i18n:routes.transaction-new",
|
450
452
|
sidebarNew: !0
|
@@ -453,7 +455,7 @@ const $n = {
|
|
453
455
|
{
|
454
456
|
path: "/settlement",
|
455
457
|
name: "mf-payment-settlement",
|
456
|
-
component: () => import("./Settlement-
|
458
|
+
component: () => import("./Settlement-Cie3vI3n.js"),
|
457
459
|
meta: {
|
458
460
|
sidebarDisplay: "i18n:routes.settlement"
|
459
461
|
}
|
@@ -462,7 +464,7 @@ const $n = {
|
|
462
464
|
path: "/settlement/:settlementId",
|
463
465
|
name: "mf-payment-settlement-transaction",
|
464
466
|
props: !0,
|
465
|
-
component: () => import("./SettlementTransactions-
|
467
|
+
component: () => import("./SettlementTransactions-bRdkx8o5.js"),
|
466
468
|
meta: {
|
467
469
|
parent: "mf-payment-settlement"
|
468
470
|
}
|
@@ -479,7 +481,7 @@ const $n = {
|
|
479
481
|
init: t
|
480
482
|
};
|
481
483
|
});
|
482
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_89205783-55a0-49f3-b7c5-10ea171f1384", 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_89205783-55a0-49f3-b7c5-10ea171f1384", 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_3VR6qsFe24IOxHP381VFxzjm2739Kp3reI8L", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "708", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6028", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14303739685", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b9605574e260fd49c432cc5c5d2f3eea578a0176", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YTg5ZTJjNWYtNTJiNi00ZTgzLWI2ZjktMjFmY2Q2OTgwMTQ5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDQxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YTg5ZTJjNWYtNTJiNi00ZTgzLWI2ZjktMjFmY2Q2OTgwMTQ5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDQxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiY2ExOTUzNjQtNTY2MS00OTRjLTk5ZjUtMjQxM2U2YjIzNTNkIiwic2lkIjoiZTcxZDNiN2EtNjk5Ny00MTU1LTgyZGUtM2YzZjNkMGM1MmZmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImI5NjA1NTc0ZTI2MGZkNDljNDMyY2M1YzVkMmYzZWVhNTc4YTAxNzZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDM3Mzk2ODVcIixcInJ1bl9udW1iZXJcIjpcIjE2NFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJiOTYwNTU3NGUyNjBmZDQ5YzQzMmNjNWM1ZDJmM2VlYTU3OGEwMTc2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJiOTYwNTU3NGUyNjBmZDQ5YzQzMmNjNWM1ZDJmM2VlYTU3OGEwMTc2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJhODllMmM1Zi01MmI2LTRlODMtYjZmOS0yMWZjZDY5ODAxNDkuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMTE2MjIsImV4cCI6MTc0NDAzNDQyMn0.r6LbxA_ArrDTcaQ69_6WIROfXjMd9nYIafuI7v98yoz5owTgCPzJ88euB_Kwz-k5iBDs0ncRWeD2pcyReeOxtFgRwfr5GXf06Tfimz7ciPrYax3ZGym2CoDyglNtJHZAVyR-B-BVvS5by_9WD0W8pMGL1x4cV20Oz2R9ezQ5NmvFvW6Yrj1zrxQ7WohXtThpP5cZVrwVP9vuGvx5-AHGn5slBJ0nAqNuosXorZ_8P0MNVx57vfjMRnYHdB0N8U19XbTxKdkUq1snJyNUduYCWE1D77mi6BeueAMjkIgD3mymAUkujBg2L7jZmslRry6V3_myWoOpO7pFWot80pFthg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744012258282-0.09335054937524889:/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--1744012258119-0.31327519926879166:/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--1744012257959-0.39213652275769606:/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_030e5190-c60d-43de-8d1a-bb2d46bcf34b", INVOCATION_ID: "73a9e09b03aa42daba80055efe38a364", 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: "164", 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 51", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.4", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "b9605574e260fd49c432cc5c5d2f3eea578a0176", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_89205783-55a0-49f3-b7c5-10ea171f1384", 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/a89e2c5f-52b6-4e83-b6f9-21fcd6980149/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_89205783-55a0-49f3-b7c5-10ea171f1384", 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_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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_ucjNzEuVpbtI2DLYyN3pJjF5Wd40t52a7E8x", 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: "710", 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: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6515", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14354318336", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2cd7fd640fdf5d0b683c246be27ac58374d0543f", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NzhiN2IxMDUtNmNlZi00YjdjLWE5OTItOWZmYWY3NmM5MTllOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDYwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NzhiN2IxMDUtNmNlZi00YjdjLWE5OTItOWZmYWY3NmM5MTllOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDYwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYzRiMjA0Y2YtZDdhYS00Mzc4LWE1ZWItMTNjYTc2ODg0NTMyIiwic2lkIjoiODIzNDY2NGYtYmQyYS00MTcxLTk1MTQtYWE3YzM0NmZiNDc3IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjJjZDdmZDY0MGZkZjVkMGI2ODNjMjQ2YmUyN2FjNTgzNzRkMDU0M2ZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzNTQzMTgzMzZcIixcInJ1bl9udW1iZXJcIjpcIjE2N1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIyY2Q3ZmQ2NDBmZGY1ZDBiNjgzYzI0NmJlMjdhYzU4Mzc0ZDA1NDNmXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIyY2Q3ZmQ2NDBmZGY1ZDBiNjgzYzI0NmJlMjdhYzU4Mzc0ZDA1NDNmXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3OGI3YjEwNS02Y2VmLTRiN2MtYTk5Mi05ZmZhZjc2YzkxOWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQxOTIwNDAsImV4cCI6MTc0NDIxNDg0MH0.C8V-lFAGr7nrLv0hgD1EwBfr5QR_GPUECL2DjoU2wJgKtjfNZG48yCTmwlULGYw-XXbStNgN8NujUjGnFU1M4_EzKYlOWN66QpbgxVCKt5B3-7vouv3HpEjoa-8F6lwDDyI8D1RnnLZsZddbJHfjc4KQH2xjnBavWscKuLgf6hSz792Ulf0QNCwl1gFvFbE2lgqmA40njjLN0OOBay7BFLh_sScfhcLBRCpvcXfcHuBOOQlcKfZBs7KLKeBdUdKzvVsUzYGKsQI0uy9ArsOaCaE6g5S0AHGCfVEFbRYvh76dDhr7CVS0jDWBqHPPKi-tUIJJazapbXEKuV4rGN8kSA", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744192683603-0.7869561287915965:/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--1744192683441-0.7444576447394244:/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--1744192683280-0.9084250907098568:/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_ec5cc2e6-9e51-41ac-af4f-6020dc630c46", INVOCATION_ID: "252f9cc21dfa45baa44e9c63d5c7db78", 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: "167", 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 261", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.6", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "2cd7fd640fdf5d0b683c246be27ac58374d0543f", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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/78b7b105-6cef-4b7c-a992-9ffaf76c919e/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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
483
485
|
/**
|
484
486
|
* @license
|
485
487
|
* Copyright 2017 Google LLC
|
@@ -523,7 +525,7 @@ const jt = function(n) {
|
|
523
525
|
}
|
524
526
|
}
|
525
527
|
return e.join("");
|
526
|
-
},
|
528
|
+
}, Ht = {
|
527
529
|
/**
|
528
530
|
* Maps bytes to characters.
|
529
531
|
*/
|
@@ -583,8 +585,8 @@ const jt = function(n) {
|
|
583
585
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
584
586
|
for (let i = 0; i < n.length; i += 3) {
|
585
587
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
586
|
-
let
|
587
|
-
o || (v = 64, a || (
|
588
|
+
let f = (c & 15) << 2 | l >> 6, v = l & 63;
|
589
|
+
o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
|
588
590
|
}
|
589
591
|
return r.join("");
|
590
592
|
},
|
@@ -636,8 +638,8 @@ const jt = function(n) {
|
|
636
638
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
637
639
|
if (++i, s == null || c == null || l == null || h == null)
|
638
640
|
throw new or();
|
639
|
-
const
|
640
|
-
if (r.push(
|
641
|
+
const f = s << 2 | c >> 4;
|
642
|
+
if (r.push(f), l !== 64) {
|
641
643
|
const v = c << 4 & 240 | l >> 2;
|
642
644
|
if (r.push(v), h !== 64) {
|
643
645
|
const F = l << 6 & 192 | h;
|
@@ -667,12 +669,12 @@ class or extends Error {
|
|
667
669
|
}
|
668
670
|
const cr = function(n) {
|
669
671
|
const e = jt(n);
|
670
|
-
return
|
672
|
+
return Ht.encodeByteArray(e, !0);
|
671
673
|
}, de = function(n) {
|
672
674
|
return cr(n).replace(/\./g, "");
|
673
|
-
},
|
675
|
+
}, Gt = function(n) {
|
674
676
|
try {
|
675
|
-
return
|
677
|
+
return Ht.decodeString(n, !0);
|
676
678
|
} catch (e) {
|
677
679
|
console.error("base64Decode failed: ", e);
|
678
680
|
}
|
@@ -734,7 +736,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
734
736
|
} catch {
|
735
737
|
return;
|
736
738
|
}
|
737
|
-
const e = n &&
|
739
|
+
const e = n && Gt(n[1]);
|
738
740
|
return e && JSON.parse(e);
|
739
741
|
}, ze = () => {
|
740
742
|
try {
|
@@ -743,11 +745,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
743
745
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
744
746
|
return;
|
745
747
|
}
|
746
|
-
},
|
748
|
+
}, Vt = (n) => {
|
747
749
|
var e, t;
|
748
750
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
749
751
|
}, Wa = (n) => {
|
750
|
-
const e =
|
752
|
+
const e = Vt(n);
|
751
753
|
if (!e)
|
752
754
|
return;
|
753
755
|
const t = e.lastIndexOf(":");
|
@@ -859,15 +861,15 @@ function za(n, e) {
|
|
859
861
|
* See the License for the specific language governing permissions and
|
860
862
|
* limitations under the License.
|
861
863
|
*/
|
862
|
-
function
|
864
|
+
function m() {
|
863
865
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
864
866
|
}
|
865
|
-
function
|
867
|
+
function fr() {
|
866
868
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
867
869
|
// just to deal with this case would probably be a bad idea.
|
868
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
870
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m());
|
869
871
|
}
|
870
|
-
function
|
872
|
+
function mr() {
|
871
873
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
872
874
|
}
|
873
875
|
function _r() {
|
@@ -878,7 +880,7 @@ function gr() {
|
|
878
880
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
879
881
|
}
|
880
882
|
function vr() {
|
881
|
-
const n =
|
883
|
+
const n = m();
|
882
884
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
883
885
|
}
|
884
886
|
function Ir() {
|
@@ -933,18 +935,18 @@ class q {
|
|
933
935
|
this.service = e, this.serviceName = t, this.errors = r;
|
934
936
|
}
|
935
937
|
create(e, ...t) {
|
936
|
-
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ?
|
938
|
+
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? Er(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
|
937
939
|
return new M(i, c, r);
|
938
940
|
}
|
939
941
|
}
|
940
|
-
function
|
941
|
-
return n.replace(
|
942
|
+
function Er(n, e) {
|
943
|
+
return n.replace(wr, (t, r) => {
|
942
944
|
const i = e[r];
|
943
945
|
return i != null ? String(i) : `<${r}?>`;
|
944
946
|
});
|
945
947
|
}
|
946
|
-
const
|
947
|
-
function
|
948
|
+
const wr = /\{\$([^}]+)}/g;
|
949
|
+
function Tr(n) {
|
948
950
|
for (const e in n)
|
949
951
|
if (Object.prototype.hasOwnProperty.call(n, e))
|
950
952
|
return !1;
|
@@ -1550,10 +1552,10 @@ let Ue = {
|
|
1550
1552
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1551
1553
|
}
|
1552
1554
|
};
|
1553
|
-
function
|
1555
|
+
function Hr(n) {
|
1554
1556
|
Ue = n(Ue);
|
1555
1557
|
}
|
1556
|
-
function
|
1558
|
+
function Gr(n) {
|
1557
1559
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1558
1560
|
const r = n.call(Ae(this), e, ...t);
|
1559
1561
|
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
@@ -1563,15 +1565,15 @@ function Hr(n) {
|
|
1563
1565
|
return C(n.apply(Ae(this), e));
|
1564
1566
|
};
|
1565
1567
|
}
|
1566
|
-
function
|
1567
|
-
return typeof n == "function" ?
|
1568
|
+
function Vr(n) {
|
1569
|
+
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1568
1570
|
}
|
1569
1571
|
function C(n) {
|
1570
1572
|
if (n instanceof IDBRequest)
|
1571
1573
|
return xr(n);
|
1572
1574
|
if (Se.has(n))
|
1573
1575
|
return Se.get(n);
|
1574
|
-
const e =
|
1576
|
+
const e = Vr(n);
|
1575
1577
|
return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
|
1576
1578
|
}
|
1577
1579
|
const Ae = (n) => Ze.get(n);
|
@@ -1611,7 +1613,7 @@ function ut(n, e) {
|
|
1611
1613
|
};
|
1612
1614
|
return Oe.set(e, s), s;
|
1613
1615
|
}
|
1614
|
-
|
1616
|
+
Hr((n) => ({
|
1615
1617
|
...n,
|
1616
1618
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1617
1619
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1669,7 +1671,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1669
1671
|
* See the License for the specific language governing permissions and
|
1670
1672
|
* limitations under the License.
|
1671
1673
|
*/
|
1672
|
-
const
|
1674
|
+
const w = new Zt("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", fi = "@firebase/remote-config-compat", mi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1673
1675
|
/**
|
1674
1676
|
* @license
|
1675
1677
|
* Copyright 2019 Google LLC
|
@@ -1686,11 +1688,11 @@ const E = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1686
1688
|
* See the License for the specific language governing permissions and
|
1687
1689
|
* limitations under the License.
|
1688
1690
|
*/
|
1689
|
-
const Fe = "[DEFAULT]",
|
1691
|
+
const Fe = "[DEFAULT]", Ei = {
|
1690
1692
|
[Be]: "fire-core",
|
1691
|
-
[
|
1693
|
+
[Yr]: "fire-core-compat",
|
1692
1694
|
[Kr]: "fire-analytics",
|
1693
|
-
[
|
1695
|
+
[Xr]: "fire-analytics-compat",
|
1694
1696
|
[Qr]: "fire-app-check",
|
1695
1697
|
[qr]: "fire-app-check-compat",
|
1696
1698
|
[ei]: "fire-auth",
|
@@ -1707,8 +1709,8 @@ const Fe = "[DEFAULT]", Ti = {
|
|
1707
1709
|
[ui]: "fire-perf",
|
1708
1710
|
[hi]: "fire-perf-compat",
|
1709
1711
|
[pi]: "fire-rc",
|
1710
|
-
[
|
1711
|
-
[
|
1712
|
+
[fi]: "fire-rc-compat",
|
1713
|
+
[mi]: "fire-gcs",
|
1712
1714
|
[_i]: "fire-gcs-compat",
|
1713
1715
|
[gi]: "fire-fst",
|
1714
1716
|
[Ii]: "fire-fst-compat",
|
@@ -1732,26 +1734,26 @@ const Fe = "[DEFAULT]", Ti = {
|
|
1732
1734
|
* See the License for the specific language governing permissions and
|
1733
1735
|
* limitations under the License.
|
1734
1736
|
*/
|
1735
|
-
const he = /* @__PURE__ */ new Map(),
|
1737
|
+
const he = /* @__PURE__ */ new Map(), wi = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
|
1736
1738
|
function pt(n, e) {
|
1737
1739
|
try {
|
1738
1740
|
n.container.addComponent(e);
|
1739
1741
|
} catch (t) {
|
1740
|
-
|
1742
|
+
w.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1741
1743
|
}
|
1742
1744
|
}
|
1743
|
-
function
|
1745
|
+
function Y(n) {
|
1744
1746
|
const e = n.name;
|
1745
1747
|
if (xe.has(e))
|
1746
|
-
return
|
1748
|
+
return w.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1747
1749
|
xe.set(e, n);
|
1748
1750
|
for (const t of he.values())
|
1749
1751
|
pt(t, n);
|
1750
|
-
for (const t of
|
1752
|
+
for (const t of wi.values())
|
1751
1753
|
pt(t, n);
|
1752
1754
|
return !0;
|
1753
1755
|
}
|
1754
|
-
function
|
1756
|
+
function Yt(n, e) {
|
1755
1757
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1756
1758
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1757
1759
|
}
|
@@ -1774,7 +1776,7 @@ function I(n) {
|
|
1774
1776
|
* See the License for the specific language governing permissions and
|
1775
1777
|
* limitations under the License.
|
1776
1778
|
*/
|
1777
|
-
const
|
1779
|
+
const Ti = {
|
1778
1780
|
"no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
|
1779
1781
|
"bad-app-name": "Illegal App name: '{$appName}'",
|
1780
1782
|
"duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
|
@@ -1789,7 +1791,7 @@ const wi = {
|
|
1789
1791
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1790
1792
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1791
1793
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1792
|
-
}, D = new q("app", "Firebase",
|
1794
|
+
}, D = new q("app", "Firebase", Ti);
|
1793
1795
|
/**
|
1794
1796
|
* @license
|
1795
1797
|
* Copyright 2019 Google LLC
|
@@ -1865,7 +1867,7 @@ class Ri {
|
|
1865
1867
|
* limitations under the License.
|
1866
1868
|
*/
|
1867
1869
|
const ee = yi;
|
1868
|
-
function
|
1870
|
+
function Xt(n, e = {}) {
|
1869
1871
|
let t = n;
|
1870
1872
|
typeof e != "object" && (e = { name: e });
|
1871
1873
|
const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1893,24 +1895,24 @@ function Yt(n, e = {}) {
|
|
1893
1895
|
function ki(n = Fe) {
|
1894
1896
|
const e = he.get(n);
|
1895
1897
|
if (!e && n === Fe && Wt())
|
1896
|
-
return
|
1898
|
+
return Xt();
|
1897
1899
|
if (!e)
|
1898
1900
|
throw D.create("no-app", { appName: n });
|
1899
1901
|
return e;
|
1900
1902
|
}
|
1901
1903
|
function j(n, e, t) {
|
1902
1904
|
var r;
|
1903
|
-
let i = (r =
|
1905
|
+
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1904
1906
|
t && (i += `-${t}`);
|
1905
1907
|
const s = i.match(/\s|\//), a = e.match(/\s|\//);
|
1906
1908
|
if (s || a) {
|
1907
1909
|
const c = [
|
1908
1910
|
`Unable to register library "${i}" with version "${e}":`
|
1909
1911
|
];
|
1910
|
-
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1912
|
+
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), w.warn(c.join(" "));
|
1911
1913
|
return;
|
1912
1914
|
}
|
1913
|
-
|
1915
|
+
Y(new W(
|
1914
1916
|
`${i}-version`,
|
1915
1917
|
() => ({ library: i, version: e }),
|
1916
1918
|
"VERSION"
|
@@ -1933,7 +1935,7 @@ function j(n, e, t) {
|
|
1933
1935
|
* See the License for the specific language governing permissions and
|
1934
1936
|
* limitations under the License.
|
1935
1937
|
*/
|
1936
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1938
|
+
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1937
1939
|
let Ne = null;
|
1938
1940
|
function Kt() {
|
1939
1941
|
return Ne || (Ne = Wr(Si, Ai, {
|
@@ -1941,7 +1943,7 @@ function Kt() {
|
|
1941
1943
|
switch (e) {
|
1942
1944
|
case 0:
|
1943
1945
|
try {
|
1944
|
-
n.createObjectStore(
|
1946
|
+
n.createObjectStore(X);
|
1945
1947
|
} catch (t) {
|
1946
1948
|
console.warn(t);
|
1947
1949
|
}
|
@@ -1955,31 +1957,31 @@ function Kt() {
|
|
1955
1957
|
}
|
1956
1958
|
async function Oi(n) {
|
1957
1959
|
try {
|
1958
|
-
const t = (await Kt()).transaction(
|
1960
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1959
1961
|
return await t.done, r;
|
1960
1962
|
} catch (e) {
|
1961
1963
|
if (e instanceof M)
|
1962
|
-
|
1964
|
+
w.warn(e.message);
|
1963
1965
|
else {
|
1964
1966
|
const t = D.create("idb-get", {
|
1965
1967
|
originalErrorMessage: e == null ? void 0 : e.message
|
1966
1968
|
});
|
1967
|
-
|
1969
|
+
w.warn(t.message);
|
1968
1970
|
}
|
1969
1971
|
}
|
1970
1972
|
}
|
1971
|
-
async function
|
1973
|
+
async function ft(n, e) {
|
1972
1974
|
try {
|
1973
|
-
const r = (await Kt()).transaction(
|
1974
|
-
await r.objectStore(
|
1975
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1976
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1975
1977
|
} catch (t) {
|
1976
1978
|
if (t instanceof M)
|
1977
|
-
|
1979
|
+
w.warn(t.message);
|
1978
1980
|
else {
|
1979
1981
|
const r = D.create("idb-set", {
|
1980
1982
|
originalErrorMessage: t == null ? void 0 : t.message
|
1981
1983
|
});
|
1982
|
-
|
1984
|
+
w.warn(r.message);
|
1983
1985
|
}
|
1984
1986
|
}
|
1985
1987
|
}
|
@@ -2019,13 +2021,13 @@ class Di {
|
|
2019
2021
|
async triggerHeartbeat() {
|
2020
2022
|
var e, t;
|
2021
2023
|
try {
|
2022
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2024
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
2023
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) => {
|
2024
2026
|
const c = new Date(a.date).valueOf();
|
2025
2027
|
return Date.now() - c <= Ci;
|
2026
2028
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2027
2029
|
} catch (r) {
|
2028
|
-
|
2030
|
+
w.warn(r);
|
2029
2031
|
}
|
2030
2032
|
}
|
2031
2033
|
/**
|
@@ -2040,14 +2042,14 @@ class Di {
|
|
2040
2042
|
try {
|
2041
2043
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2042
2044
|
return "";
|
2043
|
-
const t =
|
2045
|
+
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2044
2046
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2045
2047
|
} catch (t) {
|
2046
|
-
return
|
2048
|
+
return w.warn(t), "";
|
2047
2049
|
}
|
2048
2050
|
}
|
2049
2051
|
}
|
2050
|
-
function
|
2052
|
+
function mt() {
|
2051
2053
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2052
2054
|
}
|
2053
2055
|
function Pi(n, e = Ni) {
|
@@ -2096,7 +2098,7 @@ class Mi {
|
|
2096
2098
|
var t;
|
2097
2099
|
if (await this._canUseIndexedDBPromise) {
|
2098
2100
|
const i = await this.read();
|
2099
|
-
return
|
2101
|
+
return ft(this.app, {
|
2100
2102
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2101
2103
|
heartbeats: e.heartbeats
|
2102
2104
|
});
|
@@ -2108,7 +2110,7 @@ class Mi {
|
|
2108
2110
|
var t;
|
2109
2111
|
if (await this._canUseIndexedDBPromise) {
|
2110
2112
|
const i = await this.read();
|
2111
|
-
return
|
2113
|
+
return ft(this.app, {
|
2112
2114
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2113
2115
|
heartbeats: [
|
2114
2116
|
...i.heartbeats,
|
@@ -2142,12 +2144,12 @@ function _t(n) {
|
|
2142
2144
|
* limitations under the License.
|
2143
2145
|
*/
|
2144
2146
|
function Li(n) {
|
2145
|
-
|
2147
|
+
Y(new W(
|
2146
2148
|
"platform-logger",
|
2147
2149
|
(e) => new $r(e),
|
2148
2150
|
"PRIVATE"
|
2149
2151
|
/* ComponentType.PRIVATE */
|
2150
|
-
)),
|
2152
|
+
)), Y(new W(
|
2151
2153
|
"heartbeat",
|
2152
2154
|
(e) => new Di(e),
|
2153
2155
|
"PRIVATE"
|
@@ -2235,7 +2237,7 @@ function se(n, ...e) {
|
|
2235
2237
|
* See the License for the specific language governing permissions and
|
2236
2238
|
* limitations under the License.
|
2237
2239
|
*/
|
2238
|
-
function
|
2240
|
+
function T(n, ...e) {
|
2239
2241
|
throw Je(n, ...e);
|
2240
2242
|
}
|
2241
2243
|
function _(n, ...e) {
|
@@ -2311,7 +2313,7 @@ function vt() {
|
|
2311
2313
|
* See the License for the specific language governing permissions and
|
2312
2314
|
* limitations under the License.
|
2313
2315
|
*/
|
2314
|
-
function
|
2316
|
+
function Hi() {
|
2315
2317
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2316
2318
|
// This is especially true for Cordova apps which have unreliable
|
2317
2319
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
@@ -2319,7 +2321,7 @@ function Vi() {
|
|
2319
2321
|
// defines navigator.connection.
|
2320
2322
|
(ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2321
2323
|
}
|
2322
|
-
function
|
2324
|
+
function Gi() {
|
2323
2325
|
if (typeof navigator > "u")
|
2324
2326
|
return null;
|
2325
2327
|
const n = navigator;
|
@@ -2349,10 +2351,10 @@ function Hi() {
|
|
2349
2351
|
*/
|
2350
2352
|
class te {
|
2351
2353
|
constructor(e, t) {
|
2352
|
-
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile =
|
2354
|
+
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = fr() || gr();
|
2353
2355
|
}
|
2354
2356
|
get() {
|
2355
|
-
return
|
2357
|
+
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2356
2358
|
}
|
2357
2359
|
}
|
2358
2360
|
/**
|
@@ -2371,7 +2373,7 @@ class te {
|
|
2371
2373
|
* See the License for the specific language governing permissions and
|
2372
2374
|
* limitations under the License.
|
2373
2375
|
*/
|
2374
|
-
function
|
2376
|
+
function Ye(n, e) {
|
2375
2377
|
R(n.emulator, "Emulator should always be set here");
|
2376
2378
|
const { url: t } = n.emulator;
|
2377
2379
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2446,7 +2448,7 @@ class nn {
|
|
2446
2448
|
* See the License for the specific language governing permissions and
|
2447
2449
|
* limitations under the License.
|
2448
2450
|
*/
|
2449
|
-
const
|
2451
|
+
const Vi = {
|
2450
2452
|
// Custom token errors.
|
2451
2453
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2452
2454
|
// This can only happen if the SDK sends a bad request.
|
@@ -2559,12 +2561,12 @@ async function Z(n, e, t, r, i = {}) {
|
|
2559
2561
|
method: e,
|
2560
2562
|
headers: o
|
2561
2563
|
}, s);
|
2562
|
-
return
|
2564
|
+
return mr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2563
2565
|
});
|
2564
2566
|
}
|
2565
2567
|
async function rn(n, e, t) {
|
2566
2568
|
n._canInitEmulator = !1;
|
2567
|
-
const r = Object.assign(Object.assign({},
|
2569
|
+
const r = Object.assign(Object.assign({}, Vi), e);
|
2568
2570
|
try {
|
2569
2571
|
const i = new zi(n), s = await Promise.race([
|
2570
2572
|
t(),
|
@@ -2587,23 +2589,23 @@ async function rn(n, e, t) {
|
|
2587
2589
|
const d = r[o] || o.toLowerCase().replace(/[_\s]+/g, "-");
|
2588
2590
|
if (l)
|
2589
2591
|
throw tn(n, d, l);
|
2590
|
-
|
2592
|
+
T(n, d);
|
2591
2593
|
}
|
2592
2594
|
} catch (i) {
|
2593
2595
|
if (i instanceof M)
|
2594
2596
|
throw i;
|
2595
|
-
|
2597
|
+
T(n, "network-request-failed", { message: String(i) });
|
2596
2598
|
}
|
2597
2599
|
}
|
2598
2600
|
async function sn(n, e, t, r, i = {}) {
|
2599
2601
|
const s = await Z(n, e, t, r, i);
|
2600
|
-
return "mfaPendingCredential" in s &&
|
2602
|
+
return "mfaPendingCredential" in s && T(n, "multi-factor-auth-required", {
|
2601
2603
|
_serverResponse: s
|
2602
2604
|
}), s;
|
2603
2605
|
}
|
2604
2606
|
function an(n, e, t, r) {
|
2605
2607
|
const i = `${e}${t}?${r}`;
|
2606
|
-
return n.config.emulator ?
|
2608
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2607
2609
|
}
|
2608
2610
|
class zi {
|
2609
2611
|
constructor(e) {
|
@@ -2675,7 +2677,7 @@ function J(n) {
|
|
2675
2677
|
}
|
2676
2678
|
}
|
2677
2679
|
async function $i(n, e = !1) {
|
2678
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2680
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2679
2681
|
u(
|
2680
2682
|
i && i.exp && i.auth_time && i.iat,
|
2681
2683
|
t.auth,
|
@@ -2696,19 +2698,19 @@ async function $i(n, e = !1) {
|
|
2696
2698
|
function Ce(n) {
|
2697
2699
|
return Number(n) * 1e3;
|
2698
2700
|
}
|
2699
|
-
function
|
2701
|
+
function Xe(n) {
|
2700
2702
|
const [e, t, r] = n.split(".");
|
2701
2703
|
if (e === void 0 || t === void 0 || r === void 0)
|
2702
2704
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2703
2705
|
try {
|
2704
|
-
const i =
|
2706
|
+
const i = Gt(t);
|
2705
2707
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2706
2708
|
} catch (i) {
|
2707
2709
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2708
2710
|
}
|
2709
2711
|
}
|
2710
2712
|
function It(n) {
|
2711
|
-
const e =
|
2713
|
+
const e = Xe(n);
|
2712
2714
|
return u(
|
2713
2715
|
e,
|
2714
2716
|
"internal-error"
|
@@ -2767,7 +2769,7 @@ function Ji({ code: n }) {
|
|
2767
2769
|
* See the License for the specific language governing permissions and
|
2768
2770
|
* limitations under the License.
|
2769
2771
|
*/
|
2770
|
-
class
|
2772
|
+
class Yi {
|
2771
2773
|
constructor(e) {
|
2772
2774
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2773
2775
|
}
|
@@ -2829,7 +2831,7 @@ class Xi {
|
|
2829
2831
|
* See the License for the specific language governing permissions and
|
2830
2832
|
* limitations under the License.
|
2831
2833
|
*/
|
2832
|
-
class
|
2834
|
+
class He {
|
2833
2835
|
constructor(e, t) {
|
2834
2836
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2835
2837
|
}
|
@@ -2862,7 +2864,7 @@ class Ve {
|
|
2862
2864
|
* See the License for the specific language governing permissions and
|
2863
2865
|
* limitations under the License.
|
2864
2866
|
*/
|
2865
|
-
async function
|
2867
|
+
async function fe(n) {
|
2866
2868
|
var e;
|
2867
2869
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2868
2870
|
u(
|
@@ -2882,14 +2884,14 @@ async function me(n) {
|
|
2882
2884
|
phoneNumber: s.phoneNumber || null,
|
2883
2885
|
tenantId: s.tenantId || null,
|
2884
2886
|
providerData: c,
|
2885
|
-
metadata: new
|
2887
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2886
2888
|
isAnonymous: d
|
2887
2889
|
};
|
2888
2890
|
Object.assign(n, h);
|
2889
2891
|
}
|
2890
|
-
async function
|
2892
|
+
async function Xi(n) {
|
2891
2893
|
const e = z(n);
|
2892
|
-
await
|
2894
|
+
await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2893
2895
|
}
|
2894
2896
|
function Ki(n, e) {
|
2895
2897
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
@@ -2963,7 +2965,7 @@ async function Qi(n, e) {
|
|
2963
2965
|
* See the License for the specific language governing permissions and
|
2964
2966
|
* limitations under the License.
|
2965
2967
|
*/
|
2966
|
-
class
|
2968
|
+
class H {
|
2967
2969
|
constructor() {
|
2968
2970
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2969
2971
|
}
|
@@ -3015,7 +3017,7 @@ class V {
|
|
3015
3017
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3016
3018
|
}
|
3017
3019
|
static fromJSON(e, t) {
|
3018
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3020
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
|
3019
3021
|
return r && (u(typeof r == "string", "internal-error", {
|
3020
3022
|
appName: e
|
3021
3023
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3035,7 +3037,7 @@ class V {
|
|
3035
3037
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3036
3038
|
}
|
3037
3039
|
_clone() {
|
3038
|
-
return Object.assign(new
|
3040
|
+
return Object.assign(new H(), this.toJSON());
|
3039
3041
|
}
|
3040
3042
|
_performRefresh() {
|
3041
3043
|
return b("not implemented");
|
@@ -3063,7 +3065,7 @@ function k(n, e) {
|
|
3063
3065
|
class y {
|
3064
3066
|
constructor(e) {
|
3065
3067
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
3066
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
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 He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3067
3069
|
}
|
3068
3070
|
async getIdToken(e) {
|
3069
3071
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3078,7 +3080,7 @@ class y {
|
|
3078
3080
|
return $i(this, e);
|
3079
3081
|
}
|
3080
3082
|
reload() {
|
3081
|
-
return
|
3083
|
+
return Xi(this);
|
3082
3084
|
}
|
3083
3085
|
_assign(e) {
|
3084
3086
|
this !== e && (u(
|
@@ -3111,7 +3113,7 @@ class y {
|
|
3111
3113
|
}
|
3112
3114
|
async _updateTokensIfNecessary(e, t = !1) {
|
3113
3115
|
let r = !1;
|
3114
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3116
|
+
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3115
3117
|
}
|
3116
3118
|
async delete() {
|
3117
3119
|
if (I(this.auth.app))
|
@@ -3145,20 +3147,20 @@ class y {
|
|
3145
3147
|
}
|
3146
3148
|
static _fromJSON(e, t) {
|
3147
3149
|
var r, i, s, a, c, o, l, d;
|
3148
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3150
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: we, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: at } = t;
|
3149
3151
|
u(
|
3150
|
-
|
3152
|
+
we && at,
|
3151
3153
|
e,
|
3152
3154
|
"internal-error"
|
3153
3155
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3154
3156
|
);
|
3155
|
-
const Pn =
|
3157
|
+
const Pn = H.fromJSON(this.name, at);
|
3156
3158
|
u(
|
3157
|
-
typeof
|
3159
|
+
typeof we == "string",
|
3158
3160
|
e,
|
3159
3161
|
"internal-error"
|
3160
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3161
|
-
), k(h, e.name), k(
|
3163
|
+
), k(h, e.name), k(f, e.name), u(
|
3162
3164
|
typeof it == "boolean",
|
3163
3165
|
e,
|
3164
3166
|
"internal-error"
|
@@ -3168,11 +3170,11 @@ class y {
|
|
3168
3170
|
e,
|
3169
3171
|
"internal-error"
|
3170
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3171
|
-
), k(v, e.name), k(F, e.name), k(tt, e.name), k(
|
3173
|
+
), k(v, e.name), k(F, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3172
3174
|
const Re = new y({
|
3173
|
-
uid:
|
3175
|
+
uid: we,
|
3174
3176
|
auth: e,
|
3175
|
-
email:
|
3177
|
+
email: f,
|
3176
3178
|
emailVerified: it,
|
3177
3179
|
displayName: h,
|
3178
3180
|
isAnonymous: st,
|
@@ -3183,7 +3185,7 @@ class y {
|
|
3183
3185
|
createdAt: nt,
|
3184
3186
|
lastLoginAt: rt
|
3185
3187
|
});
|
3186
|
-
return
|
3188
|
+
return Te && Array.isArray(Te) && (Re.providerData = Te.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
3187
3189
|
}
|
3188
3190
|
/**
|
3189
3191
|
* Initialize a User from an idToken server response
|
@@ -3191,7 +3193,7 @@ class y {
|
|
3191
3193
|
* @param idTokenResponse
|
3192
3194
|
*/
|
3193
3195
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3194
|
-
const i = new
|
3196
|
+
const i = new H();
|
3195
3197
|
i.updateFromServerResponse(t);
|
3196
3198
|
const s = new y({
|
3197
3199
|
uid: t.localId,
|
@@ -3199,7 +3201,7 @@ class y {
|
|
3199
3201
|
stsTokenManager: i,
|
3200
3202
|
isAnonymous: r
|
3201
3203
|
});
|
3202
|
-
return await
|
3204
|
+
return await fe(s), s;
|
3203
3205
|
}
|
3204
3206
|
/**
|
3205
3207
|
* Initialize a User from an idToken server response
|
@@ -3213,7 +3215,7 @@ class y {
|
|
3213
3215
|
"internal-error"
|
3214
3216
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3215
3217
|
);
|
3216
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3218
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
|
3217
3219
|
c.updateFromIdToken(r);
|
3218
3220
|
const o = new y({
|
3219
3221
|
uid: i.localId,
|
@@ -3229,7 +3231,7 @@ class y {
|
|
3229
3231
|
phoneNumber: i.phoneNumber || null,
|
3230
3232
|
tenantId: i.tenantId || null,
|
3231
3233
|
providerData: s,
|
3232
|
-
metadata: new
|
3234
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
3233
3235
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3234
3236
|
};
|
3235
3237
|
return Object.assign(o, l), o;
|
@@ -3252,7 +3254,7 @@ class y {
|
|
3252
3254
|
* limitations under the License.
|
3253
3255
|
*/
|
3254
3256
|
const bt = /* @__PURE__ */ new Map();
|
3255
|
-
function
|
3257
|
+
function E(n) {
|
3256
3258
|
R(n instanceof Function, "Expected a class definition");
|
3257
3259
|
let e = bt.get(n);
|
3258
3260
|
return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
@@ -3316,7 +3318,7 @@ const yt = ln;
|
|
3316
3318
|
function ae(n, e, t) {
|
3317
3319
|
return `firebase:${n}:${e}:${t}`;
|
3318
3320
|
}
|
3319
|
-
class
|
3321
|
+
class G {
|
3320
3322
|
constructor(e, t, r) {
|
3321
3323
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3322
3324
|
const { config: i, name: s } = this.auth;
|
@@ -3347,12 +3349,12 @@ class H {
|
|
3347
3349
|
}
|
3348
3350
|
static async create(e, t, r = "authUser") {
|
3349
3351
|
if (!t.length)
|
3350
|
-
return new
|
3352
|
+
return new G(E(yt), e, r);
|
3351
3353
|
const i = (await Promise.all(t.map(async (l) => {
|
3352
3354
|
if (await l._isAvailable())
|
3353
3355
|
return l;
|
3354
3356
|
}))).filter((l) => l);
|
3355
|
-
let s = i[0] ||
|
3357
|
+
let s = i[0] || E(yt);
|
3356
3358
|
const a = ae(r, e.config.apiKey, e.name);
|
3357
3359
|
let c = null;
|
3358
3360
|
for (const l of t)
|
@@ -3366,13 +3368,13 @@ class H {
|
|
3366
3368
|
} catch {
|
3367
3369
|
}
|
3368
3370
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3369
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3371
|
+
return !s._shouldAllowMigration || !o.length ? new G(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3370
3372
|
if (l !== s)
|
3371
3373
|
try {
|
3372
3374
|
await l._remove(a);
|
3373
3375
|
} catch {
|
3374
3376
|
}
|
3375
|
-
})), new
|
3377
|
+
})), new G(s, e, r));
|
3376
3378
|
}
|
3377
3379
|
}
|
3378
3380
|
/**
|
@@ -3391,7 +3393,7 @@ class H {
|
|
3391
3393
|
* See the License for the specific language governing permissions and
|
3392
3394
|
* limitations under the License.
|
3393
3395
|
*/
|
3394
|
-
function
|
3396
|
+
function Et(n) {
|
3395
3397
|
const e = n.toLowerCase();
|
3396
3398
|
if (e.includes("opera/") || e.includes("opr/") || e.includes("opios/"))
|
3397
3399
|
return "Opera";
|
@@ -3405,7 +3407,7 @@ function Tt(n) {
|
|
3405
3407
|
return "Firefox";
|
3406
3408
|
if (e.includes("silk/"))
|
3407
3409
|
return "Silk";
|
3408
|
-
if (
|
3410
|
+
if (mn(e))
|
3409
3411
|
return "Blackberry";
|
3410
3412
|
if (_n(e))
|
3411
3413
|
return "Webos";
|
@@ -3413,7 +3415,7 @@ function Tt(n) {
|
|
3413
3415
|
return "Safari";
|
3414
3416
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3415
3417
|
return "Chrome";
|
3416
|
-
if (
|
3418
|
+
if (fn(e))
|
3417
3419
|
return "Android";
|
3418
3420
|
{
|
3419
3421
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3422,40 +3424,40 @@ function Tt(n) {
|
|
3422
3424
|
}
|
3423
3425
|
return "Other";
|
3424
3426
|
}
|
3425
|
-
function dn(n =
|
3427
|
+
function dn(n = m()) {
|
3426
3428
|
return /firefox\//i.test(n);
|
3427
3429
|
}
|
3428
|
-
function un(n =
|
3430
|
+
function un(n = m()) {
|
3429
3431
|
const e = n.toLowerCase();
|
3430
3432
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3431
3433
|
}
|
3432
|
-
function hn(n =
|
3434
|
+
function hn(n = m()) {
|
3433
3435
|
return /crios\//i.test(n);
|
3434
3436
|
}
|
3435
|
-
function pn(n =
|
3437
|
+
function pn(n = m()) {
|
3436
3438
|
return /iemobile/i.test(n);
|
3437
3439
|
}
|
3438
|
-
function
|
3440
|
+
function fn(n = m()) {
|
3439
3441
|
return /android/i.test(n);
|
3440
3442
|
}
|
3441
|
-
function
|
3443
|
+
function mn(n = m()) {
|
3442
3444
|
return /blackberry/i.test(n);
|
3443
3445
|
}
|
3444
|
-
function _n(n =
|
3446
|
+
function _n(n = m()) {
|
3445
3447
|
return /webos/i.test(n);
|
3446
3448
|
}
|
3447
|
-
function Ke(n =
|
3449
|
+
function Ke(n = m()) {
|
3448
3450
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3449
3451
|
}
|
3450
|
-
function es(n =
|
3452
|
+
function es(n = m()) {
|
3451
3453
|
var e;
|
3452
3454
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3453
3455
|
}
|
3454
3456
|
function ts() {
|
3455
3457
|
return vr() && document.documentMode === 10;
|
3456
3458
|
}
|
3457
|
-
function gn(n =
|
3458
|
-
return Ke(n) ||
|
3459
|
+
function gn(n = m()) {
|
3460
|
+
return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
|
3459
3461
|
}
|
3460
3462
|
/**
|
3461
3463
|
* @license
|
@@ -3477,10 +3479,10 @@ function vn(n, e = []) {
|
|
3477
3479
|
let t;
|
3478
3480
|
switch (n) {
|
3479
3481
|
case "Browser":
|
3480
|
-
t =
|
3482
|
+
t = Et(m());
|
3481
3483
|
break;
|
3482
3484
|
case "Worker":
|
3483
|
-
t = `${
|
3485
|
+
t = `${Et(m())}-${n}`;
|
3484
3486
|
break;
|
3485
3487
|
default:
|
3486
3488
|
t = n;
|
@@ -3668,12 +3670,12 @@ class ss {
|
|
3668
3670
|
*/
|
3669
3671
|
class as {
|
3670
3672
|
constructor(e, t, r, i) {
|
3671
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new
|
3673
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new wt(this), this.idTokenSubscription = new wt(this), this.beforeStateQueue = new ns(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3672
3674
|
}
|
3673
3675
|
_initializeWithPersistence(e, t) {
|
3674
|
-
return t && (this._popupRedirectResolver =
|
3676
|
+
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3675
3677
|
var r, i;
|
3676
|
-
if (!this._deleted && (this.persistenceManager = await
|
3678
|
+
if (!this._deleted && (this.persistenceManager = await G.create(this, e), !this._deleted)) {
|
3677
3679
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3678
3680
|
try {
|
3679
3681
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3754,7 +3756,7 @@ class as {
|
|
3754
3756
|
}
|
3755
3757
|
async reloadAndSetCurrentUserOrClear(e) {
|
3756
3758
|
try {
|
3757
|
-
await
|
3759
|
+
await fe(e);
|
3758
3760
|
} catch (t) {
|
3759
3761
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3760
3762
|
return this.directlySetCurrentUser(null);
|
@@ -3762,7 +3764,7 @@ class as {
|
|
3762
3764
|
return this.directlySetCurrentUser(e);
|
3763
3765
|
}
|
3764
3766
|
useDeviceLanguage() {
|
3765
|
-
this.languageCode =
|
3767
|
+
this.languageCode = Gi();
|
3766
3768
|
}
|
3767
3769
|
async _delete() {
|
3768
3770
|
this._deleted = !0;
|
@@ -3798,7 +3800,7 @@ class as {
|
|
3798
3800
|
}
|
3799
3801
|
setPersistence(e) {
|
3800
3802
|
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3801
|
-
await this.assertedPersistence.setPersistence(
|
3803
|
+
await this.assertedPersistence.setPersistence(E(e));
|
3802
3804
|
});
|
3803
3805
|
}
|
3804
3806
|
_getRecaptchaConfig() {
|
@@ -3871,15 +3873,15 @@ class as {
|
|
3871
3873
|
}
|
3872
3874
|
async getOrInitRedirectPersistenceManager(e) {
|
3873
3875
|
if (!this.redirectPersistenceManager) {
|
3874
|
-
const t = e &&
|
3876
|
+
const t = e && E(e) || this._popupRedirectResolver;
|
3875
3877
|
u(
|
3876
3878
|
t,
|
3877
3879
|
this,
|
3878
3880
|
"argument-error"
|
3879
3881
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3880
|
-
), this.redirectPersistenceManager = await
|
3882
|
+
), this.redirectPersistenceManager = await G.create(
|
3881
3883
|
this,
|
3882
|
-
[
|
3884
|
+
[E(t._redirectPersistence)],
|
3883
3885
|
"redirectUser"
|
3884
3886
|
/* KeyName.REDIRECT_USER */
|
3885
3887
|
), this.redirectUser = await this.redirectPersistenceManager.getCurrentUser();
|
@@ -4002,7 +4004,7 @@ class as {
|
|
4002
4004
|
function Ie(n) {
|
4003
4005
|
return z(n);
|
4004
4006
|
}
|
4005
|
-
class
|
4007
|
+
class wt {
|
4006
4008
|
constructor(e) {
|
4007
4009
|
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4008
4010
|
}
|
@@ -4068,12 +4070,12 @@ function ds(n) {
|
|
4068
4070
|
* limitations under the License.
|
4069
4071
|
*/
|
4070
4072
|
function us(n, e) {
|
4071
|
-
const t =
|
4073
|
+
const t = Yt(n, "auth");
|
4072
4074
|
if (t.isInitialized()) {
|
4073
4075
|
const i = t.getImmediate(), s = t.getOptions();
|
4074
4076
|
if (ue(s, e ?? {}))
|
4075
4077
|
return i;
|
4076
|
-
|
4078
|
+
T(
|
4077
4079
|
i,
|
4078
4080
|
"already-initialized"
|
4079
4081
|
/* AuthErrorCode.ALREADY_INITIALIZED */
|
@@ -4082,7 +4084,7 @@ function us(n, e) {
|
|
4082
4084
|
return t.initialize({ options: e });
|
4083
4085
|
}
|
4084
4086
|
function hs(n, e) {
|
4085
|
-
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(
|
4087
|
+
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
|
4086
4088
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4087
4089
|
}
|
4088
4090
|
function ps(n, e, t) {
|
@@ -4098,38 +4100,38 @@ function ps(n, e, t) {
|
|
4098
4100
|
"invalid-emulator-scheme"
|
4099
4101
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4100
4102
|
);
|
4101
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4103
|
+
const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
|
4102
4104
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4103
4105
|
host: a,
|
4104
4106
|
port: c,
|
4105
4107
|
protocol: s.replace(":", ""),
|
4106
4108
|
options: Object.freeze({ disableWarnings: i })
|
4107
|
-
}),
|
4109
|
+
}), ms();
|
4108
4110
|
}
|
4109
4111
|
function In(n) {
|
4110
4112
|
const e = n.indexOf(":");
|
4111
4113
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4112
4114
|
}
|
4113
|
-
function
|
4115
|
+
function fs(n) {
|
4114
4116
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4115
4117
|
if (!t)
|
4116
4118
|
return { host: "", port: null };
|
4117
4119
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
4118
4120
|
if (i) {
|
4119
4121
|
const s = i[1];
|
4120
|
-
return { host: s, port:
|
4122
|
+
return { host: s, port: Tt(r.substr(s.length + 1)) };
|
4121
4123
|
} else {
|
4122
4124
|
const [s, a] = r.split(":");
|
4123
|
-
return { host: s, port:
|
4125
|
+
return { host: s, port: Tt(a) };
|
4124
4126
|
}
|
4125
4127
|
}
|
4126
|
-
function
|
4128
|
+
function Tt(n) {
|
4127
4129
|
if (!n)
|
4128
4130
|
return null;
|
4129
4131
|
const e = Number(n);
|
4130
4132
|
return isNaN(e) ? null : e;
|
4131
4133
|
}
|
4132
|
-
function
|
4134
|
+
function ms() {
|
4133
4135
|
function n() {
|
4134
4136
|
const e = document.createElement("p"), t = e.style;
|
4135
4137
|
e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
|
@@ -4194,7 +4196,7 @@ class bn {
|
|
4194
4196
|
* See the License for the specific language governing permissions and
|
4195
4197
|
* limitations under the License.
|
4196
4198
|
*/
|
4197
|
-
async function
|
4199
|
+
async function V(n, e) {
|
4198
4200
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4199
4201
|
}
|
4200
4202
|
/**
|
@@ -4221,7 +4223,7 @@ class U extends bn {
|
|
4221
4223
|
/** @internal */
|
4222
4224
|
static _fromParams(e) {
|
4223
4225
|
const t = new U(e.providerId, e.signInMethod);
|
4224
|
-
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) :
|
4226
|
+
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) : T(
|
4225
4227
|
"argument-error"
|
4226
4228
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
4227
4229
|
), t;
|
@@ -4257,17 +4259,17 @@ class U extends bn {
|
|
4257
4259
|
/** @internal */
|
4258
4260
|
_getIdTokenResponse(e) {
|
4259
4261
|
const t = this.buildRequest();
|
4260
|
-
return
|
4262
|
+
return V(e, t);
|
4261
4263
|
}
|
4262
4264
|
/** @internal */
|
4263
4265
|
_linkToIdToken(e, t) {
|
4264
4266
|
const r = this.buildRequest();
|
4265
|
-
return r.idToken = t,
|
4267
|
+
return r.idToken = t, V(e, r);
|
4266
4268
|
}
|
4267
4269
|
/** @internal */
|
4268
4270
|
_getReauthenticationResolver(e) {
|
4269
4271
|
const t = this.buildRequest();
|
4270
|
-
return t.autoCreate = !1,
|
4272
|
+
return t.autoCreate = !1, V(e, t);
|
4271
4273
|
}
|
4272
4274
|
buildRequest() {
|
4273
4275
|
const e = {
|
@@ -4714,10 +4716,10 @@ function Rt(n) {
|
|
4714
4716
|
* See the License for the specific language governing permissions and
|
4715
4717
|
* limitations under the License.
|
4716
4718
|
*/
|
4717
|
-
class
|
4719
|
+
class me extends M {
|
4718
4720
|
constructor(e, t, r, i) {
|
4719
4721
|
var s;
|
4720
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4722
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, me.prototype), this.customData = {
|
4721
4723
|
appName: e.name,
|
4722
4724
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4723
4725
|
_serverResponse: t.customData._serverResponse,
|
@@ -4725,12 +4727,12 @@ class fe extends M {
|
|
4725
4727
|
};
|
4726
4728
|
}
|
4727
4729
|
static _fromErrorAndOperation(e, t, r, i) {
|
4728
|
-
return new
|
4730
|
+
return new me(e, t, r, i);
|
4729
4731
|
}
|
4730
4732
|
}
|
4731
|
-
function
|
4733
|
+
function En(n, e, t, r) {
|
4732
4734
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4733
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4735
|
+
throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
|
4734
4736
|
});
|
4735
4737
|
}
|
4736
4738
|
async function gs(n, e, t = !1) {
|
@@ -4759,14 +4761,14 @@ async function vs(n, e, t = !1) {
|
|
4759
4761
|
return Promise.reject(P(r));
|
4760
4762
|
const i = "reauthenticate";
|
4761
4763
|
try {
|
4762
|
-
const s = await K(n,
|
4764
|
+
const s = await K(n, En(r, i, e, n), t);
|
4763
4765
|
u(
|
4764
4766
|
s.idToken,
|
4765
4767
|
r,
|
4766
4768
|
"internal-error"
|
4767
4769
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4768
4770
|
);
|
4769
|
-
const a =
|
4771
|
+
const a = Xe(s.idToken);
|
4770
4772
|
u(
|
4771
4773
|
a,
|
4772
4774
|
r,
|
@@ -4781,7 +4783,7 @@ async function vs(n, e, t = !1) {
|
|
4781
4783
|
/* AuthErrorCode.USER_MISMATCH */
|
4782
4784
|
), B._forOperation(n, i, s);
|
4783
4785
|
} catch (s) {
|
4784
|
-
throw (s == null ? void 0 : s.code) === "auth/user-not-found" &&
|
4786
|
+
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && T(
|
4785
4787
|
r,
|
4786
4788
|
"user-mismatch"
|
4787
4789
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4807,7 +4809,7 @@ async function vs(n, e, t = !1) {
|
|
4807
4809
|
async function Is(n, e, t = !1) {
|
4808
4810
|
if (I(n.app))
|
4809
4811
|
return Promise.reject(P(n));
|
4810
|
-
const r = "signIn", i = await
|
4812
|
+
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4811
4813
|
return t || await n._updateCurrentUser(s.user), s;
|
4812
4814
|
}
|
4813
4815
|
/**
|
@@ -4854,10 +4856,10 @@ async function ys(n, e) {
|
|
4854
4856
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
4855
4857
|
return await t._updateCurrentUser(i.user), i;
|
4856
4858
|
}
|
4857
|
-
function
|
4859
|
+
function Es(n, e, t, r) {
|
4858
4860
|
return z(n).onIdTokenChanged(e, t, r);
|
4859
4861
|
}
|
4860
|
-
function
|
4862
|
+
function ws(n, e, t) {
|
4861
4863
|
return z(n).beforeAuthStateChanged(e, t);
|
4862
4864
|
}
|
4863
4865
|
const _e = "__sak";
|
@@ -4877,7 +4879,7 @@ const _e = "__sak";
|
|
4877
4879
|
* See the License for the specific language governing permissions and
|
4878
4880
|
* limitations under the License.
|
4879
4881
|
*/
|
4880
|
-
class
|
4882
|
+
class wn {
|
4881
4883
|
constructor(e, t) {
|
4882
4884
|
this.storageRetriever = e, this.type = t;
|
4883
4885
|
}
|
@@ -4918,8 +4920,8 @@ class En {
|
|
4918
4920
|
* See the License for the specific language governing permissions and
|
4919
4921
|
* limitations under the License.
|
4920
4922
|
*/
|
4921
|
-
const
|
4922
|
-
class
|
4923
|
+
const Ts = 1e3, Rs = 10;
|
4924
|
+
class Tn extends wn {
|
4923
4925
|
constructor() {
|
4924
4926
|
super(
|
4925
4927
|
() => window.localStorage,
|
@@ -4968,7 +4970,7 @@ class wn extends En {
|
|
4968
4970
|
!0
|
4969
4971
|
);
|
4970
4972
|
});
|
4971
|
-
},
|
4973
|
+
}, Ts);
|
4972
4974
|
}
|
4973
4975
|
stopPolling() {
|
4974
4976
|
this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
|
@@ -4997,8 +4999,8 @@ class wn extends En {
|
|
4997
4999
|
await super._remove(e), delete this.localCache[e];
|
4998
5000
|
}
|
4999
5001
|
}
|
5000
|
-
|
5001
|
-
const ks =
|
5002
|
+
Tn.type = "LOCAL";
|
5003
|
+
const ks = Tn;
|
5002
5004
|
/**
|
5003
5005
|
* @license
|
5004
5006
|
* Copyright 2020 Google LLC
|
@@ -5015,7 +5017,7 @@ const ks = wn;
|
|
5015
5017
|
* See the License for the specific language governing permissions and
|
5016
5018
|
* limitations under the License.
|
5017
5019
|
*/
|
5018
|
-
class Rn extends
|
5020
|
+
class Rn extends wn {
|
5019
5021
|
constructor() {
|
5020
5022
|
super(
|
5021
5023
|
() => window.sessionStorage,
|
@@ -5229,9 +5231,9 @@ class As {
|
|
5229
5231
|
a = {
|
5230
5232
|
messageChannel: i,
|
5231
5233
|
onMessage(h) {
|
5232
|
-
const
|
5233
|
-
if (
|
5234
|
-
switch (
|
5234
|
+
const f = h;
|
5235
|
+
if (f.data.eventId === l)
|
5236
|
+
switch (f.data.status) {
|
5235
5237
|
case "ack":
|
5236
5238
|
clearTimeout(d), s = setTimeout(
|
5237
5239
|
() => {
|
@@ -5245,7 +5247,7 @@ class As {
|
|
5245
5247
|
);
|
5246
5248
|
break;
|
5247
5249
|
case "done":
|
5248
|
-
clearTimeout(s), c(
|
5250
|
+
clearTimeout(s), c(f.data.response);
|
5249
5251
|
break;
|
5250
5252
|
default:
|
5251
5253
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5360,7 +5362,7 @@ function Ms() {
|
|
5360
5362
|
const n = indexedDB.deleteDatabase(An);
|
5361
5363
|
return new re(n).toPromise();
|
5362
5364
|
}
|
5363
|
-
function
|
5365
|
+
function Ge() {
|
5364
5366
|
const n = indexedDB.open(An, Ps);
|
5365
5367
|
return new Promise((e, t) => {
|
5366
5368
|
n.addEventListener("error", () => {
|
@@ -5374,7 +5376,7 @@ function He() {
|
|
5374
5376
|
}
|
5375
5377
|
}), n.addEventListener("success", async () => {
|
5376
5378
|
const r = n.result;
|
5377
|
-
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 Ge()));
|
5378
5380
|
});
|
5379
5381
|
});
|
5380
5382
|
}
|
@@ -5401,7 +5403,7 @@ class Nn {
|
|
5401
5403
|
});
|
5402
5404
|
}
|
5403
5405
|
async _openDb() {
|
5404
|
-
return this.db ? this.db : (this.db = await
|
5406
|
+
return this.db ? this.db : (this.db = await Ge(), this.db);
|
5405
5407
|
}
|
5406
5408
|
async _withRetries(e) {
|
5407
5409
|
let t = 0;
|
@@ -5482,7 +5484,7 @@ class Nn {
|
|
5482
5484
|
try {
|
5483
5485
|
if (!indexedDB)
|
5484
5486
|
return !1;
|
5485
|
-
const e = await
|
5487
|
+
const e = await Ge();
|
5486
5488
|
return await kt(e, _e, "1"), await St(e, _e), !0;
|
5487
5489
|
} catch {
|
5488
5490
|
}
|
@@ -5563,7 +5565,7 @@ new te(3e4, 6e4);
|
|
5563
5565
|
* limitations under the License.
|
5564
5566
|
*/
|
5565
5567
|
function xs(n, e) {
|
5566
|
-
return e ?
|
5568
|
+
return e ? E(e) : (u(
|
5567
5569
|
n._popupRedirectResolver,
|
5568
5570
|
n,
|
5569
5571
|
"argument-error"
|
@@ -5595,13 +5597,13 @@ class et extends bn {
|
|
5595
5597
|
), this.params = e;
|
5596
5598
|
}
|
5597
5599
|
_getIdTokenResponse(e) {
|
5598
|
-
return
|
5600
|
+
return V(e, this._buildIdpRequest());
|
5599
5601
|
}
|
5600
5602
|
_linkToIdToken(e, t) {
|
5601
|
-
return
|
5603
|
+
return V(e, this._buildIdpRequest(t));
|
5602
5604
|
}
|
5603
5605
|
_getReauthenticationResolver(e) {
|
5604
|
-
return
|
5606
|
+
return V(e, this._buildIdpRequest());
|
5605
5607
|
}
|
5606
5608
|
_buildIdpRequest(e) {
|
5607
5609
|
const t = {
|
@@ -5619,7 +5621,7 @@ class et extends bn {
|
|
5619
5621
|
function js(n) {
|
5620
5622
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5621
5623
|
}
|
5622
|
-
function
|
5624
|
+
function Hs(n) {
|
5623
5625
|
const { auth: e, user: t } = n;
|
5624
5626
|
return u(
|
5625
5627
|
t,
|
@@ -5628,7 +5630,7 @@ function Vs(n) {
|
|
5628
5630
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5629
5631
|
), vs(t, new et(n), n.bypassAuthState);
|
5630
5632
|
}
|
5631
|
-
async function
|
5633
|
+
async function Gs(n) {
|
5632
5634
|
const { auth: e, user: t } = n;
|
5633
5635
|
return u(
|
5634
5636
|
t,
|
@@ -5698,12 +5700,12 @@ class Cn {
|
|
5698
5700
|
return js;
|
5699
5701
|
case "linkViaPopup":
|
5700
5702
|
case "linkViaRedirect":
|
5701
|
-
return
|
5703
|
+
return Gs;
|
5702
5704
|
case "reauthViaPopup":
|
5703
5705
|
case "reauthViaRedirect":
|
5704
|
-
return
|
5706
|
+
return Hs;
|
5705
5707
|
default:
|
5706
|
-
|
5708
|
+
T(
|
5707
5709
|
this.auth,
|
5708
5710
|
"internal-error"
|
5709
5711
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -5736,7 +5738,7 @@ class Cn {
|
|
5736
5738
|
* See the License for the specific language governing permissions and
|
5737
5739
|
* limitations under the License.
|
5738
5740
|
*/
|
5739
|
-
const
|
5741
|
+
const Vs = new te(2e3, 1e4);
|
5740
5742
|
class x extends Cn {
|
5741
5743
|
constructor(e, t, r, i, s) {
|
5742
5744
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
@@ -5800,7 +5802,7 @@ class x extends Cn {
|
|
5800
5802
|
);
|
5801
5803
|
return;
|
5802
5804
|
}
|
5803
|
-
this.pollId = window.setTimeout(e,
|
5805
|
+
this.pollId = window.setTimeout(e, Vs.get());
|
5804
5806
|
};
|
5805
5807
|
e();
|
5806
5808
|
}
|
@@ -5870,7 +5872,7 @@ class zs extends Cn {
|
|
5870
5872
|
}
|
5871
5873
|
}
|
5872
5874
|
async function Zs(n, e) {
|
5873
|
-
const t =
|
5875
|
+
const t = Ys(e), r = Js(n);
|
5874
5876
|
if (!await r._isAvailable())
|
5875
5877
|
return !1;
|
5876
5878
|
const i = await r._get(t) === "true";
|
@@ -5880,12 +5882,12 @@ function $s(n, e) {
|
|
5880
5882
|
oe.set(n._key(), e);
|
5881
5883
|
}
|
5882
5884
|
function Js(n) {
|
5883
|
-
return
|
5885
|
+
return E(n._redirectPersistence);
|
5884
5886
|
}
|
5885
|
-
function
|
5887
|
+
function Ys(n) {
|
5886
5888
|
return ae(Ws, n.config.apiKey, n.name);
|
5887
5889
|
}
|
5888
|
-
async function
|
5890
|
+
async function Xs(n, e, t = !1) {
|
5889
5891
|
if (I(n.app))
|
5890
5892
|
return Promise.reject(P(n));
|
5891
5893
|
const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
|
@@ -6009,7 +6011,7 @@ async function ra(n) {
|
|
6009
6011
|
return;
|
6010
6012
|
} catch {
|
6011
6013
|
}
|
6012
|
-
|
6014
|
+
T(
|
6013
6015
|
n,
|
6014
6016
|
"unauthorized-domain"
|
6015
6017
|
/* AuthErrorCode.INVALID_ORIGIN */
|
@@ -6133,7 +6135,7 @@ function pa(n) {
|
|
6133
6135
|
"auth-domain-config-required"
|
6134
6136
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6135
6137
|
);
|
6136
|
-
const t = e.emulator ?
|
6138
|
+
const t = e.emulator ? Ye(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6137
6139
|
apiKey: e.apiKey,
|
6138
6140
|
appName: n.name,
|
6139
6141
|
v: ee
|
@@ -6142,7 +6144,7 @@ function pa(n) {
|
|
6142
6144
|
const s = n._getFrameworks();
|
6143
6145
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6144
6146
|
}
|
6145
|
-
async function
|
6147
|
+
async function fa(n) {
|
6146
6148
|
const e = await oa(n), t = g().gapi;
|
6147
6149
|
return u(
|
6148
6150
|
t,
|
@@ -6191,7 +6193,7 @@ async function ma(n) {
|
|
6191
6193
|
* See the License for the specific language governing permissions and
|
6192
6194
|
* limitations under the License.
|
6193
6195
|
*/
|
6194
|
-
const
|
6196
|
+
const ma = {
|
6195
6197
|
location: "yes",
|
6196
6198
|
resizable: "yes",
|
6197
6199
|
statusbar: "yes",
|
@@ -6212,14 +6214,14 @@ class Nt {
|
|
6212
6214
|
function ba(n, e, t, r = _a, i = ga) {
|
6213
6215
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6214
6216
|
let c = "";
|
6215
|
-
const o = Object.assign(Object.assign({},
|
6217
|
+
const o = Object.assign(Object.assign({}, ma), {
|
6216
6218
|
width: r.toString(),
|
6217
6219
|
height: i.toString(),
|
6218
6220
|
top: s,
|
6219
6221
|
left: a
|
6220
|
-
}), l =
|
6222
|
+
}), l = m().toLowerCase();
|
6221
6223
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6222
|
-
const d = Object.entries(o).reduce((
|
6224
|
+
const d = Object.entries(o).reduce((f, [v, F]) => `${f}${v}=${F},`, "");
|
6223
6225
|
if (es(l) && c !== "_self")
|
6224
6226
|
return ya(e || "", c), new Nt(null);
|
6225
6227
|
const h = window.open(e || "", c, d);
|
@@ -6257,7 +6259,7 @@ function ya(n, e) {
|
|
6257
6259
|
* See the License for the specific language governing permissions and
|
6258
6260
|
* limitations under the License.
|
6259
6261
|
*/
|
6260
|
-
const
|
6262
|
+
const Ea = "__/auth/handler", wa = "emulator/auth/handler", Ta = encodeURIComponent("fac");
|
6261
6263
|
async function Ct(n, e, t, r, i, s) {
|
6262
6264
|
u(
|
6263
6265
|
n.config.authDomain,
|
@@ -6279,7 +6281,7 @@ async function Ct(n, e, t, r, i, s) {
|
|
6279
6281
|
eventId: i
|
6280
6282
|
};
|
6281
6283
|
if (e instanceof yn) {
|
6282
|
-
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "",
|
6284
|
+
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", Tr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
6283
6285
|
for (const [d, h] of Object.entries({}))
|
6284
6286
|
a[d] = h;
|
6285
6287
|
}
|
@@ -6291,11 +6293,11 @@ async function Ct(n, e, t, r, i, s) {
|
|
6291
6293
|
const c = a;
|
6292
6294
|
for (const d of Object.keys(c))
|
6293
6295
|
c[d] === void 0 && delete c[d];
|
6294
|
-
const o = await n._getAppCheckToken(), l = o ? `#${
|
6296
|
+
const o = await n._getAppCheckToken(), l = o ? `#${Ta}=${encodeURIComponent(o)}` : "";
|
6295
6297
|
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6296
6298
|
}
|
6297
6299
|
function Ra({ config: n }) {
|
6298
|
-
return n.emulator ?
|
6300
|
+
return n.emulator ? Ye(n, wa) : `https://${n.authDomain}/${Ea}`;
|
6299
6301
|
}
|
6300
6302
|
/**
|
6301
6303
|
* @license
|
@@ -6316,7 +6318,7 @@ function Ra({ config: n }) {
|
|
6316
6318
|
const De = "webStorageSupport";
|
6317
6319
|
class ka {
|
6318
6320
|
constructor() {
|
6319
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult = $s;
|
6320
6322
|
}
|
6321
6323
|
// Wrapping in async even though we don't await anywhere in order
|
6322
6324
|
// to make sure errors are raised as promise rejections
|
@@ -6344,7 +6346,7 @@ class ka {
|
|
6344
6346
|
}), r;
|
6345
6347
|
}
|
6346
6348
|
async initAndGetManager(e) {
|
6347
|
-
const t = await
|
6349
|
+
const t = await fa(e), r = new qs(e);
|
6348
6350
|
return t.register("authEvent", (i) => (u(
|
6349
6351
|
i == null ? void 0 : i.authEvent,
|
6350
6352
|
e,
|
@@ -6359,7 +6361,7 @@ class ka {
|
|
6359
6361
|
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6360
6362
|
var s;
|
6361
6363
|
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6362
|
-
a !== void 0 && t(!!a),
|
6364
|
+
a !== void 0 && t(!!a), T(
|
6363
6365
|
e,
|
6364
6366
|
"internal-error"
|
6365
6367
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6460,7 +6462,7 @@ function Oa(n) {
|
|
6460
6462
|
}
|
6461
6463
|
}
|
6462
6464
|
function Na(n) {
|
6463
|
-
|
6465
|
+
Y(new W(
|
6464
6466
|
"auth",
|
6465
6467
|
(e, { options: t }) => {
|
6466
6468
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6486,7 +6488,7 @@ function Na(n) {
|
|
6486
6488
|
"auth-internal"
|
6487
6489
|
/* _ComponentName.AUTH_INTERNAL */
|
6488
6490
|
).initialize();
|
6489
|
-
})),
|
6491
|
+
})), Y(new W(
|
6490
6492
|
"auth-internal",
|
6491
6493
|
(e) => {
|
6492
6494
|
const t = Ie(e.getProvider(
|
@@ -6533,7 +6535,7 @@ const Pa = (n) => async (e) => {
|
|
6533
6535
|
}));
|
6534
6536
|
};
|
6535
6537
|
function Ma(n = ki()) {
|
6536
|
-
const e =
|
6538
|
+
const e = Yt(n, "auth");
|
6537
6539
|
if (e.isInitialized())
|
6538
6540
|
return e.getImmediate();
|
6539
6541
|
const t = us(n, {
|
@@ -6548,10 +6550,10 @@ function Ma(n = ki()) {
|
|
6548
6550
|
const s = new URL(r, location.origin);
|
6549
6551
|
if (location.origin === s.origin) {
|
6550
6552
|
const a = Pa(s.toString());
|
6551
|
-
|
6553
|
+
ws(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6552
6554
|
}
|
6553
6555
|
}
|
6554
|
-
const i =
|
6556
|
+
const i = Vt("auth");
|
6555
6557
|
return i && ps(t, `http://${i}`), t;
|
6556
6558
|
}
|
6557
6559
|
function La() {
|
@@ -6591,7 +6593,7 @@ Ua.beforeEach(async (n) => {
|
|
6591
6593
|
currentBusiness: r,
|
6592
6594
|
readRestaurants: i,
|
6593
6595
|
changeRestaurant: s
|
6594
|
-
} =
|
6596
|
+
} = Ve();
|
6595
6597
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6596
6598
|
const c = $(e, (o) => {
|
6597
6599
|
var l;
|
@@ -6614,14 +6616,14 @@ Ua.beforeEach(async (n) => {
|
|
6614
6616
|
const Ba = /* @__PURE__ */ Ut({
|
6615
6617
|
__name: "AppSidebar",
|
6616
6618
|
setup(n) {
|
6617
|
-
const e =
|
6619
|
+
const e = Ve(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6618
6620
|
$(t.currentRoute, () => {
|
6619
6621
|
let l = t.currentRoute.value.name;
|
6620
6622
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6621
6623
|
});
|
6622
6624
|
const s = We.map((l) => {
|
6623
|
-
var
|
6624
|
-
if (!((
|
6625
|
+
var f;
|
6626
|
+
if (!((f = l.meta) != null && f.sidebarDisplay))
|
6625
6627
|
return;
|
6626
6628
|
const d = l.meta.sidebarDisplay, h = {
|
6627
6629
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6690,7 +6692,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6690
6692
|
const h = Bt("FmCollapsibleTabs");
|
6691
6693
|
return Ft(), xt(h, {
|
6692
6694
|
modelValue: i.value,
|
6693
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6695
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
|
6694
6696
|
items: o.value,
|
6695
6697
|
class: "py-16 px-8 w-[240px]"
|
6696
6698
|
}, null, 8, ["modelValue", "items"]);
|
@@ -6701,21 +6703,21 @@ var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2
|
|
6701
6703
|
const Za = /* @__PURE__ */ Ut({
|
6702
6704
|
__name: "App",
|
6703
6705
|
setup(n) {
|
6704
|
-
const { state: e } = sr(), t =
|
6706
|
+
const { state: e } = sr(), t = Ve(), r = Fn(), i = Xt(Fa.firebase);
|
6705
6707
|
async function s() {
|
6706
6708
|
const a = t.sessionUser.value;
|
6707
6709
|
if (!a || !a.token) return;
|
6708
6710
|
const c = await a.getCustomToken(), o = Ma(i);
|
6709
6711
|
await ys(o, c);
|
6710
6712
|
}
|
6711
|
-
return s(), $(t.sessionUser, s),
|
6713
|
+
return s(), $(t.sessionUser, s), Hn(() => {
|
6712
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6713
|
-
}),
|
6715
|
+
}), Gn(() => {
|
6714
6716
|
t.registerSidebarComponent(Ba);
|
6715
6717
|
}), (a, c) => {
|
6716
6718
|
const o = Bt("RouterView");
|
6717
6719
|
return Ft(), xt(o, {
|
6718
|
-
key:
|
6720
|
+
key: Vn(r).path
|
6719
6721
|
});
|
6720
6722
|
};
|
6721
6723
|
}
|
@@ -6727,8 +6729,8 @@ export {
|
|
6727
6729
|
W as C,
|
6728
6730
|
M as F,
|
6729
6731
|
ee as S,
|
6730
|
-
|
6731
|
-
|
6732
|
+
Y as _,
|
6733
|
+
Yt as a,
|
6732
6734
|
Wa as b,
|
6733
6735
|
ki as c,
|
6734
6736
|
za as d,
|