@feedmepos/mf-payment 1.1.2-beta.2 → 1.1.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-CGcfRlND.js → PayoutAccount-7R-XGbkw.js} +5 -5
- package/dist/{PayoutAccount-Cq63Lchn.js → PayoutAccount-DjoezowJ.js} +3 -3
- package/dist/{PayoutAccountSetting-mp5XADlV.js → PayoutAccountSetting-BqihswJe.js} +75 -70
- package/dist/{Restaurant-Bh-Swmnc.js → Restaurant-7TrS8d6s.js} +4 -4
- package/dist/{RestaurantSetting-DD3fBa82.js → RestaurantSetting-Dpyicab8.js} +3 -3
- package/dist/{Settlement-D6V7hXB0.js → Settlement-BlUSiZsx.js} +3 -3
- package/dist/{Settlement-ByLto4lA.js → Settlement-DN3JsTNX.js} +3 -3
- package/dist/{SettlementTransactions-CLkClb0y.js → SettlementTransactions-BV_kkw3C.js} +3 -3
- package/dist/{SettlementTransactions-CpcZ6a8t.js → SettlementTransactions-CtpcelAj.js} +3 -3
- package/dist/{Terminal-Bf4K0SU6.js → Terminal-BPGmJyBr.js} +5 -5
- package/dist/{TerminalSetting-C5MfEECE.js → TerminalSetting-B1tumwma.js} +3 -3
- package/dist/{Transaction-DH9KvyRn.js → Transaction-3mXqx9lj.js} +6 -6
- package/dist/{Transaction-B4h34xHh.js → Transaction-BcXtqy7q.js} +5 -5
- package/dist/{TransactionOld-D-Blr5IV.js → TransactionOld-BoXazinl.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-pKkCwcN4.js → TransactionTable.vue_vue_type_script_setup_true_lang-YJdIz7mh.js} +3 -3
- package/dist/{app-Cx_4amzP.js → app-B2ONMhEc.js} +247 -247
- package/dist/app.js +1 -1
- package/dist/{assets-DwQ9WbsQ.js → assets-B7nU4Mu9.js} +1 -1
- package/dist/{grafana-BHFm9kPb.js → grafana-BG5pJ6nx.js} +1 -1
- package/dist/{index-BStG1ssC.js → index--9MVOpKU.js} +2825 -2823
- package/dist/{index-V6QYtm9V.js → index-14bBnvrM.js} +1 -1
- package/dist/{index-BXmakOBx.js → index-BFbXr0i4.js} +1 -1
- package/dist/{index-8FeljzPy.js → index-BL8YXSy-.js} +1 -1
- package/dist/{index-DqqNNVB5.js → index-CjStZacG.js} +1 -1
- package/dist/{index-n0CcC4-P.js → index-DxvxWRU1.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B1-3Fz1G.js → index.vue_vue_type_script_setup_true_lang-C2mZWnxY.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-L8vExmhH.js → payout-account-u36s0Jc2.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as
|
2
|
-
import { computed as Lt, watch as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as Hn, onMounted as jn, onBeforeMount as Gn, unref as Vn } from "vue";
|
3
3
|
import { useCoreStore as Ve, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as $n } from "@feedmepos/ui-library";
|
6
|
+
const Zn = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
@@ -142,7 +142,7 @@ const $n = {
|
|
142
142
|
}
|
143
143
|
}
|
144
144
|
}, qn = {
|
145
|
-
components:
|
145
|
+
components: Zn,
|
146
146
|
routes: Jn,
|
147
147
|
settlements: Xn,
|
148
148
|
transactions: Yn,
|
@@ -299,7 +299,7 @@ const $n = {
|
|
299
299
|
sidebarDisplay: "Restaurants",
|
300
300
|
section: "payment-gateway"
|
301
301
|
},
|
302
|
-
component: () => import("./Restaurant-
|
302
|
+
component: () => import("./Restaurant-7TrS8d6s.js")
|
303
303
|
},
|
304
304
|
{
|
305
305
|
path: "/admin/restaurants/:restaurantId",
|
@@ -308,7 +308,7 @@ const $n = {
|
|
308
308
|
meta: {
|
309
309
|
parent: "mf-payment-admin.restaurant"
|
310
310
|
},
|
311
|
-
component: () => import("./RestaurantSetting-
|
311
|
+
component: () => import("./RestaurantSetting-Dpyicab8.js")
|
312
312
|
},
|
313
313
|
{
|
314
314
|
path: "/admin/payout-accounts",
|
@@ -317,7 +317,7 @@ const $n = {
|
|
317
317
|
sidebarDisplay: "Payout Accounts",
|
318
318
|
section: "payment-gateway"
|
319
319
|
},
|
320
|
-
component: () => import("./PayoutAccount-
|
320
|
+
component: () => import("./PayoutAccount-7R-XGbkw.js")
|
321
321
|
},
|
322
322
|
{
|
323
323
|
path: "/admin/payout-accounts/:accountId",
|
@@ -326,7 +326,7 @@ const $n = {
|
|
326
326
|
meta: {
|
327
327
|
parent: "mf-payment-admin.payout-account"
|
328
328
|
},
|
329
|
-
component: () => import("./PayoutAccountSetting-
|
329
|
+
component: () => import("./PayoutAccountSetting-BqihswJe.js")
|
330
330
|
},
|
331
331
|
{
|
332
332
|
path: "/admin/terminal/pos",
|
@@ -335,7 +335,7 @@ const $n = {
|
|
335
335
|
sidebarDisplay: "POS",
|
336
336
|
section: "device"
|
337
337
|
},
|
338
|
-
component: () => import("./Terminal-
|
338
|
+
component: () => import("./Terminal-BPGmJyBr.js"),
|
339
339
|
props: {
|
340
340
|
type: "POS"
|
341
341
|
}
|
@@ -347,7 +347,7 @@ const $n = {
|
|
347
347
|
sidebarDisplay: "Kiosks",
|
348
348
|
section: "device"
|
349
349
|
},
|
350
|
-
component: () => import("./Terminal-
|
350
|
+
component: () => import("./Terminal-BPGmJyBr.js"),
|
351
351
|
props: {
|
352
352
|
type: "KIOSK"
|
353
353
|
}
|
@@ -359,7 +359,7 @@ const $n = {
|
|
359
359
|
sidebarDisplay: "Terminals",
|
360
360
|
section: "device"
|
361
361
|
},
|
362
|
-
component: () => import("./Terminal-
|
362
|
+
component: () => import("./Terminal-BPGmJyBr.js"),
|
363
363
|
props: {
|
364
364
|
type: "TERMINAL"
|
365
365
|
}
|
@@ -371,7 +371,7 @@ const $n = {
|
|
371
371
|
meta: {
|
372
372
|
parent: "mf-payment-admin.pos"
|
373
373
|
},
|
374
|
-
component: () => import("./TerminalSetting-
|
374
|
+
component: () => import("./TerminalSetting-B1tumwma.js")
|
375
375
|
},
|
376
376
|
{
|
377
377
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -380,7 +380,7 @@ const $n = {
|
|
380
380
|
meta: {
|
381
381
|
parent: "mf-payment-admin.kiosk"
|
382
382
|
},
|
383
|
-
component: () => import("./TerminalSetting-
|
383
|
+
component: () => import("./TerminalSetting-B1tumwma.js")
|
384
384
|
},
|
385
385
|
{
|
386
386
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -389,7 +389,7 @@ const $n = {
|
|
389
389
|
meta: {
|
390
390
|
parent: "mf-payment-admin.terminal"
|
391
391
|
},
|
392
|
-
component: () => import("./TerminalSetting-
|
392
|
+
component: () => import("./TerminalSetting-B1tumwma.js")
|
393
393
|
},
|
394
394
|
{
|
395
395
|
path: "/admin/transaction",
|
@@ -397,7 +397,7 @@ const $n = {
|
|
397
397
|
meta: {
|
398
398
|
sidebarDisplay: "Transactions"
|
399
399
|
},
|
400
|
-
component: () => import("./Transaction-
|
400
|
+
component: () => import("./Transaction-BcXtqy7q.js")
|
401
401
|
},
|
402
402
|
{
|
403
403
|
path: "/admin/settlement",
|
@@ -405,7 +405,7 @@ const $n = {
|
|
405
405
|
meta: {
|
406
406
|
sidebarDisplay: "Settlements"
|
407
407
|
},
|
408
|
-
component: () => import("./Settlement-
|
408
|
+
component: () => import("./Settlement-BlUSiZsx.js")
|
409
409
|
},
|
410
410
|
{
|
411
411
|
path: "/admin/settlement/:settlementId",
|
@@ -414,7 +414,7 @@ const $n = {
|
|
414
414
|
meta: {
|
415
415
|
parent: "mf-payment-admin.settlement"
|
416
416
|
},
|
417
|
-
component: () => import("./SettlementTransactions-
|
417
|
+
component: () => import("./SettlementTransactions-CtpcelAj.js")
|
418
418
|
}
|
419
419
|
], We = [
|
420
420
|
{
|
@@ -424,7 +424,7 @@ const $n = {
|
|
424
424
|
{
|
425
425
|
path: "/payout-account",
|
426
426
|
name: "mf-payment-payout-account",
|
427
|
-
component: () => import("./PayoutAccount-
|
427
|
+
component: () => import("./PayoutAccount-DjoezowJ.js"),
|
428
428
|
meta: {
|
429
429
|
sidebarDisplay: "i18n:routes.payout_account"
|
430
430
|
}
|
@@ -432,7 +432,7 @@ const $n = {
|
|
432
432
|
{
|
433
433
|
path: "/transaction-old",
|
434
434
|
name: "mf-payment-old-transaction",
|
435
|
-
component: () => import("./TransactionOld-
|
435
|
+
component: () => import("./TransactionOld-BoXazinl.js"),
|
436
436
|
meta: {
|
437
437
|
sidebarDisplay: "i18n:routes.transaction"
|
438
438
|
}
|
@@ -440,7 +440,7 @@ const $n = {
|
|
440
440
|
{
|
441
441
|
path: "/transaction",
|
442
442
|
name: "mf-payment-transaction",
|
443
|
-
component: () => import("./Transaction-
|
443
|
+
component: () => import("./Transaction-3mXqx9lj.js"),
|
444
444
|
meta: {
|
445
445
|
sidebarDisplay: "i18n:routes.transaction-new",
|
446
446
|
sidebarNew: !0
|
@@ -449,7 +449,7 @@ const $n = {
|
|
449
449
|
{
|
450
450
|
path: "/settlement",
|
451
451
|
name: "mf-payment-settlement",
|
452
|
-
component: () => import("./Settlement-
|
452
|
+
component: () => import("./Settlement-DN3JsTNX.js"),
|
453
453
|
meta: {
|
454
454
|
sidebarDisplay: "i18n:routes.settlement"
|
455
455
|
}
|
@@ -458,7 +458,7 @@ const $n = {
|
|
458
458
|
path: "/settlement/:settlementId",
|
459
459
|
name: "mf-payment-settlement-transaction",
|
460
460
|
props: !0,
|
461
|
-
component: () => import("./SettlementTransactions-
|
461
|
+
component: () => import("./SettlementTransactions-BV_kkw3C.js"),
|
462
462
|
meta: {
|
463
463
|
parent: "mf-payment-settlement"
|
464
464
|
}
|
@@ -475,7 +475,7 @@ const $n = {
|
|
475
475
|
init: t
|
476
476
|
};
|
477
477
|
});
|
478
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_be1a1336-e3f9-46a5-bc13-f1ace3f6dc11", 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_be1a1336-e3f9-46a5-bc13-f1ace3f6dc11", 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_CZTOMHeZAzQ1DtjBf5JiuPANDi8pGh4IVOsy", 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: "714", 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: "20250316.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:6559", 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: "14100897688", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "1b493d1b98416174cdfd8bfdfd2677d60fbc5603", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MWE2MDkyZTYtOWMwZS00Nzk3LWFkMTMtN2Y2YmIyZTFmMDUwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDA0IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46MWE2MDkyZTYtOWMwZS00Nzk3LWFkMTMtN2Y2YmIyZTFmMDUwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDA0IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiNzAyYzJjZmQtNGVjMi00MjRjLWI3ZGQtMzEzNTJmODllN2ZhIiwic2lkIjoiZWJjNGU3ZjgtYzVjNS00MjNmLTg4ZmQtOGU4NjNlZTY1Njk3IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjFiNDkzZDFiOTg0MTYxNzRjZGZkOGJmZGZkMjY3N2Q2MGZiYzU2MDNcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQxMDA4OTc2ODhcIixcInJ1bl9udW1iZXJcIjpcIjE1NFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIxYjQ5M2QxYjk4NDE2MTc0Y2RmZDhiZmRmZDI2NzdkNjBmYmM1NjAzXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIxYjQ5M2QxYjk4NDE2MTc0Y2RmZDhiZmRmZDI2NzdkNjBmYmM1NjAzXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIxYTYwOTJlNi05YzBlLTQ3OTctYWQxMy03ZjZiYjJlMWYwNTAuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDMwNTg5NzgsImV4cCI6MTc0MzA4MTc3OH0.YfKocmcv82mrlaeF-c2MAK9Dbk_eLsDQSyf64yuNvebm4RUPO-FnF-AkXXKNpLjah_1i1cczcomHyd-fMFBnRj3dgxSs9jyZuGnO2VN87l0QYsGbZSZgFS50rHHt7T_lCZApycis_LggOidzy7_JW2SfMz-TtjEloWyUqp1Fo8oDdkhxtcTu7PVD6xwmvWNwkV8gcFm7HlDR9VXiijCCO9RIBlcFfphVRvyxqqofMPL0T29MGOQgL75K9jR9acGZ8TzqdX7XO3hk13KBKtA_5dqRZSX4wEOX3M-rgCThSAjFCOfebPN2OEfTw_Nz5mhtGRz6JnNiycPTaxggMXkNsg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743059632407-0.5545902828577425:/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--1743059632247-0.4910325095230854:/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--1743059632057-0.8660281832552412:/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_a957a8a4-91bd-41f7-b0a7-5782c17819c7", INVOCATION_ID: "564e3b993af64cc483bf4e44dd9fdfd8", 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: "154", 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 384", 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.2-beta.2", 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: "1b493d1b98416174cdfd8bfdfd2677d60fbc5603", 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_be1a1336-e3f9-46a5-bc13-f1ace3f6dc11", 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/1a6092e6-9c0e-4797-ad13-7f6bb2e1f050/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_be1a1336-e3f9-46a5-bc13-f1ace3f6dc11", 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_be1a1336-e3f9-46a5-bc13-f1ace3f6dc11", 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" };
|
478
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_17de3384-8919-4f80-83f6-054d32866180", 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_17de3384-8919-4f80-83f6-054d32866180", 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_yBWZdSebuO3BQDql4U2qNJPJImucJH30nSzX", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "713", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "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:5966", 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: "14124117825", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "11a9c4c7b95591b1d90742ba52a09c59408ea9d0", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NDk2ZDNlOWItMTlmYy00YjllLWI2MTctZWY4MDdkM2NhOGM4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDA4IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NDk2ZDNlOWItMTlmYy00YjllLWI2MTctZWY4MDdkM2NhOGM4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDA4IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiY2Q0MmUwYmMtODA1Ni00MDk5LTlmNDctMTA5OGMyNDIxMjk4Iiwic2lkIjoiMDc2NGUzOTMtYjAyOC00YjFiLWIxYzAtMTRmZWVhOGI3Yjk3IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjExYTljNGM3Yjk1NTkxYjFkOTA3NDJiYTUyYTA5YzU5NDA4ZWE5ZDBcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQxMjQxMTc4MjVcIixcInJ1bl9udW1iZXJcIjpcIjE1NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIxMWE5YzRjN2I5NTU5MWIxZDkwNzQyYmE1MmEwOWM1OTQwOGVhOWQwXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIxMWE5YzRjN2I5NTU5MWIxZDkwNzQyYmE1MmEwOWM1OTQwOGVhOWQwXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI0OTZkM2U5Yi0xOWZjLTRiOWUtYjYxNy1lZjgwN2QzY2E4YzguZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDMxNDY1MzUsImV4cCI6MTc0MzE2OTMzNX0.CHe-_aJuZXcdxgpeOjKhMVOOG9S-euMLvsZyIMbZN_DzOcf8ajI08IRKtjSLLnPeEskogd2jrW1Bx46ya-0cd5H4kfICa_KMXmFJxemSjDpsgm_DmmW7hUGsIO-IpGjDV3Z7AEoAWAr-ezIzlhAXS_jEVMLPHg3-E1FxbNvDnXb9n-T-xnZTVNWuO5uWpMX4LF3hIX7hgMG7k5IIwXqHaR3KoOlUiagPiz84jGBBncUKJV_ep7RZ4ICwSuDaY-3xlAi2c5066IKDg9iqtPYDPCR2afdUmDXmL09D_qMiFa2HvFvr3r9vYzYKBvz6624HPJEi0c6hhDoH5PkEtkjnXA", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743147170389-0.8621766885581907:/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--1743147170232-0.12934416505180257:/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--1743147170076-0.13816864971097975:/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_a3c902e9-5df9-476f-9b88-545500926143", INVOCATION_ID: "b9f08b27cca54cfc9843c66dd8b73c2c", 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: "155", 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 288", 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.3-beta.1", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "11a9c4c7b95591b1d90742ba52a09c59408ea9d0", 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_17de3384-8919-4f80-83f6-054d32866180", 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/496d3e9b-19fc-4b9e-b617-ef807d3ca8c8/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_17de3384-8919-4f80-83f6-054d32866180", 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_17de3384-8919-4f80-83f6-054d32866180", 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" };
|
479
479
|
/**
|
480
480
|
* @license
|
481
481
|
* Copyright 2017 Google LLC
|
@@ -492,7 +492,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
492
492
|
* See the License for the specific language governing permissions and
|
493
493
|
* limitations under the License.
|
494
494
|
*/
|
495
|
-
const
|
495
|
+
const Ht = function(n) {
|
496
496
|
const e = [];
|
497
497
|
let t = 0;
|
498
498
|
for (let r = 0; r < n.length; r++) {
|
@@ -519,7 +519,7 @@ const jt = function(n) {
|
|
519
519
|
}
|
520
520
|
}
|
521
521
|
return e.join("");
|
522
|
-
},
|
522
|
+
}, jt = {
|
523
523
|
/**
|
524
524
|
* Maps bytes to characters.
|
525
525
|
*/
|
@@ -579,8 +579,8 @@ const jt = function(n) {
|
|
579
579
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
580
580
|
for (let i = 0; i < n.length; i += 3) {
|
581
581
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
582
|
-
let
|
583
|
-
o || (v = 64, a || (
|
582
|
+
let m = (c & 15) << 2 | l >> 6, v = l & 63;
|
583
|
+
o || (v = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[v]);
|
584
584
|
}
|
585
585
|
return r.join("");
|
586
586
|
},
|
@@ -593,7 +593,7 @@ const jt = function(n) {
|
|
593
593
|
* @return The base64 encoded string.
|
594
594
|
*/
|
595
595
|
encodeString(n, e) {
|
596
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
596
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
597
597
|
},
|
598
598
|
/**
|
599
599
|
* Base64-decode a string.
|
@@ -632,12 +632,12 @@ const jt = function(n) {
|
|
632
632
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
633
633
|
if (++i, s == null || c == null || l == null || h == null)
|
634
634
|
throw new or();
|
635
|
-
const
|
636
|
-
if (r.push(
|
635
|
+
const m = s << 2 | c >> 4;
|
636
|
+
if (r.push(m), l !== 64) {
|
637
637
|
const v = c << 4 & 240 | l >> 2;
|
638
638
|
if (r.push(v), h !== 64) {
|
639
|
-
const
|
640
|
-
r.push(
|
639
|
+
const x = l << 6 & 192 | h;
|
640
|
+
r.push(x);
|
641
641
|
}
|
642
642
|
}
|
643
643
|
}
|
@@ -662,13 +662,13 @@ class or extends Error {
|
|
662
662
|
}
|
663
663
|
}
|
664
664
|
const cr = function(n) {
|
665
|
-
const e =
|
666
|
-
return
|
665
|
+
const e = Ht(n);
|
666
|
+
return jt.encodeByteArray(e, !0);
|
667
667
|
}, de = function(n) {
|
668
668
|
return cr(n).replace(/\./g, "");
|
669
669
|
}, Gt = function(n) {
|
670
670
|
try {
|
671
|
-
return
|
671
|
+
return jt.decodeString(n, !0);
|
672
672
|
} catch (e) {
|
673
673
|
console.error("base64Decode failed: ", e);
|
674
674
|
}
|
@@ -855,15 +855,15 @@ function za(n, e) {
|
|
855
855
|
* See the License for the specific language governing permissions and
|
856
856
|
* limitations under the License.
|
857
857
|
*/
|
858
|
-
function
|
858
|
+
function f() {
|
859
859
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
860
860
|
}
|
861
|
-
function
|
861
|
+
function mr() {
|
862
862
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
863
863
|
// just to deal with this case would probably be a bad idea.
|
864
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
864
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
|
865
865
|
}
|
866
|
-
function
|
866
|
+
function fr() {
|
867
867
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
868
868
|
}
|
869
869
|
function _r() {
|
@@ -874,7 +874,7 @@ function gr() {
|
|
874
874
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
875
875
|
}
|
876
876
|
function vr() {
|
877
|
-
const n =
|
877
|
+
const n = f();
|
878
878
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
879
879
|
}
|
880
880
|
function Ir() {
|
@@ -1216,7 +1216,7 @@ class Ar {
|
|
1216
1216
|
if (this.component)
|
1217
1217
|
throw Error(`Component for ${this.name} has already been provided`);
|
1218
1218
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1219
|
-
if (
|
1219
|
+
if (Dr(e))
|
1220
1220
|
try {
|
1221
1221
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1222
1222
|
} catch {
|
@@ -1322,7 +1322,7 @@ class Ar {
|
|
1322
1322
|
function Or(n) {
|
1323
1323
|
return n === L ? void 0 : n;
|
1324
1324
|
}
|
1325
|
-
function
|
1325
|
+
function Dr(n) {
|
1326
1326
|
return n.instantiationMode === "EAGER";
|
1327
1327
|
}
|
1328
1328
|
/**
|
@@ -1400,7 +1400,7 @@ var p;
|
|
1400
1400
|
(function(n) {
|
1401
1401
|
n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
|
1402
1402
|
})(p || (p = {}));
|
1403
|
-
const
|
1403
|
+
const Nr = {
|
1404
1404
|
debug: p.DEBUG,
|
1405
1405
|
verbose: p.VERBOSE,
|
1406
1406
|
info: p.INFO,
|
@@ -1422,7 +1422,7 @@ const Dr = {
|
|
1422
1422
|
else
|
1423
1423
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1424
1424
|
};
|
1425
|
-
class
|
1425
|
+
class $t {
|
1426
1426
|
/**
|
1427
1427
|
* Gives you an instance of a Logger to capture messages according to
|
1428
1428
|
* Firebase's logging scheme.
|
@@ -1442,7 +1442,7 @@ class Zt {
|
|
1442
1442
|
}
|
1443
1443
|
// Workaround for setter/getter having to be the same type.
|
1444
1444
|
setLogLevel(e) {
|
1445
|
-
this._logLevel = typeof e == "string" ?
|
1445
|
+
this._logLevel = typeof e == "string" ? Nr[e] : e;
|
1446
1446
|
}
|
1447
1447
|
get logHandler() {
|
1448
1448
|
return this._logHandler;
|
@@ -1488,15 +1488,15 @@ function Br() {
|
|
1488
1488
|
IDBTransaction
|
1489
1489
|
]);
|
1490
1490
|
}
|
1491
|
-
function
|
1491
|
+
function xr() {
|
1492
1492
|
return dt || (dt = [
|
1493
1493
|
IDBCursor.prototype.advance,
|
1494
1494
|
IDBCursor.prototype.continue,
|
1495
1495
|
IDBCursor.prototype.continuePrimaryKey
|
1496
1496
|
]);
|
1497
1497
|
}
|
1498
|
-
const
|
1499
|
-
function
|
1498
|
+
const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1499
|
+
function Fr(n) {
|
1500
1500
|
const e = new Promise((t, r) => {
|
1501
1501
|
const i = () => {
|
1502
1502
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
@@ -1508,11 +1508,11 @@ function xr(n) {
|
|
1508
1508
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1509
1509
|
});
|
1510
1510
|
return e.then((t) => {
|
1511
|
-
t instanceof IDBCursor &&
|
1511
|
+
t instanceof IDBCursor && Zt.set(t, n);
|
1512
1512
|
}).catch(() => {
|
1513
|
-
}),
|
1513
|
+
}), $e.set(e, n), e;
|
1514
1514
|
}
|
1515
|
-
function
|
1515
|
+
function Hr(n) {
|
1516
1516
|
if (Le.has(n))
|
1517
1517
|
return;
|
1518
1518
|
const e = new Promise((t, r) => {
|
@@ -1546,31 +1546,31 @@ let Ue = {
|
|
1546
1546
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1547
1547
|
}
|
1548
1548
|
};
|
1549
|
-
function
|
1549
|
+
function jr(n) {
|
1550
1550
|
Ue = n(Ue);
|
1551
1551
|
}
|
1552
1552
|
function Gr(n) {
|
1553
1553
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1554
1554
|
const r = n.call(Ae(this), e, ...t);
|
1555
1555
|
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1556
|
-
} :
|
1557
|
-
return n.apply(Ae(this), e), C(
|
1556
|
+
} : xr().includes(n) ? function(...e) {
|
1557
|
+
return n.apply(Ae(this), e), C(Zt.get(this));
|
1558
1558
|
} : function(...e) {
|
1559
1559
|
return C(n.apply(Ae(this), e));
|
1560
1560
|
};
|
1561
1561
|
}
|
1562
1562
|
function Vr(n) {
|
1563
|
-
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction &&
|
1563
|
+
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction && Hr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1564
1564
|
}
|
1565
1565
|
function C(n) {
|
1566
1566
|
if (n instanceof IDBRequest)
|
1567
|
-
return
|
1567
|
+
return Fr(n);
|
1568
1568
|
if (Se.has(n))
|
1569
1569
|
return Se.get(n);
|
1570
1570
|
const e = Vr(n);
|
1571
|
-
return e !== n && (Se.set(n, e),
|
1571
|
+
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1572
1572
|
}
|
1573
|
-
const Ae = (n) =>
|
1573
|
+
const Ae = (n) => $e.get(n);
|
1574
1574
|
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1575
1575
|
const a = indexedDB.open(n, e), c = C(a);
|
1576
1576
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
@@ -1585,13 +1585,13 @@ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1585
1585
|
}).catch(() => {
|
1586
1586
|
}), c;
|
1587
1587
|
}
|
1588
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1588
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1589
1589
|
function ut(n, e) {
|
1590
1590
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1591
1591
|
return;
|
1592
1592
|
if (Oe.get(e))
|
1593
1593
|
return Oe.get(e);
|
1594
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1594
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
1595
1595
|
if (
|
1596
1596
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1597
1597
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
|
@@ -1607,7 +1607,7 @@ function ut(n, e) {
|
|
1607
1607
|
};
|
1608
1608
|
return Oe.set(e, s), s;
|
1609
1609
|
}
|
1610
|
-
|
1610
|
+
jr((n) => ({
|
1611
1611
|
...n,
|
1612
1612
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1613
1613
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1628,7 +1628,7 @@ Hr((n) => ({
|
|
1628
1628
|
* See the License for the specific language governing permissions and
|
1629
1629
|
* limitations under the License.
|
1630
1630
|
*/
|
1631
|
-
class
|
1631
|
+
class Zr {
|
1632
1632
|
constructor(e) {
|
1633
1633
|
this.container = e;
|
1634
1634
|
}
|
@@ -1665,7 +1665,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1665
1665
|
* See the License for the specific language governing permissions and
|
1666
1666
|
* limitations under the License.
|
1667
1667
|
*/
|
1668
|
-
const T = new
|
1668
|
+
const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1669
1669
|
/**
|
1670
1670
|
* @license
|
1671
1671
|
* Copyright 2019 Google LLC
|
@@ -1682,7 +1682,7 @@ const T = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1682
1682
|
* See the License for the specific language governing permissions and
|
1683
1683
|
* limitations under the License.
|
1684
1684
|
*/
|
1685
|
-
const
|
1685
|
+
const xe = "[DEFAULT]", Ei = {
|
1686
1686
|
[Be]: "fire-core",
|
1687
1687
|
[Xr]: "fire-core-compat",
|
1688
1688
|
[Kr]: "fire-analytics",
|
@@ -1703,8 +1703,8 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1703
1703
|
[ui]: "fire-perf",
|
1704
1704
|
[hi]: "fire-perf-compat",
|
1705
1705
|
[pi]: "fire-rc",
|
1706
|
-
[
|
1707
|
-
[
|
1706
|
+
[mi]: "fire-rc-compat",
|
1707
|
+
[fi]: "fire-gcs",
|
1708
1708
|
[_i]: "fire-gcs-compat",
|
1709
1709
|
[gi]: "fire-fst",
|
1710
1710
|
[Ii]: "fire-fst-compat",
|
@@ -1728,7 +1728,7 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1728
1728
|
* See the License for the specific language governing permissions and
|
1729
1729
|
* limitations under the License.
|
1730
1730
|
*/
|
1731
|
-
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(),
|
1731
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1732
1732
|
function pt(n, e) {
|
1733
1733
|
try {
|
1734
1734
|
n.container.addComponent(e);
|
@@ -1738,9 +1738,9 @@ function pt(n, e) {
|
|
1738
1738
|
}
|
1739
1739
|
function X(n) {
|
1740
1740
|
const e = n.name;
|
1741
|
-
if (
|
1741
|
+
if (Fe.has(e))
|
1742
1742
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1743
|
-
|
1743
|
+
Fe.set(e, n);
|
1744
1744
|
for (const t of he.values())
|
1745
1745
|
pt(t, n);
|
1746
1746
|
for (const t of Ti.values())
|
@@ -1785,7 +1785,7 @@ const wi = {
|
|
1785
1785
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1786
1786
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1787
1787
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1788
|
-
},
|
1788
|
+
}, N = new q("app", "Firebase", wi);
|
1789
1789
|
/**
|
1790
1790
|
* @license
|
1791
1791
|
* Copyright 2019 Google LLC
|
@@ -1841,7 +1841,7 @@ class ki {
|
|
1841
1841
|
*/
|
1842
1842
|
checkDestroyed() {
|
1843
1843
|
if (this.isDeleted)
|
1844
|
-
throw
|
1844
|
+
throw N.create("app-deleted", { appName: this._name });
|
1845
1845
|
}
|
1846
1846
|
}
|
1847
1847
|
/**
|
@@ -1864,13 +1864,13 @@ const ee = yi;
|
|
1864
1864
|
function Yt(n, e = {}) {
|
1865
1865
|
let t = n;
|
1866
1866
|
typeof e != "object" && (e = { name: e });
|
1867
|
-
const r = Object.assign({ name:
|
1867
|
+
const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1868
1868
|
if (typeof i != "string" || !i)
|
1869
|
-
throw
|
1869
|
+
throw N.create("bad-app-name", {
|
1870
1870
|
appName: String(i)
|
1871
1871
|
});
|
1872
1872
|
if (t || (t = Wt()), !t)
|
1873
|
-
throw
|
1873
|
+
throw N.create(
|
1874
1874
|
"no-options"
|
1875
1875
|
/* AppError.NO_OPTIONS */
|
1876
1876
|
);
|
@@ -1878,23 +1878,23 @@ function Yt(n, e = {}) {
|
|
1878
1878
|
if (s) {
|
1879
1879
|
if (ue(t, s.options) && ue(r, s.config))
|
1880
1880
|
return s;
|
1881
|
-
throw
|
1881
|
+
throw N.create("duplicate-app", { appName: i });
|
1882
1882
|
}
|
1883
1883
|
const a = new Cr(i);
|
1884
|
-
for (const o of
|
1884
|
+
for (const o of Fe.values())
|
1885
1885
|
a.addComponent(o);
|
1886
1886
|
const c = new ki(t, r, a);
|
1887
1887
|
return he.set(i, c), c;
|
1888
1888
|
}
|
1889
|
-
function Ri(n =
|
1889
|
+
function Ri(n = xe) {
|
1890
1890
|
const e = he.get(n);
|
1891
|
-
if (!e && n ===
|
1891
|
+
if (!e && n === xe && Wt())
|
1892
1892
|
return Yt();
|
1893
1893
|
if (!e)
|
1894
|
-
throw
|
1894
|
+
throw N.create("no-app", { appName: n });
|
1895
1895
|
return e;
|
1896
1896
|
}
|
1897
|
-
function
|
1897
|
+
function H(n, e, t) {
|
1898
1898
|
var r;
|
1899
1899
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1900
1900
|
t && (i += `-${t}`);
|
@@ -1930,9 +1930,9 @@ function j(n, e, t) {
|
|
1930
1930
|
* limitations under the License.
|
1931
1931
|
*/
|
1932
1932
|
const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
|
1933
|
-
let
|
1933
|
+
let De = null;
|
1934
1934
|
function Kt() {
|
1935
|
-
return
|
1935
|
+
return De || (De = Wr(Si, Ai, {
|
1936
1936
|
upgrade: (n, e) => {
|
1937
1937
|
switch (e) {
|
1938
1938
|
case 0:
|
@@ -1944,10 +1944,10 @@ function Kt() {
|
|
1944
1944
|
}
|
1945
1945
|
}
|
1946
1946
|
}).catch((n) => {
|
1947
|
-
throw
|
1947
|
+
throw N.create("idb-open", {
|
1948
1948
|
originalErrorMessage: n.message
|
1949
1949
|
});
|
1950
|
-
})),
|
1950
|
+
})), De;
|
1951
1951
|
}
|
1952
1952
|
async function Oi(n) {
|
1953
1953
|
try {
|
@@ -1957,14 +1957,14 @@ async function Oi(n) {
|
|
1957
1957
|
if (e instanceof M)
|
1958
1958
|
T.warn(e.message);
|
1959
1959
|
else {
|
1960
|
-
const t =
|
1960
|
+
const t = N.create("idb-get", {
|
1961
1961
|
originalErrorMessage: e == null ? void 0 : e.message
|
1962
1962
|
});
|
1963
1963
|
T.warn(t.message);
|
1964
1964
|
}
|
1965
1965
|
}
|
1966
1966
|
}
|
1967
|
-
async function
|
1967
|
+
async function mt(n, e) {
|
1968
1968
|
try {
|
1969
1969
|
const r = (await Kt()).transaction(Y, "readwrite");
|
1970
1970
|
await r.objectStore(Y).put(e, qt(n)), await r.done;
|
@@ -1972,7 +1972,7 @@ async function ft(n, e) {
|
|
1972
1972
|
if (t instanceof M)
|
1973
1973
|
T.warn(t.message);
|
1974
1974
|
else {
|
1975
|
-
const r =
|
1975
|
+
const r = N.create("idb-set", {
|
1976
1976
|
originalErrorMessage: t == null ? void 0 : t.message
|
1977
1977
|
});
|
1978
1978
|
T.warn(r.message);
|
@@ -1998,8 +1998,8 @@ function qt(n) {
|
|
1998
1998
|
* See the License for the specific language governing permissions and
|
1999
1999
|
* limitations under the License.
|
2000
2000
|
*/
|
2001
|
-
const
|
2002
|
-
class
|
2001
|
+
const Di = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
|
2002
|
+
class Ni {
|
2003
2003
|
constructor(e) {
|
2004
2004
|
this.container = e, this._heartbeatsCache = null;
|
2005
2005
|
const t = this.container.getProvider("app").getImmediate();
|
@@ -2015,7 +2015,7 @@ class Di {
|
|
2015
2015
|
async triggerHeartbeat() {
|
2016
2016
|
var e, t;
|
2017
2017
|
try {
|
2018
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2018
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2019
2019
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2020
2020
|
const c = new Date(a.date).valueOf();
|
2021
2021
|
return Date.now() - c <= Ci;
|
@@ -2036,17 +2036,17 @@ class Di {
|
|
2036
2036
|
try {
|
2037
2037
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2038
2038
|
return "";
|
2039
|
-
const t =
|
2039
|
+
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2040
2040
|
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;
|
2041
2041
|
} catch (t) {
|
2042
2042
|
return T.warn(t), "";
|
2043
2043
|
}
|
2044
2044
|
}
|
2045
2045
|
}
|
2046
|
-
function
|
2046
|
+
function ft() {
|
2047
2047
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2048
2048
|
}
|
2049
|
-
function Pi(n, e =
|
2049
|
+
function Pi(n, e = Di) {
|
2050
2050
|
const t = [];
|
2051
2051
|
let r = n.slice();
|
2052
2052
|
for (const i of n) {
|
@@ -2092,7 +2092,7 @@ class Mi {
|
|
2092
2092
|
var t;
|
2093
2093
|
if (await this._canUseIndexedDBPromise) {
|
2094
2094
|
const i = await this.read();
|
2095
|
-
return
|
2095
|
+
return mt(this.app, {
|
2096
2096
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2097
2097
|
heartbeats: e.heartbeats
|
2098
2098
|
});
|
@@ -2104,7 +2104,7 @@ class Mi {
|
|
2104
2104
|
var t;
|
2105
2105
|
if (await this._canUseIndexedDBPromise) {
|
2106
2106
|
const i = await this.read();
|
2107
|
-
return
|
2107
|
+
return mt(this.app, {
|
2108
2108
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2109
2109
|
heartbeats: [
|
2110
2110
|
...i.heartbeats,
|
@@ -2140,15 +2140,15 @@ function _t(n) {
|
|
2140
2140
|
function Li(n) {
|
2141
2141
|
X(new W(
|
2142
2142
|
"platform-logger",
|
2143
|
-
(e) => new
|
2143
|
+
(e) => new Zr(e),
|
2144
2144
|
"PRIVATE"
|
2145
2145
|
/* ComponentType.PRIVATE */
|
2146
2146
|
)), X(new W(
|
2147
2147
|
"heartbeat",
|
2148
|
-
(e) => new
|
2148
|
+
(e) => new Ni(e),
|
2149
2149
|
"PRIVATE"
|
2150
2150
|
/* ComponentType.PRIVATE */
|
2151
|
-
)),
|
2151
|
+
)), H(Be, ht, n), H(Be, ht, "esm2017"), H("fire-js", "");
|
2152
2152
|
}
|
2153
2153
|
Li("");
|
2154
2154
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2168,7 +2168,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2168
2168
|
* See the License for the specific language governing permissions and
|
2169
2169
|
* limitations under the License.
|
2170
2170
|
*/
|
2171
|
-
|
2171
|
+
H(Ui, Bi, "app");
|
2172
2172
|
var gt = function() {
|
2173
2173
|
return gt = Object.assign || function(e) {
|
2174
2174
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2178,7 +2178,7 @@ var gt = function() {
|
|
2178
2178
|
return e;
|
2179
2179
|
}, gt.apply(this, arguments);
|
2180
2180
|
};
|
2181
|
-
function
|
2181
|
+
function Ze(n, e) {
|
2182
2182
|
var t = {};
|
2183
2183
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2184
2184
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2191,7 +2191,7 @@ function Qt() {
|
|
2191
2191
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
2192
2192
|
};
|
2193
2193
|
}
|
2194
|
-
const
|
2194
|
+
const xi = Qt, en = new q("auth", "Firebase", Qt());
|
2195
2195
|
/**
|
2196
2196
|
* @license
|
2197
2197
|
* Copyright 2020 Google LLC
|
@@ -2208,8 +2208,8 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2208
2208
|
* See the License for the specific language governing permissions and
|
2209
2209
|
* limitations under the License.
|
2210
2210
|
*/
|
2211
|
-
const pe = new
|
2212
|
-
function
|
2211
|
+
const pe = new $t("@firebase/auth");
|
2212
|
+
function Fi(n, ...e) {
|
2213
2213
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2214
2214
|
}
|
2215
2215
|
function se(n, ...e) {
|
@@ -2238,7 +2238,7 @@ function _(n, ...e) {
|
|
2238
2238
|
return Je(n, ...e);
|
2239
2239
|
}
|
2240
2240
|
function tn(n, e, t) {
|
2241
|
-
const r = Object.assign(Object.assign({},
|
2241
|
+
const r = Object.assign(Object.assign({}, xi()), { [e]: t });
|
2242
2242
|
return new q("auth", "Firebase", r).create(e, {
|
2243
2243
|
appName: n.name
|
2244
2244
|
});
|
@@ -2280,11 +2280,11 @@ function k(n, e) {
|
|
2280
2280
|
* See the License for the specific language governing permissions and
|
2281
2281
|
* limitations under the License.
|
2282
2282
|
*/
|
2283
|
-
function
|
2283
|
+
function He() {
|
2284
2284
|
var n;
|
2285
2285
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2286
2286
|
}
|
2287
|
-
function
|
2287
|
+
function Hi() {
|
2288
2288
|
return vt() === "http:" || vt() === "https:";
|
2289
2289
|
}
|
2290
2290
|
function vt() {
|
@@ -2307,13 +2307,13 @@ function vt() {
|
|
2307
2307
|
* See the License for the specific language governing permissions and
|
2308
2308
|
* limitations under the License.
|
2309
2309
|
*/
|
2310
|
-
function
|
2310
|
+
function ji() {
|
2311
2311
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2312
2312
|
// This is especially true for Cordova apps which have unreliable
|
2313
2313
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2314
2314
|
// installed which overwrites the native navigator.onLine value and
|
2315
2315
|
// defines navigator.connection.
|
2316
|
-
(
|
2316
|
+
(Hi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2317
2317
|
}
|
2318
2318
|
function Gi() {
|
2319
2319
|
if (typeof navigator > "u")
|
@@ -2345,10 +2345,10 @@ function Gi() {
|
|
2345
2345
|
*/
|
2346
2346
|
class te {
|
2347
2347
|
constructor(e, t) {
|
2348
|
-
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile =
|
2348
|
+
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2349
2349
|
}
|
2350
2350
|
get() {
|
2351
|
-
return
|
2351
|
+
return ji() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2352
2352
|
}
|
2353
2353
|
}
|
2354
2354
|
/**
|
@@ -2537,7 +2537,7 @@ const Wi = new te(3e4, 6e4);
|
|
2537
2537
|
function ve(n, e) {
|
2538
2538
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2539
2539
|
}
|
2540
|
-
async function
|
2540
|
+
async function $(n, e, t, r, i = {}) {
|
2541
2541
|
return rn(n, i, async () => {
|
2542
2542
|
let s = {}, a = {};
|
2543
2543
|
r && (e === "GET" ? a = r : s = {
|
@@ -2555,7 +2555,7 @@ async function Z(n, e, t, r, i = {}) {
|
|
2555
2555
|
method: e,
|
2556
2556
|
headers: o
|
2557
2557
|
}, s);
|
2558
|
-
return
|
2558
|
+
return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2559
2559
|
});
|
2560
2560
|
}
|
2561
2561
|
async function rn(n, e, t) {
|
@@ -2592,7 +2592,7 @@ async function rn(n, e, t) {
|
|
2592
2592
|
}
|
2593
2593
|
}
|
2594
2594
|
async function sn(n, e, t, r, i = {}) {
|
2595
|
-
const s = await
|
2595
|
+
const s = await $(n, e, t, r, i);
|
2596
2596
|
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2597
2597
|
_serverResponse: s
|
2598
2598
|
}), s;
|
@@ -2639,11 +2639,11 @@ function ie(n, e, t) {
|
|
2639
2639
|
* See the License for the specific language governing permissions and
|
2640
2640
|
* limitations under the License.
|
2641
2641
|
*/
|
2642
|
-
async function
|
2643
|
-
return
|
2642
|
+
async function $i(n, e) {
|
2643
|
+
return $(n, "POST", "/v1/accounts:delete", e);
|
2644
2644
|
}
|
2645
2645
|
async function on(n, e) {
|
2646
|
-
return
|
2646
|
+
return $(n, "POST", "/v1/accounts:lookup", e);
|
2647
2647
|
}
|
2648
2648
|
/**
|
2649
2649
|
* @license
|
@@ -2670,7 +2670,7 @@ function J(n) {
|
|
2670
2670
|
} catch {
|
2671
2671
|
}
|
2672
2672
|
}
|
2673
|
-
async function
|
2673
|
+
async function Zi(n, e = !1) {
|
2674
2674
|
const t = z(n), r = await t.getIdToken(e), i = Ye(r);
|
2675
2675
|
u(
|
2676
2676
|
i && i.exp && i.auth_time && i.iat,
|
@@ -2825,7 +2825,7 @@ class Xi {
|
|
2825
2825
|
* See the License for the specific language governing permissions and
|
2826
2826
|
* limitations under the License.
|
2827
2827
|
*/
|
2828
|
-
class
|
2828
|
+
class je {
|
2829
2829
|
constructor(e, t) {
|
2830
2830
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2831
2831
|
}
|
@@ -2858,7 +2858,7 @@ class He {
|
|
2858
2858
|
* See the License for the specific language governing permissions and
|
2859
2859
|
* limitations under the License.
|
2860
2860
|
*/
|
2861
|
-
async function
|
2861
|
+
async function me(n) {
|
2862
2862
|
var e;
|
2863
2863
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2864
2864
|
u(
|
@@ -2878,21 +2878,21 @@ async function fe(n) {
|
|
2878
2878
|
phoneNumber: s.phoneNumber || null,
|
2879
2879
|
tenantId: s.tenantId || null,
|
2880
2880
|
providerData: c,
|
2881
|
-
metadata: new
|
2881
|
+
metadata: new je(s.createdAt, s.lastLoginAt),
|
2882
2882
|
isAnonymous: d
|
2883
2883
|
};
|
2884
2884
|
Object.assign(n, h);
|
2885
2885
|
}
|
2886
2886
|
async function Yi(n) {
|
2887
2887
|
const e = z(n);
|
2888
|
-
await
|
2888
|
+
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2889
2889
|
}
|
2890
2890
|
function Ki(n, e) {
|
2891
2891
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2892
2892
|
}
|
2893
2893
|
function cn(n) {
|
2894
2894
|
return n.map((e) => {
|
2895
|
-
var { providerId: t } = e, r =
|
2895
|
+
var { providerId: t } = e, r = Ze(e, ["providerId"]);
|
2896
2896
|
return {
|
2897
2897
|
providerId: t,
|
2898
2898
|
uid: r.rawId || "",
|
@@ -2941,7 +2941,7 @@ async function qi(n, e) {
|
|
2941
2941
|
};
|
2942
2942
|
}
|
2943
2943
|
async function Qi(n, e) {
|
2944
|
-
return
|
2944
|
+
return $(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2945
2945
|
}
|
2946
2946
|
/**
|
2947
2947
|
* @license
|
@@ -2959,7 +2959,7 @@ async function Qi(n, e) {
|
|
2959
2959
|
* See the License for the specific language governing permissions and
|
2960
2960
|
* limitations under the License.
|
2961
2961
|
*/
|
2962
|
-
class
|
2962
|
+
class j {
|
2963
2963
|
constructor() {
|
2964
2964
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2965
2965
|
}
|
@@ -3011,7 +3011,7 @@ class H {
|
|
3011
3011
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3012
3012
|
}
|
3013
3013
|
static fromJSON(e, t) {
|
3014
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3014
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new j();
|
3015
3015
|
return r && (u(typeof r == "string", "internal-error", {
|
3016
3016
|
appName: e
|
3017
3017
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3031,7 +3031,7 @@ class H {
|
|
3031
3031
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3032
3032
|
}
|
3033
3033
|
_clone() {
|
3034
|
-
return Object.assign(new
|
3034
|
+
return Object.assign(new j(), this.toJSON());
|
3035
3035
|
}
|
3036
3036
|
_performRefresh() {
|
3037
3037
|
return b("not implemented");
|
@@ -3058,8 +3058,8 @@ function R(n, e) {
|
|
3058
3058
|
}
|
3059
3059
|
class y {
|
3060
3060
|
constructor(e) {
|
3061
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3062
|
-
this.providerId = "firebase", this.proactiveRefresh = new Xi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
3061
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
|
3062
|
+
this.providerId = "firebase", this.proactiveRefresh = new Xi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new je(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3063
3063
|
}
|
3064
3064
|
async getIdToken(e) {
|
3065
3065
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3071,7 +3071,7 @@ class y {
|
|
3071
3071
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3072
3072
|
}
|
3073
3073
|
getIdTokenResult(e) {
|
3074
|
-
return
|
3074
|
+
return Zi(this, e);
|
3075
3075
|
}
|
3076
3076
|
reload() {
|
3077
3077
|
return Yi(this);
|
@@ -3107,13 +3107,13 @@ class y {
|
|
3107
3107
|
}
|
3108
3108
|
async _updateTokensIfNecessary(e, t = !1) {
|
3109
3109
|
let r = !1;
|
3110
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3110
|
+
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3111
3111
|
}
|
3112
3112
|
async delete() {
|
3113
3113
|
if (I(this.auth.app))
|
3114
3114
|
return Promise.reject(P(this.auth));
|
3115
3115
|
const e = await this.getIdToken();
|
3116
|
-
return await K(this,
|
3116
|
+
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3117
3117
|
}
|
3118
3118
|
toJSON() {
|
3119
3119
|
return Object.assign(Object.assign({
|
@@ -3141,20 +3141,20 @@ class y {
|
|
3141
3141
|
}
|
3142
3142
|
static _fromJSON(e, t) {
|
3143
3143
|
var r, i, s, a, c, o, l, d;
|
3144
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3144
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3145
3145
|
u(
|
3146
3146
|
Te && at,
|
3147
3147
|
e,
|
3148
3148
|
"internal-error"
|
3149
3149
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3150
3150
|
);
|
3151
|
-
const Pn =
|
3151
|
+
const Pn = j.fromJSON(this.name, at);
|
3152
3152
|
u(
|
3153
3153
|
typeof Te == "string",
|
3154
3154
|
e,
|
3155
3155
|
"internal-error"
|
3156
3156
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3157
|
-
), R(h, e.name), R(
|
3157
|
+
), R(h, e.name), R(m, e.name), u(
|
3158
3158
|
typeof it == "boolean",
|
3159
3159
|
e,
|
3160
3160
|
"internal-error"
|
@@ -3164,15 +3164,15 @@ class y {
|
|
3164
3164
|
e,
|
3165
3165
|
"internal-error"
|
3166
3166
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3167
|
-
), R(v, e.name), R(
|
3167
|
+
), R(v, e.name), R(x, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3168
3168
|
const ke = new y({
|
3169
3169
|
uid: Te,
|
3170
3170
|
auth: e,
|
3171
|
-
email:
|
3171
|
+
email: m,
|
3172
3172
|
emailVerified: it,
|
3173
3173
|
displayName: h,
|
3174
3174
|
isAnonymous: st,
|
3175
|
-
photoURL:
|
3175
|
+
photoURL: x,
|
3176
3176
|
phoneNumber: v,
|
3177
3177
|
tenantId: tt,
|
3178
3178
|
stsTokenManager: Pn,
|
@@ -3187,7 +3187,7 @@ class y {
|
|
3187
3187
|
* @param idTokenResponse
|
3188
3188
|
*/
|
3189
3189
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3190
|
-
const i = new
|
3190
|
+
const i = new j();
|
3191
3191
|
i.updateFromServerResponse(t);
|
3192
3192
|
const s = new y({
|
3193
3193
|
uid: t.localId,
|
@@ -3195,7 +3195,7 @@ class y {
|
|
3195
3195
|
stsTokenManager: i,
|
3196
3196
|
isAnonymous: r
|
3197
3197
|
});
|
3198
|
-
return await
|
3198
|
+
return await me(s), s;
|
3199
3199
|
}
|
3200
3200
|
/**
|
3201
3201
|
* Initialize a User from an idToken server response
|
@@ -3209,7 +3209,7 @@ class y {
|
|
3209
3209
|
"internal-error"
|
3210
3210
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3211
3211
|
);
|
3212
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3212
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new j();
|
3213
3213
|
c.updateFromIdToken(r);
|
3214
3214
|
const o = new y({
|
3215
3215
|
uid: i.localId,
|
@@ -3225,7 +3225,7 @@ class y {
|
|
3225
3225
|
phoneNumber: i.phoneNumber || null,
|
3226
3226
|
tenantId: i.tenantId || null,
|
3227
3227
|
providerData: s,
|
3228
|
-
metadata: new
|
3228
|
+
metadata: new je(i.createdAt, i.lastLoginAt),
|
3229
3229
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3230
3230
|
};
|
3231
3231
|
return Object.assign(o, l), o;
|
@@ -3401,7 +3401,7 @@ function Et(n) {
|
|
3401
3401
|
return "Firefox";
|
3402
3402
|
if (e.includes("silk/"))
|
3403
3403
|
return "Silk";
|
3404
|
-
if (
|
3404
|
+
if (fn(e))
|
3405
3405
|
return "Blackberry";
|
3406
3406
|
if (_n(e))
|
3407
3407
|
return "Webos";
|
@@ -3409,7 +3409,7 @@ function Et(n) {
|
|
3409
3409
|
return "Safari";
|
3410
3410
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3411
3411
|
return "Chrome";
|
3412
|
-
if (
|
3412
|
+
if (mn(e))
|
3413
3413
|
return "Android";
|
3414
3414
|
{
|
3415
3415
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3418,40 +3418,40 @@ function Et(n) {
|
|
3418
3418
|
}
|
3419
3419
|
return "Other";
|
3420
3420
|
}
|
3421
|
-
function dn(n =
|
3421
|
+
function dn(n = f()) {
|
3422
3422
|
return /firefox\//i.test(n);
|
3423
3423
|
}
|
3424
|
-
function un(n =
|
3424
|
+
function un(n = f()) {
|
3425
3425
|
const e = n.toLowerCase();
|
3426
3426
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3427
3427
|
}
|
3428
|
-
function hn(n =
|
3428
|
+
function hn(n = f()) {
|
3429
3429
|
return /crios\//i.test(n);
|
3430
3430
|
}
|
3431
|
-
function pn(n =
|
3431
|
+
function pn(n = f()) {
|
3432
3432
|
return /iemobile/i.test(n);
|
3433
3433
|
}
|
3434
|
-
function
|
3434
|
+
function mn(n = f()) {
|
3435
3435
|
return /android/i.test(n);
|
3436
3436
|
}
|
3437
|
-
function
|
3437
|
+
function fn(n = f()) {
|
3438
3438
|
return /blackberry/i.test(n);
|
3439
3439
|
}
|
3440
|
-
function _n(n =
|
3440
|
+
function _n(n = f()) {
|
3441
3441
|
return /webos/i.test(n);
|
3442
3442
|
}
|
3443
|
-
function Ke(n =
|
3443
|
+
function Ke(n = f()) {
|
3444
3444
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3445
3445
|
}
|
3446
|
-
function es(n =
|
3446
|
+
function es(n = f()) {
|
3447
3447
|
var e;
|
3448
3448
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3449
3449
|
}
|
3450
3450
|
function ts() {
|
3451
3451
|
return vr() && document.documentMode === 10;
|
3452
3452
|
}
|
3453
|
-
function gn(n =
|
3454
|
-
return Ke(n) ||
|
3453
|
+
function gn(n = f()) {
|
3454
|
+
return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
|
3455
3455
|
}
|
3456
3456
|
/**
|
3457
3457
|
* @license
|
@@ -3473,10 +3473,10 @@ function vn(n, e = []) {
|
|
3473
3473
|
let t;
|
3474
3474
|
switch (n) {
|
3475
3475
|
case "Browser":
|
3476
|
-
t = Et(
|
3476
|
+
t = Et(f());
|
3477
3477
|
break;
|
3478
3478
|
case "Worker":
|
3479
|
-
t = `${Et(
|
3479
|
+
t = `${Et(f())}-${n}`;
|
3480
3480
|
break;
|
3481
3481
|
default:
|
3482
3482
|
t = n;
|
@@ -3556,7 +3556,7 @@ class ns {
|
|
3556
3556
|
* limitations under the License.
|
3557
3557
|
*/
|
3558
3558
|
async function rs(n, e = {}) {
|
3559
|
-
return
|
3559
|
+
return $(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3560
3560
|
}
|
3561
3561
|
/**
|
3562
3562
|
* @license
|
@@ -3750,7 +3750,7 @@ class as {
|
|
3750
3750
|
}
|
3751
3751
|
async reloadAndSetCurrentUserOrClear(e) {
|
3752
3752
|
try {
|
3753
|
-
await
|
3753
|
+
await me(e);
|
3754
3754
|
} catch (t) {
|
3755
3755
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3756
3756
|
return this.directlySetCurrentUser(null);
|
@@ -3992,7 +3992,7 @@ class as {
|
|
3992
3992
|
async _getAppCheckToken() {
|
3993
3993
|
var e;
|
3994
3994
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
3995
|
-
return t != null && t.error &&
|
3995
|
+
return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3996
3996
|
}
|
3997
3997
|
}
|
3998
3998
|
function Ie(n) {
|
@@ -4094,19 +4094,19 @@ function ps(n, e, t) {
|
|
4094
4094
|
"invalid-emulator-scheme"
|
4095
4095
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4096
4096
|
);
|
4097
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4097
|
+
const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4098
4098
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4099
4099
|
host: a,
|
4100
4100
|
port: c,
|
4101
4101
|
protocol: s.replace(":", ""),
|
4102
4102
|
options: Object.freeze({ disableWarnings: i })
|
4103
|
-
}),
|
4103
|
+
}), fs();
|
4104
4104
|
}
|
4105
4105
|
function In(n) {
|
4106
4106
|
const e = n.indexOf(":");
|
4107
4107
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4108
4108
|
}
|
4109
|
-
function
|
4109
|
+
function ms(n) {
|
4110
4110
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4111
4111
|
if (!t)
|
4112
4112
|
return { host: "", port: null };
|
@@ -4125,7 +4125,7 @@ function wt(n) {
|
|
4125
4125
|
const e = Number(n);
|
4126
4126
|
return isNaN(e) ? null : e;
|
4127
4127
|
}
|
4128
|
-
function
|
4128
|
+
function fs() {
|
4129
4129
|
function n() {
|
4130
4130
|
const e = document.createElement("p"), t = e.style;
|
4131
4131
|
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);
|
@@ -4244,7 +4244,7 @@ class U extends bn {
|
|
4244
4244
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4245
4245
|
*/
|
4246
4246
|
static fromJSON(e) {
|
4247
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4247
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ze(t, ["providerId", "signInMethod"]);
|
4248
4248
|
if (!r || !i)
|
4249
4249
|
return null;
|
4250
4250
|
const a = new U(r, i);
|
@@ -4594,7 +4594,7 @@ O.PROVIDER_ID = "github.com";
|
|
4594
4594
|
* See the License for the specific language governing permissions and
|
4595
4595
|
* limitations under the License.
|
4596
4596
|
*/
|
4597
|
-
class
|
4597
|
+
class D extends ne {
|
4598
4598
|
constructor() {
|
4599
4599
|
super(
|
4600
4600
|
"twitter.com"
|
@@ -4609,8 +4609,8 @@ class N extends ne {
|
|
4609
4609
|
*/
|
4610
4610
|
static credential(e, t) {
|
4611
4611
|
return U._fromParams({
|
4612
|
-
providerId:
|
4613
|
-
signInMethod:
|
4612
|
+
providerId: D.PROVIDER_ID,
|
4613
|
+
signInMethod: D.TWITTER_SIGN_IN_METHOD,
|
4614
4614
|
oauthToken: e,
|
4615
4615
|
oauthTokenSecret: t
|
4616
4616
|
});
|
@@ -4621,7 +4621,7 @@ class N extends ne {
|
|
4621
4621
|
* @param userCredential - The user credential.
|
4622
4622
|
*/
|
4623
4623
|
static credentialFromResult(e) {
|
4624
|
-
return
|
4624
|
+
return D.credentialFromTaggedObject(e);
|
4625
4625
|
}
|
4626
4626
|
/**
|
4627
4627
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4630,7 +4630,7 @@ class N extends ne {
|
|
4630
4630
|
* @param userCredential - The user credential.
|
4631
4631
|
*/
|
4632
4632
|
static credentialFromError(e) {
|
4633
|
-
return
|
4633
|
+
return D.credentialFromTaggedObject(e.customData || {});
|
4634
4634
|
}
|
4635
4635
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4636
4636
|
if (!e)
|
@@ -4639,14 +4639,14 @@ class N extends ne {
|
|
4639
4639
|
if (!t || !r)
|
4640
4640
|
return null;
|
4641
4641
|
try {
|
4642
|
-
return
|
4642
|
+
return D.credential(t, r);
|
4643
4643
|
} catch {
|
4644
4644
|
return null;
|
4645
4645
|
}
|
4646
4646
|
}
|
4647
4647
|
}
|
4648
|
-
|
4649
|
-
|
4648
|
+
D.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4649
|
+
D.PROVIDER_ID = "twitter.com";
|
4650
4650
|
/**
|
4651
4651
|
* @license
|
4652
4652
|
* Copyright 2020 Google LLC
|
@@ -4710,10 +4710,10 @@ function kt(n) {
|
|
4710
4710
|
* See the License for the specific language governing permissions and
|
4711
4711
|
* limitations under the License.
|
4712
4712
|
*/
|
4713
|
-
class
|
4713
|
+
class fe extends M {
|
4714
4714
|
constructor(e, t, r, i) {
|
4715
4715
|
var s;
|
4716
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4716
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
|
4717
4717
|
appName: e.name,
|
4718
4718
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4719
4719
|
_serverResponse: t.customData._serverResponse,
|
@@ -4721,12 +4721,12 @@ class me extends M {
|
|
4721
4721
|
};
|
4722
4722
|
}
|
4723
4723
|
static _fromErrorAndOperation(e, t, r, i) {
|
4724
|
-
return new
|
4724
|
+
return new fe(e, t, r, i);
|
4725
4725
|
}
|
4726
4726
|
}
|
4727
4727
|
function En(n, e, t, r) {
|
4728
4728
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4729
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4729
|
+
throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
|
4730
4730
|
});
|
4731
4731
|
}
|
4732
4732
|
async function gs(n, e, t = !1) {
|
@@ -5225,9 +5225,9 @@ class As {
|
|
5225
5225
|
a = {
|
5226
5226
|
messageChannel: i,
|
5227
5227
|
onMessage(h) {
|
5228
|
-
const
|
5229
|
-
if (
|
5230
|
-
switch (
|
5228
|
+
const m = h;
|
5229
|
+
if (m.data.eventId === l)
|
5230
|
+
switch (m.data.status) {
|
5231
5231
|
case "ack":
|
5232
5232
|
clearTimeout(d), s = setTimeout(
|
5233
5233
|
() => {
|
@@ -5241,7 +5241,7 @@ class As {
|
|
5241
5241
|
);
|
5242
5242
|
break;
|
5243
5243
|
case "done":
|
5244
|
-
clearTimeout(s), c(
|
5244
|
+
clearTimeout(s), c(m.data.response);
|
5245
5245
|
break;
|
5246
5246
|
default:
|
5247
5247
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5302,7 +5302,7 @@ function Os(n) {
|
|
5302
5302
|
function Sn() {
|
5303
5303
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5304
5304
|
}
|
5305
|
-
async function
|
5305
|
+
async function Ds() {
|
5306
5306
|
if (!(navigator != null && navigator.serviceWorker))
|
5307
5307
|
return null;
|
5308
5308
|
try {
|
@@ -5315,7 +5315,7 @@ function Cs() {
|
|
5315
5315
|
var n;
|
5316
5316
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5317
5317
|
}
|
5318
|
-
function
|
5318
|
+
function Ns() {
|
5319
5319
|
return Sn() ? self : null;
|
5320
5320
|
}
|
5321
5321
|
/**
|
@@ -5390,7 +5390,7 @@ function St(n, e) {
|
|
5390
5390
|
return new re(t).toPromise();
|
5391
5391
|
}
|
5392
5392
|
const Us = 800, Bs = 3;
|
5393
|
-
class
|
5393
|
+
class Dn {
|
5394
5394
|
constructor() {
|
5395
5395
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5396
5396
|
}, () => {
|
@@ -5422,7 +5422,7 @@ class Nn {
|
|
5422
5422
|
* As the worker we should listen to events from the main window.
|
5423
5423
|
*/
|
5424
5424
|
async initializeReceiver() {
|
5425
|
-
this.receiver = be._getInstance(
|
5425
|
+
this.receiver = be._getInstance(Ns()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5426
5426
|
keyProcessed: (await this._poll()).includes(t.key)
|
5427
5427
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5428
5428
|
"keyChanged"
|
@@ -5438,7 +5438,7 @@ class Nn {
|
|
5438
5438
|
*/
|
5439
5439
|
async initializeSender() {
|
5440
5440
|
var e, t;
|
5441
|
-
if (this.activeServiceWorker = await
|
5441
|
+
if (this.activeServiceWorker = await Ds(), !this.activeServiceWorker)
|
5442
5442
|
return;
|
5443
5443
|
this.sender = new As(this.activeServiceWorker);
|
5444
5444
|
const r = await this.sender._send(
|
@@ -5539,8 +5539,8 @@ class Nn {
|
|
5539
5539
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5540
5540
|
}
|
5541
5541
|
}
|
5542
|
-
|
5543
|
-
const
|
5542
|
+
Dn.type = "LOCAL";
|
5543
|
+
const xs = Dn;
|
5544
5544
|
new te(3e4, 6e4);
|
5545
5545
|
/**
|
5546
5546
|
* @license
|
@@ -5558,7 +5558,7 @@ new te(3e4, 6e4);
|
|
5558
5558
|
* See the License for the specific language governing permissions and
|
5559
5559
|
* limitations under the License.
|
5560
5560
|
*/
|
5561
|
-
function
|
5561
|
+
function Fs(n, e) {
|
5562
5562
|
return e ? E(e) : (u(
|
5563
5563
|
n._popupRedirectResolver,
|
5564
5564
|
n,
|
@@ -5612,10 +5612,10 @@ class et extends bn {
|
|
5612
5612
|
return e && (t.idToken = e), t;
|
5613
5613
|
}
|
5614
5614
|
}
|
5615
|
-
function
|
5615
|
+
function Hs(n) {
|
5616
5616
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5617
5617
|
}
|
5618
|
-
function
|
5618
|
+
function js(n) {
|
5619
5619
|
const { auth: e, user: t } = n;
|
5620
5620
|
return u(
|
5621
5621
|
t,
|
@@ -5691,13 +5691,13 @@ class Cn {
|
|
5691
5691
|
switch (e) {
|
5692
5692
|
case "signInViaPopup":
|
5693
5693
|
case "signInViaRedirect":
|
5694
|
-
return
|
5694
|
+
return Hs;
|
5695
5695
|
case "linkViaPopup":
|
5696
5696
|
case "linkViaRedirect":
|
5697
5697
|
return Gs;
|
5698
5698
|
case "reauthViaPopup":
|
5699
5699
|
case "reauthViaRedirect":
|
5700
|
-
return
|
5700
|
+
return js;
|
5701
5701
|
default:
|
5702
5702
|
w(
|
5703
5703
|
this.auth,
|
@@ -5733,9 +5733,9 @@ class Cn {
|
|
5733
5733
|
* limitations under the License.
|
5734
5734
|
*/
|
5735
5735
|
const Vs = new te(2e3, 1e4);
|
5736
|
-
class
|
5736
|
+
class F extends Cn {
|
5737
5737
|
constructor(e, t, r, i, s) {
|
5738
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5738
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
|
5739
5739
|
}
|
5740
5740
|
async executeNotNull() {
|
5741
5741
|
const e = await this.execute();
|
@@ -5777,7 +5777,7 @@ class x extends Cn {
|
|
5777
5777
|
));
|
5778
5778
|
}
|
5779
5779
|
cleanUp() {
|
5780
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5780
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
|
5781
5781
|
}
|
5782
5782
|
pollUserCancellation() {
|
5783
5783
|
const e = () => {
|
@@ -5801,7 +5801,7 @@ class x extends Cn {
|
|
5801
5801
|
e();
|
5802
5802
|
}
|
5803
5803
|
}
|
5804
|
-
|
5804
|
+
F.currentPopupAction = null;
|
5805
5805
|
/**
|
5806
5806
|
* @license
|
5807
5807
|
* Copyright 2020 Google LLC
|
@@ -5837,7 +5837,7 @@ class zs extends Cn {
|
|
5837
5837
|
let e = oe.get(this.auth._key());
|
5838
5838
|
if (!e) {
|
5839
5839
|
try {
|
5840
|
-
const r = await
|
5840
|
+
const r = await $s(this.resolver, this.auth) ? await super.execute() : null;
|
5841
5841
|
e = () => Promise.resolve(r);
|
5842
5842
|
} catch (t) {
|
5843
5843
|
e = () => Promise.reject(t);
|
@@ -5865,14 +5865,14 @@ class zs extends Cn {
|
|
5865
5865
|
cleanUp() {
|
5866
5866
|
}
|
5867
5867
|
}
|
5868
|
-
async function
|
5868
|
+
async function $s(n, e) {
|
5869
5869
|
const t = Xs(e), r = Js(n);
|
5870
5870
|
if (!await r._isAvailable())
|
5871
5871
|
return !1;
|
5872
5872
|
const i = await r._get(t) === "true";
|
5873
5873
|
return await r._remove(t), i;
|
5874
5874
|
}
|
5875
|
-
function
|
5875
|
+
function Zs(n, e) {
|
5876
5876
|
oe.set(n._key(), e);
|
5877
5877
|
}
|
5878
5878
|
function Js(n) {
|
@@ -5884,7 +5884,7 @@ function Xs(n) {
|
|
5884
5884
|
async function Ys(n, e, t = !1) {
|
5885
5885
|
if (I(n.app))
|
5886
5886
|
return Promise.reject(P(n));
|
5887
|
-
const r = Ie(n), i =
|
5887
|
+
const r = Ie(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
|
5888
5888
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5889
5889
|
}
|
5890
5890
|
/**
|
@@ -5924,7 +5924,7 @@ class qs {
|
|
5924
5924
|
}
|
5925
5925
|
sendToConsumer(e, t) {
|
5926
5926
|
var r;
|
5927
|
-
if (e.error && !
|
5927
|
+
if (e.error && !Nn(e)) {
|
5928
5928
|
const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
|
5929
5929
|
t.onError(_(this.auth, i));
|
5930
5930
|
} else
|
@@ -5944,7 +5944,7 @@ class qs {
|
|
5944
5944
|
function At(n) {
|
5945
5945
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5946
5946
|
}
|
5947
|
-
function
|
5947
|
+
function Nn({ type: n, error: e }) {
|
5948
5948
|
return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
|
5949
5949
|
}
|
5950
5950
|
function Qs(n) {
|
@@ -5954,7 +5954,7 @@ function Qs(n) {
|
|
5954
5954
|
case "reauthViaRedirect":
|
5955
5955
|
return !0;
|
5956
5956
|
case "unknown":
|
5957
|
-
return
|
5957
|
+
return Nn(n);
|
5958
5958
|
default:
|
5959
5959
|
return !1;
|
5960
5960
|
}
|
@@ -5976,7 +5976,7 @@ function Qs(n) {
|
|
5976
5976
|
* limitations under the License.
|
5977
5977
|
*/
|
5978
5978
|
async function ea(n, e = {}) {
|
5979
|
-
return
|
5979
|
+
return $(n, "GET", "/v1/projects", e);
|
5980
5980
|
}
|
5981
5981
|
/**
|
5982
5982
|
* @license
|
@@ -6012,7 +6012,7 @@ async function ra(n) {
|
|
6012
6012
|
);
|
6013
6013
|
}
|
6014
6014
|
function ia(n) {
|
6015
|
-
const e =
|
6015
|
+
const e = He(), { protocol: t, hostname: r } = new URL(e);
|
6016
6016
|
if (n.startsWith("chrome-extension://")) {
|
6017
6017
|
const a = new URL(n);
|
6018
6018
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6138,7 +6138,7 @@ function pa(n) {
|
|
6138
6138
|
const s = n._getFrameworks();
|
6139
6139
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6140
6140
|
}
|
6141
|
-
async function
|
6141
|
+
async function ma(n) {
|
6142
6142
|
const e = await oa(n), t = g().gapi;
|
6143
6143
|
return u(
|
6144
6144
|
t,
|
@@ -6187,13 +6187,13 @@ async function fa(n) {
|
|
6187
6187
|
* See the License for the specific language governing permissions and
|
6188
6188
|
* limitations under the License.
|
6189
6189
|
*/
|
6190
|
-
const
|
6190
|
+
const fa = {
|
6191
6191
|
location: "yes",
|
6192
6192
|
resizable: "yes",
|
6193
6193
|
statusbar: "yes",
|
6194
6194
|
toolbar: "no"
|
6195
6195
|
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6196
|
-
class
|
6196
|
+
class Dt {
|
6197
6197
|
constructor(e) {
|
6198
6198
|
this.window = e, this.associatedEvent = null;
|
6199
6199
|
}
|
@@ -6208,16 +6208,16 @@ class Nt {
|
|
6208
6208
|
function ba(n, e, t, r = _a, i = ga) {
|
6209
6209
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6210
6210
|
let c = "";
|
6211
|
-
const o = Object.assign(Object.assign({},
|
6211
|
+
const o = Object.assign(Object.assign({}, fa), {
|
6212
6212
|
width: r.toString(),
|
6213
6213
|
height: i.toString(),
|
6214
6214
|
top: s,
|
6215
6215
|
left: a
|
6216
|
-
}), l =
|
6216
|
+
}), l = f().toLowerCase();
|
6217
6217
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6218
|
-
const d = Object.entries(o).reduce((
|
6218
|
+
const d = Object.entries(o).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
|
6219
6219
|
if (es(l) && c !== "_self")
|
6220
|
-
return ya(e || "", c), new
|
6220
|
+
return ya(e || "", c), new Dt(null);
|
6221
6221
|
const h = window.open(e || "", c, d);
|
6222
6222
|
u(
|
6223
6223
|
h,
|
@@ -6229,7 +6229,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6229
6229
|
h.focus();
|
6230
6230
|
} catch {
|
6231
6231
|
}
|
6232
|
-
return new
|
6232
|
+
return new Dt(h);
|
6233
6233
|
}
|
6234
6234
|
function ya(n, e) {
|
6235
6235
|
const t = document.createElement("a");
|
@@ -6309,22 +6309,22 @@ function ka({ config: n }) {
|
|
6309
6309
|
* See the License for the specific language governing permissions and
|
6310
6310
|
* limitations under the License.
|
6311
6311
|
*/
|
6312
|
-
const
|
6312
|
+
const Ne = "webStorageSupport";
|
6313
6313
|
class Ra {
|
6314
6314
|
constructor() {
|
6315
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult =
|
6315
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
|
6316
6316
|
}
|
6317
6317
|
// Wrapping in async even though we don't await anywhere in order
|
6318
6318
|
// to make sure errors are raised as promise rejections
|
6319
6319
|
async _openPopup(e, t, r, i) {
|
6320
6320
|
var s;
|
6321
6321
|
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6322
|
-
const a = await Ct(e, t, r,
|
6322
|
+
const a = await Ct(e, t, r, He(), i);
|
6323
6323
|
return ba(e, a, Qe());
|
6324
6324
|
}
|
6325
6325
|
async _openRedirect(e, t, r, i) {
|
6326
6326
|
await this._originValidation(e);
|
6327
|
-
const s = await Ct(e, t, r,
|
6327
|
+
const s = await Ct(e, t, r, He(), i);
|
6328
6328
|
return Os(s), new Promise(() => {
|
6329
6329
|
});
|
6330
6330
|
}
|
@@ -6340,7 +6340,7 @@ class Ra {
|
|
6340
6340
|
}), r;
|
6341
6341
|
}
|
6342
6342
|
async initAndGetManager(e) {
|
6343
|
-
const t = await
|
6343
|
+
const t = await ma(e), r = new qs(e);
|
6344
6344
|
return t.register("authEvent", (i) => (u(
|
6345
6345
|
i == null ? void 0 : i.authEvent,
|
6346
6346
|
e,
|
@@ -6352,9 +6352,9 @@ class Ra {
|
|
6352
6352
|
}), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
|
6353
6353
|
}
|
6354
6354
|
_isIframeWebStorageSupported(e, t) {
|
6355
|
-
this.iframes[e._key()].send(
|
6355
|
+
this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
|
6356
6356
|
var s;
|
6357
|
-
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[
|
6357
|
+
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
|
6358
6358
|
a !== void 0 && t(!!a), w(
|
6359
6359
|
e,
|
6360
6360
|
"internal-error"
|
@@ -6371,7 +6371,7 @@ class Ra {
|
|
6371
6371
|
}
|
6372
6372
|
}
|
6373
6373
|
const Sa = Ra;
|
6374
|
-
var
|
6374
|
+
var Nt = "@firebase/auth", Pt = "1.7.9";
|
6375
6375
|
/**
|
6376
6376
|
* @license
|
6377
6377
|
* Copyright 2020 Google LLC
|
@@ -6455,7 +6455,7 @@ function Oa(n) {
|
|
6455
6455
|
return;
|
6456
6456
|
}
|
6457
6457
|
}
|
6458
|
-
function
|
6458
|
+
function Da(n) {
|
6459
6459
|
X(new W(
|
6460
6460
|
"auth",
|
6461
6461
|
(e, { options: t }) => {
|
@@ -6496,7 +6496,7 @@ function Na(n) {
|
|
6496
6496
|
).setInstantiationMode(
|
6497
6497
|
"EXPLICIT"
|
6498
6498
|
/* InstantiationMode.EXPLICIT */
|
6499
|
-
)),
|
6499
|
+
)), H(Nt, Pt, Oa(n)), H(Nt, Pt, "esm2017");
|
6500
6500
|
}
|
6501
6501
|
/**
|
6502
6502
|
* @license
|
@@ -6514,11 +6514,11 @@ function Na(n) {
|
|
6514
6514
|
* See the License for the specific language governing permissions and
|
6515
6515
|
* limitations under the License.
|
6516
6516
|
*/
|
6517
|
-
const Ca = 5 * 60,
|
6517
|
+
const Ca = 5 * 60, Na = zt("authIdTokenMaxAge") || Ca;
|
6518
6518
|
let Mt = null;
|
6519
6519
|
const Pa = (n) => async (e) => {
|
6520
6520
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6521
|
-
if (r && r >
|
6521
|
+
if (r && r > Na)
|
6522
6522
|
return;
|
6523
6523
|
const i = t == null ? void 0 : t.token;
|
6524
6524
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6535,7 +6535,7 @@ function Ma(n = Ri()) {
|
|
6535
6535
|
const t = us(n, {
|
6536
6536
|
popupRedirectResolver: Sa,
|
6537
6537
|
persistence: [
|
6538
|
-
|
6538
|
+
xs,
|
6539
6539
|
Rs,
|
6540
6540
|
Rn
|
6541
6541
|
]
|
@@ -6571,7 +6571,7 @@ os({
|
|
6571
6571
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6572
6572
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6573
6573
|
});
|
6574
|
-
|
6574
|
+
Da(
|
6575
6575
|
"Browser"
|
6576
6576
|
/* ClientPlatform.BROWSER */
|
6577
6577
|
);
|
@@ -6589,18 +6589,18 @@ Ua.beforeEach(async (n) => {
|
|
6589
6589
|
changeRestaurant: s
|
6590
6590
|
} = Ve();
|
6591
6591
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6592
|
-
const c =
|
6592
|
+
const c = Z(e, (o) => {
|
6593
6593
|
var l;
|
6594
6594
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6595
6595
|
});
|
6596
6596
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6597
6597
|
new Promise(async (a) => {
|
6598
|
-
const c =
|
6598
|
+
const c = Z(r, (o) => {
|
6599
6599
|
o && (c(), a(!0));
|
6600
6600
|
});
|
6601
6601
|
}),
|
6602
6602
|
new Promise(async (a) => {
|
6603
|
-
const c =
|
6603
|
+
const c = Z(t, (l) => {
|
6604
6604
|
l && (c(), a(!0));
|
6605
6605
|
}), o = await i();
|
6606
6606
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6610,14 +6610,14 @@ Ua.beforeEach(async (n) => {
|
|
6610
6610
|
const Ba = /* @__PURE__ */ Ut({
|
6611
6611
|
__name: "AppSidebar",
|
6612
6612
|
setup(n) {
|
6613
|
-
const e = Ve(), t = Bn(), { t: r } = Wn(), i =
|
6614
|
-
|
6613
|
+
const e = Ve(), t = Bn(), { t: r } = Wn(), i = Fn(t.currentRoute.value.name);
|
6614
|
+
Z(t.currentRoute, () => {
|
6615
6615
|
let l = t.currentRoute.value.name;
|
6616
6616
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6617
6617
|
});
|
6618
6618
|
const s = We.map((l) => {
|
6619
|
-
var
|
6620
|
-
if (!((
|
6619
|
+
var m;
|
6620
|
+
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6621
6621
|
return;
|
6622
6622
|
const d = l.meta.sidebarDisplay, h = {
|
6623
6623
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6627,7 +6627,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6627
6627
|
return t.push({ name: l.name });
|
6628
6628
|
}
|
6629
6629
|
};
|
6630
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6630
|
+
return l.meta.sidebarNew && (h.badge = () => Hn($n.FmPill, { label: "New" })), h;
|
6631
6631
|
}).filter((l) => !!l), a = le.map((l) => {
|
6632
6632
|
var d;
|
6633
6633
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6684,38 +6684,38 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6684
6684
|
});
|
6685
6685
|
return (l, d) => {
|
6686
6686
|
const h = Bt("FmCollapsibleTabs");
|
6687
|
-
return
|
6687
|
+
return xt(), Ft(h, {
|
6688
6688
|
modelValue: i.value,
|
6689
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6689
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6690
6690
|
items: o.value,
|
6691
6691
|
class: "py-16 px-8 w-[240px]"
|
6692
6692
|
}, null, 8, ["modelValue", "items"]);
|
6693
6693
|
};
|
6694
6694
|
}
|
6695
6695
|
});
|
6696
|
-
var
|
6697
|
-
const
|
6696
|
+
var xa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6697
|
+
const $a = /* @__PURE__ */ Ut({
|
6698
6698
|
__name: "App",
|
6699
6699
|
setup(n) {
|
6700
|
-
const { state: e } = sr(), t = Ve(), r =
|
6700
|
+
const { state: e } = sr(), t = Ve(), r = xn(), i = Yt(xa.firebase);
|
6701
6701
|
async function s() {
|
6702
6702
|
const a = t.sessionUser.value;
|
6703
6703
|
if (!a || !a.token) return;
|
6704
6704
|
const c = await a.getCustomToken(), o = Ma(i);
|
6705
6705
|
await ys(o, c);
|
6706
6706
|
}
|
6707
|
-
return s(),
|
6707
|
+
return s(), Z(t.sessionUser, s), jn(() => {
|
6708
6708
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6709
6709
|
}), Gn(() => {
|
6710
6710
|
t.registerSidebarComponent(Ba);
|
6711
6711
|
}), (a, c) => {
|
6712
6712
|
const o = Bt("RouterView");
|
6713
|
-
return
|
6713
|
+
return xt(), Ft(o, {
|
6714
6714
|
key: Vn(r).path
|
6715
6715
|
});
|
6716
6716
|
};
|
6717
6717
|
}
|
6718
|
-
}),
|
6718
|
+
}), Za = {
|
6719
6719
|
"en-US": qn,
|
6720
6720
|
"zh-CN": ir
|
6721
6721
|
}, Ja = [...le, ...We];
|
@@ -6731,7 +6731,7 @@ export {
|
|
6731
6731
|
gt as e,
|
6732
6732
|
Ja as f,
|
6733
6733
|
z as g,
|
6734
|
-
|
6735
|
-
|
6736
|
-
|
6734
|
+
$a as h,
|
6735
|
+
Za as i,
|
6736
|
+
H as r
|
6737
6737
|
};
|